diff --git a/README.md b/README.md index 92f6fe6..873b120 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ - Connect metamask browser wallet to Kovan Test Network. - Request and get test etheres for the metamask account from [Kovan Faucet](https://gitter.im/kovan-testnet/faucet) to make transactions. - Crypto Boy Marketplace Smart Contract is deployed to Kovan Testnet - [0x420d2a6E87D87992EB01e5BFe762B3F437dBfD85](https://kovan.etherscan.io/address/0x420d2a6e87d87992eb01e5bfe762b3f437dbfd85) -- Access Crypto Boy Marketplace DApp at [cryptoboys-NFT-marketplace](https://devpavan04.github.io/cryptoboys-nft-marketplace/) and start minting your Crypto Boys. +- Access Crypto Boy Marketplace DApp at [BscBoys-NFT-marketplace](https://devpavan04.github.io/BscBoys-nft-marketplace/) and start minting your Crypto Boys. # ### Run the DApp Locally #### Install truffle @@ -41,11 +41,11 @@ ganache-cli --port 7545 ``` #### Open new terminal window and clone this repository ``` -git clone https://github.com/devpavan04/cryptoboys-NFT-marketplace.git +git clone https://github.com/devpavan04/BscBoys-NFT-marketplace.git ``` #### Install dependencies ``` -cd cryptoboys-NFT-marketplace +cd BscBoys-NFT-marketplace npm install ``` #### Compile smart contract diff --git a/migrations/2_deploy_contracts.js b/migrations/2_deploy_contracts.js index 86d8c15..d5633c4 100644 --- a/migrations/2_deploy_contracts.js +++ b/migrations/2_deploy_contracts.js @@ -1,5 +1,5 @@ -const CryptoBoys = artifacts.require("CryptoBoys"); +const BscBoys = artifacts.require("BscBoys"); module.exports = async function(deployer) { - await deployer.deploy(CryptoBoys); + await deployer.deploy(BscBoys); }; diff --git a/package-lock.json b/package-lock.json index 3a7438c..67aa8e2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,26483 +1,8 @@ { - "name": "cryptoboys", + "name": "BscBoys", "version": "0.1.0", - "lockfileVersion": 2, + "lockfileVersion": 1, "requires": true, - "packages": { - "": { - "name": "cryptoboys", - "version": "0.1.0", - "dependencies": { - "@openzeppelin/contracts": "^3.4.1", - "babel-polyfill": "6.26.0", - "babel-preset-env": "1.7.0", - "babel-preset-es2015": "6.24.1", - "babel-preset-stage-2": "6.24.1", - "babel-preset-stage-3": "6.24.1", - "babel-register": "6.26.0", - "bootstrap": "4.3.1", - "chai": "4.2.0", - "chai-as-promised": "7.1.1", - "chai-bignumber": "3.0.0", - "dayjs": "^1.10.4", - "ipfs-http-client": "^49.0.2", - "react": "16.8.4", - "react-bootstrap": "1.0.0-beta.5", - "react-dom": "16.8.4", - "react-router-dom": "^5.2.0", - "react-scripts": "2.1.3", - "truffle": "5.0.5", - "truffle-flattener": "^1.5.0", - "web3": "1.0.0-beta.55" - }, - "devDependencies": { - "gh-pages": "^3.1.0" - } - }, - "node_modules/@babel/code-frame": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.13.tgz", - "integrity": "sha512-HV1Cm0Q3ZrpCR93tkWOYiuYIgLxZXZFVG2VgK+MBWjUqZTundupbfx2aXarXuw5Ko5aMcjtJgbSs4vUGBS5v6g==", - "dependencies": { - "@babel/highlight": "^7.12.13" - } - }, - "node_modules/@babel/compat-data": { - "version": "7.13.8", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.13.8.tgz", - "integrity": "sha512-EaI33z19T4qN3xLXsGf48M2cDqa6ei9tPZlfLdb2HC+e/cFtREiRd8hdSqDbwdLB0/+gLwqJmCYASH0z2bUdog==" - }, - "node_modules/@babel/core": { - "version": "7.13.10", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.13.10.tgz", - "integrity": "sha512-bfIYcT0BdKeAZrovpMqX2Mx5NrgAckGbwT982AkdS5GNfn3KMGiprlBAtmBcFZRUmpaufS6WZFP8trvx8ptFDw==", - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@babel/generator": "^7.13.9", - "@babel/helper-compilation-targets": "^7.13.10", - "@babel/helper-module-transforms": "^7.13.0", - "@babel/helpers": "^7.13.10", - "@babel/parser": "^7.13.10", - "@babel/template": "^7.12.13", - "@babel/traverse": "^7.13.0", - "@babel/types": "^7.13.0", - "convert-source-map": "^1.7.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.1.2", - "lodash": "^4.17.19", - "semver": "^6.3.0", - "source-map": "^0.5.0" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@babel/core/node_modules/debug": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", - "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/@babel/core/node_modules/json5": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", - "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", - "dependencies": { - "minimist": "^1.2.5" - }, - "bin": { - "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/@babel/core/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/@babel/core/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/@babel/generator": { - "version": "7.13.9", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.13.9.tgz", - "integrity": "sha512-mHOOmY0Axl/JCTkxTU6Lf5sWOg/v8nUa+Xkt4zMTftX0wqmb6Sh7J8gvcehBw7q0AhrhAR+FDacKjCZ2X8K+Sw==", - "dependencies": { - "@babel/types": "^7.13.0", - "jsesc": "^2.5.1", - "source-map": "^0.5.0" - } - }, - "node_modules/@babel/generator/node_modules/jsesc": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.2.tgz", - "integrity": "sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==", - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/helper-annotate-as-pure": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.12.13.tgz", - "integrity": "sha512-7YXfX5wQ5aYM/BOlbSccHDbuXXFPxeoUmfWtz8le2yTkTZc+BxsiEnENFoi2SlmA8ewDkG2LgIMIVzzn2h8kfw==", - "dependencies": { - "@babel/types": "^7.12.13" - } - }, - "node_modules/@babel/helper-builder-binary-assignment-operator-visitor": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/helper-builder-binary-assignment-operator-visitor/-/helper-builder-binary-assignment-operator-visitor-7.12.13.tgz", - "integrity": "sha512-CZOv9tGphhDRlVjVkAgm8Nhklm9RzSmWpX2my+t7Ua/KT616pEzXsQCjinzvkRvHWJ9itO4f296efroX23XCMA==", - "dependencies": { - "@babel/helper-explode-assignable-expression": "^7.12.13", - "@babel/types": "^7.12.13" - } - }, - "node_modules/@babel/helper-compilation-targets": { - "version": "7.13.10", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.13.10.tgz", - "integrity": "sha512-/Xju7Qg1GQO4mHZ/Kcs6Au7gfafgZnwm+a7sy/ow/tV1sHeraRUHbjdat8/UvDor4Tez+siGKDk6zIKtCPKVJA==", - "dependencies": { - "@babel/compat-data": "^7.13.8", - "@babel/helper-validator-option": "^7.12.17", - "browserslist": "^4.14.5", - "semver": "^6.3.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-compilation-targets/node_modules/browserslist": { - "version": "4.16.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.3.tgz", - "integrity": "sha512-vIyhWmIkULaq04Gt93txdh+j02yX/JzlyhLYbV3YQCn/zvES3JnY7TifHHvvr1w5hTDluNKMkV05cs4vy8Q7sw==", - "dependencies": { - "caniuse-lite": "^1.0.30001181", - "colorette": "^1.2.1", - "electron-to-chromium": "^1.3.649", - "escalade": "^3.1.1", - "node-releases": "^1.1.70" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } - }, - "node_modules/@babel/helper-compilation-targets/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/@babel/helper-create-class-features-plugin": { - "version": "7.13.10", - "resolved": "https://registry.npmjs.org/@babel/helper-create-class-features-plugin/-/helper-create-class-features-plugin-7.13.10.tgz", - "integrity": "sha512-YV7r2YxdTUaw84EwNkyrRke/TJHR/UXGiyvACRqvdVJ2/syV2rQuJNnaRLSuYiop8cMRXOgseTGoJCWX0q2fFg==", - "dependencies": { - "@babel/helper-function-name": "^7.12.13", - "@babel/helper-member-expression-to-functions": "^7.13.0", - "@babel/helper-optimise-call-expression": "^7.12.13", - "@babel/helper-replace-supers": "^7.13.0", - "@babel/helper-split-export-declaration": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-create-regexp-features-plugin": { - "version": "7.12.17", - "resolved": "https://registry.npmjs.org/@babel/helper-create-regexp-features-plugin/-/helper-create-regexp-features-plugin-7.12.17.tgz", - "integrity": "sha512-p2VGmBu9oefLZ2nQpgnEnG0ZlRPvL8gAGvPUMQwUdaE8k49rOMuZpOwdQoy5qJf6K8jL3bcAMhVUlHAjIgJHUg==", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.12.13", - "regexpu-core": "^4.7.1" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-create-regexp-features-plugin/node_modules/jsesc": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", - "bin": { - "jsesc": "bin/jsesc" - } - }, - "node_modules/@babel/helper-create-regexp-features-plugin/node_modules/regexpu-core": { - "version": "4.7.1", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-4.7.1.tgz", - "integrity": "sha512-ywH2VUraA44DZQuRKzARmw6S66mr48pQVva4LBeRhcOltJ6hExvWly5ZjFLYo67xbIxb6W1q4bAGtgfEl20zfQ==", - "dependencies": { - "regenerate": "^1.4.0", - "regenerate-unicode-properties": "^8.2.0", - "regjsgen": "^0.5.1", - "regjsparser": "^0.6.4", - "unicode-match-property-ecmascript": "^1.0.4", - "unicode-match-property-value-ecmascript": "^1.2.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/helper-create-regexp-features-plugin/node_modules/regjsgen": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.5.2.tgz", - "integrity": "sha512-OFFT3MfrH90xIW8OOSyUrk6QHD5E9JOTeGodiJeBS3J6IwlgzJMNE/1bZklWz5oTg+9dCMyEetclvCVXOPoN3A==" - }, - "node_modules/@babel/helper-create-regexp-features-plugin/node_modules/regjsparser": { - "version": "0.6.7", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.6.7.tgz", - "integrity": "sha512-ib77G0uxsA2ovgiYbCVGx4Pv3PSttAx2vIwidqQzbL2U5S4Q+j00HdSAneSBuyVcMvEnTXMjiGgB+DlXozVhpQ==", - "dependencies": { - "jsesc": "~0.5.0" - }, - "bin": { - "regjsparser": "bin/parser" - } - }, - "node_modules/@babel/helper-define-map": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/helper-define-map/-/helper-define-map-7.12.13.tgz", - "integrity": "sha512-Buu0cZUjCU+WkFi6ZCSr2ONHuDTcQOJGNnXs/lzepONbMyIZ3oDHG4ftrzNK5vGz6ktNmelTRsTFIQQ+ALsIhg==", - "dependencies": { - "@babel/helper-function-name": "^7.12.13", - "@babel/types": "^7.12.13", - "lodash": "^4.17.19" - } - }, - "node_modules/@babel/helper-define-polyfill-provider": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/@babel/helper-define-polyfill-provider/-/helper-define-polyfill-provider-0.1.5.tgz", - "integrity": "sha512-nXuzCSwlJ/WKr8qxzW816gwyT6VZgiJG17zR40fou70yfAcqjoNyTLl/DQ+FExw5Hx5KNqshmN8Ldl/r2N7cTg==", - "dependencies": { - "@babel/helper-compilation-targets": "^7.13.0", - "@babel/helper-module-imports": "^7.12.13", - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/traverse": "^7.13.0", - "debug": "^4.1.1", - "lodash.debounce": "^4.0.8", - "resolve": "^1.14.2", - "semver": "^6.1.2" - }, - "peerDependencies": { - "@babel/core": "^7.4.0-0" - } - }, - "node_modules/@babel/helper-define-polyfill-provider/node_modules/debug": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", - "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/@babel/helper-define-polyfill-provider/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/@babel/helper-define-polyfill-provider/node_modules/resolve": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", - "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", - "dependencies": { - "is-core-module": "^2.2.0", - "path-parse": "^1.0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/@babel/helper-define-polyfill-provider/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/@babel/helper-explode-assignable-expression": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/helper-explode-assignable-expression/-/helper-explode-assignable-expression-7.13.0.tgz", - "integrity": "sha512-qS0peLTDP8kOisG1blKbaoBg/o9OSa1qoumMjTK5pM+KDTtpxpsiubnCGP34vK8BXGcb2M9eigwgvoJryrzwWA==", - "dependencies": { - "@babel/types": "^7.13.0" - } - }, - "node_modules/@babel/helper-function-name": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.12.13.tgz", - "integrity": "sha512-TZvmPn0UOqmvi5G4vvw0qZTpVptGkB1GL61R6lKvrSdIxGm5Pky7Q3fpKiIkQCAtRCBUwB0PaThlx9vebCDSwA==", - "dependencies": { - "@babel/helper-get-function-arity": "^7.12.13", - "@babel/template": "^7.12.13", - "@babel/types": "^7.12.13" - } - }, - "node_modules/@babel/helper-get-function-arity": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.12.13.tgz", - "integrity": "sha512-DjEVzQNz5LICkzN0REdpD5prGoidvbdYk1BVgRUOINaWJP2t6avB27X1guXK1kXNrX0WMfsrm1A/ZBthYuIMQg==", - "dependencies": { - "@babel/types": "^7.12.13" - } - }, - "node_modules/@babel/helper-hoist-variables": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/helper-hoist-variables/-/helper-hoist-variables-7.13.0.tgz", - "integrity": "sha512-0kBzvXiIKfsCA0y6cFEIJf4OdzfpRuNk4+YTeHZpGGc666SATFKTz6sRncwFnQk7/ugJ4dSrCj6iJuvW4Qwr2g==", - "dependencies": { - "@babel/traverse": "^7.13.0", - "@babel/types": "^7.13.0" - } - }, - "node_modules/@babel/helper-member-expression-to-functions": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/helper-member-expression-to-functions/-/helper-member-expression-to-functions-7.13.0.tgz", - "integrity": "sha512-yvRf8Ivk62JwisqV1rFRMxiSMDGnN6KH1/mDMmIrij4jztpQNRoHqqMG3U6apYbGRPJpgPalhva9Yd06HlUxJQ==", - "dependencies": { - "@babel/types": "^7.13.0" - } - }, - "node_modules/@babel/helper-module-imports": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.12.13.tgz", - "integrity": "sha512-NGmfvRp9Rqxy0uHSSVP+SRIW1q31a7Ji10cLBcqSDUngGentY4FRiHOFZFE1CLU5eiL0oE8reH7Tg1y99TDM/g==", - "dependencies": { - "@babel/types": "^7.12.13" - } - }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.13.0.tgz", - "integrity": "sha512-Ls8/VBwH577+pw7Ku1QkUWIyRRNHpYlts7+qSqBBFCW3I8QteB9DxfcZ5YJpOwH6Ihe/wn8ch7fMGOP1OhEIvw==", - "dependencies": { - "@babel/helper-module-imports": "^7.12.13", - "@babel/helper-replace-supers": "^7.13.0", - "@babel/helper-simple-access": "^7.12.13", - "@babel/helper-split-export-declaration": "^7.12.13", - "@babel/helper-validator-identifier": "^7.12.11", - "@babel/template": "^7.12.13", - "@babel/traverse": "^7.13.0", - "@babel/types": "^7.13.0", - "lodash": "^4.17.19" - } - }, - "node_modules/@babel/helper-optimise-call-expression": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/helper-optimise-call-expression/-/helper-optimise-call-expression-7.12.13.tgz", - "integrity": "sha512-BdWQhoVJkp6nVjB7nkFWcn43dkprYauqtk++Py2eaf/GRDFm5BxRqEIZCiHlZUGAVmtwKcsVL1dC68WmzeFmiA==", - "dependencies": { - "@babel/types": "^7.12.13" - } - }, - "node_modules/@babel/helper-plugin-utils": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.13.0.tgz", - "integrity": "sha512-ZPafIPSwzUlAoWT8DKs1W2VyF2gOWthGd5NGFMsBcMMol+ZhK+EQY/e6V96poa6PA/Bh+C9plWN0hXO1uB8AfQ==" - }, - "node_modules/@babel/helper-remap-async-to-generator": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/helper-remap-async-to-generator/-/helper-remap-async-to-generator-7.13.0.tgz", - "integrity": "sha512-pUQpFBE9JvC9lrQbpX0TmeNIy5s7GnZjna2lhhcHC7DzgBs6fWn722Y5cfwgrtrqc7NAJwMvOa0mKhq6XaE4jg==", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.12.13", - "@babel/helper-wrap-function": "^7.13.0", - "@babel/types": "^7.13.0" - } - }, - "node_modules/@babel/helper-replace-supers": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/helper-replace-supers/-/helper-replace-supers-7.13.0.tgz", - "integrity": "sha512-Segd5me1+Pz+rmN/NFBOplMbZG3SqRJOBlY+mA0SxAv6rjj7zJqr1AVr3SfzUVTLCv7ZLU5FycOM/SBGuLPbZw==", - "dependencies": { - "@babel/helper-member-expression-to-functions": "^7.13.0", - "@babel/helper-optimise-call-expression": "^7.12.13", - "@babel/traverse": "^7.13.0", - "@babel/types": "^7.13.0" - } - }, - "node_modules/@babel/helper-simple-access": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/helper-simple-access/-/helper-simple-access-7.12.13.tgz", - "integrity": "sha512-0ski5dyYIHEfwpWGx5GPWhH35j342JaflmCeQmsPWcrOQDtCN6C1zKAVRFVbK53lPW2c9TsuLLSUDf0tIGJ5hA==", - "dependencies": { - "@babel/types": "^7.12.13" - } - }, - "node_modules/@babel/helper-skip-transparent-expression-wrappers": { - "version": "7.12.1", - "resolved": "https://registry.npmjs.org/@babel/helper-skip-transparent-expression-wrappers/-/helper-skip-transparent-expression-wrappers-7.12.1.tgz", - "integrity": "sha512-Mf5AUuhG1/OCChOJ/HcADmvcHM42WJockombn8ATJG3OnyiSxBK/Mm5x78BQWvmtXZKHgbjdGL2kin/HOLlZGA==", - "dependencies": { - "@babel/types": "^7.12.1" - } - }, - "node_modules/@babel/helper-split-export-declaration": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.12.13.tgz", - "integrity": "sha512-tCJDltF83htUtXx5NLcaDqRmknv652ZWCHyoTETf1CXYJdPC7nohZohjUgieXhv0hTJdRf2FjDueFehdNucpzg==", - "dependencies": { - "@babel/types": "^7.12.13" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.12.11", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.12.11.tgz", - "integrity": "sha512-np/lG3uARFybkoHokJUmf1QfEvRVCPbmQeUQpKow5cQ3xWrV9i3rUHodKDJPQfTVX61qKi+UdYk8kik84n7XOw==" - }, - "node_modules/@babel/helper-validator-option": { - "version": "7.12.17", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.12.17.tgz", - "integrity": "sha512-TopkMDmLzq8ngChwRlyjR6raKD6gMSae4JdYDB8bByKreQgG0RBTuKe9LRxW3wFtUnjxOPRKBDwEH6Mg5KeDfw==" - }, - "node_modules/@babel/helper-wrap-function": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/helper-wrap-function/-/helper-wrap-function-7.13.0.tgz", - "integrity": "sha512-1UX9F7K3BS42fI6qd2A4BjKzgGjToscyZTdp1DjknHLCIvpgne6918io+aL5LXFcER/8QWiwpoY902pVEqgTXA==", - "dependencies": { - "@babel/helper-function-name": "^7.12.13", - "@babel/template": "^7.12.13", - "@babel/traverse": "^7.13.0", - "@babel/types": "^7.13.0" - } - }, - "node_modules/@babel/helpers": { - "version": "7.13.10", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.13.10.tgz", - "integrity": "sha512-4VO883+MWPDUVRF3PhiLBUFHoX/bsLTGFpFK/HqvvfBZz2D57u9XzPVNFVBTc0PW/CWR9BXTOKt8NF4DInUHcQ==", - "dependencies": { - "@babel/template": "^7.12.13", - "@babel/traverse": "^7.13.0", - "@babel/types": "^7.13.0" - } - }, - "node_modules/@babel/highlight": { - "version": "7.13.10", - "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.13.10.tgz", - "integrity": "sha512-5aPpe5XQPzflQrFwL1/QoeHkP2MsA4JCntcXHRhEsdsfPVkvPi2w7Qix4iV7t5S/oC9OodGrggd8aco1g3SZFg==", - "dependencies": { - "@babel/helper-validator-identifier": "^7.12.11", - "chalk": "^2.0.0", - "js-tokens": "^4.0.0" - } - }, - "node_modules/@babel/highlight/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/highlight/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/@babel/highlight/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/parser": { - "version": "7.13.10", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.13.10.tgz", - "integrity": "sha512-0s7Mlrw9uTWkYua7xWr99Wpk2bnGa0ANleKfksYAES8LpWH4gW1OUr42vqKNf0us5UQNfru2wPqMqRITzq/SIQ==", - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/plugin-proposal-async-generator-functions": { - "version": "7.13.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-async-generator-functions/-/plugin-proposal-async-generator-functions-7.13.8.tgz", - "integrity": "sha512-rPBnhj+WgoSmgq+4gQUtXx/vOcU+UYtjy1AA/aeD61Hwj410fwYyqfUcRP3lR8ucgliVJL/G7sXcNUecC75IXA==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/helper-remap-async-to-generator": "^7.13.0", - "@babel/plugin-syntax-async-generators": "^7.8.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-class-properties": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.13.0.tgz", - "integrity": "sha512-KnTDjFNC1g+45ka0myZNvSBFLhNCLN+GeGYLDEA8Oq7MZ6yMgfLoIRh86GRT0FjtJhZw8JyUskP9uvj5pHM9Zg==", - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.13.0", - "@babel/helper-plugin-utils": "^7.13.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-decorators": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-decorators/-/plugin-proposal-decorators-7.3.0.tgz", - "integrity": "sha512-3W/oCUmsO43FmZIqermmq6TKaRSYhmh/vybPfVFwQWdSb8xwki38uAIvknCRzuyHRuYfCYmJzL9or1v0AffPjg==", - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.3.0", - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-syntax-decorators": "^7.2.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-dynamic-import": { - "version": "7.13.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-dynamic-import/-/plugin-proposal-dynamic-import-7.13.8.tgz", - "integrity": "sha512-ONWKj0H6+wIRCkZi9zSbZtE/r73uOhMVHh256ys0UzfM7I3d4n+spZNWjOnJv2gzopumP2Wxi186vI8N0Y2JyQ==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/plugin-syntax-dynamic-import": "^7.8.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-export-namespace-from": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-export-namespace-from/-/plugin-proposal-export-namespace-from-7.12.13.tgz", - "integrity": "sha512-INAgtFo4OnLN3Y/j0VwAgw3HDXcDtX+C/erMvWzuV9v71r7urb6iyMXu7eM9IgLr1ElLlOkaHjJ0SbCmdOQ3Iw==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-json-strings": { - "version": "7.13.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-json-strings/-/plugin-proposal-json-strings-7.13.8.tgz", - "integrity": "sha512-w4zOPKUFPX1mgvTmL/fcEqy34hrQ1CRcGxdphBc6snDnnqJ47EZDIyop6IwXzAC8G916hsIuXB2ZMBCExC5k7Q==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/plugin-syntax-json-strings": "^7.8.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-logical-assignment-operators": { - "version": "7.13.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-logical-assignment-operators/-/plugin-proposal-logical-assignment-operators-7.13.8.tgz", - "integrity": "sha512-aul6znYB4N4HGweImqKn59Su9RS8lbUIqxtXTOcAGtNIDczoEFv+l1EhmX8rUBp3G1jMjKJm8m0jXVp63ZpS4A==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-nullish-coalescing-operator": { - "version": "7.13.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-nullish-coalescing-operator/-/plugin-proposal-nullish-coalescing-operator-7.13.8.tgz", - "integrity": "sha512-iePlDPBn//UhxExyS9KyeYU7RM9WScAG+D3Hhno0PLJebAEpDZMocbDe64eqynhNAnwz/vZoL/q/QB2T1OH39A==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-numeric-separator": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-numeric-separator/-/plugin-proposal-numeric-separator-7.12.13.tgz", - "integrity": "sha512-O1jFia9R8BUCl3ZGB7eitaAPu62TXJRHn7rh+ojNERCFyqRwJMTmhz+tJ+k0CwI6CLjX/ee4qW74FSqlq9I35w==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13", - "@babel/plugin-syntax-numeric-separator": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-object-rest-spread": { - "version": "7.13.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.13.8.tgz", - "integrity": "sha512-DhB2EuB1Ih7S3/IRX5AFVgZ16k3EzfRbq97CxAVI1KSYcW+lexV8VZb7G7L8zuPVSdQMRn0kiBpf/Yzu9ZKH0g==", - "dependencies": { - "@babel/compat-data": "^7.13.8", - "@babel/helper-compilation-targets": "^7.13.8", - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-transform-parameters": "^7.13.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-optional-catch-binding": { - "version": "7.13.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-catch-binding/-/plugin-proposal-optional-catch-binding-7.13.8.tgz", - "integrity": "sha512-0wS/4DUF1CuTmGo+NiaHfHcVSeSLj5S3e6RivPTg/2k3wOv3jO35tZ6/ZWsQhQMvdgI7CwphjQa/ccarLymHVA==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-optional-chaining": { - "version": "7.13.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-optional-chaining/-/plugin-proposal-optional-chaining-7.13.8.tgz", - "integrity": "sha512-hpbBwbTgd7Cz1QryvwJZRo1U0k1q8uyBmeXOSQUjdg/A2TASkhR/rz7AyqZ/kS8kbpsNA80rOYbxySBJAqmhhQ==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/helper-skip-transparent-expression-wrappers": "^7.12.1", - "@babel/plugin-syntax-optional-chaining": "^7.8.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-private-methods": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-private-methods/-/plugin-proposal-private-methods-7.13.0.tgz", - "integrity": "sha512-MXyyKQd9inhx1kDYPkFRVOBXQ20ES8Pto3T7UZ92xj2mY0EVD8oAVzeyYuVfy/mxAdTSIayOvg+aVzcHV2bn6Q==", - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.13.0", - "@babel/helper-plugin-utils": "^7.13.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-proposal-unicode-property-regex": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-unicode-property-regex/-/plugin-proposal-unicode-property-regex-7.12.13.tgz", - "integrity": "sha512-XyJmZidNfofEkqFV5VC/bLabGmO5QzenPO/YOfGuEbgU+2sSwMmio3YLb4WtBgcmmdwZHyVyv8on77IUjQ5Gvg==", - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.12.13", - "@babel/helper-plugin-utils": "^7.12.13" - }, - "engines": { - "node": ">=4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-decorators": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-decorators/-/plugin-syntax-decorators-7.12.13.tgz", - "integrity": "sha512-Rw6aIXGuqDLr6/LoBBYE57nKOzQpz/aDkKlMqEwH+Vp0MXbG6H/TfRjaY343LKxzAKAMXIHsQ8JzaZKuDZ9MwA==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-dynamic-import": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.8.3.tgz", - "integrity": "sha512-5gdGbFon+PszYzqs83S3E5mpi7/y/8M9eC90MRTZfduQOYW76ig6SOSPNe41IG5LoP3FGBn2N0RjVDSQiS94kQ==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-export-namespace-from": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-export-namespace-from/-/plugin-syntax-export-namespace-from-7.8.3.tgz", - "integrity": "sha512-MXf5laXo6c1IbEbegDmzGPwGNTsHZmEy6QGznu5Sh2UCWvueywb2ee+CCE4zQiZstxU9BMoQO9i6zUFSY0Kj0Q==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-flow": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.12.13.tgz", - "integrity": "sha512-J/RYxnlSLXZLVR7wTRsozxKT8qbsx1mNKJzXEEjQ0Kjx1ZACcyHgbanNWNCFtc36IzuWhYWPpvJFFoexoOWFmA==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", - "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.12.13.tgz", - "integrity": "sha512-d4HM23Q1K7oq/SLNmG6mRt85l2csmQ0cHRaxRXjKW0YFdEXqlZ5kzFQKH5Uc3rDJECgu+yCRgPkG04Mm98R/1g==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", - "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", - "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-top-level-await": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.12.13.tgz", - "integrity": "sha512-A81F9pDwyS7yM//KwbCSDqy3Uj4NMIurtplxphWxoYtNPov7cJsDkAFNNyVlIZ3jwGycVsurZ+LtOA8gZ376iQ==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.12.13.tgz", - "integrity": "sha512-cHP3u1JiUiG2LFDKbXnwVad81GvfyIOmCD6HIEId6ojrY0Drfy2q1jw7BwN7dE84+kTnBjLkXoL3IEy/3JPu2w==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-arrow-functions": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-arrow-functions/-/plugin-transform-arrow-functions-7.13.0.tgz", - "integrity": "sha512-96lgJagobeVmazXFaDrbmCLQxBysKu7U6Do3mLsx27gf5Dk85ezysrs2BZUpXD703U/Su1xTBDxxar2oa4jAGg==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.13.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-async-to-generator": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-async-to-generator/-/plugin-transform-async-to-generator-7.13.0.tgz", - "integrity": "sha512-3j6E004Dx0K3eGmhxVJxwwI89CTJrce7lg3UrtFuDAVQ/2+SJ/h/aSFOeE6/n0WB1GsOffsJp6MnPQNQ8nmwhg==", - "dependencies": { - "@babel/helper-module-imports": "^7.12.13", - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/helper-remap-async-to-generator": "^7.13.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-block-scoped-functions": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoped-functions/-/plugin-transform-block-scoped-functions-7.12.13.tgz", - "integrity": "sha512-zNyFqbc3kI/fVpqwfqkg6RvBgFpC4J18aKKMmv7KdQ/1GgREapSJAykLMVNwfRGO3BtHj3YQZl8kxCXPcVMVeg==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-block-scoping": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-block-scoping/-/plugin-transform-block-scoping-7.12.13.tgz", - "integrity": "sha512-Pxwe0iqWJX4fOOM2kEZeUuAxHMWb9nK+9oh5d11bsLoB0xMg+mkDpt0eYuDZB7ETrY9bbcVlKUGTOGWy7BHsMQ==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-classes": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.13.0.tgz", - "integrity": "sha512-9BtHCPUARyVH1oXGcSJD3YpsqRLROJx5ZNP6tN5vnk17N0SVf9WCtf8Nuh1CFmgByKKAIMstitKduoCmsaDK5g==", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.12.13", - "@babel/helper-function-name": "^7.12.13", - "@babel/helper-optimise-call-expression": "^7.12.13", - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/helper-replace-supers": "^7.13.0", - "@babel/helper-split-export-declaration": "^7.12.13", - "globals": "^11.1.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-classes/node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/plugin-transform-computed-properties": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-computed-properties/-/plugin-transform-computed-properties-7.13.0.tgz", - "integrity": "sha512-RRqTYTeZkZAz8WbieLTvKUEUxZlUTdmL5KGMyZj7FnMfLNKV4+r5549aORG/mgojRmFlQMJDUupwAMiF2Q7OUg==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.13.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-destructuring": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.13.0.tgz", - "integrity": "sha512-zym5em7tePoNT9s964c0/KU3JPPnuq7VhIxPRefJ4/s82cD+q1mgKfuGRDMCPL0HTyKz4dISuQlCusfgCJ86HA==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.13.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-dotall-regex": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-dotall-regex/-/plugin-transform-dotall-regex-7.12.13.tgz", - "integrity": "sha512-foDrozE65ZFdUC2OfgeOCrEPTxdB3yjqxpXh8CH+ipd9CHd4s/iq81kcUpyH8ACGNEPdFqbtzfgzbT/ZGlbDeQ==", - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.12.13", - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-duplicate-keys": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-duplicate-keys/-/plugin-transform-duplicate-keys-7.12.13.tgz", - "integrity": "sha512-NfADJiiHdhLBW3pulJlJI2NB0t4cci4WTZ8FtdIuNc2+8pslXdPtRRAEWqUY+m9kNOk2eRYbTAOipAxlrOcwwQ==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-exponentiation-operator": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-exponentiation-operator/-/plugin-transform-exponentiation-operator-7.12.13.tgz", - "integrity": "sha512-fbUelkM1apvqez/yYx1/oICVnGo2KM5s63mhGylrmXUxK/IAXSIf87QIxVfZldWf4QsOafY6vV3bX8aMHSvNrA==", - "dependencies": { - "@babel/helper-builder-binary-assignment-operator-visitor": "^7.12.13", - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-flow-strip-types": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-flow-strip-types/-/plugin-transform-flow-strip-types-7.2.3.tgz", - "integrity": "sha512-xnt7UIk9GYZRitqCnsVMjQK1O2eKZwFB3CvvHjf5SGx6K6vr/MScCKQDnf1DxRaj501e3pXjti+inbSXX2ZUoQ==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-syntax-flow": "^7.2.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-for-of": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-for-of/-/plugin-transform-for-of-7.13.0.tgz", - "integrity": "sha512-IHKT00mwUVYE0zzbkDgNRP6SRzvfGCYsOxIRz8KsiaaHCcT9BWIkO+H9QRJseHBLOGBZkHUdHiqj6r0POsdytg==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.13.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-function-name": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-function-name/-/plugin-transform-function-name-7.12.13.tgz", - "integrity": "sha512-6K7gZycG0cmIwwF7uMK/ZqeCikCGVBdyP2J5SKNCXO5EOHcqi+z7Jwf8AmyDNcBgxET8DrEtCt/mPKPyAzXyqQ==", - "dependencies": { - "@babel/helper-function-name": "^7.12.13", - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-literals": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-literals/-/plugin-transform-literals-7.12.13.tgz", - "integrity": "sha512-FW+WPjSR7hiUxMcKqyNjP05tQ2kmBCdpEpZHY1ARm96tGQCCBvXKnpjILtDplUnJ/eHZ0lALLM+d2lMFSpYJrQ==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-member-expression-literals": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-member-expression-literals/-/plugin-transform-member-expression-literals-7.12.13.tgz", - "integrity": "sha512-kxLkOsg8yir4YeEPHLuO2tXP9R/gTjpuTOjshqSpELUN3ZAg2jfDnKUvzzJxObun38sw3wm4Uu69sX/zA7iRvg==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-amd": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-amd/-/plugin-transform-modules-amd-7.13.0.tgz", - "integrity": "sha512-EKy/E2NHhY/6Vw5d1k3rgoobftcNUmp9fGjb9XZwQLtTctsRBOTRO7RHHxfIky1ogMN5BxN7p9uMA3SzPfotMQ==", - "dependencies": { - "@babel/helper-module-transforms": "^7.13.0", - "@babel/helper-plugin-utils": "^7.13.0", - "babel-plugin-dynamic-import-node": "^2.3.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-commonjs": { - "version": "7.13.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-commonjs/-/plugin-transform-modules-commonjs-7.13.8.tgz", - "integrity": "sha512-9QiOx4MEGglfYZ4XOnU79OHr6vIWUakIj9b4mioN8eQIoEh+pf5p/zEB36JpDFWA12nNMiRf7bfoRvl9Rn79Bw==", - "dependencies": { - "@babel/helper-module-transforms": "^7.13.0", - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/helper-simple-access": "^7.12.13", - "babel-plugin-dynamic-import-node": "^2.3.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-systemjs": { - "version": "7.13.8", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-systemjs/-/plugin-transform-modules-systemjs-7.13.8.tgz", - "integrity": "sha512-hwqctPYjhM6cWvVIlOIe27jCIBgHCsdH2xCJVAYQm7V5yTMoilbVMi9f6wKg0rpQAOn6ZG4AOyvCqFF/hUh6+A==", - "dependencies": { - "@babel/helper-hoist-variables": "^7.13.0", - "@babel/helper-module-transforms": "^7.13.0", - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/helper-validator-identifier": "^7.12.11", - "babel-plugin-dynamic-import-node": "^2.3.3" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-modules-umd": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-modules-umd/-/plugin-transform-modules-umd-7.13.0.tgz", - "integrity": "sha512-D/ILzAh6uyvkWjKKyFE/W0FzWwasv6vPTSqPcjxFqn6QpX3u8DjRVliq4F2BamO2Wee/om06Vyy+vPkNrd4wxw==", - "dependencies": { - "@babel/helper-module-transforms": "^7.13.0", - "@babel/helper-plugin-utils": "^7.13.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-named-capturing-groups-regex": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-named-capturing-groups-regex/-/plugin-transform-named-capturing-groups-regex-7.12.13.tgz", - "integrity": "sha512-Xsm8P2hr5hAxyYblrfACXpQKdQbx4m2df9/ZZSQ8MAhsadw06+jW7s9zsSw6he+mJZXRlVMyEnVktJo4zjk1WA==", - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/plugin-transform-new-target": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-new-target/-/plugin-transform-new-target-7.12.13.tgz", - "integrity": "sha512-/KY2hbLxrG5GTQ9zzZSc3xWiOy379pIETEhbtzwZcw9rvuaVV4Fqy7BYGYOWZnaoXIQYbbJ0ziXLa/sKcGCYEQ==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-object-super": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-object-super/-/plugin-transform-object-super-7.12.13.tgz", - "integrity": "sha512-JzYIcj3XtYspZDV8j9ulnoMPZZnF/Cj0LUxPOjR89BdBVx+zYJI9MdMIlUZjbXDX+6YVeS6I3e8op+qQ3BYBoQ==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13", - "@babel/helper-replace-supers": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-parameters": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-parameters/-/plugin-transform-parameters-7.13.0.tgz", - "integrity": "sha512-Jt8k/h/mIwE2JFEOb3lURoY5C85ETcYPnbuAJ96zRBzh1XHtQZfs62ChZ6EP22QlC8c7Xqr9q+e1SU5qttwwjw==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.13.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-property-literals": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-property-literals/-/plugin-transform-property-literals-7.12.13.tgz", - "integrity": "sha512-nqVigwVan+lR+g8Fj8Exl0UQX2kymtjcWfMOYM1vTYEKujeyv2SkMgazf2qNcK7l4SDiKyTA/nHCPqL4e2zo1A==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-constant-elements": { - "version": "7.13.10", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-constant-elements/-/plugin-transform-react-constant-elements-7.13.10.tgz", - "integrity": "sha512-E+aCW9j7mLq01tOuGV08YzLBt+vSyr4bOPT75B6WrAlrUfmOYOZ/yWk847EH0dv0xXiCihWLEmlX//O30YhpIw==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.13.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-display-name": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.12.13.tgz", - "integrity": "sha512-MprESJzI9O5VnJZrL7gg1MpdqmiFcUv41Jc7SahxYsNP2kDkFqClxxTZq+1Qv4AFCamm+GXMRDQINNn+qrxmiA==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-jsx": { - "version": "7.12.17", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.12.17.tgz", - "integrity": "sha512-mwaVNcXV+l6qJOuRhpdTEj8sT/Z0owAVWf9QujTZ0d2ye9X/K+MTOTSizcgKOj18PGnTc/7g1I4+cIUjsKhBcw==", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.12.13", - "@babel/helper-module-imports": "^7.12.13", - "@babel/helper-plugin-utils": "^7.12.13", - "@babel/plugin-syntax-jsx": "^7.12.13", - "@babel/types": "^7.12.17" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-jsx-development": { - "version": "7.12.17", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-development/-/plugin-transform-react-jsx-development-7.12.17.tgz", - "integrity": "sha512-BPjYV86SVuOaudFhsJR1zjgxxOhJDt6JHNoD48DxWEIxUCAMjV1ys6DYw4SDYZh0b1QsS2vfIA9t/ZsQGsDOUQ==", - "dependencies": { - "@babel/plugin-transform-react-jsx": "^7.12.17" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-jsx-self": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-self/-/plugin-transform-react-jsx-self-7.12.13.tgz", - "integrity": "sha512-FXYw98TTJ125GVCCkFLZXlZ1qGcsYqNQhVBQcZjyrwf8FEUtVfKIoidnO8S0q+KBQpDYNTmiGo1gn67Vti04lQ==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-jsx-source": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-jsx-source/-/plugin-transform-react-jsx-source-7.12.13.tgz", - "integrity": "sha512-O5JJi6fyfih0WfDgIJXksSPhGP/G0fQpfxYy87sDc+1sFmsCS6wr3aAn+whbzkhbjtq4VMqLRaSzR6IsshIC0Q==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-react-pure-annotations": { - "version": "7.12.1", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-pure-annotations/-/plugin-transform-react-pure-annotations-7.12.1.tgz", - "integrity": "sha512-RqeaHiwZtphSIUZ5I85PEH19LOSzxfuEazoY7/pWASCAIBuATQzpSVD+eT6MebeeZT2F4eSL0u4vw6n4Nm0Mjg==", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.10.4", - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-regenerator": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-regenerator/-/plugin-transform-regenerator-7.12.13.tgz", - "integrity": "sha512-lxb2ZAvSLyJ2PEe47hoGWPmW22v7CtSl9jW8mingV4H2sEX/JOcrAj2nPuGWi56ERUm2bUpjKzONAuT6HCn2EA==", - "dependencies": { - "regenerator-transform": "^0.14.2" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-regenerator/node_modules/regenerator-transform": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.14.5.tgz", - "integrity": "sha512-eOf6vka5IO151Jfsw2NO9WpGX58W6wWmefK3I1zEGr0lOD0u8rwPaNqQL1aRxUaxLeKO3ArNh3VYg1KbaD+FFw==", - "dependencies": { - "@babel/runtime": "^7.8.4" - } - }, - "node_modules/@babel/plugin-transform-reserved-words": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-reserved-words/-/plugin-transform-reserved-words-7.12.13.tgz", - "integrity": "sha512-xhUPzDXxZN1QfiOy/I5tyye+TRz6lA7z6xaT4CLOjPRMVg1ldRf0LHw0TDBpYL4vG78556WuHdyO9oi5UmzZBg==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-runtime": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.2.0.tgz", - "integrity": "sha512-jIgkljDdq4RYDnJyQsiWbdvGeei/0MOTtSHKO/rfbd/mXBxNpdlulMx49L0HQ4pug1fXannxoqCI+fYSle9eSw==", - "dependencies": { - "@babel/helper-module-imports": "^7.0.0", - "@babel/helper-plugin-utils": "^7.0.0", - "resolve": "^1.8.1", - "semver": "^5.5.1" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-shorthand-properties": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-shorthand-properties/-/plugin-transform-shorthand-properties-7.12.13.tgz", - "integrity": "sha512-xpL49pqPnLtf0tVluuqvzWIgLEhuPpZzvs2yabUHSKRNlN7ScYU7aMlmavOeyXJZKgZKQRBlh8rHbKiJDraTSw==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-spread": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-spread/-/plugin-transform-spread-7.13.0.tgz", - "integrity": "sha512-V6vkiXijjzYeFmQTr3dBxPtZYLPcUfY34DebOU27jIl2M/Y8Egm52Hw82CSjjPqd54GTlJs5x+CR7HeNr24ckg==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/helper-skip-transparent-expression-wrappers": "^7.12.1" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-sticky-regex": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-sticky-regex/-/plugin-transform-sticky-regex-7.12.13.tgz", - "integrity": "sha512-Jc3JSaaWT8+fr7GRvQP02fKDsYk4K/lYwWq38r/UGfaxo89ajud321NH28KRQ7xy1Ybc0VUE5Pz8psjNNDUglg==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-template-literals": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-template-literals/-/plugin-transform-template-literals-7.13.0.tgz", - "integrity": "sha512-d67umW6nlfmr1iehCcBv69eSUSySk1EsIS8aTDX4Xo9qajAh6mYtcl4kJrBkGXuxZPEgVr7RVfAvNW6YQkd4Mw==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.13.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-typeof-symbol": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typeof-symbol/-/plugin-transform-typeof-symbol-7.12.13.tgz", - "integrity": "sha512-eKv/LmUJpMnu4npgfvs3LiHhJua5fo/CysENxa45YCQXZwKnGCQKAg87bvoqSW1fFT+HA32l03Qxsm8ouTY3ZQ==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-typescript": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-typescript/-/plugin-transform-typescript-7.13.0.tgz", - "integrity": "sha512-elQEwluzaU8R8dbVuW2Q2Y8Nznf7hnjM7+DSCd14Lo5fF63C9qNLbwZYbmZrtV9/ySpSUpkRpQXvJb6xyu4hCQ==", - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.13.0", - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/plugin-syntax-typescript": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-unicode-escapes": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-escapes/-/plugin-transform-unicode-escapes-7.12.13.tgz", - "integrity": "sha512-0bHEkdwJ/sN/ikBHfSmOXPypN/beiGqjo+o4/5K+vxEFNPRPdImhviPakMKG4x96l85emoa0Z6cDflsdBusZbw==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-transform-unicode-regex": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-unicode-regex/-/plugin-transform-unicode-regex-7.12.13.tgz", - "integrity": "sha512-mDRzSNY7/zopwisPZ5kM9XKCfhchqIYwAKRERtEnhYscZB79VRekuRSoYbN0+KVe3y8+q1h6A4svXtP7N+UoCA==", - "dependencies": { - "@babel/helper-create-regexp-features-plugin": "^7.12.13", - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-env": { - "version": "7.13.10", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.13.10.tgz", - "integrity": "sha512-nOsTScuoRghRtUsRr/c69d042ysfPHcu+KOB4A9aAO9eJYqrkat+LF8G1yp1HD18QiwixT2CisZTr/0b3YZPXQ==", - "dependencies": { - "@babel/compat-data": "^7.13.8", - "@babel/helper-compilation-targets": "^7.13.10", - "@babel/helper-plugin-utils": "^7.13.0", - "@babel/helper-validator-option": "^7.12.17", - "@babel/plugin-proposal-async-generator-functions": "^7.13.8", - "@babel/plugin-proposal-class-properties": "^7.13.0", - "@babel/plugin-proposal-dynamic-import": "^7.13.8", - "@babel/plugin-proposal-export-namespace-from": "^7.12.13", - "@babel/plugin-proposal-json-strings": "^7.13.8", - "@babel/plugin-proposal-logical-assignment-operators": "^7.13.8", - "@babel/plugin-proposal-nullish-coalescing-operator": "^7.13.8", - "@babel/plugin-proposal-numeric-separator": "^7.12.13", - "@babel/plugin-proposal-object-rest-spread": "^7.13.8", - "@babel/plugin-proposal-optional-catch-binding": "^7.13.8", - "@babel/plugin-proposal-optional-chaining": "^7.13.8", - "@babel/plugin-proposal-private-methods": "^7.13.0", - "@babel/plugin-proposal-unicode-property-regex": "^7.12.13", - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/plugin-syntax-class-properties": "^7.12.13", - "@babel/plugin-syntax-dynamic-import": "^7.8.3", - "@babel/plugin-syntax-export-namespace-from": "^7.8.3", - "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.10.4", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-top-level-await": "^7.12.13", - "@babel/plugin-transform-arrow-functions": "^7.13.0", - "@babel/plugin-transform-async-to-generator": "^7.13.0", - "@babel/plugin-transform-block-scoped-functions": "^7.12.13", - "@babel/plugin-transform-block-scoping": "^7.12.13", - "@babel/plugin-transform-classes": "^7.13.0", - "@babel/plugin-transform-computed-properties": "^7.13.0", - "@babel/plugin-transform-destructuring": "^7.13.0", - "@babel/plugin-transform-dotall-regex": "^7.12.13", - "@babel/plugin-transform-duplicate-keys": "^7.12.13", - "@babel/plugin-transform-exponentiation-operator": "^7.12.13", - "@babel/plugin-transform-for-of": "^7.13.0", - "@babel/plugin-transform-function-name": "^7.12.13", - "@babel/plugin-transform-literals": "^7.12.13", - "@babel/plugin-transform-member-expression-literals": "^7.12.13", - "@babel/plugin-transform-modules-amd": "^7.13.0", - "@babel/plugin-transform-modules-commonjs": "^7.13.8", - "@babel/plugin-transform-modules-systemjs": "^7.13.8", - "@babel/plugin-transform-modules-umd": "^7.13.0", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.12.13", - "@babel/plugin-transform-new-target": "^7.12.13", - "@babel/plugin-transform-object-super": "^7.12.13", - "@babel/plugin-transform-parameters": "^7.13.0", - "@babel/plugin-transform-property-literals": "^7.12.13", - "@babel/plugin-transform-regenerator": "^7.12.13", - "@babel/plugin-transform-reserved-words": "^7.12.13", - "@babel/plugin-transform-shorthand-properties": "^7.12.13", - "@babel/plugin-transform-spread": "^7.13.0", - "@babel/plugin-transform-sticky-regex": "^7.12.13", - "@babel/plugin-transform-template-literals": "^7.13.0", - "@babel/plugin-transform-typeof-symbol": "^7.12.13", - "@babel/plugin-transform-unicode-escapes": "^7.12.13", - "@babel/plugin-transform-unicode-regex": "^7.12.13", - "@babel/preset-modules": "^0.1.4", - "@babel/types": "^7.13.0", - "babel-plugin-polyfill-corejs2": "^0.1.4", - "babel-plugin-polyfill-corejs3": "^0.1.3", - "babel-plugin-polyfill-regenerator": "^0.1.2", - "core-js-compat": "^3.9.0", - "semver": "^6.3.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-env/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/@babel/preset-modules": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/@babel/preset-modules/-/preset-modules-0.1.4.tgz", - "integrity": "sha512-J36NhwnfdzpmH41M1DrnkkgAqhZaqr/NBdPfQ677mLzlaXo+oDiv1deyCDtgAhz8p328otdob0Du7+xgHGZbKg==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", - "@babel/plugin-transform-dotall-regex": "^7.4.4", - "@babel/types": "^7.4.4", - "esutils": "^2.0.2" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-react": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.12.13.tgz", - "integrity": "sha512-TYM0V9z6Abb6dj1K7i5NrEhA13oS5ujUYQYDfqIBXYHOc2c2VkFgc+q9kyssIyUfy4/hEwqrgSlJ/Qgv8zJLsA==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13", - "@babel/plugin-transform-react-display-name": "^7.12.13", - "@babel/plugin-transform-react-jsx": "^7.12.13", - "@babel/plugin-transform-react-jsx-development": "^7.12.12", - "@babel/plugin-transform-react-pure-annotations": "^7.12.1" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/preset-typescript": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/@babel/preset-typescript/-/preset-typescript-7.1.0.tgz", - "integrity": "sha512-LYveByuF9AOM8WrsNne5+N79k1YxjNB6gmpCQsnuSBAcV8QUeB+ZUxQzL7Rz7HksPbahymKkq2qBR+o36ggFZA==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-transform-typescript": "^7.1.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/runtime": { - "version": "7.13.10", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.13.10.tgz", - "integrity": "sha512-4QPkjJq6Ns3V/RgpEahRk+AGfL0eO6RHHtTWoNNr5mO49G6B5+X6d6THgWEAvTrznU5xYpbAlVKRYcsCgh/Akw==", - "dependencies": { - "regenerator-runtime": "^0.13.4" - } - }, - "node_modules/@babel/runtime/node_modules/regenerator-runtime": { - "version": "0.13.7", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz", - "integrity": "sha512-a54FxoJDIr27pgf7IgeQGxmqUNYrcV338lf/6gH456HZ/PhX+5BcwHXG9ajESmwe6WRO0tAzRUrRmNONWgkrew==" - }, - "node_modules/@babel/template": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.12.13.tgz", - "integrity": "sha512-/7xxiGA57xMo/P2GVvdEumr8ONhFOhfgq2ihK3h1e6THqzTAkHbkXgB0xI9yeTfIUoH3+oAeHhqm/I43OTbbjA==", - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@babel/parser": "^7.12.13", - "@babel/types": "^7.12.13" - } - }, - "node_modules/@babel/traverse": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.13.0.tgz", - "integrity": "sha512-xys5xi5JEhzC3RzEmSGrs/b3pJW/o87SypZ+G/PhaE7uqVQNv/jlmVIBXuoh5atqQ434LfXV+sf23Oxj0bchJQ==", - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@babel/generator": "^7.13.0", - "@babel/helper-function-name": "^7.12.13", - "@babel/helper-split-export-declaration": "^7.12.13", - "@babel/parser": "^7.13.0", - "@babel/types": "^7.13.0", - "debug": "^4.1.0", - "globals": "^11.1.0", - "lodash": "^4.17.19" - } - }, - "node_modules/@babel/traverse/node_modules/debug": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", - "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/@babel/traverse/node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "engines": { - "node": ">=4" - } - }, - "node_modules/@babel/traverse/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/@babel/types": { - "version": "7.13.0", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.13.0.tgz", - "integrity": "sha512-hE+HE8rnG1Z6Wzo+MhaKE5lM5eMx71T4EHJgku2E3xIfaULhDcxiiRxUYgwX8qwP1BBSlag+TdGOt6JAidIZTA==", - "dependencies": { - "@babel/helper-validator-identifier": "^7.12.11", - "lodash": "^4.17.19", - "to-fast-properties": "^2.0.0" - } - }, - "node_modules/@babel/types/node_modules/to-fast-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", - "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", - "engines": { - "node": ">=4" - } - }, - "node_modules/@csstools/convert-colors": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/@csstools/convert-colors/-/convert-colors-1.4.0.tgz", - "integrity": "sha512-5a6wqoJV/xEdbRNKVo6I4hO3VjyDq//8q2f9I6PBAvMesJHFauXDorcNCsr9RzvsZnaWi5NYCcfyqP1QeFHFbw==", - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/@hypnosphi/create-react-context": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@hypnosphi/create-react-context/-/create-react-context-0.3.1.tgz", - "integrity": "sha512-V1klUed202XahrWJLLOT3EXNeCpFHCcJntdFGI15ntCwau+jfT386w7OFTMaCqOgXUH1fa0w/I1oZs+i/Rfr0A==", - "dependencies": { - "gud": "^1.0.0", - "warning": "^4.0.3" - }, - "peerDependencies": { - "prop-types": "^15.0.0", - "react": ">=0.14.0" - } - }, - "node_modules/@mrmlnc/readdir-enhanced": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/@mrmlnc/readdir-enhanced/-/readdir-enhanced-2.2.1.tgz", - "integrity": "sha512-bPHp6Ji8b41szTOcaP63VlnbbO5Ny6dwAATtY6JTjh5N2OLrb5Qk/Th5cRkRQhkWCt+EJsYrNB0MiL+Gpn6e3g==", - "dependencies": { - "call-me-maybe": "^1.0.1", - "glob-to-regexp": "^0.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/@multiformats/base-x": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@multiformats/base-x/-/base-x-4.0.1.tgz", - "integrity": "sha512-eMk0b9ReBbV23xXU693TAIrLyeO5iTgBZGSJfpqriG8UkYvr/hC9u9pyMlAakDNHWmbhMZCDs6KQO0jzKD8OTw==" - }, - "node_modules/@nodelib/fs.stat": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-1.1.3.tgz", - "integrity": "sha512-shAmDyaQC4H92APFoIaVDHCx5bStIocgvbwQyxPRrbUY20V1EYTbSDchWbuwlMG3V17cprZhA6+78JfB+3DTPw==", - "engines": { - "node": ">= 6" - } - }, - "node_modules/@openzeppelin/contracts": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/@openzeppelin/contracts/-/contracts-3.4.1.tgz", - "integrity": "sha512-cUriqMauq1ylzP2TxePNdPqkwI7Le3Annh4K9rrpvKfSBB/bdW+Iu1ihBaTIABTAAJ85LmKL5SSPPL9ry8d1gQ==" - }, - "node_modules/@react-bootstrap/react-popper": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@react-bootstrap/react-popper/-/react-popper-1.2.1.tgz", - "integrity": "sha512-4l3q7LcZEhrSkI4d3Ie3g4CdrXqqTexXX4PFT45CB0z5z2JUbaxgRwKNq7r5j2bLdVpZm+uvUGqxJw8d9vgbJQ==", - "dependencies": { - "babel-runtime": "6.x.x", - "create-react-context": "^0.2.1", - "popper.js": "^1.14.4", - "prop-types": "^15.6.1", - "typed-styles": "^0.0.5", - "warning": "^3.0.0" - }, - "peerDependencies": { - "react": "0.14.x || ^15.0.0 || ^16.0.0" - } - }, - "node_modules/@react-bootstrap/react-popper/node_modules/warning": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/warning/-/warning-3.0.0.tgz", - "integrity": "sha1-MuU3fLVy3kqwR1O9+IIcAe1gW3w=", - "dependencies": { - "loose-envify": "^1.0.0" - } - }, - "node_modules/@resolver-engine/core": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@resolver-engine/core/-/core-0.2.1.tgz", - "integrity": "sha512-nsLQHmPJ77QuifqsIvqjaF5B9aHnDzJjp73Q1z6apY3e9nqYrx4Dtowhpsf7Jwftg/XzVDEMQC+OzUBNTS+S1A==", - "dependencies": { - "debug": "^3.1.0", - "request": "^2.85.0" - } - }, - "node_modules/@resolver-engine/core/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/@resolver-engine/core/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - }, - "node_modules/@resolver-engine/fs": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/@resolver-engine/fs/-/fs-0.2.1.tgz", - "integrity": "sha512-7kJInM1Qo2LJcKyDhuYzh9ZWd+mal/fynfL9BNjWOiTcOpX+jNfqb/UmGUqros5pceBITlWGqS4lU709yHFUbg==", - "dependencies": { - "@resolver-engine/core": "^0.2.1", - "debug": "^3.1.0" - } - }, - "node_modules/@resolver-engine/fs/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/@resolver-engine/fs/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - }, - "node_modules/@resolver-engine/imports": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/@resolver-engine/imports/-/imports-0.2.2.tgz", - "integrity": "sha512-u5/HUkvo8q34AA+hnxxqqXGfby5swnH0Myw91o3Sm2TETJlNKXibFGSKBavAH+wvWdBi4Z5gS2Odu0PowgVOUg==", - "dependencies": { - "@resolver-engine/core": "^0.2.1", - "debug": "^3.1.0", - "hosted-git-info": "^2.6.0" - } - }, - "node_modules/@resolver-engine/imports-fs": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/@resolver-engine/imports-fs/-/imports-fs-0.2.2.tgz", - "integrity": "sha512-gFCgMvCwyppjwq0UzIjde/WI+yDs3oatJhozG9xdjJdewwtd7LiF0T5i9lrHAUtqrQbqoFE4E+ZMRVHWpWHpKQ==", - "dependencies": { - "@resolver-engine/fs": "^0.2.1", - "@resolver-engine/imports": "^0.2.2", - "debug": "^3.1.0" - } - }, - "node_modules/@resolver-engine/imports-fs/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/@resolver-engine/imports-fs/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - }, - "node_modules/@resolver-engine/imports/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/@resolver-engine/imports/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - }, - "node_modules/@solidity-parser/parser": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/@solidity-parser/parser/-/parser-0.8.2.tgz", - "integrity": "sha512-8LySx3qrNXPgB5JiULfG10O3V7QTxI/TLzSw5hFQhXWSkVxZBAv4rZQ0sYgLEbc8g3L2lmnujj1hKul38Eu5NQ==" - }, - "node_modules/@svgr/core": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@svgr/core/-/core-2.4.1.tgz", - "integrity": "sha512-2i1cUbjpKt1KcIP05e10vkmu9Aedp32EFqVcSQ08onbB8lVxJqMPci3Hr54aI14S9cLg4JdcpO0D35HHUtT8oQ==", - "dependencies": { - "camelcase": "^5.0.0", - "cosmiconfig": "^5.0.6", - "h2x-core": "^1.1.0", - "h2x-plugin-jsx": "^1.1.0", - "merge-deep": "^3.0.2", - "prettier": "^1.14.2", - "svgo": "^1.0.5" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@svgr/webpack": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/@svgr/webpack/-/webpack-2.4.1.tgz", - "integrity": "sha512-sMHYq0zbMtSHcc9kVfkYI2zrl88u4mKGyQLgKt7r+ul5nITcncm/EPBhzEUrJY5izdlaU6EvyH8zOhZnfaSmOA==", - "dependencies": { - "@babel/core": "^7.0.1", - "@babel/plugin-transform-react-constant-elements": "^7.0.0", - "@babel/preset-env": "^7.0.0", - "@babel/preset-react": "^7.0.0", - "@svgr/core": "^2.4.1", - "loader-utils": "^1.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@types/bn.js": { - "version": "4.11.6", - "resolved": "https://registry.npmjs.org/@types/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha512-pqr857jrp2kPuO9uRjZ3PwnJTjoQy+fcdxvBTvHm6dkmEL9q+hDD/2j/0ELOBPtPnS8LjCX0gI9nbl8lVkadpg==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/node": { - "version": "10.17.55", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.55.tgz", - "integrity": "sha512-koZJ89uLZufDvToeWO5BrC4CR4OUfHnUz2qoPs/daQH6qq3IN62QFxCTZ+bKaCE0xaoCAJYE4AXre8AbghCrhg==" - }, - "node_modules/@types/pbkdf2": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/@types/pbkdf2/-/pbkdf2-3.1.0.tgz", - "integrity": "sha512-Cf63Rv7jCQ0LaL8tNXmEyqTHuIJxRdlS5vMh1mj5voN4+QFhVZnlZruezqpWYDiJ8UTzhP0VmeLXCmBk66YrMQ==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/q": { - "version": "1.5.4", - "resolved": "https://registry.npmjs.org/@types/q/-/q-1.5.4.tgz", - "integrity": "sha512-1HcDas8SEj4z1Wc696tH56G8OlRaH/sqZOynNNB+HF0WOeXPaxTtbYzJY2oEfiUxjSKjhCKr+MvR7dCHcEelug==" - }, - "node_modules/@types/secp256k1": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/@types/secp256k1/-/secp256k1-4.0.1.tgz", - "integrity": "sha512-+ZjSA8ELlOp8SlKi0YLB2tz9d5iPNEmOBd+8Rz21wTMdaXQIa9b6TEnD6l5qKOCypE7FSyPyck12qZJxSDNoog==", - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/tapable": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@types/tapable/-/tapable-1.0.2.tgz", - "integrity": "sha512-42zEJkBpNfMEAvWR5WlwtTH22oDzcMjFsL9gDGExwF8X8WvAiw7Vwop7hPw03QT8TKfec83LwbHj6SvpqM4ELQ==" - }, - "node_modules/@webassemblyjs/ast": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ast/-/ast-1.7.6.tgz", - "integrity": "sha512-8nkZS48EVsMUU0v6F1LCIOw4RYWLm2plMtbhFTjNgeXmsTNLuU3xTRtnljt9BFQB+iPbLRobkNrCWftWnNC7wQ==", - "dependencies": { - "@webassemblyjs/helper-module-context": "1.7.6", - "@webassemblyjs/helper-wasm-bytecode": "1.7.6", - "@webassemblyjs/wast-parser": "1.7.6", - "mamacro": "^0.0.3" - } - }, - "node_modules/@webassemblyjs/floating-point-hex-parser": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/floating-point-hex-parser/-/floating-point-hex-parser-1.7.6.tgz", - "integrity": "sha512-VBOZvaOyBSkPZdIt5VBMg3vPWxouuM13dPXGWI1cBh3oFLNcFJ8s9YA7S9l4mPI7+Q950QqOmqj06oa83hNWBA==" - }, - "node_modules/@webassemblyjs/helper-api-error": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-api-error/-/helper-api-error-1.7.6.tgz", - "integrity": "sha512-SCzhcQWHXfrfMSKcj8zHg1/kL9kb3aa5TN4plc/EREOs5Xop0ci5bdVBApbk2yfVi8aL+Ly4Qpp3/TRAUInjrg==" - }, - "node_modules/@webassemblyjs/helper-buffer": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-buffer/-/helper-buffer-1.7.6.tgz", - "integrity": "sha512-1/gW5NaGsEOZ02fjnFiU8/OEEXU1uVbv2um0pQ9YVL3IHSkyk6xOwokzyqqO1qDZQUAllb+V8irtClPWntbVqw==" - }, - "node_modules/@webassemblyjs/helper-code-frame": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-code-frame/-/helper-code-frame-1.7.6.tgz", - "integrity": "sha512-+suMJOkSn9+vEvDvgyWyrJo5vJsWSDXZmJAjtoUq4zS4eqHyXImpktvHOZwXp1XQjO5H+YQwsBgqTQEc0J/5zg==", - "dependencies": { - "@webassemblyjs/wast-printer": "1.7.6" - } - }, - "node_modules/@webassemblyjs/helper-fsm": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-fsm/-/helper-fsm-1.7.6.tgz", - "integrity": "sha512-HCS6KN3wgxUihGBW7WFzEC/o8Eyvk0d56uazusnxXthDPnkWiMv+kGi9xXswL2cvfYfeK5yiM17z2K5BVlwypw==" - }, - "node_modules/@webassemblyjs/helper-module-context": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-module-context/-/helper-module-context-1.7.6.tgz", - "integrity": "sha512-e8/6GbY7OjLM+6OsN7f2krC2qYVNaSr0B0oe4lWdmq5sL++8dYDD1TFbD1TdAdWMRTYNr/Qq7ovXWzia2EbSjw==", - "dependencies": { - "mamacro": "^0.0.3" - } - }, - "node_modules/@webassemblyjs/helper-wasm-bytecode": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-bytecode/-/helper-wasm-bytecode-1.7.6.tgz", - "integrity": "sha512-PzYFCb7RjjSdAOljyvLWVqd6adAOabJW+8yRT+NWhXuf1nNZWH+igFZCUK9k7Cx7CsBbzIfXjJc7u56zZgFj9Q==" - }, - "node_modules/@webassemblyjs/helper-wasm-section": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/helper-wasm-section/-/helper-wasm-section-1.7.6.tgz", - "integrity": "sha512-3GS628ppDPSuwcYlQ7cDCGr4W2n9c4hLzvnRKeuz+lGsJSmc/ADVoYpm1ts2vlB1tGHkjtQMni+yu8mHoMlKlA==", - "dependencies": { - "@webassemblyjs/ast": "1.7.6", - "@webassemblyjs/helper-buffer": "1.7.6", - "@webassemblyjs/helper-wasm-bytecode": "1.7.6", - "@webassemblyjs/wasm-gen": "1.7.6" - } - }, - "node_modules/@webassemblyjs/ieee754": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/ieee754/-/ieee754-1.7.6.tgz", - "integrity": "sha512-V4cIp0ruyw+hawUHwQLn6o2mFEw4t50tk530oKsYXQhEzKR+xNGDxs/SFFuyTO7X3NzEu4usA3w5jzhl2RYyzQ==", - "dependencies": { - "@xtuc/ieee754": "^1.2.0" - } - }, - "node_modules/@webassemblyjs/leb128": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/leb128/-/leb128-1.7.6.tgz", - "integrity": "sha512-ojdlG8WpM394lBow4ncTGJoIVZ4aAtNOWHhfAM7m7zprmkVcKK+2kK5YJ9Bmj6/ketTtOn7wGSHCtMt+LzqgYQ==", - "dependencies": { - "@xtuc/long": "4.2.1" - } - }, - "node_modules/@webassemblyjs/utf8": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/utf8/-/utf8-1.7.6.tgz", - "integrity": "sha512-oId+tLxQ+AeDC34ELRYNSqJRaScB0TClUU6KQfpB8rNT6oelYlz8axsPhf6yPTg7PBJ/Z5WcXmUYiHEWgbbHJw==" - }, - "node_modules/@webassemblyjs/wasm-edit": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-edit/-/wasm-edit-1.7.6.tgz", - "integrity": "sha512-pTNjLO3o41v/Vz9VFLl+I3YLImpCSpodFW77pNoH4agn5I6GgSxXHXtvWDTvYJFty0jSeXZWLEmbaSIRUDlekg==", - "dependencies": { - "@webassemblyjs/ast": "1.7.6", - "@webassemblyjs/helper-buffer": "1.7.6", - "@webassemblyjs/helper-wasm-bytecode": "1.7.6", - "@webassemblyjs/helper-wasm-section": "1.7.6", - "@webassemblyjs/wasm-gen": "1.7.6", - "@webassemblyjs/wasm-opt": "1.7.6", - "@webassemblyjs/wasm-parser": "1.7.6", - "@webassemblyjs/wast-printer": "1.7.6" - } - }, - "node_modules/@webassemblyjs/wasm-gen": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-gen/-/wasm-gen-1.7.6.tgz", - "integrity": "sha512-mQvFJVumtmRKEUXMohwn8nSrtjJJl6oXwF3FotC5t6e2hlKMh8sIaW03Sck2MDzw9xPogZD7tdP5kjPlbH9EcQ==", - "dependencies": { - "@webassemblyjs/ast": "1.7.6", - "@webassemblyjs/helper-wasm-bytecode": "1.7.6", - "@webassemblyjs/ieee754": "1.7.6", - "@webassemblyjs/leb128": "1.7.6", - "@webassemblyjs/utf8": "1.7.6" - } - }, - "node_modules/@webassemblyjs/wasm-opt": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-opt/-/wasm-opt-1.7.6.tgz", - "integrity": "sha512-go44K90fSIsDwRgtHhX14VtbdDPdK2sZQtZqUcMRvTojdozj5tLI0VVJAzLCfz51NOkFXezPeVTAYFqrZ6rI8Q==", - "dependencies": { - "@webassemblyjs/ast": "1.7.6", - "@webassemblyjs/helper-buffer": "1.7.6", - "@webassemblyjs/wasm-gen": "1.7.6", - "@webassemblyjs/wasm-parser": "1.7.6" - } - }, - "node_modules/@webassemblyjs/wasm-parser": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wasm-parser/-/wasm-parser-1.7.6.tgz", - "integrity": "sha512-t1T6TfwNY85pDA/HWPA8kB9xA4sp9ajlRg5W7EKikqrynTyFo+/qDzIpvdkOkOGjlS6d4n4SX59SPuIayR22Yg==", - "dependencies": { - "@webassemblyjs/ast": "1.7.6", - "@webassemblyjs/helper-api-error": "1.7.6", - "@webassemblyjs/helper-wasm-bytecode": "1.7.6", - "@webassemblyjs/ieee754": "1.7.6", - "@webassemblyjs/leb128": "1.7.6", - "@webassemblyjs/utf8": "1.7.6" - } - }, - "node_modules/@webassemblyjs/wast-parser": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-parser/-/wast-parser-1.7.6.tgz", - "integrity": "sha512-1MaWTErN0ziOsNUlLdvwS+NS1QWuI/kgJaAGAMHX8+fMJFgOJDmN/xsG4h/A1Gtf/tz5VyXQciaqHZqp2q0vfg==", - "dependencies": { - "@webassemblyjs/ast": "1.7.6", - "@webassemblyjs/floating-point-hex-parser": "1.7.6", - "@webassemblyjs/helper-api-error": "1.7.6", - "@webassemblyjs/helper-code-frame": "1.7.6", - "@webassemblyjs/helper-fsm": "1.7.6", - "@xtuc/long": "4.2.1", - "mamacro": "^0.0.3" - } - }, - "node_modules/@webassemblyjs/wast-printer": { - "version": "1.7.6", - "resolved": "https://registry.npmjs.org/@webassemblyjs/wast-printer/-/wast-printer-1.7.6.tgz", - "integrity": "sha512-vHdHSK1tOetvDcl1IV1OdDeGNe/NDDQ+KzuZHMtqTVP1xO/tZ/IKNpj5BaGk1OYFdsDWQqb31PIwdEyPntOWRQ==", - "dependencies": { - "@webassemblyjs/ast": "1.7.6", - "@webassemblyjs/wast-parser": "1.7.6", - "@xtuc/long": "4.2.1" - } - }, - "node_modules/@xtuc/ieee754": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz", - "integrity": "sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==" - }, - "node_modules/@xtuc/long": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/@xtuc/long/-/long-4.2.1.tgz", - "integrity": "sha512-FZdkNBDqBRHKQ2MEbSC17xnPFOhZxeJ2YGSfr2BKf3sujG49Qe3bB+rGCwQfIaA7WHnGeGkSijX4FuBCdrzW/g==" - }, - "node_modules/@zxing/text-encoding": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/@zxing/text-encoding/-/text-encoding-0.9.0.tgz", - "integrity": "sha512-U/4aVJ2mxI0aDNI8Uq0wEhMgY+u4CNtEb0om3+y3+niDAsoTCOB33UF0sxpzqzdqXLqmvc+vZyAt4O8pPdfkwA==", - "optional": true - }, - "node_modules/abab": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.5.tgz", - "integrity": "sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q==" - }, - "node_modules/abort-controller": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", - "integrity": "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg==", - "dependencies": { - "event-target-shim": "^5.0.0" - }, - "engines": { - "node": ">=6.5" - } - }, - "node_modules/accepts": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/accepts/-/accepts-1.3.7.tgz", - "integrity": "sha512-Il80Qs2WjYlJIBNzNkK6KYqlVMTbZLXgHx2oT0pU/fjRHyEp+PEfEPY0R3WCwAGVOtauxh1hOxNgIf5bv7dQpA==", - "dependencies": { - "mime-types": "~2.1.24", - "negotiator": "0.6.2" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/acorn": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", - "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-dynamic-import": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/acorn-dynamic-import/-/acorn-dynamic-import-3.0.0.tgz", - "integrity": "sha512-zVWV8Z8lislJoOKKqdNMOB+s6+XV5WERty8MnKBeFgwA+19XJjJHs2RP5dzM57FftIs+jQnRToLiWazKr6sSWg==", - "dependencies": { - "acorn": "^5.0.0" - } - }, - "node_modules/acorn-dynamic-import/node_modules/acorn": { - "version": "5.7.4", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.4.tgz", - "integrity": "sha512-1D++VG7BhrtvQpNbBzovKNc1FLGGEE/oGe7b9xJm/RFHMBeUaUGpluV9RLjZa47YFdPcDAenEYuq9pQPcMdLJg==", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-globals": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-6.0.0.tgz", - "integrity": "sha512-ZQl7LOWaF5ePqqcX4hLuv/bLXYQNfNWw2c0/yX/TsPRKamzHcTGQnlCjHT3TsmkOUVEPS3crCxiPfdzE/Trlhg==", - "dependencies": { - "acorn": "^7.1.1", - "acorn-walk": "^7.1.1" - } - }, - "node_modules/acorn-globals/node_modules/acorn": { - "version": "7.4.1", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz", - "integrity": "sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/acorn-jsx": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.1.tgz", - "integrity": "sha512-K0Ptm/47OKfQRpNQ2J/oIN/3QYiK6FwW+eJbILhsdxh2WTLdl+30o8aGdTbm5JbffpFFAg/g+zi1E+jvJha5ng==", - "peerDependencies": { - "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" - } - }, - "node_modules/acorn-walk": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz", - "integrity": "sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/address": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/address/-/address-1.0.3.tgz", - "integrity": "sha512-z55ocwKBRLryBs394Sm3ushTtBeg6VAeuku7utSoSnsJKvKcnXFIyC6vh27n3rXyxSgkJBBCAvyOn7gSUcTYjg==", - "engines": { - "node": ">= 0.12.0" - } - }, - "node_modules/aes-js": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz", - "integrity": "sha1-4h3xCtbCBTKVvLuNq0Cwnb6ofk0=" - }, - "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/ajv-errors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/ajv-errors/-/ajv-errors-1.0.1.tgz", - "integrity": "sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ==", - "peerDependencies": { - "ajv": ">=5.0.0" - } - }, - "node_modules/ajv-keywords": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/ajv-keywords/-/ajv-keywords-3.5.2.tgz", - "integrity": "sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==", - "peerDependencies": { - "ajv": "^6.9.1" - } - }, - "node_modules/alphanum-sort": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/alphanum-sort/-/alphanum-sort-1.0.2.tgz", - "integrity": "sha1-l6ERlkmyEa0zaR2fn0hqjsn74KM=" - }, - "node_modules/ansi-colors": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/ansi-colors/-/ansi-colors-3.2.4.tgz", - "integrity": "sha512-hHUXGagefjN2iRrID63xckIvotOXOojhQKWIPUZ4mNUZ9nLZW+7FMNoE1lOkEhNWYsx/7ysGIuJYCiMAA9FnrA==", - "engines": { - "node": ">=6" - } - }, - "node_modules/ansi-escapes": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-3.2.0.tgz", - "integrity": "sha512-cBhpre4ma+U0T1oM5fXg7Dy1Jw7zzwv7lt/GoCpr+hDQJoYnKVPLL4dCvSEFMmQurOQvSrwT7SL/DAlhBI97RQ==", - "engines": { - "node": ">=4" - } - }, - "node_modules/ansi-html": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/ansi-html/-/ansi-html-0.0.7.tgz", - "integrity": "sha1-gTWEAhliqenm/QOflA0S9WynhZ4=", - "engines": [ - "node >= 0.8.0" - ], - "bin": { - "ansi-html": "bin/ansi-html" - } - }, - "node_modules/ansi-regex": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz", - "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ansi-styles": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz", - "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/any-signal": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/any-signal/-/any-signal-2.1.2.tgz", - "integrity": "sha512-B+rDnWasMi/eWcajPcCWSlYc7muXOrcYrqgyzcdKisl2H/WTlQ0gip1KyQfr0ZlxJdsuWCj/LWwQm7fhyhRfIQ==", - "dependencies": { - "abort-controller": "^3.0.0", - "native-abort-controller": "^1.0.3" - } - }, - "node_modules/anymatch": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-2.0.0.tgz", - "integrity": "sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==", - "dependencies": { - "micromatch": "^3.1.4", - "normalize-path": "^2.1.1" - } - }, - "node_modules/anymatch/node_modules/normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", - "dependencies": { - "remove-trailing-separator": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/app-module-path": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/app-module-path/-/app-module-path-2.2.0.tgz", - "integrity": "sha1-ZBqlXft9am8KgUHEucCqULbCTdU=" - }, - "node_modules/append-transform": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/append-transform/-/append-transform-0.4.0.tgz", - "integrity": "sha1-126/jKlNJ24keja61EpLdKthGZE=", - "dependencies": { - "default-require-extensions": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/aproba": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", - "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==" - }, - "node_modules/argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dependencies": { - "sprintf-js": "~1.0.2" - } - }, - "node_modules/aria-query": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/aria-query/-/aria-query-3.0.0.tgz", - "integrity": "sha1-ZbP8wcoRVajJrmTW7uKX8V1RM8w=", - "dependencies": { - "ast-types-flow": "0.0.7", - "commander": "^2.11.0" - } - }, - "node_modules/arr-diff": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-4.0.0.tgz", - "integrity": "sha1-1kYQdP6/7HHn4VI1dhoyml3HxSA=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/arr-flatten": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/arr-flatten/-/arr-flatten-1.1.0.tgz", - "integrity": "sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/arr-union": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/arr-union/-/arr-union-3.1.0.tgz", - "integrity": "sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/array-equal": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/array-equal/-/array-equal-1.0.0.tgz", - "integrity": "sha1-jCpe8kcv2ep0KwTHenUJO6J1fJM=" - }, - "node_modules/array-filter": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/array-filter/-/array-filter-0.0.1.tgz", - "integrity": "sha1-fajPLiZijtcygDWB/SH2fKzS7uw=" - }, - "node_modules/array-flatten": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-2.1.2.tgz", - "integrity": "sha512-hNfzcOV8W4NdualtqBFPyVO+54DSJuZGY9qT4pRroB6S9e3iiido2ISIC5h9R2sPJ8H3FHCIiEnsv1lPXO3KtQ==" - }, - "node_modules/array-includes": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/array-includes/-/array-includes-3.1.3.tgz", - "integrity": "sha512-gcem1KlBU7c9rB+Rq8/3PPKsK2kjqeEBa3bD5kkQo4nYlOHQCJqIJFqBXDEfwaRuYTT4E+FxA9xez7Gf/e3Q7A==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.2", - "get-intrinsic": "^1.1.1", - "is-string": "^1.0.5" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/array-map": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/array-map/-/array-map-0.0.0.tgz", - "integrity": "sha1-iKK6tz0c97zVwbEYoAP2b2ZfpmI=" - }, - "node_modules/array-reduce": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/array-reduce/-/array-reduce-0.0.0.tgz", - "integrity": "sha1-FziZ0//Rx9k4PkR5Ul2+J4yrXys=" - }, - "node_modules/array-union": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/array-union/-/array-union-1.0.2.tgz", - "integrity": "sha1-mjRBDk9OPaI96jdb5b5w8kd47Dk=", - "dependencies": { - "array-uniq": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/array-uniq": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/array-uniq/-/array-uniq-1.0.3.tgz", - "integrity": "sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/array-unique": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.3.2.tgz", - "integrity": "sha1-qJS3XUvE9s1nnvMkSp/Y9Gri1Cg=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/arrify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/arrify/-/arrify-1.0.1.tgz", - "integrity": "sha1-iYUI2iIm84DfkEcoRWhJwVAaSw0=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/asap": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", - "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" - }, - "node_modules/asn1": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", - "integrity": "sha512-jxwzQpLQjSmWXgwaCZE9Nz+glAG01yF1QnWgbhGwHI5A6FRIEY6IVqtHhIepHqI7/kyEyQEagBC5mBEFlIYvdg==", - "dependencies": { - "safer-buffer": "~2.1.0" - } - }, - "node_modules/asn1.js": { - "version": "5.4.1", - "resolved": "https://registry.npmjs.org/asn1.js/-/asn1.js-5.4.1.tgz", - "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" - } - }, - "node_modules/assert": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/assert/-/assert-1.5.0.tgz", - "integrity": "sha512-EDsgawzwoun2CZkCgtxJbv392v4nbk9XDD06zI+kQYoBM/3RBWLlEyJARDOmhAAosBjWACEkKL6S+lIZtcAubA==", - "dependencies": { - "object-assign": "^4.1.1", - "util": "0.10.3" - } - }, - "node_modules/assert-plus": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assert-plus/-/assert-plus-1.0.0.tgz", - "integrity": "sha1-8S4PPF13sLHN2RRpQuTpbB5N1SU=", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/assert/node_modules/inherits": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.1.tgz", - "integrity": "sha1-sX0I0ya0Qj5Wjv9xn5GwscvfafE=" - }, - "node_modules/assert/node_modules/util": { - "version": "0.10.3", - "resolved": "https://registry.npmjs.org/util/-/util-0.10.3.tgz", - "integrity": "sha1-evsa/lCAUkZInj23/g7TeTNqwPk=", - "dependencies": { - "inherits": "2.0.1" - } - }, - "node_modules/assertion-error": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/assertion-error/-/assertion-error-1.1.0.tgz", - "integrity": "sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==", - "engines": { - "node": "*" - } - }, - "node_modules/assign-symbols": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/assign-symbols/-/assign-symbols-1.0.0.tgz", - "integrity": "sha1-WWZ/QfrdTyDMvCu5a41Pf3jsA2c=", - "engines": { - "node": ">=0.10.0" - } - }, - "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": "sha1-9wtzXGvKGlycItmCw+Oef+ujva0=" - }, - "node_modules/astral-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/astral-regex/-/astral-regex-1.0.0.tgz", - "integrity": "sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==", - "engines": { - "node": ">=4" - } - }, - "node_modules/async": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz", - "integrity": "sha512-zflvls11DCy+dQWzTW2dzuilv8Z5X/pjfmZOWba6TNIVDm+2UDaJmXSOXlasHKfNBs8oo3M0aT50fDEWfKZjXg==", - "dependencies": { - "lodash": "^4.17.14" - } - }, - "node_modules/async-each": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/async-each/-/async-each-1.0.3.tgz", - "integrity": "sha512-z/WhQ5FPySLdvREByI2vZiTWwCnF0moMJ1hK9YQwDTHKh6I7/uSckMetoRGb5UBZPC1z0jlw+n/XCgjeH7y1AQ==" - }, - "node_modules/async-limiter": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/async-limiter/-/async-limiter-1.0.1.tgz", - "integrity": "sha512-csOlWGAcRFJaI6m+F2WKdnMKr4HhdhFVBk0H/QbJFMCr+uO2kwohwXQPxw/9OCxp05r5ghVBFSyioixx3gfkNQ==" - }, - "node_modules/asynckit": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha1-x57Zf380y48robyXkLzDZkdLS3k=" - }, - "node_modules/at-least-node": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/at-least-node/-/at-least-node-1.0.0.tgz", - "integrity": "sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg==", - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/atob": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/atob/-/atob-2.1.2.tgz", - "integrity": "sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==", - "bin": { - "atob": "bin/atob.js" - }, - "engines": { - "node": ">= 4.5.0" - } - }, - "node_modules/autoprefixer": { - "version": "9.8.6", - "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-9.8.6.tgz", - "integrity": "sha512-XrvP4VVHdRBCdX1S3WXVD8+RyG9qeb1D5Sn1DeLiG2xfSpzellk5k54xbUERJ3M5DggQxes39UGOTP8CFrEGbg==", - "dependencies": { - "browserslist": "^4.12.0", - "caniuse-lite": "^1.0.30001109", - "colorette": "^1.2.1", - "normalize-range": "^0.1.2", - "num2fraction": "^1.2.2", - "postcss": "^7.0.32", - "postcss-value-parser": "^4.1.0" - }, - "bin": { - "autoprefixer": "bin/autoprefixer" - }, - "funding": { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/autoprefixer" - } - }, - "node_modules/autoprefixer/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/autoprefixer/node_modules/browserslist": { - "version": "4.16.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.3.tgz", - "integrity": "sha512-vIyhWmIkULaq04Gt93txdh+j02yX/JzlyhLYbV3YQCn/zvES3JnY7TifHHvvr1w5hTDluNKMkV05cs4vy8Q7sw==", - "dependencies": { - "caniuse-lite": "^1.0.30001181", - "colorette": "^1.2.1", - "electron-to-chromium": "^1.3.649", - "escalade": "^3.1.1", - "node-releases": "^1.1.70" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } - }, - "node_modules/autoprefixer/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/autoprefixer/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/autoprefixer/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/autoprefixer/node_modules/postcss-value-parser": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz", - "integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==" - }, - "node_modules/autoprefixer/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/autoprefixer/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/aws-sign2": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/aws-sign2/-/aws-sign2-0.7.0.tgz", - "integrity": "sha1-tG6JCTSpWR8tL2+G1+ap8bP+dqg=", - "engines": { - "node": "*" - } - }, - "node_modules/aws4": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/aws4/-/aws4-1.11.0.tgz", - "integrity": "sha512-xh1Rl34h6Fi1DC2WWKfxUTVqRsNnr6LsKz2+hfwDxQJWmrx8+c7ylaqBMcHfl1U1r2dsifOvKX3LQuLNZ+XSvA==" - }, - "node_modules/axobject-query": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/axobject-query/-/axobject-query-2.2.0.tgz", - "integrity": "sha512-Td525n+iPOOyUQIeBfcASuG6uJsDOITl7Mds5gFyerkWiX7qhUTdYUBlSgNMyVqtSJqwpt1kXGLdUt6SykLMRA==" - }, - "node_modules/babel-code-frame": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-code-frame/-/babel-code-frame-6.26.0.tgz", - "integrity": "sha1-Y/1D99weO7fONZR9uP42mj9Yx0s=", - "dependencies": { - "chalk": "^1.1.3", - "esutils": "^2.0.2", - "js-tokens": "^3.0.2" - } - }, - "node_modules/babel-core": { - "version": "6.26.3", - "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-6.26.3.tgz", - "integrity": "sha512-6jyFLuDmeidKmUEb3NM+/yawG0M2bDZ9Z1qbZP59cyHLz8kYGKYwpJP0UwUKKUiTRNvxfLesJnTedqczP7cTDA==", - "dependencies": { - "babel-code-frame": "^6.26.0", - "babel-generator": "^6.26.0", - "babel-helpers": "^6.24.1", - "babel-messages": "^6.23.0", - "babel-register": "^6.26.0", - "babel-runtime": "^6.26.0", - "babel-template": "^6.26.0", - "babel-traverse": "^6.26.0", - "babel-types": "^6.26.0", - "babylon": "^6.18.0", - "convert-source-map": "^1.5.1", - "debug": "^2.6.9", - "json5": "^0.5.1", - "lodash": "^4.17.4", - "minimatch": "^3.0.4", - "path-is-absolute": "^1.0.1", - "private": "^0.1.8", - "slash": "^1.0.0", - "source-map": "^0.5.7" - } - }, - "node_modules/babel-eslint": { - "version": "9.0.0", - "resolved": "https://registry.npmjs.org/babel-eslint/-/babel-eslint-9.0.0.tgz", - "integrity": "sha512-itv1MwE3TMbY0QtNfeL7wzak1mV47Uy+n6HtSOO4Xd7rvmO+tsGQSgyOEEgo6Y2vHZKZphaoelNeSVj4vkLA1g==", - "deprecated": "babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.", - "dependencies": { - "@babel/code-frame": "^7.0.0", - "@babel/parser": "^7.0.0", - "@babel/traverse": "^7.0.0", - "@babel/types": "^7.0.0", - "eslint-scope": "3.7.1", - "eslint-visitor-keys": "^1.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/babel-extract-comments": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/babel-extract-comments/-/babel-extract-comments-1.0.0.tgz", - "integrity": "sha512-qWWzi4TlddohA91bFwgt6zO/J0X+io7Qp184Fw0m2JYRSTZnJbFR8+07KmzudHCZgOiKRCrjhylwv9Xd8gfhVQ==", - "dependencies": { - "babylon": "^6.18.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/babel-generator": { - "version": "6.26.1", - "resolved": "https://registry.npmjs.org/babel-generator/-/babel-generator-6.26.1.tgz", - "integrity": "sha512-HyfwY6ApZj7BYTcJURpM5tznulaBvyio7/0d4zFOeMPUmfxkCjHocCuoLa2SAGzBI8AREcH3eP3758F672DppA==", - "dependencies": { - "babel-messages": "^6.23.0", - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "detect-indent": "^4.0.0", - "jsesc": "^1.3.0", - "lodash": "^4.17.4", - "source-map": "^0.5.7", - "trim-right": "^1.0.1" - } - }, - "node_modules/babel-helper-bindify-decorators": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-bindify-decorators/-/babel-helper-bindify-decorators-6.24.1.tgz", - "integrity": "sha1-FMGeXxQte0fxmlJDHlKxzLxAozA=", - "dependencies": { - "babel-runtime": "^6.22.0", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" - } - }, - "node_modules/babel-helper-builder-binary-assignment-operator-visitor": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-builder-binary-assignment-operator-visitor/-/babel-helper-builder-binary-assignment-operator-visitor-6.24.1.tgz", - "integrity": "sha1-zORReto1b0IgvK6KAsKzRvmlZmQ=", - "dependencies": { - "babel-helper-explode-assignable-expression": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" - } - }, - "node_modules/babel-helper-call-delegate": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-call-delegate/-/babel-helper-call-delegate-6.24.1.tgz", - "integrity": "sha1-7Oaqzdx25Bw0YfiL/Fdb0Nqi340=", - "dependencies": { - "babel-helper-hoist-variables": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" - } - }, - "node_modules/babel-helper-define-map": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-helper-define-map/-/babel-helper-define-map-6.26.0.tgz", - "integrity": "sha1-pfVtq0GiX5fstJjH66ypgZ+Vvl8=", - "dependencies": { - "babel-helper-function-name": "^6.24.1", - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "lodash": "^4.17.4" - } - }, - "node_modules/babel-helper-explode-assignable-expression": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-explode-assignable-expression/-/babel-helper-explode-assignable-expression-6.24.1.tgz", - "integrity": "sha1-8luCz33BBDPFX3BZLVdGQArCLKo=", - "dependencies": { - "babel-runtime": "^6.22.0", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" - } - }, - "node_modules/babel-helper-explode-class": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-explode-class/-/babel-helper-explode-class-6.24.1.tgz", - "integrity": "sha1-fcKjkQ3uAHBW4eMdZAztPVTqqes=", - "dependencies": { - "babel-helper-bindify-decorators": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" - } - }, - "node_modules/babel-helper-function-name": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-function-name/-/babel-helper-function-name-6.24.1.tgz", - "integrity": "sha1-00dbjAPtmCQqJbSDUasYOZ01gKk=", - "dependencies": { - "babel-helper-get-function-arity": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" - } - }, - "node_modules/babel-helper-get-function-arity": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-get-function-arity/-/babel-helper-get-function-arity-6.24.1.tgz", - "integrity": "sha1-j3eCqpNAfEHTqlCQj4mwMbG2hT0=", - "dependencies": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" - } - }, - "node_modules/babel-helper-hoist-variables": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-hoist-variables/-/babel-helper-hoist-variables-6.24.1.tgz", - "integrity": "sha1-HssnaJydJVE+rbyZFKc/VAi+enY=", - "dependencies": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" - } - }, - "node_modules/babel-helper-optimise-call-expression": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz", - "integrity": "sha1-96E0J7qfc/j0+pk8VKl4gtEkQlc=", - "dependencies": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" - } - }, - "node_modules/babel-helper-regex": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-helper-regex/-/babel-helper-regex-6.26.0.tgz", - "integrity": "sha1-MlxZ+QL4LyS3T6zu0DY5VPZJXnI=", - "dependencies": { - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "lodash": "^4.17.4" - } - }, - "node_modules/babel-helper-remap-async-to-generator": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-remap-async-to-generator/-/babel-helper-remap-async-to-generator-6.24.1.tgz", - "integrity": "sha1-XsWBgnrXI/7N04HxySg5BnbkVRs=", - "dependencies": { - "babel-helper-function-name": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" - } - }, - "node_modules/babel-helper-replace-supers": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helper-replace-supers/-/babel-helper-replace-supers-6.24.1.tgz", - "integrity": "sha1-v22/5Dk40XNpohPKiov3S2qQqxo=", - "dependencies": { - "babel-helper-optimise-call-expression": "^6.24.1", - "babel-messages": "^6.23.0", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" - } - }, - "node_modules/babel-helpers": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-helpers/-/babel-helpers-6.24.1.tgz", - "integrity": "sha1-NHHenK7DiOXIUOWX5Yom3fN2ArI=", - "dependencies": { - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" - } - }, - "node_modules/babel-jest": { - "version": "23.6.0", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-23.6.0.tgz", - "integrity": "sha512-lqKGG6LYXYu+DQh/slrQ8nxXQkEkhugdXsU6St7GmhVS7Ilc/22ArwqXNJrf0QaOBjZB0360qZMwXqDYQHXaew==", - "dependencies": { - "babel-plugin-istanbul": "^4.1.6", - "babel-preset-jest": "^23.2.0" - }, - "peerDependencies": { - "babel-core": "^6.0.0 || ^7.0.0-0" - } - }, - "node_modules/babel-loader": { - "version": "8.0.4", - "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.0.4.tgz", - "integrity": "sha512-fhBhNkUToJcW9nV46v8w87AJOwAJDz84c1CL57n3Stj73FANM/b9TbCUK4YhdOwEyZ+OxhYpdeZDNzSI29Firw==", - "dependencies": { - "find-cache-dir": "^1.0.0", - "loader-utils": "^1.0.2", - "mkdirp": "^0.5.1", - "util.promisify": "^1.0.0" - }, - "engines": { - "node": ">= 6.9" - }, - "peerDependencies": { - "@babel/core": "^7.0.0", - "webpack": ">=2" - } - }, - "node_modules/babel-messages": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-messages/-/babel-messages-6.23.0.tgz", - "integrity": "sha1-8830cDhYA1sqKVHG7F7fbGLyYw4=", - "dependencies": { - "babel-runtime": "^6.22.0" - } - }, - "node_modules/babel-plugin-check-es2015-constants": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-check-es2015-constants/-/babel-plugin-check-es2015-constants-6.22.0.tgz", - "integrity": "sha1-NRV7EBQm/S/9PaP3XH0ekYNbv4o=", - "dependencies": { - "babel-runtime": "^6.22.0" - } - }, - "node_modules/babel-plugin-dynamic-import-node": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.3.3.tgz", - "integrity": "sha512-jZVI+s9Zg3IqA/kdi0i6UDCybUI3aSBLnglhYbSSjKlV7yF1F/5LWv8MakQmvYpnbJDS6fcBL2KzHSxNCMtWSQ==", - "dependencies": { - "object.assign": "^4.1.0" - } - }, - "node_modules/babel-plugin-istanbul": { - "version": "4.1.6", - "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-4.1.6.tgz", - "integrity": "sha512-PWP9FQ1AhZhS01T/4qLSKoHGY/xvkZdVBGlKM/HuxxS3+sC66HhTNR7+MpbO/so/cz/wY94MeSWJuP1hXIPfwQ==", - "dependencies": { - "babel-plugin-syntax-object-rest-spread": "^6.13.0", - "find-up": "^2.1.0", - "istanbul-lib-instrument": "^1.10.1", - "test-exclude": "^4.2.1" - } - }, - "node_modules/babel-plugin-jest-hoist": { - "version": "23.2.0", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-23.2.0.tgz", - "integrity": "sha1-5h+uBaHKiAGq3uV6bWa4zvr0QWc=" - }, - "node_modules/babel-plugin-macros": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/babel-plugin-macros/-/babel-plugin-macros-2.5.0.tgz", - "integrity": "sha512-BWw0lD0kVZAXRD3Od1kMrdmfudqzDzYv2qrN3l2ISR1HVp1EgLKfbOrYV9xmY5k3qx3RIu5uPAUZZZHpo0o5Iw==", - "dependencies": { - "cosmiconfig": "^5.0.5", - "resolve": "^1.8.1" - } - }, - "node_modules/babel-plugin-named-asset-import": { - "version": "0.3.7", - "resolved": "https://registry.npmjs.org/babel-plugin-named-asset-import/-/babel-plugin-named-asset-import-0.3.7.tgz", - "integrity": "sha512-squySRkf+6JGnvjoUtDEjSREJEBirnXi9NqP6rjSYsylxQxqBTz+pkmf395i9E2zsvmYUaI40BHo6SqZUdydlw==", - "peerDependencies": { - "@babel/core": "^7.1.0" - } - }, - "node_modules/babel-plugin-polyfill-corejs2": { - "version": "0.1.10", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs2/-/babel-plugin-polyfill-corejs2-0.1.10.tgz", - "integrity": "sha512-DO95wD4g0A8KRaHKi0D51NdGXzvpqVLnLu5BTvDlpqUEpTmeEtypgC1xqesORaWmiUOQI14UHKlzNd9iZ2G3ZA==", - "dependencies": { - "@babel/compat-data": "^7.13.0", - "@babel/helper-define-polyfill-provider": "^0.1.5", - "semver": "^6.1.1" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/babel-plugin-polyfill-corejs2/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/babel-plugin-polyfill-corejs3": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-corejs3/-/babel-plugin-polyfill-corejs3-0.1.7.tgz", - "integrity": "sha512-u+gbS9bbPhZWEeyy1oR/YaaSpod/KDT07arZHb80aTpl8H5ZBq+uN1nN9/xtX7jQyfLdPfoqI4Rue/MQSWJquw==", - "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.1.5", - "core-js-compat": "^3.8.1" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/babel-plugin-polyfill-regenerator": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/babel-plugin-polyfill-regenerator/-/babel-plugin-polyfill-regenerator-0.1.6.tgz", - "integrity": "sha512-OUrYG9iKPKz8NxswXbRAdSwF0GhRdIEMTloQATJi4bDuFqrXaXcCUT/VGNrr8pBcjMh1RxZ7Xt9cytVJTJfvMg==", - "dependencies": { - "@babel/helper-define-polyfill-provider": "^0.1.5" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/babel-plugin-syntax-async-functions": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz", - "integrity": "sha1-ytnK0RkbWtY0vzCuCHI5HgZHvpU=" - }, - "node_modules/babel-plugin-syntax-async-generators": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-async-generators/-/babel-plugin-syntax-async-generators-6.13.0.tgz", - "integrity": "sha1-a8lj67FuzLrmuStZbrfzXDQqi5o=" - }, - "node_modules/babel-plugin-syntax-class-properties": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz", - "integrity": "sha1-1+sjt5oxf4VDlixQW4J8fWysJ94=" - }, - "node_modules/babel-plugin-syntax-decorators": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-decorators/-/babel-plugin-syntax-decorators-6.13.0.tgz", - "integrity": "sha1-MSVjtNvePMgGzuPkFszurd0RrAs=" - }, - "node_modules/babel-plugin-syntax-dynamic-import": { - "version": "6.18.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz", - "integrity": "sha1-jWomIpyDdFqZgqRBBRVyyqF5sdo=" - }, - "node_modules/babel-plugin-syntax-exponentiation-operator": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-exponentiation-operator/-/babel-plugin-syntax-exponentiation-operator-6.13.0.tgz", - "integrity": "sha1-nufoM3KQ2pUoggGmpX9BcDF4MN4=" - }, - "node_modules/babel-plugin-syntax-object-rest-spread": { - "version": "6.13.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz", - "integrity": "sha1-/WU28rzhODb/o6VFjEkDpZe7O/U=" - }, - "node_modules/babel-plugin-syntax-trailing-function-commas": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz", - "integrity": "sha1-ugNgk3+NBuQBgKQ/4NVhb/9TLPM=" - }, - "node_modules/babel-plugin-transform-async-generator-functions": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-generator-functions/-/babel-plugin-transform-async-generator-functions-6.24.1.tgz", - "integrity": "sha1-8FiQAUX9PpkHpt3yjaWfIVJYpds=", - "dependencies": { - "babel-helper-remap-async-to-generator": "^6.24.1", - "babel-plugin-syntax-async-generators": "^6.5.0", - "babel-runtime": "^6.22.0" - } - }, - "node_modules/babel-plugin-transform-async-to-generator": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-async-to-generator/-/babel-plugin-transform-async-to-generator-6.24.1.tgz", - "integrity": "sha1-ZTbjeK/2yx1VF6wOQOs+n8jQh2E=", - "dependencies": { - "babel-helper-remap-async-to-generator": "^6.24.1", - "babel-plugin-syntax-async-functions": "^6.8.0", - "babel-runtime": "^6.22.0" - } - }, - "node_modules/babel-plugin-transform-class-properties": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz", - "integrity": "sha1-anl2PqYdM9NvN7YRqp3vgagbRqw=", - "dependencies": { - "babel-helper-function-name": "^6.24.1", - "babel-plugin-syntax-class-properties": "^6.8.0", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" - } - }, - "node_modules/babel-plugin-transform-decorators": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-decorators/-/babel-plugin-transform-decorators-6.24.1.tgz", - "integrity": "sha1-eIAT2PjGtSIr33s0Q5Df13Vp4k0=", - "dependencies": { - "babel-helper-explode-class": "^6.24.1", - "babel-plugin-syntax-decorators": "^6.13.0", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-types": "^6.24.1" - } - }, - "node_modules/babel-plugin-transform-es2015-arrow-functions": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz", - "integrity": "sha1-RSaSy3EdX3ncf4XkQM5BufJE0iE=", - "dependencies": { - "babel-runtime": "^6.22.0" - } - }, - "node_modules/babel-plugin-transform-es2015-block-scoped-functions": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoped-functions/-/babel-plugin-transform-es2015-block-scoped-functions-6.22.0.tgz", - "integrity": "sha1-u8UbSflk1wy42OC5ToICRs46YUE=", - "dependencies": { - "babel-runtime": "^6.22.0" - } - }, - "node_modules/babel-plugin-transform-es2015-block-scoping": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-block-scoping/-/babel-plugin-transform-es2015-block-scoping-6.26.0.tgz", - "integrity": "sha1-1w9SmcEwjQXBL0Y4E7CgnnOxiV8=", - "dependencies": { - "babel-runtime": "^6.26.0", - "babel-template": "^6.26.0", - "babel-traverse": "^6.26.0", - "babel-types": "^6.26.0", - "lodash": "^4.17.4" - } - }, - "node_modules/babel-plugin-transform-es2015-classes": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-classes/-/babel-plugin-transform-es2015-classes-6.24.1.tgz", - "integrity": "sha1-WkxYpQyclGHlZLSyo7+ryXolhNs=", - "dependencies": { - "babel-helper-define-map": "^6.24.1", - "babel-helper-function-name": "^6.24.1", - "babel-helper-optimise-call-expression": "^6.24.1", - "babel-helper-replace-supers": "^6.24.1", - "babel-messages": "^6.23.0", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" - } - }, - "node_modules/babel-plugin-transform-es2015-computed-properties": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-computed-properties/-/babel-plugin-transform-es2015-computed-properties-6.24.1.tgz", - "integrity": "sha1-b+Ko0WiV1WNPTNmZttNICjCBWbM=", - "dependencies": { - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" - } - }, - "node_modules/babel-plugin-transform-es2015-destructuring": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-destructuring/-/babel-plugin-transform-es2015-destructuring-6.23.0.tgz", - "integrity": "sha1-mXux8auWf2gtKwh2/jWNYOdlxW0=", - "dependencies": { - "babel-runtime": "^6.22.0" - } - }, - "node_modules/babel-plugin-transform-es2015-duplicate-keys": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-duplicate-keys/-/babel-plugin-transform-es2015-duplicate-keys-6.24.1.tgz", - "integrity": "sha1-c+s9MQypaePvnskcU3QabxV2Qj4=", - "dependencies": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" - } - }, - "node_modules/babel-plugin-transform-es2015-for-of": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-for-of/-/babel-plugin-transform-es2015-for-of-6.23.0.tgz", - "integrity": "sha1-9HyVsrYT3x0+zC/bdXNiPHUkhpE=", - "dependencies": { - "babel-runtime": "^6.22.0" - } - }, - "node_modules/babel-plugin-transform-es2015-function-name": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-function-name/-/babel-plugin-transform-es2015-function-name-6.24.1.tgz", - "integrity": "sha1-g0yJhTvDaxrw86TF26qU/Y6sqos=", - "dependencies": { - "babel-helper-function-name": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" - } - }, - "node_modules/babel-plugin-transform-es2015-literals": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-literals/-/babel-plugin-transform-es2015-literals-6.22.0.tgz", - "integrity": "sha1-T1SgLWzWbPkVKAAZox0xklN3yi4=", - "dependencies": { - "babel-runtime": "^6.22.0" - } - }, - "node_modules/babel-plugin-transform-es2015-modules-amd": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-amd/-/babel-plugin-transform-es2015-modules-amd-6.24.1.tgz", - "integrity": "sha1-Oz5UAXI5hC1tGcMBHEvS8AoA0VQ=", - "dependencies": { - "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" - } - }, - "node_modules/babel-plugin-transform-es2015-modules-commonjs": { - "version": "6.26.2", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-commonjs/-/babel-plugin-transform-es2015-modules-commonjs-6.26.2.tgz", - "integrity": "sha512-CV9ROOHEdrjcwhIaJNBGMBCodN+1cfkwtM1SbUHmvyy35KGT7fohbpOxkE2uLz1o6odKK2Ck/tz47z+VqQfi9Q==", - "dependencies": { - "babel-plugin-transform-strict-mode": "^6.24.1", - "babel-runtime": "^6.26.0", - "babel-template": "^6.26.0", - "babel-types": "^6.26.0" - } - }, - "node_modules/babel-plugin-transform-es2015-modules-systemjs": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-systemjs/-/babel-plugin-transform-es2015-modules-systemjs-6.24.1.tgz", - "integrity": "sha1-/4mhQrkRmpBhlfXxBuzzBdlAfSM=", - "dependencies": { - "babel-helper-hoist-variables": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" - } - }, - "node_modules/babel-plugin-transform-es2015-modules-umd": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-modules-umd/-/babel-plugin-transform-es2015-modules-umd-6.24.1.tgz", - "integrity": "sha1-rJl+YoXNGO1hdq22B9YCNErThGg=", - "dependencies": { - "babel-plugin-transform-es2015-modules-amd": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1" - } - }, - "node_modules/babel-plugin-transform-es2015-object-super": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-object-super/-/babel-plugin-transform-es2015-object-super-6.24.1.tgz", - "integrity": "sha1-JM72muIcuDp/hgPa0CH1cusnj40=", - "dependencies": { - "babel-helper-replace-supers": "^6.24.1", - "babel-runtime": "^6.22.0" - } - }, - "node_modules/babel-plugin-transform-es2015-parameters": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-parameters/-/babel-plugin-transform-es2015-parameters-6.24.1.tgz", - "integrity": "sha1-V6w1GrScrxSpfNE7CfZv3wpiXys=", - "dependencies": { - "babel-helper-call-delegate": "^6.24.1", - "babel-helper-get-function-arity": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-template": "^6.24.1", - "babel-traverse": "^6.24.1", - "babel-types": "^6.24.1" - } - }, - "node_modules/babel-plugin-transform-es2015-shorthand-properties": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-shorthand-properties/-/babel-plugin-transform-es2015-shorthand-properties-6.24.1.tgz", - "integrity": "sha1-JPh11nIch2YbvZmkYi5R8U3jiqA=", - "dependencies": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" - } - }, - "node_modules/babel-plugin-transform-es2015-spread": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-spread/-/babel-plugin-transform-es2015-spread-6.22.0.tgz", - "integrity": "sha1-1taKmfia7cRTbIGlQujdnxdG+NE=", - "dependencies": { - "babel-runtime": "^6.22.0" - } - }, - "node_modules/babel-plugin-transform-es2015-sticky-regex": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-sticky-regex/-/babel-plugin-transform-es2015-sticky-regex-6.24.1.tgz", - "integrity": "sha1-AMHNsaynERLN8M9hJsLta0V8zbw=", - "dependencies": { - "babel-helper-regex": "^6.24.1", - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" - } - }, - "node_modules/babel-plugin-transform-es2015-template-literals": { - "version": "6.22.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-template-literals/-/babel-plugin-transform-es2015-template-literals-6.22.0.tgz", - "integrity": "sha1-qEs0UPfp+PH2g51taH2oS7EjbY0=", - "dependencies": { - "babel-runtime": "^6.22.0" - } - }, - "node_modules/babel-plugin-transform-es2015-typeof-symbol": { - "version": "6.23.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-typeof-symbol/-/babel-plugin-transform-es2015-typeof-symbol-6.23.0.tgz", - "integrity": "sha1-3sCfHN3/lLUqxz1QXITfWdzOs3I=", - "dependencies": { - "babel-runtime": "^6.22.0" - } - }, - "node_modules/babel-plugin-transform-es2015-unicode-regex": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-es2015-unicode-regex/-/babel-plugin-transform-es2015-unicode-regex-6.24.1.tgz", - "integrity": "sha1-04sS9C6nMj9yk4fxinxa4frrNek=", - "dependencies": { - "babel-helper-regex": "^6.24.1", - "babel-runtime": "^6.22.0", - "regexpu-core": "^2.0.0" - } - }, - "node_modules/babel-plugin-transform-exponentiation-operator": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz", - "integrity": "sha1-KrDJx/MJj6SJB3cruBP+QejeOg4=", - "dependencies": { - "babel-helper-builder-binary-assignment-operator-visitor": "^6.24.1", - "babel-plugin-syntax-exponentiation-operator": "^6.8.0", - "babel-runtime": "^6.22.0" - } - }, - "node_modules/babel-plugin-transform-object-rest-spread": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.26.0.tgz", - "integrity": "sha1-DzZpLVD+9rfi1LOsFHgTepY7ewY=", - "dependencies": { - "babel-plugin-syntax-object-rest-spread": "^6.8.0", - "babel-runtime": "^6.26.0" - } - }, - "node_modules/babel-plugin-transform-react-remove-prop-types": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-react-remove-prop-types/-/babel-plugin-transform-react-remove-prop-types-0.4.24.tgz", - "integrity": "sha512-eqj0hVcJUR57/Ug2zE1Yswsw4LhuqqHhD+8v120T1cl3kjg76QwtyBrdIk4WVwK+lAhBJVYCd/v+4nc4y+8JsA==" - }, - "node_modules/babel-plugin-transform-regenerator": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-regenerator/-/babel-plugin-transform-regenerator-6.26.0.tgz", - "integrity": "sha1-4HA2lvveJ/Cj78rPi03KL3s6jy8=", - "dependencies": { - "regenerator-transform": "^0.10.0" - } - }, - "node_modules/babel-plugin-transform-strict-mode": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-plugin-transform-strict-mode/-/babel-plugin-transform-strict-mode-6.24.1.tgz", - "integrity": "sha1-1fr3qleKZbvlkc9e2uBKDGcCB1g=", - "dependencies": { - "babel-runtime": "^6.22.0", - "babel-types": "^6.24.1" - } - }, - "node_modules/babel-polyfill": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-polyfill/-/babel-polyfill-6.26.0.tgz", - "integrity": "sha1-N5k3q8Z9eJWXCtxiHyhM2WbPIVM=", - "dependencies": { - "babel-runtime": "^6.26.0", - "core-js": "^2.5.0", - "regenerator-runtime": "^0.10.5" - } - }, - "node_modules/babel-preset-env": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/babel-preset-env/-/babel-preset-env-1.7.0.tgz", - "integrity": "sha512-9OR2afuKDneX2/q2EurSftUYM0xGu4O2D9adAhVfADDhrYDaxXV0rBbevVYoY9n6nyX1PmQW/0jtpJvUNr9CHg==", - "dependencies": { - "babel-plugin-check-es2015-constants": "^6.22.0", - "babel-plugin-syntax-trailing-function-commas": "^6.22.0", - "babel-plugin-transform-async-to-generator": "^6.22.0", - "babel-plugin-transform-es2015-arrow-functions": "^6.22.0", - "babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0", - "babel-plugin-transform-es2015-block-scoping": "^6.23.0", - "babel-plugin-transform-es2015-classes": "^6.23.0", - "babel-plugin-transform-es2015-computed-properties": "^6.22.0", - "babel-plugin-transform-es2015-destructuring": "^6.23.0", - "babel-plugin-transform-es2015-duplicate-keys": "^6.22.0", - "babel-plugin-transform-es2015-for-of": "^6.23.0", - "babel-plugin-transform-es2015-function-name": "^6.22.0", - "babel-plugin-transform-es2015-literals": "^6.22.0", - "babel-plugin-transform-es2015-modules-amd": "^6.22.0", - "babel-plugin-transform-es2015-modules-commonjs": "^6.23.0", - "babel-plugin-transform-es2015-modules-systemjs": "^6.23.0", - "babel-plugin-transform-es2015-modules-umd": "^6.23.0", - "babel-plugin-transform-es2015-object-super": "^6.22.0", - "babel-plugin-transform-es2015-parameters": "^6.23.0", - "babel-plugin-transform-es2015-shorthand-properties": "^6.22.0", - "babel-plugin-transform-es2015-spread": "^6.22.0", - "babel-plugin-transform-es2015-sticky-regex": "^6.22.0", - "babel-plugin-transform-es2015-template-literals": "^6.22.0", - "babel-plugin-transform-es2015-typeof-symbol": "^6.23.0", - "babel-plugin-transform-es2015-unicode-regex": "^6.22.0", - "babel-plugin-transform-exponentiation-operator": "^6.22.0", - "babel-plugin-transform-regenerator": "^6.22.0", - "browserslist": "^3.2.6", - "invariant": "^2.2.2", - "semver": "^5.3.0" - } - }, - "node_modules/babel-preset-es2015": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-preset-es2015/-/babel-preset-es2015-6.24.1.tgz", - "integrity": "sha1-1EBQ1rwsn+6nAqrzjXJ6AhBTiTk=", - "deprecated": "🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!", - "dependencies": { - "babel-plugin-check-es2015-constants": "^6.22.0", - "babel-plugin-transform-es2015-arrow-functions": "^6.22.0", - "babel-plugin-transform-es2015-block-scoped-functions": "^6.22.0", - "babel-plugin-transform-es2015-block-scoping": "^6.24.1", - "babel-plugin-transform-es2015-classes": "^6.24.1", - "babel-plugin-transform-es2015-computed-properties": "^6.24.1", - "babel-plugin-transform-es2015-destructuring": "^6.22.0", - "babel-plugin-transform-es2015-duplicate-keys": "^6.24.1", - "babel-plugin-transform-es2015-for-of": "^6.22.0", - "babel-plugin-transform-es2015-function-name": "^6.24.1", - "babel-plugin-transform-es2015-literals": "^6.22.0", - "babel-plugin-transform-es2015-modules-amd": "^6.24.1", - "babel-plugin-transform-es2015-modules-commonjs": "^6.24.1", - "babel-plugin-transform-es2015-modules-systemjs": "^6.24.1", - "babel-plugin-transform-es2015-modules-umd": "^6.24.1", - "babel-plugin-transform-es2015-object-super": "^6.24.1", - "babel-plugin-transform-es2015-parameters": "^6.24.1", - "babel-plugin-transform-es2015-shorthand-properties": "^6.24.1", - "babel-plugin-transform-es2015-spread": "^6.22.0", - "babel-plugin-transform-es2015-sticky-regex": "^6.24.1", - "babel-plugin-transform-es2015-template-literals": "^6.22.0", - "babel-plugin-transform-es2015-typeof-symbol": "^6.22.0", - "babel-plugin-transform-es2015-unicode-regex": "^6.24.1", - "babel-plugin-transform-regenerator": "^6.24.1" - } - }, - "node_modules/babel-preset-jest": { - "version": "23.2.0", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-23.2.0.tgz", - "integrity": "sha1-jsegOhOPABoaj7HoETZSvxpV2kY=", - "dependencies": { - "babel-plugin-jest-hoist": "^23.2.0", - "babel-plugin-syntax-object-rest-spread": "^6.13.0" - } - }, - "node_modules/babel-preset-react-app": { - "version": "7.0.2", - "resolved": "https://registry.npmjs.org/babel-preset-react-app/-/babel-preset-react-app-7.0.2.tgz", - "integrity": "sha512-mwCk/u2wuiO8qQqblN5PlDa44taY0acq7hw6W+a70W522P7a9mIcdggL1fe5/LgAT7tqCq46q9wwhqaMoYKslQ==", - "dependencies": { - "@babel/core": "7.2.2", - "@babel/plugin-proposal-class-properties": "7.3.0", - "@babel/plugin-proposal-decorators": "7.3.0", - "@babel/plugin-proposal-object-rest-spread": "7.3.2", - "@babel/plugin-syntax-dynamic-import": "7.2.0", - "@babel/plugin-transform-classes": "7.2.2", - "@babel/plugin-transform-destructuring": "7.3.2", - "@babel/plugin-transform-flow-strip-types": "7.2.3", - "@babel/plugin-transform-react-constant-elements": "7.2.0", - "@babel/plugin-transform-react-display-name": "7.2.0", - "@babel/plugin-transform-runtime": "7.2.0", - "@babel/preset-env": "7.3.1", - "@babel/preset-react": "7.0.0", - "@babel/preset-typescript": "7.1.0", - "@babel/runtime": "7.3.1", - "babel-loader": "8.0.5", - "babel-plugin-dynamic-import-node": "2.2.0", - "babel-plugin-macros": "2.5.0", - "babel-plugin-transform-react-remove-prop-types": "0.4.24" - } - }, - "node_modules/babel-preset-react-app/node_modules/@babel/core": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.2.2.tgz", - "integrity": "sha512-59vB0RWt09cAct5EIe58+NzGP4TFSD3Bz//2/ELy3ZeTeKF6VTD1AXlH8BGGbCX0PuobZBsIzO7IAI9PH67eKw==", - "dependencies": { - "@babel/code-frame": "^7.0.0", - "@babel/generator": "^7.2.2", - "@babel/helpers": "^7.2.0", - "@babel/parser": "^7.2.2", - "@babel/template": "^7.2.2", - "@babel/traverse": "^7.2.2", - "@babel/types": "^7.2.2", - "convert-source-map": "^1.1.0", - "debug": "^4.1.0", - "json5": "^2.1.0", - "lodash": "^4.17.10", - "resolve": "^1.3.2", - "semver": "^5.4.1", - "source-map": "^0.5.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/babel-preset-react-app/node_modules/@babel/plugin-proposal-class-properties": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-class-properties/-/plugin-proposal-class-properties-7.3.0.tgz", - "integrity": "sha512-wNHxLkEKTQ2ay0tnsam2z7fGZUi+05ziDJflEt3AZTP3oXLKHJp9HqhfroB/vdMvt3sda9fAbq7FsG8QPDrZBg==", - "dependencies": { - "@babel/helper-create-class-features-plugin": "^7.3.0", - "@babel/helper-plugin-utils": "^7.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/babel-preset-react-app/node_modules/@babel/plugin-proposal-object-rest-spread": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/@babel/plugin-proposal-object-rest-spread/-/plugin-proposal-object-rest-spread-7.3.2.tgz", - "integrity": "sha512-DjeMS+J2+lpANkYLLO+m6GjoTMygYglKmRe6cDTbFv3L9i6mmiE8fe6B8MtCSLZpVXscD5kn7s6SgtHrDoBWoA==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-syntax-object-rest-spread": "^7.2.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/babel-preset-react-app/node_modules/@babel/plugin-syntax-dynamic-import": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-dynamic-import/-/plugin-syntax-dynamic-import-7.2.0.tgz", - "integrity": "sha512-mVxuJ0YroI/h/tbFTPGZR8cv6ai+STMKNBq0f8hFxsxWjl94qqhsb+wXbpNMDPU3cfR1TIsVFzU3nXyZMqyK4w==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/babel-preset-react-app/node_modules/@babel/plugin-transform-classes": { - "version": "7.2.2", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-classes/-/plugin-transform-classes-7.2.2.tgz", - "integrity": "sha512-gEZvgTy1VtcDOaQty1l10T3jQmJKlNVxLDCs+3rCVPr6nMkODLELxViq5X9l+rfxbie3XrfrMCYYY6eX3aOcOQ==", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.0.0", - "@babel/helper-define-map": "^7.1.0", - "@babel/helper-function-name": "^7.1.0", - "@babel/helper-optimise-call-expression": "^7.0.0", - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/helper-replace-supers": "^7.1.0", - "@babel/helper-split-export-declaration": "^7.0.0", - "globals": "^11.1.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/babel-preset-react-app/node_modules/@babel/plugin-transform-destructuring": { - "version": "7.3.2", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-destructuring/-/plugin-transform-destructuring-7.3.2.tgz", - "integrity": "sha512-Lrj/u53Ufqxl/sGxyjsJ2XNtNuEjDyjpqdhMNh5aZ+XFOdThL46KBj27Uem4ggoezSYBxKWAil6Hu8HtwqesYw==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/babel-preset-react-app/node_modules/@babel/plugin-transform-react-constant-elements": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-constant-elements/-/plugin-transform-react-constant-elements-7.2.0.tgz", - "integrity": "sha512-YYQFg6giRFMsZPKUM9v+VcHOdfSQdz9jHCx3akAi3UYgyjndmdYGSXylQ/V+HswQt4fL8IklchD9HTsaOCrWQQ==", - "dependencies": { - "@babel/helper-annotate-as-pure": "^7.0.0", - "@babel/helper-plugin-utils": "^7.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/babel-preset-react-app/node_modules/@babel/plugin-transform-react-display-name": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-transform-react-display-name/-/plugin-transform-react-display-name-7.2.0.tgz", - "integrity": "sha512-Htf/tPa5haZvRMiNSQSFifK12gtr/8vwfr+A9y69uF0QcU77AVu4K7MiHEkTxF7lQoHOL0F9ErqgfNEAKgXj7A==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/babel-preset-react-app/node_modules/@babel/preset-env": { - "version": "7.3.1", - "resolved": "https://registry.npmjs.org/@babel/preset-env/-/preset-env-7.3.1.tgz", - "integrity": "sha512-FHKrD6Dxf30e8xgHQO0zJZpUPfVZg+Xwgz5/RdSWCbza9QLNk4Qbp40ctRoqDxml3O8RMzB1DU55SXeDG6PqHQ==", - "dependencies": { - "@babel/helper-module-imports": "^7.0.0", - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-proposal-async-generator-functions": "^7.2.0", - "@babel/plugin-proposal-json-strings": "^7.2.0", - "@babel/plugin-proposal-object-rest-spread": "^7.3.1", - "@babel/plugin-proposal-optional-catch-binding": "^7.2.0", - "@babel/plugin-proposal-unicode-property-regex": "^7.2.0", - "@babel/plugin-syntax-async-generators": "^7.2.0", - "@babel/plugin-syntax-json-strings": "^7.2.0", - "@babel/plugin-syntax-object-rest-spread": "^7.2.0", - "@babel/plugin-syntax-optional-catch-binding": "^7.2.0", - "@babel/plugin-transform-arrow-functions": "^7.2.0", - "@babel/plugin-transform-async-to-generator": "^7.2.0", - "@babel/plugin-transform-block-scoped-functions": "^7.2.0", - "@babel/plugin-transform-block-scoping": "^7.2.0", - "@babel/plugin-transform-classes": "^7.2.0", - "@babel/plugin-transform-computed-properties": "^7.2.0", - "@babel/plugin-transform-destructuring": "^7.2.0", - "@babel/plugin-transform-dotall-regex": "^7.2.0", - "@babel/plugin-transform-duplicate-keys": "^7.2.0", - "@babel/plugin-transform-exponentiation-operator": "^7.2.0", - "@babel/plugin-transform-for-of": "^7.2.0", - "@babel/plugin-transform-function-name": "^7.2.0", - "@babel/plugin-transform-literals": "^7.2.0", - "@babel/plugin-transform-modules-amd": "^7.2.0", - "@babel/plugin-transform-modules-commonjs": "^7.2.0", - "@babel/plugin-transform-modules-systemjs": "^7.2.0", - "@babel/plugin-transform-modules-umd": "^7.2.0", - "@babel/plugin-transform-named-capturing-groups-regex": "^7.3.0", - "@babel/plugin-transform-new-target": "^7.0.0", - "@babel/plugin-transform-object-super": "^7.2.0", - "@babel/plugin-transform-parameters": "^7.2.0", - "@babel/plugin-transform-regenerator": "^7.0.0", - "@babel/plugin-transform-shorthand-properties": "^7.2.0", - "@babel/plugin-transform-spread": "^7.2.0", - "@babel/plugin-transform-sticky-regex": "^7.2.0", - "@babel/plugin-transform-template-literals": "^7.2.0", - "@babel/plugin-transform-typeof-symbol": "^7.2.0", - "@babel/plugin-transform-unicode-regex": "^7.2.0", - "browserslist": "^4.3.4", - "invariant": "^2.2.2", - "js-levenshtein": "^1.1.3", - "semver": "^5.3.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/babel-preset-react-app/node_modules/@babel/preset-react": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@babel/preset-react/-/preset-react-7.0.0.tgz", - "integrity": "sha512-oayxyPS4Zj+hF6Et11BwuBkmpgT/zMxyuZgFrMeZID6Hdh3dGlk4sHCAhdBCpuCKW2ppBfl2uCCetlrUIJRY3w==", - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@babel/plugin-transform-react-display-name": "^7.0.0", - "@babel/plugin-transform-react-jsx": "^7.0.0", - "@babel/plugin-transform-react-jsx-self": "^7.0.0", - "@babel/plugin-transform-react-jsx-source": "^7.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/babel-preset-react-app/node_modules/@babel/runtime": { - "version": "7.3.1", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.3.1.tgz", - "integrity": "sha512-7jGW8ppV0ant637pIqAcFfQDDH1orEPGJb8aXfUozuCU3QqX7rX4DA8iwrbPrR1hcH0FTTHz47yQnk+bl5xHQA==", - "dependencies": { - "regenerator-runtime": "^0.12.0" - } - }, - "node_modules/babel-preset-react-app/node_modules/babel-loader": { - "version": "8.0.5", - "resolved": "https://registry.npmjs.org/babel-loader/-/babel-loader-8.0.5.tgz", - "integrity": "sha512-NTnHnVRd2JnRqPC0vW+iOQWU5pchDbYXsG2E6DMXEpMfUcQKclF9gmf3G3ZMhzG7IG9ji4coL0cm+FxeWxDpnw==", - "dependencies": { - "find-cache-dir": "^2.0.0", - "loader-utils": "^1.0.2", - "mkdirp": "^0.5.1", - "util.promisify": "^1.0.0" - }, - "engines": { - "node": ">= 6.9" - }, - "peerDependencies": { - "@babel/core": "^7.0.0", - "webpack": ">=2" - } - }, - "node_modules/babel-preset-react-app/node_modules/babel-plugin-dynamic-import-node": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/babel-plugin-dynamic-import-node/-/babel-plugin-dynamic-import-node-2.2.0.tgz", - "integrity": "sha512-fP899ELUnTaBcIzmrW7nniyqqdYWrWuJUyPWHxFa/c7r7hS6KC8FscNfLlBNIoPSc55kYMGEEKjPjJGCLbE1qA==", - "dependencies": { - "object.assign": "^4.1.0" - } - }, - "node_modules/babel-preset-react-app/node_modules/browserslist": { - "version": "4.16.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.3.tgz", - "integrity": "sha512-vIyhWmIkULaq04Gt93txdh+j02yX/JzlyhLYbV3YQCn/zvES3JnY7TifHHvvr1w5hTDluNKMkV05cs4vy8Q7sw==", - "dependencies": { - "caniuse-lite": "^1.0.30001181", - "colorette": "^1.2.1", - "electron-to-chromium": "^1.3.649", - "escalade": "^3.1.1", - "node-releases": "^1.1.70" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } - }, - "node_modules/babel-preset-react-app/node_modules/debug": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", - "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/babel-preset-react-app/node_modules/find-cache-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", - "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^2.0.0", - "pkg-dir": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/babel-preset-react-app/node_modules/find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dependencies": { - "locate-path": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/babel-preset-react-app/node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "engines": { - "node": ">=4" - } - }, - "node_modules/babel-preset-react-app/node_modules/json5": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", - "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", - "dependencies": { - "minimist": "^1.2.5" - }, - "bin": { - "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/babel-preset-react-app/node_modules/locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dependencies": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/babel-preset-react-app/node_modules/make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", - "dependencies": { - "pify": "^4.0.1", - "semver": "^5.6.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/babel-preset-react-app/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/babel-preset-react-app/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/babel-preset-react-app/node_modules/p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dependencies": { - "p-limit": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/babel-preset-react-app/node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/babel-preset-react-app/node_modules/pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", - "engines": { - "node": ">=6" - } - }, - "node_modules/babel-preset-react-app/node_modules/pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "dependencies": { - "find-up": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/babel-preset-react-app/node_modules/regenerator-runtime": { - "version": "0.12.1", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz", - "integrity": "sha512-odxIc1/vDlo4iZcfXqRYFj0vpXFNoGdKMAUieAlFYO6m/nl5e9KR/beGf41z4a1FI+aQgtjhuaSlDxQ0hmkrHg==" - }, - "node_modules/babel-preset-stage-2": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-preset-stage-2/-/babel-preset-stage-2-6.24.1.tgz", - "integrity": "sha1-2eKWD7PXEYfw5k7sYrwHdnIZvcE=", - "dependencies": { - "babel-plugin-syntax-dynamic-import": "^6.18.0", - "babel-plugin-transform-class-properties": "^6.24.1", - "babel-plugin-transform-decorators": "^6.24.1", - "babel-preset-stage-3": "^6.24.1" - } - }, - "node_modules/babel-preset-stage-3": { - "version": "6.24.1", - "resolved": "https://registry.npmjs.org/babel-preset-stage-3/-/babel-preset-stage-3-6.24.1.tgz", - "integrity": "sha1-g2raCp56f6N8sTj7kyb4eTSkg5U=", - "dependencies": { - "babel-plugin-syntax-trailing-function-commas": "^6.22.0", - "babel-plugin-transform-async-generator-functions": "^6.24.1", - "babel-plugin-transform-async-to-generator": "^6.24.1", - "babel-plugin-transform-exponentiation-operator": "^6.24.1", - "babel-plugin-transform-object-rest-spread": "^6.22.0" - } - }, - "node_modules/babel-register": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-register/-/babel-register-6.26.0.tgz", - "integrity": "sha1-btAhFz4vy0htestFxgCahW9kcHE=", - "dependencies": { - "babel-core": "^6.26.0", - "babel-runtime": "^6.26.0", - "core-js": "^2.5.0", - "home-or-tmp": "^2.0.0", - "lodash": "^4.17.4", - "mkdirp": "^0.5.1", - "source-map-support": "^0.4.15" - } - }, - "node_modules/babel-runtime": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-runtime/-/babel-runtime-6.26.0.tgz", - "integrity": "sha1-llxwWGaOgrVde/4E/yM3vItWR/4=", - "dependencies": { - "core-js": "^2.4.0", - "regenerator-runtime": "^0.11.0" - } - }, - "node_modules/babel-runtime/node_modules/regenerator-runtime": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz", - "integrity": "sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==" - }, - "node_modules/babel-template": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-template/-/babel-template-6.26.0.tgz", - "integrity": "sha1-3gPi0WOWsGn0bdn/+FIfsaDjXgI=", - "dependencies": { - "babel-runtime": "^6.26.0", - "babel-traverse": "^6.26.0", - "babel-types": "^6.26.0", - "babylon": "^6.18.0", - "lodash": "^4.17.4" - } - }, - "node_modules/babel-traverse": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-traverse/-/babel-traverse-6.26.0.tgz", - "integrity": "sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4=", - "dependencies": { - "babel-code-frame": "^6.26.0", - "babel-messages": "^6.23.0", - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "babylon": "^6.18.0", - "debug": "^2.6.8", - "globals": "^9.18.0", - "invariant": "^2.2.2", - "lodash": "^4.17.4" - } - }, - "node_modules/babel-types": { - "version": "6.26.0", - "resolved": "https://registry.npmjs.org/babel-types/-/babel-types-6.26.0.tgz", - "integrity": "sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc=", - "dependencies": { - "babel-runtime": "^6.26.0", - "esutils": "^2.0.2", - "lodash": "^4.17.4", - "to-fast-properties": "^1.0.3" - } - }, - "node_modules/babylon": { - "version": "6.18.0", - "resolved": "https://registry.npmjs.org/babylon/-/babylon-6.18.0.tgz", - "integrity": "sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ==", - "bin": { - "babylon": "bin/babylon.js" - } - }, - "node_modules/balanced-match": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", - "integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c=" - }, - "node_modules/base": { - "version": "0.11.2", - "resolved": "https://registry.npmjs.org/base/-/base-0.11.2.tgz", - "integrity": "sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==", - "dependencies": { - "cache-base": "^1.0.1", - "class-utils": "^0.3.5", - "component-emitter": "^1.2.1", - "define-property": "^1.0.0", - "isobject": "^3.0.1", - "mixin-deep": "^1.2.0", - "pascalcase": "^0.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/base-x": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/base-x/-/base-x-3.0.8.tgz", - "integrity": "sha512-Rl/1AWP4J/zRrk54hhlxH4drNxPJXYUaKffODVI53/dAsV4t9fBxyxYKAVPU1XBHxYwOWP9h9H0hM2MVw4YfJA==", - "dependencies": { - "safe-buffer": "^5.0.1" - } - }, - "node_modules/base/node_modules/define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dependencies": { - "is-descriptor": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/base64-js": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz", - "integrity": "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==", - "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/batch": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz", - "integrity": "sha1-3DQxT05nkxgJP8dgJyUl+UvyXBY=" - }, - "node_modules/bcrypt-pbkdf": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.2.tgz", - "integrity": "sha1-pDAdOJtqQ/m2f/PKEaP2Y342Dp4=", - "dependencies": { - "tweetnacl": "^0.14.3" - } - }, - "node_modules/bfj": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/bfj/-/bfj-6.1.1.tgz", - "integrity": "sha512-+GUNvzHR4nRyGybQc2WpNJL4MJazMuvf92ueIyA0bIkPRwhhQu3IfZQ2PSoVPpCBJfmoSdOxu5rnotfFLlvYRQ==", - "dependencies": { - "bluebird": "^3.5.1", - "check-types": "^7.3.0", - "hoopy": "^0.1.2", - "tryer": "^1.0.0" - }, - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/big.js": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz", - "integrity": "sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==", - "engines": { - "node": "*" - } - }, - "node_modules/bignumber.js": { - "version": "9.0.1", - "resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.1.tgz", - "integrity": "sha512-IdZR9mh6ahOBv/hYGiXyVuyCetmGJhtYkqLBpTStdhEGjegpPlUawydyaF3pbIOFynJTpllEs+NP+CS9jKFLjA==", - "engines": { - "node": "*" - } - }, - "node_modules/binary-extensions": { - "version": "1.13.1", - "resolved": "https://registry.npmjs.org/binary-extensions/-/binary-extensions-1.13.1.tgz", - "integrity": "sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/bindings": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz", - "integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==", - "dependencies": { - "file-uri-to-path": "1.0.0" - } - }, - "node_modules/bl": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/bl/-/bl-4.1.0.tgz", - "integrity": "sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==", - "dependencies": { - "buffer": "^5.5.0", - "inherits": "^2.0.4", - "readable-stream": "^3.4.0" - } - }, - "node_modules/bl/node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "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": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "node_modules/blakejs": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/blakejs/-/blakejs-1.1.0.tgz", - "integrity": "sha1-ad+S75U6qIylGjLfarHFShVfx6U=" - }, - "node_modules/blob-to-it": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/blob-to-it/-/blob-to-it-1.0.2.tgz", - "integrity": "sha512-yD8tikfTlUGEOSHExz4vDCIQFLaBPXIL0KcxGQt9RbwMVXBEh+jokdJyStvTXPgWrdKfwgk7RX8GPsgrYzsyng==", - "dependencies": { - "browser-readablestream-to-it": "^1.0.2" - } - }, - "node_modules/bluebird": { - "version": "3.7.2", - "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", - "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==" - }, - "node_modules/bn.js": { - "version": "4.12.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.12.0.tgz", - "integrity": "sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==" - }, - "node_modules/body-parser": { - "version": "1.19.0", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.19.0.tgz", - "integrity": "sha512-dhEPs72UPbDnAQJ9ZKMNTP6ptJaionhP5cBb541nXPlW60Jepo9RV/a4fX4XWW9CuFNK22krhrj1+rgzifNCsw==", - "dependencies": { - "bytes": "3.1.0", - "content-type": "~1.0.4", - "debug": "2.6.9", - "depd": "~1.1.2", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "on-finished": "~2.3.0", - "qs": "6.7.0", - "raw-body": "2.4.0", - "type-is": "~1.6.17" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/body-parser/node_modules/bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/body-parser/node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/body-parser/node_modules/qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/bonjour": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/bonjour/-/bonjour-3.5.0.tgz", - "integrity": "sha1-jokKGD2O6aI5OzhExpGkK897yfU=", - "dependencies": { - "array-flatten": "^2.1.0", - "deep-equal": "^1.0.1", - "dns-equal": "^1.0.0", - "dns-txt": "^2.0.2", - "multicast-dns": "^6.0.1", - "multicast-dns-service-types": "^1.1.0" - } - }, - "node_modules/boolbase": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz", - "integrity": "sha1-aN/1++YMUes3cl6p4+0xDcwed24=" - }, - "node_modules/bootstrap": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/bootstrap/-/bootstrap-4.3.1.tgz", - "integrity": "sha512-rXqOmH1VilAt2DyPzluTi2blhk17bO7ef+zLLPlWvG494pDxcM234pJ8wTc/6R40UWizAIIMgxjvxZg5kmsbag==", - "engines": { - "node": ">=6" - }, - "peerDependencies": { - "jquery": "1.9.1 - 3", - "popper.js": "^1.14.7" - } - }, - "node_modules/borc": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/borc/-/borc-2.1.2.tgz", - "integrity": "sha512-Sy9eoUi4OiKzq7VovMn246iTo17kzuyHJKomCfpWMlI6RpfN1gk95w7d7gH264nApVLg0HZfcpz62/g4VH1Y4w==", - "dependencies": { - "bignumber.js": "^9.0.0", - "buffer": "^5.5.0", - "commander": "^2.15.0", - "ieee754": "^1.1.13", - "iso-url": "~0.4.7", - "json-text-sequence": "~0.1.0", - "readable-stream": "^3.6.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/borc/node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "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": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "node_modules/borc/node_modules/iso-url": { - "version": "0.4.7", - "resolved": "https://registry.npmjs.org/iso-url/-/iso-url-0.4.7.tgz", - "integrity": "sha512-27fFRDnPAMnHGLq36bWTpKET+eiXct3ENlCcdcMdk+mjXrb2kw3mhBUg1B7ewAC0kVzlOPhADzQgz1SE6Tglog==", - "engines": { - "node": ">=10" - } - }, - "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": "2.3.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-2.3.2.tgz", - "integrity": "sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==", - "dependencies": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/brorand": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/brorand/-/brorand-1.1.0.tgz", - "integrity": "sha1-EsJe/kCkXjwyPrhnWgoM5XsiNx8=" - }, - "node_modules/browser-process-hrtime": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz", - "integrity": "sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==" - }, - "node_modules/browser-readablestream-to-it": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/browser-readablestream-to-it/-/browser-readablestream-to-it-1.0.2.tgz", - "integrity": "sha512-lv4M2Z6RKJpyJijJzBQL5MNssS7i8yedl+QkhnLCyPtgNGNSXv1KthzUnye9NlRAtBAI80X6S9i+vK09Rzjcvg==" - }, - "node_modules/browser-resolve": { - "version": "1.11.3", - "resolved": "https://registry.npmjs.org/browser-resolve/-/browser-resolve-1.11.3.tgz", - "integrity": "sha512-exDi1BYWB/6raKHmDTCicQfTkqwN5fioMFV4j8BsfMU4R2DK/QfZfK7kOVkmWCNANf0snkBzqGqAJBao9gZMdQ==", - "dependencies": { - "resolve": "1.1.7" - } - }, - "node_modules/browser-resolve/node_modules/resolve": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.1.7.tgz", - "integrity": "sha1-IDEU2CrSxe2ejgQRs5ModeiJ6Xs=" - }, - "node_modules/browser-stdout": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/browser-stdout/-/browser-stdout-1.3.0.tgz", - "integrity": "sha1-81HTKWnTL6XXpVZxVCY9korjvR8=" - }, - "node_modules/browserify-aes": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/browserify-aes/-/browserify-aes-1.2.0.tgz", - "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" - } - }, - "node_modules/browserify-cipher": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/browserify-cipher/-/browserify-cipher-1.0.1.tgz", - "integrity": "sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==", - "dependencies": { - "browserify-aes": "^1.0.4", - "browserify-des": "^1.0.0", - "evp_bytestokey": "^1.0.0" - } - }, - "node_modules/browserify-des": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/browserify-des/-/browserify-des-1.0.2.tgz", - "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" - } - }, - "node_modules/browserify-rsa": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/browserify-rsa/-/browserify-rsa-4.1.0.tgz", - "integrity": "sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==", - "dependencies": { - "bn.js": "^5.0.0", - "randombytes": "^2.0.1" - } - }, - "node_modules/browserify-rsa/node_modules/bn.js": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", - "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" - }, - "node_modules/browserify-sign": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/browserify-sign/-/browserify-sign-4.2.1.tgz", - "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" - } - }, - "node_modules/browserify-sign/node_modules/bn.js": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-5.2.0.tgz", - "integrity": "sha512-D7iWRBvnZE8ecXiLj/9wbxH7Tk79fAh8IHaTNq1RWRixsS02W+5qS+iE9yq6RYl0asXx5tw0bLhmT5pIfbSquw==" - }, - "node_modules/browserify-sign/node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "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/browserify-zlib": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/browserify-zlib/-/browserify-zlib-0.2.0.tgz", - "integrity": "sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==", - "dependencies": { - "pako": "~1.0.5" - } - }, - "node_modules/browserslist": { - "version": "3.2.8", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-3.2.8.tgz", - "integrity": "sha512-WHVocJYavUwVgVViC0ORikPHQquXwVh939TaelZ4WDqpWgTX/FsGhl/+P4qBUAGcRvtOgDgC+xftNWWp2RUTAQ==", - "dependencies": { - "caniuse-lite": "^1.0.30000844", - "electron-to-chromium": "^1.3.47" - }, - "bin": { - "browserslist": "cli.js" - } - }, - "node_modules/bs58": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/bs58/-/bs58-4.0.1.tgz", - "integrity": "sha1-vhYedsNU9veIrkBx9j806MTwpCo=", - "dependencies": { - "base-x": "^3.0.2" - } - }, - "node_modules/bs58check": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/bs58check/-/bs58check-2.1.2.tgz", - "integrity": "sha512-0TS1jicxdU09dwJMNZtVAfzPi6Q6QeN0pM1Fkzrjn+XYHvzMKPU3pHVpva+769iNVSfIYWf7LJ6WR+BuuMf8cA==", - "dependencies": { - "bs58": "^4.0.0", - "create-hash": "^1.1.0", - "safe-buffer": "^5.1.2" - } - }, - "node_modules/bser": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", - "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", - "dependencies": { - "node-int64": "^0.4.0" - } - }, - "node_modules/buffer": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-6.0.3.tgz", - "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", - "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": { - "base64-js": "^1.3.1", - "ieee754": "^1.2.1" - } - }, - "node_modules/buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==" - }, - "node_modules/buffer-indexof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-indexof/-/buffer-indexof-1.1.1.tgz", - "integrity": "sha512-4/rOEg86jivtPTeOUUT61jJO1Ya1TrR/OkqCSZDyq84WJh3LuuiphBYJN+fm5xufIk4XAFcEwte/8WzC8If/1g==" - }, - "node_modules/buffer-to-arraybuffer": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/buffer-to-arraybuffer/-/buffer-to-arraybuffer-0.0.5.tgz", - "integrity": "sha1-YGSkD6dutDxyOrqe+PbhIW0QURo=" - }, - "node_modules/buffer-xor": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/buffer-xor/-/buffer-xor-1.0.3.tgz", - "integrity": "sha1-JuYe0UIvtw3ULm42cp7VHYVf6Nk=" - }, - "node_modules/bufferutil": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/bufferutil/-/bufferutil-4.0.3.tgz", - "integrity": "sha512-yEYTwGndELGvfXsImMBLop58eaGW+YdONi1fNjTINSY98tmMmFijBG6WXgdkfuLNt4imzQNtIE+eBp1PVpMCSw==", - "hasInstallScript": true, - "dependencies": { - "node-gyp-build": "^4.2.0" - } - }, - "node_modules/builtin-status-codes": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/builtin-status-codes/-/builtin-status-codes-3.0.0.tgz", - "integrity": "sha1-hZgoeOIbmOHGZCXgPQF0eI9Wnug=" - }, - "node_modules/bytes": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.0.0.tgz", - "integrity": "sha1-0ygVQE1olpn4Wk6k+odV3ROpYEg=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/cacache": { - "version": "11.3.3", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-11.3.3.tgz", - "integrity": "sha512-p8WcneCytvzPxhDvYp31PD039vi77I12W+/KfR9S8AZbaiARFBCpsPJS+9uhWfeBfeAtW7o/4vt3MUqLkbY6nA==", - "dependencies": { - "bluebird": "^3.5.5", - "chownr": "^1.1.1", - "figgy-pudding": "^3.5.1", - "glob": "^7.1.4", - "graceful-fs": "^4.1.15", - "lru-cache": "^5.1.1", - "mississippi": "^3.0.0", - "mkdirp": "^0.5.1", - "move-concurrently": "^1.0.1", - "promise-inflight": "^1.0.1", - "rimraf": "^2.6.3", - "ssri": "^6.0.1", - "unique-filename": "^1.1.1", - "y18n": "^4.0.0" - } - }, - "node_modules/cache-base": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/cache-base/-/cache-base-1.0.1.tgz", - "integrity": "sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==", - "dependencies": { - "collection-visit": "^1.0.0", - "component-emitter": "^1.2.1", - "get-value": "^2.0.6", - "has-value": "^1.0.0", - "isobject": "^3.0.1", - "set-value": "^2.0.0", - "to-object-path": "^0.3.0", - "union-value": "^1.0.0", - "unset-value": "^1.0.0" - }, - "engines": { - "node": ">=0.10.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/call-me-maybe": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.1.tgz", - "integrity": "sha1-JtII6onje1y95gJQoV8DHBak1ms=" - }, - "node_modules/caller-callsite": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/caller-callsite/-/caller-callsite-2.0.0.tgz", - "integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=", - "dependencies": { - "callsites": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/caller-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-2.0.0.tgz", - "integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=", - "dependencies": { - "caller-callsite": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/callsites": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-2.0.0.tgz", - "integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA=", - "engines": { - "node": ">=4" - } - }, - "node_modules/camel-case": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/camel-case/-/camel-case-3.0.0.tgz", - "integrity": "sha1-yjw2iKTpzzpM2nd9xNy8cTJJz3M=", - "dependencies": { - "no-case": "^2.2.0", - "upper-case": "^1.1.1" - } - }, - "node_modules/camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/caniuse-api": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/caniuse-api/-/caniuse-api-3.0.0.tgz", - "integrity": "sha512-bsTwuIg/BZZK/vreVTYYbSWoe2F+71P7K5QGEX+pT250DZbfU1MQ5prOKpPR+LL6uWKK3KMwMCAS74QB3Um1uw==", - "dependencies": { - "browserslist": "^4.0.0", - "caniuse-lite": "^1.0.0", - "lodash.memoize": "^4.1.2", - "lodash.uniq": "^4.5.0" - } - }, - "node_modules/caniuse-api/node_modules/browserslist": { - "version": "4.16.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.3.tgz", - "integrity": "sha512-vIyhWmIkULaq04Gt93txdh+j02yX/JzlyhLYbV3YQCn/zvES3JnY7TifHHvvr1w5hTDluNKMkV05cs4vy8Q7sw==", - "dependencies": { - "caniuse-lite": "^1.0.30001181", - "colorette": "^1.2.1", - "electron-to-chromium": "^1.3.649", - "escalade": "^3.1.1", - "node-releases": "^1.1.70" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } - }, - "node_modules/caniuse-lite": { - "version": "1.0.30001199", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001199.tgz", - "integrity": "sha512-ifbK2eChUCFUwGhlEzIoVwzFt1+iriSjyKKFYNfv6hN34483wyWpLLavYQXhnR036LhkdUYaSDpHg1El++VgHQ==" - }, - "node_modules/capture-exit": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/capture-exit/-/capture-exit-1.2.0.tgz", - "integrity": "sha1-HF/MSJ/QqwDU8ax64QcuMXP7q28=", - "dependencies": { - "rsvp": "^3.3.3" - } - }, - "node_modules/case-sensitive-paths-webpack-plugin": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/case-sensitive-paths-webpack-plugin/-/case-sensitive-paths-webpack-plugin-2.1.2.tgz", - "integrity": "sha512-oEZgAFfEvKtjSRCu6VgYkuGxwrWXMnQzyBmlLPP7r6PWQVtHxP5Z5N6XsuJvtoVax78am/r7lr46bwo3IVEBOg==", - "engines": { - "node": ">=4" - } - }, - "node_modules/caseless": { - "version": "0.12.0", - "resolved": "https://registry.npmjs.org/caseless/-/caseless-0.12.0.tgz", - "integrity": "sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw=" - }, - "node_modules/chai": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/chai/-/chai-4.2.0.tgz", - "integrity": "sha512-XQU3bhBukrOsQCuwZndwGcCVQHyZi53fQ6Ys1Fym7E4olpIqqZZhhoFJoaKVvV17lWQoXYwgWN2nF5crA8J2jw==", - "dependencies": { - "assertion-error": "^1.1.0", - "check-error": "^1.0.2", - "deep-eql": "^3.0.1", - "get-func-name": "^2.0.0", - "pathval": "^1.1.0", - "type-detect": "^4.0.5" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/chai-as-promised": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/chai-as-promised/-/chai-as-promised-7.1.1.tgz", - "integrity": "sha512-azL6xMoi+uxu6z4rhWQ1jbdUhOMhis2PvscD/xjLqNMkv3BPPp2JyyuTHOrf9BOosGpNQ11v6BKv/g57RXbiaA==", - "dependencies": { - "check-error": "^1.0.2" - }, - "peerDependencies": { - "chai": ">= 2.1.2 < 5" - } - }, - "node_modules/chai-bignumber": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/chai-bignumber/-/chai-bignumber-3.0.0.tgz", - "integrity": "sha512-SubOtaSI2AILWTWe2j0c6i2yFT/f9J6UBjeVGDuwDiPLkF/U5+/eTWUE3sbCZ1KgcPF6UJsDVYbIxaYA097MQA==" - }, - "node_modules/chalk": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz", - "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=", - "dependencies": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/chardet": { - "version": "0.7.0", - "resolved": "https://registry.npmjs.org/chardet/-/chardet-0.7.0.tgz", - "integrity": "sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==" - }, - "node_modules/check-error": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/check-error/-/check-error-1.0.2.tgz", - "integrity": "sha1-V00xLt2Iu13YkS6Sht1sCu1KrII=", - "engines": { - "node": "*" - } - }, - "node_modules/check-types": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/check-types/-/check-types-7.4.0.tgz", - "integrity": "sha512-YbulWHdfP99UfZ73NcUDlNJhEIDgm9Doq9GhpyXbF+7Aegi3CVV7qqMCKTTqJxlvEvnQBp9IA+dxsGN6xK/nSg==" - }, - "node_modules/chokidar": { - "version": "2.1.8", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-2.1.8.tgz", - "integrity": "sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==", - "deprecated": "Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.", - "dependencies": { - "anymatch": "^2.0.0", - "async-each": "^1.0.1", - "braces": "^2.3.2", - "glob-parent": "^3.1.0", - "inherits": "^2.0.3", - "is-binary-path": "^1.0.0", - "is-glob": "^4.0.0", - "normalize-path": "^3.0.0", - "path-is-absolute": "^1.0.0", - "readdirp": "^2.2.1", - "upath": "^1.1.1" - }, - "optionalDependencies": { - "fsevents": "^1.2.7" - } - }, - "node_modules/chokidar/node_modules/fsevents": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz", - "integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==", - "deprecated": "fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.", - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "dependencies": { - "bindings": "^1.5.0", - "nan": "^2.12.1" - }, - "engines": { - "node": ">= 4.0" - } - }, - "node_modules/chownr": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/chownr/-/chownr-1.1.4.tgz", - "integrity": "sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==" - }, - "node_modules/chrome-trace-event": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.2.tgz", - "integrity": "sha512-9e/zx1jw7B4CO+c/RXoCsfg/x1AfUBioy4owYH0bJprEYAx5hRFLRhWBqHAG57D0ZM4H7vxbP7bPe0VwhQRYDQ==", - "dependencies": { - "tslib": "^1.9.0" - }, - "engines": { - "node": ">=6.0" - } - }, - "node_modules/ci-info": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-1.6.0.tgz", - "integrity": "sha512-vsGdkwSCDpWmP80ncATX7iea5DWQemg1UgCW5J8tqjU3lYw4FBYuj89J0CTVomA7BEfvSZd84GmHko+MxFQU2A==" - }, - "node_modules/cids": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/cids/-/cids-1.1.6.tgz", - "integrity": "sha512-5P+Jas2bVpjiHibp/SOwKY+v7JhAjTChaAZN+vCIrsWXn/JZV0frX22Vp5zZgEyJRPco79pX+yNQ2S3LkRukHQ==", - "dependencies": { - "multibase": "^4.0.1", - "multicodec": "^3.0.1", - "multihashes": "^4.0.1", - "uint8arrays": "^2.1.3" - }, - "engines": { - "node": ">=4.0.0", - "npm": ">=3.0.0" - } - }, - "node_modules/cipher-base": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/cipher-base/-/cipher-base-1.0.4.tgz", - "integrity": "sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==", - "dependencies": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/circular-json": { - "version": "0.3.3", - "resolved": "https://registry.npmjs.org/circular-json/-/circular-json-0.3.3.tgz", - "integrity": "sha512-UZK3NBx2Mca+b5LsG7bY183pHWt5Y1xts4P3Pz7ENTwGVnJOUWbRb3ocjvX7hx9tq/yTAdclXm9sZ38gNuem4A==", - "deprecated": "CircularJSON is in maintenance only, flatted is its successor." - }, - "node_modules/class-is": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/class-is/-/class-is-1.1.0.tgz", - "integrity": "sha512-rhjH9AG1fvabIDoGRVH587413LPjTZgmDF9fOFCbFJQV4yuocX1mHxxvXI4g3cGwbVY9wAYIoKlg1N79frJKQw==" - }, - "node_modules/class-utils": { - "version": "0.3.6", - "resolved": "https://registry.npmjs.org/class-utils/-/class-utils-0.3.6.tgz", - "integrity": "sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==", - "dependencies": { - "arr-union": "^3.1.0", - "define-property": "^0.2.5", - "isobject": "^3.0.0", - "static-extend": "^0.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/class-utils/node_modules/is-descriptor/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/classnames": { - "version": "2.2.6", - "resolved": "https://registry.npmjs.org/classnames/-/classnames-2.2.6.tgz", - "integrity": "sha512-JR/iSQOSt+LQIWwrwEzJ9uk0xfN3mTVYMwt1Ir5mUcSN6pU+V4zQFFaJsclJbPuAUQH+yfWef6tm7l1quW3C8Q==" - }, - "node_modules/clean-css": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.3.tgz", - "integrity": "sha512-VcMWDN54ZN/DS+g58HYL5/n4Zrqe8vHJpGA8KdgUXFU4fuP/aHNw8eld9SyEIyabIMJX/0RaY/fplOo5hYLSFA==", - "dependencies": { - "source-map": "~0.6.0" - }, - "engines": { - "node": ">= 4.0" - } - }, - "node_modules/clean-css/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/cli-cursor": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/cli-cursor/-/cli-cursor-2.1.0.tgz", - "integrity": "sha1-s12sN2R5+sw+lHR9QdDQ9SOP/LU=", - "dependencies": { - "restore-cursor": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cli-width": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/cli-width/-/cli-width-2.2.1.tgz", - "integrity": "sha512-GRMWDxpOB6Dgk2E5Uo+3eEBvtOOlimMmpbFiKuLFnQzYDavtLFY3K5ona41jgN/WdRZtG7utuVSVTL4HbZHGkw==" - }, - "node_modules/cliui": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz", - "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==", - "dependencies": { - "string-width": "^2.1.1", - "strip-ansi": "^4.0.0", - "wrap-ansi": "^2.0.0" - } - }, - "node_modules/cliui/node_modules/ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "engines": { - "node": ">=4" - } - }, - "node_modules/cliui/node_modules/strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dependencies": { - "ansi-regex": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/clone-deep": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-0.2.4.tgz", - "integrity": "sha1-TnPdCen7lxzDhnDF3O2cGJZIHMY=", - "dependencies": { - "for-own": "^0.1.3", - "is-plain-object": "^2.0.1", - "kind-of": "^3.0.2", - "lazy-cache": "^1.0.3", - "shallow-clone": "^0.1.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/co": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", - "integrity": "sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=", - "engines": { - "iojs": ">= 1.0.0", - "node": ">= 0.12.0" - } - }, - "node_modules/coa": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/coa/-/coa-2.0.2.tgz", - "integrity": "sha512-q5/jG+YQnSy4nRTV4F7lPepBJZ8qBNJJDBuJdoejDyLXgmL7IEo+Le2JDZudFTFt7mrCqIRaSjws4ygRCTCAXA==", - "dependencies": { - "@types/q": "^1.5.1", - "chalk": "^2.4.1", - "q": "^1.1.2" - }, - "engines": { - "node": ">= 4.0" - } - }, - "node_modules/coa/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/coa/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/coa/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/code-point-at": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/code-point-at/-/code-point-at-1.1.0.tgz", - "integrity": "sha1-DQcLTQQ6W+ozovGkDi7bPZpMz3c=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/collection-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/collection-visit/-/collection-visit-1.0.0.tgz", - "integrity": "sha1-S8A3PBZLwykbTTaMgpzxqApZ3KA=", - "dependencies": { - "map-visit": "^1.0.0", - "object-visit": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/color": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/color/-/color-3.1.3.tgz", - "integrity": "sha512-xgXAcTHa2HeFCGLE9Xs/R82hujGtu9Jd9x4NW3T34+OMs7VoPsjwzRczKHvTAHeJwWFwX5j15+MgAppE8ztObQ==", - "dependencies": { - "color-convert": "^1.9.1", - "color-string": "^1.5.4" - } - }, - "node_modules/color-convert": { - "version": "1.9.3", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-1.9.3.tgz", - "integrity": "sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==", - "dependencies": { - "color-name": "1.1.3" - } - }, - "node_modules/color-name": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.3.tgz", - "integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU=" - }, - "node_modules/color-string": { - "version": "1.5.5", - "resolved": "https://registry.npmjs.org/color-string/-/color-string-1.5.5.tgz", - "integrity": "sha512-jgIoum0OfQfq9Whcfc2z/VhCNcmQjWbey6qBX0vqt7YICflUmBCh9E9CiQD5GSJ+Uehixm3NUwHVhqUAWRivZg==", - "dependencies": { - "color-name": "^1.0.0", - "simple-swizzle": "^0.2.2" - } - }, - "node_modules/colorette": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/colorette/-/colorette-1.2.2.tgz", - "integrity": "sha512-MKGMzyfeuutC/ZJ1cba9NqcNpfeqMUcYmyF1ZFY6/Cn7CNSAKx6a+s48sqLqyAiZuaP2TcqMhoo+dlwFnVxT9w==" - }, - "node_modules/combined-stream": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", - "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "dependencies": { - "delayed-stream": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/commander": { - "version": "2.20.3", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz", - "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==" - }, - "node_modules/common-tags": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/common-tags/-/common-tags-1.8.0.tgz", - "integrity": "sha512-6P6g0uetGpW/sdyUy/iQQCbFF0kWVMSIVSyYz7Zgjcgh8mgw8PQzDNZeyZ5DQ2gM7LBoZPHmnjz8rUthkBG5tw==", - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/commondir": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz", - "integrity": "sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=" - }, - "node_modules/component-emitter": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/component-emitter/-/component-emitter-1.3.0.tgz", - "integrity": "sha512-Rd3se6QB+sO1TwqZjscQrurpEPIfO0/yYnSin6Q/rD3mOutHvUrCAhJub3r90uNb+SESBuE0QYoB90YdfatsRg==" - }, - "node_modules/compressible": { - "version": "2.0.18", - "resolved": "https://registry.npmjs.org/compressible/-/compressible-2.0.18.tgz", - "integrity": "sha512-AF3r7P5dWxL8MxyITRMlORQNaOA2IkAFaTr4k7BUumjPtRpGDTZpl0Pb1XCO6JeDCBdp126Cgs9sMxqSjgYyRg==", - "dependencies": { - "mime-db": ">= 1.43.0 < 2" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/compression": { - "version": "1.7.4", - "resolved": "https://registry.npmjs.org/compression/-/compression-1.7.4.tgz", - "integrity": "sha512-jaSIDzP9pZVS4ZfQ+TzvtiWhdpFhE2RDHz8QJkpX9SIpLq88VueF5jJw6t+6CUQcAoA6t+x89MLrWAqpfDE8iQ==", - "dependencies": { - "accepts": "~1.3.5", - "bytes": "3.0.0", - "compressible": "~2.0.16", - "debug": "2.6.9", - "on-headers": "~1.0.2", - "safe-buffer": "5.1.2", - "vary": "~1.1.2" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=" - }, - "node_modules/concat-stream": { - "version": "1.6.2", - "resolved": "https://registry.npmjs.org/concat-stream/-/concat-stream-1.6.2.tgz", - "integrity": "sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==", - "engines": [ - "node >= 0.8" - ], - "dependencies": { - "buffer-from": "^1.0.0", - "inherits": "^2.0.3", - "readable-stream": "^2.2.2", - "typedarray": "^0.0.6" - } - }, - "node_modules/concat-stream/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/concat-stream/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/concat-stream/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/confusing-browser-globals": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/confusing-browser-globals/-/confusing-browser-globals-1.0.10.tgz", - "integrity": "sha512-gNld/3lySHwuhaVluJUKLePYirM3QNCKzVxqAdhJII9/WXKVX5PURzMVJspS1jTslSqjeuG4KMVTSouit5YPHA==" - }, - "node_modules/connect-history-api-fallback": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/connect-history-api-fallback/-/connect-history-api-fallback-1.6.0.tgz", - "integrity": "sha512-e54B99q/OUoH64zYYRf3HBP5z24G38h5D3qXu23JGRoigpX5Ss4r9ZnDk3g0Z8uQC2x2lPaJ+UlWBc1ZWBWdLg==", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/console-browserify": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz", - "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==" - }, - "node_modules/constants-browserify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", - "integrity": "sha1-wguW2MYXdIqvHBYCF2DNJ/y4y3U=" - }, - "node_modules/contains-path": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/contains-path/-/contains-path-0.1.0.tgz", - "integrity": "sha1-/ozxhP9mcLa67wGp1IYaXL7EEgo=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/content-disposition": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/content-disposition/-/content-disposition-0.5.3.tgz", - "integrity": "sha512-ExO0774ikEObIAEV9kDo50o+79VCUdEB6n6lzKgGwupcVeRlhrj3qGAfwq8G6uBJjkqLrhT0qEYFcWng8z1z0g==", - "dependencies": { - "safe-buffer": "5.1.2" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/content-type": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/content-type/-/content-type-1.0.4.tgz", - "integrity": "sha512-hIP3EEPs8tB9AT1L+NUqtwOAps4mk2Zob89MWXMHjHWg9milF/j4osnnQLXBCBFBk/tvIG/tUc9mOUJiPBhPXA==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/convert-source-map": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-1.7.0.tgz", - "integrity": "sha512-4FJkXzKXEDB1snCFZlLP4gpC3JILicCpGbzG9f9G7tGqGCzETQ2hWPrcinA9oU4wtf2biUaEH5065UnMeR33oA==", - "dependencies": { - "safe-buffer": "~5.1.1" - } - }, - "node_modules/cookie": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.4.0.tgz", - "integrity": "sha512-+Hp8fLp57wnUSt0tY0tHEXh4voZRDnoIrZPqlo3DPiI4y9lwg/jqx+1Om94/W6ZaPDOUbnjOt/99w66zk+l1Xg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/cookie-signature": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/cookie-signature/-/cookie-signature-1.0.6.tgz", - "integrity": "sha1-4wOogrNCzD7oylE6eZmXNNqzriw=" - }, - "node_modules/cookiejar": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/cookiejar/-/cookiejar-2.1.2.tgz", - "integrity": "sha512-Mw+adcfzPxcPeI+0WlvRrr/3lGVO0bD75SxX6811cxSh1Wbxx7xZBGK1eVtDf6si8rg2lhnUjsVLMFMfbRIuwA==" - }, - "node_modules/copy-concurrently": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/copy-concurrently/-/copy-concurrently-1.0.5.tgz", - "integrity": "sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==", - "dependencies": { - "aproba": "^1.1.1", - "fs-write-stream-atomic": "^1.0.8", - "iferr": "^0.1.5", - "mkdirp": "^0.5.1", - "rimraf": "^2.5.4", - "run-queue": "^1.0.0" - } - }, - "node_modules/copy-descriptor": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/copy-descriptor/-/copy-descriptor-0.1.1.tgz", - "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/core-js": { - "version": "2.6.12", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.12.tgz", - "integrity": "sha512-Kb2wC0fvsWfQrgk8HU5lW6U/Lcs8+9aaYcy4ZFc6DDlo4nZ7n70dEgE5rtR0oG6ufKDUnrwfWL1mXR5ljDatrQ==", - "deprecated": "core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.", - "hasInstallScript": true - }, - "node_modules/core-js-compat": { - "version": "3.9.1", - "resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.9.1.tgz", - "integrity": "sha512-jXAirMQxrkbiiLsCx9bQPJFA6llDadKMpYrBJQJ3/c4/vsPP/fAf29h24tviRlvwUL6AmY5CHLu2GvjuYviQqA==", - "dependencies": { - "browserslist": "^4.16.3", - "semver": "7.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/core-js" - } - }, - "node_modules/core-js-compat/node_modules/browserslist": { - "version": "4.16.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.3.tgz", - "integrity": "sha512-vIyhWmIkULaq04Gt93txdh+j02yX/JzlyhLYbV3YQCn/zvES3JnY7TifHHvvr1w5hTDluNKMkV05cs4vy8Q7sw==", - "dependencies": { - "caniuse-lite": "^1.0.30001181", - "colorette": "^1.2.1", - "electron-to-chromium": "^1.3.649", - "escalade": "^3.1.1", - "node-releases": "^1.1.70" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } - }, - "node_modules/core-js-compat/node_modules/semver": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.0.0.tgz", - "integrity": "sha512-+GB6zVA9LWh6zovYQLALHwv5rb2PHGlJi3lfiqIHxR0uuwCgefcOJc59v9fv1w8GbStwxuuqqAjI9NMAOOgq1A==", - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/core-util-is": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz", - "integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac=" - }, - "node_modules/cosmiconfig": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/cosmiconfig/-/cosmiconfig-5.2.1.tgz", - "integrity": "sha512-H65gsXo1SKjf8zmrJ67eJk8aIRKV5ff2D4uKZIBZShbhGSpEmsQOPW/SKMKYhSTrqR7ufy6RP69rPogdaPh/kA==", - "dependencies": { - "import-fresh": "^2.0.0", - "is-directory": "^0.3.1", - "js-yaml": "^3.13.1", - "parse-json": "^4.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/create-ecdh": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/create-ecdh/-/create-ecdh-4.0.4.tgz", - "integrity": "sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==", - "dependencies": { - "bn.js": "^4.1.0", - "elliptic": "^6.5.3" - } - }, - "node_modules/create-hash": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/create-hash/-/create-hash-1.2.0.tgz", - "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" - } - }, - "node_modules/create-hmac": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/create-hmac/-/create-hmac-1.1.7.tgz", - "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" - } - }, - "node_modules/create-react-context": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/create-react-context/-/create-react-context-0.2.3.tgz", - "integrity": "sha512-CQBmD0+QGgTaxDL3OX1IDXYqjkp2It4RIbcb99jS6AEg27Ga+a9G3JtK6SIu0HBwPLZlmwt9F7UwWA4Bn92Rag==", - "dependencies": { - "fbjs": "^0.8.0", - "gud": "^1.0.0" - }, - "peerDependencies": { - "prop-types": "^15.0.0", - "react": "^0.14.0 || ^15.0.0 || ^16.0.0" - } - }, - "node_modules/cross-spawn": { - "version": "6.0.5", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.5.tgz", - "integrity": "sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==", - "dependencies": { - "nice-try": "^1.0.4", - "path-key": "^2.0.1", - "semver": "^5.5.0", - "shebang-command": "^1.2.0", - "which": "^1.2.9" - }, - "engines": { - "node": ">=4.8" - } - }, - "node_modules/crypto-browserify": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/crypto-browserify/-/crypto-browserify-3.12.0.tgz", - "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" - }, - "engines": { - "node": "*" - } - }, - "node_modules/css-color-names": { - "version": "0.0.4", - "resolved": "https://registry.npmjs.org/css-color-names/-/css-color-names-0.0.4.tgz", - "integrity": "sha1-gIrcLnnPhHOAabZGyyDsJ762KeA=", - "engines": { - "node": "*" - } - }, - "node_modules/css-declaration-sorter": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/css-declaration-sorter/-/css-declaration-sorter-4.0.1.tgz", - "integrity": "sha512-BcxQSKTSEEQUftYpBVnsH4SF05NTuBokb19/sBt6asXGKZ/6VP7PLG1CBCkFDYOnhXhPh0jMhO6xZ71oYHXHBA==", - "dependencies": { - "postcss": "^7.0.1", - "timsort": "^0.3.0" - }, - "engines": { - "node": ">4" - } - }, - "node_modules/css-declaration-sorter/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/css-declaration-sorter/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/css-declaration-sorter/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/css-declaration-sorter/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/css-declaration-sorter/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/css-declaration-sorter/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/css-loader": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/css-loader/-/css-loader-1.0.0.tgz", - "integrity": "sha512-tMXlTYf3mIMt3b0dDCOQFJiVvxbocJ5Ho577WiGPYPZcqVEO218L2iU22pDXzkTZCLDE+9AmGSUkWxeh/nZReA==", - "dependencies": { - "babel-code-frame": "^6.26.0", - "css-selector-tokenizer": "^0.7.0", - "icss-utils": "^2.1.0", - "loader-utils": "^1.0.2", - "lodash.camelcase": "^4.3.0", - "postcss": "^6.0.23", - "postcss-modules-extract-imports": "^1.2.0", - "postcss-modules-local-by-default": "^1.2.0", - "postcss-modules-scope": "^1.1.0", - "postcss-modules-values": "^1.3.0", - "postcss-value-parser": "^3.3.0", - "source-list-map": "^2.0.0" - }, - "engines": { - "node": ">= 6.9.0 <7.0.0 || >= 8.9.0" - }, - "peerDependencies": { - "webpack": "^4.0.0" - } - }, - "node_modules/css-select": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/css-select/-/css-select-2.1.0.tgz", - "integrity": "sha512-Dqk7LQKpwLoH3VovzZnkzegqNSuAziQyNZUcrdDM401iY+R5NkGBXGmtO05/yaXQziALuPogeG0b7UAgjnTJTQ==", - "dependencies": { - "boolbase": "^1.0.0", - "css-what": "^3.2.1", - "domutils": "^1.7.0", - "nth-check": "^1.0.2" - } - }, - "node_modules/css-select-base-adapter": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/css-select-base-adapter/-/css-select-base-adapter-0.1.1.tgz", - "integrity": "sha512-jQVeeRG70QI08vSTwf1jHxp74JoZsr2XSgETae8/xC8ovSnL2WF87GTLO86Sbwdt2lK4Umg4HnnwMO4YF3Ce7w==" - }, - "node_modules/css-selector-tokenizer": { - "version": "0.7.3", - "resolved": "https://registry.npmjs.org/css-selector-tokenizer/-/css-selector-tokenizer-0.7.3.tgz", - "integrity": "sha512-jWQv3oCEL5kMErj4wRnK/OPoBi0D+P1FR2cDCKYPaMeD2eW3/mttav8HT4hT1CKopiJI/psEULjkClhvJo4Lvg==", - "dependencies": { - "cssesc": "^3.0.0", - "fastparse": "^1.1.2" - } - }, - "node_modules/css-tree": { - "version": "1.0.0-alpha.37", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.0.0-alpha.37.tgz", - "integrity": "sha512-DMxWJg0rnz7UgxKT0Q1HU/L9BeJI0M6ksor0OgqOnF+aRCDWg/N2641HmVyU9KVIu0OVVWOb2IpC9A+BJRnejg==", - "dependencies": { - "mdn-data": "2.0.4", - "source-map": "^0.6.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/css-tree/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/css-what": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/css-what/-/css-what-3.4.2.tgz", - "integrity": "sha512-ACUm3L0/jiZTqfzRM3Hi9Q8eZqd6IK37mMWPLz9PJxkLWllYeRf+EHUSHYEtFop2Eqytaq1FizFVh7XfBnXCDQ==", - "engines": { - "node": ">= 6" - }, - "funding": { - "url": "https://github.com/sponsors/fb55" - } - }, - "node_modules/cssdb": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/cssdb/-/cssdb-4.4.0.tgz", - "integrity": "sha512-LsTAR1JPEM9TpGhl/0p3nQecC2LJ0kD8X5YARu1hk/9I1gril5vDtMZyNxcEpxxDj34YNck/ucjuoUd66K03oQ==" - }, - "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/cssnano": { - "version": "4.1.10", - "resolved": "https://registry.npmjs.org/cssnano/-/cssnano-4.1.10.tgz", - "integrity": "sha512-5wny+F6H4/8RgNlaqab4ktc3e0/blKutmq8yNlBFXA//nSFFAqAngjNVRzUvCgYROULmZZUoosL/KSoZo5aUaQ==", - "dependencies": { - "cosmiconfig": "^5.0.0", - "cssnano-preset-default": "^4.0.7", - "is-resolvable": "^1.0.0", - "postcss": "^7.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/cssnano-preset-default": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/cssnano-preset-default/-/cssnano-preset-default-4.0.7.tgz", - "integrity": "sha512-x0YHHx2h6p0fCl1zY9L9roD7rnlltugGu7zXSKQx6k2rYw0Hi3IqxcoAGF7u9Q5w1nt7vK0ulxV8Lo+EvllGsA==", - "dependencies": { - "css-declaration-sorter": "^4.0.1", - "cssnano-util-raw-cache": "^4.0.1", - "postcss": "^7.0.0", - "postcss-calc": "^7.0.1", - "postcss-colormin": "^4.0.3", - "postcss-convert-values": "^4.0.1", - "postcss-discard-comments": "^4.0.2", - "postcss-discard-duplicates": "^4.0.2", - "postcss-discard-empty": "^4.0.1", - "postcss-discard-overridden": "^4.0.1", - "postcss-merge-longhand": "^4.0.11", - "postcss-merge-rules": "^4.0.3", - "postcss-minify-font-values": "^4.0.2", - "postcss-minify-gradients": "^4.0.2", - "postcss-minify-params": "^4.0.2", - "postcss-minify-selectors": "^4.0.2", - "postcss-normalize-charset": "^4.0.1", - "postcss-normalize-display-values": "^4.0.2", - "postcss-normalize-positions": "^4.0.2", - "postcss-normalize-repeat-style": "^4.0.2", - "postcss-normalize-string": "^4.0.2", - "postcss-normalize-timing-functions": "^4.0.2", - "postcss-normalize-unicode": "^4.0.1", - "postcss-normalize-url": "^4.0.1", - "postcss-normalize-whitespace": "^4.0.2", - "postcss-ordered-values": "^4.1.2", - "postcss-reduce-initial": "^4.0.3", - "postcss-reduce-transforms": "^4.0.2", - "postcss-svgo": "^4.0.2", - "postcss-unique-selectors": "^4.0.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/cssnano-preset-default/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cssnano-preset-default/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cssnano-preset-default/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cssnano-preset-default/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/cssnano-preset-default/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/cssnano-preset-default/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/cssnano-util-get-arguments": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cssnano-util-get-arguments/-/cssnano-util-get-arguments-4.0.0.tgz", - "integrity": "sha1-7ToIKZ8h11dBsg87gfGU7UnMFQ8=", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/cssnano-util-get-match": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/cssnano-util-get-match/-/cssnano-util-get-match-4.0.0.tgz", - "integrity": "sha1-wOTKB/U4a7F+xeUiULT1lhNlFW0=", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/cssnano-util-raw-cache": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/cssnano-util-raw-cache/-/cssnano-util-raw-cache-4.0.1.tgz", - "integrity": "sha512-qLuYtWK2b2Dy55I8ZX3ky1Z16WYsx544Q0UWViebptpwn/xDBmog2TLg4f+DBMg1rJ6JDWtn96WHbOKDWt1WQA==", - "dependencies": { - "postcss": "^7.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/cssnano-util-raw-cache/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cssnano-util-raw-cache/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cssnano-util-raw-cache/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cssnano-util-raw-cache/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/cssnano-util-raw-cache/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/cssnano-util-raw-cache/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/cssnano-util-same-parent": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/cssnano-util-same-parent/-/cssnano-util-same-parent-4.0.1.tgz", - "integrity": "sha512-WcKx5OY+KoSIAxBW6UBBRay1U6vkYheCdjyVNDm85zt5K9mHoGOfsOsqIszfAqrQQFIIKgjh2+FDgIj/zsl21Q==", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/cssnano/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cssnano/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cssnano/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/cssnano/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/cssnano/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/cssnano/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/csso": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/csso/-/csso-4.2.0.tgz", - "integrity": "sha512-wvlcdIbf6pwKEk7vHj8/Bkc0B4ylXZruLvOgs9doS5eOsOpuodOV2zJChSpkp+pRpYQLQMeF04nr3Z68Sta9jA==", - "dependencies": { - "css-tree": "^1.1.2" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/csso/node_modules/css-tree": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/css-tree/-/css-tree-1.1.2.tgz", - "integrity": "sha512-wCoWush5Aeo48GLhfHPbmvZs59Z+M7k5+B1xDnXbdWNcEF423DoFdqSWE0PM5aNk5nI5cp1q7ms36zGApY/sKQ==", - "dependencies": { - "mdn-data": "2.0.14", - "source-map": "^0.6.1" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/csso/node_modules/mdn-data": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.14.tgz", - "integrity": "sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow==" - }, - "node_modules/csso/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/cssom": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.4.4.tgz", - "integrity": "sha512-p3pvU7r1MyyqbTk+WbNJIgJjG2VmTIaB10rI93LzVPrmDJKkzKYMtxxyAvQXR/NS6otuzveI7+7BBq3SjBS2mw==" - }, - "node_modules/cssstyle": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-2.3.0.tgz", - "integrity": "sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==", - "dependencies": { - "cssom": "~0.3.6" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/cssstyle/node_modules/cssom": { - "version": "0.3.8", - "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", - "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==" - }, - "node_modules/cyclist": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/cyclist/-/cyclist-1.0.1.tgz", - "integrity": "sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk=" - }, - "node_modules/d": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/d/-/d-1.0.1.tgz", - "integrity": "sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA==", - "dependencies": { - "es5-ext": "^0.10.50", - "type": "^1.0.1" - } - }, - "node_modules/damerau-levenshtein": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/damerau-levenshtein/-/damerau-levenshtein-1.0.6.tgz", - "integrity": "sha512-JVrozIeElnj3QzfUIt8tB8YMluBJom4Vw9qTPpjGYQ9fYlB3D/rb6OordUxf3xeFB35LKWs0xqcO5U6ySvBtug==" - }, - "node_modules/dashdash": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/dashdash/-/dashdash-1.14.1.tgz", - "integrity": "sha1-hTz6D3y+L+1d4gMmuN1YEDX24vA=", - "dependencies": { - "assert-plus": "^1.0.0" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/data-urls": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-2.0.0.tgz", - "integrity": "sha512-X5eWTSXO/BJmpdIKCRuKUgSCgAN0OwliVK3yPKbwIWU1Tdw5BRajxlzMidvh+gwko9AfQ9zIj52pzF91Q3YAvQ==", - "dependencies": { - "abab": "^2.0.3", - "whatwg-mimetype": "^2.3.0", - "whatwg-url": "^8.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/dayjs": { - "version": "1.10.4", - "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.10.4.tgz", - "integrity": "sha512-RI/Hh4kqRc1UKLOAf/T5zdMMX5DQIlDxwUe3wSyMMnEbGunnpENCdbUgM+dW7kXidZqCttBrmw7BhN4TMddkCw==" - }, - "node_modules/debug": { - "version": "2.6.9", - "resolved": "https://registry.npmjs.org/debug/-/debug-2.6.9.tgz", - "integrity": "sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/decamelize": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", - "integrity": "sha1-9lNNFRSCabIDUue+4m9QH5oZEpA=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/decimal.js": { - "version": "10.2.1", - "resolved": "https://registry.npmjs.org/decimal.js/-/decimal.js-10.2.1.tgz", - "integrity": "sha512-KaL7+6Fw6i5A2XSnsbhm/6B+NuEA7TZ4vqxnd5tXz9sbKtrN9Srj8ab4vKVdK8YAqZO9P1kg45Y6YLoduPf+kw==" - }, - "node_modules/decode-uri-component": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/decode-uri-component/-/decode-uri-component-0.2.0.tgz", - "integrity": "sha1-6zkTMzRYd1y4TNGh+uBiEGu4dUU=", - "engines": { - "node": ">=0.10" - } - }, - "node_modules/decompress-response": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/decompress-response/-/decompress-response-3.3.0.tgz", - "integrity": "sha1-gKTdMjdIOEv6JICDYirt7Jgq3/M=", - "dependencies": { - "mimic-response": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/deep-eql": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/deep-eql/-/deep-eql-3.0.1.tgz", - "integrity": "sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==", - "dependencies": { - "type-detect": "^4.0.0" - }, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/deep-equal": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/deep-equal/-/deep-equal-1.1.1.tgz", - "integrity": "sha512-yd9c5AdiqVcR+JjcwUQb9DkhJc8ngNr0MahEBGvDiJw8puWab2yZlh+nkasOnZP+EGTAP6rRp2JzJhJZzvNF8g==", - "dependencies": { - "is-arguments": "^1.0.4", - "is-date-object": "^1.0.1", - "is-regex": "^1.0.4", - "object-is": "^1.0.1", - "object-keys": "^1.1.1", - "regexp.prototype.flags": "^1.2.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/deep-is": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", - "integrity": "sha1-s2nW+128E+7PUk+RsHD+7cNXzzQ=" - }, - "node_modules/default-gateway": { - "version": "2.7.2", - "resolved": "https://registry.npmjs.org/default-gateway/-/default-gateway-2.7.2.tgz", - "integrity": "sha512-lAc4i9QJR0YHSDFdzeBQKfZ1SRDG3hsJNEkrpcZa8QhBfidLAilT60BDEIVUUGqosFp425KOgB3uYqcnQrWafQ==", - "os": [ - "android", - "darwin", - "freebsd", - "linux", - "openbsd", - "sunos", - "win32" - ], - "dependencies": { - "execa": "^0.10.0", - "ip-regex": "^2.1.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/default-gateway/node_modules/ip-regex": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-2.1.0.tgz", - "integrity": "sha1-+ni/XS5pE8kRzp+BnuUUa7bYROk=", - "engines": { - "node": ">=4" - } - }, - "node_modules/default-require-extensions": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/default-require-extensions/-/default-require-extensions-1.0.0.tgz", - "integrity": "sha1-836hXT4T/9m0N9M+GnW1+5eHTLg=", - "dependencies": { - "strip-bom": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/define-properties": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/define-properties/-/define-properties-1.1.3.tgz", - "integrity": "sha512-3MqfYKj2lLzdMSf8ZIZE/V+Zuy+BgD6f164e8K2w7dgnpKArBDerGYpM46IYYcjnkdPNMjPk9A6VFB8+3SKlXQ==", - "dependencies": { - "object-keys": "^1.0.12" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/define-property": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-2.0.2.tgz", - "integrity": "sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==", - "dependencies": { - "is-descriptor": "^1.0.2", - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/del": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/del/-/del-3.0.0.tgz", - "integrity": "sha1-U+z2mf/LyzljdpGrE7rxYIGXZuU=", - "dependencies": { - "globby": "^6.1.0", - "is-path-cwd": "^1.0.0", - "is-path-in-cwd": "^1.0.0", - "p-map": "^1.1.1", - "pify": "^3.0.0", - "rimraf": "^2.2.8" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/del/node_modules/globby": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", - "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", - "dependencies": { - "array-union": "^1.0.1", - "glob": "^7.0.3", - "object-assign": "^4.0.1", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/del/node_modules/globby/node_modules/pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/delayed-stream": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", - "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/delimit-stream": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/delimit-stream/-/delimit-stream-0.1.0.tgz", - "integrity": "sha1-m4MZR3wOX4rrPONXrjBfwl6hzSs=" - }, - "node_modules/depd": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/depd/-/depd-1.1.2.tgz", - "integrity": "sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/des.js": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/des.js/-/des.js-1.0.1.tgz", - "integrity": "sha512-Q0I4pfFrv2VPd34/vfLrFOoRmlYj3OV50i7fskps1jZWK1kApMWWT9G6RRUeYedLcBDIhnSDaUvJMb3AhUlaEA==", - "dependencies": { - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0" - } - }, - "node_modules/destroy": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/destroy/-/destroy-1.0.4.tgz", - "integrity": "sha1-l4hXRCxEdJ5CBmE+N5RiBYJqvYA=" - }, - "node_modules/detect-indent": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/detect-indent/-/detect-indent-4.0.0.tgz", - "integrity": "sha1-920GQ1LN9Docts5hnE7jqUdd4gg=", - "dependencies": { - "repeating": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/detect-newline": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-2.1.0.tgz", - "integrity": "sha1-9B8cEL5LAOh7XxPaaAdZ8sW/0+I=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/detect-node": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/detect-node/-/detect-node-2.0.4.tgz", - "integrity": "sha512-ZIzRpLJrOj7jjP2miAtgqIfmzbxa4ZOr5jJc601zklsfEx9oTzmmj2nVpIPRpNlRTIh8lc1kyViIY7BWSGNmKw==" - }, - "node_modules/detect-port-alt": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/detect-port-alt/-/detect-port-alt-1.1.6.tgz", - "integrity": "sha512-5tQykt+LqfJFBEYaDITx7S7cR7mJ/zQmLXZ2qt5w04ainYZw6tBf9dBunMjVeVOdYVRUzUOE4HkY5J7+uttb5Q==", - "dependencies": { - "address": "^1.0.1", - "debug": "^2.6.0" - }, - "bin": { - "detect": "bin/detect-port", - "detect-port": "bin/detect-port" - }, - "engines": { - "node": ">= 4.2.1" - } - }, - "node_modules/diff": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/diff/-/diff-3.5.0.tgz", - "integrity": "sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA==", - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/diffie-hellman": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/diffie-hellman/-/diffie-hellman-5.0.3.tgz", - "integrity": "sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==", - "dependencies": { - "bn.js": "^4.1.0", - "miller-rabin": "^4.0.0", - "randombytes": "^2.0.0" - } - }, - "node_modules/dir-glob": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/dir-glob/-/dir-glob-2.0.0.tgz", - "integrity": "sha512-37qirFDz8cA5fimp9feo43fSuRo2gHwaIn6dXL8Ber1dGwUosDrGZeCCXq57WnIqE4aQ+u3eQZzsk1yOzhdwag==", - "dependencies": { - "arrify": "^1.0.1", - "path-type": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/dns-equal": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/dns-equal/-/dns-equal-1.0.0.tgz", - "integrity": "sha1-s55/HabrCnW6nBcySzR1PEfgZU0=" - }, - "node_modules/dns-over-http-resolver": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/dns-over-http-resolver/-/dns-over-http-resolver-1.2.2.tgz", - "integrity": "sha512-4J7LoLl26mczU6LdWlhvNM51aWXHJmTz6iDUrGz1sqiAgNb6HzBc/huvkgqS6bYfbCzvlOKW/bGkugReliac0A==", - "dependencies": { - "debug": "^4.2.0", - "native-fetch": "^3.0.0", - "receptacle": "^1.3.2" - } - }, - "node_modules/dns-over-http-resolver/node_modules/debug": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", - "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/dns-over-http-resolver/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/dns-over-http-resolver/node_modules/native-fetch": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/native-fetch/-/native-fetch-3.0.0.tgz", - "integrity": "sha512-G3Z7vx0IFb/FQ4JxvtqGABsOTIqRWvgQz6e+erkB+JJD6LrszQtMozEHI4EkmgZQvnGHrpLVzUWk7t4sJCIkVw==", - "peerDependencies": { - "node-fetch": "*" - } - }, - "node_modules/dns-packet": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/dns-packet/-/dns-packet-1.3.1.tgz", - "integrity": "sha512-0UxfQkMhYAUaZI+xrNZOz/as5KgDU0M/fQ9b6SpkyLbk3GEswDi6PADJVaYJradtRVsRIlF1zLyOodbcTCDzUg==", - "dependencies": { - "ip": "^1.1.0", - "safe-buffer": "^5.0.1" - } - }, - "node_modules/dns-txt": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/dns-txt/-/dns-txt-2.0.2.tgz", - "integrity": "sha1-uR2Ab10nGI5Ks+fRB9iBocxGQrY=", - "dependencies": { - "buffer-indexof": "^1.0.0" - } - }, - "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/dom-converter": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/dom-converter/-/dom-converter-0.2.0.tgz", - "integrity": "sha512-gd3ypIPfOMr9h5jIKq8E3sHOTCjeirnl0WK5ZdS1AW0Odt0b1PaWaHdJ4Qk4klv+YB9aJBS7mESXjFoDQPu6DA==", - "dependencies": { - "utila": "~0.4" - } - }, - "node_modules/dom-helpers": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/dom-helpers/-/dom-helpers-3.4.0.tgz", - "integrity": "sha512-LnuPJ+dwqKDIyotW1VzmOZ5TONUN7CwkCR5hrgawTUbkBGYdeoNLZo6nNfGkCrjtE1nXXaj7iMMpDa8/d9WoIA==", - "dependencies": { - "@babel/runtime": "^7.1.2" - } - }, - "node_modules/dom-serializer": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/dom-serializer/-/dom-serializer-0.2.2.tgz", - "integrity": "sha512-2/xPb3ORsQ42nHYiSunXkDjPLBaEj/xTwUO4B7XCZQTRk7EBtTOPaygh10YAAh2OI1Qrp6NWfpAhzswj0ydt9g==", - "dependencies": { - "domelementtype": "^2.0.1", - "entities": "^2.0.0" - } - }, - "node_modules/dom-serializer/node_modules/domelementtype": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-2.1.0.tgz", - "integrity": "sha512-LsTgx/L5VpD+Q8lmsXSHW2WpA+eBlZ9HPf3erD1IoPF00/3JKHZ3BknUVA2QGDNu69ZNmyFmCWBSO45XjYKC5w==", - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/fb55" - } - ] - }, - "node_modules/dom-walk": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/dom-walk/-/dom-walk-0.1.2.tgz", - "integrity": "sha512-6QvTW9mrGeIegrFXdtQi9pk7O/nSK6lSdXW2eqUspN5LWD7UTji2Fqw5V2YLjBpHEoU9Xl/eUWNpDeZvoyOv2w==" - }, - "node_modules/domain-browser": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/domain-browser/-/domain-browser-1.2.0.tgz", - "integrity": "sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==", - "engines": { - "node": ">=0.4", - "npm": ">=1.2" - } - }, - "node_modules/domelementtype": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/domelementtype/-/domelementtype-1.3.1.tgz", - "integrity": "sha512-BSKB+TSpMpFI/HOxCNr1O8aMOTZ8hT3pM3GQ0w/mWRmkhEDSFJkkyzz4XQsBV44BChwGkrDfMyjVD0eA2aFV3w==" - }, - "node_modules/domexception": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/domexception/-/domexception-2.0.1.tgz", - "integrity": "sha512-yxJ2mFy/sibVQlu5qHjOkf9J3K6zgmCxgJ94u2EdvDOV09H+32LtRswEcUsmUWN72pVLOEnTSRaIVVzVQgS0dg==", - "dependencies": { - "webidl-conversions": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/domexception/node_modules/webidl-conversions": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-5.0.0.tgz", - "integrity": "sha512-VlZwKPCkYKxQgeSbH5EyngOmRp7Ww7I9rQLERETtf5ofd9pGeswWiOtogpEO850jziPRarreGxn5QIiTqpb2wA==", - "engines": { - "node": ">=8" - } - }, - "node_modules/domhandler": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/domhandler/-/domhandler-2.4.2.tgz", - "integrity": "sha512-JiK04h0Ht5u/80fdLMCEmV4zkNh2BcoMFBmZ/91WtYZ8qVXSKjiw7fXMgFPnHcSZgOo3XdinHvmnDUeMf5R4wA==", - "dependencies": { - "domelementtype": "1" - } - }, - "node_modules/domutils": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/domutils/-/domutils-1.7.0.tgz", - "integrity": "sha512-Lgd2XcJ/NjEw+7tFvfKxOzCYKZsdct5lczQ2ZaQY8Djz7pfAD3Gbp8ySJWtreII/vDlMVmxwa6pHmdxIYgttDg==", - "dependencies": { - "dom-serializer": "0", - "domelementtype": "1" - } - }, - "node_modules/dot-prop": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/dot-prop/-/dot-prop-5.3.0.tgz", - "integrity": "sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==", - "dependencies": { - "is-obj": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/dot-prop/node_modules/is-obj": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-2.0.0.tgz", - "integrity": "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==", - "engines": { - "node": ">=8" - } - }, - "node_modules/dotenv": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/dotenv/-/dotenv-6.0.0.tgz", - "integrity": "sha512-FlWbnhgjtwD+uNLUGHbMykMOYQaTivdHEmYwAKFjn6GKe/CqY0fNae93ZHTd20snh9ZLr8mTzIL9m0APQ1pjQg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/dotenv-expand": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-4.2.0.tgz", - "integrity": "sha1-3vHxyl1gWdJKdm5YeULCEQbOEnU=" - }, - "node_modules/duplexer": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/duplexer/-/duplexer-0.1.2.tgz", - "integrity": "sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==" - }, - "node_modules/duplexify": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/duplexify/-/duplexify-3.7.1.tgz", - "integrity": "sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==", - "dependencies": { - "end-of-stream": "^1.0.0", - "inherits": "^2.0.1", - "readable-stream": "^2.0.0", - "stream-shift": "^1.0.0" - } - }, - "node_modules/duplexify/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/duplexify/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/duplexify/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/ecc-jsbn": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/ecc-jsbn/-/ecc-jsbn-0.1.2.tgz", - "integrity": "sha1-OoOpBOVDUyh4dMVkt1SThoSamMk=", - "dependencies": { - "jsbn": "~0.1.0", - "safer-buffer": "^2.1.0" - } - }, - "node_modules/ee-first": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/ee-first/-/ee-first-1.1.1.tgz", - "integrity": "sha1-WQxhFWsK4vTwJVcyoViyZrxWsh0=" - }, - "node_modules/electron-fetch": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/electron-fetch/-/electron-fetch-1.7.3.tgz", - "integrity": "sha512-1AVMaxrHXTTMqd7EK0MGWusdqNr07Rpj8Th6bG4at0oNgIi/1LBwa9CjT/0Zy+M0k/tSJPS04nFxHj0SXDVgVw==", - "dependencies": { - "encoding": "^0.1.13" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/electron-to-chromium": { - "version": "1.3.687", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.687.tgz", - "integrity": "sha512-IpzksdQNl3wdgkzf7dnA7/v10w0Utf1dF2L+B4+gKrloBrxCut+au+kky3PYvle3RMdSxZP+UiCZtLbcYRxSNQ==" - }, - "node_modules/elliptic": { - "version": "6.5.4", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.4.tgz", - "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" - } - }, - "node_modules/email-addresses": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/email-addresses/-/email-addresses-3.1.0.tgz", - "integrity": "sha512-k0/r7GrWVL32kZlGwfPNgB2Y/mMXVTq/decgLczm/j34whdaspNrZO8CnXPf1laaHxI6ptUlsnAxN+UAPw+fzg==", - "dev": true - }, - "node_modules/emoji-regex": { - "version": "6.5.1", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-6.5.1.tgz", - "integrity": "sha512-PAHp6TxrCy7MGMFidro8uikr+zlJJKJ/Q6mm2ExZ7HwkyR9lSVFfE3kt36qcwa24BQL7y0G9axycGjK1A/0uNQ==" - }, - "node_modules/emojis-list": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-3.0.0.tgz", - "integrity": "sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==", - "engines": { - "node": ">= 4" - } - }, - "node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/encoding": { - "version": "0.1.13", - "resolved": "https://registry.npmjs.org/encoding/-/encoding-0.1.13.tgz", - "integrity": "sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==", - "dependencies": { - "iconv-lite": "^0.6.2" - } - }, - "node_modules/end-of-stream": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", - "integrity": "sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==", - "dependencies": { - "once": "^1.4.0" - } - }, - "node_modules/enhanced-resolve": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/enhanced-resolve/-/enhanced-resolve-4.5.0.tgz", - "integrity": "sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg==", - "dependencies": { - "graceful-fs": "^4.1.2", - "memory-fs": "^0.5.0", - "tapable": "^1.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/enhanced-resolve/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/enhanced-resolve/node_modules/memory-fs": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.5.0.tgz", - "integrity": "sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA==", - "dependencies": { - "errno": "^0.1.3", - "readable-stream": "^2.0.1" - }, - "engines": { - "node": ">=4.3.0 <5.0.0 || >=5.10" - } - }, - "node_modules/enhanced-resolve/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/enhanced-resolve/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/entities": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz", - "integrity": "sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==", - "funding": { - "url": "https://github.com/fb55/entities?sponsor=1" - } - }, - "node_modules/err-code": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-2.0.3.tgz", - "integrity": "sha512-2bmlRpNKBxT/CRmPOlyISQpNj+qSeYvcym/uT0Jx2bMOlKLtSy1ZmLuVxSEKKyor/N5yhvp/ZiG1oE3DEYMSFA==" - }, - "node_modules/errno": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/errno/-/errno-0.1.8.tgz", - "integrity": "sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==", - "dependencies": { - "prr": "~1.0.1" - }, - "bin": { - "errno": "cli.js" - } - }, - "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dependencies": { - "is-arrayish": "^0.2.1" - } - }, - "node_modules/es-abstract": { - "version": "1.18.0", - "resolved": "https://registry.npmjs.org/es-abstract/-/es-abstract-1.18.0.tgz", - "integrity": "sha512-LJzK7MrQa8TS0ja2w3YNLzUgJCGPdPOV1yVvezjNnS89D+VR08+Szt2mz3YB2Dck/+w5tfIq/RoUAFqJJGM2yw==", - "dependencies": { - "call-bind": "^1.0.2", - "es-to-primitive": "^1.2.1", - "function-bind": "^1.1.1", - "get-intrinsic": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.2", - "is-callable": "^1.2.3", - "is-negative-zero": "^2.0.1", - "is-regex": "^1.1.2", - "is-string": "^1.0.5", - "object-inspect": "^1.9.0", - "object-keys": "^1.1.1", - "object.assign": "^4.1.2", - "string.prototype.trimend": "^1.0.4", - "string.prototype.trimstart": "^1.0.4", - "unbox-primitive": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "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/es5-ext": { - "version": "0.10.53", - "resolved": "https://registry.npmjs.org/es5-ext/-/es5-ext-0.10.53.tgz", - "integrity": "sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q==", - "dependencies": { - "es6-iterator": "~2.0.3", - "es6-symbol": "~3.1.3", - "next-tick": "~1.0.0" - } - }, - "node_modules/es6-iterator": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/es6-iterator/-/es6-iterator-2.0.3.tgz", - "integrity": "sha1-p96IkUGgWpSwhUQDstCg+/qY87c=", - "dependencies": { - "d": "1", - "es5-ext": "^0.10.35", - "es6-symbol": "^3.1.1" - } - }, - "node_modules/es6-symbol": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/es6-symbol/-/es6-symbol-3.1.3.tgz", - "integrity": "sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA==", - "dependencies": { - "d": "^1.0.1", - "ext": "^1.1.2" - } - }, - "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-html": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=" - }, - "node_modules/escape-string-regexp": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/escodegen": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.0.0.tgz", - "integrity": "sha512-mmHKys/C8BFUGI+MAWNcSYoORYLMdPzjrknd2Vc+bUsjN5bXcr8EhrNB+UTqfL1y3I9c4fw2ihgtMPQLBRiQxw==", - "dependencies": { - "esprima": "^4.0.1", - "estraverse": "^5.2.0", - "esutils": "^2.0.2", - "optionator": "^0.8.1" - }, - "bin": { - "escodegen": "bin/escodegen.js", - "esgenerate": "bin/esgenerate.js" - }, - "engines": { - "node": ">=6.0" - }, - "optionalDependencies": { - "source-map": "~0.6.1" - } - }, - "node_modules/escodegen/node_modules/estraverse": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", - "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", - "engines": { - "node": ">=4.0" - } - }, - "node_modules/escodegen/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/eslint": { - "version": "5.6.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-5.6.0.tgz", - "integrity": "sha512-/eVYs9VVVboX286mBK7bbKnO1yamUy2UCRjiY6MryhQL2PaaXCExsCQ2aO83OeYRhU2eCU/FMFP+tVMoOrzNrA==", - "dependencies": { - "@babel/code-frame": "^7.0.0", - "ajv": "^6.5.3", - "chalk": "^2.1.0", - "cross-spawn": "^6.0.5", - "debug": "^3.1.0", - "doctrine": "^2.1.0", - "eslint-scope": "^4.0.0", - "eslint-utils": "^1.3.1", - "eslint-visitor-keys": "^1.0.0", - "espree": "^4.0.0", - "esquery": "^1.0.1", - "esutils": "^2.0.2", - "file-entry-cache": "^2.0.0", - "functional-red-black-tree": "^1.0.1", - "glob": "^7.1.2", - "globals": "^11.7.0", - "ignore": "^4.0.6", - "imurmurhash": "^0.1.4", - "inquirer": "^6.1.0", - "is-resolvable": "^1.1.0", - "js-yaml": "^3.12.0", - "json-stable-stringify-without-jsonify": "^1.0.1", - "levn": "^0.3.0", - "lodash": "^4.17.5", - "minimatch": "^3.0.4", - "mkdirp": "^0.5.1", - "natural-compare": "^1.4.0", - "optionator": "^0.8.2", - "path-is-inside": "^1.0.2", - "pluralize": "^7.0.0", - "progress": "^2.0.0", - "regexpp": "^2.0.0", - "require-uncached": "^1.0.3", - "semver": "^5.5.1", - "strip-ansi": "^4.0.0", - "strip-json-comments": "^2.0.1", - "table": "^4.0.3", - "text-table": "^0.2.0" - }, - "bin": { - "eslint": "bin/eslint.js" - }, - "engines": { - "node": "^6.14.0 || ^8.10.0 || >=9.10.0" - } - }, - "node_modules/eslint-config-react-app": { - "version": "3.0.8", - "resolved": "https://registry.npmjs.org/eslint-config-react-app/-/eslint-config-react-app-3.0.8.tgz", - "integrity": "sha512-Ovi6Bva67OjXrom9Y/SLJRkrGqKhMAL0XCH8BizPhjEVEhYczl2ZKiNZI2CuqO5/CJwAfMwRXAVGY0KToWr1aA==", - "dependencies": { - "confusing-browser-globals": "^1.0.6" - }, - "peerDependencies": { - "babel-eslint": "9.x", - "eslint": "5.x", - "eslint-plugin-flowtype": "2.x", - "eslint-plugin-import": "2.x", - "eslint-plugin-jsx-a11y": "6.x", - "eslint-plugin-react": "7.x" - } - }, - "node_modules/eslint-import-resolver-node": { - "version": "0.3.4", - "resolved": "https://registry.npmjs.org/eslint-import-resolver-node/-/eslint-import-resolver-node-0.3.4.tgz", - "integrity": "sha512-ogtf+5AB/O+nM6DIeBUNr2fuT7ot9Qg/1harBfBtaP13ekEWFQEEMP94BCB7zaNW3gyY+8SHYF00rnqYwXKWOA==", - "dependencies": { - "debug": "^2.6.9", - "resolve": "^1.13.1" - } - }, - "node_modules/eslint-import-resolver-node/node_modules/resolve": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", - "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", - "dependencies": { - "is-core-module": "^2.2.0", - "path-parse": "^1.0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/eslint-loader": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/eslint-loader/-/eslint-loader-2.1.1.tgz", - "integrity": "sha512-1GrJFfSevQdYpoDzx8mEE2TDWsb/zmFuY09l6hURg1AeFIKQOvZ+vH0UPjzmd1CZIbfTV5HUkMeBmFiDBkgIsQ==", - "deprecated": "This loader has been deprecated. Please use eslint-webpack-plugin", - "dependencies": { - "loader-fs-cache": "^1.0.0", - "loader-utils": "^1.0.2", - "object-assign": "^4.0.1", - "object-hash": "^1.1.4", - "rimraf": "^2.6.1" - }, - "peerDependencies": { - "eslint": ">=1.6.0 <6.0.0", - "webpack": ">=2.0.0 <5.0.0" - } - }, - "node_modules/eslint-module-utils": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/eslint-module-utils/-/eslint-module-utils-2.6.0.tgz", - "integrity": "sha512-6j9xxegbqe8/kZY8cYpcp0xhbK0EgJlg3g9mib3/miLaExuuwc3n5UEfSnU6hWMbT0FAYVvDbL9RrRgpUeQIvA==", - "dependencies": { - "debug": "^2.6.9", - "pkg-dir": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint-plugin-flowtype": { - "version": "2.50.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-flowtype/-/eslint-plugin-flowtype-2.50.1.tgz", - "integrity": "sha512-9kRxF9hfM/O6WGZcZPszOVPd2W0TLHBtceulLTsGfwMPtiCCLnCW0ssRiOOiXyqrCA20pm1iXdXm7gQeN306zQ==", - "dependencies": { - "lodash": "^4.17.10" - }, - "engines": { - "node": ">=4" - }, - "peerDependencies": { - "eslint": ">=2.0.0" - } - }, - "node_modules/eslint-plugin-import": { - "version": "2.14.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.14.0.tgz", - "integrity": "sha512-FpuRtniD/AY6sXByma2Wr0TXvXJ4nA/2/04VPlfpmUDPOpOY264x+ILiwnrk/k4RINgDAyFZByxqPUbSQ5YE7g==", - "dependencies": { - "contains-path": "^0.1.0", - "debug": "^2.6.8", - "doctrine": "1.5.0", - "eslint-import-resolver-node": "^0.3.1", - "eslint-module-utils": "^2.2.0", - "has": "^1.0.1", - "lodash": "^4.17.4", - "minimatch": "^3.0.3", - "read-pkg-up": "^2.0.0", - "resolve": "^1.6.0" - }, - "engines": { - "node": ">=4" - }, - "peerDependencies": { - "eslint": "2.x - 5.x" - } - }, - "node_modules/eslint-plugin-import/node_modules/doctrine": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-1.5.0.tgz", - "integrity": "sha1-N53Ocw9hZvds76TmcHoVmwLFpvo=", - "dependencies": { - "esutils": "^2.0.2", - "isarray": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/eslint-plugin-import/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/eslint-plugin-jsx-a11y": { - "version": "6.1.2", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-6.1.2.tgz", - "integrity": "sha512-7gSSmwb3A+fQwtw0arguwMdOdzmKUgnUcbSNlo+GjKLAQFuC2EZxWqG9XHRI8VscBJD5a8raz3RuxQNFW+XJbw==", - "dependencies": { - "aria-query": "^3.0.0", - "array-includes": "^3.0.3", - "ast-types-flow": "^0.0.7", - "axobject-query": "^2.0.1", - "damerau-levenshtein": "^1.0.4", - "emoji-regex": "^6.5.1", - "has": "^1.0.3", - "jsx-ast-utils": "^2.0.1" - }, - "engines": { - "node": ">=4.0" - }, - "peerDependencies": { - "eslint": "^3 || ^4 || ^5" - } - }, - "node_modules/eslint-plugin-react": { - "version": "7.11.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-react/-/eslint-plugin-react-7.11.1.tgz", - "integrity": "sha512-cVVyMadRyW7qsIUh3FHp3u6QHNhOgVrLQYdQEB1bPWBsgbNCHdFAeNMquBMCcZJu59eNthX053L70l7gRt4SCw==", - "dependencies": { - "array-includes": "^3.0.3", - "doctrine": "^2.1.0", - "has": "^1.0.3", - "jsx-ast-utils": "^2.0.1", - "prop-types": "^15.6.2" - }, - "engines": { - "node": ">=4" - }, - "peerDependencies": { - "eslint": "^3.0.0 || ^4.0.0 || ^5.0.0" - } - }, - "node_modules/eslint-scope": { - "version": "3.7.1", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-3.7.1.tgz", - "integrity": "sha1-PWPD7f2gLgbgGkUq2IyqzHzctug=", - "dependencies": { - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/eslint-utils": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/eslint-utils/-/eslint-utils-1.4.3.tgz", - "integrity": "sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q==", - "dependencies": { - "eslint-visitor-keys": "^1.1.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/eslint-visitor-keys": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-1.3.0.tgz", - "integrity": "sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==", - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint/node_modules/ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint/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/node_modules/eslint-scope": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", - "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", - "dependencies": { - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/eslint/node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - }, - "node_modules/eslint/node_modules/strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dependencies": { - "ansi-regex": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/eslint/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/espree": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-4.1.0.tgz", - "integrity": "sha512-I5BycZW6FCVIub93TeVY1s7vjhP9CY6cXCznIRfiig7nRviKZYdRnj/sHEWC6A7WE9RDWOFq9+7OsWSYz8qv2w==", - "dependencies": { - "acorn": "^6.0.2", - "acorn-jsx": "^5.0.0", - "eslint-visitor-keys": "^1.0.0" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/esquery": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.4.0.tgz", - "integrity": "sha512-cCDispWt5vHHtwMY2YrAQ4ibFkAL8RbH5YGBnZBc90MolvvfkkQcJro/aZiAQUlQ3qgrYS6D6v8Gc5G5CQsc9w==", - "dependencies": { - "estraverse": "^5.1.0" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/esquery/node_modules/estraverse": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", - "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", - "engines": { - "node": ">=4.0" - } - }, - "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/esrecurse/node_modules/estraverse": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.2.0.tgz", - "integrity": "sha512-BxbNGGNm0RyRYvUdHpIwv9IWzeM9XClbOxwoATuFdOE7ZE6wHL+HQ5T8hoPM+zHvmKzzsEqhgy0GrQ5X13afiQ==", - "engines": { - "node": ">=4.0" - } - }, - "node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "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/etag": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", - "integrity": "sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/eth-ens-namehash": { - "version": "2.0.8", - "resolved": "https://registry.npmjs.org/eth-ens-namehash/-/eth-ens-namehash-2.0.8.tgz", - "integrity": "sha1-IprEbsqG1S4MmR58sq74P/D2i88=", - "dependencies": { - "idna-uts46-hx": "^2.3.1", - "js-sha3": "^0.5.7" - } - }, - "node_modules/eth-ens-namehash/node_modules/js-sha3": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz", - "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc=" - }, - "node_modules/eth-lib": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/eth-lib/-/eth-lib-0.2.8.tgz", - "integrity": "sha512-ArJ7x1WcWOlSpzdoTBX8vkwlkSQ85CjjifSZtV4co64vWxSV8geWfPI9x4SVYu3DSxnX4yWFVTtGL+j9DUFLNw==", - "dependencies": { - "bn.js": "^4.11.6", - "elliptic": "^6.4.0", - "xhr-request-promise": "^0.1.2" - } - }, - "node_modules/ethereum-common": { - "version": "0.0.18", - "resolved": "https://registry.npmjs.org/ethereum-common/-/ethereum-common-0.0.18.tgz", - "integrity": "sha1-L9w1dvIykDNYl26znaeDIT/5Uj8=" - }, - "node_modules/ethereum-cryptography": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/ethereum-cryptography/-/ethereum-cryptography-0.1.3.tgz", - "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" - } - }, - "node_modules/ethereum-cryptography/node_modules/keccak": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/keccak/-/keccak-3.0.1.tgz", - "integrity": "sha512-epq90L9jlFWCW7+pQa6JOnKn2Xgl2mtI664seYR6MHskvI9agt7AnDqmAlp9TqU4/caMYbA08Hi5DMZAl5zdkA==", - "hasInstallScript": true, - "dependencies": { - "node-addon-api": "^2.0.0", - "node-gyp-build": "^4.2.0" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/ethereumjs-tx": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/ethereumjs-tx/-/ethereumjs-tx-1.3.7.tgz", - "integrity": "sha512-wvLMxzt1RPhAQ9Yi3/HKZTn0FZYpnsmQdbKYfUUpi4j1SEIcbkd9tndVjcPrufY3V7j2IebOpC00Zp2P/Ay2kA==", - "dependencies": { - "ethereum-common": "^0.0.18", - "ethereumjs-util": "^5.0.0" - } - }, - "node_modules/ethereumjs-util": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/ethereumjs-util/-/ethereumjs-util-5.2.1.tgz", - "integrity": "sha512-v3kT+7zdyCm1HIqWlLNrHGqHGLpGYIhjeHxQjnDXjLT2FyGJDsd3LWMYUo7pAFRrk86CR3nUJfhC81CCoJNNGQ==", - "dependencies": { - "bn.js": "^4.11.0", - "create-hash": "^1.1.2", - "elliptic": "^6.5.2", - "ethereum-cryptography": "^0.1.3", - "ethjs-util": "^0.1.3", - "rlp": "^2.0.0", - "safe-buffer": "^5.1.1" - } - }, - "node_modules/ethers": { - "version": "4.0.48", - "resolved": "https://registry.npmjs.org/ethers/-/ethers-4.0.48.tgz", - "integrity": "sha512-sZD5K8H28dOrcidzx9f8KYh8083n5BexIO3+SbE4jK83L85FxtpXZBCQdXb8gkg+7sBqomcLhhkU7UHL+F7I2g==", - "dependencies": { - "aes-js": "3.0.0", - "bn.js": "^4.4.0", - "elliptic": "6.5.3", - "hash.js": "1.1.3", - "js-sha3": "0.5.7", - "scrypt-js": "2.0.4", - "setimmediate": "1.0.4", - "uuid": "2.0.1", - "xmlhttprequest": "1.8.0" - } - }, - "node_modules/ethers/node_modules/elliptic": { - "version": "6.5.3", - "resolved": "https://registry.npmjs.org/elliptic/-/elliptic-6.5.3.tgz", - "integrity": "sha512-IMqzv5wNQf+E6aHeIqATs0tOLeOTwj1QKbRcS3jBbYkl5oLAserA8yJTT7/VyHUYG91PRmPyeQDObKLPpeS4dw==", - "dependencies": { - "bn.js": "^4.4.0", - "brorand": "^1.0.1", - "hash.js": "^1.0.0", - "hmac-drbg": "^1.0.0", - "inherits": "^2.0.1", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.0" - } - }, - "node_modules/ethers/node_modules/hash.js": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.3.tgz", - "integrity": "sha512-/UETyP0W22QILqS+6HowevwhEFJ3MBJnwTf75Qob9Wz9t0DPuisL8kW8YZMK62dHAKE1c1p+gY1TtOLY+USEHA==", - "dependencies": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.0" - } - }, - "node_modules/ethers/node_modules/js-sha3": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.5.7.tgz", - "integrity": "sha1-DU/9gALVMzqrr0oj7tL2N0yfKOc=" - }, - "node_modules/ethers/node_modules/scrypt-js": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-2.0.4.tgz", - "integrity": "sha512-4KsaGcPnuhtCZQCxFxN3GVYIhKFPTdLd8PLC552XwbMndtD0cjRFAhDuuydXQ0h08ZfPgzqe6EKHozpuH74iDw==" - }, - "node_modules/ethers/node_modules/setimmediate": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.4.tgz", - "integrity": "sha1-IOgd5iLUoCWIzgyNqJc8vPHTE48=" - }, - "node_modules/ethers/node_modules/uuid": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-2.0.1.tgz", - "integrity": "sha1-wqMN7bPlNdcsz4LjQ5QaULqFM6w=" - }, - "node_modules/ethjs-unit": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/ethjs-unit/-/ethjs-unit-0.1.6.tgz", - "integrity": "sha1-xmWSHkduh7ziqdWIpv4EBbLEFpk=", - "dependencies": { - "bn.js": "4.11.6", - "number-to-bn": "1.7.0" - }, - "engines": { - "node": ">=6.5.0", - "npm": ">=3" - } - }, - "node_modules/ethjs-unit/node_modules/bn.js": { - "version": "4.11.6", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" - }, - "node_modules/ethjs-util": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/ethjs-util/-/ethjs-util-0.1.6.tgz", - "integrity": "sha512-CUnVOQq7gSpDHZVVrQW8ExxUETWrnrvXYvYz55wOU8Uj4VCgw56XC2B/fVqQN+f7gmrnRHSLVnFAwsCuNwji8w==", - "dependencies": { - "is-hex-prefixed": "1.0.0", - "strip-hex-prefix": "1.0.0" - }, - "engines": { - "node": ">=6.5.0", - "npm": ">=3" - } - }, - "node_modules/event-target-shim": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/event-target-shim/-/event-target-shim-5.0.1.tgz", - "integrity": "sha512-i/2XbnSz/uxRCU6+NdVJgKWDTM427+MqYbkQzD321DuCQJUqOuJKIA0IM2+W2xtYHdKOmZ4dR6fExsd4SXL+WQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/eventemitter3": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-3.1.0.tgz", - "integrity": "sha512-ivIvhpq/Y0uSjcHDcOIccjmYjGLcP09MFGE7ysAwkAvkXfpZlC985pH2/ui64DKazbTW/4kN3yqozUxlXzI6cA==" - }, - "node_modules/events": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/events/-/events-3.3.0.tgz", - "integrity": "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==", - "engines": { - "node": ">=0.8.x" - } - }, - "node_modules/eventsource": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/eventsource/-/eventsource-1.0.7.tgz", - "integrity": "sha512-4Ln17+vVT0k8aWq+t/bF5arcS3EpT9gYtW66EPacdj/mAFevznsnyoHLPy2BA8gbIQeIHoPsvwmfBftfcG//BQ==", - "dependencies": { - "original": "^1.0.0" - }, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/evp_bytestokey": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/evp_bytestokey/-/evp_bytestokey-1.0.3.tgz", - "integrity": "sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==", - "dependencies": { - "md5.js": "^1.3.4", - "safe-buffer": "^5.1.1" - } - }, - "node_modules/exec-sh": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/exec-sh/-/exec-sh-0.2.2.tgz", - "integrity": "sha512-FIUCJz1RbuS0FKTdaAafAByGS0CPvU3R0MeHxgtl+djzCc//F8HakL8GzmVNZanasTbTAY/3DRFA0KpVqj/eAw==", - "dependencies": { - "merge": "^1.2.0" - } - }, - "node_modules/execa": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-0.10.0.tgz", - "integrity": "sha512-7XOMnz8Ynx1gGo/3hyV9loYNPWM94jG3+3T3Y8tsfSstFmETmENCMU/A/zj8Lyaj1lkgEepKepvd6240tBRvlw==", - "dependencies": { - "cross-spawn": "^6.0.0", - "get-stream": "^3.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/exit": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", - "integrity": "sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=", - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/expand-brackets": { - "version": "2.1.4", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-2.1.4.tgz", - "integrity": "sha1-t3c14xXOMPa27/D4OwQVGiJEliI=", - "dependencies": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-brackets/node_modules/is-descriptor/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-range": { - "version": "1.8.2", - "resolved": "https://registry.npmjs.org/expand-range/-/expand-range-1.8.2.tgz", - "integrity": "sha1-opnv/TNf4nIeuujiV+x5ZE/IUzc=", - "dependencies": { - "fill-range": "^2.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-range/node_modules/fill-range": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-2.2.4.tgz", - "integrity": "sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q==", - "dependencies": { - "is-number": "^2.1.0", - "isobject": "^2.0.0", - "randomatic": "^3.0.0", - "repeat-element": "^1.1.2", - "repeat-string": "^1.5.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-range/node_modules/is-number": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-2.1.0.tgz", - "integrity": "sha1-Afy7s5NGOlSPL0ZszhbezknbkI8=", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expand-range/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/expand-range/node_modules/isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", - "dependencies": { - "isarray": "1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/expect": { - "version": "23.6.0", - "resolved": "https://registry.npmjs.org/expect/-/expect-23.6.0.tgz", - "integrity": "sha512-dgSoOHgmtn/aDGRVFWclQyPDKl2CQRq0hmIEoUAuQs/2rn2NcvCWcSCovm6BLeuB/7EZuLGu2QfnR+qRt5OM4w==", - "dependencies": { - "ansi-styles": "^3.2.0", - "jest-diff": "^23.6.0", - "jest-get-type": "^22.1.0", - "jest-matcher-utils": "^23.6.0", - "jest-message-util": "^23.4.0", - "jest-regex-util": "^23.3.0" - } - }, - "node_modules/expect/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/express": { - "version": "4.17.1", - "resolved": "https://registry.npmjs.org/express/-/express-4.17.1.tgz", - "integrity": "sha512-mHJ9O79RqluphRrcw2X/GTh3k9tVv8YcoyY4Kkh4WDMUYKRZUq0h1o0w2rrrxBqM7VoeUVqgb27xlEMXTnYt4g==", - "dependencies": { - "accepts": "~1.3.7", - "array-flatten": "1.1.1", - "body-parser": "1.19.0", - "content-disposition": "0.5.3", - "content-type": "~1.0.4", - "cookie": "0.4.0", - "cookie-signature": "1.0.6", - "debug": "2.6.9", - "depd": "~1.1.2", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "finalhandler": "~1.1.2", - "fresh": "0.5.2", - "merge-descriptors": "1.0.1", - "methods": "~1.1.2", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", - "proxy-addr": "~2.0.5", - "qs": "6.7.0", - "range-parser": "~1.2.1", - "safe-buffer": "5.1.2", - "send": "0.17.1", - "serve-static": "1.14.1", - "setprototypeof": "1.1.1", - "statuses": "~1.5.0", - "type-is": "~1.6.18", - "utils-merge": "1.0.1", - "vary": "~1.1.2" - }, - "engines": { - "node": ">= 0.10.0" - } - }, - "node_modules/express/node_modules/array-flatten": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/array-flatten/-/array-flatten-1.1.1.tgz", - "integrity": "sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=" - }, - "node_modules/express/node_modules/path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha1-32BBeABfUi8V60SQ5yR6G/qmf4w=" - }, - "node_modules/express/node_modules/qs": { - "version": "6.7.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.7.0.tgz", - "integrity": "sha512-VCdBRNFTX1fyE7Nb6FYoURo/SPe62QCaAyzJvUjwRaIsc+NePBEniHlvxFmmX56+HZphIGtV0XeCirBtpDrTyQ==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/ext": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/ext/-/ext-1.4.0.tgz", - "integrity": "sha512-Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A==", - "dependencies": { - "type": "^2.0.0" - } - }, - "node_modules/ext/node_modules/type": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/type/-/type-2.5.0.tgz", - "integrity": "sha512-180WMDQaIMm3+7hGXWf12GtdniDEy7nYcyFMKJn/eZz/6tSLXrUN9V0wKSbMjej0I1WHWbpREDEKHtqPQa9NNw==" - }, - "node_modules/extend": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", - "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==" - }, - "node_modules/extend-shallow": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-2.0.1.tgz", - "integrity": "sha1-Ua99YUrZqfYQ6huvu5idaxxWiQ8=", - "dependencies": { - "is-extendable": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/external-editor": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/external-editor/-/external-editor-3.1.0.tgz", - "integrity": "sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==", - "dependencies": { - "chardet": "^0.7.0", - "iconv-lite": "^0.4.24", - "tmp": "^0.0.33" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/external-editor/node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extglob": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-2.0.4.tgz", - "integrity": "sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==", - "dependencies": { - "array-unique": "^0.3.2", - "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extglob/node_modules/define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dependencies": { - "is-descriptor": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/extsprintf": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/extsprintf/-/extsprintf-1.3.0.tgz", - "integrity": "sha1-lpGEQOMEGnpBT4xS48V06zw+HgU=", - "engines": [ - "node >=0.6.0" - ] - }, - "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-fifo": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fast-fifo/-/fast-fifo-1.0.0.tgz", - "integrity": "sha512-4VEXmjxLj7sbs8J//cn2qhRap50dGzF5n8fjay8mau+Jn4hxSeR3xPFwxMaQq/pDaq7+KQk0PAbC2+nWDkJrmQ==" - }, - "node_modules/fast-glob": { - "version": "2.2.7", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-2.2.7.tgz", - "integrity": "sha512-g1KuQwHOZAmOZMuBtHdxDtju+T2RT8jgCC9aANsbpdiDDTSnjgfuVsIBNKbUeJI3oKMRExcfNDtJl4OhbffMsw==", - "dependencies": { - "@mrmlnc/readdir-enhanced": "^2.2.1", - "@nodelib/fs.stat": "^1.1.2", - "glob-parent": "^3.1.0", - "is-glob": "^4.0.0", - "merge2": "^1.2.3", - "micromatch": "^3.1.10" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "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": "sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=" - }, - "node_modules/fastparse": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/fastparse/-/fastparse-1.1.2.tgz", - "integrity": "sha512-483XLLxTVIwWK3QTrMGRqUfUpoOs/0hbQrl2oz4J0pAcm3A3bu84wxTFqGqkJzewCLdME38xJLJAxBABfQT8sQ==" - }, - "node_modules/faye-websocket": { - "version": "0.11.3", - "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.11.3.tgz", - "integrity": "sha512-D2y4bovYpzziGgbHYtGCMjlJM36vAl/y+xUyn1C+FVx8szd1E+86KwVw6XvYSzOP8iMpm1X0I4xJD+QtUb36OA==", - "dependencies": { - "websocket-driver": ">=0.5.1" - }, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/fb-watchman": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.1.tgz", - "integrity": "sha512-DkPJKQeY6kKwmuMretBhr7G6Vodr7bFwDYTXIkfG1gjvNpaxBTQV3PbXg6bR1c1UP4jPOX0jHUbbHANL9vRjVg==", - "dependencies": { - "bser": "2.1.1" - } - }, - "node_modules/fbjs": { - "version": "0.8.17", - "resolved": "https://registry.npmjs.org/fbjs/-/fbjs-0.8.17.tgz", - "integrity": "sha1-xNWY6taUkRJlPWWIsBpc3Nn5D90=", - "dependencies": { - "core-js": "^1.0.0", - "isomorphic-fetch": "^2.1.1", - "loose-envify": "^1.0.0", - "object-assign": "^4.1.0", - "promise": "^7.1.1", - "setimmediate": "^1.0.5", - "ua-parser-js": "^0.7.18" - } - }, - "node_modules/fbjs/node_modules/core-js": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-1.2.7.tgz", - "integrity": "sha1-ZSKUwUZR2yj6k70tX/KYOk8IxjY=", - "deprecated": "core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3." - }, - "node_modules/figgy-pudding": { - "version": "3.5.2", - "resolved": "https://registry.npmjs.org/figgy-pudding/-/figgy-pudding-3.5.2.tgz", - "integrity": "sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw==" - }, - "node_modules/figures": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/figures/-/figures-2.0.0.tgz", - "integrity": "sha1-OrGi0qYsi/tDGgyUy3l6L84nyWI=", - "dependencies": { - "escape-string-regexp": "^1.0.5" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/file-entry-cache": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-2.0.0.tgz", - "integrity": "sha1-w5KZDD5oR4PYOLjISkXYoEhFg2E=", - "dependencies": { - "flat-cache": "^1.2.1", - "object-assign": "^4.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/file-loader": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/file-loader/-/file-loader-2.0.0.tgz", - "integrity": "sha512-YCsBfd1ZGCyonOKLxPiKPdu+8ld9HAaMEvJewzz+b2eTF7uL5Zm/HdBF6FjCrpCMRq25Mi0U1gl4pwn2TlH7hQ==", - "dependencies": { - "loader-utils": "^1.0.2", - "schema-utils": "^1.0.0" - }, - "engines": { - "node": ">= 6.9.0 < 7.0.0 || >= 8.9.0" - }, - "peerDependencies": { - "webpack": "^2.0.0 || ^3.0.0 || ^4.0.0" - } - }, - "node_modules/file-uri-to-path": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz", - "integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==" - }, - "node_modules/filename-regex": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/filename-regex/-/filename-regex-2.0.1.tgz", - "integrity": "sha1-wcS5vuPglyXdsQa3XB4wH+LxiyY=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/filename-reserved-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/filename-reserved-regex/-/filename-reserved-regex-1.0.0.tgz", - "integrity": "sha1-5hz4BfDeHJhFZ9A4bcXfUO5a9+Q=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/filenamify": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/filenamify/-/filenamify-1.2.1.tgz", - "integrity": "sha1-qfL/0RxQO+0wABUCknI3jx8TZaU=", - "dev": true, - "dependencies": { - "filename-reserved-regex": "^1.0.0", - "strip-outer": "^1.0.0", - "trim-repeated": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/filenamify-url": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/filenamify-url/-/filenamify-url-1.0.0.tgz", - "integrity": "sha1-syvYExnvWGO3MHi+1Q9GpPeXX1A=", - "dev": true, - "dependencies": { - "filenamify": "^1.0.0", - "humanize-url": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/fileset": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/fileset/-/fileset-2.0.3.tgz", - "integrity": "sha1-jnVIqW08wjJ+5eZ0FocjozO7oqA=", - "dependencies": { - "glob": "^7.0.3", - "minimatch": "^3.0.3" - } - }, - "node_modules/filesize": { - "version": "3.6.1", - "resolved": "https://registry.npmjs.org/filesize/-/filesize-3.6.1.tgz", - "integrity": "sha512-7KjR1vv6qnicaPMi1iiTcI85CyYwRO/PSFCu6SvqL8jN2Wjt/NIYQTFtFs7fSDCYOstUkEWIQGFUg5YZQfjlcg==", - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/fill-range": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz", - "integrity": "sha1-1USBHUKPmOsGpj3EAtJAPDKMOPc=", - "dependencies": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/finalhandler": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.2.tgz", - "integrity": "sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA==", - "dependencies": { - "debug": "2.6.9", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "on-finished": "~2.3.0", - "parseurl": "~1.3.3", - "statuses": "~1.5.0", - "unpipe": "~1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/find-cache-dir": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-1.0.0.tgz", - "integrity": "sha1-kojj6ePMN0hxfTnq3hfPcfww7m8=", - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^1.0.0", - "pkg-dir": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/find-up": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-2.1.0.tgz", - "integrity": "sha1-RdG35QbHF93UgndaK3eSCjwMV6c=", - "dependencies": { - "locate-path": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/flat-cache": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-1.3.4.tgz", - "integrity": "sha512-VwyB3Lkgacfik2vhqR4uv2rvebqmDvFu4jlN/C1RzWoJEo8I7z4Q404oiqYCkq41mni8EzQnm95emU9seckwtg==", - "dependencies": { - "circular-json": "^0.3.1", - "graceful-fs": "^4.1.2", - "rimraf": "~2.6.2", - "write": "^0.2.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/flat-cache/node_modules/rimraf": { - "version": "2.6.3", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.6.3.tgz", - "integrity": "sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, - "node_modules/flatten": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/flatten/-/flatten-1.0.3.tgz", - "integrity": "sha512-dVsPA/UwQ8+2uoFe5GHtiBMu48dWLTdsuEd7CKGlZlD78r1TTWBvDuFaFGKCo/ZfEr95Uk56vZoX86OsHkUeIg==" - }, - "node_modules/flush-write-stream": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/flush-write-stream/-/flush-write-stream-1.1.1.tgz", - "integrity": "sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w==", - "dependencies": { - "inherits": "^2.0.3", - "readable-stream": "^2.3.6" - } - }, - "node_modules/flush-write-stream/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/flush-write-stream/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/flush-write-stream/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/follow-redirects": { - "version": "1.13.3", - "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.13.3.tgz", - "integrity": "sha512-DUgl6+HDzB0iEptNQEXLx/KhTmDb8tZUHSeLqpnjpknR70H0nC2t9N73BK6fN4hOvJ84pKlIQVQ4k5FFlBedKA==", - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/RubenVerborgh" - } - ], - "engines": { - "node": ">=4.0" - }, - "peerDependenciesMeta": { - "debug": { - "optional": true - } - } - }, - "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/for-in": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-1.0.2.tgz", - "integrity": "sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/for-own": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/for-own/-/for-own-0.1.5.tgz", - "integrity": "sha1-UmXGgaTylNq78XyVCbZ2OqhFEM4=", - "dependencies": { - "for-in": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/forever-agent": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/forever-agent/-/forever-agent-0.6.1.tgz", - "integrity": "sha1-+8cfDEGt6zf5bFd60e1C2P2sypE=", - "engines": { - "node": "*" - } - }, - "node_modules/fork-ts-checker-webpack-plugin-alt": { - "version": "0.4.14", - "resolved": "https://registry.npmjs.org/fork-ts-checker-webpack-plugin-alt/-/fork-ts-checker-webpack-plugin-alt-0.4.14.tgz", - "integrity": "sha512-s0wjOBuPdylMRBzZ4yO8LSJuzem3g0MYZFxsjRXrFDQyL5KJBVSq30+GoHM/t/r2CRU4tI6zi04sq6OXK0UYnw==", - "dependencies": { - "babel-code-frame": "^6.22.0", - "chalk": "^2.4.1", - "chokidar": "^2.0.4", - "lodash": "^4.17.11", - "micromatch": "^3.1.10", - "minimatch": "^3.0.4", - "resolve": "^1.5.0", - "tapable": "^1.0.0" - }, - "engines": { - "node": ">=6.11.5" - }, - "peerDependencies": { - "webpack": "^2.3.0 || ^3.0.0 || ^4.0.0" - } - }, - "node_modules/fork-ts-checker-webpack-plugin-alt/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/fork-ts-checker-webpack-plugin-alt/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/fork-ts-checker-webpack-plugin-alt/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/form-data": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-3.0.1.tgz", - "integrity": "sha512-RHkBKtLWUVwd7SqRIvCZMEvAMoGUp0XU+seQiZejj0COz3RI3hWP4sCv3gZWWLjJTd7rGwcsF5eKZGii0r/hbg==", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.8", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/forwarded": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/forwarded/-/forwarded-0.1.2.tgz", - "integrity": "sha1-mMI9qxF1ZXuMBXPozszZGw/xjIQ=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/fragment-cache": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/fragment-cache/-/fragment-cache-0.2.1.tgz", - "integrity": "sha1-QpD60n8T6Jvn8zeZxrxaCr//DRk=", - "dependencies": { - "map-cache": "^0.2.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/fresh": { - "version": "0.5.2", - "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", - "integrity": "sha1-PYyt2Q2XZWn6g1qx+OSyOhBWBac=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/from2": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/from2/-/from2-2.3.0.tgz", - "integrity": "sha1-i/tVAr3kpNNs/e6gB/zKIdfjgq8=", - "dependencies": { - "inherits": "^2.0.1", - "readable-stream": "^2.0.0" - } - }, - "node_modules/from2/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/from2/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/from2/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-9.1.0.tgz", - "integrity": "sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==", - "dependencies": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/fs-write-stream-atomic": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz", - "integrity": "sha1-tH31NJPvkR33VzHnCp3tAYnbQMk=", - "dependencies": { - "graceful-fs": "^4.1.2", - "iferr": "^0.1.5", - "imurmurhash": "^0.1.4", - "readable-stream": "1 || 2" - } - }, - "node_modules/fs-write-stream-atomic/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/fs-write-stream-atomic/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/fs-write-stream-atomic/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=" - }, - "node_modules/fsevents": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.4.tgz", - "integrity": "sha512-z8H8/diyk76B7q5wg+Ud0+CqzcAF3mBBI/bA5ne5zrRUUIvNkJY//D3BqyH571KuAC4Nr7Rw7CjWX4r0y9DvNg==", - "bundleDependencies": [ - "node-pre-gyp" - ], - "deprecated": "fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.", - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "dependencies": { - "nan": "^2.9.2", - "node-pre-gyp": "^0.10.0" - }, - "engines": { - "node": ">=0.8.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/functional-red-black-tree": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", - "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=" - }, - "node_modules/gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/get-caller-file": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.3.tgz", - "integrity": "sha512-3t6rVToeoZfYSGd8YoLFR2DJkiQrIiUrGcjvFX2mDw3bn6k2OtwHN0TNCLbBO+w8qTvimhDkv+LSscbJY1vE6w==" - }, - "node_modules/get-func-name": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", - "integrity": "sha1-6td0q+5y4gQJQzoGY2YCPdaIekE=", - "engines": { - "node": "*" - } - }, - "node_modules/get-intrinsic": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.1.1.tgz", - "integrity": "sha512-kWZrnVM42QCiEA2Ig1bG8zjoIMOgxWwYCEeNdwY6Tv/cOSeGpcoX4pXHfKUxNKVoArnrEr2e9srnAxxGIraS9Q==", - "dependencies": { - "function-bind": "^1.1.1", - "has": "^1.0.3", - "has-symbols": "^1.0.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/get-iterator": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/get-iterator/-/get-iterator-1.0.2.tgz", - "integrity": "sha512-v+dm9bNVfOYsY1OrhaCrmyOcYoSeVvbt+hHZ0Au+T+p1y+0Uyj9aMaGIeUTT6xdpRbWzDeYKvfOslPhggQMcsg==" - }, - "node_modules/get-own-enumerable-property-symbols": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/get-own-enumerable-property-symbols/-/get-own-enumerable-property-symbols-3.0.2.tgz", - "integrity": "sha512-I0UBV/XOz1XkIJHEUDMZAbzCThU/H8DxmSfmdGcKPnVhu2VfFqr34jr9777IyaTYvxjedWhqVIilEDsCdP5G6g==" - }, - "node_modules/get-stream": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-3.0.0.tgz", - "integrity": "sha1-jpQ9E1jcN1VQVOy+LtsFqhdO3hQ=", - "engines": { - "node": ">=4" - } - }, - "node_modules/get-value": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/get-value/-/get-value-2.0.6.tgz", - "integrity": "sha1-3BXKHGcjh8p2vTesCjlbogQqLCg=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/getpass": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/getpass/-/getpass-0.1.7.tgz", - "integrity": "sha1-Xv+OPmhNVprkyysSgmBOi6YhSfo=", - "dependencies": { - "assert-plus": "^1.0.0" - } - }, - "node_modules/gh-pages": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/gh-pages/-/gh-pages-3.1.0.tgz", - "integrity": "sha512-3b1rly9kuf3/dXsT8+ZxP0UhNLOo1CItj+3e31yUVcaph/yDsJ9RzD7JOw5o5zpBTJVQLlJAASNkUfepi9fe2w==", - "dev": true, - "dependencies": { - "async": "^2.6.1", - "commander": "^2.18.0", - "email-addresses": "^3.0.1", - "filenamify-url": "^1.0.0", - "find-cache-dir": "^3.3.1", - "fs-extra": "^8.1.0", - "globby": "^6.1.0" - }, - "bin": { - "gh-pages": "bin/gh-pages.js", - "gh-pages-clean": "bin/gh-pages-clean.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/gh-pages/node_modules/find-cache-dir": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-3.3.1.tgz", - "integrity": "sha512-t2GDMt3oGC/v+BMwzmllWDuJF/xcDtE5j/fCGbqDD7OLuJkj0cfh1YSA5VKPvwMeLFLNDBkwOKZ2X85jGLVftQ==", - "dev": true, - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^3.0.2", - "pkg-dir": "^4.1.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/avajs/find-cache-dir?sponsor=1" - } - }, - "node_modules/gh-pages/node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/gh-pages/node_modules/fs-extra": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-8.1.0.tgz", - "integrity": "sha512-yhlQgA6mnOJUKOsRUFsgJdQCvkKhcz8tlZG5HBQfReYZy46OwLcY+Zia0mtdHsOo9y/hP+CxMN0TU9QxoOtG4g==", - "dev": true, - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/gh-pages/node_modules/globby": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/globby/-/globby-6.1.0.tgz", - "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", - "dev": true, - "dependencies": { - "array-union": "^1.0.1", - "glob": "^7.0.3", - "object-assign": "^4.0.1", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/gh-pages/node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "dev": true, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/gh-pages/node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/gh-pages/node_modules/make-dir": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-3.1.0.tgz", - "integrity": "sha512-g3FeP20LNwhALb/6Cz6Dd4F2ngze0jz7tbzrD2wAV+o9FeNHe4rL+yK2md0J/fiSf1sa1ADhXqi5+oVwOM/eGw==", - "dev": true, - "dependencies": { - "semver": "^6.0.0" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/gh-pages/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/gh-pages/node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/gh-pages/node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/gh-pages/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==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/gh-pages/node_modules/pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/gh-pages/node_modules/pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "dependencies": { - "find-up": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/gh-pages/node_modules/semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/gh-pages/node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "dev": true, - "engines": { - "node": ">= 4.0.0" - } - }, - "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/glob-base": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/glob-base/-/glob-base-0.3.0.tgz", - "integrity": "sha1-27Fk9iIbHAscz4Kuoyi0l98Oo8Q=", - "dependencies": { - "glob-parent": "^2.0.0", - "is-glob": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/glob-base/node_modules/glob-parent": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-2.0.0.tgz", - "integrity": "sha1-gTg9ctsFT8zPUzbaqQLxgvbtuyg=", - "dependencies": { - "is-glob": "^2.0.0" - } - }, - "node_modules/glob-base/node_modules/is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/glob-base/node_modules/is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", - "dependencies": { - "is-extglob": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/glob-parent": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-3.1.0.tgz", - "integrity": "sha1-nmr2KZ2NO9K9QEMIMr0RPfkGxa4=", - "dependencies": { - "is-glob": "^3.1.0", - "path-dirname": "^1.0.0" - } - }, - "node_modules/glob-parent/node_modules/is-glob": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-3.1.0.tgz", - "integrity": "sha1-e6WuJCF4BKxwcHuWkiVnSGzD6Eo=", - "dependencies": { - "is-extglob": "^2.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/glob-to-regexp": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz", - "integrity": "sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs=" - }, - "node_modules/global": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/global/-/global-4.4.0.tgz", - "integrity": "sha512-wv/LAoHdRE3BeTGz53FAamhGlPLhlssK45usmGFThIi4XqnBmjKQ16u+RNbP7WvigRZDxUsM0J3gcQ5yicaL0w==", - "dependencies": { - "min-document": "^2.19.0", - "process": "^0.11.10" - } - }, - "node_modules/global-modules": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz", - "integrity": "sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==", - "dependencies": { - "global-prefix": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/global-prefix": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/global-prefix/-/global-prefix-3.0.0.tgz", - "integrity": "sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==", - "dependencies": { - "ini": "^1.3.5", - "kind-of": "^6.0.2", - "which": "^1.3.1" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/global-prefix/node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/globals": { - "version": "9.18.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-9.18.0.tgz", - "integrity": "sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/globalthis": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/globalthis/-/globalthis-1.0.2.tgz", - "integrity": "sha512-ZQnSFO1la8P7auIOQECnm0sSuoMeaSq0EEdXMBFF2QJO4uNcwbyhSgG3MruWNbFTqCLmxVwGOl7LZ9kASvHdeQ==", - "dependencies": { - "define-properties": "^1.1.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/globby": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/globby/-/globby-8.0.2.tgz", - "integrity": "sha512-yTzMmKygLp8RUpG1Ymu2VXPSJQZjNAZPD4ywgYEaG7e4tBJeUQBO8OpXrf1RCNcEs5alsoJYPAMiIHP0cmeC7w==", - "dependencies": { - "array-union": "^1.0.1", - "dir-glob": "2.0.0", - "fast-glob": "^2.0.2", - "glob": "^7.1.2", - "ignore": "^3.3.5", - "pify": "^3.0.0", - "slash": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/globby/node_modules/ignore": { - "version": "3.3.10", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-3.3.10.tgz", - "integrity": "sha512-Pgs951kaMm5GXP7MOvxERINe3gsaVjUWFm+UZPSq9xYriQAksyhg0csnS0KXSNRD5NmNdapXEpjxG49+AKh/ug==" - }, - "node_modules/graceful-fs": { - "version": "4.2.6", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.6.tgz", - "integrity": "sha512-nTnJ528pbqxYanhpDYsi4Rd8MAeaBA67+RZ10CM1m3bTAVFEDcd5AuA4a6W5YkGZ1iNXHzZz8T6TBKLeBuNriQ==" - }, - "node_modules/growl": { - "version": "1.10.3", - "resolved": "https://registry.npmjs.org/growl/-/growl-1.10.3.tgz", - "integrity": "sha512-hKlsbA5Vu3xsh1Cg3J7jSmX/WaW6A5oBeqzM88oNbCRQFz+zUaXm6yxS4RVytp1scBoJzSYl4YAEOQIt6O8V1Q==", - "engines": { - "node": ">=4.x" - } - }, - "node_modules/growly": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/growly/-/growly-1.3.0.tgz", - "integrity": "sha1-8QdIy+dq+WS3yWyTxrzCivEgwIE=" - }, - "node_modules/gud": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/gud/-/gud-1.0.0.tgz", - "integrity": "sha512-zGEOVKFM5sVPPrYs7J5/hYEw2Pof8KCyOwyhG8sAF26mCAeUFAcYPu1mwB7hhpIP29zOIBaDqwuHdLp0jvZXjw==" - }, - "node_modules/gzip-size": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/gzip-size/-/gzip-size-5.0.0.tgz", - "integrity": "sha512-5iI7omclyqrnWw4XbXAmGhPsABkSIDQonv2K0h61lybgofWa6iZyvrI3r2zsJH4P8Nb64fFVzlvfhs0g7BBxAA==", - "dependencies": { - "duplexer": "^0.1.1", - "pify": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/h2x-core": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/h2x-core/-/h2x-core-1.1.1.tgz", - "integrity": "sha512-LdXe4Irs731knLtHgLyFrnJCumfiqXXQwKN1IMUhi37li29PLfLbMDvfK7Rk4wmgHLKP+sIITT1mcJV4QsC3nw==", - "dependencies": { - "h2x-generate": "^1.1.0", - "h2x-parse": "^1.1.1", - "h2x-traverse": "^1.1.0" - } - }, - "node_modules/h2x-generate": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/h2x-generate/-/h2x-generate-1.1.0.tgz", - "integrity": "sha512-L7Hym0yb20QIjvqeULUPOeh/cyvScdOAyJ6oRlh5dF0+w92hf3OiTk1q15KBijde7jGEe+0R4aOmtW8gkPNIzg==", - "dependencies": { - "h2x-traverse": "^1.1.0" - } - }, - "node_modules/h2x-parse": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/h2x-parse/-/h2x-parse-1.1.1.tgz", - "integrity": "sha512-WRSmPF+tIWuUXVEZaYRhcZx/JGEJx8LjZpDDtrvMr5m/GTR0NerydCik5dRzcKXPWCtfXxuJRLR4v2P4HB2B1A==", - "dependencies": { - "h2x-types": "^1.1.0", - "jsdom": ">=11.0.0" - } - }, - "node_modules/h2x-plugin-jsx": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/h2x-plugin-jsx/-/h2x-plugin-jsx-1.2.0.tgz", - "integrity": "sha512-a7Vb3BHhJJq0dPDNdqguEyQirENkVsFtvM2YkiaT5h/fmGhmM1nDy3BLeJeSKi2tL2g9v4ykm2Z+GG9QrhDgPA==", - "dependencies": { - "h2x-types": "^1.1.0" - } - }, - "node_modules/h2x-traverse": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/h2x-traverse/-/h2x-traverse-1.1.0.tgz", - "integrity": "sha512-1ND8ZbISLSUgpLHYJRvhvElITvs0g44L7RxjeXViz5XP6rooa+FtXTFLByl2Yg01zj2txubifHIuU4pgvj8l+A==", - "dependencies": { - "h2x-types": "^1.1.0" - } - }, - "node_modules/h2x-types": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/h2x-types/-/h2x-types-1.1.0.tgz", - "integrity": "sha512-QdH5qfLcdF209UsCdM0ZNZ9Dwm2PHvMfeLZtivBrjX3Y/df4US2pwsUC4HBfWhye/mx/t6puODeC7Oacb/Ol8g==" - }, - "node_modules/handle-thing": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/handle-thing/-/handle-thing-2.0.1.tgz", - "integrity": "sha512-9Qn4yBxelxoh2Ow62nP+Ka/kMnOXRi8BXnRaUwezLNhqelnN49xKz4F/dPP8OYLxLxq6JDtZb2i9XznUQbNPTg==" - }, - "node_modules/handlebars": { - "version": "4.7.7", - "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.7.tgz", - "integrity": "sha512-aAcXm5OAfE/8IXkcZvCepKU3VzW1/39Fb5ZuqMtgI/hT8X2YgoMvBY5dLhq/cpOvw7Lk1nK/UF71aLG/ZnVYRA==", - "dependencies": { - "minimist": "^1.2.5", - "neo-async": "^2.6.0", - "source-map": "^0.6.1", - "wordwrap": "^1.0.0" - }, - "bin": { - "handlebars": "bin/handlebars" - }, - "engines": { - "node": ">=0.4.7" - }, - "optionalDependencies": { - "uglify-js": "^3.1.4" - } - }, - "node_modules/handlebars/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/har-schema": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/har-schema/-/har-schema-2.0.0.tgz", - "integrity": "sha1-qUwiJOvKwEeCoNkDVSHyRzW37JI=", - "engines": { - "node": ">=4" - } - }, - "node_modules/har-validator": { - "version": "5.1.5", - "resolved": "https://registry.npmjs.org/har-validator/-/har-validator-5.1.5.tgz", - "integrity": "sha512-nmT2T0lljbxdQZfspsno9hgrG3Uir6Ks5afism62poxqBM6sDnMEuPmzTq8XN0OEwqKLLdh1jQI3qyE66Nzb3w==", - "deprecated": "this library is no longer supported", - "dependencies": { - "ajv": "^6.12.3", - "har-schema": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/harmony-reflect": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/harmony-reflect/-/harmony-reflect-1.6.1.tgz", - "integrity": "sha512-WJTeyp0JzGtHcuMsi7rw2VwtkvLa+JyfEKJCFyfcS0+CDkjQ5lHPu7zEhFZP+PDSRrEgXa5Ah0l1MbgbE41XjA==" - }, - "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-ansi": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-ansi/-/has-ansi-2.0.0.tgz", - "integrity": "sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE=", - "dependencies": { - "ansi-regex": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-bigints": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/has-bigints/-/has-bigints-1.0.1.tgz", - "integrity": "sha512-LSBS2LjbNBTf6287JEbEzvJgftkF5qFkmCo9hDRpAzKhUOlJ+hx8dd4USs00SgsUNwc4617J9ki5YtEClM2ffA==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-flag": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-3.0.0.tgz", - "integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0=", - "engines": { - "node": ">=4" - } - }, - "node_modules/has-symbols": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", - "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/has-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", - "integrity": "sha1-GLKB2lhbHFxR3vJMkw7SmgvmsXc=", - "dependencies": { - "get-value": "^2.0.6", - "has-values": "^1.0.0", - "isobject": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-values": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-1.0.0.tgz", - "integrity": "sha1-lbC2P+whRmGab+V/51Yo1aOe/k8=", - "dependencies": { - "is-number": "^3.0.0", - "kind-of": "^4.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/has-values/node_modules/kind-of": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-4.0.0.tgz", - "integrity": "sha1-IIE989cSkosgc3hpGkUGb65y3Vc=", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/hash-base": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/hash-base/-/hash-base-3.1.0.tgz", - "integrity": "sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==", - "dependencies": { - "inherits": "^2.0.4", - "readable-stream": "^3.6.0", - "safe-buffer": "^5.2.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/hash-base/node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "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/hash.js": { - "version": "1.1.7", - "resolved": "https://registry.npmjs.org/hash.js/-/hash.js-1.1.7.tgz", - "integrity": "sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==", - "dependencies": { - "inherits": "^2.0.3", - "minimalistic-assert": "^1.0.1" - } - }, - "node_modules/he": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/he/-/he-1.2.0.tgz", - "integrity": "sha512-F/1DnUGPopORZi0ni+CvrCgHQ5FyEAHRLSApuYWMmrbSwoN2Mn/7k+Gl38gJnR7yyDZk6WLXwiGod1JOWNDKGw==", - "bin": { - "he": "bin/he" - } - }, - "node_modules/hex-color-regex": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/hex-color-regex/-/hex-color-regex-1.1.0.tgz", - "integrity": "sha512-l9sfDFsuqtOqKDsQdqrMRk0U85RZc0RtOR9yPI7mRVOa4FsR/BVnZ0shmQRM96Ji99kYZP/7hn1cedc1+ApsTQ==" - }, - "node_modules/history": { - "version": "4.10.1", - "resolved": "https://registry.npmjs.org/history/-/history-4.10.1.tgz", - "integrity": "sha512-36nwAD620w12kuzPAsyINPWJqlNbij+hpK1k9XRloDtym8mxzGYl2c17LnV6IAGB2Dmg4tEa7G7DlawS0+qjew==", - "dependencies": { - "@babel/runtime": "^7.1.2", - "loose-envify": "^1.2.0", - "resolve-pathname": "^3.0.0", - "tiny-invariant": "^1.0.2", - "tiny-warning": "^1.0.0", - "value-equal": "^1.0.1" - } - }, - "node_modules/hmac-drbg": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/hmac-drbg/-/hmac-drbg-1.0.1.tgz", - "integrity": "sha1-0nRXAQJabHdabFRXk+1QL8DGSaE=", - "dependencies": { - "hash.js": "^1.0.3", - "minimalistic-assert": "^1.0.0", - "minimalistic-crypto-utils": "^1.0.1" - } - }, - "node_modules/hoek": { - "version": "4.2.1", - "resolved": "https://registry.npmjs.org/hoek/-/hoek-4.2.1.tgz", - "integrity": "sha512-QLg82fGkfnJ/4iy1xZ81/9SIJiq1NGFUMGs6ParyjBZr6jW2Ufj/snDqTHixNlHdPNwN2RLVD0Pi3igeK9+JfA==", - "deprecated": "This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).", - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/hoist-non-react-statics": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz", - "integrity": "sha512-/gGivxi8JPKWNm/W0jSmzcMPpfpPLc3dY/6GxhX2hQ9iGj3aDfklV4ET7NjKpSinLpJ5vafa9iiGIEZg10SfBw==", - "dependencies": { - "react-is": "^16.7.0" - } - }, - "node_modules/home-or-tmp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/home-or-tmp/-/home-or-tmp-2.0.0.tgz", - "integrity": "sha1-42w/LSyufXRqhX440Y1fMqeILbg=", - "dependencies": { - "os-homedir": "^1.0.0", - "os-tmpdir": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/hoopy": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/hoopy/-/hoopy-0.1.4.tgz", - "integrity": "sha512-HRcs+2mr52W0K+x8RzcLzuPPmVIKMSv97RGHy0Ea9y/mpcaK+xTrjICA04KAHi4GRzxliNqNJEFYWHghy3rSfQ==", - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/hosted-git-info": { - "version": "2.8.8", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-2.8.8.tgz", - "integrity": "sha512-f/wzC2QaWBs7t9IYqB4T3sR1xviIViXJRJTWBlx2Gf3g0Xi5vI7Yy4koXQ1c9OYDGHN9sBy1DQ2AB8fqZBWhUg==" - }, - "node_modules/hpack.js": { - "version": "2.1.6", - "resolved": "https://registry.npmjs.org/hpack.js/-/hpack.js-2.1.6.tgz", - "integrity": "sha1-h3dMCUnlE/QuhFdbPEVoH63ioLI=", - "dependencies": { - "inherits": "^2.0.1", - "obuf": "^1.0.0", - "readable-stream": "^2.0.1", - "wbuf": "^1.1.0" - } - }, - "node_modules/hpack.js/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/hpack.js/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/hpack.js/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/hsl-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/hsl-regex/-/hsl-regex-1.0.0.tgz", - "integrity": "sha1-1JMwx4ntgZ4nakwNJy3/owsY/m4=" - }, - "node_modules/hsla-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/hsla-regex/-/hsla-regex-1.0.0.tgz", - "integrity": "sha1-wc56MWjIxmFAM6S194d/OyJfnDg=" - }, - "node_modules/html-comment-regex": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/html-comment-regex/-/html-comment-regex-1.1.2.tgz", - "integrity": "sha512-P+M65QY2JQ5Y0G9KKdlDpo0zK+/OHptU5AaBwUfAIDJZk1MYf32Frm84EcOytfJE0t5JvkAnKlmjsXDnWzCJmQ==" - }, - "node_modules/html-encoding-sniffer": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-2.0.1.tgz", - "integrity": "sha512-D5JbOMBIR/TVZkubHT+OyT2705QvogUW4IBn6nHd756OwieSF9aDYFj4dv6HHEVGYbHaLETa3WggZYWWMyy3ZQ==", - "dependencies": { - "whatwg-encoding": "^1.0.5" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/html-entities": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/html-entities/-/html-entities-1.4.0.tgz", - "integrity": "sha512-8nxjcBcd8wovbeKx7h3wTji4e6+rhaVuPNpMqwWgnHh+N9ToqsCs6XztWRBPQ+UtzsoMAdKZtUENoVzU/EMtZA==" - }, - "node_modules/html-minifier": { - "version": "3.5.21", - "resolved": "https://registry.npmjs.org/html-minifier/-/html-minifier-3.5.21.tgz", - "integrity": "sha512-LKUKwuJDhxNa3uf/LPR/KVjm/l3rBqtYeCOAekvG8F1vItxMUpueGd94i/asDDr8/1u7InxzFA5EeGjhhG5mMA==", - "dependencies": { - "camel-case": "3.0.x", - "clean-css": "4.2.x", - "commander": "2.17.x", - "he": "1.2.x", - "param-case": "2.1.x", - "relateurl": "0.2.x", - "uglify-js": "3.4.x" - }, - "bin": { - "html-minifier": "cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/html-minifier/node_modules/commander": { - "version": "2.17.1", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.17.1.tgz", - "integrity": "sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==" - }, - "node_modules/html-webpack-plugin": { - "version": "4.0.0-alpha.2", - "resolved": "https://registry.npmjs.org/html-webpack-plugin/-/html-webpack-plugin-4.0.0-alpha.2.tgz", - "integrity": "sha512-tyvhjVpuGqD7QYHi1l1drMQTg5i+qRxpQEGbdnYFREgOKy7aFDf/ocQ/V1fuEDlQx7jV2zMap3Hj2nE9i5eGXw==", - "deprecated": "please switch to a stable version", - "dependencies": { - "@types/tapable": "1.0.2", - "html-minifier": "^3.2.3", - "loader-utils": "^1.1.0", - "lodash": "^4.17.10", - "pretty-error": "^2.0.2", - "tapable": "^1.0.0", - "util.promisify": "1.0.0" - }, - "engines": { - "node": ">=6.9" - }, - "peerDependencies": { - "webpack": "^4.0.0" - } - }, - "node_modules/html-webpack-plugin/node_modules/util.promisify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.0.tgz", - "integrity": "sha512-i+6qA2MPhvoKLuxnJNpXAGhg7HphQOSUq2LKMZD0m15EiskXUkMvKdF4Uui0WYeCUGea+o2cw/ZuwehtfsrNkA==", - "dependencies": { - "define-properties": "^1.1.2", - "object.getownpropertydescriptors": "^2.0.3" - } - }, - "node_modules/htmlparser2": { - "version": "3.10.1", - "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-3.10.1.tgz", - "integrity": "sha512-IgieNijUMbkDovyoKObU1DUhm1iwNYE/fuifEoEHfd1oZKZDaONBSkal7Y01shxsM49R4XaMdGez3WnF9UfiCQ==", - "dependencies": { - "domelementtype": "^1.3.1", - "domhandler": "^2.3.0", - "domutils": "^1.5.1", - "entities": "^1.1.1", - "inherits": "^2.0.1", - "readable-stream": "^3.1.1" - } - }, - "node_modules/htmlparser2/node_modules/entities": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/entities/-/entities-1.1.2.tgz", - "integrity": "sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==" - }, - "node_modules/http-deceiver": { - "version": "1.2.7", - "resolved": "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz", - "integrity": "sha1-+nFolEq5pRnTN8sL7HKE3D5yPYc=" - }, - "node_modules/http-errors": { - "version": "1.7.2", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.7.2.tgz", - "integrity": "sha512-uUQBt3H/cSIVfch6i1EuPNy/YsRSOUBXTVfZ+yR7Zjez3qjBz6i9+i4zjNaoqcoFVI4lQJ5plg63TvGfRSDCRg==", - "dependencies": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.1", - "statuses": ">= 1.5.0 < 2", - "toidentifier": "1.0.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/http-errors/node_modules/inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - }, - "node_modules/http-parser-js": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/http-parser-js/-/http-parser-js-0.5.3.tgz", - "integrity": "sha512-t7hjvef/5HEK7RWTdUzVUhl8zkEu+LlaE0IYzdMuvbSDipxBRpOn4Uhw8ZyECEa808iVT8XCjzo6xmYt4CiLZg==" - }, - "node_modules/http-proxy": { - "version": "1.18.1", - "resolved": "https://registry.npmjs.org/http-proxy/-/http-proxy-1.18.1.tgz", - "integrity": "sha512-7mz/721AbnJwIVbnaSv1Cz3Am0ZLT/UBwkC92VlxhXv/k/BBQfM2fXElQNC27BVGr0uwUpplYPQM9LnaBMR5NQ==", - "dependencies": { - "eventemitter3": "^4.0.0", - "follow-redirects": "^1.0.0", - "requires-port": "^1.0.0" - }, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/http-proxy-middleware": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/http-proxy-middleware/-/http-proxy-middleware-0.18.0.tgz", - "integrity": "sha512-Fs25KVMPAIIcgjMZkVHJoKg9VcXcC1C8yb9JUgeDvVXY0S/zgVIhMb+qVswDIgtJe2DfckMSY2d6TuTEutlk6Q==", - "dependencies": { - "http-proxy": "^1.16.2", - "is-glob": "^4.0.0", - "lodash": "^4.17.5", - "micromatch": "^3.1.9" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/http-proxy/node_modules/eventemitter3": { - "version": "4.0.7", - "resolved": "https://registry.npmjs.org/eventemitter3/-/eventemitter3-4.0.7.tgz", - "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==" - }, - "node_modules/http-signature": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/http-signature/-/http-signature-1.2.0.tgz", - "integrity": "sha1-muzZJRFHcvPZW2WmCruPfBj7rOE=", - "dependencies": { - "assert-plus": "^1.0.0", - "jsprim": "^1.2.2", - "sshpk": "^1.7.0" - }, - "engines": { - "node": ">=0.8", - "npm": ">=1.3.7" - } - }, - "node_modules/https-browserify": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/https-browserify/-/https-browserify-1.0.0.tgz", - "integrity": "sha1-7AbBDgo0wPL68Zn3/X/Hj//QPHM=" - }, - "node_modules/humanize-url": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/humanize-url/-/humanize-url-1.0.1.tgz", - "integrity": "sha1-9KuZ4NKIF0yk4eUEB8VfuuRk7/8=", - "dev": true, - "dependencies": { - "normalize-url": "^1.0.0", - "strip-url-auth": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/humanize-url/node_modules/normalize-url": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-1.9.1.tgz", - "integrity": "sha1-LMDWazHqIwNkWENuNiDYWVTGbDw=", - "dev": true, - "dependencies": { - "object-assign": "^4.0.1", - "prepend-http": "^1.0.0", - "query-string": "^4.1.0", - "sort-keys": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/humanize-url/node_modules/query-string": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/query-string/-/query-string-4.3.4.tgz", - "integrity": "sha1-u7aTucqRXCMlFbIosaArYJBD2+s=", - "dev": true, - "dependencies": { - "object-assign": "^4.1.0", - "strict-uri-encode": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/iconv-lite": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.2.tgz", - "integrity": "sha512-2y91h5OpQlolefMPmUlivelittSWy0rP+oYVpn6A7GwVHNE8AWzoYOBNmlwks3LobaJxgHCYZAnyNo2GgpNRNQ==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/icss-replace-symbols": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/icss-replace-symbols/-/icss-replace-symbols-1.1.0.tgz", - "integrity": "sha1-Bupvg2ead0njhs/h/oEq5dsiPe0=" - }, - "node_modules/icss-utils": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/icss-utils/-/icss-utils-2.1.0.tgz", - "integrity": "sha1-g/Cg7DeL8yRheLbCrZE28TWxyWI=", - "dependencies": { - "postcss": "^6.0.1" - } - }, - "node_modules/identity-obj-proxy": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/identity-obj-proxy/-/identity-obj-proxy-3.0.0.tgz", - "integrity": "sha1-lNK9qWCERT7zb7xarsN+D3nx/BQ=", - "dependencies": { - "harmony-reflect": "^1.4.6" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/idna-uts46-hx": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/idna-uts46-hx/-/idna-uts46-hx-2.3.1.tgz", - "integrity": "sha512-PWoF9Keq6laYdIRwwCdhTPl60xRqAloYNMQLiyUnG42VjT53oW07BXIRM+NK7eQjzXjAk2gUvX9caRxlnF9TAA==", - "dependencies": { - "punycode": "2.1.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/idna-uts46-hx/node_modules/punycode": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.0.tgz", - "integrity": "sha1-X4Y+3Im5bbCQdLrXlHvwkFbKTn0=", - "engines": { - "node": ">=6" - } - }, - "node_modules/ieee754": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/ieee754/-/ieee754-1.2.1.tgz", - "integrity": "sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==", - "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/iferr": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/iferr/-/iferr-0.1.5.tgz", - "integrity": "sha1-xg7taebY/bazEEofy8ocGS3FtQE=" - }, - "node_modules/ignore": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", - "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==", - "engines": { - "node": ">= 4" - } - }, - "node_modules/immer": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/immer/-/immer-1.10.0.tgz", - "integrity": "sha512-O3sR1/opvCDGLEVcvrGTMtLac8GJ5IwZC4puPrLuRj3l7ICKvkmA0vGuU9OW8mV9WIBRnaxp5GJh9IEAaNOoYg==" - }, - "node_modules/import-cwd": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/import-cwd/-/import-cwd-2.1.0.tgz", - "integrity": "sha1-qmzzbnInYShcs3HsZRn1PiQ1sKk=", - "dependencies": { - "import-from": "^2.1.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/import-fresh": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-2.0.0.tgz", - "integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=", - "dependencies": { - "caller-path": "^2.0.0", - "resolve-from": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/import-from": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/import-from/-/import-from-2.1.0.tgz", - "integrity": "sha1-M1238qev/VOqpHHUuAId7ja387E=", - "dependencies": { - "resolve-from": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/import-local": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-1.0.0.tgz", - "integrity": "sha512-vAaZHieK9qjGo58agRBg+bhHX3hoTZU/Oa3GESWLz7t1U62fk63aHuDJJEteXoDeTCcPmUT+z38gkHPZkkmpmQ==", - "dependencies": { - "pkg-dir": "^2.0.0", - "resolve-cwd": "^2.0.0" - }, - "bin": { - "import-local-fixture": "fixtures/cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha1-khi5srkoojixPcT7a21XbyMUU+o=", - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/indexes-of": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/indexes-of/-/indexes-of-1.0.1.tgz", - "integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc=" - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=", - "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/ini": { - "version": "1.3.8", - "resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz", - "integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==" - }, - "node_modules/inquirer": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.5.2.tgz", - "integrity": "sha512-cntlB5ghuB0iuO65Ovoi8ogLHiWGs/5yNrtUcKjFhSSiVeAIVpD7koaSU9RM8mpXw5YDi9RdYXGQMaOURB7ycQ==", - "dependencies": { - "ansi-escapes": "^3.2.0", - "chalk": "^2.4.2", - "cli-cursor": "^2.1.0", - "cli-width": "^2.0.0", - "external-editor": "^3.0.3", - "figures": "^2.0.0", - "lodash": "^4.17.12", - "mute-stream": "0.0.7", - "run-async": "^2.2.0", - "rxjs": "^6.4.0", - "string-width": "^2.1.0", - "strip-ansi": "^5.1.0", - "through": "^2.3.6" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/inquirer/node_modules/ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/inquirer/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/inquirer/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/inquirer/node_modules/strip-ansi": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.2.0.tgz", - "integrity": "sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==", - "dependencies": { - "ansi-regex": "^4.1.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/inquirer/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/internal-ip": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/internal-ip/-/internal-ip-3.0.1.tgz", - "integrity": "sha512-NXXgESC2nNVtU+pqmC9e6R8B1GpKxzsAQhffvh5AL79qKnodd+L7tnEQmTiUAVngqLalPbSqRA7XGIEL5nCd0Q==", - "os": [ - "android", - "darwin", - "freebsd", - "linux", - "openbsd", - "sunos", - "win32" - ], - "dependencies": { - "default-gateway": "^2.6.0", - "ipaddr.js": "^1.5.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/invariant": { - "version": "2.2.4", - "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", - "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", - "dependencies": { - "loose-envify": "^1.0.0" - } - }, - "node_modules/invert-kv": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-2.0.0.tgz", - "integrity": "sha512-wPVv/y/QQ/Uiirj/vh3oP+1Ww+AWehmi1g5fFWGPF6IpCBCDVrhgHRMvrLfdYcwDh3QJbGXDW4JAuzxElLSqKA==", - "engines": { - "node": ">=4" - } - }, - "node_modules/ip": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/ip/-/ip-1.1.5.tgz", - "integrity": "sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=" - }, - "node_modules/ip-regex": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ip-regex/-/ip-regex-4.3.0.tgz", - "integrity": "sha512-B9ZWJxHHOHUhUjCPrMpLD4xEq35bUTClHM1S6CBU5ixQnkZmwipwgc96vAd7AAGM9TGHvJR+Uss+/Ak6UphK+Q==", - "engines": { - "node": ">=8" - } - }, - "node_modules/ipaddr.js": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/ipaddr.js/-/ipaddr.js-1.9.1.tgz", - "integrity": "sha512-0KI/607xoxSToH7GjN1FfSbLoU0+btTicjsQSWQlh/hZykN8KpmMf7uYwPW3R+akZ6R/w18ZlXSHBYXiYUPO3g==", - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/ipfs-core-types": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/ipfs-core-types/-/ipfs-core-types-0.3.1.tgz", - "integrity": "sha512-xPBsowS951RsuskMo86AWz9y4ReaBot1YsjOhZvKl8ORd8taxIBTT72LnEPwIZ2G24U854Zjxvd/qUMqO14ivg==", - "dependencies": { - "cids": "^1.1.5", - "multiaddr": "^8.0.0", - "peer-id": "^0.14.1" - } - }, - "node_modules/ipfs-core-utils": { - "version": "0.7.2", - "resolved": "https://registry.npmjs.org/ipfs-core-utils/-/ipfs-core-utils-0.7.2.tgz", - "integrity": "sha512-d7T72GxvhNN+tEHsJjxI5Y4LQVdMMbSwNbWB6nVsIHUEdwm3w85L2u1E/ctNd9aaNGvoBwEcnIZhSmqhMf7stw==", - "dependencies": { - "any-signal": "^2.1.2", - "blob-to-it": "^1.0.1", - "browser-readablestream-to-it": "^1.0.1", - "cids": "^1.1.5", - "err-code": "^2.0.3", - "ipfs-core-types": "^0.3.1", - "ipfs-utils": "^6.0.1", - "it-all": "^1.0.4", - "it-map": "^1.0.4", - "it-peekable": "^1.0.1", - "multiaddr": "^8.0.0", - "multiaddr-to-uri": "^6.0.0", - "parse-duration": "^0.4.4", - "timeout-abort-controller": "^1.1.1", - "uint8arrays": "^2.1.3" - } - }, - "node_modules/ipfs-http-client": { - "version": "49.0.4", - "resolved": "https://registry.npmjs.org/ipfs-http-client/-/ipfs-http-client-49.0.4.tgz", - "integrity": "sha512-qgWbkcB4glQrUkE2tZR+GVXyrO6aJyspWBjyct/6TzrhCHx7evjz+kUTK+wNm4S9zccUePEml5VNZUmUhoQtbA==", - "dependencies": { - "abort-controller": "^3.0.0", - "any-signal": "^2.1.2", - "bignumber.js": "^9.0.1", - "cids": "^1.1.5", - "debug": "^4.1.1", - "form-data": "^3.0.0", - "ipfs-core-types": "^0.3.1", - "ipfs-core-utils": "^0.7.2", - "ipfs-utils": "^6.0.1", - "ipld-block": "^0.11.0", - "ipld-dag-cbor": "^0.17.0", - "ipld-dag-pb": "^0.20.0", - "ipld-raw": "^6.0.0", - "it-last": "^1.0.4", - "it-map": "^1.0.4", - "it-tar": "^1.2.2", - "it-to-stream": "^0.1.2", - "merge-options": "^3.0.4", - "multiaddr": "^8.0.0", - "multibase": "^4.0.2", - "multicodec": "^3.0.1", - "multihashes": "^4.0.2", - "nanoid": "^3.1.12", - "native-abort-controller": "^1.0.3", - "parse-duration": "^0.4.4", - "stream-to-it": "^0.2.2", - "uint8arrays": "^2.1.3" - }, - "engines": { - "node": ">=10.3.0", - "npm": ">=3.0.0" - } - }, - "node_modules/ipfs-http-client/node_modules/debug": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", - "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/ipfs-http-client/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/ipfs-utils": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ipfs-utils/-/ipfs-utils-6.0.1.tgz", - "integrity": "sha512-u6fJDi/LpCEj96JM//cdDWJV44YR7jLdxQ6I0d8Hj/BCPIQPTWsjQeSppKxudMjYRpX4kzdv9WxrNM8dc4rtlQ==", - "dependencies": { - "abort-controller": "^3.0.0", - "any-signal": "^2.1.0", - "buffer": "^6.0.1", - "electron-fetch": "^1.7.2", - "err-code": "^2.0.3", - "fs-extra": "^9.0.1", - "is-electron": "^2.2.0", - "iso-url": "^1.0.0", - "it-glob": "0.0.10", - "it-to-stream": "^0.1.2", - "merge-options": "^3.0.4", - "nanoid": "^3.1.20", - "native-abort-controller": "^1.0.3", - "native-fetch": "2.0.1", - "node-fetch": "^2.6.1", - "stream-to-it": "^0.2.2", - "web-encoding": "^1.0.6" - } - }, - "node_modules/ipld-block": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/ipld-block/-/ipld-block-0.11.1.tgz", - "integrity": "sha512-sDqqLqD5qh4QzGq6ssxLHUCnH4emCf/8F8IwjQM2cjEEIEHMUj57XhNYgmGbemdYPznUhffxFGEHsruh5+HQRw==", - "dependencies": { - "cids": "^1.0.0" - }, - "engines": { - "node": ">=6.0.0", - "npm": ">=3.0.0" - } - }, - "node_modules/ipld-dag-cbor": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/ipld-dag-cbor/-/ipld-dag-cbor-0.17.1.tgz", - "integrity": "sha512-Bakj/cnxQBdscORyf4LRHxQJQfoaY8KWc7PWROQgX+aw5FCzBt8ga0VM/59K+ABOznsqNvyLR/wz/oYImOpXJw==", - "dependencies": { - "borc": "^2.1.2", - "cids": "^1.0.0", - "is-circular": "^1.0.2", - "multicodec": "^3.0.1", - "multihashing-async": "^2.0.0", - "uint8arrays": "^2.1.3" - }, - "engines": { - "node": ">=6.0.0", - "npm": ">=3.0.0" - } - }, - "node_modules/ipld-dag-pb": { - "version": "0.20.0", - "resolved": "https://registry.npmjs.org/ipld-dag-pb/-/ipld-dag-pb-0.20.0.tgz", - "integrity": "sha512-zfM0EdaolqNjAxIrtpuGKvXxWk5YtH9jKinBuQGTcngOsWFQhyybGCTJHGNGGtRjHNJi2hz5Udy/8pzv4kcKyg==", - "dependencies": { - "cids": "^1.0.0", - "class-is": "^1.1.0", - "multicodec": "^2.0.0", - "multihashing-async": "^2.0.0", - "protons": "^2.0.0", - "reset": "^0.1.0", - "run": "^1.4.0", - "stable": "^0.1.8", - "uint8arrays": "^1.0.0" - }, - "engines": { - "node": ">=6.0.0", - "npm": ">=3.0.0" - } - }, - "node_modules/ipld-dag-pb/node_modules/multibase": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/multibase/-/multibase-3.1.2.tgz", - "integrity": "sha512-bpklWHs70LO3smJUHOjcnzGceJJvn9ui0Vau6Za0B/GBepaXswmW8Ufea0uD9pROf/qCQ4N4lZ3sf3U+SNf0tw==", - "dependencies": { - "@multiformats/base-x": "^4.0.1", - "web-encoding": "^1.0.6" - }, - "engines": { - "node": ">=10.0.0", - "npm": ">=6.0.0" - } - }, - "node_modules/ipld-dag-pb/node_modules/multicodec": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-2.1.3.tgz", - "integrity": "sha512-0tOH2Gtio39uO41o+2xl9UhRkCWxU5ZmZSbFCh/OjGzkWJI8e6lkN/s4Mj1YfyWoBod+2+S3W+6wO6nhkwN8pA==", - "dependencies": { - "uint8arrays": "1.1.0", - "varint": "^6.0.0" - } - }, - "node_modules/ipld-dag-pb/node_modules/uint8arrays": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-1.1.0.tgz", - "integrity": "sha512-cLdlZ6jnFczsKf5IH1gPHTtcHtPGho5r4CvctohmQjw8K7Q3gFdfIGHxSTdTaCKrL4w09SsPRJTqRS0drYeszA==", - "dependencies": { - "multibase": "^3.0.0", - "web-encoding": "^1.0.2" - } - }, - "node_modules/ipld-dag-pb/node_modules/varint": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/varint/-/varint-6.0.0.tgz", - "integrity": "sha512-cXEIW6cfr15lFv563k4GuVuW/fiwjknytD37jIOLSdSWuOI6WnO/oKwmP2FQTU2l01LP8/M5TSAJpzUaGe3uWg==" - }, - "node_modules/ipld-raw": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/ipld-raw/-/ipld-raw-6.0.0.tgz", - "integrity": "sha512-UK7fjncAzs59iu/o2kwYtb8jgTtW6B+cNWIiNpAJkfRwqoMk1xD/6i25ktzwe4qO8gQgoR9RxA5ibC23nq8BLg==", - "dependencies": { - "cids": "^1.0.0", - "multicodec": "^2.0.0", - "multihashing-async": "^2.0.0" - } - }, - "node_modules/ipld-raw/node_modules/multibase": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/multibase/-/multibase-3.1.2.tgz", - "integrity": "sha512-bpklWHs70LO3smJUHOjcnzGceJJvn9ui0Vau6Za0B/GBepaXswmW8Ufea0uD9pROf/qCQ4N4lZ3sf3U+SNf0tw==", - "dependencies": { - "@multiformats/base-x": "^4.0.1", - "web-encoding": "^1.0.6" - }, - "engines": { - "node": ">=10.0.0", - "npm": ">=6.0.0" - } - }, - "node_modules/ipld-raw/node_modules/multicodec": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-2.1.3.tgz", - "integrity": "sha512-0tOH2Gtio39uO41o+2xl9UhRkCWxU5ZmZSbFCh/OjGzkWJI8e6lkN/s4Mj1YfyWoBod+2+S3W+6wO6nhkwN8pA==", - "dependencies": { - "uint8arrays": "1.1.0", - "varint": "^6.0.0" - } - }, - "node_modules/ipld-raw/node_modules/uint8arrays": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-1.1.0.tgz", - "integrity": "sha512-cLdlZ6jnFczsKf5IH1gPHTtcHtPGho5r4CvctohmQjw8K7Q3gFdfIGHxSTdTaCKrL4w09SsPRJTqRS0drYeszA==", - "dependencies": { - "multibase": "^3.0.0", - "web-encoding": "^1.0.2" - } - }, - "node_modules/ipld-raw/node_modules/varint": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/varint/-/varint-6.0.0.tgz", - "integrity": "sha512-cXEIW6cfr15lFv563k4GuVuW/fiwjknytD37jIOLSdSWuOI6WnO/oKwmP2FQTU2l01LP8/M5TSAJpzUaGe3uWg==" - }, - "node_modules/is-absolute-url": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-absolute-url/-/is-absolute-url-2.1.0.tgz", - "integrity": "sha1-UFMN+4T8yap9vnhS6Do3uTufKqY=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-accessor-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz", - "integrity": "sha512-m5hnHTkcVsPfqx3AKlyttIPb7J+XykHvJP2B9bZDjlhLIoEq4XoK64Vg7boZlVWYK6LUY94dYPEE7Lh0ZkZKcQ==", - "dependencies": { - "kind-of": "^6.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-accessor-descriptor/node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-arguments": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-arguments/-/is-arguments-1.1.0.tgz", - "integrity": "sha512-1Ij4lOMPl/xB5kBDn7I+b2ttPMKa8szhEIrXDuXQD/oe3HJLTLhqhgGspwgyGd6MOywBUqVvYicF72lkgDnIHg==", - "dependencies": { - "call-bind": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0=" - }, - "node_modules/is-bigint": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-bigint/-/is-bigint-1.0.1.tgz", - "integrity": "sha512-J0ELF4yHFxHy0cmSxZuheDOz2luOdVvqjwmEcj8H/L1JHeuEDSDbeRP+Dk9kFVk5RTFzbucJ2Kb9F7ixY2QaCg==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-binary-path": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-binary-path/-/is-binary-path-1.0.1.tgz", - "integrity": "sha1-dfFmQrSA8YenEcgUFh/TpKdlWJg=", - "dependencies": { - "binary-extensions": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-boolean-object": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-boolean-object/-/is-boolean-object-1.1.0.tgz", - "integrity": "sha512-a7Uprx8UtD+HWdyYwnD1+ExtTgqQtD2k/1yJgtXP6wnMm8byhkoTZRl+95LLThpzNZJ5aEvi46cdH+ayMFRwmA==", - "dependencies": { - "call-bind": "^1.0.0" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-buffer": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/is-buffer/-/is-buffer-1.1.6.tgz", - "integrity": "sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==" - }, - "node_modules/is-callable": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/is-callable/-/is-callable-1.2.3.tgz", - "integrity": "sha512-J1DcMe8UYTBSrKezuIUTUwjXsho29693unXM2YhJUTR2txK/eG47bvNa/wipPFmZFgr/N6f1GA66dv0mEyTIyQ==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-ci": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/is-ci/-/is-ci-1.2.1.tgz", - "integrity": "sha512-s6tfsaQaQi3JNciBH6shVqEDvhGut0SUXr31ag8Pd8BBbVVlcGfWhpPmEOoM6RJ5TFhbypvf5yyRw/VXW1IiWg==", - "dependencies": { - "ci-info": "^1.5.0" - }, - "bin": { - "is-ci": "bin.js" - } - }, - "node_modules/is-circular": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-circular/-/is-circular-1.0.2.tgz", - "integrity": "sha512-YttjnrswnUYRVJvxCvu8z+PGMUSzC2JttP0OEXezlAEdp3EXzhf7IZ3j0gRAybJBQupedIZFhY61Tga6E0qASA==" - }, - "node_modules/is-color-stop": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-color-stop/-/is-color-stop-1.1.0.tgz", - "integrity": "sha1-z/9HGu5N1cnhWFmPvhKWe1za00U=", - "dependencies": { - "css-color-names": "^0.0.4", - "hex-color-regex": "^1.1.0", - "hsl-regex": "^1.0.0", - "hsla-regex": "^1.0.0", - "rgb-regex": "^1.0.1", - "rgba-regex": "^1.0.0" - } - }, - "node_modules/is-core-module": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.2.0.tgz", - "integrity": "sha512-XRAfAdyyY5F5cOXn7hYQDqh2Xmii+DEfIcQGxK/uNwMHhIkPWO0g8msXcbzLe+MpGoR951MlqM/2iIlU4vKDdQ==", - "dependencies": { - "has": "^1.0.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-data-descriptor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz", - "integrity": "sha512-jbRXy1FmtAoCjQkVmIVYwuuqDFUbaOeDjmed1tOGPrsMhtJA4rD9tkgA0F1qJ3gRFRXcHYVkdeaP50Q5rE/jLQ==", - "dependencies": { - "kind-of": "^6.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-data-descriptor/node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-date-object": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-date-object/-/is-date-object-1.0.2.tgz", - "integrity": "sha512-USlDT524woQ08aoZFzh3/Z6ch9Y/EWXEHQ/AaRN0SkKq4t2Jw2R2339tSXmwuVoY7LLlBCbOIlx2myP/L5zk0g==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-descriptor": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-1.0.2.tgz", - "integrity": "sha512-2eis5WqQGV7peooDyLmNEPUrps9+SXX5c9pL3xEB+4e9HnGuDa7mB7kHxHw4CbqS9k1T2hOH3miL8n8WtiYVtg==", - "dependencies": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-descriptor/node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-directory": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/is-directory/-/is-directory-0.3.1.tgz", - "integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-dotfile": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-dotfile/-/is-dotfile-1.0.3.tgz", - "integrity": "sha1-pqLzL/0t+wT1yiXs0Pa4PPeYoeE=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-electron": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/is-electron/-/is-electron-2.2.0.tgz", - "integrity": "sha512-SpMppC2XR3YdxSzczXReBjqs2zGscWQpBIKqwXYBFic0ERaxNVgwLCHwOLZeESfdJQjX0RDvrJ1lBXX2ij+G1Q==" - }, - "node_modules/is-equal-shallow": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/is-equal-shallow/-/is-equal-shallow-0.1.3.tgz", - "integrity": "sha1-IjgJj8Ih3gvPpdnqxMRdY4qhxTQ=", - "dependencies": { - "is-primitive": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-extendable": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-0.1.1.tgz", - "integrity": "sha1-YrEQ4omkcUGOPsNqYX1HLjAd/Ik=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-extglob": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", - "integrity": "sha1-qIwCU1eR8C7TfHahueqXc8gz+MI=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-finite": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-finite/-/is-finite-1.1.0.tgz", - "integrity": "sha512-cdyMtqX/BOqqNBBiKlIVkytNHm49MtMlYyn1zxzvJKWmFMlGzm+ry5BBfYyeY9YmNKbRSo/o7OX9w9ale0wg3w==", - "engines": { - "node": ">=0.10.0" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz", - "integrity": "sha1-o7MKXE8ZkYMWeqq5O+764937ZU8=", - "engines": { - "node": ">=4" - } - }, - "node_modules/is-function": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-function/-/is-function-1.0.2.tgz", - "integrity": "sha512-lw7DUp0aWXYg+CBCN+JKkcE0Q2RayZnSvnZBlwgxHBQhqt5pZNVy4Ri7H9GmmXkdu7LUthszM+Tor1u/2iBcpQ==" - }, - "node_modules/is-generator-fn": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-1.0.0.tgz", - "integrity": "sha1-lp1J4bszKfa7fwkIm+JleLLd1Go=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-glob": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.1.tgz", - "integrity": "sha512-5G0tKtBTFImOqDnLB2hG6Bp2qcKEFduo4tZu9MT/H6NQv/ghhy30o55ufafxJ/LdH79LLs2Kfrn85TLKyA7BUg==", - "dependencies": { - "is-extglob": "^2.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-hex-prefixed": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-hex-prefixed/-/is-hex-prefixed-1.0.0.tgz", - "integrity": "sha1-fY035q135dEnFIkTxXPggtd39VQ=", - "engines": { - "node": ">=6.5.0", - "npm": ">=3" - } - }, - "node_modules/is-ip": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/is-ip/-/is-ip-3.1.0.tgz", - "integrity": "sha512-35vd5necO7IitFPjd/YBeqwWnyDWbuLH9ZXQdMfDA8TEo7pv5X8yfrvVO3xbJbLUlERCMvf6X0hTUamQxCYJ9Q==", - "dependencies": { - "ip-regex": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-negative-zero": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-negative-zero/-/is-negative-zero-2.0.1.tgz", - "integrity": "sha512-2z6JzQvZRa9A2Y7xC6dQQm4FSTSTNWjKIYYTt4246eMTJmIo0Q+ZyOsU66X8lxK1AbB92dFeglPLrhwpeRKO6w==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-number": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-3.0.0.tgz", - "integrity": "sha1-JP1iAaR4LPUFYcgQJ2r8fRLXEZU=", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-number-object": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/is-number-object/-/is-number-object-1.0.4.tgz", - "integrity": "sha512-zohwelOAur+5uXtk8O3GPQ1eAcu4ZX3UwxQhUlfFFMNpUd83gXgjbhJh6HmB6LUNV/ieOLQuDwJO3dWJosUeMw==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-obj": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-obj/-/is-obj-1.0.1.tgz", - "integrity": "sha1-PkcprB9f3gJc19g6iW2rn09n2w8=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-path-cwd": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-path-cwd/-/is-path-cwd-1.0.0.tgz", - "integrity": "sha1-0iXsIxMuie3Tj9p2dHLmLmXxEG0=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-path-in-cwd": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-path-in-cwd/-/is-path-in-cwd-1.0.1.tgz", - "integrity": "sha512-FjV1RTW48E7CWM7eE/J2NJvAEEVektecDBVBE5Hh3nM1Jd0kvhHtX68Pr3xsDf857xt3Y4AkwVULK1Vku62aaQ==", - "dependencies": { - "is-path-inside": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-path-inside": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-path-inside/-/is-path-inside-1.0.1.tgz", - "integrity": "sha1-jvW33lBDej/cprToZe96pVy0gDY=", - "dependencies": { - "path-is-inside": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-plain-obj": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-2.1.0.tgz", - "integrity": "sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==", - "engines": { - "node": ">=8" - } - }, - "node_modules/is-plain-object": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/is-plain-object/-/is-plain-object-2.0.4.tgz", - "integrity": "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==", - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-posix-bracket": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz", - "integrity": "sha1-MzTceXdDaOkvAW5vvAqI9c1ua8Q=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-potential-custom-element-name": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.0.tgz", - "integrity": "sha1-DFLlS8yjkbssSUsh6GJtczbG45c=" - }, - "node_modules/is-primitive": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-primitive/-/is-primitive-2.0.0.tgz", - "integrity": "sha1-IHurkWOEmcB7Kt8kCkGochADRXU=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-regex": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/is-regex/-/is-regex-1.1.2.tgz", - "integrity": "sha512-axvdhb5pdhEVThqJzYXwMlVuZwC+FF2DpcOhTS+y/8jVq4trxyPgfcwIxIKiyeuLlSQYKkmUaPQJ8ZE4yNKXDg==", - "dependencies": { - "call-bind": "^1.0.2", - "has-symbols": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-regexp": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-regexp/-/is-regexp-1.0.0.tgz", - "integrity": "sha1-/S2INUXEa6xaYz57mgnof6LLUGk=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-resolvable": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-resolvable/-/is-resolvable-1.1.0.tgz", - "integrity": "sha512-qgDYXFSR5WvEfuS5dMj6oTMEbrrSaM0CrFk2Yiq/gXnBvD9pMa2jGXxyhGLfvhZpuMZe18CJpFxAt3CRs42NMg==" - }, - "node_modules/is-root": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/is-root/-/is-root-2.0.0.tgz", - "integrity": "sha512-F/pJIk8QD6OX5DNhRB7hWamLsUilmkDGho48KbgZ6xg/lmAZXHxzXQ91jzB3yRSw5kdQGGGc4yz8HYhTYIMWPg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/is-stream": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz", - "integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-string": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/is-string/-/is-string-1.0.5.tgz", - "integrity": "sha512-buY6VNRjhQMiF1qWDouloZlQbRhDPCebwxSjxMjxgemYT46YMd2NR0/H+fBhEfWX4A/w9TBJ+ol+okqJKFE6vQ==", - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-svg": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-svg/-/is-svg-3.0.0.tgz", - "integrity": "sha512-gi4iHK53LR2ujhLVVj+37Ykh9GLqYHX6JOVXbLAucaG/Cqw9xwdFOjDM2qeifLs1sF1npXXFvDu0r5HNgCMrzQ==", - "dependencies": { - "html-comment-regex": "^1.1.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/is-symbol": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/is-symbol/-/is-symbol-1.0.3.tgz", - "integrity": "sha512-OwijhaRSgqvhm/0ZdAcXNZt9lYdKFpcRDT5ULUuYXPoT794UNOdU+gpT6Rzo7b4V2HUl/op6GqY894AZwv9faQ==", - "dependencies": { - "has-symbols": "^1.0.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-typedarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz", - "integrity": "sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=" - }, - "node_modules/is-utf8": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-utf8/-/is-utf8-0.2.1.tgz", - "integrity": "sha1-Sw2hRCEE0bM2NA6AeX6GXPOffXI=" - }, - "node_modules/is-windows": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/is-windows/-/is-windows-1.0.2.tgz", - "integrity": "sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/is-wsl": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-wsl/-/is-wsl-1.1.0.tgz", - "integrity": "sha1-HxbkqiKwTRM2tmGIpmrzxgDDpm0=", - "engines": { - "node": ">=4" - } - }, - "node_modules/isarray": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", - "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=" - }, - "node_modules/isemail": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/isemail/-/isemail-3.2.0.tgz", - "integrity": "sha512-zKqkK+O+dGqevc93KNsbZ/TqTUFd46MwWjYOoMrjIMZ51eU7DtQG3Wmd9SQQT7i7RVnuTPEiYEWHU3MSbxC1Tg==", - "dependencies": { - "punycode": "2.x.x" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=" - }, - "node_modules/iso-constants": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/iso-constants/-/iso-constants-0.1.2.tgz", - "integrity": "sha512-OTCM5ZCQsHBCI4Wdu4tSxvDIkmDHd5EwJDps5mKqnQnWJSKlnwMs3EDZ4n3Fh1tmkWkDlyd2vCDbEYuPbyrUNQ==", - "hasInstallScript": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/iso-random-stream": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/iso-random-stream/-/iso-random-stream-1.1.1.tgz", - "integrity": "sha512-YEt/7xOwTdu4KXIgtdgGFkiLUsBaddbnkmHyaFdjJYIcD7V4gpQHPvYC5tyh3kA0PQ01y9lWm1ruVdf8Mqzovg==", - "dependencies": { - "buffer": "^5.4.3", - "readable-stream": "^3.4.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/iso-random-stream/node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "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": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "node_modules/iso-url": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/iso-url/-/iso-url-1.1.4.tgz", - "integrity": "sha512-Gzsd4pb2WAkobYj8cgAdoBYuRsC9O4dFlqjFcNZ1AdIlEzDXacP3SLbc4fOdvn2atKSVmRhGXYasCUmB8119ew==", - "engines": { - "node": ">=14" - } - }, - "node_modules/isobject": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-3.0.1.tgz", - "integrity": "sha1-TkMekrEalzFjaqH5yNHMvP2reN8=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/isomorphic-fetch": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz", - "integrity": "sha1-YRrhrPFPXoH3KVB0coGf6XM1WKk=", - "dependencies": { - "node-fetch": "^1.0.1", - "whatwg-fetch": ">=0.10.0" - } - }, - "node_modules/isomorphic-fetch/node_modules/node-fetch": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-1.7.3.tgz", - "integrity": "sha512-NhZ4CsKx7cYm2vSrBAr2PvFOe6sWDf0UYLRqA6svUYg7+/TSfVAu49jYC4BvQ4Sms9SZgdqGBgroqfDhJdTyKQ==", - "dependencies": { - "encoding": "^0.1.11", - "is-stream": "^1.0.1" - } - }, - "node_modules/isstream": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/isstream/-/isstream-0.1.2.tgz", - "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=" - }, - "node_modules/istanbul-api": { - "version": "1.3.7", - "resolved": "https://registry.npmjs.org/istanbul-api/-/istanbul-api-1.3.7.tgz", - "integrity": "sha512-4/ApBnMVeEPG3EkSzcw25wDe4N66wxwn+KKn6b47vyek8Xb3NBAcg4xfuQbS7BqcZuTX4wxfD5lVagdggR3gyA==", - "dependencies": { - "async": "^2.1.4", - "fileset": "^2.0.2", - "istanbul-lib-coverage": "^1.2.1", - "istanbul-lib-hook": "^1.2.2", - "istanbul-lib-instrument": "^1.10.2", - "istanbul-lib-report": "^1.1.5", - "istanbul-lib-source-maps": "^1.2.6", - "istanbul-reports": "^1.5.1", - "js-yaml": "^3.7.0", - "mkdirp": "^0.5.1", - "once": "^1.4.0" - } - }, - "node_modules/istanbul-lib-coverage": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-1.2.1.tgz", - "integrity": "sha512-PzITeunAgyGbtY1ibVIUiV679EFChHjoMNRibEIobvmrCRaIgwLxNucOSimtNWUhEib/oO7QY2imD75JVgCJWQ==" - }, - "node_modules/istanbul-lib-hook": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/istanbul-lib-hook/-/istanbul-lib-hook-1.2.2.tgz", - "integrity": "sha512-/Jmq7Y1VeHnZEQ3TL10VHyb564mn6VrQXHchON9Jf/AEcmQ3ZIiyD1BVzNOKTZf/G3gE+kiGK6SmpF9y3qGPLw==", - "dependencies": { - "append-transform": "^0.4.0" - } - }, - "node_modules/istanbul-lib-instrument": { - "version": "1.10.2", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-1.10.2.tgz", - "integrity": "sha512-aWHxfxDqvh/ZlxR8BBaEPVSWDPUkGD63VjGQn3jcw8jCp7sHEMKcrj4xfJn/ABzdMEHiQNyvDQhqm5o8+SQg7A==", - "dependencies": { - "babel-generator": "^6.18.0", - "babel-template": "^6.16.0", - "babel-traverse": "^6.18.0", - "babel-types": "^6.18.0", - "babylon": "^6.18.0", - "istanbul-lib-coverage": "^1.2.1", - "semver": "^5.3.0" - } - }, - "node_modules/istanbul-lib-report": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-1.1.5.tgz", - "integrity": "sha512-UsYfRMoi6QO/doUshYNqcKJqVmFe9w51GZz8BS3WB0lYxAllQYklka2wP9+dGZeHYaWIdcXUx8JGdbqaoXRXzw==", - "dependencies": { - "istanbul-lib-coverage": "^1.2.1", - "mkdirp": "^0.5.1", - "path-parse": "^1.0.5", - "supports-color": "^3.1.2" - } - }, - "node_modules/istanbul-lib-report/node_modules/has-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", - "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/istanbul-lib-report/node_modules/supports-color": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz", - "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=", - "dependencies": { - "has-flag": "^1.0.0" - }, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/istanbul-lib-source-maps": { - "version": "1.2.6", - "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-1.2.6.tgz", - "integrity": "sha512-TtbsY5GIHgbMsMiRw35YBHGpZ1DVFEO19vxxeiDMYaeOFOCzfnYVxvl6pOUIZR4dtPhAGpSMup8OyF8ubsaqEg==", - "dependencies": { - "debug": "^3.1.0", - "istanbul-lib-coverage": "^1.2.1", - "mkdirp": "^0.5.1", - "rimraf": "^2.6.1", - "source-map": "^0.5.3" - } - }, - "node_modules/istanbul-lib-source-maps/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/istanbul-lib-source-maps/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - }, - "node_modules/istanbul-reports": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-1.5.1.tgz", - "integrity": "sha512-+cfoZ0UXzWjhAdzosCPP3AN8vvef8XDkWtTfgaN+7L3YTpNYITnCaEkceo5SEYy644VkHka/P1FvkWvrG/rrJw==", - "dependencies": { - "handlebars": "^4.0.3" - } - }, - "node_modules/it-all": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/it-all/-/it-all-1.0.5.tgz", - "integrity": "sha512-ygD4kA4vp8fi+Y+NBgEKt6W06xSbv6Ub/0V8d1r3uCyJ9Izwa1UspkIOlqY9fOee0Z1w3WRo1+VWyAU4DgtufA==" - }, - "node_modules/it-concat": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/it-concat/-/it-concat-1.0.2.tgz", - "integrity": "sha512-YZtXOe10qBcTDOsz59AscfmsKRoVPYX5AFxCans2L/QL20Jah1H1/+wzWDaJj8zu0KiA9gys3vBoZIZwhsUeeg==", - "dependencies": { - "bl": "^4.0.0" - } - }, - "node_modules/it-glob": { - "version": "0.0.10", - "resolved": "https://registry.npmjs.org/it-glob/-/it-glob-0.0.10.tgz", - "integrity": "sha512-p1PR15djgPV7pxdLOW9j4WcJdla8+91rJdUU2hU2Jm68vkxpIEXK55VHBeH8Lvqh2vqLtM83t8q4BuJxue6niA==", - "dependencies": { - "fs-extra": "^9.0.1", - "minimatch": "^3.0.4" - } - }, - "node_modules/it-last": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/it-last/-/it-last-1.0.5.tgz", - "integrity": "sha512-PV/2S4zg5g6dkVuKfgrQfN2rUN4wdTI1FzyAvU+i8RV96syut40pa2s9Dut5X7SkjwA3P0tOhLABLdnOJ0Y/4Q==" - }, - "node_modules/it-map": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/it-map/-/it-map-1.0.5.tgz", - "integrity": "sha512-EElupuWhHVStUgUY+OfTJIS2MZed96lDrAXzJUuqiiqLnIKoBRqtX1ZG2oR0bGDsSppmz83MtzCeKLZ9TVAUxQ==" - }, - "node_modules/it-peekable": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/it-peekable/-/it-peekable-1.0.2.tgz", - "integrity": "sha512-LRPLu94RLm+lxLZbChuc9iCXrKCOu1obWqxfaKhF00yIp30VGkl741b5P60U+rdBxuZD/Gt1bnmakernv7bVFg==" - }, - "node_modules/it-reader": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/it-reader/-/it-reader-2.1.0.tgz", - "integrity": "sha512-hSysqWTO9Tlwc5EGjVf8JYZzw0D2FsxD/g+eNNWrez9zODxWt6QlN6JAMmycK72Mv4jHEKEXoyzUN4FYGmJaZw==", - "dependencies": { - "bl": "^4.0.0" - } - }, - "node_modules/it-tar": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/it-tar/-/it-tar-1.2.2.tgz", - "integrity": "sha512-M8V4a9I+x/vwXTjqvixcEZbQZHjwDIb8iUQ+D4M2QbhAdNs3WKVSl+45u5/F2XFx6jYMFOGzMVlKNK/uONgNIA==", - "dependencies": { - "bl": "^4.0.0", - "buffer": "^5.4.3", - "iso-constants": "^0.1.2", - "it-concat": "^1.0.0", - "it-reader": "^2.0.0", - "p-defer": "^3.0.0" - } - }, - "node_modules/it-tar/node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "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": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "node_modules/it-to-stream": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/it-to-stream/-/it-to-stream-0.1.2.tgz", - "integrity": "sha512-DTB5TJRZG3untmZehcaFN0kGWl2bNv7tnJRgQHAO9QEt8jfvVRrebZtnD5NZd4SCj4WVPjl0LSrugNWE/UaZRQ==", - "dependencies": { - "buffer": "^5.6.0", - "fast-fifo": "^1.0.0", - "get-iterator": "^1.0.2", - "p-defer": "^3.0.0", - "p-fifo": "^1.0.0", - "readable-stream": "^3.6.0" - } - }, - "node_modules/it-to-stream/node_modules/buffer": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-5.7.1.tgz", - "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", - "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": { - "base64-js": "^1.3.1", - "ieee754": "^1.1.13" - } - }, - "node_modules/jest": { - "version": "23.6.0", - "resolved": "https://registry.npmjs.org/jest/-/jest-23.6.0.tgz", - "integrity": "sha512-lWzcd+HSiqeuxyhG+EnZds6iO3Y3ZEnMrfZq/OTGvF/C+Z4fPMCdhWTGSAiO2Oym9rbEXfwddHhh6jqrTF3+Lw==", - "dependencies": { - "import-local": "^1.0.0", - "jest-cli": "^23.6.0" - }, - "bin": { - "jest": "bin/jest.js" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/jest-changed-files": { - "version": "23.4.2", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-23.4.2.tgz", - "integrity": "sha512-EyNhTAUWEfwnK0Is/09LxoqNDOn7mU7S3EHskG52djOFS/z+IT0jT3h3Ql61+dklcG7bJJitIWEMB4Sp1piHmA==", - "dependencies": { - "throat": "^4.0.0" - } - }, - "node_modules/jest-cli": { - "version": "23.6.0", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-23.6.0.tgz", - "integrity": "sha512-hgeD1zRUp1E1zsiyOXjEn4LzRLWdJBV//ukAHGlx6s5mfCNJTbhbHjgxnDUXA8fsKWN/HqFFF6X5XcCwC/IvYQ==", - "dependencies": { - "ansi-escapes": "^3.0.0", - "chalk": "^2.0.1", - "exit": "^0.1.2", - "glob": "^7.1.2", - "graceful-fs": "^4.1.11", - "import-local": "^1.0.0", - "is-ci": "^1.0.10", - "istanbul-api": "^1.3.1", - "istanbul-lib-coverage": "^1.2.0", - "istanbul-lib-instrument": "^1.10.1", - "istanbul-lib-source-maps": "^1.2.4", - "jest-changed-files": "^23.4.2", - "jest-config": "^23.6.0", - "jest-environment-jsdom": "^23.4.0", - "jest-get-type": "^22.1.0", - "jest-haste-map": "^23.6.0", - "jest-message-util": "^23.4.0", - "jest-regex-util": "^23.3.0", - "jest-resolve-dependencies": "^23.6.0", - "jest-runner": "^23.6.0", - "jest-runtime": "^23.6.0", - "jest-snapshot": "^23.6.0", - "jest-util": "^23.4.0", - "jest-validate": "^23.6.0", - "jest-watcher": "^23.4.0", - "jest-worker": "^23.2.0", - "micromatch": "^2.3.11", - "node-notifier": "^5.2.1", - "prompts": "^0.1.9", - "realpath-native": "^1.0.0", - "rimraf": "^2.5.4", - "slash": "^1.0.0", - "string-length": "^2.0.0", - "strip-ansi": "^4.0.0", - "which": "^1.2.12", - "yargs": "^11.0.0" - }, - "bin": { - "jest": "bin/jest.js" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/jest-cli/node_modules/ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-cli/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-cli/node_modules/arr-diff": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", - "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", - "dependencies": { - "arr-flatten": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-cli/node_modules/array-unique": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", - "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-cli/node_modules/braces": { - "version": "1.8.5", - "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", - "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", - "dependencies": { - "expand-range": "^1.8.1", - "preserve": "^0.2.0", - "repeat-element": "^1.1.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-cli/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-cli/node_modules/expand-brackets": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", - "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", - "dependencies": { - "is-posix-bracket": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-cli/node_modules/extglob": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", - "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", - "dependencies": { - "is-extglob": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-cli/node_modules/is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-cli/node_modules/is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", - "dependencies": { - "is-extglob": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-cli/node_modules/micromatch": { - "version": "2.3.11", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", - "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", - "dependencies": { - "arr-diff": "^2.0.0", - "array-unique": "^0.2.1", - "braces": "^1.8.2", - "expand-brackets": "^0.1.4", - "extglob": "^0.3.1", - "filename-regex": "^2.0.0", - "is-extglob": "^1.0.0", - "is-glob": "^2.0.1", - "kind-of": "^3.0.2", - "normalize-path": "^2.0.1", - "object.omit": "^2.0.0", - "parse-glob": "^3.0.4", - "regex-cache": "^0.4.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-cli/node_modules/normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", - "dependencies": { - "remove-trailing-separator": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-cli/node_modules/strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dependencies": { - "ansi-regex": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-cli/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-config": { - "version": "23.6.0", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-23.6.0.tgz", - "integrity": "sha512-i8V7z9BeDXab1+VNo78WM0AtWpBRXJLnkT+lyT+Slx/cbP5sZJ0+NDuLcmBE5hXAoK0aUp7vI+MOxR+R4d8SRQ==", - "dependencies": { - "babel-core": "^6.0.0", - "babel-jest": "^23.6.0", - "chalk": "^2.0.1", - "glob": "^7.1.1", - "jest-environment-jsdom": "^23.4.0", - "jest-environment-node": "^23.4.0", - "jest-get-type": "^22.1.0", - "jest-jasmine2": "^23.6.0", - "jest-regex-util": "^23.3.0", - "jest-resolve": "^23.6.0", - "jest-util": "^23.4.0", - "jest-validate": "^23.6.0", - "micromatch": "^2.3.11", - "pretty-format": "^23.6.0" - } - }, - "node_modules/jest-config/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-config/node_modules/arr-diff": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", - "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", - "dependencies": { - "arr-flatten": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-config/node_modules/array-unique": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", - "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-config/node_modules/braces": { - "version": "1.8.5", - "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", - "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", - "dependencies": { - "expand-range": "^1.8.1", - "preserve": "^0.2.0", - "repeat-element": "^1.1.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-config/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-config/node_modules/expand-brackets": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", - "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", - "dependencies": { - "is-posix-bracket": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-config/node_modules/extglob": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", - "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", - "dependencies": { - "is-extglob": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-config/node_modules/is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-config/node_modules/is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", - "dependencies": { - "is-extglob": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-config/node_modules/micromatch": { - "version": "2.3.11", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", - "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", - "dependencies": { - "arr-diff": "^2.0.0", - "array-unique": "^0.2.1", - "braces": "^1.8.2", - "expand-brackets": "^0.1.4", - "extglob": "^0.3.1", - "filename-regex": "^2.0.0", - "is-extglob": "^1.0.0", - "is-glob": "^2.0.1", - "kind-of": "^3.0.2", - "normalize-path": "^2.0.1", - "object.omit": "^2.0.0", - "parse-glob": "^3.0.4", - "regex-cache": "^0.4.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-config/node_modules/normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", - "dependencies": { - "remove-trailing-separator": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-config/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-diff": { - "version": "23.6.0", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-23.6.0.tgz", - "integrity": "sha512-Gz9l5Ov+X3aL5L37IT+8hoCUsof1CVYBb2QEkOupK64XyRR3h+uRpYIm97K7sY8diFxowR8pIGEdyfMKTixo3g==", - "dependencies": { - "chalk": "^2.0.1", - "diff": "^3.2.0", - "jest-get-type": "^22.1.0", - "pretty-format": "^23.6.0" - } - }, - "node_modules/jest-diff/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-diff/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-diff/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-docblock": { - "version": "23.2.0", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-23.2.0.tgz", - "integrity": "sha1-8IXh8YVI2Z/dabICB+b9VdkTg6c=", - "dependencies": { - "detect-newline": "^2.1.0" - } - }, - "node_modules/jest-each": { - "version": "23.6.0", - "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-23.6.0.tgz", - "integrity": "sha512-x7V6M/WGJo6/kLoissORuvLIeAoyo2YqLOoCDkohgJ4XOXSqOtyvr8FbInlAWS77ojBsZrafbozWoKVRdtxFCg==", - "dependencies": { - "chalk": "^2.0.1", - "pretty-format": "^23.6.0" - } - }, - "node_modules/jest-each/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-each/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-each/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-environment-jsdom": { - "version": "23.4.0", - "resolved": "https://registry.npmjs.org/jest-environment-jsdom/-/jest-environment-jsdom-23.4.0.tgz", - "integrity": "sha1-BWp5UrP+pROsYqFAosNox52eYCM=", - "dependencies": { - "jest-mock": "^23.2.0", - "jest-util": "^23.4.0", - "jsdom": "^11.5.1" - } - }, - "node_modules/jest-environment-jsdom/node_modules/acorn": { - "version": "5.7.4", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.4.tgz", - "integrity": "sha512-1D++VG7BhrtvQpNbBzovKNc1FLGGEE/oGe7b9xJm/RFHMBeUaUGpluV9RLjZa47YFdPcDAenEYuq9pQPcMdLJg==", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/jest-environment-jsdom/node_modules/acorn-globals": { - "version": "4.3.4", - "resolved": "https://registry.npmjs.org/acorn-globals/-/acorn-globals-4.3.4.tgz", - "integrity": "sha512-clfQEh21R+D0leSbUdWf3OcfqyaCSAQ8Ryq00bofSekfr9W8u1jyYZo6ir0xu9Gtcf7BjcHJpnbZH7JOCpP60A==", - "dependencies": { - "acorn": "^6.0.1", - "acorn-walk": "^6.0.1" - } - }, - "node_modules/jest-environment-jsdom/node_modules/acorn-globals/node_modules/acorn": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-6.4.2.tgz", - "integrity": "sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/jest-environment-jsdom/node_modules/acorn-walk": { - "version": "6.2.0", - "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-6.2.0.tgz", - "integrity": "sha512-7evsyfH1cLOCdAzZAd43Cic04yKydNx0cF+7tiA19p1XnLLPU4dpCQOqpjqwokFe//vS0QqfqqjCS2JkiIs0cA==", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/jest-environment-jsdom/node_modules/cssom": { - "version": "0.3.8", - "resolved": "https://registry.npmjs.org/cssom/-/cssom-0.3.8.tgz", - "integrity": "sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==" - }, - "node_modules/jest-environment-jsdom/node_modules/cssstyle": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/cssstyle/-/cssstyle-1.4.0.tgz", - "integrity": "sha512-GBrLZYZ4X4x6/QEoBnIrqb8B/f5l4+8me2dkom/j1Gtbxy0kBv6OGzKuAsGM75bkGwGAFkt56Iwg28S3XTZgSA==", - "dependencies": { - "cssom": "0.3.x" - } - }, - "node_modules/jest-environment-jsdom/node_modules/data-urls": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/data-urls/-/data-urls-1.1.0.tgz", - "integrity": "sha512-YTWYI9se1P55u58gL5GkQHW4P6VJBJ5iBT+B5a7i2Tjadhv52paJG0qHX4A0OR6/t52odI64KP2YvFpkDOi3eQ==", - "dependencies": { - "abab": "^2.0.0", - "whatwg-mimetype": "^2.2.0", - "whatwg-url": "^7.0.0" - } - }, - "node_modules/jest-environment-jsdom/node_modules/data-urls/node_modules/whatwg-url": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", - "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==", - "dependencies": { - "lodash.sortby": "^4.7.0", - "tr46": "^1.0.1", - "webidl-conversions": "^4.0.2" - } - }, - "node_modules/jest-environment-jsdom/node_modules/domexception": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/domexception/-/domexception-1.0.1.tgz", - "integrity": "sha512-raigMkn7CJNNo6Ihro1fzG7wr3fHuYVytzquZKX5n0yizGsTcYgzdIUwj1X9pK0VvjeihV+XiclP+DjwbsSKug==", - "dependencies": { - "webidl-conversions": "^4.0.2" - } - }, - "node_modules/jest-environment-jsdom/node_modules/escodegen": { - "version": "1.14.3", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz", - "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", - "dependencies": { - "esprima": "^4.0.1", - "estraverse": "^4.2.0", - "esutils": "^2.0.2", - "optionator": "^0.8.1" - }, - "bin": { - "escodegen": "bin/escodegen.js", - "esgenerate": "bin/esgenerate.js" - }, - "engines": { - "node": ">=4.0" - }, - "optionalDependencies": { - "source-map": "~0.6.1" - } - }, - "node_modules/jest-environment-jsdom/node_modules/html-encoding-sniffer": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-1.0.2.tgz", - "integrity": "sha512-71lZziiDnsuabfdYiUeWdCVyKuqwWi23L8YeIgV9jSSZHCtb6wB1BKWooH7L3tn4/FuZJMVWyNaIDr4RGmaSYw==", - "dependencies": { - "whatwg-encoding": "^1.0.1" - } - }, - "node_modules/jest-environment-jsdom/node_modules/jsdom": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-11.12.0.tgz", - "integrity": "sha512-y8Px43oyiBM13Zc1z780FrfNLJCXTL40EWlty/LXUtcjykRBNgLlCjWXpfSPBl2iv+N7koQN+dvqszHZgT/Fjw==", - "dependencies": { - "abab": "^2.0.0", - "acorn": "^5.5.3", - "acorn-globals": "^4.1.0", - "array-equal": "^1.0.0", - "cssom": ">= 0.3.2 < 0.4.0", - "cssstyle": "^1.0.0", - "data-urls": "^1.0.0", - "domexception": "^1.0.1", - "escodegen": "^1.9.1", - "html-encoding-sniffer": "^1.0.2", - "left-pad": "^1.3.0", - "nwsapi": "^2.0.7", - "parse5": "4.0.0", - "pn": "^1.1.0", - "request": "^2.87.0", - "request-promise-native": "^1.0.5", - "sax": "^1.2.4", - "symbol-tree": "^3.2.2", - "tough-cookie": "^2.3.4", - "w3c-hr-time": "^1.0.1", - "webidl-conversions": "^4.0.2", - "whatwg-encoding": "^1.0.3", - "whatwg-mimetype": "^2.1.0", - "whatwg-url": "^6.4.1", - "ws": "^5.2.0", - "xml-name-validator": "^3.0.0" - } - }, - "node_modules/jest-environment-jsdom/node_modules/parse5": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-4.0.0.tgz", - "integrity": "sha512-VrZ7eOd3T1Fk4XWNXMgiGBK/z0MG48BWG2uQNU4I72fkQuKUTZpl+u9k+CxEG0twMVzSmXEEz12z5Fnw1jIQFA==" - }, - "node_modules/jest-environment-jsdom/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "optional": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-environment-jsdom/node_modules/tough-cookie": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", - "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", - "dependencies": { - "psl": "^1.1.28", - "punycode": "^2.1.1" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/jest-environment-jsdom/node_modules/tr46": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", - "integrity": "sha1-qLE/1r/SSJUZZ0zN5VujaTtwbQk=", - "dependencies": { - "punycode": "^2.1.0" - } - }, - "node_modules/jest-environment-jsdom/node_modules/webidl-conversions": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", - "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==" - }, - "node_modules/jest-environment-jsdom/node_modules/whatwg-url": { - "version": "6.5.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-6.5.0.tgz", - "integrity": "sha512-rhRZRqx/TLJQWUpQ6bmrt2UV4f0HCQ463yQuONJqC6fO2VoEb1pTYddbe59SkYq87aoM5A3bdhMZiUiVws+fzQ==", - "dependencies": { - "lodash.sortby": "^4.7.0", - "tr46": "^1.0.1", - "webidl-conversions": "^4.0.2" - } - }, - "node_modules/jest-environment-jsdom/node_modules/ws": { - "version": "5.2.2", - "resolved": "https://registry.npmjs.org/ws/-/ws-5.2.2.tgz", - "integrity": "sha512-jaHFD6PFv6UgoIVda6qZllptQsMlDEJkTQcybzzXDYM1XO9Y8em691FGMPmM46WGyLU4z9KMgQN+qrux/nhlHA==", - "dependencies": { - "async-limiter": "~1.0.0" - } - }, - "node_modules/jest-environment-node": { - "version": "23.4.0", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-23.4.0.tgz", - "integrity": "sha1-V+gO0IQd6jAxZ8zozXlSHeuv3hA=", - "dependencies": { - "jest-mock": "^23.2.0", - "jest-util": "^23.4.0" - } - }, - "node_modules/jest-get-type": { - "version": "22.4.3", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-22.4.3.tgz", - "integrity": "sha512-/jsz0Y+V29w1chdXVygEKSz2nBoHoYqNShPe+QgxSNjAuP1i8+k4LbQNrfoliKej0P45sivkSCh7yiD6ubHS3w==" - }, - "node_modules/jest-haste-map": { - "version": "23.6.0", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-23.6.0.tgz", - "integrity": "sha512-uyNhMyl6dr6HaXGHp8VF7cK6KpC6G9z9LiMNsst+rJIZ8l7wY0tk8qwjPmEghczojZ2/ZhtEdIabZ0OQRJSGGg==", - "dependencies": { - "fb-watchman": "^2.0.0", - "graceful-fs": "^4.1.11", - "invariant": "^2.2.4", - "jest-docblock": "^23.2.0", - "jest-serializer": "^23.0.1", - "jest-worker": "^23.2.0", - "micromatch": "^2.3.11", - "sane": "^2.0.0" - } - }, - "node_modules/jest-haste-map/node_modules/arr-diff": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", - "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", - "dependencies": { - "arr-flatten": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-haste-map/node_modules/array-unique": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", - "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-haste-map/node_modules/braces": { - "version": "1.8.5", - "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", - "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", - "dependencies": { - "expand-range": "^1.8.1", - "preserve": "^0.2.0", - "repeat-element": "^1.1.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-haste-map/node_modules/expand-brackets": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", - "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", - "dependencies": { - "is-posix-bracket": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-haste-map/node_modules/extglob": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", - "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", - "dependencies": { - "is-extglob": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-haste-map/node_modules/is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-haste-map/node_modules/is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", - "dependencies": { - "is-extglob": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-haste-map/node_modules/micromatch": { - "version": "2.3.11", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", - "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", - "dependencies": { - "arr-diff": "^2.0.0", - "array-unique": "^0.2.1", - "braces": "^1.8.2", - "expand-brackets": "^0.1.4", - "extglob": "^0.3.1", - "filename-regex": "^2.0.0", - "is-extglob": "^1.0.0", - "is-glob": "^2.0.1", - "kind-of": "^3.0.2", - "normalize-path": "^2.0.1", - "object.omit": "^2.0.0", - "parse-glob": "^3.0.4", - "regex-cache": "^0.4.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-haste-map/node_modules/normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", - "dependencies": { - "remove-trailing-separator": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-jasmine2": { - "version": "23.6.0", - "resolved": "https://registry.npmjs.org/jest-jasmine2/-/jest-jasmine2-23.6.0.tgz", - "integrity": "sha512-pe2Ytgs1nyCs8IvsEJRiRTPC0eVYd8L/dXJGU08GFuBwZ4sYH/lmFDdOL3ZmvJR8QKqV9MFuwlsAi/EWkFUbsQ==", - "dependencies": { - "babel-traverse": "^6.0.0", - "chalk": "^2.0.1", - "co": "^4.6.0", - "expect": "^23.6.0", - "is-generator-fn": "^1.0.0", - "jest-diff": "^23.6.0", - "jest-each": "^23.6.0", - "jest-matcher-utils": "^23.6.0", - "jest-message-util": "^23.4.0", - "jest-snapshot": "^23.6.0", - "jest-util": "^23.4.0", - "pretty-format": "^23.6.0" - } - }, - "node_modules/jest-jasmine2/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-jasmine2/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-jasmine2/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-leak-detector": { - "version": "23.6.0", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-23.6.0.tgz", - "integrity": "sha512-f/8zA04rsl1Nzj10HIyEsXvYlMpMPcy0QkQilVZDFOaPbv2ur71X5u2+C4ZQJGyV/xvVXtCCZ3wQ99IgQxftCg==", - "dependencies": { - "pretty-format": "^23.6.0" - } - }, - "node_modules/jest-matcher-utils": { - "version": "23.6.0", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-23.6.0.tgz", - "integrity": "sha512-rosyCHQfBcol4NsckTn01cdelzWLU9Cq7aaigDf8VwwpIRvWE/9zLgX2bON+FkEW69/0UuYslUe22SOdEf2nog==", - "dependencies": { - "chalk": "^2.0.1", - "jest-get-type": "^22.1.0", - "pretty-format": "^23.6.0" - } - }, - "node_modules/jest-matcher-utils/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-matcher-utils/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-matcher-utils/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-message-util": { - "version": "23.4.0", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-23.4.0.tgz", - "integrity": "sha1-F2EMUJQjSVCNAaPR4L2iwHkIap8=", - "dependencies": { - "@babel/code-frame": "^7.0.0-beta.35", - "chalk": "^2.0.1", - "micromatch": "^2.3.11", - "slash": "^1.0.0", - "stack-utils": "^1.0.1" - } - }, - "node_modules/jest-message-util/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-message-util/node_modules/arr-diff": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", - "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", - "dependencies": { - "arr-flatten": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-message-util/node_modules/array-unique": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", - "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-message-util/node_modules/braces": { - "version": "1.8.5", - "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", - "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", - "dependencies": { - "expand-range": "^1.8.1", - "preserve": "^0.2.0", - "repeat-element": "^1.1.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-message-util/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-message-util/node_modules/expand-brackets": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", - "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", - "dependencies": { - "is-posix-bracket": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-message-util/node_modules/extglob": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", - "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", - "dependencies": { - "is-extglob": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-message-util/node_modules/is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-message-util/node_modules/is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", - "dependencies": { - "is-extglob": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-message-util/node_modules/micromatch": { - "version": "2.3.11", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", - "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", - "dependencies": { - "arr-diff": "^2.0.0", - "array-unique": "^0.2.1", - "braces": "^1.8.2", - "expand-brackets": "^0.1.4", - "extglob": "^0.3.1", - "filename-regex": "^2.0.0", - "is-extglob": "^1.0.0", - "is-glob": "^2.0.1", - "kind-of": "^3.0.2", - "normalize-path": "^2.0.1", - "object.omit": "^2.0.0", - "parse-glob": "^3.0.4", - "regex-cache": "^0.4.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-message-util/node_modules/normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", - "dependencies": { - "remove-trailing-separator": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-message-util/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-mock": { - "version": "23.2.0", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-23.2.0.tgz", - "integrity": "sha1-rRxg8p6HGdR8JuETgJi20YsmETQ=" - }, - "node_modules/jest-pnp-resolver": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.0.1.tgz", - "integrity": "sha512-kzhvJQp+9k0a/hpvIIzOJgOwfOqmnohdrAMZW2EscH3kxR2VWD7EcPa10cio8EK9V7PcD75bhG1pFnO70zGwSQ==", - "engines": { - "node": ">=6" - }, - "peerDependencies": { - "jest-resolve": "*" - } - }, - "node_modules/jest-regex-util": { - "version": "23.3.0", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-23.3.0.tgz", - "integrity": "sha1-X4ZylUfCeFxAAs6qj4Sf6MpHG8U=" - }, - "node_modules/jest-resolve": { - "version": "23.6.0", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-23.6.0.tgz", - "integrity": "sha512-XyoRxNtO7YGpQDmtQCmZjum1MljDqUCob7XlZ6jy9gsMugHdN2hY4+Acz9Qvjz2mSsOnPSH7skBmDYCHXVZqkA==", - "dependencies": { - "browser-resolve": "^1.11.3", - "chalk": "^2.0.1", - "realpath-native": "^1.0.0" - } - }, - "node_modules/jest-resolve-dependencies": { - "version": "23.6.0", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-23.6.0.tgz", - "integrity": "sha512-EkQWkFWjGKwRtRyIwRwI6rtPAEyPWlUC2MpzHissYnzJeHcyCn1Hc8j7Nn1xUVrS5C6W5+ZL37XTem4D4pLZdA==", - "dependencies": { - "jest-regex-util": "^23.3.0", - "jest-snapshot": "^23.6.0" - } - }, - "node_modules/jest-resolve/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-resolve/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-resolve/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-runner": { - "version": "23.6.0", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-23.6.0.tgz", - "integrity": "sha512-kw0+uj710dzSJKU6ygri851CObtCD9cN8aNkg8jWJf4ewFyEa6kwmiH/r/M1Ec5IL/6VFa0wnAk6w+gzUtjJzA==", - "dependencies": { - "exit": "^0.1.2", - "graceful-fs": "^4.1.11", - "jest-config": "^23.6.0", - "jest-docblock": "^23.2.0", - "jest-haste-map": "^23.6.0", - "jest-jasmine2": "^23.6.0", - "jest-leak-detector": "^23.6.0", - "jest-message-util": "^23.4.0", - "jest-runtime": "^23.6.0", - "jest-util": "^23.4.0", - "jest-worker": "^23.2.0", - "source-map-support": "^0.5.6", - "throat": "^4.0.0" - } - }, - "node_modules/jest-runner/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-runner/node_modules/source-map-support": { - "version": "0.5.19", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz", - "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==", - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/jest-runtime": { - "version": "23.6.0", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-23.6.0.tgz", - "integrity": "sha512-ycnLTNPT2Gv+TRhnAYAQ0B3SryEXhhRj1kA6hBPSeZaNQkJ7GbZsxOLUkwg6YmvWGdX3BB3PYKFLDQCAE1zNOw==", - "dependencies": { - "babel-core": "^6.0.0", - "babel-plugin-istanbul": "^4.1.6", - "chalk": "^2.0.1", - "convert-source-map": "^1.4.0", - "exit": "^0.1.2", - "fast-json-stable-stringify": "^2.0.0", - "graceful-fs": "^4.1.11", - "jest-config": "^23.6.0", - "jest-haste-map": "^23.6.0", - "jest-message-util": "^23.4.0", - "jest-regex-util": "^23.3.0", - "jest-resolve": "^23.6.0", - "jest-snapshot": "^23.6.0", - "jest-util": "^23.4.0", - "jest-validate": "^23.6.0", - "micromatch": "^2.3.11", - "realpath-native": "^1.0.0", - "slash": "^1.0.0", - "strip-bom": "3.0.0", - "write-file-atomic": "^2.1.0", - "yargs": "^11.0.0" - }, - "bin": { - "jest-runtime": "bin/jest-runtime.js" - } - }, - "node_modules/jest-runtime/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-runtime/node_modules/arr-diff": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", - "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", - "dependencies": { - "arr-flatten": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-runtime/node_modules/array-unique": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", - "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-runtime/node_modules/braces": { - "version": "1.8.5", - "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", - "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", - "dependencies": { - "expand-range": "^1.8.1", - "preserve": "^0.2.0", - "repeat-element": "^1.1.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-runtime/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-runtime/node_modules/expand-brackets": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", - "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", - "dependencies": { - "is-posix-bracket": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-runtime/node_modules/extglob": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", - "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", - "dependencies": { - "is-extglob": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-runtime/node_modules/is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-runtime/node_modules/is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", - "dependencies": { - "is-extglob": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-runtime/node_modules/micromatch": { - "version": "2.3.11", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", - "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", - "dependencies": { - "arr-diff": "^2.0.0", - "array-unique": "^0.2.1", - "braces": "^1.8.2", - "expand-brackets": "^0.1.4", - "extglob": "^0.3.1", - "filename-regex": "^2.0.0", - "is-extglob": "^1.0.0", - "is-glob": "^2.0.1", - "kind-of": "^3.0.2", - "normalize-path": "^2.0.1", - "object.omit": "^2.0.0", - "parse-glob": "^3.0.4", - "regex-cache": "^0.4.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-runtime/node_modules/normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", - "dependencies": { - "remove-trailing-separator": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-runtime/node_modules/strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-runtime/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-serializer": { - "version": "23.0.1", - "resolved": "https://registry.npmjs.org/jest-serializer/-/jest-serializer-23.0.1.tgz", - "integrity": "sha1-o3dq6zEekP6D+rnlM+hRAr0WQWU=" - }, - "node_modules/jest-snapshot": { - "version": "23.6.0", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-23.6.0.tgz", - "integrity": "sha512-tM7/Bprftun6Cvj2Awh/ikS7zV3pVwjRYU2qNYS51VZHgaAMBs5l4o/69AiDHhQrj5+LA2Lq4VIvK7zYk/bswg==", - "dependencies": { - "babel-types": "^6.0.0", - "chalk": "^2.0.1", - "jest-diff": "^23.6.0", - "jest-matcher-utils": "^23.6.0", - "jest-message-util": "^23.4.0", - "jest-resolve": "^23.6.0", - "mkdirp": "^0.5.1", - "natural-compare": "^1.4.0", - "pretty-format": "^23.6.0", - "semver": "^5.5.0" - } - }, - "node_modules/jest-snapshot/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-snapshot/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-snapshot/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-util": { - "version": "23.4.0", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-23.4.0.tgz", - "integrity": "sha1-TQY8uSe68KI4Mf9hvsLLv0l5NWE=", - "dependencies": { - "callsites": "^2.0.0", - "chalk": "^2.0.1", - "graceful-fs": "^4.1.11", - "is-ci": "^1.0.10", - "jest-message-util": "^23.4.0", - "mkdirp": "^0.5.1", - "slash": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/jest-util/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-util/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-util/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/jest-util/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-validate": { - "version": "23.6.0", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-23.6.0.tgz", - "integrity": "sha512-OFKapYxe72yz7agrDAWi8v2WL8GIfVqcbKRCLbRG9PAxtzF9b1SEDdTpytNDN12z2fJynoBwpMpvj2R39plI2A==", - "dependencies": { - "chalk": "^2.0.1", - "jest-get-type": "^22.1.0", - "leven": "^2.1.0", - "pretty-format": "^23.6.0" - } - }, - "node_modules/jest-validate/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-validate/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-validate/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-watcher": { - "version": "23.4.0", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-23.4.0.tgz", - "integrity": "sha1-0uKM50+NrWxq/JIrksq+9u0FyRw=", - "dependencies": { - "ansi-escapes": "^3.0.0", - "chalk": "^2.0.1", - "string-length": "^2.0.0" - } - }, - "node_modules/jest-watcher/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-watcher/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-watcher/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/jest-worker": { - "version": "23.2.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-23.2.0.tgz", - "integrity": "sha1-+vcGqNo2+uYOsmlXJX+ntdjqArk=", - "dependencies": { - "merge-stream": "^1.0.1" - } - }, - "node_modules/joi": { - "version": "11.4.0", - "resolved": "https://registry.npmjs.org/joi/-/joi-11.4.0.tgz", - "integrity": "sha512-O7Uw+w/zEWgbL6OcHbyACKSj0PkQeUgmehdoXVSxt92QFCq4+1390Rwh5moI2K/OgC7D8RHRZqHZxT2husMJHA==", - "deprecated": "This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).", - "dependencies": { - "hoek": "4.x.x", - "isemail": "3.x.x", - "topo": "2.x.x" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/js-levenshtein": { - "version": "1.1.6", - "resolved": "https://registry.npmjs.org/js-levenshtein/-/js-levenshtein-1.1.6.tgz", - "integrity": "sha512-X2BB11YZtrRqY4EnQcLX5Rh373zbK4alC1FW7D7MBhL2gtcC17cTnr6DmfHZeS0s2rTHjUTMMHfG7gO8SSdw+g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/js-sha3": { - "version": "0.8.0", - "resolved": "https://registry.npmjs.org/js-sha3/-/js-sha3-0.8.0.tgz", - "integrity": "sha512-gF1cRrHhIzNfToc802P800N8PpXS+evLLXfsVpowqmAFR9uwbi89WvXg2QspOmXL8QL86J4T1EpFu+yUkwJY3Q==" - }, - "node_modules/js-tokens": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-3.0.2.tgz", - "integrity": "sha1-mGbfOVECEw449/mWvOtlRDIJwls=" - }, - "node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/jsbn": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/jsbn/-/jsbn-0.1.1.tgz", - "integrity": "sha1-peZUwuWi3rXyAdls77yoDA7y9RM=" - }, - "node_modules/jsdom": { - "version": "16.5.1", - "resolved": "https://registry.npmjs.org/jsdom/-/jsdom-16.5.1.tgz", - "integrity": "sha512-pF73EOsJgwZekbDHEY5VO/yKXUkab/DuvrQB/ANVizbr6UAHJsDdHXuotZYwkJSGQl1JM+ivXaqY+XBDDL4TiA==", - "dependencies": { - "abab": "^2.0.5", - "acorn": "^8.0.5", - "acorn-globals": "^6.0.0", - "cssom": "^0.4.4", - "cssstyle": "^2.3.0", - "data-urls": "^2.0.0", - "decimal.js": "^10.2.1", - "domexception": "^2.0.1", - "escodegen": "^2.0.0", - "html-encoding-sniffer": "^2.0.1", - "is-potential-custom-element-name": "^1.0.0", - "nwsapi": "^2.2.0", - "parse5": "6.0.1", - "request": "^2.88.2", - "request-promise-native": "^1.0.9", - "saxes": "^5.0.1", - "symbol-tree": "^3.2.4", - "tough-cookie": "^4.0.0", - "w3c-hr-time": "^1.0.2", - "w3c-xmlserializer": "^2.0.0", - "webidl-conversions": "^6.1.0", - "whatwg-encoding": "^1.0.5", - "whatwg-mimetype": "^2.3.0", - "whatwg-url": "^8.0.0", - "ws": "^7.4.4", - "xml-name-validator": "^3.0.0" - }, - "engines": { - "node": ">=10" - }, - "peerDependencies": { - "canvas": "^2.5.0" - }, - "peerDependenciesMeta": { - "canvas": { - "optional": true - } - } - }, - "node_modules/jsdom/node_modules/acorn": { - "version": "8.1.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.1.0.tgz", - "integrity": "sha512-LWCF/Wn0nfHOmJ9rzQApGnxnvgfROzGilS8936rqN/lfcYkY9MYZzdMqN+2NJ4SlTc+m5HiSa+kNfDtI64dwUA==", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/jsesc": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-1.3.0.tgz", - "integrity": "sha1-RsP+yMGJKxKwgz25vHYiF226s0s=", - "bin": { - "jsesc": "bin/jsesc" - } - }, - "node_modules/json-parse-better-errors": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", - "integrity": "sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==" - }, - "node_modules/json-schema": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/json-schema/-/json-schema-0.2.3.tgz", - "integrity": "sha1-tIDIkuWaLwWVTOcnvT8qTogvnhM=" - }, - "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": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json-stable-stringify/-/json-stable-stringify-1.0.1.tgz", - "integrity": "sha1-mnWdOcXy/1A/1TAGRu1EX4jE+a8=", - "dependencies": { - "jsonify": "~0.0.0" - } - }, - "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": "sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=" - }, - "node_modules/json-stringify-safe": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", - "integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=" - }, - "node_modules/json-text-sequence": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/json-text-sequence/-/json-text-sequence-0.1.1.tgz", - "integrity": "sha1-py8hfcSvxGKf/1/rME3BvVGi89I=", - "dependencies": { - "delimit-stream": "0.1.0" - } - }, - "node_modules/json3": { - "version": "3.3.3", - "resolved": "https://registry.npmjs.org/json3/-/json3-3.3.3.tgz", - "integrity": "sha512-c7/8mbUsKigAbLkD5B010BK4D9LZm7A1pNItkEwiUZRpIN66exu/e7YQWysGun+TRKaJp8MhemM+VkfWv42aCA==" - }, - "node_modules/json5": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-0.5.1.tgz", - "integrity": "sha1-Hq3nrMASA0rYTiOWdn6tn6VJWCE=", - "bin": { - "json5": "lib/cli.js" - } - }, - "node_modules/jsonfile": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz", - "integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==", - "dependencies": { - "universalify": "^2.0.0" - }, - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/jsonify": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/jsonify/-/jsonify-0.0.0.tgz", - "integrity": "sha1-LHS27kHZPKUbe1qu6PUDYx0lKnM=" - }, - "node_modules/jsprim": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/jsprim/-/jsprim-1.4.1.tgz", - "integrity": "sha1-MT5mvB5cwG5Di8G3SZwuXFastqI=", - "engines": [ - "node >=0.6.0" - ], - "dependencies": { - "assert-plus": "1.0.0", - "extsprintf": "1.3.0", - "json-schema": "0.2.3", - "verror": "1.10.0" - } - }, - "node_modules/jsx-ast-utils": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/jsx-ast-utils/-/jsx-ast-utils-2.4.1.tgz", - "integrity": "sha512-z1xSldJ6imESSzOjd3NNkieVJKRlKYSOtMG8SFyCj2FIrvSaSuli/WjpBkEzCBoR9bYYYFgqJw61Xhu7Lcgk+w==", - "dependencies": { - "array-includes": "^3.1.1", - "object.assign": "^4.1.0" - }, - "engines": { - "node": ">=4.0" - } - }, - "node_modules/keccak": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/keccak/-/keccak-1.4.0.tgz", - "integrity": "sha512-eZVaCpblK5formjPjeTBik7TAg+pqnDrMHIffSvi9Lh7PQgM1+hSzakUeZFCk9DVVG0dacZJuaz2ntwlzZUIBw==", - "hasInstallScript": true, - "dependencies": { - "bindings": "^1.2.1", - "inherits": "^2.0.3", - "nan": "^2.2.1", - "safe-buffer": "^5.1.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/keycode": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/keycode/-/keycode-2.2.0.tgz", - "integrity": "sha1-PQr1bce4uOXLqNCpfxByBO7CKwQ=" - }, - "node_modules/keypair": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/keypair/-/keypair-1.0.2.tgz", - "integrity": "sha512-7zRr8fKOWp/N8xfZyZV6WG1CUvKNiNahSDI4vjJnPJD60lHtIg62dpv60yCgcM2PP8QKv4S2UkZl+8MsYmQRpw==" - }, - "node_modules/killable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/killable/-/killable-1.0.1.tgz", - "integrity": "sha512-LzqtLKlUwirEUyl/nicirVmNiPvYs7l5n8wOPP7fyJVpUPkvCnW/vuiXGpylGUlnPDnB7311rARzAt3Mhswpjg==" - }, - "node_modules/kind-of": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-3.2.2.tgz", - "integrity": "sha1-MeohpzS6ubuw8yRm2JOupR5KPGQ=", - "dependencies": { - "is-buffer": "^1.1.5" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/klaw": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/klaw/-/klaw-1.3.1.tgz", - "integrity": "sha1-QIhDO0azsbolnXh4XY6W9zugJDk=", - "optionalDependencies": { - "graceful-fs": "^4.1.9" - } - }, - "node_modules/kleur": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-2.0.2.tgz", - "integrity": "sha512-77XF9iTllATmG9lSlIv0qdQ2BQ/h9t0bJllHlbvsQ0zUWfU7Yi0S8L5JXzPZgkefIiajLmBJJ4BsMJmqcf7oxQ==", - "deprecated": "Please upgrade to kleur@3 or migrate to 'ansi-colors' if you prefer the old syntax. Visit for migration path(s).", - "engines": { - "node": ">=6" - } - }, - "node_modules/last-call-webpack-plugin": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/last-call-webpack-plugin/-/last-call-webpack-plugin-3.0.0.tgz", - "integrity": "sha512-7KI2l2GIZa9p2spzPIVZBYyNKkN+e/SQPpnjlTiPhdbDW3F86tdKKELxKpzJ5sgU19wQWsACULZmpTPYHeWO5w==", - "dependencies": { - "lodash": "^4.17.5", - "webpack-sources": "^1.1.0" - } - }, - "node_modules/lazy-cache": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-1.0.4.tgz", - "integrity": "sha1-odePw6UEdMuAhF07O24dpJpEbo4=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/lcid": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/lcid/-/lcid-2.0.0.tgz", - "integrity": "sha512-avPEb8P8EGnwXKClwsNUgryVjllcRqtMYa49NTsbQagYuT1DcXnl1915oxWjoyGrXR6zH/Y0Zc96xWsPcoDKeA==", - "dependencies": { - "invert-kv": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/left-pad": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/left-pad/-/left-pad-1.3.0.tgz", - "integrity": "sha512-XI5MPzVNApjAyhQzphX8BkmKsKUxD4LdyK24iZeQGinBN9yTQT3bFlCBy/aVx2HrNcqQGsdot8ghrjyrvMCoEA==", - "deprecated": "use String.prototype.padStart()" - }, - "node_modules/leven": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/leven/-/leven-2.1.0.tgz", - "integrity": "sha1-wuep93IJTe6dNCAq6KzORoeHVYA=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/levn": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", - "integrity": "sha1-OwmSTt+fCDwEkP3UwLxEIeBHZO4=", - "dependencies": { - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/libp2p-crypto": { - "version": "0.19.0", - "resolved": "https://registry.npmjs.org/libp2p-crypto/-/libp2p-crypto-0.19.0.tgz", - "integrity": "sha512-w4tduG32px1i6TwekYZBSvizZTvDdMReZkE4DhUkf9IQ8WSqSo98K+6IZaYYM6PzWd5arbcAQQcFCRalJu9Ytw==", - "dependencies": { - "err-code": "^2.0.0", - "is-typedarray": "^1.0.0", - "iso-random-stream": "^1.1.0", - "keypair": "^1.0.1", - "multibase": "^3.0.0", - "multicodec": "^2.0.0", - "multihashing-async": "^2.0.1", - "node-forge": "^0.10.0", - "pem-jwk": "^2.0.0", - "protons": "^2.0.0", - "secp256k1": "^4.0.0", - "uint8arrays": "^1.1.0", - "ursa-optional": "^0.10.1" - }, - "engines": { - "node": ">=10.0.0", - "npm": ">=6.0.0" - } - }, - "node_modules/libp2p-crypto/node_modules/multibase": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/multibase/-/multibase-3.1.2.tgz", - "integrity": "sha512-bpklWHs70LO3smJUHOjcnzGceJJvn9ui0Vau6Za0B/GBepaXswmW8Ufea0uD9pROf/qCQ4N4lZ3sf3U+SNf0tw==", - "dependencies": { - "@multiformats/base-x": "^4.0.1", - "web-encoding": "^1.0.6" - }, - "engines": { - "node": ">=10.0.0", - "npm": ">=6.0.0" - } - }, - "node_modules/libp2p-crypto/node_modules/multicodec": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-2.1.3.tgz", - "integrity": "sha512-0tOH2Gtio39uO41o+2xl9UhRkCWxU5ZmZSbFCh/OjGzkWJI8e6lkN/s4Mj1YfyWoBod+2+S3W+6wO6nhkwN8pA==", - "dependencies": { - "uint8arrays": "1.1.0", - "varint": "^6.0.0" - } - }, - "node_modules/libp2p-crypto/node_modules/uint8arrays": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-1.1.0.tgz", - "integrity": "sha512-cLdlZ6jnFczsKf5IH1gPHTtcHtPGho5r4CvctohmQjw8K7Q3gFdfIGHxSTdTaCKrL4w09SsPRJTqRS0drYeszA==", - "dependencies": { - "multibase": "^3.0.0", - "web-encoding": "^1.0.2" - } - }, - "node_modules/libp2p-crypto/node_modules/varint": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/varint/-/varint-6.0.0.tgz", - "integrity": "sha512-cXEIW6cfr15lFv563k4GuVuW/fiwjknytD37jIOLSdSWuOI6WnO/oKwmP2FQTU2l01LP8/M5TSAJpzUaGe3uWg==" - }, - "node_modules/load-json-file": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-2.0.0.tgz", - "integrity": "sha1-eUfkIUmvgNaWy/eXvKq8/h/inKg=", - "dependencies": { - "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "strip-bom": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/load-json-file/node_modules/parse-json": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", - "dependencies": { - "error-ex": "^1.2.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/load-json-file/node_modules/pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/load-json-file/node_modules/strip-bom": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-3.0.0.tgz", - "integrity": "sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=", - "engines": { - "node": ">=4" - } - }, - "node_modules/loader-fs-cache": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/loader-fs-cache/-/loader-fs-cache-1.0.3.tgz", - "integrity": "sha512-ldcgZpjNJj71n+2Mf6yetz+c9bM4xpKtNds4LbqXzU/PTdeAX0g3ytnU1AJMEcTk2Lex4Smpe3Q/eCTsvUBxbA==", - "dependencies": { - "find-cache-dir": "^0.1.1", - "mkdirp": "^0.5.1" - } - }, - "node_modules/loader-fs-cache/node_modules/find-cache-dir": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-0.1.1.tgz", - "integrity": "sha1-yN765XyKUqinhPnjHFfHQumToLk=", - "dependencies": { - "commondir": "^1.0.1", - "mkdirp": "^0.5.1", - "pkg-dir": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/loader-fs-cache/node_modules/find-up": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", - "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", - "dependencies": { - "path-exists": "^2.0.0", - "pinkie-promise": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/loader-fs-cache/node_modules/path-exists": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", - "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", - "dependencies": { - "pinkie-promise": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/loader-fs-cache/node_modules/pkg-dir": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-1.0.0.tgz", - "integrity": "sha1-ektQio1bstYp1EcFb/TpyTFM89Q=", - "dependencies": { - "find-up": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/loader-runner": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/loader-runner/-/loader-runner-2.4.0.tgz", - "integrity": "sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==", - "engines": { - "node": ">=4.3.0 <5.0.0 || >=5.10" - } - }, - "node_modules/loader-utils": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.4.0.tgz", - "integrity": "sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==", - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^3.0.0", - "json5": "^1.0.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/loader-utils/node_modules/json5": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } - }, - "node_modules/locate-path": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-2.0.0.tgz", - "integrity": "sha1-K1aLJl7slExtnA3pw9u7ygNUzY4=", - "dependencies": { - "p-locate": "^2.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" - }, - "node_modules/lodash._reinterpolate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz", - "integrity": "sha1-DM8tiRZq8Ds2Y8eWU4t1rG4RTZ0=" - }, - "node_modules/lodash.camelcase": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" - }, - "node_modules/lodash.debounce": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/lodash.debounce/-/lodash.debounce-4.0.8.tgz", - "integrity": "sha1-gteb/zCmfEAF/9XiUVMArZyk168=" - }, - "node_modules/lodash.memoize": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", - "integrity": "sha1-vMbEmkKihA7Zl/Mj6tpezRguC/4=" - }, - "node_modules/lodash.sortby": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", - "integrity": "sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=" - }, - "node_modules/lodash.tail": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/lodash.tail/-/lodash.tail-4.1.1.tgz", - "integrity": "sha1-0jM6NtnncXyK0vfKyv7HwytERmQ=" - }, - "node_modules/lodash.template": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.template/-/lodash.template-4.5.0.tgz", - "integrity": "sha512-84vYFxIkmidUiFxidA/KjjH9pAycqW+h980j7Fuz5qxRtO9pgB7MDFTdys1N7A5mcucRiDyEq4fusljItR1T/A==", - "dependencies": { - "lodash._reinterpolate": "^3.0.0", - "lodash.templatesettings": "^4.0.0" - } - }, - "node_modules/lodash.templatesettings": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/lodash.templatesettings/-/lodash.templatesettings-4.2.0.tgz", - "integrity": "sha512-stgLz+i3Aa9mZgnjr/O+v9ruKZsPsndy7qPZOchbqk2cnTU1ZaldKK+v7m54WoKIyxiuMZTKT2H81F8BeAc3ZQ==", - "dependencies": { - "lodash._reinterpolate": "^3.0.0" - } - }, - "node_modules/lodash.uniq": { - "version": "4.5.0", - "resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz", - "integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=" - }, - "node_modules/loglevel": { - "version": "1.7.1", - "resolved": "https://registry.npmjs.org/loglevel/-/loglevel-1.7.1.tgz", - "integrity": "sha512-Hesni4s5UkWkwCGJMQGAh71PaLUmKFM60dHvq0zi/vDhhrzuk+4GgNbTXJ12YYQJn6ZKBDNIjYcuQGKudvqrIw==", - "engines": { - "node": ">= 0.6.0" - }, - "funding": { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/loglevel" - } - }, - "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/lower-case": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/lower-case/-/lower-case-1.1.4.tgz", - "integrity": "sha1-miyr0bno4K6ZOkv31YdcOcQujqw=" - }, - "node_modules/lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", - "dependencies": { - "yallist": "^3.0.2" - } - }, - "node_modules/make-dir": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-1.3.0.tgz", - "integrity": "sha512-2w31R7SJtieJJnQtGc7RVL2StM2vGYVfqUOvUDxH6bC6aJTxPxTF0GnIgCyu7tjockiUWAYQRbxa7vKn34s5sQ==", - "dependencies": { - "pify": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/makeerror": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.11.tgz", - "integrity": "sha1-4BpckQnyr3lmDk6LlYd5AYT1qWw=", - "dependencies": { - "tmpl": "1.0.x" - } - }, - "node_modules/mamacro": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/mamacro/-/mamacro-0.0.3.tgz", - "integrity": "sha512-qMEwh+UujcQ+kbz3T6V+wAmO2U8veoq2w+3wY8MquqwVA3jChfwY+Tk52GZKDfACEPjuZ7r2oJLejwpt8jtwTA==" - }, - "node_modules/map-age-cleaner": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/map-age-cleaner/-/map-age-cleaner-0.1.3.tgz", - "integrity": "sha512-bJzx6nMoP6PDLPBFmg7+xRKeFZvFboMrGlxmNj9ClvX53KrmvM5bXFXEWjbz4cz1AFn+jWJ9z/DJSz7hrs0w3w==", - "dependencies": { - "p-defer": "^1.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/map-age-cleaner/node_modules/p-defer": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-1.0.0.tgz", - "integrity": "sha1-n26xgvbJqozXQwBKfU+WsZaw+ww=", - "engines": { - "node": ">=4" - } - }, - "node_modules/map-cache": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/map-cache/-/map-cache-0.2.2.tgz", - "integrity": "sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/map-visit": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/map-visit/-/map-visit-1.0.0.tgz", - "integrity": "sha1-7Nyo8TFE5mDxtb1B8S80edmN+48=", - "dependencies": { - "object-visit": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/math-random": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/math-random/-/math-random-1.0.4.tgz", - "integrity": "sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A==" - }, - "node_modules/md5.js": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/md5.js/-/md5.js-1.3.5.tgz", - "integrity": "sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==", - "dependencies": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1", - "safe-buffer": "^5.1.2" - } - }, - "node_modules/mdn-data": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.0.4.tgz", - "integrity": "sha512-iV3XNKw06j5Q7mi6h+9vbx23Tv7JkjEVgKHW4pimwyDGWm0OIQntJJ+u1C6mg6mK1EaTv42XQ7w76yuzH7M2cA==" - }, - "node_modules/media-typer": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/media-typer/-/media-typer-0.3.0.tgz", - "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mem": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/mem/-/mem-4.3.0.tgz", - "integrity": "sha512-qX2bG48pTqYRVmDB37rn/6PT7LcR8T7oAX3bf99u1Tt1nzxYfxkgqDwUwolPlXweM0XzBOBFzSx4kfp7KP1s/w==", - "dependencies": { - "map-age-cleaner": "^0.1.1", - "mimic-fn": "^2.0.0", - "p-is-promise": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/mem/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/memory-fs": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/memory-fs/-/memory-fs-0.4.1.tgz", - "integrity": "sha1-OpoguEYlI+RHz7x+i7gO1me/xVI=", - "dependencies": { - "errno": "^0.1.3", - "readable-stream": "^2.0.1" - } - }, - "node_modules/memory-fs/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/memory-fs/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/memory-fs/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/memorystream": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/memorystream/-/memorystream-0.3.1.tgz", - "integrity": "sha1-htcJCzDORV1j+64S3aUaR93K+bI=", - "engines": { - "node": ">= 0.10.0" - } - }, - "node_modules/merge": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/merge/-/merge-1.2.1.tgz", - "integrity": "sha512-VjFo4P5Whtj4vsLzsYBu5ayHhoHJ0UqNm7ibvShmbmoz7tGi0vXaoJbGdB+GmDMLUdg8DpQXEIeVDAe8MaABvQ==" - }, - "node_modules/merge-deep": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/merge-deep/-/merge-deep-3.0.3.tgz", - "integrity": "sha512-qtmzAS6t6grwEkNrunqTBdn0qKwFgNWvlxUbAV8es9M7Ot1EbyApytCnvE0jALPa46ZpKDUo527kKiaWplmlFA==", - "dependencies": { - "arr-union": "^3.1.0", - "clone-deep": "^0.2.4", - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha1-sAqqVW3YtEVoFQ7J0blT8/kMu2E=" - }, - "node_modules/merge-options": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/merge-options/-/merge-options-3.0.4.tgz", - "integrity": "sha512-2Sug1+knBjkaMsMgf1ctR1Ujx+Ayku4EdJN4Z+C2+JzoeF7A3OZ9KM2GY0CpQS51NR61LTurMJrRKPhSs3ZRTQ==", - "dependencies": { - "is-plain-obj": "^2.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/merge-stream": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-1.0.1.tgz", - "integrity": "sha1-QEEgLVCKNCugAXQAjfDCUbjBNeE=", - "dependencies": { - "readable-stream": "^2.0.1" - } - }, - "node_modules/merge-stream/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/merge-stream/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/merge-stream/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "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/methods": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/methods/-/methods-1.1.2.tgz", - "integrity": "sha1-VSmk1nZUE07cxSZmVoNbD4Ua/O4=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/micromatch": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-3.1.10.tgz", - "integrity": "sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==", - "dependencies": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/micromatch/node_modules/extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", - "dependencies": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/micromatch/node_modules/is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dependencies": { - "is-plain-object": "^2.0.4" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/micromatch/node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/miller-rabin": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/miller-rabin/-/miller-rabin-4.0.1.tgz", - "integrity": "sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==", - "dependencies": { - "bn.js": "^4.0.0", - "brorand": "^1.0.1" - }, - "bin": { - "miller-rabin": "bin/miller-rabin" - } - }, - "node_modules/mime": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/mime/-/mime-2.5.2.tgz", - "integrity": "sha512-tqkh47FzKeCPD2PUiPB6pkbMzsCasjxAfC62/Wap5qrUWcb+sFasXUC5I3gYM5iBM8v/Qpn4UK0x+j0iHyFPDg==", - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/mime-db": { - "version": "1.46.0", - "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.46.0.tgz", - "integrity": "sha512-svXaP8UQRZ5K7or+ZmfNhg2xX3yKDMUzqadsSqi4NCH/KomcH75MAMYAGVlvXn4+b/xOPhS3I2uHKRUzvjY7BQ==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mime-types": { - "version": "2.1.29", - "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.29.tgz", - "integrity": "sha512-Y/jMt/S5sR9OaqteJtslsFZKWOIIqMACsJSiHghlCAyhf7jfVYjKBmLiX8OgpWeW+fjJ2b+Az69aPFPkUOY6xQ==", - "dependencies": { - "mime-db": "1.46.0" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/mimic-fn": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-1.2.0.tgz", - "integrity": "sha512-jf84uxzwiuiIVKiOLpfYk7N46TSy8ubTonmneY9vrpHNAnp0QBt2BxWV9dO3/j+BoVAb+a5G6YDPW3M5HOdMWQ==", - "engines": { - "node": ">=4" - } - }, - "node_modules/mimic-response": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/mimic-response/-/mimic-response-1.0.1.tgz", - "integrity": "sha512-j5EctnkH7amfV/q5Hgmoal1g2QHFJRraOtmx0JpIqkxhBhI/lJSl1nMpQ45hVarwNETOoWEimndZ4QK0RHxuxQ==", - "engines": { - "node": ">=4" - } - }, - "node_modules/min-document": { - "version": "2.19.0", - "resolved": "https://registry.npmjs.org/min-document/-/min-document-2.19.0.tgz", - "integrity": "sha1-e9KC4/WELtKVu3SM3Z8f+iyCRoU=", - "dependencies": { - "dom-walk": "^0.1.0" - } - }, - "node_modules/mini-create-react-context": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/mini-create-react-context/-/mini-create-react-context-0.4.1.tgz", - "integrity": "sha512-YWCYEmd5CQeHGSAKrYvXgmzzkrvssZcuuQDDeqkT+PziKGMgE+0MCCtcKbROzocGBG1meBLl2FotlRwf4gAzbQ==", - "dependencies": { - "@babel/runtime": "^7.12.1", - "tiny-warning": "^1.0.3" - }, - "peerDependencies": { - "prop-types": "^15.0.0", - "react": "^0.14.0 || ^15.0.0 || ^16.0.0 || ^17.0.0" - } - }, - "node_modules/mini-css-extract-plugin": { - "version": "0.4.3", - "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-0.4.3.tgz", - "integrity": "sha512-Mxs0nxzF1kxPv4TRi2NimewgXlJqh0rGE30vviCU2WHrpbta6wklnUV9dr9FUtoAHmB3p3LeXEC+ZjgHvB0Dzg==", - "dependencies": { - "loader-utils": "^1.1.0", - "schema-utils": "^1.0.0", - "webpack-sources": "^1.1.0" - }, - "engines": { - "node": ">= 6.9.0 <7.0.0 || >= 8.9.0" - }, - "peerDependencies": { - "webpack": "^4.4.0" - } - }, - "node_modules/minimalistic-assert": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-assert/-/minimalistic-assert-1.0.1.tgz", - "integrity": "sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==" - }, - "node_modules/minimalistic-crypto-utils": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/minimalistic-crypto-utils/-/minimalistic-crypto-utils-1.0.1.tgz", - "integrity": "sha1-9sAMHAsIIkblxNmd+4x8CDsrWCo=" - }, - "node_modules/minimatch": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz", - "integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==", - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/minimist": { - "version": "1.2.5", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", - "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" - }, - "node_modules/mississippi": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz", - "integrity": "sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==", - "dependencies": { - "concat-stream": "^1.5.0", - "duplexify": "^3.4.2", - "end-of-stream": "^1.1.0", - "flush-write-stream": "^1.0.0", - "from2": "^2.1.0", - "parallel-transform": "^1.1.0", - "pump": "^3.0.0", - "pumpify": "^1.3.3", - "stream-each": "^1.1.0", - "through2": "^2.0.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/mixin-deep": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/mixin-deep/-/mixin-deep-1.3.2.tgz", - "integrity": "sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==", - "dependencies": { - "for-in": "^1.0.2", - "is-extendable": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/mixin-deep/node_modules/is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dependencies": { - "is-plain-object": "^2.0.4" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/mixin-object": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/mixin-object/-/mixin-object-2.0.1.tgz", - "integrity": "sha1-T7lJRB2rGCVA8f4DW6YOGUel5X4=", - "dependencies": { - "for-in": "^0.1.3", - "is-extendable": "^0.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/mixin-object/node_modules/for-in": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/for-in/-/for-in-0.1.8.tgz", - "integrity": "sha1-2Hc5COMSVhCZUrH9ubP6hn0ndeE=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/mkdirp": { - "version": "0.5.5", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.5.tgz", - "integrity": "sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ==", - "dependencies": { - "minimist": "^1.2.5" - }, - "bin": { - "mkdirp": "bin/cmd.js" - } - }, - "node_modules/mocha": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/mocha/-/mocha-4.1.0.tgz", - "integrity": "sha512-0RVnjg1HJsXY2YFDoTNzcc1NKhYuXKRrBAG2gDygmJJA136Cs2QlRliZG1mA0ap7cuaT30mw16luAeln+4RiNA==", - "dependencies": { - "browser-stdout": "1.3.0", - "commander": "2.11.0", - "debug": "3.1.0", - "diff": "3.3.1", - "escape-string-regexp": "1.0.5", - "glob": "7.1.2", - "growl": "1.10.3", - "he": "1.1.1", - "mkdirp": "0.5.1", - "supports-color": "4.4.0" - }, - "bin": { - "_mocha": "bin/_mocha", - "mocha": "bin/mocha" - }, - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/mocha/node_modules/commander": { - "version": "2.11.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.11.0.tgz", - "integrity": "sha512-b0553uYA5YAEGgyYIGYROzKQ7X5RAqedkfjiZxwi0kL1g3bOaBNNZfYkzt/CL0umgD5wc9Jec2FbB98CjkMRvQ==" - }, - "node_modules/mocha/node_modules/debug": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-3.1.0.tgz", - "integrity": "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==", - "dependencies": { - "ms": "2.0.0" - } - }, - "node_modules/mocha/node_modules/diff": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/diff/-/diff-3.3.1.tgz", - "integrity": "sha512-MKPHZDMB0o6yHyDryUOScqZibp914ksXwAMYMTHj6KO8UeKsRYNJD3oNCKjTqZon+V488P7N/HzXF8t7ZR95ww==", - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/mocha/node_modules/glob": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz", - "integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==", - "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": "*" - } - }, - "node_modules/mocha/node_modules/has-flag": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-2.0.0.tgz", - "integrity": "sha1-6CB68cx7MNRGzHC3NLXovhj4jVE=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/mocha/node_modules/he": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/he/-/he-1.1.1.tgz", - "integrity": "sha1-k0EP0hsAlzUVH4howvJx80J+I/0=", - "bin": { - "he": "bin/he" - } - }, - "node_modules/mocha/node_modules/minimist": { - "version": "0.0.8", - "resolved": "https://registry.npmjs.org/minimist/-/minimist-0.0.8.tgz", - "integrity": "sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=" - }, - "node_modules/mocha/node_modules/mkdirp": { - "version": "0.5.1", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.1.tgz", - "integrity": "sha1-MAV0OOrGz3+MR2fzhkjWaX11yQM=", - "deprecated": "Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)", - "dependencies": { - "minimist": "0.0.8" - }, - "bin": { - "mkdirp": "bin/cmd.js" - } - }, - "node_modules/mocha/node_modules/supports-color": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-4.4.0.tgz", - "integrity": "sha512-rKC3+DyXWgK0ZLKwmRsrkyHVZAjNkfzeehuFWdGGcqGDTZFH73+RH6S/RDAAxl9GusSjZSUWYLmT9N5pzXFOXQ==", - "dependencies": { - "has-flag": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/move-concurrently": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz", - "integrity": "sha1-viwAX9oy4LKa8fBdfEszIUxwH5I=", - "dependencies": { - "aproba": "^1.1.1", - "copy-concurrently": "^1.0.0", - "fs-write-stream-atomic": "^1.0.8", - "mkdirp": "^0.5.1", - "rimraf": "^2.5.4", - "run-queue": "^1.0.3" - } - }, - "node_modules/ms": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", - "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" - }, - "node_modules/multiaddr": { - "version": "8.1.2", - "resolved": "https://registry.npmjs.org/multiaddr/-/multiaddr-8.1.2.tgz", - "integrity": "sha512-r13IzW8+Sv9zab9Gt8RPMIN2WkptIPq99EpAzg4IbJ/zTELhiEwXWr9bAmEatSCI4j/LSA6ESJzvz95JZ+ZYXQ==", - "dependencies": { - "cids": "^1.0.0", - "class-is": "^1.1.0", - "dns-over-http-resolver": "^1.0.0", - "err-code": "^2.0.3", - "is-ip": "^3.1.0", - "multibase": "^3.0.0", - "uint8arrays": "^1.1.0", - "varint": "^5.0.0" - } - }, - "node_modules/multiaddr-to-uri": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/multiaddr-to-uri/-/multiaddr-to-uri-6.0.0.tgz", - "integrity": "sha512-OjpkVHOXEmIKMO8WChzzQ7aZQcSQX8squxmvtDbRpy7/QNmJ3Z7jv6qyD74C28QtaeNie8O8ngW2AkeiMmKP7A==", - "dependencies": { - "multiaddr": "^8.0.0" - } - }, - "node_modules/multiaddr/node_modules/multibase": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/multibase/-/multibase-3.1.2.tgz", - "integrity": "sha512-bpklWHs70LO3smJUHOjcnzGceJJvn9ui0Vau6Za0B/GBepaXswmW8Ufea0uD9pROf/qCQ4N4lZ3sf3U+SNf0tw==", - "dependencies": { - "@multiformats/base-x": "^4.0.1", - "web-encoding": "^1.0.6" - }, - "engines": { - "node": ">=10.0.0", - "npm": ">=6.0.0" - } - }, - "node_modules/multiaddr/node_modules/uint8arrays": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-1.1.0.tgz", - "integrity": "sha512-cLdlZ6jnFczsKf5IH1gPHTtcHtPGho5r4CvctohmQjw8K7Q3gFdfIGHxSTdTaCKrL4w09SsPRJTqRS0drYeszA==", - "dependencies": { - "multibase": "^3.0.0", - "web-encoding": "^1.0.2" - } - }, - "node_modules/multibase": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/multibase/-/multibase-4.0.2.tgz", - "integrity": "sha512-l0XMK4O5I9cCfxC0/UMDX/UxlIlrqkjEZQNG+ZUUrsGhnXWgFXgatYOQSONiR/lQGfBO463UyZkh3SiQBpjRIQ==", - "dependencies": { - "@multiformats/base-x": "^4.0.1", - "web-encoding": "^1.1.0" - }, - "engines": { - "node": ">=12.0.0", - "npm": ">=6.0.0" - } - }, - "node_modules/multicast-dns": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/multicast-dns/-/multicast-dns-6.2.3.tgz", - "integrity": "sha512-ji6J5enbMyGRHIAkAOu3WdV8nggqviKCEKtXcOqfphZZtQrmHKycfynJ2V7eVPUA4NhJ6V7Wf4TmGbTwKE9B6g==", - "dependencies": { - "dns-packet": "^1.3.1", - "thunky": "^1.0.2" - }, - "bin": { - "multicast-dns": "cli.js" - } - }, - "node_modules/multicast-dns-service-types": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/multicast-dns-service-types/-/multicast-dns-service-types-1.1.0.tgz", - "integrity": "sha1-iZ8R2WhuXgXLkbNdXw5jt3PPyQE=" - }, - "node_modules/multicodec": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/multicodec/-/multicodec-3.0.1.tgz", - "integrity": "sha512-Y6j3wiPojvkF/z6KFIGt84KdJdP2oILEdzc/3YbD3qQ3EerhqtYlfsZTPPNVoCCxNZZdzIpCKrdYFSav17sIrQ==", - "dependencies": { - "uint8arrays": "^2.1.3", - "varint": "^5.0.2" - } - }, - "node_modules/multihashes": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-4.0.2.tgz", - "integrity": "sha512-xpx++1iZr4ZQHjN1mcrXS6904R36LWLxX/CBifczjtmrtCXEX623DMWOF1eiNSg+pFpiZDFVBgou/4v6ayCHSQ==", - "dependencies": { - "multibase": "^4.0.1", - "uint8arrays": "^2.1.3", - "varint": "^5.0.2" - }, - "engines": { - "node": ">=12.0.0", - "npm": ">=6.0.0" - } - }, - "node_modules/multihashing-async": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/multihashing-async/-/multihashing-async-2.1.2.tgz", - "integrity": "sha512-FTPNnWWxwIK5dXXmTFhySSF8Fkdqf7vzqpV09+RWsmfUhrsL/b3Arg3+bRrBnXTtjxm3JRGI3wSAtQHL0QCxhQ==", - "dependencies": { - "blakejs": "^1.1.0", - "err-code": "^3.0.0", - "js-sha3": "^0.8.0", - "multihashes": "^4.0.1", - "murmurhash3js-revisited": "^3.0.0", - "uint8arrays": "^2.1.3" - }, - "engines": { - "node": ">=12.0.0", - "npm": ">=6.0.0" - } - }, - "node_modules/multihashing-async/node_modules/err-code": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/err-code/-/err-code-3.0.1.tgz", - "integrity": "sha512-GiaH0KJUewYok+eeY05IIgjtAe4Yltygk9Wqp1V5yVWLdhf0hYZchRjNIT9bb0mSwRcIusT3cx7PJUf3zEIfUA==" - }, - "node_modules/murmurhash3js-revisited": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/murmurhash3js-revisited/-/murmurhash3js-revisited-3.0.0.tgz", - "integrity": "sha512-/sF3ee6zvScXMb1XFJ8gDsSnY+X8PbOyjIuBhtgis10W2Jx4ZjIhikUCIF9c4gpJxVnQIsPAFrSwTCuAjicP6g==", - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/mute-stream": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/mute-stream/-/mute-stream-0.0.7.tgz", - "integrity": "sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=" - }, - "node_modules/nan": { - "version": "2.14.2", - "resolved": "https://registry.npmjs.org/nan/-/nan-2.14.2.tgz", - "integrity": "sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==" - }, - "node_modules/nanoid": { - "version": "3.1.21", - "resolved": "https://registry.npmjs.org/nanoid/-/nanoid-3.1.21.tgz", - "integrity": "sha512-A6oZraK4DJkAOICstsGH98dvycPr/4GGDH7ZWKmMdd3vGcOurZ6JmWFUt0DA5bzrrn2FrUjmv6mFNWvv8jpppA==", - "bin": { - "nanoid": "bin/nanoid.cjs" - }, - "engines": { - "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1" - } - }, - "node_modules/nanomatch": { - "version": "1.2.13", - "resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz", - "integrity": "sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==", - "dependencies": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "fragment-cache": "^0.2.1", - "is-windows": "^1.0.2", - "kind-of": "^6.0.2", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/nanomatch/node_modules/extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", - "dependencies": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/nanomatch/node_modules/is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dependencies": { - "is-plain-object": "^2.0.4" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/nanomatch/node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/native-abort-controller": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/native-abort-controller/-/native-abort-controller-1.0.3.tgz", - "integrity": "sha512-fd5LY5q06mHKZPD5FmMrn7Lkd2H018oBGKNOAdLpctBDEPFKsfJ1nX9ke+XRa8PEJJpjqrpQkGjq2IZ27QNmYA==", - "peerDependencies": { - "abort-controller": "*" - } - }, - "node_modules/native-fetch": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/native-fetch/-/native-fetch-2.0.1.tgz", - "integrity": "sha512-gv4Bea+ga9QdXINurpkEqun3ap3vnB+WYoe4c8ddqUYEH7B2h6iD39RF8uVN7OwmSfMY3RDxkvBnoI4e2/vLXQ==", - "dependencies": { - "globalthis": "^1.0.1" - }, - "peerDependencies": { - "node-fetch": "*" - } - }, - "node_modules/natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=" - }, - "node_modules/negotiator": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", - "integrity": "sha512-hZXc7K2e+PgeI1eDBe/10Ard4ekbfrrqG8Ep+8Jmf4JID2bNg7NvCPOZN+kfF574pFQI7mum2AUqDidoKqcTOw==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/neo-async": { - "version": "2.6.2", - "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", - "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==" - }, - "node_modules/next-tick": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/next-tick/-/next-tick-1.0.0.tgz", - "integrity": "sha1-yobR/ogoFpsBICCOPchCS524NCw=" - }, - "node_modules/nice-try": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", - "integrity": "sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==" - }, - "node_modules/no-case": { - "version": "2.3.2", - "resolved": "https://registry.npmjs.org/no-case/-/no-case-2.3.2.tgz", - "integrity": "sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ==", - "dependencies": { - "lower-case": "^1.1.1" - } - }, - "node_modules/node-addon-api": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-2.0.2.tgz", - "integrity": "sha512-Ntyt4AIXyaLIuMHF6IOoTakB3K+RWxwtsHNRxllEoA6vPwP9o4866g6YWDLUdnucilZhmkxiHwHr11gAENw+QA==" - }, - "node_modules/node-fetch": { - "version": "2.6.1", - "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz", - "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw==", - "engines": { - "node": "4.x || >=6.0.0" - } - }, - "node_modules/node-forge": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.10.0.tgz", - "integrity": "sha512-PPmu8eEeG9saEUvI97fm4OYxXVB6bFvyNTyiUOBichBpFG8A1Ljw3bY62+5oOjDEMHRnd0Y7HQ+x7uzxOzC6JA==", - "engines": { - "node": ">= 6.0.0" - } - }, - "node_modules/node-gyp-build": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.2.3.tgz", - "integrity": "sha512-MN6ZpzmfNCRM+3t57PTJHgHyw/h4OWnZ6mR8P5j/uZtqQr46RRuDE/P+g3n0YR/AiYXeWixZZzaip77gdICfRg==", - "bin": { - "node-gyp-build": "bin.js", - "node-gyp-build-optional": "optional.js", - "node-gyp-build-test": "build-test.js" - } - }, - "node_modules/node-int64": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", - "integrity": "sha1-h6kGXNs1XTGC2PlM4RGIuCXGijs=" - }, - "node_modules/node-libs-browser": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/node-libs-browser/-/node-libs-browser-2.2.1.tgz", - "integrity": "sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==", - "dependencies": { - "assert": "^1.1.1", - "browserify-zlib": "^0.2.0", - "buffer": "^4.3.0", - "console-browserify": "^1.1.0", - "constants-browserify": "^1.0.0", - "crypto-browserify": "^3.11.0", - "domain-browser": "^1.1.1", - "events": "^3.0.0", - "https-browserify": "^1.0.0", - "os-browserify": "^0.3.0", - "path-browserify": "0.0.1", - "process": "^0.11.10", - "punycode": "^1.2.4", - "querystring-es3": "^0.2.0", - "readable-stream": "^2.3.3", - "stream-browserify": "^2.0.1", - "stream-http": "^2.7.2", - "string_decoder": "^1.0.0", - "timers-browserify": "^2.0.4", - "tty-browserify": "0.0.0", - "url": "^0.11.0", - "util": "^0.11.0", - "vm-browserify": "^1.0.1" - } - }, - "node_modules/node-libs-browser/node_modules/buffer": { - "version": "4.9.2", - "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.2.tgz", - "integrity": "sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==", - "dependencies": { - "base64-js": "^1.0.2", - "ieee754": "^1.1.4", - "isarray": "^1.0.0" - } - }, - "node_modules/node-libs-browser/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/node-libs-browser/node_modules/punycode": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.4.1.tgz", - "integrity": "sha1-wNWmOycYgArY4esPpSachN1BhF4=" - }, - "node_modules/node-libs-browser/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/node-libs-browser/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/node-notifier": { - "version": "5.4.5", - "resolved": "https://registry.npmjs.org/node-notifier/-/node-notifier-5.4.5.tgz", - "integrity": "sha512-tVbHs7DyTLtzOiN78izLA85zRqB9NvEXkAf014Vx3jtSvn/xBl6bR8ZYifj+dFcFrKI21huSQgJZ6ZtL3B4HfQ==", - "dependencies": { - "growly": "^1.3.0", - "is-wsl": "^1.1.0", - "semver": "^5.5.0", - "shellwords": "^0.1.1", - "which": "^1.3.0" - } - }, - "node_modules/node-releases": { - "version": "1.1.71", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.71.tgz", - "integrity": "sha512-zR6HoT6LrLCRBwukmrVbHv0EpEQjksO6GmFcZQQuCAy139BEsoVKPYnf3jongYW83fAa1torLGYwxxky/p28sg==" - }, - "node_modules/normalize-package-data": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", - "integrity": "sha512-/5CMN3T0R4XTj4DcGaexo+roZSdSFW/0AOOTROrjxzCG1wrWXEsGbRKevjlIL+ZDE4sZlJr5ED4YW0yqmkK+eA==", - "dependencies": { - "hosted-git-info": "^2.1.4", - "resolve": "^1.10.0", - "semver": "2 || 3 || 4 || 5", - "validate-npm-package-license": "^3.0.1" - } - }, - "node_modules/normalize-package-data/node_modules/resolve": { - "version": "1.20.0", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.20.0.tgz", - "integrity": "sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A==", - "dependencies": { - "is-core-module": "^2.2.0", - "path-parse": "^1.0.6" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "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": "sha1-LRDAa9/TEuqXd2laTShDlFa3WUI=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/normalize-url": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz", - "integrity": "sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/npm-run-path": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", - "integrity": "sha1-NakjLfo11wZ7TLLd8jV7GHFTbF8=", - "dependencies": { - "path-key": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/nth-check": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", - "integrity": "sha512-WeBOdju8SnzPN5vTUJYxYUxLeXpCaVP5i5e0LF8fg7WORF2Wd7wFX/pk0tYZk7s8T+J7VLy0Da6J1+wCT0AtHg==", - "dependencies": { - "boolbase": "~1.0.0" - } - }, - "node_modules/num2fraction": { - "version": "1.2.2", - "resolved": "https://registry.npmjs.org/num2fraction/-/num2fraction-1.2.2.tgz", - "integrity": "sha1-b2gragJ6Tp3fpFZM0lidHU5mnt4=" - }, - "node_modules/number-is-nan": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/number-is-nan/-/number-is-nan-1.0.1.tgz", - "integrity": "sha1-CXtgK1NCKlIsGvuHkDGDNpQaAR0=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/number-to-bn": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/number-to-bn/-/number-to-bn-1.7.0.tgz", - "integrity": "sha1-uzYjWS9+X54AMLGXe9QaDFP+HqA=", - "dependencies": { - "bn.js": "4.11.6", - "strip-hex-prefix": "1.0.0" - }, - "engines": { - "node": ">=6.5.0", - "npm": ">=3" - } - }, - "node_modules/number-to-bn/node_modules/bn.js": { - "version": "4.11.6", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.6.tgz", - "integrity": "sha1-UzRK2xRhehP26N0s4okF0cC6MhU=" - }, - "node_modules/nwsapi": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/nwsapi/-/nwsapi-2.2.0.tgz", - "integrity": "sha512-h2AatdwYH+JHiZpv7pt/gSX1XoRGb7L/qSIeuqA6GwYoF9w1vP1cw42TO0aI2pNyshRK5893hNSl+1//vHK7hQ==" - }, - "node_modules/oauth-sign": { - "version": "0.9.0", - "resolved": "https://registry.npmjs.org/oauth-sign/-/oauth-sign-0.9.0.tgz", - "integrity": "sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==", - "engines": { - "node": "*" - } - }, - "node_modules/object-assign": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", - "integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/object-copy/-/object-copy-0.1.0.tgz", - "integrity": "sha1-fn2Fi3gb18mRpBupde04EnVOmYw=", - "dependencies": { - "copy-descriptor": "^0.1.0", - "define-property": "^0.2.5", - "kind-of": "^3.0.3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-copy/node_modules/is-descriptor/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object-hash": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-1.3.1.tgz", - "integrity": "sha512-OSuu/pU4ENM9kmREg0BdNrUDIl1heYa4mBZacJc+vVWz4GtAwu7jO8s4AIt2aGRUTqxykpWzI3Oqnsm13tTMDA==", - "engines": { - "node": ">= 0.10.0" - } - }, - "node_modules/object-inspect": { - "version": "1.9.0", - "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.9.0.tgz", - "integrity": "sha512-i3Bp9iTqwhaLZBxGkRfo5ZbE07BQRT7MGu8+nNgwW9ItGp1TzCTw2DLEoWwjClxBjOFI/hWljTAmYGCEwmtnOw==", - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object-is": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/object-is/-/object-is-1.1.5.tgz", - "integrity": "sha512-3cyDsyHgtmi7I7DfSSI2LDp6SK2lwvtbg0p0R1e0RvTqF5ceGx+K2dfSjm1bKDMVCFEDAQvy+o8c6a7VujOddw==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "engines": { - "node": ">= 0.4" - }, - "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-visit": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/object-visit/-/object-visit-1.0.1.tgz", - "integrity": "sha1-95xEk68MU3e1n+OdOV5BBC3QRbs=", - "dependencies": { - "isobject": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object.assign": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/object.assign/-/object.assign-4.1.2.tgz", - "integrity": "sha512-ixT2L5THXsApyiUPYKmW+2EHpXXe5Ii3M+f4e+aJFAHao5amFRW6J0OO6c/LU8Be47utCx2GL89hxGB6XSmKuQ==", - "dependencies": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "has-symbols": "^1.0.1", - "object-keys": "^1.1.1" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object.getownpropertydescriptors": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/object.getownpropertydescriptors/-/object.getownpropertydescriptors-2.1.2.tgz", - "integrity": "sha512-WtxeKSzfBjlzL+F9b7M7hewDzMwy+C8NRssHd1YrNlzHzIDrXcXiNOMrezdAEM4UXixgV+vvnyBeN7Rygl2ttQ==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.2" - }, - "engines": { - "node": ">= 0.8" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/object.omit": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/object.omit/-/object.omit-2.0.1.tgz", - "integrity": "sha1-Gpx0SCnznbuFjHbKNXmuKlTr0fo=", - "dependencies": { - "for-own": "^0.1.4", - "is-extendable": "^0.1.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object.pick": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/object.pick/-/object.pick-1.3.0.tgz", - "integrity": "sha1-h6EKxMFpS9Lhy/U1kaZhQftd10c=", - "dependencies": { - "isobject": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/object.values": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/object.values/-/object.values-1.1.3.tgz", - "integrity": "sha512-nkF6PfDB9alkOUxpf1HNm/QlkeW3SReqL5WXeBLpEJJnlPSvRaDQpW3gQTksTN3fgJX4hL42RzKyOin6ff3tyw==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3", - "es-abstract": "^1.18.0-next.2", - "has": "^1.0.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/obuf": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/obuf/-/obuf-1.1.2.tgz", - "integrity": "sha512-PX1wu0AmAdPqOL1mWhqmlOd8kOIZQwGZw6rh7uby9fTc5lhaOWFLX3I6R1hrF9k3zUY40e6igsLGkDXK92LJNg==" - }, - "node_modules/on-finished": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/on-finished/-/on-finished-2.3.0.tgz", - "integrity": "sha1-IPEzZIGwg811M3mSoWlxqi2QaUc=", - "dependencies": { - "ee-first": "1.1.1" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/on-headers": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/on-headers/-/on-headers-1.0.2.tgz", - "integrity": "sha512-pZAE+FJLoyITytdqK0U5s+FIpjN0JP3OzFi/u8Rx+EV5/W+JTWGXG8xFzevE7AjBfDqHv/8vL8qQsIhHnqRkrA==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=", - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/onetime": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-2.0.1.tgz", - "integrity": "sha1-BnQoIw/WdEOyeUsiu6UotoZ5YtQ=", - "dependencies": { - "mimic-fn": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/opn": { - "version": "5.4.0", - "resolved": "https://registry.npmjs.org/opn/-/opn-5.4.0.tgz", - "integrity": "sha512-YF9MNdVy/0qvJvDtunAOzFw9iasOQHpVthTCvGzxt61Il64AYSGdK+rYwld7NAfk9qJ7dt+hymBNSc9LNYS+Sw==", - "dependencies": { - "is-wsl": "^1.1.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/optimize-css-assets-webpack-plugin": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/optimize-css-assets-webpack-plugin/-/optimize-css-assets-webpack-plugin-5.0.1.tgz", - "integrity": "sha512-Rqm6sSjWtx9FchdP0uzTQDc7GXDKnwVEGoSxjezPkzMewx7gEWE9IMUYKmigTRC4U3RaNSwYVnUDLuIdtTpm0A==", - "dependencies": { - "cssnano": "^4.1.0", - "last-call-webpack-plugin": "^3.0.0" - }, - "peerDependencies": { - "webpack": "^4.0.0" - } - }, - "node_modules/optionator": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", - "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", - "dependencies": { - "deep-is": "~0.1.3", - "fast-levenshtein": "~2.0.6", - "levn": "~0.3.0", - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2", - "word-wrap": "~1.2.3" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/original": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/original/-/original-1.0.2.tgz", - "integrity": "sha512-hyBVl6iqqUOJ8FqRe+l/gS8H+kKYjrEndd5Pm1MfBtsEKA038HkkdbAl/72EAXGyonD/PFsvmVG+EvcIpliMBg==", - "dependencies": { - "url-parse": "^1.4.3" - } - }, - "node_modules/original-require": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/original-require/-/original-require-1.0.1.tgz", - "integrity": "sha1-DxMEcVhM0zURxew4yNWSE/msXiA=" - }, - "node_modules/os-browserify": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/os-browserify/-/os-browserify-0.3.0.tgz", - "integrity": "sha1-hUNzx/XCMVkU/Jv8a9gjj92h7Cc=" - }, - "node_modules/os-homedir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-homedir/-/os-homedir-1.0.2.tgz", - "integrity": "sha1-/7xJiDNuDoM94MFox+8VISGqf7M=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/os-locale": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-3.1.0.tgz", - "integrity": "sha512-Z8l3R4wYWM40/52Z+S265okfFj8Kt2cC2MKY+xNi3kFs+XGI7WXu/I309QQQYbRW4ijiZ+yxs9pqEhJh0DqW3Q==", - "dependencies": { - "execa": "^1.0.0", - "lcid": "^2.0.0", - "mem": "^4.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/os-locale/node_modules/execa": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-1.0.0.tgz", - "integrity": "sha512-adbxcyWV46qiHyvSp50TKt05tB4tK3HcmF7/nxfAdhnox83seTDbwnaqKO4sXRy7roHAIFqJP/Rw/AuEbX61LA==", - "dependencies": { - "cross-spawn": "^6.0.0", - "get-stream": "^4.0.0", - "is-stream": "^1.1.0", - "npm-run-path": "^2.0.0", - "p-finally": "^1.0.0", - "signal-exit": "^3.0.0", - "strip-eof": "^1.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/os-locale/node_modules/get-stream": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-4.1.0.tgz", - "integrity": "sha512-GMat4EJ5161kIy2HevLlr4luNjBgvmj413KaQA7jt4V8B4RDsfpHk7WQ9GVqfYyyx8OS/L66Kox+rJRNklLK7w==", - "dependencies": { - "pump": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/os-tmpdir": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/p-defer": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-3.0.0.tgz", - "integrity": "sha512-ugZxsxmtTln604yeYd29EGrNhazN2lywetzpKhfmQjW/VJmhpDmWbiX+h0zL8V91R0UXkhb3KtPmyq9PZw3aYw==", - "engines": { - "node": ">=8" - } - }, - "node_modules/p-fifo": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-fifo/-/p-fifo-1.0.0.tgz", - "integrity": "sha512-IjoCxXW48tqdtDFz6fqo5q1UfFVjjVZe8TC1QRflvNUJtNfCUhxOUw6MOVZhDPjqhSzc26xKdugsO17gmzd5+A==", - "dependencies": { - "fast-fifo": "^1.0.0", - "p-defer": "^3.0.0" - } - }, - "node_modules/p-finally": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-finally/-/p-finally-1.0.0.tgz", - "integrity": "sha1-P7z7FbiZpEEjs0ttzBi3JDNqLK4=", - "engines": { - "node": ">=4" - } - }, - "node_modules/p-is-promise": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/p-is-promise/-/p-is-promise-2.1.0.tgz", - "integrity": "sha512-Y3W0wlRPK8ZMRbNq97l4M5otioeA5lm1z7bkNkxCka8HSPjR0xRWmpCmc9utiaLP9Jb1eD8BgeIxTW4AIF45Pg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/p-limit": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz", - "integrity": "sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==", - "dependencies": { - "p-try": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/p-locate": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-2.0.0.tgz", - "integrity": "sha1-IKAQOyIqcMj9OcwuWAaA893l7EM=", - "dependencies": { - "p-limit": "^1.1.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/p-map": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/p-map/-/p-map-1.2.0.tgz", - "integrity": "sha512-r6zKACMNhjPJMTl8KcFH4li//gkrXWfbD6feV8l6doRHlzljFWGJ2AP6iKaCJXyZmAUMOPtvbW7EXkbWO/pLEA==", - "engines": { - "node": ">=4" - } - }, - "node_modules/p-try": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-1.0.0.tgz", - "integrity": "sha1-y8ec26+P1CKOE/Yh8rGiN8GyB7M=", - "engines": { - "node": ">=4" - } - }, - "node_modules/pako": { - "version": "1.0.11", - "resolved": "https://registry.npmjs.org/pako/-/pako-1.0.11.tgz", - "integrity": "sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==" - }, - "node_modules/parallel-transform": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/parallel-transform/-/parallel-transform-1.2.0.tgz", - "integrity": "sha512-P2vSmIu38uIlvdcU7fDkyrxj33gTUy/ABO5ZUbGowxNCopBq/OoD42bP4UmMrJoPyk4Uqf0mu3mtWBhHCZD8yg==", - "dependencies": { - "cyclist": "^1.0.1", - "inherits": "^2.0.3", - "readable-stream": "^2.1.5" - } - }, - "node_modules/parallel-transform/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/parallel-transform/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/parallel-transform/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/param-case": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/param-case/-/param-case-2.1.1.tgz", - "integrity": "sha1-35T9jPZTHs915r75oIWPvHK+Ikc=", - "dependencies": { - "no-case": "^2.2.0" - } - }, - "node_modules/parse-asn1": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/parse-asn1/-/parse-asn1-5.1.6.tgz", - "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" - } - }, - "node_modules/parse-duration": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/parse-duration/-/parse-duration-0.4.4.tgz", - "integrity": "sha512-KbAJuYGUhZkB9gotDiKLnZ7Z3VTacK3fgwmDdB6ZVDtJbMBT6MfLga0WJaYpPDu0mzqT0NgHtHDt5PY4l0nidg==" - }, - "node_modules/parse-glob": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/parse-glob/-/parse-glob-3.0.4.tgz", - "integrity": "sha1-ssN2z7EfNVE7rdFz7wu246OIORw=", - "dependencies": { - "glob-base": "^0.3.0", - "is-dotfile": "^1.0.0", - "is-extglob": "^1.0.0", - "is-glob": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/parse-glob/node_modules/is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/parse-glob/node_modules/is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", - "dependencies": { - "is-extglob": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/parse-headers": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/parse-headers/-/parse-headers-2.0.3.tgz", - "integrity": "sha512-QhhZ+DCCit2Coi2vmAKbq5RGTRcQUOE2+REgv8vdyu7MnYx2eZztegqtTx99TZ86GTIwqiy3+4nQTWZ2tgmdCA==" - }, - "node_modules/parse-json": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-4.0.0.tgz", - "integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=", - "dependencies": { - "error-ex": "^1.3.1", - "json-parse-better-errors": "^1.0.1" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/parse5": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/parse5/-/parse5-6.0.1.tgz", - "integrity": "sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw==" - }, - "node_modules/parseurl": { - "version": "1.3.3", - "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", - "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/pascalcase": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/pascalcase/-/pascalcase-0.1.1.tgz", - "integrity": "sha1-s2PlXoAGym/iF4TS2yK9FdeRfxQ=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-browserify": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/path-browserify/-/path-browserify-0.0.1.tgz", - "integrity": "sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==" - }, - "node_modules/path-dirname": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/path-dirname/-/path-dirname-1.0.2.tgz", - "integrity": "sha1-zDPSTVJeCZpTiMAzbG4yuRYGCeA=" - }, - "node_modules/path-exists": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-3.0.0.tgz", - "integrity": "sha1-zg6+ql94yxiSXqfYENe1mwEP1RU=", - "engines": { - "node": ">=4" - } - }, - "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": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-is-inside": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/path-is-inside/-/path-is-inside-1.0.2.tgz", - "integrity": "sha1-NlQX3t5EQw0cEa9hAn+s8HS9/FM=" - }, - "node_modules/path-key": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-2.0.1.tgz", - "integrity": "sha1-QRyttXTFoUDTpLGRDUDYDMn0C0A=", - "engines": { - "node": ">=4" - } - }, - "node_modules/path-parse": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.6.tgz", - "integrity": "sha512-GSmOT2EbHrINBf9SR7CDELwlJ8AENk3Qn7OikK4nFYAu3Ote2+JYNVvkpAEQm3/TLNEJFD/xZJjzyxg3KBWOzw==" - }, - "node_modules/path-to-regexp": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-1.8.0.tgz", - "integrity": "sha512-n43JRhlUKUAlibEJhPeir1ncUID16QnEjNpwzNdO3Lm4ywrBpBZ5oLD0I6br9evr1Y9JTqwRtAh7JLoOzAQdVA==", - "dependencies": { - "isarray": "0.0.1" - } - }, - "node_modules/path-type": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-3.0.0.tgz", - "integrity": "sha512-T2ZUsdZFHgA3u4e5PfPbjd7HDDpxPnQb5jN0SrDsjNSuVXHJqtwTnWqG0B1jZrgmJ/7lj1EmVIByWt1gxGkWvg==", - "dependencies": { - "pify": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/pathval": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/pathval/-/pathval-1.1.1.tgz", - "integrity": "sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==", - "engines": { - "node": "*" - } - }, - "node_modules/pbkdf2": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/pbkdf2/-/pbkdf2-3.1.1.tgz", - "integrity": "sha512-4Ejy1OPxi9f2tt1rRV7Go7zmfDQ+ZectEQz3VGUQhgq62HtIRPDyG/JtnwIxs6x3uNMwo2V7q1fMvKjb+Tnpqg==", - "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" - }, - "engines": { - "node": ">=0.12" - } - }, - "node_modules/peer-id": { - "version": "0.14.3", - "resolved": "https://registry.npmjs.org/peer-id/-/peer-id-0.14.3.tgz", - "integrity": "sha512-3ug6gDFWPuzihjjhMC0G/EEyaJaM9JCKPZqvPhwnsbhIUbutbS/MMF8Mb+TdDE1IksOXgCKNmohSZBJ/gFijOg==", - "dependencies": { - "cids": "^1.1.5", - "class-is": "^1.1.0", - "libp2p-crypto": "^0.19.0", - "minimist": "^1.2.5", - "multihashes": "^3.1.1", - "protons": "^2.0.0", - "uint8arrays": "^2.0.5" - }, - "bin": { - "peer-id": "src/bin.js" - }, - "engines": { - "node": ">=10.0.0", - "npm": ">=6.0.0" - } - }, - "node_modules/peer-id/node_modules/multibase": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/multibase/-/multibase-3.1.2.tgz", - "integrity": "sha512-bpklWHs70LO3smJUHOjcnzGceJJvn9ui0Vau6Za0B/GBepaXswmW8Ufea0uD9pROf/qCQ4N4lZ3sf3U+SNf0tw==", - "dependencies": { - "@multiformats/base-x": "^4.0.1", - "web-encoding": "^1.0.6" - }, - "engines": { - "node": ">=10.0.0", - "npm": ">=6.0.0" - } - }, - "node_modules/peer-id/node_modules/multihashes": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/multihashes/-/multihashes-3.1.2.tgz", - "integrity": "sha512-AP4IoV/YzkNrfbQKZE3OMPibrmy350OmCd6cJkwyM8oExaXIlOY4UnOOVSQtAEuq/LR01XfXKCESidzZvSwHCQ==", - "dependencies": { - "multibase": "^3.1.0", - "uint8arrays": "^2.0.5", - "varint": "^6.0.0" - }, - "engines": { - "node": ">=10.0.0", - "npm": ">=6.0.0" - } - }, - "node_modules/peer-id/node_modules/varint": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/varint/-/varint-6.0.0.tgz", - "integrity": "sha512-cXEIW6cfr15lFv563k4GuVuW/fiwjknytD37jIOLSdSWuOI6WnO/oKwmP2FQTU2l01LP8/M5TSAJpzUaGe3uWg==" - }, - "node_modules/pem-jwk": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/pem-jwk/-/pem-jwk-2.0.0.tgz", - "integrity": "sha512-rFxu7rVoHgQ5H9YsP50dDWf0rHjreVA2z0yPiWr5WdH/UHb29hKtF7h6l8vNd1cbYR1t0QL+JKhW55a2ZV4KtA==", - "dependencies": { - "asn1.js": "^5.0.1" - }, - "bin": { - "pem-jwk": "bin/pem-jwk.js" - }, - "engines": { - "node": ">=5.10.0" - } - }, - "node_modules/performance-now": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/performance-now/-/performance-now-2.1.0.tgz", - "integrity": "sha1-Ywn04OX6kT7BxpMHrjZLSzd8nns=" - }, - "node_modules/picomatch": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.2.2.tgz", - "integrity": "sha512-q0M/9eZHzmr0AulXyPwNfZjtwZ/RBZlbN3K3CErVrk50T2ASYI7Bye0EvekFY3IP1Nt2DHu0re+V2ZHIpMkuWg==", - "optional": true, - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pify": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", - "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=", - "engines": { - "node": ">=4" - } - }, - "node_modules/pinkie": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/pinkie/-/pinkie-2.0.4.tgz", - "integrity": "sha1-clVrgM+g1IqXToDnckjoDtT3+HA=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/pinkie-promise": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pinkie-promise/-/pinkie-promise-2.0.1.tgz", - "integrity": "sha1-ITXW36ejWMBprJsXh3YogihFD/o=", - "dependencies": { - "pinkie": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/pkg-dir": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-2.0.0.tgz", - "integrity": "sha1-9tXREJ4Z1j7fQo4L1X4Sd3YVM0s=", - "dependencies": { - "find-up": "^2.1.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/pkg-up": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/pkg-up/-/pkg-up-2.0.0.tgz", - "integrity": "sha1-yBmscoBZpGHKscOImivjxJoATX8=", - "dependencies": { - "find-up": "^2.1.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/pluralize": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/pluralize/-/pluralize-7.0.0.tgz", - "integrity": "sha512-ARhBOdzS3e41FbkW/XWrTEtukqqLoK5+Z/4UeDaLuSW+39JPeFgs4gCGqsrJHVZX0fUrx//4OF0K1CUGwlIFow==", - "engines": { - "node": ">=4" - } - }, - "node_modules/pn": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/pn/-/pn-1.1.0.tgz", - "integrity": "sha512-2qHaIQr2VLRFoxe2nASzsV6ef4yOOH+Fi9FBOVH6cqeSgUnoyySPZkxzLuzd+RYOQTRpROA0ztTMqxROKSb/nA==" - }, - "node_modules/pnp-webpack-plugin": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/pnp-webpack-plugin/-/pnp-webpack-plugin-1.1.0.tgz", - "integrity": "sha512-CPCdcFxx7fEcDMWTDjXe2Wypt4JuMt4q5Q2UrpTcyBBkLiCIyPEh/mCGmUWIcNkKGyXwQ9Y2wVhlKm6ketiBNQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/popper.js": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/popper.js/-/popper.js-1.16.1.tgz", - "integrity": "sha512-Wb4p1J4zyFTbM+u6WuO4XstYx4Ky9Cewe4DWrel7B0w6VVICvPwdOpotjzcf6eD8TsckVnIMNONQyPIUFOUbCQ==", - "deprecated": "You can find the new Popper v2 at @popperjs/core, this package is dedicated to the legacy v1", - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/popperjs" - } - }, - "node_modules/portfinder": { - "version": "1.0.28", - "resolved": "https://registry.npmjs.org/portfinder/-/portfinder-1.0.28.tgz", - "integrity": "sha512-Se+2isanIcEqf2XMHjyUKskczxbPH7dQnlMjXX6+dybayyHvAf/TCgyMRlzf/B6QDhAEFOGes0pzRo3by4AbMA==", - "dependencies": { - "async": "^2.6.2", - "debug": "^3.1.1", - "mkdirp": "^0.5.5" - }, - "engines": { - "node": ">= 0.12.0" - } - }, - "node_modules/portfinder/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/portfinder/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - }, - "node_modules/posix-character-classes": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/posix-character-classes/-/posix-character-classes-0.1.1.tgz", - "integrity": "sha1-AerA/jta9xoqbAL+q7jB/vfgDqs=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss": { - "version": "6.0.23", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-6.0.23.tgz", - "integrity": "sha512-soOk1h6J3VMTZtVeVpv15/Hpdl2cBLX3CAw4TAbkpTJiNPk9YP/zWcD1ND+xEtvyuuvKzbxliTOIyvkSeSJ6ag==", - "dependencies": { - "chalk": "^2.4.1", - "source-map": "^0.6.1", - "supports-color": "^5.4.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/postcss-attribute-case-insensitive": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-attribute-case-insensitive/-/postcss-attribute-case-insensitive-4.0.2.tgz", - "integrity": "sha512-clkFxk/9pcdb4Vkn0hAHq3YnxBQ2p0CGD1dy24jN+reBck+EWxMbxSUqN4Yj7t0w8csl87K6p0gxBe1utkJsYA==", - "dependencies": { - "postcss": "^7.0.2", - "postcss-selector-parser": "^6.0.2" - } - }, - "node_modules/postcss-attribute-case-insensitive/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-attribute-case-insensitive/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-attribute-case-insensitive/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-attribute-case-insensitive/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-attribute-case-insensitive/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-attribute-case-insensitive/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-calc": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/postcss-calc/-/postcss-calc-7.0.5.tgz", - "integrity": "sha512-1tKHutbGtLtEZF6PT4JSihCHfIVldU72mZ8SdZHIYriIZ9fh9k9aWSppaT8rHsyI3dX+KSR+W+Ix9BMY3AODrg==", - "dependencies": { - "postcss": "^7.0.27", - "postcss-selector-parser": "^6.0.2", - "postcss-value-parser": "^4.0.2" - } - }, - "node_modules/postcss-calc/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-calc/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-calc/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-calc/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-calc/node_modules/postcss-value-parser": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz", - "integrity": "sha512-97DXOFbQJhk71ne5/Mt6cOu6yxsSfM0QGQyl0L25Gca4yGWEGJaig7l7gbCX623VqTBNGLRLaVUCnNkcedlRSQ==" - }, - "node_modules/postcss-calc/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-calc/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-color-functional-notation": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/postcss-color-functional-notation/-/postcss-color-functional-notation-2.0.1.tgz", - "integrity": "sha512-ZBARCypjEDofW4P6IdPVTLhDNXPRn8T2s1zHbZidW6rPaaZvcnCS2soYFIQJrMZSxiePJ2XIYTlcb2ztr/eT2g==", - "dependencies": { - "postcss": "^7.0.2", - "postcss-values-parser": "^2.0.0" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-color-functional-notation/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-color-functional-notation/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-color-functional-notation/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-color-functional-notation/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-color-functional-notation/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-color-functional-notation/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-color-gray": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/postcss-color-gray/-/postcss-color-gray-5.0.0.tgz", - "integrity": "sha512-q6BuRnAGKM/ZRpfDascZlIZPjvwsRye7UDNalqVz3s7GDxMtqPY6+Q871liNxsonUw8oC61OG+PSaysYpl1bnw==", - "dependencies": { - "@csstools/convert-colors": "^1.4.0", - "postcss": "^7.0.5", - "postcss-values-parser": "^2.0.0" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-color-gray/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-color-gray/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-color-gray/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-color-gray/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-color-gray/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-color-gray/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-color-hex-alpha": { - "version": "5.0.3", - "resolved": "https://registry.npmjs.org/postcss-color-hex-alpha/-/postcss-color-hex-alpha-5.0.3.tgz", - "integrity": "sha512-PF4GDel8q3kkreVXKLAGNpHKilXsZ6xuu+mOQMHWHLPNyjiUBOr75sp5ZKJfmv1MCus5/DWUGcK9hm6qHEnXYw==", - "dependencies": { - "postcss": "^7.0.14", - "postcss-values-parser": "^2.0.1" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-color-hex-alpha/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-color-hex-alpha/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-color-hex-alpha/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-color-hex-alpha/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-color-hex-alpha/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-color-hex-alpha/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-color-mod-function": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/postcss-color-mod-function/-/postcss-color-mod-function-3.0.3.tgz", - "integrity": "sha512-YP4VG+xufxaVtzV6ZmhEtc+/aTXH3d0JLpnYfxqTvwZPbJhWqp8bSY3nfNzNRFLgB4XSaBA82OE4VjOOKpCdVQ==", - "dependencies": { - "@csstools/convert-colors": "^1.4.0", - "postcss": "^7.0.2", - "postcss-values-parser": "^2.0.0" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-color-mod-function/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-color-mod-function/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-color-mod-function/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-color-mod-function/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-color-mod-function/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-color-mod-function/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-color-rebeccapurple": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-color-rebeccapurple/-/postcss-color-rebeccapurple-4.0.1.tgz", - "integrity": "sha512-aAe3OhkS6qJXBbqzvZth2Au4V3KieR5sRQ4ptb2b2O8wgvB3SJBsdG+jsn2BZbbwekDG8nTfcCNKcSfe/lEy8g==", - "dependencies": { - "postcss": "^7.0.2", - "postcss-values-parser": "^2.0.0" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-color-rebeccapurple/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-color-rebeccapurple/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-color-rebeccapurple/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-color-rebeccapurple/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-color-rebeccapurple/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-color-rebeccapurple/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-colormin": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/postcss-colormin/-/postcss-colormin-4.0.3.tgz", - "integrity": "sha512-WyQFAdDZpExQh32j0U0feWisZ0dmOtPl44qYmJKkq9xFWY3p+4qnRzCHeNrkeRhwPHz9bQ3mo0/yVkaply0MNw==", - "dependencies": { - "browserslist": "^4.0.0", - "color": "^3.0.0", - "has": "^1.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-colormin/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-colormin/node_modules/browserslist": { - "version": "4.16.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.3.tgz", - "integrity": "sha512-vIyhWmIkULaq04Gt93txdh+j02yX/JzlyhLYbV3YQCn/zvES3JnY7TifHHvvr1w5hTDluNKMkV05cs4vy8Q7sw==", - "dependencies": { - "caniuse-lite": "^1.0.30001181", - "colorette": "^1.2.1", - "electron-to-chromium": "^1.3.649", - "escalade": "^3.1.1", - "node-releases": "^1.1.70" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } - }, - "node_modules/postcss-colormin/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-colormin/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-colormin/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-colormin/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-colormin/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-convert-values": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-convert-values/-/postcss-convert-values-4.0.1.tgz", - "integrity": "sha512-Kisdo1y77KUC0Jmn0OXU/COOJbzM8cImvw1ZFsBgBgMgb1iL23Zs/LXRe3r+EZqM3vGYKdQ2YJVQ5VkJI+zEJQ==", - "dependencies": { - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-convert-values/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-convert-values/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-convert-values/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-convert-values/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-convert-values/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-convert-values/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-custom-media": { - "version": "7.0.8", - "resolved": "https://registry.npmjs.org/postcss-custom-media/-/postcss-custom-media-7.0.8.tgz", - "integrity": "sha512-c9s5iX0Ge15o00HKbuRuTqNndsJUbaXdiNsksnVH8H4gdc+zbLzr/UasOwNG6CTDpLFekVY4672eWdiiWu2GUg==", - "dependencies": { - "postcss": "^7.0.14" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-custom-media/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-custom-media/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-custom-media/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-custom-media/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-custom-media/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-custom-media/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-custom-properties": { - "version": "8.0.11", - "resolved": "https://registry.npmjs.org/postcss-custom-properties/-/postcss-custom-properties-8.0.11.tgz", - "integrity": "sha512-nm+o0eLdYqdnJ5abAJeXp4CEU1c1k+eB2yMCvhgzsds/e0umabFrN6HoTy/8Q4K5ilxERdl/JD1LO5ANoYBeMA==", - "dependencies": { - "postcss": "^7.0.17", - "postcss-values-parser": "^2.0.1" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-custom-properties/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-custom-properties/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-custom-properties/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-custom-properties/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-custom-properties/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-custom-properties/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-custom-selectors": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/postcss-custom-selectors/-/postcss-custom-selectors-5.1.2.tgz", - "integrity": "sha512-DSGDhqinCqXqlS4R7KGxL1OSycd1lydugJ1ky4iRXPHdBRiozyMHrdu0H3o7qNOCiZwySZTUI5MV0T8QhCLu+w==", - "dependencies": { - "postcss": "^7.0.2", - "postcss-selector-parser": "^5.0.0-rc.3" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-custom-selectors/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-custom-selectors/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-custom-selectors/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-custom-selectors/node_modules/cssesc": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-2.0.0.tgz", - "integrity": "sha512-MsCAG1z9lPdoO/IUMLSBWBSVxVtJ1395VGIQ+Fc2gNdkQ1hNDnQdw3YhA71WJCBW1vdwA0cAnk/DnW6bqoEUYg==", - "bin": { - "cssesc": "bin/cssesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-custom-selectors/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-custom-selectors/node_modules/postcss-selector-parser": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-5.0.0.tgz", - "integrity": "sha512-w+zLE5Jhg6Liz8+rQOWEAwtwkyqpfnmsinXjXg6cY7YIONZZtgvE0v2O0uhQBs0peNomOJwWRKt6JBfTdTd3OQ==", - "dependencies": { - "cssesc": "^2.0.0", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-custom-selectors/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-custom-selectors/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-dir-pseudo-class": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/postcss-dir-pseudo-class/-/postcss-dir-pseudo-class-5.0.0.tgz", - "integrity": "sha512-3pm4oq8HYWMZePJY+5ANriPs3P07q+LW6FAdTlkFH2XqDdP4HeeJYMOzn0HYLhRSjBO3fhiqSwwU9xEULSrPgw==", - "dependencies": { - "postcss": "^7.0.2", - "postcss-selector-parser": "^5.0.0-rc.3" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/postcss-dir-pseudo-class/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-dir-pseudo-class/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-dir-pseudo-class/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-dir-pseudo-class/node_modules/cssesc": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-2.0.0.tgz", - "integrity": "sha512-MsCAG1z9lPdoO/IUMLSBWBSVxVtJ1395VGIQ+Fc2gNdkQ1hNDnQdw3YhA71WJCBW1vdwA0cAnk/DnW6bqoEUYg==", - "bin": { - "cssesc": "bin/cssesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-dir-pseudo-class/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-dir-pseudo-class/node_modules/postcss-selector-parser": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-5.0.0.tgz", - "integrity": "sha512-w+zLE5Jhg6Liz8+rQOWEAwtwkyqpfnmsinXjXg6cY7YIONZZtgvE0v2O0uhQBs0peNomOJwWRKt6JBfTdTd3OQ==", - "dependencies": { - "cssesc": "^2.0.0", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-dir-pseudo-class/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-dir-pseudo-class/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-discard-comments": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-discard-comments/-/postcss-discard-comments-4.0.2.tgz", - "integrity": "sha512-RJutN259iuRf3IW7GZyLM5Sw4GLTOH8FmsXBnv8Ab/Tc2k4SR4qbV4DNbyyY4+Sjo362SyDmW2DQ7lBSChrpkg==", - "dependencies": { - "postcss": "^7.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-discard-comments/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-discard-comments/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-discard-comments/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-discard-comments/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-discard-comments/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-discard-comments/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-discard-duplicates": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-discard-duplicates/-/postcss-discard-duplicates-4.0.2.tgz", - "integrity": "sha512-ZNQfR1gPNAiXZhgENFfEglF93pciw0WxMkJeVmw8eF+JZBbMD7jp6C67GqJAXVZP2BWbOztKfbsdmMp/k8c6oQ==", - "dependencies": { - "postcss": "^7.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-discard-duplicates/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-discard-duplicates/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-discard-duplicates/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-discard-duplicates/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-discard-duplicates/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-discard-duplicates/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-discard-empty": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-discard-empty/-/postcss-discard-empty-4.0.1.tgz", - "integrity": "sha512-B9miTzbznhDjTfjvipfHoqbWKwd0Mj+/fL5s1QOz06wufguil+Xheo4XpOnc4NqKYBCNqqEzgPv2aPBIJLox0w==", - "dependencies": { - "postcss": "^7.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-discard-empty/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-discard-empty/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-discard-empty/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-discard-empty/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-discard-empty/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-discard-empty/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-discard-overridden": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-discard-overridden/-/postcss-discard-overridden-4.0.1.tgz", - "integrity": "sha512-IYY2bEDD7g1XM1IDEsUT4//iEYCxAmP5oDSFMVU/JVvT7gh+l4fmjciLqGgwjdWpQIdb0Che2VX00QObS5+cTg==", - "dependencies": { - "postcss": "^7.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-discard-overridden/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-discard-overridden/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-discard-overridden/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-discard-overridden/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-discard-overridden/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-discard-overridden/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-double-position-gradients": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/postcss-double-position-gradients/-/postcss-double-position-gradients-1.0.0.tgz", - "integrity": "sha512-G+nV8EnQq25fOI8CH/B6krEohGWnF5+3A6H/+JEpOncu5dCnkS1QQ6+ct3Jkaepw1NGVqqOZH6lqrm244mCftA==", - "dependencies": { - "postcss": "^7.0.5", - "postcss-values-parser": "^2.0.0" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-double-position-gradients/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-double-position-gradients/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-double-position-gradients/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-double-position-gradients/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-double-position-gradients/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-double-position-gradients/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-env-function": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/postcss-env-function/-/postcss-env-function-2.0.2.tgz", - "integrity": "sha512-rwac4BuZlITeUbiBq60h/xbLzXY43qOsIErngWa4l7Mt+RaSkT7QBjXVGTcBHupykkblHMDrBFh30zchYPaOUw==", - "dependencies": { - "postcss": "^7.0.2", - "postcss-values-parser": "^2.0.0" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-env-function/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-env-function/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-env-function/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-env-function/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-env-function/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-env-function/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-flexbugs-fixes": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/postcss-flexbugs-fixes/-/postcss-flexbugs-fixes-4.1.0.tgz", - "integrity": "sha512-jr1LHxQvStNNAHlgco6PzY308zvLklh7SJVYuWUwyUQncofaAlD2l+P/gxKHOdqWKe7xJSkVLFF/2Tp+JqMSZA==", - "dependencies": { - "postcss": "^7.0.0" - } - }, - "node_modules/postcss-flexbugs-fixes/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-flexbugs-fixes/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-flexbugs-fixes/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-flexbugs-fixes/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-flexbugs-fixes/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-flexbugs-fixes/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-focus-visible": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-focus-visible/-/postcss-focus-visible-4.0.0.tgz", - "integrity": "sha512-Z5CkWBw0+idJHSV6+Bgf2peDOFf/x4o+vX/pwcNYrWpXFrSfTkQ3JQ1ojrq9yS+upnAlNRHeg8uEwFTgorjI8g==", - "dependencies": { - "postcss": "^7.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-focus-visible/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-focus-visible/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-focus-visible/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-focus-visible/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-focus-visible/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-focus-visible/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-focus-within": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-focus-within/-/postcss-focus-within-3.0.0.tgz", - "integrity": "sha512-W0APui8jQeBKbCGZudW37EeMCjDeVxKgiYfIIEo8Bdh5SpB9sxds/Iq8SEuzS0Q4YFOlG7EPFulbbxujpkrV2w==", - "dependencies": { - "postcss": "^7.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-focus-within/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-focus-within/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-focus-within/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-focus-within/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-focus-within/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-focus-within/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-font-variant": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-font-variant/-/postcss-font-variant-4.0.1.tgz", - "integrity": "sha512-I3ADQSTNtLTTd8uxZhtSOrTCQ9G4qUVKPjHiDk0bV75QSxXjVWiJVJ2VLdspGUi9fbW9BcjKJoRvxAH1pckqmA==", - "dependencies": { - "postcss": "^7.0.2" - } - }, - "node_modules/postcss-font-variant/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-font-variant/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-font-variant/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-font-variant/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-font-variant/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-font-variant/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-gap-properties": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/postcss-gap-properties/-/postcss-gap-properties-2.0.0.tgz", - "integrity": "sha512-QZSqDaMgXCHuHTEzMsS2KfVDOq7ZFiknSpkrPJY6jmxbugUPTuSzs/vuE5I3zv0WAS+3vhrlqhijiprnuQfzmg==", - "dependencies": { - "postcss": "^7.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-gap-properties/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-gap-properties/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-gap-properties/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-gap-properties/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-gap-properties/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-gap-properties/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-image-set-function": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/postcss-image-set-function/-/postcss-image-set-function-3.0.1.tgz", - "integrity": "sha512-oPTcFFip5LZy8Y/whto91L9xdRHCWEMs3e1MdJxhgt4jy2WYXfhkng59fH5qLXSCPN8k4n94p1Czrfe5IOkKUw==", - "dependencies": { - "postcss": "^7.0.2", - "postcss-values-parser": "^2.0.0" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-image-set-function/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-image-set-function/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-image-set-function/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-image-set-function/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-image-set-function/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-image-set-function/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-initial": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/postcss-initial/-/postcss-initial-3.0.2.tgz", - "integrity": "sha512-ugA2wKonC0xeNHgirR4D3VWHs2JcU08WAi1KFLVcnb7IN89phID6Qtg2RIctWbnvp1TM2BOmDtX8GGLCKdR8YA==", - "dependencies": { - "lodash.template": "^4.5.0", - "postcss": "^7.0.2" - } - }, - "node_modules/postcss-initial/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-initial/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-initial/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-initial/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-initial/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-initial/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-lab-function": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/postcss-lab-function/-/postcss-lab-function-2.0.1.tgz", - "integrity": "sha512-whLy1IeZKY+3fYdqQFuDBf8Auw+qFuVnChWjmxm/UhHWqNHZx+B99EwxTvGYmUBqe3Fjxs4L1BoZTJmPu6usVg==", - "dependencies": { - "@csstools/convert-colors": "^1.4.0", - "postcss": "^7.0.2", - "postcss-values-parser": "^2.0.0" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-lab-function/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-lab-function/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-lab-function/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-lab-function/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-lab-function/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-lab-function/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-load-config": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-2.1.2.tgz", - "integrity": "sha512-/rDeGV6vMUo3mwJZmeHfEDvwnTKKqQ0S7OHUi/kJvvtx3aWtyWG2/0ZWnzCt2keEclwN6Tf0DST2v9kITdOKYw==", - "dependencies": { - "cosmiconfig": "^5.0.0", - "import-cwd": "^2.0.0" - }, - "engines": { - "node": ">= 4" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-loader": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-loader/-/postcss-loader-3.0.0.tgz", - "integrity": "sha512-cLWoDEY5OwHcAjDnkyRQzAXfs2jrKjXpO/HQFcc5b5u/r7aa471wdmChmwfnv7x2u840iat/wi0lQ5nbRgSkUA==", - "dependencies": { - "loader-utils": "^1.1.0", - "postcss": "^7.0.0", - "postcss-load-config": "^2.0.0", - "schema-utils": "^1.0.0" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/postcss-loader/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-loader/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-loader/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-loader/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-loader/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-loader/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-logical": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-logical/-/postcss-logical-3.0.0.tgz", - "integrity": "sha512-1SUKdJc2vuMOmeItqGuNaC+N8MzBWFWEkAnRnLpFYj1tGGa7NqyVBujfRtgNa2gXR+6RkGUiB2O5Vmh7E2RmiA==", - "dependencies": { - "postcss": "^7.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-logical/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-logical/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-logical/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-logical/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-logical/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-logical/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-media-minmax": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-media-minmax/-/postcss-media-minmax-4.0.0.tgz", - "integrity": "sha512-fo9moya6qyxsjbFAYl97qKO9gyre3qvbMnkOZeZwlsW6XYFsvs2DMGDlchVLfAd8LHPZDxivu/+qW2SMQeTHBw==", - "dependencies": { - "postcss": "^7.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-media-minmax/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-media-minmax/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-media-minmax/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-media-minmax/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-media-minmax/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-media-minmax/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-merge-longhand": { - "version": "4.0.11", - "resolved": "https://registry.npmjs.org/postcss-merge-longhand/-/postcss-merge-longhand-4.0.11.tgz", - "integrity": "sha512-alx/zmoeXvJjp7L4mxEMjh8lxVlDFX1gqWHzaaQewwMZiVhLo42TEClKaeHbRf6J7j82ZOdTJ808RtN0ZOZwvw==", - "dependencies": { - "css-color-names": "0.0.4", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0", - "stylehacks": "^4.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-merge-longhand/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-merge-longhand/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-merge-longhand/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-merge-longhand/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-merge-longhand/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-merge-longhand/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-merge-rules": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-4.0.3.tgz", - "integrity": "sha512-U7e3r1SbvYzO0Jr3UT/zKBVgYYyhAz0aitvGIYOYK5CPmkNih+WDSsS5tvPrJ8YMQYlEMvsZIiqmn7HdFUaeEQ==", - "dependencies": { - "browserslist": "^4.0.0", - "caniuse-api": "^3.0.0", - "cssnano-util-same-parent": "^4.0.0", - "postcss": "^7.0.0", - "postcss-selector-parser": "^3.0.0", - "vendors": "^1.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-merge-rules/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-merge-rules/node_modules/browserslist": { - "version": "4.16.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.3.tgz", - "integrity": "sha512-vIyhWmIkULaq04Gt93txdh+j02yX/JzlyhLYbV3YQCn/zvES3JnY7TifHHvvr1w5hTDluNKMkV05cs4vy8Q7sw==", - "dependencies": { - "caniuse-lite": "^1.0.30001181", - "colorette": "^1.2.1", - "electron-to-chromium": "^1.3.649", - "escalade": "^3.1.1", - "node-releases": "^1.1.70" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } - }, - "node_modules/postcss-merge-rules/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-merge-rules/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-merge-rules/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-merge-rules/node_modules/postcss-selector-parser": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz", - "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==", - "dependencies": { - "dot-prop": "^5.2.0", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/postcss-merge-rules/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-merge-rules/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-minify-font-values": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-minify-font-values/-/postcss-minify-font-values-4.0.2.tgz", - "integrity": "sha512-j85oO6OnRU9zPf04+PZv1LYIYOprWm6IA6zkXkrJXyRveDEuQggG6tvoy8ir8ZwjLxLuGfNkCZEQG7zan+Hbtg==", - "dependencies": { - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-minify-font-values/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-minify-font-values/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-minify-font-values/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-minify-font-values/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-minify-font-values/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-minify-font-values/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-minify-gradients": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-minify-gradients/-/postcss-minify-gradients-4.0.2.tgz", - "integrity": "sha512-qKPfwlONdcf/AndP1U8SJ/uzIJtowHlMaSioKzebAXSG4iJthlWC9iSWznQcX4f66gIWX44RSA841HTHj3wK+Q==", - "dependencies": { - "cssnano-util-get-arguments": "^4.0.0", - "is-color-stop": "^1.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-minify-gradients/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-minify-gradients/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-minify-gradients/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-minify-gradients/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-minify-gradients/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-minify-gradients/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-minify-params": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-minify-params/-/postcss-minify-params-4.0.2.tgz", - "integrity": "sha512-G7eWyzEx0xL4/wiBBJxJOz48zAKV2WG3iZOqVhPet/9geefm/Px5uo1fzlHu+DOjT+m0Mmiz3jkQzVHe6wxAWg==", - "dependencies": { - "alphanum-sort": "^1.0.0", - "browserslist": "^4.0.0", - "cssnano-util-get-arguments": "^4.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0", - "uniqs": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-minify-params/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-minify-params/node_modules/browserslist": { - "version": "4.16.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.3.tgz", - "integrity": "sha512-vIyhWmIkULaq04Gt93txdh+j02yX/JzlyhLYbV3YQCn/zvES3JnY7TifHHvvr1w5hTDluNKMkV05cs4vy8Q7sw==", - "dependencies": { - "caniuse-lite": "^1.0.30001181", - "colorette": "^1.2.1", - "electron-to-chromium": "^1.3.649", - "escalade": "^3.1.1", - "node-releases": "^1.1.70" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } - }, - "node_modules/postcss-minify-params/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-minify-params/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-minify-params/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-minify-params/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-minify-params/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-minify-selectors": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-minify-selectors/-/postcss-minify-selectors-4.0.2.tgz", - "integrity": "sha512-D5S1iViljXBj9kflQo4YutWnJmwm8VvIsU1GeXJGiG9j8CIg9zs4voPMdQDUmIxetUOh60VilsNzCiAFTOqu3g==", - "dependencies": { - "alphanum-sort": "^1.0.0", - "has": "^1.0.0", - "postcss": "^7.0.0", - "postcss-selector-parser": "^3.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-minify-selectors/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-minify-selectors/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-minify-selectors/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-minify-selectors/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-minify-selectors/node_modules/postcss-selector-parser": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz", - "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==", - "dependencies": { - "dot-prop": "^5.2.0", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/postcss-minify-selectors/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-minify-selectors/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-modules-extract-imports": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/postcss-modules-extract-imports/-/postcss-modules-extract-imports-1.2.1.tgz", - "integrity": "sha512-6jt9XZwUhwmRUhb/CkyJY020PYaPJsCyt3UjbaWo6XEbH/94Hmv6MP7fG2C5NDU/BcHzyGYxNtHvM+LTf9HrYw==", - "dependencies": { - "postcss": "^6.0.1" - } - }, - "node_modules/postcss-modules-local-by-default": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/postcss-modules-local-by-default/-/postcss-modules-local-by-default-1.2.0.tgz", - "integrity": "sha1-99gMOYxaOT+nlkRmvRlQCn1hwGk=", - "dependencies": { - "css-selector-tokenizer": "^0.7.0", - "postcss": "^6.0.1" - } - }, - "node_modules/postcss-modules-scope": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/postcss-modules-scope/-/postcss-modules-scope-1.1.0.tgz", - "integrity": "sha1-1upkmUx5+XtipytCb75gVqGUu5A=", - "dependencies": { - "css-selector-tokenizer": "^0.7.0", - "postcss": "^6.0.1" - } - }, - "node_modules/postcss-modules-values": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/postcss-modules-values/-/postcss-modules-values-1.3.0.tgz", - "integrity": "sha1-7P+p1+GSUYOJ9CrQ6D9yrsRW6iA=", - "dependencies": { - "icss-replace-symbols": "^1.1.0", - "postcss": "^6.0.1" - } - }, - "node_modules/postcss-nesting": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/postcss-nesting/-/postcss-nesting-7.0.1.tgz", - "integrity": "sha512-FrorPb0H3nuVq0Sff7W2rnc3SmIcruVC6YwpcS+k687VxyxO33iE1amna7wHuRVzM8vfiYofXSBHNAZ3QhLvYg==", - "dependencies": { - "postcss": "^7.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-nesting/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-nesting/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-nesting/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-nesting/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-nesting/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-nesting/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-normalize-charset": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-normalize-charset/-/postcss-normalize-charset-4.0.1.tgz", - "integrity": "sha512-gMXCrrlWh6G27U0hF3vNvR3w8I1s2wOBILvA87iNXaPvSNo5uZAMYsZG7XjCUf1eVxuPfyL4TJ7++SGZLc9A3g==", - "dependencies": { - "postcss": "^7.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-normalize-charset/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-charset/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-charset/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-charset/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-normalize-charset/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-normalize-charset/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-normalize-display-values": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-normalize-display-values/-/postcss-normalize-display-values-4.0.2.tgz", - "integrity": "sha512-3F2jcsaMW7+VtRMAqf/3m4cPFhPD3EFRgNs18u+k3lTJJlVe7d0YPO+bnwqo2xg8YiRpDXJI2u8A0wqJxMsQuQ==", - "dependencies": { - "cssnano-util-get-match": "^4.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-normalize-display-values/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-display-values/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-display-values/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-display-values/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-normalize-display-values/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-normalize-display-values/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-normalize-positions": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-normalize-positions/-/postcss-normalize-positions-4.0.2.tgz", - "integrity": "sha512-Dlf3/9AxpxE+NF1fJxYDeggi5WwV35MXGFnnoccP/9qDtFrTArZ0D0R+iKcg5WsUd8nUYMIl8yXDCtcrT8JrdA==", - "dependencies": { - "cssnano-util-get-arguments": "^4.0.0", - "has": "^1.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-normalize-positions/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-positions/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-positions/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-positions/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-normalize-positions/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-normalize-positions/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-normalize-repeat-style": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-normalize-repeat-style/-/postcss-normalize-repeat-style-4.0.2.tgz", - "integrity": "sha512-qvigdYYMpSuoFs3Is/f5nHdRLJN/ITA7huIoCyqqENJe9PvPmLhNLMu7QTjPdtnVf6OcYYO5SHonx4+fbJE1+Q==", - "dependencies": { - "cssnano-util-get-arguments": "^4.0.0", - "cssnano-util-get-match": "^4.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-normalize-repeat-style/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-repeat-style/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-repeat-style/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-repeat-style/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-normalize-repeat-style/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-normalize-repeat-style/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-normalize-string": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-normalize-string/-/postcss-normalize-string-4.0.2.tgz", - "integrity": "sha512-RrERod97Dnwqq49WNz8qo66ps0swYZDSb6rM57kN2J+aoyEAJfZ6bMx0sx/F9TIEX0xthPGCmeyiam/jXif0eA==", - "dependencies": { - "has": "^1.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-normalize-string/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-string/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-string/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-string/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-normalize-string/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-normalize-string/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-normalize-timing-functions": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-normalize-timing-functions/-/postcss-normalize-timing-functions-4.0.2.tgz", - "integrity": "sha512-acwJY95edP762e++00Ehq9L4sZCEcOPyaHwoaFOhIwWCDfik6YvqsYNxckee65JHLKzuNSSmAdxwD2Cud1Z54A==", - "dependencies": { - "cssnano-util-get-match": "^4.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-normalize-timing-functions/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-timing-functions/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-timing-functions/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-timing-functions/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-normalize-timing-functions/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-normalize-timing-functions/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-normalize-unicode": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-normalize-unicode/-/postcss-normalize-unicode-4.0.1.tgz", - "integrity": "sha512-od18Uq2wCYn+vZ/qCOeutvHjB5jm57ToxRaMeNuf0nWVHaP9Hua56QyMF6fs/4FSUnVIw0CBPsU0K4LnBPwYwg==", - "dependencies": { - "browserslist": "^4.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-normalize-unicode/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-unicode/node_modules/browserslist": { - "version": "4.16.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.3.tgz", - "integrity": "sha512-vIyhWmIkULaq04Gt93txdh+j02yX/JzlyhLYbV3YQCn/zvES3JnY7TifHHvvr1w5hTDluNKMkV05cs4vy8Q7sw==", - "dependencies": { - "caniuse-lite": "^1.0.30001181", - "colorette": "^1.2.1", - "electron-to-chromium": "^1.3.649", - "escalade": "^3.1.1", - "node-releases": "^1.1.70" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } - }, - "node_modules/postcss-normalize-unicode/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-unicode/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-unicode/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-normalize-unicode/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-normalize-unicode/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-normalize-url": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-normalize-url/-/postcss-normalize-url-4.0.1.tgz", - "integrity": "sha512-p5oVaF4+IHwu7VpMan/SSpmpYxcJMtkGppYf0VbdH5B6hN8YNmVyJLuY9FmLQTzY3fag5ESUUHDqM+heid0UVA==", - "dependencies": { - "is-absolute-url": "^2.0.0", - "normalize-url": "^3.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-normalize-url/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-url/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-url/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-url/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-normalize-url/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-normalize-url/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-normalize-whitespace": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-normalize-whitespace/-/postcss-normalize-whitespace-4.0.2.tgz", - "integrity": "sha512-tO8QIgrsI3p95r8fyqKV+ufKlSHh9hMJqACqbv2XknufqEDhDvbguXGBBqxw9nsQoXWf0qOqppziKJKHMD4GtA==", - "dependencies": { - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-normalize-whitespace/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-whitespace/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-whitespace/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-normalize-whitespace/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-normalize-whitespace/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-normalize-whitespace/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-ordered-values": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/postcss-ordered-values/-/postcss-ordered-values-4.1.2.tgz", - "integrity": "sha512-2fCObh5UanxvSxeXrtLtlwVThBvHn6MQcu4ksNT2tsaV2Fg76R2CV98W7wNSlX+5/pFwEyaDwKLLoEV7uRybAw==", - "dependencies": { - "cssnano-util-get-arguments": "^4.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-ordered-values/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-ordered-values/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-ordered-values/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-ordered-values/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-ordered-values/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-ordered-values/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-overflow-shorthand": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/postcss-overflow-shorthand/-/postcss-overflow-shorthand-2.0.0.tgz", - "integrity": "sha512-aK0fHc9CBNx8jbzMYhshZcEv8LtYnBIRYQD5i7w/K/wS9c2+0NSR6B3OVMu5y0hBHYLcMGjfU+dmWYNKH0I85g==", - "dependencies": { - "postcss": "^7.0.2" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-overflow-shorthand/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-overflow-shorthand/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-overflow-shorthand/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-overflow-shorthand/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-overflow-shorthand/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-overflow-shorthand/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-page-break": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/postcss-page-break/-/postcss-page-break-2.0.0.tgz", - "integrity": "sha512-tkpTSrLpfLfD9HvgOlJuigLuk39wVTbbd8RKcy8/ugV2bNBUW3xU+AIqyxhDrQr1VUj1RmyJrBn1YWrqUm9zAQ==", - "dependencies": { - "postcss": "^7.0.2" - } - }, - "node_modules/postcss-page-break/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-page-break/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-page-break/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-page-break/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-page-break/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-page-break/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-place": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-place/-/postcss-place-4.0.1.tgz", - "integrity": "sha512-Zb6byCSLkgRKLODj/5mQugyuj9bvAAw9LqJJjgwz5cYryGeXfFZfSXoP1UfveccFmeq0b/2xxwcTEVScnqGxBg==", - "dependencies": { - "postcss": "^7.0.2", - "postcss-values-parser": "^2.0.0" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-place/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-place/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-place/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-place/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-place/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-place/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-preset-env": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/postcss-preset-env/-/postcss-preset-env-6.3.1.tgz", - "integrity": "sha512-erl+OcCTr1+jsfJNQjBweyb8Y1s6KngUBwoqJnRXO197PmEE6u9HxZfnpKkTQqasxZljxNHzXR5hMb7MdD0Zdw==", - "dependencies": { - "autoprefixer": "^9.3.1", - "browserslist": "^4.3.4", - "caniuse-lite": "^1.0.30000905", - "cssdb": "^4.1.0", - "postcss": "^7.0.5", - "postcss-attribute-case-insensitive": "^4.0.0", - "postcss-color-functional-notation": "^2.0.1", - "postcss-color-gray": "^5.0.0", - "postcss-color-hex-alpha": "^5.0.2", - "postcss-color-mod-function": "^3.0.3", - "postcss-color-rebeccapurple": "^4.0.1", - "postcss-custom-media": "^7.0.7", - "postcss-custom-properties": "^8.0.9", - "postcss-custom-selectors": "^5.1.2", - "postcss-dir-pseudo-class": "^5.0.0", - "postcss-double-position-gradients": "^1.0.0", - "postcss-env-function": "^2.0.2", - "postcss-focus-visible": "^4.0.0", - "postcss-focus-within": "^3.0.0", - "postcss-font-variant": "^4.0.0", - "postcss-gap-properties": "^2.0.0", - "postcss-image-set-function": "^3.0.1", - "postcss-initial": "^3.0.0", - "postcss-lab-function": "^2.0.1", - "postcss-logical": "^3.0.0", - "postcss-media-minmax": "^4.0.0", - "postcss-nesting": "^7.0.0", - "postcss-overflow-shorthand": "^2.0.0", - "postcss-page-break": "^2.0.0", - "postcss-place": "^4.0.1", - "postcss-pseudo-class-any-link": "^6.0.0", - "postcss-replace-overflow-wrap": "^3.0.0", - "postcss-selector-matches": "^4.0.0", - "postcss-selector-not": "^4.0.0" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-preset-env/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-preset-env/node_modules/browserslist": { - "version": "4.16.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.3.tgz", - "integrity": "sha512-vIyhWmIkULaq04Gt93txdh+j02yX/JzlyhLYbV3YQCn/zvES3JnY7TifHHvvr1w5hTDluNKMkV05cs4vy8Q7sw==", - "dependencies": { - "caniuse-lite": "^1.0.30001181", - "colorette": "^1.2.1", - "electron-to-chromium": "^1.3.649", - "escalade": "^3.1.1", - "node-releases": "^1.1.70" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } - }, - "node_modules/postcss-preset-env/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-preset-env/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-preset-env/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-preset-env/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-preset-env/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-pseudo-class-any-link": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/postcss-pseudo-class-any-link/-/postcss-pseudo-class-any-link-6.0.0.tgz", - "integrity": "sha512-lgXW9sYJdLqtmw23otOzrtbDXofUdfYzNm4PIpNE322/swES3VU9XlXHeJS46zT2onFO7V1QFdD4Q9LiZj8mew==", - "dependencies": { - "postcss": "^7.0.2", - "postcss-selector-parser": "^5.0.0-rc.3" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-pseudo-class-any-link/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-pseudo-class-any-link/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-pseudo-class-any-link/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-pseudo-class-any-link/node_modules/cssesc": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/cssesc/-/cssesc-2.0.0.tgz", - "integrity": "sha512-MsCAG1z9lPdoO/IUMLSBWBSVxVtJ1395VGIQ+Fc2gNdkQ1hNDnQdw3YhA71WJCBW1vdwA0cAnk/DnW6bqoEUYg==", - "bin": { - "cssesc": "bin/cssesc" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-pseudo-class-any-link/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-pseudo-class-any-link/node_modules/postcss-selector-parser": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-5.0.0.tgz", - "integrity": "sha512-w+zLE5Jhg6Liz8+rQOWEAwtwkyqpfnmsinXjXg6cY7YIONZZtgvE0v2O0uhQBs0peNomOJwWRKt6JBfTdTd3OQ==", - "dependencies": { - "cssesc": "^2.0.0", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-pseudo-class-any-link/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-pseudo-class-any-link/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-reduce-initial": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/postcss-reduce-initial/-/postcss-reduce-initial-4.0.3.tgz", - "integrity": "sha512-gKWmR5aUulSjbzOfD9AlJiHCGH6AEVLaM0AV+aSioxUDd16qXP1PCh8d1/BGVvpdWn8k/HiK7n6TjeoXN1F7DA==", - "dependencies": { - "browserslist": "^4.0.0", - "caniuse-api": "^3.0.0", - "has": "^1.0.0", - "postcss": "^7.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-reduce-initial/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-reduce-initial/node_modules/browserslist": { - "version": "4.16.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.3.tgz", - "integrity": "sha512-vIyhWmIkULaq04Gt93txdh+j02yX/JzlyhLYbV3YQCn/zvES3JnY7TifHHvvr1w5hTDluNKMkV05cs4vy8Q7sw==", - "dependencies": { - "caniuse-lite": "^1.0.30001181", - "colorette": "^1.2.1", - "electron-to-chromium": "^1.3.649", - "escalade": "^3.1.1", - "node-releases": "^1.1.70" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } - }, - "node_modules/postcss-reduce-initial/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-reduce-initial/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-reduce-initial/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-reduce-initial/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-reduce-initial/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-reduce-transforms": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-reduce-transforms/-/postcss-reduce-transforms-4.0.2.tgz", - "integrity": "sha512-EEVig1Q2QJ4ELpJXMZR8Vt5DQx8/mo+dGWSR7vWXqcob2gQLyQGsionYcGKATXvQzMPn6DSN1vTN7yFximdIAg==", - "dependencies": { - "cssnano-util-get-match": "^4.0.0", - "has": "^1.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-reduce-transforms/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-reduce-transforms/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-reduce-transforms/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-reduce-transforms/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-reduce-transforms/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-reduce-transforms/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-replace-overflow-wrap": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/postcss-replace-overflow-wrap/-/postcss-replace-overflow-wrap-3.0.0.tgz", - "integrity": "sha512-2T5hcEHArDT6X9+9dVSPQdo7QHzG4XKclFT8rU5TzJPDN7RIRTbO9c4drUISOVemLj03aezStHCR2AIcr8XLpw==", - "dependencies": { - "postcss": "^7.0.2" - } - }, - "node_modules/postcss-replace-overflow-wrap/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-replace-overflow-wrap/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-replace-overflow-wrap/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-replace-overflow-wrap/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-replace-overflow-wrap/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-replace-overflow-wrap/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-safe-parser": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-4.0.1.tgz", - "integrity": "sha512-xZsFA3uX8MO3yAda03QrG3/Eg1LN3EPfjjf07vke/46HERLZyHrTsQ9E1r1w1W//fWEhtYNndo2hQplN2cVpCQ==", - "dependencies": { - "postcss": "^7.0.0" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/postcss-safe-parser/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-safe-parser/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-safe-parser/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-safe-parser/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-safe-parser/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-safe-parser/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-selector-matches": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/postcss-selector-matches/-/postcss-selector-matches-4.0.0.tgz", - "integrity": "sha512-LgsHwQR/EsRYSqlwdGzeaPKVT0Ml7LAT6E75T8W8xLJY62CE4S/l03BWIt3jT8Taq22kXP08s2SfTSzaraoPww==", - "dependencies": { - "balanced-match": "^1.0.0", - "postcss": "^7.0.2" - } - }, - "node_modules/postcss-selector-matches/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-selector-matches/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-selector-matches/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-selector-matches/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-selector-matches/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-selector-matches/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-selector-not": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-selector-not/-/postcss-selector-not-4.0.1.tgz", - "integrity": "sha512-YolvBgInEK5/79C+bdFMyzqTg6pkYqDbzZIST/PDMqa/o3qtXenD05apBG2jLgT0/BQ77d4U2UK12jWpilqMAQ==", - "dependencies": { - "balanced-match": "^1.0.0", - "postcss": "^7.0.2" - } - }, - "node_modules/postcss-selector-not/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-selector-not/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-selector-not/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-selector-not/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-selector-not/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-selector-not/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-selector-parser": { - "version": "6.0.4", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-6.0.4.tgz", - "integrity": "sha512-gjMeXBempyInaBqpp8gODmwZ52WaYsVOsfr4L4lDQ7n3ncD6mEyySiDtgzCT+NYC0mmeOLvtsF8iaEf0YT6dBw==", - "dependencies": { - "cssesc": "^3.0.0", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1", - "util-deprecate": "^1.0.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-svgo": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/postcss-svgo/-/postcss-svgo-4.0.2.tgz", - "integrity": "sha512-C6wyjo3VwFm0QgBy+Fu7gCYOkCmgmClghO+pjcxvrcBKtiKt0uCF+hvbMO1fyv5BMImRK90SMb+dwUnfbGd+jw==", - "dependencies": { - "is-svg": "^3.0.0", - "postcss": "^7.0.0", - "postcss-value-parser": "^3.0.0", - "svgo": "^1.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-svgo/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-svgo/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-svgo/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-svgo/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-svgo/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-svgo/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-unique-selectors": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/postcss-unique-selectors/-/postcss-unique-selectors-4.0.1.tgz", - "integrity": "sha512-+JanVaryLo9QwZjKrmJgkI4Fn8SBgRO6WXQBJi7KiAVPlmxikB5Jzc4EvXMT2H0/m0RjrVVm9rGNhZddm/8Spg==", - "dependencies": { - "alphanum-sort": "^1.0.0", - "postcss": "^7.0.0", - "uniqs": "^2.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/postcss-unique-selectors/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-unique-selectors/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-unique-selectors/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss-unique-selectors/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/postcss-unique-selectors/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss-unique-selectors/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/postcss-value-parser": { - "version": "3.3.1", - "resolved": "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-3.3.1.tgz", - "integrity": "sha512-pISE66AbVkp4fDQ7VHBwRNXzAAKJjw4Vw7nWI/+Q3vuly7SNfgYXvm6i5IgFylHGK5sP/xHAbB7N49OS4gWNyQ==" - }, - "node_modules/postcss-values-parser": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/postcss-values-parser/-/postcss-values-parser-2.0.1.tgz", - "integrity": "sha512-2tLuBsA6P4rYTNKCXYG/71C7j1pU6pK503suYOmn4xYrQIzW+opD+7FAFNuGSdZC/3Qfy334QbeMu7MEb8gOxg==", - "dependencies": { - "flatten": "^1.0.2", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" - }, - "engines": { - "node": ">=6.14.4" - } - }, - "node_modules/postcss/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/postcss/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/postcss/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/prelude-ls": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", - "integrity": "sha1-IZMqVJ9eUv/ZqCf1cOBL5iqX2lQ=", - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/prepend-http": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/prepend-http/-/prepend-http-1.0.4.tgz", - "integrity": "sha1-1PRWKwzjaW5BrFLQ4ALlemNdxtw=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/preserve": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/preserve/-/preserve-0.2.0.tgz", - "integrity": "sha1-gV7R9uvGWSb4ZbMQwHE7yzMVzks=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/prettier": { - "version": "1.19.1", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-1.19.1.tgz", - "integrity": "sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==", - "bin": { - "prettier": "bin-prettier.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/pretty-bytes": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/pretty-bytes/-/pretty-bytes-4.0.2.tgz", - "integrity": "sha1-sr+C5zUNZcbDOqlaqlpPYyf2HNk=", - "engines": { - "node": ">=4" - } - }, - "node_modules/pretty-error": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/pretty-error/-/pretty-error-2.1.2.tgz", - "integrity": "sha512-EY5oDzmsX5wvuynAByrmY0P0hcp+QpnAKbJng2A2MPjVKXCxrDSUkzghVJ4ZGPIv+JC4gX8fPUWscC0RtjsWGw==", - "dependencies": { - "lodash": "^4.17.20", - "renderkid": "^2.0.4" - } - }, - "node_modules/pretty-format": { - "version": "23.6.0", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-23.6.0.tgz", - "integrity": "sha512-zf9NV1NSlDLDjycnwm6hpFATCGl/K1lt0R/GdkAK2O5LN/rwJoB+Mh93gGJjut4YbmecbfgLWVGSTCr0Ewvvbw==", - "dependencies": { - "ansi-regex": "^3.0.0", - "ansi-styles": "^3.2.0" - } - }, - "node_modules/pretty-format/node_modules/ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "engines": { - "node": ">=4" - } - }, - "node_modules/pretty-format/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/private": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/private/-/private-0.1.8.tgz", - "integrity": "sha512-VvivMrbvd2nKkiG38qjULzlc+4Vx4wm/whI9pQD35YrARNnhxeiRktSOhSukRLFNlzg6Br/cJPet5J/u19r/mg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/process": { - "version": "0.11.10", - "resolved": "https://registry.npmjs.org/process/-/process-0.11.10.tgz", - "integrity": "sha1-czIwDoQBYb2j5podHZGn1LwW8YI=", - "engines": { - "node": ">= 0.6.0" - } - }, - "node_modules/process-nextick-args": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.1.tgz", - "integrity": "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==" - }, - "node_modules/progress": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/progress/-/progress-2.0.3.tgz", - "integrity": "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/promise": { - "version": "7.3.1", - "resolved": "https://registry.npmjs.org/promise/-/promise-7.3.1.tgz", - "integrity": "sha512-nolQXZ/4L+bP/UGlkfaIujX9BKxGwmQ9OT4mOt5yvy8iK1h3wqTEJCijzGANTCCl9nWjY41juyAn2K3Q1hLLTg==", - "dependencies": { - "asap": "~2.0.3" - } - }, - "node_modules/promise-inflight": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/promise-inflight/-/promise-inflight-1.0.1.tgz", - "integrity": "sha1-mEcocL8igTL8vdhoEputEsPAKeM=" - }, - "node_modules/prompts": { - "version": "0.1.14", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-0.1.14.tgz", - "integrity": "sha512-rxkyiE9YH6zAz/rZpywySLKkpaj0NMVyNw1qhsubdbjjSgcayjTShDreZGlFMcGSu5sab3bAKPfFk78PB90+8w==", - "dependencies": { - "kleur": "^2.0.1", - "sisteransi": "^0.1.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/prop-types": { - "version": "15.7.2", - "resolved": "https://registry.npmjs.org/prop-types/-/prop-types-15.7.2.tgz", - "integrity": "sha512-8QQikdH7//R2vurIJSutZ1smHYTcLpRWEOlHnzcWHmBYrOGUysKwSsrC89BCiFj3CbrfJ/nXFdJepOVrY1GCHQ==", - "dependencies": { - "loose-envify": "^1.4.0", - "object-assign": "^4.1.1", - "react-is": "^16.8.1" - } - }, - "node_modules/prop-types-extra": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/prop-types-extra/-/prop-types-extra-1.1.1.tgz", - "integrity": "sha512-59+AHNnHYCdiC+vMwY52WmvP5dM3QLeoumYuEyceQDi9aEhtwN9zIQ2ZNo25sMyXnbh32h+P1ezDsUpUH3JAew==", - "dependencies": { - "react-is": "^16.3.2", - "warning": "^4.0.0" - }, - "peerDependencies": { - "react": ">=0.14.0" - } - }, - "node_modules/protocol-buffers-schema": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/protocol-buffers-schema/-/protocol-buffers-schema-3.5.1.tgz", - "integrity": "sha512-YVCvdhxWNDP8/nJDyXLuM+UFsuPk4+1PB7WGPVDzm3HTHbzFLxQYeW2iZpS4mmnXrQJGBzt230t/BbEb7PrQaw==" - }, - "node_modules/protons": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/protons/-/protons-2.0.0.tgz", - "integrity": "sha512-BTrE9D6/d1NGis+0D8TqAO1THdn4evHQhfjapA0NUaRH4+ecJJcbqaF7TE/DKv5czE9VB/TeOllBOmCyJhHnhg==", - "dependencies": { - "protocol-buffers-schema": "^3.3.1", - "signed-varint": "^2.0.1", - "uint8arrays": "^1.0.0", - "varint": "^5.0.0" - } - }, - "node_modules/protons/node_modules/multibase": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/multibase/-/multibase-3.1.2.tgz", - "integrity": "sha512-bpklWHs70LO3smJUHOjcnzGceJJvn9ui0Vau6Za0B/GBepaXswmW8Ufea0uD9pROf/qCQ4N4lZ3sf3U+SNf0tw==", - "dependencies": { - "@multiformats/base-x": "^4.0.1", - "web-encoding": "^1.0.6" - }, - "engines": { - "node": ">=10.0.0", - "npm": ">=6.0.0" - } - }, - "node_modules/protons/node_modules/uint8arrays": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-1.1.0.tgz", - "integrity": "sha512-cLdlZ6jnFczsKf5IH1gPHTtcHtPGho5r4CvctohmQjw8K7Q3gFdfIGHxSTdTaCKrL4w09SsPRJTqRS0drYeszA==", - "dependencies": { - "multibase": "^3.0.0", - "web-encoding": "^1.0.2" - } - }, - "node_modules/proxy-addr": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/proxy-addr/-/proxy-addr-2.0.6.tgz", - "integrity": "sha512-dh/frvCBVmSsDYzw6n926jv974gddhkFPfiN8hPOi30Wax25QZyZEGveluCgliBnqmuM+UJmBErbAUFIoDbjOw==", - "dependencies": { - "forwarded": "~0.1.2", - "ipaddr.js": "1.9.1" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/prr": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/prr/-/prr-1.0.1.tgz", - "integrity": "sha1-0/wRS6BplaRexok/SEzrHXj19HY=" - }, - "node_modules/pseudomap": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", - "integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=" - }, - "node_modules/psl": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/psl/-/psl-1.8.0.tgz", - "integrity": "sha512-RIdOzyoavK+hA18OGGWDqUTsCLhtA7IcZ/6NCs4fFJaHBDab+pDDmDIByWFRQJq2Cd7r1OoQxBGKOaztq+hjIQ==" - }, - "node_modules/public-encrypt": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/public-encrypt/-/public-encrypt-4.0.3.tgz", - "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" - } - }, - "node_modules/pump": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pump/-/pump-3.0.0.tgz", - "integrity": "sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==", - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "node_modules/pumpify": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/pumpify/-/pumpify-1.5.1.tgz", - "integrity": "sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==", - "dependencies": { - "duplexify": "^3.6.0", - "inherits": "^2.0.3", - "pump": "^2.0.0" - } - }, - "node_modules/pumpify/node_modules/pump": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", - "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "node_modules/punycode": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.1.1.tgz", - "integrity": "sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==", - "engines": { - "node": ">=6" - } - }, - "node_modules/q": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/q/-/q-1.5.1.tgz", - "integrity": "sha1-fjL3W0E4EpHQRhHxvxQQmsAGUdc=", - "engines": { - "node": ">=0.6.0", - "teleport": ">=0.2.0" - } - }, - "node_modules/qs": { - "version": "6.5.2", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.5.2.tgz", - "integrity": "sha512-N5ZAX4/LxJmF+7wN74pUD6qAh9/wnvdQcjq9TZjevvXzSUo7bfmw91saqMjzGS2xq91/odN2dW/WOl7qQHNDGA==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/query-string": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/query-string/-/query-string-5.1.1.tgz", - "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" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/querystring": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/querystring/-/querystring-0.2.0.tgz", - "integrity": "sha1-sgmEkgO7Jd+CDadW50cAWHhSFiA=", - "engines": { - "node": ">=0.4.x" - } - }, - "node_modules/querystring-es3": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/querystring-es3/-/querystring-es3-0.2.1.tgz", - "integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=", - "engines": { - "node": ">=0.4.x" - } - }, - "node_modules/querystringify": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/querystringify/-/querystringify-2.2.0.tgz", - "integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==" - }, - "node_modules/raf": { - "version": "3.4.1", - "resolved": "https://registry.npmjs.org/raf/-/raf-3.4.1.tgz", - "integrity": "sha512-Sq4CW4QhwOHE8ucn6J34MqtZCeWFP2aQSmrlroYgqAV1PjStIhJXxYuTgUIfkEk7zTLjmIjLmU5q+fbD1NnOJA==", - "dependencies": { - "performance-now": "^2.1.0" - } - }, - "node_modules/randomatic": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/randomatic/-/randomatic-3.1.1.tgz", - "integrity": "sha512-TuDE5KxZ0J461RVjrJZCJc+J+zCkTb1MbH9AQUq68sMhOMcy9jLcb3BrZKgp9q9Ncltdg4QVqWrH02W2EFFVYw==", - "dependencies": { - "is-number": "^4.0.0", - "kind-of": "^6.0.0", - "math-random": "^1.0.1" - }, - "engines": { - "node": ">= 0.10.0" - } - }, - "node_modules/randomatic/node_modules/is-number": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-4.0.0.tgz", - "integrity": "sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/randomatic/node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/randombytes": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/randombytes/-/randombytes-2.1.0.tgz", - "integrity": "sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==", - "dependencies": { - "safe-buffer": "^5.1.0" - } - }, - "node_modules/randomfill": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/randomfill/-/randomfill-1.0.4.tgz", - "integrity": "sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==", - "dependencies": { - "randombytes": "^2.0.5", - "safe-buffer": "^5.1.0" - } - }, - "node_modules/range-parser": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", - "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/raw-body": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/raw-body/-/raw-body-2.4.0.tgz", - "integrity": "sha512-4Oz8DUIwdvoa5qMJelxipzi/iJIi40O5cGV1wNYp5hvZP8ZN0T+jiNkL0QepXs+EsQ9XJ8ipEDoiH70ySUJP3Q==", - "dependencies": { - "bytes": "3.1.0", - "http-errors": "1.7.2", - "iconv-lite": "0.4.24", - "unpipe": "1.0.0" - }, - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/raw-body/node_modules/bytes": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/bytes/-/bytes-3.1.0.tgz", - "integrity": "sha512-zauLjrfCG+xvoyaqLoV8bLVXXNGC4JqlxFCutSDWA6fJrTo2ZuvLYTqZ7aHBLZSMOopbzwv8f+wZcVzfVTI2Dg==", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/raw-body/node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/react": { - "version": "16.8.4", - "resolved": "https://registry.npmjs.org/react/-/react-16.8.4.tgz", - "integrity": "sha512-0GQ6gFXfUH7aZcjGVymlPOASTuSjlQL4ZtVC5YKH+3JL6bBLCVO21DknzmaPlI90LN253ojj02nsapy+j7wIjg==", - "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2", - "scheduler": "^0.13.4" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/react-app-polyfill": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/react-app-polyfill/-/react-app-polyfill-0.2.2.tgz", - "integrity": "sha512-mAYn96B/nB6kWG87Ry70F4D4rsycU43VYTj3ZCbKP+SLJXwC0x6YCbwcICh3uW8/C9s1VgP197yx+w7SCWeDdQ==", - "dependencies": { - "core-js": "2.6.4", - "object-assign": "4.1.1", - "promise": "8.0.2", - "raf": "3.4.1", - "whatwg-fetch": "3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/react-app-polyfill/node_modules/core-js": { - "version": "2.6.4", - "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.6.4.tgz", - "integrity": "sha512-05qQ5hXShcqGkPZpXEFLIpxayZscVD2kuMBZewxiIPPEagukO4mqgPA9CWhUvFBJfy3ODdK2p9xyHh7FTU9/7A==", - "deprecated": "core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3." - }, - "node_modules/react-app-polyfill/node_modules/promise": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/promise/-/promise-8.0.2.tgz", - "integrity": "sha512-EIyzM39FpVOMbqgzEHhxdrEhtOSDOtjMZQ0M6iVfCE+kWNgCkAyOdnuCWqfmflylftfadU6FkiMgHZA2kUzwRw==", - "dependencies": { - "asap": "~2.0.6" - } - }, - "node_modules/react-app-polyfill/node_modules/whatwg-fetch": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.0.0.tgz", - "integrity": "sha512-9GSJUgz1D4MfyKU7KRqwOjXCXTqWdFNvEr7eUBYchQiVc744mqK/MzXPNR2WsPkmkOa4ywfg8C2n8h+13Bey1Q==" - }, - "node_modules/react-bootstrap": { - "version": "1.0.0-beta.5", - "resolved": "https://registry.npmjs.org/react-bootstrap/-/react-bootstrap-1.0.0-beta.5.tgz", - "integrity": "sha512-Osm0OtTbYwfsT1rpu88ESWuAHZxfaHFNKFiW8w3w+6YY9/bLEPHbGRZA6W21fg5yvcuKN9hJKT857TTHgY7SoQ==", - "dependencies": { - "@babel/runtime": "^7.2.0", - "@react-bootstrap/react-popper": "1.2.1", - "classnames": "^2.2.6", - "dom-helpers": "^3.4.0", - "invariant": "^2.2.3", - "keycode": "^2.1.2", - "popper.js": "^1.14.6", - "prop-types": "^15.6.2", - "prop-types-extra": "^1.1.0", - "react-context-toolbox": "^2.0.2", - "react-overlays": "^1.0.0", - "react-prop-types": "^0.4.0", - "react-transition-group": "^2.5.1", - "uncontrollable": "^6.0.0", - "warning": "^4.0.1" - }, - "peerDependencies": { - "react": ">=16.3.0", - "react-dom": ">=16.3.0" - } - }, - "node_modules/react-context-toolbox": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/react-context-toolbox/-/react-context-toolbox-2.0.2.tgz", - "integrity": "sha512-tY4j0imkYC3n5ZlYSgFkaw7fmlCp3IoQQ6DxpqeNHzcD0hf+6V+/HeJxviLUZ1Rv1Yn3N3xyO2EhkkZwHn0m1A==", - "peerDependencies": { - "react": ">=16.3.2" - } - }, - "node_modules/react-dev-utils": { - "version": "7.0.5", - "resolved": "https://registry.npmjs.org/react-dev-utils/-/react-dev-utils-7.0.5.tgz", - "integrity": "sha512-zJnqqb0x6gd63E3xoz5pXAxBPNaW75Hyz7GgQp0qPhMroBCRQtRvG67AoTZZY1z4yCYVJQZAfQJFdnea0Ujbug==", - "dependencies": { - "@babel/code-frame": "7.0.0", - "address": "1.0.3", - "browserslist": "4.4.1", - "chalk": "2.4.2", - "cross-spawn": "6.0.5", - "detect-port-alt": "1.1.6", - "escape-string-regexp": "1.0.5", - "filesize": "3.6.1", - "find-up": "3.0.0", - "global-modules": "2.0.0", - "globby": "8.0.2", - "gzip-size": "5.0.0", - "immer": "1.10.0", - "inquirer": "6.2.1", - "is-root": "2.0.0", - "loader-utils": "1.2.3", - "opn": "5.4.0", - "pkg-up": "2.0.0", - "react-error-overlay": "^5.1.4", - "recursive-readdir": "2.2.2", - "shell-quote": "1.6.1", - "sockjs-client": "1.3.0", - "strip-ansi": "5.0.0", - "text-table": "0.2.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/react-dev-utils/node_modules/@babel/code-frame": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0.tgz", - "integrity": "sha512-OfC2uemaknXr87bdLUkWog7nYuliM9Ij5HUcajsVcMCpQrcLmtxRbVFTIqmcSkSeYRBFBRxs2FiUqFJDLdiebA==", - "dependencies": { - "@babel/highlight": "^7.0.0" - } - }, - "node_modules/react-dev-utils/node_modules/ansi-regex": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-4.1.0.tgz", - "integrity": "sha512-1apePfXM1UOSqw0o9IiFAovVz9M5S1Dg+4TrDwfMewQ6p/rmMueb7tWZjQ1rx4Loy1ArBggoqGpfqqdI4rondg==", - "engines": { - "node": ">=6" - } - }, - "node_modules/react-dev-utils/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/react-dev-utils/node_modules/browserslist": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.4.1.tgz", - "integrity": "sha512-pEBxEXg7JwaakBXjATYw/D1YZh4QUSCX/Mnd/wnqSRPPSi1U39iDhDoKGoBUcraKdxDlrYqJxSI5nNvD+dWP2A==", - "dependencies": { - "caniuse-lite": "^1.0.30000929", - "electron-to-chromium": "^1.3.103", - "node-releases": "^1.1.3" - }, - "bin": { - "browserslist": "cli.js" - } - }, - "node_modules/react-dev-utils/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/react-dev-utils/node_modules/emojis-list": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/emojis-list/-/emojis-list-2.1.0.tgz", - "integrity": "sha1-TapNnbAPmBmIDHn6RXrlsJof04k=", - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/react-dev-utils/node_modules/find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dependencies": { - "locate-path": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/react-dev-utils/node_modules/inquirer": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/inquirer/-/inquirer-6.2.1.tgz", - "integrity": "sha512-088kl3DRT2dLU5riVMKKr1DlImd6X7smDhpXUCkJDCKvTEJeRiXh0G132HG9u5a+6Ylw9plFRY7RuTnwohYSpg==", - "dependencies": { - "ansi-escapes": "^3.0.0", - "chalk": "^2.0.0", - "cli-cursor": "^2.1.0", - "cli-width": "^2.0.0", - "external-editor": "^3.0.0", - "figures": "^2.0.0", - "lodash": "^4.17.10", - "mute-stream": "0.0.7", - "run-async": "^2.2.0", - "rxjs": "^6.1.0", - "string-width": "^2.1.0", - "strip-ansi": "^5.0.0", - "through": "^2.3.6" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/react-dev-utils/node_modules/json5": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", - "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", - "dependencies": { - "minimist": "^1.2.0" - }, - "bin": { - "json5": "lib/cli.js" - } - }, - "node_modules/react-dev-utils/node_modules/loader-utils": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-1.2.3.tgz", - "integrity": "sha512-fkpz8ejdnEMG3s37wGL07iSBDg99O9D5yflE9RGNH3hRdx9SOwYfnGYdZOUIZitN8E+E2vkq3MUMYMvPYl5ZZA==", - "dependencies": { - "big.js": "^5.2.2", - "emojis-list": "^2.0.0", - "json5": "^1.0.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/react-dev-utils/node_modules/locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dependencies": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/react-dev-utils/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/react-dev-utils/node_modules/p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dependencies": { - "p-limit": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/react-dev-utils/node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/react-dev-utils/node_modules/strip-ansi": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-5.0.0.tgz", - "integrity": "sha512-Uu7gQyZI7J7gn5qLn1Np3G9vcYGTVqB+lFTytnDJv83dd8T22aGH451P3jueT2/QemInJDfxHB5Tde5OzgG1Ow==", - "dependencies": { - "ansi-regex": "^4.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/react-dev-utils/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/react-dom": { - "version": "16.8.4", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-16.8.4.tgz", - "integrity": "sha512-Ob2wK7XG2tUDt7ps7LtLzGYYB6DXMCLj0G5fO6WeEICtT4/HdpOi7W/xLzZnR6RCG1tYza60nMdqtxzA8FaPJQ==", - "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1", - "prop-types": "^15.6.2", - "scheduler": "^0.13.4" - }, - "peerDependencies": { - "react": "^16.0.0" - } - }, - "node_modules/react-error-overlay": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/react-error-overlay/-/react-error-overlay-5.1.6.tgz", - "integrity": "sha512-X1Y+0jR47ImDVr54Ab6V9eGk0Hnu7fVWGeHQSOXHf/C2pF9c6uy3gef8QUeuUiWlNb0i08InPSE5a/KJzNzw1Q==" - }, - "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/react-lifecycles-compat": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz", - "integrity": "sha512-fBASbA6LnOU9dOU2eW7aQ8xmYBSXUIWr+UmF9b1efZBazGNO+rcXT/icdKnYm2pTwcRylVUYwW7H1PHfLekVzA==" - }, - "node_modules/react-overlays": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/react-overlays/-/react-overlays-1.2.0.tgz", - "integrity": "sha512-i/FCV8wR6aRaI+Kz/dpJhOdyx+ah2tN1RhT9InPrexyC4uzf3N4bNayFTGtUeQVacj57j1Mqh1CwV60/5153Iw==", - "dependencies": { - "classnames": "^2.2.6", - "dom-helpers": "^3.4.0", - "prop-types": "^15.6.2", - "prop-types-extra": "^1.1.0", - "react-context-toolbox": "^2.0.2", - "react-popper": "^1.3.2", - "uncontrollable": "^6.0.0", - "warning": "^4.0.2" - }, - "peerDependencies": { - "react": ">=16.3.0", - "react-dom": ">=16.3.0" - } - }, - "node_modules/react-popper": { - "version": "1.3.11", - "resolved": "https://registry.npmjs.org/react-popper/-/react-popper-1.3.11.tgz", - "integrity": "sha512-VSA/bS+pSndSF2fiasHK/PTEEAyOpX60+H5EPAjoArr8JGm+oihu4UbrqcEBpQibJxBVCpYyjAX7abJ+7DoYVg==", - "dependencies": { - "@babel/runtime": "^7.1.2", - "@hypnosphi/create-react-context": "^0.3.1", - "deep-equal": "^1.1.1", - "popper.js": "^1.14.4", - "prop-types": "^15.6.1", - "typed-styles": "^0.0.7", - "warning": "^4.0.2" - }, - "peerDependencies": { - "react": "0.14.x || ^15.0.0 || ^16.0.0 || ^17.0.0" - } - }, - "node_modules/react-popper/node_modules/typed-styles": { - "version": "0.0.7", - "resolved": "https://registry.npmjs.org/typed-styles/-/typed-styles-0.0.7.tgz", - "integrity": "sha512-pzP0PWoZUhsECYjABgCGQlRGL1n7tOHsgwYv3oIiEpJwGhFTuty/YNeduxQYzXXa3Ge5BdT6sHYIQYpl4uJ+5Q==" - }, - "node_modules/react-prop-types": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/react-prop-types/-/react-prop-types-0.4.0.tgz", - "integrity": "sha1-+ZsL+0AGkpya8gUefBQUpcdbk9A=", - "dependencies": { - "warning": "^3.0.0" - }, - "peerDependencies": { - "react": ">=0.14.0" - } - }, - "node_modules/react-prop-types/node_modules/warning": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/warning/-/warning-3.0.0.tgz", - "integrity": "sha1-MuU3fLVy3kqwR1O9+IIcAe1gW3w=", - "dependencies": { - "loose-envify": "^1.0.0" - } - }, - "node_modules/react-router": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/react-router/-/react-router-5.2.0.tgz", - "integrity": "sha512-smz1DUuFHRKdcJC0jobGo8cVbhO3x50tCL4icacOlcwDOEQPq4TMqwx3sY1TP+DvtTgz4nm3thuo7A+BK2U0Dw==", - "dependencies": { - "@babel/runtime": "^7.1.2", - "history": "^4.9.0", - "hoist-non-react-statics": "^3.1.0", - "loose-envify": "^1.3.1", - "mini-create-react-context": "^0.4.0", - "path-to-regexp": "^1.7.0", - "prop-types": "^15.6.2", - "react-is": "^16.6.0", - "tiny-invariant": "^1.0.2", - "tiny-warning": "^1.0.0" - }, - "peerDependencies": { - "react": ">=15" - } - }, - "node_modules/react-router-dom": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/react-router-dom/-/react-router-dom-5.2.0.tgz", - "integrity": "sha512-gxAmfylo2QUjcwxI63RhQ5G85Qqt4voZpUXSEqCwykV0baaOTQDR1f0PmY8AELqIyVc0NEZUj0Gov5lNGcXgsA==", - "dependencies": { - "@babel/runtime": "^7.1.2", - "history": "^4.9.0", - "loose-envify": "^1.3.1", - "prop-types": "^15.6.2", - "react-router": "5.2.0", - "tiny-invariant": "^1.0.2", - "tiny-warning": "^1.0.0" - }, - "peerDependencies": { - "react": ">=15" - } - }, - "node_modules/react-scripts": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/react-scripts/-/react-scripts-2.1.3.tgz", - "integrity": "sha512-JASD0QVVgSVleVhA9TeA+UBx+shq887hm/L+09qjZLrqIUvJZHZU+oOnhMFGot02Yop+LKfkvf9KSsTNlu/Rwg==", - "dependencies": { - "@babel/core": "7.1.6", - "@svgr/webpack": "2.4.1", - "babel-core": "7.0.0-bridge.0", - "babel-eslint": "9.0.0", - "babel-jest": "23.6.0", - "babel-loader": "8.0.4", - "babel-plugin-named-asset-import": "^0.3.0", - "babel-preset-react-app": "^7.0.0", - "bfj": "6.1.1", - "case-sensitive-paths-webpack-plugin": "2.1.2", - "chalk": "2.4.1", - "css-loader": "1.0.0", - "dotenv": "6.0.0", - "dotenv-expand": "4.2.0", - "eslint": "5.6.0", - "eslint-config-react-app": "^3.0.6", - "eslint-loader": "2.1.1", - "eslint-plugin-flowtype": "2.50.1", - "eslint-plugin-import": "2.14.0", - "eslint-plugin-jsx-a11y": "6.1.2", - "eslint-plugin-react": "7.11.1", - "file-loader": "2.0.0", - "fork-ts-checker-webpack-plugin-alt": "0.4.14", - "fs-extra": "7.0.0", - "html-webpack-plugin": "4.0.0-alpha.2", - "identity-obj-proxy": "3.0.0", - "jest": "23.6.0", - "jest-pnp-resolver": "1.0.1", - "jest-resolve": "23.6.0", - "mini-css-extract-plugin": "0.4.3", - "optimize-css-assets-webpack-plugin": "5.0.1", - "pnp-webpack-plugin": "1.1.0", - "postcss-flexbugs-fixes": "4.1.0", - "postcss-loader": "3.0.0", - "postcss-preset-env": "6.3.1", - "postcss-safe-parser": "4.0.1", - "react-app-polyfill": "^0.2.0", - "react-dev-utils": "^7.0.1", - "resolve": "1.8.1", - "sass-loader": "7.1.0", - "style-loader": "0.23.0", - "terser-webpack-plugin": "1.1.0", - "url-loader": "1.1.1", - "webpack": "4.19.1", - "webpack-dev-server": "3.1.14", - "webpack-manifest-plugin": "2.0.4", - "workbox-webpack-plugin": "3.6.3" - }, - "bin": { - "react-scripts": "bin/react-scripts.js" - }, - "engines": { - "node": ">=6" - }, - "optionalDependencies": { - "fsevents": "1.2.4" - } - }, - "node_modules/react-scripts/node_modules/@babel/core": { - "version": "7.1.6", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.1.6.tgz", - "integrity": "sha512-Hz6PJT6e44iUNpAn8AoyAs6B3bl60g7MJQaI0rZEar6ECzh6+srYO1xlIdssio34mPaUtAb1y+XlkkSJzok3yw==", - "dependencies": { - "@babel/code-frame": "^7.0.0", - "@babel/generator": "^7.1.6", - "@babel/helpers": "^7.1.5", - "@babel/parser": "^7.1.6", - "@babel/template": "^7.1.2", - "@babel/traverse": "^7.1.6", - "@babel/types": "^7.1.6", - "convert-source-map": "^1.1.0", - "debug": "^4.1.0", - "json5": "^2.1.0", - "lodash": "^4.17.10", - "resolve": "^1.3.2", - "semver": "^5.4.1", - "source-map": "^0.5.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/react-scripts/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/react-scripts/node_modules/babel-core": { - "version": "7.0.0-bridge.0", - "resolved": "https://registry.npmjs.org/babel-core/-/babel-core-7.0.0-bridge.0.tgz", - "integrity": "sha512-poPX9mZH/5CSanm50Q+1toVci6pv5KSRv/5TWCwtzQS5XEwn40BcCrgIeMFWP9CKKIniKXNxoIOnOq4VVlGXhg==", - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/react-scripts/node_modules/chalk": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.1.tgz", - "integrity": "sha512-ObN6h1v2fTJSmUXoS3nMQ92LbDK9be4TV+6G+omQlGJFdcUX5heKi1LZ1YnRMIgwTLEj3E24bT6tYni50rlCfQ==", - "dependencies": { - "ansi-styles": "^3.2.1", - "escape-string-regexp": "^1.0.5", - "supports-color": "^5.3.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/react-scripts/node_modules/debug": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", - "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/react-scripts/node_modules/fs-extra": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.0.tgz", - "integrity": "sha512-EglNDLRpmaTWiD/qraZn6HREAEAHJcJOmxNEYwq6xeMKnVMAy3GUcFB+wXt2C6k4CNvB/mP1y/U3dzvKKj5OtQ==", - "dependencies": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/react-scripts/node_modules/json5": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.0.tgz", - "integrity": "sha512-f+8cldu7X/y7RAJurMEJmdoKXGB/X550w2Nr3tTbezL6RwEE/iMcm+tZnXeoZtKuOq6ft8+CqzEkrIgx1fPoQA==", - "dependencies": { - "minimist": "^1.2.5" - }, - "bin": { - "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/react-scripts/node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/react-scripts/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/react-scripts/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/react-scripts/node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/react-transition-group": { - "version": "2.9.0", - "resolved": "https://registry.npmjs.org/react-transition-group/-/react-transition-group-2.9.0.tgz", - "integrity": "sha512-+HzNTCHpeQyl4MJ/bdE0u6XRMe9+XG/+aL4mCxVN4DnPBQ0/5bfHWPDuOZUzYdMj94daZaZdCCc1Dzt9R/xSSg==", - "dependencies": { - "dom-helpers": "^3.4.0", - "loose-envify": "^1.4.0", - "prop-types": "^15.6.2", - "react-lifecycles-compat": "^3.0.4" - }, - "peerDependencies": { - "react": ">=15.0.0", - "react-dom": ">=15.0.0" - } - }, - "node_modules/read-pkg": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-2.0.0.tgz", - "integrity": "sha1-jvHAYjxqbbDcZxPEv6xGMysjaPg=", - "dependencies": { - "load-json-file": "^2.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/read-pkg-up": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-2.0.0.tgz", - "integrity": "sha1-a3KoBImE4MQeeVEP1en6mbO1Sb4=", - "dependencies": { - "find-up": "^2.0.0", - "read-pkg": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/read-pkg/node_modules/path-type": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-2.0.0.tgz", - "integrity": "sha1-8BLMuEFbcJb8LaoQVMPXI4lZTHM=", - "dependencies": { - "pify": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/read-pkg/node_modules/pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/readable-stream": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.0.tgz", - "integrity": "sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA==", - "dependencies": { - "inherits": "^2.0.3", - "string_decoder": "^1.1.1", - "util-deprecate": "^1.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/readdirp": { - "version": "2.2.1", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-2.2.1.tgz", - "integrity": "sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==", - "dependencies": { - "graceful-fs": "^4.1.11", - "micromatch": "^3.1.10", - "readable-stream": "^2.0.2" - }, - "engines": { - "node": ">=0.10" - } - }, - "node_modules/readdirp/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/readdirp/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/readdirp/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/realpath-native": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/realpath-native/-/realpath-native-1.1.0.tgz", - "integrity": "sha512-wlgPA6cCIIg9gKz0fgAPjnzh4yR/LnXovwuo9hvyGvx3h8nX4+/iLZplfUWasXpqD8BdnGnP5njOFjkUwPzvjA==", - "dependencies": { - "util.promisify": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/receptacle": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/receptacle/-/receptacle-1.3.2.tgz", - "integrity": "sha512-HrsFvqZZheusncQRiEE7GatOAETrARKV/lnfYicIm8lbvp/JQOdADOfhjBd2DajvoszEyxSM6RlAAIZgEoeu/A==", - "dependencies": { - "ms": "^2.1.1" - } - }, - "node_modules/receptacle/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - }, - "node_modules/recursive-readdir": { - "version": "2.2.2", - "resolved": "https://registry.npmjs.org/recursive-readdir/-/recursive-readdir-2.2.2.tgz", - "integrity": "sha512-nRCcW9Sj7NuZwa2XvH9co8NPeXUBhZP7CRKJtU+cS6PW9FpCIFoI5ib0NT1ZrbNuPoRy0ylyCaUL8Gih4LSyFg==", - "dependencies": { - "minimatch": "3.0.4" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/regenerate": { - "version": "1.4.2", - "resolved": "https://registry.npmjs.org/regenerate/-/regenerate-1.4.2.tgz", - "integrity": "sha512-zrceR/XhGYU/d/opr2EKO7aRHUeiBI8qjtfHqADTwZd6Szfy16la6kqD0MIUs5z5hx6AaKa+PixpPrR289+I0A==" - }, - "node_modules/regenerate-unicode-properties": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/regenerate-unicode-properties/-/regenerate-unicode-properties-8.2.0.tgz", - "integrity": "sha512-F9DjY1vKLo/tPePDycuH3dn9H1OTPIkVD9Kz4LODu+F2C75mgjAJ7x/gwy6ZcSNRAAkhNlJSOHRe8k3p+K9WhA==", - "dependencies": { - "regenerate": "^1.4.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/regenerator-runtime": { - "version": "0.10.5", - "resolved": "https://registry.npmjs.org/regenerator-runtime/-/regenerator-runtime-0.10.5.tgz", - "integrity": "sha1-M2w+/BIgrc7dosn6tntaeVWjNlg=" - }, - "node_modules/regenerator-transform": { - "version": "0.10.1", - "resolved": "https://registry.npmjs.org/regenerator-transform/-/regenerator-transform-0.10.1.tgz", - "integrity": "sha512-PJepbvDbuK1xgIgnau7Y90cwaAmO/LCLMI2mPvaXq2heGMR3aWW5/BQvYrhJ8jgmQjXewXvBjzfqKcVOmhjZ6Q==", - "dependencies": { - "babel-runtime": "^6.18.0", - "babel-types": "^6.19.0", - "private": "^0.1.6" - } - }, - "node_modules/regex-cache": { - "version": "0.4.4", - "resolved": "https://registry.npmjs.org/regex-cache/-/regex-cache-0.4.4.tgz", - "integrity": "sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==", - "dependencies": { - "is-equal-shallow": "^0.1.3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/regex-not": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/regex-not/-/regex-not-1.0.2.tgz", - "integrity": "sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==", - "dependencies": { - "extend-shallow": "^3.0.2", - "safe-regex": "^1.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/regex-not/node_modules/extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", - "dependencies": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/regex-not/node_modules/is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dependencies": { - "is-plain-object": "^2.0.4" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/regexp.prototype.flags": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/regexp.prototype.flags/-/regexp.prototype.flags-1.3.1.tgz", - "integrity": "sha512-JiBdRBq91WlY7uRJ0ds7R+dU02i6LKi8r3BuQhNXn+kmeLN+EfHhfjqMRis1zJxnlu88hq/4dx0P2OP3APRTOA==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/regexpp": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/regexpp/-/regexpp-2.0.1.tgz", - "integrity": "sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==", - "engines": { - "node": ">=6.5.0" - } - }, - "node_modules/regexpu-core": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/regexpu-core/-/regexpu-core-2.0.0.tgz", - "integrity": "sha1-SdA4g3uNz4v6W5pCE5k45uoq4kA=", - "dependencies": { - "regenerate": "^1.2.1", - "regjsgen": "^0.2.0", - "regjsparser": "^0.1.4" - } - }, - "node_modules/regjsgen": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/regjsgen/-/regjsgen-0.2.0.tgz", - "integrity": "sha1-bAFq3qxVT3WCP+N6wFuS1aTtsfc=" - }, - "node_modules/regjsparser": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/regjsparser/-/regjsparser-0.1.5.tgz", - "integrity": "sha1-fuj4Tcb6eS0/0K4ijSS9lJ6tIFw=", - "dependencies": { - "jsesc": "~0.5.0" - }, - "bin": { - "regjsparser": "bin/parser" - } - }, - "node_modules/regjsparser/node_modules/jsesc": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-0.5.0.tgz", - "integrity": "sha1-597mbjXW/Bb3EP6R1c9p9w8IkR0=", - "bin": { - "jsesc": "bin/jsesc" - } - }, - "node_modules/relateurl": { - "version": "0.2.7", - "resolved": "https://registry.npmjs.org/relateurl/-/relateurl-0.2.7.tgz", - "integrity": "sha1-VNvzd+UUQKypCkzSdGANP/LYiKk=", - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/remove-trailing-separator": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz", - "integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8=" - }, - "node_modules/renderkid": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/renderkid/-/renderkid-2.0.5.tgz", - "integrity": "sha512-ccqoLg+HLOHq1vdfYNm4TBeaCDIi1FLt3wGojTDSvdewUv65oTmI3cnT2E4hRjl1gzKZIPK+KZrXzlUYKnR+vQ==", - "dependencies": { - "css-select": "^2.0.2", - "dom-converter": "^0.2", - "htmlparser2": "^3.10.1", - "lodash": "^4.17.20", - "strip-ansi": "^3.0.0" - } - }, - "node_modules/repeat-element": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/repeat-element/-/repeat-element-1.1.3.tgz", - "integrity": "sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/repeat-string": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/repeat-string/-/repeat-string-1.6.1.tgz", - "integrity": "sha1-jcrkcOHIirwtYA//Sndihtp15jc=", - "engines": { - "node": ">=0.10" - } - }, - "node_modules/repeating": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/repeating/-/repeating-2.0.1.tgz", - "integrity": "sha1-UhTFOpJtNVJwdSf7q0FdvAjQbdo=", - "dependencies": { - "is-finite": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/request": { - "version": "2.88.2", - "resolved": "https://registry.npmjs.org/request/-/request-2.88.2.tgz", - "integrity": "sha512-MsvtOrfG9ZcrOwAW+Qi+F6HbD0CWXEh9ou77uOb7FM2WPhwT7smM833PzanhJLsgXjN89Ir6V2PczXNnMpwKhw==", - "deprecated": "request has been deprecated, see https://github.com/request/request/issues/3142", - "dependencies": { - "aws-sign2": "~0.7.0", - "aws4": "^1.8.0", - "caseless": "~0.12.0", - "combined-stream": "~1.0.6", - "extend": "~3.0.2", - "forever-agent": "~0.6.1", - "form-data": "~2.3.2", - "har-validator": "~5.1.3", - "http-signature": "~1.2.0", - "is-typedarray": "~1.0.0", - "isstream": "~0.1.2", - "json-stringify-safe": "~5.0.1", - "mime-types": "~2.1.19", - "oauth-sign": "~0.9.0", - "performance-now": "^2.1.0", - "qs": "~6.5.2", - "safe-buffer": "^5.1.2", - "tough-cookie": "~2.5.0", - "tunnel-agent": "^0.6.0", - "uuid": "^3.3.2" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/request-promise-core": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/request-promise-core/-/request-promise-core-1.1.4.tgz", - "integrity": "sha512-TTbAfBBRdWD7aNNOoVOBH4pN/KigV6LyapYNNlAPA8JwbovRti1E88m3sYAwsLi5ryhPKsE9APwnjFTgdUjTpw==", - "dependencies": { - "lodash": "^4.17.19" - }, - "engines": { - "node": ">=0.10.0" - }, - "peerDependencies": { - "request": "^2.34" - } - }, - "node_modules/request-promise-native": { - "version": "1.0.9", - "resolved": "https://registry.npmjs.org/request-promise-native/-/request-promise-native-1.0.9.tgz", - "integrity": "sha512-wcW+sIUiWnKgNY0dqCpOZkUbF/I+YPi+f09JZIDa39Ec+q82CpSYniDp+ISgTTbKmnpJWASeJBPZmoxH84wt3g==", - "deprecated": "request-promise-native has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142", - "dependencies": { - "request-promise-core": "1.1.4", - "stealthy-require": "^1.1.1", - "tough-cookie": "^2.3.3" - }, - "engines": { - "node": ">=0.12.0" - }, - "peerDependencies": { - "request": "^2.34" - } - }, - "node_modules/request-promise-native/node_modules/tough-cookie": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", - "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", - "dependencies": { - "psl": "^1.1.28", - "punycode": "^2.1.1" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/request/node_modules/form-data": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/form-data/-/form-data-2.3.3.tgz", - "integrity": "sha512-1lLKB2Mu3aGP1Q/2eCOx0fNbRMe7XdwktwOruhfqqd0rIJWwN4Dh+E3hrPSlDCXnSR7UtZ1N38rVXm+6+MEhJQ==", - "dependencies": { - "asynckit": "^0.4.0", - "combined-stream": "^1.0.6", - "mime-types": "^2.1.12" - }, - "engines": { - "node": ">= 0.12" - } - }, - "node_modules/request/node_modules/tough-cookie": { - "version": "2.5.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-2.5.0.tgz", - "integrity": "sha512-nlLsUzgm1kfLXSXfRZMc1KLAugd4hqJHDTvc2hDIwS3mZAfMEuMbc03SujMF+GEcpaX/qboeycw6iO8JwVv2+g==", - "dependencies": { - "psl": "^1.1.28", - "punycode": "^2.1.1" - }, - "engines": { - "node": ">=0.8" - } - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-from-string": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", - "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-main-filename": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", - "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=" - }, - "node_modules/require-uncached": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/require-uncached/-/require-uncached-1.0.3.tgz", - "integrity": "sha1-Tg1W1slmL9MeQwEcS5WqSZVUIdM=", - "dependencies": { - "caller-path": "^0.1.0", - "resolve-from": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-uncached/node_modules/caller-path": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/caller-path/-/caller-path-0.1.0.tgz", - "integrity": "sha1-lAhe9jWB7NPaqSREqP6U6CV3dR8=", - "dependencies": { - "callsites": "^0.2.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-uncached/node_modules/callsites": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-0.2.0.tgz", - "integrity": "sha1-r6uWJikQp/M8GaV3WCXGnzTjUMo=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/require-uncached/node_modules/resolve-from": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-1.0.1.tgz", - "integrity": "sha1-Jsv+k10a7uq7Kbw/5a6wHpPUQiY=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/requires-port": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/requires-port/-/requires-port-1.0.0.tgz", - "integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8=" - }, - "node_modules/reset": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/reset/-/reset-0.1.0.tgz", - "integrity": "sha1-n8cxQXGZWubLC35YsGznUir0uvs=", - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/resolve": { - "version": "1.8.1", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.8.1.tgz", - "integrity": "sha512-AicPrAC7Qu1JxPCZ9ZgCZlY35QgFnNqc+0LtbRNxnVw4TXvjQ72wnuL9JQcEBgXkI9JM8MsT9kaQoHcpCRJOYA==", - "dependencies": { - "path-parse": "^1.0.5" - } - }, - "node_modules/resolve-cwd": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-2.0.0.tgz", - "integrity": "sha1-AKn3OHVW4nA46uIyyqNypqWbZlo=", - "dependencies": { - "resolve-from": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/resolve-from": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-3.0.0.tgz", - "integrity": "sha1-six699nWiBvItuZTM17rywoYh0g=", - "engines": { - "node": ">=4" - } - }, - "node_modules/resolve-pathname": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-pathname/-/resolve-pathname-3.0.0.tgz", - "integrity": "sha512-C7rARubxI8bXFNB/hqcp/4iUeIXJhJZvFPFPiSPRnhU5UPxzMFIl+2E6yY6c4k9giDJAhtV+enfA+G89N6Csng==" - }, - "node_modules/resolve-url": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/resolve-url/-/resolve-url-0.2.1.tgz", - "integrity": "sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=", - "deprecated": "https://github.com/lydell/resolve-url#deprecated" - }, - "node_modules/restore-cursor": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/restore-cursor/-/restore-cursor-2.0.0.tgz", - "integrity": "sha1-n37ih/gv0ybU/RYpI9YhKe7g368=", - "dependencies": { - "onetime": "^2.0.0", - "signal-exit": "^3.0.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/ret": { - "version": "0.1.15", - "resolved": "https://registry.npmjs.org/ret/-/ret-0.1.15.tgz", - "integrity": "sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==", - "engines": { - "node": ">=0.12" - } - }, - "node_modules/retimer": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/retimer/-/retimer-2.0.0.tgz", - "integrity": "sha512-KLXY85WkEq2V2bKex/LOO1ViXVn2KGYe4PYysAdYdjmraYIUsVkXu8O4am+8+5UbaaGl1qho4aqAAPHNQ4GSbg==" - }, - "node_modules/rgb-regex": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/rgb-regex/-/rgb-regex-1.0.1.tgz", - "integrity": "sha1-wODWiC3w4jviVKR16O3UGRX+rrE=" - }, - "node_modules/rgba-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/rgba-regex/-/rgba-regex-1.0.0.tgz", - "integrity": "sha1-QzdOLiyglosO8VI0YLfXMP8i7rM=" - }, - "node_modules/rimraf": { - "version": "2.7.1", - "resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz", - "integrity": "sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==", - "dependencies": { - "glob": "^7.1.3" - }, - "bin": { - "rimraf": "bin.js" - } - }, - "node_modules/ripemd160": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/ripemd160/-/ripemd160-2.0.2.tgz", - "integrity": "sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==", - "dependencies": { - "hash-base": "^3.0.0", - "inherits": "^2.0.1" - } - }, - "node_modules/rlp": { - "version": "2.2.6", - "resolved": "https://registry.npmjs.org/rlp/-/rlp-2.2.6.tgz", - "integrity": "sha512-HAfAmL6SDYNWPUOJNrM500x4Thn4PZsEy5pijPh40U9WfNk0z15hUYzO9xVIMAdIHdFtD8CBDHd75Td1g36Mjg==", - "dependencies": { - "bn.js": "^4.11.1" - }, - "bin": { - "rlp": "bin/rlp" - } - }, - "node_modules/rsvp": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/rsvp/-/rsvp-3.6.2.tgz", - "integrity": "sha512-OfWGQTb9vnwRjwtA2QwpG2ICclHC3pgXZO5xt8H2EfgDquO0qVdSb5T88L4qJVAEugbS56pAuV4XZM58UX8ulw==", - "engines": { - "node": "0.12.* || 4.* || 6.* || >= 7.*" - } - }, - "node_modules/run": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/run/-/run-1.4.0.tgz", - "integrity": "sha1-4X2ekEOrL+F3dsspnhI3848LT/o=", - "dependencies": { - "minimatch": "*" - }, - "bin": { - "runjs": "cli.js" - }, - "engines": { - "node": ">=v0.9.0" - } - }, - "node_modules/run-async": { - "version": "2.4.1", - "resolved": "https://registry.npmjs.org/run-async/-/run-async-2.4.1.tgz", - "integrity": "sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==", - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/run-queue": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/run-queue/-/run-queue-1.0.3.tgz", - "integrity": "sha1-6Eg5bwV9Ij8kOGkkYY4laUFh7Ec=", - "dependencies": { - "aproba": "^1.1.1" - } - }, - "node_modules/rxjs": { - "version": "6.6.6", - "resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.6.tgz", - "integrity": "sha512-/oTwee4N4iWzAMAL9xdGKjkEHmIwupR3oXbQjCKywF1BeFohswF3vZdogbmEF6pZkOsXTzWkrZszrWpQTByYVg==", - "dependencies": { - "tslib": "^1.9.0" - }, - "engines": { - "npm": ">=2.0.0" - } - }, - "node_modules/safe-buffer": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz", - "integrity": "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==" - }, - "node_modules/safe-regex": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/safe-regex/-/safe-regex-1.1.0.tgz", - "integrity": "sha1-QKNmnzsHfR6UPURinhV91IAjvy4=", - "dependencies": { - "ret": "~0.1.10" - } - }, - "node_modules/safer-buffer": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/safer-buffer/-/safer-buffer-2.1.2.tgz", - "integrity": "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==" - }, - "node_modules/sane": { - "version": "2.5.2", - "resolved": "https://registry.npmjs.org/sane/-/sane-2.5.2.tgz", - "integrity": "sha1-tNwYYcIbQn6SlQej51HiosuKs/o=", - "dependencies": { - "anymatch": "^2.0.0", - "capture-exit": "^1.2.0", - "exec-sh": "^0.2.0", - "fb-watchman": "^2.0.0", - "micromatch": "^3.1.4", - "minimist": "^1.1.1", - "walker": "~1.0.5", - "watch": "~0.18.0" - }, - "bin": { - "sane": "src/cli.js" - }, - "engines": { - "node": ">=0.6.0" - }, - "optionalDependencies": { - "fsevents": "^1.2.3" - } - }, - "node_modules/sass-loader": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/sass-loader/-/sass-loader-7.1.0.tgz", - "integrity": "sha512-+G+BKGglmZM2GUSfT9TLuEp6tzehHPjAMoRRItOojWIqIGPloVCMhNIQuG639eJ+y033PaGTSjLaTHts8Kw79w==", - "dependencies": { - "clone-deep": "^2.0.1", - "loader-utils": "^1.0.1", - "lodash.tail": "^4.1.1", - "neo-async": "^2.5.0", - "pify": "^3.0.0", - "semver": "^5.5.0" - }, - "engines": { - "node": ">= 6.9.0 || >= 8.9.0" - }, - "peerDependencies": { - "webpack": "^3.0.0 || ^4.0.0" - } - }, - "node_modules/sass-loader/node_modules/clone-deep": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/clone-deep/-/clone-deep-2.0.2.tgz", - "integrity": "sha512-SZegPTKjCgpQH63E+eN6mVEEPdQBOUzjyJm5Pora4lrwWRFS8I0QAxV/KD6vV/i0WuijHZWQC1fMsPEdxfdVCQ==", - "dependencies": { - "for-own": "^1.0.0", - "is-plain-object": "^2.0.4", - "kind-of": "^6.0.0", - "shallow-clone": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sass-loader/node_modules/for-own": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/for-own/-/for-own-1.0.0.tgz", - "integrity": "sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs=", - "dependencies": { - "for-in": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sass-loader/node_modules/kind-of": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-6.0.3.tgz", - "integrity": "sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sass-loader/node_modules/shallow-clone": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-1.0.0.tgz", - "integrity": "sha512-oeXreoKR/SyNJtRJMAKPDSvd28OqEwG4eR/xc856cRGBII7gX9lvAqDxusPm0846z/w/hWYjI1NpKwJ00NHzRA==", - "dependencies": { - "is-extendable": "^0.1.1", - "kind-of": "^5.0.0", - "mixin-object": "^2.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sass-loader/node_modules/shallow-clone/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sax": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz", - "integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==" - }, - "node_modules/saxes": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz", - "integrity": "sha512-5LBh1Tls8c9xgGjw3QrMwETmTMVk0oFgvrFSvWx62llR2hcEInrKNZ2GZCCuuy2lvWrdl5jhbpeqc5hRYKFOcw==", - "dependencies": { - "xmlchars": "^2.2.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/scheduler": { - "version": "0.13.6", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.13.6.tgz", - "integrity": "sha512-IWnObHt413ucAYKsD9J1QShUKkbKLQQHdxRyw73sw4FN26iWr3DY/H34xGPe4nmL1DwXyWmSWmMrA9TfQbE/XQ==", - "dependencies": { - "loose-envify": "^1.1.0", - "object-assign": "^4.1.1" - } - }, - "node_modules/schema-utils": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-1.0.0.tgz", - "integrity": "sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==", - "dependencies": { - "ajv": "^6.1.0", - "ajv-errors": "^1.0.0", - "ajv-keywords": "^3.1.0" - }, - "engines": { - "node": ">= 4" - } - }, - "node_modules/scrypt": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/scrypt/-/scrypt-6.0.3.tgz", - "integrity": "sha1-BOAUpWgrU/pQwtXM4WfXGcBthw0=", - "hasInstallScript": true, - "optional": true, - "dependencies": { - "nan": "^2.0.8" - }, - "engines": { - "node": ">= 0.10" - } - }, - "node_modules/scrypt-js": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz", - "integrity": "sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==" - }, - "node_modules/scrypt.js": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/scrypt.js/-/scrypt.js-0.3.0.tgz", - "integrity": "sha512-42LTc1nyFsyv/o0gcHtDztrn+aqpkaCNt5Qh7ATBZfhEZU7IC/0oT/qbBH+uRNoAPvs2fwiOId68FDEoSRA8/A==", - "dependencies": { - "scryptsy": "^1.2.1" - }, - "optionalDependencies": { - "scrypt": "^6.0.2" - } - }, - "node_modules/scryptsy": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/scryptsy/-/scryptsy-1.2.1.tgz", - "integrity": "sha1-oyJfpLJST4AnAHYeKFW987LZIWM=", - "dependencies": { - "pbkdf2": "^3.0.3" - } - }, - "node_modules/secp256k1": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/secp256k1/-/secp256k1-4.0.2.tgz", - "integrity": "sha512-UDar4sKvWAksIlfX3xIaQReADn+WFnHvbVujpcbr+9Sf/69odMwy2MUsz5CKLQgX9nsIyrjuxL2imVyoNHa3fg==", - "hasInstallScript": true, - "dependencies": { - "elliptic": "^6.5.2", - "node-addon-api": "^2.0.0", - "node-gyp-build": "^4.2.0" - }, - "engines": { - "node": ">=10.0.0" - } - }, - "node_modules/select-hose": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/select-hose/-/select-hose-2.0.0.tgz", - "integrity": "sha1-Yl2GWPhlr0Psliv8N2o3NZpJlMo=" - }, - "node_modules/selfsigned": { - "version": "1.10.8", - "resolved": "https://registry.npmjs.org/selfsigned/-/selfsigned-1.10.8.tgz", - "integrity": "sha512-2P4PtieJeEwVgTU9QEcwIRDQ/mXJLX8/+I3ur+Pg16nS8oNbrGxEso9NyYWy8NAmXiNl4dlAp5MwoNeCWzON4w==", - "dependencies": { - "node-forge": "^0.10.0" - } - }, - "node_modules/semver": { - "version": "5.7.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", - "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==", - "bin": { - "semver": "bin/semver" - } - }, - "node_modules/send": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/send/-/send-0.17.1.tgz", - "integrity": "sha512-BsVKsiGcQMFwT8UxypobUKyv7irCNRHk1T0G680vk88yf6LBByGcZJOTJCrTP2xVN6yI+XjPJcNuE3V4fT9sAg==", - "dependencies": { - "debug": "2.6.9", - "depd": "~1.1.2", - "destroy": "~1.0.4", - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "etag": "~1.8.1", - "fresh": "0.5.2", - "http-errors": "~1.7.2", - "mime": "1.6.0", - "ms": "2.1.1", - "on-finished": "~2.3.0", - "range-parser": "~1.2.1", - "statuses": "~1.5.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/send/node_modules/mime": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", - "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", - "bin": { - "mime": "cli.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/send/node_modules/ms": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.1.tgz", - "integrity": "sha512-tgp+dl5cGk28utYktBsrFqA7HKgrhgPsg6Z/EfhWI4gl1Hwq8B/GmY/0oXZ6nF8hDVesS/FpnYaD/kOWhYQvyg==" - }, - "node_modules/serialize-javascript": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/serialize-javascript/-/serialize-javascript-1.9.1.tgz", - "integrity": "sha512-0Vb/54WJ6k5v8sSWN09S0ora+Hnr+cX40r9F170nT+mSkaxltoE/7R3OrIdBSUv1OoiobH1QoWQbCnAO+e8J1A==" - }, - "node_modules/serve-index": { - "version": "1.9.1", - "resolved": "https://registry.npmjs.org/serve-index/-/serve-index-1.9.1.tgz", - "integrity": "sha1-03aNabHn2C5c4FD/9bRTvqEqkjk=", - "dependencies": { - "accepts": "~1.3.4", - "batch": "0.6.1", - "debug": "2.6.9", - "escape-html": "~1.0.3", - "http-errors": "~1.6.2", - "mime-types": "~2.1.17", - "parseurl": "~1.3.2" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/serve-index/node_modules/http-errors": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/http-errors/-/http-errors-1.6.3.tgz", - "integrity": "sha1-i1VoC7S+KDoLW/TqLjhYC+HZMg0=", - "dependencies": { - "depd": "~1.1.2", - "inherits": "2.0.3", - "setprototypeof": "1.1.0", - "statuses": ">= 1.4.0 < 2" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/serve-index/node_modules/inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - }, - "node_modules/serve-index/node_modules/setprototypeof": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.0.tgz", - "integrity": "sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==" - }, - "node_modules/serve-static": { - "version": "1.14.1", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.14.1.tgz", - "integrity": "sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg==", - "dependencies": { - "encodeurl": "~1.0.2", - "escape-html": "~1.0.3", - "parseurl": "~1.3.3", - "send": "0.17.1" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/set-blocking": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", - "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=" - }, - "node_modules/set-value": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/set-value/-/set-value-2.0.1.tgz", - "integrity": "sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==", - "dependencies": { - "extend-shallow": "^2.0.1", - "is-extendable": "^0.1.1", - "is-plain-object": "^2.0.3", - "split-string": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/setimmediate": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/setimmediate/-/setimmediate-1.0.5.tgz", - "integrity": "sha1-KQy7Iy4waULX1+qbg3Mqt4VvgoU=" - }, - "node_modules/setprototypeof": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/setprototypeof/-/setprototypeof-1.1.1.tgz", - "integrity": "sha512-JvdAWfbXeIGaZ9cILp38HntZSFSo3mWg6xGcJJsd+d4aRMOqauag1C63dJfDw7OaMYwEbHMOxEZ1lqVRYP2OAw==" - }, - "node_modules/sha.js": { - "version": "2.4.11", - "resolved": "https://registry.npmjs.org/sha.js/-/sha.js-2.4.11.tgz", - "integrity": "sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==", - "dependencies": { - "inherits": "^2.0.1", - "safe-buffer": "^5.0.1" - }, - "bin": { - "sha.js": "bin.js" - } - }, - "node_modules/shallow-clone": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/shallow-clone/-/shallow-clone-0.1.2.tgz", - "integrity": "sha1-WQnodLp3EG1zrEFM/sH/yofZcGA=", - "dependencies": { - "is-extendable": "^0.1.1", - "kind-of": "^2.0.1", - "lazy-cache": "^0.2.3", - "mixin-object": "^2.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/shallow-clone/node_modules/kind-of": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-2.0.1.tgz", - "integrity": "sha1-AY7HpM5+OobLkUG+UZ0kyPqpgbU=", - "dependencies": { - "is-buffer": "^1.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/shallow-clone/node_modules/lazy-cache": { - "version": "0.2.7", - "resolved": "https://registry.npmjs.org/lazy-cache/-/lazy-cache-0.2.7.tgz", - "integrity": "sha1-f+3fLctu23fRHvHRF6tf/fCrG2U=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/shebang-command": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-1.2.0.tgz", - "integrity": "sha1-RKrGW2lbAzmJaMOfNj/uXer98eo=", - "dependencies": { - "shebang-regex": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/shebang-regex": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-1.0.0.tgz", - "integrity": "sha1-2kL0l0DAtC2yypcoVxyxkMmO/qM=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/shell-quote": { - "version": "1.6.1", - "resolved": "https://registry.npmjs.org/shell-quote/-/shell-quote-1.6.1.tgz", - "integrity": "sha1-9HgZSczkAmlxJ0MOo7PFR29IF2c=", - "dependencies": { - "array-filter": "~0.0.0", - "array-map": "~0.0.0", - "array-reduce": "~0.0.0", - "jsonify": "~0.0.0" - } - }, - "node_modules/shellwords": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/shellwords/-/shellwords-0.1.1.tgz", - "integrity": "sha512-vFwSUfQvqybiICwZY5+DAWIPLKsWO31Q91JSKl3UYv+K5c2QRPzn0qzec6QPu1Qc9eHYItiP3NdJqNVqetYAww==" - }, - "node_modules/signal-exit": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.3.tgz", - "integrity": "sha512-VUJ49FC8U1OxwZLxIbTTrDvLnf/6TDgxZcK8wxR8zs13xpx7xbG60ndBlhNrFi2EMuFRoeDoJO7wthSLq42EjA==" - }, - "node_modules/signed-varint": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/signed-varint/-/signed-varint-2.0.1.tgz", - "integrity": "sha1-UKmYnafJjCxh2tEZvJdHDvhSgSk=", - "dependencies": { - "varint": "~5.0.0" - } - }, - "node_modules/simple-concat": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/simple-concat/-/simple-concat-1.0.1.tgz", - "integrity": "sha512-cSFtAPtRhljv69IK0hTVZQ+OfE9nePi/rtJmw5UjHeVyVroEqJXP1sFztKUy1qU+xvz3u/sfYJLa947b7nAN2Q==", - "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/simple-get": { - "version": "2.8.1", - "resolved": "https://registry.npmjs.org/simple-get/-/simple-get-2.8.1.tgz", - "integrity": "sha512-lSSHRSw3mQNUGPAYRqo7xy9dhKmxFXIjLjp4KHpf99GEH2VH7C3AM+Qfx6du6jhfUi6Vm7XnbEVEf7Wb6N8jRw==", - "dependencies": { - "decompress-response": "^3.3.0", - "once": "^1.3.1", - "simple-concat": "^1.0.0" - } - }, - "node_modules/simple-swizzle": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/simple-swizzle/-/simple-swizzle-0.2.2.tgz", - "integrity": "sha1-pNprY1/8zMoz9w0Xy5JZLeleVXo=", - "dependencies": { - "is-arrayish": "^0.3.1" - } - }, - "node_modules/simple-swizzle/node_modules/is-arrayish": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.3.2.tgz", - "integrity": "sha512-eVRqCvVlZbuw3GrM63ovNSNAeA1K16kaR/LRY/92w0zxQ5/1YzwblUX652i4Xs9RwAGjW9d9y6X88t8OaAJfWQ==" - }, - "node_modules/sisteransi": { - "version": "0.1.1", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-0.1.1.tgz", - "integrity": "sha512-PmGOd02bM9YO5ifxpw36nrNMBTptEtfRl4qUYl9SndkolplkrZZOW7PGHjrZL53QvMVj9nQ+TKqUnRsw4tJa4g==" - }, - "node_modules/slash": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-1.0.0.tgz", - "integrity": "sha1-xB8vbDn8FtHNF61LXYlhFK5HDVU=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/slice-ansi": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/slice-ansi/-/slice-ansi-1.0.0.tgz", - "integrity": "sha512-POqxBK6Lb3q6s047D/XsDVNPnF9Dl8JSaqe9h9lURl0OdNqy/ujDrOiIHtsqXMGbWWTIomRzAMaTyawAU//Reg==", - "dependencies": { - "is-fullwidth-code-point": "^2.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/snapdragon": { - "version": "0.8.2", - "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", - "integrity": "sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==", - "dependencies": { - "base": "^0.11.1", - "debug": "^2.2.0", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "map-cache": "^0.2.2", - "source-map": "^0.5.6", - "source-map-resolve": "^0.5.0", - "use": "^3.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-node": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/snapdragon-node/-/snapdragon-node-2.1.1.tgz", - "integrity": "sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==", - "dependencies": { - "define-property": "^1.0.0", - "isobject": "^3.0.0", - "snapdragon-util": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-node/node_modules/define-property": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-1.0.0.tgz", - "integrity": "sha1-dp66rz9KY6rTr56NMEybvnm/sOY=", - "dependencies": { - "is-descriptor": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon-util": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/snapdragon-util/-/snapdragon-util-3.0.1.tgz", - "integrity": "sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==", - "dependencies": { - "kind-of": "^3.2.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/snapdragon/node_modules/is-descriptor/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sockjs": { - "version": "0.3.19", - "resolved": "https://registry.npmjs.org/sockjs/-/sockjs-0.3.19.tgz", - "integrity": "sha512-V48klKZl8T6MzatbLlzzRNhMepEys9Y4oGFpypBFFn1gLI/QQ9HtLLyWJNbPlwGLelOVOEijUbTTJeLLI59jLw==", - "dependencies": { - "faye-websocket": "^0.10.0", - "uuid": "^3.0.1" - } - }, - "node_modules/sockjs-client": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/sockjs-client/-/sockjs-client-1.3.0.tgz", - "integrity": "sha512-R9jxEzhnnrdxLCNln0xg5uGHqMnkhPSTzUZH2eXcR03S/On9Yvoq2wyUZILRUhZCNVu2PmwWVoyuiPz8th8zbg==", - "dependencies": { - "debug": "^3.2.5", - "eventsource": "^1.0.7", - "faye-websocket": "~0.11.1", - "inherits": "^2.0.3", - "json3": "^3.3.2", - "url-parse": "^1.4.3" - } - }, - "node_modules/sockjs-client/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/sockjs-client/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - }, - "node_modules/sockjs/node_modules/faye-websocket": { - "version": "0.10.0", - "resolved": "https://registry.npmjs.org/faye-websocket/-/faye-websocket-0.10.0.tgz", - "integrity": "sha1-TkkvjQTftviQA1B/btvy1QHnxvQ=", - "dependencies": { - "websocket-driver": ">=0.5.1" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/solc": { - "version": "0.5.0", - "resolved": "https://registry.npmjs.org/solc/-/solc-0.5.0.tgz", - "integrity": "sha512-mdLHDl9WeYrN+FIKcMc9PlPfnA9DG9ur5QpCDKcv6VC4RINAsTF4EMuXMZMKoQTvZhtLyJIVH/BZ+KU830Z8Xg==", - "dependencies": { - "fs-extra": "^0.30.0", - "keccak": "^1.0.2", - "memorystream": "^0.3.1", - "require-from-string": "^2.0.0", - "semver": "^5.5.0", - "yargs": "^11.0.0" - }, - "bin": { - "solcjs": "solcjs" - } - }, - "node_modules/solc/node_modules/fs-extra": { - "version": "0.30.0", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-0.30.0.tgz", - "integrity": "sha1-8jP/zAjU2n1DLapEl3aYnbHfk/A=", - "dependencies": { - "graceful-fs": "^4.1.2", - "jsonfile": "^2.1.0", - "klaw": "^1.0.0", - "path-is-absolute": "^1.0.0", - "rimraf": "^2.2.8" - } - }, - "node_modules/solc/node_modules/jsonfile": { - "version": "2.4.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-2.4.0.tgz", - "integrity": "sha1-NzaitCi4e72gzIO1P6PWM6NcKug=", - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/sort-keys": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/sort-keys/-/sort-keys-1.1.2.tgz", - "integrity": "sha1-RBttTTRnmPG05J6JIK37oOVD+a0=", - "dev": true, - "dependencies": { - "is-plain-obj": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sort-keys/node_modules/is-plain-obj": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-1.1.0.tgz", - "integrity": "sha1-caUMhCnfync8kqOQpKA7OfzVHT4=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-list-map": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/source-list-map/-/source-list-map-2.0.1.tgz", - "integrity": "sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==" - }, - "node_modules/source-map": { - "version": "0.5.7", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", - "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-resolve": { - "version": "0.5.3", - "resolved": "https://registry.npmjs.org/source-map-resolve/-/source-map-resolve-0.5.3.tgz", - "integrity": "sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==", - "dependencies": { - "atob": "^2.1.2", - "decode-uri-component": "^0.2.0", - "resolve-url": "^0.2.1", - "source-map-url": "^0.4.0", - "urix": "^0.1.0" - } - }, - "node_modules/source-map-support": { - "version": "0.4.18", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.4.18.tgz", - "integrity": "sha512-try0/JqxPLF9nOjvSta7tVondkP5dwgyLDjVoyMDlmjugT2lRZ1OfsrYTkCd2hkDnJTKRbO/Rl3orm8vlsUzbA==", - "dependencies": { - "source-map": "^0.5.6" - } - }, - "node_modules/source-map-url": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/source-map-url/-/source-map-url-0.4.1.tgz", - "integrity": "sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==" - }, - "node_modules/spdx-correct": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/spdx-correct/-/spdx-correct-3.1.1.tgz", - "integrity": "sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==", - "dependencies": { - "spdx-expression-parse": "^3.0.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-exceptions": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/spdx-exceptions/-/spdx-exceptions-2.3.0.tgz", - "integrity": "sha512-/tTrYOC7PPI1nUAgx34hUpqXuyJG+DTHJTnIULG4rDygi4xu/tfgmq1e1cIRwRzwZgo4NLySi+ricLkZkw4i5A==" - }, - "node_modules/spdx-expression-parse": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/spdx-expression-parse/-/spdx-expression-parse-3.0.1.tgz", - "integrity": "sha512-cbqHunsQWnJNE6KhVSMsMeH5H/L9EpymbzqTQ3uLwNCLZ1Q481oWaofqH7nO6V07xlXwY6PhQdQ2IedWx/ZK4Q==", - "dependencies": { - "spdx-exceptions": "^2.1.0", - "spdx-license-ids": "^3.0.0" - } - }, - "node_modules/spdx-license-ids": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.7.tgz", - "integrity": "sha512-U+MTEOO0AiDzxwFvoa4JVnMV6mZlJKk2sBLt90s7G0Gd0Mlknc7kxEn3nuDPNZRta7O2uy8oLcZLVT+4sqNZHQ==" - }, - "node_modules/spdy": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/spdy/-/spdy-4.0.2.tgz", - "integrity": "sha512-r46gZQZQV+Kl9oItvl1JZZqJKGr+oEkB08A6BzkiR7593/7IbtuncXHd2YoYeTsG4157ZssMu9KYvUHLcjcDoA==", - "dependencies": { - "debug": "^4.1.0", - "handle-thing": "^2.0.0", - "http-deceiver": "^1.2.7", - "select-hose": "^2.0.0", - "spdy-transport": "^3.0.0" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/spdy-transport": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/spdy-transport/-/spdy-transport-3.0.0.tgz", - "integrity": "sha512-hsLVFE5SjA6TCisWeJXFKniGGOpBgMLmerfO2aCyCU5s7nJ/rpAepqmFifv/GCbSbueEeAJJnmSQ2rKC/g8Fcw==", - "dependencies": { - "debug": "^4.1.0", - "detect-node": "^2.0.4", - "hpack.js": "^2.1.6", - "obuf": "^1.1.2", - "readable-stream": "^3.0.6", - "wbuf": "^1.7.3" - } - }, - "node_modules/spdy-transport/node_modules/debug": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", - "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/spdy-transport/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/spdy/node_modules/debug": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.1.tgz", - "integrity": "sha512-doEwdvm4PCeK4K3RQN2ZC2BYUBaxwLARCqZmMjtF8a51J2Rb0xpVloFRnCODwqjpwnAoao4pelN8l3RJdv3gRQ==", - "dependencies": { - "ms": "2.1.2" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/spdy/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/split-string": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/split-string/-/split-string-3.1.0.tgz", - "integrity": "sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==", - "dependencies": { - "extend-shallow": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/split-string/node_modules/extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", - "dependencies": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/split-string/node_modules/is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dependencies": { - "is-plain-object": "^2.0.4" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=" - }, - "node_modules/sshpk": { - "version": "1.16.1", - "resolved": "https://registry.npmjs.org/sshpk/-/sshpk-1.16.1.tgz", - "integrity": "sha512-HXXqVUq7+pcKeLqqZj6mHFUMvXtOJt1uoUx09pFW6011inTMxqI8BA8PM95myrIyyKwdnzjdFjLiE6KBPVtJIg==", - "dependencies": { - "asn1": "~0.2.3", - "assert-plus": "^1.0.0", - "bcrypt-pbkdf": "^1.0.0", - "dashdash": "^1.12.0", - "ecc-jsbn": "~0.1.1", - "getpass": "^0.1.1", - "jsbn": "~0.1.0", - "safer-buffer": "^2.0.2", - "tweetnacl": "~0.14.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/ssri": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-6.0.1.tgz", - "integrity": "sha512-3Wge10hNcT1Kur4PDFwEieXSCMCJs/7WvSACcrMYrNp+b8kDL1/0wJch5Ni2WrtwEa2IO8OsVfeKIciKCDx/QA==", - "dependencies": { - "figgy-pudding": "^3.5.1" - } - }, - "node_modules/stable": { - "version": "0.1.8", - "resolved": "https://registry.npmjs.org/stable/-/stable-0.1.8.tgz", - "integrity": "sha512-ji9qxRnOVfcuLDySj9qzhGSEFVobyt1kIOSkj1qZzYLzq7Tos/oUUWvotUPQLlrsidqsK6tBH89Bc9kL5zHA6w==" - }, - "node_modules/stack-utils": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-1.0.4.tgz", - "integrity": "sha512-IPDJfugEGbfizBwBZRZ3xpccMdRyP5lqsBWXGQWimVjua/ccLCeMOAVjlc1R7LxFjo5sEDhyNIXd8mo/AiDS9w==", - "dependencies": { - "escape-string-regexp": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/stack-utils/node_modules/escape-string-regexp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", - "engines": { - "node": ">=8" - } - }, - "node_modules/static-extend": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/static-extend/-/static-extend-0.1.2.tgz", - "integrity": "sha1-YICcOcv/VTNyJv1eC1IPNB8ftcY=", - "dependencies": { - "define-property": "^0.2.5", - "object-copy": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/define-property": { - "version": "0.2.5", - "resolved": "https://registry.npmjs.org/define-property/-/define-property-0.2.5.tgz", - "integrity": "sha1-w1se+RjsPJkPmlvFe+BKrOxcgRY=", - "dependencies": { - "is-descriptor": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-accessor-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz", - "integrity": "sha1-qeEss66Nh2cn7u84Q/igiXtcmNY=", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-data-descriptor": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz", - "integrity": "sha1-C17mSDiOLIYCgueT8YVv7D8wG1Y=", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-descriptor": { - "version": "0.1.6", - "resolved": "https://registry.npmjs.org/is-descriptor/-/is-descriptor-0.1.6.tgz", - "integrity": "sha512-avDYr0SB3DwO9zsMov0gKCESFYqCnE4hq/4z3TdUlukEy5t9C0YRq7HLrsN52NAcqXKaepeCD0n+B0arnVG3Hg==", - "dependencies": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/static-extend/node_modules/is-descriptor/node_modules/kind-of": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/kind-of/-/kind-of-5.1.0.tgz", - "integrity": "sha512-NGEErnH6F2vUuXDh+OlbcKW7/wOcfdRHaZ7VWtqCztfHri/++YKmP51OdWeGPuqCOba6kk2OTe5d02VmTB80Pw==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/statuses": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/statuses/-/statuses-1.5.0.tgz", - "integrity": "sha1-Fhx9rBd2Wf2YEfQ3cfqZOBR4Yow=", - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/stealthy-require": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/stealthy-require/-/stealthy-require-1.1.1.tgz", - "integrity": "sha1-NbCYdbT/SfJqd35QmzCQoyJr8ks=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/stream-browserify": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/stream-browserify/-/stream-browserify-2.0.2.tgz", - "integrity": "sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==", - "dependencies": { - "inherits": "~2.0.1", - "readable-stream": "^2.0.2" - } - }, - "node_modules/stream-browserify/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/stream-browserify/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/stream-browserify/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/stream-each": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/stream-each/-/stream-each-1.2.3.tgz", - "integrity": "sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==", - "dependencies": { - "end-of-stream": "^1.1.0", - "stream-shift": "^1.0.0" - } - }, - "node_modules/stream-http": { - "version": "2.8.3", - "resolved": "https://registry.npmjs.org/stream-http/-/stream-http-2.8.3.tgz", - "integrity": "sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==", - "dependencies": { - "builtin-status-codes": "^3.0.0", - "inherits": "^2.0.1", - "readable-stream": "^2.3.6", - "to-arraybuffer": "^1.0.0", - "xtend": "^4.0.0" - } - }, - "node_modules/stream-http/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/stream-http/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/stream-http/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/stream-shift": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/stream-shift/-/stream-shift-1.0.1.tgz", - "integrity": "sha512-AiisoFqQ0vbGcZgQPY1cdP2I76glaVA/RauYR4G4thNFgkTqr90yXTo4LYX60Jl+sIlPNHHdGSwo01AvbKUSVQ==" - }, - "node_modules/stream-to-it": { - "version": "0.2.2", - "resolved": "https://registry.npmjs.org/stream-to-it/-/stream-to-it-0.2.2.tgz", - "integrity": "sha512-waULBmQpVdr6TkDzci6t1P7dIaSZ0bHC1TaPXDUeJC5PpSK7U3T0H0Zeo/LWUnd6mnhXOmGGDKAkjUCHw5IOng==", - "dependencies": { - "get-iterator": "^1.0.2" - } - }, - "node_modules/strict-uri-encode": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz", - "integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "dependencies": { - "safe-buffer": "~5.2.0" - } - }, - "node_modules/string_decoder/node_modules/safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", - "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/string-length": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/string-length/-/string-length-2.0.0.tgz", - "integrity": "sha1-1A27aGo6zpYMHP/KVivyxF+DY+0=", - "dependencies": { - "astral-regex": "^1.0.0", - "strip-ansi": "^4.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/string-length/node_modules/ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "engines": { - "node": ">=4" - } - }, - "node_modules/string-length/node_modules/strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dependencies": { - "ansi-regex": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/string-width": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz", - "integrity": "sha512-nOqH59deCq9SRHlxq1Aw85Jnt4w6KvLKqWVik6oA9ZklXLNIOlqg4F2yrT1MVaTjAqvVwdfeZ7w7aCvJD7ugkw==", - "dependencies": { - "is-fullwidth-code-point": "^2.0.0", - "strip-ansi": "^4.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/string-width/node_modules/ansi-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-3.0.0.tgz", - "integrity": "sha1-7QMXwyIGT3lGbAKWa922Bas32Zg=", - "engines": { - "node": ">=4" - } - }, - "node_modules/string-width/node_modules/strip-ansi": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-4.0.0.tgz", - "integrity": "sha1-qEeQIusaw2iocTibY1JixQXuNo8=", - "dependencies": { - "ansi-regex": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/string.prototype.trimend": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimend/-/string.prototype.trimend-1.0.4.tgz", - "integrity": "sha512-y9xCjw1P23Awk8EvTpcyL2NIr1j7wJ39f+k6lvRnSMz+mz9CGz9NYPelDk42kOz6+ql8xjfK8oYzy3jAP5QU5A==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/string.prototype.trimstart": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/string.prototype.trimstart/-/string.prototype.trimstart-1.0.4.tgz", - "integrity": "sha512-jh6e984OBfvxS50tdY2nRZnoC5/mLFKOREQfw8t5yytkoUsJRNxvI/E39qu1sD0OtWI3OC0XgKSmcWwziwYuZw==", - "dependencies": { - "call-bind": "^1.0.2", - "define-properties": "^1.1.3" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/stringify-object": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz", - "integrity": "sha512-rHqiFh1elqCQ9WPLIC8I0Q/g/wj5J1eMkyoiD6eoQApWHP0FtlK7rqnhmabL5VUY9JQCcqwwvlOaSuutekgyrw==", - "dependencies": { - "get-own-enumerable-property-symbols": "^3.0.0", - "is-obj": "^1.0.1", - "is-regexp": "^1.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/strip-ansi": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz", - "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=", - "dependencies": { - "ansi-regex": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/strip-bom": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-2.0.0.tgz", - "integrity": "sha1-YhmoVhZSBJHzV4i9vxRHqZx+aw4=", - "dependencies": { - "is-utf8": "^0.2.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/strip-comments": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/strip-comments/-/strip-comments-1.0.2.tgz", - "integrity": "sha512-kL97alc47hoyIQSV165tTt9rG5dn4w1dNnBhOQ3bOU1Nc1hel09jnXANaHJ7vzHLd4Ju8kseDGzlev96pghLFw==", - "dependencies": { - "babel-extract-comments": "^1.0.0", - "babel-plugin-transform-object-rest-spread": "^6.26.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/strip-eof": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-eof/-/strip-eof-1.0.0.tgz", - "integrity": "sha1-u0P/VZim6wXYm1n80SnJgzE2Br8=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/strip-hex-prefix": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/strip-hex-prefix/-/strip-hex-prefix-1.0.0.tgz", - "integrity": "sha1-DF8VX+8RUTczd96du1iNoFUA428=", - "dependencies": { - "is-hex-prefixed": "1.0.0" - }, - "engines": { - "node": ">=6.5.0", - "npm": ">=3" - } - }, - "node_modules/strip-json-comments": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-2.0.1.tgz", - "integrity": "sha1-PFMZQukIwml8DsNEhYwobHygpgo=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/strip-outer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/strip-outer/-/strip-outer-1.0.1.tgz", - "integrity": "sha512-k55yxKHwaXnpYGsOzg4Vl8+tDrWylxDEpknGjhTiZB8dFRU5rTo9CAzeycivxV3s+zlTKwrs6WxMxR95n26kwg==", - "dev": true, - "dependencies": { - "escape-string-regexp": "^1.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/strip-url-auth": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/strip-url-auth/-/strip-url-auth-1.0.1.tgz", - "integrity": "sha1-IrD6OkE4WzO+PzMVUbu4N/oM164=", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/style-loader": { - "version": "0.23.0", - "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.23.0.tgz", - "integrity": "sha512-uCcN7XWHkqwGVt7skpInW6IGO1tG6ReyFQ1Cseh0VcN6VdcFQi62aG/2F3Y9ueA8x4IVlfaSUxpmQXQD9QrEuQ==", - "dependencies": { - "loader-utils": "^1.1.0", - "schema-utils": "^0.4.5" - }, - "engines": { - "node": ">= 0.12.0" - } - }, - "node_modules/style-loader/node_modules/schema-utils": { - "version": "0.4.7", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.7.tgz", - "integrity": "sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ==", - "dependencies": { - "ajv": "^6.1.0", - "ajv-keywords": "^3.1.0" - }, - "engines": { - "node": ">= 4" - } - }, - "node_modules/stylehacks": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/stylehacks/-/stylehacks-4.0.3.tgz", - "integrity": "sha512-7GlLk9JwlElY4Y6a/rmbH2MhVlTyVmiJd1PfTCqFaIBEGMYNsrO/v3SeGTdhBThLg4Z+NbOk/qFMwCa+J+3p/g==", - "dependencies": { - "browserslist": "^4.0.0", - "postcss": "^7.0.0", - "postcss-selector-parser": "^3.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/stylehacks/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/stylehacks/node_modules/browserslist": { - "version": "4.16.3", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.16.3.tgz", - "integrity": "sha512-vIyhWmIkULaq04Gt93txdh+j02yX/JzlyhLYbV3YQCn/zvES3JnY7TifHHvvr1w5hTDluNKMkV05cs4vy8Q7sw==", - "dependencies": { - "caniuse-lite": "^1.0.30001181", - "colorette": "^1.2.1", - "electron-to-chromium": "^1.3.649", - "escalade": "^3.1.1", - "node-releases": "^1.1.70" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - } - }, - "node_modules/stylehacks/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/stylehacks/node_modules/chalk/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/stylehacks/node_modules/postcss": { - "version": "7.0.35", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-7.0.35.tgz", - "integrity": "sha512-3QT8bBJeX/S5zKTTjTCIjRF3If4avAT6kqxcASlTWEtAFCb9NH0OUxNDfgZSWdP5fJnBYCMEWkIFfWeugjzYMg==", - "dependencies": { - "chalk": "^2.4.2", - "source-map": "^0.6.1", - "supports-color": "^6.1.0" - }, - "engines": { - "node": ">=6.0.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/postcss/" - } - }, - "node_modules/stylehacks/node_modules/postcss-selector-parser": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/postcss-selector-parser/-/postcss-selector-parser-3.1.2.tgz", - "integrity": "sha512-h7fJ/5uWuRVyOtkO45pnt1Ih40CEleeyCHzipqAZO2e5H20g25Y48uYnFUiShvY4rZWNJ/Bib/KVPmanaCtOhA==", - "dependencies": { - "dot-prop": "^5.2.0", - "indexes-of": "^1.0.1", - "uniq": "^1.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/stylehacks/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/stylehacks/node_modules/supports-color": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-6.1.0.tgz", - "integrity": "sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/supports-color": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz", - "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc=", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/svgo": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/svgo/-/svgo-1.3.2.tgz", - "integrity": "sha512-yhy/sQYxR5BkC98CY7o31VGsg014AKLEPxdfhora76l36hD9Rdy5NZA/Ocn6yayNPgSamYdtX2rFJdcv07AYVw==", - "dependencies": { - "chalk": "^2.4.1", - "coa": "^2.0.2", - "css-select": "^2.0.0", - "css-select-base-adapter": "^0.1.1", - "css-tree": "1.0.0-alpha.37", - "csso": "^4.0.2", - "js-yaml": "^3.13.1", - "mkdirp": "~0.5.1", - "object.values": "^1.1.0", - "sax": "~1.2.4", - "stable": "^0.1.8", - "unquote": "~1.1.1", - "util.promisify": "~1.0.0" - }, - "bin": { - "svgo": "bin/svgo" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/svgo/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/svgo/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/svgo/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/svgo/node_modules/util.promisify": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.0.1.tgz", - "integrity": "sha512-g9JpC/3He3bm38zsLupWryXHoEcS22YHthuPQSJdMy6KNrzIRzWqcsHzD/WUnqe45whVou4VIsPew37DoXWNrA==", - "dependencies": { - "define-properties": "^1.1.3", - "es-abstract": "^1.17.2", - "has-symbols": "^1.0.1", - "object.getownpropertydescriptors": "^2.1.0" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/symbol-tree": { - "version": "3.2.4", - "resolved": "https://registry.npmjs.org/symbol-tree/-/symbol-tree-3.2.4.tgz", - "integrity": "sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==" - }, - "node_modules/table": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/table/-/table-4.0.3.tgz", - "integrity": "sha512-S7rnFITmBH1EnyKcvxBh1LjYeQMmnZtCXSEbHcH6S0NoKit24ZuFO/T1vDcLdYsLQkM188PVVhQmzKIuThNkKg==", - "dependencies": { - "ajv": "^6.0.1", - "ajv-keywords": "^3.0.0", - "chalk": "^2.1.0", - "lodash": "^4.17.4", - "slice-ansi": "1.0.0", - "string-width": "^2.1.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/table/node_modules/ansi-styles": { - "version": "3.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-3.2.1.tgz", - "integrity": "sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==", - "dependencies": { - "color-convert": "^1.9.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/table/node_modules/chalk": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-2.4.2.tgz", - "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" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/table/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/tapable": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz", - "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==", - "engines": { - "node": ">=6" - } - }, - "node_modules/terser": { - "version": "3.17.0", - "resolved": "https://registry.npmjs.org/terser/-/terser-3.17.0.tgz", - "integrity": "sha512-/FQzzPJmCpjAH9Xvk2paiWrFq+5M6aVOf+2KRbwhByISDX/EujxsK+BAvrhb6H+2rtrLCHK9N01wO014vrIwVQ==", - "dependencies": { - "commander": "^2.19.0", - "source-map": "~0.6.1", - "source-map-support": "~0.5.10" - }, - "bin": { - "terser": "bin/uglifyjs" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/terser-webpack-plugin": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/terser-webpack-plugin/-/terser-webpack-plugin-1.1.0.tgz", - "integrity": "sha512-61lV0DSxMAZ8AyZG7/A4a3UPlrbOBo8NIQ4tJzLPAdGOQ+yoNC7l5ijEow27lBAL2humer01KLS6bGIMYQxKoA==", - "dependencies": { - "cacache": "^11.0.2", - "find-cache-dir": "^2.0.0", - "schema-utils": "^1.0.0", - "serialize-javascript": "^1.4.0", - "source-map": "^0.6.1", - "terser": "^3.8.1", - "webpack-sources": "^1.1.0", - "worker-farm": "^1.5.2" - }, - "engines": { - "node": ">= 6.9.0 <7.0.0 || >= 8.9.0" - }, - "peerDependencies": { - "webpack": "^4.3.0" - } - }, - "node_modules/terser-webpack-plugin/node_modules/find-cache-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/find-cache-dir/-/find-cache-dir-2.1.0.tgz", - "integrity": "sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==", - "dependencies": { - "commondir": "^1.0.1", - "make-dir": "^2.0.0", - "pkg-dir": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/terser-webpack-plugin/node_modules/find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dependencies": { - "locate-path": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/terser-webpack-plugin/node_modules/locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dependencies": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/terser-webpack-plugin/node_modules/make-dir": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-2.1.0.tgz", - "integrity": "sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==", - "dependencies": { - "pify": "^4.0.1", - "semver": "^5.6.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/terser-webpack-plugin/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/terser-webpack-plugin/node_modules/p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dependencies": { - "p-limit": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/terser-webpack-plugin/node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/terser-webpack-plugin/node_modules/pify": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/pify/-/pify-4.0.1.tgz", - "integrity": "sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==", - "engines": { - "node": ">=6" - } - }, - "node_modules/terser-webpack-plugin/node_modules/pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "dependencies": { - "find-up": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/terser-webpack-plugin/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/terser/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/terser/node_modules/source-map-support": { - "version": "0.5.19", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.19.tgz", - "integrity": "sha512-Wonm7zOCIJzBGQdB+thsPar0kYuCIzYvxZwlBa87yi/Mdjv7Tip2cyVbLj5o0cFPN4EVkuTwb3GDDyUx2DGnGw==", - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/test-exclude": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-4.2.3.tgz", - "integrity": "sha512-SYbXgY64PT+4GAL2ocI3HwPa4Q4TBKm0cwAVeKOt/Aoc0gSpNRjJX8w0pA1LMKZ3LBmd8pYBqApFNQLII9kavA==", - "dependencies": { - "arrify": "^1.0.1", - "micromatch": "^2.3.11", - "object-assign": "^4.1.0", - "read-pkg-up": "^1.0.1", - "require-main-filename": "^1.0.1" - } - }, - "node_modules/test-exclude/node_modules/arr-diff": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/arr-diff/-/arr-diff-2.0.0.tgz", - "integrity": "sha1-jzuCf5Vai9ZpaX5KQlasPOrjVs8=", - "dependencies": { - "arr-flatten": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/test-exclude/node_modules/array-unique": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/array-unique/-/array-unique-0.2.1.tgz", - "integrity": "sha1-odl8yvy8JiXMcPrc6zalDFiwGlM=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/test-exclude/node_modules/braces": { - "version": "1.8.5", - "resolved": "https://registry.npmjs.org/braces/-/braces-1.8.5.tgz", - "integrity": "sha1-uneWLhLf+WnWt2cR6RS3N4V79qc=", - "dependencies": { - "expand-range": "^1.8.1", - "preserve": "^0.2.0", - "repeat-element": "^1.1.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/test-exclude/node_modules/expand-brackets": { - "version": "0.1.5", - "resolved": "https://registry.npmjs.org/expand-brackets/-/expand-brackets-0.1.5.tgz", - "integrity": "sha1-3wcoTjQqgHzXM6xa9yQR5YHRF3s=", - "dependencies": { - "is-posix-bracket": "^0.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/test-exclude/node_modules/extglob": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/extglob/-/extglob-0.3.2.tgz", - "integrity": "sha1-Lhj/PS9JqydlzskCPwEdqo2DSaE=", - "dependencies": { - "is-extglob": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/test-exclude/node_modules/find-up": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-1.1.2.tgz", - "integrity": "sha1-ay6YIrGizgpgq2TWEOzK1TyyTQ8=", - "dependencies": { - "path-exists": "^2.0.0", - "pinkie-promise": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/test-exclude/node_modules/is-extglob": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-1.0.0.tgz", - "integrity": "sha1-rEaBd8SUNAWgkvyPKXYMb/xiBsA=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/test-exclude/node_modules/is-glob": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-2.0.1.tgz", - "integrity": "sha1-0Jb5JqPe1WAPP9/ZEZjLCIjC2GM=", - "dependencies": { - "is-extglob": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/test-exclude/node_modules/load-json-file": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/load-json-file/-/load-json-file-1.1.0.tgz", - "integrity": "sha1-lWkFcI1YtLq0wiYbBPWfMcmTdMA=", - "dependencies": { - "graceful-fs": "^4.1.2", - "parse-json": "^2.2.0", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0", - "strip-bom": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/test-exclude/node_modules/micromatch": { - "version": "2.3.11", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-2.3.11.tgz", - "integrity": "sha1-hmd8l9FyCzY0MdBNDRUpO9OMFWU=", - "dependencies": { - "arr-diff": "^2.0.0", - "array-unique": "^0.2.1", - "braces": "^1.8.2", - "expand-brackets": "^0.1.4", - "extglob": "^0.3.1", - "filename-regex": "^2.0.0", - "is-extglob": "^1.0.0", - "is-glob": "^2.0.1", - "kind-of": "^3.0.2", - "normalize-path": "^2.0.1", - "object.omit": "^2.0.0", - "parse-glob": "^3.0.4", - "regex-cache": "^0.4.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/test-exclude/node_modules/normalize-path": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz", - "integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=", - "dependencies": { - "remove-trailing-separator": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/test-exclude/node_modules/parse-json": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-2.2.0.tgz", - "integrity": "sha1-9ID0BDTvgHQfhGkJn43qGPVaTck=", - "dependencies": { - "error-ex": "^1.2.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/test-exclude/node_modules/path-exists": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-2.1.0.tgz", - "integrity": "sha1-D+tsZPD8UY2adU3V77YscCJ2H0s=", - "dependencies": { - "pinkie-promise": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/test-exclude/node_modules/path-type": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/path-type/-/path-type-1.1.0.tgz", - "integrity": "sha1-WcRPfuSR2nBNpBXaWkBwuk+P5EE=", - "dependencies": { - "graceful-fs": "^4.1.2", - "pify": "^2.0.0", - "pinkie-promise": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/test-exclude/node_modules/pify": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/pify/-/pify-2.3.0.tgz", - "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/test-exclude/node_modules/read-pkg": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/read-pkg/-/read-pkg-1.1.0.tgz", - "integrity": "sha1-9f+qXs0pyzHAR0vKfXVra7KePyg=", - "dependencies": { - "load-json-file": "^1.0.0", - "normalize-package-data": "^2.3.2", - "path-type": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/test-exclude/node_modules/read-pkg-up": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/read-pkg-up/-/read-pkg-up-1.0.1.tgz", - "integrity": "sha1-nWPBMnbAZZGNV/ACpX9AobZD+wI=", - "dependencies": { - "find-up": "^1.0.0", - "read-pkg": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/text-table": { - "version": "0.2.0", - "resolved": "https://registry.npmjs.org/text-table/-/text-table-0.2.0.tgz", - "integrity": "sha1-f17oI66AUgfACvLfSoTsP8+lcLQ=" - }, - "node_modules/throat": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/throat/-/throat-4.1.0.tgz", - "integrity": "sha1-iQN8vJLFarGJJua6TLsgDhVnKmo=" - }, - "node_modules/through": { - "version": "2.3.8", - "resolved": "https://registry.npmjs.org/through/-/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" - }, - "node_modules/through2": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.5.tgz", - "integrity": "sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==", - "dependencies": { - "readable-stream": "~2.3.6", - "xtend": "~4.0.1" - } - }, - "node_modules/through2/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/through2/node_modules/readable-stream": { - "version": "2.3.7", - "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", - "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" - } - }, - "node_modules/through2/node_modules/string_decoder": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", - "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/thunky": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz", - "integrity": "sha512-eHY7nBftgThBqOyHGVN+l8gF0BucP09fMo0oO/Lb0w1OF80dJv+lDVpXG60WMQvkcxAkNybKsrEIE3ZtKGmPrA==" - }, - "node_modules/timed-out": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz", - "integrity": "sha1-8y6srFoXW+ol1/q1Zas+2HQe9W8=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/timeout-abort-controller": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/timeout-abort-controller/-/timeout-abort-controller-1.1.1.tgz", - "integrity": "sha512-BsF9i3NAJag6T0ZEjki9j654zoafI2X6ayuNd6Tp8+Ul6Tr5s4jo973qFeiWrRSweqvskC+AHDKUmIW4b7pdhQ==", - "dependencies": { - "abort-controller": "^3.0.0", - "retimer": "^2.0.0" - } - }, - "node_modules/timers-browserify": { - "version": "2.0.12", - "resolved": "https://registry.npmjs.org/timers-browserify/-/timers-browserify-2.0.12.tgz", - "integrity": "sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==", - "dependencies": { - "setimmediate": "^1.0.4" - }, - "engines": { - "node": ">=0.6.0" - } - }, - "node_modules/timsort": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/timsort/-/timsort-0.3.0.tgz", - "integrity": "sha1-QFQRqOfmM5/mTbmiNN4R3DHgK9Q=" - }, - "node_modules/tiny-invariant": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/tiny-invariant/-/tiny-invariant-1.1.0.tgz", - "integrity": "sha512-ytxQvrb1cPc9WBEI/HSeYYoGD0kWnGEOR8RY6KomWLBVhqz0RgTwVO9dLrGz7dC+nN9llyI7OKAgRq8Vq4ZBSw==" - }, - "node_modules/tiny-warning": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/tiny-warning/-/tiny-warning-1.0.3.tgz", - "integrity": "sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA==" - }, - "node_modules/tmp": { - "version": "0.0.33", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.0.33.tgz", - "integrity": "sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==", - "dependencies": { - "os-tmpdir": "~1.0.2" - }, - "engines": { - "node": ">=0.6.0" - } - }, - "node_modules/tmpl": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.4.tgz", - "integrity": "sha1-I2QN17QtAEM5ERQIIOXPRA5SHdE=" - }, - "node_modules/to-arraybuffer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/to-arraybuffer/-/to-arraybuffer-1.0.1.tgz", - "integrity": "sha1-fSKbH8xjfkZsoIEYCDanqr/4P0M=" - }, - "node_modules/to-fast-properties": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-1.0.3.tgz", - "integrity": "sha1-uDVx+k2MJbguIxsG46MFXeTKGkc=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-object-path": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", - "integrity": "sha1-KXWIt7Dn4KwI4E5nL4XB9JmeF68=", - "dependencies": { - "kind-of": "^3.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-regex": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/to-regex/-/to-regex-3.0.2.tgz", - "integrity": "sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==", - "dependencies": { - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "regex-not": "^1.0.2", - "safe-regex": "^1.1.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-regex-range": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-2.1.1.tgz", - "integrity": "sha1-fIDBe53+vlmeJzZ+DU3VWQFB2zg=", - "dependencies": { - "is-number": "^3.0.0", - "repeat-string": "^1.6.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-regex/node_modules/extend-shallow": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/extend-shallow/-/extend-shallow-3.0.2.tgz", - "integrity": "sha1-Jqcarwc7OfshJxcnRhMcJwQCjbg=", - "dependencies": { - "assign-symbols": "^1.0.0", - "is-extendable": "^1.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/to-regex/node_modules/is-extendable": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/is-extendable/-/is-extendable-1.0.1.tgz", - "integrity": "sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==", - "dependencies": { - "is-plain-object": "^2.0.4" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/toidentifier": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/toidentifier/-/toidentifier-1.0.0.tgz", - "integrity": "sha512-yaOH/Pk/VEhBWWTlhI+qXxDFXlejDGcQipMlyxda9nthulaxLZUNcUqFxokp0vcYnvteJln5FNQDRrxj3YcbVw==", - "engines": { - "node": ">=0.6" - } - }, - "node_modules/topo": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/topo/-/topo-2.0.2.tgz", - "integrity": "sha1-zVYVdSU5BXwNwEkaYhw7xvvh0YI=", - "deprecated": "This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).", - "dependencies": { - "hoek": "4.x.x" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/tough-cookie": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/tough-cookie/-/tough-cookie-4.0.0.tgz", - "integrity": "sha512-tHdtEpQCMrc1YLrMaqXXcj6AxhYi/xgit6mZu1+EDWUn+qhUf8wMQoFIy9NXuq23zAwtcB0t/MjACGR18pcRbg==", - "dependencies": { - "psl": "^1.1.33", - "punycode": "^2.1.1", - "universalify": "^0.1.2" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/tough-cookie/node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/tr46": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-2.0.2.tgz", - "integrity": "sha512-3n1qG+/5kg+jrbTzwAykB5yRYtQCTqOGKq5U5PE3b0a1/mzo6snDhjGS0zJVJunO0NrT3Dg1MLy5TjWP/UJppg==", - "dependencies": { - "punycode": "^2.1.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/trim-repeated": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/trim-repeated/-/trim-repeated-1.0.0.tgz", - "integrity": "sha1-42RqLqTokTEr9+rObPsFOAvAHCE=", - "dev": true, - "dependencies": { - "escape-string-regexp": "^1.0.2" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/trim-right": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", - "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/truffle": { - "version": "5.0.5", - "resolved": "https://registry.npmjs.org/truffle/-/truffle-5.0.5.tgz", - "integrity": "sha512-YKAfHvq3C5hGCc+S+14FNDM8iZPeta9McocKSAkYBxDTiRfyT6yeDrHmSNEU7fzNAc7jFSlwhY7Cs5bXUR3RKg==", - "dependencies": { - "app-module-path": "^2.2.0", - "mocha": "^4.1.0", - "original-require": "1.0.1", - "solc": "0.5.0" - }, - "bin": { - "truffle": "build/cli.bundled.js" - } - }, - "node_modules/truffle-flattener": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/truffle-flattener/-/truffle-flattener-1.5.0.tgz", - "integrity": "sha512-vmzWG/L5OXoNruMV6u2l2IaheI091e+t+fFCOR9sl46EE3epkSRIwGCmIP/EYDtPsFBIG7e6exttC9/GlfmxEQ==", - "dependencies": { - "@resolver-engine/imports-fs": "^0.2.2", - "@solidity-parser/parser": "^0.8.0", - "find-up": "^2.1.0", - "mkdirp": "^1.0.4", - "tsort": "0.0.1" - }, - "bin": { - "truffle-flattener": "index.js" - } - }, - "node_modules/truffle-flattener/node_modules/mkdirp": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", - "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/tryer": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/tryer/-/tryer-1.0.1.tgz", - "integrity": "sha512-c3zayb8/kWWpycWYg87P71E1S1ZL6b6IJxfb5fvsUgsf0S2MVGaDhDXXjDMpdCpfWXqptc+4mXwmiy1ypXqRAA==" - }, - "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/tsort": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/tsort/-/tsort-0.0.1.tgz", - "integrity": "sha1-4igPXoF/i/QnVlf9D5rr1E9aJ4Y=" - }, - "node_modules/tty-browserify": { - "version": "0.0.0", - "resolved": "https://registry.npmjs.org/tty-browserify/-/tty-browserify-0.0.0.tgz", - "integrity": "sha1-oVe6QC2iTpv5V/mqadUk7tQpAaY=" - }, - "node_modules/tunnel-agent": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/tunnel-agent/-/tunnel-agent-0.6.0.tgz", - "integrity": "sha1-J6XeoGs2sEoKmWZ3SykIaPD8QP0=", - "dependencies": { - "safe-buffer": "^5.0.1" - }, - "engines": { - "node": "*" - } - }, - "node_modules/tweetnacl": { - "version": "0.14.5", - "resolved": "https://registry.npmjs.org/tweetnacl/-/tweetnacl-0.14.5.tgz", - "integrity": "sha1-WuaBd/GS1EViadEIr6k/+HQ/T2Q=" - }, - "node_modules/type": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/type/-/type-1.2.0.tgz", - "integrity": "sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg==" - }, - "node_modules/type-check": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", - "integrity": "sha1-WITKtRLPHTVeP7eE8wgEsrUg23I=", - "dependencies": { - "prelude-ls": "~1.1.2" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "engines": { - "node": ">=4" - } - }, - "node_modules/type-is": { - "version": "1.6.18", - "resolved": "https://registry.npmjs.org/type-is/-/type-is-1.6.18.tgz", - "integrity": "sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==", - "dependencies": { - "media-typer": "0.3.0", - "mime-types": "~2.1.24" - }, - "engines": { - "node": ">= 0.6" - } - }, - "node_modules/typed-styles": { - "version": "0.0.5", - "resolved": "https://registry.npmjs.org/typed-styles/-/typed-styles-0.0.5.tgz", - "integrity": "sha512-ht+rEe5UsdEBAa3gr64+QjUOqjOLJfWLvl5HZR5Ev9uo/OnD3p43wPeFSB1hNFc13GXQF/JU1Bn0YHLUqBRIlw==" - }, - "node_modules/typedarray": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/typedarray/-/typedarray-0.0.6.tgz", - "integrity": "sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=" - }, - "node_modules/typedarray-to-buffer": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/typedarray-to-buffer/-/typedarray-to-buffer-3.1.5.tgz", - "integrity": "sha512-zdu8XMNEDepKKR+XYOXAVPtWui0ly0NtohUscw+UmaHiAWT8hrV1rr//H6V+0DvJ3OQ19S979M0laLfX8rm82Q==", - "dependencies": { - "is-typedarray": "^1.0.0" - } - }, - "node_modules/ua-parser-js": { - "version": "0.7.24", - "resolved": "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-0.7.24.tgz", - "integrity": "sha512-yo+miGzQx5gakzVK3QFfN0/L9uVhosXBBO7qmnk7c2iw1IhL212wfA3zbnI54B0obGwC/5NWub/iT9sReMx+Fw==", - "engines": { - "node": "*" - } - }, - "node_modules/uglify-es": { - "version": "3.3.9", - "resolved": "https://registry.npmjs.org/uglify-es/-/uglify-es-3.3.9.tgz", - "integrity": "sha512-r+MU0rfv4L/0eeW3xZrd16t4NZfK8Ld4SWVglYBb7ez5uXFWHuVRs6xCTrf1yirs9a4j4Y27nn7SRfO6v67XsQ==", - "deprecated": "support for ECMAScript is superseded by `uglify-js` as of v3.13.0", - "dependencies": { - "commander": "~2.13.0", - "source-map": "~0.6.1" - }, - "bin": { - "uglifyjs": "bin/uglifyjs" - }, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/uglify-es/node_modules/commander": { - "version": "2.13.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.13.0.tgz", - "integrity": "sha512-MVuS359B+YzaWqjCL/c+22gfryv+mCBPHAv3zyVI2GN8EY6IRP8VwtasXn8jyyhvvq84R4ImN1OKRtcbIasjYA==" - }, - "node_modules/uglify-es/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/uglify-js": { - "version": "3.4.10", - "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.4.10.tgz", - "integrity": "sha512-Y2VsbPVs0FIshJztycsO2SfPk7/KAF/T72qzv9u5EpQ4kB2hQoHlhNQTsNyy6ul7lQtqJN/AoWeS23OzEiEFxw==", - "dependencies": { - "commander": "~2.19.0", - "source-map": "~0.6.1" - }, - "bin": { - "uglifyjs": "bin/uglifyjs" - }, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/uglify-js/node_modules/commander": { - "version": "2.19.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-2.19.0.tgz", - "integrity": "sha512-6tvAOO+D6OENvRAh524Dh9jcfKTYDQAqvqezbCW82xj5X0pSrcpxtvRKHLG0yBY6SD7PSDrJaj+0AiOcKVd1Xg==" - }, - "node_modules/uglify-js/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/uglifyjs-webpack-plugin": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/uglifyjs-webpack-plugin/-/uglifyjs-webpack-plugin-1.3.0.tgz", - "integrity": "sha512-ovHIch0AMlxjD/97j9AYovZxG5wnHOPkL7T1GKochBADp/Zwc44pEWNqpKl1Loupp1WhFg7SlYmHZRUfdAacgw==", - "dependencies": { - "cacache": "^10.0.4", - "find-cache-dir": "^1.0.0", - "schema-utils": "^0.4.5", - "serialize-javascript": "^1.4.0", - "source-map": "^0.6.1", - "uglify-es": "^3.3.4", - "webpack-sources": "^1.1.0", - "worker-farm": "^1.5.2" - }, - "engines": { - "node": ">= 4.8 < 5.0.0 || >= 5.10" - }, - "peerDependencies": { - "webpack": "^2.0.0 || ^3.0.0 || ^4.0.0" - } - }, - "node_modules/uglifyjs-webpack-plugin/node_modules/cacache": { - "version": "10.0.4", - "resolved": "https://registry.npmjs.org/cacache/-/cacache-10.0.4.tgz", - "integrity": "sha512-Dph0MzuH+rTQzGPNT9fAnrPmMmjKfST6trxJeK7NQuHRaVw24VzPRWTmg9MpcwOVQZO0E1FBICUlFeNaKPIfHA==", - "dependencies": { - "bluebird": "^3.5.1", - "chownr": "^1.0.1", - "glob": "^7.1.2", - "graceful-fs": "^4.1.11", - "lru-cache": "^4.1.1", - "mississippi": "^2.0.0", - "mkdirp": "^0.5.1", - "move-concurrently": "^1.0.1", - "promise-inflight": "^1.0.1", - "rimraf": "^2.6.2", - "ssri": "^5.2.4", - "unique-filename": "^1.1.0", - "y18n": "^4.0.0" - } - }, - "node_modules/uglifyjs-webpack-plugin/node_modules/lru-cache": { - "version": "4.1.5", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz", - "integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==", - "dependencies": { - "pseudomap": "^1.0.2", - "yallist": "^2.1.2" - } - }, - "node_modules/uglifyjs-webpack-plugin/node_modules/mississippi": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-2.0.0.tgz", - "integrity": "sha512-zHo8v+otD1J10j/tC+VNoGK9keCuByhKovAvdn74dmxJl9+mWHnx6EMsDN4lgRoMI/eYo2nchAxniIbUPb5onw==", - "dependencies": { - "concat-stream": "^1.5.0", - "duplexify": "^3.4.2", - "end-of-stream": "^1.1.0", - "flush-write-stream": "^1.0.0", - "from2": "^2.1.0", - "parallel-transform": "^1.1.0", - "pump": "^2.0.1", - "pumpify": "^1.3.3", - "stream-each": "^1.1.0", - "through2": "^2.0.0" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/uglifyjs-webpack-plugin/node_modules/pump": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/pump/-/pump-2.0.1.tgz", - "integrity": "sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==", - "dependencies": { - "end-of-stream": "^1.1.0", - "once": "^1.3.1" - } - }, - "node_modules/uglifyjs-webpack-plugin/node_modules/schema-utils": { - "version": "0.4.7", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.7.tgz", - "integrity": "sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ==", - "dependencies": { - "ajv": "^6.1.0", - "ajv-keywords": "^3.1.0" - }, - "engines": { - "node": ">= 4" - } - }, - "node_modules/uglifyjs-webpack-plugin/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/uglifyjs-webpack-plugin/node_modules/ssri": { - "version": "5.3.0", - "resolved": "https://registry.npmjs.org/ssri/-/ssri-5.3.0.tgz", - "integrity": "sha512-XRSIPqLij52MtgoQavH/x/dU1qVKtWUAAZeOHsR9c2Ddi4XerFy3mc1alf+dLJKl9EUIm/Ht+EowFkTUOA6GAQ==", - "dependencies": { - "safe-buffer": "^5.1.1" - } - }, - "node_modules/uglifyjs-webpack-plugin/node_modules/yallist": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", - "integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=" - }, - "node_modules/uint8arrays": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/uint8arrays/-/uint8arrays-2.1.3.tgz", - "integrity": "sha512-2h2Z2OIqzrhHmZTv9ViJVyZZreFkHRHeihh7SxLVY/nLUVJhU4ey/u74tWsgMR6hhMSO2g5rhKmdLQIg3lKiUQ==", - "dependencies": { - "multibase": "^4.0.1", - "web-encoding": "^1.1.0" - } - }, - "node_modules/unbox-primitive": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.0.tgz", - "integrity": "sha512-P/51NX+JXyxK/aigg1/ZgyccdAxm5K1+n8+tvqSntjOivPt19gvm1VC49RWYetsiub8WViUchdxl/KWHHB0kzA==", - "dependencies": { - "function-bind": "^1.1.1", - "has-bigints": "^1.0.0", - "has-symbols": "^1.0.0", - "which-boxed-primitive": "^1.0.1" - } - }, - "node_modules/uncontrollable": { - "version": "6.2.3", - "resolved": "https://registry.npmjs.org/uncontrollable/-/uncontrollable-6.2.3.tgz", - "integrity": "sha512-VgOAoBU2ptCL2bfTG2Mra0I8i1u6Aq84AFonD5tmCAYSfs3hWvr2Rlw0q2ntoxXTHjcQOmZOh3FKaN+UZVyREQ==", - "dependencies": { - "@babel/runtime": "^7.4.5", - "invariant": "^2.2.4" - }, - "peerDependencies": { - "react": ">=15.0.0" - } - }, - "node_modules/unicode-canonical-property-names-ecmascript": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/unicode-canonical-property-names-ecmascript/-/unicode-canonical-property-names-ecmascript-1.0.4.tgz", - "integrity": "sha512-jDrNnXWHd4oHiTZnx/ZG7gtUTVp+gCcTTKr8L0HjlwphROEW3+Him+IpvC+xcJEFegapiMZyZe02CyuOnRmbnQ==", - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-match-property-ecmascript": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-1.0.4.tgz", - "integrity": "sha512-L4Qoh15vTfntsn4P1zqnHulG0LdXgjSO035fEpdtp6YxXhMT51Q6vgM5lYdG/5X3MjS+k/Y9Xw4SFCY9IkR0rg==", - "dependencies": { - "unicode-canonical-property-names-ecmascript": "^1.0.4", - "unicode-property-aliases-ecmascript": "^1.0.4" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-match-property-value-ecmascript": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/unicode-match-property-value-ecmascript/-/unicode-match-property-value-ecmascript-1.2.0.tgz", - "integrity": "sha512-wjuQHGQVofmSJv1uVISKLE5zO2rNGzM/KCYZch/QQvez7C1hUhBIuZ701fYXExuufJFMPhv2SyL8CyoIfMLbIQ==", - "engines": { - "node": ">=4" - } - }, - "node_modules/unicode-property-aliases-ecmascript": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.1.0.tgz", - "integrity": "sha512-PqSoPh/pWetQ2phoj5RLiaqIk4kCNwoV3CI+LfGmWLKI3rE3kl1h59XpX2BjgDrmbxD9ARtQobPGU1SguCYuQg==", - "engines": { - "node": ">=4" - } - }, - "node_modules/union-value": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/union-value/-/union-value-1.0.1.tgz", - "integrity": "sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==", - "dependencies": { - "arr-union": "^3.1.0", - "get-value": "^2.0.6", - "is-extendable": "^0.1.1", - "set-value": "^2.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/uniq": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/uniq/-/uniq-1.0.1.tgz", - "integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8=" - }, - "node_modules/uniqs": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/uniqs/-/uniqs-2.0.0.tgz", - "integrity": "sha1-/+3ks2slKQaW5uFl1KWe25mOawI=" - }, - "node_modules/unique-filename": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/unique-filename/-/unique-filename-1.1.1.tgz", - "integrity": "sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==", - "dependencies": { - "unique-slug": "^2.0.0" - } - }, - "node_modules/unique-slug": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/unique-slug/-/unique-slug-2.0.2.tgz", - "integrity": "sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==", - "dependencies": { - "imurmurhash": "^0.1.4" - } - }, - "node_modules/universalify": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-2.0.0.tgz", - "integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==", - "engines": { - "node": ">= 10.0.0" - } - }, - "node_modules/unpipe": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unpipe/-/unpipe-1.0.0.tgz", - "integrity": "sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/unquote": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/unquote/-/unquote-1.1.1.tgz", - "integrity": "sha1-j97XMk7G6IoP+LkF58CYzcCG1UQ=" - }, - "node_modules/unset-value": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/unset-value/-/unset-value-1.0.0.tgz", - "integrity": "sha1-g3aHP30jNRef+x5vw6jtDfyKtVk=", - "dependencies": { - "has-value": "^0.3.1", - "isobject": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/has-value": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/has-value/-/has-value-0.3.1.tgz", - "integrity": "sha1-ex9YutpiyoJ+wKIHgCVlSEWZXh8=", - "dependencies": { - "get-value": "^2.0.3", - "has-values": "^0.1.4", - "isobject": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/has-value/node_modules/isobject": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/isobject/-/isobject-2.1.0.tgz", - "integrity": "sha1-8GVWEJaj8dou9GJy+BXIQNh+DIk=", - "dependencies": { - "isarray": "1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/has-values": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/has-values/-/has-values-0.1.4.tgz", - "integrity": "sha1-bWHeldkd/Km5oCCJrThL/49it3E=", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/unset-value/node_modules/isarray": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", - "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=" - }, - "node_modules/upath": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz", - "integrity": "sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==", - "engines": { - "node": ">=4", - "yarn": "*" - } - }, - "node_modules/upper-case": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/upper-case/-/upper-case-1.1.3.tgz", - "integrity": "sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg=" - }, - "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/urix": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/urix/-/urix-0.1.0.tgz", - "integrity": "sha1-2pN/emLiH+wf0Y1Js1wpNQZ6bHI=", - "deprecated": "Please see https://github.com/lydell/urix#deprecated" - }, - "node_modules/url": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/url/-/url-0.11.0.tgz", - "integrity": "sha1-ODjpfPxgUh63PFJajlW/3Z4uKPE=", - "dependencies": { - "punycode": "1.3.2", - "querystring": "0.2.0" - } - }, - "node_modules/url-loader": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/url-loader/-/url-loader-1.1.1.tgz", - "integrity": "sha512-vugEeXjyYFBCUOpX+ZuaunbK3QXMKaQ3zUnRfIpRBlGkY7QizCnzyyn2ASfcxsvyU3ef+CJppVywnl3Kgf13Gg==", - "dependencies": { - "loader-utils": "^1.1.0", - "mime": "^2.0.3", - "schema-utils": "^1.0.0" - }, - "engines": { - "node": ">= 6.9.0 < 7.0.0 || >= 8.9.0" - }, - "peerDependencies": { - "webpack": "^4.0.0" - } - }, - "node_modules/url-parse": { - "version": "1.5.1", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.5.1.tgz", - "integrity": "sha512-HOfCOUJt7iSYzEx/UqgtwKRMC6EU91NFhsCHMv9oM03VJcVo2Qrp8T8kI9D7amFf1cu+/3CEhgb3rF9zL7k85Q==", - "dependencies": { - "querystringify": "^2.1.1", - "requires-port": "^1.0.0" - } - }, - "node_modules/url-set-query": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/url-set-query/-/url-set-query-1.0.0.tgz", - "integrity": "sha1-AW6M/Xwg7gXK/neV6JK9BwL6ozk=" - }, - "node_modules/url/node_modules/punycode": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/punycode/-/punycode-1.3.2.tgz", - "integrity": "sha1-llOgNvt8HuQjQvIyXM7v6jkmxI0=" - }, - "node_modules/ursa-optional": { - "version": "0.10.2", - "resolved": "https://registry.npmjs.org/ursa-optional/-/ursa-optional-0.10.2.tgz", - "integrity": "sha512-TKdwuLboBn7M34RcvVTuQyhvrA8gYKapuVdm0nBP0mnBc7oECOfUQZrY91cefL3/nm64ZyrejSRrhTVdX7NG/A==", - "hasInstallScript": true, - "dependencies": { - "bindings": "^1.5.0", - "nan": "^2.14.2" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/use": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/use/-/use-3.1.1.tgz", - "integrity": "sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/utf-8-validate": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/utf-8-validate/-/utf-8-validate-5.0.4.tgz", - "integrity": "sha512-MEF05cPSq3AwJ2C7B7sHAA6i53vONoZbMGX8My5auEVm6W+dJ2Jd/TZPyGJ5CH42V2XtbI5FD28HeHeqlPzZ3Q==", - "hasInstallScript": true, - "dependencies": { - "node-gyp-build": "^4.2.0" - } - }, - "node_modules/utf8": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/utf8/-/utf8-2.1.1.tgz", - "integrity": "sha1-LgHbAvfY0JRPdxBPFgnrDDBM92g=" - }, - "node_modules/util": { - "version": "0.11.1", - "resolved": "https://registry.npmjs.org/util/-/util-0.11.1.tgz", - "integrity": "sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==", - "dependencies": { - "inherits": "2.0.3" - } - }, - "node_modules/util-deprecate": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" - }, - "node_modules/util.promisify": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/util.promisify/-/util.promisify-1.1.1.tgz", - "integrity": "sha512-/s3UsZUrIfa6xDhr7zZhnE9SLQ5RIXyYfiVnMMyMDzOc8WhWN4Nbh36H842OyurKbCDAesZOJaVyvmSl6fhGQw==", - "dependencies": { - "call-bind": "^1.0.0", - "define-properties": "^1.1.3", - "for-each": "^0.3.3", - "has-symbols": "^1.0.1", - "object.getownpropertydescriptors": "^2.1.1" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/util/node_modules/inherits": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz", - "integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4=" - }, - "node_modules/utila": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/utila/-/utila-0.4.0.tgz", - "integrity": "sha1-ihagXURWV6Oupe7MWxKk+lN5dyw=" - }, - "node_modules/utils-merge": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/utils-merge/-/utils-merge-1.0.1.tgz", - "integrity": "sha1-n5VxD1CiZ5R7LMwSR0HBAoQn5xM=", - "engines": { - "node": ">= 0.4.0" - } - }, - "node_modules/uuid": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.4.0.tgz", - "integrity": "sha512-HjSDRw6gZE5JMggctHBcjVak08+KEVhSIiDzFnT9S9aegmp85S/bReBVTb4QTFaRNptJ9kuYaNhnbNEOkbKb/A==", - "bin": { - "uuid": "bin/uuid" - } - }, - "node_modules/validate-npm-package-license": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz", - "integrity": "sha512-DpKm2Ui/xN7/HQKCtpZxoRWBhZ9Z0kqtygG8XCgNQ8ZlDnxuQmWhj566j8fN4Cu3/JmbhsDo7fcAJq4s9h27Ew==", - "dependencies": { - "spdx-correct": "^3.0.0", - "spdx-expression-parse": "^3.0.0" - } - }, - "node_modules/value-equal": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/value-equal/-/value-equal-1.0.1.tgz", - "integrity": "sha512-NOJ6JZCAWr0zlxZt+xqCHNTEKOsrks2HQd4MqhP1qy4z1SkbEP467eNx6TgDKXMvUOb+OENfJCZwM+16n7fRfw==" - }, - "node_modules/varint": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/varint/-/varint-5.0.2.tgz", - "integrity": "sha512-lKxKYG6H03yCZUpAGOPOsMcGxd1RHCu1iKvEHYDPmTyq2HueGhD73ssNBqqQWfvYs04G9iUFRvmAVLW20Jw6ow==" - }, - "node_modules/vary": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vary/-/vary-1.1.2.tgz", - "integrity": "sha1-IpnwLG3tMNSllhsLn3RSShj2NPw=", - "engines": { - "node": ">= 0.8" - } - }, - "node_modules/vendors": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/vendors/-/vendors-1.0.4.tgz", - "integrity": "sha512-/juG65kTL4Cy2su4P8HjtkTxk6VmJDiOPBufWniqQ6wknac6jNiXS9vU+hO3wgusiyqWlzTbVHi0dyJqRONg3w==", - "funding": { - "type": "github", - "url": "https://github.com/sponsors/wooorm" - } - }, - "node_modules/verror": { - "version": "1.10.0", - "resolved": "https://registry.npmjs.org/verror/-/verror-1.10.0.tgz", - "integrity": "sha1-OhBcoXBTr1XW4nDB+CiGguGNpAA=", - "engines": [ - "node >=0.6.0" - ], - "dependencies": { - "assert-plus": "^1.0.0", - "core-util-is": "1.0.2", - "extsprintf": "^1.2.0" - } - }, - "node_modules/vm-browserify": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/vm-browserify/-/vm-browserify-1.1.2.tgz", - "integrity": "sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==" - }, - "node_modules/w3c-hr-time": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/w3c-hr-time/-/w3c-hr-time-1.0.2.tgz", - "integrity": "sha512-z8P5DvDNjKDoFIHK7q8r8lackT6l+jo/Ye3HOle7l9nICP9lf1Ci25fy9vHd0JOWewkIFzXIEig3TdKT7JQ5fQ==", - "dependencies": { - "browser-process-hrtime": "^1.0.0" - } - }, - "node_modules/w3c-xmlserializer": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/w3c-xmlserializer/-/w3c-xmlserializer-2.0.0.tgz", - "integrity": "sha512-4tzD0mF8iSiMiNs30BiLO3EpfGLZUT2MSX/G+o7ZywDzliWQ3OPtTZ0PTC3B3ca1UAf4cJMHB+2Bf56EriJuRA==", - "dependencies": { - "xml-name-validator": "^3.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/walker": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.7.tgz", - "integrity": "sha1-L3+bj9ENZ3JisYqITijRlhjgKPs=", - "dependencies": { - "makeerror": "1.0.x" - } - }, - "node_modules/warning": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/warning/-/warning-4.0.3.tgz", - "integrity": "sha512-rpJyN222KWIvHJ/F53XSZv0Zl/accqHR8et1kpaMTD/fLCRxtV8iX8czMzY7sVZupTI3zcUTg8eycS2kNF9l6w==", - "dependencies": { - "loose-envify": "^1.0.0" - } - }, - "node_modules/watch": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/watch/-/watch-0.18.0.tgz", - "integrity": "sha1-KAlUdsbffJDJYxOJkMClQj60uYY=", - "dependencies": { - "exec-sh": "^0.2.0", - "minimist": "^1.2.0" - }, - "bin": { - "watch": "cli.js" - }, - "engines": { - "node": ">=0.1.95" - } - }, - "node_modules/watchpack": { - "version": "1.7.5", - "resolved": "https://registry.npmjs.org/watchpack/-/watchpack-1.7.5.tgz", - "integrity": "sha512-9P3MWk6SrKjHsGkLT2KHXdQ/9SNkyoJbabxnKOoJepsvJjJG8uYTR3yTPxPQvNDI3w4Nz1xnE0TLHK4RIVe/MQ==", - "dependencies": { - "graceful-fs": "^4.1.2", - "neo-async": "^2.5.0" - }, - "optionalDependencies": { - "chokidar": "^3.4.1", - "watchpack-chokidar2": "^2.0.1" - } - }, - "node_modules/watchpack-chokidar2": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/watchpack-chokidar2/-/watchpack-chokidar2-2.0.1.tgz", - "integrity": "sha512-nCFfBIPKr5Sh61s4LPpy1Wtfi0HE8isJ3d2Yb5/Ppw2P2B/3eVSEBjKfN0fmHJSK14+31KwMKmcrzs2GM4P0Ww==", - "optional": true, - "dependencies": { - "chokidar": "^2.1.8" - } - }, - "node_modules/watchpack/node_modules/anymatch": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.1.tgz", - "integrity": "sha512-mM8522psRCqzV+6LhomX5wgp25YVibjh8Wj23I5RPkPppSVSjyKD2A2mBJmWGa+KN7f2D6LNh9jkBCeyLktzjg==", - "optional": true, - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/watchpack/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==", - "optional": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/watchpack/node_modules/braces": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.2.tgz", - "integrity": "sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==", - "optional": true, - "dependencies": { - "fill-range": "^7.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/watchpack/node_modules/chokidar": { - "version": "3.5.1", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-3.5.1.tgz", - "integrity": "sha512-9+s+Od+W0VJJzawDma/gvBNQqkTiqYTWLuZoyAsivsI4AaWTCzHG06/TMjsf1cYe9Cb97UCEhjz7HvnPk2p/tw==", - "optional": true, - "dependencies": { - "anymatch": "~3.1.1", - "braces": "~3.0.2", - "glob-parent": "~5.1.0", - "is-binary-path": "~2.1.0", - "is-glob": "~4.0.1", - "normalize-path": "~3.0.0", - "readdirp": "~3.5.0" - }, - "engines": { - "node": ">= 8.10.0" - }, - "optionalDependencies": { - "fsevents": "~2.3.1" - } - }, - "node_modules/watchpack/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==", - "optional": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/watchpack/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/watchpack/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==", - "optional": true, - "dependencies": { - "is-glob": "^4.0.1" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/watchpack/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==", - "optional": true, - "dependencies": { - "binary-extensions": "^2.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/watchpack/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==", - "optional": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/watchpack/node_modules/readdirp": { - "version": "3.5.0", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-3.5.0.tgz", - "integrity": "sha512-cMhu7c/8rdhkHXWsY+osBhfSy0JikwpHK/5+imo+LpeasTF8ouErHrlYkwT0++njiyuDvc7OFY5T3ukvZ8qmFQ==", - "optional": true, - "dependencies": { - "picomatch": "^2.2.1" - }, - "engines": { - "node": ">=8.10.0" - } - }, - "node_modules/watchpack/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==", - "optional": true, - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/wbuf": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/wbuf/-/wbuf-1.7.3.tgz", - "integrity": "sha512-O84QOnr0icsbFGLS0O3bI5FswxzRr8/gHwWkDlQFskhSPryQXvrTMxjxGP4+iWYoauLoBvfDpkrOauZ+0iZpDA==", - "dependencies": { - "minimalistic-assert": "^1.0.0" - } - }, - "node_modules/web-encoding": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/web-encoding/-/web-encoding-1.1.0.tgz", - "integrity": "sha512-KzYonGdJnZB3qvhK8hKca5qXk/wp+hgwGNTY1TnqtF2CzDzpN8szOC3ejhX9+wbhCq3vQs/TjM8BykS1kor0lQ==", - "optionalDependencies": { - "@zxing/text-encoding": "0.9.0" - } - }, - "node_modules/web3": { - "version": "1.0.0-beta.55", - "resolved": "https://registry.npmjs.org/web3/-/web3-1.0.0-beta.55.tgz", - "integrity": "sha512-yJpwy4IUA3T/F9hWzYQVn0GbJCrAaZ0KTIO3iuqkhaYH0Y09KV7k4GzFi4hN7hT4cFTj4yIKaeVCwQ5kzvi2Vg==", - "hasInstallScript": true, - "dependencies": { - "@babel/runtime": "^7.3.1", - "@types/node": "^10.12.18", - "web3-core": "1.0.0-beta.55", - "web3-eth": "1.0.0-beta.55", - "web3-eth-personal": "1.0.0-beta.55", - "web3-net": "1.0.0-beta.55", - "web3-providers": "1.0.0-beta.55", - "web3-shh": "1.0.0-beta.55", - "web3-utils": "1.0.0-beta.55" - } - }, - "node_modules/web3-core": { - "version": "1.0.0-beta.55", - "resolved": "https://registry.npmjs.org/web3-core/-/web3-core-1.0.0-beta.55.tgz", - "integrity": "sha512-AMMp7TLEtE7u8IJAu/THrRhBTZyZzeo7Y6GiWYNwb5+KStC9hIGLr9cI1KX9R6ZioTOLRHrqT7awDhnJ1ku2mg==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "@types/bn.js": "^4.11.4", - "@types/node": "^10.12.18", - "lodash": "^4.17.11", - "web3-core-method": "1.0.0-beta.55", - "web3-providers": "1.0.0-beta.55", - "web3-utils": "1.0.0-beta.55" - } - }, - "node_modules/web3-core-helpers": { - "version": "1.0.0-beta.55", - "resolved": "https://registry.npmjs.org/web3-core-helpers/-/web3-core-helpers-1.0.0-beta.55.tgz", - "integrity": "sha512-suj9Xy/lIqajaYLJTEjr2rlFgu6hGYwChHmf8+qNrC2luZA6kirTamtB9VThWMxbywx7p0bqQFjW6zXogAgWhg==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "lodash": "^4.17.11", - "web3-core": "1.0.0-beta.55", - "web3-eth-iban": "1.0.0-beta.55", - "web3-utils": "1.0.0-beta.55" - } - }, - "node_modules/web3-core-method": { - "version": "1.0.0-beta.55", - "resolved": "https://registry.npmjs.org/web3-core-method/-/web3-core-method-1.0.0-beta.55.tgz", - "integrity": "sha512-w1cW/s2ji9qGELHk2uMJCn1ooay0JJLVoPD1nvmsW6OTRWcVjxa62nJrFQhe6P5lEb83Xk9oHgmCxZoVUHibOw==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "eventemitter3": "3.1.0", - "lodash": "^4.17.11", - "rxjs": "^6.4.0", - "web3-core": "1.0.0-beta.55", - "web3-core-helpers": "1.0.0-beta.55", - "web3-core-subscriptions": "1.0.0-beta.55", - "web3-utils": "1.0.0-beta.55" - } - }, - "node_modules/web3-core-subscriptions": { - "version": "1.0.0-beta.55", - "resolved": "https://registry.npmjs.org/web3-core-subscriptions/-/web3-core-subscriptions-1.0.0-beta.55.tgz", - "integrity": "sha512-pb3oQbUzK7IoyXwag8TYInQddg0rr7BHxKc+Pbs/92hVNQ5ps4iGMVJKezdrjlQ1IJEEUiDIglXl4LZ1hIuMkw==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "eventemitter3": "^3.1.0", - "lodash": "^4.17.11" - } - }, - "node_modules/web3-eth": { - "version": "1.0.0-beta.55", - "resolved": "https://registry.npmjs.org/web3-eth/-/web3-eth-1.0.0-beta.55.tgz", - "integrity": "sha512-F3zJ9I1gOgQdNGfi2Dy2lmj6OqCMJoRN01XHhQZagq0HY1JYMfObtfMi5E3L+qsegsSddHbqp4YY57tKx6uxpA==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "ethereumjs-tx": "^1.3.7", - "rxjs": "^6.4.0", - "web3-core": "1.0.0-beta.55", - "web3-core-helpers": "1.0.0-beta.55", - "web3-core-method": "1.0.0-beta.55", - "web3-core-subscriptions": "1.0.0-beta.55", - "web3-eth-abi": "1.0.0-beta.55", - "web3-eth-accounts": "1.0.0-beta.55", - "web3-eth-contract": "1.0.0-beta.55", - "web3-eth-ens": "1.0.0-beta.55", - "web3-eth-iban": "1.0.0-beta.55", - "web3-eth-personal": "1.0.0-beta.55", - "web3-net": "1.0.0-beta.55", - "web3-providers": "1.0.0-beta.55", - "web3-utils": "1.0.0-beta.55" - } - }, - "node_modules/web3-eth-abi": { - "version": "1.0.0-beta.55", - "resolved": "https://registry.npmjs.org/web3-eth-abi/-/web3-eth-abi-1.0.0-beta.55.tgz", - "integrity": "sha512-3h1xnm/vYmKUXTOYAOP0OsB5uijQV76pNNRGKOB6Dq6GR1pbcbD3WrB/4I643YA8l91t5FRzFzUiA3S77R2iqw==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "ethers": "^4.0.27", - "lodash": "^4.17.11", - "web3-utils": "1.0.0-beta.55" - } - }, - "node_modules/web3-eth-accounts": { - "version": "1.0.0-beta.55", - "resolved": "https://registry.npmjs.org/web3-eth-accounts/-/web3-eth-accounts-1.0.0-beta.55.tgz", - "integrity": "sha512-VfzvwpSDHXqRVelIxsBVhgbV9BkFvhJ/q+bKhnVUUXV0JAhMK/7uC92TsqKk4EBYuqpHyZ1jjqrL4n03fMU7zw==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "browserify-cipher": "^1.0.1", - "eth-lib": "0.2.8", - "lodash": "^4.17.11", - "pbkdf2": "^3.0.17", - "randombytes": "^2.1.0", - "scrypt.js": "0.3.0", - "uuid": "3.3.2", - "web3-core": "1.0.0-beta.55", - "web3-core-helpers": "1.0.0-beta.55", - "web3-core-method": "1.0.0-beta.55", - "web3-providers": "1.0.0-beta.55", - "web3-utils": "1.0.0-beta.55" - } - }, - "node_modules/web3-eth-accounts/node_modules/uuid": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/uuid/-/uuid-3.3.2.tgz", - "integrity": "sha512-yXJmeNaw3DnnKAOKJE51sL/ZaYfWJRl1pK9dr19YFCu0ObS231AB1/LbqTKRAQ5kw8A90rA6fr4riOUpTZvQZA==", - "bin": { - "uuid": "bin/uuid" - } - }, - "node_modules/web3-eth-contract": { - "version": "1.0.0-beta.55", - "resolved": "https://registry.npmjs.org/web3-eth-contract/-/web3-eth-contract-1.0.0-beta.55.tgz", - "integrity": "sha512-v6oB1wfH039/A5sTb4ZTKX++fcBTHEkuQGpq50ATIDoxP/UTz2+6S+iL+3sCJTsByPw2/Bni/HM7NmLkXqzg/Q==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "@types/bn.js": "^4.11.4", - "lodash": "^4.17.11", - "web3-core": "1.0.0-beta.55", - "web3-core-helpers": "1.0.0-beta.55", - "web3-core-method": "1.0.0-beta.55", - "web3-core-subscriptions": "1.0.0-beta.55", - "web3-eth-abi": "1.0.0-beta.55", - "web3-eth-accounts": "1.0.0-beta.55", - "web3-providers": "1.0.0-beta.55", - "web3-utils": "1.0.0-beta.55" - } - }, - "node_modules/web3-eth-ens": { - "version": "1.0.0-beta.55", - "resolved": "https://registry.npmjs.org/web3-eth-ens/-/web3-eth-ens-1.0.0-beta.55.tgz", - "integrity": "sha512-jEL17coO0FJXb7KYq4+7DhVXj0Rh+wHfZ86jOvFUvJsRaUHfqK2TlMatuhD2mbrmxpBYb6oMPnXVnNK9bnD5Rg==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "eth-ens-namehash": "2.0.8", - "lodash": "^4.17.11", - "web3-core": "1.0.0-beta.55", - "web3-core-helpers": "1.0.0-beta.55", - "web3-core-method": "1.0.0-beta.55", - "web3-eth-abi": "1.0.0-beta.55", - "web3-eth-accounts": "1.0.0-beta.55", - "web3-eth-contract": "1.0.0-beta.55", - "web3-net": "1.0.0-beta.55", - "web3-providers": "1.0.0-beta.55", - "web3-utils": "1.0.0-beta.55" - } - }, - "node_modules/web3-eth-iban": { - "version": "1.0.0-beta.55", - "resolved": "https://registry.npmjs.org/web3-eth-iban/-/web3-eth-iban-1.0.0-beta.55.tgz", - "integrity": "sha512-a2Fxsb5Mssa+jiXgjUdIzJipE0175IcQXJbZLpKft2+zeSJWNTbaa3PQD2vPPpIM4W789q06N+f9Zc0Fyls+1g==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "bn.js": "4.11.8", - "web3-utils": "1.0.0-beta.55" - } - }, - "node_modules/web3-eth-iban/node_modules/bn.js": { - "version": "4.11.8", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", - "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==" - }, - "node_modules/web3-eth-personal": { - "version": "1.0.0-beta.55", - "resolved": "https://registry.npmjs.org/web3-eth-personal/-/web3-eth-personal-1.0.0-beta.55.tgz", - "integrity": "sha512-H0mahLQx6Oj7lpgTamKAswr3rHChRUZijeWAar2Hj7BABQlLRKwx8n09nYhxggvvLYQNQS90JjvQue7rAo2LQQ==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "web3-core": "1.0.0-beta.55", - "web3-core-helpers": "1.0.0-beta.55", - "web3-core-method": "1.0.0-beta.55", - "web3-eth-accounts": "1.0.0-beta.55", - "web3-net": "1.0.0-beta.55", - "web3-providers": "1.0.0-beta.55", - "web3-utils": "1.0.0-beta.55" - } - }, - "node_modules/web3-net": { - "version": "1.0.0-beta.55", - "resolved": "https://registry.npmjs.org/web3-net/-/web3-net-1.0.0-beta.55.tgz", - "integrity": "sha512-do2WY8+/GArJSWX7k/zZ7nBnV9Y3n6LhPYkwT3LeFqDzD515bKwlomaNC8hOaTc6UQyXIoPprYTK2FevL7jrZw==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "lodash": "^4.17.11", - "web3-core": "1.0.0-beta.55", - "web3-core-helpers": "1.0.0-beta.55", - "web3-core-method": "1.0.0-beta.55", - "web3-providers": "1.0.0-beta.55", - "web3-utils": "1.0.0-beta.55" - } - }, - "node_modules/web3-providers": { - "version": "1.0.0-beta.55", - "resolved": "https://registry.npmjs.org/web3-providers/-/web3-providers-1.0.0-beta.55.tgz", - "integrity": "sha512-MNifc7W+iF6rykpbDR1MuX152jshWdZXHAU9Dk0Ja2/23elhIs4nCWs7wOX9FHrKgdrQbscPoq0uy+0aGzyWVQ==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "@types/node": "^10.12.18", - "eventemitter3": "3.1.0", - "lodash": "^4.17.11", - "url-parse": "1.4.4", - "web3-core": "1.0.0-beta.55", - "web3-core-helpers": "1.0.0-beta.55", - "web3-core-method": "1.0.0-beta.55", - "web3-utils": "1.0.0-beta.55", - "websocket": "^1.0.28", - "xhr2-cookies": "1.1.0" - } - }, - "node_modules/web3-providers/node_modules/url-parse": { - "version": "1.4.4", - "resolved": "https://registry.npmjs.org/url-parse/-/url-parse-1.4.4.tgz", - "integrity": "sha512-/92DTTorg4JjktLNLe6GPS2/RvAd/RGr6LuktmWSMLEOa6rjnlrFXNgSbSmkNvCoL2T028A0a1JaJLzRMlFoHg==", - "dependencies": { - "querystringify": "^2.0.0", - "requires-port": "^1.0.0" - } - }, - "node_modules/web3-shh": { - "version": "1.0.0-beta.55", - "resolved": "https://registry.npmjs.org/web3-shh/-/web3-shh-1.0.0-beta.55.tgz", - "integrity": "sha512-lGP2HQ/1ThNnfoU8677aL48KsTx4Ht+2KQIn39dGpxVZqysQmovQIltbymVnAr4h8wofwcEz46iNHGa+PAyNzA==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "web3-core": "1.0.0-beta.55", - "web3-core-helpers": "1.0.0-beta.55", - "web3-core-method": "1.0.0-beta.55", - "web3-core-subscriptions": "1.0.0-beta.55", - "web3-net": "1.0.0-beta.55", - "web3-providers": "1.0.0-beta.55", - "web3-utils": "1.0.0-beta.55" - } - }, - "node_modules/web3-utils": { - "version": "1.0.0-beta.55", - "resolved": "https://registry.npmjs.org/web3-utils/-/web3-utils-1.0.0-beta.55.tgz", - "integrity": "sha512-ASWqUi8gtWK02Tp8ZtcoAbHenMpQXNvHrakgzvqTNNZn26wgpv+Q4mdPi0KOR6ZgHFL8R/9b5BBoUTglS1WPpg==", - "dependencies": { - "@babel/runtime": "^7.3.1", - "@types/bn.js": "^4.11.4", - "@types/node": "^10.12.18", - "bn.js": "4.11.8", - "eth-lib": "0.2.8", - "ethjs-unit": "^0.1.6", - "lodash": "^4.17.11", - "number-to-bn": "1.7.0", - "randombytes": "^2.1.0", - "utf8": "2.1.1" - } - }, - "node_modules/web3-utils/node_modules/bn.js": { - "version": "4.11.8", - "resolved": "https://registry.npmjs.org/bn.js/-/bn.js-4.11.8.tgz", - "integrity": "sha512-ItfYfPLkWHUjckQCk8xC+LwxgK8NYcXywGigJgSwOP8Y2iyWT4f2vsZnoOXTTbo+o5yXmIUJ4gn5538SO5S3gA==" - }, - "node_modules/webidl-conversions": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-6.1.0.tgz", - "integrity": "sha512-qBIvFLGiBpLjfwmYAaHPXsn+ho5xZnGvyGvsarywGNc8VyQJUMHJ8OBKGGrPER0okBeMDaan4mNBlgBROxuI8w==", - "engines": { - "node": ">=10.4" - } - }, - "node_modules/webpack": { - "version": "4.19.1", - "resolved": "https://registry.npmjs.org/webpack/-/webpack-4.19.1.tgz", - "integrity": "sha512-j7Q/5QqZRqIFXJvC0E59ipLV5Hf6lAnS3ezC3I4HMUybwEDikQBVad5d+IpPtmaQPQArvgUZLXIN6lWijHBn4g==", - "dependencies": { - "@webassemblyjs/ast": "1.7.6", - "@webassemblyjs/helper-module-context": "1.7.6", - "@webassemblyjs/wasm-edit": "1.7.6", - "@webassemblyjs/wasm-parser": "1.7.6", - "acorn": "^5.6.2", - "acorn-dynamic-import": "^3.0.0", - "ajv": "^6.1.0", - "ajv-keywords": "^3.1.0", - "chrome-trace-event": "^1.0.0", - "enhanced-resolve": "^4.1.0", - "eslint-scope": "^4.0.0", - "json-parse-better-errors": "^1.0.2", - "loader-runner": "^2.3.0", - "loader-utils": "^1.1.0", - "memory-fs": "~0.4.1", - "micromatch": "^3.1.8", - "mkdirp": "~0.5.0", - "neo-async": "^2.5.0", - "node-libs-browser": "^2.0.0", - "schema-utils": "^0.4.4", - "tapable": "^1.1.0", - "uglifyjs-webpack-plugin": "^1.2.4", - "watchpack": "^1.5.0", - "webpack-sources": "^1.2.0" - }, - "bin": { - "webpack": "bin/webpack.js" - }, - "engines": { - "node": ">=6.11.5" - } - }, - "node_modules/webpack-dev-middleware": { - "version": "3.4.0", - "resolved": "https://registry.npmjs.org/webpack-dev-middleware/-/webpack-dev-middleware-3.4.0.tgz", - "integrity": "sha512-Q9Iyc0X9dP9bAsYskAVJ/hmIZZQwf/3Sy4xCAZgL5cUkjZmUZLt4l5HpbST/Pdgjn3u6pE7u5OdGd1apgzRujA==", - "dependencies": { - "memory-fs": "~0.4.1", - "mime": "^2.3.1", - "range-parser": "^1.0.3", - "webpack-log": "^2.0.0" - }, - "engines": { - "node": ">= 6" - }, - "peerDependencies": { - "webpack": "^4.0.0" - } - }, - "node_modules/webpack-dev-server": { - "version": "3.1.14", - "resolved": "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-3.1.14.tgz", - "integrity": "sha512-mGXDgz5SlTxcF3hUpfC8hrQ11yhAttuUQWf1Wmb+6zo3x6rb7b9mIfuQvAPLdfDRCGRGvakBWHdHOa0I9p/EVQ==", - "dependencies": { - "ansi-html": "0.0.7", - "bonjour": "^3.5.0", - "chokidar": "^2.0.0", - "compression": "^1.5.2", - "connect-history-api-fallback": "^1.3.0", - "debug": "^3.1.0", - "del": "^3.0.0", - "express": "^4.16.2", - "html-entities": "^1.2.0", - "http-proxy-middleware": "~0.18.0", - "import-local": "^2.0.0", - "internal-ip": "^3.0.1", - "ip": "^1.1.5", - "killable": "^1.0.0", - "loglevel": "^1.4.1", - "opn": "^5.1.0", - "portfinder": "^1.0.9", - "schema-utils": "^1.0.0", - "selfsigned": "^1.9.1", - "semver": "^5.6.0", - "serve-index": "^1.7.2", - "sockjs": "0.3.19", - "sockjs-client": "1.3.0", - "spdy": "^4.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^5.1.0", - "url": "^0.11.0", - "webpack-dev-middleware": "3.4.0", - "webpack-log": "^2.0.0", - "yargs": "12.0.2" - }, - "bin": { - "webpack-dev-server": "bin/webpack-dev-server.js" - }, - "engines": { - "node": ">= 6.11.5" - }, - "peerDependencies": { - "webpack": "^4.0.0" - } - }, - "node_modules/webpack-dev-server/node_modules/camelcase": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", - "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", - "engines": { - "node": ">=4" - } - }, - "node_modules/webpack-dev-server/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/webpack-dev-server/node_modules/decamelize": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-2.0.0.tgz", - "integrity": "sha512-Ikpp5scV3MSYxY39ymh45ZLEecsTdv/Xj2CaQfI8RLMuwi7XvjX9H/fhraiSuU+C5w5NTDu4ZU72xNiZnurBPg==", - "dependencies": { - "xregexp": "4.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/webpack-dev-server/node_modules/find-up": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-3.0.0.tgz", - "integrity": "sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==", - "dependencies": { - "locate-path": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/webpack-dev-server/node_modules/import-local": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-2.0.0.tgz", - "integrity": "sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ==", - "dependencies": { - "pkg-dir": "^3.0.0", - "resolve-cwd": "^2.0.0" - }, - "bin": { - "import-local-fixture": "fixtures/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/webpack-dev-server/node_modules/locate-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-3.0.0.tgz", - "integrity": "sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==", - "dependencies": { - "p-locate": "^3.0.0", - "path-exists": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/webpack-dev-server/node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" - }, - "node_modules/webpack-dev-server/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/webpack-dev-server/node_modules/p-locate": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-3.0.0.tgz", - "integrity": "sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==", - "dependencies": { - "p-limit": "^2.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/webpack-dev-server/node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "engines": { - "node": ">=6" - } - }, - "node_modules/webpack-dev-server/node_modules/pkg-dir": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-3.0.0.tgz", - "integrity": "sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==", - "dependencies": { - "find-up": "^3.0.0" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/webpack-dev-server/node_modules/supports-color": { - "version": "5.5.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-5.5.0.tgz", - "integrity": "sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==", - "dependencies": { - "has-flag": "^3.0.0" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/webpack-dev-server/node_modules/yargs": { - "version": "12.0.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-12.0.2.tgz", - "integrity": "sha512-e7SkEx6N6SIZ5c5H22RTZae61qtn3PYUE8JYbBFlK9sYmh3DMQ6E5ygtaG/2BW0JZi4WGgTR2IV5ChqlqrDGVQ==", - "dependencies": { - "cliui": "^4.0.0", - "decamelize": "^2.0.0", - "find-up": "^3.0.0", - "get-caller-file": "^1.0.1", - "os-locale": "^3.0.0", - "require-directory": "^2.1.1", - "require-main-filename": "^1.0.1", - "set-blocking": "^2.0.0", - "string-width": "^2.0.0", - "which-module": "^2.0.0", - "y18n": "^3.2.1 || ^4.0.0", - "yargs-parser": "^10.1.0" - } - }, - "node_modules/webpack-dev-server/node_modules/yargs-parser": { - "version": "10.1.0", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-10.1.0.tgz", - "integrity": "sha512-VCIyR1wJoEBZUqk5PA+oOBF6ypbwh5aNB3I50guxAL/quggdfs4TtNHQrSazFA3fYZ+tEqfs0zIGlv0c/rgjbQ==", - "dependencies": { - "camelcase": "^4.1.0" - } - }, - "node_modules/webpack-log": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/webpack-log/-/webpack-log-2.0.0.tgz", - "integrity": "sha512-cX8G2vR/85UYG59FgkoMamwHUIkSSlV3bBMRsbxVXVUk2j6NleCKjQ/WE9eYg9WY4w25O9w8wKP4rzNZFmUcUg==", - "dependencies": { - "ansi-colors": "^3.0.0", - "uuid": "^3.3.2" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/webpack-manifest-plugin": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/webpack-manifest-plugin/-/webpack-manifest-plugin-2.0.4.tgz", - "integrity": "sha512-nejhOHexXDBKQOj/5v5IZSfCeTO3x1Dt1RZEcGfBSul891X/eLIcIVH31gwxPDdsi2Z8LKKFGpM4w9+oTBOSCg==", - "dependencies": { - "fs-extra": "^7.0.0", - "lodash": ">=3.5 <5", - "tapable": "^1.0.0" - }, - "engines": { - "node": ">=6.11.5" - }, - "peerDependencies": { - "webpack": "2 || 3 || 4" - } - }, - "node_modules/webpack-manifest-plugin/node_modules/fs-extra": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-7.0.1.tgz", - "integrity": "sha512-YJDaCJZEnBmcbw13fvdAM9AwNOJwOzrE4pqMqBq5nFiEqXUqHwlK4B+3pUw6JNvfSPtX05xFHtYy/1ni01eGCw==", - "dependencies": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - }, - "engines": { - "node": ">=6 <7 || >=8" - } - }, - "node_modules/webpack-manifest-plugin/node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/webpack-manifest-plugin/node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/webpack-sources": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/webpack-sources/-/webpack-sources-1.4.3.tgz", - "integrity": "sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==", - "dependencies": { - "source-list-map": "^2.0.0", - "source-map": "~0.6.1" - } - }, - "node_modules/webpack-sources/node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/webpack/node_modules/acorn": { - "version": "5.7.4", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-5.7.4.tgz", - "integrity": "sha512-1D++VG7BhrtvQpNbBzovKNc1FLGGEE/oGe7b9xJm/RFHMBeUaUGpluV9RLjZa47YFdPcDAenEYuq9pQPcMdLJg==", - "bin": { - "acorn": "bin/acorn" - }, - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/webpack/node_modules/eslint-scope": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.3.tgz", - "integrity": "sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==", - "dependencies": { - "esrecurse": "^4.1.0", - "estraverse": "^4.1.1" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/webpack/node_modules/schema-utils": { - "version": "0.4.7", - "resolved": "https://registry.npmjs.org/schema-utils/-/schema-utils-0.4.7.tgz", - "integrity": "sha512-v/iwU6wvwGK8HbU9yi3/nhGzP0yGSuhQMzL6ySiec1FSrZZDkhm4noOSWzrNFo/jEc+SJY6jRTwuwbSXJPDUnQ==", - "dependencies": { - "ajv": "^6.1.0", - "ajv-keywords": "^3.1.0" - }, - "engines": { - "node": ">= 4" - } - }, - "node_modules/websocket": { - "version": "1.0.33", - "resolved": "https://registry.npmjs.org/websocket/-/websocket-1.0.33.tgz", - "integrity": "sha512-XwNqM2rN5eh3G2CUQE3OHZj+0xfdH42+OFK6LdC2yqiC0YU8e5UK0nYre220T0IyyN031V/XOvtHvXozvJYFWA==", - "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" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/websocket-driver": { - "version": "0.7.4", - "resolved": "https://registry.npmjs.org/websocket-driver/-/websocket-driver-0.7.4.tgz", - "integrity": "sha512-b17KeDIQVjvb0ssuSDF2cYXSg2iztliJ4B9WdsuB6J952qCPKmnVq4DyW5motImXHDC1cBT/1UezrJVsKw5zjg==", - "dependencies": { - "http-parser-js": ">=0.5.1", - "safe-buffer": ">=5.1.0", - "websocket-extensions": ">=0.1.1" - }, - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/websocket-extensions": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/websocket-extensions/-/websocket-extensions-0.1.4.tgz", - "integrity": "sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==", - "engines": { - "node": ">=0.8.0" - } - }, - "node_modules/whatwg-encoding": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/whatwg-encoding/-/whatwg-encoding-1.0.5.tgz", - "integrity": "sha512-b5lim54JOPN9HtzvK9HFXvBma/rnfFeqsic0hSpjtDbVxR3dJKLc+KB4V6GgiGOvl7CY/KNh8rxSo9DKQrnUEw==", - "dependencies": { - "iconv-lite": "0.4.24" - } - }, - "node_modules/whatwg-encoding/node_modules/iconv-lite": { - "version": "0.4.24", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", - "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", - "dependencies": { - "safer-buffer": ">= 2.1.2 < 3" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/whatwg-fetch": { - "version": "3.6.2", - "resolved": "https://registry.npmjs.org/whatwg-fetch/-/whatwg-fetch-3.6.2.tgz", - "integrity": "sha512-bJlen0FcuU/0EMLrdbJ7zOnW6ITZLrZMIarMUVmdKtsGvZna8vxKYaexICWPfZ8qwf9fzNq+UEIZrnSaApt6RA==" - }, - "node_modules/whatwg-mimetype": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/whatwg-mimetype/-/whatwg-mimetype-2.3.0.tgz", - "integrity": "sha512-M4yMwr6mAnQz76TbJm914+gPpB/nCwvZbJU28cUD6dR004SAxDLOOSUaB1JDRqLtaOV/vi0IC5lEAGFgrjGv/g==" - }, - "node_modules/whatwg-url": { - "version": "8.4.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-8.4.0.tgz", - "integrity": "sha512-vwTUFf6V4zhcPkWp/4CQPr1TW9Ml6SF4lVyaIMBdJw5i6qUUJ1QWM4Z6YYVkfka0OUIzVo/0aNtGVGk256IKWw==", - "dependencies": { - "lodash.sortby": "^4.7.0", - "tr46": "^2.0.2", - "webidl-conversions": "^6.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/which": { - "version": "1.3.1", - "resolved": "https://registry.npmjs.org/which/-/which-1.3.1.tgz", - "integrity": "sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==", - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "which": "bin/which" - } - }, - "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-module": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", - "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=" - }, - "node_modules/word-wrap": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", - "integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/wordwrap": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", - "integrity": "sha1-J1hIEIkUVqQXHI0CJkQa3pDLyus=" - }, - "node_modules/workbox-background-sync": { - "version": "3.6.3", - "resolved": "https://registry.npmjs.org/workbox-background-sync/-/workbox-background-sync-3.6.3.tgz", - "integrity": "sha512-ypLo0B6dces4gSpaslmDg5wuoUWrHHVJfFWwl1udvSylLdXvnrfhFfriCS42SNEe5lsZtcNZF27W/SMzBlva7Q==", - "dependencies": { - "workbox-core": "^3.6.3" - } - }, - "node_modules/workbox-broadcast-cache-update": { - "version": "3.6.3", - "resolved": "https://registry.npmjs.org/workbox-broadcast-cache-update/-/workbox-broadcast-cache-update-3.6.3.tgz", - "integrity": "sha512-pJl4lbClQcvp0SyTiEw0zLSsVYE1RDlCPtpKnpMjxFtu8lCFTAEuVyzxp9w7GF4/b3P4h5nyQ+q7V9mIR7YzGg==", - "dependencies": { - "workbox-core": "^3.6.3" - } - }, - "node_modules/workbox-build": { - "version": "3.6.3", - "resolved": "https://registry.npmjs.org/workbox-build/-/workbox-build-3.6.3.tgz", - "integrity": "sha512-w0clZ/pVjL8VXy6GfthefxpEXs0T8uiRuopZSFVQ8ovfbH6c6kUpEh6DcYwm/Y6dyWPiCucdyAZotgjz+nRz8g==", - "dependencies": { - "babel-runtime": "^6.26.0", - "common-tags": "^1.4.0", - "fs-extra": "^4.0.2", - "glob": "^7.1.2", - "joi": "^11.1.1", - "lodash.template": "^4.4.0", - "pretty-bytes": "^4.0.2", - "stringify-object": "^3.2.2", - "strip-comments": "^1.0.2", - "workbox-background-sync": "^3.6.3", - "workbox-broadcast-cache-update": "^3.6.3", - "workbox-cache-expiration": "^3.6.3", - "workbox-cacheable-response": "^3.6.3", - "workbox-core": "^3.6.3", - "workbox-google-analytics": "^3.6.3", - "workbox-navigation-preload": "^3.6.3", - "workbox-precaching": "^3.6.3", - "workbox-range-requests": "^3.6.3", - "workbox-routing": "^3.6.3", - "workbox-strategies": "^3.6.3", - "workbox-streams": "^3.6.3", - "workbox-sw": "^3.6.3" - }, - "engines": { - "node": ">=4.0.0" - } - }, - "node_modules/workbox-build/node_modules/fs-extra": { - "version": "4.0.3", - "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-4.0.3.tgz", - "integrity": "sha512-q6rbdDd1o2mAnQreO7YADIxf/Whx4AHBiRf6d+/cVT8h44ss+lHgxf1FemcqDnQt9X3ct4McHr+JMGlYSsK7Cg==", - "dependencies": { - "graceful-fs": "^4.1.2", - "jsonfile": "^4.0.0", - "universalify": "^0.1.0" - } - }, - "node_modules/workbox-build/node_modules/jsonfile": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-4.0.0.tgz", - "integrity": "sha1-h3Gq4HmbZAdrdmQPygWPnBDjPss=", - "optionalDependencies": { - "graceful-fs": "^4.1.6" - } - }, - "node_modules/workbox-build/node_modules/universalify": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/universalify/-/universalify-0.1.2.tgz", - "integrity": "sha512-rBJeI5CXAlmy1pV+617WB9J63U6XcazHHF2f2dbJix4XzpUF0RS3Zbj0FGIOCAva5P/d/GBOYaACQ1w+0azUkg==", - "engines": { - "node": ">= 4.0.0" - } - }, - "node_modules/workbox-cache-expiration": { - "version": "3.6.3", - "resolved": "https://registry.npmjs.org/workbox-cache-expiration/-/workbox-cache-expiration-3.6.3.tgz", - "integrity": "sha512-+ECNph/6doYx89oopO/UolYdDmQtGUgo8KCgluwBF/RieyA1ZOFKfrSiNjztxOrGJoyBB7raTIOlEEwZ1LaHoA==", - "dependencies": { - "workbox-core": "^3.6.3" - } - }, - "node_modules/workbox-cacheable-response": { - "version": "3.6.3", - "resolved": "https://registry.npmjs.org/workbox-cacheable-response/-/workbox-cacheable-response-3.6.3.tgz", - "integrity": "sha512-QpmbGA9SLcA7fklBLm06C4zFg577Dt8u3QgLM0eMnnbaVv3rhm4vbmDpBkyTqvgK/Ly8MBDQzlXDtUCswQwqqg==", - "dependencies": { - "workbox-core": "^3.6.3" - } - }, - "node_modules/workbox-core": { - "version": "3.6.3", - "resolved": "https://registry.npmjs.org/workbox-core/-/workbox-core-3.6.3.tgz", - "integrity": "sha512-cx9cx0nscPkIWs8Pt98HGrS9/aORuUcSkWjG25GqNWdvD/pSe7/5Oh3BKs0fC+rUshCiyLbxW54q0hA+GqZeSQ==" - }, - "node_modules/workbox-google-analytics": { - "version": "3.6.3", - "resolved": "https://registry.npmjs.org/workbox-google-analytics/-/workbox-google-analytics-3.6.3.tgz", - "integrity": "sha512-RQBUo/6SXtIaQTRFj4RQZ9e1gAl7D8oS5S+Hi173Kk70/BgJjzPwXpC5A249Jv5YfkCOLMQCeF9A27BiD0b0ig==", - "dependencies": { - "workbox-background-sync": "^3.6.3", - "workbox-core": "^3.6.3", - "workbox-routing": "^3.6.3", - "workbox-strategies": "^3.6.3" - } - }, - "node_modules/workbox-navigation-preload": { - "version": "3.6.3", - "resolved": "https://registry.npmjs.org/workbox-navigation-preload/-/workbox-navigation-preload-3.6.3.tgz", - "integrity": "sha512-dd26xTX16DUu0i+MhqZK/jQXgfIitu0yATM4jhRXEmpMqQ4MxEeNvl2CgjDMOHBnCVMax+CFZQWwxMx/X/PqCw==", - "dependencies": { - "workbox-core": "^3.6.3" - } - }, - "node_modules/workbox-precaching": { - "version": "3.6.3", - "resolved": "https://registry.npmjs.org/workbox-precaching/-/workbox-precaching-3.6.3.tgz", - "integrity": "sha512-aBqT66BuMFviPTW6IpccZZHzpA8xzvZU2OM1AdhmSlYDXOJyb1+Z6blVD7z2Q8VNtV1UVwQIdImIX+hH3C3PIw==", - "dependencies": { - "workbox-core": "^3.6.3" - } - }, - "node_modules/workbox-range-requests": { - "version": "3.6.3", - "resolved": "https://registry.npmjs.org/workbox-range-requests/-/workbox-range-requests-3.6.3.tgz", - "integrity": "sha512-R+yLWQy7D9aRF9yJ3QzwYnGFnGDhMUij4jVBUVtkl67oaVoP1ymZ81AfCmfZro2kpPRI+vmNMfxxW531cqdx8A==", - "dependencies": { - "workbox-core": "^3.6.3" - } - }, - "node_modules/workbox-routing": { - "version": "3.6.3", - "resolved": "https://registry.npmjs.org/workbox-routing/-/workbox-routing-3.6.3.tgz", - "integrity": "sha512-bX20i95OKXXQovXhFOViOK63HYmXvsIwZXKWbSpVeKToxMrp0G/6LZXnhg82ijj/S5yhKNRf9LeGDzaqxzAwMQ==", - "dependencies": { - "workbox-core": "^3.6.3" - } - }, - "node_modules/workbox-strategies": { - "version": "3.6.3", - "resolved": "https://registry.npmjs.org/workbox-strategies/-/workbox-strategies-3.6.3.tgz", - "integrity": "sha512-Pg5eulqeKet2y8j73Yw6xTgLdElktcWExGkzDVCGqfV9JCvnGuEpz5eVsCIK70+k4oJcBCin9qEg3g3CwEIH3g==", - "dependencies": { - "workbox-core": "^3.6.3" - } - }, - "node_modules/workbox-streams": { - "version": "3.6.3", - "resolved": "https://registry.npmjs.org/workbox-streams/-/workbox-streams-3.6.3.tgz", - "integrity": "sha512-rqDuS4duj+3aZUYI1LsrD2t9hHOjwPqnUIfrXSOxSVjVn83W2MisDF2Bj+dFUZv4GalL9xqErcFW++9gH+Z27w==", - "dependencies": { - "workbox-core": "^3.6.3" - } - }, - "node_modules/workbox-sw": { - "version": "3.6.3", - "resolved": "https://registry.npmjs.org/workbox-sw/-/workbox-sw-3.6.3.tgz", - "integrity": "sha512-IQOUi+RLhvYCiv80RP23KBW/NTtIvzvjex28B8NW1jOm+iV4VIu3VXKXTA6er5/wjjuhmtB28qEAUqADLAyOSg==" - }, - "node_modules/workbox-webpack-plugin": { - "version": "3.6.3", - "resolved": "https://registry.npmjs.org/workbox-webpack-plugin/-/workbox-webpack-plugin-3.6.3.tgz", - "integrity": "sha512-RwmKjc7HFHUFHoOlKoZUq9349u0QN3F8W5tZZU0vc1qsBZDINWXRiIBCAKvo/Njgay5sWz7z4I2adnyTo97qIQ==", - "dependencies": { - "babel-runtime": "^6.26.0", - "json-stable-stringify": "^1.0.1", - "workbox-build": "^3.6.3" - }, - "engines": { - "node": ">=4.0.0" - }, - "peerDependencies": { - "webpack": "^2.0.0 || ^3.0.0 || ^4.0.0" - } - }, - "node_modules/worker-farm": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/worker-farm/-/worker-farm-1.7.0.tgz", - "integrity": "sha512-rvw3QTZc8lAxyVrqcSGVm5yP/IJ2UcB3U0graE3LCFoZ0Yn2x4EoVSqJKdB/T5M+FLcRPjz4TDacRf3OCfNUzw==", - "dependencies": { - "errno": "~0.1.7" - } - }, - "node_modules/wrap-ansi": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-2.1.0.tgz", - "integrity": "sha1-2Pw9KE3QV5T+hJc8rs3Rz4JP3YU=", - "dependencies": { - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/wrap-ansi/node_modules/is-fullwidth-code-point": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", - "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", - "dependencies": { - "number-is-nan": "^1.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/wrap-ansi/node_modules/string-width": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", - "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", - "dependencies": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=" - }, - "node_modules/write": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/write/-/write-0.2.1.tgz", - "integrity": "sha1-X8A4KOJkzqP+kUVUdvejxWbLB1c=", - "dependencies": { - "mkdirp": "^0.5.1" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/write-file-atomic": { - "version": "2.4.3", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-2.4.3.tgz", - "integrity": "sha512-GaETH5wwsX+GcnzhPgKcKjJ6M2Cq3/iZp1WyY/X1CSqrW+jVNM9Y7D8EC2sM4ZG/V8wZlSniJnCKWPmBYAucRQ==", - "dependencies": { - "graceful-fs": "^4.1.11", - "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.2" - } - }, - "node_modules/ws": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/ws/-/ws-7.4.4.tgz", - "integrity": "sha512-Qm8k8ojNQIMx7S+Zp8u/uHOx7Qazv3Yv4q68MiWWWOJhiwG5W3x7iqmRtJo8xxrciZUY4vRxUTJCKuRnF28ZZw==", - "engines": { - "node": ">=8.3.0" - }, - "peerDependencies": { - "bufferutil": "^4.0.1", - "utf-8-validate": "^5.0.2" - }, - "peerDependenciesMeta": { - "bufferutil": { - "optional": true - }, - "utf-8-validate": { - "optional": true - } - } - }, - "node_modules/xhr": { - "version": "2.6.0", - "resolved": "https://registry.npmjs.org/xhr/-/xhr-2.6.0.tgz", - "integrity": "sha512-/eCGLb5rxjx5e3mF1A7s+pLlR6CGyqWN91fv1JgER5mVWg1MZmlhBvy9kjcsOdRk8RrIujotWyJamfyrp+WIcA==", - "dependencies": { - "global": "~4.4.0", - "is-function": "^1.0.1", - "parse-headers": "^2.0.0", - "xtend": "^4.0.0" - } - }, - "node_modules/xhr-request": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/xhr-request/-/xhr-request-1.1.0.tgz", - "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" - } - }, - "node_modules/xhr-request-promise": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/xhr-request-promise/-/xhr-request-promise-0.1.3.tgz", - "integrity": "sha512-YUBytBsuwgitWtdRzXDDkWAXzhdGB8bYm0sSzMPZT7Z2MBjMSTHFsyCT1yCRATY+XC69DUrQraRAEgcoCRaIPg==", - "dependencies": { - "xhr-request": "^1.1.0" - } - }, - "node_modules/xhr2-cookies": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/xhr2-cookies/-/xhr2-cookies-1.1.0.tgz", - "integrity": "sha1-fXdEnQmZGX8VXLc7I99yUF7YnUg=", - "dependencies": { - "cookiejar": "^2.1.1" - } - }, - "node_modules/xml-name-validator": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz", - "integrity": "sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==" - }, - "node_modules/xmlchars": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz", - "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==" - }, - "node_modules/xmlhttprequest": { - "version": "1.8.0", - "resolved": "https://registry.npmjs.org/xmlhttprequest/-/xmlhttprequest-1.8.0.tgz", - "integrity": "sha1-Z/4HXFwk/vOfnWX197f+dRcZaPw=", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/xregexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/xregexp/-/xregexp-4.0.0.tgz", - "integrity": "sha512-PHyM+sQouu7xspQQwELlGwwd05mXUFqwFYfqPO0cC7x4fxyHnnuetmQr6CjJiafIDoH4MogHb9dOoJzR/Y4rFg==" - }, - "node_modules/xtend": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", - "integrity": "sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==", - "engines": { - "node": ">=0.4" - } - }, - "node_modules/y18n": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.1.tgz", - "integrity": "sha512-wNcy4NvjMYL8gogWWYAO7ZFWFfHcbdbE57tZO8e4cbpj8tfUcwrwqSl3ad8HxpYWCdXcJUCeKKZS62Av1affwQ==" - }, - "node_modules/yaeti": { - "version": "0.0.6", - "resolved": "https://registry.npmjs.org/yaeti/-/yaeti-0.0.6.tgz", - "integrity": "sha1-8m9ITXJoTPQr7ft2lwqhYI+/lXc=", - "engines": { - "node": ">=0.10.32" - } - }, - "node_modules/yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==" - }, - "node_modules/yargs": { - "version": "11.1.1", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-11.1.1.tgz", - "integrity": "sha512-PRU7gJrJaXv3q3yQZ/+/X6KBswZiaQ+zOmdprZcouPYtQgvNU35i+68M4b1ZHLZtYFT5QObFLV+ZkmJYcwKdiw==", - "dependencies": { - "cliui": "^4.0.0", - "decamelize": "^1.1.1", - "find-up": "^2.1.0", - "get-caller-file": "^1.0.1", - "os-locale": "^3.1.0", - "require-directory": "^2.1.1", - "require-main-filename": "^1.0.1", - "set-blocking": "^2.0.0", - "string-width": "^2.0.0", - "which-module": "^2.0.0", - "y18n": "^3.2.1", - "yargs-parser": "^9.0.2" - } - }, - "node_modules/yargs-parser": { - "version": "9.0.2", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-9.0.2.tgz", - "integrity": "sha1-nM9qQ0YP5O1Aqbto9I1DuKaMwHc=", - "dependencies": { - "camelcase": "^4.1.0" - } - }, - "node_modules/yargs-parser/node_modules/camelcase": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-4.1.0.tgz", - "integrity": "sha1-1UVjW+HjPFQmScaRc+Xeas+uNN0=", - "engines": { - "node": ">=4" - } - }, - "node_modules/yargs/node_modules/y18n": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-3.2.2.tgz", - "integrity": "sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==" - } - }, "dependencies": { "@babel/code-frame": { "version": "7.12.13", @@ -28170,6 +1695,12 @@ "resolved": "https://registry.npmjs.org/abab/-/abab-2.0.5.tgz", "integrity": "sha512-9IK9EadsbHo6jLWIpxpR6pL0sazTXV6+SQv25ZB+F7Bj9mJNaOc4nCRabwd5M/JwmUa8idz6Eci6eKfJryPs6Q==" }, + "abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==", + "optional": true + }, "abort-controller": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/abort-controller/-/abort-controller-3.0.0.tgz", @@ -28340,6 +1871,48 @@ "resolved": "https://registry.npmjs.org/aproba/-/aproba-1.2.0.tgz", "integrity": "sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==" }, + "are-we-there-yet": { + "version": "1.1.7", + "resolved": "https://registry.npmjs.org/are-we-there-yet/-/are-we-there-yet-1.1.7.tgz", + "integrity": "sha512-nxwy40TuMiUGqMyRHgCSWZ9FM4VAoRP4xUYSTv5ImRog+h9yISPbVH7H8fASCIzYn9wlEv4zvFL7uKDMCFQm3g==", + "optional": true, + "requires": { + "delegates": "^1.0.0", + "readable-stream": "^2.0.6" + }, + "dependencies": { + "isarray": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz", + "integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=", + "optional": true + }, + "readable-stream": { + "version": "2.3.7", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.7.tgz", + "integrity": "sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==", + "optional": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.3", + "isarray": "~1.0.0", + "process-nextick-args": "~2.0.0", + "safe-buffer": "~5.1.1", + "string_decoder": "~1.1.1", + "util-deprecate": "~1.0.1" + } + }, + "string_decoder": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.1.1.tgz", + "integrity": "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==", + "optional": true, + "requires": { + "safe-buffer": "~5.1.0" + } + } + } + }, "argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -30845,6 +4418,12 @@ "resolved": "https://registry.npmjs.org/console-browserify/-/console-browserify-1.2.0.tgz", "integrity": "sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==" }, + "console-control-strings": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/console-control-strings/-/console-control-strings-1.1.0.tgz", + "integrity": "sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=", + "optional": true + }, "constants-browserify": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/constants-browserify/-/constants-browserify-1.0.0.tgz", @@ -31546,6 +5125,12 @@ "regexp.prototype.flags": "^1.2.0" } }, + "deep-extend": { + "version": "0.6.0", + "resolved": "https://registry.npmjs.org/deep-extend/-/deep-extend-0.6.0.tgz", + "integrity": "sha512-LOHxIOaPYdHlJRtCQfDIVZtfw/ufM8+rVj649RIHzcm/vGwQRXFt6OPqIFWsm2XEMrNIEtWR64sY1LEKD2vAOA==", + "optional": true + }, "deep-is": { "version": "0.1.3", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.3.tgz", @@ -31631,6 +5216,12 @@ "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha1-3zrhmayt+31ECqrgsp4icrJOxhk=" }, + "delegates": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/delegates/-/delegates-1.0.0.tgz", + "integrity": "sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o=", + "optional": true + }, "delimit-stream": { "version": "0.1.0", "resolved": "https://registry.npmjs.org/delimit-stream/-/delimit-stream-0.1.0.tgz", @@ -31663,6 +5254,12 @@ "repeating": "^2.0.0" } }, + "detect-libc": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-1.0.3.tgz", + "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups=", + "optional": true + }, "detect-newline": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-2.1.0.tgz", @@ -33383,6 +6980,15 @@ "universalify": "^2.0.0" } }, + "fs-minipass": { + "version": "1.2.7", + "resolved": "https://registry.npmjs.org/fs-minipass/-/fs-minipass-1.2.7.tgz", + "integrity": "sha512-GWSSJGFy4e9GUeCcbIkED+bgAoFyj7XF1mV8rma3QW4NIqX9Kyx79N/PF61H5udOV3aY1IaMLs6pGbH71nlCTA==", + "optional": true, + "requires": { + "minipass": "^2.6.0" + } + }, "fs-write-stream-atomic": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/fs-write-stream-atomic/-/fs-write-stream-atomic-1.0.10.tgz", @@ -33448,6 +7054,44 @@ "resolved": "https://registry.npmjs.org/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz", "integrity": "sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=" }, + "gauge": { + "version": "2.7.4", + "resolved": "https://registry.npmjs.org/gauge/-/gauge-2.7.4.tgz", + "integrity": "sha1-LANAXHU4w51+s3sxcCLjJfsBi/c=", + "optional": true, + "requires": { + "aproba": "^1.0.3", + "console-control-strings": "^1.0.0", + "has-unicode": "^2.0.0", + "object-assign": "^4.1.0", + "signal-exit": "^3.0.0", + "string-width": "^1.0.1", + "strip-ansi": "^3.0.1", + "wide-align": "^1.1.0" + }, + "dependencies": { + "is-fullwidth-code-point": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz", + "integrity": "sha1-754xOG8DGn8NZDr4L95QxFfvAMs=", + "optional": true, + "requires": { + "number-is-nan": "^1.0.0" + } + }, + "string-width": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-1.0.2.tgz", + "integrity": "sha1-EYvfW4zcUaKn5w0hHgfisLmxB9M=", + "optional": true, + "requires": { + "code-point-at": "^1.0.0", + "is-fullwidth-code-point": "^1.0.0", + "strip-ansi": "^3.0.0" + } + } + } + }, "gensync": { "version": "1.0.0-beta.2", "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", @@ -33935,6 +7579,12 @@ "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.2.tgz", "integrity": "sha512-chXa79rL/UC2KlX17jo3vRGz0azaWEx5tGqZg5pO3NUyEJVB17dMruQlzCCOfUvElghKcm5194+BCRvi2Rv/Gw==" }, + "has-unicode": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/has-unicode/-/has-unicode-2.0.1.tgz", + "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk=", + "optional": true + }, "has-value": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-value/-/has-value-1.0.0.tgz", @@ -34354,6 +8004,15 @@ "resolved": "https://registry.npmjs.org/ignore/-/ignore-4.0.6.tgz", "integrity": "sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==" }, + "ignore-walk": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/ignore-walk/-/ignore-walk-3.0.4.tgz", + "integrity": "sha512-PY6Ii8o1jMRA1z4F2hRkH/xN59ox43DavKvD3oDpfurRlOJyAHpifIwpbdv1n4jt4ov0jSpw3kQ4GhJnpBL6WQ==", + "optional": true, + "requires": { + "minimatch": "^3.0.4" + } + }, "immer": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/immer/-/immer-1.10.0.tgz", @@ -37538,6 +11197,25 @@ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.5.tgz", "integrity": "sha512-FM9nNUYrRBAELZQT3xeZQ7fmMOBg6nWNmJKTcgsJeaLstP/UODVpGsr5OhXhhXg6f+qtJ8uiZ+PUxkDWcgIXLw==" }, + "minipass": { + "version": "2.9.0", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-2.9.0.tgz", + "integrity": "sha512-wxfUjg9WebH+CUDX/CdbRlh5SmfZiy/hpkxaRI16Y9W56Pa75sWgd/rvFilSgrauD9NyFymP/+JFV3KwzIsJeg==", + "optional": true, + "requires": { + "safe-buffer": "^5.1.2", + "yallist": "^3.0.0" + } + }, + "minizlib": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/minizlib/-/minizlib-1.3.3.tgz", + "integrity": "sha512-6ZYMOEnmVsdCeTJVE0W9ZD+pVnE8h9Hma/iOwwRDsdQoePpoX56/8B6z3P9VNwppJuBKNRuFDRNRqRWexT9G9Q==", + "optional": true, + "requires": { + "minipass": "^2.9.0" + } + }, "mississippi": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/mississippi/-/mississippi-3.0.0.tgz", @@ -37882,6 +11560,43 @@ "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", "integrity": "sha1-Sr6/7tdUHywnrPspvbvRXI1bpPc=" }, + "needle": { + "version": "2.9.1", + "resolved": "https://registry.npmjs.org/needle/-/needle-2.9.1.tgz", + "integrity": "sha512-6R9fqJ5Zcmf+uYaFgdIHmLwNldn5HbK8L5ybn7Uz+ylX/rnOsSp1AHcvQSrCaFN+qNM1wpymHqD7mVasEOlHGQ==", + "optional": true, + "requires": { + "debug": "^3.2.6", + "iconv-lite": "^0.4.4", + "sax": "^1.2.4" + }, + "dependencies": { + "debug": { + "version": "3.2.7", + "resolved": "https://registry.npmjs.org/debug/-/debug-3.2.7.tgz", + "integrity": "sha512-CFjzYYAi4ThfiQvizrFQevTTXHtnCqWfe7x1AhgEscTz6ZbLbfoLRLPugTQyBth6f8ZERVUSyWHFD/7Wu4t1XQ==", + "optional": true, + "requires": { + "ms": "^2.1.1" + } + }, + "iconv-lite": { + "version": "0.4.24", + "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.4.24.tgz", + "integrity": "sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==", + "optional": true, + "requires": { + "safer-buffer": ">= 2.1.2 < 3" + } + }, + "ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "optional": true + } + } + }, "negotiator": { "version": "0.6.2", "resolved": "https://registry.npmjs.org/negotiator/-/negotiator-0.6.2.tgz", @@ -38021,11 +11736,39 @@ "which": "^1.3.0" } }, + "node-pre-gyp": { + "version": "0.10.3", + "resolved": "https://registry.npmjs.org/node-pre-gyp/-/node-pre-gyp-0.10.3.tgz", + "integrity": "sha512-d1xFs+C/IPS8Id0qPTZ4bUT8wWryfR/OzzAFxweG+uLN85oPzyo2Iw6bVlLQ/JOdgNonXLCoRyqDzDWq4iw72A==", + "optional": true, + "requires": { + "detect-libc": "^1.0.2", + "mkdirp": "^0.5.1", + "needle": "^2.2.1", + "nopt": "^4.0.1", + "npm-packlist": "^1.1.6", + "npmlog": "^4.0.2", + "rc": "^1.2.7", + "rimraf": "^2.6.1", + "semver": "^5.3.0", + "tar": "^4" + } + }, "node-releases": { "version": "1.1.71", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.71.tgz", "integrity": "sha512-zR6HoT6LrLCRBwukmrVbHv0EpEQjksO6GmFcZQQuCAy139BEsoVKPYnf3jongYW83fAa1torLGYwxxky/p28sg==" }, + "nopt": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/nopt/-/nopt-4.0.3.tgz", + "integrity": "sha512-CvaGwVMztSMJLOeXPrez7fyfObdZqNUK1cPAEzLHrTybIua9pMdmmPR5YwtfNftIOMv3DPUhFaxsZMNTQO20Kg==", + "optional": true, + "requires": { + "abbrev": "1", + "osenv": "^0.1.4" + } + }, "normalize-package-data": { "version": "2.5.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.5.0.tgz", @@ -38063,6 +11806,32 @@ "resolved": "https://registry.npmjs.org/normalize-url/-/normalize-url-3.3.0.tgz", "integrity": "sha512-U+JJi7duF1o+u2pynbp2zXDW2/PADgC30f0GsHZtRh+HOcXHnw137TrNlyxxRvWW5fjKd3bcLHPxofWuCjaeZg==" }, + "npm-bundled": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-1.1.2.tgz", + "integrity": "sha512-x5DHup0SuyQcmL3s7Rx/YQ8sbw/Hzg0rj48eN0dV7hf5cmQq5PXIeioroH3raV1QC1yh3uTYuMThvEQF3iKgGQ==", + "optional": true, + "requires": { + "npm-normalize-package-bin": "^1.0.1" + } + }, + "npm-normalize-package-bin": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/npm-normalize-package-bin/-/npm-normalize-package-bin-1.0.1.tgz", + "integrity": "sha512-EPfafl6JL5/rU+ot6P3gRSCpPDW5VmIzX959Ob1+ySFUuuYHWHekXpwdUZcKP5C+DS4GEtdJluwBjnsNDl+fSA==", + "optional": true + }, + "npm-packlist": { + "version": "1.4.8", + "resolved": "https://registry.npmjs.org/npm-packlist/-/npm-packlist-1.4.8.tgz", + "integrity": "sha512-5+AZgwru5IevF5ZdnFglB5wNlHG1AOOuw28WhUq8/8emhBmLv6jX5by4WJCh7lW0uSYZYS6DXqIsyZVIXRZU9A==", + "optional": true, + "requires": { + "ignore-walk": "^3.0.1", + "npm-bundled": "^1.0.1", + "npm-normalize-package-bin": "^1.0.1" + } + }, "npm-run-path": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-2.0.2.tgz", @@ -38071,6 +11840,18 @@ "path-key": "^2.0.0" } }, + "npmlog": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/npmlog/-/npmlog-4.1.2.tgz", + "integrity": "sha512-2uUqazuKlTaSI/dC8AzicUck7+IrEaOnN/e0jd3Xtt1KcGpwx30v50mL7oPyr/h9bL3E4aZccVwpwP+5W9Vjkg==", + "optional": true, + "requires": { + "are-we-there-yet": "~1.1.2", + "console-control-strings": "~1.1.0", + "gauge": "~2.7.3", + "set-blocking": "~2.0.0" + } + }, "nth-check": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/nth-check/-/nth-check-1.0.2.tgz", @@ -38380,6 +12161,16 @@ "resolved": "https://registry.npmjs.org/os-tmpdir/-/os-tmpdir-1.0.2.tgz", "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" }, + "osenv": { + "version": "0.1.5", + "resolved": "https://registry.npmjs.org/osenv/-/osenv-0.1.5.tgz", + "integrity": "sha512-0CWcCECdMVc2Rw3U5w9ZjqX6ga6ubk1xDVKxtBQPK7wis/0F2r9T6k4ydGYhecl7YUBxBVxhL5oisPsNxAPe2g==", + "optional": true, + "requires": { + "os-homedir": "^1.0.0", + "os-tmpdir": "^1.0.0" + } + }, "p-defer": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/p-defer/-/p-defer-3.0.0.tgz", @@ -43136,6 +16927,18 @@ } } }, + "rc": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/rc/-/rc-1.2.8.tgz", + "integrity": "sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==", + "optional": true, + "requires": { + "deep-extend": "^0.6.0", + "ini": "~1.3.0", + "minimist": "^1.2.0", + "strip-json-comments": "~2.0.1" + } + }, "react": { "version": "16.8.4", "resolved": "https://registry.npmjs.org/react/-/react-16.8.4.tgz", @@ -45128,21 +18931,6 @@ "resolved": "https://registry.npmjs.org/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz", "integrity": "sha1-J5siXfHVgrH1TmWt3UNS4Y+qBxM=" }, - "string_decoder": { - "version": "1.3.0", - "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", - "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", - "requires": { - "safe-buffer": "~5.2.0" - }, - "dependencies": { - "safe-buffer": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", - "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" - } - } - }, "string-length": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/string-length/-/string-length-2.0.0.tgz", @@ -45209,6 +18997,21 @@ "define-properties": "^1.1.3" } }, + "string_decoder": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.3.0.tgz", + "integrity": "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==", + "requires": { + "safe-buffer": "~5.2.0" + }, + "dependencies": { + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==" + } + } + }, "stringify-object": { "version": "3.3.0", "resolved": "https://registry.npmjs.org/stringify-object/-/stringify-object-3.3.0.tgz", @@ -45497,6 +19300,29 @@ "resolved": "https://registry.npmjs.org/tapable/-/tapable-1.1.3.tgz", "integrity": "sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==" }, + "tar": { + "version": "4.4.19", + "resolved": "https://registry.npmjs.org/tar/-/tar-4.4.19.tgz", + "integrity": "sha512-a20gEsvHnWe0ygBY8JbxoM4w3SJdhc7ZAuxkLqh+nvNQN2IOt0B5lLgM490X5Hl8FF0dl0tOf2ewFYAlIFgzVA==", + "optional": true, + "requires": { + "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" + }, + "dependencies": { + "safe-buffer": { + "version": "5.2.1", + "resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.2.1.tgz", + "integrity": "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==", + "optional": true + } + } + }, "terser": { "version": "3.17.0", "resolved": "https://registry.npmjs.org/terser/-/terser-3.17.0.tgz", @@ -47412,6 +21238,15 @@ "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=" }, + "wide-align": { + "version": "1.1.3", + "resolved": "https://registry.npmjs.org/wide-align/-/wide-align-1.1.3.tgz", + "integrity": "sha512-QGkOQc8XL6Bt5PwnsExKBPuMKBxnGxWWW3fU55Xt4feHozMUhdUMaBCk290qpm/wG5u/RSKzwdAC4i51YigihA==", + "optional": true, + "requires": { + "string-width": "^1.0.2 || 2" + } + }, "word-wrap": { "version": "1.2.3", "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz", diff --git a/package.json b/package.json index 69bcd2d..d31b080 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { - "name": "cryptoboys", + "name": "BscBoys", "version": "0.1.0", "description": "Crypto Boys NFT Marketplace", "author": "devpavan04", - "homepage": "https://devpavan04.github.io/cryptoboys-nft-marketplace", + "homepage": "https://devpavan04.github.io/BscBoys-nft-marketplace", "dependencies": { "@openzeppelin/contracts": "^3.4.1", "babel-polyfill": "6.26.0", diff --git a/src/abis/Address.json b/src/abis/Address.json index 1564df4..a2edd22 100644 --- a/src/abis/Address.json +++ b/src/abis/Address.json @@ -1,65 +1,65 @@ { "contractName": "Address", "abi": [], - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Collection of functions related to the address type\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":\"Address\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":{\"keccak256\":\"0xac9220652f9879c5fb3116025d59e8fbf6c2c3d149aed9f617b88edd31402044\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://48de100723de94a6590c6db5bae5098a93445194389c3f3eeb104c7239ef3044\",\"dweb:/ipfs/QmVHLEtfLqBqX7XQRHfLuuwtufRBFJFHfgY4zbFRpaZwXC\"]}},\"version\":1}", - "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202a6b41dd50e148511ca3ced33658c6fea73c1f953955854c6e5ba336f0b3b5bb64736f6c63430007060033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212202a6b41dd50e148511ca3ced33658c6fea73c1f953955854c6e5ba336f0b3b5bb64736f6c63430007060033", + "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Collection of functions related to the address type\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/src/contracts/ERC721.sol\":\"Address\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/src/contracts/ERC721.sol\":{\"keccak256\":\"0xbbf5d35e3785428d14b29cf40a6a1f82d9275af46f6f80ec5f330615911aa767\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e5479e3deda288fc9c642c0449113673031cb9834a3507621d5bd7e292969e16\",\"dweb:/ipfs/QmcKjBg55emL46LCBPRw1Y79fz3aGiMiQXFeWcDpJisEgJ\"]}},\"version\":1}", + "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206f3a360aef073bf5c5680309bceac5b2702757c7a71381651fc41f18d065d2a164736f6c63430007060033", + "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212206f3a360aef073bf5c5680309bceac5b2702757c7a71381651fc41f18d065d2a164736f6c63430007060033", "immutableReferences": {}, "generatedSources": [], "deployedGeneratedSources": [], - "sourceMap": "18048:7684:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "18048:7684:1:-:0;;;;;;;;", - "source": "// SPDX-License-Identifier: MIT\n\n// File: @openzeppelin/contracts/utils/Context.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/*\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with GSN meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n function _msgSender() internal view virtual returns (address payable) {\n return msg.sender;\n }\n\n function _msgData() internal view virtual returns (bytes memory) {\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\n return msg.data;\n }\n}\n\n// File: @openzeppelin/contracts/introspection/IERC165.sol\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n /**\n * @dev Returns true if this contract implements the interface defined by\n * `interfaceId`. See the corresponding\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n * to learn more about how these ids are created.\n *\n * This function call must use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n /**\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n */\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n */\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n */\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n /**\n * @dev Returns the number of tokens in ``owner``'s account.\n */\n function balanceOf(address owner) external view returns (uint256 balance);\n\n /**\n * @dev Returns the owner of the `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function ownerOf(uint256 tokenId) external view returns (address owner);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Transfers `tokenId` token from `from` to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n * The approval is cleared when the token is transferred.\n *\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n *\n * Requirements:\n *\n * - The caller must own the token or be an approved operator.\n * - `tokenId` must exist.\n *\n * Emits an {Approval} event.\n */\n function approve(address to, uint256 tokenId) external;\n\n /**\n * @dev Returns the account approved for `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function getApproved(uint256 tokenId) external view returns (address operator);\n\n /**\n * @dev Approve or remove `operator` as an operator for the caller.\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n *\n * Requirements:\n *\n * - The `operator` cannot be the caller.\n *\n * Emits an {ApprovalForAll} event.\n */\n function setApprovalForAll(address operator, bool _approved) external;\n\n /**\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n *\n * See {setApprovalForAll}\n */\n function isApprovedForAll(address owner, address operator) external view returns (bool);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n\n /**\n * @dev Returns the token collection name.\n */\n function name() external view returns (string memory);\n\n /**\n * @dev Returns the token collection symbol.\n */\n function symbol() external view returns (string memory);\n\n /**\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n */\n function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\n\n\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Enumerable is IERC721 {\n\n /**\n * @dev Returns the total amount of tokens stored by the contract.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\n\n /**\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n * Use along with {totalSupply} to enumerate all tokens.\n */\n function tokenByIndex(uint256 index) external view returns (uint256);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\n\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC721 asset contracts.\n */\ninterface IERC721Receiver {\n /**\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n * by `operator` from `from`, this function is called.\n *\n * It must return its Solidity selector to confirm the token transfer.\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n *\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\n */\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\n}\n\n// File: @openzeppelin/contracts/introspection/ERC165.sol\npragma solidity >=0.6.0 <0.8.0;\n\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts may inherit from this and call {_registerInterface} to declare\n * their support of an interface.\n */\nabstract contract ERC165 is IERC165 {\n /*\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\n */\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\n\n /**\n * @dev Mapping of interface ids to whether or not it's supported.\n */\n mapping(bytes4 => bool) private _supportedInterfaces;\n\n constructor () {\n // Derived contracts need only register support for their own interfaces,\n // we register support for ERC165 itself here\n _registerInterface(_INTERFACE_ID_ERC165);\n }\n\n /**\n * @dev See {IERC165-supportsInterface}.\n *\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n return _supportedInterfaces[interfaceId];\n }\n\n /**\n * @dev Registers the contract as an implementer of the interface defined by\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\n * registering its interface id is not required.\n *\n * See {IERC165-supportsInterface}.\n *\n * Requirements:\n *\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\n */\n function _registerInterface(bytes4 interfaceId) internal virtual {\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\n _supportedInterfaces[interfaceId] = true;\n }\n}\n\n// File: @openzeppelin/contracts/math/SafeMath.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\n * checks.\n *\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\n * in bugs, because programmers usually assume that an overflow raises an\n * error, which is the standard behavior in high level programming languages.\n * `SafeMath` restores this intuition by reverting the transaction when an\n * operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeMath {\n /**\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n uint256 c = a + b;\n if (c < a) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b > a) return (false, 0);\n return (true, a - b);\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n // benefit is lost if 'b' is also tested.\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n if (a == 0) return (true, 0);\n uint256 c = a * b;\n if (c / a != b) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a / b);\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a % b);\n }\n\n /**\n * @dev Returns the addition of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `+` operator.\n *\n * Requirements:\n *\n * - Addition cannot overflow.\n */\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a + b;\n require(c >= a, \"SafeMath: addition overflow\");\n return c;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting on\n * overflow (when the result is negative).\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b <= a, \"SafeMath: subtraction overflow\");\n return a - b;\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `*` operator.\n *\n * Requirements:\n *\n * - Multiplication cannot overflow.\n */\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) return 0;\n uint256 c = a * b;\n require(c / a == b, \"SafeMath: multiplication overflow\");\n return c;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting on\n * division by zero. The result is rounded towards zero.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: division by zero\");\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting when dividing by zero.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: modulo by zero\");\n return a % b;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n * overflow (when the result is negative).\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {trySub}.\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b <= a, errorMessage);\n return a - b;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\n * division by zero. The result is rounded towards zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryDiv}.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting with custom message when dividing by zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryMod}.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a % b;\n }\n}\n\n// File: @openzeppelin/contracts/utils/Address.sol\npragma solidity >=0.6.2 <0.8.0;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n /**\n * @dev Returns true if `account` is a contract.\n *\n * [IMPORTANT]\n * ====\n * It is unsafe to assume that an address for which this function returns\n * false is an externally-owned account (EOA) and not a contract.\n *\n * Among others, `isContract` will return false for the following\n * types of addresses:\n *\n * - an externally-owned account\n * - a contract in construction\n * - an address where a contract will be created\n * - an address where a contract lived, but was destroyed\n * ====\n */\n function isContract(address account) internal view returns (bool) {\n // This method relies on extcodesize, which returns 0 for contracts in\n // construction, since the code is only stored at the end of the\n // constructor execution.\n\n uint256 size;\n // solhint-disable-next-line no-inline-assembly\n assembly { size := extcodesize(account) }\n return size > 0;\n }\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\n (bool success, ) = recipient.call{ value: amount }(\"\");\n require(success, \"Address: unable to send value, recipient may have reverted\");\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain`call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason, it is bubbled up by this\n * function (like regular Solidity function calls).\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCall(target, data, \"Address: low-level call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n * `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n * with `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\n require(isContract(target), \"Address: call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\n require(isContract(target), \"Address: static call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.staticcall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n require(isContract(target), \"Address: delegate call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.delegatecall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\n if (success) {\n return returndata;\n } else {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n\n // solhint-disable-next-line no-inline-assembly\n assembly {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert(errorMessage);\n }\n }\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n * types.\n *\n * Sets have the following properties:\n *\n * - Elements are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableSet for EnumerableSet.AddressSet;\n *\n * // Declare a set state variable\n * EnumerableSet.AddressSet private mySet;\n * }\n * ```\n *\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n * and `uint256` (`UintSet`) are supported.\n */\nlibrary EnumerableSet {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Set type with\n // bytes32 values.\n // The Set implementation uses private functions, and user-facing\n // implementations (such as AddressSet) are just wrappers around the\n // underlying Set.\n // This means that we can only create new EnumerableSets for types that fit\n // in bytes32.\n\n struct Set {\n // Storage of set values\n bytes32[] _values;\n\n // Position of the value in the `values` array, plus 1 because index 0\n // means a value is not in the set.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function _add(Set storage set, bytes32 value) private returns (bool) {\n if (!_contains(set, value)) {\n set._values.push(value);\n // The value is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n set._indexes[value] = set._values.length;\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function _remove(Set storage set, bytes32 value) private returns (bool) {\n // We read and store the value's index to prevent multiple reads from the same storage slot\n uint256 valueIndex = set._indexes[value];\n\n if (valueIndex != 0) { // Equivalent to contains(set, value)\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\n // the array, and then remove the last element (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = valueIndex - 1;\n uint256 lastIndex = set._values.length - 1;\n\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n bytes32 lastvalue = set._values[lastIndex];\n\n // Move the last value to the index where the value to delete is\n set._values[toDeleteIndex] = lastvalue;\n // Update the index for the moved value\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved value was stored\n set._values.pop();\n\n // Delete the index for the deleted slot\n delete set._indexes[value];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\n return set._indexes[value] != 0;\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function _length(Set storage set) private view returns (uint256) {\n return set._values.length;\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\n return set._values[index];\n }\n\n // Bytes32Set\n\n struct Bytes32Set {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _add(set._inner, value);\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _remove(set._inner, value);\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\n return _contains(set._inner, value);\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(Bytes32Set storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\n return _at(set._inner, index);\n }\n\n // AddressSet\n\n struct AddressSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(AddressSet storage set, address value) internal returns (bool) {\n return _add(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(AddressSet storage set, address value) internal returns (bool) {\n return _remove(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(AddressSet storage set, address value) internal view returns (bool) {\n return _contains(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(AddressSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\n return address(uint160(uint256(_at(set._inner, index))));\n }\n\n\n // UintSet\n\n struct UintSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(UintSet storage set, uint256 value) internal returns (bool) {\n return _add(set._inner, bytes32(value));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\n return _remove(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\n return _contains(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function length(UintSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\n return uint256(_at(set._inner, index));\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing an enumerable variant of Solidity's\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n * type.\n *\n * Maps have the following properties:\n *\n * - Entries are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\n *\n * // Declare a set state variable\n * EnumerableMap.UintToAddressMap private myMap;\n * }\n * ```\n *\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n * supported.\n */\nlibrary EnumerableMap {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Map type with\n // bytes32 keys and values.\n // The Map implementation uses private functions, and user-facing\n // implementations (such as Uint256ToAddressMap) are just wrappers around\n // the underlying Map.\n // This means that we can only create new EnumerableMaps for types that fit\n // in bytes32.\n\n struct MapEntry {\n bytes32 _key;\n bytes32 _value;\n }\n\n struct Map {\n // Storage of map keys and values\n MapEntry[] _entries;\n\n // Position of the entry defined by a key in the `entries` array, plus 1\n // because index 0 means a key is not in the map.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\n map._entries.push(MapEntry({ _key: key, _value: value }));\n // The entry is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n map._indexes[key] = map._entries.length;\n return true;\n } else {\n map._entries[keyIndex - 1]._value = value;\n return false;\n }\n }\n\n /**\n * @dev Removes a key-value pair from a map. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function _remove(Map storage map, bytes32 key) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex != 0) { // Equivalent to contains(map, key)\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = keyIndex - 1;\n uint256 lastIndex = map._entries.length - 1;\n\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n MapEntry storage lastEntry = map._entries[lastIndex];\n\n // Move the last entry to the index where the entry to delete is\n map._entries[toDeleteIndex] = lastEntry;\n // Update the index for the moved entry\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved entry was stored\n map._entries.pop();\n\n // Delete the index for the deleted slot\n delete map._indexes[key];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\n return map._indexes[key] != 0;\n }\n\n /**\n * @dev Returns the number of key-value pairs in the map. O(1).\n */\n function _length(Map storage map) private view returns (uint256) {\n return map._entries.length;\n }\n\n /**\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\n *\n * Note that there are no guarantees on the ordering of entries inside the\n * array, and it may change when more entries are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\n\n MapEntry storage entry = map._entries[index];\n return (entry._key, entry._value);\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n */\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\n uint256 keyIndex = map._indexes[key];\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n /**\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {_tryGet}.\n */\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n // UintToAddressMap\n\n struct UintToAddressMap {\n Map _inner;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\n return _remove(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\n return _contains(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns the number of elements in the map. O(1).\n */\n function length(UintToAddressMap storage map) internal view returns (uint256) {\n return _length(map._inner);\n }\n\n /**\n * @dev Returns the element stored at position `index` in the set. O(1).\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\n (bytes32 key, bytes32 value) = _at(map._inner, index);\n return (uint256(key), address(uint160(uint256(value))));\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n *\n * _Available since v3.4._\n */\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\n return (success, address(uint160(uint256(value))));\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\n }\n\n /**\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryGet}.\n */\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\n }\n}\n\n// File: @openzeppelin/contracts/utils/Strings.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n /**\n * @dev Converts a `uint256` to its ASCII `string` representation.\n */\n function toString(uint256 value) internal pure returns (string memory) {\n // Inspired by OraclizeAPI's implementation - MIT licence\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\n\n if (value == 0) {\n return \"0\";\n }\n uint256 temp = value;\n uint256 digits;\n while (temp != 0) {\n digits++;\n temp /= 10;\n }\n bytes memory buffer = new bytes(digits);\n uint256 index = digits - 1;\n temp = value;\n while (temp != 0) {\n buffer[index--] = bytes1(uint8(48 + temp % 10));\n temp /= 10;\n }\n return string(buffer);\n }\n}\n\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 Non-Fungible Token Standard basic implementation\n * @dev see https://eips.ethereum.org/EIPS/eip-721\n */\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\n using SafeMath for uint256;\n using Address for address;\n using EnumerableSet for EnumerableSet.UintSet;\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n using Strings for uint256;\n\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\n\n // Mapping from holder address to their (enumerable) set of owned tokens\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\n\n // Enumerable mapping from token ids to their owners\n EnumerableMap.UintToAddressMap private _tokenOwners;\n\n // Mapping from token ID to approved address\n mapping (uint256 => address) private _tokenApprovals;\n\n // Mapping from owner to operator approvals\n mapping (address => mapping (address => bool)) private _operatorApprovals;\n\n // Token name\n string private _name;\n\n // Token symbol\n string private _symbol;\n\n // Optional mapping for token URIs\n mapping (uint256 => string) private _tokenURIs;\n\n // Base URI\n string private _baseURI;\n\n /*\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\n *\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\n */\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\n\n /*\n * bytes4(keccak256('name()')) == 0x06fdde03\n * bytes4(keccak256('symbol()')) == 0x95d89b41\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\n *\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\n */\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\n\n /*\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\n *\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\n */\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\n\n /**\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\n */\n constructor (string memory name_, string memory symbol_) {\n _name = name_;\n _symbol = symbol_;\n\n // register the supported interfaces to conform to ERC721 via ERC165\n _registerInterface(_INTERFACE_ID_ERC721);\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\n }\n\n /**\n * @dev See {IERC721-balanceOf}.\n */\n function balanceOf(address owner) public view virtual override returns (uint256) {\n require(owner != address(0), \"ERC721: balance query for the zero address\");\n return _holderTokens[owner].length();\n }\n\n /**\n * @dev See {IERC721-ownerOf}.\n */\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\n }\n\n /**\n * @dev See {IERC721Metadata-name}.\n */\n function name() public view virtual override returns (string memory) {\n return _name;\n }\n\n /**\n * @dev See {IERC721Metadata-symbol}.\n */\n function symbol() public view virtual override returns (string memory) {\n return _symbol;\n }\n\n /**\n * @dev See {IERC721Metadata-tokenURI}.\n */\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\n\n string memory _tokenURI = _tokenURIs[tokenId];\n string memory base = baseURI();\n\n // If there is no base URI, return the token URI.\n if (bytes(base).length == 0) {\n return _tokenURI;\n }\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\n if (bytes(_tokenURI).length > 0) {\n return string(abi.encodePacked(base, _tokenURI));\n }\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\n return string(abi.encodePacked(base, tokenId.toString()));\n }\n\n /**\n * @dev Returns the base URI set via {_setBaseURI}. This will be\n * automatically added as a prefix in {tokenURI} to each token's URI, or\n * to the token ID if no specific URI is set for that token ID.\n */\n function baseURI() public view virtual returns (string memory) {\n return _baseURI;\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\n return _holderTokens[owner].at(index);\n }\n\n /**\n * @dev See {IERC721Enumerable-totalSupply}.\n */\n function totalSupply() public view virtual override returns (uint256) {\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\n return _tokenOwners.length();\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenByIndex}.\n */\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\n (uint256 tokenId, ) = _tokenOwners.at(index);\n return tokenId;\n }\n\n /**\n * @dev See {IERC721-approve}.\n */\n function approve(address to, uint256 tokenId) public virtual override {\n address owner = ERC721.ownerOf(tokenId);\n require(to != owner, \"ERC721: approval to current owner\");\n\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\n \"ERC721: approve caller is not owner nor approved for all\"\n );\n\n _approve(to, tokenId);\n }\n\n /**\n * @dev See {IERC721-getApproved}.\n */\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\n\n return _tokenApprovals[tokenId];\n }\n\n /**\n * @dev See {IERC721-setApprovalForAll}.\n */\n function setApprovalForAll(address operator, bool approved) public virtual override {\n require(operator != _msgSender(), \"ERC721: approve to caller\");\n\n _operatorApprovals[_msgSender()][operator] = approved;\n emit ApprovalForAll(_msgSender(), operator, approved);\n }\n\n /**\n * @dev See {IERC721-isApprovedForAll}.\n */\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\n return _operatorApprovals[owner][operator];\n }\n\n /**\n * @dev See {IERC721-transferFrom}.\n */\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\n //solhint-disable-next-line max-line-length\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n\n _transfer(from, to, tokenId);\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\n safeTransferFrom(from, to, tokenId, \"\");\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n _safeTransfer(from, to, tokenId, _data);\n }\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\n *\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n * implement alternative mechanisms to perform token transfer, such as signature-based.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\n _transfer(from, to, tokenId);\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Returns whether `tokenId` exists.\n *\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n *\n * Tokens start existing when they are minted (`_mint`),\n * and stop existing when they are burned (`_burn`).\n */\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\n return _tokenOwners.contains(tokenId);\n }\n\n /**\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\n address owner = ERC721.ownerOf(tokenId);\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\n }\n\n /**\n * @dev Safely mints `tokenId` and transfers it to `to`.\n *\n * Requirements:\n d*\n * - `tokenId` must not exist.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeMint(address to, uint256 tokenId) internal virtual {\n _safeMint(to, tokenId, \"\");\n }\n\n /**\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n */\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\n _mint(to, tokenId);\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Mints `tokenId` and transfers it to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n *\n * Requirements:\n *\n * - `tokenId` must not exist.\n * - `to` cannot be the zero address.\n *\n * Emits a {Transfer} event.\n */\n function _mint(address to, uint256 tokenId) internal virtual {\n require(to != address(0), \"ERC721: mint to the zero address\");\n require(!_exists(tokenId), \"ERC721: token already minted\");\n\n _beforeTokenTransfer(address(0), to, tokenId);\n\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(address(0), to, tokenId);\n }\n\n /**\n * @dev Destroys `tokenId`.\n * The approval is cleared when the token is burned.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n *\n * Emits a {Transfer} event.\n */\n function _burn(uint256 tokenId) internal virtual {\n address owner = ERC721.ownerOf(tokenId); // internal owner\n\n _beforeTokenTransfer(owner, address(0), tokenId);\n\n // Clear approvals\n _approve(address(0), tokenId);\n\n // Clear metadata (if any)\n if (bytes(_tokenURIs[tokenId]).length != 0) {\n delete _tokenURIs[tokenId];\n }\n\n _holderTokens[owner].remove(tokenId);\n\n _tokenOwners.remove(tokenId);\n\n emit Transfer(owner, address(0), tokenId);\n }\n\n /**\n * @dev Transfers `tokenId` from `from` to `to`.\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n *\n * Requirements:\n *\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n *\n * Emits a {Transfer} event.\n */\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\n require(to != address(0), \"ERC721: transfer to the zero address\");\n\n _beforeTokenTransfer(from, to, tokenId);\n\n // Clear approvals from the previous owner\n _approve(address(0), tokenId);\n\n _holderTokens[from].remove(tokenId);\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(from, to, tokenId);\n }\n\n /**\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\n _tokenURIs[tokenId] = _tokenURI;\n }\n\n /**\n * @dev Internal function to set the base URI for all token IDs. It is\n * automatically added as a prefix to the value returned in {tokenURI},\n * or to the token ID if {tokenURI} is empty.\n */\n function _setBaseURI(string memory baseURI_) internal virtual {\n _baseURI = baseURI_;\n }\n\n /**\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n * The call is not executed if the target address is not a contract.\n *\n * @param from address representing the previous owner of the given token ID\n * @param to target address that will receive the tokens\n * @param tokenId uint256 ID of the token to be transferred\n * @param _data bytes optional data to send along with the call\n * @return bool whether the call correctly returned the expected magic value\n */\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\n private returns (bool)\n {\n if (!to.isContract()) {\n return true;\n }\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\n IERC721Receiver(to).onERC721Received.selector,\n _msgSender(),\n from,\n tokenId,\n _data\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\n bytes4 retval = abi.decode(returndata, (bytes4));\n return (retval == _ERC721_RECEIVED);\n }\n\n /**\n * @dev Approve `to` to operate on `tokenId`\n *\n * Emits an {Approval} event.\n */\n function _approve(address to, uint256 tokenId) internal virtual {\n _tokenApprovals[tokenId] = to;\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\n }\n\n /**\n * @dev Hook that is called before any token transfer. This includes minting\n * and burning.\n *\n * Calling conditions:\n *\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n * transferred to `to`.\n * - When `from` is zero, `tokenId` will be minted for `to`.\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n *\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n */\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\n}\n", - "sourcePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "sourceMap": "18579:7865:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", + "deployedSourceMap": "18579:7865:0:-:0;;;;;;;;", + "source": "// SPDX-License-Identifier: MIT\r\n\r\n// File: @openzeppelin/contracts/utils/Context.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/*\r\n * @dev Provides information about the current execution context, including the\r\n * sender of the transaction and its data. While these are generally available\r\n * via msg.sender and msg.data, they should not be accessed in such a direct\r\n * manner, since when dealing with GSN meta-transactions the account sending and\r\n * paying for execution may not be the actual sender (as far as an application\r\n * is concerned).\r\n *\r\n * This contract is only required for intermediate, library-like contracts.\r\n */\r\nabstract contract Context {\r\n function _msgSender() internal view virtual returns (address payable) {\r\n return msg.sender;\r\n }\r\n\r\n function _msgData() internal view virtual returns (bytes memory) {\r\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\r\n return msg.data;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/IERC165.sol\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Interface of the ERC165 standard, as defined in the\r\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\r\n *\r\n * Implementers can declare support of contract interfaces, which can then be\r\n * queried by others ({ERC165Checker}).\r\n *\r\n * For an implementation, see {ERC165}.\r\n */\r\ninterface IERC165 {\r\n /**\r\n * @dev Returns true if this contract implements the interface defined by\r\n * `interfaceId`. See the corresponding\r\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\r\n * to learn more about how these ids are created.\r\n *\r\n * This function call must use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Required interface of an ERC721 compliant contract.\r\n */\r\ninterface IERC721 is IERC165 {\r\n /**\r\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\r\n */\r\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\r\n */\r\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\r\n */\r\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\r\n\r\n /**\r\n * @dev Returns the number of tokens in ``owner``'s account.\r\n */\r\n function balanceOf(address owner) external view returns (uint256 balance);\r\n\r\n /**\r\n * @dev Returns the owner of the `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function ownerOf(uint256 tokenId) external view returns (address owner);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Transfers `tokenId` token from `from` to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\r\n * The approval is cleared when the token is transferred.\r\n *\r\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\r\n *\r\n * Requirements:\r\n *\r\n * - The caller must own the token or be an approved operator.\r\n * - `tokenId` must exist.\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function approve(address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Returns the account approved for `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function getApproved(uint256 tokenId) external view returns (address operator);\r\n\r\n /**\r\n * @dev Approve or remove `operator` as an operator for the caller.\r\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\r\n *\r\n * Requirements:\r\n *\r\n * - The `operator` cannot be the caller.\r\n *\r\n * Emits an {ApprovalForAll} event.\r\n */\r\n function setApprovalForAll(address operator, bool _approved) external;\r\n\r\n /**\r\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\r\n *\r\n * See {setApprovalForAll}\r\n */\r\n function isApprovedForAll(address owner, address operator) external view returns (bool);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Metadata is IERC721 {\r\n\r\n /**\r\n * @dev Returns the token collection name.\r\n */\r\n function name() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the token collection symbol.\r\n */\r\n function symbol() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\r\n */\r\n function tokenURI(uint256 tokenId) external view returns (string memory);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\r\n\r\n\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Enumerable is IERC721 {\r\n\r\n /**\r\n * @dev Returns the total amount of tokens stored by the contract.\r\n */\r\n function totalSupply() external view returns (uint256);\r\n\r\n /**\r\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\r\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\r\n\r\n /**\r\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\r\n * Use along with {totalSupply} to enumerate all tokens.\r\n */\r\n function tokenByIndex(uint256 index) external view returns (uint256);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\r\n\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 token receiver interface\r\n * @dev Interface for any contract that wants to support safeTransfers\r\n * from ERC721 asset contracts.\r\n */\r\ninterface IERC721Receiver {\r\n /**\r\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\r\n * by `operator` from `from`, this function is called.\r\n *\r\n * It must return its Solidity selector to confirm the token transfer.\r\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\r\n *\r\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\r\n */\r\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/ERC165.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Implementation of the {IERC165} interface.\r\n *\r\n * Contracts may inherit from this and call {_registerInterface} to declare\r\n * their support of an interface.\r\n */\r\nabstract contract ERC165 is IERC165 {\r\n /*\r\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\r\n\r\n /**\r\n * @dev Mapping of interface ids to whether or not it's supported.\r\n */\r\n mapping(bytes4 => bool) private _supportedInterfaces;\r\n\r\n constructor () {\r\n // Derived contracts need only register support for their own interfaces,\r\n // we register support for ERC165 itself here\r\n _registerInterface(_INTERFACE_ID_ERC165);\r\n }\r\n\r\n /**\r\n * @dev See {IERC165-supportsInterface}.\r\n *\r\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\r\n return _supportedInterfaces[interfaceId];\r\n }\r\n\r\n /**\r\n * @dev Registers the contract as an implementer of the interface defined by\r\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\r\n * registering its interface id is not required.\r\n *\r\n * See {IERC165-supportsInterface}.\r\n *\r\n * Requirements:\r\n *\r\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\r\n */\r\n function _registerInterface(bytes4 interfaceId) internal virtual {\r\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\r\n _supportedInterfaces[interfaceId] = true;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/math/SafeMath.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\r\n * checks.\r\n *\r\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\r\n * in bugs, because programmers usually assume that an overflow raises an\r\n * error, which is the standard behavior in high level programming languages.\r\n * `SafeMath` restores this intuition by reverting the transaction when an\r\n * operation overflows.\r\n *\r\n * Using this library instead of the unchecked operations eliminates an entire\r\n * class of bugs, so it's recommended to use it always.\r\n */\r\nlibrary SafeMath {\r\n /**\r\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n uint256 c = a + b;\r\n if (c < a) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b > a) return (false, 0);\r\n return (true, a - b);\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\r\n // benefit is lost if 'b' is also tested.\r\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\r\n if (a == 0) return (true, 0);\r\n uint256 c = a * b;\r\n if (c / a != b) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a / b);\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a % b);\r\n }\r\n\r\n /**\r\n * @dev Returns the addition of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `+` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Addition cannot overflow.\r\n */\r\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\r\n uint256 c = a + b;\r\n require(c >= a, \"SafeMath: addition overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting on\r\n * overflow (when the result is negative).\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b <= a, \"SafeMath: subtraction overflow\");\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `*` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Multiplication cannot overflow.\r\n */\r\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\r\n if (a == 0) return 0;\r\n uint256 c = a * b;\r\n require(c / a == b, \"SafeMath: multiplication overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: division by zero\");\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting when dividing by zero.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: modulo by zero\");\r\n return a % b;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\r\n * overflow (when the result is negative).\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {trySub}.\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b <= a, errorMessage);\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryDiv}.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting with custom message when dividing by zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryMod}.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a % b;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Address.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n/**\r\n * @dev Collection of functions related to the address type\r\n */\r\nlibrary Address {\r\n /**\r\n * @dev Returns true if `account` is a contract.\r\n *\r\n * [IMPORTANT]\r\n * ====\r\n * It is unsafe to assume that an address for which this function returns\r\n * false is an externally-owned account (EOA) and not a contract.\r\n *\r\n * Among others, `isContract` will return false for the following\r\n * types of addresses:\r\n *\r\n * - an externally-owned account\r\n * - a contract in construction\r\n * - an address where a contract will be created\r\n * - an address where a contract lived, but was destroyed\r\n * ====\r\n */\r\n function isContract(address account) internal view returns (bool) {\r\n // This method relies on extcodesize, which returns 0 for contracts in\r\n // construction, since the code is only stored at the end of the\r\n // constructor execution.\r\n\r\n uint256 size;\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly { size := extcodesize(account) }\r\n return size > 0;\r\n }\r\n\r\n /**\r\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\r\n * `recipient`, forwarding all available gas and reverting on errors.\r\n *\r\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\r\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\r\n * imposed by `transfer`, making them unable to receive funds via\r\n * `transfer`. {sendValue} removes this limitation.\r\n *\r\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\r\n *\r\n * IMPORTANT: because control is transferred to `recipient`, care must be\r\n * taken to not create reentrancy vulnerabilities. Consider using\r\n * {ReentrancyGuard} or the\r\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\r\n */\r\n function sendValue(address payable recipient, uint256 amount) internal {\r\n require(address(this).balance >= amount, \"Address: insufficient balance\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\r\n (bool success, ) = recipient.call{ value: amount }(\"\");\r\n require(success, \"Address: unable to send value, recipient may have reverted\");\r\n }\r\n\r\n /**\r\n * @dev Performs a Solidity function call using a low level `call`. A\r\n * plain`call` is an unsafe replacement for a function call: use this\r\n * function instead.\r\n *\r\n * If `target` reverts with a revert reason, it is bubbled up by this\r\n * function (like regular Solidity function calls).\r\n *\r\n * Returns the raw returned data. To convert to the expected return value,\r\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\r\n *\r\n * Requirements:\r\n *\r\n * - `target` must be a contract.\r\n * - calling `target` with `data` must not revert.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionCall(target, data, \"Address: low-level call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\r\n * `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, 0, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but also transferring `value` wei to `target`.\r\n *\r\n * Requirements:\r\n *\r\n * - the calling contract must have an ETH balance of at least `value`.\r\n * - the called Solidity function must be `payable`.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\r\n * with `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\r\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\r\n require(isContract(target), \"Address: call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\r\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\r\n require(isContract(target), \"Address: static call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.staticcall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n require(isContract(target), \"Address: delegate call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.delegatecall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\r\n if (success) {\r\n return returndata;\r\n } else {\r\n // Look for revert reason and bubble it up if present\r\n if (returndata.length > 0) {\r\n // The easiest way to bubble the revert reason is using memory via assembly\r\n\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n let returndata_size := mload(returndata)\r\n revert(add(32, returndata), returndata_size)\r\n }\r\n } else {\r\n revert(errorMessage);\r\n }\r\n }\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing\r\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\r\n * types.\r\n *\r\n * Sets have the following properties:\r\n *\r\n * - Elements are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableSet for EnumerableSet.AddressSet;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableSet.AddressSet private mySet;\r\n * }\r\n * ```\r\n *\r\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\r\n * and `uint256` (`UintSet`) are supported.\r\n */\r\nlibrary EnumerableSet {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Set type with\r\n // bytes32 values.\r\n // The Set implementation uses private functions, and user-facing\r\n // implementations (such as AddressSet) are just wrappers around the\r\n // underlying Set.\r\n // This means that we can only create new EnumerableSets for types that fit\r\n // in bytes32.\r\n\r\n struct Set {\r\n // Storage of set values\r\n bytes32[] _values;\r\n\r\n // Position of the value in the `values` array, plus 1 because index 0\r\n // means a value is not in the set.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function _add(Set storage set, bytes32 value) private returns (bool) {\r\n if (!_contains(set, value)) {\r\n set._values.push(value);\r\n // The value is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n set._indexes[value] = set._values.length;\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function _remove(Set storage set, bytes32 value) private returns (bool) {\r\n // We read and store the value's index to prevent multiple reads from the same storage slot\r\n uint256 valueIndex = set._indexes[value];\r\n\r\n if (valueIndex != 0) { // Equivalent to contains(set, value)\r\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\r\n // the array, and then remove the last element (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = valueIndex - 1;\r\n uint256 lastIndex = set._values.length - 1;\r\n\r\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n bytes32 lastvalue = set._values[lastIndex];\r\n\r\n // Move the last value to the index where the value to delete is\r\n set._values[toDeleteIndex] = lastvalue;\r\n // Update the index for the moved value\r\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved value was stored\r\n set._values.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete set._indexes[value];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\r\n return set._indexes[value] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function _length(Set storage set) private view returns (uint256) {\r\n return set._values.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\r\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\r\n return set._values[index];\r\n }\r\n\r\n // Bytes32Set\r\n\r\n struct Bytes32Set {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _add(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _remove(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\r\n return _contains(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(Bytes32Set storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\r\n return _at(set._inner, index);\r\n }\r\n\r\n // AddressSet\r\n\r\n struct AddressSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(AddressSet storage set, address value) internal returns (bool) {\r\n return _add(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(AddressSet storage set, address value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(AddressSet storage set, address value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(AddressSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\r\n return address(uint160(uint256(_at(set._inner, index))));\r\n }\r\n\r\n\r\n // UintSet\r\n\r\n struct UintSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _add(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function length(UintSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\r\n return uint256(_at(set._inner, index));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing an enumerable variant of Solidity's\r\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\r\n * type.\r\n *\r\n * Maps have the following properties:\r\n *\r\n * - Entries are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableMap.UintToAddressMap private myMap;\r\n * }\r\n * ```\r\n *\r\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\r\n * supported.\r\n */\r\nlibrary EnumerableMap {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Map type with\r\n // bytes32 keys and values.\r\n // The Map implementation uses private functions, and user-facing\r\n // implementations (such as Uint256ToAddressMap) are just wrappers around\r\n // the underlying Map.\r\n // This means that we can only create new EnumerableMaps for types that fit\r\n // in bytes32.\r\n\r\n struct MapEntry {\r\n bytes32 _key;\r\n bytes32 _value;\r\n }\r\n\r\n struct Map {\r\n // Storage of map keys and values\r\n MapEntry[] _entries;\r\n\r\n // Position of the entry defined by a key in the `entries` array, plus 1\r\n // because index 0 means a key is not in the map.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\r\n map._entries.push(MapEntry({ _key: key, _value: value }));\r\n // The entry is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n map._indexes[key] = map._entries.length;\r\n return true;\r\n } else {\r\n map._entries[keyIndex - 1]._value = value;\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a key-value pair from a map. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function _remove(Map storage map, bytes32 key) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex != 0) { // Equivalent to contains(map, key)\r\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\r\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = keyIndex - 1;\r\n uint256 lastIndex = map._entries.length - 1;\r\n\r\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n MapEntry storage lastEntry = map._entries[lastIndex];\r\n\r\n // Move the last entry to the index where the entry to delete is\r\n map._entries[toDeleteIndex] = lastEntry;\r\n // Update the index for the moved entry\r\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved entry was stored\r\n map._entries.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete map._indexes[key];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\r\n return map._indexes[key] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of key-value pairs in the map. O(1).\r\n */\r\n function _length(Map storage map) private view returns (uint256) {\r\n return map._entries.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of entries inside the\r\n * array, and it may change when more entries are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\r\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\r\n\r\n MapEntry storage entry = map._entries[index];\r\n return (entry._key, entry._value);\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n */\r\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\r\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {_tryGet}.\r\n */\r\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n // UintToAddressMap\r\n\r\n struct UintToAddressMap {\r\n Map _inner;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\r\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\r\n return _remove(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\r\n return _contains(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of elements in the map. O(1).\r\n */\r\n function length(UintToAddressMap storage map) internal view returns (uint256) {\r\n return _length(map._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the element stored at position `index` in the set. O(1).\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\r\n (bytes32 key, bytes32 value) = _at(map._inner, index);\r\n return (uint256(key), address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\r\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\r\n return (success, address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\r\n }\r\n\r\n /**\r\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryGet}.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Strings.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev String operations.\r\n */\r\nlibrary Strings {\r\n /**\r\n * @dev Converts a `uint256` to its ASCII `string` representation.\r\n */\r\n function toString(uint256 value) internal pure returns (string memory) {\r\n // Inspired by OraclizeAPI's implementation - MIT licence\r\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\r\n\r\n if (value == 0) {\r\n return \"0\";\r\n }\r\n uint256 temp = value;\r\n uint256 digits;\r\n while (temp != 0) {\r\n digits++;\r\n temp /= 10;\r\n }\r\n bytes memory buffer = new bytes(digits);\r\n uint256 index = digits - 1;\r\n temp = value;\r\n while (temp != 0) {\r\n buffer[index--] = bytes1(uint8(48 + temp % 10));\r\n temp /= 10;\r\n }\r\n return string(buffer);\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 Non-Fungible Token Standard basic implementation\r\n * @dev see https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\r\n using SafeMath for uint256;\r\n using Address for address;\r\n using EnumerableSet for EnumerableSet.UintSet;\r\n using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n using Strings for uint256;\r\n\r\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\r\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\r\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\r\n\r\n // Mapping from holder address to their (enumerable) set of owned tokens\r\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\r\n\r\n // Enumerable mapping from token ids to their owners\r\n EnumerableMap.UintToAddressMap private _tokenOwners;\r\n\r\n // Mapping from token ID to approved address\r\n mapping (uint256 => address) private _tokenApprovals;\r\n\r\n // Mapping from owner to operator approvals\r\n mapping (address => mapping (address => bool)) private _operatorApprovals;\r\n\r\n // Token name\r\n string private _name;\r\n\r\n // Token symbol\r\n string private _symbol;\r\n\r\n // Optional mapping for token URIs\r\n mapping (uint256 => string) private _tokenURIs;\r\n\r\n // Base URI\r\n string private _baseURI;\r\n\r\n /*\r\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\r\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\r\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\r\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\r\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\r\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\r\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\r\n *\r\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\r\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\r\n\r\n /*\r\n * bytes4(keccak256('name()')) == 0x06fdde03\r\n * bytes4(keccak256('symbol()')) == 0x95d89b41\r\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\r\n *\r\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\r\n\r\n /*\r\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\r\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\r\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\r\n *\r\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\r\n\r\n /**\r\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\r\n */\r\n constructor (string memory name_, string memory symbol_) {\r\n _name = name_;\r\n _symbol = symbol_;\r\n\r\n // register the supported interfaces to conform to ERC721 via ERC165\r\n _registerInterface(_INTERFACE_ID_ERC721);\r\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\r\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-balanceOf}.\r\n */\r\n function balanceOf(address owner) public view virtual override returns (uint256) {\r\n require(owner != address(0), \"ERC721: balance query for the zero address\");\r\n return _holderTokens[owner].length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-ownerOf}.\r\n */\r\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\r\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-name}.\r\n */\r\n function name() public view virtual override returns (string memory) {\r\n return _name;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-symbol}.\r\n */\r\n function symbol() public view virtual override returns (string memory) {\r\n return _symbol;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-tokenURI}.\r\n */\r\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\r\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\r\n\r\n string memory _tokenURI = _tokenURIs[tokenId];\r\n string memory base = baseURI();\r\n\r\n // If there is no base URI, return the token URI.\r\n if (bytes(base).length == 0) {\r\n return _tokenURI;\r\n }\r\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\r\n if (bytes(_tokenURI).length > 0) {\r\n return string(abi.encodePacked(base, _tokenURI));\r\n }\r\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\r\n return string(abi.encodePacked(base, tokenId.toString()));\r\n }\r\n\r\n /**\r\n * @dev Returns the base URI set via {_setBaseURI}. This will be\r\n * automatically added as a prefix in {tokenURI} to each token's URI, or\r\n * to the token ID if no specific URI is set for that token ID.\r\n */\r\n function baseURI() public view virtual returns (string memory) {\r\n return _baseURI;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\r\n return _holderTokens[owner].at(index);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-totalSupply}.\r\n */\r\n function totalSupply() public view virtual override returns (uint256) {\r\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\r\n return _tokenOwners.length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenByIndex}.\r\n */\r\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\r\n (uint256 tokenId, ) = _tokenOwners.at(index);\r\n return tokenId;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-approve}.\r\n */\r\n function approve(address to, uint256 tokenId) public virtual override {\r\n address owner = ERC721.ownerOf(tokenId);\r\n require(to != owner, \"ERC721: approval to current owner\");\r\n\r\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\r\n \"ERC721: approve caller is not owner nor approved for all\"\r\n );\r\n\r\n _approve(to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-getApproved}.\r\n */\r\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\r\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\r\n\r\n return _tokenApprovals[tokenId];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-setApprovalForAll}.\r\n */\r\n function setApprovalForAll(address operator, bool approved) public virtual override {\r\n require(operator != _msgSender(), \"ERC721: approve to caller\");\r\n\r\n _operatorApprovals[_msgSender()][operator] = approved;\r\n emit ApprovalForAll(_msgSender(), operator, approved);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-isApprovedForAll}.\r\n */\r\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\r\n return _operatorApprovals[owner][operator];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-transferFrom}.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n //solhint-disable-next-line max-line-length\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n\r\n _transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n safeTransferFrom(from, to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n _safeTransfer(from, to, tokenId, _data);\r\n }\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\r\n *\r\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\r\n * implement alternative mechanisms to perform token transfer, such as signature-based.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _transfer(from, to, tokenId);\r\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Returns whether `tokenId` exists.\r\n *\r\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\r\n *\r\n * Tokens start existing when they are minted (`_mint`),\r\n * and stop existing when they are burned (`_burn`).\r\n */\r\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\r\n return _tokenOwners.contains(tokenId);\r\n }\r\n\r\n /**\r\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\r\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\r\n address owner = ERC721.ownerOf(tokenId);\r\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\r\n }\r\n\r\n /**\r\n * @dev Safely mints `tokenId` and transfers it to `to`.\r\n *\r\n * Requirements:\r\n d*\r\n * - `tokenId` must not exist.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeMint(address to, uint256 tokenId) internal virtual {\r\n _safeMint(to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\r\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\r\n */\r\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _mint(to, tokenId);\r\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Mints `tokenId` and transfers it to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must not exist.\r\n * - `to` cannot be the zero address.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _mint(address to, uint256 tokenId) internal virtual {\r\n require(to != address(0), \"ERC721: mint to the zero address\");\r\n require(!_exists(tokenId), \"ERC721: token already minted\");\r\n\r\n _beforeTokenTransfer(address(0), to, tokenId);\r\n\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(address(0), to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Destroys `tokenId`.\r\n * The approval is cleared when the token is burned.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _burn(uint256 tokenId) internal virtual {\r\n address owner = ERC721.ownerOf(tokenId); // internal owner\r\n\r\n _beforeTokenTransfer(owner, address(0), tokenId);\r\n\r\n // Clear approvals\r\n _approve(address(0), tokenId);\r\n\r\n // Clear metadata (if any)\r\n if (bytes(_tokenURIs[tokenId]).length != 0) {\r\n delete _tokenURIs[tokenId];\r\n }\r\n\r\n _holderTokens[owner].remove(tokenId);\r\n\r\n _tokenOwners.remove(tokenId);\r\n\r\n emit Transfer(owner, address(0), tokenId);\r\n }\r\n\r\n /**\r\n * @dev Transfers `tokenId` from `from` to `to`.\r\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\r\n *\r\n * Requirements:\r\n *\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\r\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\r\n require(to != address(0), \"ERC721: transfer to the zero address\");\r\n\r\n _beforeTokenTransfer(from, to, tokenId);\r\n\r\n // Clear approvals from the previous owner\r\n _approve(address(0), tokenId);\r\n\r\n _holderTokens[from].remove(tokenId);\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\r\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\r\n _tokenURIs[tokenId] = _tokenURI;\r\n }\r\n\r\n /**\r\n * @dev Internal function to set the base URI for all token IDs. It is\r\n * automatically added as a prefix to the value returned in {tokenURI},\r\n * or to the token ID if {tokenURI} is empty.\r\n */\r\n function _setBaseURI(string memory baseURI_) internal virtual {\r\n _baseURI = baseURI_;\r\n }\r\n\r\n /**\r\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\r\n * The call is not executed if the target address is not a contract.\r\n *\r\n * @param from address representing the previous owner of the given token ID\r\n * @param to target address that will receive the tokens\r\n * @param tokenId uint256 ID of the token to be transferred\r\n * @param _data bytes optional data to send along with the call\r\n * @return bool whether the call correctly returned the expected magic value\r\n */\r\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\r\n private returns (bool)\r\n {\r\n if (!to.isContract()) {\r\n return true;\r\n }\r\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\r\n IERC721Receiver(to).onERC721Received.selector,\r\n _msgSender(),\r\n from,\r\n tokenId,\r\n _data\r\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n bytes4 retval = abi.decode(returndata, (bytes4));\r\n return (retval == _ERC721_RECEIVED);\r\n }\r\n\r\n /**\r\n * @dev Approve `to` to operate on `tokenId`\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function _approve(address to, uint256 tokenId) internal virtual {\r\n _tokenApprovals[tokenId] = to;\r\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\r\n }\r\n\r\n /**\r\n * @dev Hook that is called before any token transfer. This includes minting\r\n * and burning.\r\n *\r\n * Calling conditions:\r\n *\r\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\r\n * transferred to `to`.\r\n * - When `from` is zero, `tokenId` will be minted for `to`.\r\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n *\r\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\r\n */\r\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\r\n}\r\n", + "sourcePath": "C:\\Users\\Noahm\\cryptoboys-nft-marketplace\\src\\contracts\\ERC721.sol", "ast": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, - "id": 3499, + "id": 2991, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 509, + "id": 1, "literals": [ "solidity", ">=", @@ -70,7 +70,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "abstract": true, @@ -78,77 +78,77 @@ "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, - "id": 530, + "id": 22, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 517, + "id": 9, "nodeType": "Block", - "src": "719:34:1", + "src": "735:36:0", "statements": [ { "expression": { "expression": { - "id": 514, + "id": 6, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "736:3:1", + "src": "753:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 515, + "id": 7, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "736:10:1", + "src": "753:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 513, - "id": 516, + "functionReturnParameters": 5, + "id": 8, "nodeType": "Return", - "src": "729:17:1" + "src": "746:17:0" } ] }, - "id": 518, + "id": 10, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgSender", "nodeType": "FunctionDefinition", "parameters": { - "id": 510, + "id": 2, "nodeType": "ParameterList", "parameters": [], - "src": "668:2:1" + "src": "684:2:0" }, "returnParameters": { - "id": 513, + "id": 5, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 512, + "id": 4, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 518, - "src": "702:15:1", + "scope": 10, + "src": "718:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -156,10 +156,10 @@ "typeString": "address payable" }, "typeName": { - "id": 511, + "id": 3, "name": "address", "nodeType": "ElementaryTypeName", - "src": "702:15:1", + "src": "718:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -169,95 +169,95 @@ "visibility": "internal" } ], - "src": "701:17:1" + "src": "717:17:0" }, - "scope": 530, - "src": "649:104:1", + "scope": 22, + "src": "665:106:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 528, + "id": 20, "nodeType": "Block", - "src": "824:165:1", + "src": "844:168:0", "statements": [ { "expression": { - "id": 523, + "id": 15, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "834:4:1", + "src": "855:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 524, + "id": 16, "nodeType": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "expression": { "expression": { - "id": 525, + "id": 17, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "974:3:1", + "src": "996:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 526, + "id": 18, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "data", "nodeType": "MemberAccess", - "src": "974:8:1", + "src": "996:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" } }, - "functionReturnParameters": 522, - "id": 527, + "functionReturnParameters": 14, + "id": 19, "nodeType": "Return", - "src": "967:15:1" + "src": "989:15:0" } ] }, - "id": 529, + "id": 21, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgData", "nodeType": "FunctionDefinition", "parameters": { - "id": 519, + "id": 11, "nodeType": "ParameterList", "parameters": [], - "src": "776:2:1" + "src": "796:2:0" }, "returnParameters": { - "id": 522, + "id": 14, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 521, + "id": 13, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 529, - "src": "810:12:1", + "scope": 21, + "src": "830:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -265,10 +265,10 @@ "typeString": "bytes" }, "typeName": { - "id": 520, + "id": 12, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "810:5:1", + "src": "830:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -277,20 +277,20 @@ "visibility": "internal" } ], - "src": "809:14:1" + "src": "829:14:0" }, - "scope": 530, - "src": "759:230:1", + "scope": 22, + "src": "779:233:0", "stateMutability": "view", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "617:374:1" + "scope": 2991, + "src": "632:383:0" }, { - "id": 531, + "id": 23, "literals": [ "solidity", ">=", @@ -301,7 +301,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "abstract": false, @@ -309,45 +309,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 532, + "id": 24, "nodeType": "StructuredDocumentation", - "src": "1086:279:1", + "src": "1116:287:0", "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, "fullyImplemented": false, - "id": 541, + "id": 33, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 533, + "id": 25, "nodeType": "StructuredDocumentation", - "src": "1390:340:1", + "src": "1430:347:0", "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 540, + "id": 32, "implemented": false, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 536, + "id": 28, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 535, + "id": 27, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1762:18:1", + "scope": 32, + "src": "1810:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -355,10 +355,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 534, + "id": 26, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "1762:6:1", + "src": "1810:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -367,20 +367,20 @@ "visibility": "internal" } ], - "src": "1761:20:1" + "src": "1809:20:0" }, "returnParameters": { - "id": 539, + "id": 31, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 538, + "id": 30, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1805:4:1", + "scope": 32, + "src": "1853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -388,10 +388,10 @@ "typeString": "bool" }, "typeName": { - "id": 537, + "id": 29, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1805:4:1", + "src": "1853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -400,20 +400,20 @@ "visibility": "internal" } ], - "src": "1804:6:1" + "src": "1852:6:0" }, - "scope": 541, - "src": "1735:76:1", + "scope": 33, + "src": "1783:76:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1366:447:1" + "scope": 2991, + "src": "1405:457:0" }, { - "id": 542, + "id": 34, "literals": [ "solidity", ">=", @@ -424,43 +424,43 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 544, + "id": 36, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "1996:7:1", + "referencedDeclaration": 33, + "src": "2054:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 545, + "id": 37, "nodeType": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "documentation": { - "id": 543, + "id": 35, "nodeType": "StructuredDocumentation", - "src": "1907:67:1", + "src": "1962:69:0", "text": " @dev Required interface of an ERC721 compliant contract." }, "fullyImplemented": false, - "id": 655, + "id": 147, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", "nodeType": "ContractDefinition", @@ -468,27 +468,27 @@ { "anonymous": false, "documentation": { - "id": 546, + "id": 38, "nodeType": "StructuredDocumentation", - "src": "2010:88:1", + "src": "2069:90:0", "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 554, + "id": 46, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { - "id": 553, + "id": 45, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 548, + "id": 40, "indexed": true, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2118:20:1", + "scope": 46, + "src": "2180:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -496,10 +496,10 @@ "typeString": "address" }, "typeName": { - "id": 547, + "id": 39, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2118:7:1", + "src": "2180:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -510,13 +510,13 @@ }, { "constant": false, - "id": 550, + "id": 42, "indexed": true, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2140:18:1", + "scope": 46, + "src": "2202:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -524,10 +524,10 @@ "typeString": "address" }, "typeName": { - "id": 549, + "id": 41, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2140:7:1", + "src": "2202:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -538,13 +538,13 @@ }, { "constant": false, - "id": 552, + "id": 44, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2160:23:1", + "scope": 46, + "src": "2222:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -552,10 +552,10 @@ "typeString": "uint256" }, "typeName": { - "id": 551, + "id": 43, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2160:7:1", + "src": "2222:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -564,34 +564,34 @@ "visibility": "internal" } ], - "src": "2117:67:1" + "src": "2179:67:0" }, - "src": "2103:82:1" + "src": "2165:82:0" }, { "anonymous": false, "documentation": { - "id": 555, + "id": 47, "nodeType": "StructuredDocumentation", - "src": "2191:94:1", + "src": "2255:96:0", "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 563, + "id": 55, "name": "Approval", "nodeType": "EventDefinition", "parameters": { - "id": 562, + "id": 54, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 557, + "id": 49, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2305:21:1", + "scope": 55, + "src": "2372:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -599,10 +599,10 @@ "typeString": "address" }, "typeName": { - "id": 556, + "id": 48, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2305:7:1", + "src": "2372:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -613,13 +613,13 @@ }, { "constant": false, - "id": 559, + "id": 51, "indexed": true, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2328:24:1", + "scope": 55, + "src": "2395:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -627,10 +627,10 @@ "typeString": "address" }, "typeName": { - "id": 558, + "id": 50, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2328:7:1", + "src": "2395:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -641,13 +641,13 @@ }, { "constant": false, - "id": 561, + "id": 53, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2354:23:1", + "scope": 55, + "src": "2421:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -655,10 +655,10 @@ "typeString": "uint256" }, "typeName": { - "id": 560, + "id": 52, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2354:7:1", + "src": "2421:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -667,34 +667,34 @@ "visibility": "internal" } ], - "src": "2304:74:1" + "src": "2371:74:0" }, - "src": "2290:89:1" + "src": "2357:89:0" }, { "anonymous": false, "documentation": { - "id": 564, + "id": 56, "nodeType": "StructuredDocumentation", - "src": "2385:117:1", + "src": "2454:119:0", "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 572, + "id": 64, "name": "ApprovalForAll", "nodeType": "EventDefinition", "parameters": { - "id": 571, + "id": 63, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 566, + "id": 58, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2528:21:1", + "scope": 64, + "src": "2600:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -702,10 +702,10 @@ "typeString": "address" }, "typeName": { - "id": 565, + "id": 57, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2528:7:1", + "src": "2600:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -716,13 +716,13 @@ }, { "constant": false, - "id": 568, + "id": 60, "indexed": true, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2551:24:1", + "scope": 64, + "src": "2623:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -730,10 +730,10 @@ "typeString": "address" }, "typeName": { - "id": 567, + "id": 59, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2551:7:1", + "src": "2623:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -744,13 +744,13 @@ }, { "constant": false, - "id": 570, + "id": 62, "indexed": false, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2577:13:1", + "scope": 64, + "src": "2649:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -758,10 +758,10 @@ "typeString": "bool" }, "typeName": { - "id": 569, + "id": 61, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2577:4:1", + "src": "2649:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -770,36 +770,36 @@ "visibility": "internal" } ], - "src": "2527:64:1" + "src": "2599:64:0" }, - "src": "2507:85:1" + "src": "2579:85:0" }, { "documentation": { - "id": 573, + "id": 65, "nodeType": "StructuredDocumentation", - "src": "2598:76:1", + "src": "2672:78:0", "text": " @dev Returns the number of tokens in ``owner``'s account." }, "functionSelector": "70a08231", - "id": 580, + "id": 72, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 576, + "id": 68, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 575, + "id": 67, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2698:13:1", + "scope": 72, + "src": "2775:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -807,10 +807,10 @@ "typeString": "address" }, "typeName": { - "id": 574, + "id": 66, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2698:7:1", + "src": "2775:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -820,20 +820,20 @@ "visibility": "internal" } ], - "src": "2697:15:1" + "src": "2774:15:0" }, "returnParameters": { - "id": 579, + "id": 71, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 578, + "id": 70, "mutability": "mutable", "name": "balance", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2736:15:1", + "scope": 72, + "src": "2813:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -841,10 +841,10 @@ "typeString": "uint256" }, "typeName": { - "id": 577, + "id": 69, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2736:7:1", + "src": "2813:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -853,40 +853,40 @@ "visibility": "internal" } ], - "src": "2735:17:1" + "src": "2812:17:0" }, - "scope": 655, - "src": "2679:74:1", + "scope": 147, + "src": "2756:74:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 581, + "id": 73, "nodeType": "StructuredDocumentation", - "src": "2759:131:1", + "src": "2838:137:0", "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "6352211e", - "id": 588, + "id": 80, "implemented": false, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 584, + "id": 76, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 583, + "id": 75, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2912:15:1", + "scope": 80, + "src": "2998:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -894,10 +894,10 @@ "typeString": "uint256" }, "typeName": { - "id": 582, + "id": 74, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2912:7:1", + "src": "2998:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -906,20 +906,20 @@ "visibility": "internal" } ], - "src": "2911:17:1" + "src": "2997:17:0" }, "returnParameters": { - "id": 587, + "id": 79, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 586, + "id": 78, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2952:13:1", + "scope": 80, + "src": "3038:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -927,10 +927,10 @@ "typeString": "address" }, "typeName": { - "id": 585, + "id": 77, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2952:7:1", + "src": "3038:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -940,40 +940,40 @@ "visibility": "internal" } ], - "src": "2951:15:1" + "src": "3037:15:0" }, - "scope": 655, - "src": "2895:72:1", + "scope": 147, + "src": "2981:72:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 589, + "id": 81, "nodeType": "StructuredDocumentation", - "src": "2973:690:1", + "src": "3061:703:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "42842e0e", - "id": 598, + "id": 90, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 596, + "id": 88, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 591, + "id": 83, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3694:12:1", + "scope": 90, + "src": "3796:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -981,10 +981,10 @@ "typeString": "address" }, "typeName": { - "id": 590, + "id": 82, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3694:7:1", + "src": "3796:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -995,12 +995,12 @@ }, { "constant": false, - "id": 593, + "id": 85, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3708:10:1", + "scope": 90, + "src": "3810:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1008,10 +1008,10 @@ "typeString": "address" }, "typeName": { - "id": 592, + "id": 84, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3708:7:1", + "src": "3810:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1022,12 +1022,12 @@ }, { "constant": false, - "id": 595, + "id": 87, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3720:15:1", + "scope": 90, + "src": "3822:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1035,10 +1035,10 @@ "typeString": "uint256" }, "typeName": { - "id": 594, + "id": 86, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3720:7:1", + "src": "3822:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1047,46 +1047,46 @@ "visibility": "internal" } ], - "src": "3693:43:1" + "src": "3795:43:0" }, "returnParameters": { - "id": 597, + "id": 89, "nodeType": "ParameterList", "parameters": [], - "src": "3745:0:1" + "src": "3847:0:0" }, - "scope": 655, - "src": "3668:78:1", + "scope": 147, + "src": "3770:78:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 599, + "id": 91, "nodeType": "StructuredDocumentation", - "src": "3752:504:1", + "src": "3856:517:0", "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, "functionSelector": "23b872dd", - "id": 608, + "id": 100, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 606, + "id": 98, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 601, + "id": 93, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4283:12:1", + "scope": 100, + "src": "4401:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1094,10 +1094,10 @@ "typeString": "address" }, "typeName": { - "id": 600, + "id": 92, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4283:7:1", + "src": "4401:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1108,12 +1108,12 @@ }, { "constant": false, - "id": 603, + "id": 95, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4297:10:1", + "scope": 100, + "src": "4415:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1121,10 +1121,10 @@ "typeString": "address" }, "typeName": { - "id": 602, + "id": 94, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4297:7:1", + "src": "4415:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1135,12 +1135,12 @@ }, { "constant": false, - "id": 605, + "id": 97, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4309:15:1", + "scope": 100, + "src": "4427:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1148,10 +1148,10 @@ "typeString": "uint256" }, "typeName": { - "id": 604, + "id": 96, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4309:7:1", + "src": "4427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1160,46 +1160,46 @@ "visibility": "internal" } ], - "src": "4282:43:1" + "src": "4400:43:0" }, "returnParameters": { - "id": 607, + "id": 99, "nodeType": "ParameterList", "parameters": [], - "src": "4334:0:1" + "src": "4452:0:0" }, - "scope": 655, - "src": "4261:74:1", + "scope": 147, + "src": "4379:74:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 609, + "id": 101, "nodeType": "StructuredDocumentation", - "src": "4341:452:1", + "src": "4461:464:0", "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, "functionSelector": "095ea7b3", - "id": 616, + "id": 108, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 614, + "id": 106, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 611, + "id": 103, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4815:10:1", + "scope": 108, + "src": "4948:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1207,10 +1207,10 @@ "typeString": "address" }, "typeName": { - "id": 610, + "id": 102, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4815:7:1", + "src": "4948:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1221,12 +1221,12 @@ }, { "constant": false, - "id": 613, + "id": 105, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4827:15:1", + "scope": 108, + "src": "4960:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1234,10 +1234,10 @@ "typeString": "uint256" }, "typeName": { - "id": 612, + "id": 104, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4827:7:1", + "src": "4960:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1246,46 +1246,46 @@ "visibility": "internal" } ], - "src": "4814:29:1" + "src": "4947:29:0" }, "returnParameters": { - "id": 615, + "id": 107, "nodeType": "ParameterList", "parameters": [], - "src": "4852:0:1" + "src": "4985:0:0" }, - "scope": 655, - "src": "4798:55:1", + "scope": 147, + "src": "4931:55:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 617, + "id": 109, "nodeType": "StructuredDocumentation", - "src": "4859:139:1", + "src": "4994:145:0", "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "081812fc", - "id": 624, + "id": 116, "implemented": false, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "parameters": { - "id": 620, + "id": 112, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 619, + "id": 111, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5024:15:1", + "scope": 116, + "src": "5166:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1293,10 +1293,10 @@ "typeString": "uint256" }, "typeName": { - "id": 618, + "id": 110, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5024:7:1", + "src": "5166:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1305,20 +1305,20 @@ "visibility": "internal" } ], - "src": "5023:17:1" + "src": "5165:17:0" }, "returnParameters": { - "id": 623, + "id": 115, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 622, + "id": 114, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5064:16:1", + "scope": 116, + "src": "5206:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1326,10 +1326,10 @@ "typeString": "address" }, "typeName": { - "id": 621, + "id": 113, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5064:7:1", + "src": "5206:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1339,40 +1339,40 @@ "visibility": "internal" } ], - "src": "5063:18:1" + "src": "5205:18:0" }, - "scope": 655, - "src": "5003:79:1", + "scope": 147, + "src": "5145:79:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 625, + "id": 117, "nodeType": "StructuredDocumentation", - "src": "5088:309:1", + "src": "5232:318:0", "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, "functionSelector": "a22cb465", - "id": 632, + "id": 124, "implemented": false, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 630, + "id": 122, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 627, + "id": 119, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5429:16:1", + "scope": 124, + "src": "5583:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1380,10 +1380,10 @@ "typeString": "address" }, "typeName": { - "id": 626, + "id": 118, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5429:7:1", + "src": "5583:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1394,12 +1394,12 @@ }, { "constant": false, - "id": 629, + "id": 121, "mutability": "mutable", "name": "_approved", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5447:14:1", + "scope": 124, + "src": "5601:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1407,10 +1407,10 @@ "typeString": "bool" }, "typeName": { - "id": 628, + "id": 120, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5447:4:1", + "src": "5601:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1419,46 +1419,46 @@ "visibility": "internal" } ], - "src": "5428:34:1" + "src": "5582:34:0" }, "returnParameters": { - "id": 631, + "id": 123, "nodeType": "ParameterList", "parameters": [], - "src": "5471:0:1" + "src": "5625:0:0" }, - "scope": 655, - "src": "5402:70:1", + "scope": 147, + "src": "5556:70:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 633, + "id": 125, "nodeType": "StructuredDocumentation", - "src": "5478:138:1", + "src": "5634:142:0", "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, "functionSelector": "e985e9c5", - "id": 642, + "id": 134, "implemented": false, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 638, + "id": 130, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 635, + "id": 127, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5647:13:1", + "scope": 134, + "src": "5808:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1466,10 +1466,10 @@ "typeString": "address" }, "typeName": { - "id": 634, + "id": 126, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5647:7:1", + "src": "5808:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1480,12 +1480,12 @@ }, { "constant": false, - "id": 637, + "id": 129, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5662:16:1", + "scope": 134, + "src": "5823:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1493,10 +1493,10 @@ "typeString": "address" }, "typeName": { - "id": 636, + "id": 128, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5662:7:1", + "src": "5823:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1506,20 +1506,20 @@ "visibility": "internal" } ], - "src": "5646:33:1" + "src": "5807:33:0" }, "returnParameters": { - "id": 641, + "id": 133, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 640, + "id": 132, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5703:4:1", + "scope": 134, + "src": "5864:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1527,10 +1527,10 @@ "typeString": "bool" }, "typeName": { - "id": 639, + "id": 131, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5703:4:1", + "src": "5864:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1539,40 +1539,40 @@ "visibility": "internal" } ], - "src": "5702:6:1" + "src": "5863:6:0" }, - "scope": 655, - "src": "5621:88:1", + "scope": 147, + "src": "5782:88:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 643, + "id": 135, "nodeType": "StructuredDocumentation", - "src": "5715:568:1", + "src": "5878:580:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "b88d4fde", - "id": 654, + "id": 146, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 652, + "id": 144, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 645, + "id": 137, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6314:12:1", + "scope": 146, + "src": "6490:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1580,10 +1580,10 @@ "typeString": "address" }, "typeName": { - "id": 644, + "id": 136, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6314:7:1", + "src": "6490:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1594,12 +1594,12 @@ }, { "constant": false, - "id": 647, + "id": 139, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6328:10:1", + "scope": 146, + "src": "6504:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1607,10 +1607,10 @@ "typeString": "address" }, "typeName": { - "id": 646, + "id": 138, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6328:7:1", + "src": "6504:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1621,12 +1621,12 @@ }, { "constant": false, - "id": 649, + "id": 141, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6340:15:1", + "scope": 146, + "src": "6516:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1634,10 +1634,10 @@ "typeString": "uint256" }, "typeName": { - "id": 648, + "id": 140, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6340:7:1", + "src": "6516:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1647,12 +1647,12 @@ }, { "constant": false, - "id": 651, + "id": 143, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6357:19:1", + "scope": 146, + "src": "6533:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -1660,10 +1660,10 @@ "typeString": "bytes" }, "typeName": { - "id": 650, + "id": 142, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6357:5:1", + "src": "6533:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -1672,26 +1672,26 @@ "visibility": "internal" } ], - "src": "6313:64:1" + "src": "6489:64:0" }, "returnParameters": { - "id": 653, + "id": 145, "nodeType": "ParameterList", "parameters": [], - "src": "6386:0:1" + "src": "6562:0:0" }, - "scope": 655, - "src": "6288:99:1", + "scope": 147, + "src": "6464:99:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1975:4414:1" + "scope": 2991, + "src": "2033:4533:0" }, { - "id": 656, + "id": 148, "literals": [ "solidity", ">=", @@ -1702,81 +1702,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 658, + "id": 150, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "6654:7:1", + "referencedDeclaration": 147, + "src": "6841:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 659, + "id": 151, "nodeType": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 657, + "id": 149, "nodeType": "StructuredDocumentation", - "src": "6491:133:1", + "src": "6674:136:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 680, + "id": 172, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 660, + "id": 152, "nodeType": "StructuredDocumentation", - "src": "6669:58:1", + "src": "6858:60:0", "text": " @dev Returns the token collection name." }, "functionSelector": "06fdde03", - "id": 665, + "id": 157, "implemented": false, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "parameters": { - "id": 661, + "id": 153, "nodeType": "ParameterList", "parameters": [], - "src": "6745:2:1" + "src": "6937:2:0" }, "returnParameters": { - "id": 664, + "id": 156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 663, + "id": 155, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 665, - "src": "6771:13:1", + "scope": 157, + "src": "6963:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1784,10 +1784,10 @@ "typeString": "string" }, "typeName": { - "id": 662, + "id": 154, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6771:6:1", + "src": "6963:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1796,46 +1796,46 @@ "visibility": "internal" } ], - "src": "6770:15:1" + "src": "6962:15:0" }, - "scope": 680, - "src": "6732:54:1", + "scope": 172, + "src": "6924:54:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 666, + "id": 158, "nodeType": "StructuredDocumentation", - "src": "6792:60:1", + "src": "6986:62:0", "text": " @dev Returns the token collection symbol." }, "functionSelector": "95d89b41", - "id": 671, + "id": 163, "implemented": false, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "parameters": { - "id": 667, + "id": 159, "nodeType": "ParameterList", "parameters": [], - "src": "6872:2:1" + "src": "7069:2:0" }, "returnParameters": { - "id": 670, + "id": 162, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 669, + "id": 161, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 671, - "src": "6898:13:1", + "scope": 163, + "src": "7095:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1843,10 +1843,10 @@ "typeString": "string" }, "typeName": { - "id": 668, + "id": 160, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6898:6:1", + "src": "7095:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1855,40 +1855,40 @@ "visibility": "internal" } ], - "src": "6897:15:1" + "src": "7094:15:0" }, - "scope": 680, - "src": "6857:56:1", + "scope": 172, + "src": "7054:56:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 672, + "id": 164, "nodeType": "StructuredDocumentation", - "src": "6919:90:1", + "src": "7118:92:0", "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, "functionSelector": "c87b56dd", - "id": 679, + "id": 171, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 675, + "id": 167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 674, + "id": 166, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7032:15:1", + "scope": 171, + "src": "7234:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1896,10 +1896,10 @@ "typeString": "uint256" }, "typeName": { - "id": 673, + "id": 165, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7032:7:1", + "src": "7234:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1908,20 +1908,20 @@ "visibility": "internal" } ], - "src": "7031:17:1" + "src": "7233:17:0" }, "returnParameters": { - "id": 678, + "id": 170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 677, + "id": 169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7072:13:1", + "scope": 171, + "src": "7274:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1929,10 +1929,10 @@ "typeString": "string" }, "typeName": { - "id": 676, + "id": 168, "name": "string", "nodeType": "ElementaryTypeName", - "src": "7072:6:1", + "src": "7274:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1941,20 +1941,20 @@ "visibility": "internal" } ], - "src": "7071:15:1" + "src": "7273:15:0" }, - "scope": 680, - "src": "7014:73:1", + "scope": 172, + "src": "7216:73:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "6625:464:1" + "scope": 2991, + "src": "6812:480:0" }, { - "id": 681, + "id": 173, "literals": [ "solidity", ">=", @@ -1965,81 +1965,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 683, + "id": 175, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "7363:7:1", + "referencedDeclaration": 147, + "src": "7578:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 684, + "id": 176, "nodeType": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 682, + "id": 174, "nodeType": "StructuredDocumentation", - "src": "7195:136:1", + "src": "7406:139:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 709, + "id": 201, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 685, + "id": 177, "nodeType": "StructuredDocumentation", - "src": "7378:82:1", + "src": "7595:84:0", "text": " @dev Returns the total amount of tokens stored by the contract." }, "functionSelector": "18160ddd", - "id": 690, + "id": 182, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { - "id": 686, + "id": 178, "nodeType": "ParameterList", "parameters": [], - "src": "7485:2:1" + "src": "7705:2:0" }, "returnParameters": { - "id": 689, + "id": 181, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 688, + "id": 180, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 690, - "src": "7511:7:1", + "scope": 182, + "src": "7731:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2047,10 +2047,10 @@ "typeString": "uint256" }, "typeName": { - "id": 687, + "id": 179, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7511:7:1", + "src": "7731:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2059,40 +2059,40 @@ "visibility": "internal" } ], - "src": "7510:9:1" + "src": "7730:9:0" }, - "scope": 709, - "src": "7465:55:1", + "scope": 201, + "src": "7685:55:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 691, + "id": 183, "nodeType": "StructuredDocumentation", - "src": "7526:171:1", + "src": "7748:174:0", "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, "functionSelector": "2f745c59", - "id": 700, + "id": 192, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 696, + "id": 188, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 693, + "id": 185, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7731:13:1", + "scope": 192, + "src": "7957:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2100,10 +2100,10 @@ "typeString": "address" }, "typeName": { - "id": 692, + "id": 184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7731:7:1", + "src": "7957:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2114,12 +2114,12 @@ }, { "constant": false, - "id": 695, + "id": 187, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7746:13:1", + "scope": 192, + "src": "7972:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2127,10 +2127,10 @@ "typeString": "uint256" }, "typeName": { - "id": 694, + "id": 186, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7746:7:1", + "src": "7972:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2139,20 +2139,20 @@ "visibility": "internal" } ], - "src": "7730:30:1" + "src": "7956:30:0" }, "returnParameters": { - "id": 699, + "id": 191, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 698, + "id": 190, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7784:15:1", + "scope": 192, + "src": "8010:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2160,10 +2160,10 @@ "typeString": "uint256" }, "typeName": { - "id": 697, + "id": 189, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7784:7:1", + "src": "8010:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2172,40 +2172,40 @@ "visibility": "internal" } ], - "src": "7783:17:1" + "src": "8009:17:0" }, - "scope": 709, - "src": "7702:99:1", + "scope": 201, + "src": "7928:99:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 701, + "id": 193, "nodeType": "StructuredDocumentation", - "src": "7807:164:1", + "src": "8035:167:0", "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, "functionSelector": "4f6ccce7", - "id": 708, + "id": 200, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 704, + "id": 196, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 703, + "id": 195, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "7998:13:1", + "scope": 200, + "src": "8230:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2213,10 +2213,10 @@ "typeString": "uint256" }, "typeName": { - "id": 702, + "id": 194, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7998:7:1", + "src": "8230:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2225,20 +2225,20 @@ "visibility": "internal" } ], - "src": "7997:15:1" + "src": "8229:15:0" }, "returnParameters": { - "id": 707, + "id": 199, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 706, + "id": 198, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "8036:7:1", + "scope": 200, + "src": "8268:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2246,10 +2246,10 @@ "typeString": "uint256" }, "typeName": { - "id": 705, + "id": 197, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8036:7:1", + "src": "8268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2258,20 +2258,20 @@ "visibility": "internal" } ], - "src": "8035:9:1" + "src": "8267:9:0" }, - "scope": 709, - "src": "7976:69:1", + "scope": 201, + "src": "8208:69:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "7332:715:1" + "scope": 2991, + "src": "7547:733:0" }, { - "id": 710, + "id": 202, "literals": [ "solidity", ">=", @@ -2282,7 +2282,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "abstract": false, @@ -2290,45 +2290,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 711, + "id": 203, "nodeType": "StructuredDocumentation", - "src": "8150:152:1", + "src": "8390:156:0", "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, "fullyImplemented": false, - "id": 726, + "id": 218, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 712, + "id": 204, "nodeType": "StructuredDocumentation", - "src": "8335:485:1", + "src": "8581:493:0", "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, "functionSelector": "150b7a02", - "id": 725, + "id": 217, "implemented": false, "kind": "function", "modifiers": [], "name": "onERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 721, + "id": 213, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 714, + "id": 206, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8851:16:1", + "scope": 217, + "src": "9106:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2336,10 +2336,10 @@ "typeString": "address" }, "typeName": { - "id": 713, + "id": 205, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8851:7:1", + "src": "9106:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2350,12 +2350,12 @@ }, { "constant": false, - "id": 716, + "id": 208, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8869:12:1", + "scope": 217, + "src": "9124:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2363,10 +2363,10 @@ "typeString": "address" }, "typeName": { - "id": 715, + "id": 207, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8869:7:1", + "src": "9124:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2377,12 +2377,12 @@ }, { "constant": false, - "id": 718, + "id": 210, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8883:15:1", + "scope": 217, + "src": "9138:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2390,10 +2390,10 @@ "typeString": "uint256" }, "typeName": { - "id": 717, + "id": 209, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8883:7:1", + "src": "9138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2403,12 +2403,12 @@ }, { "constant": false, - "id": 720, + "id": 212, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8900:19:1", + "scope": 217, + "src": "9155:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -2416,10 +2416,10 @@ "typeString": "bytes" }, "typeName": { - "id": 719, + "id": 211, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8900:5:1", + "src": "9155:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2428,20 +2428,20 @@ "visibility": "internal" } ], - "src": "8850:70:1" + "src": "9105:70:0" }, "returnParameters": { - "id": 724, + "id": 216, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 723, + "id": 215, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8939:6:1", + "scope": 217, + "src": "9194:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2449,10 +2449,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 722, + "id": 214, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "8939:6:1", + "src": "9194:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2461,20 +2461,20 @@ "visibility": "internal" } ], - "src": "8938:8:1" + "src": "9193:8:0" }, - "scope": 726, - "src": "8825:122:1", + "scope": 218, + "src": "9080:122:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "8303:646:1" + "scope": 2991, + "src": "8548:657:0" }, { - "id": 727, + "id": 219, "literals": [ "solidity", ">=", @@ -2485,55 +2485,55 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "abstract": true, "baseContracts": [ { "baseName": { - "id": 729, + "id": 221, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "9243:7:1", + "referencedDeclaration": 33, + "src": "9511:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 730, + "id": 222, "nodeType": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "documentation": { - "id": 728, + "id": 220, "nodeType": "StructuredDocumentation", - "src": "9043:171:1", + "src": "9305:176:0", "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, "fullyImplemented": true, - "id": 781, + "id": 273, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", "nodeType": "ContractDefinition", "nodes": [ { "constant": true, - "id": 733, + "id": 225, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9340:57:1", + "scope": 273, + "src": "9612:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2541,10 +2541,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 731, + "id": 223, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9340:6:1", + "src": "9612:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2552,14 +2552,14 @@ }, "value": { "hexValue": "30783031666663396137", - "id": 732, + "id": 224, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9387:10:1", + "src": "9659:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_33540519_by_1", "typeString": "int_const 33540519" @@ -2571,17 +2571,17 @@ { "constant": false, "documentation": { - "id": 734, + "id": 226, "nodeType": "StructuredDocumentation", - "src": "9404:82:1", + "src": "9678:84:0", "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 738, + "id": 230, "mutability": "mutable", "name": "_supportedInterfaces", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9491:52:1", + "scope": 273, + "src": "9768:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2589,28 +2589,28 @@ "typeString": "mapping(bytes4 => bool)" }, "typeName": { - "id": 737, + "id": 229, "keyType": { - "id": 735, + "id": 227, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9499:6:1", + "src": "9776:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "nodeType": "Mapping", - "src": "9491:23:1", + "src": "9768:23:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" }, "valueType": { - "id": 736, + "id": 228, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9509:4:1", + "src": "9786:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2621,20 +2621,20 @@ }, { "body": { - "id": 745, + "id": 237, "nodeType": "Block", - "src": "9565:193:1", + "src": "9844:197:0", "statements": [ { "expression": { "arguments": [ { - "id": 742, + "id": 234, "name": "_INTERFACE_ID_ERC165", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 733, - "src": "9730:20:1", + "referencedDeclaration": 225, + "src": "10012:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2648,18 +2648,18 @@ "typeString": "bytes4" } ], - "id": 741, + "id": 233, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "9711:18:1", + "referencedDeclaration": 272, + "src": "9993:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 743, + "id": 235, "isConstant": false, "isLValue": false, "isPure": false, @@ -2667,74 +2667,74 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9711:40:1", + "src": "9993:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 744, + "id": 236, "nodeType": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ] }, - "id": 746, + "id": 238, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 739, + "id": 231, "nodeType": "ParameterList", "parameters": [], - "src": "9562:2:1" + "src": "9841:2:0" }, "returnParameters": { - "id": 740, + "id": 232, "nodeType": "ParameterList", "parameters": [], - "src": "9565:0:1" + "src": "9844:0:0" }, - "scope": 781, - "src": "9550:208:1", + "scope": 273, + "src": "9829:212:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "baseFunctions": [ - 540 + 32 ], "body": { - "id": 759, + "id": 251, "nodeType": "Block", - "src": "9999:57:1", + "src": "10289:59:0", "statements": [ { "expression": { "baseExpression": { - "id": 755, + "id": 247, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10016:20:1", + "referencedDeclaration": 230, + "src": "10307:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 757, + "id": 249, "indexExpression": { - "id": 756, + "id": 248, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 749, - "src": "10037:11:1", + "referencedDeclaration": 241, + "src": "10328:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2745,50 +2745,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10016:33:1", + "src": "10307:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 754, - "id": 758, + "functionReturnParameters": 246, + "id": 250, "nodeType": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ] }, "documentation": { - "id": 747, + "id": 239, "nodeType": "StructuredDocumentation", - "src": "9764:139:1", + "src": "10049:143:0", "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 760, + "id": 252, "implemented": true, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "overrides": { - "id": 751, + "id": 243, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "9975:8:1" + "src": "10265:8:0" }, "parameters": { - "id": 750, + "id": 242, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 749, + "id": 241, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9935:18:1", + "scope": 252, + "src": "10225:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2796,10 +2796,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 748, + "id": 240, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9935:6:1", + "src": "10225:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2808,20 +2808,20 @@ "visibility": "internal" } ], - "src": "9934:20:1" + "src": "10224:20:0" }, "returnParameters": { - "id": 754, + "id": 246, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 753, + "id": 245, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9993:4:1", + "scope": 252, + "src": "10283:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2829,10 +2829,10 @@ "typeString": "bool" }, "typeName": { - "id": 752, + "id": 244, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9993:4:1", + "src": "10283:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2841,19 +2841,19 @@ "visibility": "internal" } ], - "src": "9992:6:1" + "src": "10282:6:0" }, - "scope": 781, - "src": "9908:148:1", + "scope": 273, + "src": "10198:150:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 779, + "id": 271, "nodeType": "Block", - "src": "10515:133:1", + "src": "10820:136:0", "statements": [ { "expression": { @@ -2863,18 +2863,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 769, + "id": 261, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 767, + "id": 259, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10533:11:1", + "referencedDeclaration": 255, + "src": "10839:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2884,21 +2884,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30786666666666666666", - "id": 768, + "id": 260, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10548:10:1", + "src": "10854:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_4294967295_by_1", "typeString": "int_const 4294967295" }, "value": "0xffffffff" }, - "src": "10533:25:1", + "src": "10839:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2906,14 +2906,14 @@ }, { "hexValue": "4552433136353a20696e76616c696420696e74657266616365206964", - "id": 770, + "id": 262, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "10560:30:1", + "src": "10866:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_282912c0dfceceb28d77d0333f496b83948f9ba5b3154358a8b140b849289dee", "typeString": "literal_string \"ERC165: invalid interface id\"" @@ -2932,7 +2932,7 @@ "typeString": "literal_string \"ERC165: invalid interface id\"" } ], - "id": 766, + "id": 258, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -2940,13 +2940,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "10525:7:1", + "src": "10831:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 771, + "id": 263, "isConstant": false, "isLValue": false, "isPure": false, @@ -2954,45 +2954,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10525:66:1", + "src": "10831:66:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 772, + "id": 264, "nodeType": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "expression": { - "id": 777, + "id": 269, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 773, + "id": 265, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10601:20:1", + "referencedDeclaration": 230, + "src": "10908:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 775, + "id": 267, "indexExpression": { - "id": 774, + "id": 266, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10622:11:1", + "referencedDeclaration": 255, + "src": "10929:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3003,7 +3003,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "10601:33:1", + "src": "10908:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3013,56 +3013,56 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 776, + "id": 268, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "10637:4:1", + "src": "10944:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "10601:40:1", + "src": "10908:40:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 778, + "id": 270, "nodeType": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ] }, "documentation": { - "id": 761, + "id": 253, "nodeType": "StructuredDocumentation", - "src": "10062:383:1", + "src": "10356:393:0", "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 780, + "id": 272, "implemented": true, "kind": "function", "modifiers": [], "name": "_registerInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 764, + "id": 256, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 763, + "id": 255, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 780, - "src": "10478:18:1", + "scope": 272, + "src": "10783:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3070,10 +3070,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 762, + "id": 254, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "10478:6:1", + "src": "10783:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3082,26 +3082,26 @@ "visibility": "internal" } ], - "src": "10477:20:1" + "src": "10782:20:0" }, "returnParameters": { - "id": 765, + "id": 257, "nodeType": "ParameterList", "parameters": [], - "src": "10515:0:1" + "src": "10820:0:0" }, - "scope": 781, - "src": "10450:198:1", + "scope": 273, + "src": "10755:201:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "9215:1435:1" + "scope": 2991, + "src": "9483:1476:0" }, { - "id": 782, + "id": 274, "literals": [ "solidity", ">=", @@ -3112,7 +3112,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "abstract": false, @@ -3120,38 +3120,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 783, + "id": 275, "nodeType": "StructuredDocumentation", - "src": "10736:563:1", + "src": "11050:575:0", "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, "fullyImplemented": true, - "id": 1135, + "id": 627, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 813, + "id": 305, "nodeType": "Block", - "src": "11535:98:1", + "src": "11868:102:0", "statements": [ { "assignments": [ - 796 + 288 ], "declarations": [ { "constant": false, - "id": 796, + "id": 288, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 813, - "src": "11545:9:1", + "scope": 305, + "src": "11879:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3159,10 +3159,10 @@ "typeString": "uint256" }, "typeName": { - "id": 795, + "id": 287, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11545:7:1", + "src": "11879:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3171,24 +3171,24 @@ "visibility": "internal" } ], - "id": 800, + "id": 292, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 799, + "id": 291, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 797, + "id": 289, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11557:1:1", + "referencedDeclaration": 278, + "src": "11891:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3197,25 +3197,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 798, + "id": 290, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 788, - "src": "11561:1:1", + "referencedDeclaration": 280, + "src": "11895:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11557:5:1", + "src": "11891:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "condition": { @@ -3223,18 +3223,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 803, + "id": 295, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 801, + "id": 293, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11576:1:1", + "referencedDeclaration": 288, + "src": "11911:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3243,39 +3243,39 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 802, + "id": 294, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11580:1:1", + "referencedDeclaration": 278, + "src": "11915:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11576:5:1", + "src": "11911:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 808, + "id": 300, "nodeType": "IfStatement", - "src": "11572:28:1", + "src": "11907:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 804, + "id": 296, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11591:5:1", + "src": "11926:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3284,14 +3284,14 @@ }, { "hexValue": "30", - "id": 805, + "id": 297, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11598:1:1", + "src": "11933:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3299,23 +3299,23 @@ "value": "0" } ], - "id": 806, + "id": 298, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11590:10:1", + "src": "11925:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 794, - "id": 807, + "functionReturnParameters": 286, + "id": 299, "nodeType": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } }, { @@ -3323,14 +3323,14 @@ "components": [ { "hexValue": "74727565", - "id": 809, + "id": 301, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11618:4:1", + "src": "11954:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3338,62 +3338,62 @@ "value": "true" }, { - "id": 810, + "id": 302, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11624:1:1", + "referencedDeclaration": 288, + "src": "11960:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 811, + "id": 303, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11617:9:1", + "src": "11953:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 794, - "id": 812, + "functionReturnParameters": 286, + "id": 304, "nodeType": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ] }, "documentation": { - "id": 784, + "id": 276, "nodeType": "StructuredDocumentation", - "src": "11323:131:1", + "src": "11651:135:0", "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 814, + "id": 306, "implemented": true, "kind": "function", "modifiers": [], "name": "tryAdd", "nodeType": "FunctionDefinition", "parameters": { - "id": 789, + "id": 281, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 786, + "id": 278, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11475:9:1", + "scope": 306, + "src": "11808:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3401,10 +3401,10 @@ "typeString": "uint256" }, "typeName": { - "id": 785, + "id": 277, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11475:7:1", + "src": "11808:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3414,12 +3414,12 @@ }, { "constant": false, - "id": 788, + "id": 280, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11486:9:1", + "scope": 306, + "src": "11819:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3427,10 +3427,10 @@ "typeString": "uint256" }, "typeName": { - "id": 787, + "id": 279, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11486:7:1", + "src": "11819:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3439,20 +3439,20 @@ "visibility": "internal" } ], - "src": "11474:22:1" + "src": "11807:22:0" }, "returnParameters": { - "id": 794, + "id": 286, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 791, + "id": 283, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11520:4:1", + "scope": 306, + "src": "11853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3460,10 +3460,10 @@ "typeString": "bool" }, "typeName": { - "id": 790, + "id": 282, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11520:4:1", + "src": "11853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3473,12 +3473,12 @@ }, { "constant": false, - "id": 793, + "id": 285, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11526:7:1", + "scope": 306, + "src": "11859:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3486,10 +3486,10 @@ "typeString": "uint256" }, "typeName": { - "id": 792, + "id": 284, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11526:7:1", + "src": "11859:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3498,19 +3498,19 @@ "visibility": "internal" } ], - "src": "11519:15:1" + "src": "11852:15:0" }, - "scope": 1135, - "src": "11459:174:1", + "scope": 627, + "src": "11792:178:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 840, + "id": 332, "nodeType": "Block", - "src": "11855:75:1", + "src": "12199:78:0", "statements": [ { "condition": { @@ -3518,18 +3518,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 828, + "id": 320, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 826, + "id": 318, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11869:1:1", + "referencedDeclaration": 311, + "src": "12214:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3538,39 +3538,39 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 827, + "id": 319, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11873:1:1", + "referencedDeclaration": 309, + "src": "12218:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11869:5:1", + "src": "12214:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 833, + "id": 325, "nodeType": "IfStatement", - "src": "11865:28:1", + "src": "12210:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 829, + "id": 321, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11884:5:1", + "src": "12229:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3579,14 +3579,14 @@ }, { "hexValue": "30", - "id": 830, + "id": 322, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11891:1:1", + "src": "12236:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3594,23 +3594,23 @@ "value": "0" } ], - "id": 831, + "id": 323, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11883:10:1", + "src": "12228:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 825, - "id": 832, + "functionReturnParameters": 317, + "id": 324, "nodeType": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } }, { @@ -3618,14 +3618,14 @@ "components": [ { "hexValue": "74727565", - "id": 834, + "id": 326, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11911:4:1", + "src": "12257:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3637,18 +3637,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 837, + "id": 329, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 835, + "id": 327, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11917:1:1", + "referencedDeclaration": 309, + "src": "12263:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3657,68 +3657,68 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 836, + "id": 328, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11921:1:1", + "referencedDeclaration": 311, + "src": "12267:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11917:5:1", + "src": "12263:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 838, + "id": 330, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11910:13:1", + "src": "12256:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 825, - "id": 839, + "functionReturnParameters": 317, + "id": 331, "nodeType": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ] }, "documentation": { - "id": 815, + "id": 307, "nodeType": "StructuredDocumentation", - "src": "11639:135:1", + "src": "11978:139:0", "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 841, + "id": 333, "implemented": true, "kind": "function", "modifiers": [], "name": "trySub", "nodeType": "FunctionDefinition", "parameters": { - "id": 820, + "id": 312, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 817, + "id": 309, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11795:9:1", + "scope": 333, + "src": "12139:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3726,10 +3726,10 @@ "typeString": "uint256" }, "typeName": { - "id": 816, + "id": 308, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11795:7:1", + "src": "12139:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3739,12 +3739,12 @@ }, { "constant": false, - "id": 819, + "id": 311, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11806:9:1", + "scope": 333, + "src": "12150:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3752,10 +3752,10 @@ "typeString": "uint256" }, "typeName": { - "id": 818, + "id": 310, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11806:7:1", + "src": "12150:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3764,20 +3764,20 @@ "visibility": "internal" } ], - "src": "11794:22:1" + "src": "12138:22:0" }, "returnParameters": { - "id": 825, + "id": 317, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 822, + "id": 314, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11840:4:1", + "scope": 333, + "src": "12184:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3785,10 +3785,10 @@ "typeString": "bool" }, "typeName": { - "id": 821, + "id": 313, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11840:4:1", + "src": "12184:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3798,12 +3798,12 @@ }, { "constant": false, - "id": 824, + "id": 316, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11846:7:1", + "scope": 333, + "src": "12190:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3811,10 +3811,10 @@ "typeString": "uint256" }, "typeName": { - "id": 823, + "id": 315, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11846:7:1", + "src": "12190:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3823,19 +3823,19 @@ "visibility": "internal" } ], - "src": "11839:15:1" + "src": "12183:15:0" }, - "scope": 1135, - "src": "11779:151:1", + "scope": 627, + "src": "12123:154:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 881, + "id": 373, "nodeType": "Block", - "src": "12154:359:1", + "src": "12508:367:0", "statements": [ { "condition": { @@ -3843,18 +3843,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 855, + "id": 347, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 853, + "id": 345, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12386:1:1", + "referencedDeclaration": 336, + "src": "12744:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3864,42 +3864,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 854, + "id": 346, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12391:1:1", + "src": "12749:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12386:6:1", + "src": "12744:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 860, + "id": 352, "nodeType": "IfStatement", - "src": "12382:28:1", + "src": "12740:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "74727565", - "id": 856, + "id": 348, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12402:4:1", + "src": "12760:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3908,14 +3908,14 @@ }, { "hexValue": "30", - "id": 857, + "id": 349, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12408:1:1", + "src": "12766:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3923,38 +3923,38 @@ "value": "0" } ], - "id": 858, + "id": 350, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12401:9:1", + "src": "12759:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 859, + "functionReturnParameters": 344, + "id": 351, "nodeType": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } }, { "assignments": [ - 862 + 354 ], "declarations": [ { "constant": false, - "id": 862, + "id": 354, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 881, - "src": "12420:9:1", + "scope": 373, + "src": "12779:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3962,10 +3962,10 @@ "typeString": "uint256" }, "typeName": { - "id": 861, + "id": 353, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12420:7:1", + "src": "12779:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3974,24 +3974,24 @@ "visibility": "internal" } ], - "id": 866, + "id": 358, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 865, + "id": 357, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 863, + "id": 355, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12432:1:1", + "referencedDeclaration": 336, + "src": "12791:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4000,25 +4000,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 864, + "id": 356, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12436:1:1", + "referencedDeclaration": 338, + "src": "12795:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12432:5:1", + "src": "12791:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "condition": { @@ -4026,7 +4026,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 871, + "id": 363, "isConstant": false, "isLValue": false, "isPure": false, @@ -4036,18 +4036,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 869, + "id": 361, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 867, + "id": 359, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12451:1:1", + "referencedDeclaration": 354, + "src": "12811:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4056,18 +4056,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 868, + "id": 360, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12455:1:1", + "referencedDeclaration": 336, + "src": "12815:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:5:1", + "src": "12811:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4076,39 +4076,39 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 870, + "id": 362, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12460:1:1", + "referencedDeclaration": 338, + "src": "12820:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:10:1", + "src": "12811:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 876, + "id": 368, "nodeType": "IfStatement", - "src": "12447:33:1", + "src": "12807:33:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 872, + "id": 364, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12471:5:1", + "src": "12831:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4117,14 +4117,14 @@ }, { "hexValue": "30", - "id": 873, + "id": 365, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12478:1:1", + "src": "12838:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4132,23 +4132,23 @@ "value": "0" } ], - "id": 874, + "id": 366, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12470:10:1", + "src": "12830:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 875, + "functionReturnParameters": 344, + "id": 367, "nodeType": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } }, { @@ -4156,14 +4156,14 @@ "components": [ { "hexValue": "74727565", - "id": 877, + "id": 369, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12498:4:1", + "src": "12859:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4171,62 +4171,62 @@ "value": "true" }, { - "id": 878, + "id": 370, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12504:1:1", + "referencedDeclaration": 354, + "src": "12865:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 879, + "id": 371, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12497:9:1", + "src": "12858:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 852, - "id": 880, + "functionReturnParameters": 344, + "id": 372, "nodeType": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ] }, "documentation": { - "id": 842, + "id": 334, "nodeType": "StructuredDocumentation", - "src": "11936:137:1", + "src": "12285:141:0", "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 882, + "id": 374, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMul", "nodeType": "FunctionDefinition", "parameters": { - "id": 847, + "id": 339, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 844, + "id": 336, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12094:9:1", + "scope": 374, + "src": "12448:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4234,10 +4234,10 @@ "typeString": "uint256" }, "typeName": { - "id": 843, + "id": 335, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12094:7:1", + "src": "12448:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4247,12 +4247,12 @@ }, { "constant": false, - "id": 846, + "id": 338, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12105:9:1", + "scope": 374, + "src": "12459:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4260,10 +4260,10 @@ "typeString": "uint256" }, "typeName": { - "id": 845, + "id": 337, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12105:7:1", + "src": "12459:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4272,20 +4272,20 @@ "visibility": "internal" } ], - "src": "12093:22:1" + "src": "12447:22:0" }, "returnParameters": { - "id": 852, + "id": 344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 849, + "id": 341, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12139:4:1", + "scope": 374, + "src": "12493:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4293,10 +4293,10 @@ "typeString": "bool" }, "typeName": { - "id": 848, + "id": 340, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12139:4:1", + "src": "12493:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4306,12 +4306,12 @@ }, { "constant": false, - "id": 851, + "id": 343, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12145:7:1", + "scope": 374, + "src": "12499:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4319,10 +4319,10 @@ "typeString": "uint256" }, "typeName": { - "id": 850, + "id": 342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12145:7:1", + "src": "12499:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4331,19 +4331,19 @@ "visibility": "internal" } ], - "src": "12138:15:1" + "src": "12492:15:0" }, - "scope": 1135, - "src": "12078:435:1", + "scope": 627, + "src": "12432:443:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 908, + "id": 400, "nodeType": "Block", - "src": "12738:76:1", + "src": "13107:79:0", "statements": [ { "condition": { @@ -4351,18 +4351,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 896, + "id": 388, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 894, + "id": 386, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12752:1:1", + "referencedDeclaration": 379, + "src": "13122:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4372,42 +4372,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 895, + "id": 387, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12757:1:1", + "src": "13127:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12752:6:1", + "src": "13122:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 901, + "id": 393, "nodeType": "IfStatement", - "src": "12748:29:1", + "src": "13118:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 897, + "id": 389, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12768:5:1", + "src": "13138:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4416,14 +4416,14 @@ }, { "hexValue": "30", - "id": 898, + "id": 390, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12775:1:1", + "src": "13145:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4431,23 +4431,23 @@ "value": "0" } ], - "id": 899, + "id": 391, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12767:10:1", + "src": "13137:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 893, - "id": 900, + "functionReturnParameters": 385, + "id": 392, "nodeType": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } }, { @@ -4455,14 +4455,14 @@ "components": [ { "hexValue": "74727565", - "id": 902, + "id": 394, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12795:4:1", + "src": "13166:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4474,18 +4474,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 905, + "id": 397, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 903, + "id": 395, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 885, - "src": "12801:1:1", + "referencedDeclaration": 377, + "src": "13172:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4494,68 +4494,68 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 904, + "id": 396, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12805:1:1", + "referencedDeclaration": 379, + "src": "13176:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12801:5:1", + "src": "13172:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 906, + "id": 398, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12794:13:1", + "src": "13165:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 893, - "id": 907, + "functionReturnParameters": 385, + "id": 399, "nodeType": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ] }, "documentation": { - "id": 883, + "id": 375, "nodeType": "StructuredDocumentation", - "src": "12519:138:1", + "src": "12883:142:0", "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 909, + "id": 401, "implemented": true, "kind": "function", "modifiers": [], "name": "tryDiv", "nodeType": "FunctionDefinition", "parameters": { - "id": 888, + "id": 380, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 885, + "id": 377, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12678:9:1", + "scope": 401, + "src": "13047:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4563,10 +4563,10 @@ "typeString": "uint256" }, "typeName": { - "id": 884, + "id": 376, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12678:7:1", + "src": "13047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4576,12 +4576,12 @@ }, { "constant": false, - "id": 887, + "id": 379, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12689:9:1", + "scope": 401, + "src": "13058:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4589,10 +4589,10 @@ "typeString": "uint256" }, "typeName": { - "id": 886, + "id": 378, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12689:7:1", + "src": "13058:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4601,20 +4601,20 @@ "visibility": "internal" } ], - "src": "12677:22:1" + "src": "13046:22:0" }, "returnParameters": { - "id": 893, + "id": 385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 890, + "id": 382, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12723:4:1", + "scope": 401, + "src": "13092:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4622,10 +4622,10 @@ "typeString": "bool" }, "typeName": { - "id": 889, + "id": 381, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12723:4:1", + "src": "13092:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4635,12 +4635,12 @@ }, { "constant": false, - "id": 892, + "id": 384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12729:7:1", + "scope": 401, + "src": "13098:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4648,10 +4648,10 @@ "typeString": "uint256" }, "typeName": { - "id": 891, + "id": 383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12729:7:1", + "src": "13098:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4660,19 +4660,19 @@ "visibility": "internal" } ], - "src": "12722:15:1" + "src": "13091:15:0" }, - "scope": 1135, - "src": "12662:152:1", + "scope": 627, + "src": "13031:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 935, + "id": 427, "nodeType": "Block", - "src": "13049:76:1", + "src": "13428:79:0", "statements": [ { "condition": { @@ -4680,18 +4680,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 923, + "id": 415, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 921, + "id": 413, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13063:1:1", + "referencedDeclaration": 406, + "src": "13443:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4701,42 +4701,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 922, + "id": 414, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13068:1:1", + "src": "13448:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "13063:6:1", + "src": "13443:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 928, + "id": 420, "nodeType": "IfStatement", - "src": "13059:29:1", + "src": "13439:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 924, + "id": 416, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13079:5:1", + "src": "13459:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4745,14 +4745,14 @@ }, { "hexValue": "30", - "id": 925, + "id": 417, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13086:1:1", + "src": "13466:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4760,23 +4760,23 @@ "value": "0" } ], - "id": 926, + "id": 418, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13078:10:1", + "src": "13458:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 920, - "id": 927, + "functionReturnParameters": 412, + "id": 419, "nodeType": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } }, { @@ -4784,14 +4784,14 @@ "components": [ { "hexValue": "74727565", - "id": 929, + "id": 421, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13106:4:1", + "src": "13487:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4803,18 +4803,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 932, + "id": 424, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 930, + "id": 422, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 912, - "src": "13112:1:1", + "referencedDeclaration": 404, + "src": "13493:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4823,68 +4823,68 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 931, + "id": 423, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13116:1:1", + "referencedDeclaration": 406, + "src": "13497:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13112:5:1", + "src": "13493:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 933, + "id": 425, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13105:13:1", + "src": "13486:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 920, - "id": 934, + "functionReturnParameters": 412, + "id": 426, "nodeType": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ] }, "documentation": { - "id": 910, + "id": 402, "nodeType": "StructuredDocumentation", - "src": "12820:148:1", + "src": "13194:152:0", "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 936, + "id": 428, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMod", "nodeType": "FunctionDefinition", "parameters": { - "id": 915, + "id": 407, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 912, + "id": 404, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "12989:9:1", + "scope": 428, + "src": "13368:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4892,10 +4892,10 @@ "typeString": "uint256" }, "typeName": { - "id": 911, + "id": 403, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12989:7:1", + "src": "13368:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4905,12 +4905,12 @@ }, { "constant": false, - "id": 914, + "id": 406, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13000:9:1", + "scope": 428, + "src": "13379:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4918,10 +4918,10 @@ "typeString": "uint256" }, "typeName": { - "id": 913, + "id": 405, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13000:7:1", + "src": "13379:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4930,20 +4930,20 @@ "visibility": "internal" } ], - "src": "12988:22:1" + "src": "13367:22:0" }, "returnParameters": { - "id": 920, + "id": 412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 917, + "id": 409, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13034:4:1", + "scope": 428, + "src": "13413:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4951,10 +4951,10 @@ "typeString": "bool" }, "typeName": { - "id": 916, + "id": 408, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "13034:4:1", + "src": "13413:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4964,12 +4964,12 @@ }, { "constant": false, - "id": 919, + "id": 411, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13040:7:1", + "scope": 428, + "src": "13419:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4977,10 +4977,10 @@ "typeString": "uint256" }, "typeName": { - "id": 918, + "id": 410, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13040:7:1", + "src": "13419:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4989,33 +4989,33 @@ "visibility": "internal" } ], - "src": "13033:15:1" + "src": "13412:15:0" }, - "scope": 1135, - "src": "12973:152:1", + "scope": 627, + "src": "13352:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 961, + "id": 453, "nodeType": "Block", - "src": "13427:108:1", + "src": "13821:112:0", "statements": [ { "assignments": [ - 947 + 439 ], "declarations": [ { "constant": false, - "id": 947, + "id": 439, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 961, - "src": "13437:9:1", + "scope": 453, + "src": "13832:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5023,10 +5023,10 @@ "typeString": "uint256" }, "typeName": { - "id": 946, + "id": 438, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13437:7:1", + "src": "13832:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5035,24 +5035,24 @@ "visibility": "internal" } ], - "id": 951, + "id": 443, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 950, + "id": 442, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 948, + "id": 440, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13449:1:1", + "referencedDeclaration": 431, + "src": "13844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5061,25 +5061,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 949, + "id": 441, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 941, - "src": "13453:1:1", + "referencedDeclaration": 433, + "src": "13848:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13449:5:1", + "src": "13844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "expression": { @@ -5089,18 +5089,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 955, + "id": 447, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 953, + "id": 445, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13472:1:1", + "referencedDeclaration": 439, + "src": "13868:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5109,18 +5109,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 954, + "id": 446, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13477:1:1", + "referencedDeclaration": 431, + "src": "13873:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13472:6:1", + "src": "13868:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5128,14 +5128,14 @@ }, { "hexValue": "536166654d6174683a206164646974696f6e206f766572666c6f77", - "id": 956, + "id": 448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13480:29:1", + "src": "13876:29:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_30cc447bcc13b3e22b45cef0dd9b0b514842d836dd9b6eb384e20dedfb47723a", "typeString": "literal_string \"SafeMath: addition overflow\"" @@ -5154,7 +5154,7 @@ "typeString": "literal_string \"SafeMath: addition overflow\"" } ], - "id": 952, + "id": 444, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5162,13 +5162,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13464:7:1", + "src": "13860:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 957, + "id": 449, "isConstant": false, "isLValue": false, "isPure": false, @@ -5176,61 +5176,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13464:46:1", + "src": "13860:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 958, + "id": 450, "nodeType": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "expression": { - "id": 959, + "id": 451, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13527:1:1", + "referencedDeclaration": 439, + "src": "13924:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 945, - "id": 960, + "functionReturnParameters": 437, + "id": 452, "nodeType": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ] }, "documentation": { - "id": 937, + "id": 429, "nodeType": "StructuredDocumentation", - "src": "13131:224:1", + "src": "13515:233:0", "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 962, + "id": 454, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 942, + "id": 434, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 939, + "id": 431, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13373:9:1", + "scope": 454, + "src": "13767:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5238,10 +5238,10 @@ "typeString": "uint256" }, "typeName": { - "id": 938, + "id": 430, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13373:7:1", + "src": "13767:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5251,12 +5251,12 @@ }, { "constant": false, - "id": 941, + "id": 433, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13384:9:1", + "scope": 454, + "src": "13778:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5264,10 +5264,10 @@ "typeString": "uint256" }, "typeName": { - "id": 940, + "id": 432, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13384:7:1", + "src": "13778:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5276,20 +5276,20 @@ "visibility": "internal" } ], - "src": "13372:22:1" + "src": "13766:22:0" }, "returnParameters": { - "id": 945, + "id": 437, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 944, + "id": 436, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13418:7:1", + "scope": 454, + "src": "13812:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5297,10 +5297,10 @@ "typeString": "uint256" }, "typeName": { - "id": 943, + "id": 435, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13418:7:1", + "src": "13812:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5309,19 +5309,19 @@ "visibility": "internal" } ], - "src": "13417:9:1" + "src": "13811:9:0" }, - "scope": 1135, - "src": "13360:175:1", + "scope": 627, + "src": "13754:179:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 983, + "id": 475, "nodeType": "Block", - "src": "13873:88:1", + "src": "14283:91:0", "statements": [ { "expression": { @@ -5331,18 +5331,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 975, + "id": 467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 973, + "id": 465, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13891:1:1", + "referencedDeclaration": 459, + "src": "14302:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5351,18 +5351,18 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 974, + "id": 466, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13896:1:1", + "referencedDeclaration": 457, + "src": "14307:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13891:6:1", + "src": "14302:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5370,14 +5370,14 @@ }, { "hexValue": "536166654d6174683a207375627472616374696f6e206f766572666c6f77", - "id": 976, + "id": 468, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13899:32:1", + "src": "14310:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_50b058e9b5320e58880d88223c9801cd9eecdcf90323d5c2318bc1b6b916e862", "typeString": "literal_string \"SafeMath: subtraction overflow\"" @@ -5396,7 +5396,7 @@ "typeString": "literal_string \"SafeMath: subtraction overflow\"" } ], - "id": 972, + "id": 464, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5404,13 +5404,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13883:7:1", + "src": "14294:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 977, + "id": 469, "isConstant": false, "isLValue": false, "isPure": false, @@ -5418,16 +5418,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13883:49:1", + "src": "14294:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 978, + "id": 470, "nodeType": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "expression": { @@ -5435,18 +5435,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 981, + "id": 473, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 979, + "id": 471, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13949:1:1", + "referencedDeclaration": 457, + "src": "14361:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5455,54 +5455,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 980, + "id": 472, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13953:1:1", + "referencedDeclaration": 459, + "src": "14365:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13949:5:1", + "src": "14361:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 971, - "id": 982, + "functionReturnParameters": 463, + "id": 474, "nodeType": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ] }, "documentation": { - "id": 963, + "id": 455, "nodeType": "StructuredDocumentation", - "src": "13541:260:1", + "src": "13941:269:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 984, + "id": 476, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 968, + "id": 460, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 965, + "id": 457, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13819:9:1", + "scope": 476, + "src": "14229:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5510,10 +5510,10 @@ "typeString": "uint256" }, "typeName": { - "id": 964, + "id": 456, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13819:7:1", + "src": "14229:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5523,12 +5523,12 @@ }, { "constant": false, - "id": 967, + "id": 459, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13830:9:1", + "scope": 476, + "src": "14240:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5536,10 +5536,10 @@ "typeString": "uint256" }, "typeName": { - "id": 966, + "id": 458, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13830:7:1", + "src": "14240:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5548,20 +5548,20 @@ "visibility": "internal" } ], - "src": "13818:22:1" + "src": "14228:22:0" }, "returnParameters": { - "id": 971, + "id": 463, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 970, + "id": 462, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13864:7:1", + "scope": 476, + "src": "14274:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5569,10 +5569,10 @@ "typeString": "uint256" }, "typeName": { - "id": 969, + "id": 461, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13864:7:1", + "src": "14274:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5581,19 +5581,19 @@ "visibility": "internal" } ], - "src": "13863:9:1" + "src": "14273:9:0" }, - "scope": 1135, - "src": "13806:155:1", + "scope": 627, + "src": "14216:158:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1017, + "id": 509, "nodeType": "Block", - "src": "14275:148:1", + "src": "14700:153:0", "statements": [ { "condition": { @@ -5601,18 +5601,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 996, + "id": 488, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 994, + "id": 486, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14289:1:1", + "referencedDeclaration": 479, + "src": "14715:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5622,65 +5622,65 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 995, + "id": 487, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14294:1:1", + "src": "14720:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14289:6:1", + "src": "14715:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 999, + "id": 491, "nodeType": "IfStatement", - "src": "14285:20:1", + "src": "14711:20:0", "trueBody": { "expression": { "hexValue": "30", - "id": 997, + "id": 489, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14304:1:1", + "src": "14730:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "functionReturnParameters": 993, - "id": 998, + "functionReturnParameters": 485, + "id": 490, "nodeType": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } }, { "assignments": [ - 1001 + 493 ], "declarations": [ { "constant": false, - "id": 1001, + "id": 493, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 1017, - "src": "14315:9:1", + "scope": 509, + "src": "14742:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5688,10 +5688,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1000, + "id": 492, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14315:7:1", + "src": "14742:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5700,24 +5700,24 @@ "visibility": "internal" } ], - "id": 1005, + "id": 497, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1004, + "id": 496, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1002, + "id": 494, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14327:1:1", + "referencedDeclaration": 479, + "src": "14754:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5726,25 +5726,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 1003, + "id": 495, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14331:1:1", + "referencedDeclaration": 481, + "src": "14758:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14327:5:1", + "src": "14754:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "expression": { @@ -5754,7 +5754,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1011, + "id": 503, "isConstant": false, "isLValue": false, "isPure": false, @@ -5764,18 +5764,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1009, + "id": 501, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1007, + "id": 499, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14350:1:1", + "referencedDeclaration": 493, + "src": "14778:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5784,18 +5784,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1008, + "id": 500, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14354:1:1", + "referencedDeclaration": 479, + "src": "14782:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:5:1", + "src": "14778:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5804,18 +5804,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 1010, + "id": 502, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14359:1:1", + "referencedDeclaration": 481, + "src": "14787:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:10:1", + "src": "14778:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5823,14 +5823,14 @@ }, { "hexValue": "536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77", - "id": 1012, + "id": 504, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14362:35:1", + "src": "14790:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9113bb53c2876a3805b2c9242029423fc540a728243ce887ab24c82cf119fba3", "typeString": "literal_string \"SafeMath: multiplication overflow\"" @@ -5849,7 +5849,7 @@ "typeString": "literal_string \"SafeMath: multiplication overflow\"" } ], - "id": 1006, + "id": 498, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5857,13 +5857,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14342:7:1", + "src": "14770:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1013, + "id": 505, "isConstant": false, "isLValue": false, "isPure": false, @@ -5871,61 +5871,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14342:56:1", + "src": "14770:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1014, + "id": 506, "nodeType": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "expression": { - "id": 1015, + "id": 507, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14415:1:1", + "referencedDeclaration": 493, + "src": "14844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 993, - "id": 1016, + "functionReturnParameters": 485, + "id": 508, "nodeType": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ] }, "documentation": { - "id": 985, + "id": 477, "nodeType": "StructuredDocumentation", - "src": "13967:236:1", + "src": "14382:245:0", "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 1018, + "id": 510, "implemented": true, "kind": "function", "modifiers": [], "name": "mul", "nodeType": "FunctionDefinition", "parameters": { - "id": 990, + "id": 482, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 987, + "id": 479, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14221:9:1", + "scope": 510, + "src": "14646:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5933,10 +5933,10 @@ "typeString": "uint256" }, "typeName": { - "id": 986, + "id": 478, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14221:7:1", + "src": "14646:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5946,12 +5946,12 @@ }, { "constant": false, - "id": 989, + "id": 481, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14232:9:1", + "scope": 510, + "src": "14657:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5959,10 +5959,10 @@ "typeString": "uint256" }, "typeName": { - "id": 988, + "id": 480, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14232:7:1", + "src": "14657:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5971,20 +5971,20 @@ "visibility": "internal" } ], - "src": "14220:22:1" + "src": "14645:22:0" }, "returnParameters": { - "id": 993, + "id": 485, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 992, + "id": 484, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14266:7:1", + "scope": 510, + "src": "14691:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5992,10 +5992,10 @@ "typeString": "uint256" }, "typeName": { - "id": 991, + "id": 483, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14266:7:1", + "src": "14691:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6004,19 +6004,19 @@ "visibility": "internal" } ], - "src": "14265:9:1" + "src": "14690:9:0" }, - "scope": 1135, - "src": "14208:215:1", + "scope": 627, + "src": "14633:220:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1039, + "id": 531, "nodeType": "Block", - "src": "14954:83:1", + "src": "15398:86:0", "statements": [ { "expression": { @@ -6026,18 +6026,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1031, + "id": 523, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1029, + "id": 521, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "14972:1:1", + "referencedDeclaration": 515, + "src": "15417:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6047,21 +6047,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1030, + "id": 522, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14976:1:1", + "src": "15421:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14972:5:1", + "src": "15417:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6069,14 +6069,14 @@ }, { "hexValue": "536166654d6174683a206469766973696f6e206279207a65726f", - "id": 1032, + "id": 524, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14979:28:1", + "src": "15424:28:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5b7cc70dda4dc2143e5adb63bd5d1f349504f461dbdfd9bc76fac1f8ca6d019f", "typeString": "literal_string \"SafeMath: division by zero\"" @@ -6095,7 +6095,7 @@ "typeString": "literal_string \"SafeMath: division by zero\"" } ], - "id": 1028, + "id": 520, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6103,13 +6103,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14964:7:1", + "src": "15409:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1033, + "id": 525, "isConstant": false, "isLValue": false, "isPure": false, @@ -6117,16 +6117,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14964:44:1", + "src": "15409:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1034, + "id": 526, "nodeType": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "expression": { @@ -6134,18 +6134,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1037, + "id": 529, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1035, + "id": 527, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1021, - "src": "15025:1:1", + "referencedDeclaration": 513, + "src": "15471:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6154,54 +6154,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1036, + "id": 528, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "15029:1:1", + "referencedDeclaration": 515, + "src": "15475:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15025:5:1", + "src": "15471:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1027, - "id": 1038, + "functionReturnParameters": 519, + "id": 530, "nodeType": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ] }, "documentation": { - "id": 1019, + "id": 511, "nodeType": "StructuredDocumentation", - "src": "14429:453:1", + "src": "14861:464:0", "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1040, + "id": 532, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1024, + "id": 516, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1021, + "id": 513, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14900:9:1", + "scope": 532, + "src": "15344:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6209,10 +6209,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1020, + "id": 512, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14900:7:1", + "src": "15344:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6222,12 +6222,12 @@ }, { "constant": false, - "id": 1023, + "id": 515, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14911:9:1", + "scope": 532, + "src": "15355:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6235,10 +6235,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1022, + "id": 514, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14911:7:1", + "src": "15355:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6247,20 +6247,20 @@ "visibility": "internal" } ], - "src": "14899:22:1" + "src": "15343:22:0" }, "returnParameters": { - "id": 1027, + "id": 519, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1026, + "id": 518, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14945:7:1", + "scope": 532, + "src": "15389:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6268,10 +6268,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1025, + "id": 517, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14945:7:1", + "src": "15389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6280,19 +6280,19 @@ "visibility": "internal" } ], - "src": "14944:9:1" + "src": "15388:9:0" }, - "scope": 1135, - "src": "14887:150:1", + "scope": 627, + "src": "15331:153:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1061, + "id": 553, "nodeType": "Block", - "src": "15557:81:1", + "src": "16018:84:0", "statements": [ { "expression": { @@ -6302,18 +6302,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1053, + "id": 545, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1051, + "id": 543, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15575:1:1", + "referencedDeclaration": 537, + "src": "16037:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6323,21 +6323,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1052, + "id": 544, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15579:1:1", + "src": "16041:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "15575:5:1", + "src": "16037:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6345,14 +6345,14 @@ }, { "hexValue": "536166654d6174683a206d6f64756c6f206279207a65726f", - "id": 1054, + "id": 546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "15582:26:1", + "src": "16044:26:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_726e51f7b81fce0a68f5f214f445e275313b20b1633f08ce954ee39abf8d7832", "typeString": "literal_string \"SafeMath: modulo by zero\"" @@ -6371,7 +6371,7 @@ "typeString": "literal_string \"SafeMath: modulo by zero\"" } ], - "id": 1050, + "id": 542, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6379,13 +6379,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "15567:7:1", + "src": "16029:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1055, + "id": 547, "isConstant": false, "isLValue": false, "isPure": false, @@ -6393,16 +6393,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15567:42:1", + "src": "16029:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1056, + "id": 548, "nodeType": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "expression": { @@ -6410,18 +6410,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1059, + "id": 551, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1057, + "id": 549, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1043, - "src": "15626:1:1", + "referencedDeclaration": 535, + "src": "16089:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6430,54 +6430,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1058, + "id": 550, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15630:1:1", + "referencedDeclaration": 537, + "src": "16093:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15626:5:1", + "src": "16089:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1049, - "id": 1060, + "functionReturnParameters": 541, + "id": 552, "nodeType": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ] }, "documentation": { - "id": 1041, + "id": 533, "nodeType": "StructuredDocumentation", - "src": "15043:442:1", + "src": "15492:453:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1062, + "id": 554, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1046, + "id": 538, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1043, + "id": 535, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15503:9:1", + "scope": 554, + "src": "15964:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6485,10 +6485,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1042, + "id": 534, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15503:7:1", + "src": "15964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6498,12 +6498,12 @@ }, { "constant": false, - "id": 1045, + "id": 537, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15514:9:1", + "scope": 554, + "src": "15975:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6511,10 +6511,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1044, + "id": 536, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15514:7:1", + "src": "15975:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6523,20 +6523,20 @@ "visibility": "internal" } ], - "src": "15502:22:1" + "src": "15963:22:0" }, "returnParameters": { - "id": 1049, + "id": 541, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1048, + "id": 540, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15548:7:1", + "scope": 554, + "src": "16009:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6544,10 +6544,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1047, + "id": 539, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15548:7:1", + "src": "16009:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6556,19 +6556,19 @@ "visibility": "internal" } ], - "src": "15547:9:1" + "src": "16008:9:0" }, - "scope": 1135, - "src": "15490:148:1", + "scope": 627, + "src": "15951:151:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1085, + "id": 577, "nodeType": "Block", - "src": "16197:68:1", + "src": "16676:71:0", "statements": [ { "expression": { @@ -6578,18 +6578,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1077, + "id": 569, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1075, + "id": 567, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16215:1:1", + "referencedDeclaration": 559, + "src": "16695:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6598,30 +6598,30 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 1076, + "id": 568, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16220:1:1", + "referencedDeclaration": 557, + "src": "16700:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16215:6:1", + "src": "16695:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1078, + "id": 570, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1069, - "src": "16223:12:1", + "referencedDeclaration": 561, + "src": "16703:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6639,7 +6639,7 @@ "typeString": "string memory" } ], - "id": 1074, + "id": 566, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6647,13 +6647,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "16207:7:1", + "src": "16687:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1079, + "id": 571, "isConstant": false, "isLValue": false, "isPure": false, @@ -6661,16 +6661,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16207:29:1", + "src": "16687:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1080, + "id": 572, "nodeType": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "expression": { @@ -6678,18 +6678,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1083, + "id": 575, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1081, + "id": 573, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16253:1:1", + "referencedDeclaration": 557, + "src": "16734:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6698,54 +6698,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 1082, + "id": 574, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16257:1:1", + "referencedDeclaration": 559, + "src": "16738:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16253:5:1", + "src": "16734:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1073, - "id": 1084, + "functionReturnParameters": 565, + "id": 576, "nodeType": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ] }, "documentation": { - "id": 1063, + "id": 555, "nodeType": "StructuredDocumentation", - "src": "15644:453:1", + "src": "16110:465:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1086, + "id": 578, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 1070, + "id": 562, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1065, + "id": 557, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16115:9:1", + "scope": 578, + "src": "16594:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6753,10 +6753,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1064, + "id": 556, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16115:7:1", + "src": "16594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6766,12 +6766,12 @@ }, { "constant": false, - "id": 1067, + "id": 559, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16126:9:1", + "scope": 578, + "src": "16605:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6779,10 +6779,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1066, + "id": 558, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16126:7:1", + "src": "16605:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6792,12 +6792,12 @@ }, { "constant": false, - "id": 1069, + "id": 561, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16137:26:1", + "scope": 578, + "src": "16616:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -6805,10 +6805,10 @@ "typeString": "string" }, "typeName": { - "id": 1068, + "id": 560, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16137:6:1", + "src": "16616:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -6817,20 +6817,20 @@ "visibility": "internal" } ], - "src": "16114:50:1" + "src": "16593:50:0" }, "returnParameters": { - "id": 1073, + "id": 565, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1072, + "id": 564, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16188:7:1", + "scope": 578, + "src": "16667:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6838,10 +6838,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1071, + "id": 563, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16188:7:1", + "src": "16667:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6850,19 +6850,19 @@ "visibility": "internal" } ], - "src": "16187:9:1" + "src": "16666:9:0" }, - "scope": 1135, - "src": "16102:163:1", + "scope": 627, + "src": "16581:166:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1109, + "id": 601, "nodeType": "Block", - "src": "17017:67:1", + "src": "17516:70:0", "statements": [ { "expression": { @@ -6872,18 +6872,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1101, + "id": 593, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1099, + "id": 591, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17035:1:1", + "referencedDeclaration": 583, + "src": "17535:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6893,33 +6893,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1100, + "id": 592, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17039:1:1", + "src": "17539:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17035:5:1", + "src": "17535:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1102, + "id": 594, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1093, - "src": "17042:12:1", + "referencedDeclaration": 585, + "src": "17542:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6937,7 +6937,7 @@ "typeString": "string memory" } ], - "id": 1098, + "id": 590, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6945,13 +6945,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17027:7:1", + "src": "17527:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1103, + "id": 595, "isConstant": false, "isLValue": false, "isPure": false, @@ -6959,16 +6959,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17027:28:1", + "src": "17527:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1104, + "id": 596, "nodeType": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "expression": { @@ -6976,18 +6976,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1107, + "id": 599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1105, + "id": 597, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1089, - "src": "17072:1:1", + "referencedDeclaration": 581, + "src": "17573:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6996,54 +6996,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1106, + "id": 598, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17076:1:1", + "referencedDeclaration": 583, + "src": "17577:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17072:5:1", + "src": "17573:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1097, - "id": 1108, + "functionReturnParameters": 589, + "id": 600, "nodeType": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ] }, "documentation": { - "id": 1087, + "id": 579, "nodeType": "StructuredDocumentation", - "src": "16271:646:1", + "src": "16755:660:0", "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1110, + "id": 602, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1094, + "id": 586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1089, + "id": 581, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16935:9:1", + "scope": 602, + "src": "17434:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7051,10 +7051,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1088, + "id": 580, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16935:7:1", + "src": "17434:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7064,12 +7064,12 @@ }, { "constant": false, - "id": 1091, + "id": 583, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16946:9:1", + "scope": 602, + "src": "17445:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7077,10 +7077,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1090, + "id": 582, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16946:7:1", + "src": "17445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7090,12 +7090,12 @@ }, { "constant": false, - "id": 1093, + "id": 585, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16957:26:1", + "scope": 602, + "src": "17456:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7103,10 +7103,10 @@ "typeString": "string" }, "typeName": { - "id": 1092, + "id": 584, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16957:6:1", + "src": "17456:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7115,20 +7115,20 @@ "visibility": "internal" } ], - "src": "16934:50:1" + "src": "17433:50:0" }, "returnParameters": { - "id": 1097, + "id": 589, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1096, + "id": 588, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "17008:7:1", + "scope": 602, + "src": "17507:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7136,10 +7136,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1095, + "id": 587, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17008:7:1", + "src": "17507:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7148,19 +7148,19 @@ "visibility": "internal" } ], - "src": "17007:9:1" + "src": "17506:9:0" }, - "scope": 1135, - "src": "16922:162:1", + "scope": 627, + "src": "17421:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1133, + "id": 625, "nodeType": "Block", - "src": "17825:67:1", + "src": "18344:70:0", "statements": [ { "expression": { @@ -7170,18 +7170,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1125, + "id": 617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1123, + "id": 615, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17843:1:1", + "referencedDeclaration": 607, + "src": "18363:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7191,33 +7191,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1124, + "id": 616, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17847:1:1", + "src": "18367:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17843:5:1", + "src": "18363:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1126, + "id": 618, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1117, - "src": "17850:12:1", + "referencedDeclaration": 609, + "src": "18370:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7235,7 +7235,7 @@ "typeString": "string memory" } ], - "id": 1122, + "id": 614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7243,13 +7243,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17835:7:1", + "src": "18355:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1127, + "id": 619, "isConstant": false, "isLValue": false, "isPure": false, @@ -7257,16 +7257,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17835:28:1", + "src": "18355:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1128, + "id": 620, "nodeType": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "expression": { @@ -7274,18 +7274,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1131, + "id": 623, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1129, + "id": 621, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1113, - "src": "17880:1:1", + "referencedDeclaration": 605, + "src": "18401:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7294,54 +7294,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1130, + "id": 622, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17884:1:1", + "referencedDeclaration": 607, + "src": "18405:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17880:5:1", + "src": "18401:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1121, - "id": 1132, + "functionReturnParameters": 613, + "id": 624, "nodeType": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ] }, "documentation": { - "id": 1111, + "id": 603, "nodeType": "StructuredDocumentation", - "src": "17090:635:1", + "src": "17594:649:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1134, + "id": 626, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1118, + "id": 610, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1113, + "id": 605, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17743:9:1", + "scope": 626, + "src": "18262:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7349,10 +7349,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1112, + "id": 604, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17743:7:1", + "src": "18262:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7362,12 +7362,12 @@ }, { "constant": false, - "id": 1115, + "id": 607, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17754:9:1", + "scope": 626, + "src": "18273:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7375,10 +7375,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1114, + "id": 606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17754:7:1", + "src": "18273:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7388,12 +7388,12 @@ }, { "constant": false, - "id": 1117, + "id": 609, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17765:26:1", + "scope": 626, + "src": "18284:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7401,10 +7401,10 @@ "typeString": "string" }, "typeName": { - "id": 1116, + "id": 608, "name": "string", "nodeType": "ElementaryTypeName", - "src": "17765:6:1", + "src": "18284:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7413,20 +7413,20 @@ "visibility": "internal" } ], - "src": "17742:50:1" + "src": "18261:50:0" }, "returnParameters": { - "id": 1121, + "id": 613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1120, + "id": 612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17816:7:1", + "scope": 626, + "src": "18335:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7434,10 +7434,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1119, + "id": 611, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17816:7:1", + "src": "18335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7446,20 +7446,20 @@ "visibility": "internal" } ], - "src": "17815:9:1" + "src": "18334:9:0" }, - "scope": 1135, - "src": "17730:162:1", + "scope": 627, + "src": "18249:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "11300:6594:1" + "scope": 2991, + "src": "11627:6790:0" }, { - "id": 1136, + "id": 628, "literals": [ "solidity", ">=", @@ -7470,7 +7470,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "abstract": false, @@ -7478,38 +7478,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1137, + "id": 629, "nodeType": "StructuredDocumentation", - "src": "17980:67:1", + "src": "18508:69:0", "text": " @dev Collection of functions related to the address type" }, "fullyImplemented": true, - "id": 1430, + "id": 922, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1153, + "id": 645, "nodeType": "Block", - "src": "18706:347:1", + "src": "19255:356:0", "statements": [ { "assignments": [ - 1146 + 638 ], "declarations": [ { "constant": false, - "id": 1146, + "id": 638, "mutability": "mutable", "name": "size", "nodeType": "VariableDeclaration", - "scope": 1153, - "src": "18903:12:1", + "scope": 645, + "src": "19457:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7517,10 +7517,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1145, + "id": 637, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "18903:7:1", + "src": "19457:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7529,39 +7529,39 @@ "visibility": "internal" } ], - "id": 1147, + "id": 639, "nodeType": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "AST": { "nodeType": "YulBlock", - "src": "18990:32:1", + "src": "19546:32:0", "statements": [ { "nodeType": "YulAssignment", - "src": "18992:28:1", + "src": "19548:28:0", "value": { "arguments": [ { "name": "account", "nodeType": "YulIdentifier", - "src": "19012:7:1" + "src": "19568:7:0" } ], "functionName": { "name": "extcodesize", "nodeType": "YulIdentifier", - "src": "19000:11:1" + "src": "19556:11:0" }, "nodeType": "YulFunctionCall", - "src": "19000:20:1" + "src": "19556:20:0" }, "variableNames": [ { "name": "size", "nodeType": "YulIdentifier", - "src": "18992:4:1" + "src": "19548:4:0" } ] } @@ -7570,23 +7570,23 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], - "id": 1148, + "id": 640, "nodeType": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "expression": { @@ -7594,18 +7594,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1151, + "id": 643, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1149, + "id": 641, "name": "size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1146, - "src": "19038:4:1", + "referencedDeclaration": 638, + "src": "19595:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7615,57 +7615,57 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1150, + "id": 642, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19045:1:1", + "src": "19602:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "19038:8:1", + "src": "19595:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1144, - "id": 1152, + "functionReturnParameters": 636, + "id": 644, "nodeType": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ] }, "documentation": { - "id": 1138, + "id": 630, "nodeType": "StructuredDocumentation", - "src": "18070:565:1", + "src": "18602:581:0", "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1154, + "id": 646, "implemented": true, "kind": "function", "modifiers": [], "name": "isContract", "nodeType": "FunctionDefinition", "parameters": { - "id": 1141, + "id": 633, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1140, + "id": 632, "mutability": "mutable", "name": "account", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18660:15:1", + "scope": 646, + "src": "19209:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7673,10 +7673,10 @@ "typeString": "address" }, "typeName": { - "id": 1139, + "id": 631, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18660:7:1", + "src": "19209:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -7686,20 +7686,20 @@ "visibility": "internal" } ], - "src": "18659:17:1" + "src": "19208:17:0" }, "returnParameters": { - "id": 1144, + "id": 636, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1143, + "id": 635, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18700:4:1", + "scope": 646, + "src": "19249:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7707,10 +7707,10 @@ "typeString": "bool" }, "typeName": { - "id": 1142, + "id": 634, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "18700:4:1", + "src": "19249:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7719,19 +7719,19 @@ "visibility": "internal" } ], - "src": "18699:6:1" + "src": "19248:6:0" }, - "scope": 1430, - "src": "18640:413:1", + "scope": 922, + "src": "19189:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1187, + "id": 679, "nodeType": "Block", - "src": "20041:320:1", + "src": "20617:326:0", "statements": [ { "expression": { @@ -7741,7 +7741,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1169, + "id": 661, "isConstant": false, "isLValue": false, "isPure": false, @@ -7750,14 +7750,14 @@ "expression": { "arguments": [ { - "id": 1165, + "id": 657, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "20067:4:1", + "src": "20644:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -7765,30 +7765,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1164, + "id": 656, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1163, + "id": 655, "name": "address", "nodeType": "ElementaryTypeName", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": {} } }, - "id": 1166, + "id": 658, "isConstant": false, "isLValue": false, "isPure": false, @@ -7796,21 +7796,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20059:13:1", + "src": "20636:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1167, + "id": 659, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "20059:21:1", + "src": "20636:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7819,18 +7819,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1168, + "id": 660, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20084:6:1", + "referencedDeclaration": 651, + "src": "20661:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "20059:31:1", + "src": "20636:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7838,14 +7838,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e6365", - "id": 1170, + "id": 662, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20092:31:1", + "src": "20669:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9", "typeString": "literal_string \"Address: insufficient balance\"" @@ -7864,7 +7864,7 @@ "typeString": "literal_string \"Address: insufficient balance\"" } ], - "id": 1162, + "id": 654, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7872,13 +7872,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20051:7:1", + "src": "20628:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1171, + "id": 663, "isConstant": false, "isLValue": false, "isPure": false, @@ -7886,31 +7886,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20051:73:1", + "src": "20628:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1172, + "id": 664, "nodeType": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "assignments": [ - 1174, + 666, null ], "declarations": [ { "constant": false, - "id": 1174, + "id": 666, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1187, - "src": "20213:12:1", + "scope": 679, + "src": "20793:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7918,10 +7918,10 @@ "typeString": "bool" }, "typeName": { - "id": 1173, + "id": 665, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "20213:4:1", + "src": "20793:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7931,19 +7931,19 @@ }, null ], - "id": 1181, + "id": 673, "initialValue": { "arguments": [ { "hexValue": "", - "id": 1179, + "id": 671, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20263:2:1", + "src": "20843:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -7966,31 +7966,31 @@ } ], "expression": { - "id": 1175, + "id": 667, "name": "recipient", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1157, - "src": "20231:9:1", + "referencedDeclaration": 649, + "src": "20811:9:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 1176, + "id": 668, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "20231:14:1", + "src": "20811:14:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1178, + "id": 670, "isConstant": false, "isLValue": false, "isPure": false, @@ -8001,25 +8001,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1177, + "id": 669, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20254:6:1", + "referencedDeclaration": 651, + "src": "20834:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "20231:31:1", + "src": "20811:31:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1180, + "id": 672, "isConstant": false, "isLValue": false, "isPure": false, @@ -8027,7 +8027,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20231:35:1", + "src": "20811:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -8035,18 +8035,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "expression": { "arguments": [ { - "id": 1183, + "id": 675, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1174, - "src": "20284:7:1", + "referencedDeclaration": 666, + "src": "20865:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8054,14 +8054,14 @@ }, { "hexValue": "416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564", - "id": 1184, + "id": 676, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20293:60:1", + "src": "20874:60:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae", "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" @@ -8080,7 +8080,7 @@ "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" } ], - "id": 1182, + "id": 674, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -8088,13 +8088,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20276:7:1", + "src": "20857:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1185, + "id": 677, "isConstant": false, "isLValue": false, "isPure": false, @@ -8102,43 +8102,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20276:78:1", + "src": "20857:78:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1186, + "id": 678, "nodeType": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ] }, "documentation": { - "id": 1155, + "id": 647, "nodeType": "StructuredDocumentation", - "src": "19059:906:1", + "src": "19619:921:0", "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1188, + "id": 680, "implemented": true, "kind": "function", "modifiers": [], "name": "sendValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1160, + "id": 652, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1157, + "id": 649, "mutability": "mutable", "name": "recipient", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "19989:25:1", + "scope": 680, + "src": "20565:25:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8146,10 +8146,10 @@ "typeString": "address payable" }, "typeName": { - "id": 1156, + "id": 648, "name": "address", "nodeType": "ElementaryTypeName", - "src": "19989:15:1", + "src": "20565:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -8160,12 +8160,12 @@ }, { "constant": false, - "id": 1159, + "id": 651, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "20016:14:1", + "scope": 680, + "src": "20592:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8173,10 +8173,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1158, + "id": 650, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "20016:7:1", + "src": "20592:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8185,48 +8185,48 @@ "visibility": "internal" } ], - "src": "19988:43:1" + "src": "20564:43:0" }, "returnParameters": { - "id": 1161, + "id": 653, "nodeType": "ParameterList", "parameters": [], - "src": "20041:0:1" + "src": "20617:0:0" }, - "scope": 1430, - "src": "19970:391:1", + "scope": 922, + "src": "20546:397:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1204, + "id": 696, "nodeType": "Block", - "src": "21191:82:1", + "src": "21793:84:0", "statements": [ { "expression": { "arguments": [ { - "id": 1199, + "id": 691, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1191, - "src": "21219:6:1", + "referencedDeclaration": 683, + "src": "21822:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1200, + "id": 692, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1193, - "src": "21227:4:1", + "referencedDeclaration": 685, + "src": "21830:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8234,14 +8234,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564", - "id": 1201, + "id": 693, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "21233:32:1", + "src": "21836:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", "typeString": "literal_string \"Address: low-level call failed\"" @@ -8264,21 +8264,21 @@ "typeString": "literal_string \"Address: low-level call failed\"" } ], - "id": 1198, + "id": 690, "name": "functionCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, - "src": "21206:12:1", + "referencedDeclaration": 717, + "src": "21809:12:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1202, + "id": 694, "isConstant": false, "isLValue": false, "isPure": false, @@ -8286,44 +8286,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21206:60:1", + "src": "21809:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1197, - "id": 1203, + "functionReturnParameters": 689, + "id": 695, "nodeType": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ] }, "documentation": { - "id": 1189, + "id": 681, "nodeType": "StructuredDocumentation", - "src": "20367:730:1", + "src": "20951:747:0", "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1205, + "id": 697, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1194, + "id": 686, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1191, + "id": 683, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21124:14:1", + "scope": 697, + "src": "21726:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8331,10 +8331,10 @@ "typeString": "address" }, "typeName": { - "id": 1190, + "id": 682, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21124:7:1", + "src": "21726:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8345,12 +8345,12 @@ }, { "constant": false, - "id": 1193, + "id": 685, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21140:17:1", + "scope": 697, + "src": "21742:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8358,10 +8358,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1192, + "id": 684, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21140:5:1", + "src": "21742:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8370,20 +8370,20 @@ "visibility": "internal" } ], - "src": "21123:35:1" + "src": "21725:35:0" }, "returnParameters": { - "id": 1197, + "id": 689, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1196, + "id": 688, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21177:12:1", + "scope": 697, + "src": "21779:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8391,10 +8391,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1195, + "id": 687, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21177:5:1", + "src": "21779:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8403,42 +8403,42 @@ "visibility": "internal" } ], - "src": "21176:14:1" + "src": "21778:14:0" }, - "scope": 1430, - "src": "21102:171:1", + "scope": 922, + "src": "21704:173:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1224, + "id": 716, "nodeType": "Block", - "src": "21612:76:1", + "src": "22224:78:0", "statements": [ { "expression": { "arguments": [ { - "id": 1218, + "id": 710, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1208, - "src": "21651:6:1", + "referencedDeclaration": 700, + "src": "22264:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1219, + "id": 711, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1210, - "src": "21659:4:1", + "referencedDeclaration": 702, + "src": "22272:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8446,14 +8446,14 @@ }, { "hexValue": "30", - "id": 1220, + "id": 712, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "21665:1:1", + "src": "22278:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -8461,12 +8461,12 @@ "value": "0" }, { - "id": 1221, + "id": 713, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1212, - "src": "21668:12:1", + "referencedDeclaration": 704, + "src": "22281:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -8492,21 +8492,21 @@ "typeString": "string memory" } ], - "id": 1217, + "id": 709, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "21629:21:1", + "referencedDeclaration": 787, + "src": "22242:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1222, + "id": 714, "isConstant": false, "isLValue": false, "isPure": false, @@ -8514,44 +8514,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21629:52:1", + "src": "22242:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1216, - "id": 1223, + "functionReturnParameters": 708, + "id": 715, "nodeType": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ] }, "documentation": { - "id": 1206, + "id": 698, "nodeType": "StructuredDocumentation", - "src": "21279:211:1", + "src": "21885:216:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1225, + "id": 717, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1213, + "id": 705, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1208, + "id": 700, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21517:14:1", + "scope": 717, + "src": "22129:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8559,10 +8559,10 @@ "typeString": "address" }, "typeName": { - "id": 1207, + "id": 699, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21517:7:1", + "src": "22129:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8573,12 +8573,12 @@ }, { "constant": false, - "id": 1210, + "id": 702, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21533:17:1", + "scope": 717, + "src": "22145:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8586,10 +8586,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1209, + "id": 701, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21533:5:1", + "src": "22145:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8599,12 +8599,12 @@ }, { "constant": false, - "id": 1212, + "id": 704, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21552:26:1", + "scope": 717, + "src": "22164:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8612,10 +8612,10 @@ "typeString": "string" }, "typeName": { - "id": 1211, + "id": 703, "name": "string", "nodeType": "ElementaryTypeName", - "src": "21552:6:1", + "src": "22164:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -8624,20 +8624,20 @@ "visibility": "internal" } ], - "src": "21516:63:1" + "src": "22128:63:0" }, "returnParameters": { - "id": 1216, + "id": 708, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1215, + "id": 707, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21598:12:1", + "scope": 717, + "src": "22210:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8645,10 +8645,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1214, + "id": 706, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21598:5:1", + "src": "22210:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8657,54 +8657,54 @@ "visibility": "internal" } ], - "src": "21597:14:1" + "src": "22209:14:0" }, - "scope": 1430, - "src": "21495:193:1", + "scope": 922, + "src": "22107:195:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1244, + "id": 736, "nodeType": "Block", - "src": "22163:111:1", + "src": "22790:113:0", "statements": [ { "expression": { "arguments": [ { - "id": 1238, + "id": 730, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1228, - "src": "22202:6:1", + "referencedDeclaration": 720, + "src": "22830:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1239, + "id": 731, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1230, - "src": "22210:4:1", + "referencedDeclaration": 722, + "src": "22838:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1240, + "id": 732, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1232, - "src": "22216:5:1", + "referencedDeclaration": 724, + "src": "22844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8712,14 +8712,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564", - "id": 1241, + "id": 733, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22223:43:1", + "src": "22851:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc", "typeString": "literal_string \"Address: low-level call with value failed\"" @@ -8746,21 +8746,21 @@ "typeString": "literal_string \"Address: low-level call with value failed\"" } ], - "id": 1237, + "id": 729, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "22180:21:1", + "referencedDeclaration": 787, + "src": "22808:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1242, + "id": 734, "isConstant": false, "isLValue": false, "isPure": false, @@ -8768,44 +8768,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22180:87:1", + "src": "22808:87:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1236, - "id": 1243, + "functionReturnParameters": 728, + "id": 735, "nodeType": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ] }, "documentation": { - "id": 1226, + "id": 718, "nodeType": "StructuredDocumentation", - "src": "21694:351:1", + "src": "22310:361:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1245, + "id": 737, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1233, + "id": 725, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1228, + "id": 720, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22081:14:1", + "scope": 737, + "src": "22708:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8813,10 +8813,10 @@ "typeString": "address" }, "typeName": { - "id": 1227, + "id": 719, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22081:7:1", + "src": "22708:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8827,12 +8827,12 @@ }, { "constant": false, - "id": 1230, + "id": 722, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22097:17:1", + "scope": 737, + "src": "22724:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8840,10 +8840,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1229, + "id": 721, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22097:5:1", + "src": "22724:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8853,12 +8853,12 @@ }, { "constant": false, - "id": 1232, + "id": 724, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22116:13:1", + "scope": 737, + "src": "22743:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8866,10 +8866,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1231, + "id": 723, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22116:7:1", + "src": "22743:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8878,20 +8878,20 @@ "visibility": "internal" } ], - "src": "22080:50:1" + "src": "22707:50:0" }, "returnParameters": { - "id": 1236, + "id": 728, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1235, + "id": 727, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22149:12:1", + "scope": 737, + "src": "22776:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8899,10 +8899,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1234, + "id": 726, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22149:5:1", + "src": "22776:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8911,19 +8911,19 @@ "visibility": "internal" } ], - "src": "22148:14:1" + "src": "22775:14:0" }, - "scope": 1430, - "src": "22050:224:1", + "scope": 922, + "src": "22677:226:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1294, + "id": 786, "nodeType": "Block", - "src": "22663:382:1", + "src": "23300:389:0", "statements": [ { "expression": { @@ -8933,7 +8933,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1266, + "id": 758, "isConstant": false, "isLValue": false, "isPure": false, @@ -8942,14 +8942,14 @@ "expression": { "arguments": [ { - "id": 1262, + "id": 754, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "22689:4:1", + "src": "23327:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -8957,30 +8957,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1261, + "id": 753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1260, + "id": 752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": {} } }, - "id": 1263, + "id": 755, "isConstant": false, "isLValue": false, "isPure": false, @@ -8988,21 +8988,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22681:13:1", + "src": "23319:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1264, + "id": 756, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "22681:21:1", + "src": "23319:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9011,18 +9011,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1265, + "id": 757, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22706:5:1", + "referencedDeclaration": 744, + "src": "23344:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "22681:30:1", + "src": "23319:30:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9030,14 +9030,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c", - "id": 1267, + "id": 759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22713:40:1", + "src": "23351:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c", "typeString": "literal_string \"Address: insufficient balance for call\"" @@ -9056,7 +9056,7 @@ "typeString": "literal_string \"Address: insufficient balance for call\"" } ], - "id": 1259, + "id": 751, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9064,13 +9064,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22673:7:1", + "src": "23311:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1268, + "id": 760, "isConstant": false, "isLValue": false, "isPure": false, @@ -9078,16 +9078,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22673:81:1", + "src": "23311:81:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1269, + "id": 761, "nodeType": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "expression": { @@ -9095,12 +9095,12 @@ { "arguments": [ { - "id": 1272, + "id": 764, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22783:6:1", + "referencedDeclaration": 740, + "src": "23422:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9114,18 +9114,18 @@ "typeString": "address" } ], - "id": 1271, + "id": 763, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "22772:10:1", + "referencedDeclaration": 646, + "src": "23411:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1273, + "id": 765, "isConstant": false, "isLValue": false, "isPure": false, @@ -9133,7 +9133,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22772:18:1", + "src": "23411:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9142,14 +9142,14 @@ }, { "hexValue": "416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1274, + "id": 766, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22792:31:1", + "src": "23431:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad", "typeString": "literal_string \"Address: call to non-contract\"" @@ -9168,7 +9168,7 @@ "typeString": "literal_string \"Address: call to non-contract\"" } ], - "id": 1270, + "id": 762, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9176,13 +9176,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22764:7:1", + "src": "23403:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1275, + "id": 767, "isConstant": false, "isLValue": false, "isPure": false, @@ -9190,31 +9190,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22764:60:1", + "src": "23403:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1276, + "id": 768, "nodeType": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "assignments": [ - 1278, - 1280 + 770, + 772 ], "declarations": [ { "constant": false, - "id": 1278, + "id": 770, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22895:12:1", + "scope": 786, + "src": "23537:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9222,10 +9222,10 @@ "typeString": "bool" }, "typeName": { - "id": 1277, + "id": 769, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "22895:4:1", + "src": "23537:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9235,12 +9235,12 @@ }, { "constant": false, - "id": 1280, + "id": 772, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22909:23:1", + "scope": 786, + "src": "23551:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9248,10 +9248,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1279, + "id": 771, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22909:5:1", + "src": "23551:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9260,16 +9260,16 @@ "visibility": "internal" } ], - "id": 1287, + "id": 779, "initialValue": { "arguments": [ { - "id": 1285, + "id": 777, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1250, - "src": "22964:4:1", + "referencedDeclaration": 742, + "src": "23606:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9291,31 +9291,31 @@ } ], "expression": { - "id": 1281, + "id": 773, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22936:6:1", + "referencedDeclaration": 740, + "src": "23578:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1282, + "id": 774, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "22936:11:1", + "src": "23578:11:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1284, + "id": 776, "isConstant": false, "isLValue": false, "isPure": false, @@ -9326,25 +9326,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1283, + "id": 775, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22956:5:1", + "referencedDeclaration": 744, + "src": "23598:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "22936:27:1", + "src": "23578:27:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1286, + "id": 778, "isConstant": false, "isLValue": false, "isPure": false, @@ -9352,7 +9352,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22936:33:1", + "src": "23578:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -9360,42 +9360,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "expression": { "arguments": [ { - "id": 1289, + "id": 781, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1278, - "src": "23004:7:1", + "referencedDeclaration": 770, + "src": "23647:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1290, + "id": 782, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1280, - "src": "23013:10:1", + "referencedDeclaration": 772, + "src": "23656:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1291, + "id": 783, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1254, - "src": "23025:12:1", + "referencedDeclaration": 746, + "src": "23668:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -9417,18 +9417,18 @@ "typeString": "string memory" } ], - "id": 1288, + "id": 780, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "22986:17:1", + "referencedDeclaration": 921, + "src": "23629:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1292, + "id": 784, "isConstant": false, "isLValue": false, "isPure": false, @@ -9436,44 +9436,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22986:52:1", + "src": "23629:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1258, - "id": 1293, + "functionReturnParameters": 750, + "id": 785, "nodeType": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ] }, "documentation": { - "id": 1246, + "id": 738, "nodeType": "StructuredDocumentation", - "src": "22280:237:1", + "src": "22911:242:0", "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1295, + "id": 787, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1255, + "id": 747, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1248, + "id": 740, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22553:14:1", + "scope": 787, + "src": "23190:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9481,10 +9481,10 @@ "typeString": "address" }, "typeName": { - "id": 1247, + "id": 739, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22553:7:1", + "src": "23190:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9495,12 +9495,12 @@ }, { "constant": false, - "id": 1250, + "id": 742, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22569:17:1", + "scope": 787, + "src": "23206:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9508,10 +9508,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1249, + "id": 741, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22569:5:1", + "src": "23206:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9521,12 +9521,12 @@ }, { "constant": false, - "id": 1252, + "id": 744, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22588:13:1", + "scope": 787, + "src": "23225:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9534,10 +9534,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1251, + "id": 743, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22588:7:1", + "src": "23225:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9547,12 +9547,12 @@ }, { "constant": false, - "id": 1254, + "id": 746, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22603:26:1", + "scope": 787, + "src": "23240:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9560,10 +9560,10 @@ "typeString": "string" }, "typeName": { - "id": 1253, + "id": 745, "name": "string", "nodeType": "ElementaryTypeName", - "src": "22603:6:1", + "src": "23240:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -9572,20 +9572,20 @@ "visibility": "internal" } ], - "src": "22552:78:1" + "src": "23189:78:0" }, "returnParameters": { - "id": 1258, + "id": 750, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1257, + "id": 749, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22649:12:1", + "scope": 787, + "src": "23286:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9593,10 +9593,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1256, + "id": 748, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22649:5:1", + "src": "23286:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9605,42 +9605,42 @@ "visibility": "internal" } ], - "src": "22648:14:1" + "src": "23285:14:0" }, - "scope": 1430, - "src": "22522:523:1", + "scope": 922, + "src": "23159:530:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1311, + "id": 803, "nodeType": "Block", - "src": "23322:97:1", + "src": "23974:99:0", "statements": [ { "expression": { "arguments": [ { - "id": 1306, + "id": 798, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1298, - "src": "23358:6:1", + "referencedDeclaration": 790, + "src": "24011:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1307, + "id": 799, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1300, - "src": "23366:4:1", + "referencedDeclaration": 792, + "src": "24019:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9648,14 +9648,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564", - "id": 1308, + "id": 800, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23372:39:1", + "src": "24025:39:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0", "typeString": "literal_string \"Address: low-level static call failed\"" @@ -9678,21 +9678,21 @@ "typeString": "literal_string \"Address: low-level static call failed\"" } ], - "id": 1305, + "id": 797, "name": "functionStaticCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, - "src": "23339:18:1", + "referencedDeclaration": 839, + "src": "23992:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) view returns (bytes memory)" } }, - "id": 1309, + "id": 801, "isConstant": false, "isLValue": false, "isPure": false, @@ -9700,44 +9700,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23339:73:1", + "src": "23992:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1304, - "id": 1310, + "functionReturnParameters": 796, + "id": 802, "nodeType": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ] }, "documentation": { - "id": 1296, + "id": 788, "nodeType": "StructuredDocumentation", - "src": "23051:166:1", + "src": "23697:171:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1312, + "id": 804, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1301, + "id": 793, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1298, + "id": 790, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23250:14:1", + "scope": 804, + "src": "23902:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9745,10 +9745,10 @@ "typeString": "address" }, "typeName": { - "id": 1297, + "id": 789, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23250:7:1", + "src": "23902:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9759,12 +9759,12 @@ }, { "constant": false, - "id": 1300, + "id": 792, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23266:17:1", + "scope": 804, + "src": "23918:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9772,10 +9772,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1299, + "id": 791, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23266:5:1", + "src": "23918:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9784,20 +9784,20 @@ "visibility": "internal" } ], - "src": "23249:35:1" + "src": "23901:35:0" }, "returnParameters": { - "id": 1304, + "id": 796, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1303, + "id": 795, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23308:12:1", + "scope": 804, + "src": "23960:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9805,10 +9805,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1302, + "id": 794, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23308:5:1", + "src": "23960:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9817,19 +9817,19 @@ "visibility": "internal" } ], - "src": "23307:14:1" + "src": "23959:14:0" }, - "scope": 1430, - "src": "23222:197:1", + "scope": 922, + "src": "23874:199:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1346, + "id": 838, "nodeType": "Block", - "src": "23731:288:1", + "src": "24393:294:0", "statements": [ { "expression": { @@ -9837,12 +9837,12 @@ { "arguments": [ { - "id": 1326, + "id": 818, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23760:6:1", + "referencedDeclaration": 807, + "src": "24423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9856,18 +9856,18 @@ "typeString": "address" } ], - "id": 1325, + "id": 817, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "23749:10:1", + "referencedDeclaration": 646, + "src": "24412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1327, + "id": 819, "isConstant": false, "isLValue": false, "isPure": false, @@ -9875,7 +9875,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23749:18:1", + "src": "24412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9884,14 +9884,14 @@ }, { "hexValue": "416464726573733a207374617469632063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1328, + "id": 820, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23769:38:1", + "src": "24432:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c79cc78e4f16ce3933a42b84c73868f93bb4a59c031a0acf576679de98c608a9", "typeString": "literal_string \"Address: static call to non-contract\"" @@ -9910,7 +9910,7 @@ "typeString": "literal_string \"Address: static call to non-contract\"" } ], - "id": 1324, + "id": 816, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9918,13 +9918,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "23741:7:1", + "src": "24404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1329, + "id": 821, "isConstant": false, "isLValue": false, "isPure": false, @@ -9932,31 +9932,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23741:67:1", + "src": "24404:67:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1330, + "id": 822, "nodeType": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "assignments": [ - 1332, - 1334 + 824, + 826 ], "declarations": [ { "constant": false, - "id": 1332, + "id": 824, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23879:12:1", + "scope": 838, + "src": "24545:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9964,10 +9964,10 @@ "typeString": "bool" }, "typeName": { - "id": 1331, + "id": 823, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "23879:4:1", + "src": "24545:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9977,12 +9977,12 @@ }, { "constant": false, - "id": 1334, + "id": 826, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23893:23:1", + "scope": 838, + "src": "24559:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9990,10 +9990,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1333, + "id": 825, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23893:5:1", + "src": "24559:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10002,16 +10002,16 @@ "visibility": "internal" } ], - "id": 1339, + "id": 831, "initialValue": { "arguments": [ { - "id": 1337, + "id": 829, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1317, - "src": "23938:4:1", + "referencedDeclaration": 809, + "src": "24604:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10026,31 +10026,31 @@ } ], "expression": { - "id": 1335, + "id": 827, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23920:6:1", + "referencedDeclaration": 807, + "src": "24586:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1336, + "id": 828, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "staticcall", "nodeType": "MemberAccess", - "src": "23920:17:1", + "src": "24586:17:0", "typeDescriptions": { "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) view returns (bool,bytes memory)" } }, - "id": 1338, + "id": 830, "isConstant": false, "isLValue": false, "isPure": false, @@ -10058,7 +10058,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23920:23:1", + "src": "24586:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10066,42 +10066,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "expression": { "arguments": [ { - "id": 1341, + "id": 833, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "23978:7:1", + "referencedDeclaration": 824, + "src": "24645:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1342, + "id": 834, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1334, - "src": "23987:10:1", + "referencedDeclaration": 826, + "src": "24654:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1343, + "id": 835, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1319, - "src": "23999:12:1", + "referencedDeclaration": 811, + "src": "24666:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10123,18 +10123,18 @@ "typeString": "string memory" } ], - "id": 1340, + "id": 832, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "23960:17:1", + "referencedDeclaration": 921, + "src": "24627:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1344, + "id": 836, "isConstant": false, "isLValue": false, "isPure": false, @@ -10142,44 +10142,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23960:52:1", + "src": "24627:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1323, - "id": 1345, + "functionReturnParameters": 815, + "id": 837, "nodeType": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ] }, "documentation": { - "id": 1313, + "id": 805, "nodeType": "StructuredDocumentation", - "src": "23425:173:1", + "src": "24081:178:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1347, + "id": 839, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1320, + "id": 812, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1315, + "id": 807, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23631:14:1", + "scope": 839, + "src": "24293:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10187,10 +10187,10 @@ "typeString": "address" }, "typeName": { - "id": 1314, + "id": 806, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23631:7:1", + "src": "24293:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10201,12 +10201,12 @@ }, { "constant": false, - "id": 1317, + "id": 809, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23647:17:1", + "scope": 839, + "src": "24309:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10214,10 +10214,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1316, + "id": 808, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23647:5:1", + "src": "24309:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10227,12 +10227,12 @@ }, { "constant": false, - "id": 1319, + "id": 811, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23666:26:1", + "scope": 839, + "src": "24328:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10240,10 +10240,10 @@ "typeString": "string" }, "typeName": { - "id": 1318, + "id": 810, "name": "string", "nodeType": "ElementaryTypeName", - "src": "23666:6:1", + "src": "24328:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10252,20 +10252,20 @@ "visibility": "internal" } ], - "src": "23630:63:1" + "src": "24292:63:0" }, "returnParameters": { - "id": 1323, + "id": 815, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1322, + "id": 814, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23717:12:1", + "scope": 839, + "src": "24379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10273,10 +10273,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1321, + "id": 813, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23717:5:1", + "src": "24379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10285,42 +10285,42 @@ "visibility": "internal" } ], - "src": "23716:14:1" + "src": "24378:14:0" }, - "scope": 1430, - "src": "23603:416:1", + "scope": 922, + "src": "24265:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1363, + "id": 855, "nodeType": "Block", - "src": "24295:101:1", + "src": "24971:103:0", "statements": [ { "expression": { "arguments": [ { - "id": 1358, + "id": 850, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1350, - "src": "24333:6:1", + "referencedDeclaration": 842, + "src": "25010:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1359, + "id": 851, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1352, - "src": "24341:4:1", + "referencedDeclaration": 844, + "src": "25018:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10328,14 +10328,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564", - "id": 1360, + "id": 852, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24347:41:1", + "src": "25024:41:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398", "typeString": "literal_string \"Address: low-level delegate call failed\"" @@ -10358,21 +10358,21 @@ "typeString": "literal_string \"Address: low-level delegate call failed\"" } ], - "id": 1357, + "id": 849, "name": "functionDelegateCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, - "src": "24312:20:1", + "referencedDeclaration": 891, + "src": "24989:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1361, + "id": 853, "isConstant": false, "isLValue": false, "isPure": false, @@ -10380,44 +10380,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24312:77:1", + "src": "24989:77:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1356, - "id": 1362, + "functionReturnParameters": 848, + "id": 854, "nodeType": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ] }, "documentation": { - "id": 1348, + "id": 840, "nodeType": "StructuredDocumentation", - "src": "24025:168:1", + "src": "24695:173:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1364, + "id": 856, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1353, + "id": 845, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1350, + "id": 842, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24228:14:1", + "scope": 856, + "src": "24904:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10425,10 +10425,10 @@ "typeString": "address" }, "typeName": { - "id": 1349, + "id": 841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24228:7:1", + "src": "24904:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10439,12 +10439,12 @@ }, { "constant": false, - "id": 1352, + "id": 844, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24244:17:1", + "scope": 856, + "src": "24920:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10452,10 +10452,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1351, + "id": 843, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24244:5:1", + "src": "24920:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10464,20 +10464,20 @@ "visibility": "internal" } ], - "src": "24227:35:1" + "src": "24903:35:0" }, "returnParameters": { - "id": 1356, + "id": 848, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1355, + "id": 847, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24281:12:1", + "scope": 856, + "src": "24957:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10485,10 +10485,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1354, + "id": 846, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24281:5:1", + "src": "24957:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10497,19 +10497,19 @@ "visibility": "internal" } ], - "src": "24280:14:1" + "src": "24956:14:0" }, - "scope": 1430, - "src": "24198:198:1", + "scope": 922, + "src": "24874:200:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1398, + "id": 890, "nodeType": "Block", - "src": "24707:292:1", + "src": "25393:298:0", "statements": [ { "expression": { @@ -10517,12 +10517,12 @@ { "arguments": [ { - "id": 1378, + "id": 870, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24736:6:1", + "referencedDeclaration": 859, + "src": "25423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10536,18 +10536,18 @@ "typeString": "address" } ], - "id": 1377, + "id": 869, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "24725:10:1", + "referencedDeclaration": 646, + "src": "25412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1379, + "id": 871, "isConstant": false, "isLValue": false, "isPure": false, @@ -10555,7 +10555,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24725:18:1", + "src": "25412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10564,14 +10564,14 @@ }, { "hexValue": "416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1380, + "id": 872, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24745:40:1", + "src": "25432:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b94ded0918034cf8f896e19fa3cfdef1188cd569c577264a3622e49152f88520", "typeString": "literal_string \"Address: delegate call to non-contract\"" @@ -10590,7 +10590,7 @@ "typeString": "literal_string \"Address: delegate call to non-contract\"" } ], - "id": 1376, + "id": 868, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -10598,13 +10598,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "24717:7:1", + "src": "25404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1381, + "id": 873, "isConstant": false, "isLValue": false, "isPure": false, @@ -10612,31 +10612,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24717:69:1", + "src": "25404:69:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1382, + "id": 874, "nodeType": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "assignments": [ - 1384, - 1386 + 876, + 878 ], "declarations": [ { "constant": false, - "id": 1384, + "id": 876, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24857:12:1", + "scope": 890, + "src": "25547:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10644,10 +10644,10 @@ "typeString": "bool" }, "typeName": { - "id": 1383, + "id": 875, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "24857:4:1", + "src": "25547:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10657,12 +10657,12 @@ }, { "constant": false, - "id": 1386, + "id": 878, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24871:23:1", + "scope": 890, + "src": "25561:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10670,10 +10670,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1385, + "id": 877, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24871:5:1", + "src": "25561:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10682,16 +10682,16 @@ "visibility": "internal" } ], - "id": 1391, + "id": 883, "initialValue": { "arguments": [ { - "id": 1389, + "id": 881, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1369, - "src": "24918:4:1", + "referencedDeclaration": 861, + "src": "25608:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10706,31 +10706,31 @@ } ], "expression": { - "id": 1387, + "id": 879, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24898:6:1", + "referencedDeclaration": 859, + "src": "25588:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1388, + "id": 880, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "delegatecall", "nodeType": "MemberAccess", - "src": "24898:19:1", + "src": "25588:19:0", "typeDescriptions": { "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) returns (bool,bytes memory)" } }, - "id": 1390, + "id": 882, "isConstant": false, "isLValue": false, "isPure": false, @@ -10738,7 +10738,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24898:25:1", + "src": "25588:25:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10746,42 +10746,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "expression": { "arguments": [ { - "id": 1393, + "id": 885, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1384, - "src": "24958:7:1", + "referencedDeclaration": 876, + "src": "25649:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1394, + "id": 886, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1386, - "src": "24967:10:1", + "referencedDeclaration": 878, + "src": "25658:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1395, + "id": 887, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1371, - "src": "24979:12:1", + "referencedDeclaration": 863, + "src": "25670:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10803,18 +10803,18 @@ "typeString": "string memory" } ], - "id": 1392, + "id": 884, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "24940:17:1", + "referencedDeclaration": 921, + "src": "25631:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1396, + "id": 888, "isConstant": false, "isLValue": false, "isPure": false, @@ -10822,44 +10822,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24940:52:1", + "src": "25631:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1375, - "id": 1397, + "functionReturnParameters": 867, + "id": 889, "nodeType": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ] }, "documentation": { - "id": 1365, + "id": 857, "nodeType": "StructuredDocumentation", - "src": "24402:175:1", + "src": "25082:180:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1399, + "id": 891, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1372, + "id": 864, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1367, + "id": 859, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24612:14:1", + "scope": 891, + "src": "25298:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10867,10 +10867,10 @@ "typeString": "address" }, "typeName": { - "id": 1366, + "id": 858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24612:7:1", + "src": "25298:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10881,12 +10881,12 @@ }, { "constant": false, - "id": 1369, + "id": 861, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24628:17:1", + "scope": 891, + "src": "25314:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10894,10 +10894,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1368, + "id": 860, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24628:5:1", + "src": "25314:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10907,12 +10907,12 @@ }, { "constant": false, - "id": 1371, + "id": 863, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24647:26:1", + "scope": 891, + "src": "25333:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10920,10 +10920,10 @@ "typeString": "string" }, "typeName": { - "id": 1370, + "id": 862, "name": "string", "nodeType": "ElementaryTypeName", - "src": "24647:6:1", + "src": "25333:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10932,20 +10932,20 @@ "visibility": "internal" } ], - "src": "24611:63:1" + "src": "25297:63:0" }, "returnParameters": { - "id": 1375, + "id": 867, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1374, + "id": 866, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24693:12:1", + "scope": 891, + "src": "25379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10953,10 +10953,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1373, + "id": 865, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24693:5:1", + "src": "25379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10965,37 +10965,37 @@ "visibility": "internal" } ], - "src": "24692:14:1" + "src": "25378:14:0" }, - "scope": 1430, - "src": "24582:417:1", + "scope": 922, + "src": "25268:423:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1428, + "id": 920, "nodeType": "Block", - "src": "25134:596:1", + "src": "25828:613:0", "statements": [ { "condition": { - "id": 1410, + "id": 902, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1401, - "src": "25148:7:1", + "referencedDeclaration": 893, + "src": "25843:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1426, + "id": 918, "nodeType": "Block", - "src": "25205:519:1", + "src": "25902:532:0", "statements": [ { "condition": { @@ -11003,32 +11003,32 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1417, + "id": 909, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1414, + "id": 906, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25289:10:1", + "referencedDeclaration": 895, + "src": "25988:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1415, + "id": 907, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "25289:17:1", + "src": "25988:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11038,41 +11038,41 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1416, + "id": 908, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "25309:1:1", + "src": "26008:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "25289:21:1", + "src": "25988:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1424, + "id": 916, "nodeType": "Block", - "src": "25661:53:1", + "src": "26368:55:0", "statements": [ { "expression": { "arguments": [ { - "id": 1421, + "id": 913, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1405, - "src": "25686:12:1", + "referencedDeclaration": 897, + "src": "26394:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -11086,7 +11086,7 @@ "typeString": "string memory" } ], - "id": 1420, + "id": 912, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -11094,13 +11094,13 @@ 4294967277 ], "referencedDeclaration": 4294967277, - "src": "25679:6:1", + "src": "26387:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", "typeString": "function (string memory) pure" } }, - "id": 1422, + "id": 914, "isConstant": false, "isLValue": false, "isPure": false, @@ -11108,56 +11108,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "25679:20:1", + "src": "26387:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1423, + "id": 915, "nodeType": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ] }, - "id": 1425, + "id": 917, "nodeType": "IfStatement", - "src": "25285:429:1", + "src": "25984:439:0", "trueBody": { - "id": 1419, + "id": 911, "nodeType": "Block", - "src": "25312:343:1", + "src": "26011:351:0", "statements": [ { "AST": { "nodeType": "YulBlock", - "src": "25496:145:1", + "src": "26199:148:0", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "25518:40:1", + "src": "26222:40:0", "value": { "arguments": [ { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25547:10:1" + "src": "26251:10:0" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "25541:5:1" + "src": "26245:5:0" }, "nodeType": "YulFunctionCall", - "src": "25541:17:1" + "src": "26245:17:0" }, "variables": [ { "name": "returndata_size", "nodeType": "YulTypedName", - "src": "25522:15:1", + "src": "26226:15:0", "type": "" } ] @@ -11170,118 +11170,118 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "25590:2:1", + "src": "26295:2:0", "type": "", "value": "32" }, { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25594:10:1" + "src": "26299:10:0" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "25586:3:1" + "src": "26291:3:0" }, "nodeType": "YulFunctionCall", - "src": "25586:19:1" + "src": "26291:19:0" }, { "name": "returndata_size", "nodeType": "YulIdentifier", - "src": "25607:15:1" + "src": "26312:15:0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "25579:6:1" + "src": "26284:6:0" }, "nodeType": "YulFunctionCall", - "src": "25579:44:1" + "src": "26284:44:0" }, "nodeType": "YulExpressionStatement", - "src": "25579:44:1" + "src": "26284:44:0" } ] }, "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], - "id": 1418, + "id": 910, "nodeType": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ] } } ] }, - "id": 1427, + "id": 919, "nodeType": "IfStatement", - "src": "25144:580:1", + "src": "25839:595:0", "trueBody": { - "id": 1413, + "id": 905, "nodeType": "Block", - "src": "25157:42:1", + "src": "25852:44:0", "statements": [ { "expression": { - "id": 1411, + "id": 903, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25178:10:1", + "referencedDeclaration": 895, + "src": "25874:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1409, - "id": 1412, + "functionReturnParameters": 901, + "id": 904, "nodeType": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ] } } ] }, - "id": 1429, + "id": 921, "implemented": true, "kind": "function", "modifiers": [], "name": "_verifyCallResult", "nodeType": "FunctionDefinition", "parameters": { - "id": 1406, + "id": 898, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1401, + "id": 893, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25032:12:1", + "scope": 921, + "src": "25726:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11289,10 +11289,10 @@ "typeString": "bool" }, "typeName": { - "id": 1400, + "id": 892, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "25032:4:1", + "src": "25726:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11302,12 +11302,12 @@ }, { "constant": false, - "id": 1403, + "id": 895, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25046:23:1", + "scope": 921, + "src": "25740:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11315,10 +11315,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1402, + "id": 894, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25046:5:1", + "src": "25740:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11328,12 +11328,12 @@ }, { "constant": false, - "id": 1405, + "id": 897, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25071:26:1", + "scope": 921, + "src": "25765:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11341,10 +11341,10 @@ "typeString": "string" }, "typeName": { - "id": 1404, + "id": 896, "name": "string", "nodeType": "ElementaryTypeName", - "src": "25071:6:1", + "src": "25765:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11353,20 +11353,20 @@ "visibility": "internal" } ], - "src": "25031:67:1" + "src": "25725:67:0" }, "returnParameters": { - "id": 1409, + "id": 901, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1408, + "id": 900, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25120:12:1", + "scope": 921, + "src": "25814:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11374,10 +11374,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1407, + "id": 899, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25120:5:1", + "src": "25814:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11386,20 +11386,20 @@ "visibility": "internal" } ], - "src": "25119:14:1" + "src": "25813:14:0" }, - "scope": 1430, - "src": "25005:725:1", + "scope": 922, + "src": "25699:742:0", "stateMutability": "pure", "virtual": false, "visibility": "private" } ], - "scope": 3499, - "src": "18048:7684:1" + "scope": 2991, + "src": "18579:7865:0" }, { - "id": 1431, + "id": 923, "literals": [ "solidity", ">=", @@ -11410,7 +11410,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "abstract": false, @@ -11418,31 +11418,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1432, + "id": 924, "nodeType": "StructuredDocumentation", - "src": "25824:686:1", + "src": "26541:709:0", "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, "fullyImplemented": true, - "id": 1921, + "id": 1413, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableSet.Set", - "id": 1440, + "id": 932, "members": [ { "constant": false, - "id": 1435, + "id": 927, "mutability": "mutable", "name": "_values", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27033:17:1", + "scope": 932, + "src": "27786:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11451,18 +11451,18 @@ }, "typeName": { "baseType": { - "id": 1433, + "id": 925, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27033:7:1", + "src": "27786:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1434, + "id": 926, "nodeType": "ArrayTypeName", - "src": "27033:9:1", + "src": "27786:9:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", "typeString": "bytes32[]" @@ -11472,12 +11472,12 @@ }, { "constant": false, - "id": 1439, + "id": 931, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27184:37:1", + "scope": 932, + "src": "27941:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11485,28 +11485,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1438, + "id": 930, "keyType": { - "id": 1436, + "id": 928, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27193:7:1", + "src": "27950:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "27184:28:1", + "src": "27941:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1437, + "id": 929, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "27204:7:1", + "src": "27961:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11518,19 +11518,19 @@ ], "name": "Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "26979:249:1", + "scope": 1413, + "src": "27730:256:0", "visibility": "public" }, { "body": { - "id": 1480, + "id": 972, "nodeType": "Block", - "src": "27467:335:1", + "src": "28233:345:0", "statements": [ { "condition": { - "id": 1454, + "id": 946, "isConstant": false, "isLValue": false, "isPure": false, @@ -11538,28 +11538,28 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "27481:22:1", + "src": "28248:22:0", "subExpression": { "arguments": [ { - "id": 1451, + "id": 943, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27492:3:1", + "referencedDeclaration": 935, + "src": "28259:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, { - "id": 1452, + "id": 944, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27497:5:1", + "referencedDeclaration": 937, + "src": "28264:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11569,7 +11569,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -11577,18 +11577,18 @@ "typeString": "bytes32" } ], - "id": 1450, + "id": 942, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "27482:9:1", + "referencedDeclaration": 1071, + "src": "28249:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1453, + "id": 945, "isConstant": false, "isLValue": false, "isPure": false, @@ -11596,7 +11596,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27482:21:1", + "src": "28249:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -11609,52 +11609,52 @@ } }, "falseBody": { - "id": 1478, + "id": 970, "nodeType": "Block", - "src": "27759:37:1", + "src": "28532:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1476, + "id": 968, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27780:5:1", + "src": "28554:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1449, - "id": 1477, + "functionReturnParameters": 941, + "id": 969, "nodeType": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ] }, - "id": 1479, + "id": 971, "nodeType": "IfStatement", - "src": "27477:319:1", + "src": "28244:327:0", "trueBody": { - "id": 1475, + "id": 967, "nodeType": "Block", - "src": "27505:248:1", + "src": "28272:254:0", "statements": [ { "expression": { "arguments": [ { - "id": 1460, + "id": 952, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27536:5:1", + "referencedDeclaration": 937, + "src": "28304:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11670,45 +11670,45 @@ ], "expression": { "expression": { - "id": 1455, + "id": 947, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27519:3:1", + "referencedDeclaration": 935, + "src": "28287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1458, + "id": 950, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27519:11:1", + "referencedDeclaration": 927, + "src": "28287:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1459, + "id": 951, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "27519:16:1", + "src": "28287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_bytes32_$returns$__$", "typeString": "function (bytes32)" } }, - "id": 1461, + "id": 953, "isConstant": false, "isLValue": false, "isPure": false, @@ -11716,20 +11716,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27519:23:1", + "src": "28287:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1462, + "id": 954, "nodeType": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "expression": { - "id": 1471, + "id": 963, "isConstant": false, "isLValue": false, "isPure": false, @@ -11737,39 +11737,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1463, + "id": 955, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27677:3:1", + "referencedDeclaration": 935, + "src": "28448:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1466, + "id": 958, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "27677:12:1", + "referencedDeclaration": 931, + "src": "28448:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1467, + "id": 959, "indexExpression": { - "id": 1465, + "id": 957, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27690:5:1", + "referencedDeclaration": 937, + "src": "28461:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11780,7 +11780,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "27677:19:1", + "src": "28448:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11791,75 +11791,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1468, + "id": 960, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27699:3:1", + "referencedDeclaration": 935, + "src": "28470:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1469, + "id": 961, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27699:11:1", + "referencedDeclaration": 927, + "src": "28470:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1470, + "id": 962, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "27699:18:1", + "src": "28470:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "27677:40:1", + "src": "28448:40:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1472, + "id": 964, "nodeType": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "expression": { "hexValue": "74727565", - "id": 1473, + "id": 965, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27738:4:1", + "src": "28510:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1449, - "id": 1474, + "functionReturnParameters": 941, + "id": 966, "nodeType": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ] } @@ -11867,43 +11867,43 @@ ] }, "documentation": { - "id": 1441, + "id": 933, "nodeType": "StructuredDocumentation", - "src": "27234:159:1", + "src": "27994:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1481, + "id": 973, "implemented": true, "kind": "function", "modifiers": [], "name": "_add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1446, + "id": 938, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1443, + "id": 935, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27412:15:1", + "scope": 973, + "src": "28178:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1442, + "id": 934, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27412:3:1", + "referencedDeclaration": 932, + "src": "28178:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -11911,12 +11911,12 @@ }, { "constant": false, - "id": 1445, + "id": 937, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27429:13:1", + "scope": 973, + "src": "28195:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11924,10 +11924,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1444, + "id": 936, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27429:7:1", + "src": "28195:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11936,20 +11936,20 @@ "visibility": "internal" } ], - "src": "27411:32:1" + "src": "28177:32:0" }, "returnParameters": { - "id": 1449, + "id": 941, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1448, + "id": 940, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27461:4:1", + "scope": 973, + "src": "28227:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11957,10 +11957,10 @@ "typeString": "bool" }, "typeName": { - "id": 1447, + "id": 939, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "27461:4:1", + "src": "28227:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11969,33 +11969,33 @@ "visibility": "internal" } ], - "src": "27460:6:1" + "src": "28226:6:0" }, - "scope": 1921, - "src": "27398:404:1", + "scope": 1413, + "src": "28164:414:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1560, + "id": 1052, "nodeType": "Block", - "src": "28042:1440:1", + "src": "28826:1472:0", "statements": [ { "assignments": [ - 1492 + 984 ], "declarations": [ { "constant": false, - "id": 1492, + "id": 984, "mutability": "mutable", "name": "valueIndex", "nodeType": "VariableDeclaration", - "scope": 1560, - "src": "28152:18:1", + "scope": 1052, + "src": "28938:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12003,10 +12003,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1491, + "id": 983, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28152:7:1", + "src": "28938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12015,43 +12015,43 @@ "visibility": "internal" } ], - "id": 1497, + "id": 989, "initialValue": { "baseExpression": { "expression": { - "id": 1493, + "id": 985, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28173:3:1", + "referencedDeclaration": 976, + "src": "28959:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1494, + "id": 986, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "28173:12:1", + "referencedDeclaration": 931, + "src": "28959:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1496, + "id": 988, "indexExpression": { - "id": 1495, + "id": 987, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "28186:5:1", + "referencedDeclaration": 978, + "src": "28972:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12062,14 +12062,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28173:19:1", + "src": "28959:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "condition": { @@ -12077,18 +12077,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1500, + "id": 992, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1498, + "id": 990, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28207:10:1", + "referencedDeclaration": 984, + "src": "28995:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12098,76 +12098,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1499, + "id": 991, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28221:1:1", + "src": "29009:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "28207:15:1", + "src": "28995:15:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1558, + "id": 1050, "nodeType": "Block", - "src": "29439:37:1", + "src": "30252:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1556, + "id": 1048, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29460:5:1", + "src": "30274:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1490, - "id": 1557, + "functionReturnParameters": 982, + "id": 1049, "nodeType": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ] }, - "id": 1559, + "id": 1051, "nodeType": "IfStatement", - "src": "28203:1273:1", + "src": "28991:1300:0", "trueBody": { - "id": 1555, + "id": 1047, "nodeType": "Block", - "src": "28224:1209:1", + "src": "29012:1234:0", "statements": [ { "assignments": [ - 1502 + 994 ], "declarations": [ { "constant": false, - "id": 1502, + "id": 994, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28564:21:1", + "scope": 1047, + "src": "29357:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12175,10 +12175,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1501, + "id": 993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28564:7:1", + "src": "29357:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12187,24 +12187,24 @@ "visibility": "internal" } ], - "id": 1506, + "id": 998, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1505, + "id": 997, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1503, + "id": 995, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28588:10:1", + "referencedDeclaration": 984, + "src": "29381:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12214,42 +12214,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1504, + "id": 996, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28601:1:1", + "src": "29394:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28588:14:1", + "src": "29381:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "assignments": [ - 1508 + 1000 ], "declarations": [ { "constant": false, - "id": 1508, + "id": 1000, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28616:17:1", + "scope": 1047, + "src": "29410:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12257,10 +12257,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1507, + "id": 999, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28616:7:1", + "src": "29410:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12269,13 +12269,13 @@ "visibility": "internal" } ], - "id": 1514, + "id": 1006, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1513, + "id": 1005, "isConstant": false, "isLValue": false, "isPure": false, @@ -12283,39 +12283,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1509, + "id": 1001, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28636:3:1", + "referencedDeclaration": 976, + "src": "29430:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1510, + "id": 1002, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28636:11:1", + "referencedDeclaration": 927, + "src": "29430:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1511, + "id": 1003, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "28636:18:1", + "src": "29430:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12325,42 +12325,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1512, + "id": 1004, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28657:1:1", + "src": "29451:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28636:22:1", + "src": "29430:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "assignments": [ - 1516 + 1008 ], "declarations": [ { "constant": false, - "id": 1516, + "id": 1008, "mutability": "mutable", "name": "lastvalue", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28898:17:1", + "scope": 1047, + "src": "29697:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12368,10 +12368,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1515, + "id": 1007, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28898:7:1", + "src": "29697:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12380,43 +12380,43 @@ "visibility": "internal" } ], - "id": 1521, + "id": 1013, "initialValue": { "baseExpression": { "expression": { - "id": 1517, + "id": 1009, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28918:3:1", + "referencedDeclaration": 976, + "src": "29717:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1518, + "id": 1010, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28918:11:1", + "referencedDeclaration": 927, + "src": "29717:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1520, + "id": 1012, "indexExpression": { - "id": 1519, + "id": 1011, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1508, - "src": "28930:9:1", + "referencedDeclaration": 1000, + "src": "29729:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12427,18 +12427,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28918:22:1", + "src": "29717:22:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "expression": { - "id": 1528, + "id": 1020, "isConstant": false, "isLValue": false, "isPure": false, @@ -12446,39 +12446,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1522, + "id": 1014, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29032:3:1", + "referencedDeclaration": 976, + "src": "29834:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1525, + "id": 1017, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29032:11:1", + "referencedDeclaration": 927, + "src": "29834:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1526, + "id": 1018, "indexExpression": { - "id": 1524, + "id": 1016, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29044:13:1", + "referencedDeclaration": 994, + "src": "29846:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12489,7 +12489,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29032:26:1", + "src": "29834:26:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12498,30 +12498,30 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1527, + "id": 1019, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29061:9:1", + "referencedDeclaration": 1008, + "src": "29863:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "29032:38:1", + "src": "29834:38:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1529, + "id": 1021, "nodeType": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "expression": { - "id": 1538, + "id": 1030, "isConstant": false, "isLValue": false, "isPure": false, @@ -12529,39 +12529,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1530, + "id": 1022, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29136:3:1", + "referencedDeclaration": 976, + "src": "29940:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1533, + "id": 1025, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29136:12:1", + "referencedDeclaration": 931, + "src": "29940:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1534, + "id": 1026, "indexExpression": { - "id": 1532, + "id": 1024, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29149:9:1", + "referencedDeclaration": 1008, + "src": "29953:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12572,7 +12572,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29136:23:1", + "src": "29940:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12585,18 +12585,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1537, + "id": 1029, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1535, + "id": 1027, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29162:13:1", + "referencedDeclaration": 994, + "src": "29966:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12606,35 +12606,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 1536, + "id": 1028, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29178:1:1", + "src": "29982:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "29162:17:1", + "src": "29966:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "29136:43:1", + "src": "29940:43:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1539, + "id": 1031, "nodeType": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "expression": { @@ -12643,45 +12643,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 1540, + "id": 1032, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29285:3:1", + "referencedDeclaration": 976, + "src": "30092:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1543, + "id": 1035, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29285:11:1", + "referencedDeclaration": 927, + "src": "30092:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1544, + "id": 1036, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "29285:15:1", + "src": "30092:15:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 1545, + "id": 1037, "isConstant": false, "isLValue": false, "isPure": false, @@ -12689,20 +12689,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "29285:17:1", + "src": "30092:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1546, + "id": 1038, "nodeType": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "expression": { - "id": 1551, + "id": 1043, "isConstant": false, "isLValue": false, "isPure": false, @@ -12710,43 +12710,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "29370:26:1", + "src": "30180:26:0", "subExpression": { "baseExpression": { "expression": { - "id": 1547, + "id": 1039, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29377:3:1", + "referencedDeclaration": 976, + "src": "30187:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1548, + "id": 1040, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29377:12:1", + "referencedDeclaration": 931, + "src": "30187:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1550, + "id": 1042, "indexExpression": { - "id": 1549, + "id": 1041, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "29390:5:1", + "referencedDeclaration": 978, + "src": "30200:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12757,7 +12757,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29377:19:1", + "src": "30187:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12768,31 +12768,31 @@ "typeString": "tuple()" } }, - "id": 1552, + "id": 1044, "nodeType": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "expression": { "hexValue": "74727565", - "id": 1553, + "id": 1045, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29418:4:1", + "src": "30230:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1490, - "id": 1554, + "functionReturnParameters": 982, + "id": 1046, "nodeType": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ] } @@ -12800,43 +12800,43 @@ ] }, "documentation": { - "id": 1482, + "id": 974, "nodeType": "StructuredDocumentation", - "src": "27808:157:1", + "src": "28586:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1561, + "id": 1053, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1487, + "id": 979, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1484, + "id": 976, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "27987:15:1", + "scope": 1053, + "src": "28771:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1483, + "id": 975, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27987:3:1", + "referencedDeclaration": 932, + "src": "28771:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -12844,12 +12844,12 @@ }, { "constant": false, - "id": 1486, + "id": 978, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28004:13:1", + "scope": 1053, + "src": "28788:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12857,10 +12857,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1485, + "id": 977, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28004:7:1", + "src": "28788:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12869,20 +12869,20 @@ "visibility": "internal" } ], - "src": "27986:32:1" + "src": "28770:32:0" }, "returnParameters": { - "id": 1490, + "id": 982, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1489, + "id": 981, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28036:4:1", + "scope": 1053, + "src": "28820:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12890,10 +12890,10 @@ "typeString": "bool" }, "typeName": { - "id": 1488, + "id": 980, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "28036:4:1", + "src": "28820:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12902,19 +12902,19 @@ "visibility": "internal" } ], - "src": "28035:6:1" + "src": "28819:6:0" }, - "scope": 1921, - "src": "27970:1512:1", + "scope": 1413, + "src": "28754:1544:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1578, + "id": 1070, "nodeType": "Block", - "src": "29642:48:1", + "src": "30463:50:0", "statements": [ { "expression": { @@ -12922,7 +12922,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1576, + "id": 1068, "isConstant": false, "isLValue": false, "isPure": false, @@ -12930,39 +12930,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 1571, + "id": 1063, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1564, - "src": "29659:3:1", + "referencedDeclaration": 1056, + "src": "30481:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1572, + "id": 1064, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29659:12:1", + "referencedDeclaration": 931, + "src": "30481:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1574, + "id": 1066, "indexExpression": { - "id": 1573, + "id": 1065, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1566, - "src": "29672:5:1", + "referencedDeclaration": 1058, + "src": "30494:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12973,7 +12973,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "29659:19:1", + "src": "30481:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12983,71 +12983,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1575, + "id": 1067, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29682:1:1", + "src": "30504:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "29659:24:1", + "src": "30481:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1570, - "id": 1577, + "functionReturnParameters": 1062, + "id": 1069, "nodeType": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ] }, "documentation": { - "id": 1562, + "id": 1054, "nodeType": "StructuredDocumentation", - "src": "29488:70:1", + "src": "30306:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1579, + "id": 1071, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1567, + "id": 1059, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1564, + "id": 1056, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29582:15:1", + "scope": 1071, + "src": "30403:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1563, + "id": 1055, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29582:3:1", + "referencedDeclaration": 932, + "src": "30403:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13055,12 +13055,12 @@ }, { "constant": false, - "id": 1566, + "id": 1058, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29599:13:1", + "scope": 1071, + "src": "30420:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13068,10 +13068,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1565, + "id": 1057, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "29599:7:1", + "src": "30420:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13080,20 +13080,20 @@ "visibility": "internal" } ], - "src": "29581:32:1" + "src": "30402:32:0" }, "returnParameters": { - "id": 1570, + "id": 1062, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1569, + "id": 1061, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29636:4:1", + "scope": 1071, + "src": "30457:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13101,10 +13101,10 @@ "typeString": "bool" }, "typeName": { - "id": 1568, + "id": 1060, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "29636:4:1", + "src": "30457:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13113,127 +13113,127 @@ "visibility": "internal" } ], - "src": "29635:6:1" + "src": "30456:6:0" }, - "scope": 1921, - "src": "29563:127:1", + "scope": 1413, + "src": "30384:129:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1591, + "id": 1083, "nodeType": "Block", - "src": "29836:42:1", + "src": "30664:44:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 1587, + "id": 1079, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1582, - "src": "29853:3:1", + "referencedDeclaration": 1074, + "src": "30682:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1588, + "id": 1080, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29853:11:1", + "referencedDeclaration": 927, + "src": "30682:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1589, + "id": 1081, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "29853:18:1", + "src": "30682:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1586, - "id": 1590, + "functionReturnParameters": 1078, + "id": 1082, "nodeType": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ] }, "documentation": { - "id": 1580, + "id": 1072, "nodeType": "StructuredDocumentation", - "src": "29696:70:1", + "src": "30521:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1592, + "id": 1084, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1583, + "id": 1075, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1582, + "id": 1074, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29788:15:1", + "scope": 1084, + "src": "30616:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1581, + "id": 1073, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29788:3:1", + "referencedDeclaration": 932, + "src": "30616:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, "visibility": "internal" } ], - "src": "29787:17:1" + "src": "30615:17:0" }, "returnParameters": { - "id": 1586, + "id": 1078, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1585, + "id": 1077, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29827:7:1", + "scope": 1084, + "src": "30655:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13241,10 +13241,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1584, + "id": 1076, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "29827:7:1", + "src": "30655:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13253,19 +13253,19 @@ "visibility": "internal" } ], - "src": "29826:9:1" + "src": "30654:9:0" }, - "scope": 1921, - "src": "29771:107:1", + "scope": 1413, + "src": "30599:109:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1616, + "id": 1108, "nodeType": "Block", - "src": "30286:125:1", + "src": "31128:128:0", "statements": [ { "expression": { @@ -13275,7 +13275,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1607, + "id": 1099, "isConstant": false, "isLValue": false, "isPure": false, @@ -13283,39 +13283,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1603, + "id": 1095, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30304:3:1", + "referencedDeclaration": 1087, + "src": "31147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1604, + "id": 1096, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30304:11:1", + "referencedDeclaration": 927, + "src": "31147:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1605, + "id": 1097, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "30304:18:1", + "src": "31147:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13324,18 +13324,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 1606, + "id": 1098, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30325:5:1", + "referencedDeclaration": 1089, + "src": "31168:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "30304:26:1", + "src": "31147:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13343,14 +13343,14 @@ }, { "hexValue": "456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473", - "id": 1608, + "id": 1100, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "30332:36:1", + "src": "31175:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_045d6834e6193a687012a3ad777f612279e549b6945364d9d2324f48610d3cbb", "typeString": "literal_string \"EnumerableSet: index out of bounds\"" @@ -13369,7 +13369,7 @@ "typeString": "literal_string \"EnumerableSet: index out of bounds\"" } ], - "id": 1602, + "id": 1094, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -13377,13 +13377,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "30296:7:1", + "src": "31139:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1609, + "id": 1101, "isConstant": false, "isLValue": false, "isPure": false, @@ -13391,54 +13391,54 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30296:73:1", + "src": "31139:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1610, + "id": 1102, "nodeType": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "expression": { "baseExpression": { "expression": { - "id": 1611, + "id": 1103, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30386:3:1", + "referencedDeclaration": 1087, + "src": "31230:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1612, + "id": 1104, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30386:11:1", + "referencedDeclaration": 927, + "src": "31230:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1614, + "id": 1106, "indexExpression": { - "id": 1613, + "id": 1105, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30398:5:1", + "referencedDeclaration": 1089, + "src": "31242:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13449,57 +13449,57 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "30386:18:1", + "src": "31230:18:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1601, - "id": 1615, + "functionReturnParameters": 1093, + "id": 1107, "nodeType": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ] }, "documentation": { - "id": 1593, + "id": 1085, "nodeType": "StructuredDocumentation", - "src": "29883:322:1", + "src": "30715:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1617, + "id": 1109, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1598, + "id": 1090, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1595, + "id": 1087, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30223:15:1", + "scope": 1109, + "src": "31065:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1594, + "id": 1086, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30223:3:1", + "referencedDeclaration": 932, + "src": "31065:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13507,12 +13507,12 @@ }, { "constant": false, - "id": 1597, + "id": 1089, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30240:13:1", + "scope": 1109, + "src": "31082:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13520,10 +13520,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1596, + "id": 1088, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "30240:7:1", + "src": "31082:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13532,20 +13532,20 @@ "visibility": "internal" } ], - "src": "30222:32:1" + "src": "31064:32:0" }, "returnParameters": { - "id": 1601, + "id": 1093, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1600, + "id": 1092, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30277:7:1", + "scope": 1109, + "src": "31119:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13553,10 +13553,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1599, + "id": 1091, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30277:7:1", + "src": "31119:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13565,40 +13565,40 @@ "visibility": "internal" } ], - "src": "30276:9:1" + "src": "31118:9:0" }, - "scope": 1921, - "src": "30210:201:1", + "scope": 1413, + "src": "31052:204:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableSet.Bytes32Set", - "id": 1620, + "id": 1112, "members": [ { "constant": false, - "id": 1619, + "id": 1111, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1620, - "src": "30464:10:1", + "scope": 1112, + "src": "31314:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1618, + "id": 1110, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30464:3:1", + "referencedDeclaration": 932, + "src": "31314:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13607,53 +13607,53 @@ ], "name": "Bytes32Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "30436:45:1", + "scope": 1413, + "src": "31285:47:0", "visibility": "public" }, { "body": { - "id": 1636, + "id": 1128, "nodeType": "Block", - "src": "30727:47:1", + "src": "31586:49:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1631, + "id": 1123, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1623, - "src": "30749:3:1", + "referencedDeclaration": 1115, + "src": "31609:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1632, + "id": 1124, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "30749:10:1", + "referencedDeclaration": 1111, + "src": "31609:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1633, + "id": 1125, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "30761:5:1", + "referencedDeclaration": 1117, + "src": "31621:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13663,7 +13663,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -13671,18 +13671,18 @@ "typeString": "bytes32" } ], - "id": 1630, + "id": 1122, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "30744:4:1", + "referencedDeclaration": 973, + "src": "31604:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1634, + "id": 1126, "isConstant": false, "isLValue": false, "isPure": false, @@ -13690,58 +13690,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30744:23:1", + "src": "31604:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1629, - "id": 1635, + "functionReturnParameters": 1121, + "id": 1127, "nodeType": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ] }, "documentation": { - "id": 1621, + "id": 1113, "nodeType": "StructuredDocumentation", - "src": "30487:159:1", + "src": "31340:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1637, + "id": 1129, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1626, + "id": 1118, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1623, + "id": 1115, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30664:22:1", + "scope": 1129, + "src": "31523:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1622, + "id": 1114, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30664:10:1", + "referencedDeclaration": 1112, + "src": "31523:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -13749,12 +13749,12 @@ }, { "constant": false, - "id": 1625, + "id": 1117, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30688:13:1", + "scope": 1129, + "src": "31547:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13762,10 +13762,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1624, + "id": 1116, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30688:7:1", + "src": "31547:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13774,20 +13774,20 @@ "visibility": "internal" } ], - "src": "30663:39:1" + "src": "31522:39:0" }, "returnParameters": { - "id": 1629, + "id": 1121, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1628, + "id": 1120, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30721:4:1", + "scope": 1129, + "src": "31580:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13795,10 +13795,10 @@ "typeString": "bool" }, "typeName": { - "id": 1627, + "id": 1119, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "30721:4:1", + "src": "31580:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13807,57 +13807,57 @@ "visibility": "internal" } ], - "src": "30720:6:1" + "src": "31579:6:0" }, - "scope": 1921, - "src": "30651:123:1", + "scope": 1413, + "src": "31510:125:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1653, + "id": 1145, "nodeType": "Block", - "src": "31021:50:1", + "src": "31890:52:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1648, + "id": 1140, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1640, - "src": "31046:3:1", + "referencedDeclaration": 1132, + "src": "31916:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1649, + "id": 1141, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31046:10:1", + "referencedDeclaration": 1111, + "src": "31916:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1650, + "id": 1142, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1642, - "src": "31058:5:1", + "referencedDeclaration": 1134, + "src": "31928:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13867,7 +13867,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -13875,18 +13875,18 @@ "typeString": "bytes32" } ], - "id": 1647, + "id": 1139, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "31038:7:1", + "referencedDeclaration": 1053, + "src": "31908:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1651, + "id": 1143, "isConstant": false, "isLValue": false, "isPure": false, @@ -13894,58 +13894,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31038:26:1", + "src": "31908:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1646, - "id": 1652, + "functionReturnParameters": 1138, + "id": 1144, "nodeType": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ] }, "documentation": { - "id": 1638, + "id": 1130, "nodeType": "StructuredDocumentation", - "src": "30780:157:1", + "src": "31643:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1654, + "id": 1146, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1643, + "id": 1135, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1640, + "id": 1132, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30958:22:1", + "scope": 1146, + "src": "31827:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1639, + "id": 1131, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30958:10:1", + "referencedDeclaration": 1112, + "src": "31827:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -13953,12 +13953,12 @@ }, { "constant": false, - "id": 1642, + "id": 1134, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30982:13:1", + "scope": 1146, + "src": "31851:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13966,10 +13966,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1641, + "id": 1133, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30982:7:1", + "src": "31851:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13978,20 +13978,20 @@ "visibility": "internal" } ], - "src": "30957:39:1" + "src": "31826:39:0" }, "returnParameters": { - "id": 1646, + "id": 1138, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1645, + "id": 1137, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "31015:4:1", + "scope": 1146, + "src": "31884:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13999,10 +13999,10 @@ "typeString": "bool" }, "typeName": { - "id": 1644, + "id": 1136, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31015:4:1", + "src": "31884:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14011,57 +14011,57 @@ "visibility": "internal" } ], - "src": "31014:6:1" + "src": "31883:6:0" }, - "scope": 1921, - "src": "30942:129:1", + "scope": 1413, + "src": "31811:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1670, + "id": 1162, "nodeType": "Block", - "src": "31238:52:1", + "src": "32114:54:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1665, + "id": 1157, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "31265:3:1", + "referencedDeclaration": 1149, + "src": "32142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1666, + "id": 1158, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31265:10:1", + "referencedDeclaration": 1111, + "src": "32142:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1667, + "id": 1159, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1659, - "src": "31277:5:1", + "referencedDeclaration": 1151, + "src": "32154:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14071,7 +14071,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14079,18 +14079,18 @@ "typeString": "bytes32" } ], - "id": 1664, + "id": 1156, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "31255:9:1", + "referencedDeclaration": 1071, + "src": "32132:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1668, + "id": 1160, "isConstant": false, "isLValue": false, "isPure": false, @@ -14098,58 +14098,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31255:28:1", + "src": "32132:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1663, - "id": 1669, + "functionReturnParameters": 1155, + "id": 1161, "nodeType": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ] }, "documentation": { - "id": 1655, + "id": 1147, "nodeType": "StructuredDocumentation", - "src": "31077:70:1", + "src": "31950:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1671, + "id": 1163, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1660, + "id": 1152, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1657, + "id": 1149, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31170:22:1", + "scope": 1163, + "src": "32046:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1656, + "id": 1148, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31170:10:1", + "referencedDeclaration": 1112, + "src": "32046:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14157,12 +14157,12 @@ }, { "constant": false, - "id": 1659, + "id": 1151, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31194:13:1", + "scope": 1163, + "src": "32070:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14170,10 +14170,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1658, + "id": 1150, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31194:7:1", + "src": "32070:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14182,20 +14182,20 @@ "visibility": "internal" } ], - "src": "31169:39:1" + "src": "32045:39:0" }, "returnParameters": { - "id": 1663, + "id": 1155, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1662, + "id": 1154, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31232:4:1", + "scope": 1163, + "src": "32108:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14203,10 +14203,10 @@ "typeString": "bool" }, "typeName": { - "id": 1661, + "id": 1153, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31232:4:1", + "src": "32108:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14215,47 +14215,47 @@ "visibility": "internal" } ], - "src": "31231:6:1" + "src": "32107:6:0" }, - "scope": 1921, - "src": "31152:138:1", + "scope": 1413, + "src": "32028:140:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1684, + "id": 1176, "nodeType": "Block", - "src": "31443:43:1", + "src": "32326:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1680, + "id": 1172, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "31468:3:1", + "referencedDeclaration": 1166, + "src": "32352:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1681, + "id": 1173, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31468:10:1", + "referencedDeclaration": 1111, + "src": "32352:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -14263,22 +14263,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1679, + "id": 1171, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "31460:7:1", + "referencedDeclaration": 1084, + "src": "32344:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1682, + "id": 1174, "isConstant": false, "isLValue": false, "isPure": false, @@ -14286,78 +14286,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31460:19:1", + "src": "32344:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1678, - "id": 1683, + "functionReturnParameters": 1170, + "id": 1175, "nodeType": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ] }, "documentation": { - "id": 1672, + "id": 1164, "nodeType": "StructuredDocumentation", - "src": "31296:70:1", + "src": "32176:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1685, + "id": 1177, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1675, + "id": 1167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1674, + "id": 1166, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31387:22:1", + "scope": 1177, + "src": "32270:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1673, + "id": 1165, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31387:10:1", + "referencedDeclaration": 1112, + "src": "32270:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, "visibility": "internal" } ], - "src": "31386:24:1" + "src": "32269:24:0" }, "returnParameters": { - "id": 1678, + "id": 1170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1677, + "id": 1169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31434:7:1", + "scope": 1177, + "src": "32317:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14365,10 +14365,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1676, + "id": 1168, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31434:7:1", + "src": "32317:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14377,57 +14377,57 @@ "visibility": "internal" } ], - "src": "31433:9:1" + "src": "32316:9:0" }, - "scope": 1921, - "src": "31371:115:1", + "scope": 1413, + "src": "32254:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1701, + "id": 1193, "nodeType": "Block", - "src": "31901:46:1", + "src": "32798:48:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1696, + "id": 1188, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1688, - "src": "31922:3:1", + "referencedDeclaration": 1180, + "src": "32820:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1697, + "id": 1189, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31922:10:1", + "referencedDeclaration": 1111, + "src": "32820:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1698, + "id": 1190, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "31934:5:1", + "referencedDeclaration": 1182, + "src": "32832:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14437,7 +14437,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14445,18 +14445,18 @@ "typeString": "uint256" } ], - "id": 1695, + "id": 1187, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "31918:3:1", + "referencedDeclaration": 1109, + "src": "32816:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1699, + "id": 1191, "isConstant": false, "isLValue": false, "isPure": false, @@ -14464,58 +14464,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31918:22:1", + "src": "32816:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1694, - "id": 1700, + "functionReturnParameters": 1186, + "id": 1192, "nodeType": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ] }, "documentation": { - "id": 1686, + "id": 1178, "nodeType": "StructuredDocumentation", - "src": "31491:322:1", + "src": "32378:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1702, + "id": 1194, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1691, + "id": 1183, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1688, + "id": 1180, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31830:22:1", + "scope": 1194, + "src": "32727:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1687, + "id": 1179, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31830:10:1", + "referencedDeclaration": 1112, + "src": "32727:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14523,12 +14523,12 @@ }, { "constant": false, - "id": 1690, + "id": 1182, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31854:13:1", + "scope": 1194, + "src": "32751:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14536,10 +14536,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1689, + "id": 1181, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31854:7:1", + "src": "32751:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14548,20 +14548,20 @@ "visibility": "internal" } ], - "src": "31829:39:1" + "src": "32726:39:0" }, "returnParameters": { - "id": 1694, + "id": 1186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1693, + "id": 1185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31892:7:1", + "scope": 1194, + "src": "32789:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14569,10 +14569,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1692, + "id": 1184, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31892:7:1", + "src": "32789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14581,40 +14581,40 @@ "visibility": "internal" } ], - "src": "31891:9:1" + "src": "32788:9:0" }, - "scope": 1921, - "src": "31818:129:1", + "scope": 1413, + "src": "32715:131:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.AddressSet", - "id": 1705, + "id": 1197, "members": [ { "constant": false, - "id": 1704, + "id": 1196, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1705, - "src": "32000:10:1", + "scope": 1197, + "src": "32904:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1703, + "id": 1195, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "32000:3:1", + "referencedDeclaration": 932, + "src": "32904:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -14623,43 +14623,43 @@ ], "name": "AddressSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "31972:45:1", + "scope": 1413, + "src": "32875:47:0", "visibility": "public" }, { "body": { - "id": 1730, + "id": 1222, "nodeType": "Block", - "src": "32263:74:1", + "src": "33176:76:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1716, + "id": 1208, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1708, - "src": "32285:3:1", + "referencedDeclaration": 1200, + "src": "33199:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1717, + "id": 1209, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32285:10:1", + "referencedDeclaration": 1196, + "src": "33199:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -14670,12 +14670,12 @@ { "arguments": [ { - "id": 1724, + "id": 1216, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1710, - "src": "32321:5:1", + "referencedDeclaration": 1202, + "src": "33235:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14689,26 +14689,26 @@ "typeString": "address" } ], - "id": 1723, + "id": 1215, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1722, + "id": 1214, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": {} } }, - "id": 1725, + "id": 1217, "isConstant": false, "isLValue": false, "isPure": false, @@ -14716,7 +14716,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32313:14:1", + "src": "33227:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -14731,26 +14731,26 @@ "typeString": "uint160" } ], - "id": 1721, + "id": 1213, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1720, + "id": 1212, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": {} } }, - "id": 1726, + "id": 1218, "isConstant": false, "isLValue": false, "isPure": false, @@ -14758,7 +14758,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32305:23:1", + "src": "33219:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -14773,26 +14773,26 @@ "typeString": "uint256" } ], - "id": 1719, + "id": 1211, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1718, + "id": 1210, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": {} } }, - "id": 1727, + "id": 1219, "isConstant": false, "isLValue": false, "isPure": false, @@ -14800,7 +14800,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32297:32:1", + "src": "33211:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -14811,7 +14811,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14819,18 +14819,18 @@ "typeString": "bytes32" } ], - "id": 1715, + "id": 1207, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "32280:4:1", + "referencedDeclaration": 973, + "src": "33194:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1728, + "id": 1220, "isConstant": false, "isLValue": false, "isPure": false, @@ -14838,58 +14838,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32280:50:1", + "src": "33194:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1714, - "id": 1729, + "functionReturnParameters": 1206, + "id": 1221, "nodeType": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ] }, "documentation": { - "id": 1706, + "id": 1198, "nodeType": "StructuredDocumentation", - "src": "32023:159:1", + "src": "32930:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1731, + "id": 1223, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1711, + "id": 1203, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1708, + "id": 1200, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32200:22:1", + "scope": 1223, + "src": "33113:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1707, + "id": 1199, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32200:10:1", + "referencedDeclaration": 1197, + "src": "33113:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -14897,12 +14897,12 @@ }, { "constant": false, - "id": 1710, + "id": 1202, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32224:13:1", + "scope": 1223, + "src": "33137:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14910,10 +14910,10 @@ "typeString": "address" }, "typeName": { - "id": 1709, + "id": 1201, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32224:7:1", + "src": "33137:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -14923,20 +14923,20 @@ "visibility": "internal" } ], - "src": "32199:39:1" + "src": "33112:39:0" }, "returnParameters": { - "id": 1714, + "id": 1206, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1713, + "id": 1205, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32257:4:1", + "scope": 1223, + "src": "33170:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14944,10 +14944,10 @@ "typeString": "bool" }, "typeName": { - "id": 1712, + "id": 1204, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32257:4:1", + "src": "33170:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14956,47 +14956,47 @@ "visibility": "internal" } ], - "src": "32256:6:1" + "src": "33169:6:0" }, - "scope": 1921, - "src": "32187:150:1", + "scope": 1413, + "src": "33100:152:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1756, + "id": 1248, "nodeType": "Block", - "src": "32584:77:1", + "src": "33507:79:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1742, + "id": 1234, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1734, - "src": "32609:3:1", + "referencedDeclaration": 1226, + "src": "33533:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1743, + "id": 1235, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32609:10:1", + "referencedDeclaration": 1196, + "src": "33533:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15007,12 +15007,12 @@ { "arguments": [ { - "id": 1750, + "id": 1242, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1736, - "src": "32645:5:1", + "referencedDeclaration": 1228, + "src": "33569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15026,26 +15026,26 @@ "typeString": "address" } ], - "id": 1749, + "id": 1241, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1748, + "id": 1240, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": {} } }, - "id": 1751, + "id": 1243, "isConstant": false, "isLValue": false, "isPure": false, @@ -15053,7 +15053,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32637:14:1", + "src": "33561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15068,26 +15068,26 @@ "typeString": "uint160" } ], - "id": 1747, + "id": 1239, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1746, + "id": 1238, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": {} } }, - "id": 1752, + "id": 1244, "isConstant": false, "isLValue": false, "isPure": false, @@ -15095,7 +15095,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32629:23:1", + "src": "33553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15110,26 +15110,26 @@ "typeString": "uint256" } ], - "id": 1745, + "id": 1237, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1744, + "id": 1236, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": {} } }, - "id": 1753, + "id": 1245, "isConstant": false, "isLValue": false, "isPure": false, @@ -15137,7 +15137,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32621:32:1", + "src": "33545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15148,7 +15148,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15156,18 +15156,18 @@ "typeString": "bytes32" } ], - "id": 1741, + "id": 1233, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "32601:7:1", + "referencedDeclaration": 1053, + "src": "33525:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1754, + "id": 1246, "isConstant": false, "isLValue": false, "isPure": false, @@ -15175,58 +15175,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32601:53:1", + "src": "33525:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1740, - "id": 1755, + "functionReturnParameters": 1232, + "id": 1247, "nodeType": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ] }, "documentation": { - "id": 1732, + "id": 1224, "nodeType": "StructuredDocumentation", - "src": "32343:157:1", + "src": "33260:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1757, + "id": 1249, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1737, + "id": 1229, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1734, + "id": 1226, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32521:22:1", + "scope": 1249, + "src": "33444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1733, + "id": 1225, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32521:10:1", + "referencedDeclaration": 1197, + "src": "33444:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15234,12 +15234,12 @@ }, { "constant": false, - "id": 1736, + "id": 1228, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32545:13:1", + "scope": 1249, + "src": "33468:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15247,10 +15247,10 @@ "typeString": "address" }, "typeName": { - "id": 1735, + "id": 1227, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32545:7:1", + "src": "33468:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15260,20 +15260,20 @@ "visibility": "internal" } ], - "src": "32520:39:1" + "src": "33443:39:0" }, "returnParameters": { - "id": 1740, + "id": 1232, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1739, + "id": 1231, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32578:4:1", + "scope": 1249, + "src": "33501:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15281,10 +15281,10 @@ "typeString": "bool" }, "typeName": { - "id": 1738, + "id": 1230, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32578:4:1", + "src": "33501:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15293,47 +15293,47 @@ "visibility": "internal" } ], - "src": "32577:6:1" + "src": "33500:6:0" }, - "scope": 1921, - "src": "32505:156:1", + "scope": 1413, + "src": "33428:158:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1782, + "id": 1274, "nodeType": "Block", - "src": "32828:79:1", + "src": "33758:81:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1768, + "id": 1260, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1760, - "src": "32855:3:1", + "referencedDeclaration": 1252, + "src": "33786:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1769, + "id": 1261, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32855:10:1", + "referencedDeclaration": 1196, + "src": "33786:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15344,12 +15344,12 @@ { "arguments": [ { - "id": 1776, + "id": 1268, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1762, - "src": "32891:5:1", + "referencedDeclaration": 1254, + "src": "33822:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15363,26 +15363,26 @@ "typeString": "address" } ], - "id": 1775, + "id": 1267, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1774, + "id": 1266, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": {} } }, - "id": 1777, + "id": 1269, "isConstant": false, "isLValue": false, "isPure": false, @@ -15390,7 +15390,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32883:14:1", + "src": "33814:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15405,26 +15405,26 @@ "typeString": "uint160" } ], - "id": 1773, + "id": 1265, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1772, + "id": 1264, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": {} } }, - "id": 1778, + "id": 1270, "isConstant": false, "isLValue": false, "isPure": false, @@ -15432,7 +15432,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32875:23:1", + "src": "33806:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15447,26 +15447,26 @@ "typeString": "uint256" } ], - "id": 1771, + "id": 1263, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1770, + "id": 1262, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": {} } }, - "id": 1779, + "id": 1271, "isConstant": false, "isLValue": false, "isPure": false, @@ -15474,7 +15474,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32867:32:1", + "src": "33798:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15485,7 +15485,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15493,18 +15493,18 @@ "typeString": "bytes32" } ], - "id": 1767, + "id": 1259, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "32845:9:1", + "referencedDeclaration": 1071, + "src": "33776:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1780, + "id": 1272, "isConstant": false, "isLValue": false, "isPure": false, @@ -15512,58 +15512,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32845:55:1", + "src": "33776:55:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1766, - "id": 1781, + "functionReturnParameters": 1258, + "id": 1273, "nodeType": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ] }, "documentation": { - "id": 1758, + "id": 1250, "nodeType": "StructuredDocumentation", - "src": "32667:70:1", + "src": "33594:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1783, + "id": 1275, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1763, + "id": 1255, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1760, + "id": 1252, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32760:22:1", + "scope": 1275, + "src": "33690:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1759, + "id": 1251, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32760:10:1", + "referencedDeclaration": 1197, + "src": "33690:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15571,12 +15571,12 @@ }, { "constant": false, - "id": 1762, + "id": 1254, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32784:13:1", + "scope": 1275, + "src": "33714:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15584,10 +15584,10 @@ "typeString": "address" }, "typeName": { - "id": 1761, + "id": 1253, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32784:7:1", + "src": "33714:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15597,20 +15597,20 @@ "visibility": "internal" } ], - "src": "32759:39:1" + "src": "33689:39:0" }, "returnParameters": { - "id": 1766, + "id": 1258, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1765, + "id": 1257, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32822:4:1", + "scope": 1275, + "src": "33752:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15618,10 +15618,10 @@ "typeString": "bool" }, "typeName": { - "id": 1764, + "id": 1256, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32822:4:1", + "src": "33752:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15630,47 +15630,47 @@ "visibility": "internal" } ], - "src": "32821:6:1" + "src": "33751:6:0" }, - "scope": 1921, - "src": "32742:165:1", + "scope": 1413, + "src": "33672:167:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1796, + "id": 1288, "nodeType": "Block", - "src": "33060:43:1", + "src": "33997:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1792, + "id": 1284, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1786, - "src": "33085:3:1", + "referencedDeclaration": 1278, + "src": "34023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1793, + "id": 1285, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33085:10:1", + "referencedDeclaration": 1196, + "src": "34023:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -15678,22 +15678,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1791, + "id": 1283, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "33077:7:1", + "referencedDeclaration": 1084, + "src": "34015:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1794, + "id": 1286, "isConstant": false, "isLValue": false, "isPure": false, @@ -15701,78 +15701,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33077:19:1", + "src": "34015:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1790, - "id": 1795, + "functionReturnParameters": 1282, + "id": 1287, "nodeType": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ] }, "documentation": { - "id": 1784, + "id": 1276, "nodeType": "StructuredDocumentation", - "src": "32913:70:1", + "src": "33847:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1797, + "id": 1289, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1787, + "id": 1279, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1786, + "id": 1278, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33004:22:1", + "scope": 1289, + "src": "33941:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1785, + "id": 1277, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33004:10:1", + "referencedDeclaration": 1197, + "src": "33941:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, "visibility": "internal" } ], - "src": "33003:24:1" + "src": "33940:24:0" }, "returnParameters": { - "id": 1790, + "id": 1282, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1789, + "id": 1281, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33051:7:1", + "scope": 1289, + "src": "33988:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15780,10 +15780,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1788, + "id": 1280, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33051:7:1", + "src": "33988:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15792,19 +15792,19 @@ "visibility": "internal" } ], - "src": "33050:9:1" + "src": "33987:9:0" }, - "scope": 1921, - "src": "32988:115:1", + "scope": 1413, + "src": "33925:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1822, + "id": 1314, "nodeType": "Block", - "src": "33518:73:1", + "src": "34469:75:0", "statements": [ { "expression": { @@ -15817,38 +15817,38 @@ "arguments": [ { "expression": { - "id": 1814, + "id": 1306, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1800, - "src": "33563:3:1", + "referencedDeclaration": 1292, + "src": "34515:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1815, + "id": 1307, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33563:10:1", + "referencedDeclaration": 1196, + "src": "34515:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1816, + "id": 1308, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1802, - "src": "33575:5:1", + "referencedDeclaration": 1294, + "src": "34527:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15858,7 +15858,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15866,18 +15866,18 @@ "typeString": "uint256" } ], - "id": 1813, + "id": 1305, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "33559:3:1", + "referencedDeclaration": 1109, + "src": "34511:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1817, + "id": 1309, "isConstant": false, "isLValue": false, "isPure": false, @@ -15885,7 +15885,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33559:22:1", + "src": "34511:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15900,26 +15900,26 @@ "typeString": "bytes32" } ], - "id": 1812, + "id": 1304, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1811, + "id": 1303, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": {} } }, - "id": 1818, + "id": 1310, "isConstant": false, "isLValue": false, "isPure": false, @@ -15927,7 +15927,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33551:31:1", + "src": "34503:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15942,26 +15942,26 @@ "typeString": "uint256" } ], - "id": 1810, + "id": 1302, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1809, + "id": 1301, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": {} } }, - "id": 1819, + "id": 1311, "isConstant": false, "isLValue": false, "isPure": false, @@ -15969,7 +15969,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33543:40:1", + "src": "34495:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15984,26 +15984,26 @@ "typeString": "uint160" } ], - "id": 1808, + "id": 1300, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1807, + "id": 1299, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": {} } }, - "id": 1820, + "id": 1312, "isConstant": false, "isLValue": false, "isPure": false, @@ -16011,58 +16011,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33535:49:1", + "src": "34487:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 1806, - "id": 1821, + "functionReturnParameters": 1298, + "id": 1313, "nodeType": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ] }, "documentation": { - "id": 1798, + "id": 1290, "nodeType": "StructuredDocumentation", - "src": "33108:322:1", + "src": "34049:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1823, + "id": 1315, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1803, + "id": 1295, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1800, + "id": 1292, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33447:22:1", + "scope": 1315, + "src": "34398:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1799, + "id": 1291, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33447:10:1", + "referencedDeclaration": 1197, + "src": "34398:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -16070,12 +16070,12 @@ }, { "constant": false, - "id": 1802, + "id": 1294, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33471:13:1", + "scope": 1315, + "src": "34422:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16083,10 +16083,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1801, + "id": 1293, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33471:7:1", + "src": "34422:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16095,20 +16095,20 @@ "visibility": "internal" } ], - "src": "33446:39:1" + "src": "34397:39:0" }, "returnParameters": { - "id": 1806, + "id": 1298, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1805, + "id": 1297, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33509:7:1", + "scope": 1315, + "src": "34460:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16116,10 +16116,10 @@ "typeString": "address" }, "typeName": { - "id": 1804, + "id": 1296, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33509:7:1", + "src": "34460:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16129,40 +16129,40 @@ "visibility": "internal" } ], - "src": "33508:9:1" + "src": "34459:9:0" }, - "scope": 1921, - "src": "33435:156:1", + "scope": 1413, + "src": "34386:158:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.UintSet", - "id": 1826, + "id": 1318, "members": [ { "constant": false, - "id": 1825, + "id": 1317, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1826, - "src": "33639:10:1", + "scope": 1318, + "src": "34598:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1824, + "id": 1316, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "33639:3:1", + "referencedDeclaration": 932, + "src": "34598:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -16171,55 +16171,55 @@ ], "name": "UintSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "33614:42:1", + "scope": 1413, + "src": "34572:44:0", "visibility": "public" }, { "body": { - "id": 1845, + "id": 1337, "nodeType": "Block", - "src": "33899:56:1", + "src": "34867:58:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1837, + "id": 1329, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1829, - "src": "33921:3:1", + "referencedDeclaration": 1321, + "src": "34890:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1838, + "id": 1330, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "33921:10:1", + "referencedDeclaration": 1317, + "src": "34890:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1841, + "id": 1333, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1831, - "src": "33941:5:1", + "referencedDeclaration": 1323, + "src": "34910:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16233,26 +16233,26 @@ "typeString": "uint256" } ], - "id": 1840, + "id": 1332, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1839, + "id": 1331, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": {} } }, - "id": 1842, + "id": 1334, "isConstant": false, "isLValue": false, "isPure": false, @@ -16260,7 +16260,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33933:14:1", + "src": "34902:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16271,7 +16271,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16279,18 +16279,18 @@ "typeString": "bytes32" } ], - "id": 1836, + "id": 1328, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "33916:4:1", + "referencedDeclaration": 973, + "src": "34885:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1843, + "id": 1335, "isConstant": false, "isLValue": false, "isPure": false, @@ -16298,58 +16298,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33916:32:1", + "src": "34885:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1835, - "id": 1844, + "functionReturnParameters": 1327, + "id": 1336, "nodeType": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ] }, "documentation": { - "id": 1827, + "id": 1319, "nodeType": "StructuredDocumentation", - "src": "33662:159:1", + "src": "34624:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1846, + "id": 1338, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1832, + "id": 1324, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1829, + "id": 1321, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33839:19:1", + "scope": 1338, + "src": "34807:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1828, + "id": 1320, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "33839:7:1", + "referencedDeclaration": 1318, + "src": "34807:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16357,12 +16357,12 @@ }, { "constant": false, - "id": 1831, + "id": 1323, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33860:13:1", + "scope": 1338, + "src": "34828:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16370,10 +16370,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1830, + "id": 1322, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33860:7:1", + "src": "34828:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16382,20 +16382,20 @@ "visibility": "internal" } ], - "src": "33838:36:1" + "src": "34806:36:0" }, "returnParameters": { - "id": 1835, + "id": 1327, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1834, + "id": 1326, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33893:4:1", + "scope": 1338, + "src": "34861:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16403,10 +16403,10 @@ "typeString": "bool" }, "typeName": { - "id": 1833, + "id": 1325, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "33893:4:1", + "src": "34861:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16415,59 +16415,59 @@ "visibility": "internal" } ], - "src": "33892:6:1" + "src": "34860:6:0" }, - "scope": 1921, - "src": "33826:129:1", + "scope": 1413, + "src": "34794:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1865, + "id": 1357, "nodeType": "Block", - "src": "34199:59:1", + "src": "35177:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1857, + "id": 1349, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1849, - "src": "34224:3:1", + "referencedDeclaration": 1341, + "src": "35203:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1858, + "id": 1350, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34224:10:1", + "referencedDeclaration": 1317, + "src": "35203:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1861, + "id": 1353, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1851, - "src": "34244:5:1", + "referencedDeclaration": 1343, + "src": "35223:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16481,26 +16481,26 @@ "typeString": "uint256" } ], - "id": 1860, + "id": 1352, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1859, + "id": 1351, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": {} } }, - "id": 1862, + "id": 1354, "isConstant": false, "isLValue": false, "isPure": false, @@ -16508,7 +16508,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34236:14:1", + "src": "35215:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16519,7 +16519,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16527,18 +16527,18 @@ "typeString": "bytes32" } ], - "id": 1856, + "id": 1348, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "34216:7:1", + "referencedDeclaration": 1053, + "src": "35195:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1863, + "id": 1355, "isConstant": false, "isLValue": false, "isPure": false, @@ -16546,58 +16546,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34216:35:1", + "src": "35195:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1855, - "id": 1864, + "functionReturnParameters": 1347, + "id": 1356, "nodeType": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ] }, "documentation": { - "id": 1847, + "id": 1339, "nodeType": "StructuredDocumentation", - "src": "33961:157:1", + "src": "34933:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1866, + "id": 1358, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1852, + "id": 1344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1849, + "id": 1341, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34139:19:1", + "scope": 1358, + "src": "35117:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1848, + "id": 1340, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34139:7:1", + "referencedDeclaration": 1318, + "src": "35117:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16605,12 +16605,12 @@ }, { "constant": false, - "id": 1851, + "id": 1343, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34160:13:1", + "scope": 1358, + "src": "35138:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16618,10 +16618,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1850, + "id": 1342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34160:7:1", + "src": "35138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16630,20 +16630,20 @@ "visibility": "internal" } ], - "src": "34138:36:1" + "src": "35116:36:0" }, "returnParameters": { - "id": 1855, + "id": 1347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1854, + "id": 1346, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34193:4:1", + "scope": 1358, + "src": "35171:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16651,10 +16651,10 @@ "typeString": "bool" }, "typeName": { - "id": 1853, + "id": 1345, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34193:4:1", + "src": "35171:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16663,59 +16663,59 @@ "visibility": "internal" } ], - "src": "34192:6:1" + "src": "35170:6:0" }, - "scope": 1921, - "src": "34123:135:1", + "scope": 1413, + "src": "35101:137:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1885, + "id": 1377, "nodeType": "Block", - "src": "34422:61:1", + "src": "35407:63:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1877, + "id": 1369, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1869, - "src": "34449:3:1", + "referencedDeclaration": 1361, + "src": "35435:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1878, + "id": 1370, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34449:10:1", + "referencedDeclaration": 1317, + "src": "35435:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1881, + "id": 1373, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1871, - "src": "34469:5:1", + "referencedDeclaration": 1363, + "src": "35455:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16729,26 +16729,26 @@ "typeString": "uint256" } ], - "id": 1880, + "id": 1372, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1879, + "id": 1371, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": {} } }, - "id": 1882, + "id": 1374, "isConstant": false, "isLValue": false, "isPure": false, @@ -16756,7 +16756,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34461:14:1", + "src": "35447:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16767,7 +16767,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16775,18 +16775,18 @@ "typeString": "bytes32" } ], - "id": 1876, + "id": 1368, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "34439:9:1", + "referencedDeclaration": 1071, + "src": "35425:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1883, + "id": 1375, "isConstant": false, "isLValue": false, "isPure": false, @@ -16794,58 +16794,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34439:37:1", + "src": "35425:37:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1875, - "id": 1884, + "functionReturnParameters": 1367, + "id": 1376, "nodeType": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ] }, "documentation": { - "id": 1867, + "id": 1359, "nodeType": "StructuredDocumentation", - "src": "34264:70:1", + "src": "35246:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1886, + "id": 1378, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1872, + "id": 1364, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1869, + "id": 1361, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34357:19:1", + "scope": 1378, + "src": "35342:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1868, + "id": 1360, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34357:7:1", + "referencedDeclaration": 1318, + "src": "35342:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16853,12 +16853,12 @@ }, { "constant": false, - "id": 1871, + "id": 1363, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34378:13:1", + "scope": 1378, + "src": "35363:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16866,10 +16866,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1870, + "id": 1362, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34378:7:1", + "src": "35363:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16878,20 +16878,20 @@ "visibility": "internal" } ], - "src": "34356:36:1" + "src": "35341:36:0" }, "returnParameters": { - "id": 1875, + "id": 1367, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1874, + "id": 1366, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34416:4:1", + "scope": 1378, + "src": "35401:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16899,10 +16899,10 @@ "typeString": "bool" }, "typeName": { - "id": 1873, + "id": 1365, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34416:4:1", + "src": "35401:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16911,47 +16911,47 @@ "visibility": "internal" } ], - "src": "34415:6:1" + "src": "35400:6:0" }, - "scope": 1921, - "src": "34339:144:1", + "scope": 1413, + "src": "35324:146:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1899, + "id": 1391, "nodeType": "Block", - "src": "34633:43:1", + "src": "35625:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1895, + "id": 1387, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1889, - "src": "34658:3:1", + "referencedDeclaration": 1381, + "src": "35651:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1896, + "id": 1388, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34658:10:1", + "referencedDeclaration": 1317, + "src": "35651:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -16959,22 +16959,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1894, + "id": 1386, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "34650:7:1", + "referencedDeclaration": 1084, + "src": "35643:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1897, + "id": 1389, "isConstant": false, "isLValue": false, "isPure": false, @@ -16982,78 +16982,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34650:19:1", + "src": "35643:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1893, - "id": 1898, + "functionReturnParameters": 1385, + "id": 1390, "nodeType": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ] }, "documentation": { - "id": 1887, + "id": 1379, "nodeType": "StructuredDocumentation", - "src": "34489:70:1", + "src": "35478:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1900, + "id": 1392, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1890, + "id": 1382, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1889, + "id": 1381, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34580:19:1", + "scope": 1392, + "src": "35572:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1888, + "id": 1380, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34580:7:1", + "referencedDeclaration": 1318, + "src": "35572:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, "visibility": "internal" } ], - "src": "34579:21:1" + "src": "35571:21:0" }, "returnParameters": { - "id": 1893, + "id": 1385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1892, + "id": 1384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34624:7:1", + "scope": 1392, + "src": "35616:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17061,10 +17061,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1891, + "id": 1383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34624:7:1", + "src": "35616:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17073,19 +17073,19 @@ "visibility": "internal" } ], - "src": "34623:9:1" + "src": "35615:9:0" }, - "scope": 1921, - "src": "34564:112:1", + "scope": 1413, + "src": "35556:114:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1919, + "id": 1411, "nodeType": "Block", - "src": "35088:55:1", + "src": "36094:57:0", "statements": [ { "expression": { @@ -17094,38 +17094,38 @@ "arguments": [ { "expression": { - "id": 1913, + "id": 1405, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1903, - "src": "35117:3:1", + "referencedDeclaration": 1395, + "src": "36124:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1914, + "id": 1406, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "35117:10:1", + "referencedDeclaration": 1317, + "src": "36124:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1915, + "id": 1407, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1905, - "src": "35129:5:1", + "referencedDeclaration": 1397, + "src": "36136:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17135,7 +17135,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -17143,18 +17143,18 @@ "typeString": "uint256" } ], - "id": 1912, + "id": 1404, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "35113:3:1", + "referencedDeclaration": 1109, + "src": "36120:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1916, + "id": 1408, "isConstant": false, "isLValue": false, "isPure": false, @@ -17162,7 +17162,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35113:22:1", + "src": "36120:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -17177,26 +17177,26 @@ "typeString": "bytes32" } ], - "id": 1911, + "id": 1403, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1910, + "id": 1402, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": {} } }, - "id": 1917, + "id": 1409, "isConstant": false, "isLValue": false, "isPure": false, @@ -17204,58 +17204,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35105:31:1", + "src": "36112:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1909, - "id": 1918, + "functionReturnParameters": 1401, + "id": 1410, "nodeType": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ] }, "documentation": { - "id": 1901, + "id": 1393, "nodeType": "StructuredDocumentation", - "src": "34681:322:1", + "src": "35677:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1920, + "id": 1412, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1906, + "id": 1398, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1903, + "id": 1395, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35020:19:1", + "scope": 1412, + "src": "36026:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1902, + "id": 1394, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "35020:7:1", + "referencedDeclaration": 1318, + "src": "36026:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -17263,12 +17263,12 @@ }, { "constant": false, - "id": 1905, + "id": 1397, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35041:13:1", + "scope": 1412, + "src": "36047:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17276,10 +17276,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1904, + "id": 1396, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35041:7:1", + "src": "36047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17288,20 +17288,20 @@ "visibility": "internal" } ], - "src": "35019:36:1" + "src": "36025:36:0" }, "returnParameters": { - "id": 1909, + "id": 1401, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1908, + "id": 1400, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35079:7:1", + "scope": 1412, + "src": "36085:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17309,10 +17309,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1907, + "id": 1399, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35079:7:1", + "src": "36085:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17321,20 +17321,20 @@ "visibility": "internal" } ], - "src": "35078:9:1" + "src": "36084:9:0" }, - "scope": 1921, - "src": "35008:135:1", + "scope": 1413, + "src": "36014:137:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "26511:8634:1" + "scope": 2991, + "src": "27252:8902:0" }, { - "id": 1922, + "id": 1414, "literals": [ "solidity", ">=", @@ -17345,7 +17345,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "abstract": false, @@ -17353,31 +17353,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1923, + "id": 1415, "nodeType": "StructuredDocumentation", - "src": "35237:705:1", + "src": "36251:728:0", "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, "fullyImplemented": true, - "id": 2480, + "id": 1972, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableMap.MapEntry", - "id": 1928, + "id": 1420, "members": [ { "constant": false, - "id": 1925, + "id": 1417, "mutability": "mutable", "name": "_key", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36455:12:1", + "scope": 1420, + "src": "37504:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17385,10 +17385,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1924, + "id": 1416, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36455:7:1", + "src": "37504:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17398,12 +17398,12 @@ }, { "constant": false, - "id": 1927, + "id": 1419, "mutability": "mutable", "name": "_value", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36477:14:1", + "scope": 1420, + "src": "37527:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17411,10 +17411,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1926, + "id": 1418, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36477:7:1", + "src": "37527:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17425,45 +17425,45 @@ ], "name": "MapEntry", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36429:69:1", + "scope": 1972, + "src": "37477:72:0", "visibility": "public" }, { "canonicalName": "EnumerableMap.Map", - "id": 1936, + "id": 1428, "members": [ { "constant": false, - "id": 1931, + "id": 1423, "mutability": "mutable", "name": "_entries", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36567:19:1", + "scope": 1428, + "src": "37622:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" }, "typeName": { "baseType": { - "id": 1929, + "id": 1421, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "36567:8:1", + "referencedDeclaration": 1420, + "src": "37622:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, - "id": 1930, + "id": 1422, "nodeType": "ArrayTypeName", - "src": "36567:10:1", + "src": "37622:10:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" } }, @@ -17471,12 +17471,12 @@ }, { "constant": false, - "id": 1935, + "id": 1427, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36736:37:1", + "scope": 1428, + "src": "37795:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17484,28 +17484,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1934, + "id": 1426, "keyType": { - "id": 1932, + "id": 1424, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36745:7:1", + "src": "37804:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "36736:28:1", + "src": "37795:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1933, + "id": 1425, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "36756:7:1", + "src": "37815:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17517,29 +17517,29 @@ ], "name": "Map", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36504:276:1", + "scope": 1972, + "src": "37557:283:0", "visibility": "public" }, { "body": { - "id": 1997, + "id": 1489, "nodeType": "Block", - "src": "37089:596:1", + "src": "38158:610:0", "statements": [ { "assignments": [ - 1949 + 1441 ], "declarations": [ { "constant": false, - "id": 1949, + "id": 1441, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 1997, - "src": "37197:16:1", + "scope": 1489, + "src": "38268:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17547,10 +17547,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1948, + "id": 1440, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "37197:7:1", + "src": "38268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17559,43 +17559,43 @@ "visibility": "internal" } ], - "id": 1954, + "id": 1446, "initialValue": { "baseExpression": { "expression": { - "id": 1950, + "id": 1442, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37216:3:1", + "referencedDeclaration": 1431, + "src": "38287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1951, + "id": 1443, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37216:12:1", + "referencedDeclaration": 1427, + "src": "38287:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1953, + "id": 1445, "indexExpression": { - "id": 1952, + "id": 1444, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37229:3:1", + "referencedDeclaration": 1433, + "src": "38300:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17606,14 +17606,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37216:17:1", + "src": "38287:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "condition": { @@ -17621,18 +17621,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1957, + "id": 1449, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1955, + "id": 1447, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37248:8:1", + "referencedDeclaration": 1441, + "src": "38321:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17642,34 +17642,34 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 1956, + "id": 1448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37260:1:1", + "src": "38333:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "37248:13:1", + "src": "38321:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1995, + "id": 1487, "nodeType": "Block", - "src": "37587:92:1", + "src": "38666:95:0", "statements": [ { "expression": { - "id": 1991, + "id": 1483, "isConstant": false, "isLValue": false, "isPure": false, @@ -17678,49 +17678,49 @@ "expression": { "baseExpression": { "expression": { - "id": 1982, + "id": 1474, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37601:3:1", + "referencedDeclaration": 1431, + "src": "38681:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1987, + "id": 1479, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37601:12:1", + "referencedDeclaration": 1423, + "src": "38681:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1988, + "id": 1480, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1986, + "id": 1478, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1984, + "id": 1476, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37614:8:1", + "referencedDeclaration": 1441, + "src": "38694:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17730,21 +17730,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1985, + "id": 1477, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37625:1:1", + "src": "38705:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "37614:12:1", + "src": "38694:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17755,21 +17755,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37601:26:1", + "src": "38681:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 1989, + "id": 1481, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "37601:33:1", + "referencedDeclaration": 1419, + "src": "38681:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17778,58 +17778,58 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1990, + "id": 1482, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37637:5:1", + "referencedDeclaration": 1435, + "src": "38717:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "37601:41:1", + "src": "38681:41:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1992, + "id": 1484, "nodeType": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "expression": { "hexValue": "66616c7365", - "id": 1993, + "id": 1485, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37663:5:1", + "src": "38744:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1947, - "id": 1994, + "functionReturnParameters": 1439, + "id": 1486, "nodeType": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ] }, - "id": 1996, + "id": 1488, "nodeType": "IfStatement", - "src": "37244:435:1", + "src": "38317:444:0", "trueBody": { - "id": 1981, + "id": 1473, "nodeType": "Block", - "src": "37263:318:1", + "src": "38336:324:0", "statements": [ { "expression": { @@ -17837,24 +17837,24 @@ { "arguments": [ { - "id": 1964, + "id": 1456, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37349:3:1", + "referencedDeclaration": 1433, + "src": "38423:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, { - "id": 1965, + "id": 1457, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37362:5:1", + "referencedDeclaration": 1435, + "src": "38436:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17872,18 +17872,18 @@ "typeString": "bytes32" } ], - "id": 1963, + "id": 1455, "name": "MapEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1928, - "src": "37332:8:1", + "referencedDeclaration": 1420, + "src": "38406:8:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_MapEntry_$1928_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_MapEntry_$1420_storage_ptr_$", "typeString": "type(struct EnumerableMap.MapEntry storage pointer)" } }, - "id": 1966, + "id": 1458, "isConstant": false, "isLValue": false, "isPure": false, @@ -17894,10 +17894,10 @@ "_value" ], "nodeType": "FunctionCall", - "src": "37332:38:1", + "src": "38406:38:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } } @@ -17905,51 +17905,51 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], "expression": { "expression": { - "id": 1958, + "id": 1450, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37314:3:1", + "referencedDeclaration": 1431, + "src": "38388:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1961, + "id": 1453, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37314:12:1", + "referencedDeclaration": 1423, + "src": "38388:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1962, + "id": 1454, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "37314:17:1", + "src": "38388:17:0", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1928_storage_$returns$__$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1420_storage_$returns$__$", "typeString": "function (struct EnumerableMap.MapEntry storage ref)" } }, - "id": 1967, + "id": 1459, "isConstant": false, "isLValue": false, "isPure": false, @@ -17957,20 +17957,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "37314:57:1", + "src": "38388:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1968, + "id": 1460, "nodeType": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "expression": { - "id": 1977, + "id": 1469, "isConstant": false, "isLValue": false, "isPure": false, @@ -17978,39 +17978,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1969, + "id": 1461, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37506:3:1", + "referencedDeclaration": 1431, + "src": "38583:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1972, + "id": 1464, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37506:12:1", + "referencedDeclaration": 1427, + "src": "38583:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1973, + "id": 1465, "indexExpression": { - "id": 1971, + "id": 1463, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37519:3:1", + "referencedDeclaration": 1433, + "src": "38596:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18021,7 +18021,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "37506:17:1", + "src": "38583:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18032,75 +18032,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1974, + "id": 1466, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37526:3:1", + "referencedDeclaration": 1431, + "src": "38603:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1975, + "id": 1467, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37526:12:1", + "referencedDeclaration": 1423, + "src": "38603:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1976, + "id": 1468, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "37526:19:1", + "src": "38603:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "37506:39:1", + "src": "38583:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1978, + "id": 1470, "nodeType": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "expression": { "hexValue": "74727565", - "id": 1979, + "id": 1471, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37566:4:1", + "src": "38644:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1947, - "id": 1980, + "functionReturnParameters": 1439, + "id": 1472, "nodeType": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ] } @@ -18108,43 +18108,43 @@ ] }, "documentation": { - "id": 1937, + "id": 1429, "nodeType": "StructuredDocumentation", - "src": "36786:216:1", + "src": "37848:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1998, + "id": 1490, "implemented": true, "kind": "function", "modifiers": [], "name": "_set", "nodeType": "FunctionDefinition", "parameters": { - "id": 1944, + "id": 1436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1939, + "id": 1431, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37021:15:1", + "scope": 1490, + "src": "38090:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 1938, + "id": 1430, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37021:3:1", + "referencedDeclaration": 1428, + "src": "38090:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -18152,12 +18152,12 @@ }, { "constant": false, - "id": 1941, + "id": 1433, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37038:11:1", + "scope": 1490, + "src": "38107:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18165,10 +18165,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1940, + "id": 1432, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37038:7:1", + "src": "38107:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18178,12 +18178,12 @@ }, { "constant": false, - "id": 1943, + "id": 1435, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37051:13:1", + "scope": 1490, + "src": "38120:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18191,10 +18191,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1942, + "id": 1434, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37051:7:1", + "src": "38120:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18203,20 +18203,20 @@ "visibility": "internal" } ], - "src": "37020:45:1" + "src": "38089:45:0" }, "returnParameters": { - "id": 1947, + "id": 1439, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1946, + "id": 1438, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37083:4:1", + "scope": 1490, + "src": "38152:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18224,10 +18224,10 @@ "typeString": "bool" }, "typeName": { - "id": 1945, + "id": 1437, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37083:4:1", + "src": "38152:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -18236,33 +18236,33 @@ "visibility": "internal" } ], - "src": "37082:6:1" + "src": "38151:6:0" }, - "scope": 2480, - "src": "37007:678:1", + "scope": 1972, + "src": "38076:692:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2078, + "id": 1570, "nodeType": "Block", - "src": "37923:1447:1", + "src": "39013:1479:0", "statements": [ { "assignments": [ - 2009 + 1501 ], "declarations": [ { "constant": false, - "id": 2009, + "id": 1501, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2078, - "src": "38031:16:1", + "scope": 1570, + "src": "39123:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18270,10 +18270,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2008, + "id": 1500, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38031:7:1", + "src": "39123:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18282,43 +18282,43 @@ "visibility": "internal" } ], - "id": 2014, + "id": 1506, "initialValue": { "baseExpression": { "expression": { - "id": 2010, + "id": 1502, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38050:3:1", + "referencedDeclaration": 1493, + "src": "39142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2011, + "id": 1503, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "38050:12:1", + "referencedDeclaration": 1427, + "src": "39142:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2013, + "id": 1505, "indexExpression": { - "id": 2012, + "id": 1504, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "38063:3:1", + "referencedDeclaration": 1495, + "src": "39155:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18329,14 +18329,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38050:17:1", + "src": "39142:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "condition": { @@ -18344,18 +18344,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2017, + "id": 1509, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2015, + "id": 1507, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38082:8:1", + "referencedDeclaration": 1501, + "src": "39176:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18365,76 +18365,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2016, + "id": 1508, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38094:1:1", + "src": "39188:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "38082:13:1", + "src": "39176:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 2076, + "id": 1568, "nodeType": "Block", - "src": "39327:37:1", + "src": "40446:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 2074, + "id": 1566, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39348:5:1", + "src": "40468:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 2007, - "id": 2075, + "functionReturnParameters": 1499, + "id": 1567, "nodeType": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ] }, - "id": 2077, + "id": 1569, "nodeType": "IfStatement", - "src": "38078:1286:1", + "src": "39172:1313:0", "trueBody": { - "id": 2073, + "id": 1565, "nodeType": "Block", - "src": "38097:1224:1", + "src": "39191:1249:0", "statements": [ { "assignments": [ - 2019 + 1511 ], "declarations": [ { "constant": false, - "id": 2019, + "id": 1511, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38438:21:1", + "scope": 1565, + "src": "39537:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18442,10 +18442,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2018, + "id": 1510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38438:7:1", + "src": "39537:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18454,24 +18454,24 @@ "visibility": "internal" } ], - "id": 2023, + "id": 1515, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2022, + "id": 1514, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2020, + "id": 1512, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38462:8:1", + "referencedDeclaration": 1501, + "src": "39561:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18481,42 +18481,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2021, + "id": 1513, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38473:1:1", + "src": "39572:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38462:12:1", + "src": "39561:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "assignments": [ - 2025 + 1517 ], "declarations": [ { "constant": false, - "id": 2025, + "id": 1517, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38488:17:1", + "scope": 1565, + "src": "39588:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18524,10 +18524,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2024, + "id": 1516, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38488:7:1", + "src": "39588:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18536,13 +18536,13 @@ "visibility": "internal" } ], - "id": 2031, + "id": 1523, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2030, + "id": 1522, "isConstant": false, "isLValue": false, "isPure": false, @@ -18550,39 +18550,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2026, + "id": 1518, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38508:3:1", + "referencedDeclaration": 1493, + "src": "39608:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2027, + "id": 1519, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38508:12:1", + "referencedDeclaration": 1423, + "src": "39608:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2028, + "id": 1520, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "38508:19:1", + "src": "39608:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18592,99 +18592,99 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2029, + "id": 1521, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38530:1:1", + "src": "39630:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38508:23:1", + "src": "39608:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "assignments": [ - 2033 + 1525 ], "declarations": [ { "constant": false, - "id": 2033, + "id": 1525, "mutability": "mutable", "name": "lastEntry", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38771:26:1", + "scope": 1565, + "src": "39876:26:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2032, + "id": 1524, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "38771:8:1", + "referencedDeclaration": 1420, + "src": "39876:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2038, + "id": 1530, "initialValue": { "baseExpression": { "expression": { - "id": 2034, + "id": 1526, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38800:3:1", + "referencedDeclaration": 1493, + "src": "39905:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2035, + "id": 1527, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38800:12:1", + "referencedDeclaration": 1423, + "src": "39905:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2037, + "id": 1529, "indexExpression": { - "id": 2036, + "id": 1528, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "38813:9:1", + "referencedDeclaration": 1517, + "src": "39918:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18695,18 +18695,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38800:23:1", + "src": "39905:23:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "expression": { - "id": 2045, + "id": 1537, "isConstant": false, "isLValue": false, "isPure": false, @@ -18714,39 +18714,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2039, + "id": 1531, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38915:3:1", + "referencedDeclaration": 1493, + "src": "40023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2042, + "id": 1534, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38915:12:1", + "referencedDeclaration": 1423, + "src": "40023:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2043, + "id": 1535, "indexExpression": { - "id": 2041, + "id": 1533, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "38928:13:1", + "referencedDeclaration": 1511, + "src": "40036:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18757,39 +18757,39 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "38915:27:1", + "src": "40023:27:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2044, + "id": 1536, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "38945:9:1", + "referencedDeclaration": 1525, + "src": "40053:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "src": "38915:39:1", + "src": "40023:39:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2046, + "id": 1538, "nodeType": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "expression": { - "id": 2056, + "id": 1548, "isConstant": false, "isLValue": false, "isPure": false, @@ -18797,54 +18797,54 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2047, + "id": 1539, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39020:3:1", + "referencedDeclaration": 1493, + "src": "40130:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2051, + "id": 1543, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39020:12:1", + "referencedDeclaration": 1427, + "src": "40130:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2052, + "id": 1544, "indexExpression": { "expression": { - "id": 2049, + "id": 1541, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "39033:9:1", + "referencedDeclaration": 1525, + "src": "40143:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2050, + "id": 1542, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "39033:14:1", + "referencedDeclaration": 1417, + "src": "40143:14:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18855,7 +18855,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39020:28:1", + "src": "40130:28:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18868,18 +18868,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2055, + "id": 1547, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2053, + "id": 1545, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "39051:13:1", + "referencedDeclaration": 1511, + "src": "40161:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18889,35 +18889,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 2054, + "id": 1546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39067:1:1", + "src": "40177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "39051:17:1", + "src": "40161:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "39020:48:1", + "src": "40130:48:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2057, + "id": 1549, "nodeType": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "expression": { @@ -18926,45 +18926,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 2058, + "id": 1550, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39174:3:1", + "referencedDeclaration": 1493, + "src": "40287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2061, + "id": 1553, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39174:12:1", + "referencedDeclaration": 1423, + "src": "40287:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2062, + "id": 1554, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "39174:16:1", + "src": "40287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 2063, + "id": 1555, "isConstant": false, "isLValue": false, "isPure": false, @@ -18972,20 +18972,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "39174:18:1", + "src": "40287:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2064, + "id": 1556, "nodeType": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "expression": { - "id": 2069, + "id": 1561, "isConstant": false, "isLValue": false, "isPure": false, @@ -18993,43 +18993,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "39260:24:1", + "src": "40376:24:0", "subExpression": { "baseExpression": { "expression": { - "id": 2065, + "id": 1557, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39267:3:1", + "referencedDeclaration": 1493, + "src": "40383:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2066, + "id": 1558, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39267:12:1", + "referencedDeclaration": 1427, + "src": "40383:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2068, + "id": 1560, "indexExpression": { - "id": 2067, + "id": 1559, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "39280:3:1", + "referencedDeclaration": 1495, + "src": "40396:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19040,7 +19040,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39267:17:1", + "src": "40383:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19051,31 +19051,31 @@ "typeString": "tuple()" } }, - "id": 2070, + "id": 1562, "nodeType": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "expression": { "hexValue": "74727565", - "id": 2071, + "id": 1563, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39306:4:1", + "src": "40424:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 2007, - "id": 2072, + "functionReturnParameters": 1499, + "id": 1564, "nodeType": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ] } @@ -19083,43 +19083,43 @@ ] }, "documentation": { - "id": 1999, + "id": 1491, "nodeType": "StructuredDocumentation", - "src": "37691:157:1", + "src": "38776:161:0", "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2079, + "id": 1571, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2004, + "id": 1496, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2001, + "id": 1493, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37870:15:1", + "scope": 1571, + "src": "38960:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2000, + "id": 1492, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37870:3:1", + "referencedDeclaration": 1428, + "src": "38960:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19127,12 +19127,12 @@ }, { "constant": false, - "id": 2003, + "id": 1495, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37887:11:1", + "scope": 1571, + "src": "38977:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19140,10 +19140,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2002, + "id": 1494, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37887:7:1", + "src": "38977:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19152,20 +19152,20 @@ "visibility": "internal" } ], - "src": "37869:30:1" + "src": "38959:30:0" }, "returnParameters": { - "id": 2007, + "id": 1499, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2006, + "id": 1498, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37917:4:1", + "scope": 1571, + "src": "39007:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19173,10 +19173,10 @@ "typeString": "bool" }, "typeName": { - "id": 2005, + "id": 1497, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37917:4:1", + "src": "39007:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19185,19 +19185,19 @@ "visibility": "internal" } ], - "src": "37916:6:1" + "src": "39006:6:0" }, - "scope": 2480, - "src": "37853:1517:1", + "scope": 1972, + "src": "38943:1549:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2096, + "id": 1588, "nodeType": "Block", - "src": "39526:46:1", + "src": "40653:48:0", "statements": [ { "expression": { @@ -19205,7 +19205,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2094, + "id": 1586, "isConstant": false, "isLValue": false, "isPure": false, @@ -19213,39 +19213,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 2089, + "id": 1581, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2082, - "src": "39543:3:1", + "referencedDeclaration": 1574, + "src": "40671:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2090, + "id": 1582, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39543:12:1", + "referencedDeclaration": 1427, + "src": "40671:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2092, + "id": 1584, "indexExpression": { - "id": 2091, + "id": 1583, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2084, - "src": "39556:3:1", + "referencedDeclaration": 1576, + "src": "40684:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19256,7 +19256,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "39543:17:1", + "src": "40671:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19266,71 +19266,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2093, + "id": 1585, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39564:1:1", + "src": "40692:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "39543:22:1", + "src": "40671:22:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2088, - "id": 2095, + "functionReturnParameters": 1580, + "id": 1587, "nodeType": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ] }, "documentation": { - "id": 2080, + "id": 1572, "nodeType": "StructuredDocumentation", - "src": "39376:68:1", + "src": "40500:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2097, + "id": 1589, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2085, + "id": 1577, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2082, + "id": 1574, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39468:15:1", + "scope": 1589, + "src": "40595:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2081, + "id": 1573, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39468:3:1", + "referencedDeclaration": 1428, + "src": "40595:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19338,12 +19338,12 @@ }, { "constant": false, - "id": 2084, + "id": 1576, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39485:11:1", + "scope": 1589, + "src": "40612:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19351,10 +19351,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2083, + "id": 1575, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "39485:7:1", + "src": "40612:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19363,20 +19363,20 @@ "visibility": "internal" } ], - "src": "39467:30:1" + "src": "40594:30:0" }, "returnParameters": { - "id": 2088, + "id": 1580, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2087, + "id": 1579, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39520:4:1", + "scope": 1589, + "src": "40647:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19384,10 +19384,10 @@ "typeString": "bool" }, "typeName": { - "id": 2086, + "id": 1578, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "39520:4:1", + "src": "40647:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19396,127 +19396,127 @@ "visibility": "internal" } ], - "src": "39519:6:1" + "src": "40646:6:0" }, - "scope": 2480, - "src": "39449:123:1", + "scope": 1972, + "src": "40576:125:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2109, + "id": 1601, "nodeType": "Block", - "src": "39727:43:1", + "src": "40861:45:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 2105, + "id": 1597, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2100, - "src": "39744:3:1", + "referencedDeclaration": 1592, + "src": "40879:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2106, + "id": 1598, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39744:12:1", + "referencedDeclaration": 1423, + "src": "40879:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2107, + "id": 1599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "39744:19:1", + "src": "40879:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2104, - "id": 2108, + "functionReturnParameters": 1596, + "id": 1600, "nodeType": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ] }, "documentation": { - "id": 2098, + "id": 1590, "nodeType": "StructuredDocumentation", - "src": "39578:79:1", + "src": "40709:81:0", "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2110, + "id": 1602, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2101, + "id": 1593, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2100, + "id": 1592, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39679:15:1", + "scope": 1602, + "src": "40813:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2099, + "id": 1591, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39679:3:1", + "referencedDeclaration": 1428, + "src": "40813:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, "visibility": "internal" } ], - "src": "39678:17:1" + "src": "40812:17:0" }, "returnParameters": { - "id": 2104, + "id": 1596, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2103, + "id": 1595, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39718:7:1", + "scope": 1602, + "src": "40852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19524,10 +19524,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2102, + "id": 1594, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "39718:7:1", + "src": "40852:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19536,19 +19536,19 @@ "visibility": "internal" } ], - "src": "39717:9:1" + "src": "40851:9:0" }, - "scope": 2480, - "src": "39662:108:1", + "scope": 1972, + "src": "40796:110:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2144, + "id": 1636, "nodeType": "Block", - "src": "40198:189:1", + "src": "41346:194:0", "statements": [ { "expression": { @@ -19558,7 +19558,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2127, + "id": 1619, "isConstant": false, "isLValue": false, "isPure": false, @@ -19566,39 +19566,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2123, + "id": 1615, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40216:3:1", + "referencedDeclaration": 1605, + "src": "41365:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2124, + "id": 1616, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40216:12:1", + "referencedDeclaration": 1423, + "src": "41365:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2125, + "id": 1617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "40216:19:1", + "src": "41365:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19607,18 +19607,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 2126, + "id": 1618, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40238:5:1", + "referencedDeclaration": 1607, + "src": "41387:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "40216:27:1", + "src": "41365:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19626,14 +19626,14 @@ }, { "hexValue": "456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473", - "id": 2128, + "id": 1620, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "40245:36:1", + "src": "41394:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_86631030b9066a18616a068fc09fce83d18af4765cb1d2166fa475228f4db155", "typeString": "literal_string \"EnumerableMap: index out of bounds\"" @@ -19652,7 +19652,7 @@ "typeString": "literal_string \"EnumerableMap: index out of bounds\"" } ], - "id": 2122, + "id": 1614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -19660,13 +19660,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "40208:7:1", + "src": "41357:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2129, + "id": 1621, "isConstant": false, "isLValue": false, "isPure": false, @@ -19674,87 +19674,87 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "40208:74:1", + "src": "41357:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2130, + "id": 1622, "nodeType": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "assignments": [ - 2132 + 1624 ], "declarations": [ { "constant": false, - "id": 2132, + "id": 1624, "mutability": "mutable", "name": "entry", "nodeType": "VariableDeclaration", - "scope": 2144, - "src": "40293:22:1", + "scope": 1636, + "src": "41444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2131, + "id": 1623, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "40293:8:1", + "referencedDeclaration": 1420, + "src": "41444:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2137, + "id": 1629, "initialValue": { "baseExpression": { "expression": { - "id": 2133, + "id": 1625, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40318:3:1", + "referencedDeclaration": 1605, + "src": "41469:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2134, + "id": 1626, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40318:12:1", + "referencedDeclaration": 1423, + "src": "41469:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2136, + "id": 1628, "indexExpression": { - "id": 2135, + "id": 1627, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40331:5:1", + "referencedDeclaration": 1607, + "src": "41482:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19765,40 +19765,40 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40318:19:1", + "src": "41469:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "expression": { "components": [ { "expression": { - "id": 2138, + "id": 1630, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40355:5:1", + "referencedDeclaration": 1624, + "src": "41507:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2139, + "id": 1631, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "40355:10:1", + "referencedDeclaration": 1417, + "src": "41507:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19806,90 +19806,90 @@ }, { "expression": { - "id": 2140, + "id": 1632, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40367:5:1", + "referencedDeclaration": 1624, + "src": "41519:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2141, + "id": 1633, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40367:12:1", + "referencedDeclaration": 1419, + "src": "41519:12:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2142, + "id": 1634, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40354:26:1", + "src": "41506:26:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", "typeString": "tuple(bytes32,bytes32)" } }, - "functionReturnParameters": 2121, - "id": 2143, + "functionReturnParameters": 1613, + "id": 1635, "nodeType": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ] }, "documentation": { - "id": 2111, + "id": 1603, "nodeType": "StructuredDocumentation", - "src": "39775:333:1", + "src": "40913:342:0", "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2145, + "id": 1637, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2116, + "id": 1608, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2113, + "id": 1605, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40126:15:1", + "scope": 1637, + "src": "41274:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2112, + "id": 1604, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40126:3:1", + "referencedDeclaration": 1428, + "src": "41274:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19897,12 +19897,12 @@ }, { "constant": false, - "id": 2115, + "id": 1607, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40143:13:1", + "scope": 1637, + "src": "41291:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19910,10 +19910,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2114, + "id": 1606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40143:7:1", + "src": "41291:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19922,20 +19922,20 @@ "visibility": "internal" } ], - "src": "40125:32:1" + "src": "41273:32:0" }, "returnParameters": { - "id": 2121, + "id": 1613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2118, + "id": 1610, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40180:7:1", + "scope": 1637, + "src": "41328:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19943,10 +19943,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2117, + "id": 1609, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40180:7:1", + "src": "41328:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19956,12 +19956,12 @@ }, { "constant": false, - "id": 2120, + "id": 1612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40189:7:1", + "scope": 1637, + "src": "41337:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19969,10 +19969,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2119, + "id": 1611, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40189:7:1", + "src": "41337:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19981,33 +19981,33 @@ "visibility": "internal" } ], - "src": "40179:18:1" + "src": "41327:18:0" }, - "scope": 2480, - "src": "40113:274:1", + "scope": 1972, + "src": "41261:279:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2182, + "id": 1674, "nodeType": "Block", - "src": "40613:220:1", + "src": "41772:224:0", "statements": [ { "assignments": [ - 2158 + 1650 ], "declarations": [ { "constant": false, - "id": 2158, + "id": 1650, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2182, - "src": "40623:16:1", + "scope": 1674, + "src": "41783:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20015,10 +20015,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2157, + "id": 1649, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40623:7:1", + "src": "41783:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20027,43 +20027,43 @@ "visibility": "internal" } ], - "id": 2163, + "id": 1655, "initialValue": { "baseExpression": { "expression": { - "id": 2159, + "id": 1651, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40642:3:1", + "referencedDeclaration": 1640, + "src": "41802:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2160, + "id": 1652, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "40642:12:1", + "referencedDeclaration": 1427, + "src": "41802:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2162, + "id": 1654, "indexExpression": { - "id": 2161, + "id": 1653, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2150, - "src": "40655:3:1", + "referencedDeclaration": 1642, + "src": "41815:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20074,14 +20074,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40642:17:1", + "src": "41802:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "condition": { @@ -20089,18 +20089,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2166, + "id": 1658, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2164, + "id": 1656, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40673:8:1", + "referencedDeclaration": 1650, + "src": "41834:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20110,42 +20110,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2165, + "id": 1657, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40685:1:1", + "src": "41846:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "40673:13:1", + "src": "41834:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2171, + "id": 1663, "nodeType": "IfStatement", - "src": "40669:36:1", + "src": "41830:36:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 2167, + "id": 1659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40696:5:1", + "src": "41857:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20154,14 +20154,14 @@ }, { "hexValue": "30", - "id": 2168, + "id": 1660, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40703:1:1", + "src": "41864:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -20169,23 +20169,23 @@ "value": "0" } ], - "id": 2169, + "id": 1661, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40695:10:1", + "src": "41856:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 2156, - "id": 2170, + "functionReturnParameters": 1648, + "id": 1662, "nodeType": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } }, { @@ -20193,14 +20193,14 @@ "components": [ { "hexValue": "74727565", - "id": 2172, + "id": 1664, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40759:4:1", + "src": "41921:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20211,49 +20211,49 @@ "expression": { "baseExpression": { "expression": { - "id": 2173, + "id": 1665, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40765:3:1", + "referencedDeclaration": 1640, + "src": "41927:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2174, + "id": 1666, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40765:12:1", + "referencedDeclaration": 1423, + "src": "41927:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2178, + "id": 1670, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2177, + "id": 1669, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2175, + "id": 1667, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40778:8:1", + "referencedDeclaration": 1650, + "src": "41940:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20263,21 +20263,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2176, + "id": 1668, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40789:1:1", + "src": "41951:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "40778:12:1", + "src": "41940:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20288,85 +20288,85 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40765:26:1", + "src": "41927:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2179, + "id": 1671, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40765:33:1", + "referencedDeclaration": 1419, + "src": "41927:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2180, + "id": 1672, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40758:41:1", + "src": "41920:41:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", "typeString": "tuple(bool,bytes32)" } }, - "functionReturnParameters": 2156, - "id": 2181, + "functionReturnParameters": 1648, + "id": 1673, "nodeType": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ] }, "documentation": { - "id": 2146, + "id": 1638, "nodeType": "StructuredDocumentation", - "src": "40393:131:1", + "src": "41548:134:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2183, + "id": 1675, "implemented": true, "kind": "function", "modifiers": [], "name": "_tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2151, + "id": 1643, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2148, + "id": 1640, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40546:15:1", + "scope": 1675, + "src": "41705:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2147, + "id": 1639, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40546:3:1", + "referencedDeclaration": 1428, + "src": "41705:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20374,12 +20374,12 @@ }, { "constant": false, - "id": 2150, + "id": 1642, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40563:11:1", + "scope": 1675, + "src": "41722:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20387,10 +20387,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2149, + "id": 1641, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40563:7:1", + "src": "41722:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20399,20 +20399,20 @@ "visibility": "internal" } ], - "src": "40545:30:1" + "src": "41704:30:0" }, "returnParameters": { - "id": 2156, + "id": 1648, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2153, + "id": 1645, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40598:4:1", + "scope": 1675, + "src": "41757:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20420,10 +20420,10 @@ "typeString": "bool" }, "typeName": { - "id": 2152, + "id": 1644, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "40598:4:1", + "src": "41757:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20433,12 +20433,12 @@ }, { "constant": false, - "id": 2155, + "id": 1647, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40604:7:1", + "scope": 1675, + "src": "41763:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20446,10 +20446,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2154, + "id": 1646, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40604:7:1", + "src": "41763:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20458,33 +20458,33 @@ "visibility": "internal" } ], - "src": "40597:15:1" + "src": "41756:15:0" }, - "scope": 2480, - "src": "40529:304:1", + "scope": 1972, + "src": "41688:308:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2215, + "id": 1707, "nodeType": "Block", - "src": "41060:232:1", + "src": "42232:236:0", "statements": [ { "assignments": [ - 2194 + 1686 ], "declarations": [ { "constant": false, - "id": 2194, + "id": 1686, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2215, - "src": "41070:16:1", + "scope": 1707, + "src": "42243:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20492,10 +20492,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2193, + "id": 1685, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41070:7:1", + "src": "42243:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20504,43 +20504,43 @@ "visibility": "internal" } ], - "id": 2199, + "id": 1691, "initialValue": { "baseExpression": { "expression": { - "id": 2195, + "id": 1687, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41089:3:1", + "referencedDeclaration": 1678, + "src": "42262:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2196, + "id": 1688, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41089:12:1", + "referencedDeclaration": 1427, + "src": "42262:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2198, + "id": 1690, "indexExpression": { - "id": 2197, + "id": 1689, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2188, - "src": "41102:3:1", + "referencedDeclaration": 1680, + "src": "42275:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20551,14 +20551,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41089:17:1", + "src": "42262:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "expression": { @@ -20568,18 +20568,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2203, + "id": 1695, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2201, + "id": 1693, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41124:8:1", + "referencedDeclaration": 1686, + "src": "42298:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20589,21 +20589,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2202, + "id": 1694, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41136:1:1", + "src": "42310:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41124:13:1", + "src": "42298:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20611,14 +20611,14 @@ }, { "hexValue": "456e756d657261626c654d61703a206e6f6e6578697374656e74206b6579", - "id": 2204, + "id": 1696, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "41139:32:1", + "src": "42313:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_d3551e30d3095fd81287b88f7139bb09818e34280e85ee821994ebaebbed7072", "typeString": "literal_string \"EnumerableMap: nonexistent key\"" @@ -20637,7 +20637,7 @@ "typeString": "literal_string \"EnumerableMap: nonexistent key\"" } ], - "id": 2200, + "id": 1692, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -20645,13 +20645,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41116:7:1", + "src": "42290:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2205, + "id": 1697, "isConstant": false, "isLValue": false, "isPure": false, @@ -20659,65 +20659,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41116:56:1", + "src": "42290:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2206, + "id": 1698, "nodeType": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2207, + "id": 1699, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41225:3:1", + "referencedDeclaration": 1678, + "src": "42400:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2208, + "id": 1700, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41225:12:1", + "referencedDeclaration": 1423, + "src": "42400:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2212, + "id": 1704, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2211, + "id": 1703, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2209, + "id": 1701, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41238:8:1", + "referencedDeclaration": 1686, + "src": "42413:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20727,21 +20727,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2210, + "id": 1702, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41249:1:1", + "src": "42424:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41238:12:1", + "src": "42413:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20752,71 +20752,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41225:26:1", + "src": "42400:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2213, + "id": 1705, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41225:33:1", + "referencedDeclaration": 1419, + "src": "42400:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2192, - "id": 2214, + "functionReturnParameters": 1684, + "id": 1706, "nodeType": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ] }, "documentation": { - "id": 2184, + "id": 1676, "nodeType": "StructuredDocumentation", - "src": "40839:141:1", + "src": "42004:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2216, + "id": 1708, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2189, + "id": 1681, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2186, + "id": 1678, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "40999:15:1", + "scope": 1708, + "src": "42171:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2185, + "id": 1677, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40999:3:1", + "referencedDeclaration": 1428, + "src": "42171:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20824,12 +20824,12 @@ }, { "constant": false, - "id": 2188, + "id": 1680, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41016:11:1", + "scope": 1708, + "src": "42188:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20837,10 +20837,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2187, + "id": 1679, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41016:7:1", + "src": "42188:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20849,20 +20849,20 @@ "visibility": "internal" } ], - "src": "40998:30:1" + "src": "42170:30:0" }, "returnParameters": { - "id": 2192, + "id": 1684, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2191, + "id": 1683, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41051:7:1", + "scope": 1708, + "src": "42223:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20870,10 +20870,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2190, + "id": 1682, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41051:7:1", + "src": "42223:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20882,33 +20882,33 @@ "visibility": "internal" } ], - "src": "41050:9:1" + "src": "42222:9:0" }, - "scope": 2480, - "src": "40985:307:1", + "scope": 1972, + "src": "42157:311:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2250, + "id": 1742, "nodeType": "Block", - "src": "41677:212:1", + "src": "42861:216:0", "statements": [ { "assignments": [ - 2229 + 1721 ], "declarations": [ { "constant": false, - "id": 2229, + "id": 1721, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2250, - "src": "41687:16:1", + "scope": 1742, + "src": "42872:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20916,10 +20916,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2228, + "id": 1720, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41687:7:1", + "src": "42872:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20928,43 +20928,43 @@ "visibility": "internal" } ], - "id": 2234, + "id": 1726, "initialValue": { "baseExpression": { "expression": { - "id": 2230, + "id": 1722, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41706:3:1", + "referencedDeclaration": 1711, + "src": "42891:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2231, + "id": 1723, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41706:12:1", + "referencedDeclaration": 1427, + "src": "42891:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2233, + "id": 1725, "indexExpression": { - "id": 2232, + "id": 1724, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2221, - "src": "41719:3:1", + "referencedDeclaration": 1713, + "src": "42904:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20975,14 +20975,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41706:17:1", + "src": "42891:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "expression": { @@ -20992,18 +20992,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2238, + "id": 1730, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2236, + "id": 1728, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41741:8:1", + "referencedDeclaration": 1721, + "src": "42927:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21013,33 +21013,33 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2237, + "id": 1729, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41753:1:1", + "src": "42939:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41741:13:1", + "src": "42927:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 2239, + "id": 1731, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2223, - "src": "41756:12:1", + "referencedDeclaration": 1715, + "src": "42942:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -21057,7 +21057,7 @@ "typeString": "string memory" } ], - "id": 2235, + "id": 1727, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -21065,13 +21065,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41733:7:1", + "src": "42919:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2240, + "id": 1732, "isConstant": false, "isLValue": false, "isPure": false, @@ -21079,65 +21079,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41733:36:1", + "src": "42919:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2241, + "id": 1733, "nodeType": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2242, + "id": 1734, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41822:3:1", + "referencedDeclaration": 1711, + "src": "43009:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2243, + "id": 1735, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41822:12:1", + "referencedDeclaration": 1423, + "src": "43009:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2247, + "id": 1739, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2246, + "id": 1738, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2244, + "id": 1736, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41835:8:1", + "referencedDeclaration": 1721, + "src": "43022:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21147,21 +21147,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2245, + "id": 1737, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41846:1:1", + "src": "43033:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41835:12:1", + "src": "43022:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21172,71 +21172,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41822:26:1", + "src": "43009:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2248, + "id": 1740, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41822:33:1", + "referencedDeclaration": 1419, + "src": "43009:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2227, - "id": 2249, + "functionReturnParameters": 1719, + "id": 1741, "nodeType": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ] }, "documentation": { - "id": 2217, + "id": 1709, "nodeType": "StructuredDocumentation", - "src": "41298:271:1", + "src": "42476:276:0", "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2251, + "id": 1743, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2224, + "id": 1716, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2219, + "id": 1711, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41588:15:1", + "scope": 1743, + "src": "42772:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2218, + "id": 1710, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41588:3:1", + "referencedDeclaration": 1428, + "src": "42772:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21244,12 +21244,12 @@ }, { "constant": false, - "id": 2221, + "id": 1713, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41605:11:1", + "scope": 1743, + "src": "42789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21257,10 +21257,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2220, + "id": 1712, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41605:7:1", + "src": "42789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21270,12 +21270,12 @@ }, { "constant": false, - "id": 2223, + "id": 1715, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41618:26:1", + "scope": 1743, + "src": "42802:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -21283,10 +21283,10 @@ "typeString": "string" }, "typeName": { - "id": 2222, + "id": 1714, "name": "string", "nodeType": "ElementaryTypeName", - "src": "41618:6:1", + "src": "42802:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -21295,20 +21295,20 @@ "visibility": "internal" } ], - "src": "41587:58:1" + "src": "42771:58:0" }, "returnParameters": { - "id": 2227, + "id": 1719, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2226, + "id": 1718, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41668:7:1", + "scope": 1743, + "src": "42852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21316,10 +21316,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2225, + "id": 1717, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41668:7:1", + "src": "42852:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21328,40 +21328,40 @@ "visibility": "internal" } ], - "src": "41667:9:1" + "src": "42851:9:0" }, - "scope": 2480, - "src": "41574:315:1", + "scope": 1972, + "src": "42758:319:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableMap.UintToAddressMap", - "id": 2254, + "id": 1746, "members": [ { "constant": false, - "id": 2253, + "id": 1745, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 2254, - "src": "41954:10:1", + "scope": 1746, + "src": "43147:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2252, + "id": 1744, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41954:3:1", + "referencedDeclaration": 1428, + "src": "43147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21370,55 +21370,55 @@ ], "name": "UintToAddressMap", "nodeType": "StructDefinition", - "scope": 2480, - "src": "41920:51:1", + "scope": 1972, + "src": "43112:53:0", "visibility": "public" }, { "body": { - "id": 2285, + "id": 1777, "nodeType": "Block", - "src": "42293:88:1", + "src": "43496:90:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2267, + "id": 1759, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2257, - "src": "42315:3:1", + "referencedDeclaration": 1749, + "src": "43519:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2268, + "id": 1760, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42315:10:1", + "referencedDeclaration": 1745, + "src": "43519:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2271, + "id": 1763, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2259, - "src": "42335:3:1", + "referencedDeclaration": 1751, + "src": "43539:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21432,26 +21432,26 @@ "typeString": "uint256" } ], - "id": 2270, + "id": 1762, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2269, + "id": 1761, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": {} } }, - "id": 2272, + "id": 1764, "isConstant": false, "isLValue": false, "isPure": false, @@ -21459,7 +21459,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42327:12:1", + "src": "43531:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21473,12 +21473,12 @@ { "arguments": [ { - "id": 2279, + "id": 1771, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2261, - "src": "42365:5:1", + "referencedDeclaration": 1753, + "src": "43569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21492,26 +21492,26 @@ "typeString": "address" } ], - "id": 2278, + "id": 1770, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2277, + "id": 1769, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": {} } }, - "id": 2280, + "id": 1772, "isConstant": false, "isLValue": false, "isPure": false, @@ -21519,7 +21519,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42357:14:1", + "src": "43561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -21534,26 +21534,26 @@ "typeString": "uint160" } ], - "id": 2276, + "id": 1768, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2275, + "id": 1767, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": {} } }, - "id": 2281, + "id": 1773, "isConstant": false, "isLValue": false, "isPure": false, @@ -21561,7 +21561,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42349:23:1", + "src": "43553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -21576,26 +21576,26 @@ "typeString": "uint256" } ], - "id": 2274, + "id": 1766, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2273, + "id": 1765, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": {} } }, - "id": 2282, + "id": 1774, "isConstant": false, "isLValue": false, "isPure": false, @@ -21603,7 +21603,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42341:32:1", + "src": "43545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21614,7 +21614,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -21626,18 +21626,18 @@ "typeString": "bytes32" } ], - "id": 2266, + "id": 1758, "name": "_set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1998, - "src": "42310:4:1", + "referencedDeclaration": 1490, + "src": "43514:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)" } }, - "id": 2283, + "id": 1775, "isConstant": false, "isLValue": false, "isPure": false, @@ -21645,58 +21645,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42310:64:1", + "src": "43514:64:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2265, - "id": 2284, + "functionReturnParameters": 1757, + "id": 1776, "nodeType": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ] }, "documentation": { - "id": 2255, + "id": 1747, "nodeType": "StructuredDocumentation", - "src": "41977:216:1", + "src": "43173:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2286, + "id": 1778, "implemented": true, "kind": "function", "modifiers": [], "name": "set", "nodeType": "FunctionDefinition", "parameters": { - "id": 2262, + "id": 1754, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2257, + "id": 1749, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42211:28:1", + "scope": 1778, + "src": "43414:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2256, + "id": 1748, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42211:16:1", + "referencedDeclaration": 1746, + "src": "43414:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -21704,12 +21704,12 @@ }, { "constant": false, - "id": 2259, + "id": 1751, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42241:11:1", + "scope": 1778, + "src": "43444:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21717,10 +21717,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2258, + "id": 1750, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42241:7:1", + "src": "43444:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21730,12 +21730,12 @@ }, { "constant": false, - "id": 2261, + "id": 1753, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42254:13:1", + "scope": 1778, + "src": "43457:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21743,10 +21743,10 @@ "typeString": "address" }, "typeName": { - "id": 2260, + "id": 1752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "42254:7:1", + "src": "43457:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -21756,20 +21756,20 @@ "visibility": "internal" } ], - "src": "42210:58:1" + "src": "43413:58:0" }, "returnParameters": { - "id": 2265, + "id": 1757, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2264, + "id": 1756, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42287:4:1", + "scope": 1778, + "src": "43490:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21777,10 +21777,10 @@ "typeString": "bool" }, "typeName": { - "id": 2263, + "id": 1755, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42287:4:1", + "src": "43490:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -21789,59 +21789,59 @@ "visibility": "internal" } ], - "src": "42286:6:1" + "src": "43489:6:0" }, - "scope": 2480, - "src": "42198:183:1", + "scope": 1972, + "src": "43401:185:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2305, + "id": 1797, "nodeType": "Block", - "src": "42623:57:1", + "src": "43835:59:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2297, + "id": 1789, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2289, - "src": "42648:3:1", + "referencedDeclaration": 1781, + "src": "43861:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2298, + "id": 1790, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42648:10:1", + "referencedDeclaration": 1745, + "src": "43861:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2301, + "id": 1793, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2291, - "src": "42668:3:1", + "referencedDeclaration": 1783, + "src": "43881:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21855,26 +21855,26 @@ "typeString": "uint256" } ], - "id": 2300, + "id": 1792, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2299, + "id": 1791, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": {} } }, - "id": 2302, + "id": 1794, "isConstant": false, "isLValue": false, "isPure": false, @@ -21882,7 +21882,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42660:12:1", + "src": "43873:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21893,7 +21893,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -21901,18 +21901,18 @@ "typeString": "bytes32" } ], - "id": 2296, + "id": 1788, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2079, - "src": "42640:7:1", + "referencedDeclaration": 1571, + "src": "43853:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)" } }, - "id": 2303, + "id": 1795, "isConstant": false, "isLValue": false, "isPure": false, @@ -21920,58 +21920,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42640:33:1", + "src": "43853:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2295, - "id": 2304, + "functionReturnParameters": 1787, + "id": 1796, "nodeType": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ] }, "documentation": { - "id": 2287, + "id": 1779, "nodeType": "StructuredDocumentation", - "src": "42387:148:1", + "src": "43594:152:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2306, + "id": 1798, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2292, + "id": 1784, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2289, + "id": 1781, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42556:28:1", + "scope": 1798, + "src": "43768:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2288, + "id": 1780, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42556:16:1", + "referencedDeclaration": 1746, + "src": "43768:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -21979,12 +21979,12 @@ }, { "constant": false, - "id": 2291, + "id": 1783, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42586:11:1", + "scope": 1798, + "src": "43798:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21992,10 +21992,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2290, + "id": 1782, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42586:7:1", + "src": "43798:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22004,20 +22004,20 @@ "visibility": "internal" } ], - "src": "42555:43:1" + "src": "43767:43:0" }, "returnParameters": { - "id": 2295, + "id": 1787, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2294, + "id": 1786, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42617:4:1", + "scope": 1798, + "src": "43829:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22025,10 +22025,10 @@ "typeString": "bool" }, "typeName": { - "id": 2293, + "id": 1785, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42617:4:1", + "src": "43829:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22037,59 +22037,59 @@ "visibility": "internal" } ], - "src": "42616:6:1" + "src": "43828:6:0" }, - "scope": 2480, - "src": "42540:140:1", + "scope": 1972, + "src": "43752:142:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2325, + "id": 1817, "nodeType": "Block", - "src": "42849:59:1", + "src": "44068:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2317, + "id": 1809, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2309, - "src": "42876:3:1", + "referencedDeclaration": 1801, + "src": "44096:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2318, + "id": 1810, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42876:10:1", + "referencedDeclaration": 1745, + "src": "44096:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2321, + "id": 1813, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2311, - "src": "42896:3:1", + "referencedDeclaration": 1803, + "src": "44116:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22103,26 +22103,26 @@ "typeString": "uint256" } ], - "id": 2320, + "id": 1812, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2319, + "id": 1811, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": {} } }, - "id": 2322, + "id": 1814, "isConstant": false, "isLValue": false, "isPure": false, @@ -22130,7 +22130,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42888:12:1", + "src": "44108:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -22141,7 +22141,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22149,18 +22149,18 @@ "typeString": "bytes32" } ], - "id": 2316, + "id": 1808, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2097, - "src": "42866:9:1", + "referencedDeclaration": 1589, + "src": "44086:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)" } }, - "id": 2323, + "id": 1815, "isConstant": false, "isLValue": false, "isPure": false, @@ -22168,58 +22168,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42866:35:1", + "src": "44086:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2315, - "id": 2324, + "functionReturnParameters": 1807, + "id": 1816, "nodeType": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ] }, "documentation": { - "id": 2307, + "id": 1799, "nodeType": "StructuredDocumentation", - "src": "42686:68:1", + "src": "43902:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2326, + "id": 1818, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2312, + "id": 1804, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2309, + "id": 1801, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42777:28:1", + "scope": 1818, + "src": "43996:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2308, + "id": 1800, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42777:16:1", + "referencedDeclaration": 1746, + "src": "43996:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22227,12 +22227,12 @@ }, { "constant": false, - "id": 2311, + "id": 1803, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42807:11:1", + "scope": 1818, + "src": "44026:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22240,10 +22240,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2310, + "id": 1802, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42807:7:1", + "src": "44026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22252,20 +22252,20 @@ "visibility": "internal" } ], - "src": "42776:43:1" + "src": "43995:43:0" }, "returnParameters": { - "id": 2315, + "id": 1807, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2314, + "id": 1806, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42843:4:1", + "scope": 1818, + "src": "44062:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22273,10 +22273,10 @@ "typeString": "bool" }, "typeName": { - "id": 2313, + "id": 1805, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42843:4:1", + "src": "44062:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22285,47 +22285,47 @@ "visibility": "internal" } ], - "src": "42842:6:1" + "src": "44061:6:0" }, - "scope": 2480, - "src": "42759:149:1", + "scope": 1972, + "src": "43978:151:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2339, + "id": 1831, "nodeType": "Block", - "src": "43069:43:1", + "src": "44295:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2335, + "id": 1827, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2329, - "src": "43094:3:1", + "referencedDeclaration": 1821, + "src": "44321:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2336, + "id": 1828, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43094:10:1", + "referencedDeclaration": 1745, + "src": "44321:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } } @@ -22333,22 +22333,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], - "id": 2334, + "id": 1826, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2110, - "src": "43086:7:1", + "referencedDeclaration": 1602, + "src": "44313:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)" } }, - "id": 2337, + "id": 1829, "isConstant": false, "isLValue": false, "isPure": false, @@ -22356,78 +22356,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43086:19:1", + "src": "44313:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2333, - "id": 2338, + "functionReturnParameters": 1825, + "id": 1830, "nodeType": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ] }, "documentation": { - "id": 2327, + "id": 1819, "nodeType": "StructuredDocumentation", - "src": "42914:72:1", + "src": "44137:74:0", "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2340, + "id": 1832, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2330, + "id": 1822, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2329, + "id": 1821, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43007:28:1", + "scope": 1832, + "src": "44233:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2328, + "id": 1820, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43007:16:1", + "referencedDeclaration": 1746, + "src": "44233:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, "visibility": "internal" } ], - "src": "43006:30:1" + "src": "44232:30:0" }, "returnParameters": { - "id": 2333, + "id": 1825, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2332, + "id": 1824, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43060:7:1", + "scope": 1832, + "src": "44286:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22435,10 +22435,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2331, + "id": 1823, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43060:7:1", + "src": "44286:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22447,34 +22447,34 @@ "visibility": "internal" } ], - "src": "43059:9:1" + "src": "44285:9:0" }, - "scope": 2480, - "src": "42991:121:1", + "scope": 1972, + "src": "44217:123:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2378, + "id": 1870, "nodeType": "Block", - "src": "43538:135:1", + "src": "44777:138:0", "statements": [ { "assignments": [ - 2353, - 2355 + 1845, + 1847 ], "declarations": [ { "constant": false, - "id": 2353, + "id": 1845, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43549:11:1", + "scope": 1870, + "src": "44789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22482,10 +22482,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2352, + "id": 1844, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43549:7:1", + "src": "44789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22495,12 +22495,12 @@ }, { "constant": false, - "id": 2355, + "id": 1847, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43562:13:1", + "scope": 1870, + "src": "44802:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22508,10 +22508,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2354, + "id": 1846, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43562:7:1", + "src": "44802:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22520,43 +22520,43 @@ "visibility": "internal" } ], - "id": 2361, + "id": 1853, "initialValue": { "arguments": [ { "expression": { - "id": 2357, + "id": 1849, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2343, - "src": "43583:3:1", + "referencedDeclaration": 1835, + "src": "44823:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2358, + "id": 1850, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43583:10:1", + "referencedDeclaration": 1745, + "src": "44823:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { - "id": 2359, + "id": 1851, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2345, - "src": "43595:5:1", + "referencedDeclaration": 1837, + "src": "44835:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22566,7 +22566,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22574,18 +22574,18 @@ "typeString": "uint256" } ], - "id": 2356, + "id": 1848, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2145, - "src": "43579:3:1", + "referencedDeclaration": 1637, + "src": "44819:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)" } }, - "id": 2360, + "id": 1852, "isConstant": false, "isLValue": false, "isPure": false, @@ -22593,7 +22593,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43579:22:1", + "src": "44819:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", @@ -22601,7 +22601,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "expression": { @@ -22609,12 +22609,12 @@ { "arguments": [ { - "id": 2364, + "id": 1856, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2353, - "src": "43627:3:1", + "referencedDeclaration": 1845, + "src": "44868:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22628,26 +22628,26 @@ "typeString": "bytes32" } ], - "id": 2363, + "id": 1855, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2362, + "id": 1854, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": {} } }, - "id": 2365, + "id": 1857, "isConstant": false, "isLValue": false, "isPure": false, @@ -22655,7 +22655,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43619:12:1", + "src": "44860:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -22669,12 +22669,12 @@ { "arguments": [ { - "id": 2372, + "id": 1864, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2355, - "src": "43657:5:1", + "referencedDeclaration": 1847, + "src": "44898:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22688,26 +22688,26 @@ "typeString": "bytes32" } ], - "id": 2371, + "id": 1863, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2370, + "id": 1862, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": {} } }, - "id": 2373, + "id": 1865, "isConstant": false, "isLValue": false, "isPure": false, @@ -22715,7 +22715,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43649:14:1", + "src": "44890:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -22730,26 +22730,26 @@ "typeString": "uint256" } ], - "id": 2369, + "id": 1861, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2368, + "id": 1860, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": {} } }, - "id": 2374, + "id": 1866, "isConstant": false, "isLValue": false, "isPure": false, @@ -22757,7 +22757,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43641:23:1", + "src": "44882:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -22772,26 +22772,26 @@ "typeString": "uint160" } ], - "id": 2367, + "id": 1859, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2366, + "id": 1858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": {} } }, - "id": 2375, + "id": 1867, "isConstant": false, "isLValue": false, "isPure": false, @@ -22799,7 +22799,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43633:32:1", + "src": "44874:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -22807,64 +22807,64 @@ } } ], - "id": 2376, + "id": 1868, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "43618:48:1", + "src": "44859:48:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_payable_$", "typeString": "tuple(uint256,address payable)" } }, - "functionReturnParameters": 2351, - "id": 2377, + "functionReturnParameters": 1843, + "id": 1869, "nodeType": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ] }, "documentation": { - "id": 2341, + "id": 1833, "nodeType": "StructuredDocumentation", - "src": "43117:318:1", + "src": "44347:326:0", "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2379, + "id": 1871, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2346, + "id": 1838, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2343, + "id": 1835, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43452:28:1", + "scope": 1871, + "src": "44691:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2342, + "id": 1834, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43452:16:1", + "referencedDeclaration": 1746, + "src": "44691:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22872,12 +22872,12 @@ }, { "constant": false, - "id": 2345, + "id": 1837, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43482:13:1", + "scope": 1871, + "src": "44721:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22885,10 +22885,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2344, + "id": 1836, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43482:7:1", + "src": "44721:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22897,20 +22897,20 @@ "visibility": "internal" } ], - "src": "43451:45:1" + "src": "44690:45:0" }, "returnParameters": { - "id": 2351, + "id": 1843, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2348, + "id": 1840, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43520:7:1", + "scope": 1871, + "src": "44759:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22918,10 +22918,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2347, + "id": 1839, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43520:7:1", + "src": "44759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22931,12 +22931,12 @@ }, { "constant": false, - "id": 2350, + "id": 1842, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43529:7:1", + "scope": 1871, + "src": "44768:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22944,10 +22944,10 @@ "typeString": "address" }, "typeName": { - "id": 2349, + "id": 1841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43529:7:1", + "src": "44768:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -22957,34 +22957,34 @@ "visibility": "internal" } ], - "src": "43519:18:1" + "src": "44758:18:0" }, - "scope": 2480, - "src": "43440:233:1", + "scope": 1972, + "src": "44679:236:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2417, + "id": 1909, "nodeType": "Block", - "src": "43950:142:1", + "src": "45200:145:0", "statements": [ { "assignments": [ - 2392, - 2394 + 1884, + 1886 ], "declarations": [ { "constant": false, - "id": 2392, + "id": 1884, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43961:12:1", + "scope": 1909, + "src": "45212:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22992,10 +22992,10 @@ "typeString": "bool" }, "typeName": { - "id": 2391, + "id": 1883, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43961:4:1", + "src": "45212:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23005,12 +23005,12 @@ }, { "constant": false, - "id": 2394, + "id": 1886, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43975:13:1", + "scope": 1909, + "src": "45226:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23018,10 +23018,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2393, + "id": 1885, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43975:7:1", + "src": "45226:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23030,45 +23030,45 @@ "visibility": "internal" } ], - "id": 2403, + "id": 1895, "initialValue": { "arguments": [ { "expression": { - "id": 2396, + "id": 1888, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2382, - "src": "44000:3:1", + "referencedDeclaration": 1874, + "src": "45251:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2397, + "id": 1889, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44000:10:1", + "referencedDeclaration": 1745, + "src": "45251:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2400, + "id": 1892, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2384, - "src": "44020:3:1", + "referencedDeclaration": 1876, + "src": "45271:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23082,26 +23082,26 @@ "typeString": "uint256" } ], - "id": 2399, + "id": 1891, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2398, + "id": 1890, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": {} } }, - "id": 2401, + "id": 1893, "isConstant": false, "isLValue": false, "isPure": false, @@ -23109,7 +23109,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44012:12:1", + "src": "45263:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23120,7 +23120,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23128,18 +23128,18 @@ "typeString": "bytes32" } ], - "id": 2395, + "id": 1887, "name": "_tryGet", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2183, - "src": "43992:7:1", + "referencedDeclaration": 1675, + "src": "45243:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)" } }, - "id": 2402, + "id": 1894, "isConstant": false, "isLValue": false, "isPure": false, @@ -23147,7 +23147,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43992:33:1", + "src": "45243:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", @@ -23155,18 +23155,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "expression": { "components": [ { - "id": 2404, + "id": 1896, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2392, - "src": "44043:7:1", + "referencedDeclaration": 1884, + "src": "45295:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23179,12 +23179,12 @@ { "arguments": [ { - "id": 2411, + "id": 1903, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2394, - "src": "44076:5:1", + "referencedDeclaration": 1886, + "src": "45328:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23198,26 +23198,26 @@ "typeString": "bytes32" } ], - "id": 2410, + "id": 1902, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2409, + "id": 1901, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": {} } }, - "id": 2412, + "id": 1904, "isConstant": false, "isLValue": false, "isPure": false, @@ -23225,7 +23225,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44068:14:1", + "src": "45320:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23240,26 +23240,26 @@ "typeString": "uint256" } ], - "id": 2408, + "id": 1900, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2407, + "id": 1899, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": {} } }, - "id": 2413, + "id": 1905, "isConstant": false, "isLValue": false, "isPure": false, @@ -23267,7 +23267,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44060:23:1", + "src": "45312:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23282,26 +23282,26 @@ "typeString": "uint160" } ], - "id": 2406, + "id": 1898, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2405, + "id": 1897, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": {} } }, - "id": 2414, + "id": 1906, "isConstant": false, "isLValue": false, "isPure": false, @@ -23309,7 +23309,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44052:32:1", + "src": "45304:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -23317,64 +23317,64 @@ } } ], - "id": 2415, + "id": 1907, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "44042:43:1", + "src": "45294:43:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_address_payable_$", "typeString": "tuple(bool,address payable)" } }, - "functionReturnParameters": 2390, - "id": 2416, + "functionReturnParameters": 1882, + "id": 1908, "nodeType": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ] }, "documentation": { - "id": 2380, + "id": 1872, "nodeType": "StructuredDocumentation", - "src": "43679:169:1", + "src": "44923:174:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2418, + "id": 1910, "implemented": true, "kind": "function", "modifiers": [], "name": "tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2385, + "id": 1877, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2382, + "id": 1874, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43869:28:1", + "scope": 1910, + "src": "45119:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2381, + "id": 1873, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43869:16:1", + "referencedDeclaration": 1746, + "src": "45119:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23382,12 +23382,12 @@ }, { "constant": false, - "id": 2384, + "id": 1876, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43899:11:1", + "scope": 1910, + "src": "45149:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23395,10 +23395,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2383, + "id": 1875, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43899:7:1", + "src": "45149:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23407,20 +23407,20 @@ "visibility": "internal" } ], - "src": "43868:43:1" + "src": "45118:43:0" }, "returnParameters": { - "id": 2390, + "id": 1882, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2387, + "id": 1879, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43935:4:1", + "scope": 1910, + "src": "45185:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23428,10 +23428,10 @@ "typeString": "bool" }, "typeName": { - "id": 2386, + "id": 1878, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43935:4:1", + "src": "45185:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23441,12 +23441,12 @@ }, { "constant": false, - "id": 2389, + "id": 1881, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43941:7:1", + "scope": 1910, + "src": "45191:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23454,10 +23454,10 @@ "typeString": "address" }, "typeName": { - "id": 2388, + "id": 1880, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43941:7:1", + "src": "45191:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23467,19 +23467,19 @@ "visibility": "internal" } ], - "src": "43934:15:1" + "src": "45184:15:0" }, - "scope": 2480, - "src": "43853:239:1", + "scope": 1972, + "src": "45103:242:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2446, + "id": 1938, "nodeType": "Block", - "src": "44332:81:1", + "src": "45594:83:0", "statements": [ { "expression": { @@ -23492,40 +23492,40 @@ "arguments": [ { "expression": { - "id": 2435, + "id": 1927, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2421, - "src": "44378:3:1", + "referencedDeclaration": 1913, + "src": "45641:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2436, + "id": 1928, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44378:10:1", + "referencedDeclaration": 1745, + "src": "45641:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2439, + "id": 1931, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2423, - "src": "44398:3:1", + "referencedDeclaration": 1915, + "src": "45661:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23539,26 +23539,26 @@ "typeString": "uint256" } ], - "id": 2438, + "id": 1930, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2437, + "id": 1929, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": {} } }, - "id": 2440, + "id": 1932, "isConstant": false, "isLValue": false, "isPure": false, @@ -23566,7 +23566,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44390:12:1", + "src": "45653:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23577,7 +23577,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23585,21 +23585,21 @@ "typeString": "bytes32" } ], - "id": 2434, + "id": 1926, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, - "src": "44373:4:1", + "referencedDeclaration": 1708, + "src": "45636:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)" } }, - "id": 2441, + "id": 1933, "isConstant": false, "isLValue": false, "isPure": false, @@ -23607,7 +23607,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44373:30:1", + "src": "45636:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23622,26 +23622,26 @@ "typeString": "bytes32" } ], - "id": 2433, + "id": 1925, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2432, + "id": 1924, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": {} } }, - "id": 2442, + "id": 1934, "isConstant": false, "isLValue": false, "isPure": false, @@ -23649,7 +23649,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44365:39:1", + "src": "45628:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23664,26 +23664,26 @@ "typeString": "uint256" } ], - "id": 2431, + "id": 1923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2430, + "id": 1922, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": {} } }, - "id": 2443, + "id": 1935, "isConstant": false, "isLValue": false, "isPure": false, @@ -23691,7 +23691,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44357:48:1", + "src": "45620:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23706,26 +23706,26 @@ "typeString": "uint160" } ], - "id": 2429, + "id": 1921, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2428, + "id": 1920, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": {} } }, - "id": 2444, + "id": 1936, "isConstant": false, "isLValue": false, "isPure": false, @@ -23733,58 +23733,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44349:57:1", + "src": "45612:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2427, - "id": 2445, + "functionReturnParameters": 1919, + "id": 1937, "nodeType": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ] }, "documentation": { - "id": 2419, + "id": 1911, "nodeType": "StructuredDocumentation", - "src": "44098:141:1", + "src": "45353:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2447, + "id": 1939, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2424, + "id": 1916, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2421, + "id": 1913, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44257:28:1", + "scope": 1939, + "src": "45519:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2420, + "id": 1912, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44257:16:1", + "referencedDeclaration": 1746, + "src": "45519:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23792,12 +23792,12 @@ }, { "constant": false, - "id": 2423, + "id": 1915, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44287:11:1", + "scope": 1939, + "src": "45549:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23805,10 +23805,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2422, + "id": 1914, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44287:7:1", + "src": "45549:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23817,20 +23817,20 @@ "visibility": "internal" } ], - "src": "44256:43:1" + "src": "45518:43:0" }, "returnParameters": { - "id": 2427, + "id": 1919, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2426, + "id": 1918, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44323:7:1", + "scope": 1939, + "src": "45585:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23838,10 +23838,10 @@ "typeString": "address" }, "typeName": { - "id": 2425, + "id": 1917, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44323:7:1", + "src": "45585:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23851,19 +23851,19 @@ "visibility": "internal" } ], - "src": "44322:9:1" + "src": "45584:9:0" }, - "scope": 2480, - "src": "44244:169:1", + "scope": 1972, + "src": "45506:171:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2478, + "id": 1970, "nodeType": "Block", - "src": "44809:95:1", + "src": "46081:97:0", "statements": [ { "expression": { @@ -23876,40 +23876,40 @@ "arguments": [ { "expression": { - "id": 2466, + "id": 1958, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2450, - "src": "44855:3:1", + "referencedDeclaration": 1942, + "src": "46128:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2467, + "id": 1959, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44855:10:1", + "referencedDeclaration": 1745, + "src": "46128:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2470, + "id": 1962, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2452, - "src": "44875:3:1", + "referencedDeclaration": 1944, + "src": "46148:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23923,26 +23923,26 @@ "typeString": "uint256" } ], - "id": 2469, + "id": 1961, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2468, + "id": 1960, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": {} } }, - "id": 2471, + "id": 1963, "isConstant": false, "isLValue": false, "isPure": false, @@ -23950,7 +23950,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44867:12:1", + "src": "46140:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23958,12 +23958,12 @@ } }, { - "id": 2472, + "id": 1964, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2454, - "src": "44881:12:1", + "referencedDeclaration": 1946, + "src": "46154:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -23973,7 +23973,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23985,21 +23985,21 @@ "typeString": "string memory" } ], - "id": 2465, + "id": 1957, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, - "src": "44850:4:1", + "referencedDeclaration": 1743, + "src": "46123:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)" } }, - "id": 2473, + "id": 1965, "isConstant": false, "isLValue": false, "isPure": false, @@ -24007,7 +24007,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44850:44:1", + "src": "46123:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -24022,26 +24022,26 @@ "typeString": "bytes32" } ], - "id": 2464, + "id": 1956, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2463, + "id": 1955, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": {} } }, - "id": 2474, + "id": 1966, "isConstant": false, "isLValue": false, "isPure": false, @@ -24049,7 +24049,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44842:53:1", + "src": "46115:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -24064,26 +24064,26 @@ "typeString": "uint256" } ], - "id": 2462, + "id": 1954, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2461, + "id": 1953, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": {} } }, - "id": 2475, + "id": 1967, "isConstant": false, "isLValue": false, "isPure": false, @@ -24091,7 +24091,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44834:62:1", + "src": "46107:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -24106,26 +24106,26 @@ "typeString": "uint160" } ], - "id": 2460, + "id": 1952, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2459, + "id": 1951, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": {} } }, - "id": 2476, + "id": 1968, "isConstant": false, "isLValue": false, "isPure": false, @@ -24133,58 +24133,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44826:71:1", + "src": "46099:71:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2458, - "id": 2477, + "functionReturnParameters": 1950, + "id": 1969, "nodeType": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ] }, "documentation": { - "id": 2448, + "id": 1940, "nodeType": "StructuredDocumentation", - "src": "44419:269:1", + "src": "45685:274:0", "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2479, + "id": 1971, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2455, + "id": 1947, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2450, + "id": 1942, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44706:28:1", + "scope": 1971, + "src": "45978:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2449, + "id": 1941, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44706:16:1", + "referencedDeclaration": 1746, + "src": "45978:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -24192,12 +24192,12 @@ }, { "constant": false, - "id": 2452, + "id": 1944, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44736:11:1", + "scope": 1971, + "src": "46008:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24205,10 +24205,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2451, + "id": 1943, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44736:7:1", + "src": "46008:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24218,12 +24218,12 @@ }, { "constant": false, - "id": 2454, + "id": 1946, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44749:26:1", + "scope": 1971, + "src": "46021:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24231,10 +24231,10 @@ "typeString": "string" }, "typeName": { - "id": 2453, + "id": 1945, "name": "string", "nodeType": "ElementaryTypeName", - "src": "44749:6:1", + "src": "46021:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -24243,20 +24243,20 @@ "visibility": "internal" } ], - "src": "44705:71:1" + "src": "45977:71:0" }, "returnParameters": { - "id": 2458, + "id": 1950, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2457, + "id": 1949, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44800:7:1", + "scope": 1971, + "src": "46072:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24264,10 +24264,10 @@ "typeString": "address" }, "typeName": { - "id": 2456, + "id": 1948, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44800:7:1", + "src": "46072:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -24277,20 +24277,20 @@ "visibility": "internal" } ], - "src": "44799:9:1" + "src": "46071:9:0" }, - "scope": 2480, - "src": "44693:211:1", + "scope": 1972, + "src": "45965:213:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "35943:8963:1" + "scope": 2991, + "src": "36981:9200:0" }, { - "id": 2481, + "id": 1973, "literals": [ "solidity", ">=", @@ -24301,7 +24301,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "abstract": false, @@ -24309,24 +24309,24 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 2482, + "id": 1974, "nodeType": "StructuredDocumentation", - "src": "44992:34:1", + "src": "46272:36:0", "text": " @dev String operations." }, "fullyImplemented": true, - "id": 2566, + "id": 2058, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 2564, + "id": 2056, "nodeType": "Block", - "src": "45207:654:1", + "src": "46494:675:0", "statements": [ { "condition": { @@ -24334,18 +24334,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2492, + "id": 1984, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2490, + "id": 1982, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45409:5:1", + "referencedDeclaration": 1977, + "src": "46700:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24355,72 +24355,72 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2491, + "id": 1983, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45418:1:1", + "src": "46709:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45409:10:1", + "src": "46700:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2496, + "id": 1988, "nodeType": "IfStatement", - "src": "45405:51:1", + "src": "46696:53:0", "trueBody": { - "id": 2495, + "id": 1987, "nodeType": "Block", - "src": "45421:35:1", + "src": "46712:37:0", "statements": [ { "expression": { "hexValue": "30", - "id": 2493, + "id": 1985, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "45442:3:1", + "src": "46734:3:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", "typeString": "literal_string \"0\"" }, "value": "0" }, - "functionReturnParameters": 2489, - "id": 2494, + "functionReturnParameters": 1981, + "id": 1986, "nodeType": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ] } }, { "assignments": [ - 2498 + 1990 ], "declarations": [ { "constant": false, - "id": 2498, + "id": 1990, "mutability": "mutable", "name": "temp", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45465:12:1", + "scope": 2056, + "src": "46759:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24428,10 +24428,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2497, + "id": 1989, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45465:7:1", + "src": "46759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24440,35 +24440,35 @@ "visibility": "internal" } ], - "id": 2500, + "id": 1992, "initialValue": { - "id": 2499, + "id": 1991, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45480:5:1", + "referencedDeclaration": 1977, + "src": "46774:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "assignments": [ - 2502 + 1994 ], "declarations": [ { "constant": false, - "id": 2502, + "id": 1994, "mutability": "mutable", "name": "digits", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45495:14:1", + "scope": 2056, + "src": "46790:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24476,10 +24476,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2501, + "id": 1993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45495:7:1", + "src": "46790:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24488,19 +24488,19 @@ "visibility": "internal" } ], - "id": 2503, + "id": 1995, "nodeType": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "body": { - "id": 2514, + "id": 2006, "nodeType": "Block", - "src": "45537:57:1", + "src": "46833:60:0", "statements": [ { "expression": { - "id": 2508, + "id": 2000, "isConstant": false, "isLValue": false, "isPure": false, @@ -24508,14 +24508,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "45551:8:1", + "src": "46848:8:0", "subExpression": { - "id": 2507, + "id": 1999, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45551:6:1", + "referencedDeclaration": 1994, + "src": "46848:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24526,24 +24526,24 @@ "typeString": "uint256" } }, - "id": 2509, + "id": 2001, "nodeType": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "expression": { - "id": 2512, + "id": 2004, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2510, + "id": 2002, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45573:4:1", + "referencedDeclaration": 1990, + "src": "46871:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24553,29 +24553,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2511, + "id": 2003, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45581:2:1", + "src": "46879:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45573:10:1", + "src": "46871:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2513, + "id": 2005, "nodeType": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ] }, @@ -24584,18 +24584,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2506, + "id": 1998, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2504, + "id": 1996, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45526:4:1", + "referencedDeclaration": 1990, + "src": "46822:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24605,43 +24605,43 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2505, + "id": 1997, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45534:1:1", + "src": "46830:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45526:9:1", + "src": "46822:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2515, + "id": 2007, "nodeType": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "assignments": [ - 2517 + 2009 ], "declarations": [ { "constant": false, - "id": 2517, + "id": 2009, "mutability": "mutable", "name": "buffer", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45603:19:1", + "scope": 2056, + "src": "46903:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24649,10 +24649,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2516, + "id": 2008, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45603:5:1", + "src": "46903:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -24661,16 +24661,16 @@ "visibility": "internal" } ], - "id": 2522, + "id": 2014, "initialValue": { "arguments": [ { - "id": 2520, + "id": 2012, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45635:6:1", + "referencedDeclaration": 1994, + "src": "46935:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24684,29 +24684,29 @@ "typeString": "uint256" } ], - "id": 2519, + "id": 2011, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", - "src": "45625:9:1", + "src": "46925:9:0", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", "typeString": "function (uint256) pure returns (bytes memory)" }, "typeName": { - "id": 2518, + "id": 2010, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45629:5:1", + "src": "46929:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } } }, - "id": 2521, + "id": 2013, "isConstant": false, "isLValue": false, "isPure": false, @@ -24714,7 +24714,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45625:17:1", + "src": "46925:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -24722,21 +24722,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "assignments": [ - 2524 + 2016 ], "declarations": [ { "constant": false, - "id": 2524, + "id": 2016, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45652:13:1", + "scope": 2056, + "src": "46953:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24744,10 +24744,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2523, + "id": 2015, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45652:7:1", + "src": "46953:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24756,24 +24756,24 @@ "visibility": "internal" } ], - "id": 2528, + "id": 2020, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2527, + "id": 2019, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2525, + "id": 2017, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45668:6:1", + "referencedDeclaration": 1994, + "src": "46969:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24783,43 +24783,43 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2526, + "id": 2018, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45677:1:1", + "src": "46978:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "45668:10:1", + "src": "46969:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "expression": { - "id": 2531, + "id": 2023, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2529, + "id": 2021, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45688:4:1", + "referencedDeclaration": 1990, + "src": "46990:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24828,56 +24828,56 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2530, + "id": 2022, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45695:5:1", + "referencedDeclaration": 1977, + "src": "46997:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45688:12:1", + "src": "46990:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2532, + "id": 2024, "nodeType": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "body": { - "id": 2557, + "id": 2049, "nodeType": "Block", - "src": "45728:96:1", + "src": "47031:99:0", "statements": [ { "expression": { - "id": 2551, + "id": 2043, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2536, + "id": 2028, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45742:6:1", + "referencedDeclaration": 2009, + "src": "47046:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2539, + "id": 2031, "indexExpression": { - "id": 2538, + "id": 2030, "isConstant": false, "isLValue": false, "isPure": false, @@ -24885,14 +24885,14 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "45749:7:1", + "src": "47053:7:0", "subExpression": { - "id": 2537, + "id": 2029, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2524, - "src": "45749:5:1", + "referencedDeclaration": 2016, + "src": "47053:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24908,7 +24908,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "45742:15:1", + "src": "47046:15:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -24925,21 +24925,21 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2548, + "id": 2040, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "hexValue": "3438", - "id": 2544, + "id": 2036, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45773:2:1", + "src": "47077:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_48_by_1", "typeString": "int_const 48" @@ -24953,18 +24953,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2547, + "id": 2039, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2545, + "id": 2037, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45778:4:1", + "referencedDeclaration": 1990, + "src": "47082:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24974,27 +24974,27 @@ "operator": "%", "rightExpression": { "hexValue": "3130", - "id": 2546, + "id": 2038, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45785:2:1", + "src": "47089:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45778:9:1", + "src": "47082:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45773:14:1", + "src": "47077:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25008,26 +25008,26 @@ "typeString": "uint256" } ], - "id": 2543, + "id": 2035, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint8_$", "typeString": "type(uint8)" }, "typeName": { - "id": 2542, + "id": 2034, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": {} } }, - "id": 2549, + "id": 2041, "isConstant": false, "isLValue": false, "isPure": false, @@ -25035,7 +25035,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45767:21:1", + "src": "47071:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint8", @@ -25050,26 +25050,26 @@ "typeString": "uint8" } ], - "id": 2541, + "id": 2033, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": { - "id": 2540, + "id": 2032, "name": "bytes1", "nodeType": "ElementaryTypeName", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": {} } }, - "id": 2550, + "id": 2042, "isConstant": false, "isLValue": false, "isPure": false, @@ -25077,37 +25077,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45760:29:1", + "src": "47064:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "45742:47:1", + "src": "47046:47:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "id": 2552, + "id": 2044, "nodeType": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "expression": { - "id": 2555, + "id": 2047, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2553, + "id": 2045, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45803:4:1", + "referencedDeclaration": 1990, + "src": "47108:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25117,29 +25117,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2554, + "id": 2046, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45811:2:1", + "src": "47116:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45803:10:1", + "src": "47108:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2556, + "id": 2048, "nodeType": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ] }, @@ -25148,18 +25148,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2535, + "id": 2027, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2533, + "id": 2025, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45717:4:1", + "referencedDeclaration": 1990, + "src": "47020:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25169,40 +25169,40 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2534, + "id": 2026, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45725:1:1", + "src": "47028:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45717:9:1", + "src": "47020:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2558, + "id": 2050, "nodeType": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "expression": { "arguments": [ { - "id": 2561, + "id": 2053, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45847:6:1", + "referencedDeclaration": 2009, + "src": "47154:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -25216,26 +25216,26 @@ "typeString": "bytes memory" } ], - "id": 2560, + "id": 2052, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2559, + "id": 2051, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": {} } }, - "id": 2562, + "id": 2054, "isConstant": false, "isLValue": false, "isPure": false, @@ -25243,44 +25243,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45840:14:1", + "src": "47147:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2489, - "id": 2563, + "functionReturnParameters": 1981, + "id": 2055, "nodeType": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ] }, "documentation": { - "id": 2483, + "id": 1975, "nodeType": "StructuredDocumentation", - "src": "45049:82:1", + "src": "46333:84:0", "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2565, + "id": 2057, "implemented": true, "kind": "function", "modifiers": [], "name": "toString", "nodeType": "FunctionDefinition", "parameters": { - "id": 2486, + "id": 1978, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2485, + "id": 1977, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45154:13:1", + "scope": 2057, + "src": "46441:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25288,10 +25288,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2484, + "id": 1976, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45154:7:1", + "src": "46441:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25300,20 +25300,20 @@ "visibility": "internal" } ], - "src": "45153:15:1" + "src": "46440:15:0" }, "returnParameters": { - "id": 2489, + "id": 1981, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2488, + "id": 1980, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45192:13:1", + "scope": 2057, + "src": "46479:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -25321,10 +25321,10 @@ "typeString": "string" }, "typeName": { - "id": 2487, + "id": 1979, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45192:6:1", + "src": "46479:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25333,20 +25333,20 @@ "visibility": "internal" } ], - "src": "45191:15:1" + "src": "46478:15:0" }, - "scope": 2566, - "src": "45136:725:1", + "scope": 2058, + "src": "46423:746:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "45027:836:1" + "scope": 2991, + "src": "46310:862:0" }, { - "id": 2567, + "id": 2059, "literals": [ "solidity", ">=", @@ -25357,141 +25357,141 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 2569, + "id": 2061, "name": "Context", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 530, - "src": "46099:7:1", + "referencedDeclaration": 22, + "src": "47417:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 2570, + "id": 2062, "nodeType": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "baseName": { - "id": 2571, + "id": 2063, "name": "ERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 781, - "src": "46108:6:1", + "referencedDeclaration": 273, + "src": "47426:6:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC165_$781", + "typeIdentifier": "t_contract$_ERC165_$273", "typeString": "contract ERC165" } }, - "id": 2572, + "id": 2064, "nodeType": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "baseName": { - "id": 2573, + "id": 2065, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "46116:7:1", + "referencedDeclaration": 147, + "src": "47434:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 2574, + "id": 2066, "nodeType": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "baseName": { - "id": 2575, + "id": 2067, "name": "IERC721Metadata", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 680, - "src": "46125:15:1", + "referencedDeclaration": 172, + "src": "47443:15:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Metadata_$680", + "typeIdentifier": "t_contract$_IERC721Metadata_$172", "typeString": "contract IERC721Metadata" } }, - "id": 2576, + "id": 2068, "nodeType": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "baseName": { - "id": 2577, + "id": 2069, "name": "IERC721Enumerable", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 709, - "src": "46142:17:1", + "referencedDeclaration": 201, + "src": "47460:17:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Enumerable_$709", + "typeIdentifier": "t_contract$_IERC721Enumerable_$201", "typeString": "contract IERC721Enumerable" } }, - "id": 2578, + "id": 2070, "nodeType": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" } ], "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "documentation": { - "id": 2568, + "id": 2060, "nodeType": "StructuredDocumentation", - "src": "45955:124:1", + "src": "47269:127:0", "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": true, - "id": 3498, + "id": 2990, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", "nodeType": "ContractDefinition", "nodes": [ { - "id": 2581, + "id": 2073, "libraryName": { - "id": 2579, + "id": 2071, "name": "SafeMath", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1135, - "src": "46172:8:1", + "referencedDeclaration": 627, + "src": "47491:8:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$1135", + "typeIdentifier": "t_contract$_SafeMath_$627", "typeString": "library SafeMath" } }, "nodeType": "UsingForDirective", - "src": "46166:27:1", + "src": "47485:27:0", "typeName": { - "id": 2580, + "id": 2072, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46185:7:1", + "src": "47504:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25499,25 +25499,25 @@ } }, { - "id": 2584, + "id": 2076, "libraryName": { - "id": 2582, + "id": 2074, "name": "Address", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1430, - "src": "46204:7:1", + "referencedDeclaration": 922, + "src": "47524:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } }, "nodeType": "UsingForDirective", - "src": "46198:26:1", + "src": "47518:26:0", "typeName": { - "id": 2583, + "id": 2075, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46216:7:1", + "src": "47536:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25526,79 +25526,79 @@ } }, { - "id": 2587, + "id": 2079, "libraryName": { - "id": 2585, + "id": 2077, "name": "EnumerableSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1921, - "src": "46235:13:1", + "referencedDeclaration": 1413, + "src": "47556:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableSet_$1921", + "typeIdentifier": "t_contract$_EnumerableSet_$1413", "typeString": "library EnumerableSet" } }, "nodeType": "UsingForDirective", - "src": "46229:46:1", + "src": "47550:46:0", "typeName": { - "id": 2586, + "id": 2078, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46253:21:1", + "referencedDeclaration": 1318, + "src": "47574:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } }, { - "id": 2590, + "id": 2082, "libraryName": { - "id": 2588, + "id": 2080, "name": "EnumerableMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2480, - "src": "46286:13:1", + "referencedDeclaration": 1972, + "src": "47608:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableMap_$2480", + "typeIdentifier": "t_contract$_EnumerableMap_$1972", "typeString": "library EnumerableMap" } }, "nodeType": "UsingForDirective", - "src": "46280:55:1", + "src": "47602:55:0", "typeName": { - "id": 2589, + "id": 2081, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46304:30:1", + "referencedDeclaration": 1746, + "src": "47626:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } } }, { - "id": 2593, + "id": 2085, "libraryName": { - "id": 2591, + "id": 2083, "name": "Strings", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2566, - "src": "46346:7:1", + "referencedDeclaration": 2058, + "src": "47669:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Strings_$2566", + "typeIdentifier": "t_contract$_Strings_$2058", "typeString": "library Strings" } }, "nodeType": "UsingForDirective", - "src": "46340:26:1", + "src": "47663:26:0", "typeName": { - "id": 2592, + "id": 2084, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46358:7:1", + "src": "47681:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25607,12 +25607,12 @@ }, { "constant": true, - "id": 2596, + "id": 2088, "mutability": "constant", "name": "_ERC721_RECEIVED", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46544:53:1", + "scope": 2990, + "src": "47871:53:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25620,10 +25620,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2594, + "id": 2086, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "46544:6:1", + "src": "47871:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -25631,14 +25631,14 @@ }, "value": { "hexValue": "30783135306237613032", - "id": 2595, + "id": 2087, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "46587:10:1", + "src": "47914:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_353073666_by_1", "typeString": "int_const 353073666" @@ -25649,44 +25649,44 @@ }, { "constant": false, - "id": 2600, + "id": 2092, "mutability": "mutable", "name": "_holderTokens", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46681:64:1", + "scope": 2990, + "src": "48011:64:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "typeName": { - "id": 2599, + "id": 2091, "keyType": { - "id": 2597, + "id": 2089, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46690:7:1", + "src": "48020:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "46681:42:1", + "src": "48011:42:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "valueType": { - "id": 2598, + "id": 2090, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46701:21:1", + "referencedDeclaration": 1318, + "src": "48031:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } @@ -25695,26 +25695,26 @@ }, { "constant": false, - "id": 2602, + "id": 2094, "mutability": "mutable", "name": "_tokenOwners", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46809:51:1", + "scope": 2990, + "src": "48142:51:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2601, + "id": 2093, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46809:30:1", + "referencedDeclaration": 1746, + "src": "48142:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -25722,12 +25722,12 @@ }, { "constant": false, - "id": 2606, + "id": 2098, "mutability": "mutable", "name": "_tokenApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46916:52:1", + "scope": 2990, + "src": "48252:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25735,28 +25735,28 @@ "typeString": "mapping(uint256 => address)" }, "typeName": { - "id": 2605, + "id": 2097, "keyType": { - "id": 2603, + "id": 2095, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46925:7:1", + "src": "48261:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "46916:28:1", + "src": "48252:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" }, "valueType": { - "id": 2604, + "id": 2096, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46936:7:1", + "src": "48272:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25768,12 +25768,12 @@ }, { "constant": false, - "id": 2612, + "id": 2104, "mutability": "mutable", "name": "_operatorApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47023:73:1", + "scope": 2990, + "src": "48362:73:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25781,46 +25781,46 @@ "typeString": "mapping(address => mapping(address => bool))" }, "typeName": { - "id": 2611, + "id": 2103, "keyType": { - "id": 2607, + "id": 2099, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47032:7:1", + "src": "48371:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47023:46:1", + "src": "48362:46:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" }, "valueType": { - "id": 2610, + "id": 2102, "keyType": { - "id": 2608, + "id": 2100, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47052:7:1", + "src": "48391:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47043:25:1", + "src": "48382:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" }, "valueType": { - "id": 2609, + "id": 2101, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "47063:4:1", + "src": "48402:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -25832,12 +25832,12 @@ }, { "constant": false, - "id": 2614, + "id": 2106, "mutability": "mutable", "name": "_name", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47121:20:1", + "scope": 2990, + "src": "48463:20:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25845,10 +25845,10 @@ "typeString": "string" }, "typeName": { - "id": 2613, + "id": 2105, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47121:6:1", + "src": "48463:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25858,12 +25858,12 @@ }, { "constant": false, - "id": 2616, + "id": 2108, "mutability": "mutable", "name": "_symbol", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47168:22:1", + "scope": 2990, + "src": "48513:22:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25871,10 +25871,10 @@ "typeString": "string" }, "typeName": { - "id": 2615, + "id": 2107, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47168:6:1", + "src": "48513:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25884,12 +25884,12 @@ }, { "constant": false, - "id": 2620, + "id": 2112, "mutability": "mutable", "name": "_tokenURIs", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47236:46:1", + "scope": 2990, + "src": "48584:46:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25897,28 +25897,28 @@ "typeString": "mapping(uint256 => string)" }, "typeName": { - "id": 2619, + "id": 2111, "keyType": { - "id": 2617, + "id": 2109, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "47245:7:1", + "src": "48593:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "47236:27:1", + "src": "48584:27:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string)" }, "valueType": { - "id": 2618, + "id": 2110, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47256:6:1", + "src": "48604:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25929,12 +25929,12 @@ }, { "constant": false, - "id": 2622, + "id": 2114, "mutability": "mutable", "name": "_baseURI", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47305:23:1", + "scope": 2990, + "src": "48656:23:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25942,10 +25942,10 @@ "typeString": "string" }, "typeName": { - "id": 2621, + "id": 2113, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47305:6:1", + "src": "48656:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25955,12 +25955,12 @@ }, { "constant": true, - "id": 2625, + "id": 2117, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48204:57:1", + "scope": 2990, + "src": "49571:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25968,10 +25968,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2623, + "id": 2115, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48204:6:1", + "src": "49571:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -25979,14 +25979,14 @@ }, "value": { "hexValue": "30783830616335386364", - "id": 2624, + "id": 2116, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48251:10:1", + "src": "49618:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2158778573_by_1", "typeString": "int_const 2158778573" @@ -25997,12 +25997,12 @@ }, { "constant": true, - "id": 2628, + "id": 2120, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48527:66:1", + "scope": 2990, + "src": "49903:66:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26010,10 +26010,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2626, + "id": 2118, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48527:6:1", + "src": "49903:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26021,14 +26021,14 @@ }, "value": { "hexValue": "30783562356531333966", - "id": 2627, + "id": 2119, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48583:10:1", + "src": "49959:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_1532892063_by_1", "typeString": "int_const 1532892063" @@ -26039,12 +26039,12 @@ }, { "constant": true, - "id": 2631, + "id": 2123, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48898:68:1", + "scope": 2990, + "src": "50283:68:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26052,10 +26052,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2629, + "id": 2121, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48898:6:1", + "src": "50283:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26063,14 +26063,14 @@ }, "value": { "hexValue": "30783738306539643633", - "id": 2630, + "id": 2122, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48956:10:1", + "src": "50341:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2014223715_by_1", "typeString": "int_const 2014223715" @@ -26081,24 +26081,24 @@ }, { "body": { - "id": 2659, + "id": 2151, "nodeType": "Block", - "src": "49143:305:1", + "src": "50533:313:0", "statements": [ { "expression": { - "id": 2641, + "id": 2133, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2639, + "id": 2131, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "49153:5:1", + "referencedDeclaration": 2106, + "src": "50544:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26107,41 +26107,41 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2640, + "id": 2132, "name": "name_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2634, - "src": "49161:5:1", + "referencedDeclaration": 2126, + "src": "50552:5:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49153:13:1", + "src": "50544:13:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2642, + "id": 2134, "nodeType": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "expression": { - "id": 2645, + "id": 2137, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2643, + "id": 2135, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "49176:7:1", + "referencedDeclaration": 2108, + "src": "50568:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26150,37 +26150,37 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2644, + "id": 2136, "name": "symbol_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2636, - "src": "49186:7:1", + "referencedDeclaration": 2128, + "src": "50578:7:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49176:17:1", + "src": "50568:17:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2646, + "id": 2138, "nodeType": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "expression": { "arguments": [ { - "id": 2648, + "id": 2140, "name": "_INTERFACE_ID_ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2625, - "src": "49300:20:1", + "referencedDeclaration": 2117, + "src": "50695:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26194,18 +26194,18 @@ "typeString": "bytes4" } ], - "id": 2647, + "id": 2139, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49281:18:1", + "referencedDeclaration": 272, + "src": "50676:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2649, + "id": 2141, "isConstant": false, "isLValue": false, "isPure": false, @@ -26213,27 +26213,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49281:40:1", + "src": "50676:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2650, + "id": 2142, "nodeType": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "expression": { "arguments": [ { - "id": 2652, + "id": 2144, "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2628, - "src": "49350:29:1", + "referencedDeclaration": 2120, + "src": "50746:29:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26247,18 +26247,18 @@ "typeString": "bytes4" } ], - "id": 2651, + "id": 2143, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49331:18:1", + "referencedDeclaration": 272, + "src": "50727:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2653, + "id": 2145, "isConstant": false, "isLValue": false, "isPure": false, @@ -26266,27 +26266,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49331:49:1", + "src": "50727:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2654, + "id": 2146, "nodeType": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "expression": { "arguments": [ { - "id": 2656, + "id": 2148, "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2631, - "src": "49409:31:1", + "referencedDeclaration": 2123, + "src": "50806:31:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26300,18 +26300,18 @@ "typeString": "bytes4" } ], - "id": 2655, + "id": 2147, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49390:18:1", + "referencedDeclaration": 272, + "src": "50787:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2657, + "id": 2149, "isConstant": false, "isLValue": false, "isPure": false, @@ -26319,43 +26319,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49390:51:1", + "src": "50787:51:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2658, + "id": 2150, "nodeType": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ] }, "documentation": { - "id": 2632, + "id": 2124, "nodeType": "StructuredDocumentation", - "src": "48973:108:1", + "src": "50360:110:0", "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2660, + "id": 2152, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 2637, + "id": 2129, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2634, + "id": 2126, "mutability": "mutable", "name": "name_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49099:19:1", + "scope": 2152, + "src": "50489:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26363,10 +26363,10 @@ "typeString": "string" }, "typeName": { - "id": 2633, + "id": 2125, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49099:6:1", + "src": "50489:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26376,12 +26376,12 @@ }, { "constant": false, - "id": 2636, + "id": 2128, "mutability": "mutable", "name": "symbol_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49120:21:1", + "scope": 2152, + "src": "50510:21:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26389,10 +26389,10 @@ "typeString": "string" }, "typeName": { - "id": 2635, + "id": 2127, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49120:6:1", + "src": "50510:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26401,28 +26401,28 @@ "visibility": "internal" } ], - "src": "49098:44:1" + "src": "50488:44:0" }, "returnParameters": { - "id": 2638, + "id": 2130, "nodeType": "ParameterList", "parameters": [], - "src": "49143:0:1" + "src": "50533:0:0" }, - "scope": 3498, - "src": "49086:362:1", + "scope": 2990, + "src": "50476:370:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { "baseFunctions": [ - 580 + 72 ], "body": { - "id": 2685, + "id": 2177, "nodeType": "Block", - "src": "49588:137:1", + "src": "50991:140:0", "statements": [ { "expression": { @@ -26432,18 +26432,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2675, + "id": 2167, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2670, + "id": 2162, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49606:5:1", + "referencedDeclaration": 2155, + "src": "51010:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26455,14 +26455,14 @@ "arguments": [ { "hexValue": "30", - "id": 2673, + "id": 2165, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "49623:1:1", + "src": "51027:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -26477,26 +26477,26 @@ "typeString": "int_const 0" } ], - "id": 2672, + "id": 2164, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2671, + "id": 2163, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": {} } }, - "id": 2674, + "id": 2166, "isConstant": false, "isLValue": false, "isPure": true, @@ -26504,14 +26504,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49615:10:1", + "src": "51019:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "49606:19:1", + "src": "51010:19:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -26519,14 +26519,14 @@ }, { "hexValue": "4552433732313a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373", - "id": 2676, + "id": 2168, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49627:44:1", + "src": "51031:44:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7395d4d3901c50cdfcab223d072f9aa36241df5d883e62cbf147ee1b05a9e6ba", "typeString": "literal_string \"ERC721: balance query for the zero address\"" @@ -26545,7 +26545,7 @@ "typeString": "literal_string \"ERC721: balance query for the zero address\"" } ], - "id": 2669, + "id": 2161, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -26553,13 +26553,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "49598:7:1", + "src": "51002:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2677, + "id": 2169, "isConstant": false, "isLValue": false, "isPure": false, @@ -26567,16 +26567,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49598:74:1", + "src": "51002:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2678, + "id": 2170, "nodeType": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "expression": { @@ -26585,25 +26585,25 @@ "argumentTypes": [], "expression": { "baseExpression": { - "id": 2679, + "id": 2171, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "49689:13:1", + "referencedDeclaration": 2092, + "src": "51094:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2681, + "id": 2173, "indexExpression": { - "id": 2680, + "id": 2172, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49703:5:1", + "referencedDeclaration": 2155, + "src": "51108:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26614,27 +26614,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "49689:20:1", + "src": "51094:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2682, + "id": 2174, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 1900, - "src": "49689:27:1", + "referencedDeclaration": 1392, + "src": "51094:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" } }, - "id": 2683, + "id": 2175, "isConstant": false, "isLValue": false, "isPure": false, @@ -26642,51 +26642,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49689:29:1", + "src": "51094:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2668, - "id": 2684, + "functionReturnParameters": 2160, + "id": 2176, "nodeType": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ] }, "documentation": { - "id": 2661, + "id": 2153, "nodeType": "StructuredDocumentation", - "src": "49454:48:1", + "src": "50854:50:0", "text": " @dev See {IERC721-balanceOf}." }, "functionSelector": "70a08231", - "id": 2686, + "id": 2178, "implemented": true, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2665, + "id": 2157, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49561:8:1" + "src": "50964:8:0" }, "parameters": { - "id": 2664, + "id": 2156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2663, + "id": 2155, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49526:13:1", + "scope": 2178, + "src": "50929:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26694,10 +26694,10 @@ "typeString": "address" }, "typeName": { - "id": 2662, + "id": 2154, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49526:7:1", + "src": "50929:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26707,20 +26707,20 @@ "visibility": "internal" } ], - "src": "49525:15:1" + "src": "50928:15:0" }, "returnParameters": { - "id": 2668, + "id": 2160, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2667, + "id": 2159, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49579:7:1", + "scope": 2178, + "src": "50982:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26728,10 +26728,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2666, + "id": 2158, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49579:7:1", + "src": "50982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26740,33 +26740,33 @@ "visibility": "internal" } ], - "src": "49578:9:1" + "src": "50981:9:0" }, - "scope": 3498, - "src": "49507:218:1", + "scope": 2990, + "src": "50910:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 588 + 80 ], "body": { - "id": 2701, + "id": 2193, "nodeType": "Block", - "src": "49863:94:1", + "src": "51274:96:0", "statements": [ { "expression": { "arguments": [ { - "id": 2697, + "id": 2189, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2689, - "src": "49897:7:1", + "referencedDeclaration": 2181, + "src": "51309:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26774,14 +26774,14 @@ }, { "hexValue": "4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2698, + "id": 2190, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49906:43:1", + "src": "51318:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7481f3df2a424c0755a1ad2356614e9a5a358d461ea2eae1f89cb21cbad00397", "typeString": "literal_string \"ERC721: owner query for nonexistent token\"" @@ -26801,32 +26801,32 @@ } ], "expression": { - "id": 2695, + "id": 2187, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "49880:12:1", + "referencedDeclaration": 2094, + "src": "51292:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2696, + "id": 2188, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "get", "nodeType": "MemberAccess", - "referencedDeclaration": 2479, - "src": "49880:16:1", + "referencedDeclaration": 1971, + "src": "51292:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" } }, - "id": 2699, + "id": 2191, "isConstant": false, "isLValue": false, "isPure": false, @@ -26834,51 +26834,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49880:70:1", + "src": "51292:70:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2694, - "id": 2700, + "functionReturnParameters": 2186, + "id": 2192, "nodeType": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ] }, "documentation": { - "id": 2687, + "id": 2179, "nodeType": "StructuredDocumentation", - "src": "49731:46:1", + "src": "51139:48:0", "text": " @dev See {IERC721-ownerOf}." }, "functionSelector": "6352211e", - "id": 2702, + "id": 2194, "implemented": true, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2691, + "id": 2183, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49836:8:1" + "src": "51247:8:0" }, "parameters": { - "id": 2690, + "id": 2182, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2689, + "id": 2181, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49799:15:1", + "scope": 2194, + "src": "51210:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26886,10 +26886,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2688, + "id": 2180, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49799:7:1", + "src": "51210:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26898,20 +26898,20 @@ "visibility": "internal" } ], - "src": "49798:17:1" + "src": "51209:17:0" }, "returnParameters": { - "id": 2694, + "id": 2186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2693, + "id": 2185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49854:7:1", + "scope": 2194, + "src": "51265:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26919,10 +26919,10 @@ "typeString": "address" }, "typeName": { - "id": 2692, + "id": 2184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49854:7:1", + "src": "51265:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26932,80 +26932,80 @@ "visibility": "internal" } ], - "src": "49853:9:1" + "src": "51264:9:0" }, - "scope": 3498, - "src": "49782:175:1", + "scope": 2990, + "src": "51193:177:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 665 + 157 ], "body": { - "id": 2711, + "id": 2203, "nodeType": "Block", - "src": "50088:29:1", + "src": "51506:31:0", "statements": [ { "expression": { - "id": 2709, + "id": 2201, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "50105:5:1", + "referencedDeclaration": 2106, + "src": "51524:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2708, - "id": 2710, + "functionReturnParameters": 2200, + "id": 2202, "nodeType": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ] }, "documentation": { - "id": 2703, + "id": 2195, "nodeType": "StructuredDocumentation", - "src": "49963:51:1", + "src": "51378:53:0", "text": " @dev See {IERC721Metadata-name}." }, "functionSelector": "06fdde03", - "id": 2712, + "id": 2204, "implemented": true, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "overrides": { - "id": 2705, + "id": 2197, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50055:8:1" + "src": "51473:8:0" }, "parameters": { - "id": 2704, + "id": 2196, "nodeType": "ParameterList", "parameters": [], - "src": "50032:2:1" + "src": "51450:2:0" }, "returnParameters": { - "id": 2708, + "id": 2200, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2707, + "id": 2199, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2712, - "src": "50073:13:1", + "scope": 2204, + "src": "51491:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27013,10 +27013,10 @@ "typeString": "string" }, "typeName": { - "id": 2706, + "id": 2198, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50073:6:1", + "src": "51491:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27025,80 +27025,80 @@ "visibility": "internal" } ], - "src": "50072:15:1" + "src": "51490:15:0" }, - "scope": 3498, - "src": "50019:98:1", + "scope": 2990, + "src": "51437:100:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 671 + 163 ], "body": { - "id": 2721, + "id": 2213, "nodeType": "Block", - "src": "50252:31:1", + "src": "51677:33:0", "statements": [ { "expression": { - "id": 2719, + "id": 2211, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "50269:7:1", + "referencedDeclaration": 2108, + "src": "51695:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2718, - "id": 2720, + "functionReturnParameters": 2210, + "id": 2212, "nodeType": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ] }, "documentation": { - "id": 2713, + "id": 2205, "nodeType": "StructuredDocumentation", - "src": "50123:53:1", + "src": "51545:55:0", "text": " @dev See {IERC721Metadata-symbol}." }, "functionSelector": "95d89b41", - "id": 2722, + "id": 2214, "implemented": true, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "overrides": { - "id": 2715, + "id": 2207, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50219:8:1" + "src": "51644:8:0" }, "parameters": { - "id": 2714, + "id": 2206, "nodeType": "ParameterList", "parameters": [], - "src": "50196:2:1" + "src": "51621:2:0" }, "returnParameters": { - "id": 2718, + "id": 2210, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2717, + "id": 2209, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2722, - "src": "50237:13:1", + "scope": 2214, + "src": "51662:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27106,10 +27106,10 @@ "typeString": "string" }, "typeName": { - "id": 2716, + "id": 2208, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50237:6:1", + "src": "51662:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27118,22 +27118,22 @@ "visibility": "internal" } ], - "src": "50236:15:1" + "src": "51661:15:0" }, - "scope": 3498, - "src": "50181:102:1", + "scope": 2990, + "src": "51606:104:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 679 + 171 ], "body": { - "id": 2789, + "id": 2281, "nodeType": "Block", - "src": "50437:688:1", + "src": "51869:704:0", "statements": [ { "expression": { @@ -27141,12 +27141,12 @@ { "arguments": [ { - "id": 2733, + "id": 2225, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50463:7:1", + "referencedDeclaration": 2217, + "src": "51896:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27160,18 +27160,18 @@ "typeString": "uint256" } ], - "id": 2732, + "id": 2224, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "50455:7:1", + "referencedDeclaration": 2577, + "src": "51888:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2734, + "id": 2226, "isConstant": false, "isLValue": false, "isPure": false, @@ -27179,7 +27179,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50455:16:1", + "src": "51888:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -27188,14 +27188,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2735, + "id": 2227, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "50473:49:1", + "src": "51906:49:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a2d45c0fba603d40d82d590051761ca952d1ab9d78cca6d0d464d7b6e961a9cb", "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" @@ -27214,7 +27214,7 @@ "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" } ], - "id": 2731, + "id": 2223, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -27222,13 +27222,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "50447:7:1", + "src": "51880:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2736, + "id": 2228, "isConstant": false, "isLValue": false, "isPure": false, @@ -27236,30 +27236,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50447:76:1", + "src": "51880:76:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2737, + "id": 2229, "nodeType": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "assignments": [ - 2739 + 2231 ], "declarations": [ { "constant": false, - "id": 2739, + "id": 2231, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50534:23:1", + "scope": 2281, + "src": "51969:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27267,10 +27267,10 @@ "typeString": "string" }, "typeName": { - "id": 2738, + "id": 2230, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50534:6:1", + "src": "51969:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27279,28 +27279,28 @@ "visibility": "internal" } ], - "id": 2743, + "id": 2235, "initialValue": { "baseExpression": { - "id": 2740, + "id": 2232, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "50560:10:1", + "referencedDeclaration": 2112, + "src": "51995:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 2742, + "id": 2234, "indexExpression": { - "id": 2741, + "id": 2233, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50571:7:1", + "referencedDeclaration": 2217, + "src": "52006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27311,28 +27311,28 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "50560:19:1", + "src": "51995:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "assignments": [ - 2745 + 2237 ], "declarations": [ { "constant": false, - "id": 2745, + "id": 2237, "mutability": "mutable", "name": "base", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50589:18:1", + "scope": 2281, + "src": "52025:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27340,10 +27340,10 @@ "typeString": "string" }, "typeName": { - "id": 2744, + "id": 2236, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50589:6:1", + "src": "52025:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27352,23 +27352,23 @@ "visibility": "internal" } ], - "id": 2748, + "id": 2240, "initialValue": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2746, + "id": 2238, "name": "baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2799, - "src": "50610:7:1", + "referencedDeclaration": 2291, + "src": "52046:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_string_memory_ptr_$", "typeString": "function () view returns (string memory)" } }, - "id": 2747, + "id": 2239, "isConstant": false, "isLValue": false, "isPure": false, @@ -27376,7 +27376,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50610:9:1", + "src": "52046:9:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27384,7 +27384,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "condition": { @@ -27392,7 +27392,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2755, + "id": 2247, "isConstant": false, "isLValue": false, "isPure": false, @@ -27401,12 +27401,12 @@ "expression": { "arguments": [ { - "id": 2751, + "id": 2243, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50698:4:1", + "referencedDeclaration": 2237, + "src": "52137:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27420,26 +27420,26 @@ "typeString": "string memory" } ], - "id": 2750, + "id": 2242, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2749, + "id": 2241, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": {} } }, - "id": 2752, + "id": 2244, "isConstant": false, "isLValue": false, "isPure": false, @@ -27447,21 +27447,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50692:11:1", + "src": "52131:11:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2753, + "id": 2245, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50692:18:1", + "src": "52131:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27471,51 +27471,51 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2754, + "id": 2246, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50714:1:1", + "src": "52153:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50692:23:1", + "src": "52131:23:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2759, + "id": 2251, "nodeType": "IfStatement", - "src": "50688:70:1", + "src": "52127:72:0", "trueBody": { - "id": 2758, + "id": 2250, "nodeType": "Block", - "src": "50717:41:1", + "src": "52156:43:0", "statements": [ { "expression": { - "id": 2756, + "id": 2248, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50738:9:1", + "referencedDeclaration": 2231, + "src": "52178:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2757, + "functionReturnParameters": 2222, + "id": 2249, "nodeType": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ] } @@ -27526,7 +27526,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2766, + "id": 2258, "isConstant": false, "isLValue": false, "isPure": false, @@ -27535,12 +27535,12 @@ "expression": { "arguments": [ { - "id": 2762, + "id": 2254, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50866:9:1", + "referencedDeclaration": 2231, + "src": "52309:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27554,26 +27554,26 @@ "typeString": "string memory" } ], - "id": 2761, + "id": 2253, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2760, + "id": 2252, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": {} } }, - "id": 2763, + "id": 2255, "isConstant": false, "isLValue": false, "isPure": false, @@ -27581,21 +27581,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50860:16:1", + "src": "52303:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2764, + "id": 2256, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50860:23:1", + "src": "52303:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27605,33 +27605,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 2765, + "id": 2257, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50886:1:1", + "src": "52329:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50860:27:1", + "src": "52303:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2777, + "id": 2269, "nodeType": "IfStatement", - "src": "50856:106:1", + "src": "52299:108:0", "trueBody": { - "id": 2776, + "id": 2268, "nodeType": "Block", - "src": "50889:73:1", + "src": "52332:75:0", "statements": [ { "expression": { @@ -27639,24 +27639,24 @@ { "arguments": [ { - "id": 2771, + "id": 2263, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50934:4:1", + "referencedDeclaration": 2237, + "src": "52378:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, { - "id": 2772, + "id": 2264, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50940:9:1", + "referencedDeclaration": 2231, + "src": "52384:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27675,31 +27675,31 @@ } ], "expression": { - "id": 2769, + "id": 2261, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "50917:3:1", + "src": "52361:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2770, + "id": 2262, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "50917:16:1", + "src": "52361:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2773, + "id": 2265, "isConstant": false, "isLValue": false, "isPure": false, @@ -27707,7 +27707,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50917:33:1", + "src": "52361:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -27722,26 +27722,26 @@ "typeString": "bytes memory" } ], - "id": 2768, + "id": 2260, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2767, + "id": 2259, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": {} } }, - "id": 2774, + "id": 2266, "isConstant": false, "isLValue": false, "isPure": false, @@ -27749,17 +27749,17 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50910:41:1", + "src": "52354:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2775, + "functionReturnParameters": 2222, + "id": 2267, "nodeType": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ] } @@ -27770,12 +27770,12 @@ { "arguments": [ { - "id": 2782, + "id": 2274, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "51092:4:1", + "referencedDeclaration": 2237, + "src": "52539:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27786,32 +27786,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2783, + "id": 2275, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "51098:7:1", + "referencedDeclaration": 2217, + "src": "52545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2784, + "id": 2276, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toString", "nodeType": "MemberAccess", - "referencedDeclaration": 2565, - "src": "51098:16:1", + "referencedDeclaration": 2057, + "src": "52545:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$bound_to$_t_uint256_$", "typeString": "function (uint256) pure returns (string memory)" } }, - "id": 2785, + "id": 2277, "isConstant": false, "isLValue": false, "isPure": false, @@ -27819,7 +27819,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51098:18:1", + "src": "52545:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27839,31 +27839,31 @@ } ], "expression": { - "id": 2780, + "id": 2272, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "51075:3:1", + "src": "52522:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2781, + "id": 2273, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "51075:16:1", + "src": "52522:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2786, + "id": 2278, "isConstant": false, "isLValue": false, "isPure": false, @@ -27871,7 +27871,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51075:42:1", + "src": "52522:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -27886,26 +27886,26 @@ "typeString": "bytes memory" } ], - "id": 2779, + "id": 2271, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2778, + "id": 2270, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": {} } }, - "id": 2787, + "id": 2279, "isConstant": false, "isLValue": false, "isPure": false, @@ -27913,51 +27913,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51068:50:1", + "src": "52515:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2788, + "functionReturnParameters": 2222, + "id": 2280, "nodeType": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ] }, "documentation": { - "id": 2723, + "id": 2215, "nodeType": "StructuredDocumentation", - "src": "50289:55:1", + "src": "51718:57:0", "text": " @dev See {IERC721Metadata-tokenURI}." }, "functionSelector": "c87b56dd", - "id": 2790, + "id": 2282, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "overrides": { - "id": 2727, + "id": 2219, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50404:8:1" + "src": "51836:8:0" }, "parameters": { - "id": 2726, + "id": 2218, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2725, + "id": 2217, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50367:15:1", + "scope": 2282, + "src": "51799:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27965,10 +27965,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2724, + "id": 2216, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "50367:7:1", + "src": "51799:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27977,20 +27977,20 @@ "visibility": "internal" } ], - "src": "50366:17:1" + "src": "51798:17:0" }, "returnParameters": { - "id": 2730, + "id": 2222, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2729, + "id": 2221, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50422:13:1", + "scope": 2282, + "src": "51854:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27998,10 +27998,10 @@ "typeString": "string" }, "typeName": { - "id": 2728, + "id": 2220, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50422:6:1", + "src": "51854:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28010,71 +28010,71 @@ "visibility": "internal" } ], - "src": "50421:15:1" + "src": "51853:15:0" }, - "scope": 3498, - "src": "50349:776:1", + "scope": 2990, + "src": "51781:792:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 2798, + "id": 2290, "nodeType": "Block", - "src": "51420:32:1", + "src": "52875:34:0", "statements": [ { "expression": { - "id": 2796, + "id": 2288, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "51437:8:1", + "referencedDeclaration": 2114, + "src": "52893:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2795, - "id": 2797, + "functionReturnParameters": 2287, + "id": 2289, "nodeType": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ] }, "documentation": { - "id": 2791, + "id": 2283, "nodeType": "StructuredDocumentation", - "src": "51131:221:1", + "src": "52581:225:0", "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, "functionSelector": "6c0360eb", - "id": 2799, + "id": 2291, "implemented": true, "kind": "function", "modifiers": [], "name": "baseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 2792, + "id": 2284, "nodeType": "ParameterList", "parameters": [], - "src": "51373:2:1" + "src": "52828:2:0" }, "returnParameters": { - "id": 2795, + "id": 2287, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2794, + "id": 2286, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2799, - "src": "51405:13:1", + "scope": 2291, + "src": "52860:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -28082,10 +28082,10 @@ "typeString": "string" }, "typeName": { - "id": 2793, + "id": 2285, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51405:6:1", + "src": "52860:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28094,33 +28094,33 @@ "visibility": "internal" } ], - "src": "51404:15:1" + "src": "52859:15:0" }, - "scope": 3498, - "src": "51357:95:1", + "scope": 2990, + "src": "52812:97:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 700 + 192 ], "body": { - "id": 2817, + "id": 2309, "nodeType": "Block", - "src": "51637:54:1", + "src": "53099:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 2814, + "id": 2306, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2804, - "src": "51678:5:1", + "referencedDeclaration": 2296, + "src": "53141:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28136,25 +28136,25 @@ ], "expression": { "baseExpression": { - "id": 2810, + "id": 2302, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "51654:13:1", + "referencedDeclaration": 2092, + "src": "53117:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2812, + "id": 2304, "indexExpression": { - "id": 2811, + "id": 2303, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2802, - "src": "51668:5:1", + "referencedDeclaration": 2294, + "src": "53131:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28165,27 +28165,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "51654:20:1", + "src": "53117:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2813, + "id": 2305, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 1920, - "src": "51654:23:1", + "referencedDeclaration": 1412, + "src": "53117:23:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" } }, - "id": 2815, + "id": 2307, "isConstant": false, "isLValue": false, "isPure": false, @@ -28193,51 +28193,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51654:30:1", + "src": "53117:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2809, - "id": 2816, + "functionReturnParameters": 2301, + "id": 2308, "nodeType": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ] }, "documentation": { - "id": 2800, + "id": 2292, "nodeType": "StructuredDocumentation", - "src": "51458:68:1", + "src": "52917:70:0", "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, "functionSelector": "2f745c59", - "id": 2818, + "id": 2310, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2806, + "id": 2298, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51610:8:1" + "src": "53072:8:0" }, "parameters": { - "id": 2805, + "id": 2297, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2802, + "id": 2294, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51560:13:1", + "scope": 2310, + "src": "53022:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28245,10 +28245,10 @@ "typeString": "address" }, "typeName": { - "id": 2801, + "id": 2293, "name": "address", "nodeType": "ElementaryTypeName", - "src": "51560:7:1", + "src": "53022:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28259,12 +28259,12 @@ }, { "constant": false, - "id": 2804, + "id": 2296, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51575:13:1", + "scope": 2310, + "src": "53037:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28272,10 +28272,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2803, + "id": 2295, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51575:7:1", + "src": "53037:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28284,20 +28284,20 @@ "visibility": "internal" } ], - "src": "51559:30:1" + "src": "53021:30:0" }, "returnParameters": { - "id": 2809, + "id": 2301, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2808, + "id": 2300, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51628:7:1", + "scope": 2310, + "src": "53090:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28305,10 +28305,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2807, + "id": 2299, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51628:7:1", + "src": "53090:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28317,22 +28317,22 @@ "visibility": "internal" } ], - "src": "51627:9:1" + "src": "53089:9:0" }, - "scope": 3498, - "src": "51531:160:1", + "scope": 2990, + "src": "52993:162:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 690 + 182 ], "body": { - "id": 2829, + "id": 2321, "nodeType": "Block", - "src": "51832:138:1", + "src": "53301:141:0", "statements": [ { "expression": { @@ -28340,32 +28340,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2825, + "id": 2317, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "51942:12:1", + "referencedDeclaration": 2094, + "src": "53413:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2826, + "id": 2318, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 2340, - "src": "51942:19:1", + "referencedDeclaration": 1832, + "src": "53413:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" } }, - "id": 2827, + "id": 2319, "isConstant": false, "isLValue": false, "isPure": false, @@ -28373,57 +28373,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51942:21:1", + "src": "53413:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2824, - "id": 2828, + "functionReturnParameters": 2316, + "id": 2320, "nodeType": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ] }, "documentation": { - "id": 2819, + "id": 2311, "nodeType": "StructuredDocumentation", - "src": "51697:60:1", + "src": "53163:62:0", "text": " @dev See {IERC721Enumerable-totalSupply}." }, "functionSelector": "18160ddd", - "id": 2830, + "id": 2322, "implemented": true, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "overrides": { - "id": 2821, + "id": 2313, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51805:8:1" + "src": "53274:8:0" }, "parameters": { - "id": 2820, + "id": 2312, "nodeType": "ParameterList", "parameters": [], - "src": "51782:2:1" + "src": "53251:2:0" }, "returnParameters": { - "id": 2824, + "id": 2316, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2823, + "id": 2315, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2830, - "src": "51823:7:1", + "scope": 2322, + "src": "53292:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28431,10 +28431,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2822, + "id": 2314, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51823:7:1", + "src": "53292:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28443,37 +28443,37 @@ "visibility": "internal" } ], - "src": "51822:9:1" + "src": "53291:9:0" }, - "scope": 3498, - "src": "51762:208:1", + "scope": 2990, + "src": "53231:211:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 708 + 200 ], "body": { - "id": 2848, + "id": 2340, "nodeType": "Block", - "src": "52126:85:1", + "src": "53603:88:0", "statements": [ { "assignments": [ - 2840, + 2332, null ], "declarations": [ { "constant": false, - "id": 2840, + "id": 2332, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2848, - "src": "52137:15:1", + "scope": 2340, + "src": "53615:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28481,10 +28481,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2839, + "id": 2331, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52137:7:1", + "src": "53615:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28494,16 +28494,16 @@ }, null ], - "id": 2845, + "id": 2337, "initialValue": { "arguments": [ { - "id": 2843, + "id": 2335, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2833, - "src": "52174:5:1", + "referencedDeclaration": 2325, + "src": "53652:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28518,32 +28518,32 @@ } ], "expression": { - "id": 2841, + "id": 2333, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "52158:12:1", + "referencedDeclaration": 2094, + "src": "53636:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2842, + "id": 2334, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 2379, - "src": "52158:15:1", + "referencedDeclaration": 1871, + "src": "53636:15:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" } }, - "id": 2844, + "id": 2336, "isConstant": false, "isLValue": false, "isPure": false, @@ -28551,7 +28551,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52158:22:1", + "src": "53636:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_$", @@ -28559,59 +28559,59 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "expression": { - "id": 2846, + "id": 2338, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2840, - "src": "52197:7:1", + "referencedDeclaration": 2332, + "src": "53676:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2838, - "id": 2847, + "functionReturnParameters": 2330, + "id": 2339, "nodeType": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ] }, "documentation": { - "id": 2831, + "id": 2323, "nodeType": "StructuredDocumentation", - "src": "51976:61:1", + "src": "53450:63:0", "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, "functionSelector": "4f6ccce7", - "id": 2849, + "id": 2341, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2835, + "id": 2327, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52099:8:1" + "src": "53576:8:0" }, "parameters": { - "id": 2834, + "id": 2326, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2833, + "id": 2325, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52064:13:1", + "scope": 2341, + "src": "53541:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28619,10 +28619,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2832, + "id": 2324, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52064:7:1", + "src": "53541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28631,20 +28631,20 @@ "visibility": "internal" } ], - "src": "52063:15:1" + "src": "53540:15:0" }, "returnParameters": { - "id": 2838, + "id": 2330, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2837, + "id": 2329, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52117:7:1", + "scope": 2341, + "src": "53594:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28652,10 +28652,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2836, + "id": 2328, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52117:7:1", + "src": "53594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28664,36 +28664,36 @@ "visibility": "internal" } ], - "src": "52116:9:1" + "src": "53593:9:0" }, - "scope": 3498, - "src": "52042:169:1", + "scope": 2990, + "src": "53519:172:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 616 + 108 ], "body": { - "id": 2892, + "id": 2384, "nodeType": "Block", - "src": "52338:325:1", + "src": "53823:334:0", "statements": [ { "assignments": [ - 2859 + 2351 ], "declarations": [ { "constant": false, - "id": 2859, + "id": 2351, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2892, - "src": "52348:13:1", + "scope": 2384, + "src": "53834:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28701,10 +28701,10 @@ "typeString": "address" }, "typeName": { - "id": 2858, + "id": 2350, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52348:7:1", + "src": "53834:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28714,16 +28714,16 @@ "visibility": "internal" } ], - "id": 2864, + "id": 2356, "initialValue": { "arguments": [ { - "id": 2862, + "id": 2354, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52379:7:1", + "referencedDeclaration": 2346, + "src": "53865:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28738,32 +28738,32 @@ } ], "expression": { - "id": 2860, + "id": 2352, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52364:6:1", + "referencedDeclaration": 2990, + "src": "53850:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2861, + "id": 2353, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "52364:14:1", + "referencedDeclaration": 2194, + "src": "53850:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 2863, + "id": 2355, "isConstant": false, "isLValue": false, "isPure": false, @@ -28771,7 +28771,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52364:23:1", + "src": "53850:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -28779,7 +28779,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "expression": { @@ -28789,18 +28789,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2868, + "id": 2360, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2866, + "id": 2358, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52405:2:1", + "referencedDeclaration": 2344, + "src": "53892:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28809,18 +28809,18 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 2867, + "id": 2359, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52411:5:1", + "referencedDeclaration": 2351, + "src": "53898:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52405:11:1", + "src": "53892:11:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28828,14 +28828,14 @@ }, { "hexValue": "4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572", - "id": 2869, + "id": 2361, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52418:35:1", + "src": "53905:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942", "typeString": "literal_string \"ERC721: approval to current owner\"" @@ -28854,7 +28854,7 @@ "typeString": "literal_string \"ERC721: approval to current owner\"" } ], - "id": 2865, + "id": 2357, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -28862,13 +28862,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52397:7:1", + "src": "53884:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2870, + "id": 2362, "isConstant": false, "isLValue": false, "isPure": false, @@ -28876,16 +28876,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52397:57:1", + "src": "53884:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2871, + "id": 2363, "nodeType": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "expression": { @@ -28895,7 +28895,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 2883, + "id": 2375, "isConstant": false, "isLValue": false, "isPure": false, @@ -28905,7 +28905,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2876, + "id": 2368, "isConstant": false, "isLValue": false, "isPure": false, @@ -28914,18 +28914,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2873, + "id": 2365, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52473:10:1", + "referencedDeclaration": 10, + "src": "53962:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2874, + "id": 2366, "isConstant": false, "isLValue": false, "isPure": false, @@ -28933,7 +28933,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52473:12:1", + "src": "53962:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -28943,18 +28943,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 2875, + "id": 2367, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52489:5:1", + "referencedDeclaration": 2351, + "src": "53978:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52473:21:1", + "src": "53962:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28965,12 +28965,12 @@ "rightExpression": { "arguments": [ { - "id": 2879, + "id": 2371, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52522:5:1", + "referencedDeclaration": 2351, + "src": "54011:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28980,18 +28980,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2880, + "id": 2372, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52529:10:1", + "referencedDeclaration": 10, + "src": "54018:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2881, + "id": 2373, "isConstant": false, "isLValue": false, "isPure": false, @@ -28999,7 +28999,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52529:12:1", + "src": "54018:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29019,32 +29019,32 @@ } ], "expression": { - "id": 2877, + "id": 2369, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52498:6:1", + "referencedDeclaration": 2990, + "src": "53987:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2878, + "id": 2370, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "52498:23:1", + "referencedDeclaration": 2458, + "src": "53987:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 2882, + "id": 2374, "isConstant": false, "isLValue": false, "isPure": false, @@ -29052,14 +29052,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52498:44:1", + "src": "53987:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "52473:69:1", + "src": "53962:69:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29067,14 +29067,14 @@ }, { "hexValue": "4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c", - "id": 2884, + "id": 2376, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52556:58:1", + "src": "54046:58:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_6d83cef3e0cb19b8320a9c5feb26b56bbb08f152a8e61b12eca3302d8d68b23d", "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" @@ -29093,7 +29093,7 @@ "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" } ], - "id": 2872, + "id": 2364, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29101,13 +29101,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52465:7:1", + "src": "53954:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2885, + "id": 2377, "isConstant": false, "isLValue": false, "isPure": false, @@ -29115,39 +29115,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52465:159:1", + "src": "53954:161:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2886, + "id": 2378, "nodeType": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "expression": { "arguments": [ { - "id": 2888, + "id": 2380, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52644:2:1", + "referencedDeclaration": 2344, + "src": "54137:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2889, + "id": 2381, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52648:7:1", + "referencedDeclaration": 2346, + "src": "54141:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29165,18 +29165,18 @@ "typeString": "uint256" } ], - "id": 2887, + "id": 2379, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "52635:8:1", + "referencedDeclaration": 2978, + "src": "54128:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 2890, + "id": 2382, "isConstant": false, "isLValue": false, "isPure": false, @@ -29184,50 +29184,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52635:21:1", + "src": "54128:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2891, + "id": 2383, "nodeType": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ] }, "documentation": { - "id": 2850, + "id": 2342, "nodeType": "StructuredDocumentation", - "src": "52217:46:1", + "src": "53699:48:0", "text": " @dev See {IERC721-approve}." }, "functionSelector": "095ea7b3", - "id": 2893, + "id": 2385, "implemented": true, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "overrides": { - "id": 2856, + "id": 2348, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52329:8:1" + "src": "53814:8:0" }, "parameters": { - "id": 2855, + "id": 2347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2852, + "id": 2344, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52285:10:1", + "scope": 2385, + "src": "53770:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29235,10 +29235,10 @@ "typeString": "address" }, "typeName": { - "id": 2851, + "id": 2343, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52285:7:1", + "src": "53770:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29249,12 +29249,12 @@ }, { "constant": false, - "id": 2854, + "id": 2346, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52297:15:1", + "scope": 2385, + "src": "53782:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29262,10 +29262,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2853, + "id": 2345, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52297:7:1", + "src": "53782:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29274,28 +29274,28 @@ "visibility": "internal" } ], - "src": "52284:29:1" + "src": "53769:29:0" }, "returnParameters": { - "id": 2857, + "id": 2349, "nodeType": "ParameterList", "parameters": [], - "src": "52338:0:1" + "src": "53823:0:0" }, - "scope": 3498, - "src": "52268:395:1", + "scope": 2990, + "src": "53753:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 624 + 116 ], "body": { - "id": 2913, + "id": 2405, "nodeType": "Block", - "src": "52809:132:1", + "src": "54308:136:0", "statements": [ { "expression": { @@ -29303,12 +29303,12 @@ { "arguments": [ { - "id": 2904, + "id": 2396, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52835:7:1", + "referencedDeclaration": 2388, + "src": "54335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29322,18 +29322,18 @@ "typeString": "uint256" } ], - "id": 2903, + "id": 2395, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "52827:7:1", + "referencedDeclaration": 2577, + "src": "54327:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2905, + "id": 2397, "isConstant": false, "isLValue": false, "isPure": false, @@ -29341,7 +29341,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52827:16:1", + "src": "54327:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -29350,14 +29350,14 @@ }, { "hexValue": "4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2906, + "id": 2398, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52845:46:1", + "src": "54345:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9291e0f44949204f2e9b40e6be090924979d6047b2365868f4e9f027722eb89d", "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" @@ -29376,7 +29376,7 @@ "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" } ], - "id": 2902, + "id": 2394, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29384,13 +29384,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52819:7:1", + "src": "54319:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2907, + "id": 2399, "isConstant": false, "isLValue": false, "isPure": false, @@ -29398,39 +29398,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52819:73:1", + "src": "54319:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2908, + "id": 2400, "nodeType": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "expression": { "baseExpression": { - "id": 2909, + "id": 2401, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "52910:15:1", + "referencedDeclaration": 2098, + "src": "54412:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 2911, + "id": 2403, "indexExpression": { - "id": 2910, + "id": 2402, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52926:7:1", + "referencedDeclaration": 2388, + "src": "54428:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29441,50 +29441,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "52910:24:1", + "src": "54412:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2901, - "id": 2912, + "functionReturnParameters": 2393, + "id": 2404, "nodeType": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ] }, "documentation": { - "id": 2894, + "id": 2386, "nodeType": "StructuredDocumentation", - "src": "52669:50:1", + "src": "54165:52:0", "text": " @dev See {IERC721-getApproved}." }, "functionSelector": "081812fc", - "id": 2914, + "id": 2406, "implemented": true, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "overrides": { - "id": 2898, + "id": 2390, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52782:8:1" + "src": "54281:8:0" }, "parameters": { - "id": 2897, + "id": 2389, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2896, + "id": 2388, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52745:15:1", + "scope": 2406, + "src": "54244:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29492,10 +29492,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2895, + "id": 2387, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52745:7:1", + "src": "54244:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29504,20 +29504,20 @@ "visibility": "internal" } ], - "src": "52744:17:1" + "src": "54243:17:0" }, "returnParameters": { - "id": 2901, + "id": 2393, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2900, + "id": 2392, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52800:7:1", + "scope": 2406, + "src": "54299:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29525,10 +29525,10 @@ "typeString": "address" }, "typeName": { - "id": 2899, + "id": 2391, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52800:7:1", + "src": "54299:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29538,22 +29538,22 @@ "visibility": "internal" } ], - "src": "52799:9:1" + "src": "54298:9:0" }, - "scope": 3498, - "src": "52724:217:1", + "scope": 2990, + "src": "54223:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 632 + 124 ], "body": { - "id": 2947, + "id": 2439, "nodeType": "Block", - "src": "53092:206:1", + "src": "54600:211:0", "statements": [ { "expression": { @@ -29563,18 +29563,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2927, + "id": 2419, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2924, + "id": 2416, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53110:8:1", + "referencedDeclaration": 2409, + "src": "54619:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29586,18 +29586,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2925, + "id": 2417, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53122:10:1", + "referencedDeclaration": 10, + "src": "54631:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2926, + "id": 2418, "isConstant": false, "isLValue": false, "isPure": false, @@ -29605,14 +29605,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53122:12:1", + "src": "54631:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "53110:24:1", + "src": "54619:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29620,14 +29620,14 @@ }, { "hexValue": "4552433732313a20617070726f766520746f2063616c6c6572", - "id": 2928, + "id": 2420, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53136:27:1", + "src": "54645:27:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05", "typeString": "literal_string \"ERC721: approve to caller\"" @@ -29646,7 +29646,7 @@ "typeString": "literal_string \"ERC721: approve to caller\"" } ], - "id": 2923, + "id": 2415, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29654,13 +29654,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53102:7:1", + "src": "54611:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2929, + "id": 2421, "isConstant": false, "isLValue": false, "isPure": false, @@ -29668,20 +29668,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53102:62:1", + "src": "54611:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2930, + "id": 2422, "nodeType": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "expression": { - "id": 2938, + "id": 2430, "isConstant": false, "isLValue": false, "isPure": false, @@ -29689,34 +29689,34 @@ "leftHandSide": { "baseExpression": { "baseExpression": { - "id": 2931, + "id": 2423, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53175:18:1", + "referencedDeclaration": 2104, + "src": "54686:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2935, + "id": 2427, "indexExpression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2932, + "id": 2424, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53194:10:1", + "referencedDeclaration": 10, + "src": "54705:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2933, + "id": 2425, "isConstant": false, "isLValue": false, "isPure": false, @@ -29724,7 +29724,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53194:12:1", + "src": "54705:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29736,20 +29736,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53175:32:1", + "src": "54686:32:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2936, + "id": 2428, "indexExpression": { - "id": 2934, + "id": 2426, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53208:8:1", + "referencedDeclaration": 2409, + "src": "54719:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29760,7 +29760,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "53175:42:1", + "src": "54686:42:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29769,26 +29769,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2937, + "id": 2429, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53220:8:1", + "referencedDeclaration": 2411, + "src": "54731:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "53175:53:1", + "src": "54686:53:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2939, + "id": 2431, "nodeType": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "eventCall": { @@ -29797,18 +29797,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2941, + "id": 2433, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53258:10:1", + "referencedDeclaration": 10, + "src": "54770:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2942, + "id": 2434, "isConstant": false, "isLValue": false, "isPure": false, @@ -29816,7 +29816,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53258:12:1", + "src": "54770:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29824,24 +29824,24 @@ } }, { - "id": 2943, + "id": 2435, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53272:8:1", + "referencedDeclaration": 2409, + "src": "54784:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2944, + "id": 2436, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53282:8:1", + "referencedDeclaration": 2411, + "src": "54794:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29863,18 +29863,18 @@ "typeString": "bool" } ], - "id": 2940, + "id": 2432, "name": "ApprovalForAll", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 572, - "src": "53243:14:1", + "referencedDeclaration": 64, + "src": "54755:14:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", "typeString": "function (address,address,bool)" } }, - "id": 2945, + "id": 2437, "isConstant": false, "isLValue": false, "isPure": false, @@ -29882,50 +29882,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53243:48:1", + "src": "54755:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2946, + "id": 2438, "nodeType": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ] }, "documentation": { - "id": 2915, + "id": 2407, "nodeType": "StructuredDocumentation", - "src": "52947:56:1", + "src": "54452:58:0", "text": " @dev See {IERC721-setApprovalForAll}." }, "functionSelector": "a22cb465", - "id": 2948, + "id": 2440, "implemented": true, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2921, + "id": 2413, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53083:8:1" + "src": "54591:8:0" }, "parameters": { - "id": 2920, + "id": 2412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2917, + "id": 2409, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53035:16:1", + "scope": 2440, + "src": "54543:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29933,10 +29933,10 @@ "typeString": "address" }, "typeName": { - "id": 2916, + "id": 2408, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53035:7:1", + "src": "54543:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29947,12 +29947,12 @@ }, { "constant": false, - "id": 2919, + "id": 2411, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53053:13:1", + "scope": 2440, + "src": "54561:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29960,10 +29960,10 @@ "typeString": "bool" }, "typeName": { - "id": 2918, + "id": 2410, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53053:4:1", + "src": "54561:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29972,52 +29972,52 @@ "visibility": "internal" } ], - "src": "53034:33:1" + "src": "54542:33:0" }, "returnParameters": { - "id": 2922, + "id": 2414, "nodeType": "ParameterList", "parameters": [], - "src": "53092:0:1" + "src": "54600:0:0" }, - "scope": 3498, - "src": "53008:290:1", + "scope": 2990, + "src": "54516:295:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 642 + 134 ], "body": { - "id": 2965, + "id": 2457, "nodeType": "Block", - "src": "53467:59:1", + "src": "54985:61:0", "statements": [ { "expression": { "baseExpression": { "baseExpression": { - "id": 2959, + "id": 2451, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53484:18:1", + "referencedDeclaration": 2104, + "src": "55003:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2961, + "id": 2453, "indexExpression": { - "id": 2960, + "id": 2452, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2951, - "src": "53503:5:1", + "referencedDeclaration": 2443, + "src": "55022:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30028,20 +30028,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:25:1", + "src": "55003:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2963, + "id": 2455, "indexExpression": { - "id": 2962, + "id": 2454, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2953, - "src": "53510:8:1", + "referencedDeclaration": 2445, + "src": "55029:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30052,50 +30052,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:35:1", + "src": "55003:35:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2958, - "id": 2964, + "functionReturnParameters": 2450, + "id": 2456, "nodeType": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ] }, "documentation": { - "id": 2949, + "id": 2441, "nodeType": "StructuredDocumentation", - "src": "53304:55:1", + "src": "54819:57:0", "text": " @dev See {IERC721-isApprovedForAll}." }, "functionSelector": "e985e9c5", - "id": 2966, + "id": 2458, "implemented": true, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2955, + "id": 2447, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53443:8:1" + "src": "54961:8:0" }, "parameters": { - "id": 2954, + "id": 2446, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2951, + "id": 2443, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53390:13:1", + "scope": 2458, + "src": "54908:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30103,10 +30103,10 @@ "typeString": "address" }, "typeName": { - "id": 2950, + "id": 2442, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53390:7:1", + "src": "54908:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30117,12 +30117,12 @@ }, { "constant": false, - "id": 2953, + "id": 2445, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53405:16:1", + "scope": 2458, + "src": "54923:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30130,10 +30130,10 @@ "typeString": "address" }, "typeName": { - "id": 2952, + "id": 2444, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53405:7:1", + "src": "54923:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30143,20 +30143,20 @@ "visibility": "internal" } ], - "src": "53389:33:1" + "src": "54907:33:0" }, "returnParameters": { - "id": 2958, + "id": 2450, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2957, + "id": 2449, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53461:4:1", + "scope": 2458, + "src": "54979:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30164,10 +30164,10 @@ "typeString": "bool" }, "typeName": { - "id": 2956, + "id": 2448, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53461:4:1", + "src": "54979:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30176,22 +30176,22 @@ "visibility": "internal" } ], - "src": "53460:6:1" + "src": "54978:6:0" }, - "scope": 3498, - "src": "53364:162:1", + "scope": 2990, + "src": "54882:164:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 608 + 100 ], "body": { - "id": 2992, + "id": 2484, "nodeType": "Block", - "src": "53677:211:1", + "src": "55202:216:0", "statements": [ { "expression": { @@ -30202,18 +30202,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2979, + "id": 2471, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53766:10:1", + "referencedDeclaration": 10, + "src": "55293:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2980, + "id": 2472, "isConstant": false, "isLValue": false, "isPure": false, @@ -30221,7 +30221,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53766:12:1", + "src": "55293:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30229,12 +30229,12 @@ } }, { - "id": 2981, + "id": 2473, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53780:7:1", + "referencedDeclaration": 2465, + "src": "55307:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30252,18 +30252,18 @@ "typeString": "uint256" } ], - "id": 2978, + "id": 2470, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "53747:18:1", + "referencedDeclaration": 2619, + "src": "55274:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 2982, + "id": 2474, "isConstant": false, "isLValue": false, "isPure": false, @@ -30271,7 +30271,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53747:41:1", + "src": "55274:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30280,14 +30280,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 2983, + "id": 2475, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53790:51:1", + "src": "55317:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30306,7 +30306,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 2977, + "id": 2469, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30314,13 +30314,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53739:7:1", + "src": "55266:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2984, + "id": 2476, "isConstant": false, "isLValue": false, "isPure": false, @@ -30328,51 +30328,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53739:103:1", + "src": "55266:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2985, + "id": 2477, "nodeType": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "expression": { "arguments": [ { - "id": 2987, + "id": 2479, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2969, - "src": "53863:4:1", + "referencedDeclaration": 2461, + "src": "55392:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2988, + "id": 2480, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2971, - "src": "53869:2:1", + "referencedDeclaration": 2463, + "src": "55398:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2989, + "id": 2481, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53873:7:1", + "referencedDeclaration": 2465, + "src": "55402:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30394,18 +30394,18 @@ "typeString": "uint256" } ], - "id": 2986, + "id": 2478, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "53853:9:1", + "referencedDeclaration": 2863, + "src": "55382:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 2990, + "id": 2482, "isConstant": false, "isLValue": false, "isPure": false, @@ -30413,50 +30413,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53853:28:1", + "src": "55382:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2991, + "id": 2483, "nodeType": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ] }, "documentation": { - "id": 2967, + "id": 2459, "nodeType": "StructuredDocumentation", - "src": "53532:51:1", + "src": "55054:53:0", "text": " @dev See {IERC721-transferFrom}." }, "functionSelector": "23b872dd", - "id": 2993, + "id": 2485, "implemented": true, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 2975, + "id": 2467, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53668:8:1" + "src": "55193:8:0" }, "parameters": { - "id": 2974, + "id": 2466, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2969, + "id": 2461, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53610:12:1", + "scope": 2485, + "src": "55135:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30464,10 +30464,10 @@ "typeString": "address" }, "typeName": { - "id": 2968, + "id": 2460, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53610:7:1", + "src": "55135:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30478,12 +30478,12 @@ }, { "constant": false, - "id": 2971, + "id": 2463, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53624:10:1", + "scope": 2485, + "src": "55149:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30491,10 +30491,10 @@ "typeString": "address" }, "typeName": { - "id": 2970, + "id": 2462, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53624:7:1", + "src": "55149:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30505,12 +30505,12 @@ }, { "constant": false, - "id": 2973, + "id": 2465, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53636:15:1", + "scope": 2485, + "src": "55161:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30518,10 +30518,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2972, + "id": 2464, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "53636:7:1", + "src": "55161:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30530,63 +30530,63 @@ "visibility": "internal" } ], - "src": "53609:43:1" + "src": "55134:43:0" }, "returnParameters": { - "id": 2976, + "id": 2468, "nodeType": "ParameterList", "parameters": [], - "src": "53677:0:1" + "src": "55202:0:0" }, - "scope": 3498, - "src": "53588:300:1", + "scope": 2990, + "src": "55113:305:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 598 + 90 ], "body": { - "id": 3011, + "id": 2503, "nodeType": "Block", - "src": "54047:56:1", + "src": "55582:58:0", "statements": [ { "expression": { "arguments": [ { - "id": 3005, + "id": 2497, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2996, - "src": "54074:4:1", + "referencedDeclaration": 2488, + "src": "55610:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3006, + "id": 2498, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2998, - "src": "54080:2:1", + "referencedDeclaration": 2490, + "src": "55616:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3007, + "id": 2499, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3000, - "src": "54084:7:1", + "referencedDeclaration": 2492, + "src": "55620:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30594,14 +30594,14 @@ }, { "hexValue": "", - "id": 3008, + "id": 2500, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54093:2:1", + "src": "55629:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -30628,21 +30628,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3004, + "id": 2496, "name": "safeTransferFrom", "nodeType": "Identifier", "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, - "src": "54057:16:1", + "referencedDeclaration": 2534, + "src": "55593:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3009, + "id": 2501, "isConstant": false, "isLValue": false, "isPure": false, @@ -30650,50 +30650,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54057:39:1", + "src": "55593:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3010, + "id": 2502, "nodeType": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ] }, "documentation": { - "id": 2994, + "id": 2486, "nodeType": "StructuredDocumentation", - "src": "53894:55:1", + "src": "55426:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "42842e0e", - "id": 3012, + "id": 2504, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3002, + "id": 2494, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54038:8:1" + "src": "55573:8:0" }, "parameters": { - "id": 3001, + "id": 2493, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2996, + "id": 2488, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53980:12:1", + "scope": 2504, + "src": "55515:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30701,10 +30701,10 @@ "typeString": "address" }, "typeName": { - "id": 2995, + "id": 2487, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53980:7:1", + "src": "55515:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30715,12 +30715,12 @@ }, { "constant": false, - "id": 2998, + "id": 2490, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53994:10:1", + "scope": 2504, + "src": "55529:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30728,10 +30728,10 @@ "typeString": "address" }, "typeName": { - "id": 2997, + "id": 2489, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53994:7:1", + "src": "55529:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30742,12 +30742,12 @@ }, { "constant": false, - "id": 3000, + "id": 2492, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "54006:15:1", + "scope": 2504, + "src": "55541:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30755,10 +30755,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2999, + "id": 2491, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54006:7:1", + "src": "55541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30767,28 +30767,28 @@ "visibility": "internal" } ], - "src": "53979:43:1" + "src": "55514:43:0" }, "returnParameters": { - "id": 3003, + "id": 2495, "nodeType": "ParameterList", "parameters": [], - "src": "54047:0:1" + "src": "55582:0:0" }, - "scope": 3498, - "src": "53954:149:1", + "scope": 2990, + "src": "55489:151:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 654 + 146 ], "body": { - "id": 3041, + "id": 2533, "nodeType": "Block", - "src": "54282:169:1", + "src": "55824:172:0", "statements": [ { "expression": { @@ -30799,18 +30799,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3027, + "id": 2519, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "54319:10:1", + "referencedDeclaration": 10, + "src": "55862:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3028, + "id": 2520, "isConstant": false, "isLValue": false, "isPure": false, @@ -30818,7 +30818,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54319:12:1", + "src": "55862:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30826,12 +30826,12 @@ } }, { - "id": 3029, + "id": 2521, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54333:7:1", + "referencedDeclaration": 2511, + "src": "55876:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30849,18 +30849,18 @@ "typeString": "uint256" } ], - "id": 3026, + "id": 2518, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "54300:18:1", + "referencedDeclaration": 2619, + "src": "55843:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 3030, + "id": 2522, "isConstant": false, "isLValue": false, "isPure": false, @@ -30868,7 +30868,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54300:41:1", + "src": "55843:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30877,14 +30877,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 3031, + "id": 2523, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54343:51:1", + "src": "55886:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30903,7 +30903,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 3025, + "id": 2517, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30911,13 +30911,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "54292:7:1", + "src": "55835:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3032, + "id": 2524, "isConstant": false, "isLValue": false, "isPure": false, @@ -30925,63 +30925,63 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54292:103:1", + "src": "55835:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3033, + "id": 2525, "nodeType": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "expression": { "arguments": [ { - "id": 3035, + "id": 2527, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3015, - "src": "54419:4:1", + "referencedDeclaration": 2507, + "src": "55963:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3036, + "id": 2528, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3017, - "src": "54425:2:1", + "referencedDeclaration": 2509, + "src": "55969:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3037, + "id": 2529, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54429:7:1", + "referencedDeclaration": 2511, + "src": "55973:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3038, + "id": 2530, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3021, - "src": "54438:5:1", + "referencedDeclaration": 2513, + "src": "55982:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31007,18 +31007,18 @@ "typeString": "bytes memory" } ], - "id": 3034, + "id": 2526, "name": "_safeTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3071, - "src": "54405:13:1", + "referencedDeclaration": 2563, + "src": "55949:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3039, + "id": 2531, "isConstant": false, "isLValue": false, "isPure": false, @@ -31026,50 +31026,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54405:39:1", + "src": "55949:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3040, + "id": 2532, "nodeType": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ] }, "documentation": { - "id": 3013, + "id": 2505, "nodeType": "StructuredDocumentation", - "src": "54109:55:1", + "src": "55648:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "b88d4fde", - "id": 3042, + "id": 2534, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3023, + "id": 2515, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54273:8:1" + "src": "55815:8:0" }, "parameters": { - "id": 3022, + "id": 2514, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3015, + "id": 2507, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54195:12:1", + "scope": 2534, + "src": "55737:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31077,10 +31077,10 @@ "typeString": "address" }, "typeName": { - "id": 3014, + "id": 2506, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54195:7:1", + "src": "55737:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31091,12 +31091,12 @@ }, { "constant": false, - "id": 3017, + "id": 2509, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54209:10:1", + "scope": 2534, + "src": "55751:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31104,10 +31104,10 @@ "typeString": "address" }, "typeName": { - "id": 3016, + "id": 2508, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54209:7:1", + "src": "55751:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31118,12 +31118,12 @@ }, { "constant": false, - "id": 3019, + "id": 2511, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54221:15:1", + "scope": 2534, + "src": "55763:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31131,10 +31131,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3018, + "id": 2510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54221:7:1", + "src": "55763:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31144,12 +31144,12 @@ }, { "constant": false, - "id": 3021, + "id": 2513, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54238:18:1", + "scope": 2534, + "src": "55780:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31157,10 +31157,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3020, + "id": 2512, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "54238:5:1", + "src": "55780:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31169,60 +31169,60 @@ "visibility": "internal" } ], - "src": "54194:63:1" + "src": "55736:63:0" }, "returnParameters": { - "id": 3024, + "id": 2516, "nodeType": "ParameterList", "parameters": [], - "src": "54282:0:1" + "src": "55824:0:0" }, - "scope": 3498, - "src": "54169:282:1", + "scope": 2990, + "src": "55711:285:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "body": { - "id": 3070, + "id": 2562, "nodeType": "Block", - "src": "55416:166:1", + "src": "56981:169:0", "statements": [ { "expression": { "arguments": [ { - "id": 3055, + "id": 2547, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55436:4:1", + "referencedDeclaration": 2537, + "src": "57002:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3056, + "id": 2548, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55442:2:1", + "referencedDeclaration": 2539, + "src": "57008:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3057, + "id": 2549, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55446:7:1", + "referencedDeclaration": 2541, + "src": "57012:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31244,18 +31244,18 @@ "typeString": "uint256" } ], - "id": 3054, + "id": 2546, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "55426:9:1", + "referencedDeclaration": 2863, + "src": "56992:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3058, + "id": 2550, "isConstant": false, "isLValue": false, "isPure": false, @@ -31263,16 +31263,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55426:28:1", + "src": "56992:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3059, + "id": 2551, "nodeType": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "expression": { @@ -31280,48 +31280,48 @@ { "arguments": [ { - "id": 3062, + "id": 2554, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55495:4:1", + "referencedDeclaration": 2537, + "src": "57062:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3063, + "id": 2555, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55501:2:1", + "referencedDeclaration": 2539, + "src": "57068:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3064, + "id": 2556, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55505:7:1", + "referencedDeclaration": 2541, + "src": "57072:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3065, + "id": 2557, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3051, - "src": "55514:5:1", + "referencedDeclaration": 2543, + "src": "57081:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31347,18 +31347,18 @@ "typeString": "bytes memory" } ], - "id": 3061, + "id": 2553, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "55472:22:1", + "referencedDeclaration": 2954, + "src": "57039:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3066, + "id": 2558, "isConstant": false, "isLValue": false, "isPure": false, @@ -31366,7 +31366,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55472:48:1", + "src": "57039:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31375,14 +31375,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3067, + "id": 2559, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "55522:52:1", + "src": "57089:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -31401,7 +31401,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3060, + "id": 2552, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31409,13 +31409,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "55464:7:1", + "src": "57031:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3068, + "id": 2560, "isConstant": false, "isLValue": false, "isPure": false, @@ -31423,43 +31423,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55464:111:1", + "src": "57031:111:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3069, + "id": 2561, "nodeType": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ] }, "documentation": { - "id": 3043, + "id": 2535, "nodeType": "StructuredDocumentation", - "src": "54457:851:1", + "src": "56004:868:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3071, + "id": 2563, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3052, + "id": 2544, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3045, + "id": 2537, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55336:12:1", + "scope": 2563, + "src": "56901:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31467,10 +31467,10 @@ "typeString": "address" }, "typeName": { - "id": 3044, + "id": 2536, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55336:7:1", + "src": "56901:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31481,12 +31481,12 @@ }, { "constant": false, - "id": 3047, + "id": 2539, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55350:10:1", + "scope": 2563, + "src": "56915:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31494,10 +31494,10 @@ "typeString": "address" }, "typeName": { - "id": 3046, + "id": 2538, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55350:7:1", + "src": "56915:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31508,12 +31508,12 @@ }, { "constant": false, - "id": 3049, + "id": 2541, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55362:15:1", + "scope": 2563, + "src": "56927:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31521,10 +31521,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3048, + "id": 2540, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55362:7:1", + "src": "56927:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31534,12 +31534,12 @@ }, { "constant": false, - "id": 3051, + "id": 2543, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55379:18:1", + "scope": 2563, + "src": "56944:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31547,10 +31547,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3050, + "id": 2542, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "55379:5:1", + "src": "56944:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31559,36 +31559,36 @@ "visibility": "internal" } ], - "src": "55335:63:1" + "src": "56900:63:0" }, "returnParameters": { - "id": 3053, + "id": 2545, "nodeType": "ParameterList", "parameters": [], - "src": "55416:0:1" + "src": "56981:0:0" }, - "scope": 3498, - "src": "55313:269:1", + "scope": 2990, + "src": "56878:272:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3084, + "id": 2576, "nodeType": "Block", - "src": "55956:54:1", + "src": "57534:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 3081, + "id": 2573, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3074, - "src": "55995:7:1", + "referencedDeclaration": 2566, + "src": "57574:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31603,32 +31603,32 @@ } ], "expression": { - "id": 3079, + "id": 2571, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "55973:12:1", + "referencedDeclaration": 2094, + "src": "57552:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3080, + "id": 2572, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "contains", "nodeType": "MemberAccess", - "referencedDeclaration": 2326, - "src": "55973:21:1", + "referencedDeclaration": 1818, + "src": "57552:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" } }, - "id": 3082, + "id": 2574, "isConstant": false, "isLValue": false, "isPure": false, @@ -31636,44 +31636,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55973:30:1", + "src": "57552:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3078, - "id": 3083, + "functionReturnParameters": 2570, + "id": 2575, "nodeType": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ] }, "documentation": { - "id": 3072, + "id": 2564, "nodeType": "StructuredDocumentation", - "src": "55588:292:1", + "src": "57158:299:0", "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3085, + "id": 2577, "implemented": true, "kind": "function", "modifiers": [], "name": "_exists", "nodeType": "FunctionDefinition", "parameters": { - "id": 3075, + "id": 2567, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3074, + "id": 2566, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55902:15:1", + "scope": 2577, + "src": "57480:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31681,10 +31681,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3073, + "id": 2565, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55902:7:1", + "src": "57480:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31693,20 +31693,20 @@ "visibility": "internal" } ], - "src": "55901:17:1" + "src": "57479:17:0" }, "returnParameters": { - "id": 3078, + "id": 2570, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3077, + "id": 2569, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55950:4:1", + "scope": 2577, + "src": "57528:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31714,10 +31714,10 @@ "typeString": "bool" }, "typeName": { - "id": 3076, + "id": 2568, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "55950:4:1", + "src": "57528:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -31726,19 +31726,19 @@ "visibility": "internal" } ], - "src": "55949:6:1" + "src": "57527:6:0" }, - "scope": 3498, - "src": "55885:125:1", + "scope": 2990, + "src": "57463:127:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3126, + "id": 2618, "nodeType": "Block", - "src": "56267:252:1", + "src": "57856:256:0", "statements": [ { "expression": { @@ -31746,12 +31746,12 @@ { "arguments": [ { - "id": 3097, + "id": 2589, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56293:7:1", + "referencedDeclaration": 2582, + "src": "57883:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31765,18 +31765,18 @@ "typeString": "uint256" } ], - "id": 3096, + "id": 2588, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "56285:7:1", + "referencedDeclaration": 2577, + "src": "57875:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3098, + "id": 2590, "isConstant": false, "isLValue": false, "isPure": false, @@ -31784,7 +31784,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56285:16:1", + "src": "57875:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31793,14 +31793,14 @@ }, { "hexValue": "4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 3099, + "id": 2591, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56303:46:1", + "src": "57893:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5797d1ccb08b83980dd0c07ea40d8f6a64d35fff736a19bdd17522954cb0899c", "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" @@ -31819,7 +31819,7 @@ "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" } ], - "id": 3095, + "id": 2587, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31827,13 +31827,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "56277:7:1", + "src": "57867:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3100, + "id": 2592, "isConstant": false, "isLValue": false, "isPure": false, @@ -31841,30 +31841,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56277:73:1", + "src": "57867:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3101, + "id": 2593, "nodeType": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "assignments": [ - 3103 + 2595 ], "declarations": [ { "constant": false, - "id": 3103, + "id": 2595, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3126, - "src": "56360:13:1", + "scope": 2618, + "src": "57951:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31872,10 +31872,10 @@ "typeString": "address" }, "typeName": { - "id": 3102, + "id": 2594, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56360:7:1", + "src": "57951:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31885,16 +31885,16 @@ "visibility": "internal" } ], - "id": 3108, + "id": 2600, "initialValue": { "arguments": [ { - "id": 3106, + "id": 2598, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56391:7:1", + "referencedDeclaration": 2582, + "src": "57982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31909,32 +31909,32 @@ } ], "expression": { - "id": 3104, + "id": 2596, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56376:6:1", + "referencedDeclaration": 2990, + "src": "57967:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3105, + "id": 2597, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "56376:14:1", + "referencedDeclaration": 2194, + "src": "57967:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3107, + "id": 2599, "isConstant": false, "isLValue": false, "isPure": false, @@ -31942,7 +31942,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56376:23:1", + "src": "57967:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -31950,7 +31950,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "expression": { @@ -31960,7 +31960,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3123, + "id": 2615, "isConstant": false, "isLValue": false, "isPure": false, @@ -31970,7 +31970,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3117, + "id": 2609, "isConstant": false, "isLValue": false, "isPure": false, @@ -31980,18 +31980,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3111, + "id": 2603, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3109, + "id": 2601, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56417:7:1", + "referencedDeclaration": 2580, + "src": "58009:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32000,18 +32000,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3110, + "id": 2602, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56428:5:1", + "referencedDeclaration": 2595, + "src": "58020:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56417:16:1", + "src": "58009:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32024,7 +32024,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3116, + "id": 2608, "isConstant": false, "isLValue": false, "isPure": false, @@ -32032,12 +32032,12 @@ "leftExpression": { "arguments": [ { - "id": 3113, + "id": 2605, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56449:7:1", + "referencedDeclaration": 2582, + "src": "58041:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32051,18 +32051,18 @@ "typeString": "uint256" } ], - "id": 3112, + "id": 2604, "name": "getApproved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "56437:11:1", + "referencedDeclaration": 2406, + "src": "58029:11:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3114, + "id": 2606, "isConstant": false, "isLValue": false, "isPure": false, @@ -32070,7 +32070,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56437:20:1", + "src": "58029:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -32080,24 +32080,24 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3115, + "id": 2607, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56461:7:1", + "referencedDeclaration": 2580, + "src": "58053:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56437:31:1", + "src": "58029:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:51:1", + "src": "58009:51:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32108,24 +32108,24 @@ "rightExpression": { "arguments": [ { - "id": 3120, + "id": 2612, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56496:5:1", + "referencedDeclaration": 2595, + "src": "58088:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3121, + "id": 2613, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56503:7:1", + "referencedDeclaration": 2580, + "src": "58095:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32144,32 +32144,32 @@ } ], "expression": { - "id": 3118, + "id": 2610, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56472:6:1", + "referencedDeclaration": 2990, + "src": "58064:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3119, + "id": 2611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "56472:23:1", + "referencedDeclaration": 2458, + "src": "58064:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 3122, + "id": 2614, "isConstant": false, "isLValue": false, "isPure": false, @@ -32177,64 +32177,64 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56472:39:1", + "src": "58064:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:94:1", + "src": "58009:94:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3124, + "id": 2616, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "56416:96:1", + "src": "58008:96:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3094, - "id": 3125, + "functionReturnParameters": 2586, + "id": 2617, "nodeType": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ] }, "documentation": { - "id": 3086, + "id": 2578, "nodeType": "StructuredDocumentation", - "src": "56016:147:1", + "src": "57598:153:0", "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3127, + "id": 2619, "implemented": true, "kind": "function", "modifiers": [], "name": "_isApprovedOrOwner", "nodeType": "FunctionDefinition", "parameters": { - "id": 3091, + "id": 2583, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3088, + "id": 2580, "mutability": "mutable", "name": "spender", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56196:15:1", + "scope": 2619, + "src": "57785:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32242,10 +32242,10 @@ "typeString": "address" }, "typeName": { - "id": 3087, + "id": 2579, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56196:7:1", + "src": "57785:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32256,12 +32256,12 @@ }, { "constant": false, - "id": 3090, + "id": 2582, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56213:15:1", + "scope": 2619, + "src": "57802:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32269,10 +32269,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3089, + "id": 2581, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56213:7:1", + "src": "57802:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32281,20 +32281,20 @@ "visibility": "internal" } ], - "src": "56195:34:1" + "src": "57784:34:0" }, "returnParameters": { - "id": 3094, + "id": 2586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3093, + "id": 2585, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56261:4:1", + "scope": 2619, + "src": "57850:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32302,10 +32302,10 @@ "typeString": "bool" }, "typeName": { - "id": 3092, + "id": 2584, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "56261:4:1", + "src": "57850:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32314,42 +32314,42 @@ "visibility": "internal" } ], - "src": "56260:6:1" + "src": "57849:6:0" }, - "scope": 3498, - "src": "56168:351:1", + "scope": 2990, + "src": "57757:355:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3141, + "id": 2633, "nodeType": "Block", - "src": "56915:43:1", + "src": "58520:45:0", "statements": [ { "expression": { "arguments": [ { - "id": 3136, + "id": 2628, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3130, - "src": "56935:2:1", + "referencedDeclaration": 2622, + "src": "58541:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3137, + "id": 2629, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3132, - "src": "56939:7:1", + "referencedDeclaration": 2624, + "src": "58545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32357,14 +32357,14 @@ }, { "hexValue": "", - "id": 3138, + "id": 2630, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56948:2:1", + "src": "58554:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -32387,21 +32387,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3135, + "id": 2627, "name": "_safeMint", "nodeType": "Identifier", "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, - "src": "56925:9:1", + "referencedDeclaration": 2663, + "src": "58531:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,uint256,bytes memory)" } }, - "id": 3139, + "id": 2631, "isConstant": false, "isLValue": false, "isPure": false, @@ -32409,43 +32409,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56925:26:1", + "src": "58531:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3140, + "id": 2632, "nodeType": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ] }, "documentation": { - "id": 3128, + "id": 2620, "nodeType": "StructuredDocumentation", - "src": "56525:320:1", + "src": "58120:329:0", "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3142, + "id": 2634, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3133, + "id": 2625, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3130, + "id": 2622, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56869:10:1", + "scope": 2634, + "src": "58474:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32453,10 +32453,10 @@ "typeString": "address" }, "typeName": { - "id": 3129, + "id": 2621, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56869:7:1", + "src": "58474:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32467,12 +32467,12 @@ }, { "constant": false, - "id": 3132, + "id": 2624, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56881:15:1", + "scope": 2634, + "src": "58486:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32480,10 +32480,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3131, + "id": 2623, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56881:7:1", + "src": "58486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32492,48 +32492,48 @@ "visibility": "internal" } ], - "src": "56868:29:1" + "src": "58473:29:0" }, "returnParameters": { - "id": 3134, + "id": 2626, "nodeType": "ParameterList", "parameters": [], - "src": "56915:0:1" + "src": "58520:0:0" }, - "scope": 3498, - "src": "56850:108:1", + "scope": 2990, + "src": "58455:110:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3170, + "id": 2662, "nodeType": "Block", - "src": "57264:162:1", + "src": "58877:165:0", "statements": [ { "expression": { "arguments": [ { - "id": 3153, + "id": 2645, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57280:2:1", + "referencedDeclaration": 2637, + "src": "58894:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3154, + "id": 2646, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57284:7:1", + "referencedDeclaration": 2639, + "src": "58898:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32551,18 +32551,18 @@ "typeString": "uint256" } ], - "id": 3152, + "id": 2644, "name": "_mint", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3230, - "src": "57274:5:1", + "referencedDeclaration": 2722, + "src": "58888:5:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3155, + "id": 2647, "isConstant": false, "isLValue": false, "isPure": false, @@ -32570,16 +32570,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57274:18:1", + "src": "58888:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3156, + "id": 2648, "nodeType": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "expression": { @@ -32590,14 +32590,14 @@ "arguments": [ { "hexValue": "30", - "id": 3161, + "id": 2653, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57341:1:1", + "src": "58956:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -32612,26 +32612,26 @@ "typeString": "int_const 0" } ], - "id": 3160, + "id": 2652, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3159, + "id": 2651, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": {} } }, - "id": 3162, + "id": 2654, "isConstant": false, "isLValue": false, "isPure": true, @@ -32639,7 +32639,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57333:10:1", + "src": "58948:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -32647,36 +32647,36 @@ } }, { - "id": 3163, + "id": 2655, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57345:2:1", + "referencedDeclaration": 2637, + "src": "58960:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3164, + "id": 2656, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57349:7:1", + "referencedDeclaration": 2639, + "src": "58964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3165, + "id": 2657, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3149, - "src": "57358:5:1", + "referencedDeclaration": 2641, + "src": "58973:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -32702,18 +32702,18 @@ "typeString": "bytes memory" } ], - "id": 3158, + "id": 2650, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "57310:22:1", + "referencedDeclaration": 2954, + "src": "58925:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3166, + "id": 2658, "isConstant": false, "isLValue": false, "isPure": false, @@ -32721,7 +32721,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57310:54:1", + "src": "58925:54:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -32730,14 +32730,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3167, + "id": 2659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57366:52:1", + "src": "58981:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -32756,7 +32756,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3157, + "id": 2649, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -32764,13 +32764,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57302:7:1", + "src": "58917:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3168, + "id": 2660, "isConstant": false, "isLValue": false, "isPure": false, @@ -32778,43 +32778,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57302:117:1", + "src": "58917:117:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3169, + "id": 2661, "nodeType": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ] }, "documentation": { - "id": 3143, + "id": 2635, "nodeType": "StructuredDocumentation", - "src": "56964:210:1", + "src": "58573:213:0", "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3171, + "id": 2663, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3150, + "id": 2642, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3145, + "id": 2637, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57198:10:1", + "scope": 2663, + "src": "58811:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32822,10 +32822,10 @@ "typeString": "address" }, "typeName": { - "id": 3144, + "id": 2636, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57198:7:1", + "src": "58811:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32836,12 +32836,12 @@ }, { "constant": false, - "id": 3147, + "id": 2639, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57210:15:1", + "scope": 2663, + "src": "58823:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32849,10 +32849,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3146, + "id": 2638, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57210:7:1", + "src": "58823:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32862,12 +32862,12 @@ }, { "constant": false, - "id": 3149, + "id": 2641, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57227:18:1", + "scope": 2663, + "src": "58840:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -32875,10 +32875,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3148, + "id": 2640, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "57227:5:1", + "src": "58840:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -32887,25 +32887,25 @@ "visibility": "internal" } ], - "src": "57197:49:1" + "src": "58810:49:0" }, "returnParameters": { - "id": 3151, + "id": 2643, "nodeType": "ParameterList", "parameters": [], - "src": "57264:0:1" + "src": "58877:0:0" }, - "scope": 3498, - "src": "57179:247:1", + "scope": 2990, + "src": "58792:250:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3229, + "id": 2721, "nodeType": "Block", - "src": "57809:332:1", + "src": "59439:343:0", "statements": [ { "expression": { @@ -32915,18 +32915,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3185, + "id": 2677, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3180, + "id": 2672, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57827:2:1", + "referencedDeclaration": 2666, + "src": "59458:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32938,14 +32938,14 @@ "arguments": [ { "hexValue": "30", - "id": 3183, + "id": 2675, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57841:1:1", + "src": "59472:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -32960,26 +32960,26 @@ "typeString": "int_const 0" } ], - "id": 3182, + "id": 2674, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3181, + "id": 2673, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": {} } }, - "id": 3184, + "id": 2676, "isConstant": false, "isLValue": false, "isPure": true, @@ -32987,14 +32987,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57833:10:1", + "src": "59464:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "57827:16:1", + "src": "59458:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -33002,14 +33002,14 @@ }, { "hexValue": "4552433732313a206d696e7420746f20746865207a65726f2061646472657373", - "id": 3186, + "id": 2678, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57845:34:1", + "src": "59476:34:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6", "typeString": "literal_string \"ERC721: mint to the zero address\"" @@ -33028,7 +33028,7 @@ "typeString": "literal_string \"ERC721: mint to the zero address\"" } ], - "id": 3179, + "id": 2671, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33036,13 +33036,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57819:7:1", + "src": "59450:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3187, + "id": 2679, "isConstant": false, "isLValue": false, "isPure": false, @@ -33050,22 +33050,22 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57819:61:1", + "src": "59450:61:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3188, + "id": 2680, "nodeType": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "expression": { "arguments": [ { - "id": 3193, + "id": 2685, "isConstant": false, "isLValue": false, "isPure": false, @@ -33073,16 +33073,16 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "57898:17:1", + "src": "59530:17:0", "subExpression": { "arguments": [ { - "id": 3191, + "id": 2683, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57907:7:1", + "referencedDeclaration": 2668, + "src": "59539:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33096,18 +33096,18 @@ "typeString": "uint256" } ], - "id": 3190, + "id": 2682, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "57899:7:1", + "referencedDeclaration": 2577, + "src": "59531:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3192, + "id": 2684, "isConstant": false, "isLValue": false, "isPure": false, @@ -33115,7 +33115,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57899:16:1", + "src": "59531:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -33129,14 +33129,14 @@ }, { "hexValue": "4552433732313a20746f6b656e20616c7265616479206d696e746564", - "id": 3194, + "id": 2686, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57917:30:1", + "src": "59549:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57", "typeString": "literal_string \"ERC721: token already minted\"" @@ -33155,7 +33155,7 @@ "typeString": "literal_string \"ERC721: token already minted\"" } ], - "id": 3189, + "id": 2681, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33163,13 +33163,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57890:7:1", + "src": "59522:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3195, + "id": 2687, "isConstant": false, "isLValue": false, "isPure": false, @@ -33177,16 +33177,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57890:58:1", + "src": "59522:58:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3196, + "id": 2688, "nodeType": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "expression": { @@ -33195,14 +33195,14 @@ "arguments": [ { "hexValue": "30", - "id": 3200, + "id": 2692, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57988:1:1", + "src": "59622:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33217,26 +33217,26 @@ "typeString": "int_const 0" } ], - "id": 3199, + "id": 2691, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3198, + "id": 2690, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": {} } }, - "id": 3201, + "id": 2693, "isConstant": false, "isLValue": false, "isPure": true, @@ -33244,7 +33244,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57980:10:1", + "src": "59614:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33252,24 +33252,24 @@ } }, { - "id": 3202, + "id": 2694, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57992:2:1", + "referencedDeclaration": 2666, + "src": "59626:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3203, + "id": 2695, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57996:7:1", + "referencedDeclaration": 2668, + "src": "59630:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33291,18 +33291,18 @@ "typeString": "uint256" } ], - "id": 3197, + "id": 2689, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "57959:20:1", + "referencedDeclaration": 2989, + "src": "59593:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3204, + "id": 2696, "isConstant": false, "isLValue": false, "isPure": false, @@ -33310,27 +33310,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57959:45:1", + "src": "59593:45:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3205, + "id": 2697, "nodeType": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "expression": { "arguments": [ { - "id": 3210, + "id": 2702, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58037:7:1", + "referencedDeclaration": 2668, + "src": "59673:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33346,25 +33346,25 @@ ], "expression": { "baseExpression": { - "id": 3206, + "id": 2698, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58015:13:1", + "referencedDeclaration": 2092, + "src": "59651:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3208, + "id": 2700, "indexExpression": { - "id": 3207, + "id": 2699, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58029:2:1", + "referencedDeclaration": 2666, + "src": "59665:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33375,27 +33375,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58015:17:1", + "src": "59651:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3209, + "id": 2701, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "58015:21:1", + "referencedDeclaration": 1338, + "src": "59651:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3211, + "id": 2703, "isConstant": false, "isLValue": false, "isPure": false, @@ -33403,39 +33403,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58015:30:1", + "src": "59651:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3212, + "id": 2704, "nodeType": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "expression": { "arguments": [ { - "id": 3216, + "id": 2708, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58073:7:1", + "referencedDeclaration": 2668, + "src": "59711:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3217, + "id": 2709, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58082:2:1", + "referencedDeclaration": 2666, + "src": "59720:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33454,32 +33454,32 @@ } ], "expression": { - "id": 3213, + "id": 2705, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58056:12:1", + "referencedDeclaration": 2094, + "src": "59694:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3215, + "id": 2707, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "58056:16:1", + "referencedDeclaration": 1778, + "src": "59694:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3218, + "id": 2710, "isConstant": false, "isLValue": false, "isPure": false, @@ -33487,16 +33487,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58056:29:1", + "src": "59694:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3219, + "id": 2711, "nodeType": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "eventCall": { @@ -33505,14 +33505,14 @@ "arguments": [ { "hexValue": "30", - "id": 3223, + "id": 2715, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58118:1:1", + "src": "59758:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33527,26 +33527,26 @@ "typeString": "int_const 0" } ], - "id": 3222, + "id": 2714, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3221, + "id": 2713, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": {} } }, - "id": 3224, + "id": 2716, "isConstant": false, "isLValue": false, "isPure": true, @@ -33554,7 +33554,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58110:10:1", + "src": "59750:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33562,24 +33562,24 @@ } }, { - "id": 3225, + "id": 2717, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58122:2:1", + "referencedDeclaration": 2666, + "src": "59762:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3226, + "id": 2718, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58126:7:1", + "referencedDeclaration": 2668, + "src": "59766:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33601,18 +33601,18 @@ "typeString": "uint256" } ], - "id": 3220, + "id": 2712, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58101:8:1", + "referencedDeclaration": 46, + "src": "59741:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3227, + "id": 2719, "isConstant": false, "isLValue": false, "isPure": false, @@ -33620,43 +33620,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58101:33:1", + "src": "59741:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3228, + "id": 2720, "nodeType": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ] }, "documentation": { - "id": 3172, + "id": 2664, "nodeType": "StructuredDocumentation", - "src": "57432:311:1", + "src": "59050:322:0", "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3230, + "id": 2722, "implemented": true, "kind": "function", "modifiers": [], "name": "_mint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3177, + "id": 2669, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3174, + "id": 2666, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57763:10:1", + "scope": 2722, + "src": "59393:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33664,10 +33664,10 @@ "typeString": "address" }, "typeName": { - "id": 3173, + "id": 2665, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57763:7:1", + "src": "59393:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33678,12 +33678,12 @@ }, { "constant": false, - "id": 3176, + "id": 2668, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57775:15:1", + "scope": 2722, + "src": "59405:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33691,10 +33691,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3175, + "id": 2667, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57775:7:1", + "src": "59405:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33703,39 +33703,39 @@ "visibility": "internal" } ], - "src": "57762:29:1" + "src": "59392:29:0" }, "returnParameters": { - "id": 3178, + "id": 2670, "nodeType": "ParameterList", "parameters": [], - "src": "57809:0:1" + "src": "59439:0:0" }, - "scope": 3498, - "src": "57748:393:1", + "scope": 2990, + "src": "59378:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3298, + "id": 2790, "nodeType": "Block", - "src": "58407:478:1", + "src": "60060:496:0", "statements": [ { "assignments": [ - 3237 + 2729 ], "declarations": [ { "constant": false, - "id": 3237, + "id": 2729, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3298, - "src": "58417:13:1", + "scope": 2790, + "src": "60071:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33743,10 +33743,10 @@ "typeString": "address" }, "typeName": { - "id": 3236, + "id": 2728, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58417:7:1", + "src": "60071:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33756,16 +33756,16 @@ "visibility": "internal" } ], - "id": 3242, + "id": 2734, "initialValue": { "arguments": [ { - "id": 3240, + "id": 2732, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58448:7:1", + "referencedDeclaration": 2725, + "src": "60102:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33780,32 +33780,32 @@ } ], "expression": { - "id": 3238, + "id": 2730, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "58433:6:1", + "referencedDeclaration": 2990, + "src": "60087:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3239, + "id": 2731, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "58433:14:1", + "referencedDeclaration": 2194, + "src": "60087:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3241, + "id": 2733, "isConstant": false, "isLValue": false, "isPure": false, @@ -33813,7 +33813,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58433:23:1", + "src": "60087:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -33821,18 +33821,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "expression": { "arguments": [ { - "id": 3244, + "id": 2736, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58506:5:1", + "referencedDeclaration": 2729, + "src": "60162:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33842,14 +33842,14 @@ "arguments": [ { "hexValue": "30", - "id": 3247, + "id": 2739, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58521:1:1", + "src": "60177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33864,26 +33864,26 @@ "typeString": "int_const 0" } ], - "id": 3246, + "id": 2738, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3245, + "id": 2737, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": {} } }, - "id": 3248, + "id": 2740, "isConstant": false, "isLValue": false, "isPure": true, @@ -33891,7 +33891,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58513:10:1", + "src": "60169:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33899,12 +33899,12 @@ } }, { - "id": 3249, + "id": 2741, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58525:7:1", + "referencedDeclaration": 2725, + "src": "60181:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33926,18 +33926,18 @@ "typeString": "uint256" } ], - "id": 3243, + "id": 2735, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "58485:20:1", + "referencedDeclaration": 2989, + "src": "60141:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3250, + "id": 2742, "isConstant": false, "isLValue": false, "isPure": false, @@ -33945,16 +33945,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58485:48:1", + "src": "60141:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3251, + "id": 2743, "nodeType": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "expression": { @@ -33963,14 +33963,14 @@ "arguments": [ { "hexValue": "30", - "id": 3255, + "id": 2747, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58588:1:1", + "src": "60247:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33985,26 +33985,26 @@ "typeString": "int_const 0" } ], - "id": 3254, + "id": 2746, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3253, + "id": 2745, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": {} } }, - "id": 3256, + "id": 2748, "isConstant": false, "isLValue": false, "isPure": true, @@ -34012,7 +34012,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58580:10:1", + "src": "60239:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34020,12 +34020,12 @@ } }, { - "id": 3257, + "id": 2749, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58592:7:1", + "referencedDeclaration": 2725, + "src": "60251:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34043,18 +34043,18 @@ "typeString": "uint256" } ], - "id": 3252, + "id": 2744, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "58571:8:1", + "referencedDeclaration": 2978, + "src": "60230:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3258, + "id": 2750, "isConstant": false, "isLValue": false, "isPure": false, @@ -34062,16 +34062,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58571:29:1", + "src": "60230:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3259, + "id": 2751, "nodeType": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "condition": { @@ -34079,7 +34079,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3268, + "id": 2760, "isConstant": false, "isLValue": false, "isPure": false, @@ -34089,25 +34089,25 @@ "arguments": [ { "baseExpression": { - "id": 3262, + "id": 2754, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58656:10:1", + "referencedDeclaration": 2112, + "src": "60318:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3264, + "id": 2756, "indexExpression": { - "id": 3263, + "id": 2755, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58667:7:1", + "referencedDeclaration": 2725, + "src": "60329:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34118,7 +34118,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58656:19:1", + "src": "60318:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34132,26 +34132,26 @@ "typeString": "string storage ref" } ], - "id": 3261, + "id": 2753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 3260, + "id": 2752, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": {} } }, - "id": 3265, + "id": 2757, "isConstant": false, "isLValue": false, "isPure": false, @@ -34159,21 +34159,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58650:26:1", + "src": "60312:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes storage pointer" } }, - "id": 3266, + "id": 2758, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "58650:33:1", + "src": "60312:33:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34183,37 +34183,37 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 3267, + "id": 2759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58687:1:1", + "src": "60349:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "58650:38:1", + "src": "60312:38:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3275, + "id": 2767, "nodeType": "IfStatement", - "src": "58646:95:1", + "src": "60308:97:0", "trueBody": { - "id": 3274, + "id": 2766, "nodeType": "Block", - "src": "58690:51:1", + "src": "60352:53:0", "statements": [ { "expression": { - "id": 3272, + "id": 2764, "isConstant": false, "isLValue": false, "isPure": false, @@ -34221,28 +34221,28 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "58704:26:1", + "src": "60367:26:0", "subExpression": { "baseExpression": { - "id": 3269, + "id": 2761, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58711:10:1", + "referencedDeclaration": 2112, + "src": "60374:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3271, + "id": 2763, "indexExpression": { - "id": 3270, + "id": 2762, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58722:7:1", + "referencedDeclaration": 2725, + "src": "60385:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34253,7 +34253,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "58711:19:1", + "src": "60374:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34264,9 +34264,9 @@ "typeString": "tuple()" } }, - "id": 3273, + "id": 2765, "nodeType": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ] } @@ -34275,12 +34275,12 @@ "expression": { "arguments": [ { - "id": 3280, + "id": 2772, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58779:7:1", + "referencedDeclaration": 2725, + "src": "60445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34296,25 +34296,25 @@ ], "expression": { "baseExpression": { - "id": 3276, + "id": 2768, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58751:13:1", + "referencedDeclaration": 2092, + "src": "60417:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3278, + "id": 2770, "indexExpression": { - "id": 3277, + "id": 2769, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58765:5:1", + "referencedDeclaration": 2729, + "src": "60431:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34325,27 +34325,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58751:20:1", + "src": "60417:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3279, + "id": 2771, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "58751:27:1", + "referencedDeclaration": 1358, + "src": "60417:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3281, + "id": 2773, "isConstant": false, "isLValue": false, "isPure": false, @@ -34353,27 +34353,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58751:36:1", + "src": "60417:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3282, + "id": 2774, "nodeType": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "expression": { "arguments": [ { - "id": 3286, + "id": 2778, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58818:7:1", + "referencedDeclaration": 2725, + "src": "60486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34388,32 +34388,32 @@ } ], "expression": { - "id": 3283, + "id": 2775, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58798:12:1", + "referencedDeclaration": 2094, + "src": "60466:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3285, + "id": 2777, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 2306, - "src": "58798:19:1", + "referencedDeclaration": 1798, + "src": "60466:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" } }, - "id": 3287, + "id": 2779, "isConstant": false, "isLValue": false, "isPure": false, @@ -34421,27 +34421,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58798:28:1", + "src": "60466:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3288, + "id": 2780, "nodeType": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "eventCall": { "arguments": [ { - "id": 3290, + "id": 2782, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58851:5:1", + "referencedDeclaration": 2729, + "src": "60521:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34451,14 +34451,14 @@ "arguments": [ { "hexValue": "30", - "id": 3293, + "id": 2785, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58866:1:1", + "src": "60536:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34473,26 +34473,26 @@ "typeString": "int_const 0" } ], - "id": 3292, + "id": 2784, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3291, + "id": 2783, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": {} } }, - "id": 3294, + "id": 2786, "isConstant": false, "isLValue": false, "isPure": true, @@ -34500,7 +34500,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58858:10:1", + "src": "60528:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34508,12 +34508,12 @@ } }, { - "id": 3295, + "id": 2787, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58870:7:1", + "referencedDeclaration": 2725, + "src": "60540:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34535,18 +34535,18 @@ "typeString": "uint256" } ], - "id": 3289, + "id": 2781, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58842:8:1", + "referencedDeclaration": 46, + "src": "60512:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3296, + "id": 2788, "isConstant": false, "isLValue": false, "isPure": false, @@ -34554,43 +34554,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58842:36:1", + "src": "60512:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3297, + "id": 2789, "nodeType": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ] }, "documentation": { - "id": 3231, + "id": 2723, "nodeType": "StructuredDocumentation", - "src": "58147:206:1", + "src": "59790:215:0", "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3299, + "id": 2791, "implemented": true, "kind": "function", "modifiers": [], "name": "_burn", "nodeType": "FunctionDefinition", "parameters": { - "id": 3234, + "id": 2726, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3233, + "id": 2725, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3299, - "src": "58373:15:1", + "scope": 2791, + "src": "60026:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34598,10 +34598,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3232, + "id": 2724, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "58373:7:1", + "src": "60026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34610,25 +34610,25 @@ "visibility": "internal" } ], - "src": "58372:17:1" + "src": "60025:17:0" }, "returnParameters": { - "id": 3235, + "id": 2727, "nodeType": "ParameterList", "parameters": [], - "src": "58407:0:1" + "src": "60060:0:0" }, - "scope": 3498, - "src": "58358:527:1", + "scope": 2990, + "src": "60011:545:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3370, + "id": 2862, "nodeType": "Block", - "src": "59288:505:1", + "src": "60972:520:0", "statements": [ { "expression": { @@ -34638,7 +34638,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3315, + "id": 2807, "isConstant": false, "isLValue": false, "isPure": false, @@ -34646,12 +34646,12 @@ "leftExpression": { "arguments": [ { - "id": 3312, + "id": 2804, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59321:7:1", + "referencedDeclaration": 2798, + "src": "61006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34666,32 +34666,32 @@ } ], "expression": { - "id": 3310, + "id": 2802, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "59306:6:1", + "referencedDeclaration": 2990, + "src": "60991:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3311, + "id": 2803, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "59306:14:1", + "referencedDeclaration": 2194, + "src": "60991:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3313, + "id": 2805, "isConstant": false, "isLValue": false, "isPure": false, @@ -34699,7 +34699,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59306:23:1", + "src": "60991:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -34709,18 +34709,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3314, + "id": 2806, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59333:4:1", + "referencedDeclaration": 2794, + "src": "61018:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "59306:31:1", + "src": "60991:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34728,14 +34728,14 @@ }, { "hexValue": "4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e", - "id": 3316, + "id": 2808, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59339:43:1", + "src": "61024:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a01073130a885d6c1c1af6ac75fc3b1c4f9403c235362962bbf528e2bd87d950", "typeString": "literal_string \"ERC721: transfer of token that is not own\"" @@ -34754,7 +34754,7 @@ "typeString": "literal_string \"ERC721: transfer of token that is not own\"" } ], - "id": 3309, + "id": 2801, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -34762,13 +34762,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59298:7:1", + "src": "60983:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3317, + "id": 2809, "isConstant": false, "isLValue": false, "isPure": false, @@ -34776,16 +34776,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59298:85:1", + "src": "60983:85:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3318, + "id": 2810, "nodeType": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "expression": { @@ -34795,18 +34795,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3325, + "id": 2817, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3320, + "id": 2812, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59419:2:1", + "referencedDeclaration": 2796, + "src": "61105:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34818,14 +34818,14 @@ "arguments": [ { "hexValue": "30", - "id": 3323, + "id": 2815, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59433:1:1", + "src": "61119:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34840,26 +34840,26 @@ "typeString": "int_const 0" } ], - "id": 3322, + "id": 2814, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3321, + "id": 2813, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": {} } }, - "id": 3324, + "id": 2816, "isConstant": false, "isLValue": false, "isPure": true, @@ -34867,14 +34867,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59425:10:1", + "src": "61111:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "59419:16:1", + "src": "61105:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34882,14 +34882,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f20746865207a65726f2061646472657373", - "id": 3326, + "id": 2818, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59437:38:1", + "src": "61123:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4", "typeString": "literal_string \"ERC721: transfer to the zero address\"" @@ -34908,7 +34908,7 @@ "typeString": "literal_string \"ERC721: transfer to the zero address\"" } ], - "id": 3319, + "id": 2811, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -34916,13 +34916,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59411:7:1", + "src": "61097:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3327, + "id": 2819, "isConstant": false, "isLValue": false, "isPure": false, @@ -34930,51 +34930,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59411:65:1", + "src": "61097:65:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3328, + "id": 2820, "nodeType": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "expression": { "arguments": [ { - "id": 3330, + "id": 2822, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59508:4:1", + "referencedDeclaration": 2794, + "src": "61196:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3331, + "id": 2823, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59514:2:1", + "referencedDeclaration": 2796, + "src": "61202:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3332, + "id": 2824, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59518:7:1", + "referencedDeclaration": 2798, + "src": "61206:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34996,18 +34996,18 @@ "typeString": "uint256" } ], - "id": 3329, + "id": 2821, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "59487:20:1", + "referencedDeclaration": 2989, + "src": "61175:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3333, + "id": 2825, "isConstant": false, "isLValue": false, "isPure": false, @@ -35015,16 +35015,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59487:39:1", + "src": "61175:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3334, + "id": 2826, "nodeType": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "expression": { @@ -35033,14 +35033,14 @@ "arguments": [ { "hexValue": "30", - "id": 3338, + "id": 2830, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59605:1:1", + "src": "61296:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -35055,26 +35055,26 @@ "typeString": "int_const 0" } ], - "id": 3337, + "id": 2829, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3336, + "id": 2828, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": {} } }, - "id": 3339, + "id": 2831, "isConstant": false, "isLValue": false, "isPure": true, @@ -35082,7 +35082,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59597:10:1", + "src": "61288:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -35090,12 +35090,12 @@ } }, { - "id": 3340, + "id": 2832, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59609:7:1", + "referencedDeclaration": 2798, + "src": "61300:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35113,18 +35113,18 @@ "typeString": "uint256" } ], - "id": 3335, + "id": 2827, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "59588:8:1", + "referencedDeclaration": 2978, + "src": "61279:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3341, + "id": 2833, "isConstant": false, "isLValue": false, "isPure": false, @@ -35132,27 +35132,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59588:29:1", + "src": "61279:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3342, + "id": 2834, "nodeType": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "expression": { "arguments": [ { - "id": 3347, + "id": 2839, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59655:7:1", + "referencedDeclaration": 2798, + "src": "61348:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35168,25 +35168,25 @@ ], "expression": { "baseExpression": { - "id": 3343, + "id": 2835, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59628:13:1", + "referencedDeclaration": 2092, + "src": "61321:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3345, + "id": 2837, "indexExpression": { - "id": 3344, + "id": 2836, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59642:4:1", + "referencedDeclaration": 2794, + "src": "61335:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35197,27 +35197,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59628:19:1", + "src": "61321:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3346, + "id": 2838, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "59628:26:1", + "referencedDeclaration": 1358, + "src": "61321:26:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3348, + "id": 2840, "isConstant": false, "isLValue": false, "isPure": false, @@ -35225,27 +35225,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59628:35:1", + "src": "61321:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3349, + "id": 2841, "nodeType": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "expression": { "arguments": [ { - "id": 3354, + "id": 2846, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59695:7:1", + "referencedDeclaration": 2798, + "src": "61389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35261,25 +35261,25 @@ ], "expression": { "baseExpression": { - "id": 3350, + "id": 2842, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59673:13:1", + "referencedDeclaration": 2092, + "src": "61367:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3352, + "id": 2844, "indexExpression": { - "id": 3351, + "id": 2843, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59687:2:1", + "referencedDeclaration": 2796, + "src": "61381:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35290,27 +35290,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59673:17:1", + "src": "61367:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3353, + "id": 2845, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "59673:21:1", + "referencedDeclaration": 1338, + "src": "61367:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3355, + "id": 2847, "isConstant": false, "isLValue": false, "isPure": false, @@ -35318,39 +35318,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59673:30:1", + "src": "61367:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3356, + "id": 2848, "nodeType": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "expression": { "arguments": [ { - "id": 3360, + "id": 2852, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59731:7:1", + "referencedDeclaration": 2798, + "src": "61427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3361, + "id": 2853, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59740:2:1", + "referencedDeclaration": 2796, + "src": "61436:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35369,32 +35369,32 @@ } ], "expression": { - "id": 3357, + "id": 2849, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "59714:12:1", + "referencedDeclaration": 2094, + "src": "61410:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3359, + "id": 2851, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "59714:16:1", + "referencedDeclaration": 1778, + "src": "61410:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3362, + "id": 2854, "isConstant": false, "isLValue": false, "isPure": false, @@ -35402,51 +35402,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59714:29:1", + "src": "61410:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3363, + "id": 2855, "nodeType": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "eventCall": { "arguments": [ { - "id": 3365, + "id": 2857, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59768:4:1", + "referencedDeclaration": 2794, + "src": "61466:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3366, + "id": 2858, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59774:2:1", + "referencedDeclaration": 2796, + "src": "61472:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3367, + "id": 2859, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59778:7:1", + "referencedDeclaration": 2798, + "src": "61476:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35468,18 +35468,18 @@ "typeString": "uint256" } ], - "id": 3364, + "id": 2856, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "59759:8:1", + "referencedDeclaration": 46, + "src": "61457:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3368, + "id": 2860, "isConstant": false, "isLValue": false, "isPure": false, @@ -35487,43 +35487,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59759:27:1", + "src": "61457:27:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3369, + "id": 2861, "nodeType": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ] }, "documentation": { - "id": 3300, + "id": 2792, "nodeType": "StructuredDocumentation", - "src": "58891:313:1", + "src": "60564:323:0", "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3371, + "id": 2863, "implemented": true, "kind": "function", "modifiers": [], "name": "_transfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3307, + "id": 2799, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3302, + "id": 2794, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59228:12:1", + "scope": 2863, + "src": "60912:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35531,10 +35531,10 @@ "typeString": "address" }, "typeName": { - "id": 3301, + "id": 2793, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59228:7:1", + "src": "60912:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35545,12 +35545,12 @@ }, { "constant": false, - "id": 3304, + "id": 2796, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59242:10:1", + "scope": 2863, + "src": "60926:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35558,10 +35558,10 @@ "typeString": "address" }, "typeName": { - "id": 3303, + "id": 2795, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59242:7:1", + "src": "60926:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35572,12 +35572,12 @@ }, { "constant": false, - "id": 3306, + "id": 2798, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59254:15:1", + "scope": 2863, + "src": "60938:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35585,10 +35585,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3305, + "id": 2797, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59254:7:1", + "src": "60938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35597,25 +35597,25 @@ "visibility": "internal" } ], - "src": "59227:43:1" + "src": "60911:43:0" }, "returnParameters": { - "id": 3308, + "id": 2800, "nodeType": "ParameterList", "parameters": [], - "src": "59288:0:1" + "src": "60972:0:0" }, - "scope": 3498, - "src": "59209:584:1", + "scope": 2990, + "src": "60893:599:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3392, + "id": 2884, "nodeType": "Block", - "src": "60021:131:1", + "src": "61729:134:0", "statements": [ { "expression": { @@ -35623,12 +35623,12 @@ { "arguments": [ { - "id": 3381, + "id": 2873, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60047:7:1", + "referencedDeclaration": 2866, + "src": "61756:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35642,18 +35642,18 @@ "typeString": "uint256" } ], - "id": 3380, + "id": 2872, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "60039:7:1", + "referencedDeclaration": 2577, + "src": "61748:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3382, + "id": 2874, "isConstant": false, "isLValue": false, "isPure": false, @@ -35661,7 +35661,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60039:16:1", + "src": "61748:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -35670,14 +35670,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e", - "id": 3383, + "id": 2875, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "60057:46:1", + "src": "61766:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_94be4a260caaeac1b145f03ffa2e70bc612b64982d04f24073aaf3a5f9009978", "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" @@ -35696,7 +35696,7 @@ "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" } ], - "id": 3379, + "id": 2871, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -35704,13 +35704,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "60031:7:1", + "src": "61740:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3384, + "id": 2876, "isConstant": false, "isLValue": false, "isPure": false, @@ -35718,45 +35718,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60031:73:1", + "src": "61740:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3385, + "id": 2877, "nodeType": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "expression": { - "id": 3390, + "id": 2882, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3386, + "id": 2878, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "60114:10:1", + "referencedDeclaration": 2112, + "src": "61824:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3388, + "id": 2880, "indexExpression": { - "id": 3387, + "id": 2879, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60125:7:1", + "referencedDeclaration": 2866, + "src": "61835:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35767,7 +35767,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "60114:19:1", + "src": "61824:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -35776,53 +35776,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3389, + "id": 2881, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3376, - "src": "60136:9:1", + "referencedDeclaration": 2868, + "src": "61846:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60114:31:1", + "src": "61824:31:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3391, + "id": 2883, "nodeType": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ] }, "documentation": { - "id": 3372, + "id": 2864, "nodeType": "StructuredDocumentation", - "src": "59799:136:1", + "src": "61500:142:0", "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3393, + "id": 2885, "implemented": true, "kind": "function", "modifiers": [], "name": "_setTokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3377, + "id": 2869, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3374, + "id": 2866, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59962:15:1", + "scope": 2885, + "src": "61670:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35830,10 +35830,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3373, + "id": 2865, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59962:7:1", + "src": "61670:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35843,12 +35843,12 @@ }, { "constant": false, - "id": 3376, + "id": 2868, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59979:23:1", + "scope": 2885, + "src": "61687:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -35856,10 +35856,10 @@ "typeString": "string" }, "typeName": { - "id": 3375, + "id": 2867, "name": "string", "nodeType": "ElementaryTypeName", - "src": "59979:6:1", + "src": "61687:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -35868,40 +35868,40 @@ "visibility": "internal" } ], - "src": "59961:42:1" + "src": "61669:42:0" }, "returnParameters": { - "id": 3378, + "id": 2870, "nodeType": "ParameterList", "parameters": [], - "src": "60021:0:1" + "src": "61729:0:0" }, - "scope": 3498, - "src": "59940:212:1", + "scope": 2990, + "src": "61648:215:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3403, + "id": 2895, "nodeType": "Block", - "src": "60437:36:1", + "src": "62155:38:0", "statements": [ { "expression": { - "id": 3401, + "id": 2893, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 3399, + "id": 2891, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "60447:8:1", + "referencedDeclaration": 2114, + "src": "62166:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -35910,53 +35910,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3400, + "id": 2892, "name": "baseURI_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3396, - "src": "60458:8:1", + "referencedDeclaration": 2888, + "src": "62177:8:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60447:19:1", + "src": "62166:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3402, + "id": 2894, "nodeType": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ] }, "documentation": { - "id": 3394, + "id": 2886, "nodeType": "StructuredDocumentation", - "src": "60158:212:1", + "src": "61871:216:0", "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3404, + "id": 2896, "implemented": true, "kind": "function", "modifiers": [], "name": "_setBaseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3397, + "id": 2889, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3396, + "id": 2888, "mutability": "mutable", "name": "baseURI_", "nodeType": "VariableDeclaration", - "scope": 3404, - "src": "60396:22:1", + "scope": 2896, + "src": "62114:22:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -35964,10 +35964,10 @@ "typeString": "string" }, "typeName": { - "id": 3395, + "id": 2887, "name": "string", "nodeType": "ElementaryTypeName", - "src": "60396:6:1", + "src": "62114:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -35976,29 +35976,29 @@ "visibility": "internal" } ], - "src": "60395:24:1" + "src": "62113:24:0" }, "returnParameters": { - "id": 3398, + "id": 2890, "nodeType": "ParameterList", "parameters": [], - "src": "60437:0:1" + "src": "62155:0:0" }, - "scope": 3498, - "src": "60375:98:1", + "scope": 2990, + "src": "62093:100:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3461, + "id": 2953, "nodeType": "Block", - "src": "61156:459:1", + "src": "62890:472:0", "statements": [ { "condition": { - "id": 3421, + "id": 2913, "isConstant": false, "isLValue": false, "isPure": false, @@ -36006,38 +36006,38 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "61170:16:1", + "src": "62905:16:0", "subExpression": { "arguments": [], "expression": { "argumentTypes": [], "expression": { - "id": 3418, + "id": 2910, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61171:2:1", + "referencedDeclaration": 2901, + "src": "62906:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3419, + "id": 2911, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isContract", "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "61171:13:1", + "referencedDeclaration": 646, + "src": "62906:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$", "typeString": "function (address) view returns (bool)" } }, - "id": 3420, + "id": 2912, "isConstant": false, "isLValue": false, "isPure": false, @@ -36045,7 +36045,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61171:15:1", + "src": "62906:15:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -36057,52 +36057,52 @@ "typeString": "bool" } }, - "id": 3425, + "id": 2917, "nodeType": "IfStatement", - "src": "61166:58:1", + "src": "62901:60:0", "trueBody": { - "id": 3424, + "id": 2916, "nodeType": "Block", - "src": "61188:36:1", + "src": "62923:38:0", "statements": [ { "expression": { "hexValue": "74727565", - "id": 3422, + "id": 2914, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "61209:4:1", + "src": "62945:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 3417, - "id": 3423, + "functionReturnParameters": 2909, + "id": 2915, "nodeType": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ] } }, { "assignments": [ - 3427 + 2919 ], "declarations": [ { "constant": false, - "id": 3427, + "id": 2919, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61233:23:1", + "scope": 2953, + "src": "62971:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36110,10 +36110,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3426, + "id": 2918, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61233:5:1", + "src": "62971:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36122,7 +36122,7 @@ "visibility": "internal" } ], - "id": 3445, + "id": 2937, "initialValue": { "arguments": [ { @@ -36132,12 +36132,12 @@ "expression": { "arguments": [ { - "id": 3433, + "id": 2925, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61327:2:1", + "referencedDeclaration": 2901, + "src": "63066:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36151,18 +36151,18 @@ "typeString": "address" } ], - "id": 3432, + "id": 2924, "name": "IERC721Receiver", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 726, - "src": "61311:15:1", + "referencedDeclaration": 218, + "src": "63050:15:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$726_$", + "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$218_$", "typeString": "type(contract IERC721Receiver)" } }, - "id": 3434, + "id": 2926, "isConstant": false, "isLValue": false, "isPure": false, @@ -36170,35 +36170,35 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61311:19:1", + "src": "63050:19:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Receiver_$726", + "typeIdentifier": "t_contract$_IERC721Receiver_$218", "typeString": "contract IERC721Receiver" } }, - "id": 3435, + "id": 2927, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "onERC721Received", "nodeType": "MemberAccess", - "referencedDeclaration": 725, - "src": "61311:36:1", + "referencedDeclaration": 217, + "src": "63050:36:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", "typeString": "function (address,address,uint256,bytes memory) external returns (bytes4)" } }, - "id": 3436, + "id": 2928, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "selector", "nodeType": "MemberAccess", - "src": "61311:45:1", + "src": "63050:45:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36208,18 +36208,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3437, + "id": 2929, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "61370:10:1", + "referencedDeclaration": 10, + "src": "63110:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3438, + "id": 2930, "isConstant": false, "isLValue": false, "isPure": false, @@ -36227,7 +36227,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61370:12:1", + "src": "63110:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -36235,36 +36235,36 @@ } }, { - "id": 3439, + "id": 2931, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3407, - "src": "61396:4:1", + "referencedDeclaration": 2899, + "src": "63137:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3440, + "id": 2932, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3411, - "src": "61414:7:1", + "referencedDeclaration": 2903, + "src": "63156:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3441, + "id": 2933, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3413, - "src": "61435:5:1", + "referencedDeclaration": 2905, + "src": "63178:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36295,31 +36295,31 @@ } ], "expression": { - "id": 3430, + "id": 2922, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61275:3:1", + "src": "63013:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3431, + "id": 2923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodeWithSelector", "nodeType": "MemberAccess", - "src": "61275:22:1", + "src": "63013:22:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bytes4) pure returns (bytes memory)" } }, - "id": 3442, + "id": 2934, "isConstant": false, "isLValue": false, "isPure": false, @@ -36327,7 +36327,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61275:175:1", + "src": "63013:181:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36336,14 +36336,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3443, + "id": 2935, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "61452:52:1", + "src": "63196:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -36363,32 +36363,32 @@ } ], "expression": { - "id": 3428, + "id": 2920, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61259:2:1", + "referencedDeclaration": 2901, + "src": "62997:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3429, + "id": 2921, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "functionCall", "nodeType": "MemberAccess", - "referencedDeclaration": 1225, - "src": "61259:15:1", + "referencedDeclaration": 717, + "src": "62997:15:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$bound_to$_t_address_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 3444, + "id": 2936, "isConstant": false, "isLValue": false, "isPure": false, @@ -36396,7 +36396,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61259:246:1", + "src": "62997:252:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36404,21 +36404,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "assignments": [ - 3447 + 2939 ], "declarations": [ { "constant": false, - "id": 3447, + "id": 2939, "mutability": "mutable", "name": "retval", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61515:13:1", + "scope": 2953, + "src": "63260:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36426,10 +36426,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 3446, + "id": 2938, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61515:6:1", + "src": "63260:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36438,16 +36438,16 @@ "visibility": "internal" } ], - "id": 3455, + "id": 2947, "initialValue": { "arguments": [ { - "id": 3450, + "id": 2942, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3427, - "src": "61542:10:1", + "referencedDeclaration": 2919, + "src": "63287:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36456,34 +36456,34 @@ { "components": [ { - "id": 3452, + "id": 2944, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" }, "typeName": { - "id": 3451, + "id": 2943, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": {} } } ], - "id": 3453, + "id": 2945, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61554:8:1", + "src": "63299:8:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" @@ -36502,31 +36502,31 @@ } ], "expression": { - "id": 3448, + "id": 2940, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61531:3:1", + "src": "63276:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3449, + "id": 2941, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "decode", "nodeType": "MemberAccess", - "src": "61531:10:1", + "src": "63276:10:0", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 3454, + "id": 2946, "isConstant": false, "isLValue": false, "isPure": false, @@ -36534,7 +36534,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61531:32:1", + "src": "63276:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes4", @@ -36542,7 +36542,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "expression": { @@ -36552,18 +36552,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 3458, + "id": 2950, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3456, + "id": 2948, "name": "retval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3447, - "src": "61581:6:1", + "referencedDeclaration": 2939, + "src": "63327:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36572,68 +36572,68 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3457, + "id": 2949, "name": "_ERC721_RECEIVED", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2596, - "src": "61591:16:1", + "referencedDeclaration": 2088, + "src": "63337:16:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "src": "61581:26:1", + "src": "63327:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3459, + "id": 2951, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61580:28:1", + "src": "63326:28:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3417, - "id": 3460, + "functionReturnParameters": 2909, + "id": 2952, "nodeType": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ] }, "documentation": { - "id": 3405, + "id": 2897, "nodeType": "StructuredDocumentation", - "src": "60479:542:1", + "src": "62201:551:0", "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3462, + "id": 2954, "implemented": true, "kind": "function", "modifiers": [], "name": "_checkOnERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 3414, + "id": 2906, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3407, + "id": 2899, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61058:12:1", + "scope": 2954, + "src": "62790:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36641,10 +36641,10 @@ "typeString": "address" }, "typeName": { - "id": 3406, + "id": 2898, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61058:7:1", + "src": "62790:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36655,12 +36655,12 @@ }, { "constant": false, - "id": 3409, + "id": 2901, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61072:10:1", + "scope": 2954, + "src": "62804:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36668,10 +36668,10 @@ "typeString": "address" }, "typeName": { - "id": 3408, + "id": 2900, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61072:7:1", + "src": "62804:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36682,12 +36682,12 @@ }, { "constant": false, - "id": 3411, + "id": 2903, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61084:15:1", + "scope": 2954, + "src": "62816:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36695,10 +36695,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3410, + "id": 2902, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61084:7:1", + "src": "62816:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36708,12 +36708,12 @@ }, { "constant": false, - "id": 3413, + "id": 2905, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61101:18:1", + "scope": 2954, + "src": "62833:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36721,10 +36721,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3412, + "id": 2904, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61101:5:1", + "src": "62833:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36733,20 +36733,20 @@ "visibility": "internal" } ], - "src": "61057:63:1" + "src": "62789:63:0" }, "returnParameters": { - "id": 3417, + "id": 2909, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3416, + "id": 2908, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61146:4:1", + "scope": 2954, + "src": "62879:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36754,10 +36754,10 @@ "typeString": "bool" }, "typeName": { - "id": 3415, + "id": 2907, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "61146:4:1", + "src": "62879:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -36766,48 +36766,48 @@ "visibility": "internal" } ], - "src": "61145:6:1" + "src": "62878:6:0" }, - "scope": 3498, - "src": "61026:589:1", + "scope": 2990, + "src": "62758:604:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 3485, + "id": 2977, "nodeType": "Block", - "src": "61791:125:1", + "src": "63545:128:0", "statements": [ { "expression": { - "id": 3474, + "id": 2966, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3470, + "id": 2962, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "61801:15:1", + "referencedDeclaration": 2098, + "src": "63556:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 3472, + "id": 2964, "indexExpression": { - "id": 3471, + "id": 2963, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61817:7:1", + "referencedDeclaration": 2959, + "src": "63572:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36818,7 +36818,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "61801:24:1", + "src": "63556:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36827,26 +36827,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3473, + "id": 2965, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61828:2:1", + "referencedDeclaration": 2957, + "src": "63583:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "61801:29:1", + "src": "63556:29:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3475, + "id": 2967, "nodeType": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "eventCall": { @@ -36854,12 +36854,12 @@ { "arguments": [ { - "id": 3479, + "id": 2971, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61869:7:1", + "referencedDeclaration": 2959, + "src": "63625:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36874,32 +36874,32 @@ } ], "expression": { - "id": 3477, + "id": 2969, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "61854:6:1", + "referencedDeclaration": 2990, + "src": "63610:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3478, + "id": 2970, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "61854:14:1", + "referencedDeclaration": 2194, + "src": "63610:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3480, + "id": 2972, "isConstant": false, "isLValue": false, "isPure": false, @@ -36907,7 +36907,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61854:23:1", + "src": "63610:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -36915,24 +36915,24 @@ } }, { - "id": 3481, + "id": 2973, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61879:2:1", + "referencedDeclaration": 2957, + "src": "63635:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3482, + "id": 2974, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61883:7:1", + "referencedDeclaration": 2959, + "src": "63639:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36954,18 +36954,18 @@ "typeString": "uint256" } ], - "id": 3476, + "id": 2968, "name": "Approval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 563, - "src": "61845:8:1", + "referencedDeclaration": 55, + "src": "63601:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3483, + "id": 2975, "isConstant": false, "isLValue": false, "isPure": false, @@ -36973,43 +36973,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61845:46:1", + "src": "63601:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3484, + "id": 2976, "nodeType": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ] }, "documentation": { - "id": 3463, + "id": 2955, "nodeType": "StructuredDocumentation", - "src": "61621:101:1", + "src": "63370:105:0", "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3486, + "id": 2978, "implemented": true, "kind": "function", "modifiers": [], "name": "_approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 3468, + "id": 2960, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3465, + "id": 2957, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61745:10:1", + "scope": 2978, + "src": "63499:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37017,10 +37017,10 @@ "typeString": "address" }, "typeName": { - "id": 3464, + "id": 2956, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61745:7:1", + "src": "63499:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37031,12 +37031,12 @@ }, { "constant": false, - "id": 3467, + "id": 2959, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61757:15:1", + "scope": 2978, + "src": "63511:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37044,10 +37044,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3466, + "id": 2958, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61757:7:1", + "src": "63511:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37056,51 +37056,51 @@ "visibility": "internal" } ], - "src": "61744:29:1" + "src": "63498:29:0" }, "returnParameters": { - "id": 3469, + "id": 2961, "nodeType": "ParameterList", "parameters": [], - "src": "61791:0:1" + "src": "63545:0:0" }, - "scope": 3498, - "src": "61727:189:1", + "scope": 2990, + "src": "63481:192:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3496, + "id": 2988, "nodeType": "Block", - "src": "62602:3:1", + "src": "64376:3:0", "statements": [] }, "documentation": { - "id": 3487, + "id": 2979, "nodeType": "StructuredDocumentation", - "src": "61922:585:1", + "src": "63681:599:0", "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3497, + "id": 2989, "implemented": true, "kind": "function", "modifiers": [], "name": "_beforeTokenTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3494, + "id": 2986, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3489, + "id": 2981, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62542:12:1", + "scope": 2989, + "src": "64316:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37108,10 +37108,10 @@ "typeString": "address" }, "typeName": { - "id": 3488, + "id": 2980, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62542:7:1", + "src": "64316:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37122,12 +37122,12 @@ }, { "constant": false, - "id": 3491, + "id": 2983, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62556:10:1", + "scope": 2989, + "src": "64330:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37135,10 +37135,10 @@ "typeString": "address" }, "typeName": { - "id": 3490, + "id": 2982, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62556:7:1", + "src": "64330:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37149,12 +37149,12 @@ }, { "constant": false, - "id": 3493, + "id": 2985, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62568:15:1", + "scope": 2989, + "src": "64342:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37162,10 +37162,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3492, + "id": 2984, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "62568:7:1", + "src": "64342:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37174,69 +37174,69 @@ "visibility": "internal" } ], - "src": "62541:43:1" + "src": "64315:43:0" }, "returnParameters": { - "id": 3495, + "id": 2987, "nodeType": "ParameterList", "parameters": [], - "src": "62602:0:1" + "src": "64376:0:0" }, - "scope": 3498, - "src": "62512:93:1", + "scope": 2990, + "src": "64286:93:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "46080:16527:1" + "scope": 2991, + "src": "47398:16984:0" } ], - "src": "84:62524:1" + "src": "87:64297:0" }, "legacyAST": { "attributes": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, "license": "MIT" @@ -37254,9 +37254,9 @@ ".0" ] }, - "id": 509, + "id": 1, "name": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "attributes": { @@ -37270,10 +37270,10 @@ "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", - "scope": 3499 + "scope": 2991 }, "children": [ { @@ -37285,7 +37285,7 @@ null ], "name": "_msgSender", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37298,9 +37298,9 @@ ] }, "children": [], - "id": 510, + "id": 2, "name": "ParameterList", - "src": "668:2:1" + "src": "684:2:0" }, { "children": [ @@ -37309,7 +37309,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 518, + "scope": 10, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -37322,25 +37322,25 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 511, + "id": 3, "name": "ElementaryTypeName", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 512, + "id": 4, "name": "VariableDeclaration", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 513, + "id": 5, "name": "ParameterList", - "src": "701:17:1" + "src": "717:17:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 513 + "functionReturnParameters": 5 }, "children": [ { @@ -37362,29 +37362,29 @@ "type": "msg", "value": "msg" }, - "id": 514, + "id": 6, "name": "Identifier", - "src": "736:3:1" + "src": "753:3:0" } ], - "id": 515, + "id": 7, "name": "MemberAccess", - "src": "736:10:1" + "src": "753:10:0" } ], - "id": 516, + "id": 8, "name": "Return", - "src": "729:17:1" + "src": "746:17:0" } ], - "id": 517, + "id": 9, "name": "Block", - "src": "719:34:1" + "src": "735:36:0" } ], - "id": 518, + "id": 10, "name": "FunctionDefinition", - "src": "649:104:1" + "src": "665:106:0" }, { "attributes": { @@ -37395,7 +37395,7 @@ null ], "name": "_msgData", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37408,9 +37408,9 @@ ] }, "children": [], - "id": 519, + "id": 11, "name": "ParameterList", - "src": "776:2:1" + "src": "796:2:0" }, { "children": [ @@ -37419,7 +37419,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 529, + "scope": 21, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -37431,19 +37431,19 @@ "name": "bytes", "type": "bytes" }, - "id": 520, + "id": 12, "name": "ElementaryTypeName", - "src": "810:5:1" + "src": "830:5:0" } ], - "id": 521, + "id": 13, "name": "VariableDeclaration", - "src": "810:12:1" + "src": "830:12:0" } ], - "id": 522, + "id": 14, "name": "ParameterList", - "src": "809:14:1" + "src": "829:14:0" }, { "children": [ @@ -37458,18 +37458,18 @@ "type": "contract Context", "value": "this" }, - "id": 523, + "id": 15, "name": "Identifier", - "src": "834:4:1" + "src": "855:4:0" } ], - "id": 524, + "id": 16, "name": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "attributes": { - "functionReturnParameters": 522 + "functionReturnParameters": 14 }, "children": [ { @@ -37491,34 +37491,34 @@ "type": "msg", "value": "msg" }, - "id": 525, + "id": 17, "name": "Identifier", - "src": "974:3:1" + "src": "996:3:0" } ], - "id": 526, + "id": 18, "name": "MemberAccess", - "src": "974:8:1" + "src": "996:8:0" } ], - "id": 527, + "id": 19, "name": "Return", - "src": "967:15:1" + "src": "989:15:0" } ], - "id": 528, + "id": 20, "name": "Block", - "src": "824:165:1" + "src": "844:168:0" } ], - "id": 529, + "id": 21, "name": "FunctionDefinition", - "src": "759:230:1" + "src": "779:233:0" } ], - "id": 530, + "id": 22, "name": "ContractDefinition", - "src": "617:374:1" + "src": "632:383:0" }, { "attributes": { @@ -37532,9 +37532,9 @@ ".0" ] }, - "id": 531, + "id": 23, "name": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "attributes": { @@ -37548,19 +37548,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, - "id": 532, + "id": 24, "name": "StructuredDocumentation", - "src": "1086:279:1" + "src": "1116:287:0" }, { "attributes": { @@ -37572,7 +37572,7 @@ null ], "name": "supportsInterface", - "scope": 541, + "scope": 33, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -37582,9 +37582,9 @@ "attributes": { "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, - "id": 533, + "id": 25, "name": "StructuredDocumentation", - "src": "1390:340:1" + "src": "1430:347:0" }, { "children": [ @@ -37593,7 +37593,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -37605,19 +37605,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 534, + "id": 26, "name": "ElementaryTypeName", - "src": "1762:6:1" + "src": "1810:6:0" } ], - "id": 535, + "id": 27, "name": "VariableDeclaration", - "src": "1762:18:1" + "src": "1810:18:0" } ], - "id": 536, + "id": 28, "name": "ParameterList", - "src": "1761:20:1" + "src": "1809:20:0" }, { "children": [ @@ -37626,7 +37626,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -37638,29 +37638,29 @@ "name": "bool", "type": "bool" }, - "id": 537, + "id": 29, "name": "ElementaryTypeName", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 538, + "id": 30, "name": "VariableDeclaration", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 539, + "id": 31, "name": "ParameterList", - "src": "1804:6:1" + "src": "1852:6:0" } ], - "id": 540, + "id": 32, "name": "FunctionDefinition", - "src": "1735:76:1" + "src": "1783:76:0" } ], - "id": 541, + "id": 33, "name": "ContractDefinition", - "src": "1366:447:1" + "src": "1405:457:0" }, { "attributes": { @@ -37674,33 +37674,33 @@ ".0" ] }, - "id": 542, + "id": 34, "name": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Required interface of an ERC721 compliant contract." }, - "id": 543, + "id": 35, "name": "StructuredDocumentation", - "src": "1907:67:1" + "src": "1962:69:0" }, { "attributes": {}, @@ -37708,17 +37708,17 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 544, + "id": 36, "name": "UserDefinedTypeName", - "src": "1996:7:1" + "src": "2054:7:0" } ], - "id": 545, + "id": 37, "name": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" }, { "attributes": { @@ -37730,9 +37730,9 @@ "attributes": { "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 546, + "id": 38, "name": "StructuredDocumentation", - "src": "2010:88:1" + "src": "2069:90:0" }, { "children": [ @@ -37742,7 +37742,7 @@ "indexed": true, "mutability": "mutable", "name": "from", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37755,14 +37755,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 547, + "id": 39, "name": "ElementaryTypeName", - "src": "2118:7:1" + "src": "2180:7:0" } ], - "id": 548, + "id": 40, "name": "VariableDeclaration", - "src": "2118:20:1" + "src": "2180:20:0" }, { "attributes": { @@ -37770,7 +37770,7 @@ "indexed": true, "mutability": "mutable", "name": "to", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37783,14 +37783,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 549, + "id": 41, "name": "ElementaryTypeName", - "src": "2140:7:1" + "src": "2202:7:0" } ], - "id": 550, + "id": 42, "name": "VariableDeclaration", - "src": "2140:18:1" + "src": "2202:18:0" }, { "attributes": { @@ -37798,7 +37798,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -37810,24 +37810,24 @@ "name": "uint256", "type": "uint256" }, - "id": 551, + "id": 43, "name": "ElementaryTypeName", - "src": "2160:7:1" + "src": "2222:7:0" } ], - "id": 552, + "id": 44, "name": "VariableDeclaration", - "src": "2160:23:1" + "src": "2222:23:0" } ], - "id": 553, + "id": 45, "name": "ParameterList", - "src": "2117:67:1" + "src": "2179:67:0" } ], - "id": 554, + "id": 46, "name": "EventDefinition", - "src": "2103:82:1" + "src": "2165:82:0" }, { "attributes": { @@ -37839,9 +37839,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 555, + "id": 47, "name": "StructuredDocumentation", - "src": "2191:94:1" + "src": "2255:96:0" }, { "children": [ @@ -37851,7 +37851,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37864,14 +37864,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 556, + "id": 48, "name": "ElementaryTypeName", - "src": "2305:7:1" + "src": "2372:7:0" } ], - "id": 557, + "id": 49, "name": "VariableDeclaration", - "src": "2305:21:1" + "src": "2372:21:0" }, { "attributes": { @@ -37879,7 +37879,7 @@ "indexed": true, "mutability": "mutable", "name": "approved", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37892,14 +37892,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 558, + "id": 50, "name": "ElementaryTypeName", - "src": "2328:7:1" + "src": "2395:7:0" } ], - "id": 559, + "id": 51, "name": "VariableDeclaration", - "src": "2328:24:1" + "src": "2395:24:0" }, { "attributes": { @@ -37907,7 +37907,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -37919,24 +37919,24 @@ "name": "uint256", "type": "uint256" }, - "id": 560, + "id": 52, "name": "ElementaryTypeName", - "src": "2354:7:1" + "src": "2421:7:0" } ], - "id": 561, + "id": 53, "name": "VariableDeclaration", - "src": "2354:23:1" + "src": "2421:23:0" } ], - "id": 562, + "id": 54, "name": "ParameterList", - "src": "2304:74:1" + "src": "2371:74:0" } ], - "id": 563, + "id": 55, "name": "EventDefinition", - "src": "2290:89:1" + "src": "2357:89:0" }, { "attributes": { @@ -37948,9 +37948,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 564, + "id": 56, "name": "StructuredDocumentation", - "src": "2385:117:1" + "src": "2454:119:0" }, { "children": [ @@ -37960,7 +37960,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37973,14 +37973,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 565, + "id": 57, "name": "ElementaryTypeName", - "src": "2528:7:1" + "src": "2600:7:0" } ], - "id": 566, + "id": 58, "name": "VariableDeclaration", - "src": "2528:21:1" + "src": "2600:21:0" }, { "attributes": { @@ -37988,7 +37988,7 @@ "indexed": true, "mutability": "mutable", "name": "operator", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38001,14 +38001,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 567, + "id": 59, "name": "ElementaryTypeName", - "src": "2551:7:1" + "src": "2623:7:0" } ], - "id": 568, + "id": 60, "name": "VariableDeclaration", - "src": "2551:24:1" + "src": "2623:24:0" }, { "attributes": { @@ -38016,7 +38016,7 @@ "indexed": false, "mutability": "mutable", "name": "approved", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38028,24 +38028,24 @@ "name": "bool", "type": "bool" }, - "id": 569, + "id": 61, "name": "ElementaryTypeName", - "src": "2577:4:1" + "src": "2649:4:0" } ], - "id": 570, + "id": 62, "name": "VariableDeclaration", - "src": "2577:13:1" + "src": "2649:13:0" } ], - "id": 571, + "id": 63, "name": "ParameterList", - "src": "2527:64:1" + "src": "2599:64:0" } ], - "id": 572, + "id": 64, "name": "EventDefinition", - "src": "2507:85:1" + "src": "2579:85:0" }, { "attributes": { @@ -38057,7 +38057,7 @@ null ], "name": "balanceOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38067,9 +38067,9 @@ "attributes": { "text": " @dev Returns the number of tokens in ``owner``'s account." }, - "id": 573, + "id": 65, "name": "StructuredDocumentation", - "src": "2598:76:1" + "src": "2672:78:0" }, { "children": [ @@ -38078,7 +38078,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38091,19 +38091,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 574, + "id": 66, "name": "ElementaryTypeName", - "src": "2698:7:1" + "src": "2775:7:0" } ], - "id": 575, + "id": 67, "name": "VariableDeclaration", - "src": "2698:13:1" + "src": "2775:13:0" } ], - "id": 576, + "id": 68, "name": "ParameterList", - "src": "2697:15:1" + "src": "2774:15:0" }, { "children": [ @@ -38112,7 +38112,7 @@ "constant": false, "mutability": "mutable", "name": "balance", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38124,24 +38124,24 @@ "name": "uint256", "type": "uint256" }, - "id": 577, + "id": 69, "name": "ElementaryTypeName", - "src": "2736:7:1" + "src": "2813:7:0" } ], - "id": 578, + "id": 70, "name": "VariableDeclaration", - "src": "2736:15:1" + "src": "2813:15:0" } ], - "id": 579, + "id": 71, "name": "ParameterList", - "src": "2735:17:1" + "src": "2812:17:0" } ], - "id": 580, + "id": 72, "name": "FunctionDefinition", - "src": "2679:74:1" + "src": "2756:74:0" }, { "attributes": { @@ -38153,7 +38153,7 @@ null ], "name": "ownerOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38163,9 +38163,9 @@ "attributes": { "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 581, + "id": 73, "name": "StructuredDocumentation", - "src": "2759:131:1" + "src": "2838:137:0" }, { "children": [ @@ -38174,7 +38174,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38186,19 +38186,19 @@ "name": "uint256", "type": "uint256" }, - "id": 582, + "id": 74, "name": "ElementaryTypeName", - "src": "2912:7:1" + "src": "2998:7:0" } ], - "id": 583, + "id": 75, "name": "VariableDeclaration", - "src": "2912:15:1" + "src": "2998:15:0" } ], - "id": 584, + "id": 76, "name": "ParameterList", - "src": "2911:17:1" + "src": "2997:17:0" }, { "children": [ @@ -38207,7 +38207,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38220,24 +38220,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 585, + "id": 77, "name": "ElementaryTypeName", - "src": "2952:7:1" + "src": "3038:7:0" } ], - "id": 586, + "id": 78, "name": "VariableDeclaration", - "src": "2952:13:1" + "src": "3038:13:0" } ], - "id": 587, + "id": 79, "name": "ParameterList", - "src": "2951:15:1" + "src": "3037:15:0" } ], - "id": 588, + "id": 80, "name": "FunctionDefinition", - "src": "2895:72:1" + "src": "2981:72:0" }, { "attributes": { @@ -38249,7 +38249,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38259,9 +38259,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 589, + "id": 81, "name": "StructuredDocumentation", - "src": "2973:690:1" + "src": "3061:703:0" }, { "children": [ @@ -38270,7 +38270,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38283,21 +38283,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 590, + "id": 82, "name": "ElementaryTypeName", - "src": "3694:7:1" + "src": "3796:7:0" } ], - "id": 591, + "id": 83, "name": "VariableDeclaration", - "src": "3694:12:1" + "src": "3796:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38310,21 +38310,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 592, + "id": 84, "name": "ElementaryTypeName", - "src": "3708:7:1" + "src": "3810:7:0" } ], - "id": 593, + "id": 85, "name": "VariableDeclaration", - "src": "3708:10:1" + "src": "3810:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38336,19 +38336,19 @@ "name": "uint256", "type": "uint256" }, - "id": 594, + "id": 86, "name": "ElementaryTypeName", - "src": "3720:7:1" + "src": "3822:7:0" } ], - "id": 595, + "id": 87, "name": "VariableDeclaration", - "src": "3720:15:1" + "src": "3822:15:0" } ], - "id": 596, + "id": 88, "name": "ParameterList", - "src": "3693:43:1" + "src": "3795:43:0" }, { "attributes": { @@ -38357,14 +38357,14 @@ ] }, "children": [], - "id": 597, + "id": 89, "name": "ParameterList", - "src": "3745:0:1" + "src": "3847:0:0" } ], - "id": 598, + "id": 90, "name": "FunctionDefinition", - "src": "3668:78:1" + "src": "3770:78:0" }, { "attributes": { @@ -38376,7 +38376,7 @@ null ], "name": "transferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38386,9 +38386,9 @@ "attributes": { "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, - "id": 599, + "id": 91, "name": "StructuredDocumentation", - "src": "3752:504:1" + "src": "3856:517:0" }, { "children": [ @@ -38397,7 +38397,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38410,21 +38410,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 600, + "id": 92, "name": "ElementaryTypeName", - "src": "4283:7:1" + "src": "4401:7:0" } ], - "id": 601, + "id": 93, "name": "VariableDeclaration", - "src": "4283:12:1" + "src": "4401:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38437,21 +38437,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 602, + "id": 94, "name": "ElementaryTypeName", - "src": "4297:7:1" + "src": "4415:7:0" } ], - "id": 603, + "id": 95, "name": "VariableDeclaration", - "src": "4297:10:1" + "src": "4415:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38463,19 +38463,19 @@ "name": "uint256", "type": "uint256" }, - "id": 604, + "id": 96, "name": "ElementaryTypeName", - "src": "4309:7:1" + "src": "4427:7:0" } ], - "id": 605, + "id": 97, "name": "VariableDeclaration", - "src": "4309:15:1" + "src": "4427:15:0" } ], - "id": 606, + "id": 98, "name": "ParameterList", - "src": "4282:43:1" + "src": "4400:43:0" }, { "attributes": { @@ -38484,14 +38484,14 @@ ] }, "children": [], - "id": 607, + "id": 99, "name": "ParameterList", - "src": "4334:0:1" + "src": "4452:0:0" } ], - "id": 608, + "id": 100, "name": "FunctionDefinition", - "src": "4261:74:1" + "src": "4379:74:0" }, { "attributes": { @@ -38503,7 +38503,7 @@ null ], "name": "approve", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38513,9 +38513,9 @@ "attributes": { "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, - "id": 609, + "id": 101, "name": "StructuredDocumentation", - "src": "4341:452:1" + "src": "4461:464:0" }, { "children": [ @@ -38524,7 +38524,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38537,21 +38537,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 610, + "id": 102, "name": "ElementaryTypeName", - "src": "4815:7:1" + "src": "4948:7:0" } ], - "id": 611, + "id": 103, "name": "VariableDeclaration", - "src": "4815:10:1" + "src": "4948:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38563,19 +38563,19 @@ "name": "uint256", "type": "uint256" }, - "id": 612, + "id": 104, "name": "ElementaryTypeName", - "src": "4827:7:1" + "src": "4960:7:0" } ], - "id": 613, + "id": 105, "name": "VariableDeclaration", - "src": "4827:15:1" + "src": "4960:15:0" } ], - "id": 614, + "id": 106, "name": "ParameterList", - "src": "4814:29:1" + "src": "4947:29:0" }, { "attributes": { @@ -38584,14 +38584,14 @@ ] }, "children": [], - "id": 615, + "id": 107, "name": "ParameterList", - "src": "4852:0:1" + "src": "4985:0:0" } ], - "id": 616, + "id": 108, "name": "FunctionDefinition", - "src": "4798:55:1" + "src": "4931:55:0" }, { "attributes": { @@ -38603,7 +38603,7 @@ null ], "name": "getApproved", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38613,9 +38613,9 @@ "attributes": { "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 617, + "id": 109, "name": "StructuredDocumentation", - "src": "4859:139:1" + "src": "4994:145:0" }, { "children": [ @@ -38624,7 +38624,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38636,19 +38636,19 @@ "name": "uint256", "type": "uint256" }, - "id": 618, + "id": 110, "name": "ElementaryTypeName", - "src": "5024:7:1" + "src": "5166:7:0" } ], - "id": 619, + "id": 111, "name": "VariableDeclaration", - "src": "5024:15:1" + "src": "5166:15:0" } ], - "id": 620, + "id": 112, "name": "ParameterList", - "src": "5023:17:1" + "src": "5165:17:0" }, { "children": [ @@ -38657,7 +38657,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38670,24 +38670,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 621, + "id": 113, "name": "ElementaryTypeName", - "src": "5064:7:1" + "src": "5206:7:0" } ], - "id": 622, + "id": 114, "name": "VariableDeclaration", - "src": "5064:16:1" + "src": "5206:16:0" } ], - "id": 623, + "id": 115, "name": "ParameterList", - "src": "5063:18:1" + "src": "5205:18:0" } ], - "id": 624, + "id": 116, "name": "FunctionDefinition", - "src": "5003:79:1" + "src": "5145:79:0" }, { "attributes": { @@ -38699,7 +38699,7 @@ null ], "name": "setApprovalForAll", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38709,9 +38709,9 @@ "attributes": { "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, - "id": 625, + "id": 117, "name": "StructuredDocumentation", - "src": "5088:309:1" + "src": "5232:318:0" }, { "children": [ @@ -38720,7 +38720,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38733,21 +38733,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 626, + "id": 118, "name": "ElementaryTypeName", - "src": "5429:7:1" + "src": "5583:7:0" } ], - "id": 627, + "id": 119, "name": "VariableDeclaration", - "src": "5429:16:1" + "src": "5583:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_approved", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38759,19 +38759,19 @@ "name": "bool", "type": "bool" }, - "id": 628, + "id": 120, "name": "ElementaryTypeName", - "src": "5447:4:1" + "src": "5601:4:0" } ], - "id": 629, + "id": 121, "name": "VariableDeclaration", - "src": "5447:14:1" + "src": "5601:14:0" } ], - "id": 630, + "id": 122, "name": "ParameterList", - "src": "5428:34:1" + "src": "5582:34:0" }, { "attributes": { @@ -38780,14 +38780,14 @@ ] }, "children": [], - "id": 631, + "id": 123, "name": "ParameterList", - "src": "5471:0:1" + "src": "5625:0:0" } ], - "id": 632, + "id": 124, "name": "FunctionDefinition", - "src": "5402:70:1" + "src": "5556:70:0" }, { "attributes": { @@ -38799,7 +38799,7 @@ null ], "name": "isApprovedForAll", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38809,9 +38809,9 @@ "attributes": { "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, - "id": 633, + "id": 125, "name": "StructuredDocumentation", - "src": "5478:138:1" + "src": "5634:142:0" }, { "children": [ @@ -38820,7 +38820,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38833,21 +38833,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 634, + "id": 126, "name": "ElementaryTypeName", - "src": "5647:7:1" + "src": "5808:7:0" } ], - "id": 635, + "id": 127, "name": "VariableDeclaration", - "src": "5647:13:1" + "src": "5808:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38860,19 +38860,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 636, + "id": 128, "name": "ElementaryTypeName", - "src": "5662:7:1" + "src": "5823:7:0" } ], - "id": 637, + "id": 129, "name": "VariableDeclaration", - "src": "5662:16:1" + "src": "5823:16:0" } ], - "id": 638, + "id": 130, "name": "ParameterList", - "src": "5646:33:1" + "src": "5807:33:0" }, { "children": [ @@ -38881,7 +38881,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38893,24 +38893,24 @@ "name": "bool", "type": "bool" }, - "id": 639, + "id": 131, "name": "ElementaryTypeName", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 640, + "id": 132, "name": "VariableDeclaration", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 641, + "id": 133, "name": "ParameterList", - "src": "5702:6:1" + "src": "5863:6:0" } ], - "id": 642, + "id": 134, "name": "FunctionDefinition", - "src": "5621:88:1" + "src": "5782:88:0" }, { "attributes": { @@ -38922,7 +38922,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38932,9 +38932,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 643, + "id": 135, "name": "StructuredDocumentation", - "src": "5715:568:1" + "src": "5878:580:0" }, { "children": [ @@ -38943,7 +38943,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38956,21 +38956,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 644, + "id": 136, "name": "ElementaryTypeName", - "src": "6314:7:1" + "src": "6490:7:0" } ], - "id": 645, + "id": 137, "name": "VariableDeclaration", - "src": "6314:12:1" + "src": "6490:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38983,21 +38983,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 646, + "id": 138, "name": "ElementaryTypeName", - "src": "6328:7:1" + "src": "6504:7:0" } ], - "id": 647, + "id": 139, "name": "VariableDeclaration", - "src": "6328:10:1" + "src": "6504:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39009,21 +39009,21 @@ "name": "uint256", "type": "uint256" }, - "id": 648, + "id": 140, "name": "ElementaryTypeName", - "src": "6340:7:1" + "src": "6516:7:0" } ], - "id": 649, + "id": 141, "name": "VariableDeclaration", - "src": "6340:15:1" + "src": "6516:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39035,19 +39035,19 @@ "name": "bytes", "type": "bytes" }, - "id": 650, + "id": 142, "name": "ElementaryTypeName", - "src": "6357:5:1" + "src": "6533:5:0" } ], - "id": 651, + "id": 143, "name": "VariableDeclaration", - "src": "6357:19:1" + "src": "6533:19:0" } ], - "id": 652, + "id": 144, "name": "ParameterList", - "src": "6313:64:1" + "src": "6489:64:0" }, { "attributes": { @@ -39056,19 +39056,19 @@ ] }, "children": [], - "id": 653, + "id": 145, "name": "ParameterList", - "src": "6386:0:1" + "src": "6562:0:0" } ], - "id": 654, + "id": 146, "name": "FunctionDefinition", - "src": "6288:99:1" + "src": "6464:99:0" } ], - "id": 655, + "id": 147, "name": "ContractDefinition", - "src": "1975:4414:1" + "src": "2033:4533:0" }, { "attributes": { @@ -39082,35 +39082,35 @@ ".0" ] }, - "id": 656, + "id": 148, "name": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 657, + "id": 149, "name": "StructuredDocumentation", - "src": "6491:133:1" + "src": "6674:136:0" }, { "attributes": {}, @@ -39118,17 +39118,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 658, + "id": 150, "name": "UserDefinedTypeName", - "src": "6654:7:1" + "src": "6841:7:0" } ], - "id": 659, + "id": 151, "name": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" }, { "attributes": { @@ -39140,7 +39140,7 @@ null ], "name": "name", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39150,9 +39150,9 @@ "attributes": { "text": " @dev Returns the token collection name." }, - "id": 660, + "id": 152, "name": "StructuredDocumentation", - "src": "6669:58:1" + "src": "6858:60:0" }, { "attributes": { @@ -39161,9 +39161,9 @@ ] }, "children": [], - "id": 661, + "id": 153, "name": "ParameterList", - "src": "6745:2:1" + "src": "6937:2:0" }, { "children": [ @@ -39172,7 +39172,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 665, + "scope": 157, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39184,24 +39184,24 @@ "name": "string", "type": "string" }, - "id": 662, + "id": 154, "name": "ElementaryTypeName", - "src": "6771:6:1" + "src": "6963:6:0" } ], - "id": 663, + "id": 155, "name": "VariableDeclaration", - "src": "6771:13:1" + "src": "6963:13:0" } ], - "id": 664, + "id": 156, "name": "ParameterList", - "src": "6770:15:1" + "src": "6962:15:0" } ], - "id": 665, + "id": 157, "name": "FunctionDefinition", - "src": "6732:54:1" + "src": "6924:54:0" }, { "attributes": { @@ -39213,7 +39213,7 @@ null ], "name": "symbol", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39223,9 +39223,9 @@ "attributes": { "text": " @dev Returns the token collection symbol." }, - "id": 666, + "id": 158, "name": "StructuredDocumentation", - "src": "6792:60:1" + "src": "6986:62:0" }, { "attributes": { @@ -39234,9 +39234,9 @@ ] }, "children": [], - "id": 667, + "id": 159, "name": "ParameterList", - "src": "6872:2:1" + "src": "7069:2:0" }, { "children": [ @@ -39245,7 +39245,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 671, + "scope": 163, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39257,24 +39257,24 @@ "name": "string", "type": "string" }, - "id": 668, + "id": 160, "name": "ElementaryTypeName", - "src": "6898:6:1" + "src": "7095:6:0" } ], - "id": 669, + "id": 161, "name": "VariableDeclaration", - "src": "6898:13:1" + "src": "7095:13:0" } ], - "id": 670, + "id": 162, "name": "ParameterList", - "src": "6897:15:1" + "src": "7094:15:0" } ], - "id": 671, + "id": 163, "name": "FunctionDefinition", - "src": "6857:56:1" + "src": "7054:56:0" }, { "attributes": { @@ -39286,7 +39286,7 @@ null ], "name": "tokenURI", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39296,9 +39296,9 @@ "attributes": { "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, - "id": 672, + "id": 164, "name": "StructuredDocumentation", - "src": "6919:90:1" + "src": "7118:92:0" }, { "children": [ @@ -39307,7 +39307,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39319,19 +39319,19 @@ "name": "uint256", "type": "uint256" }, - "id": 673, + "id": 165, "name": "ElementaryTypeName", - "src": "7032:7:1" + "src": "7234:7:0" } ], - "id": 674, + "id": 166, "name": "VariableDeclaration", - "src": "7032:15:1" + "src": "7234:15:0" } ], - "id": 675, + "id": 167, "name": "ParameterList", - "src": "7031:17:1" + "src": "7233:17:0" }, { "children": [ @@ -39340,7 +39340,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39352,29 +39352,29 @@ "name": "string", "type": "string" }, - "id": 676, + "id": 168, "name": "ElementaryTypeName", - "src": "7072:6:1" + "src": "7274:6:0" } ], - "id": 677, + "id": 169, "name": "VariableDeclaration", - "src": "7072:13:1" + "src": "7274:13:0" } ], - "id": 678, + "id": 170, "name": "ParameterList", - "src": "7071:15:1" + "src": "7273:15:0" } ], - "id": 679, + "id": 171, "name": "FunctionDefinition", - "src": "7014:73:1" + "src": "7216:73:0" } ], - "id": 680, + "id": 172, "name": "ContractDefinition", - "src": "6625:464:1" + "src": "6812:480:0" }, { "attributes": { @@ -39388,35 +39388,35 @@ ".0" ] }, - "id": 681, + "id": 173, "name": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 682, + "id": 174, "name": "StructuredDocumentation", - "src": "7195:136:1" + "src": "7406:139:0" }, { "attributes": {}, @@ -39424,17 +39424,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 683, + "id": 175, "name": "UserDefinedTypeName", - "src": "7363:7:1" + "src": "7578:7:0" } ], - "id": 684, + "id": 176, "name": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" }, { "attributes": { @@ -39446,7 +39446,7 @@ null ], "name": "totalSupply", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39456,9 +39456,9 @@ "attributes": { "text": " @dev Returns the total amount of tokens stored by the contract." }, - "id": 685, + "id": 177, "name": "StructuredDocumentation", - "src": "7378:82:1" + "src": "7595:84:0" }, { "attributes": { @@ -39467,9 +39467,9 @@ ] }, "children": [], - "id": 686, + "id": 178, "name": "ParameterList", - "src": "7485:2:1" + "src": "7705:2:0" }, { "children": [ @@ -39478,7 +39478,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 690, + "scope": 182, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39490,24 +39490,24 @@ "name": "uint256", "type": "uint256" }, - "id": 687, + "id": 179, "name": "ElementaryTypeName", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 688, + "id": 180, "name": "VariableDeclaration", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 689, + "id": 181, "name": "ParameterList", - "src": "7510:9:1" + "src": "7730:9:0" } ], - "id": 690, + "id": 182, "name": "FunctionDefinition", - "src": "7465:55:1" + "src": "7685:55:0" }, { "attributes": { @@ -39519,7 +39519,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39529,9 +39529,9 @@ "attributes": { "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, - "id": 691, + "id": 183, "name": "StructuredDocumentation", - "src": "7526:171:1" + "src": "7748:174:0" }, { "children": [ @@ -39540,7 +39540,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39553,21 +39553,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 692, + "id": 184, "name": "ElementaryTypeName", - "src": "7731:7:1" + "src": "7957:7:0" } ], - "id": 693, + "id": 185, "name": "VariableDeclaration", - "src": "7731:13:1" + "src": "7957:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39579,19 +39579,19 @@ "name": "uint256", "type": "uint256" }, - "id": 694, + "id": 186, "name": "ElementaryTypeName", - "src": "7746:7:1" + "src": "7972:7:0" } ], - "id": 695, + "id": 187, "name": "VariableDeclaration", - "src": "7746:13:1" + "src": "7972:13:0" } ], - "id": 696, + "id": 188, "name": "ParameterList", - "src": "7730:30:1" + "src": "7956:30:0" }, { "children": [ @@ -39600,7 +39600,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39612,24 +39612,24 @@ "name": "uint256", "type": "uint256" }, - "id": 697, + "id": 189, "name": "ElementaryTypeName", - "src": "7784:7:1" + "src": "8010:7:0" } ], - "id": 698, + "id": 190, "name": "VariableDeclaration", - "src": "7784:15:1" + "src": "8010:15:0" } ], - "id": 699, + "id": 191, "name": "ParameterList", - "src": "7783:17:1" + "src": "8009:17:0" } ], - "id": 700, + "id": 192, "name": "FunctionDefinition", - "src": "7702:99:1" + "src": "7928:99:0" }, { "attributes": { @@ -39641,7 +39641,7 @@ null ], "name": "tokenByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39651,9 +39651,9 @@ "attributes": { "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, - "id": 701, + "id": 193, "name": "StructuredDocumentation", - "src": "7807:164:1" + "src": "8035:167:0" }, { "children": [ @@ -39662,7 +39662,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39674,19 +39674,19 @@ "name": "uint256", "type": "uint256" }, - "id": 702, + "id": 194, "name": "ElementaryTypeName", - "src": "7998:7:1" + "src": "8230:7:0" } ], - "id": 703, + "id": 195, "name": "VariableDeclaration", - "src": "7998:13:1" + "src": "8230:13:0" } ], - "id": 704, + "id": 196, "name": "ParameterList", - "src": "7997:15:1" + "src": "8229:15:0" }, { "children": [ @@ -39695,7 +39695,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39707,29 +39707,29 @@ "name": "uint256", "type": "uint256" }, - "id": 705, + "id": 197, "name": "ElementaryTypeName", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 706, + "id": 198, "name": "VariableDeclaration", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 707, + "id": 199, "name": "ParameterList", - "src": "8035:9:1" + "src": "8267:9:0" } ], - "id": 708, + "id": 200, "name": "FunctionDefinition", - "src": "7976:69:1" + "src": "8208:69:0" } ], - "id": 709, + "id": 201, "name": "ContractDefinition", - "src": "7332:715:1" + "src": "7547:733:0" }, { "attributes": { @@ -39743,9 +39743,9 @@ ".0" ] }, - "id": 710, + "id": 202, "name": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "attributes": { @@ -39759,19 +39759,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, - "id": 711, + "id": 203, "name": "StructuredDocumentation", - "src": "8150:152:1" + "src": "8390:156:0" }, { "attributes": { @@ -39783,7 +39783,7 @@ null ], "name": "onERC721Received", - "scope": 726, + "scope": 218, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -39793,9 +39793,9 @@ "attributes": { "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, - "id": 712, + "id": 204, "name": "StructuredDocumentation", - "src": "8335:485:1" + "src": "8581:493:0" }, { "children": [ @@ -39804,7 +39804,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39817,21 +39817,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 713, + "id": 205, "name": "ElementaryTypeName", - "src": "8851:7:1" + "src": "9106:7:0" } ], - "id": 714, + "id": 206, "name": "VariableDeclaration", - "src": "8851:16:1" + "src": "9106:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "from", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39844,21 +39844,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 715, + "id": 207, "name": "ElementaryTypeName", - "src": "8869:7:1" + "src": "9124:7:0" } ], - "id": 716, + "id": 208, "name": "VariableDeclaration", - "src": "8869:12:1" + "src": "9124:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39870,21 +39870,21 @@ "name": "uint256", "type": "uint256" }, - "id": 717, + "id": 209, "name": "ElementaryTypeName", - "src": "8883:7:1" + "src": "9138:7:0" } ], - "id": 718, + "id": 210, "name": "VariableDeclaration", - "src": "8883:15:1" + "src": "9138:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39896,19 +39896,19 @@ "name": "bytes", "type": "bytes" }, - "id": 719, + "id": 211, "name": "ElementaryTypeName", - "src": "8900:5:1" + "src": "9155:5:0" } ], - "id": 720, + "id": 212, "name": "VariableDeclaration", - "src": "8900:19:1" + "src": "9155:19:0" } ], - "id": 721, + "id": 213, "name": "ParameterList", - "src": "8850:70:1" + "src": "9105:70:0" }, { "children": [ @@ -39917,7 +39917,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -39929,29 +39929,29 @@ "name": "bytes4", "type": "bytes4" }, - "id": 722, + "id": 214, "name": "ElementaryTypeName", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 723, + "id": 215, "name": "VariableDeclaration", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 724, + "id": 216, "name": "ParameterList", - "src": "8938:8:1" + "src": "9193:8:0" } ], - "id": 725, + "id": 217, "name": "FunctionDefinition", - "src": "8825:122:1" + "src": "9080:122:0" } ], - "id": 726, + "id": 218, "name": "ContractDefinition", - "src": "8303:646:1" + "src": "8548:657:0" }, { "attributes": { @@ -39965,33 +39965,33 @@ ".0" ] }, - "id": 727, + "id": 219, "name": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "attributes": { "abstract": true, "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, - "id": 728, + "id": 220, "name": "StructuredDocumentation", - "src": "9043:171:1" + "src": "9305:176:0" }, { "attributes": {}, @@ -39999,24 +39999,24 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 729, + "id": 221, "name": "UserDefinedTypeName", - "src": "9243:7:1" + "src": "9511:7:0" } ], - "id": 730, + "id": 222, "name": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -40028,9 +40028,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 731, + "id": 223, "name": "ElementaryTypeName", - "src": "9340:6:1" + "src": "9612:6:0" }, { "attributes": { @@ -40043,21 +40043,21 @@ "type": "int_const 33540519", "value": "0x01ffc9a7" }, - "id": 732, + "id": 224, "name": "Literal", - "src": "9387:10:1" + "src": "9659:10:0" } ], - "id": 733, + "id": 225, "name": "VariableDeclaration", - "src": "9340:57:1" + "src": "9612:57:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_supportedInterfaces", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "mapping(bytes4 => bool)", @@ -40074,36 +40074,36 @@ "name": "bytes4", "type": "bytes4" }, - "id": 735, + "id": 227, "name": "ElementaryTypeName", - "src": "9499:6:1" + "src": "9776:6:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 736, + "id": 228, "name": "ElementaryTypeName", - "src": "9509:4:1" + "src": "9786:4:0" } ], - "id": 737, + "id": 229, "name": "Mapping", - "src": "9491:23:1" + "src": "9768:23:0" }, { "attributes": { "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 734, + "id": 226, "name": "StructuredDocumentation", - "src": "9404:82:1" + "src": "9678:84:0" } ], - "id": 738, + "id": 230, "name": "VariableDeclaration", - "src": "9491:52:1" + "src": "9768:52:0" }, { "attributes": { @@ -40114,7 +40114,7 @@ null ], "name": "", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -40127,9 +40127,9 @@ ] }, "children": [], - "id": 739, + "id": 231, "name": "ParameterList", - "src": "9562:2:1" + "src": "9841:2:0" }, { "attributes": { @@ -40138,9 +40138,9 @@ ] }, "children": [], - "id": 740, + "id": 232, "name": "ParameterList", - "src": "9565:0:1" + "src": "9844:0:0" }, { "children": [ @@ -40172,51 +40172,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 741, + "id": 233, "name": "Identifier", - "src": "9711:18:1" + "src": "9993:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 733, + "referencedDeclaration": 225, "type": "bytes4", "value": "_INTERFACE_ID_ERC165" }, - "id": 742, + "id": 234, "name": "Identifier", - "src": "9730:20:1" + "src": "10012:20:0" } ], - "id": 743, + "id": 235, "name": "FunctionCall", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 744, + "id": 236, "name": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 745, + "id": 237, "name": "Block", - "src": "9565:193:1" + "src": "9844:197:0" } ], - "id": 746, + "id": 238, "name": "FunctionDefinition", - "src": "9550:208:1" + "src": "9829:212:0" }, { "attributes": { "baseFunctions": [ - 540 + 32 ], "functionSelector": "01ffc9a7", "implemented": true, @@ -40226,7 +40226,7 @@ null ], "name": "supportsInterface", - "scope": 781, + "scope": 273, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -40236,9 +40236,9 @@ "attributes": { "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, - "id": 747, + "id": 239, "name": "StructuredDocumentation", - "src": "9764:139:1" + "src": "10049:143:0" }, { "attributes": { @@ -40246,9 +40246,9 @@ null ] }, - "id": 751, + "id": 243, "name": "OverrideSpecifier", - "src": "9975:8:1" + "src": "10265:8:0" }, { "children": [ @@ -40257,7 +40257,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40269,19 +40269,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 748, + "id": 240, "name": "ElementaryTypeName", - "src": "9935:6:1" + "src": "10225:6:0" } ], - "id": 749, + "id": 241, "name": "VariableDeclaration", - "src": "9935:18:1" + "src": "10225:18:0" } ], - "id": 750, + "id": 242, "name": "ParameterList", - "src": "9934:20:1" + "src": "10224:20:0" }, { "children": [ @@ -40290,7 +40290,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40302,25 +40302,25 @@ "name": "bool", "type": "bool" }, - "id": 752, + "id": 244, "name": "ElementaryTypeName", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 753, + "id": 245, "name": "VariableDeclaration", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 754, + "id": 246, "name": "ParameterList", - "src": "9992:6:1" + "src": "10282:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 754 + "functionReturnParameters": 246 }, "children": [ { @@ -40337,46 +40337,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 755, + "id": 247, "name": "Identifier", - "src": "10016:20:1" + "src": "10307:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 749, + "referencedDeclaration": 241, "type": "bytes4", "value": "interfaceId" }, - "id": 756, + "id": 248, "name": "Identifier", - "src": "10037:11:1" + "src": "10328:11:0" } ], - "id": 757, + "id": 249, "name": "IndexAccess", - "src": "10016:33:1" + "src": "10307:33:0" } ], - "id": 758, + "id": 250, "name": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ], - "id": 759, + "id": 251, "name": "Block", - "src": "9999:57:1" + "src": "10289:59:0" } ], - "id": 760, + "id": 252, "name": "FunctionDefinition", - "src": "9908:148:1" + "src": "10198:150:0" }, { "attributes": { @@ -40387,7 +40387,7 @@ null ], "name": "_registerInterface", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -40397,9 +40397,9 @@ "attributes": { "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 761, + "id": 253, "name": "StructuredDocumentation", - "src": "10062:383:1" + "src": "10356:393:0" }, { "children": [ @@ -40408,7 +40408,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 780, + "scope": 272, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40420,19 +40420,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 762, + "id": 254, "name": "ElementaryTypeName", - "src": "10478:6:1" + "src": "10783:6:0" } ], - "id": 763, + "id": 255, "name": "VariableDeclaration", - "src": "10478:18:1" + "src": "10783:18:0" } ], - "id": 764, + "id": 256, "name": "ParameterList", - "src": "10477:20:1" + "src": "10782:20:0" }, { "attributes": { @@ -40441,9 +40441,9 @@ ] }, "children": [], - "id": 765, + "id": 257, "name": "ParameterList", - "src": "10515:0:1" + "src": "10820:0:0" }, { "children": [ @@ -40484,9 +40484,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 766, + "id": 258, "name": "Identifier", - "src": "10525:7:1" + "src": "10831:7:0" }, { "attributes": { @@ -40507,13 +40507,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 767, + "id": 259, "name": "Identifier", - "src": "10533:11:1" + "src": "10839:11:0" }, { "attributes": { @@ -40526,14 +40526,14 @@ "type": "int_const 4294967295", "value": "0xffffffff" }, - "id": 768, + "id": 260, "name": "Literal", - "src": "10548:10:1" + "src": "10854:10:0" } ], - "id": 769, + "id": 261, "name": "BinaryOperation", - "src": "10533:25:1" + "src": "10839:25:0" }, { "attributes": { @@ -40546,19 +40546,19 @@ "type": "literal_string \"ERC165: invalid interface id\"", "value": "ERC165: invalid interface id" }, - "id": 770, + "id": 262, "name": "Literal", - "src": "10560:30:1" + "src": "10866:30:0" } ], - "id": 771, + "id": 263, "name": "FunctionCall", - "src": "10525:66:1" + "src": "10831:66:0" } ], - "id": 772, + "id": 264, "name": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "children": [ @@ -40586,31 +40586,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 773, + "id": 265, "name": "Identifier", - "src": "10601:20:1" + "src": "10908:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 774, + "id": 266, "name": "Identifier", - "src": "10622:11:1" + "src": "10929:11:0" } ], - "id": 775, + "id": 267, "name": "IndexAccess", - "src": "10601:33:1" + "src": "10908:33:0" }, { "attributes": { @@ -40623,34 +40623,34 @@ "type": "bool", "value": "true" }, - "id": 776, + "id": 268, "name": "Literal", - "src": "10637:4:1" + "src": "10944:4:0" } ], - "id": 777, + "id": 269, "name": "Assignment", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 778, + "id": 270, "name": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 779, + "id": 271, "name": "Block", - "src": "10515:133:1" + "src": "10820:136:0" } ], - "id": 780, + "id": 272, "name": "FunctionDefinition", - "src": "10450:198:1" + "src": "10755:201:0" } ], - "id": 781, + "id": 273, "name": "ContractDefinition", - "src": "9215:1435:1" + "src": "9483:1476:0" }, { "attributes": { @@ -40664,9 +40664,9 @@ ".0" ] }, - "id": 782, + "id": 274, "name": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "attributes": { @@ -40680,19 +40680,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, - "id": 783, + "id": 275, "name": "StructuredDocumentation", - "src": "10736:563:1" + "src": "11050:575:0" }, { "attributes": { @@ -40703,7 +40703,7 @@ null ], "name": "tryAdd", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -40713,9 +40713,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 784, + "id": 276, "name": "StructuredDocumentation", - "src": "11323:131:1" + "src": "11651:135:0" }, { "children": [ @@ -40724,7 +40724,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40736,21 +40736,21 @@ "name": "uint256", "type": "uint256" }, - "id": 785, + "id": 277, "name": "ElementaryTypeName", - "src": "11475:7:1" + "src": "11808:7:0" } ], - "id": 786, + "id": 278, "name": "VariableDeclaration", - "src": "11475:9:1" + "src": "11808:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40762,19 +40762,19 @@ "name": "uint256", "type": "uint256" }, - "id": 787, + "id": 279, "name": "ElementaryTypeName", - "src": "11486:7:1" + "src": "11819:7:0" } ], - "id": 788, + "id": 280, "name": "VariableDeclaration", - "src": "11486:9:1" + "src": "11819:9:0" } ], - "id": 789, + "id": 281, "name": "ParameterList", - "src": "11474:22:1" + "src": "11807:22:0" }, { "children": [ @@ -40783,7 +40783,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40795,21 +40795,21 @@ "name": "bool", "type": "bool" }, - "id": 790, + "id": 282, "name": "ElementaryTypeName", - "src": "11520:4:1" + "src": "11853:4:0" } ], - "id": 791, + "id": 283, "name": "VariableDeclaration", - "src": "11520:4:1" + "src": "11853:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40821,26 +40821,26 @@ "name": "uint256", "type": "uint256" }, - "id": 792, + "id": 284, "name": "ElementaryTypeName", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 793, + "id": 285, "name": "VariableDeclaration", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 794, + "id": 286, "name": "ParameterList", - "src": "11519:15:1" + "src": "11852:15:0" }, { "children": [ { "attributes": { "assignments": [ - 796 + 288 ] }, "children": [ @@ -40849,7 +40849,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 813, + "scope": 305, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40861,14 +40861,14 @@ "name": "uint256", "type": "uint256" }, - "id": 795, + "id": 287, "name": "ElementaryTypeName", - "src": "11545:7:1" + "src": "11879:7:0" } ], - "id": 796, + "id": 288, "name": "VariableDeclaration", - "src": "11545:9:1" + "src": "11879:9:0" }, { "attributes": { @@ -40889,36 +40889,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 797, + "id": 289, "name": "Identifier", - "src": "11557:1:1" + "src": "11891:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 280, "type": "uint256", "value": "b" }, - "id": 798, + "id": 290, "name": "Identifier", - "src": "11561:1:1" + "src": "11895:1:0" } ], - "id": 799, + "id": 291, "name": "BinaryOperation", - "src": "11557:5:1" + "src": "11891:5:0" } ], - "id": 800, + "id": 292, "name": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "attributes": {}, @@ -40942,35 +40942,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 801, + "id": 293, "name": "Identifier", - "src": "11576:1:1" + "src": "11911:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 802, + "id": 294, "name": "Identifier", - "src": "11580:1:1" + "src": "11915:1:0" } ], - "id": 803, + "id": 295, "name": "BinaryOperation", - "src": "11576:5:1" + "src": "11911:5:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -40994,9 +40994,9 @@ "type": "bool", "value": "false" }, - "id": 804, + "id": 296, "name": "Literal", - "src": "11591:5:1" + "src": "11926:5:0" }, { "attributes": { @@ -41009,28 +41009,28 @@ "type": "int_const 0", "value": "0" }, - "id": 805, + "id": 297, "name": "Literal", - "src": "11598:1:1" + "src": "11933:1:0" } ], - "id": 806, + "id": 298, "name": "TupleExpression", - "src": "11590:10:1" + "src": "11925:10:0" } ], - "id": 807, + "id": 299, "name": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } ], - "id": 808, + "id": 300, "name": "IfStatement", - "src": "11572:28:1" + "src": "11907:28:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -41054,42 +41054,42 @@ "type": "bool", "value": "true" }, - "id": 809, + "id": 301, "name": "Literal", - "src": "11618:4:1" + "src": "11954:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 810, + "id": 302, "name": "Identifier", - "src": "11624:1:1" + "src": "11960:1:0" } ], - "id": 811, + "id": 303, "name": "TupleExpression", - "src": "11617:9:1" + "src": "11953:9:0" } ], - "id": 812, + "id": 304, "name": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ], - "id": 813, + "id": 305, "name": "Block", - "src": "11535:98:1" + "src": "11868:102:0" } ], - "id": 814, + "id": 306, "name": "FunctionDefinition", - "src": "11459:174:1" + "src": "11792:178:0" }, { "attributes": { @@ -41100,7 +41100,7 @@ null ], "name": "trySub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41110,9 +41110,9 @@ "attributes": { "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 815, + "id": 307, "name": "StructuredDocumentation", - "src": "11639:135:1" + "src": "11978:139:0" }, { "children": [ @@ -41121,7 +41121,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41133,21 +41133,21 @@ "name": "uint256", "type": "uint256" }, - "id": 816, + "id": 308, "name": "ElementaryTypeName", - "src": "11795:7:1" + "src": "12139:7:0" } ], - "id": 817, + "id": 309, "name": "VariableDeclaration", - "src": "11795:9:1" + "src": "12139:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41159,19 +41159,19 @@ "name": "uint256", "type": "uint256" }, - "id": 818, + "id": 310, "name": "ElementaryTypeName", - "src": "11806:7:1" + "src": "12150:7:0" } ], - "id": 819, + "id": 311, "name": "VariableDeclaration", - "src": "11806:9:1" + "src": "12150:9:0" } ], - "id": 820, + "id": 312, "name": "ParameterList", - "src": "11794:22:1" + "src": "12138:22:0" }, { "children": [ @@ -41180,7 +41180,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41192,21 +41192,21 @@ "name": "bool", "type": "bool" }, - "id": 821, + "id": 313, "name": "ElementaryTypeName", - "src": "11840:4:1" + "src": "12184:4:0" } ], - "id": 822, + "id": 314, "name": "VariableDeclaration", - "src": "11840:4:1" + "src": "12184:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41218,19 +41218,19 @@ "name": "uint256", "type": "uint256" }, - "id": 823, + "id": 315, "name": "ElementaryTypeName", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 824, + "id": 316, "name": "VariableDeclaration", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 825, + "id": 317, "name": "ParameterList", - "src": "11839:15:1" + "src": "12183:15:0" }, { "children": [ @@ -41256,35 +41256,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 826, + "id": 318, "name": "Identifier", - "src": "11869:1:1" + "src": "12214:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 827, + "id": 319, "name": "Identifier", - "src": "11873:1:1" + "src": "12218:1:0" } ], - "id": 828, + "id": 320, "name": "BinaryOperation", - "src": "11869:5:1" + "src": "12214:5:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41308,9 +41308,9 @@ "type": "bool", "value": "false" }, - "id": 829, + "id": 321, "name": "Literal", - "src": "11884:5:1" + "src": "12229:5:0" }, { "attributes": { @@ -41323,28 +41323,28 @@ "type": "int_const 0", "value": "0" }, - "id": 830, + "id": 322, "name": "Literal", - "src": "11891:1:1" + "src": "12236:1:0" } ], - "id": 831, + "id": 323, "name": "TupleExpression", - "src": "11883:10:1" + "src": "12228:10:0" } ], - "id": 832, + "id": 324, "name": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } ], - "id": 833, + "id": 325, "name": "IfStatement", - "src": "11865:28:1" + "src": "12210:28:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41368,9 +41368,9 @@ "type": "bool", "value": "true" }, - "id": 834, + "id": 326, "name": "Literal", - "src": "11911:4:1" + "src": "12257:4:0" }, { "attributes": { @@ -41391,51 +41391,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 835, + "id": 327, "name": "Identifier", - "src": "11917:1:1" + "src": "12263:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 836, + "id": 328, "name": "Identifier", - "src": "11921:1:1" + "src": "12267:1:0" } ], - "id": 837, + "id": 329, "name": "BinaryOperation", - "src": "11917:5:1" + "src": "12263:5:0" } ], - "id": 838, + "id": 330, "name": "TupleExpression", - "src": "11910:13:1" + "src": "12256:13:0" } ], - "id": 839, + "id": 331, "name": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ], - "id": 840, + "id": 332, "name": "Block", - "src": "11855:75:1" + "src": "12199:78:0" } ], - "id": 841, + "id": 333, "name": "FunctionDefinition", - "src": "11779:151:1" + "src": "12123:154:0" }, { "attributes": { @@ -41446,7 +41446,7 @@ null ], "name": "tryMul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41456,9 +41456,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 842, + "id": 334, "name": "StructuredDocumentation", - "src": "11936:137:1" + "src": "12285:141:0" }, { "children": [ @@ -41467,7 +41467,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41479,21 +41479,21 @@ "name": "uint256", "type": "uint256" }, - "id": 843, + "id": 335, "name": "ElementaryTypeName", - "src": "12094:7:1" + "src": "12448:7:0" } ], - "id": 844, + "id": 336, "name": "VariableDeclaration", - "src": "12094:9:1" + "src": "12448:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41505,19 +41505,19 @@ "name": "uint256", "type": "uint256" }, - "id": 845, + "id": 337, "name": "ElementaryTypeName", - "src": "12105:7:1" + "src": "12459:7:0" } ], - "id": 846, + "id": 338, "name": "VariableDeclaration", - "src": "12105:9:1" + "src": "12459:9:0" } ], - "id": 847, + "id": 339, "name": "ParameterList", - "src": "12093:22:1" + "src": "12447:22:0" }, { "children": [ @@ -41526,7 +41526,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41538,21 +41538,21 @@ "name": "bool", "type": "bool" }, - "id": 848, + "id": 340, "name": "ElementaryTypeName", - "src": "12139:4:1" + "src": "12493:4:0" } ], - "id": 849, + "id": 341, "name": "VariableDeclaration", - "src": "12139:4:1" + "src": "12493:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41564,19 +41564,19 @@ "name": "uint256", "type": "uint256" }, - "id": 850, + "id": 342, "name": "ElementaryTypeName", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 851, + "id": 343, "name": "VariableDeclaration", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 852, + "id": 344, "name": "ParameterList", - "src": "12138:15:1" + "src": "12492:15:0" }, { "children": [ @@ -41602,13 +41602,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 853, + "id": 345, "name": "Identifier", - "src": "12386:1:1" + "src": "12744:1:0" }, { "attributes": { @@ -41621,18 +41621,18 @@ "type": "int_const 0", "value": "0" }, - "id": 854, + "id": 346, "name": "Literal", - "src": "12391:1:1" + "src": "12749:1:0" } ], - "id": 855, + "id": 347, "name": "BinaryOperation", - "src": "12386:6:1" + "src": "12744:6:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41656,9 +41656,9 @@ "type": "bool", "value": "true" }, - "id": 856, + "id": 348, "name": "Literal", - "src": "12402:4:1" + "src": "12760:4:0" }, { "attributes": { @@ -41671,29 +41671,29 @@ "type": "int_const 0", "value": "0" }, - "id": 857, + "id": 349, "name": "Literal", - "src": "12408:1:1" + "src": "12766:1:0" } ], - "id": 858, + "id": 350, "name": "TupleExpression", - "src": "12401:9:1" + "src": "12759:9:0" } ], - "id": 859, + "id": 351, "name": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } ], - "id": 860, + "id": 352, "name": "IfStatement", - "src": "12382:28:1" + "src": "12740:28:0" }, { "attributes": { "assignments": [ - 862 + 354 ] }, "children": [ @@ -41702,7 +41702,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 881, + "scope": 373, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41714,14 +41714,14 @@ "name": "uint256", "type": "uint256" }, - "id": 861, + "id": 353, "name": "ElementaryTypeName", - "src": "12420:7:1" + "src": "12779:7:0" } ], - "id": 862, + "id": 354, "name": "VariableDeclaration", - "src": "12420:9:1" + "src": "12779:9:0" }, { "attributes": { @@ -41742,36 +41742,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 863, + "id": 355, "name": "Identifier", - "src": "12432:1:1" + "src": "12791:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 864, + "id": 356, "name": "Identifier", - "src": "12436:1:1" + "src": "12795:1:0" } ], - "id": 865, + "id": 357, "name": "BinaryOperation", - "src": "12432:5:1" + "src": "12791:5:0" } ], - "id": 866, + "id": 358, "name": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "attributes": {}, @@ -41809,53 +41809,53 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 867, + "id": 359, "name": "Identifier", - "src": "12451:1:1" + "src": "12811:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 868, + "id": 360, "name": "Identifier", - "src": "12455:1:1" + "src": "12815:1:0" } ], - "id": 869, + "id": 361, "name": "BinaryOperation", - "src": "12451:5:1" + "src": "12811:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 870, + "id": 362, "name": "Identifier", - "src": "12460:1:1" + "src": "12820:1:0" } ], - "id": 871, + "id": 363, "name": "BinaryOperation", - "src": "12451:10:1" + "src": "12811:10:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41879,9 +41879,9 @@ "type": "bool", "value": "false" }, - "id": 872, + "id": 364, "name": "Literal", - "src": "12471:5:1" + "src": "12831:5:0" }, { "attributes": { @@ -41894,28 +41894,28 @@ "type": "int_const 0", "value": "0" }, - "id": 873, + "id": 365, "name": "Literal", - "src": "12478:1:1" + "src": "12838:1:0" } ], - "id": 874, + "id": 366, "name": "TupleExpression", - "src": "12470:10:1" + "src": "12830:10:0" } ], - "id": 875, + "id": 367, "name": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } ], - "id": 876, + "id": 368, "name": "IfStatement", - "src": "12447:33:1" + "src": "12807:33:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41939,42 +41939,42 @@ "type": "bool", "value": "true" }, - "id": 877, + "id": 369, "name": "Literal", - "src": "12498:4:1" + "src": "12859:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 878, + "id": 370, "name": "Identifier", - "src": "12504:1:1" + "src": "12865:1:0" } ], - "id": 879, + "id": 371, "name": "TupleExpression", - "src": "12497:9:1" + "src": "12858:9:0" } ], - "id": 880, + "id": 372, "name": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ], - "id": 881, + "id": 373, "name": "Block", - "src": "12154:359:1" + "src": "12508:367:0" } ], - "id": 882, + "id": 374, "name": "FunctionDefinition", - "src": "12078:435:1" + "src": "12432:443:0" }, { "attributes": { @@ -41985,7 +41985,7 @@ null ], "name": "tryDiv", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41995,9 +41995,9 @@ "attributes": { "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 883, + "id": 375, "name": "StructuredDocumentation", - "src": "12519:138:1" + "src": "12883:142:0" }, { "children": [ @@ -42006,7 +42006,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42018,21 +42018,21 @@ "name": "uint256", "type": "uint256" }, - "id": 884, + "id": 376, "name": "ElementaryTypeName", - "src": "12678:7:1" + "src": "13047:7:0" } ], - "id": 885, + "id": 377, "name": "VariableDeclaration", - "src": "12678:9:1" + "src": "13047:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42044,19 +42044,19 @@ "name": "uint256", "type": "uint256" }, - "id": 886, + "id": 378, "name": "ElementaryTypeName", - "src": "12689:7:1" + "src": "13058:7:0" } ], - "id": 887, + "id": 379, "name": "VariableDeclaration", - "src": "12689:9:1" + "src": "13058:9:0" } ], - "id": 888, + "id": 380, "name": "ParameterList", - "src": "12677:22:1" + "src": "13046:22:0" }, { "children": [ @@ -42065,7 +42065,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42077,21 +42077,21 @@ "name": "bool", "type": "bool" }, - "id": 889, + "id": 381, "name": "ElementaryTypeName", - "src": "12723:4:1" + "src": "13092:4:0" } ], - "id": 890, + "id": 382, "name": "VariableDeclaration", - "src": "12723:4:1" + "src": "13092:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42103,19 +42103,19 @@ "name": "uint256", "type": "uint256" }, - "id": 891, + "id": 383, "name": "ElementaryTypeName", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 892, + "id": 384, "name": "VariableDeclaration", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 893, + "id": 385, "name": "ParameterList", - "src": "12722:15:1" + "src": "13091:15:0" }, { "children": [ @@ -42141,13 +42141,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 894, + "id": 386, "name": "Identifier", - "src": "12752:1:1" + "src": "13122:1:0" }, { "attributes": { @@ -42160,18 +42160,18 @@ "type": "int_const 0", "value": "0" }, - "id": 895, + "id": 387, "name": "Literal", - "src": "12757:1:1" + "src": "13127:1:0" } ], - "id": 896, + "id": 388, "name": "BinaryOperation", - "src": "12752:6:1" + "src": "13122:6:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42195,9 +42195,9 @@ "type": "bool", "value": "false" }, - "id": 897, + "id": 389, "name": "Literal", - "src": "12768:5:1" + "src": "13138:5:0" }, { "attributes": { @@ -42210,28 +42210,28 @@ "type": "int_const 0", "value": "0" }, - "id": 898, + "id": 390, "name": "Literal", - "src": "12775:1:1" + "src": "13145:1:0" } ], - "id": 899, + "id": 391, "name": "TupleExpression", - "src": "12767:10:1" + "src": "13137:10:0" } ], - "id": 900, + "id": 392, "name": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } ], - "id": 901, + "id": 393, "name": "IfStatement", - "src": "12748:29:1" + "src": "13118:29:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42255,9 +42255,9 @@ "type": "bool", "value": "true" }, - "id": 902, + "id": 394, "name": "Literal", - "src": "12795:4:1" + "src": "13166:4:0" }, { "attributes": { @@ -42278,51 +42278,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 885, + "referencedDeclaration": 377, "type": "uint256", "value": "a" }, - "id": 903, + "id": 395, "name": "Identifier", - "src": "12801:1:1" + "src": "13172:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 904, + "id": 396, "name": "Identifier", - "src": "12805:1:1" + "src": "13176:1:0" } ], - "id": 905, + "id": 397, "name": "BinaryOperation", - "src": "12801:5:1" + "src": "13172:5:0" } ], - "id": 906, + "id": 398, "name": "TupleExpression", - "src": "12794:13:1" + "src": "13165:13:0" } ], - "id": 907, + "id": 399, "name": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ], - "id": 908, + "id": 400, "name": "Block", - "src": "12738:76:1" + "src": "13107:79:0" } ], - "id": 909, + "id": 401, "name": "FunctionDefinition", - "src": "12662:152:1" + "src": "13031:155:0" }, { "attributes": { @@ -42333,7 +42333,7 @@ null ], "name": "tryMod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42343,9 +42343,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 910, + "id": 402, "name": "StructuredDocumentation", - "src": "12820:148:1" + "src": "13194:152:0" }, { "children": [ @@ -42354,7 +42354,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42366,21 +42366,21 @@ "name": "uint256", "type": "uint256" }, - "id": 911, + "id": 403, "name": "ElementaryTypeName", - "src": "12989:7:1" + "src": "13368:7:0" } ], - "id": 912, + "id": 404, "name": "VariableDeclaration", - "src": "12989:9:1" + "src": "13368:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42392,19 +42392,19 @@ "name": "uint256", "type": "uint256" }, - "id": 913, + "id": 405, "name": "ElementaryTypeName", - "src": "13000:7:1" + "src": "13379:7:0" } ], - "id": 914, + "id": 406, "name": "VariableDeclaration", - "src": "13000:9:1" + "src": "13379:9:0" } ], - "id": 915, + "id": 407, "name": "ParameterList", - "src": "12988:22:1" + "src": "13367:22:0" }, { "children": [ @@ -42413,7 +42413,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42425,21 +42425,21 @@ "name": "bool", "type": "bool" }, - "id": 916, + "id": 408, "name": "ElementaryTypeName", - "src": "13034:4:1" + "src": "13413:4:0" } ], - "id": 917, + "id": 409, "name": "VariableDeclaration", - "src": "13034:4:1" + "src": "13413:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42451,19 +42451,19 @@ "name": "uint256", "type": "uint256" }, - "id": 918, + "id": 410, "name": "ElementaryTypeName", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 919, + "id": 411, "name": "VariableDeclaration", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 920, + "id": 412, "name": "ParameterList", - "src": "13033:15:1" + "src": "13412:15:0" }, { "children": [ @@ -42489,13 +42489,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 921, + "id": 413, "name": "Identifier", - "src": "13063:1:1" + "src": "13443:1:0" }, { "attributes": { @@ -42508,18 +42508,18 @@ "type": "int_const 0", "value": "0" }, - "id": 922, + "id": 414, "name": "Literal", - "src": "13068:1:1" + "src": "13448:1:0" } ], - "id": 923, + "id": 415, "name": "BinaryOperation", - "src": "13063:6:1" + "src": "13443:6:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42543,9 +42543,9 @@ "type": "bool", "value": "false" }, - "id": 924, + "id": 416, "name": "Literal", - "src": "13079:5:1" + "src": "13459:5:0" }, { "attributes": { @@ -42558,28 +42558,28 @@ "type": "int_const 0", "value": "0" }, - "id": 925, + "id": 417, "name": "Literal", - "src": "13086:1:1" + "src": "13466:1:0" } ], - "id": 926, + "id": 418, "name": "TupleExpression", - "src": "13078:10:1" + "src": "13458:10:0" } ], - "id": 927, + "id": 419, "name": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } ], - "id": 928, + "id": 420, "name": "IfStatement", - "src": "13059:29:1" + "src": "13439:29:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42603,9 +42603,9 @@ "type": "bool", "value": "true" }, - "id": 929, + "id": 421, "name": "Literal", - "src": "13106:4:1" + "src": "13487:4:0" }, { "attributes": { @@ -42626,51 +42626,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 912, + "referencedDeclaration": 404, "type": "uint256", "value": "a" }, - "id": 930, + "id": 422, "name": "Identifier", - "src": "13112:1:1" + "src": "13493:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 931, + "id": 423, "name": "Identifier", - "src": "13116:1:1" + "src": "13497:1:0" } ], - "id": 932, + "id": 424, "name": "BinaryOperation", - "src": "13112:5:1" + "src": "13493:5:0" } ], - "id": 933, + "id": 425, "name": "TupleExpression", - "src": "13105:13:1" + "src": "13486:13:0" } ], - "id": 934, + "id": 426, "name": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ], - "id": 935, + "id": 427, "name": "Block", - "src": "13049:76:1" + "src": "13428:79:0" } ], - "id": 936, + "id": 428, "name": "FunctionDefinition", - "src": "12973:152:1" + "src": "13352:155:0" }, { "attributes": { @@ -42681,7 +42681,7 @@ null ], "name": "add", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42691,9 +42691,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 937, + "id": 429, "name": "StructuredDocumentation", - "src": "13131:224:1" + "src": "13515:233:0" }, { "children": [ @@ -42702,7 +42702,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42714,21 +42714,21 @@ "name": "uint256", "type": "uint256" }, - "id": 938, + "id": 430, "name": "ElementaryTypeName", - "src": "13373:7:1" + "src": "13767:7:0" } ], - "id": 939, + "id": 431, "name": "VariableDeclaration", - "src": "13373:9:1" + "src": "13767:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42740,19 +42740,19 @@ "name": "uint256", "type": "uint256" }, - "id": 940, + "id": 432, "name": "ElementaryTypeName", - "src": "13384:7:1" + "src": "13778:7:0" } ], - "id": 941, + "id": 433, "name": "VariableDeclaration", - "src": "13384:9:1" + "src": "13778:9:0" } ], - "id": 942, + "id": 434, "name": "ParameterList", - "src": "13372:22:1" + "src": "13766:22:0" }, { "children": [ @@ -42761,7 +42761,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42773,26 +42773,26 @@ "name": "uint256", "type": "uint256" }, - "id": 943, + "id": 435, "name": "ElementaryTypeName", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 944, + "id": 436, "name": "VariableDeclaration", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 945, + "id": 437, "name": "ParameterList", - "src": "13417:9:1" + "src": "13811:9:0" }, { "children": [ { "attributes": { "assignments": [ - 947 + 439 ] }, "children": [ @@ -42801,7 +42801,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 961, + "scope": 453, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42813,14 +42813,14 @@ "name": "uint256", "type": "uint256" }, - "id": 946, + "id": 438, "name": "ElementaryTypeName", - "src": "13437:7:1" + "src": "13832:7:0" } ], - "id": 947, + "id": 439, "name": "VariableDeclaration", - "src": "13437:9:1" + "src": "13832:9:0" }, { "attributes": { @@ -42841,36 +42841,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 948, + "id": 440, "name": "Identifier", - "src": "13449:1:1" + "src": "13844:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 941, + "referencedDeclaration": 433, "type": "uint256", "value": "b" }, - "id": 949, + "id": 441, "name": "Identifier", - "src": "13453:1:1" + "src": "13848:1:0" } ], - "id": 950, + "id": 442, "name": "BinaryOperation", - "src": "13449:5:1" + "src": "13844:5:0" } ], - "id": 951, + "id": 443, "name": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "children": [ @@ -42909,9 +42909,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 952, + "id": 444, "name": "Identifier", - "src": "13464:7:1" + "src": "13860:7:0" }, { "attributes": { @@ -42932,31 +42932,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 953, + "id": 445, "name": "Identifier", - "src": "13472:1:1" + "src": "13868:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 954, + "id": 446, "name": "Identifier", - "src": "13477:1:1" + "src": "13873:1:0" } ], - "id": 955, + "id": 447, "name": "BinaryOperation", - "src": "13472:6:1" + "src": "13868:6:0" }, { "attributes": { @@ -42969,23 +42969,23 @@ "type": "literal_string \"SafeMath: addition overflow\"", "value": "SafeMath: addition overflow" }, - "id": 956, + "id": 448, "name": "Literal", - "src": "13480:29:1" + "src": "13876:29:0" } ], - "id": 957, + "id": 449, "name": "FunctionCall", - "src": "13464:46:1" + "src": "13860:46:0" } ], - "id": 958, + "id": 450, "name": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "attributes": { - "functionReturnParameters": 945 + "functionReturnParameters": 437 }, "children": [ { @@ -42993,28 +42993,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 959, + "id": 451, "name": "Identifier", - "src": "13527:1:1" + "src": "13924:1:0" } ], - "id": 960, + "id": 452, "name": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ], - "id": 961, + "id": 453, "name": "Block", - "src": "13427:108:1" + "src": "13821:112:0" } ], - "id": 962, + "id": 454, "name": "FunctionDefinition", - "src": "13360:175:1" + "src": "13754:179:0" }, { "attributes": { @@ -43025,7 +43025,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43035,9 +43035,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 963, + "id": 455, "name": "StructuredDocumentation", - "src": "13541:260:1" + "src": "13941:269:0" }, { "children": [ @@ -43046,7 +43046,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43058,21 +43058,21 @@ "name": "uint256", "type": "uint256" }, - "id": 964, + "id": 456, "name": "ElementaryTypeName", - "src": "13819:7:1" + "src": "14229:7:0" } ], - "id": 965, + "id": 457, "name": "VariableDeclaration", - "src": "13819:9:1" + "src": "14229:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43084,19 +43084,19 @@ "name": "uint256", "type": "uint256" }, - "id": 966, + "id": 458, "name": "ElementaryTypeName", - "src": "13830:7:1" + "src": "14240:7:0" } ], - "id": 967, + "id": 459, "name": "VariableDeclaration", - "src": "13830:9:1" + "src": "14240:9:0" } ], - "id": 968, + "id": 460, "name": "ParameterList", - "src": "13818:22:1" + "src": "14228:22:0" }, { "children": [ @@ -43105,7 +43105,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43117,19 +43117,19 @@ "name": "uint256", "type": "uint256" }, - "id": 969, + "id": 461, "name": "ElementaryTypeName", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 970, + "id": 462, "name": "VariableDeclaration", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 971, + "id": 463, "name": "ParameterList", - "src": "13863:9:1" + "src": "14273:9:0" }, { "children": [ @@ -43170,9 +43170,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 972, + "id": 464, "name": "Identifier", - "src": "13883:7:1" + "src": "14294:7:0" }, { "attributes": { @@ -43193,31 +43193,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 973, + "id": 465, "name": "Identifier", - "src": "13891:1:1" + "src": "14302:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 974, + "id": 466, "name": "Identifier", - "src": "13896:1:1" + "src": "14307:1:0" } ], - "id": 975, + "id": 467, "name": "BinaryOperation", - "src": "13891:6:1" + "src": "14302:6:0" }, { "attributes": { @@ -43230,23 +43230,23 @@ "type": "literal_string \"SafeMath: subtraction overflow\"", "value": "SafeMath: subtraction overflow" }, - "id": 976, + "id": 468, "name": "Literal", - "src": "13899:32:1" + "src": "14310:32:0" } ], - "id": 977, + "id": 469, "name": "FunctionCall", - "src": "13883:49:1" + "src": "14294:49:0" } ], - "id": 978, + "id": 470, "name": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "attributes": { - "functionReturnParameters": 971 + "functionReturnParameters": 463 }, "children": [ { @@ -43268,46 +43268,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 979, + "id": 471, "name": "Identifier", - "src": "13949:1:1" + "src": "14361:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 980, + "id": 472, "name": "Identifier", - "src": "13953:1:1" + "src": "14365:1:0" } ], - "id": 981, + "id": 473, "name": "BinaryOperation", - "src": "13949:5:1" + "src": "14361:5:0" } ], - "id": 982, + "id": 474, "name": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ], - "id": 983, + "id": 475, "name": "Block", - "src": "13873:88:1" + "src": "14283:91:0" } ], - "id": 984, + "id": 476, "name": "FunctionDefinition", - "src": "13806:155:1" + "src": "14216:158:0" }, { "attributes": { @@ -43318,7 +43318,7 @@ null ], "name": "mul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43328,9 +43328,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 985, + "id": 477, "name": "StructuredDocumentation", - "src": "13967:236:1" + "src": "14382:245:0" }, { "children": [ @@ -43339,7 +43339,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43351,21 +43351,21 @@ "name": "uint256", "type": "uint256" }, - "id": 986, + "id": 478, "name": "ElementaryTypeName", - "src": "14221:7:1" + "src": "14646:7:0" } ], - "id": 987, + "id": 479, "name": "VariableDeclaration", - "src": "14221:9:1" + "src": "14646:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43377,19 +43377,19 @@ "name": "uint256", "type": "uint256" }, - "id": 988, + "id": 480, "name": "ElementaryTypeName", - "src": "14232:7:1" + "src": "14657:7:0" } ], - "id": 989, + "id": 481, "name": "VariableDeclaration", - "src": "14232:9:1" + "src": "14657:9:0" } ], - "id": 990, + "id": 482, "name": "ParameterList", - "src": "14220:22:1" + "src": "14645:22:0" }, { "children": [ @@ -43398,7 +43398,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43410,19 +43410,19 @@ "name": "uint256", "type": "uint256" }, - "id": 991, + "id": 483, "name": "ElementaryTypeName", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 992, + "id": 484, "name": "VariableDeclaration", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 993, + "id": 485, "name": "ParameterList", - "src": "14265:9:1" + "src": "14690:9:0" }, { "children": [ @@ -43448,13 +43448,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 994, + "id": 486, "name": "Identifier", - "src": "14289:1:1" + "src": "14715:1:0" }, { "attributes": { @@ -43467,18 +43467,18 @@ "type": "int_const 0", "value": "0" }, - "id": 995, + "id": 487, "name": "Literal", - "src": "14294:1:1" + "src": "14720:1:0" } ], - "id": 996, + "id": 488, "name": "BinaryOperation", - "src": "14289:6:1" + "src": "14715:6:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43492,24 +43492,24 @@ "type": "int_const 0", "value": "0" }, - "id": 997, + "id": 489, "name": "Literal", - "src": "14304:1:1" + "src": "14730:1:0" } ], - "id": 998, + "id": 490, "name": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } ], - "id": 999, + "id": 491, "name": "IfStatement", - "src": "14285:20:1" + "src": "14711:20:0" }, { "attributes": { "assignments": [ - 1001 + 493 ] }, "children": [ @@ -43518,7 +43518,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 1017, + "scope": 509, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43530,14 +43530,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1000, + "id": 492, "name": "ElementaryTypeName", - "src": "14315:7:1" + "src": "14742:7:0" } ], - "id": 1001, + "id": 493, "name": "VariableDeclaration", - "src": "14315:9:1" + "src": "14742:9:0" }, { "attributes": { @@ -43558,36 +43558,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1002, + "id": 494, "name": "Identifier", - "src": "14327:1:1" + "src": "14754:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1003, + "id": 495, "name": "Identifier", - "src": "14331:1:1" + "src": "14758:1:0" } ], - "id": 1004, + "id": 496, "name": "BinaryOperation", - "src": "14327:5:1" + "src": "14754:5:0" } ], - "id": 1005, + "id": 497, "name": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "children": [ @@ -43626,9 +43626,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1006, + "id": 498, "name": "Identifier", - "src": "14342:7:1" + "src": "14770:7:0" }, { "attributes": { @@ -43663,49 +43663,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1007, + "id": 499, "name": "Identifier", - "src": "14350:1:1" + "src": "14778:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1008, + "id": 500, "name": "Identifier", - "src": "14354:1:1" + "src": "14782:1:0" } ], - "id": 1009, + "id": 501, "name": "BinaryOperation", - "src": "14350:5:1" + "src": "14778:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1010, + "id": 502, "name": "Identifier", - "src": "14359:1:1" + "src": "14787:1:0" } ], - "id": 1011, + "id": 503, "name": "BinaryOperation", - "src": "14350:10:1" + "src": "14778:10:0" }, { "attributes": { @@ -43718,23 +43718,23 @@ "type": "literal_string \"SafeMath: multiplication overflow\"", "value": "SafeMath: multiplication overflow" }, - "id": 1012, + "id": 504, "name": "Literal", - "src": "14362:35:1" + "src": "14790:35:0" } ], - "id": 1013, + "id": 505, "name": "FunctionCall", - "src": "14342:56:1" + "src": "14770:56:0" } ], - "id": 1014, + "id": 506, "name": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43742,28 +43742,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1015, + "id": 507, "name": "Identifier", - "src": "14415:1:1" + "src": "14844:1:0" } ], - "id": 1016, + "id": 508, "name": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ], - "id": 1017, + "id": 509, "name": "Block", - "src": "14275:148:1" + "src": "14700:153:0" } ], - "id": 1018, + "id": 510, "name": "FunctionDefinition", - "src": "14208:215:1" + "src": "14633:220:0" }, { "attributes": { @@ -43774,7 +43774,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43784,9 +43784,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1019, + "id": 511, "name": "StructuredDocumentation", - "src": "14429:453:1" + "src": "14861:464:0" }, { "children": [ @@ -43795,7 +43795,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43807,21 +43807,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1020, + "id": 512, "name": "ElementaryTypeName", - "src": "14900:7:1" + "src": "15344:7:0" } ], - "id": 1021, + "id": 513, "name": "VariableDeclaration", - "src": "14900:9:1" + "src": "15344:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43833,19 +43833,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1022, + "id": 514, "name": "ElementaryTypeName", - "src": "14911:7:1" + "src": "15355:7:0" } ], - "id": 1023, + "id": 515, "name": "VariableDeclaration", - "src": "14911:9:1" + "src": "15355:9:0" } ], - "id": 1024, + "id": 516, "name": "ParameterList", - "src": "14899:22:1" + "src": "15343:22:0" }, { "children": [ @@ -43854,7 +43854,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43866,19 +43866,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1025, + "id": 517, "name": "ElementaryTypeName", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1026, + "id": 518, "name": "VariableDeclaration", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1027, + "id": 519, "name": "ParameterList", - "src": "14944:9:1" + "src": "15388:9:0" }, { "children": [ @@ -43919,9 +43919,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1028, + "id": 520, "name": "Identifier", - "src": "14964:7:1" + "src": "15409:7:0" }, { "attributes": { @@ -43942,13 +43942,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1029, + "id": 521, "name": "Identifier", - "src": "14972:1:1" + "src": "15417:1:0" }, { "attributes": { @@ -43961,14 +43961,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1030, + "id": 522, "name": "Literal", - "src": "14976:1:1" + "src": "15421:1:0" } ], - "id": 1031, + "id": 523, "name": "BinaryOperation", - "src": "14972:5:1" + "src": "15417:5:0" }, { "attributes": { @@ -43981,23 +43981,23 @@ "type": "literal_string \"SafeMath: division by zero\"", "value": "SafeMath: division by zero" }, - "id": 1032, + "id": 524, "name": "Literal", - "src": "14979:28:1" + "src": "15424:28:0" } ], - "id": 1033, + "id": 525, "name": "FunctionCall", - "src": "14964:44:1" + "src": "15409:44:0" } ], - "id": 1034, + "id": 526, "name": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "attributes": { - "functionReturnParameters": 1027 + "functionReturnParameters": 519 }, "children": [ { @@ -44019,46 +44019,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1021, + "referencedDeclaration": 513, "type": "uint256", "value": "a" }, - "id": 1035, + "id": 527, "name": "Identifier", - "src": "15025:1:1" + "src": "15471:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1036, + "id": 528, "name": "Identifier", - "src": "15029:1:1" + "src": "15475:1:0" } ], - "id": 1037, + "id": 529, "name": "BinaryOperation", - "src": "15025:5:1" + "src": "15471:5:0" } ], - "id": 1038, + "id": 530, "name": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ], - "id": 1039, + "id": 531, "name": "Block", - "src": "14954:83:1" + "src": "15398:86:0" } ], - "id": 1040, + "id": 532, "name": "FunctionDefinition", - "src": "14887:150:1" + "src": "15331:153:0" }, { "attributes": { @@ -44069,7 +44069,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44079,9 +44079,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1041, + "id": 533, "name": "StructuredDocumentation", - "src": "15043:442:1" + "src": "15492:453:0" }, { "children": [ @@ -44090,7 +44090,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44102,21 +44102,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1042, + "id": 534, "name": "ElementaryTypeName", - "src": "15503:7:1" + "src": "15964:7:0" } ], - "id": 1043, + "id": 535, "name": "VariableDeclaration", - "src": "15503:9:1" + "src": "15964:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44128,19 +44128,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1044, + "id": 536, "name": "ElementaryTypeName", - "src": "15514:7:1" + "src": "15975:7:0" } ], - "id": 1045, + "id": 537, "name": "VariableDeclaration", - "src": "15514:9:1" + "src": "15975:9:0" } ], - "id": 1046, + "id": 538, "name": "ParameterList", - "src": "15502:22:1" + "src": "15963:22:0" }, { "children": [ @@ -44149,7 +44149,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44161,19 +44161,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1047, + "id": 539, "name": "ElementaryTypeName", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1048, + "id": 540, "name": "VariableDeclaration", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1049, + "id": 541, "name": "ParameterList", - "src": "15547:9:1" + "src": "16008:9:0" }, { "children": [ @@ -44214,9 +44214,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1050, + "id": 542, "name": "Identifier", - "src": "15567:7:1" + "src": "16029:7:0" }, { "attributes": { @@ -44237,13 +44237,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1051, + "id": 543, "name": "Identifier", - "src": "15575:1:1" + "src": "16037:1:0" }, { "attributes": { @@ -44256,14 +44256,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1052, + "id": 544, "name": "Literal", - "src": "15579:1:1" + "src": "16041:1:0" } ], - "id": 1053, + "id": 545, "name": "BinaryOperation", - "src": "15575:5:1" + "src": "16037:5:0" }, { "attributes": { @@ -44276,23 +44276,23 @@ "type": "literal_string \"SafeMath: modulo by zero\"", "value": "SafeMath: modulo by zero" }, - "id": 1054, + "id": 546, "name": "Literal", - "src": "15582:26:1" + "src": "16044:26:0" } ], - "id": 1055, + "id": 547, "name": "FunctionCall", - "src": "15567:42:1" + "src": "16029:42:0" } ], - "id": 1056, + "id": 548, "name": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "attributes": { - "functionReturnParameters": 1049 + "functionReturnParameters": 541 }, "children": [ { @@ -44314,46 +44314,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1043, + "referencedDeclaration": 535, "type": "uint256", "value": "a" }, - "id": 1057, + "id": 549, "name": "Identifier", - "src": "15626:1:1" + "src": "16089:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1058, + "id": 550, "name": "Identifier", - "src": "15630:1:1" + "src": "16093:1:0" } ], - "id": 1059, + "id": 551, "name": "BinaryOperation", - "src": "15626:5:1" + "src": "16089:5:0" } ], - "id": 1060, + "id": 552, "name": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ], - "id": 1061, + "id": 553, "name": "Block", - "src": "15557:81:1" + "src": "16018:84:0" } ], - "id": 1062, + "id": 554, "name": "FunctionDefinition", - "src": "15490:148:1" + "src": "15951:151:0" }, { "attributes": { @@ -44364,7 +44364,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44374,9 +44374,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1063, + "id": 555, "name": "StructuredDocumentation", - "src": "15644:453:1" + "src": "16110:465:0" }, { "children": [ @@ -44385,7 +44385,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44397,21 +44397,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1064, + "id": 556, "name": "ElementaryTypeName", - "src": "16115:7:1" + "src": "16594:7:0" } ], - "id": 1065, + "id": 557, "name": "VariableDeclaration", - "src": "16115:9:1" + "src": "16594:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44423,21 +44423,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1066, + "id": 558, "name": "ElementaryTypeName", - "src": "16126:7:1" + "src": "16605:7:0" } ], - "id": 1067, + "id": 559, "name": "VariableDeclaration", - "src": "16126:9:1" + "src": "16605:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44449,19 +44449,19 @@ "name": "string", "type": "string" }, - "id": 1068, + "id": 560, "name": "ElementaryTypeName", - "src": "16137:6:1" + "src": "16616:6:0" } ], - "id": 1069, + "id": 561, "name": "VariableDeclaration", - "src": "16137:26:1" + "src": "16616:26:0" } ], - "id": 1070, + "id": 562, "name": "ParameterList", - "src": "16114:50:1" + "src": "16593:50:0" }, { "children": [ @@ -44470,7 +44470,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44482,19 +44482,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1071, + "id": 563, "name": "ElementaryTypeName", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1072, + "id": 564, "name": "VariableDeclaration", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1073, + "id": 565, "name": "ParameterList", - "src": "16187:9:1" + "src": "16666:9:0" }, { "children": [ @@ -44535,9 +44535,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1074, + "id": 566, "name": "Identifier", - "src": "16207:7:1" + "src": "16687:7:0" }, { "attributes": { @@ -44558,58 +44558,58 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1075, + "id": 567, "name": "Identifier", - "src": "16215:1:1" + "src": "16695:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1076, + "id": 568, "name": "Identifier", - "src": "16220:1:1" + "src": "16700:1:0" } ], - "id": 1077, + "id": 569, "name": "BinaryOperation", - "src": "16215:6:1" + "src": "16695:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1069, + "referencedDeclaration": 561, "type": "string memory", "value": "errorMessage" }, - "id": 1078, + "id": 570, "name": "Identifier", - "src": "16223:12:1" + "src": "16703:12:0" } ], - "id": 1079, + "id": 571, "name": "FunctionCall", - "src": "16207:29:1" + "src": "16687:29:0" } ], - "id": 1080, + "id": 572, "name": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "attributes": { - "functionReturnParameters": 1073 + "functionReturnParameters": 565 }, "children": [ { @@ -44631,46 +44631,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1081, + "id": 573, "name": "Identifier", - "src": "16253:1:1" + "src": "16734:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1082, + "id": 574, "name": "Identifier", - "src": "16257:1:1" + "src": "16738:1:0" } ], - "id": 1083, + "id": 575, "name": "BinaryOperation", - "src": "16253:5:1" + "src": "16734:5:0" } ], - "id": 1084, + "id": 576, "name": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ], - "id": 1085, + "id": 577, "name": "Block", - "src": "16197:68:1" + "src": "16676:71:0" } ], - "id": 1086, + "id": 578, "name": "FunctionDefinition", - "src": "16102:163:1" + "src": "16581:166:0" }, { "attributes": { @@ -44681,7 +44681,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44691,9 +44691,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1087, + "id": 579, "name": "StructuredDocumentation", - "src": "16271:646:1" + "src": "16755:660:0" }, { "children": [ @@ -44702,7 +44702,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44714,21 +44714,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1088, + "id": 580, "name": "ElementaryTypeName", - "src": "16935:7:1" + "src": "17434:7:0" } ], - "id": 1089, + "id": 581, "name": "VariableDeclaration", - "src": "16935:9:1" + "src": "17434:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44740,21 +44740,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1090, + "id": 582, "name": "ElementaryTypeName", - "src": "16946:7:1" + "src": "17445:7:0" } ], - "id": 1091, + "id": 583, "name": "VariableDeclaration", - "src": "16946:9:1" + "src": "17445:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44766,19 +44766,19 @@ "name": "string", "type": "string" }, - "id": 1092, + "id": 584, "name": "ElementaryTypeName", - "src": "16957:6:1" + "src": "17456:6:0" } ], - "id": 1093, + "id": 585, "name": "VariableDeclaration", - "src": "16957:26:1" + "src": "17456:26:0" } ], - "id": 1094, + "id": 586, "name": "ParameterList", - "src": "16934:50:1" + "src": "17433:50:0" }, { "children": [ @@ -44787,7 +44787,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44799,19 +44799,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1095, + "id": 587, "name": "ElementaryTypeName", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1096, + "id": 588, "name": "VariableDeclaration", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1097, + "id": 589, "name": "ParameterList", - "src": "17007:9:1" + "src": "17506:9:0" }, { "children": [ @@ -44852,9 +44852,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1098, + "id": 590, "name": "Identifier", - "src": "17027:7:1" + "src": "17527:7:0" }, { "attributes": { @@ -44875,13 +44875,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1099, + "id": 591, "name": "Identifier", - "src": "17035:1:1" + "src": "17535:1:0" }, { "attributes": { @@ -44894,41 +44894,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1100, + "id": 592, "name": "Literal", - "src": "17039:1:1" + "src": "17539:1:0" } ], - "id": 1101, + "id": 593, "name": "BinaryOperation", - "src": "17035:5:1" + "src": "17535:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1093, + "referencedDeclaration": 585, "type": "string memory", "value": "errorMessage" }, - "id": 1102, + "id": 594, "name": "Identifier", - "src": "17042:12:1" + "src": "17542:12:0" } ], - "id": 1103, + "id": 595, "name": "FunctionCall", - "src": "17027:28:1" + "src": "17527:28:0" } ], - "id": 1104, + "id": 596, "name": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "attributes": { - "functionReturnParameters": 1097 + "functionReturnParameters": 589 }, "children": [ { @@ -44950,46 +44950,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1089, + "referencedDeclaration": 581, "type": "uint256", "value": "a" }, - "id": 1105, + "id": 597, "name": "Identifier", - "src": "17072:1:1" + "src": "17573:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1106, + "id": 598, "name": "Identifier", - "src": "17076:1:1" + "src": "17577:1:0" } ], - "id": 1107, + "id": 599, "name": "BinaryOperation", - "src": "17072:5:1" + "src": "17573:5:0" } ], - "id": 1108, + "id": 600, "name": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ], - "id": 1109, + "id": 601, "name": "Block", - "src": "17017:67:1" + "src": "17516:70:0" } ], - "id": 1110, + "id": 602, "name": "FunctionDefinition", - "src": "16922:162:1" + "src": "17421:165:0" }, { "attributes": { @@ -45000,7 +45000,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -45010,9 +45010,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1111, + "id": 603, "name": "StructuredDocumentation", - "src": "17090:635:1" + "src": "17594:649:0" }, { "children": [ @@ -45021,7 +45021,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45033,21 +45033,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1112, + "id": 604, "name": "ElementaryTypeName", - "src": "17743:7:1" + "src": "18262:7:0" } ], - "id": 1113, + "id": 605, "name": "VariableDeclaration", - "src": "17743:9:1" + "src": "18262:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45059,21 +45059,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1114, + "id": 606, "name": "ElementaryTypeName", - "src": "17754:7:1" + "src": "18273:7:0" } ], - "id": 1115, + "id": 607, "name": "VariableDeclaration", - "src": "17754:9:1" + "src": "18273:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -45085,19 +45085,19 @@ "name": "string", "type": "string" }, - "id": 1116, + "id": 608, "name": "ElementaryTypeName", - "src": "17765:6:1" + "src": "18284:6:0" } ], - "id": 1117, + "id": 609, "name": "VariableDeclaration", - "src": "17765:26:1" + "src": "18284:26:0" } ], - "id": 1118, + "id": 610, "name": "ParameterList", - "src": "17742:50:1" + "src": "18261:50:0" }, { "children": [ @@ -45106,7 +45106,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45118,19 +45118,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1119, + "id": 611, "name": "ElementaryTypeName", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1120, + "id": 612, "name": "VariableDeclaration", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1121, + "id": 613, "name": "ParameterList", - "src": "17815:9:1" + "src": "18334:9:0" }, { "children": [ @@ -45171,9 +45171,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1122, + "id": 614, "name": "Identifier", - "src": "17835:7:1" + "src": "18355:7:0" }, { "attributes": { @@ -45194,13 +45194,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1123, + "id": 615, "name": "Identifier", - "src": "17843:1:1" + "src": "18363:1:0" }, { "attributes": { @@ -45213,41 +45213,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1124, + "id": 616, "name": "Literal", - "src": "17847:1:1" + "src": "18367:1:0" } ], - "id": 1125, + "id": 617, "name": "BinaryOperation", - "src": "17843:5:1" + "src": "18363:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1117, + "referencedDeclaration": 609, "type": "string memory", "value": "errorMessage" }, - "id": 1126, + "id": 618, "name": "Identifier", - "src": "17850:12:1" + "src": "18370:12:0" } ], - "id": 1127, + "id": 619, "name": "FunctionCall", - "src": "17835:28:1" + "src": "18355:28:0" } ], - "id": 1128, + "id": 620, "name": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "attributes": { - "functionReturnParameters": 1121 + "functionReturnParameters": 613 }, "children": [ { @@ -45269,51 +45269,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1113, + "referencedDeclaration": 605, "type": "uint256", "value": "a" }, - "id": 1129, + "id": 621, "name": "Identifier", - "src": "17880:1:1" + "src": "18401:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1130, + "id": 622, "name": "Identifier", - "src": "17884:1:1" + "src": "18405:1:0" } ], - "id": 1131, + "id": 623, "name": "BinaryOperation", - "src": "17880:5:1" + "src": "18401:5:0" } ], - "id": 1132, + "id": 624, "name": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ], - "id": 1133, + "id": 625, "name": "Block", - "src": "17825:67:1" + "src": "18344:70:0" } ], - "id": 1134, + "id": 626, "name": "FunctionDefinition", - "src": "17730:162:1" + "src": "18249:165:0" } ], - "id": 1135, + "id": 627, "name": "ContractDefinition", - "src": "11300:6594:1" + "src": "11627:6790:0" }, { "attributes": { @@ -45327,9 +45327,9 @@ ".0" ] }, - "id": 1136, + "id": 628, "name": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "attributes": { @@ -45343,19 +45343,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Collection of functions related to the address type" }, - "id": 1137, + "id": 629, "name": "StructuredDocumentation", - "src": "17980:67:1" + "src": "18508:69:0" }, { "attributes": { @@ -45366,7 +45366,7 @@ null ], "name": "isContract", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -45376,9 +45376,9 @@ "attributes": { "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1138, + "id": 630, "name": "StructuredDocumentation", - "src": "18070:565:1" + "src": "18602:581:0" }, { "children": [ @@ -45387,7 +45387,7 @@ "constant": false, "mutability": "mutable", "name": "account", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -45400,19 +45400,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1139, + "id": 631, "name": "ElementaryTypeName", - "src": "18660:7:1" + "src": "19209:7:0" } ], - "id": 1140, + "id": 632, "name": "VariableDeclaration", - "src": "18660:15:1" + "src": "19209:15:0" } ], - "id": 1141, + "id": 633, "name": "ParameterList", - "src": "18659:17:1" + "src": "19208:17:0" }, { "children": [ @@ -45421,7 +45421,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45433,26 +45433,26 @@ "name": "bool", "type": "bool" }, - "id": 1142, + "id": 634, "name": "ElementaryTypeName", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1143, + "id": 635, "name": "VariableDeclaration", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1144, + "id": 636, "name": "ParameterList", - "src": "18699:6:1" + "src": "19248:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1146 + 638 ] }, "children": [ @@ -45461,7 +45461,7 @@ "constant": false, "mutability": "mutable", "name": "size", - "scope": 1153, + "scope": 645, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45473,49 +45473,49 @@ "name": "uint256", "type": "uint256" }, - "id": 1145, + "id": 637, "name": "ElementaryTypeName", - "src": "18903:7:1" + "src": "19457:7:0" } ], - "id": 1146, + "id": 638, "name": "VariableDeclaration", - "src": "18903:12:1" + "src": "19457:12:0" } ], - "id": 1147, + "id": 639, "name": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "attributes": { "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], "operations": "{ size := extcodesize(account) }" }, "children": [], - "id": 1148, + "id": 640, "name": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "attributes": { - "functionReturnParameters": 1144 + "functionReturnParameters": 636 }, "children": [ { @@ -45537,13 +45537,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1146, + "referencedDeclaration": 638, "type": "uint256", "value": "size" }, - "id": 1149, + "id": 641, "name": "Identifier", - "src": "19038:4:1" + "src": "19595:4:0" }, { "attributes": { @@ -45556,29 +45556,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1150, + "id": 642, "name": "Literal", - "src": "19045:1:1" + "src": "19602:1:0" } ], - "id": 1151, + "id": 643, "name": "BinaryOperation", - "src": "19038:8:1" + "src": "19595:8:0" } ], - "id": 1152, + "id": 644, "name": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ], - "id": 1153, + "id": 645, "name": "Block", - "src": "18706:347:1" + "src": "19255:356:0" } ], - "id": 1154, + "id": 646, "name": "FunctionDefinition", - "src": "18640:413:1" + "src": "19189:422:0" }, { "attributes": { @@ -45589,7 +45589,7 @@ null ], "name": "sendValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -45599,9 +45599,9 @@ "attributes": { "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1155, + "id": 647, "name": "StructuredDocumentation", - "src": "19059:906:1" + "src": "19619:921:0" }, { "children": [ @@ -45610,7 +45610,7 @@ "constant": false, "mutability": "mutable", "name": "recipient", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -45623,21 +45623,21 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 1156, + "id": 648, "name": "ElementaryTypeName", - "src": "19989:15:1" + "src": "20565:15:0" } ], - "id": 1157, + "id": 649, "name": "VariableDeclaration", - "src": "19989:25:1" + "src": "20565:25:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "amount", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45649,19 +45649,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1158, + "id": 650, "name": "ElementaryTypeName", - "src": "20016:7:1" + "src": "20592:7:0" } ], - "id": 1159, + "id": 651, "name": "VariableDeclaration", - "src": "20016:14:1" + "src": "20592:14:0" } ], - "id": 1160, + "id": 652, "name": "ParameterList", - "src": "19988:43:1" + "src": "20564:43:0" }, { "attributes": { @@ -45670,9 +45670,9 @@ ] }, "children": [], - "id": 1161, + "id": 653, "name": "ParameterList", - "src": "20041:0:1" + "src": "20617:0:0" }, { "children": [ @@ -45713,9 +45713,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1162, + "id": 654, "name": "Identifier", - "src": "20051:7:1" + "src": "20628:7:0" }, { "attributes": { @@ -45760,7 +45760,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -45775,14 +45775,14 @@ "attributes": { "name": "address" }, - "id": 1163, + "id": 655, "name": "ElementaryTypeName", - "src": "20059:7:1" + "src": "20636:7:0" } ], - "id": 1164, + "id": 656, "name": "ElementaryTypeNameExpression", - "src": "20059:7:1" + "src": "20636:7:0" }, { "attributes": { @@ -45793,37 +45793,37 @@ "type": "library Address", "value": "this" }, - "id": 1165, + "id": 657, "name": "Identifier", - "src": "20067:4:1" + "src": "20644:4:0" } ], - "id": 1166, + "id": 658, "name": "FunctionCall", - "src": "20059:13:1" + "src": "20636:13:0" } ], - "id": 1167, + "id": 659, "name": "MemberAccess", - "src": "20059:21:1" + "src": "20636:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1168, + "id": 660, "name": "Identifier", - "src": "20084:6:1" + "src": "20661:6:0" } ], - "id": 1169, + "id": 661, "name": "BinaryOperation", - "src": "20059:31:1" + "src": "20636:31:0" }, { "attributes": { @@ -45836,24 +45836,24 @@ "type": "literal_string \"Address: insufficient balance\"", "value": "Address: insufficient balance" }, - "id": 1170, + "id": 662, "name": "Literal", - "src": "20092:31:1" + "src": "20669:31:0" } ], - "id": 1171, + "id": 663, "name": "FunctionCall", - "src": "20051:73:1" + "src": "20628:73:0" } ], - "id": 1172, + "id": 664, "name": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "attributes": { "assignments": [ - 1174, + 666, null ] }, @@ -45863,7 +45863,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1187, + "scope": 679, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45875,14 +45875,14 @@ "name": "bool", "type": "bool" }, - "id": 1173, + "id": 665, "name": "ElementaryTypeName", - "src": "20213:4:1" + "src": "20793:4:0" } ], - "id": 1174, + "id": 666, "name": "VariableDeclaration", - "src": "20213:12:1" + "src": "20793:12:0" }, { "attributes": { @@ -45938,36 +45938,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1157, + "referencedDeclaration": 649, "type": "address payable", "value": "recipient" }, - "id": 1175, + "id": 667, "name": "Identifier", - "src": "20231:9:1" + "src": "20811:9:0" } ], - "id": 1176, + "id": 668, "name": "MemberAccess", - "src": "20231:14:1" + "src": "20811:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1177, + "id": 669, "name": "Identifier", - "src": "20254:6:1" + "src": "20834:6:0" } ], - "id": 1178, + "id": 670, "name": "FunctionCallOptions", - "src": "20231:31:1" + "src": "20811:31:0" }, { "attributes": { @@ -45980,19 +45980,19 @@ "type": "literal_string \"\"", "value": "" }, - "id": 1179, + "id": 671, "name": "Literal", - "src": "20263:2:1" + "src": "20843:2:0" } ], - "id": 1180, + "id": 672, "name": "FunctionCall", - "src": "20231:35:1" + "src": "20811:35:0" } ], - "id": 1181, + "id": 673, "name": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "children": [ @@ -46031,22 +46031,22 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1182, + "id": 674, "name": "Identifier", - "src": "20276:7:1" + "src": "20857:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 666, "type": "bool", "value": "success" }, - "id": 1183, + "id": 675, "name": "Identifier", - "src": "20284:7:1" + "src": "20865:7:0" }, { "attributes": { @@ -46059,29 +46059,29 @@ "type": "literal_string \"Address: unable to send value, recipient may have reverted\"", "value": "Address: unable to send value, recipient may have reverted" }, - "id": 1184, + "id": 676, "name": "Literal", - "src": "20293:60:1" + "src": "20874:60:0" } ], - "id": 1185, + "id": 677, "name": "FunctionCall", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1186, + "id": 678, "name": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1187, + "id": 679, "name": "Block", - "src": "20041:320:1" + "src": "20617:326:0" } ], - "id": 1188, + "id": 680, "name": "FunctionDefinition", - "src": "19970:391:1" + "src": "20546:397:0" }, { "attributes": { @@ -46092,7 +46092,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46102,9 +46102,9 @@ "attributes": { "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1189, + "id": 681, "name": "StructuredDocumentation", - "src": "20367:730:1" + "src": "20951:747:0" }, { "children": [ @@ -46113,7 +46113,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46126,21 +46126,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1190, + "id": 682, "name": "ElementaryTypeName", - "src": "21124:7:1" + "src": "21726:7:0" } ], - "id": 1191, + "id": 683, "name": "VariableDeclaration", - "src": "21124:14:1" + "src": "21726:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46152,19 +46152,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1192, + "id": 684, "name": "ElementaryTypeName", - "src": "21140:5:1" + "src": "21742:5:0" } ], - "id": 1193, + "id": 685, "name": "VariableDeclaration", - "src": "21140:17:1" + "src": "21742:17:0" } ], - "id": 1194, + "id": 686, "name": "ParameterList", - "src": "21123:35:1" + "src": "21725:35:0" }, { "children": [ @@ -46173,7 +46173,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46185,25 +46185,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1195, + "id": 687, "name": "ElementaryTypeName", - "src": "21177:5:1" + "src": "21779:5:0" } ], - "id": 1196, + "id": 688, "name": "VariableDeclaration", - "src": "21177:12:1" + "src": "21779:12:0" } ], - "id": 1197, + "id": 689, "name": "ParameterList", - "src": "21176:14:1" + "src": "21778:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1197 + "functionReturnParameters": 689 }, "children": [ { @@ -46238,42 +46238,42 @@ } ], "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionCall" }, - "id": 1198, + "id": 690, "name": "Identifier", - "src": "21206:12:1" + "src": "21809:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1191, + "referencedDeclaration": 683, "type": "address", "value": "target" }, - "id": 1199, + "id": 691, "name": "Identifier", - "src": "21219:6:1" + "src": "21822:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1193, + "referencedDeclaration": 685, "type": "bytes memory", "value": "data" }, - "id": 1200, + "id": 692, "name": "Identifier", - "src": "21227:4:1" + "src": "21830:4:0" }, { "attributes": { @@ -46286,29 +46286,29 @@ "type": "literal_string \"Address: low-level call failed\"", "value": "Address: low-level call failed" }, - "id": 1201, + "id": 693, "name": "Literal", - "src": "21233:32:1" + "src": "21836:32:0" } ], - "id": 1202, + "id": 694, "name": "FunctionCall", - "src": "21206:60:1" + "src": "21809:60:0" } ], - "id": 1203, + "id": 695, "name": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ], - "id": 1204, + "id": 696, "name": "Block", - "src": "21191:82:1" + "src": "21793:84:0" } ], - "id": 1205, + "id": 697, "name": "FunctionDefinition", - "src": "21102:171:1" + "src": "21704:173:0" }, { "attributes": { @@ -46319,7 +46319,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46329,9 +46329,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1206, + "id": 698, "name": "StructuredDocumentation", - "src": "21279:211:1" + "src": "21885:216:0" }, { "children": [ @@ -46340,7 +46340,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46353,21 +46353,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1207, + "id": 699, "name": "ElementaryTypeName", - "src": "21517:7:1" + "src": "22129:7:0" } ], - "id": 1208, + "id": 700, "name": "VariableDeclaration", - "src": "21517:14:1" + "src": "22129:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46379,21 +46379,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1209, + "id": 701, "name": "ElementaryTypeName", - "src": "21533:5:1" + "src": "22145:5:0" } ], - "id": 1210, + "id": 702, "name": "VariableDeclaration", - "src": "21533:17:1" + "src": "22145:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -46405,19 +46405,19 @@ "name": "string", "type": "string" }, - "id": 1211, + "id": 703, "name": "ElementaryTypeName", - "src": "21552:6:1" + "src": "22164:6:0" } ], - "id": 1212, + "id": 704, "name": "VariableDeclaration", - "src": "21552:26:1" + "src": "22164:26:0" } ], - "id": 1213, + "id": 705, "name": "ParameterList", - "src": "21516:63:1" + "src": "22128:63:0" }, { "children": [ @@ -46426,7 +46426,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46438,25 +46438,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1214, + "id": 706, "name": "ElementaryTypeName", - "src": "21598:5:1" + "src": "22210:5:0" } ], - "id": 1215, + "id": 707, "name": "VariableDeclaration", - "src": "21598:12:1" + "src": "22210:12:0" } ], - "id": 1216, + "id": 708, "name": "ParameterList", - "src": "21597:14:1" + "src": "22209:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1216 + "functionReturnParameters": 708 }, "children": [ { @@ -46495,42 +46495,42 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1217, + "id": 709, "name": "Identifier", - "src": "21629:21:1" + "src": "22242:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1208, + "referencedDeclaration": 700, "type": "address", "value": "target" }, - "id": 1218, + "id": 710, "name": "Identifier", - "src": "21651:6:1" + "src": "22264:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1210, + "referencedDeclaration": 702, "type": "bytes memory", "value": "data" }, - "id": 1219, + "id": 711, "name": "Identifier", - "src": "21659:4:1" + "src": "22272:4:0" }, { "attributes": { @@ -46543,42 +46543,42 @@ "type": "int_const 0", "value": "0" }, - "id": 1220, + "id": 712, "name": "Literal", - "src": "21665:1:1" + "src": "22278:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1212, + "referencedDeclaration": 704, "type": "string memory", "value": "errorMessage" }, - "id": 1221, + "id": 713, "name": "Identifier", - "src": "21668:12:1" + "src": "22281:12:0" } ], - "id": 1222, + "id": 714, "name": "FunctionCall", - "src": "21629:52:1" + "src": "22242:52:0" } ], - "id": 1223, + "id": 715, "name": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ], - "id": 1224, + "id": 716, "name": "Block", - "src": "21612:76:1" + "src": "22224:78:0" } ], - "id": 1225, + "id": 717, "name": "FunctionDefinition", - "src": "21495:193:1" + "src": "22107:195:0" }, { "attributes": { @@ -46589,7 +46589,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46599,9 +46599,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1226, + "id": 718, "name": "StructuredDocumentation", - "src": "21694:351:1" + "src": "22310:361:0" }, { "children": [ @@ -46610,7 +46610,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46623,21 +46623,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1227, + "id": 719, "name": "ElementaryTypeName", - "src": "22081:7:1" + "src": "22708:7:0" } ], - "id": 1228, + "id": 720, "name": "VariableDeclaration", - "src": "22081:14:1" + "src": "22708:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46649,21 +46649,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1229, + "id": 721, "name": "ElementaryTypeName", - "src": "22097:5:1" + "src": "22724:5:0" } ], - "id": 1230, + "id": 722, "name": "VariableDeclaration", - "src": "22097:17:1" + "src": "22724:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -46675,19 +46675,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1231, + "id": 723, "name": "ElementaryTypeName", - "src": "22116:7:1" + "src": "22743:7:0" } ], - "id": 1232, + "id": 724, "name": "VariableDeclaration", - "src": "22116:13:1" + "src": "22743:13:0" } ], - "id": 1233, + "id": 725, "name": "ParameterList", - "src": "22080:50:1" + "src": "22707:50:0" }, { "children": [ @@ -46696,7 +46696,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46708,25 +46708,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1234, + "id": 726, "name": "ElementaryTypeName", - "src": "22149:5:1" + "src": "22776:5:0" } ], - "id": 1235, + "id": 727, "name": "VariableDeclaration", - "src": "22149:12:1" + "src": "22776:12:0" } ], - "id": 1236, + "id": 728, "name": "ParameterList", - "src": "22148:14:1" + "src": "22775:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1236 + "functionReturnParameters": 728 }, "children": [ { @@ -46765,55 +46765,55 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1237, + "id": 729, "name": "Identifier", - "src": "22180:21:1" + "src": "22808:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 720, "type": "address", "value": "target" }, - "id": 1238, + "id": 730, "name": "Identifier", - "src": "22202:6:1" + "src": "22830:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 722, "type": "bytes memory", "value": "data" }, - "id": 1239, + "id": 731, "name": "Identifier", - "src": "22210:4:1" + "src": "22838:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1232, + "referencedDeclaration": 724, "type": "uint256", "value": "value" }, - "id": 1240, + "id": 732, "name": "Identifier", - "src": "22216:5:1" + "src": "22844:5:0" }, { "attributes": { @@ -46826,29 +46826,29 @@ "type": "literal_string \"Address: low-level call with value failed\"", "value": "Address: low-level call with value failed" }, - "id": 1241, + "id": 733, "name": "Literal", - "src": "22223:43:1" + "src": "22851:43:0" } ], - "id": 1242, + "id": 734, "name": "FunctionCall", - "src": "22180:87:1" + "src": "22808:87:0" } ], - "id": 1243, + "id": 735, "name": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ], - "id": 1244, + "id": 736, "name": "Block", - "src": "22163:111:1" + "src": "22790:113:0" } ], - "id": 1245, + "id": 737, "name": "FunctionDefinition", - "src": "22050:224:1" + "src": "22677:226:0" }, { "attributes": { @@ -46859,7 +46859,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46869,9 +46869,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1246, + "id": 738, "name": "StructuredDocumentation", - "src": "22280:237:1" + "src": "22911:242:0" }, { "children": [ @@ -46880,7 +46880,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46893,21 +46893,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1247, + "id": 739, "name": "ElementaryTypeName", - "src": "22553:7:1" + "src": "23190:7:0" } ], - "id": 1248, + "id": 740, "name": "VariableDeclaration", - "src": "22553:14:1" + "src": "23190:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46919,21 +46919,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1249, + "id": 741, "name": "ElementaryTypeName", - "src": "22569:5:1" + "src": "23206:5:0" } ], - "id": 1250, + "id": 742, "name": "VariableDeclaration", - "src": "22569:17:1" + "src": "23206:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -46945,21 +46945,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1251, + "id": 743, "name": "ElementaryTypeName", - "src": "22588:7:1" + "src": "23225:7:0" } ], - "id": 1252, + "id": 744, "name": "VariableDeclaration", - "src": "22588:13:1" + "src": "23225:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -46971,19 +46971,19 @@ "name": "string", "type": "string" }, - "id": 1253, + "id": 745, "name": "ElementaryTypeName", - "src": "22603:6:1" + "src": "23240:6:0" } ], - "id": 1254, + "id": 746, "name": "VariableDeclaration", - "src": "22603:26:1" + "src": "23240:26:0" } ], - "id": 1255, + "id": 747, "name": "ParameterList", - "src": "22552:78:1" + "src": "23189:78:0" }, { "children": [ @@ -46992,7 +46992,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47004,19 +47004,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1256, + "id": 748, "name": "ElementaryTypeName", - "src": "22649:5:1" + "src": "23286:5:0" } ], - "id": 1257, + "id": 749, "name": "VariableDeclaration", - "src": "22649:12:1" + "src": "23286:12:0" } ], - "id": 1258, + "id": 750, "name": "ParameterList", - "src": "22648:14:1" + "src": "23285:14:0" }, { "children": [ @@ -47057,9 +47057,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1259, + "id": 751, "name": "Identifier", - "src": "22673:7:1" + "src": "23311:7:0" }, { "attributes": { @@ -47104,7 +47104,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -47119,14 +47119,14 @@ "attributes": { "name": "address" }, - "id": 1260, + "id": 752, "name": "ElementaryTypeName", - "src": "22681:7:1" + "src": "23319:7:0" } ], - "id": 1261, + "id": 753, "name": "ElementaryTypeNameExpression", - "src": "22681:7:1" + "src": "23319:7:0" }, { "attributes": { @@ -47137,37 +47137,37 @@ "type": "library Address", "value": "this" }, - "id": 1262, + "id": 754, "name": "Identifier", - "src": "22689:4:1" + "src": "23327:4:0" } ], - "id": 1263, + "id": 755, "name": "FunctionCall", - "src": "22681:13:1" + "src": "23319:13:0" } ], - "id": 1264, + "id": 756, "name": "MemberAccess", - "src": "22681:21:1" + "src": "23319:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1265, + "id": 757, "name": "Identifier", - "src": "22706:5:1" + "src": "23344:5:0" } ], - "id": 1266, + "id": 758, "name": "BinaryOperation", - "src": "22681:30:1" + "src": "23319:30:0" }, { "attributes": { @@ -47180,19 +47180,19 @@ "type": "literal_string \"Address: insufficient balance for call\"", "value": "Address: insufficient balance for call" }, - "id": 1267, + "id": 759, "name": "Literal", - "src": "22713:40:1" + "src": "23351:40:0" } ], - "id": 1268, + "id": 760, "name": "FunctionCall", - "src": "22673:81:1" + "src": "23311:81:0" } ], - "id": 1269, + "id": 761, "name": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "children": [ @@ -47231,9 +47231,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1270, + "id": 762, "name": "Identifier", - "src": "22764:7:1" + "src": "23403:7:0" }, { "attributes": { @@ -47261,31 +47261,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1271, + "id": 763, "name": "Identifier", - "src": "22772:10:1" + "src": "23411:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1272, + "id": 764, "name": "Identifier", - "src": "22783:6:1" + "src": "23422:6:0" } ], - "id": 1273, + "id": 765, "name": "FunctionCall", - "src": "22772:18:1" + "src": "23411:18:0" }, { "attributes": { @@ -47298,25 +47298,25 @@ "type": "literal_string \"Address: call to non-contract\"", "value": "Address: call to non-contract" }, - "id": 1274, + "id": 766, "name": "Literal", - "src": "22792:31:1" + "src": "23431:31:0" } ], - "id": 1275, + "id": 767, "name": "FunctionCall", - "src": "22764:60:1" + "src": "23403:60:0" } ], - "id": 1276, + "id": 768, "name": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "attributes": { "assignments": [ - 1278, - 1280 + 770, + 772 ] }, "children": [ @@ -47325,7 +47325,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -47337,21 +47337,21 @@ "name": "bool", "type": "bool" }, - "id": 1277, + "id": 769, "name": "ElementaryTypeName", - "src": "22895:4:1" + "src": "23537:4:0" } ], - "id": 1278, + "id": 770, "name": "VariableDeclaration", - "src": "22895:12:1" + "src": "23537:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47363,14 +47363,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1279, + "id": 771, "name": "ElementaryTypeName", - "src": "22909:5:1" + "src": "23551:5:0" } ], - "id": 1280, + "id": 772, "name": "VariableDeclaration", - "src": "22909:23:1" + "src": "23551:23:0" }, { "attributes": { @@ -47426,63 +47426,63 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1281, + "id": 773, "name": "Identifier", - "src": "22936:6:1" + "src": "23578:6:0" } ], - "id": 1282, + "id": 774, "name": "MemberAccess", - "src": "22936:11:1" + "src": "23578:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1283, + "id": 775, "name": "Identifier", - "src": "22956:5:1" + "src": "23598:5:0" } ], - "id": 1284, + "id": 776, "name": "FunctionCallOptions", - "src": "22936:27:1" + "src": "23578:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1250, + "referencedDeclaration": 742, "type": "bytes memory", "value": "data" }, - "id": 1285, + "id": 777, "name": "Identifier", - "src": "22964:4:1" + "src": "23606:4:0" } ], - "id": 1286, + "id": 778, "name": "FunctionCall", - "src": "22936:33:1" + "src": "23578:33:0" } ], - "id": 1287, + "id": 779, "name": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "attributes": { - "functionReturnParameters": 1258 + "functionReturnParameters": 750 }, "children": [ { @@ -47519,72 +47519,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1288, + "id": 780, "name": "Identifier", - "src": "22986:17:1" + "src": "23629:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1278, + "referencedDeclaration": 770, "type": "bool", "value": "success" }, - "id": 1289, + "id": 781, "name": "Identifier", - "src": "23004:7:1" + "src": "23647:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1280, + "referencedDeclaration": 772, "type": "bytes memory", "value": "returndata" }, - "id": 1290, + "id": 782, "name": "Identifier", - "src": "23013:10:1" + "src": "23656:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 746, "type": "string memory", "value": "errorMessage" }, - "id": 1291, + "id": 783, "name": "Identifier", - "src": "23025:12:1" + "src": "23668:12:0" } ], - "id": 1292, + "id": 784, "name": "FunctionCall", - "src": "22986:52:1" + "src": "23629:52:0" } ], - "id": 1293, + "id": 785, "name": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ], - "id": 1294, + "id": 786, "name": "Block", - "src": "22663:382:1" + "src": "23300:389:0" } ], - "id": 1295, + "id": 787, "name": "FunctionDefinition", - "src": "22522:523:1" + "src": "23159:530:0" }, { "attributes": { @@ -47595,7 +47595,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -47605,9 +47605,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1296, + "id": 788, "name": "StructuredDocumentation", - "src": "23051:166:1" + "src": "23697:171:0" }, { "children": [ @@ -47616,7 +47616,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47629,21 +47629,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1297, + "id": 789, "name": "ElementaryTypeName", - "src": "23250:7:1" + "src": "23902:7:0" } ], - "id": 1298, + "id": 790, "name": "VariableDeclaration", - "src": "23250:14:1" + "src": "23902:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47655,19 +47655,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1299, + "id": 791, "name": "ElementaryTypeName", - "src": "23266:5:1" + "src": "23918:5:0" } ], - "id": 1300, + "id": 792, "name": "VariableDeclaration", - "src": "23266:17:1" + "src": "23918:17:0" } ], - "id": 1301, + "id": 793, "name": "ParameterList", - "src": "23249:35:1" + "src": "23901:35:0" }, { "children": [ @@ -47676,7 +47676,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47688,25 +47688,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1302, + "id": 794, "name": "ElementaryTypeName", - "src": "23308:5:1" + "src": "23960:5:0" } ], - "id": 1303, + "id": 795, "name": "VariableDeclaration", - "src": "23308:12:1" + "src": "23960:12:0" } ], - "id": 1304, + "id": 796, "name": "ParameterList", - "src": "23307:14:1" + "src": "23959:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1304 + "functionReturnParameters": 796 }, "children": [ { @@ -47741,42 +47741,42 @@ } ], "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, + "referencedDeclaration": 839, "type": "function (address,bytes memory,string memory) view returns (bytes memory)", "value": "functionStaticCall" }, - "id": 1305, + "id": 797, "name": "Identifier", - "src": "23339:18:1" + "src": "23992:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1298, + "referencedDeclaration": 790, "type": "address", "value": "target" }, - "id": 1306, + "id": 798, "name": "Identifier", - "src": "23358:6:1" + "src": "24011:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1300, + "referencedDeclaration": 792, "type": "bytes memory", "value": "data" }, - "id": 1307, + "id": 799, "name": "Identifier", - "src": "23366:4:1" + "src": "24019:4:0" }, { "attributes": { @@ -47789,29 +47789,29 @@ "type": "literal_string \"Address: low-level static call failed\"", "value": "Address: low-level static call failed" }, - "id": 1308, + "id": 800, "name": "Literal", - "src": "23372:39:1" + "src": "24025:39:0" } ], - "id": 1309, + "id": 801, "name": "FunctionCall", - "src": "23339:73:1" + "src": "23992:73:0" } ], - "id": 1310, + "id": 802, "name": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ], - "id": 1311, + "id": 803, "name": "Block", - "src": "23322:97:1" + "src": "23974:99:0" } ], - "id": 1312, + "id": 804, "name": "FunctionDefinition", - "src": "23222:197:1" + "src": "23874:199:0" }, { "attributes": { @@ -47822,7 +47822,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -47832,9 +47832,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1313, + "id": 805, "name": "StructuredDocumentation", - "src": "23425:173:1" + "src": "24081:178:0" }, { "children": [ @@ -47843,7 +47843,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47856,21 +47856,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1314, + "id": 806, "name": "ElementaryTypeName", - "src": "23631:7:1" + "src": "24293:7:0" } ], - "id": 1315, + "id": 807, "name": "VariableDeclaration", - "src": "23631:14:1" + "src": "24293:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47882,21 +47882,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1316, + "id": 808, "name": "ElementaryTypeName", - "src": "23647:5:1" + "src": "24309:5:0" } ], - "id": 1317, + "id": 809, "name": "VariableDeclaration", - "src": "23647:17:1" + "src": "24309:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -47908,19 +47908,19 @@ "name": "string", "type": "string" }, - "id": 1318, + "id": 810, "name": "ElementaryTypeName", - "src": "23666:6:1" + "src": "24328:6:0" } ], - "id": 1319, + "id": 811, "name": "VariableDeclaration", - "src": "23666:26:1" + "src": "24328:26:0" } ], - "id": 1320, + "id": 812, "name": "ParameterList", - "src": "23630:63:1" + "src": "24292:63:0" }, { "children": [ @@ -47929,7 +47929,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47941,19 +47941,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1321, + "id": 813, "name": "ElementaryTypeName", - "src": "23717:5:1" + "src": "24379:5:0" } ], - "id": 1322, + "id": 814, "name": "VariableDeclaration", - "src": "23717:12:1" + "src": "24379:12:0" } ], - "id": 1323, + "id": 815, "name": "ParameterList", - "src": "23716:14:1" + "src": "24378:14:0" }, { "children": [ @@ -47994,9 +47994,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1324, + "id": 816, "name": "Identifier", - "src": "23741:7:1" + "src": "24404:7:0" }, { "attributes": { @@ -48024,31 +48024,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1325, + "id": 817, "name": "Identifier", - "src": "23749:10:1" + "src": "24412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1326, + "id": 818, "name": "Identifier", - "src": "23760:6:1" + "src": "24423:6:0" } ], - "id": 1327, + "id": 819, "name": "FunctionCall", - "src": "23749:18:1" + "src": "24412:18:0" }, { "attributes": { @@ -48061,25 +48061,25 @@ "type": "literal_string \"Address: static call to non-contract\"", "value": "Address: static call to non-contract" }, - "id": 1328, + "id": 820, "name": "Literal", - "src": "23769:38:1" + "src": "24432:38:0" } ], - "id": 1329, + "id": 821, "name": "FunctionCall", - "src": "23741:67:1" + "src": "24404:67:0" } ], - "id": 1330, + "id": 822, "name": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "attributes": { "assignments": [ - 1332, - 1334 + 824, + 826 ] }, "children": [ @@ -48088,7 +48088,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48100,21 +48100,21 @@ "name": "bool", "type": "bool" }, - "id": 1331, + "id": 823, "name": "ElementaryTypeName", - "src": "23879:4:1" + "src": "24545:4:0" } ], - "id": 1332, + "id": 824, "name": "VariableDeclaration", - "src": "23879:12:1" + "src": "24545:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48126,14 +48126,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1333, + "id": 825, "name": "ElementaryTypeName", - "src": "23893:5:1" + "src": "24559:5:0" } ], - "id": 1334, + "id": 826, "name": "VariableDeclaration", - "src": "23893:23:1" + "src": "24559:23:0" }, { "attributes": { @@ -48171,45 +48171,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1335, + "id": 827, "name": "Identifier", - "src": "23920:6:1" + "src": "24586:6:0" } ], - "id": 1336, + "id": 828, "name": "MemberAccess", - "src": "23920:17:1" + "src": "24586:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1317, + "referencedDeclaration": 809, "type": "bytes memory", "value": "data" }, - "id": 1337, + "id": 829, "name": "Identifier", - "src": "23938:4:1" + "src": "24604:4:0" } ], - "id": 1338, + "id": 830, "name": "FunctionCall", - "src": "23920:23:1" + "src": "24586:23:0" } ], - "id": 1339, + "id": 831, "name": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "attributes": { - "functionReturnParameters": 1323 + "functionReturnParameters": 815 }, "children": [ { @@ -48246,72 +48246,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1340, + "id": 832, "name": "Identifier", - "src": "23960:17:1" + "src": "24627:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1332, + "referencedDeclaration": 824, "type": "bool", "value": "success" }, - "id": 1341, + "id": 833, "name": "Identifier", - "src": "23978:7:1" + "src": "24645:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1334, + "referencedDeclaration": 826, "type": "bytes memory", "value": "returndata" }, - "id": 1342, + "id": 834, "name": "Identifier", - "src": "23987:10:1" + "src": "24654:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 811, "type": "string memory", "value": "errorMessage" }, - "id": 1343, + "id": 835, "name": "Identifier", - "src": "23999:12:1" + "src": "24666:12:0" } ], - "id": 1344, + "id": 836, "name": "FunctionCall", - "src": "23960:52:1" + "src": "24627:52:0" } ], - "id": 1345, + "id": 837, "name": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ], - "id": 1346, + "id": 838, "name": "Block", - "src": "23731:288:1" + "src": "24393:294:0" } ], - "id": 1347, + "id": 839, "name": "FunctionDefinition", - "src": "23603:416:1" + "src": "24265:422:0" }, { "attributes": { @@ -48322,7 +48322,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48332,9 +48332,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1348, + "id": 840, "name": "StructuredDocumentation", - "src": "24025:168:1" + "src": "24695:173:0" }, { "children": [ @@ -48343,7 +48343,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48356,21 +48356,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1349, + "id": 841, "name": "ElementaryTypeName", - "src": "24228:7:1" + "src": "24904:7:0" } ], - "id": 1350, + "id": 842, "name": "VariableDeclaration", - "src": "24228:14:1" + "src": "24904:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48382,19 +48382,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1351, + "id": 843, "name": "ElementaryTypeName", - "src": "24244:5:1" + "src": "24920:5:0" } ], - "id": 1352, + "id": 844, "name": "VariableDeclaration", - "src": "24244:17:1" + "src": "24920:17:0" } ], - "id": 1353, + "id": 845, "name": "ParameterList", - "src": "24227:35:1" + "src": "24903:35:0" }, { "children": [ @@ -48403,7 +48403,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48415,25 +48415,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1354, + "id": 846, "name": "ElementaryTypeName", - "src": "24281:5:1" + "src": "24957:5:0" } ], - "id": 1355, + "id": 847, "name": "VariableDeclaration", - "src": "24281:12:1" + "src": "24957:12:0" } ], - "id": 1356, + "id": 848, "name": "ParameterList", - "src": "24280:14:1" + "src": "24956:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1356 + "functionReturnParameters": 848 }, "children": [ { @@ -48468,42 +48468,42 @@ } ], "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, + "referencedDeclaration": 891, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionDelegateCall" }, - "id": 1357, + "id": 849, "name": "Identifier", - "src": "24312:20:1" + "src": "24989:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1350, + "referencedDeclaration": 842, "type": "address", "value": "target" }, - "id": 1358, + "id": 850, "name": "Identifier", - "src": "24333:6:1" + "src": "25010:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1352, + "referencedDeclaration": 844, "type": "bytes memory", "value": "data" }, - "id": 1359, + "id": 851, "name": "Identifier", - "src": "24341:4:1" + "src": "25018:4:0" }, { "attributes": { @@ -48516,29 +48516,29 @@ "type": "literal_string \"Address: low-level delegate call failed\"", "value": "Address: low-level delegate call failed" }, - "id": 1360, + "id": 852, "name": "Literal", - "src": "24347:41:1" + "src": "25024:41:0" } ], - "id": 1361, + "id": 853, "name": "FunctionCall", - "src": "24312:77:1" + "src": "24989:77:0" } ], - "id": 1362, + "id": 854, "name": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ], - "id": 1363, + "id": 855, "name": "Block", - "src": "24295:101:1" + "src": "24971:103:0" } ], - "id": 1364, + "id": 856, "name": "FunctionDefinition", - "src": "24198:198:1" + "src": "24874:200:0" }, { "attributes": { @@ -48549,7 +48549,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48559,9 +48559,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1365, + "id": 857, "name": "StructuredDocumentation", - "src": "24402:175:1" + "src": "25082:180:0" }, { "children": [ @@ -48570,7 +48570,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48583,21 +48583,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1366, + "id": 858, "name": "ElementaryTypeName", - "src": "24612:7:1" + "src": "25298:7:0" } ], - "id": 1367, + "id": 859, "name": "VariableDeclaration", - "src": "24612:14:1" + "src": "25298:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48609,21 +48609,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1368, + "id": 860, "name": "ElementaryTypeName", - "src": "24628:5:1" + "src": "25314:5:0" } ], - "id": 1369, + "id": 861, "name": "VariableDeclaration", - "src": "24628:17:1" + "src": "25314:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -48635,19 +48635,19 @@ "name": "string", "type": "string" }, - "id": 1370, + "id": 862, "name": "ElementaryTypeName", - "src": "24647:6:1" + "src": "25333:6:0" } ], - "id": 1371, + "id": 863, "name": "VariableDeclaration", - "src": "24647:26:1" + "src": "25333:26:0" } ], - "id": 1372, + "id": 864, "name": "ParameterList", - "src": "24611:63:1" + "src": "25297:63:0" }, { "children": [ @@ -48656,7 +48656,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48668,19 +48668,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1373, + "id": 865, "name": "ElementaryTypeName", - "src": "24693:5:1" + "src": "25379:5:0" } ], - "id": 1374, + "id": 866, "name": "VariableDeclaration", - "src": "24693:12:1" + "src": "25379:12:0" } ], - "id": 1375, + "id": 867, "name": "ParameterList", - "src": "24692:14:1" + "src": "25378:14:0" }, { "children": [ @@ -48721,9 +48721,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1376, + "id": 868, "name": "Identifier", - "src": "24717:7:1" + "src": "25404:7:0" }, { "attributes": { @@ -48751,31 +48751,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1377, + "id": 869, "name": "Identifier", - "src": "24725:10:1" + "src": "25412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1378, + "id": 870, "name": "Identifier", - "src": "24736:6:1" + "src": "25423:6:0" } ], - "id": 1379, + "id": 871, "name": "FunctionCall", - "src": "24725:18:1" + "src": "25412:18:0" }, { "attributes": { @@ -48788,25 +48788,25 @@ "type": "literal_string \"Address: delegate call to non-contract\"", "value": "Address: delegate call to non-contract" }, - "id": 1380, + "id": 872, "name": "Literal", - "src": "24745:40:1" + "src": "25432:40:0" } ], - "id": 1381, + "id": 873, "name": "FunctionCall", - "src": "24717:69:1" + "src": "25404:69:0" } ], - "id": 1382, + "id": 874, "name": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "attributes": { "assignments": [ - 1384, - 1386 + 876, + 878 ] }, "children": [ @@ -48815,7 +48815,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48827,21 +48827,21 @@ "name": "bool", "type": "bool" }, - "id": 1383, + "id": 875, "name": "ElementaryTypeName", - "src": "24857:4:1" + "src": "25547:4:0" } ], - "id": 1384, + "id": 876, "name": "VariableDeclaration", - "src": "24857:12:1" + "src": "25547:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48853,14 +48853,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1385, + "id": 877, "name": "ElementaryTypeName", - "src": "24871:5:1" + "src": "25561:5:0" } ], - "id": 1386, + "id": 878, "name": "VariableDeclaration", - "src": "24871:23:1" + "src": "25561:23:0" }, { "attributes": { @@ -48898,45 +48898,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1387, + "id": 879, "name": "Identifier", - "src": "24898:6:1" + "src": "25588:6:0" } ], - "id": 1388, + "id": 880, "name": "MemberAccess", - "src": "24898:19:1" + "src": "25588:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1369, + "referencedDeclaration": 861, "type": "bytes memory", "value": "data" }, - "id": 1389, + "id": 881, "name": "Identifier", - "src": "24918:4:1" + "src": "25608:4:0" } ], - "id": 1390, + "id": 882, "name": "FunctionCall", - "src": "24898:25:1" + "src": "25588:25:0" } ], - "id": 1391, + "id": 883, "name": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "attributes": { - "functionReturnParameters": 1375 + "functionReturnParameters": 867 }, "children": [ { @@ -48973,72 +48973,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1392, + "id": 884, "name": "Identifier", - "src": "24940:17:1" + "src": "25631:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1384, + "referencedDeclaration": 876, "type": "bool", "value": "success" }, - "id": 1393, + "id": 885, "name": "Identifier", - "src": "24958:7:1" + "src": "25649:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1386, + "referencedDeclaration": 878, "type": "bytes memory", "value": "returndata" }, - "id": 1394, + "id": 886, "name": "Identifier", - "src": "24967:10:1" + "src": "25658:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1371, + "referencedDeclaration": 863, "type": "string memory", "value": "errorMessage" }, - "id": 1395, + "id": 887, "name": "Identifier", - "src": "24979:12:1" + "src": "25670:12:0" } ], - "id": 1396, + "id": 888, "name": "FunctionCall", - "src": "24940:52:1" + "src": "25631:52:0" } ], - "id": 1397, + "id": 889, "name": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ], - "id": 1398, + "id": 890, "name": "Block", - "src": "24707:292:1" + "src": "25393:298:0" } ], - "id": 1399, + "id": 891, "name": "FunctionDefinition", - "src": "24582:417:1" + "src": "25268:423:0" }, { "attributes": { @@ -49049,7 +49049,7 @@ null ], "name": "_verifyCallResult", - "scope": 1430, + "scope": 922, "stateMutability": "pure", "virtual": false, "visibility": "private" @@ -49062,7 +49062,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49074,21 +49074,21 @@ "name": "bool", "type": "bool" }, - "id": 1400, + "id": 892, "name": "ElementaryTypeName", - "src": "25032:4:1" + "src": "25726:4:0" } ], - "id": 1401, + "id": 893, "name": "VariableDeclaration", - "src": "25032:12:1" + "src": "25726:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49100,21 +49100,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1402, + "id": 894, "name": "ElementaryTypeName", - "src": "25046:5:1" + "src": "25740:5:0" } ], - "id": 1403, + "id": 895, "name": "VariableDeclaration", - "src": "25046:23:1" + "src": "25740:23:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -49126,19 +49126,19 @@ "name": "string", "type": "string" }, - "id": 1404, + "id": 896, "name": "ElementaryTypeName", - "src": "25071:6:1" + "src": "25765:6:0" } ], - "id": 1405, + "id": 897, "name": "VariableDeclaration", - "src": "25071:26:1" + "src": "25765:26:0" } ], - "id": 1406, + "id": 898, "name": "ParameterList", - "src": "25031:67:1" + "src": "25725:67:0" }, { "children": [ @@ -49147,7 +49147,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49159,19 +49159,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1407, + "id": 899, "name": "ElementaryTypeName", - "src": "25120:5:1" + "src": "25814:5:0" } ], - "id": 1408, + "id": 900, "name": "VariableDeclaration", - "src": "25120:12:1" + "src": "25814:12:0" } ], - "id": 1409, + "id": 901, "name": "ParameterList", - "src": "25119:14:1" + "src": "25813:14:0" }, { "children": [ @@ -49182,19 +49182,19 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1401, + "referencedDeclaration": 893, "type": "bool", "value": "success" }, - "id": 1410, + "id": 902, "name": "Identifier", - "src": "25148:7:1" + "src": "25843:7:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1409 + "functionReturnParameters": 901 }, "children": [ { @@ -49202,23 +49202,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1411, + "id": 903, "name": "Identifier", - "src": "25178:10:1" + "src": "25874:10:0" } ], - "id": 1412, + "id": 904, "name": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ], - "id": 1413, + "id": 905, "name": "Block", - "src": "25157:42:1" + "src": "25852:44:0" }, { "children": [ @@ -49253,18 +49253,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1414, + "id": 906, "name": "Identifier", - "src": "25289:10:1" + "src": "25988:10:0" } ], - "id": 1415, + "id": 907, "name": "MemberAccess", - "src": "25289:17:1" + "src": "25988:17:0" }, { "attributes": { @@ -49277,14 +49277,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1416, + "id": 908, "name": "Literal", - "src": "25309:1:1" + "src": "26008:1:0" } ], - "id": 1417, + "id": 909, "name": "BinaryOperation", - "src": "25289:21:1" + "src": "25988:21:0" }, { "children": [ @@ -49293,31 +49293,31 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], "operations": "{\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n}" }, "children": [], - "id": 1418, + "id": 910, "name": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ], - "id": 1419, + "id": 911, "name": "Block", - "src": "25312:343:1" + "src": "26011:351:0" }, { "children": [ @@ -49354,67 +49354,67 @@ "type": "function (string memory) pure", "value": "revert" }, - "id": 1420, + "id": 912, "name": "Identifier", - "src": "25679:6:1" + "src": "26387:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1405, + "referencedDeclaration": 897, "type": "string memory", "value": "errorMessage" }, - "id": 1421, + "id": 913, "name": "Identifier", - "src": "25686:12:1" + "src": "26394:12:0" } ], - "id": 1422, + "id": 914, "name": "FunctionCall", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1423, + "id": 915, "name": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1424, + "id": 916, "name": "Block", - "src": "25661:53:1" + "src": "26368:55:0" } ], - "id": 1425, + "id": 917, "name": "IfStatement", - "src": "25285:429:1" + "src": "25984:439:0" } ], - "id": 1426, + "id": 918, "name": "Block", - "src": "25205:519:1" + "src": "25902:532:0" } ], - "id": 1427, + "id": 919, "name": "IfStatement", - "src": "25144:580:1" + "src": "25839:595:0" } ], - "id": 1428, + "id": 920, "name": "Block", - "src": "25134:596:1" + "src": "25828:613:0" } ], - "id": 1429, + "id": 921, "name": "FunctionDefinition", - "src": "25005:725:1" + "src": "25699:742:0" } ], - "id": 1430, + "id": 922, "name": "ContractDefinition", - "src": "18048:7684:1" + "src": "18579:7865:0" }, { "attributes": { @@ -49428,9 +49428,9 @@ ".0" ] }, - "id": 1431, + "id": 923, "name": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "attributes": { @@ -49444,25 +49444,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, - "id": 1432, + "id": 924, "name": "StructuredDocumentation", - "src": "25824:686:1" + "src": "26541:709:0" }, { "attributes": { "canonicalName": "EnumerableSet.Set", "name": "Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -49471,7 +49471,7 @@ "constant": false, "mutability": "mutable", "name": "_values", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "bytes32[]", @@ -49488,26 +49488,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1433, + "id": 925, "name": "ElementaryTypeName", - "src": "27033:7:1" + "src": "27786:7:0" } ], - "id": 1434, + "id": 926, "name": "ArrayTypeName", - "src": "27033:9:1" + "src": "27786:9:0" } ], - "id": 1435, + "id": 927, "name": "VariableDeclaration", - "src": "27033:17:1" + "src": "27786:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -49524,33 +49524,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1436, + "id": 928, "name": "ElementaryTypeName", - "src": "27193:7:1" + "src": "27950:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1437, + "id": 929, "name": "ElementaryTypeName", - "src": "27204:7:1" + "src": "27961:7:0" } ], - "id": 1438, + "id": 930, "name": "Mapping", - "src": "27184:28:1" + "src": "27941:28:0" } ], - "id": 1439, + "id": 931, "name": "VariableDeclaration", - "src": "27184:37:1" + "src": "27941:37:0" } ], - "id": 1440, + "id": 932, "name": "StructDefinition", - "src": "26979:249:1" + "src": "27730:256:0" }, { "attributes": { @@ -49561,7 +49561,7 @@ null ], "name": "_add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -49571,9 +49571,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1441, + "id": 933, "name": "StructuredDocumentation", - "src": "27234:159:1" + "src": "27994:164:0" }, { "children": [ @@ -49582,7 +49582,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -49592,24 +49592,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1442, + "id": 934, "name": "UserDefinedTypeName", - "src": "27412:3:1" + "src": "28178:3:0" } ], - "id": 1443, + "id": 935, "name": "VariableDeclaration", - "src": "27412:15:1" + "src": "28178:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -49621,19 +49621,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1444, + "id": 936, "name": "ElementaryTypeName", - "src": "27429:7:1" + "src": "28195:7:0" } ], - "id": 1445, + "id": 937, "name": "VariableDeclaration", - "src": "27429:13:1" + "src": "28195:13:0" } ], - "id": 1446, + "id": 938, "name": "ParameterList", - "src": "27411:32:1" + "src": "28177:32:0" }, { "children": [ @@ -49642,7 +49642,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49654,19 +49654,19 @@ "name": "bool", "type": "bool" }, - "id": 1447, + "id": 939, "name": "ElementaryTypeName", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1448, + "id": 940, "name": "VariableDeclaration", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1449, + "id": 941, "name": "ParameterList", - "src": "27460:6:1" + "src": "28226:6:0" }, { "children": [ @@ -49702,7 +49702,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -49713,49 +49713,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1450, + "id": 942, "name": "Identifier", - "src": "27482:9:1" + "src": "28249:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1451, + "id": 943, "name": "Identifier", - "src": "27492:3:1" + "src": "28259:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1452, + "id": 944, "name": "Identifier", - "src": "27497:5:1" + "src": "28264:5:0" } ], - "id": 1453, + "id": 945, "name": "FunctionCall", - "src": "27482:21:1" + "src": "28249:21:0" } ], - "id": 1454, + "id": 946, "name": "UnaryOperation", - "src": "27481:22:1" + "src": "28248:22:0" }, { "children": [ @@ -49799,7 +49799,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -49808,46 +49808,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1455, + "id": 947, "name": "Identifier", - "src": "27519:3:1" + "src": "28287:3:0" } ], - "id": 1458, + "id": 950, "name": "MemberAccess", - "src": "27519:11:1" + "src": "28287:11:0" } ], - "id": 1459, + "id": 951, "name": "MemberAccess", - "src": "27519:16:1" + "src": "28287:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1460, + "id": 952, "name": "Identifier", - "src": "27536:5:1" + "src": "28304:5:0" } ], - "id": 1461, + "id": 953, "name": "FunctionCall", - "src": "27519:23:1" + "src": "28287:23:0" } ], - "id": 1462, + "id": 954, "name": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "children": [ @@ -49877,7 +49877,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -49886,36 +49886,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1463, + "id": 955, "name": "Identifier", - "src": "27677:3:1" + "src": "28448:3:0" } ], - "id": 1466, + "id": 958, "name": "MemberAccess", - "src": "27677:12:1" + "src": "28448:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1465, + "id": 957, "name": "Identifier", - "src": "27690:5:1" + "src": "28461:5:0" } ], - "id": 1467, + "id": 959, "name": "IndexAccess", - "src": "27677:19:1" + "src": "28448:19:0" }, { "attributes": { @@ -49934,7 +49934,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -49943,37 +49943,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1468, + "id": 960, "name": "Identifier", - "src": "27699:3:1" + "src": "28470:3:0" } ], - "id": 1469, + "id": 961, "name": "MemberAccess", - "src": "27699:11:1" + "src": "28470:11:0" } ], - "id": 1470, + "id": 962, "name": "MemberAccess", - "src": "27699:18:1" + "src": "28470:18:0" } ], - "id": 1471, + "id": 963, "name": "Assignment", - "src": "27677:40:1" + "src": "28448:40:0" } ], - "id": 1472, + "id": 964, "name": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -49987,25 +49987,25 @@ "type": "bool", "value": "true" }, - "id": 1473, + "id": 965, "name": "Literal", - "src": "27738:4:1" + "src": "28510:4:0" } ], - "id": 1474, + "id": 966, "name": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ], - "id": 1475, + "id": 967, "name": "Block", - "src": "27505:248:1" + "src": "28272:254:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -50019,34 +50019,34 @@ "type": "bool", "value": "false" }, - "id": 1476, + "id": 968, "name": "Literal", - "src": "27780:5:1" + "src": "28554:5:0" } ], - "id": 1477, + "id": 969, "name": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ], - "id": 1478, + "id": 970, "name": "Block", - "src": "27759:37:1" + "src": "28532:39:0" } ], - "id": 1479, + "id": 971, "name": "IfStatement", - "src": "27477:319:1" + "src": "28244:327:0" } ], - "id": 1480, + "id": 972, "name": "Block", - "src": "27467:335:1" + "src": "28233:345:0" } ], - "id": 1481, + "id": 973, "name": "FunctionDefinition", - "src": "27398:404:1" + "src": "28164:414:0" }, { "attributes": { @@ -50057,7 +50057,7 @@ null ], "name": "_remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -50067,9 +50067,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1482, + "id": 974, "name": "StructuredDocumentation", - "src": "27808:157:1" + "src": "28586:162:0" }, { "children": [ @@ -50078,7 +50078,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -50088,24 +50088,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1483, + "id": 975, "name": "UserDefinedTypeName", - "src": "27987:3:1" + "src": "28771:3:0" } ], - "id": 1484, + "id": 976, "name": "VariableDeclaration", - "src": "27987:15:1" + "src": "28771:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50117,19 +50117,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1485, + "id": 977, "name": "ElementaryTypeName", - "src": "28004:7:1" + "src": "28788:7:0" } ], - "id": 1486, + "id": 978, "name": "VariableDeclaration", - "src": "28004:13:1" + "src": "28788:13:0" } ], - "id": 1487, + "id": 979, "name": "ParameterList", - "src": "27986:32:1" + "src": "28770:32:0" }, { "children": [ @@ -50138,7 +50138,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -50150,26 +50150,26 @@ "name": "bool", "type": "bool" }, - "id": 1488, + "id": 980, "name": "ElementaryTypeName", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1489, + "id": 981, "name": "VariableDeclaration", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1490, + "id": 982, "name": "ParameterList", - "src": "28035:6:1" + "src": "28819:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1492 + 984 ] }, "children": [ @@ -50178,7 +50178,7 @@ "constant": false, "mutability": "mutable", "name": "valueIndex", - "scope": 1560, + "scope": 1052, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50190,14 +50190,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1491, + "id": 983, "name": "ElementaryTypeName", - "src": "28152:7:1" + "src": "28938:7:0" } ], - "id": 1492, + "id": 984, "name": "VariableDeclaration", - "src": "28152:18:1" + "src": "28938:18:0" }, { "attributes": { @@ -50215,7 +50215,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50224,41 +50224,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1493, + "id": 985, "name": "Identifier", - "src": "28173:3:1" + "src": "28959:3:0" } ], - "id": 1494, + "id": 986, "name": "MemberAccess", - "src": "28173:12:1" + "src": "28959:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1495, + "id": 987, "name": "Identifier", - "src": "28186:5:1" + "src": "28972:5:0" } ], - "id": 1496, + "id": 988, "name": "IndexAccess", - "src": "28173:19:1" + "src": "28959:19:0" } ], - "id": 1497, + "id": 989, "name": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "children": [ @@ -50281,13 +50281,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1498, + "id": 990, "name": "Identifier", - "src": "28207:10:1" + "src": "28995:10:0" }, { "attributes": { @@ -50300,21 +50300,21 @@ "type": "int_const 0", "value": "0" }, - "id": 1499, + "id": 991, "name": "Literal", - "src": "28221:1:1" + "src": "29009:1:0" } ], - "id": 1500, + "id": 992, "name": "BinaryOperation", - "src": "28207:15:1" + "src": "28995:15:0" }, { "children": [ { "attributes": { "assignments": [ - 1502 + 994 ] }, "children": [ @@ -50323,7 +50323,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50335,14 +50335,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1501, + "id": 993, "name": "ElementaryTypeName", - "src": "28564:7:1" + "src": "29357:7:0" } ], - "id": 1502, + "id": 994, "name": "VariableDeclaration", - "src": "28564:21:1" + "src": "29357:21:0" }, { "attributes": { @@ -50363,13 +50363,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1503, + "id": 995, "name": "Identifier", - "src": "28588:10:1" + "src": "29381:10:0" }, { "attributes": { @@ -50382,24 +50382,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1504, + "id": 996, "name": "Literal", - "src": "28601:1:1" + "src": "29394:1:0" } ], - "id": 1505, + "id": 997, "name": "BinaryOperation", - "src": "28588:14:1" + "src": "29381:14:0" } ], - "id": 1506, + "id": 998, "name": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "attributes": { "assignments": [ - 1508 + 1000 ] }, "children": [ @@ -50408,7 +50408,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50420,14 +50420,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1507, + "id": 999, "name": "ElementaryTypeName", - "src": "28616:7:1" + "src": "29410:7:0" } ], - "id": 1508, + "id": 1000, "name": "VariableDeclaration", - "src": "28616:17:1" + "src": "29410:17:0" }, { "attributes": { @@ -50460,7 +50460,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50469,23 +50469,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1509, + "id": 1001, "name": "Identifier", - "src": "28636:3:1" + "src": "29430:3:0" } ], - "id": 1510, + "id": 1002, "name": "MemberAccess", - "src": "28636:11:1" + "src": "29430:11:0" } ], - "id": 1511, + "id": 1003, "name": "MemberAccess", - "src": "28636:18:1" + "src": "29430:18:0" }, { "attributes": { @@ -50498,24 +50498,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1512, + "id": 1004, "name": "Literal", - "src": "28657:1:1" + "src": "29451:1:0" } ], - "id": 1513, + "id": 1005, "name": "BinaryOperation", - "src": "28636:22:1" + "src": "29430:22:0" } ], - "id": 1514, + "id": 1006, "name": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "attributes": { "assignments": [ - 1516 + 1008 ] }, "children": [ @@ -50524,7 +50524,7 @@ "constant": false, "mutability": "mutable", "name": "lastvalue", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50536,14 +50536,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1515, + "id": 1007, "name": "ElementaryTypeName", - "src": "28898:7:1" + "src": "29697:7:0" } ], - "id": 1516, + "id": 1008, "name": "VariableDeclaration", - "src": "28898:17:1" + "src": "29697:17:0" }, { "attributes": { @@ -50561,7 +50561,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50570,41 +50570,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1517, + "id": 1009, "name": "Identifier", - "src": "28918:3:1" + "src": "29717:3:0" } ], - "id": 1518, + "id": 1010, "name": "MemberAccess", - "src": "28918:11:1" + "src": "29717:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1508, + "referencedDeclaration": 1000, "type": "uint256", "value": "lastIndex" }, - "id": 1519, + "id": 1011, "name": "Identifier", - "src": "28930:9:1" + "src": "29729:9:0" } ], - "id": 1520, + "id": 1012, "name": "IndexAccess", - "src": "28918:22:1" + "src": "29717:22:0" } ], - "id": 1521, + "id": 1013, "name": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "children": [ @@ -50634,7 +50634,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50643,59 +50643,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1522, + "id": 1014, "name": "Identifier", - "src": "29032:3:1" + "src": "29834:3:0" } ], - "id": 1525, + "id": 1017, "name": "MemberAccess", - "src": "29032:11:1" + "src": "29834:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1524, + "id": 1016, "name": "Identifier", - "src": "29044:13:1" + "src": "29846:13:0" } ], - "id": 1526, + "id": 1018, "name": "IndexAccess", - "src": "29032:26:1" + "src": "29834:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1527, + "id": 1019, "name": "Identifier", - "src": "29061:9:1" + "src": "29863:9:0" } ], - "id": 1528, + "id": 1020, "name": "Assignment", - "src": "29032:38:1" + "src": "29834:38:0" } ], - "id": 1529, + "id": 1021, "name": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "children": [ @@ -50725,7 +50725,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50734,36 +50734,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1530, + "id": 1022, "name": "Identifier", - "src": "29136:3:1" + "src": "29940:3:0" } ], - "id": 1533, + "id": 1025, "name": "MemberAccess", - "src": "29136:12:1" + "src": "29940:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1532, + "id": 1024, "name": "Identifier", - "src": "29149:9:1" + "src": "29953:9:0" } ], - "id": 1534, + "id": 1026, "name": "IndexAccess", - "src": "29136:23:1" + "src": "29940:23:0" }, { "attributes": { @@ -50784,13 +50784,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1535, + "id": 1027, "name": "Identifier", - "src": "29162:13:1" + "src": "29966:13:0" }, { "attributes": { @@ -50803,24 +50803,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1536, + "id": 1028, "name": "Literal", - "src": "29178:1:1" + "src": "29982:1:0" } ], - "id": 1537, + "id": 1029, "name": "BinaryOperation", - "src": "29162:17:1" + "src": "29966:17:0" } ], - "id": 1538, + "id": 1030, "name": "Assignment", - "src": "29136:43:1" + "src": "29940:43:0" } ], - "id": 1539, + "id": 1031, "name": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "children": [ @@ -50862,7 +50862,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50871,33 +50871,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1540, + "id": 1032, "name": "Identifier", - "src": "29285:3:1" + "src": "30092:3:0" } ], - "id": 1543, + "id": 1035, "name": "MemberAccess", - "src": "29285:11:1" + "src": "30092:11:0" } ], - "id": 1544, + "id": 1036, "name": "MemberAccess", - "src": "29285:15:1" + "src": "30092:15:0" } ], - "id": 1545, + "id": 1037, "name": "FunctionCall", - "src": "29285:17:1" + "src": "30092:17:0" } ], - "id": 1546, + "id": 1038, "name": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "children": [ @@ -50928,7 +50928,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50937,50 +50937,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1547, + "id": 1039, "name": "Identifier", - "src": "29377:3:1" + "src": "30187:3:0" } ], - "id": 1548, + "id": 1040, "name": "MemberAccess", - "src": "29377:12:1" + "src": "30187:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1549, + "id": 1041, "name": "Identifier", - "src": "29390:5:1" + "src": "30200:5:0" } ], - "id": 1550, + "id": 1042, "name": "IndexAccess", - "src": "29377:19:1" + "src": "30187:19:0" } ], - "id": 1551, + "id": 1043, "name": "UnaryOperation", - "src": "29370:26:1" + "src": "30180:26:0" } ], - "id": 1552, + "id": 1044, "name": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -50994,25 +50994,25 @@ "type": "bool", "value": "true" }, - "id": 1553, + "id": 1045, "name": "Literal", - "src": "29418:4:1" + "src": "30230:4:0" } ], - "id": 1554, + "id": 1046, "name": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ], - "id": 1555, + "id": 1047, "name": "Block", - "src": "28224:1209:1" + "src": "29012:1234:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -51026,34 +51026,34 @@ "type": "bool", "value": "false" }, - "id": 1556, + "id": 1048, "name": "Literal", - "src": "29460:5:1" + "src": "30274:5:0" } ], - "id": 1557, + "id": 1049, "name": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ], - "id": 1558, + "id": 1050, "name": "Block", - "src": "29439:37:1" + "src": "30252:39:0" } ], - "id": 1559, + "id": 1051, "name": "IfStatement", - "src": "28203:1273:1" + "src": "28991:1300:0" } ], - "id": 1560, + "id": 1052, "name": "Block", - "src": "28042:1440:1" + "src": "28826:1472:0" } ], - "id": 1561, + "id": 1053, "name": "FunctionDefinition", - "src": "27970:1512:1" + "src": "28754:1544:0" }, { "attributes": { @@ -51064,7 +51064,7 @@ null ], "name": "_contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51074,9 +51074,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1562, + "id": 1054, "name": "StructuredDocumentation", - "src": "29488:70:1" + "src": "30306:72:0" }, { "children": [ @@ -51085,7 +51085,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51095,24 +51095,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1563, + "id": 1055, "name": "UserDefinedTypeName", - "src": "29582:3:1" + "src": "30403:3:0" } ], - "id": 1564, + "id": 1056, "name": "VariableDeclaration", - "src": "29582:15:1" + "src": "30403:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51124,19 +51124,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1565, + "id": 1057, "name": "ElementaryTypeName", - "src": "29599:7:1" + "src": "30420:7:0" } ], - "id": 1566, + "id": 1058, "name": "VariableDeclaration", - "src": "29599:13:1" + "src": "30420:13:0" } ], - "id": 1567, + "id": 1059, "name": "ParameterList", - "src": "29581:32:1" + "src": "30402:32:0" }, { "children": [ @@ -51145,7 +51145,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51157,25 +51157,25 @@ "name": "bool", "type": "bool" }, - "id": 1568, + "id": 1060, "name": "ElementaryTypeName", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1569, + "id": 1061, "name": "VariableDeclaration", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1570, + "id": 1062, "name": "ParameterList", - "src": "29635:6:1" + "src": "30456:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1570 + "functionReturnParameters": 1062 }, "children": [ { @@ -51208,7 +51208,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -51217,36 +51217,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1564, + "referencedDeclaration": 1056, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1571, + "id": 1063, "name": "Identifier", - "src": "29659:3:1" + "src": "30481:3:0" } ], - "id": 1572, + "id": 1064, "name": "MemberAccess", - "src": "29659:12:1" + "src": "30481:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1566, + "referencedDeclaration": 1058, "type": "bytes32", "value": "value" }, - "id": 1573, + "id": 1065, "name": "Identifier", - "src": "29672:5:1" + "src": "30494:5:0" } ], - "id": 1574, + "id": 1066, "name": "IndexAccess", - "src": "29659:19:1" + "src": "30481:19:0" }, { "attributes": { @@ -51259,29 +51259,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1575, + "id": 1067, "name": "Literal", - "src": "29682:1:1" + "src": "30504:1:0" } ], - "id": 1576, + "id": 1068, "name": "BinaryOperation", - "src": "29659:24:1" + "src": "30481:24:0" } ], - "id": 1577, + "id": 1069, "name": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ], - "id": 1578, + "id": 1070, "name": "Block", - "src": "29642:48:1" + "src": "30463:50:0" } ], - "id": 1579, + "id": 1071, "name": "FunctionDefinition", - "src": "29563:127:1" + "src": "30384:129:0" }, { "attributes": { @@ -51292,7 +51292,7 @@ null ], "name": "_length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51302,9 +51302,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1580, + "id": 1072, "name": "StructuredDocumentation", - "src": "29696:70:1" + "src": "30521:72:0" }, { "children": [ @@ -51313,7 +51313,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51323,22 +51323,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1581, + "id": 1073, "name": "UserDefinedTypeName", - "src": "29788:3:1" + "src": "30616:3:0" } ], - "id": 1582, + "id": 1074, "name": "VariableDeclaration", - "src": "29788:15:1" + "src": "30616:15:0" } ], - "id": 1583, + "id": 1075, "name": "ParameterList", - "src": "29787:17:1" + "src": "30615:17:0" }, { "children": [ @@ -51347,7 +51347,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51359,25 +51359,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1584, + "id": 1076, "name": "ElementaryTypeName", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1585, + "id": 1077, "name": "VariableDeclaration", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1586, + "id": 1078, "name": "ParameterList", - "src": "29826:9:1" + "src": "30654:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1586 + "functionReturnParameters": 1078 }, "children": [ { @@ -51397,7 +51397,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51406,38 +51406,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1582, + "referencedDeclaration": 1074, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1587, + "id": 1079, "name": "Identifier", - "src": "29853:3:1" + "src": "30682:3:0" } ], - "id": 1588, + "id": 1080, "name": "MemberAccess", - "src": "29853:11:1" + "src": "30682:11:0" } ], - "id": 1589, + "id": 1081, "name": "MemberAccess", - "src": "29853:18:1" + "src": "30682:18:0" } ], - "id": 1590, + "id": 1082, "name": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ], - "id": 1591, + "id": 1083, "name": "Block", - "src": "29836:42:1" + "src": "30664:44:0" } ], - "id": 1592, + "id": 1084, "name": "FunctionDefinition", - "src": "29771:107:1" + "src": "30599:109:0" }, { "attributes": { @@ -51448,7 +51448,7 @@ null ], "name": "_at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51458,9 +51458,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1593, + "id": 1085, "name": "StructuredDocumentation", - "src": "29883:322:1" + "src": "30715:331:0" }, { "children": [ @@ -51469,7 +51469,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51479,24 +51479,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1594, + "id": 1086, "name": "UserDefinedTypeName", - "src": "30223:3:1" + "src": "31065:3:0" } ], - "id": 1595, + "id": 1087, "name": "VariableDeclaration", - "src": "30223:15:1" + "src": "31065:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51508,19 +51508,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1596, + "id": 1088, "name": "ElementaryTypeName", - "src": "30240:7:1" + "src": "31082:7:0" } ], - "id": 1597, + "id": 1089, "name": "VariableDeclaration", - "src": "30240:13:1" + "src": "31082:13:0" } ], - "id": 1598, + "id": 1090, "name": "ParameterList", - "src": "30222:32:1" + "src": "31064:32:0" }, { "children": [ @@ -51529,7 +51529,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51541,19 +51541,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1599, + "id": 1091, "name": "ElementaryTypeName", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1600, + "id": 1092, "name": "VariableDeclaration", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1601, + "id": 1093, "name": "ParameterList", - "src": "30276:9:1" + "src": "31118:9:0" }, { "children": [ @@ -51594,9 +51594,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1602, + "id": 1094, "name": "Identifier", - "src": "30296:7:1" + "src": "31139:7:0" }, { "attributes": { @@ -51629,7 +51629,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51638,41 +51638,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1603, + "id": 1095, "name": "Identifier", - "src": "30304:3:1" + "src": "31147:3:0" } ], - "id": 1604, + "id": 1096, "name": "MemberAccess", - "src": "30304:11:1" + "src": "31147:11:0" } ], - "id": 1605, + "id": 1097, "name": "MemberAccess", - "src": "30304:18:1" + "src": "31147:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1606, + "id": 1098, "name": "Identifier", - "src": "30325:5:1" + "src": "31168:5:0" } ], - "id": 1607, + "id": 1099, "name": "BinaryOperation", - "src": "30304:26:1" + "src": "31147:26:0" }, { "attributes": { @@ -51685,23 +51685,23 @@ "type": "literal_string \"EnumerableSet: index out of bounds\"", "value": "EnumerableSet: index out of bounds" }, - "id": 1608, + "id": 1100, "name": "Literal", - "src": "30332:36:1" + "src": "31175:36:0" } ], - "id": 1609, + "id": 1101, "name": "FunctionCall", - "src": "30296:73:1" + "src": "31139:73:0" } ], - "id": 1610, + "id": 1102, "name": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "attributes": { - "functionReturnParameters": 1601 + "functionReturnParameters": 1093 }, "children": [ { @@ -51720,7 +51720,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51729,57 +51729,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1611, + "id": 1103, "name": "Identifier", - "src": "30386:3:1" + "src": "31230:3:0" } ], - "id": 1612, + "id": 1104, "name": "MemberAccess", - "src": "30386:11:1" + "src": "31230:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1613, + "id": 1105, "name": "Identifier", - "src": "30398:5:1" + "src": "31242:5:0" } ], - "id": 1614, + "id": 1106, "name": "IndexAccess", - "src": "30386:18:1" + "src": "31230:18:0" } ], - "id": 1615, + "id": 1107, "name": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ], - "id": 1616, + "id": 1108, "name": "Block", - "src": "30286:125:1" + "src": "31128:128:0" } ], - "id": 1617, + "id": 1109, "name": "FunctionDefinition", - "src": "30210:201:1" + "src": "31052:204:0" }, { "attributes": { "canonicalName": "EnumerableSet.Bytes32Set", "name": "Bytes32Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -51788,7 +51788,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1620, + "scope": 1112, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -51798,22 +51798,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1618, + "id": 1110, "name": "UserDefinedTypeName", - "src": "30464:3:1" + "src": "31314:3:0" } ], - "id": 1619, + "id": 1111, "name": "VariableDeclaration", - "src": "30464:10:1" + "src": "31314:10:0" } ], - "id": 1620, + "id": 1112, "name": "StructDefinition", - "src": "30436:45:1" + "src": "31285:47:0" }, { "attributes": { @@ -51824,7 +51824,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -51834,9 +51834,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1621, + "id": 1113, "name": "StructuredDocumentation", - "src": "30487:159:1" + "src": "31340:164:0" }, { "children": [ @@ -51845,7 +51845,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -51855,24 +51855,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1622, + "id": 1114, "name": "UserDefinedTypeName", - "src": "30664:10:1" + "src": "31523:10:0" } ], - "id": 1623, + "id": 1115, "name": "VariableDeclaration", - "src": "30664:22:1" + "src": "31523:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51884,19 +51884,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1624, + "id": 1116, "name": "ElementaryTypeName", - "src": "30688:7:1" + "src": "31547:7:0" } ], - "id": 1625, + "id": 1117, "name": "VariableDeclaration", - "src": "30688:13:1" + "src": "31547:13:0" } ], - "id": 1626, + "id": 1118, "name": "ParameterList", - "src": "30663:39:1" + "src": "31522:39:0" }, { "children": [ @@ -51905,7 +51905,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51917,25 +51917,25 @@ "name": "bool", "type": "bool" }, - "id": 1627, + "id": 1119, "name": "ElementaryTypeName", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1628, + "id": 1120, "name": "VariableDeclaration", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1629, + "id": 1121, "name": "ParameterList", - "src": "30720:6:1" + "src": "31579:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1629 + "functionReturnParameters": 1121 }, "children": [ { @@ -51957,7 +51957,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -51968,13 +51968,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1630, + "id": 1122, "name": "Identifier", - "src": "30744:4:1" + "src": "31604:4:0" }, { "attributes": { @@ -51983,7 +51983,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -51992,51 +51992,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1623, + "referencedDeclaration": 1115, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1631, + "id": 1123, "name": "Identifier", - "src": "30749:3:1" + "src": "31609:3:0" } ], - "id": 1632, + "id": 1124, "name": "MemberAccess", - "src": "30749:10:1" + "src": "31609:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1625, + "referencedDeclaration": 1117, "type": "bytes32", "value": "value" }, - "id": 1633, + "id": 1125, "name": "Identifier", - "src": "30761:5:1" + "src": "31621:5:0" } ], - "id": 1634, + "id": 1126, "name": "FunctionCall", - "src": "30744:23:1" + "src": "31604:23:0" } ], - "id": 1635, + "id": 1127, "name": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ], - "id": 1636, + "id": 1128, "name": "Block", - "src": "30727:47:1" + "src": "31586:49:0" } ], - "id": 1637, + "id": 1129, "name": "FunctionDefinition", - "src": "30651:123:1" + "src": "31510:125:0" }, { "attributes": { @@ -52047,7 +52047,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52057,9 +52057,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1638, + "id": 1130, "name": "StructuredDocumentation", - "src": "30780:157:1" + "src": "31643:162:0" }, { "children": [ @@ -52068,7 +52068,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52078,24 +52078,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1639, + "id": 1131, "name": "UserDefinedTypeName", - "src": "30958:10:1" + "src": "31827:10:0" } ], - "id": 1640, + "id": 1132, "name": "VariableDeclaration", - "src": "30958:22:1" + "src": "31827:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52107,19 +52107,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1641, + "id": 1133, "name": "ElementaryTypeName", - "src": "30982:7:1" + "src": "31851:7:0" } ], - "id": 1642, + "id": 1134, "name": "VariableDeclaration", - "src": "30982:13:1" + "src": "31851:13:0" } ], - "id": 1643, + "id": 1135, "name": "ParameterList", - "src": "30957:39:1" + "src": "31826:39:0" }, { "children": [ @@ -52128,7 +52128,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52140,25 +52140,25 @@ "name": "bool", "type": "bool" }, - "id": 1644, + "id": 1136, "name": "ElementaryTypeName", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1645, + "id": 1137, "name": "VariableDeclaration", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1646, + "id": 1138, "name": "ParameterList", - "src": "31014:6:1" + "src": "31883:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1646 + "functionReturnParameters": 1138 }, "children": [ { @@ -52180,7 +52180,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52191,13 +52191,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1647, + "id": 1139, "name": "Identifier", - "src": "31038:7:1" + "src": "31908:7:0" }, { "attributes": { @@ -52206,7 +52206,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52215,51 +52215,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1640, + "referencedDeclaration": 1132, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1648, + "id": 1140, "name": "Identifier", - "src": "31046:3:1" + "src": "31916:3:0" } ], - "id": 1649, + "id": 1141, "name": "MemberAccess", - "src": "31046:10:1" + "src": "31916:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1642, + "referencedDeclaration": 1134, "type": "bytes32", "value": "value" }, - "id": 1650, + "id": 1142, "name": "Identifier", - "src": "31058:5:1" + "src": "31928:5:0" } ], - "id": 1651, + "id": 1143, "name": "FunctionCall", - "src": "31038:26:1" + "src": "31908:26:0" } ], - "id": 1652, + "id": 1144, "name": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ], - "id": 1653, + "id": 1145, "name": "Block", - "src": "31021:50:1" + "src": "31890:52:0" } ], - "id": 1654, + "id": 1146, "name": "FunctionDefinition", - "src": "30942:129:1" + "src": "31811:131:0" }, { "attributes": { @@ -52270,7 +52270,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52280,9 +52280,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1655, + "id": 1147, "name": "StructuredDocumentation", - "src": "31077:70:1" + "src": "31950:72:0" }, { "children": [ @@ -52291,7 +52291,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52301,24 +52301,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1656, + "id": 1148, "name": "UserDefinedTypeName", - "src": "31170:10:1" + "src": "32046:10:0" } ], - "id": 1657, + "id": 1149, "name": "VariableDeclaration", - "src": "31170:22:1" + "src": "32046:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52330,19 +52330,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1658, + "id": 1150, "name": "ElementaryTypeName", - "src": "31194:7:1" + "src": "32070:7:0" } ], - "id": 1659, + "id": 1151, "name": "VariableDeclaration", - "src": "31194:13:1" + "src": "32070:13:0" } ], - "id": 1660, + "id": 1152, "name": "ParameterList", - "src": "31169:39:1" + "src": "32045:39:0" }, { "children": [ @@ -52351,7 +52351,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52363,25 +52363,25 @@ "name": "bool", "type": "bool" }, - "id": 1661, + "id": 1153, "name": "ElementaryTypeName", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1662, + "id": 1154, "name": "VariableDeclaration", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1663, + "id": 1155, "name": "ParameterList", - "src": "31231:6:1" + "src": "32107:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1663 + "functionReturnParameters": 1155 }, "children": [ { @@ -52403,7 +52403,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52414,13 +52414,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1664, + "id": 1156, "name": "Identifier", - "src": "31255:9:1" + "src": "32132:9:0" }, { "attributes": { @@ -52429,7 +52429,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52438,51 +52438,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1657, + "referencedDeclaration": 1149, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1665, + "id": 1157, "name": "Identifier", - "src": "31265:3:1" + "src": "32142:3:0" } ], - "id": 1666, + "id": 1158, "name": "MemberAccess", - "src": "31265:10:1" + "src": "32142:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1659, + "referencedDeclaration": 1151, "type": "bytes32", "value": "value" }, - "id": 1667, + "id": 1159, "name": "Identifier", - "src": "31277:5:1" + "src": "32154:5:0" } ], - "id": 1668, + "id": 1160, "name": "FunctionCall", - "src": "31255:28:1" + "src": "32132:28:0" } ], - "id": 1669, + "id": 1161, "name": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ], - "id": 1670, + "id": 1162, "name": "Block", - "src": "31238:52:1" + "src": "32114:54:0" } ], - "id": 1671, + "id": 1163, "name": "FunctionDefinition", - "src": "31152:138:1" + "src": "32028:140:0" }, { "attributes": { @@ -52493,7 +52493,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52503,9 +52503,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1672, + "id": 1164, "name": "StructuredDocumentation", - "src": "31296:70:1" + "src": "32176:72:0" }, { "children": [ @@ -52514,7 +52514,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52524,22 +52524,22 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1673, + "id": 1165, "name": "UserDefinedTypeName", - "src": "31387:10:1" + "src": "32270:10:0" } ], - "id": 1674, + "id": 1166, "name": "VariableDeclaration", - "src": "31387:22:1" + "src": "32270:22:0" } ], - "id": 1675, + "id": 1167, "name": "ParameterList", - "src": "31386:24:1" + "src": "32269:24:0" }, { "children": [ @@ -52548,7 +52548,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52560,25 +52560,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1676, + "id": 1168, "name": "ElementaryTypeName", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1677, + "id": 1169, "name": "VariableDeclaration", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1678, + "id": 1170, "name": "ParameterList", - "src": "31433:9:1" + "src": "32316:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1678 + "functionReturnParameters": 1170 }, "children": [ { @@ -52600,20 +52600,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1679, + "id": 1171, "name": "Identifier", - "src": "31460:7:1" + "src": "32344:7:0" }, { "attributes": { @@ -52622,7 +52622,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52631,38 +52631,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1674, + "referencedDeclaration": 1166, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1680, + "id": 1172, "name": "Identifier", - "src": "31468:3:1" + "src": "32352:3:0" } ], - "id": 1681, + "id": 1173, "name": "MemberAccess", - "src": "31468:10:1" + "src": "32352:10:0" } ], - "id": 1682, + "id": 1174, "name": "FunctionCall", - "src": "31460:19:1" + "src": "32344:19:0" } ], - "id": 1683, + "id": 1175, "name": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ], - "id": 1684, + "id": 1176, "name": "Block", - "src": "31443:43:1" + "src": "32326:45:0" } ], - "id": 1685, + "id": 1177, "name": "FunctionDefinition", - "src": "31371:115:1" + "src": "32254:117:0" }, { "attributes": { @@ -52673,7 +52673,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52683,9 +52683,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1686, + "id": 1178, "name": "StructuredDocumentation", - "src": "31491:322:1" + "src": "32378:331:0" }, { "children": [ @@ -52694,7 +52694,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52704,24 +52704,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1687, + "id": 1179, "name": "UserDefinedTypeName", - "src": "31830:10:1" + "src": "32727:10:0" } ], - "id": 1688, + "id": 1180, "name": "VariableDeclaration", - "src": "31830:22:1" + "src": "32727:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52733,19 +52733,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1689, + "id": 1181, "name": "ElementaryTypeName", - "src": "31854:7:1" + "src": "32751:7:0" } ], - "id": 1690, + "id": 1182, "name": "VariableDeclaration", - "src": "31854:13:1" + "src": "32751:13:0" } ], - "id": 1691, + "id": 1183, "name": "ParameterList", - "src": "31829:39:1" + "src": "32726:39:0" }, { "children": [ @@ -52754,7 +52754,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52766,25 +52766,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1692, + "id": 1184, "name": "ElementaryTypeName", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1693, + "id": 1185, "name": "VariableDeclaration", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1694, + "id": 1186, "name": "ParameterList", - "src": "31891:9:1" + "src": "32788:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1694 + "functionReturnParameters": 1186 }, "children": [ { @@ -52806,7 +52806,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52817,13 +52817,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1695, + "id": 1187, "name": "Identifier", - "src": "31918:3:1" + "src": "32816:3:0" }, { "attributes": { @@ -52832,7 +52832,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52841,57 +52841,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1688, + "referencedDeclaration": 1180, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1696, + "id": 1188, "name": "Identifier", - "src": "31922:3:1" + "src": "32820:3:0" } ], - "id": 1697, + "id": 1189, "name": "MemberAccess", - "src": "31922:10:1" + "src": "32820:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1690, + "referencedDeclaration": 1182, "type": "uint256", "value": "index" }, - "id": 1698, + "id": 1190, "name": "Identifier", - "src": "31934:5:1" + "src": "32832:5:0" } ], - "id": 1699, + "id": 1191, "name": "FunctionCall", - "src": "31918:22:1" + "src": "32816:22:0" } ], - "id": 1700, + "id": 1192, "name": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ], - "id": 1701, + "id": 1193, "name": "Block", - "src": "31901:46:1" + "src": "32798:48:0" } ], - "id": 1702, + "id": 1194, "name": "FunctionDefinition", - "src": "31818:129:1" + "src": "32715:131:0" }, { "attributes": { "canonicalName": "EnumerableSet.AddressSet", "name": "AddressSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -52900,7 +52900,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1705, + "scope": 1197, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -52910,22 +52910,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1703, + "id": 1195, "name": "UserDefinedTypeName", - "src": "32000:3:1" + "src": "32904:3:0" } ], - "id": 1704, + "id": 1196, "name": "VariableDeclaration", - "src": "32000:10:1" + "src": "32904:10:0" } ], - "id": 1705, + "id": 1197, "name": "StructDefinition", - "src": "31972:45:1" + "src": "32875:47:0" }, { "attributes": { @@ -52936,7 +52936,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52946,9 +52946,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1706, + "id": 1198, "name": "StructuredDocumentation", - "src": "32023:159:1" + "src": "32930:164:0" }, { "children": [ @@ -52957,7 +52957,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -52967,24 +52967,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1707, + "id": 1199, "name": "UserDefinedTypeName", - "src": "32200:10:1" + "src": "33113:10:0" } ], - "id": 1708, + "id": 1200, "name": "VariableDeclaration", - "src": "32200:22:1" + "src": "33113:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -52997,19 +52997,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1709, + "id": 1201, "name": "ElementaryTypeName", - "src": "32224:7:1" + "src": "33137:7:0" } ], - "id": 1710, + "id": 1202, "name": "VariableDeclaration", - "src": "32224:13:1" + "src": "33137:13:0" } ], - "id": 1711, + "id": 1203, "name": "ParameterList", - "src": "32199:39:1" + "src": "33112:39:0" }, { "children": [ @@ -53018,7 +53018,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53030,25 +53030,25 @@ "name": "bool", "type": "bool" }, - "id": 1712, + "id": 1204, "name": "ElementaryTypeName", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1713, + "id": 1205, "name": "VariableDeclaration", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1714, + "id": 1206, "name": "ParameterList", - "src": "32256:6:1" + "src": "33169:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1714 + "functionReturnParameters": 1206 }, "children": [ { @@ -53070,7 +53070,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53081,13 +53081,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1715, + "id": 1207, "name": "Identifier", - "src": "32280:4:1" + "src": "33194:4:0" }, { "attributes": { @@ -53096,7 +53096,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53105,18 +53105,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1708, + "referencedDeclaration": 1200, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1716, + "id": 1208, "name": "Identifier", - "src": "32285:3:1" + "src": "33199:3:0" } ], - "id": 1717, + "id": 1209, "name": "MemberAccess", - "src": "32285:10:1" + "src": "33199:10:0" }, { "attributes": { @@ -53152,14 +53152,14 @@ "attributes": { "name": "bytes32" }, - "id": 1718, + "id": 1210, "name": "ElementaryTypeName", - "src": "32297:7:1" + "src": "33211:7:0" } ], - "id": 1719, + "id": 1211, "name": "ElementaryTypeNameExpression", - "src": "32297:7:1" + "src": "33211:7:0" }, { "attributes": { @@ -53195,14 +53195,14 @@ "attributes": { "name": "uint256" }, - "id": 1720, + "id": 1212, "name": "ElementaryTypeName", - "src": "32305:7:1" + "src": "33219:7:0" } ], - "id": 1721, + "id": 1213, "name": "ElementaryTypeNameExpression", - "src": "32305:7:1" + "src": "33219:7:0" }, { "attributes": { @@ -53238,62 +53238,62 @@ "attributes": { "name": "uint160" }, - "id": 1722, + "id": 1214, "name": "ElementaryTypeName", - "src": "32313:7:1" + "src": "33227:7:0" } ], - "id": 1723, + "id": 1215, "name": "ElementaryTypeNameExpression", - "src": "32313:7:1" + "src": "33227:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1710, + "referencedDeclaration": 1202, "type": "address", "value": "value" }, - "id": 1724, + "id": 1216, "name": "Identifier", - "src": "32321:5:1" + "src": "33235:5:0" } ], - "id": 1725, + "id": 1217, "name": "FunctionCall", - "src": "32313:14:1" + "src": "33227:14:0" } ], - "id": 1726, + "id": 1218, "name": "FunctionCall", - "src": "32305:23:1" + "src": "33219:23:0" } ], - "id": 1727, + "id": 1219, "name": "FunctionCall", - "src": "32297:32:1" + "src": "33211:32:0" } ], - "id": 1728, + "id": 1220, "name": "FunctionCall", - "src": "32280:50:1" + "src": "33194:50:0" } ], - "id": 1729, + "id": 1221, "name": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ], - "id": 1730, + "id": 1222, "name": "Block", - "src": "32263:74:1" + "src": "33176:76:0" } ], - "id": 1731, + "id": 1223, "name": "FunctionDefinition", - "src": "32187:150:1" + "src": "33100:152:0" }, { "attributes": { @@ -53304,7 +53304,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -53314,9 +53314,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1732, + "id": 1224, "name": "StructuredDocumentation", - "src": "32343:157:1" + "src": "33260:162:0" }, { "children": [ @@ -53325,7 +53325,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53335,24 +53335,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1733, + "id": 1225, "name": "UserDefinedTypeName", - "src": "32521:10:1" + "src": "33444:10:0" } ], - "id": 1734, + "id": 1226, "name": "VariableDeclaration", - "src": "32521:22:1" + "src": "33444:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53365,19 +53365,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1735, + "id": 1227, "name": "ElementaryTypeName", - "src": "32545:7:1" + "src": "33468:7:0" } ], - "id": 1736, + "id": 1228, "name": "VariableDeclaration", - "src": "32545:13:1" + "src": "33468:13:0" } ], - "id": 1737, + "id": 1229, "name": "ParameterList", - "src": "32520:39:1" + "src": "33443:39:0" }, { "children": [ @@ -53386,7 +53386,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53398,25 +53398,25 @@ "name": "bool", "type": "bool" }, - "id": 1738, + "id": 1230, "name": "ElementaryTypeName", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1739, + "id": 1231, "name": "VariableDeclaration", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1740, + "id": 1232, "name": "ParameterList", - "src": "32577:6:1" + "src": "33500:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1740 + "functionReturnParameters": 1232 }, "children": [ { @@ -53438,7 +53438,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53449,13 +53449,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1741, + "id": 1233, "name": "Identifier", - "src": "32601:7:1" + "src": "33525:7:0" }, { "attributes": { @@ -53464,7 +53464,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53473,18 +53473,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1734, + "referencedDeclaration": 1226, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1742, + "id": 1234, "name": "Identifier", - "src": "32609:3:1" + "src": "33533:3:0" } ], - "id": 1743, + "id": 1235, "name": "MemberAccess", - "src": "32609:10:1" + "src": "33533:10:0" }, { "attributes": { @@ -53520,14 +53520,14 @@ "attributes": { "name": "bytes32" }, - "id": 1744, + "id": 1236, "name": "ElementaryTypeName", - "src": "32621:7:1" + "src": "33545:7:0" } ], - "id": 1745, + "id": 1237, "name": "ElementaryTypeNameExpression", - "src": "32621:7:1" + "src": "33545:7:0" }, { "attributes": { @@ -53563,14 +53563,14 @@ "attributes": { "name": "uint256" }, - "id": 1746, + "id": 1238, "name": "ElementaryTypeName", - "src": "32629:7:1" + "src": "33553:7:0" } ], - "id": 1747, + "id": 1239, "name": "ElementaryTypeNameExpression", - "src": "32629:7:1" + "src": "33553:7:0" }, { "attributes": { @@ -53606,62 +53606,62 @@ "attributes": { "name": "uint160" }, - "id": 1748, + "id": 1240, "name": "ElementaryTypeName", - "src": "32637:7:1" + "src": "33561:7:0" } ], - "id": 1749, + "id": 1241, "name": "ElementaryTypeNameExpression", - "src": "32637:7:1" + "src": "33561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1736, + "referencedDeclaration": 1228, "type": "address", "value": "value" }, - "id": 1750, + "id": 1242, "name": "Identifier", - "src": "32645:5:1" + "src": "33569:5:0" } ], - "id": 1751, + "id": 1243, "name": "FunctionCall", - "src": "32637:14:1" + "src": "33561:14:0" } ], - "id": 1752, + "id": 1244, "name": "FunctionCall", - "src": "32629:23:1" + "src": "33553:23:0" } ], - "id": 1753, + "id": 1245, "name": "FunctionCall", - "src": "32621:32:1" + "src": "33545:32:0" } ], - "id": 1754, + "id": 1246, "name": "FunctionCall", - "src": "32601:53:1" + "src": "33525:53:0" } ], - "id": 1755, + "id": 1247, "name": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ], - "id": 1756, + "id": 1248, "name": "Block", - "src": "32584:77:1" + "src": "33507:79:0" } ], - "id": 1757, + "id": 1249, "name": "FunctionDefinition", - "src": "32505:156:1" + "src": "33428:158:0" }, { "attributes": { @@ -53672,7 +53672,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -53682,9 +53682,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1758, + "id": 1250, "name": "StructuredDocumentation", - "src": "32667:70:1" + "src": "33594:72:0" }, { "children": [ @@ -53693,7 +53693,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53703,24 +53703,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1759, + "id": 1251, "name": "UserDefinedTypeName", - "src": "32760:10:1" + "src": "33690:10:0" } ], - "id": 1760, + "id": 1252, "name": "VariableDeclaration", - "src": "32760:22:1" + "src": "33690:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53733,19 +53733,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1761, + "id": 1253, "name": "ElementaryTypeName", - "src": "32784:7:1" + "src": "33714:7:0" } ], - "id": 1762, + "id": 1254, "name": "VariableDeclaration", - "src": "32784:13:1" + "src": "33714:13:0" } ], - "id": 1763, + "id": 1255, "name": "ParameterList", - "src": "32759:39:1" + "src": "33689:39:0" }, { "children": [ @@ -53754,7 +53754,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53766,25 +53766,25 @@ "name": "bool", "type": "bool" }, - "id": 1764, + "id": 1256, "name": "ElementaryTypeName", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1765, + "id": 1257, "name": "VariableDeclaration", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1766, + "id": 1258, "name": "ParameterList", - "src": "32821:6:1" + "src": "33751:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1766 + "functionReturnParameters": 1258 }, "children": [ { @@ -53806,7 +53806,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53817,13 +53817,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1767, + "id": 1259, "name": "Identifier", - "src": "32845:9:1" + "src": "33776:9:0" }, { "attributes": { @@ -53832,7 +53832,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53841,18 +53841,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1760, + "referencedDeclaration": 1252, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1768, + "id": 1260, "name": "Identifier", - "src": "32855:3:1" + "src": "33786:3:0" } ], - "id": 1769, + "id": 1261, "name": "MemberAccess", - "src": "32855:10:1" + "src": "33786:10:0" }, { "attributes": { @@ -53888,14 +53888,14 @@ "attributes": { "name": "bytes32" }, - "id": 1770, + "id": 1262, "name": "ElementaryTypeName", - "src": "32867:7:1" + "src": "33798:7:0" } ], - "id": 1771, + "id": 1263, "name": "ElementaryTypeNameExpression", - "src": "32867:7:1" + "src": "33798:7:0" }, { "attributes": { @@ -53931,14 +53931,14 @@ "attributes": { "name": "uint256" }, - "id": 1772, + "id": 1264, "name": "ElementaryTypeName", - "src": "32875:7:1" + "src": "33806:7:0" } ], - "id": 1773, + "id": 1265, "name": "ElementaryTypeNameExpression", - "src": "32875:7:1" + "src": "33806:7:0" }, { "attributes": { @@ -53974,62 +53974,62 @@ "attributes": { "name": "uint160" }, - "id": 1774, + "id": 1266, "name": "ElementaryTypeName", - "src": "32883:7:1" + "src": "33814:7:0" } ], - "id": 1775, + "id": 1267, "name": "ElementaryTypeNameExpression", - "src": "32883:7:1" + "src": "33814:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1762, + "referencedDeclaration": 1254, "type": "address", "value": "value" }, - "id": 1776, + "id": 1268, "name": "Identifier", - "src": "32891:5:1" + "src": "33822:5:0" } ], - "id": 1777, + "id": 1269, "name": "FunctionCall", - "src": "32883:14:1" + "src": "33814:14:0" } ], - "id": 1778, + "id": 1270, "name": "FunctionCall", - "src": "32875:23:1" + "src": "33806:23:0" } ], - "id": 1779, + "id": 1271, "name": "FunctionCall", - "src": "32867:32:1" + "src": "33798:32:0" } ], - "id": 1780, + "id": 1272, "name": "FunctionCall", - "src": "32845:55:1" + "src": "33776:55:0" } ], - "id": 1781, + "id": 1273, "name": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ], - "id": 1782, + "id": 1274, "name": "Block", - "src": "32828:79:1" + "src": "33758:81:0" } ], - "id": 1783, + "id": 1275, "name": "FunctionDefinition", - "src": "32742:165:1" + "src": "33672:167:0" }, { "attributes": { @@ -54040,7 +54040,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54050,9 +54050,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1784, + "id": 1276, "name": "StructuredDocumentation", - "src": "32913:70:1" + "src": "33847:72:0" }, { "children": [ @@ -54061,7 +54061,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54071,22 +54071,22 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1785, + "id": 1277, "name": "UserDefinedTypeName", - "src": "33004:10:1" + "src": "33941:10:0" } ], - "id": 1786, + "id": 1278, "name": "VariableDeclaration", - "src": "33004:22:1" + "src": "33941:22:0" } ], - "id": 1787, + "id": 1279, "name": "ParameterList", - "src": "33003:24:1" + "src": "33940:24:0" }, { "children": [ @@ -54095,7 +54095,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54107,25 +54107,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1788, + "id": 1280, "name": "ElementaryTypeName", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1789, + "id": 1281, "name": "VariableDeclaration", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1790, + "id": 1282, "name": "ParameterList", - "src": "33050:9:1" + "src": "33987:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1790 + "functionReturnParameters": 1282 }, "children": [ { @@ -54147,20 +54147,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1791, + "id": 1283, "name": "Identifier", - "src": "33077:7:1" + "src": "34015:7:0" }, { "attributes": { @@ -54169,7 +54169,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54178,38 +54178,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1786, + "referencedDeclaration": 1278, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1792, + "id": 1284, "name": "Identifier", - "src": "33085:3:1" + "src": "34023:3:0" } ], - "id": 1793, + "id": 1285, "name": "MemberAccess", - "src": "33085:10:1" + "src": "34023:10:0" } ], - "id": 1794, + "id": 1286, "name": "FunctionCall", - "src": "33077:19:1" + "src": "34015:19:0" } ], - "id": 1795, + "id": 1287, "name": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ], - "id": 1796, + "id": 1288, "name": "Block", - "src": "33060:43:1" + "src": "33997:45:0" } ], - "id": 1797, + "id": 1289, "name": "FunctionDefinition", - "src": "32988:115:1" + "src": "33925:117:0" }, { "attributes": { @@ -54220,7 +54220,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54230,9 +54230,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1798, + "id": 1290, "name": "StructuredDocumentation", - "src": "33108:322:1" + "src": "34049:331:0" }, { "children": [ @@ -54241,7 +54241,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54251,24 +54251,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1799, + "id": 1291, "name": "UserDefinedTypeName", - "src": "33447:10:1" + "src": "34398:10:0" } ], - "id": 1800, + "id": 1292, "name": "VariableDeclaration", - "src": "33447:22:1" + "src": "34398:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54280,19 +54280,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1801, + "id": 1293, "name": "ElementaryTypeName", - "src": "33471:7:1" + "src": "34422:7:0" } ], - "id": 1802, + "id": 1294, "name": "VariableDeclaration", - "src": "33471:13:1" + "src": "34422:13:0" } ], - "id": 1803, + "id": 1295, "name": "ParameterList", - "src": "33446:39:1" + "src": "34397:39:0" }, { "children": [ @@ -54301,7 +54301,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -54314,25 +54314,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1804, + "id": 1296, "name": "ElementaryTypeName", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1805, + "id": 1297, "name": "VariableDeclaration", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1806, + "id": 1298, "name": "ParameterList", - "src": "33508:9:1" + "src": "34459:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1806 + "functionReturnParameters": 1298 }, "children": [ { @@ -54369,14 +54369,14 @@ "attributes": { "name": "address" }, - "id": 1807, + "id": 1299, "name": "ElementaryTypeName", - "src": "33535:7:1" + "src": "34487:7:0" } ], - "id": 1808, + "id": 1300, "name": "ElementaryTypeNameExpression", - "src": "33535:7:1" + "src": "34487:7:0" }, { "attributes": { @@ -54412,14 +54412,14 @@ "attributes": { "name": "uint160" }, - "id": 1809, + "id": 1301, "name": "ElementaryTypeName", - "src": "33543:7:1" + "src": "34495:7:0" } ], - "id": 1810, + "id": 1302, "name": "ElementaryTypeNameExpression", - "src": "33543:7:1" + "src": "34495:7:0" }, { "attributes": { @@ -54455,14 +54455,14 @@ "attributes": { "name": "uint256" }, - "id": 1811, + "id": 1303, "name": "ElementaryTypeName", - "src": "33551:7:1" + "src": "34503:7:0" } ], - "id": 1812, + "id": 1304, "name": "ElementaryTypeNameExpression", - "src": "33551:7:1" + "src": "34503:7:0" }, { "attributes": { @@ -54483,7 +54483,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54494,13 +54494,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1813, + "id": 1305, "name": "Identifier", - "src": "33559:3:1" + "src": "34511:3:0" }, { "attributes": { @@ -54509,7 +54509,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54518,72 +54518,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1800, + "referencedDeclaration": 1292, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1814, + "id": 1306, "name": "Identifier", - "src": "33563:3:1" + "src": "34515:3:0" } ], - "id": 1815, + "id": 1307, "name": "MemberAccess", - "src": "33563:10:1" + "src": "34515:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1802, + "referencedDeclaration": 1294, "type": "uint256", "value": "index" }, - "id": 1816, + "id": 1308, "name": "Identifier", - "src": "33575:5:1" + "src": "34527:5:0" } ], - "id": 1817, + "id": 1309, "name": "FunctionCall", - "src": "33559:22:1" + "src": "34511:22:0" } ], - "id": 1818, + "id": 1310, "name": "FunctionCall", - "src": "33551:31:1" + "src": "34503:31:0" } ], - "id": 1819, + "id": 1311, "name": "FunctionCall", - "src": "33543:40:1" + "src": "34495:40:0" } ], - "id": 1820, + "id": 1312, "name": "FunctionCall", - "src": "33535:49:1" + "src": "34487:49:0" } ], - "id": 1821, + "id": 1313, "name": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ], - "id": 1822, + "id": 1314, "name": "Block", - "src": "33518:73:1" + "src": "34469:75:0" } ], - "id": 1823, + "id": 1315, "name": "FunctionDefinition", - "src": "33435:156:1" + "src": "34386:158:0" }, { "attributes": { "canonicalName": "EnumerableSet.UintSet", "name": "UintSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -54592,7 +54592,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1826, + "scope": 1318, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -54602,22 +54602,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1824, + "id": 1316, "name": "UserDefinedTypeName", - "src": "33639:3:1" + "src": "34598:3:0" } ], - "id": 1825, + "id": 1317, "name": "VariableDeclaration", - "src": "33639:10:1" + "src": "34598:10:0" } ], - "id": 1826, + "id": 1318, "name": "StructDefinition", - "src": "33614:42:1" + "src": "34572:44:0" }, { "attributes": { @@ -54628,7 +54628,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -54638,9 +54638,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1827, + "id": 1319, "name": "StructuredDocumentation", - "src": "33662:159:1" + "src": "34624:164:0" }, { "children": [ @@ -54649,7 +54649,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -54659,24 +54659,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1828, + "id": 1320, "name": "UserDefinedTypeName", - "src": "33839:7:1" + "src": "34807:7:0" } ], - "id": 1829, + "id": 1321, "name": "VariableDeclaration", - "src": "33839:19:1" + "src": "34807:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54688,19 +54688,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1830, + "id": 1322, "name": "ElementaryTypeName", - "src": "33860:7:1" + "src": "34828:7:0" } ], - "id": 1831, + "id": 1323, "name": "VariableDeclaration", - "src": "33860:13:1" + "src": "34828:13:0" } ], - "id": 1832, + "id": 1324, "name": "ParameterList", - "src": "33838:36:1" + "src": "34806:36:0" }, { "children": [ @@ -54709,7 +54709,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -54721,25 +54721,25 @@ "name": "bool", "type": "bool" }, - "id": 1833, + "id": 1325, "name": "ElementaryTypeName", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1834, + "id": 1326, "name": "VariableDeclaration", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1835, + "id": 1327, "name": "ParameterList", - "src": "33892:6:1" + "src": "34860:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1835 + "functionReturnParameters": 1327 }, "children": [ { @@ -54761,7 +54761,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54772,13 +54772,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1836, + "id": 1328, "name": "Identifier", - "src": "33916:4:1" + "src": "34885:4:0" }, { "attributes": { @@ -54787,7 +54787,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54796,18 +54796,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1829, + "referencedDeclaration": 1321, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1837, + "id": 1329, "name": "Identifier", - "src": "33921:3:1" + "src": "34890:3:0" } ], - "id": 1838, + "id": 1330, "name": "MemberAccess", - "src": "33921:10:1" + "src": "34890:10:0" }, { "attributes": { @@ -54843,52 +54843,52 @@ "attributes": { "name": "bytes32" }, - "id": 1839, + "id": 1331, "name": "ElementaryTypeName", - "src": "33933:7:1" + "src": "34902:7:0" } ], - "id": 1840, + "id": 1332, "name": "ElementaryTypeNameExpression", - "src": "33933:7:1" + "src": "34902:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1831, + "referencedDeclaration": 1323, "type": "uint256", "value": "value" }, - "id": 1841, + "id": 1333, "name": "Identifier", - "src": "33941:5:1" + "src": "34910:5:0" } ], - "id": 1842, + "id": 1334, "name": "FunctionCall", - "src": "33933:14:1" + "src": "34902:14:0" } ], - "id": 1843, + "id": 1335, "name": "FunctionCall", - "src": "33916:32:1" + "src": "34885:32:0" } ], - "id": 1844, + "id": 1336, "name": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ], - "id": 1845, + "id": 1337, "name": "Block", - "src": "33899:56:1" + "src": "34867:58:0" } ], - "id": 1846, + "id": 1338, "name": "FunctionDefinition", - "src": "33826:129:1" + "src": "34794:131:0" }, { "attributes": { @@ -54899,7 +54899,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -54909,9 +54909,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1847, + "id": 1339, "name": "StructuredDocumentation", - "src": "33961:157:1" + "src": "34933:162:0" }, { "children": [ @@ -54920,7 +54920,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -54930,24 +54930,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1848, + "id": 1340, "name": "UserDefinedTypeName", - "src": "34139:7:1" + "src": "35117:7:0" } ], - "id": 1849, + "id": 1341, "name": "VariableDeclaration", - "src": "34139:19:1" + "src": "35117:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54959,19 +54959,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1850, + "id": 1342, "name": "ElementaryTypeName", - "src": "34160:7:1" + "src": "35138:7:0" } ], - "id": 1851, + "id": 1343, "name": "VariableDeclaration", - "src": "34160:13:1" + "src": "35138:13:0" } ], - "id": 1852, + "id": 1344, "name": "ParameterList", - "src": "34138:36:1" + "src": "35116:36:0" }, { "children": [ @@ -54980,7 +54980,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -54992,25 +54992,25 @@ "name": "bool", "type": "bool" }, - "id": 1853, + "id": 1345, "name": "ElementaryTypeName", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1854, + "id": 1346, "name": "VariableDeclaration", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1855, + "id": 1347, "name": "ParameterList", - "src": "34192:6:1" + "src": "35170:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1855 + "functionReturnParameters": 1347 }, "children": [ { @@ -55032,7 +55032,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55043,13 +55043,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1856, + "id": 1348, "name": "Identifier", - "src": "34216:7:1" + "src": "35195:7:0" }, { "attributes": { @@ -55058,7 +55058,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55067,18 +55067,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1849, + "referencedDeclaration": 1341, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1857, + "id": 1349, "name": "Identifier", - "src": "34224:3:1" + "src": "35203:3:0" } ], - "id": 1858, + "id": 1350, "name": "MemberAccess", - "src": "34224:10:1" + "src": "35203:10:0" }, { "attributes": { @@ -55114,52 +55114,52 @@ "attributes": { "name": "bytes32" }, - "id": 1859, + "id": 1351, "name": "ElementaryTypeName", - "src": "34236:7:1" + "src": "35215:7:0" } ], - "id": 1860, + "id": 1352, "name": "ElementaryTypeNameExpression", - "src": "34236:7:1" + "src": "35215:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1851, + "referencedDeclaration": 1343, "type": "uint256", "value": "value" }, - "id": 1861, + "id": 1353, "name": "Identifier", - "src": "34244:5:1" + "src": "35223:5:0" } ], - "id": 1862, + "id": 1354, "name": "FunctionCall", - "src": "34236:14:1" + "src": "35215:14:0" } ], - "id": 1863, + "id": 1355, "name": "FunctionCall", - "src": "34216:35:1" + "src": "35195:35:0" } ], - "id": 1864, + "id": 1356, "name": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ], - "id": 1865, + "id": 1357, "name": "Block", - "src": "34199:59:1" + "src": "35177:61:0" } ], - "id": 1866, + "id": 1358, "name": "FunctionDefinition", - "src": "34123:135:1" + "src": "35101:137:0" }, { "attributes": { @@ -55170,7 +55170,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55180,9 +55180,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1867, + "id": 1359, "name": "StructuredDocumentation", - "src": "34264:70:1" + "src": "35246:72:0" }, { "children": [ @@ -55191,7 +55191,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55201,24 +55201,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1868, + "id": 1360, "name": "UserDefinedTypeName", - "src": "34357:7:1" + "src": "35342:7:0" } ], - "id": 1869, + "id": 1361, "name": "VariableDeclaration", - "src": "34357:19:1" + "src": "35342:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55230,19 +55230,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1870, + "id": 1362, "name": "ElementaryTypeName", - "src": "34378:7:1" + "src": "35363:7:0" } ], - "id": 1871, + "id": 1363, "name": "VariableDeclaration", - "src": "34378:13:1" + "src": "35363:13:0" } ], - "id": 1872, + "id": 1364, "name": "ParameterList", - "src": "34356:36:1" + "src": "35341:36:0" }, { "children": [ @@ -55251,7 +55251,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55263,25 +55263,25 @@ "name": "bool", "type": "bool" }, - "id": 1873, + "id": 1365, "name": "ElementaryTypeName", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1874, + "id": 1366, "name": "VariableDeclaration", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1875, + "id": 1367, "name": "ParameterList", - "src": "34415:6:1" + "src": "35400:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1875 + "functionReturnParameters": 1367 }, "children": [ { @@ -55303,7 +55303,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55314,13 +55314,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1876, + "id": 1368, "name": "Identifier", - "src": "34439:9:1" + "src": "35425:9:0" }, { "attributes": { @@ -55329,7 +55329,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55338,18 +55338,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1869, + "referencedDeclaration": 1361, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1877, + "id": 1369, "name": "Identifier", - "src": "34449:3:1" + "src": "35435:3:0" } ], - "id": 1878, + "id": 1370, "name": "MemberAccess", - "src": "34449:10:1" + "src": "35435:10:0" }, { "attributes": { @@ -55385,52 +55385,52 @@ "attributes": { "name": "bytes32" }, - "id": 1879, + "id": 1371, "name": "ElementaryTypeName", - "src": "34461:7:1" + "src": "35447:7:0" } ], - "id": 1880, + "id": 1372, "name": "ElementaryTypeNameExpression", - "src": "34461:7:1" + "src": "35447:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1871, + "referencedDeclaration": 1363, "type": "uint256", "value": "value" }, - "id": 1881, + "id": 1373, "name": "Identifier", - "src": "34469:5:1" + "src": "35455:5:0" } ], - "id": 1882, + "id": 1374, "name": "FunctionCall", - "src": "34461:14:1" + "src": "35447:14:0" } ], - "id": 1883, + "id": 1375, "name": "FunctionCall", - "src": "34439:37:1" + "src": "35425:37:0" } ], - "id": 1884, + "id": 1376, "name": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ], - "id": 1885, + "id": 1377, "name": "Block", - "src": "34422:61:1" + "src": "35407:63:0" } ], - "id": 1886, + "id": 1378, "name": "FunctionDefinition", - "src": "34339:144:1" + "src": "35324:146:0" }, { "attributes": { @@ -55441,7 +55441,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55451,9 +55451,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1887, + "id": 1379, "name": "StructuredDocumentation", - "src": "34489:70:1" + "src": "35478:72:0" }, { "children": [ @@ -55462,7 +55462,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55472,22 +55472,22 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1888, + "id": 1380, "name": "UserDefinedTypeName", - "src": "34580:7:1" + "src": "35572:7:0" } ], - "id": 1889, + "id": 1381, "name": "VariableDeclaration", - "src": "34580:19:1" + "src": "35572:19:0" } ], - "id": 1890, + "id": 1382, "name": "ParameterList", - "src": "34579:21:1" + "src": "35571:21:0" }, { "children": [ @@ -55496,7 +55496,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55508,25 +55508,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1891, + "id": 1383, "name": "ElementaryTypeName", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1892, + "id": 1384, "name": "VariableDeclaration", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1893, + "id": 1385, "name": "ParameterList", - "src": "34623:9:1" + "src": "35615:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1893 + "functionReturnParameters": 1385 }, "children": [ { @@ -55548,20 +55548,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1894, + "id": 1386, "name": "Identifier", - "src": "34650:7:1" + "src": "35643:7:0" }, { "attributes": { @@ -55570,7 +55570,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55579,38 +55579,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1889, + "referencedDeclaration": 1381, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1895, + "id": 1387, "name": "Identifier", - "src": "34658:3:1" + "src": "35651:3:0" } ], - "id": 1896, + "id": 1388, "name": "MemberAccess", - "src": "34658:10:1" + "src": "35651:10:0" } ], - "id": 1897, + "id": 1389, "name": "FunctionCall", - "src": "34650:19:1" + "src": "35643:19:0" } ], - "id": 1898, + "id": 1390, "name": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ], - "id": 1899, + "id": 1391, "name": "Block", - "src": "34633:43:1" + "src": "35625:45:0" } ], - "id": 1900, + "id": 1392, "name": "FunctionDefinition", - "src": "34564:112:1" + "src": "35556:114:0" }, { "attributes": { @@ -55621,7 +55621,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55631,9 +55631,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1901, + "id": 1393, "name": "StructuredDocumentation", - "src": "34681:322:1" + "src": "35677:331:0" }, { "children": [ @@ -55642,7 +55642,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55652,24 +55652,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1902, + "id": 1394, "name": "UserDefinedTypeName", - "src": "35020:7:1" + "src": "36026:7:0" } ], - "id": 1903, + "id": 1395, "name": "VariableDeclaration", - "src": "35020:19:1" + "src": "36026:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55681,19 +55681,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1904, + "id": 1396, "name": "ElementaryTypeName", - "src": "35041:7:1" + "src": "36047:7:0" } ], - "id": 1905, + "id": 1397, "name": "VariableDeclaration", - "src": "35041:13:1" + "src": "36047:13:0" } ], - "id": 1906, + "id": 1398, "name": "ParameterList", - "src": "35019:36:1" + "src": "36025:36:0" }, { "children": [ @@ -55702,7 +55702,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55714,25 +55714,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1907, + "id": 1399, "name": "ElementaryTypeName", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1908, + "id": 1400, "name": "VariableDeclaration", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1909, + "id": 1401, "name": "ParameterList", - "src": "35078:9:1" + "src": "36084:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1909 + "functionReturnParameters": 1401 }, "children": [ { @@ -55769,14 +55769,14 @@ "attributes": { "name": "uint256" }, - "id": 1910, + "id": 1402, "name": "ElementaryTypeName", - "src": "35105:7:1" + "src": "36112:7:0" } ], - "id": 1911, + "id": 1403, "name": "ElementaryTypeNameExpression", - "src": "35105:7:1" + "src": "36112:7:0" }, { "attributes": { @@ -55797,7 +55797,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55808,13 +55808,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1912, + "id": 1404, "name": "Identifier", - "src": "35113:3:1" + "src": "36120:3:0" }, { "attributes": { @@ -55823,7 +55823,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55832,61 +55832,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1903, + "referencedDeclaration": 1395, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1913, + "id": 1405, "name": "Identifier", - "src": "35117:3:1" + "src": "36124:3:0" } ], - "id": 1914, + "id": 1406, "name": "MemberAccess", - "src": "35117:10:1" + "src": "36124:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1905, + "referencedDeclaration": 1397, "type": "uint256", "value": "index" }, - "id": 1915, + "id": 1407, "name": "Identifier", - "src": "35129:5:1" + "src": "36136:5:0" } ], - "id": 1916, + "id": 1408, "name": "FunctionCall", - "src": "35113:22:1" + "src": "36120:22:0" } ], - "id": 1917, + "id": 1409, "name": "FunctionCall", - "src": "35105:31:1" + "src": "36112:31:0" } ], - "id": 1918, + "id": 1410, "name": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ], - "id": 1919, + "id": 1411, "name": "Block", - "src": "35088:55:1" + "src": "36094:57:0" } ], - "id": 1920, + "id": 1412, "name": "FunctionDefinition", - "src": "35008:135:1" + "src": "36014:137:0" } ], - "id": 1921, + "id": 1413, "name": "ContractDefinition", - "src": "26511:8634:1" + "src": "27252:8902:0" }, { "attributes": { @@ -55900,9 +55900,9 @@ ".0" ] }, - "id": 1922, + "id": 1414, "name": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "attributes": { @@ -55916,25 +55916,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, - "id": 1923, + "id": 1415, "name": "StructuredDocumentation", - "src": "35237:705:1" + "src": "36251:728:0" }, { "attributes": { "canonicalName": "EnumerableMap.MapEntry", "name": "MapEntry", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -55943,7 +55943,7 @@ "constant": false, "mutability": "mutable", "name": "_key", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -55955,21 +55955,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1924, + "id": 1416, "name": "ElementaryTypeName", - "src": "36455:7:1" + "src": "37504:7:0" } ], - "id": 1925, + "id": 1417, "name": "VariableDeclaration", - "src": "36455:12:1" + "src": "37504:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_value", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -55981,25 +55981,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1926, + "id": 1418, "name": "ElementaryTypeName", - "src": "36477:7:1" + "src": "37527:7:0" } ], - "id": 1927, + "id": 1419, "name": "VariableDeclaration", - "src": "36477:14:1" + "src": "37527:14:0" } ], - "id": 1928, + "id": 1420, "name": "StructDefinition", - "src": "36429:69:1" + "src": "37477:72:0" }, { "attributes": { "canonicalName": "EnumerableMap.Map", "name": "Map", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -56008,7 +56008,7 @@ "constant": false, "mutability": "mutable", "name": "_entries", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.MapEntry[]", @@ -56023,29 +56023,29 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 1929, + "id": 1421, "name": "UserDefinedTypeName", - "src": "36567:8:1" + "src": "37622:8:0" } ], - "id": 1930, + "id": 1422, "name": "ArrayTypeName", - "src": "36567:10:1" + "src": "37622:10:0" } ], - "id": 1931, + "id": 1423, "name": "VariableDeclaration", - "src": "36567:19:1" + "src": "37622:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -56062,33 +56062,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1932, + "id": 1424, "name": "ElementaryTypeName", - "src": "36745:7:1" + "src": "37804:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1933, + "id": 1425, "name": "ElementaryTypeName", - "src": "36756:7:1" + "src": "37815:7:0" } ], - "id": 1934, + "id": 1426, "name": "Mapping", - "src": "36736:28:1" + "src": "37795:28:0" } ], - "id": 1935, + "id": 1427, "name": "VariableDeclaration", - "src": "36736:37:1" + "src": "37795:37:0" } ], - "id": 1936, + "id": 1428, "name": "StructDefinition", - "src": "36504:276:1" + "src": "37557:283:0" }, { "attributes": { @@ -56099,7 +56099,7 @@ null ], "name": "_set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56109,9 +56109,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1937, + "id": 1429, "name": "StructuredDocumentation", - "src": "36786:216:1" + "src": "37848:222:0" }, { "children": [ @@ -56120,7 +56120,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56130,24 +56130,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 1938, + "id": 1430, "name": "UserDefinedTypeName", - "src": "37021:3:1" + "src": "38090:3:0" } ], - "id": 1939, + "id": 1431, "name": "VariableDeclaration", - "src": "37021:15:1" + "src": "38090:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56159,21 +56159,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1940, + "id": 1432, "name": "ElementaryTypeName", - "src": "37038:7:1" + "src": "38107:7:0" } ], - "id": 1941, + "id": 1433, "name": "VariableDeclaration", - "src": "37038:11:1" + "src": "38107:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56185,19 +56185,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1942, + "id": 1434, "name": "ElementaryTypeName", - "src": "37051:7:1" + "src": "38120:7:0" } ], - "id": 1943, + "id": 1435, "name": "VariableDeclaration", - "src": "37051:13:1" + "src": "38120:13:0" } ], - "id": 1944, + "id": 1436, "name": "ParameterList", - "src": "37020:45:1" + "src": "38089:45:0" }, { "children": [ @@ -56206,7 +56206,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -56218,26 +56218,26 @@ "name": "bool", "type": "bool" }, - "id": 1945, + "id": 1437, "name": "ElementaryTypeName", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1946, + "id": 1438, "name": "VariableDeclaration", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1947, + "id": 1439, "name": "ParameterList", - "src": "37082:6:1" + "src": "38151:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1949 + 1441 ] }, "children": [ @@ -56246,7 +56246,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 1997, + "scope": 1489, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -56258,14 +56258,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1948, + "id": 1440, "name": "ElementaryTypeName", - "src": "37197:7:1" + "src": "38268:7:0" } ], - "id": 1949, + "id": 1441, "name": "VariableDeclaration", - "src": "37197:16:1" + "src": "38268:16:0" }, { "attributes": { @@ -56283,7 +56283,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56292,41 +56292,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1950, + "id": 1442, "name": "Identifier", - "src": "37216:3:1" + "src": "38287:3:0" } ], - "id": 1951, + "id": 1443, "name": "MemberAccess", - "src": "37216:12:1" + "src": "38287:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1952, + "id": 1444, "name": "Identifier", - "src": "37229:3:1" + "src": "38300:3:0" } ], - "id": 1953, + "id": 1445, "name": "IndexAccess", - "src": "37216:17:1" + "src": "38287:17:0" } ], - "id": 1954, + "id": 1446, "name": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "children": [ @@ -56349,13 +56349,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1955, + "id": 1447, "name": "Identifier", - "src": "37248:8:1" + "src": "38321:8:0" }, { "attributes": { @@ -56368,14 +56368,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1956, + "id": 1448, "name": "Literal", - "src": "37260:1:1" + "src": "38333:1:0" } ], - "id": 1957, + "id": 1449, "name": "BinaryOperation", - "src": "37248:13:1" + "src": "38321:13:0" }, { "children": [ @@ -56400,7 +56400,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], @@ -56419,7 +56419,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56428,23 +56428,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1958, + "id": 1450, "name": "Identifier", - "src": "37314:3:1" + "src": "38388:3:0" } ], - "id": 1961, + "id": 1453, "name": "MemberAccess", - "src": "37314:12:1" + "src": "38388:12:0" } ], - "id": 1962, + "id": 1454, "name": "MemberAccess", - "src": "37314:17:1" + "src": "38388:17:0" }, { "attributes": { @@ -56477,54 +56477,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "type(struct EnumerableMap.MapEntry storage pointer)", "value": "MapEntry" }, - "id": 1963, + "id": 1455, "name": "Identifier", - "src": "37332:8:1" + "src": "38406:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1964, + "id": 1456, "name": "Identifier", - "src": "37349:3:1" + "src": "38423:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1965, + "id": 1457, "name": "Identifier", - "src": "37362:5:1" + "src": "38436:5:0" } ], - "id": 1966, + "id": 1458, "name": "FunctionCall", - "src": "37332:38:1" + "src": "38406:38:0" } ], - "id": 1967, + "id": 1459, "name": "FunctionCall", - "src": "37314:57:1" + "src": "38388:57:0" } ], - "id": 1968, + "id": 1460, "name": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "children": [ @@ -56554,7 +56554,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56563,36 +56563,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1969, + "id": 1461, "name": "Identifier", - "src": "37506:3:1" + "src": "38583:3:0" } ], - "id": 1972, + "id": 1464, "name": "MemberAccess", - "src": "37506:12:1" + "src": "38583:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1971, + "id": 1463, "name": "Identifier", - "src": "37519:3:1" + "src": "38596:3:0" } ], - "id": 1973, + "id": 1465, "name": "IndexAccess", - "src": "37506:17:1" + "src": "38583:17:0" }, { "attributes": { @@ -56611,7 +56611,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56620,37 +56620,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1974, + "id": 1466, "name": "Identifier", - "src": "37526:3:1" + "src": "38603:3:0" } ], - "id": 1975, + "id": 1467, "name": "MemberAccess", - "src": "37526:12:1" + "src": "38603:12:0" } ], - "id": 1976, + "id": 1468, "name": "MemberAccess", - "src": "37526:19:1" + "src": "38603:19:0" } ], - "id": 1977, + "id": 1469, "name": "Assignment", - "src": "37506:39:1" + "src": "38583:39:0" } ], - "id": 1978, + "id": 1470, "name": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -56664,19 +56664,19 @@ "type": "bool", "value": "true" }, - "id": 1979, + "id": 1471, "name": "Literal", - "src": "37566:4:1" + "src": "38644:4:0" } ], - "id": 1980, + "id": 1472, "name": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ], - "id": 1981, + "id": 1473, "name": "Block", - "src": "37263:318:1" + "src": "38336:324:0" }, { "children": [ @@ -56699,7 +56699,7 @@ "isPure": false, "lValueRequested": true, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -56719,7 +56719,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56728,18 +56728,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1982, + "id": 1474, "name": "Identifier", - "src": "37601:3:1" + "src": "38681:3:0" } ], - "id": 1987, + "id": 1479, "name": "MemberAccess", - "src": "37601:12:1" + "src": "38681:12:0" }, { "attributes": { @@ -56760,13 +56760,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1984, + "id": 1476, "name": "Identifier", - "src": "37614:8:1" + "src": "38694:8:0" }, { "attributes": { @@ -56779,51 +56779,51 @@ "type": "int_const 1", "value": "1" }, - "id": 1985, + "id": 1477, "name": "Literal", - "src": "37625:1:1" + "src": "38705:1:0" } ], - "id": 1986, + "id": 1478, "name": "BinaryOperation", - "src": "37614:12:1" + "src": "38694:12:0" } ], - "id": 1988, + "id": 1480, "name": "IndexAccess", - "src": "37601:26:1" + "src": "38681:26:0" } ], - "id": 1989, + "id": 1481, "name": "MemberAccess", - "src": "37601:33:1" + "src": "38681:33:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1990, + "id": 1482, "name": "Identifier", - "src": "37637:5:1" + "src": "38717:5:0" } ], - "id": 1991, + "id": 1483, "name": "Assignment", - "src": "37601:41:1" + "src": "38681:41:0" } ], - "id": 1992, + "id": 1484, "name": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -56837,34 +56837,34 @@ "type": "bool", "value": "false" }, - "id": 1993, + "id": 1485, "name": "Literal", - "src": "37663:5:1" + "src": "38744:5:0" } ], - "id": 1994, + "id": 1486, "name": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ], - "id": 1995, + "id": 1487, "name": "Block", - "src": "37587:92:1" + "src": "38666:95:0" } ], - "id": 1996, + "id": 1488, "name": "IfStatement", - "src": "37244:435:1" + "src": "38317:444:0" } ], - "id": 1997, + "id": 1489, "name": "Block", - "src": "37089:596:1" + "src": "38158:610:0" } ], - "id": 1998, + "id": 1490, "name": "FunctionDefinition", - "src": "37007:678:1" + "src": "38076:692:0" }, { "attributes": { @@ -56875,7 +56875,7 @@ null ], "name": "_remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56885,9 +56885,9 @@ "attributes": { "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 1999, + "id": 1491, "name": "StructuredDocumentation", - "src": "37691:157:1" + "src": "38776:161:0" }, { "children": [ @@ -56896,7 +56896,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56906,24 +56906,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2000, + "id": 1492, "name": "UserDefinedTypeName", - "src": "37870:3:1" + "src": "38960:3:0" } ], - "id": 2001, + "id": 1493, "name": "VariableDeclaration", - "src": "37870:15:1" + "src": "38960:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56935,19 +56935,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2002, + "id": 1494, "name": "ElementaryTypeName", - "src": "37887:7:1" + "src": "38977:7:0" } ], - "id": 2003, + "id": 1495, "name": "VariableDeclaration", - "src": "37887:11:1" + "src": "38977:11:0" } ], - "id": 2004, + "id": 1496, "name": "ParameterList", - "src": "37869:30:1" + "src": "38959:30:0" }, { "children": [ @@ -56956,7 +56956,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -56968,26 +56968,26 @@ "name": "bool", "type": "bool" }, - "id": 2005, + "id": 1497, "name": "ElementaryTypeName", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2006, + "id": 1498, "name": "VariableDeclaration", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2007, + "id": 1499, "name": "ParameterList", - "src": "37916:6:1" + "src": "39006:6:0" }, { "children": [ { "attributes": { "assignments": [ - 2009 + 1501 ] }, "children": [ @@ -56996,7 +56996,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2078, + "scope": 1570, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57008,14 +57008,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2008, + "id": 1500, "name": "ElementaryTypeName", - "src": "38031:7:1" + "src": "39123:7:0" } ], - "id": 2009, + "id": 1501, "name": "VariableDeclaration", - "src": "38031:16:1" + "src": "39123:16:0" }, { "attributes": { @@ -57033,7 +57033,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57042,41 +57042,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2010, + "id": 1502, "name": "Identifier", - "src": "38050:3:1" + "src": "39142:3:0" } ], - "id": 2011, + "id": 1503, "name": "MemberAccess", - "src": "38050:12:1" + "src": "39142:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2012, + "id": 1504, "name": "Identifier", - "src": "38063:3:1" + "src": "39155:3:0" } ], - "id": 2013, + "id": 1505, "name": "IndexAccess", - "src": "38050:17:1" + "src": "39142:17:0" } ], - "id": 2014, + "id": 1506, "name": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "children": [ @@ -57099,13 +57099,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2015, + "id": 1507, "name": "Identifier", - "src": "38082:8:1" + "src": "39176:8:0" }, { "attributes": { @@ -57118,21 +57118,21 @@ "type": "int_const 0", "value": "0" }, - "id": 2016, + "id": 1508, "name": "Literal", - "src": "38094:1:1" + "src": "39188:1:0" } ], - "id": 2017, + "id": 1509, "name": "BinaryOperation", - "src": "38082:13:1" + "src": "39176:13:0" }, { "children": [ { "attributes": { "assignments": [ - 2019 + 1511 ] }, "children": [ @@ -57141,7 +57141,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57153,14 +57153,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2018, + "id": 1510, "name": "ElementaryTypeName", - "src": "38438:7:1" + "src": "39537:7:0" } ], - "id": 2019, + "id": 1511, "name": "VariableDeclaration", - "src": "38438:21:1" + "src": "39537:21:0" }, { "attributes": { @@ -57181,13 +57181,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2020, + "id": 1512, "name": "Identifier", - "src": "38462:8:1" + "src": "39561:8:0" }, { "attributes": { @@ -57200,24 +57200,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2021, + "id": 1513, "name": "Literal", - "src": "38473:1:1" + "src": "39572:1:0" } ], - "id": 2022, + "id": 1514, "name": "BinaryOperation", - "src": "38462:12:1" + "src": "39561:12:0" } ], - "id": 2023, + "id": 1515, "name": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "attributes": { "assignments": [ - 2025 + 1517 ] }, "children": [ @@ -57226,7 +57226,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57238,14 +57238,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2024, + "id": 1516, "name": "ElementaryTypeName", - "src": "38488:7:1" + "src": "39588:7:0" } ], - "id": 2025, + "id": 1517, "name": "VariableDeclaration", - "src": "38488:17:1" + "src": "39588:17:0" }, { "attributes": { @@ -57278,7 +57278,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57287,23 +57287,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2026, + "id": 1518, "name": "Identifier", - "src": "38508:3:1" + "src": "39608:3:0" } ], - "id": 2027, + "id": 1519, "name": "MemberAccess", - "src": "38508:12:1" + "src": "39608:12:0" } ], - "id": 2028, + "id": 1520, "name": "MemberAccess", - "src": "38508:19:1" + "src": "39608:19:0" }, { "attributes": { @@ -57316,24 +57316,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2029, + "id": 1521, "name": "Literal", - "src": "38530:1:1" + "src": "39630:1:0" } ], - "id": 2030, + "id": 1522, "name": "BinaryOperation", - "src": "38508:23:1" + "src": "39608:23:0" } ], - "id": 2031, + "id": 1523, "name": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "attributes": { "assignments": [ - 2033 + 1525 ] }, "children": [ @@ -57342,7 +57342,7 @@ "constant": false, "mutability": "mutable", "name": "lastEntry", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -57352,17 +57352,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2032, + "id": 1524, "name": "UserDefinedTypeName", - "src": "38771:8:1" + "src": "39876:8:0" } ], - "id": 2033, + "id": 1525, "name": "VariableDeclaration", - "src": "38771:26:1" + "src": "39876:26:0" }, { "attributes": { @@ -57380,7 +57380,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57389,41 +57389,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2034, + "id": 1526, "name": "Identifier", - "src": "38800:3:1" + "src": "39905:3:0" } ], - "id": 2035, + "id": 1527, "name": "MemberAccess", - "src": "38800:12:1" + "src": "39905:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2025, + "referencedDeclaration": 1517, "type": "uint256", "value": "lastIndex" }, - "id": 2036, + "id": 1528, "name": "Identifier", - "src": "38813:9:1" + "src": "39918:9:0" } ], - "id": 2037, + "id": 1529, "name": "IndexAccess", - "src": "38800:23:1" + "src": "39905:23:0" } ], - "id": 2038, + "id": 1530, "name": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "children": [ @@ -57453,7 +57453,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57462,59 +57462,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2039, + "id": 1531, "name": "Identifier", - "src": "38915:3:1" + "src": "40023:3:0" } ], - "id": 2042, + "id": 1534, "name": "MemberAccess", - "src": "38915:12:1" + "src": "40023:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2041, + "id": 1533, "name": "Identifier", - "src": "38928:13:1" + "src": "40036:13:0" } ], - "id": 2043, + "id": 1535, "name": "IndexAccess", - "src": "38915:27:1" + "src": "40023:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2044, + "id": 1536, "name": "Identifier", - "src": "38945:9:1" + "src": "40053:9:0" } ], - "id": 2045, + "id": 1537, "name": "Assignment", - "src": "38915:39:1" + "src": "40023:39:0" } ], - "id": 2046, + "id": 1538, "name": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "children": [ @@ -57544,7 +57544,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57553,18 +57553,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2047, + "id": 1539, "name": "Identifier", - "src": "39020:3:1" + "src": "40130:3:0" } ], - "id": 2051, + "id": 1543, "name": "MemberAccess", - "src": "39020:12:1" + "src": "40130:12:0" }, { "attributes": { @@ -57573,7 +57573,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -57582,23 +57582,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2049, + "id": 1541, "name": "Identifier", - "src": "39033:9:1" + "src": "40143:9:0" } ], - "id": 2050, + "id": 1542, "name": "MemberAccess", - "src": "39033:14:1" + "src": "40143:14:0" } ], - "id": 2052, + "id": 1544, "name": "IndexAccess", - "src": "39020:28:1" + "src": "40130:28:0" }, { "attributes": { @@ -57619,13 +57619,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2053, + "id": 1545, "name": "Identifier", - "src": "39051:13:1" + "src": "40161:13:0" }, { "attributes": { @@ -57638,24 +57638,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2054, + "id": 1546, "name": "Literal", - "src": "39067:1:1" + "src": "40177:1:0" } ], - "id": 2055, + "id": 1547, "name": "BinaryOperation", - "src": "39051:17:1" + "src": "40161:17:0" } ], - "id": 2056, + "id": 1548, "name": "Assignment", - "src": "39020:48:1" + "src": "40130:48:0" } ], - "id": 2057, + "id": 1549, "name": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "children": [ @@ -57697,7 +57697,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57706,33 +57706,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2058, + "id": 1550, "name": "Identifier", - "src": "39174:3:1" + "src": "40287:3:0" } ], - "id": 2061, + "id": 1553, "name": "MemberAccess", - "src": "39174:12:1" + "src": "40287:12:0" } ], - "id": 2062, + "id": 1554, "name": "MemberAccess", - "src": "39174:16:1" + "src": "40287:16:0" } ], - "id": 2063, + "id": 1555, "name": "FunctionCall", - "src": "39174:18:1" + "src": "40287:18:0" } ], - "id": 2064, + "id": 1556, "name": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "children": [ @@ -57763,7 +57763,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57772,50 +57772,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2065, + "id": 1557, "name": "Identifier", - "src": "39267:3:1" + "src": "40383:3:0" } ], - "id": 2066, + "id": 1558, "name": "MemberAccess", - "src": "39267:12:1" + "src": "40383:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2067, + "id": 1559, "name": "Identifier", - "src": "39280:3:1" + "src": "40396:3:0" } ], - "id": 2068, + "id": 1560, "name": "IndexAccess", - "src": "39267:17:1" + "src": "40383:17:0" } ], - "id": 2069, + "id": 1561, "name": "UnaryOperation", - "src": "39260:24:1" + "src": "40376:24:0" } ], - "id": 2070, + "id": 1562, "name": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -57829,25 +57829,25 @@ "type": "bool", "value": "true" }, - "id": 2071, + "id": 1563, "name": "Literal", - "src": "39306:4:1" + "src": "40424:4:0" } ], - "id": 2072, + "id": 1564, "name": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ], - "id": 2073, + "id": 1565, "name": "Block", - "src": "38097:1224:1" + "src": "39191:1249:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -57861,34 +57861,34 @@ "type": "bool", "value": "false" }, - "id": 2074, + "id": 1566, "name": "Literal", - "src": "39348:5:1" + "src": "40468:5:0" } ], - "id": 2075, + "id": 1567, "name": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ], - "id": 2076, + "id": 1568, "name": "Block", - "src": "39327:37:1" + "src": "40446:39:0" } ], - "id": 2077, + "id": 1569, "name": "IfStatement", - "src": "38078:1286:1" + "src": "39172:1313:0" } ], - "id": 2078, + "id": 1570, "name": "Block", - "src": "37923:1447:1" + "src": "39013:1479:0" } ], - "id": 2079, + "id": 1571, "name": "FunctionDefinition", - "src": "37853:1517:1" + "src": "38943:1549:0" }, { "attributes": { @@ -57899,7 +57899,7 @@ null ], "name": "_contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -57909,9 +57909,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2080, + "id": 1572, "name": "StructuredDocumentation", - "src": "39376:68:1" + "src": "40500:70:0" }, { "children": [ @@ -57920,7 +57920,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -57930,24 +57930,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2081, + "id": 1573, "name": "UserDefinedTypeName", - "src": "39468:3:1" + "src": "40595:3:0" } ], - "id": 2082, + "id": 1574, "name": "VariableDeclaration", - "src": "39468:15:1" + "src": "40595:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -57959,19 +57959,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2083, + "id": 1575, "name": "ElementaryTypeName", - "src": "39485:7:1" + "src": "40612:7:0" } ], - "id": 2084, + "id": 1576, "name": "VariableDeclaration", - "src": "39485:11:1" + "src": "40612:11:0" } ], - "id": 2085, + "id": 1577, "name": "ParameterList", - "src": "39467:30:1" + "src": "40594:30:0" }, { "children": [ @@ -57980,7 +57980,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -57992,25 +57992,25 @@ "name": "bool", "type": "bool" }, - "id": 2086, + "id": 1578, "name": "ElementaryTypeName", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2087, + "id": 1579, "name": "VariableDeclaration", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2088, + "id": 1580, "name": "ParameterList", - "src": "39519:6:1" + "src": "40646:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2088 + "functionReturnParameters": 1580 }, "children": [ { @@ -58043,7 +58043,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58052,36 +58052,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2082, + "referencedDeclaration": 1574, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2089, + "id": 1581, "name": "Identifier", - "src": "39543:3:1" + "src": "40671:3:0" } ], - "id": 2090, + "id": 1582, "name": "MemberAccess", - "src": "39543:12:1" + "src": "40671:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2084, + "referencedDeclaration": 1576, "type": "bytes32", "value": "key" }, - "id": 2091, + "id": 1583, "name": "Identifier", - "src": "39556:3:1" + "src": "40684:3:0" } ], - "id": 2092, + "id": 1584, "name": "IndexAccess", - "src": "39543:17:1" + "src": "40671:17:0" }, { "attributes": { @@ -58094,29 +58094,29 @@ "type": "int_const 0", "value": "0" }, - "id": 2093, + "id": 1585, "name": "Literal", - "src": "39564:1:1" + "src": "40692:1:0" } ], - "id": 2094, + "id": 1586, "name": "BinaryOperation", - "src": "39543:22:1" + "src": "40671:22:0" } ], - "id": 2095, + "id": 1587, "name": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ], - "id": 2096, + "id": 1588, "name": "Block", - "src": "39526:46:1" + "src": "40653:48:0" } ], - "id": 2097, + "id": 1589, "name": "FunctionDefinition", - "src": "39449:123:1" + "src": "40576:125:0" }, { "attributes": { @@ -58127,7 +58127,7 @@ null ], "name": "_length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58137,9 +58137,9 @@ "attributes": { "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2098, + "id": 1590, "name": "StructuredDocumentation", - "src": "39578:79:1" + "src": "40709:81:0" }, { "children": [ @@ -58148,7 +58148,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58158,22 +58158,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2099, + "id": 1591, "name": "UserDefinedTypeName", - "src": "39679:3:1" + "src": "40813:3:0" } ], - "id": 2100, + "id": 1592, "name": "VariableDeclaration", - "src": "39679:15:1" + "src": "40813:15:0" } ], - "id": 2101, + "id": 1593, "name": "ParameterList", - "src": "39678:17:1" + "src": "40812:17:0" }, { "children": [ @@ -58182,7 +58182,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58194,25 +58194,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2102, + "id": 1594, "name": "ElementaryTypeName", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2103, + "id": 1595, "name": "VariableDeclaration", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2104, + "id": 1596, "name": "ParameterList", - "src": "39717:9:1" + "src": "40851:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2104 + "functionReturnParameters": 1596 }, "children": [ { @@ -58232,7 +58232,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58241,38 +58241,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2100, + "referencedDeclaration": 1592, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2105, + "id": 1597, "name": "Identifier", - "src": "39744:3:1" + "src": "40879:3:0" } ], - "id": 2106, + "id": 1598, "name": "MemberAccess", - "src": "39744:12:1" + "src": "40879:12:0" } ], - "id": 2107, + "id": 1599, "name": "MemberAccess", - "src": "39744:19:1" + "src": "40879:19:0" } ], - "id": 2108, + "id": 1600, "name": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ], - "id": 2109, + "id": 1601, "name": "Block", - "src": "39727:43:1" + "src": "40861:45:0" } ], - "id": 2110, + "id": 1602, "name": "FunctionDefinition", - "src": "39662:108:1" + "src": "40796:110:0" }, { "attributes": { @@ -58283,7 +58283,7 @@ null ], "name": "_at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58293,9 +58293,9 @@ "attributes": { "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2111, + "id": 1603, "name": "StructuredDocumentation", - "src": "39775:333:1" + "src": "40913:342:0" }, { "children": [ @@ -58304,7 +58304,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58314,24 +58314,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2112, + "id": 1604, "name": "UserDefinedTypeName", - "src": "40126:3:1" + "src": "41274:3:0" } ], - "id": 2113, + "id": 1605, "name": "VariableDeclaration", - "src": "40126:15:1" + "src": "41274:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58343,19 +58343,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2114, + "id": 1606, "name": "ElementaryTypeName", - "src": "40143:7:1" + "src": "41291:7:0" } ], - "id": 2115, + "id": 1607, "name": "VariableDeclaration", - "src": "40143:13:1" + "src": "41291:13:0" } ], - "id": 2116, + "id": 1608, "name": "ParameterList", - "src": "40125:32:1" + "src": "41273:32:0" }, { "children": [ @@ -58364,7 +58364,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58376,21 +58376,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2117, + "id": 1609, "name": "ElementaryTypeName", - "src": "40180:7:1" + "src": "41328:7:0" } ], - "id": 2118, + "id": 1610, "name": "VariableDeclaration", - "src": "40180:7:1" + "src": "41328:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58402,19 +58402,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2119, + "id": 1611, "name": "ElementaryTypeName", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2120, + "id": 1612, "name": "VariableDeclaration", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2121, + "id": 1613, "name": "ParameterList", - "src": "40179:18:1" + "src": "41327:18:0" }, { "children": [ @@ -58455,9 +58455,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2122, + "id": 1614, "name": "Identifier", - "src": "40208:7:1" + "src": "41357:7:0" }, { "attributes": { @@ -58490,7 +58490,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58499,41 +58499,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2123, + "id": 1615, "name": "Identifier", - "src": "40216:3:1" + "src": "41365:3:0" } ], - "id": 2124, + "id": 1616, "name": "MemberAccess", - "src": "40216:12:1" + "src": "41365:12:0" } ], - "id": 2125, + "id": 1617, "name": "MemberAccess", - "src": "40216:19:1" + "src": "41365:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2126, + "id": 1618, "name": "Identifier", - "src": "40238:5:1" + "src": "41387:5:0" } ], - "id": 2127, + "id": 1619, "name": "BinaryOperation", - "src": "40216:27:1" + "src": "41365:27:0" }, { "attributes": { @@ -58546,24 +58546,24 @@ "type": "literal_string \"EnumerableMap: index out of bounds\"", "value": "EnumerableMap: index out of bounds" }, - "id": 2128, + "id": 1620, "name": "Literal", - "src": "40245:36:1" + "src": "41394:36:0" } ], - "id": 2129, + "id": 1621, "name": "FunctionCall", - "src": "40208:74:1" + "src": "41357:74:0" } ], - "id": 2130, + "id": 1622, "name": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "attributes": { "assignments": [ - 2132 + 1624 ] }, "children": [ @@ -58572,7 +58572,7 @@ "constant": false, "mutability": "mutable", "name": "entry", - "scope": 2144, + "scope": 1636, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -58582,17 +58582,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2131, + "id": 1623, "name": "UserDefinedTypeName", - "src": "40293:8:1" + "src": "41444:8:0" } ], - "id": 2132, + "id": 1624, "name": "VariableDeclaration", - "src": "40293:22:1" + "src": "41444:22:0" }, { "attributes": { @@ -58610,7 +58610,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58619,45 +58619,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2133, + "id": 1625, "name": "Identifier", - "src": "40318:3:1" + "src": "41469:3:0" } ], - "id": 2134, + "id": 1626, "name": "MemberAccess", - "src": "40318:12:1" + "src": "41469:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2135, + "id": 1627, "name": "Identifier", - "src": "40331:5:1" + "src": "41482:5:0" } ], - "id": 2136, + "id": 1628, "name": "IndexAccess", - "src": "40318:19:1" + "src": "41469:19:0" } ], - "id": 2137, + "id": 1629, "name": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "attributes": { - "functionReturnParameters": 2121 + "functionReturnParameters": 1613 }, "children": [ { @@ -58677,7 +58677,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -58686,18 +58686,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2138, + "id": 1630, "name": "Identifier", - "src": "40355:5:1" + "src": "41507:5:0" } ], - "id": 2139, + "id": 1631, "name": "MemberAccess", - "src": "40355:10:1" + "src": "41507:10:0" }, { "attributes": { @@ -58706,7 +58706,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -58715,38 +58715,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2140, + "id": 1632, "name": "Identifier", - "src": "40367:5:1" + "src": "41519:5:0" } ], - "id": 2141, + "id": 1633, "name": "MemberAccess", - "src": "40367:12:1" + "src": "41519:12:0" } ], - "id": 2142, + "id": 1634, "name": "TupleExpression", - "src": "40354:26:1" + "src": "41506:26:0" } ], - "id": 2143, + "id": 1635, "name": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ], - "id": 2144, + "id": 1636, "name": "Block", - "src": "40198:189:1" + "src": "41346:194:0" } ], - "id": 2145, + "id": 1637, "name": "FunctionDefinition", - "src": "40113:274:1" + "src": "41261:279:0" }, { "attributes": { @@ -58757,7 +58757,7 @@ null ], "name": "_tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58767,9 +58767,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2146, + "id": 1638, "name": "StructuredDocumentation", - "src": "40393:131:1" + "src": "41548:134:0" }, { "children": [ @@ -58778,7 +58778,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58788,24 +58788,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2147, + "id": 1639, "name": "UserDefinedTypeName", - "src": "40546:3:1" + "src": "41705:3:0" } ], - "id": 2148, + "id": 1640, "name": "VariableDeclaration", - "src": "40546:15:1" + "src": "41705:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58817,19 +58817,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2149, + "id": 1641, "name": "ElementaryTypeName", - "src": "40563:7:1" + "src": "41722:7:0" } ], - "id": 2150, + "id": 1642, "name": "VariableDeclaration", - "src": "40563:11:1" + "src": "41722:11:0" } ], - "id": 2151, + "id": 1643, "name": "ParameterList", - "src": "40545:30:1" + "src": "41704:30:0" }, { "children": [ @@ -58838,7 +58838,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -58850,21 +58850,21 @@ "name": "bool", "type": "bool" }, - "id": 2152, + "id": 1644, "name": "ElementaryTypeName", - "src": "40598:4:1" + "src": "41757:4:0" } ], - "id": 2153, + "id": 1645, "name": "VariableDeclaration", - "src": "40598:4:1" + "src": "41757:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58876,26 +58876,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2154, + "id": 1646, "name": "ElementaryTypeName", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2155, + "id": 1647, "name": "VariableDeclaration", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2156, + "id": 1648, "name": "ParameterList", - "src": "40597:15:1" + "src": "41756:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2158 + 1650 ] }, "children": [ @@ -58904,7 +58904,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2182, + "scope": 1674, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58916,14 +58916,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2157, + "id": 1649, "name": "ElementaryTypeName", - "src": "40623:7:1" + "src": "41783:7:0" } ], - "id": 2158, + "id": 1650, "name": "VariableDeclaration", - "src": "40623:16:1" + "src": "41783:16:0" }, { "attributes": { @@ -58941,7 +58941,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58950,41 +58950,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2159, + "id": 1651, "name": "Identifier", - "src": "40642:3:1" + "src": "41802:3:0" } ], - "id": 2160, + "id": 1652, "name": "MemberAccess", - "src": "40642:12:1" + "src": "41802:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2150, + "referencedDeclaration": 1642, "type": "bytes32", "value": "key" }, - "id": 2161, + "id": 1653, "name": "Identifier", - "src": "40655:3:1" + "src": "41815:3:0" } ], - "id": 2162, + "id": 1654, "name": "IndexAccess", - "src": "40642:17:1" + "src": "41802:17:0" } ], - "id": 2163, + "id": 1655, "name": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "attributes": {}, @@ -59008,13 +59008,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2164, + "id": 1656, "name": "Identifier", - "src": "40673:8:1" + "src": "41834:8:0" }, { "attributes": { @@ -59027,18 +59027,18 @@ "type": "int_const 0", "value": "0" }, - "id": 2165, + "id": 1657, "name": "Literal", - "src": "40685:1:1" + "src": "41846:1:0" } ], - "id": 2166, + "id": 1658, "name": "BinaryOperation", - "src": "40673:13:1" + "src": "41834:13:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59062,9 +59062,9 @@ "type": "bool", "value": "false" }, - "id": 2167, + "id": 1659, "name": "Literal", - "src": "40696:5:1" + "src": "41857:5:0" }, { "attributes": { @@ -59077,28 +59077,28 @@ "type": "int_const 0", "value": "0" }, - "id": 2168, + "id": 1660, "name": "Literal", - "src": "40703:1:1" + "src": "41864:1:0" } ], - "id": 2169, + "id": 1661, "name": "TupleExpression", - "src": "40695:10:1" + "src": "41856:10:0" } ], - "id": 2170, + "id": 1662, "name": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } ], - "id": 2171, + "id": 1663, "name": "IfStatement", - "src": "40669:36:1" + "src": "41830:36:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59122,9 +59122,9 @@ "type": "bool", "value": "true" }, - "id": 2172, + "id": 1664, "name": "Literal", - "src": "40759:4:1" + "src": "41921:4:0" }, { "attributes": { @@ -59133,7 +59133,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59153,7 +59153,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59162,18 +59162,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2173, + "id": 1665, "name": "Identifier", - "src": "40765:3:1" + "src": "41927:3:0" } ], - "id": 2174, + "id": 1666, "name": "MemberAccess", - "src": "40765:12:1" + "src": "41927:12:0" }, { "attributes": { @@ -59194,13 +59194,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2175, + "id": 1667, "name": "Identifier", - "src": "40778:8:1" + "src": "41940:8:0" }, { "attributes": { @@ -59213,44 +59213,44 @@ "type": "int_const 1", "value": "1" }, - "id": 2176, + "id": 1668, "name": "Literal", - "src": "40789:1:1" + "src": "41951:1:0" } ], - "id": 2177, + "id": 1669, "name": "BinaryOperation", - "src": "40778:12:1" + "src": "41940:12:0" } ], - "id": 2178, + "id": 1670, "name": "IndexAccess", - "src": "40765:26:1" + "src": "41927:26:0" } ], - "id": 2179, + "id": 1671, "name": "MemberAccess", - "src": "40765:33:1" + "src": "41927:33:0" } ], - "id": 2180, + "id": 1672, "name": "TupleExpression", - "src": "40758:41:1" + "src": "41920:41:0" } ], - "id": 2181, + "id": 1673, "name": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ], - "id": 2182, + "id": 1674, "name": "Block", - "src": "40613:220:1" + "src": "41772:224:0" } ], - "id": 2183, + "id": 1675, "name": "FunctionDefinition", - "src": "40529:304:1" + "src": "41688:308:0" }, { "attributes": { @@ -59261,7 +59261,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59271,9 +59271,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2184, + "id": 1676, "name": "StructuredDocumentation", - "src": "40839:141:1" + "src": "42004:147:0" }, { "children": [ @@ -59282,7 +59282,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59292,24 +59292,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2185, + "id": 1677, "name": "UserDefinedTypeName", - "src": "40999:3:1" + "src": "42171:3:0" } ], - "id": 2186, + "id": 1678, "name": "VariableDeclaration", - "src": "40999:15:1" + "src": "42171:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59321,19 +59321,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2187, + "id": 1679, "name": "ElementaryTypeName", - "src": "41016:7:1" + "src": "42188:7:0" } ], - "id": 2188, + "id": 1680, "name": "VariableDeclaration", - "src": "41016:11:1" + "src": "42188:11:0" } ], - "id": 2189, + "id": 1681, "name": "ParameterList", - "src": "40998:30:1" + "src": "42170:30:0" }, { "children": [ @@ -59342,7 +59342,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59354,26 +59354,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2190, + "id": 1682, "name": "ElementaryTypeName", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2191, + "id": 1683, "name": "VariableDeclaration", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2192, + "id": 1684, "name": "ParameterList", - "src": "41050:9:1" + "src": "42222:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2194 + 1686 ] }, "children": [ @@ -59382,7 +59382,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2215, + "scope": 1707, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59394,14 +59394,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2193, + "id": 1685, "name": "ElementaryTypeName", - "src": "41070:7:1" + "src": "42243:7:0" } ], - "id": 2194, + "id": 1686, "name": "VariableDeclaration", - "src": "41070:16:1" + "src": "42243:16:0" }, { "attributes": { @@ -59419,7 +59419,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59428,41 +59428,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2195, + "id": 1687, "name": "Identifier", - "src": "41089:3:1" + "src": "42262:3:0" } ], - "id": 2196, + "id": 1688, "name": "MemberAccess", - "src": "41089:12:1" + "src": "42262:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2188, + "referencedDeclaration": 1680, "type": "bytes32", "value": "key" }, - "id": 2197, + "id": 1689, "name": "Identifier", - "src": "41102:3:1" + "src": "42275:3:0" } ], - "id": 2198, + "id": 1690, "name": "IndexAccess", - "src": "41089:17:1" + "src": "42262:17:0" } ], - "id": 2199, + "id": 1691, "name": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "children": [ @@ -59501,9 +59501,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2200, + "id": 1692, "name": "Identifier", - "src": "41116:7:1" + "src": "42290:7:0" }, { "attributes": { @@ -59524,13 +59524,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2201, + "id": 1693, "name": "Identifier", - "src": "41124:8:1" + "src": "42298:8:0" }, { "attributes": { @@ -59543,14 +59543,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2202, + "id": 1694, "name": "Literal", - "src": "41136:1:1" + "src": "42310:1:0" } ], - "id": 2203, + "id": 1695, "name": "BinaryOperation", - "src": "41124:13:1" + "src": "42298:13:0" }, { "attributes": { @@ -59563,23 +59563,23 @@ "type": "literal_string \"EnumerableMap: nonexistent key\"", "value": "EnumerableMap: nonexistent key" }, - "id": 2204, + "id": 1696, "name": "Literal", - "src": "41139:32:1" + "src": "42313:32:0" } ], - "id": 2205, + "id": 1697, "name": "FunctionCall", - "src": "41116:56:1" + "src": "42290:56:0" } ], - "id": 2206, + "id": 1698, "name": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "attributes": { - "functionReturnParameters": 2192 + "functionReturnParameters": 1684 }, "children": [ { @@ -59589,7 +59589,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59609,7 +59609,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59618,18 +59618,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2207, + "id": 1699, "name": "Identifier", - "src": "41225:3:1" + "src": "42400:3:0" } ], - "id": 2208, + "id": 1700, "name": "MemberAccess", - "src": "41225:12:1" + "src": "42400:12:0" }, { "attributes": { @@ -59650,13 +59650,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2209, + "id": 1701, "name": "Identifier", - "src": "41238:8:1" + "src": "42413:8:0" }, { "attributes": { @@ -59669,39 +59669,39 @@ "type": "int_const 1", "value": "1" }, - "id": 2210, + "id": 1702, "name": "Literal", - "src": "41249:1:1" + "src": "42424:1:0" } ], - "id": 2211, + "id": 1703, "name": "BinaryOperation", - "src": "41238:12:1" + "src": "42413:12:0" } ], - "id": 2212, + "id": 1704, "name": "IndexAccess", - "src": "41225:26:1" + "src": "42400:26:0" } ], - "id": 2213, + "id": 1705, "name": "MemberAccess", - "src": "41225:33:1" + "src": "42400:33:0" } ], - "id": 2214, + "id": 1706, "name": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ], - "id": 2215, + "id": 1707, "name": "Block", - "src": "41060:232:1" + "src": "42232:236:0" } ], - "id": 2216, + "id": 1708, "name": "FunctionDefinition", - "src": "40985:307:1" + "src": "42157:311:0" }, { "attributes": { @@ -59712,7 +59712,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59722,9 +59722,9 @@ "attributes": { "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2217, + "id": 1709, "name": "StructuredDocumentation", - "src": "41298:271:1" + "src": "42476:276:0" }, { "children": [ @@ -59733,7 +59733,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59743,24 +59743,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2218, + "id": 1710, "name": "UserDefinedTypeName", - "src": "41588:3:1" + "src": "42772:3:0" } ], - "id": 2219, + "id": 1711, "name": "VariableDeclaration", - "src": "41588:15:1" + "src": "42772:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59772,21 +59772,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2220, + "id": 1712, "name": "ElementaryTypeName", - "src": "41605:7:1" + "src": "42789:7:0" } ], - "id": 2221, + "id": 1713, "name": "VariableDeclaration", - "src": "41605:11:1" + "src": "42789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -59798,19 +59798,19 @@ "name": "string", "type": "string" }, - "id": 2222, + "id": 1714, "name": "ElementaryTypeName", - "src": "41618:6:1" + "src": "42802:6:0" } ], - "id": 2223, + "id": 1715, "name": "VariableDeclaration", - "src": "41618:26:1" + "src": "42802:26:0" } ], - "id": 2224, + "id": 1716, "name": "ParameterList", - "src": "41587:58:1" + "src": "42771:58:0" }, { "children": [ @@ -59819,7 +59819,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59831,26 +59831,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2225, + "id": 1717, "name": "ElementaryTypeName", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2226, + "id": 1718, "name": "VariableDeclaration", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2227, + "id": 1719, "name": "ParameterList", - "src": "41667:9:1" + "src": "42851:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2229 + 1721 ] }, "children": [ @@ -59859,7 +59859,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2250, + "scope": 1742, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59871,14 +59871,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2228, + "id": 1720, "name": "ElementaryTypeName", - "src": "41687:7:1" + "src": "42872:7:0" } ], - "id": 2229, + "id": 1721, "name": "VariableDeclaration", - "src": "41687:16:1" + "src": "42872:16:0" }, { "attributes": { @@ -59896,7 +59896,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59905,41 +59905,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2230, + "id": 1722, "name": "Identifier", - "src": "41706:3:1" + "src": "42891:3:0" } ], - "id": 2231, + "id": 1723, "name": "MemberAccess", - "src": "41706:12:1" + "src": "42891:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2221, + "referencedDeclaration": 1713, "type": "bytes32", "value": "key" }, - "id": 2232, + "id": 1724, "name": "Identifier", - "src": "41719:3:1" + "src": "42904:3:0" } ], - "id": 2233, + "id": 1725, "name": "IndexAccess", - "src": "41706:17:1" + "src": "42891:17:0" } ], - "id": 2234, + "id": 1726, "name": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "children": [ @@ -59978,9 +59978,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2235, + "id": 1727, "name": "Identifier", - "src": "41733:7:1" + "src": "42919:7:0" }, { "attributes": { @@ -60001,13 +60001,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2236, + "id": 1728, "name": "Identifier", - "src": "41741:8:1" + "src": "42927:8:0" }, { "attributes": { @@ -60020,41 +60020,41 @@ "type": "int_const 0", "value": "0" }, - "id": 2237, + "id": 1729, "name": "Literal", - "src": "41753:1:1" + "src": "42939:1:0" } ], - "id": 2238, + "id": 1730, "name": "BinaryOperation", - "src": "41741:13:1" + "src": "42927:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2223, + "referencedDeclaration": 1715, "type": "string memory", "value": "errorMessage" }, - "id": 2239, + "id": 1731, "name": "Identifier", - "src": "41756:12:1" + "src": "42942:12:0" } ], - "id": 2240, + "id": 1732, "name": "FunctionCall", - "src": "41733:36:1" + "src": "42919:36:0" } ], - "id": 2241, + "id": 1733, "name": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "attributes": { - "functionReturnParameters": 2227 + "functionReturnParameters": 1719 }, "children": [ { @@ -60064,7 +60064,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -60084,7 +60084,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -60093,18 +60093,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2242, + "id": 1734, "name": "Identifier", - "src": "41822:3:1" + "src": "43009:3:0" } ], - "id": 2243, + "id": 1735, "name": "MemberAccess", - "src": "41822:12:1" + "src": "43009:12:0" }, { "attributes": { @@ -60125,13 +60125,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2244, + "id": 1736, "name": "Identifier", - "src": "41835:8:1" + "src": "43022:8:0" }, { "attributes": { @@ -60144,45 +60144,45 @@ "type": "int_const 1", "value": "1" }, - "id": 2245, + "id": 1737, "name": "Literal", - "src": "41846:1:1" + "src": "43033:1:0" } ], - "id": 2246, + "id": 1738, "name": "BinaryOperation", - "src": "41835:12:1" + "src": "43022:12:0" } ], - "id": 2247, + "id": 1739, "name": "IndexAccess", - "src": "41822:26:1" + "src": "43009:26:0" } ], - "id": 2248, + "id": 1740, "name": "MemberAccess", - "src": "41822:33:1" + "src": "43009:33:0" } ], - "id": 2249, + "id": 1741, "name": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ], - "id": 2250, + "id": 1742, "name": "Block", - "src": "41677:212:1" + "src": "42861:216:0" } ], - "id": 2251, + "id": 1743, "name": "FunctionDefinition", - "src": "41574:315:1" + "src": "42758:319:0" }, { "attributes": { "canonicalName": "EnumerableMap.UintToAddressMap", "name": "UintToAddressMap", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -60191,7 +60191,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 2254, + "scope": 1746, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.Map", @@ -60201,22 +60201,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2252, + "id": 1744, "name": "UserDefinedTypeName", - "src": "41954:3:1" + "src": "43147:3:0" } ], - "id": 2253, + "id": 1745, "name": "VariableDeclaration", - "src": "41954:10:1" + "src": "43147:10:0" } ], - "id": 2254, + "id": 1746, "name": "StructDefinition", - "src": "41920:51:1" + "src": "43112:53:0" }, { "attributes": { @@ -60227,7 +60227,7 @@ null ], "name": "set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60237,9 +60237,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2255, + "id": 1747, "name": "StructuredDocumentation", - "src": "41977:216:1" + "src": "43173:222:0" }, { "children": [ @@ -60248,7 +60248,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60258,24 +60258,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2256, + "id": 1748, "name": "UserDefinedTypeName", - "src": "42211:16:1" + "src": "43414:16:0" } ], - "id": 2257, + "id": 1749, "name": "VariableDeclaration", - "src": "42211:28:1" + "src": "43414:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60287,21 +60287,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2258, + "id": 1750, "name": "ElementaryTypeName", - "src": "42241:7:1" + "src": "43444:7:0" } ], - "id": 2259, + "id": 1751, "name": "VariableDeclaration", - "src": "42241:11:1" + "src": "43444:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -60314,19 +60314,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2260, + "id": 1752, "name": "ElementaryTypeName", - "src": "42254:7:1" + "src": "43457:7:0" } ], - "id": 2261, + "id": 1753, "name": "VariableDeclaration", - "src": "42254:13:1" + "src": "43457:13:0" } ], - "id": 2262, + "id": 1754, "name": "ParameterList", - "src": "42210:58:1" + "src": "43413:58:0" }, { "children": [ @@ -60335,7 +60335,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60347,25 +60347,25 @@ "name": "bool", "type": "bool" }, - "id": 2263, + "id": 1755, "name": "ElementaryTypeName", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2264, + "id": 1756, "name": "VariableDeclaration", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2265, + "id": 1757, "name": "ParameterList", - "src": "42286:6:1" + "src": "43489:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2265 + "functionReturnParameters": 1757 }, "children": [ { @@ -60387,7 +60387,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60402,13 +60402,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1998, + "referencedDeclaration": 1490, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)", "value": "_set" }, - "id": 2266, + "id": 1758, "name": "Identifier", - "src": "42310:4:1" + "src": "43514:4:0" }, { "attributes": { @@ -60417,7 +60417,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60426,18 +60426,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2257, + "referencedDeclaration": 1749, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2267, + "id": 1759, "name": "Identifier", - "src": "42315:3:1" + "src": "43519:3:0" } ], - "id": 2268, + "id": 1760, "name": "MemberAccess", - "src": "42315:10:1" + "src": "43519:10:0" }, { "attributes": { @@ -60473,32 +60473,32 @@ "attributes": { "name": "bytes32" }, - "id": 2269, + "id": 1761, "name": "ElementaryTypeName", - "src": "42327:7:1" + "src": "43531:7:0" } ], - "id": 2270, + "id": 1762, "name": "ElementaryTypeNameExpression", - "src": "42327:7:1" + "src": "43531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2259, + "referencedDeclaration": 1751, "type": "uint256", "value": "key" }, - "id": 2271, + "id": 1763, "name": "Identifier", - "src": "42335:3:1" + "src": "43539:3:0" } ], - "id": 2272, + "id": 1764, "name": "FunctionCall", - "src": "42327:12:1" + "src": "43531:12:0" }, { "attributes": { @@ -60534,14 +60534,14 @@ "attributes": { "name": "bytes32" }, - "id": 2273, + "id": 1765, "name": "ElementaryTypeName", - "src": "42341:7:1" + "src": "43545:7:0" } ], - "id": 2274, + "id": 1766, "name": "ElementaryTypeNameExpression", - "src": "42341:7:1" + "src": "43545:7:0" }, { "attributes": { @@ -60577,14 +60577,14 @@ "attributes": { "name": "uint256" }, - "id": 2275, + "id": 1767, "name": "ElementaryTypeName", - "src": "42349:7:1" + "src": "43553:7:0" } ], - "id": 2276, + "id": 1768, "name": "ElementaryTypeNameExpression", - "src": "42349:7:1" + "src": "43553:7:0" }, { "attributes": { @@ -60620,62 +60620,62 @@ "attributes": { "name": "uint160" }, - "id": 2277, + "id": 1769, "name": "ElementaryTypeName", - "src": "42357:7:1" + "src": "43561:7:0" } ], - "id": 2278, + "id": 1770, "name": "ElementaryTypeNameExpression", - "src": "42357:7:1" + "src": "43561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2261, + "referencedDeclaration": 1753, "type": "address", "value": "value" }, - "id": 2279, + "id": 1771, "name": "Identifier", - "src": "42365:5:1" + "src": "43569:5:0" } ], - "id": 2280, + "id": 1772, "name": "FunctionCall", - "src": "42357:14:1" + "src": "43561:14:0" } ], - "id": 2281, + "id": 1773, "name": "FunctionCall", - "src": "42349:23:1" + "src": "43553:23:0" } ], - "id": 2282, + "id": 1774, "name": "FunctionCall", - "src": "42341:32:1" + "src": "43545:32:0" } ], - "id": 2283, + "id": 1775, "name": "FunctionCall", - "src": "42310:64:1" + "src": "43514:64:0" } ], - "id": 2284, + "id": 1776, "name": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ], - "id": 2285, + "id": 1777, "name": "Block", - "src": "42293:88:1" + "src": "43496:90:0" } ], - "id": 2286, + "id": 1778, "name": "FunctionDefinition", - "src": "42198:183:1" + "src": "43401:185:0" }, { "attributes": { @@ -60686,7 +60686,7 @@ null ], "name": "remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60696,9 +60696,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2287, + "id": 1779, "name": "StructuredDocumentation", - "src": "42387:148:1" + "src": "43594:152:0" }, { "children": [ @@ -60707,7 +60707,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60717,24 +60717,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2288, + "id": 1780, "name": "UserDefinedTypeName", - "src": "42556:16:1" + "src": "43768:16:0" } ], - "id": 2289, + "id": 1781, "name": "VariableDeclaration", - "src": "42556:28:1" + "src": "43768:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60746,19 +60746,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2290, + "id": 1782, "name": "ElementaryTypeName", - "src": "42586:7:1" + "src": "43798:7:0" } ], - "id": 2291, + "id": 1783, "name": "VariableDeclaration", - "src": "42586:11:1" + "src": "43798:11:0" } ], - "id": 2292, + "id": 1784, "name": "ParameterList", - "src": "42555:43:1" + "src": "43767:43:0" }, { "children": [ @@ -60767,7 +60767,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60779,25 +60779,25 @@ "name": "bool", "type": "bool" }, - "id": 2293, + "id": 1785, "name": "ElementaryTypeName", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2294, + "id": 1786, "name": "VariableDeclaration", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2295, + "id": 1787, "name": "ParameterList", - "src": "42616:6:1" + "src": "43828:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2295 + "functionReturnParameters": 1787 }, "children": [ { @@ -60819,7 +60819,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60830,13 +60830,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2079, + "referencedDeclaration": 1571, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 2296, + "id": 1788, "name": "Identifier", - "src": "42640:7:1" + "src": "43853:7:0" }, { "attributes": { @@ -60845,7 +60845,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60854,18 +60854,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2289, + "referencedDeclaration": 1781, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2297, + "id": 1789, "name": "Identifier", - "src": "42648:3:1" + "src": "43861:3:0" } ], - "id": 2298, + "id": 1790, "name": "MemberAccess", - "src": "42648:10:1" + "src": "43861:10:0" }, { "attributes": { @@ -60901,52 +60901,52 @@ "attributes": { "name": "bytes32" }, - "id": 2299, + "id": 1791, "name": "ElementaryTypeName", - "src": "42660:7:1" + "src": "43873:7:0" } ], - "id": 2300, + "id": 1792, "name": "ElementaryTypeNameExpression", - "src": "42660:7:1" + "src": "43873:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2291, + "referencedDeclaration": 1783, "type": "uint256", "value": "key" }, - "id": 2301, + "id": 1793, "name": "Identifier", - "src": "42668:3:1" + "src": "43881:3:0" } ], - "id": 2302, + "id": 1794, "name": "FunctionCall", - "src": "42660:12:1" + "src": "43873:12:0" } ], - "id": 2303, + "id": 1795, "name": "FunctionCall", - "src": "42640:33:1" + "src": "43853:33:0" } ], - "id": 2304, + "id": 1796, "name": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ], - "id": 2305, + "id": 1797, "name": "Block", - "src": "42623:57:1" + "src": "43835:59:0" } ], - "id": 2306, + "id": 1798, "name": "FunctionDefinition", - "src": "42540:140:1" + "src": "43752:142:0" }, { "attributes": { @@ -60957,7 +60957,7 @@ null ], "name": "contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -60967,9 +60967,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2307, + "id": 1799, "name": "StructuredDocumentation", - "src": "42686:68:1" + "src": "43902:70:0" }, { "children": [ @@ -60978,7 +60978,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60988,24 +60988,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2308, + "id": 1800, "name": "UserDefinedTypeName", - "src": "42777:16:1" + "src": "43996:16:0" } ], - "id": 2309, + "id": 1801, "name": "VariableDeclaration", - "src": "42777:28:1" + "src": "43996:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61017,19 +61017,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2310, + "id": 1802, "name": "ElementaryTypeName", - "src": "42807:7:1" + "src": "44026:7:0" } ], - "id": 2311, + "id": 1803, "name": "VariableDeclaration", - "src": "42807:11:1" + "src": "44026:11:0" } ], - "id": 2312, + "id": 1804, "name": "ParameterList", - "src": "42776:43:1" + "src": "43995:43:0" }, { "children": [ @@ -61038,7 +61038,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -61050,25 +61050,25 @@ "name": "bool", "type": "bool" }, - "id": 2313, + "id": 1805, "name": "ElementaryTypeName", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2314, + "id": 1806, "name": "VariableDeclaration", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2315, + "id": 1807, "name": "ParameterList", - "src": "42842:6:1" + "src": "44061:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2315 + "functionReturnParameters": 1807 }, "children": [ { @@ -61090,7 +61090,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61101,13 +61101,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2097, + "referencedDeclaration": 1589, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 2316, + "id": 1808, "name": "Identifier", - "src": "42866:9:1" + "src": "44086:9:0" }, { "attributes": { @@ -61116,7 +61116,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61125,18 +61125,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2309, + "referencedDeclaration": 1801, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2317, + "id": 1809, "name": "Identifier", - "src": "42876:3:1" + "src": "44096:3:0" } ], - "id": 2318, + "id": 1810, "name": "MemberAccess", - "src": "42876:10:1" + "src": "44096:10:0" }, { "attributes": { @@ -61172,52 +61172,52 @@ "attributes": { "name": "bytes32" }, - "id": 2319, + "id": 1811, "name": "ElementaryTypeName", - "src": "42888:7:1" + "src": "44108:7:0" } ], - "id": 2320, + "id": 1812, "name": "ElementaryTypeNameExpression", - "src": "42888:7:1" + "src": "44108:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2311, + "referencedDeclaration": 1803, "type": "uint256", "value": "key" }, - "id": 2321, + "id": 1813, "name": "Identifier", - "src": "42896:3:1" + "src": "44116:3:0" } ], - "id": 2322, + "id": 1814, "name": "FunctionCall", - "src": "42888:12:1" + "src": "44108:12:0" } ], - "id": 2323, + "id": 1815, "name": "FunctionCall", - "src": "42866:35:1" + "src": "44086:35:0" } ], - "id": 2324, + "id": 1816, "name": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ], - "id": 2325, + "id": 1817, "name": "Block", - "src": "42849:59:1" + "src": "44068:61:0" } ], - "id": 2326, + "id": 1818, "name": "FunctionDefinition", - "src": "42759:149:1" + "src": "43978:151:0" }, { "attributes": { @@ -61228,7 +61228,7 @@ null ], "name": "length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61238,9 +61238,9 @@ "attributes": { "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2327, + "id": 1819, "name": "StructuredDocumentation", - "src": "42914:72:1" + "src": "44137:74:0" }, { "children": [ @@ -61249,7 +61249,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61259,22 +61259,22 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2328, + "id": 1820, "name": "UserDefinedTypeName", - "src": "43007:16:1" + "src": "44233:16:0" } ], - "id": 2329, + "id": 1821, "name": "VariableDeclaration", - "src": "43007:28:1" + "src": "44233:28:0" } ], - "id": 2330, + "id": 1822, "name": "ParameterList", - "src": "43006:30:1" + "src": "44232:30:0" }, { "children": [ @@ -61283,7 +61283,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61295,25 +61295,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2331, + "id": 1823, "name": "ElementaryTypeName", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2332, + "id": 1824, "name": "VariableDeclaration", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2333, + "id": 1825, "name": "ParameterList", - "src": "43059:9:1" + "src": "44285:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2333 + "functionReturnParameters": 1825 }, "children": [ { @@ -61335,20 +61335,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 2110, + "referencedDeclaration": 1602, "type": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)", "value": "_length" }, - "id": 2334, + "id": 1826, "name": "Identifier", - "src": "43086:7:1" + "src": "44313:7:0" }, { "attributes": { @@ -61357,7 +61357,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61366,38 +61366,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2329, + "referencedDeclaration": 1821, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2335, + "id": 1827, "name": "Identifier", - "src": "43094:3:1" + "src": "44321:3:0" } ], - "id": 2336, + "id": 1828, "name": "MemberAccess", - "src": "43094:10:1" + "src": "44321:10:0" } ], - "id": 2337, + "id": 1829, "name": "FunctionCall", - "src": "43086:19:1" + "src": "44313:19:0" } ], - "id": 2338, + "id": 1830, "name": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ], - "id": 2339, + "id": 1831, "name": "Block", - "src": "43069:43:1" + "src": "44295:45:0" } ], - "id": 2340, + "id": 1832, "name": "FunctionDefinition", - "src": "42991:121:1" + "src": "44217:123:0" }, { "attributes": { @@ -61408,7 +61408,7 @@ null ], "name": "at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61418,9 +61418,9 @@ "attributes": { "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2341, + "id": 1833, "name": "StructuredDocumentation", - "src": "43117:318:1" + "src": "44347:326:0" }, { "children": [ @@ -61429,7 +61429,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61439,24 +61439,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2342, + "id": 1834, "name": "UserDefinedTypeName", - "src": "43452:16:1" + "src": "44691:16:0" } ], - "id": 2343, + "id": 1835, "name": "VariableDeclaration", - "src": "43452:28:1" + "src": "44691:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61468,19 +61468,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2344, + "id": 1836, "name": "ElementaryTypeName", - "src": "43482:7:1" + "src": "44721:7:0" } ], - "id": 2345, + "id": 1837, "name": "VariableDeclaration", - "src": "43482:13:1" + "src": "44721:13:0" } ], - "id": 2346, + "id": 1838, "name": "ParameterList", - "src": "43451:45:1" + "src": "44690:45:0" }, { "children": [ @@ -61489,7 +61489,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61501,21 +61501,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2347, + "id": 1839, "name": "ElementaryTypeName", - "src": "43520:7:1" + "src": "44759:7:0" } ], - "id": 2348, + "id": 1840, "name": "VariableDeclaration", - "src": "43520:7:1" + "src": "44759:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -61528,27 +61528,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2349, + "id": 1841, "name": "ElementaryTypeName", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2350, + "id": 1842, "name": "VariableDeclaration", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2351, + "id": 1843, "name": "ParameterList", - "src": "43519:18:1" + "src": "44758:18:0" }, { "children": [ { "attributes": { "assignments": [ - 2353, - 2355 + 1845, + 1847 ] }, "children": [ @@ -61557,7 +61557,7 @@ "constant": false, "mutability": "mutable", "name": "key", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61569,21 +61569,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2352, + "id": 1844, "name": "ElementaryTypeName", - "src": "43549:7:1" + "src": "44789:7:0" } ], - "id": 2353, + "id": 1845, "name": "VariableDeclaration", - "src": "43549:11:1" + "src": "44789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61595,14 +61595,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2354, + "id": 1846, "name": "ElementaryTypeName", - "src": "43562:7:1" + "src": "44802:7:0" } ], - "id": 2355, + "id": 1847, "name": "VariableDeclaration", - "src": "43562:13:1" + "src": "44802:13:0" }, { "attributes": { @@ -61623,7 +61623,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61634,13 +61634,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2145, + "referencedDeclaration": 1637, "type": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)", "value": "_at" }, - "id": 2356, + "id": 1848, "name": "Identifier", - "src": "43579:3:1" + "src": "44819:3:0" }, { "attributes": { @@ -61649,7 +61649,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61658,45 +61658,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2343, + "referencedDeclaration": 1835, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2357, + "id": 1849, "name": "Identifier", - "src": "43583:3:1" + "src": "44823:3:0" } ], - "id": 2358, + "id": 1850, "name": "MemberAccess", - "src": "43583:10:1" + "src": "44823:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2345, + "referencedDeclaration": 1837, "type": "uint256", "value": "index" }, - "id": 2359, + "id": 1851, "name": "Identifier", - "src": "43595:5:1" + "src": "44835:5:0" } ], - "id": 2360, + "id": 1852, "name": "FunctionCall", - "src": "43579:22:1" + "src": "44819:22:0" } ], - "id": 2361, + "id": 1853, "name": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "attributes": { - "functionReturnParameters": 2351 + "functionReturnParameters": 1843 }, "children": [ { @@ -61743,32 +61743,32 @@ "attributes": { "name": "uint256" }, - "id": 2362, + "id": 1854, "name": "ElementaryTypeName", - "src": "43619:7:1" + "src": "44860:7:0" } ], - "id": 2363, + "id": 1855, "name": "ElementaryTypeNameExpression", - "src": "43619:7:1" + "src": "44860:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2353, + "referencedDeclaration": 1845, "type": "bytes32", "value": "key" }, - "id": 2364, + "id": 1856, "name": "Identifier", - "src": "43627:3:1" + "src": "44868:3:0" } ], - "id": 2365, + "id": 1857, "name": "FunctionCall", - "src": "43619:12:1" + "src": "44860:12:0" }, { "attributes": { @@ -61804,14 +61804,14 @@ "attributes": { "name": "address" }, - "id": 2366, + "id": 1858, "name": "ElementaryTypeName", - "src": "43633:7:1" + "src": "44874:7:0" } ], - "id": 2367, + "id": 1859, "name": "ElementaryTypeNameExpression", - "src": "43633:7:1" + "src": "44874:7:0" }, { "attributes": { @@ -61847,14 +61847,14 @@ "attributes": { "name": "uint160" }, - "id": 2368, + "id": 1860, "name": "ElementaryTypeName", - "src": "43641:7:1" + "src": "44882:7:0" } ], - "id": 2369, + "id": 1861, "name": "ElementaryTypeNameExpression", - "src": "43641:7:1" + "src": "44882:7:0" }, { "attributes": { @@ -61890,62 +61890,62 @@ "attributes": { "name": "uint256" }, - "id": 2370, + "id": 1862, "name": "ElementaryTypeName", - "src": "43649:7:1" + "src": "44890:7:0" } ], - "id": 2371, + "id": 1863, "name": "ElementaryTypeNameExpression", - "src": "43649:7:1" + "src": "44890:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2355, + "referencedDeclaration": 1847, "type": "bytes32", "value": "value" }, - "id": 2372, + "id": 1864, "name": "Identifier", - "src": "43657:5:1" + "src": "44898:5:0" } ], - "id": 2373, + "id": 1865, "name": "FunctionCall", - "src": "43649:14:1" + "src": "44890:14:0" } ], - "id": 2374, + "id": 1866, "name": "FunctionCall", - "src": "43641:23:1" + "src": "44882:23:0" } ], - "id": 2375, + "id": 1867, "name": "FunctionCall", - "src": "43633:32:1" + "src": "44874:32:0" } ], - "id": 2376, + "id": 1868, "name": "TupleExpression", - "src": "43618:48:1" + "src": "44859:48:0" } ], - "id": 2377, + "id": 1869, "name": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ], - "id": 2378, + "id": 1870, "name": "Block", - "src": "43538:135:1" + "src": "44777:138:0" } ], - "id": 2379, + "id": 1871, "name": "FunctionDefinition", - "src": "43440:233:1" + "src": "44679:236:0" }, { "attributes": { @@ -61956,7 +61956,7 @@ null ], "name": "tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61966,9 +61966,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2380, + "id": 1872, "name": "StructuredDocumentation", - "src": "43679:169:1" + "src": "44923:174:0" }, { "children": [ @@ -61977,7 +61977,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61987,24 +61987,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2381, + "id": 1873, "name": "UserDefinedTypeName", - "src": "43869:16:1" + "src": "45119:16:0" } ], - "id": 2382, + "id": 1874, "name": "VariableDeclaration", - "src": "43869:28:1" + "src": "45119:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62016,19 +62016,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2383, + "id": 1875, "name": "ElementaryTypeName", - "src": "43899:7:1" + "src": "45149:7:0" } ], - "id": 2384, + "id": 1876, "name": "VariableDeclaration", - "src": "43899:11:1" + "src": "45149:11:0" } ], - "id": 2385, + "id": 1877, "name": "ParameterList", - "src": "43868:43:1" + "src": "45118:43:0" }, { "children": [ @@ -62037,7 +62037,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62049,21 +62049,21 @@ "name": "bool", "type": "bool" }, - "id": 2386, + "id": 1878, "name": "ElementaryTypeName", - "src": "43935:4:1" + "src": "45185:4:0" } ], - "id": 2387, + "id": 1879, "name": "VariableDeclaration", - "src": "43935:4:1" + "src": "45185:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62076,27 +62076,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2388, + "id": 1880, "name": "ElementaryTypeName", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2389, + "id": 1881, "name": "VariableDeclaration", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2390, + "id": 1882, "name": "ParameterList", - "src": "43934:15:1" + "src": "45184:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2392, - 2394 + 1884, + 1886 ] }, "children": [ @@ -62105,7 +62105,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62117,21 +62117,21 @@ "name": "bool", "type": "bool" }, - "id": 2391, + "id": 1883, "name": "ElementaryTypeName", - "src": "43961:4:1" + "src": "45212:4:0" } ], - "id": 2392, + "id": 1884, "name": "VariableDeclaration", - "src": "43961:12:1" + "src": "45212:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -62143,14 +62143,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2393, + "id": 1885, "name": "ElementaryTypeName", - "src": "43975:7:1" + "src": "45226:7:0" } ], - "id": 2394, + "id": 1886, "name": "VariableDeclaration", - "src": "43975:13:1" + "src": "45226:13:0" }, { "attributes": { @@ -62171,7 +62171,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62182,13 +62182,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2183, + "referencedDeclaration": 1675, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)", "value": "_tryGet" }, - "id": 2395, + "id": 1887, "name": "Identifier", - "src": "43992:7:1" + "src": "45243:7:0" }, { "attributes": { @@ -62197,7 +62197,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62206,18 +62206,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2382, + "referencedDeclaration": 1874, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2396, + "id": 1888, "name": "Identifier", - "src": "44000:3:1" + "src": "45251:3:0" } ], - "id": 2397, + "id": 1889, "name": "MemberAccess", - "src": "44000:10:1" + "src": "45251:10:0" }, { "attributes": { @@ -62253,46 +62253,46 @@ "attributes": { "name": "bytes32" }, - "id": 2398, + "id": 1890, "name": "ElementaryTypeName", - "src": "44012:7:1" + "src": "45263:7:0" } ], - "id": 2399, + "id": 1891, "name": "ElementaryTypeNameExpression", - "src": "44012:7:1" + "src": "45263:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2384, + "referencedDeclaration": 1876, "type": "uint256", "value": "key" }, - "id": 2400, + "id": 1892, "name": "Identifier", - "src": "44020:3:1" + "src": "45271:3:0" } ], - "id": 2401, + "id": 1893, "name": "FunctionCall", - "src": "44012:12:1" + "src": "45263:12:0" } ], - "id": 2402, + "id": 1894, "name": "FunctionCall", - "src": "43992:33:1" + "src": "45243:33:0" } ], - "id": 2403, + "id": 1895, "name": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "attributes": { - "functionReturnParameters": 2390 + "functionReturnParameters": 1882 }, "children": [ { @@ -62310,13 +62310,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2392, + "referencedDeclaration": 1884, "type": "bool", "value": "success" }, - "id": 2404, + "id": 1896, "name": "Identifier", - "src": "44043:7:1" + "src": "45295:7:0" }, { "attributes": { @@ -62352,14 +62352,14 @@ "attributes": { "name": "address" }, - "id": 2405, + "id": 1897, "name": "ElementaryTypeName", - "src": "44052:7:1" + "src": "45304:7:0" } ], - "id": 2406, + "id": 1898, "name": "ElementaryTypeNameExpression", - "src": "44052:7:1" + "src": "45304:7:0" }, { "attributes": { @@ -62395,14 +62395,14 @@ "attributes": { "name": "uint160" }, - "id": 2407, + "id": 1899, "name": "ElementaryTypeName", - "src": "44060:7:1" + "src": "45312:7:0" } ], - "id": 2408, + "id": 1900, "name": "ElementaryTypeNameExpression", - "src": "44060:7:1" + "src": "45312:7:0" }, { "attributes": { @@ -62438,62 +62438,62 @@ "attributes": { "name": "uint256" }, - "id": 2409, + "id": 1901, "name": "ElementaryTypeName", - "src": "44068:7:1" + "src": "45320:7:0" } ], - "id": 2410, + "id": 1902, "name": "ElementaryTypeNameExpression", - "src": "44068:7:1" + "src": "45320:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2394, + "referencedDeclaration": 1886, "type": "bytes32", "value": "value" }, - "id": 2411, + "id": 1903, "name": "Identifier", - "src": "44076:5:1" + "src": "45328:5:0" } ], - "id": 2412, + "id": 1904, "name": "FunctionCall", - "src": "44068:14:1" + "src": "45320:14:0" } ], - "id": 2413, + "id": 1905, "name": "FunctionCall", - "src": "44060:23:1" + "src": "45312:23:0" } ], - "id": 2414, + "id": 1906, "name": "FunctionCall", - "src": "44052:32:1" + "src": "45304:32:0" } ], - "id": 2415, + "id": 1907, "name": "TupleExpression", - "src": "44042:43:1" + "src": "45294:43:0" } ], - "id": 2416, + "id": 1908, "name": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ], - "id": 2417, + "id": 1909, "name": "Block", - "src": "43950:142:1" + "src": "45200:145:0" } ], - "id": 2418, + "id": 1910, "name": "FunctionDefinition", - "src": "43853:239:1" + "src": "45103:242:0" }, { "attributes": { @@ -62504,7 +62504,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62514,9 +62514,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2419, + "id": 1911, "name": "StructuredDocumentation", - "src": "44098:141:1" + "src": "45353:147:0" }, { "children": [ @@ -62525,7 +62525,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62535,24 +62535,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2420, + "id": 1912, "name": "UserDefinedTypeName", - "src": "44257:16:1" + "src": "45519:16:0" } ], - "id": 2421, + "id": 1913, "name": "VariableDeclaration", - "src": "44257:28:1" + "src": "45519:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62564,19 +62564,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2422, + "id": 1914, "name": "ElementaryTypeName", - "src": "44287:7:1" + "src": "45549:7:0" } ], - "id": 2423, + "id": 1915, "name": "VariableDeclaration", - "src": "44287:11:1" + "src": "45549:11:0" } ], - "id": 2424, + "id": 1916, "name": "ParameterList", - "src": "44256:43:1" + "src": "45518:43:0" }, { "children": [ @@ -62585,7 +62585,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62598,25 +62598,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2425, + "id": 1917, "name": "ElementaryTypeName", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2426, + "id": 1918, "name": "VariableDeclaration", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2427, + "id": 1919, "name": "ParameterList", - "src": "44322:9:1" + "src": "45584:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2427 + "functionReturnParameters": 1919 }, "children": [ { @@ -62653,14 +62653,14 @@ "attributes": { "name": "address" }, - "id": 2428, + "id": 1920, "name": "ElementaryTypeName", - "src": "44349:7:1" + "src": "45612:7:0" } ], - "id": 2429, + "id": 1921, "name": "ElementaryTypeNameExpression", - "src": "44349:7:1" + "src": "45612:7:0" }, { "attributes": { @@ -62696,14 +62696,14 @@ "attributes": { "name": "uint160" }, - "id": 2430, + "id": 1922, "name": "ElementaryTypeName", - "src": "44357:7:1" + "src": "45620:7:0" } ], - "id": 2431, + "id": 1923, "name": "ElementaryTypeNameExpression", - "src": "44357:7:1" + "src": "45620:7:0" }, { "attributes": { @@ -62739,14 +62739,14 @@ "attributes": { "name": "uint256" }, - "id": 2432, + "id": 1924, "name": "ElementaryTypeName", - "src": "44365:7:1" + "src": "45628:7:0" } ], - "id": 2433, + "id": 1925, "name": "ElementaryTypeNameExpression", - "src": "44365:7:1" + "src": "45628:7:0" }, { "attributes": { @@ -62767,7 +62767,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62776,16 +62776,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, + "referencedDeclaration": 1708, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)", "value": "_get" }, - "id": 2434, + "id": 1926, "name": "Identifier", - "src": "44373:4:1" + "src": "45636:4:0" }, { "attributes": { @@ -62794,7 +62794,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62803,18 +62803,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2421, + "referencedDeclaration": 1913, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2435, + "id": 1927, "name": "Identifier", - "src": "44378:3:1" + "src": "45641:3:0" } ], - "id": 2436, + "id": 1928, "name": "MemberAccess", - "src": "44378:10:1" + "src": "45641:10:0" }, { "attributes": { @@ -62850,67 +62850,67 @@ "attributes": { "name": "bytes32" }, - "id": 2437, + "id": 1929, "name": "ElementaryTypeName", - "src": "44390:7:1" + "src": "45653:7:0" } ], - "id": 2438, + "id": 1930, "name": "ElementaryTypeNameExpression", - "src": "44390:7:1" + "src": "45653:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2423, + "referencedDeclaration": 1915, "type": "uint256", "value": "key" }, - "id": 2439, + "id": 1931, "name": "Identifier", - "src": "44398:3:1" + "src": "45661:3:0" } ], - "id": 2440, + "id": 1932, "name": "FunctionCall", - "src": "44390:12:1" + "src": "45653:12:0" } ], - "id": 2441, + "id": 1933, "name": "FunctionCall", - "src": "44373:30:1" + "src": "45636:30:0" } ], - "id": 2442, + "id": 1934, "name": "FunctionCall", - "src": "44365:39:1" + "src": "45628:39:0" } ], - "id": 2443, + "id": 1935, "name": "FunctionCall", - "src": "44357:48:1" + "src": "45620:48:0" } ], - "id": 2444, + "id": 1936, "name": "FunctionCall", - "src": "44349:57:1" + "src": "45612:57:0" } ], - "id": 2445, + "id": 1937, "name": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ], - "id": 2446, + "id": 1938, "name": "Block", - "src": "44332:81:1" + "src": "45594:83:0" } ], - "id": 2447, + "id": 1939, "name": "FunctionDefinition", - "src": "44244:169:1" + "src": "45506:171:0" }, { "attributes": { @@ -62921,7 +62921,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62931,9 +62931,9 @@ "attributes": { "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2448, + "id": 1940, "name": "StructuredDocumentation", - "src": "44419:269:1" + "src": "45685:274:0" }, { "children": [ @@ -62942,7 +62942,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62952,24 +62952,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2449, + "id": 1941, "name": "UserDefinedTypeName", - "src": "44706:16:1" + "src": "45978:16:0" } ], - "id": 2450, + "id": 1942, "name": "VariableDeclaration", - "src": "44706:28:1" + "src": "45978:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62981,21 +62981,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2451, + "id": 1943, "name": "ElementaryTypeName", - "src": "44736:7:1" + "src": "46008:7:0" } ], - "id": 2452, + "id": 1944, "name": "VariableDeclaration", - "src": "44736:11:1" + "src": "46008:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63007,19 +63007,19 @@ "name": "string", "type": "string" }, - "id": 2453, + "id": 1945, "name": "ElementaryTypeName", - "src": "44749:6:1" + "src": "46021:6:0" } ], - "id": 2454, + "id": 1946, "name": "VariableDeclaration", - "src": "44749:26:1" + "src": "46021:26:0" } ], - "id": 2455, + "id": 1947, "name": "ParameterList", - "src": "44705:71:1" + "src": "45977:71:0" }, { "children": [ @@ -63028,7 +63028,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -63041,25 +63041,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2456, + "id": 1948, "name": "ElementaryTypeName", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2457, + "id": 1949, "name": "VariableDeclaration", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2458, + "id": 1950, "name": "ParameterList", - "src": "44799:9:1" + "src": "46071:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2458 + "functionReturnParameters": 1950 }, "children": [ { @@ -63096,14 +63096,14 @@ "attributes": { "name": "address" }, - "id": 2459, + "id": 1951, "name": "ElementaryTypeName", - "src": "44826:7:1" + "src": "46099:7:0" } ], - "id": 2460, + "id": 1952, "name": "ElementaryTypeNameExpression", - "src": "44826:7:1" + "src": "46099:7:0" }, { "attributes": { @@ -63139,14 +63139,14 @@ "attributes": { "name": "uint160" }, - "id": 2461, + "id": 1953, "name": "ElementaryTypeName", - "src": "44834:7:1" + "src": "46107:7:0" } ], - "id": 2462, + "id": 1954, "name": "ElementaryTypeNameExpression", - "src": "44834:7:1" + "src": "46107:7:0" }, { "attributes": { @@ -63182,14 +63182,14 @@ "attributes": { "name": "uint256" }, - "id": 2463, + "id": 1955, "name": "ElementaryTypeName", - "src": "44842:7:1" + "src": "46115:7:0" } ], - "id": 2464, + "id": 1956, "name": "ElementaryTypeNameExpression", - "src": "44842:7:1" + "src": "46115:7:0" }, { "attributes": { @@ -63210,7 +63210,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -63223,16 +63223,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, + "referencedDeclaration": 1743, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)", "value": "_get" }, - "id": 2465, + "id": 1957, "name": "Identifier", - "src": "44850:4:1" + "src": "46123:4:0" }, { "attributes": { @@ -63241,7 +63241,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -63250,18 +63250,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2450, + "referencedDeclaration": 1942, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2466, + "id": 1958, "name": "Identifier", - "src": "44855:3:1" + "src": "46128:3:0" } ], - "id": 2467, + "id": 1959, "name": "MemberAccess", - "src": "44855:10:1" + "src": "46128:10:0" }, { "attributes": { @@ -63297,85 +63297,85 @@ "attributes": { "name": "bytes32" }, - "id": 2468, + "id": 1960, "name": "ElementaryTypeName", - "src": "44867:7:1" + "src": "46140:7:0" } ], - "id": 2469, + "id": 1961, "name": "ElementaryTypeNameExpression", - "src": "44867:7:1" + "src": "46140:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2452, + "referencedDeclaration": 1944, "type": "uint256", "value": "key" }, - "id": 2470, + "id": 1962, "name": "Identifier", - "src": "44875:3:1" + "src": "46148:3:0" } ], - "id": 2471, + "id": 1963, "name": "FunctionCall", - "src": "44867:12:1" + "src": "46140:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2454, + "referencedDeclaration": 1946, "type": "string memory", "value": "errorMessage" }, - "id": 2472, + "id": 1964, "name": "Identifier", - "src": "44881:12:1" + "src": "46154:12:0" } ], - "id": 2473, + "id": 1965, "name": "FunctionCall", - "src": "44850:44:1" + "src": "46123:44:0" } ], - "id": 2474, + "id": 1966, "name": "FunctionCall", - "src": "44842:53:1" + "src": "46115:53:0" } ], - "id": 2475, + "id": 1967, "name": "FunctionCall", - "src": "44834:62:1" + "src": "46107:62:0" } ], - "id": 2476, + "id": 1968, "name": "FunctionCall", - "src": "44826:71:1" + "src": "46099:71:0" } ], - "id": 2477, + "id": 1969, "name": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ], - "id": 2478, + "id": 1970, "name": "Block", - "src": "44809:95:1" + "src": "46081:97:0" } ], - "id": 2479, + "id": 1971, "name": "FunctionDefinition", - "src": "44693:211:1" + "src": "45965:213:0" } ], - "id": 2480, + "id": 1972, "name": "ContractDefinition", - "src": "35943:8963:1" + "src": "36981:9200:0" }, { "attributes": { @@ -63389,9 +63389,9 @@ ".0" ] }, - "id": 2481, + "id": 1973, "name": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "attributes": { @@ -63405,19 +63405,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev String operations." }, - "id": 2482, + "id": 1974, "name": "StructuredDocumentation", - "src": "44992:34:1" + "src": "46272:36:0" }, { "attributes": { @@ -63428,7 +63428,7 @@ null ], "name": "toString", - "scope": 2566, + "scope": 2058, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -63438,9 +63438,9 @@ "attributes": { "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2483, + "id": 1975, "name": "StructuredDocumentation", - "src": "45049:82:1" + "src": "46333:84:0" }, { "children": [ @@ -63449,7 +63449,7 @@ "constant": false, "mutability": "mutable", "name": "value", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63461,19 +63461,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2484, + "id": 1976, "name": "ElementaryTypeName", - "src": "45154:7:1" + "src": "46441:7:0" } ], - "id": 2485, + "id": 1977, "name": "VariableDeclaration", - "src": "45154:13:1" + "src": "46441:13:0" } ], - "id": 2486, + "id": 1978, "name": "ParameterList", - "src": "45153:15:1" + "src": "46440:15:0" }, { "children": [ @@ -63482,7 +63482,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63494,19 +63494,19 @@ "name": "string", "type": "string" }, - "id": 2487, + "id": 1979, "name": "ElementaryTypeName", - "src": "45192:6:1" + "src": "46479:6:0" } ], - "id": 2488, + "id": 1980, "name": "VariableDeclaration", - "src": "45192:13:1" + "src": "46479:13:0" } ], - "id": 2489, + "id": 1981, "name": "ParameterList", - "src": "45191:15:1" + "src": "46478:15:0" }, { "children": [ @@ -63532,13 +63532,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2490, + "id": 1982, "name": "Identifier", - "src": "45409:5:1" + "src": "46700:5:0" }, { "attributes": { @@ -63551,20 +63551,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2491, + "id": 1983, "name": "Literal", - "src": "45418:1:1" + "src": "46709:1:0" } ], - "id": 2492, + "id": 1984, "name": "BinaryOperation", - "src": "45409:10:1" + "src": "46700:10:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -63578,29 +63578,29 @@ "type": "literal_string \"0\"", "value": "0" }, - "id": 2493, + "id": 1985, "name": "Literal", - "src": "45442:3:1" + "src": "46734:3:0" } ], - "id": 2494, + "id": 1986, "name": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ], - "id": 2495, + "id": 1987, "name": "Block", - "src": "45421:35:1" + "src": "46712:37:0" } ], - "id": 2496, + "id": 1988, "name": "IfStatement", - "src": "45405:51:1" + "src": "46696:53:0" }, { "attributes": { "assignments": [ - 2498 + 1990 ] }, "children": [ @@ -63609,7 +63609,7 @@ "constant": false, "mutability": "mutable", "name": "temp", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63621,37 +63621,37 @@ "name": "uint256", "type": "uint256" }, - "id": 2497, + "id": 1989, "name": "ElementaryTypeName", - "src": "45465:7:1" + "src": "46759:7:0" } ], - "id": 2498, + "id": 1990, "name": "VariableDeclaration", - "src": "45465:12:1" + "src": "46759:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2499, + "id": 1991, "name": "Identifier", - "src": "45480:5:1" + "src": "46774:5:0" } ], - "id": 2500, + "id": 1992, "name": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "attributes": { "assignments": [ - 2502 + 1994 ] }, "children": [ @@ -63660,7 +63660,7 @@ "constant": false, "mutability": "mutable", "name": "digits", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63672,19 +63672,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2501, + "id": 1993, "name": "ElementaryTypeName", - "src": "45495:7:1" + "src": "46790:7:0" } ], - "id": 2502, + "id": 1994, "name": "VariableDeclaration", - "src": "45495:14:1" + "src": "46790:14:0" } ], - "id": 2503, + "id": 1995, "name": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "children": [ @@ -63707,13 +63707,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2504, + "id": 1996, "name": "Identifier", - "src": "45526:4:1" + "src": "46822:4:0" }, { "attributes": { @@ -63726,14 +63726,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2505, + "id": 1997, "name": "Literal", - "src": "45534:1:1" + "src": "46830:1:0" } ], - "id": 2506, + "id": 1998, "name": "BinaryOperation", - "src": "45526:9:1" + "src": "46822:9:0" }, { "children": [ @@ -63755,23 +63755,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2507, + "id": 1999, "name": "Identifier", - "src": "45551:6:1" + "src": "46848:6:0" } ], - "id": 2508, + "id": 2000, "name": "UnaryOperation", - "src": "45551:8:1" + "src": "46848:8:0" } ], - "id": 2509, + "id": 2001, "name": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "children": [ @@ -63790,13 +63790,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2510, + "id": 2002, "name": "Identifier", - "src": "45573:4:1" + "src": "46871:4:0" }, { "attributes": { @@ -63809,34 +63809,34 @@ "type": "int_const 10", "value": "10" }, - "id": 2511, + "id": 2003, "name": "Literal", - "src": "45581:2:1" + "src": "46879:2:0" } ], - "id": 2512, + "id": 2004, "name": "Assignment", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2513, + "id": 2005, "name": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2514, + "id": 2006, "name": "Block", - "src": "45537:57:1" + "src": "46833:60:0" } ], - "id": 2515, + "id": 2007, "name": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "attributes": { "assignments": [ - 2517 + 2009 ] }, "children": [ @@ -63845,7 +63845,7 @@ "constant": false, "mutability": "mutable", "name": "buffer", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -63857,14 +63857,14 @@ "name": "bytes", "type": "bytes" }, - "id": 2516, + "id": 2008, "name": "ElementaryTypeName", - "src": "45603:5:1" + "src": "46903:5:0" } ], - "id": 2517, + "id": 2009, "name": "VariableDeclaration", - "src": "45603:19:1" + "src": "46903:19:0" }, { "attributes": { @@ -63901,42 +63901,42 @@ "name": "bytes", "type": "bytes" }, - "id": 2518, + "id": 2010, "name": "ElementaryTypeName", - "src": "45629:5:1" + "src": "46929:5:0" } ], - "id": 2519, + "id": 2011, "name": "NewExpression", - "src": "45625:9:1" + "src": "46925:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2520, + "id": 2012, "name": "Identifier", - "src": "45635:6:1" + "src": "46935:6:0" } ], - "id": 2521, + "id": 2013, "name": "FunctionCall", - "src": "45625:17:1" + "src": "46925:17:0" } ], - "id": 2522, + "id": 2014, "name": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "attributes": { "assignments": [ - 2524 + 2016 ] }, "children": [ @@ -63945,7 +63945,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63957,14 +63957,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2523, + "id": 2015, "name": "ElementaryTypeName", - "src": "45652:7:1" + "src": "46953:7:0" } ], - "id": 2524, + "id": 2016, "name": "VariableDeclaration", - "src": "45652:13:1" + "src": "46953:13:0" }, { "attributes": { @@ -63985,13 +63985,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2525, + "id": 2017, "name": "Identifier", - "src": "45668:6:1" + "src": "46969:6:0" }, { "attributes": { @@ -64004,19 +64004,19 @@ "type": "int_const 1", "value": "1" }, - "id": 2526, + "id": 2018, "name": "Literal", - "src": "45677:1:1" + "src": "46978:1:0" } ], - "id": 2527, + "id": 2019, "name": "BinaryOperation", - "src": "45668:10:1" + "src": "46969:10:0" } ], - "id": 2528, + "id": 2020, "name": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "children": [ @@ -64035,36 +64035,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2529, + "id": 2021, "name": "Identifier", - "src": "45688:4:1" + "src": "46990:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2530, + "id": 2022, "name": "Identifier", - "src": "45695:5:1" + "src": "46997:5:0" } ], - "id": 2531, + "id": 2023, "name": "Assignment", - "src": "45688:12:1" + "src": "46990:12:0" } ], - "id": 2532, + "id": 2024, "name": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "children": [ @@ -64087,13 +64087,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2533, + "id": 2025, "name": "Identifier", - "src": "45717:4:1" + "src": "47020:4:0" }, { "attributes": { @@ -64106,14 +64106,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2534, + "id": 2026, "name": "Literal", - "src": "45725:1:1" + "src": "47028:1:0" } ], - "id": 2535, + "id": 2027, "name": "BinaryOperation", - "src": "45717:9:1" + "src": "47020:9:0" }, { "children": [ @@ -64143,13 +64143,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2536, + "id": 2028, "name": "Identifier", - "src": "45742:6:1" + "src": "47046:6:0" }, { "attributes": { @@ -64167,23 +64167,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2524, + "referencedDeclaration": 2016, "type": "uint256", "value": "index" }, - "id": 2537, + "id": 2029, "name": "Identifier", - "src": "45749:5:1" + "src": "47053:5:0" } ], - "id": 2538, + "id": 2030, "name": "UnaryOperation", - "src": "45749:7:1" + "src": "47053:7:0" } ], - "id": 2539, + "id": 2031, "name": "IndexAccess", - "src": "45742:15:1" + "src": "47046:15:0" }, { "attributes": { @@ -64219,14 +64219,14 @@ "attributes": { "name": "bytes1" }, - "id": 2540, + "id": 2032, "name": "ElementaryTypeName", - "src": "45760:6:1" + "src": "47064:6:0" } ], - "id": 2541, + "id": 2033, "name": "ElementaryTypeNameExpression", - "src": "45760:6:1" + "src": "47064:6:0" }, { "attributes": { @@ -64262,14 +64262,14 @@ "attributes": { "name": "uint8" }, - "id": 2542, + "id": 2034, "name": "ElementaryTypeName", - "src": "45767:5:1" + "src": "47071:5:0" } ], - "id": 2543, + "id": 2035, "name": "ElementaryTypeNameExpression", - "src": "45767:5:1" + "src": "47071:5:0" }, { "attributes": { @@ -64296,9 +64296,9 @@ "type": "int_const 48", "value": "48" }, - "id": 2544, + "id": 2036, "name": "Literal", - "src": "45773:2:1" + "src": "47077:2:0" }, { "attributes": { @@ -64319,13 +64319,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2545, + "id": 2037, "name": "Identifier", - "src": "45778:4:1" + "src": "47082:4:0" }, { "attributes": { @@ -64338,39 +64338,39 @@ "type": "int_const 10", "value": "10" }, - "id": 2546, + "id": 2038, "name": "Literal", - "src": "45785:2:1" + "src": "47089:2:0" } ], - "id": 2547, + "id": 2039, "name": "BinaryOperation", - "src": "45778:9:1" + "src": "47082:9:0" } ], - "id": 2548, + "id": 2040, "name": "BinaryOperation", - "src": "45773:14:1" + "src": "47077:14:0" } ], - "id": 2549, + "id": 2041, "name": "FunctionCall", - "src": "45767:21:1" + "src": "47071:21:0" } ], - "id": 2550, + "id": 2042, "name": "FunctionCall", - "src": "45760:29:1" + "src": "47064:29:0" } ], - "id": 2551, + "id": 2043, "name": "Assignment", - "src": "45742:47:1" + "src": "47046:47:0" } ], - "id": 2552, + "id": 2044, "name": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "children": [ @@ -64389,13 +64389,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2553, + "id": 2045, "name": "Identifier", - "src": "45803:4:1" + "src": "47108:4:0" }, { "attributes": { @@ -64408,33 +64408,33 @@ "type": "int_const 10", "value": "10" }, - "id": 2554, + "id": 2046, "name": "Literal", - "src": "45811:2:1" + "src": "47116:2:0" } ], - "id": 2555, + "id": 2047, "name": "Assignment", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2556, + "id": 2048, "name": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2557, + "id": 2049, "name": "Block", - "src": "45728:96:1" + "src": "47031:99:0" } ], - "id": 2558, + "id": 2050, "name": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -64471,52 +64471,52 @@ "attributes": { "name": "string" }, - "id": 2559, + "id": 2051, "name": "ElementaryTypeName", - "src": "45840:6:1" + "src": "47147:6:0" } ], - "id": 2560, + "id": 2052, "name": "ElementaryTypeNameExpression", - "src": "45840:6:1" + "src": "47147:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2561, + "id": 2053, "name": "Identifier", - "src": "45847:6:1" + "src": "47154:6:0" } ], - "id": 2562, + "id": 2054, "name": "FunctionCall", - "src": "45840:14:1" + "src": "47147:14:0" } ], - "id": 2563, + "id": 2055, "name": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ], - "id": 2564, + "id": 2056, "name": "Block", - "src": "45207:654:1" + "src": "46494:675:0" } ], - "id": 2565, + "id": 2057, "name": "FunctionDefinition", - "src": "45136:725:1" + "src": "46423:746:0" } ], - "id": 2566, + "id": 2058, "name": "ContractDefinition", - "src": "45027:836:1" + "src": "46310:862:0" }, { "attributes": { @@ -64530,43 +64530,43 @@ ".0" ] }, - "id": 2567, + "id": 2059, "name": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, - "id": 2568, + "id": 2060, "name": "StructuredDocumentation", - "src": "45955:124:1" + "src": "47269:127:0" }, { "attributes": {}, @@ -64574,17 +64574,17 @@ { "attributes": { "name": "Context", - "referencedDeclaration": 530, + "referencedDeclaration": 22, "type": "contract Context" }, - "id": 2569, + "id": 2061, "name": "UserDefinedTypeName", - "src": "46099:7:1" + "src": "47417:7:0" } ], - "id": 2570, + "id": 2062, "name": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "attributes": {}, @@ -64592,17 +64592,17 @@ { "attributes": { "name": "ERC165", - "referencedDeclaration": 781, + "referencedDeclaration": 273, "type": "contract ERC165" }, - "id": 2571, + "id": 2063, "name": "UserDefinedTypeName", - "src": "46108:6:1" + "src": "47426:6:0" } ], - "id": 2572, + "id": 2064, "name": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "attributes": {}, @@ -64610,17 +64610,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 2573, + "id": 2065, "name": "UserDefinedTypeName", - "src": "46116:7:1" + "src": "47434:7:0" } ], - "id": 2574, + "id": 2066, "name": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "attributes": {}, @@ -64628,17 +64628,17 @@ { "attributes": { "name": "IERC721Metadata", - "referencedDeclaration": 680, + "referencedDeclaration": 172, "type": "contract IERC721Metadata" }, - "id": 2575, + "id": 2067, "name": "UserDefinedTypeName", - "src": "46125:15:1" + "src": "47443:15:0" } ], - "id": 2576, + "id": 2068, "name": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "attributes": {}, @@ -64646,55 +64646,55 @@ { "attributes": { "name": "IERC721Enumerable", - "referencedDeclaration": 709, + "referencedDeclaration": 201, "type": "contract IERC721Enumerable" }, - "id": 2577, + "id": 2069, "name": "UserDefinedTypeName", - "src": "46142:17:1" + "src": "47460:17:0" } ], - "id": 2578, + "id": 2070, "name": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" }, { "children": [ { "attributes": { "name": "SafeMath", - "referencedDeclaration": 1135, + "referencedDeclaration": 627, "type": "library SafeMath" }, - "id": 2579, + "id": 2071, "name": "UserDefinedTypeName", - "src": "46172:8:1" + "src": "47491:8:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2580, + "id": 2072, "name": "ElementaryTypeName", - "src": "46185:7:1" + "src": "47504:7:0" } ], - "id": 2581, + "id": 2073, "name": "UsingForDirective", - "src": "46166:27:1" + "src": "47485:27:0" }, { "children": [ { "attributes": { "name": "Address", - "referencedDeclaration": 1430, + "referencedDeclaration": 922, "type": "library Address" }, - "id": 2582, + "id": 2074, "name": "UserDefinedTypeName", - "src": "46204:7:1" + "src": "47524:7:0" }, { "attributes": { @@ -64702,101 +64702,101 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2583, + "id": 2075, "name": "ElementaryTypeName", - "src": "46216:7:1" + "src": "47536:7:0" } ], - "id": 2584, + "id": 2076, "name": "UsingForDirective", - "src": "46198:26:1" + "src": "47518:26:0" }, { "children": [ { "attributes": { "name": "EnumerableSet", - "referencedDeclaration": 1921, + "referencedDeclaration": 1413, "type": "library EnumerableSet" }, - "id": 2585, + "id": 2077, "name": "UserDefinedTypeName", - "src": "46235:13:1" + "src": "47556:13:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2586, + "id": 2078, "name": "UserDefinedTypeName", - "src": "46253:21:1" + "src": "47574:21:0" } ], - "id": 2587, + "id": 2079, "name": "UsingForDirective", - "src": "46229:46:1" + "src": "47550:46:0" }, { "children": [ { "attributes": { "name": "EnumerableMap", - "referencedDeclaration": 2480, + "referencedDeclaration": 1972, "type": "library EnumerableMap" }, - "id": 2588, + "id": 2080, "name": "UserDefinedTypeName", - "src": "46286:13:1" + "src": "47608:13:0" }, { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2589, + "id": 2081, "name": "UserDefinedTypeName", - "src": "46304:30:1" + "src": "47626:30:0" } ], - "id": 2590, + "id": 2082, "name": "UsingForDirective", - "src": "46280:55:1" + "src": "47602:55:0" }, { "children": [ { "attributes": { "name": "Strings", - "referencedDeclaration": 2566, + "referencedDeclaration": 2058, "type": "library Strings" }, - "id": 2591, + "id": 2083, "name": "UserDefinedTypeName", - "src": "46346:7:1" + "src": "47669:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2592, + "id": 2084, "name": "ElementaryTypeName", - "src": "46358:7:1" + "src": "47681:7:0" } ], - "id": 2593, + "id": 2085, "name": "UsingForDirective", - "src": "46340:26:1" + "src": "47663:26:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_ERC721_RECEIVED", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -64808,9 +64808,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2594, + "id": 2086, "name": "ElementaryTypeName", - "src": "46544:6:1" + "src": "47871:6:0" }, { "attributes": { @@ -64823,21 +64823,21 @@ "type": "int_const 353073666", "value": "0x150b7a02" }, - "id": 2595, + "id": 2087, "name": "Literal", - "src": "46587:10:1" + "src": "47914:10:0" } ], - "id": 2596, + "id": 2088, "name": "VariableDeclaration", - "src": "46544:53:1" + "src": "47871:53:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_holderTokens", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => struct EnumerableSet.UintSet)", @@ -64854,36 +64854,36 @@ "name": "address", "type": "address" }, - "id": 2597, + "id": 2089, "name": "ElementaryTypeName", - "src": "46690:7:1" + "src": "48020:7:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2598, + "id": 2090, "name": "UserDefinedTypeName", - "src": "46701:21:1" + "src": "48031:21:0" } ], - "id": 2599, + "id": 2091, "name": "Mapping", - "src": "46681:42:1" + "src": "48011:42:0" } ], - "id": 2600, + "id": 2092, "name": "VariableDeclaration", - "src": "46681:64:1" + "src": "48011:64:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenOwners", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "struct EnumerableMap.UintToAddressMap", @@ -64893,24 +64893,24 @@ { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2601, + "id": 2093, "name": "UserDefinedTypeName", - "src": "46809:30:1" + "src": "48142:30:0" } ], - "id": 2602, + "id": 2094, "name": "VariableDeclaration", - "src": "46809:51:1" + "src": "48142:51:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => address)", @@ -64927,9 +64927,9 @@ "name": "uint256", "type": "uint256" }, - "id": 2603, + "id": 2095, "name": "ElementaryTypeName", - "src": "46925:7:1" + "src": "48261:7:0" }, { "attributes": { @@ -64937,26 +64937,26 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2604, + "id": 2096, "name": "ElementaryTypeName", - "src": "46936:7:1" + "src": "48272:7:0" } ], - "id": 2605, + "id": 2097, "name": "Mapping", - "src": "46916:28:1" + "src": "48252:28:0" } ], - "id": 2606, + "id": 2098, "name": "VariableDeclaration", - "src": "46916:52:1" + "src": "48252:52:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_operatorApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => mapping(address => bool))", @@ -64973,9 +64973,9 @@ "name": "address", "type": "address" }, - "id": 2607, + "id": 2099, "name": "ElementaryTypeName", - "src": "47032:7:1" + "src": "48371:7:0" }, { "attributes": { @@ -64987,40 +64987,40 @@ "name": "address", "type": "address" }, - "id": 2608, + "id": 2100, "name": "ElementaryTypeName", - "src": "47052:7:1" + "src": "48391:7:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 2609, + "id": 2101, "name": "ElementaryTypeName", - "src": "47063:4:1" + "src": "48402:4:0" } ], - "id": 2610, + "id": 2102, "name": "Mapping", - "src": "47043:25:1" + "src": "48382:25:0" } ], - "id": 2611, + "id": 2103, "name": "Mapping", - "src": "47023:46:1" + "src": "48362:46:0" } ], - "id": 2612, + "id": 2104, "name": "VariableDeclaration", - "src": "47023:73:1" + "src": "48362:73:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_name", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65032,21 +65032,21 @@ "name": "string", "type": "string" }, - "id": 2613, + "id": 2105, "name": "ElementaryTypeName", - "src": "47121:6:1" + "src": "48463:6:0" } ], - "id": 2614, + "id": 2106, "name": "VariableDeclaration", - "src": "47121:20:1" + "src": "48463:20:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_symbol", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65058,21 +65058,21 @@ "name": "string", "type": "string" }, - "id": 2615, + "id": 2107, "name": "ElementaryTypeName", - "src": "47168:6:1" + "src": "48513:6:0" } ], - "id": 2616, + "id": 2108, "name": "VariableDeclaration", - "src": "47168:22:1" + "src": "48513:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURIs", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => string)", @@ -65089,35 +65089,35 @@ "name": "uint256", "type": "uint256" }, - "id": 2617, + "id": 2109, "name": "ElementaryTypeName", - "src": "47245:7:1" + "src": "48593:7:0" }, { "attributes": { "name": "string", "type": "string" }, - "id": 2618, + "id": 2110, "name": "ElementaryTypeName", - "src": "47256:6:1" + "src": "48604:6:0" } ], - "id": 2619, + "id": 2111, "name": "Mapping", - "src": "47236:27:1" + "src": "48584:27:0" } ], - "id": 2620, + "id": 2112, "name": "VariableDeclaration", - "src": "47236:46:1" + "src": "48584:46:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_baseURI", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65129,21 +65129,21 @@ "name": "string", "type": "string" }, - "id": 2621, + "id": 2113, "name": "ElementaryTypeName", - "src": "47305:6:1" + "src": "48656:6:0" } ], - "id": 2622, + "id": 2114, "name": "VariableDeclaration", - "src": "47305:23:1" + "src": "48656:23:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65155,9 +65155,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2623, + "id": 2115, "name": "ElementaryTypeName", - "src": "48204:6:1" + "src": "49571:6:0" }, { "attributes": { @@ -65170,21 +65170,21 @@ "type": "int_const 2158778573", "value": "0x80ac58cd" }, - "id": 2624, + "id": 2116, "name": "Literal", - "src": "48251:10:1" + "src": "49618:10:0" } ], - "id": 2625, + "id": 2117, "name": "VariableDeclaration", - "src": "48204:57:1" + "src": "49571:57:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65196,9 +65196,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2626, + "id": 2118, "name": "ElementaryTypeName", - "src": "48527:6:1" + "src": "49903:6:0" }, { "attributes": { @@ -65211,21 +65211,21 @@ "type": "int_const 1532892063", "value": "0x5b5e139f" }, - "id": 2627, + "id": 2119, "name": "Literal", - "src": "48583:10:1" + "src": "49959:10:0" } ], - "id": 2628, + "id": 2120, "name": "VariableDeclaration", - "src": "48527:66:1" + "src": "49903:66:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65237,9 +65237,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2629, + "id": 2121, "name": "ElementaryTypeName", - "src": "48898:6:1" + "src": "50283:6:0" }, { "attributes": { @@ -65252,14 +65252,14 @@ "type": "int_const 2014223715", "value": "0x780e9d63" }, - "id": 2630, + "id": 2122, "name": "Literal", - "src": "48956:10:1" + "src": "50341:10:0" } ], - "id": 2631, + "id": 2123, "name": "VariableDeclaration", - "src": "48898:68:1" + "src": "50283:68:0" }, { "attributes": { @@ -65270,7 +65270,7 @@ null ], "name": "", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -65280,9 +65280,9 @@ "attributes": { "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2632, + "id": 2124, "name": "StructuredDocumentation", - "src": "48973:108:1" + "src": "50360:110:0" }, { "children": [ @@ -65291,7 +65291,7 @@ "constant": false, "mutability": "mutable", "name": "name_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65303,21 +65303,21 @@ "name": "string", "type": "string" }, - "id": 2633, + "id": 2125, "name": "ElementaryTypeName", - "src": "49099:6:1" + "src": "50489:6:0" } ], - "id": 2634, + "id": 2126, "name": "VariableDeclaration", - "src": "49099:19:1" + "src": "50489:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "symbol_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65329,19 +65329,19 @@ "name": "string", "type": "string" }, - "id": 2635, + "id": 2127, "name": "ElementaryTypeName", - "src": "49120:6:1" + "src": "50510:6:0" } ], - "id": 2636, + "id": 2128, "name": "VariableDeclaration", - "src": "49120:21:1" + "src": "50510:21:0" } ], - "id": 2637, + "id": 2129, "name": "ParameterList", - "src": "49098:44:1" + "src": "50488:44:0" }, { "attributes": { @@ -65350,9 +65350,9 @@ ] }, "children": [], - "id": 2638, + "id": 2130, "name": "ParameterList", - "src": "49143:0:1" + "src": "50533:0:0" }, { "children": [ @@ -65373,36 +65373,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2639, + "id": 2131, "name": "Identifier", - "src": "49153:5:1" + "src": "50544:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2634, + "referencedDeclaration": 2126, "type": "string memory", "value": "name_" }, - "id": 2640, + "id": 2132, "name": "Identifier", - "src": "49161:5:1" + "src": "50552:5:0" } ], - "id": 2641, + "id": 2133, "name": "Assignment", - "src": "49153:13:1" + "src": "50544:13:0" } ], - "id": 2642, + "id": 2134, "name": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "children": [ @@ -65421,36 +65421,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2643, + "id": 2135, "name": "Identifier", - "src": "49176:7:1" + "src": "50568:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2636, + "referencedDeclaration": 2128, "type": "string memory", "value": "symbol_" }, - "id": 2644, + "id": 2136, "name": "Identifier", - "src": "49186:7:1" + "src": "50578:7:0" } ], - "id": 2645, + "id": 2137, "name": "Assignment", - "src": "49176:17:1" + "src": "50568:17:0" } ], - "id": 2646, + "id": 2138, "name": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "children": [ @@ -65480,36 +65480,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2647, + "id": 2139, "name": "Identifier", - "src": "49281:18:1" + "src": "50676:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2625, + "referencedDeclaration": 2117, "type": "bytes4", "value": "_INTERFACE_ID_ERC721" }, - "id": 2648, + "id": 2140, "name": "Identifier", - "src": "49300:20:1" + "src": "50695:20:0" } ], - "id": 2649, + "id": 2141, "name": "FunctionCall", - "src": "49281:40:1" + "src": "50676:40:0" } ], - "id": 2650, + "id": 2142, "name": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "children": [ @@ -65539,36 +65539,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2651, + "id": 2143, "name": "Identifier", - "src": "49331:18:1" + "src": "50727:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2628, + "referencedDeclaration": 2120, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_METADATA" }, - "id": 2652, + "id": 2144, "name": "Identifier", - "src": "49350:29:1" + "src": "50746:29:0" } ], - "id": 2653, + "id": 2145, "name": "FunctionCall", - "src": "49331:49:1" + "src": "50727:49:0" } ], - "id": 2654, + "id": 2146, "name": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "children": [ @@ -65598,51 +65598,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2655, + "id": 2147, "name": "Identifier", - "src": "49390:18:1" + "src": "50787:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2631, + "referencedDeclaration": 2123, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_ENUMERABLE" }, - "id": 2656, + "id": 2148, "name": "Identifier", - "src": "49409:31:1" + "src": "50806:31:0" } ], - "id": 2657, + "id": 2149, "name": "FunctionCall", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2658, + "id": 2150, "name": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2659, + "id": 2151, "name": "Block", - "src": "49143:305:1" + "src": "50533:313:0" } ], - "id": 2660, + "id": 2152, "name": "FunctionDefinition", - "src": "49086:362:1" + "src": "50476:370:0" }, { "attributes": { "baseFunctions": [ - 580 + 72 ], "functionSelector": "70a08231", "implemented": true, @@ -65652,7 +65652,7 @@ null ], "name": "balanceOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -65662,9 +65662,9 @@ "attributes": { "text": " @dev See {IERC721-balanceOf}." }, - "id": 2661, + "id": 2153, "name": "StructuredDocumentation", - "src": "49454:48:1" + "src": "50854:50:0" }, { "attributes": { @@ -65672,9 +65672,9 @@ null ] }, - "id": 2665, + "id": 2157, "name": "OverrideSpecifier", - "src": "49561:8:1" + "src": "50964:8:0" }, { "children": [ @@ -65683,7 +65683,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -65696,19 +65696,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2662, + "id": 2154, "name": "ElementaryTypeName", - "src": "49526:7:1" + "src": "50929:7:0" } ], - "id": 2663, + "id": 2155, "name": "VariableDeclaration", - "src": "49526:13:1" + "src": "50929:13:0" } ], - "id": 2664, + "id": 2156, "name": "ParameterList", - "src": "49525:15:1" + "src": "50928:15:0" }, { "children": [ @@ -65717,7 +65717,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -65729,19 +65729,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2666, + "id": 2158, "name": "ElementaryTypeName", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2667, + "id": 2159, "name": "VariableDeclaration", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2668, + "id": 2160, "name": "ParameterList", - "src": "49578:9:1" + "src": "50981:9:0" }, { "children": [ @@ -65782,9 +65782,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2669, + "id": 2161, "name": "Identifier", - "src": "49598:7:1" + "src": "51002:7:0" }, { "attributes": { @@ -65805,13 +65805,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2670, + "id": 2162, "name": "Identifier", - "src": "49606:5:1" + "src": "51010:5:0" }, { "attributes": { @@ -65847,14 +65847,14 @@ "attributes": { "name": "address" }, - "id": 2671, + "id": 2163, "name": "ElementaryTypeName", - "src": "49615:7:1" + "src": "51019:7:0" } ], - "id": 2672, + "id": 2164, "name": "ElementaryTypeNameExpression", - "src": "49615:7:1" + "src": "51019:7:0" }, { "attributes": { @@ -65867,19 +65867,19 @@ "type": "int_const 0", "value": "0" }, - "id": 2673, + "id": 2165, "name": "Literal", - "src": "49623:1:1" + "src": "51027:1:0" } ], - "id": 2674, + "id": 2166, "name": "FunctionCall", - "src": "49615:10:1" + "src": "51019:10:0" } ], - "id": 2675, + "id": 2167, "name": "BinaryOperation", - "src": "49606:19:1" + "src": "51010:19:0" }, { "attributes": { @@ -65892,23 +65892,23 @@ "type": "literal_string \"ERC721: balance query for the zero address\"", "value": "ERC721: balance query for the zero address" }, - "id": 2676, + "id": 2168, "name": "Literal", - "src": "49627:44:1" + "src": "51031:44:0" } ], - "id": 2677, + "id": 2169, "name": "FunctionCall", - "src": "49598:74:1" + "src": "51002:74:0" } ], - "id": 2678, + "id": 2170, "name": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "attributes": { - "functionReturnParameters": 2668 + "functionReturnParameters": 2160 }, "children": [ { @@ -65939,7 +65939,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 1900, + "referencedDeclaration": 1392, "type": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" }, "children": [ @@ -65957,61 +65957,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2679, + "id": 2171, "name": "Identifier", - "src": "49689:13:1" + "src": "51094:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2680, + "id": 2172, "name": "Identifier", - "src": "49703:5:1" + "src": "51108:5:0" } ], - "id": 2681, + "id": 2173, "name": "IndexAccess", - "src": "49689:20:1" + "src": "51094:20:0" } ], - "id": 2682, + "id": 2174, "name": "MemberAccess", - "src": "49689:27:1" + "src": "51094:27:0" } ], - "id": 2683, + "id": 2175, "name": "FunctionCall", - "src": "49689:29:1" + "src": "51094:29:0" } ], - "id": 2684, + "id": 2176, "name": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ], - "id": 2685, + "id": 2177, "name": "Block", - "src": "49588:137:1" + "src": "50991:140:0" } ], - "id": 2686, + "id": 2178, "name": "FunctionDefinition", - "src": "49507:218:1" + "src": "50910:221:0" }, { "attributes": { "baseFunctions": [ - 588 + 80 ], "functionSelector": "6352211e", "implemented": true, @@ -66021,7 +66021,7 @@ null ], "name": "ownerOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66031,9 +66031,9 @@ "attributes": { "text": " @dev See {IERC721-ownerOf}." }, - "id": 2687, + "id": 2179, "name": "StructuredDocumentation", - "src": "49731:46:1" + "src": "51139:48:0" }, { "attributes": { @@ -66041,9 +66041,9 @@ null ] }, - "id": 2691, + "id": 2183, "name": "OverrideSpecifier", - "src": "49836:8:1" + "src": "51247:8:0" }, { "children": [ @@ -66052,7 +66052,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66064,19 +66064,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2688, + "id": 2180, "name": "ElementaryTypeName", - "src": "49799:7:1" + "src": "51210:7:0" } ], - "id": 2689, + "id": 2181, "name": "VariableDeclaration", - "src": "49799:15:1" + "src": "51210:15:0" } ], - "id": 2690, + "id": 2182, "name": "ParameterList", - "src": "49798:17:1" + "src": "51209:17:0" }, { "children": [ @@ -66085,7 +66085,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -66098,25 +66098,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2692, + "id": 2184, "name": "ElementaryTypeName", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2693, + "id": 2185, "name": "VariableDeclaration", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2694, + "id": 2186, "name": "ParameterList", - "src": "49853:9:1" + "src": "51264:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2694 + "functionReturnParameters": 2186 }, "children": [ { @@ -66151,7 +66151,7 @@ "isPure": false, "lValueRequested": false, "member_name": "get", - "referencedDeclaration": 2479, + "referencedDeclaration": 1971, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" }, "children": [ @@ -66160,31 +66160,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2695, + "id": 2187, "name": "Identifier", - "src": "49880:12:1" + "src": "51292:12:0" } ], - "id": 2696, + "id": 2188, "name": "MemberAccess", - "src": "49880:16:1" + "src": "51292:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2689, + "referencedDeclaration": 2181, "type": "uint256", "value": "tokenId" }, - "id": 2697, + "id": 2189, "name": "Identifier", - "src": "49897:7:1" + "src": "51309:7:0" }, { "attributes": { @@ -66197,34 +66197,34 @@ "type": "literal_string \"ERC721: owner query for nonexistent token\"", "value": "ERC721: owner query for nonexistent token" }, - "id": 2698, + "id": 2190, "name": "Literal", - "src": "49906:43:1" + "src": "51318:43:0" } ], - "id": 2699, + "id": 2191, "name": "FunctionCall", - "src": "49880:70:1" + "src": "51292:70:0" } ], - "id": 2700, + "id": 2192, "name": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ], - "id": 2701, + "id": 2193, "name": "Block", - "src": "49863:94:1" + "src": "51274:96:0" } ], - "id": 2702, + "id": 2194, "name": "FunctionDefinition", - "src": "49782:175:1" + "src": "51193:177:0" }, { "attributes": { "baseFunctions": [ - 665 + 157 ], "functionSelector": "06fdde03", "implemented": true, @@ -66234,7 +66234,7 @@ null ], "name": "name", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66244,9 +66244,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-name}." }, - "id": 2703, + "id": 2195, "name": "StructuredDocumentation", - "src": "49963:51:1" + "src": "51378:53:0" }, { "attributes": { @@ -66254,9 +66254,9 @@ null ] }, - "id": 2705, + "id": 2197, "name": "OverrideSpecifier", - "src": "50055:8:1" + "src": "51473:8:0" }, { "attributes": { @@ -66265,9 +66265,9 @@ ] }, "children": [], - "id": 2704, + "id": 2196, "name": "ParameterList", - "src": "50032:2:1" + "src": "51450:2:0" }, { "children": [ @@ -66276,7 +66276,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2712, + "scope": 2204, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66288,25 +66288,25 @@ "name": "string", "type": "string" }, - "id": 2706, + "id": 2198, "name": "ElementaryTypeName", - "src": "50073:6:1" + "src": "51491:6:0" } ], - "id": 2707, + "id": 2199, "name": "VariableDeclaration", - "src": "50073:13:1" + "src": "51491:13:0" } ], - "id": 2708, + "id": 2200, "name": "ParameterList", - "src": "50072:15:1" + "src": "51490:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2708 + "functionReturnParameters": 2200 }, "children": [ { @@ -66314,33 +66314,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2709, + "id": 2201, "name": "Identifier", - "src": "50105:5:1" + "src": "51524:5:0" } ], - "id": 2710, + "id": 2202, "name": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ], - "id": 2711, + "id": 2203, "name": "Block", - "src": "50088:29:1" + "src": "51506:31:0" } ], - "id": 2712, + "id": 2204, "name": "FunctionDefinition", - "src": "50019:98:1" + "src": "51437:100:0" }, { "attributes": { "baseFunctions": [ - 671 + 163 ], "functionSelector": "95d89b41", "implemented": true, @@ -66350,7 +66350,7 @@ null ], "name": "symbol", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66360,9 +66360,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-symbol}." }, - "id": 2713, + "id": 2205, "name": "StructuredDocumentation", - "src": "50123:53:1" + "src": "51545:55:0" }, { "attributes": { @@ -66370,9 +66370,9 @@ null ] }, - "id": 2715, + "id": 2207, "name": "OverrideSpecifier", - "src": "50219:8:1" + "src": "51644:8:0" }, { "attributes": { @@ -66381,9 +66381,9 @@ ] }, "children": [], - "id": 2714, + "id": 2206, "name": "ParameterList", - "src": "50196:2:1" + "src": "51621:2:0" }, { "children": [ @@ -66392,7 +66392,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2722, + "scope": 2214, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66404,25 +66404,25 @@ "name": "string", "type": "string" }, - "id": 2716, + "id": 2208, "name": "ElementaryTypeName", - "src": "50237:6:1" + "src": "51662:6:0" } ], - "id": 2717, + "id": 2209, "name": "VariableDeclaration", - "src": "50237:13:1" + "src": "51662:13:0" } ], - "id": 2718, + "id": 2210, "name": "ParameterList", - "src": "50236:15:1" + "src": "51661:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2718 + "functionReturnParameters": 2210 }, "children": [ { @@ -66430,33 +66430,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2719, + "id": 2211, "name": "Identifier", - "src": "50269:7:1" + "src": "51695:7:0" } ], - "id": 2720, + "id": 2212, "name": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ], - "id": 2721, + "id": 2213, "name": "Block", - "src": "50252:31:1" + "src": "51677:33:0" } ], - "id": 2722, + "id": 2214, "name": "FunctionDefinition", - "src": "50181:102:1" + "src": "51606:104:0" }, { "attributes": { "baseFunctions": [ - 679 + 171 ], "functionSelector": "c87b56dd", "implemented": true, @@ -66466,7 +66466,7 @@ null ], "name": "tokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66476,9 +66476,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-tokenURI}." }, - "id": 2723, + "id": 2215, "name": "StructuredDocumentation", - "src": "50289:55:1" + "src": "51718:57:0" }, { "attributes": { @@ -66486,9 +66486,9 @@ null ] }, - "id": 2727, + "id": 2219, "name": "OverrideSpecifier", - "src": "50404:8:1" + "src": "51836:8:0" }, { "children": [ @@ -66497,7 +66497,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66509,19 +66509,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2724, + "id": 2216, "name": "ElementaryTypeName", - "src": "50367:7:1" + "src": "51799:7:0" } ], - "id": 2725, + "id": 2217, "name": "VariableDeclaration", - "src": "50367:15:1" + "src": "51799:15:0" } ], - "id": 2726, + "id": 2218, "name": "ParameterList", - "src": "50366:17:1" + "src": "51798:17:0" }, { "children": [ @@ -66530,7 +66530,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66542,19 +66542,19 @@ "name": "string", "type": "string" }, - "id": 2728, + "id": 2220, "name": "ElementaryTypeName", - "src": "50422:6:1" + "src": "51854:6:0" } ], - "id": 2729, + "id": 2221, "name": "VariableDeclaration", - "src": "50422:13:1" + "src": "51854:13:0" } ], - "id": 2730, + "id": 2222, "name": "ParameterList", - "src": "50421:15:1" + "src": "51853:15:0" }, { "children": [ @@ -66595,9 +66595,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2731, + "id": 2223, "name": "Identifier", - "src": "50447:7:1" + "src": "51880:7:0" }, { "attributes": { @@ -66625,31 +66625,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2732, + "id": 2224, "name": "Identifier", - "src": "50455:7:1" + "src": "51888:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2733, + "id": 2225, "name": "Identifier", - "src": "50463:7:1" + "src": "51896:7:0" } ], - "id": 2734, + "id": 2226, "name": "FunctionCall", - "src": "50455:16:1" + "src": "51888:16:0" }, { "attributes": { @@ -66662,24 +66662,24 @@ "type": "literal_string \"ERC721Metadata: URI query for nonexistent token\"", "value": "ERC721Metadata: URI query for nonexistent token" }, - "id": 2735, + "id": 2227, "name": "Literal", - "src": "50473:49:1" + "src": "51906:49:0" } ], - "id": 2736, + "id": 2228, "name": "FunctionCall", - "src": "50447:76:1" + "src": "51880:76:0" } ], - "id": 2737, + "id": 2229, "name": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "attributes": { "assignments": [ - 2739 + 2231 ] }, "children": [ @@ -66688,7 +66688,7 @@ "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66700,14 +66700,14 @@ "name": "string", "type": "string" }, - "id": 2738, + "id": 2230, "name": "ElementaryTypeName", - "src": "50534:6:1" + "src": "51969:6:0" } ], - "id": 2739, + "id": 2231, "name": "VariableDeclaration", - "src": "50534:23:1" + "src": "51969:23:0" }, { "attributes": { @@ -66723,41 +66723,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 2740, + "id": 2232, "name": "Identifier", - "src": "50560:10:1" + "src": "51995:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2741, + "id": 2233, "name": "Identifier", - "src": "50571:7:1" + "src": "52006:7:0" } ], - "id": 2742, + "id": 2234, "name": "IndexAccess", - "src": "50560:19:1" + "src": "51995:19:0" } ], - "id": 2743, + "id": 2235, "name": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "attributes": { "assignments": [ - 2745 + 2237 ] }, "children": [ @@ -66766,7 +66766,7 @@ "constant": false, "mutability": "mutable", "name": "base", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66778,14 +66778,14 @@ "name": "string", "type": "string" }, - "id": 2744, + "id": 2236, "name": "ElementaryTypeName", - "src": "50589:6:1" + "src": "52025:6:0" } ], - "id": 2745, + "id": 2237, "name": "VariableDeclaration", - "src": "50589:18:1" + "src": "52025:18:0" }, { "attributes": { @@ -66813,23 +66813,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2799, + "referencedDeclaration": 2291, "type": "function () view returns (string memory)", "value": "baseURI" }, - "id": 2746, + "id": 2238, "name": "Identifier", - "src": "50610:7:1" + "src": "52046:7:0" } ], - "id": 2747, + "id": 2239, "name": "FunctionCall", - "src": "50610:9:1" + "src": "52046:9:0" } ], - "id": 2748, + "id": 2240, "name": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "attributes": {}, @@ -66892,37 +66892,37 @@ "attributes": { "name": "bytes" }, - "id": 2749, + "id": 2241, "name": "ElementaryTypeName", - "src": "50692:5:1" + "src": "52131:5:0" } ], - "id": 2750, + "id": 2242, "name": "ElementaryTypeNameExpression", - "src": "50692:5:1" + "src": "52131:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2751, + "id": 2243, "name": "Identifier", - "src": "50698:4:1" + "src": "52137:4:0" } ], - "id": 2752, + "id": 2244, "name": "FunctionCall", - "src": "50692:11:1" + "src": "52131:11:0" } ], - "id": 2753, + "id": 2245, "name": "MemberAccess", - "src": "50692:18:1" + "src": "52131:18:0" }, { "attributes": { @@ -66935,20 +66935,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2754, + "id": 2246, "name": "Literal", - "src": "50714:1:1" + "src": "52153:1:0" } ], - "id": 2755, + "id": 2247, "name": "BinaryOperation", - "src": "50692:23:1" + "src": "52131:23:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -66956,28 +66956,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2756, + "id": 2248, "name": "Identifier", - "src": "50738:9:1" + "src": "52178:9:0" } ], - "id": 2757, + "id": 2249, "name": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ], - "id": 2758, + "id": 2250, "name": "Block", - "src": "50717:41:1" + "src": "52156:43:0" } ], - "id": 2759, + "id": 2251, "name": "IfStatement", - "src": "50688:70:1" + "src": "52127:72:0" }, { "attributes": {}, @@ -67040,37 +67040,37 @@ "attributes": { "name": "bytes" }, - "id": 2760, + "id": 2252, "name": "ElementaryTypeName", - "src": "50860:5:1" + "src": "52303:5:0" } ], - "id": 2761, + "id": 2253, "name": "ElementaryTypeNameExpression", - "src": "50860:5:1" + "src": "52303:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2762, + "id": 2254, "name": "Identifier", - "src": "50866:9:1" + "src": "52309:9:0" } ], - "id": 2763, + "id": 2255, "name": "FunctionCall", - "src": "50860:16:1" + "src": "52303:16:0" } ], - "id": 2764, + "id": 2256, "name": "MemberAccess", - "src": "50860:23:1" + "src": "52303:23:0" }, { "attributes": { @@ -67083,20 +67083,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2765, + "id": 2257, "name": "Literal", - "src": "50886:1:1" + "src": "52329:1:0" } ], - "id": 2766, + "id": 2258, "name": "BinaryOperation", - "src": "50860:27:1" + "src": "52303:27:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67133,14 +67133,14 @@ "attributes": { "name": "string" }, - "id": 2767, + "id": 2259, "name": "ElementaryTypeName", - "src": "50910:6:1" + "src": "52354:6:0" } ], - "id": 2768, + "id": 2260, "name": "ElementaryTypeNameExpression", - "src": "50910:6:1" + "src": "52354:6:0" }, { "attributes": { @@ -67186,69 +67186,69 @@ "type": "abi", "value": "abi" }, - "id": 2769, + "id": 2261, "name": "Identifier", - "src": "50917:3:1" + "src": "52361:3:0" } ], - "id": 2770, + "id": 2262, "name": "MemberAccess", - "src": "50917:16:1" + "src": "52361:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2771, + "id": 2263, "name": "Identifier", - "src": "50934:4:1" + "src": "52378:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2772, + "id": 2264, "name": "Identifier", - "src": "50940:9:1" + "src": "52384:9:0" } ], - "id": 2773, + "id": 2265, "name": "FunctionCall", - "src": "50917:33:1" + "src": "52361:33:0" } ], - "id": 2774, + "id": 2266, "name": "FunctionCall", - "src": "50910:41:1" + "src": "52354:41:0" } ], - "id": 2775, + "id": 2267, "name": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ], - "id": 2776, + "id": 2268, "name": "Block", - "src": "50889:73:1" + "src": "52332:75:0" } ], - "id": 2777, + "id": 2269, "name": "IfStatement", - "src": "50856:106:1" + "src": "52299:108:0" }, { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67285,14 +67285,14 @@ "attributes": { "name": "string" }, - "id": 2778, + "id": 2270, "name": "ElementaryTypeName", - "src": "51068:6:1" + "src": "52515:6:0" } ], - "id": 2779, + "id": 2271, "name": "ElementaryTypeNameExpression", - "src": "51068:6:1" + "src": "52515:6:0" }, { "attributes": { @@ -67338,27 +67338,27 @@ "type": "abi", "value": "abi" }, - "id": 2780, + "id": 2272, "name": "Identifier", - "src": "51075:3:1" + "src": "52522:3:0" } ], - "id": 2781, + "id": 2273, "name": "MemberAccess", - "src": "51075:16:1" + "src": "52522:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2782, + "id": 2274, "name": "Identifier", - "src": "51092:4:1" + "src": "52539:4:0" }, { "attributes": { @@ -67388,7 +67388,7 @@ "isPure": false, "lValueRequested": false, "member_name": "toString", - "referencedDeclaration": 2565, + "referencedDeclaration": 2057, "type": "function (uint256) pure returns (string memory)" }, "children": [ @@ -67397,48 +67397,48 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2783, + "id": 2275, "name": "Identifier", - "src": "51098:7:1" + "src": "52545:7:0" } ], - "id": 2784, + "id": 2276, "name": "MemberAccess", - "src": "51098:16:1" + "src": "52545:16:0" } ], - "id": 2785, + "id": 2277, "name": "FunctionCall", - "src": "51098:18:1" + "src": "52545:18:0" } ], - "id": 2786, + "id": 2278, "name": "FunctionCall", - "src": "51075:42:1" + "src": "52522:42:0" } ], - "id": 2787, + "id": 2279, "name": "FunctionCall", - "src": "51068:50:1" + "src": "52515:50:0" } ], - "id": 2788, + "id": 2280, "name": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ], - "id": 2789, + "id": 2281, "name": "Block", - "src": "50437:688:1" + "src": "51869:704:0" } ], - "id": 2790, + "id": 2282, "name": "FunctionDefinition", - "src": "50349:776:1" + "src": "51781:792:0" }, { "attributes": { @@ -67450,7 +67450,7 @@ null ], "name": "baseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67460,9 +67460,9 @@ "attributes": { "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, - "id": 2791, + "id": 2283, "name": "StructuredDocumentation", - "src": "51131:221:1" + "src": "52581:225:0" }, { "attributes": { @@ -67471,9 +67471,9 @@ ] }, "children": [], - "id": 2792, + "id": 2284, "name": "ParameterList", - "src": "51373:2:1" + "src": "52828:2:0" }, { "children": [ @@ -67482,7 +67482,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2799, + "scope": 2291, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -67494,25 +67494,25 @@ "name": "string", "type": "string" }, - "id": 2793, + "id": 2285, "name": "ElementaryTypeName", - "src": "51405:6:1" + "src": "52860:6:0" } ], - "id": 2794, + "id": 2286, "name": "VariableDeclaration", - "src": "51405:13:1" + "src": "52860:13:0" } ], - "id": 2795, + "id": 2287, "name": "ParameterList", - "src": "51404:15:1" + "src": "52859:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2795 + "functionReturnParameters": 2287 }, "children": [ { @@ -67520,33 +67520,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 2796, + "id": 2288, "name": "Identifier", - "src": "51437:8:1" + "src": "52893:8:0" } ], - "id": 2797, + "id": 2289, "name": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ], - "id": 2798, + "id": 2290, "name": "Block", - "src": "51420:32:1" + "src": "52875:34:0" } ], - "id": 2799, + "id": 2291, "name": "FunctionDefinition", - "src": "51357:95:1" + "src": "52812:97:0" }, { "attributes": { "baseFunctions": [ - 700 + 192 ], "functionSelector": "2f745c59", "implemented": true, @@ -67556,7 +67556,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67566,9 +67566,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, - "id": 2800, + "id": 2292, "name": "StructuredDocumentation", - "src": "51458:68:1" + "src": "52917:70:0" }, { "attributes": { @@ -67576,9 +67576,9 @@ null ] }, - "id": 2806, + "id": 2298, "name": "OverrideSpecifier", - "src": "51610:8:1" + "src": "53072:8:0" }, { "children": [ @@ -67587,7 +67587,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -67600,21 +67600,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2801, + "id": 2293, "name": "ElementaryTypeName", - "src": "51560:7:1" + "src": "53022:7:0" } ], - "id": 2802, + "id": 2294, "name": "VariableDeclaration", - "src": "51560:13:1" + "src": "53022:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67626,19 +67626,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2803, + "id": 2295, "name": "ElementaryTypeName", - "src": "51575:7:1" + "src": "53037:7:0" } ], - "id": 2804, + "id": 2296, "name": "VariableDeclaration", - "src": "51575:13:1" + "src": "53037:13:0" } ], - "id": 2805, + "id": 2297, "name": "ParameterList", - "src": "51559:30:1" + "src": "53021:30:0" }, { "children": [ @@ -67647,7 +67647,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67659,25 +67659,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2807, + "id": 2299, "name": "ElementaryTypeName", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2808, + "id": 2300, "name": "VariableDeclaration", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2809, + "id": 2301, "name": "ParameterList", - "src": "51627:9:1" + "src": "53089:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2809 + "functionReturnParameters": 2301 }, "children": [ { @@ -67708,7 +67708,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 1920, + "referencedDeclaration": 1412, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" }, "children": [ @@ -67726,74 +67726,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2810, + "id": 2302, "name": "Identifier", - "src": "51654:13:1" + "src": "53117:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2802, + "referencedDeclaration": 2294, "type": "address", "value": "owner" }, - "id": 2811, + "id": 2303, "name": "Identifier", - "src": "51668:5:1" + "src": "53131:5:0" } ], - "id": 2812, + "id": 2304, "name": "IndexAccess", - "src": "51654:20:1" + "src": "53117:20:0" } ], - "id": 2813, + "id": 2305, "name": "MemberAccess", - "src": "51654:23:1" + "src": "53117:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2804, + "referencedDeclaration": 2296, "type": "uint256", "value": "index" }, - "id": 2814, + "id": 2306, "name": "Identifier", - "src": "51678:5:1" + "src": "53141:5:0" } ], - "id": 2815, + "id": 2307, "name": "FunctionCall", - "src": "51654:30:1" + "src": "53117:30:0" } ], - "id": 2816, + "id": 2308, "name": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ], - "id": 2817, + "id": 2309, "name": "Block", - "src": "51637:54:1" + "src": "53099:56:0" } ], - "id": 2818, + "id": 2310, "name": "FunctionDefinition", - "src": "51531:160:1" + "src": "52993:162:0" }, { "attributes": { "baseFunctions": [ - 690 + 182 ], "functionSelector": "18160ddd", "implemented": true, @@ -67803,7 +67803,7 @@ null ], "name": "totalSupply", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67813,9 +67813,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-totalSupply}." }, - "id": 2819, + "id": 2311, "name": "StructuredDocumentation", - "src": "51697:60:1" + "src": "53163:62:0" }, { "attributes": { @@ -67823,9 +67823,9 @@ null ] }, - "id": 2821, + "id": 2313, "name": "OverrideSpecifier", - "src": "51805:8:1" + "src": "53274:8:0" }, { "attributes": { @@ -67834,9 +67834,9 @@ ] }, "children": [], - "id": 2820, + "id": 2312, "name": "ParameterList", - "src": "51782:2:1" + "src": "53251:2:0" }, { "children": [ @@ -67845,7 +67845,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2830, + "scope": 2322, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67857,25 +67857,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2822, + "id": 2314, "name": "ElementaryTypeName", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2823, + "id": 2315, "name": "VariableDeclaration", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2824, + "id": 2316, "name": "ParameterList", - "src": "51822:9:1" + "src": "53291:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2824 + "functionReturnParameters": 2316 }, "children": [ { @@ -67906,7 +67906,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 2340, + "referencedDeclaration": 1832, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" }, "children": [ @@ -67915,43 +67915,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2825, + "id": 2317, "name": "Identifier", - "src": "51942:12:1" + "src": "53413:12:0" } ], - "id": 2826, + "id": 2318, "name": "MemberAccess", - "src": "51942:19:1" + "src": "53413:19:0" } ], - "id": 2827, + "id": 2319, "name": "FunctionCall", - "src": "51942:21:1" + "src": "53413:21:0" } ], - "id": 2828, + "id": 2320, "name": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ], - "id": 2829, + "id": 2321, "name": "Block", - "src": "51832:138:1" + "src": "53301:141:0" } ], - "id": 2830, + "id": 2322, "name": "FunctionDefinition", - "src": "51762:208:1" + "src": "53231:211:0" }, { "attributes": { "baseFunctions": [ - 708 + 200 ], "functionSelector": "4f6ccce7", "implemented": true, @@ -67961,7 +67961,7 @@ null ], "name": "tokenByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67971,9 +67971,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, - "id": 2831, + "id": 2323, "name": "StructuredDocumentation", - "src": "51976:61:1" + "src": "53450:63:0" }, { "attributes": { @@ -67981,9 +67981,9 @@ null ] }, - "id": 2835, + "id": 2327, "name": "OverrideSpecifier", - "src": "52099:8:1" + "src": "53576:8:0" }, { "children": [ @@ -67992,7 +67992,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68004,19 +68004,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2832, + "id": 2324, "name": "ElementaryTypeName", - "src": "52064:7:1" + "src": "53541:7:0" } ], - "id": 2833, + "id": 2325, "name": "VariableDeclaration", - "src": "52064:13:1" + "src": "53541:13:0" } ], - "id": 2834, + "id": 2326, "name": "ParameterList", - "src": "52063:15:1" + "src": "53540:15:0" }, { "children": [ @@ -68025,7 +68025,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68037,26 +68037,26 @@ "name": "uint256", "type": "uint256" }, - "id": 2836, + "id": 2328, "name": "ElementaryTypeName", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2837, + "id": 2329, "name": "VariableDeclaration", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2838, + "id": 2330, "name": "ParameterList", - "src": "52116:9:1" + "src": "53593:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2840, + 2332, null ] }, @@ -68066,7 +68066,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2848, + "scope": 2340, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68078,14 +68078,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2839, + "id": 2331, "name": "ElementaryTypeName", - "src": "52137:7:1" + "src": "53615:7:0" } ], - "id": 2840, + "id": 2332, "name": "VariableDeclaration", - "src": "52137:15:1" + "src": "53615:15:0" }, { "attributes": { @@ -68115,7 +68115,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 2379, + "referencedDeclaration": 1871, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" }, "children": [ @@ -68124,45 +68124,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2841, + "id": 2333, "name": "Identifier", - "src": "52158:12:1" + "src": "53636:12:0" } ], - "id": 2842, + "id": 2334, "name": "MemberAccess", - "src": "52158:15:1" + "src": "53636:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2833, + "referencedDeclaration": 2325, "type": "uint256", "value": "index" }, - "id": 2843, + "id": 2335, "name": "Identifier", - "src": "52174:5:1" + "src": "53652:5:0" } ], - "id": 2844, + "id": 2336, "name": "FunctionCall", - "src": "52158:22:1" + "src": "53636:22:0" } ], - "id": 2845, + "id": 2337, "name": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "attributes": { - "functionReturnParameters": 2838 + "functionReturnParameters": 2330 }, "children": [ { @@ -68170,33 +68170,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2840, + "referencedDeclaration": 2332, "type": "uint256", "value": "tokenId" }, - "id": 2846, + "id": 2338, "name": "Identifier", - "src": "52197:7:1" + "src": "53676:7:0" } ], - "id": 2847, + "id": 2339, "name": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ], - "id": 2848, + "id": 2340, "name": "Block", - "src": "52126:85:1" + "src": "53603:88:0" } ], - "id": 2849, + "id": 2341, "name": "FunctionDefinition", - "src": "52042:169:1" + "src": "53519:172:0" }, { "attributes": { "baseFunctions": [ - 616 + 108 ], "functionSelector": "095ea7b3", "implemented": true, @@ -68206,7 +68206,7 @@ null ], "name": "approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -68216,9 +68216,9 @@ "attributes": { "text": " @dev See {IERC721-approve}." }, - "id": 2850, + "id": 2342, "name": "StructuredDocumentation", - "src": "52217:46:1" + "src": "53699:48:0" }, { "attributes": { @@ -68226,9 +68226,9 @@ null ] }, - "id": 2856, + "id": 2348, "name": "OverrideSpecifier", - "src": "52329:8:1" + "src": "53814:8:0" }, { "children": [ @@ -68237,7 +68237,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68250,21 +68250,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2851, + "id": 2343, "name": "ElementaryTypeName", - "src": "52285:7:1" + "src": "53770:7:0" } ], - "id": 2852, + "id": 2344, "name": "VariableDeclaration", - "src": "52285:10:1" + "src": "53770:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68276,19 +68276,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2853, + "id": 2345, "name": "ElementaryTypeName", - "src": "52297:7:1" + "src": "53782:7:0" } ], - "id": 2854, + "id": 2346, "name": "VariableDeclaration", - "src": "52297:15:1" + "src": "53782:15:0" } ], - "id": 2855, + "id": 2347, "name": "ParameterList", - "src": "52284:29:1" + "src": "53769:29:0" }, { "attributes": { @@ -68297,16 +68297,16 @@ ] }, "children": [], - "id": 2857, + "id": 2349, "name": "ParameterList", - "src": "52338:0:1" + "src": "53823:0:0" }, { "children": [ { "attributes": { "assignments": [ - 2859 + 2351 ] }, "children": [ @@ -68315,7 +68315,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2892, + "scope": 2384, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68328,14 +68328,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2858, + "id": 2350, "name": "ElementaryTypeName", - "src": "52348:7:1" + "src": "53834:7:0" } ], - "id": 2859, + "id": 2351, "name": "VariableDeclaration", - "src": "52348:13:1" + "src": "53834:13:0" }, { "attributes": { @@ -68365,7 +68365,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -68374,41 +68374,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2860, + "id": 2352, "name": "Identifier", - "src": "52364:6:1" + "src": "53850:6:0" } ], - "id": 2861, + "id": 2353, "name": "MemberAccess", - "src": "52364:14:1" + "src": "53850:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2862, + "id": 2354, "name": "Identifier", - "src": "52379:7:1" + "src": "53865:7:0" } ], - "id": 2863, + "id": 2355, "name": "FunctionCall", - "src": "52364:23:1" + "src": "53850:23:0" } ], - "id": 2864, + "id": 2356, "name": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "children": [ @@ -68447,9 +68447,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2865, + "id": 2357, "name": "Identifier", - "src": "52397:7:1" + "src": "53884:7:0" }, { "attributes": { @@ -68470,31 +68470,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2866, + "id": 2358, "name": "Identifier", - "src": "52405:2:1" + "src": "53892:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2867, + "id": 2359, "name": "Identifier", - "src": "52411:5:1" + "src": "53898:5:0" } ], - "id": 2868, + "id": 2360, "name": "BinaryOperation", - "src": "52405:11:1" + "src": "53892:11:0" }, { "attributes": { @@ -68507,19 +68507,19 @@ "type": "literal_string \"ERC721: approval to current owner\"", "value": "ERC721: approval to current owner" }, - "id": 2869, + "id": 2361, "name": "Literal", - "src": "52418:35:1" + "src": "53905:35:0" } ], - "id": 2870, + "id": 2362, "name": "FunctionCall", - "src": "52397:57:1" + "src": "53884:57:0" } ], - "id": 2871, + "id": 2363, "name": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "children": [ @@ -68558,9 +68558,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2872, + "id": 2364, "name": "Identifier", - "src": "52465:7:1" + "src": "53954:7:0" }, { "attributes": { @@ -68616,36 +68616,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2873, + "id": 2365, "name": "Identifier", - "src": "52473:10:1" + "src": "53962:10:0" } ], - "id": 2874, + "id": 2366, "name": "FunctionCall", - "src": "52473:12:1" + "src": "53962:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2875, + "id": 2367, "name": "Identifier", - "src": "52489:5:1" + "src": "53978:5:0" } ], - "id": 2876, + "id": 2368, "name": "BinaryOperation", - "src": "52473:21:1" + "src": "53962:21:0" }, { "attributes": { @@ -68679,7 +68679,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -68688,31 +68688,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2877, + "id": 2369, "name": "Identifier", - "src": "52498:6:1" + "src": "53987:6:0" } ], - "id": 2878, + "id": 2370, "name": "MemberAccess", - "src": "52498:23:1" + "src": "53987:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2879, + "id": 2371, "name": "Identifier", - "src": "52522:5:1" + "src": "54011:5:0" }, { "attributes": { @@ -68740,28 +68740,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2880, + "id": 2372, "name": "Identifier", - "src": "52529:10:1" + "src": "54018:10:0" } ], - "id": 2881, + "id": 2373, "name": "FunctionCall", - "src": "52529:12:1" + "src": "54018:12:0" } ], - "id": 2882, + "id": 2374, "name": "FunctionCall", - "src": "52498:44:1" + "src": "53987:44:0" } ], - "id": 2883, + "id": 2375, "name": "BinaryOperation", - "src": "52473:69:1" + "src": "53962:69:0" }, { "attributes": { @@ -68774,19 +68774,19 @@ "type": "literal_string \"ERC721: approve caller is not owner nor approved for all\"", "value": "ERC721: approve caller is not owner nor approved for all" }, - "id": 2884, + "id": 2376, "name": "Literal", - "src": "52556:58:1" + "src": "54046:58:0" } ], - "id": 2885, + "id": 2377, "name": "FunctionCall", - "src": "52465:159:1" + "src": "53954:161:0" } ], - "id": 2886, + "id": 2378, "name": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "children": [ @@ -68820,64 +68820,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 2887, + "id": 2379, "name": "Identifier", - "src": "52635:8:1" + "src": "54128:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2888, + "id": 2380, "name": "Identifier", - "src": "52644:2:1" + "src": "54137:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2889, + "id": 2381, "name": "Identifier", - "src": "52648:7:1" + "src": "54141:7:0" } ], - "id": 2890, + "id": 2382, "name": "FunctionCall", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2891, + "id": 2383, "name": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2892, + "id": 2384, "name": "Block", - "src": "52338:325:1" + "src": "53823:334:0" } ], - "id": 2893, + "id": 2385, "name": "FunctionDefinition", - "src": "52268:395:1" + "src": "53753:404:0" }, { "attributes": { "baseFunctions": [ - 624 + 116 ], "functionSelector": "081812fc", "implemented": true, @@ -68887,7 +68887,7 @@ null ], "name": "getApproved", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -68897,9 +68897,9 @@ "attributes": { "text": " @dev See {IERC721-getApproved}." }, - "id": 2894, + "id": 2386, "name": "StructuredDocumentation", - "src": "52669:50:1" + "src": "54165:52:0" }, { "attributes": { @@ -68907,9 +68907,9 @@ null ] }, - "id": 2898, + "id": 2390, "name": "OverrideSpecifier", - "src": "52782:8:1" + "src": "54281:8:0" }, { "children": [ @@ -68918,7 +68918,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68930,19 +68930,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2895, + "id": 2387, "name": "ElementaryTypeName", - "src": "52745:7:1" + "src": "54244:7:0" } ], - "id": 2896, + "id": 2388, "name": "VariableDeclaration", - "src": "52745:15:1" + "src": "54244:15:0" } ], - "id": 2897, + "id": 2389, "name": "ParameterList", - "src": "52744:17:1" + "src": "54243:17:0" }, { "children": [ @@ -68951,7 +68951,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68964,19 +68964,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2899, + "id": 2391, "name": "ElementaryTypeName", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2900, + "id": 2392, "name": "VariableDeclaration", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2901, + "id": 2393, "name": "ParameterList", - "src": "52799:9:1" + "src": "54298:9:0" }, { "children": [ @@ -69017,9 +69017,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2902, + "id": 2394, "name": "Identifier", - "src": "52819:7:1" + "src": "54319:7:0" }, { "attributes": { @@ -69047,31 +69047,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2903, + "id": 2395, "name": "Identifier", - "src": "52827:7:1" + "src": "54327:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2904, + "id": 2396, "name": "Identifier", - "src": "52835:7:1" + "src": "54335:7:0" } ], - "id": 2905, + "id": 2397, "name": "FunctionCall", - "src": "52827:16:1" + "src": "54327:16:0" }, { "attributes": { @@ -69084,23 +69084,23 @@ "type": "literal_string \"ERC721: approved query for nonexistent token\"", "value": "ERC721: approved query for nonexistent token" }, - "id": 2906, + "id": 2398, "name": "Literal", - "src": "52845:46:1" + "src": "54345:46:0" } ], - "id": 2907, + "id": 2399, "name": "FunctionCall", - "src": "52819:73:1" + "src": "54319:73:0" } ], - "id": 2908, + "id": 2400, "name": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "attributes": { - "functionReturnParameters": 2901 + "functionReturnParameters": 2393 }, "children": [ { @@ -69117,51 +69117,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 2909, + "id": 2401, "name": "Identifier", - "src": "52910:15:1" + "src": "54412:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2910, + "id": 2402, "name": "Identifier", - "src": "52926:7:1" + "src": "54428:7:0" } ], - "id": 2911, + "id": 2403, "name": "IndexAccess", - "src": "52910:24:1" + "src": "54412:24:0" } ], - "id": 2912, + "id": 2404, "name": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ], - "id": 2913, + "id": 2405, "name": "Block", - "src": "52809:132:1" + "src": "54308:136:0" } ], - "id": 2914, + "id": 2406, "name": "FunctionDefinition", - "src": "52724:217:1" + "src": "54223:221:0" }, { "attributes": { "baseFunctions": [ - 632 + 124 ], "functionSelector": "a22cb465", "implemented": true, @@ -69171,7 +69171,7 @@ null ], "name": "setApprovalForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69181,9 +69181,9 @@ "attributes": { "text": " @dev See {IERC721-setApprovalForAll}." }, - "id": 2915, + "id": 2407, "name": "StructuredDocumentation", - "src": "52947:56:1" + "src": "54452:58:0" }, { "attributes": { @@ -69191,9 +69191,9 @@ null ] }, - "id": 2921, + "id": 2413, "name": "OverrideSpecifier", - "src": "53083:8:1" + "src": "54591:8:0" }, { "children": [ @@ -69202,7 +69202,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69215,21 +69215,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2916, + "id": 2408, "name": "ElementaryTypeName", - "src": "53035:7:1" + "src": "54543:7:0" } ], - "id": 2917, + "id": 2409, "name": "VariableDeclaration", - "src": "53035:16:1" + "src": "54543:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "approved", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69241,19 +69241,19 @@ "name": "bool", "type": "bool" }, - "id": 2918, + "id": 2410, "name": "ElementaryTypeName", - "src": "53053:4:1" + "src": "54561:4:0" } ], - "id": 2919, + "id": 2411, "name": "VariableDeclaration", - "src": "53053:13:1" + "src": "54561:13:0" } ], - "id": 2920, + "id": 2412, "name": "ParameterList", - "src": "53034:33:1" + "src": "54542:33:0" }, { "attributes": { @@ -69262,9 +69262,9 @@ ] }, "children": [], - "id": 2922, + "id": 2414, "name": "ParameterList", - "src": "53092:0:1" + "src": "54600:0:0" }, { "children": [ @@ -69305,9 +69305,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2923, + "id": 2415, "name": "Identifier", - "src": "53102:7:1" + "src": "54611:7:0" }, { "attributes": { @@ -69328,13 +69328,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2924, + "id": 2416, "name": "Identifier", - "src": "53110:8:1" + "src": "54619:8:0" }, { "attributes": { @@ -69362,23 +69362,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2925, + "id": 2417, "name": "Identifier", - "src": "53122:10:1" + "src": "54631:10:0" } ], - "id": 2926, + "id": 2418, "name": "FunctionCall", - "src": "53122:12:1" + "src": "54631:12:0" } ], - "id": 2927, + "id": 2419, "name": "BinaryOperation", - "src": "53110:24:1" + "src": "54619:24:0" }, { "attributes": { @@ -69391,19 +69391,19 @@ "type": "literal_string \"ERC721: approve to caller\"", "value": "ERC721: approve to caller" }, - "id": 2928, + "id": 2420, "name": "Literal", - "src": "53136:27:1" + "src": "54645:27:0" } ], - "id": 2929, + "id": 2421, "name": "FunctionCall", - "src": "53102:62:1" + "src": "54611:62:0" } ], - "id": 2930, + "id": 2422, "name": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "children": [ @@ -69440,13 +69440,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2931, + "id": 2423, "name": "Identifier", - "src": "53175:18:1" + "src": "54686:18:0" }, { "attributes": { @@ -69474,64 +69474,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2932, + "id": 2424, "name": "Identifier", - "src": "53194:10:1" + "src": "54705:10:0" } ], - "id": 2933, + "id": 2425, "name": "FunctionCall", - "src": "53194:12:1" + "src": "54705:12:0" } ], - "id": 2935, + "id": 2427, "name": "IndexAccess", - "src": "53175:32:1" + "src": "54686:32:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2934, + "id": 2426, "name": "Identifier", - "src": "53208:8:1" + "src": "54719:8:0" } ], - "id": 2936, + "id": 2428, "name": "IndexAccess", - "src": "53175:42:1" + "src": "54686:42:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2937, + "id": 2429, "name": "Identifier", - "src": "53220:8:1" + "src": "54731:8:0" } ], - "id": 2938, + "id": 2430, "name": "Assignment", - "src": "53175:53:1" + "src": "54686:53:0" } ], - "id": 2939, + "id": 2431, "name": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "children": [ @@ -69569,13 +69569,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 572, + "referencedDeclaration": 64, "type": "function (address,address,bool)", "value": "ApprovalForAll" }, - "id": 2940, + "id": 2432, "name": "Identifier", - "src": "53243:14:1" + "src": "54755:14:0" }, { "attributes": { @@ -69603,69 +69603,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2941, + "id": 2433, "name": "Identifier", - "src": "53258:10:1" + "src": "54770:10:0" } ], - "id": 2942, + "id": 2434, "name": "FunctionCall", - "src": "53258:12:1" + "src": "54770:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2943, + "id": 2435, "name": "Identifier", - "src": "53272:8:1" + "src": "54784:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2944, + "id": 2436, "name": "Identifier", - "src": "53282:8:1" + "src": "54794:8:0" } ], - "id": 2945, + "id": 2437, "name": "FunctionCall", - "src": "53243:48:1" + "src": "54755:48:0" } ], - "id": 2946, + "id": 2438, "name": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ], - "id": 2947, + "id": 2439, "name": "Block", - "src": "53092:206:1" + "src": "54600:211:0" } ], - "id": 2948, + "id": 2440, "name": "FunctionDefinition", - "src": "53008:290:1" + "src": "54516:295:0" }, { "attributes": { "baseFunctions": [ - 642 + 134 ], "functionSelector": "e985e9c5", "implemented": true, @@ -69675,7 +69675,7 @@ null ], "name": "isApprovedForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -69685,9 +69685,9 @@ "attributes": { "text": " @dev See {IERC721-isApprovedForAll}." }, - "id": 2949, + "id": 2441, "name": "StructuredDocumentation", - "src": "53304:55:1" + "src": "54819:57:0" }, { "attributes": { @@ -69695,9 +69695,9 @@ null ] }, - "id": 2955, + "id": 2447, "name": "OverrideSpecifier", - "src": "53443:8:1" + "src": "54961:8:0" }, { "children": [ @@ -69706,7 +69706,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69719,21 +69719,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2950, + "id": 2442, "name": "ElementaryTypeName", - "src": "53390:7:1" + "src": "54908:7:0" } ], - "id": 2951, + "id": 2443, "name": "VariableDeclaration", - "src": "53390:13:1" + "src": "54908:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69746,19 +69746,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2952, + "id": 2444, "name": "ElementaryTypeName", - "src": "53405:7:1" + "src": "54923:7:0" } ], - "id": 2953, + "id": 2445, "name": "VariableDeclaration", - "src": "53405:16:1" + "src": "54923:16:0" } ], - "id": 2954, + "id": 2446, "name": "ParameterList", - "src": "53389:33:1" + "src": "54907:33:0" }, { "children": [ @@ -69767,7 +69767,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69779,25 +69779,25 @@ "name": "bool", "type": "bool" }, - "id": 2956, + "id": 2448, "name": "ElementaryTypeName", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2957, + "id": 2449, "name": "VariableDeclaration", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2958, + "id": 2450, "name": "ParameterList", - "src": "53460:6:1" + "src": "54978:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2958 + "functionReturnParameters": 2450 }, "children": [ { @@ -69823,69 +69823,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2959, + "id": 2451, "name": "Identifier", - "src": "53484:18:1" + "src": "55003:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2951, + "referencedDeclaration": 2443, "type": "address", "value": "owner" }, - "id": 2960, + "id": 2452, "name": "Identifier", - "src": "53503:5:1" + "src": "55022:5:0" } ], - "id": 2961, + "id": 2453, "name": "IndexAccess", - "src": "53484:25:1" + "src": "55003:25:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2953, + "referencedDeclaration": 2445, "type": "address", "value": "operator" }, - "id": 2962, + "id": 2454, "name": "Identifier", - "src": "53510:8:1" + "src": "55029:8:0" } ], - "id": 2963, + "id": 2455, "name": "IndexAccess", - "src": "53484:35:1" + "src": "55003:35:0" } ], - "id": 2964, + "id": 2456, "name": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ], - "id": 2965, + "id": 2457, "name": "Block", - "src": "53467:59:1" + "src": "54985:61:0" } ], - "id": 2966, + "id": 2458, "name": "FunctionDefinition", - "src": "53364:162:1" + "src": "54882:164:0" }, { "attributes": { "baseFunctions": [ - 608 + 100 ], "functionSelector": "23b872dd", "implemented": true, @@ -69895,7 +69895,7 @@ null ], "name": "transferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69905,9 +69905,9 @@ "attributes": { "text": " @dev See {IERC721-transferFrom}." }, - "id": 2967, + "id": 2459, "name": "StructuredDocumentation", - "src": "53532:51:1" + "src": "55054:53:0" }, { "attributes": { @@ -69915,9 +69915,9 @@ null ] }, - "id": 2975, + "id": 2467, "name": "OverrideSpecifier", - "src": "53668:8:1" + "src": "55193:8:0" }, { "children": [ @@ -69926,7 +69926,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69939,21 +69939,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2968, + "id": 2460, "name": "ElementaryTypeName", - "src": "53610:7:1" + "src": "55135:7:0" } ], - "id": 2969, + "id": 2461, "name": "VariableDeclaration", - "src": "53610:12:1" + "src": "55135:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69966,21 +69966,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2970, + "id": 2462, "name": "ElementaryTypeName", - "src": "53624:7:1" + "src": "55149:7:0" } ], - "id": 2971, + "id": 2463, "name": "VariableDeclaration", - "src": "53624:10:1" + "src": "55149:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -69992,19 +69992,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2972, + "id": 2464, "name": "ElementaryTypeName", - "src": "53636:7:1" + "src": "55161:7:0" } ], - "id": 2973, + "id": 2465, "name": "VariableDeclaration", - "src": "53636:15:1" + "src": "55161:15:0" } ], - "id": 2974, + "id": 2466, "name": "ParameterList", - "src": "53609:43:1" + "src": "55134:43:0" }, { "attributes": { @@ -70013,9 +70013,9 @@ ] }, "children": [], - "id": 2976, + "id": 2468, "name": "ParameterList", - "src": "53677:0:1" + "src": "55202:0:0" }, { "children": [ @@ -70056,9 +70056,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2977, + "id": 2469, "name": "Identifier", - "src": "53739:7:1" + "src": "55266:7:0" }, { "attributes": { @@ -70090,13 +70090,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 2978, + "id": 2470, "name": "Identifier", - "src": "53747:18:1" + "src": "55274:18:0" }, { "attributes": { @@ -70124,36 +70124,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2979, + "id": 2471, "name": "Identifier", - "src": "53766:10:1" + "src": "55293:10:0" } ], - "id": 2980, + "id": 2472, "name": "FunctionCall", - "src": "53766:12:1" + "src": "55293:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2981, + "id": 2473, "name": "Identifier", - "src": "53780:7:1" + "src": "55307:7:0" } ], - "id": 2982, + "id": 2474, "name": "FunctionCall", - "src": "53747:41:1" + "src": "55274:41:0" }, { "attributes": { @@ -70166,19 +70166,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 2983, + "id": 2475, "name": "Literal", - "src": "53790:51:1" + "src": "55317:51:0" } ], - "id": 2984, + "id": 2476, "name": "FunctionCall", - "src": "53739:103:1" + "src": "55266:103:0" } ], - "id": 2985, + "id": 2477, "name": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "children": [ @@ -70216,77 +70216,77 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 2986, + "id": 2478, "name": "Identifier", - "src": "53853:9:1" + "src": "55382:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2969, + "referencedDeclaration": 2461, "type": "address", "value": "from" }, - "id": 2987, + "id": 2479, "name": "Identifier", - "src": "53863:4:1" + "src": "55392:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2971, + "referencedDeclaration": 2463, "type": "address", "value": "to" }, - "id": 2988, + "id": 2480, "name": "Identifier", - "src": "53869:2:1" + "src": "55398:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2989, + "id": 2481, "name": "Identifier", - "src": "53873:7:1" + "src": "55402:7:0" } ], - "id": 2990, + "id": 2482, "name": "FunctionCall", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2991, + "id": 2483, "name": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2992, + "id": 2484, "name": "Block", - "src": "53677:211:1" + "src": "55202:216:0" } ], - "id": 2993, + "id": 2485, "name": "FunctionDefinition", - "src": "53588:300:1" + "src": "55113:305:0" }, { "attributes": { "baseFunctions": [ - 598 + 90 ], "functionSelector": "42842e0e", "implemented": true, @@ -70296,7 +70296,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70306,9 +70306,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 2994, + "id": 2486, "name": "StructuredDocumentation", - "src": "53894:55:1" + "src": "55426:57:0" }, { "attributes": { @@ -70316,9 +70316,9 @@ null ] }, - "id": 3002, + "id": 2494, "name": "OverrideSpecifier", - "src": "54038:8:1" + "src": "55573:8:0" }, { "children": [ @@ -70327,7 +70327,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70340,21 +70340,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2995, + "id": 2487, "name": "ElementaryTypeName", - "src": "53980:7:1" + "src": "55515:7:0" } ], - "id": 2996, + "id": 2488, "name": "VariableDeclaration", - "src": "53980:12:1" + "src": "55515:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70367,21 +70367,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2997, + "id": 2489, "name": "ElementaryTypeName", - "src": "53994:7:1" + "src": "55529:7:0" } ], - "id": 2998, + "id": 2490, "name": "VariableDeclaration", - "src": "53994:10:1" + "src": "55529:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70393,19 +70393,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2999, + "id": 2491, "name": "ElementaryTypeName", - "src": "54006:7:1" + "src": "55541:7:0" } ], - "id": 3000, + "id": 2492, "name": "VariableDeclaration", - "src": "54006:15:1" + "src": "55541:15:0" } ], - "id": 3001, + "id": 2493, "name": "ParameterList", - "src": "53979:43:1" + "src": "55514:43:0" }, { "attributes": { @@ -70414,9 +70414,9 @@ ] }, "children": [], - "id": 3003, + "id": 2495, "name": "ParameterList", - "src": "54047:0:1" + "src": "55582:0:0" }, { "children": [ @@ -70458,55 +70458,55 @@ } ], "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, + "referencedDeclaration": 2534, "type": "function (address,address,uint256,bytes memory)", "value": "safeTransferFrom" }, - "id": 3004, + "id": 2496, "name": "Identifier", - "src": "54057:16:1" + "src": "55593:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2996, + "referencedDeclaration": 2488, "type": "address", "value": "from" }, - "id": 3005, + "id": 2497, "name": "Identifier", - "src": "54074:4:1" + "src": "55610:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2998, + "referencedDeclaration": 2490, "type": "address", "value": "to" }, - "id": 3006, + "id": 2498, "name": "Identifier", - "src": "54080:2:1" + "src": "55616:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3000, + "referencedDeclaration": 2492, "type": "uint256", "value": "tokenId" }, - "id": 3007, + "id": 2499, "name": "Identifier", - "src": "54084:7:1" + "src": "55620:7:0" }, { "attributes": { @@ -70519,34 +70519,34 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3008, + "id": 2500, "name": "Literal", - "src": "54093:2:1" + "src": "55629:2:0" } ], - "id": 3009, + "id": 2501, "name": "FunctionCall", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3010, + "id": 2502, "name": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3011, + "id": 2503, "name": "Block", - "src": "54047:56:1" + "src": "55582:58:0" } ], - "id": 3012, + "id": 2504, "name": "FunctionDefinition", - "src": "53954:149:1" + "src": "55489:151:0" }, { "attributes": { "baseFunctions": [ - 654 + 146 ], "functionSelector": "b88d4fde", "implemented": true, @@ -70556,7 +70556,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70566,9 +70566,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 3013, + "id": 2505, "name": "StructuredDocumentation", - "src": "54109:55:1" + "src": "55648:57:0" }, { "attributes": { @@ -70576,9 +70576,9 @@ null ] }, - "id": 3023, + "id": 2515, "name": "OverrideSpecifier", - "src": "54273:8:1" + "src": "55815:8:0" }, { "children": [ @@ -70587,7 +70587,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70600,21 +70600,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3014, + "id": 2506, "name": "ElementaryTypeName", - "src": "54195:7:1" + "src": "55737:7:0" } ], - "id": 3015, + "id": 2507, "name": "VariableDeclaration", - "src": "54195:12:1" + "src": "55737:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70627,21 +70627,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3016, + "id": 2508, "name": "ElementaryTypeName", - "src": "54209:7:1" + "src": "55751:7:0" } ], - "id": 3017, + "id": 2509, "name": "VariableDeclaration", - "src": "54209:10:1" + "src": "55751:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70653,21 +70653,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3018, + "id": 2510, "name": "ElementaryTypeName", - "src": "54221:7:1" + "src": "55763:7:0" } ], - "id": 3019, + "id": 2511, "name": "VariableDeclaration", - "src": "54221:15:1" + "src": "55763:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -70679,19 +70679,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3020, + "id": 2512, "name": "ElementaryTypeName", - "src": "54238:5:1" + "src": "55780:5:0" } ], - "id": 3021, + "id": 2513, "name": "VariableDeclaration", - "src": "54238:18:1" + "src": "55780:18:0" } ], - "id": 3022, + "id": 2514, "name": "ParameterList", - "src": "54194:63:1" + "src": "55736:63:0" }, { "attributes": { @@ -70700,9 +70700,9 @@ ] }, "children": [], - "id": 3024, + "id": 2516, "name": "ParameterList", - "src": "54282:0:1" + "src": "55824:0:0" }, { "children": [ @@ -70743,9 +70743,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3025, + "id": 2517, "name": "Identifier", - "src": "54292:7:1" + "src": "55835:7:0" }, { "attributes": { @@ -70777,13 +70777,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 3026, + "id": 2518, "name": "Identifier", - "src": "54300:18:1" + "src": "55843:18:0" }, { "attributes": { @@ -70811,36 +70811,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3027, + "id": 2519, "name": "Identifier", - "src": "54319:10:1" + "src": "55862:10:0" } ], - "id": 3028, + "id": 2520, "name": "FunctionCall", - "src": "54319:12:1" + "src": "55862:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3029, + "id": 2521, "name": "Identifier", - "src": "54333:7:1" + "src": "55876:7:0" } ], - "id": 3030, + "id": 2522, "name": "FunctionCall", - "src": "54300:41:1" + "src": "55843:41:0" }, { "attributes": { @@ -70853,19 +70853,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 3031, + "id": 2523, "name": "Literal", - "src": "54343:51:1" + "src": "55886:51:0" } ], - "id": 3032, + "id": 2524, "name": "FunctionCall", - "src": "54292:103:1" + "src": "55835:103:0" } ], - "id": 3033, + "id": 2525, "name": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "children": [ @@ -70907,85 +70907,85 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3071, + "referencedDeclaration": 2563, "type": "function (address,address,uint256,bytes memory)", "value": "_safeTransfer" }, - "id": 3034, + "id": 2526, "name": "Identifier", - "src": "54405:13:1" + "src": "55949:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3015, + "referencedDeclaration": 2507, "type": "address", "value": "from" }, - "id": 3035, + "id": 2527, "name": "Identifier", - "src": "54419:4:1" + "src": "55963:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3017, + "referencedDeclaration": 2509, "type": "address", "value": "to" }, - "id": 3036, + "id": 2528, "name": "Identifier", - "src": "54425:2:1" + "src": "55969:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3037, + "id": 2529, "name": "Identifier", - "src": "54429:7:1" + "src": "55973:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3021, + "referencedDeclaration": 2513, "type": "bytes memory", "value": "_data" }, - "id": 3038, + "id": 2530, "name": "Identifier", - "src": "54438:5:1" + "src": "55982:5:0" } ], - "id": 3039, + "id": 2531, "name": "FunctionCall", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3040, + "id": 2532, "name": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3041, + "id": 2533, "name": "Block", - "src": "54282:169:1" + "src": "55824:172:0" } ], - "id": 3042, + "id": 2534, "name": "FunctionDefinition", - "src": "54169:282:1" + "src": "55711:285:0" }, { "attributes": { @@ -70996,7 +70996,7 @@ null ], "name": "_safeTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -71006,9 +71006,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3043, + "id": 2535, "name": "StructuredDocumentation", - "src": "54457:851:1" + "src": "56004:868:0" }, { "children": [ @@ -71017,7 +71017,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71030,21 +71030,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3044, + "id": 2536, "name": "ElementaryTypeName", - "src": "55336:7:1" + "src": "56901:7:0" } ], - "id": 3045, + "id": 2537, "name": "VariableDeclaration", - "src": "55336:12:1" + "src": "56901:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71057,21 +71057,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3046, + "id": 2538, "name": "ElementaryTypeName", - "src": "55350:7:1" + "src": "56915:7:0" } ], - "id": 3047, + "id": 2539, "name": "VariableDeclaration", - "src": "55350:10:1" + "src": "56915:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71083,21 +71083,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3048, + "id": 2540, "name": "ElementaryTypeName", - "src": "55362:7:1" + "src": "56927:7:0" } ], - "id": 3049, + "id": 2541, "name": "VariableDeclaration", - "src": "55362:15:1" + "src": "56927:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -71109,19 +71109,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3050, + "id": 2542, "name": "ElementaryTypeName", - "src": "55379:5:1" + "src": "56944:5:0" } ], - "id": 3051, + "id": 2543, "name": "VariableDeclaration", - "src": "55379:18:1" + "src": "56944:18:0" } ], - "id": 3052, + "id": 2544, "name": "ParameterList", - "src": "55335:63:1" + "src": "56900:63:0" }, { "attributes": { @@ -71130,9 +71130,9 @@ ] }, "children": [], - "id": 3053, + "id": 2545, "name": "ParameterList", - "src": "55416:0:1" + "src": "56981:0:0" }, { "children": [ @@ -71172,62 +71172,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 3054, + "id": 2546, "name": "Identifier", - "src": "55426:9:1" + "src": "56992:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3055, + "id": 2547, "name": "Identifier", - "src": "55436:4:1" + "src": "57002:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3056, + "id": 2548, "name": "Identifier", - "src": "55442:2:1" + "src": "57008:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3057, + "id": 2549, "name": "Identifier", - "src": "55446:7:1" + "src": "57012:7:0" } ], - "id": 3058, + "id": 2550, "name": "FunctionCall", - "src": "55426:28:1" + "src": "56992:28:0" } ], - "id": 3059, + "id": 2551, "name": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "children": [ @@ -71266,9 +71266,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3060, + "id": 2552, "name": "Identifier", - "src": "55464:7:1" + "src": "57031:7:0" }, { "attributes": { @@ -71308,70 +71308,70 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3061, + "id": 2553, "name": "Identifier", - "src": "55472:22:1" + "src": "57039:22:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3062, + "id": 2554, "name": "Identifier", - "src": "55495:4:1" + "src": "57062:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3063, + "id": 2555, "name": "Identifier", - "src": "55501:2:1" + "src": "57068:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3064, + "id": 2556, "name": "Identifier", - "src": "55505:7:1" + "src": "57072:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3051, + "referencedDeclaration": 2543, "type": "bytes memory", "value": "_data" }, - "id": 3065, + "id": 2557, "name": "Identifier", - "src": "55514:5:1" + "src": "57081:5:0" } ], - "id": 3066, + "id": 2558, "name": "FunctionCall", - "src": "55472:48:1" + "src": "57039:48:0" }, { "attributes": { @@ -71384,29 +71384,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3067, + "id": 2559, "name": "Literal", - "src": "55522:52:1" + "src": "57089:52:0" } ], - "id": 3068, + "id": 2560, "name": "FunctionCall", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3069, + "id": 2561, "name": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3070, + "id": 2562, "name": "Block", - "src": "55416:166:1" + "src": "56981:169:0" } ], - "id": 3071, + "id": 2563, "name": "FunctionDefinition", - "src": "55313:269:1" + "src": "56878:272:0" }, { "attributes": { @@ -71417,7 +71417,7 @@ null ], "name": "_exists", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71427,9 +71427,9 @@ "attributes": { "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3072, + "id": 2564, "name": "StructuredDocumentation", - "src": "55588:292:1" + "src": "57158:299:0" }, { "children": [ @@ -71438,7 +71438,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71450,19 +71450,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3073, + "id": 2565, "name": "ElementaryTypeName", - "src": "55902:7:1" + "src": "57480:7:0" } ], - "id": 3074, + "id": 2566, "name": "VariableDeclaration", - "src": "55902:15:1" + "src": "57480:15:0" } ], - "id": 3075, + "id": 2567, "name": "ParameterList", - "src": "55901:17:1" + "src": "57479:17:0" }, { "children": [ @@ -71471,7 +71471,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71483,25 +71483,25 @@ "name": "bool", "type": "bool" }, - "id": 3076, + "id": 2568, "name": "ElementaryTypeName", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3077, + "id": 2569, "name": "VariableDeclaration", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3078, + "id": 2570, "name": "ParameterList", - "src": "55949:6:1" + "src": "57527:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3078 + "functionReturnParameters": 2570 }, "children": [ { @@ -71532,7 +71532,7 @@ "isPure": false, "lValueRequested": false, "member_name": "contains", - "referencedDeclaration": 2326, + "referencedDeclaration": 1818, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" }, "children": [ @@ -71541,51 +71541,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3079, + "id": 2571, "name": "Identifier", - "src": "55973:12:1" + "src": "57552:12:0" } ], - "id": 3080, + "id": 2572, "name": "MemberAccess", - "src": "55973:21:1" + "src": "57552:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3074, + "referencedDeclaration": 2566, "type": "uint256", "value": "tokenId" }, - "id": 3081, + "id": 2573, "name": "Identifier", - "src": "55995:7:1" + "src": "57574:7:0" } ], - "id": 3082, + "id": 2574, "name": "FunctionCall", - "src": "55973:30:1" + "src": "57552:30:0" } ], - "id": 3083, + "id": 2575, "name": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ], - "id": 3084, + "id": 2576, "name": "Block", - "src": "55956:54:1" + "src": "57534:56:0" } ], - "id": 3085, + "id": 2577, "name": "FunctionDefinition", - "src": "55885:125:1" + "src": "57463:127:0" }, { "attributes": { @@ -71596,7 +71596,7 @@ null ], "name": "_isApprovedOrOwner", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71606,9 +71606,9 @@ "attributes": { "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3086, + "id": 2578, "name": "StructuredDocumentation", - "src": "56016:147:1" + "src": "57598:153:0" }, { "children": [ @@ -71617,7 +71617,7 @@ "constant": false, "mutability": "mutable", "name": "spender", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71630,21 +71630,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3087, + "id": 2579, "name": "ElementaryTypeName", - "src": "56196:7:1" + "src": "57785:7:0" } ], - "id": 3088, + "id": 2580, "name": "VariableDeclaration", - "src": "56196:15:1" + "src": "57785:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71656,19 +71656,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3089, + "id": 2581, "name": "ElementaryTypeName", - "src": "56213:7:1" + "src": "57802:7:0" } ], - "id": 3090, + "id": 2582, "name": "VariableDeclaration", - "src": "56213:15:1" + "src": "57802:15:0" } ], - "id": 3091, + "id": 2583, "name": "ParameterList", - "src": "56195:34:1" + "src": "57784:34:0" }, { "children": [ @@ -71677,7 +71677,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71689,19 +71689,19 @@ "name": "bool", "type": "bool" }, - "id": 3092, + "id": 2584, "name": "ElementaryTypeName", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3093, + "id": 2585, "name": "VariableDeclaration", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3094, + "id": 2586, "name": "ParameterList", - "src": "56260:6:1" + "src": "57849:6:0" }, { "children": [ @@ -71742,9 +71742,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3095, + "id": 2587, "name": "Identifier", - "src": "56277:7:1" + "src": "57867:7:0" }, { "attributes": { @@ -71772,31 +71772,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3096, + "id": 2588, "name": "Identifier", - "src": "56285:7:1" + "src": "57875:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3097, + "id": 2589, "name": "Identifier", - "src": "56293:7:1" + "src": "57883:7:0" } ], - "id": 3098, + "id": 2590, "name": "FunctionCall", - "src": "56285:16:1" + "src": "57875:16:0" }, { "attributes": { @@ -71809,24 +71809,24 @@ "type": "literal_string \"ERC721: operator query for nonexistent token\"", "value": "ERC721: operator query for nonexistent token" }, - "id": 3099, + "id": 2591, "name": "Literal", - "src": "56303:46:1" + "src": "57893:46:0" } ], - "id": 3100, + "id": 2592, "name": "FunctionCall", - "src": "56277:73:1" + "src": "57867:73:0" } ], - "id": 3101, + "id": 2593, "name": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "attributes": { "assignments": [ - 3103 + 2595 ] }, "children": [ @@ -71835,7 +71835,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3126, + "scope": 2618, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71848,14 +71848,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3102, + "id": 2594, "name": "ElementaryTypeName", - "src": "56360:7:1" + "src": "57951:7:0" } ], - "id": 3103, + "id": 2595, "name": "VariableDeclaration", - "src": "56360:13:1" + "src": "57951:13:0" }, { "attributes": { @@ -71885,7 +71885,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -71894,45 +71894,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3104, + "id": 2596, "name": "Identifier", - "src": "56376:6:1" + "src": "57967:6:0" } ], - "id": 3105, + "id": 2597, "name": "MemberAccess", - "src": "56376:14:1" + "src": "57967:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3106, + "id": 2598, "name": "Identifier", - "src": "56391:7:1" + "src": "57982:7:0" } ], - "id": 3107, + "id": 2599, "name": "FunctionCall", - "src": "56376:23:1" + "src": "57967:23:0" } ], - "id": 3108, + "id": 2600, "name": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "attributes": { - "functionReturnParameters": 3094 + "functionReturnParameters": 2586 }, "children": [ { @@ -71992,31 +71992,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3109, + "id": 2601, "name": "Identifier", - "src": "56417:7:1" + "src": "58009:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3110, + "id": 2602, "name": "Identifier", - "src": "56428:5:1" + "src": "58020:5:0" } ], - "id": 3111, + "id": 2603, "name": "BinaryOperation", - "src": "56417:16:1" + "src": "58009:16:0" }, { "attributes": { @@ -72058,54 +72058,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2914, + "referencedDeclaration": 2406, "type": "function (uint256) view returns (address)", "value": "getApproved" }, - "id": 3112, + "id": 2604, "name": "Identifier", - "src": "56437:11:1" + "src": "58029:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3113, + "id": 2605, "name": "Identifier", - "src": "56449:7:1" + "src": "58041:7:0" } ], - "id": 3114, + "id": 2606, "name": "FunctionCall", - "src": "56437:20:1" + "src": "58029:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3115, + "id": 2607, "name": "Identifier", - "src": "56461:7:1" + "src": "58053:7:0" } ], - "id": 3116, + "id": 2608, "name": "BinaryOperation", - "src": "56437:31:1" + "src": "58029:31:0" } ], - "id": 3117, + "id": 2609, "name": "BinaryOperation", - "src": "56417:51:1" + "src": "58009:51:0" }, { "attributes": { @@ -72139,7 +72139,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -72148,74 +72148,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3118, + "id": 2610, "name": "Identifier", - "src": "56472:6:1" + "src": "58064:6:0" } ], - "id": 3119, + "id": 2611, "name": "MemberAccess", - "src": "56472:23:1" + "src": "58064:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3120, + "id": 2612, "name": "Identifier", - "src": "56496:5:1" + "src": "58088:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3121, + "id": 2613, "name": "Identifier", - "src": "56503:7:1" + "src": "58095:7:0" } ], - "id": 3122, + "id": 2614, "name": "FunctionCall", - "src": "56472:39:1" + "src": "58064:39:0" } ], - "id": 3123, + "id": 2615, "name": "BinaryOperation", - "src": "56417:94:1" + "src": "58009:94:0" } ], - "id": 3124, + "id": 2616, "name": "TupleExpression", - "src": "56416:96:1" + "src": "58008:96:0" } ], - "id": 3125, + "id": 2617, "name": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ], - "id": 3126, + "id": 2618, "name": "Block", - "src": "56267:252:1" + "src": "57856:256:0" } ], - "id": 3127, + "id": 2619, "name": "FunctionDefinition", - "src": "56168:351:1" + "src": "57757:355:0" }, { "attributes": { @@ -72226,7 +72226,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72236,9 +72236,9 @@ "attributes": { "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3128, + "id": 2620, "name": "StructuredDocumentation", - "src": "56525:320:1" + "src": "58120:329:0" }, { "children": [ @@ -72247,7 +72247,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72260,21 +72260,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3129, + "id": 2621, "name": "ElementaryTypeName", - "src": "56869:7:1" + "src": "58474:7:0" } ], - "id": 3130, + "id": 2622, "name": "VariableDeclaration", - "src": "56869:10:1" + "src": "58474:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72286,19 +72286,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3131, + "id": 2623, "name": "ElementaryTypeName", - "src": "56881:7:1" + "src": "58486:7:0" } ], - "id": 3132, + "id": 2624, "name": "VariableDeclaration", - "src": "56881:15:1" + "src": "58486:15:0" } ], - "id": 3133, + "id": 2625, "name": "ParameterList", - "src": "56868:29:1" + "src": "58473:29:0" }, { "attributes": { @@ -72307,9 +72307,9 @@ ] }, "children": [], - "id": 3134, + "id": 2626, "name": "ParameterList", - "src": "56915:0:1" + "src": "58520:0:0" }, { "children": [ @@ -72347,42 +72347,42 @@ } ], "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, + "referencedDeclaration": 2663, "type": "function (address,uint256,bytes memory)", "value": "_safeMint" }, - "id": 3135, + "id": 2627, "name": "Identifier", - "src": "56925:9:1" + "src": "58531:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3130, + "referencedDeclaration": 2622, "type": "address", "value": "to" }, - "id": 3136, + "id": 2628, "name": "Identifier", - "src": "56935:2:1" + "src": "58541:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3132, + "referencedDeclaration": 2624, "type": "uint256", "value": "tokenId" }, - "id": 3137, + "id": 2629, "name": "Identifier", - "src": "56939:7:1" + "src": "58545:7:0" }, { "attributes": { @@ -72395,29 +72395,29 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3138, + "id": 2630, "name": "Literal", - "src": "56948:2:1" + "src": "58554:2:0" } ], - "id": 3139, + "id": 2631, "name": "FunctionCall", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3140, + "id": 2632, "name": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3141, + "id": 2633, "name": "Block", - "src": "56915:43:1" + "src": "58520:45:0" } ], - "id": 3142, + "id": 2634, "name": "FunctionDefinition", - "src": "56850:108:1" + "src": "58455:110:0" }, { "attributes": { @@ -72428,7 +72428,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72438,9 +72438,9 @@ "attributes": { "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3143, + "id": 2635, "name": "StructuredDocumentation", - "src": "56964:210:1" + "src": "58573:213:0" }, { "children": [ @@ -72449,7 +72449,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72462,21 +72462,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3144, + "id": 2636, "name": "ElementaryTypeName", - "src": "57198:7:1" + "src": "58811:7:0" } ], - "id": 3145, + "id": 2637, "name": "VariableDeclaration", - "src": "57198:10:1" + "src": "58811:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72488,21 +72488,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3146, + "id": 2638, "name": "ElementaryTypeName", - "src": "57210:7:1" + "src": "58823:7:0" } ], - "id": 3147, + "id": 2639, "name": "VariableDeclaration", - "src": "57210:15:1" + "src": "58823:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -72514,19 +72514,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3148, + "id": 2640, "name": "ElementaryTypeName", - "src": "57227:5:1" + "src": "58840:5:0" } ], - "id": 3149, + "id": 2641, "name": "VariableDeclaration", - "src": "57227:18:1" + "src": "58840:18:0" } ], - "id": 3150, + "id": 2642, "name": "ParameterList", - "src": "57197:49:1" + "src": "58810:49:0" }, { "attributes": { @@ -72535,9 +72535,9 @@ ] }, "children": [], - "id": 3151, + "id": 2643, "name": "ParameterList", - "src": "57264:0:1" + "src": "58877:0:0" }, { "children": [ @@ -72573,49 +72573,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3230, + "referencedDeclaration": 2722, "type": "function (address,uint256)", "value": "_mint" }, - "id": 3152, + "id": 2644, "name": "Identifier", - "src": "57274:5:1" + "src": "58888:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3153, + "id": 2645, "name": "Identifier", - "src": "57280:2:1" + "src": "58894:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3154, + "id": 2646, "name": "Identifier", - "src": "57284:7:1" + "src": "58898:7:0" } ], - "id": 3155, + "id": 2647, "name": "FunctionCall", - "src": "57274:18:1" + "src": "58888:18:0" } ], - "id": 3156, + "id": 2648, "name": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "children": [ @@ -72654,9 +72654,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3157, + "id": 2649, "name": "Identifier", - "src": "57302:7:1" + "src": "58917:7:0" }, { "attributes": { @@ -72696,13 +72696,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3158, + "id": 2650, "name": "Identifier", - "src": "57310:22:1" + "src": "58925:22:0" }, { "attributes": { @@ -72738,14 +72738,14 @@ "attributes": { "name": "address" }, - "id": 3159, + "id": 2651, "name": "ElementaryTypeName", - "src": "57333:7:1" + "src": "58948:7:0" } ], - "id": 3160, + "id": 2652, "name": "ElementaryTypeNameExpression", - "src": "57333:7:1" + "src": "58948:7:0" }, { "attributes": { @@ -72758,58 +72758,58 @@ "type": "int_const 0", "value": "0" }, - "id": 3161, + "id": 2653, "name": "Literal", - "src": "57341:1:1" + "src": "58956:1:0" } ], - "id": 3162, + "id": 2654, "name": "FunctionCall", - "src": "57333:10:1" + "src": "58948:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3163, + "id": 2655, "name": "Identifier", - "src": "57345:2:1" + "src": "58960:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3164, + "id": 2656, "name": "Identifier", - "src": "57349:7:1" + "src": "58964:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3149, + "referencedDeclaration": 2641, "type": "bytes memory", "value": "_data" }, - "id": 3165, + "id": 2657, "name": "Identifier", - "src": "57358:5:1" + "src": "58973:5:0" } ], - "id": 3166, + "id": 2658, "name": "FunctionCall", - "src": "57310:54:1" + "src": "58925:54:0" }, { "attributes": { @@ -72822,29 +72822,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3167, + "id": 2659, "name": "Literal", - "src": "57366:52:1" + "src": "58981:52:0" } ], - "id": 3168, + "id": 2660, "name": "FunctionCall", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3169, + "id": 2661, "name": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3170, + "id": 2662, "name": "Block", - "src": "57264:162:1" + "src": "58877:165:0" } ], - "id": 3171, + "id": 2663, "name": "FunctionDefinition", - "src": "57179:247:1" + "src": "58792:250:0" }, { "attributes": { @@ -72855,7 +72855,7 @@ null ], "name": "_mint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72865,9 +72865,9 @@ "attributes": { "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3172, + "id": 2664, "name": "StructuredDocumentation", - "src": "57432:311:1" + "src": "59050:322:0" }, { "children": [ @@ -72876,7 +72876,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72889,21 +72889,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3173, + "id": 2665, "name": "ElementaryTypeName", - "src": "57763:7:1" + "src": "59393:7:0" } ], - "id": 3174, + "id": 2666, "name": "VariableDeclaration", - "src": "57763:10:1" + "src": "59393:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72915,19 +72915,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3175, + "id": 2667, "name": "ElementaryTypeName", - "src": "57775:7:1" + "src": "59405:7:0" } ], - "id": 3176, + "id": 2668, "name": "VariableDeclaration", - "src": "57775:15:1" + "src": "59405:15:0" } ], - "id": 3177, + "id": 2669, "name": "ParameterList", - "src": "57762:29:1" + "src": "59392:29:0" }, { "attributes": { @@ -72936,9 +72936,9 @@ ] }, "children": [], - "id": 3178, + "id": 2670, "name": "ParameterList", - "src": "57809:0:1" + "src": "59439:0:0" }, { "children": [ @@ -72979,9 +72979,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3179, + "id": 2671, "name": "Identifier", - "src": "57819:7:1" + "src": "59450:7:0" }, { "attributes": { @@ -73002,13 +73002,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3180, + "id": 2672, "name": "Identifier", - "src": "57827:2:1" + "src": "59458:2:0" }, { "attributes": { @@ -73044,14 +73044,14 @@ "attributes": { "name": "address" }, - "id": 3181, + "id": 2673, "name": "ElementaryTypeName", - "src": "57833:7:1" + "src": "59464:7:0" } ], - "id": 3182, + "id": 2674, "name": "ElementaryTypeNameExpression", - "src": "57833:7:1" + "src": "59464:7:0" }, { "attributes": { @@ -73064,19 +73064,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3183, + "id": 2675, "name": "Literal", - "src": "57841:1:1" + "src": "59472:1:0" } ], - "id": 3184, + "id": 2676, "name": "FunctionCall", - "src": "57833:10:1" + "src": "59464:10:0" } ], - "id": 3185, + "id": 2677, "name": "BinaryOperation", - "src": "57827:16:1" + "src": "59458:16:0" }, { "attributes": { @@ -73089,19 +73089,19 @@ "type": "literal_string \"ERC721: mint to the zero address\"", "value": "ERC721: mint to the zero address" }, - "id": 3186, + "id": 2678, "name": "Literal", - "src": "57845:34:1" + "src": "59476:34:0" } ], - "id": 3187, + "id": 2679, "name": "FunctionCall", - "src": "57819:61:1" + "src": "59450:61:0" } ], - "id": 3188, + "id": 2680, "name": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "children": [ @@ -73140,9 +73140,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3189, + "id": 2681, "name": "Identifier", - "src": "57890:7:1" + "src": "59522:7:0" }, { "attributes": { @@ -73181,36 +73181,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3190, + "id": 2682, "name": "Identifier", - "src": "57899:7:1" + "src": "59531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3191, + "id": 2683, "name": "Identifier", - "src": "57907:7:1" + "src": "59539:7:0" } ], - "id": 3192, + "id": 2684, "name": "FunctionCall", - "src": "57899:16:1" + "src": "59531:16:0" } ], - "id": 3193, + "id": 2685, "name": "UnaryOperation", - "src": "57898:17:1" + "src": "59530:17:0" }, { "attributes": { @@ -73223,19 +73223,19 @@ "type": "literal_string \"ERC721: token already minted\"", "value": "ERC721: token already minted" }, - "id": 3194, + "id": 2686, "name": "Literal", - "src": "57917:30:1" + "src": "59549:30:0" } ], - "id": 3195, + "id": 2687, "name": "FunctionCall", - "src": "57890:58:1" + "src": "59522:58:0" } ], - "id": 3196, + "id": 2688, "name": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "children": [ @@ -73273,13 +73273,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3197, + "id": 2689, "name": "Identifier", - "src": "57959:20:1" + "src": "59593:20:0" }, { "attributes": { @@ -73315,14 +73315,14 @@ "attributes": { "name": "address" }, - "id": 3198, + "id": 2690, "name": "ElementaryTypeName", - "src": "57980:7:1" + "src": "59614:7:0" } ], - "id": 3199, + "id": 2691, "name": "ElementaryTypeNameExpression", - "src": "57980:7:1" + "src": "59614:7:0" }, { "attributes": { @@ -73335,50 +73335,50 @@ "type": "int_const 0", "value": "0" }, - "id": 3200, + "id": 2692, "name": "Literal", - "src": "57988:1:1" + "src": "59622:1:0" } ], - "id": 3201, + "id": 2693, "name": "FunctionCall", - "src": "57980:10:1" + "src": "59614:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3202, + "id": 2694, "name": "Identifier", - "src": "57992:2:1" + "src": "59626:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3203, + "id": 2695, "name": "Identifier", - "src": "57996:7:1" + "src": "59630:7:0" } ], - "id": 3204, + "id": 2696, "name": "FunctionCall", - "src": "57959:45:1" + "src": "59593:45:0" } ], - "id": 3205, + "id": 2697, "name": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "children": [ @@ -73410,7 +73410,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -73428,59 +73428,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3206, + "id": 2698, "name": "Identifier", - "src": "58015:13:1" + "src": "59651:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3207, + "id": 2699, "name": "Identifier", - "src": "58029:2:1" + "src": "59665:2:0" } ], - "id": 3208, + "id": 2700, "name": "IndexAccess", - "src": "58015:17:1" + "src": "59651:17:0" } ], - "id": 3209, + "id": 2701, "name": "MemberAccess", - "src": "58015:21:1" + "src": "59651:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3210, + "id": 2702, "name": "Identifier", - "src": "58037:7:1" + "src": "59673:7:0" } ], - "id": 3211, + "id": 2703, "name": "FunctionCall", - "src": "58015:30:1" + "src": "59651:30:0" } ], - "id": 3212, + "id": 2704, "name": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "children": [ @@ -73516,7 +73516,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -73525,54 +73525,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3213, + "id": 2705, "name": "Identifier", - "src": "58056:12:1" + "src": "59694:12:0" } ], - "id": 3215, + "id": 2707, "name": "MemberAccess", - "src": "58056:16:1" + "src": "59694:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3216, + "id": 2708, "name": "Identifier", - "src": "58073:7:1" + "src": "59711:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3217, + "id": 2709, "name": "Identifier", - "src": "58082:2:1" + "src": "59720:2:0" } ], - "id": 3218, + "id": 2710, "name": "FunctionCall", - "src": "58056:29:1" + "src": "59694:29:0" } ], - "id": 3219, + "id": 2711, "name": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "children": [ @@ -73610,13 +73610,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3220, + "id": 2712, "name": "Identifier", - "src": "58101:8:1" + "src": "59741:8:0" }, { "attributes": { @@ -73652,14 +73652,14 @@ "attributes": { "name": "address" }, - "id": 3221, + "id": 2713, "name": "ElementaryTypeName", - "src": "58110:7:1" + "src": "59750:7:0" } ], - "id": 3222, + "id": 2714, "name": "ElementaryTypeNameExpression", - "src": "58110:7:1" + "src": "59750:7:0" }, { "attributes": { @@ -73672,60 +73672,60 @@ "type": "int_const 0", "value": "0" }, - "id": 3223, + "id": 2715, "name": "Literal", - "src": "58118:1:1" + "src": "59758:1:0" } ], - "id": 3224, + "id": 2716, "name": "FunctionCall", - "src": "58110:10:1" + "src": "59750:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3225, + "id": 2717, "name": "Identifier", - "src": "58122:2:1" + "src": "59762:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3226, + "id": 2718, "name": "Identifier", - "src": "58126:7:1" + "src": "59766:7:0" } ], - "id": 3227, + "id": 2719, "name": "FunctionCall", - "src": "58101:33:1" + "src": "59741:33:0" } ], - "id": 3228, + "id": 2720, "name": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ], - "id": 3229, + "id": 2721, "name": "Block", - "src": "57809:332:1" + "src": "59439:343:0" } ], - "id": 3230, + "id": 2722, "name": "FunctionDefinition", - "src": "57748:393:1" + "src": "59378:404:0" }, { "attributes": { @@ -73736,7 +73736,7 @@ null ], "name": "_burn", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -73746,9 +73746,9 @@ "attributes": { "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3231, + "id": 2723, "name": "StructuredDocumentation", - "src": "58147:206:1" + "src": "59790:215:0" }, { "children": [ @@ -73757,7 +73757,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3299, + "scope": 2791, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -73769,19 +73769,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3232, + "id": 2724, "name": "ElementaryTypeName", - "src": "58373:7:1" + "src": "60026:7:0" } ], - "id": 3233, + "id": 2725, "name": "VariableDeclaration", - "src": "58373:15:1" + "src": "60026:15:0" } ], - "id": 3234, + "id": 2726, "name": "ParameterList", - "src": "58372:17:1" + "src": "60025:17:0" }, { "attributes": { @@ -73790,16 +73790,16 @@ ] }, "children": [], - "id": 3235, + "id": 2727, "name": "ParameterList", - "src": "58407:0:1" + "src": "60060:0:0" }, { "children": [ { "attributes": { "assignments": [ - 3237 + 2729 ] }, "children": [ @@ -73808,7 +73808,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3298, + "scope": 2790, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -73821,14 +73821,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3236, + "id": 2728, "name": "ElementaryTypeName", - "src": "58417:7:1" + "src": "60071:7:0" } ], - "id": 3237, + "id": 2729, "name": "VariableDeclaration", - "src": "58417:13:1" + "src": "60071:13:0" }, { "attributes": { @@ -73858,7 +73858,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -73867,41 +73867,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3238, + "id": 2730, "name": "Identifier", - "src": "58433:6:1" + "src": "60087:6:0" } ], - "id": 3239, + "id": 2731, "name": "MemberAccess", - "src": "58433:14:1" + "src": "60087:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3240, + "id": 2732, "name": "Identifier", - "src": "58448:7:1" + "src": "60102:7:0" } ], - "id": 3241, + "id": 2733, "name": "FunctionCall", - "src": "58433:23:1" + "src": "60087:23:0" } ], - "id": 3242, + "id": 2734, "name": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "children": [ @@ -73939,26 +73939,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3243, + "id": 2735, "name": "Identifier", - "src": "58485:20:1" + "src": "60141:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3244, + "id": 2736, "name": "Identifier", - "src": "58506:5:1" + "src": "60162:5:0" }, { "attributes": { @@ -73994,14 +73994,14 @@ "attributes": { "name": "address" }, - "id": 3245, + "id": 2737, "name": "ElementaryTypeName", - "src": "58513:7:1" + "src": "60169:7:0" } ], - "id": 3246, + "id": 2738, "name": "ElementaryTypeNameExpression", - "src": "58513:7:1" + "src": "60169:7:0" }, { "attributes": { @@ -74014,37 +74014,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3247, + "id": 2739, "name": "Literal", - "src": "58521:1:1" + "src": "60177:1:0" } ], - "id": 3248, + "id": 2740, "name": "FunctionCall", - "src": "58513:10:1" + "src": "60169:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3249, + "id": 2741, "name": "Identifier", - "src": "58525:7:1" + "src": "60181:7:0" } ], - "id": 3250, + "id": 2742, "name": "FunctionCall", - "src": "58485:48:1" + "src": "60141:48:0" } ], - "id": 3251, + "id": 2743, "name": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "children": [ @@ -74078,13 +74078,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3252, + "id": 2744, "name": "Identifier", - "src": "58571:8:1" + "src": "60230:8:0" }, { "attributes": { @@ -74120,14 +74120,14 @@ "attributes": { "name": "address" }, - "id": 3253, + "id": 2745, "name": "ElementaryTypeName", - "src": "58580:7:1" + "src": "60239:7:0" } ], - "id": 3254, + "id": 2746, "name": "ElementaryTypeNameExpression", - "src": "58580:7:1" + "src": "60239:7:0" }, { "attributes": { @@ -74140,37 +74140,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3255, + "id": 2747, "name": "Literal", - "src": "58588:1:1" + "src": "60247:1:0" } ], - "id": 3256, + "id": 2748, "name": "FunctionCall", - "src": "58580:10:1" + "src": "60239:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3257, + "id": 2749, "name": "Identifier", - "src": "58592:7:1" + "src": "60251:7:0" } ], - "id": 3258, + "id": 2750, "name": "FunctionCall", - "src": "58571:29:1" + "src": "60230:29:0" } ], - "id": 3259, + "id": 2751, "name": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "attributes": {}, @@ -74233,14 +74233,14 @@ "attributes": { "name": "bytes" }, - "id": 3260, + "id": 2752, "name": "ElementaryTypeName", - "src": "58650:5:1" + "src": "60312:5:0" } ], - "id": 3261, + "id": 2753, "name": "ElementaryTypeNameExpression", - "src": "58650:5:1" + "src": "60312:5:0" }, { "attributes": { @@ -74256,41 +74256,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3262, + "id": 2754, "name": "Identifier", - "src": "58656:10:1" + "src": "60318:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3263, + "id": 2755, "name": "Identifier", - "src": "58667:7:1" + "src": "60329:7:0" } ], - "id": 3264, + "id": 2756, "name": "IndexAccess", - "src": "58656:19:1" + "src": "60318:19:0" } ], - "id": 3265, + "id": 2757, "name": "FunctionCall", - "src": "58650:26:1" + "src": "60312:26:0" } ], - "id": 3266, + "id": 2758, "name": "MemberAccess", - "src": "58650:33:1" + "src": "60312:33:0" }, { "attributes": { @@ -74303,14 +74303,14 @@ "type": "int_const 0", "value": "0" }, - "id": 3267, + "id": 2759, "name": "Literal", - "src": "58687:1:1" + "src": "60349:1:0" } ], - "id": 3268, + "id": 2760, "name": "BinaryOperation", - "src": "58650:38:1" + "src": "60312:38:0" }, { "children": [ @@ -74341,51 +74341,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3269, + "id": 2761, "name": "Identifier", - "src": "58711:10:1" + "src": "60374:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3270, + "id": 2762, "name": "Identifier", - "src": "58722:7:1" + "src": "60385:7:0" } ], - "id": 3271, + "id": 2763, "name": "IndexAccess", - "src": "58711:19:1" + "src": "60374:19:0" } ], - "id": 3272, + "id": 2764, "name": "UnaryOperation", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3273, + "id": 2765, "name": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3274, + "id": 2766, "name": "Block", - "src": "58690:51:1" + "src": "60352:53:0" } ], - "id": 3275, + "id": 2767, "name": "IfStatement", - "src": "58646:95:1" + "src": "60308:97:0" }, { "children": [ @@ -74417,7 +74417,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -74435,59 +74435,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3276, + "id": 2768, "name": "Identifier", - "src": "58751:13:1" + "src": "60417:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3277, + "id": 2769, "name": "Identifier", - "src": "58765:5:1" + "src": "60431:5:0" } ], - "id": 3278, + "id": 2770, "name": "IndexAccess", - "src": "58751:20:1" + "src": "60417:20:0" } ], - "id": 3279, + "id": 2771, "name": "MemberAccess", - "src": "58751:27:1" + "src": "60417:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3280, + "id": 2772, "name": "Identifier", - "src": "58779:7:1" + "src": "60445:7:0" } ], - "id": 3281, + "id": 2773, "name": "FunctionCall", - "src": "58751:36:1" + "src": "60417:36:0" } ], - "id": 3282, + "id": 2774, "name": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "children": [ @@ -74519,7 +74519,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 2306, + "referencedDeclaration": 1798, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" }, "children": [ @@ -74528,41 +74528,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3283, + "id": 2775, "name": "Identifier", - "src": "58798:12:1" + "src": "60466:12:0" } ], - "id": 3285, + "id": 2777, "name": "MemberAccess", - "src": "58798:19:1" + "src": "60466:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3286, + "id": 2778, "name": "Identifier", - "src": "58818:7:1" + "src": "60486:7:0" } ], - "id": 3287, + "id": 2779, "name": "FunctionCall", - "src": "58798:28:1" + "src": "60466:28:0" } ], - "id": 3288, + "id": 2780, "name": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "children": [ @@ -74600,26 +74600,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3289, + "id": 2781, "name": "Identifier", - "src": "58842:8:1" + "src": "60512:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3290, + "id": 2782, "name": "Identifier", - "src": "58851:5:1" + "src": "60521:5:0" }, { "attributes": { @@ -74655,14 +74655,14 @@ "attributes": { "name": "address" }, - "id": 3291, + "id": 2783, "name": "ElementaryTypeName", - "src": "58858:7:1" + "src": "60528:7:0" } ], - "id": 3292, + "id": 2784, "name": "ElementaryTypeNameExpression", - "src": "58858:7:1" + "src": "60528:7:0" }, { "attributes": { @@ -74675,47 +74675,47 @@ "type": "int_const 0", "value": "0" }, - "id": 3293, + "id": 2785, "name": "Literal", - "src": "58866:1:1" + "src": "60536:1:0" } ], - "id": 3294, + "id": 2786, "name": "FunctionCall", - "src": "58858:10:1" + "src": "60528:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3295, + "id": 2787, "name": "Identifier", - "src": "58870:7:1" + "src": "60540:7:0" } ], - "id": 3296, + "id": 2788, "name": "FunctionCall", - "src": "58842:36:1" + "src": "60512:36:0" } ], - "id": 3297, + "id": 2789, "name": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ], - "id": 3298, + "id": 2790, "name": "Block", - "src": "58407:478:1" + "src": "60060:496:0" } ], - "id": 3299, + "id": 2791, "name": "FunctionDefinition", - "src": "58358:527:1" + "src": "60011:545:0" }, { "attributes": { @@ -74726,7 +74726,7 @@ null ], "name": "_transfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -74736,9 +74736,9 @@ "attributes": { "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3300, + "id": 2792, "name": "StructuredDocumentation", - "src": "58891:313:1" + "src": "60564:323:0" }, { "children": [ @@ -74747,7 +74747,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74760,21 +74760,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3301, + "id": 2793, "name": "ElementaryTypeName", - "src": "59228:7:1" + "src": "60912:7:0" } ], - "id": 3302, + "id": 2794, "name": "VariableDeclaration", - "src": "59228:12:1" + "src": "60912:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74787,21 +74787,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3303, + "id": 2795, "name": "ElementaryTypeName", - "src": "59242:7:1" + "src": "60926:7:0" } ], - "id": 3304, + "id": 2796, "name": "VariableDeclaration", - "src": "59242:10:1" + "src": "60926:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -74813,19 +74813,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3305, + "id": 2797, "name": "ElementaryTypeName", - "src": "59254:7:1" + "src": "60938:7:0" } ], - "id": 3306, + "id": 2798, "name": "VariableDeclaration", - "src": "59254:15:1" + "src": "60938:15:0" } ], - "id": 3307, + "id": 2799, "name": "ParameterList", - "src": "59227:43:1" + "src": "60911:43:0" }, { "attributes": { @@ -74834,9 +74834,9 @@ ] }, "children": [], - "id": 3308, + "id": 2800, "name": "ParameterList", - "src": "59288:0:1" + "src": "60972:0:0" }, { "children": [ @@ -74877,9 +74877,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3309, + "id": 2801, "name": "Identifier", - "src": "59298:7:1" + "src": "60983:7:0" }, { "attributes": { @@ -74923,7 +74923,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -74932,54 +74932,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3310, + "id": 2802, "name": "Identifier", - "src": "59306:6:1" + "src": "60991:6:0" } ], - "id": 3311, + "id": 2803, "name": "MemberAccess", - "src": "59306:14:1" + "src": "60991:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3312, + "id": 2804, "name": "Identifier", - "src": "59321:7:1" + "src": "61006:7:0" } ], - "id": 3313, + "id": 2805, "name": "FunctionCall", - "src": "59306:23:1" + "src": "60991:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3314, + "id": 2806, "name": "Identifier", - "src": "59333:4:1" + "src": "61018:4:0" } ], - "id": 3315, + "id": 2807, "name": "BinaryOperation", - "src": "59306:31:1" + "src": "60991:31:0" }, { "attributes": { @@ -74992,19 +74992,19 @@ "type": "literal_string \"ERC721: transfer of token that is not own\"", "value": "ERC721: transfer of token that is not own" }, - "id": 3316, + "id": 2808, "name": "Literal", - "src": "59339:43:1" + "src": "61024:43:0" } ], - "id": 3317, + "id": 2809, "name": "FunctionCall", - "src": "59298:85:1" + "src": "60983:85:0" } ], - "id": 3318, + "id": 2810, "name": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "children": [ @@ -75043,9 +75043,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3319, + "id": 2811, "name": "Identifier", - "src": "59411:7:1" + "src": "61097:7:0" }, { "attributes": { @@ -75066,13 +75066,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3320, + "id": 2812, "name": "Identifier", - "src": "59419:2:1" + "src": "61105:2:0" }, { "attributes": { @@ -75108,14 +75108,14 @@ "attributes": { "name": "address" }, - "id": 3321, + "id": 2813, "name": "ElementaryTypeName", - "src": "59425:7:1" + "src": "61111:7:0" } ], - "id": 3322, + "id": 2814, "name": "ElementaryTypeNameExpression", - "src": "59425:7:1" + "src": "61111:7:0" }, { "attributes": { @@ -75128,19 +75128,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3323, + "id": 2815, "name": "Literal", - "src": "59433:1:1" + "src": "61119:1:0" } ], - "id": 3324, + "id": 2816, "name": "FunctionCall", - "src": "59425:10:1" + "src": "61111:10:0" } ], - "id": 3325, + "id": 2817, "name": "BinaryOperation", - "src": "59419:16:1" + "src": "61105:16:0" }, { "attributes": { @@ -75153,19 +75153,19 @@ "type": "literal_string \"ERC721: transfer to the zero address\"", "value": "ERC721: transfer to the zero address" }, - "id": 3326, + "id": 2818, "name": "Literal", - "src": "59437:38:1" + "src": "61123:38:0" } ], - "id": 3327, + "id": 2819, "name": "FunctionCall", - "src": "59411:65:1" + "src": "61097:65:0" } ], - "id": 3328, + "id": 2820, "name": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "children": [ @@ -75203,62 +75203,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3329, + "id": 2821, "name": "Identifier", - "src": "59487:20:1" + "src": "61175:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3330, + "id": 2822, "name": "Identifier", - "src": "59508:4:1" + "src": "61196:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3331, + "id": 2823, "name": "Identifier", - "src": "59514:2:1" + "src": "61202:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3332, + "id": 2824, "name": "Identifier", - "src": "59518:7:1" + "src": "61206:7:0" } ], - "id": 3333, + "id": 2825, "name": "FunctionCall", - "src": "59487:39:1" + "src": "61175:39:0" } ], - "id": 3334, + "id": 2826, "name": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "children": [ @@ -75292,13 +75292,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3335, + "id": 2827, "name": "Identifier", - "src": "59588:8:1" + "src": "61279:8:0" }, { "attributes": { @@ -75334,14 +75334,14 @@ "attributes": { "name": "address" }, - "id": 3336, + "id": 2828, "name": "ElementaryTypeName", - "src": "59597:7:1" + "src": "61288:7:0" } ], - "id": 3337, + "id": 2829, "name": "ElementaryTypeNameExpression", - "src": "59597:7:1" + "src": "61288:7:0" }, { "attributes": { @@ -75354,37 +75354,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3338, + "id": 2830, "name": "Literal", - "src": "59605:1:1" + "src": "61296:1:0" } ], - "id": 3339, + "id": 2831, "name": "FunctionCall", - "src": "59597:10:1" + "src": "61288:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3340, + "id": 2832, "name": "Identifier", - "src": "59609:7:1" + "src": "61300:7:0" } ], - "id": 3341, + "id": 2833, "name": "FunctionCall", - "src": "59588:29:1" + "src": "61279:29:0" } ], - "id": 3342, + "id": 2834, "name": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "children": [ @@ -75416,7 +75416,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75434,59 +75434,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3343, + "id": 2835, "name": "Identifier", - "src": "59628:13:1" + "src": "61321:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3344, + "id": 2836, "name": "Identifier", - "src": "59642:4:1" + "src": "61335:4:0" } ], - "id": 3345, + "id": 2837, "name": "IndexAccess", - "src": "59628:19:1" + "src": "61321:19:0" } ], - "id": 3346, + "id": 2838, "name": "MemberAccess", - "src": "59628:26:1" + "src": "61321:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3347, + "id": 2839, "name": "Identifier", - "src": "59655:7:1" + "src": "61348:7:0" } ], - "id": 3348, + "id": 2840, "name": "FunctionCall", - "src": "59628:35:1" + "src": "61321:35:0" } ], - "id": 3349, + "id": 2841, "name": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "children": [ @@ -75518,7 +75518,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75536,59 +75536,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3350, + "id": 2842, "name": "Identifier", - "src": "59673:13:1" + "src": "61367:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3351, + "id": 2843, "name": "Identifier", - "src": "59687:2:1" + "src": "61381:2:0" } ], - "id": 3352, + "id": 2844, "name": "IndexAccess", - "src": "59673:17:1" + "src": "61367:17:0" } ], - "id": 3353, + "id": 2845, "name": "MemberAccess", - "src": "59673:21:1" + "src": "61367:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3354, + "id": 2846, "name": "Identifier", - "src": "59695:7:1" + "src": "61389:7:0" } ], - "id": 3355, + "id": 2847, "name": "FunctionCall", - "src": "59673:30:1" + "src": "61367:30:0" } ], - "id": 3356, + "id": 2848, "name": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "children": [ @@ -75624,7 +75624,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -75633,54 +75633,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3357, + "id": 2849, "name": "Identifier", - "src": "59714:12:1" + "src": "61410:12:0" } ], - "id": 3359, + "id": 2851, "name": "MemberAccess", - "src": "59714:16:1" + "src": "61410:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3360, + "id": 2852, "name": "Identifier", - "src": "59731:7:1" + "src": "61427:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3361, + "id": 2853, "name": "Identifier", - "src": "59740:2:1" + "src": "61436:2:0" } ], - "id": 3362, + "id": 2854, "name": "FunctionCall", - "src": "59714:29:1" + "src": "61410:29:0" } ], - "id": 3363, + "id": 2855, "name": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "children": [ @@ -75718,72 +75718,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3364, + "id": 2856, "name": "Identifier", - "src": "59759:8:1" + "src": "61457:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3365, + "id": 2857, "name": "Identifier", - "src": "59768:4:1" + "src": "61466:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3366, + "id": 2858, "name": "Identifier", - "src": "59774:2:1" + "src": "61472:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3367, + "id": 2859, "name": "Identifier", - "src": "59778:7:1" + "src": "61476:7:0" } ], - "id": 3368, + "id": 2860, "name": "FunctionCall", - "src": "59759:27:1" + "src": "61457:27:0" } ], - "id": 3369, + "id": 2861, "name": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ], - "id": 3370, + "id": 2862, "name": "Block", - "src": "59288:505:1" + "src": "60972:520:0" } ], - "id": 3371, + "id": 2863, "name": "FunctionDefinition", - "src": "59209:584:1" + "src": "60893:599:0" }, { "attributes": { @@ -75794,7 +75794,7 @@ null ], "name": "_setTokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -75804,9 +75804,9 @@ "attributes": { "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3372, + "id": 2864, "name": "StructuredDocumentation", - "src": "59799:136:1" + "src": "61500:142:0" }, { "children": [ @@ -75815,7 +75815,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -75827,21 +75827,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3373, + "id": 2865, "name": "ElementaryTypeName", - "src": "59962:7:1" + "src": "61670:7:0" } ], - "id": 3374, + "id": 2866, "name": "VariableDeclaration", - "src": "59962:15:1" + "src": "61670:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -75853,19 +75853,19 @@ "name": "string", "type": "string" }, - "id": 3375, + "id": 2867, "name": "ElementaryTypeName", - "src": "59979:6:1" + "src": "61687:6:0" } ], - "id": 3376, + "id": 2868, "name": "VariableDeclaration", - "src": "59979:23:1" + "src": "61687:23:0" } ], - "id": 3377, + "id": 2869, "name": "ParameterList", - "src": "59961:42:1" + "src": "61669:42:0" }, { "attributes": { @@ -75874,9 +75874,9 @@ ] }, "children": [], - "id": 3378, + "id": 2870, "name": "ParameterList", - "src": "60021:0:1" + "src": "61729:0:0" }, { "children": [ @@ -75917,9 +75917,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3379, + "id": 2871, "name": "Identifier", - "src": "60031:7:1" + "src": "61740:7:0" }, { "attributes": { @@ -75947,31 +75947,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3380, + "id": 2872, "name": "Identifier", - "src": "60039:7:1" + "src": "61748:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3381, + "id": 2873, "name": "Identifier", - "src": "60047:7:1" + "src": "61756:7:0" } ], - "id": 3382, + "id": 2874, "name": "FunctionCall", - "src": "60039:16:1" + "src": "61748:16:0" }, { "attributes": { @@ -75984,19 +75984,19 @@ "type": "literal_string \"ERC721Metadata: URI set of nonexistent token\"", "value": "ERC721Metadata: URI set of nonexistent token" }, - "id": 3383, + "id": 2875, "name": "Literal", - "src": "60057:46:1" + "src": "61766:46:0" } ], - "id": 3384, + "id": 2876, "name": "FunctionCall", - "src": "60031:73:1" + "src": "61740:73:0" } ], - "id": 3385, + "id": 2877, "name": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "children": [ @@ -76024,64 +76024,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3386, + "id": 2878, "name": "Identifier", - "src": "60114:10:1" + "src": "61824:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3387, + "id": 2879, "name": "Identifier", - "src": "60125:7:1" + "src": "61835:7:0" } ], - "id": 3388, + "id": 2880, "name": "IndexAccess", - "src": "60114:19:1" + "src": "61824:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3376, + "referencedDeclaration": 2868, "type": "string memory", "value": "_tokenURI" }, - "id": 3389, + "id": 2881, "name": "Identifier", - "src": "60136:9:1" + "src": "61846:9:0" } ], - "id": 3390, + "id": 2882, "name": "Assignment", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3391, + "id": 2883, "name": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3392, + "id": 2884, "name": "Block", - "src": "60021:131:1" + "src": "61729:134:0" } ], - "id": 3393, + "id": 2885, "name": "FunctionDefinition", - "src": "59940:212:1" + "src": "61648:215:0" }, { "attributes": { @@ -76092,7 +76092,7 @@ null ], "name": "_setBaseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -76102,9 +76102,9 @@ "attributes": { "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3394, + "id": 2886, "name": "StructuredDocumentation", - "src": "60158:212:1" + "src": "61871:216:0" }, { "children": [ @@ -76113,7 +76113,7 @@ "constant": false, "mutability": "mutable", "name": "baseURI_", - "scope": 3404, + "scope": 2896, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -76125,19 +76125,19 @@ "name": "string", "type": "string" }, - "id": 3395, + "id": 2887, "name": "ElementaryTypeName", - "src": "60396:6:1" + "src": "62114:6:0" } ], - "id": 3396, + "id": 2888, "name": "VariableDeclaration", - "src": "60396:22:1" + "src": "62114:22:0" } ], - "id": 3397, + "id": 2889, "name": "ParameterList", - "src": "60395:24:1" + "src": "62113:24:0" }, { "attributes": { @@ -76146,9 +76146,9 @@ ] }, "children": [], - "id": 3398, + "id": 2890, "name": "ParameterList", - "src": "60437:0:1" + "src": "62155:0:0" }, { "children": [ @@ -76169,46 +76169,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 3399, + "id": 2891, "name": "Identifier", - "src": "60447:8:1" + "src": "62166:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3396, + "referencedDeclaration": 2888, "type": "string memory", "value": "baseURI_" }, - "id": 3400, + "id": 2892, "name": "Identifier", - "src": "60458:8:1" + "src": "62177:8:0" } ], - "id": 3401, + "id": 2893, "name": "Assignment", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3402, + "id": 2894, "name": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3403, + "id": 2895, "name": "Block", - "src": "60437:36:1" + "src": "62155:38:0" } ], - "id": 3404, + "id": 2896, "name": "FunctionDefinition", - "src": "60375:98:1" + "src": "62093:100:0" }, { "attributes": { @@ -76219,7 +76219,7 @@ null ], "name": "_checkOnERC721Received", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -76229,9 +76229,9 @@ "attributes": { "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3405, + "id": 2897, "name": "StructuredDocumentation", - "src": "60479:542:1" + "src": "62201:551:0" }, { "children": [ @@ -76240,7 +76240,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76253,21 +76253,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3406, + "id": 2898, "name": "ElementaryTypeName", - "src": "61058:7:1" + "src": "62790:7:0" } ], - "id": 3407, + "id": 2899, "name": "VariableDeclaration", - "src": "61058:12:1" + "src": "62790:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76280,21 +76280,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3408, + "id": 2900, "name": "ElementaryTypeName", - "src": "61072:7:1" + "src": "62804:7:0" } ], - "id": 3409, + "id": 2901, "name": "VariableDeclaration", - "src": "61072:10:1" + "src": "62804:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -76306,21 +76306,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3410, + "id": 2902, "name": "ElementaryTypeName", - "src": "61084:7:1" + "src": "62816:7:0" } ], - "id": 3411, + "id": 2903, "name": "VariableDeclaration", - "src": "61084:15:1" + "src": "62816:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76332,19 +76332,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3412, + "id": 2904, "name": "ElementaryTypeName", - "src": "61101:5:1" + "src": "62833:5:0" } ], - "id": 3413, + "id": 2905, "name": "VariableDeclaration", - "src": "61101:18:1" + "src": "62833:18:0" } ], - "id": 3414, + "id": 2906, "name": "ParameterList", - "src": "61057:63:1" + "src": "62789:63:0" }, { "children": [ @@ -76353,7 +76353,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -76365,19 +76365,19 @@ "name": "bool", "type": "bool" }, - "id": 3415, + "id": 2907, "name": "ElementaryTypeName", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3416, + "id": 2908, "name": "VariableDeclaration", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3417, + "id": 2909, "name": "ParameterList", - "src": "61145:6:1" + "src": "62878:6:0" }, { "children": [ @@ -76423,7 +76423,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isContract", - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)" }, "children": [ @@ -76432,34 +76432,34 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3418, + "id": 2910, "name": "Identifier", - "src": "61171:2:1" + "src": "62906:2:0" } ], - "id": 3419, + "id": 2911, "name": "MemberAccess", - "src": "61171:13:1" + "src": "62906:13:0" } ], - "id": 3420, + "id": 2912, "name": "FunctionCall", - "src": "61171:15:1" + "src": "62906:15:0" } ], - "id": 3421, + "id": 2913, "name": "UnaryOperation", - "src": "61170:16:1" + "src": "62905:16:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -76473,29 +76473,29 @@ "type": "bool", "value": "true" }, - "id": 3422, + "id": 2914, "name": "Literal", - "src": "61209:4:1" + "src": "62945:4:0" } ], - "id": 3423, + "id": 2915, "name": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ], - "id": 3424, + "id": 2916, "name": "Block", - "src": "61188:36:1" + "src": "62923:38:0" } ], - "id": 3425, + "id": 2917, "name": "IfStatement", - "src": "61166:58:1" + "src": "62901:60:0" }, { "attributes": { "assignments": [ - 3427 + 2919 ] }, "children": [ @@ -76504,7 +76504,7 @@ "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76516,14 +76516,14 @@ "name": "bytes", "type": "bytes" }, - "id": 3426, + "id": 2918, "name": "ElementaryTypeName", - "src": "61233:5:1" + "src": "62971:5:0" } ], - "id": 3427, + "id": 2919, "name": "VariableDeclaration", - "src": "61233:23:1" + "src": "62971:23:0" }, { "attributes": { @@ -76557,7 +76557,7 @@ "isPure": false, "lValueRequested": false, "member_name": "functionCall", - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)" }, "children": [ @@ -76566,18 +76566,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3428, + "id": 2920, "name": "Identifier", - "src": "61259:2:1" + "src": "62997:2:0" } ], - "id": 3429, + "id": 2921, "name": "MemberAccess", - "src": "61259:15:1" + "src": "62997:15:0" }, { "attributes": { @@ -76635,14 +76635,14 @@ "type": "abi", "value": "abi" }, - "id": 3430, + "id": 2922, "name": "Identifier", - "src": "61275:3:1" + "src": "63013:3:0" } ], - "id": 3431, + "id": 2923, "name": "MemberAccess", - "src": "61275:22:1" + "src": "63013:22:0" }, { "attributes": { @@ -76661,7 +76661,7 @@ "isPure": false, "lValueRequested": false, "member_name": "onERC721Received", - "referencedDeclaration": 725, + "referencedDeclaration": 217, "type": "function (address,address,uint256,bytes memory) external returns (bytes4)" }, "children": [ @@ -76691,41 +76691,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 726, + "referencedDeclaration": 218, "type": "type(contract IERC721Receiver)", "value": "IERC721Receiver" }, - "id": 3432, + "id": 2924, "name": "Identifier", - "src": "61311:15:1" + "src": "63050:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3433, + "id": 2925, "name": "Identifier", - "src": "61327:2:1" + "src": "63066:2:0" } ], - "id": 3434, + "id": 2926, "name": "FunctionCall", - "src": "61311:19:1" + "src": "63050:19:0" } ], - "id": 3435, + "id": 2927, "name": "MemberAccess", - "src": "61311:36:1" + "src": "63050:36:0" } ], - "id": 3436, + "id": 2928, "name": "MemberAccess", - "src": "61311:45:1" + "src": "63050:45:0" }, { "attributes": { @@ -76753,62 +76753,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3437, + "id": 2929, "name": "Identifier", - "src": "61370:10:1" + "src": "63110:10:0" } ], - "id": 3438, + "id": 2930, "name": "FunctionCall", - "src": "61370:12:1" + "src": "63110:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3407, + "referencedDeclaration": 2899, "type": "address", "value": "from" }, - "id": 3439, + "id": 2931, "name": "Identifier", - "src": "61396:4:1" + "src": "63137:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3411, + "referencedDeclaration": 2903, "type": "uint256", "value": "tokenId" }, - "id": 3440, + "id": 2932, "name": "Identifier", - "src": "61414:7:1" + "src": "63156:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3413, + "referencedDeclaration": 2905, "type": "bytes memory", "value": "_data" }, - "id": 3441, + "id": 2933, "name": "Identifier", - "src": "61435:5:1" + "src": "63178:5:0" } ], - "id": 3442, + "id": 2934, "name": "FunctionCall", - "src": "61275:175:1" + "src": "63013:181:0" }, { "attributes": { @@ -76821,24 +76821,24 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3443, + "id": 2935, "name": "Literal", - "src": "61452:52:1" + "src": "63196:52:0" } ], - "id": 3444, + "id": 2936, "name": "FunctionCall", - "src": "61259:246:1" + "src": "62997:252:0" } ], - "id": 3445, + "id": 2937, "name": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "attributes": { "assignments": [ - 3447 + 2939 ] }, "children": [ @@ -76847,7 +76847,7 @@ "constant": false, "mutability": "mutable", "name": "retval", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -76859,14 +76859,14 @@ "name": "bytes4", "type": "bytes4" }, - "id": 3446, + "id": 2938, "name": "ElementaryTypeName", - "src": "61515:6:1" + "src": "63260:6:0" } ], - "id": 3447, + "id": 2939, "name": "VariableDeclaration", - "src": "61515:13:1" + "src": "63260:13:0" }, { "attributes": { @@ -76912,27 +76912,27 @@ "type": "abi", "value": "abi" }, - "id": 3448, + "id": 2940, "name": "Identifier", - "src": "61531:3:1" + "src": "63276:3:0" } ], - "id": 3449, + "id": 2941, "name": "MemberAccess", - "src": "61531:10:1" + "src": "63276:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3427, + "referencedDeclaration": 2919, "type": "bytes memory", "value": "returndata" }, - "id": 3450, + "id": 2942, "name": "Identifier", - "src": "61542:10:1" + "src": "63287:10:0" }, { "attributes": { @@ -76957,33 +76957,33 @@ "attributes": { "name": "bytes4" }, - "id": 3451, + "id": 2943, "name": "ElementaryTypeName", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3452, + "id": 2944, "name": "ElementaryTypeNameExpression", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3453, + "id": 2945, "name": "TupleExpression", - "src": "61554:8:1" + "src": "63299:8:0" } ], - "id": 3454, + "id": 2946, "name": "FunctionCall", - "src": "61531:32:1" + "src": "63276:32:0" } ], - "id": 3455, + "id": 2947, "name": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -77015,51 +77015,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3447, + "referencedDeclaration": 2939, "type": "bytes4", "value": "retval" }, - "id": 3456, + "id": 2948, "name": "Identifier", - "src": "61581:6:1" + "src": "63327:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2596, + "referencedDeclaration": 2088, "type": "bytes4", "value": "_ERC721_RECEIVED" }, - "id": 3457, + "id": 2949, "name": "Identifier", - "src": "61591:16:1" + "src": "63337:16:0" } ], - "id": 3458, + "id": 2950, "name": "BinaryOperation", - "src": "61581:26:1" + "src": "63327:26:0" } ], - "id": 3459, + "id": 2951, "name": "TupleExpression", - "src": "61580:28:1" + "src": "63326:28:0" } ], - "id": 3460, + "id": 2952, "name": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ], - "id": 3461, + "id": 2953, "name": "Block", - "src": "61156:459:1" + "src": "62890:472:0" } ], - "id": 3462, + "id": 2954, "name": "FunctionDefinition", - "src": "61026:589:1" + "src": "62758:604:0" }, { "attributes": { @@ -77070,7 +77070,7 @@ null ], "name": "_approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77080,9 +77080,9 @@ "attributes": { "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3463, + "id": 2955, "name": "StructuredDocumentation", - "src": "61621:101:1" + "src": "63370:105:0" }, { "children": [ @@ -77091,7 +77091,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77104,21 +77104,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3464, + "id": 2956, "name": "ElementaryTypeName", - "src": "61745:7:1" + "src": "63499:7:0" } ], - "id": 3465, + "id": 2957, "name": "VariableDeclaration", - "src": "61745:10:1" + "src": "63499:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77130,19 +77130,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3466, + "id": 2958, "name": "ElementaryTypeName", - "src": "61757:7:1" + "src": "63511:7:0" } ], - "id": 3467, + "id": 2959, "name": "VariableDeclaration", - "src": "61757:15:1" + "src": "63511:15:0" } ], - "id": 3468, + "id": 2960, "name": "ParameterList", - "src": "61744:29:1" + "src": "63498:29:0" }, { "attributes": { @@ -77151,9 +77151,9 @@ ] }, "children": [], - "id": 3469, + "id": 2961, "name": "ParameterList", - "src": "61791:0:1" + "src": "63545:0:0" }, { "children": [ @@ -77183,54 +77183,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 3470, + "id": 2962, "name": "Identifier", - "src": "61801:15:1" + "src": "63556:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3471, + "id": 2963, "name": "Identifier", - "src": "61817:7:1" + "src": "63572:7:0" } ], - "id": 3472, + "id": 2964, "name": "IndexAccess", - "src": "61801:24:1" + "src": "63556:24:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3473, + "id": 2965, "name": "Identifier", - "src": "61828:2:1" + "src": "63583:2:0" } ], - "id": 3474, + "id": 2966, "name": "Assignment", - "src": "61801:29:1" + "src": "63556:29:0" } ], - "id": 3475, + "id": 2967, "name": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "children": [ @@ -77268,13 +77268,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 563, + "referencedDeclaration": 55, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 3476, + "id": 2968, "name": "Identifier", - "src": "61845:8:1" + "src": "63601:8:0" }, { "attributes": { @@ -77304,7 +77304,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -77313,82 +77313,82 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3477, + "id": 2969, "name": "Identifier", - "src": "61854:6:1" + "src": "63610:6:0" } ], - "id": 3478, + "id": 2970, "name": "MemberAccess", - "src": "61854:14:1" + "src": "63610:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3479, + "id": 2971, "name": "Identifier", - "src": "61869:7:1" + "src": "63625:7:0" } ], - "id": 3480, + "id": 2972, "name": "FunctionCall", - "src": "61854:23:1" + "src": "63610:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3481, + "id": 2973, "name": "Identifier", - "src": "61879:2:1" + "src": "63635:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3482, + "id": 2974, "name": "Identifier", - "src": "61883:7:1" + "src": "63639:7:0" } ], - "id": 3483, + "id": 2975, "name": "FunctionCall", - "src": "61845:46:1" + "src": "63601:46:0" } ], - "id": 3484, + "id": 2976, "name": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ], - "id": 3485, + "id": 2977, "name": "Block", - "src": "61791:125:1" + "src": "63545:128:0" } ], - "id": 3486, + "id": 2978, "name": "FunctionDefinition", - "src": "61727:189:1" + "src": "63481:192:0" }, { "attributes": { @@ -77399,7 +77399,7 @@ null ], "name": "_beforeTokenTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77409,9 +77409,9 @@ "attributes": { "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3487, + "id": 2979, "name": "StructuredDocumentation", - "src": "61922:585:1" + "src": "63681:599:0" }, { "children": [ @@ -77420,7 +77420,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77433,21 +77433,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3488, + "id": 2980, "name": "ElementaryTypeName", - "src": "62542:7:1" + "src": "64316:7:0" } ], - "id": 3489, + "id": 2981, "name": "VariableDeclaration", - "src": "62542:12:1" + "src": "64316:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77460,21 +77460,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3490, + "id": 2982, "name": "ElementaryTypeName", - "src": "62556:7:1" + "src": "64330:7:0" } ], - "id": 3491, + "id": 2983, "name": "VariableDeclaration", - "src": "62556:10:1" + "src": "64330:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77486,19 +77486,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3492, + "id": 2984, "name": "ElementaryTypeName", - "src": "62568:7:1" + "src": "64342:7:0" } ], - "id": 3493, + "id": 2985, "name": "VariableDeclaration", - "src": "62568:15:1" + "src": "64342:15:0" } ], - "id": 3494, + "id": 2986, "name": "ParameterList", - "src": "62541:43:1" + "src": "64315:43:0" }, { "attributes": { @@ -77507,9 +77507,9 @@ ] }, "children": [], - "id": 3495, + "id": 2987, "name": "ParameterList", - "src": "62602:0:1" + "src": "64376:0:0" }, { "attributes": { @@ -77518,32 +77518,32 @@ ] }, "children": [], - "id": 3496, + "id": 2988, "name": "Block", - "src": "62602:3:1" + "src": "64376:3:0" } ], - "id": 3497, + "id": 2989, "name": "FunctionDefinition", - "src": "62512:93:1" + "src": "64286:93:0" } ], - "id": 3498, + "id": 2990, "name": "ContractDefinition", - "src": "46080:16527:1" + "src": "47398:16984:0" } ], - "id": 3499, + "id": 2991, "name": "SourceUnit", - "src": "84:62524:1" + "src": "87:64297:0" }, "compiler": { "name": "solc", "version": "0.7.6+commit.7338295f.Emscripten.clang" }, "networks": {}, - "schemaVersion": "3.3.4", - "updatedAt": "2021-03-13T11:18:06.883Z", + "schemaVersion": "3.4.3", + "updatedAt": "2021-10-13T09:55:46.772Z", "devdoc": { "details": "Collection of functions related to the address type", "kind": "dev", diff --git a/src/abis/Context.json b/src/abis/Context.json index 0fdec16..1ba6ff8 100644 --- a/src/abis/Context.json +++ b/src/abis/Context.json @@ -1,7 +1,7 @@ { "contractName": "Context", "abi": [], - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":\"Context\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":{\"keccak256\":\"0xac9220652f9879c5fb3116025d59e8fbf6c2c3d149aed9f617b88edd31402044\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://48de100723de94a6590c6db5bae5098a93445194389c3f3eeb104c7239ef3044\",\"dweb:/ipfs/QmVHLEtfLqBqX7XQRHfLuuwtufRBFJFHfgY4zbFRpaZwXC\"]}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/src/contracts/ERC721.sol\":\"Context\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/src/contracts/ERC721.sol\":{\"keccak256\":\"0xbbf5d35e3785428d14b29cf40a6a1f82d9275af46f6f80ec5f330615911aa767\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e5479e3deda288fc9c642c0449113673031cb9834a3507621d5bd7e292969e16\",\"dweb:/ipfs/QmcKjBg55emL46LCBPRw1Y79fz3aGiMiQXFeWcDpJisEgJ\"]}},\"version\":1}", "bytecode": "0x", "deployedBytecode": "0x", "immutableReferences": {}, @@ -9,57 +9,57 @@ "deployedGeneratedSources": [], "sourceMap": "", "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: MIT\n\n// File: @openzeppelin/contracts/utils/Context.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/*\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with GSN meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n function _msgSender() internal view virtual returns (address payable) {\n return msg.sender;\n }\n\n function _msgData() internal view virtual returns (bytes memory) {\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\n return msg.data;\n }\n}\n\n// File: @openzeppelin/contracts/introspection/IERC165.sol\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n /**\n * @dev Returns true if this contract implements the interface defined by\n * `interfaceId`. See the corresponding\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n * to learn more about how these ids are created.\n *\n * This function call must use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n /**\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n */\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n */\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n */\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n /**\n * @dev Returns the number of tokens in ``owner``'s account.\n */\n function balanceOf(address owner) external view returns (uint256 balance);\n\n /**\n * @dev Returns the owner of the `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function ownerOf(uint256 tokenId) external view returns (address owner);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Transfers `tokenId` token from `from` to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n * The approval is cleared when the token is transferred.\n *\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n *\n * Requirements:\n *\n * - The caller must own the token or be an approved operator.\n * - `tokenId` must exist.\n *\n * Emits an {Approval} event.\n */\n function approve(address to, uint256 tokenId) external;\n\n /**\n * @dev Returns the account approved for `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function getApproved(uint256 tokenId) external view returns (address operator);\n\n /**\n * @dev Approve or remove `operator` as an operator for the caller.\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n *\n * Requirements:\n *\n * - The `operator` cannot be the caller.\n *\n * Emits an {ApprovalForAll} event.\n */\n function setApprovalForAll(address operator, bool _approved) external;\n\n /**\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n *\n * See {setApprovalForAll}\n */\n function isApprovedForAll(address owner, address operator) external view returns (bool);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n\n /**\n * @dev Returns the token collection name.\n */\n function name() external view returns (string memory);\n\n /**\n * @dev Returns the token collection symbol.\n */\n function symbol() external view returns (string memory);\n\n /**\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n */\n function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\n\n\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Enumerable is IERC721 {\n\n /**\n * @dev Returns the total amount of tokens stored by the contract.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\n\n /**\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n * Use along with {totalSupply} to enumerate all tokens.\n */\n function tokenByIndex(uint256 index) external view returns (uint256);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\n\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC721 asset contracts.\n */\ninterface IERC721Receiver {\n /**\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n * by `operator` from `from`, this function is called.\n *\n * It must return its Solidity selector to confirm the token transfer.\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n *\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\n */\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\n}\n\n// File: @openzeppelin/contracts/introspection/ERC165.sol\npragma solidity >=0.6.0 <0.8.0;\n\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts may inherit from this and call {_registerInterface} to declare\n * their support of an interface.\n */\nabstract contract ERC165 is IERC165 {\n /*\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\n */\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\n\n /**\n * @dev Mapping of interface ids to whether or not it's supported.\n */\n mapping(bytes4 => bool) private _supportedInterfaces;\n\n constructor () {\n // Derived contracts need only register support for their own interfaces,\n // we register support for ERC165 itself here\n _registerInterface(_INTERFACE_ID_ERC165);\n }\n\n /**\n * @dev See {IERC165-supportsInterface}.\n *\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n return _supportedInterfaces[interfaceId];\n }\n\n /**\n * @dev Registers the contract as an implementer of the interface defined by\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\n * registering its interface id is not required.\n *\n * See {IERC165-supportsInterface}.\n *\n * Requirements:\n *\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\n */\n function _registerInterface(bytes4 interfaceId) internal virtual {\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\n _supportedInterfaces[interfaceId] = true;\n }\n}\n\n// File: @openzeppelin/contracts/math/SafeMath.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\n * checks.\n *\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\n * in bugs, because programmers usually assume that an overflow raises an\n * error, which is the standard behavior in high level programming languages.\n * `SafeMath` restores this intuition by reverting the transaction when an\n * operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeMath {\n /**\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n uint256 c = a + b;\n if (c < a) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b > a) return (false, 0);\n return (true, a - b);\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n // benefit is lost if 'b' is also tested.\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n if (a == 0) return (true, 0);\n uint256 c = a * b;\n if (c / a != b) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a / b);\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a % b);\n }\n\n /**\n * @dev Returns the addition of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `+` operator.\n *\n * Requirements:\n *\n * - Addition cannot overflow.\n */\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a + b;\n require(c >= a, \"SafeMath: addition overflow\");\n return c;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting on\n * overflow (when the result is negative).\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b <= a, \"SafeMath: subtraction overflow\");\n return a - b;\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `*` operator.\n *\n * Requirements:\n *\n * - Multiplication cannot overflow.\n */\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) return 0;\n uint256 c = a * b;\n require(c / a == b, \"SafeMath: multiplication overflow\");\n return c;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting on\n * division by zero. The result is rounded towards zero.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: division by zero\");\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting when dividing by zero.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: modulo by zero\");\n return a % b;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n * overflow (when the result is negative).\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {trySub}.\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b <= a, errorMessage);\n return a - b;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\n * division by zero. The result is rounded towards zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryDiv}.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting with custom message when dividing by zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryMod}.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a % b;\n }\n}\n\n// File: @openzeppelin/contracts/utils/Address.sol\npragma solidity >=0.6.2 <0.8.0;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n /**\n * @dev Returns true if `account` is a contract.\n *\n * [IMPORTANT]\n * ====\n * It is unsafe to assume that an address for which this function returns\n * false is an externally-owned account (EOA) and not a contract.\n *\n * Among others, `isContract` will return false for the following\n * types of addresses:\n *\n * - an externally-owned account\n * - a contract in construction\n * - an address where a contract will be created\n * - an address where a contract lived, but was destroyed\n * ====\n */\n function isContract(address account) internal view returns (bool) {\n // This method relies on extcodesize, which returns 0 for contracts in\n // construction, since the code is only stored at the end of the\n // constructor execution.\n\n uint256 size;\n // solhint-disable-next-line no-inline-assembly\n assembly { size := extcodesize(account) }\n return size > 0;\n }\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\n (bool success, ) = recipient.call{ value: amount }(\"\");\n require(success, \"Address: unable to send value, recipient may have reverted\");\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain`call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason, it is bubbled up by this\n * function (like regular Solidity function calls).\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCall(target, data, \"Address: low-level call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n * `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n * with `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\n require(isContract(target), \"Address: call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\n require(isContract(target), \"Address: static call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.staticcall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n require(isContract(target), \"Address: delegate call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.delegatecall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\n if (success) {\n return returndata;\n } else {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n\n // solhint-disable-next-line no-inline-assembly\n assembly {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert(errorMessage);\n }\n }\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n * types.\n *\n * Sets have the following properties:\n *\n * - Elements are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableSet for EnumerableSet.AddressSet;\n *\n * // Declare a set state variable\n * EnumerableSet.AddressSet private mySet;\n * }\n * ```\n *\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n * and `uint256` (`UintSet`) are supported.\n */\nlibrary EnumerableSet {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Set type with\n // bytes32 values.\n // The Set implementation uses private functions, and user-facing\n // implementations (such as AddressSet) are just wrappers around the\n // underlying Set.\n // This means that we can only create new EnumerableSets for types that fit\n // in bytes32.\n\n struct Set {\n // Storage of set values\n bytes32[] _values;\n\n // Position of the value in the `values` array, plus 1 because index 0\n // means a value is not in the set.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function _add(Set storage set, bytes32 value) private returns (bool) {\n if (!_contains(set, value)) {\n set._values.push(value);\n // The value is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n set._indexes[value] = set._values.length;\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function _remove(Set storage set, bytes32 value) private returns (bool) {\n // We read and store the value's index to prevent multiple reads from the same storage slot\n uint256 valueIndex = set._indexes[value];\n\n if (valueIndex != 0) { // Equivalent to contains(set, value)\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\n // the array, and then remove the last element (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = valueIndex - 1;\n uint256 lastIndex = set._values.length - 1;\n\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n bytes32 lastvalue = set._values[lastIndex];\n\n // Move the last value to the index where the value to delete is\n set._values[toDeleteIndex] = lastvalue;\n // Update the index for the moved value\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved value was stored\n set._values.pop();\n\n // Delete the index for the deleted slot\n delete set._indexes[value];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\n return set._indexes[value] != 0;\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function _length(Set storage set) private view returns (uint256) {\n return set._values.length;\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\n return set._values[index];\n }\n\n // Bytes32Set\n\n struct Bytes32Set {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _add(set._inner, value);\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _remove(set._inner, value);\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\n return _contains(set._inner, value);\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(Bytes32Set storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\n return _at(set._inner, index);\n }\n\n // AddressSet\n\n struct AddressSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(AddressSet storage set, address value) internal returns (bool) {\n return _add(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(AddressSet storage set, address value) internal returns (bool) {\n return _remove(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(AddressSet storage set, address value) internal view returns (bool) {\n return _contains(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(AddressSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\n return address(uint160(uint256(_at(set._inner, index))));\n }\n\n\n // UintSet\n\n struct UintSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(UintSet storage set, uint256 value) internal returns (bool) {\n return _add(set._inner, bytes32(value));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\n return _remove(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\n return _contains(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function length(UintSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\n return uint256(_at(set._inner, index));\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing an enumerable variant of Solidity's\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n * type.\n *\n * Maps have the following properties:\n *\n * - Entries are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\n *\n * // Declare a set state variable\n * EnumerableMap.UintToAddressMap private myMap;\n * }\n * ```\n *\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n * supported.\n */\nlibrary EnumerableMap {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Map type with\n // bytes32 keys and values.\n // The Map implementation uses private functions, and user-facing\n // implementations (such as Uint256ToAddressMap) are just wrappers around\n // the underlying Map.\n // This means that we can only create new EnumerableMaps for types that fit\n // in bytes32.\n\n struct MapEntry {\n bytes32 _key;\n bytes32 _value;\n }\n\n struct Map {\n // Storage of map keys and values\n MapEntry[] _entries;\n\n // Position of the entry defined by a key in the `entries` array, plus 1\n // because index 0 means a key is not in the map.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\n map._entries.push(MapEntry({ _key: key, _value: value }));\n // The entry is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n map._indexes[key] = map._entries.length;\n return true;\n } else {\n map._entries[keyIndex - 1]._value = value;\n return false;\n }\n }\n\n /**\n * @dev Removes a key-value pair from a map. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function _remove(Map storage map, bytes32 key) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex != 0) { // Equivalent to contains(map, key)\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = keyIndex - 1;\n uint256 lastIndex = map._entries.length - 1;\n\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n MapEntry storage lastEntry = map._entries[lastIndex];\n\n // Move the last entry to the index where the entry to delete is\n map._entries[toDeleteIndex] = lastEntry;\n // Update the index for the moved entry\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved entry was stored\n map._entries.pop();\n\n // Delete the index for the deleted slot\n delete map._indexes[key];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\n return map._indexes[key] != 0;\n }\n\n /**\n * @dev Returns the number of key-value pairs in the map. O(1).\n */\n function _length(Map storage map) private view returns (uint256) {\n return map._entries.length;\n }\n\n /**\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\n *\n * Note that there are no guarantees on the ordering of entries inside the\n * array, and it may change when more entries are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\n\n MapEntry storage entry = map._entries[index];\n return (entry._key, entry._value);\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n */\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\n uint256 keyIndex = map._indexes[key];\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n /**\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {_tryGet}.\n */\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n // UintToAddressMap\n\n struct UintToAddressMap {\n Map _inner;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\n return _remove(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\n return _contains(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns the number of elements in the map. O(1).\n */\n function length(UintToAddressMap storage map) internal view returns (uint256) {\n return _length(map._inner);\n }\n\n /**\n * @dev Returns the element stored at position `index` in the set. O(1).\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\n (bytes32 key, bytes32 value) = _at(map._inner, index);\n return (uint256(key), address(uint160(uint256(value))));\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n *\n * _Available since v3.4._\n */\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\n return (success, address(uint160(uint256(value))));\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\n }\n\n /**\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryGet}.\n */\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\n }\n}\n\n// File: @openzeppelin/contracts/utils/Strings.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n /**\n * @dev Converts a `uint256` to its ASCII `string` representation.\n */\n function toString(uint256 value) internal pure returns (string memory) {\n // Inspired by OraclizeAPI's implementation - MIT licence\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\n\n if (value == 0) {\n return \"0\";\n }\n uint256 temp = value;\n uint256 digits;\n while (temp != 0) {\n digits++;\n temp /= 10;\n }\n bytes memory buffer = new bytes(digits);\n uint256 index = digits - 1;\n temp = value;\n while (temp != 0) {\n buffer[index--] = bytes1(uint8(48 + temp % 10));\n temp /= 10;\n }\n return string(buffer);\n }\n}\n\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 Non-Fungible Token Standard basic implementation\n * @dev see https://eips.ethereum.org/EIPS/eip-721\n */\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\n using SafeMath for uint256;\n using Address for address;\n using EnumerableSet for EnumerableSet.UintSet;\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n using Strings for uint256;\n\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\n\n // Mapping from holder address to their (enumerable) set of owned tokens\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\n\n // Enumerable mapping from token ids to their owners\n EnumerableMap.UintToAddressMap private _tokenOwners;\n\n // Mapping from token ID to approved address\n mapping (uint256 => address) private _tokenApprovals;\n\n // Mapping from owner to operator approvals\n mapping (address => mapping (address => bool)) private _operatorApprovals;\n\n // Token name\n string private _name;\n\n // Token symbol\n string private _symbol;\n\n // Optional mapping for token URIs\n mapping (uint256 => string) private _tokenURIs;\n\n // Base URI\n string private _baseURI;\n\n /*\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\n *\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\n */\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\n\n /*\n * bytes4(keccak256('name()')) == 0x06fdde03\n * bytes4(keccak256('symbol()')) == 0x95d89b41\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\n *\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\n */\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\n\n /*\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\n *\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\n */\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\n\n /**\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\n */\n constructor (string memory name_, string memory symbol_) {\n _name = name_;\n _symbol = symbol_;\n\n // register the supported interfaces to conform to ERC721 via ERC165\n _registerInterface(_INTERFACE_ID_ERC721);\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\n }\n\n /**\n * @dev See {IERC721-balanceOf}.\n */\n function balanceOf(address owner) public view virtual override returns (uint256) {\n require(owner != address(0), \"ERC721: balance query for the zero address\");\n return _holderTokens[owner].length();\n }\n\n /**\n * @dev See {IERC721-ownerOf}.\n */\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\n }\n\n /**\n * @dev See {IERC721Metadata-name}.\n */\n function name() public view virtual override returns (string memory) {\n return _name;\n }\n\n /**\n * @dev See {IERC721Metadata-symbol}.\n */\n function symbol() public view virtual override returns (string memory) {\n return _symbol;\n }\n\n /**\n * @dev See {IERC721Metadata-tokenURI}.\n */\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\n\n string memory _tokenURI = _tokenURIs[tokenId];\n string memory base = baseURI();\n\n // If there is no base URI, return the token URI.\n if (bytes(base).length == 0) {\n return _tokenURI;\n }\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\n if (bytes(_tokenURI).length > 0) {\n return string(abi.encodePacked(base, _tokenURI));\n }\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\n return string(abi.encodePacked(base, tokenId.toString()));\n }\n\n /**\n * @dev Returns the base URI set via {_setBaseURI}. This will be\n * automatically added as a prefix in {tokenURI} to each token's URI, or\n * to the token ID if no specific URI is set for that token ID.\n */\n function baseURI() public view virtual returns (string memory) {\n return _baseURI;\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\n return _holderTokens[owner].at(index);\n }\n\n /**\n * @dev See {IERC721Enumerable-totalSupply}.\n */\n function totalSupply() public view virtual override returns (uint256) {\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\n return _tokenOwners.length();\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenByIndex}.\n */\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\n (uint256 tokenId, ) = _tokenOwners.at(index);\n return tokenId;\n }\n\n /**\n * @dev See {IERC721-approve}.\n */\n function approve(address to, uint256 tokenId) public virtual override {\n address owner = ERC721.ownerOf(tokenId);\n require(to != owner, \"ERC721: approval to current owner\");\n\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\n \"ERC721: approve caller is not owner nor approved for all\"\n );\n\n _approve(to, tokenId);\n }\n\n /**\n * @dev See {IERC721-getApproved}.\n */\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\n\n return _tokenApprovals[tokenId];\n }\n\n /**\n * @dev See {IERC721-setApprovalForAll}.\n */\n function setApprovalForAll(address operator, bool approved) public virtual override {\n require(operator != _msgSender(), \"ERC721: approve to caller\");\n\n _operatorApprovals[_msgSender()][operator] = approved;\n emit ApprovalForAll(_msgSender(), operator, approved);\n }\n\n /**\n * @dev See {IERC721-isApprovedForAll}.\n */\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\n return _operatorApprovals[owner][operator];\n }\n\n /**\n * @dev See {IERC721-transferFrom}.\n */\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\n //solhint-disable-next-line max-line-length\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n\n _transfer(from, to, tokenId);\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\n safeTransferFrom(from, to, tokenId, \"\");\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n _safeTransfer(from, to, tokenId, _data);\n }\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\n *\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n * implement alternative mechanisms to perform token transfer, such as signature-based.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\n _transfer(from, to, tokenId);\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Returns whether `tokenId` exists.\n *\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n *\n * Tokens start existing when they are minted (`_mint`),\n * and stop existing when they are burned (`_burn`).\n */\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\n return _tokenOwners.contains(tokenId);\n }\n\n /**\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\n address owner = ERC721.ownerOf(tokenId);\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\n }\n\n /**\n * @dev Safely mints `tokenId` and transfers it to `to`.\n *\n * Requirements:\n d*\n * - `tokenId` must not exist.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeMint(address to, uint256 tokenId) internal virtual {\n _safeMint(to, tokenId, \"\");\n }\n\n /**\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n */\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\n _mint(to, tokenId);\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Mints `tokenId` and transfers it to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n *\n * Requirements:\n *\n * - `tokenId` must not exist.\n * - `to` cannot be the zero address.\n *\n * Emits a {Transfer} event.\n */\n function _mint(address to, uint256 tokenId) internal virtual {\n require(to != address(0), \"ERC721: mint to the zero address\");\n require(!_exists(tokenId), \"ERC721: token already minted\");\n\n _beforeTokenTransfer(address(0), to, tokenId);\n\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(address(0), to, tokenId);\n }\n\n /**\n * @dev Destroys `tokenId`.\n * The approval is cleared when the token is burned.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n *\n * Emits a {Transfer} event.\n */\n function _burn(uint256 tokenId) internal virtual {\n address owner = ERC721.ownerOf(tokenId); // internal owner\n\n _beforeTokenTransfer(owner, address(0), tokenId);\n\n // Clear approvals\n _approve(address(0), tokenId);\n\n // Clear metadata (if any)\n if (bytes(_tokenURIs[tokenId]).length != 0) {\n delete _tokenURIs[tokenId];\n }\n\n _holderTokens[owner].remove(tokenId);\n\n _tokenOwners.remove(tokenId);\n\n emit Transfer(owner, address(0), tokenId);\n }\n\n /**\n * @dev Transfers `tokenId` from `from` to `to`.\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n *\n * Requirements:\n *\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n *\n * Emits a {Transfer} event.\n */\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\n require(to != address(0), \"ERC721: transfer to the zero address\");\n\n _beforeTokenTransfer(from, to, tokenId);\n\n // Clear approvals from the previous owner\n _approve(address(0), tokenId);\n\n _holderTokens[from].remove(tokenId);\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(from, to, tokenId);\n }\n\n /**\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\n _tokenURIs[tokenId] = _tokenURI;\n }\n\n /**\n * @dev Internal function to set the base URI for all token IDs. It is\n * automatically added as a prefix to the value returned in {tokenURI},\n * or to the token ID if {tokenURI} is empty.\n */\n function _setBaseURI(string memory baseURI_) internal virtual {\n _baseURI = baseURI_;\n }\n\n /**\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n * The call is not executed if the target address is not a contract.\n *\n * @param from address representing the previous owner of the given token ID\n * @param to target address that will receive the tokens\n * @param tokenId uint256 ID of the token to be transferred\n * @param _data bytes optional data to send along with the call\n * @return bool whether the call correctly returned the expected magic value\n */\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\n private returns (bool)\n {\n if (!to.isContract()) {\n return true;\n }\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\n IERC721Receiver(to).onERC721Received.selector,\n _msgSender(),\n from,\n tokenId,\n _data\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\n bytes4 retval = abi.decode(returndata, (bytes4));\n return (retval == _ERC721_RECEIVED);\n }\n\n /**\n * @dev Approve `to` to operate on `tokenId`\n *\n * Emits an {Approval} event.\n */\n function _approve(address to, uint256 tokenId) internal virtual {\n _tokenApprovals[tokenId] = to;\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\n }\n\n /**\n * @dev Hook that is called before any token transfer. This includes minting\n * and burning.\n *\n * Calling conditions:\n *\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n * transferred to `to`.\n * - When `from` is zero, `tokenId` will be minted for `to`.\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n *\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n */\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\n}\n", - "sourcePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "source": "// SPDX-License-Identifier: MIT\r\n\r\n// File: @openzeppelin/contracts/utils/Context.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/*\r\n * @dev Provides information about the current execution context, including the\r\n * sender of the transaction and its data. While these are generally available\r\n * via msg.sender and msg.data, they should not be accessed in such a direct\r\n * manner, since when dealing with GSN meta-transactions the account sending and\r\n * paying for execution may not be the actual sender (as far as an application\r\n * is concerned).\r\n *\r\n * This contract is only required for intermediate, library-like contracts.\r\n */\r\nabstract contract Context {\r\n function _msgSender() internal view virtual returns (address payable) {\r\n return msg.sender;\r\n }\r\n\r\n function _msgData() internal view virtual returns (bytes memory) {\r\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\r\n return msg.data;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/IERC165.sol\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Interface of the ERC165 standard, as defined in the\r\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\r\n *\r\n * Implementers can declare support of contract interfaces, which can then be\r\n * queried by others ({ERC165Checker}).\r\n *\r\n * For an implementation, see {ERC165}.\r\n */\r\ninterface IERC165 {\r\n /**\r\n * @dev Returns true if this contract implements the interface defined by\r\n * `interfaceId`. See the corresponding\r\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\r\n * to learn more about how these ids are created.\r\n *\r\n * This function call must use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Required interface of an ERC721 compliant contract.\r\n */\r\ninterface IERC721 is IERC165 {\r\n /**\r\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\r\n */\r\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\r\n */\r\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\r\n */\r\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\r\n\r\n /**\r\n * @dev Returns the number of tokens in ``owner``'s account.\r\n */\r\n function balanceOf(address owner) external view returns (uint256 balance);\r\n\r\n /**\r\n * @dev Returns the owner of the `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function ownerOf(uint256 tokenId) external view returns (address owner);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Transfers `tokenId` token from `from` to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\r\n * The approval is cleared when the token is transferred.\r\n *\r\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\r\n *\r\n * Requirements:\r\n *\r\n * - The caller must own the token or be an approved operator.\r\n * - `tokenId` must exist.\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function approve(address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Returns the account approved for `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function getApproved(uint256 tokenId) external view returns (address operator);\r\n\r\n /**\r\n * @dev Approve or remove `operator` as an operator for the caller.\r\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\r\n *\r\n * Requirements:\r\n *\r\n * - The `operator` cannot be the caller.\r\n *\r\n * Emits an {ApprovalForAll} event.\r\n */\r\n function setApprovalForAll(address operator, bool _approved) external;\r\n\r\n /**\r\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\r\n *\r\n * See {setApprovalForAll}\r\n */\r\n function isApprovedForAll(address owner, address operator) external view returns (bool);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Metadata is IERC721 {\r\n\r\n /**\r\n * @dev Returns the token collection name.\r\n */\r\n function name() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the token collection symbol.\r\n */\r\n function symbol() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\r\n */\r\n function tokenURI(uint256 tokenId) external view returns (string memory);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\r\n\r\n\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Enumerable is IERC721 {\r\n\r\n /**\r\n * @dev Returns the total amount of tokens stored by the contract.\r\n */\r\n function totalSupply() external view returns (uint256);\r\n\r\n /**\r\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\r\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\r\n\r\n /**\r\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\r\n * Use along with {totalSupply} to enumerate all tokens.\r\n */\r\n function tokenByIndex(uint256 index) external view returns (uint256);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\r\n\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 token receiver interface\r\n * @dev Interface for any contract that wants to support safeTransfers\r\n * from ERC721 asset contracts.\r\n */\r\ninterface IERC721Receiver {\r\n /**\r\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\r\n * by `operator` from `from`, this function is called.\r\n *\r\n * It must return its Solidity selector to confirm the token transfer.\r\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\r\n *\r\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\r\n */\r\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/ERC165.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Implementation of the {IERC165} interface.\r\n *\r\n * Contracts may inherit from this and call {_registerInterface} to declare\r\n * their support of an interface.\r\n */\r\nabstract contract ERC165 is IERC165 {\r\n /*\r\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\r\n\r\n /**\r\n * @dev Mapping of interface ids to whether or not it's supported.\r\n */\r\n mapping(bytes4 => bool) private _supportedInterfaces;\r\n\r\n constructor () {\r\n // Derived contracts need only register support for their own interfaces,\r\n // we register support for ERC165 itself here\r\n _registerInterface(_INTERFACE_ID_ERC165);\r\n }\r\n\r\n /**\r\n * @dev See {IERC165-supportsInterface}.\r\n *\r\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\r\n return _supportedInterfaces[interfaceId];\r\n }\r\n\r\n /**\r\n * @dev Registers the contract as an implementer of the interface defined by\r\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\r\n * registering its interface id is not required.\r\n *\r\n * See {IERC165-supportsInterface}.\r\n *\r\n * Requirements:\r\n *\r\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\r\n */\r\n function _registerInterface(bytes4 interfaceId) internal virtual {\r\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\r\n _supportedInterfaces[interfaceId] = true;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/math/SafeMath.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\r\n * checks.\r\n *\r\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\r\n * in bugs, because programmers usually assume that an overflow raises an\r\n * error, which is the standard behavior in high level programming languages.\r\n * `SafeMath` restores this intuition by reverting the transaction when an\r\n * operation overflows.\r\n *\r\n * Using this library instead of the unchecked operations eliminates an entire\r\n * class of bugs, so it's recommended to use it always.\r\n */\r\nlibrary SafeMath {\r\n /**\r\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n uint256 c = a + b;\r\n if (c < a) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b > a) return (false, 0);\r\n return (true, a - b);\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\r\n // benefit is lost if 'b' is also tested.\r\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\r\n if (a == 0) return (true, 0);\r\n uint256 c = a * b;\r\n if (c / a != b) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a / b);\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a % b);\r\n }\r\n\r\n /**\r\n * @dev Returns the addition of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `+` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Addition cannot overflow.\r\n */\r\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\r\n uint256 c = a + b;\r\n require(c >= a, \"SafeMath: addition overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting on\r\n * overflow (when the result is negative).\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b <= a, \"SafeMath: subtraction overflow\");\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `*` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Multiplication cannot overflow.\r\n */\r\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\r\n if (a == 0) return 0;\r\n uint256 c = a * b;\r\n require(c / a == b, \"SafeMath: multiplication overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: division by zero\");\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting when dividing by zero.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: modulo by zero\");\r\n return a % b;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\r\n * overflow (when the result is negative).\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {trySub}.\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b <= a, errorMessage);\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryDiv}.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting with custom message when dividing by zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryMod}.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a % b;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Address.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n/**\r\n * @dev Collection of functions related to the address type\r\n */\r\nlibrary Address {\r\n /**\r\n * @dev Returns true if `account` is a contract.\r\n *\r\n * [IMPORTANT]\r\n * ====\r\n * It is unsafe to assume that an address for which this function returns\r\n * false is an externally-owned account (EOA) and not a contract.\r\n *\r\n * Among others, `isContract` will return false for the following\r\n * types of addresses:\r\n *\r\n * - an externally-owned account\r\n * - a contract in construction\r\n * - an address where a contract will be created\r\n * - an address where a contract lived, but was destroyed\r\n * ====\r\n */\r\n function isContract(address account) internal view returns (bool) {\r\n // This method relies on extcodesize, which returns 0 for contracts in\r\n // construction, since the code is only stored at the end of the\r\n // constructor execution.\r\n\r\n uint256 size;\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly { size := extcodesize(account) }\r\n return size > 0;\r\n }\r\n\r\n /**\r\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\r\n * `recipient`, forwarding all available gas and reverting on errors.\r\n *\r\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\r\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\r\n * imposed by `transfer`, making them unable to receive funds via\r\n * `transfer`. {sendValue} removes this limitation.\r\n *\r\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\r\n *\r\n * IMPORTANT: because control is transferred to `recipient`, care must be\r\n * taken to not create reentrancy vulnerabilities. Consider using\r\n * {ReentrancyGuard} or the\r\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\r\n */\r\n function sendValue(address payable recipient, uint256 amount) internal {\r\n require(address(this).balance >= amount, \"Address: insufficient balance\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\r\n (bool success, ) = recipient.call{ value: amount }(\"\");\r\n require(success, \"Address: unable to send value, recipient may have reverted\");\r\n }\r\n\r\n /**\r\n * @dev Performs a Solidity function call using a low level `call`. A\r\n * plain`call` is an unsafe replacement for a function call: use this\r\n * function instead.\r\n *\r\n * If `target` reverts with a revert reason, it is bubbled up by this\r\n * function (like regular Solidity function calls).\r\n *\r\n * Returns the raw returned data. To convert to the expected return value,\r\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\r\n *\r\n * Requirements:\r\n *\r\n * - `target` must be a contract.\r\n * - calling `target` with `data` must not revert.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionCall(target, data, \"Address: low-level call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\r\n * `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, 0, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but also transferring `value` wei to `target`.\r\n *\r\n * Requirements:\r\n *\r\n * - the calling contract must have an ETH balance of at least `value`.\r\n * - the called Solidity function must be `payable`.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\r\n * with `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\r\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\r\n require(isContract(target), \"Address: call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\r\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\r\n require(isContract(target), \"Address: static call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.staticcall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n require(isContract(target), \"Address: delegate call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.delegatecall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\r\n if (success) {\r\n return returndata;\r\n } else {\r\n // Look for revert reason and bubble it up if present\r\n if (returndata.length > 0) {\r\n // The easiest way to bubble the revert reason is using memory via assembly\r\n\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n let returndata_size := mload(returndata)\r\n revert(add(32, returndata), returndata_size)\r\n }\r\n } else {\r\n revert(errorMessage);\r\n }\r\n }\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing\r\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\r\n * types.\r\n *\r\n * Sets have the following properties:\r\n *\r\n * - Elements are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableSet for EnumerableSet.AddressSet;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableSet.AddressSet private mySet;\r\n * }\r\n * ```\r\n *\r\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\r\n * and `uint256` (`UintSet`) are supported.\r\n */\r\nlibrary EnumerableSet {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Set type with\r\n // bytes32 values.\r\n // The Set implementation uses private functions, and user-facing\r\n // implementations (such as AddressSet) are just wrappers around the\r\n // underlying Set.\r\n // This means that we can only create new EnumerableSets for types that fit\r\n // in bytes32.\r\n\r\n struct Set {\r\n // Storage of set values\r\n bytes32[] _values;\r\n\r\n // Position of the value in the `values` array, plus 1 because index 0\r\n // means a value is not in the set.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function _add(Set storage set, bytes32 value) private returns (bool) {\r\n if (!_contains(set, value)) {\r\n set._values.push(value);\r\n // The value is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n set._indexes[value] = set._values.length;\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function _remove(Set storage set, bytes32 value) private returns (bool) {\r\n // We read and store the value's index to prevent multiple reads from the same storage slot\r\n uint256 valueIndex = set._indexes[value];\r\n\r\n if (valueIndex != 0) { // Equivalent to contains(set, value)\r\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\r\n // the array, and then remove the last element (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = valueIndex - 1;\r\n uint256 lastIndex = set._values.length - 1;\r\n\r\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n bytes32 lastvalue = set._values[lastIndex];\r\n\r\n // Move the last value to the index where the value to delete is\r\n set._values[toDeleteIndex] = lastvalue;\r\n // Update the index for the moved value\r\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved value was stored\r\n set._values.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete set._indexes[value];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\r\n return set._indexes[value] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function _length(Set storage set) private view returns (uint256) {\r\n return set._values.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\r\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\r\n return set._values[index];\r\n }\r\n\r\n // Bytes32Set\r\n\r\n struct Bytes32Set {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _add(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _remove(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\r\n return _contains(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(Bytes32Set storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\r\n return _at(set._inner, index);\r\n }\r\n\r\n // AddressSet\r\n\r\n struct AddressSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(AddressSet storage set, address value) internal returns (bool) {\r\n return _add(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(AddressSet storage set, address value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(AddressSet storage set, address value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(AddressSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\r\n return address(uint160(uint256(_at(set._inner, index))));\r\n }\r\n\r\n\r\n // UintSet\r\n\r\n struct UintSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _add(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function length(UintSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\r\n return uint256(_at(set._inner, index));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing an enumerable variant of Solidity's\r\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\r\n * type.\r\n *\r\n * Maps have the following properties:\r\n *\r\n * - Entries are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableMap.UintToAddressMap private myMap;\r\n * }\r\n * ```\r\n *\r\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\r\n * supported.\r\n */\r\nlibrary EnumerableMap {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Map type with\r\n // bytes32 keys and values.\r\n // The Map implementation uses private functions, and user-facing\r\n // implementations (such as Uint256ToAddressMap) are just wrappers around\r\n // the underlying Map.\r\n // This means that we can only create new EnumerableMaps for types that fit\r\n // in bytes32.\r\n\r\n struct MapEntry {\r\n bytes32 _key;\r\n bytes32 _value;\r\n }\r\n\r\n struct Map {\r\n // Storage of map keys and values\r\n MapEntry[] _entries;\r\n\r\n // Position of the entry defined by a key in the `entries` array, plus 1\r\n // because index 0 means a key is not in the map.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\r\n map._entries.push(MapEntry({ _key: key, _value: value }));\r\n // The entry is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n map._indexes[key] = map._entries.length;\r\n return true;\r\n } else {\r\n map._entries[keyIndex - 1]._value = value;\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a key-value pair from a map. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function _remove(Map storage map, bytes32 key) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex != 0) { // Equivalent to contains(map, key)\r\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\r\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = keyIndex - 1;\r\n uint256 lastIndex = map._entries.length - 1;\r\n\r\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n MapEntry storage lastEntry = map._entries[lastIndex];\r\n\r\n // Move the last entry to the index where the entry to delete is\r\n map._entries[toDeleteIndex] = lastEntry;\r\n // Update the index for the moved entry\r\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved entry was stored\r\n map._entries.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete map._indexes[key];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\r\n return map._indexes[key] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of key-value pairs in the map. O(1).\r\n */\r\n function _length(Map storage map) private view returns (uint256) {\r\n return map._entries.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of entries inside the\r\n * array, and it may change when more entries are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\r\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\r\n\r\n MapEntry storage entry = map._entries[index];\r\n return (entry._key, entry._value);\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n */\r\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\r\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {_tryGet}.\r\n */\r\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n // UintToAddressMap\r\n\r\n struct UintToAddressMap {\r\n Map _inner;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\r\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\r\n return _remove(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\r\n return _contains(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of elements in the map. O(1).\r\n */\r\n function length(UintToAddressMap storage map) internal view returns (uint256) {\r\n return _length(map._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the element stored at position `index` in the set. O(1).\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\r\n (bytes32 key, bytes32 value) = _at(map._inner, index);\r\n return (uint256(key), address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\r\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\r\n return (success, address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\r\n }\r\n\r\n /**\r\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryGet}.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Strings.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev String operations.\r\n */\r\nlibrary Strings {\r\n /**\r\n * @dev Converts a `uint256` to its ASCII `string` representation.\r\n */\r\n function toString(uint256 value) internal pure returns (string memory) {\r\n // Inspired by OraclizeAPI's implementation - MIT licence\r\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\r\n\r\n if (value == 0) {\r\n return \"0\";\r\n }\r\n uint256 temp = value;\r\n uint256 digits;\r\n while (temp != 0) {\r\n digits++;\r\n temp /= 10;\r\n }\r\n bytes memory buffer = new bytes(digits);\r\n uint256 index = digits - 1;\r\n temp = value;\r\n while (temp != 0) {\r\n buffer[index--] = bytes1(uint8(48 + temp % 10));\r\n temp /= 10;\r\n }\r\n return string(buffer);\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 Non-Fungible Token Standard basic implementation\r\n * @dev see https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\r\n using SafeMath for uint256;\r\n using Address for address;\r\n using EnumerableSet for EnumerableSet.UintSet;\r\n using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n using Strings for uint256;\r\n\r\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\r\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\r\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\r\n\r\n // Mapping from holder address to their (enumerable) set of owned tokens\r\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\r\n\r\n // Enumerable mapping from token ids to their owners\r\n EnumerableMap.UintToAddressMap private _tokenOwners;\r\n\r\n // Mapping from token ID to approved address\r\n mapping (uint256 => address) private _tokenApprovals;\r\n\r\n // Mapping from owner to operator approvals\r\n mapping (address => mapping (address => bool)) private _operatorApprovals;\r\n\r\n // Token name\r\n string private _name;\r\n\r\n // Token symbol\r\n string private _symbol;\r\n\r\n // Optional mapping for token URIs\r\n mapping (uint256 => string) private _tokenURIs;\r\n\r\n // Base URI\r\n string private _baseURI;\r\n\r\n /*\r\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\r\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\r\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\r\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\r\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\r\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\r\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\r\n *\r\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\r\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\r\n\r\n /*\r\n * bytes4(keccak256('name()')) == 0x06fdde03\r\n * bytes4(keccak256('symbol()')) == 0x95d89b41\r\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\r\n *\r\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\r\n\r\n /*\r\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\r\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\r\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\r\n *\r\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\r\n\r\n /**\r\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\r\n */\r\n constructor (string memory name_, string memory symbol_) {\r\n _name = name_;\r\n _symbol = symbol_;\r\n\r\n // register the supported interfaces to conform to ERC721 via ERC165\r\n _registerInterface(_INTERFACE_ID_ERC721);\r\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\r\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-balanceOf}.\r\n */\r\n function balanceOf(address owner) public view virtual override returns (uint256) {\r\n require(owner != address(0), \"ERC721: balance query for the zero address\");\r\n return _holderTokens[owner].length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-ownerOf}.\r\n */\r\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\r\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-name}.\r\n */\r\n function name() public view virtual override returns (string memory) {\r\n return _name;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-symbol}.\r\n */\r\n function symbol() public view virtual override returns (string memory) {\r\n return _symbol;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-tokenURI}.\r\n */\r\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\r\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\r\n\r\n string memory _tokenURI = _tokenURIs[tokenId];\r\n string memory base = baseURI();\r\n\r\n // If there is no base URI, return the token URI.\r\n if (bytes(base).length == 0) {\r\n return _tokenURI;\r\n }\r\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\r\n if (bytes(_tokenURI).length > 0) {\r\n return string(abi.encodePacked(base, _tokenURI));\r\n }\r\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\r\n return string(abi.encodePacked(base, tokenId.toString()));\r\n }\r\n\r\n /**\r\n * @dev Returns the base URI set via {_setBaseURI}. This will be\r\n * automatically added as a prefix in {tokenURI} to each token's URI, or\r\n * to the token ID if no specific URI is set for that token ID.\r\n */\r\n function baseURI() public view virtual returns (string memory) {\r\n return _baseURI;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\r\n return _holderTokens[owner].at(index);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-totalSupply}.\r\n */\r\n function totalSupply() public view virtual override returns (uint256) {\r\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\r\n return _tokenOwners.length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenByIndex}.\r\n */\r\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\r\n (uint256 tokenId, ) = _tokenOwners.at(index);\r\n return tokenId;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-approve}.\r\n */\r\n function approve(address to, uint256 tokenId) public virtual override {\r\n address owner = ERC721.ownerOf(tokenId);\r\n require(to != owner, \"ERC721: approval to current owner\");\r\n\r\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\r\n \"ERC721: approve caller is not owner nor approved for all\"\r\n );\r\n\r\n _approve(to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-getApproved}.\r\n */\r\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\r\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\r\n\r\n return _tokenApprovals[tokenId];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-setApprovalForAll}.\r\n */\r\n function setApprovalForAll(address operator, bool approved) public virtual override {\r\n require(operator != _msgSender(), \"ERC721: approve to caller\");\r\n\r\n _operatorApprovals[_msgSender()][operator] = approved;\r\n emit ApprovalForAll(_msgSender(), operator, approved);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-isApprovedForAll}.\r\n */\r\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\r\n return _operatorApprovals[owner][operator];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-transferFrom}.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n //solhint-disable-next-line max-line-length\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n\r\n _transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n safeTransferFrom(from, to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n _safeTransfer(from, to, tokenId, _data);\r\n }\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\r\n *\r\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\r\n * implement alternative mechanisms to perform token transfer, such as signature-based.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _transfer(from, to, tokenId);\r\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Returns whether `tokenId` exists.\r\n *\r\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\r\n *\r\n * Tokens start existing when they are minted (`_mint`),\r\n * and stop existing when they are burned (`_burn`).\r\n */\r\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\r\n return _tokenOwners.contains(tokenId);\r\n }\r\n\r\n /**\r\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\r\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\r\n address owner = ERC721.ownerOf(tokenId);\r\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\r\n }\r\n\r\n /**\r\n * @dev Safely mints `tokenId` and transfers it to `to`.\r\n *\r\n * Requirements:\r\n d*\r\n * - `tokenId` must not exist.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeMint(address to, uint256 tokenId) internal virtual {\r\n _safeMint(to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\r\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\r\n */\r\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _mint(to, tokenId);\r\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Mints `tokenId` and transfers it to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must not exist.\r\n * - `to` cannot be the zero address.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _mint(address to, uint256 tokenId) internal virtual {\r\n require(to != address(0), \"ERC721: mint to the zero address\");\r\n require(!_exists(tokenId), \"ERC721: token already minted\");\r\n\r\n _beforeTokenTransfer(address(0), to, tokenId);\r\n\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(address(0), to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Destroys `tokenId`.\r\n * The approval is cleared when the token is burned.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _burn(uint256 tokenId) internal virtual {\r\n address owner = ERC721.ownerOf(tokenId); // internal owner\r\n\r\n _beforeTokenTransfer(owner, address(0), tokenId);\r\n\r\n // Clear approvals\r\n _approve(address(0), tokenId);\r\n\r\n // Clear metadata (if any)\r\n if (bytes(_tokenURIs[tokenId]).length != 0) {\r\n delete _tokenURIs[tokenId];\r\n }\r\n\r\n _holderTokens[owner].remove(tokenId);\r\n\r\n _tokenOwners.remove(tokenId);\r\n\r\n emit Transfer(owner, address(0), tokenId);\r\n }\r\n\r\n /**\r\n * @dev Transfers `tokenId` from `from` to `to`.\r\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\r\n *\r\n * Requirements:\r\n *\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\r\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\r\n require(to != address(0), \"ERC721: transfer to the zero address\");\r\n\r\n _beforeTokenTransfer(from, to, tokenId);\r\n\r\n // Clear approvals from the previous owner\r\n _approve(address(0), tokenId);\r\n\r\n _holderTokens[from].remove(tokenId);\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\r\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\r\n _tokenURIs[tokenId] = _tokenURI;\r\n }\r\n\r\n /**\r\n * @dev Internal function to set the base URI for all token IDs. It is\r\n * automatically added as a prefix to the value returned in {tokenURI},\r\n * or to the token ID if {tokenURI} is empty.\r\n */\r\n function _setBaseURI(string memory baseURI_) internal virtual {\r\n _baseURI = baseURI_;\r\n }\r\n\r\n /**\r\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\r\n * The call is not executed if the target address is not a contract.\r\n *\r\n * @param from address representing the previous owner of the given token ID\r\n * @param to target address that will receive the tokens\r\n * @param tokenId uint256 ID of the token to be transferred\r\n * @param _data bytes optional data to send along with the call\r\n * @return bool whether the call correctly returned the expected magic value\r\n */\r\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\r\n private returns (bool)\r\n {\r\n if (!to.isContract()) {\r\n return true;\r\n }\r\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\r\n IERC721Receiver(to).onERC721Received.selector,\r\n _msgSender(),\r\n from,\r\n tokenId,\r\n _data\r\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n bytes4 retval = abi.decode(returndata, (bytes4));\r\n return (retval == _ERC721_RECEIVED);\r\n }\r\n\r\n /**\r\n * @dev Approve `to` to operate on `tokenId`\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function _approve(address to, uint256 tokenId) internal virtual {\r\n _tokenApprovals[tokenId] = to;\r\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\r\n }\r\n\r\n /**\r\n * @dev Hook that is called before any token transfer. This includes minting\r\n * and burning.\r\n *\r\n * Calling conditions:\r\n *\r\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\r\n * transferred to `to`.\r\n * - When `from` is zero, `tokenId` will be minted for `to`.\r\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n *\r\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\r\n */\r\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\r\n}\r\n", + "sourcePath": "C:\\Users\\Noahm\\cryptoboys-nft-marketplace\\src\\contracts\\ERC721.sol", "ast": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, - "id": 3499, + "id": 2991, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 509, + "id": 1, "literals": [ "solidity", ">=", @@ -70,7 +70,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "abstract": true, @@ -78,77 +78,77 @@ "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, - "id": 530, + "id": 22, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 517, + "id": 9, "nodeType": "Block", - "src": "719:34:1", + "src": "735:36:0", "statements": [ { "expression": { "expression": { - "id": 514, + "id": 6, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "736:3:1", + "src": "753:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 515, + "id": 7, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "736:10:1", + "src": "753:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 513, - "id": 516, + "functionReturnParameters": 5, + "id": 8, "nodeType": "Return", - "src": "729:17:1" + "src": "746:17:0" } ] }, - "id": 518, + "id": 10, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgSender", "nodeType": "FunctionDefinition", "parameters": { - "id": 510, + "id": 2, "nodeType": "ParameterList", "parameters": [], - "src": "668:2:1" + "src": "684:2:0" }, "returnParameters": { - "id": 513, + "id": 5, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 512, + "id": 4, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 518, - "src": "702:15:1", + "scope": 10, + "src": "718:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -156,10 +156,10 @@ "typeString": "address payable" }, "typeName": { - "id": 511, + "id": 3, "name": "address", "nodeType": "ElementaryTypeName", - "src": "702:15:1", + "src": "718:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -169,95 +169,95 @@ "visibility": "internal" } ], - "src": "701:17:1" + "src": "717:17:0" }, - "scope": 530, - "src": "649:104:1", + "scope": 22, + "src": "665:106:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 528, + "id": 20, "nodeType": "Block", - "src": "824:165:1", + "src": "844:168:0", "statements": [ { "expression": { - "id": 523, + "id": 15, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "834:4:1", + "src": "855:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 524, + "id": 16, "nodeType": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "expression": { "expression": { - "id": 525, + "id": 17, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "974:3:1", + "src": "996:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 526, + "id": 18, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "data", "nodeType": "MemberAccess", - "src": "974:8:1", + "src": "996:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" } }, - "functionReturnParameters": 522, - "id": 527, + "functionReturnParameters": 14, + "id": 19, "nodeType": "Return", - "src": "967:15:1" + "src": "989:15:0" } ] }, - "id": 529, + "id": 21, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgData", "nodeType": "FunctionDefinition", "parameters": { - "id": 519, + "id": 11, "nodeType": "ParameterList", "parameters": [], - "src": "776:2:1" + "src": "796:2:0" }, "returnParameters": { - "id": 522, + "id": 14, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 521, + "id": 13, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 529, - "src": "810:12:1", + "scope": 21, + "src": "830:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -265,10 +265,10 @@ "typeString": "bytes" }, "typeName": { - "id": 520, + "id": 12, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "810:5:1", + "src": "830:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -277,20 +277,20 @@ "visibility": "internal" } ], - "src": "809:14:1" + "src": "829:14:0" }, - "scope": 530, - "src": "759:230:1", + "scope": 22, + "src": "779:233:0", "stateMutability": "view", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "617:374:1" + "scope": 2991, + "src": "632:383:0" }, { - "id": 531, + "id": 23, "literals": [ "solidity", ">=", @@ -301,7 +301,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "abstract": false, @@ -309,45 +309,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 532, + "id": 24, "nodeType": "StructuredDocumentation", - "src": "1086:279:1", + "src": "1116:287:0", "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, "fullyImplemented": false, - "id": 541, + "id": 33, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 533, + "id": 25, "nodeType": "StructuredDocumentation", - "src": "1390:340:1", + "src": "1430:347:0", "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 540, + "id": 32, "implemented": false, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 536, + "id": 28, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 535, + "id": 27, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1762:18:1", + "scope": 32, + "src": "1810:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -355,10 +355,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 534, + "id": 26, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "1762:6:1", + "src": "1810:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -367,20 +367,20 @@ "visibility": "internal" } ], - "src": "1761:20:1" + "src": "1809:20:0" }, "returnParameters": { - "id": 539, + "id": 31, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 538, + "id": 30, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1805:4:1", + "scope": 32, + "src": "1853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -388,10 +388,10 @@ "typeString": "bool" }, "typeName": { - "id": 537, + "id": 29, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1805:4:1", + "src": "1853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -400,20 +400,20 @@ "visibility": "internal" } ], - "src": "1804:6:1" + "src": "1852:6:0" }, - "scope": 541, - "src": "1735:76:1", + "scope": 33, + "src": "1783:76:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1366:447:1" + "scope": 2991, + "src": "1405:457:0" }, { - "id": 542, + "id": 34, "literals": [ "solidity", ">=", @@ -424,43 +424,43 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 544, + "id": 36, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "1996:7:1", + "referencedDeclaration": 33, + "src": "2054:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 545, + "id": 37, "nodeType": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "documentation": { - "id": 543, + "id": 35, "nodeType": "StructuredDocumentation", - "src": "1907:67:1", + "src": "1962:69:0", "text": " @dev Required interface of an ERC721 compliant contract." }, "fullyImplemented": false, - "id": 655, + "id": 147, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", "nodeType": "ContractDefinition", @@ -468,27 +468,27 @@ { "anonymous": false, "documentation": { - "id": 546, + "id": 38, "nodeType": "StructuredDocumentation", - "src": "2010:88:1", + "src": "2069:90:0", "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 554, + "id": 46, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { - "id": 553, + "id": 45, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 548, + "id": 40, "indexed": true, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2118:20:1", + "scope": 46, + "src": "2180:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -496,10 +496,10 @@ "typeString": "address" }, "typeName": { - "id": 547, + "id": 39, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2118:7:1", + "src": "2180:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -510,13 +510,13 @@ }, { "constant": false, - "id": 550, + "id": 42, "indexed": true, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2140:18:1", + "scope": 46, + "src": "2202:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -524,10 +524,10 @@ "typeString": "address" }, "typeName": { - "id": 549, + "id": 41, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2140:7:1", + "src": "2202:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -538,13 +538,13 @@ }, { "constant": false, - "id": 552, + "id": 44, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2160:23:1", + "scope": 46, + "src": "2222:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -552,10 +552,10 @@ "typeString": "uint256" }, "typeName": { - "id": 551, + "id": 43, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2160:7:1", + "src": "2222:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -564,34 +564,34 @@ "visibility": "internal" } ], - "src": "2117:67:1" + "src": "2179:67:0" }, - "src": "2103:82:1" + "src": "2165:82:0" }, { "anonymous": false, "documentation": { - "id": 555, + "id": 47, "nodeType": "StructuredDocumentation", - "src": "2191:94:1", + "src": "2255:96:0", "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 563, + "id": 55, "name": "Approval", "nodeType": "EventDefinition", "parameters": { - "id": 562, + "id": 54, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 557, + "id": 49, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2305:21:1", + "scope": 55, + "src": "2372:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -599,10 +599,10 @@ "typeString": "address" }, "typeName": { - "id": 556, + "id": 48, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2305:7:1", + "src": "2372:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -613,13 +613,13 @@ }, { "constant": false, - "id": 559, + "id": 51, "indexed": true, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2328:24:1", + "scope": 55, + "src": "2395:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -627,10 +627,10 @@ "typeString": "address" }, "typeName": { - "id": 558, + "id": 50, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2328:7:1", + "src": "2395:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -641,13 +641,13 @@ }, { "constant": false, - "id": 561, + "id": 53, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2354:23:1", + "scope": 55, + "src": "2421:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -655,10 +655,10 @@ "typeString": "uint256" }, "typeName": { - "id": 560, + "id": 52, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2354:7:1", + "src": "2421:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -667,34 +667,34 @@ "visibility": "internal" } ], - "src": "2304:74:1" + "src": "2371:74:0" }, - "src": "2290:89:1" + "src": "2357:89:0" }, { "anonymous": false, "documentation": { - "id": 564, + "id": 56, "nodeType": "StructuredDocumentation", - "src": "2385:117:1", + "src": "2454:119:0", "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 572, + "id": 64, "name": "ApprovalForAll", "nodeType": "EventDefinition", "parameters": { - "id": 571, + "id": 63, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 566, + "id": 58, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2528:21:1", + "scope": 64, + "src": "2600:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -702,10 +702,10 @@ "typeString": "address" }, "typeName": { - "id": 565, + "id": 57, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2528:7:1", + "src": "2600:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -716,13 +716,13 @@ }, { "constant": false, - "id": 568, + "id": 60, "indexed": true, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2551:24:1", + "scope": 64, + "src": "2623:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -730,10 +730,10 @@ "typeString": "address" }, "typeName": { - "id": 567, + "id": 59, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2551:7:1", + "src": "2623:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -744,13 +744,13 @@ }, { "constant": false, - "id": 570, + "id": 62, "indexed": false, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2577:13:1", + "scope": 64, + "src": "2649:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -758,10 +758,10 @@ "typeString": "bool" }, "typeName": { - "id": 569, + "id": 61, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2577:4:1", + "src": "2649:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -770,36 +770,36 @@ "visibility": "internal" } ], - "src": "2527:64:1" + "src": "2599:64:0" }, - "src": "2507:85:1" + "src": "2579:85:0" }, { "documentation": { - "id": 573, + "id": 65, "nodeType": "StructuredDocumentation", - "src": "2598:76:1", + "src": "2672:78:0", "text": " @dev Returns the number of tokens in ``owner``'s account." }, "functionSelector": "70a08231", - "id": 580, + "id": 72, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 576, + "id": 68, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 575, + "id": 67, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2698:13:1", + "scope": 72, + "src": "2775:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -807,10 +807,10 @@ "typeString": "address" }, "typeName": { - "id": 574, + "id": 66, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2698:7:1", + "src": "2775:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -820,20 +820,20 @@ "visibility": "internal" } ], - "src": "2697:15:1" + "src": "2774:15:0" }, "returnParameters": { - "id": 579, + "id": 71, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 578, + "id": 70, "mutability": "mutable", "name": "balance", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2736:15:1", + "scope": 72, + "src": "2813:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -841,10 +841,10 @@ "typeString": "uint256" }, "typeName": { - "id": 577, + "id": 69, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2736:7:1", + "src": "2813:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -853,40 +853,40 @@ "visibility": "internal" } ], - "src": "2735:17:1" + "src": "2812:17:0" }, - "scope": 655, - "src": "2679:74:1", + "scope": 147, + "src": "2756:74:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 581, + "id": 73, "nodeType": "StructuredDocumentation", - "src": "2759:131:1", + "src": "2838:137:0", "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "6352211e", - "id": 588, + "id": 80, "implemented": false, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 584, + "id": 76, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 583, + "id": 75, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2912:15:1", + "scope": 80, + "src": "2998:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -894,10 +894,10 @@ "typeString": "uint256" }, "typeName": { - "id": 582, + "id": 74, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2912:7:1", + "src": "2998:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -906,20 +906,20 @@ "visibility": "internal" } ], - "src": "2911:17:1" + "src": "2997:17:0" }, "returnParameters": { - "id": 587, + "id": 79, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 586, + "id": 78, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2952:13:1", + "scope": 80, + "src": "3038:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -927,10 +927,10 @@ "typeString": "address" }, "typeName": { - "id": 585, + "id": 77, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2952:7:1", + "src": "3038:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -940,40 +940,40 @@ "visibility": "internal" } ], - "src": "2951:15:1" + "src": "3037:15:0" }, - "scope": 655, - "src": "2895:72:1", + "scope": 147, + "src": "2981:72:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 589, + "id": 81, "nodeType": "StructuredDocumentation", - "src": "2973:690:1", + "src": "3061:703:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "42842e0e", - "id": 598, + "id": 90, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 596, + "id": 88, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 591, + "id": 83, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3694:12:1", + "scope": 90, + "src": "3796:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -981,10 +981,10 @@ "typeString": "address" }, "typeName": { - "id": 590, + "id": 82, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3694:7:1", + "src": "3796:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -995,12 +995,12 @@ }, { "constant": false, - "id": 593, + "id": 85, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3708:10:1", + "scope": 90, + "src": "3810:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1008,10 +1008,10 @@ "typeString": "address" }, "typeName": { - "id": 592, + "id": 84, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3708:7:1", + "src": "3810:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1022,12 +1022,12 @@ }, { "constant": false, - "id": 595, + "id": 87, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3720:15:1", + "scope": 90, + "src": "3822:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1035,10 +1035,10 @@ "typeString": "uint256" }, "typeName": { - "id": 594, + "id": 86, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3720:7:1", + "src": "3822:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1047,46 +1047,46 @@ "visibility": "internal" } ], - "src": "3693:43:1" + "src": "3795:43:0" }, "returnParameters": { - "id": 597, + "id": 89, "nodeType": "ParameterList", "parameters": [], - "src": "3745:0:1" + "src": "3847:0:0" }, - "scope": 655, - "src": "3668:78:1", + "scope": 147, + "src": "3770:78:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 599, + "id": 91, "nodeType": "StructuredDocumentation", - "src": "3752:504:1", + "src": "3856:517:0", "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, "functionSelector": "23b872dd", - "id": 608, + "id": 100, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 606, + "id": 98, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 601, + "id": 93, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4283:12:1", + "scope": 100, + "src": "4401:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1094,10 +1094,10 @@ "typeString": "address" }, "typeName": { - "id": 600, + "id": 92, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4283:7:1", + "src": "4401:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1108,12 +1108,12 @@ }, { "constant": false, - "id": 603, + "id": 95, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4297:10:1", + "scope": 100, + "src": "4415:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1121,10 +1121,10 @@ "typeString": "address" }, "typeName": { - "id": 602, + "id": 94, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4297:7:1", + "src": "4415:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1135,12 +1135,12 @@ }, { "constant": false, - "id": 605, + "id": 97, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4309:15:1", + "scope": 100, + "src": "4427:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1148,10 +1148,10 @@ "typeString": "uint256" }, "typeName": { - "id": 604, + "id": 96, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4309:7:1", + "src": "4427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1160,46 +1160,46 @@ "visibility": "internal" } ], - "src": "4282:43:1" + "src": "4400:43:0" }, "returnParameters": { - "id": 607, + "id": 99, "nodeType": "ParameterList", "parameters": [], - "src": "4334:0:1" + "src": "4452:0:0" }, - "scope": 655, - "src": "4261:74:1", + "scope": 147, + "src": "4379:74:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 609, + "id": 101, "nodeType": "StructuredDocumentation", - "src": "4341:452:1", + "src": "4461:464:0", "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, "functionSelector": "095ea7b3", - "id": 616, + "id": 108, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 614, + "id": 106, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 611, + "id": 103, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4815:10:1", + "scope": 108, + "src": "4948:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1207,10 +1207,10 @@ "typeString": "address" }, "typeName": { - "id": 610, + "id": 102, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4815:7:1", + "src": "4948:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1221,12 +1221,12 @@ }, { "constant": false, - "id": 613, + "id": 105, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4827:15:1", + "scope": 108, + "src": "4960:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1234,10 +1234,10 @@ "typeString": "uint256" }, "typeName": { - "id": 612, + "id": 104, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4827:7:1", + "src": "4960:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1246,46 +1246,46 @@ "visibility": "internal" } ], - "src": "4814:29:1" + "src": "4947:29:0" }, "returnParameters": { - "id": 615, + "id": 107, "nodeType": "ParameterList", "parameters": [], - "src": "4852:0:1" + "src": "4985:0:0" }, - "scope": 655, - "src": "4798:55:1", + "scope": 147, + "src": "4931:55:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 617, + "id": 109, "nodeType": "StructuredDocumentation", - "src": "4859:139:1", + "src": "4994:145:0", "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "081812fc", - "id": 624, + "id": 116, "implemented": false, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "parameters": { - "id": 620, + "id": 112, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 619, + "id": 111, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5024:15:1", + "scope": 116, + "src": "5166:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1293,10 +1293,10 @@ "typeString": "uint256" }, "typeName": { - "id": 618, + "id": 110, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5024:7:1", + "src": "5166:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1305,20 +1305,20 @@ "visibility": "internal" } ], - "src": "5023:17:1" + "src": "5165:17:0" }, "returnParameters": { - "id": 623, + "id": 115, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 622, + "id": 114, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5064:16:1", + "scope": 116, + "src": "5206:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1326,10 +1326,10 @@ "typeString": "address" }, "typeName": { - "id": 621, + "id": 113, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5064:7:1", + "src": "5206:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1339,40 +1339,40 @@ "visibility": "internal" } ], - "src": "5063:18:1" + "src": "5205:18:0" }, - "scope": 655, - "src": "5003:79:1", + "scope": 147, + "src": "5145:79:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 625, + "id": 117, "nodeType": "StructuredDocumentation", - "src": "5088:309:1", + "src": "5232:318:0", "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, "functionSelector": "a22cb465", - "id": 632, + "id": 124, "implemented": false, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 630, + "id": 122, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 627, + "id": 119, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5429:16:1", + "scope": 124, + "src": "5583:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1380,10 +1380,10 @@ "typeString": "address" }, "typeName": { - "id": 626, + "id": 118, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5429:7:1", + "src": "5583:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1394,12 +1394,12 @@ }, { "constant": false, - "id": 629, + "id": 121, "mutability": "mutable", "name": "_approved", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5447:14:1", + "scope": 124, + "src": "5601:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1407,10 +1407,10 @@ "typeString": "bool" }, "typeName": { - "id": 628, + "id": 120, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5447:4:1", + "src": "5601:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1419,46 +1419,46 @@ "visibility": "internal" } ], - "src": "5428:34:1" + "src": "5582:34:0" }, "returnParameters": { - "id": 631, + "id": 123, "nodeType": "ParameterList", "parameters": [], - "src": "5471:0:1" + "src": "5625:0:0" }, - "scope": 655, - "src": "5402:70:1", + "scope": 147, + "src": "5556:70:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 633, + "id": 125, "nodeType": "StructuredDocumentation", - "src": "5478:138:1", + "src": "5634:142:0", "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, "functionSelector": "e985e9c5", - "id": 642, + "id": 134, "implemented": false, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 638, + "id": 130, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 635, + "id": 127, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5647:13:1", + "scope": 134, + "src": "5808:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1466,10 +1466,10 @@ "typeString": "address" }, "typeName": { - "id": 634, + "id": 126, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5647:7:1", + "src": "5808:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1480,12 +1480,12 @@ }, { "constant": false, - "id": 637, + "id": 129, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5662:16:1", + "scope": 134, + "src": "5823:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1493,10 +1493,10 @@ "typeString": "address" }, "typeName": { - "id": 636, + "id": 128, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5662:7:1", + "src": "5823:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1506,20 +1506,20 @@ "visibility": "internal" } ], - "src": "5646:33:1" + "src": "5807:33:0" }, "returnParameters": { - "id": 641, + "id": 133, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 640, + "id": 132, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5703:4:1", + "scope": 134, + "src": "5864:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1527,10 +1527,10 @@ "typeString": "bool" }, "typeName": { - "id": 639, + "id": 131, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5703:4:1", + "src": "5864:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1539,40 +1539,40 @@ "visibility": "internal" } ], - "src": "5702:6:1" + "src": "5863:6:0" }, - "scope": 655, - "src": "5621:88:1", + "scope": 147, + "src": "5782:88:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 643, + "id": 135, "nodeType": "StructuredDocumentation", - "src": "5715:568:1", + "src": "5878:580:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "b88d4fde", - "id": 654, + "id": 146, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 652, + "id": 144, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 645, + "id": 137, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6314:12:1", + "scope": 146, + "src": "6490:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1580,10 +1580,10 @@ "typeString": "address" }, "typeName": { - "id": 644, + "id": 136, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6314:7:1", + "src": "6490:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1594,12 +1594,12 @@ }, { "constant": false, - "id": 647, + "id": 139, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6328:10:1", + "scope": 146, + "src": "6504:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1607,10 +1607,10 @@ "typeString": "address" }, "typeName": { - "id": 646, + "id": 138, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6328:7:1", + "src": "6504:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1621,12 +1621,12 @@ }, { "constant": false, - "id": 649, + "id": 141, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6340:15:1", + "scope": 146, + "src": "6516:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1634,10 +1634,10 @@ "typeString": "uint256" }, "typeName": { - "id": 648, + "id": 140, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6340:7:1", + "src": "6516:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1647,12 +1647,12 @@ }, { "constant": false, - "id": 651, + "id": 143, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6357:19:1", + "scope": 146, + "src": "6533:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -1660,10 +1660,10 @@ "typeString": "bytes" }, "typeName": { - "id": 650, + "id": 142, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6357:5:1", + "src": "6533:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -1672,26 +1672,26 @@ "visibility": "internal" } ], - "src": "6313:64:1" + "src": "6489:64:0" }, "returnParameters": { - "id": 653, + "id": 145, "nodeType": "ParameterList", "parameters": [], - "src": "6386:0:1" + "src": "6562:0:0" }, - "scope": 655, - "src": "6288:99:1", + "scope": 147, + "src": "6464:99:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1975:4414:1" + "scope": 2991, + "src": "2033:4533:0" }, { - "id": 656, + "id": 148, "literals": [ "solidity", ">=", @@ -1702,81 +1702,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 658, + "id": 150, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "6654:7:1", + "referencedDeclaration": 147, + "src": "6841:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 659, + "id": 151, "nodeType": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 657, + "id": 149, "nodeType": "StructuredDocumentation", - "src": "6491:133:1", + "src": "6674:136:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 680, + "id": 172, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 660, + "id": 152, "nodeType": "StructuredDocumentation", - "src": "6669:58:1", + "src": "6858:60:0", "text": " @dev Returns the token collection name." }, "functionSelector": "06fdde03", - "id": 665, + "id": 157, "implemented": false, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "parameters": { - "id": 661, + "id": 153, "nodeType": "ParameterList", "parameters": [], - "src": "6745:2:1" + "src": "6937:2:0" }, "returnParameters": { - "id": 664, + "id": 156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 663, + "id": 155, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 665, - "src": "6771:13:1", + "scope": 157, + "src": "6963:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1784,10 +1784,10 @@ "typeString": "string" }, "typeName": { - "id": 662, + "id": 154, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6771:6:1", + "src": "6963:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1796,46 +1796,46 @@ "visibility": "internal" } ], - "src": "6770:15:1" + "src": "6962:15:0" }, - "scope": 680, - "src": "6732:54:1", + "scope": 172, + "src": "6924:54:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 666, + "id": 158, "nodeType": "StructuredDocumentation", - "src": "6792:60:1", + "src": "6986:62:0", "text": " @dev Returns the token collection symbol." }, "functionSelector": "95d89b41", - "id": 671, + "id": 163, "implemented": false, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "parameters": { - "id": 667, + "id": 159, "nodeType": "ParameterList", "parameters": [], - "src": "6872:2:1" + "src": "7069:2:0" }, "returnParameters": { - "id": 670, + "id": 162, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 669, + "id": 161, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 671, - "src": "6898:13:1", + "scope": 163, + "src": "7095:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1843,10 +1843,10 @@ "typeString": "string" }, "typeName": { - "id": 668, + "id": 160, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6898:6:1", + "src": "7095:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1855,40 +1855,40 @@ "visibility": "internal" } ], - "src": "6897:15:1" + "src": "7094:15:0" }, - "scope": 680, - "src": "6857:56:1", + "scope": 172, + "src": "7054:56:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 672, + "id": 164, "nodeType": "StructuredDocumentation", - "src": "6919:90:1", + "src": "7118:92:0", "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, "functionSelector": "c87b56dd", - "id": 679, + "id": 171, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 675, + "id": 167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 674, + "id": 166, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7032:15:1", + "scope": 171, + "src": "7234:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1896,10 +1896,10 @@ "typeString": "uint256" }, "typeName": { - "id": 673, + "id": 165, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7032:7:1", + "src": "7234:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1908,20 +1908,20 @@ "visibility": "internal" } ], - "src": "7031:17:1" + "src": "7233:17:0" }, "returnParameters": { - "id": 678, + "id": 170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 677, + "id": 169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7072:13:1", + "scope": 171, + "src": "7274:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1929,10 +1929,10 @@ "typeString": "string" }, "typeName": { - "id": 676, + "id": 168, "name": "string", "nodeType": "ElementaryTypeName", - "src": "7072:6:1", + "src": "7274:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1941,20 +1941,20 @@ "visibility": "internal" } ], - "src": "7071:15:1" + "src": "7273:15:0" }, - "scope": 680, - "src": "7014:73:1", + "scope": 172, + "src": "7216:73:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "6625:464:1" + "scope": 2991, + "src": "6812:480:0" }, { - "id": 681, + "id": 173, "literals": [ "solidity", ">=", @@ -1965,81 +1965,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 683, + "id": 175, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "7363:7:1", + "referencedDeclaration": 147, + "src": "7578:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 684, + "id": 176, "nodeType": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 682, + "id": 174, "nodeType": "StructuredDocumentation", - "src": "7195:136:1", + "src": "7406:139:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 709, + "id": 201, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 685, + "id": 177, "nodeType": "StructuredDocumentation", - "src": "7378:82:1", + "src": "7595:84:0", "text": " @dev Returns the total amount of tokens stored by the contract." }, "functionSelector": "18160ddd", - "id": 690, + "id": 182, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { - "id": 686, + "id": 178, "nodeType": "ParameterList", "parameters": [], - "src": "7485:2:1" + "src": "7705:2:0" }, "returnParameters": { - "id": 689, + "id": 181, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 688, + "id": 180, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 690, - "src": "7511:7:1", + "scope": 182, + "src": "7731:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2047,10 +2047,10 @@ "typeString": "uint256" }, "typeName": { - "id": 687, + "id": 179, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7511:7:1", + "src": "7731:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2059,40 +2059,40 @@ "visibility": "internal" } ], - "src": "7510:9:1" + "src": "7730:9:0" }, - "scope": 709, - "src": "7465:55:1", + "scope": 201, + "src": "7685:55:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 691, + "id": 183, "nodeType": "StructuredDocumentation", - "src": "7526:171:1", + "src": "7748:174:0", "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, "functionSelector": "2f745c59", - "id": 700, + "id": 192, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 696, + "id": 188, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 693, + "id": 185, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7731:13:1", + "scope": 192, + "src": "7957:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2100,10 +2100,10 @@ "typeString": "address" }, "typeName": { - "id": 692, + "id": 184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7731:7:1", + "src": "7957:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2114,12 +2114,12 @@ }, { "constant": false, - "id": 695, + "id": 187, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7746:13:1", + "scope": 192, + "src": "7972:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2127,10 +2127,10 @@ "typeString": "uint256" }, "typeName": { - "id": 694, + "id": 186, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7746:7:1", + "src": "7972:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2139,20 +2139,20 @@ "visibility": "internal" } ], - "src": "7730:30:1" + "src": "7956:30:0" }, "returnParameters": { - "id": 699, + "id": 191, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 698, + "id": 190, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7784:15:1", + "scope": 192, + "src": "8010:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2160,10 +2160,10 @@ "typeString": "uint256" }, "typeName": { - "id": 697, + "id": 189, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7784:7:1", + "src": "8010:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2172,40 +2172,40 @@ "visibility": "internal" } ], - "src": "7783:17:1" + "src": "8009:17:0" }, - "scope": 709, - "src": "7702:99:1", + "scope": 201, + "src": "7928:99:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 701, + "id": 193, "nodeType": "StructuredDocumentation", - "src": "7807:164:1", + "src": "8035:167:0", "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, "functionSelector": "4f6ccce7", - "id": 708, + "id": 200, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 704, + "id": 196, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 703, + "id": 195, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "7998:13:1", + "scope": 200, + "src": "8230:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2213,10 +2213,10 @@ "typeString": "uint256" }, "typeName": { - "id": 702, + "id": 194, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7998:7:1", + "src": "8230:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2225,20 +2225,20 @@ "visibility": "internal" } ], - "src": "7997:15:1" + "src": "8229:15:0" }, "returnParameters": { - "id": 707, + "id": 199, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 706, + "id": 198, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "8036:7:1", + "scope": 200, + "src": "8268:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2246,10 +2246,10 @@ "typeString": "uint256" }, "typeName": { - "id": 705, + "id": 197, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8036:7:1", + "src": "8268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2258,20 +2258,20 @@ "visibility": "internal" } ], - "src": "8035:9:1" + "src": "8267:9:0" }, - "scope": 709, - "src": "7976:69:1", + "scope": 201, + "src": "8208:69:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "7332:715:1" + "scope": 2991, + "src": "7547:733:0" }, { - "id": 710, + "id": 202, "literals": [ "solidity", ">=", @@ -2282,7 +2282,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "abstract": false, @@ -2290,45 +2290,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 711, + "id": 203, "nodeType": "StructuredDocumentation", - "src": "8150:152:1", + "src": "8390:156:0", "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, "fullyImplemented": false, - "id": 726, + "id": 218, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 712, + "id": 204, "nodeType": "StructuredDocumentation", - "src": "8335:485:1", + "src": "8581:493:0", "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, "functionSelector": "150b7a02", - "id": 725, + "id": 217, "implemented": false, "kind": "function", "modifiers": [], "name": "onERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 721, + "id": 213, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 714, + "id": 206, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8851:16:1", + "scope": 217, + "src": "9106:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2336,10 +2336,10 @@ "typeString": "address" }, "typeName": { - "id": 713, + "id": 205, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8851:7:1", + "src": "9106:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2350,12 +2350,12 @@ }, { "constant": false, - "id": 716, + "id": 208, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8869:12:1", + "scope": 217, + "src": "9124:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2363,10 +2363,10 @@ "typeString": "address" }, "typeName": { - "id": 715, + "id": 207, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8869:7:1", + "src": "9124:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2377,12 +2377,12 @@ }, { "constant": false, - "id": 718, + "id": 210, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8883:15:1", + "scope": 217, + "src": "9138:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2390,10 +2390,10 @@ "typeString": "uint256" }, "typeName": { - "id": 717, + "id": 209, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8883:7:1", + "src": "9138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2403,12 +2403,12 @@ }, { "constant": false, - "id": 720, + "id": 212, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8900:19:1", + "scope": 217, + "src": "9155:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -2416,10 +2416,10 @@ "typeString": "bytes" }, "typeName": { - "id": 719, + "id": 211, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8900:5:1", + "src": "9155:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2428,20 +2428,20 @@ "visibility": "internal" } ], - "src": "8850:70:1" + "src": "9105:70:0" }, "returnParameters": { - "id": 724, + "id": 216, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 723, + "id": 215, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8939:6:1", + "scope": 217, + "src": "9194:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2449,10 +2449,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 722, + "id": 214, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "8939:6:1", + "src": "9194:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2461,20 +2461,20 @@ "visibility": "internal" } ], - "src": "8938:8:1" + "src": "9193:8:0" }, - "scope": 726, - "src": "8825:122:1", + "scope": 218, + "src": "9080:122:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "8303:646:1" + "scope": 2991, + "src": "8548:657:0" }, { - "id": 727, + "id": 219, "literals": [ "solidity", ">=", @@ -2485,55 +2485,55 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "abstract": true, "baseContracts": [ { "baseName": { - "id": 729, + "id": 221, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "9243:7:1", + "referencedDeclaration": 33, + "src": "9511:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 730, + "id": 222, "nodeType": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "documentation": { - "id": 728, + "id": 220, "nodeType": "StructuredDocumentation", - "src": "9043:171:1", + "src": "9305:176:0", "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, "fullyImplemented": true, - "id": 781, + "id": 273, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", "nodeType": "ContractDefinition", "nodes": [ { "constant": true, - "id": 733, + "id": 225, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9340:57:1", + "scope": 273, + "src": "9612:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2541,10 +2541,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 731, + "id": 223, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9340:6:1", + "src": "9612:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2552,14 +2552,14 @@ }, "value": { "hexValue": "30783031666663396137", - "id": 732, + "id": 224, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9387:10:1", + "src": "9659:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_33540519_by_1", "typeString": "int_const 33540519" @@ -2571,17 +2571,17 @@ { "constant": false, "documentation": { - "id": 734, + "id": 226, "nodeType": "StructuredDocumentation", - "src": "9404:82:1", + "src": "9678:84:0", "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 738, + "id": 230, "mutability": "mutable", "name": "_supportedInterfaces", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9491:52:1", + "scope": 273, + "src": "9768:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2589,28 +2589,28 @@ "typeString": "mapping(bytes4 => bool)" }, "typeName": { - "id": 737, + "id": 229, "keyType": { - "id": 735, + "id": 227, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9499:6:1", + "src": "9776:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "nodeType": "Mapping", - "src": "9491:23:1", + "src": "9768:23:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" }, "valueType": { - "id": 736, + "id": 228, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9509:4:1", + "src": "9786:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2621,20 +2621,20 @@ }, { "body": { - "id": 745, + "id": 237, "nodeType": "Block", - "src": "9565:193:1", + "src": "9844:197:0", "statements": [ { "expression": { "arguments": [ { - "id": 742, + "id": 234, "name": "_INTERFACE_ID_ERC165", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 733, - "src": "9730:20:1", + "referencedDeclaration": 225, + "src": "10012:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2648,18 +2648,18 @@ "typeString": "bytes4" } ], - "id": 741, + "id": 233, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "9711:18:1", + "referencedDeclaration": 272, + "src": "9993:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 743, + "id": 235, "isConstant": false, "isLValue": false, "isPure": false, @@ -2667,74 +2667,74 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9711:40:1", + "src": "9993:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 744, + "id": 236, "nodeType": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ] }, - "id": 746, + "id": 238, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 739, + "id": 231, "nodeType": "ParameterList", "parameters": [], - "src": "9562:2:1" + "src": "9841:2:0" }, "returnParameters": { - "id": 740, + "id": 232, "nodeType": "ParameterList", "parameters": [], - "src": "9565:0:1" + "src": "9844:0:0" }, - "scope": 781, - "src": "9550:208:1", + "scope": 273, + "src": "9829:212:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "baseFunctions": [ - 540 + 32 ], "body": { - "id": 759, + "id": 251, "nodeType": "Block", - "src": "9999:57:1", + "src": "10289:59:0", "statements": [ { "expression": { "baseExpression": { - "id": 755, + "id": 247, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10016:20:1", + "referencedDeclaration": 230, + "src": "10307:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 757, + "id": 249, "indexExpression": { - "id": 756, + "id": 248, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 749, - "src": "10037:11:1", + "referencedDeclaration": 241, + "src": "10328:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2745,50 +2745,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10016:33:1", + "src": "10307:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 754, - "id": 758, + "functionReturnParameters": 246, + "id": 250, "nodeType": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ] }, "documentation": { - "id": 747, + "id": 239, "nodeType": "StructuredDocumentation", - "src": "9764:139:1", + "src": "10049:143:0", "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 760, + "id": 252, "implemented": true, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "overrides": { - "id": 751, + "id": 243, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "9975:8:1" + "src": "10265:8:0" }, "parameters": { - "id": 750, + "id": 242, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 749, + "id": 241, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9935:18:1", + "scope": 252, + "src": "10225:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2796,10 +2796,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 748, + "id": 240, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9935:6:1", + "src": "10225:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2808,20 +2808,20 @@ "visibility": "internal" } ], - "src": "9934:20:1" + "src": "10224:20:0" }, "returnParameters": { - "id": 754, + "id": 246, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 753, + "id": 245, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9993:4:1", + "scope": 252, + "src": "10283:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2829,10 +2829,10 @@ "typeString": "bool" }, "typeName": { - "id": 752, + "id": 244, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9993:4:1", + "src": "10283:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2841,19 +2841,19 @@ "visibility": "internal" } ], - "src": "9992:6:1" + "src": "10282:6:0" }, - "scope": 781, - "src": "9908:148:1", + "scope": 273, + "src": "10198:150:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 779, + "id": 271, "nodeType": "Block", - "src": "10515:133:1", + "src": "10820:136:0", "statements": [ { "expression": { @@ -2863,18 +2863,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 769, + "id": 261, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 767, + "id": 259, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10533:11:1", + "referencedDeclaration": 255, + "src": "10839:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2884,21 +2884,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30786666666666666666", - "id": 768, + "id": 260, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10548:10:1", + "src": "10854:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_4294967295_by_1", "typeString": "int_const 4294967295" }, "value": "0xffffffff" }, - "src": "10533:25:1", + "src": "10839:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2906,14 +2906,14 @@ }, { "hexValue": "4552433136353a20696e76616c696420696e74657266616365206964", - "id": 770, + "id": 262, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "10560:30:1", + "src": "10866:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_282912c0dfceceb28d77d0333f496b83948f9ba5b3154358a8b140b849289dee", "typeString": "literal_string \"ERC165: invalid interface id\"" @@ -2932,7 +2932,7 @@ "typeString": "literal_string \"ERC165: invalid interface id\"" } ], - "id": 766, + "id": 258, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -2940,13 +2940,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "10525:7:1", + "src": "10831:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 771, + "id": 263, "isConstant": false, "isLValue": false, "isPure": false, @@ -2954,45 +2954,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10525:66:1", + "src": "10831:66:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 772, + "id": 264, "nodeType": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "expression": { - "id": 777, + "id": 269, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 773, + "id": 265, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10601:20:1", + "referencedDeclaration": 230, + "src": "10908:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 775, + "id": 267, "indexExpression": { - "id": 774, + "id": 266, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10622:11:1", + "referencedDeclaration": 255, + "src": "10929:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3003,7 +3003,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "10601:33:1", + "src": "10908:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3013,56 +3013,56 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 776, + "id": 268, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "10637:4:1", + "src": "10944:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "10601:40:1", + "src": "10908:40:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 778, + "id": 270, "nodeType": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ] }, "documentation": { - "id": 761, + "id": 253, "nodeType": "StructuredDocumentation", - "src": "10062:383:1", + "src": "10356:393:0", "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 780, + "id": 272, "implemented": true, "kind": "function", "modifiers": [], "name": "_registerInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 764, + "id": 256, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 763, + "id": 255, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 780, - "src": "10478:18:1", + "scope": 272, + "src": "10783:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3070,10 +3070,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 762, + "id": 254, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "10478:6:1", + "src": "10783:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3082,26 +3082,26 @@ "visibility": "internal" } ], - "src": "10477:20:1" + "src": "10782:20:0" }, "returnParameters": { - "id": 765, + "id": 257, "nodeType": "ParameterList", "parameters": [], - "src": "10515:0:1" + "src": "10820:0:0" }, - "scope": 781, - "src": "10450:198:1", + "scope": 273, + "src": "10755:201:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "9215:1435:1" + "scope": 2991, + "src": "9483:1476:0" }, { - "id": 782, + "id": 274, "literals": [ "solidity", ">=", @@ -3112,7 +3112,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "abstract": false, @@ -3120,38 +3120,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 783, + "id": 275, "nodeType": "StructuredDocumentation", - "src": "10736:563:1", + "src": "11050:575:0", "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, "fullyImplemented": true, - "id": 1135, + "id": 627, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 813, + "id": 305, "nodeType": "Block", - "src": "11535:98:1", + "src": "11868:102:0", "statements": [ { "assignments": [ - 796 + 288 ], "declarations": [ { "constant": false, - "id": 796, + "id": 288, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 813, - "src": "11545:9:1", + "scope": 305, + "src": "11879:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3159,10 +3159,10 @@ "typeString": "uint256" }, "typeName": { - "id": 795, + "id": 287, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11545:7:1", + "src": "11879:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3171,24 +3171,24 @@ "visibility": "internal" } ], - "id": 800, + "id": 292, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 799, + "id": 291, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 797, + "id": 289, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11557:1:1", + "referencedDeclaration": 278, + "src": "11891:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3197,25 +3197,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 798, + "id": 290, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 788, - "src": "11561:1:1", + "referencedDeclaration": 280, + "src": "11895:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11557:5:1", + "src": "11891:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "condition": { @@ -3223,18 +3223,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 803, + "id": 295, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 801, + "id": 293, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11576:1:1", + "referencedDeclaration": 288, + "src": "11911:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3243,39 +3243,39 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 802, + "id": 294, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11580:1:1", + "referencedDeclaration": 278, + "src": "11915:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11576:5:1", + "src": "11911:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 808, + "id": 300, "nodeType": "IfStatement", - "src": "11572:28:1", + "src": "11907:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 804, + "id": 296, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11591:5:1", + "src": "11926:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3284,14 +3284,14 @@ }, { "hexValue": "30", - "id": 805, + "id": 297, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11598:1:1", + "src": "11933:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3299,23 +3299,23 @@ "value": "0" } ], - "id": 806, + "id": 298, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11590:10:1", + "src": "11925:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 794, - "id": 807, + "functionReturnParameters": 286, + "id": 299, "nodeType": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } }, { @@ -3323,14 +3323,14 @@ "components": [ { "hexValue": "74727565", - "id": 809, + "id": 301, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11618:4:1", + "src": "11954:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3338,62 +3338,62 @@ "value": "true" }, { - "id": 810, + "id": 302, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11624:1:1", + "referencedDeclaration": 288, + "src": "11960:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 811, + "id": 303, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11617:9:1", + "src": "11953:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 794, - "id": 812, + "functionReturnParameters": 286, + "id": 304, "nodeType": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ] }, "documentation": { - "id": 784, + "id": 276, "nodeType": "StructuredDocumentation", - "src": "11323:131:1", + "src": "11651:135:0", "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 814, + "id": 306, "implemented": true, "kind": "function", "modifiers": [], "name": "tryAdd", "nodeType": "FunctionDefinition", "parameters": { - "id": 789, + "id": 281, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 786, + "id": 278, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11475:9:1", + "scope": 306, + "src": "11808:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3401,10 +3401,10 @@ "typeString": "uint256" }, "typeName": { - "id": 785, + "id": 277, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11475:7:1", + "src": "11808:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3414,12 +3414,12 @@ }, { "constant": false, - "id": 788, + "id": 280, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11486:9:1", + "scope": 306, + "src": "11819:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3427,10 +3427,10 @@ "typeString": "uint256" }, "typeName": { - "id": 787, + "id": 279, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11486:7:1", + "src": "11819:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3439,20 +3439,20 @@ "visibility": "internal" } ], - "src": "11474:22:1" + "src": "11807:22:0" }, "returnParameters": { - "id": 794, + "id": 286, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 791, + "id": 283, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11520:4:1", + "scope": 306, + "src": "11853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3460,10 +3460,10 @@ "typeString": "bool" }, "typeName": { - "id": 790, + "id": 282, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11520:4:1", + "src": "11853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3473,12 +3473,12 @@ }, { "constant": false, - "id": 793, + "id": 285, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11526:7:1", + "scope": 306, + "src": "11859:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3486,10 +3486,10 @@ "typeString": "uint256" }, "typeName": { - "id": 792, + "id": 284, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11526:7:1", + "src": "11859:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3498,19 +3498,19 @@ "visibility": "internal" } ], - "src": "11519:15:1" + "src": "11852:15:0" }, - "scope": 1135, - "src": "11459:174:1", + "scope": 627, + "src": "11792:178:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 840, + "id": 332, "nodeType": "Block", - "src": "11855:75:1", + "src": "12199:78:0", "statements": [ { "condition": { @@ -3518,18 +3518,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 828, + "id": 320, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 826, + "id": 318, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11869:1:1", + "referencedDeclaration": 311, + "src": "12214:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3538,39 +3538,39 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 827, + "id": 319, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11873:1:1", + "referencedDeclaration": 309, + "src": "12218:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11869:5:1", + "src": "12214:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 833, + "id": 325, "nodeType": "IfStatement", - "src": "11865:28:1", + "src": "12210:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 829, + "id": 321, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11884:5:1", + "src": "12229:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3579,14 +3579,14 @@ }, { "hexValue": "30", - "id": 830, + "id": 322, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11891:1:1", + "src": "12236:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3594,23 +3594,23 @@ "value": "0" } ], - "id": 831, + "id": 323, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11883:10:1", + "src": "12228:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 825, - "id": 832, + "functionReturnParameters": 317, + "id": 324, "nodeType": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } }, { @@ -3618,14 +3618,14 @@ "components": [ { "hexValue": "74727565", - "id": 834, + "id": 326, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11911:4:1", + "src": "12257:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3637,18 +3637,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 837, + "id": 329, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 835, + "id": 327, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11917:1:1", + "referencedDeclaration": 309, + "src": "12263:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3657,68 +3657,68 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 836, + "id": 328, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11921:1:1", + "referencedDeclaration": 311, + "src": "12267:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11917:5:1", + "src": "12263:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 838, + "id": 330, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11910:13:1", + "src": "12256:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 825, - "id": 839, + "functionReturnParameters": 317, + "id": 331, "nodeType": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ] }, "documentation": { - "id": 815, + "id": 307, "nodeType": "StructuredDocumentation", - "src": "11639:135:1", + "src": "11978:139:0", "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 841, + "id": 333, "implemented": true, "kind": "function", "modifiers": [], "name": "trySub", "nodeType": "FunctionDefinition", "parameters": { - "id": 820, + "id": 312, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 817, + "id": 309, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11795:9:1", + "scope": 333, + "src": "12139:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3726,10 +3726,10 @@ "typeString": "uint256" }, "typeName": { - "id": 816, + "id": 308, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11795:7:1", + "src": "12139:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3739,12 +3739,12 @@ }, { "constant": false, - "id": 819, + "id": 311, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11806:9:1", + "scope": 333, + "src": "12150:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3752,10 +3752,10 @@ "typeString": "uint256" }, "typeName": { - "id": 818, + "id": 310, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11806:7:1", + "src": "12150:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3764,20 +3764,20 @@ "visibility": "internal" } ], - "src": "11794:22:1" + "src": "12138:22:0" }, "returnParameters": { - "id": 825, + "id": 317, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 822, + "id": 314, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11840:4:1", + "scope": 333, + "src": "12184:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3785,10 +3785,10 @@ "typeString": "bool" }, "typeName": { - "id": 821, + "id": 313, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11840:4:1", + "src": "12184:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3798,12 +3798,12 @@ }, { "constant": false, - "id": 824, + "id": 316, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11846:7:1", + "scope": 333, + "src": "12190:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3811,10 +3811,10 @@ "typeString": "uint256" }, "typeName": { - "id": 823, + "id": 315, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11846:7:1", + "src": "12190:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3823,19 +3823,19 @@ "visibility": "internal" } ], - "src": "11839:15:1" + "src": "12183:15:0" }, - "scope": 1135, - "src": "11779:151:1", + "scope": 627, + "src": "12123:154:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 881, + "id": 373, "nodeType": "Block", - "src": "12154:359:1", + "src": "12508:367:0", "statements": [ { "condition": { @@ -3843,18 +3843,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 855, + "id": 347, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 853, + "id": 345, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12386:1:1", + "referencedDeclaration": 336, + "src": "12744:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3864,42 +3864,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 854, + "id": 346, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12391:1:1", + "src": "12749:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12386:6:1", + "src": "12744:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 860, + "id": 352, "nodeType": "IfStatement", - "src": "12382:28:1", + "src": "12740:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "74727565", - "id": 856, + "id": 348, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12402:4:1", + "src": "12760:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3908,14 +3908,14 @@ }, { "hexValue": "30", - "id": 857, + "id": 349, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12408:1:1", + "src": "12766:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3923,38 +3923,38 @@ "value": "0" } ], - "id": 858, + "id": 350, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12401:9:1", + "src": "12759:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 859, + "functionReturnParameters": 344, + "id": 351, "nodeType": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } }, { "assignments": [ - 862 + 354 ], "declarations": [ { "constant": false, - "id": 862, + "id": 354, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 881, - "src": "12420:9:1", + "scope": 373, + "src": "12779:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3962,10 +3962,10 @@ "typeString": "uint256" }, "typeName": { - "id": 861, + "id": 353, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12420:7:1", + "src": "12779:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3974,24 +3974,24 @@ "visibility": "internal" } ], - "id": 866, + "id": 358, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 865, + "id": 357, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 863, + "id": 355, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12432:1:1", + "referencedDeclaration": 336, + "src": "12791:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4000,25 +4000,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 864, + "id": 356, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12436:1:1", + "referencedDeclaration": 338, + "src": "12795:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12432:5:1", + "src": "12791:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "condition": { @@ -4026,7 +4026,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 871, + "id": 363, "isConstant": false, "isLValue": false, "isPure": false, @@ -4036,18 +4036,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 869, + "id": 361, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 867, + "id": 359, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12451:1:1", + "referencedDeclaration": 354, + "src": "12811:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4056,18 +4056,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 868, + "id": 360, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12455:1:1", + "referencedDeclaration": 336, + "src": "12815:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:5:1", + "src": "12811:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4076,39 +4076,39 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 870, + "id": 362, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12460:1:1", + "referencedDeclaration": 338, + "src": "12820:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:10:1", + "src": "12811:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 876, + "id": 368, "nodeType": "IfStatement", - "src": "12447:33:1", + "src": "12807:33:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 872, + "id": 364, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12471:5:1", + "src": "12831:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4117,14 +4117,14 @@ }, { "hexValue": "30", - "id": 873, + "id": 365, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12478:1:1", + "src": "12838:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4132,23 +4132,23 @@ "value": "0" } ], - "id": 874, + "id": 366, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12470:10:1", + "src": "12830:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 875, + "functionReturnParameters": 344, + "id": 367, "nodeType": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } }, { @@ -4156,14 +4156,14 @@ "components": [ { "hexValue": "74727565", - "id": 877, + "id": 369, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12498:4:1", + "src": "12859:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4171,62 +4171,62 @@ "value": "true" }, { - "id": 878, + "id": 370, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12504:1:1", + "referencedDeclaration": 354, + "src": "12865:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 879, + "id": 371, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12497:9:1", + "src": "12858:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 852, - "id": 880, + "functionReturnParameters": 344, + "id": 372, "nodeType": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ] }, "documentation": { - "id": 842, + "id": 334, "nodeType": "StructuredDocumentation", - "src": "11936:137:1", + "src": "12285:141:0", "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 882, + "id": 374, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMul", "nodeType": "FunctionDefinition", "parameters": { - "id": 847, + "id": 339, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 844, + "id": 336, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12094:9:1", + "scope": 374, + "src": "12448:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4234,10 +4234,10 @@ "typeString": "uint256" }, "typeName": { - "id": 843, + "id": 335, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12094:7:1", + "src": "12448:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4247,12 +4247,12 @@ }, { "constant": false, - "id": 846, + "id": 338, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12105:9:1", + "scope": 374, + "src": "12459:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4260,10 +4260,10 @@ "typeString": "uint256" }, "typeName": { - "id": 845, + "id": 337, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12105:7:1", + "src": "12459:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4272,20 +4272,20 @@ "visibility": "internal" } ], - "src": "12093:22:1" + "src": "12447:22:0" }, "returnParameters": { - "id": 852, + "id": 344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 849, + "id": 341, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12139:4:1", + "scope": 374, + "src": "12493:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4293,10 +4293,10 @@ "typeString": "bool" }, "typeName": { - "id": 848, + "id": 340, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12139:4:1", + "src": "12493:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4306,12 +4306,12 @@ }, { "constant": false, - "id": 851, + "id": 343, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12145:7:1", + "scope": 374, + "src": "12499:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4319,10 +4319,10 @@ "typeString": "uint256" }, "typeName": { - "id": 850, + "id": 342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12145:7:1", + "src": "12499:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4331,19 +4331,19 @@ "visibility": "internal" } ], - "src": "12138:15:1" + "src": "12492:15:0" }, - "scope": 1135, - "src": "12078:435:1", + "scope": 627, + "src": "12432:443:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 908, + "id": 400, "nodeType": "Block", - "src": "12738:76:1", + "src": "13107:79:0", "statements": [ { "condition": { @@ -4351,18 +4351,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 896, + "id": 388, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 894, + "id": 386, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12752:1:1", + "referencedDeclaration": 379, + "src": "13122:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4372,42 +4372,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 895, + "id": 387, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12757:1:1", + "src": "13127:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12752:6:1", + "src": "13122:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 901, + "id": 393, "nodeType": "IfStatement", - "src": "12748:29:1", + "src": "13118:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 897, + "id": 389, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12768:5:1", + "src": "13138:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4416,14 +4416,14 @@ }, { "hexValue": "30", - "id": 898, + "id": 390, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12775:1:1", + "src": "13145:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4431,23 +4431,23 @@ "value": "0" } ], - "id": 899, + "id": 391, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12767:10:1", + "src": "13137:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 893, - "id": 900, + "functionReturnParameters": 385, + "id": 392, "nodeType": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } }, { @@ -4455,14 +4455,14 @@ "components": [ { "hexValue": "74727565", - "id": 902, + "id": 394, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12795:4:1", + "src": "13166:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4474,18 +4474,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 905, + "id": 397, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 903, + "id": 395, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 885, - "src": "12801:1:1", + "referencedDeclaration": 377, + "src": "13172:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4494,68 +4494,68 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 904, + "id": 396, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12805:1:1", + "referencedDeclaration": 379, + "src": "13176:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12801:5:1", + "src": "13172:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 906, + "id": 398, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12794:13:1", + "src": "13165:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 893, - "id": 907, + "functionReturnParameters": 385, + "id": 399, "nodeType": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ] }, "documentation": { - "id": 883, + "id": 375, "nodeType": "StructuredDocumentation", - "src": "12519:138:1", + "src": "12883:142:0", "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 909, + "id": 401, "implemented": true, "kind": "function", "modifiers": [], "name": "tryDiv", "nodeType": "FunctionDefinition", "parameters": { - "id": 888, + "id": 380, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 885, + "id": 377, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12678:9:1", + "scope": 401, + "src": "13047:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4563,10 +4563,10 @@ "typeString": "uint256" }, "typeName": { - "id": 884, + "id": 376, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12678:7:1", + "src": "13047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4576,12 +4576,12 @@ }, { "constant": false, - "id": 887, + "id": 379, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12689:9:1", + "scope": 401, + "src": "13058:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4589,10 +4589,10 @@ "typeString": "uint256" }, "typeName": { - "id": 886, + "id": 378, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12689:7:1", + "src": "13058:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4601,20 +4601,20 @@ "visibility": "internal" } ], - "src": "12677:22:1" + "src": "13046:22:0" }, "returnParameters": { - "id": 893, + "id": 385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 890, + "id": 382, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12723:4:1", + "scope": 401, + "src": "13092:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4622,10 +4622,10 @@ "typeString": "bool" }, "typeName": { - "id": 889, + "id": 381, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12723:4:1", + "src": "13092:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4635,12 +4635,12 @@ }, { "constant": false, - "id": 892, + "id": 384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12729:7:1", + "scope": 401, + "src": "13098:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4648,10 +4648,10 @@ "typeString": "uint256" }, "typeName": { - "id": 891, + "id": 383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12729:7:1", + "src": "13098:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4660,19 +4660,19 @@ "visibility": "internal" } ], - "src": "12722:15:1" + "src": "13091:15:0" }, - "scope": 1135, - "src": "12662:152:1", + "scope": 627, + "src": "13031:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 935, + "id": 427, "nodeType": "Block", - "src": "13049:76:1", + "src": "13428:79:0", "statements": [ { "condition": { @@ -4680,18 +4680,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 923, + "id": 415, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 921, + "id": 413, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13063:1:1", + "referencedDeclaration": 406, + "src": "13443:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4701,42 +4701,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 922, + "id": 414, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13068:1:1", + "src": "13448:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "13063:6:1", + "src": "13443:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 928, + "id": 420, "nodeType": "IfStatement", - "src": "13059:29:1", + "src": "13439:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 924, + "id": 416, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13079:5:1", + "src": "13459:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4745,14 +4745,14 @@ }, { "hexValue": "30", - "id": 925, + "id": 417, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13086:1:1", + "src": "13466:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4760,23 +4760,23 @@ "value": "0" } ], - "id": 926, + "id": 418, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13078:10:1", + "src": "13458:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 920, - "id": 927, + "functionReturnParameters": 412, + "id": 419, "nodeType": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } }, { @@ -4784,14 +4784,14 @@ "components": [ { "hexValue": "74727565", - "id": 929, + "id": 421, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13106:4:1", + "src": "13487:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4803,18 +4803,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 932, + "id": 424, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 930, + "id": 422, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 912, - "src": "13112:1:1", + "referencedDeclaration": 404, + "src": "13493:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4823,68 +4823,68 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 931, + "id": 423, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13116:1:1", + "referencedDeclaration": 406, + "src": "13497:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13112:5:1", + "src": "13493:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 933, + "id": 425, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13105:13:1", + "src": "13486:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 920, - "id": 934, + "functionReturnParameters": 412, + "id": 426, "nodeType": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ] }, "documentation": { - "id": 910, + "id": 402, "nodeType": "StructuredDocumentation", - "src": "12820:148:1", + "src": "13194:152:0", "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 936, + "id": 428, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMod", "nodeType": "FunctionDefinition", "parameters": { - "id": 915, + "id": 407, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 912, + "id": 404, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "12989:9:1", + "scope": 428, + "src": "13368:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4892,10 +4892,10 @@ "typeString": "uint256" }, "typeName": { - "id": 911, + "id": 403, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12989:7:1", + "src": "13368:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4905,12 +4905,12 @@ }, { "constant": false, - "id": 914, + "id": 406, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13000:9:1", + "scope": 428, + "src": "13379:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4918,10 +4918,10 @@ "typeString": "uint256" }, "typeName": { - "id": 913, + "id": 405, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13000:7:1", + "src": "13379:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4930,20 +4930,20 @@ "visibility": "internal" } ], - "src": "12988:22:1" + "src": "13367:22:0" }, "returnParameters": { - "id": 920, + "id": 412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 917, + "id": 409, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13034:4:1", + "scope": 428, + "src": "13413:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4951,10 +4951,10 @@ "typeString": "bool" }, "typeName": { - "id": 916, + "id": 408, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "13034:4:1", + "src": "13413:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4964,12 +4964,12 @@ }, { "constant": false, - "id": 919, + "id": 411, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13040:7:1", + "scope": 428, + "src": "13419:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4977,10 +4977,10 @@ "typeString": "uint256" }, "typeName": { - "id": 918, + "id": 410, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13040:7:1", + "src": "13419:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4989,33 +4989,33 @@ "visibility": "internal" } ], - "src": "13033:15:1" + "src": "13412:15:0" }, - "scope": 1135, - "src": "12973:152:1", + "scope": 627, + "src": "13352:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 961, + "id": 453, "nodeType": "Block", - "src": "13427:108:1", + "src": "13821:112:0", "statements": [ { "assignments": [ - 947 + 439 ], "declarations": [ { "constant": false, - "id": 947, + "id": 439, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 961, - "src": "13437:9:1", + "scope": 453, + "src": "13832:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5023,10 +5023,10 @@ "typeString": "uint256" }, "typeName": { - "id": 946, + "id": 438, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13437:7:1", + "src": "13832:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5035,24 +5035,24 @@ "visibility": "internal" } ], - "id": 951, + "id": 443, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 950, + "id": 442, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 948, + "id": 440, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13449:1:1", + "referencedDeclaration": 431, + "src": "13844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5061,25 +5061,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 949, + "id": 441, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 941, - "src": "13453:1:1", + "referencedDeclaration": 433, + "src": "13848:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13449:5:1", + "src": "13844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "expression": { @@ -5089,18 +5089,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 955, + "id": 447, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 953, + "id": 445, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13472:1:1", + "referencedDeclaration": 439, + "src": "13868:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5109,18 +5109,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 954, + "id": 446, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13477:1:1", + "referencedDeclaration": 431, + "src": "13873:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13472:6:1", + "src": "13868:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5128,14 +5128,14 @@ }, { "hexValue": "536166654d6174683a206164646974696f6e206f766572666c6f77", - "id": 956, + "id": 448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13480:29:1", + "src": "13876:29:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_30cc447bcc13b3e22b45cef0dd9b0b514842d836dd9b6eb384e20dedfb47723a", "typeString": "literal_string \"SafeMath: addition overflow\"" @@ -5154,7 +5154,7 @@ "typeString": "literal_string \"SafeMath: addition overflow\"" } ], - "id": 952, + "id": 444, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5162,13 +5162,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13464:7:1", + "src": "13860:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 957, + "id": 449, "isConstant": false, "isLValue": false, "isPure": false, @@ -5176,61 +5176,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13464:46:1", + "src": "13860:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 958, + "id": 450, "nodeType": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "expression": { - "id": 959, + "id": 451, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13527:1:1", + "referencedDeclaration": 439, + "src": "13924:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 945, - "id": 960, + "functionReturnParameters": 437, + "id": 452, "nodeType": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ] }, "documentation": { - "id": 937, + "id": 429, "nodeType": "StructuredDocumentation", - "src": "13131:224:1", + "src": "13515:233:0", "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 962, + "id": 454, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 942, + "id": 434, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 939, + "id": 431, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13373:9:1", + "scope": 454, + "src": "13767:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5238,10 +5238,10 @@ "typeString": "uint256" }, "typeName": { - "id": 938, + "id": 430, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13373:7:1", + "src": "13767:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5251,12 +5251,12 @@ }, { "constant": false, - "id": 941, + "id": 433, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13384:9:1", + "scope": 454, + "src": "13778:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5264,10 +5264,10 @@ "typeString": "uint256" }, "typeName": { - "id": 940, + "id": 432, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13384:7:1", + "src": "13778:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5276,20 +5276,20 @@ "visibility": "internal" } ], - "src": "13372:22:1" + "src": "13766:22:0" }, "returnParameters": { - "id": 945, + "id": 437, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 944, + "id": 436, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13418:7:1", + "scope": 454, + "src": "13812:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5297,10 +5297,10 @@ "typeString": "uint256" }, "typeName": { - "id": 943, + "id": 435, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13418:7:1", + "src": "13812:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5309,19 +5309,19 @@ "visibility": "internal" } ], - "src": "13417:9:1" + "src": "13811:9:0" }, - "scope": 1135, - "src": "13360:175:1", + "scope": 627, + "src": "13754:179:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 983, + "id": 475, "nodeType": "Block", - "src": "13873:88:1", + "src": "14283:91:0", "statements": [ { "expression": { @@ -5331,18 +5331,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 975, + "id": 467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 973, + "id": 465, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13891:1:1", + "referencedDeclaration": 459, + "src": "14302:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5351,18 +5351,18 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 974, + "id": 466, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13896:1:1", + "referencedDeclaration": 457, + "src": "14307:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13891:6:1", + "src": "14302:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5370,14 +5370,14 @@ }, { "hexValue": "536166654d6174683a207375627472616374696f6e206f766572666c6f77", - "id": 976, + "id": 468, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13899:32:1", + "src": "14310:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_50b058e9b5320e58880d88223c9801cd9eecdcf90323d5c2318bc1b6b916e862", "typeString": "literal_string \"SafeMath: subtraction overflow\"" @@ -5396,7 +5396,7 @@ "typeString": "literal_string \"SafeMath: subtraction overflow\"" } ], - "id": 972, + "id": 464, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5404,13 +5404,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13883:7:1", + "src": "14294:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 977, + "id": 469, "isConstant": false, "isLValue": false, "isPure": false, @@ -5418,16 +5418,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13883:49:1", + "src": "14294:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 978, + "id": 470, "nodeType": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "expression": { @@ -5435,18 +5435,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 981, + "id": 473, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 979, + "id": 471, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13949:1:1", + "referencedDeclaration": 457, + "src": "14361:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5455,54 +5455,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 980, + "id": 472, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13953:1:1", + "referencedDeclaration": 459, + "src": "14365:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13949:5:1", + "src": "14361:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 971, - "id": 982, + "functionReturnParameters": 463, + "id": 474, "nodeType": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ] }, "documentation": { - "id": 963, + "id": 455, "nodeType": "StructuredDocumentation", - "src": "13541:260:1", + "src": "13941:269:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 984, + "id": 476, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 968, + "id": 460, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 965, + "id": 457, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13819:9:1", + "scope": 476, + "src": "14229:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5510,10 +5510,10 @@ "typeString": "uint256" }, "typeName": { - "id": 964, + "id": 456, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13819:7:1", + "src": "14229:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5523,12 +5523,12 @@ }, { "constant": false, - "id": 967, + "id": 459, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13830:9:1", + "scope": 476, + "src": "14240:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5536,10 +5536,10 @@ "typeString": "uint256" }, "typeName": { - "id": 966, + "id": 458, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13830:7:1", + "src": "14240:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5548,20 +5548,20 @@ "visibility": "internal" } ], - "src": "13818:22:1" + "src": "14228:22:0" }, "returnParameters": { - "id": 971, + "id": 463, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 970, + "id": 462, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13864:7:1", + "scope": 476, + "src": "14274:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5569,10 +5569,10 @@ "typeString": "uint256" }, "typeName": { - "id": 969, + "id": 461, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13864:7:1", + "src": "14274:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5581,19 +5581,19 @@ "visibility": "internal" } ], - "src": "13863:9:1" + "src": "14273:9:0" }, - "scope": 1135, - "src": "13806:155:1", + "scope": 627, + "src": "14216:158:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1017, + "id": 509, "nodeType": "Block", - "src": "14275:148:1", + "src": "14700:153:0", "statements": [ { "condition": { @@ -5601,18 +5601,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 996, + "id": 488, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 994, + "id": 486, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14289:1:1", + "referencedDeclaration": 479, + "src": "14715:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5622,65 +5622,65 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 995, + "id": 487, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14294:1:1", + "src": "14720:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14289:6:1", + "src": "14715:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 999, + "id": 491, "nodeType": "IfStatement", - "src": "14285:20:1", + "src": "14711:20:0", "trueBody": { "expression": { "hexValue": "30", - "id": 997, + "id": 489, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14304:1:1", + "src": "14730:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "functionReturnParameters": 993, - "id": 998, + "functionReturnParameters": 485, + "id": 490, "nodeType": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } }, { "assignments": [ - 1001 + 493 ], "declarations": [ { "constant": false, - "id": 1001, + "id": 493, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 1017, - "src": "14315:9:1", + "scope": 509, + "src": "14742:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5688,10 +5688,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1000, + "id": 492, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14315:7:1", + "src": "14742:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5700,24 +5700,24 @@ "visibility": "internal" } ], - "id": 1005, + "id": 497, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1004, + "id": 496, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1002, + "id": 494, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14327:1:1", + "referencedDeclaration": 479, + "src": "14754:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5726,25 +5726,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 1003, + "id": 495, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14331:1:1", + "referencedDeclaration": 481, + "src": "14758:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14327:5:1", + "src": "14754:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "expression": { @@ -5754,7 +5754,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1011, + "id": 503, "isConstant": false, "isLValue": false, "isPure": false, @@ -5764,18 +5764,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1009, + "id": 501, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1007, + "id": 499, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14350:1:1", + "referencedDeclaration": 493, + "src": "14778:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5784,18 +5784,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1008, + "id": 500, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14354:1:1", + "referencedDeclaration": 479, + "src": "14782:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:5:1", + "src": "14778:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5804,18 +5804,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 1010, + "id": 502, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14359:1:1", + "referencedDeclaration": 481, + "src": "14787:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:10:1", + "src": "14778:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5823,14 +5823,14 @@ }, { "hexValue": "536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77", - "id": 1012, + "id": 504, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14362:35:1", + "src": "14790:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9113bb53c2876a3805b2c9242029423fc540a728243ce887ab24c82cf119fba3", "typeString": "literal_string \"SafeMath: multiplication overflow\"" @@ -5849,7 +5849,7 @@ "typeString": "literal_string \"SafeMath: multiplication overflow\"" } ], - "id": 1006, + "id": 498, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5857,13 +5857,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14342:7:1", + "src": "14770:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1013, + "id": 505, "isConstant": false, "isLValue": false, "isPure": false, @@ -5871,61 +5871,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14342:56:1", + "src": "14770:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1014, + "id": 506, "nodeType": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "expression": { - "id": 1015, + "id": 507, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14415:1:1", + "referencedDeclaration": 493, + "src": "14844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 993, - "id": 1016, + "functionReturnParameters": 485, + "id": 508, "nodeType": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ] }, "documentation": { - "id": 985, + "id": 477, "nodeType": "StructuredDocumentation", - "src": "13967:236:1", + "src": "14382:245:0", "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 1018, + "id": 510, "implemented": true, "kind": "function", "modifiers": [], "name": "mul", "nodeType": "FunctionDefinition", "parameters": { - "id": 990, + "id": 482, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 987, + "id": 479, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14221:9:1", + "scope": 510, + "src": "14646:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5933,10 +5933,10 @@ "typeString": "uint256" }, "typeName": { - "id": 986, + "id": 478, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14221:7:1", + "src": "14646:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5946,12 +5946,12 @@ }, { "constant": false, - "id": 989, + "id": 481, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14232:9:1", + "scope": 510, + "src": "14657:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5959,10 +5959,10 @@ "typeString": "uint256" }, "typeName": { - "id": 988, + "id": 480, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14232:7:1", + "src": "14657:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5971,20 +5971,20 @@ "visibility": "internal" } ], - "src": "14220:22:1" + "src": "14645:22:0" }, "returnParameters": { - "id": 993, + "id": 485, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 992, + "id": 484, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14266:7:1", + "scope": 510, + "src": "14691:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5992,10 +5992,10 @@ "typeString": "uint256" }, "typeName": { - "id": 991, + "id": 483, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14266:7:1", + "src": "14691:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6004,19 +6004,19 @@ "visibility": "internal" } ], - "src": "14265:9:1" + "src": "14690:9:0" }, - "scope": 1135, - "src": "14208:215:1", + "scope": 627, + "src": "14633:220:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1039, + "id": 531, "nodeType": "Block", - "src": "14954:83:1", + "src": "15398:86:0", "statements": [ { "expression": { @@ -6026,18 +6026,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1031, + "id": 523, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1029, + "id": 521, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "14972:1:1", + "referencedDeclaration": 515, + "src": "15417:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6047,21 +6047,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1030, + "id": 522, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14976:1:1", + "src": "15421:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14972:5:1", + "src": "15417:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6069,14 +6069,14 @@ }, { "hexValue": "536166654d6174683a206469766973696f6e206279207a65726f", - "id": 1032, + "id": 524, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14979:28:1", + "src": "15424:28:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5b7cc70dda4dc2143e5adb63bd5d1f349504f461dbdfd9bc76fac1f8ca6d019f", "typeString": "literal_string \"SafeMath: division by zero\"" @@ -6095,7 +6095,7 @@ "typeString": "literal_string \"SafeMath: division by zero\"" } ], - "id": 1028, + "id": 520, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6103,13 +6103,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14964:7:1", + "src": "15409:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1033, + "id": 525, "isConstant": false, "isLValue": false, "isPure": false, @@ -6117,16 +6117,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14964:44:1", + "src": "15409:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1034, + "id": 526, "nodeType": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "expression": { @@ -6134,18 +6134,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1037, + "id": 529, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1035, + "id": 527, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1021, - "src": "15025:1:1", + "referencedDeclaration": 513, + "src": "15471:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6154,54 +6154,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1036, + "id": 528, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "15029:1:1", + "referencedDeclaration": 515, + "src": "15475:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15025:5:1", + "src": "15471:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1027, - "id": 1038, + "functionReturnParameters": 519, + "id": 530, "nodeType": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ] }, "documentation": { - "id": 1019, + "id": 511, "nodeType": "StructuredDocumentation", - "src": "14429:453:1", + "src": "14861:464:0", "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1040, + "id": 532, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1024, + "id": 516, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1021, + "id": 513, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14900:9:1", + "scope": 532, + "src": "15344:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6209,10 +6209,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1020, + "id": 512, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14900:7:1", + "src": "15344:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6222,12 +6222,12 @@ }, { "constant": false, - "id": 1023, + "id": 515, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14911:9:1", + "scope": 532, + "src": "15355:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6235,10 +6235,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1022, + "id": 514, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14911:7:1", + "src": "15355:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6247,20 +6247,20 @@ "visibility": "internal" } ], - "src": "14899:22:1" + "src": "15343:22:0" }, "returnParameters": { - "id": 1027, + "id": 519, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1026, + "id": 518, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14945:7:1", + "scope": 532, + "src": "15389:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6268,10 +6268,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1025, + "id": 517, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14945:7:1", + "src": "15389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6280,19 +6280,19 @@ "visibility": "internal" } ], - "src": "14944:9:1" + "src": "15388:9:0" }, - "scope": 1135, - "src": "14887:150:1", + "scope": 627, + "src": "15331:153:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1061, + "id": 553, "nodeType": "Block", - "src": "15557:81:1", + "src": "16018:84:0", "statements": [ { "expression": { @@ -6302,18 +6302,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1053, + "id": 545, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1051, + "id": 543, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15575:1:1", + "referencedDeclaration": 537, + "src": "16037:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6323,21 +6323,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1052, + "id": 544, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15579:1:1", + "src": "16041:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "15575:5:1", + "src": "16037:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6345,14 +6345,14 @@ }, { "hexValue": "536166654d6174683a206d6f64756c6f206279207a65726f", - "id": 1054, + "id": 546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "15582:26:1", + "src": "16044:26:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_726e51f7b81fce0a68f5f214f445e275313b20b1633f08ce954ee39abf8d7832", "typeString": "literal_string \"SafeMath: modulo by zero\"" @@ -6371,7 +6371,7 @@ "typeString": "literal_string \"SafeMath: modulo by zero\"" } ], - "id": 1050, + "id": 542, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6379,13 +6379,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "15567:7:1", + "src": "16029:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1055, + "id": 547, "isConstant": false, "isLValue": false, "isPure": false, @@ -6393,16 +6393,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15567:42:1", + "src": "16029:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1056, + "id": 548, "nodeType": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "expression": { @@ -6410,18 +6410,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1059, + "id": 551, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1057, + "id": 549, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1043, - "src": "15626:1:1", + "referencedDeclaration": 535, + "src": "16089:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6430,54 +6430,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1058, + "id": 550, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15630:1:1", + "referencedDeclaration": 537, + "src": "16093:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15626:5:1", + "src": "16089:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1049, - "id": 1060, + "functionReturnParameters": 541, + "id": 552, "nodeType": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ] }, "documentation": { - "id": 1041, + "id": 533, "nodeType": "StructuredDocumentation", - "src": "15043:442:1", + "src": "15492:453:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1062, + "id": 554, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1046, + "id": 538, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1043, + "id": 535, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15503:9:1", + "scope": 554, + "src": "15964:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6485,10 +6485,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1042, + "id": 534, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15503:7:1", + "src": "15964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6498,12 +6498,12 @@ }, { "constant": false, - "id": 1045, + "id": 537, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15514:9:1", + "scope": 554, + "src": "15975:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6511,10 +6511,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1044, + "id": 536, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15514:7:1", + "src": "15975:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6523,20 +6523,20 @@ "visibility": "internal" } ], - "src": "15502:22:1" + "src": "15963:22:0" }, "returnParameters": { - "id": 1049, + "id": 541, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1048, + "id": 540, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15548:7:1", + "scope": 554, + "src": "16009:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6544,10 +6544,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1047, + "id": 539, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15548:7:1", + "src": "16009:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6556,19 +6556,19 @@ "visibility": "internal" } ], - "src": "15547:9:1" + "src": "16008:9:0" }, - "scope": 1135, - "src": "15490:148:1", + "scope": 627, + "src": "15951:151:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1085, + "id": 577, "nodeType": "Block", - "src": "16197:68:1", + "src": "16676:71:0", "statements": [ { "expression": { @@ -6578,18 +6578,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1077, + "id": 569, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1075, + "id": 567, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16215:1:1", + "referencedDeclaration": 559, + "src": "16695:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6598,30 +6598,30 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 1076, + "id": 568, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16220:1:1", + "referencedDeclaration": 557, + "src": "16700:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16215:6:1", + "src": "16695:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1078, + "id": 570, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1069, - "src": "16223:12:1", + "referencedDeclaration": 561, + "src": "16703:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6639,7 +6639,7 @@ "typeString": "string memory" } ], - "id": 1074, + "id": 566, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6647,13 +6647,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "16207:7:1", + "src": "16687:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1079, + "id": 571, "isConstant": false, "isLValue": false, "isPure": false, @@ -6661,16 +6661,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16207:29:1", + "src": "16687:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1080, + "id": 572, "nodeType": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "expression": { @@ -6678,18 +6678,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1083, + "id": 575, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1081, + "id": 573, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16253:1:1", + "referencedDeclaration": 557, + "src": "16734:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6698,54 +6698,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 1082, + "id": 574, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16257:1:1", + "referencedDeclaration": 559, + "src": "16738:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16253:5:1", + "src": "16734:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1073, - "id": 1084, + "functionReturnParameters": 565, + "id": 576, "nodeType": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ] }, "documentation": { - "id": 1063, + "id": 555, "nodeType": "StructuredDocumentation", - "src": "15644:453:1", + "src": "16110:465:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1086, + "id": 578, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 1070, + "id": 562, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1065, + "id": 557, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16115:9:1", + "scope": 578, + "src": "16594:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6753,10 +6753,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1064, + "id": 556, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16115:7:1", + "src": "16594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6766,12 +6766,12 @@ }, { "constant": false, - "id": 1067, + "id": 559, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16126:9:1", + "scope": 578, + "src": "16605:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6779,10 +6779,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1066, + "id": 558, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16126:7:1", + "src": "16605:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6792,12 +6792,12 @@ }, { "constant": false, - "id": 1069, + "id": 561, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16137:26:1", + "scope": 578, + "src": "16616:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -6805,10 +6805,10 @@ "typeString": "string" }, "typeName": { - "id": 1068, + "id": 560, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16137:6:1", + "src": "16616:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -6817,20 +6817,20 @@ "visibility": "internal" } ], - "src": "16114:50:1" + "src": "16593:50:0" }, "returnParameters": { - "id": 1073, + "id": 565, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1072, + "id": 564, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16188:7:1", + "scope": 578, + "src": "16667:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6838,10 +6838,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1071, + "id": 563, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16188:7:1", + "src": "16667:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6850,19 +6850,19 @@ "visibility": "internal" } ], - "src": "16187:9:1" + "src": "16666:9:0" }, - "scope": 1135, - "src": "16102:163:1", + "scope": 627, + "src": "16581:166:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1109, + "id": 601, "nodeType": "Block", - "src": "17017:67:1", + "src": "17516:70:0", "statements": [ { "expression": { @@ -6872,18 +6872,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1101, + "id": 593, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1099, + "id": 591, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17035:1:1", + "referencedDeclaration": 583, + "src": "17535:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6893,33 +6893,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1100, + "id": 592, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17039:1:1", + "src": "17539:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17035:5:1", + "src": "17535:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1102, + "id": 594, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1093, - "src": "17042:12:1", + "referencedDeclaration": 585, + "src": "17542:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6937,7 +6937,7 @@ "typeString": "string memory" } ], - "id": 1098, + "id": 590, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6945,13 +6945,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17027:7:1", + "src": "17527:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1103, + "id": 595, "isConstant": false, "isLValue": false, "isPure": false, @@ -6959,16 +6959,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17027:28:1", + "src": "17527:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1104, + "id": 596, "nodeType": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "expression": { @@ -6976,18 +6976,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1107, + "id": 599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1105, + "id": 597, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1089, - "src": "17072:1:1", + "referencedDeclaration": 581, + "src": "17573:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6996,54 +6996,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1106, + "id": 598, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17076:1:1", + "referencedDeclaration": 583, + "src": "17577:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17072:5:1", + "src": "17573:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1097, - "id": 1108, + "functionReturnParameters": 589, + "id": 600, "nodeType": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ] }, "documentation": { - "id": 1087, + "id": 579, "nodeType": "StructuredDocumentation", - "src": "16271:646:1", + "src": "16755:660:0", "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1110, + "id": 602, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1094, + "id": 586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1089, + "id": 581, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16935:9:1", + "scope": 602, + "src": "17434:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7051,10 +7051,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1088, + "id": 580, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16935:7:1", + "src": "17434:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7064,12 +7064,12 @@ }, { "constant": false, - "id": 1091, + "id": 583, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16946:9:1", + "scope": 602, + "src": "17445:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7077,10 +7077,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1090, + "id": 582, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16946:7:1", + "src": "17445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7090,12 +7090,12 @@ }, { "constant": false, - "id": 1093, + "id": 585, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16957:26:1", + "scope": 602, + "src": "17456:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7103,10 +7103,10 @@ "typeString": "string" }, "typeName": { - "id": 1092, + "id": 584, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16957:6:1", + "src": "17456:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7115,20 +7115,20 @@ "visibility": "internal" } ], - "src": "16934:50:1" + "src": "17433:50:0" }, "returnParameters": { - "id": 1097, + "id": 589, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1096, + "id": 588, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "17008:7:1", + "scope": 602, + "src": "17507:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7136,10 +7136,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1095, + "id": 587, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17008:7:1", + "src": "17507:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7148,19 +7148,19 @@ "visibility": "internal" } ], - "src": "17007:9:1" + "src": "17506:9:0" }, - "scope": 1135, - "src": "16922:162:1", + "scope": 627, + "src": "17421:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1133, + "id": 625, "nodeType": "Block", - "src": "17825:67:1", + "src": "18344:70:0", "statements": [ { "expression": { @@ -7170,18 +7170,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1125, + "id": 617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1123, + "id": 615, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17843:1:1", + "referencedDeclaration": 607, + "src": "18363:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7191,33 +7191,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1124, + "id": 616, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17847:1:1", + "src": "18367:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17843:5:1", + "src": "18363:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1126, + "id": 618, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1117, - "src": "17850:12:1", + "referencedDeclaration": 609, + "src": "18370:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7235,7 +7235,7 @@ "typeString": "string memory" } ], - "id": 1122, + "id": 614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7243,13 +7243,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17835:7:1", + "src": "18355:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1127, + "id": 619, "isConstant": false, "isLValue": false, "isPure": false, @@ -7257,16 +7257,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17835:28:1", + "src": "18355:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1128, + "id": 620, "nodeType": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "expression": { @@ -7274,18 +7274,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1131, + "id": 623, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1129, + "id": 621, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1113, - "src": "17880:1:1", + "referencedDeclaration": 605, + "src": "18401:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7294,54 +7294,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1130, + "id": 622, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17884:1:1", + "referencedDeclaration": 607, + "src": "18405:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17880:5:1", + "src": "18401:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1121, - "id": 1132, + "functionReturnParameters": 613, + "id": 624, "nodeType": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ] }, "documentation": { - "id": 1111, + "id": 603, "nodeType": "StructuredDocumentation", - "src": "17090:635:1", + "src": "17594:649:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1134, + "id": 626, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1118, + "id": 610, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1113, + "id": 605, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17743:9:1", + "scope": 626, + "src": "18262:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7349,10 +7349,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1112, + "id": 604, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17743:7:1", + "src": "18262:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7362,12 +7362,12 @@ }, { "constant": false, - "id": 1115, + "id": 607, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17754:9:1", + "scope": 626, + "src": "18273:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7375,10 +7375,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1114, + "id": 606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17754:7:1", + "src": "18273:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7388,12 +7388,12 @@ }, { "constant": false, - "id": 1117, + "id": 609, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17765:26:1", + "scope": 626, + "src": "18284:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7401,10 +7401,10 @@ "typeString": "string" }, "typeName": { - "id": 1116, + "id": 608, "name": "string", "nodeType": "ElementaryTypeName", - "src": "17765:6:1", + "src": "18284:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7413,20 +7413,20 @@ "visibility": "internal" } ], - "src": "17742:50:1" + "src": "18261:50:0" }, "returnParameters": { - "id": 1121, + "id": 613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1120, + "id": 612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17816:7:1", + "scope": 626, + "src": "18335:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7434,10 +7434,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1119, + "id": 611, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17816:7:1", + "src": "18335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7446,20 +7446,20 @@ "visibility": "internal" } ], - "src": "17815:9:1" + "src": "18334:9:0" }, - "scope": 1135, - "src": "17730:162:1", + "scope": 627, + "src": "18249:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "11300:6594:1" + "scope": 2991, + "src": "11627:6790:0" }, { - "id": 1136, + "id": 628, "literals": [ "solidity", ">=", @@ -7470,7 +7470,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "abstract": false, @@ -7478,38 +7478,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1137, + "id": 629, "nodeType": "StructuredDocumentation", - "src": "17980:67:1", + "src": "18508:69:0", "text": " @dev Collection of functions related to the address type" }, "fullyImplemented": true, - "id": 1430, + "id": 922, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1153, + "id": 645, "nodeType": "Block", - "src": "18706:347:1", + "src": "19255:356:0", "statements": [ { "assignments": [ - 1146 + 638 ], "declarations": [ { "constant": false, - "id": 1146, + "id": 638, "mutability": "mutable", "name": "size", "nodeType": "VariableDeclaration", - "scope": 1153, - "src": "18903:12:1", + "scope": 645, + "src": "19457:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7517,10 +7517,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1145, + "id": 637, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "18903:7:1", + "src": "19457:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7529,39 +7529,39 @@ "visibility": "internal" } ], - "id": 1147, + "id": 639, "nodeType": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "AST": { "nodeType": "YulBlock", - "src": "18990:32:1", + "src": "19546:32:0", "statements": [ { "nodeType": "YulAssignment", - "src": "18992:28:1", + "src": "19548:28:0", "value": { "arguments": [ { "name": "account", "nodeType": "YulIdentifier", - "src": "19012:7:1" + "src": "19568:7:0" } ], "functionName": { "name": "extcodesize", "nodeType": "YulIdentifier", - "src": "19000:11:1" + "src": "19556:11:0" }, "nodeType": "YulFunctionCall", - "src": "19000:20:1" + "src": "19556:20:0" }, "variableNames": [ { "name": "size", "nodeType": "YulIdentifier", - "src": "18992:4:1" + "src": "19548:4:0" } ] } @@ -7570,23 +7570,23 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], - "id": 1148, + "id": 640, "nodeType": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "expression": { @@ -7594,18 +7594,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1151, + "id": 643, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1149, + "id": 641, "name": "size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1146, - "src": "19038:4:1", + "referencedDeclaration": 638, + "src": "19595:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7615,57 +7615,57 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1150, + "id": 642, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19045:1:1", + "src": "19602:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "19038:8:1", + "src": "19595:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1144, - "id": 1152, + "functionReturnParameters": 636, + "id": 644, "nodeType": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ] }, "documentation": { - "id": 1138, + "id": 630, "nodeType": "StructuredDocumentation", - "src": "18070:565:1", + "src": "18602:581:0", "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1154, + "id": 646, "implemented": true, "kind": "function", "modifiers": [], "name": "isContract", "nodeType": "FunctionDefinition", "parameters": { - "id": 1141, + "id": 633, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1140, + "id": 632, "mutability": "mutable", "name": "account", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18660:15:1", + "scope": 646, + "src": "19209:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7673,10 +7673,10 @@ "typeString": "address" }, "typeName": { - "id": 1139, + "id": 631, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18660:7:1", + "src": "19209:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -7686,20 +7686,20 @@ "visibility": "internal" } ], - "src": "18659:17:1" + "src": "19208:17:0" }, "returnParameters": { - "id": 1144, + "id": 636, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1143, + "id": 635, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18700:4:1", + "scope": 646, + "src": "19249:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7707,10 +7707,10 @@ "typeString": "bool" }, "typeName": { - "id": 1142, + "id": 634, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "18700:4:1", + "src": "19249:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7719,19 +7719,19 @@ "visibility": "internal" } ], - "src": "18699:6:1" + "src": "19248:6:0" }, - "scope": 1430, - "src": "18640:413:1", + "scope": 922, + "src": "19189:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1187, + "id": 679, "nodeType": "Block", - "src": "20041:320:1", + "src": "20617:326:0", "statements": [ { "expression": { @@ -7741,7 +7741,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1169, + "id": 661, "isConstant": false, "isLValue": false, "isPure": false, @@ -7750,14 +7750,14 @@ "expression": { "arguments": [ { - "id": 1165, + "id": 657, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "20067:4:1", + "src": "20644:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -7765,30 +7765,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1164, + "id": 656, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1163, + "id": 655, "name": "address", "nodeType": "ElementaryTypeName", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": {} } }, - "id": 1166, + "id": 658, "isConstant": false, "isLValue": false, "isPure": false, @@ -7796,21 +7796,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20059:13:1", + "src": "20636:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1167, + "id": 659, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "20059:21:1", + "src": "20636:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7819,18 +7819,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1168, + "id": 660, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20084:6:1", + "referencedDeclaration": 651, + "src": "20661:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "20059:31:1", + "src": "20636:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7838,14 +7838,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e6365", - "id": 1170, + "id": 662, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20092:31:1", + "src": "20669:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9", "typeString": "literal_string \"Address: insufficient balance\"" @@ -7864,7 +7864,7 @@ "typeString": "literal_string \"Address: insufficient balance\"" } ], - "id": 1162, + "id": 654, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7872,13 +7872,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20051:7:1", + "src": "20628:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1171, + "id": 663, "isConstant": false, "isLValue": false, "isPure": false, @@ -7886,31 +7886,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20051:73:1", + "src": "20628:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1172, + "id": 664, "nodeType": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "assignments": [ - 1174, + 666, null ], "declarations": [ { "constant": false, - "id": 1174, + "id": 666, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1187, - "src": "20213:12:1", + "scope": 679, + "src": "20793:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7918,10 +7918,10 @@ "typeString": "bool" }, "typeName": { - "id": 1173, + "id": 665, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "20213:4:1", + "src": "20793:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7931,19 +7931,19 @@ }, null ], - "id": 1181, + "id": 673, "initialValue": { "arguments": [ { "hexValue": "", - "id": 1179, + "id": 671, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20263:2:1", + "src": "20843:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -7966,31 +7966,31 @@ } ], "expression": { - "id": 1175, + "id": 667, "name": "recipient", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1157, - "src": "20231:9:1", + "referencedDeclaration": 649, + "src": "20811:9:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 1176, + "id": 668, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "20231:14:1", + "src": "20811:14:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1178, + "id": 670, "isConstant": false, "isLValue": false, "isPure": false, @@ -8001,25 +8001,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1177, + "id": 669, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20254:6:1", + "referencedDeclaration": 651, + "src": "20834:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "20231:31:1", + "src": "20811:31:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1180, + "id": 672, "isConstant": false, "isLValue": false, "isPure": false, @@ -8027,7 +8027,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20231:35:1", + "src": "20811:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -8035,18 +8035,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "expression": { "arguments": [ { - "id": 1183, + "id": 675, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1174, - "src": "20284:7:1", + "referencedDeclaration": 666, + "src": "20865:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8054,14 +8054,14 @@ }, { "hexValue": "416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564", - "id": 1184, + "id": 676, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20293:60:1", + "src": "20874:60:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae", "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" @@ -8080,7 +8080,7 @@ "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" } ], - "id": 1182, + "id": 674, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -8088,13 +8088,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20276:7:1", + "src": "20857:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1185, + "id": 677, "isConstant": false, "isLValue": false, "isPure": false, @@ -8102,43 +8102,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20276:78:1", + "src": "20857:78:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1186, + "id": 678, "nodeType": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ] }, "documentation": { - "id": 1155, + "id": 647, "nodeType": "StructuredDocumentation", - "src": "19059:906:1", + "src": "19619:921:0", "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1188, + "id": 680, "implemented": true, "kind": "function", "modifiers": [], "name": "sendValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1160, + "id": 652, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1157, + "id": 649, "mutability": "mutable", "name": "recipient", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "19989:25:1", + "scope": 680, + "src": "20565:25:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8146,10 +8146,10 @@ "typeString": "address payable" }, "typeName": { - "id": 1156, + "id": 648, "name": "address", "nodeType": "ElementaryTypeName", - "src": "19989:15:1", + "src": "20565:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -8160,12 +8160,12 @@ }, { "constant": false, - "id": 1159, + "id": 651, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "20016:14:1", + "scope": 680, + "src": "20592:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8173,10 +8173,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1158, + "id": 650, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "20016:7:1", + "src": "20592:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8185,48 +8185,48 @@ "visibility": "internal" } ], - "src": "19988:43:1" + "src": "20564:43:0" }, "returnParameters": { - "id": 1161, + "id": 653, "nodeType": "ParameterList", "parameters": [], - "src": "20041:0:1" + "src": "20617:0:0" }, - "scope": 1430, - "src": "19970:391:1", + "scope": 922, + "src": "20546:397:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1204, + "id": 696, "nodeType": "Block", - "src": "21191:82:1", + "src": "21793:84:0", "statements": [ { "expression": { "arguments": [ { - "id": 1199, + "id": 691, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1191, - "src": "21219:6:1", + "referencedDeclaration": 683, + "src": "21822:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1200, + "id": 692, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1193, - "src": "21227:4:1", + "referencedDeclaration": 685, + "src": "21830:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8234,14 +8234,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564", - "id": 1201, + "id": 693, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "21233:32:1", + "src": "21836:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", "typeString": "literal_string \"Address: low-level call failed\"" @@ -8264,21 +8264,21 @@ "typeString": "literal_string \"Address: low-level call failed\"" } ], - "id": 1198, + "id": 690, "name": "functionCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, - "src": "21206:12:1", + "referencedDeclaration": 717, + "src": "21809:12:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1202, + "id": 694, "isConstant": false, "isLValue": false, "isPure": false, @@ -8286,44 +8286,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21206:60:1", + "src": "21809:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1197, - "id": 1203, + "functionReturnParameters": 689, + "id": 695, "nodeType": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ] }, "documentation": { - "id": 1189, + "id": 681, "nodeType": "StructuredDocumentation", - "src": "20367:730:1", + "src": "20951:747:0", "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1205, + "id": 697, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1194, + "id": 686, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1191, + "id": 683, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21124:14:1", + "scope": 697, + "src": "21726:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8331,10 +8331,10 @@ "typeString": "address" }, "typeName": { - "id": 1190, + "id": 682, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21124:7:1", + "src": "21726:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8345,12 +8345,12 @@ }, { "constant": false, - "id": 1193, + "id": 685, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21140:17:1", + "scope": 697, + "src": "21742:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8358,10 +8358,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1192, + "id": 684, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21140:5:1", + "src": "21742:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8370,20 +8370,20 @@ "visibility": "internal" } ], - "src": "21123:35:1" + "src": "21725:35:0" }, "returnParameters": { - "id": 1197, + "id": 689, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1196, + "id": 688, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21177:12:1", + "scope": 697, + "src": "21779:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8391,10 +8391,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1195, + "id": 687, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21177:5:1", + "src": "21779:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8403,42 +8403,42 @@ "visibility": "internal" } ], - "src": "21176:14:1" + "src": "21778:14:0" }, - "scope": 1430, - "src": "21102:171:1", + "scope": 922, + "src": "21704:173:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1224, + "id": 716, "nodeType": "Block", - "src": "21612:76:1", + "src": "22224:78:0", "statements": [ { "expression": { "arguments": [ { - "id": 1218, + "id": 710, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1208, - "src": "21651:6:1", + "referencedDeclaration": 700, + "src": "22264:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1219, + "id": 711, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1210, - "src": "21659:4:1", + "referencedDeclaration": 702, + "src": "22272:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8446,14 +8446,14 @@ }, { "hexValue": "30", - "id": 1220, + "id": 712, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "21665:1:1", + "src": "22278:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -8461,12 +8461,12 @@ "value": "0" }, { - "id": 1221, + "id": 713, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1212, - "src": "21668:12:1", + "referencedDeclaration": 704, + "src": "22281:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -8492,21 +8492,21 @@ "typeString": "string memory" } ], - "id": 1217, + "id": 709, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "21629:21:1", + "referencedDeclaration": 787, + "src": "22242:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1222, + "id": 714, "isConstant": false, "isLValue": false, "isPure": false, @@ -8514,44 +8514,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21629:52:1", + "src": "22242:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1216, - "id": 1223, + "functionReturnParameters": 708, + "id": 715, "nodeType": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ] }, "documentation": { - "id": 1206, + "id": 698, "nodeType": "StructuredDocumentation", - "src": "21279:211:1", + "src": "21885:216:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1225, + "id": 717, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1213, + "id": 705, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1208, + "id": 700, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21517:14:1", + "scope": 717, + "src": "22129:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8559,10 +8559,10 @@ "typeString": "address" }, "typeName": { - "id": 1207, + "id": 699, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21517:7:1", + "src": "22129:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8573,12 +8573,12 @@ }, { "constant": false, - "id": 1210, + "id": 702, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21533:17:1", + "scope": 717, + "src": "22145:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8586,10 +8586,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1209, + "id": 701, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21533:5:1", + "src": "22145:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8599,12 +8599,12 @@ }, { "constant": false, - "id": 1212, + "id": 704, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21552:26:1", + "scope": 717, + "src": "22164:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8612,10 +8612,10 @@ "typeString": "string" }, "typeName": { - "id": 1211, + "id": 703, "name": "string", "nodeType": "ElementaryTypeName", - "src": "21552:6:1", + "src": "22164:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -8624,20 +8624,20 @@ "visibility": "internal" } ], - "src": "21516:63:1" + "src": "22128:63:0" }, "returnParameters": { - "id": 1216, + "id": 708, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1215, + "id": 707, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21598:12:1", + "scope": 717, + "src": "22210:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8645,10 +8645,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1214, + "id": 706, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21598:5:1", + "src": "22210:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8657,54 +8657,54 @@ "visibility": "internal" } ], - "src": "21597:14:1" + "src": "22209:14:0" }, - "scope": 1430, - "src": "21495:193:1", + "scope": 922, + "src": "22107:195:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1244, + "id": 736, "nodeType": "Block", - "src": "22163:111:1", + "src": "22790:113:0", "statements": [ { "expression": { "arguments": [ { - "id": 1238, + "id": 730, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1228, - "src": "22202:6:1", + "referencedDeclaration": 720, + "src": "22830:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1239, + "id": 731, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1230, - "src": "22210:4:1", + "referencedDeclaration": 722, + "src": "22838:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1240, + "id": 732, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1232, - "src": "22216:5:1", + "referencedDeclaration": 724, + "src": "22844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8712,14 +8712,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564", - "id": 1241, + "id": 733, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22223:43:1", + "src": "22851:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc", "typeString": "literal_string \"Address: low-level call with value failed\"" @@ -8746,21 +8746,21 @@ "typeString": "literal_string \"Address: low-level call with value failed\"" } ], - "id": 1237, + "id": 729, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "22180:21:1", + "referencedDeclaration": 787, + "src": "22808:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1242, + "id": 734, "isConstant": false, "isLValue": false, "isPure": false, @@ -8768,44 +8768,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22180:87:1", + "src": "22808:87:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1236, - "id": 1243, + "functionReturnParameters": 728, + "id": 735, "nodeType": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ] }, "documentation": { - "id": 1226, + "id": 718, "nodeType": "StructuredDocumentation", - "src": "21694:351:1", + "src": "22310:361:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1245, + "id": 737, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1233, + "id": 725, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1228, + "id": 720, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22081:14:1", + "scope": 737, + "src": "22708:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8813,10 +8813,10 @@ "typeString": "address" }, "typeName": { - "id": 1227, + "id": 719, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22081:7:1", + "src": "22708:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8827,12 +8827,12 @@ }, { "constant": false, - "id": 1230, + "id": 722, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22097:17:1", + "scope": 737, + "src": "22724:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8840,10 +8840,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1229, + "id": 721, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22097:5:1", + "src": "22724:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8853,12 +8853,12 @@ }, { "constant": false, - "id": 1232, + "id": 724, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22116:13:1", + "scope": 737, + "src": "22743:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8866,10 +8866,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1231, + "id": 723, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22116:7:1", + "src": "22743:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8878,20 +8878,20 @@ "visibility": "internal" } ], - "src": "22080:50:1" + "src": "22707:50:0" }, "returnParameters": { - "id": 1236, + "id": 728, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1235, + "id": 727, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22149:12:1", + "scope": 737, + "src": "22776:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8899,10 +8899,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1234, + "id": 726, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22149:5:1", + "src": "22776:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8911,19 +8911,19 @@ "visibility": "internal" } ], - "src": "22148:14:1" + "src": "22775:14:0" }, - "scope": 1430, - "src": "22050:224:1", + "scope": 922, + "src": "22677:226:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1294, + "id": 786, "nodeType": "Block", - "src": "22663:382:1", + "src": "23300:389:0", "statements": [ { "expression": { @@ -8933,7 +8933,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1266, + "id": 758, "isConstant": false, "isLValue": false, "isPure": false, @@ -8942,14 +8942,14 @@ "expression": { "arguments": [ { - "id": 1262, + "id": 754, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "22689:4:1", + "src": "23327:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -8957,30 +8957,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1261, + "id": 753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1260, + "id": 752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": {} } }, - "id": 1263, + "id": 755, "isConstant": false, "isLValue": false, "isPure": false, @@ -8988,21 +8988,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22681:13:1", + "src": "23319:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1264, + "id": 756, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "22681:21:1", + "src": "23319:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9011,18 +9011,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1265, + "id": 757, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22706:5:1", + "referencedDeclaration": 744, + "src": "23344:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "22681:30:1", + "src": "23319:30:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9030,14 +9030,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c", - "id": 1267, + "id": 759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22713:40:1", + "src": "23351:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c", "typeString": "literal_string \"Address: insufficient balance for call\"" @@ -9056,7 +9056,7 @@ "typeString": "literal_string \"Address: insufficient balance for call\"" } ], - "id": 1259, + "id": 751, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9064,13 +9064,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22673:7:1", + "src": "23311:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1268, + "id": 760, "isConstant": false, "isLValue": false, "isPure": false, @@ -9078,16 +9078,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22673:81:1", + "src": "23311:81:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1269, + "id": 761, "nodeType": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "expression": { @@ -9095,12 +9095,12 @@ { "arguments": [ { - "id": 1272, + "id": 764, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22783:6:1", + "referencedDeclaration": 740, + "src": "23422:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9114,18 +9114,18 @@ "typeString": "address" } ], - "id": 1271, + "id": 763, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "22772:10:1", + "referencedDeclaration": 646, + "src": "23411:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1273, + "id": 765, "isConstant": false, "isLValue": false, "isPure": false, @@ -9133,7 +9133,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22772:18:1", + "src": "23411:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9142,14 +9142,14 @@ }, { "hexValue": "416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1274, + "id": 766, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22792:31:1", + "src": "23431:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad", "typeString": "literal_string \"Address: call to non-contract\"" @@ -9168,7 +9168,7 @@ "typeString": "literal_string \"Address: call to non-contract\"" } ], - "id": 1270, + "id": 762, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9176,13 +9176,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22764:7:1", + "src": "23403:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1275, + "id": 767, "isConstant": false, "isLValue": false, "isPure": false, @@ -9190,31 +9190,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22764:60:1", + "src": "23403:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1276, + "id": 768, "nodeType": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "assignments": [ - 1278, - 1280 + 770, + 772 ], "declarations": [ { "constant": false, - "id": 1278, + "id": 770, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22895:12:1", + "scope": 786, + "src": "23537:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9222,10 +9222,10 @@ "typeString": "bool" }, "typeName": { - "id": 1277, + "id": 769, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "22895:4:1", + "src": "23537:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9235,12 +9235,12 @@ }, { "constant": false, - "id": 1280, + "id": 772, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22909:23:1", + "scope": 786, + "src": "23551:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9248,10 +9248,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1279, + "id": 771, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22909:5:1", + "src": "23551:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9260,16 +9260,16 @@ "visibility": "internal" } ], - "id": 1287, + "id": 779, "initialValue": { "arguments": [ { - "id": 1285, + "id": 777, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1250, - "src": "22964:4:1", + "referencedDeclaration": 742, + "src": "23606:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9291,31 +9291,31 @@ } ], "expression": { - "id": 1281, + "id": 773, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22936:6:1", + "referencedDeclaration": 740, + "src": "23578:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1282, + "id": 774, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "22936:11:1", + "src": "23578:11:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1284, + "id": 776, "isConstant": false, "isLValue": false, "isPure": false, @@ -9326,25 +9326,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1283, + "id": 775, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22956:5:1", + "referencedDeclaration": 744, + "src": "23598:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "22936:27:1", + "src": "23578:27:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1286, + "id": 778, "isConstant": false, "isLValue": false, "isPure": false, @@ -9352,7 +9352,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22936:33:1", + "src": "23578:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -9360,42 +9360,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "expression": { "arguments": [ { - "id": 1289, + "id": 781, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1278, - "src": "23004:7:1", + "referencedDeclaration": 770, + "src": "23647:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1290, + "id": 782, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1280, - "src": "23013:10:1", + "referencedDeclaration": 772, + "src": "23656:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1291, + "id": 783, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1254, - "src": "23025:12:1", + "referencedDeclaration": 746, + "src": "23668:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -9417,18 +9417,18 @@ "typeString": "string memory" } ], - "id": 1288, + "id": 780, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "22986:17:1", + "referencedDeclaration": 921, + "src": "23629:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1292, + "id": 784, "isConstant": false, "isLValue": false, "isPure": false, @@ -9436,44 +9436,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22986:52:1", + "src": "23629:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1258, - "id": 1293, + "functionReturnParameters": 750, + "id": 785, "nodeType": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ] }, "documentation": { - "id": 1246, + "id": 738, "nodeType": "StructuredDocumentation", - "src": "22280:237:1", + "src": "22911:242:0", "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1295, + "id": 787, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1255, + "id": 747, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1248, + "id": 740, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22553:14:1", + "scope": 787, + "src": "23190:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9481,10 +9481,10 @@ "typeString": "address" }, "typeName": { - "id": 1247, + "id": 739, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22553:7:1", + "src": "23190:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9495,12 +9495,12 @@ }, { "constant": false, - "id": 1250, + "id": 742, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22569:17:1", + "scope": 787, + "src": "23206:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9508,10 +9508,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1249, + "id": 741, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22569:5:1", + "src": "23206:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9521,12 +9521,12 @@ }, { "constant": false, - "id": 1252, + "id": 744, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22588:13:1", + "scope": 787, + "src": "23225:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9534,10 +9534,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1251, + "id": 743, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22588:7:1", + "src": "23225:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9547,12 +9547,12 @@ }, { "constant": false, - "id": 1254, + "id": 746, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22603:26:1", + "scope": 787, + "src": "23240:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9560,10 +9560,10 @@ "typeString": "string" }, "typeName": { - "id": 1253, + "id": 745, "name": "string", "nodeType": "ElementaryTypeName", - "src": "22603:6:1", + "src": "23240:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -9572,20 +9572,20 @@ "visibility": "internal" } ], - "src": "22552:78:1" + "src": "23189:78:0" }, "returnParameters": { - "id": 1258, + "id": 750, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1257, + "id": 749, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22649:12:1", + "scope": 787, + "src": "23286:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9593,10 +9593,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1256, + "id": 748, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22649:5:1", + "src": "23286:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9605,42 +9605,42 @@ "visibility": "internal" } ], - "src": "22648:14:1" + "src": "23285:14:0" }, - "scope": 1430, - "src": "22522:523:1", + "scope": 922, + "src": "23159:530:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1311, + "id": 803, "nodeType": "Block", - "src": "23322:97:1", + "src": "23974:99:0", "statements": [ { "expression": { "arguments": [ { - "id": 1306, + "id": 798, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1298, - "src": "23358:6:1", + "referencedDeclaration": 790, + "src": "24011:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1307, + "id": 799, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1300, - "src": "23366:4:1", + "referencedDeclaration": 792, + "src": "24019:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9648,14 +9648,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564", - "id": 1308, + "id": 800, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23372:39:1", + "src": "24025:39:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0", "typeString": "literal_string \"Address: low-level static call failed\"" @@ -9678,21 +9678,21 @@ "typeString": "literal_string \"Address: low-level static call failed\"" } ], - "id": 1305, + "id": 797, "name": "functionStaticCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, - "src": "23339:18:1", + "referencedDeclaration": 839, + "src": "23992:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) view returns (bytes memory)" } }, - "id": 1309, + "id": 801, "isConstant": false, "isLValue": false, "isPure": false, @@ -9700,44 +9700,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23339:73:1", + "src": "23992:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1304, - "id": 1310, + "functionReturnParameters": 796, + "id": 802, "nodeType": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ] }, "documentation": { - "id": 1296, + "id": 788, "nodeType": "StructuredDocumentation", - "src": "23051:166:1", + "src": "23697:171:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1312, + "id": 804, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1301, + "id": 793, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1298, + "id": 790, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23250:14:1", + "scope": 804, + "src": "23902:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9745,10 +9745,10 @@ "typeString": "address" }, "typeName": { - "id": 1297, + "id": 789, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23250:7:1", + "src": "23902:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9759,12 +9759,12 @@ }, { "constant": false, - "id": 1300, + "id": 792, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23266:17:1", + "scope": 804, + "src": "23918:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9772,10 +9772,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1299, + "id": 791, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23266:5:1", + "src": "23918:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9784,20 +9784,20 @@ "visibility": "internal" } ], - "src": "23249:35:1" + "src": "23901:35:0" }, "returnParameters": { - "id": 1304, + "id": 796, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1303, + "id": 795, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23308:12:1", + "scope": 804, + "src": "23960:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9805,10 +9805,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1302, + "id": 794, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23308:5:1", + "src": "23960:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9817,19 +9817,19 @@ "visibility": "internal" } ], - "src": "23307:14:1" + "src": "23959:14:0" }, - "scope": 1430, - "src": "23222:197:1", + "scope": 922, + "src": "23874:199:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1346, + "id": 838, "nodeType": "Block", - "src": "23731:288:1", + "src": "24393:294:0", "statements": [ { "expression": { @@ -9837,12 +9837,12 @@ { "arguments": [ { - "id": 1326, + "id": 818, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23760:6:1", + "referencedDeclaration": 807, + "src": "24423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9856,18 +9856,18 @@ "typeString": "address" } ], - "id": 1325, + "id": 817, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "23749:10:1", + "referencedDeclaration": 646, + "src": "24412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1327, + "id": 819, "isConstant": false, "isLValue": false, "isPure": false, @@ -9875,7 +9875,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23749:18:1", + "src": "24412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9884,14 +9884,14 @@ }, { "hexValue": "416464726573733a207374617469632063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1328, + "id": 820, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23769:38:1", + "src": "24432:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c79cc78e4f16ce3933a42b84c73868f93bb4a59c031a0acf576679de98c608a9", "typeString": "literal_string \"Address: static call to non-contract\"" @@ -9910,7 +9910,7 @@ "typeString": "literal_string \"Address: static call to non-contract\"" } ], - "id": 1324, + "id": 816, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9918,13 +9918,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "23741:7:1", + "src": "24404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1329, + "id": 821, "isConstant": false, "isLValue": false, "isPure": false, @@ -9932,31 +9932,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23741:67:1", + "src": "24404:67:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1330, + "id": 822, "nodeType": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "assignments": [ - 1332, - 1334 + 824, + 826 ], "declarations": [ { "constant": false, - "id": 1332, + "id": 824, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23879:12:1", + "scope": 838, + "src": "24545:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9964,10 +9964,10 @@ "typeString": "bool" }, "typeName": { - "id": 1331, + "id": 823, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "23879:4:1", + "src": "24545:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9977,12 +9977,12 @@ }, { "constant": false, - "id": 1334, + "id": 826, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23893:23:1", + "scope": 838, + "src": "24559:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9990,10 +9990,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1333, + "id": 825, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23893:5:1", + "src": "24559:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10002,16 +10002,16 @@ "visibility": "internal" } ], - "id": 1339, + "id": 831, "initialValue": { "arguments": [ { - "id": 1337, + "id": 829, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1317, - "src": "23938:4:1", + "referencedDeclaration": 809, + "src": "24604:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10026,31 +10026,31 @@ } ], "expression": { - "id": 1335, + "id": 827, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23920:6:1", + "referencedDeclaration": 807, + "src": "24586:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1336, + "id": 828, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "staticcall", "nodeType": "MemberAccess", - "src": "23920:17:1", + "src": "24586:17:0", "typeDescriptions": { "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) view returns (bool,bytes memory)" } }, - "id": 1338, + "id": 830, "isConstant": false, "isLValue": false, "isPure": false, @@ -10058,7 +10058,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23920:23:1", + "src": "24586:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10066,42 +10066,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "expression": { "arguments": [ { - "id": 1341, + "id": 833, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "23978:7:1", + "referencedDeclaration": 824, + "src": "24645:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1342, + "id": 834, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1334, - "src": "23987:10:1", + "referencedDeclaration": 826, + "src": "24654:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1343, + "id": 835, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1319, - "src": "23999:12:1", + "referencedDeclaration": 811, + "src": "24666:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10123,18 +10123,18 @@ "typeString": "string memory" } ], - "id": 1340, + "id": 832, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "23960:17:1", + "referencedDeclaration": 921, + "src": "24627:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1344, + "id": 836, "isConstant": false, "isLValue": false, "isPure": false, @@ -10142,44 +10142,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23960:52:1", + "src": "24627:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1323, - "id": 1345, + "functionReturnParameters": 815, + "id": 837, "nodeType": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ] }, "documentation": { - "id": 1313, + "id": 805, "nodeType": "StructuredDocumentation", - "src": "23425:173:1", + "src": "24081:178:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1347, + "id": 839, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1320, + "id": 812, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1315, + "id": 807, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23631:14:1", + "scope": 839, + "src": "24293:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10187,10 +10187,10 @@ "typeString": "address" }, "typeName": { - "id": 1314, + "id": 806, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23631:7:1", + "src": "24293:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10201,12 +10201,12 @@ }, { "constant": false, - "id": 1317, + "id": 809, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23647:17:1", + "scope": 839, + "src": "24309:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10214,10 +10214,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1316, + "id": 808, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23647:5:1", + "src": "24309:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10227,12 +10227,12 @@ }, { "constant": false, - "id": 1319, + "id": 811, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23666:26:1", + "scope": 839, + "src": "24328:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10240,10 +10240,10 @@ "typeString": "string" }, "typeName": { - "id": 1318, + "id": 810, "name": "string", "nodeType": "ElementaryTypeName", - "src": "23666:6:1", + "src": "24328:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10252,20 +10252,20 @@ "visibility": "internal" } ], - "src": "23630:63:1" + "src": "24292:63:0" }, "returnParameters": { - "id": 1323, + "id": 815, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1322, + "id": 814, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23717:12:1", + "scope": 839, + "src": "24379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10273,10 +10273,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1321, + "id": 813, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23717:5:1", + "src": "24379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10285,42 +10285,42 @@ "visibility": "internal" } ], - "src": "23716:14:1" + "src": "24378:14:0" }, - "scope": 1430, - "src": "23603:416:1", + "scope": 922, + "src": "24265:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1363, + "id": 855, "nodeType": "Block", - "src": "24295:101:1", + "src": "24971:103:0", "statements": [ { "expression": { "arguments": [ { - "id": 1358, + "id": 850, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1350, - "src": "24333:6:1", + "referencedDeclaration": 842, + "src": "25010:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1359, + "id": 851, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1352, - "src": "24341:4:1", + "referencedDeclaration": 844, + "src": "25018:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10328,14 +10328,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564", - "id": 1360, + "id": 852, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24347:41:1", + "src": "25024:41:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398", "typeString": "literal_string \"Address: low-level delegate call failed\"" @@ -10358,21 +10358,21 @@ "typeString": "literal_string \"Address: low-level delegate call failed\"" } ], - "id": 1357, + "id": 849, "name": "functionDelegateCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, - "src": "24312:20:1", + "referencedDeclaration": 891, + "src": "24989:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1361, + "id": 853, "isConstant": false, "isLValue": false, "isPure": false, @@ -10380,44 +10380,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24312:77:1", + "src": "24989:77:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1356, - "id": 1362, + "functionReturnParameters": 848, + "id": 854, "nodeType": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ] }, "documentation": { - "id": 1348, + "id": 840, "nodeType": "StructuredDocumentation", - "src": "24025:168:1", + "src": "24695:173:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1364, + "id": 856, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1353, + "id": 845, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1350, + "id": 842, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24228:14:1", + "scope": 856, + "src": "24904:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10425,10 +10425,10 @@ "typeString": "address" }, "typeName": { - "id": 1349, + "id": 841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24228:7:1", + "src": "24904:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10439,12 +10439,12 @@ }, { "constant": false, - "id": 1352, + "id": 844, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24244:17:1", + "scope": 856, + "src": "24920:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10452,10 +10452,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1351, + "id": 843, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24244:5:1", + "src": "24920:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10464,20 +10464,20 @@ "visibility": "internal" } ], - "src": "24227:35:1" + "src": "24903:35:0" }, "returnParameters": { - "id": 1356, + "id": 848, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1355, + "id": 847, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24281:12:1", + "scope": 856, + "src": "24957:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10485,10 +10485,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1354, + "id": 846, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24281:5:1", + "src": "24957:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10497,19 +10497,19 @@ "visibility": "internal" } ], - "src": "24280:14:1" + "src": "24956:14:0" }, - "scope": 1430, - "src": "24198:198:1", + "scope": 922, + "src": "24874:200:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1398, + "id": 890, "nodeType": "Block", - "src": "24707:292:1", + "src": "25393:298:0", "statements": [ { "expression": { @@ -10517,12 +10517,12 @@ { "arguments": [ { - "id": 1378, + "id": 870, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24736:6:1", + "referencedDeclaration": 859, + "src": "25423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10536,18 +10536,18 @@ "typeString": "address" } ], - "id": 1377, + "id": 869, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "24725:10:1", + "referencedDeclaration": 646, + "src": "25412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1379, + "id": 871, "isConstant": false, "isLValue": false, "isPure": false, @@ -10555,7 +10555,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24725:18:1", + "src": "25412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10564,14 +10564,14 @@ }, { "hexValue": "416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1380, + "id": 872, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24745:40:1", + "src": "25432:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b94ded0918034cf8f896e19fa3cfdef1188cd569c577264a3622e49152f88520", "typeString": "literal_string \"Address: delegate call to non-contract\"" @@ -10590,7 +10590,7 @@ "typeString": "literal_string \"Address: delegate call to non-contract\"" } ], - "id": 1376, + "id": 868, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -10598,13 +10598,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "24717:7:1", + "src": "25404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1381, + "id": 873, "isConstant": false, "isLValue": false, "isPure": false, @@ -10612,31 +10612,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24717:69:1", + "src": "25404:69:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1382, + "id": 874, "nodeType": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "assignments": [ - 1384, - 1386 + 876, + 878 ], "declarations": [ { "constant": false, - "id": 1384, + "id": 876, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24857:12:1", + "scope": 890, + "src": "25547:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10644,10 +10644,10 @@ "typeString": "bool" }, "typeName": { - "id": 1383, + "id": 875, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "24857:4:1", + "src": "25547:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10657,12 +10657,12 @@ }, { "constant": false, - "id": 1386, + "id": 878, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24871:23:1", + "scope": 890, + "src": "25561:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10670,10 +10670,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1385, + "id": 877, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24871:5:1", + "src": "25561:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10682,16 +10682,16 @@ "visibility": "internal" } ], - "id": 1391, + "id": 883, "initialValue": { "arguments": [ { - "id": 1389, + "id": 881, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1369, - "src": "24918:4:1", + "referencedDeclaration": 861, + "src": "25608:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10706,31 +10706,31 @@ } ], "expression": { - "id": 1387, + "id": 879, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24898:6:1", + "referencedDeclaration": 859, + "src": "25588:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1388, + "id": 880, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "delegatecall", "nodeType": "MemberAccess", - "src": "24898:19:1", + "src": "25588:19:0", "typeDescriptions": { "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) returns (bool,bytes memory)" } }, - "id": 1390, + "id": 882, "isConstant": false, "isLValue": false, "isPure": false, @@ -10738,7 +10738,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24898:25:1", + "src": "25588:25:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10746,42 +10746,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "expression": { "arguments": [ { - "id": 1393, + "id": 885, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1384, - "src": "24958:7:1", + "referencedDeclaration": 876, + "src": "25649:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1394, + "id": 886, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1386, - "src": "24967:10:1", + "referencedDeclaration": 878, + "src": "25658:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1395, + "id": 887, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1371, - "src": "24979:12:1", + "referencedDeclaration": 863, + "src": "25670:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10803,18 +10803,18 @@ "typeString": "string memory" } ], - "id": 1392, + "id": 884, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "24940:17:1", + "referencedDeclaration": 921, + "src": "25631:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1396, + "id": 888, "isConstant": false, "isLValue": false, "isPure": false, @@ -10822,44 +10822,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24940:52:1", + "src": "25631:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1375, - "id": 1397, + "functionReturnParameters": 867, + "id": 889, "nodeType": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ] }, "documentation": { - "id": 1365, + "id": 857, "nodeType": "StructuredDocumentation", - "src": "24402:175:1", + "src": "25082:180:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1399, + "id": 891, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1372, + "id": 864, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1367, + "id": 859, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24612:14:1", + "scope": 891, + "src": "25298:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10867,10 +10867,10 @@ "typeString": "address" }, "typeName": { - "id": 1366, + "id": 858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24612:7:1", + "src": "25298:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10881,12 +10881,12 @@ }, { "constant": false, - "id": 1369, + "id": 861, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24628:17:1", + "scope": 891, + "src": "25314:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10894,10 +10894,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1368, + "id": 860, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24628:5:1", + "src": "25314:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10907,12 +10907,12 @@ }, { "constant": false, - "id": 1371, + "id": 863, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24647:26:1", + "scope": 891, + "src": "25333:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10920,10 +10920,10 @@ "typeString": "string" }, "typeName": { - "id": 1370, + "id": 862, "name": "string", "nodeType": "ElementaryTypeName", - "src": "24647:6:1", + "src": "25333:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10932,20 +10932,20 @@ "visibility": "internal" } ], - "src": "24611:63:1" + "src": "25297:63:0" }, "returnParameters": { - "id": 1375, + "id": 867, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1374, + "id": 866, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24693:12:1", + "scope": 891, + "src": "25379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10953,10 +10953,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1373, + "id": 865, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24693:5:1", + "src": "25379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10965,37 +10965,37 @@ "visibility": "internal" } ], - "src": "24692:14:1" + "src": "25378:14:0" }, - "scope": 1430, - "src": "24582:417:1", + "scope": 922, + "src": "25268:423:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1428, + "id": 920, "nodeType": "Block", - "src": "25134:596:1", + "src": "25828:613:0", "statements": [ { "condition": { - "id": 1410, + "id": 902, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1401, - "src": "25148:7:1", + "referencedDeclaration": 893, + "src": "25843:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1426, + "id": 918, "nodeType": "Block", - "src": "25205:519:1", + "src": "25902:532:0", "statements": [ { "condition": { @@ -11003,32 +11003,32 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1417, + "id": 909, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1414, + "id": 906, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25289:10:1", + "referencedDeclaration": 895, + "src": "25988:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1415, + "id": 907, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "25289:17:1", + "src": "25988:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11038,41 +11038,41 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1416, + "id": 908, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "25309:1:1", + "src": "26008:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "25289:21:1", + "src": "25988:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1424, + "id": 916, "nodeType": "Block", - "src": "25661:53:1", + "src": "26368:55:0", "statements": [ { "expression": { "arguments": [ { - "id": 1421, + "id": 913, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1405, - "src": "25686:12:1", + "referencedDeclaration": 897, + "src": "26394:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -11086,7 +11086,7 @@ "typeString": "string memory" } ], - "id": 1420, + "id": 912, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -11094,13 +11094,13 @@ 4294967277 ], "referencedDeclaration": 4294967277, - "src": "25679:6:1", + "src": "26387:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", "typeString": "function (string memory) pure" } }, - "id": 1422, + "id": 914, "isConstant": false, "isLValue": false, "isPure": false, @@ -11108,56 +11108,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "25679:20:1", + "src": "26387:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1423, + "id": 915, "nodeType": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ] }, - "id": 1425, + "id": 917, "nodeType": "IfStatement", - "src": "25285:429:1", + "src": "25984:439:0", "trueBody": { - "id": 1419, + "id": 911, "nodeType": "Block", - "src": "25312:343:1", + "src": "26011:351:0", "statements": [ { "AST": { "nodeType": "YulBlock", - "src": "25496:145:1", + "src": "26199:148:0", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "25518:40:1", + "src": "26222:40:0", "value": { "arguments": [ { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25547:10:1" + "src": "26251:10:0" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "25541:5:1" + "src": "26245:5:0" }, "nodeType": "YulFunctionCall", - "src": "25541:17:1" + "src": "26245:17:0" }, "variables": [ { "name": "returndata_size", "nodeType": "YulTypedName", - "src": "25522:15:1", + "src": "26226:15:0", "type": "" } ] @@ -11170,118 +11170,118 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "25590:2:1", + "src": "26295:2:0", "type": "", "value": "32" }, { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25594:10:1" + "src": "26299:10:0" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "25586:3:1" + "src": "26291:3:0" }, "nodeType": "YulFunctionCall", - "src": "25586:19:1" + "src": "26291:19:0" }, { "name": "returndata_size", "nodeType": "YulIdentifier", - "src": "25607:15:1" + "src": "26312:15:0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "25579:6:1" + "src": "26284:6:0" }, "nodeType": "YulFunctionCall", - "src": "25579:44:1" + "src": "26284:44:0" }, "nodeType": "YulExpressionStatement", - "src": "25579:44:1" + "src": "26284:44:0" } ] }, "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], - "id": 1418, + "id": 910, "nodeType": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ] } } ] }, - "id": 1427, + "id": 919, "nodeType": "IfStatement", - "src": "25144:580:1", + "src": "25839:595:0", "trueBody": { - "id": 1413, + "id": 905, "nodeType": "Block", - "src": "25157:42:1", + "src": "25852:44:0", "statements": [ { "expression": { - "id": 1411, + "id": 903, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25178:10:1", + "referencedDeclaration": 895, + "src": "25874:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1409, - "id": 1412, + "functionReturnParameters": 901, + "id": 904, "nodeType": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ] } } ] }, - "id": 1429, + "id": 921, "implemented": true, "kind": "function", "modifiers": [], "name": "_verifyCallResult", "nodeType": "FunctionDefinition", "parameters": { - "id": 1406, + "id": 898, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1401, + "id": 893, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25032:12:1", + "scope": 921, + "src": "25726:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11289,10 +11289,10 @@ "typeString": "bool" }, "typeName": { - "id": 1400, + "id": 892, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "25032:4:1", + "src": "25726:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11302,12 +11302,12 @@ }, { "constant": false, - "id": 1403, + "id": 895, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25046:23:1", + "scope": 921, + "src": "25740:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11315,10 +11315,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1402, + "id": 894, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25046:5:1", + "src": "25740:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11328,12 +11328,12 @@ }, { "constant": false, - "id": 1405, + "id": 897, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25071:26:1", + "scope": 921, + "src": "25765:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11341,10 +11341,10 @@ "typeString": "string" }, "typeName": { - "id": 1404, + "id": 896, "name": "string", "nodeType": "ElementaryTypeName", - "src": "25071:6:1", + "src": "25765:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11353,20 +11353,20 @@ "visibility": "internal" } ], - "src": "25031:67:1" + "src": "25725:67:0" }, "returnParameters": { - "id": 1409, + "id": 901, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1408, + "id": 900, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25120:12:1", + "scope": 921, + "src": "25814:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11374,10 +11374,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1407, + "id": 899, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25120:5:1", + "src": "25814:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11386,20 +11386,20 @@ "visibility": "internal" } ], - "src": "25119:14:1" + "src": "25813:14:0" }, - "scope": 1430, - "src": "25005:725:1", + "scope": 922, + "src": "25699:742:0", "stateMutability": "pure", "virtual": false, "visibility": "private" } ], - "scope": 3499, - "src": "18048:7684:1" + "scope": 2991, + "src": "18579:7865:0" }, { - "id": 1431, + "id": 923, "literals": [ "solidity", ">=", @@ -11410,7 +11410,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "abstract": false, @@ -11418,31 +11418,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1432, + "id": 924, "nodeType": "StructuredDocumentation", - "src": "25824:686:1", + "src": "26541:709:0", "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, "fullyImplemented": true, - "id": 1921, + "id": 1413, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableSet.Set", - "id": 1440, + "id": 932, "members": [ { "constant": false, - "id": 1435, + "id": 927, "mutability": "mutable", "name": "_values", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27033:17:1", + "scope": 932, + "src": "27786:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11451,18 +11451,18 @@ }, "typeName": { "baseType": { - "id": 1433, + "id": 925, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27033:7:1", + "src": "27786:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1434, + "id": 926, "nodeType": "ArrayTypeName", - "src": "27033:9:1", + "src": "27786:9:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", "typeString": "bytes32[]" @@ -11472,12 +11472,12 @@ }, { "constant": false, - "id": 1439, + "id": 931, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27184:37:1", + "scope": 932, + "src": "27941:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11485,28 +11485,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1438, + "id": 930, "keyType": { - "id": 1436, + "id": 928, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27193:7:1", + "src": "27950:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "27184:28:1", + "src": "27941:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1437, + "id": 929, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "27204:7:1", + "src": "27961:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11518,19 +11518,19 @@ ], "name": "Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "26979:249:1", + "scope": 1413, + "src": "27730:256:0", "visibility": "public" }, { "body": { - "id": 1480, + "id": 972, "nodeType": "Block", - "src": "27467:335:1", + "src": "28233:345:0", "statements": [ { "condition": { - "id": 1454, + "id": 946, "isConstant": false, "isLValue": false, "isPure": false, @@ -11538,28 +11538,28 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "27481:22:1", + "src": "28248:22:0", "subExpression": { "arguments": [ { - "id": 1451, + "id": 943, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27492:3:1", + "referencedDeclaration": 935, + "src": "28259:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, { - "id": 1452, + "id": 944, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27497:5:1", + "referencedDeclaration": 937, + "src": "28264:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11569,7 +11569,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -11577,18 +11577,18 @@ "typeString": "bytes32" } ], - "id": 1450, + "id": 942, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "27482:9:1", + "referencedDeclaration": 1071, + "src": "28249:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1453, + "id": 945, "isConstant": false, "isLValue": false, "isPure": false, @@ -11596,7 +11596,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27482:21:1", + "src": "28249:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -11609,52 +11609,52 @@ } }, "falseBody": { - "id": 1478, + "id": 970, "nodeType": "Block", - "src": "27759:37:1", + "src": "28532:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1476, + "id": 968, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27780:5:1", + "src": "28554:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1449, - "id": 1477, + "functionReturnParameters": 941, + "id": 969, "nodeType": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ] }, - "id": 1479, + "id": 971, "nodeType": "IfStatement", - "src": "27477:319:1", + "src": "28244:327:0", "trueBody": { - "id": 1475, + "id": 967, "nodeType": "Block", - "src": "27505:248:1", + "src": "28272:254:0", "statements": [ { "expression": { "arguments": [ { - "id": 1460, + "id": 952, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27536:5:1", + "referencedDeclaration": 937, + "src": "28304:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11670,45 +11670,45 @@ ], "expression": { "expression": { - "id": 1455, + "id": 947, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27519:3:1", + "referencedDeclaration": 935, + "src": "28287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1458, + "id": 950, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27519:11:1", + "referencedDeclaration": 927, + "src": "28287:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1459, + "id": 951, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "27519:16:1", + "src": "28287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_bytes32_$returns$__$", "typeString": "function (bytes32)" } }, - "id": 1461, + "id": 953, "isConstant": false, "isLValue": false, "isPure": false, @@ -11716,20 +11716,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27519:23:1", + "src": "28287:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1462, + "id": 954, "nodeType": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "expression": { - "id": 1471, + "id": 963, "isConstant": false, "isLValue": false, "isPure": false, @@ -11737,39 +11737,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1463, + "id": 955, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27677:3:1", + "referencedDeclaration": 935, + "src": "28448:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1466, + "id": 958, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "27677:12:1", + "referencedDeclaration": 931, + "src": "28448:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1467, + "id": 959, "indexExpression": { - "id": 1465, + "id": 957, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27690:5:1", + "referencedDeclaration": 937, + "src": "28461:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11780,7 +11780,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "27677:19:1", + "src": "28448:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11791,75 +11791,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1468, + "id": 960, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27699:3:1", + "referencedDeclaration": 935, + "src": "28470:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1469, + "id": 961, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27699:11:1", + "referencedDeclaration": 927, + "src": "28470:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1470, + "id": 962, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "27699:18:1", + "src": "28470:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "27677:40:1", + "src": "28448:40:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1472, + "id": 964, "nodeType": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "expression": { "hexValue": "74727565", - "id": 1473, + "id": 965, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27738:4:1", + "src": "28510:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1449, - "id": 1474, + "functionReturnParameters": 941, + "id": 966, "nodeType": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ] } @@ -11867,43 +11867,43 @@ ] }, "documentation": { - "id": 1441, + "id": 933, "nodeType": "StructuredDocumentation", - "src": "27234:159:1", + "src": "27994:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1481, + "id": 973, "implemented": true, "kind": "function", "modifiers": [], "name": "_add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1446, + "id": 938, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1443, + "id": 935, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27412:15:1", + "scope": 973, + "src": "28178:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1442, + "id": 934, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27412:3:1", + "referencedDeclaration": 932, + "src": "28178:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -11911,12 +11911,12 @@ }, { "constant": false, - "id": 1445, + "id": 937, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27429:13:1", + "scope": 973, + "src": "28195:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11924,10 +11924,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1444, + "id": 936, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27429:7:1", + "src": "28195:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11936,20 +11936,20 @@ "visibility": "internal" } ], - "src": "27411:32:1" + "src": "28177:32:0" }, "returnParameters": { - "id": 1449, + "id": 941, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1448, + "id": 940, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27461:4:1", + "scope": 973, + "src": "28227:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11957,10 +11957,10 @@ "typeString": "bool" }, "typeName": { - "id": 1447, + "id": 939, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "27461:4:1", + "src": "28227:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11969,33 +11969,33 @@ "visibility": "internal" } ], - "src": "27460:6:1" + "src": "28226:6:0" }, - "scope": 1921, - "src": "27398:404:1", + "scope": 1413, + "src": "28164:414:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1560, + "id": 1052, "nodeType": "Block", - "src": "28042:1440:1", + "src": "28826:1472:0", "statements": [ { "assignments": [ - 1492 + 984 ], "declarations": [ { "constant": false, - "id": 1492, + "id": 984, "mutability": "mutable", "name": "valueIndex", "nodeType": "VariableDeclaration", - "scope": 1560, - "src": "28152:18:1", + "scope": 1052, + "src": "28938:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12003,10 +12003,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1491, + "id": 983, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28152:7:1", + "src": "28938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12015,43 +12015,43 @@ "visibility": "internal" } ], - "id": 1497, + "id": 989, "initialValue": { "baseExpression": { "expression": { - "id": 1493, + "id": 985, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28173:3:1", + "referencedDeclaration": 976, + "src": "28959:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1494, + "id": 986, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "28173:12:1", + "referencedDeclaration": 931, + "src": "28959:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1496, + "id": 988, "indexExpression": { - "id": 1495, + "id": 987, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "28186:5:1", + "referencedDeclaration": 978, + "src": "28972:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12062,14 +12062,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28173:19:1", + "src": "28959:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "condition": { @@ -12077,18 +12077,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1500, + "id": 992, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1498, + "id": 990, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28207:10:1", + "referencedDeclaration": 984, + "src": "28995:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12098,76 +12098,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1499, + "id": 991, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28221:1:1", + "src": "29009:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "28207:15:1", + "src": "28995:15:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1558, + "id": 1050, "nodeType": "Block", - "src": "29439:37:1", + "src": "30252:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1556, + "id": 1048, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29460:5:1", + "src": "30274:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1490, - "id": 1557, + "functionReturnParameters": 982, + "id": 1049, "nodeType": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ] }, - "id": 1559, + "id": 1051, "nodeType": "IfStatement", - "src": "28203:1273:1", + "src": "28991:1300:0", "trueBody": { - "id": 1555, + "id": 1047, "nodeType": "Block", - "src": "28224:1209:1", + "src": "29012:1234:0", "statements": [ { "assignments": [ - 1502 + 994 ], "declarations": [ { "constant": false, - "id": 1502, + "id": 994, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28564:21:1", + "scope": 1047, + "src": "29357:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12175,10 +12175,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1501, + "id": 993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28564:7:1", + "src": "29357:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12187,24 +12187,24 @@ "visibility": "internal" } ], - "id": 1506, + "id": 998, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1505, + "id": 997, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1503, + "id": 995, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28588:10:1", + "referencedDeclaration": 984, + "src": "29381:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12214,42 +12214,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1504, + "id": 996, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28601:1:1", + "src": "29394:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28588:14:1", + "src": "29381:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "assignments": [ - 1508 + 1000 ], "declarations": [ { "constant": false, - "id": 1508, + "id": 1000, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28616:17:1", + "scope": 1047, + "src": "29410:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12257,10 +12257,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1507, + "id": 999, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28616:7:1", + "src": "29410:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12269,13 +12269,13 @@ "visibility": "internal" } ], - "id": 1514, + "id": 1006, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1513, + "id": 1005, "isConstant": false, "isLValue": false, "isPure": false, @@ -12283,39 +12283,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1509, + "id": 1001, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28636:3:1", + "referencedDeclaration": 976, + "src": "29430:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1510, + "id": 1002, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28636:11:1", + "referencedDeclaration": 927, + "src": "29430:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1511, + "id": 1003, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "28636:18:1", + "src": "29430:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12325,42 +12325,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1512, + "id": 1004, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28657:1:1", + "src": "29451:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28636:22:1", + "src": "29430:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "assignments": [ - 1516 + 1008 ], "declarations": [ { "constant": false, - "id": 1516, + "id": 1008, "mutability": "mutable", "name": "lastvalue", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28898:17:1", + "scope": 1047, + "src": "29697:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12368,10 +12368,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1515, + "id": 1007, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28898:7:1", + "src": "29697:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12380,43 +12380,43 @@ "visibility": "internal" } ], - "id": 1521, + "id": 1013, "initialValue": { "baseExpression": { "expression": { - "id": 1517, + "id": 1009, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28918:3:1", + "referencedDeclaration": 976, + "src": "29717:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1518, + "id": 1010, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28918:11:1", + "referencedDeclaration": 927, + "src": "29717:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1520, + "id": 1012, "indexExpression": { - "id": 1519, + "id": 1011, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1508, - "src": "28930:9:1", + "referencedDeclaration": 1000, + "src": "29729:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12427,18 +12427,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28918:22:1", + "src": "29717:22:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "expression": { - "id": 1528, + "id": 1020, "isConstant": false, "isLValue": false, "isPure": false, @@ -12446,39 +12446,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1522, + "id": 1014, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29032:3:1", + "referencedDeclaration": 976, + "src": "29834:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1525, + "id": 1017, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29032:11:1", + "referencedDeclaration": 927, + "src": "29834:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1526, + "id": 1018, "indexExpression": { - "id": 1524, + "id": 1016, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29044:13:1", + "referencedDeclaration": 994, + "src": "29846:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12489,7 +12489,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29032:26:1", + "src": "29834:26:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12498,30 +12498,30 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1527, + "id": 1019, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29061:9:1", + "referencedDeclaration": 1008, + "src": "29863:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "29032:38:1", + "src": "29834:38:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1529, + "id": 1021, "nodeType": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "expression": { - "id": 1538, + "id": 1030, "isConstant": false, "isLValue": false, "isPure": false, @@ -12529,39 +12529,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1530, + "id": 1022, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29136:3:1", + "referencedDeclaration": 976, + "src": "29940:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1533, + "id": 1025, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29136:12:1", + "referencedDeclaration": 931, + "src": "29940:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1534, + "id": 1026, "indexExpression": { - "id": 1532, + "id": 1024, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29149:9:1", + "referencedDeclaration": 1008, + "src": "29953:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12572,7 +12572,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29136:23:1", + "src": "29940:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12585,18 +12585,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1537, + "id": 1029, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1535, + "id": 1027, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29162:13:1", + "referencedDeclaration": 994, + "src": "29966:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12606,35 +12606,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 1536, + "id": 1028, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29178:1:1", + "src": "29982:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "29162:17:1", + "src": "29966:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "29136:43:1", + "src": "29940:43:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1539, + "id": 1031, "nodeType": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "expression": { @@ -12643,45 +12643,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 1540, + "id": 1032, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29285:3:1", + "referencedDeclaration": 976, + "src": "30092:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1543, + "id": 1035, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29285:11:1", + "referencedDeclaration": 927, + "src": "30092:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1544, + "id": 1036, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "29285:15:1", + "src": "30092:15:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 1545, + "id": 1037, "isConstant": false, "isLValue": false, "isPure": false, @@ -12689,20 +12689,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "29285:17:1", + "src": "30092:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1546, + "id": 1038, "nodeType": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "expression": { - "id": 1551, + "id": 1043, "isConstant": false, "isLValue": false, "isPure": false, @@ -12710,43 +12710,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "29370:26:1", + "src": "30180:26:0", "subExpression": { "baseExpression": { "expression": { - "id": 1547, + "id": 1039, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29377:3:1", + "referencedDeclaration": 976, + "src": "30187:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1548, + "id": 1040, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29377:12:1", + "referencedDeclaration": 931, + "src": "30187:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1550, + "id": 1042, "indexExpression": { - "id": 1549, + "id": 1041, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "29390:5:1", + "referencedDeclaration": 978, + "src": "30200:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12757,7 +12757,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29377:19:1", + "src": "30187:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12768,31 +12768,31 @@ "typeString": "tuple()" } }, - "id": 1552, + "id": 1044, "nodeType": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "expression": { "hexValue": "74727565", - "id": 1553, + "id": 1045, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29418:4:1", + "src": "30230:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1490, - "id": 1554, + "functionReturnParameters": 982, + "id": 1046, "nodeType": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ] } @@ -12800,43 +12800,43 @@ ] }, "documentation": { - "id": 1482, + "id": 974, "nodeType": "StructuredDocumentation", - "src": "27808:157:1", + "src": "28586:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1561, + "id": 1053, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1487, + "id": 979, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1484, + "id": 976, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "27987:15:1", + "scope": 1053, + "src": "28771:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1483, + "id": 975, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27987:3:1", + "referencedDeclaration": 932, + "src": "28771:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -12844,12 +12844,12 @@ }, { "constant": false, - "id": 1486, + "id": 978, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28004:13:1", + "scope": 1053, + "src": "28788:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12857,10 +12857,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1485, + "id": 977, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28004:7:1", + "src": "28788:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12869,20 +12869,20 @@ "visibility": "internal" } ], - "src": "27986:32:1" + "src": "28770:32:0" }, "returnParameters": { - "id": 1490, + "id": 982, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1489, + "id": 981, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28036:4:1", + "scope": 1053, + "src": "28820:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12890,10 +12890,10 @@ "typeString": "bool" }, "typeName": { - "id": 1488, + "id": 980, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "28036:4:1", + "src": "28820:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12902,19 +12902,19 @@ "visibility": "internal" } ], - "src": "28035:6:1" + "src": "28819:6:0" }, - "scope": 1921, - "src": "27970:1512:1", + "scope": 1413, + "src": "28754:1544:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1578, + "id": 1070, "nodeType": "Block", - "src": "29642:48:1", + "src": "30463:50:0", "statements": [ { "expression": { @@ -12922,7 +12922,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1576, + "id": 1068, "isConstant": false, "isLValue": false, "isPure": false, @@ -12930,39 +12930,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 1571, + "id": 1063, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1564, - "src": "29659:3:1", + "referencedDeclaration": 1056, + "src": "30481:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1572, + "id": 1064, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29659:12:1", + "referencedDeclaration": 931, + "src": "30481:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1574, + "id": 1066, "indexExpression": { - "id": 1573, + "id": 1065, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1566, - "src": "29672:5:1", + "referencedDeclaration": 1058, + "src": "30494:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12973,7 +12973,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "29659:19:1", + "src": "30481:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12983,71 +12983,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1575, + "id": 1067, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29682:1:1", + "src": "30504:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "29659:24:1", + "src": "30481:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1570, - "id": 1577, + "functionReturnParameters": 1062, + "id": 1069, "nodeType": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ] }, "documentation": { - "id": 1562, + "id": 1054, "nodeType": "StructuredDocumentation", - "src": "29488:70:1", + "src": "30306:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1579, + "id": 1071, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1567, + "id": 1059, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1564, + "id": 1056, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29582:15:1", + "scope": 1071, + "src": "30403:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1563, + "id": 1055, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29582:3:1", + "referencedDeclaration": 932, + "src": "30403:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13055,12 +13055,12 @@ }, { "constant": false, - "id": 1566, + "id": 1058, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29599:13:1", + "scope": 1071, + "src": "30420:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13068,10 +13068,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1565, + "id": 1057, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "29599:7:1", + "src": "30420:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13080,20 +13080,20 @@ "visibility": "internal" } ], - "src": "29581:32:1" + "src": "30402:32:0" }, "returnParameters": { - "id": 1570, + "id": 1062, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1569, + "id": 1061, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29636:4:1", + "scope": 1071, + "src": "30457:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13101,10 +13101,10 @@ "typeString": "bool" }, "typeName": { - "id": 1568, + "id": 1060, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "29636:4:1", + "src": "30457:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13113,127 +13113,127 @@ "visibility": "internal" } ], - "src": "29635:6:1" + "src": "30456:6:0" }, - "scope": 1921, - "src": "29563:127:1", + "scope": 1413, + "src": "30384:129:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1591, + "id": 1083, "nodeType": "Block", - "src": "29836:42:1", + "src": "30664:44:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 1587, + "id": 1079, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1582, - "src": "29853:3:1", + "referencedDeclaration": 1074, + "src": "30682:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1588, + "id": 1080, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29853:11:1", + "referencedDeclaration": 927, + "src": "30682:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1589, + "id": 1081, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "29853:18:1", + "src": "30682:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1586, - "id": 1590, + "functionReturnParameters": 1078, + "id": 1082, "nodeType": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ] }, "documentation": { - "id": 1580, + "id": 1072, "nodeType": "StructuredDocumentation", - "src": "29696:70:1", + "src": "30521:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1592, + "id": 1084, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1583, + "id": 1075, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1582, + "id": 1074, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29788:15:1", + "scope": 1084, + "src": "30616:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1581, + "id": 1073, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29788:3:1", + "referencedDeclaration": 932, + "src": "30616:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, "visibility": "internal" } ], - "src": "29787:17:1" + "src": "30615:17:0" }, "returnParameters": { - "id": 1586, + "id": 1078, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1585, + "id": 1077, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29827:7:1", + "scope": 1084, + "src": "30655:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13241,10 +13241,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1584, + "id": 1076, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "29827:7:1", + "src": "30655:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13253,19 +13253,19 @@ "visibility": "internal" } ], - "src": "29826:9:1" + "src": "30654:9:0" }, - "scope": 1921, - "src": "29771:107:1", + "scope": 1413, + "src": "30599:109:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1616, + "id": 1108, "nodeType": "Block", - "src": "30286:125:1", + "src": "31128:128:0", "statements": [ { "expression": { @@ -13275,7 +13275,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1607, + "id": 1099, "isConstant": false, "isLValue": false, "isPure": false, @@ -13283,39 +13283,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1603, + "id": 1095, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30304:3:1", + "referencedDeclaration": 1087, + "src": "31147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1604, + "id": 1096, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30304:11:1", + "referencedDeclaration": 927, + "src": "31147:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1605, + "id": 1097, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "30304:18:1", + "src": "31147:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13324,18 +13324,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 1606, + "id": 1098, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30325:5:1", + "referencedDeclaration": 1089, + "src": "31168:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "30304:26:1", + "src": "31147:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13343,14 +13343,14 @@ }, { "hexValue": "456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473", - "id": 1608, + "id": 1100, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "30332:36:1", + "src": "31175:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_045d6834e6193a687012a3ad777f612279e549b6945364d9d2324f48610d3cbb", "typeString": "literal_string \"EnumerableSet: index out of bounds\"" @@ -13369,7 +13369,7 @@ "typeString": "literal_string \"EnumerableSet: index out of bounds\"" } ], - "id": 1602, + "id": 1094, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -13377,13 +13377,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "30296:7:1", + "src": "31139:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1609, + "id": 1101, "isConstant": false, "isLValue": false, "isPure": false, @@ -13391,54 +13391,54 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30296:73:1", + "src": "31139:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1610, + "id": 1102, "nodeType": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "expression": { "baseExpression": { "expression": { - "id": 1611, + "id": 1103, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30386:3:1", + "referencedDeclaration": 1087, + "src": "31230:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1612, + "id": 1104, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30386:11:1", + "referencedDeclaration": 927, + "src": "31230:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1614, + "id": 1106, "indexExpression": { - "id": 1613, + "id": 1105, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30398:5:1", + "referencedDeclaration": 1089, + "src": "31242:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13449,57 +13449,57 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "30386:18:1", + "src": "31230:18:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1601, - "id": 1615, + "functionReturnParameters": 1093, + "id": 1107, "nodeType": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ] }, "documentation": { - "id": 1593, + "id": 1085, "nodeType": "StructuredDocumentation", - "src": "29883:322:1", + "src": "30715:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1617, + "id": 1109, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1598, + "id": 1090, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1595, + "id": 1087, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30223:15:1", + "scope": 1109, + "src": "31065:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1594, + "id": 1086, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30223:3:1", + "referencedDeclaration": 932, + "src": "31065:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13507,12 +13507,12 @@ }, { "constant": false, - "id": 1597, + "id": 1089, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30240:13:1", + "scope": 1109, + "src": "31082:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13520,10 +13520,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1596, + "id": 1088, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "30240:7:1", + "src": "31082:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13532,20 +13532,20 @@ "visibility": "internal" } ], - "src": "30222:32:1" + "src": "31064:32:0" }, "returnParameters": { - "id": 1601, + "id": 1093, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1600, + "id": 1092, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30277:7:1", + "scope": 1109, + "src": "31119:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13553,10 +13553,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1599, + "id": 1091, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30277:7:1", + "src": "31119:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13565,40 +13565,40 @@ "visibility": "internal" } ], - "src": "30276:9:1" + "src": "31118:9:0" }, - "scope": 1921, - "src": "30210:201:1", + "scope": 1413, + "src": "31052:204:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableSet.Bytes32Set", - "id": 1620, + "id": 1112, "members": [ { "constant": false, - "id": 1619, + "id": 1111, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1620, - "src": "30464:10:1", + "scope": 1112, + "src": "31314:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1618, + "id": 1110, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30464:3:1", + "referencedDeclaration": 932, + "src": "31314:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13607,53 +13607,53 @@ ], "name": "Bytes32Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "30436:45:1", + "scope": 1413, + "src": "31285:47:0", "visibility": "public" }, { "body": { - "id": 1636, + "id": 1128, "nodeType": "Block", - "src": "30727:47:1", + "src": "31586:49:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1631, + "id": 1123, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1623, - "src": "30749:3:1", + "referencedDeclaration": 1115, + "src": "31609:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1632, + "id": 1124, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "30749:10:1", + "referencedDeclaration": 1111, + "src": "31609:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1633, + "id": 1125, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "30761:5:1", + "referencedDeclaration": 1117, + "src": "31621:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13663,7 +13663,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -13671,18 +13671,18 @@ "typeString": "bytes32" } ], - "id": 1630, + "id": 1122, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "30744:4:1", + "referencedDeclaration": 973, + "src": "31604:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1634, + "id": 1126, "isConstant": false, "isLValue": false, "isPure": false, @@ -13690,58 +13690,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30744:23:1", + "src": "31604:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1629, - "id": 1635, + "functionReturnParameters": 1121, + "id": 1127, "nodeType": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ] }, "documentation": { - "id": 1621, + "id": 1113, "nodeType": "StructuredDocumentation", - "src": "30487:159:1", + "src": "31340:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1637, + "id": 1129, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1626, + "id": 1118, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1623, + "id": 1115, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30664:22:1", + "scope": 1129, + "src": "31523:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1622, + "id": 1114, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30664:10:1", + "referencedDeclaration": 1112, + "src": "31523:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -13749,12 +13749,12 @@ }, { "constant": false, - "id": 1625, + "id": 1117, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30688:13:1", + "scope": 1129, + "src": "31547:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13762,10 +13762,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1624, + "id": 1116, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30688:7:1", + "src": "31547:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13774,20 +13774,20 @@ "visibility": "internal" } ], - "src": "30663:39:1" + "src": "31522:39:0" }, "returnParameters": { - "id": 1629, + "id": 1121, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1628, + "id": 1120, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30721:4:1", + "scope": 1129, + "src": "31580:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13795,10 +13795,10 @@ "typeString": "bool" }, "typeName": { - "id": 1627, + "id": 1119, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "30721:4:1", + "src": "31580:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13807,57 +13807,57 @@ "visibility": "internal" } ], - "src": "30720:6:1" + "src": "31579:6:0" }, - "scope": 1921, - "src": "30651:123:1", + "scope": 1413, + "src": "31510:125:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1653, + "id": 1145, "nodeType": "Block", - "src": "31021:50:1", + "src": "31890:52:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1648, + "id": 1140, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1640, - "src": "31046:3:1", + "referencedDeclaration": 1132, + "src": "31916:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1649, + "id": 1141, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31046:10:1", + "referencedDeclaration": 1111, + "src": "31916:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1650, + "id": 1142, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1642, - "src": "31058:5:1", + "referencedDeclaration": 1134, + "src": "31928:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13867,7 +13867,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -13875,18 +13875,18 @@ "typeString": "bytes32" } ], - "id": 1647, + "id": 1139, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "31038:7:1", + "referencedDeclaration": 1053, + "src": "31908:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1651, + "id": 1143, "isConstant": false, "isLValue": false, "isPure": false, @@ -13894,58 +13894,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31038:26:1", + "src": "31908:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1646, - "id": 1652, + "functionReturnParameters": 1138, + "id": 1144, "nodeType": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ] }, "documentation": { - "id": 1638, + "id": 1130, "nodeType": "StructuredDocumentation", - "src": "30780:157:1", + "src": "31643:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1654, + "id": 1146, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1643, + "id": 1135, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1640, + "id": 1132, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30958:22:1", + "scope": 1146, + "src": "31827:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1639, + "id": 1131, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30958:10:1", + "referencedDeclaration": 1112, + "src": "31827:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -13953,12 +13953,12 @@ }, { "constant": false, - "id": 1642, + "id": 1134, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30982:13:1", + "scope": 1146, + "src": "31851:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13966,10 +13966,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1641, + "id": 1133, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30982:7:1", + "src": "31851:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13978,20 +13978,20 @@ "visibility": "internal" } ], - "src": "30957:39:1" + "src": "31826:39:0" }, "returnParameters": { - "id": 1646, + "id": 1138, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1645, + "id": 1137, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "31015:4:1", + "scope": 1146, + "src": "31884:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13999,10 +13999,10 @@ "typeString": "bool" }, "typeName": { - "id": 1644, + "id": 1136, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31015:4:1", + "src": "31884:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14011,57 +14011,57 @@ "visibility": "internal" } ], - "src": "31014:6:1" + "src": "31883:6:0" }, - "scope": 1921, - "src": "30942:129:1", + "scope": 1413, + "src": "31811:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1670, + "id": 1162, "nodeType": "Block", - "src": "31238:52:1", + "src": "32114:54:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1665, + "id": 1157, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "31265:3:1", + "referencedDeclaration": 1149, + "src": "32142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1666, + "id": 1158, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31265:10:1", + "referencedDeclaration": 1111, + "src": "32142:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1667, + "id": 1159, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1659, - "src": "31277:5:1", + "referencedDeclaration": 1151, + "src": "32154:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14071,7 +14071,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14079,18 +14079,18 @@ "typeString": "bytes32" } ], - "id": 1664, + "id": 1156, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "31255:9:1", + "referencedDeclaration": 1071, + "src": "32132:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1668, + "id": 1160, "isConstant": false, "isLValue": false, "isPure": false, @@ -14098,58 +14098,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31255:28:1", + "src": "32132:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1663, - "id": 1669, + "functionReturnParameters": 1155, + "id": 1161, "nodeType": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ] }, "documentation": { - "id": 1655, + "id": 1147, "nodeType": "StructuredDocumentation", - "src": "31077:70:1", + "src": "31950:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1671, + "id": 1163, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1660, + "id": 1152, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1657, + "id": 1149, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31170:22:1", + "scope": 1163, + "src": "32046:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1656, + "id": 1148, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31170:10:1", + "referencedDeclaration": 1112, + "src": "32046:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14157,12 +14157,12 @@ }, { "constant": false, - "id": 1659, + "id": 1151, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31194:13:1", + "scope": 1163, + "src": "32070:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14170,10 +14170,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1658, + "id": 1150, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31194:7:1", + "src": "32070:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14182,20 +14182,20 @@ "visibility": "internal" } ], - "src": "31169:39:1" + "src": "32045:39:0" }, "returnParameters": { - "id": 1663, + "id": 1155, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1662, + "id": 1154, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31232:4:1", + "scope": 1163, + "src": "32108:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14203,10 +14203,10 @@ "typeString": "bool" }, "typeName": { - "id": 1661, + "id": 1153, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31232:4:1", + "src": "32108:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14215,47 +14215,47 @@ "visibility": "internal" } ], - "src": "31231:6:1" + "src": "32107:6:0" }, - "scope": 1921, - "src": "31152:138:1", + "scope": 1413, + "src": "32028:140:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1684, + "id": 1176, "nodeType": "Block", - "src": "31443:43:1", + "src": "32326:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1680, + "id": 1172, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "31468:3:1", + "referencedDeclaration": 1166, + "src": "32352:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1681, + "id": 1173, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31468:10:1", + "referencedDeclaration": 1111, + "src": "32352:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -14263,22 +14263,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1679, + "id": 1171, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "31460:7:1", + "referencedDeclaration": 1084, + "src": "32344:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1682, + "id": 1174, "isConstant": false, "isLValue": false, "isPure": false, @@ -14286,78 +14286,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31460:19:1", + "src": "32344:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1678, - "id": 1683, + "functionReturnParameters": 1170, + "id": 1175, "nodeType": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ] }, "documentation": { - "id": 1672, + "id": 1164, "nodeType": "StructuredDocumentation", - "src": "31296:70:1", + "src": "32176:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1685, + "id": 1177, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1675, + "id": 1167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1674, + "id": 1166, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31387:22:1", + "scope": 1177, + "src": "32270:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1673, + "id": 1165, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31387:10:1", + "referencedDeclaration": 1112, + "src": "32270:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, "visibility": "internal" } ], - "src": "31386:24:1" + "src": "32269:24:0" }, "returnParameters": { - "id": 1678, + "id": 1170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1677, + "id": 1169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31434:7:1", + "scope": 1177, + "src": "32317:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14365,10 +14365,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1676, + "id": 1168, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31434:7:1", + "src": "32317:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14377,57 +14377,57 @@ "visibility": "internal" } ], - "src": "31433:9:1" + "src": "32316:9:0" }, - "scope": 1921, - "src": "31371:115:1", + "scope": 1413, + "src": "32254:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1701, + "id": 1193, "nodeType": "Block", - "src": "31901:46:1", + "src": "32798:48:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1696, + "id": 1188, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1688, - "src": "31922:3:1", + "referencedDeclaration": 1180, + "src": "32820:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1697, + "id": 1189, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31922:10:1", + "referencedDeclaration": 1111, + "src": "32820:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1698, + "id": 1190, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "31934:5:1", + "referencedDeclaration": 1182, + "src": "32832:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14437,7 +14437,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14445,18 +14445,18 @@ "typeString": "uint256" } ], - "id": 1695, + "id": 1187, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "31918:3:1", + "referencedDeclaration": 1109, + "src": "32816:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1699, + "id": 1191, "isConstant": false, "isLValue": false, "isPure": false, @@ -14464,58 +14464,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31918:22:1", + "src": "32816:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1694, - "id": 1700, + "functionReturnParameters": 1186, + "id": 1192, "nodeType": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ] }, "documentation": { - "id": 1686, + "id": 1178, "nodeType": "StructuredDocumentation", - "src": "31491:322:1", + "src": "32378:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1702, + "id": 1194, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1691, + "id": 1183, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1688, + "id": 1180, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31830:22:1", + "scope": 1194, + "src": "32727:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1687, + "id": 1179, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31830:10:1", + "referencedDeclaration": 1112, + "src": "32727:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14523,12 +14523,12 @@ }, { "constant": false, - "id": 1690, + "id": 1182, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31854:13:1", + "scope": 1194, + "src": "32751:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14536,10 +14536,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1689, + "id": 1181, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31854:7:1", + "src": "32751:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14548,20 +14548,20 @@ "visibility": "internal" } ], - "src": "31829:39:1" + "src": "32726:39:0" }, "returnParameters": { - "id": 1694, + "id": 1186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1693, + "id": 1185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31892:7:1", + "scope": 1194, + "src": "32789:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14569,10 +14569,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1692, + "id": 1184, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31892:7:1", + "src": "32789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14581,40 +14581,40 @@ "visibility": "internal" } ], - "src": "31891:9:1" + "src": "32788:9:0" }, - "scope": 1921, - "src": "31818:129:1", + "scope": 1413, + "src": "32715:131:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.AddressSet", - "id": 1705, + "id": 1197, "members": [ { "constant": false, - "id": 1704, + "id": 1196, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1705, - "src": "32000:10:1", + "scope": 1197, + "src": "32904:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1703, + "id": 1195, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "32000:3:1", + "referencedDeclaration": 932, + "src": "32904:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -14623,43 +14623,43 @@ ], "name": "AddressSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "31972:45:1", + "scope": 1413, + "src": "32875:47:0", "visibility": "public" }, { "body": { - "id": 1730, + "id": 1222, "nodeType": "Block", - "src": "32263:74:1", + "src": "33176:76:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1716, + "id": 1208, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1708, - "src": "32285:3:1", + "referencedDeclaration": 1200, + "src": "33199:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1717, + "id": 1209, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32285:10:1", + "referencedDeclaration": 1196, + "src": "33199:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -14670,12 +14670,12 @@ { "arguments": [ { - "id": 1724, + "id": 1216, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1710, - "src": "32321:5:1", + "referencedDeclaration": 1202, + "src": "33235:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14689,26 +14689,26 @@ "typeString": "address" } ], - "id": 1723, + "id": 1215, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1722, + "id": 1214, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": {} } }, - "id": 1725, + "id": 1217, "isConstant": false, "isLValue": false, "isPure": false, @@ -14716,7 +14716,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32313:14:1", + "src": "33227:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -14731,26 +14731,26 @@ "typeString": "uint160" } ], - "id": 1721, + "id": 1213, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1720, + "id": 1212, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": {} } }, - "id": 1726, + "id": 1218, "isConstant": false, "isLValue": false, "isPure": false, @@ -14758,7 +14758,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32305:23:1", + "src": "33219:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -14773,26 +14773,26 @@ "typeString": "uint256" } ], - "id": 1719, + "id": 1211, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1718, + "id": 1210, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": {} } }, - "id": 1727, + "id": 1219, "isConstant": false, "isLValue": false, "isPure": false, @@ -14800,7 +14800,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32297:32:1", + "src": "33211:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -14811,7 +14811,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14819,18 +14819,18 @@ "typeString": "bytes32" } ], - "id": 1715, + "id": 1207, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "32280:4:1", + "referencedDeclaration": 973, + "src": "33194:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1728, + "id": 1220, "isConstant": false, "isLValue": false, "isPure": false, @@ -14838,58 +14838,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32280:50:1", + "src": "33194:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1714, - "id": 1729, + "functionReturnParameters": 1206, + "id": 1221, "nodeType": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ] }, "documentation": { - "id": 1706, + "id": 1198, "nodeType": "StructuredDocumentation", - "src": "32023:159:1", + "src": "32930:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1731, + "id": 1223, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1711, + "id": 1203, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1708, + "id": 1200, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32200:22:1", + "scope": 1223, + "src": "33113:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1707, + "id": 1199, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32200:10:1", + "referencedDeclaration": 1197, + "src": "33113:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -14897,12 +14897,12 @@ }, { "constant": false, - "id": 1710, + "id": 1202, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32224:13:1", + "scope": 1223, + "src": "33137:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14910,10 +14910,10 @@ "typeString": "address" }, "typeName": { - "id": 1709, + "id": 1201, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32224:7:1", + "src": "33137:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -14923,20 +14923,20 @@ "visibility": "internal" } ], - "src": "32199:39:1" + "src": "33112:39:0" }, "returnParameters": { - "id": 1714, + "id": 1206, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1713, + "id": 1205, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32257:4:1", + "scope": 1223, + "src": "33170:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14944,10 +14944,10 @@ "typeString": "bool" }, "typeName": { - "id": 1712, + "id": 1204, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32257:4:1", + "src": "33170:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14956,47 +14956,47 @@ "visibility": "internal" } ], - "src": "32256:6:1" + "src": "33169:6:0" }, - "scope": 1921, - "src": "32187:150:1", + "scope": 1413, + "src": "33100:152:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1756, + "id": 1248, "nodeType": "Block", - "src": "32584:77:1", + "src": "33507:79:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1742, + "id": 1234, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1734, - "src": "32609:3:1", + "referencedDeclaration": 1226, + "src": "33533:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1743, + "id": 1235, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32609:10:1", + "referencedDeclaration": 1196, + "src": "33533:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15007,12 +15007,12 @@ { "arguments": [ { - "id": 1750, + "id": 1242, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1736, - "src": "32645:5:1", + "referencedDeclaration": 1228, + "src": "33569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15026,26 +15026,26 @@ "typeString": "address" } ], - "id": 1749, + "id": 1241, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1748, + "id": 1240, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": {} } }, - "id": 1751, + "id": 1243, "isConstant": false, "isLValue": false, "isPure": false, @@ -15053,7 +15053,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32637:14:1", + "src": "33561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15068,26 +15068,26 @@ "typeString": "uint160" } ], - "id": 1747, + "id": 1239, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1746, + "id": 1238, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": {} } }, - "id": 1752, + "id": 1244, "isConstant": false, "isLValue": false, "isPure": false, @@ -15095,7 +15095,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32629:23:1", + "src": "33553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15110,26 +15110,26 @@ "typeString": "uint256" } ], - "id": 1745, + "id": 1237, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1744, + "id": 1236, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": {} } }, - "id": 1753, + "id": 1245, "isConstant": false, "isLValue": false, "isPure": false, @@ -15137,7 +15137,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32621:32:1", + "src": "33545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15148,7 +15148,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15156,18 +15156,18 @@ "typeString": "bytes32" } ], - "id": 1741, + "id": 1233, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "32601:7:1", + "referencedDeclaration": 1053, + "src": "33525:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1754, + "id": 1246, "isConstant": false, "isLValue": false, "isPure": false, @@ -15175,58 +15175,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32601:53:1", + "src": "33525:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1740, - "id": 1755, + "functionReturnParameters": 1232, + "id": 1247, "nodeType": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ] }, "documentation": { - "id": 1732, + "id": 1224, "nodeType": "StructuredDocumentation", - "src": "32343:157:1", + "src": "33260:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1757, + "id": 1249, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1737, + "id": 1229, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1734, + "id": 1226, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32521:22:1", + "scope": 1249, + "src": "33444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1733, + "id": 1225, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32521:10:1", + "referencedDeclaration": 1197, + "src": "33444:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15234,12 +15234,12 @@ }, { "constant": false, - "id": 1736, + "id": 1228, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32545:13:1", + "scope": 1249, + "src": "33468:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15247,10 +15247,10 @@ "typeString": "address" }, "typeName": { - "id": 1735, + "id": 1227, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32545:7:1", + "src": "33468:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15260,20 +15260,20 @@ "visibility": "internal" } ], - "src": "32520:39:1" + "src": "33443:39:0" }, "returnParameters": { - "id": 1740, + "id": 1232, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1739, + "id": 1231, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32578:4:1", + "scope": 1249, + "src": "33501:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15281,10 +15281,10 @@ "typeString": "bool" }, "typeName": { - "id": 1738, + "id": 1230, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32578:4:1", + "src": "33501:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15293,47 +15293,47 @@ "visibility": "internal" } ], - "src": "32577:6:1" + "src": "33500:6:0" }, - "scope": 1921, - "src": "32505:156:1", + "scope": 1413, + "src": "33428:158:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1782, + "id": 1274, "nodeType": "Block", - "src": "32828:79:1", + "src": "33758:81:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1768, + "id": 1260, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1760, - "src": "32855:3:1", + "referencedDeclaration": 1252, + "src": "33786:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1769, + "id": 1261, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32855:10:1", + "referencedDeclaration": 1196, + "src": "33786:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15344,12 +15344,12 @@ { "arguments": [ { - "id": 1776, + "id": 1268, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1762, - "src": "32891:5:1", + "referencedDeclaration": 1254, + "src": "33822:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15363,26 +15363,26 @@ "typeString": "address" } ], - "id": 1775, + "id": 1267, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1774, + "id": 1266, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": {} } }, - "id": 1777, + "id": 1269, "isConstant": false, "isLValue": false, "isPure": false, @@ -15390,7 +15390,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32883:14:1", + "src": "33814:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15405,26 +15405,26 @@ "typeString": "uint160" } ], - "id": 1773, + "id": 1265, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1772, + "id": 1264, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": {} } }, - "id": 1778, + "id": 1270, "isConstant": false, "isLValue": false, "isPure": false, @@ -15432,7 +15432,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32875:23:1", + "src": "33806:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15447,26 +15447,26 @@ "typeString": "uint256" } ], - "id": 1771, + "id": 1263, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1770, + "id": 1262, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": {} } }, - "id": 1779, + "id": 1271, "isConstant": false, "isLValue": false, "isPure": false, @@ -15474,7 +15474,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32867:32:1", + "src": "33798:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15485,7 +15485,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15493,18 +15493,18 @@ "typeString": "bytes32" } ], - "id": 1767, + "id": 1259, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "32845:9:1", + "referencedDeclaration": 1071, + "src": "33776:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1780, + "id": 1272, "isConstant": false, "isLValue": false, "isPure": false, @@ -15512,58 +15512,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32845:55:1", + "src": "33776:55:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1766, - "id": 1781, + "functionReturnParameters": 1258, + "id": 1273, "nodeType": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ] }, "documentation": { - "id": 1758, + "id": 1250, "nodeType": "StructuredDocumentation", - "src": "32667:70:1", + "src": "33594:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1783, + "id": 1275, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1763, + "id": 1255, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1760, + "id": 1252, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32760:22:1", + "scope": 1275, + "src": "33690:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1759, + "id": 1251, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32760:10:1", + "referencedDeclaration": 1197, + "src": "33690:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15571,12 +15571,12 @@ }, { "constant": false, - "id": 1762, + "id": 1254, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32784:13:1", + "scope": 1275, + "src": "33714:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15584,10 +15584,10 @@ "typeString": "address" }, "typeName": { - "id": 1761, + "id": 1253, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32784:7:1", + "src": "33714:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15597,20 +15597,20 @@ "visibility": "internal" } ], - "src": "32759:39:1" + "src": "33689:39:0" }, "returnParameters": { - "id": 1766, + "id": 1258, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1765, + "id": 1257, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32822:4:1", + "scope": 1275, + "src": "33752:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15618,10 +15618,10 @@ "typeString": "bool" }, "typeName": { - "id": 1764, + "id": 1256, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32822:4:1", + "src": "33752:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15630,47 +15630,47 @@ "visibility": "internal" } ], - "src": "32821:6:1" + "src": "33751:6:0" }, - "scope": 1921, - "src": "32742:165:1", + "scope": 1413, + "src": "33672:167:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1796, + "id": 1288, "nodeType": "Block", - "src": "33060:43:1", + "src": "33997:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1792, + "id": 1284, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1786, - "src": "33085:3:1", + "referencedDeclaration": 1278, + "src": "34023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1793, + "id": 1285, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33085:10:1", + "referencedDeclaration": 1196, + "src": "34023:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -15678,22 +15678,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1791, + "id": 1283, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "33077:7:1", + "referencedDeclaration": 1084, + "src": "34015:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1794, + "id": 1286, "isConstant": false, "isLValue": false, "isPure": false, @@ -15701,78 +15701,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33077:19:1", + "src": "34015:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1790, - "id": 1795, + "functionReturnParameters": 1282, + "id": 1287, "nodeType": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ] }, "documentation": { - "id": 1784, + "id": 1276, "nodeType": "StructuredDocumentation", - "src": "32913:70:1", + "src": "33847:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1797, + "id": 1289, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1787, + "id": 1279, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1786, + "id": 1278, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33004:22:1", + "scope": 1289, + "src": "33941:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1785, + "id": 1277, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33004:10:1", + "referencedDeclaration": 1197, + "src": "33941:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, "visibility": "internal" } ], - "src": "33003:24:1" + "src": "33940:24:0" }, "returnParameters": { - "id": 1790, + "id": 1282, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1789, + "id": 1281, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33051:7:1", + "scope": 1289, + "src": "33988:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15780,10 +15780,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1788, + "id": 1280, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33051:7:1", + "src": "33988:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15792,19 +15792,19 @@ "visibility": "internal" } ], - "src": "33050:9:1" + "src": "33987:9:0" }, - "scope": 1921, - "src": "32988:115:1", + "scope": 1413, + "src": "33925:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1822, + "id": 1314, "nodeType": "Block", - "src": "33518:73:1", + "src": "34469:75:0", "statements": [ { "expression": { @@ -15817,38 +15817,38 @@ "arguments": [ { "expression": { - "id": 1814, + "id": 1306, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1800, - "src": "33563:3:1", + "referencedDeclaration": 1292, + "src": "34515:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1815, + "id": 1307, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33563:10:1", + "referencedDeclaration": 1196, + "src": "34515:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1816, + "id": 1308, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1802, - "src": "33575:5:1", + "referencedDeclaration": 1294, + "src": "34527:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15858,7 +15858,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15866,18 +15866,18 @@ "typeString": "uint256" } ], - "id": 1813, + "id": 1305, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "33559:3:1", + "referencedDeclaration": 1109, + "src": "34511:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1817, + "id": 1309, "isConstant": false, "isLValue": false, "isPure": false, @@ -15885,7 +15885,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33559:22:1", + "src": "34511:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15900,26 +15900,26 @@ "typeString": "bytes32" } ], - "id": 1812, + "id": 1304, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1811, + "id": 1303, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": {} } }, - "id": 1818, + "id": 1310, "isConstant": false, "isLValue": false, "isPure": false, @@ -15927,7 +15927,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33551:31:1", + "src": "34503:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15942,26 +15942,26 @@ "typeString": "uint256" } ], - "id": 1810, + "id": 1302, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1809, + "id": 1301, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": {} } }, - "id": 1819, + "id": 1311, "isConstant": false, "isLValue": false, "isPure": false, @@ -15969,7 +15969,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33543:40:1", + "src": "34495:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15984,26 +15984,26 @@ "typeString": "uint160" } ], - "id": 1808, + "id": 1300, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1807, + "id": 1299, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": {} } }, - "id": 1820, + "id": 1312, "isConstant": false, "isLValue": false, "isPure": false, @@ -16011,58 +16011,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33535:49:1", + "src": "34487:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 1806, - "id": 1821, + "functionReturnParameters": 1298, + "id": 1313, "nodeType": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ] }, "documentation": { - "id": 1798, + "id": 1290, "nodeType": "StructuredDocumentation", - "src": "33108:322:1", + "src": "34049:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1823, + "id": 1315, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1803, + "id": 1295, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1800, + "id": 1292, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33447:22:1", + "scope": 1315, + "src": "34398:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1799, + "id": 1291, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33447:10:1", + "referencedDeclaration": 1197, + "src": "34398:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -16070,12 +16070,12 @@ }, { "constant": false, - "id": 1802, + "id": 1294, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33471:13:1", + "scope": 1315, + "src": "34422:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16083,10 +16083,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1801, + "id": 1293, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33471:7:1", + "src": "34422:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16095,20 +16095,20 @@ "visibility": "internal" } ], - "src": "33446:39:1" + "src": "34397:39:0" }, "returnParameters": { - "id": 1806, + "id": 1298, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1805, + "id": 1297, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33509:7:1", + "scope": 1315, + "src": "34460:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16116,10 +16116,10 @@ "typeString": "address" }, "typeName": { - "id": 1804, + "id": 1296, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33509:7:1", + "src": "34460:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16129,40 +16129,40 @@ "visibility": "internal" } ], - "src": "33508:9:1" + "src": "34459:9:0" }, - "scope": 1921, - "src": "33435:156:1", + "scope": 1413, + "src": "34386:158:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.UintSet", - "id": 1826, + "id": 1318, "members": [ { "constant": false, - "id": 1825, + "id": 1317, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1826, - "src": "33639:10:1", + "scope": 1318, + "src": "34598:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1824, + "id": 1316, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "33639:3:1", + "referencedDeclaration": 932, + "src": "34598:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -16171,55 +16171,55 @@ ], "name": "UintSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "33614:42:1", + "scope": 1413, + "src": "34572:44:0", "visibility": "public" }, { "body": { - "id": 1845, + "id": 1337, "nodeType": "Block", - "src": "33899:56:1", + "src": "34867:58:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1837, + "id": 1329, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1829, - "src": "33921:3:1", + "referencedDeclaration": 1321, + "src": "34890:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1838, + "id": 1330, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "33921:10:1", + "referencedDeclaration": 1317, + "src": "34890:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1841, + "id": 1333, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1831, - "src": "33941:5:1", + "referencedDeclaration": 1323, + "src": "34910:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16233,26 +16233,26 @@ "typeString": "uint256" } ], - "id": 1840, + "id": 1332, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1839, + "id": 1331, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": {} } }, - "id": 1842, + "id": 1334, "isConstant": false, "isLValue": false, "isPure": false, @@ -16260,7 +16260,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33933:14:1", + "src": "34902:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16271,7 +16271,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16279,18 +16279,18 @@ "typeString": "bytes32" } ], - "id": 1836, + "id": 1328, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "33916:4:1", + "referencedDeclaration": 973, + "src": "34885:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1843, + "id": 1335, "isConstant": false, "isLValue": false, "isPure": false, @@ -16298,58 +16298,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33916:32:1", + "src": "34885:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1835, - "id": 1844, + "functionReturnParameters": 1327, + "id": 1336, "nodeType": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ] }, "documentation": { - "id": 1827, + "id": 1319, "nodeType": "StructuredDocumentation", - "src": "33662:159:1", + "src": "34624:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1846, + "id": 1338, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1832, + "id": 1324, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1829, + "id": 1321, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33839:19:1", + "scope": 1338, + "src": "34807:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1828, + "id": 1320, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "33839:7:1", + "referencedDeclaration": 1318, + "src": "34807:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16357,12 +16357,12 @@ }, { "constant": false, - "id": 1831, + "id": 1323, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33860:13:1", + "scope": 1338, + "src": "34828:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16370,10 +16370,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1830, + "id": 1322, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33860:7:1", + "src": "34828:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16382,20 +16382,20 @@ "visibility": "internal" } ], - "src": "33838:36:1" + "src": "34806:36:0" }, "returnParameters": { - "id": 1835, + "id": 1327, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1834, + "id": 1326, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33893:4:1", + "scope": 1338, + "src": "34861:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16403,10 +16403,10 @@ "typeString": "bool" }, "typeName": { - "id": 1833, + "id": 1325, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "33893:4:1", + "src": "34861:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16415,59 +16415,59 @@ "visibility": "internal" } ], - "src": "33892:6:1" + "src": "34860:6:0" }, - "scope": 1921, - "src": "33826:129:1", + "scope": 1413, + "src": "34794:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1865, + "id": 1357, "nodeType": "Block", - "src": "34199:59:1", + "src": "35177:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1857, + "id": 1349, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1849, - "src": "34224:3:1", + "referencedDeclaration": 1341, + "src": "35203:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1858, + "id": 1350, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34224:10:1", + "referencedDeclaration": 1317, + "src": "35203:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1861, + "id": 1353, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1851, - "src": "34244:5:1", + "referencedDeclaration": 1343, + "src": "35223:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16481,26 +16481,26 @@ "typeString": "uint256" } ], - "id": 1860, + "id": 1352, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1859, + "id": 1351, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": {} } }, - "id": 1862, + "id": 1354, "isConstant": false, "isLValue": false, "isPure": false, @@ -16508,7 +16508,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34236:14:1", + "src": "35215:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16519,7 +16519,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16527,18 +16527,18 @@ "typeString": "bytes32" } ], - "id": 1856, + "id": 1348, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "34216:7:1", + "referencedDeclaration": 1053, + "src": "35195:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1863, + "id": 1355, "isConstant": false, "isLValue": false, "isPure": false, @@ -16546,58 +16546,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34216:35:1", + "src": "35195:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1855, - "id": 1864, + "functionReturnParameters": 1347, + "id": 1356, "nodeType": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ] }, "documentation": { - "id": 1847, + "id": 1339, "nodeType": "StructuredDocumentation", - "src": "33961:157:1", + "src": "34933:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1866, + "id": 1358, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1852, + "id": 1344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1849, + "id": 1341, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34139:19:1", + "scope": 1358, + "src": "35117:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1848, + "id": 1340, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34139:7:1", + "referencedDeclaration": 1318, + "src": "35117:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16605,12 +16605,12 @@ }, { "constant": false, - "id": 1851, + "id": 1343, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34160:13:1", + "scope": 1358, + "src": "35138:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16618,10 +16618,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1850, + "id": 1342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34160:7:1", + "src": "35138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16630,20 +16630,20 @@ "visibility": "internal" } ], - "src": "34138:36:1" + "src": "35116:36:0" }, "returnParameters": { - "id": 1855, + "id": 1347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1854, + "id": 1346, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34193:4:1", + "scope": 1358, + "src": "35171:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16651,10 +16651,10 @@ "typeString": "bool" }, "typeName": { - "id": 1853, + "id": 1345, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34193:4:1", + "src": "35171:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16663,59 +16663,59 @@ "visibility": "internal" } ], - "src": "34192:6:1" + "src": "35170:6:0" }, - "scope": 1921, - "src": "34123:135:1", + "scope": 1413, + "src": "35101:137:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1885, + "id": 1377, "nodeType": "Block", - "src": "34422:61:1", + "src": "35407:63:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1877, + "id": 1369, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1869, - "src": "34449:3:1", + "referencedDeclaration": 1361, + "src": "35435:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1878, + "id": 1370, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34449:10:1", + "referencedDeclaration": 1317, + "src": "35435:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1881, + "id": 1373, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1871, - "src": "34469:5:1", + "referencedDeclaration": 1363, + "src": "35455:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16729,26 +16729,26 @@ "typeString": "uint256" } ], - "id": 1880, + "id": 1372, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1879, + "id": 1371, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": {} } }, - "id": 1882, + "id": 1374, "isConstant": false, "isLValue": false, "isPure": false, @@ -16756,7 +16756,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34461:14:1", + "src": "35447:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16767,7 +16767,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16775,18 +16775,18 @@ "typeString": "bytes32" } ], - "id": 1876, + "id": 1368, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "34439:9:1", + "referencedDeclaration": 1071, + "src": "35425:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1883, + "id": 1375, "isConstant": false, "isLValue": false, "isPure": false, @@ -16794,58 +16794,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34439:37:1", + "src": "35425:37:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1875, - "id": 1884, + "functionReturnParameters": 1367, + "id": 1376, "nodeType": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ] }, "documentation": { - "id": 1867, + "id": 1359, "nodeType": "StructuredDocumentation", - "src": "34264:70:1", + "src": "35246:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1886, + "id": 1378, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1872, + "id": 1364, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1869, + "id": 1361, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34357:19:1", + "scope": 1378, + "src": "35342:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1868, + "id": 1360, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34357:7:1", + "referencedDeclaration": 1318, + "src": "35342:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16853,12 +16853,12 @@ }, { "constant": false, - "id": 1871, + "id": 1363, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34378:13:1", + "scope": 1378, + "src": "35363:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16866,10 +16866,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1870, + "id": 1362, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34378:7:1", + "src": "35363:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16878,20 +16878,20 @@ "visibility": "internal" } ], - "src": "34356:36:1" + "src": "35341:36:0" }, "returnParameters": { - "id": 1875, + "id": 1367, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1874, + "id": 1366, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34416:4:1", + "scope": 1378, + "src": "35401:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16899,10 +16899,10 @@ "typeString": "bool" }, "typeName": { - "id": 1873, + "id": 1365, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34416:4:1", + "src": "35401:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16911,47 +16911,47 @@ "visibility": "internal" } ], - "src": "34415:6:1" + "src": "35400:6:0" }, - "scope": 1921, - "src": "34339:144:1", + "scope": 1413, + "src": "35324:146:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1899, + "id": 1391, "nodeType": "Block", - "src": "34633:43:1", + "src": "35625:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1895, + "id": 1387, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1889, - "src": "34658:3:1", + "referencedDeclaration": 1381, + "src": "35651:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1896, + "id": 1388, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34658:10:1", + "referencedDeclaration": 1317, + "src": "35651:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -16959,22 +16959,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1894, + "id": 1386, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "34650:7:1", + "referencedDeclaration": 1084, + "src": "35643:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1897, + "id": 1389, "isConstant": false, "isLValue": false, "isPure": false, @@ -16982,78 +16982,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34650:19:1", + "src": "35643:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1893, - "id": 1898, + "functionReturnParameters": 1385, + "id": 1390, "nodeType": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ] }, "documentation": { - "id": 1887, + "id": 1379, "nodeType": "StructuredDocumentation", - "src": "34489:70:1", + "src": "35478:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1900, + "id": 1392, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1890, + "id": 1382, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1889, + "id": 1381, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34580:19:1", + "scope": 1392, + "src": "35572:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1888, + "id": 1380, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34580:7:1", + "referencedDeclaration": 1318, + "src": "35572:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, "visibility": "internal" } ], - "src": "34579:21:1" + "src": "35571:21:0" }, "returnParameters": { - "id": 1893, + "id": 1385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1892, + "id": 1384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34624:7:1", + "scope": 1392, + "src": "35616:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17061,10 +17061,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1891, + "id": 1383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34624:7:1", + "src": "35616:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17073,19 +17073,19 @@ "visibility": "internal" } ], - "src": "34623:9:1" + "src": "35615:9:0" }, - "scope": 1921, - "src": "34564:112:1", + "scope": 1413, + "src": "35556:114:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1919, + "id": 1411, "nodeType": "Block", - "src": "35088:55:1", + "src": "36094:57:0", "statements": [ { "expression": { @@ -17094,38 +17094,38 @@ "arguments": [ { "expression": { - "id": 1913, + "id": 1405, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1903, - "src": "35117:3:1", + "referencedDeclaration": 1395, + "src": "36124:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1914, + "id": 1406, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "35117:10:1", + "referencedDeclaration": 1317, + "src": "36124:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1915, + "id": 1407, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1905, - "src": "35129:5:1", + "referencedDeclaration": 1397, + "src": "36136:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17135,7 +17135,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -17143,18 +17143,18 @@ "typeString": "uint256" } ], - "id": 1912, + "id": 1404, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "35113:3:1", + "referencedDeclaration": 1109, + "src": "36120:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1916, + "id": 1408, "isConstant": false, "isLValue": false, "isPure": false, @@ -17162,7 +17162,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35113:22:1", + "src": "36120:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -17177,26 +17177,26 @@ "typeString": "bytes32" } ], - "id": 1911, + "id": 1403, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1910, + "id": 1402, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": {} } }, - "id": 1917, + "id": 1409, "isConstant": false, "isLValue": false, "isPure": false, @@ -17204,58 +17204,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35105:31:1", + "src": "36112:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1909, - "id": 1918, + "functionReturnParameters": 1401, + "id": 1410, "nodeType": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ] }, "documentation": { - "id": 1901, + "id": 1393, "nodeType": "StructuredDocumentation", - "src": "34681:322:1", + "src": "35677:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1920, + "id": 1412, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1906, + "id": 1398, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1903, + "id": 1395, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35020:19:1", + "scope": 1412, + "src": "36026:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1902, + "id": 1394, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "35020:7:1", + "referencedDeclaration": 1318, + "src": "36026:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -17263,12 +17263,12 @@ }, { "constant": false, - "id": 1905, + "id": 1397, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35041:13:1", + "scope": 1412, + "src": "36047:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17276,10 +17276,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1904, + "id": 1396, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35041:7:1", + "src": "36047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17288,20 +17288,20 @@ "visibility": "internal" } ], - "src": "35019:36:1" + "src": "36025:36:0" }, "returnParameters": { - "id": 1909, + "id": 1401, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1908, + "id": 1400, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35079:7:1", + "scope": 1412, + "src": "36085:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17309,10 +17309,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1907, + "id": 1399, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35079:7:1", + "src": "36085:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17321,20 +17321,20 @@ "visibility": "internal" } ], - "src": "35078:9:1" + "src": "36084:9:0" }, - "scope": 1921, - "src": "35008:135:1", + "scope": 1413, + "src": "36014:137:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "26511:8634:1" + "scope": 2991, + "src": "27252:8902:0" }, { - "id": 1922, + "id": 1414, "literals": [ "solidity", ">=", @@ -17345,7 +17345,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "abstract": false, @@ -17353,31 +17353,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1923, + "id": 1415, "nodeType": "StructuredDocumentation", - "src": "35237:705:1", + "src": "36251:728:0", "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, "fullyImplemented": true, - "id": 2480, + "id": 1972, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableMap.MapEntry", - "id": 1928, + "id": 1420, "members": [ { "constant": false, - "id": 1925, + "id": 1417, "mutability": "mutable", "name": "_key", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36455:12:1", + "scope": 1420, + "src": "37504:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17385,10 +17385,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1924, + "id": 1416, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36455:7:1", + "src": "37504:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17398,12 +17398,12 @@ }, { "constant": false, - "id": 1927, + "id": 1419, "mutability": "mutable", "name": "_value", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36477:14:1", + "scope": 1420, + "src": "37527:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17411,10 +17411,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1926, + "id": 1418, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36477:7:1", + "src": "37527:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17425,45 +17425,45 @@ ], "name": "MapEntry", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36429:69:1", + "scope": 1972, + "src": "37477:72:0", "visibility": "public" }, { "canonicalName": "EnumerableMap.Map", - "id": 1936, + "id": 1428, "members": [ { "constant": false, - "id": 1931, + "id": 1423, "mutability": "mutable", "name": "_entries", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36567:19:1", + "scope": 1428, + "src": "37622:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" }, "typeName": { "baseType": { - "id": 1929, + "id": 1421, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "36567:8:1", + "referencedDeclaration": 1420, + "src": "37622:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, - "id": 1930, + "id": 1422, "nodeType": "ArrayTypeName", - "src": "36567:10:1", + "src": "37622:10:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" } }, @@ -17471,12 +17471,12 @@ }, { "constant": false, - "id": 1935, + "id": 1427, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36736:37:1", + "scope": 1428, + "src": "37795:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17484,28 +17484,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1934, + "id": 1426, "keyType": { - "id": 1932, + "id": 1424, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36745:7:1", + "src": "37804:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "36736:28:1", + "src": "37795:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1933, + "id": 1425, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "36756:7:1", + "src": "37815:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17517,29 +17517,29 @@ ], "name": "Map", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36504:276:1", + "scope": 1972, + "src": "37557:283:0", "visibility": "public" }, { "body": { - "id": 1997, + "id": 1489, "nodeType": "Block", - "src": "37089:596:1", + "src": "38158:610:0", "statements": [ { "assignments": [ - 1949 + 1441 ], "declarations": [ { "constant": false, - "id": 1949, + "id": 1441, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 1997, - "src": "37197:16:1", + "scope": 1489, + "src": "38268:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17547,10 +17547,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1948, + "id": 1440, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "37197:7:1", + "src": "38268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17559,43 +17559,43 @@ "visibility": "internal" } ], - "id": 1954, + "id": 1446, "initialValue": { "baseExpression": { "expression": { - "id": 1950, + "id": 1442, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37216:3:1", + "referencedDeclaration": 1431, + "src": "38287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1951, + "id": 1443, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37216:12:1", + "referencedDeclaration": 1427, + "src": "38287:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1953, + "id": 1445, "indexExpression": { - "id": 1952, + "id": 1444, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37229:3:1", + "referencedDeclaration": 1433, + "src": "38300:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17606,14 +17606,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37216:17:1", + "src": "38287:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "condition": { @@ -17621,18 +17621,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1957, + "id": 1449, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1955, + "id": 1447, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37248:8:1", + "referencedDeclaration": 1441, + "src": "38321:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17642,34 +17642,34 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 1956, + "id": 1448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37260:1:1", + "src": "38333:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "37248:13:1", + "src": "38321:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1995, + "id": 1487, "nodeType": "Block", - "src": "37587:92:1", + "src": "38666:95:0", "statements": [ { "expression": { - "id": 1991, + "id": 1483, "isConstant": false, "isLValue": false, "isPure": false, @@ -17678,49 +17678,49 @@ "expression": { "baseExpression": { "expression": { - "id": 1982, + "id": 1474, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37601:3:1", + "referencedDeclaration": 1431, + "src": "38681:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1987, + "id": 1479, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37601:12:1", + "referencedDeclaration": 1423, + "src": "38681:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1988, + "id": 1480, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1986, + "id": 1478, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1984, + "id": 1476, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37614:8:1", + "referencedDeclaration": 1441, + "src": "38694:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17730,21 +17730,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1985, + "id": 1477, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37625:1:1", + "src": "38705:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "37614:12:1", + "src": "38694:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17755,21 +17755,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37601:26:1", + "src": "38681:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 1989, + "id": 1481, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "37601:33:1", + "referencedDeclaration": 1419, + "src": "38681:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17778,58 +17778,58 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1990, + "id": 1482, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37637:5:1", + "referencedDeclaration": 1435, + "src": "38717:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "37601:41:1", + "src": "38681:41:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1992, + "id": 1484, "nodeType": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "expression": { "hexValue": "66616c7365", - "id": 1993, + "id": 1485, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37663:5:1", + "src": "38744:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1947, - "id": 1994, + "functionReturnParameters": 1439, + "id": 1486, "nodeType": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ] }, - "id": 1996, + "id": 1488, "nodeType": "IfStatement", - "src": "37244:435:1", + "src": "38317:444:0", "trueBody": { - "id": 1981, + "id": 1473, "nodeType": "Block", - "src": "37263:318:1", + "src": "38336:324:0", "statements": [ { "expression": { @@ -17837,24 +17837,24 @@ { "arguments": [ { - "id": 1964, + "id": 1456, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37349:3:1", + "referencedDeclaration": 1433, + "src": "38423:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, { - "id": 1965, + "id": 1457, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37362:5:1", + "referencedDeclaration": 1435, + "src": "38436:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17872,18 +17872,18 @@ "typeString": "bytes32" } ], - "id": 1963, + "id": 1455, "name": "MapEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1928, - "src": "37332:8:1", + "referencedDeclaration": 1420, + "src": "38406:8:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_MapEntry_$1928_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_MapEntry_$1420_storage_ptr_$", "typeString": "type(struct EnumerableMap.MapEntry storage pointer)" } }, - "id": 1966, + "id": 1458, "isConstant": false, "isLValue": false, "isPure": false, @@ -17894,10 +17894,10 @@ "_value" ], "nodeType": "FunctionCall", - "src": "37332:38:1", + "src": "38406:38:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } } @@ -17905,51 +17905,51 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], "expression": { "expression": { - "id": 1958, + "id": 1450, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37314:3:1", + "referencedDeclaration": 1431, + "src": "38388:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1961, + "id": 1453, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37314:12:1", + "referencedDeclaration": 1423, + "src": "38388:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1962, + "id": 1454, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "37314:17:1", + "src": "38388:17:0", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1928_storage_$returns$__$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1420_storage_$returns$__$", "typeString": "function (struct EnumerableMap.MapEntry storage ref)" } }, - "id": 1967, + "id": 1459, "isConstant": false, "isLValue": false, "isPure": false, @@ -17957,20 +17957,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "37314:57:1", + "src": "38388:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1968, + "id": 1460, "nodeType": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "expression": { - "id": 1977, + "id": 1469, "isConstant": false, "isLValue": false, "isPure": false, @@ -17978,39 +17978,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1969, + "id": 1461, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37506:3:1", + "referencedDeclaration": 1431, + "src": "38583:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1972, + "id": 1464, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37506:12:1", + "referencedDeclaration": 1427, + "src": "38583:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1973, + "id": 1465, "indexExpression": { - "id": 1971, + "id": 1463, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37519:3:1", + "referencedDeclaration": 1433, + "src": "38596:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18021,7 +18021,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "37506:17:1", + "src": "38583:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18032,75 +18032,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1974, + "id": 1466, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37526:3:1", + "referencedDeclaration": 1431, + "src": "38603:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1975, + "id": 1467, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37526:12:1", + "referencedDeclaration": 1423, + "src": "38603:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1976, + "id": 1468, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "37526:19:1", + "src": "38603:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "37506:39:1", + "src": "38583:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1978, + "id": 1470, "nodeType": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "expression": { "hexValue": "74727565", - "id": 1979, + "id": 1471, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37566:4:1", + "src": "38644:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1947, - "id": 1980, + "functionReturnParameters": 1439, + "id": 1472, "nodeType": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ] } @@ -18108,43 +18108,43 @@ ] }, "documentation": { - "id": 1937, + "id": 1429, "nodeType": "StructuredDocumentation", - "src": "36786:216:1", + "src": "37848:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1998, + "id": 1490, "implemented": true, "kind": "function", "modifiers": [], "name": "_set", "nodeType": "FunctionDefinition", "parameters": { - "id": 1944, + "id": 1436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1939, + "id": 1431, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37021:15:1", + "scope": 1490, + "src": "38090:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 1938, + "id": 1430, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37021:3:1", + "referencedDeclaration": 1428, + "src": "38090:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -18152,12 +18152,12 @@ }, { "constant": false, - "id": 1941, + "id": 1433, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37038:11:1", + "scope": 1490, + "src": "38107:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18165,10 +18165,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1940, + "id": 1432, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37038:7:1", + "src": "38107:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18178,12 +18178,12 @@ }, { "constant": false, - "id": 1943, + "id": 1435, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37051:13:1", + "scope": 1490, + "src": "38120:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18191,10 +18191,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1942, + "id": 1434, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37051:7:1", + "src": "38120:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18203,20 +18203,20 @@ "visibility": "internal" } ], - "src": "37020:45:1" + "src": "38089:45:0" }, "returnParameters": { - "id": 1947, + "id": 1439, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1946, + "id": 1438, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37083:4:1", + "scope": 1490, + "src": "38152:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18224,10 +18224,10 @@ "typeString": "bool" }, "typeName": { - "id": 1945, + "id": 1437, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37083:4:1", + "src": "38152:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -18236,33 +18236,33 @@ "visibility": "internal" } ], - "src": "37082:6:1" + "src": "38151:6:0" }, - "scope": 2480, - "src": "37007:678:1", + "scope": 1972, + "src": "38076:692:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2078, + "id": 1570, "nodeType": "Block", - "src": "37923:1447:1", + "src": "39013:1479:0", "statements": [ { "assignments": [ - 2009 + 1501 ], "declarations": [ { "constant": false, - "id": 2009, + "id": 1501, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2078, - "src": "38031:16:1", + "scope": 1570, + "src": "39123:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18270,10 +18270,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2008, + "id": 1500, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38031:7:1", + "src": "39123:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18282,43 +18282,43 @@ "visibility": "internal" } ], - "id": 2014, + "id": 1506, "initialValue": { "baseExpression": { "expression": { - "id": 2010, + "id": 1502, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38050:3:1", + "referencedDeclaration": 1493, + "src": "39142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2011, + "id": 1503, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "38050:12:1", + "referencedDeclaration": 1427, + "src": "39142:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2013, + "id": 1505, "indexExpression": { - "id": 2012, + "id": 1504, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "38063:3:1", + "referencedDeclaration": 1495, + "src": "39155:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18329,14 +18329,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38050:17:1", + "src": "39142:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "condition": { @@ -18344,18 +18344,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2017, + "id": 1509, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2015, + "id": 1507, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38082:8:1", + "referencedDeclaration": 1501, + "src": "39176:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18365,76 +18365,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2016, + "id": 1508, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38094:1:1", + "src": "39188:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "38082:13:1", + "src": "39176:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 2076, + "id": 1568, "nodeType": "Block", - "src": "39327:37:1", + "src": "40446:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 2074, + "id": 1566, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39348:5:1", + "src": "40468:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 2007, - "id": 2075, + "functionReturnParameters": 1499, + "id": 1567, "nodeType": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ] }, - "id": 2077, + "id": 1569, "nodeType": "IfStatement", - "src": "38078:1286:1", + "src": "39172:1313:0", "trueBody": { - "id": 2073, + "id": 1565, "nodeType": "Block", - "src": "38097:1224:1", + "src": "39191:1249:0", "statements": [ { "assignments": [ - 2019 + 1511 ], "declarations": [ { "constant": false, - "id": 2019, + "id": 1511, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38438:21:1", + "scope": 1565, + "src": "39537:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18442,10 +18442,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2018, + "id": 1510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38438:7:1", + "src": "39537:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18454,24 +18454,24 @@ "visibility": "internal" } ], - "id": 2023, + "id": 1515, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2022, + "id": 1514, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2020, + "id": 1512, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38462:8:1", + "referencedDeclaration": 1501, + "src": "39561:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18481,42 +18481,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2021, + "id": 1513, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38473:1:1", + "src": "39572:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38462:12:1", + "src": "39561:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "assignments": [ - 2025 + 1517 ], "declarations": [ { "constant": false, - "id": 2025, + "id": 1517, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38488:17:1", + "scope": 1565, + "src": "39588:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18524,10 +18524,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2024, + "id": 1516, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38488:7:1", + "src": "39588:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18536,13 +18536,13 @@ "visibility": "internal" } ], - "id": 2031, + "id": 1523, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2030, + "id": 1522, "isConstant": false, "isLValue": false, "isPure": false, @@ -18550,39 +18550,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2026, + "id": 1518, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38508:3:1", + "referencedDeclaration": 1493, + "src": "39608:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2027, + "id": 1519, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38508:12:1", + "referencedDeclaration": 1423, + "src": "39608:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2028, + "id": 1520, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "38508:19:1", + "src": "39608:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18592,99 +18592,99 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2029, + "id": 1521, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38530:1:1", + "src": "39630:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38508:23:1", + "src": "39608:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "assignments": [ - 2033 + 1525 ], "declarations": [ { "constant": false, - "id": 2033, + "id": 1525, "mutability": "mutable", "name": "lastEntry", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38771:26:1", + "scope": 1565, + "src": "39876:26:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2032, + "id": 1524, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "38771:8:1", + "referencedDeclaration": 1420, + "src": "39876:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2038, + "id": 1530, "initialValue": { "baseExpression": { "expression": { - "id": 2034, + "id": 1526, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38800:3:1", + "referencedDeclaration": 1493, + "src": "39905:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2035, + "id": 1527, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38800:12:1", + "referencedDeclaration": 1423, + "src": "39905:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2037, + "id": 1529, "indexExpression": { - "id": 2036, + "id": 1528, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "38813:9:1", + "referencedDeclaration": 1517, + "src": "39918:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18695,18 +18695,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38800:23:1", + "src": "39905:23:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "expression": { - "id": 2045, + "id": 1537, "isConstant": false, "isLValue": false, "isPure": false, @@ -18714,39 +18714,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2039, + "id": 1531, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38915:3:1", + "referencedDeclaration": 1493, + "src": "40023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2042, + "id": 1534, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38915:12:1", + "referencedDeclaration": 1423, + "src": "40023:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2043, + "id": 1535, "indexExpression": { - "id": 2041, + "id": 1533, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "38928:13:1", + "referencedDeclaration": 1511, + "src": "40036:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18757,39 +18757,39 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "38915:27:1", + "src": "40023:27:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2044, + "id": 1536, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "38945:9:1", + "referencedDeclaration": 1525, + "src": "40053:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "src": "38915:39:1", + "src": "40023:39:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2046, + "id": 1538, "nodeType": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "expression": { - "id": 2056, + "id": 1548, "isConstant": false, "isLValue": false, "isPure": false, @@ -18797,54 +18797,54 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2047, + "id": 1539, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39020:3:1", + "referencedDeclaration": 1493, + "src": "40130:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2051, + "id": 1543, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39020:12:1", + "referencedDeclaration": 1427, + "src": "40130:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2052, + "id": 1544, "indexExpression": { "expression": { - "id": 2049, + "id": 1541, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "39033:9:1", + "referencedDeclaration": 1525, + "src": "40143:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2050, + "id": 1542, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "39033:14:1", + "referencedDeclaration": 1417, + "src": "40143:14:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18855,7 +18855,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39020:28:1", + "src": "40130:28:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18868,18 +18868,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2055, + "id": 1547, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2053, + "id": 1545, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "39051:13:1", + "referencedDeclaration": 1511, + "src": "40161:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18889,35 +18889,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 2054, + "id": 1546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39067:1:1", + "src": "40177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "39051:17:1", + "src": "40161:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "39020:48:1", + "src": "40130:48:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2057, + "id": 1549, "nodeType": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "expression": { @@ -18926,45 +18926,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 2058, + "id": 1550, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39174:3:1", + "referencedDeclaration": 1493, + "src": "40287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2061, + "id": 1553, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39174:12:1", + "referencedDeclaration": 1423, + "src": "40287:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2062, + "id": 1554, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "39174:16:1", + "src": "40287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 2063, + "id": 1555, "isConstant": false, "isLValue": false, "isPure": false, @@ -18972,20 +18972,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "39174:18:1", + "src": "40287:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2064, + "id": 1556, "nodeType": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "expression": { - "id": 2069, + "id": 1561, "isConstant": false, "isLValue": false, "isPure": false, @@ -18993,43 +18993,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "39260:24:1", + "src": "40376:24:0", "subExpression": { "baseExpression": { "expression": { - "id": 2065, + "id": 1557, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39267:3:1", + "referencedDeclaration": 1493, + "src": "40383:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2066, + "id": 1558, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39267:12:1", + "referencedDeclaration": 1427, + "src": "40383:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2068, + "id": 1560, "indexExpression": { - "id": 2067, + "id": 1559, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "39280:3:1", + "referencedDeclaration": 1495, + "src": "40396:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19040,7 +19040,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39267:17:1", + "src": "40383:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19051,31 +19051,31 @@ "typeString": "tuple()" } }, - "id": 2070, + "id": 1562, "nodeType": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "expression": { "hexValue": "74727565", - "id": 2071, + "id": 1563, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39306:4:1", + "src": "40424:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 2007, - "id": 2072, + "functionReturnParameters": 1499, + "id": 1564, "nodeType": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ] } @@ -19083,43 +19083,43 @@ ] }, "documentation": { - "id": 1999, + "id": 1491, "nodeType": "StructuredDocumentation", - "src": "37691:157:1", + "src": "38776:161:0", "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2079, + "id": 1571, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2004, + "id": 1496, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2001, + "id": 1493, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37870:15:1", + "scope": 1571, + "src": "38960:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2000, + "id": 1492, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37870:3:1", + "referencedDeclaration": 1428, + "src": "38960:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19127,12 +19127,12 @@ }, { "constant": false, - "id": 2003, + "id": 1495, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37887:11:1", + "scope": 1571, + "src": "38977:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19140,10 +19140,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2002, + "id": 1494, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37887:7:1", + "src": "38977:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19152,20 +19152,20 @@ "visibility": "internal" } ], - "src": "37869:30:1" + "src": "38959:30:0" }, "returnParameters": { - "id": 2007, + "id": 1499, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2006, + "id": 1498, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37917:4:1", + "scope": 1571, + "src": "39007:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19173,10 +19173,10 @@ "typeString": "bool" }, "typeName": { - "id": 2005, + "id": 1497, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37917:4:1", + "src": "39007:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19185,19 +19185,19 @@ "visibility": "internal" } ], - "src": "37916:6:1" + "src": "39006:6:0" }, - "scope": 2480, - "src": "37853:1517:1", + "scope": 1972, + "src": "38943:1549:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2096, + "id": 1588, "nodeType": "Block", - "src": "39526:46:1", + "src": "40653:48:0", "statements": [ { "expression": { @@ -19205,7 +19205,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2094, + "id": 1586, "isConstant": false, "isLValue": false, "isPure": false, @@ -19213,39 +19213,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 2089, + "id": 1581, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2082, - "src": "39543:3:1", + "referencedDeclaration": 1574, + "src": "40671:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2090, + "id": 1582, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39543:12:1", + "referencedDeclaration": 1427, + "src": "40671:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2092, + "id": 1584, "indexExpression": { - "id": 2091, + "id": 1583, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2084, - "src": "39556:3:1", + "referencedDeclaration": 1576, + "src": "40684:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19256,7 +19256,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "39543:17:1", + "src": "40671:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19266,71 +19266,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2093, + "id": 1585, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39564:1:1", + "src": "40692:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "39543:22:1", + "src": "40671:22:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2088, - "id": 2095, + "functionReturnParameters": 1580, + "id": 1587, "nodeType": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ] }, "documentation": { - "id": 2080, + "id": 1572, "nodeType": "StructuredDocumentation", - "src": "39376:68:1", + "src": "40500:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2097, + "id": 1589, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2085, + "id": 1577, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2082, + "id": 1574, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39468:15:1", + "scope": 1589, + "src": "40595:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2081, + "id": 1573, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39468:3:1", + "referencedDeclaration": 1428, + "src": "40595:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19338,12 +19338,12 @@ }, { "constant": false, - "id": 2084, + "id": 1576, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39485:11:1", + "scope": 1589, + "src": "40612:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19351,10 +19351,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2083, + "id": 1575, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "39485:7:1", + "src": "40612:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19363,20 +19363,20 @@ "visibility": "internal" } ], - "src": "39467:30:1" + "src": "40594:30:0" }, "returnParameters": { - "id": 2088, + "id": 1580, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2087, + "id": 1579, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39520:4:1", + "scope": 1589, + "src": "40647:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19384,10 +19384,10 @@ "typeString": "bool" }, "typeName": { - "id": 2086, + "id": 1578, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "39520:4:1", + "src": "40647:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19396,127 +19396,127 @@ "visibility": "internal" } ], - "src": "39519:6:1" + "src": "40646:6:0" }, - "scope": 2480, - "src": "39449:123:1", + "scope": 1972, + "src": "40576:125:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2109, + "id": 1601, "nodeType": "Block", - "src": "39727:43:1", + "src": "40861:45:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 2105, + "id": 1597, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2100, - "src": "39744:3:1", + "referencedDeclaration": 1592, + "src": "40879:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2106, + "id": 1598, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39744:12:1", + "referencedDeclaration": 1423, + "src": "40879:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2107, + "id": 1599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "39744:19:1", + "src": "40879:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2104, - "id": 2108, + "functionReturnParameters": 1596, + "id": 1600, "nodeType": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ] }, "documentation": { - "id": 2098, + "id": 1590, "nodeType": "StructuredDocumentation", - "src": "39578:79:1", + "src": "40709:81:0", "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2110, + "id": 1602, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2101, + "id": 1593, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2100, + "id": 1592, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39679:15:1", + "scope": 1602, + "src": "40813:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2099, + "id": 1591, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39679:3:1", + "referencedDeclaration": 1428, + "src": "40813:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, "visibility": "internal" } ], - "src": "39678:17:1" + "src": "40812:17:0" }, "returnParameters": { - "id": 2104, + "id": 1596, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2103, + "id": 1595, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39718:7:1", + "scope": 1602, + "src": "40852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19524,10 +19524,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2102, + "id": 1594, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "39718:7:1", + "src": "40852:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19536,19 +19536,19 @@ "visibility": "internal" } ], - "src": "39717:9:1" + "src": "40851:9:0" }, - "scope": 2480, - "src": "39662:108:1", + "scope": 1972, + "src": "40796:110:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2144, + "id": 1636, "nodeType": "Block", - "src": "40198:189:1", + "src": "41346:194:0", "statements": [ { "expression": { @@ -19558,7 +19558,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2127, + "id": 1619, "isConstant": false, "isLValue": false, "isPure": false, @@ -19566,39 +19566,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2123, + "id": 1615, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40216:3:1", + "referencedDeclaration": 1605, + "src": "41365:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2124, + "id": 1616, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40216:12:1", + "referencedDeclaration": 1423, + "src": "41365:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2125, + "id": 1617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "40216:19:1", + "src": "41365:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19607,18 +19607,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 2126, + "id": 1618, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40238:5:1", + "referencedDeclaration": 1607, + "src": "41387:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "40216:27:1", + "src": "41365:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19626,14 +19626,14 @@ }, { "hexValue": "456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473", - "id": 2128, + "id": 1620, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "40245:36:1", + "src": "41394:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_86631030b9066a18616a068fc09fce83d18af4765cb1d2166fa475228f4db155", "typeString": "literal_string \"EnumerableMap: index out of bounds\"" @@ -19652,7 +19652,7 @@ "typeString": "literal_string \"EnumerableMap: index out of bounds\"" } ], - "id": 2122, + "id": 1614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -19660,13 +19660,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "40208:7:1", + "src": "41357:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2129, + "id": 1621, "isConstant": false, "isLValue": false, "isPure": false, @@ -19674,87 +19674,87 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "40208:74:1", + "src": "41357:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2130, + "id": 1622, "nodeType": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "assignments": [ - 2132 + 1624 ], "declarations": [ { "constant": false, - "id": 2132, + "id": 1624, "mutability": "mutable", "name": "entry", "nodeType": "VariableDeclaration", - "scope": 2144, - "src": "40293:22:1", + "scope": 1636, + "src": "41444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2131, + "id": 1623, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "40293:8:1", + "referencedDeclaration": 1420, + "src": "41444:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2137, + "id": 1629, "initialValue": { "baseExpression": { "expression": { - "id": 2133, + "id": 1625, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40318:3:1", + "referencedDeclaration": 1605, + "src": "41469:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2134, + "id": 1626, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40318:12:1", + "referencedDeclaration": 1423, + "src": "41469:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2136, + "id": 1628, "indexExpression": { - "id": 2135, + "id": 1627, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40331:5:1", + "referencedDeclaration": 1607, + "src": "41482:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19765,40 +19765,40 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40318:19:1", + "src": "41469:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "expression": { "components": [ { "expression": { - "id": 2138, + "id": 1630, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40355:5:1", + "referencedDeclaration": 1624, + "src": "41507:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2139, + "id": 1631, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "40355:10:1", + "referencedDeclaration": 1417, + "src": "41507:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19806,90 +19806,90 @@ }, { "expression": { - "id": 2140, + "id": 1632, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40367:5:1", + "referencedDeclaration": 1624, + "src": "41519:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2141, + "id": 1633, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40367:12:1", + "referencedDeclaration": 1419, + "src": "41519:12:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2142, + "id": 1634, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40354:26:1", + "src": "41506:26:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", "typeString": "tuple(bytes32,bytes32)" } }, - "functionReturnParameters": 2121, - "id": 2143, + "functionReturnParameters": 1613, + "id": 1635, "nodeType": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ] }, "documentation": { - "id": 2111, + "id": 1603, "nodeType": "StructuredDocumentation", - "src": "39775:333:1", + "src": "40913:342:0", "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2145, + "id": 1637, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2116, + "id": 1608, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2113, + "id": 1605, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40126:15:1", + "scope": 1637, + "src": "41274:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2112, + "id": 1604, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40126:3:1", + "referencedDeclaration": 1428, + "src": "41274:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19897,12 +19897,12 @@ }, { "constant": false, - "id": 2115, + "id": 1607, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40143:13:1", + "scope": 1637, + "src": "41291:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19910,10 +19910,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2114, + "id": 1606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40143:7:1", + "src": "41291:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19922,20 +19922,20 @@ "visibility": "internal" } ], - "src": "40125:32:1" + "src": "41273:32:0" }, "returnParameters": { - "id": 2121, + "id": 1613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2118, + "id": 1610, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40180:7:1", + "scope": 1637, + "src": "41328:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19943,10 +19943,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2117, + "id": 1609, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40180:7:1", + "src": "41328:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19956,12 +19956,12 @@ }, { "constant": false, - "id": 2120, + "id": 1612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40189:7:1", + "scope": 1637, + "src": "41337:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19969,10 +19969,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2119, + "id": 1611, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40189:7:1", + "src": "41337:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19981,33 +19981,33 @@ "visibility": "internal" } ], - "src": "40179:18:1" + "src": "41327:18:0" }, - "scope": 2480, - "src": "40113:274:1", + "scope": 1972, + "src": "41261:279:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2182, + "id": 1674, "nodeType": "Block", - "src": "40613:220:1", + "src": "41772:224:0", "statements": [ { "assignments": [ - 2158 + 1650 ], "declarations": [ { "constant": false, - "id": 2158, + "id": 1650, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2182, - "src": "40623:16:1", + "scope": 1674, + "src": "41783:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20015,10 +20015,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2157, + "id": 1649, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40623:7:1", + "src": "41783:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20027,43 +20027,43 @@ "visibility": "internal" } ], - "id": 2163, + "id": 1655, "initialValue": { "baseExpression": { "expression": { - "id": 2159, + "id": 1651, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40642:3:1", + "referencedDeclaration": 1640, + "src": "41802:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2160, + "id": 1652, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "40642:12:1", + "referencedDeclaration": 1427, + "src": "41802:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2162, + "id": 1654, "indexExpression": { - "id": 2161, + "id": 1653, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2150, - "src": "40655:3:1", + "referencedDeclaration": 1642, + "src": "41815:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20074,14 +20074,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40642:17:1", + "src": "41802:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "condition": { @@ -20089,18 +20089,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2166, + "id": 1658, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2164, + "id": 1656, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40673:8:1", + "referencedDeclaration": 1650, + "src": "41834:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20110,42 +20110,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2165, + "id": 1657, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40685:1:1", + "src": "41846:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "40673:13:1", + "src": "41834:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2171, + "id": 1663, "nodeType": "IfStatement", - "src": "40669:36:1", + "src": "41830:36:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 2167, + "id": 1659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40696:5:1", + "src": "41857:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20154,14 +20154,14 @@ }, { "hexValue": "30", - "id": 2168, + "id": 1660, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40703:1:1", + "src": "41864:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -20169,23 +20169,23 @@ "value": "0" } ], - "id": 2169, + "id": 1661, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40695:10:1", + "src": "41856:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 2156, - "id": 2170, + "functionReturnParameters": 1648, + "id": 1662, "nodeType": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } }, { @@ -20193,14 +20193,14 @@ "components": [ { "hexValue": "74727565", - "id": 2172, + "id": 1664, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40759:4:1", + "src": "41921:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20211,49 +20211,49 @@ "expression": { "baseExpression": { "expression": { - "id": 2173, + "id": 1665, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40765:3:1", + "referencedDeclaration": 1640, + "src": "41927:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2174, + "id": 1666, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40765:12:1", + "referencedDeclaration": 1423, + "src": "41927:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2178, + "id": 1670, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2177, + "id": 1669, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2175, + "id": 1667, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40778:8:1", + "referencedDeclaration": 1650, + "src": "41940:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20263,21 +20263,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2176, + "id": 1668, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40789:1:1", + "src": "41951:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "40778:12:1", + "src": "41940:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20288,85 +20288,85 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40765:26:1", + "src": "41927:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2179, + "id": 1671, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40765:33:1", + "referencedDeclaration": 1419, + "src": "41927:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2180, + "id": 1672, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40758:41:1", + "src": "41920:41:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", "typeString": "tuple(bool,bytes32)" } }, - "functionReturnParameters": 2156, - "id": 2181, + "functionReturnParameters": 1648, + "id": 1673, "nodeType": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ] }, "documentation": { - "id": 2146, + "id": 1638, "nodeType": "StructuredDocumentation", - "src": "40393:131:1", + "src": "41548:134:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2183, + "id": 1675, "implemented": true, "kind": "function", "modifiers": [], "name": "_tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2151, + "id": 1643, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2148, + "id": 1640, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40546:15:1", + "scope": 1675, + "src": "41705:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2147, + "id": 1639, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40546:3:1", + "referencedDeclaration": 1428, + "src": "41705:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20374,12 +20374,12 @@ }, { "constant": false, - "id": 2150, + "id": 1642, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40563:11:1", + "scope": 1675, + "src": "41722:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20387,10 +20387,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2149, + "id": 1641, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40563:7:1", + "src": "41722:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20399,20 +20399,20 @@ "visibility": "internal" } ], - "src": "40545:30:1" + "src": "41704:30:0" }, "returnParameters": { - "id": 2156, + "id": 1648, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2153, + "id": 1645, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40598:4:1", + "scope": 1675, + "src": "41757:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20420,10 +20420,10 @@ "typeString": "bool" }, "typeName": { - "id": 2152, + "id": 1644, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "40598:4:1", + "src": "41757:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20433,12 +20433,12 @@ }, { "constant": false, - "id": 2155, + "id": 1647, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40604:7:1", + "scope": 1675, + "src": "41763:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20446,10 +20446,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2154, + "id": 1646, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40604:7:1", + "src": "41763:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20458,33 +20458,33 @@ "visibility": "internal" } ], - "src": "40597:15:1" + "src": "41756:15:0" }, - "scope": 2480, - "src": "40529:304:1", + "scope": 1972, + "src": "41688:308:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2215, + "id": 1707, "nodeType": "Block", - "src": "41060:232:1", + "src": "42232:236:0", "statements": [ { "assignments": [ - 2194 + 1686 ], "declarations": [ { "constant": false, - "id": 2194, + "id": 1686, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2215, - "src": "41070:16:1", + "scope": 1707, + "src": "42243:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20492,10 +20492,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2193, + "id": 1685, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41070:7:1", + "src": "42243:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20504,43 +20504,43 @@ "visibility": "internal" } ], - "id": 2199, + "id": 1691, "initialValue": { "baseExpression": { "expression": { - "id": 2195, + "id": 1687, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41089:3:1", + "referencedDeclaration": 1678, + "src": "42262:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2196, + "id": 1688, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41089:12:1", + "referencedDeclaration": 1427, + "src": "42262:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2198, + "id": 1690, "indexExpression": { - "id": 2197, + "id": 1689, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2188, - "src": "41102:3:1", + "referencedDeclaration": 1680, + "src": "42275:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20551,14 +20551,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41089:17:1", + "src": "42262:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "expression": { @@ -20568,18 +20568,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2203, + "id": 1695, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2201, + "id": 1693, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41124:8:1", + "referencedDeclaration": 1686, + "src": "42298:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20589,21 +20589,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2202, + "id": 1694, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41136:1:1", + "src": "42310:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41124:13:1", + "src": "42298:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20611,14 +20611,14 @@ }, { "hexValue": "456e756d657261626c654d61703a206e6f6e6578697374656e74206b6579", - "id": 2204, + "id": 1696, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "41139:32:1", + "src": "42313:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_d3551e30d3095fd81287b88f7139bb09818e34280e85ee821994ebaebbed7072", "typeString": "literal_string \"EnumerableMap: nonexistent key\"" @@ -20637,7 +20637,7 @@ "typeString": "literal_string \"EnumerableMap: nonexistent key\"" } ], - "id": 2200, + "id": 1692, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -20645,13 +20645,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41116:7:1", + "src": "42290:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2205, + "id": 1697, "isConstant": false, "isLValue": false, "isPure": false, @@ -20659,65 +20659,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41116:56:1", + "src": "42290:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2206, + "id": 1698, "nodeType": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2207, + "id": 1699, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41225:3:1", + "referencedDeclaration": 1678, + "src": "42400:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2208, + "id": 1700, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41225:12:1", + "referencedDeclaration": 1423, + "src": "42400:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2212, + "id": 1704, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2211, + "id": 1703, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2209, + "id": 1701, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41238:8:1", + "referencedDeclaration": 1686, + "src": "42413:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20727,21 +20727,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2210, + "id": 1702, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41249:1:1", + "src": "42424:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41238:12:1", + "src": "42413:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20752,71 +20752,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41225:26:1", + "src": "42400:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2213, + "id": 1705, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41225:33:1", + "referencedDeclaration": 1419, + "src": "42400:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2192, - "id": 2214, + "functionReturnParameters": 1684, + "id": 1706, "nodeType": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ] }, "documentation": { - "id": 2184, + "id": 1676, "nodeType": "StructuredDocumentation", - "src": "40839:141:1", + "src": "42004:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2216, + "id": 1708, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2189, + "id": 1681, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2186, + "id": 1678, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "40999:15:1", + "scope": 1708, + "src": "42171:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2185, + "id": 1677, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40999:3:1", + "referencedDeclaration": 1428, + "src": "42171:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20824,12 +20824,12 @@ }, { "constant": false, - "id": 2188, + "id": 1680, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41016:11:1", + "scope": 1708, + "src": "42188:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20837,10 +20837,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2187, + "id": 1679, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41016:7:1", + "src": "42188:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20849,20 +20849,20 @@ "visibility": "internal" } ], - "src": "40998:30:1" + "src": "42170:30:0" }, "returnParameters": { - "id": 2192, + "id": 1684, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2191, + "id": 1683, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41051:7:1", + "scope": 1708, + "src": "42223:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20870,10 +20870,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2190, + "id": 1682, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41051:7:1", + "src": "42223:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20882,33 +20882,33 @@ "visibility": "internal" } ], - "src": "41050:9:1" + "src": "42222:9:0" }, - "scope": 2480, - "src": "40985:307:1", + "scope": 1972, + "src": "42157:311:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2250, + "id": 1742, "nodeType": "Block", - "src": "41677:212:1", + "src": "42861:216:0", "statements": [ { "assignments": [ - 2229 + 1721 ], "declarations": [ { "constant": false, - "id": 2229, + "id": 1721, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2250, - "src": "41687:16:1", + "scope": 1742, + "src": "42872:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20916,10 +20916,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2228, + "id": 1720, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41687:7:1", + "src": "42872:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20928,43 +20928,43 @@ "visibility": "internal" } ], - "id": 2234, + "id": 1726, "initialValue": { "baseExpression": { "expression": { - "id": 2230, + "id": 1722, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41706:3:1", + "referencedDeclaration": 1711, + "src": "42891:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2231, + "id": 1723, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41706:12:1", + "referencedDeclaration": 1427, + "src": "42891:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2233, + "id": 1725, "indexExpression": { - "id": 2232, + "id": 1724, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2221, - "src": "41719:3:1", + "referencedDeclaration": 1713, + "src": "42904:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20975,14 +20975,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41706:17:1", + "src": "42891:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "expression": { @@ -20992,18 +20992,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2238, + "id": 1730, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2236, + "id": 1728, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41741:8:1", + "referencedDeclaration": 1721, + "src": "42927:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21013,33 +21013,33 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2237, + "id": 1729, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41753:1:1", + "src": "42939:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41741:13:1", + "src": "42927:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 2239, + "id": 1731, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2223, - "src": "41756:12:1", + "referencedDeclaration": 1715, + "src": "42942:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -21057,7 +21057,7 @@ "typeString": "string memory" } ], - "id": 2235, + "id": 1727, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -21065,13 +21065,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41733:7:1", + "src": "42919:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2240, + "id": 1732, "isConstant": false, "isLValue": false, "isPure": false, @@ -21079,65 +21079,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41733:36:1", + "src": "42919:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2241, + "id": 1733, "nodeType": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2242, + "id": 1734, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41822:3:1", + "referencedDeclaration": 1711, + "src": "43009:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2243, + "id": 1735, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41822:12:1", + "referencedDeclaration": 1423, + "src": "43009:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2247, + "id": 1739, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2246, + "id": 1738, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2244, + "id": 1736, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41835:8:1", + "referencedDeclaration": 1721, + "src": "43022:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21147,21 +21147,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2245, + "id": 1737, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41846:1:1", + "src": "43033:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41835:12:1", + "src": "43022:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21172,71 +21172,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41822:26:1", + "src": "43009:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2248, + "id": 1740, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41822:33:1", + "referencedDeclaration": 1419, + "src": "43009:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2227, - "id": 2249, + "functionReturnParameters": 1719, + "id": 1741, "nodeType": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ] }, "documentation": { - "id": 2217, + "id": 1709, "nodeType": "StructuredDocumentation", - "src": "41298:271:1", + "src": "42476:276:0", "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2251, + "id": 1743, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2224, + "id": 1716, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2219, + "id": 1711, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41588:15:1", + "scope": 1743, + "src": "42772:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2218, + "id": 1710, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41588:3:1", + "referencedDeclaration": 1428, + "src": "42772:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21244,12 +21244,12 @@ }, { "constant": false, - "id": 2221, + "id": 1713, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41605:11:1", + "scope": 1743, + "src": "42789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21257,10 +21257,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2220, + "id": 1712, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41605:7:1", + "src": "42789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21270,12 +21270,12 @@ }, { "constant": false, - "id": 2223, + "id": 1715, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41618:26:1", + "scope": 1743, + "src": "42802:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -21283,10 +21283,10 @@ "typeString": "string" }, "typeName": { - "id": 2222, + "id": 1714, "name": "string", "nodeType": "ElementaryTypeName", - "src": "41618:6:1", + "src": "42802:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -21295,20 +21295,20 @@ "visibility": "internal" } ], - "src": "41587:58:1" + "src": "42771:58:0" }, "returnParameters": { - "id": 2227, + "id": 1719, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2226, + "id": 1718, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41668:7:1", + "scope": 1743, + "src": "42852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21316,10 +21316,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2225, + "id": 1717, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41668:7:1", + "src": "42852:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21328,40 +21328,40 @@ "visibility": "internal" } ], - "src": "41667:9:1" + "src": "42851:9:0" }, - "scope": 2480, - "src": "41574:315:1", + "scope": 1972, + "src": "42758:319:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableMap.UintToAddressMap", - "id": 2254, + "id": 1746, "members": [ { "constant": false, - "id": 2253, + "id": 1745, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 2254, - "src": "41954:10:1", + "scope": 1746, + "src": "43147:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2252, + "id": 1744, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41954:3:1", + "referencedDeclaration": 1428, + "src": "43147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21370,55 +21370,55 @@ ], "name": "UintToAddressMap", "nodeType": "StructDefinition", - "scope": 2480, - "src": "41920:51:1", + "scope": 1972, + "src": "43112:53:0", "visibility": "public" }, { "body": { - "id": 2285, + "id": 1777, "nodeType": "Block", - "src": "42293:88:1", + "src": "43496:90:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2267, + "id": 1759, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2257, - "src": "42315:3:1", + "referencedDeclaration": 1749, + "src": "43519:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2268, + "id": 1760, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42315:10:1", + "referencedDeclaration": 1745, + "src": "43519:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2271, + "id": 1763, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2259, - "src": "42335:3:1", + "referencedDeclaration": 1751, + "src": "43539:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21432,26 +21432,26 @@ "typeString": "uint256" } ], - "id": 2270, + "id": 1762, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2269, + "id": 1761, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": {} } }, - "id": 2272, + "id": 1764, "isConstant": false, "isLValue": false, "isPure": false, @@ -21459,7 +21459,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42327:12:1", + "src": "43531:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21473,12 +21473,12 @@ { "arguments": [ { - "id": 2279, + "id": 1771, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2261, - "src": "42365:5:1", + "referencedDeclaration": 1753, + "src": "43569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21492,26 +21492,26 @@ "typeString": "address" } ], - "id": 2278, + "id": 1770, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2277, + "id": 1769, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": {} } }, - "id": 2280, + "id": 1772, "isConstant": false, "isLValue": false, "isPure": false, @@ -21519,7 +21519,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42357:14:1", + "src": "43561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -21534,26 +21534,26 @@ "typeString": "uint160" } ], - "id": 2276, + "id": 1768, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2275, + "id": 1767, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": {} } }, - "id": 2281, + "id": 1773, "isConstant": false, "isLValue": false, "isPure": false, @@ -21561,7 +21561,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42349:23:1", + "src": "43553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -21576,26 +21576,26 @@ "typeString": "uint256" } ], - "id": 2274, + "id": 1766, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2273, + "id": 1765, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": {} } }, - "id": 2282, + "id": 1774, "isConstant": false, "isLValue": false, "isPure": false, @@ -21603,7 +21603,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42341:32:1", + "src": "43545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21614,7 +21614,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -21626,18 +21626,18 @@ "typeString": "bytes32" } ], - "id": 2266, + "id": 1758, "name": "_set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1998, - "src": "42310:4:1", + "referencedDeclaration": 1490, + "src": "43514:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)" } }, - "id": 2283, + "id": 1775, "isConstant": false, "isLValue": false, "isPure": false, @@ -21645,58 +21645,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42310:64:1", + "src": "43514:64:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2265, - "id": 2284, + "functionReturnParameters": 1757, + "id": 1776, "nodeType": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ] }, "documentation": { - "id": 2255, + "id": 1747, "nodeType": "StructuredDocumentation", - "src": "41977:216:1", + "src": "43173:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2286, + "id": 1778, "implemented": true, "kind": "function", "modifiers": [], "name": "set", "nodeType": "FunctionDefinition", "parameters": { - "id": 2262, + "id": 1754, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2257, + "id": 1749, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42211:28:1", + "scope": 1778, + "src": "43414:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2256, + "id": 1748, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42211:16:1", + "referencedDeclaration": 1746, + "src": "43414:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -21704,12 +21704,12 @@ }, { "constant": false, - "id": 2259, + "id": 1751, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42241:11:1", + "scope": 1778, + "src": "43444:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21717,10 +21717,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2258, + "id": 1750, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42241:7:1", + "src": "43444:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21730,12 +21730,12 @@ }, { "constant": false, - "id": 2261, + "id": 1753, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42254:13:1", + "scope": 1778, + "src": "43457:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21743,10 +21743,10 @@ "typeString": "address" }, "typeName": { - "id": 2260, + "id": 1752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "42254:7:1", + "src": "43457:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -21756,20 +21756,20 @@ "visibility": "internal" } ], - "src": "42210:58:1" + "src": "43413:58:0" }, "returnParameters": { - "id": 2265, + "id": 1757, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2264, + "id": 1756, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42287:4:1", + "scope": 1778, + "src": "43490:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21777,10 +21777,10 @@ "typeString": "bool" }, "typeName": { - "id": 2263, + "id": 1755, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42287:4:1", + "src": "43490:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -21789,59 +21789,59 @@ "visibility": "internal" } ], - "src": "42286:6:1" + "src": "43489:6:0" }, - "scope": 2480, - "src": "42198:183:1", + "scope": 1972, + "src": "43401:185:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2305, + "id": 1797, "nodeType": "Block", - "src": "42623:57:1", + "src": "43835:59:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2297, + "id": 1789, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2289, - "src": "42648:3:1", + "referencedDeclaration": 1781, + "src": "43861:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2298, + "id": 1790, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42648:10:1", + "referencedDeclaration": 1745, + "src": "43861:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2301, + "id": 1793, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2291, - "src": "42668:3:1", + "referencedDeclaration": 1783, + "src": "43881:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21855,26 +21855,26 @@ "typeString": "uint256" } ], - "id": 2300, + "id": 1792, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2299, + "id": 1791, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": {} } }, - "id": 2302, + "id": 1794, "isConstant": false, "isLValue": false, "isPure": false, @@ -21882,7 +21882,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42660:12:1", + "src": "43873:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21893,7 +21893,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -21901,18 +21901,18 @@ "typeString": "bytes32" } ], - "id": 2296, + "id": 1788, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2079, - "src": "42640:7:1", + "referencedDeclaration": 1571, + "src": "43853:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)" } }, - "id": 2303, + "id": 1795, "isConstant": false, "isLValue": false, "isPure": false, @@ -21920,58 +21920,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42640:33:1", + "src": "43853:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2295, - "id": 2304, + "functionReturnParameters": 1787, + "id": 1796, "nodeType": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ] }, "documentation": { - "id": 2287, + "id": 1779, "nodeType": "StructuredDocumentation", - "src": "42387:148:1", + "src": "43594:152:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2306, + "id": 1798, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2292, + "id": 1784, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2289, + "id": 1781, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42556:28:1", + "scope": 1798, + "src": "43768:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2288, + "id": 1780, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42556:16:1", + "referencedDeclaration": 1746, + "src": "43768:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -21979,12 +21979,12 @@ }, { "constant": false, - "id": 2291, + "id": 1783, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42586:11:1", + "scope": 1798, + "src": "43798:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21992,10 +21992,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2290, + "id": 1782, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42586:7:1", + "src": "43798:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22004,20 +22004,20 @@ "visibility": "internal" } ], - "src": "42555:43:1" + "src": "43767:43:0" }, "returnParameters": { - "id": 2295, + "id": 1787, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2294, + "id": 1786, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42617:4:1", + "scope": 1798, + "src": "43829:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22025,10 +22025,10 @@ "typeString": "bool" }, "typeName": { - "id": 2293, + "id": 1785, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42617:4:1", + "src": "43829:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22037,59 +22037,59 @@ "visibility": "internal" } ], - "src": "42616:6:1" + "src": "43828:6:0" }, - "scope": 2480, - "src": "42540:140:1", + "scope": 1972, + "src": "43752:142:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2325, + "id": 1817, "nodeType": "Block", - "src": "42849:59:1", + "src": "44068:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2317, + "id": 1809, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2309, - "src": "42876:3:1", + "referencedDeclaration": 1801, + "src": "44096:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2318, + "id": 1810, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42876:10:1", + "referencedDeclaration": 1745, + "src": "44096:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2321, + "id": 1813, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2311, - "src": "42896:3:1", + "referencedDeclaration": 1803, + "src": "44116:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22103,26 +22103,26 @@ "typeString": "uint256" } ], - "id": 2320, + "id": 1812, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2319, + "id": 1811, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": {} } }, - "id": 2322, + "id": 1814, "isConstant": false, "isLValue": false, "isPure": false, @@ -22130,7 +22130,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42888:12:1", + "src": "44108:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -22141,7 +22141,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22149,18 +22149,18 @@ "typeString": "bytes32" } ], - "id": 2316, + "id": 1808, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2097, - "src": "42866:9:1", + "referencedDeclaration": 1589, + "src": "44086:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)" } }, - "id": 2323, + "id": 1815, "isConstant": false, "isLValue": false, "isPure": false, @@ -22168,58 +22168,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42866:35:1", + "src": "44086:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2315, - "id": 2324, + "functionReturnParameters": 1807, + "id": 1816, "nodeType": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ] }, "documentation": { - "id": 2307, + "id": 1799, "nodeType": "StructuredDocumentation", - "src": "42686:68:1", + "src": "43902:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2326, + "id": 1818, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2312, + "id": 1804, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2309, + "id": 1801, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42777:28:1", + "scope": 1818, + "src": "43996:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2308, + "id": 1800, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42777:16:1", + "referencedDeclaration": 1746, + "src": "43996:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22227,12 +22227,12 @@ }, { "constant": false, - "id": 2311, + "id": 1803, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42807:11:1", + "scope": 1818, + "src": "44026:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22240,10 +22240,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2310, + "id": 1802, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42807:7:1", + "src": "44026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22252,20 +22252,20 @@ "visibility": "internal" } ], - "src": "42776:43:1" + "src": "43995:43:0" }, "returnParameters": { - "id": 2315, + "id": 1807, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2314, + "id": 1806, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42843:4:1", + "scope": 1818, + "src": "44062:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22273,10 +22273,10 @@ "typeString": "bool" }, "typeName": { - "id": 2313, + "id": 1805, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42843:4:1", + "src": "44062:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22285,47 +22285,47 @@ "visibility": "internal" } ], - "src": "42842:6:1" + "src": "44061:6:0" }, - "scope": 2480, - "src": "42759:149:1", + "scope": 1972, + "src": "43978:151:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2339, + "id": 1831, "nodeType": "Block", - "src": "43069:43:1", + "src": "44295:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2335, + "id": 1827, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2329, - "src": "43094:3:1", + "referencedDeclaration": 1821, + "src": "44321:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2336, + "id": 1828, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43094:10:1", + "referencedDeclaration": 1745, + "src": "44321:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } } @@ -22333,22 +22333,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], - "id": 2334, + "id": 1826, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2110, - "src": "43086:7:1", + "referencedDeclaration": 1602, + "src": "44313:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)" } }, - "id": 2337, + "id": 1829, "isConstant": false, "isLValue": false, "isPure": false, @@ -22356,78 +22356,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43086:19:1", + "src": "44313:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2333, - "id": 2338, + "functionReturnParameters": 1825, + "id": 1830, "nodeType": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ] }, "documentation": { - "id": 2327, + "id": 1819, "nodeType": "StructuredDocumentation", - "src": "42914:72:1", + "src": "44137:74:0", "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2340, + "id": 1832, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2330, + "id": 1822, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2329, + "id": 1821, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43007:28:1", + "scope": 1832, + "src": "44233:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2328, + "id": 1820, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43007:16:1", + "referencedDeclaration": 1746, + "src": "44233:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, "visibility": "internal" } ], - "src": "43006:30:1" + "src": "44232:30:0" }, "returnParameters": { - "id": 2333, + "id": 1825, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2332, + "id": 1824, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43060:7:1", + "scope": 1832, + "src": "44286:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22435,10 +22435,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2331, + "id": 1823, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43060:7:1", + "src": "44286:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22447,34 +22447,34 @@ "visibility": "internal" } ], - "src": "43059:9:1" + "src": "44285:9:0" }, - "scope": 2480, - "src": "42991:121:1", + "scope": 1972, + "src": "44217:123:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2378, + "id": 1870, "nodeType": "Block", - "src": "43538:135:1", + "src": "44777:138:0", "statements": [ { "assignments": [ - 2353, - 2355 + 1845, + 1847 ], "declarations": [ { "constant": false, - "id": 2353, + "id": 1845, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43549:11:1", + "scope": 1870, + "src": "44789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22482,10 +22482,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2352, + "id": 1844, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43549:7:1", + "src": "44789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22495,12 +22495,12 @@ }, { "constant": false, - "id": 2355, + "id": 1847, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43562:13:1", + "scope": 1870, + "src": "44802:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22508,10 +22508,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2354, + "id": 1846, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43562:7:1", + "src": "44802:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22520,43 +22520,43 @@ "visibility": "internal" } ], - "id": 2361, + "id": 1853, "initialValue": { "arguments": [ { "expression": { - "id": 2357, + "id": 1849, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2343, - "src": "43583:3:1", + "referencedDeclaration": 1835, + "src": "44823:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2358, + "id": 1850, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43583:10:1", + "referencedDeclaration": 1745, + "src": "44823:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { - "id": 2359, + "id": 1851, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2345, - "src": "43595:5:1", + "referencedDeclaration": 1837, + "src": "44835:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22566,7 +22566,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22574,18 +22574,18 @@ "typeString": "uint256" } ], - "id": 2356, + "id": 1848, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2145, - "src": "43579:3:1", + "referencedDeclaration": 1637, + "src": "44819:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)" } }, - "id": 2360, + "id": 1852, "isConstant": false, "isLValue": false, "isPure": false, @@ -22593,7 +22593,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43579:22:1", + "src": "44819:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", @@ -22601,7 +22601,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "expression": { @@ -22609,12 +22609,12 @@ { "arguments": [ { - "id": 2364, + "id": 1856, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2353, - "src": "43627:3:1", + "referencedDeclaration": 1845, + "src": "44868:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22628,26 +22628,26 @@ "typeString": "bytes32" } ], - "id": 2363, + "id": 1855, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2362, + "id": 1854, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": {} } }, - "id": 2365, + "id": 1857, "isConstant": false, "isLValue": false, "isPure": false, @@ -22655,7 +22655,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43619:12:1", + "src": "44860:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -22669,12 +22669,12 @@ { "arguments": [ { - "id": 2372, + "id": 1864, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2355, - "src": "43657:5:1", + "referencedDeclaration": 1847, + "src": "44898:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22688,26 +22688,26 @@ "typeString": "bytes32" } ], - "id": 2371, + "id": 1863, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2370, + "id": 1862, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": {} } }, - "id": 2373, + "id": 1865, "isConstant": false, "isLValue": false, "isPure": false, @@ -22715,7 +22715,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43649:14:1", + "src": "44890:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -22730,26 +22730,26 @@ "typeString": "uint256" } ], - "id": 2369, + "id": 1861, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2368, + "id": 1860, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": {} } }, - "id": 2374, + "id": 1866, "isConstant": false, "isLValue": false, "isPure": false, @@ -22757,7 +22757,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43641:23:1", + "src": "44882:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -22772,26 +22772,26 @@ "typeString": "uint160" } ], - "id": 2367, + "id": 1859, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2366, + "id": 1858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": {} } }, - "id": 2375, + "id": 1867, "isConstant": false, "isLValue": false, "isPure": false, @@ -22799,7 +22799,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43633:32:1", + "src": "44874:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -22807,64 +22807,64 @@ } } ], - "id": 2376, + "id": 1868, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "43618:48:1", + "src": "44859:48:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_payable_$", "typeString": "tuple(uint256,address payable)" } }, - "functionReturnParameters": 2351, - "id": 2377, + "functionReturnParameters": 1843, + "id": 1869, "nodeType": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ] }, "documentation": { - "id": 2341, + "id": 1833, "nodeType": "StructuredDocumentation", - "src": "43117:318:1", + "src": "44347:326:0", "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2379, + "id": 1871, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2346, + "id": 1838, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2343, + "id": 1835, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43452:28:1", + "scope": 1871, + "src": "44691:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2342, + "id": 1834, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43452:16:1", + "referencedDeclaration": 1746, + "src": "44691:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22872,12 +22872,12 @@ }, { "constant": false, - "id": 2345, + "id": 1837, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43482:13:1", + "scope": 1871, + "src": "44721:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22885,10 +22885,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2344, + "id": 1836, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43482:7:1", + "src": "44721:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22897,20 +22897,20 @@ "visibility": "internal" } ], - "src": "43451:45:1" + "src": "44690:45:0" }, "returnParameters": { - "id": 2351, + "id": 1843, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2348, + "id": 1840, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43520:7:1", + "scope": 1871, + "src": "44759:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22918,10 +22918,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2347, + "id": 1839, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43520:7:1", + "src": "44759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22931,12 +22931,12 @@ }, { "constant": false, - "id": 2350, + "id": 1842, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43529:7:1", + "scope": 1871, + "src": "44768:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22944,10 +22944,10 @@ "typeString": "address" }, "typeName": { - "id": 2349, + "id": 1841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43529:7:1", + "src": "44768:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -22957,34 +22957,34 @@ "visibility": "internal" } ], - "src": "43519:18:1" + "src": "44758:18:0" }, - "scope": 2480, - "src": "43440:233:1", + "scope": 1972, + "src": "44679:236:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2417, + "id": 1909, "nodeType": "Block", - "src": "43950:142:1", + "src": "45200:145:0", "statements": [ { "assignments": [ - 2392, - 2394 + 1884, + 1886 ], "declarations": [ { "constant": false, - "id": 2392, + "id": 1884, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43961:12:1", + "scope": 1909, + "src": "45212:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22992,10 +22992,10 @@ "typeString": "bool" }, "typeName": { - "id": 2391, + "id": 1883, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43961:4:1", + "src": "45212:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23005,12 +23005,12 @@ }, { "constant": false, - "id": 2394, + "id": 1886, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43975:13:1", + "scope": 1909, + "src": "45226:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23018,10 +23018,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2393, + "id": 1885, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43975:7:1", + "src": "45226:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23030,45 +23030,45 @@ "visibility": "internal" } ], - "id": 2403, + "id": 1895, "initialValue": { "arguments": [ { "expression": { - "id": 2396, + "id": 1888, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2382, - "src": "44000:3:1", + "referencedDeclaration": 1874, + "src": "45251:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2397, + "id": 1889, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44000:10:1", + "referencedDeclaration": 1745, + "src": "45251:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2400, + "id": 1892, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2384, - "src": "44020:3:1", + "referencedDeclaration": 1876, + "src": "45271:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23082,26 +23082,26 @@ "typeString": "uint256" } ], - "id": 2399, + "id": 1891, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2398, + "id": 1890, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": {} } }, - "id": 2401, + "id": 1893, "isConstant": false, "isLValue": false, "isPure": false, @@ -23109,7 +23109,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44012:12:1", + "src": "45263:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23120,7 +23120,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23128,18 +23128,18 @@ "typeString": "bytes32" } ], - "id": 2395, + "id": 1887, "name": "_tryGet", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2183, - "src": "43992:7:1", + "referencedDeclaration": 1675, + "src": "45243:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)" } }, - "id": 2402, + "id": 1894, "isConstant": false, "isLValue": false, "isPure": false, @@ -23147,7 +23147,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43992:33:1", + "src": "45243:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", @@ -23155,18 +23155,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "expression": { "components": [ { - "id": 2404, + "id": 1896, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2392, - "src": "44043:7:1", + "referencedDeclaration": 1884, + "src": "45295:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23179,12 +23179,12 @@ { "arguments": [ { - "id": 2411, + "id": 1903, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2394, - "src": "44076:5:1", + "referencedDeclaration": 1886, + "src": "45328:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23198,26 +23198,26 @@ "typeString": "bytes32" } ], - "id": 2410, + "id": 1902, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2409, + "id": 1901, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": {} } }, - "id": 2412, + "id": 1904, "isConstant": false, "isLValue": false, "isPure": false, @@ -23225,7 +23225,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44068:14:1", + "src": "45320:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23240,26 +23240,26 @@ "typeString": "uint256" } ], - "id": 2408, + "id": 1900, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2407, + "id": 1899, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": {} } }, - "id": 2413, + "id": 1905, "isConstant": false, "isLValue": false, "isPure": false, @@ -23267,7 +23267,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44060:23:1", + "src": "45312:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23282,26 +23282,26 @@ "typeString": "uint160" } ], - "id": 2406, + "id": 1898, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2405, + "id": 1897, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": {} } }, - "id": 2414, + "id": 1906, "isConstant": false, "isLValue": false, "isPure": false, @@ -23309,7 +23309,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44052:32:1", + "src": "45304:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -23317,64 +23317,64 @@ } } ], - "id": 2415, + "id": 1907, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "44042:43:1", + "src": "45294:43:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_address_payable_$", "typeString": "tuple(bool,address payable)" } }, - "functionReturnParameters": 2390, - "id": 2416, + "functionReturnParameters": 1882, + "id": 1908, "nodeType": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ] }, "documentation": { - "id": 2380, + "id": 1872, "nodeType": "StructuredDocumentation", - "src": "43679:169:1", + "src": "44923:174:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2418, + "id": 1910, "implemented": true, "kind": "function", "modifiers": [], "name": "tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2385, + "id": 1877, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2382, + "id": 1874, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43869:28:1", + "scope": 1910, + "src": "45119:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2381, + "id": 1873, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43869:16:1", + "referencedDeclaration": 1746, + "src": "45119:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23382,12 +23382,12 @@ }, { "constant": false, - "id": 2384, + "id": 1876, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43899:11:1", + "scope": 1910, + "src": "45149:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23395,10 +23395,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2383, + "id": 1875, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43899:7:1", + "src": "45149:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23407,20 +23407,20 @@ "visibility": "internal" } ], - "src": "43868:43:1" + "src": "45118:43:0" }, "returnParameters": { - "id": 2390, + "id": 1882, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2387, + "id": 1879, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43935:4:1", + "scope": 1910, + "src": "45185:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23428,10 +23428,10 @@ "typeString": "bool" }, "typeName": { - "id": 2386, + "id": 1878, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43935:4:1", + "src": "45185:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23441,12 +23441,12 @@ }, { "constant": false, - "id": 2389, + "id": 1881, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43941:7:1", + "scope": 1910, + "src": "45191:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23454,10 +23454,10 @@ "typeString": "address" }, "typeName": { - "id": 2388, + "id": 1880, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43941:7:1", + "src": "45191:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23467,19 +23467,19 @@ "visibility": "internal" } ], - "src": "43934:15:1" + "src": "45184:15:0" }, - "scope": 2480, - "src": "43853:239:1", + "scope": 1972, + "src": "45103:242:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2446, + "id": 1938, "nodeType": "Block", - "src": "44332:81:1", + "src": "45594:83:0", "statements": [ { "expression": { @@ -23492,40 +23492,40 @@ "arguments": [ { "expression": { - "id": 2435, + "id": 1927, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2421, - "src": "44378:3:1", + "referencedDeclaration": 1913, + "src": "45641:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2436, + "id": 1928, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44378:10:1", + "referencedDeclaration": 1745, + "src": "45641:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2439, + "id": 1931, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2423, - "src": "44398:3:1", + "referencedDeclaration": 1915, + "src": "45661:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23539,26 +23539,26 @@ "typeString": "uint256" } ], - "id": 2438, + "id": 1930, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2437, + "id": 1929, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": {} } }, - "id": 2440, + "id": 1932, "isConstant": false, "isLValue": false, "isPure": false, @@ -23566,7 +23566,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44390:12:1", + "src": "45653:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23577,7 +23577,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23585,21 +23585,21 @@ "typeString": "bytes32" } ], - "id": 2434, + "id": 1926, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, - "src": "44373:4:1", + "referencedDeclaration": 1708, + "src": "45636:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)" } }, - "id": 2441, + "id": 1933, "isConstant": false, "isLValue": false, "isPure": false, @@ -23607,7 +23607,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44373:30:1", + "src": "45636:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23622,26 +23622,26 @@ "typeString": "bytes32" } ], - "id": 2433, + "id": 1925, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2432, + "id": 1924, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": {} } }, - "id": 2442, + "id": 1934, "isConstant": false, "isLValue": false, "isPure": false, @@ -23649,7 +23649,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44365:39:1", + "src": "45628:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23664,26 +23664,26 @@ "typeString": "uint256" } ], - "id": 2431, + "id": 1923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2430, + "id": 1922, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": {} } }, - "id": 2443, + "id": 1935, "isConstant": false, "isLValue": false, "isPure": false, @@ -23691,7 +23691,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44357:48:1", + "src": "45620:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23706,26 +23706,26 @@ "typeString": "uint160" } ], - "id": 2429, + "id": 1921, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2428, + "id": 1920, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": {} } }, - "id": 2444, + "id": 1936, "isConstant": false, "isLValue": false, "isPure": false, @@ -23733,58 +23733,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44349:57:1", + "src": "45612:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2427, - "id": 2445, + "functionReturnParameters": 1919, + "id": 1937, "nodeType": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ] }, "documentation": { - "id": 2419, + "id": 1911, "nodeType": "StructuredDocumentation", - "src": "44098:141:1", + "src": "45353:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2447, + "id": 1939, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2424, + "id": 1916, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2421, + "id": 1913, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44257:28:1", + "scope": 1939, + "src": "45519:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2420, + "id": 1912, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44257:16:1", + "referencedDeclaration": 1746, + "src": "45519:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23792,12 +23792,12 @@ }, { "constant": false, - "id": 2423, + "id": 1915, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44287:11:1", + "scope": 1939, + "src": "45549:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23805,10 +23805,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2422, + "id": 1914, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44287:7:1", + "src": "45549:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23817,20 +23817,20 @@ "visibility": "internal" } ], - "src": "44256:43:1" + "src": "45518:43:0" }, "returnParameters": { - "id": 2427, + "id": 1919, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2426, + "id": 1918, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44323:7:1", + "scope": 1939, + "src": "45585:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23838,10 +23838,10 @@ "typeString": "address" }, "typeName": { - "id": 2425, + "id": 1917, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44323:7:1", + "src": "45585:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23851,19 +23851,19 @@ "visibility": "internal" } ], - "src": "44322:9:1" + "src": "45584:9:0" }, - "scope": 2480, - "src": "44244:169:1", + "scope": 1972, + "src": "45506:171:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2478, + "id": 1970, "nodeType": "Block", - "src": "44809:95:1", + "src": "46081:97:0", "statements": [ { "expression": { @@ -23876,40 +23876,40 @@ "arguments": [ { "expression": { - "id": 2466, + "id": 1958, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2450, - "src": "44855:3:1", + "referencedDeclaration": 1942, + "src": "46128:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2467, + "id": 1959, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44855:10:1", + "referencedDeclaration": 1745, + "src": "46128:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2470, + "id": 1962, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2452, - "src": "44875:3:1", + "referencedDeclaration": 1944, + "src": "46148:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23923,26 +23923,26 @@ "typeString": "uint256" } ], - "id": 2469, + "id": 1961, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2468, + "id": 1960, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": {} } }, - "id": 2471, + "id": 1963, "isConstant": false, "isLValue": false, "isPure": false, @@ -23950,7 +23950,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44867:12:1", + "src": "46140:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23958,12 +23958,12 @@ } }, { - "id": 2472, + "id": 1964, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2454, - "src": "44881:12:1", + "referencedDeclaration": 1946, + "src": "46154:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -23973,7 +23973,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23985,21 +23985,21 @@ "typeString": "string memory" } ], - "id": 2465, + "id": 1957, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, - "src": "44850:4:1", + "referencedDeclaration": 1743, + "src": "46123:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)" } }, - "id": 2473, + "id": 1965, "isConstant": false, "isLValue": false, "isPure": false, @@ -24007,7 +24007,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44850:44:1", + "src": "46123:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -24022,26 +24022,26 @@ "typeString": "bytes32" } ], - "id": 2464, + "id": 1956, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2463, + "id": 1955, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": {} } }, - "id": 2474, + "id": 1966, "isConstant": false, "isLValue": false, "isPure": false, @@ -24049,7 +24049,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44842:53:1", + "src": "46115:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -24064,26 +24064,26 @@ "typeString": "uint256" } ], - "id": 2462, + "id": 1954, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2461, + "id": 1953, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": {} } }, - "id": 2475, + "id": 1967, "isConstant": false, "isLValue": false, "isPure": false, @@ -24091,7 +24091,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44834:62:1", + "src": "46107:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -24106,26 +24106,26 @@ "typeString": "uint160" } ], - "id": 2460, + "id": 1952, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2459, + "id": 1951, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": {} } }, - "id": 2476, + "id": 1968, "isConstant": false, "isLValue": false, "isPure": false, @@ -24133,58 +24133,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44826:71:1", + "src": "46099:71:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2458, - "id": 2477, + "functionReturnParameters": 1950, + "id": 1969, "nodeType": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ] }, "documentation": { - "id": 2448, + "id": 1940, "nodeType": "StructuredDocumentation", - "src": "44419:269:1", + "src": "45685:274:0", "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2479, + "id": 1971, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2455, + "id": 1947, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2450, + "id": 1942, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44706:28:1", + "scope": 1971, + "src": "45978:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2449, + "id": 1941, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44706:16:1", + "referencedDeclaration": 1746, + "src": "45978:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -24192,12 +24192,12 @@ }, { "constant": false, - "id": 2452, + "id": 1944, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44736:11:1", + "scope": 1971, + "src": "46008:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24205,10 +24205,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2451, + "id": 1943, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44736:7:1", + "src": "46008:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24218,12 +24218,12 @@ }, { "constant": false, - "id": 2454, + "id": 1946, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44749:26:1", + "scope": 1971, + "src": "46021:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24231,10 +24231,10 @@ "typeString": "string" }, "typeName": { - "id": 2453, + "id": 1945, "name": "string", "nodeType": "ElementaryTypeName", - "src": "44749:6:1", + "src": "46021:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -24243,20 +24243,20 @@ "visibility": "internal" } ], - "src": "44705:71:1" + "src": "45977:71:0" }, "returnParameters": { - "id": 2458, + "id": 1950, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2457, + "id": 1949, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44800:7:1", + "scope": 1971, + "src": "46072:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24264,10 +24264,10 @@ "typeString": "address" }, "typeName": { - "id": 2456, + "id": 1948, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44800:7:1", + "src": "46072:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -24277,20 +24277,20 @@ "visibility": "internal" } ], - "src": "44799:9:1" + "src": "46071:9:0" }, - "scope": 2480, - "src": "44693:211:1", + "scope": 1972, + "src": "45965:213:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "35943:8963:1" + "scope": 2991, + "src": "36981:9200:0" }, { - "id": 2481, + "id": 1973, "literals": [ "solidity", ">=", @@ -24301,7 +24301,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "abstract": false, @@ -24309,24 +24309,24 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 2482, + "id": 1974, "nodeType": "StructuredDocumentation", - "src": "44992:34:1", + "src": "46272:36:0", "text": " @dev String operations." }, "fullyImplemented": true, - "id": 2566, + "id": 2058, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 2564, + "id": 2056, "nodeType": "Block", - "src": "45207:654:1", + "src": "46494:675:0", "statements": [ { "condition": { @@ -24334,18 +24334,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2492, + "id": 1984, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2490, + "id": 1982, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45409:5:1", + "referencedDeclaration": 1977, + "src": "46700:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24355,72 +24355,72 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2491, + "id": 1983, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45418:1:1", + "src": "46709:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45409:10:1", + "src": "46700:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2496, + "id": 1988, "nodeType": "IfStatement", - "src": "45405:51:1", + "src": "46696:53:0", "trueBody": { - "id": 2495, + "id": 1987, "nodeType": "Block", - "src": "45421:35:1", + "src": "46712:37:0", "statements": [ { "expression": { "hexValue": "30", - "id": 2493, + "id": 1985, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "45442:3:1", + "src": "46734:3:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", "typeString": "literal_string \"0\"" }, "value": "0" }, - "functionReturnParameters": 2489, - "id": 2494, + "functionReturnParameters": 1981, + "id": 1986, "nodeType": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ] } }, { "assignments": [ - 2498 + 1990 ], "declarations": [ { "constant": false, - "id": 2498, + "id": 1990, "mutability": "mutable", "name": "temp", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45465:12:1", + "scope": 2056, + "src": "46759:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24428,10 +24428,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2497, + "id": 1989, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45465:7:1", + "src": "46759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24440,35 +24440,35 @@ "visibility": "internal" } ], - "id": 2500, + "id": 1992, "initialValue": { - "id": 2499, + "id": 1991, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45480:5:1", + "referencedDeclaration": 1977, + "src": "46774:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "assignments": [ - 2502 + 1994 ], "declarations": [ { "constant": false, - "id": 2502, + "id": 1994, "mutability": "mutable", "name": "digits", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45495:14:1", + "scope": 2056, + "src": "46790:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24476,10 +24476,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2501, + "id": 1993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45495:7:1", + "src": "46790:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24488,19 +24488,19 @@ "visibility": "internal" } ], - "id": 2503, + "id": 1995, "nodeType": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "body": { - "id": 2514, + "id": 2006, "nodeType": "Block", - "src": "45537:57:1", + "src": "46833:60:0", "statements": [ { "expression": { - "id": 2508, + "id": 2000, "isConstant": false, "isLValue": false, "isPure": false, @@ -24508,14 +24508,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "45551:8:1", + "src": "46848:8:0", "subExpression": { - "id": 2507, + "id": 1999, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45551:6:1", + "referencedDeclaration": 1994, + "src": "46848:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24526,24 +24526,24 @@ "typeString": "uint256" } }, - "id": 2509, + "id": 2001, "nodeType": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "expression": { - "id": 2512, + "id": 2004, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2510, + "id": 2002, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45573:4:1", + "referencedDeclaration": 1990, + "src": "46871:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24553,29 +24553,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2511, + "id": 2003, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45581:2:1", + "src": "46879:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45573:10:1", + "src": "46871:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2513, + "id": 2005, "nodeType": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ] }, @@ -24584,18 +24584,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2506, + "id": 1998, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2504, + "id": 1996, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45526:4:1", + "referencedDeclaration": 1990, + "src": "46822:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24605,43 +24605,43 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2505, + "id": 1997, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45534:1:1", + "src": "46830:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45526:9:1", + "src": "46822:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2515, + "id": 2007, "nodeType": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "assignments": [ - 2517 + 2009 ], "declarations": [ { "constant": false, - "id": 2517, + "id": 2009, "mutability": "mutable", "name": "buffer", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45603:19:1", + "scope": 2056, + "src": "46903:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24649,10 +24649,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2516, + "id": 2008, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45603:5:1", + "src": "46903:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -24661,16 +24661,16 @@ "visibility": "internal" } ], - "id": 2522, + "id": 2014, "initialValue": { "arguments": [ { - "id": 2520, + "id": 2012, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45635:6:1", + "referencedDeclaration": 1994, + "src": "46935:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24684,29 +24684,29 @@ "typeString": "uint256" } ], - "id": 2519, + "id": 2011, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", - "src": "45625:9:1", + "src": "46925:9:0", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", "typeString": "function (uint256) pure returns (bytes memory)" }, "typeName": { - "id": 2518, + "id": 2010, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45629:5:1", + "src": "46929:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } } }, - "id": 2521, + "id": 2013, "isConstant": false, "isLValue": false, "isPure": false, @@ -24714,7 +24714,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45625:17:1", + "src": "46925:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -24722,21 +24722,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "assignments": [ - 2524 + 2016 ], "declarations": [ { "constant": false, - "id": 2524, + "id": 2016, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45652:13:1", + "scope": 2056, + "src": "46953:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24744,10 +24744,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2523, + "id": 2015, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45652:7:1", + "src": "46953:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24756,24 +24756,24 @@ "visibility": "internal" } ], - "id": 2528, + "id": 2020, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2527, + "id": 2019, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2525, + "id": 2017, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45668:6:1", + "referencedDeclaration": 1994, + "src": "46969:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24783,43 +24783,43 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2526, + "id": 2018, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45677:1:1", + "src": "46978:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "45668:10:1", + "src": "46969:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "expression": { - "id": 2531, + "id": 2023, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2529, + "id": 2021, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45688:4:1", + "referencedDeclaration": 1990, + "src": "46990:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24828,56 +24828,56 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2530, + "id": 2022, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45695:5:1", + "referencedDeclaration": 1977, + "src": "46997:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45688:12:1", + "src": "46990:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2532, + "id": 2024, "nodeType": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "body": { - "id": 2557, + "id": 2049, "nodeType": "Block", - "src": "45728:96:1", + "src": "47031:99:0", "statements": [ { "expression": { - "id": 2551, + "id": 2043, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2536, + "id": 2028, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45742:6:1", + "referencedDeclaration": 2009, + "src": "47046:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2539, + "id": 2031, "indexExpression": { - "id": 2538, + "id": 2030, "isConstant": false, "isLValue": false, "isPure": false, @@ -24885,14 +24885,14 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "45749:7:1", + "src": "47053:7:0", "subExpression": { - "id": 2537, + "id": 2029, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2524, - "src": "45749:5:1", + "referencedDeclaration": 2016, + "src": "47053:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24908,7 +24908,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "45742:15:1", + "src": "47046:15:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -24925,21 +24925,21 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2548, + "id": 2040, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "hexValue": "3438", - "id": 2544, + "id": 2036, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45773:2:1", + "src": "47077:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_48_by_1", "typeString": "int_const 48" @@ -24953,18 +24953,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2547, + "id": 2039, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2545, + "id": 2037, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45778:4:1", + "referencedDeclaration": 1990, + "src": "47082:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24974,27 +24974,27 @@ "operator": "%", "rightExpression": { "hexValue": "3130", - "id": 2546, + "id": 2038, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45785:2:1", + "src": "47089:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45778:9:1", + "src": "47082:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45773:14:1", + "src": "47077:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25008,26 +25008,26 @@ "typeString": "uint256" } ], - "id": 2543, + "id": 2035, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint8_$", "typeString": "type(uint8)" }, "typeName": { - "id": 2542, + "id": 2034, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": {} } }, - "id": 2549, + "id": 2041, "isConstant": false, "isLValue": false, "isPure": false, @@ -25035,7 +25035,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45767:21:1", + "src": "47071:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint8", @@ -25050,26 +25050,26 @@ "typeString": "uint8" } ], - "id": 2541, + "id": 2033, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": { - "id": 2540, + "id": 2032, "name": "bytes1", "nodeType": "ElementaryTypeName", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": {} } }, - "id": 2550, + "id": 2042, "isConstant": false, "isLValue": false, "isPure": false, @@ -25077,37 +25077,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45760:29:1", + "src": "47064:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "45742:47:1", + "src": "47046:47:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "id": 2552, + "id": 2044, "nodeType": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "expression": { - "id": 2555, + "id": 2047, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2553, + "id": 2045, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45803:4:1", + "referencedDeclaration": 1990, + "src": "47108:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25117,29 +25117,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2554, + "id": 2046, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45811:2:1", + "src": "47116:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45803:10:1", + "src": "47108:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2556, + "id": 2048, "nodeType": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ] }, @@ -25148,18 +25148,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2535, + "id": 2027, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2533, + "id": 2025, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45717:4:1", + "referencedDeclaration": 1990, + "src": "47020:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25169,40 +25169,40 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2534, + "id": 2026, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45725:1:1", + "src": "47028:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45717:9:1", + "src": "47020:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2558, + "id": 2050, "nodeType": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "expression": { "arguments": [ { - "id": 2561, + "id": 2053, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45847:6:1", + "referencedDeclaration": 2009, + "src": "47154:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -25216,26 +25216,26 @@ "typeString": "bytes memory" } ], - "id": 2560, + "id": 2052, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2559, + "id": 2051, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": {} } }, - "id": 2562, + "id": 2054, "isConstant": false, "isLValue": false, "isPure": false, @@ -25243,44 +25243,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45840:14:1", + "src": "47147:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2489, - "id": 2563, + "functionReturnParameters": 1981, + "id": 2055, "nodeType": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ] }, "documentation": { - "id": 2483, + "id": 1975, "nodeType": "StructuredDocumentation", - "src": "45049:82:1", + "src": "46333:84:0", "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2565, + "id": 2057, "implemented": true, "kind": "function", "modifiers": [], "name": "toString", "nodeType": "FunctionDefinition", "parameters": { - "id": 2486, + "id": 1978, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2485, + "id": 1977, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45154:13:1", + "scope": 2057, + "src": "46441:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25288,10 +25288,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2484, + "id": 1976, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45154:7:1", + "src": "46441:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25300,20 +25300,20 @@ "visibility": "internal" } ], - "src": "45153:15:1" + "src": "46440:15:0" }, "returnParameters": { - "id": 2489, + "id": 1981, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2488, + "id": 1980, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45192:13:1", + "scope": 2057, + "src": "46479:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -25321,10 +25321,10 @@ "typeString": "string" }, "typeName": { - "id": 2487, + "id": 1979, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45192:6:1", + "src": "46479:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25333,20 +25333,20 @@ "visibility": "internal" } ], - "src": "45191:15:1" + "src": "46478:15:0" }, - "scope": 2566, - "src": "45136:725:1", + "scope": 2058, + "src": "46423:746:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "45027:836:1" + "scope": 2991, + "src": "46310:862:0" }, { - "id": 2567, + "id": 2059, "literals": [ "solidity", ">=", @@ -25357,141 +25357,141 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 2569, + "id": 2061, "name": "Context", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 530, - "src": "46099:7:1", + "referencedDeclaration": 22, + "src": "47417:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 2570, + "id": 2062, "nodeType": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "baseName": { - "id": 2571, + "id": 2063, "name": "ERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 781, - "src": "46108:6:1", + "referencedDeclaration": 273, + "src": "47426:6:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC165_$781", + "typeIdentifier": "t_contract$_ERC165_$273", "typeString": "contract ERC165" } }, - "id": 2572, + "id": 2064, "nodeType": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "baseName": { - "id": 2573, + "id": 2065, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "46116:7:1", + "referencedDeclaration": 147, + "src": "47434:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 2574, + "id": 2066, "nodeType": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "baseName": { - "id": 2575, + "id": 2067, "name": "IERC721Metadata", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 680, - "src": "46125:15:1", + "referencedDeclaration": 172, + "src": "47443:15:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Metadata_$680", + "typeIdentifier": "t_contract$_IERC721Metadata_$172", "typeString": "contract IERC721Metadata" } }, - "id": 2576, + "id": 2068, "nodeType": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "baseName": { - "id": 2577, + "id": 2069, "name": "IERC721Enumerable", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 709, - "src": "46142:17:1", + "referencedDeclaration": 201, + "src": "47460:17:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Enumerable_$709", + "typeIdentifier": "t_contract$_IERC721Enumerable_$201", "typeString": "contract IERC721Enumerable" } }, - "id": 2578, + "id": 2070, "nodeType": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" } ], "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "documentation": { - "id": 2568, + "id": 2060, "nodeType": "StructuredDocumentation", - "src": "45955:124:1", + "src": "47269:127:0", "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": true, - "id": 3498, + "id": 2990, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", "nodeType": "ContractDefinition", "nodes": [ { - "id": 2581, + "id": 2073, "libraryName": { - "id": 2579, + "id": 2071, "name": "SafeMath", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1135, - "src": "46172:8:1", + "referencedDeclaration": 627, + "src": "47491:8:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$1135", + "typeIdentifier": "t_contract$_SafeMath_$627", "typeString": "library SafeMath" } }, "nodeType": "UsingForDirective", - "src": "46166:27:1", + "src": "47485:27:0", "typeName": { - "id": 2580, + "id": 2072, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46185:7:1", + "src": "47504:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25499,25 +25499,25 @@ } }, { - "id": 2584, + "id": 2076, "libraryName": { - "id": 2582, + "id": 2074, "name": "Address", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1430, - "src": "46204:7:1", + "referencedDeclaration": 922, + "src": "47524:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } }, "nodeType": "UsingForDirective", - "src": "46198:26:1", + "src": "47518:26:0", "typeName": { - "id": 2583, + "id": 2075, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46216:7:1", + "src": "47536:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25526,79 +25526,79 @@ } }, { - "id": 2587, + "id": 2079, "libraryName": { - "id": 2585, + "id": 2077, "name": "EnumerableSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1921, - "src": "46235:13:1", + "referencedDeclaration": 1413, + "src": "47556:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableSet_$1921", + "typeIdentifier": "t_contract$_EnumerableSet_$1413", "typeString": "library EnumerableSet" } }, "nodeType": "UsingForDirective", - "src": "46229:46:1", + "src": "47550:46:0", "typeName": { - "id": 2586, + "id": 2078, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46253:21:1", + "referencedDeclaration": 1318, + "src": "47574:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } }, { - "id": 2590, + "id": 2082, "libraryName": { - "id": 2588, + "id": 2080, "name": "EnumerableMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2480, - "src": "46286:13:1", + "referencedDeclaration": 1972, + "src": "47608:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableMap_$2480", + "typeIdentifier": "t_contract$_EnumerableMap_$1972", "typeString": "library EnumerableMap" } }, "nodeType": "UsingForDirective", - "src": "46280:55:1", + "src": "47602:55:0", "typeName": { - "id": 2589, + "id": 2081, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46304:30:1", + "referencedDeclaration": 1746, + "src": "47626:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } } }, { - "id": 2593, + "id": 2085, "libraryName": { - "id": 2591, + "id": 2083, "name": "Strings", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2566, - "src": "46346:7:1", + "referencedDeclaration": 2058, + "src": "47669:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Strings_$2566", + "typeIdentifier": "t_contract$_Strings_$2058", "typeString": "library Strings" } }, "nodeType": "UsingForDirective", - "src": "46340:26:1", + "src": "47663:26:0", "typeName": { - "id": 2592, + "id": 2084, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46358:7:1", + "src": "47681:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25607,12 +25607,12 @@ }, { "constant": true, - "id": 2596, + "id": 2088, "mutability": "constant", "name": "_ERC721_RECEIVED", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46544:53:1", + "scope": 2990, + "src": "47871:53:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25620,10 +25620,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2594, + "id": 2086, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "46544:6:1", + "src": "47871:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -25631,14 +25631,14 @@ }, "value": { "hexValue": "30783135306237613032", - "id": 2595, + "id": 2087, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "46587:10:1", + "src": "47914:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_353073666_by_1", "typeString": "int_const 353073666" @@ -25649,44 +25649,44 @@ }, { "constant": false, - "id": 2600, + "id": 2092, "mutability": "mutable", "name": "_holderTokens", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46681:64:1", + "scope": 2990, + "src": "48011:64:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "typeName": { - "id": 2599, + "id": 2091, "keyType": { - "id": 2597, + "id": 2089, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46690:7:1", + "src": "48020:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "46681:42:1", + "src": "48011:42:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "valueType": { - "id": 2598, + "id": 2090, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46701:21:1", + "referencedDeclaration": 1318, + "src": "48031:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } @@ -25695,26 +25695,26 @@ }, { "constant": false, - "id": 2602, + "id": 2094, "mutability": "mutable", "name": "_tokenOwners", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46809:51:1", + "scope": 2990, + "src": "48142:51:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2601, + "id": 2093, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46809:30:1", + "referencedDeclaration": 1746, + "src": "48142:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -25722,12 +25722,12 @@ }, { "constant": false, - "id": 2606, + "id": 2098, "mutability": "mutable", "name": "_tokenApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46916:52:1", + "scope": 2990, + "src": "48252:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25735,28 +25735,28 @@ "typeString": "mapping(uint256 => address)" }, "typeName": { - "id": 2605, + "id": 2097, "keyType": { - "id": 2603, + "id": 2095, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46925:7:1", + "src": "48261:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "46916:28:1", + "src": "48252:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" }, "valueType": { - "id": 2604, + "id": 2096, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46936:7:1", + "src": "48272:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25768,12 +25768,12 @@ }, { "constant": false, - "id": 2612, + "id": 2104, "mutability": "mutable", "name": "_operatorApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47023:73:1", + "scope": 2990, + "src": "48362:73:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25781,46 +25781,46 @@ "typeString": "mapping(address => mapping(address => bool))" }, "typeName": { - "id": 2611, + "id": 2103, "keyType": { - "id": 2607, + "id": 2099, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47032:7:1", + "src": "48371:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47023:46:1", + "src": "48362:46:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" }, "valueType": { - "id": 2610, + "id": 2102, "keyType": { - "id": 2608, + "id": 2100, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47052:7:1", + "src": "48391:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47043:25:1", + "src": "48382:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" }, "valueType": { - "id": 2609, + "id": 2101, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "47063:4:1", + "src": "48402:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -25832,12 +25832,12 @@ }, { "constant": false, - "id": 2614, + "id": 2106, "mutability": "mutable", "name": "_name", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47121:20:1", + "scope": 2990, + "src": "48463:20:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25845,10 +25845,10 @@ "typeString": "string" }, "typeName": { - "id": 2613, + "id": 2105, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47121:6:1", + "src": "48463:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25858,12 +25858,12 @@ }, { "constant": false, - "id": 2616, + "id": 2108, "mutability": "mutable", "name": "_symbol", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47168:22:1", + "scope": 2990, + "src": "48513:22:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25871,10 +25871,10 @@ "typeString": "string" }, "typeName": { - "id": 2615, + "id": 2107, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47168:6:1", + "src": "48513:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25884,12 +25884,12 @@ }, { "constant": false, - "id": 2620, + "id": 2112, "mutability": "mutable", "name": "_tokenURIs", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47236:46:1", + "scope": 2990, + "src": "48584:46:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25897,28 +25897,28 @@ "typeString": "mapping(uint256 => string)" }, "typeName": { - "id": 2619, + "id": 2111, "keyType": { - "id": 2617, + "id": 2109, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "47245:7:1", + "src": "48593:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "47236:27:1", + "src": "48584:27:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string)" }, "valueType": { - "id": 2618, + "id": 2110, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47256:6:1", + "src": "48604:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25929,12 +25929,12 @@ }, { "constant": false, - "id": 2622, + "id": 2114, "mutability": "mutable", "name": "_baseURI", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47305:23:1", + "scope": 2990, + "src": "48656:23:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25942,10 +25942,10 @@ "typeString": "string" }, "typeName": { - "id": 2621, + "id": 2113, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47305:6:1", + "src": "48656:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25955,12 +25955,12 @@ }, { "constant": true, - "id": 2625, + "id": 2117, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48204:57:1", + "scope": 2990, + "src": "49571:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25968,10 +25968,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2623, + "id": 2115, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48204:6:1", + "src": "49571:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -25979,14 +25979,14 @@ }, "value": { "hexValue": "30783830616335386364", - "id": 2624, + "id": 2116, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48251:10:1", + "src": "49618:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2158778573_by_1", "typeString": "int_const 2158778573" @@ -25997,12 +25997,12 @@ }, { "constant": true, - "id": 2628, + "id": 2120, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48527:66:1", + "scope": 2990, + "src": "49903:66:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26010,10 +26010,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2626, + "id": 2118, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48527:6:1", + "src": "49903:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26021,14 +26021,14 @@ }, "value": { "hexValue": "30783562356531333966", - "id": 2627, + "id": 2119, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48583:10:1", + "src": "49959:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_1532892063_by_1", "typeString": "int_const 1532892063" @@ -26039,12 +26039,12 @@ }, { "constant": true, - "id": 2631, + "id": 2123, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48898:68:1", + "scope": 2990, + "src": "50283:68:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26052,10 +26052,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2629, + "id": 2121, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48898:6:1", + "src": "50283:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26063,14 +26063,14 @@ }, "value": { "hexValue": "30783738306539643633", - "id": 2630, + "id": 2122, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48956:10:1", + "src": "50341:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2014223715_by_1", "typeString": "int_const 2014223715" @@ -26081,24 +26081,24 @@ }, { "body": { - "id": 2659, + "id": 2151, "nodeType": "Block", - "src": "49143:305:1", + "src": "50533:313:0", "statements": [ { "expression": { - "id": 2641, + "id": 2133, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2639, + "id": 2131, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "49153:5:1", + "referencedDeclaration": 2106, + "src": "50544:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26107,41 +26107,41 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2640, + "id": 2132, "name": "name_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2634, - "src": "49161:5:1", + "referencedDeclaration": 2126, + "src": "50552:5:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49153:13:1", + "src": "50544:13:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2642, + "id": 2134, "nodeType": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "expression": { - "id": 2645, + "id": 2137, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2643, + "id": 2135, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "49176:7:1", + "referencedDeclaration": 2108, + "src": "50568:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26150,37 +26150,37 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2644, + "id": 2136, "name": "symbol_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2636, - "src": "49186:7:1", + "referencedDeclaration": 2128, + "src": "50578:7:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49176:17:1", + "src": "50568:17:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2646, + "id": 2138, "nodeType": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "expression": { "arguments": [ { - "id": 2648, + "id": 2140, "name": "_INTERFACE_ID_ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2625, - "src": "49300:20:1", + "referencedDeclaration": 2117, + "src": "50695:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26194,18 +26194,18 @@ "typeString": "bytes4" } ], - "id": 2647, + "id": 2139, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49281:18:1", + "referencedDeclaration": 272, + "src": "50676:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2649, + "id": 2141, "isConstant": false, "isLValue": false, "isPure": false, @@ -26213,27 +26213,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49281:40:1", + "src": "50676:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2650, + "id": 2142, "nodeType": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "expression": { "arguments": [ { - "id": 2652, + "id": 2144, "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2628, - "src": "49350:29:1", + "referencedDeclaration": 2120, + "src": "50746:29:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26247,18 +26247,18 @@ "typeString": "bytes4" } ], - "id": 2651, + "id": 2143, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49331:18:1", + "referencedDeclaration": 272, + "src": "50727:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2653, + "id": 2145, "isConstant": false, "isLValue": false, "isPure": false, @@ -26266,27 +26266,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49331:49:1", + "src": "50727:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2654, + "id": 2146, "nodeType": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "expression": { "arguments": [ { - "id": 2656, + "id": 2148, "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2631, - "src": "49409:31:1", + "referencedDeclaration": 2123, + "src": "50806:31:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26300,18 +26300,18 @@ "typeString": "bytes4" } ], - "id": 2655, + "id": 2147, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49390:18:1", + "referencedDeclaration": 272, + "src": "50787:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2657, + "id": 2149, "isConstant": false, "isLValue": false, "isPure": false, @@ -26319,43 +26319,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49390:51:1", + "src": "50787:51:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2658, + "id": 2150, "nodeType": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ] }, "documentation": { - "id": 2632, + "id": 2124, "nodeType": "StructuredDocumentation", - "src": "48973:108:1", + "src": "50360:110:0", "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2660, + "id": 2152, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 2637, + "id": 2129, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2634, + "id": 2126, "mutability": "mutable", "name": "name_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49099:19:1", + "scope": 2152, + "src": "50489:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26363,10 +26363,10 @@ "typeString": "string" }, "typeName": { - "id": 2633, + "id": 2125, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49099:6:1", + "src": "50489:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26376,12 +26376,12 @@ }, { "constant": false, - "id": 2636, + "id": 2128, "mutability": "mutable", "name": "symbol_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49120:21:1", + "scope": 2152, + "src": "50510:21:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26389,10 +26389,10 @@ "typeString": "string" }, "typeName": { - "id": 2635, + "id": 2127, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49120:6:1", + "src": "50510:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26401,28 +26401,28 @@ "visibility": "internal" } ], - "src": "49098:44:1" + "src": "50488:44:0" }, "returnParameters": { - "id": 2638, + "id": 2130, "nodeType": "ParameterList", "parameters": [], - "src": "49143:0:1" + "src": "50533:0:0" }, - "scope": 3498, - "src": "49086:362:1", + "scope": 2990, + "src": "50476:370:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { "baseFunctions": [ - 580 + 72 ], "body": { - "id": 2685, + "id": 2177, "nodeType": "Block", - "src": "49588:137:1", + "src": "50991:140:0", "statements": [ { "expression": { @@ -26432,18 +26432,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2675, + "id": 2167, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2670, + "id": 2162, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49606:5:1", + "referencedDeclaration": 2155, + "src": "51010:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26455,14 +26455,14 @@ "arguments": [ { "hexValue": "30", - "id": 2673, + "id": 2165, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "49623:1:1", + "src": "51027:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -26477,26 +26477,26 @@ "typeString": "int_const 0" } ], - "id": 2672, + "id": 2164, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2671, + "id": 2163, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": {} } }, - "id": 2674, + "id": 2166, "isConstant": false, "isLValue": false, "isPure": true, @@ -26504,14 +26504,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49615:10:1", + "src": "51019:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "49606:19:1", + "src": "51010:19:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -26519,14 +26519,14 @@ }, { "hexValue": "4552433732313a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373", - "id": 2676, + "id": 2168, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49627:44:1", + "src": "51031:44:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7395d4d3901c50cdfcab223d072f9aa36241df5d883e62cbf147ee1b05a9e6ba", "typeString": "literal_string \"ERC721: balance query for the zero address\"" @@ -26545,7 +26545,7 @@ "typeString": "literal_string \"ERC721: balance query for the zero address\"" } ], - "id": 2669, + "id": 2161, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -26553,13 +26553,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "49598:7:1", + "src": "51002:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2677, + "id": 2169, "isConstant": false, "isLValue": false, "isPure": false, @@ -26567,16 +26567,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49598:74:1", + "src": "51002:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2678, + "id": 2170, "nodeType": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "expression": { @@ -26585,25 +26585,25 @@ "argumentTypes": [], "expression": { "baseExpression": { - "id": 2679, + "id": 2171, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "49689:13:1", + "referencedDeclaration": 2092, + "src": "51094:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2681, + "id": 2173, "indexExpression": { - "id": 2680, + "id": 2172, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49703:5:1", + "referencedDeclaration": 2155, + "src": "51108:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26614,27 +26614,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "49689:20:1", + "src": "51094:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2682, + "id": 2174, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 1900, - "src": "49689:27:1", + "referencedDeclaration": 1392, + "src": "51094:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" } }, - "id": 2683, + "id": 2175, "isConstant": false, "isLValue": false, "isPure": false, @@ -26642,51 +26642,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49689:29:1", + "src": "51094:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2668, - "id": 2684, + "functionReturnParameters": 2160, + "id": 2176, "nodeType": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ] }, "documentation": { - "id": 2661, + "id": 2153, "nodeType": "StructuredDocumentation", - "src": "49454:48:1", + "src": "50854:50:0", "text": " @dev See {IERC721-balanceOf}." }, "functionSelector": "70a08231", - "id": 2686, + "id": 2178, "implemented": true, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2665, + "id": 2157, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49561:8:1" + "src": "50964:8:0" }, "parameters": { - "id": 2664, + "id": 2156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2663, + "id": 2155, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49526:13:1", + "scope": 2178, + "src": "50929:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26694,10 +26694,10 @@ "typeString": "address" }, "typeName": { - "id": 2662, + "id": 2154, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49526:7:1", + "src": "50929:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26707,20 +26707,20 @@ "visibility": "internal" } ], - "src": "49525:15:1" + "src": "50928:15:0" }, "returnParameters": { - "id": 2668, + "id": 2160, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2667, + "id": 2159, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49579:7:1", + "scope": 2178, + "src": "50982:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26728,10 +26728,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2666, + "id": 2158, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49579:7:1", + "src": "50982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26740,33 +26740,33 @@ "visibility": "internal" } ], - "src": "49578:9:1" + "src": "50981:9:0" }, - "scope": 3498, - "src": "49507:218:1", + "scope": 2990, + "src": "50910:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 588 + 80 ], "body": { - "id": 2701, + "id": 2193, "nodeType": "Block", - "src": "49863:94:1", + "src": "51274:96:0", "statements": [ { "expression": { "arguments": [ { - "id": 2697, + "id": 2189, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2689, - "src": "49897:7:1", + "referencedDeclaration": 2181, + "src": "51309:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26774,14 +26774,14 @@ }, { "hexValue": "4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2698, + "id": 2190, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49906:43:1", + "src": "51318:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7481f3df2a424c0755a1ad2356614e9a5a358d461ea2eae1f89cb21cbad00397", "typeString": "literal_string \"ERC721: owner query for nonexistent token\"" @@ -26801,32 +26801,32 @@ } ], "expression": { - "id": 2695, + "id": 2187, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "49880:12:1", + "referencedDeclaration": 2094, + "src": "51292:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2696, + "id": 2188, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "get", "nodeType": "MemberAccess", - "referencedDeclaration": 2479, - "src": "49880:16:1", + "referencedDeclaration": 1971, + "src": "51292:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" } }, - "id": 2699, + "id": 2191, "isConstant": false, "isLValue": false, "isPure": false, @@ -26834,51 +26834,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49880:70:1", + "src": "51292:70:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2694, - "id": 2700, + "functionReturnParameters": 2186, + "id": 2192, "nodeType": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ] }, "documentation": { - "id": 2687, + "id": 2179, "nodeType": "StructuredDocumentation", - "src": "49731:46:1", + "src": "51139:48:0", "text": " @dev See {IERC721-ownerOf}." }, "functionSelector": "6352211e", - "id": 2702, + "id": 2194, "implemented": true, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2691, + "id": 2183, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49836:8:1" + "src": "51247:8:0" }, "parameters": { - "id": 2690, + "id": 2182, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2689, + "id": 2181, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49799:15:1", + "scope": 2194, + "src": "51210:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26886,10 +26886,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2688, + "id": 2180, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49799:7:1", + "src": "51210:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26898,20 +26898,20 @@ "visibility": "internal" } ], - "src": "49798:17:1" + "src": "51209:17:0" }, "returnParameters": { - "id": 2694, + "id": 2186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2693, + "id": 2185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49854:7:1", + "scope": 2194, + "src": "51265:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26919,10 +26919,10 @@ "typeString": "address" }, "typeName": { - "id": 2692, + "id": 2184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49854:7:1", + "src": "51265:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26932,80 +26932,80 @@ "visibility": "internal" } ], - "src": "49853:9:1" + "src": "51264:9:0" }, - "scope": 3498, - "src": "49782:175:1", + "scope": 2990, + "src": "51193:177:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 665 + 157 ], "body": { - "id": 2711, + "id": 2203, "nodeType": "Block", - "src": "50088:29:1", + "src": "51506:31:0", "statements": [ { "expression": { - "id": 2709, + "id": 2201, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "50105:5:1", + "referencedDeclaration": 2106, + "src": "51524:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2708, - "id": 2710, + "functionReturnParameters": 2200, + "id": 2202, "nodeType": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ] }, "documentation": { - "id": 2703, + "id": 2195, "nodeType": "StructuredDocumentation", - "src": "49963:51:1", + "src": "51378:53:0", "text": " @dev See {IERC721Metadata-name}." }, "functionSelector": "06fdde03", - "id": 2712, + "id": 2204, "implemented": true, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "overrides": { - "id": 2705, + "id": 2197, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50055:8:1" + "src": "51473:8:0" }, "parameters": { - "id": 2704, + "id": 2196, "nodeType": "ParameterList", "parameters": [], - "src": "50032:2:1" + "src": "51450:2:0" }, "returnParameters": { - "id": 2708, + "id": 2200, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2707, + "id": 2199, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2712, - "src": "50073:13:1", + "scope": 2204, + "src": "51491:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27013,10 +27013,10 @@ "typeString": "string" }, "typeName": { - "id": 2706, + "id": 2198, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50073:6:1", + "src": "51491:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27025,80 +27025,80 @@ "visibility": "internal" } ], - "src": "50072:15:1" + "src": "51490:15:0" }, - "scope": 3498, - "src": "50019:98:1", + "scope": 2990, + "src": "51437:100:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 671 + 163 ], "body": { - "id": 2721, + "id": 2213, "nodeType": "Block", - "src": "50252:31:1", + "src": "51677:33:0", "statements": [ { "expression": { - "id": 2719, + "id": 2211, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "50269:7:1", + "referencedDeclaration": 2108, + "src": "51695:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2718, - "id": 2720, + "functionReturnParameters": 2210, + "id": 2212, "nodeType": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ] }, "documentation": { - "id": 2713, + "id": 2205, "nodeType": "StructuredDocumentation", - "src": "50123:53:1", + "src": "51545:55:0", "text": " @dev See {IERC721Metadata-symbol}." }, "functionSelector": "95d89b41", - "id": 2722, + "id": 2214, "implemented": true, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "overrides": { - "id": 2715, + "id": 2207, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50219:8:1" + "src": "51644:8:0" }, "parameters": { - "id": 2714, + "id": 2206, "nodeType": "ParameterList", "parameters": [], - "src": "50196:2:1" + "src": "51621:2:0" }, "returnParameters": { - "id": 2718, + "id": 2210, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2717, + "id": 2209, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2722, - "src": "50237:13:1", + "scope": 2214, + "src": "51662:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27106,10 +27106,10 @@ "typeString": "string" }, "typeName": { - "id": 2716, + "id": 2208, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50237:6:1", + "src": "51662:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27118,22 +27118,22 @@ "visibility": "internal" } ], - "src": "50236:15:1" + "src": "51661:15:0" }, - "scope": 3498, - "src": "50181:102:1", + "scope": 2990, + "src": "51606:104:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 679 + 171 ], "body": { - "id": 2789, + "id": 2281, "nodeType": "Block", - "src": "50437:688:1", + "src": "51869:704:0", "statements": [ { "expression": { @@ -27141,12 +27141,12 @@ { "arguments": [ { - "id": 2733, + "id": 2225, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50463:7:1", + "referencedDeclaration": 2217, + "src": "51896:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27160,18 +27160,18 @@ "typeString": "uint256" } ], - "id": 2732, + "id": 2224, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "50455:7:1", + "referencedDeclaration": 2577, + "src": "51888:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2734, + "id": 2226, "isConstant": false, "isLValue": false, "isPure": false, @@ -27179,7 +27179,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50455:16:1", + "src": "51888:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -27188,14 +27188,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2735, + "id": 2227, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "50473:49:1", + "src": "51906:49:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a2d45c0fba603d40d82d590051761ca952d1ab9d78cca6d0d464d7b6e961a9cb", "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" @@ -27214,7 +27214,7 @@ "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" } ], - "id": 2731, + "id": 2223, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -27222,13 +27222,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "50447:7:1", + "src": "51880:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2736, + "id": 2228, "isConstant": false, "isLValue": false, "isPure": false, @@ -27236,30 +27236,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50447:76:1", + "src": "51880:76:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2737, + "id": 2229, "nodeType": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "assignments": [ - 2739 + 2231 ], "declarations": [ { "constant": false, - "id": 2739, + "id": 2231, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50534:23:1", + "scope": 2281, + "src": "51969:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27267,10 +27267,10 @@ "typeString": "string" }, "typeName": { - "id": 2738, + "id": 2230, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50534:6:1", + "src": "51969:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27279,28 +27279,28 @@ "visibility": "internal" } ], - "id": 2743, + "id": 2235, "initialValue": { "baseExpression": { - "id": 2740, + "id": 2232, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "50560:10:1", + "referencedDeclaration": 2112, + "src": "51995:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 2742, + "id": 2234, "indexExpression": { - "id": 2741, + "id": 2233, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50571:7:1", + "referencedDeclaration": 2217, + "src": "52006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27311,28 +27311,28 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "50560:19:1", + "src": "51995:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "assignments": [ - 2745 + 2237 ], "declarations": [ { "constant": false, - "id": 2745, + "id": 2237, "mutability": "mutable", "name": "base", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50589:18:1", + "scope": 2281, + "src": "52025:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27340,10 +27340,10 @@ "typeString": "string" }, "typeName": { - "id": 2744, + "id": 2236, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50589:6:1", + "src": "52025:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27352,23 +27352,23 @@ "visibility": "internal" } ], - "id": 2748, + "id": 2240, "initialValue": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2746, + "id": 2238, "name": "baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2799, - "src": "50610:7:1", + "referencedDeclaration": 2291, + "src": "52046:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_string_memory_ptr_$", "typeString": "function () view returns (string memory)" } }, - "id": 2747, + "id": 2239, "isConstant": false, "isLValue": false, "isPure": false, @@ -27376,7 +27376,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50610:9:1", + "src": "52046:9:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27384,7 +27384,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "condition": { @@ -27392,7 +27392,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2755, + "id": 2247, "isConstant": false, "isLValue": false, "isPure": false, @@ -27401,12 +27401,12 @@ "expression": { "arguments": [ { - "id": 2751, + "id": 2243, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50698:4:1", + "referencedDeclaration": 2237, + "src": "52137:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27420,26 +27420,26 @@ "typeString": "string memory" } ], - "id": 2750, + "id": 2242, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2749, + "id": 2241, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": {} } }, - "id": 2752, + "id": 2244, "isConstant": false, "isLValue": false, "isPure": false, @@ -27447,21 +27447,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50692:11:1", + "src": "52131:11:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2753, + "id": 2245, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50692:18:1", + "src": "52131:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27471,51 +27471,51 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2754, + "id": 2246, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50714:1:1", + "src": "52153:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50692:23:1", + "src": "52131:23:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2759, + "id": 2251, "nodeType": "IfStatement", - "src": "50688:70:1", + "src": "52127:72:0", "trueBody": { - "id": 2758, + "id": 2250, "nodeType": "Block", - "src": "50717:41:1", + "src": "52156:43:0", "statements": [ { "expression": { - "id": 2756, + "id": 2248, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50738:9:1", + "referencedDeclaration": 2231, + "src": "52178:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2757, + "functionReturnParameters": 2222, + "id": 2249, "nodeType": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ] } @@ -27526,7 +27526,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2766, + "id": 2258, "isConstant": false, "isLValue": false, "isPure": false, @@ -27535,12 +27535,12 @@ "expression": { "arguments": [ { - "id": 2762, + "id": 2254, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50866:9:1", + "referencedDeclaration": 2231, + "src": "52309:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27554,26 +27554,26 @@ "typeString": "string memory" } ], - "id": 2761, + "id": 2253, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2760, + "id": 2252, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": {} } }, - "id": 2763, + "id": 2255, "isConstant": false, "isLValue": false, "isPure": false, @@ -27581,21 +27581,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50860:16:1", + "src": "52303:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2764, + "id": 2256, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50860:23:1", + "src": "52303:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27605,33 +27605,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 2765, + "id": 2257, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50886:1:1", + "src": "52329:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50860:27:1", + "src": "52303:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2777, + "id": 2269, "nodeType": "IfStatement", - "src": "50856:106:1", + "src": "52299:108:0", "trueBody": { - "id": 2776, + "id": 2268, "nodeType": "Block", - "src": "50889:73:1", + "src": "52332:75:0", "statements": [ { "expression": { @@ -27639,24 +27639,24 @@ { "arguments": [ { - "id": 2771, + "id": 2263, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50934:4:1", + "referencedDeclaration": 2237, + "src": "52378:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, { - "id": 2772, + "id": 2264, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50940:9:1", + "referencedDeclaration": 2231, + "src": "52384:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27675,31 +27675,31 @@ } ], "expression": { - "id": 2769, + "id": 2261, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "50917:3:1", + "src": "52361:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2770, + "id": 2262, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "50917:16:1", + "src": "52361:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2773, + "id": 2265, "isConstant": false, "isLValue": false, "isPure": false, @@ -27707,7 +27707,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50917:33:1", + "src": "52361:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -27722,26 +27722,26 @@ "typeString": "bytes memory" } ], - "id": 2768, + "id": 2260, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2767, + "id": 2259, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": {} } }, - "id": 2774, + "id": 2266, "isConstant": false, "isLValue": false, "isPure": false, @@ -27749,17 +27749,17 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50910:41:1", + "src": "52354:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2775, + "functionReturnParameters": 2222, + "id": 2267, "nodeType": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ] } @@ -27770,12 +27770,12 @@ { "arguments": [ { - "id": 2782, + "id": 2274, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "51092:4:1", + "referencedDeclaration": 2237, + "src": "52539:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27786,32 +27786,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2783, + "id": 2275, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "51098:7:1", + "referencedDeclaration": 2217, + "src": "52545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2784, + "id": 2276, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toString", "nodeType": "MemberAccess", - "referencedDeclaration": 2565, - "src": "51098:16:1", + "referencedDeclaration": 2057, + "src": "52545:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$bound_to$_t_uint256_$", "typeString": "function (uint256) pure returns (string memory)" } }, - "id": 2785, + "id": 2277, "isConstant": false, "isLValue": false, "isPure": false, @@ -27819,7 +27819,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51098:18:1", + "src": "52545:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27839,31 +27839,31 @@ } ], "expression": { - "id": 2780, + "id": 2272, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "51075:3:1", + "src": "52522:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2781, + "id": 2273, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "51075:16:1", + "src": "52522:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2786, + "id": 2278, "isConstant": false, "isLValue": false, "isPure": false, @@ -27871,7 +27871,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51075:42:1", + "src": "52522:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -27886,26 +27886,26 @@ "typeString": "bytes memory" } ], - "id": 2779, + "id": 2271, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2778, + "id": 2270, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": {} } }, - "id": 2787, + "id": 2279, "isConstant": false, "isLValue": false, "isPure": false, @@ -27913,51 +27913,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51068:50:1", + "src": "52515:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2788, + "functionReturnParameters": 2222, + "id": 2280, "nodeType": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ] }, "documentation": { - "id": 2723, + "id": 2215, "nodeType": "StructuredDocumentation", - "src": "50289:55:1", + "src": "51718:57:0", "text": " @dev See {IERC721Metadata-tokenURI}." }, "functionSelector": "c87b56dd", - "id": 2790, + "id": 2282, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "overrides": { - "id": 2727, + "id": 2219, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50404:8:1" + "src": "51836:8:0" }, "parameters": { - "id": 2726, + "id": 2218, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2725, + "id": 2217, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50367:15:1", + "scope": 2282, + "src": "51799:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27965,10 +27965,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2724, + "id": 2216, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "50367:7:1", + "src": "51799:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27977,20 +27977,20 @@ "visibility": "internal" } ], - "src": "50366:17:1" + "src": "51798:17:0" }, "returnParameters": { - "id": 2730, + "id": 2222, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2729, + "id": 2221, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50422:13:1", + "scope": 2282, + "src": "51854:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27998,10 +27998,10 @@ "typeString": "string" }, "typeName": { - "id": 2728, + "id": 2220, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50422:6:1", + "src": "51854:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28010,71 +28010,71 @@ "visibility": "internal" } ], - "src": "50421:15:1" + "src": "51853:15:0" }, - "scope": 3498, - "src": "50349:776:1", + "scope": 2990, + "src": "51781:792:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 2798, + "id": 2290, "nodeType": "Block", - "src": "51420:32:1", + "src": "52875:34:0", "statements": [ { "expression": { - "id": 2796, + "id": 2288, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "51437:8:1", + "referencedDeclaration": 2114, + "src": "52893:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2795, - "id": 2797, + "functionReturnParameters": 2287, + "id": 2289, "nodeType": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ] }, "documentation": { - "id": 2791, + "id": 2283, "nodeType": "StructuredDocumentation", - "src": "51131:221:1", + "src": "52581:225:0", "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, "functionSelector": "6c0360eb", - "id": 2799, + "id": 2291, "implemented": true, "kind": "function", "modifiers": [], "name": "baseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 2792, + "id": 2284, "nodeType": "ParameterList", "parameters": [], - "src": "51373:2:1" + "src": "52828:2:0" }, "returnParameters": { - "id": 2795, + "id": 2287, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2794, + "id": 2286, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2799, - "src": "51405:13:1", + "scope": 2291, + "src": "52860:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -28082,10 +28082,10 @@ "typeString": "string" }, "typeName": { - "id": 2793, + "id": 2285, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51405:6:1", + "src": "52860:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28094,33 +28094,33 @@ "visibility": "internal" } ], - "src": "51404:15:1" + "src": "52859:15:0" }, - "scope": 3498, - "src": "51357:95:1", + "scope": 2990, + "src": "52812:97:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 700 + 192 ], "body": { - "id": 2817, + "id": 2309, "nodeType": "Block", - "src": "51637:54:1", + "src": "53099:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 2814, + "id": 2306, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2804, - "src": "51678:5:1", + "referencedDeclaration": 2296, + "src": "53141:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28136,25 +28136,25 @@ ], "expression": { "baseExpression": { - "id": 2810, + "id": 2302, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "51654:13:1", + "referencedDeclaration": 2092, + "src": "53117:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2812, + "id": 2304, "indexExpression": { - "id": 2811, + "id": 2303, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2802, - "src": "51668:5:1", + "referencedDeclaration": 2294, + "src": "53131:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28165,27 +28165,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "51654:20:1", + "src": "53117:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2813, + "id": 2305, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 1920, - "src": "51654:23:1", + "referencedDeclaration": 1412, + "src": "53117:23:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" } }, - "id": 2815, + "id": 2307, "isConstant": false, "isLValue": false, "isPure": false, @@ -28193,51 +28193,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51654:30:1", + "src": "53117:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2809, - "id": 2816, + "functionReturnParameters": 2301, + "id": 2308, "nodeType": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ] }, "documentation": { - "id": 2800, + "id": 2292, "nodeType": "StructuredDocumentation", - "src": "51458:68:1", + "src": "52917:70:0", "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, "functionSelector": "2f745c59", - "id": 2818, + "id": 2310, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2806, + "id": 2298, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51610:8:1" + "src": "53072:8:0" }, "parameters": { - "id": 2805, + "id": 2297, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2802, + "id": 2294, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51560:13:1", + "scope": 2310, + "src": "53022:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28245,10 +28245,10 @@ "typeString": "address" }, "typeName": { - "id": 2801, + "id": 2293, "name": "address", "nodeType": "ElementaryTypeName", - "src": "51560:7:1", + "src": "53022:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28259,12 +28259,12 @@ }, { "constant": false, - "id": 2804, + "id": 2296, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51575:13:1", + "scope": 2310, + "src": "53037:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28272,10 +28272,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2803, + "id": 2295, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51575:7:1", + "src": "53037:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28284,20 +28284,20 @@ "visibility": "internal" } ], - "src": "51559:30:1" + "src": "53021:30:0" }, "returnParameters": { - "id": 2809, + "id": 2301, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2808, + "id": 2300, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51628:7:1", + "scope": 2310, + "src": "53090:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28305,10 +28305,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2807, + "id": 2299, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51628:7:1", + "src": "53090:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28317,22 +28317,22 @@ "visibility": "internal" } ], - "src": "51627:9:1" + "src": "53089:9:0" }, - "scope": 3498, - "src": "51531:160:1", + "scope": 2990, + "src": "52993:162:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 690 + 182 ], "body": { - "id": 2829, + "id": 2321, "nodeType": "Block", - "src": "51832:138:1", + "src": "53301:141:0", "statements": [ { "expression": { @@ -28340,32 +28340,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2825, + "id": 2317, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "51942:12:1", + "referencedDeclaration": 2094, + "src": "53413:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2826, + "id": 2318, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 2340, - "src": "51942:19:1", + "referencedDeclaration": 1832, + "src": "53413:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" } }, - "id": 2827, + "id": 2319, "isConstant": false, "isLValue": false, "isPure": false, @@ -28373,57 +28373,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51942:21:1", + "src": "53413:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2824, - "id": 2828, + "functionReturnParameters": 2316, + "id": 2320, "nodeType": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ] }, "documentation": { - "id": 2819, + "id": 2311, "nodeType": "StructuredDocumentation", - "src": "51697:60:1", + "src": "53163:62:0", "text": " @dev See {IERC721Enumerable-totalSupply}." }, "functionSelector": "18160ddd", - "id": 2830, + "id": 2322, "implemented": true, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "overrides": { - "id": 2821, + "id": 2313, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51805:8:1" + "src": "53274:8:0" }, "parameters": { - "id": 2820, + "id": 2312, "nodeType": "ParameterList", "parameters": [], - "src": "51782:2:1" + "src": "53251:2:0" }, "returnParameters": { - "id": 2824, + "id": 2316, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2823, + "id": 2315, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2830, - "src": "51823:7:1", + "scope": 2322, + "src": "53292:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28431,10 +28431,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2822, + "id": 2314, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51823:7:1", + "src": "53292:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28443,37 +28443,37 @@ "visibility": "internal" } ], - "src": "51822:9:1" + "src": "53291:9:0" }, - "scope": 3498, - "src": "51762:208:1", + "scope": 2990, + "src": "53231:211:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 708 + 200 ], "body": { - "id": 2848, + "id": 2340, "nodeType": "Block", - "src": "52126:85:1", + "src": "53603:88:0", "statements": [ { "assignments": [ - 2840, + 2332, null ], "declarations": [ { "constant": false, - "id": 2840, + "id": 2332, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2848, - "src": "52137:15:1", + "scope": 2340, + "src": "53615:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28481,10 +28481,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2839, + "id": 2331, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52137:7:1", + "src": "53615:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28494,16 +28494,16 @@ }, null ], - "id": 2845, + "id": 2337, "initialValue": { "arguments": [ { - "id": 2843, + "id": 2335, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2833, - "src": "52174:5:1", + "referencedDeclaration": 2325, + "src": "53652:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28518,32 +28518,32 @@ } ], "expression": { - "id": 2841, + "id": 2333, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "52158:12:1", + "referencedDeclaration": 2094, + "src": "53636:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2842, + "id": 2334, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 2379, - "src": "52158:15:1", + "referencedDeclaration": 1871, + "src": "53636:15:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" } }, - "id": 2844, + "id": 2336, "isConstant": false, "isLValue": false, "isPure": false, @@ -28551,7 +28551,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52158:22:1", + "src": "53636:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_$", @@ -28559,59 +28559,59 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "expression": { - "id": 2846, + "id": 2338, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2840, - "src": "52197:7:1", + "referencedDeclaration": 2332, + "src": "53676:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2838, - "id": 2847, + "functionReturnParameters": 2330, + "id": 2339, "nodeType": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ] }, "documentation": { - "id": 2831, + "id": 2323, "nodeType": "StructuredDocumentation", - "src": "51976:61:1", + "src": "53450:63:0", "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, "functionSelector": "4f6ccce7", - "id": 2849, + "id": 2341, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2835, + "id": 2327, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52099:8:1" + "src": "53576:8:0" }, "parameters": { - "id": 2834, + "id": 2326, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2833, + "id": 2325, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52064:13:1", + "scope": 2341, + "src": "53541:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28619,10 +28619,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2832, + "id": 2324, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52064:7:1", + "src": "53541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28631,20 +28631,20 @@ "visibility": "internal" } ], - "src": "52063:15:1" + "src": "53540:15:0" }, "returnParameters": { - "id": 2838, + "id": 2330, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2837, + "id": 2329, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52117:7:1", + "scope": 2341, + "src": "53594:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28652,10 +28652,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2836, + "id": 2328, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52117:7:1", + "src": "53594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28664,36 +28664,36 @@ "visibility": "internal" } ], - "src": "52116:9:1" + "src": "53593:9:0" }, - "scope": 3498, - "src": "52042:169:1", + "scope": 2990, + "src": "53519:172:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 616 + 108 ], "body": { - "id": 2892, + "id": 2384, "nodeType": "Block", - "src": "52338:325:1", + "src": "53823:334:0", "statements": [ { "assignments": [ - 2859 + 2351 ], "declarations": [ { "constant": false, - "id": 2859, + "id": 2351, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2892, - "src": "52348:13:1", + "scope": 2384, + "src": "53834:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28701,10 +28701,10 @@ "typeString": "address" }, "typeName": { - "id": 2858, + "id": 2350, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52348:7:1", + "src": "53834:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28714,16 +28714,16 @@ "visibility": "internal" } ], - "id": 2864, + "id": 2356, "initialValue": { "arguments": [ { - "id": 2862, + "id": 2354, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52379:7:1", + "referencedDeclaration": 2346, + "src": "53865:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28738,32 +28738,32 @@ } ], "expression": { - "id": 2860, + "id": 2352, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52364:6:1", + "referencedDeclaration": 2990, + "src": "53850:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2861, + "id": 2353, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "52364:14:1", + "referencedDeclaration": 2194, + "src": "53850:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 2863, + "id": 2355, "isConstant": false, "isLValue": false, "isPure": false, @@ -28771,7 +28771,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52364:23:1", + "src": "53850:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -28779,7 +28779,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "expression": { @@ -28789,18 +28789,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2868, + "id": 2360, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2866, + "id": 2358, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52405:2:1", + "referencedDeclaration": 2344, + "src": "53892:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28809,18 +28809,18 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 2867, + "id": 2359, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52411:5:1", + "referencedDeclaration": 2351, + "src": "53898:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52405:11:1", + "src": "53892:11:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28828,14 +28828,14 @@ }, { "hexValue": "4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572", - "id": 2869, + "id": 2361, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52418:35:1", + "src": "53905:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942", "typeString": "literal_string \"ERC721: approval to current owner\"" @@ -28854,7 +28854,7 @@ "typeString": "literal_string \"ERC721: approval to current owner\"" } ], - "id": 2865, + "id": 2357, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -28862,13 +28862,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52397:7:1", + "src": "53884:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2870, + "id": 2362, "isConstant": false, "isLValue": false, "isPure": false, @@ -28876,16 +28876,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52397:57:1", + "src": "53884:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2871, + "id": 2363, "nodeType": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "expression": { @@ -28895,7 +28895,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 2883, + "id": 2375, "isConstant": false, "isLValue": false, "isPure": false, @@ -28905,7 +28905,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2876, + "id": 2368, "isConstant": false, "isLValue": false, "isPure": false, @@ -28914,18 +28914,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2873, + "id": 2365, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52473:10:1", + "referencedDeclaration": 10, + "src": "53962:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2874, + "id": 2366, "isConstant": false, "isLValue": false, "isPure": false, @@ -28933,7 +28933,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52473:12:1", + "src": "53962:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -28943,18 +28943,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 2875, + "id": 2367, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52489:5:1", + "referencedDeclaration": 2351, + "src": "53978:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52473:21:1", + "src": "53962:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28965,12 +28965,12 @@ "rightExpression": { "arguments": [ { - "id": 2879, + "id": 2371, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52522:5:1", + "referencedDeclaration": 2351, + "src": "54011:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28980,18 +28980,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2880, + "id": 2372, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52529:10:1", + "referencedDeclaration": 10, + "src": "54018:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2881, + "id": 2373, "isConstant": false, "isLValue": false, "isPure": false, @@ -28999,7 +28999,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52529:12:1", + "src": "54018:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29019,32 +29019,32 @@ } ], "expression": { - "id": 2877, + "id": 2369, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52498:6:1", + "referencedDeclaration": 2990, + "src": "53987:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2878, + "id": 2370, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "52498:23:1", + "referencedDeclaration": 2458, + "src": "53987:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 2882, + "id": 2374, "isConstant": false, "isLValue": false, "isPure": false, @@ -29052,14 +29052,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52498:44:1", + "src": "53987:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "52473:69:1", + "src": "53962:69:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29067,14 +29067,14 @@ }, { "hexValue": "4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c", - "id": 2884, + "id": 2376, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52556:58:1", + "src": "54046:58:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_6d83cef3e0cb19b8320a9c5feb26b56bbb08f152a8e61b12eca3302d8d68b23d", "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" @@ -29093,7 +29093,7 @@ "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" } ], - "id": 2872, + "id": 2364, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29101,13 +29101,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52465:7:1", + "src": "53954:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2885, + "id": 2377, "isConstant": false, "isLValue": false, "isPure": false, @@ -29115,39 +29115,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52465:159:1", + "src": "53954:161:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2886, + "id": 2378, "nodeType": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "expression": { "arguments": [ { - "id": 2888, + "id": 2380, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52644:2:1", + "referencedDeclaration": 2344, + "src": "54137:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2889, + "id": 2381, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52648:7:1", + "referencedDeclaration": 2346, + "src": "54141:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29165,18 +29165,18 @@ "typeString": "uint256" } ], - "id": 2887, + "id": 2379, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "52635:8:1", + "referencedDeclaration": 2978, + "src": "54128:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 2890, + "id": 2382, "isConstant": false, "isLValue": false, "isPure": false, @@ -29184,50 +29184,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52635:21:1", + "src": "54128:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2891, + "id": 2383, "nodeType": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ] }, "documentation": { - "id": 2850, + "id": 2342, "nodeType": "StructuredDocumentation", - "src": "52217:46:1", + "src": "53699:48:0", "text": " @dev See {IERC721-approve}." }, "functionSelector": "095ea7b3", - "id": 2893, + "id": 2385, "implemented": true, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "overrides": { - "id": 2856, + "id": 2348, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52329:8:1" + "src": "53814:8:0" }, "parameters": { - "id": 2855, + "id": 2347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2852, + "id": 2344, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52285:10:1", + "scope": 2385, + "src": "53770:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29235,10 +29235,10 @@ "typeString": "address" }, "typeName": { - "id": 2851, + "id": 2343, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52285:7:1", + "src": "53770:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29249,12 +29249,12 @@ }, { "constant": false, - "id": 2854, + "id": 2346, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52297:15:1", + "scope": 2385, + "src": "53782:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29262,10 +29262,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2853, + "id": 2345, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52297:7:1", + "src": "53782:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29274,28 +29274,28 @@ "visibility": "internal" } ], - "src": "52284:29:1" + "src": "53769:29:0" }, "returnParameters": { - "id": 2857, + "id": 2349, "nodeType": "ParameterList", "parameters": [], - "src": "52338:0:1" + "src": "53823:0:0" }, - "scope": 3498, - "src": "52268:395:1", + "scope": 2990, + "src": "53753:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 624 + 116 ], "body": { - "id": 2913, + "id": 2405, "nodeType": "Block", - "src": "52809:132:1", + "src": "54308:136:0", "statements": [ { "expression": { @@ -29303,12 +29303,12 @@ { "arguments": [ { - "id": 2904, + "id": 2396, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52835:7:1", + "referencedDeclaration": 2388, + "src": "54335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29322,18 +29322,18 @@ "typeString": "uint256" } ], - "id": 2903, + "id": 2395, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "52827:7:1", + "referencedDeclaration": 2577, + "src": "54327:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2905, + "id": 2397, "isConstant": false, "isLValue": false, "isPure": false, @@ -29341,7 +29341,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52827:16:1", + "src": "54327:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -29350,14 +29350,14 @@ }, { "hexValue": "4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2906, + "id": 2398, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52845:46:1", + "src": "54345:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9291e0f44949204f2e9b40e6be090924979d6047b2365868f4e9f027722eb89d", "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" @@ -29376,7 +29376,7 @@ "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" } ], - "id": 2902, + "id": 2394, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29384,13 +29384,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52819:7:1", + "src": "54319:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2907, + "id": 2399, "isConstant": false, "isLValue": false, "isPure": false, @@ -29398,39 +29398,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52819:73:1", + "src": "54319:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2908, + "id": 2400, "nodeType": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "expression": { "baseExpression": { - "id": 2909, + "id": 2401, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "52910:15:1", + "referencedDeclaration": 2098, + "src": "54412:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 2911, + "id": 2403, "indexExpression": { - "id": 2910, + "id": 2402, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52926:7:1", + "referencedDeclaration": 2388, + "src": "54428:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29441,50 +29441,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "52910:24:1", + "src": "54412:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2901, - "id": 2912, + "functionReturnParameters": 2393, + "id": 2404, "nodeType": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ] }, "documentation": { - "id": 2894, + "id": 2386, "nodeType": "StructuredDocumentation", - "src": "52669:50:1", + "src": "54165:52:0", "text": " @dev See {IERC721-getApproved}." }, "functionSelector": "081812fc", - "id": 2914, + "id": 2406, "implemented": true, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "overrides": { - "id": 2898, + "id": 2390, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52782:8:1" + "src": "54281:8:0" }, "parameters": { - "id": 2897, + "id": 2389, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2896, + "id": 2388, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52745:15:1", + "scope": 2406, + "src": "54244:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29492,10 +29492,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2895, + "id": 2387, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52745:7:1", + "src": "54244:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29504,20 +29504,20 @@ "visibility": "internal" } ], - "src": "52744:17:1" + "src": "54243:17:0" }, "returnParameters": { - "id": 2901, + "id": 2393, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2900, + "id": 2392, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52800:7:1", + "scope": 2406, + "src": "54299:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29525,10 +29525,10 @@ "typeString": "address" }, "typeName": { - "id": 2899, + "id": 2391, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52800:7:1", + "src": "54299:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29538,22 +29538,22 @@ "visibility": "internal" } ], - "src": "52799:9:1" + "src": "54298:9:0" }, - "scope": 3498, - "src": "52724:217:1", + "scope": 2990, + "src": "54223:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 632 + 124 ], "body": { - "id": 2947, + "id": 2439, "nodeType": "Block", - "src": "53092:206:1", + "src": "54600:211:0", "statements": [ { "expression": { @@ -29563,18 +29563,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2927, + "id": 2419, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2924, + "id": 2416, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53110:8:1", + "referencedDeclaration": 2409, + "src": "54619:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29586,18 +29586,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2925, + "id": 2417, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53122:10:1", + "referencedDeclaration": 10, + "src": "54631:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2926, + "id": 2418, "isConstant": false, "isLValue": false, "isPure": false, @@ -29605,14 +29605,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53122:12:1", + "src": "54631:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "53110:24:1", + "src": "54619:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29620,14 +29620,14 @@ }, { "hexValue": "4552433732313a20617070726f766520746f2063616c6c6572", - "id": 2928, + "id": 2420, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53136:27:1", + "src": "54645:27:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05", "typeString": "literal_string \"ERC721: approve to caller\"" @@ -29646,7 +29646,7 @@ "typeString": "literal_string \"ERC721: approve to caller\"" } ], - "id": 2923, + "id": 2415, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29654,13 +29654,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53102:7:1", + "src": "54611:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2929, + "id": 2421, "isConstant": false, "isLValue": false, "isPure": false, @@ -29668,20 +29668,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53102:62:1", + "src": "54611:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2930, + "id": 2422, "nodeType": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "expression": { - "id": 2938, + "id": 2430, "isConstant": false, "isLValue": false, "isPure": false, @@ -29689,34 +29689,34 @@ "leftHandSide": { "baseExpression": { "baseExpression": { - "id": 2931, + "id": 2423, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53175:18:1", + "referencedDeclaration": 2104, + "src": "54686:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2935, + "id": 2427, "indexExpression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2932, + "id": 2424, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53194:10:1", + "referencedDeclaration": 10, + "src": "54705:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2933, + "id": 2425, "isConstant": false, "isLValue": false, "isPure": false, @@ -29724,7 +29724,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53194:12:1", + "src": "54705:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29736,20 +29736,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53175:32:1", + "src": "54686:32:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2936, + "id": 2428, "indexExpression": { - "id": 2934, + "id": 2426, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53208:8:1", + "referencedDeclaration": 2409, + "src": "54719:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29760,7 +29760,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "53175:42:1", + "src": "54686:42:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29769,26 +29769,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2937, + "id": 2429, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53220:8:1", + "referencedDeclaration": 2411, + "src": "54731:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "53175:53:1", + "src": "54686:53:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2939, + "id": 2431, "nodeType": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "eventCall": { @@ -29797,18 +29797,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2941, + "id": 2433, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53258:10:1", + "referencedDeclaration": 10, + "src": "54770:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2942, + "id": 2434, "isConstant": false, "isLValue": false, "isPure": false, @@ -29816,7 +29816,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53258:12:1", + "src": "54770:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29824,24 +29824,24 @@ } }, { - "id": 2943, + "id": 2435, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53272:8:1", + "referencedDeclaration": 2409, + "src": "54784:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2944, + "id": 2436, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53282:8:1", + "referencedDeclaration": 2411, + "src": "54794:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29863,18 +29863,18 @@ "typeString": "bool" } ], - "id": 2940, + "id": 2432, "name": "ApprovalForAll", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 572, - "src": "53243:14:1", + "referencedDeclaration": 64, + "src": "54755:14:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", "typeString": "function (address,address,bool)" } }, - "id": 2945, + "id": 2437, "isConstant": false, "isLValue": false, "isPure": false, @@ -29882,50 +29882,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53243:48:1", + "src": "54755:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2946, + "id": 2438, "nodeType": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ] }, "documentation": { - "id": 2915, + "id": 2407, "nodeType": "StructuredDocumentation", - "src": "52947:56:1", + "src": "54452:58:0", "text": " @dev See {IERC721-setApprovalForAll}." }, "functionSelector": "a22cb465", - "id": 2948, + "id": 2440, "implemented": true, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2921, + "id": 2413, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53083:8:1" + "src": "54591:8:0" }, "parameters": { - "id": 2920, + "id": 2412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2917, + "id": 2409, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53035:16:1", + "scope": 2440, + "src": "54543:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29933,10 +29933,10 @@ "typeString": "address" }, "typeName": { - "id": 2916, + "id": 2408, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53035:7:1", + "src": "54543:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29947,12 +29947,12 @@ }, { "constant": false, - "id": 2919, + "id": 2411, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53053:13:1", + "scope": 2440, + "src": "54561:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29960,10 +29960,10 @@ "typeString": "bool" }, "typeName": { - "id": 2918, + "id": 2410, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53053:4:1", + "src": "54561:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29972,52 +29972,52 @@ "visibility": "internal" } ], - "src": "53034:33:1" + "src": "54542:33:0" }, "returnParameters": { - "id": 2922, + "id": 2414, "nodeType": "ParameterList", "parameters": [], - "src": "53092:0:1" + "src": "54600:0:0" }, - "scope": 3498, - "src": "53008:290:1", + "scope": 2990, + "src": "54516:295:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 642 + 134 ], "body": { - "id": 2965, + "id": 2457, "nodeType": "Block", - "src": "53467:59:1", + "src": "54985:61:0", "statements": [ { "expression": { "baseExpression": { "baseExpression": { - "id": 2959, + "id": 2451, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53484:18:1", + "referencedDeclaration": 2104, + "src": "55003:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2961, + "id": 2453, "indexExpression": { - "id": 2960, + "id": 2452, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2951, - "src": "53503:5:1", + "referencedDeclaration": 2443, + "src": "55022:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30028,20 +30028,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:25:1", + "src": "55003:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2963, + "id": 2455, "indexExpression": { - "id": 2962, + "id": 2454, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2953, - "src": "53510:8:1", + "referencedDeclaration": 2445, + "src": "55029:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30052,50 +30052,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:35:1", + "src": "55003:35:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2958, - "id": 2964, + "functionReturnParameters": 2450, + "id": 2456, "nodeType": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ] }, "documentation": { - "id": 2949, + "id": 2441, "nodeType": "StructuredDocumentation", - "src": "53304:55:1", + "src": "54819:57:0", "text": " @dev See {IERC721-isApprovedForAll}." }, "functionSelector": "e985e9c5", - "id": 2966, + "id": 2458, "implemented": true, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2955, + "id": 2447, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53443:8:1" + "src": "54961:8:0" }, "parameters": { - "id": 2954, + "id": 2446, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2951, + "id": 2443, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53390:13:1", + "scope": 2458, + "src": "54908:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30103,10 +30103,10 @@ "typeString": "address" }, "typeName": { - "id": 2950, + "id": 2442, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53390:7:1", + "src": "54908:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30117,12 +30117,12 @@ }, { "constant": false, - "id": 2953, + "id": 2445, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53405:16:1", + "scope": 2458, + "src": "54923:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30130,10 +30130,10 @@ "typeString": "address" }, "typeName": { - "id": 2952, + "id": 2444, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53405:7:1", + "src": "54923:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30143,20 +30143,20 @@ "visibility": "internal" } ], - "src": "53389:33:1" + "src": "54907:33:0" }, "returnParameters": { - "id": 2958, + "id": 2450, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2957, + "id": 2449, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53461:4:1", + "scope": 2458, + "src": "54979:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30164,10 +30164,10 @@ "typeString": "bool" }, "typeName": { - "id": 2956, + "id": 2448, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53461:4:1", + "src": "54979:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30176,22 +30176,22 @@ "visibility": "internal" } ], - "src": "53460:6:1" + "src": "54978:6:0" }, - "scope": 3498, - "src": "53364:162:1", + "scope": 2990, + "src": "54882:164:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 608 + 100 ], "body": { - "id": 2992, + "id": 2484, "nodeType": "Block", - "src": "53677:211:1", + "src": "55202:216:0", "statements": [ { "expression": { @@ -30202,18 +30202,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2979, + "id": 2471, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53766:10:1", + "referencedDeclaration": 10, + "src": "55293:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2980, + "id": 2472, "isConstant": false, "isLValue": false, "isPure": false, @@ -30221,7 +30221,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53766:12:1", + "src": "55293:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30229,12 +30229,12 @@ } }, { - "id": 2981, + "id": 2473, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53780:7:1", + "referencedDeclaration": 2465, + "src": "55307:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30252,18 +30252,18 @@ "typeString": "uint256" } ], - "id": 2978, + "id": 2470, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "53747:18:1", + "referencedDeclaration": 2619, + "src": "55274:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 2982, + "id": 2474, "isConstant": false, "isLValue": false, "isPure": false, @@ -30271,7 +30271,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53747:41:1", + "src": "55274:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30280,14 +30280,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 2983, + "id": 2475, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53790:51:1", + "src": "55317:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30306,7 +30306,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 2977, + "id": 2469, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30314,13 +30314,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53739:7:1", + "src": "55266:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2984, + "id": 2476, "isConstant": false, "isLValue": false, "isPure": false, @@ -30328,51 +30328,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53739:103:1", + "src": "55266:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2985, + "id": 2477, "nodeType": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "expression": { "arguments": [ { - "id": 2987, + "id": 2479, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2969, - "src": "53863:4:1", + "referencedDeclaration": 2461, + "src": "55392:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2988, + "id": 2480, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2971, - "src": "53869:2:1", + "referencedDeclaration": 2463, + "src": "55398:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2989, + "id": 2481, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53873:7:1", + "referencedDeclaration": 2465, + "src": "55402:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30394,18 +30394,18 @@ "typeString": "uint256" } ], - "id": 2986, + "id": 2478, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "53853:9:1", + "referencedDeclaration": 2863, + "src": "55382:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 2990, + "id": 2482, "isConstant": false, "isLValue": false, "isPure": false, @@ -30413,50 +30413,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53853:28:1", + "src": "55382:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2991, + "id": 2483, "nodeType": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ] }, "documentation": { - "id": 2967, + "id": 2459, "nodeType": "StructuredDocumentation", - "src": "53532:51:1", + "src": "55054:53:0", "text": " @dev See {IERC721-transferFrom}." }, "functionSelector": "23b872dd", - "id": 2993, + "id": 2485, "implemented": true, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 2975, + "id": 2467, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53668:8:1" + "src": "55193:8:0" }, "parameters": { - "id": 2974, + "id": 2466, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2969, + "id": 2461, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53610:12:1", + "scope": 2485, + "src": "55135:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30464,10 +30464,10 @@ "typeString": "address" }, "typeName": { - "id": 2968, + "id": 2460, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53610:7:1", + "src": "55135:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30478,12 +30478,12 @@ }, { "constant": false, - "id": 2971, + "id": 2463, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53624:10:1", + "scope": 2485, + "src": "55149:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30491,10 +30491,10 @@ "typeString": "address" }, "typeName": { - "id": 2970, + "id": 2462, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53624:7:1", + "src": "55149:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30505,12 +30505,12 @@ }, { "constant": false, - "id": 2973, + "id": 2465, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53636:15:1", + "scope": 2485, + "src": "55161:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30518,10 +30518,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2972, + "id": 2464, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "53636:7:1", + "src": "55161:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30530,63 +30530,63 @@ "visibility": "internal" } ], - "src": "53609:43:1" + "src": "55134:43:0" }, "returnParameters": { - "id": 2976, + "id": 2468, "nodeType": "ParameterList", "parameters": [], - "src": "53677:0:1" + "src": "55202:0:0" }, - "scope": 3498, - "src": "53588:300:1", + "scope": 2990, + "src": "55113:305:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 598 + 90 ], "body": { - "id": 3011, + "id": 2503, "nodeType": "Block", - "src": "54047:56:1", + "src": "55582:58:0", "statements": [ { "expression": { "arguments": [ { - "id": 3005, + "id": 2497, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2996, - "src": "54074:4:1", + "referencedDeclaration": 2488, + "src": "55610:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3006, + "id": 2498, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2998, - "src": "54080:2:1", + "referencedDeclaration": 2490, + "src": "55616:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3007, + "id": 2499, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3000, - "src": "54084:7:1", + "referencedDeclaration": 2492, + "src": "55620:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30594,14 +30594,14 @@ }, { "hexValue": "", - "id": 3008, + "id": 2500, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54093:2:1", + "src": "55629:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -30628,21 +30628,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3004, + "id": 2496, "name": "safeTransferFrom", "nodeType": "Identifier", "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, - "src": "54057:16:1", + "referencedDeclaration": 2534, + "src": "55593:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3009, + "id": 2501, "isConstant": false, "isLValue": false, "isPure": false, @@ -30650,50 +30650,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54057:39:1", + "src": "55593:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3010, + "id": 2502, "nodeType": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ] }, "documentation": { - "id": 2994, + "id": 2486, "nodeType": "StructuredDocumentation", - "src": "53894:55:1", + "src": "55426:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "42842e0e", - "id": 3012, + "id": 2504, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3002, + "id": 2494, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54038:8:1" + "src": "55573:8:0" }, "parameters": { - "id": 3001, + "id": 2493, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2996, + "id": 2488, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53980:12:1", + "scope": 2504, + "src": "55515:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30701,10 +30701,10 @@ "typeString": "address" }, "typeName": { - "id": 2995, + "id": 2487, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53980:7:1", + "src": "55515:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30715,12 +30715,12 @@ }, { "constant": false, - "id": 2998, + "id": 2490, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53994:10:1", + "scope": 2504, + "src": "55529:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30728,10 +30728,10 @@ "typeString": "address" }, "typeName": { - "id": 2997, + "id": 2489, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53994:7:1", + "src": "55529:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30742,12 +30742,12 @@ }, { "constant": false, - "id": 3000, + "id": 2492, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "54006:15:1", + "scope": 2504, + "src": "55541:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30755,10 +30755,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2999, + "id": 2491, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54006:7:1", + "src": "55541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30767,28 +30767,28 @@ "visibility": "internal" } ], - "src": "53979:43:1" + "src": "55514:43:0" }, "returnParameters": { - "id": 3003, + "id": 2495, "nodeType": "ParameterList", "parameters": [], - "src": "54047:0:1" + "src": "55582:0:0" }, - "scope": 3498, - "src": "53954:149:1", + "scope": 2990, + "src": "55489:151:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 654 + 146 ], "body": { - "id": 3041, + "id": 2533, "nodeType": "Block", - "src": "54282:169:1", + "src": "55824:172:0", "statements": [ { "expression": { @@ -30799,18 +30799,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3027, + "id": 2519, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "54319:10:1", + "referencedDeclaration": 10, + "src": "55862:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3028, + "id": 2520, "isConstant": false, "isLValue": false, "isPure": false, @@ -30818,7 +30818,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54319:12:1", + "src": "55862:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30826,12 +30826,12 @@ } }, { - "id": 3029, + "id": 2521, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54333:7:1", + "referencedDeclaration": 2511, + "src": "55876:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30849,18 +30849,18 @@ "typeString": "uint256" } ], - "id": 3026, + "id": 2518, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "54300:18:1", + "referencedDeclaration": 2619, + "src": "55843:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 3030, + "id": 2522, "isConstant": false, "isLValue": false, "isPure": false, @@ -30868,7 +30868,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54300:41:1", + "src": "55843:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30877,14 +30877,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 3031, + "id": 2523, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54343:51:1", + "src": "55886:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30903,7 +30903,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 3025, + "id": 2517, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30911,13 +30911,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "54292:7:1", + "src": "55835:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3032, + "id": 2524, "isConstant": false, "isLValue": false, "isPure": false, @@ -30925,63 +30925,63 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54292:103:1", + "src": "55835:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3033, + "id": 2525, "nodeType": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "expression": { "arguments": [ { - "id": 3035, + "id": 2527, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3015, - "src": "54419:4:1", + "referencedDeclaration": 2507, + "src": "55963:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3036, + "id": 2528, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3017, - "src": "54425:2:1", + "referencedDeclaration": 2509, + "src": "55969:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3037, + "id": 2529, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54429:7:1", + "referencedDeclaration": 2511, + "src": "55973:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3038, + "id": 2530, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3021, - "src": "54438:5:1", + "referencedDeclaration": 2513, + "src": "55982:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31007,18 +31007,18 @@ "typeString": "bytes memory" } ], - "id": 3034, + "id": 2526, "name": "_safeTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3071, - "src": "54405:13:1", + "referencedDeclaration": 2563, + "src": "55949:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3039, + "id": 2531, "isConstant": false, "isLValue": false, "isPure": false, @@ -31026,50 +31026,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54405:39:1", + "src": "55949:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3040, + "id": 2532, "nodeType": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ] }, "documentation": { - "id": 3013, + "id": 2505, "nodeType": "StructuredDocumentation", - "src": "54109:55:1", + "src": "55648:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "b88d4fde", - "id": 3042, + "id": 2534, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3023, + "id": 2515, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54273:8:1" + "src": "55815:8:0" }, "parameters": { - "id": 3022, + "id": 2514, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3015, + "id": 2507, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54195:12:1", + "scope": 2534, + "src": "55737:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31077,10 +31077,10 @@ "typeString": "address" }, "typeName": { - "id": 3014, + "id": 2506, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54195:7:1", + "src": "55737:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31091,12 +31091,12 @@ }, { "constant": false, - "id": 3017, + "id": 2509, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54209:10:1", + "scope": 2534, + "src": "55751:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31104,10 +31104,10 @@ "typeString": "address" }, "typeName": { - "id": 3016, + "id": 2508, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54209:7:1", + "src": "55751:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31118,12 +31118,12 @@ }, { "constant": false, - "id": 3019, + "id": 2511, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54221:15:1", + "scope": 2534, + "src": "55763:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31131,10 +31131,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3018, + "id": 2510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54221:7:1", + "src": "55763:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31144,12 +31144,12 @@ }, { "constant": false, - "id": 3021, + "id": 2513, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54238:18:1", + "scope": 2534, + "src": "55780:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31157,10 +31157,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3020, + "id": 2512, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "54238:5:1", + "src": "55780:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31169,60 +31169,60 @@ "visibility": "internal" } ], - "src": "54194:63:1" + "src": "55736:63:0" }, "returnParameters": { - "id": 3024, + "id": 2516, "nodeType": "ParameterList", "parameters": [], - "src": "54282:0:1" + "src": "55824:0:0" }, - "scope": 3498, - "src": "54169:282:1", + "scope": 2990, + "src": "55711:285:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "body": { - "id": 3070, + "id": 2562, "nodeType": "Block", - "src": "55416:166:1", + "src": "56981:169:0", "statements": [ { "expression": { "arguments": [ { - "id": 3055, + "id": 2547, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55436:4:1", + "referencedDeclaration": 2537, + "src": "57002:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3056, + "id": 2548, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55442:2:1", + "referencedDeclaration": 2539, + "src": "57008:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3057, + "id": 2549, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55446:7:1", + "referencedDeclaration": 2541, + "src": "57012:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31244,18 +31244,18 @@ "typeString": "uint256" } ], - "id": 3054, + "id": 2546, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "55426:9:1", + "referencedDeclaration": 2863, + "src": "56992:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3058, + "id": 2550, "isConstant": false, "isLValue": false, "isPure": false, @@ -31263,16 +31263,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55426:28:1", + "src": "56992:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3059, + "id": 2551, "nodeType": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "expression": { @@ -31280,48 +31280,48 @@ { "arguments": [ { - "id": 3062, + "id": 2554, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55495:4:1", + "referencedDeclaration": 2537, + "src": "57062:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3063, + "id": 2555, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55501:2:1", + "referencedDeclaration": 2539, + "src": "57068:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3064, + "id": 2556, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55505:7:1", + "referencedDeclaration": 2541, + "src": "57072:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3065, + "id": 2557, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3051, - "src": "55514:5:1", + "referencedDeclaration": 2543, + "src": "57081:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31347,18 +31347,18 @@ "typeString": "bytes memory" } ], - "id": 3061, + "id": 2553, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "55472:22:1", + "referencedDeclaration": 2954, + "src": "57039:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3066, + "id": 2558, "isConstant": false, "isLValue": false, "isPure": false, @@ -31366,7 +31366,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55472:48:1", + "src": "57039:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31375,14 +31375,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3067, + "id": 2559, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "55522:52:1", + "src": "57089:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -31401,7 +31401,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3060, + "id": 2552, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31409,13 +31409,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "55464:7:1", + "src": "57031:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3068, + "id": 2560, "isConstant": false, "isLValue": false, "isPure": false, @@ -31423,43 +31423,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55464:111:1", + "src": "57031:111:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3069, + "id": 2561, "nodeType": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ] }, "documentation": { - "id": 3043, + "id": 2535, "nodeType": "StructuredDocumentation", - "src": "54457:851:1", + "src": "56004:868:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3071, + "id": 2563, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3052, + "id": 2544, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3045, + "id": 2537, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55336:12:1", + "scope": 2563, + "src": "56901:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31467,10 +31467,10 @@ "typeString": "address" }, "typeName": { - "id": 3044, + "id": 2536, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55336:7:1", + "src": "56901:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31481,12 +31481,12 @@ }, { "constant": false, - "id": 3047, + "id": 2539, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55350:10:1", + "scope": 2563, + "src": "56915:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31494,10 +31494,10 @@ "typeString": "address" }, "typeName": { - "id": 3046, + "id": 2538, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55350:7:1", + "src": "56915:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31508,12 +31508,12 @@ }, { "constant": false, - "id": 3049, + "id": 2541, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55362:15:1", + "scope": 2563, + "src": "56927:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31521,10 +31521,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3048, + "id": 2540, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55362:7:1", + "src": "56927:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31534,12 +31534,12 @@ }, { "constant": false, - "id": 3051, + "id": 2543, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55379:18:1", + "scope": 2563, + "src": "56944:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31547,10 +31547,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3050, + "id": 2542, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "55379:5:1", + "src": "56944:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31559,36 +31559,36 @@ "visibility": "internal" } ], - "src": "55335:63:1" + "src": "56900:63:0" }, "returnParameters": { - "id": 3053, + "id": 2545, "nodeType": "ParameterList", "parameters": [], - "src": "55416:0:1" + "src": "56981:0:0" }, - "scope": 3498, - "src": "55313:269:1", + "scope": 2990, + "src": "56878:272:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3084, + "id": 2576, "nodeType": "Block", - "src": "55956:54:1", + "src": "57534:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 3081, + "id": 2573, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3074, - "src": "55995:7:1", + "referencedDeclaration": 2566, + "src": "57574:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31603,32 +31603,32 @@ } ], "expression": { - "id": 3079, + "id": 2571, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "55973:12:1", + "referencedDeclaration": 2094, + "src": "57552:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3080, + "id": 2572, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "contains", "nodeType": "MemberAccess", - "referencedDeclaration": 2326, - "src": "55973:21:1", + "referencedDeclaration": 1818, + "src": "57552:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" } }, - "id": 3082, + "id": 2574, "isConstant": false, "isLValue": false, "isPure": false, @@ -31636,44 +31636,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55973:30:1", + "src": "57552:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3078, - "id": 3083, + "functionReturnParameters": 2570, + "id": 2575, "nodeType": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ] }, "documentation": { - "id": 3072, + "id": 2564, "nodeType": "StructuredDocumentation", - "src": "55588:292:1", + "src": "57158:299:0", "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3085, + "id": 2577, "implemented": true, "kind": "function", "modifiers": [], "name": "_exists", "nodeType": "FunctionDefinition", "parameters": { - "id": 3075, + "id": 2567, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3074, + "id": 2566, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55902:15:1", + "scope": 2577, + "src": "57480:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31681,10 +31681,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3073, + "id": 2565, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55902:7:1", + "src": "57480:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31693,20 +31693,20 @@ "visibility": "internal" } ], - "src": "55901:17:1" + "src": "57479:17:0" }, "returnParameters": { - "id": 3078, + "id": 2570, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3077, + "id": 2569, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55950:4:1", + "scope": 2577, + "src": "57528:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31714,10 +31714,10 @@ "typeString": "bool" }, "typeName": { - "id": 3076, + "id": 2568, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "55950:4:1", + "src": "57528:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -31726,19 +31726,19 @@ "visibility": "internal" } ], - "src": "55949:6:1" + "src": "57527:6:0" }, - "scope": 3498, - "src": "55885:125:1", + "scope": 2990, + "src": "57463:127:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3126, + "id": 2618, "nodeType": "Block", - "src": "56267:252:1", + "src": "57856:256:0", "statements": [ { "expression": { @@ -31746,12 +31746,12 @@ { "arguments": [ { - "id": 3097, + "id": 2589, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56293:7:1", + "referencedDeclaration": 2582, + "src": "57883:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31765,18 +31765,18 @@ "typeString": "uint256" } ], - "id": 3096, + "id": 2588, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "56285:7:1", + "referencedDeclaration": 2577, + "src": "57875:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3098, + "id": 2590, "isConstant": false, "isLValue": false, "isPure": false, @@ -31784,7 +31784,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56285:16:1", + "src": "57875:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31793,14 +31793,14 @@ }, { "hexValue": "4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 3099, + "id": 2591, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56303:46:1", + "src": "57893:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5797d1ccb08b83980dd0c07ea40d8f6a64d35fff736a19bdd17522954cb0899c", "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" @@ -31819,7 +31819,7 @@ "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" } ], - "id": 3095, + "id": 2587, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31827,13 +31827,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "56277:7:1", + "src": "57867:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3100, + "id": 2592, "isConstant": false, "isLValue": false, "isPure": false, @@ -31841,30 +31841,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56277:73:1", + "src": "57867:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3101, + "id": 2593, "nodeType": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "assignments": [ - 3103 + 2595 ], "declarations": [ { "constant": false, - "id": 3103, + "id": 2595, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3126, - "src": "56360:13:1", + "scope": 2618, + "src": "57951:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31872,10 +31872,10 @@ "typeString": "address" }, "typeName": { - "id": 3102, + "id": 2594, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56360:7:1", + "src": "57951:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31885,16 +31885,16 @@ "visibility": "internal" } ], - "id": 3108, + "id": 2600, "initialValue": { "arguments": [ { - "id": 3106, + "id": 2598, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56391:7:1", + "referencedDeclaration": 2582, + "src": "57982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31909,32 +31909,32 @@ } ], "expression": { - "id": 3104, + "id": 2596, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56376:6:1", + "referencedDeclaration": 2990, + "src": "57967:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3105, + "id": 2597, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "56376:14:1", + "referencedDeclaration": 2194, + "src": "57967:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3107, + "id": 2599, "isConstant": false, "isLValue": false, "isPure": false, @@ -31942,7 +31942,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56376:23:1", + "src": "57967:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -31950,7 +31950,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "expression": { @@ -31960,7 +31960,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3123, + "id": 2615, "isConstant": false, "isLValue": false, "isPure": false, @@ -31970,7 +31970,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3117, + "id": 2609, "isConstant": false, "isLValue": false, "isPure": false, @@ -31980,18 +31980,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3111, + "id": 2603, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3109, + "id": 2601, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56417:7:1", + "referencedDeclaration": 2580, + "src": "58009:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32000,18 +32000,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3110, + "id": 2602, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56428:5:1", + "referencedDeclaration": 2595, + "src": "58020:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56417:16:1", + "src": "58009:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32024,7 +32024,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3116, + "id": 2608, "isConstant": false, "isLValue": false, "isPure": false, @@ -32032,12 +32032,12 @@ "leftExpression": { "arguments": [ { - "id": 3113, + "id": 2605, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56449:7:1", + "referencedDeclaration": 2582, + "src": "58041:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32051,18 +32051,18 @@ "typeString": "uint256" } ], - "id": 3112, + "id": 2604, "name": "getApproved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "56437:11:1", + "referencedDeclaration": 2406, + "src": "58029:11:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3114, + "id": 2606, "isConstant": false, "isLValue": false, "isPure": false, @@ -32070,7 +32070,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56437:20:1", + "src": "58029:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -32080,24 +32080,24 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3115, + "id": 2607, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56461:7:1", + "referencedDeclaration": 2580, + "src": "58053:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56437:31:1", + "src": "58029:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:51:1", + "src": "58009:51:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32108,24 +32108,24 @@ "rightExpression": { "arguments": [ { - "id": 3120, + "id": 2612, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56496:5:1", + "referencedDeclaration": 2595, + "src": "58088:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3121, + "id": 2613, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56503:7:1", + "referencedDeclaration": 2580, + "src": "58095:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32144,32 +32144,32 @@ } ], "expression": { - "id": 3118, + "id": 2610, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56472:6:1", + "referencedDeclaration": 2990, + "src": "58064:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3119, + "id": 2611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "56472:23:1", + "referencedDeclaration": 2458, + "src": "58064:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 3122, + "id": 2614, "isConstant": false, "isLValue": false, "isPure": false, @@ -32177,64 +32177,64 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56472:39:1", + "src": "58064:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:94:1", + "src": "58009:94:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3124, + "id": 2616, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "56416:96:1", + "src": "58008:96:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3094, - "id": 3125, + "functionReturnParameters": 2586, + "id": 2617, "nodeType": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ] }, "documentation": { - "id": 3086, + "id": 2578, "nodeType": "StructuredDocumentation", - "src": "56016:147:1", + "src": "57598:153:0", "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3127, + "id": 2619, "implemented": true, "kind": "function", "modifiers": [], "name": "_isApprovedOrOwner", "nodeType": "FunctionDefinition", "parameters": { - "id": 3091, + "id": 2583, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3088, + "id": 2580, "mutability": "mutable", "name": "spender", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56196:15:1", + "scope": 2619, + "src": "57785:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32242,10 +32242,10 @@ "typeString": "address" }, "typeName": { - "id": 3087, + "id": 2579, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56196:7:1", + "src": "57785:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32256,12 +32256,12 @@ }, { "constant": false, - "id": 3090, + "id": 2582, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56213:15:1", + "scope": 2619, + "src": "57802:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32269,10 +32269,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3089, + "id": 2581, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56213:7:1", + "src": "57802:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32281,20 +32281,20 @@ "visibility": "internal" } ], - "src": "56195:34:1" + "src": "57784:34:0" }, "returnParameters": { - "id": 3094, + "id": 2586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3093, + "id": 2585, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56261:4:1", + "scope": 2619, + "src": "57850:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32302,10 +32302,10 @@ "typeString": "bool" }, "typeName": { - "id": 3092, + "id": 2584, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "56261:4:1", + "src": "57850:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32314,42 +32314,42 @@ "visibility": "internal" } ], - "src": "56260:6:1" + "src": "57849:6:0" }, - "scope": 3498, - "src": "56168:351:1", + "scope": 2990, + "src": "57757:355:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3141, + "id": 2633, "nodeType": "Block", - "src": "56915:43:1", + "src": "58520:45:0", "statements": [ { "expression": { "arguments": [ { - "id": 3136, + "id": 2628, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3130, - "src": "56935:2:1", + "referencedDeclaration": 2622, + "src": "58541:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3137, + "id": 2629, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3132, - "src": "56939:7:1", + "referencedDeclaration": 2624, + "src": "58545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32357,14 +32357,14 @@ }, { "hexValue": "", - "id": 3138, + "id": 2630, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56948:2:1", + "src": "58554:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -32387,21 +32387,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3135, + "id": 2627, "name": "_safeMint", "nodeType": "Identifier", "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, - "src": "56925:9:1", + "referencedDeclaration": 2663, + "src": "58531:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,uint256,bytes memory)" } }, - "id": 3139, + "id": 2631, "isConstant": false, "isLValue": false, "isPure": false, @@ -32409,43 +32409,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56925:26:1", + "src": "58531:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3140, + "id": 2632, "nodeType": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ] }, "documentation": { - "id": 3128, + "id": 2620, "nodeType": "StructuredDocumentation", - "src": "56525:320:1", + "src": "58120:329:0", "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3142, + "id": 2634, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3133, + "id": 2625, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3130, + "id": 2622, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56869:10:1", + "scope": 2634, + "src": "58474:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32453,10 +32453,10 @@ "typeString": "address" }, "typeName": { - "id": 3129, + "id": 2621, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56869:7:1", + "src": "58474:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32467,12 +32467,12 @@ }, { "constant": false, - "id": 3132, + "id": 2624, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56881:15:1", + "scope": 2634, + "src": "58486:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32480,10 +32480,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3131, + "id": 2623, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56881:7:1", + "src": "58486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32492,48 +32492,48 @@ "visibility": "internal" } ], - "src": "56868:29:1" + "src": "58473:29:0" }, "returnParameters": { - "id": 3134, + "id": 2626, "nodeType": "ParameterList", "parameters": [], - "src": "56915:0:1" + "src": "58520:0:0" }, - "scope": 3498, - "src": "56850:108:1", + "scope": 2990, + "src": "58455:110:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3170, + "id": 2662, "nodeType": "Block", - "src": "57264:162:1", + "src": "58877:165:0", "statements": [ { "expression": { "arguments": [ { - "id": 3153, + "id": 2645, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57280:2:1", + "referencedDeclaration": 2637, + "src": "58894:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3154, + "id": 2646, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57284:7:1", + "referencedDeclaration": 2639, + "src": "58898:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32551,18 +32551,18 @@ "typeString": "uint256" } ], - "id": 3152, + "id": 2644, "name": "_mint", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3230, - "src": "57274:5:1", + "referencedDeclaration": 2722, + "src": "58888:5:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3155, + "id": 2647, "isConstant": false, "isLValue": false, "isPure": false, @@ -32570,16 +32570,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57274:18:1", + "src": "58888:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3156, + "id": 2648, "nodeType": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "expression": { @@ -32590,14 +32590,14 @@ "arguments": [ { "hexValue": "30", - "id": 3161, + "id": 2653, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57341:1:1", + "src": "58956:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -32612,26 +32612,26 @@ "typeString": "int_const 0" } ], - "id": 3160, + "id": 2652, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3159, + "id": 2651, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": {} } }, - "id": 3162, + "id": 2654, "isConstant": false, "isLValue": false, "isPure": true, @@ -32639,7 +32639,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57333:10:1", + "src": "58948:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -32647,36 +32647,36 @@ } }, { - "id": 3163, + "id": 2655, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57345:2:1", + "referencedDeclaration": 2637, + "src": "58960:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3164, + "id": 2656, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57349:7:1", + "referencedDeclaration": 2639, + "src": "58964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3165, + "id": 2657, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3149, - "src": "57358:5:1", + "referencedDeclaration": 2641, + "src": "58973:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -32702,18 +32702,18 @@ "typeString": "bytes memory" } ], - "id": 3158, + "id": 2650, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "57310:22:1", + "referencedDeclaration": 2954, + "src": "58925:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3166, + "id": 2658, "isConstant": false, "isLValue": false, "isPure": false, @@ -32721,7 +32721,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57310:54:1", + "src": "58925:54:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -32730,14 +32730,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3167, + "id": 2659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57366:52:1", + "src": "58981:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -32756,7 +32756,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3157, + "id": 2649, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -32764,13 +32764,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57302:7:1", + "src": "58917:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3168, + "id": 2660, "isConstant": false, "isLValue": false, "isPure": false, @@ -32778,43 +32778,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57302:117:1", + "src": "58917:117:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3169, + "id": 2661, "nodeType": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ] }, "documentation": { - "id": 3143, + "id": 2635, "nodeType": "StructuredDocumentation", - "src": "56964:210:1", + "src": "58573:213:0", "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3171, + "id": 2663, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3150, + "id": 2642, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3145, + "id": 2637, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57198:10:1", + "scope": 2663, + "src": "58811:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32822,10 +32822,10 @@ "typeString": "address" }, "typeName": { - "id": 3144, + "id": 2636, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57198:7:1", + "src": "58811:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32836,12 +32836,12 @@ }, { "constant": false, - "id": 3147, + "id": 2639, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57210:15:1", + "scope": 2663, + "src": "58823:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32849,10 +32849,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3146, + "id": 2638, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57210:7:1", + "src": "58823:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32862,12 +32862,12 @@ }, { "constant": false, - "id": 3149, + "id": 2641, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57227:18:1", + "scope": 2663, + "src": "58840:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -32875,10 +32875,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3148, + "id": 2640, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "57227:5:1", + "src": "58840:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -32887,25 +32887,25 @@ "visibility": "internal" } ], - "src": "57197:49:1" + "src": "58810:49:0" }, "returnParameters": { - "id": 3151, + "id": 2643, "nodeType": "ParameterList", "parameters": [], - "src": "57264:0:1" + "src": "58877:0:0" }, - "scope": 3498, - "src": "57179:247:1", + "scope": 2990, + "src": "58792:250:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3229, + "id": 2721, "nodeType": "Block", - "src": "57809:332:1", + "src": "59439:343:0", "statements": [ { "expression": { @@ -32915,18 +32915,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3185, + "id": 2677, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3180, + "id": 2672, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57827:2:1", + "referencedDeclaration": 2666, + "src": "59458:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32938,14 +32938,14 @@ "arguments": [ { "hexValue": "30", - "id": 3183, + "id": 2675, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57841:1:1", + "src": "59472:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -32960,26 +32960,26 @@ "typeString": "int_const 0" } ], - "id": 3182, + "id": 2674, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3181, + "id": 2673, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": {} } }, - "id": 3184, + "id": 2676, "isConstant": false, "isLValue": false, "isPure": true, @@ -32987,14 +32987,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57833:10:1", + "src": "59464:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "57827:16:1", + "src": "59458:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -33002,14 +33002,14 @@ }, { "hexValue": "4552433732313a206d696e7420746f20746865207a65726f2061646472657373", - "id": 3186, + "id": 2678, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57845:34:1", + "src": "59476:34:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6", "typeString": "literal_string \"ERC721: mint to the zero address\"" @@ -33028,7 +33028,7 @@ "typeString": "literal_string \"ERC721: mint to the zero address\"" } ], - "id": 3179, + "id": 2671, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33036,13 +33036,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57819:7:1", + "src": "59450:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3187, + "id": 2679, "isConstant": false, "isLValue": false, "isPure": false, @@ -33050,22 +33050,22 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57819:61:1", + "src": "59450:61:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3188, + "id": 2680, "nodeType": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "expression": { "arguments": [ { - "id": 3193, + "id": 2685, "isConstant": false, "isLValue": false, "isPure": false, @@ -33073,16 +33073,16 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "57898:17:1", + "src": "59530:17:0", "subExpression": { "arguments": [ { - "id": 3191, + "id": 2683, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57907:7:1", + "referencedDeclaration": 2668, + "src": "59539:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33096,18 +33096,18 @@ "typeString": "uint256" } ], - "id": 3190, + "id": 2682, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "57899:7:1", + "referencedDeclaration": 2577, + "src": "59531:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3192, + "id": 2684, "isConstant": false, "isLValue": false, "isPure": false, @@ -33115,7 +33115,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57899:16:1", + "src": "59531:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -33129,14 +33129,14 @@ }, { "hexValue": "4552433732313a20746f6b656e20616c7265616479206d696e746564", - "id": 3194, + "id": 2686, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57917:30:1", + "src": "59549:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57", "typeString": "literal_string \"ERC721: token already minted\"" @@ -33155,7 +33155,7 @@ "typeString": "literal_string \"ERC721: token already minted\"" } ], - "id": 3189, + "id": 2681, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33163,13 +33163,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57890:7:1", + "src": "59522:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3195, + "id": 2687, "isConstant": false, "isLValue": false, "isPure": false, @@ -33177,16 +33177,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57890:58:1", + "src": "59522:58:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3196, + "id": 2688, "nodeType": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "expression": { @@ -33195,14 +33195,14 @@ "arguments": [ { "hexValue": "30", - "id": 3200, + "id": 2692, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57988:1:1", + "src": "59622:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33217,26 +33217,26 @@ "typeString": "int_const 0" } ], - "id": 3199, + "id": 2691, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3198, + "id": 2690, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": {} } }, - "id": 3201, + "id": 2693, "isConstant": false, "isLValue": false, "isPure": true, @@ -33244,7 +33244,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57980:10:1", + "src": "59614:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33252,24 +33252,24 @@ } }, { - "id": 3202, + "id": 2694, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57992:2:1", + "referencedDeclaration": 2666, + "src": "59626:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3203, + "id": 2695, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57996:7:1", + "referencedDeclaration": 2668, + "src": "59630:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33291,18 +33291,18 @@ "typeString": "uint256" } ], - "id": 3197, + "id": 2689, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "57959:20:1", + "referencedDeclaration": 2989, + "src": "59593:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3204, + "id": 2696, "isConstant": false, "isLValue": false, "isPure": false, @@ -33310,27 +33310,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57959:45:1", + "src": "59593:45:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3205, + "id": 2697, "nodeType": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "expression": { "arguments": [ { - "id": 3210, + "id": 2702, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58037:7:1", + "referencedDeclaration": 2668, + "src": "59673:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33346,25 +33346,25 @@ ], "expression": { "baseExpression": { - "id": 3206, + "id": 2698, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58015:13:1", + "referencedDeclaration": 2092, + "src": "59651:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3208, + "id": 2700, "indexExpression": { - "id": 3207, + "id": 2699, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58029:2:1", + "referencedDeclaration": 2666, + "src": "59665:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33375,27 +33375,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58015:17:1", + "src": "59651:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3209, + "id": 2701, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "58015:21:1", + "referencedDeclaration": 1338, + "src": "59651:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3211, + "id": 2703, "isConstant": false, "isLValue": false, "isPure": false, @@ -33403,39 +33403,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58015:30:1", + "src": "59651:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3212, + "id": 2704, "nodeType": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "expression": { "arguments": [ { - "id": 3216, + "id": 2708, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58073:7:1", + "referencedDeclaration": 2668, + "src": "59711:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3217, + "id": 2709, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58082:2:1", + "referencedDeclaration": 2666, + "src": "59720:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33454,32 +33454,32 @@ } ], "expression": { - "id": 3213, + "id": 2705, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58056:12:1", + "referencedDeclaration": 2094, + "src": "59694:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3215, + "id": 2707, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "58056:16:1", + "referencedDeclaration": 1778, + "src": "59694:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3218, + "id": 2710, "isConstant": false, "isLValue": false, "isPure": false, @@ -33487,16 +33487,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58056:29:1", + "src": "59694:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3219, + "id": 2711, "nodeType": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "eventCall": { @@ -33505,14 +33505,14 @@ "arguments": [ { "hexValue": "30", - "id": 3223, + "id": 2715, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58118:1:1", + "src": "59758:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33527,26 +33527,26 @@ "typeString": "int_const 0" } ], - "id": 3222, + "id": 2714, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3221, + "id": 2713, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": {} } }, - "id": 3224, + "id": 2716, "isConstant": false, "isLValue": false, "isPure": true, @@ -33554,7 +33554,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58110:10:1", + "src": "59750:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33562,24 +33562,24 @@ } }, { - "id": 3225, + "id": 2717, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58122:2:1", + "referencedDeclaration": 2666, + "src": "59762:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3226, + "id": 2718, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58126:7:1", + "referencedDeclaration": 2668, + "src": "59766:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33601,18 +33601,18 @@ "typeString": "uint256" } ], - "id": 3220, + "id": 2712, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58101:8:1", + "referencedDeclaration": 46, + "src": "59741:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3227, + "id": 2719, "isConstant": false, "isLValue": false, "isPure": false, @@ -33620,43 +33620,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58101:33:1", + "src": "59741:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3228, + "id": 2720, "nodeType": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ] }, "documentation": { - "id": 3172, + "id": 2664, "nodeType": "StructuredDocumentation", - "src": "57432:311:1", + "src": "59050:322:0", "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3230, + "id": 2722, "implemented": true, "kind": "function", "modifiers": [], "name": "_mint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3177, + "id": 2669, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3174, + "id": 2666, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57763:10:1", + "scope": 2722, + "src": "59393:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33664,10 +33664,10 @@ "typeString": "address" }, "typeName": { - "id": 3173, + "id": 2665, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57763:7:1", + "src": "59393:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33678,12 +33678,12 @@ }, { "constant": false, - "id": 3176, + "id": 2668, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57775:15:1", + "scope": 2722, + "src": "59405:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33691,10 +33691,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3175, + "id": 2667, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57775:7:1", + "src": "59405:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33703,39 +33703,39 @@ "visibility": "internal" } ], - "src": "57762:29:1" + "src": "59392:29:0" }, "returnParameters": { - "id": 3178, + "id": 2670, "nodeType": "ParameterList", "parameters": [], - "src": "57809:0:1" + "src": "59439:0:0" }, - "scope": 3498, - "src": "57748:393:1", + "scope": 2990, + "src": "59378:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3298, + "id": 2790, "nodeType": "Block", - "src": "58407:478:1", + "src": "60060:496:0", "statements": [ { "assignments": [ - 3237 + 2729 ], "declarations": [ { "constant": false, - "id": 3237, + "id": 2729, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3298, - "src": "58417:13:1", + "scope": 2790, + "src": "60071:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33743,10 +33743,10 @@ "typeString": "address" }, "typeName": { - "id": 3236, + "id": 2728, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58417:7:1", + "src": "60071:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33756,16 +33756,16 @@ "visibility": "internal" } ], - "id": 3242, + "id": 2734, "initialValue": { "arguments": [ { - "id": 3240, + "id": 2732, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58448:7:1", + "referencedDeclaration": 2725, + "src": "60102:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33780,32 +33780,32 @@ } ], "expression": { - "id": 3238, + "id": 2730, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "58433:6:1", + "referencedDeclaration": 2990, + "src": "60087:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3239, + "id": 2731, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "58433:14:1", + "referencedDeclaration": 2194, + "src": "60087:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3241, + "id": 2733, "isConstant": false, "isLValue": false, "isPure": false, @@ -33813,7 +33813,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58433:23:1", + "src": "60087:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -33821,18 +33821,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "expression": { "arguments": [ { - "id": 3244, + "id": 2736, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58506:5:1", + "referencedDeclaration": 2729, + "src": "60162:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33842,14 +33842,14 @@ "arguments": [ { "hexValue": "30", - "id": 3247, + "id": 2739, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58521:1:1", + "src": "60177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33864,26 +33864,26 @@ "typeString": "int_const 0" } ], - "id": 3246, + "id": 2738, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3245, + "id": 2737, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": {} } }, - "id": 3248, + "id": 2740, "isConstant": false, "isLValue": false, "isPure": true, @@ -33891,7 +33891,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58513:10:1", + "src": "60169:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33899,12 +33899,12 @@ } }, { - "id": 3249, + "id": 2741, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58525:7:1", + "referencedDeclaration": 2725, + "src": "60181:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33926,18 +33926,18 @@ "typeString": "uint256" } ], - "id": 3243, + "id": 2735, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "58485:20:1", + "referencedDeclaration": 2989, + "src": "60141:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3250, + "id": 2742, "isConstant": false, "isLValue": false, "isPure": false, @@ -33945,16 +33945,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58485:48:1", + "src": "60141:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3251, + "id": 2743, "nodeType": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "expression": { @@ -33963,14 +33963,14 @@ "arguments": [ { "hexValue": "30", - "id": 3255, + "id": 2747, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58588:1:1", + "src": "60247:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33985,26 +33985,26 @@ "typeString": "int_const 0" } ], - "id": 3254, + "id": 2746, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3253, + "id": 2745, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": {} } }, - "id": 3256, + "id": 2748, "isConstant": false, "isLValue": false, "isPure": true, @@ -34012,7 +34012,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58580:10:1", + "src": "60239:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34020,12 +34020,12 @@ } }, { - "id": 3257, + "id": 2749, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58592:7:1", + "referencedDeclaration": 2725, + "src": "60251:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34043,18 +34043,18 @@ "typeString": "uint256" } ], - "id": 3252, + "id": 2744, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "58571:8:1", + "referencedDeclaration": 2978, + "src": "60230:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3258, + "id": 2750, "isConstant": false, "isLValue": false, "isPure": false, @@ -34062,16 +34062,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58571:29:1", + "src": "60230:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3259, + "id": 2751, "nodeType": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "condition": { @@ -34079,7 +34079,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3268, + "id": 2760, "isConstant": false, "isLValue": false, "isPure": false, @@ -34089,25 +34089,25 @@ "arguments": [ { "baseExpression": { - "id": 3262, + "id": 2754, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58656:10:1", + "referencedDeclaration": 2112, + "src": "60318:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3264, + "id": 2756, "indexExpression": { - "id": 3263, + "id": 2755, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58667:7:1", + "referencedDeclaration": 2725, + "src": "60329:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34118,7 +34118,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58656:19:1", + "src": "60318:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34132,26 +34132,26 @@ "typeString": "string storage ref" } ], - "id": 3261, + "id": 2753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 3260, + "id": 2752, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": {} } }, - "id": 3265, + "id": 2757, "isConstant": false, "isLValue": false, "isPure": false, @@ -34159,21 +34159,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58650:26:1", + "src": "60312:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes storage pointer" } }, - "id": 3266, + "id": 2758, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "58650:33:1", + "src": "60312:33:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34183,37 +34183,37 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 3267, + "id": 2759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58687:1:1", + "src": "60349:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "58650:38:1", + "src": "60312:38:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3275, + "id": 2767, "nodeType": "IfStatement", - "src": "58646:95:1", + "src": "60308:97:0", "trueBody": { - "id": 3274, + "id": 2766, "nodeType": "Block", - "src": "58690:51:1", + "src": "60352:53:0", "statements": [ { "expression": { - "id": 3272, + "id": 2764, "isConstant": false, "isLValue": false, "isPure": false, @@ -34221,28 +34221,28 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "58704:26:1", + "src": "60367:26:0", "subExpression": { "baseExpression": { - "id": 3269, + "id": 2761, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58711:10:1", + "referencedDeclaration": 2112, + "src": "60374:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3271, + "id": 2763, "indexExpression": { - "id": 3270, + "id": 2762, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58722:7:1", + "referencedDeclaration": 2725, + "src": "60385:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34253,7 +34253,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "58711:19:1", + "src": "60374:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34264,9 +34264,9 @@ "typeString": "tuple()" } }, - "id": 3273, + "id": 2765, "nodeType": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ] } @@ -34275,12 +34275,12 @@ "expression": { "arguments": [ { - "id": 3280, + "id": 2772, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58779:7:1", + "referencedDeclaration": 2725, + "src": "60445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34296,25 +34296,25 @@ ], "expression": { "baseExpression": { - "id": 3276, + "id": 2768, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58751:13:1", + "referencedDeclaration": 2092, + "src": "60417:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3278, + "id": 2770, "indexExpression": { - "id": 3277, + "id": 2769, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58765:5:1", + "referencedDeclaration": 2729, + "src": "60431:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34325,27 +34325,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58751:20:1", + "src": "60417:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3279, + "id": 2771, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "58751:27:1", + "referencedDeclaration": 1358, + "src": "60417:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3281, + "id": 2773, "isConstant": false, "isLValue": false, "isPure": false, @@ -34353,27 +34353,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58751:36:1", + "src": "60417:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3282, + "id": 2774, "nodeType": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "expression": { "arguments": [ { - "id": 3286, + "id": 2778, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58818:7:1", + "referencedDeclaration": 2725, + "src": "60486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34388,32 +34388,32 @@ } ], "expression": { - "id": 3283, + "id": 2775, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58798:12:1", + "referencedDeclaration": 2094, + "src": "60466:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3285, + "id": 2777, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 2306, - "src": "58798:19:1", + "referencedDeclaration": 1798, + "src": "60466:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" } }, - "id": 3287, + "id": 2779, "isConstant": false, "isLValue": false, "isPure": false, @@ -34421,27 +34421,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58798:28:1", + "src": "60466:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3288, + "id": 2780, "nodeType": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "eventCall": { "arguments": [ { - "id": 3290, + "id": 2782, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58851:5:1", + "referencedDeclaration": 2729, + "src": "60521:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34451,14 +34451,14 @@ "arguments": [ { "hexValue": "30", - "id": 3293, + "id": 2785, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58866:1:1", + "src": "60536:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34473,26 +34473,26 @@ "typeString": "int_const 0" } ], - "id": 3292, + "id": 2784, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3291, + "id": 2783, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": {} } }, - "id": 3294, + "id": 2786, "isConstant": false, "isLValue": false, "isPure": true, @@ -34500,7 +34500,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58858:10:1", + "src": "60528:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34508,12 +34508,12 @@ } }, { - "id": 3295, + "id": 2787, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58870:7:1", + "referencedDeclaration": 2725, + "src": "60540:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34535,18 +34535,18 @@ "typeString": "uint256" } ], - "id": 3289, + "id": 2781, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58842:8:1", + "referencedDeclaration": 46, + "src": "60512:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3296, + "id": 2788, "isConstant": false, "isLValue": false, "isPure": false, @@ -34554,43 +34554,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58842:36:1", + "src": "60512:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3297, + "id": 2789, "nodeType": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ] }, "documentation": { - "id": 3231, + "id": 2723, "nodeType": "StructuredDocumentation", - "src": "58147:206:1", + "src": "59790:215:0", "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3299, + "id": 2791, "implemented": true, "kind": "function", "modifiers": [], "name": "_burn", "nodeType": "FunctionDefinition", "parameters": { - "id": 3234, + "id": 2726, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3233, + "id": 2725, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3299, - "src": "58373:15:1", + "scope": 2791, + "src": "60026:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34598,10 +34598,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3232, + "id": 2724, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "58373:7:1", + "src": "60026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34610,25 +34610,25 @@ "visibility": "internal" } ], - "src": "58372:17:1" + "src": "60025:17:0" }, "returnParameters": { - "id": 3235, + "id": 2727, "nodeType": "ParameterList", "parameters": [], - "src": "58407:0:1" + "src": "60060:0:0" }, - "scope": 3498, - "src": "58358:527:1", + "scope": 2990, + "src": "60011:545:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3370, + "id": 2862, "nodeType": "Block", - "src": "59288:505:1", + "src": "60972:520:0", "statements": [ { "expression": { @@ -34638,7 +34638,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3315, + "id": 2807, "isConstant": false, "isLValue": false, "isPure": false, @@ -34646,12 +34646,12 @@ "leftExpression": { "arguments": [ { - "id": 3312, + "id": 2804, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59321:7:1", + "referencedDeclaration": 2798, + "src": "61006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34666,32 +34666,32 @@ } ], "expression": { - "id": 3310, + "id": 2802, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "59306:6:1", + "referencedDeclaration": 2990, + "src": "60991:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3311, + "id": 2803, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "59306:14:1", + "referencedDeclaration": 2194, + "src": "60991:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3313, + "id": 2805, "isConstant": false, "isLValue": false, "isPure": false, @@ -34699,7 +34699,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59306:23:1", + "src": "60991:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -34709,18 +34709,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3314, + "id": 2806, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59333:4:1", + "referencedDeclaration": 2794, + "src": "61018:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "59306:31:1", + "src": "60991:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34728,14 +34728,14 @@ }, { "hexValue": "4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e", - "id": 3316, + "id": 2808, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59339:43:1", + "src": "61024:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a01073130a885d6c1c1af6ac75fc3b1c4f9403c235362962bbf528e2bd87d950", "typeString": "literal_string \"ERC721: transfer of token that is not own\"" @@ -34754,7 +34754,7 @@ "typeString": "literal_string \"ERC721: transfer of token that is not own\"" } ], - "id": 3309, + "id": 2801, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -34762,13 +34762,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59298:7:1", + "src": "60983:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3317, + "id": 2809, "isConstant": false, "isLValue": false, "isPure": false, @@ -34776,16 +34776,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59298:85:1", + "src": "60983:85:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3318, + "id": 2810, "nodeType": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "expression": { @@ -34795,18 +34795,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3325, + "id": 2817, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3320, + "id": 2812, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59419:2:1", + "referencedDeclaration": 2796, + "src": "61105:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34818,14 +34818,14 @@ "arguments": [ { "hexValue": "30", - "id": 3323, + "id": 2815, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59433:1:1", + "src": "61119:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34840,26 +34840,26 @@ "typeString": "int_const 0" } ], - "id": 3322, + "id": 2814, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3321, + "id": 2813, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": {} } }, - "id": 3324, + "id": 2816, "isConstant": false, "isLValue": false, "isPure": true, @@ -34867,14 +34867,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59425:10:1", + "src": "61111:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "59419:16:1", + "src": "61105:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34882,14 +34882,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f20746865207a65726f2061646472657373", - "id": 3326, + "id": 2818, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59437:38:1", + "src": "61123:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4", "typeString": "literal_string \"ERC721: transfer to the zero address\"" @@ -34908,7 +34908,7 @@ "typeString": "literal_string \"ERC721: transfer to the zero address\"" } ], - "id": 3319, + "id": 2811, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -34916,13 +34916,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59411:7:1", + "src": "61097:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3327, + "id": 2819, "isConstant": false, "isLValue": false, "isPure": false, @@ -34930,51 +34930,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59411:65:1", + "src": "61097:65:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3328, + "id": 2820, "nodeType": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "expression": { "arguments": [ { - "id": 3330, + "id": 2822, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59508:4:1", + "referencedDeclaration": 2794, + "src": "61196:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3331, + "id": 2823, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59514:2:1", + "referencedDeclaration": 2796, + "src": "61202:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3332, + "id": 2824, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59518:7:1", + "referencedDeclaration": 2798, + "src": "61206:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34996,18 +34996,18 @@ "typeString": "uint256" } ], - "id": 3329, + "id": 2821, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "59487:20:1", + "referencedDeclaration": 2989, + "src": "61175:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3333, + "id": 2825, "isConstant": false, "isLValue": false, "isPure": false, @@ -35015,16 +35015,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59487:39:1", + "src": "61175:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3334, + "id": 2826, "nodeType": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "expression": { @@ -35033,14 +35033,14 @@ "arguments": [ { "hexValue": "30", - "id": 3338, + "id": 2830, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59605:1:1", + "src": "61296:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -35055,26 +35055,26 @@ "typeString": "int_const 0" } ], - "id": 3337, + "id": 2829, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3336, + "id": 2828, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": {} } }, - "id": 3339, + "id": 2831, "isConstant": false, "isLValue": false, "isPure": true, @@ -35082,7 +35082,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59597:10:1", + "src": "61288:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -35090,12 +35090,12 @@ } }, { - "id": 3340, + "id": 2832, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59609:7:1", + "referencedDeclaration": 2798, + "src": "61300:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35113,18 +35113,18 @@ "typeString": "uint256" } ], - "id": 3335, + "id": 2827, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "59588:8:1", + "referencedDeclaration": 2978, + "src": "61279:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3341, + "id": 2833, "isConstant": false, "isLValue": false, "isPure": false, @@ -35132,27 +35132,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59588:29:1", + "src": "61279:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3342, + "id": 2834, "nodeType": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "expression": { "arguments": [ { - "id": 3347, + "id": 2839, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59655:7:1", + "referencedDeclaration": 2798, + "src": "61348:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35168,25 +35168,25 @@ ], "expression": { "baseExpression": { - "id": 3343, + "id": 2835, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59628:13:1", + "referencedDeclaration": 2092, + "src": "61321:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3345, + "id": 2837, "indexExpression": { - "id": 3344, + "id": 2836, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59642:4:1", + "referencedDeclaration": 2794, + "src": "61335:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35197,27 +35197,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59628:19:1", + "src": "61321:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3346, + "id": 2838, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "59628:26:1", + "referencedDeclaration": 1358, + "src": "61321:26:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3348, + "id": 2840, "isConstant": false, "isLValue": false, "isPure": false, @@ -35225,27 +35225,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59628:35:1", + "src": "61321:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3349, + "id": 2841, "nodeType": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "expression": { "arguments": [ { - "id": 3354, + "id": 2846, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59695:7:1", + "referencedDeclaration": 2798, + "src": "61389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35261,25 +35261,25 @@ ], "expression": { "baseExpression": { - "id": 3350, + "id": 2842, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59673:13:1", + "referencedDeclaration": 2092, + "src": "61367:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3352, + "id": 2844, "indexExpression": { - "id": 3351, + "id": 2843, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59687:2:1", + "referencedDeclaration": 2796, + "src": "61381:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35290,27 +35290,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59673:17:1", + "src": "61367:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3353, + "id": 2845, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "59673:21:1", + "referencedDeclaration": 1338, + "src": "61367:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3355, + "id": 2847, "isConstant": false, "isLValue": false, "isPure": false, @@ -35318,39 +35318,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59673:30:1", + "src": "61367:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3356, + "id": 2848, "nodeType": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "expression": { "arguments": [ { - "id": 3360, + "id": 2852, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59731:7:1", + "referencedDeclaration": 2798, + "src": "61427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3361, + "id": 2853, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59740:2:1", + "referencedDeclaration": 2796, + "src": "61436:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35369,32 +35369,32 @@ } ], "expression": { - "id": 3357, + "id": 2849, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "59714:12:1", + "referencedDeclaration": 2094, + "src": "61410:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3359, + "id": 2851, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "59714:16:1", + "referencedDeclaration": 1778, + "src": "61410:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3362, + "id": 2854, "isConstant": false, "isLValue": false, "isPure": false, @@ -35402,51 +35402,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59714:29:1", + "src": "61410:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3363, + "id": 2855, "nodeType": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "eventCall": { "arguments": [ { - "id": 3365, + "id": 2857, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59768:4:1", + "referencedDeclaration": 2794, + "src": "61466:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3366, + "id": 2858, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59774:2:1", + "referencedDeclaration": 2796, + "src": "61472:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3367, + "id": 2859, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59778:7:1", + "referencedDeclaration": 2798, + "src": "61476:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35468,18 +35468,18 @@ "typeString": "uint256" } ], - "id": 3364, + "id": 2856, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "59759:8:1", + "referencedDeclaration": 46, + "src": "61457:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3368, + "id": 2860, "isConstant": false, "isLValue": false, "isPure": false, @@ -35487,43 +35487,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59759:27:1", + "src": "61457:27:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3369, + "id": 2861, "nodeType": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ] }, "documentation": { - "id": 3300, + "id": 2792, "nodeType": "StructuredDocumentation", - "src": "58891:313:1", + "src": "60564:323:0", "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3371, + "id": 2863, "implemented": true, "kind": "function", "modifiers": [], "name": "_transfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3307, + "id": 2799, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3302, + "id": 2794, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59228:12:1", + "scope": 2863, + "src": "60912:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35531,10 +35531,10 @@ "typeString": "address" }, "typeName": { - "id": 3301, + "id": 2793, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59228:7:1", + "src": "60912:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35545,12 +35545,12 @@ }, { "constant": false, - "id": 3304, + "id": 2796, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59242:10:1", + "scope": 2863, + "src": "60926:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35558,10 +35558,10 @@ "typeString": "address" }, "typeName": { - "id": 3303, + "id": 2795, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59242:7:1", + "src": "60926:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35572,12 +35572,12 @@ }, { "constant": false, - "id": 3306, + "id": 2798, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59254:15:1", + "scope": 2863, + "src": "60938:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35585,10 +35585,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3305, + "id": 2797, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59254:7:1", + "src": "60938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35597,25 +35597,25 @@ "visibility": "internal" } ], - "src": "59227:43:1" + "src": "60911:43:0" }, "returnParameters": { - "id": 3308, + "id": 2800, "nodeType": "ParameterList", "parameters": [], - "src": "59288:0:1" + "src": "60972:0:0" }, - "scope": 3498, - "src": "59209:584:1", + "scope": 2990, + "src": "60893:599:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3392, + "id": 2884, "nodeType": "Block", - "src": "60021:131:1", + "src": "61729:134:0", "statements": [ { "expression": { @@ -35623,12 +35623,12 @@ { "arguments": [ { - "id": 3381, + "id": 2873, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60047:7:1", + "referencedDeclaration": 2866, + "src": "61756:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35642,18 +35642,18 @@ "typeString": "uint256" } ], - "id": 3380, + "id": 2872, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "60039:7:1", + "referencedDeclaration": 2577, + "src": "61748:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3382, + "id": 2874, "isConstant": false, "isLValue": false, "isPure": false, @@ -35661,7 +35661,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60039:16:1", + "src": "61748:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -35670,14 +35670,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e", - "id": 3383, + "id": 2875, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "60057:46:1", + "src": "61766:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_94be4a260caaeac1b145f03ffa2e70bc612b64982d04f24073aaf3a5f9009978", "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" @@ -35696,7 +35696,7 @@ "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" } ], - "id": 3379, + "id": 2871, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -35704,13 +35704,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "60031:7:1", + "src": "61740:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3384, + "id": 2876, "isConstant": false, "isLValue": false, "isPure": false, @@ -35718,45 +35718,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60031:73:1", + "src": "61740:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3385, + "id": 2877, "nodeType": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "expression": { - "id": 3390, + "id": 2882, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3386, + "id": 2878, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "60114:10:1", + "referencedDeclaration": 2112, + "src": "61824:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3388, + "id": 2880, "indexExpression": { - "id": 3387, + "id": 2879, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60125:7:1", + "referencedDeclaration": 2866, + "src": "61835:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35767,7 +35767,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "60114:19:1", + "src": "61824:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -35776,53 +35776,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3389, + "id": 2881, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3376, - "src": "60136:9:1", + "referencedDeclaration": 2868, + "src": "61846:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60114:31:1", + "src": "61824:31:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3391, + "id": 2883, "nodeType": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ] }, "documentation": { - "id": 3372, + "id": 2864, "nodeType": "StructuredDocumentation", - "src": "59799:136:1", + "src": "61500:142:0", "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3393, + "id": 2885, "implemented": true, "kind": "function", "modifiers": [], "name": "_setTokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3377, + "id": 2869, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3374, + "id": 2866, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59962:15:1", + "scope": 2885, + "src": "61670:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35830,10 +35830,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3373, + "id": 2865, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59962:7:1", + "src": "61670:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35843,12 +35843,12 @@ }, { "constant": false, - "id": 3376, + "id": 2868, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59979:23:1", + "scope": 2885, + "src": "61687:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -35856,10 +35856,10 @@ "typeString": "string" }, "typeName": { - "id": 3375, + "id": 2867, "name": "string", "nodeType": "ElementaryTypeName", - "src": "59979:6:1", + "src": "61687:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -35868,40 +35868,40 @@ "visibility": "internal" } ], - "src": "59961:42:1" + "src": "61669:42:0" }, "returnParameters": { - "id": 3378, + "id": 2870, "nodeType": "ParameterList", "parameters": [], - "src": "60021:0:1" + "src": "61729:0:0" }, - "scope": 3498, - "src": "59940:212:1", + "scope": 2990, + "src": "61648:215:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3403, + "id": 2895, "nodeType": "Block", - "src": "60437:36:1", + "src": "62155:38:0", "statements": [ { "expression": { - "id": 3401, + "id": 2893, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 3399, + "id": 2891, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "60447:8:1", + "referencedDeclaration": 2114, + "src": "62166:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -35910,53 +35910,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3400, + "id": 2892, "name": "baseURI_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3396, - "src": "60458:8:1", + "referencedDeclaration": 2888, + "src": "62177:8:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60447:19:1", + "src": "62166:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3402, + "id": 2894, "nodeType": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ] }, "documentation": { - "id": 3394, + "id": 2886, "nodeType": "StructuredDocumentation", - "src": "60158:212:1", + "src": "61871:216:0", "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3404, + "id": 2896, "implemented": true, "kind": "function", "modifiers": [], "name": "_setBaseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3397, + "id": 2889, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3396, + "id": 2888, "mutability": "mutable", "name": "baseURI_", "nodeType": "VariableDeclaration", - "scope": 3404, - "src": "60396:22:1", + "scope": 2896, + "src": "62114:22:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -35964,10 +35964,10 @@ "typeString": "string" }, "typeName": { - "id": 3395, + "id": 2887, "name": "string", "nodeType": "ElementaryTypeName", - "src": "60396:6:1", + "src": "62114:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -35976,29 +35976,29 @@ "visibility": "internal" } ], - "src": "60395:24:1" + "src": "62113:24:0" }, "returnParameters": { - "id": 3398, + "id": 2890, "nodeType": "ParameterList", "parameters": [], - "src": "60437:0:1" + "src": "62155:0:0" }, - "scope": 3498, - "src": "60375:98:1", + "scope": 2990, + "src": "62093:100:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3461, + "id": 2953, "nodeType": "Block", - "src": "61156:459:1", + "src": "62890:472:0", "statements": [ { "condition": { - "id": 3421, + "id": 2913, "isConstant": false, "isLValue": false, "isPure": false, @@ -36006,38 +36006,38 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "61170:16:1", + "src": "62905:16:0", "subExpression": { "arguments": [], "expression": { "argumentTypes": [], "expression": { - "id": 3418, + "id": 2910, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61171:2:1", + "referencedDeclaration": 2901, + "src": "62906:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3419, + "id": 2911, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isContract", "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "61171:13:1", + "referencedDeclaration": 646, + "src": "62906:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$", "typeString": "function (address) view returns (bool)" } }, - "id": 3420, + "id": 2912, "isConstant": false, "isLValue": false, "isPure": false, @@ -36045,7 +36045,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61171:15:1", + "src": "62906:15:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -36057,52 +36057,52 @@ "typeString": "bool" } }, - "id": 3425, + "id": 2917, "nodeType": "IfStatement", - "src": "61166:58:1", + "src": "62901:60:0", "trueBody": { - "id": 3424, + "id": 2916, "nodeType": "Block", - "src": "61188:36:1", + "src": "62923:38:0", "statements": [ { "expression": { "hexValue": "74727565", - "id": 3422, + "id": 2914, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "61209:4:1", + "src": "62945:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 3417, - "id": 3423, + "functionReturnParameters": 2909, + "id": 2915, "nodeType": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ] } }, { "assignments": [ - 3427 + 2919 ], "declarations": [ { "constant": false, - "id": 3427, + "id": 2919, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61233:23:1", + "scope": 2953, + "src": "62971:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36110,10 +36110,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3426, + "id": 2918, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61233:5:1", + "src": "62971:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36122,7 +36122,7 @@ "visibility": "internal" } ], - "id": 3445, + "id": 2937, "initialValue": { "arguments": [ { @@ -36132,12 +36132,12 @@ "expression": { "arguments": [ { - "id": 3433, + "id": 2925, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61327:2:1", + "referencedDeclaration": 2901, + "src": "63066:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36151,18 +36151,18 @@ "typeString": "address" } ], - "id": 3432, + "id": 2924, "name": "IERC721Receiver", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 726, - "src": "61311:15:1", + "referencedDeclaration": 218, + "src": "63050:15:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$726_$", + "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$218_$", "typeString": "type(contract IERC721Receiver)" } }, - "id": 3434, + "id": 2926, "isConstant": false, "isLValue": false, "isPure": false, @@ -36170,35 +36170,35 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61311:19:1", + "src": "63050:19:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Receiver_$726", + "typeIdentifier": "t_contract$_IERC721Receiver_$218", "typeString": "contract IERC721Receiver" } }, - "id": 3435, + "id": 2927, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "onERC721Received", "nodeType": "MemberAccess", - "referencedDeclaration": 725, - "src": "61311:36:1", + "referencedDeclaration": 217, + "src": "63050:36:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", "typeString": "function (address,address,uint256,bytes memory) external returns (bytes4)" } }, - "id": 3436, + "id": 2928, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "selector", "nodeType": "MemberAccess", - "src": "61311:45:1", + "src": "63050:45:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36208,18 +36208,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3437, + "id": 2929, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "61370:10:1", + "referencedDeclaration": 10, + "src": "63110:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3438, + "id": 2930, "isConstant": false, "isLValue": false, "isPure": false, @@ -36227,7 +36227,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61370:12:1", + "src": "63110:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -36235,36 +36235,36 @@ } }, { - "id": 3439, + "id": 2931, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3407, - "src": "61396:4:1", + "referencedDeclaration": 2899, + "src": "63137:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3440, + "id": 2932, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3411, - "src": "61414:7:1", + "referencedDeclaration": 2903, + "src": "63156:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3441, + "id": 2933, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3413, - "src": "61435:5:1", + "referencedDeclaration": 2905, + "src": "63178:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36295,31 +36295,31 @@ } ], "expression": { - "id": 3430, + "id": 2922, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61275:3:1", + "src": "63013:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3431, + "id": 2923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodeWithSelector", "nodeType": "MemberAccess", - "src": "61275:22:1", + "src": "63013:22:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bytes4) pure returns (bytes memory)" } }, - "id": 3442, + "id": 2934, "isConstant": false, "isLValue": false, "isPure": false, @@ -36327,7 +36327,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61275:175:1", + "src": "63013:181:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36336,14 +36336,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3443, + "id": 2935, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "61452:52:1", + "src": "63196:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -36363,32 +36363,32 @@ } ], "expression": { - "id": 3428, + "id": 2920, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61259:2:1", + "referencedDeclaration": 2901, + "src": "62997:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3429, + "id": 2921, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "functionCall", "nodeType": "MemberAccess", - "referencedDeclaration": 1225, - "src": "61259:15:1", + "referencedDeclaration": 717, + "src": "62997:15:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$bound_to$_t_address_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 3444, + "id": 2936, "isConstant": false, "isLValue": false, "isPure": false, @@ -36396,7 +36396,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61259:246:1", + "src": "62997:252:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36404,21 +36404,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "assignments": [ - 3447 + 2939 ], "declarations": [ { "constant": false, - "id": 3447, + "id": 2939, "mutability": "mutable", "name": "retval", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61515:13:1", + "scope": 2953, + "src": "63260:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36426,10 +36426,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 3446, + "id": 2938, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61515:6:1", + "src": "63260:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36438,16 +36438,16 @@ "visibility": "internal" } ], - "id": 3455, + "id": 2947, "initialValue": { "arguments": [ { - "id": 3450, + "id": 2942, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3427, - "src": "61542:10:1", + "referencedDeclaration": 2919, + "src": "63287:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36456,34 +36456,34 @@ { "components": [ { - "id": 3452, + "id": 2944, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" }, "typeName": { - "id": 3451, + "id": 2943, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": {} } } ], - "id": 3453, + "id": 2945, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61554:8:1", + "src": "63299:8:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" @@ -36502,31 +36502,31 @@ } ], "expression": { - "id": 3448, + "id": 2940, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61531:3:1", + "src": "63276:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3449, + "id": 2941, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "decode", "nodeType": "MemberAccess", - "src": "61531:10:1", + "src": "63276:10:0", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 3454, + "id": 2946, "isConstant": false, "isLValue": false, "isPure": false, @@ -36534,7 +36534,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61531:32:1", + "src": "63276:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes4", @@ -36542,7 +36542,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "expression": { @@ -36552,18 +36552,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 3458, + "id": 2950, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3456, + "id": 2948, "name": "retval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3447, - "src": "61581:6:1", + "referencedDeclaration": 2939, + "src": "63327:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36572,68 +36572,68 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3457, + "id": 2949, "name": "_ERC721_RECEIVED", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2596, - "src": "61591:16:1", + "referencedDeclaration": 2088, + "src": "63337:16:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "src": "61581:26:1", + "src": "63327:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3459, + "id": 2951, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61580:28:1", + "src": "63326:28:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3417, - "id": 3460, + "functionReturnParameters": 2909, + "id": 2952, "nodeType": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ] }, "documentation": { - "id": 3405, + "id": 2897, "nodeType": "StructuredDocumentation", - "src": "60479:542:1", + "src": "62201:551:0", "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3462, + "id": 2954, "implemented": true, "kind": "function", "modifiers": [], "name": "_checkOnERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 3414, + "id": 2906, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3407, + "id": 2899, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61058:12:1", + "scope": 2954, + "src": "62790:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36641,10 +36641,10 @@ "typeString": "address" }, "typeName": { - "id": 3406, + "id": 2898, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61058:7:1", + "src": "62790:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36655,12 +36655,12 @@ }, { "constant": false, - "id": 3409, + "id": 2901, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61072:10:1", + "scope": 2954, + "src": "62804:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36668,10 +36668,10 @@ "typeString": "address" }, "typeName": { - "id": 3408, + "id": 2900, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61072:7:1", + "src": "62804:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36682,12 +36682,12 @@ }, { "constant": false, - "id": 3411, + "id": 2903, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61084:15:1", + "scope": 2954, + "src": "62816:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36695,10 +36695,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3410, + "id": 2902, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61084:7:1", + "src": "62816:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36708,12 +36708,12 @@ }, { "constant": false, - "id": 3413, + "id": 2905, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61101:18:1", + "scope": 2954, + "src": "62833:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36721,10 +36721,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3412, + "id": 2904, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61101:5:1", + "src": "62833:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36733,20 +36733,20 @@ "visibility": "internal" } ], - "src": "61057:63:1" + "src": "62789:63:0" }, "returnParameters": { - "id": 3417, + "id": 2909, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3416, + "id": 2908, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61146:4:1", + "scope": 2954, + "src": "62879:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36754,10 +36754,10 @@ "typeString": "bool" }, "typeName": { - "id": 3415, + "id": 2907, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "61146:4:1", + "src": "62879:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -36766,48 +36766,48 @@ "visibility": "internal" } ], - "src": "61145:6:1" + "src": "62878:6:0" }, - "scope": 3498, - "src": "61026:589:1", + "scope": 2990, + "src": "62758:604:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 3485, + "id": 2977, "nodeType": "Block", - "src": "61791:125:1", + "src": "63545:128:0", "statements": [ { "expression": { - "id": 3474, + "id": 2966, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3470, + "id": 2962, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "61801:15:1", + "referencedDeclaration": 2098, + "src": "63556:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 3472, + "id": 2964, "indexExpression": { - "id": 3471, + "id": 2963, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61817:7:1", + "referencedDeclaration": 2959, + "src": "63572:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36818,7 +36818,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "61801:24:1", + "src": "63556:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36827,26 +36827,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3473, + "id": 2965, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61828:2:1", + "referencedDeclaration": 2957, + "src": "63583:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "61801:29:1", + "src": "63556:29:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3475, + "id": 2967, "nodeType": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "eventCall": { @@ -36854,12 +36854,12 @@ { "arguments": [ { - "id": 3479, + "id": 2971, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61869:7:1", + "referencedDeclaration": 2959, + "src": "63625:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36874,32 +36874,32 @@ } ], "expression": { - "id": 3477, + "id": 2969, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "61854:6:1", + "referencedDeclaration": 2990, + "src": "63610:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3478, + "id": 2970, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "61854:14:1", + "referencedDeclaration": 2194, + "src": "63610:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3480, + "id": 2972, "isConstant": false, "isLValue": false, "isPure": false, @@ -36907,7 +36907,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61854:23:1", + "src": "63610:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -36915,24 +36915,24 @@ } }, { - "id": 3481, + "id": 2973, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61879:2:1", + "referencedDeclaration": 2957, + "src": "63635:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3482, + "id": 2974, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61883:7:1", + "referencedDeclaration": 2959, + "src": "63639:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36954,18 +36954,18 @@ "typeString": "uint256" } ], - "id": 3476, + "id": 2968, "name": "Approval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 563, - "src": "61845:8:1", + "referencedDeclaration": 55, + "src": "63601:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3483, + "id": 2975, "isConstant": false, "isLValue": false, "isPure": false, @@ -36973,43 +36973,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61845:46:1", + "src": "63601:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3484, + "id": 2976, "nodeType": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ] }, "documentation": { - "id": 3463, + "id": 2955, "nodeType": "StructuredDocumentation", - "src": "61621:101:1", + "src": "63370:105:0", "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3486, + "id": 2978, "implemented": true, "kind": "function", "modifiers": [], "name": "_approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 3468, + "id": 2960, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3465, + "id": 2957, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61745:10:1", + "scope": 2978, + "src": "63499:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37017,10 +37017,10 @@ "typeString": "address" }, "typeName": { - "id": 3464, + "id": 2956, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61745:7:1", + "src": "63499:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37031,12 +37031,12 @@ }, { "constant": false, - "id": 3467, + "id": 2959, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61757:15:1", + "scope": 2978, + "src": "63511:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37044,10 +37044,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3466, + "id": 2958, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61757:7:1", + "src": "63511:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37056,51 +37056,51 @@ "visibility": "internal" } ], - "src": "61744:29:1" + "src": "63498:29:0" }, "returnParameters": { - "id": 3469, + "id": 2961, "nodeType": "ParameterList", "parameters": [], - "src": "61791:0:1" + "src": "63545:0:0" }, - "scope": 3498, - "src": "61727:189:1", + "scope": 2990, + "src": "63481:192:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3496, + "id": 2988, "nodeType": "Block", - "src": "62602:3:1", + "src": "64376:3:0", "statements": [] }, "documentation": { - "id": 3487, + "id": 2979, "nodeType": "StructuredDocumentation", - "src": "61922:585:1", + "src": "63681:599:0", "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3497, + "id": 2989, "implemented": true, "kind": "function", "modifiers": [], "name": "_beforeTokenTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3494, + "id": 2986, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3489, + "id": 2981, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62542:12:1", + "scope": 2989, + "src": "64316:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37108,10 +37108,10 @@ "typeString": "address" }, "typeName": { - "id": 3488, + "id": 2980, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62542:7:1", + "src": "64316:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37122,12 +37122,12 @@ }, { "constant": false, - "id": 3491, + "id": 2983, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62556:10:1", + "scope": 2989, + "src": "64330:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37135,10 +37135,10 @@ "typeString": "address" }, "typeName": { - "id": 3490, + "id": 2982, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62556:7:1", + "src": "64330:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37149,12 +37149,12 @@ }, { "constant": false, - "id": 3493, + "id": 2985, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62568:15:1", + "scope": 2989, + "src": "64342:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37162,10 +37162,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3492, + "id": 2984, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "62568:7:1", + "src": "64342:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37174,69 +37174,69 @@ "visibility": "internal" } ], - "src": "62541:43:1" + "src": "64315:43:0" }, "returnParameters": { - "id": 3495, + "id": 2987, "nodeType": "ParameterList", "parameters": [], - "src": "62602:0:1" + "src": "64376:0:0" }, - "scope": 3498, - "src": "62512:93:1", + "scope": 2990, + "src": "64286:93:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "46080:16527:1" + "scope": 2991, + "src": "47398:16984:0" } ], - "src": "84:62524:1" + "src": "87:64297:0" }, "legacyAST": { "attributes": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, "license": "MIT" @@ -37254,9 +37254,9 @@ ".0" ] }, - "id": 509, + "id": 1, "name": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "attributes": { @@ -37270,10 +37270,10 @@ "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", - "scope": 3499 + "scope": 2991 }, "children": [ { @@ -37285,7 +37285,7 @@ null ], "name": "_msgSender", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37298,9 +37298,9 @@ ] }, "children": [], - "id": 510, + "id": 2, "name": "ParameterList", - "src": "668:2:1" + "src": "684:2:0" }, { "children": [ @@ -37309,7 +37309,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 518, + "scope": 10, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -37322,25 +37322,25 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 511, + "id": 3, "name": "ElementaryTypeName", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 512, + "id": 4, "name": "VariableDeclaration", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 513, + "id": 5, "name": "ParameterList", - "src": "701:17:1" + "src": "717:17:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 513 + "functionReturnParameters": 5 }, "children": [ { @@ -37362,29 +37362,29 @@ "type": "msg", "value": "msg" }, - "id": 514, + "id": 6, "name": "Identifier", - "src": "736:3:1" + "src": "753:3:0" } ], - "id": 515, + "id": 7, "name": "MemberAccess", - "src": "736:10:1" + "src": "753:10:0" } ], - "id": 516, + "id": 8, "name": "Return", - "src": "729:17:1" + "src": "746:17:0" } ], - "id": 517, + "id": 9, "name": "Block", - "src": "719:34:1" + "src": "735:36:0" } ], - "id": 518, + "id": 10, "name": "FunctionDefinition", - "src": "649:104:1" + "src": "665:106:0" }, { "attributes": { @@ -37395,7 +37395,7 @@ null ], "name": "_msgData", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37408,9 +37408,9 @@ ] }, "children": [], - "id": 519, + "id": 11, "name": "ParameterList", - "src": "776:2:1" + "src": "796:2:0" }, { "children": [ @@ -37419,7 +37419,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 529, + "scope": 21, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -37431,19 +37431,19 @@ "name": "bytes", "type": "bytes" }, - "id": 520, + "id": 12, "name": "ElementaryTypeName", - "src": "810:5:1" + "src": "830:5:0" } ], - "id": 521, + "id": 13, "name": "VariableDeclaration", - "src": "810:12:1" + "src": "830:12:0" } ], - "id": 522, + "id": 14, "name": "ParameterList", - "src": "809:14:1" + "src": "829:14:0" }, { "children": [ @@ -37458,18 +37458,18 @@ "type": "contract Context", "value": "this" }, - "id": 523, + "id": 15, "name": "Identifier", - "src": "834:4:1" + "src": "855:4:0" } ], - "id": 524, + "id": 16, "name": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "attributes": { - "functionReturnParameters": 522 + "functionReturnParameters": 14 }, "children": [ { @@ -37491,34 +37491,34 @@ "type": "msg", "value": "msg" }, - "id": 525, + "id": 17, "name": "Identifier", - "src": "974:3:1" + "src": "996:3:0" } ], - "id": 526, + "id": 18, "name": "MemberAccess", - "src": "974:8:1" + "src": "996:8:0" } ], - "id": 527, + "id": 19, "name": "Return", - "src": "967:15:1" + "src": "989:15:0" } ], - "id": 528, + "id": 20, "name": "Block", - "src": "824:165:1" + "src": "844:168:0" } ], - "id": 529, + "id": 21, "name": "FunctionDefinition", - "src": "759:230:1" + "src": "779:233:0" } ], - "id": 530, + "id": 22, "name": "ContractDefinition", - "src": "617:374:1" + "src": "632:383:0" }, { "attributes": { @@ -37532,9 +37532,9 @@ ".0" ] }, - "id": 531, + "id": 23, "name": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "attributes": { @@ -37548,19 +37548,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, - "id": 532, + "id": 24, "name": "StructuredDocumentation", - "src": "1086:279:1" + "src": "1116:287:0" }, { "attributes": { @@ -37572,7 +37572,7 @@ null ], "name": "supportsInterface", - "scope": 541, + "scope": 33, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -37582,9 +37582,9 @@ "attributes": { "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, - "id": 533, + "id": 25, "name": "StructuredDocumentation", - "src": "1390:340:1" + "src": "1430:347:0" }, { "children": [ @@ -37593,7 +37593,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -37605,19 +37605,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 534, + "id": 26, "name": "ElementaryTypeName", - "src": "1762:6:1" + "src": "1810:6:0" } ], - "id": 535, + "id": 27, "name": "VariableDeclaration", - "src": "1762:18:1" + "src": "1810:18:0" } ], - "id": 536, + "id": 28, "name": "ParameterList", - "src": "1761:20:1" + "src": "1809:20:0" }, { "children": [ @@ -37626,7 +37626,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -37638,29 +37638,29 @@ "name": "bool", "type": "bool" }, - "id": 537, + "id": 29, "name": "ElementaryTypeName", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 538, + "id": 30, "name": "VariableDeclaration", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 539, + "id": 31, "name": "ParameterList", - "src": "1804:6:1" + "src": "1852:6:0" } ], - "id": 540, + "id": 32, "name": "FunctionDefinition", - "src": "1735:76:1" + "src": "1783:76:0" } ], - "id": 541, + "id": 33, "name": "ContractDefinition", - "src": "1366:447:1" + "src": "1405:457:0" }, { "attributes": { @@ -37674,33 +37674,33 @@ ".0" ] }, - "id": 542, + "id": 34, "name": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Required interface of an ERC721 compliant contract." }, - "id": 543, + "id": 35, "name": "StructuredDocumentation", - "src": "1907:67:1" + "src": "1962:69:0" }, { "attributes": {}, @@ -37708,17 +37708,17 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 544, + "id": 36, "name": "UserDefinedTypeName", - "src": "1996:7:1" + "src": "2054:7:0" } ], - "id": 545, + "id": 37, "name": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" }, { "attributes": { @@ -37730,9 +37730,9 @@ "attributes": { "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 546, + "id": 38, "name": "StructuredDocumentation", - "src": "2010:88:1" + "src": "2069:90:0" }, { "children": [ @@ -37742,7 +37742,7 @@ "indexed": true, "mutability": "mutable", "name": "from", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37755,14 +37755,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 547, + "id": 39, "name": "ElementaryTypeName", - "src": "2118:7:1" + "src": "2180:7:0" } ], - "id": 548, + "id": 40, "name": "VariableDeclaration", - "src": "2118:20:1" + "src": "2180:20:0" }, { "attributes": { @@ -37770,7 +37770,7 @@ "indexed": true, "mutability": "mutable", "name": "to", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37783,14 +37783,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 549, + "id": 41, "name": "ElementaryTypeName", - "src": "2140:7:1" + "src": "2202:7:0" } ], - "id": 550, + "id": 42, "name": "VariableDeclaration", - "src": "2140:18:1" + "src": "2202:18:0" }, { "attributes": { @@ -37798,7 +37798,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -37810,24 +37810,24 @@ "name": "uint256", "type": "uint256" }, - "id": 551, + "id": 43, "name": "ElementaryTypeName", - "src": "2160:7:1" + "src": "2222:7:0" } ], - "id": 552, + "id": 44, "name": "VariableDeclaration", - "src": "2160:23:1" + "src": "2222:23:0" } ], - "id": 553, + "id": 45, "name": "ParameterList", - "src": "2117:67:1" + "src": "2179:67:0" } ], - "id": 554, + "id": 46, "name": "EventDefinition", - "src": "2103:82:1" + "src": "2165:82:0" }, { "attributes": { @@ -37839,9 +37839,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 555, + "id": 47, "name": "StructuredDocumentation", - "src": "2191:94:1" + "src": "2255:96:0" }, { "children": [ @@ -37851,7 +37851,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37864,14 +37864,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 556, + "id": 48, "name": "ElementaryTypeName", - "src": "2305:7:1" + "src": "2372:7:0" } ], - "id": 557, + "id": 49, "name": "VariableDeclaration", - "src": "2305:21:1" + "src": "2372:21:0" }, { "attributes": { @@ -37879,7 +37879,7 @@ "indexed": true, "mutability": "mutable", "name": "approved", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37892,14 +37892,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 558, + "id": 50, "name": "ElementaryTypeName", - "src": "2328:7:1" + "src": "2395:7:0" } ], - "id": 559, + "id": 51, "name": "VariableDeclaration", - "src": "2328:24:1" + "src": "2395:24:0" }, { "attributes": { @@ -37907,7 +37907,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -37919,24 +37919,24 @@ "name": "uint256", "type": "uint256" }, - "id": 560, + "id": 52, "name": "ElementaryTypeName", - "src": "2354:7:1" + "src": "2421:7:0" } ], - "id": 561, + "id": 53, "name": "VariableDeclaration", - "src": "2354:23:1" + "src": "2421:23:0" } ], - "id": 562, + "id": 54, "name": "ParameterList", - "src": "2304:74:1" + "src": "2371:74:0" } ], - "id": 563, + "id": 55, "name": "EventDefinition", - "src": "2290:89:1" + "src": "2357:89:0" }, { "attributes": { @@ -37948,9 +37948,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 564, + "id": 56, "name": "StructuredDocumentation", - "src": "2385:117:1" + "src": "2454:119:0" }, { "children": [ @@ -37960,7 +37960,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37973,14 +37973,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 565, + "id": 57, "name": "ElementaryTypeName", - "src": "2528:7:1" + "src": "2600:7:0" } ], - "id": 566, + "id": 58, "name": "VariableDeclaration", - "src": "2528:21:1" + "src": "2600:21:0" }, { "attributes": { @@ -37988,7 +37988,7 @@ "indexed": true, "mutability": "mutable", "name": "operator", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38001,14 +38001,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 567, + "id": 59, "name": "ElementaryTypeName", - "src": "2551:7:1" + "src": "2623:7:0" } ], - "id": 568, + "id": 60, "name": "VariableDeclaration", - "src": "2551:24:1" + "src": "2623:24:0" }, { "attributes": { @@ -38016,7 +38016,7 @@ "indexed": false, "mutability": "mutable", "name": "approved", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38028,24 +38028,24 @@ "name": "bool", "type": "bool" }, - "id": 569, + "id": 61, "name": "ElementaryTypeName", - "src": "2577:4:1" + "src": "2649:4:0" } ], - "id": 570, + "id": 62, "name": "VariableDeclaration", - "src": "2577:13:1" + "src": "2649:13:0" } ], - "id": 571, + "id": 63, "name": "ParameterList", - "src": "2527:64:1" + "src": "2599:64:0" } ], - "id": 572, + "id": 64, "name": "EventDefinition", - "src": "2507:85:1" + "src": "2579:85:0" }, { "attributes": { @@ -38057,7 +38057,7 @@ null ], "name": "balanceOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38067,9 +38067,9 @@ "attributes": { "text": " @dev Returns the number of tokens in ``owner``'s account." }, - "id": 573, + "id": 65, "name": "StructuredDocumentation", - "src": "2598:76:1" + "src": "2672:78:0" }, { "children": [ @@ -38078,7 +38078,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38091,19 +38091,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 574, + "id": 66, "name": "ElementaryTypeName", - "src": "2698:7:1" + "src": "2775:7:0" } ], - "id": 575, + "id": 67, "name": "VariableDeclaration", - "src": "2698:13:1" + "src": "2775:13:0" } ], - "id": 576, + "id": 68, "name": "ParameterList", - "src": "2697:15:1" + "src": "2774:15:0" }, { "children": [ @@ -38112,7 +38112,7 @@ "constant": false, "mutability": "mutable", "name": "balance", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38124,24 +38124,24 @@ "name": "uint256", "type": "uint256" }, - "id": 577, + "id": 69, "name": "ElementaryTypeName", - "src": "2736:7:1" + "src": "2813:7:0" } ], - "id": 578, + "id": 70, "name": "VariableDeclaration", - "src": "2736:15:1" + "src": "2813:15:0" } ], - "id": 579, + "id": 71, "name": "ParameterList", - "src": "2735:17:1" + "src": "2812:17:0" } ], - "id": 580, + "id": 72, "name": "FunctionDefinition", - "src": "2679:74:1" + "src": "2756:74:0" }, { "attributes": { @@ -38153,7 +38153,7 @@ null ], "name": "ownerOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38163,9 +38163,9 @@ "attributes": { "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 581, + "id": 73, "name": "StructuredDocumentation", - "src": "2759:131:1" + "src": "2838:137:0" }, { "children": [ @@ -38174,7 +38174,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38186,19 +38186,19 @@ "name": "uint256", "type": "uint256" }, - "id": 582, + "id": 74, "name": "ElementaryTypeName", - "src": "2912:7:1" + "src": "2998:7:0" } ], - "id": 583, + "id": 75, "name": "VariableDeclaration", - "src": "2912:15:1" + "src": "2998:15:0" } ], - "id": 584, + "id": 76, "name": "ParameterList", - "src": "2911:17:1" + "src": "2997:17:0" }, { "children": [ @@ -38207,7 +38207,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38220,24 +38220,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 585, + "id": 77, "name": "ElementaryTypeName", - "src": "2952:7:1" + "src": "3038:7:0" } ], - "id": 586, + "id": 78, "name": "VariableDeclaration", - "src": "2952:13:1" + "src": "3038:13:0" } ], - "id": 587, + "id": 79, "name": "ParameterList", - "src": "2951:15:1" + "src": "3037:15:0" } ], - "id": 588, + "id": 80, "name": "FunctionDefinition", - "src": "2895:72:1" + "src": "2981:72:0" }, { "attributes": { @@ -38249,7 +38249,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38259,9 +38259,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 589, + "id": 81, "name": "StructuredDocumentation", - "src": "2973:690:1" + "src": "3061:703:0" }, { "children": [ @@ -38270,7 +38270,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38283,21 +38283,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 590, + "id": 82, "name": "ElementaryTypeName", - "src": "3694:7:1" + "src": "3796:7:0" } ], - "id": 591, + "id": 83, "name": "VariableDeclaration", - "src": "3694:12:1" + "src": "3796:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38310,21 +38310,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 592, + "id": 84, "name": "ElementaryTypeName", - "src": "3708:7:1" + "src": "3810:7:0" } ], - "id": 593, + "id": 85, "name": "VariableDeclaration", - "src": "3708:10:1" + "src": "3810:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38336,19 +38336,19 @@ "name": "uint256", "type": "uint256" }, - "id": 594, + "id": 86, "name": "ElementaryTypeName", - "src": "3720:7:1" + "src": "3822:7:0" } ], - "id": 595, + "id": 87, "name": "VariableDeclaration", - "src": "3720:15:1" + "src": "3822:15:0" } ], - "id": 596, + "id": 88, "name": "ParameterList", - "src": "3693:43:1" + "src": "3795:43:0" }, { "attributes": { @@ -38357,14 +38357,14 @@ ] }, "children": [], - "id": 597, + "id": 89, "name": "ParameterList", - "src": "3745:0:1" + "src": "3847:0:0" } ], - "id": 598, + "id": 90, "name": "FunctionDefinition", - "src": "3668:78:1" + "src": "3770:78:0" }, { "attributes": { @@ -38376,7 +38376,7 @@ null ], "name": "transferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38386,9 +38386,9 @@ "attributes": { "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, - "id": 599, + "id": 91, "name": "StructuredDocumentation", - "src": "3752:504:1" + "src": "3856:517:0" }, { "children": [ @@ -38397,7 +38397,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38410,21 +38410,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 600, + "id": 92, "name": "ElementaryTypeName", - "src": "4283:7:1" + "src": "4401:7:0" } ], - "id": 601, + "id": 93, "name": "VariableDeclaration", - "src": "4283:12:1" + "src": "4401:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38437,21 +38437,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 602, + "id": 94, "name": "ElementaryTypeName", - "src": "4297:7:1" + "src": "4415:7:0" } ], - "id": 603, + "id": 95, "name": "VariableDeclaration", - "src": "4297:10:1" + "src": "4415:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38463,19 +38463,19 @@ "name": "uint256", "type": "uint256" }, - "id": 604, + "id": 96, "name": "ElementaryTypeName", - "src": "4309:7:1" + "src": "4427:7:0" } ], - "id": 605, + "id": 97, "name": "VariableDeclaration", - "src": "4309:15:1" + "src": "4427:15:0" } ], - "id": 606, + "id": 98, "name": "ParameterList", - "src": "4282:43:1" + "src": "4400:43:0" }, { "attributes": { @@ -38484,14 +38484,14 @@ ] }, "children": [], - "id": 607, + "id": 99, "name": "ParameterList", - "src": "4334:0:1" + "src": "4452:0:0" } ], - "id": 608, + "id": 100, "name": "FunctionDefinition", - "src": "4261:74:1" + "src": "4379:74:0" }, { "attributes": { @@ -38503,7 +38503,7 @@ null ], "name": "approve", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38513,9 +38513,9 @@ "attributes": { "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, - "id": 609, + "id": 101, "name": "StructuredDocumentation", - "src": "4341:452:1" + "src": "4461:464:0" }, { "children": [ @@ -38524,7 +38524,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38537,21 +38537,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 610, + "id": 102, "name": "ElementaryTypeName", - "src": "4815:7:1" + "src": "4948:7:0" } ], - "id": 611, + "id": 103, "name": "VariableDeclaration", - "src": "4815:10:1" + "src": "4948:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38563,19 +38563,19 @@ "name": "uint256", "type": "uint256" }, - "id": 612, + "id": 104, "name": "ElementaryTypeName", - "src": "4827:7:1" + "src": "4960:7:0" } ], - "id": 613, + "id": 105, "name": "VariableDeclaration", - "src": "4827:15:1" + "src": "4960:15:0" } ], - "id": 614, + "id": 106, "name": "ParameterList", - "src": "4814:29:1" + "src": "4947:29:0" }, { "attributes": { @@ -38584,14 +38584,14 @@ ] }, "children": [], - "id": 615, + "id": 107, "name": "ParameterList", - "src": "4852:0:1" + "src": "4985:0:0" } ], - "id": 616, + "id": 108, "name": "FunctionDefinition", - "src": "4798:55:1" + "src": "4931:55:0" }, { "attributes": { @@ -38603,7 +38603,7 @@ null ], "name": "getApproved", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38613,9 +38613,9 @@ "attributes": { "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 617, + "id": 109, "name": "StructuredDocumentation", - "src": "4859:139:1" + "src": "4994:145:0" }, { "children": [ @@ -38624,7 +38624,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38636,19 +38636,19 @@ "name": "uint256", "type": "uint256" }, - "id": 618, + "id": 110, "name": "ElementaryTypeName", - "src": "5024:7:1" + "src": "5166:7:0" } ], - "id": 619, + "id": 111, "name": "VariableDeclaration", - "src": "5024:15:1" + "src": "5166:15:0" } ], - "id": 620, + "id": 112, "name": "ParameterList", - "src": "5023:17:1" + "src": "5165:17:0" }, { "children": [ @@ -38657,7 +38657,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38670,24 +38670,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 621, + "id": 113, "name": "ElementaryTypeName", - "src": "5064:7:1" + "src": "5206:7:0" } ], - "id": 622, + "id": 114, "name": "VariableDeclaration", - "src": "5064:16:1" + "src": "5206:16:0" } ], - "id": 623, + "id": 115, "name": "ParameterList", - "src": "5063:18:1" + "src": "5205:18:0" } ], - "id": 624, + "id": 116, "name": "FunctionDefinition", - "src": "5003:79:1" + "src": "5145:79:0" }, { "attributes": { @@ -38699,7 +38699,7 @@ null ], "name": "setApprovalForAll", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38709,9 +38709,9 @@ "attributes": { "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, - "id": 625, + "id": 117, "name": "StructuredDocumentation", - "src": "5088:309:1" + "src": "5232:318:0" }, { "children": [ @@ -38720,7 +38720,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38733,21 +38733,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 626, + "id": 118, "name": "ElementaryTypeName", - "src": "5429:7:1" + "src": "5583:7:0" } ], - "id": 627, + "id": 119, "name": "VariableDeclaration", - "src": "5429:16:1" + "src": "5583:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_approved", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38759,19 +38759,19 @@ "name": "bool", "type": "bool" }, - "id": 628, + "id": 120, "name": "ElementaryTypeName", - "src": "5447:4:1" + "src": "5601:4:0" } ], - "id": 629, + "id": 121, "name": "VariableDeclaration", - "src": "5447:14:1" + "src": "5601:14:0" } ], - "id": 630, + "id": 122, "name": "ParameterList", - "src": "5428:34:1" + "src": "5582:34:0" }, { "attributes": { @@ -38780,14 +38780,14 @@ ] }, "children": [], - "id": 631, + "id": 123, "name": "ParameterList", - "src": "5471:0:1" + "src": "5625:0:0" } ], - "id": 632, + "id": 124, "name": "FunctionDefinition", - "src": "5402:70:1" + "src": "5556:70:0" }, { "attributes": { @@ -38799,7 +38799,7 @@ null ], "name": "isApprovedForAll", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38809,9 +38809,9 @@ "attributes": { "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, - "id": 633, + "id": 125, "name": "StructuredDocumentation", - "src": "5478:138:1" + "src": "5634:142:0" }, { "children": [ @@ -38820,7 +38820,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38833,21 +38833,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 634, + "id": 126, "name": "ElementaryTypeName", - "src": "5647:7:1" + "src": "5808:7:0" } ], - "id": 635, + "id": 127, "name": "VariableDeclaration", - "src": "5647:13:1" + "src": "5808:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38860,19 +38860,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 636, + "id": 128, "name": "ElementaryTypeName", - "src": "5662:7:1" + "src": "5823:7:0" } ], - "id": 637, + "id": 129, "name": "VariableDeclaration", - "src": "5662:16:1" + "src": "5823:16:0" } ], - "id": 638, + "id": 130, "name": "ParameterList", - "src": "5646:33:1" + "src": "5807:33:0" }, { "children": [ @@ -38881,7 +38881,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38893,24 +38893,24 @@ "name": "bool", "type": "bool" }, - "id": 639, + "id": 131, "name": "ElementaryTypeName", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 640, + "id": 132, "name": "VariableDeclaration", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 641, + "id": 133, "name": "ParameterList", - "src": "5702:6:1" + "src": "5863:6:0" } ], - "id": 642, + "id": 134, "name": "FunctionDefinition", - "src": "5621:88:1" + "src": "5782:88:0" }, { "attributes": { @@ -38922,7 +38922,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38932,9 +38932,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 643, + "id": 135, "name": "StructuredDocumentation", - "src": "5715:568:1" + "src": "5878:580:0" }, { "children": [ @@ -38943,7 +38943,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38956,21 +38956,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 644, + "id": 136, "name": "ElementaryTypeName", - "src": "6314:7:1" + "src": "6490:7:0" } ], - "id": 645, + "id": 137, "name": "VariableDeclaration", - "src": "6314:12:1" + "src": "6490:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38983,21 +38983,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 646, + "id": 138, "name": "ElementaryTypeName", - "src": "6328:7:1" + "src": "6504:7:0" } ], - "id": 647, + "id": 139, "name": "VariableDeclaration", - "src": "6328:10:1" + "src": "6504:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39009,21 +39009,21 @@ "name": "uint256", "type": "uint256" }, - "id": 648, + "id": 140, "name": "ElementaryTypeName", - "src": "6340:7:1" + "src": "6516:7:0" } ], - "id": 649, + "id": 141, "name": "VariableDeclaration", - "src": "6340:15:1" + "src": "6516:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39035,19 +39035,19 @@ "name": "bytes", "type": "bytes" }, - "id": 650, + "id": 142, "name": "ElementaryTypeName", - "src": "6357:5:1" + "src": "6533:5:0" } ], - "id": 651, + "id": 143, "name": "VariableDeclaration", - "src": "6357:19:1" + "src": "6533:19:0" } ], - "id": 652, + "id": 144, "name": "ParameterList", - "src": "6313:64:1" + "src": "6489:64:0" }, { "attributes": { @@ -39056,19 +39056,19 @@ ] }, "children": [], - "id": 653, + "id": 145, "name": "ParameterList", - "src": "6386:0:1" + "src": "6562:0:0" } ], - "id": 654, + "id": 146, "name": "FunctionDefinition", - "src": "6288:99:1" + "src": "6464:99:0" } ], - "id": 655, + "id": 147, "name": "ContractDefinition", - "src": "1975:4414:1" + "src": "2033:4533:0" }, { "attributes": { @@ -39082,35 +39082,35 @@ ".0" ] }, - "id": 656, + "id": 148, "name": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 657, + "id": 149, "name": "StructuredDocumentation", - "src": "6491:133:1" + "src": "6674:136:0" }, { "attributes": {}, @@ -39118,17 +39118,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 658, + "id": 150, "name": "UserDefinedTypeName", - "src": "6654:7:1" + "src": "6841:7:0" } ], - "id": 659, + "id": 151, "name": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" }, { "attributes": { @@ -39140,7 +39140,7 @@ null ], "name": "name", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39150,9 +39150,9 @@ "attributes": { "text": " @dev Returns the token collection name." }, - "id": 660, + "id": 152, "name": "StructuredDocumentation", - "src": "6669:58:1" + "src": "6858:60:0" }, { "attributes": { @@ -39161,9 +39161,9 @@ ] }, "children": [], - "id": 661, + "id": 153, "name": "ParameterList", - "src": "6745:2:1" + "src": "6937:2:0" }, { "children": [ @@ -39172,7 +39172,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 665, + "scope": 157, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39184,24 +39184,24 @@ "name": "string", "type": "string" }, - "id": 662, + "id": 154, "name": "ElementaryTypeName", - "src": "6771:6:1" + "src": "6963:6:0" } ], - "id": 663, + "id": 155, "name": "VariableDeclaration", - "src": "6771:13:1" + "src": "6963:13:0" } ], - "id": 664, + "id": 156, "name": "ParameterList", - "src": "6770:15:1" + "src": "6962:15:0" } ], - "id": 665, + "id": 157, "name": "FunctionDefinition", - "src": "6732:54:1" + "src": "6924:54:0" }, { "attributes": { @@ -39213,7 +39213,7 @@ null ], "name": "symbol", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39223,9 +39223,9 @@ "attributes": { "text": " @dev Returns the token collection symbol." }, - "id": 666, + "id": 158, "name": "StructuredDocumentation", - "src": "6792:60:1" + "src": "6986:62:0" }, { "attributes": { @@ -39234,9 +39234,9 @@ ] }, "children": [], - "id": 667, + "id": 159, "name": "ParameterList", - "src": "6872:2:1" + "src": "7069:2:0" }, { "children": [ @@ -39245,7 +39245,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 671, + "scope": 163, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39257,24 +39257,24 @@ "name": "string", "type": "string" }, - "id": 668, + "id": 160, "name": "ElementaryTypeName", - "src": "6898:6:1" + "src": "7095:6:0" } ], - "id": 669, + "id": 161, "name": "VariableDeclaration", - "src": "6898:13:1" + "src": "7095:13:0" } ], - "id": 670, + "id": 162, "name": "ParameterList", - "src": "6897:15:1" + "src": "7094:15:0" } ], - "id": 671, + "id": 163, "name": "FunctionDefinition", - "src": "6857:56:1" + "src": "7054:56:0" }, { "attributes": { @@ -39286,7 +39286,7 @@ null ], "name": "tokenURI", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39296,9 +39296,9 @@ "attributes": { "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, - "id": 672, + "id": 164, "name": "StructuredDocumentation", - "src": "6919:90:1" + "src": "7118:92:0" }, { "children": [ @@ -39307,7 +39307,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39319,19 +39319,19 @@ "name": "uint256", "type": "uint256" }, - "id": 673, + "id": 165, "name": "ElementaryTypeName", - "src": "7032:7:1" + "src": "7234:7:0" } ], - "id": 674, + "id": 166, "name": "VariableDeclaration", - "src": "7032:15:1" + "src": "7234:15:0" } ], - "id": 675, + "id": 167, "name": "ParameterList", - "src": "7031:17:1" + "src": "7233:17:0" }, { "children": [ @@ -39340,7 +39340,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39352,29 +39352,29 @@ "name": "string", "type": "string" }, - "id": 676, + "id": 168, "name": "ElementaryTypeName", - "src": "7072:6:1" + "src": "7274:6:0" } ], - "id": 677, + "id": 169, "name": "VariableDeclaration", - "src": "7072:13:1" + "src": "7274:13:0" } ], - "id": 678, + "id": 170, "name": "ParameterList", - "src": "7071:15:1" + "src": "7273:15:0" } ], - "id": 679, + "id": 171, "name": "FunctionDefinition", - "src": "7014:73:1" + "src": "7216:73:0" } ], - "id": 680, + "id": 172, "name": "ContractDefinition", - "src": "6625:464:1" + "src": "6812:480:0" }, { "attributes": { @@ -39388,35 +39388,35 @@ ".0" ] }, - "id": 681, + "id": 173, "name": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 682, + "id": 174, "name": "StructuredDocumentation", - "src": "7195:136:1" + "src": "7406:139:0" }, { "attributes": {}, @@ -39424,17 +39424,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 683, + "id": 175, "name": "UserDefinedTypeName", - "src": "7363:7:1" + "src": "7578:7:0" } ], - "id": 684, + "id": 176, "name": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" }, { "attributes": { @@ -39446,7 +39446,7 @@ null ], "name": "totalSupply", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39456,9 +39456,9 @@ "attributes": { "text": " @dev Returns the total amount of tokens stored by the contract." }, - "id": 685, + "id": 177, "name": "StructuredDocumentation", - "src": "7378:82:1" + "src": "7595:84:0" }, { "attributes": { @@ -39467,9 +39467,9 @@ ] }, "children": [], - "id": 686, + "id": 178, "name": "ParameterList", - "src": "7485:2:1" + "src": "7705:2:0" }, { "children": [ @@ -39478,7 +39478,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 690, + "scope": 182, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39490,24 +39490,24 @@ "name": "uint256", "type": "uint256" }, - "id": 687, + "id": 179, "name": "ElementaryTypeName", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 688, + "id": 180, "name": "VariableDeclaration", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 689, + "id": 181, "name": "ParameterList", - "src": "7510:9:1" + "src": "7730:9:0" } ], - "id": 690, + "id": 182, "name": "FunctionDefinition", - "src": "7465:55:1" + "src": "7685:55:0" }, { "attributes": { @@ -39519,7 +39519,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39529,9 +39529,9 @@ "attributes": { "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, - "id": 691, + "id": 183, "name": "StructuredDocumentation", - "src": "7526:171:1" + "src": "7748:174:0" }, { "children": [ @@ -39540,7 +39540,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39553,21 +39553,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 692, + "id": 184, "name": "ElementaryTypeName", - "src": "7731:7:1" + "src": "7957:7:0" } ], - "id": 693, + "id": 185, "name": "VariableDeclaration", - "src": "7731:13:1" + "src": "7957:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39579,19 +39579,19 @@ "name": "uint256", "type": "uint256" }, - "id": 694, + "id": 186, "name": "ElementaryTypeName", - "src": "7746:7:1" + "src": "7972:7:0" } ], - "id": 695, + "id": 187, "name": "VariableDeclaration", - "src": "7746:13:1" + "src": "7972:13:0" } ], - "id": 696, + "id": 188, "name": "ParameterList", - "src": "7730:30:1" + "src": "7956:30:0" }, { "children": [ @@ -39600,7 +39600,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39612,24 +39612,24 @@ "name": "uint256", "type": "uint256" }, - "id": 697, + "id": 189, "name": "ElementaryTypeName", - "src": "7784:7:1" + "src": "8010:7:0" } ], - "id": 698, + "id": 190, "name": "VariableDeclaration", - "src": "7784:15:1" + "src": "8010:15:0" } ], - "id": 699, + "id": 191, "name": "ParameterList", - "src": "7783:17:1" + "src": "8009:17:0" } ], - "id": 700, + "id": 192, "name": "FunctionDefinition", - "src": "7702:99:1" + "src": "7928:99:0" }, { "attributes": { @@ -39641,7 +39641,7 @@ null ], "name": "tokenByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39651,9 +39651,9 @@ "attributes": { "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, - "id": 701, + "id": 193, "name": "StructuredDocumentation", - "src": "7807:164:1" + "src": "8035:167:0" }, { "children": [ @@ -39662,7 +39662,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39674,19 +39674,19 @@ "name": "uint256", "type": "uint256" }, - "id": 702, + "id": 194, "name": "ElementaryTypeName", - "src": "7998:7:1" + "src": "8230:7:0" } ], - "id": 703, + "id": 195, "name": "VariableDeclaration", - "src": "7998:13:1" + "src": "8230:13:0" } ], - "id": 704, + "id": 196, "name": "ParameterList", - "src": "7997:15:1" + "src": "8229:15:0" }, { "children": [ @@ -39695,7 +39695,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39707,29 +39707,29 @@ "name": "uint256", "type": "uint256" }, - "id": 705, + "id": 197, "name": "ElementaryTypeName", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 706, + "id": 198, "name": "VariableDeclaration", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 707, + "id": 199, "name": "ParameterList", - "src": "8035:9:1" + "src": "8267:9:0" } ], - "id": 708, + "id": 200, "name": "FunctionDefinition", - "src": "7976:69:1" + "src": "8208:69:0" } ], - "id": 709, + "id": 201, "name": "ContractDefinition", - "src": "7332:715:1" + "src": "7547:733:0" }, { "attributes": { @@ -39743,9 +39743,9 @@ ".0" ] }, - "id": 710, + "id": 202, "name": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "attributes": { @@ -39759,19 +39759,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, - "id": 711, + "id": 203, "name": "StructuredDocumentation", - "src": "8150:152:1" + "src": "8390:156:0" }, { "attributes": { @@ -39783,7 +39783,7 @@ null ], "name": "onERC721Received", - "scope": 726, + "scope": 218, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -39793,9 +39793,9 @@ "attributes": { "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, - "id": 712, + "id": 204, "name": "StructuredDocumentation", - "src": "8335:485:1" + "src": "8581:493:0" }, { "children": [ @@ -39804,7 +39804,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39817,21 +39817,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 713, + "id": 205, "name": "ElementaryTypeName", - "src": "8851:7:1" + "src": "9106:7:0" } ], - "id": 714, + "id": 206, "name": "VariableDeclaration", - "src": "8851:16:1" + "src": "9106:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "from", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39844,21 +39844,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 715, + "id": 207, "name": "ElementaryTypeName", - "src": "8869:7:1" + "src": "9124:7:0" } ], - "id": 716, + "id": 208, "name": "VariableDeclaration", - "src": "8869:12:1" + "src": "9124:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39870,21 +39870,21 @@ "name": "uint256", "type": "uint256" }, - "id": 717, + "id": 209, "name": "ElementaryTypeName", - "src": "8883:7:1" + "src": "9138:7:0" } ], - "id": 718, + "id": 210, "name": "VariableDeclaration", - "src": "8883:15:1" + "src": "9138:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39896,19 +39896,19 @@ "name": "bytes", "type": "bytes" }, - "id": 719, + "id": 211, "name": "ElementaryTypeName", - "src": "8900:5:1" + "src": "9155:5:0" } ], - "id": 720, + "id": 212, "name": "VariableDeclaration", - "src": "8900:19:1" + "src": "9155:19:0" } ], - "id": 721, + "id": 213, "name": "ParameterList", - "src": "8850:70:1" + "src": "9105:70:0" }, { "children": [ @@ -39917,7 +39917,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -39929,29 +39929,29 @@ "name": "bytes4", "type": "bytes4" }, - "id": 722, + "id": 214, "name": "ElementaryTypeName", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 723, + "id": 215, "name": "VariableDeclaration", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 724, + "id": 216, "name": "ParameterList", - "src": "8938:8:1" + "src": "9193:8:0" } ], - "id": 725, + "id": 217, "name": "FunctionDefinition", - "src": "8825:122:1" + "src": "9080:122:0" } ], - "id": 726, + "id": 218, "name": "ContractDefinition", - "src": "8303:646:1" + "src": "8548:657:0" }, { "attributes": { @@ -39965,33 +39965,33 @@ ".0" ] }, - "id": 727, + "id": 219, "name": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "attributes": { "abstract": true, "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, - "id": 728, + "id": 220, "name": "StructuredDocumentation", - "src": "9043:171:1" + "src": "9305:176:0" }, { "attributes": {}, @@ -39999,24 +39999,24 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 729, + "id": 221, "name": "UserDefinedTypeName", - "src": "9243:7:1" + "src": "9511:7:0" } ], - "id": 730, + "id": 222, "name": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -40028,9 +40028,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 731, + "id": 223, "name": "ElementaryTypeName", - "src": "9340:6:1" + "src": "9612:6:0" }, { "attributes": { @@ -40043,21 +40043,21 @@ "type": "int_const 33540519", "value": "0x01ffc9a7" }, - "id": 732, + "id": 224, "name": "Literal", - "src": "9387:10:1" + "src": "9659:10:0" } ], - "id": 733, + "id": 225, "name": "VariableDeclaration", - "src": "9340:57:1" + "src": "9612:57:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_supportedInterfaces", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "mapping(bytes4 => bool)", @@ -40074,36 +40074,36 @@ "name": "bytes4", "type": "bytes4" }, - "id": 735, + "id": 227, "name": "ElementaryTypeName", - "src": "9499:6:1" + "src": "9776:6:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 736, + "id": 228, "name": "ElementaryTypeName", - "src": "9509:4:1" + "src": "9786:4:0" } ], - "id": 737, + "id": 229, "name": "Mapping", - "src": "9491:23:1" + "src": "9768:23:0" }, { "attributes": { "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 734, + "id": 226, "name": "StructuredDocumentation", - "src": "9404:82:1" + "src": "9678:84:0" } ], - "id": 738, + "id": 230, "name": "VariableDeclaration", - "src": "9491:52:1" + "src": "9768:52:0" }, { "attributes": { @@ -40114,7 +40114,7 @@ null ], "name": "", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -40127,9 +40127,9 @@ ] }, "children": [], - "id": 739, + "id": 231, "name": "ParameterList", - "src": "9562:2:1" + "src": "9841:2:0" }, { "attributes": { @@ -40138,9 +40138,9 @@ ] }, "children": [], - "id": 740, + "id": 232, "name": "ParameterList", - "src": "9565:0:1" + "src": "9844:0:0" }, { "children": [ @@ -40172,51 +40172,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 741, + "id": 233, "name": "Identifier", - "src": "9711:18:1" + "src": "9993:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 733, + "referencedDeclaration": 225, "type": "bytes4", "value": "_INTERFACE_ID_ERC165" }, - "id": 742, + "id": 234, "name": "Identifier", - "src": "9730:20:1" + "src": "10012:20:0" } ], - "id": 743, + "id": 235, "name": "FunctionCall", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 744, + "id": 236, "name": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 745, + "id": 237, "name": "Block", - "src": "9565:193:1" + "src": "9844:197:0" } ], - "id": 746, + "id": 238, "name": "FunctionDefinition", - "src": "9550:208:1" + "src": "9829:212:0" }, { "attributes": { "baseFunctions": [ - 540 + 32 ], "functionSelector": "01ffc9a7", "implemented": true, @@ -40226,7 +40226,7 @@ null ], "name": "supportsInterface", - "scope": 781, + "scope": 273, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -40236,9 +40236,9 @@ "attributes": { "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, - "id": 747, + "id": 239, "name": "StructuredDocumentation", - "src": "9764:139:1" + "src": "10049:143:0" }, { "attributes": { @@ -40246,9 +40246,9 @@ null ] }, - "id": 751, + "id": 243, "name": "OverrideSpecifier", - "src": "9975:8:1" + "src": "10265:8:0" }, { "children": [ @@ -40257,7 +40257,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40269,19 +40269,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 748, + "id": 240, "name": "ElementaryTypeName", - "src": "9935:6:1" + "src": "10225:6:0" } ], - "id": 749, + "id": 241, "name": "VariableDeclaration", - "src": "9935:18:1" + "src": "10225:18:0" } ], - "id": 750, + "id": 242, "name": "ParameterList", - "src": "9934:20:1" + "src": "10224:20:0" }, { "children": [ @@ -40290,7 +40290,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40302,25 +40302,25 @@ "name": "bool", "type": "bool" }, - "id": 752, + "id": 244, "name": "ElementaryTypeName", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 753, + "id": 245, "name": "VariableDeclaration", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 754, + "id": 246, "name": "ParameterList", - "src": "9992:6:1" + "src": "10282:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 754 + "functionReturnParameters": 246 }, "children": [ { @@ -40337,46 +40337,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 755, + "id": 247, "name": "Identifier", - "src": "10016:20:1" + "src": "10307:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 749, + "referencedDeclaration": 241, "type": "bytes4", "value": "interfaceId" }, - "id": 756, + "id": 248, "name": "Identifier", - "src": "10037:11:1" + "src": "10328:11:0" } ], - "id": 757, + "id": 249, "name": "IndexAccess", - "src": "10016:33:1" + "src": "10307:33:0" } ], - "id": 758, + "id": 250, "name": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ], - "id": 759, + "id": 251, "name": "Block", - "src": "9999:57:1" + "src": "10289:59:0" } ], - "id": 760, + "id": 252, "name": "FunctionDefinition", - "src": "9908:148:1" + "src": "10198:150:0" }, { "attributes": { @@ -40387,7 +40387,7 @@ null ], "name": "_registerInterface", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -40397,9 +40397,9 @@ "attributes": { "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 761, + "id": 253, "name": "StructuredDocumentation", - "src": "10062:383:1" + "src": "10356:393:0" }, { "children": [ @@ -40408,7 +40408,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 780, + "scope": 272, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40420,19 +40420,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 762, + "id": 254, "name": "ElementaryTypeName", - "src": "10478:6:1" + "src": "10783:6:0" } ], - "id": 763, + "id": 255, "name": "VariableDeclaration", - "src": "10478:18:1" + "src": "10783:18:0" } ], - "id": 764, + "id": 256, "name": "ParameterList", - "src": "10477:20:1" + "src": "10782:20:0" }, { "attributes": { @@ -40441,9 +40441,9 @@ ] }, "children": [], - "id": 765, + "id": 257, "name": "ParameterList", - "src": "10515:0:1" + "src": "10820:0:0" }, { "children": [ @@ -40484,9 +40484,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 766, + "id": 258, "name": "Identifier", - "src": "10525:7:1" + "src": "10831:7:0" }, { "attributes": { @@ -40507,13 +40507,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 767, + "id": 259, "name": "Identifier", - "src": "10533:11:1" + "src": "10839:11:0" }, { "attributes": { @@ -40526,14 +40526,14 @@ "type": "int_const 4294967295", "value": "0xffffffff" }, - "id": 768, + "id": 260, "name": "Literal", - "src": "10548:10:1" + "src": "10854:10:0" } ], - "id": 769, + "id": 261, "name": "BinaryOperation", - "src": "10533:25:1" + "src": "10839:25:0" }, { "attributes": { @@ -40546,19 +40546,19 @@ "type": "literal_string \"ERC165: invalid interface id\"", "value": "ERC165: invalid interface id" }, - "id": 770, + "id": 262, "name": "Literal", - "src": "10560:30:1" + "src": "10866:30:0" } ], - "id": 771, + "id": 263, "name": "FunctionCall", - "src": "10525:66:1" + "src": "10831:66:0" } ], - "id": 772, + "id": 264, "name": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "children": [ @@ -40586,31 +40586,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 773, + "id": 265, "name": "Identifier", - "src": "10601:20:1" + "src": "10908:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 774, + "id": 266, "name": "Identifier", - "src": "10622:11:1" + "src": "10929:11:0" } ], - "id": 775, + "id": 267, "name": "IndexAccess", - "src": "10601:33:1" + "src": "10908:33:0" }, { "attributes": { @@ -40623,34 +40623,34 @@ "type": "bool", "value": "true" }, - "id": 776, + "id": 268, "name": "Literal", - "src": "10637:4:1" + "src": "10944:4:0" } ], - "id": 777, + "id": 269, "name": "Assignment", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 778, + "id": 270, "name": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 779, + "id": 271, "name": "Block", - "src": "10515:133:1" + "src": "10820:136:0" } ], - "id": 780, + "id": 272, "name": "FunctionDefinition", - "src": "10450:198:1" + "src": "10755:201:0" } ], - "id": 781, + "id": 273, "name": "ContractDefinition", - "src": "9215:1435:1" + "src": "9483:1476:0" }, { "attributes": { @@ -40664,9 +40664,9 @@ ".0" ] }, - "id": 782, + "id": 274, "name": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "attributes": { @@ -40680,19 +40680,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, - "id": 783, + "id": 275, "name": "StructuredDocumentation", - "src": "10736:563:1" + "src": "11050:575:0" }, { "attributes": { @@ -40703,7 +40703,7 @@ null ], "name": "tryAdd", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -40713,9 +40713,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 784, + "id": 276, "name": "StructuredDocumentation", - "src": "11323:131:1" + "src": "11651:135:0" }, { "children": [ @@ -40724,7 +40724,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40736,21 +40736,21 @@ "name": "uint256", "type": "uint256" }, - "id": 785, + "id": 277, "name": "ElementaryTypeName", - "src": "11475:7:1" + "src": "11808:7:0" } ], - "id": 786, + "id": 278, "name": "VariableDeclaration", - "src": "11475:9:1" + "src": "11808:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40762,19 +40762,19 @@ "name": "uint256", "type": "uint256" }, - "id": 787, + "id": 279, "name": "ElementaryTypeName", - "src": "11486:7:1" + "src": "11819:7:0" } ], - "id": 788, + "id": 280, "name": "VariableDeclaration", - "src": "11486:9:1" + "src": "11819:9:0" } ], - "id": 789, + "id": 281, "name": "ParameterList", - "src": "11474:22:1" + "src": "11807:22:0" }, { "children": [ @@ -40783,7 +40783,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40795,21 +40795,21 @@ "name": "bool", "type": "bool" }, - "id": 790, + "id": 282, "name": "ElementaryTypeName", - "src": "11520:4:1" + "src": "11853:4:0" } ], - "id": 791, + "id": 283, "name": "VariableDeclaration", - "src": "11520:4:1" + "src": "11853:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40821,26 +40821,26 @@ "name": "uint256", "type": "uint256" }, - "id": 792, + "id": 284, "name": "ElementaryTypeName", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 793, + "id": 285, "name": "VariableDeclaration", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 794, + "id": 286, "name": "ParameterList", - "src": "11519:15:1" + "src": "11852:15:0" }, { "children": [ { "attributes": { "assignments": [ - 796 + 288 ] }, "children": [ @@ -40849,7 +40849,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 813, + "scope": 305, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40861,14 +40861,14 @@ "name": "uint256", "type": "uint256" }, - "id": 795, + "id": 287, "name": "ElementaryTypeName", - "src": "11545:7:1" + "src": "11879:7:0" } ], - "id": 796, + "id": 288, "name": "VariableDeclaration", - "src": "11545:9:1" + "src": "11879:9:0" }, { "attributes": { @@ -40889,36 +40889,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 797, + "id": 289, "name": "Identifier", - "src": "11557:1:1" + "src": "11891:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 280, "type": "uint256", "value": "b" }, - "id": 798, + "id": 290, "name": "Identifier", - "src": "11561:1:1" + "src": "11895:1:0" } ], - "id": 799, + "id": 291, "name": "BinaryOperation", - "src": "11557:5:1" + "src": "11891:5:0" } ], - "id": 800, + "id": 292, "name": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "attributes": {}, @@ -40942,35 +40942,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 801, + "id": 293, "name": "Identifier", - "src": "11576:1:1" + "src": "11911:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 802, + "id": 294, "name": "Identifier", - "src": "11580:1:1" + "src": "11915:1:0" } ], - "id": 803, + "id": 295, "name": "BinaryOperation", - "src": "11576:5:1" + "src": "11911:5:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -40994,9 +40994,9 @@ "type": "bool", "value": "false" }, - "id": 804, + "id": 296, "name": "Literal", - "src": "11591:5:1" + "src": "11926:5:0" }, { "attributes": { @@ -41009,28 +41009,28 @@ "type": "int_const 0", "value": "0" }, - "id": 805, + "id": 297, "name": "Literal", - "src": "11598:1:1" + "src": "11933:1:0" } ], - "id": 806, + "id": 298, "name": "TupleExpression", - "src": "11590:10:1" + "src": "11925:10:0" } ], - "id": 807, + "id": 299, "name": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } ], - "id": 808, + "id": 300, "name": "IfStatement", - "src": "11572:28:1" + "src": "11907:28:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -41054,42 +41054,42 @@ "type": "bool", "value": "true" }, - "id": 809, + "id": 301, "name": "Literal", - "src": "11618:4:1" + "src": "11954:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 810, + "id": 302, "name": "Identifier", - "src": "11624:1:1" + "src": "11960:1:0" } ], - "id": 811, + "id": 303, "name": "TupleExpression", - "src": "11617:9:1" + "src": "11953:9:0" } ], - "id": 812, + "id": 304, "name": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ], - "id": 813, + "id": 305, "name": "Block", - "src": "11535:98:1" + "src": "11868:102:0" } ], - "id": 814, + "id": 306, "name": "FunctionDefinition", - "src": "11459:174:1" + "src": "11792:178:0" }, { "attributes": { @@ -41100,7 +41100,7 @@ null ], "name": "trySub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41110,9 +41110,9 @@ "attributes": { "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 815, + "id": 307, "name": "StructuredDocumentation", - "src": "11639:135:1" + "src": "11978:139:0" }, { "children": [ @@ -41121,7 +41121,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41133,21 +41133,21 @@ "name": "uint256", "type": "uint256" }, - "id": 816, + "id": 308, "name": "ElementaryTypeName", - "src": "11795:7:1" + "src": "12139:7:0" } ], - "id": 817, + "id": 309, "name": "VariableDeclaration", - "src": "11795:9:1" + "src": "12139:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41159,19 +41159,19 @@ "name": "uint256", "type": "uint256" }, - "id": 818, + "id": 310, "name": "ElementaryTypeName", - "src": "11806:7:1" + "src": "12150:7:0" } ], - "id": 819, + "id": 311, "name": "VariableDeclaration", - "src": "11806:9:1" + "src": "12150:9:0" } ], - "id": 820, + "id": 312, "name": "ParameterList", - "src": "11794:22:1" + "src": "12138:22:0" }, { "children": [ @@ -41180,7 +41180,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41192,21 +41192,21 @@ "name": "bool", "type": "bool" }, - "id": 821, + "id": 313, "name": "ElementaryTypeName", - "src": "11840:4:1" + "src": "12184:4:0" } ], - "id": 822, + "id": 314, "name": "VariableDeclaration", - "src": "11840:4:1" + "src": "12184:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41218,19 +41218,19 @@ "name": "uint256", "type": "uint256" }, - "id": 823, + "id": 315, "name": "ElementaryTypeName", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 824, + "id": 316, "name": "VariableDeclaration", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 825, + "id": 317, "name": "ParameterList", - "src": "11839:15:1" + "src": "12183:15:0" }, { "children": [ @@ -41256,35 +41256,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 826, + "id": 318, "name": "Identifier", - "src": "11869:1:1" + "src": "12214:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 827, + "id": 319, "name": "Identifier", - "src": "11873:1:1" + "src": "12218:1:0" } ], - "id": 828, + "id": 320, "name": "BinaryOperation", - "src": "11869:5:1" + "src": "12214:5:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41308,9 +41308,9 @@ "type": "bool", "value": "false" }, - "id": 829, + "id": 321, "name": "Literal", - "src": "11884:5:1" + "src": "12229:5:0" }, { "attributes": { @@ -41323,28 +41323,28 @@ "type": "int_const 0", "value": "0" }, - "id": 830, + "id": 322, "name": "Literal", - "src": "11891:1:1" + "src": "12236:1:0" } ], - "id": 831, + "id": 323, "name": "TupleExpression", - "src": "11883:10:1" + "src": "12228:10:0" } ], - "id": 832, + "id": 324, "name": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } ], - "id": 833, + "id": 325, "name": "IfStatement", - "src": "11865:28:1" + "src": "12210:28:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41368,9 +41368,9 @@ "type": "bool", "value": "true" }, - "id": 834, + "id": 326, "name": "Literal", - "src": "11911:4:1" + "src": "12257:4:0" }, { "attributes": { @@ -41391,51 +41391,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 835, + "id": 327, "name": "Identifier", - "src": "11917:1:1" + "src": "12263:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 836, + "id": 328, "name": "Identifier", - "src": "11921:1:1" + "src": "12267:1:0" } ], - "id": 837, + "id": 329, "name": "BinaryOperation", - "src": "11917:5:1" + "src": "12263:5:0" } ], - "id": 838, + "id": 330, "name": "TupleExpression", - "src": "11910:13:1" + "src": "12256:13:0" } ], - "id": 839, + "id": 331, "name": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ], - "id": 840, + "id": 332, "name": "Block", - "src": "11855:75:1" + "src": "12199:78:0" } ], - "id": 841, + "id": 333, "name": "FunctionDefinition", - "src": "11779:151:1" + "src": "12123:154:0" }, { "attributes": { @@ -41446,7 +41446,7 @@ null ], "name": "tryMul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41456,9 +41456,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 842, + "id": 334, "name": "StructuredDocumentation", - "src": "11936:137:1" + "src": "12285:141:0" }, { "children": [ @@ -41467,7 +41467,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41479,21 +41479,21 @@ "name": "uint256", "type": "uint256" }, - "id": 843, + "id": 335, "name": "ElementaryTypeName", - "src": "12094:7:1" + "src": "12448:7:0" } ], - "id": 844, + "id": 336, "name": "VariableDeclaration", - "src": "12094:9:1" + "src": "12448:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41505,19 +41505,19 @@ "name": "uint256", "type": "uint256" }, - "id": 845, + "id": 337, "name": "ElementaryTypeName", - "src": "12105:7:1" + "src": "12459:7:0" } ], - "id": 846, + "id": 338, "name": "VariableDeclaration", - "src": "12105:9:1" + "src": "12459:9:0" } ], - "id": 847, + "id": 339, "name": "ParameterList", - "src": "12093:22:1" + "src": "12447:22:0" }, { "children": [ @@ -41526,7 +41526,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41538,21 +41538,21 @@ "name": "bool", "type": "bool" }, - "id": 848, + "id": 340, "name": "ElementaryTypeName", - "src": "12139:4:1" + "src": "12493:4:0" } ], - "id": 849, + "id": 341, "name": "VariableDeclaration", - "src": "12139:4:1" + "src": "12493:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41564,19 +41564,19 @@ "name": "uint256", "type": "uint256" }, - "id": 850, + "id": 342, "name": "ElementaryTypeName", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 851, + "id": 343, "name": "VariableDeclaration", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 852, + "id": 344, "name": "ParameterList", - "src": "12138:15:1" + "src": "12492:15:0" }, { "children": [ @@ -41602,13 +41602,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 853, + "id": 345, "name": "Identifier", - "src": "12386:1:1" + "src": "12744:1:0" }, { "attributes": { @@ -41621,18 +41621,18 @@ "type": "int_const 0", "value": "0" }, - "id": 854, + "id": 346, "name": "Literal", - "src": "12391:1:1" + "src": "12749:1:0" } ], - "id": 855, + "id": 347, "name": "BinaryOperation", - "src": "12386:6:1" + "src": "12744:6:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41656,9 +41656,9 @@ "type": "bool", "value": "true" }, - "id": 856, + "id": 348, "name": "Literal", - "src": "12402:4:1" + "src": "12760:4:0" }, { "attributes": { @@ -41671,29 +41671,29 @@ "type": "int_const 0", "value": "0" }, - "id": 857, + "id": 349, "name": "Literal", - "src": "12408:1:1" + "src": "12766:1:0" } ], - "id": 858, + "id": 350, "name": "TupleExpression", - "src": "12401:9:1" + "src": "12759:9:0" } ], - "id": 859, + "id": 351, "name": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } ], - "id": 860, + "id": 352, "name": "IfStatement", - "src": "12382:28:1" + "src": "12740:28:0" }, { "attributes": { "assignments": [ - 862 + 354 ] }, "children": [ @@ -41702,7 +41702,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 881, + "scope": 373, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41714,14 +41714,14 @@ "name": "uint256", "type": "uint256" }, - "id": 861, + "id": 353, "name": "ElementaryTypeName", - "src": "12420:7:1" + "src": "12779:7:0" } ], - "id": 862, + "id": 354, "name": "VariableDeclaration", - "src": "12420:9:1" + "src": "12779:9:0" }, { "attributes": { @@ -41742,36 +41742,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 863, + "id": 355, "name": "Identifier", - "src": "12432:1:1" + "src": "12791:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 864, + "id": 356, "name": "Identifier", - "src": "12436:1:1" + "src": "12795:1:0" } ], - "id": 865, + "id": 357, "name": "BinaryOperation", - "src": "12432:5:1" + "src": "12791:5:0" } ], - "id": 866, + "id": 358, "name": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "attributes": {}, @@ -41809,53 +41809,53 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 867, + "id": 359, "name": "Identifier", - "src": "12451:1:1" + "src": "12811:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 868, + "id": 360, "name": "Identifier", - "src": "12455:1:1" + "src": "12815:1:0" } ], - "id": 869, + "id": 361, "name": "BinaryOperation", - "src": "12451:5:1" + "src": "12811:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 870, + "id": 362, "name": "Identifier", - "src": "12460:1:1" + "src": "12820:1:0" } ], - "id": 871, + "id": 363, "name": "BinaryOperation", - "src": "12451:10:1" + "src": "12811:10:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41879,9 +41879,9 @@ "type": "bool", "value": "false" }, - "id": 872, + "id": 364, "name": "Literal", - "src": "12471:5:1" + "src": "12831:5:0" }, { "attributes": { @@ -41894,28 +41894,28 @@ "type": "int_const 0", "value": "0" }, - "id": 873, + "id": 365, "name": "Literal", - "src": "12478:1:1" + "src": "12838:1:0" } ], - "id": 874, + "id": 366, "name": "TupleExpression", - "src": "12470:10:1" + "src": "12830:10:0" } ], - "id": 875, + "id": 367, "name": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } ], - "id": 876, + "id": 368, "name": "IfStatement", - "src": "12447:33:1" + "src": "12807:33:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41939,42 +41939,42 @@ "type": "bool", "value": "true" }, - "id": 877, + "id": 369, "name": "Literal", - "src": "12498:4:1" + "src": "12859:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 878, + "id": 370, "name": "Identifier", - "src": "12504:1:1" + "src": "12865:1:0" } ], - "id": 879, + "id": 371, "name": "TupleExpression", - "src": "12497:9:1" + "src": "12858:9:0" } ], - "id": 880, + "id": 372, "name": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ], - "id": 881, + "id": 373, "name": "Block", - "src": "12154:359:1" + "src": "12508:367:0" } ], - "id": 882, + "id": 374, "name": "FunctionDefinition", - "src": "12078:435:1" + "src": "12432:443:0" }, { "attributes": { @@ -41985,7 +41985,7 @@ null ], "name": "tryDiv", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41995,9 +41995,9 @@ "attributes": { "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 883, + "id": 375, "name": "StructuredDocumentation", - "src": "12519:138:1" + "src": "12883:142:0" }, { "children": [ @@ -42006,7 +42006,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42018,21 +42018,21 @@ "name": "uint256", "type": "uint256" }, - "id": 884, + "id": 376, "name": "ElementaryTypeName", - "src": "12678:7:1" + "src": "13047:7:0" } ], - "id": 885, + "id": 377, "name": "VariableDeclaration", - "src": "12678:9:1" + "src": "13047:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42044,19 +42044,19 @@ "name": "uint256", "type": "uint256" }, - "id": 886, + "id": 378, "name": "ElementaryTypeName", - "src": "12689:7:1" + "src": "13058:7:0" } ], - "id": 887, + "id": 379, "name": "VariableDeclaration", - "src": "12689:9:1" + "src": "13058:9:0" } ], - "id": 888, + "id": 380, "name": "ParameterList", - "src": "12677:22:1" + "src": "13046:22:0" }, { "children": [ @@ -42065,7 +42065,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42077,21 +42077,21 @@ "name": "bool", "type": "bool" }, - "id": 889, + "id": 381, "name": "ElementaryTypeName", - "src": "12723:4:1" + "src": "13092:4:0" } ], - "id": 890, + "id": 382, "name": "VariableDeclaration", - "src": "12723:4:1" + "src": "13092:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42103,19 +42103,19 @@ "name": "uint256", "type": "uint256" }, - "id": 891, + "id": 383, "name": "ElementaryTypeName", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 892, + "id": 384, "name": "VariableDeclaration", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 893, + "id": 385, "name": "ParameterList", - "src": "12722:15:1" + "src": "13091:15:0" }, { "children": [ @@ -42141,13 +42141,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 894, + "id": 386, "name": "Identifier", - "src": "12752:1:1" + "src": "13122:1:0" }, { "attributes": { @@ -42160,18 +42160,18 @@ "type": "int_const 0", "value": "0" }, - "id": 895, + "id": 387, "name": "Literal", - "src": "12757:1:1" + "src": "13127:1:0" } ], - "id": 896, + "id": 388, "name": "BinaryOperation", - "src": "12752:6:1" + "src": "13122:6:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42195,9 +42195,9 @@ "type": "bool", "value": "false" }, - "id": 897, + "id": 389, "name": "Literal", - "src": "12768:5:1" + "src": "13138:5:0" }, { "attributes": { @@ -42210,28 +42210,28 @@ "type": "int_const 0", "value": "0" }, - "id": 898, + "id": 390, "name": "Literal", - "src": "12775:1:1" + "src": "13145:1:0" } ], - "id": 899, + "id": 391, "name": "TupleExpression", - "src": "12767:10:1" + "src": "13137:10:0" } ], - "id": 900, + "id": 392, "name": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } ], - "id": 901, + "id": 393, "name": "IfStatement", - "src": "12748:29:1" + "src": "13118:29:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42255,9 +42255,9 @@ "type": "bool", "value": "true" }, - "id": 902, + "id": 394, "name": "Literal", - "src": "12795:4:1" + "src": "13166:4:0" }, { "attributes": { @@ -42278,51 +42278,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 885, + "referencedDeclaration": 377, "type": "uint256", "value": "a" }, - "id": 903, + "id": 395, "name": "Identifier", - "src": "12801:1:1" + "src": "13172:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 904, + "id": 396, "name": "Identifier", - "src": "12805:1:1" + "src": "13176:1:0" } ], - "id": 905, + "id": 397, "name": "BinaryOperation", - "src": "12801:5:1" + "src": "13172:5:0" } ], - "id": 906, + "id": 398, "name": "TupleExpression", - "src": "12794:13:1" + "src": "13165:13:0" } ], - "id": 907, + "id": 399, "name": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ], - "id": 908, + "id": 400, "name": "Block", - "src": "12738:76:1" + "src": "13107:79:0" } ], - "id": 909, + "id": 401, "name": "FunctionDefinition", - "src": "12662:152:1" + "src": "13031:155:0" }, { "attributes": { @@ -42333,7 +42333,7 @@ null ], "name": "tryMod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42343,9 +42343,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 910, + "id": 402, "name": "StructuredDocumentation", - "src": "12820:148:1" + "src": "13194:152:0" }, { "children": [ @@ -42354,7 +42354,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42366,21 +42366,21 @@ "name": "uint256", "type": "uint256" }, - "id": 911, + "id": 403, "name": "ElementaryTypeName", - "src": "12989:7:1" + "src": "13368:7:0" } ], - "id": 912, + "id": 404, "name": "VariableDeclaration", - "src": "12989:9:1" + "src": "13368:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42392,19 +42392,19 @@ "name": "uint256", "type": "uint256" }, - "id": 913, + "id": 405, "name": "ElementaryTypeName", - "src": "13000:7:1" + "src": "13379:7:0" } ], - "id": 914, + "id": 406, "name": "VariableDeclaration", - "src": "13000:9:1" + "src": "13379:9:0" } ], - "id": 915, + "id": 407, "name": "ParameterList", - "src": "12988:22:1" + "src": "13367:22:0" }, { "children": [ @@ -42413,7 +42413,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42425,21 +42425,21 @@ "name": "bool", "type": "bool" }, - "id": 916, + "id": 408, "name": "ElementaryTypeName", - "src": "13034:4:1" + "src": "13413:4:0" } ], - "id": 917, + "id": 409, "name": "VariableDeclaration", - "src": "13034:4:1" + "src": "13413:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42451,19 +42451,19 @@ "name": "uint256", "type": "uint256" }, - "id": 918, + "id": 410, "name": "ElementaryTypeName", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 919, + "id": 411, "name": "VariableDeclaration", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 920, + "id": 412, "name": "ParameterList", - "src": "13033:15:1" + "src": "13412:15:0" }, { "children": [ @@ -42489,13 +42489,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 921, + "id": 413, "name": "Identifier", - "src": "13063:1:1" + "src": "13443:1:0" }, { "attributes": { @@ -42508,18 +42508,18 @@ "type": "int_const 0", "value": "0" }, - "id": 922, + "id": 414, "name": "Literal", - "src": "13068:1:1" + "src": "13448:1:0" } ], - "id": 923, + "id": 415, "name": "BinaryOperation", - "src": "13063:6:1" + "src": "13443:6:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42543,9 +42543,9 @@ "type": "bool", "value": "false" }, - "id": 924, + "id": 416, "name": "Literal", - "src": "13079:5:1" + "src": "13459:5:0" }, { "attributes": { @@ -42558,28 +42558,28 @@ "type": "int_const 0", "value": "0" }, - "id": 925, + "id": 417, "name": "Literal", - "src": "13086:1:1" + "src": "13466:1:0" } ], - "id": 926, + "id": 418, "name": "TupleExpression", - "src": "13078:10:1" + "src": "13458:10:0" } ], - "id": 927, + "id": 419, "name": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } ], - "id": 928, + "id": 420, "name": "IfStatement", - "src": "13059:29:1" + "src": "13439:29:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42603,9 +42603,9 @@ "type": "bool", "value": "true" }, - "id": 929, + "id": 421, "name": "Literal", - "src": "13106:4:1" + "src": "13487:4:0" }, { "attributes": { @@ -42626,51 +42626,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 912, + "referencedDeclaration": 404, "type": "uint256", "value": "a" }, - "id": 930, + "id": 422, "name": "Identifier", - "src": "13112:1:1" + "src": "13493:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 931, + "id": 423, "name": "Identifier", - "src": "13116:1:1" + "src": "13497:1:0" } ], - "id": 932, + "id": 424, "name": "BinaryOperation", - "src": "13112:5:1" + "src": "13493:5:0" } ], - "id": 933, + "id": 425, "name": "TupleExpression", - "src": "13105:13:1" + "src": "13486:13:0" } ], - "id": 934, + "id": 426, "name": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ], - "id": 935, + "id": 427, "name": "Block", - "src": "13049:76:1" + "src": "13428:79:0" } ], - "id": 936, + "id": 428, "name": "FunctionDefinition", - "src": "12973:152:1" + "src": "13352:155:0" }, { "attributes": { @@ -42681,7 +42681,7 @@ null ], "name": "add", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42691,9 +42691,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 937, + "id": 429, "name": "StructuredDocumentation", - "src": "13131:224:1" + "src": "13515:233:0" }, { "children": [ @@ -42702,7 +42702,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42714,21 +42714,21 @@ "name": "uint256", "type": "uint256" }, - "id": 938, + "id": 430, "name": "ElementaryTypeName", - "src": "13373:7:1" + "src": "13767:7:0" } ], - "id": 939, + "id": 431, "name": "VariableDeclaration", - "src": "13373:9:1" + "src": "13767:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42740,19 +42740,19 @@ "name": "uint256", "type": "uint256" }, - "id": 940, + "id": 432, "name": "ElementaryTypeName", - "src": "13384:7:1" + "src": "13778:7:0" } ], - "id": 941, + "id": 433, "name": "VariableDeclaration", - "src": "13384:9:1" + "src": "13778:9:0" } ], - "id": 942, + "id": 434, "name": "ParameterList", - "src": "13372:22:1" + "src": "13766:22:0" }, { "children": [ @@ -42761,7 +42761,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42773,26 +42773,26 @@ "name": "uint256", "type": "uint256" }, - "id": 943, + "id": 435, "name": "ElementaryTypeName", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 944, + "id": 436, "name": "VariableDeclaration", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 945, + "id": 437, "name": "ParameterList", - "src": "13417:9:1" + "src": "13811:9:0" }, { "children": [ { "attributes": { "assignments": [ - 947 + 439 ] }, "children": [ @@ -42801,7 +42801,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 961, + "scope": 453, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42813,14 +42813,14 @@ "name": "uint256", "type": "uint256" }, - "id": 946, + "id": 438, "name": "ElementaryTypeName", - "src": "13437:7:1" + "src": "13832:7:0" } ], - "id": 947, + "id": 439, "name": "VariableDeclaration", - "src": "13437:9:1" + "src": "13832:9:0" }, { "attributes": { @@ -42841,36 +42841,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 948, + "id": 440, "name": "Identifier", - "src": "13449:1:1" + "src": "13844:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 941, + "referencedDeclaration": 433, "type": "uint256", "value": "b" }, - "id": 949, + "id": 441, "name": "Identifier", - "src": "13453:1:1" + "src": "13848:1:0" } ], - "id": 950, + "id": 442, "name": "BinaryOperation", - "src": "13449:5:1" + "src": "13844:5:0" } ], - "id": 951, + "id": 443, "name": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "children": [ @@ -42909,9 +42909,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 952, + "id": 444, "name": "Identifier", - "src": "13464:7:1" + "src": "13860:7:0" }, { "attributes": { @@ -42932,31 +42932,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 953, + "id": 445, "name": "Identifier", - "src": "13472:1:1" + "src": "13868:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 954, + "id": 446, "name": "Identifier", - "src": "13477:1:1" + "src": "13873:1:0" } ], - "id": 955, + "id": 447, "name": "BinaryOperation", - "src": "13472:6:1" + "src": "13868:6:0" }, { "attributes": { @@ -42969,23 +42969,23 @@ "type": "literal_string \"SafeMath: addition overflow\"", "value": "SafeMath: addition overflow" }, - "id": 956, + "id": 448, "name": "Literal", - "src": "13480:29:1" + "src": "13876:29:0" } ], - "id": 957, + "id": 449, "name": "FunctionCall", - "src": "13464:46:1" + "src": "13860:46:0" } ], - "id": 958, + "id": 450, "name": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "attributes": { - "functionReturnParameters": 945 + "functionReturnParameters": 437 }, "children": [ { @@ -42993,28 +42993,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 959, + "id": 451, "name": "Identifier", - "src": "13527:1:1" + "src": "13924:1:0" } ], - "id": 960, + "id": 452, "name": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ], - "id": 961, + "id": 453, "name": "Block", - "src": "13427:108:1" + "src": "13821:112:0" } ], - "id": 962, + "id": 454, "name": "FunctionDefinition", - "src": "13360:175:1" + "src": "13754:179:0" }, { "attributes": { @@ -43025,7 +43025,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43035,9 +43035,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 963, + "id": 455, "name": "StructuredDocumentation", - "src": "13541:260:1" + "src": "13941:269:0" }, { "children": [ @@ -43046,7 +43046,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43058,21 +43058,21 @@ "name": "uint256", "type": "uint256" }, - "id": 964, + "id": 456, "name": "ElementaryTypeName", - "src": "13819:7:1" + "src": "14229:7:0" } ], - "id": 965, + "id": 457, "name": "VariableDeclaration", - "src": "13819:9:1" + "src": "14229:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43084,19 +43084,19 @@ "name": "uint256", "type": "uint256" }, - "id": 966, + "id": 458, "name": "ElementaryTypeName", - "src": "13830:7:1" + "src": "14240:7:0" } ], - "id": 967, + "id": 459, "name": "VariableDeclaration", - "src": "13830:9:1" + "src": "14240:9:0" } ], - "id": 968, + "id": 460, "name": "ParameterList", - "src": "13818:22:1" + "src": "14228:22:0" }, { "children": [ @@ -43105,7 +43105,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43117,19 +43117,19 @@ "name": "uint256", "type": "uint256" }, - "id": 969, + "id": 461, "name": "ElementaryTypeName", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 970, + "id": 462, "name": "VariableDeclaration", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 971, + "id": 463, "name": "ParameterList", - "src": "13863:9:1" + "src": "14273:9:0" }, { "children": [ @@ -43170,9 +43170,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 972, + "id": 464, "name": "Identifier", - "src": "13883:7:1" + "src": "14294:7:0" }, { "attributes": { @@ -43193,31 +43193,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 973, + "id": 465, "name": "Identifier", - "src": "13891:1:1" + "src": "14302:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 974, + "id": 466, "name": "Identifier", - "src": "13896:1:1" + "src": "14307:1:0" } ], - "id": 975, + "id": 467, "name": "BinaryOperation", - "src": "13891:6:1" + "src": "14302:6:0" }, { "attributes": { @@ -43230,23 +43230,23 @@ "type": "literal_string \"SafeMath: subtraction overflow\"", "value": "SafeMath: subtraction overflow" }, - "id": 976, + "id": 468, "name": "Literal", - "src": "13899:32:1" + "src": "14310:32:0" } ], - "id": 977, + "id": 469, "name": "FunctionCall", - "src": "13883:49:1" + "src": "14294:49:0" } ], - "id": 978, + "id": 470, "name": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "attributes": { - "functionReturnParameters": 971 + "functionReturnParameters": 463 }, "children": [ { @@ -43268,46 +43268,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 979, + "id": 471, "name": "Identifier", - "src": "13949:1:1" + "src": "14361:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 980, + "id": 472, "name": "Identifier", - "src": "13953:1:1" + "src": "14365:1:0" } ], - "id": 981, + "id": 473, "name": "BinaryOperation", - "src": "13949:5:1" + "src": "14361:5:0" } ], - "id": 982, + "id": 474, "name": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ], - "id": 983, + "id": 475, "name": "Block", - "src": "13873:88:1" + "src": "14283:91:0" } ], - "id": 984, + "id": 476, "name": "FunctionDefinition", - "src": "13806:155:1" + "src": "14216:158:0" }, { "attributes": { @@ -43318,7 +43318,7 @@ null ], "name": "mul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43328,9 +43328,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 985, + "id": 477, "name": "StructuredDocumentation", - "src": "13967:236:1" + "src": "14382:245:0" }, { "children": [ @@ -43339,7 +43339,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43351,21 +43351,21 @@ "name": "uint256", "type": "uint256" }, - "id": 986, + "id": 478, "name": "ElementaryTypeName", - "src": "14221:7:1" + "src": "14646:7:0" } ], - "id": 987, + "id": 479, "name": "VariableDeclaration", - "src": "14221:9:1" + "src": "14646:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43377,19 +43377,19 @@ "name": "uint256", "type": "uint256" }, - "id": 988, + "id": 480, "name": "ElementaryTypeName", - "src": "14232:7:1" + "src": "14657:7:0" } ], - "id": 989, + "id": 481, "name": "VariableDeclaration", - "src": "14232:9:1" + "src": "14657:9:0" } ], - "id": 990, + "id": 482, "name": "ParameterList", - "src": "14220:22:1" + "src": "14645:22:0" }, { "children": [ @@ -43398,7 +43398,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43410,19 +43410,19 @@ "name": "uint256", "type": "uint256" }, - "id": 991, + "id": 483, "name": "ElementaryTypeName", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 992, + "id": 484, "name": "VariableDeclaration", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 993, + "id": 485, "name": "ParameterList", - "src": "14265:9:1" + "src": "14690:9:0" }, { "children": [ @@ -43448,13 +43448,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 994, + "id": 486, "name": "Identifier", - "src": "14289:1:1" + "src": "14715:1:0" }, { "attributes": { @@ -43467,18 +43467,18 @@ "type": "int_const 0", "value": "0" }, - "id": 995, + "id": 487, "name": "Literal", - "src": "14294:1:1" + "src": "14720:1:0" } ], - "id": 996, + "id": 488, "name": "BinaryOperation", - "src": "14289:6:1" + "src": "14715:6:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43492,24 +43492,24 @@ "type": "int_const 0", "value": "0" }, - "id": 997, + "id": 489, "name": "Literal", - "src": "14304:1:1" + "src": "14730:1:0" } ], - "id": 998, + "id": 490, "name": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } ], - "id": 999, + "id": 491, "name": "IfStatement", - "src": "14285:20:1" + "src": "14711:20:0" }, { "attributes": { "assignments": [ - 1001 + 493 ] }, "children": [ @@ -43518,7 +43518,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 1017, + "scope": 509, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43530,14 +43530,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1000, + "id": 492, "name": "ElementaryTypeName", - "src": "14315:7:1" + "src": "14742:7:0" } ], - "id": 1001, + "id": 493, "name": "VariableDeclaration", - "src": "14315:9:1" + "src": "14742:9:0" }, { "attributes": { @@ -43558,36 +43558,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1002, + "id": 494, "name": "Identifier", - "src": "14327:1:1" + "src": "14754:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1003, + "id": 495, "name": "Identifier", - "src": "14331:1:1" + "src": "14758:1:0" } ], - "id": 1004, + "id": 496, "name": "BinaryOperation", - "src": "14327:5:1" + "src": "14754:5:0" } ], - "id": 1005, + "id": 497, "name": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "children": [ @@ -43626,9 +43626,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1006, + "id": 498, "name": "Identifier", - "src": "14342:7:1" + "src": "14770:7:0" }, { "attributes": { @@ -43663,49 +43663,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1007, + "id": 499, "name": "Identifier", - "src": "14350:1:1" + "src": "14778:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1008, + "id": 500, "name": "Identifier", - "src": "14354:1:1" + "src": "14782:1:0" } ], - "id": 1009, + "id": 501, "name": "BinaryOperation", - "src": "14350:5:1" + "src": "14778:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1010, + "id": 502, "name": "Identifier", - "src": "14359:1:1" + "src": "14787:1:0" } ], - "id": 1011, + "id": 503, "name": "BinaryOperation", - "src": "14350:10:1" + "src": "14778:10:0" }, { "attributes": { @@ -43718,23 +43718,23 @@ "type": "literal_string \"SafeMath: multiplication overflow\"", "value": "SafeMath: multiplication overflow" }, - "id": 1012, + "id": 504, "name": "Literal", - "src": "14362:35:1" + "src": "14790:35:0" } ], - "id": 1013, + "id": 505, "name": "FunctionCall", - "src": "14342:56:1" + "src": "14770:56:0" } ], - "id": 1014, + "id": 506, "name": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43742,28 +43742,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1015, + "id": 507, "name": "Identifier", - "src": "14415:1:1" + "src": "14844:1:0" } ], - "id": 1016, + "id": 508, "name": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ], - "id": 1017, + "id": 509, "name": "Block", - "src": "14275:148:1" + "src": "14700:153:0" } ], - "id": 1018, + "id": 510, "name": "FunctionDefinition", - "src": "14208:215:1" + "src": "14633:220:0" }, { "attributes": { @@ -43774,7 +43774,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43784,9 +43784,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1019, + "id": 511, "name": "StructuredDocumentation", - "src": "14429:453:1" + "src": "14861:464:0" }, { "children": [ @@ -43795,7 +43795,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43807,21 +43807,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1020, + "id": 512, "name": "ElementaryTypeName", - "src": "14900:7:1" + "src": "15344:7:0" } ], - "id": 1021, + "id": 513, "name": "VariableDeclaration", - "src": "14900:9:1" + "src": "15344:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43833,19 +43833,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1022, + "id": 514, "name": "ElementaryTypeName", - "src": "14911:7:1" + "src": "15355:7:0" } ], - "id": 1023, + "id": 515, "name": "VariableDeclaration", - "src": "14911:9:1" + "src": "15355:9:0" } ], - "id": 1024, + "id": 516, "name": "ParameterList", - "src": "14899:22:1" + "src": "15343:22:0" }, { "children": [ @@ -43854,7 +43854,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43866,19 +43866,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1025, + "id": 517, "name": "ElementaryTypeName", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1026, + "id": 518, "name": "VariableDeclaration", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1027, + "id": 519, "name": "ParameterList", - "src": "14944:9:1" + "src": "15388:9:0" }, { "children": [ @@ -43919,9 +43919,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1028, + "id": 520, "name": "Identifier", - "src": "14964:7:1" + "src": "15409:7:0" }, { "attributes": { @@ -43942,13 +43942,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1029, + "id": 521, "name": "Identifier", - "src": "14972:1:1" + "src": "15417:1:0" }, { "attributes": { @@ -43961,14 +43961,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1030, + "id": 522, "name": "Literal", - "src": "14976:1:1" + "src": "15421:1:0" } ], - "id": 1031, + "id": 523, "name": "BinaryOperation", - "src": "14972:5:1" + "src": "15417:5:0" }, { "attributes": { @@ -43981,23 +43981,23 @@ "type": "literal_string \"SafeMath: division by zero\"", "value": "SafeMath: division by zero" }, - "id": 1032, + "id": 524, "name": "Literal", - "src": "14979:28:1" + "src": "15424:28:0" } ], - "id": 1033, + "id": 525, "name": "FunctionCall", - "src": "14964:44:1" + "src": "15409:44:0" } ], - "id": 1034, + "id": 526, "name": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "attributes": { - "functionReturnParameters": 1027 + "functionReturnParameters": 519 }, "children": [ { @@ -44019,46 +44019,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1021, + "referencedDeclaration": 513, "type": "uint256", "value": "a" }, - "id": 1035, + "id": 527, "name": "Identifier", - "src": "15025:1:1" + "src": "15471:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1036, + "id": 528, "name": "Identifier", - "src": "15029:1:1" + "src": "15475:1:0" } ], - "id": 1037, + "id": 529, "name": "BinaryOperation", - "src": "15025:5:1" + "src": "15471:5:0" } ], - "id": 1038, + "id": 530, "name": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ], - "id": 1039, + "id": 531, "name": "Block", - "src": "14954:83:1" + "src": "15398:86:0" } ], - "id": 1040, + "id": 532, "name": "FunctionDefinition", - "src": "14887:150:1" + "src": "15331:153:0" }, { "attributes": { @@ -44069,7 +44069,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44079,9 +44079,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1041, + "id": 533, "name": "StructuredDocumentation", - "src": "15043:442:1" + "src": "15492:453:0" }, { "children": [ @@ -44090,7 +44090,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44102,21 +44102,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1042, + "id": 534, "name": "ElementaryTypeName", - "src": "15503:7:1" + "src": "15964:7:0" } ], - "id": 1043, + "id": 535, "name": "VariableDeclaration", - "src": "15503:9:1" + "src": "15964:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44128,19 +44128,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1044, + "id": 536, "name": "ElementaryTypeName", - "src": "15514:7:1" + "src": "15975:7:0" } ], - "id": 1045, + "id": 537, "name": "VariableDeclaration", - "src": "15514:9:1" + "src": "15975:9:0" } ], - "id": 1046, + "id": 538, "name": "ParameterList", - "src": "15502:22:1" + "src": "15963:22:0" }, { "children": [ @@ -44149,7 +44149,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44161,19 +44161,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1047, + "id": 539, "name": "ElementaryTypeName", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1048, + "id": 540, "name": "VariableDeclaration", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1049, + "id": 541, "name": "ParameterList", - "src": "15547:9:1" + "src": "16008:9:0" }, { "children": [ @@ -44214,9 +44214,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1050, + "id": 542, "name": "Identifier", - "src": "15567:7:1" + "src": "16029:7:0" }, { "attributes": { @@ -44237,13 +44237,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1051, + "id": 543, "name": "Identifier", - "src": "15575:1:1" + "src": "16037:1:0" }, { "attributes": { @@ -44256,14 +44256,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1052, + "id": 544, "name": "Literal", - "src": "15579:1:1" + "src": "16041:1:0" } ], - "id": 1053, + "id": 545, "name": "BinaryOperation", - "src": "15575:5:1" + "src": "16037:5:0" }, { "attributes": { @@ -44276,23 +44276,23 @@ "type": "literal_string \"SafeMath: modulo by zero\"", "value": "SafeMath: modulo by zero" }, - "id": 1054, + "id": 546, "name": "Literal", - "src": "15582:26:1" + "src": "16044:26:0" } ], - "id": 1055, + "id": 547, "name": "FunctionCall", - "src": "15567:42:1" + "src": "16029:42:0" } ], - "id": 1056, + "id": 548, "name": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "attributes": { - "functionReturnParameters": 1049 + "functionReturnParameters": 541 }, "children": [ { @@ -44314,46 +44314,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1043, + "referencedDeclaration": 535, "type": "uint256", "value": "a" }, - "id": 1057, + "id": 549, "name": "Identifier", - "src": "15626:1:1" + "src": "16089:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1058, + "id": 550, "name": "Identifier", - "src": "15630:1:1" + "src": "16093:1:0" } ], - "id": 1059, + "id": 551, "name": "BinaryOperation", - "src": "15626:5:1" + "src": "16089:5:0" } ], - "id": 1060, + "id": 552, "name": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ], - "id": 1061, + "id": 553, "name": "Block", - "src": "15557:81:1" + "src": "16018:84:0" } ], - "id": 1062, + "id": 554, "name": "FunctionDefinition", - "src": "15490:148:1" + "src": "15951:151:0" }, { "attributes": { @@ -44364,7 +44364,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44374,9 +44374,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1063, + "id": 555, "name": "StructuredDocumentation", - "src": "15644:453:1" + "src": "16110:465:0" }, { "children": [ @@ -44385,7 +44385,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44397,21 +44397,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1064, + "id": 556, "name": "ElementaryTypeName", - "src": "16115:7:1" + "src": "16594:7:0" } ], - "id": 1065, + "id": 557, "name": "VariableDeclaration", - "src": "16115:9:1" + "src": "16594:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44423,21 +44423,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1066, + "id": 558, "name": "ElementaryTypeName", - "src": "16126:7:1" + "src": "16605:7:0" } ], - "id": 1067, + "id": 559, "name": "VariableDeclaration", - "src": "16126:9:1" + "src": "16605:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44449,19 +44449,19 @@ "name": "string", "type": "string" }, - "id": 1068, + "id": 560, "name": "ElementaryTypeName", - "src": "16137:6:1" + "src": "16616:6:0" } ], - "id": 1069, + "id": 561, "name": "VariableDeclaration", - "src": "16137:26:1" + "src": "16616:26:0" } ], - "id": 1070, + "id": 562, "name": "ParameterList", - "src": "16114:50:1" + "src": "16593:50:0" }, { "children": [ @@ -44470,7 +44470,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44482,19 +44482,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1071, + "id": 563, "name": "ElementaryTypeName", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1072, + "id": 564, "name": "VariableDeclaration", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1073, + "id": 565, "name": "ParameterList", - "src": "16187:9:1" + "src": "16666:9:0" }, { "children": [ @@ -44535,9 +44535,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1074, + "id": 566, "name": "Identifier", - "src": "16207:7:1" + "src": "16687:7:0" }, { "attributes": { @@ -44558,58 +44558,58 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1075, + "id": 567, "name": "Identifier", - "src": "16215:1:1" + "src": "16695:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1076, + "id": 568, "name": "Identifier", - "src": "16220:1:1" + "src": "16700:1:0" } ], - "id": 1077, + "id": 569, "name": "BinaryOperation", - "src": "16215:6:1" + "src": "16695:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1069, + "referencedDeclaration": 561, "type": "string memory", "value": "errorMessage" }, - "id": 1078, + "id": 570, "name": "Identifier", - "src": "16223:12:1" + "src": "16703:12:0" } ], - "id": 1079, + "id": 571, "name": "FunctionCall", - "src": "16207:29:1" + "src": "16687:29:0" } ], - "id": 1080, + "id": 572, "name": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "attributes": { - "functionReturnParameters": 1073 + "functionReturnParameters": 565 }, "children": [ { @@ -44631,46 +44631,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1081, + "id": 573, "name": "Identifier", - "src": "16253:1:1" + "src": "16734:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1082, + "id": 574, "name": "Identifier", - "src": "16257:1:1" + "src": "16738:1:0" } ], - "id": 1083, + "id": 575, "name": "BinaryOperation", - "src": "16253:5:1" + "src": "16734:5:0" } ], - "id": 1084, + "id": 576, "name": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ], - "id": 1085, + "id": 577, "name": "Block", - "src": "16197:68:1" + "src": "16676:71:0" } ], - "id": 1086, + "id": 578, "name": "FunctionDefinition", - "src": "16102:163:1" + "src": "16581:166:0" }, { "attributes": { @@ -44681,7 +44681,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44691,9 +44691,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1087, + "id": 579, "name": "StructuredDocumentation", - "src": "16271:646:1" + "src": "16755:660:0" }, { "children": [ @@ -44702,7 +44702,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44714,21 +44714,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1088, + "id": 580, "name": "ElementaryTypeName", - "src": "16935:7:1" + "src": "17434:7:0" } ], - "id": 1089, + "id": 581, "name": "VariableDeclaration", - "src": "16935:9:1" + "src": "17434:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44740,21 +44740,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1090, + "id": 582, "name": "ElementaryTypeName", - "src": "16946:7:1" + "src": "17445:7:0" } ], - "id": 1091, + "id": 583, "name": "VariableDeclaration", - "src": "16946:9:1" + "src": "17445:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44766,19 +44766,19 @@ "name": "string", "type": "string" }, - "id": 1092, + "id": 584, "name": "ElementaryTypeName", - "src": "16957:6:1" + "src": "17456:6:0" } ], - "id": 1093, + "id": 585, "name": "VariableDeclaration", - "src": "16957:26:1" + "src": "17456:26:0" } ], - "id": 1094, + "id": 586, "name": "ParameterList", - "src": "16934:50:1" + "src": "17433:50:0" }, { "children": [ @@ -44787,7 +44787,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44799,19 +44799,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1095, + "id": 587, "name": "ElementaryTypeName", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1096, + "id": 588, "name": "VariableDeclaration", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1097, + "id": 589, "name": "ParameterList", - "src": "17007:9:1" + "src": "17506:9:0" }, { "children": [ @@ -44852,9 +44852,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1098, + "id": 590, "name": "Identifier", - "src": "17027:7:1" + "src": "17527:7:0" }, { "attributes": { @@ -44875,13 +44875,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1099, + "id": 591, "name": "Identifier", - "src": "17035:1:1" + "src": "17535:1:0" }, { "attributes": { @@ -44894,41 +44894,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1100, + "id": 592, "name": "Literal", - "src": "17039:1:1" + "src": "17539:1:0" } ], - "id": 1101, + "id": 593, "name": "BinaryOperation", - "src": "17035:5:1" + "src": "17535:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1093, + "referencedDeclaration": 585, "type": "string memory", "value": "errorMessage" }, - "id": 1102, + "id": 594, "name": "Identifier", - "src": "17042:12:1" + "src": "17542:12:0" } ], - "id": 1103, + "id": 595, "name": "FunctionCall", - "src": "17027:28:1" + "src": "17527:28:0" } ], - "id": 1104, + "id": 596, "name": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "attributes": { - "functionReturnParameters": 1097 + "functionReturnParameters": 589 }, "children": [ { @@ -44950,46 +44950,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1089, + "referencedDeclaration": 581, "type": "uint256", "value": "a" }, - "id": 1105, + "id": 597, "name": "Identifier", - "src": "17072:1:1" + "src": "17573:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1106, + "id": 598, "name": "Identifier", - "src": "17076:1:1" + "src": "17577:1:0" } ], - "id": 1107, + "id": 599, "name": "BinaryOperation", - "src": "17072:5:1" + "src": "17573:5:0" } ], - "id": 1108, + "id": 600, "name": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ], - "id": 1109, + "id": 601, "name": "Block", - "src": "17017:67:1" + "src": "17516:70:0" } ], - "id": 1110, + "id": 602, "name": "FunctionDefinition", - "src": "16922:162:1" + "src": "17421:165:0" }, { "attributes": { @@ -45000,7 +45000,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -45010,9 +45010,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1111, + "id": 603, "name": "StructuredDocumentation", - "src": "17090:635:1" + "src": "17594:649:0" }, { "children": [ @@ -45021,7 +45021,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45033,21 +45033,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1112, + "id": 604, "name": "ElementaryTypeName", - "src": "17743:7:1" + "src": "18262:7:0" } ], - "id": 1113, + "id": 605, "name": "VariableDeclaration", - "src": "17743:9:1" + "src": "18262:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45059,21 +45059,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1114, + "id": 606, "name": "ElementaryTypeName", - "src": "17754:7:1" + "src": "18273:7:0" } ], - "id": 1115, + "id": 607, "name": "VariableDeclaration", - "src": "17754:9:1" + "src": "18273:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -45085,19 +45085,19 @@ "name": "string", "type": "string" }, - "id": 1116, + "id": 608, "name": "ElementaryTypeName", - "src": "17765:6:1" + "src": "18284:6:0" } ], - "id": 1117, + "id": 609, "name": "VariableDeclaration", - "src": "17765:26:1" + "src": "18284:26:0" } ], - "id": 1118, + "id": 610, "name": "ParameterList", - "src": "17742:50:1" + "src": "18261:50:0" }, { "children": [ @@ -45106,7 +45106,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45118,19 +45118,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1119, + "id": 611, "name": "ElementaryTypeName", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1120, + "id": 612, "name": "VariableDeclaration", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1121, + "id": 613, "name": "ParameterList", - "src": "17815:9:1" + "src": "18334:9:0" }, { "children": [ @@ -45171,9 +45171,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1122, + "id": 614, "name": "Identifier", - "src": "17835:7:1" + "src": "18355:7:0" }, { "attributes": { @@ -45194,13 +45194,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1123, + "id": 615, "name": "Identifier", - "src": "17843:1:1" + "src": "18363:1:0" }, { "attributes": { @@ -45213,41 +45213,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1124, + "id": 616, "name": "Literal", - "src": "17847:1:1" + "src": "18367:1:0" } ], - "id": 1125, + "id": 617, "name": "BinaryOperation", - "src": "17843:5:1" + "src": "18363:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1117, + "referencedDeclaration": 609, "type": "string memory", "value": "errorMessage" }, - "id": 1126, + "id": 618, "name": "Identifier", - "src": "17850:12:1" + "src": "18370:12:0" } ], - "id": 1127, + "id": 619, "name": "FunctionCall", - "src": "17835:28:1" + "src": "18355:28:0" } ], - "id": 1128, + "id": 620, "name": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "attributes": { - "functionReturnParameters": 1121 + "functionReturnParameters": 613 }, "children": [ { @@ -45269,51 +45269,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1113, + "referencedDeclaration": 605, "type": "uint256", "value": "a" }, - "id": 1129, + "id": 621, "name": "Identifier", - "src": "17880:1:1" + "src": "18401:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1130, + "id": 622, "name": "Identifier", - "src": "17884:1:1" + "src": "18405:1:0" } ], - "id": 1131, + "id": 623, "name": "BinaryOperation", - "src": "17880:5:1" + "src": "18401:5:0" } ], - "id": 1132, + "id": 624, "name": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ], - "id": 1133, + "id": 625, "name": "Block", - "src": "17825:67:1" + "src": "18344:70:0" } ], - "id": 1134, + "id": 626, "name": "FunctionDefinition", - "src": "17730:162:1" + "src": "18249:165:0" } ], - "id": 1135, + "id": 627, "name": "ContractDefinition", - "src": "11300:6594:1" + "src": "11627:6790:0" }, { "attributes": { @@ -45327,9 +45327,9 @@ ".0" ] }, - "id": 1136, + "id": 628, "name": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "attributes": { @@ -45343,19 +45343,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Collection of functions related to the address type" }, - "id": 1137, + "id": 629, "name": "StructuredDocumentation", - "src": "17980:67:1" + "src": "18508:69:0" }, { "attributes": { @@ -45366,7 +45366,7 @@ null ], "name": "isContract", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -45376,9 +45376,9 @@ "attributes": { "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1138, + "id": 630, "name": "StructuredDocumentation", - "src": "18070:565:1" + "src": "18602:581:0" }, { "children": [ @@ -45387,7 +45387,7 @@ "constant": false, "mutability": "mutable", "name": "account", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -45400,19 +45400,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1139, + "id": 631, "name": "ElementaryTypeName", - "src": "18660:7:1" + "src": "19209:7:0" } ], - "id": 1140, + "id": 632, "name": "VariableDeclaration", - "src": "18660:15:1" + "src": "19209:15:0" } ], - "id": 1141, + "id": 633, "name": "ParameterList", - "src": "18659:17:1" + "src": "19208:17:0" }, { "children": [ @@ -45421,7 +45421,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45433,26 +45433,26 @@ "name": "bool", "type": "bool" }, - "id": 1142, + "id": 634, "name": "ElementaryTypeName", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1143, + "id": 635, "name": "VariableDeclaration", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1144, + "id": 636, "name": "ParameterList", - "src": "18699:6:1" + "src": "19248:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1146 + 638 ] }, "children": [ @@ -45461,7 +45461,7 @@ "constant": false, "mutability": "mutable", "name": "size", - "scope": 1153, + "scope": 645, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45473,49 +45473,49 @@ "name": "uint256", "type": "uint256" }, - "id": 1145, + "id": 637, "name": "ElementaryTypeName", - "src": "18903:7:1" + "src": "19457:7:0" } ], - "id": 1146, + "id": 638, "name": "VariableDeclaration", - "src": "18903:12:1" + "src": "19457:12:0" } ], - "id": 1147, + "id": 639, "name": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "attributes": { "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], "operations": "{ size := extcodesize(account) }" }, "children": [], - "id": 1148, + "id": 640, "name": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "attributes": { - "functionReturnParameters": 1144 + "functionReturnParameters": 636 }, "children": [ { @@ -45537,13 +45537,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1146, + "referencedDeclaration": 638, "type": "uint256", "value": "size" }, - "id": 1149, + "id": 641, "name": "Identifier", - "src": "19038:4:1" + "src": "19595:4:0" }, { "attributes": { @@ -45556,29 +45556,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1150, + "id": 642, "name": "Literal", - "src": "19045:1:1" + "src": "19602:1:0" } ], - "id": 1151, + "id": 643, "name": "BinaryOperation", - "src": "19038:8:1" + "src": "19595:8:0" } ], - "id": 1152, + "id": 644, "name": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ], - "id": 1153, + "id": 645, "name": "Block", - "src": "18706:347:1" + "src": "19255:356:0" } ], - "id": 1154, + "id": 646, "name": "FunctionDefinition", - "src": "18640:413:1" + "src": "19189:422:0" }, { "attributes": { @@ -45589,7 +45589,7 @@ null ], "name": "sendValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -45599,9 +45599,9 @@ "attributes": { "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1155, + "id": 647, "name": "StructuredDocumentation", - "src": "19059:906:1" + "src": "19619:921:0" }, { "children": [ @@ -45610,7 +45610,7 @@ "constant": false, "mutability": "mutable", "name": "recipient", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -45623,21 +45623,21 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 1156, + "id": 648, "name": "ElementaryTypeName", - "src": "19989:15:1" + "src": "20565:15:0" } ], - "id": 1157, + "id": 649, "name": "VariableDeclaration", - "src": "19989:25:1" + "src": "20565:25:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "amount", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45649,19 +45649,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1158, + "id": 650, "name": "ElementaryTypeName", - "src": "20016:7:1" + "src": "20592:7:0" } ], - "id": 1159, + "id": 651, "name": "VariableDeclaration", - "src": "20016:14:1" + "src": "20592:14:0" } ], - "id": 1160, + "id": 652, "name": "ParameterList", - "src": "19988:43:1" + "src": "20564:43:0" }, { "attributes": { @@ -45670,9 +45670,9 @@ ] }, "children": [], - "id": 1161, + "id": 653, "name": "ParameterList", - "src": "20041:0:1" + "src": "20617:0:0" }, { "children": [ @@ -45713,9 +45713,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1162, + "id": 654, "name": "Identifier", - "src": "20051:7:1" + "src": "20628:7:0" }, { "attributes": { @@ -45760,7 +45760,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -45775,14 +45775,14 @@ "attributes": { "name": "address" }, - "id": 1163, + "id": 655, "name": "ElementaryTypeName", - "src": "20059:7:1" + "src": "20636:7:0" } ], - "id": 1164, + "id": 656, "name": "ElementaryTypeNameExpression", - "src": "20059:7:1" + "src": "20636:7:0" }, { "attributes": { @@ -45793,37 +45793,37 @@ "type": "library Address", "value": "this" }, - "id": 1165, + "id": 657, "name": "Identifier", - "src": "20067:4:1" + "src": "20644:4:0" } ], - "id": 1166, + "id": 658, "name": "FunctionCall", - "src": "20059:13:1" + "src": "20636:13:0" } ], - "id": 1167, + "id": 659, "name": "MemberAccess", - "src": "20059:21:1" + "src": "20636:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1168, + "id": 660, "name": "Identifier", - "src": "20084:6:1" + "src": "20661:6:0" } ], - "id": 1169, + "id": 661, "name": "BinaryOperation", - "src": "20059:31:1" + "src": "20636:31:0" }, { "attributes": { @@ -45836,24 +45836,24 @@ "type": "literal_string \"Address: insufficient balance\"", "value": "Address: insufficient balance" }, - "id": 1170, + "id": 662, "name": "Literal", - "src": "20092:31:1" + "src": "20669:31:0" } ], - "id": 1171, + "id": 663, "name": "FunctionCall", - "src": "20051:73:1" + "src": "20628:73:0" } ], - "id": 1172, + "id": 664, "name": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "attributes": { "assignments": [ - 1174, + 666, null ] }, @@ -45863,7 +45863,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1187, + "scope": 679, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45875,14 +45875,14 @@ "name": "bool", "type": "bool" }, - "id": 1173, + "id": 665, "name": "ElementaryTypeName", - "src": "20213:4:1" + "src": "20793:4:0" } ], - "id": 1174, + "id": 666, "name": "VariableDeclaration", - "src": "20213:12:1" + "src": "20793:12:0" }, { "attributes": { @@ -45938,36 +45938,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1157, + "referencedDeclaration": 649, "type": "address payable", "value": "recipient" }, - "id": 1175, + "id": 667, "name": "Identifier", - "src": "20231:9:1" + "src": "20811:9:0" } ], - "id": 1176, + "id": 668, "name": "MemberAccess", - "src": "20231:14:1" + "src": "20811:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1177, + "id": 669, "name": "Identifier", - "src": "20254:6:1" + "src": "20834:6:0" } ], - "id": 1178, + "id": 670, "name": "FunctionCallOptions", - "src": "20231:31:1" + "src": "20811:31:0" }, { "attributes": { @@ -45980,19 +45980,19 @@ "type": "literal_string \"\"", "value": "" }, - "id": 1179, + "id": 671, "name": "Literal", - "src": "20263:2:1" + "src": "20843:2:0" } ], - "id": 1180, + "id": 672, "name": "FunctionCall", - "src": "20231:35:1" + "src": "20811:35:0" } ], - "id": 1181, + "id": 673, "name": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "children": [ @@ -46031,22 +46031,22 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1182, + "id": 674, "name": "Identifier", - "src": "20276:7:1" + "src": "20857:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 666, "type": "bool", "value": "success" }, - "id": 1183, + "id": 675, "name": "Identifier", - "src": "20284:7:1" + "src": "20865:7:0" }, { "attributes": { @@ -46059,29 +46059,29 @@ "type": "literal_string \"Address: unable to send value, recipient may have reverted\"", "value": "Address: unable to send value, recipient may have reverted" }, - "id": 1184, + "id": 676, "name": "Literal", - "src": "20293:60:1" + "src": "20874:60:0" } ], - "id": 1185, + "id": 677, "name": "FunctionCall", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1186, + "id": 678, "name": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1187, + "id": 679, "name": "Block", - "src": "20041:320:1" + "src": "20617:326:0" } ], - "id": 1188, + "id": 680, "name": "FunctionDefinition", - "src": "19970:391:1" + "src": "20546:397:0" }, { "attributes": { @@ -46092,7 +46092,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46102,9 +46102,9 @@ "attributes": { "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1189, + "id": 681, "name": "StructuredDocumentation", - "src": "20367:730:1" + "src": "20951:747:0" }, { "children": [ @@ -46113,7 +46113,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46126,21 +46126,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1190, + "id": 682, "name": "ElementaryTypeName", - "src": "21124:7:1" + "src": "21726:7:0" } ], - "id": 1191, + "id": 683, "name": "VariableDeclaration", - "src": "21124:14:1" + "src": "21726:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46152,19 +46152,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1192, + "id": 684, "name": "ElementaryTypeName", - "src": "21140:5:1" + "src": "21742:5:0" } ], - "id": 1193, + "id": 685, "name": "VariableDeclaration", - "src": "21140:17:1" + "src": "21742:17:0" } ], - "id": 1194, + "id": 686, "name": "ParameterList", - "src": "21123:35:1" + "src": "21725:35:0" }, { "children": [ @@ -46173,7 +46173,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46185,25 +46185,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1195, + "id": 687, "name": "ElementaryTypeName", - "src": "21177:5:1" + "src": "21779:5:0" } ], - "id": 1196, + "id": 688, "name": "VariableDeclaration", - "src": "21177:12:1" + "src": "21779:12:0" } ], - "id": 1197, + "id": 689, "name": "ParameterList", - "src": "21176:14:1" + "src": "21778:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1197 + "functionReturnParameters": 689 }, "children": [ { @@ -46238,42 +46238,42 @@ } ], "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionCall" }, - "id": 1198, + "id": 690, "name": "Identifier", - "src": "21206:12:1" + "src": "21809:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1191, + "referencedDeclaration": 683, "type": "address", "value": "target" }, - "id": 1199, + "id": 691, "name": "Identifier", - "src": "21219:6:1" + "src": "21822:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1193, + "referencedDeclaration": 685, "type": "bytes memory", "value": "data" }, - "id": 1200, + "id": 692, "name": "Identifier", - "src": "21227:4:1" + "src": "21830:4:0" }, { "attributes": { @@ -46286,29 +46286,29 @@ "type": "literal_string \"Address: low-level call failed\"", "value": "Address: low-level call failed" }, - "id": 1201, + "id": 693, "name": "Literal", - "src": "21233:32:1" + "src": "21836:32:0" } ], - "id": 1202, + "id": 694, "name": "FunctionCall", - "src": "21206:60:1" + "src": "21809:60:0" } ], - "id": 1203, + "id": 695, "name": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ], - "id": 1204, + "id": 696, "name": "Block", - "src": "21191:82:1" + "src": "21793:84:0" } ], - "id": 1205, + "id": 697, "name": "FunctionDefinition", - "src": "21102:171:1" + "src": "21704:173:0" }, { "attributes": { @@ -46319,7 +46319,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46329,9 +46329,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1206, + "id": 698, "name": "StructuredDocumentation", - "src": "21279:211:1" + "src": "21885:216:0" }, { "children": [ @@ -46340,7 +46340,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46353,21 +46353,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1207, + "id": 699, "name": "ElementaryTypeName", - "src": "21517:7:1" + "src": "22129:7:0" } ], - "id": 1208, + "id": 700, "name": "VariableDeclaration", - "src": "21517:14:1" + "src": "22129:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46379,21 +46379,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1209, + "id": 701, "name": "ElementaryTypeName", - "src": "21533:5:1" + "src": "22145:5:0" } ], - "id": 1210, + "id": 702, "name": "VariableDeclaration", - "src": "21533:17:1" + "src": "22145:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -46405,19 +46405,19 @@ "name": "string", "type": "string" }, - "id": 1211, + "id": 703, "name": "ElementaryTypeName", - "src": "21552:6:1" + "src": "22164:6:0" } ], - "id": 1212, + "id": 704, "name": "VariableDeclaration", - "src": "21552:26:1" + "src": "22164:26:0" } ], - "id": 1213, + "id": 705, "name": "ParameterList", - "src": "21516:63:1" + "src": "22128:63:0" }, { "children": [ @@ -46426,7 +46426,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46438,25 +46438,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1214, + "id": 706, "name": "ElementaryTypeName", - "src": "21598:5:1" + "src": "22210:5:0" } ], - "id": 1215, + "id": 707, "name": "VariableDeclaration", - "src": "21598:12:1" + "src": "22210:12:0" } ], - "id": 1216, + "id": 708, "name": "ParameterList", - "src": "21597:14:1" + "src": "22209:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1216 + "functionReturnParameters": 708 }, "children": [ { @@ -46495,42 +46495,42 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1217, + "id": 709, "name": "Identifier", - "src": "21629:21:1" + "src": "22242:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1208, + "referencedDeclaration": 700, "type": "address", "value": "target" }, - "id": 1218, + "id": 710, "name": "Identifier", - "src": "21651:6:1" + "src": "22264:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1210, + "referencedDeclaration": 702, "type": "bytes memory", "value": "data" }, - "id": 1219, + "id": 711, "name": "Identifier", - "src": "21659:4:1" + "src": "22272:4:0" }, { "attributes": { @@ -46543,42 +46543,42 @@ "type": "int_const 0", "value": "0" }, - "id": 1220, + "id": 712, "name": "Literal", - "src": "21665:1:1" + "src": "22278:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1212, + "referencedDeclaration": 704, "type": "string memory", "value": "errorMessage" }, - "id": 1221, + "id": 713, "name": "Identifier", - "src": "21668:12:1" + "src": "22281:12:0" } ], - "id": 1222, + "id": 714, "name": "FunctionCall", - "src": "21629:52:1" + "src": "22242:52:0" } ], - "id": 1223, + "id": 715, "name": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ], - "id": 1224, + "id": 716, "name": "Block", - "src": "21612:76:1" + "src": "22224:78:0" } ], - "id": 1225, + "id": 717, "name": "FunctionDefinition", - "src": "21495:193:1" + "src": "22107:195:0" }, { "attributes": { @@ -46589,7 +46589,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46599,9 +46599,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1226, + "id": 718, "name": "StructuredDocumentation", - "src": "21694:351:1" + "src": "22310:361:0" }, { "children": [ @@ -46610,7 +46610,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46623,21 +46623,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1227, + "id": 719, "name": "ElementaryTypeName", - "src": "22081:7:1" + "src": "22708:7:0" } ], - "id": 1228, + "id": 720, "name": "VariableDeclaration", - "src": "22081:14:1" + "src": "22708:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46649,21 +46649,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1229, + "id": 721, "name": "ElementaryTypeName", - "src": "22097:5:1" + "src": "22724:5:0" } ], - "id": 1230, + "id": 722, "name": "VariableDeclaration", - "src": "22097:17:1" + "src": "22724:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -46675,19 +46675,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1231, + "id": 723, "name": "ElementaryTypeName", - "src": "22116:7:1" + "src": "22743:7:0" } ], - "id": 1232, + "id": 724, "name": "VariableDeclaration", - "src": "22116:13:1" + "src": "22743:13:0" } ], - "id": 1233, + "id": 725, "name": "ParameterList", - "src": "22080:50:1" + "src": "22707:50:0" }, { "children": [ @@ -46696,7 +46696,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46708,25 +46708,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1234, + "id": 726, "name": "ElementaryTypeName", - "src": "22149:5:1" + "src": "22776:5:0" } ], - "id": 1235, + "id": 727, "name": "VariableDeclaration", - "src": "22149:12:1" + "src": "22776:12:0" } ], - "id": 1236, + "id": 728, "name": "ParameterList", - "src": "22148:14:1" + "src": "22775:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1236 + "functionReturnParameters": 728 }, "children": [ { @@ -46765,55 +46765,55 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1237, + "id": 729, "name": "Identifier", - "src": "22180:21:1" + "src": "22808:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 720, "type": "address", "value": "target" }, - "id": 1238, + "id": 730, "name": "Identifier", - "src": "22202:6:1" + "src": "22830:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 722, "type": "bytes memory", "value": "data" }, - "id": 1239, + "id": 731, "name": "Identifier", - "src": "22210:4:1" + "src": "22838:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1232, + "referencedDeclaration": 724, "type": "uint256", "value": "value" }, - "id": 1240, + "id": 732, "name": "Identifier", - "src": "22216:5:1" + "src": "22844:5:0" }, { "attributes": { @@ -46826,29 +46826,29 @@ "type": "literal_string \"Address: low-level call with value failed\"", "value": "Address: low-level call with value failed" }, - "id": 1241, + "id": 733, "name": "Literal", - "src": "22223:43:1" + "src": "22851:43:0" } ], - "id": 1242, + "id": 734, "name": "FunctionCall", - "src": "22180:87:1" + "src": "22808:87:0" } ], - "id": 1243, + "id": 735, "name": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ], - "id": 1244, + "id": 736, "name": "Block", - "src": "22163:111:1" + "src": "22790:113:0" } ], - "id": 1245, + "id": 737, "name": "FunctionDefinition", - "src": "22050:224:1" + "src": "22677:226:0" }, { "attributes": { @@ -46859,7 +46859,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46869,9 +46869,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1246, + "id": 738, "name": "StructuredDocumentation", - "src": "22280:237:1" + "src": "22911:242:0" }, { "children": [ @@ -46880,7 +46880,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46893,21 +46893,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1247, + "id": 739, "name": "ElementaryTypeName", - "src": "22553:7:1" + "src": "23190:7:0" } ], - "id": 1248, + "id": 740, "name": "VariableDeclaration", - "src": "22553:14:1" + "src": "23190:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46919,21 +46919,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1249, + "id": 741, "name": "ElementaryTypeName", - "src": "22569:5:1" + "src": "23206:5:0" } ], - "id": 1250, + "id": 742, "name": "VariableDeclaration", - "src": "22569:17:1" + "src": "23206:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -46945,21 +46945,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1251, + "id": 743, "name": "ElementaryTypeName", - "src": "22588:7:1" + "src": "23225:7:0" } ], - "id": 1252, + "id": 744, "name": "VariableDeclaration", - "src": "22588:13:1" + "src": "23225:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -46971,19 +46971,19 @@ "name": "string", "type": "string" }, - "id": 1253, + "id": 745, "name": "ElementaryTypeName", - "src": "22603:6:1" + "src": "23240:6:0" } ], - "id": 1254, + "id": 746, "name": "VariableDeclaration", - "src": "22603:26:1" + "src": "23240:26:0" } ], - "id": 1255, + "id": 747, "name": "ParameterList", - "src": "22552:78:1" + "src": "23189:78:0" }, { "children": [ @@ -46992,7 +46992,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47004,19 +47004,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1256, + "id": 748, "name": "ElementaryTypeName", - "src": "22649:5:1" + "src": "23286:5:0" } ], - "id": 1257, + "id": 749, "name": "VariableDeclaration", - "src": "22649:12:1" + "src": "23286:12:0" } ], - "id": 1258, + "id": 750, "name": "ParameterList", - "src": "22648:14:1" + "src": "23285:14:0" }, { "children": [ @@ -47057,9 +47057,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1259, + "id": 751, "name": "Identifier", - "src": "22673:7:1" + "src": "23311:7:0" }, { "attributes": { @@ -47104,7 +47104,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -47119,14 +47119,14 @@ "attributes": { "name": "address" }, - "id": 1260, + "id": 752, "name": "ElementaryTypeName", - "src": "22681:7:1" + "src": "23319:7:0" } ], - "id": 1261, + "id": 753, "name": "ElementaryTypeNameExpression", - "src": "22681:7:1" + "src": "23319:7:0" }, { "attributes": { @@ -47137,37 +47137,37 @@ "type": "library Address", "value": "this" }, - "id": 1262, + "id": 754, "name": "Identifier", - "src": "22689:4:1" + "src": "23327:4:0" } ], - "id": 1263, + "id": 755, "name": "FunctionCall", - "src": "22681:13:1" + "src": "23319:13:0" } ], - "id": 1264, + "id": 756, "name": "MemberAccess", - "src": "22681:21:1" + "src": "23319:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1265, + "id": 757, "name": "Identifier", - "src": "22706:5:1" + "src": "23344:5:0" } ], - "id": 1266, + "id": 758, "name": "BinaryOperation", - "src": "22681:30:1" + "src": "23319:30:0" }, { "attributes": { @@ -47180,19 +47180,19 @@ "type": "literal_string \"Address: insufficient balance for call\"", "value": "Address: insufficient balance for call" }, - "id": 1267, + "id": 759, "name": "Literal", - "src": "22713:40:1" + "src": "23351:40:0" } ], - "id": 1268, + "id": 760, "name": "FunctionCall", - "src": "22673:81:1" + "src": "23311:81:0" } ], - "id": 1269, + "id": 761, "name": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "children": [ @@ -47231,9 +47231,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1270, + "id": 762, "name": "Identifier", - "src": "22764:7:1" + "src": "23403:7:0" }, { "attributes": { @@ -47261,31 +47261,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1271, + "id": 763, "name": "Identifier", - "src": "22772:10:1" + "src": "23411:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1272, + "id": 764, "name": "Identifier", - "src": "22783:6:1" + "src": "23422:6:0" } ], - "id": 1273, + "id": 765, "name": "FunctionCall", - "src": "22772:18:1" + "src": "23411:18:0" }, { "attributes": { @@ -47298,25 +47298,25 @@ "type": "literal_string \"Address: call to non-contract\"", "value": "Address: call to non-contract" }, - "id": 1274, + "id": 766, "name": "Literal", - "src": "22792:31:1" + "src": "23431:31:0" } ], - "id": 1275, + "id": 767, "name": "FunctionCall", - "src": "22764:60:1" + "src": "23403:60:0" } ], - "id": 1276, + "id": 768, "name": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "attributes": { "assignments": [ - 1278, - 1280 + 770, + 772 ] }, "children": [ @@ -47325,7 +47325,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -47337,21 +47337,21 @@ "name": "bool", "type": "bool" }, - "id": 1277, + "id": 769, "name": "ElementaryTypeName", - "src": "22895:4:1" + "src": "23537:4:0" } ], - "id": 1278, + "id": 770, "name": "VariableDeclaration", - "src": "22895:12:1" + "src": "23537:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47363,14 +47363,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1279, + "id": 771, "name": "ElementaryTypeName", - "src": "22909:5:1" + "src": "23551:5:0" } ], - "id": 1280, + "id": 772, "name": "VariableDeclaration", - "src": "22909:23:1" + "src": "23551:23:0" }, { "attributes": { @@ -47426,63 +47426,63 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1281, + "id": 773, "name": "Identifier", - "src": "22936:6:1" + "src": "23578:6:0" } ], - "id": 1282, + "id": 774, "name": "MemberAccess", - "src": "22936:11:1" + "src": "23578:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1283, + "id": 775, "name": "Identifier", - "src": "22956:5:1" + "src": "23598:5:0" } ], - "id": 1284, + "id": 776, "name": "FunctionCallOptions", - "src": "22936:27:1" + "src": "23578:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1250, + "referencedDeclaration": 742, "type": "bytes memory", "value": "data" }, - "id": 1285, + "id": 777, "name": "Identifier", - "src": "22964:4:1" + "src": "23606:4:0" } ], - "id": 1286, + "id": 778, "name": "FunctionCall", - "src": "22936:33:1" + "src": "23578:33:0" } ], - "id": 1287, + "id": 779, "name": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "attributes": { - "functionReturnParameters": 1258 + "functionReturnParameters": 750 }, "children": [ { @@ -47519,72 +47519,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1288, + "id": 780, "name": "Identifier", - "src": "22986:17:1" + "src": "23629:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1278, + "referencedDeclaration": 770, "type": "bool", "value": "success" }, - "id": 1289, + "id": 781, "name": "Identifier", - "src": "23004:7:1" + "src": "23647:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1280, + "referencedDeclaration": 772, "type": "bytes memory", "value": "returndata" }, - "id": 1290, + "id": 782, "name": "Identifier", - "src": "23013:10:1" + "src": "23656:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 746, "type": "string memory", "value": "errorMessage" }, - "id": 1291, + "id": 783, "name": "Identifier", - "src": "23025:12:1" + "src": "23668:12:0" } ], - "id": 1292, + "id": 784, "name": "FunctionCall", - "src": "22986:52:1" + "src": "23629:52:0" } ], - "id": 1293, + "id": 785, "name": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ], - "id": 1294, + "id": 786, "name": "Block", - "src": "22663:382:1" + "src": "23300:389:0" } ], - "id": 1295, + "id": 787, "name": "FunctionDefinition", - "src": "22522:523:1" + "src": "23159:530:0" }, { "attributes": { @@ -47595,7 +47595,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -47605,9 +47605,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1296, + "id": 788, "name": "StructuredDocumentation", - "src": "23051:166:1" + "src": "23697:171:0" }, { "children": [ @@ -47616,7 +47616,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47629,21 +47629,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1297, + "id": 789, "name": "ElementaryTypeName", - "src": "23250:7:1" + "src": "23902:7:0" } ], - "id": 1298, + "id": 790, "name": "VariableDeclaration", - "src": "23250:14:1" + "src": "23902:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47655,19 +47655,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1299, + "id": 791, "name": "ElementaryTypeName", - "src": "23266:5:1" + "src": "23918:5:0" } ], - "id": 1300, + "id": 792, "name": "VariableDeclaration", - "src": "23266:17:1" + "src": "23918:17:0" } ], - "id": 1301, + "id": 793, "name": "ParameterList", - "src": "23249:35:1" + "src": "23901:35:0" }, { "children": [ @@ -47676,7 +47676,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47688,25 +47688,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1302, + "id": 794, "name": "ElementaryTypeName", - "src": "23308:5:1" + "src": "23960:5:0" } ], - "id": 1303, + "id": 795, "name": "VariableDeclaration", - "src": "23308:12:1" + "src": "23960:12:0" } ], - "id": 1304, + "id": 796, "name": "ParameterList", - "src": "23307:14:1" + "src": "23959:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1304 + "functionReturnParameters": 796 }, "children": [ { @@ -47741,42 +47741,42 @@ } ], "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, + "referencedDeclaration": 839, "type": "function (address,bytes memory,string memory) view returns (bytes memory)", "value": "functionStaticCall" }, - "id": 1305, + "id": 797, "name": "Identifier", - "src": "23339:18:1" + "src": "23992:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1298, + "referencedDeclaration": 790, "type": "address", "value": "target" }, - "id": 1306, + "id": 798, "name": "Identifier", - "src": "23358:6:1" + "src": "24011:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1300, + "referencedDeclaration": 792, "type": "bytes memory", "value": "data" }, - "id": 1307, + "id": 799, "name": "Identifier", - "src": "23366:4:1" + "src": "24019:4:0" }, { "attributes": { @@ -47789,29 +47789,29 @@ "type": "literal_string \"Address: low-level static call failed\"", "value": "Address: low-level static call failed" }, - "id": 1308, + "id": 800, "name": "Literal", - "src": "23372:39:1" + "src": "24025:39:0" } ], - "id": 1309, + "id": 801, "name": "FunctionCall", - "src": "23339:73:1" + "src": "23992:73:0" } ], - "id": 1310, + "id": 802, "name": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ], - "id": 1311, + "id": 803, "name": "Block", - "src": "23322:97:1" + "src": "23974:99:0" } ], - "id": 1312, + "id": 804, "name": "FunctionDefinition", - "src": "23222:197:1" + "src": "23874:199:0" }, { "attributes": { @@ -47822,7 +47822,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -47832,9 +47832,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1313, + "id": 805, "name": "StructuredDocumentation", - "src": "23425:173:1" + "src": "24081:178:0" }, { "children": [ @@ -47843,7 +47843,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47856,21 +47856,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1314, + "id": 806, "name": "ElementaryTypeName", - "src": "23631:7:1" + "src": "24293:7:0" } ], - "id": 1315, + "id": 807, "name": "VariableDeclaration", - "src": "23631:14:1" + "src": "24293:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47882,21 +47882,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1316, + "id": 808, "name": "ElementaryTypeName", - "src": "23647:5:1" + "src": "24309:5:0" } ], - "id": 1317, + "id": 809, "name": "VariableDeclaration", - "src": "23647:17:1" + "src": "24309:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -47908,19 +47908,19 @@ "name": "string", "type": "string" }, - "id": 1318, + "id": 810, "name": "ElementaryTypeName", - "src": "23666:6:1" + "src": "24328:6:0" } ], - "id": 1319, + "id": 811, "name": "VariableDeclaration", - "src": "23666:26:1" + "src": "24328:26:0" } ], - "id": 1320, + "id": 812, "name": "ParameterList", - "src": "23630:63:1" + "src": "24292:63:0" }, { "children": [ @@ -47929,7 +47929,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47941,19 +47941,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1321, + "id": 813, "name": "ElementaryTypeName", - "src": "23717:5:1" + "src": "24379:5:0" } ], - "id": 1322, + "id": 814, "name": "VariableDeclaration", - "src": "23717:12:1" + "src": "24379:12:0" } ], - "id": 1323, + "id": 815, "name": "ParameterList", - "src": "23716:14:1" + "src": "24378:14:0" }, { "children": [ @@ -47994,9 +47994,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1324, + "id": 816, "name": "Identifier", - "src": "23741:7:1" + "src": "24404:7:0" }, { "attributes": { @@ -48024,31 +48024,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1325, + "id": 817, "name": "Identifier", - "src": "23749:10:1" + "src": "24412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1326, + "id": 818, "name": "Identifier", - "src": "23760:6:1" + "src": "24423:6:0" } ], - "id": 1327, + "id": 819, "name": "FunctionCall", - "src": "23749:18:1" + "src": "24412:18:0" }, { "attributes": { @@ -48061,25 +48061,25 @@ "type": "literal_string \"Address: static call to non-contract\"", "value": "Address: static call to non-contract" }, - "id": 1328, + "id": 820, "name": "Literal", - "src": "23769:38:1" + "src": "24432:38:0" } ], - "id": 1329, + "id": 821, "name": "FunctionCall", - "src": "23741:67:1" + "src": "24404:67:0" } ], - "id": 1330, + "id": 822, "name": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "attributes": { "assignments": [ - 1332, - 1334 + 824, + 826 ] }, "children": [ @@ -48088,7 +48088,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48100,21 +48100,21 @@ "name": "bool", "type": "bool" }, - "id": 1331, + "id": 823, "name": "ElementaryTypeName", - "src": "23879:4:1" + "src": "24545:4:0" } ], - "id": 1332, + "id": 824, "name": "VariableDeclaration", - "src": "23879:12:1" + "src": "24545:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48126,14 +48126,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1333, + "id": 825, "name": "ElementaryTypeName", - "src": "23893:5:1" + "src": "24559:5:0" } ], - "id": 1334, + "id": 826, "name": "VariableDeclaration", - "src": "23893:23:1" + "src": "24559:23:0" }, { "attributes": { @@ -48171,45 +48171,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1335, + "id": 827, "name": "Identifier", - "src": "23920:6:1" + "src": "24586:6:0" } ], - "id": 1336, + "id": 828, "name": "MemberAccess", - "src": "23920:17:1" + "src": "24586:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1317, + "referencedDeclaration": 809, "type": "bytes memory", "value": "data" }, - "id": 1337, + "id": 829, "name": "Identifier", - "src": "23938:4:1" + "src": "24604:4:0" } ], - "id": 1338, + "id": 830, "name": "FunctionCall", - "src": "23920:23:1" + "src": "24586:23:0" } ], - "id": 1339, + "id": 831, "name": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "attributes": { - "functionReturnParameters": 1323 + "functionReturnParameters": 815 }, "children": [ { @@ -48246,72 +48246,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1340, + "id": 832, "name": "Identifier", - "src": "23960:17:1" + "src": "24627:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1332, + "referencedDeclaration": 824, "type": "bool", "value": "success" }, - "id": 1341, + "id": 833, "name": "Identifier", - "src": "23978:7:1" + "src": "24645:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1334, + "referencedDeclaration": 826, "type": "bytes memory", "value": "returndata" }, - "id": 1342, + "id": 834, "name": "Identifier", - "src": "23987:10:1" + "src": "24654:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 811, "type": "string memory", "value": "errorMessage" }, - "id": 1343, + "id": 835, "name": "Identifier", - "src": "23999:12:1" + "src": "24666:12:0" } ], - "id": 1344, + "id": 836, "name": "FunctionCall", - "src": "23960:52:1" + "src": "24627:52:0" } ], - "id": 1345, + "id": 837, "name": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ], - "id": 1346, + "id": 838, "name": "Block", - "src": "23731:288:1" + "src": "24393:294:0" } ], - "id": 1347, + "id": 839, "name": "FunctionDefinition", - "src": "23603:416:1" + "src": "24265:422:0" }, { "attributes": { @@ -48322,7 +48322,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48332,9 +48332,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1348, + "id": 840, "name": "StructuredDocumentation", - "src": "24025:168:1" + "src": "24695:173:0" }, { "children": [ @@ -48343,7 +48343,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48356,21 +48356,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1349, + "id": 841, "name": "ElementaryTypeName", - "src": "24228:7:1" + "src": "24904:7:0" } ], - "id": 1350, + "id": 842, "name": "VariableDeclaration", - "src": "24228:14:1" + "src": "24904:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48382,19 +48382,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1351, + "id": 843, "name": "ElementaryTypeName", - "src": "24244:5:1" + "src": "24920:5:0" } ], - "id": 1352, + "id": 844, "name": "VariableDeclaration", - "src": "24244:17:1" + "src": "24920:17:0" } ], - "id": 1353, + "id": 845, "name": "ParameterList", - "src": "24227:35:1" + "src": "24903:35:0" }, { "children": [ @@ -48403,7 +48403,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48415,25 +48415,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1354, + "id": 846, "name": "ElementaryTypeName", - "src": "24281:5:1" + "src": "24957:5:0" } ], - "id": 1355, + "id": 847, "name": "VariableDeclaration", - "src": "24281:12:1" + "src": "24957:12:0" } ], - "id": 1356, + "id": 848, "name": "ParameterList", - "src": "24280:14:1" + "src": "24956:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1356 + "functionReturnParameters": 848 }, "children": [ { @@ -48468,42 +48468,42 @@ } ], "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, + "referencedDeclaration": 891, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionDelegateCall" }, - "id": 1357, + "id": 849, "name": "Identifier", - "src": "24312:20:1" + "src": "24989:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1350, + "referencedDeclaration": 842, "type": "address", "value": "target" }, - "id": 1358, + "id": 850, "name": "Identifier", - "src": "24333:6:1" + "src": "25010:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1352, + "referencedDeclaration": 844, "type": "bytes memory", "value": "data" }, - "id": 1359, + "id": 851, "name": "Identifier", - "src": "24341:4:1" + "src": "25018:4:0" }, { "attributes": { @@ -48516,29 +48516,29 @@ "type": "literal_string \"Address: low-level delegate call failed\"", "value": "Address: low-level delegate call failed" }, - "id": 1360, + "id": 852, "name": "Literal", - "src": "24347:41:1" + "src": "25024:41:0" } ], - "id": 1361, + "id": 853, "name": "FunctionCall", - "src": "24312:77:1" + "src": "24989:77:0" } ], - "id": 1362, + "id": 854, "name": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ], - "id": 1363, + "id": 855, "name": "Block", - "src": "24295:101:1" + "src": "24971:103:0" } ], - "id": 1364, + "id": 856, "name": "FunctionDefinition", - "src": "24198:198:1" + "src": "24874:200:0" }, { "attributes": { @@ -48549,7 +48549,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48559,9 +48559,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1365, + "id": 857, "name": "StructuredDocumentation", - "src": "24402:175:1" + "src": "25082:180:0" }, { "children": [ @@ -48570,7 +48570,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48583,21 +48583,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1366, + "id": 858, "name": "ElementaryTypeName", - "src": "24612:7:1" + "src": "25298:7:0" } ], - "id": 1367, + "id": 859, "name": "VariableDeclaration", - "src": "24612:14:1" + "src": "25298:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48609,21 +48609,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1368, + "id": 860, "name": "ElementaryTypeName", - "src": "24628:5:1" + "src": "25314:5:0" } ], - "id": 1369, + "id": 861, "name": "VariableDeclaration", - "src": "24628:17:1" + "src": "25314:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -48635,19 +48635,19 @@ "name": "string", "type": "string" }, - "id": 1370, + "id": 862, "name": "ElementaryTypeName", - "src": "24647:6:1" + "src": "25333:6:0" } ], - "id": 1371, + "id": 863, "name": "VariableDeclaration", - "src": "24647:26:1" + "src": "25333:26:0" } ], - "id": 1372, + "id": 864, "name": "ParameterList", - "src": "24611:63:1" + "src": "25297:63:0" }, { "children": [ @@ -48656,7 +48656,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48668,19 +48668,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1373, + "id": 865, "name": "ElementaryTypeName", - "src": "24693:5:1" + "src": "25379:5:0" } ], - "id": 1374, + "id": 866, "name": "VariableDeclaration", - "src": "24693:12:1" + "src": "25379:12:0" } ], - "id": 1375, + "id": 867, "name": "ParameterList", - "src": "24692:14:1" + "src": "25378:14:0" }, { "children": [ @@ -48721,9 +48721,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1376, + "id": 868, "name": "Identifier", - "src": "24717:7:1" + "src": "25404:7:0" }, { "attributes": { @@ -48751,31 +48751,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1377, + "id": 869, "name": "Identifier", - "src": "24725:10:1" + "src": "25412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1378, + "id": 870, "name": "Identifier", - "src": "24736:6:1" + "src": "25423:6:0" } ], - "id": 1379, + "id": 871, "name": "FunctionCall", - "src": "24725:18:1" + "src": "25412:18:0" }, { "attributes": { @@ -48788,25 +48788,25 @@ "type": "literal_string \"Address: delegate call to non-contract\"", "value": "Address: delegate call to non-contract" }, - "id": 1380, + "id": 872, "name": "Literal", - "src": "24745:40:1" + "src": "25432:40:0" } ], - "id": 1381, + "id": 873, "name": "FunctionCall", - "src": "24717:69:1" + "src": "25404:69:0" } ], - "id": 1382, + "id": 874, "name": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "attributes": { "assignments": [ - 1384, - 1386 + 876, + 878 ] }, "children": [ @@ -48815,7 +48815,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48827,21 +48827,21 @@ "name": "bool", "type": "bool" }, - "id": 1383, + "id": 875, "name": "ElementaryTypeName", - "src": "24857:4:1" + "src": "25547:4:0" } ], - "id": 1384, + "id": 876, "name": "VariableDeclaration", - "src": "24857:12:1" + "src": "25547:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48853,14 +48853,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1385, + "id": 877, "name": "ElementaryTypeName", - "src": "24871:5:1" + "src": "25561:5:0" } ], - "id": 1386, + "id": 878, "name": "VariableDeclaration", - "src": "24871:23:1" + "src": "25561:23:0" }, { "attributes": { @@ -48898,45 +48898,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1387, + "id": 879, "name": "Identifier", - "src": "24898:6:1" + "src": "25588:6:0" } ], - "id": 1388, + "id": 880, "name": "MemberAccess", - "src": "24898:19:1" + "src": "25588:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1369, + "referencedDeclaration": 861, "type": "bytes memory", "value": "data" }, - "id": 1389, + "id": 881, "name": "Identifier", - "src": "24918:4:1" + "src": "25608:4:0" } ], - "id": 1390, + "id": 882, "name": "FunctionCall", - "src": "24898:25:1" + "src": "25588:25:0" } ], - "id": 1391, + "id": 883, "name": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "attributes": { - "functionReturnParameters": 1375 + "functionReturnParameters": 867 }, "children": [ { @@ -48973,72 +48973,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1392, + "id": 884, "name": "Identifier", - "src": "24940:17:1" + "src": "25631:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1384, + "referencedDeclaration": 876, "type": "bool", "value": "success" }, - "id": 1393, + "id": 885, "name": "Identifier", - "src": "24958:7:1" + "src": "25649:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1386, + "referencedDeclaration": 878, "type": "bytes memory", "value": "returndata" }, - "id": 1394, + "id": 886, "name": "Identifier", - "src": "24967:10:1" + "src": "25658:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1371, + "referencedDeclaration": 863, "type": "string memory", "value": "errorMessage" }, - "id": 1395, + "id": 887, "name": "Identifier", - "src": "24979:12:1" + "src": "25670:12:0" } ], - "id": 1396, + "id": 888, "name": "FunctionCall", - "src": "24940:52:1" + "src": "25631:52:0" } ], - "id": 1397, + "id": 889, "name": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ], - "id": 1398, + "id": 890, "name": "Block", - "src": "24707:292:1" + "src": "25393:298:0" } ], - "id": 1399, + "id": 891, "name": "FunctionDefinition", - "src": "24582:417:1" + "src": "25268:423:0" }, { "attributes": { @@ -49049,7 +49049,7 @@ null ], "name": "_verifyCallResult", - "scope": 1430, + "scope": 922, "stateMutability": "pure", "virtual": false, "visibility": "private" @@ -49062,7 +49062,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49074,21 +49074,21 @@ "name": "bool", "type": "bool" }, - "id": 1400, + "id": 892, "name": "ElementaryTypeName", - "src": "25032:4:1" + "src": "25726:4:0" } ], - "id": 1401, + "id": 893, "name": "VariableDeclaration", - "src": "25032:12:1" + "src": "25726:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49100,21 +49100,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1402, + "id": 894, "name": "ElementaryTypeName", - "src": "25046:5:1" + "src": "25740:5:0" } ], - "id": 1403, + "id": 895, "name": "VariableDeclaration", - "src": "25046:23:1" + "src": "25740:23:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -49126,19 +49126,19 @@ "name": "string", "type": "string" }, - "id": 1404, + "id": 896, "name": "ElementaryTypeName", - "src": "25071:6:1" + "src": "25765:6:0" } ], - "id": 1405, + "id": 897, "name": "VariableDeclaration", - "src": "25071:26:1" + "src": "25765:26:0" } ], - "id": 1406, + "id": 898, "name": "ParameterList", - "src": "25031:67:1" + "src": "25725:67:0" }, { "children": [ @@ -49147,7 +49147,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49159,19 +49159,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1407, + "id": 899, "name": "ElementaryTypeName", - "src": "25120:5:1" + "src": "25814:5:0" } ], - "id": 1408, + "id": 900, "name": "VariableDeclaration", - "src": "25120:12:1" + "src": "25814:12:0" } ], - "id": 1409, + "id": 901, "name": "ParameterList", - "src": "25119:14:1" + "src": "25813:14:0" }, { "children": [ @@ -49182,19 +49182,19 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1401, + "referencedDeclaration": 893, "type": "bool", "value": "success" }, - "id": 1410, + "id": 902, "name": "Identifier", - "src": "25148:7:1" + "src": "25843:7:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1409 + "functionReturnParameters": 901 }, "children": [ { @@ -49202,23 +49202,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1411, + "id": 903, "name": "Identifier", - "src": "25178:10:1" + "src": "25874:10:0" } ], - "id": 1412, + "id": 904, "name": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ], - "id": 1413, + "id": 905, "name": "Block", - "src": "25157:42:1" + "src": "25852:44:0" }, { "children": [ @@ -49253,18 +49253,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1414, + "id": 906, "name": "Identifier", - "src": "25289:10:1" + "src": "25988:10:0" } ], - "id": 1415, + "id": 907, "name": "MemberAccess", - "src": "25289:17:1" + "src": "25988:17:0" }, { "attributes": { @@ -49277,14 +49277,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1416, + "id": 908, "name": "Literal", - "src": "25309:1:1" + "src": "26008:1:0" } ], - "id": 1417, + "id": 909, "name": "BinaryOperation", - "src": "25289:21:1" + "src": "25988:21:0" }, { "children": [ @@ -49293,31 +49293,31 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], "operations": "{\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n}" }, "children": [], - "id": 1418, + "id": 910, "name": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ], - "id": 1419, + "id": 911, "name": "Block", - "src": "25312:343:1" + "src": "26011:351:0" }, { "children": [ @@ -49354,67 +49354,67 @@ "type": "function (string memory) pure", "value": "revert" }, - "id": 1420, + "id": 912, "name": "Identifier", - "src": "25679:6:1" + "src": "26387:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1405, + "referencedDeclaration": 897, "type": "string memory", "value": "errorMessage" }, - "id": 1421, + "id": 913, "name": "Identifier", - "src": "25686:12:1" + "src": "26394:12:0" } ], - "id": 1422, + "id": 914, "name": "FunctionCall", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1423, + "id": 915, "name": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1424, + "id": 916, "name": "Block", - "src": "25661:53:1" + "src": "26368:55:0" } ], - "id": 1425, + "id": 917, "name": "IfStatement", - "src": "25285:429:1" + "src": "25984:439:0" } ], - "id": 1426, + "id": 918, "name": "Block", - "src": "25205:519:1" + "src": "25902:532:0" } ], - "id": 1427, + "id": 919, "name": "IfStatement", - "src": "25144:580:1" + "src": "25839:595:0" } ], - "id": 1428, + "id": 920, "name": "Block", - "src": "25134:596:1" + "src": "25828:613:0" } ], - "id": 1429, + "id": 921, "name": "FunctionDefinition", - "src": "25005:725:1" + "src": "25699:742:0" } ], - "id": 1430, + "id": 922, "name": "ContractDefinition", - "src": "18048:7684:1" + "src": "18579:7865:0" }, { "attributes": { @@ -49428,9 +49428,9 @@ ".0" ] }, - "id": 1431, + "id": 923, "name": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "attributes": { @@ -49444,25 +49444,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, - "id": 1432, + "id": 924, "name": "StructuredDocumentation", - "src": "25824:686:1" + "src": "26541:709:0" }, { "attributes": { "canonicalName": "EnumerableSet.Set", "name": "Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -49471,7 +49471,7 @@ "constant": false, "mutability": "mutable", "name": "_values", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "bytes32[]", @@ -49488,26 +49488,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1433, + "id": 925, "name": "ElementaryTypeName", - "src": "27033:7:1" + "src": "27786:7:0" } ], - "id": 1434, + "id": 926, "name": "ArrayTypeName", - "src": "27033:9:1" + "src": "27786:9:0" } ], - "id": 1435, + "id": 927, "name": "VariableDeclaration", - "src": "27033:17:1" + "src": "27786:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -49524,33 +49524,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1436, + "id": 928, "name": "ElementaryTypeName", - "src": "27193:7:1" + "src": "27950:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1437, + "id": 929, "name": "ElementaryTypeName", - "src": "27204:7:1" + "src": "27961:7:0" } ], - "id": 1438, + "id": 930, "name": "Mapping", - "src": "27184:28:1" + "src": "27941:28:0" } ], - "id": 1439, + "id": 931, "name": "VariableDeclaration", - "src": "27184:37:1" + "src": "27941:37:0" } ], - "id": 1440, + "id": 932, "name": "StructDefinition", - "src": "26979:249:1" + "src": "27730:256:0" }, { "attributes": { @@ -49561,7 +49561,7 @@ null ], "name": "_add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -49571,9 +49571,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1441, + "id": 933, "name": "StructuredDocumentation", - "src": "27234:159:1" + "src": "27994:164:0" }, { "children": [ @@ -49582,7 +49582,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -49592,24 +49592,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1442, + "id": 934, "name": "UserDefinedTypeName", - "src": "27412:3:1" + "src": "28178:3:0" } ], - "id": 1443, + "id": 935, "name": "VariableDeclaration", - "src": "27412:15:1" + "src": "28178:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -49621,19 +49621,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1444, + "id": 936, "name": "ElementaryTypeName", - "src": "27429:7:1" + "src": "28195:7:0" } ], - "id": 1445, + "id": 937, "name": "VariableDeclaration", - "src": "27429:13:1" + "src": "28195:13:0" } ], - "id": 1446, + "id": 938, "name": "ParameterList", - "src": "27411:32:1" + "src": "28177:32:0" }, { "children": [ @@ -49642,7 +49642,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49654,19 +49654,19 @@ "name": "bool", "type": "bool" }, - "id": 1447, + "id": 939, "name": "ElementaryTypeName", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1448, + "id": 940, "name": "VariableDeclaration", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1449, + "id": 941, "name": "ParameterList", - "src": "27460:6:1" + "src": "28226:6:0" }, { "children": [ @@ -49702,7 +49702,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -49713,49 +49713,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1450, + "id": 942, "name": "Identifier", - "src": "27482:9:1" + "src": "28249:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1451, + "id": 943, "name": "Identifier", - "src": "27492:3:1" + "src": "28259:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1452, + "id": 944, "name": "Identifier", - "src": "27497:5:1" + "src": "28264:5:0" } ], - "id": 1453, + "id": 945, "name": "FunctionCall", - "src": "27482:21:1" + "src": "28249:21:0" } ], - "id": 1454, + "id": 946, "name": "UnaryOperation", - "src": "27481:22:1" + "src": "28248:22:0" }, { "children": [ @@ -49799,7 +49799,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -49808,46 +49808,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1455, + "id": 947, "name": "Identifier", - "src": "27519:3:1" + "src": "28287:3:0" } ], - "id": 1458, + "id": 950, "name": "MemberAccess", - "src": "27519:11:1" + "src": "28287:11:0" } ], - "id": 1459, + "id": 951, "name": "MemberAccess", - "src": "27519:16:1" + "src": "28287:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1460, + "id": 952, "name": "Identifier", - "src": "27536:5:1" + "src": "28304:5:0" } ], - "id": 1461, + "id": 953, "name": "FunctionCall", - "src": "27519:23:1" + "src": "28287:23:0" } ], - "id": 1462, + "id": 954, "name": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "children": [ @@ -49877,7 +49877,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -49886,36 +49886,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1463, + "id": 955, "name": "Identifier", - "src": "27677:3:1" + "src": "28448:3:0" } ], - "id": 1466, + "id": 958, "name": "MemberAccess", - "src": "27677:12:1" + "src": "28448:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1465, + "id": 957, "name": "Identifier", - "src": "27690:5:1" + "src": "28461:5:0" } ], - "id": 1467, + "id": 959, "name": "IndexAccess", - "src": "27677:19:1" + "src": "28448:19:0" }, { "attributes": { @@ -49934,7 +49934,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -49943,37 +49943,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1468, + "id": 960, "name": "Identifier", - "src": "27699:3:1" + "src": "28470:3:0" } ], - "id": 1469, + "id": 961, "name": "MemberAccess", - "src": "27699:11:1" + "src": "28470:11:0" } ], - "id": 1470, + "id": 962, "name": "MemberAccess", - "src": "27699:18:1" + "src": "28470:18:0" } ], - "id": 1471, + "id": 963, "name": "Assignment", - "src": "27677:40:1" + "src": "28448:40:0" } ], - "id": 1472, + "id": 964, "name": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -49987,25 +49987,25 @@ "type": "bool", "value": "true" }, - "id": 1473, + "id": 965, "name": "Literal", - "src": "27738:4:1" + "src": "28510:4:0" } ], - "id": 1474, + "id": 966, "name": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ], - "id": 1475, + "id": 967, "name": "Block", - "src": "27505:248:1" + "src": "28272:254:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -50019,34 +50019,34 @@ "type": "bool", "value": "false" }, - "id": 1476, + "id": 968, "name": "Literal", - "src": "27780:5:1" + "src": "28554:5:0" } ], - "id": 1477, + "id": 969, "name": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ], - "id": 1478, + "id": 970, "name": "Block", - "src": "27759:37:1" + "src": "28532:39:0" } ], - "id": 1479, + "id": 971, "name": "IfStatement", - "src": "27477:319:1" + "src": "28244:327:0" } ], - "id": 1480, + "id": 972, "name": "Block", - "src": "27467:335:1" + "src": "28233:345:0" } ], - "id": 1481, + "id": 973, "name": "FunctionDefinition", - "src": "27398:404:1" + "src": "28164:414:0" }, { "attributes": { @@ -50057,7 +50057,7 @@ null ], "name": "_remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -50067,9 +50067,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1482, + "id": 974, "name": "StructuredDocumentation", - "src": "27808:157:1" + "src": "28586:162:0" }, { "children": [ @@ -50078,7 +50078,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -50088,24 +50088,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1483, + "id": 975, "name": "UserDefinedTypeName", - "src": "27987:3:1" + "src": "28771:3:0" } ], - "id": 1484, + "id": 976, "name": "VariableDeclaration", - "src": "27987:15:1" + "src": "28771:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50117,19 +50117,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1485, + "id": 977, "name": "ElementaryTypeName", - "src": "28004:7:1" + "src": "28788:7:0" } ], - "id": 1486, + "id": 978, "name": "VariableDeclaration", - "src": "28004:13:1" + "src": "28788:13:0" } ], - "id": 1487, + "id": 979, "name": "ParameterList", - "src": "27986:32:1" + "src": "28770:32:0" }, { "children": [ @@ -50138,7 +50138,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -50150,26 +50150,26 @@ "name": "bool", "type": "bool" }, - "id": 1488, + "id": 980, "name": "ElementaryTypeName", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1489, + "id": 981, "name": "VariableDeclaration", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1490, + "id": 982, "name": "ParameterList", - "src": "28035:6:1" + "src": "28819:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1492 + 984 ] }, "children": [ @@ -50178,7 +50178,7 @@ "constant": false, "mutability": "mutable", "name": "valueIndex", - "scope": 1560, + "scope": 1052, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50190,14 +50190,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1491, + "id": 983, "name": "ElementaryTypeName", - "src": "28152:7:1" + "src": "28938:7:0" } ], - "id": 1492, + "id": 984, "name": "VariableDeclaration", - "src": "28152:18:1" + "src": "28938:18:0" }, { "attributes": { @@ -50215,7 +50215,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50224,41 +50224,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1493, + "id": 985, "name": "Identifier", - "src": "28173:3:1" + "src": "28959:3:0" } ], - "id": 1494, + "id": 986, "name": "MemberAccess", - "src": "28173:12:1" + "src": "28959:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1495, + "id": 987, "name": "Identifier", - "src": "28186:5:1" + "src": "28972:5:0" } ], - "id": 1496, + "id": 988, "name": "IndexAccess", - "src": "28173:19:1" + "src": "28959:19:0" } ], - "id": 1497, + "id": 989, "name": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "children": [ @@ -50281,13 +50281,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1498, + "id": 990, "name": "Identifier", - "src": "28207:10:1" + "src": "28995:10:0" }, { "attributes": { @@ -50300,21 +50300,21 @@ "type": "int_const 0", "value": "0" }, - "id": 1499, + "id": 991, "name": "Literal", - "src": "28221:1:1" + "src": "29009:1:0" } ], - "id": 1500, + "id": 992, "name": "BinaryOperation", - "src": "28207:15:1" + "src": "28995:15:0" }, { "children": [ { "attributes": { "assignments": [ - 1502 + 994 ] }, "children": [ @@ -50323,7 +50323,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50335,14 +50335,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1501, + "id": 993, "name": "ElementaryTypeName", - "src": "28564:7:1" + "src": "29357:7:0" } ], - "id": 1502, + "id": 994, "name": "VariableDeclaration", - "src": "28564:21:1" + "src": "29357:21:0" }, { "attributes": { @@ -50363,13 +50363,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1503, + "id": 995, "name": "Identifier", - "src": "28588:10:1" + "src": "29381:10:0" }, { "attributes": { @@ -50382,24 +50382,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1504, + "id": 996, "name": "Literal", - "src": "28601:1:1" + "src": "29394:1:0" } ], - "id": 1505, + "id": 997, "name": "BinaryOperation", - "src": "28588:14:1" + "src": "29381:14:0" } ], - "id": 1506, + "id": 998, "name": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "attributes": { "assignments": [ - 1508 + 1000 ] }, "children": [ @@ -50408,7 +50408,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50420,14 +50420,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1507, + "id": 999, "name": "ElementaryTypeName", - "src": "28616:7:1" + "src": "29410:7:0" } ], - "id": 1508, + "id": 1000, "name": "VariableDeclaration", - "src": "28616:17:1" + "src": "29410:17:0" }, { "attributes": { @@ -50460,7 +50460,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50469,23 +50469,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1509, + "id": 1001, "name": "Identifier", - "src": "28636:3:1" + "src": "29430:3:0" } ], - "id": 1510, + "id": 1002, "name": "MemberAccess", - "src": "28636:11:1" + "src": "29430:11:0" } ], - "id": 1511, + "id": 1003, "name": "MemberAccess", - "src": "28636:18:1" + "src": "29430:18:0" }, { "attributes": { @@ -50498,24 +50498,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1512, + "id": 1004, "name": "Literal", - "src": "28657:1:1" + "src": "29451:1:0" } ], - "id": 1513, + "id": 1005, "name": "BinaryOperation", - "src": "28636:22:1" + "src": "29430:22:0" } ], - "id": 1514, + "id": 1006, "name": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "attributes": { "assignments": [ - 1516 + 1008 ] }, "children": [ @@ -50524,7 +50524,7 @@ "constant": false, "mutability": "mutable", "name": "lastvalue", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50536,14 +50536,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1515, + "id": 1007, "name": "ElementaryTypeName", - "src": "28898:7:1" + "src": "29697:7:0" } ], - "id": 1516, + "id": 1008, "name": "VariableDeclaration", - "src": "28898:17:1" + "src": "29697:17:0" }, { "attributes": { @@ -50561,7 +50561,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50570,41 +50570,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1517, + "id": 1009, "name": "Identifier", - "src": "28918:3:1" + "src": "29717:3:0" } ], - "id": 1518, + "id": 1010, "name": "MemberAccess", - "src": "28918:11:1" + "src": "29717:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1508, + "referencedDeclaration": 1000, "type": "uint256", "value": "lastIndex" }, - "id": 1519, + "id": 1011, "name": "Identifier", - "src": "28930:9:1" + "src": "29729:9:0" } ], - "id": 1520, + "id": 1012, "name": "IndexAccess", - "src": "28918:22:1" + "src": "29717:22:0" } ], - "id": 1521, + "id": 1013, "name": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "children": [ @@ -50634,7 +50634,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50643,59 +50643,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1522, + "id": 1014, "name": "Identifier", - "src": "29032:3:1" + "src": "29834:3:0" } ], - "id": 1525, + "id": 1017, "name": "MemberAccess", - "src": "29032:11:1" + "src": "29834:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1524, + "id": 1016, "name": "Identifier", - "src": "29044:13:1" + "src": "29846:13:0" } ], - "id": 1526, + "id": 1018, "name": "IndexAccess", - "src": "29032:26:1" + "src": "29834:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1527, + "id": 1019, "name": "Identifier", - "src": "29061:9:1" + "src": "29863:9:0" } ], - "id": 1528, + "id": 1020, "name": "Assignment", - "src": "29032:38:1" + "src": "29834:38:0" } ], - "id": 1529, + "id": 1021, "name": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "children": [ @@ -50725,7 +50725,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50734,36 +50734,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1530, + "id": 1022, "name": "Identifier", - "src": "29136:3:1" + "src": "29940:3:0" } ], - "id": 1533, + "id": 1025, "name": "MemberAccess", - "src": "29136:12:1" + "src": "29940:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1532, + "id": 1024, "name": "Identifier", - "src": "29149:9:1" + "src": "29953:9:0" } ], - "id": 1534, + "id": 1026, "name": "IndexAccess", - "src": "29136:23:1" + "src": "29940:23:0" }, { "attributes": { @@ -50784,13 +50784,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1535, + "id": 1027, "name": "Identifier", - "src": "29162:13:1" + "src": "29966:13:0" }, { "attributes": { @@ -50803,24 +50803,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1536, + "id": 1028, "name": "Literal", - "src": "29178:1:1" + "src": "29982:1:0" } ], - "id": 1537, + "id": 1029, "name": "BinaryOperation", - "src": "29162:17:1" + "src": "29966:17:0" } ], - "id": 1538, + "id": 1030, "name": "Assignment", - "src": "29136:43:1" + "src": "29940:43:0" } ], - "id": 1539, + "id": 1031, "name": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "children": [ @@ -50862,7 +50862,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50871,33 +50871,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1540, + "id": 1032, "name": "Identifier", - "src": "29285:3:1" + "src": "30092:3:0" } ], - "id": 1543, + "id": 1035, "name": "MemberAccess", - "src": "29285:11:1" + "src": "30092:11:0" } ], - "id": 1544, + "id": 1036, "name": "MemberAccess", - "src": "29285:15:1" + "src": "30092:15:0" } ], - "id": 1545, + "id": 1037, "name": "FunctionCall", - "src": "29285:17:1" + "src": "30092:17:0" } ], - "id": 1546, + "id": 1038, "name": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "children": [ @@ -50928,7 +50928,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50937,50 +50937,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1547, + "id": 1039, "name": "Identifier", - "src": "29377:3:1" + "src": "30187:3:0" } ], - "id": 1548, + "id": 1040, "name": "MemberAccess", - "src": "29377:12:1" + "src": "30187:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1549, + "id": 1041, "name": "Identifier", - "src": "29390:5:1" + "src": "30200:5:0" } ], - "id": 1550, + "id": 1042, "name": "IndexAccess", - "src": "29377:19:1" + "src": "30187:19:0" } ], - "id": 1551, + "id": 1043, "name": "UnaryOperation", - "src": "29370:26:1" + "src": "30180:26:0" } ], - "id": 1552, + "id": 1044, "name": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -50994,25 +50994,25 @@ "type": "bool", "value": "true" }, - "id": 1553, + "id": 1045, "name": "Literal", - "src": "29418:4:1" + "src": "30230:4:0" } ], - "id": 1554, + "id": 1046, "name": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ], - "id": 1555, + "id": 1047, "name": "Block", - "src": "28224:1209:1" + "src": "29012:1234:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -51026,34 +51026,34 @@ "type": "bool", "value": "false" }, - "id": 1556, + "id": 1048, "name": "Literal", - "src": "29460:5:1" + "src": "30274:5:0" } ], - "id": 1557, + "id": 1049, "name": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ], - "id": 1558, + "id": 1050, "name": "Block", - "src": "29439:37:1" + "src": "30252:39:0" } ], - "id": 1559, + "id": 1051, "name": "IfStatement", - "src": "28203:1273:1" + "src": "28991:1300:0" } ], - "id": 1560, + "id": 1052, "name": "Block", - "src": "28042:1440:1" + "src": "28826:1472:0" } ], - "id": 1561, + "id": 1053, "name": "FunctionDefinition", - "src": "27970:1512:1" + "src": "28754:1544:0" }, { "attributes": { @@ -51064,7 +51064,7 @@ null ], "name": "_contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51074,9 +51074,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1562, + "id": 1054, "name": "StructuredDocumentation", - "src": "29488:70:1" + "src": "30306:72:0" }, { "children": [ @@ -51085,7 +51085,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51095,24 +51095,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1563, + "id": 1055, "name": "UserDefinedTypeName", - "src": "29582:3:1" + "src": "30403:3:0" } ], - "id": 1564, + "id": 1056, "name": "VariableDeclaration", - "src": "29582:15:1" + "src": "30403:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51124,19 +51124,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1565, + "id": 1057, "name": "ElementaryTypeName", - "src": "29599:7:1" + "src": "30420:7:0" } ], - "id": 1566, + "id": 1058, "name": "VariableDeclaration", - "src": "29599:13:1" + "src": "30420:13:0" } ], - "id": 1567, + "id": 1059, "name": "ParameterList", - "src": "29581:32:1" + "src": "30402:32:0" }, { "children": [ @@ -51145,7 +51145,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51157,25 +51157,25 @@ "name": "bool", "type": "bool" }, - "id": 1568, + "id": 1060, "name": "ElementaryTypeName", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1569, + "id": 1061, "name": "VariableDeclaration", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1570, + "id": 1062, "name": "ParameterList", - "src": "29635:6:1" + "src": "30456:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1570 + "functionReturnParameters": 1062 }, "children": [ { @@ -51208,7 +51208,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -51217,36 +51217,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1564, + "referencedDeclaration": 1056, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1571, + "id": 1063, "name": "Identifier", - "src": "29659:3:1" + "src": "30481:3:0" } ], - "id": 1572, + "id": 1064, "name": "MemberAccess", - "src": "29659:12:1" + "src": "30481:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1566, + "referencedDeclaration": 1058, "type": "bytes32", "value": "value" }, - "id": 1573, + "id": 1065, "name": "Identifier", - "src": "29672:5:1" + "src": "30494:5:0" } ], - "id": 1574, + "id": 1066, "name": "IndexAccess", - "src": "29659:19:1" + "src": "30481:19:0" }, { "attributes": { @@ -51259,29 +51259,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1575, + "id": 1067, "name": "Literal", - "src": "29682:1:1" + "src": "30504:1:0" } ], - "id": 1576, + "id": 1068, "name": "BinaryOperation", - "src": "29659:24:1" + "src": "30481:24:0" } ], - "id": 1577, + "id": 1069, "name": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ], - "id": 1578, + "id": 1070, "name": "Block", - "src": "29642:48:1" + "src": "30463:50:0" } ], - "id": 1579, + "id": 1071, "name": "FunctionDefinition", - "src": "29563:127:1" + "src": "30384:129:0" }, { "attributes": { @@ -51292,7 +51292,7 @@ null ], "name": "_length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51302,9 +51302,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1580, + "id": 1072, "name": "StructuredDocumentation", - "src": "29696:70:1" + "src": "30521:72:0" }, { "children": [ @@ -51313,7 +51313,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51323,22 +51323,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1581, + "id": 1073, "name": "UserDefinedTypeName", - "src": "29788:3:1" + "src": "30616:3:0" } ], - "id": 1582, + "id": 1074, "name": "VariableDeclaration", - "src": "29788:15:1" + "src": "30616:15:0" } ], - "id": 1583, + "id": 1075, "name": "ParameterList", - "src": "29787:17:1" + "src": "30615:17:0" }, { "children": [ @@ -51347,7 +51347,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51359,25 +51359,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1584, + "id": 1076, "name": "ElementaryTypeName", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1585, + "id": 1077, "name": "VariableDeclaration", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1586, + "id": 1078, "name": "ParameterList", - "src": "29826:9:1" + "src": "30654:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1586 + "functionReturnParameters": 1078 }, "children": [ { @@ -51397,7 +51397,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51406,38 +51406,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1582, + "referencedDeclaration": 1074, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1587, + "id": 1079, "name": "Identifier", - "src": "29853:3:1" + "src": "30682:3:0" } ], - "id": 1588, + "id": 1080, "name": "MemberAccess", - "src": "29853:11:1" + "src": "30682:11:0" } ], - "id": 1589, + "id": 1081, "name": "MemberAccess", - "src": "29853:18:1" + "src": "30682:18:0" } ], - "id": 1590, + "id": 1082, "name": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ], - "id": 1591, + "id": 1083, "name": "Block", - "src": "29836:42:1" + "src": "30664:44:0" } ], - "id": 1592, + "id": 1084, "name": "FunctionDefinition", - "src": "29771:107:1" + "src": "30599:109:0" }, { "attributes": { @@ -51448,7 +51448,7 @@ null ], "name": "_at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51458,9 +51458,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1593, + "id": 1085, "name": "StructuredDocumentation", - "src": "29883:322:1" + "src": "30715:331:0" }, { "children": [ @@ -51469,7 +51469,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51479,24 +51479,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1594, + "id": 1086, "name": "UserDefinedTypeName", - "src": "30223:3:1" + "src": "31065:3:0" } ], - "id": 1595, + "id": 1087, "name": "VariableDeclaration", - "src": "30223:15:1" + "src": "31065:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51508,19 +51508,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1596, + "id": 1088, "name": "ElementaryTypeName", - "src": "30240:7:1" + "src": "31082:7:0" } ], - "id": 1597, + "id": 1089, "name": "VariableDeclaration", - "src": "30240:13:1" + "src": "31082:13:0" } ], - "id": 1598, + "id": 1090, "name": "ParameterList", - "src": "30222:32:1" + "src": "31064:32:0" }, { "children": [ @@ -51529,7 +51529,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51541,19 +51541,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1599, + "id": 1091, "name": "ElementaryTypeName", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1600, + "id": 1092, "name": "VariableDeclaration", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1601, + "id": 1093, "name": "ParameterList", - "src": "30276:9:1" + "src": "31118:9:0" }, { "children": [ @@ -51594,9 +51594,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1602, + "id": 1094, "name": "Identifier", - "src": "30296:7:1" + "src": "31139:7:0" }, { "attributes": { @@ -51629,7 +51629,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51638,41 +51638,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1603, + "id": 1095, "name": "Identifier", - "src": "30304:3:1" + "src": "31147:3:0" } ], - "id": 1604, + "id": 1096, "name": "MemberAccess", - "src": "30304:11:1" + "src": "31147:11:0" } ], - "id": 1605, + "id": 1097, "name": "MemberAccess", - "src": "30304:18:1" + "src": "31147:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1606, + "id": 1098, "name": "Identifier", - "src": "30325:5:1" + "src": "31168:5:0" } ], - "id": 1607, + "id": 1099, "name": "BinaryOperation", - "src": "30304:26:1" + "src": "31147:26:0" }, { "attributes": { @@ -51685,23 +51685,23 @@ "type": "literal_string \"EnumerableSet: index out of bounds\"", "value": "EnumerableSet: index out of bounds" }, - "id": 1608, + "id": 1100, "name": "Literal", - "src": "30332:36:1" + "src": "31175:36:0" } ], - "id": 1609, + "id": 1101, "name": "FunctionCall", - "src": "30296:73:1" + "src": "31139:73:0" } ], - "id": 1610, + "id": 1102, "name": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "attributes": { - "functionReturnParameters": 1601 + "functionReturnParameters": 1093 }, "children": [ { @@ -51720,7 +51720,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51729,57 +51729,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1611, + "id": 1103, "name": "Identifier", - "src": "30386:3:1" + "src": "31230:3:0" } ], - "id": 1612, + "id": 1104, "name": "MemberAccess", - "src": "30386:11:1" + "src": "31230:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1613, + "id": 1105, "name": "Identifier", - "src": "30398:5:1" + "src": "31242:5:0" } ], - "id": 1614, + "id": 1106, "name": "IndexAccess", - "src": "30386:18:1" + "src": "31230:18:0" } ], - "id": 1615, + "id": 1107, "name": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ], - "id": 1616, + "id": 1108, "name": "Block", - "src": "30286:125:1" + "src": "31128:128:0" } ], - "id": 1617, + "id": 1109, "name": "FunctionDefinition", - "src": "30210:201:1" + "src": "31052:204:0" }, { "attributes": { "canonicalName": "EnumerableSet.Bytes32Set", "name": "Bytes32Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -51788,7 +51788,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1620, + "scope": 1112, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -51798,22 +51798,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1618, + "id": 1110, "name": "UserDefinedTypeName", - "src": "30464:3:1" + "src": "31314:3:0" } ], - "id": 1619, + "id": 1111, "name": "VariableDeclaration", - "src": "30464:10:1" + "src": "31314:10:0" } ], - "id": 1620, + "id": 1112, "name": "StructDefinition", - "src": "30436:45:1" + "src": "31285:47:0" }, { "attributes": { @@ -51824,7 +51824,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -51834,9 +51834,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1621, + "id": 1113, "name": "StructuredDocumentation", - "src": "30487:159:1" + "src": "31340:164:0" }, { "children": [ @@ -51845,7 +51845,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -51855,24 +51855,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1622, + "id": 1114, "name": "UserDefinedTypeName", - "src": "30664:10:1" + "src": "31523:10:0" } ], - "id": 1623, + "id": 1115, "name": "VariableDeclaration", - "src": "30664:22:1" + "src": "31523:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51884,19 +51884,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1624, + "id": 1116, "name": "ElementaryTypeName", - "src": "30688:7:1" + "src": "31547:7:0" } ], - "id": 1625, + "id": 1117, "name": "VariableDeclaration", - "src": "30688:13:1" + "src": "31547:13:0" } ], - "id": 1626, + "id": 1118, "name": "ParameterList", - "src": "30663:39:1" + "src": "31522:39:0" }, { "children": [ @@ -51905,7 +51905,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51917,25 +51917,25 @@ "name": "bool", "type": "bool" }, - "id": 1627, + "id": 1119, "name": "ElementaryTypeName", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1628, + "id": 1120, "name": "VariableDeclaration", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1629, + "id": 1121, "name": "ParameterList", - "src": "30720:6:1" + "src": "31579:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1629 + "functionReturnParameters": 1121 }, "children": [ { @@ -51957,7 +51957,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -51968,13 +51968,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1630, + "id": 1122, "name": "Identifier", - "src": "30744:4:1" + "src": "31604:4:0" }, { "attributes": { @@ -51983,7 +51983,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -51992,51 +51992,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1623, + "referencedDeclaration": 1115, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1631, + "id": 1123, "name": "Identifier", - "src": "30749:3:1" + "src": "31609:3:0" } ], - "id": 1632, + "id": 1124, "name": "MemberAccess", - "src": "30749:10:1" + "src": "31609:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1625, + "referencedDeclaration": 1117, "type": "bytes32", "value": "value" }, - "id": 1633, + "id": 1125, "name": "Identifier", - "src": "30761:5:1" + "src": "31621:5:0" } ], - "id": 1634, + "id": 1126, "name": "FunctionCall", - "src": "30744:23:1" + "src": "31604:23:0" } ], - "id": 1635, + "id": 1127, "name": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ], - "id": 1636, + "id": 1128, "name": "Block", - "src": "30727:47:1" + "src": "31586:49:0" } ], - "id": 1637, + "id": 1129, "name": "FunctionDefinition", - "src": "30651:123:1" + "src": "31510:125:0" }, { "attributes": { @@ -52047,7 +52047,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52057,9 +52057,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1638, + "id": 1130, "name": "StructuredDocumentation", - "src": "30780:157:1" + "src": "31643:162:0" }, { "children": [ @@ -52068,7 +52068,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52078,24 +52078,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1639, + "id": 1131, "name": "UserDefinedTypeName", - "src": "30958:10:1" + "src": "31827:10:0" } ], - "id": 1640, + "id": 1132, "name": "VariableDeclaration", - "src": "30958:22:1" + "src": "31827:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52107,19 +52107,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1641, + "id": 1133, "name": "ElementaryTypeName", - "src": "30982:7:1" + "src": "31851:7:0" } ], - "id": 1642, + "id": 1134, "name": "VariableDeclaration", - "src": "30982:13:1" + "src": "31851:13:0" } ], - "id": 1643, + "id": 1135, "name": "ParameterList", - "src": "30957:39:1" + "src": "31826:39:0" }, { "children": [ @@ -52128,7 +52128,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52140,25 +52140,25 @@ "name": "bool", "type": "bool" }, - "id": 1644, + "id": 1136, "name": "ElementaryTypeName", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1645, + "id": 1137, "name": "VariableDeclaration", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1646, + "id": 1138, "name": "ParameterList", - "src": "31014:6:1" + "src": "31883:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1646 + "functionReturnParameters": 1138 }, "children": [ { @@ -52180,7 +52180,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52191,13 +52191,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1647, + "id": 1139, "name": "Identifier", - "src": "31038:7:1" + "src": "31908:7:0" }, { "attributes": { @@ -52206,7 +52206,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52215,51 +52215,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1640, + "referencedDeclaration": 1132, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1648, + "id": 1140, "name": "Identifier", - "src": "31046:3:1" + "src": "31916:3:0" } ], - "id": 1649, + "id": 1141, "name": "MemberAccess", - "src": "31046:10:1" + "src": "31916:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1642, + "referencedDeclaration": 1134, "type": "bytes32", "value": "value" }, - "id": 1650, + "id": 1142, "name": "Identifier", - "src": "31058:5:1" + "src": "31928:5:0" } ], - "id": 1651, + "id": 1143, "name": "FunctionCall", - "src": "31038:26:1" + "src": "31908:26:0" } ], - "id": 1652, + "id": 1144, "name": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ], - "id": 1653, + "id": 1145, "name": "Block", - "src": "31021:50:1" + "src": "31890:52:0" } ], - "id": 1654, + "id": 1146, "name": "FunctionDefinition", - "src": "30942:129:1" + "src": "31811:131:0" }, { "attributes": { @@ -52270,7 +52270,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52280,9 +52280,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1655, + "id": 1147, "name": "StructuredDocumentation", - "src": "31077:70:1" + "src": "31950:72:0" }, { "children": [ @@ -52291,7 +52291,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52301,24 +52301,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1656, + "id": 1148, "name": "UserDefinedTypeName", - "src": "31170:10:1" + "src": "32046:10:0" } ], - "id": 1657, + "id": 1149, "name": "VariableDeclaration", - "src": "31170:22:1" + "src": "32046:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52330,19 +52330,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1658, + "id": 1150, "name": "ElementaryTypeName", - "src": "31194:7:1" + "src": "32070:7:0" } ], - "id": 1659, + "id": 1151, "name": "VariableDeclaration", - "src": "31194:13:1" + "src": "32070:13:0" } ], - "id": 1660, + "id": 1152, "name": "ParameterList", - "src": "31169:39:1" + "src": "32045:39:0" }, { "children": [ @@ -52351,7 +52351,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52363,25 +52363,25 @@ "name": "bool", "type": "bool" }, - "id": 1661, + "id": 1153, "name": "ElementaryTypeName", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1662, + "id": 1154, "name": "VariableDeclaration", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1663, + "id": 1155, "name": "ParameterList", - "src": "31231:6:1" + "src": "32107:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1663 + "functionReturnParameters": 1155 }, "children": [ { @@ -52403,7 +52403,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52414,13 +52414,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1664, + "id": 1156, "name": "Identifier", - "src": "31255:9:1" + "src": "32132:9:0" }, { "attributes": { @@ -52429,7 +52429,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52438,51 +52438,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1657, + "referencedDeclaration": 1149, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1665, + "id": 1157, "name": "Identifier", - "src": "31265:3:1" + "src": "32142:3:0" } ], - "id": 1666, + "id": 1158, "name": "MemberAccess", - "src": "31265:10:1" + "src": "32142:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1659, + "referencedDeclaration": 1151, "type": "bytes32", "value": "value" }, - "id": 1667, + "id": 1159, "name": "Identifier", - "src": "31277:5:1" + "src": "32154:5:0" } ], - "id": 1668, + "id": 1160, "name": "FunctionCall", - "src": "31255:28:1" + "src": "32132:28:0" } ], - "id": 1669, + "id": 1161, "name": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ], - "id": 1670, + "id": 1162, "name": "Block", - "src": "31238:52:1" + "src": "32114:54:0" } ], - "id": 1671, + "id": 1163, "name": "FunctionDefinition", - "src": "31152:138:1" + "src": "32028:140:0" }, { "attributes": { @@ -52493,7 +52493,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52503,9 +52503,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1672, + "id": 1164, "name": "StructuredDocumentation", - "src": "31296:70:1" + "src": "32176:72:0" }, { "children": [ @@ -52514,7 +52514,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52524,22 +52524,22 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1673, + "id": 1165, "name": "UserDefinedTypeName", - "src": "31387:10:1" + "src": "32270:10:0" } ], - "id": 1674, + "id": 1166, "name": "VariableDeclaration", - "src": "31387:22:1" + "src": "32270:22:0" } ], - "id": 1675, + "id": 1167, "name": "ParameterList", - "src": "31386:24:1" + "src": "32269:24:0" }, { "children": [ @@ -52548,7 +52548,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52560,25 +52560,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1676, + "id": 1168, "name": "ElementaryTypeName", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1677, + "id": 1169, "name": "VariableDeclaration", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1678, + "id": 1170, "name": "ParameterList", - "src": "31433:9:1" + "src": "32316:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1678 + "functionReturnParameters": 1170 }, "children": [ { @@ -52600,20 +52600,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1679, + "id": 1171, "name": "Identifier", - "src": "31460:7:1" + "src": "32344:7:0" }, { "attributes": { @@ -52622,7 +52622,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52631,38 +52631,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1674, + "referencedDeclaration": 1166, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1680, + "id": 1172, "name": "Identifier", - "src": "31468:3:1" + "src": "32352:3:0" } ], - "id": 1681, + "id": 1173, "name": "MemberAccess", - "src": "31468:10:1" + "src": "32352:10:0" } ], - "id": 1682, + "id": 1174, "name": "FunctionCall", - "src": "31460:19:1" + "src": "32344:19:0" } ], - "id": 1683, + "id": 1175, "name": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ], - "id": 1684, + "id": 1176, "name": "Block", - "src": "31443:43:1" + "src": "32326:45:0" } ], - "id": 1685, + "id": 1177, "name": "FunctionDefinition", - "src": "31371:115:1" + "src": "32254:117:0" }, { "attributes": { @@ -52673,7 +52673,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52683,9 +52683,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1686, + "id": 1178, "name": "StructuredDocumentation", - "src": "31491:322:1" + "src": "32378:331:0" }, { "children": [ @@ -52694,7 +52694,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52704,24 +52704,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1687, + "id": 1179, "name": "UserDefinedTypeName", - "src": "31830:10:1" + "src": "32727:10:0" } ], - "id": 1688, + "id": 1180, "name": "VariableDeclaration", - "src": "31830:22:1" + "src": "32727:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52733,19 +52733,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1689, + "id": 1181, "name": "ElementaryTypeName", - "src": "31854:7:1" + "src": "32751:7:0" } ], - "id": 1690, + "id": 1182, "name": "VariableDeclaration", - "src": "31854:13:1" + "src": "32751:13:0" } ], - "id": 1691, + "id": 1183, "name": "ParameterList", - "src": "31829:39:1" + "src": "32726:39:0" }, { "children": [ @@ -52754,7 +52754,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52766,25 +52766,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1692, + "id": 1184, "name": "ElementaryTypeName", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1693, + "id": 1185, "name": "VariableDeclaration", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1694, + "id": 1186, "name": "ParameterList", - "src": "31891:9:1" + "src": "32788:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1694 + "functionReturnParameters": 1186 }, "children": [ { @@ -52806,7 +52806,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52817,13 +52817,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1695, + "id": 1187, "name": "Identifier", - "src": "31918:3:1" + "src": "32816:3:0" }, { "attributes": { @@ -52832,7 +52832,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52841,57 +52841,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1688, + "referencedDeclaration": 1180, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1696, + "id": 1188, "name": "Identifier", - "src": "31922:3:1" + "src": "32820:3:0" } ], - "id": 1697, + "id": 1189, "name": "MemberAccess", - "src": "31922:10:1" + "src": "32820:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1690, + "referencedDeclaration": 1182, "type": "uint256", "value": "index" }, - "id": 1698, + "id": 1190, "name": "Identifier", - "src": "31934:5:1" + "src": "32832:5:0" } ], - "id": 1699, + "id": 1191, "name": "FunctionCall", - "src": "31918:22:1" + "src": "32816:22:0" } ], - "id": 1700, + "id": 1192, "name": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ], - "id": 1701, + "id": 1193, "name": "Block", - "src": "31901:46:1" + "src": "32798:48:0" } ], - "id": 1702, + "id": 1194, "name": "FunctionDefinition", - "src": "31818:129:1" + "src": "32715:131:0" }, { "attributes": { "canonicalName": "EnumerableSet.AddressSet", "name": "AddressSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -52900,7 +52900,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1705, + "scope": 1197, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -52910,22 +52910,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1703, + "id": 1195, "name": "UserDefinedTypeName", - "src": "32000:3:1" + "src": "32904:3:0" } ], - "id": 1704, + "id": 1196, "name": "VariableDeclaration", - "src": "32000:10:1" + "src": "32904:10:0" } ], - "id": 1705, + "id": 1197, "name": "StructDefinition", - "src": "31972:45:1" + "src": "32875:47:0" }, { "attributes": { @@ -52936,7 +52936,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52946,9 +52946,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1706, + "id": 1198, "name": "StructuredDocumentation", - "src": "32023:159:1" + "src": "32930:164:0" }, { "children": [ @@ -52957,7 +52957,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -52967,24 +52967,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1707, + "id": 1199, "name": "UserDefinedTypeName", - "src": "32200:10:1" + "src": "33113:10:0" } ], - "id": 1708, + "id": 1200, "name": "VariableDeclaration", - "src": "32200:22:1" + "src": "33113:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -52997,19 +52997,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1709, + "id": 1201, "name": "ElementaryTypeName", - "src": "32224:7:1" + "src": "33137:7:0" } ], - "id": 1710, + "id": 1202, "name": "VariableDeclaration", - "src": "32224:13:1" + "src": "33137:13:0" } ], - "id": 1711, + "id": 1203, "name": "ParameterList", - "src": "32199:39:1" + "src": "33112:39:0" }, { "children": [ @@ -53018,7 +53018,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53030,25 +53030,25 @@ "name": "bool", "type": "bool" }, - "id": 1712, + "id": 1204, "name": "ElementaryTypeName", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1713, + "id": 1205, "name": "VariableDeclaration", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1714, + "id": 1206, "name": "ParameterList", - "src": "32256:6:1" + "src": "33169:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1714 + "functionReturnParameters": 1206 }, "children": [ { @@ -53070,7 +53070,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53081,13 +53081,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1715, + "id": 1207, "name": "Identifier", - "src": "32280:4:1" + "src": "33194:4:0" }, { "attributes": { @@ -53096,7 +53096,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53105,18 +53105,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1708, + "referencedDeclaration": 1200, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1716, + "id": 1208, "name": "Identifier", - "src": "32285:3:1" + "src": "33199:3:0" } ], - "id": 1717, + "id": 1209, "name": "MemberAccess", - "src": "32285:10:1" + "src": "33199:10:0" }, { "attributes": { @@ -53152,14 +53152,14 @@ "attributes": { "name": "bytes32" }, - "id": 1718, + "id": 1210, "name": "ElementaryTypeName", - "src": "32297:7:1" + "src": "33211:7:0" } ], - "id": 1719, + "id": 1211, "name": "ElementaryTypeNameExpression", - "src": "32297:7:1" + "src": "33211:7:0" }, { "attributes": { @@ -53195,14 +53195,14 @@ "attributes": { "name": "uint256" }, - "id": 1720, + "id": 1212, "name": "ElementaryTypeName", - "src": "32305:7:1" + "src": "33219:7:0" } ], - "id": 1721, + "id": 1213, "name": "ElementaryTypeNameExpression", - "src": "32305:7:1" + "src": "33219:7:0" }, { "attributes": { @@ -53238,62 +53238,62 @@ "attributes": { "name": "uint160" }, - "id": 1722, + "id": 1214, "name": "ElementaryTypeName", - "src": "32313:7:1" + "src": "33227:7:0" } ], - "id": 1723, + "id": 1215, "name": "ElementaryTypeNameExpression", - "src": "32313:7:1" + "src": "33227:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1710, + "referencedDeclaration": 1202, "type": "address", "value": "value" }, - "id": 1724, + "id": 1216, "name": "Identifier", - "src": "32321:5:1" + "src": "33235:5:0" } ], - "id": 1725, + "id": 1217, "name": "FunctionCall", - "src": "32313:14:1" + "src": "33227:14:0" } ], - "id": 1726, + "id": 1218, "name": "FunctionCall", - "src": "32305:23:1" + "src": "33219:23:0" } ], - "id": 1727, + "id": 1219, "name": "FunctionCall", - "src": "32297:32:1" + "src": "33211:32:0" } ], - "id": 1728, + "id": 1220, "name": "FunctionCall", - "src": "32280:50:1" + "src": "33194:50:0" } ], - "id": 1729, + "id": 1221, "name": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ], - "id": 1730, + "id": 1222, "name": "Block", - "src": "32263:74:1" + "src": "33176:76:0" } ], - "id": 1731, + "id": 1223, "name": "FunctionDefinition", - "src": "32187:150:1" + "src": "33100:152:0" }, { "attributes": { @@ -53304,7 +53304,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -53314,9 +53314,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1732, + "id": 1224, "name": "StructuredDocumentation", - "src": "32343:157:1" + "src": "33260:162:0" }, { "children": [ @@ -53325,7 +53325,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53335,24 +53335,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1733, + "id": 1225, "name": "UserDefinedTypeName", - "src": "32521:10:1" + "src": "33444:10:0" } ], - "id": 1734, + "id": 1226, "name": "VariableDeclaration", - "src": "32521:22:1" + "src": "33444:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53365,19 +53365,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1735, + "id": 1227, "name": "ElementaryTypeName", - "src": "32545:7:1" + "src": "33468:7:0" } ], - "id": 1736, + "id": 1228, "name": "VariableDeclaration", - "src": "32545:13:1" + "src": "33468:13:0" } ], - "id": 1737, + "id": 1229, "name": "ParameterList", - "src": "32520:39:1" + "src": "33443:39:0" }, { "children": [ @@ -53386,7 +53386,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53398,25 +53398,25 @@ "name": "bool", "type": "bool" }, - "id": 1738, + "id": 1230, "name": "ElementaryTypeName", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1739, + "id": 1231, "name": "VariableDeclaration", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1740, + "id": 1232, "name": "ParameterList", - "src": "32577:6:1" + "src": "33500:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1740 + "functionReturnParameters": 1232 }, "children": [ { @@ -53438,7 +53438,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53449,13 +53449,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1741, + "id": 1233, "name": "Identifier", - "src": "32601:7:1" + "src": "33525:7:0" }, { "attributes": { @@ -53464,7 +53464,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53473,18 +53473,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1734, + "referencedDeclaration": 1226, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1742, + "id": 1234, "name": "Identifier", - "src": "32609:3:1" + "src": "33533:3:0" } ], - "id": 1743, + "id": 1235, "name": "MemberAccess", - "src": "32609:10:1" + "src": "33533:10:0" }, { "attributes": { @@ -53520,14 +53520,14 @@ "attributes": { "name": "bytes32" }, - "id": 1744, + "id": 1236, "name": "ElementaryTypeName", - "src": "32621:7:1" + "src": "33545:7:0" } ], - "id": 1745, + "id": 1237, "name": "ElementaryTypeNameExpression", - "src": "32621:7:1" + "src": "33545:7:0" }, { "attributes": { @@ -53563,14 +53563,14 @@ "attributes": { "name": "uint256" }, - "id": 1746, + "id": 1238, "name": "ElementaryTypeName", - "src": "32629:7:1" + "src": "33553:7:0" } ], - "id": 1747, + "id": 1239, "name": "ElementaryTypeNameExpression", - "src": "32629:7:1" + "src": "33553:7:0" }, { "attributes": { @@ -53606,62 +53606,62 @@ "attributes": { "name": "uint160" }, - "id": 1748, + "id": 1240, "name": "ElementaryTypeName", - "src": "32637:7:1" + "src": "33561:7:0" } ], - "id": 1749, + "id": 1241, "name": "ElementaryTypeNameExpression", - "src": "32637:7:1" + "src": "33561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1736, + "referencedDeclaration": 1228, "type": "address", "value": "value" }, - "id": 1750, + "id": 1242, "name": "Identifier", - "src": "32645:5:1" + "src": "33569:5:0" } ], - "id": 1751, + "id": 1243, "name": "FunctionCall", - "src": "32637:14:1" + "src": "33561:14:0" } ], - "id": 1752, + "id": 1244, "name": "FunctionCall", - "src": "32629:23:1" + "src": "33553:23:0" } ], - "id": 1753, + "id": 1245, "name": "FunctionCall", - "src": "32621:32:1" + "src": "33545:32:0" } ], - "id": 1754, + "id": 1246, "name": "FunctionCall", - "src": "32601:53:1" + "src": "33525:53:0" } ], - "id": 1755, + "id": 1247, "name": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ], - "id": 1756, + "id": 1248, "name": "Block", - "src": "32584:77:1" + "src": "33507:79:0" } ], - "id": 1757, + "id": 1249, "name": "FunctionDefinition", - "src": "32505:156:1" + "src": "33428:158:0" }, { "attributes": { @@ -53672,7 +53672,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -53682,9 +53682,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1758, + "id": 1250, "name": "StructuredDocumentation", - "src": "32667:70:1" + "src": "33594:72:0" }, { "children": [ @@ -53693,7 +53693,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53703,24 +53703,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1759, + "id": 1251, "name": "UserDefinedTypeName", - "src": "32760:10:1" + "src": "33690:10:0" } ], - "id": 1760, + "id": 1252, "name": "VariableDeclaration", - "src": "32760:22:1" + "src": "33690:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53733,19 +53733,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1761, + "id": 1253, "name": "ElementaryTypeName", - "src": "32784:7:1" + "src": "33714:7:0" } ], - "id": 1762, + "id": 1254, "name": "VariableDeclaration", - "src": "32784:13:1" + "src": "33714:13:0" } ], - "id": 1763, + "id": 1255, "name": "ParameterList", - "src": "32759:39:1" + "src": "33689:39:0" }, { "children": [ @@ -53754,7 +53754,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53766,25 +53766,25 @@ "name": "bool", "type": "bool" }, - "id": 1764, + "id": 1256, "name": "ElementaryTypeName", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1765, + "id": 1257, "name": "VariableDeclaration", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1766, + "id": 1258, "name": "ParameterList", - "src": "32821:6:1" + "src": "33751:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1766 + "functionReturnParameters": 1258 }, "children": [ { @@ -53806,7 +53806,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53817,13 +53817,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1767, + "id": 1259, "name": "Identifier", - "src": "32845:9:1" + "src": "33776:9:0" }, { "attributes": { @@ -53832,7 +53832,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53841,18 +53841,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1760, + "referencedDeclaration": 1252, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1768, + "id": 1260, "name": "Identifier", - "src": "32855:3:1" + "src": "33786:3:0" } ], - "id": 1769, + "id": 1261, "name": "MemberAccess", - "src": "32855:10:1" + "src": "33786:10:0" }, { "attributes": { @@ -53888,14 +53888,14 @@ "attributes": { "name": "bytes32" }, - "id": 1770, + "id": 1262, "name": "ElementaryTypeName", - "src": "32867:7:1" + "src": "33798:7:0" } ], - "id": 1771, + "id": 1263, "name": "ElementaryTypeNameExpression", - "src": "32867:7:1" + "src": "33798:7:0" }, { "attributes": { @@ -53931,14 +53931,14 @@ "attributes": { "name": "uint256" }, - "id": 1772, + "id": 1264, "name": "ElementaryTypeName", - "src": "32875:7:1" + "src": "33806:7:0" } ], - "id": 1773, + "id": 1265, "name": "ElementaryTypeNameExpression", - "src": "32875:7:1" + "src": "33806:7:0" }, { "attributes": { @@ -53974,62 +53974,62 @@ "attributes": { "name": "uint160" }, - "id": 1774, + "id": 1266, "name": "ElementaryTypeName", - "src": "32883:7:1" + "src": "33814:7:0" } ], - "id": 1775, + "id": 1267, "name": "ElementaryTypeNameExpression", - "src": "32883:7:1" + "src": "33814:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1762, + "referencedDeclaration": 1254, "type": "address", "value": "value" }, - "id": 1776, + "id": 1268, "name": "Identifier", - "src": "32891:5:1" + "src": "33822:5:0" } ], - "id": 1777, + "id": 1269, "name": "FunctionCall", - "src": "32883:14:1" + "src": "33814:14:0" } ], - "id": 1778, + "id": 1270, "name": "FunctionCall", - "src": "32875:23:1" + "src": "33806:23:0" } ], - "id": 1779, + "id": 1271, "name": "FunctionCall", - "src": "32867:32:1" + "src": "33798:32:0" } ], - "id": 1780, + "id": 1272, "name": "FunctionCall", - "src": "32845:55:1" + "src": "33776:55:0" } ], - "id": 1781, + "id": 1273, "name": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ], - "id": 1782, + "id": 1274, "name": "Block", - "src": "32828:79:1" + "src": "33758:81:0" } ], - "id": 1783, + "id": 1275, "name": "FunctionDefinition", - "src": "32742:165:1" + "src": "33672:167:0" }, { "attributes": { @@ -54040,7 +54040,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54050,9 +54050,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1784, + "id": 1276, "name": "StructuredDocumentation", - "src": "32913:70:1" + "src": "33847:72:0" }, { "children": [ @@ -54061,7 +54061,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54071,22 +54071,22 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1785, + "id": 1277, "name": "UserDefinedTypeName", - "src": "33004:10:1" + "src": "33941:10:0" } ], - "id": 1786, + "id": 1278, "name": "VariableDeclaration", - "src": "33004:22:1" + "src": "33941:22:0" } ], - "id": 1787, + "id": 1279, "name": "ParameterList", - "src": "33003:24:1" + "src": "33940:24:0" }, { "children": [ @@ -54095,7 +54095,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54107,25 +54107,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1788, + "id": 1280, "name": "ElementaryTypeName", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1789, + "id": 1281, "name": "VariableDeclaration", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1790, + "id": 1282, "name": "ParameterList", - "src": "33050:9:1" + "src": "33987:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1790 + "functionReturnParameters": 1282 }, "children": [ { @@ -54147,20 +54147,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1791, + "id": 1283, "name": "Identifier", - "src": "33077:7:1" + "src": "34015:7:0" }, { "attributes": { @@ -54169,7 +54169,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54178,38 +54178,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1786, + "referencedDeclaration": 1278, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1792, + "id": 1284, "name": "Identifier", - "src": "33085:3:1" + "src": "34023:3:0" } ], - "id": 1793, + "id": 1285, "name": "MemberAccess", - "src": "33085:10:1" + "src": "34023:10:0" } ], - "id": 1794, + "id": 1286, "name": "FunctionCall", - "src": "33077:19:1" + "src": "34015:19:0" } ], - "id": 1795, + "id": 1287, "name": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ], - "id": 1796, + "id": 1288, "name": "Block", - "src": "33060:43:1" + "src": "33997:45:0" } ], - "id": 1797, + "id": 1289, "name": "FunctionDefinition", - "src": "32988:115:1" + "src": "33925:117:0" }, { "attributes": { @@ -54220,7 +54220,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54230,9 +54230,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1798, + "id": 1290, "name": "StructuredDocumentation", - "src": "33108:322:1" + "src": "34049:331:0" }, { "children": [ @@ -54241,7 +54241,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54251,24 +54251,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1799, + "id": 1291, "name": "UserDefinedTypeName", - "src": "33447:10:1" + "src": "34398:10:0" } ], - "id": 1800, + "id": 1292, "name": "VariableDeclaration", - "src": "33447:22:1" + "src": "34398:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54280,19 +54280,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1801, + "id": 1293, "name": "ElementaryTypeName", - "src": "33471:7:1" + "src": "34422:7:0" } ], - "id": 1802, + "id": 1294, "name": "VariableDeclaration", - "src": "33471:13:1" + "src": "34422:13:0" } ], - "id": 1803, + "id": 1295, "name": "ParameterList", - "src": "33446:39:1" + "src": "34397:39:0" }, { "children": [ @@ -54301,7 +54301,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -54314,25 +54314,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1804, + "id": 1296, "name": "ElementaryTypeName", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1805, + "id": 1297, "name": "VariableDeclaration", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1806, + "id": 1298, "name": "ParameterList", - "src": "33508:9:1" + "src": "34459:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1806 + "functionReturnParameters": 1298 }, "children": [ { @@ -54369,14 +54369,14 @@ "attributes": { "name": "address" }, - "id": 1807, + "id": 1299, "name": "ElementaryTypeName", - "src": "33535:7:1" + "src": "34487:7:0" } ], - "id": 1808, + "id": 1300, "name": "ElementaryTypeNameExpression", - "src": "33535:7:1" + "src": "34487:7:0" }, { "attributes": { @@ -54412,14 +54412,14 @@ "attributes": { "name": "uint160" }, - "id": 1809, + "id": 1301, "name": "ElementaryTypeName", - "src": "33543:7:1" + "src": "34495:7:0" } ], - "id": 1810, + "id": 1302, "name": "ElementaryTypeNameExpression", - "src": "33543:7:1" + "src": "34495:7:0" }, { "attributes": { @@ -54455,14 +54455,14 @@ "attributes": { "name": "uint256" }, - "id": 1811, + "id": 1303, "name": "ElementaryTypeName", - "src": "33551:7:1" + "src": "34503:7:0" } ], - "id": 1812, + "id": 1304, "name": "ElementaryTypeNameExpression", - "src": "33551:7:1" + "src": "34503:7:0" }, { "attributes": { @@ -54483,7 +54483,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54494,13 +54494,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1813, + "id": 1305, "name": "Identifier", - "src": "33559:3:1" + "src": "34511:3:0" }, { "attributes": { @@ -54509,7 +54509,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54518,72 +54518,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1800, + "referencedDeclaration": 1292, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1814, + "id": 1306, "name": "Identifier", - "src": "33563:3:1" + "src": "34515:3:0" } ], - "id": 1815, + "id": 1307, "name": "MemberAccess", - "src": "33563:10:1" + "src": "34515:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1802, + "referencedDeclaration": 1294, "type": "uint256", "value": "index" }, - "id": 1816, + "id": 1308, "name": "Identifier", - "src": "33575:5:1" + "src": "34527:5:0" } ], - "id": 1817, + "id": 1309, "name": "FunctionCall", - "src": "33559:22:1" + "src": "34511:22:0" } ], - "id": 1818, + "id": 1310, "name": "FunctionCall", - "src": "33551:31:1" + "src": "34503:31:0" } ], - "id": 1819, + "id": 1311, "name": "FunctionCall", - "src": "33543:40:1" + "src": "34495:40:0" } ], - "id": 1820, + "id": 1312, "name": "FunctionCall", - "src": "33535:49:1" + "src": "34487:49:0" } ], - "id": 1821, + "id": 1313, "name": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ], - "id": 1822, + "id": 1314, "name": "Block", - "src": "33518:73:1" + "src": "34469:75:0" } ], - "id": 1823, + "id": 1315, "name": "FunctionDefinition", - "src": "33435:156:1" + "src": "34386:158:0" }, { "attributes": { "canonicalName": "EnumerableSet.UintSet", "name": "UintSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -54592,7 +54592,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1826, + "scope": 1318, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -54602,22 +54602,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1824, + "id": 1316, "name": "UserDefinedTypeName", - "src": "33639:3:1" + "src": "34598:3:0" } ], - "id": 1825, + "id": 1317, "name": "VariableDeclaration", - "src": "33639:10:1" + "src": "34598:10:0" } ], - "id": 1826, + "id": 1318, "name": "StructDefinition", - "src": "33614:42:1" + "src": "34572:44:0" }, { "attributes": { @@ -54628,7 +54628,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -54638,9 +54638,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1827, + "id": 1319, "name": "StructuredDocumentation", - "src": "33662:159:1" + "src": "34624:164:0" }, { "children": [ @@ -54649,7 +54649,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -54659,24 +54659,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1828, + "id": 1320, "name": "UserDefinedTypeName", - "src": "33839:7:1" + "src": "34807:7:0" } ], - "id": 1829, + "id": 1321, "name": "VariableDeclaration", - "src": "33839:19:1" + "src": "34807:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54688,19 +54688,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1830, + "id": 1322, "name": "ElementaryTypeName", - "src": "33860:7:1" + "src": "34828:7:0" } ], - "id": 1831, + "id": 1323, "name": "VariableDeclaration", - "src": "33860:13:1" + "src": "34828:13:0" } ], - "id": 1832, + "id": 1324, "name": "ParameterList", - "src": "33838:36:1" + "src": "34806:36:0" }, { "children": [ @@ -54709,7 +54709,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -54721,25 +54721,25 @@ "name": "bool", "type": "bool" }, - "id": 1833, + "id": 1325, "name": "ElementaryTypeName", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1834, + "id": 1326, "name": "VariableDeclaration", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1835, + "id": 1327, "name": "ParameterList", - "src": "33892:6:1" + "src": "34860:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1835 + "functionReturnParameters": 1327 }, "children": [ { @@ -54761,7 +54761,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54772,13 +54772,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1836, + "id": 1328, "name": "Identifier", - "src": "33916:4:1" + "src": "34885:4:0" }, { "attributes": { @@ -54787,7 +54787,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54796,18 +54796,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1829, + "referencedDeclaration": 1321, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1837, + "id": 1329, "name": "Identifier", - "src": "33921:3:1" + "src": "34890:3:0" } ], - "id": 1838, + "id": 1330, "name": "MemberAccess", - "src": "33921:10:1" + "src": "34890:10:0" }, { "attributes": { @@ -54843,52 +54843,52 @@ "attributes": { "name": "bytes32" }, - "id": 1839, + "id": 1331, "name": "ElementaryTypeName", - "src": "33933:7:1" + "src": "34902:7:0" } ], - "id": 1840, + "id": 1332, "name": "ElementaryTypeNameExpression", - "src": "33933:7:1" + "src": "34902:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1831, + "referencedDeclaration": 1323, "type": "uint256", "value": "value" }, - "id": 1841, + "id": 1333, "name": "Identifier", - "src": "33941:5:1" + "src": "34910:5:0" } ], - "id": 1842, + "id": 1334, "name": "FunctionCall", - "src": "33933:14:1" + "src": "34902:14:0" } ], - "id": 1843, + "id": 1335, "name": "FunctionCall", - "src": "33916:32:1" + "src": "34885:32:0" } ], - "id": 1844, + "id": 1336, "name": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ], - "id": 1845, + "id": 1337, "name": "Block", - "src": "33899:56:1" + "src": "34867:58:0" } ], - "id": 1846, + "id": 1338, "name": "FunctionDefinition", - "src": "33826:129:1" + "src": "34794:131:0" }, { "attributes": { @@ -54899,7 +54899,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -54909,9 +54909,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1847, + "id": 1339, "name": "StructuredDocumentation", - "src": "33961:157:1" + "src": "34933:162:0" }, { "children": [ @@ -54920,7 +54920,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -54930,24 +54930,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1848, + "id": 1340, "name": "UserDefinedTypeName", - "src": "34139:7:1" + "src": "35117:7:0" } ], - "id": 1849, + "id": 1341, "name": "VariableDeclaration", - "src": "34139:19:1" + "src": "35117:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54959,19 +54959,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1850, + "id": 1342, "name": "ElementaryTypeName", - "src": "34160:7:1" + "src": "35138:7:0" } ], - "id": 1851, + "id": 1343, "name": "VariableDeclaration", - "src": "34160:13:1" + "src": "35138:13:0" } ], - "id": 1852, + "id": 1344, "name": "ParameterList", - "src": "34138:36:1" + "src": "35116:36:0" }, { "children": [ @@ -54980,7 +54980,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -54992,25 +54992,25 @@ "name": "bool", "type": "bool" }, - "id": 1853, + "id": 1345, "name": "ElementaryTypeName", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1854, + "id": 1346, "name": "VariableDeclaration", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1855, + "id": 1347, "name": "ParameterList", - "src": "34192:6:1" + "src": "35170:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1855 + "functionReturnParameters": 1347 }, "children": [ { @@ -55032,7 +55032,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55043,13 +55043,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1856, + "id": 1348, "name": "Identifier", - "src": "34216:7:1" + "src": "35195:7:0" }, { "attributes": { @@ -55058,7 +55058,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55067,18 +55067,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1849, + "referencedDeclaration": 1341, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1857, + "id": 1349, "name": "Identifier", - "src": "34224:3:1" + "src": "35203:3:0" } ], - "id": 1858, + "id": 1350, "name": "MemberAccess", - "src": "34224:10:1" + "src": "35203:10:0" }, { "attributes": { @@ -55114,52 +55114,52 @@ "attributes": { "name": "bytes32" }, - "id": 1859, + "id": 1351, "name": "ElementaryTypeName", - "src": "34236:7:1" + "src": "35215:7:0" } ], - "id": 1860, + "id": 1352, "name": "ElementaryTypeNameExpression", - "src": "34236:7:1" + "src": "35215:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1851, + "referencedDeclaration": 1343, "type": "uint256", "value": "value" }, - "id": 1861, + "id": 1353, "name": "Identifier", - "src": "34244:5:1" + "src": "35223:5:0" } ], - "id": 1862, + "id": 1354, "name": "FunctionCall", - "src": "34236:14:1" + "src": "35215:14:0" } ], - "id": 1863, + "id": 1355, "name": "FunctionCall", - "src": "34216:35:1" + "src": "35195:35:0" } ], - "id": 1864, + "id": 1356, "name": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ], - "id": 1865, + "id": 1357, "name": "Block", - "src": "34199:59:1" + "src": "35177:61:0" } ], - "id": 1866, + "id": 1358, "name": "FunctionDefinition", - "src": "34123:135:1" + "src": "35101:137:0" }, { "attributes": { @@ -55170,7 +55170,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55180,9 +55180,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1867, + "id": 1359, "name": "StructuredDocumentation", - "src": "34264:70:1" + "src": "35246:72:0" }, { "children": [ @@ -55191,7 +55191,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55201,24 +55201,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1868, + "id": 1360, "name": "UserDefinedTypeName", - "src": "34357:7:1" + "src": "35342:7:0" } ], - "id": 1869, + "id": 1361, "name": "VariableDeclaration", - "src": "34357:19:1" + "src": "35342:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55230,19 +55230,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1870, + "id": 1362, "name": "ElementaryTypeName", - "src": "34378:7:1" + "src": "35363:7:0" } ], - "id": 1871, + "id": 1363, "name": "VariableDeclaration", - "src": "34378:13:1" + "src": "35363:13:0" } ], - "id": 1872, + "id": 1364, "name": "ParameterList", - "src": "34356:36:1" + "src": "35341:36:0" }, { "children": [ @@ -55251,7 +55251,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55263,25 +55263,25 @@ "name": "bool", "type": "bool" }, - "id": 1873, + "id": 1365, "name": "ElementaryTypeName", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1874, + "id": 1366, "name": "VariableDeclaration", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1875, + "id": 1367, "name": "ParameterList", - "src": "34415:6:1" + "src": "35400:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1875 + "functionReturnParameters": 1367 }, "children": [ { @@ -55303,7 +55303,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55314,13 +55314,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1876, + "id": 1368, "name": "Identifier", - "src": "34439:9:1" + "src": "35425:9:0" }, { "attributes": { @@ -55329,7 +55329,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55338,18 +55338,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1869, + "referencedDeclaration": 1361, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1877, + "id": 1369, "name": "Identifier", - "src": "34449:3:1" + "src": "35435:3:0" } ], - "id": 1878, + "id": 1370, "name": "MemberAccess", - "src": "34449:10:1" + "src": "35435:10:0" }, { "attributes": { @@ -55385,52 +55385,52 @@ "attributes": { "name": "bytes32" }, - "id": 1879, + "id": 1371, "name": "ElementaryTypeName", - "src": "34461:7:1" + "src": "35447:7:0" } ], - "id": 1880, + "id": 1372, "name": "ElementaryTypeNameExpression", - "src": "34461:7:1" + "src": "35447:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1871, + "referencedDeclaration": 1363, "type": "uint256", "value": "value" }, - "id": 1881, + "id": 1373, "name": "Identifier", - "src": "34469:5:1" + "src": "35455:5:0" } ], - "id": 1882, + "id": 1374, "name": "FunctionCall", - "src": "34461:14:1" + "src": "35447:14:0" } ], - "id": 1883, + "id": 1375, "name": "FunctionCall", - "src": "34439:37:1" + "src": "35425:37:0" } ], - "id": 1884, + "id": 1376, "name": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ], - "id": 1885, + "id": 1377, "name": "Block", - "src": "34422:61:1" + "src": "35407:63:0" } ], - "id": 1886, + "id": 1378, "name": "FunctionDefinition", - "src": "34339:144:1" + "src": "35324:146:0" }, { "attributes": { @@ -55441,7 +55441,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55451,9 +55451,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1887, + "id": 1379, "name": "StructuredDocumentation", - "src": "34489:70:1" + "src": "35478:72:0" }, { "children": [ @@ -55462,7 +55462,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55472,22 +55472,22 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1888, + "id": 1380, "name": "UserDefinedTypeName", - "src": "34580:7:1" + "src": "35572:7:0" } ], - "id": 1889, + "id": 1381, "name": "VariableDeclaration", - "src": "34580:19:1" + "src": "35572:19:0" } ], - "id": 1890, + "id": 1382, "name": "ParameterList", - "src": "34579:21:1" + "src": "35571:21:0" }, { "children": [ @@ -55496,7 +55496,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55508,25 +55508,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1891, + "id": 1383, "name": "ElementaryTypeName", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1892, + "id": 1384, "name": "VariableDeclaration", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1893, + "id": 1385, "name": "ParameterList", - "src": "34623:9:1" + "src": "35615:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1893 + "functionReturnParameters": 1385 }, "children": [ { @@ -55548,20 +55548,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1894, + "id": 1386, "name": "Identifier", - "src": "34650:7:1" + "src": "35643:7:0" }, { "attributes": { @@ -55570,7 +55570,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55579,38 +55579,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1889, + "referencedDeclaration": 1381, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1895, + "id": 1387, "name": "Identifier", - "src": "34658:3:1" + "src": "35651:3:0" } ], - "id": 1896, + "id": 1388, "name": "MemberAccess", - "src": "34658:10:1" + "src": "35651:10:0" } ], - "id": 1897, + "id": 1389, "name": "FunctionCall", - "src": "34650:19:1" + "src": "35643:19:0" } ], - "id": 1898, + "id": 1390, "name": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ], - "id": 1899, + "id": 1391, "name": "Block", - "src": "34633:43:1" + "src": "35625:45:0" } ], - "id": 1900, + "id": 1392, "name": "FunctionDefinition", - "src": "34564:112:1" + "src": "35556:114:0" }, { "attributes": { @@ -55621,7 +55621,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55631,9 +55631,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1901, + "id": 1393, "name": "StructuredDocumentation", - "src": "34681:322:1" + "src": "35677:331:0" }, { "children": [ @@ -55642,7 +55642,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55652,24 +55652,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1902, + "id": 1394, "name": "UserDefinedTypeName", - "src": "35020:7:1" + "src": "36026:7:0" } ], - "id": 1903, + "id": 1395, "name": "VariableDeclaration", - "src": "35020:19:1" + "src": "36026:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55681,19 +55681,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1904, + "id": 1396, "name": "ElementaryTypeName", - "src": "35041:7:1" + "src": "36047:7:0" } ], - "id": 1905, + "id": 1397, "name": "VariableDeclaration", - "src": "35041:13:1" + "src": "36047:13:0" } ], - "id": 1906, + "id": 1398, "name": "ParameterList", - "src": "35019:36:1" + "src": "36025:36:0" }, { "children": [ @@ -55702,7 +55702,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55714,25 +55714,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1907, + "id": 1399, "name": "ElementaryTypeName", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1908, + "id": 1400, "name": "VariableDeclaration", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1909, + "id": 1401, "name": "ParameterList", - "src": "35078:9:1" + "src": "36084:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1909 + "functionReturnParameters": 1401 }, "children": [ { @@ -55769,14 +55769,14 @@ "attributes": { "name": "uint256" }, - "id": 1910, + "id": 1402, "name": "ElementaryTypeName", - "src": "35105:7:1" + "src": "36112:7:0" } ], - "id": 1911, + "id": 1403, "name": "ElementaryTypeNameExpression", - "src": "35105:7:1" + "src": "36112:7:0" }, { "attributes": { @@ -55797,7 +55797,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55808,13 +55808,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1912, + "id": 1404, "name": "Identifier", - "src": "35113:3:1" + "src": "36120:3:0" }, { "attributes": { @@ -55823,7 +55823,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55832,61 +55832,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1903, + "referencedDeclaration": 1395, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1913, + "id": 1405, "name": "Identifier", - "src": "35117:3:1" + "src": "36124:3:0" } ], - "id": 1914, + "id": 1406, "name": "MemberAccess", - "src": "35117:10:1" + "src": "36124:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1905, + "referencedDeclaration": 1397, "type": "uint256", "value": "index" }, - "id": 1915, + "id": 1407, "name": "Identifier", - "src": "35129:5:1" + "src": "36136:5:0" } ], - "id": 1916, + "id": 1408, "name": "FunctionCall", - "src": "35113:22:1" + "src": "36120:22:0" } ], - "id": 1917, + "id": 1409, "name": "FunctionCall", - "src": "35105:31:1" + "src": "36112:31:0" } ], - "id": 1918, + "id": 1410, "name": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ], - "id": 1919, + "id": 1411, "name": "Block", - "src": "35088:55:1" + "src": "36094:57:0" } ], - "id": 1920, + "id": 1412, "name": "FunctionDefinition", - "src": "35008:135:1" + "src": "36014:137:0" } ], - "id": 1921, + "id": 1413, "name": "ContractDefinition", - "src": "26511:8634:1" + "src": "27252:8902:0" }, { "attributes": { @@ -55900,9 +55900,9 @@ ".0" ] }, - "id": 1922, + "id": 1414, "name": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "attributes": { @@ -55916,25 +55916,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, - "id": 1923, + "id": 1415, "name": "StructuredDocumentation", - "src": "35237:705:1" + "src": "36251:728:0" }, { "attributes": { "canonicalName": "EnumerableMap.MapEntry", "name": "MapEntry", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -55943,7 +55943,7 @@ "constant": false, "mutability": "mutable", "name": "_key", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -55955,21 +55955,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1924, + "id": 1416, "name": "ElementaryTypeName", - "src": "36455:7:1" + "src": "37504:7:0" } ], - "id": 1925, + "id": 1417, "name": "VariableDeclaration", - "src": "36455:12:1" + "src": "37504:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_value", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -55981,25 +55981,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1926, + "id": 1418, "name": "ElementaryTypeName", - "src": "36477:7:1" + "src": "37527:7:0" } ], - "id": 1927, + "id": 1419, "name": "VariableDeclaration", - "src": "36477:14:1" + "src": "37527:14:0" } ], - "id": 1928, + "id": 1420, "name": "StructDefinition", - "src": "36429:69:1" + "src": "37477:72:0" }, { "attributes": { "canonicalName": "EnumerableMap.Map", "name": "Map", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -56008,7 +56008,7 @@ "constant": false, "mutability": "mutable", "name": "_entries", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.MapEntry[]", @@ -56023,29 +56023,29 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 1929, + "id": 1421, "name": "UserDefinedTypeName", - "src": "36567:8:1" + "src": "37622:8:0" } ], - "id": 1930, + "id": 1422, "name": "ArrayTypeName", - "src": "36567:10:1" + "src": "37622:10:0" } ], - "id": 1931, + "id": 1423, "name": "VariableDeclaration", - "src": "36567:19:1" + "src": "37622:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -56062,33 +56062,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1932, + "id": 1424, "name": "ElementaryTypeName", - "src": "36745:7:1" + "src": "37804:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1933, + "id": 1425, "name": "ElementaryTypeName", - "src": "36756:7:1" + "src": "37815:7:0" } ], - "id": 1934, + "id": 1426, "name": "Mapping", - "src": "36736:28:1" + "src": "37795:28:0" } ], - "id": 1935, + "id": 1427, "name": "VariableDeclaration", - "src": "36736:37:1" + "src": "37795:37:0" } ], - "id": 1936, + "id": 1428, "name": "StructDefinition", - "src": "36504:276:1" + "src": "37557:283:0" }, { "attributes": { @@ -56099,7 +56099,7 @@ null ], "name": "_set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56109,9 +56109,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1937, + "id": 1429, "name": "StructuredDocumentation", - "src": "36786:216:1" + "src": "37848:222:0" }, { "children": [ @@ -56120,7 +56120,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56130,24 +56130,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 1938, + "id": 1430, "name": "UserDefinedTypeName", - "src": "37021:3:1" + "src": "38090:3:0" } ], - "id": 1939, + "id": 1431, "name": "VariableDeclaration", - "src": "37021:15:1" + "src": "38090:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56159,21 +56159,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1940, + "id": 1432, "name": "ElementaryTypeName", - "src": "37038:7:1" + "src": "38107:7:0" } ], - "id": 1941, + "id": 1433, "name": "VariableDeclaration", - "src": "37038:11:1" + "src": "38107:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56185,19 +56185,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1942, + "id": 1434, "name": "ElementaryTypeName", - "src": "37051:7:1" + "src": "38120:7:0" } ], - "id": 1943, + "id": 1435, "name": "VariableDeclaration", - "src": "37051:13:1" + "src": "38120:13:0" } ], - "id": 1944, + "id": 1436, "name": "ParameterList", - "src": "37020:45:1" + "src": "38089:45:0" }, { "children": [ @@ -56206,7 +56206,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -56218,26 +56218,26 @@ "name": "bool", "type": "bool" }, - "id": 1945, + "id": 1437, "name": "ElementaryTypeName", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1946, + "id": 1438, "name": "VariableDeclaration", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1947, + "id": 1439, "name": "ParameterList", - "src": "37082:6:1" + "src": "38151:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1949 + 1441 ] }, "children": [ @@ -56246,7 +56246,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 1997, + "scope": 1489, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -56258,14 +56258,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1948, + "id": 1440, "name": "ElementaryTypeName", - "src": "37197:7:1" + "src": "38268:7:0" } ], - "id": 1949, + "id": 1441, "name": "VariableDeclaration", - "src": "37197:16:1" + "src": "38268:16:0" }, { "attributes": { @@ -56283,7 +56283,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56292,41 +56292,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1950, + "id": 1442, "name": "Identifier", - "src": "37216:3:1" + "src": "38287:3:0" } ], - "id": 1951, + "id": 1443, "name": "MemberAccess", - "src": "37216:12:1" + "src": "38287:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1952, + "id": 1444, "name": "Identifier", - "src": "37229:3:1" + "src": "38300:3:0" } ], - "id": 1953, + "id": 1445, "name": "IndexAccess", - "src": "37216:17:1" + "src": "38287:17:0" } ], - "id": 1954, + "id": 1446, "name": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "children": [ @@ -56349,13 +56349,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1955, + "id": 1447, "name": "Identifier", - "src": "37248:8:1" + "src": "38321:8:0" }, { "attributes": { @@ -56368,14 +56368,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1956, + "id": 1448, "name": "Literal", - "src": "37260:1:1" + "src": "38333:1:0" } ], - "id": 1957, + "id": 1449, "name": "BinaryOperation", - "src": "37248:13:1" + "src": "38321:13:0" }, { "children": [ @@ -56400,7 +56400,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], @@ -56419,7 +56419,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56428,23 +56428,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1958, + "id": 1450, "name": "Identifier", - "src": "37314:3:1" + "src": "38388:3:0" } ], - "id": 1961, + "id": 1453, "name": "MemberAccess", - "src": "37314:12:1" + "src": "38388:12:0" } ], - "id": 1962, + "id": 1454, "name": "MemberAccess", - "src": "37314:17:1" + "src": "38388:17:0" }, { "attributes": { @@ -56477,54 +56477,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "type(struct EnumerableMap.MapEntry storage pointer)", "value": "MapEntry" }, - "id": 1963, + "id": 1455, "name": "Identifier", - "src": "37332:8:1" + "src": "38406:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1964, + "id": 1456, "name": "Identifier", - "src": "37349:3:1" + "src": "38423:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1965, + "id": 1457, "name": "Identifier", - "src": "37362:5:1" + "src": "38436:5:0" } ], - "id": 1966, + "id": 1458, "name": "FunctionCall", - "src": "37332:38:1" + "src": "38406:38:0" } ], - "id": 1967, + "id": 1459, "name": "FunctionCall", - "src": "37314:57:1" + "src": "38388:57:0" } ], - "id": 1968, + "id": 1460, "name": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "children": [ @@ -56554,7 +56554,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56563,36 +56563,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1969, + "id": 1461, "name": "Identifier", - "src": "37506:3:1" + "src": "38583:3:0" } ], - "id": 1972, + "id": 1464, "name": "MemberAccess", - "src": "37506:12:1" + "src": "38583:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1971, + "id": 1463, "name": "Identifier", - "src": "37519:3:1" + "src": "38596:3:0" } ], - "id": 1973, + "id": 1465, "name": "IndexAccess", - "src": "37506:17:1" + "src": "38583:17:0" }, { "attributes": { @@ -56611,7 +56611,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56620,37 +56620,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1974, + "id": 1466, "name": "Identifier", - "src": "37526:3:1" + "src": "38603:3:0" } ], - "id": 1975, + "id": 1467, "name": "MemberAccess", - "src": "37526:12:1" + "src": "38603:12:0" } ], - "id": 1976, + "id": 1468, "name": "MemberAccess", - "src": "37526:19:1" + "src": "38603:19:0" } ], - "id": 1977, + "id": 1469, "name": "Assignment", - "src": "37506:39:1" + "src": "38583:39:0" } ], - "id": 1978, + "id": 1470, "name": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -56664,19 +56664,19 @@ "type": "bool", "value": "true" }, - "id": 1979, + "id": 1471, "name": "Literal", - "src": "37566:4:1" + "src": "38644:4:0" } ], - "id": 1980, + "id": 1472, "name": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ], - "id": 1981, + "id": 1473, "name": "Block", - "src": "37263:318:1" + "src": "38336:324:0" }, { "children": [ @@ -56699,7 +56699,7 @@ "isPure": false, "lValueRequested": true, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -56719,7 +56719,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56728,18 +56728,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1982, + "id": 1474, "name": "Identifier", - "src": "37601:3:1" + "src": "38681:3:0" } ], - "id": 1987, + "id": 1479, "name": "MemberAccess", - "src": "37601:12:1" + "src": "38681:12:0" }, { "attributes": { @@ -56760,13 +56760,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1984, + "id": 1476, "name": "Identifier", - "src": "37614:8:1" + "src": "38694:8:0" }, { "attributes": { @@ -56779,51 +56779,51 @@ "type": "int_const 1", "value": "1" }, - "id": 1985, + "id": 1477, "name": "Literal", - "src": "37625:1:1" + "src": "38705:1:0" } ], - "id": 1986, + "id": 1478, "name": "BinaryOperation", - "src": "37614:12:1" + "src": "38694:12:0" } ], - "id": 1988, + "id": 1480, "name": "IndexAccess", - "src": "37601:26:1" + "src": "38681:26:0" } ], - "id": 1989, + "id": 1481, "name": "MemberAccess", - "src": "37601:33:1" + "src": "38681:33:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1990, + "id": 1482, "name": "Identifier", - "src": "37637:5:1" + "src": "38717:5:0" } ], - "id": 1991, + "id": 1483, "name": "Assignment", - "src": "37601:41:1" + "src": "38681:41:0" } ], - "id": 1992, + "id": 1484, "name": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -56837,34 +56837,34 @@ "type": "bool", "value": "false" }, - "id": 1993, + "id": 1485, "name": "Literal", - "src": "37663:5:1" + "src": "38744:5:0" } ], - "id": 1994, + "id": 1486, "name": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ], - "id": 1995, + "id": 1487, "name": "Block", - "src": "37587:92:1" + "src": "38666:95:0" } ], - "id": 1996, + "id": 1488, "name": "IfStatement", - "src": "37244:435:1" + "src": "38317:444:0" } ], - "id": 1997, + "id": 1489, "name": "Block", - "src": "37089:596:1" + "src": "38158:610:0" } ], - "id": 1998, + "id": 1490, "name": "FunctionDefinition", - "src": "37007:678:1" + "src": "38076:692:0" }, { "attributes": { @@ -56875,7 +56875,7 @@ null ], "name": "_remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56885,9 +56885,9 @@ "attributes": { "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 1999, + "id": 1491, "name": "StructuredDocumentation", - "src": "37691:157:1" + "src": "38776:161:0" }, { "children": [ @@ -56896,7 +56896,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56906,24 +56906,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2000, + "id": 1492, "name": "UserDefinedTypeName", - "src": "37870:3:1" + "src": "38960:3:0" } ], - "id": 2001, + "id": 1493, "name": "VariableDeclaration", - "src": "37870:15:1" + "src": "38960:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56935,19 +56935,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2002, + "id": 1494, "name": "ElementaryTypeName", - "src": "37887:7:1" + "src": "38977:7:0" } ], - "id": 2003, + "id": 1495, "name": "VariableDeclaration", - "src": "37887:11:1" + "src": "38977:11:0" } ], - "id": 2004, + "id": 1496, "name": "ParameterList", - "src": "37869:30:1" + "src": "38959:30:0" }, { "children": [ @@ -56956,7 +56956,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -56968,26 +56968,26 @@ "name": "bool", "type": "bool" }, - "id": 2005, + "id": 1497, "name": "ElementaryTypeName", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2006, + "id": 1498, "name": "VariableDeclaration", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2007, + "id": 1499, "name": "ParameterList", - "src": "37916:6:1" + "src": "39006:6:0" }, { "children": [ { "attributes": { "assignments": [ - 2009 + 1501 ] }, "children": [ @@ -56996,7 +56996,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2078, + "scope": 1570, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57008,14 +57008,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2008, + "id": 1500, "name": "ElementaryTypeName", - "src": "38031:7:1" + "src": "39123:7:0" } ], - "id": 2009, + "id": 1501, "name": "VariableDeclaration", - "src": "38031:16:1" + "src": "39123:16:0" }, { "attributes": { @@ -57033,7 +57033,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57042,41 +57042,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2010, + "id": 1502, "name": "Identifier", - "src": "38050:3:1" + "src": "39142:3:0" } ], - "id": 2011, + "id": 1503, "name": "MemberAccess", - "src": "38050:12:1" + "src": "39142:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2012, + "id": 1504, "name": "Identifier", - "src": "38063:3:1" + "src": "39155:3:0" } ], - "id": 2013, + "id": 1505, "name": "IndexAccess", - "src": "38050:17:1" + "src": "39142:17:0" } ], - "id": 2014, + "id": 1506, "name": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "children": [ @@ -57099,13 +57099,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2015, + "id": 1507, "name": "Identifier", - "src": "38082:8:1" + "src": "39176:8:0" }, { "attributes": { @@ -57118,21 +57118,21 @@ "type": "int_const 0", "value": "0" }, - "id": 2016, + "id": 1508, "name": "Literal", - "src": "38094:1:1" + "src": "39188:1:0" } ], - "id": 2017, + "id": 1509, "name": "BinaryOperation", - "src": "38082:13:1" + "src": "39176:13:0" }, { "children": [ { "attributes": { "assignments": [ - 2019 + 1511 ] }, "children": [ @@ -57141,7 +57141,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57153,14 +57153,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2018, + "id": 1510, "name": "ElementaryTypeName", - "src": "38438:7:1" + "src": "39537:7:0" } ], - "id": 2019, + "id": 1511, "name": "VariableDeclaration", - "src": "38438:21:1" + "src": "39537:21:0" }, { "attributes": { @@ -57181,13 +57181,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2020, + "id": 1512, "name": "Identifier", - "src": "38462:8:1" + "src": "39561:8:0" }, { "attributes": { @@ -57200,24 +57200,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2021, + "id": 1513, "name": "Literal", - "src": "38473:1:1" + "src": "39572:1:0" } ], - "id": 2022, + "id": 1514, "name": "BinaryOperation", - "src": "38462:12:1" + "src": "39561:12:0" } ], - "id": 2023, + "id": 1515, "name": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "attributes": { "assignments": [ - 2025 + 1517 ] }, "children": [ @@ -57226,7 +57226,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57238,14 +57238,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2024, + "id": 1516, "name": "ElementaryTypeName", - "src": "38488:7:1" + "src": "39588:7:0" } ], - "id": 2025, + "id": 1517, "name": "VariableDeclaration", - "src": "38488:17:1" + "src": "39588:17:0" }, { "attributes": { @@ -57278,7 +57278,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57287,23 +57287,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2026, + "id": 1518, "name": "Identifier", - "src": "38508:3:1" + "src": "39608:3:0" } ], - "id": 2027, + "id": 1519, "name": "MemberAccess", - "src": "38508:12:1" + "src": "39608:12:0" } ], - "id": 2028, + "id": 1520, "name": "MemberAccess", - "src": "38508:19:1" + "src": "39608:19:0" }, { "attributes": { @@ -57316,24 +57316,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2029, + "id": 1521, "name": "Literal", - "src": "38530:1:1" + "src": "39630:1:0" } ], - "id": 2030, + "id": 1522, "name": "BinaryOperation", - "src": "38508:23:1" + "src": "39608:23:0" } ], - "id": 2031, + "id": 1523, "name": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "attributes": { "assignments": [ - 2033 + 1525 ] }, "children": [ @@ -57342,7 +57342,7 @@ "constant": false, "mutability": "mutable", "name": "lastEntry", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -57352,17 +57352,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2032, + "id": 1524, "name": "UserDefinedTypeName", - "src": "38771:8:1" + "src": "39876:8:0" } ], - "id": 2033, + "id": 1525, "name": "VariableDeclaration", - "src": "38771:26:1" + "src": "39876:26:0" }, { "attributes": { @@ -57380,7 +57380,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57389,41 +57389,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2034, + "id": 1526, "name": "Identifier", - "src": "38800:3:1" + "src": "39905:3:0" } ], - "id": 2035, + "id": 1527, "name": "MemberAccess", - "src": "38800:12:1" + "src": "39905:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2025, + "referencedDeclaration": 1517, "type": "uint256", "value": "lastIndex" }, - "id": 2036, + "id": 1528, "name": "Identifier", - "src": "38813:9:1" + "src": "39918:9:0" } ], - "id": 2037, + "id": 1529, "name": "IndexAccess", - "src": "38800:23:1" + "src": "39905:23:0" } ], - "id": 2038, + "id": 1530, "name": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "children": [ @@ -57453,7 +57453,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57462,59 +57462,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2039, + "id": 1531, "name": "Identifier", - "src": "38915:3:1" + "src": "40023:3:0" } ], - "id": 2042, + "id": 1534, "name": "MemberAccess", - "src": "38915:12:1" + "src": "40023:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2041, + "id": 1533, "name": "Identifier", - "src": "38928:13:1" + "src": "40036:13:0" } ], - "id": 2043, + "id": 1535, "name": "IndexAccess", - "src": "38915:27:1" + "src": "40023:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2044, + "id": 1536, "name": "Identifier", - "src": "38945:9:1" + "src": "40053:9:0" } ], - "id": 2045, + "id": 1537, "name": "Assignment", - "src": "38915:39:1" + "src": "40023:39:0" } ], - "id": 2046, + "id": 1538, "name": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "children": [ @@ -57544,7 +57544,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57553,18 +57553,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2047, + "id": 1539, "name": "Identifier", - "src": "39020:3:1" + "src": "40130:3:0" } ], - "id": 2051, + "id": 1543, "name": "MemberAccess", - "src": "39020:12:1" + "src": "40130:12:0" }, { "attributes": { @@ -57573,7 +57573,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -57582,23 +57582,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2049, + "id": 1541, "name": "Identifier", - "src": "39033:9:1" + "src": "40143:9:0" } ], - "id": 2050, + "id": 1542, "name": "MemberAccess", - "src": "39033:14:1" + "src": "40143:14:0" } ], - "id": 2052, + "id": 1544, "name": "IndexAccess", - "src": "39020:28:1" + "src": "40130:28:0" }, { "attributes": { @@ -57619,13 +57619,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2053, + "id": 1545, "name": "Identifier", - "src": "39051:13:1" + "src": "40161:13:0" }, { "attributes": { @@ -57638,24 +57638,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2054, + "id": 1546, "name": "Literal", - "src": "39067:1:1" + "src": "40177:1:0" } ], - "id": 2055, + "id": 1547, "name": "BinaryOperation", - "src": "39051:17:1" + "src": "40161:17:0" } ], - "id": 2056, + "id": 1548, "name": "Assignment", - "src": "39020:48:1" + "src": "40130:48:0" } ], - "id": 2057, + "id": 1549, "name": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "children": [ @@ -57697,7 +57697,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57706,33 +57706,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2058, + "id": 1550, "name": "Identifier", - "src": "39174:3:1" + "src": "40287:3:0" } ], - "id": 2061, + "id": 1553, "name": "MemberAccess", - "src": "39174:12:1" + "src": "40287:12:0" } ], - "id": 2062, + "id": 1554, "name": "MemberAccess", - "src": "39174:16:1" + "src": "40287:16:0" } ], - "id": 2063, + "id": 1555, "name": "FunctionCall", - "src": "39174:18:1" + "src": "40287:18:0" } ], - "id": 2064, + "id": 1556, "name": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "children": [ @@ -57763,7 +57763,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57772,50 +57772,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2065, + "id": 1557, "name": "Identifier", - "src": "39267:3:1" + "src": "40383:3:0" } ], - "id": 2066, + "id": 1558, "name": "MemberAccess", - "src": "39267:12:1" + "src": "40383:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2067, + "id": 1559, "name": "Identifier", - "src": "39280:3:1" + "src": "40396:3:0" } ], - "id": 2068, + "id": 1560, "name": "IndexAccess", - "src": "39267:17:1" + "src": "40383:17:0" } ], - "id": 2069, + "id": 1561, "name": "UnaryOperation", - "src": "39260:24:1" + "src": "40376:24:0" } ], - "id": 2070, + "id": 1562, "name": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -57829,25 +57829,25 @@ "type": "bool", "value": "true" }, - "id": 2071, + "id": 1563, "name": "Literal", - "src": "39306:4:1" + "src": "40424:4:0" } ], - "id": 2072, + "id": 1564, "name": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ], - "id": 2073, + "id": 1565, "name": "Block", - "src": "38097:1224:1" + "src": "39191:1249:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -57861,34 +57861,34 @@ "type": "bool", "value": "false" }, - "id": 2074, + "id": 1566, "name": "Literal", - "src": "39348:5:1" + "src": "40468:5:0" } ], - "id": 2075, + "id": 1567, "name": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ], - "id": 2076, + "id": 1568, "name": "Block", - "src": "39327:37:1" + "src": "40446:39:0" } ], - "id": 2077, + "id": 1569, "name": "IfStatement", - "src": "38078:1286:1" + "src": "39172:1313:0" } ], - "id": 2078, + "id": 1570, "name": "Block", - "src": "37923:1447:1" + "src": "39013:1479:0" } ], - "id": 2079, + "id": 1571, "name": "FunctionDefinition", - "src": "37853:1517:1" + "src": "38943:1549:0" }, { "attributes": { @@ -57899,7 +57899,7 @@ null ], "name": "_contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -57909,9 +57909,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2080, + "id": 1572, "name": "StructuredDocumentation", - "src": "39376:68:1" + "src": "40500:70:0" }, { "children": [ @@ -57920,7 +57920,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -57930,24 +57930,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2081, + "id": 1573, "name": "UserDefinedTypeName", - "src": "39468:3:1" + "src": "40595:3:0" } ], - "id": 2082, + "id": 1574, "name": "VariableDeclaration", - "src": "39468:15:1" + "src": "40595:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -57959,19 +57959,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2083, + "id": 1575, "name": "ElementaryTypeName", - "src": "39485:7:1" + "src": "40612:7:0" } ], - "id": 2084, + "id": 1576, "name": "VariableDeclaration", - "src": "39485:11:1" + "src": "40612:11:0" } ], - "id": 2085, + "id": 1577, "name": "ParameterList", - "src": "39467:30:1" + "src": "40594:30:0" }, { "children": [ @@ -57980,7 +57980,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -57992,25 +57992,25 @@ "name": "bool", "type": "bool" }, - "id": 2086, + "id": 1578, "name": "ElementaryTypeName", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2087, + "id": 1579, "name": "VariableDeclaration", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2088, + "id": 1580, "name": "ParameterList", - "src": "39519:6:1" + "src": "40646:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2088 + "functionReturnParameters": 1580 }, "children": [ { @@ -58043,7 +58043,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58052,36 +58052,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2082, + "referencedDeclaration": 1574, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2089, + "id": 1581, "name": "Identifier", - "src": "39543:3:1" + "src": "40671:3:0" } ], - "id": 2090, + "id": 1582, "name": "MemberAccess", - "src": "39543:12:1" + "src": "40671:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2084, + "referencedDeclaration": 1576, "type": "bytes32", "value": "key" }, - "id": 2091, + "id": 1583, "name": "Identifier", - "src": "39556:3:1" + "src": "40684:3:0" } ], - "id": 2092, + "id": 1584, "name": "IndexAccess", - "src": "39543:17:1" + "src": "40671:17:0" }, { "attributes": { @@ -58094,29 +58094,29 @@ "type": "int_const 0", "value": "0" }, - "id": 2093, + "id": 1585, "name": "Literal", - "src": "39564:1:1" + "src": "40692:1:0" } ], - "id": 2094, + "id": 1586, "name": "BinaryOperation", - "src": "39543:22:1" + "src": "40671:22:0" } ], - "id": 2095, + "id": 1587, "name": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ], - "id": 2096, + "id": 1588, "name": "Block", - "src": "39526:46:1" + "src": "40653:48:0" } ], - "id": 2097, + "id": 1589, "name": "FunctionDefinition", - "src": "39449:123:1" + "src": "40576:125:0" }, { "attributes": { @@ -58127,7 +58127,7 @@ null ], "name": "_length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58137,9 +58137,9 @@ "attributes": { "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2098, + "id": 1590, "name": "StructuredDocumentation", - "src": "39578:79:1" + "src": "40709:81:0" }, { "children": [ @@ -58148,7 +58148,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58158,22 +58158,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2099, + "id": 1591, "name": "UserDefinedTypeName", - "src": "39679:3:1" + "src": "40813:3:0" } ], - "id": 2100, + "id": 1592, "name": "VariableDeclaration", - "src": "39679:15:1" + "src": "40813:15:0" } ], - "id": 2101, + "id": 1593, "name": "ParameterList", - "src": "39678:17:1" + "src": "40812:17:0" }, { "children": [ @@ -58182,7 +58182,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58194,25 +58194,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2102, + "id": 1594, "name": "ElementaryTypeName", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2103, + "id": 1595, "name": "VariableDeclaration", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2104, + "id": 1596, "name": "ParameterList", - "src": "39717:9:1" + "src": "40851:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2104 + "functionReturnParameters": 1596 }, "children": [ { @@ -58232,7 +58232,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58241,38 +58241,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2100, + "referencedDeclaration": 1592, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2105, + "id": 1597, "name": "Identifier", - "src": "39744:3:1" + "src": "40879:3:0" } ], - "id": 2106, + "id": 1598, "name": "MemberAccess", - "src": "39744:12:1" + "src": "40879:12:0" } ], - "id": 2107, + "id": 1599, "name": "MemberAccess", - "src": "39744:19:1" + "src": "40879:19:0" } ], - "id": 2108, + "id": 1600, "name": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ], - "id": 2109, + "id": 1601, "name": "Block", - "src": "39727:43:1" + "src": "40861:45:0" } ], - "id": 2110, + "id": 1602, "name": "FunctionDefinition", - "src": "39662:108:1" + "src": "40796:110:0" }, { "attributes": { @@ -58283,7 +58283,7 @@ null ], "name": "_at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58293,9 +58293,9 @@ "attributes": { "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2111, + "id": 1603, "name": "StructuredDocumentation", - "src": "39775:333:1" + "src": "40913:342:0" }, { "children": [ @@ -58304,7 +58304,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58314,24 +58314,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2112, + "id": 1604, "name": "UserDefinedTypeName", - "src": "40126:3:1" + "src": "41274:3:0" } ], - "id": 2113, + "id": 1605, "name": "VariableDeclaration", - "src": "40126:15:1" + "src": "41274:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58343,19 +58343,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2114, + "id": 1606, "name": "ElementaryTypeName", - "src": "40143:7:1" + "src": "41291:7:0" } ], - "id": 2115, + "id": 1607, "name": "VariableDeclaration", - "src": "40143:13:1" + "src": "41291:13:0" } ], - "id": 2116, + "id": 1608, "name": "ParameterList", - "src": "40125:32:1" + "src": "41273:32:0" }, { "children": [ @@ -58364,7 +58364,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58376,21 +58376,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2117, + "id": 1609, "name": "ElementaryTypeName", - "src": "40180:7:1" + "src": "41328:7:0" } ], - "id": 2118, + "id": 1610, "name": "VariableDeclaration", - "src": "40180:7:1" + "src": "41328:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58402,19 +58402,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2119, + "id": 1611, "name": "ElementaryTypeName", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2120, + "id": 1612, "name": "VariableDeclaration", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2121, + "id": 1613, "name": "ParameterList", - "src": "40179:18:1" + "src": "41327:18:0" }, { "children": [ @@ -58455,9 +58455,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2122, + "id": 1614, "name": "Identifier", - "src": "40208:7:1" + "src": "41357:7:0" }, { "attributes": { @@ -58490,7 +58490,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58499,41 +58499,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2123, + "id": 1615, "name": "Identifier", - "src": "40216:3:1" + "src": "41365:3:0" } ], - "id": 2124, + "id": 1616, "name": "MemberAccess", - "src": "40216:12:1" + "src": "41365:12:0" } ], - "id": 2125, + "id": 1617, "name": "MemberAccess", - "src": "40216:19:1" + "src": "41365:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2126, + "id": 1618, "name": "Identifier", - "src": "40238:5:1" + "src": "41387:5:0" } ], - "id": 2127, + "id": 1619, "name": "BinaryOperation", - "src": "40216:27:1" + "src": "41365:27:0" }, { "attributes": { @@ -58546,24 +58546,24 @@ "type": "literal_string \"EnumerableMap: index out of bounds\"", "value": "EnumerableMap: index out of bounds" }, - "id": 2128, + "id": 1620, "name": "Literal", - "src": "40245:36:1" + "src": "41394:36:0" } ], - "id": 2129, + "id": 1621, "name": "FunctionCall", - "src": "40208:74:1" + "src": "41357:74:0" } ], - "id": 2130, + "id": 1622, "name": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "attributes": { "assignments": [ - 2132 + 1624 ] }, "children": [ @@ -58572,7 +58572,7 @@ "constant": false, "mutability": "mutable", "name": "entry", - "scope": 2144, + "scope": 1636, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -58582,17 +58582,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2131, + "id": 1623, "name": "UserDefinedTypeName", - "src": "40293:8:1" + "src": "41444:8:0" } ], - "id": 2132, + "id": 1624, "name": "VariableDeclaration", - "src": "40293:22:1" + "src": "41444:22:0" }, { "attributes": { @@ -58610,7 +58610,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58619,45 +58619,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2133, + "id": 1625, "name": "Identifier", - "src": "40318:3:1" + "src": "41469:3:0" } ], - "id": 2134, + "id": 1626, "name": "MemberAccess", - "src": "40318:12:1" + "src": "41469:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2135, + "id": 1627, "name": "Identifier", - "src": "40331:5:1" + "src": "41482:5:0" } ], - "id": 2136, + "id": 1628, "name": "IndexAccess", - "src": "40318:19:1" + "src": "41469:19:0" } ], - "id": 2137, + "id": 1629, "name": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "attributes": { - "functionReturnParameters": 2121 + "functionReturnParameters": 1613 }, "children": [ { @@ -58677,7 +58677,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -58686,18 +58686,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2138, + "id": 1630, "name": "Identifier", - "src": "40355:5:1" + "src": "41507:5:0" } ], - "id": 2139, + "id": 1631, "name": "MemberAccess", - "src": "40355:10:1" + "src": "41507:10:0" }, { "attributes": { @@ -58706,7 +58706,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -58715,38 +58715,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2140, + "id": 1632, "name": "Identifier", - "src": "40367:5:1" + "src": "41519:5:0" } ], - "id": 2141, + "id": 1633, "name": "MemberAccess", - "src": "40367:12:1" + "src": "41519:12:0" } ], - "id": 2142, + "id": 1634, "name": "TupleExpression", - "src": "40354:26:1" + "src": "41506:26:0" } ], - "id": 2143, + "id": 1635, "name": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ], - "id": 2144, + "id": 1636, "name": "Block", - "src": "40198:189:1" + "src": "41346:194:0" } ], - "id": 2145, + "id": 1637, "name": "FunctionDefinition", - "src": "40113:274:1" + "src": "41261:279:0" }, { "attributes": { @@ -58757,7 +58757,7 @@ null ], "name": "_tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58767,9 +58767,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2146, + "id": 1638, "name": "StructuredDocumentation", - "src": "40393:131:1" + "src": "41548:134:0" }, { "children": [ @@ -58778,7 +58778,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58788,24 +58788,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2147, + "id": 1639, "name": "UserDefinedTypeName", - "src": "40546:3:1" + "src": "41705:3:0" } ], - "id": 2148, + "id": 1640, "name": "VariableDeclaration", - "src": "40546:15:1" + "src": "41705:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58817,19 +58817,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2149, + "id": 1641, "name": "ElementaryTypeName", - "src": "40563:7:1" + "src": "41722:7:0" } ], - "id": 2150, + "id": 1642, "name": "VariableDeclaration", - "src": "40563:11:1" + "src": "41722:11:0" } ], - "id": 2151, + "id": 1643, "name": "ParameterList", - "src": "40545:30:1" + "src": "41704:30:0" }, { "children": [ @@ -58838,7 +58838,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -58850,21 +58850,21 @@ "name": "bool", "type": "bool" }, - "id": 2152, + "id": 1644, "name": "ElementaryTypeName", - "src": "40598:4:1" + "src": "41757:4:0" } ], - "id": 2153, + "id": 1645, "name": "VariableDeclaration", - "src": "40598:4:1" + "src": "41757:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58876,26 +58876,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2154, + "id": 1646, "name": "ElementaryTypeName", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2155, + "id": 1647, "name": "VariableDeclaration", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2156, + "id": 1648, "name": "ParameterList", - "src": "40597:15:1" + "src": "41756:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2158 + 1650 ] }, "children": [ @@ -58904,7 +58904,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2182, + "scope": 1674, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58916,14 +58916,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2157, + "id": 1649, "name": "ElementaryTypeName", - "src": "40623:7:1" + "src": "41783:7:0" } ], - "id": 2158, + "id": 1650, "name": "VariableDeclaration", - "src": "40623:16:1" + "src": "41783:16:0" }, { "attributes": { @@ -58941,7 +58941,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58950,41 +58950,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2159, + "id": 1651, "name": "Identifier", - "src": "40642:3:1" + "src": "41802:3:0" } ], - "id": 2160, + "id": 1652, "name": "MemberAccess", - "src": "40642:12:1" + "src": "41802:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2150, + "referencedDeclaration": 1642, "type": "bytes32", "value": "key" }, - "id": 2161, + "id": 1653, "name": "Identifier", - "src": "40655:3:1" + "src": "41815:3:0" } ], - "id": 2162, + "id": 1654, "name": "IndexAccess", - "src": "40642:17:1" + "src": "41802:17:0" } ], - "id": 2163, + "id": 1655, "name": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "attributes": {}, @@ -59008,13 +59008,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2164, + "id": 1656, "name": "Identifier", - "src": "40673:8:1" + "src": "41834:8:0" }, { "attributes": { @@ -59027,18 +59027,18 @@ "type": "int_const 0", "value": "0" }, - "id": 2165, + "id": 1657, "name": "Literal", - "src": "40685:1:1" + "src": "41846:1:0" } ], - "id": 2166, + "id": 1658, "name": "BinaryOperation", - "src": "40673:13:1" + "src": "41834:13:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59062,9 +59062,9 @@ "type": "bool", "value": "false" }, - "id": 2167, + "id": 1659, "name": "Literal", - "src": "40696:5:1" + "src": "41857:5:0" }, { "attributes": { @@ -59077,28 +59077,28 @@ "type": "int_const 0", "value": "0" }, - "id": 2168, + "id": 1660, "name": "Literal", - "src": "40703:1:1" + "src": "41864:1:0" } ], - "id": 2169, + "id": 1661, "name": "TupleExpression", - "src": "40695:10:1" + "src": "41856:10:0" } ], - "id": 2170, + "id": 1662, "name": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } ], - "id": 2171, + "id": 1663, "name": "IfStatement", - "src": "40669:36:1" + "src": "41830:36:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59122,9 +59122,9 @@ "type": "bool", "value": "true" }, - "id": 2172, + "id": 1664, "name": "Literal", - "src": "40759:4:1" + "src": "41921:4:0" }, { "attributes": { @@ -59133,7 +59133,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59153,7 +59153,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59162,18 +59162,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2173, + "id": 1665, "name": "Identifier", - "src": "40765:3:1" + "src": "41927:3:0" } ], - "id": 2174, + "id": 1666, "name": "MemberAccess", - "src": "40765:12:1" + "src": "41927:12:0" }, { "attributes": { @@ -59194,13 +59194,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2175, + "id": 1667, "name": "Identifier", - "src": "40778:8:1" + "src": "41940:8:0" }, { "attributes": { @@ -59213,44 +59213,44 @@ "type": "int_const 1", "value": "1" }, - "id": 2176, + "id": 1668, "name": "Literal", - "src": "40789:1:1" + "src": "41951:1:0" } ], - "id": 2177, + "id": 1669, "name": "BinaryOperation", - "src": "40778:12:1" + "src": "41940:12:0" } ], - "id": 2178, + "id": 1670, "name": "IndexAccess", - "src": "40765:26:1" + "src": "41927:26:0" } ], - "id": 2179, + "id": 1671, "name": "MemberAccess", - "src": "40765:33:1" + "src": "41927:33:0" } ], - "id": 2180, + "id": 1672, "name": "TupleExpression", - "src": "40758:41:1" + "src": "41920:41:0" } ], - "id": 2181, + "id": 1673, "name": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ], - "id": 2182, + "id": 1674, "name": "Block", - "src": "40613:220:1" + "src": "41772:224:0" } ], - "id": 2183, + "id": 1675, "name": "FunctionDefinition", - "src": "40529:304:1" + "src": "41688:308:0" }, { "attributes": { @@ -59261,7 +59261,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59271,9 +59271,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2184, + "id": 1676, "name": "StructuredDocumentation", - "src": "40839:141:1" + "src": "42004:147:0" }, { "children": [ @@ -59282,7 +59282,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59292,24 +59292,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2185, + "id": 1677, "name": "UserDefinedTypeName", - "src": "40999:3:1" + "src": "42171:3:0" } ], - "id": 2186, + "id": 1678, "name": "VariableDeclaration", - "src": "40999:15:1" + "src": "42171:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59321,19 +59321,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2187, + "id": 1679, "name": "ElementaryTypeName", - "src": "41016:7:1" + "src": "42188:7:0" } ], - "id": 2188, + "id": 1680, "name": "VariableDeclaration", - "src": "41016:11:1" + "src": "42188:11:0" } ], - "id": 2189, + "id": 1681, "name": "ParameterList", - "src": "40998:30:1" + "src": "42170:30:0" }, { "children": [ @@ -59342,7 +59342,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59354,26 +59354,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2190, + "id": 1682, "name": "ElementaryTypeName", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2191, + "id": 1683, "name": "VariableDeclaration", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2192, + "id": 1684, "name": "ParameterList", - "src": "41050:9:1" + "src": "42222:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2194 + 1686 ] }, "children": [ @@ -59382,7 +59382,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2215, + "scope": 1707, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59394,14 +59394,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2193, + "id": 1685, "name": "ElementaryTypeName", - "src": "41070:7:1" + "src": "42243:7:0" } ], - "id": 2194, + "id": 1686, "name": "VariableDeclaration", - "src": "41070:16:1" + "src": "42243:16:0" }, { "attributes": { @@ -59419,7 +59419,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59428,41 +59428,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2195, + "id": 1687, "name": "Identifier", - "src": "41089:3:1" + "src": "42262:3:0" } ], - "id": 2196, + "id": 1688, "name": "MemberAccess", - "src": "41089:12:1" + "src": "42262:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2188, + "referencedDeclaration": 1680, "type": "bytes32", "value": "key" }, - "id": 2197, + "id": 1689, "name": "Identifier", - "src": "41102:3:1" + "src": "42275:3:0" } ], - "id": 2198, + "id": 1690, "name": "IndexAccess", - "src": "41089:17:1" + "src": "42262:17:0" } ], - "id": 2199, + "id": 1691, "name": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "children": [ @@ -59501,9 +59501,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2200, + "id": 1692, "name": "Identifier", - "src": "41116:7:1" + "src": "42290:7:0" }, { "attributes": { @@ -59524,13 +59524,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2201, + "id": 1693, "name": "Identifier", - "src": "41124:8:1" + "src": "42298:8:0" }, { "attributes": { @@ -59543,14 +59543,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2202, + "id": 1694, "name": "Literal", - "src": "41136:1:1" + "src": "42310:1:0" } ], - "id": 2203, + "id": 1695, "name": "BinaryOperation", - "src": "41124:13:1" + "src": "42298:13:0" }, { "attributes": { @@ -59563,23 +59563,23 @@ "type": "literal_string \"EnumerableMap: nonexistent key\"", "value": "EnumerableMap: nonexistent key" }, - "id": 2204, + "id": 1696, "name": "Literal", - "src": "41139:32:1" + "src": "42313:32:0" } ], - "id": 2205, + "id": 1697, "name": "FunctionCall", - "src": "41116:56:1" + "src": "42290:56:0" } ], - "id": 2206, + "id": 1698, "name": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "attributes": { - "functionReturnParameters": 2192 + "functionReturnParameters": 1684 }, "children": [ { @@ -59589,7 +59589,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59609,7 +59609,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59618,18 +59618,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2207, + "id": 1699, "name": "Identifier", - "src": "41225:3:1" + "src": "42400:3:0" } ], - "id": 2208, + "id": 1700, "name": "MemberAccess", - "src": "41225:12:1" + "src": "42400:12:0" }, { "attributes": { @@ -59650,13 +59650,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2209, + "id": 1701, "name": "Identifier", - "src": "41238:8:1" + "src": "42413:8:0" }, { "attributes": { @@ -59669,39 +59669,39 @@ "type": "int_const 1", "value": "1" }, - "id": 2210, + "id": 1702, "name": "Literal", - "src": "41249:1:1" + "src": "42424:1:0" } ], - "id": 2211, + "id": 1703, "name": "BinaryOperation", - "src": "41238:12:1" + "src": "42413:12:0" } ], - "id": 2212, + "id": 1704, "name": "IndexAccess", - "src": "41225:26:1" + "src": "42400:26:0" } ], - "id": 2213, + "id": 1705, "name": "MemberAccess", - "src": "41225:33:1" + "src": "42400:33:0" } ], - "id": 2214, + "id": 1706, "name": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ], - "id": 2215, + "id": 1707, "name": "Block", - "src": "41060:232:1" + "src": "42232:236:0" } ], - "id": 2216, + "id": 1708, "name": "FunctionDefinition", - "src": "40985:307:1" + "src": "42157:311:0" }, { "attributes": { @@ -59712,7 +59712,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59722,9 +59722,9 @@ "attributes": { "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2217, + "id": 1709, "name": "StructuredDocumentation", - "src": "41298:271:1" + "src": "42476:276:0" }, { "children": [ @@ -59733,7 +59733,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59743,24 +59743,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2218, + "id": 1710, "name": "UserDefinedTypeName", - "src": "41588:3:1" + "src": "42772:3:0" } ], - "id": 2219, + "id": 1711, "name": "VariableDeclaration", - "src": "41588:15:1" + "src": "42772:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59772,21 +59772,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2220, + "id": 1712, "name": "ElementaryTypeName", - "src": "41605:7:1" + "src": "42789:7:0" } ], - "id": 2221, + "id": 1713, "name": "VariableDeclaration", - "src": "41605:11:1" + "src": "42789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -59798,19 +59798,19 @@ "name": "string", "type": "string" }, - "id": 2222, + "id": 1714, "name": "ElementaryTypeName", - "src": "41618:6:1" + "src": "42802:6:0" } ], - "id": 2223, + "id": 1715, "name": "VariableDeclaration", - "src": "41618:26:1" + "src": "42802:26:0" } ], - "id": 2224, + "id": 1716, "name": "ParameterList", - "src": "41587:58:1" + "src": "42771:58:0" }, { "children": [ @@ -59819,7 +59819,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59831,26 +59831,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2225, + "id": 1717, "name": "ElementaryTypeName", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2226, + "id": 1718, "name": "VariableDeclaration", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2227, + "id": 1719, "name": "ParameterList", - "src": "41667:9:1" + "src": "42851:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2229 + 1721 ] }, "children": [ @@ -59859,7 +59859,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2250, + "scope": 1742, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59871,14 +59871,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2228, + "id": 1720, "name": "ElementaryTypeName", - "src": "41687:7:1" + "src": "42872:7:0" } ], - "id": 2229, + "id": 1721, "name": "VariableDeclaration", - "src": "41687:16:1" + "src": "42872:16:0" }, { "attributes": { @@ -59896,7 +59896,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59905,41 +59905,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2230, + "id": 1722, "name": "Identifier", - "src": "41706:3:1" + "src": "42891:3:0" } ], - "id": 2231, + "id": 1723, "name": "MemberAccess", - "src": "41706:12:1" + "src": "42891:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2221, + "referencedDeclaration": 1713, "type": "bytes32", "value": "key" }, - "id": 2232, + "id": 1724, "name": "Identifier", - "src": "41719:3:1" + "src": "42904:3:0" } ], - "id": 2233, + "id": 1725, "name": "IndexAccess", - "src": "41706:17:1" + "src": "42891:17:0" } ], - "id": 2234, + "id": 1726, "name": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "children": [ @@ -59978,9 +59978,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2235, + "id": 1727, "name": "Identifier", - "src": "41733:7:1" + "src": "42919:7:0" }, { "attributes": { @@ -60001,13 +60001,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2236, + "id": 1728, "name": "Identifier", - "src": "41741:8:1" + "src": "42927:8:0" }, { "attributes": { @@ -60020,41 +60020,41 @@ "type": "int_const 0", "value": "0" }, - "id": 2237, + "id": 1729, "name": "Literal", - "src": "41753:1:1" + "src": "42939:1:0" } ], - "id": 2238, + "id": 1730, "name": "BinaryOperation", - "src": "41741:13:1" + "src": "42927:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2223, + "referencedDeclaration": 1715, "type": "string memory", "value": "errorMessage" }, - "id": 2239, + "id": 1731, "name": "Identifier", - "src": "41756:12:1" + "src": "42942:12:0" } ], - "id": 2240, + "id": 1732, "name": "FunctionCall", - "src": "41733:36:1" + "src": "42919:36:0" } ], - "id": 2241, + "id": 1733, "name": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "attributes": { - "functionReturnParameters": 2227 + "functionReturnParameters": 1719 }, "children": [ { @@ -60064,7 +60064,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -60084,7 +60084,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -60093,18 +60093,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2242, + "id": 1734, "name": "Identifier", - "src": "41822:3:1" + "src": "43009:3:0" } ], - "id": 2243, + "id": 1735, "name": "MemberAccess", - "src": "41822:12:1" + "src": "43009:12:0" }, { "attributes": { @@ -60125,13 +60125,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2244, + "id": 1736, "name": "Identifier", - "src": "41835:8:1" + "src": "43022:8:0" }, { "attributes": { @@ -60144,45 +60144,45 @@ "type": "int_const 1", "value": "1" }, - "id": 2245, + "id": 1737, "name": "Literal", - "src": "41846:1:1" + "src": "43033:1:0" } ], - "id": 2246, + "id": 1738, "name": "BinaryOperation", - "src": "41835:12:1" + "src": "43022:12:0" } ], - "id": 2247, + "id": 1739, "name": "IndexAccess", - "src": "41822:26:1" + "src": "43009:26:0" } ], - "id": 2248, + "id": 1740, "name": "MemberAccess", - "src": "41822:33:1" + "src": "43009:33:0" } ], - "id": 2249, + "id": 1741, "name": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ], - "id": 2250, + "id": 1742, "name": "Block", - "src": "41677:212:1" + "src": "42861:216:0" } ], - "id": 2251, + "id": 1743, "name": "FunctionDefinition", - "src": "41574:315:1" + "src": "42758:319:0" }, { "attributes": { "canonicalName": "EnumerableMap.UintToAddressMap", "name": "UintToAddressMap", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -60191,7 +60191,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 2254, + "scope": 1746, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.Map", @@ -60201,22 +60201,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2252, + "id": 1744, "name": "UserDefinedTypeName", - "src": "41954:3:1" + "src": "43147:3:0" } ], - "id": 2253, + "id": 1745, "name": "VariableDeclaration", - "src": "41954:10:1" + "src": "43147:10:0" } ], - "id": 2254, + "id": 1746, "name": "StructDefinition", - "src": "41920:51:1" + "src": "43112:53:0" }, { "attributes": { @@ -60227,7 +60227,7 @@ null ], "name": "set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60237,9 +60237,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2255, + "id": 1747, "name": "StructuredDocumentation", - "src": "41977:216:1" + "src": "43173:222:0" }, { "children": [ @@ -60248,7 +60248,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60258,24 +60258,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2256, + "id": 1748, "name": "UserDefinedTypeName", - "src": "42211:16:1" + "src": "43414:16:0" } ], - "id": 2257, + "id": 1749, "name": "VariableDeclaration", - "src": "42211:28:1" + "src": "43414:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60287,21 +60287,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2258, + "id": 1750, "name": "ElementaryTypeName", - "src": "42241:7:1" + "src": "43444:7:0" } ], - "id": 2259, + "id": 1751, "name": "VariableDeclaration", - "src": "42241:11:1" + "src": "43444:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -60314,19 +60314,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2260, + "id": 1752, "name": "ElementaryTypeName", - "src": "42254:7:1" + "src": "43457:7:0" } ], - "id": 2261, + "id": 1753, "name": "VariableDeclaration", - "src": "42254:13:1" + "src": "43457:13:0" } ], - "id": 2262, + "id": 1754, "name": "ParameterList", - "src": "42210:58:1" + "src": "43413:58:0" }, { "children": [ @@ -60335,7 +60335,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60347,25 +60347,25 @@ "name": "bool", "type": "bool" }, - "id": 2263, + "id": 1755, "name": "ElementaryTypeName", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2264, + "id": 1756, "name": "VariableDeclaration", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2265, + "id": 1757, "name": "ParameterList", - "src": "42286:6:1" + "src": "43489:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2265 + "functionReturnParameters": 1757 }, "children": [ { @@ -60387,7 +60387,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60402,13 +60402,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1998, + "referencedDeclaration": 1490, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)", "value": "_set" }, - "id": 2266, + "id": 1758, "name": "Identifier", - "src": "42310:4:1" + "src": "43514:4:0" }, { "attributes": { @@ -60417,7 +60417,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60426,18 +60426,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2257, + "referencedDeclaration": 1749, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2267, + "id": 1759, "name": "Identifier", - "src": "42315:3:1" + "src": "43519:3:0" } ], - "id": 2268, + "id": 1760, "name": "MemberAccess", - "src": "42315:10:1" + "src": "43519:10:0" }, { "attributes": { @@ -60473,32 +60473,32 @@ "attributes": { "name": "bytes32" }, - "id": 2269, + "id": 1761, "name": "ElementaryTypeName", - "src": "42327:7:1" + "src": "43531:7:0" } ], - "id": 2270, + "id": 1762, "name": "ElementaryTypeNameExpression", - "src": "42327:7:1" + "src": "43531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2259, + "referencedDeclaration": 1751, "type": "uint256", "value": "key" }, - "id": 2271, + "id": 1763, "name": "Identifier", - "src": "42335:3:1" + "src": "43539:3:0" } ], - "id": 2272, + "id": 1764, "name": "FunctionCall", - "src": "42327:12:1" + "src": "43531:12:0" }, { "attributes": { @@ -60534,14 +60534,14 @@ "attributes": { "name": "bytes32" }, - "id": 2273, + "id": 1765, "name": "ElementaryTypeName", - "src": "42341:7:1" + "src": "43545:7:0" } ], - "id": 2274, + "id": 1766, "name": "ElementaryTypeNameExpression", - "src": "42341:7:1" + "src": "43545:7:0" }, { "attributes": { @@ -60577,14 +60577,14 @@ "attributes": { "name": "uint256" }, - "id": 2275, + "id": 1767, "name": "ElementaryTypeName", - "src": "42349:7:1" + "src": "43553:7:0" } ], - "id": 2276, + "id": 1768, "name": "ElementaryTypeNameExpression", - "src": "42349:7:1" + "src": "43553:7:0" }, { "attributes": { @@ -60620,62 +60620,62 @@ "attributes": { "name": "uint160" }, - "id": 2277, + "id": 1769, "name": "ElementaryTypeName", - "src": "42357:7:1" + "src": "43561:7:0" } ], - "id": 2278, + "id": 1770, "name": "ElementaryTypeNameExpression", - "src": "42357:7:1" + "src": "43561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2261, + "referencedDeclaration": 1753, "type": "address", "value": "value" }, - "id": 2279, + "id": 1771, "name": "Identifier", - "src": "42365:5:1" + "src": "43569:5:0" } ], - "id": 2280, + "id": 1772, "name": "FunctionCall", - "src": "42357:14:1" + "src": "43561:14:0" } ], - "id": 2281, + "id": 1773, "name": "FunctionCall", - "src": "42349:23:1" + "src": "43553:23:0" } ], - "id": 2282, + "id": 1774, "name": "FunctionCall", - "src": "42341:32:1" + "src": "43545:32:0" } ], - "id": 2283, + "id": 1775, "name": "FunctionCall", - "src": "42310:64:1" + "src": "43514:64:0" } ], - "id": 2284, + "id": 1776, "name": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ], - "id": 2285, + "id": 1777, "name": "Block", - "src": "42293:88:1" + "src": "43496:90:0" } ], - "id": 2286, + "id": 1778, "name": "FunctionDefinition", - "src": "42198:183:1" + "src": "43401:185:0" }, { "attributes": { @@ -60686,7 +60686,7 @@ null ], "name": "remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60696,9 +60696,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2287, + "id": 1779, "name": "StructuredDocumentation", - "src": "42387:148:1" + "src": "43594:152:0" }, { "children": [ @@ -60707,7 +60707,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60717,24 +60717,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2288, + "id": 1780, "name": "UserDefinedTypeName", - "src": "42556:16:1" + "src": "43768:16:0" } ], - "id": 2289, + "id": 1781, "name": "VariableDeclaration", - "src": "42556:28:1" + "src": "43768:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60746,19 +60746,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2290, + "id": 1782, "name": "ElementaryTypeName", - "src": "42586:7:1" + "src": "43798:7:0" } ], - "id": 2291, + "id": 1783, "name": "VariableDeclaration", - "src": "42586:11:1" + "src": "43798:11:0" } ], - "id": 2292, + "id": 1784, "name": "ParameterList", - "src": "42555:43:1" + "src": "43767:43:0" }, { "children": [ @@ -60767,7 +60767,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60779,25 +60779,25 @@ "name": "bool", "type": "bool" }, - "id": 2293, + "id": 1785, "name": "ElementaryTypeName", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2294, + "id": 1786, "name": "VariableDeclaration", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2295, + "id": 1787, "name": "ParameterList", - "src": "42616:6:1" + "src": "43828:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2295 + "functionReturnParameters": 1787 }, "children": [ { @@ -60819,7 +60819,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60830,13 +60830,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2079, + "referencedDeclaration": 1571, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 2296, + "id": 1788, "name": "Identifier", - "src": "42640:7:1" + "src": "43853:7:0" }, { "attributes": { @@ -60845,7 +60845,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60854,18 +60854,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2289, + "referencedDeclaration": 1781, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2297, + "id": 1789, "name": "Identifier", - "src": "42648:3:1" + "src": "43861:3:0" } ], - "id": 2298, + "id": 1790, "name": "MemberAccess", - "src": "42648:10:1" + "src": "43861:10:0" }, { "attributes": { @@ -60901,52 +60901,52 @@ "attributes": { "name": "bytes32" }, - "id": 2299, + "id": 1791, "name": "ElementaryTypeName", - "src": "42660:7:1" + "src": "43873:7:0" } ], - "id": 2300, + "id": 1792, "name": "ElementaryTypeNameExpression", - "src": "42660:7:1" + "src": "43873:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2291, + "referencedDeclaration": 1783, "type": "uint256", "value": "key" }, - "id": 2301, + "id": 1793, "name": "Identifier", - "src": "42668:3:1" + "src": "43881:3:0" } ], - "id": 2302, + "id": 1794, "name": "FunctionCall", - "src": "42660:12:1" + "src": "43873:12:0" } ], - "id": 2303, + "id": 1795, "name": "FunctionCall", - "src": "42640:33:1" + "src": "43853:33:0" } ], - "id": 2304, + "id": 1796, "name": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ], - "id": 2305, + "id": 1797, "name": "Block", - "src": "42623:57:1" + "src": "43835:59:0" } ], - "id": 2306, + "id": 1798, "name": "FunctionDefinition", - "src": "42540:140:1" + "src": "43752:142:0" }, { "attributes": { @@ -60957,7 +60957,7 @@ null ], "name": "contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -60967,9 +60967,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2307, + "id": 1799, "name": "StructuredDocumentation", - "src": "42686:68:1" + "src": "43902:70:0" }, { "children": [ @@ -60978,7 +60978,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60988,24 +60988,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2308, + "id": 1800, "name": "UserDefinedTypeName", - "src": "42777:16:1" + "src": "43996:16:0" } ], - "id": 2309, + "id": 1801, "name": "VariableDeclaration", - "src": "42777:28:1" + "src": "43996:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61017,19 +61017,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2310, + "id": 1802, "name": "ElementaryTypeName", - "src": "42807:7:1" + "src": "44026:7:0" } ], - "id": 2311, + "id": 1803, "name": "VariableDeclaration", - "src": "42807:11:1" + "src": "44026:11:0" } ], - "id": 2312, + "id": 1804, "name": "ParameterList", - "src": "42776:43:1" + "src": "43995:43:0" }, { "children": [ @@ -61038,7 +61038,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -61050,25 +61050,25 @@ "name": "bool", "type": "bool" }, - "id": 2313, + "id": 1805, "name": "ElementaryTypeName", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2314, + "id": 1806, "name": "VariableDeclaration", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2315, + "id": 1807, "name": "ParameterList", - "src": "42842:6:1" + "src": "44061:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2315 + "functionReturnParameters": 1807 }, "children": [ { @@ -61090,7 +61090,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61101,13 +61101,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2097, + "referencedDeclaration": 1589, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 2316, + "id": 1808, "name": "Identifier", - "src": "42866:9:1" + "src": "44086:9:0" }, { "attributes": { @@ -61116,7 +61116,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61125,18 +61125,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2309, + "referencedDeclaration": 1801, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2317, + "id": 1809, "name": "Identifier", - "src": "42876:3:1" + "src": "44096:3:0" } ], - "id": 2318, + "id": 1810, "name": "MemberAccess", - "src": "42876:10:1" + "src": "44096:10:0" }, { "attributes": { @@ -61172,52 +61172,52 @@ "attributes": { "name": "bytes32" }, - "id": 2319, + "id": 1811, "name": "ElementaryTypeName", - "src": "42888:7:1" + "src": "44108:7:0" } ], - "id": 2320, + "id": 1812, "name": "ElementaryTypeNameExpression", - "src": "42888:7:1" + "src": "44108:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2311, + "referencedDeclaration": 1803, "type": "uint256", "value": "key" }, - "id": 2321, + "id": 1813, "name": "Identifier", - "src": "42896:3:1" + "src": "44116:3:0" } ], - "id": 2322, + "id": 1814, "name": "FunctionCall", - "src": "42888:12:1" + "src": "44108:12:0" } ], - "id": 2323, + "id": 1815, "name": "FunctionCall", - "src": "42866:35:1" + "src": "44086:35:0" } ], - "id": 2324, + "id": 1816, "name": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ], - "id": 2325, + "id": 1817, "name": "Block", - "src": "42849:59:1" + "src": "44068:61:0" } ], - "id": 2326, + "id": 1818, "name": "FunctionDefinition", - "src": "42759:149:1" + "src": "43978:151:0" }, { "attributes": { @@ -61228,7 +61228,7 @@ null ], "name": "length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61238,9 +61238,9 @@ "attributes": { "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2327, + "id": 1819, "name": "StructuredDocumentation", - "src": "42914:72:1" + "src": "44137:74:0" }, { "children": [ @@ -61249,7 +61249,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61259,22 +61259,22 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2328, + "id": 1820, "name": "UserDefinedTypeName", - "src": "43007:16:1" + "src": "44233:16:0" } ], - "id": 2329, + "id": 1821, "name": "VariableDeclaration", - "src": "43007:28:1" + "src": "44233:28:0" } ], - "id": 2330, + "id": 1822, "name": "ParameterList", - "src": "43006:30:1" + "src": "44232:30:0" }, { "children": [ @@ -61283,7 +61283,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61295,25 +61295,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2331, + "id": 1823, "name": "ElementaryTypeName", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2332, + "id": 1824, "name": "VariableDeclaration", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2333, + "id": 1825, "name": "ParameterList", - "src": "43059:9:1" + "src": "44285:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2333 + "functionReturnParameters": 1825 }, "children": [ { @@ -61335,20 +61335,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 2110, + "referencedDeclaration": 1602, "type": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)", "value": "_length" }, - "id": 2334, + "id": 1826, "name": "Identifier", - "src": "43086:7:1" + "src": "44313:7:0" }, { "attributes": { @@ -61357,7 +61357,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61366,38 +61366,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2329, + "referencedDeclaration": 1821, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2335, + "id": 1827, "name": "Identifier", - "src": "43094:3:1" + "src": "44321:3:0" } ], - "id": 2336, + "id": 1828, "name": "MemberAccess", - "src": "43094:10:1" + "src": "44321:10:0" } ], - "id": 2337, + "id": 1829, "name": "FunctionCall", - "src": "43086:19:1" + "src": "44313:19:0" } ], - "id": 2338, + "id": 1830, "name": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ], - "id": 2339, + "id": 1831, "name": "Block", - "src": "43069:43:1" + "src": "44295:45:0" } ], - "id": 2340, + "id": 1832, "name": "FunctionDefinition", - "src": "42991:121:1" + "src": "44217:123:0" }, { "attributes": { @@ -61408,7 +61408,7 @@ null ], "name": "at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61418,9 +61418,9 @@ "attributes": { "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2341, + "id": 1833, "name": "StructuredDocumentation", - "src": "43117:318:1" + "src": "44347:326:0" }, { "children": [ @@ -61429,7 +61429,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61439,24 +61439,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2342, + "id": 1834, "name": "UserDefinedTypeName", - "src": "43452:16:1" + "src": "44691:16:0" } ], - "id": 2343, + "id": 1835, "name": "VariableDeclaration", - "src": "43452:28:1" + "src": "44691:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61468,19 +61468,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2344, + "id": 1836, "name": "ElementaryTypeName", - "src": "43482:7:1" + "src": "44721:7:0" } ], - "id": 2345, + "id": 1837, "name": "VariableDeclaration", - "src": "43482:13:1" + "src": "44721:13:0" } ], - "id": 2346, + "id": 1838, "name": "ParameterList", - "src": "43451:45:1" + "src": "44690:45:0" }, { "children": [ @@ -61489,7 +61489,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61501,21 +61501,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2347, + "id": 1839, "name": "ElementaryTypeName", - "src": "43520:7:1" + "src": "44759:7:0" } ], - "id": 2348, + "id": 1840, "name": "VariableDeclaration", - "src": "43520:7:1" + "src": "44759:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -61528,27 +61528,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2349, + "id": 1841, "name": "ElementaryTypeName", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2350, + "id": 1842, "name": "VariableDeclaration", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2351, + "id": 1843, "name": "ParameterList", - "src": "43519:18:1" + "src": "44758:18:0" }, { "children": [ { "attributes": { "assignments": [ - 2353, - 2355 + 1845, + 1847 ] }, "children": [ @@ -61557,7 +61557,7 @@ "constant": false, "mutability": "mutable", "name": "key", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61569,21 +61569,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2352, + "id": 1844, "name": "ElementaryTypeName", - "src": "43549:7:1" + "src": "44789:7:0" } ], - "id": 2353, + "id": 1845, "name": "VariableDeclaration", - "src": "43549:11:1" + "src": "44789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61595,14 +61595,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2354, + "id": 1846, "name": "ElementaryTypeName", - "src": "43562:7:1" + "src": "44802:7:0" } ], - "id": 2355, + "id": 1847, "name": "VariableDeclaration", - "src": "43562:13:1" + "src": "44802:13:0" }, { "attributes": { @@ -61623,7 +61623,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61634,13 +61634,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2145, + "referencedDeclaration": 1637, "type": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)", "value": "_at" }, - "id": 2356, + "id": 1848, "name": "Identifier", - "src": "43579:3:1" + "src": "44819:3:0" }, { "attributes": { @@ -61649,7 +61649,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61658,45 +61658,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2343, + "referencedDeclaration": 1835, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2357, + "id": 1849, "name": "Identifier", - "src": "43583:3:1" + "src": "44823:3:0" } ], - "id": 2358, + "id": 1850, "name": "MemberAccess", - "src": "43583:10:1" + "src": "44823:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2345, + "referencedDeclaration": 1837, "type": "uint256", "value": "index" }, - "id": 2359, + "id": 1851, "name": "Identifier", - "src": "43595:5:1" + "src": "44835:5:0" } ], - "id": 2360, + "id": 1852, "name": "FunctionCall", - "src": "43579:22:1" + "src": "44819:22:0" } ], - "id": 2361, + "id": 1853, "name": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "attributes": { - "functionReturnParameters": 2351 + "functionReturnParameters": 1843 }, "children": [ { @@ -61743,32 +61743,32 @@ "attributes": { "name": "uint256" }, - "id": 2362, + "id": 1854, "name": "ElementaryTypeName", - "src": "43619:7:1" + "src": "44860:7:0" } ], - "id": 2363, + "id": 1855, "name": "ElementaryTypeNameExpression", - "src": "43619:7:1" + "src": "44860:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2353, + "referencedDeclaration": 1845, "type": "bytes32", "value": "key" }, - "id": 2364, + "id": 1856, "name": "Identifier", - "src": "43627:3:1" + "src": "44868:3:0" } ], - "id": 2365, + "id": 1857, "name": "FunctionCall", - "src": "43619:12:1" + "src": "44860:12:0" }, { "attributes": { @@ -61804,14 +61804,14 @@ "attributes": { "name": "address" }, - "id": 2366, + "id": 1858, "name": "ElementaryTypeName", - "src": "43633:7:1" + "src": "44874:7:0" } ], - "id": 2367, + "id": 1859, "name": "ElementaryTypeNameExpression", - "src": "43633:7:1" + "src": "44874:7:0" }, { "attributes": { @@ -61847,14 +61847,14 @@ "attributes": { "name": "uint160" }, - "id": 2368, + "id": 1860, "name": "ElementaryTypeName", - "src": "43641:7:1" + "src": "44882:7:0" } ], - "id": 2369, + "id": 1861, "name": "ElementaryTypeNameExpression", - "src": "43641:7:1" + "src": "44882:7:0" }, { "attributes": { @@ -61890,62 +61890,62 @@ "attributes": { "name": "uint256" }, - "id": 2370, + "id": 1862, "name": "ElementaryTypeName", - "src": "43649:7:1" + "src": "44890:7:0" } ], - "id": 2371, + "id": 1863, "name": "ElementaryTypeNameExpression", - "src": "43649:7:1" + "src": "44890:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2355, + "referencedDeclaration": 1847, "type": "bytes32", "value": "value" }, - "id": 2372, + "id": 1864, "name": "Identifier", - "src": "43657:5:1" + "src": "44898:5:0" } ], - "id": 2373, + "id": 1865, "name": "FunctionCall", - "src": "43649:14:1" + "src": "44890:14:0" } ], - "id": 2374, + "id": 1866, "name": "FunctionCall", - "src": "43641:23:1" + "src": "44882:23:0" } ], - "id": 2375, + "id": 1867, "name": "FunctionCall", - "src": "43633:32:1" + "src": "44874:32:0" } ], - "id": 2376, + "id": 1868, "name": "TupleExpression", - "src": "43618:48:1" + "src": "44859:48:0" } ], - "id": 2377, + "id": 1869, "name": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ], - "id": 2378, + "id": 1870, "name": "Block", - "src": "43538:135:1" + "src": "44777:138:0" } ], - "id": 2379, + "id": 1871, "name": "FunctionDefinition", - "src": "43440:233:1" + "src": "44679:236:0" }, { "attributes": { @@ -61956,7 +61956,7 @@ null ], "name": "tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61966,9 +61966,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2380, + "id": 1872, "name": "StructuredDocumentation", - "src": "43679:169:1" + "src": "44923:174:0" }, { "children": [ @@ -61977,7 +61977,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61987,24 +61987,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2381, + "id": 1873, "name": "UserDefinedTypeName", - "src": "43869:16:1" + "src": "45119:16:0" } ], - "id": 2382, + "id": 1874, "name": "VariableDeclaration", - "src": "43869:28:1" + "src": "45119:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62016,19 +62016,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2383, + "id": 1875, "name": "ElementaryTypeName", - "src": "43899:7:1" + "src": "45149:7:0" } ], - "id": 2384, + "id": 1876, "name": "VariableDeclaration", - "src": "43899:11:1" + "src": "45149:11:0" } ], - "id": 2385, + "id": 1877, "name": "ParameterList", - "src": "43868:43:1" + "src": "45118:43:0" }, { "children": [ @@ -62037,7 +62037,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62049,21 +62049,21 @@ "name": "bool", "type": "bool" }, - "id": 2386, + "id": 1878, "name": "ElementaryTypeName", - "src": "43935:4:1" + "src": "45185:4:0" } ], - "id": 2387, + "id": 1879, "name": "VariableDeclaration", - "src": "43935:4:1" + "src": "45185:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62076,27 +62076,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2388, + "id": 1880, "name": "ElementaryTypeName", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2389, + "id": 1881, "name": "VariableDeclaration", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2390, + "id": 1882, "name": "ParameterList", - "src": "43934:15:1" + "src": "45184:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2392, - 2394 + 1884, + 1886 ] }, "children": [ @@ -62105,7 +62105,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62117,21 +62117,21 @@ "name": "bool", "type": "bool" }, - "id": 2391, + "id": 1883, "name": "ElementaryTypeName", - "src": "43961:4:1" + "src": "45212:4:0" } ], - "id": 2392, + "id": 1884, "name": "VariableDeclaration", - "src": "43961:12:1" + "src": "45212:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -62143,14 +62143,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2393, + "id": 1885, "name": "ElementaryTypeName", - "src": "43975:7:1" + "src": "45226:7:0" } ], - "id": 2394, + "id": 1886, "name": "VariableDeclaration", - "src": "43975:13:1" + "src": "45226:13:0" }, { "attributes": { @@ -62171,7 +62171,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62182,13 +62182,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2183, + "referencedDeclaration": 1675, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)", "value": "_tryGet" }, - "id": 2395, + "id": 1887, "name": "Identifier", - "src": "43992:7:1" + "src": "45243:7:0" }, { "attributes": { @@ -62197,7 +62197,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62206,18 +62206,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2382, + "referencedDeclaration": 1874, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2396, + "id": 1888, "name": "Identifier", - "src": "44000:3:1" + "src": "45251:3:0" } ], - "id": 2397, + "id": 1889, "name": "MemberAccess", - "src": "44000:10:1" + "src": "45251:10:0" }, { "attributes": { @@ -62253,46 +62253,46 @@ "attributes": { "name": "bytes32" }, - "id": 2398, + "id": 1890, "name": "ElementaryTypeName", - "src": "44012:7:1" + "src": "45263:7:0" } ], - "id": 2399, + "id": 1891, "name": "ElementaryTypeNameExpression", - "src": "44012:7:1" + "src": "45263:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2384, + "referencedDeclaration": 1876, "type": "uint256", "value": "key" }, - "id": 2400, + "id": 1892, "name": "Identifier", - "src": "44020:3:1" + "src": "45271:3:0" } ], - "id": 2401, + "id": 1893, "name": "FunctionCall", - "src": "44012:12:1" + "src": "45263:12:0" } ], - "id": 2402, + "id": 1894, "name": "FunctionCall", - "src": "43992:33:1" + "src": "45243:33:0" } ], - "id": 2403, + "id": 1895, "name": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "attributes": { - "functionReturnParameters": 2390 + "functionReturnParameters": 1882 }, "children": [ { @@ -62310,13 +62310,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2392, + "referencedDeclaration": 1884, "type": "bool", "value": "success" }, - "id": 2404, + "id": 1896, "name": "Identifier", - "src": "44043:7:1" + "src": "45295:7:0" }, { "attributes": { @@ -62352,14 +62352,14 @@ "attributes": { "name": "address" }, - "id": 2405, + "id": 1897, "name": "ElementaryTypeName", - "src": "44052:7:1" + "src": "45304:7:0" } ], - "id": 2406, + "id": 1898, "name": "ElementaryTypeNameExpression", - "src": "44052:7:1" + "src": "45304:7:0" }, { "attributes": { @@ -62395,14 +62395,14 @@ "attributes": { "name": "uint160" }, - "id": 2407, + "id": 1899, "name": "ElementaryTypeName", - "src": "44060:7:1" + "src": "45312:7:0" } ], - "id": 2408, + "id": 1900, "name": "ElementaryTypeNameExpression", - "src": "44060:7:1" + "src": "45312:7:0" }, { "attributes": { @@ -62438,62 +62438,62 @@ "attributes": { "name": "uint256" }, - "id": 2409, + "id": 1901, "name": "ElementaryTypeName", - "src": "44068:7:1" + "src": "45320:7:0" } ], - "id": 2410, + "id": 1902, "name": "ElementaryTypeNameExpression", - "src": "44068:7:1" + "src": "45320:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2394, + "referencedDeclaration": 1886, "type": "bytes32", "value": "value" }, - "id": 2411, + "id": 1903, "name": "Identifier", - "src": "44076:5:1" + "src": "45328:5:0" } ], - "id": 2412, + "id": 1904, "name": "FunctionCall", - "src": "44068:14:1" + "src": "45320:14:0" } ], - "id": 2413, + "id": 1905, "name": "FunctionCall", - "src": "44060:23:1" + "src": "45312:23:0" } ], - "id": 2414, + "id": 1906, "name": "FunctionCall", - "src": "44052:32:1" + "src": "45304:32:0" } ], - "id": 2415, + "id": 1907, "name": "TupleExpression", - "src": "44042:43:1" + "src": "45294:43:0" } ], - "id": 2416, + "id": 1908, "name": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ], - "id": 2417, + "id": 1909, "name": "Block", - "src": "43950:142:1" + "src": "45200:145:0" } ], - "id": 2418, + "id": 1910, "name": "FunctionDefinition", - "src": "43853:239:1" + "src": "45103:242:0" }, { "attributes": { @@ -62504,7 +62504,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62514,9 +62514,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2419, + "id": 1911, "name": "StructuredDocumentation", - "src": "44098:141:1" + "src": "45353:147:0" }, { "children": [ @@ -62525,7 +62525,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62535,24 +62535,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2420, + "id": 1912, "name": "UserDefinedTypeName", - "src": "44257:16:1" + "src": "45519:16:0" } ], - "id": 2421, + "id": 1913, "name": "VariableDeclaration", - "src": "44257:28:1" + "src": "45519:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62564,19 +62564,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2422, + "id": 1914, "name": "ElementaryTypeName", - "src": "44287:7:1" + "src": "45549:7:0" } ], - "id": 2423, + "id": 1915, "name": "VariableDeclaration", - "src": "44287:11:1" + "src": "45549:11:0" } ], - "id": 2424, + "id": 1916, "name": "ParameterList", - "src": "44256:43:1" + "src": "45518:43:0" }, { "children": [ @@ -62585,7 +62585,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62598,25 +62598,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2425, + "id": 1917, "name": "ElementaryTypeName", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2426, + "id": 1918, "name": "VariableDeclaration", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2427, + "id": 1919, "name": "ParameterList", - "src": "44322:9:1" + "src": "45584:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2427 + "functionReturnParameters": 1919 }, "children": [ { @@ -62653,14 +62653,14 @@ "attributes": { "name": "address" }, - "id": 2428, + "id": 1920, "name": "ElementaryTypeName", - "src": "44349:7:1" + "src": "45612:7:0" } ], - "id": 2429, + "id": 1921, "name": "ElementaryTypeNameExpression", - "src": "44349:7:1" + "src": "45612:7:0" }, { "attributes": { @@ -62696,14 +62696,14 @@ "attributes": { "name": "uint160" }, - "id": 2430, + "id": 1922, "name": "ElementaryTypeName", - "src": "44357:7:1" + "src": "45620:7:0" } ], - "id": 2431, + "id": 1923, "name": "ElementaryTypeNameExpression", - "src": "44357:7:1" + "src": "45620:7:0" }, { "attributes": { @@ -62739,14 +62739,14 @@ "attributes": { "name": "uint256" }, - "id": 2432, + "id": 1924, "name": "ElementaryTypeName", - "src": "44365:7:1" + "src": "45628:7:0" } ], - "id": 2433, + "id": 1925, "name": "ElementaryTypeNameExpression", - "src": "44365:7:1" + "src": "45628:7:0" }, { "attributes": { @@ -62767,7 +62767,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62776,16 +62776,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, + "referencedDeclaration": 1708, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)", "value": "_get" }, - "id": 2434, + "id": 1926, "name": "Identifier", - "src": "44373:4:1" + "src": "45636:4:0" }, { "attributes": { @@ -62794,7 +62794,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62803,18 +62803,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2421, + "referencedDeclaration": 1913, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2435, + "id": 1927, "name": "Identifier", - "src": "44378:3:1" + "src": "45641:3:0" } ], - "id": 2436, + "id": 1928, "name": "MemberAccess", - "src": "44378:10:1" + "src": "45641:10:0" }, { "attributes": { @@ -62850,67 +62850,67 @@ "attributes": { "name": "bytes32" }, - "id": 2437, + "id": 1929, "name": "ElementaryTypeName", - "src": "44390:7:1" + "src": "45653:7:0" } ], - "id": 2438, + "id": 1930, "name": "ElementaryTypeNameExpression", - "src": "44390:7:1" + "src": "45653:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2423, + "referencedDeclaration": 1915, "type": "uint256", "value": "key" }, - "id": 2439, + "id": 1931, "name": "Identifier", - "src": "44398:3:1" + "src": "45661:3:0" } ], - "id": 2440, + "id": 1932, "name": "FunctionCall", - "src": "44390:12:1" + "src": "45653:12:0" } ], - "id": 2441, + "id": 1933, "name": "FunctionCall", - "src": "44373:30:1" + "src": "45636:30:0" } ], - "id": 2442, + "id": 1934, "name": "FunctionCall", - "src": "44365:39:1" + "src": "45628:39:0" } ], - "id": 2443, + "id": 1935, "name": "FunctionCall", - "src": "44357:48:1" + "src": "45620:48:0" } ], - "id": 2444, + "id": 1936, "name": "FunctionCall", - "src": "44349:57:1" + "src": "45612:57:0" } ], - "id": 2445, + "id": 1937, "name": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ], - "id": 2446, + "id": 1938, "name": "Block", - "src": "44332:81:1" + "src": "45594:83:0" } ], - "id": 2447, + "id": 1939, "name": "FunctionDefinition", - "src": "44244:169:1" + "src": "45506:171:0" }, { "attributes": { @@ -62921,7 +62921,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62931,9 +62931,9 @@ "attributes": { "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2448, + "id": 1940, "name": "StructuredDocumentation", - "src": "44419:269:1" + "src": "45685:274:0" }, { "children": [ @@ -62942,7 +62942,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62952,24 +62952,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2449, + "id": 1941, "name": "UserDefinedTypeName", - "src": "44706:16:1" + "src": "45978:16:0" } ], - "id": 2450, + "id": 1942, "name": "VariableDeclaration", - "src": "44706:28:1" + "src": "45978:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62981,21 +62981,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2451, + "id": 1943, "name": "ElementaryTypeName", - "src": "44736:7:1" + "src": "46008:7:0" } ], - "id": 2452, + "id": 1944, "name": "VariableDeclaration", - "src": "44736:11:1" + "src": "46008:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63007,19 +63007,19 @@ "name": "string", "type": "string" }, - "id": 2453, + "id": 1945, "name": "ElementaryTypeName", - "src": "44749:6:1" + "src": "46021:6:0" } ], - "id": 2454, + "id": 1946, "name": "VariableDeclaration", - "src": "44749:26:1" + "src": "46021:26:0" } ], - "id": 2455, + "id": 1947, "name": "ParameterList", - "src": "44705:71:1" + "src": "45977:71:0" }, { "children": [ @@ -63028,7 +63028,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -63041,25 +63041,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2456, + "id": 1948, "name": "ElementaryTypeName", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2457, + "id": 1949, "name": "VariableDeclaration", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2458, + "id": 1950, "name": "ParameterList", - "src": "44799:9:1" + "src": "46071:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2458 + "functionReturnParameters": 1950 }, "children": [ { @@ -63096,14 +63096,14 @@ "attributes": { "name": "address" }, - "id": 2459, + "id": 1951, "name": "ElementaryTypeName", - "src": "44826:7:1" + "src": "46099:7:0" } ], - "id": 2460, + "id": 1952, "name": "ElementaryTypeNameExpression", - "src": "44826:7:1" + "src": "46099:7:0" }, { "attributes": { @@ -63139,14 +63139,14 @@ "attributes": { "name": "uint160" }, - "id": 2461, + "id": 1953, "name": "ElementaryTypeName", - "src": "44834:7:1" + "src": "46107:7:0" } ], - "id": 2462, + "id": 1954, "name": "ElementaryTypeNameExpression", - "src": "44834:7:1" + "src": "46107:7:0" }, { "attributes": { @@ -63182,14 +63182,14 @@ "attributes": { "name": "uint256" }, - "id": 2463, + "id": 1955, "name": "ElementaryTypeName", - "src": "44842:7:1" + "src": "46115:7:0" } ], - "id": 2464, + "id": 1956, "name": "ElementaryTypeNameExpression", - "src": "44842:7:1" + "src": "46115:7:0" }, { "attributes": { @@ -63210,7 +63210,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -63223,16 +63223,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, + "referencedDeclaration": 1743, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)", "value": "_get" }, - "id": 2465, + "id": 1957, "name": "Identifier", - "src": "44850:4:1" + "src": "46123:4:0" }, { "attributes": { @@ -63241,7 +63241,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -63250,18 +63250,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2450, + "referencedDeclaration": 1942, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2466, + "id": 1958, "name": "Identifier", - "src": "44855:3:1" + "src": "46128:3:0" } ], - "id": 2467, + "id": 1959, "name": "MemberAccess", - "src": "44855:10:1" + "src": "46128:10:0" }, { "attributes": { @@ -63297,85 +63297,85 @@ "attributes": { "name": "bytes32" }, - "id": 2468, + "id": 1960, "name": "ElementaryTypeName", - "src": "44867:7:1" + "src": "46140:7:0" } ], - "id": 2469, + "id": 1961, "name": "ElementaryTypeNameExpression", - "src": "44867:7:1" + "src": "46140:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2452, + "referencedDeclaration": 1944, "type": "uint256", "value": "key" }, - "id": 2470, + "id": 1962, "name": "Identifier", - "src": "44875:3:1" + "src": "46148:3:0" } ], - "id": 2471, + "id": 1963, "name": "FunctionCall", - "src": "44867:12:1" + "src": "46140:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2454, + "referencedDeclaration": 1946, "type": "string memory", "value": "errorMessage" }, - "id": 2472, + "id": 1964, "name": "Identifier", - "src": "44881:12:1" + "src": "46154:12:0" } ], - "id": 2473, + "id": 1965, "name": "FunctionCall", - "src": "44850:44:1" + "src": "46123:44:0" } ], - "id": 2474, + "id": 1966, "name": "FunctionCall", - "src": "44842:53:1" + "src": "46115:53:0" } ], - "id": 2475, + "id": 1967, "name": "FunctionCall", - "src": "44834:62:1" + "src": "46107:62:0" } ], - "id": 2476, + "id": 1968, "name": "FunctionCall", - "src": "44826:71:1" + "src": "46099:71:0" } ], - "id": 2477, + "id": 1969, "name": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ], - "id": 2478, + "id": 1970, "name": "Block", - "src": "44809:95:1" + "src": "46081:97:0" } ], - "id": 2479, + "id": 1971, "name": "FunctionDefinition", - "src": "44693:211:1" + "src": "45965:213:0" } ], - "id": 2480, + "id": 1972, "name": "ContractDefinition", - "src": "35943:8963:1" + "src": "36981:9200:0" }, { "attributes": { @@ -63389,9 +63389,9 @@ ".0" ] }, - "id": 2481, + "id": 1973, "name": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "attributes": { @@ -63405,19 +63405,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev String operations." }, - "id": 2482, + "id": 1974, "name": "StructuredDocumentation", - "src": "44992:34:1" + "src": "46272:36:0" }, { "attributes": { @@ -63428,7 +63428,7 @@ null ], "name": "toString", - "scope": 2566, + "scope": 2058, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -63438,9 +63438,9 @@ "attributes": { "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2483, + "id": 1975, "name": "StructuredDocumentation", - "src": "45049:82:1" + "src": "46333:84:0" }, { "children": [ @@ -63449,7 +63449,7 @@ "constant": false, "mutability": "mutable", "name": "value", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63461,19 +63461,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2484, + "id": 1976, "name": "ElementaryTypeName", - "src": "45154:7:1" + "src": "46441:7:0" } ], - "id": 2485, + "id": 1977, "name": "VariableDeclaration", - "src": "45154:13:1" + "src": "46441:13:0" } ], - "id": 2486, + "id": 1978, "name": "ParameterList", - "src": "45153:15:1" + "src": "46440:15:0" }, { "children": [ @@ -63482,7 +63482,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63494,19 +63494,19 @@ "name": "string", "type": "string" }, - "id": 2487, + "id": 1979, "name": "ElementaryTypeName", - "src": "45192:6:1" + "src": "46479:6:0" } ], - "id": 2488, + "id": 1980, "name": "VariableDeclaration", - "src": "45192:13:1" + "src": "46479:13:0" } ], - "id": 2489, + "id": 1981, "name": "ParameterList", - "src": "45191:15:1" + "src": "46478:15:0" }, { "children": [ @@ -63532,13 +63532,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2490, + "id": 1982, "name": "Identifier", - "src": "45409:5:1" + "src": "46700:5:0" }, { "attributes": { @@ -63551,20 +63551,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2491, + "id": 1983, "name": "Literal", - "src": "45418:1:1" + "src": "46709:1:0" } ], - "id": 2492, + "id": 1984, "name": "BinaryOperation", - "src": "45409:10:1" + "src": "46700:10:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -63578,29 +63578,29 @@ "type": "literal_string \"0\"", "value": "0" }, - "id": 2493, + "id": 1985, "name": "Literal", - "src": "45442:3:1" + "src": "46734:3:0" } ], - "id": 2494, + "id": 1986, "name": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ], - "id": 2495, + "id": 1987, "name": "Block", - "src": "45421:35:1" + "src": "46712:37:0" } ], - "id": 2496, + "id": 1988, "name": "IfStatement", - "src": "45405:51:1" + "src": "46696:53:0" }, { "attributes": { "assignments": [ - 2498 + 1990 ] }, "children": [ @@ -63609,7 +63609,7 @@ "constant": false, "mutability": "mutable", "name": "temp", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63621,37 +63621,37 @@ "name": "uint256", "type": "uint256" }, - "id": 2497, + "id": 1989, "name": "ElementaryTypeName", - "src": "45465:7:1" + "src": "46759:7:0" } ], - "id": 2498, + "id": 1990, "name": "VariableDeclaration", - "src": "45465:12:1" + "src": "46759:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2499, + "id": 1991, "name": "Identifier", - "src": "45480:5:1" + "src": "46774:5:0" } ], - "id": 2500, + "id": 1992, "name": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "attributes": { "assignments": [ - 2502 + 1994 ] }, "children": [ @@ -63660,7 +63660,7 @@ "constant": false, "mutability": "mutable", "name": "digits", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63672,19 +63672,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2501, + "id": 1993, "name": "ElementaryTypeName", - "src": "45495:7:1" + "src": "46790:7:0" } ], - "id": 2502, + "id": 1994, "name": "VariableDeclaration", - "src": "45495:14:1" + "src": "46790:14:0" } ], - "id": 2503, + "id": 1995, "name": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "children": [ @@ -63707,13 +63707,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2504, + "id": 1996, "name": "Identifier", - "src": "45526:4:1" + "src": "46822:4:0" }, { "attributes": { @@ -63726,14 +63726,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2505, + "id": 1997, "name": "Literal", - "src": "45534:1:1" + "src": "46830:1:0" } ], - "id": 2506, + "id": 1998, "name": "BinaryOperation", - "src": "45526:9:1" + "src": "46822:9:0" }, { "children": [ @@ -63755,23 +63755,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2507, + "id": 1999, "name": "Identifier", - "src": "45551:6:1" + "src": "46848:6:0" } ], - "id": 2508, + "id": 2000, "name": "UnaryOperation", - "src": "45551:8:1" + "src": "46848:8:0" } ], - "id": 2509, + "id": 2001, "name": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "children": [ @@ -63790,13 +63790,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2510, + "id": 2002, "name": "Identifier", - "src": "45573:4:1" + "src": "46871:4:0" }, { "attributes": { @@ -63809,34 +63809,34 @@ "type": "int_const 10", "value": "10" }, - "id": 2511, + "id": 2003, "name": "Literal", - "src": "45581:2:1" + "src": "46879:2:0" } ], - "id": 2512, + "id": 2004, "name": "Assignment", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2513, + "id": 2005, "name": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2514, + "id": 2006, "name": "Block", - "src": "45537:57:1" + "src": "46833:60:0" } ], - "id": 2515, + "id": 2007, "name": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "attributes": { "assignments": [ - 2517 + 2009 ] }, "children": [ @@ -63845,7 +63845,7 @@ "constant": false, "mutability": "mutable", "name": "buffer", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -63857,14 +63857,14 @@ "name": "bytes", "type": "bytes" }, - "id": 2516, + "id": 2008, "name": "ElementaryTypeName", - "src": "45603:5:1" + "src": "46903:5:0" } ], - "id": 2517, + "id": 2009, "name": "VariableDeclaration", - "src": "45603:19:1" + "src": "46903:19:0" }, { "attributes": { @@ -63901,42 +63901,42 @@ "name": "bytes", "type": "bytes" }, - "id": 2518, + "id": 2010, "name": "ElementaryTypeName", - "src": "45629:5:1" + "src": "46929:5:0" } ], - "id": 2519, + "id": 2011, "name": "NewExpression", - "src": "45625:9:1" + "src": "46925:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2520, + "id": 2012, "name": "Identifier", - "src": "45635:6:1" + "src": "46935:6:0" } ], - "id": 2521, + "id": 2013, "name": "FunctionCall", - "src": "45625:17:1" + "src": "46925:17:0" } ], - "id": 2522, + "id": 2014, "name": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "attributes": { "assignments": [ - 2524 + 2016 ] }, "children": [ @@ -63945,7 +63945,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63957,14 +63957,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2523, + "id": 2015, "name": "ElementaryTypeName", - "src": "45652:7:1" + "src": "46953:7:0" } ], - "id": 2524, + "id": 2016, "name": "VariableDeclaration", - "src": "45652:13:1" + "src": "46953:13:0" }, { "attributes": { @@ -63985,13 +63985,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2525, + "id": 2017, "name": "Identifier", - "src": "45668:6:1" + "src": "46969:6:0" }, { "attributes": { @@ -64004,19 +64004,19 @@ "type": "int_const 1", "value": "1" }, - "id": 2526, + "id": 2018, "name": "Literal", - "src": "45677:1:1" + "src": "46978:1:0" } ], - "id": 2527, + "id": 2019, "name": "BinaryOperation", - "src": "45668:10:1" + "src": "46969:10:0" } ], - "id": 2528, + "id": 2020, "name": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "children": [ @@ -64035,36 +64035,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2529, + "id": 2021, "name": "Identifier", - "src": "45688:4:1" + "src": "46990:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2530, + "id": 2022, "name": "Identifier", - "src": "45695:5:1" + "src": "46997:5:0" } ], - "id": 2531, + "id": 2023, "name": "Assignment", - "src": "45688:12:1" + "src": "46990:12:0" } ], - "id": 2532, + "id": 2024, "name": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "children": [ @@ -64087,13 +64087,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2533, + "id": 2025, "name": "Identifier", - "src": "45717:4:1" + "src": "47020:4:0" }, { "attributes": { @@ -64106,14 +64106,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2534, + "id": 2026, "name": "Literal", - "src": "45725:1:1" + "src": "47028:1:0" } ], - "id": 2535, + "id": 2027, "name": "BinaryOperation", - "src": "45717:9:1" + "src": "47020:9:0" }, { "children": [ @@ -64143,13 +64143,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2536, + "id": 2028, "name": "Identifier", - "src": "45742:6:1" + "src": "47046:6:0" }, { "attributes": { @@ -64167,23 +64167,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2524, + "referencedDeclaration": 2016, "type": "uint256", "value": "index" }, - "id": 2537, + "id": 2029, "name": "Identifier", - "src": "45749:5:1" + "src": "47053:5:0" } ], - "id": 2538, + "id": 2030, "name": "UnaryOperation", - "src": "45749:7:1" + "src": "47053:7:0" } ], - "id": 2539, + "id": 2031, "name": "IndexAccess", - "src": "45742:15:1" + "src": "47046:15:0" }, { "attributes": { @@ -64219,14 +64219,14 @@ "attributes": { "name": "bytes1" }, - "id": 2540, + "id": 2032, "name": "ElementaryTypeName", - "src": "45760:6:1" + "src": "47064:6:0" } ], - "id": 2541, + "id": 2033, "name": "ElementaryTypeNameExpression", - "src": "45760:6:1" + "src": "47064:6:0" }, { "attributes": { @@ -64262,14 +64262,14 @@ "attributes": { "name": "uint8" }, - "id": 2542, + "id": 2034, "name": "ElementaryTypeName", - "src": "45767:5:1" + "src": "47071:5:0" } ], - "id": 2543, + "id": 2035, "name": "ElementaryTypeNameExpression", - "src": "45767:5:1" + "src": "47071:5:0" }, { "attributes": { @@ -64296,9 +64296,9 @@ "type": "int_const 48", "value": "48" }, - "id": 2544, + "id": 2036, "name": "Literal", - "src": "45773:2:1" + "src": "47077:2:0" }, { "attributes": { @@ -64319,13 +64319,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2545, + "id": 2037, "name": "Identifier", - "src": "45778:4:1" + "src": "47082:4:0" }, { "attributes": { @@ -64338,39 +64338,39 @@ "type": "int_const 10", "value": "10" }, - "id": 2546, + "id": 2038, "name": "Literal", - "src": "45785:2:1" + "src": "47089:2:0" } ], - "id": 2547, + "id": 2039, "name": "BinaryOperation", - "src": "45778:9:1" + "src": "47082:9:0" } ], - "id": 2548, + "id": 2040, "name": "BinaryOperation", - "src": "45773:14:1" + "src": "47077:14:0" } ], - "id": 2549, + "id": 2041, "name": "FunctionCall", - "src": "45767:21:1" + "src": "47071:21:0" } ], - "id": 2550, + "id": 2042, "name": "FunctionCall", - "src": "45760:29:1" + "src": "47064:29:0" } ], - "id": 2551, + "id": 2043, "name": "Assignment", - "src": "45742:47:1" + "src": "47046:47:0" } ], - "id": 2552, + "id": 2044, "name": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "children": [ @@ -64389,13 +64389,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2553, + "id": 2045, "name": "Identifier", - "src": "45803:4:1" + "src": "47108:4:0" }, { "attributes": { @@ -64408,33 +64408,33 @@ "type": "int_const 10", "value": "10" }, - "id": 2554, + "id": 2046, "name": "Literal", - "src": "45811:2:1" + "src": "47116:2:0" } ], - "id": 2555, + "id": 2047, "name": "Assignment", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2556, + "id": 2048, "name": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2557, + "id": 2049, "name": "Block", - "src": "45728:96:1" + "src": "47031:99:0" } ], - "id": 2558, + "id": 2050, "name": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -64471,52 +64471,52 @@ "attributes": { "name": "string" }, - "id": 2559, + "id": 2051, "name": "ElementaryTypeName", - "src": "45840:6:1" + "src": "47147:6:0" } ], - "id": 2560, + "id": 2052, "name": "ElementaryTypeNameExpression", - "src": "45840:6:1" + "src": "47147:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2561, + "id": 2053, "name": "Identifier", - "src": "45847:6:1" + "src": "47154:6:0" } ], - "id": 2562, + "id": 2054, "name": "FunctionCall", - "src": "45840:14:1" + "src": "47147:14:0" } ], - "id": 2563, + "id": 2055, "name": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ], - "id": 2564, + "id": 2056, "name": "Block", - "src": "45207:654:1" + "src": "46494:675:0" } ], - "id": 2565, + "id": 2057, "name": "FunctionDefinition", - "src": "45136:725:1" + "src": "46423:746:0" } ], - "id": 2566, + "id": 2058, "name": "ContractDefinition", - "src": "45027:836:1" + "src": "46310:862:0" }, { "attributes": { @@ -64530,43 +64530,43 @@ ".0" ] }, - "id": 2567, + "id": 2059, "name": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, - "id": 2568, + "id": 2060, "name": "StructuredDocumentation", - "src": "45955:124:1" + "src": "47269:127:0" }, { "attributes": {}, @@ -64574,17 +64574,17 @@ { "attributes": { "name": "Context", - "referencedDeclaration": 530, + "referencedDeclaration": 22, "type": "contract Context" }, - "id": 2569, + "id": 2061, "name": "UserDefinedTypeName", - "src": "46099:7:1" + "src": "47417:7:0" } ], - "id": 2570, + "id": 2062, "name": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "attributes": {}, @@ -64592,17 +64592,17 @@ { "attributes": { "name": "ERC165", - "referencedDeclaration": 781, + "referencedDeclaration": 273, "type": "contract ERC165" }, - "id": 2571, + "id": 2063, "name": "UserDefinedTypeName", - "src": "46108:6:1" + "src": "47426:6:0" } ], - "id": 2572, + "id": 2064, "name": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "attributes": {}, @@ -64610,17 +64610,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 2573, + "id": 2065, "name": "UserDefinedTypeName", - "src": "46116:7:1" + "src": "47434:7:0" } ], - "id": 2574, + "id": 2066, "name": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "attributes": {}, @@ -64628,17 +64628,17 @@ { "attributes": { "name": "IERC721Metadata", - "referencedDeclaration": 680, + "referencedDeclaration": 172, "type": "contract IERC721Metadata" }, - "id": 2575, + "id": 2067, "name": "UserDefinedTypeName", - "src": "46125:15:1" + "src": "47443:15:0" } ], - "id": 2576, + "id": 2068, "name": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "attributes": {}, @@ -64646,55 +64646,55 @@ { "attributes": { "name": "IERC721Enumerable", - "referencedDeclaration": 709, + "referencedDeclaration": 201, "type": "contract IERC721Enumerable" }, - "id": 2577, + "id": 2069, "name": "UserDefinedTypeName", - "src": "46142:17:1" + "src": "47460:17:0" } ], - "id": 2578, + "id": 2070, "name": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" }, { "children": [ { "attributes": { "name": "SafeMath", - "referencedDeclaration": 1135, + "referencedDeclaration": 627, "type": "library SafeMath" }, - "id": 2579, + "id": 2071, "name": "UserDefinedTypeName", - "src": "46172:8:1" + "src": "47491:8:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2580, + "id": 2072, "name": "ElementaryTypeName", - "src": "46185:7:1" + "src": "47504:7:0" } ], - "id": 2581, + "id": 2073, "name": "UsingForDirective", - "src": "46166:27:1" + "src": "47485:27:0" }, { "children": [ { "attributes": { "name": "Address", - "referencedDeclaration": 1430, + "referencedDeclaration": 922, "type": "library Address" }, - "id": 2582, + "id": 2074, "name": "UserDefinedTypeName", - "src": "46204:7:1" + "src": "47524:7:0" }, { "attributes": { @@ -64702,101 +64702,101 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2583, + "id": 2075, "name": "ElementaryTypeName", - "src": "46216:7:1" + "src": "47536:7:0" } ], - "id": 2584, + "id": 2076, "name": "UsingForDirective", - "src": "46198:26:1" + "src": "47518:26:0" }, { "children": [ { "attributes": { "name": "EnumerableSet", - "referencedDeclaration": 1921, + "referencedDeclaration": 1413, "type": "library EnumerableSet" }, - "id": 2585, + "id": 2077, "name": "UserDefinedTypeName", - "src": "46235:13:1" + "src": "47556:13:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2586, + "id": 2078, "name": "UserDefinedTypeName", - "src": "46253:21:1" + "src": "47574:21:0" } ], - "id": 2587, + "id": 2079, "name": "UsingForDirective", - "src": "46229:46:1" + "src": "47550:46:0" }, { "children": [ { "attributes": { "name": "EnumerableMap", - "referencedDeclaration": 2480, + "referencedDeclaration": 1972, "type": "library EnumerableMap" }, - "id": 2588, + "id": 2080, "name": "UserDefinedTypeName", - "src": "46286:13:1" + "src": "47608:13:0" }, { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2589, + "id": 2081, "name": "UserDefinedTypeName", - "src": "46304:30:1" + "src": "47626:30:0" } ], - "id": 2590, + "id": 2082, "name": "UsingForDirective", - "src": "46280:55:1" + "src": "47602:55:0" }, { "children": [ { "attributes": { "name": "Strings", - "referencedDeclaration": 2566, + "referencedDeclaration": 2058, "type": "library Strings" }, - "id": 2591, + "id": 2083, "name": "UserDefinedTypeName", - "src": "46346:7:1" + "src": "47669:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2592, + "id": 2084, "name": "ElementaryTypeName", - "src": "46358:7:1" + "src": "47681:7:0" } ], - "id": 2593, + "id": 2085, "name": "UsingForDirective", - "src": "46340:26:1" + "src": "47663:26:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_ERC721_RECEIVED", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -64808,9 +64808,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2594, + "id": 2086, "name": "ElementaryTypeName", - "src": "46544:6:1" + "src": "47871:6:0" }, { "attributes": { @@ -64823,21 +64823,21 @@ "type": "int_const 353073666", "value": "0x150b7a02" }, - "id": 2595, + "id": 2087, "name": "Literal", - "src": "46587:10:1" + "src": "47914:10:0" } ], - "id": 2596, + "id": 2088, "name": "VariableDeclaration", - "src": "46544:53:1" + "src": "47871:53:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_holderTokens", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => struct EnumerableSet.UintSet)", @@ -64854,36 +64854,36 @@ "name": "address", "type": "address" }, - "id": 2597, + "id": 2089, "name": "ElementaryTypeName", - "src": "46690:7:1" + "src": "48020:7:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2598, + "id": 2090, "name": "UserDefinedTypeName", - "src": "46701:21:1" + "src": "48031:21:0" } ], - "id": 2599, + "id": 2091, "name": "Mapping", - "src": "46681:42:1" + "src": "48011:42:0" } ], - "id": 2600, + "id": 2092, "name": "VariableDeclaration", - "src": "46681:64:1" + "src": "48011:64:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenOwners", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "struct EnumerableMap.UintToAddressMap", @@ -64893,24 +64893,24 @@ { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2601, + "id": 2093, "name": "UserDefinedTypeName", - "src": "46809:30:1" + "src": "48142:30:0" } ], - "id": 2602, + "id": 2094, "name": "VariableDeclaration", - "src": "46809:51:1" + "src": "48142:51:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => address)", @@ -64927,9 +64927,9 @@ "name": "uint256", "type": "uint256" }, - "id": 2603, + "id": 2095, "name": "ElementaryTypeName", - "src": "46925:7:1" + "src": "48261:7:0" }, { "attributes": { @@ -64937,26 +64937,26 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2604, + "id": 2096, "name": "ElementaryTypeName", - "src": "46936:7:1" + "src": "48272:7:0" } ], - "id": 2605, + "id": 2097, "name": "Mapping", - "src": "46916:28:1" + "src": "48252:28:0" } ], - "id": 2606, + "id": 2098, "name": "VariableDeclaration", - "src": "46916:52:1" + "src": "48252:52:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_operatorApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => mapping(address => bool))", @@ -64973,9 +64973,9 @@ "name": "address", "type": "address" }, - "id": 2607, + "id": 2099, "name": "ElementaryTypeName", - "src": "47032:7:1" + "src": "48371:7:0" }, { "attributes": { @@ -64987,40 +64987,40 @@ "name": "address", "type": "address" }, - "id": 2608, + "id": 2100, "name": "ElementaryTypeName", - "src": "47052:7:1" + "src": "48391:7:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 2609, + "id": 2101, "name": "ElementaryTypeName", - "src": "47063:4:1" + "src": "48402:4:0" } ], - "id": 2610, + "id": 2102, "name": "Mapping", - "src": "47043:25:1" + "src": "48382:25:0" } ], - "id": 2611, + "id": 2103, "name": "Mapping", - "src": "47023:46:1" + "src": "48362:46:0" } ], - "id": 2612, + "id": 2104, "name": "VariableDeclaration", - "src": "47023:73:1" + "src": "48362:73:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_name", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65032,21 +65032,21 @@ "name": "string", "type": "string" }, - "id": 2613, + "id": 2105, "name": "ElementaryTypeName", - "src": "47121:6:1" + "src": "48463:6:0" } ], - "id": 2614, + "id": 2106, "name": "VariableDeclaration", - "src": "47121:20:1" + "src": "48463:20:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_symbol", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65058,21 +65058,21 @@ "name": "string", "type": "string" }, - "id": 2615, + "id": 2107, "name": "ElementaryTypeName", - "src": "47168:6:1" + "src": "48513:6:0" } ], - "id": 2616, + "id": 2108, "name": "VariableDeclaration", - "src": "47168:22:1" + "src": "48513:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURIs", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => string)", @@ -65089,35 +65089,35 @@ "name": "uint256", "type": "uint256" }, - "id": 2617, + "id": 2109, "name": "ElementaryTypeName", - "src": "47245:7:1" + "src": "48593:7:0" }, { "attributes": { "name": "string", "type": "string" }, - "id": 2618, + "id": 2110, "name": "ElementaryTypeName", - "src": "47256:6:1" + "src": "48604:6:0" } ], - "id": 2619, + "id": 2111, "name": "Mapping", - "src": "47236:27:1" + "src": "48584:27:0" } ], - "id": 2620, + "id": 2112, "name": "VariableDeclaration", - "src": "47236:46:1" + "src": "48584:46:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_baseURI", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65129,21 +65129,21 @@ "name": "string", "type": "string" }, - "id": 2621, + "id": 2113, "name": "ElementaryTypeName", - "src": "47305:6:1" + "src": "48656:6:0" } ], - "id": 2622, + "id": 2114, "name": "VariableDeclaration", - "src": "47305:23:1" + "src": "48656:23:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65155,9 +65155,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2623, + "id": 2115, "name": "ElementaryTypeName", - "src": "48204:6:1" + "src": "49571:6:0" }, { "attributes": { @@ -65170,21 +65170,21 @@ "type": "int_const 2158778573", "value": "0x80ac58cd" }, - "id": 2624, + "id": 2116, "name": "Literal", - "src": "48251:10:1" + "src": "49618:10:0" } ], - "id": 2625, + "id": 2117, "name": "VariableDeclaration", - "src": "48204:57:1" + "src": "49571:57:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65196,9 +65196,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2626, + "id": 2118, "name": "ElementaryTypeName", - "src": "48527:6:1" + "src": "49903:6:0" }, { "attributes": { @@ -65211,21 +65211,21 @@ "type": "int_const 1532892063", "value": "0x5b5e139f" }, - "id": 2627, + "id": 2119, "name": "Literal", - "src": "48583:10:1" + "src": "49959:10:0" } ], - "id": 2628, + "id": 2120, "name": "VariableDeclaration", - "src": "48527:66:1" + "src": "49903:66:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65237,9 +65237,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2629, + "id": 2121, "name": "ElementaryTypeName", - "src": "48898:6:1" + "src": "50283:6:0" }, { "attributes": { @@ -65252,14 +65252,14 @@ "type": "int_const 2014223715", "value": "0x780e9d63" }, - "id": 2630, + "id": 2122, "name": "Literal", - "src": "48956:10:1" + "src": "50341:10:0" } ], - "id": 2631, + "id": 2123, "name": "VariableDeclaration", - "src": "48898:68:1" + "src": "50283:68:0" }, { "attributes": { @@ -65270,7 +65270,7 @@ null ], "name": "", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -65280,9 +65280,9 @@ "attributes": { "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2632, + "id": 2124, "name": "StructuredDocumentation", - "src": "48973:108:1" + "src": "50360:110:0" }, { "children": [ @@ -65291,7 +65291,7 @@ "constant": false, "mutability": "mutable", "name": "name_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65303,21 +65303,21 @@ "name": "string", "type": "string" }, - "id": 2633, + "id": 2125, "name": "ElementaryTypeName", - "src": "49099:6:1" + "src": "50489:6:0" } ], - "id": 2634, + "id": 2126, "name": "VariableDeclaration", - "src": "49099:19:1" + "src": "50489:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "symbol_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65329,19 +65329,19 @@ "name": "string", "type": "string" }, - "id": 2635, + "id": 2127, "name": "ElementaryTypeName", - "src": "49120:6:1" + "src": "50510:6:0" } ], - "id": 2636, + "id": 2128, "name": "VariableDeclaration", - "src": "49120:21:1" + "src": "50510:21:0" } ], - "id": 2637, + "id": 2129, "name": "ParameterList", - "src": "49098:44:1" + "src": "50488:44:0" }, { "attributes": { @@ -65350,9 +65350,9 @@ ] }, "children": [], - "id": 2638, + "id": 2130, "name": "ParameterList", - "src": "49143:0:1" + "src": "50533:0:0" }, { "children": [ @@ -65373,36 +65373,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2639, + "id": 2131, "name": "Identifier", - "src": "49153:5:1" + "src": "50544:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2634, + "referencedDeclaration": 2126, "type": "string memory", "value": "name_" }, - "id": 2640, + "id": 2132, "name": "Identifier", - "src": "49161:5:1" + "src": "50552:5:0" } ], - "id": 2641, + "id": 2133, "name": "Assignment", - "src": "49153:13:1" + "src": "50544:13:0" } ], - "id": 2642, + "id": 2134, "name": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "children": [ @@ -65421,36 +65421,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2643, + "id": 2135, "name": "Identifier", - "src": "49176:7:1" + "src": "50568:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2636, + "referencedDeclaration": 2128, "type": "string memory", "value": "symbol_" }, - "id": 2644, + "id": 2136, "name": "Identifier", - "src": "49186:7:1" + "src": "50578:7:0" } ], - "id": 2645, + "id": 2137, "name": "Assignment", - "src": "49176:17:1" + "src": "50568:17:0" } ], - "id": 2646, + "id": 2138, "name": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "children": [ @@ -65480,36 +65480,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2647, + "id": 2139, "name": "Identifier", - "src": "49281:18:1" + "src": "50676:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2625, + "referencedDeclaration": 2117, "type": "bytes4", "value": "_INTERFACE_ID_ERC721" }, - "id": 2648, + "id": 2140, "name": "Identifier", - "src": "49300:20:1" + "src": "50695:20:0" } ], - "id": 2649, + "id": 2141, "name": "FunctionCall", - "src": "49281:40:1" + "src": "50676:40:0" } ], - "id": 2650, + "id": 2142, "name": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "children": [ @@ -65539,36 +65539,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2651, + "id": 2143, "name": "Identifier", - "src": "49331:18:1" + "src": "50727:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2628, + "referencedDeclaration": 2120, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_METADATA" }, - "id": 2652, + "id": 2144, "name": "Identifier", - "src": "49350:29:1" + "src": "50746:29:0" } ], - "id": 2653, + "id": 2145, "name": "FunctionCall", - "src": "49331:49:1" + "src": "50727:49:0" } ], - "id": 2654, + "id": 2146, "name": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "children": [ @@ -65598,51 +65598,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2655, + "id": 2147, "name": "Identifier", - "src": "49390:18:1" + "src": "50787:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2631, + "referencedDeclaration": 2123, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_ENUMERABLE" }, - "id": 2656, + "id": 2148, "name": "Identifier", - "src": "49409:31:1" + "src": "50806:31:0" } ], - "id": 2657, + "id": 2149, "name": "FunctionCall", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2658, + "id": 2150, "name": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2659, + "id": 2151, "name": "Block", - "src": "49143:305:1" + "src": "50533:313:0" } ], - "id": 2660, + "id": 2152, "name": "FunctionDefinition", - "src": "49086:362:1" + "src": "50476:370:0" }, { "attributes": { "baseFunctions": [ - 580 + 72 ], "functionSelector": "70a08231", "implemented": true, @@ -65652,7 +65652,7 @@ null ], "name": "balanceOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -65662,9 +65662,9 @@ "attributes": { "text": " @dev See {IERC721-balanceOf}." }, - "id": 2661, + "id": 2153, "name": "StructuredDocumentation", - "src": "49454:48:1" + "src": "50854:50:0" }, { "attributes": { @@ -65672,9 +65672,9 @@ null ] }, - "id": 2665, + "id": 2157, "name": "OverrideSpecifier", - "src": "49561:8:1" + "src": "50964:8:0" }, { "children": [ @@ -65683,7 +65683,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -65696,19 +65696,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2662, + "id": 2154, "name": "ElementaryTypeName", - "src": "49526:7:1" + "src": "50929:7:0" } ], - "id": 2663, + "id": 2155, "name": "VariableDeclaration", - "src": "49526:13:1" + "src": "50929:13:0" } ], - "id": 2664, + "id": 2156, "name": "ParameterList", - "src": "49525:15:1" + "src": "50928:15:0" }, { "children": [ @@ -65717,7 +65717,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -65729,19 +65729,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2666, + "id": 2158, "name": "ElementaryTypeName", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2667, + "id": 2159, "name": "VariableDeclaration", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2668, + "id": 2160, "name": "ParameterList", - "src": "49578:9:1" + "src": "50981:9:0" }, { "children": [ @@ -65782,9 +65782,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2669, + "id": 2161, "name": "Identifier", - "src": "49598:7:1" + "src": "51002:7:0" }, { "attributes": { @@ -65805,13 +65805,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2670, + "id": 2162, "name": "Identifier", - "src": "49606:5:1" + "src": "51010:5:0" }, { "attributes": { @@ -65847,14 +65847,14 @@ "attributes": { "name": "address" }, - "id": 2671, + "id": 2163, "name": "ElementaryTypeName", - "src": "49615:7:1" + "src": "51019:7:0" } ], - "id": 2672, + "id": 2164, "name": "ElementaryTypeNameExpression", - "src": "49615:7:1" + "src": "51019:7:0" }, { "attributes": { @@ -65867,19 +65867,19 @@ "type": "int_const 0", "value": "0" }, - "id": 2673, + "id": 2165, "name": "Literal", - "src": "49623:1:1" + "src": "51027:1:0" } ], - "id": 2674, + "id": 2166, "name": "FunctionCall", - "src": "49615:10:1" + "src": "51019:10:0" } ], - "id": 2675, + "id": 2167, "name": "BinaryOperation", - "src": "49606:19:1" + "src": "51010:19:0" }, { "attributes": { @@ -65892,23 +65892,23 @@ "type": "literal_string \"ERC721: balance query for the zero address\"", "value": "ERC721: balance query for the zero address" }, - "id": 2676, + "id": 2168, "name": "Literal", - "src": "49627:44:1" + "src": "51031:44:0" } ], - "id": 2677, + "id": 2169, "name": "FunctionCall", - "src": "49598:74:1" + "src": "51002:74:0" } ], - "id": 2678, + "id": 2170, "name": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "attributes": { - "functionReturnParameters": 2668 + "functionReturnParameters": 2160 }, "children": [ { @@ -65939,7 +65939,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 1900, + "referencedDeclaration": 1392, "type": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" }, "children": [ @@ -65957,61 +65957,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2679, + "id": 2171, "name": "Identifier", - "src": "49689:13:1" + "src": "51094:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2680, + "id": 2172, "name": "Identifier", - "src": "49703:5:1" + "src": "51108:5:0" } ], - "id": 2681, + "id": 2173, "name": "IndexAccess", - "src": "49689:20:1" + "src": "51094:20:0" } ], - "id": 2682, + "id": 2174, "name": "MemberAccess", - "src": "49689:27:1" + "src": "51094:27:0" } ], - "id": 2683, + "id": 2175, "name": "FunctionCall", - "src": "49689:29:1" + "src": "51094:29:0" } ], - "id": 2684, + "id": 2176, "name": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ], - "id": 2685, + "id": 2177, "name": "Block", - "src": "49588:137:1" + "src": "50991:140:0" } ], - "id": 2686, + "id": 2178, "name": "FunctionDefinition", - "src": "49507:218:1" + "src": "50910:221:0" }, { "attributes": { "baseFunctions": [ - 588 + 80 ], "functionSelector": "6352211e", "implemented": true, @@ -66021,7 +66021,7 @@ null ], "name": "ownerOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66031,9 +66031,9 @@ "attributes": { "text": " @dev See {IERC721-ownerOf}." }, - "id": 2687, + "id": 2179, "name": "StructuredDocumentation", - "src": "49731:46:1" + "src": "51139:48:0" }, { "attributes": { @@ -66041,9 +66041,9 @@ null ] }, - "id": 2691, + "id": 2183, "name": "OverrideSpecifier", - "src": "49836:8:1" + "src": "51247:8:0" }, { "children": [ @@ -66052,7 +66052,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66064,19 +66064,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2688, + "id": 2180, "name": "ElementaryTypeName", - "src": "49799:7:1" + "src": "51210:7:0" } ], - "id": 2689, + "id": 2181, "name": "VariableDeclaration", - "src": "49799:15:1" + "src": "51210:15:0" } ], - "id": 2690, + "id": 2182, "name": "ParameterList", - "src": "49798:17:1" + "src": "51209:17:0" }, { "children": [ @@ -66085,7 +66085,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -66098,25 +66098,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2692, + "id": 2184, "name": "ElementaryTypeName", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2693, + "id": 2185, "name": "VariableDeclaration", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2694, + "id": 2186, "name": "ParameterList", - "src": "49853:9:1" + "src": "51264:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2694 + "functionReturnParameters": 2186 }, "children": [ { @@ -66151,7 +66151,7 @@ "isPure": false, "lValueRequested": false, "member_name": "get", - "referencedDeclaration": 2479, + "referencedDeclaration": 1971, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" }, "children": [ @@ -66160,31 +66160,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2695, + "id": 2187, "name": "Identifier", - "src": "49880:12:1" + "src": "51292:12:0" } ], - "id": 2696, + "id": 2188, "name": "MemberAccess", - "src": "49880:16:1" + "src": "51292:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2689, + "referencedDeclaration": 2181, "type": "uint256", "value": "tokenId" }, - "id": 2697, + "id": 2189, "name": "Identifier", - "src": "49897:7:1" + "src": "51309:7:0" }, { "attributes": { @@ -66197,34 +66197,34 @@ "type": "literal_string \"ERC721: owner query for nonexistent token\"", "value": "ERC721: owner query for nonexistent token" }, - "id": 2698, + "id": 2190, "name": "Literal", - "src": "49906:43:1" + "src": "51318:43:0" } ], - "id": 2699, + "id": 2191, "name": "FunctionCall", - "src": "49880:70:1" + "src": "51292:70:0" } ], - "id": 2700, + "id": 2192, "name": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ], - "id": 2701, + "id": 2193, "name": "Block", - "src": "49863:94:1" + "src": "51274:96:0" } ], - "id": 2702, + "id": 2194, "name": "FunctionDefinition", - "src": "49782:175:1" + "src": "51193:177:0" }, { "attributes": { "baseFunctions": [ - 665 + 157 ], "functionSelector": "06fdde03", "implemented": true, @@ -66234,7 +66234,7 @@ null ], "name": "name", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66244,9 +66244,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-name}." }, - "id": 2703, + "id": 2195, "name": "StructuredDocumentation", - "src": "49963:51:1" + "src": "51378:53:0" }, { "attributes": { @@ -66254,9 +66254,9 @@ null ] }, - "id": 2705, + "id": 2197, "name": "OverrideSpecifier", - "src": "50055:8:1" + "src": "51473:8:0" }, { "attributes": { @@ -66265,9 +66265,9 @@ ] }, "children": [], - "id": 2704, + "id": 2196, "name": "ParameterList", - "src": "50032:2:1" + "src": "51450:2:0" }, { "children": [ @@ -66276,7 +66276,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2712, + "scope": 2204, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66288,25 +66288,25 @@ "name": "string", "type": "string" }, - "id": 2706, + "id": 2198, "name": "ElementaryTypeName", - "src": "50073:6:1" + "src": "51491:6:0" } ], - "id": 2707, + "id": 2199, "name": "VariableDeclaration", - "src": "50073:13:1" + "src": "51491:13:0" } ], - "id": 2708, + "id": 2200, "name": "ParameterList", - "src": "50072:15:1" + "src": "51490:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2708 + "functionReturnParameters": 2200 }, "children": [ { @@ -66314,33 +66314,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2709, + "id": 2201, "name": "Identifier", - "src": "50105:5:1" + "src": "51524:5:0" } ], - "id": 2710, + "id": 2202, "name": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ], - "id": 2711, + "id": 2203, "name": "Block", - "src": "50088:29:1" + "src": "51506:31:0" } ], - "id": 2712, + "id": 2204, "name": "FunctionDefinition", - "src": "50019:98:1" + "src": "51437:100:0" }, { "attributes": { "baseFunctions": [ - 671 + 163 ], "functionSelector": "95d89b41", "implemented": true, @@ -66350,7 +66350,7 @@ null ], "name": "symbol", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66360,9 +66360,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-symbol}." }, - "id": 2713, + "id": 2205, "name": "StructuredDocumentation", - "src": "50123:53:1" + "src": "51545:55:0" }, { "attributes": { @@ -66370,9 +66370,9 @@ null ] }, - "id": 2715, + "id": 2207, "name": "OverrideSpecifier", - "src": "50219:8:1" + "src": "51644:8:0" }, { "attributes": { @@ -66381,9 +66381,9 @@ ] }, "children": [], - "id": 2714, + "id": 2206, "name": "ParameterList", - "src": "50196:2:1" + "src": "51621:2:0" }, { "children": [ @@ -66392,7 +66392,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2722, + "scope": 2214, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66404,25 +66404,25 @@ "name": "string", "type": "string" }, - "id": 2716, + "id": 2208, "name": "ElementaryTypeName", - "src": "50237:6:1" + "src": "51662:6:0" } ], - "id": 2717, + "id": 2209, "name": "VariableDeclaration", - "src": "50237:13:1" + "src": "51662:13:0" } ], - "id": 2718, + "id": 2210, "name": "ParameterList", - "src": "50236:15:1" + "src": "51661:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2718 + "functionReturnParameters": 2210 }, "children": [ { @@ -66430,33 +66430,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2719, + "id": 2211, "name": "Identifier", - "src": "50269:7:1" + "src": "51695:7:0" } ], - "id": 2720, + "id": 2212, "name": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ], - "id": 2721, + "id": 2213, "name": "Block", - "src": "50252:31:1" + "src": "51677:33:0" } ], - "id": 2722, + "id": 2214, "name": "FunctionDefinition", - "src": "50181:102:1" + "src": "51606:104:0" }, { "attributes": { "baseFunctions": [ - 679 + 171 ], "functionSelector": "c87b56dd", "implemented": true, @@ -66466,7 +66466,7 @@ null ], "name": "tokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66476,9 +66476,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-tokenURI}." }, - "id": 2723, + "id": 2215, "name": "StructuredDocumentation", - "src": "50289:55:1" + "src": "51718:57:0" }, { "attributes": { @@ -66486,9 +66486,9 @@ null ] }, - "id": 2727, + "id": 2219, "name": "OverrideSpecifier", - "src": "50404:8:1" + "src": "51836:8:0" }, { "children": [ @@ -66497,7 +66497,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66509,19 +66509,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2724, + "id": 2216, "name": "ElementaryTypeName", - "src": "50367:7:1" + "src": "51799:7:0" } ], - "id": 2725, + "id": 2217, "name": "VariableDeclaration", - "src": "50367:15:1" + "src": "51799:15:0" } ], - "id": 2726, + "id": 2218, "name": "ParameterList", - "src": "50366:17:1" + "src": "51798:17:0" }, { "children": [ @@ -66530,7 +66530,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66542,19 +66542,19 @@ "name": "string", "type": "string" }, - "id": 2728, + "id": 2220, "name": "ElementaryTypeName", - "src": "50422:6:1" + "src": "51854:6:0" } ], - "id": 2729, + "id": 2221, "name": "VariableDeclaration", - "src": "50422:13:1" + "src": "51854:13:0" } ], - "id": 2730, + "id": 2222, "name": "ParameterList", - "src": "50421:15:1" + "src": "51853:15:0" }, { "children": [ @@ -66595,9 +66595,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2731, + "id": 2223, "name": "Identifier", - "src": "50447:7:1" + "src": "51880:7:0" }, { "attributes": { @@ -66625,31 +66625,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2732, + "id": 2224, "name": "Identifier", - "src": "50455:7:1" + "src": "51888:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2733, + "id": 2225, "name": "Identifier", - "src": "50463:7:1" + "src": "51896:7:0" } ], - "id": 2734, + "id": 2226, "name": "FunctionCall", - "src": "50455:16:1" + "src": "51888:16:0" }, { "attributes": { @@ -66662,24 +66662,24 @@ "type": "literal_string \"ERC721Metadata: URI query for nonexistent token\"", "value": "ERC721Metadata: URI query for nonexistent token" }, - "id": 2735, + "id": 2227, "name": "Literal", - "src": "50473:49:1" + "src": "51906:49:0" } ], - "id": 2736, + "id": 2228, "name": "FunctionCall", - "src": "50447:76:1" + "src": "51880:76:0" } ], - "id": 2737, + "id": 2229, "name": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "attributes": { "assignments": [ - 2739 + 2231 ] }, "children": [ @@ -66688,7 +66688,7 @@ "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66700,14 +66700,14 @@ "name": "string", "type": "string" }, - "id": 2738, + "id": 2230, "name": "ElementaryTypeName", - "src": "50534:6:1" + "src": "51969:6:0" } ], - "id": 2739, + "id": 2231, "name": "VariableDeclaration", - "src": "50534:23:1" + "src": "51969:23:0" }, { "attributes": { @@ -66723,41 +66723,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 2740, + "id": 2232, "name": "Identifier", - "src": "50560:10:1" + "src": "51995:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2741, + "id": 2233, "name": "Identifier", - "src": "50571:7:1" + "src": "52006:7:0" } ], - "id": 2742, + "id": 2234, "name": "IndexAccess", - "src": "50560:19:1" + "src": "51995:19:0" } ], - "id": 2743, + "id": 2235, "name": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "attributes": { "assignments": [ - 2745 + 2237 ] }, "children": [ @@ -66766,7 +66766,7 @@ "constant": false, "mutability": "mutable", "name": "base", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66778,14 +66778,14 @@ "name": "string", "type": "string" }, - "id": 2744, + "id": 2236, "name": "ElementaryTypeName", - "src": "50589:6:1" + "src": "52025:6:0" } ], - "id": 2745, + "id": 2237, "name": "VariableDeclaration", - "src": "50589:18:1" + "src": "52025:18:0" }, { "attributes": { @@ -66813,23 +66813,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2799, + "referencedDeclaration": 2291, "type": "function () view returns (string memory)", "value": "baseURI" }, - "id": 2746, + "id": 2238, "name": "Identifier", - "src": "50610:7:1" + "src": "52046:7:0" } ], - "id": 2747, + "id": 2239, "name": "FunctionCall", - "src": "50610:9:1" + "src": "52046:9:0" } ], - "id": 2748, + "id": 2240, "name": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "attributes": {}, @@ -66892,37 +66892,37 @@ "attributes": { "name": "bytes" }, - "id": 2749, + "id": 2241, "name": "ElementaryTypeName", - "src": "50692:5:1" + "src": "52131:5:0" } ], - "id": 2750, + "id": 2242, "name": "ElementaryTypeNameExpression", - "src": "50692:5:1" + "src": "52131:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2751, + "id": 2243, "name": "Identifier", - "src": "50698:4:1" + "src": "52137:4:0" } ], - "id": 2752, + "id": 2244, "name": "FunctionCall", - "src": "50692:11:1" + "src": "52131:11:0" } ], - "id": 2753, + "id": 2245, "name": "MemberAccess", - "src": "50692:18:1" + "src": "52131:18:0" }, { "attributes": { @@ -66935,20 +66935,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2754, + "id": 2246, "name": "Literal", - "src": "50714:1:1" + "src": "52153:1:0" } ], - "id": 2755, + "id": 2247, "name": "BinaryOperation", - "src": "50692:23:1" + "src": "52131:23:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -66956,28 +66956,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2756, + "id": 2248, "name": "Identifier", - "src": "50738:9:1" + "src": "52178:9:0" } ], - "id": 2757, + "id": 2249, "name": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ], - "id": 2758, + "id": 2250, "name": "Block", - "src": "50717:41:1" + "src": "52156:43:0" } ], - "id": 2759, + "id": 2251, "name": "IfStatement", - "src": "50688:70:1" + "src": "52127:72:0" }, { "attributes": {}, @@ -67040,37 +67040,37 @@ "attributes": { "name": "bytes" }, - "id": 2760, + "id": 2252, "name": "ElementaryTypeName", - "src": "50860:5:1" + "src": "52303:5:0" } ], - "id": 2761, + "id": 2253, "name": "ElementaryTypeNameExpression", - "src": "50860:5:1" + "src": "52303:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2762, + "id": 2254, "name": "Identifier", - "src": "50866:9:1" + "src": "52309:9:0" } ], - "id": 2763, + "id": 2255, "name": "FunctionCall", - "src": "50860:16:1" + "src": "52303:16:0" } ], - "id": 2764, + "id": 2256, "name": "MemberAccess", - "src": "50860:23:1" + "src": "52303:23:0" }, { "attributes": { @@ -67083,20 +67083,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2765, + "id": 2257, "name": "Literal", - "src": "50886:1:1" + "src": "52329:1:0" } ], - "id": 2766, + "id": 2258, "name": "BinaryOperation", - "src": "50860:27:1" + "src": "52303:27:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67133,14 +67133,14 @@ "attributes": { "name": "string" }, - "id": 2767, + "id": 2259, "name": "ElementaryTypeName", - "src": "50910:6:1" + "src": "52354:6:0" } ], - "id": 2768, + "id": 2260, "name": "ElementaryTypeNameExpression", - "src": "50910:6:1" + "src": "52354:6:0" }, { "attributes": { @@ -67186,69 +67186,69 @@ "type": "abi", "value": "abi" }, - "id": 2769, + "id": 2261, "name": "Identifier", - "src": "50917:3:1" + "src": "52361:3:0" } ], - "id": 2770, + "id": 2262, "name": "MemberAccess", - "src": "50917:16:1" + "src": "52361:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2771, + "id": 2263, "name": "Identifier", - "src": "50934:4:1" + "src": "52378:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2772, + "id": 2264, "name": "Identifier", - "src": "50940:9:1" + "src": "52384:9:0" } ], - "id": 2773, + "id": 2265, "name": "FunctionCall", - "src": "50917:33:1" + "src": "52361:33:0" } ], - "id": 2774, + "id": 2266, "name": "FunctionCall", - "src": "50910:41:1" + "src": "52354:41:0" } ], - "id": 2775, + "id": 2267, "name": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ], - "id": 2776, + "id": 2268, "name": "Block", - "src": "50889:73:1" + "src": "52332:75:0" } ], - "id": 2777, + "id": 2269, "name": "IfStatement", - "src": "50856:106:1" + "src": "52299:108:0" }, { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67285,14 +67285,14 @@ "attributes": { "name": "string" }, - "id": 2778, + "id": 2270, "name": "ElementaryTypeName", - "src": "51068:6:1" + "src": "52515:6:0" } ], - "id": 2779, + "id": 2271, "name": "ElementaryTypeNameExpression", - "src": "51068:6:1" + "src": "52515:6:0" }, { "attributes": { @@ -67338,27 +67338,27 @@ "type": "abi", "value": "abi" }, - "id": 2780, + "id": 2272, "name": "Identifier", - "src": "51075:3:1" + "src": "52522:3:0" } ], - "id": 2781, + "id": 2273, "name": "MemberAccess", - "src": "51075:16:1" + "src": "52522:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2782, + "id": 2274, "name": "Identifier", - "src": "51092:4:1" + "src": "52539:4:0" }, { "attributes": { @@ -67388,7 +67388,7 @@ "isPure": false, "lValueRequested": false, "member_name": "toString", - "referencedDeclaration": 2565, + "referencedDeclaration": 2057, "type": "function (uint256) pure returns (string memory)" }, "children": [ @@ -67397,48 +67397,48 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2783, + "id": 2275, "name": "Identifier", - "src": "51098:7:1" + "src": "52545:7:0" } ], - "id": 2784, + "id": 2276, "name": "MemberAccess", - "src": "51098:16:1" + "src": "52545:16:0" } ], - "id": 2785, + "id": 2277, "name": "FunctionCall", - "src": "51098:18:1" + "src": "52545:18:0" } ], - "id": 2786, + "id": 2278, "name": "FunctionCall", - "src": "51075:42:1" + "src": "52522:42:0" } ], - "id": 2787, + "id": 2279, "name": "FunctionCall", - "src": "51068:50:1" + "src": "52515:50:0" } ], - "id": 2788, + "id": 2280, "name": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ], - "id": 2789, + "id": 2281, "name": "Block", - "src": "50437:688:1" + "src": "51869:704:0" } ], - "id": 2790, + "id": 2282, "name": "FunctionDefinition", - "src": "50349:776:1" + "src": "51781:792:0" }, { "attributes": { @@ -67450,7 +67450,7 @@ null ], "name": "baseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67460,9 +67460,9 @@ "attributes": { "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, - "id": 2791, + "id": 2283, "name": "StructuredDocumentation", - "src": "51131:221:1" + "src": "52581:225:0" }, { "attributes": { @@ -67471,9 +67471,9 @@ ] }, "children": [], - "id": 2792, + "id": 2284, "name": "ParameterList", - "src": "51373:2:1" + "src": "52828:2:0" }, { "children": [ @@ -67482,7 +67482,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2799, + "scope": 2291, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -67494,25 +67494,25 @@ "name": "string", "type": "string" }, - "id": 2793, + "id": 2285, "name": "ElementaryTypeName", - "src": "51405:6:1" + "src": "52860:6:0" } ], - "id": 2794, + "id": 2286, "name": "VariableDeclaration", - "src": "51405:13:1" + "src": "52860:13:0" } ], - "id": 2795, + "id": 2287, "name": "ParameterList", - "src": "51404:15:1" + "src": "52859:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2795 + "functionReturnParameters": 2287 }, "children": [ { @@ -67520,33 +67520,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 2796, + "id": 2288, "name": "Identifier", - "src": "51437:8:1" + "src": "52893:8:0" } ], - "id": 2797, + "id": 2289, "name": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ], - "id": 2798, + "id": 2290, "name": "Block", - "src": "51420:32:1" + "src": "52875:34:0" } ], - "id": 2799, + "id": 2291, "name": "FunctionDefinition", - "src": "51357:95:1" + "src": "52812:97:0" }, { "attributes": { "baseFunctions": [ - 700 + 192 ], "functionSelector": "2f745c59", "implemented": true, @@ -67556,7 +67556,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67566,9 +67566,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, - "id": 2800, + "id": 2292, "name": "StructuredDocumentation", - "src": "51458:68:1" + "src": "52917:70:0" }, { "attributes": { @@ -67576,9 +67576,9 @@ null ] }, - "id": 2806, + "id": 2298, "name": "OverrideSpecifier", - "src": "51610:8:1" + "src": "53072:8:0" }, { "children": [ @@ -67587,7 +67587,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -67600,21 +67600,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2801, + "id": 2293, "name": "ElementaryTypeName", - "src": "51560:7:1" + "src": "53022:7:0" } ], - "id": 2802, + "id": 2294, "name": "VariableDeclaration", - "src": "51560:13:1" + "src": "53022:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67626,19 +67626,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2803, + "id": 2295, "name": "ElementaryTypeName", - "src": "51575:7:1" + "src": "53037:7:0" } ], - "id": 2804, + "id": 2296, "name": "VariableDeclaration", - "src": "51575:13:1" + "src": "53037:13:0" } ], - "id": 2805, + "id": 2297, "name": "ParameterList", - "src": "51559:30:1" + "src": "53021:30:0" }, { "children": [ @@ -67647,7 +67647,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67659,25 +67659,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2807, + "id": 2299, "name": "ElementaryTypeName", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2808, + "id": 2300, "name": "VariableDeclaration", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2809, + "id": 2301, "name": "ParameterList", - "src": "51627:9:1" + "src": "53089:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2809 + "functionReturnParameters": 2301 }, "children": [ { @@ -67708,7 +67708,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 1920, + "referencedDeclaration": 1412, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" }, "children": [ @@ -67726,74 +67726,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2810, + "id": 2302, "name": "Identifier", - "src": "51654:13:1" + "src": "53117:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2802, + "referencedDeclaration": 2294, "type": "address", "value": "owner" }, - "id": 2811, + "id": 2303, "name": "Identifier", - "src": "51668:5:1" + "src": "53131:5:0" } ], - "id": 2812, + "id": 2304, "name": "IndexAccess", - "src": "51654:20:1" + "src": "53117:20:0" } ], - "id": 2813, + "id": 2305, "name": "MemberAccess", - "src": "51654:23:1" + "src": "53117:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2804, + "referencedDeclaration": 2296, "type": "uint256", "value": "index" }, - "id": 2814, + "id": 2306, "name": "Identifier", - "src": "51678:5:1" + "src": "53141:5:0" } ], - "id": 2815, + "id": 2307, "name": "FunctionCall", - "src": "51654:30:1" + "src": "53117:30:0" } ], - "id": 2816, + "id": 2308, "name": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ], - "id": 2817, + "id": 2309, "name": "Block", - "src": "51637:54:1" + "src": "53099:56:0" } ], - "id": 2818, + "id": 2310, "name": "FunctionDefinition", - "src": "51531:160:1" + "src": "52993:162:0" }, { "attributes": { "baseFunctions": [ - 690 + 182 ], "functionSelector": "18160ddd", "implemented": true, @@ -67803,7 +67803,7 @@ null ], "name": "totalSupply", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67813,9 +67813,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-totalSupply}." }, - "id": 2819, + "id": 2311, "name": "StructuredDocumentation", - "src": "51697:60:1" + "src": "53163:62:0" }, { "attributes": { @@ -67823,9 +67823,9 @@ null ] }, - "id": 2821, + "id": 2313, "name": "OverrideSpecifier", - "src": "51805:8:1" + "src": "53274:8:0" }, { "attributes": { @@ -67834,9 +67834,9 @@ ] }, "children": [], - "id": 2820, + "id": 2312, "name": "ParameterList", - "src": "51782:2:1" + "src": "53251:2:0" }, { "children": [ @@ -67845,7 +67845,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2830, + "scope": 2322, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67857,25 +67857,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2822, + "id": 2314, "name": "ElementaryTypeName", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2823, + "id": 2315, "name": "VariableDeclaration", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2824, + "id": 2316, "name": "ParameterList", - "src": "51822:9:1" + "src": "53291:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2824 + "functionReturnParameters": 2316 }, "children": [ { @@ -67906,7 +67906,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 2340, + "referencedDeclaration": 1832, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" }, "children": [ @@ -67915,43 +67915,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2825, + "id": 2317, "name": "Identifier", - "src": "51942:12:1" + "src": "53413:12:0" } ], - "id": 2826, + "id": 2318, "name": "MemberAccess", - "src": "51942:19:1" + "src": "53413:19:0" } ], - "id": 2827, + "id": 2319, "name": "FunctionCall", - "src": "51942:21:1" + "src": "53413:21:0" } ], - "id": 2828, + "id": 2320, "name": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ], - "id": 2829, + "id": 2321, "name": "Block", - "src": "51832:138:1" + "src": "53301:141:0" } ], - "id": 2830, + "id": 2322, "name": "FunctionDefinition", - "src": "51762:208:1" + "src": "53231:211:0" }, { "attributes": { "baseFunctions": [ - 708 + 200 ], "functionSelector": "4f6ccce7", "implemented": true, @@ -67961,7 +67961,7 @@ null ], "name": "tokenByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67971,9 +67971,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, - "id": 2831, + "id": 2323, "name": "StructuredDocumentation", - "src": "51976:61:1" + "src": "53450:63:0" }, { "attributes": { @@ -67981,9 +67981,9 @@ null ] }, - "id": 2835, + "id": 2327, "name": "OverrideSpecifier", - "src": "52099:8:1" + "src": "53576:8:0" }, { "children": [ @@ -67992,7 +67992,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68004,19 +68004,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2832, + "id": 2324, "name": "ElementaryTypeName", - "src": "52064:7:1" + "src": "53541:7:0" } ], - "id": 2833, + "id": 2325, "name": "VariableDeclaration", - "src": "52064:13:1" + "src": "53541:13:0" } ], - "id": 2834, + "id": 2326, "name": "ParameterList", - "src": "52063:15:1" + "src": "53540:15:0" }, { "children": [ @@ -68025,7 +68025,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68037,26 +68037,26 @@ "name": "uint256", "type": "uint256" }, - "id": 2836, + "id": 2328, "name": "ElementaryTypeName", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2837, + "id": 2329, "name": "VariableDeclaration", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2838, + "id": 2330, "name": "ParameterList", - "src": "52116:9:1" + "src": "53593:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2840, + 2332, null ] }, @@ -68066,7 +68066,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2848, + "scope": 2340, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68078,14 +68078,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2839, + "id": 2331, "name": "ElementaryTypeName", - "src": "52137:7:1" + "src": "53615:7:0" } ], - "id": 2840, + "id": 2332, "name": "VariableDeclaration", - "src": "52137:15:1" + "src": "53615:15:0" }, { "attributes": { @@ -68115,7 +68115,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 2379, + "referencedDeclaration": 1871, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" }, "children": [ @@ -68124,45 +68124,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2841, + "id": 2333, "name": "Identifier", - "src": "52158:12:1" + "src": "53636:12:0" } ], - "id": 2842, + "id": 2334, "name": "MemberAccess", - "src": "52158:15:1" + "src": "53636:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2833, + "referencedDeclaration": 2325, "type": "uint256", "value": "index" }, - "id": 2843, + "id": 2335, "name": "Identifier", - "src": "52174:5:1" + "src": "53652:5:0" } ], - "id": 2844, + "id": 2336, "name": "FunctionCall", - "src": "52158:22:1" + "src": "53636:22:0" } ], - "id": 2845, + "id": 2337, "name": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "attributes": { - "functionReturnParameters": 2838 + "functionReturnParameters": 2330 }, "children": [ { @@ -68170,33 +68170,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2840, + "referencedDeclaration": 2332, "type": "uint256", "value": "tokenId" }, - "id": 2846, + "id": 2338, "name": "Identifier", - "src": "52197:7:1" + "src": "53676:7:0" } ], - "id": 2847, + "id": 2339, "name": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ], - "id": 2848, + "id": 2340, "name": "Block", - "src": "52126:85:1" + "src": "53603:88:0" } ], - "id": 2849, + "id": 2341, "name": "FunctionDefinition", - "src": "52042:169:1" + "src": "53519:172:0" }, { "attributes": { "baseFunctions": [ - 616 + 108 ], "functionSelector": "095ea7b3", "implemented": true, @@ -68206,7 +68206,7 @@ null ], "name": "approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -68216,9 +68216,9 @@ "attributes": { "text": " @dev See {IERC721-approve}." }, - "id": 2850, + "id": 2342, "name": "StructuredDocumentation", - "src": "52217:46:1" + "src": "53699:48:0" }, { "attributes": { @@ -68226,9 +68226,9 @@ null ] }, - "id": 2856, + "id": 2348, "name": "OverrideSpecifier", - "src": "52329:8:1" + "src": "53814:8:0" }, { "children": [ @@ -68237,7 +68237,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68250,21 +68250,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2851, + "id": 2343, "name": "ElementaryTypeName", - "src": "52285:7:1" + "src": "53770:7:0" } ], - "id": 2852, + "id": 2344, "name": "VariableDeclaration", - "src": "52285:10:1" + "src": "53770:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68276,19 +68276,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2853, + "id": 2345, "name": "ElementaryTypeName", - "src": "52297:7:1" + "src": "53782:7:0" } ], - "id": 2854, + "id": 2346, "name": "VariableDeclaration", - "src": "52297:15:1" + "src": "53782:15:0" } ], - "id": 2855, + "id": 2347, "name": "ParameterList", - "src": "52284:29:1" + "src": "53769:29:0" }, { "attributes": { @@ -68297,16 +68297,16 @@ ] }, "children": [], - "id": 2857, + "id": 2349, "name": "ParameterList", - "src": "52338:0:1" + "src": "53823:0:0" }, { "children": [ { "attributes": { "assignments": [ - 2859 + 2351 ] }, "children": [ @@ -68315,7 +68315,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2892, + "scope": 2384, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68328,14 +68328,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2858, + "id": 2350, "name": "ElementaryTypeName", - "src": "52348:7:1" + "src": "53834:7:0" } ], - "id": 2859, + "id": 2351, "name": "VariableDeclaration", - "src": "52348:13:1" + "src": "53834:13:0" }, { "attributes": { @@ -68365,7 +68365,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -68374,41 +68374,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2860, + "id": 2352, "name": "Identifier", - "src": "52364:6:1" + "src": "53850:6:0" } ], - "id": 2861, + "id": 2353, "name": "MemberAccess", - "src": "52364:14:1" + "src": "53850:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2862, + "id": 2354, "name": "Identifier", - "src": "52379:7:1" + "src": "53865:7:0" } ], - "id": 2863, + "id": 2355, "name": "FunctionCall", - "src": "52364:23:1" + "src": "53850:23:0" } ], - "id": 2864, + "id": 2356, "name": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "children": [ @@ -68447,9 +68447,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2865, + "id": 2357, "name": "Identifier", - "src": "52397:7:1" + "src": "53884:7:0" }, { "attributes": { @@ -68470,31 +68470,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2866, + "id": 2358, "name": "Identifier", - "src": "52405:2:1" + "src": "53892:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2867, + "id": 2359, "name": "Identifier", - "src": "52411:5:1" + "src": "53898:5:0" } ], - "id": 2868, + "id": 2360, "name": "BinaryOperation", - "src": "52405:11:1" + "src": "53892:11:0" }, { "attributes": { @@ -68507,19 +68507,19 @@ "type": "literal_string \"ERC721: approval to current owner\"", "value": "ERC721: approval to current owner" }, - "id": 2869, + "id": 2361, "name": "Literal", - "src": "52418:35:1" + "src": "53905:35:0" } ], - "id": 2870, + "id": 2362, "name": "FunctionCall", - "src": "52397:57:1" + "src": "53884:57:0" } ], - "id": 2871, + "id": 2363, "name": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "children": [ @@ -68558,9 +68558,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2872, + "id": 2364, "name": "Identifier", - "src": "52465:7:1" + "src": "53954:7:0" }, { "attributes": { @@ -68616,36 +68616,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2873, + "id": 2365, "name": "Identifier", - "src": "52473:10:1" + "src": "53962:10:0" } ], - "id": 2874, + "id": 2366, "name": "FunctionCall", - "src": "52473:12:1" + "src": "53962:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2875, + "id": 2367, "name": "Identifier", - "src": "52489:5:1" + "src": "53978:5:0" } ], - "id": 2876, + "id": 2368, "name": "BinaryOperation", - "src": "52473:21:1" + "src": "53962:21:0" }, { "attributes": { @@ -68679,7 +68679,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -68688,31 +68688,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2877, + "id": 2369, "name": "Identifier", - "src": "52498:6:1" + "src": "53987:6:0" } ], - "id": 2878, + "id": 2370, "name": "MemberAccess", - "src": "52498:23:1" + "src": "53987:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2879, + "id": 2371, "name": "Identifier", - "src": "52522:5:1" + "src": "54011:5:0" }, { "attributes": { @@ -68740,28 +68740,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2880, + "id": 2372, "name": "Identifier", - "src": "52529:10:1" + "src": "54018:10:0" } ], - "id": 2881, + "id": 2373, "name": "FunctionCall", - "src": "52529:12:1" + "src": "54018:12:0" } ], - "id": 2882, + "id": 2374, "name": "FunctionCall", - "src": "52498:44:1" + "src": "53987:44:0" } ], - "id": 2883, + "id": 2375, "name": "BinaryOperation", - "src": "52473:69:1" + "src": "53962:69:0" }, { "attributes": { @@ -68774,19 +68774,19 @@ "type": "literal_string \"ERC721: approve caller is not owner nor approved for all\"", "value": "ERC721: approve caller is not owner nor approved for all" }, - "id": 2884, + "id": 2376, "name": "Literal", - "src": "52556:58:1" + "src": "54046:58:0" } ], - "id": 2885, + "id": 2377, "name": "FunctionCall", - "src": "52465:159:1" + "src": "53954:161:0" } ], - "id": 2886, + "id": 2378, "name": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "children": [ @@ -68820,64 +68820,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 2887, + "id": 2379, "name": "Identifier", - "src": "52635:8:1" + "src": "54128:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2888, + "id": 2380, "name": "Identifier", - "src": "52644:2:1" + "src": "54137:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2889, + "id": 2381, "name": "Identifier", - "src": "52648:7:1" + "src": "54141:7:0" } ], - "id": 2890, + "id": 2382, "name": "FunctionCall", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2891, + "id": 2383, "name": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2892, + "id": 2384, "name": "Block", - "src": "52338:325:1" + "src": "53823:334:0" } ], - "id": 2893, + "id": 2385, "name": "FunctionDefinition", - "src": "52268:395:1" + "src": "53753:404:0" }, { "attributes": { "baseFunctions": [ - 624 + 116 ], "functionSelector": "081812fc", "implemented": true, @@ -68887,7 +68887,7 @@ null ], "name": "getApproved", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -68897,9 +68897,9 @@ "attributes": { "text": " @dev See {IERC721-getApproved}." }, - "id": 2894, + "id": 2386, "name": "StructuredDocumentation", - "src": "52669:50:1" + "src": "54165:52:0" }, { "attributes": { @@ -68907,9 +68907,9 @@ null ] }, - "id": 2898, + "id": 2390, "name": "OverrideSpecifier", - "src": "52782:8:1" + "src": "54281:8:0" }, { "children": [ @@ -68918,7 +68918,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68930,19 +68930,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2895, + "id": 2387, "name": "ElementaryTypeName", - "src": "52745:7:1" + "src": "54244:7:0" } ], - "id": 2896, + "id": 2388, "name": "VariableDeclaration", - "src": "52745:15:1" + "src": "54244:15:0" } ], - "id": 2897, + "id": 2389, "name": "ParameterList", - "src": "52744:17:1" + "src": "54243:17:0" }, { "children": [ @@ -68951,7 +68951,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68964,19 +68964,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2899, + "id": 2391, "name": "ElementaryTypeName", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2900, + "id": 2392, "name": "VariableDeclaration", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2901, + "id": 2393, "name": "ParameterList", - "src": "52799:9:1" + "src": "54298:9:0" }, { "children": [ @@ -69017,9 +69017,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2902, + "id": 2394, "name": "Identifier", - "src": "52819:7:1" + "src": "54319:7:0" }, { "attributes": { @@ -69047,31 +69047,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2903, + "id": 2395, "name": "Identifier", - "src": "52827:7:1" + "src": "54327:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2904, + "id": 2396, "name": "Identifier", - "src": "52835:7:1" + "src": "54335:7:0" } ], - "id": 2905, + "id": 2397, "name": "FunctionCall", - "src": "52827:16:1" + "src": "54327:16:0" }, { "attributes": { @@ -69084,23 +69084,23 @@ "type": "literal_string \"ERC721: approved query for nonexistent token\"", "value": "ERC721: approved query for nonexistent token" }, - "id": 2906, + "id": 2398, "name": "Literal", - "src": "52845:46:1" + "src": "54345:46:0" } ], - "id": 2907, + "id": 2399, "name": "FunctionCall", - "src": "52819:73:1" + "src": "54319:73:0" } ], - "id": 2908, + "id": 2400, "name": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "attributes": { - "functionReturnParameters": 2901 + "functionReturnParameters": 2393 }, "children": [ { @@ -69117,51 +69117,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 2909, + "id": 2401, "name": "Identifier", - "src": "52910:15:1" + "src": "54412:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2910, + "id": 2402, "name": "Identifier", - "src": "52926:7:1" + "src": "54428:7:0" } ], - "id": 2911, + "id": 2403, "name": "IndexAccess", - "src": "52910:24:1" + "src": "54412:24:0" } ], - "id": 2912, + "id": 2404, "name": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ], - "id": 2913, + "id": 2405, "name": "Block", - "src": "52809:132:1" + "src": "54308:136:0" } ], - "id": 2914, + "id": 2406, "name": "FunctionDefinition", - "src": "52724:217:1" + "src": "54223:221:0" }, { "attributes": { "baseFunctions": [ - 632 + 124 ], "functionSelector": "a22cb465", "implemented": true, @@ -69171,7 +69171,7 @@ null ], "name": "setApprovalForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69181,9 +69181,9 @@ "attributes": { "text": " @dev See {IERC721-setApprovalForAll}." }, - "id": 2915, + "id": 2407, "name": "StructuredDocumentation", - "src": "52947:56:1" + "src": "54452:58:0" }, { "attributes": { @@ -69191,9 +69191,9 @@ null ] }, - "id": 2921, + "id": 2413, "name": "OverrideSpecifier", - "src": "53083:8:1" + "src": "54591:8:0" }, { "children": [ @@ -69202,7 +69202,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69215,21 +69215,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2916, + "id": 2408, "name": "ElementaryTypeName", - "src": "53035:7:1" + "src": "54543:7:0" } ], - "id": 2917, + "id": 2409, "name": "VariableDeclaration", - "src": "53035:16:1" + "src": "54543:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "approved", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69241,19 +69241,19 @@ "name": "bool", "type": "bool" }, - "id": 2918, + "id": 2410, "name": "ElementaryTypeName", - "src": "53053:4:1" + "src": "54561:4:0" } ], - "id": 2919, + "id": 2411, "name": "VariableDeclaration", - "src": "53053:13:1" + "src": "54561:13:0" } ], - "id": 2920, + "id": 2412, "name": "ParameterList", - "src": "53034:33:1" + "src": "54542:33:0" }, { "attributes": { @@ -69262,9 +69262,9 @@ ] }, "children": [], - "id": 2922, + "id": 2414, "name": "ParameterList", - "src": "53092:0:1" + "src": "54600:0:0" }, { "children": [ @@ -69305,9 +69305,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2923, + "id": 2415, "name": "Identifier", - "src": "53102:7:1" + "src": "54611:7:0" }, { "attributes": { @@ -69328,13 +69328,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2924, + "id": 2416, "name": "Identifier", - "src": "53110:8:1" + "src": "54619:8:0" }, { "attributes": { @@ -69362,23 +69362,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2925, + "id": 2417, "name": "Identifier", - "src": "53122:10:1" + "src": "54631:10:0" } ], - "id": 2926, + "id": 2418, "name": "FunctionCall", - "src": "53122:12:1" + "src": "54631:12:0" } ], - "id": 2927, + "id": 2419, "name": "BinaryOperation", - "src": "53110:24:1" + "src": "54619:24:0" }, { "attributes": { @@ -69391,19 +69391,19 @@ "type": "literal_string \"ERC721: approve to caller\"", "value": "ERC721: approve to caller" }, - "id": 2928, + "id": 2420, "name": "Literal", - "src": "53136:27:1" + "src": "54645:27:0" } ], - "id": 2929, + "id": 2421, "name": "FunctionCall", - "src": "53102:62:1" + "src": "54611:62:0" } ], - "id": 2930, + "id": 2422, "name": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "children": [ @@ -69440,13 +69440,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2931, + "id": 2423, "name": "Identifier", - "src": "53175:18:1" + "src": "54686:18:0" }, { "attributes": { @@ -69474,64 +69474,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2932, + "id": 2424, "name": "Identifier", - "src": "53194:10:1" + "src": "54705:10:0" } ], - "id": 2933, + "id": 2425, "name": "FunctionCall", - "src": "53194:12:1" + "src": "54705:12:0" } ], - "id": 2935, + "id": 2427, "name": "IndexAccess", - "src": "53175:32:1" + "src": "54686:32:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2934, + "id": 2426, "name": "Identifier", - "src": "53208:8:1" + "src": "54719:8:0" } ], - "id": 2936, + "id": 2428, "name": "IndexAccess", - "src": "53175:42:1" + "src": "54686:42:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2937, + "id": 2429, "name": "Identifier", - "src": "53220:8:1" + "src": "54731:8:0" } ], - "id": 2938, + "id": 2430, "name": "Assignment", - "src": "53175:53:1" + "src": "54686:53:0" } ], - "id": 2939, + "id": 2431, "name": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "children": [ @@ -69569,13 +69569,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 572, + "referencedDeclaration": 64, "type": "function (address,address,bool)", "value": "ApprovalForAll" }, - "id": 2940, + "id": 2432, "name": "Identifier", - "src": "53243:14:1" + "src": "54755:14:0" }, { "attributes": { @@ -69603,69 +69603,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2941, + "id": 2433, "name": "Identifier", - "src": "53258:10:1" + "src": "54770:10:0" } ], - "id": 2942, + "id": 2434, "name": "FunctionCall", - "src": "53258:12:1" + "src": "54770:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2943, + "id": 2435, "name": "Identifier", - "src": "53272:8:1" + "src": "54784:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2944, + "id": 2436, "name": "Identifier", - "src": "53282:8:1" + "src": "54794:8:0" } ], - "id": 2945, + "id": 2437, "name": "FunctionCall", - "src": "53243:48:1" + "src": "54755:48:0" } ], - "id": 2946, + "id": 2438, "name": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ], - "id": 2947, + "id": 2439, "name": "Block", - "src": "53092:206:1" + "src": "54600:211:0" } ], - "id": 2948, + "id": 2440, "name": "FunctionDefinition", - "src": "53008:290:1" + "src": "54516:295:0" }, { "attributes": { "baseFunctions": [ - 642 + 134 ], "functionSelector": "e985e9c5", "implemented": true, @@ -69675,7 +69675,7 @@ null ], "name": "isApprovedForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -69685,9 +69685,9 @@ "attributes": { "text": " @dev See {IERC721-isApprovedForAll}." }, - "id": 2949, + "id": 2441, "name": "StructuredDocumentation", - "src": "53304:55:1" + "src": "54819:57:0" }, { "attributes": { @@ -69695,9 +69695,9 @@ null ] }, - "id": 2955, + "id": 2447, "name": "OverrideSpecifier", - "src": "53443:8:1" + "src": "54961:8:0" }, { "children": [ @@ -69706,7 +69706,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69719,21 +69719,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2950, + "id": 2442, "name": "ElementaryTypeName", - "src": "53390:7:1" + "src": "54908:7:0" } ], - "id": 2951, + "id": 2443, "name": "VariableDeclaration", - "src": "53390:13:1" + "src": "54908:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69746,19 +69746,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2952, + "id": 2444, "name": "ElementaryTypeName", - "src": "53405:7:1" + "src": "54923:7:0" } ], - "id": 2953, + "id": 2445, "name": "VariableDeclaration", - "src": "53405:16:1" + "src": "54923:16:0" } ], - "id": 2954, + "id": 2446, "name": "ParameterList", - "src": "53389:33:1" + "src": "54907:33:0" }, { "children": [ @@ -69767,7 +69767,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69779,25 +69779,25 @@ "name": "bool", "type": "bool" }, - "id": 2956, + "id": 2448, "name": "ElementaryTypeName", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2957, + "id": 2449, "name": "VariableDeclaration", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2958, + "id": 2450, "name": "ParameterList", - "src": "53460:6:1" + "src": "54978:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2958 + "functionReturnParameters": 2450 }, "children": [ { @@ -69823,69 +69823,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2959, + "id": 2451, "name": "Identifier", - "src": "53484:18:1" + "src": "55003:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2951, + "referencedDeclaration": 2443, "type": "address", "value": "owner" }, - "id": 2960, + "id": 2452, "name": "Identifier", - "src": "53503:5:1" + "src": "55022:5:0" } ], - "id": 2961, + "id": 2453, "name": "IndexAccess", - "src": "53484:25:1" + "src": "55003:25:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2953, + "referencedDeclaration": 2445, "type": "address", "value": "operator" }, - "id": 2962, + "id": 2454, "name": "Identifier", - "src": "53510:8:1" + "src": "55029:8:0" } ], - "id": 2963, + "id": 2455, "name": "IndexAccess", - "src": "53484:35:1" + "src": "55003:35:0" } ], - "id": 2964, + "id": 2456, "name": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ], - "id": 2965, + "id": 2457, "name": "Block", - "src": "53467:59:1" + "src": "54985:61:0" } ], - "id": 2966, + "id": 2458, "name": "FunctionDefinition", - "src": "53364:162:1" + "src": "54882:164:0" }, { "attributes": { "baseFunctions": [ - 608 + 100 ], "functionSelector": "23b872dd", "implemented": true, @@ -69895,7 +69895,7 @@ null ], "name": "transferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69905,9 +69905,9 @@ "attributes": { "text": " @dev See {IERC721-transferFrom}." }, - "id": 2967, + "id": 2459, "name": "StructuredDocumentation", - "src": "53532:51:1" + "src": "55054:53:0" }, { "attributes": { @@ -69915,9 +69915,9 @@ null ] }, - "id": 2975, + "id": 2467, "name": "OverrideSpecifier", - "src": "53668:8:1" + "src": "55193:8:0" }, { "children": [ @@ -69926,7 +69926,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69939,21 +69939,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2968, + "id": 2460, "name": "ElementaryTypeName", - "src": "53610:7:1" + "src": "55135:7:0" } ], - "id": 2969, + "id": 2461, "name": "VariableDeclaration", - "src": "53610:12:1" + "src": "55135:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69966,21 +69966,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2970, + "id": 2462, "name": "ElementaryTypeName", - "src": "53624:7:1" + "src": "55149:7:0" } ], - "id": 2971, + "id": 2463, "name": "VariableDeclaration", - "src": "53624:10:1" + "src": "55149:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -69992,19 +69992,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2972, + "id": 2464, "name": "ElementaryTypeName", - "src": "53636:7:1" + "src": "55161:7:0" } ], - "id": 2973, + "id": 2465, "name": "VariableDeclaration", - "src": "53636:15:1" + "src": "55161:15:0" } ], - "id": 2974, + "id": 2466, "name": "ParameterList", - "src": "53609:43:1" + "src": "55134:43:0" }, { "attributes": { @@ -70013,9 +70013,9 @@ ] }, "children": [], - "id": 2976, + "id": 2468, "name": "ParameterList", - "src": "53677:0:1" + "src": "55202:0:0" }, { "children": [ @@ -70056,9 +70056,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2977, + "id": 2469, "name": "Identifier", - "src": "53739:7:1" + "src": "55266:7:0" }, { "attributes": { @@ -70090,13 +70090,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 2978, + "id": 2470, "name": "Identifier", - "src": "53747:18:1" + "src": "55274:18:0" }, { "attributes": { @@ -70124,36 +70124,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2979, + "id": 2471, "name": "Identifier", - "src": "53766:10:1" + "src": "55293:10:0" } ], - "id": 2980, + "id": 2472, "name": "FunctionCall", - "src": "53766:12:1" + "src": "55293:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2981, + "id": 2473, "name": "Identifier", - "src": "53780:7:1" + "src": "55307:7:0" } ], - "id": 2982, + "id": 2474, "name": "FunctionCall", - "src": "53747:41:1" + "src": "55274:41:0" }, { "attributes": { @@ -70166,19 +70166,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 2983, + "id": 2475, "name": "Literal", - "src": "53790:51:1" + "src": "55317:51:0" } ], - "id": 2984, + "id": 2476, "name": "FunctionCall", - "src": "53739:103:1" + "src": "55266:103:0" } ], - "id": 2985, + "id": 2477, "name": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "children": [ @@ -70216,77 +70216,77 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 2986, + "id": 2478, "name": "Identifier", - "src": "53853:9:1" + "src": "55382:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2969, + "referencedDeclaration": 2461, "type": "address", "value": "from" }, - "id": 2987, + "id": 2479, "name": "Identifier", - "src": "53863:4:1" + "src": "55392:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2971, + "referencedDeclaration": 2463, "type": "address", "value": "to" }, - "id": 2988, + "id": 2480, "name": "Identifier", - "src": "53869:2:1" + "src": "55398:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2989, + "id": 2481, "name": "Identifier", - "src": "53873:7:1" + "src": "55402:7:0" } ], - "id": 2990, + "id": 2482, "name": "FunctionCall", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2991, + "id": 2483, "name": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2992, + "id": 2484, "name": "Block", - "src": "53677:211:1" + "src": "55202:216:0" } ], - "id": 2993, + "id": 2485, "name": "FunctionDefinition", - "src": "53588:300:1" + "src": "55113:305:0" }, { "attributes": { "baseFunctions": [ - 598 + 90 ], "functionSelector": "42842e0e", "implemented": true, @@ -70296,7 +70296,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70306,9 +70306,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 2994, + "id": 2486, "name": "StructuredDocumentation", - "src": "53894:55:1" + "src": "55426:57:0" }, { "attributes": { @@ -70316,9 +70316,9 @@ null ] }, - "id": 3002, + "id": 2494, "name": "OverrideSpecifier", - "src": "54038:8:1" + "src": "55573:8:0" }, { "children": [ @@ -70327,7 +70327,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70340,21 +70340,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2995, + "id": 2487, "name": "ElementaryTypeName", - "src": "53980:7:1" + "src": "55515:7:0" } ], - "id": 2996, + "id": 2488, "name": "VariableDeclaration", - "src": "53980:12:1" + "src": "55515:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70367,21 +70367,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2997, + "id": 2489, "name": "ElementaryTypeName", - "src": "53994:7:1" + "src": "55529:7:0" } ], - "id": 2998, + "id": 2490, "name": "VariableDeclaration", - "src": "53994:10:1" + "src": "55529:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70393,19 +70393,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2999, + "id": 2491, "name": "ElementaryTypeName", - "src": "54006:7:1" + "src": "55541:7:0" } ], - "id": 3000, + "id": 2492, "name": "VariableDeclaration", - "src": "54006:15:1" + "src": "55541:15:0" } ], - "id": 3001, + "id": 2493, "name": "ParameterList", - "src": "53979:43:1" + "src": "55514:43:0" }, { "attributes": { @@ -70414,9 +70414,9 @@ ] }, "children": [], - "id": 3003, + "id": 2495, "name": "ParameterList", - "src": "54047:0:1" + "src": "55582:0:0" }, { "children": [ @@ -70458,55 +70458,55 @@ } ], "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, + "referencedDeclaration": 2534, "type": "function (address,address,uint256,bytes memory)", "value": "safeTransferFrom" }, - "id": 3004, + "id": 2496, "name": "Identifier", - "src": "54057:16:1" + "src": "55593:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2996, + "referencedDeclaration": 2488, "type": "address", "value": "from" }, - "id": 3005, + "id": 2497, "name": "Identifier", - "src": "54074:4:1" + "src": "55610:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2998, + "referencedDeclaration": 2490, "type": "address", "value": "to" }, - "id": 3006, + "id": 2498, "name": "Identifier", - "src": "54080:2:1" + "src": "55616:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3000, + "referencedDeclaration": 2492, "type": "uint256", "value": "tokenId" }, - "id": 3007, + "id": 2499, "name": "Identifier", - "src": "54084:7:1" + "src": "55620:7:0" }, { "attributes": { @@ -70519,34 +70519,34 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3008, + "id": 2500, "name": "Literal", - "src": "54093:2:1" + "src": "55629:2:0" } ], - "id": 3009, + "id": 2501, "name": "FunctionCall", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3010, + "id": 2502, "name": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3011, + "id": 2503, "name": "Block", - "src": "54047:56:1" + "src": "55582:58:0" } ], - "id": 3012, + "id": 2504, "name": "FunctionDefinition", - "src": "53954:149:1" + "src": "55489:151:0" }, { "attributes": { "baseFunctions": [ - 654 + 146 ], "functionSelector": "b88d4fde", "implemented": true, @@ -70556,7 +70556,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70566,9 +70566,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 3013, + "id": 2505, "name": "StructuredDocumentation", - "src": "54109:55:1" + "src": "55648:57:0" }, { "attributes": { @@ -70576,9 +70576,9 @@ null ] }, - "id": 3023, + "id": 2515, "name": "OverrideSpecifier", - "src": "54273:8:1" + "src": "55815:8:0" }, { "children": [ @@ -70587,7 +70587,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70600,21 +70600,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3014, + "id": 2506, "name": "ElementaryTypeName", - "src": "54195:7:1" + "src": "55737:7:0" } ], - "id": 3015, + "id": 2507, "name": "VariableDeclaration", - "src": "54195:12:1" + "src": "55737:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70627,21 +70627,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3016, + "id": 2508, "name": "ElementaryTypeName", - "src": "54209:7:1" + "src": "55751:7:0" } ], - "id": 3017, + "id": 2509, "name": "VariableDeclaration", - "src": "54209:10:1" + "src": "55751:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70653,21 +70653,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3018, + "id": 2510, "name": "ElementaryTypeName", - "src": "54221:7:1" + "src": "55763:7:0" } ], - "id": 3019, + "id": 2511, "name": "VariableDeclaration", - "src": "54221:15:1" + "src": "55763:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -70679,19 +70679,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3020, + "id": 2512, "name": "ElementaryTypeName", - "src": "54238:5:1" + "src": "55780:5:0" } ], - "id": 3021, + "id": 2513, "name": "VariableDeclaration", - "src": "54238:18:1" + "src": "55780:18:0" } ], - "id": 3022, + "id": 2514, "name": "ParameterList", - "src": "54194:63:1" + "src": "55736:63:0" }, { "attributes": { @@ -70700,9 +70700,9 @@ ] }, "children": [], - "id": 3024, + "id": 2516, "name": "ParameterList", - "src": "54282:0:1" + "src": "55824:0:0" }, { "children": [ @@ -70743,9 +70743,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3025, + "id": 2517, "name": "Identifier", - "src": "54292:7:1" + "src": "55835:7:0" }, { "attributes": { @@ -70777,13 +70777,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 3026, + "id": 2518, "name": "Identifier", - "src": "54300:18:1" + "src": "55843:18:0" }, { "attributes": { @@ -70811,36 +70811,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3027, + "id": 2519, "name": "Identifier", - "src": "54319:10:1" + "src": "55862:10:0" } ], - "id": 3028, + "id": 2520, "name": "FunctionCall", - "src": "54319:12:1" + "src": "55862:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3029, + "id": 2521, "name": "Identifier", - "src": "54333:7:1" + "src": "55876:7:0" } ], - "id": 3030, + "id": 2522, "name": "FunctionCall", - "src": "54300:41:1" + "src": "55843:41:0" }, { "attributes": { @@ -70853,19 +70853,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 3031, + "id": 2523, "name": "Literal", - "src": "54343:51:1" + "src": "55886:51:0" } ], - "id": 3032, + "id": 2524, "name": "FunctionCall", - "src": "54292:103:1" + "src": "55835:103:0" } ], - "id": 3033, + "id": 2525, "name": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "children": [ @@ -70907,85 +70907,85 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3071, + "referencedDeclaration": 2563, "type": "function (address,address,uint256,bytes memory)", "value": "_safeTransfer" }, - "id": 3034, + "id": 2526, "name": "Identifier", - "src": "54405:13:1" + "src": "55949:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3015, + "referencedDeclaration": 2507, "type": "address", "value": "from" }, - "id": 3035, + "id": 2527, "name": "Identifier", - "src": "54419:4:1" + "src": "55963:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3017, + "referencedDeclaration": 2509, "type": "address", "value": "to" }, - "id": 3036, + "id": 2528, "name": "Identifier", - "src": "54425:2:1" + "src": "55969:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3037, + "id": 2529, "name": "Identifier", - "src": "54429:7:1" + "src": "55973:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3021, + "referencedDeclaration": 2513, "type": "bytes memory", "value": "_data" }, - "id": 3038, + "id": 2530, "name": "Identifier", - "src": "54438:5:1" + "src": "55982:5:0" } ], - "id": 3039, + "id": 2531, "name": "FunctionCall", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3040, + "id": 2532, "name": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3041, + "id": 2533, "name": "Block", - "src": "54282:169:1" + "src": "55824:172:0" } ], - "id": 3042, + "id": 2534, "name": "FunctionDefinition", - "src": "54169:282:1" + "src": "55711:285:0" }, { "attributes": { @@ -70996,7 +70996,7 @@ null ], "name": "_safeTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -71006,9 +71006,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3043, + "id": 2535, "name": "StructuredDocumentation", - "src": "54457:851:1" + "src": "56004:868:0" }, { "children": [ @@ -71017,7 +71017,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71030,21 +71030,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3044, + "id": 2536, "name": "ElementaryTypeName", - "src": "55336:7:1" + "src": "56901:7:0" } ], - "id": 3045, + "id": 2537, "name": "VariableDeclaration", - "src": "55336:12:1" + "src": "56901:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71057,21 +71057,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3046, + "id": 2538, "name": "ElementaryTypeName", - "src": "55350:7:1" + "src": "56915:7:0" } ], - "id": 3047, + "id": 2539, "name": "VariableDeclaration", - "src": "55350:10:1" + "src": "56915:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71083,21 +71083,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3048, + "id": 2540, "name": "ElementaryTypeName", - "src": "55362:7:1" + "src": "56927:7:0" } ], - "id": 3049, + "id": 2541, "name": "VariableDeclaration", - "src": "55362:15:1" + "src": "56927:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -71109,19 +71109,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3050, + "id": 2542, "name": "ElementaryTypeName", - "src": "55379:5:1" + "src": "56944:5:0" } ], - "id": 3051, + "id": 2543, "name": "VariableDeclaration", - "src": "55379:18:1" + "src": "56944:18:0" } ], - "id": 3052, + "id": 2544, "name": "ParameterList", - "src": "55335:63:1" + "src": "56900:63:0" }, { "attributes": { @@ -71130,9 +71130,9 @@ ] }, "children": [], - "id": 3053, + "id": 2545, "name": "ParameterList", - "src": "55416:0:1" + "src": "56981:0:0" }, { "children": [ @@ -71172,62 +71172,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 3054, + "id": 2546, "name": "Identifier", - "src": "55426:9:1" + "src": "56992:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3055, + "id": 2547, "name": "Identifier", - "src": "55436:4:1" + "src": "57002:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3056, + "id": 2548, "name": "Identifier", - "src": "55442:2:1" + "src": "57008:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3057, + "id": 2549, "name": "Identifier", - "src": "55446:7:1" + "src": "57012:7:0" } ], - "id": 3058, + "id": 2550, "name": "FunctionCall", - "src": "55426:28:1" + "src": "56992:28:0" } ], - "id": 3059, + "id": 2551, "name": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "children": [ @@ -71266,9 +71266,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3060, + "id": 2552, "name": "Identifier", - "src": "55464:7:1" + "src": "57031:7:0" }, { "attributes": { @@ -71308,70 +71308,70 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3061, + "id": 2553, "name": "Identifier", - "src": "55472:22:1" + "src": "57039:22:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3062, + "id": 2554, "name": "Identifier", - "src": "55495:4:1" + "src": "57062:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3063, + "id": 2555, "name": "Identifier", - "src": "55501:2:1" + "src": "57068:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3064, + "id": 2556, "name": "Identifier", - "src": "55505:7:1" + "src": "57072:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3051, + "referencedDeclaration": 2543, "type": "bytes memory", "value": "_data" }, - "id": 3065, + "id": 2557, "name": "Identifier", - "src": "55514:5:1" + "src": "57081:5:0" } ], - "id": 3066, + "id": 2558, "name": "FunctionCall", - "src": "55472:48:1" + "src": "57039:48:0" }, { "attributes": { @@ -71384,29 +71384,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3067, + "id": 2559, "name": "Literal", - "src": "55522:52:1" + "src": "57089:52:0" } ], - "id": 3068, + "id": 2560, "name": "FunctionCall", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3069, + "id": 2561, "name": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3070, + "id": 2562, "name": "Block", - "src": "55416:166:1" + "src": "56981:169:0" } ], - "id": 3071, + "id": 2563, "name": "FunctionDefinition", - "src": "55313:269:1" + "src": "56878:272:0" }, { "attributes": { @@ -71417,7 +71417,7 @@ null ], "name": "_exists", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71427,9 +71427,9 @@ "attributes": { "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3072, + "id": 2564, "name": "StructuredDocumentation", - "src": "55588:292:1" + "src": "57158:299:0" }, { "children": [ @@ -71438,7 +71438,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71450,19 +71450,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3073, + "id": 2565, "name": "ElementaryTypeName", - "src": "55902:7:1" + "src": "57480:7:0" } ], - "id": 3074, + "id": 2566, "name": "VariableDeclaration", - "src": "55902:15:1" + "src": "57480:15:0" } ], - "id": 3075, + "id": 2567, "name": "ParameterList", - "src": "55901:17:1" + "src": "57479:17:0" }, { "children": [ @@ -71471,7 +71471,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71483,25 +71483,25 @@ "name": "bool", "type": "bool" }, - "id": 3076, + "id": 2568, "name": "ElementaryTypeName", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3077, + "id": 2569, "name": "VariableDeclaration", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3078, + "id": 2570, "name": "ParameterList", - "src": "55949:6:1" + "src": "57527:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3078 + "functionReturnParameters": 2570 }, "children": [ { @@ -71532,7 +71532,7 @@ "isPure": false, "lValueRequested": false, "member_name": "contains", - "referencedDeclaration": 2326, + "referencedDeclaration": 1818, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" }, "children": [ @@ -71541,51 +71541,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3079, + "id": 2571, "name": "Identifier", - "src": "55973:12:1" + "src": "57552:12:0" } ], - "id": 3080, + "id": 2572, "name": "MemberAccess", - "src": "55973:21:1" + "src": "57552:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3074, + "referencedDeclaration": 2566, "type": "uint256", "value": "tokenId" }, - "id": 3081, + "id": 2573, "name": "Identifier", - "src": "55995:7:1" + "src": "57574:7:0" } ], - "id": 3082, + "id": 2574, "name": "FunctionCall", - "src": "55973:30:1" + "src": "57552:30:0" } ], - "id": 3083, + "id": 2575, "name": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ], - "id": 3084, + "id": 2576, "name": "Block", - "src": "55956:54:1" + "src": "57534:56:0" } ], - "id": 3085, + "id": 2577, "name": "FunctionDefinition", - "src": "55885:125:1" + "src": "57463:127:0" }, { "attributes": { @@ -71596,7 +71596,7 @@ null ], "name": "_isApprovedOrOwner", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71606,9 +71606,9 @@ "attributes": { "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3086, + "id": 2578, "name": "StructuredDocumentation", - "src": "56016:147:1" + "src": "57598:153:0" }, { "children": [ @@ -71617,7 +71617,7 @@ "constant": false, "mutability": "mutable", "name": "spender", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71630,21 +71630,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3087, + "id": 2579, "name": "ElementaryTypeName", - "src": "56196:7:1" + "src": "57785:7:0" } ], - "id": 3088, + "id": 2580, "name": "VariableDeclaration", - "src": "56196:15:1" + "src": "57785:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71656,19 +71656,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3089, + "id": 2581, "name": "ElementaryTypeName", - "src": "56213:7:1" + "src": "57802:7:0" } ], - "id": 3090, + "id": 2582, "name": "VariableDeclaration", - "src": "56213:15:1" + "src": "57802:15:0" } ], - "id": 3091, + "id": 2583, "name": "ParameterList", - "src": "56195:34:1" + "src": "57784:34:0" }, { "children": [ @@ -71677,7 +71677,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71689,19 +71689,19 @@ "name": "bool", "type": "bool" }, - "id": 3092, + "id": 2584, "name": "ElementaryTypeName", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3093, + "id": 2585, "name": "VariableDeclaration", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3094, + "id": 2586, "name": "ParameterList", - "src": "56260:6:1" + "src": "57849:6:0" }, { "children": [ @@ -71742,9 +71742,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3095, + "id": 2587, "name": "Identifier", - "src": "56277:7:1" + "src": "57867:7:0" }, { "attributes": { @@ -71772,31 +71772,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3096, + "id": 2588, "name": "Identifier", - "src": "56285:7:1" + "src": "57875:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3097, + "id": 2589, "name": "Identifier", - "src": "56293:7:1" + "src": "57883:7:0" } ], - "id": 3098, + "id": 2590, "name": "FunctionCall", - "src": "56285:16:1" + "src": "57875:16:0" }, { "attributes": { @@ -71809,24 +71809,24 @@ "type": "literal_string \"ERC721: operator query for nonexistent token\"", "value": "ERC721: operator query for nonexistent token" }, - "id": 3099, + "id": 2591, "name": "Literal", - "src": "56303:46:1" + "src": "57893:46:0" } ], - "id": 3100, + "id": 2592, "name": "FunctionCall", - "src": "56277:73:1" + "src": "57867:73:0" } ], - "id": 3101, + "id": 2593, "name": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "attributes": { "assignments": [ - 3103 + 2595 ] }, "children": [ @@ -71835,7 +71835,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3126, + "scope": 2618, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71848,14 +71848,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3102, + "id": 2594, "name": "ElementaryTypeName", - "src": "56360:7:1" + "src": "57951:7:0" } ], - "id": 3103, + "id": 2595, "name": "VariableDeclaration", - "src": "56360:13:1" + "src": "57951:13:0" }, { "attributes": { @@ -71885,7 +71885,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -71894,45 +71894,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3104, + "id": 2596, "name": "Identifier", - "src": "56376:6:1" + "src": "57967:6:0" } ], - "id": 3105, + "id": 2597, "name": "MemberAccess", - "src": "56376:14:1" + "src": "57967:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3106, + "id": 2598, "name": "Identifier", - "src": "56391:7:1" + "src": "57982:7:0" } ], - "id": 3107, + "id": 2599, "name": "FunctionCall", - "src": "56376:23:1" + "src": "57967:23:0" } ], - "id": 3108, + "id": 2600, "name": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "attributes": { - "functionReturnParameters": 3094 + "functionReturnParameters": 2586 }, "children": [ { @@ -71992,31 +71992,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3109, + "id": 2601, "name": "Identifier", - "src": "56417:7:1" + "src": "58009:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3110, + "id": 2602, "name": "Identifier", - "src": "56428:5:1" + "src": "58020:5:0" } ], - "id": 3111, + "id": 2603, "name": "BinaryOperation", - "src": "56417:16:1" + "src": "58009:16:0" }, { "attributes": { @@ -72058,54 +72058,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2914, + "referencedDeclaration": 2406, "type": "function (uint256) view returns (address)", "value": "getApproved" }, - "id": 3112, + "id": 2604, "name": "Identifier", - "src": "56437:11:1" + "src": "58029:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3113, + "id": 2605, "name": "Identifier", - "src": "56449:7:1" + "src": "58041:7:0" } ], - "id": 3114, + "id": 2606, "name": "FunctionCall", - "src": "56437:20:1" + "src": "58029:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3115, + "id": 2607, "name": "Identifier", - "src": "56461:7:1" + "src": "58053:7:0" } ], - "id": 3116, + "id": 2608, "name": "BinaryOperation", - "src": "56437:31:1" + "src": "58029:31:0" } ], - "id": 3117, + "id": 2609, "name": "BinaryOperation", - "src": "56417:51:1" + "src": "58009:51:0" }, { "attributes": { @@ -72139,7 +72139,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -72148,74 +72148,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3118, + "id": 2610, "name": "Identifier", - "src": "56472:6:1" + "src": "58064:6:0" } ], - "id": 3119, + "id": 2611, "name": "MemberAccess", - "src": "56472:23:1" + "src": "58064:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3120, + "id": 2612, "name": "Identifier", - "src": "56496:5:1" + "src": "58088:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3121, + "id": 2613, "name": "Identifier", - "src": "56503:7:1" + "src": "58095:7:0" } ], - "id": 3122, + "id": 2614, "name": "FunctionCall", - "src": "56472:39:1" + "src": "58064:39:0" } ], - "id": 3123, + "id": 2615, "name": "BinaryOperation", - "src": "56417:94:1" + "src": "58009:94:0" } ], - "id": 3124, + "id": 2616, "name": "TupleExpression", - "src": "56416:96:1" + "src": "58008:96:0" } ], - "id": 3125, + "id": 2617, "name": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ], - "id": 3126, + "id": 2618, "name": "Block", - "src": "56267:252:1" + "src": "57856:256:0" } ], - "id": 3127, + "id": 2619, "name": "FunctionDefinition", - "src": "56168:351:1" + "src": "57757:355:0" }, { "attributes": { @@ -72226,7 +72226,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72236,9 +72236,9 @@ "attributes": { "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3128, + "id": 2620, "name": "StructuredDocumentation", - "src": "56525:320:1" + "src": "58120:329:0" }, { "children": [ @@ -72247,7 +72247,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72260,21 +72260,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3129, + "id": 2621, "name": "ElementaryTypeName", - "src": "56869:7:1" + "src": "58474:7:0" } ], - "id": 3130, + "id": 2622, "name": "VariableDeclaration", - "src": "56869:10:1" + "src": "58474:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72286,19 +72286,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3131, + "id": 2623, "name": "ElementaryTypeName", - "src": "56881:7:1" + "src": "58486:7:0" } ], - "id": 3132, + "id": 2624, "name": "VariableDeclaration", - "src": "56881:15:1" + "src": "58486:15:0" } ], - "id": 3133, + "id": 2625, "name": "ParameterList", - "src": "56868:29:1" + "src": "58473:29:0" }, { "attributes": { @@ -72307,9 +72307,9 @@ ] }, "children": [], - "id": 3134, + "id": 2626, "name": "ParameterList", - "src": "56915:0:1" + "src": "58520:0:0" }, { "children": [ @@ -72347,42 +72347,42 @@ } ], "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, + "referencedDeclaration": 2663, "type": "function (address,uint256,bytes memory)", "value": "_safeMint" }, - "id": 3135, + "id": 2627, "name": "Identifier", - "src": "56925:9:1" + "src": "58531:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3130, + "referencedDeclaration": 2622, "type": "address", "value": "to" }, - "id": 3136, + "id": 2628, "name": "Identifier", - "src": "56935:2:1" + "src": "58541:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3132, + "referencedDeclaration": 2624, "type": "uint256", "value": "tokenId" }, - "id": 3137, + "id": 2629, "name": "Identifier", - "src": "56939:7:1" + "src": "58545:7:0" }, { "attributes": { @@ -72395,29 +72395,29 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3138, + "id": 2630, "name": "Literal", - "src": "56948:2:1" + "src": "58554:2:0" } ], - "id": 3139, + "id": 2631, "name": "FunctionCall", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3140, + "id": 2632, "name": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3141, + "id": 2633, "name": "Block", - "src": "56915:43:1" + "src": "58520:45:0" } ], - "id": 3142, + "id": 2634, "name": "FunctionDefinition", - "src": "56850:108:1" + "src": "58455:110:0" }, { "attributes": { @@ -72428,7 +72428,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72438,9 +72438,9 @@ "attributes": { "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3143, + "id": 2635, "name": "StructuredDocumentation", - "src": "56964:210:1" + "src": "58573:213:0" }, { "children": [ @@ -72449,7 +72449,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72462,21 +72462,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3144, + "id": 2636, "name": "ElementaryTypeName", - "src": "57198:7:1" + "src": "58811:7:0" } ], - "id": 3145, + "id": 2637, "name": "VariableDeclaration", - "src": "57198:10:1" + "src": "58811:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72488,21 +72488,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3146, + "id": 2638, "name": "ElementaryTypeName", - "src": "57210:7:1" + "src": "58823:7:0" } ], - "id": 3147, + "id": 2639, "name": "VariableDeclaration", - "src": "57210:15:1" + "src": "58823:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -72514,19 +72514,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3148, + "id": 2640, "name": "ElementaryTypeName", - "src": "57227:5:1" + "src": "58840:5:0" } ], - "id": 3149, + "id": 2641, "name": "VariableDeclaration", - "src": "57227:18:1" + "src": "58840:18:0" } ], - "id": 3150, + "id": 2642, "name": "ParameterList", - "src": "57197:49:1" + "src": "58810:49:0" }, { "attributes": { @@ -72535,9 +72535,9 @@ ] }, "children": [], - "id": 3151, + "id": 2643, "name": "ParameterList", - "src": "57264:0:1" + "src": "58877:0:0" }, { "children": [ @@ -72573,49 +72573,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3230, + "referencedDeclaration": 2722, "type": "function (address,uint256)", "value": "_mint" }, - "id": 3152, + "id": 2644, "name": "Identifier", - "src": "57274:5:1" + "src": "58888:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3153, + "id": 2645, "name": "Identifier", - "src": "57280:2:1" + "src": "58894:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3154, + "id": 2646, "name": "Identifier", - "src": "57284:7:1" + "src": "58898:7:0" } ], - "id": 3155, + "id": 2647, "name": "FunctionCall", - "src": "57274:18:1" + "src": "58888:18:0" } ], - "id": 3156, + "id": 2648, "name": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "children": [ @@ -72654,9 +72654,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3157, + "id": 2649, "name": "Identifier", - "src": "57302:7:1" + "src": "58917:7:0" }, { "attributes": { @@ -72696,13 +72696,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3158, + "id": 2650, "name": "Identifier", - "src": "57310:22:1" + "src": "58925:22:0" }, { "attributes": { @@ -72738,14 +72738,14 @@ "attributes": { "name": "address" }, - "id": 3159, + "id": 2651, "name": "ElementaryTypeName", - "src": "57333:7:1" + "src": "58948:7:0" } ], - "id": 3160, + "id": 2652, "name": "ElementaryTypeNameExpression", - "src": "57333:7:1" + "src": "58948:7:0" }, { "attributes": { @@ -72758,58 +72758,58 @@ "type": "int_const 0", "value": "0" }, - "id": 3161, + "id": 2653, "name": "Literal", - "src": "57341:1:1" + "src": "58956:1:0" } ], - "id": 3162, + "id": 2654, "name": "FunctionCall", - "src": "57333:10:1" + "src": "58948:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3163, + "id": 2655, "name": "Identifier", - "src": "57345:2:1" + "src": "58960:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3164, + "id": 2656, "name": "Identifier", - "src": "57349:7:1" + "src": "58964:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3149, + "referencedDeclaration": 2641, "type": "bytes memory", "value": "_data" }, - "id": 3165, + "id": 2657, "name": "Identifier", - "src": "57358:5:1" + "src": "58973:5:0" } ], - "id": 3166, + "id": 2658, "name": "FunctionCall", - "src": "57310:54:1" + "src": "58925:54:0" }, { "attributes": { @@ -72822,29 +72822,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3167, + "id": 2659, "name": "Literal", - "src": "57366:52:1" + "src": "58981:52:0" } ], - "id": 3168, + "id": 2660, "name": "FunctionCall", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3169, + "id": 2661, "name": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3170, + "id": 2662, "name": "Block", - "src": "57264:162:1" + "src": "58877:165:0" } ], - "id": 3171, + "id": 2663, "name": "FunctionDefinition", - "src": "57179:247:1" + "src": "58792:250:0" }, { "attributes": { @@ -72855,7 +72855,7 @@ null ], "name": "_mint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72865,9 +72865,9 @@ "attributes": { "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3172, + "id": 2664, "name": "StructuredDocumentation", - "src": "57432:311:1" + "src": "59050:322:0" }, { "children": [ @@ -72876,7 +72876,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72889,21 +72889,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3173, + "id": 2665, "name": "ElementaryTypeName", - "src": "57763:7:1" + "src": "59393:7:0" } ], - "id": 3174, + "id": 2666, "name": "VariableDeclaration", - "src": "57763:10:1" + "src": "59393:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72915,19 +72915,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3175, + "id": 2667, "name": "ElementaryTypeName", - "src": "57775:7:1" + "src": "59405:7:0" } ], - "id": 3176, + "id": 2668, "name": "VariableDeclaration", - "src": "57775:15:1" + "src": "59405:15:0" } ], - "id": 3177, + "id": 2669, "name": "ParameterList", - "src": "57762:29:1" + "src": "59392:29:0" }, { "attributes": { @@ -72936,9 +72936,9 @@ ] }, "children": [], - "id": 3178, + "id": 2670, "name": "ParameterList", - "src": "57809:0:1" + "src": "59439:0:0" }, { "children": [ @@ -72979,9 +72979,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3179, + "id": 2671, "name": "Identifier", - "src": "57819:7:1" + "src": "59450:7:0" }, { "attributes": { @@ -73002,13 +73002,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3180, + "id": 2672, "name": "Identifier", - "src": "57827:2:1" + "src": "59458:2:0" }, { "attributes": { @@ -73044,14 +73044,14 @@ "attributes": { "name": "address" }, - "id": 3181, + "id": 2673, "name": "ElementaryTypeName", - "src": "57833:7:1" + "src": "59464:7:0" } ], - "id": 3182, + "id": 2674, "name": "ElementaryTypeNameExpression", - "src": "57833:7:1" + "src": "59464:7:0" }, { "attributes": { @@ -73064,19 +73064,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3183, + "id": 2675, "name": "Literal", - "src": "57841:1:1" + "src": "59472:1:0" } ], - "id": 3184, + "id": 2676, "name": "FunctionCall", - "src": "57833:10:1" + "src": "59464:10:0" } ], - "id": 3185, + "id": 2677, "name": "BinaryOperation", - "src": "57827:16:1" + "src": "59458:16:0" }, { "attributes": { @@ -73089,19 +73089,19 @@ "type": "literal_string \"ERC721: mint to the zero address\"", "value": "ERC721: mint to the zero address" }, - "id": 3186, + "id": 2678, "name": "Literal", - "src": "57845:34:1" + "src": "59476:34:0" } ], - "id": 3187, + "id": 2679, "name": "FunctionCall", - "src": "57819:61:1" + "src": "59450:61:0" } ], - "id": 3188, + "id": 2680, "name": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "children": [ @@ -73140,9 +73140,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3189, + "id": 2681, "name": "Identifier", - "src": "57890:7:1" + "src": "59522:7:0" }, { "attributes": { @@ -73181,36 +73181,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3190, + "id": 2682, "name": "Identifier", - "src": "57899:7:1" + "src": "59531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3191, + "id": 2683, "name": "Identifier", - "src": "57907:7:1" + "src": "59539:7:0" } ], - "id": 3192, + "id": 2684, "name": "FunctionCall", - "src": "57899:16:1" + "src": "59531:16:0" } ], - "id": 3193, + "id": 2685, "name": "UnaryOperation", - "src": "57898:17:1" + "src": "59530:17:0" }, { "attributes": { @@ -73223,19 +73223,19 @@ "type": "literal_string \"ERC721: token already minted\"", "value": "ERC721: token already minted" }, - "id": 3194, + "id": 2686, "name": "Literal", - "src": "57917:30:1" + "src": "59549:30:0" } ], - "id": 3195, + "id": 2687, "name": "FunctionCall", - "src": "57890:58:1" + "src": "59522:58:0" } ], - "id": 3196, + "id": 2688, "name": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "children": [ @@ -73273,13 +73273,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3197, + "id": 2689, "name": "Identifier", - "src": "57959:20:1" + "src": "59593:20:0" }, { "attributes": { @@ -73315,14 +73315,14 @@ "attributes": { "name": "address" }, - "id": 3198, + "id": 2690, "name": "ElementaryTypeName", - "src": "57980:7:1" + "src": "59614:7:0" } ], - "id": 3199, + "id": 2691, "name": "ElementaryTypeNameExpression", - "src": "57980:7:1" + "src": "59614:7:0" }, { "attributes": { @@ -73335,50 +73335,50 @@ "type": "int_const 0", "value": "0" }, - "id": 3200, + "id": 2692, "name": "Literal", - "src": "57988:1:1" + "src": "59622:1:0" } ], - "id": 3201, + "id": 2693, "name": "FunctionCall", - "src": "57980:10:1" + "src": "59614:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3202, + "id": 2694, "name": "Identifier", - "src": "57992:2:1" + "src": "59626:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3203, + "id": 2695, "name": "Identifier", - "src": "57996:7:1" + "src": "59630:7:0" } ], - "id": 3204, + "id": 2696, "name": "FunctionCall", - "src": "57959:45:1" + "src": "59593:45:0" } ], - "id": 3205, + "id": 2697, "name": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "children": [ @@ -73410,7 +73410,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -73428,59 +73428,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3206, + "id": 2698, "name": "Identifier", - "src": "58015:13:1" + "src": "59651:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3207, + "id": 2699, "name": "Identifier", - "src": "58029:2:1" + "src": "59665:2:0" } ], - "id": 3208, + "id": 2700, "name": "IndexAccess", - "src": "58015:17:1" + "src": "59651:17:0" } ], - "id": 3209, + "id": 2701, "name": "MemberAccess", - "src": "58015:21:1" + "src": "59651:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3210, + "id": 2702, "name": "Identifier", - "src": "58037:7:1" + "src": "59673:7:0" } ], - "id": 3211, + "id": 2703, "name": "FunctionCall", - "src": "58015:30:1" + "src": "59651:30:0" } ], - "id": 3212, + "id": 2704, "name": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "children": [ @@ -73516,7 +73516,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -73525,54 +73525,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3213, + "id": 2705, "name": "Identifier", - "src": "58056:12:1" + "src": "59694:12:0" } ], - "id": 3215, + "id": 2707, "name": "MemberAccess", - "src": "58056:16:1" + "src": "59694:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3216, + "id": 2708, "name": "Identifier", - "src": "58073:7:1" + "src": "59711:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3217, + "id": 2709, "name": "Identifier", - "src": "58082:2:1" + "src": "59720:2:0" } ], - "id": 3218, + "id": 2710, "name": "FunctionCall", - "src": "58056:29:1" + "src": "59694:29:0" } ], - "id": 3219, + "id": 2711, "name": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "children": [ @@ -73610,13 +73610,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3220, + "id": 2712, "name": "Identifier", - "src": "58101:8:1" + "src": "59741:8:0" }, { "attributes": { @@ -73652,14 +73652,14 @@ "attributes": { "name": "address" }, - "id": 3221, + "id": 2713, "name": "ElementaryTypeName", - "src": "58110:7:1" + "src": "59750:7:0" } ], - "id": 3222, + "id": 2714, "name": "ElementaryTypeNameExpression", - "src": "58110:7:1" + "src": "59750:7:0" }, { "attributes": { @@ -73672,60 +73672,60 @@ "type": "int_const 0", "value": "0" }, - "id": 3223, + "id": 2715, "name": "Literal", - "src": "58118:1:1" + "src": "59758:1:0" } ], - "id": 3224, + "id": 2716, "name": "FunctionCall", - "src": "58110:10:1" + "src": "59750:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3225, + "id": 2717, "name": "Identifier", - "src": "58122:2:1" + "src": "59762:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3226, + "id": 2718, "name": "Identifier", - "src": "58126:7:1" + "src": "59766:7:0" } ], - "id": 3227, + "id": 2719, "name": "FunctionCall", - "src": "58101:33:1" + "src": "59741:33:0" } ], - "id": 3228, + "id": 2720, "name": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ], - "id": 3229, + "id": 2721, "name": "Block", - "src": "57809:332:1" + "src": "59439:343:0" } ], - "id": 3230, + "id": 2722, "name": "FunctionDefinition", - "src": "57748:393:1" + "src": "59378:404:0" }, { "attributes": { @@ -73736,7 +73736,7 @@ null ], "name": "_burn", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -73746,9 +73746,9 @@ "attributes": { "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3231, + "id": 2723, "name": "StructuredDocumentation", - "src": "58147:206:1" + "src": "59790:215:0" }, { "children": [ @@ -73757,7 +73757,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3299, + "scope": 2791, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -73769,19 +73769,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3232, + "id": 2724, "name": "ElementaryTypeName", - "src": "58373:7:1" + "src": "60026:7:0" } ], - "id": 3233, + "id": 2725, "name": "VariableDeclaration", - "src": "58373:15:1" + "src": "60026:15:0" } ], - "id": 3234, + "id": 2726, "name": "ParameterList", - "src": "58372:17:1" + "src": "60025:17:0" }, { "attributes": { @@ -73790,16 +73790,16 @@ ] }, "children": [], - "id": 3235, + "id": 2727, "name": "ParameterList", - "src": "58407:0:1" + "src": "60060:0:0" }, { "children": [ { "attributes": { "assignments": [ - 3237 + 2729 ] }, "children": [ @@ -73808,7 +73808,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3298, + "scope": 2790, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -73821,14 +73821,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3236, + "id": 2728, "name": "ElementaryTypeName", - "src": "58417:7:1" + "src": "60071:7:0" } ], - "id": 3237, + "id": 2729, "name": "VariableDeclaration", - "src": "58417:13:1" + "src": "60071:13:0" }, { "attributes": { @@ -73858,7 +73858,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -73867,41 +73867,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3238, + "id": 2730, "name": "Identifier", - "src": "58433:6:1" + "src": "60087:6:0" } ], - "id": 3239, + "id": 2731, "name": "MemberAccess", - "src": "58433:14:1" + "src": "60087:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3240, + "id": 2732, "name": "Identifier", - "src": "58448:7:1" + "src": "60102:7:0" } ], - "id": 3241, + "id": 2733, "name": "FunctionCall", - "src": "58433:23:1" + "src": "60087:23:0" } ], - "id": 3242, + "id": 2734, "name": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "children": [ @@ -73939,26 +73939,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3243, + "id": 2735, "name": "Identifier", - "src": "58485:20:1" + "src": "60141:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3244, + "id": 2736, "name": "Identifier", - "src": "58506:5:1" + "src": "60162:5:0" }, { "attributes": { @@ -73994,14 +73994,14 @@ "attributes": { "name": "address" }, - "id": 3245, + "id": 2737, "name": "ElementaryTypeName", - "src": "58513:7:1" + "src": "60169:7:0" } ], - "id": 3246, + "id": 2738, "name": "ElementaryTypeNameExpression", - "src": "58513:7:1" + "src": "60169:7:0" }, { "attributes": { @@ -74014,37 +74014,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3247, + "id": 2739, "name": "Literal", - "src": "58521:1:1" + "src": "60177:1:0" } ], - "id": 3248, + "id": 2740, "name": "FunctionCall", - "src": "58513:10:1" + "src": "60169:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3249, + "id": 2741, "name": "Identifier", - "src": "58525:7:1" + "src": "60181:7:0" } ], - "id": 3250, + "id": 2742, "name": "FunctionCall", - "src": "58485:48:1" + "src": "60141:48:0" } ], - "id": 3251, + "id": 2743, "name": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "children": [ @@ -74078,13 +74078,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3252, + "id": 2744, "name": "Identifier", - "src": "58571:8:1" + "src": "60230:8:0" }, { "attributes": { @@ -74120,14 +74120,14 @@ "attributes": { "name": "address" }, - "id": 3253, + "id": 2745, "name": "ElementaryTypeName", - "src": "58580:7:1" + "src": "60239:7:0" } ], - "id": 3254, + "id": 2746, "name": "ElementaryTypeNameExpression", - "src": "58580:7:1" + "src": "60239:7:0" }, { "attributes": { @@ -74140,37 +74140,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3255, + "id": 2747, "name": "Literal", - "src": "58588:1:1" + "src": "60247:1:0" } ], - "id": 3256, + "id": 2748, "name": "FunctionCall", - "src": "58580:10:1" + "src": "60239:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3257, + "id": 2749, "name": "Identifier", - "src": "58592:7:1" + "src": "60251:7:0" } ], - "id": 3258, + "id": 2750, "name": "FunctionCall", - "src": "58571:29:1" + "src": "60230:29:0" } ], - "id": 3259, + "id": 2751, "name": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "attributes": {}, @@ -74233,14 +74233,14 @@ "attributes": { "name": "bytes" }, - "id": 3260, + "id": 2752, "name": "ElementaryTypeName", - "src": "58650:5:1" + "src": "60312:5:0" } ], - "id": 3261, + "id": 2753, "name": "ElementaryTypeNameExpression", - "src": "58650:5:1" + "src": "60312:5:0" }, { "attributes": { @@ -74256,41 +74256,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3262, + "id": 2754, "name": "Identifier", - "src": "58656:10:1" + "src": "60318:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3263, + "id": 2755, "name": "Identifier", - "src": "58667:7:1" + "src": "60329:7:0" } ], - "id": 3264, + "id": 2756, "name": "IndexAccess", - "src": "58656:19:1" + "src": "60318:19:0" } ], - "id": 3265, + "id": 2757, "name": "FunctionCall", - "src": "58650:26:1" + "src": "60312:26:0" } ], - "id": 3266, + "id": 2758, "name": "MemberAccess", - "src": "58650:33:1" + "src": "60312:33:0" }, { "attributes": { @@ -74303,14 +74303,14 @@ "type": "int_const 0", "value": "0" }, - "id": 3267, + "id": 2759, "name": "Literal", - "src": "58687:1:1" + "src": "60349:1:0" } ], - "id": 3268, + "id": 2760, "name": "BinaryOperation", - "src": "58650:38:1" + "src": "60312:38:0" }, { "children": [ @@ -74341,51 +74341,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3269, + "id": 2761, "name": "Identifier", - "src": "58711:10:1" + "src": "60374:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3270, + "id": 2762, "name": "Identifier", - "src": "58722:7:1" + "src": "60385:7:0" } ], - "id": 3271, + "id": 2763, "name": "IndexAccess", - "src": "58711:19:1" + "src": "60374:19:0" } ], - "id": 3272, + "id": 2764, "name": "UnaryOperation", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3273, + "id": 2765, "name": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3274, + "id": 2766, "name": "Block", - "src": "58690:51:1" + "src": "60352:53:0" } ], - "id": 3275, + "id": 2767, "name": "IfStatement", - "src": "58646:95:1" + "src": "60308:97:0" }, { "children": [ @@ -74417,7 +74417,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -74435,59 +74435,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3276, + "id": 2768, "name": "Identifier", - "src": "58751:13:1" + "src": "60417:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3277, + "id": 2769, "name": "Identifier", - "src": "58765:5:1" + "src": "60431:5:0" } ], - "id": 3278, + "id": 2770, "name": "IndexAccess", - "src": "58751:20:1" + "src": "60417:20:0" } ], - "id": 3279, + "id": 2771, "name": "MemberAccess", - "src": "58751:27:1" + "src": "60417:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3280, + "id": 2772, "name": "Identifier", - "src": "58779:7:1" + "src": "60445:7:0" } ], - "id": 3281, + "id": 2773, "name": "FunctionCall", - "src": "58751:36:1" + "src": "60417:36:0" } ], - "id": 3282, + "id": 2774, "name": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "children": [ @@ -74519,7 +74519,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 2306, + "referencedDeclaration": 1798, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" }, "children": [ @@ -74528,41 +74528,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3283, + "id": 2775, "name": "Identifier", - "src": "58798:12:1" + "src": "60466:12:0" } ], - "id": 3285, + "id": 2777, "name": "MemberAccess", - "src": "58798:19:1" + "src": "60466:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3286, + "id": 2778, "name": "Identifier", - "src": "58818:7:1" + "src": "60486:7:0" } ], - "id": 3287, + "id": 2779, "name": "FunctionCall", - "src": "58798:28:1" + "src": "60466:28:0" } ], - "id": 3288, + "id": 2780, "name": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "children": [ @@ -74600,26 +74600,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3289, + "id": 2781, "name": "Identifier", - "src": "58842:8:1" + "src": "60512:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3290, + "id": 2782, "name": "Identifier", - "src": "58851:5:1" + "src": "60521:5:0" }, { "attributes": { @@ -74655,14 +74655,14 @@ "attributes": { "name": "address" }, - "id": 3291, + "id": 2783, "name": "ElementaryTypeName", - "src": "58858:7:1" + "src": "60528:7:0" } ], - "id": 3292, + "id": 2784, "name": "ElementaryTypeNameExpression", - "src": "58858:7:1" + "src": "60528:7:0" }, { "attributes": { @@ -74675,47 +74675,47 @@ "type": "int_const 0", "value": "0" }, - "id": 3293, + "id": 2785, "name": "Literal", - "src": "58866:1:1" + "src": "60536:1:0" } ], - "id": 3294, + "id": 2786, "name": "FunctionCall", - "src": "58858:10:1" + "src": "60528:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3295, + "id": 2787, "name": "Identifier", - "src": "58870:7:1" + "src": "60540:7:0" } ], - "id": 3296, + "id": 2788, "name": "FunctionCall", - "src": "58842:36:1" + "src": "60512:36:0" } ], - "id": 3297, + "id": 2789, "name": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ], - "id": 3298, + "id": 2790, "name": "Block", - "src": "58407:478:1" + "src": "60060:496:0" } ], - "id": 3299, + "id": 2791, "name": "FunctionDefinition", - "src": "58358:527:1" + "src": "60011:545:0" }, { "attributes": { @@ -74726,7 +74726,7 @@ null ], "name": "_transfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -74736,9 +74736,9 @@ "attributes": { "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3300, + "id": 2792, "name": "StructuredDocumentation", - "src": "58891:313:1" + "src": "60564:323:0" }, { "children": [ @@ -74747,7 +74747,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74760,21 +74760,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3301, + "id": 2793, "name": "ElementaryTypeName", - "src": "59228:7:1" + "src": "60912:7:0" } ], - "id": 3302, + "id": 2794, "name": "VariableDeclaration", - "src": "59228:12:1" + "src": "60912:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74787,21 +74787,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3303, + "id": 2795, "name": "ElementaryTypeName", - "src": "59242:7:1" + "src": "60926:7:0" } ], - "id": 3304, + "id": 2796, "name": "VariableDeclaration", - "src": "59242:10:1" + "src": "60926:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -74813,19 +74813,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3305, + "id": 2797, "name": "ElementaryTypeName", - "src": "59254:7:1" + "src": "60938:7:0" } ], - "id": 3306, + "id": 2798, "name": "VariableDeclaration", - "src": "59254:15:1" + "src": "60938:15:0" } ], - "id": 3307, + "id": 2799, "name": "ParameterList", - "src": "59227:43:1" + "src": "60911:43:0" }, { "attributes": { @@ -74834,9 +74834,9 @@ ] }, "children": [], - "id": 3308, + "id": 2800, "name": "ParameterList", - "src": "59288:0:1" + "src": "60972:0:0" }, { "children": [ @@ -74877,9 +74877,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3309, + "id": 2801, "name": "Identifier", - "src": "59298:7:1" + "src": "60983:7:0" }, { "attributes": { @@ -74923,7 +74923,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -74932,54 +74932,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3310, + "id": 2802, "name": "Identifier", - "src": "59306:6:1" + "src": "60991:6:0" } ], - "id": 3311, + "id": 2803, "name": "MemberAccess", - "src": "59306:14:1" + "src": "60991:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3312, + "id": 2804, "name": "Identifier", - "src": "59321:7:1" + "src": "61006:7:0" } ], - "id": 3313, + "id": 2805, "name": "FunctionCall", - "src": "59306:23:1" + "src": "60991:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3314, + "id": 2806, "name": "Identifier", - "src": "59333:4:1" + "src": "61018:4:0" } ], - "id": 3315, + "id": 2807, "name": "BinaryOperation", - "src": "59306:31:1" + "src": "60991:31:0" }, { "attributes": { @@ -74992,19 +74992,19 @@ "type": "literal_string \"ERC721: transfer of token that is not own\"", "value": "ERC721: transfer of token that is not own" }, - "id": 3316, + "id": 2808, "name": "Literal", - "src": "59339:43:1" + "src": "61024:43:0" } ], - "id": 3317, + "id": 2809, "name": "FunctionCall", - "src": "59298:85:1" + "src": "60983:85:0" } ], - "id": 3318, + "id": 2810, "name": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "children": [ @@ -75043,9 +75043,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3319, + "id": 2811, "name": "Identifier", - "src": "59411:7:1" + "src": "61097:7:0" }, { "attributes": { @@ -75066,13 +75066,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3320, + "id": 2812, "name": "Identifier", - "src": "59419:2:1" + "src": "61105:2:0" }, { "attributes": { @@ -75108,14 +75108,14 @@ "attributes": { "name": "address" }, - "id": 3321, + "id": 2813, "name": "ElementaryTypeName", - "src": "59425:7:1" + "src": "61111:7:0" } ], - "id": 3322, + "id": 2814, "name": "ElementaryTypeNameExpression", - "src": "59425:7:1" + "src": "61111:7:0" }, { "attributes": { @@ -75128,19 +75128,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3323, + "id": 2815, "name": "Literal", - "src": "59433:1:1" + "src": "61119:1:0" } ], - "id": 3324, + "id": 2816, "name": "FunctionCall", - "src": "59425:10:1" + "src": "61111:10:0" } ], - "id": 3325, + "id": 2817, "name": "BinaryOperation", - "src": "59419:16:1" + "src": "61105:16:0" }, { "attributes": { @@ -75153,19 +75153,19 @@ "type": "literal_string \"ERC721: transfer to the zero address\"", "value": "ERC721: transfer to the zero address" }, - "id": 3326, + "id": 2818, "name": "Literal", - "src": "59437:38:1" + "src": "61123:38:0" } ], - "id": 3327, + "id": 2819, "name": "FunctionCall", - "src": "59411:65:1" + "src": "61097:65:0" } ], - "id": 3328, + "id": 2820, "name": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "children": [ @@ -75203,62 +75203,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3329, + "id": 2821, "name": "Identifier", - "src": "59487:20:1" + "src": "61175:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3330, + "id": 2822, "name": "Identifier", - "src": "59508:4:1" + "src": "61196:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3331, + "id": 2823, "name": "Identifier", - "src": "59514:2:1" + "src": "61202:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3332, + "id": 2824, "name": "Identifier", - "src": "59518:7:1" + "src": "61206:7:0" } ], - "id": 3333, + "id": 2825, "name": "FunctionCall", - "src": "59487:39:1" + "src": "61175:39:0" } ], - "id": 3334, + "id": 2826, "name": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "children": [ @@ -75292,13 +75292,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3335, + "id": 2827, "name": "Identifier", - "src": "59588:8:1" + "src": "61279:8:0" }, { "attributes": { @@ -75334,14 +75334,14 @@ "attributes": { "name": "address" }, - "id": 3336, + "id": 2828, "name": "ElementaryTypeName", - "src": "59597:7:1" + "src": "61288:7:0" } ], - "id": 3337, + "id": 2829, "name": "ElementaryTypeNameExpression", - "src": "59597:7:1" + "src": "61288:7:0" }, { "attributes": { @@ -75354,37 +75354,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3338, + "id": 2830, "name": "Literal", - "src": "59605:1:1" + "src": "61296:1:0" } ], - "id": 3339, + "id": 2831, "name": "FunctionCall", - "src": "59597:10:1" + "src": "61288:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3340, + "id": 2832, "name": "Identifier", - "src": "59609:7:1" + "src": "61300:7:0" } ], - "id": 3341, + "id": 2833, "name": "FunctionCall", - "src": "59588:29:1" + "src": "61279:29:0" } ], - "id": 3342, + "id": 2834, "name": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "children": [ @@ -75416,7 +75416,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75434,59 +75434,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3343, + "id": 2835, "name": "Identifier", - "src": "59628:13:1" + "src": "61321:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3344, + "id": 2836, "name": "Identifier", - "src": "59642:4:1" + "src": "61335:4:0" } ], - "id": 3345, + "id": 2837, "name": "IndexAccess", - "src": "59628:19:1" + "src": "61321:19:0" } ], - "id": 3346, + "id": 2838, "name": "MemberAccess", - "src": "59628:26:1" + "src": "61321:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3347, + "id": 2839, "name": "Identifier", - "src": "59655:7:1" + "src": "61348:7:0" } ], - "id": 3348, + "id": 2840, "name": "FunctionCall", - "src": "59628:35:1" + "src": "61321:35:0" } ], - "id": 3349, + "id": 2841, "name": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "children": [ @@ -75518,7 +75518,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75536,59 +75536,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3350, + "id": 2842, "name": "Identifier", - "src": "59673:13:1" + "src": "61367:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3351, + "id": 2843, "name": "Identifier", - "src": "59687:2:1" + "src": "61381:2:0" } ], - "id": 3352, + "id": 2844, "name": "IndexAccess", - "src": "59673:17:1" + "src": "61367:17:0" } ], - "id": 3353, + "id": 2845, "name": "MemberAccess", - "src": "59673:21:1" + "src": "61367:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3354, + "id": 2846, "name": "Identifier", - "src": "59695:7:1" + "src": "61389:7:0" } ], - "id": 3355, + "id": 2847, "name": "FunctionCall", - "src": "59673:30:1" + "src": "61367:30:0" } ], - "id": 3356, + "id": 2848, "name": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "children": [ @@ -75624,7 +75624,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -75633,54 +75633,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3357, + "id": 2849, "name": "Identifier", - "src": "59714:12:1" + "src": "61410:12:0" } ], - "id": 3359, + "id": 2851, "name": "MemberAccess", - "src": "59714:16:1" + "src": "61410:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3360, + "id": 2852, "name": "Identifier", - "src": "59731:7:1" + "src": "61427:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3361, + "id": 2853, "name": "Identifier", - "src": "59740:2:1" + "src": "61436:2:0" } ], - "id": 3362, + "id": 2854, "name": "FunctionCall", - "src": "59714:29:1" + "src": "61410:29:0" } ], - "id": 3363, + "id": 2855, "name": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "children": [ @@ -75718,72 +75718,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3364, + "id": 2856, "name": "Identifier", - "src": "59759:8:1" + "src": "61457:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3365, + "id": 2857, "name": "Identifier", - "src": "59768:4:1" + "src": "61466:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3366, + "id": 2858, "name": "Identifier", - "src": "59774:2:1" + "src": "61472:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3367, + "id": 2859, "name": "Identifier", - "src": "59778:7:1" + "src": "61476:7:0" } ], - "id": 3368, + "id": 2860, "name": "FunctionCall", - "src": "59759:27:1" + "src": "61457:27:0" } ], - "id": 3369, + "id": 2861, "name": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ], - "id": 3370, + "id": 2862, "name": "Block", - "src": "59288:505:1" + "src": "60972:520:0" } ], - "id": 3371, + "id": 2863, "name": "FunctionDefinition", - "src": "59209:584:1" + "src": "60893:599:0" }, { "attributes": { @@ -75794,7 +75794,7 @@ null ], "name": "_setTokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -75804,9 +75804,9 @@ "attributes": { "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3372, + "id": 2864, "name": "StructuredDocumentation", - "src": "59799:136:1" + "src": "61500:142:0" }, { "children": [ @@ -75815,7 +75815,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -75827,21 +75827,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3373, + "id": 2865, "name": "ElementaryTypeName", - "src": "59962:7:1" + "src": "61670:7:0" } ], - "id": 3374, + "id": 2866, "name": "VariableDeclaration", - "src": "59962:15:1" + "src": "61670:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -75853,19 +75853,19 @@ "name": "string", "type": "string" }, - "id": 3375, + "id": 2867, "name": "ElementaryTypeName", - "src": "59979:6:1" + "src": "61687:6:0" } ], - "id": 3376, + "id": 2868, "name": "VariableDeclaration", - "src": "59979:23:1" + "src": "61687:23:0" } ], - "id": 3377, + "id": 2869, "name": "ParameterList", - "src": "59961:42:1" + "src": "61669:42:0" }, { "attributes": { @@ -75874,9 +75874,9 @@ ] }, "children": [], - "id": 3378, + "id": 2870, "name": "ParameterList", - "src": "60021:0:1" + "src": "61729:0:0" }, { "children": [ @@ -75917,9 +75917,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3379, + "id": 2871, "name": "Identifier", - "src": "60031:7:1" + "src": "61740:7:0" }, { "attributes": { @@ -75947,31 +75947,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3380, + "id": 2872, "name": "Identifier", - "src": "60039:7:1" + "src": "61748:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3381, + "id": 2873, "name": "Identifier", - "src": "60047:7:1" + "src": "61756:7:0" } ], - "id": 3382, + "id": 2874, "name": "FunctionCall", - "src": "60039:16:1" + "src": "61748:16:0" }, { "attributes": { @@ -75984,19 +75984,19 @@ "type": "literal_string \"ERC721Metadata: URI set of nonexistent token\"", "value": "ERC721Metadata: URI set of nonexistent token" }, - "id": 3383, + "id": 2875, "name": "Literal", - "src": "60057:46:1" + "src": "61766:46:0" } ], - "id": 3384, + "id": 2876, "name": "FunctionCall", - "src": "60031:73:1" + "src": "61740:73:0" } ], - "id": 3385, + "id": 2877, "name": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "children": [ @@ -76024,64 +76024,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3386, + "id": 2878, "name": "Identifier", - "src": "60114:10:1" + "src": "61824:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3387, + "id": 2879, "name": "Identifier", - "src": "60125:7:1" + "src": "61835:7:0" } ], - "id": 3388, + "id": 2880, "name": "IndexAccess", - "src": "60114:19:1" + "src": "61824:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3376, + "referencedDeclaration": 2868, "type": "string memory", "value": "_tokenURI" }, - "id": 3389, + "id": 2881, "name": "Identifier", - "src": "60136:9:1" + "src": "61846:9:0" } ], - "id": 3390, + "id": 2882, "name": "Assignment", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3391, + "id": 2883, "name": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3392, + "id": 2884, "name": "Block", - "src": "60021:131:1" + "src": "61729:134:0" } ], - "id": 3393, + "id": 2885, "name": "FunctionDefinition", - "src": "59940:212:1" + "src": "61648:215:0" }, { "attributes": { @@ -76092,7 +76092,7 @@ null ], "name": "_setBaseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -76102,9 +76102,9 @@ "attributes": { "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3394, + "id": 2886, "name": "StructuredDocumentation", - "src": "60158:212:1" + "src": "61871:216:0" }, { "children": [ @@ -76113,7 +76113,7 @@ "constant": false, "mutability": "mutable", "name": "baseURI_", - "scope": 3404, + "scope": 2896, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -76125,19 +76125,19 @@ "name": "string", "type": "string" }, - "id": 3395, + "id": 2887, "name": "ElementaryTypeName", - "src": "60396:6:1" + "src": "62114:6:0" } ], - "id": 3396, + "id": 2888, "name": "VariableDeclaration", - "src": "60396:22:1" + "src": "62114:22:0" } ], - "id": 3397, + "id": 2889, "name": "ParameterList", - "src": "60395:24:1" + "src": "62113:24:0" }, { "attributes": { @@ -76146,9 +76146,9 @@ ] }, "children": [], - "id": 3398, + "id": 2890, "name": "ParameterList", - "src": "60437:0:1" + "src": "62155:0:0" }, { "children": [ @@ -76169,46 +76169,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 3399, + "id": 2891, "name": "Identifier", - "src": "60447:8:1" + "src": "62166:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3396, + "referencedDeclaration": 2888, "type": "string memory", "value": "baseURI_" }, - "id": 3400, + "id": 2892, "name": "Identifier", - "src": "60458:8:1" + "src": "62177:8:0" } ], - "id": 3401, + "id": 2893, "name": "Assignment", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3402, + "id": 2894, "name": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3403, + "id": 2895, "name": "Block", - "src": "60437:36:1" + "src": "62155:38:0" } ], - "id": 3404, + "id": 2896, "name": "FunctionDefinition", - "src": "60375:98:1" + "src": "62093:100:0" }, { "attributes": { @@ -76219,7 +76219,7 @@ null ], "name": "_checkOnERC721Received", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -76229,9 +76229,9 @@ "attributes": { "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3405, + "id": 2897, "name": "StructuredDocumentation", - "src": "60479:542:1" + "src": "62201:551:0" }, { "children": [ @@ -76240,7 +76240,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76253,21 +76253,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3406, + "id": 2898, "name": "ElementaryTypeName", - "src": "61058:7:1" + "src": "62790:7:0" } ], - "id": 3407, + "id": 2899, "name": "VariableDeclaration", - "src": "61058:12:1" + "src": "62790:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76280,21 +76280,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3408, + "id": 2900, "name": "ElementaryTypeName", - "src": "61072:7:1" + "src": "62804:7:0" } ], - "id": 3409, + "id": 2901, "name": "VariableDeclaration", - "src": "61072:10:1" + "src": "62804:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -76306,21 +76306,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3410, + "id": 2902, "name": "ElementaryTypeName", - "src": "61084:7:1" + "src": "62816:7:0" } ], - "id": 3411, + "id": 2903, "name": "VariableDeclaration", - "src": "61084:15:1" + "src": "62816:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76332,19 +76332,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3412, + "id": 2904, "name": "ElementaryTypeName", - "src": "61101:5:1" + "src": "62833:5:0" } ], - "id": 3413, + "id": 2905, "name": "VariableDeclaration", - "src": "61101:18:1" + "src": "62833:18:0" } ], - "id": 3414, + "id": 2906, "name": "ParameterList", - "src": "61057:63:1" + "src": "62789:63:0" }, { "children": [ @@ -76353,7 +76353,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -76365,19 +76365,19 @@ "name": "bool", "type": "bool" }, - "id": 3415, + "id": 2907, "name": "ElementaryTypeName", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3416, + "id": 2908, "name": "VariableDeclaration", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3417, + "id": 2909, "name": "ParameterList", - "src": "61145:6:1" + "src": "62878:6:0" }, { "children": [ @@ -76423,7 +76423,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isContract", - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)" }, "children": [ @@ -76432,34 +76432,34 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3418, + "id": 2910, "name": "Identifier", - "src": "61171:2:1" + "src": "62906:2:0" } ], - "id": 3419, + "id": 2911, "name": "MemberAccess", - "src": "61171:13:1" + "src": "62906:13:0" } ], - "id": 3420, + "id": 2912, "name": "FunctionCall", - "src": "61171:15:1" + "src": "62906:15:0" } ], - "id": 3421, + "id": 2913, "name": "UnaryOperation", - "src": "61170:16:1" + "src": "62905:16:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -76473,29 +76473,29 @@ "type": "bool", "value": "true" }, - "id": 3422, + "id": 2914, "name": "Literal", - "src": "61209:4:1" + "src": "62945:4:0" } ], - "id": 3423, + "id": 2915, "name": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ], - "id": 3424, + "id": 2916, "name": "Block", - "src": "61188:36:1" + "src": "62923:38:0" } ], - "id": 3425, + "id": 2917, "name": "IfStatement", - "src": "61166:58:1" + "src": "62901:60:0" }, { "attributes": { "assignments": [ - 3427 + 2919 ] }, "children": [ @@ -76504,7 +76504,7 @@ "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76516,14 +76516,14 @@ "name": "bytes", "type": "bytes" }, - "id": 3426, + "id": 2918, "name": "ElementaryTypeName", - "src": "61233:5:1" + "src": "62971:5:0" } ], - "id": 3427, + "id": 2919, "name": "VariableDeclaration", - "src": "61233:23:1" + "src": "62971:23:0" }, { "attributes": { @@ -76557,7 +76557,7 @@ "isPure": false, "lValueRequested": false, "member_name": "functionCall", - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)" }, "children": [ @@ -76566,18 +76566,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3428, + "id": 2920, "name": "Identifier", - "src": "61259:2:1" + "src": "62997:2:0" } ], - "id": 3429, + "id": 2921, "name": "MemberAccess", - "src": "61259:15:1" + "src": "62997:15:0" }, { "attributes": { @@ -76635,14 +76635,14 @@ "type": "abi", "value": "abi" }, - "id": 3430, + "id": 2922, "name": "Identifier", - "src": "61275:3:1" + "src": "63013:3:0" } ], - "id": 3431, + "id": 2923, "name": "MemberAccess", - "src": "61275:22:1" + "src": "63013:22:0" }, { "attributes": { @@ -76661,7 +76661,7 @@ "isPure": false, "lValueRequested": false, "member_name": "onERC721Received", - "referencedDeclaration": 725, + "referencedDeclaration": 217, "type": "function (address,address,uint256,bytes memory) external returns (bytes4)" }, "children": [ @@ -76691,41 +76691,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 726, + "referencedDeclaration": 218, "type": "type(contract IERC721Receiver)", "value": "IERC721Receiver" }, - "id": 3432, + "id": 2924, "name": "Identifier", - "src": "61311:15:1" + "src": "63050:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3433, + "id": 2925, "name": "Identifier", - "src": "61327:2:1" + "src": "63066:2:0" } ], - "id": 3434, + "id": 2926, "name": "FunctionCall", - "src": "61311:19:1" + "src": "63050:19:0" } ], - "id": 3435, + "id": 2927, "name": "MemberAccess", - "src": "61311:36:1" + "src": "63050:36:0" } ], - "id": 3436, + "id": 2928, "name": "MemberAccess", - "src": "61311:45:1" + "src": "63050:45:0" }, { "attributes": { @@ -76753,62 +76753,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3437, + "id": 2929, "name": "Identifier", - "src": "61370:10:1" + "src": "63110:10:0" } ], - "id": 3438, + "id": 2930, "name": "FunctionCall", - "src": "61370:12:1" + "src": "63110:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3407, + "referencedDeclaration": 2899, "type": "address", "value": "from" }, - "id": 3439, + "id": 2931, "name": "Identifier", - "src": "61396:4:1" + "src": "63137:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3411, + "referencedDeclaration": 2903, "type": "uint256", "value": "tokenId" }, - "id": 3440, + "id": 2932, "name": "Identifier", - "src": "61414:7:1" + "src": "63156:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3413, + "referencedDeclaration": 2905, "type": "bytes memory", "value": "_data" }, - "id": 3441, + "id": 2933, "name": "Identifier", - "src": "61435:5:1" + "src": "63178:5:0" } ], - "id": 3442, + "id": 2934, "name": "FunctionCall", - "src": "61275:175:1" + "src": "63013:181:0" }, { "attributes": { @@ -76821,24 +76821,24 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3443, + "id": 2935, "name": "Literal", - "src": "61452:52:1" + "src": "63196:52:0" } ], - "id": 3444, + "id": 2936, "name": "FunctionCall", - "src": "61259:246:1" + "src": "62997:252:0" } ], - "id": 3445, + "id": 2937, "name": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "attributes": { "assignments": [ - 3447 + 2939 ] }, "children": [ @@ -76847,7 +76847,7 @@ "constant": false, "mutability": "mutable", "name": "retval", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -76859,14 +76859,14 @@ "name": "bytes4", "type": "bytes4" }, - "id": 3446, + "id": 2938, "name": "ElementaryTypeName", - "src": "61515:6:1" + "src": "63260:6:0" } ], - "id": 3447, + "id": 2939, "name": "VariableDeclaration", - "src": "61515:13:1" + "src": "63260:13:0" }, { "attributes": { @@ -76912,27 +76912,27 @@ "type": "abi", "value": "abi" }, - "id": 3448, + "id": 2940, "name": "Identifier", - "src": "61531:3:1" + "src": "63276:3:0" } ], - "id": 3449, + "id": 2941, "name": "MemberAccess", - "src": "61531:10:1" + "src": "63276:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3427, + "referencedDeclaration": 2919, "type": "bytes memory", "value": "returndata" }, - "id": 3450, + "id": 2942, "name": "Identifier", - "src": "61542:10:1" + "src": "63287:10:0" }, { "attributes": { @@ -76957,33 +76957,33 @@ "attributes": { "name": "bytes4" }, - "id": 3451, + "id": 2943, "name": "ElementaryTypeName", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3452, + "id": 2944, "name": "ElementaryTypeNameExpression", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3453, + "id": 2945, "name": "TupleExpression", - "src": "61554:8:1" + "src": "63299:8:0" } ], - "id": 3454, + "id": 2946, "name": "FunctionCall", - "src": "61531:32:1" + "src": "63276:32:0" } ], - "id": 3455, + "id": 2947, "name": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -77015,51 +77015,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3447, + "referencedDeclaration": 2939, "type": "bytes4", "value": "retval" }, - "id": 3456, + "id": 2948, "name": "Identifier", - "src": "61581:6:1" + "src": "63327:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2596, + "referencedDeclaration": 2088, "type": "bytes4", "value": "_ERC721_RECEIVED" }, - "id": 3457, + "id": 2949, "name": "Identifier", - "src": "61591:16:1" + "src": "63337:16:0" } ], - "id": 3458, + "id": 2950, "name": "BinaryOperation", - "src": "61581:26:1" + "src": "63327:26:0" } ], - "id": 3459, + "id": 2951, "name": "TupleExpression", - "src": "61580:28:1" + "src": "63326:28:0" } ], - "id": 3460, + "id": 2952, "name": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ], - "id": 3461, + "id": 2953, "name": "Block", - "src": "61156:459:1" + "src": "62890:472:0" } ], - "id": 3462, + "id": 2954, "name": "FunctionDefinition", - "src": "61026:589:1" + "src": "62758:604:0" }, { "attributes": { @@ -77070,7 +77070,7 @@ null ], "name": "_approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77080,9 +77080,9 @@ "attributes": { "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3463, + "id": 2955, "name": "StructuredDocumentation", - "src": "61621:101:1" + "src": "63370:105:0" }, { "children": [ @@ -77091,7 +77091,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77104,21 +77104,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3464, + "id": 2956, "name": "ElementaryTypeName", - "src": "61745:7:1" + "src": "63499:7:0" } ], - "id": 3465, + "id": 2957, "name": "VariableDeclaration", - "src": "61745:10:1" + "src": "63499:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77130,19 +77130,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3466, + "id": 2958, "name": "ElementaryTypeName", - "src": "61757:7:1" + "src": "63511:7:0" } ], - "id": 3467, + "id": 2959, "name": "VariableDeclaration", - "src": "61757:15:1" + "src": "63511:15:0" } ], - "id": 3468, + "id": 2960, "name": "ParameterList", - "src": "61744:29:1" + "src": "63498:29:0" }, { "attributes": { @@ -77151,9 +77151,9 @@ ] }, "children": [], - "id": 3469, + "id": 2961, "name": "ParameterList", - "src": "61791:0:1" + "src": "63545:0:0" }, { "children": [ @@ -77183,54 +77183,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 3470, + "id": 2962, "name": "Identifier", - "src": "61801:15:1" + "src": "63556:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3471, + "id": 2963, "name": "Identifier", - "src": "61817:7:1" + "src": "63572:7:0" } ], - "id": 3472, + "id": 2964, "name": "IndexAccess", - "src": "61801:24:1" + "src": "63556:24:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3473, + "id": 2965, "name": "Identifier", - "src": "61828:2:1" + "src": "63583:2:0" } ], - "id": 3474, + "id": 2966, "name": "Assignment", - "src": "61801:29:1" + "src": "63556:29:0" } ], - "id": 3475, + "id": 2967, "name": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "children": [ @@ -77268,13 +77268,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 563, + "referencedDeclaration": 55, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 3476, + "id": 2968, "name": "Identifier", - "src": "61845:8:1" + "src": "63601:8:0" }, { "attributes": { @@ -77304,7 +77304,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -77313,82 +77313,82 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3477, + "id": 2969, "name": "Identifier", - "src": "61854:6:1" + "src": "63610:6:0" } ], - "id": 3478, + "id": 2970, "name": "MemberAccess", - "src": "61854:14:1" + "src": "63610:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3479, + "id": 2971, "name": "Identifier", - "src": "61869:7:1" + "src": "63625:7:0" } ], - "id": 3480, + "id": 2972, "name": "FunctionCall", - "src": "61854:23:1" + "src": "63610:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3481, + "id": 2973, "name": "Identifier", - "src": "61879:2:1" + "src": "63635:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3482, + "id": 2974, "name": "Identifier", - "src": "61883:7:1" + "src": "63639:7:0" } ], - "id": 3483, + "id": 2975, "name": "FunctionCall", - "src": "61845:46:1" + "src": "63601:46:0" } ], - "id": 3484, + "id": 2976, "name": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ], - "id": 3485, + "id": 2977, "name": "Block", - "src": "61791:125:1" + "src": "63545:128:0" } ], - "id": 3486, + "id": 2978, "name": "FunctionDefinition", - "src": "61727:189:1" + "src": "63481:192:0" }, { "attributes": { @@ -77399,7 +77399,7 @@ null ], "name": "_beforeTokenTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77409,9 +77409,9 @@ "attributes": { "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3487, + "id": 2979, "name": "StructuredDocumentation", - "src": "61922:585:1" + "src": "63681:599:0" }, { "children": [ @@ -77420,7 +77420,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77433,21 +77433,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3488, + "id": 2980, "name": "ElementaryTypeName", - "src": "62542:7:1" + "src": "64316:7:0" } ], - "id": 3489, + "id": 2981, "name": "VariableDeclaration", - "src": "62542:12:1" + "src": "64316:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77460,21 +77460,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3490, + "id": 2982, "name": "ElementaryTypeName", - "src": "62556:7:1" + "src": "64330:7:0" } ], - "id": 3491, + "id": 2983, "name": "VariableDeclaration", - "src": "62556:10:1" + "src": "64330:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77486,19 +77486,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3492, + "id": 2984, "name": "ElementaryTypeName", - "src": "62568:7:1" + "src": "64342:7:0" } ], - "id": 3493, + "id": 2985, "name": "VariableDeclaration", - "src": "62568:15:1" + "src": "64342:15:0" } ], - "id": 3494, + "id": 2986, "name": "ParameterList", - "src": "62541:43:1" + "src": "64315:43:0" }, { "attributes": { @@ -77507,9 +77507,9 @@ ] }, "children": [], - "id": 3495, + "id": 2987, "name": "ParameterList", - "src": "62602:0:1" + "src": "64376:0:0" }, { "attributes": { @@ -77518,32 +77518,32 @@ ] }, "children": [], - "id": 3496, + "id": 2988, "name": "Block", - "src": "62602:3:1" + "src": "64376:3:0" } ], - "id": 3497, + "id": 2989, "name": "FunctionDefinition", - "src": "62512:93:1" + "src": "64286:93:0" } ], - "id": 3498, + "id": 2990, "name": "ContractDefinition", - "src": "46080:16527:1" + "src": "47398:16984:0" } ], - "id": 3499, + "id": 2991, "name": "SourceUnit", - "src": "84:62524:1" + "src": "87:64297:0" }, "compiler": { "name": "solc", "version": "0.7.6+commit.7338295f.Emscripten.clang" }, "networks": {}, - "schemaVersion": "3.3.4", - "updatedAt": "2021-03-13T11:18:07.045Z", + "schemaVersion": "3.4.3", + "updatedAt": "2021-10-13T09:55:46.868Z", "devdoc": { "kind": "dev", "methods": {}, diff --git a/src/abis/CryptoBoyStruct.json b/src/abis/CryptoBoyStruct.json index 7d2960e..b46a48a 100644 --- a/src/abis/CryptoBoyStruct.json +++ b/src/abis/CryptoBoyStruct.json @@ -1,5 +1,5 @@ { - "contractName": "CryptoBoyStruct", + "contractName": "BscBoystruct", "abi": [ { "anonymous": false, @@ -447,7 +447,7 @@ "type": "function" } ], - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"tokenURI\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address payable\",\"name\":\"mintedBy\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address payable\",\"name\":\"currentOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address payable\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"numberOfTransfers\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint16\",\"name\":\"year\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"month\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"day\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"hour\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"minute\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"second\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"weekday\",\"type\":\"uint8\"}],\"indexed\":false,\"internalType\":\"struct DateAndTime._DateTime\",\"name\":\"timeStamp\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"purchased\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"forSale\",\"type\":\"bool\"}],\"name\":\"CryptoBoyMinted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"getDay\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"month\",\"type\":\"uint8\"},{\"internalType\":\"uint16\",\"name\":\"year\",\"type\":\"uint16\"}],\"name\":\"getDaysInMonth\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"getHour\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"getMinute\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"getMonth\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"getSecond\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"getWeekday\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"getYear\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"year\",\"type\":\"uint16\"}],\"name\":\"isLeapYear\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"year\",\"type\":\"uint256\"}],\"name\":\"leapYearsBefore\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"year\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"month\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"day\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"hour\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"minute\",\"type\":\"uint8\"}],\"name\":\"toTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"year\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"month\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"day\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"hour\",\"type\":\"uint8\"}],\"name\":\"toTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"year\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"month\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"day\",\"type\":\"uint8\"}],\"name\":\"toTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"year\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"month\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"day\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"hour\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"minute\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"second\",\"type\":\"uint8\"}],\"name\":\"toTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/pavansoratur/crypto-boys/src/contracts/CryptoBoyStruct.sol\":\"CryptoBoyStruct\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/pavansoratur/crypto-boys/src/contracts/CryptoBoyStruct.sol\":{\"keccak256\":\"0xa19515c0b4f27cb1b2135808a2a9213d77e2891e48d3cfb9d6b99a812eb23429\",\"license\":\"SPDX-License\",\"urls\":[\"bzz-raw://8d4d79977b4ef321397fe167862fde0933fc99eed9b87f91070b48e722be13b9\",\"dweb:/ipfs/QmbpsEZnpztGQpwxwdunnboTTHQanuGkbnyvtzaZpU9T79\"]},\"/home/pavansoratur/crypto-boys/src/contracts/DateAndTime.sol\":{\"keccak256\":\"0x51ef52a03b2f9ea187ccb846e346a68943f7745c84cbd85b4c01669cc470841d\",\"license\":\"SPDX-License\",\"urls\":[\"bzz-raw://1163edee3a2c0993ed27de5bd76845e4b0ffd5e02a6a8330fa1043a6922c4629\",\"dweb:/ipfs/Qmcwe1fhywHRJzBA2xLhxCpyMwA5kyHxfQN8hqyjoxZJgQ\"]}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"tokenURI\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"address payable\",\"name\":\"mintedBy\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address payable\",\"name\":\"currentOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address payable\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"numberOfTransfers\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint16\",\"name\":\"year\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"month\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"day\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"hour\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"minute\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"second\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"weekday\",\"type\":\"uint8\"}],\"indexed\":false,\"internalType\":\"struct DateAndTime._DateTime\",\"name\":\"timeStamp\",\"type\":\"tuple\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"purchased\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"forSale\",\"type\":\"bool\"}],\"name\":\"CryptoBoyMinted\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"getDay\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"month\",\"type\":\"uint8\"},{\"internalType\":\"uint16\",\"name\":\"year\",\"type\":\"uint16\"}],\"name\":\"getDaysInMonth\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"getHour\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"getMinute\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"getMonth\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"getSecond\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"getWeekday\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"name\":\"getYear\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"year\",\"type\":\"uint16\"}],\"name\":\"isLeapYear\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"year\",\"type\":\"uint256\"}],\"name\":\"leapYearsBefore\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"year\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"month\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"day\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"hour\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"minute\",\"type\":\"uint8\"}],\"name\":\"toTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"year\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"month\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"day\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"hour\",\"type\":\"uint8\"}],\"name\":\"toTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"year\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"month\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"day\",\"type\":\"uint8\"}],\"name\":\"toTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"year\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"month\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"day\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"hour\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"minute\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"second\",\"type\":\"uint8\"}],\"name\":\"toTimestamp\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"timestamp\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/pavansoratur/crypto-boys/src/contracts/BscBoystruct.sol\":\"BscBoystruct\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/pavansoratur/crypto-boys/src/contracts/BscBoystruct.sol\":{\"keccak256\":\"0xa19515c0b4f27cb1b2135808a2a9213d77e2891e48d3cfb9d6b99a812eb23429\",\"license\":\"SPDX-License\",\"urls\":[\"bzz-raw://8d4d79977b4ef321397fe167862fde0933fc99eed9b87f91070b48e722be13b9\",\"dweb:/ipfs/QmbpsEZnpztGQpwxwdunnboTTHQanuGkbnyvtzaZpU9T79\"]},\"/home/pavansoratur/crypto-boys/src/contracts/DateAndTime.sol\":{\"keccak256\":\"0x51ef52a03b2f9ea187ccb846e346a68943f7745c84cbd85b4c01669cc470841d\",\"license\":\"SPDX-License\",\"urls\":[\"bzz-raw://1163edee3a2c0993ed27de5bd76845e4b0ffd5e02a6a8330fa1043a6922c4629\",\"dweb:/ipfs/Qmcwe1fhywHRJzBA2xLhxCpyMwA5kyHxfQN8hqyjoxZJgQ\"]}},\"version\":1}", "bytecode": "0x608060405234801561001057600080fd5b50610f0f806100206000396000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c80639054bdec1161008c578063a6f0e57711610066578063a6f0e577146102cf578063b1999937146102ff578063b238ad0e1461032f578063fa93f8831461035f576100ea565b80639054bdec1461023f57806392d663131461026f578063a324ad241461029f576100ea565b806365c72840116100c857806365c728401461017f5780637f791833146101af5780638aa001fc146101df5780638c8d98a01461020f576100ea565b80633e239e1a146100ef5780634ac1ad781461011f57806362ba96871461014f575b600080fd5b61010960048036038101906101049190610d56565b61038f565b6040516101169190610e48565b60405180910390f35b61013960048036038101906101349190610d56565b6103b6565b6040516101469190610e48565b60405180910390f35b61016960048036038101906101649190610c56565b6103d9565b6040516101769190610e2d565b60405180910390f35b61019960048036038101906101949190610d56565b6103f5565b6040516101a69190610e48565b60405180910390f35b6101c960048036038101906101c49190610bf3565b61040b565b6040516101d69190610e2d565b60405180910390f35b6101f960048036038101906101f49190610d56565b610426565b6040516102069190610e48565b60405180910390f35b61022960048036038101906102249190610ba4565b61043a565b6040516102369190610e2d565b60405180910390f35b61025960048036038101906102549190610ccd565b610455565b6040516102669190610e2d565b60405180910390f35b61028960048036038101906102849190610d56565b6106dd565b6040516102969190610e12565b60405180910390f35b6102b960048036038101906102b49190610d56565b610786565b6040516102c69190610e48565b60405180910390f35b6102e960048036038101906102e49190610b7b565b61079c565b6040516102f69190610df7565b60405180910390f35b61031960048036038101906103149190610d56565b610811565b6040516103269190610e2d565b60405180910390f35b61034960048036038101906103449190610d7f565b610844565b6040516103569190610e48565b60405180910390f35b61037960048036038101906103749190610d56565b610910565b6040516103869190610e48565b60405180910390f35b60006018603c80848161039e57fe5b04816103a657fe5b04816103ae57fe5b069050919050565b6000600760046201518084816103c857fe5b0401816103d157fe5b069050919050565b60006103ea86868686866000610455565b905095945050505050565b60006104008261092d565b604001519050919050565b600061041c85858585600080610455565b9050949350505050565b6000603c828161043257fe5b069050919050565b600061044c8484846000806000610455565b90509392505050565b6000806107b290505b8761ffff168161ffff1610156104a1576104778161079c565b1561048a576301e2850082019150610494565b6301e13380820191505b808060010191505061045e565b6104a9610ac6565b601f816000600c81106104b857fe5b602002019060ff16908160ff16815250506104d28961079c565b156104fc57601d816001600c81106104e657fe5b602002019060ff16908160ff168152505061051d565b601c816001600c811061050b57fe5b602002019060ff16908160ff16815250505b601f816002600c811061052c57fe5b602002019060ff16908160ff1681525050601e816003600c811061054c57fe5b602002019060ff16908160ff1681525050601f816004600c811061056c57fe5b602002019060ff16908160ff1681525050601e816005600c811061058c57fe5b602002019060ff16908160ff1681525050601f816006600c81106105ac57fe5b602002019060ff16908160ff1681525050601f816007600c81106105cc57fe5b602002019060ff16908160ff1681525050601e816008600c81106105ec57fe5b602002019060ff16908160ff1681525050601f816009600c811061060c57fe5b602002019060ff16908160ff1681525050601e81600a600c811061062c57fe5b602002019060ff16908160ff1681525050601f81600b600c811061064c57fe5b602002019060ff16908160ff1681525050600191505b8760ff168261ffff1610156106a257806001830361ffff16600c811061068457fe5b602002015160ff166201518002830192508180600101925050610662565b6001870360ff166201518002830192508560ff16610e1002830192508460ff16603c02830192508360ff168301925050509695505050505050565b600080600090506000806301e1338085816106f457fe5b046107b261ffff1601915061070e6107b261ffff16610811565b61071b8361ffff16610811565b039050806301e285000283019250806107b2830361ffff16036301e1338002830192505b8483111561077b576107536001830361079c565b15610766576301e2850083039250610770565b6301e13380830392505b60018203915061073f565b819350505050919050565b60006107918261092d565b602001519050919050565b60008060048361ffff16816107ad57fe5b0661ffff16146107c0576000905061080c565b600060648361ffff16816107d057fe5b0661ffff16146107e3576001905061080c565b60006101908361ffff16816107f457fe5b0661ffff1614610807576000905061080c565b600190505b919050565b6000600182039150610190828161082457fe5b046064838161082f57fe5b046004848161083a57fe5b0403019050919050565b600060018360ff16148061085b575060038360ff16145b80610869575060058360ff16145b80610877575060078360ff16145b80610885575060088360ff16145b806108935750600a8360ff16145b806108a15750600c8360ff16145b156108af57601f905061090a565b60048360ff1614806108c4575060068360ff16145b806108d2575060098360ff16145b806108e05750600b8360ff16145b156108ee57601e905061090a565b6108f78261079c565b1561090557601d905061090a565b601c90505b92915050565b6000603c80838161091d57fe5b048161092557fe5b069050919050565b610935610ae9565b60008080610942856106dd565b846000019061ffff16908161ffff16815250506109646107b261ffff16610811565b610975856000015161ffff16610811565b039150816301e285000283019250816107b285600001510361ffff16036301e1338002830192506000600191505b600c8260ff16116109f9576109bc828660000151610844565b60ff16620151800290508584820111156109e75781856020019060ff16908160ff16815250506109f9565b808401935081806001019250506109a3565b600191505b610a1085602001518660000151610844565b60ff168260ff1611610a5557858462015180011115610a405781856040019060ff16908160ff1681525050610a55565b620151808401935081806001019250506109fe565b610a5e8661038f565b856060019060ff16908160ff1681525050610a7886610910565b856080019060ff16908160ff1681525050610a9286610426565b8560a0019060ff16908160ff1681525050610aac866103b6565b8560c0019060ff16908160ff168152505050505050919050565b604051806101800160405280600c90602082028036833780820191505090505090565b6040518060e00160405280600061ffff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff1681525090565b600081359050610b4b81610e94565b92915050565b600081359050610b6081610eab565b92915050565b600081359050610b7581610ec2565b92915050565b600060208284031215610b8d57600080fd5b6000610b9b84828501610b3c565b91505092915050565b600080600060608486031215610bb957600080fd5b6000610bc786828701610b3c565b9350506020610bd886828701610b66565b9250506040610be986828701610b66565b9150509250925092565b60008060008060808587031215610c0957600080fd5b6000610c1787828801610b3c565b9450506020610c2887828801610b66565b9350506040610c3987828801610b66565b9250506060610c4a87828801610b66565b91505092959194509250565b600080600080600060a08688031215610c6e57600080fd5b6000610c7c88828901610b3c565b9550506020610c8d88828901610b66565b9450506040610c9e88828901610b66565b9350506060610caf88828901610b66565b9250506080610cc088828901610b66565b9150509295509295909350565b60008060008060008060c08789031215610ce657600080fd5b6000610cf489828a01610b3c565b9650506020610d0589828a01610b66565b9550506040610d1689828a01610b66565b9450506060610d2789828a01610b66565b9350506080610d3889828a01610b66565b92505060a0610d4989828a01610b66565b9150509295509295509295565b600060208284031215610d6857600080fd5b6000610d7684828501610b51565b91505092915050565b60008060408385031215610d9257600080fd5b6000610da085828601610b66565b9250506020610db185828601610b3c565b9150509250929050565b610dc481610e63565b82525050565b610dd381610e6f565b82525050565b610de281610e7d565b82525050565b610df181610e87565b82525050565b6000602082019050610e0c6000830184610dbb565b92915050565b6000602082019050610e276000830184610dca565b92915050565b6000602082019050610e426000830184610dd9565b92915050565b6000602082019050610e5d6000830184610de8565b92915050565b60008115159050919050565b600061ffff82169050919050565b6000819050919050565b600060ff82169050919050565b610e9d81610e6f565b8114610ea857600080fd5b50565b610eb481610e7d565b8114610ebf57600080fd5b50565b610ecb81610e87565b8114610ed657600080fd5b5056fea26469706673582212206ff3e857024df7f0712ec601e097104e32e96992040f4a2fa22628505b54938564736f6c63430007060033", "deployedBytecode": "0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c80639054bdec1161008c578063a6f0e57711610066578063a6f0e577146102cf578063b1999937146102ff578063b238ad0e1461032f578063fa93f8831461035f576100ea565b80639054bdec1461023f57806392d663131461026f578063a324ad241461029f576100ea565b806365c72840116100c857806365c728401461017f5780637f791833146101af5780638aa001fc146101df5780638c8d98a01461020f576100ea565b80633e239e1a146100ef5780634ac1ad781461011f57806362ba96871461014f575b600080fd5b61010960048036038101906101049190610d56565b61038f565b6040516101169190610e48565b60405180910390f35b61013960048036038101906101349190610d56565b6103b6565b6040516101469190610e48565b60405180910390f35b61016960048036038101906101649190610c56565b6103d9565b6040516101769190610e2d565b60405180910390f35b61019960048036038101906101949190610d56565b6103f5565b6040516101a69190610e48565b60405180910390f35b6101c960048036038101906101c49190610bf3565b61040b565b6040516101d69190610e2d565b60405180910390f35b6101f960048036038101906101f49190610d56565b610426565b6040516102069190610e48565b60405180910390f35b61022960048036038101906102249190610ba4565b61043a565b6040516102369190610e2d565b60405180910390f35b61025960048036038101906102549190610ccd565b610455565b6040516102669190610e2d565b60405180910390f35b61028960048036038101906102849190610d56565b6106dd565b6040516102969190610e12565b60405180910390f35b6102b960048036038101906102b49190610d56565b610786565b6040516102c69190610e48565b60405180910390f35b6102e960048036038101906102e49190610b7b565b61079c565b6040516102f69190610df7565b60405180910390f35b61031960048036038101906103149190610d56565b610811565b6040516103269190610e2d565b60405180910390f35b61034960048036038101906103449190610d7f565b610844565b6040516103569190610e48565b60405180910390f35b61037960048036038101906103749190610d56565b610910565b6040516103869190610e48565b60405180910390f35b60006018603c80848161039e57fe5b04816103a657fe5b04816103ae57fe5b069050919050565b6000600760046201518084816103c857fe5b0401816103d157fe5b069050919050565b60006103ea86868686866000610455565b905095945050505050565b60006104008261092d565b604001519050919050565b600061041c85858585600080610455565b9050949350505050565b6000603c828161043257fe5b069050919050565b600061044c8484846000806000610455565b90509392505050565b6000806107b290505b8761ffff168161ffff1610156104a1576104778161079c565b1561048a576301e2850082019150610494565b6301e13380820191505b808060010191505061045e565b6104a9610ac6565b601f816000600c81106104b857fe5b602002019060ff16908160ff16815250506104d28961079c565b156104fc57601d816001600c81106104e657fe5b602002019060ff16908160ff168152505061051d565b601c816001600c811061050b57fe5b602002019060ff16908160ff16815250505b601f816002600c811061052c57fe5b602002019060ff16908160ff1681525050601e816003600c811061054c57fe5b602002019060ff16908160ff1681525050601f816004600c811061056c57fe5b602002019060ff16908160ff1681525050601e816005600c811061058c57fe5b602002019060ff16908160ff1681525050601f816006600c81106105ac57fe5b602002019060ff16908160ff1681525050601f816007600c81106105cc57fe5b602002019060ff16908160ff1681525050601e816008600c81106105ec57fe5b602002019060ff16908160ff1681525050601f816009600c811061060c57fe5b602002019060ff16908160ff1681525050601e81600a600c811061062c57fe5b602002019060ff16908160ff1681525050601f81600b600c811061064c57fe5b602002019060ff16908160ff1681525050600191505b8760ff168261ffff1610156106a257806001830361ffff16600c811061068457fe5b602002015160ff166201518002830192508180600101925050610662565b6001870360ff166201518002830192508560ff16610e1002830192508460ff16603c02830192508360ff168301925050509695505050505050565b600080600090506000806301e1338085816106f457fe5b046107b261ffff1601915061070e6107b261ffff16610811565b61071b8361ffff16610811565b039050806301e285000283019250806107b2830361ffff16036301e1338002830192505b8483111561077b576107536001830361079c565b15610766576301e2850083039250610770565b6301e13380830392505b60018203915061073f565b819350505050919050565b60006107918261092d565b602001519050919050565b60008060048361ffff16816107ad57fe5b0661ffff16146107c0576000905061080c565b600060648361ffff16816107d057fe5b0661ffff16146107e3576001905061080c565b60006101908361ffff16816107f457fe5b0661ffff1614610807576000905061080c565b600190505b919050565b6000600182039150610190828161082457fe5b046064838161082f57fe5b046004848161083a57fe5b0403019050919050565b600060018360ff16148061085b575060038360ff16145b80610869575060058360ff16145b80610877575060078360ff16145b80610885575060088360ff16145b806108935750600a8360ff16145b806108a15750600c8360ff16145b156108af57601f905061090a565b60048360ff1614806108c4575060068360ff16145b806108d2575060098360ff16145b806108e05750600b8360ff16145b156108ee57601e905061090a565b6108f78261079c565b1561090557601d905061090a565b601c90505b92915050565b6000603c80838161091d57fe5b048161092557fe5b069050919050565b610935610ae9565b60008080610942856106dd565b846000019061ffff16908161ffff16815250506109646107b261ffff16610811565b610975856000015161ffff16610811565b039150816301e285000283019250816107b285600001510361ffff16036301e1338002830192506000600191505b600c8260ff16116109f9576109bc828660000151610844565b60ff16620151800290508584820111156109e75781856020019060ff16908160ff16815250506109f9565b808401935081806001019250506109a3565b600191505b610a1085602001518660000151610844565b60ff168260ff1611610a5557858462015180011115610a405781856040019060ff16908160ff1681525050610a55565b620151808401935081806001019250506109fe565b610a5e8661038f565b856060019060ff16908160ff1681525050610a7886610910565b856080019060ff16908160ff1681525050610a9286610426565b8560a0019060ff16908160ff1681525050610aac866103b6565b8560c0019060ff16908160ff168152505050505050919050565b604051806101800160405280600c90602082028036833780820191505090505090565b6040518060e00160405280600061ffff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff168152602001600060ff1681525090565b600081359050610b4b81610e94565b92915050565b600081359050610b6081610eab565b92915050565b600081359050610b7581610ec2565b92915050565b600060208284031215610b8d57600080fd5b6000610b9b84828501610b3c565b91505092915050565b600080600060608486031215610bb957600080fd5b6000610bc786828701610b3c565b9350506020610bd886828701610b66565b9250506040610be986828701610b66565b9150509250925092565b60008060008060808587031215610c0957600080fd5b6000610c1787828801610b3c565b9450506020610c2887828801610b66565b9350506040610c3987828801610b66565b9250506060610c4a87828801610b66565b91505092959194509250565b600080600080600060a08688031215610c6e57600080fd5b6000610c7c88828901610b3c565b9550506020610c8d88828901610b66565b9450506040610c9e88828901610b66565b9350506060610caf88828901610b66565b9250506080610cc088828901610b66565b9150509295509295909350565b60008060008060008060c08789031215610ce657600080fd5b6000610cf489828a01610b3c565b9650506020610d0589828a01610b66565b9550506040610d1689828a01610b66565b9450506060610d2789828a01610b66565b9350506080610d3889828a01610b66565b92505060a0610d4989828a01610b66565b9150509295509295509295565b600060208284031215610d6857600080fd5b6000610d7684828501610b51565b91505092915050565b60008060408385031215610d9257600080fd5b6000610da085828601610b66565b9250506020610db185828601610b3c565b9150509250929050565b610dc481610e63565b82525050565b610dd381610e6f565b82525050565b610de281610e7d565b82525050565b610df181610e87565b82525050565b6000602082019050610e0c6000830184610dbb565b92915050565b6000602082019050610e276000830184610dca565b92915050565b6000602082019050610e426000830184610dd9565b92915050565b6000602082019050610e5d6000830184610de8565b92915050565b60008115159050919050565b600061ffff82169050919050565b6000819050919050565b600060ff82169050919050565b610e9d81610e6f565b8114610ea857600080fd5b50565b610eb481610e7d565b8114610ebf57600080fd5b50565b610ecb81610e87565b8114610ed657600080fd5b5056fea26469706673582212206ff3e857024df7f0712ec601e097104e32e96992040f4a2fa22628505b54938564736f6c63430007060033", "immutableReferences": {}, @@ -4398,12 +4398,12 @@ ], "sourceMap": "124:1398:0:-:0;;;;;;;;;;;;;;;;;;;", "deployedSourceMap": "124:1398:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4781:130:2;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5188:143;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5714:203;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4646:125;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5520:184;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5058:120;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5341:169;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5927:1727;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3526:971;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4507:129;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;731:382;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1123:160;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1293:571;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4921:127;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;4781:130;4835:5;4897:2;4891;4886;4874:9;:14;;;;;;:19;;;;;;4873:26;;;;;;4860:40;;4781:130;;;:::o;5188:143::-;5245:5;5318:1;5313;472:5;5284:9;:26;;;;;;:30;5283:36;;;;;;5270:50;;5188:143;;;:::o;5714:203::-;5819:14;5860:46;5872:4;5878:5;5885:3;5890:4;5896:6;5904:1;5860:11;:46::i;:::-;5853:53;;5714:203;;;;;;;:::o;4646:125::-;4699:5;4731:25;4746:9;4731:14;:25::i;:::-;:29;;;4724:36;;4646:125;;;:::o;5520:184::-;5611:14;5652:41;5664:4;5670:5;5677:3;5682:4;5688:1;5691;5652:11;:41::i;:::-;5645:48;;5520:184;;;;;;:::o;5058:120::-;5114:5;5164:2;5152:9;:14;;;;;;5139:28;;5058:120;;;:::o;5341:169::-;5420:14;5461:38;5473:4;5479:5;5486:3;5491:1;5494;5497;5461:11;:38::i;:::-;5454:45;;5341:169;;;;;:::o;5927:1727::-;6046:14;6080:8;716:4;6136:15;;6131:313;6157:4;6153:8;;:1;:8;;;6131:313;;;6198:13;6209:1;6198:10;:13::i;:::-;6194:232;;;574:8;6247:33;;;;6194:232;;;519:8;6371:28;;;;6194:232;6163:3;;;;;;;6131:313;;;6487:31;;:::i;:::-;6556:2;6536:14;6551:1;6536:17;;;;;;;;;;:22;;;;;;;;;;;6580:16;6591:4;6580:10;:16::i;:::-;6576:178;;;6644:2;6624:14;6639:1;6624:17;;;;;;;;;;:22;;;;;;;;;;;6576:178;;;6733:2;6713:14;6728:1;6713:17;;;;;;;;;;:22;;;;;;;;;;;6576:178;6791:2;6771:14;6786:1;6771:17;;;;;;;;;;:22;;;;;;;;;;;6831:2;6811:14;6826:1;6811:17;;;;;;;;;;:22;;;;;;;;;;;6871:2;6851:14;6866:1;6851:17;;;;;;;;;;:22;;;;;;;;;;;6911:2;6891:14;6906:1;6891:17;;;;;;;;;;:22;;;;;;;;;;;6951:2;6931:14;6946:1;6931:17;;;;;;;;;;:22;;;;;;;;;;;6991:2;6971:14;6986:1;6971:17;;;;;;;;;;:22;;;;;;;;;;;7031:2;7011:14;7026:1;7011:17;;;;;;;;;;:22;;;;;;;;;;;7071:2;7051:14;7066:1;7051:17;;;;;;;;;;:22;;;;;;;;;;;7112:2;7091:14;7106:2;7091:18;;;;;;;;;;:23;;;;;;;;;;;7153:2;7132:14;7147:2;7132:18;;;;;;;;;;:23;;;;;;;;;;;7183:1;7179:5;;7174:124;7190:5;7186:9;;:1;:9;;;7174:124;;;7258:14;7277:1;7273;:5;7258:21;;;;;;;;;;;;;7241:38;;472:5;7241:38;7228:51;;;;7197:3;;;;;;;7174:124;;;7376:1;7370:3;:7;7352:26;;472:5;7352:26;7339:39;;;;7453:4;7434:24;;625:4;7434:24;7421:37;;;;7537:6;7516:28;;673:2;7516:28;7503:41;;;;7602:6;7589:19;;;;;;7627:16;;5927:1727;;;;;;;;:::o;3526:971::-;3580:6;3606:24;3633:1;3606:28;;3652:11;3681:17;519:8;3769:9;:27;;;;;;716:4;3755:41;;;3741:56;;3854:28;716:4;3854:28;;:15;:28::i;:::-;3830:21;3846:4;3830:21;;:15;:21::i;:::-;:52;3815:67;;3947:12;574:8;3924:35;3901:58;;;;4040:12;716:4;4019;:18;:33;;;519:8;4000:53;3977:76;;;;4072:386;4101:9;4079:19;:31;4072:386;;;4142:28;4167:1;4160:4;:8;4142:10;:28::i;:::-;4138:267;;;574:8;4206:43;;;;4138:267;;;519:8;4340:38;;;;4138:267;4438:1;4430:9;;;;4072:386;;;4482:4;4475:11;;;;;3526:971;;;:::o;4507:129::-;4562:5;4594:25;4609:9;4594:14;:25::i;:::-;:31;;;4587:38;;4507:129;;;:::o;731:382::-;785:4;825:1;820;813:4;:8;;;;;;;;:13;;;809:76;;861:5;854:12;;;;809:76;920:1;913:3;906:4;:10;;;;;;;;:15;;;902:77;;956:4;949:11;;;;902:77;1014:1;1007:3;1000:4;:10;;;;;;;;:15;;;996:78;;1050:5;1043:12;;;;996:78;1098:4;1091:11;;731:382;;;;:::o;1123:160::-;1180:4;1212:1;1204:9;;;;1269:3;1262:4;:10;;;;;;1256:3;1249:4;:10;;;;;;1245:1;1238:4;:8;;;;;;:21;:34;1231:41;;1123:160;;;:::o;1293:571::-;1364:5;1402:1;1393:5;:10;;;:24;;;;1416:1;1407:5;:10;;;1393:24;:38;;;;1430:1;1421:5;:10;;;1393:38;:52;;;;1444:1;1435:5;:10;;;1393:52;:66;;;;1458:1;1449:5;:10;;;1393:66;:81;;;;1472:2;1463:5;:11;;;1393:81;:96;;;;1487:2;1478:5;:11;;;1393:96;1389:465;;;1524:2;1517:9;;;;1389:465;1580:1;1571:5;:10;;;:24;;;;1594:1;1585:5;:10;;;1571:24;:38;;;;1608:1;1599:5;:10;;;1571:38;:53;;;;1622:2;1613:5;:11;;;1571:53;1567:287;;;1659:2;1652:9;;;;1567:287;1706:16;1717:4;1706:10;:16::i;:::-;1702:152;;;1757:2;1750:9;;;;1702:152;1833:2;1826:9;;1293:571;;;;;:::o;4921:127::-;4977:5;5034:2;5028;5016:9;:14;;;;;;5015:21;;;;;;5002:35;;4921:127;;;:::o;1874:1642::-;1937:19;;:::i;:::-;1976:24;2022:8;2048:7;2108:18;2116:9;2108:7;:18::i;:::-;2098:2;:7;;:28;;;;;;;;;;;2177;716:4;2177:28;;:15;:28::i;:::-;2150:24;2166:2;:7;;;2150:24;;:15;:24::i;:::-;:55;2144:61;;2270:3;574:8;2247:26;2224:49;;;;2357:3;716:4;2333:2;:7;;;:21;:27;;;519:8;2314:47;2291:70;;;;2405:19;2451:1;2447:5;;2442:385;2459:2;2454:1;:7;;;2442:385;;2528:26;2543:1;2546:2;:7;;;2528:14;:26::i;:::-;2511:43;;472:5;2511:43;2494:60;;2623:9;2601:19;2584:14;:36;:48;2580:166;;;2679:1;2668:2;:8;;:12;;;;;;;;;;;2714:5;;2580:166;2794:14;2771:37;;;;2463:3;;;;;;;2442:385;;;2877:1;2873:5;;2868:328;2885:33;2900:2;:8;;;2910:2;:7;;;2885:14;:33::i;:::-;2880:38;;:1;:38;;;2868:328;;2994:9;2972:19;472:5;2955:36;:48;2951:164;;;3048:1;3039:2;:6;;:10;;;;;;;;;;;3083:5;;2951:164;472:5;3140:37;;;;2920:3;;;;;;;2868:328;;;3248:18;3256:9;3248:7;:18::i;:::-;3238:2;:7;;:28;;;;;;;;;;;3323:20;3333:9;3323;:20::i;:::-;3311:2;:9;;:32;;;;;;;;;;;3400:20;3410:9;3400;:20::i;:::-;3388:2;:9;;:32;;;;;;;;;;;3484:21;3495:9;3484:10;:21::i;:::-;3471:2;:10;;:34;;;;;;;;;;;1874:1642;;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;7:137:4:-;;90:6;77:20;68:29;;106:32;132:5;106:32;:::i;:::-;58:86;;;;:::o;150:139::-;;234:6;221:20;212:29;;250:33;277:5;250:33;:::i;:::-;202:87;;;;:::o;295:135::-;;377:6;364:20;355:29;;393:31;418:5;393:31;:::i;:::-;345:85;;;;:::o;436:260::-;;543:2;531:9;522:7;518:23;514:32;511:2;;;559:1;556;549:12;511:2;602:1;627:52;671:7;662:6;651:9;647:22;627:52;:::i;:::-;617:62;;573:116;501:195;;;;:::o;702:542::-;;;;839:2;827:9;818:7;814:23;810:32;807:2;;;855:1;852;845:12;807:2;898:1;923:52;967:7;958:6;947:9;943:22;923:52;:::i;:::-;913:62;;869:116;1024:2;1050:51;1093:7;1084:6;1073:9;1069:22;1050:51;:::i;:::-;1040:61;;995:116;1150:2;1176:51;1219:7;1210:6;1199:9;1195:22;1176:51;:::i;:::-;1166:61;;1121:116;797:447;;;;;:::o;1250:684::-;;;;;1402:3;1390:9;1381:7;1377:23;1373:33;1370:2;;;1419:1;1416;1409:12;1370:2;1462:1;1487:52;1531:7;1522:6;1511:9;1507:22;1487:52;:::i;:::-;1477:62;;1433:116;1588:2;1614:51;1657:7;1648:6;1637:9;1633:22;1614:51;:::i;:::-;1604:61;;1559:116;1714:2;1740:51;1783:7;1774:6;1763:9;1759:22;1740:51;:::i;:::-;1730:61;;1685:116;1840:2;1866:51;1909:7;1900:6;1889:9;1885:22;1866:51;:::i;:::-;1856:61;;1811:116;1360:574;;;;;;;:::o;1940:826::-;;;;;;2107:3;2095:9;2086:7;2082:23;2078:33;2075:2;;;2124:1;2121;2114:12;2075:2;2167:1;2192:52;2236:7;2227:6;2216:9;2212:22;2192:52;:::i;:::-;2182:62;;2138:116;2293:2;2319:51;2362:7;2353:6;2342:9;2338:22;2319:51;:::i;:::-;2309:61;;2264:116;2419:2;2445:51;2488:7;2479:6;2468:9;2464:22;2445:51;:::i;:::-;2435:61;;2390:116;2545:2;2571:51;2614:7;2605:6;2594:9;2590:22;2571:51;:::i;:::-;2561:61;;2516:116;2671:3;2698:51;2741:7;2732:6;2721:9;2717:22;2698:51;:::i;:::-;2688:61;;2642:117;2065:701;;;;;;;;:::o;2772:968::-;;;;;;;2954:3;2942:9;2933:7;2929:23;2925:33;2922:2;;;2971:1;2968;2961:12;2922:2;3014:1;3039:52;3083:7;3074:6;3063:9;3059:22;3039:52;:::i;:::-;3029:62;;2985:116;3140:2;3166:51;3209:7;3200:6;3189:9;3185:22;3166:51;:::i;:::-;3156:61;;3111:116;3266:2;3292:51;3335:7;3326:6;3315:9;3311:22;3292:51;:::i;:::-;3282:61;;3237:116;3392:2;3418:51;3461:7;3452:6;3441:9;3437:22;3418:51;:::i;:::-;3408:61;;3363:116;3518:3;3545:51;3588:7;3579:6;3568:9;3564:22;3545:51;:::i;:::-;3535:61;;3489:117;3645:3;3672:51;3715:7;3706:6;3695:9;3691:22;3672:51;:::i;:::-;3662:61;;3616:117;2912:828;;;;;;;;:::o;3746:262::-;;3854:2;3842:9;3833:7;3829:23;3825:32;3822:2;;;3870:1;3867;3860:12;3822:2;3913:1;3938:53;3983:7;3974:6;3963:9;3959:22;3938:53;:::i;:::-;3928:63;;3884:117;3812:196;;;;:::o;4014:401::-;;;4136:2;4124:9;4115:7;4111:23;4107:32;4104:2;;;4152:1;4149;4142:12;4104:2;4195:1;4220:51;4263:7;4254:6;4243:9;4239:22;4220:51;:::i;:::-;4210:61;;4166:115;4320:2;4346:52;4390:7;4381:6;4370:9;4366:22;4346:52;:::i;:::-;4336:62;;4291:117;4094:321;;;;;:::o;4421:109::-;4502:21;4517:5;4502:21;:::i;:::-;4497:3;4490:34;4480:50;;:::o;4536:115::-;4621:23;4638:5;4621:23;:::i;:::-;4616:3;4609:36;4599:52;;:::o;4657:118::-;4744:24;4762:5;4744:24;:::i;:::-;4739:3;4732:37;4722:53;;:::o;4781:112::-;4864:22;4880:5;4864:22;:::i;:::-;4859:3;4852:35;4842:51;;:::o;4899:210::-;;5024:2;5013:9;5009:18;5001:26;;5037:65;5099:1;5088:9;5084:17;5075:6;5037:65;:::i;:::-;4991:118;;;;:::o;5115:218::-;;5244:2;5233:9;5229:18;5221:26;;5257:69;5323:1;5312:9;5308:17;5299:6;5257:69;:::i;:::-;5211:122;;;;:::o;5339:222::-;;5470:2;5459:9;5455:18;5447:26;;5483:71;5551:1;5540:9;5536:17;5527:6;5483:71;:::i;:::-;5437:124;;;;:::o;5567:214::-;;5694:2;5683:9;5679:18;5671:26;;5707:67;5771:1;5760:9;5756:17;5747:6;5707:67;:::i;:::-;5661:120;;;;:::o;5787:90::-;;5864:5;5857:13;5850:21;5839:32;;5829:48;;;:::o;5883:89::-;;5959:6;5952:5;5948:18;5937:29;;5927:45;;;:::o;5978:77::-;;6044:5;6033:16;;6023:32;;;:::o;6061:86::-;;6136:4;6129:5;6125:16;6114:27;;6104:43;;;:::o;6153:120::-;6225:23;6242:5;6225:23;:::i;:::-;6218:5;6215:34;6205:2;;6263:1;6260;6253:12;6205:2;6195:78;:::o;6279:122::-;6352:24;6370:5;6352:24;:::i;:::-;6345:5;6342:35;6332:2;;6391:1;6388;6381:12;6332:2;6322:79;:::o;6407:118::-;6478:22;6494:5;6478:22;:::i;:::-;6471:5;6468:33;6458:2;;6515:1;6512;6505:12;6458:2;6448:77;:::o", - "source": "// SPDX-License-Identifier: SPDX-License\npragma solidity >=0.4.21 <0.8.0;\npragma abicoder v2;\n\nimport \"./DateAndTime.sol\";\n\ncontract CryptoBoyStruct is DateAndTime {\n\n struct CryptoBoy {\n uint256 tokenId;\n string tokenURI;\n address payable mintedBy;\n address payable currentOwner;\n address payable previousOwner;\n uint256 price;\n uint256 numberOfTransfers;\n _DateTime timeStamp;\n bool purchased;\n bool forSale;\n }\n\n event CryptoBoyMinted (\n uint256 tokenId,\n string tokenURI,\n address payable mintedBy,\n address payable currentOwner,\n address payable previousOwner,\n uint256 price,\n uint256 numberOfTransfers,\n _DateTime timeStamp,\n bool purchased,\n bool forSale\n );\n\n // emit CryptoBoyMinted(cryptoBoyCounter, _tokenURI, msg.sender, msg.sender, address(0), _price, 0, timeStamp, false, true);\n\n // const event = result.logs[1].args;\n // assert.equal(event.tokenId.toNumber(), 1);\n // assert.equal(\n // event.tokenURI,\n // \"https://gateway.pinata.cloud/ipfs/QmYFmJgQGH4uPHRYN15Xdv4aLd9o4Aq63y1e4GgN6kj5aK/2\"\n // );\n // assert.equal(event.mintedBy, accounts[0]);\n // assert.equal(event.currentOwner, accounts[0]);\n // assert.equal(\n // event.previousOwner,\n // \"0x0000000000000000000000000000000000000000\"\n // );\n // const cryptoBoyPrice = web3.utils.fromWei(event.price, \"ether\");\n // assert.equal(cryptoBoyPrice, 1);\n // assert.equal(event.numberOfTransfers.toNumber(), 0);\n\n}", - "sourcePath": "/home/pavansoratur/crypto-boys/src/contracts/CryptoBoyStruct.sol", + "source": "// SPDX-License-Identifier: SPDX-License\npragma solidity >=0.4.21 <0.8.0;\npragma abicoder v2;\n\nimport \"./DateAndTime.sol\";\n\ncontract BscBoystruct is DateAndTime {\n\n struct CryptoBoy {\n uint256 tokenId;\n string tokenURI;\n address payable mintedBy;\n address payable currentOwner;\n address payable previousOwner;\n uint256 price;\n uint256 numberOfTransfers;\n _DateTime timeStamp;\n bool purchased;\n bool forSale;\n }\n\n event CryptoBoyMinted (\n uint256 tokenId,\n string tokenURI,\n address payable mintedBy,\n address payable currentOwner,\n address payable previousOwner,\n uint256 price,\n uint256 numberOfTransfers,\n _DateTime timeStamp,\n bool purchased,\n bool forSale\n );\n\n // emit CryptoBoyMinted(cryptoBoyCounter, _tokenURI, msg.sender, msg.sender, address(0), _price, 0, timeStamp, false, true);\n\n // const event = result.logs[1].args;\n // assert.equal(event.tokenId.toNumber(), 1);\n // assert.equal(\n // event.tokenURI,\n // \"https://gateway.pinata.cloud/ipfs/QmYFmJgQGH4uPHRYN15Xdv4aLd9o4Aq63y1e4GgN6kj5aK/2\"\n // );\n // assert.equal(event.mintedBy, accounts[0]);\n // assert.equal(event.currentOwner, accounts[0]);\n // assert.equal(\n // event.previousOwner,\n // \"0x0000000000000000000000000000000000000000\"\n // );\n // const cryptoBoyPrice = web3.utils.fromWei(event.price, \"ether\");\n // assert.equal(cryptoBoyPrice, 1);\n // assert.equal(event.numberOfTransfers.toNumber(), 0);\n\n}", + "sourcePath": "/home/pavansoratur/crypto-boys/src/contracts/BscBoystruct.sol", "ast": { - "absolutePath": "/home/pavansoratur/crypto-boys/src/contracts/CryptoBoyStruct.sol", + "absolutePath": "/home/pavansoratur/crypto-boys/src/contracts/BscBoystruct.sol", "exportedSymbols": { - "CryptoBoyStruct": [ + "BscBoystruct": [ 49 ], "DateAndTime": [ @@ -4478,11 +4478,11 @@ 49, 1286 ], - "name": "CryptoBoyStruct", + "name": "BscBoystruct", "nodeType": "ContractDefinition", "nodes": [ { - "canonicalName": "CryptoBoyStruct.CryptoBoy", + "canonicalName": "BscBoystruct.CryptoBoy", "id": 26, "members": [ { @@ -5053,9 +5053,9 @@ }, "legacyAST": { "attributes": { - "absolutePath": "/home/pavansoratur/crypto-boys/src/contracts/CryptoBoyStruct.sol", + "absolutePath": "/home/pavansoratur/crypto-boys/src/contracts/BscBoystruct.sol", "exportedSymbols": { - "CryptoBoyStruct": [ + "BscBoystruct": [ 49 ], "DateAndTime": [ @@ -5119,7 +5119,7 @@ 49, 1286 ], - "name": "CryptoBoyStruct", + "name": "BscBoystruct", "scope": 50 }, "children": [ @@ -5143,7 +5143,7 @@ }, { "attributes": { - "canonicalName": "CryptoBoyStruct.CryptoBoy", + "canonicalName": "BscBoystruct.CryptoBoy", "name": "CryptoBoy", "scope": 49, "visibility": "public" diff --git a/src/abis/CryptoBoys.json b/src/abis/CryptoBoys.json index baa18ae..90feb1a 100644 --- a/src/abis/CryptoBoys.json +++ b/src/abis/CryptoBoys.json @@ -1,5 +1,5 @@ { - "contractName": "CryptoBoys", + "contractName": "BscBoys", "abi": [ { "inputs": [], @@ -89,7 +89,7 @@ "type": "uint256" } ], - "name": "allCryptoBoys", + "name": "allBscBoys", "outputs": [ { "internalType": "uint256", @@ -138,8 +138,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [ @@ -176,8 +175,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [], @@ -190,8 +188,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [], @@ -204,8 +201,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [], @@ -218,8 +214,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [ @@ -238,8 +233,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [], @@ -252,8 +246,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [ @@ -272,8 +265,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [ @@ -297,8 +289,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [], @@ -311,8 +302,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [ @@ -331,8 +321,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [ @@ -420,8 +409,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [], @@ -434,8 +422,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [ @@ -454,8 +441,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [ @@ -474,8 +460,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [ @@ -499,8 +484,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [ @@ -519,8 +503,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [ @@ -539,8 +522,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [], @@ -553,8 +535,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [ @@ -624,8 +605,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [ @@ -644,8 +624,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [], @@ -658,8 +637,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [ @@ -678,8 +656,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [ @@ -698,8 +675,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [ @@ -712,8 +688,7 @@ "name": "buyToken", "outputs": [], "stateMutability": "payable", - "type": "function", - "payable": true + "type": "function" }, { "inputs": [ @@ -747,9 +722,9 @@ "type": "function" } ], - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":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\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"allCryptoBoys\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"tokenName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"tokenURI\",\"type\":\"string\"},{\"internalType\":\"address payable\",\"name\":\"mintedBy\",\"type\":\"address\"},{\"internalType\":\"address payable\",\"name\":\"currentOwner\",\"type\":\"address\"},{\"internalType\":\"address payable\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"numberOfTransfers\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"forSale\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"buyToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_newPrice\",\"type\":\"uint256\"}],\"name\":\"changeTokenPrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collectionName\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collectionNameSymbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"colorExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cryptoBoyCounter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNumberOfTokensMinted\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"getTokenExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"getTokenMetaData\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"getTokenOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"getTotalNumberOfTokensOwnedByAnAddress\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_tokenURI\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_price\",\"type\":\"uint256\"},{\"internalType\":\"string[]\",\"name\":\"_colors\",\"type\":\"string[]\"}],\"name\":\"mintCryptoBoy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"},{\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"toggleForSale\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"tokenNameExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"tokenURIExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"See {IERC721-approve}.\"},\"balanceOf(address)\":{\"details\":\"See {IERC721-balanceOf}.\"},\"baseURI()\":{\"details\":\"Returns the base URI set via {_setBaseURI}. This will be automatically added as a prefix in {tokenURI} to each token's URI, or to the token ID if no specific URI is set for that token ID.\"},\"getApproved(uint256)\":{\"details\":\"See {IERC721-getApproved}.\"},\"isApprovedForAll(address,address)\":{\"details\":\"See {IERC721-isApprovedForAll}.\"},\"name()\":{\"details\":\"See {IERC721Metadata-name}.\"},\"ownerOf(uint256)\":{\"details\":\"See {IERC721-ownerOf}.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"See {IERC721-setApprovalForAll}.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas.\"},\"symbol()\":{\"details\":\"See {IERC721Metadata-symbol}.\"},\"tokenByIndex(uint256)\":{\"details\":\"See {IERC721Enumerable-tokenByIndex}.\"},\"tokenOfOwnerByIndex(address,uint256)\":{\"details\":\"See {IERC721Enumerable-tokenOfOwnerByIndex}.\"},\"tokenURI(uint256)\":{\"details\":\"See {IERC721Metadata-tokenURI}.\"},\"totalSupply()\":{\"details\":\"See {IERC721Enumerable-totalSupply}.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-transferFrom}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/CryptoBoys.sol\":\"CryptoBoys\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/CryptoBoys.sol\":{\"keccak256\":\"0xcd093bc02f0a226bf59c8075285cfe5a74d070e8d77313f56c2d844eb7e69c15\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://906681d2c5da532821c088e54e2facc3785654c2fb78a243f33d538ddca02fa0\",\"dweb:/ipfs/QmSAhePHn3oaSRRa1ajFCfv4tQxX2h7tafRHk2TSb9JXvh\"]},\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":{\"keccak256\":\"0xac9220652f9879c5fb3116025d59e8fbf6c2c3d149aed9f617b88edd31402044\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://48de100723de94a6590c6db5bae5098a93445194389c3f3eeb104c7239ef3044\",\"dweb:/ipfs/QmVHLEtfLqBqX7XQRHfLuuwtufRBFJFHfgY4zbFRpaZwXC\"]}},\"version\":1}", - "bytecode": "0x60806040523480156200001157600080fd5b506040518060400160405280601681526020017f43727970746f20426f797320436f6c6c656374696f6e000000000000000000008152506040518060400160405280600281526020017f4342000000000000000000000000000000000000000000000000000000000000815250620000966301ffc9a760e01b6200016860201b60201c565b8160069080519060200190620000ae929190620003bd565b508060079080519060200190620000c7929190620003bd565b50620000e06380ac58cd60e01b6200016860201b60201c565b620000f8635b5e139f60e01b6200016860201b60201c565b6200011063780e9d6360e01b6200016860201b60201c565b5050620001226200027160201b60201c565b600a908051906020019062000139929190620003bd565b506200014a6200031760201b60201c565b600b908051906020019062000161929190620003bd565b5062000473565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141562000205576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433136353a20696e76616c696420696e746572666163652069640000000081525060200191505060405180910390fd5b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b606060068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156200030d5780601f10620002e1576101008083540402835291602001916200030d565b820191906000526020600020905b815481529060010190602001808311620002ef57829003601f168201915b5050505050905090565b606060078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015620003b35780601f106200038757610100808354040283529160200191620003b3565b820191906000526020600020905b8154815290600101906020018083116200039557829003601f168201915b5050505050905090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620003f5576000855562000441565b82601f106200041057805160ff191683800117855562000441565b8280016001018555821562000441579182015b828111156200044057825182559160200191906001019062000423565b5b50905062000450919062000454565b5090565b5b808211156200046f57600081600090555060010162000455565b5090565b614b4080620004836000396000f3fe6080604052600436106101ee5760003560e01c806367c623cf1161010d578063a32018b9116100a0578063bffec2021161006f578063bffec2021461078c578063c87b56dd146107b7578063cc151f3a146107f4578063e5326ab11461081f578063e985e9c51461084a576101ee565b8063a32018b9146106c0578063a46b1fac146106e9578063a5cd761f14610726578063b88d4fde14610763576101ee565b80638d44807c116100dc5780638d44807c1461060657806395d89b41146106435780639bfc5a591461066e578063a22cb46514610697576101ee565b806367c623cf146105365780636c0360eb146105735780636f9507f91461059e57806370a08231146105c9576101ee565b80632f745c591161018557806344c0d7eb1161015457806344c0d7eb1461044e5780634f6ccce71461049357806362e8e8ac146104d05780636352211e146104f9576101ee565b80632f745c591461036e57806342842e0e146103ab57806343902850146103d457806343d32ae714610411576101ee565b8063142687f3116101c1578063142687f3146102c157806318160ddd146102fe57806323b872dd146103295780632d296bf114610352576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a600480360381019061021591906142c3565b610887565b6040516102279190614558565b60405180910390f35b34801561023c57600080fd5b506102456108ee565b6040516102529190614573565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d91906143dd565b610990565b60405161028f919061453d565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba9190614287565b610a2b565b005b3480156102cd57600080fd5b506102e860048036038101906102e391906143dd565b610b6f565b6040516102f59190614558565b60405180910390f35b34801561030a57600080fd5b50610313610b86565b6040516103209190614595565b60405180910390f35b34801561033557600080fd5b50610350600480360381019061034b9190614181565b610b97565b005b61036c600480360381019061036791906143dd565b610c0d565b005b34801561037a57600080fd5b5061039560048036038101906103909190614287565b6111e6565b6040516103a29190614595565b60405180910390f35b3480156103b757600080fd5b506103d260048036038101906103cd9190614181565b611241565b005b3480156103e057600080fd5b506103fb60048036038101906103f6919061411c565b611261565b6040516104089190614595565b60405180910390f35b34801561041d57600080fd5b50610438600480360381019061043391906142ec565b611278565b6040516104459190614558565b60405180910390f35b34801561045a57600080fd5b50610475600480360381019061047091906143dd565b6112ae565b60405161048a999897969594939291906145b0565b60405180910390f35b34801561049f57600080fd5b506104ba60048036038101906104b591906143dd565b611499565b6040516104c79190614595565b60405180910390f35b3480156104dc57600080fd5b506104f760048036038101906104f29190614406565b6114bc565b005b34801561050557600080fd5b50610520600480360381019061051b91906143dd565b611964565b60405161052d919061453d565b60405180910390f35b34801561054257600080fd5b5061055d600480360381019061055891906143dd565b61199b565b60405161056a9190614573565b60405180910390f35b34801561057f57600080fd5b506105886119b3565b6040516105959190614573565b60405180910390f35b3480156105aa57600080fd5b506105b3611a55565b6040516105c09190614573565b60405180910390f35b3480156105d557600080fd5b506105f060048036038101906105eb919061411c565b611af3565b6040516105fd9190614595565b60405180910390f35b34801561061257600080fd5b5061062d600480360381019061062891906142ec565b611bc8565b60405161063a9190614558565b60405180910390f35b34801561064f57600080fd5b50610658611bfe565b6040516106659190614573565b60405180910390f35b34801561067a57600080fd5b506106956004803603810190610690919061432d565b611ca0565b005b3480156106a357600080fd5b506106be60048036038101906106b9919061424b565b6120d0565b005b3480156106cc57600080fd5b506106e760048036038101906106e291906143dd565b612286565b005b3480156106f557600080fd5b50610710600480360381019061070b91906142ec565b612758565b60405161071d9190614558565b60405180910390f35b34801561073257600080fd5b5061074d600480360381019061074891906143dd565b61278e565b60405161075a919061453d565b60405180910390f35b34801561076f57600080fd5b5061078a600480360381019061078591906141d0565b6127a5565b005b34801561079857600080fd5b506107a161281d565b6040516107ae9190614595565b60405180910390f35b3480156107c357600080fd5b506107de60048036038101906107d991906143dd565b612823565b6040516107eb9190614573565b60405180910390f35b34801561080057600080fd5b50610809612af4565b6040516108169190614595565b60405180910390f35b34801561082b57600080fd5b50610834612b08565b6040516108419190614573565b60405180910390f35b34801561085657600080fd5b50610871600480360381019061086c9190614145565b612ba6565b60405161087e9190614558565b60405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109865780601f1061095b57610100808354040283529160200191610986565b820191906000526020600020905b81548152906001019060200180831161096957829003601f168201915b5050505050905090565b600061099b82612c3a565b6109f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614a09602c913960400191505060405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a3682611964565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614ab96021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610adc612c57565b73ffffffffffffffffffffffffffffffffffffffff161480610b0b5750610b0a81610b05612c57565b612ba6565b5b610b60576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603881526020018061495c6038913960400191505060405180910390fd5b610b6a8383612c5f565b505050565b600080610b7b83612c3a565b905080915050919050565b6000610b926002612d18565b905090565b610ba8610ba2612c57565b82612d2d565b610bfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614ada6031913960400191505060405180910390fd5b610c08838383612e21565b505050565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610c4757600080fd5b610c5081612c3a565b610c5957600080fd5b6000610c6482611964565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ca057600080fd5b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610cd957600080fd5b6000600d60008481526020019081526020016000206040518061012001604052908160008201548152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d9d5780601f10610d7257610100808354040283529160200191610d9d565b820191906000526020600020905b815481529060010190602001808311610d8057829003601f168201915b50505050508152602001600282018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610e3f5780601f10610e1457610100808354040283529160200191610e3f565b820191906000526020600020905b815481529060010190602001808311610e2257829003601f168201915b505050505081526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160068201548152602001600782015481526020016008820160009054906101000a900460ff16151515158152505090508060c00151341015610f8c57600080fd5b806101000151610f9b57600080fd5b610fa6823385612e21565b6000816080015190508073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610ff5573d6000803e3d6000fd5b5081608001518260a0019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505033826080019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060018260e001818151019150818152505081600d60008681526020019081526020016000206000820151816000015560208201518160010190805190602001906110b5929190613f03565b5060408201518160020190805190602001906110d2929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff02191690831515021790555090505050505050565b600061123982600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061306490919063ffffffff16565b905092915050565b61125c838383604051806020016040528060008152506127a5565b505050565b60008061126d83611af3565b905080915050919050565b6010818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b600d602052806000526040600020600091509050806000015490806001018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113605780601f1061133557610100808354040283529160200191611360565b820191906000526020600020905b81548152906001019060200180831161134357829003601f168201915b505050505090806002018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113fe5780601f106113d3576101008083540402835291602001916113fe565b820191906000526020600020905b8154815290600101906020018083116113e157829003601f168201915b5050505050908060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060060154908060070154908060080160009054906101000a900460ff16905089565b6000806114b083600261307e90919063ffffffff16565b50905080915050919050565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156114f657600080fd5b6114ff82612c3a565b61150857600080fd5b600061151383611964565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461154d57600080fd5b6000600d60008581526020019081526020016000206040518061012001604052908160008201548152602001600182018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156116115780601f106115e657610100808354040283529160200191611611565b820191906000526020600020905b8154815290600101906020018083116115f457829003601f168201915b50505050508152602001600282018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156116b35780601f10611688576101008083540402835291602001916116b3565b820191906000526020600020905b81548152906001019060200180831161169657829003601f168201915b505050505081526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160068201548152602001600782015481526020016008820160009054906101000a900460ff1615151515815250509050828160c001818152505080600d6000868152602001908152602001600020600082015181600001556020820151816001019080519060200190611833929190613f03565b506040820151816002019080519060200190611850929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff02191690831515021790555090505050505050565b6000611994826040518060600160405280602981526020016149be6029913960026130aa9092919063ffffffff16565b9050919050565b606060006119a883612823565b905080915050919050565b606060098054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611a4b5780601f10611a2057610100808354040283529160200191611a4b565b820191906000526020600020905b815481529060010190602001808311611a2e57829003601f168201915b5050505050905090565b600b8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611aeb5780601f10611ac057610100808354040283529160200191611aeb565b820191906000526020600020905b815481529060010190602001808311611ace57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b7a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614994602a913960400191505060405180910390fd5b611bc1600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206130c9565b9050919050565b600f818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b606060078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611c965780601f10611c6b57610100808354040283529160200191611c96565b820191906000526020600020905b815481529060010190602001808311611c7957829003601f168201915b5050505050905090565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611cda57600080fd5b600c60008154809291906001019190505550611cf7600c54612c3a565b15611d0157600080fd5b60005b82829050811015611d7057600f838383818110611d1d57fe5b9050602002810190611d2f919061464b565b604051611d3d92919061450d565b908152602001604051809103902060009054906101000a900460ff1615611d6357600080fd5b8080600101915050611d04565b50601084604051611d819190614526565b908152602001604051809103902060009054906101000a900460ff1615611da757600080fd5b600e85604051611db79190614526565b908152602001604051809103902060009054906101000a900460ff1615611ddd57600080fd5b611de933600c546130de565b611df5600c54856132d2565b60005b82829050811015611e65576001600f848484818110611e1357fe5b9050602002810190611e25919061464b565b604051611e3392919061450d565b908152602001604051809103902060006101000a81548160ff0219169083151502179055508080600101915050611df8565b506001601085604051611e789190614526565b908152602001604051809103902060006101000a81548160ff0219169083151502179055506001600e86604051611eaf9190614526565b908152602001604051809103902060006101000a81548160ff0219169083151502179055506000604051806101200160405280600c5481526020018781526020018681526020013373ffffffffffffffffffffffffffffffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018581526020016000815260200160011515815250905080600d6000600c548152602001908152602001600020600082015181600001556020820151816001019080519060200190611f9d929190613f03565b506040820151816002019080519060200190611fba929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff021916908315150217905550905050505050505050565b6120d8612c57565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612179576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b8060056000612186612c57565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612233612c57565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156122c057600080fd5b6122c981612c3a565b6122d257600080fd5b60006122dd82611964565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461231757600080fd5b6000600d60008481526020019081526020016000206040518061012001604052908160008201548152602001600182018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156123db5780601f106123b0576101008083540402835291602001916123db565b820191906000526020600020905b8154815290600101906020018083116123be57829003601f168201915b50505050508152602001600282018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561247d5780601f106124525761010080835404028352916020019161247d565b820191906000526020600020905b81548152906001019060200180831161246057829003601f168201915b505050505081526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160068201548152602001600782015481526020016008820160009054906101000a900460ff1615151515815250509050806101000151156125db576000816101000190151590811515815250506125ee565b6001816101000190151590811515815250505b80600d6000858152602001908152602001600020600082015181600001556020820151816001019080519060200190612628929190613f03565b506040820151816002019080519060200190612645929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff021916908315150217905550905050505050565b600e818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b60008061279a83611964565b905080915050919050565b6127b66127b0612c57565b83612d2d565b61280b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614ada6031913960400191505060405180910390fd5b6128178484848461335c565b50505050565b600c5481565b606061282e82612c3a565b612883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180614a8a602f913960400191505060405180910390fd5b6000600860008481526020019081526020016000208054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561292c5780601f106129015761010080835404028352916020019161292c565b820191906000526020600020905b81548152906001019060200180831161290f57829003601f168201915b50505050509050600061293d6119b3565b9050600081511415612953578192505050612aef565b600082511115612a245780826040516020018083805190602001908083835b602083106129955780518252602082019150602081019050602083039250612972565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106129e657805182526020820191506020810190506020830392506129c3565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050612aef565b80612a2e856133ce565b6040516020018083805190602001908083835b60208310612a645780518252602082019150602081019050602083039250612a41565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b60208310612ab55780518252602082019150602081019050602083039250612a92565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052925050505b919050565b600080612aff610b86565b90508091505090565b600a8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612b9e5780601f10612b7357610100808354040283529160200191612b9e565b820191906000526020600020905b815481529060010190602001808311612b8157829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000612c5082600261351590919063ffffffff16565b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612cd283611964565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612d268260000161352f565b9050919050565b6000612d3882612c3a565b612d8d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614930602c913960400191505060405180910390fd5b6000612d9883611964565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612e0757508373ffffffffffffffffffffffffffffffffffffffff16612def84610990565b73ffffffffffffffffffffffffffffffffffffffff16145b80612e185750612e178185612ba6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612e4182611964565b73ffffffffffffffffffffffffffffffffffffffff1614612ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180614a616029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806148e66024913960400191505060405180910390fd5b612f3e838383613540565b612f49600082612c5f565b612f9a81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061354590919063ffffffff16565b50612fec81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061355f90919063ffffffff16565b50613003818360026135799092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061307383600001836135ae565b60001c905092915050565b6000806000806130918660000186613631565b915091508160001c8160001c9350935050509250929050565b60006130bd846000018460001b846136ca565b60001c90509392505050565b60006130d7826000016137c0565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613181576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4552433732313a206d696e7420746f20746865207a65726f206164647265737381525060200191505060405180910390fd5b61318a81612c3a565b156131fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081525060200191505060405180910390fd5b61320960008383613540565b61325a81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061355f90919063ffffffff16565b50613271818360026135799092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6132db82612c3a565b613330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614a35602c913960400191505060405180910390fd5b80600860008481526020019081526020016000209080519060200190613357929190613f03565b505050565b613367848484612e21565b613373848484846137d1565b6133c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806148b46032913960400191505060405180910390fd5b50505050565b60606000821415613416576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613510565b600082905060005b60008214613440578080600101915050600a828161343857fe5b04915061341e565b60008167ffffffffffffffff8111801561345957600080fd5b506040519080825280601f01601f19166020018201604052801561348c5781602001600182028036833780820191505090505b50905060006001830390508593505b6000841461350857600a84816134ad57fe5b0660300160f81b828280600190039350815181106134c757fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a848161350057fe5b04935061349b565b819450505050505b919050565b6000613527836000018360001b6139ea565b905092915050565b600081600001805490509050919050565b505050565b6000613557836000018360001b613a0d565b905092915050565b6000613571836000018360001b613af5565b905092915050565b60006135a5846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b613b65565b90509392505050565b60008183600001805490501161360f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806148926022913960400191505060405180910390fd5b82600001828154811061361e57fe5b9060005260206000200154905092915050565b60008082846000018054905011613693576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806149e76022913960400191505060405180910390fd5b60008460000184815481106136a457fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390613791576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561375657808201518184015260208101905061373b565b50505050905090810190601f1680156137835780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508460000160018203815481106137a457fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b60006137f28473ffffffffffffffffffffffffffffffffffffffff16613c41565b6137ff57600190506139e2565b600061396963150b7a0260e01b613814612c57565b888787604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561389857808201518184015260208101905061387d565b50505050905090810190601f1680156138c55780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060600160405280603281526020016148b4603291398773ffffffffffffffffffffffffffffffffffffffff16613c549092919063ffffffff16565b9050600081806020019051602081101561398257600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b600080836001016000848152602001908152602001600020541415905092915050565b60008083600101600084815260200190815260200160002054905060008114613ae95760006001820390506000600186600001805490500390506000866000018281548110613a5857fe5b9060005260206000200154905080876000018481548110613a7557fe5b9060005260206000200181905550600183018760010160008381526020019081526020016000208190555086600001805480613aad57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050613aef565b60009150505b92915050565b6000613b018383613c6c565b613b5a578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050613b5f565b600090505b92915050565b6000808460010160008581526020019081526020016000205490506000811415613c0c57846000016040518060400160405280868152602001858152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550508460000180549050856001016000868152602001908152602001600020819055506001915050613c3a565b82856000016001830381548110613c1f57fe5b90600052602060002090600202016001018190555060009150505b9392505050565b600080823b905060008111915050919050565b6060613c638484600085613c8f565b90509392505050565b600080836001016000848152602001908152602001600020541415905092915050565b606082471015613cea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061490a6026913960400191505060405180910390fd5b613cf385613c41565b613d65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310613db45780518252602082019150602081019050602083039250613d91565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613e16576040519150601f19603f3d011682016040523d82523d6000602084013e613e1b565b606091505b5091509150613e2b828286613e37565b92505050949350505050565b60608315613e4757829050613efc565b600083511115613e5a5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613ec1578082015181840152602081019050613ea6565b50505050905090810190601f168015613eee5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282613f395760008555613f80565b82601f10613f5257805160ff1916838001178555613f80565b82800160010185558215613f80579182015b82811115613f7f578251825591602001919060010190613f64565b5b509050613f8d9190613f91565b5090565b5b80821115613faa576000816000905550600101613f92565b5090565b6000613fc1613fbc846146d3565b6146a2565b905082815260208101848484011115613fd957600080fd5b613fe48482856147e0565b509392505050565b6000613fff613ffa84614703565b6146a2565b90508281526020810184848401111561401757600080fd5b6140228482856147e0565b509392505050565b60008135905061403981614835565b92915050565b60008083601f84011261405157600080fd5b8235905067ffffffffffffffff81111561406a57600080fd5b60208301915083602082028301111561408257600080fd5b9250929050565b6000813590506140988161484c565b92915050565b6000813590506140ad81614863565b92915050565b600082601f8301126140c457600080fd5b81356140d4848260208601613fae565b91505092915050565b600082601f8301126140ee57600080fd5b81356140fe848260208601613fec565b91505092915050565b6000813590506141168161487a565b92915050565b60006020828403121561412e57600080fd5b600061413c8482850161402a565b91505092915050565b6000806040838503121561415857600080fd5b60006141668582860161402a565b92505060206141778582860161402a565b9150509250929050565b60008060006060848603121561419657600080fd5b60006141a48682870161402a565b93505060206141b58682870161402a565b92505060406141c686828701614107565b9150509250925092565b600080600080608085870312156141e657600080fd5b60006141f48782880161402a565b94505060206142058782880161402a565b935050604061421687828801614107565b925050606085013567ffffffffffffffff81111561423357600080fd5b61423f878288016140b3565b91505092959194509250565b6000806040838503121561425e57600080fd5b600061426c8582860161402a565b925050602061427d85828601614089565b9150509250929050565b6000806040838503121561429a57600080fd5b60006142a88582860161402a565b92505060206142b985828601614107565b9150509250929050565b6000602082840312156142d557600080fd5b60006142e38482850161409e565b91505092915050565b6000602082840312156142fe57600080fd5b600082013567ffffffffffffffff81111561431857600080fd5b614324848285016140dd565b91505092915050565b60008060008060006080868803121561434557600080fd5b600086013567ffffffffffffffff81111561435f57600080fd5b61436b888289016140dd565b955050602086013567ffffffffffffffff81111561438857600080fd5b614394888289016140dd565b94505060406143a588828901614107565b935050606086013567ffffffffffffffff8111156143c257600080fd5b6143ce8882890161403f565b92509250509295509295909350565b6000602082840312156143ef57600080fd5b60006143fd84828501614107565b91505092915050565b6000806040838503121561441957600080fd5b600061442785828601614107565b925050602061443885828601614107565b9150509250929050565b61444b8161476c565b82525050565b61445a8161475a565b82525050565b6144698161477e565b82525050565b600061447b838561474f565b93506144888385846147e0565b82840190509392505050565b600061449f82614733565b6144a9818561473e565b93506144b98185602086016147ef565b6144c281614824565b840191505092915050565b60006144d882614733565b6144e2818561474f565b93506144f28185602086016147ef565b80840191505092915050565b614507816147d6565b82525050565b600061451a82848661446f565b91508190509392505050565b600061453282846144cd565b915081905092915050565b60006020820190506145526000830184614451565b92915050565b600060208201905061456d6000830184614460565b92915050565b6000602082019050818103600083015261458d8184614494565b905092915050565b60006020820190506145aa60008301846144fe565b92915050565b6000610120820190506145c6600083018c6144fe565b81810360208301526145d8818b614494565b905081810360408301526145ec818a614494565b90506145fb6060830189614442565b6146086080830188614442565b61461560a0830187614442565b61462260c08301866144fe565b61462f60e08301856144fe565b61463d610100830184614460565b9a9950505050505050505050565b6000808335600160200384360303811261466457600080fd5b80840192508235915067ffffffffffffffff82111561468257600080fd5b60208301925060018202360383131561469a57600080fd5b509250929050565b6000604051905081810181811067ffffffffffffffff821117156146c9576146c8614822565b5b8060405250919050565b600067ffffffffffffffff8211156146ee576146ed614822565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561471e5761471d614822565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000614765826147b6565b9050919050565b6000614777826147b6565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561480d5780820151818401526020810190506147f2565b8381111561481c576000848401525b50505050565bfe5b6000601f19601f8301169050919050565b61483e8161475a565b811461484957600080fd5b50565b6148558161477e565b811461486057600080fd5b50565b61486c8161478a565b811461487757600080fd5b50565b614883816147d6565b811461488e57600080fd5b5056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a2646970667358221220e4166d8749bc101db3f77c543efa906c7b027ed6dc4eadbc17e2ac05ede8add364736f6c63430007060033", - "deployedBytecode": "0x6080604052600436106101ee5760003560e01c806367c623cf1161010d578063a32018b9116100a0578063bffec2021161006f578063bffec2021461078c578063c87b56dd146107b7578063cc151f3a146107f4578063e5326ab11461081f578063e985e9c51461084a576101ee565b8063a32018b9146106c0578063a46b1fac146106e9578063a5cd761f14610726578063b88d4fde14610763576101ee565b80638d44807c116100dc5780638d44807c1461060657806395d89b41146106435780639bfc5a591461066e578063a22cb46514610697576101ee565b806367c623cf146105365780636c0360eb146105735780636f9507f91461059e57806370a08231146105c9576101ee565b80632f745c591161018557806344c0d7eb1161015457806344c0d7eb1461044e5780634f6ccce71461049357806362e8e8ac146104d05780636352211e146104f9576101ee565b80632f745c591461036e57806342842e0e146103ab57806343902850146103d457806343d32ae714610411576101ee565b8063142687f3116101c1578063142687f3146102c157806318160ddd146102fe57806323b872dd146103295780632d296bf114610352576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a600480360381019061021591906142c3565b610887565b6040516102279190614558565b60405180910390f35b34801561023c57600080fd5b506102456108ee565b6040516102529190614573565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d91906143dd565b610990565b60405161028f919061453d565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba9190614287565b610a2b565b005b3480156102cd57600080fd5b506102e860048036038101906102e391906143dd565b610b6f565b6040516102f59190614558565b60405180910390f35b34801561030a57600080fd5b50610313610b86565b6040516103209190614595565b60405180910390f35b34801561033557600080fd5b50610350600480360381019061034b9190614181565b610b97565b005b61036c600480360381019061036791906143dd565b610c0d565b005b34801561037a57600080fd5b5061039560048036038101906103909190614287565b6111e6565b6040516103a29190614595565b60405180910390f35b3480156103b757600080fd5b506103d260048036038101906103cd9190614181565b611241565b005b3480156103e057600080fd5b506103fb60048036038101906103f6919061411c565b611261565b6040516104089190614595565b60405180910390f35b34801561041d57600080fd5b50610438600480360381019061043391906142ec565b611278565b6040516104459190614558565b60405180910390f35b34801561045a57600080fd5b50610475600480360381019061047091906143dd565b6112ae565b60405161048a999897969594939291906145b0565b60405180910390f35b34801561049f57600080fd5b506104ba60048036038101906104b591906143dd565b611499565b6040516104c79190614595565b60405180910390f35b3480156104dc57600080fd5b506104f760048036038101906104f29190614406565b6114bc565b005b34801561050557600080fd5b50610520600480360381019061051b91906143dd565b611964565b60405161052d919061453d565b60405180910390f35b34801561054257600080fd5b5061055d600480360381019061055891906143dd565b61199b565b60405161056a9190614573565b60405180910390f35b34801561057f57600080fd5b506105886119b3565b6040516105959190614573565b60405180910390f35b3480156105aa57600080fd5b506105b3611a55565b6040516105c09190614573565b60405180910390f35b3480156105d557600080fd5b506105f060048036038101906105eb919061411c565b611af3565b6040516105fd9190614595565b60405180910390f35b34801561061257600080fd5b5061062d600480360381019061062891906142ec565b611bc8565b60405161063a9190614558565b60405180910390f35b34801561064f57600080fd5b50610658611bfe565b6040516106659190614573565b60405180910390f35b34801561067a57600080fd5b506106956004803603810190610690919061432d565b611ca0565b005b3480156106a357600080fd5b506106be60048036038101906106b9919061424b565b6120d0565b005b3480156106cc57600080fd5b506106e760048036038101906106e291906143dd565b612286565b005b3480156106f557600080fd5b50610710600480360381019061070b91906142ec565b612758565b60405161071d9190614558565b60405180910390f35b34801561073257600080fd5b5061074d600480360381019061074891906143dd565b61278e565b60405161075a919061453d565b60405180910390f35b34801561076f57600080fd5b5061078a600480360381019061078591906141d0565b6127a5565b005b34801561079857600080fd5b506107a161281d565b6040516107ae9190614595565b60405180910390f35b3480156107c357600080fd5b506107de60048036038101906107d991906143dd565b612823565b6040516107eb9190614573565b60405180910390f35b34801561080057600080fd5b50610809612af4565b6040516108169190614595565b60405180910390f35b34801561082b57600080fd5b50610834612b08565b6040516108419190614573565b60405180910390f35b34801561085657600080fd5b50610871600480360381019061086c9190614145565b612ba6565b60405161087e9190614558565b60405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109865780601f1061095b57610100808354040283529160200191610986565b820191906000526020600020905b81548152906001019060200180831161096957829003601f168201915b5050505050905090565b600061099b82612c3a565b6109f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614a09602c913960400191505060405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a3682611964565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614ab96021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610adc612c57565b73ffffffffffffffffffffffffffffffffffffffff161480610b0b5750610b0a81610b05612c57565b612ba6565b5b610b60576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603881526020018061495c6038913960400191505060405180910390fd5b610b6a8383612c5f565b505050565b600080610b7b83612c3a565b905080915050919050565b6000610b926002612d18565b905090565b610ba8610ba2612c57565b82612d2d565b610bfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614ada6031913960400191505060405180910390fd5b610c08838383612e21565b505050565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610c4757600080fd5b610c5081612c3a565b610c5957600080fd5b6000610c6482611964565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ca057600080fd5b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610cd957600080fd5b6000600d60008481526020019081526020016000206040518061012001604052908160008201548152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d9d5780601f10610d7257610100808354040283529160200191610d9d565b820191906000526020600020905b815481529060010190602001808311610d8057829003601f168201915b50505050508152602001600282018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610e3f5780601f10610e1457610100808354040283529160200191610e3f565b820191906000526020600020905b815481529060010190602001808311610e2257829003601f168201915b505050505081526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160068201548152602001600782015481526020016008820160009054906101000a900460ff16151515158152505090508060c00151341015610f8c57600080fd5b806101000151610f9b57600080fd5b610fa6823385612e21565b6000816080015190508073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610ff5573d6000803e3d6000fd5b5081608001518260a0019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505033826080019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060018260e001818151019150818152505081600d60008681526020019081526020016000206000820151816000015560208201518160010190805190602001906110b5929190613f03565b5060408201518160020190805190602001906110d2929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff02191690831515021790555090505050505050565b600061123982600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061306490919063ffffffff16565b905092915050565b61125c838383604051806020016040528060008152506127a5565b505050565b60008061126d83611af3565b905080915050919050565b6010818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b600d602052806000526040600020600091509050806000015490806001018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113605780601f1061133557610100808354040283529160200191611360565b820191906000526020600020905b81548152906001019060200180831161134357829003601f168201915b505050505090806002018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113fe5780601f106113d3576101008083540402835291602001916113fe565b820191906000526020600020905b8154815290600101906020018083116113e157829003601f168201915b5050505050908060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060060154908060070154908060080160009054906101000a900460ff16905089565b6000806114b083600261307e90919063ffffffff16565b50905080915050919050565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156114f657600080fd5b6114ff82612c3a565b61150857600080fd5b600061151383611964565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461154d57600080fd5b6000600d60008581526020019081526020016000206040518061012001604052908160008201548152602001600182018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156116115780601f106115e657610100808354040283529160200191611611565b820191906000526020600020905b8154815290600101906020018083116115f457829003601f168201915b50505050508152602001600282018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156116b35780601f10611688576101008083540402835291602001916116b3565b820191906000526020600020905b81548152906001019060200180831161169657829003601f168201915b505050505081526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160068201548152602001600782015481526020016008820160009054906101000a900460ff1615151515815250509050828160c001818152505080600d6000868152602001908152602001600020600082015181600001556020820151816001019080519060200190611833929190613f03565b506040820151816002019080519060200190611850929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff02191690831515021790555090505050505050565b6000611994826040518060600160405280602981526020016149be6029913960026130aa9092919063ffffffff16565b9050919050565b606060006119a883612823565b905080915050919050565b606060098054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611a4b5780601f10611a2057610100808354040283529160200191611a4b565b820191906000526020600020905b815481529060010190602001808311611a2e57829003601f168201915b5050505050905090565b600b8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611aeb5780601f10611ac057610100808354040283529160200191611aeb565b820191906000526020600020905b815481529060010190602001808311611ace57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b7a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614994602a913960400191505060405180910390fd5b611bc1600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206130c9565b9050919050565b600f818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b606060078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611c965780601f10611c6b57610100808354040283529160200191611c96565b820191906000526020600020905b815481529060010190602001808311611c7957829003601f168201915b5050505050905090565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611cda57600080fd5b600c60008154809291906001019190505550611cf7600c54612c3a565b15611d0157600080fd5b60005b82829050811015611d7057600f838383818110611d1d57fe5b9050602002810190611d2f919061464b565b604051611d3d92919061450d565b908152602001604051809103902060009054906101000a900460ff1615611d6357600080fd5b8080600101915050611d04565b50601084604051611d819190614526565b908152602001604051809103902060009054906101000a900460ff1615611da757600080fd5b600e85604051611db79190614526565b908152602001604051809103902060009054906101000a900460ff1615611ddd57600080fd5b611de933600c546130de565b611df5600c54856132d2565b60005b82829050811015611e65576001600f848484818110611e1357fe5b9050602002810190611e25919061464b565b604051611e3392919061450d565b908152602001604051809103902060006101000a81548160ff0219169083151502179055508080600101915050611df8565b506001601085604051611e789190614526565b908152602001604051809103902060006101000a81548160ff0219169083151502179055506001600e86604051611eaf9190614526565b908152602001604051809103902060006101000a81548160ff0219169083151502179055506000604051806101200160405280600c5481526020018781526020018681526020013373ffffffffffffffffffffffffffffffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018581526020016000815260200160011515815250905080600d6000600c548152602001908152602001600020600082015181600001556020820151816001019080519060200190611f9d929190613f03565b506040820151816002019080519060200190611fba929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff021916908315150217905550905050505050505050565b6120d8612c57565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612179576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b8060056000612186612c57565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612233612c57565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156122c057600080fd5b6122c981612c3a565b6122d257600080fd5b60006122dd82611964565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461231757600080fd5b6000600d60008481526020019081526020016000206040518061012001604052908160008201548152602001600182018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156123db5780601f106123b0576101008083540402835291602001916123db565b820191906000526020600020905b8154815290600101906020018083116123be57829003601f168201915b50505050508152602001600282018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561247d5780601f106124525761010080835404028352916020019161247d565b820191906000526020600020905b81548152906001019060200180831161246057829003601f168201915b505050505081526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160068201548152602001600782015481526020016008820160009054906101000a900460ff1615151515815250509050806101000151156125db576000816101000190151590811515815250506125ee565b6001816101000190151590811515815250505b80600d6000858152602001908152602001600020600082015181600001556020820151816001019080519060200190612628929190613f03565b506040820151816002019080519060200190612645929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff021916908315150217905550905050505050565b600e818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b60008061279a83611964565b905080915050919050565b6127b66127b0612c57565b83612d2d565b61280b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614ada6031913960400191505060405180910390fd5b6128178484848461335c565b50505050565b600c5481565b606061282e82612c3a565b612883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180614a8a602f913960400191505060405180910390fd5b6000600860008481526020019081526020016000208054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561292c5780601f106129015761010080835404028352916020019161292c565b820191906000526020600020905b81548152906001019060200180831161290f57829003601f168201915b50505050509050600061293d6119b3565b9050600081511415612953578192505050612aef565b600082511115612a245780826040516020018083805190602001908083835b602083106129955780518252602082019150602081019050602083039250612972565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106129e657805182526020820191506020810190506020830392506129c3565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050612aef565b80612a2e856133ce565b6040516020018083805190602001908083835b60208310612a645780518252602082019150602081019050602083039250612a41565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b60208310612ab55780518252602082019150602081019050602083039250612a92565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052925050505b919050565b600080612aff610b86565b90508091505090565b600a8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612b9e5780601f10612b7357610100808354040283529160200191612b9e565b820191906000526020600020905b815481529060010190602001808311612b8157829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000612c5082600261351590919063ffffffff16565b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612cd283611964565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612d268260000161352f565b9050919050565b6000612d3882612c3a565b612d8d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614930602c913960400191505060405180910390fd5b6000612d9883611964565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612e0757508373ffffffffffffffffffffffffffffffffffffffff16612def84610990565b73ffffffffffffffffffffffffffffffffffffffff16145b80612e185750612e178185612ba6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612e4182611964565b73ffffffffffffffffffffffffffffffffffffffff1614612ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180614a616029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806148e66024913960400191505060405180910390fd5b612f3e838383613540565b612f49600082612c5f565b612f9a81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061354590919063ffffffff16565b50612fec81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061355f90919063ffffffff16565b50613003818360026135799092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061307383600001836135ae565b60001c905092915050565b6000806000806130918660000186613631565b915091508160001c8160001c9350935050509250929050565b60006130bd846000018460001b846136ca565b60001c90509392505050565b60006130d7826000016137c0565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613181576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4552433732313a206d696e7420746f20746865207a65726f206164647265737381525060200191505060405180910390fd5b61318a81612c3a565b156131fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081525060200191505060405180910390fd5b61320960008383613540565b61325a81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061355f90919063ffffffff16565b50613271818360026135799092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6132db82612c3a565b613330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614a35602c913960400191505060405180910390fd5b80600860008481526020019081526020016000209080519060200190613357929190613f03565b505050565b613367848484612e21565b613373848484846137d1565b6133c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806148b46032913960400191505060405180910390fd5b50505050565b60606000821415613416576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613510565b600082905060005b60008214613440578080600101915050600a828161343857fe5b04915061341e565b60008167ffffffffffffffff8111801561345957600080fd5b506040519080825280601f01601f19166020018201604052801561348c5781602001600182028036833780820191505090505b50905060006001830390508593505b6000841461350857600a84816134ad57fe5b0660300160f81b828280600190039350815181106134c757fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a848161350057fe5b04935061349b565b819450505050505b919050565b6000613527836000018360001b6139ea565b905092915050565b600081600001805490509050919050565b505050565b6000613557836000018360001b613a0d565b905092915050565b6000613571836000018360001b613af5565b905092915050565b60006135a5846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b613b65565b90509392505050565b60008183600001805490501161360f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806148926022913960400191505060405180910390fd5b82600001828154811061361e57fe5b9060005260206000200154905092915050565b60008082846000018054905011613693576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806149e76022913960400191505060405180910390fd5b60008460000184815481106136a457fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390613791576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561375657808201518184015260208101905061373b565b50505050905090810190601f1680156137835780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508460000160018203815481106137a457fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b60006137f28473ffffffffffffffffffffffffffffffffffffffff16613c41565b6137ff57600190506139e2565b600061396963150b7a0260e01b613814612c57565b888787604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561389857808201518184015260208101905061387d565b50505050905090810190601f1680156138c55780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060600160405280603281526020016148b4603291398773ffffffffffffffffffffffffffffffffffffffff16613c549092919063ffffffff16565b9050600081806020019051602081101561398257600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b600080836001016000848152602001908152602001600020541415905092915050565b60008083600101600084815260200190815260200160002054905060008114613ae95760006001820390506000600186600001805490500390506000866000018281548110613a5857fe5b9060005260206000200154905080876000018481548110613a7557fe5b9060005260206000200181905550600183018760010160008381526020019081526020016000208190555086600001805480613aad57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050613aef565b60009150505b92915050565b6000613b018383613c6c565b613b5a578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050613b5f565b600090505b92915050565b6000808460010160008581526020019081526020016000205490506000811415613c0c57846000016040518060400160405280868152602001858152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550508460000180549050856001016000868152602001908152602001600020819055506001915050613c3a565b82856000016001830381548110613c1f57fe5b90600052602060002090600202016001018190555060009150505b9392505050565b600080823b905060008111915050919050565b6060613c638484600085613c8f565b90509392505050565b600080836001016000848152602001908152602001600020541415905092915050565b606082471015613cea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061490a6026913960400191505060405180910390fd5b613cf385613c41565b613d65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310613db45780518252602082019150602081019050602083039250613d91565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613e16576040519150601f19603f3d011682016040523d82523d6000602084013e613e1b565b606091505b5091509150613e2b828286613e37565b92505050949350505050565b60608315613e4757829050613efc565b600083511115613e5a5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613ec1578082015181840152602081019050613ea6565b50505050905090810190601f168015613eee5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282613f395760008555613f80565b82601f10613f5257805160ff1916838001178555613f80565b82800160010185558215613f80579182015b82811115613f7f578251825591602001919060010190613f64565b5b509050613f8d9190613f91565b5090565b5b80821115613faa576000816000905550600101613f92565b5090565b6000613fc1613fbc846146d3565b6146a2565b905082815260208101848484011115613fd957600080fd5b613fe48482856147e0565b509392505050565b6000613fff613ffa84614703565b6146a2565b90508281526020810184848401111561401757600080fd5b6140228482856147e0565b509392505050565b60008135905061403981614835565b92915050565b60008083601f84011261405157600080fd5b8235905067ffffffffffffffff81111561406a57600080fd5b60208301915083602082028301111561408257600080fd5b9250929050565b6000813590506140988161484c565b92915050565b6000813590506140ad81614863565b92915050565b600082601f8301126140c457600080fd5b81356140d4848260208601613fae565b91505092915050565b600082601f8301126140ee57600080fd5b81356140fe848260208601613fec565b91505092915050565b6000813590506141168161487a565b92915050565b60006020828403121561412e57600080fd5b600061413c8482850161402a565b91505092915050565b6000806040838503121561415857600080fd5b60006141668582860161402a565b92505060206141778582860161402a565b9150509250929050565b60008060006060848603121561419657600080fd5b60006141a48682870161402a565b93505060206141b58682870161402a565b92505060406141c686828701614107565b9150509250925092565b600080600080608085870312156141e657600080fd5b60006141f48782880161402a565b94505060206142058782880161402a565b935050604061421687828801614107565b925050606085013567ffffffffffffffff81111561423357600080fd5b61423f878288016140b3565b91505092959194509250565b6000806040838503121561425e57600080fd5b600061426c8582860161402a565b925050602061427d85828601614089565b9150509250929050565b6000806040838503121561429a57600080fd5b60006142a88582860161402a565b92505060206142b985828601614107565b9150509250929050565b6000602082840312156142d557600080fd5b60006142e38482850161409e565b91505092915050565b6000602082840312156142fe57600080fd5b600082013567ffffffffffffffff81111561431857600080fd5b614324848285016140dd565b91505092915050565b60008060008060006080868803121561434557600080fd5b600086013567ffffffffffffffff81111561435f57600080fd5b61436b888289016140dd565b955050602086013567ffffffffffffffff81111561438857600080fd5b614394888289016140dd565b94505060406143a588828901614107565b935050606086013567ffffffffffffffff8111156143c257600080fd5b6143ce8882890161403f565b92509250509295509295909350565b6000602082840312156143ef57600080fd5b60006143fd84828501614107565b91505092915050565b6000806040838503121561441957600080fd5b600061442785828601614107565b925050602061443885828601614107565b9150509250929050565b61444b8161476c565b82525050565b61445a8161475a565b82525050565b6144698161477e565b82525050565b600061447b838561474f565b93506144888385846147e0565b82840190509392505050565b600061449f82614733565b6144a9818561473e565b93506144b98185602086016147ef565b6144c281614824565b840191505092915050565b60006144d882614733565b6144e2818561474f565b93506144f28185602086016147ef565b80840191505092915050565b614507816147d6565b82525050565b600061451a82848661446f565b91508190509392505050565b600061453282846144cd565b915081905092915050565b60006020820190506145526000830184614451565b92915050565b600060208201905061456d6000830184614460565b92915050565b6000602082019050818103600083015261458d8184614494565b905092915050565b60006020820190506145aa60008301846144fe565b92915050565b6000610120820190506145c6600083018c6144fe565b81810360208301526145d8818b614494565b905081810360408301526145ec818a614494565b90506145fb6060830189614442565b6146086080830188614442565b61461560a0830187614442565b61462260c08301866144fe565b61462f60e08301856144fe565b61463d610100830184614460565b9a9950505050505050505050565b6000808335600160200384360303811261466457600080fd5b80840192508235915067ffffffffffffffff82111561468257600080fd5b60208301925060018202360383131561469a57600080fd5b509250929050565b6000604051905081810181811067ffffffffffffffff821117156146c9576146c8614822565b5b8060405250919050565b600067ffffffffffffffff8211156146ee576146ed614822565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561471e5761471d614822565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000614765826147b6565b9050919050565b6000614777826147b6565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561480d5780820151818401526020810190506147f2565b8381111561481c576000848401525b50505050565bfe5b6000601f19601f8301169050919050565b61483e8161475a565b811461484957600080fd5b50565b6148558161477e565b811461486057600080fd5b50565b61486c8161478a565b811461487757600080fd5b50565b614883816147d6565b811461488e57600080fd5b5056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a2646970667358221220e4166d8749bc101db3f77c543efa906c7b027ed6dc4eadbc17e2ac05ede8add364736f6c63430007060033", + "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":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\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"allBscBoys\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"tokenName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"tokenURI\",\"type\":\"string\"},{\"internalType\":\"address payable\",\"name\":\"mintedBy\",\"type\":\"address\"},{\"internalType\":\"address payable\",\"name\":\"currentOwner\",\"type\":\"address\"},{\"internalType\":\"address payable\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"numberOfTransfers\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"forSale\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"buyToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_newPrice\",\"type\":\"uint256\"}],\"name\":\"changeTokenPrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collectionName\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collectionNameSymbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"colorExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cryptoBoyCounter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNumberOfTokensMinted\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"getTokenExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"getTokenMetaData\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"getTokenOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"getTotalNumberOfTokensOwnedByAnAddress\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_tokenURI\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_price\",\"type\":\"uint256\"},{\"internalType\":\"string[]\",\"name\":\"_colors\",\"type\":\"string[]\"}],\"name\":\"mintCryptoBoy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"},{\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"toggleForSale\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"tokenNameExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"tokenURIExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"See {IERC721-approve}.\"},\"balanceOf(address)\":{\"details\":\"See {IERC721-balanceOf}.\"},\"baseURI()\":{\"details\":\"Returns the base URI set via {_setBaseURI}. This will be automatically added as a prefix in {tokenURI} to each token's URI, or to the token ID if no specific URI is set for that token ID.\"},\"getApproved(uint256)\":{\"details\":\"See {IERC721-getApproved}.\"},\"isApprovedForAll(address,address)\":{\"details\":\"See {IERC721-isApprovedForAll}.\"},\"name()\":{\"details\":\"See {IERC721Metadata-name}.\"},\"ownerOf(uint256)\":{\"details\":\"See {IERC721-ownerOf}.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"See {IERC721-setApprovalForAll}.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas.\"},\"symbol()\":{\"details\":\"See {IERC721Metadata-symbol}.\"},\"tokenByIndex(uint256)\":{\"details\":\"See {IERC721Enumerable-tokenByIndex}.\"},\"tokenOfOwnerByIndex(address,uint256)\":{\"details\":\"See {IERC721Enumerable-tokenOfOwnerByIndex}.\"},\"tokenURI(uint256)\":{\"details\":\"See {IERC721Metadata-tokenURI}.\"},\"totalSupply()\":{\"details\":\"See {IERC721Enumerable-totalSupply}.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-transferFrom}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/src/contracts/BscBoys.sol\":\"BscBoys\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/src/contracts/BscBoys.sol\":{\"keccak256\":\"0x02d4d5e30c11d39d6704d7415940b16f4969b19710504d2d628365e8e132136e\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://1e467a74441e8cacf44f81473189e915519c30773a162a6b6dd2f2393ff4f237\",\"dweb:/ipfs/QmWL3zU3ec1Naw3t99MN5tcoruCLUkbHkmZPYwncPybaTh\"]},\"project:/src/contracts/ERC721.sol\":{\"keccak256\":\"0xbbf5d35e3785428d14b29cf40a6a1f82d9275af46f6f80ec5f330615911aa767\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e5479e3deda288fc9c642c0449113673031cb9834a3507621d5bd7e292969e16\",\"dweb:/ipfs/QmcKjBg55emL46LCBPRw1Y79fz3aGiMiQXFeWcDpJisEgJ\"]}},\"version\":1}", + "bytecode": "0x60806040523480156200001157600080fd5b506040518060400160405280601681526020017f43727970746f20426f797320436f6c6c656374696f6e000000000000000000008152506040518060400160405280600281526020017f4342000000000000000000000000000000000000000000000000000000000000815250620000966301ffc9a760e01b6200016860201b60201c565b8160069080519060200190620000ae929190620003bd565b508060079080519060200190620000c7929190620003bd565b50620000e06380ac58cd60e01b6200016860201b60201c565b620000f8635b5e139f60e01b6200016860201b60201c565b6200011063780e9d6360e01b6200016860201b60201c565b5050620001226200027160201b60201c565b600a908051906020019062000139929190620003bd565b506200014a6200031760201b60201c565b600b908051906020019062000161929190620003bd565b5062000473565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141562000205576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433136353a20696e76616c696420696e746572666163652069640000000081525060200191505060405180910390fd5b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b606060068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156200030d5780601f10620002e1576101008083540402835291602001916200030d565b820191906000526020600020905b815481529060010190602001808311620002ef57829003601f168201915b5050505050905090565b606060078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015620003b35780601f106200038757610100808354040283529160200191620003b3565b820191906000526020600020905b8154815290600101906020018083116200039557829003601f168201915b5050505050905090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620003f5576000855562000441565b82601f106200041057805160ff191683800117855562000441565b8280016001018555821562000441579182015b828111156200044057825182559160200191906001019062000423565b5b50905062000450919062000454565b5090565b5b808211156200046f57600081600090555060010162000455565b5090565b614b4080620004836000396000f3fe6080604052600436106101ee5760003560e01c806367c623cf1161010d578063a32018b9116100a0578063bffec2021161006f578063bffec2021461078c578063c87b56dd146107b7578063cc151f3a146107f4578063e5326ab11461081f578063e985e9c51461084a576101ee565b8063a32018b9146106c0578063a46b1fac146106e9578063a5cd761f14610726578063b88d4fde14610763576101ee565b80638d44807c116100dc5780638d44807c1461060657806395d89b41146106435780639bfc5a591461066e578063a22cb46514610697576101ee565b806367c623cf146105365780636c0360eb146105735780636f9507f91461059e57806370a08231146105c9576101ee565b80632f745c591161018557806344c0d7eb1161015457806344c0d7eb1461044e5780634f6ccce71461049357806362e8e8ac146104d05780636352211e146104f9576101ee565b80632f745c591461036e57806342842e0e146103ab57806343902850146103d457806343d32ae714610411576101ee565b8063142687f3116101c1578063142687f3146102c157806318160ddd146102fe57806323b872dd146103295780632d296bf114610352576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a600480360381019061021591906142c3565b610887565b6040516102279190614558565b60405180910390f35b34801561023c57600080fd5b506102456108ee565b6040516102529190614573565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d91906143dd565b610990565b60405161028f919061453d565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba9190614287565b610a2b565b005b3480156102cd57600080fd5b506102e860048036038101906102e391906143dd565b610b6f565b6040516102f59190614558565b60405180910390f35b34801561030a57600080fd5b50610313610b86565b6040516103209190614595565b60405180910390f35b34801561033557600080fd5b50610350600480360381019061034b9190614181565b610b97565b005b61036c600480360381019061036791906143dd565b610c0d565b005b34801561037a57600080fd5b5061039560048036038101906103909190614287565b6111e6565b6040516103a29190614595565b60405180910390f35b3480156103b757600080fd5b506103d260048036038101906103cd9190614181565b611241565b005b3480156103e057600080fd5b506103fb60048036038101906103f6919061411c565b611261565b6040516104089190614595565b60405180910390f35b34801561041d57600080fd5b50610438600480360381019061043391906142ec565b611278565b6040516104459190614558565b60405180910390f35b34801561045a57600080fd5b50610475600480360381019061047091906143dd565b6112ae565b60405161048a999897969594939291906145b0565b60405180910390f35b34801561049f57600080fd5b506104ba60048036038101906104b591906143dd565b611499565b6040516104c79190614595565b60405180910390f35b3480156104dc57600080fd5b506104f760048036038101906104f29190614406565b6114bc565b005b34801561050557600080fd5b50610520600480360381019061051b91906143dd565b611964565b60405161052d919061453d565b60405180910390f35b34801561054257600080fd5b5061055d600480360381019061055891906143dd565b61199b565b60405161056a9190614573565b60405180910390f35b34801561057f57600080fd5b506105886119b3565b6040516105959190614573565b60405180910390f35b3480156105aa57600080fd5b506105b3611a55565b6040516105c09190614573565b60405180910390f35b3480156105d557600080fd5b506105f060048036038101906105eb919061411c565b611af3565b6040516105fd9190614595565b60405180910390f35b34801561061257600080fd5b5061062d600480360381019061062891906142ec565b611bc8565b60405161063a9190614558565b60405180910390f35b34801561064f57600080fd5b50610658611bfe565b6040516106659190614573565b60405180910390f35b34801561067a57600080fd5b506106956004803603810190610690919061432d565b611ca0565b005b3480156106a357600080fd5b506106be60048036038101906106b9919061424b565b6120d0565b005b3480156106cc57600080fd5b506106e760048036038101906106e291906143dd565b612286565b005b3480156106f557600080fd5b50610710600480360381019061070b91906142ec565b612758565b60405161071d9190614558565b60405180910390f35b34801561073257600080fd5b5061074d600480360381019061074891906143dd565b61278e565b60405161075a919061453d565b60405180910390f35b34801561076f57600080fd5b5061078a600480360381019061078591906141d0565b6127a5565b005b34801561079857600080fd5b506107a161281d565b6040516107ae9190614595565b60405180910390f35b3480156107c357600080fd5b506107de60048036038101906107d991906143dd565b612823565b6040516107eb9190614573565b60405180910390f35b34801561080057600080fd5b50610809612af4565b6040516108169190614595565b60405180910390f35b34801561082b57600080fd5b50610834612b08565b6040516108419190614573565b60405180910390f35b34801561085657600080fd5b50610871600480360381019061086c9190614145565b612ba6565b60405161087e9190614558565b60405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109865780601f1061095b57610100808354040283529160200191610986565b820191906000526020600020905b81548152906001019060200180831161096957829003601f168201915b5050505050905090565b600061099b82612c3a565b6109f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614a09602c913960400191505060405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a3682611964565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614ab96021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610adc612c57565b73ffffffffffffffffffffffffffffffffffffffff161480610b0b5750610b0a81610b05612c57565b612ba6565b5b610b60576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603881526020018061495c6038913960400191505060405180910390fd5b610b6a8383612c5f565b505050565b600080610b7b83612c3a565b905080915050919050565b6000610b926002612d18565b905090565b610ba8610ba2612c57565b82612d2d565b610bfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614ada6031913960400191505060405180910390fd5b610c08838383612e21565b505050565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610c4757600080fd5b610c5081612c3a565b610c5957600080fd5b6000610c6482611964565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ca057600080fd5b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610cd957600080fd5b6000600d60008481526020019081526020016000206040518061012001604052908160008201548152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d9d5780601f10610d7257610100808354040283529160200191610d9d565b820191906000526020600020905b815481529060010190602001808311610d8057829003601f168201915b50505050508152602001600282018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610e3f5780601f10610e1457610100808354040283529160200191610e3f565b820191906000526020600020905b815481529060010190602001808311610e2257829003601f168201915b505050505081526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160068201548152602001600782015481526020016008820160009054906101000a900460ff16151515158152505090508060c00151341015610f8c57600080fd5b806101000151610f9b57600080fd5b610fa6823385612e21565b6000816080015190508073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610ff5573d6000803e3d6000fd5b5081608001518260a0019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505033826080019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060018260e001818151019150818152505081600d60008681526020019081526020016000206000820151816000015560208201518160010190805190602001906110b5929190613f03565b5060408201518160020190805190602001906110d2929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff02191690831515021790555090505050505050565b600061123982600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061306490919063ffffffff16565b905092915050565b61125c838383604051806020016040528060008152506127a5565b505050565b60008061126d83611af3565b905080915050919050565b6010818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b600d602052806000526040600020600091509050806000015490806001018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113605780601f1061133557610100808354040283529160200191611360565b820191906000526020600020905b81548152906001019060200180831161134357829003601f168201915b505050505090806002018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113fe5780601f106113d3576101008083540402835291602001916113fe565b820191906000526020600020905b8154815290600101906020018083116113e157829003601f168201915b5050505050908060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060060154908060070154908060080160009054906101000a900460ff16905089565b6000806114b083600261307e90919063ffffffff16565b50905080915050919050565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156114f657600080fd5b6114ff82612c3a565b61150857600080fd5b600061151383611964565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461154d57600080fd5b6000600d60008581526020019081526020016000206040518061012001604052908160008201548152602001600182018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156116115780601f106115e657610100808354040283529160200191611611565b820191906000526020600020905b8154815290600101906020018083116115f457829003601f168201915b50505050508152602001600282018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156116b35780601f10611688576101008083540402835291602001916116b3565b820191906000526020600020905b81548152906001019060200180831161169657829003601f168201915b505050505081526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160068201548152602001600782015481526020016008820160009054906101000a900460ff1615151515815250509050828160c001818152505080600d6000868152602001908152602001600020600082015181600001556020820151816001019080519060200190611833929190613f03565b506040820151816002019080519060200190611850929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff02191690831515021790555090505050505050565b6000611994826040518060600160405280602981526020016149be6029913960026130aa9092919063ffffffff16565b9050919050565b606060006119a883612823565b905080915050919050565b606060098054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611a4b5780601f10611a2057610100808354040283529160200191611a4b565b820191906000526020600020905b815481529060010190602001808311611a2e57829003601f168201915b5050505050905090565b600b8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611aeb5780601f10611ac057610100808354040283529160200191611aeb565b820191906000526020600020905b815481529060010190602001808311611ace57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b7a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614994602a913960400191505060405180910390fd5b611bc1600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206130c9565b9050919050565b600f818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b606060078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611c965780601f10611c6b57610100808354040283529160200191611c96565b820191906000526020600020905b815481529060010190602001808311611c7957829003601f168201915b5050505050905090565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611cda57600080fd5b600c60008154809291906001019190505550611cf7600c54612c3a565b15611d0157600080fd5b60005b82829050811015611d7057600f838383818110611d1d57fe5b9050602002810190611d2f919061464b565b604051611d3d92919061450d565b908152602001604051809103902060009054906101000a900460ff1615611d6357600080fd5b8080600101915050611d04565b50601084604051611d819190614526565b908152602001604051809103902060009054906101000a900460ff1615611da757600080fd5b600e85604051611db79190614526565b908152602001604051809103902060009054906101000a900460ff1615611ddd57600080fd5b611de933600c546130de565b611df5600c54856132d2565b60005b82829050811015611e65576001600f848484818110611e1357fe5b9050602002810190611e25919061464b565b604051611e3392919061450d565b908152602001604051809103902060006101000a81548160ff0219169083151502179055508080600101915050611df8565b506001601085604051611e789190614526565b908152602001604051809103902060006101000a81548160ff0219169083151502179055506001600e86604051611eaf9190614526565b908152602001604051809103902060006101000a81548160ff0219169083151502179055506000604051806101200160405280600c5481526020018781526020018681526020013373ffffffffffffffffffffffffffffffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018581526020016000815260200160011515815250905080600d6000600c548152602001908152602001600020600082015181600001556020820151816001019080519060200190611f9d929190613f03565b506040820151816002019080519060200190611fba929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff021916908315150217905550905050505050505050565b6120d8612c57565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612179576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b8060056000612186612c57565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612233612c57565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156122c057600080fd5b6122c981612c3a565b6122d257600080fd5b60006122dd82611964565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461231757600080fd5b6000600d60008481526020019081526020016000206040518061012001604052908160008201548152602001600182018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156123db5780601f106123b0576101008083540402835291602001916123db565b820191906000526020600020905b8154815290600101906020018083116123be57829003601f168201915b50505050508152602001600282018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561247d5780601f106124525761010080835404028352916020019161247d565b820191906000526020600020905b81548152906001019060200180831161246057829003601f168201915b505050505081526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160068201548152602001600782015481526020016008820160009054906101000a900460ff1615151515815250509050806101000151156125db576000816101000190151590811515815250506125ee565b6001816101000190151590811515815250505b80600d6000858152602001908152602001600020600082015181600001556020820151816001019080519060200190612628929190613f03565b506040820151816002019080519060200190612645929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff021916908315150217905550905050505050565b600e818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b60008061279a83611964565b905080915050919050565b6127b66127b0612c57565b83612d2d565b61280b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614ada6031913960400191505060405180910390fd5b6128178484848461335c565b50505050565b600c5481565b606061282e82612c3a565b612883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180614a8a602f913960400191505060405180910390fd5b6000600860008481526020019081526020016000208054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561292c5780601f106129015761010080835404028352916020019161292c565b820191906000526020600020905b81548152906001019060200180831161290f57829003601f168201915b50505050509050600061293d6119b3565b9050600081511415612953578192505050612aef565b600082511115612a245780826040516020018083805190602001908083835b602083106129955780518252602082019150602081019050602083039250612972565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106129e657805182526020820191506020810190506020830392506129c3565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050612aef565b80612a2e856133ce565b6040516020018083805190602001908083835b60208310612a645780518252602082019150602081019050602083039250612a41565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b60208310612ab55780518252602082019150602081019050602083039250612a92565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052925050505b919050565b600080612aff610b86565b90508091505090565b600a8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612b9e5780601f10612b7357610100808354040283529160200191612b9e565b820191906000526020600020905b815481529060010190602001808311612b8157829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000612c5082600261351590919063ffffffff16565b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612cd283611964565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612d268260000161352f565b9050919050565b6000612d3882612c3a565b612d8d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614930602c913960400191505060405180910390fd5b6000612d9883611964565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612e0757508373ffffffffffffffffffffffffffffffffffffffff16612def84610990565b73ffffffffffffffffffffffffffffffffffffffff16145b80612e185750612e178185612ba6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612e4182611964565b73ffffffffffffffffffffffffffffffffffffffff1614612ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180614a616029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806148e66024913960400191505060405180910390fd5b612f3e838383613540565b612f49600082612c5f565b612f9a81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061354590919063ffffffff16565b50612fec81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061355f90919063ffffffff16565b50613003818360026135799092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061307383600001836135ae565b60001c905092915050565b6000806000806130918660000186613631565b915091508160001c8160001c9350935050509250929050565b60006130bd846000018460001b846136ca565b60001c90509392505050565b60006130d7826000016137c0565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613181576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4552433732313a206d696e7420746f20746865207a65726f206164647265737381525060200191505060405180910390fd5b61318a81612c3a565b156131fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081525060200191505060405180910390fd5b61320960008383613540565b61325a81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061355f90919063ffffffff16565b50613271818360026135799092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6132db82612c3a565b613330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614a35602c913960400191505060405180910390fd5b80600860008481526020019081526020016000209080519060200190613357929190613f03565b505050565b613367848484612e21565b613373848484846137d1565b6133c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806148b46032913960400191505060405180910390fd5b50505050565b60606000821415613416576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613510565b600082905060005b60008214613440578080600101915050600a828161343857fe5b04915061341e565b60008167ffffffffffffffff8111801561345957600080fd5b506040519080825280601f01601f19166020018201604052801561348c5781602001600182028036833780820191505090505b50905060006001830390508593505b6000841461350857600a84816134ad57fe5b0660300160f81b828280600190039350815181106134c757fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a848161350057fe5b04935061349b565b819450505050505b919050565b6000613527836000018360001b6139ea565b905092915050565b600081600001805490509050919050565b505050565b6000613557836000018360001b613a0d565b905092915050565b6000613571836000018360001b613af5565b905092915050565b60006135a5846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b613b65565b90509392505050565b60008183600001805490501161360f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806148926022913960400191505060405180910390fd5b82600001828154811061361e57fe5b9060005260206000200154905092915050565b60008082846000018054905011613693576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806149e76022913960400191505060405180910390fd5b60008460000184815481106136a457fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390613791576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561375657808201518184015260208101905061373b565b50505050905090810190601f1680156137835780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508460000160018203815481106137a457fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b60006137f28473ffffffffffffffffffffffffffffffffffffffff16613c41565b6137ff57600190506139e2565b600061396963150b7a0260e01b613814612c57565b888787604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561389857808201518184015260208101905061387d565b50505050905090810190601f1680156138c55780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060600160405280603281526020016148b4603291398773ffffffffffffffffffffffffffffffffffffffff16613c549092919063ffffffff16565b9050600081806020019051602081101561398257600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b600080836001016000848152602001908152602001600020541415905092915050565b60008083600101600084815260200190815260200160002054905060008114613ae95760006001820390506000600186600001805490500390506000866000018281548110613a5857fe5b9060005260206000200154905080876000018481548110613a7557fe5b9060005260206000200181905550600183018760010160008381526020019081526020016000208190555086600001805480613aad57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050613aef565b60009150505b92915050565b6000613b018383613c6c565b613b5a578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050613b5f565b600090505b92915050565b6000808460010160008581526020019081526020016000205490506000811415613c0c57846000016040518060400160405280868152602001858152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550508460000180549050856001016000868152602001908152602001600020819055506001915050613c3a565b82856000016001830381548110613c1f57fe5b90600052602060002090600202016001018190555060009150505b9392505050565b600080823b905060008111915050919050565b6060613c638484600085613c8f565b90509392505050565b600080836001016000848152602001908152602001600020541415905092915050565b606082471015613cea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061490a6026913960400191505060405180910390fd5b613cf385613c41565b613d65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310613db45780518252602082019150602081019050602083039250613d91565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613e16576040519150601f19603f3d011682016040523d82523d6000602084013e613e1b565b606091505b5091509150613e2b828286613e37565b92505050949350505050565b60608315613e4757829050613efc565b600083511115613e5a5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613ec1578082015181840152602081019050613ea6565b50505050905090810190601f168015613eee5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282613f395760008555613f80565b82601f10613f5257805160ff1916838001178555613f80565b82800160010185558215613f80579182015b82811115613f7f578251825591602001919060010190613f64565b5b509050613f8d9190613f91565b5090565b5b80821115613faa576000816000905550600101613f92565b5090565b6000613fc1613fbc846146d3565b6146a2565b905082815260208101848484011115613fd957600080fd5b613fe48482856147e0565b509392505050565b6000613fff613ffa84614703565b6146a2565b90508281526020810184848401111561401757600080fd5b6140228482856147e0565b509392505050565b60008135905061403981614835565b92915050565b60008083601f84011261405157600080fd5b8235905067ffffffffffffffff81111561406a57600080fd5b60208301915083602082028301111561408257600080fd5b9250929050565b6000813590506140988161484c565b92915050565b6000813590506140ad81614863565b92915050565b600082601f8301126140c457600080fd5b81356140d4848260208601613fae565b91505092915050565b600082601f8301126140ee57600080fd5b81356140fe848260208601613fec565b91505092915050565b6000813590506141168161487a565b92915050565b60006020828403121561412e57600080fd5b600061413c8482850161402a565b91505092915050565b6000806040838503121561415857600080fd5b60006141668582860161402a565b92505060206141778582860161402a565b9150509250929050565b60008060006060848603121561419657600080fd5b60006141a48682870161402a565b93505060206141b58682870161402a565b92505060406141c686828701614107565b9150509250925092565b600080600080608085870312156141e657600080fd5b60006141f48782880161402a565b94505060206142058782880161402a565b935050604061421687828801614107565b925050606085013567ffffffffffffffff81111561423357600080fd5b61423f878288016140b3565b91505092959194509250565b6000806040838503121561425e57600080fd5b600061426c8582860161402a565b925050602061427d85828601614089565b9150509250929050565b6000806040838503121561429a57600080fd5b60006142a88582860161402a565b92505060206142b985828601614107565b9150509250929050565b6000602082840312156142d557600080fd5b60006142e38482850161409e565b91505092915050565b6000602082840312156142fe57600080fd5b600082013567ffffffffffffffff81111561431857600080fd5b614324848285016140dd565b91505092915050565b60008060008060006080868803121561434557600080fd5b600086013567ffffffffffffffff81111561435f57600080fd5b61436b888289016140dd565b955050602086013567ffffffffffffffff81111561438857600080fd5b614394888289016140dd565b94505060406143a588828901614107565b935050606086013567ffffffffffffffff8111156143c257600080fd5b6143ce8882890161403f565b92509250509295509295909350565b6000602082840312156143ef57600080fd5b60006143fd84828501614107565b91505092915050565b6000806040838503121561441957600080fd5b600061442785828601614107565b925050602061443885828601614107565b9150509250929050565b61444b8161476c565b82525050565b61445a8161475a565b82525050565b6144698161477e565b82525050565b600061447b838561474f565b93506144888385846147e0565b82840190509392505050565b600061449f82614733565b6144a9818561473e565b93506144b98185602086016147ef565b6144c281614824565b840191505092915050565b60006144d882614733565b6144e2818561474f565b93506144f28185602086016147ef565b80840191505092915050565b614507816147d6565b82525050565b600061451a82848661446f565b91508190509392505050565b600061453282846144cd565b915081905092915050565b60006020820190506145526000830184614451565b92915050565b600060208201905061456d6000830184614460565b92915050565b6000602082019050818103600083015261458d8184614494565b905092915050565b60006020820190506145aa60008301846144fe565b92915050565b6000610120820190506145c6600083018c6144fe565b81810360208301526145d8818b614494565b905081810360408301526145ec818a614494565b90506145fb6060830189614442565b6146086080830188614442565b61461560a0830187614442565b61462260c08301866144fe565b61462f60e08301856144fe565b61463d610100830184614460565b9a9950505050505050505050565b6000808335600160200384360303811261466457600080fd5b80840192508235915067ffffffffffffffff82111561468257600080fd5b60208301925060018202360383131561469a57600080fd5b509250929050565b6000604051905081810181811067ffffffffffffffff821117156146c9576146c8614822565b5b8060405250919050565b600067ffffffffffffffff8211156146ee576146ed614822565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561471e5761471d614822565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000614765826147b6565b9050919050565b6000614777826147b6565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561480d5780820151818401526020810190506147f2565b8381111561481c576000848401525b50505050565bfe5b6000601f19601f8301169050919050565b61483e8161475a565b811461484957600080fd5b50565b6148558161477e565b811461486057600080fd5b50565b61486c8161478a565b811461487757600080fd5b50565b614883816147d6565b811461488e57600080fd5b5056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a26469706673582212202fcc7c86da32227eb8a56bb6baa446b724e1cc55ef86f8476ad3a8b3c0781d6564736f6c63430007060033", + "deployedBytecode": "0x6080604052600436106101ee5760003560e01c806367c623cf1161010d578063a32018b9116100a0578063bffec2021161006f578063bffec2021461078c578063c87b56dd146107b7578063cc151f3a146107f4578063e5326ab11461081f578063e985e9c51461084a576101ee565b8063a32018b9146106c0578063a46b1fac146106e9578063a5cd761f14610726578063b88d4fde14610763576101ee565b80638d44807c116100dc5780638d44807c1461060657806395d89b41146106435780639bfc5a591461066e578063a22cb46514610697576101ee565b806367c623cf146105365780636c0360eb146105735780636f9507f91461059e57806370a08231146105c9576101ee565b80632f745c591161018557806344c0d7eb1161015457806344c0d7eb1461044e5780634f6ccce71461049357806362e8e8ac146104d05780636352211e146104f9576101ee565b80632f745c591461036e57806342842e0e146103ab57806343902850146103d457806343d32ae714610411576101ee565b8063142687f3116101c1578063142687f3146102c157806318160ddd146102fe57806323b872dd146103295780632d296bf114610352576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a600480360381019061021591906142c3565b610887565b6040516102279190614558565b60405180910390f35b34801561023c57600080fd5b506102456108ee565b6040516102529190614573565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d91906143dd565b610990565b60405161028f919061453d565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba9190614287565b610a2b565b005b3480156102cd57600080fd5b506102e860048036038101906102e391906143dd565b610b6f565b6040516102f59190614558565b60405180910390f35b34801561030a57600080fd5b50610313610b86565b6040516103209190614595565b60405180910390f35b34801561033557600080fd5b50610350600480360381019061034b9190614181565b610b97565b005b61036c600480360381019061036791906143dd565b610c0d565b005b34801561037a57600080fd5b5061039560048036038101906103909190614287565b6111e6565b6040516103a29190614595565b60405180910390f35b3480156103b757600080fd5b506103d260048036038101906103cd9190614181565b611241565b005b3480156103e057600080fd5b506103fb60048036038101906103f6919061411c565b611261565b6040516104089190614595565b60405180910390f35b34801561041d57600080fd5b50610438600480360381019061043391906142ec565b611278565b6040516104459190614558565b60405180910390f35b34801561045a57600080fd5b50610475600480360381019061047091906143dd565b6112ae565b60405161048a999897969594939291906145b0565b60405180910390f35b34801561049f57600080fd5b506104ba60048036038101906104b591906143dd565b611499565b6040516104c79190614595565b60405180910390f35b3480156104dc57600080fd5b506104f760048036038101906104f29190614406565b6114bc565b005b34801561050557600080fd5b50610520600480360381019061051b91906143dd565b611964565b60405161052d919061453d565b60405180910390f35b34801561054257600080fd5b5061055d600480360381019061055891906143dd565b61199b565b60405161056a9190614573565b60405180910390f35b34801561057f57600080fd5b506105886119b3565b6040516105959190614573565b60405180910390f35b3480156105aa57600080fd5b506105b3611a55565b6040516105c09190614573565b60405180910390f35b3480156105d557600080fd5b506105f060048036038101906105eb919061411c565b611af3565b6040516105fd9190614595565b60405180910390f35b34801561061257600080fd5b5061062d600480360381019061062891906142ec565b611bc8565b60405161063a9190614558565b60405180910390f35b34801561064f57600080fd5b50610658611bfe565b6040516106659190614573565b60405180910390f35b34801561067a57600080fd5b506106956004803603810190610690919061432d565b611ca0565b005b3480156106a357600080fd5b506106be60048036038101906106b9919061424b565b6120d0565b005b3480156106cc57600080fd5b506106e760048036038101906106e291906143dd565b612286565b005b3480156106f557600080fd5b50610710600480360381019061070b91906142ec565b612758565b60405161071d9190614558565b60405180910390f35b34801561073257600080fd5b5061074d600480360381019061074891906143dd565b61278e565b60405161075a919061453d565b60405180910390f35b34801561076f57600080fd5b5061078a600480360381019061078591906141d0565b6127a5565b005b34801561079857600080fd5b506107a161281d565b6040516107ae9190614595565b60405180910390f35b3480156107c357600080fd5b506107de60048036038101906107d991906143dd565b612823565b6040516107eb9190614573565b60405180910390f35b34801561080057600080fd5b50610809612af4565b6040516108169190614595565b60405180910390f35b34801561082b57600080fd5b50610834612b08565b6040516108419190614573565b60405180910390f35b34801561085657600080fd5b50610871600480360381019061086c9190614145565b612ba6565b60405161087e9190614558565b60405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109865780601f1061095b57610100808354040283529160200191610986565b820191906000526020600020905b81548152906001019060200180831161096957829003601f168201915b5050505050905090565b600061099b82612c3a565b6109f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614a09602c913960400191505060405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a3682611964565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614ab96021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610adc612c57565b73ffffffffffffffffffffffffffffffffffffffff161480610b0b5750610b0a81610b05612c57565b612ba6565b5b610b60576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603881526020018061495c6038913960400191505060405180910390fd5b610b6a8383612c5f565b505050565b600080610b7b83612c3a565b905080915050919050565b6000610b926002612d18565b905090565b610ba8610ba2612c57565b82612d2d565b610bfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614ada6031913960400191505060405180910390fd5b610c08838383612e21565b505050565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610c4757600080fd5b610c5081612c3a565b610c5957600080fd5b6000610c6482611964565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ca057600080fd5b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610cd957600080fd5b6000600d60008481526020019081526020016000206040518061012001604052908160008201548152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d9d5780601f10610d7257610100808354040283529160200191610d9d565b820191906000526020600020905b815481529060010190602001808311610d8057829003601f168201915b50505050508152602001600282018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610e3f5780601f10610e1457610100808354040283529160200191610e3f565b820191906000526020600020905b815481529060010190602001808311610e2257829003601f168201915b505050505081526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160068201548152602001600782015481526020016008820160009054906101000a900460ff16151515158152505090508060c00151341015610f8c57600080fd5b806101000151610f9b57600080fd5b610fa6823385612e21565b6000816080015190508073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f19350505050158015610ff5573d6000803e3d6000fd5b5081608001518260a0019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505033826080019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060018260e001818151019150818152505081600d60008681526020019081526020016000206000820151816000015560208201518160010190805190602001906110b5929190613f03565b5060408201518160020190805190602001906110d2929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff02191690831515021790555090505050505050565b600061123982600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061306490919063ffffffff16565b905092915050565b61125c838383604051806020016040528060008152506127a5565b505050565b60008061126d83611af3565b905080915050919050565b6010818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b600d602052806000526040600020600091509050806000015490806001018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113605780601f1061133557610100808354040283529160200191611360565b820191906000526020600020905b81548152906001019060200180831161134357829003601f168201915b505050505090806002018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113fe5780601f106113d3576101008083540402835291602001916113fe565b820191906000526020600020905b8154815290600101906020018083116113e157829003601f168201915b5050505050908060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060060154908060070154908060080160009054906101000a900460ff16905089565b6000806114b083600261307e90919063ffffffff16565b50905080915050919050565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156114f657600080fd5b6114ff82612c3a565b61150857600080fd5b600061151383611964565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461154d57600080fd5b6000600d60008581526020019081526020016000206040518061012001604052908160008201548152602001600182018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156116115780601f106115e657610100808354040283529160200191611611565b820191906000526020600020905b8154815290600101906020018083116115f457829003601f168201915b50505050508152602001600282018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156116b35780601f10611688576101008083540402835291602001916116b3565b820191906000526020600020905b81548152906001019060200180831161169657829003601f168201915b505050505081526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160068201548152602001600782015481526020016008820160009054906101000a900460ff1615151515815250509050828160c001818152505080600d6000868152602001908152602001600020600082015181600001556020820151816001019080519060200190611833929190613f03565b506040820151816002019080519060200190611850929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff02191690831515021790555090505050505050565b6000611994826040518060600160405280602981526020016149be6029913960026130aa9092919063ffffffff16565b9050919050565b606060006119a883612823565b905080915050919050565b606060098054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611a4b5780601f10611a2057610100808354040283529160200191611a4b565b820191906000526020600020905b815481529060010190602001808311611a2e57829003601f168201915b5050505050905090565b600b8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611aeb5780601f10611ac057610100808354040283529160200191611aeb565b820191906000526020600020905b815481529060010190602001808311611ace57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b7a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614994602a913960400191505060405180910390fd5b611bc1600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206130c9565b9050919050565b600f818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b606060078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611c965780601f10611c6b57610100808354040283529160200191611c96565b820191906000526020600020905b815481529060010190602001808311611c7957829003601f168201915b5050505050905090565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611cda57600080fd5b600c60008154809291906001019190505550611cf7600c54612c3a565b15611d0157600080fd5b60005b82829050811015611d7057600f838383818110611d1d57fe5b9050602002810190611d2f919061464b565b604051611d3d92919061450d565b908152602001604051809103902060009054906101000a900460ff1615611d6357600080fd5b8080600101915050611d04565b50601084604051611d819190614526565b908152602001604051809103902060009054906101000a900460ff1615611da757600080fd5b600e85604051611db79190614526565b908152602001604051809103902060009054906101000a900460ff1615611ddd57600080fd5b611de933600c546130de565b611df5600c54856132d2565b60005b82829050811015611e65576001600f848484818110611e1357fe5b9050602002810190611e25919061464b565b604051611e3392919061450d565b908152602001604051809103902060006101000a81548160ff0219169083151502179055508080600101915050611df8565b506001601085604051611e789190614526565b908152602001604051809103902060006101000a81548160ff0219169083151502179055506001600e86604051611eaf9190614526565b908152602001604051809103902060006101000a81548160ff0219169083151502179055506000604051806101200160405280600c5481526020018781526020018681526020013373ffffffffffffffffffffffffffffffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018581526020016000815260200160011515815250905080600d6000600c548152602001908152602001600020600082015181600001556020820151816001019080519060200190611f9d929190613f03565b506040820151816002019080519060200190611fba929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff021916908315150217905550905050505050505050565b6120d8612c57565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612179576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b8060056000612186612c57565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612233612c57565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156122c057600080fd5b6122c981612c3a565b6122d257600080fd5b60006122dd82611964565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461231757600080fd5b6000600d60008481526020019081526020016000206040518061012001604052908160008201548152602001600182018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156123db5780601f106123b0576101008083540402835291602001916123db565b820191906000526020600020905b8154815290600101906020018083116123be57829003601f168201915b50505050508152602001600282018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561247d5780601f106124525761010080835404028352916020019161247d565b820191906000526020600020905b81548152906001019060200180831161246057829003601f168201915b505050505081526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160068201548152602001600782015481526020016008820160009054906101000a900460ff1615151515815250509050806101000151156125db576000816101000190151590811515815250506125ee565b6001816101000190151590811515815250505b80600d6000858152602001908152602001600020600082015181600001556020820151816001019080519060200190612628929190613f03565b506040820151816002019080519060200190612645929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff021916908315150217905550905050505050565b600e818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b60008061279a83611964565b905080915050919050565b6127b66127b0612c57565b83612d2d565b61280b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614ada6031913960400191505060405180910390fd5b6128178484848461335c565b50505050565b600c5481565b606061282e82612c3a565b612883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180614a8a602f913960400191505060405180910390fd5b6000600860008481526020019081526020016000208054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561292c5780601f106129015761010080835404028352916020019161292c565b820191906000526020600020905b81548152906001019060200180831161290f57829003601f168201915b50505050509050600061293d6119b3565b9050600081511415612953578192505050612aef565b600082511115612a245780826040516020018083805190602001908083835b602083106129955780518252602082019150602081019050602083039250612972565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106129e657805182526020820191506020810190506020830392506129c3565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050612aef565b80612a2e856133ce565b6040516020018083805190602001908083835b60208310612a645780518252602082019150602081019050602083039250612a41565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b60208310612ab55780518252602082019150602081019050602083039250612a92565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052925050505b919050565b600080612aff610b86565b90508091505090565b600a8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612b9e5780601f10612b7357610100808354040283529160200191612b9e565b820191906000526020600020905b815481529060010190602001808311612b8157829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000612c5082600261351590919063ffffffff16565b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612cd283611964565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612d268260000161352f565b9050919050565b6000612d3882612c3a565b612d8d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614930602c913960400191505060405180910390fd5b6000612d9883611964565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612e0757508373ffffffffffffffffffffffffffffffffffffffff16612def84610990565b73ffffffffffffffffffffffffffffffffffffffff16145b80612e185750612e178185612ba6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612e4182611964565b73ffffffffffffffffffffffffffffffffffffffff1614612ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180614a616029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806148e66024913960400191505060405180910390fd5b612f3e838383613540565b612f49600082612c5f565b612f9a81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061354590919063ffffffff16565b50612fec81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061355f90919063ffffffff16565b50613003818360026135799092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061307383600001836135ae565b60001c905092915050565b6000806000806130918660000186613631565b915091508160001c8160001c9350935050509250929050565b60006130bd846000018460001b846136ca565b60001c90509392505050565b60006130d7826000016137c0565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613181576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4552433732313a206d696e7420746f20746865207a65726f206164647265737381525060200191505060405180910390fd5b61318a81612c3a565b156131fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081525060200191505060405180910390fd5b61320960008383613540565b61325a81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061355f90919063ffffffff16565b50613271818360026135799092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6132db82612c3a565b613330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614a35602c913960400191505060405180910390fd5b80600860008481526020019081526020016000209080519060200190613357929190613f03565b505050565b613367848484612e21565b613373848484846137d1565b6133c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806148b46032913960400191505060405180910390fd5b50505050565b60606000821415613416576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613510565b600082905060005b60008214613440578080600101915050600a828161343857fe5b04915061341e565b60008167ffffffffffffffff8111801561345957600080fd5b506040519080825280601f01601f19166020018201604052801561348c5781602001600182028036833780820191505090505b50905060006001830390508593505b6000841461350857600a84816134ad57fe5b0660300160f81b828280600190039350815181106134c757fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a848161350057fe5b04935061349b565b819450505050505b919050565b6000613527836000018360001b6139ea565b905092915050565b600081600001805490509050919050565b505050565b6000613557836000018360001b613a0d565b905092915050565b6000613571836000018360001b613af5565b905092915050565b60006135a5846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b613b65565b90509392505050565b60008183600001805490501161360f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806148926022913960400191505060405180910390fd5b82600001828154811061361e57fe5b9060005260206000200154905092915050565b60008082846000018054905011613693576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806149e76022913960400191505060405180910390fd5b60008460000184815481106136a457fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390613791576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561375657808201518184015260208101905061373b565b50505050905090810190601f1680156137835780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508460000160018203815481106137a457fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b60006137f28473ffffffffffffffffffffffffffffffffffffffff16613c41565b6137ff57600190506139e2565b600061396963150b7a0260e01b613814612c57565b888787604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561389857808201518184015260208101905061387d565b50505050905090810190601f1680156138c55780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060600160405280603281526020016148b4603291398773ffffffffffffffffffffffffffffffffffffffff16613c549092919063ffffffff16565b9050600081806020019051602081101561398257600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b600080836001016000848152602001908152602001600020541415905092915050565b60008083600101600084815260200190815260200160002054905060008114613ae95760006001820390506000600186600001805490500390506000866000018281548110613a5857fe5b9060005260206000200154905080876000018481548110613a7557fe5b9060005260206000200181905550600183018760010160008381526020019081526020016000208190555086600001805480613aad57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050613aef565b60009150505b92915050565b6000613b018383613c6c565b613b5a578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050613b5f565b600090505b92915050565b6000808460010160008581526020019081526020016000205490506000811415613c0c57846000016040518060400160405280868152602001858152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550508460000180549050856001016000868152602001908152602001600020819055506001915050613c3a565b82856000016001830381548110613c1f57fe5b90600052602060002090600202016001018190555060009150505b9392505050565b600080823b905060008111915050919050565b6060613c638484600085613c8f565b90509392505050565b600080836001016000848152602001908152602001600020541415905092915050565b606082471015613cea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061490a6026913960400191505060405180910390fd5b613cf385613c41565b613d65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310613db45780518252602082019150602081019050602083039250613d91565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613e16576040519150601f19603f3d011682016040523d82523d6000602084013e613e1b565b606091505b5091509150613e2b828286613e37565b92505050949350505050565b60608315613e4757829050613efc565b600083511115613e5a5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613ec1578082015181840152602081019050613ea6565b50505050905090810190601f168015613eee5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282613f395760008555613f80565b82601f10613f5257805160ff1916838001178555613f80565b82800160010185558215613f80579182015b82811115613f7f578251825591602001919060010190613f64565b5b509050613f8d9190613f91565b5090565b5b80821115613faa576000816000905550600101613f92565b5090565b6000613fc1613fbc846146d3565b6146a2565b905082815260208101848484011115613fd957600080fd5b613fe48482856147e0565b509392505050565b6000613fff613ffa84614703565b6146a2565b90508281526020810184848401111561401757600080fd5b6140228482856147e0565b509392505050565b60008135905061403981614835565b92915050565b60008083601f84011261405157600080fd5b8235905067ffffffffffffffff81111561406a57600080fd5b60208301915083602082028301111561408257600080fd5b9250929050565b6000813590506140988161484c565b92915050565b6000813590506140ad81614863565b92915050565b600082601f8301126140c457600080fd5b81356140d4848260208601613fae565b91505092915050565b600082601f8301126140ee57600080fd5b81356140fe848260208601613fec565b91505092915050565b6000813590506141168161487a565b92915050565b60006020828403121561412e57600080fd5b600061413c8482850161402a565b91505092915050565b6000806040838503121561415857600080fd5b60006141668582860161402a565b92505060206141778582860161402a565b9150509250929050565b60008060006060848603121561419657600080fd5b60006141a48682870161402a565b93505060206141b58682870161402a565b92505060406141c686828701614107565b9150509250925092565b600080600080608085870312156141e657600080fd5b60006141f48782880161402a565b94505060206142058782880161402a565b935050604061421687828801614107565b925050606085013567ffffffffffffffff81111561423357600080fd5b61423f878288016140b3565b91505092959194509250565b6000806040838503121561425e57600080fd5b600061426c8582860161402a565b925050602061427d85828601614089565b9150509250929050565b6000806040838503121561429a57600080fd5b60006142a88582860161402a565b92505060206142b985828601614107565b9150509250929050565b6000602082840312156142d557600080fd5b60006142e38482850161409e565b91505092915050565b6000602082840312156142fe57600080fd5b600082013567ffffffffffffffff81111561431857600080fd5b614324848285016140dd565b91505092915050565b60008060008060006080868803121561434557600080fd5b600086013567ffffffffffffffff81111561435f57600080fd5b61436b888289016140dd565b955050602086013567ffffffffffffffff81111561438857600080fd5b614394888289016140dd565b94505060406143a588828901614107565b935050606086013567ffffffffffffffff8111156143c257600080fd5b6143ce8882890161403f565b92509250509295509295909350565b6000602082840312156143ef57600080fd5b60006143fd84828501614107565b91505092915050565b6000806040838503121561441957600080fd5b600061442785828601614107565b925050602061443885828601614107565b9150509250929050565b61444b8161476c565b82525050565b61445a8161475a565b82525050565b6144698161477e565b82525050565b600061447b838561474f565b93506144888385846147e0565b82840190509392505050565b600061449f82614733565b6144a9818561473e565b93506144b98185602086016147ef565b6144c281614824565b840191505092915050565b60006144d882614733565b6144e2818561474f565b93506144f28185602086016147ef565b80840191505092915050565b614507816147d6565b82525050565b600061451a82848661446f565b91508190509392505050565b600061453282846144cd565b915081905092915050565b60006020820190506145526000830184614451565b92915050565b600060208201905061456d6000830184614460565b92915050565b6000602082019050818103600083015261458d8184614494565b905092915050565b60006020820190506145aa60008301846144fe565b92915050565b6000610120820190506145c6600083018c6144fe565b81810360208301526145d8818b614494565b905081810360408301526145ec818a614494565b90506145fb6060830189614442565b6146086080830188614442565b61461560a0830187614442565b61462260c08301866144fe565b61462f60e08301856144fe565b61463d610100830184614460565b9a9950505050505050505050565b6000808335600160200384360303811261466457600080fd5b80840192508235915067ffffffffffffffff82111561468257600080fd5b60208301925060018202360383131561469a57600080fd5b509250929050565b6000604051905081810181811067ffffffffffffffff821117156146c9576146c8614822565b5b8060405250919050565b600067ffffffffffffffff8211156146ee576146ed614822565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561471e5761471d614822565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000614765826147b6565b9050919050565b6000614777826147b6565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561480d5780820151818401526020810190506147f2565b8381111561481c576000848401525b50505050565bfe5b6000601f19601f8301169050919050565b61483e8161475a565b811461484957600080fd5b50565b6148558161477e565b811461486057600080fd5b50565b61486c8161478a565b811461487757600080fd5b50565b614883816147d6565b811461488e57600080fd5b5056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a26469706673582212202fcc7c86da32227eb8a56bb6baa446b724e1cc55ef86f8476ad3a8b3c0781d6564736f6c63430007060033", "immutableReferences": {}, "generatedSources": [], "deployedGeneratedSources": [ @@ -10158,12 +10133,12 @@ "name": "#utility.yul" } ], - "sourceMap": "110:3910:0:-:0;;;711:124;;;;;;;;;;49086:362:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9711:40;9387:10;9730:20;;9711:18;;;:40;;:::i;:::-;49161:5;49153;:13;;;;;;;;;;;;:::i;:::-;;49186:7;49176;:17;;;;;;;;;;;;:::i;:::-;;49281:40;48251:10;49300:20;;49281:18;;;:40;;:::i;:::-;49331:49;48583:10;49350:29;;49331:18;;;:49;;:::i;:::-;49390:51;48956:10;49409:31;;49390:18;;;:51;;:::i;:::-;49086:362;;787:6:0::1;:4;;;:6;;:::i;:::-;770:14;:23;;;;;;;;;;;;:::i;:::-;;822:8;:6;;;:8;;:::i;:::-;799:20;:31;;;;;;;;;;;;:::i;:::-;;110:3910:::0;;10450:198:1;10548:10;10533:25;;:11;:25;;;;;10525:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10637:4;10601:20;:33;10622:11;10601:33;;;;;;;;;;;;;;;;;;:40;;;;;;;;;;;;;;;;;;10450:198;:::o;50019:98::-;50073:13;50105:5;50098:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50019:98;:::o;50181:102::-;50237:13;50269:7;50262:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50181:102;:::o;110:3910:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", - "deployedSourceMap": "110:3910:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9908:148:1;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;50019:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;52724:217;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;52268:395;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2398:139:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;51762:208:1;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;53588:300;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2541:690:0;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;51531:160:1;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;53954:149;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2201:193:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;661:45;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;510:50;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;52042:169:1;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3235:361:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;49782:175:1;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1870:161:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;51357:95:1;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;177:34:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;49507:218:1;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;615:42:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;50181:102:1;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;839:879:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;53008:290:1;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3600:418:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;565:46;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1722:144;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54169:282:1;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;216:31:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;50349:776:1;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;2035:162:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;145:28;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;53364:162:1;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;9908:148;9993:4;10016:20;:33;10037:11;10016:33;;;;;;;;;;;;;;;;;;;;;;;;;;;10009:40;;9908:148;;;:::o;50019:98::-;50073:13;50105:5;50098:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50019:98;:::o;52724:217::-;52800:7;52827:16;52835:7;52827;:16::i;:::-;52819:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52910:15;:24;52926:7;52910:24;;;;;;;;;;;;;;;;;;;;;52903:31;;52724:217;;;:::o;52268:395::-;52348:13;52364:23;52379:7;52364:14;:23::i;:::-;52348:39;;52411:5;52405:11;;:2;:11;;;;52397:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52489:5;52473:21;;:12;:10;:12::i;:::-;:21;;;:69;;;;52498:44;52522:5;52529:12;:10;:12::i;:::-;52498:23;:44::i;:::-;52473:69;52465:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52635:21;52644:2;52648:7;52635:8;:21::i;:::-;52268:395;;;:::o;2398:139:0:-;2460:4;2472:16;2491:17;2499:8;2491:7;:17::i;:::-;2472:36;;2521:11;2514:18;;;2398:139;;;:::o;51762:208:1:-;51823:7;51942:21;:12;:19;:21::i;:::-;51935:28;;51762:208;:::o;53588:300::-;53747:41;53766:12;:10;:12::i;:::-;53780:7;53747:18;:41::i;:::-;53739:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53853:28;53863:4;53869:2;53873:7;53853:9;:28::i;:::-;53588:300;;;:::o;2541:690:0:-;2628:1;2606:24;;:10;:24;;;;2598:33;;;;;;2645:17;2653:8;2645:7;:17::i;:::-;2637:26;;;;;;2669:18;2690:17;2698:8;2690:7;:17::i;:::-;2669:38;;2743:1;2721:24;;:10;:24;;;;2713:33;;;;;;2774:10;2760:24;;:10;:24;;;;2752:33;;;;;;2791:26;2820:13;:23;2834:8;2820:23;;;;;;;;;;;2791:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2870:9;:15;;;2857:9;:28;;2849:37;;;;;;2900:9;:17;;;2892:26;;;;;;2924:43;2934:10;2946;2958:8;2924:9;:43::i;:::-;2973:22;2998:9;:22;;;2973:47;;3026:6;:15;;:26;3042:9;3026:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3084:9;:22;;;3058:9;:23;;:48;;;;;;;;;;;3137:10;3112:9;:22;;:35;;;;;;;;;;;3184:1;3153:9;:27;;:32;;;;;;;;;;;3217:9;3191:13;:23;3205:8;3191:23;;;;;;;;;;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2541:690;;;;:::o;51531:160:1:-;51628:7;51654:30;51678:5;51654:13;:20;51668:5;51654:20;;;;;;;;;;;;;;;:23;;:30;;;;:::i;:::-;51647:37;;51531:160;;;;:::o;53954:149::-;54057:39;54074:4;54080:2;54084:7;54057:39;;;;;;;;;;;;:16;:39::i;:::-;53954:149;;;:::o;2201:193:0:-;2285:7;2300:32;2335:17;2345:6;2335:9;:17::i;:::-;2300:52;;2365:24;2358:31;;;2201:193;;;:::o;661:45::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;510:50::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;52042:169:1:-;52117:7;52137:15;52158:22;52174:5;52158:12;:15;;:22;;;;:::i;:::-;52136:44;;;52197:7;52190:14;;;52042:169;;;:::o;3235:361:0:-;3341:1;3319:24;;:10;:24;;;;3311:33;;;;;;3358:17;3366:8;3358:7;:17::i;:::-;3350:26;;;;;;3382:18;3403:17;3411:8;3403:7;:17::i;:::-;3382:38;;3448:10;3434:24;;:10;:24;;;3426:33;;;;;;3465:26;3494:13;:23;3508:8;3494:23;;;;;;;;;;;3465:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3541:9;3523;:15;;:27;;;;;3582:9;3556:13;:23;3570:8;3556:23;;;;;;;;;;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3235:361;;;;:::o;49782:175:1:-;49854:7;49880:70;49897:7;49880:70;;;;;;;;;;;;;;;;;:12;:16;;:70;;;;;:::i;:::-;49873:77;;49782:175;;;:::o;1870:161:0:-;1931:13;1952:27;1982:18;1991:8;1982;:18::i;:::-;1952:48;;2013:13;2006:20;;;1870:161;;;:::o;51357:95:1:-;51405:13;51437:8;51430:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51357:95;:::o;177:34:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;49507:218:1:-;49579:7;49623:1;49606:19;;:5;:19;;;;49598:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49689:29;:13;:20;49703:5;49689:20;;;;;;;;;;;;;;;:27;:29::i;:::-;49682:36;;49507:218;;;:::o;615:42:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;50181:102:1:-;50237:13;50269:7;50262:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50181:102;:::o;839:879:0:-;997:1;975:24;;:10;:24;;;;967:33;;;;;;1006:16;;:19;;;;;;;;;;;;;1040:25;1048:16;;1040:7;:25::i;:::-;1039:26;1031:35;;;;;;1077:6;1073:85;1089:7;;:14;;1087:1;:16;1073:85;;;1127:11;1139:7;;1147:1;1139:10;;;;;;;;;;;;;;;;;;:::i;:::-;1127:23;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1126:24;1118:33;;;;;;1105:3;;;;;;;1073:85;;;;1172:14;1187:9;1172:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1171:26;1163:35;;;;;;1213:15;1229:5;1213:22;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1212:23;1204:32;;;;;;1243:35;1249:10;1261:16;;1243:5;:35::i;:::-;1284:41;1297:16;;1315:9;1284:12;:41::i;:::-;1337:6;1332:83;1349:7;;:14;;1347:1;:16;1332:83;;;1404:4;1378:11;1390:7;;1398:1;1390:10;;;;;;;;;;;;;;;;;;:::i;:::-;1378:23;;;;;;;:::i;:::-;;;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;1365:3;;;;;;;1332:83;;;;1448:4;1420:14;1435:9;1420:25;;;;;;:::i;:::-;;;;;;;;;;;;;;:32;;;;;;;;;;;;;;;;;;1483:4;1458:15;1474:5;1458:22;;;;;;:::i;:::-;;;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;1494;1526:135;;;;;;;;1541:16;;1526:135;;;;1563:5;1526:135;;;;1574:9;1526:135;;;;1589:10;1526:135;;;;;;1605:10;1526:135;;;;;;1629:1;1526:135;;;;;;1637:6;1526:135;;;;1649:1;1526:135;;;;1656:4;1526:135;;;;;1494:167;;1701:12;1667:13;:31;1681:16;;1667:31;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;839:879;;;;;;:::o;53008:290:1:-;53122:12;:10;:12::i;:::-;53110:24;;:8;:24;;;;53102:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53220:8;53175:18;:32;53194:12;:10;:12::i;:::-;53175:32;;;;;;;;;;;;;;;:42;53208:8;53175:42;;;;;;;;;;;;;;;;:53;;;;;;;;;;;;;;;;;;53272:8;53243:48;;53258:12;:10;:12::i;:::-;53243:48;;;53282:8;53243:48;;;;;;;;;;;;;;;;;;;;53008:290;;:::o;3600:418:0:-;3684:1;3662:24;;:10;:24;;;;3654:33;;;;;;3701:17;3709:8;3701:7;:17::i;:::-;3693:26;;;;;;3725:18;3746:17;3754:8;3746:7;:17::i;:::-;3725:38;;3791:10;3777:24;;:10;:24;;;3769:33;;;;;;3808:26;3837:13;:23;3851:8;3837:23;;;;;;;;;;;3808:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3869:9;:17;;;3866:107;;;3916:5;3896:9;:17;;:25;;;;;;;;;;;3866:107;;;3962:4;3942:9;:17;;:24;;;;;;;;;;;3866:107;4004:9;3978:13;:23;3992:8;3978:23;;;;;;;;;;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3600:418;;;:::o;565:46::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1722:144::-;1783:7;1798:19;1820:17;1828:8;1820:7;:17::i;:::-;1798:39;;1850:11;1843:18;;;1722:144;;;:::o;54169:282:1:-;54300:41;54319:12;:10;:12::i;:::-;54333:7;54300:18;:41::i;:::-;54292:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54405:39;54419:4;54425:2;54429:7;54438:5;54405:13;:39::i;:::-;54169:282;;;;:::o;216:31:0:-;;;;:::o;50349:776:1:-;50422:13;50455:16;50463:7;50455;:16::i;:::-;50447:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50534:23;50560:10;:19;50571:7;50560:19;;;;;;;;;;;50534:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50589:18;50610:9;:7;:9::i;:::-;50589:30;;50714:1;50698:4;50692:18;:23;50688:70;;;50738:9;50731:16;;;;;;50688:70;50886:1;50866:9;50860:23;:27;50856:106;;;50934:4;50940:9;50917:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50903:48;;;;;;50856:106;51092:4;51098:18;:7;:16;:18::i;:::-;51075:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51061:57;;;;50349:776;;;;:::o;2035:162:0:-;2090:7;2105:33;2141:13;:11;:13::i;:::-;2105:49;;2167:25;2160:32;;;2035:162;:::o;145:28::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;53364:162:1:-;53461:4;53484:18;:25;53503:5;53484:25;;;;;;;;;;;;;;;:35;53510:8;53484:35;;;;;;;;;;;;;;;;;;;;;;;;;53477:42;;53364:162;;;;:::o;55885:125::-;55950:4;55973:30;55995:7;55973:12;:21;;:30;;;;:::i;:::-;55966:37;;55885:125;;;:::o;649:104::-;702:15;736:10;729:17;;649:104;:::o;61727:189::-;61828:2;61801:15;:24;61817:7;61801:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;61883:7;61879:2;61845:46;;61854:23;61869:7;61854:14;:23::i;:::-;61845:46;;;;;;;;;;;;61727:189;;:::o;42991:121::-;43060:7;43086:19;43094:3;:10;;43086:7;:19::i;:::-;43079:26;;42991:121;;;:::o;56168:351::-;56261:4;56285:16;56293:7;56285;:16::i;:::-;56277:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56360:13;56376:23;56391:7;56376:14;:23::i;:::-;56360:39;;56428:5;56417:16;;:7;:16;;;:51;;;;56461:7;56437:31;;:20;56449:7;56437:11;:20::i;:::-;:31;;;56417:51;:94;;;;56472:39;56496:5;56503:7;56472:23;:39::i;:::-;56417:94;56409:103;;;56168:351;;;;:::o;59209:584::-;59333:4;59306:31;;:23;59321:7;59306:14;:23::i;:::-;:31;;;59298:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59433:1;59419:16;;:2;:16;;;;59411:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59487:39;59508:4;59514:2;59518:7;59487:20;:39::i;:::-;59588:29;59605:1;59609:7;59588:8;:29::i;:::-;59628:35;59655:7;59628:13;:19;59642:4;59628:19;;;;;;;;;;;;;;;:26;;:35;;;;:::i;:::-;;59673:30;59695:7;59673:13;:17;59687:2;59673:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;59714:29;59731:7;59740:2;59714:12;:16;;:29;;;;;:::i;:::-;;59778:7;59774:2;59759:27;;59768:4;59759:27;;;;;;;;;;;;59209:584;;;:::o;35008:135::-;35079:7;35113:22;35117:3;:10;;35129:5;35113:3;:22::i;:::-;35105:31;;35098:38;;35008:135;;;;:::o;43440:233::-;43520:7;43529;43549:11;43562:13;43579:22;43583:3;:10;;43595:5;43579:3;:22::i;:::-;43548:53;;;;43627:3;43619:12;;43657:5;43649:14;;43611:55;;;;;;43440:233;;;;;:::o;44693:211::-;44800:7;44850:44;44855:3;:10;;44875:3;44867:12;;44881;44850:4;:44::i;:::-;44842:53;;44819:78;;44693:211;;;;;:::o;34564:112::-;34624:7;34650:19;34658:3;:10;;34650:7;:19::i;:::-;34643:26;;34564:112;;;:::o;57748:393::-;57841:1;57827:16;;:2;:16;;;;57819:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57899:16;57907:7;57899;:16::i;:::-;57898:17;57890:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57959:45;57988:1;57992:2;57996:7;57959:20;:45::i;:::-;58015:30;58037:7;58015:13;:17;58029:2;58015:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;58056:29;58073:7;58082:2;58056:12;:16;;:29;;;;;:::i;:::-;;58126:7;58122:2;58101:33;;58118:1;58101:33;;;;;;;;;;;;57748:393;;:::o;59940:212::-;60039:16;60047:7;60039;:16::i;:::-;60031:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60136:9;60114:10;:19;60125:7;60114:19;;;;;;;;;;;:31;;;;;;;;;;;;:::i;:::-;;59940:212;;:::o;55313:269::-;55426:28;55436:4;55442:2;55446:7;55426:9;:28::i;:::-;55472:48;55495:4;55501:2;55505:7;55514:5;55472:22;:48::i;:::-;55464:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55313:269;;;;:::o;45136:725::-;45192:13;45418:1;45409:5;:10;45405:51;;;45435:10;;;;;;;;;;;;;;;;;;;;;45405:51;45465:12;45480:5;45465:20;;45495:14;45519:75;45534:1;45526:4;:9;45519:75;;45551:8;;;;;;;45581:2;45573:10;;;;;;;;;45519:75;;;45603:19;45635:6;45625:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45603:39;;45652:13;45677:1;45668:6;:10;45652:26;;45695:5;45688:12;;45710:114;45725:1;45717:4;:9;45710:114;;45785:2;45778:4;:9;;;;;;45773:2;:14;45760:29;;45742:6;45749:7;;;;;;;45742:15;;;;;;;;;;;:47;;;;;;;;;;;45811:2;45803:10;;;;;;;;;45710:114;;;45847:6;45833:21;;;;;;45136:725;;;;:::o;42759:149::-;42843:4;42866:35;42876:3;:10;;42896:3;42888:12;;42866:9;:35::i;:::-;42859:42;;42759:149;;;;:::o;39662:108::-;39718:7;39744:3;:12;;:19;;;;39737:26;;39662:108;;;:::o;62512:93::-;;;;:::o;34123:135::-;34193:4;34216:35;34224:3;:10;;34244:5;34236:14;;34216:7;:35::i;:::-;34209:42;;34123:135;;;;:::o;33826:129::-;33893:4;33916:32;33921:3;:10;;33941:5;33933:14;;33916:4;:32::i;:::-;33909:39;;33826:129;;;;:::o;42198:183::-;42287:4;42310:64;42315:3;:10;;42335:3;42327:12;;42365:5;42349:23;;42341:32;;42310:4;:64::i;:::-;42303:71;;42198:183;;;;;:::o;30210:201::-;30277:7;30325:5;30304:3;:11;;:18;;;;:26;30296:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30386:3;:11;;30398:5;30386:18;;;;;;;;;;;;;;;;30379:25;;30210:201;;;;:::o;40113:274::-;40180:7;40189;40238:5;40216:3;:12;;:19;;;;:27;40208:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40293:22;40318:3;:12;;40331:5;40318:19;;;;;;;;;;;;;;;;;;40293:44;;40355:5;:10;;;40367:5;:12;;;40347:33;;;;;40113:274;;;;;:::o;41574:315::-;41668:7;41687:16;41706:3;:12;;:17;41719:3;41706:17;;;;;;;;;;;;41687:36;;41753:1;41741:8;:13;;41756:12;41733:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41822:3;:12;;41846:1;41835:8;:12;41822:26;;;;;;;;;;;;;;;;;;:33;;;41815:40;;;41574:315;;;;;:::o;29771:107::-;29827:7;29853:3;:11;;:18;;;;29846:25;;29771:107;;;:::o;61026:589::-;61146:4;61171:15;:2;:13;;;:15::i;:::-;61166:58;;61209:4;61202:11;;;;61166:58;61233:23;61259:246;61311:45;;;61370:12;:10;:12::i;:::-;61396:4;61414:7;61435:5;61275:175;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61259:246;;;;;;;;;;;;;;;;;:2;:15;;;;:246;;;;;:::i;:::-;61233:272;;61515:13;61542:10;61531:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61515:48;;46587:10;61591:16;;61581:26;;;:6;:26;;;;61573:35;;;;61026:589;;;;;;;:::o;39449:123::-;39520:4;39564:1;39543:3;:12;;:17;39556:3;39543:17;;;;;;;;;;;;:22;;39536:29;;39449:123;;;;:::o;27970:1512::-;28036:4;28152:18;28173:3;:12;;:19;28186:5;28173:19;;;;;;;;;;;;28152:40;;28221:1;28207:10;:15;28203:1273;;28564:21;28601:1;28588:10;:14;28564:38;;28616:17;28657:1;28636:3;:11;;:18;;;;:22;28616:42;;28898:17;28918:3;:11;;28930:9;28918:22;;;;;;;;;;;;;;;;28898:42;;29061:9;29032:3;:11;;29044:13;29032:26;;;;;;;;;;;;;;;:38;;;;29178:1;29162:13;:17;29136:3;:12;;:23;29149:9;29136:23;;;;;;;;;;;:43;;;;29285:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;29377:3;:12;;:19;29390:5;29377:19;;;;;;;;;;;29370:26;;;29418:4;29411:11;;;;;;;;28203:1273;29460:5;29453:12;;;27970:1512;;;;;:::o;27398:404::-;27461:4;27482:21;27492:3;27497:5;27482:9;:21::i;:::-;27477:319;;27519:3;:11;;27536:5;27519:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27699:3;:11;;:18;;;;27677:3;:12;;:19;27690:5;27677:19;;;;;;;;;;;:40;;;;27738:4;27731:11;;;;27477:319;27780:5;27773:12;;27398:404;;;;;:::o;37007:678::-;37083:4;37197:16;37216:3;:12;;:17;37229:3;37216:17;;;;;;;;;;;;37197:36;;37260:1;37248:8;:13;37244:435;;;37314:3;:12;;37332:38;;;;;;;;37349:3;37332:38;;;;37362:5;37332:38;;;37314:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37526:3;:12;;:19;;;;37506:3;:12;;:17;37519:3;37506:17;;;;;;;;;;;:39;;;;37566:4;37559:11;;;;;37244:435;37637:5;37601:3;:12;;37625:1;37614:8;:12;37601:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;37663:5;37656:12;;;37007:678;;;;;;:::o;18640:413::-;18700:4;18903:12;19012:7;19000:20;18992:28;;19045:1;19038:4;:8;19031:15;;;18640:413;;;:::o;21495:193::-;21598:12;21629:52;21651:6;21659:4;21665:1;21668:12;21629:21;:52::i;:::-;21622:59;;21495:193;;;;;:::o;29563:127::-;29636:4;29682:1;29659:3;:12;;:19;29672:5;29659:19;;;;;;;;;;;;:24;;29652:31;;29563:127;;;;:::o;22522:523::-;22649:12;22706:5;22681:21;:30;;22673:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22772:18;22783:6;22772:10;:18::i;:::-;22764:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22895:12;22909:23;22936:6;:11;;22956:5;22964:4;22936:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22894:75;;;;22986:52;23004:7;23013:10;23025:12;22986:17;:52::i;:::-;22979:59;;;;22522:523;;;;;;:::o;25005:725::-;25120:12;25148:7;25144:580;;;25178:10;25171:17;;;;25144:580;25309:1;25289:10;:17;:21;25285:429;;;25547:10;25541:17;25607:15;25594:10;25590:2;25586:19;25579:44;25496:145;25686:12;25679:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25005:725;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:342:3:-;;109:64;124:48;165:6;124:48;:::i;:::-;109:64;:::i;:::-;100:73;;196:6;189:5;182:21;234:4;227:5;223:16;272:3;263:6;258:3;254:16;251:25;248:2;;;289:1;286;279:12;248:2;302:41;336:6;331:3;326;302:41;:::i;:::-;90:259;;;;;;:::o;355:344::-;;458:65;473:49;515:6;473:49;:::i;:::-;458:65;:::i;:::-;449:74;;546:6;539:5;532:21;584:4;577:5;573:16;622:3;613:6;608:3;604:16;601:25;598:2;;;639:1;636;629:12;598:2;652:41;686:6;681:3;676;652:41;:::i;:::-;439:260;;;;;;:::o;705:139::-;;789:6;776:20;767:29;;805:33;832:5;805:33;:::i;:::-;757:87;;;;:::o;866:379::-;;;1011:3;1004:4;996:6;992:17;988:27;978:2;;1029:1;1026;1019:12;978:2;1065:6;1052:20;1042:30;;1095:18;1087:6;1084:30;1081:2;;;1127:1;1124;1117:12;1081:2;1164:4;1156:6;1152:17;1140:29;;1218:3;1210:4;1202:6;1198:17;1188:8;1184:32;1181:41;1178:2;;;1235:1;1232;1225:12;1178:2;968:277;;;;;:::o;1251:133::-;;1332:6;1319:20;1310:29;;1348:30;1372:5;1348:30;:::i;:::-;1300:84;;;;:::o;1390:137::-;;1473:6;1460:20;1451:29;;1489:32;1515:5;1489:32;:::i;:::-;1441:86;;;;:::o;1546:271::-;;1650:3;1643:4;1635:6;1631:17;1627:27;1617:2;;1668:1;1665;1658:12;1617:2;1708:6;1695:20;1733:78;1807:3;1799:6;1792:4;1784:6;1780:17;1733:78;:::i;:::-;1724:87;;1607:210;;;;;:::o;1837:273::-;;1942:3;1935:4;1927:6;1923:17;1919:27;1909:2;;1960:1;1957;1950:12;1909:2;2000:6;1987:20;2025:79;2100:3;2092:6;2085:4;2077:6;2073:17;2025:79;:::i;:::-;2016:88;;1899:211;;;;;:::o;2116:139::-;;2200:6;2187:20;2178:29;;2216:33;2243:5;2216:33;:::i;:::-;2168:87;;;;:::o;2261:262::-;;2369:2;2357:9;2348:7;2344:23;2340:32;2337:2;;;2385:1;2382;2375:12;2337:2;2428:1;2453:53;2498:7;2489:6;2478:9;2474:22;2453:53;:::i;:::-;2443:63;;2399:117;2327:196;;;;:::o;2529:407::-;;;2654:2;2642:9;2633:7;2629:23;2625:32;2622:2;;;2670:1;2667;2660:12;2622:2;2713:1;2738:53;2783:7;2774:6;2763:9;2759:22;2738:53;:::i;:::-;2728:63;;2684:117;2840:2;2866:53;2911:7;2902:6;2891:9;2887:22;2866:53;:::i;:::-;2856:63;;2811:118;2612:324;;;;;:::o;2942:552::-;;;;3084:2;3072:9;3063:7;3059:23;3055:32;3052:2;;;3100:1;3097;3090:12;3052:2;3143:1;3168:53;3213:7;3204:6;3193:9;3189:22;3168:53;:::i;:::-;3158:63;;3114:117;3270:2;3296:53;3341:7;3332:6;3321:9;3317:22;3296:53;:::i;:::-;3286:63;;3241:118;3398:2;3424:53;3469:7;3460:6;3449:9;3445:22;3424:53;:::i;:::-;3414:63;;3369:118;3042:452;;;;;:::o;3500:809::-;;;;;3668:3;3656:9;3647:7;3643:23;3639:33;3636:2;;;3685:1;3682;3675:12;3636:2;3728:1;3753:53;3798:7;3789:6;3778:9;3774:22;3753:53;:::i;:::-;3743:63;;3699:117;3855:2;3881:53;3926:7;3917:6;3906:9;3902:22;3881:53;:::i;:::-;3871:63;;3826:118;3983:2;4009:53;4054:7;4045:6;4034:9;4030:22;4009:53;:::i;:::-;3999:63;;3954:118;4139:2;4128:9;4124:18;4111:32;4170:18;4162:6;4159:30;4156:2;;;4202:1;4199;4192:12;4156:2;4230:62;4284:7;4275:6;4264:9;4260:22;4230:62;:::i;:::-;4220:72;;4082:220;3626:683;;;;;;;:::o;4315:401::-;;;4437:2;4425:9;4416:7;4412:23;4408:32;4405:2;;;4453:1;4450;4443:12;4405:2;4496:1;4521:53;4566:7;4557:6;4546:9;4542:22;4521:53;:::i;:::-;4511:63;;4467:117;4623:2;4649:50;4691:7;4682:6;4671:9;4667:22;4649:50;:::i;:::-;4639:60;;4594:115;4395:321;;;;;:::o;4722:407::-;;;4847:2;4835:9;4826:7;4822:23;4818:32;4815:2;;;4863:1;4860;4853:12;4815:2;4906:1;4931:53;4976:7;4967:6;4956:9;4952:22;4931:53;:::i;:::-;4921:63;;4877:117;5033:2;5059:53;5104:7;5095:6;5084:9;5080:22;5059:53;:::i;:::-;5049:63;;5004:118;4805:324;;;;;:::o;5135:260::-;;5242:2;5230:9;5221:7;5217:23;5213:32;5210:2;;;5258:1;5255;5248:12;5210:2;5301:1;5326:52;5370:7;5361:6;5350:9;5346:22;5326:52;:::i;:::-;5316:62;;5272:116;5200:195;;;;:::o;5401:375::-;;5519:2;5507:9;5498:7;5494:23;5490:32;5487:2;;;5535:1;5532;5525:12;5487:2;5606:1;5595:9;5591:17;5578:31;5636:18;5628:6;5625:30;5622:2;;;5668:1;5665;5658:12;5622:2;5696:63;5751:7;5742:6;5731:9;5727:22;5696:63;:::i;:::-;5686:73;;5549:220;5477:299;;;;:::o;5782:1111::-;;;;;;6008:3;5996:9;5987:7;5983:23;5979:33;5976:2;;;6025:1;6022;6015:12;5976:2;6096:1;6085:9;6081:17;6068:31;6126:18;6118:6;6115:30;6112:2;;;6158:1;6155;6148:12;6112:2;6186:63;6241:7;6232:6;6221:9;6217:22;6186:63;:::i;:::-;6176:73;;6039:220;6326:2;6315:9;6311:18;6298:32;6357:18;6349:6;6346:30;6343:2;;;6389:1;6386;6379:12;6343:2;6417:63;6472:7;6463:6;6452:9;6448:22;6417:63;:::i;:::-;6407:73;;6269:221;6529:2;6555:53;6600:7;6591:6;6580:9;6576:22;6555:53;:::i;:::-;6545:63;;6500:118;6685:2;6674:9;6670:18;6657:32;6716:18;6708:6;6705:30;6702:2;;;6748:1;6745;6738:12;6702:2;6784:92;6868:7;6859:6;6848:9;6844:22;6784:92;:::i;:::-;6766:110;;;;6628:258;5966:927;;;;;;;;:::o;6899:262::-;;7007:2;6995:9;6986:7;6982:23;6978:32;6975:2;;;7023:1;7020;7013:12;6975:2;7066:1;7091:53;7136:7;7127:6;7116:9;7112:22;7091:53;:::i;:::-;7081:63;;7037:117;6965:196;;;;:::o;7167:407::-;;;7292:2;7280:9;7271:7;7267:23;7263:32;7260:2;;;7308:1;7305;7298:12;7260:2;7351:1;7376:53;7421:7;7412:6;7401:9;7397:22;7376:53;:::i;:::-;7366:63;;7322:117;7478:2;7504:53;7549:7;7540:6;7529:9;7525:22;7504:53;:::i;:::-;7494:63;;7449:118;7250:324;;;;;:::o;7580:142::-;7683:32;7709:5;7683:32;:::i;:::-;7678:3;7671:45;7661:61;;:::o;7728:118::-;7815:24;7833:5;7815:24;:::i;:::-;7810:3;7803:37;7793:53;;:::o;7852:109::-;7933:21;7948:5;7933:21;:::i;:::-;7928:3;7921:34;7911:50;;:::o;7991:317::-;;8128:89;8210:6;8205:3;8128:89;:::i;:::-;8121:96;;8227:43;8263:6;8258:3;8251:5;8227:43;:::i;:::-;8295:6;8290:3;8286:16;8279:23;;8111:197;;;;;:::o;8314:364::-;;8430:39;8463:5;8430:39;:::i;:::-;8485:71;8549:6;8544:3;8485:71;:::i;:::-;8478:78;;8565:52;8610:6;8605:3;8598:4;8591:5;8587:16;8565:52;:::i;:::-;8642:29;8664:6;8642:29;:::i;:::-;8637:3;8633:39;8626:46;;8406:272;;;;;:::o;8684:377::-;;8818:39;8851:5;8818:39;:::i;:::-;8873:89;8955:6;8950:3;8873:89;:::i;:::-;8866:96;;8971:52;9016:6;9011:3;9004:4;8997:5;8993:16;8971:52;:::i;:::-;9048:6;9043:3;9039:16;9032:23;;8794:267;;;;;:::o;9067:118::-;9154:24;9172:5;9154:24;:::i;:::-;9149:3;9142:37;9132:53;;:::o;9191:295::-;;9355:105;9456:3;9447:6;9439;9355:105;:::i;:::-;9348:112;;9477:3;9470:10;;9337:149;;;;;:::o;9492:275::-;;9646:95;9737:3;9728:6;9646:95;:::i;:::-;9639:102;;9758:3;9751:10;;9628:139;;;;:::o;9773:222::-;;9904:2;9893:9;9889:18;9881:26;;9917:71;9985:1;9974:9;9970:17;9961:6;9917:71;:::i;:::-;9871:124;;;;:::o;10001:210::-;;10126:2;10115:9;10111:18;10103:26;;10139:65;10201:1;10190:9;10186:17;10177:6;10139:65;:::i;:::-;10093:118;;;;:::o;10217:313::-;;10368:2;10357:9;10353:18;10345:26;;10417:9;10411:4;10407:20;10403:1;10392:9;10388:17;10381:47;10445:78;10518:4;10509:6;10445:78;:::i;:::-;10437:86;;10335:195;;;;:::o;10536:222::-;;10667:2;10656:9;10652:18;10644:26;;10680:71;10748:1;10737:9;10733:17;10724:6;10680:71;:::i;:::-;10634:124;;;;:::o;10764:1374::-;;11201:3;11190:9;11186:19;11178:27;;11215:71;11283:1;11272:9;11268:17;11259:6;11215:71;:::i;:::-;11333:9;11327:4;11323:20;11318:2;11307:9;11303:18;11296:48;11361:78;11434:4;11425:6;11361:78;:::i;:::-;11353:86;;11486:9;11480:4;11476:20;11471:2;11460:9;11456:18;11449:48;11514:78;11587:4;11578:6;11514:78;:::i;:::-;11506:86;;11602:88;11686:2;11675:9;11671:18;11662:6;11602:88;:::i;:::-;11700:89;11784:3;11773:9;11769:19;11760:6;11700:89;:::i;:::-;11799;11883:3;11872:9;11868:19;11859:6;11799:89;:::i;:::-;11898:73;11966:3;11955:9;11951:19;11942:6;11898:73;:::i;:::-;11981;12049:3;12038:9;12034:19;12025:6;11981:73;:::i;:::-;12064:67;12126:3;12115:9;12111:19;12102:6;12064:67;:::i;:::-;11168:970;;;;;;;;;;;;:::o;12144:524::-;;;12284:11;12271:25;12384:1;12378:4;12374:12;12363:8;12347:14;12343:29;12339:48;12319:18;12315:73;12305:2;;12402:1;12399;12392:12;12305:2;12437:18;12427:8;12423:33;12415:41;;12489:4;12476:18;12466:28;;12517:18;12509:6;12506:30;12503:2;;;12549:1;12546;12539:12;12503:2;12580;12574:4;12570:13;12562:21;;12637:4;12629:6;12625:17;12609:14;12605:38;12599:4;12595:49;12592:2;;;12657:1;12654;12647:12;12592:2;12235:433;;;;;;:::o;12674:278::-;;12740:2;12734:9;12724:19;;12782:4;12774:6;12770:17;12889:6;12877:10;12874:22;12853:18;12841:10;12838:34;12835:62;12832:2;;;12900:13;;:::i;:::-;12832:2;12935:10;12931:2;12924:22;12714:238;;;;:::o;12958:326::-;;13109:18;13101:6;13098:30;13095:2;;;13131:13;;:::i;:::-;13095:2;13211:4;13207:9;13200:4;13192:6;13188:17;13184:33;13176:41;;13272:4;13266;13262:15;13254:23;;13024:260;;;:::o;13290:327::-;;13442:18;13434:6;13431:30;13428:2;;;13464:13;;:::i;:::-;13428:2;13544:4;13540:9;13533:4;13525:6;13521:17;13517:33;13509:41;;13605:4;13599;13595:15;13587:23;;13357:260;;;:::o;13623:99::-;;13709:5;13703:12;13693:22;;13682:40;;;:::o;13728:169::-;;13846:6;13841:3;13834:19;13886:4;13881:3;13877:14;13862:29;;13824:73;;;;:::o;13903:148::-;;14042:3;14027:18;;14017:34;;;;:::o;14057:96::-;;14123:24;14141:5;14123:24;:::i;:::-;14112:35;;14102:51;;;:::o;14159:104::-;;14233:24;14251:5;14233:24;:::i;:::-;14222:35;;14212:51;;;:::o;14269:90::-;;14346:5;14339:13;14332:21;14321:32;;14311:48;;;:::o;14365:149::-;;14441:66;14434:5;14430:78;14419:89;;14409:105;;;:::o;14520:126::-;;14597:42;14590:5;14586:54;14575:65;;14565:81;;;:::o;14652:77::-;;14718:5;14707:16;;14697:32;;;:::o;14735:154::-;14819:6;14814:3;14809;14796:30;14881:1;14872:6;14867:3;14863:16;14856:27;14786:103;;;:::o;14895:307::-;14963:1;14973:113;14987:6;14984:1;14981:13;14973:113;;;15072:1;15067:3;15063:11;15057:18;15053:1;15048:3;15044:11;15037:39;15009:2;15006:1;15002:10;14997:15;;14973:113;;;15104:6;15101:1;15098:13;15095:2;;;15184:1;15175:6;15170:3;15166:16;15159:27;15095:2;14944:258;;;;:::o;15208:48::-;15241:9;15262:102;;15354:2;15350:7;15345:2;15338:5;15334:14;15330:28;15320:38;;15310:54;;;:::o;15370:122::-;15443:24;15461:5;15443:24;:::i;:::-;15436:5;15433:35;15423:2;;15482:1;15479;15472:12;15423:2;15413:79;:::o;15498:116::-;15568:21;15583:5;15568:21;:::i;:::-;15561:5;15558:32;15548:2;;15604:1;15601;15594:12;15548:2;15538:76;:::o;15620:120::-;15692:23;15709:5;15692:23;:::i;:::-;15685:5;15682:34;15672:2;;15730:1;15727;15720:12;15672:2;15662:78;:::o;15746:122::-;15819:24;15837:5;15819:24;:::i;:::-;15812:5;15809:35;15799:2;;15858:1;15855;15848:12;15799:2;15789:79;:::o", - "source": "// SPDX-License-Identifier: MIT\npragma solidity >=0.4.21 <0.8.0;\npragma abicoder v2;\n\nimport \"./ERC721.sol\";\n\ncontract CryptoBoys is ERC721 {\n\n string public collectionName;\n string public collectionNameSymbol;\n\n uint256 public cryptoBoyCounter;\n\n struct CryptoBoy {\n uint256 tokenId;\n string tokenName;\n string tokenURI;\n address payable mintedBy;\n address payable currentOwner;\n address payable previousOwner;\n uint256 price;\n uint256 numberOfTransfers;\n bool forSale;\n }\n\n mapping(uint256 => CryptoBoy) public allCryptoBoys;\n\n mapping(string => bool) public tokenNameExists;\n mapping(string => bool) public colorExists;\n mapping(string => bool) public tokenURIExists;\n\n constructor() ERC721(\"Crypto Boys Collection\", \"CB\") {\n collectionName = name();\n collectionNameSymbol = symbol();\n }\n\n function mintCryptoBoy(string memory _name, string memory _tokenURI, uint256 _price, string[] calldata _colors) external {\n\n require(msg.sender != address(0));\n cryptoBoyCounter ++;\n require(!_exists(cryptoBoyCounter));\n\n for(uint i=0; i<_colors.length; i++) {\n require(!colorExists[_colors[i]]);\n }\n require(!tokenURIExists[_tokenURI]);\n require(!tokenNameExists[_name]);\n\n _mint(msg.sender, cryptoBoyCounter);\n _setTokenURI(cryptoBoyCounter, _tokenURI);\n\n for (uint i=0; i<_colors.length; i++) {\n colorExists[_colors[i]] = true;\n }\n tokenURIExists[_tokenURI] = true;\n tokenNameExists[_name] = true;\n\n CryptoBoy memory newCryptoBoy = CryptoBoy(\n cryptoBoyCounter,\n _name,\n _tokenURI,\n msg.sender,\n msg.sender,\n address(0),\n _price,\n 0,\n true);\n allCryptoBoys[cryptoBoyCounter] = newCryptoBoy;\n }\n\n function getTokenOwner(uint256 _tokenId) public view returns(address) {\n address _tokenOwner = ownerOf(_tokenId);\n return _tokenOwner;\n }\n\n function getTokenMetaData(uint _tokenId) public view returns(string memory) {\n string memory tokenMetaData = tokenURI(_tokenId);\n return tokenMetaData;\n }\n\n function getNumberOfTokensMinted() public view returns(uint256) {\n uint256 totalNumberOfTokensMinted = totalSupply();\n return totalNumberOfTokensMinted;\n }\n\n function getTotalNumberOfTokensOwnedByAnAddress(address _owner) public view returns(uint256) {\n uint256 totalNumberOfTokensOwned = balanceOf(_owner);\n return totalNumberOfTokensOwned;\n }\n\n function getTokenExists(uint256 _tokenId) public view returns(bool) {\n bool tokenExists = _exists(_tokenId);\n return tokenExists;\n }\n\n function buyToken(uint256 _tokenId) public payable {\n require(msg.sender != address(0));\n require(_exists(_tokenId));\n address tokenOwner = ownerOf(_tokenId);\n require(tokenOwner != address(0));\n require(tokenOwner != msg.sender);\n CryptoBoy memory cryptoboy = allCryptoBoys[_tokenId];\n require(msg.value >= cryptoboy.price);\n require(cryptoboy.forSale);\n _transfer(tokenOwner, msg.sender, _tokenId);\n address payable sendTo = cryptoboy.currentOwner;\n sendTo.transfer(msg.value);\n cryptoboy.previousOwner = cryptoboy.currentOwner;\n cryptoboy.currentOwner = msg.sender;\n cryptoboy.numberOfTransfers += 1;\n allCryptoBoys[_tokenId] = cryptoboy;\n }\n\n function changeTokenPrice(uint256 _tokenId, uint256 _newPrice) public {\n require(msg.sender != address(0));\n require(_exists(_tokenId));\n address tokenOwner = ownerOf(_tokenId);\n require(tokenOwner == msg.sender);\n CryptoBoy memory cryptoboy = allCryptoBoys[_tokenId];\n cryptoboy.price = _newPrice;\n allCryptoBoys[_tokenId] = cryptoboy;\n }\n\n function toggleForSale(uint256 _tokenId) public {\n require(msg.sender != address(0));\n require(_exists(_tokenId));\n address tokenOwner = ownerOf(_tokenId);\n require(tokenOwner == msg.sender);\n CryptoBoy memory cryptoboy = allCryptoBoys[_tokenId];\n if(cryptoboy.forSale) {\n cryptoboy.forSale = false;\n } else {\n cryptoboy.forSale = true;\n }\n allCryptoBoys[_tokenId] = cryptoboy;\n }\n}", - "sourcePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/CryptoBoys.sol", + "sourceMap": "199:7249:0:-:0;;;1195:127;;;;;;;;;;50476:370:1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9993:40;9659:10;10012:20;;9993:18;;;:40;;:::i;:::-;50552:5;50544;:13;;;;;;;;;;;;:::i;:::-;;50578:7;50568;:17;;;;;;;;;;;;:::i;:::-;;50676:40;49618:10;50695:20;;50676:18;;;:40;;:::i;:::-;50727:49;49959:10;50746:29;;50727:18;;;:49;;:::i;:::-;50787:51;50341:10;50806:31;;50787:18;;;:51;;:::i;:::-;50476:370;;1272:6:0::1;:4;;;:6;;:::i;:::-;1255:14;:23;;;;;;;;;;;;:::i;:::-;;1308:8;:6;;;:8;;:::i;:::-;1285:20;:31;;;;;;;;;;;;:::i;:::-;;199:7249:::0;;10755:201:1;10854:10;10839:25;;:11;:25;;;;;10831:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10944:4;10908:20;:33;10929:11;10908:33;;;;;;;;;;;;;;;;;;:40;;;;;;;;;;;;;;;;;;10755:201;:::o;51437:100::-;51491:13;51524:5;51517:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51437:100;:::o;51606:104::-;51662:13;51695:7;51688:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51606:104;:::o;199:7249:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", + "deployedSourceMap": "199:7249:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10198:150:1;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;51437:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54223:221;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;53753:404;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3952:142:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;53231:211:1;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55113:305;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;4146:1581:0;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;52993:162:1;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55489:151;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3710:196:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1058:45;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;812:50;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;53519:172:1;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5733:785:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;51193:177:1;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3269:164:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;52812:97:1;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;348:34:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;50910:221:1;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;979:42:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;51606:104:1;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1356:1693:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;54516:295:1;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;6579:866:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;900:46;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3084:147;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55711:285:1;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;428:31:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;51781:792:1;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3486:165:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;280:28;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54882:164:1;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;10198:150;10283:4;10307:20;:33;10328:11;10307:33;;;;;;;;;;;;;;;;;;;;;;;;;;;10300:40;;10198:150;;;:::o;51437:100::-;51491:13;51524:5;51517:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51437:100;:::o;54223:221::-;54299:7;54327:16;54335:7;54327;:16::i;:::-;54319:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54412:15;:24;54428:7;54412:24;;;;;;;;;;;;;;;;;;;;;54405:31;;54223:221;;;:::o;53753:404::-;53834:13;53850:23;53865:7;53850:14;:23::i;:::-;53834:39;;53898:5;53892:11;;:2;:11;;;;53884:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53978:5;53962:21;;:12;:10;:12::i;:::-;:21;;;:69;;;;53987:44;54011:5;54018:12;:10;:12::i;:::-;53987:23;:44::i;:::-;53962:69;53954:161;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54128:21;54137:2;54141:7;54128:8;:21::i;:::-;53753:404;;;:::o;3952:142:0:-;4014:4;4027:16;4046:17;4054:8;4046:7;:17::i;:::-;4027:36;;4077:11;4070:18;;;3952:142;;;:::o;53231:211:1:-;53292:7;53413:21;:12;:19;:21::i;:::-;53406:28;;53231:211;:::o;55113:305::-;55274:41;55293:12;:10;:12::i;:::-;55307:7;55274:18;:41::i;:::-;55266:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55382:28;55392:4;55398:2;55402:7;55382:9;:28::i;:::-;55113:305;;;:::o;4146:1581:0:-;4302:1;4280:24;;:10;:24;;;;4272:33;;;;;;4390:17;4398:8;4390:7;:17::i;:::-;4382:26;;;;;;4445:18;4466:17;4474:8;4466:7;:17::i;:::-;4445:38;;4580:1;4558:24;;:10;:24;;;;4550:33;;;;;;4687:10;4673:24;;:10;:24;;;;4665:33;;;;;;4816:26;4845:13;:23;4859:8;4845:23;;;;;;;;;;;4816:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4975:9;:15;;;4962:9;:28;;4954:37;;;;;;5039:9;:17;;;5031:26;;;;;;5140:43;5150:10;5162;5174:8;5140:9;:43::i;:::-;5221:22;5246:9;:22;;;5221:47;;5325:6;:15;;:26;5341:9;5325:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5426:9;:22;;;5400:9;:23;;:48;;;;;;;;;;;5521:10;5496:9;:22;;:35;;;;;;;;;;;5629:1;5598:9;:27;;:32;;;;;;;;;;;5712:9;5686:13;:23;5700:8;5686:23;;;;;;;;;;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4146:1581;;;;:::o;52993:162:1:-;53090:7;53117:30;53141:5;53117:13;:20;53131:5;53117:20;;;;;;;;;;;;;;;:23;;:30;;;;:::i;:::-;53110:37;;52993:162;;;;:::o;55489:151::-;55593:39;55610:4;55616:2;55620:7;55593:39;;;;;;;;;;;;:16;:39::i;:::-;55489:151;;;:::o;3710:196:0:-;3794:7;3810:32;3845:17;3855:6;3845:9;:17::i;:::-;3810:52;;3876:24;3869:31;;;3710:196;;;:::o;1058:45::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;812:50::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;53519:172:1:-;53594:7;53615:15;53636:22;53652:5;53636:12;:15;;:22;;;;:::i;:::-;53614:44;;;53676:7;53669:14;;;53519:172;;;:::o;5733:785:0:-;5903:1;5881:24;;:10;:24;;;;5873:33;;;;;;5961:17;5969:8;5961:7;:17::i;:::-;5953:26;;;;;;6016:18;6037:17;6045:8;6037:7;:17::i;:::-;6016:38;;6162:10;6148:24;;:10;:24;;;6140:33;;;;;;6291:26;6320:13;:23;6334:8;6320:23;;;;;;;;;;;6291:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6412:9;6394;:15;;:27;;;;;6503:9;6477:13;:23;6491:8;6477:23;;;;;;;;;;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5733:785;;;;:::o;51193:177:1:-;51265:7;51292:70;51309:7;51292:70;;;;;;;;;;;;;;;;;:12;:16;;:70;;;;;:::i;:::-;51285:77;;51193:177;;;:::o;3269:164:0:-;3330:13;3352:27;3382:18;3391:8;3382;:18::i;:::-;3352:48;;3414:13;3407:20;;;3269:164;;;:::o;52812:97:1:-;52860:13;52893:8;52886:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52812:97;:::o;348:34:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;50910:221:1:-;50982:7;51027:1;51010:19;;:5;:19;;;;51002:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51094:29;:13;:20;51108:5;51094:20;;;;;;;;;;;;;;;:27;:29::i;:::-;51087:36;;50910:221;;;:::o;979:42:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;51606:104:1:-;51662:13;51695:7;51688:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51606:104;:::o;1356:1693:0:-;1583:1;1561:24;;:10;:24;;;;1553:33;;;;;;1619:16;;:19;;;;;;;;;;;;;1733:25;1741:16;;1733:7;:25::i;:::-;1732:26;1724:35;;;;;;1858:6;1854:87;1870:7;;:14;;1868:1;:16;1854:87;;;1909:11;1921:7;;1929:1;1921:10;;;;;;;;;;;;;;;;;;:::i;:::-;1909:23;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1908:24;1900:33;;;;;;1886:3;;;;;;;1854:87;;;;2009:14;2024:9;2009:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;2008:26;2000:35;;;;;;2105:15;2121:5;2105:22;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;2104:23;2096:32;;;;;;2160:35;2166:10;2178:16;;2160:5;:35::i;:::-;2269:41;2282:16;;2300:9;2269:12;:41::i;:::-;2435:6;2430:85;2447:7;;:14;;2445:1;:16;2430:85;;;2503:4;2477:11;2489:7;;2497:1;2489:10;;;;;;;;;;;;;;;;;;:::i;:::-;2477:23;;;;;;;:::i;:::-;;;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;2463:3;;;;;;;2430:85;;;;2589:4;2561:14;2576:9;2561:25;;;;;;:::i;:::-;;;;;;;;;;;;;;:32;;;;;;;;;;;;;;;;;;2666:4;2641:15;2657:5;2641:22;;;;;;:::i;:::-;;;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;2742;2774:144;;;;;;;;2790:16;;2774:144;;;;2813:5;2774:144;;;;2825:9;2774:144;;;;2841:10;2774:144;;;;;;2858:10;2774:144;;;;;;2883:1;2774:144;;;;;;2892:6;2774:144;;;;2905:1;2774:144;;;;2913:4;2774:144;;;;;2742:176;;3031:12;2997:13;:31;3011:16;;2997:31;;;;;;;;;;;:46;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1356:1693;;;;;;:::o;54516:295:1:-;54631:12;:10;:12::i;:::-;54619:24;;:8;:24;;;;54611:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54731:8;54686:18;:32;54705:12;:10;:12::i;:::-;54686:32;;;;;;;;;;;;;;;:42;54719:8;54686:42;;;;;;;;;;;;;;;;:53;;;;;;;;;;;;;;;;;;54784:8;54755:48;;54770:12;:10;:12::i;:::-;54755:48;;;54794:8;54755:48;;;;;;;;;;;;;;;;;;;;54516:295;;:::o;6579:866:0:-;6727:1;6705:24;;:10;:24;;;;6697:33;;;;;;6785:17;6793:8;6785:7;:17::i;:::-;6777:26;;;;;;6840:18;6861:17;6869:8;6861:7;:17::i;:::-;6840:38;;6986:10;6972:24;;:10;:24;;;6964:33;;;;;;7115:26;7144:13;:23;7158:8;7144:23;;;;;;;;;;;7115:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7241:9;:17;;;7238:111;;;7289:5;7269:9;:17;;:25;;;;;;;;;;;7238:111;;;7337:4;7317:9;:17;;:24;;;;;;;;;;;7238:111;7430:9;7404:13;:23;7418:8;7404:23;;;;;;;;;;;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6579:866;;;:::o;900:46::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3084:147::-;3145:7;3161:19;3183:17;3191:8;3183:7;:17::i;:::-;3161:39;;3214:11;3207:18;;;3084:147;;;:::o;55711:285:1:-;55843:41;55862:12;:10;:12::i;:::-;55876:7;55843:18;:41::i;:::-;55835:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55949:39;55963:4;55969:2;55973:7;55982:5;55949:13;:39::i;:::-;55711:285;;;;:::o;428:31:0:-;;;;:::o;51781:792:1:-;51854:13;51888:16;51896:7;51888;:16::i;:::-;51880:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51969:23;51995:10;:19;52006:7;51995:19;;;;;;;;;;;51969:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52025:18;52046:9;:7;:9::i;:::-;52025:30;;52153:1;52137:4;52131:18;:23;52127:72;;;52178:9;52171:16;;;;;;52127:72;52329:1;52309:9;52303:23;:27;52299:108;;;52378:4;52384:9;52361:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52347:48;;;;;;52299:108;52539:4;52545:18;:7;:16;:18::i;:::-;52522:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52508:57;;;;51781:792;;;;:::o;3486:165:0:-;3541:7;3557:33;3593:13;:11;:13::i;:::-;3557:49;;3620:25;3613:32;;;3486:165;:::o;280:28::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;54882:164:1:-;54979:4;55003:18;:25;55022:5;55003:25;;;;;;;;;;;;;;;:35;55029:8;55003:35;;;;;;;;;;;;;;;;;;;;;;;;;54996:42;;54882:164;;;;:::o;57463:127::-;57528:4;57552:30;57574:7;57552:12;:21;;:30;;;;:::i;:::-;57545:37;;57463:127;;;:::o;665:106::-;718:15;753:10;746:17;;665:106;:::o;63481:192::-;63583:2;63556:15;:24;63572:7;63556:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;63639:7;63635:2;63601:46;;63610:23;63625:7;63610:14;:23::i;:::-;63601:46;;;;;;;;;;;;63481:192;;:::o;44217:123::-;44286:7;44313:19;44321:3;:10;;44313:7;:19::i;:::-;44306:26;;44217:123;;;:::o;57757:355::-;57850:4;57875:16;57883:7;57875;:16::i;:::-;57867:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57951:13;57967:23;57982:7;57967:14;:23::i;:::-;57951:39;;58020:5;58009:16;;:7;:16;;;:51;;;;58053:7;58029:31;;:20;58041:7;58029:11;:20::i;:::-;:31;;;58009:51;:94;;;;58064:39;58088:5;58095:7;58064:23;:39::i;:::-;58009:94;58001:103;;;57757:355;;;;:::o;60893:599::-;61018:4;60991:31;;:23;61006:7;60991:14;:23::i;:::-;:31;;;60983:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61119:1;61105:16;;:2;:16;;;;61097:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61175:39;61196:4;61202:2;61206:7;61175:20;:39::i;:::-;61279:29;61296:1;61300:7;61279:8;:29::i;:::-;61321:35;61348:7;61321:13;:19;61335:4;61321:19;;;;;;;;;;;;;;;:26;;:35;;;;:::i;:::-;;61367:30;61389:7;61367:13;:17;61381:2;61367:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;61410:29;61427:7;61436:2;61410:12;:16;;:29;;;;;:::i;:::-;;61476:7;61472:2;61457:27;;61466:4;61457:27;;;;;;;;;;;;60893:599;;;:::o;36014:137::-;36085:7;36120:22;36124:3;:10;;36136:5;36120:3;:22::i;:::-;36112:31;;36105:38;;36014:137;;;;:::o;44679:236::-;44759:7;44768;44789:11;44802:13;44819:22;44823:3;:10;;44835:5;44819:3;:22::i;:::-;44788:53;;;;44868:3;44860:12;;44898:5;44890:14;;44852:55;;;;;;44679:236;;;;;:::o;45965:213::-;46072:7;46123:44;46128:3;:10;;46148:3;46140:12;;46154;46123:4;:44::i;:::-;46115:53;;46092:78;;45965:213;;;;;:::o;35556:114::-;35616:7;35643:19;35651:3;:10;;35643:7;:19::i;:::-;35636:26;;35556:114;;;:::o;59378:404::-;59472:1;59458:16;;:2;:16;;;;59450:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59531:16;59539:7;59531;:16::i;:::-;59530:17;59522:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59593:45;59622:1;59626:2;59630:7;59593:20;:45::i;:::-;59651:30;59673:7;59651:13;:17;59665:2;59651:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;59694:29;59711:7;59720:2;59694:12;:16;;:29;;;;;:::i;:::-;;59766:7;59762:2;59741:33;;59758:1;59741:33;;;;;;;;;;;;59378:404;;:::o;61648:215::-;61748:16;61756:7;61748;:16::i;:::-;61740:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61846:9;61824:10;:19;61835:7;61824:19;;;;;;;;;;;:31;;;;;;;;;;;;:::i;:::-;;61648:215;;:::o;56878:272::-;56992:28;57002:4;57008:2;57012:7;56992:9;:28::i;:::-;57039:48;57062:4;57068:2;57072:7;57081:5;57039:22;:48::i;:::-;57031:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56878:272;;;;:::o;46423:746::-;46479:13;46709:1;46700:5;:10;46696:53;;;46727:10;;;;;;;;;;;;;;;;;;;;;46696:53;46759:12;46774:5;46759:20;;46790:14;46815:78;46830:1;46822:4;:9;46815:78;;46848:8;;;;;;;46879:2;46871:10;;;;;;;;;46815:78;;;46903:19;46935:6;46925:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46903:39;;46953:13;46978:1;46969:6;:10;46953:26;;46997:5;46990:12;;47013:117;47028:1;47020:4;:9;47013:117;;47089:2;47082:4;:9;;;;;;47077:2;:14;47064:29;;47046:6;47053:7;;;;;;;47046:15;;;;;;;;;;;:47;;;;;;;;;;;47116:2;47108:10;;;;;;;;;47013:117;;;47154:6;47140:21;;;;;;46423:746;;;;:::o;43978:151::-;44062:4;44086:35;44096:3;:10;;44116:3;44108:12;;44086:9;:35::i;:::-;44079:42;;43978:151;;;;:::o;40796:110::-;40852:7;40879:3;:12;;:19;;;;40872:26;;40796:110;;;:::o;64286:93::-;;;;:::o;35101:137::-;35171:4;35195:35;35203:3;:10;;35223:5;35215:14;;35195:7;:35::i;:::-;35188:42;;35101:137;;;;:::o;34794:131::-;34861:4;34885:32;34890:3;:10;;34910:5;34902:14;;34885:4;:32::i;:::-;34878:39;;34794:131;;;;:::o;43401:185::-;43490:4;43514:64;43519:3;:10;;43539:3;43531:12;;43569:5;43553:23;;43545:32;;43514:4;:64::i;:::-;43507:71;;43401:185;;;;;:::o;31052:204::-;31119:7;31168:5;31147:3;:11;;:18;;;;:26;31139:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31230:3;:11;;31242:5;31230:18;;;;;;;;;;;;;;;;31223:25;;31052:204;;;;:::o;41261:279::-;41328:7;41337;41387:5;41365:3;:12;;:19;;;;:27;41357:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41444:22;41469:3;:12;;41482:5;41469:19;;;;;;;;;;;;;;;;;;41444:44;;41507:5;:10;;;41519:5;:12;;;41499:33;;;;;41261:279;;;;;:::o;42758:319::-;42852:7;42872:16;42891:3;:12;;:17;42904:3;42891:17;;;;;;;;;;;;42872:36;;42939:1;42927:8;:13;;42942:12;42919:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43009:3;:12;;43033:1;43022:8;:12;43009:26;;;;;;;;;;;;;;;;;;:33;;;43002:40;;;42758:319;;;;;:::o;30599:109::-;30655:7;30682:3;:11;;:18;;;;30675:25;;30599:109;;;:::o;62758:604::-;62879:4;62906:15;:2;:13;;;:15::i;:::-;62901:60;;62945:4;62938:11;;;;62901:60;62971:23;62997:252;63050:45;;;63110:12;:10;:12::i;:::-;63137:4;63156:7;63178:5;63013:181;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62997:252;;;;;;;;;;;;;;;;;:2;:15;;;;:252;;;;;:::i;:::-;62971:278;;63260:13;63287:10;63276:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63260:48;;47914:10;63337:16;;63327:26;;;:6;:26;;;;63319:35;;;;62758:604;;;;;;;:::o;40576:125::-;40647:4;40692:1;40671:3;:12;;:17;40684:3;40671:17;;;;;;;;;;;;:22;;40664:29;;40576:125;;;;:::o;28754:1544::-;28820:4;28938:18;28959:3;:12;;:19;28972:5;28959:19;;;;;;;;;;;;28938:40;;29009:1;28995:10;:15;28991:1300;;29357:21;29394:1;29381:10;:14;29357:38;;29410:17;29451:1;29430:3;:11;;:18;;;;:22;29410:42;;29697:17;29717:3;:11;;29729:9;29717:22;;;;;;;;;;;;;;;;29697:42;;29863:9;29834:3;:11;;29846:13;29834:26;;;;;;;;;;;;;;;:38;;;;29982:1;29966:13;:17;29940:3;:12;;:23;29953:9;29940:23;;;;;;;;;;;:43;;;;30092:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;30187:3;:12;;:19;30200:5;30187:19;;;;;;;;;;;30180:26;;;30230:4;30223:11;;;;;;;;28991:1300;30274:5;30267:12;;;28754:1544;;;;;:::o;28164:414::-;28227:4;28249:21;28259:3;28264:5;28249:9;:21::i;:::-;28244:327;;28287:3;:11;;28304:5;28287:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28470:3;:11;;:18;;;;28448:3;:12;;:19;28461:5;28448:19;;;;;;;;;;;:40;;;;28510:4;28503:11;;;;28244:327;28554:5;28547:12;;28164:414;;;;;:::o;38076:692::-;38152:4;38268:16;38287:3;:12;;:17;38300:3;38287:17;;;;;;;;;;;;38268:36;;38333:1;38321:8;:13;38317:444;;;38388:3;:12;;38406:38;;;;;;;;38423:3;38406:38;;;;38436:5;38406:38;;;38388:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38603:3;:12;;:19;;;;38583:3;:12;;:17;38596:3;38583:17;;;;;;;;;;;:39;;;;38644:4;38637:11;;;;;38317:444;38717:5;38681:3;:12;;38705:1;38694:8;:12;38681:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;38744:5;38737:12;;;38076:692;;;;;;:::o;19189:422::-;19249:4;19457:12;19568:7;19556:20;19548:28;;19602:1;19595:4;:8;19588:15;;;19189:422;;;:::o;22107:195::-;22210:12;22242:52;22264:6;22272:4;22278:1;22281:12;22242:21;:52::i;:::-;22235:59;;22107:195;;;;;:::o;30384:129::-;30457:4;30504:1;30481:3;:12;;:19;30494:5;30481:19;;;;;;;;;;;;:24;;30474:31;;30384:129;;;;:::o;23159:530::-;23286:12;23344:5;23319:21;:30;;23311:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23411:18;23422:6;23411:10;:18::i;:::-;23403:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23537:12;23551:23;23578:6;:11;;23598:5;23606:4;23578:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23536:75;;;;23629:52;23647:7;23656:10;23668:12;23629:17;:52::i;:::-;23622:59;;;;23159:530;;;;;;:::o;25699:742::-;25814:12;25843:7;25839:595;;;25874:10;25867:17;;;;25839:595;26008:1;25988:10;:17;:21;25984:439;;;26251:10;26245:17;26312:15;26299:10;26295:2;26291:19;26284:44;26199:148;26394:12;26387:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25699:742;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:342:3:-;;109:64;124:48;165:6;124:48;:::i;:::-;109:64;:::i;:::-;100:73;;196:6;189:5;182:21;234:4;227:5;223:16;272:3;263:6;258:3;254:16;251:25;248:2;;;289:1;286;279:12;248:2;302:41;336:6;331:3;326;302:41;:::i;:::-;90:259;;;;;;:::o;355:344::-;;458:65;473:49;515:6;473:49;:::i;:::-;458:65;:::i;:::-;449:74;;546:6;539:5;532:21;584:4;577:5;573:16;622:3;613:6;608:3;604:16;601:25;598:2;;;639:1;636;629:12;598:2;652:41;686:6;681:3;676;652:41;:::i;:::-;439:260;;;;;;:::o;705:139::-;;789:6;776:20;767:29;;805:33;832:5;805:33;:::i;:::-;757:87;;;;:::o;866:379::-;;;1011:3;1004:4;996:6;992:17;988:27;978:2;;1029:1;1026;1019:12;978:2;1065:6;1052:20;1042:30;;1095:18;1087:6;1084:30;1081:2;;;1127:1;1124;1117:12;1081:2;1164:4;1156:6;1152:17;1140:29;;1218:3;1210:4;1202:6;1198:17;1188:8;1184:32;1181:41;1178:2;;;1235:1;1232;1225:12;1178:2;968:277;;;;;:::o;1251:133::-;;1332:6;1319:20;1310:29;;1348:30;1372:5;1348:30;:::i;:::-;1300:84;;;;:::o;1390:137::-;;1473:6;1460:20;1451:29;;1489:32;1515:5;1489:32;:::i;:::-;1441:86;;;;:::o;1546:271::-;;1650:3;1643:4;1635:6;1631:17;1627:27;1617:2;;1668:1;1665;1658:12;1617:2;1708:6;1695:20;1733:78;1807:3;1799:6;1792:4;1784:6;1780:17;1733:78;:::i;:::-;1724:87;;1607:210;;;;;:::o;1837:273::-;;1942:3;1935:4;1927:6;1923:17;1919:27;1909:2;;1960:1;1957;1950:12;1909:2;2000:6;1987:20;2025:79;2100:3;2092:6;2085:4;2077:6;2073:17;2025:79;:::i;:::-;2016:88;;1899:211;;;;;:::o;2116:139::-;;2200:6;2187:20;2178:29;;2216:33;2243:5;2216:33;:::i;:::-;2168:87;;;;:::o;2261:262::-;;2369:2;2357:9;2348:7;2344:23;2340:32;2337:2;;;2385:1;2382;2375:12;2337:2;2428:1;2453:53;2498:7;2489:6;2478:9;2474:22;2453:53;:::i;:::-;2443:63;;2399:117;2327:196;;;;:::o;2529:407::-;;;2654:2;2642:9;2633:7;2629:23;2625:32;2622:2;;;2670:1;2667;2660:12;2622:2;2713:1;2738:53;2783:7;2774:6;2763:9;2759:22;2738:53;:::i;:::-;2728:63;;2684:117;2840:2;2866:53;2911:7;2902:6;2891:9;2887:22;2866:53;:::i;:::-;2856:63;;2811:118;2612:324;;;;;:::o;2942:552::-;;;;3084:2;3072:9;3063:7;3059:23;3055:32;3052:2;;;3100:1;3097;3090:12;3052:2;3143:1;3168:53;3213:7;3204:6;3193:9;3189:22;3168:53;:::i;:::-;3158:63;;3114:117;3270:2;3296:53;3341:7;3332:6;3321:9;3317:22;3296:53;:::i;:::-;3286:63;;3241:118;3398:2;3424:53;3469:7;3460:6;3449:9;3445:22;3424:53;:::i;:::-;3414:63;;3369:118;3042:452;;;;;:::o;3500:809::-;;;;;3668:3;3656:9;3647:7;3643:23;3639:33;3636:2;;;3685:1;3682;3675:12;3636:2;3728:1;3753:53;3798:7;3789:6;3778:9;3774:22;3753:53;:::i;:::-;3743:63;;3699:117;3855:2;3881:53;3926:7;3917:6;3906:9;3902:22;3881:53;:::i;:::-;3871:63;;3826:118;3983:2;4009:53;4054:7;4045:6;4034:9;4030:22;4009:53;:::i;:::-;3999:63;;3954:118;4139:2;4128:9;4124:18;4111:32;4170:18;4162:6;4159:30;4156:2;;;4202:1;4199;4192:12;4156:2;4230:62;4284:7;4275:6;4264:9;4260:22;4230:62;:::i;:::-;4220:72;;4082:220;3626:683;;;;;;;:::o;4315:401::-;;;4437:2;4425:9;4416:7;4412:23;4408:32;4405:2;;;4453:1;4450;4443:12;4405:2;4496:1;4521:53;4566:7;4557:6;4546:9;4542:22;4521:53;:::i;:::-;4511:63;;4467:117;4623:2;4649:50;4691:7;4682:6;4671:9;4667:22;4649:50;:::i;:::-;4639:60;;4594:115;4395:321;;;;;:::o;4722:407::-;;;4847:2;4835:9;4826:7;4822:23;4818:32;4815:2;;;4863:1;4860;4853:12;4815:2;4906:1;4931:53;4976:7;4967:6;4956:9;4952:22;4931:53;:::i;:::-;4921:63;;4877:117;5033:2;5059:53;5104:7;5095:6;5084:9;5080:22;5059:53;:::i;:::-;5049:63;;5004:118;4805:324;;;;;:::o;5135:260::-;;5242:2;5230:9;5221:7;5217:23;5213:32;5210:2;;;5258:1;5255;5248:12;5210:2;5301:1;5326:52;5370:7;5361:6;5350:9;5346:22;5326:52;:::i;:::-;5316:62;;5272:116;5200:195;;;;:::o;5401:375::-;;5519:2;5507:9;5498:7;5494:23;5490:32;5487:2;;;5535:1;5532;5525:12;5487:2;5606:1;5595:9;5591:17;5578:31;5636:18;5628:6;5625:30;5622:2;;;5668:1;5665;5658:12;5622:2;5696:63;5751:7;5742:6;5731:9;5727:22;5696:63;:::i;:::-;5686:73;;5549:220;5477:299;;;;:::o;5782:1111::-;;;;;;6008:3;5996:9;5987:7;5983:23;5979:33;5976:2;;;6025:1;6022;6015:12;5976:2;6096:1;6085:9;6081:17;6068:31;6126:18;6118:6;6115:30;6112:2;;;6158:1;6155;6148:12;6112:2;6186:63;6241:7;6232:6;6221:9;6217:22;6186:63;:::i;:::-;6176:73;;6039:220;6326:2;6315:9;6311:18;6298:32;6357:18;6349:6;6346:30;6343:2;;;6389:1;6386;6379:12;6343:2;6417:63;6472:7;6463:6;6452:9;6448:22;6417:63;:::i;:::-;6407:73;;6269:221;6529:2;6555:53;6600:7;6591:6;6580:9;6576:22;6555:53;:::i;:::-;6545:63;;6500:118;6685:2;6674:9;6670:18;6657:32;6716:18;6708:6;6705:30;6702:2;;;6748:1;6745;6738:12;6702:2;6784:92;6868:7;6859:6;6848:9;6844:22;6784:92;:::i;:::-;6766:110;;;;6628:258;5966:927;;;;;;;;:::o;6899:262::-;;7007:2;6995:9;6986:7;6982:23;6978:32;6975:2;;;7023:1;7020;7013:12;6975:2;7066:1;7091:53;7136:7;7127:6;7116:9;7112:22;7091:53;:::i;:::-;7081:63;;7037:117;6965:196;;;;:::o;7167:407::-;;;7292:2;7280:9;7271:7;7267:23;7263:32;7260:2;;;7308:1;7305;7298:12;7260:2;7351:1;7376:53;7421:7;7412:6;7401:9;7397:22;7376:53;:::i;:::-;7366:63;;7322:117;7478:2;7504:53;7549:7;7540:6;7529:9;7525:22;7504:53;:::i;:::-;7494:63;;7449:118;7250:324;;;;;:::o;7580:142::-;7683:32;7709:5;7683:32;:::i;:::-;7678:3;7671:45;7661:61;;:::o;7728:118::-;7815:24;7833:5;7815:24;:::i;:::-;7810:3;7803:37;7793:53;;:::o;7852:109::-;7933:21;7948:5;7933:21;:::i;:::-;7928:3;7921:34;7911:50;;:::o;7991:317::-;;8128:89;8210:6;8205:3;8128:89;:::i;:::-;8121:96;;8227:43;8263:6;8258:3;8251:5;8227:43;:::i;:::-;8295:6;8290:3;8286:16;8279:23;;8111:197;;;;;:::o;8314:364::-;;8430:39;8463:5;8430:39;:::i;:::-;8485:71;8549:6;8544:3;8485:71;:::i;:::-;8478:78;;8565:52;8610:6;8605:3;8598:4;8591:5;8587:16;8565:52;:::i;:::-;8642:29;8664:6;8642:29;:::i;:::-;8637:3;8633:39;8626:46;;8406:272;;;;;:::o;8684:377::-;;8818:39;8851:5;8818:39;:::i;:::-;8873:89;8955:6;8950:3;8873:89;:::i;:::-;8866:96;;8971:52;9016:6;9011:3;9004:4;8997:5;8993:16;8971:52;:::i;:::-;9048:6;9043:3;9039:16;9032:23;;8794:267;;;;;:::o;9067:118::-;9154:24;9172:5;9154:24;:::i;:::-;9149:3;9142:37;9132:53;;:::o;9191:295::-;;9355:105;9456:3;9447:6;9439;9355:105;:::i;:::-;9348:112;;9477:3;9470:10;;9337:149;;;;;:::o;9492:275::-;;9646:95;9737:3;9728:6;9646:95;:::i;:::-;9639:102;;9758:3;9751:10;;9628:139;;;;:::o;9773:222::-;;9904:2;9893:9;9889:18;9881:26;;9917:71;9985:1;9974:9;9970:17;9961:6;9917:71;:::i;:::-;9871:124;;;;:::o;10001:210::-;;10126:2;10115:9;10111:18;10103:26;;10139:65;10201:1;10190:9;10186:17;10177:6;10139:65;:::i;:::-;10093:118;;;;:::o;10217:313::-;;10368:2;10357:9;10353:18;10345:26;;10417:9;10411:4;10407:20;10403:1;10392:9;10388:17;10381:47;10445:78;10518:4;10509:6;10445:78;:::i;:::-;10437:86;;10335:195;;;;:::o;10536:222::-;;10667:2;10656:9;10652:18;10644:26;;10680:71;10748:1;10737:9;10733:17;10724:6;10680:71;:::i;:::-;10634:124;;;;:::o;10764:1374::-;;11201:3;11190:9;11186:19;11178:27;;11215:71;11283:1;11272:9;11268:17;11259:6;11215:71;:::i;:::-;11333:9;11327:4;11323:20;11318:2;11307:9;11303:18;11296:48;11361:78;11434:4;11425:6;11361:78;:::i;:::-;11353:86;;11486:9;11480:4;11476:20;11471:2;11460:9;11456:18;11449:48;11514:78;11587:4;11578:6;11514:78;:::i;:::-;11506:86;;11602:88;11686:2;11675:9;11671:18;11662:6;11602:88;:::i;:::-;11700:89;11784:3;11773:9;11769:19;11760:6;11700:89;:::i;:::-;11799;11883:3;11872:9;11868:19;11859:6;11799:89;:::i;:::-;11898:73;11966:3;11955:9;11951:19;11942:6;11898:73;:::i;:::-;11981;12049:3;12038:9;12034:19;12025:6;11981:73;:::i;:::-;12064:67;12126:3;12115:9;12111:19;12102:6;12064:67;:::i;:::-;11168:970;;;;;;;;;;;;:::o;12144:524::-;;;12284:11;12271:25;12384:1;12378:4;12374:12;12363:8;12347:14;12343:29;12339:48;12319:18;12315:73;12305:2;;12402:1;12399;12392:12;12305:2;12437:18;12427:8;12423:33;12415:41;;12489:4;12476:18;12466:28;;12517:18;12509:6;12506:30;12503:2;;;12549:1;12546;12539:12;12503:2;12580;12574:4;12570:13;12562:21;;12637:4;12629:6;12625:17;12609:14;12605:38;12599:4;12595:49;12592:2;;;12657:1;12654;12647:12;12592:2;12235:433;;;;;;:::o;12674:278::-;;12740:2;12734:9;12724:19;;12782:4;12774:6;12770:17;12889:6;12877:10;12874:22;12853:18;12841:10;12838:34;12835:62;12832:2;;;12900:13;;:::i;:::-;12832:2;12935:10;12931:2;12924:22;12714:238;;;;:::o;12958:326::-;;13109:18;13101:6;13098:30;13095:2;;;13131:13;;:::i;:::-;13095:2;13211:4;13207:9;13200:4;13192:6;13188:17;13184:33;13176:41;;13272:4;13266;13262:15;13254:23;;13024:260;;;:::o;13290:327::-;;13442:18;13434:6;13431:30;13428:2;;;13464:13;;:::i;:::-;13428:2;13544:4;13540:9;13533:4;13525:6;13521:17;13517:33;13509:41;;13605:4;13599;13595:15;13587:23;;13357:260;;;:::o;13623:99::-;;13709:5;13703:12;13693:22;;13682:40;;;:::o;13728:169::-;;13846:6;13841:3;13834:19;13886:4;13881:3;13877:14;13862:29;;13824:73;;;;:::o;13903:148::-;;14042:3;14027:18;;14017:34;;;;:::o;14057:96::-;;14123:24;14141:5;14123:24;:::i;:::-;14112:35;;14102:51;;;:::o;14159:104::-;;14233:24;14251:5;14233:24;:::i;:::-;14222:35;;14212:51;;;:::o;14269:90::-;;14346:5;14339:13;14332:21;14321:32;;14311:48;;;:::o;14365:149::-;;14441:66;14434:5;14430:78;14419:89;;14409:105;;;:::o;14520:126::-;;14597:42;14590:5;14586:54;14575:65;;14565:81;;;:::o;14652:77::-;;14718:5;14707:16;;14697:32;;;:::o;14735:154::-;14819:6;14814:3;14809;14796:30;14881:1;14872:6;14867:3;14863:16;14856:27;14786:103;;;:::o;14895:307::-;14963:1;14973:113;14987:6;14984:1;14981:13;14973:113;;;15072:1;15067:3;15063:11;15057:18;15053:1;15048:3;15044:11;15037:39;15009:2;15006:1;15002:10;14997:15;;14973:113;;;15104:6;15101:1;15098:13;15095:2;;;15184:1;15175:6;15170:3;15166:16;15159:27;15095:2;14944:258;;;;:::o;15208:48::-;15241:9;15262:102;;15354:2;15350:7;15345:2;15338:5;15334:14;15330:28;15320:38;;15310:54;;;:::o;15370:122::-;15443:24;15461:5;15443:24;:::i;:::-;15436:5;15433:35;15423:2;;15482:1;15479;15472:12;15423:2;15413:79;:::o;15498:116::-;15568:21;15583:5;15568:21;:::i;:::-;15561:5;15558:32;15548:2;;15604:1;15601;15594:12;15548:2;15538:76;:::o;15620:120::-;15692:23;15709:5;15692:23;:::i;:::-;15685:5;15682:34;15672:2;;15730:1;15727;15720:12;15672:2;15662:78;:::o;15746:122::-;15819:24;15837:5;15819:24;:::i;:::-;15812:5;15809:35;15799:2;;15858:1;15855;15848:12;15799:2;15789:79;:::o", + "source": "// SPDX-License-Identifier: MIT\r\npragma solidity >=0.4.21 <0.8.0;\r\npragma abicoder v2;\r\n\r\n// import ERC721 iterface\r\nimport \"./ERC721.sol\";\r\n\r\n// BscBoys smart contract inherits ERC721 interface\r\ncontract BscBoys is ERC721 {\r\n\r\n // this contract's token collection name\r\n string public collectionName;\r\n // this contract's token symbol\r\n string public collectionNameSymbol;\r\n // total number of crypto boys minted\r\n uint256 public cryptoBoyCounter;\r\n\r\n // define crypto boy struct\r\n struct CryptoBoy {\r\n uint256 tokenId;\r\n string tokenName;\r\n string tokenURI;\r\n address payable mintedBy;\r\n address payable currentOwner;\r\n address payable previousOwner;\r\n uint256 price;\r\n uint256 numberOfTransfers;\r\n bool forSale;\r\n }\r\n\r\n // map cryptoboy's token id to crypto boy\r\n mapping(uint256 => CryptoBoy) public allBscBoys;\r\n // check if token name exists\r\n mapping(string => bool) public tokenNameExists;\r\n // check if color exists\r\n mapping(string => bool) public colorExists;\r\n // check if token URI exists\r\n mapping(string => bool) public tokenURIExists;\r\n\r\n // initialize contract while deployment with contract's collection name and token\r\n constructor() ERC721(\"Crypto Boys Collection\", \"CB\") {\r\n collectionName = name();\r\n collectionNameSymbol = symbol();\r\n }\r\n\r\n // mint a new crypto boy\r\n function mintCryptoBoy(string memory _name, string memory _tokenURI, uint256 _price, string[] calldata _colors) external {\r\n // check if thic fucntion caller is not an zero address account\r\n require(msg.sender != address(0));\r\n // increment counter\r\n cryptoBoyCounter ++;\r\n // check if a token exists with the above token id => incremented counter\r\n require(!_exists(cryptoBoyCounter));\r\n\r\n // loop through the colors passed and check if each colors already exists or not\r\n for(uint i=0; i<_colors.length; i++) {\r\n require(!colorExists[_colors[i]]);\r\n }\r\n // check if the token URI already exists or not\r\n require(!tokenURIExists[_tokenURI]);\r\n // check if the token name already exists or not\r\n require(!tokenNameExists[_name]);\r\n\r\n // mint the token\r\n _mint(msg.sender, cryptoBoyCounter);\r\n // set token URI (bind token id with the passed in token URI)\r\n _setTokenURI(cryptoBoyCounter, _tokenURI);\r\n\r\n // loop through the colors passed and make each of the colors as exists since the token is already minted\r\n for (uint i=0; i<_colors.length; i++) {\r\n colorExists[_colors[i]] = true;\r\n }\r\n // make passed token URI as exists\r\n tokenURIExists[_tokenURI] = true;\r\n // make token name passed as exists\r\n tokenNameExists[_name] = true;\r\n\r\n // creat a new crypto boy (struct) and pass in new values\r\n CryptoBoy memory newCryptoBoy = CryptoBoy(\r\n cryptoBoyCounter,\r\n _name,\r\n _tokenURI,\r\n msg.sender,\r\n msg.sender,\r\n address(0),\r\n _price,\r\n 0,\r\n true);\r\n // add the token id and it's crypto boy to all crypto boys mapping\r\n allBscBoys[cryptoBoyCounter] = newCryptoBoy;\r\n }\r\n\r\n // get owner of the token\r\n function getTokenOwner(uint256 _tokenId) public view returns(address) {\r\n address _tokenOwner = ownerOf(_tokenId);\r\n return _tokenOwner;\r\n }\r\n\r\n // get metadata of the token\r\n function getTokenMetaData(uint _tokenId) public view returns(string memory) {\r\n string memory tokenMetaData = tokenURI(_tokenId);\r\n return tokenMetaData;\r\n }\r\n\r\n // get total number of tokens minted so far\r\n function getNumberOfTokensMinted() public view returns(uint256) {\r\n uint256 totalNumberOfTokensMinted = totalSupply();\r\n return totalNumberOfTokensMinted;\r\n }\r\n\r\n // get total number of tokens owned by an address\r\n function getTotalNumberOfTokensOwnedByAnAddress(address _owner) public view returns(uint256) {\r\n uint256 totalNumberOfTokensOwned = balanceOf(_owner);\r\n return totalNumberOfTokensOwned;\r\n }\r\n\r\n // check if the token already exists\r\n function getTokenExists(uint256 _tokenId) public view returns(bool) {\r\n bool tokenExists = _exists(_tokenId);\r\n return tokenExists;\r\n }\r\n\r\n // by a token by passing in the token's id\r\n function buyToken(uint256 _tokenId) public payable {\r\n // check if the function caller is not an zero account address\r\n require(msg.sender != address(0));\r\n // check if the token id of the token being bought exists or not\r\n require(_exists(_tokenId));\r\n // get the token's owner\r\n address tokenOwner = ownerOf(_tokenId);\r\n // token's owner should not be an zero address account\r\n require(tokenOwner != address(0));\r\n // the one who wants to buy the token should not be the token's owner\r\n require(tokenOwner != msg.sender);\r\n // get that token from all crypto boys mapping and create a memory of it defined as (struct => CryptoBoy)\r\n CryptoBoy memory cryptoboy = allBscBoys[_tokenId];\r\n // price sent in to buy should be equal to or more than the token's price\r\n require(msg.value >= cryptoboy.price);\r\n // token should be for sale\r\n require(cryptoboy.forSale);\r\n // transfer the token from owner to the caller of the function (buyer)\r\n _transfer(tokenOwner, msg.sender, _tokenId);\r\n // get owner of the token\r\n address payable sendTo = cryptoboy.currentOwner;\r\n // send token's worth of ethers to the owner\r\n sendTo.transfer(msg.value);\r\n // update the token's previous owner\r\n cryptoboy.previousOwner = cryptoboy.currentOwner;\r\n // update the token's current owner\r\n cryptoboy.currentOwner = msg.sender;\r\n // update the how many times this token was transfered\r\n cryptoboy.numberOfTransfers += 1;\r\n // set and update that token in the mapping\r\n allBscBoys[_tokenId] = cryptoboy;\r\n }\r\n\r\n function changeTokenPrice(uint256 _tokenId, uint256 _newPrice) public {\r\n // require caller of the function is not an empty address\r\n require(msg.sender != address(0));\r\n // require that token should exist\r\n require(_exists(_tokenId));\r\n // get the token's owner\r\n address tokenOwner = ownerOf(_tokenId);\r\n // check that token's owner should be equal to the caller of the function\r\n require(tokenOwner == msg.sender);\r\n // get that token from all crypto boys mapping and create a memory of it defined as (struct => CryptoBoy)\r\n CryptoBoy memory cryptoboy = allBscBoys[_tokenId];\r\n // update token's price with new price\r\n cryptoboy.price = _newPrice;\r\n // set and update that token in the mapping\r\n allBscBoys[_tokenId] = cryptoboy;\r\n }\r\n\r\n // switch between set for sale and set not for sale\r\n function toggleForSale(uint256 _tokenId) public {\r\n // require caller of the function is not an empty address\r\n require(msg.sender != address(0));\r\n // require that token should exist\r\n require(_exists(_tokenId));\r\n // get the token's owner\r\n address tokenOwner = ownerOf(_tokenId);\r\n // check that token's owner should be equal to the caller of the function\r\n require(tokenOwner == msg.sender);\r\n // get that token from all crypto boys mapping and create a memory of it defined as (struct => CryptoBoy)\r\n CryptoBoy memory cryptoboy = allBscBoys[_tokenId];\r\n // if token's forSale is false make it true and vice versa\r\n if(cryptoboy.forSale) {\r\n cryptoboy.forSale = false;\r\n } else {\r\n cryptoboy.forSale = true;\r\n }\r\n // set and update that token in the mapping\r\n allBscBoys[_tokenId] = cryptoboy;\r\n }\r\n}", + "sourcePath": "C:\\Users\\Noahm\\BscBoys-nft-marketplace\\src\\contracts\\BscBoys.sol", "ast": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/CryptoBoys.sol", + "absolutePath": "project:/src/contracts/BscBoys.sol", "exportedSymbols": { "Address": [ 1430 @@ -10171,7 +10146,7 @@ "Context": [ 530 ], - "CryptoBoys": [ + "BscBoys": [ 507 ], "ERC165": [ @@ -10224,7 +10199,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "32:32:0" + "src": "33:32:0" }, { "id": 2, @@ -10233,16 +10208,16 @@ "v2" ], "nodeType": "PragmaDirective", - "src": "65:19:0" + "src": "67:19:0" }, { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "file": "./ERC721.sol", "id": 3, "nodeType": "ImportDirective", "scope": 508, "sourceUnit": 3499, - "src": "86:22:0", + "src": "117:22:0", "symbolAliases": [], "unitAlias": "" }, @@ -10255,7 +10230,7 @@ "name": "ERC721", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 3498, - "src": "133:6:0", + "src": "222:6:0", "typeDescriptions": { "typeIdentifier": "t_contract$_ERC721_$3498", "typeString": "contract ERC721" @@ -10263,7 +10238,7 @@ }, "id": 5, "nodeType": "InheritanceSpecifier", - "src": "133:6:0" + "src": "222:6:0" } ], "contractDependencies": [ @@ -10288,7 +10263,7 @@ 541, 530 ], - "name": "CryptoBoys", + "name": "BscBoys", "nodeType": "ContractDefinition", "nodes": [ { @@ -10299,7 +10274,7 @@ "name": "collectionName", "nodeType": "VariableDeclaration", "scope": 507, - "src": "145:28:0", + "src": "280:28:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -10310,7 +10285,7 @@ "id": 6, "name": "string", "nodeType": "ElementaryTypeName", - "src": "145:6:0", + "src": "280:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10326,7 +10301,7 @@ "name": "collectionNameSymbol", "nodeType": "VariableDeclaration", "scope": 507, - "src": "177:34:0", + "src": "348:34:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -10337,7 +10312,7 @@ "id": 8, "name": "string", "nodeType": "ElementaryTypeName", - "src": "177:6:0", + "src": "348:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10353,7 +10328,7 @@ "name": "cryptoBoyCounter", "nodeType": "VariableDeclaration", "scope": 507, - "src": "216:31:0", + "src": "428:31:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -10364,7 +10339,7 @@ "id": 10, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "216:7:0", + "src": "428:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10373,7 +10348,7 @@ "visibility": "public" }, { - "canonicalName": "CryptoBoys.CryptoBoy", + "canonicalName": "BscBoys.CryptoBoy", "id": 30, "members": [ { @@ -10383,7 +10358,7 @@ "name": "tokenId", "nodeType": "VariableDeclaration", "scope": 30, - "src": "276:15:0", + "src": "522:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10394,7 +10369,7 @@ "id": 12, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "276:7:0", + "src": "522:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10409,7 +10384,7 @@ "name": "tokenName", "nodeType": "VariableDeclaration", "scope": 30, - "src": "297:16:0", + "src": "544:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10420,7 +10395,7 @@ "id": 14, "name": "string", "nodeType": "ElementaryTypeName", - "src": "297:6:0", + "src": "544:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10435,7 +10410,7 @@ "name": "tokenURI", "nodeType": "VariableDeclaration", "scope": 30, - "src": "319:15:0", + "src": "567:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10446,7 +10421,7 @@ "id": 16, "name": "string", "nodeType": "ElementaryTypeName", - "src": "319:6:0", + "src": "567:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10461,7 +10436,7 @@ "name": "mintedBy", "nodeType": "VariableDeclaration", "scope": 30, - "src": "340:24:0", + "src": "589:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10472,7 +10447,7 @@ "id": 18, "name": "address", "nodeType": "ElementaryTypeName", - "src": "340:15:0", + "src": "589:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -10488,7 +10463,7 @@ "name": "currentOwner", "nodeType": "VariableDeclaration", "scope": 30, - "src": "370:28:0", + "src": "620:28:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10499,7 +10474,7 @@ "id": 20, "name": "address", "nodeType": "ElementaryTypeName", - "src": "370:15:0", + "src": "620:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -10515,7 +10490,7 @@ "name": "previousOwner", "nodeType": "VariableDeclaration", "scope": 30, - "src": "404:29:0", + "src": "655:29:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10526,7 +10501,7 @@ "id": 22, "name": "address", "nodeType": "ElementaryTypeName", - "src": "404:15:0", + "src": "655:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -10542,7 +10517,7 @@ "name": "price", "nodeType": "VariableDeclaration", "scope": 30, - "src": "439:13:0", + "src": "691:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10553,7 +10528,7 @@ "id": 24, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "439:7:0", + "src": "691:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10568,7 +10543,7 @@ "name": "numberOfTransfers", "nodeType": "VariableDeclaration", "scope": 30, - "src": "458:25:0", + "src": "711:25:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10579,7 +10554,7 @@ "id": 26, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "458:7:0", + "src": "711:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -10594,7 +10569,7 @@ "name": "forSale", "nodeType": "VariableDeclaration", "scope": 30, - "src": "489:12:0", + "src": "743:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10605,7 +10580,7 @@ "id": 28, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "489:4:0", + "src": "743:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10617,7 +10592,7 @@ "name": "CryptoBoy", "nodeType": "StructDefinition", "scope": 507, - "src": "253:253:0", + "src": "498:263:0", "visibility": "public" }, { @@ -10625,15 +10600,15 @@ "functionSelector": "44c0d7eb", "id": 34, "mutability": "mutable", - "name": "allCryptoBoys", + "name": "allBscBoys", "nodeType": "VariableDeclaration", "scope": 507, - "src": "510:50:0", + "src": "812:50:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CryptoBoy_$30_storage_$", - "typeString": "mapping(uint256 => struct CryptoBoys.CryptoBoy)" + "typeString": "mapping(uint256 => struct BscBoys.CryptoBoy)" }, "typeName": { "id": 33, @@ -10641,27 +10616,27 @@ "id": 31, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "518:7:0", + "src": "820:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "510:29:0", + "src": "812:29:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CryptoBoy_$30_storage_$", - "typeString": "mapping(uint256 => struct CryptoBoys.CryptoBoy)" + "typeString": "mapping(uint256 => struct BscBoys.CryptoBoy)" }, "valueType": { "id": 32, "name": "CryptoBoy", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 30, - "src": "529:9:0", + "src": "831:9:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_storage_ptr", - "typeString": "struct CryptoBoys.CryptoBoy" + "typeString": "struct BscBoys.CryptoBoy" } } }, @@ -10675,7 +10650,7 @@ "name": "tokenNameExists", "nodeType": "VariableDeclaration", "scope": 507, - "src": "565:46:0", + "src": "900:46:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -10688,14 +10663,14 @@ "id": 35, "name": "string", "nodeType": "ElementaryTypeName", - "src": "573:6:0", + "src": "908:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "nodeType": "Mapping", - "src": "565:23:0", + "src": "900:23:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_bool_$", "typeString": "mapping(string => bool)" @@ -10704,7 +10679,7 @@ "id": 36, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "583:4:0", + "src": "918:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10721,7 +10696,7 @@ "name": "colorExists", "nodeType": "VariableDeclaration", "scope": 507, - "src": "615:42:0", + "src": "979:42:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -10734,14 +10709,14 @@ "id": 39, "name": "string", "nodeType": "ElementaryTypeName", - "src": "623:6:0", + "src": "987:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "nodeType": "Mapping", - "src": "615:23:0", + "src": "979:23:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_bool_$", "typeString": "mapping(string => bool)" @@ -10750,7 +10725,7 @@ "id": 40, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "633:4:0", + "src": "997:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10767,7 +10742,7 @@ "name": "tokenURIExists", "nodeType": "VariableDeclaration", "scope": 507, - "src": "661:45:0", + "src": "1058:45:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -10780,14 +10755,14 @@ "id": 43, "name": "string", "nodeType": "ElementaryTypeName", - "src": "669:6:0", + "src": "1066:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" } }, "nodeType": "Mapping", - "src": "661:23:0", + "src": "1058:23:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_bool_$", "typeString": "mapping(string => bool)" @@ -10796,7 +10771,7 @@ "id": 44, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "679:4:0", + "src": "1076:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10809,7 +10784,7 @@ "body": { "id": 63, "nodeType": "Block", - "src": "764:71:0", + "src": "1248:74:0", "statements": [ { "expression": { @@ -10824,7 +10799,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 7, - "src": "770:14:0", + "src": "1255:14:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -10841,7 +10816,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 2712, - "src": "787:4:0", + "src": "1272:4:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_string_memory_ptr_$", "typeString": "function () view returns (string memory)" @@ -10855,14 +10830,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "787:6:0", + "src": "1272:6:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "770:23:0", + "src": "1255:23:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -10870,7 +10845,7 @@ }, "id": 57, "nodeType": "ExpressionStatement", - "src": "770:23:0" + "src": "1255:23:0" }, { "expression": { @@ -10885,7 +10860,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 9, - "src": "799:20:0", + "src": "1285:20:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -10902,7 +10877,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 2722, - "src": "822:6:0", + "src": "1308:6:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_string_memory_ptr_$", "typeString": "function () view returns (string memory)" @@ -10916,14 +10891,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "822:8:0", + "src": "1308:8:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "799:31:0", + "src": "1285:31:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -10931,7 +10906,7 @@ }, "id": 62, "nodeType": "ExpressionStatement", - "src": "799:31:0" + "src": "1285:31:0" } ] }, @@ -10950,7 +10925,7 @@ "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "732:24:0", + "src": "1216:24:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_6bd21d47952e87bf4ed68a38f30d9f592bb6ca944d7da76f649278092ff2a419", "typeString": "literal_string \"Crypto Boys Collection\"" @@ -10966,7 +10941,7 @@ "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "758:4:0", + "src": "1242:4:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_f95006aa3663cc8e3bd582fbf39ac42bd1b3e00e434f5d3ba4fe374b8527d29c", "typeString": "literal_string \"CB\"" @@ -10981,14 +10956,14 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3498, - "src": "725:6:0", + "src": "1209:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", "typeString": "type(contract ERC721)" } }, "nodeType": "ModifierInvocation", - "src": "725:38:0" + "src": "1209:38:0" } ], "name": "", @@ -10997,16 +10972,16 @@ "id": 47, "nodeType": "ParameterList", "parameters": [], - "src": "722:2:0" + "src": "1206:2:0" }, "returnParameters": { "id": 52, "nodeType": "ParameterList", "parameters": [], - "src": "764:0:0" + "src": "1248:0:0" }, "scope": 507, - "src": "711:124:0", + "src": "1195:127:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -11015,7 +10990,7 @@ "body": { "id": 201, "nodeType": "Block", - "src": "960:758:0", + "src": "1477:1572:0", "statements": [ { "expression": { @@ -11037,7 +11012,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "975:3:0", + "src": "1561:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" @@ -11050,7 +11025,7 @@ "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "975:10:0", + "src": "1561:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -11069,7 +11044,7 @@ "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "997:1:0", + "src": "1583:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -11090,7 +11065,7 @@ "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "989:7:0", + "src": "1575:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" @@ -11099,7 +11074,7 @@ "id": 79, "name": "address", "nodeType": "ElementaryTypeName", - "src": "989:7:0", + "src": "1575:7:0", "typeDescriptions": {} } }, @@ -11111,14 +11086,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "989:10:0", + "src": "1575:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "975:24:0", + "src": "1561:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11140,7 +11115,7 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "967:7:0", + "src": "1553:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" @@ -11154,7 +11129,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "967:33:0", + "src": "1553:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", @@ -11163,7 +11138,7 @@ }, "id": 85, "nodeType": "ExpressionStatement", - "src": "967:33:0" + "src": "1553:33:0" }, { "expression": { @@ -11175,14 +11150,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "1006:19:0", + "src": "1619:19:0", "subExpression": { "id": 86, "name": "cryptoBoyCounter", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, - "src": "1006:16:0", + "src": "1619:16:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11195,7 +11170,7 @@ }, "id": 88, "nodeType": "ExpressionStatement", - "src": "1006:19:0" + "src": "1619:19:0" }, { "expression": { @@ -11209,7 +11184,7 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "1039:26:0", + "src": "1732:26:0", "subExpression": { "arguments": [ { @@ -11218,7 +11193,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, - "src": "1048:16:0", + "src": "1741:16:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11237,7 +11212,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3085, - "src": "1040:7:0", + "src": "1733:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" @@ -11251,7 +11226,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1040:25:0", + "src": "1733:25:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -11279,7 +11254,7 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "1031:7:0", + "src": "1724:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" @@ -11293,7 +11268,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1031:35:0", + "src": "1724:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", @@ -11302,13 +11277,13 @@ }, "id": 95, "nodeType": "ExpressionStatement", - "src": "1031:35:0" + "src": "1724:35:0" }, { "body": { "id": 116, "nodeType": "Block", - "src": "1110:48:0", + "src": "1891:50:0", "statements": [ { "expression": { @@ -11322,7 +11297,7 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "1126:24:0", + "src": "1908:24:0", "subExpression": { "baseExpression": { "id": 108, @@ -11330,7 +11305,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 42, - "src": "1127:11:0", + "src": "1909:11:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_bool_$", "typeString": "mapping(string memory => bool)" @@ -11344,7 +11319,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 73, - "src": "1139:7:0", + "src": "1921:7:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", "typeString": "string calldata[] calldata" @@ -11357,7 +11332,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 97, - "src": "1147:1:0", + "src": "1929:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11368,7 +11343,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1139:10:0", + "src": "1921:10:0", "typeDescriptions": { "typeIdentifier": "t_string_calldata_ptr", "typeString": "string calldata" @@ -11379,7 +11354,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1127:23:0", + "src": "1909:23:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11406,7 +11381,7 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "1118:7:0", + "src": "1900:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" @@ -11420,7 +11395,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1118:33:0", + "src": "1900:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", @@ -11429,7 +11404,7 @@ }, "id": 115, "nodeType": "ExpressionStatement", - "src": "1118:33:0" + "src": "1900:33:0" } ] }, @@ -11449,7 +11424,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 97, - "src": "1087:1:0", + "src": "1868:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11464,7 +11439,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 73, - "src": "1089:7:0", + "src": "1870:7:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", "typeString": "string calldata[] calldata" @@ -11477,13 +11452,13 @@ "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "1089:14:0", + "src": "1870:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1087:16:0", + "src": "1868:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11502,7 +11477,7 @@ "name": "i", "nodeType": "VariableDeclaration", "scope": 117, - "src": "1077:6:0", + "src": "1858:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11513,7 +11488,7 @@ "id": 96, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1077:4:0", + "src": "1858:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11532,7 +11507,7 @@ "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1084:1:0", + "src": "1865:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -11540,7 +11515,7 @@ "value": "0" }, "nodeType": "VariableDeclarationStatement", - "src": "1077:8:0" + "src": "1858:8:0" }, "loopExpression": { "expression": { @@ -11552,14 +11527,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "1105:3:0", + "src": "1886:3:0", "subExpression": { "id": 104, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 97, - "src": "1105:1:0", + "src": "1886:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11572,10 +11547,10 @@ }, "id": 106, "nodeType": "ExpressionStatement", - "src": "1105:3:0" + "src": "1886:3:0" }, "nodeType": "ForStatement", - "src": "1073:85:0" + "src": "1854:87:0" }, { "expression": { @@ -11589,7 +11564,7 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "1171:26:0", + "src": "2008:26:0", "subExpression": { "baseExpression": { "id": 119, @@ -11597,7 +11572,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 46, - "src": "1172:14:0", + "src": "2009:14:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_bool_$", "typeString": "mapping(string memory => bool)" @@ -11610,7 +11585,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 68, - "src": "1187:9:0", + "src": "2024:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -11621,7 +11596,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1172:25:0", + "src": "2009:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11648,7 +11623,7 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "1163:7:0", + "src": "2000:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" @@ -11662,7 +11637,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1163:35:0", + "src": "2000:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", @@ -11671,7 +11646,7 @@ }, "id": 124, "nodeType": "ExpressionStatement", - "src": "1163:35:0" + "src": "2000:35:0" }, { "expression": { @@ -11685,7 +11660,7 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "1212:23:0", + "src": "2104:23:0", "subExpression": { "baseExpression": { "id": 126, @@ -11693,7 +11668,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 38, - "src": "1213:15:0", + "src": "2105:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_bool_$", "typeString": "mapping(string memory => bool)" @@ -11706,7 +11681,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 66, - "src": "1229:5:0", + "src": "2121:5:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -11717,7 +11692,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1213:22:0", + "src": "2105:22:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11744,7 +11719,7 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "1204:7:0", + "src": "2096:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" @@ -11758,7 +11733,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1204:32:0", + "src": "2096:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", @@ -11767,7 +11742,7 @@ }, "id": 131, "nodeType": "ExpressionStatement", - "src": "1204:32:0" + "src": "2096:32:0" }, { "expression": { @@ -11779,7 +11754,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "1249:3:0", + "src": "2166:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" @@ -11792,7 +11767,7 @@ "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "1249:10:0", + "src": "2166:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -11804,7 +11779,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, - "src": "1261:16:0", + "src": "2178:16:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11827,7 +11802,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3230, - "src": "1243:5:0", + "src": "2160:5:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" @@ -11841,7 +11816,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1243:35:0", + "src": "2160:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", @@ -11850,7 +11825,7 @@ }, "id": 137, "nodeType": "ExpressionStatement", - "src": "1243:35:0" + "src": "2160:35:0" }, { "expression": { @@ -11861,7 +11836,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, - "src": "1297:16:0", + "src": "2282:16:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11873,7 +11848,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 68, - "src": "1315:9:0", + "src": "2300:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -11896,7 +11871,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3393, - "src": "1284:12:0", + "src": "2269:12:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_string_memory_ptr_$returns$__$", "typeString": "function (uint256,string memory)" @@ -11910,7 +11885,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1284:41:0", + "src": "2269:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", @@ -11919,13 +11894,13 @@ }, "id": 142, "nodeType": "ExpressionStatement", - "src": "1284:41:0" + "src": "2269:41:0" }, { "body": { "id": 162, "nodeType": "Block", - "src": "1370:45:0", + "src": "2468:47:0", "statements": [ { "expression": { @@ -11941,7 +11916,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 42, - "src": "1378:11:0", + "src": "2477:11:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_bool_$", "typeString": "mapping(string memory => bool)" @@ -11955,7 +11930,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 73, - "src": "1390:7:0", + "src": "2489:7:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", "typeString": "string calldata[] calldata" @@ -11968,7 +11943,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 144, - "src": "1398:1:0", + "src": "2497:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11979,7 +11954,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "1390:10:0", + "src": "2489:10:0", "typeDescriptions": { "typeIdentifier": "t_string_calldata_ptr", "typeString": "string calldata" @@ -11990,7 +11965,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "1378:23:0", + "src": "2477:23:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12007,14 +11982,14 @@ "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "1404:4:0", + "src": "2503:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "1378:30:0", + "src": "2477:30:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12022,7 +11997,7 @@ }, "id": 161, "nodeType": "ExpressionStatement", - "src": "1378:30:0" + "src": "2477:30:0" } ] }, @@ -12042,7 +12017,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 144, - "src": "1347:1:0", + "src": "2445:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12057,7 +12032,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 73, - "src": "1349:7:0", + "src": "2447:7:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", "typeString": "string calldata[] calldata" @@ -12070,13 +12045,13 @@ "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "1349:14:0", + "src": "2447:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "1347:16:0", + "src": "2445:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12095,7 +12070,7 @@ "name": "i", "nodeType": "VariableDeclaration", "scope": 163, - "src": "1337:6:0", + "src": "2435:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12106,7 +12081,7 @@ "id": 143, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1337:4:0", + "src": "2435:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12125,7 +12100,7 @@ "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1344:1:0", + "src": "2442:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -12133,7 +12108,7 @@ "value": "0" }, "nodeType": "VariableDeclarationStatement", - "src": "1337:8:0" + "src": "2435:8:0" }, "loopExpression": { "expression": { @@ -12145,14 +12120,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "1365:3:0", + "src": "2463:3:0", "subExpression": { "id": 151, "name": "i", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 144, - "src": "1365:1:0", + "src": "2463:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12165,10 +12140,10 @@ }, "id": 153, "nodeType": "ExpressionStatement", - "src": "1365:3:0" + "src": "2463:3:0" }, "nodeType": "ForStatement", - "src": "1332:83:0" + "src": "2430:85:0" }, { "expression": { @@ -12184,7 +12159,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 46, - "src": "1420:14:0", + "src": "2561:14:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_bool_$", "typeString": "mapping(string memory => bool)" @@ -12197,7 +12172,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 68, - "src": "1435:9:0", + "src": "2576:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -12208,7 +12183,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "1420:25:0", + "src": "2561:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12225,14 +12200,14 @@ "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "1448:4:0", + "src": "2589:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "1420:32:0", + "src": "2561:32:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12240,7 +12215,7 @@ }, "id": 169, "nodeType": "ExpressionStatement", - "src": "1420:32:0" + "src": "2561:32:0" }, { "expression": { @@ -12256,7 +12231,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 38, - "src": "1458:15:0", + "src": "2641:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_bool_$", "typeString": "mapping(string memory => bool)" @@ -12269,7 +12244,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 66, - "src": "1474:5:0", + "src": "2657:5:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -12280,7 +12255,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "1458:22:0", + "src": "2641:22:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12297,14 +12272,14 @@ "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "1483:4:0", + "src": "2666:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "1458:29:0", + "src": "2641:29:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12312,7 +12287,7 @@ }, "id": 175, "nodeType": "ExpressionStatement", - "src": "1458:29:0" + "src": "2641:29:0" }, { "assignments": [ @@ -12326,22 +12301,22 @@ "name": "newCryptoBoy", "nodeType": "VariableDeclaration", "scope": 201, - "src": "1494:29:0", + "src": "2742:29:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_memory_ptr", - "typeString": "struct CryptoBoys.CryptoBoy" + "typeString": "struct BscBoys.CryptoBoy" }, "typeName": { "id": 176, "name": "CryptoBoy", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 30, - "src": "1494:9:0", + "src": "2742:9:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_storage_ptr", - "typeString": "struct CryptoBoys.CryptoBoy" + "typeString": "struct BscBoys.CryptoBoy" } }, "visibility": "internal" @@ -12356,7 +12331,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, - "src": "1541:16:0", + "src": "2790:16:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12368,7 +12343,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 66, - "src": "1563:5:0", + "src": "2813:5:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -12380,7 +12355,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 68, - "src": "1574:9:0", + "src": "2825:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -12393,7 +12368,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "1589:3:0", + "src": "2841:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" @@ -12406,7 +12381,7 @@ "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "1589:10:0", + "src": "2841:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -12419,7 +12394,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "1605:3:0", + "src": "2858:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" @@ -12432,7 +12407,7 @@ "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "1605:10:0", + "src": "2858:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -12449,7 +12424,7 @@ "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1629:1:0", + "src": "2883:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -12470,7 +12445,7 @@ "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "1621:7:0", + "src": "2875:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" @@ -12479,7 +12454,7 @@ "id": 186, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1621:7:0", + "src": "2875:7:0", "typeDescriptions": {} } }, @@ -12491,7 +12466,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1621:10:0", + "src": "2875:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -12504,7 +12479,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 70, - "src": "1637:6:0", + "src": "2892:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12519,7 +12494,7 @@ "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "1649:1:0", + "src": "2905:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -12535,7 +12510,7 @@ "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "1656:4:0", + "src": "2913:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12587,10 +12562,10 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 30, - "src": "1526:9:0", + "src": "2774:9:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_struct$_CryptoBoy_$30_storage_ptr_$", - "typeString": "type(struct CryptoBoys.CryptoBoy storage pointer)" + "typeString": "type(struct BscBoys.CryptoBoy storage pointer)" } }, "id": 193, @@ -12601,15 +12576,15 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1526:135:0", + "src": "2774:144:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_memory_ptr", - "typeString": "struct CryptoBoys.CryptoBoy memory" + "typeString": "struct BscBoys.CryptoBoy memory" } }, "nodeType": "VariableDeclarationStatement", - "src": "1494:167:0" + "src": "2742:176:0" }, { "expression": { @@ -12621,14 +12596,14 @@ "leftHandSide": { "baseExpression": { "id": 195, - "name": "allCryptoBoys", + "name": "allBscBoys", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 34, - "src": "1667:13:0", + "src": "2997:13:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CryptoBoy_$30_storage_$", - "typeString": "mapping(uint256 => struct CryptoBoys.CryptoBoy storage ref)" + "typeString": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)" } }, "id": 197, @@ -12638,7 +12613,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 11, - "src": "1681:16:0", + "src": "3011:16:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12649,10 +12624,10 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "1667:31:0", + "src": "2997:31:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_storage", - "typeString": "struct CryptoBoys.CryptoBoy storage ref" + "typeString": "struct BscBoys.CryptoBoy storage ref" } }, "nodeType": "Assignment", @@ -12663,21 +12638,21 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 177, - "src": "1701:12:0", + "src": "3031:12:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_memory_ptr", - "typeString": "struct CryptoBoys.CryptoBoy memory" + "typeString": "struct BscBoys.CryptoBoy memory" } }, - "src": "1667:46:0", + "src": "2997:46:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_storage", - "typeString": "struct CryptoBoys.CryptoBoy storage ref" + "typeString": "struct BscBoys.CryptoBoy storage ref" } }, "id": 200, "nodeType": "ExpressionStatement", - "src": "1667:46:0" + "src": "2997:46:0" } ] }, @@ -12699,7 +12674,7 @@ "name": "_name", "nodeType": "VariableDeclaration", "scope": 202, - "src": "862:19:0", + "src": "1379:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -12710,7 +12685,7 @@ "id": 65, "name": "string", "nodeType": "ElementaryTypeName", - "src": "862:6:0", + "src": "1379:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -12725,7 +12700,7 @@ "name": "_tokenURI", "nodeType": "VariableDeclaration", "scope": 202, - "src": "883:23:0", + "src": "1400:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -12736,7 +12711,7 @@ "id": 67, "name": "string", "nodeType": "ElementaryTypeName", - "src": "883:6:0", + "src": "1400:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -12751,7 +12726,7 @@ "name": "_price", "nodeType": "VariableDeclaration", "scope": 202, - "src": "908:14:0", + "src": "1425:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12762,7 +12737,7 @@ "id": 69, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "908:7:0", + "src": "1425:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12777,7 +12752,7 @@ "name": "_colors", "nodeType": "VariableDeclaration", "scope": 202, - "src": "924:25:0", + "src": "1441:25:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -12789,7 +12764,7 @@ "id": 71, "name": "string", "nodeType": "ElementaryTypeName", - "src": "924:6:0", + "src": "1441:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -12797,7 +12772,7 @@ }, "id": 72, "nodeType": "ArrayTypeName", - "src": "924:8:0", + "src": "1441:8:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", "typeString": "string[]" @@ -12806,16 +12781,16 @@ "visibility": "internal" } ], - "src": "861:89:0" + "src": "1378:89:0" }, "returnParameters": { "id": 75, "nodeType": "ParameterList", "parameters": [], - "src": "960:0:0" + "src": "1477:0:0" }, "scope": 507, - "src": "839:879:0", + "src": "1356:1693:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -12824,7 +12799,7 @@ "body": { "id": 217, "nodeType": "Block", - "src": "1792:74:0", + "src": "3154:77:0", "statements": [ { "assignments": [ @@ -12838,7 +12813,7 @@ "name": "_tokenOwner", "nodeType": "VariableDeclaration", "scope": 217, - "src": "1798:19:0", + "src": "3161:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12849,7 +12824,7 @@ "id": 209, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1798:7:0", + "src": "3161:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -12868,7 +12843,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 204, - "src": "1828:8:0", + "src": "3191:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12887,7 +12862,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 2702, - "src": "1820:7:0", + "src": "3183:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" @@ -12901,7 +12876,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1820:17:0", + "src": "3183:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -12909,7 +12884,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "1798:39:0" + "src": "3161:39:0" }, { "expression": { @@ -12918,7 +12893,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 210, - "src": "1850:11:0", + "src": "3214:11:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -12927,7 +12902,7 @@ "functionReturnParameters": 208, "id": 216, "nodeType": "Return", - "src": "1843:18:0" + "src": "3207:18:0" } ] }, @@ -12949,7 +12924,7 @@ "name": "_tokenId", "nodeType": "VariableDeclaration", "scope": 218, - "src": "1745:16:0", + "src": "3107:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12960,7 +12935,7 @@ "id": 203, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "1745:7:0", + "src": "3107:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12969,7 +12944,7 @@ "visibility": "internal" } ], - "src": "1744:18:0" + "src": "3106:18:0" }, "returnParameters": { "id": 208, @@ -12982,7 +12957,7 @@ "name": "", "nodeType": "VariableDeclaration", "scope": 218, - "src": "1783:7:0", + "src": "3145:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12993,7 +12968,7 @@ "id": 206, "name": "address", "nodeType": "ElementaryTypeName", - "src": "1783:7:0", + "src": "3145:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -13003,10 +12978,10 @@ "visibility": "internal" } ], - "src": "1782:9:0" + "src": "3144:9:0" }, "scope": 507, - "src": "1722:144:0", + "src": "3084:147:0", "stateMutability": "view", "virtual": false, "visibility": "public" @@ -13015,7 +12990,7 @@ "body": { "id": 233, "nodeType": "Block", - "src": "1946:85:0", + "src": "3345:88:0", "statements": [ { "assignments": [ @@ -13029,7 +13004,7 @@ "name": "tokenMetaData", "nodeType": "VariableDeclaration", "scope": 233, - "src": "1952:27:0", + "src": "3352:27:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -13040,7 +13015,7 @@ "id": 225, "name": "string", "nodeType": "ElementaryTypeName", - "src": "1952:6:0", + "src": "3352:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -13058,7 +13033,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 220, - "src": "1991:8:0", + "src": "3391:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13077,7 +13052,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 2790, - "src": "1982:8:0", + "src": "3382:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_string_memory_ptr_$", "typeString": "function (uint256) view returns (string memory)" @@ -13091,7 +13066,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "1982:18:0", + "src": "3382:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -13099,7 +13074,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "1952:48:0" + "src": "3352:48:0" }, { "expression": { @@ -13108,7 +13083,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 226, - "src": "2013:13:0", + "src": "3414:13:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -13117,7 +13092,7 @@ "functionReturnParameters": 224, "id": 232, "nodeType": "Return", - "src": "2006:20:0" + "src": "3407:20:0" } ] }, @@ -13139,7 +13114,7 @@ "name": "_tokenId", "nodeType": "VariableDeclaration", "scope": 234, - "src": "1896:13:0", + "src": "3295:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13150,7 +13125,7 @@ "id": 219, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "1896:4:0", + "src": "3295:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13159,7 +13134,7 @@ "visibility": "internal" } ], - "src": "1895:15:0" + "src": "3294:15:0" }, "returnParameters": { "id": 224, @@ -13172,7 +13147,7 @@ "name": "", "nodeType": "VariableDeclaration", "scope": 234, - "src": "1931:13:0", + "src": "3330:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -13183,7 +13158,7 @@ "id": 222, "name": "string", "nodeType": "ElementaryTypeName", - "src": "1931:6:0", + "src": "3330:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -13192,10 +13167,10 @@ "visibility": "internal" } ], - "src": "1930:15:0" + "src": "3329:15:0" }, "scope": 507, - "src": "1870:161:0", + "src": "3269:164:0", "stateMutability": "view", "virtual": false, "visibility": "public" @@ -13204,7 +13179,7 @@ "body": { "id": 246, "nodeType": "Block", - "src": "2099:98:0", + "src": "3550:101:0", "statements": [ { "assignments": [ @@ -13218,7 +13193,7 @@ "name": "totalNumberOfTokensMinted", "nodeType": "VariableDeclaration", "scope": 246, - "src": "2105:33:0", + "src": "3557:33:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13229,7 +13204,7 @@ "id": 239, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2105:7:0", + "src": "3557:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13248,7 +13223,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 2830, - "src": "2141:11:0", + "src": "3593:11:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", "typeString": "function () view returns (uint256)" @@ -13262,7 +13237,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2141:13:0", + "src": "3593:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13270,7 +13245,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "2105:49:0" + "src": "3557:49:0" }, { "expression": { @@ -13279,7 +13254,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 240, - "src": "2167:25:0", + "src": "3620:25:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13288,7 +13263,7 @@ "functionReturnParameters": 238, "id": 245, "nodeType": "Return", - "src": "2160:32:0" + "src": "3613:32:0" } ] }, @@ -13303,7 +13278,7 @@ "id": 235, "nodeType": "ParameterList", "parameters": [], - "src": "2067:2:0" + "src": "3518:2:0" }, "returnParameters": { "id": 238, @@ -13316,7 +13291,7 @@ "name": "", "nodeType": "VariableDeclaration", "scope": 247, - "src": "2090:7:0", + "src": "3541:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13327,7 +13302,7 @@ "id": 236, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2090:7:0", + "src": "3541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13336,10 +13311,10 @@ "visibility": "internal" } ], - "src": "2089:9:0" + "src": "3540:9:0" }, "scope": 507, - "src": "2035:162:0", + "src": "3486:165:0", "stateMutability": "view", "virtual": false, "visibility": "public" @@ -13348,7 +13323,7 @@ "body": { "id": 262, "nodeType": "Block", - "src": "2294:100:0", + "src": "3803:103:0", "statements": [ { "assignments": [ @@ -13362,7 +13337,7 @@ "name": "totalNumberOfTokensOwned", "nodeType": "VariableDeclaration", "scope": 262, - "src": "2300:32:0", + "src": "3810:32:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13373,7 +13348,7 @@ "id": 254, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2300:7:0", + "src": "3810:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13391,7 +13366,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 249, - "src": "2345:6:0", + "src": "3855:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -13410,7 +13385,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 2686, - "src": "2335:9:0", + "src": "3845:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_uint256_$", "typeString": "function (address) view returns (uint256)" @@ -13424,7 +13399,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2335:17:0", + "src": "3845:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -13432,7 +13407,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "2300:52:0" + "src": "3810:52:0" }, { "expression": { @@ -13441,7 +13416,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 255, - "src": "2365:24:0", + "src": "3876:24:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13450,7 +13425,7 @@ "functionReturnParameters": 253, "id": 261, "nodeType": "Return", - "src": "2358:31:0" + "src": "3869:31:0" } ] }, @@ -13472,7 +13447,7 @@ "name": "_owner", "nodeType": "VariableDeclaration", "scope": 263, - "src": "2249:14:0", + "src": "3758:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13483,7 +13458,7 @@ "id": 248, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2249:7:0", + "src": "3758:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -13493,7 +13468,7 @@ "visibility": "internal" } ], - "src": "2248:16:0" + "src": "3757:16:0" }, "returnParameters": { "id": 253, @@ -13506,7 +13481,7 @@ "name": "", "nodeType": "VariableDeclaration", "scope": 263, - "src": "2285:7:0", + "src": "3794:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13517,7 +13492,7 @@ "id": 251, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2285:7:0", + "src": "3794:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13526,10 +13501,10 @@ "visibility": "internal" } ], - "src": "2284:9:0" + "src": "3793:9:0" }, "scope": 507, - "src": "2201:193:0", + "src": "3710:196:0", "stateMutability": "view", "virtual": false, "visibility": "public" @@ -13538,7 +13513,7 @@ "body": { "id": 278, "nodeType": "Block", - "src": "2466:71:0", + "src": "4020:74:0", "statements": [ { "assignments": [ @@ -13552,7 +13527,7 @@ "name": "tokenExists", "nodeType": "VariableDeclaration", "scope": 278, - "src": "2472:16:0", + "src": "4027:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13563,7 +13538,7 @@ "id": 270, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2472:4:0", + "src": "4027:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13581,7 +13556,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 265, - "src": "2499:8:0", + "src": "4054:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13600,7 +13575,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3085, - "src": "2491:7:0", + "src": "4046:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" @@ -13614,7 +13589,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2491:17:0", + "src": "4046:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -13622,7 +13597,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "2472:36:0" + "src": "4027:36:0" }, { "expression": { @@ -13631,7 +13606,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 271, - "src": "2521:11:0", + "src": "4077:11:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13640,7 +13615,7 @@ "functionReturnParameters": 269, "id": 277, "nodeType": "Return", - "src": "2514:18:0" + "src": "4070:18:0" } ] }, @@ -13662,7 +13637,7 @@ "name": "_tokenId", "nodeType": "VariableDeclaration", "scope": 279, - "src": "2422:16:0", + "src": "3976:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13673,7 +13648,7 @@ "id": 264, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2422:7:0", + "src": "3976:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13682,7 +13657,7 @@ "visibility": "internal" } ], - "src": "2421:18:0" + "src": "3975:18:0" }, "returnParameters": { "id": 269, @@ -13695,7 +13670,7 @@ "name": "", "nodeType": "VariableDeclaration", "scope": 279, - "src": "2460:4:0", + "src": "4014:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13706,7 +13681,7 @@ "id": 267, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2460:4:0", + "src": "4014:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13715,10 +13690,10 @@ "visibility": "internal" } ], - "src": "2459:6:0" + "src": "4013:6:0" }, "scope": 507, - "src": "2398:139:0", + "src": "3952:142:0", "stateMutability": "view", "virtual": false, "visibility": "public" @@ -13727,7 +13702,7 @@ "body": { "id": 386, "nodeType": "Block", - "src": "2592:639:0", + "src": "4197:1530:0", "statements": [ { "expression": { @@ -13749,7 +13724,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "2606:3:0", + "src": "4280:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" @@ -13762,7 +13737,7 @@ "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "2606:10:0", + "src": "4280:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -13781,7 +13756,7 @@ "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2628:1:0", + "src": "4302:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -13802,7 +13777,7 @@ "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "2620:7:0", + "src": "4294:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" @@ -13811,7 +13786,7 @@ "id": 287, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2620:7:0", + "src": "4294:7:0", "typeDescriptions": {} } }, @@ -13823,14 +13798,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2620:10:0", + "src": "4294:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "2606:24:0", + "src": "4280:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13852,7 +13827,7 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "2598:7:0", + "src": "4272:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" @@ -13866,7 +13841,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2598:33:0", + "src": "4272:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", @@ -13875,7 +13850,7 @@ }, "id": 293, "nodeType": "ExpressionStatement", - "src": "2598:33:0" + "src": "4272:33:0" }, { "expression": { @@ -13888,7 +13863,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 281, - "src": "2653:8:0", + "src": "4398:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13907,7 +13882,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3085, - "src": "2645:7:0", + "src": "4390:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" @@ -13921,7 +13896,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2645:17:0", + "src": "4390:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -13944,7 +13919,7 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "2637:7:0", + "src": "4382:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" @@ -13958,7 +13933,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2637:26:0", + "src": "4382:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", @@ -13967,7 +13942,7 @@ }, "id": 299, "nodeType": "ExpressionStatement", - "src": "2637:26:0" + "src": "4382:26:0" }, { "assignments": [ @@ -13981,7 +13956,7 @@ "name": "tokenOwner", "nodeType": "VariableDeclaration", "scope": 386, - "src": "2669:18:0", + "src": "4445:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13992,7 +13967,7 @@ "id": 300, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2669:7:0", + "src": "4445:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -14011,7 +13986,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 281, - "src": "2698:8:0", + "src": "4474:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14030,7 +14005,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 2702, - "src": "2690:7:0", + "src": "4466:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" @@ -14044,7 +14019,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2690:17:0", + "src": "4466:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -14052,7 +14027,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "2669:38:0" + "src": "4445:38:0" }, { "expression": { @@ -14073,7 +14048,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 301, - "src": "2721:10:0", + "src": "4558:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14092,7 +14067,7 @@ "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "2743:1:0", + "src": "4580:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -14113,7 +14088,7 @@ "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "2735:7:0", + "src": "4572:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" @@ -14122,7 +14097,7 @@ "id": 308, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2735:7:0", + "src": "4572:7:0", "typeDescriptions": {} } }, @@ -14134,14 +14109,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2735:10:0", + "src": "4572:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "2721:24:0", + "src": "4558:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14163,7 +14138,7 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "2713:7:0", + "src": "4550:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" @@ -14177,7 +14152,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2713:33:0", + "src": "4550:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", @@ -14186,7 +14161,7 @@ }, "id": 314, "nodeType": "ExpressionStatement", - "src": "2713:33:0" + "src": "4550:33:0" }, { "expression": { @@ -14207,7 +14182,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 301, - "src": "2760:10:0", + "src": "4673:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14222,7 +14197,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "2774:3:0", + "src": "4687:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" @@ -14235,13 +14210,13 @@ "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "2774:10:0", + "src": "4687:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "2760:24:0", + "src": "4673:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14263,7 +14238,7 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "2752:7:0", + "src": "4665:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" @@ -14277,7 +14252,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2752:33:0", + "src": "4665:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", @@ -14286,7 +14261,7 @@ }, "id": 321, "nodeType": "ExpressionStatement", - "src": "2752:33:0" + "src": "4665:33:0" }, { "assignments": [ @@ -14300,22 +14275,22 @@ "name": "cryptoboy", "nodeType": "VariableDeclaration", "scope": 386, - "src": "2791:26:0", + "src": "4816:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_memory_ptr", - "typeString": "struct CryptoBoys.CryptoBoy" + "typeString": "struct BscBoys.CryptoBoy" }, "typeName": { "id": 322, "name": "CryptoBoy", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 30, - "src": "2791:9:0", + "src": "4816:9:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_storage_ptr", - "typeString": "struct CryptoBoys.CryptoBoy" + "typeString": "struct BscBoys.CryptoBoy" } }, "visibility": "internal" @@ -14325,14 +14300,14 @@ "initialValue": { "baseExpression": { "id": 324, - "name": "allCryptoBoys", + "name": "allBscBoys", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 34, - "src": "2820:13:0", + "src": "4845:13:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CryptoBoy_$30_storage_$", - "typeString": "mapping(uint256 => struct CryptoBoys.CryptoBoy storage ref)" + "typeString": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)" } }, "id": 326, @@ -14342,7 +14317,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 281, - "src": "2834:8:0", + "src": "4859:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14353,14 +14328,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "2820:23:0", + "src": "4845:23:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_storage", - "typeString": "struct CryptoBoys.CryptoBoy storage ref" + "typeString": "struct BscBoys.CryptoBoy storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "2791:52:0" + "src": "4816:52:0" }, { "expression": { @@ -14382,7 +14357,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "2857:3:0", + "src": "4962:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" @@ -14395,7 +14370,7 @@ "lValueRequested": false, "memberName": "value", "nodeType": "MemberAccess", - "src": "2857:9:0", + "src": "4962:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14410,10 +14385,10 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 323, - "src": "2870:9:0", + "src": "4975:9:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_memory_ptr", - "typeString": "struct CryptoBoys.CryptoBoy memory" + "typeString": "struct BscBoys.CryptoBoy memory" } }, "id": 332, @@ -14424,13 +14399,13 @@ "memberName": "price", "nodeType": "MemberAccess", "referencedDeclaration": 25, - "src": "2870:15:0", + "src": "4975:15:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "2857:28:0", + "src": "4962:28:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14452,7 +14427,7 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "2849:7:0", + "src": "4954:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" @@ -14466,7 +14441,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2849:37:0", + "src": "4954:37:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", @@ -14475,7 +14450,7 @@ }, "id": 335, "nodeType": "ExpressionStatement", - "src": "2849:37:0" + "src": "4954:37:0" }, { "expression": { @@ -14487,10 +14462,10 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 323, - "src": "2900:9:0", + "src": "5039:9:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_memory_ptr", - "typeString": "struct CryptoBoys.CryptoBoy memory" + "typeString": "struct BscBoys.CryptoBoy memory" } }, "id": 338, @@ -14501,7 +14476,7 @@ "memberName": "forSale", "nodeType": "MemberAccess", "referencedDeclaration": 29, - "src": "2900:17:0", + "src": "5039:17:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14523,7 +14498,7 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "2892:7:0", + "src": "5031:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" @@ -14537,7 +14512,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2892:26:0", + "src": "5031:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", @@ -14546,7 +14521,7 @@ }, "id": 340, "nodeType": "ExpressionStatement", - "src": "2892:26:0" + "src": "5031:26:0" }, { "expression": { @@ -14557,7 +14532,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 301, - "src": "2934:10:0", + "src": "5150:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14570,7 +14545,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "2946:3:0", + "src": "5162:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" @@ -14583,7 +14558,7 @@ "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "2946:10:0", + "src": "5162:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -14595,7 +14570,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 281, - "src": "2958:8:0", + "src": "5174:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14622,7 +14597,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3371, - "src": "2924:9:0", + "src": "5140:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" @@ -14636,7 +14611,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "2924:43:0", + "src": "5140:43:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", @@ -14645,7 +14620,7 @@ }, "id": 347, "nodeType": "ExpressionStatement", - "src": "2924:43:0" + "src": "5140:43:0" }, { "assignments": [ @@ -14659,7 +14634,7 @@ "name": "sendTo", "nodeType": "VariableDeclaration", "scope": 386, - "src": "2973:22:0", + "src": "5221:22:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14670,7 +14645,7 @@ "id": 348, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2973:15:0", + "src": "5221:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -14688,10 +14663,10 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 323, - "src": "2998:9:0", + "src": "5246:9:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_memory_ptr", - "typeString": "struct CryptoBoys.CryptoBoy memory" + "typeString": "struct BscBoys.CryptoBoy memory" } }, "id": 351, @@ -14702,14 +14677,14 @@ "memberName": "currentOwner", "nodeType": "MemberAccess", "referencedDeclaration": 21, - "src": "2998:22:0", + "src": "5246:22:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, "nodeType": "VariableDeclarationStatement", - "src": "2973:47:0" + "src": "5221:47:0" }, { "expression": { @@ -14721,7 +14696,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "3042:3:0", + "src": "5341:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" @@ -14734,7 +14709,7 @@ "lValueRequested": false, "memberName": "value", "nodeType": "MemberAccess", - "src": "3042:9:0", + "src": "5341:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14754,7 +14729,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 349, - "src": "3026:6:0", + "src": "5325:6:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -14767,7 +14742,7 @@ "lValueRequested": false, "memberName": "transfer", "nodeType": "MemberAccess", - "src": "3026:15:0", + "src": "5325:15:0", "typeDescriptions": { "typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256)" @@ -14781,7 +14756,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3026:26:0", + "src": "5325:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", @@ -14790,7 +14765,7 @@ }, "id": 359, "nodeType": "ExpressionStatement", - "src": "3026:26:0" + "src": "5325:26:0" }, { "expression": { @@ -14806,10 +14781,10 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 323, - "src": "3058:9:0", + "src": "5400:9:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_memory_ptr", - "typeString": "struct CryptoBoys.CryptoBoy memory" + "typeString": "struct BscBoys.CryptoBoy memory" } }, "id": 362, @@ -14820,7 +14795,7 @@ "memberName": "previousOwner", "nodeType": "MemberAccess", "referencedDeclaration": 23, - "src": "3058:23:0", + "src": "5400:23:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -14835,10 +14810,10 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 323, - "src": "3084:9:0", + "src": "5426:9:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_memory_ptr", - "typeString": "struct CryptoBoys.CryptoBoy memory" + "typeString": "struct BscBoys.CryptoBoy memory" } }, "id": 364, @@ -14849,13 +14824,13 @@ "memberName": "currentOwner", "nodeType": "MemberAccess", "referencedDeclaration": 21, - "src": "3084:22:0", + "src": "5426:22:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "3058:48:0", + "src": "5400:48:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -14863,7 +14838,7 @@ }, "id": 366, "nodeType": "ExpressionStatement", - "src": "3058:48:0" + "src": "5400:48:0" }, { "expression": { @@ -14879,10 +14854,10 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 323, - "src": "3112:9:0", + "src": "5496:9:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_memory_ptr", - "typeString": "struct CryptoBoys.CryptoBoy memory" + "typeString": "struct BscBoys.CryptoBoy memory" } }, "id": 369, @@ -14893,7 +14868,7 @@ "memberName": "currentOwner", "nodeType": "MemberAccess", "referencedDeclaration": 21, - "src": "3112:22:0", + "src": "5496:22:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -14908,7 +14883,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "3137:3:0", + "src": "5521:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" @@ -14921,13 +14896,13 @@ "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "3137:10:0", + "src": "5521:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "3112:35:0", + "src": "5496:35:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -14935,7 +14910,7 @@ }, "id": 373, "nodeType": "ExpressionStatement", - "src": "3112:35:0" + "src": "5496:35:0" }, { "expression": { @@ -14951,10 +14926,10 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 323, - "src": "3153:9:0", + "src": "5598:9:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_memory_ptr", - "typeString": "struct CryptoBoys.CryptoBoy memory" + "typeString": "struct BscBoys.CryptoBoy memory" } }, "id": 376, @@ -14965,7 +14940,7 @@ "memberName": "numberOfTransfers", "nodeType": "MemberAccess", "referencedDeclaration": 27, - "src": "3153:27:0", + "src": "5598:27:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14982,14 +14957,14 @@ "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3184:1:0", + "src": "5629:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "3153:32:0", + "src": "5598:32:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14997,7 +14972,7 @@ }, "id": 379, "nodeType": "ExpressionStatement", - "src": "3153:32:0" + "src": "5598:32:0" }, { "expression": { @@ -15009,14 +14984,14 @@ "leftHandSide": { "baseExpression": { "id": 380, - "name": "allCryptoBoys", + "name": "allBscBoys", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 34, - "src": "3191:13:0", + "src": "5686:13:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CryptoBoy_$30_storage_$", - "typeString": "mapping(uint256 => struct CryptoBoys.CryptoBoy storage ref)" + "typeString": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)" } }, "id": 382, @@ -15026,7 +15001,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 281, - "src": "3205:8:0", + "src": "5700:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15037,10 +15012,10 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "3191:23:0", + "src": "5686:23:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_storage", - "typeString": "struct CryptoBoys.CryptoBoy storage ref" + "typeString": "struct BscBoys.CryptoBoy storage ref" } }, "nodeType": "Assignment", @@ -15051,21 +15026,21 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 323, - "src": "3217:9:0", + "src": "5712:9:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_memory_ptr", - "typeString": "struct CryptoBoys.CryptoBoy memory" + "typeString": "struct BscBoys.CryptoBoy memory" } }, - "src": "3191:35:0", + "src": "5686:35:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_storage", - "typeString": "struct CryptoBoys.CryptoBoy storage ref" + "typeString": "struct BscBoys.CryptoBoy storage ref" } }, "id": 385, "nodeType": "ExpressionStatement", - "src": "3191:35:0" + "src": "5686:35:0" } ] }, @@ -15087,7 +15062,7 @@ "name": "_tokenId", "nodeType": "VariableDeclaration", "scope": 387, - "src": "2559:16:0", + "src": "4164:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15098,7 +15073,7 @@ "id": 280, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2559:7:0", + "src": "4164:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15107,16 +15082,16 @@ "visibility": "internal" } ], - "src": "2558:18:0" + "src": "4163:18:0" }, "returnParameters": { "id": 283, "nodeType": "ParameterList", "parameters": [], - "src": "2592:0:0" + "src": "4197:0:0" }, "scope": 507, - "src": "2541:690:0", + "src": "4146:1581:0", "stateMutability": "payable", "virtual": false, "visibility": "public" @@ -15125,7 +15100,7 @@ "body": { "id": 441, "nodeType": "Block", - "src": "3305:291:0", + "src": "5803:715:0", "statements": [ { "expression": { @@ -15147,7 +15122,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "3319:3:0", + "src": "5881:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" @@ -15160,7 +15135,7 @@ "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "3319:10:0", + "src": "5881:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -15179,7 +15154,7 @@ "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3341:1:0", + "src": "5903:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -15200,7 +15175,7 @@ "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "3333:7:0", + "src": "5895:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" @@ -15209,7 +15184,7 @@ "id": 397, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3333:7:0", + "src": "5895:7:0", "typeDescriptions": {} } }, @@ -15221,14 +15196,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3333:10:0", + "src": "5895:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "3319:24:0", + "src": "5881:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15250,7 +15225,7 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "3311:7:0", + "src": "5873:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" @@ -15264,7 +15239,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3311:33:0", + "src": "5873:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", @@ -15273,7 +15248,7 @@ }, "id": 403, "nodeType": "ExpressionStatement", - "src": "3311:33:0" + "src": "5873:33:0" }, { "expression": { @@ -15286,7 +15261,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 389, - "src": "3366:8:0", + "src": "5969:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15305,7 +15280,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3085, - "src": "3358:7:0", + "src": "5961:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" @@ -15319,7 +15294,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3358:17:0", + "src": "5961:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -15342,7 +15317,7 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "3350:7:0", + "src": "5953:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" @@ -15356,7 +15331,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3350:26:0", + "src": "5953:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", @@ -15365,7 +15340,7 @@ }, "id": 409, "nodeType": "ExpressionStatement", - "src": "3350:26:0" + "src": "5953:26:0" }, { "assignments": [ @@ -15379,7 +15354,7 @@ "name": "tokenOwner", "nodeType": "VariableDeclaration", "scope": 441, - "src": "3382:18:0", + "src": "6016:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15390,7 +15365,7 @@ "id": 410, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3382:7:0", + "src": "6016:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15409,7 +15384,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 389, - "src": "3411:8:0", + "src": "6045:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15428,7 +15403,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 2702, - "src": "3403:7:0", + "src": "6037:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" @@ -15442,7 +15417,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3403:17:0", + "src": "6037:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -15450,7 +15425,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "3382:38:0" + "src": "6016:38:0" }, { "expression": { @@ -15471,7 +15446,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 411, - "src": "3434:10:0", + "src": "6148:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15486,7 +15461,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "3448:3:0", + "src": "6162:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" @@ -15499,13 +15474,13 @@ "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "3448:10:0", + "src": "6162:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "3434:24:0", + "src": "6148:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15527,7 +15502,7 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "3426:7:0", + "src": "6140:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" @@ -15541,7 +15516,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3426:33:0", + "src": "6140:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", @@ -15550,7 +15525,7 @@ }, "id": 422, "nodeType": "ExpressionStatement", - "src": "3426:33:0" + "src": "6140:33:0" }, { "assignments": [ @@ -15564,22 +15539,22 @@ "name": "cryptoboy", "nodeType": "VariableDeclaration", "scope": 441, - "src": "3465:26:0", + "src": "6291:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_memory_ptr", - "typeString": "struct CryptoBoys.CryptoBoy" + "typeString": "struct BscBoys.CryptoBoy" }, "typeName": { "id": 423, "name": "CryptoBoy", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 30, - "src": "3465:9:0", + "src": "6291:9:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_storage_ptr", - "typeString": "struct CryptoBoys.CryptoBoy" + "typeString": "struct BscBoys.CryptoBoy" } }, "visibility": "internal" @@ -15589,14 +15564,14 @@ "initialValue": { "baseExpression": { "id": 425, - "name": "allCryptoBoys", + "name": "allBscBoys", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 34, - "src": "3494:13:0", + "src": "6320:13:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CryptoBoy_$30_storage_$", - "typeString": "mapping(uint256 => struct CryptoBoys.CryptoBoy storage ref)" + "typeString": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)" } }, "id": 427, @@ -15606,7 +15581,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 389, - "src": "3508:8:0", + "src": "6334:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15617,14 +15592,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3494:23:0", + "src": "6320:23:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_storage", - "typeString": "struct CryptoBoys.CryptoBoy storage ref" + "typeString": "struct BscBoys.CryptoBoy storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "3465:52:0" + "src": "6291:52:0" }, { "expression": { @@ -15640,10 +15615,10 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 424, - "src": "3523:9:0", + "src": "6394:9:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_memory_ptr", - "typeString": "struct CryptoBoys.CryptoBoy memory" + "typeString": "struct BscBoys.CryptoBoy memory" } }, "id": 431, @@ -15654,7 +15629,7 @@ "memberName": "price", "nodeType": "MemberAccess", "referencedDeclaration": 25, - "src": "3523:15:0", + "src": "6394:15:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15668,13 +15643,13 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 391, - "src": "3541:9:0", + "src": "6412:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "3523:27:0", + "src": "6394:27:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15682,7 +15657,7 @@ }, "id": 434, "nodeType": "ExpressionStatement", - "src": "3523:27:0" + "src": "6394:27:0" }, { "expression": { @@ -15694,14 +15669,14 @@ "leftHandSide": { "baseExpression": { "id": 435, - "name": "allCryptoBoys", + "name": "allBscBoys", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 34, - "src": "3556:13:0", + "src": "6477:13:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CryptoBoy_$30_storage_$", - "typeString": "mapping(uint256 => struct CryptoBoys.CryptoBoy storage ref)" + "typeString": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)" } }, "id": 437, @@ -15711,7 +15686,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 389, - "src": "3570:8:0", + "src": "6491:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15722,10 +15697,10 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "3556:23:0", + "src": "6477:23:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_storage", - "typeString": "struct CryptoBoys.CryptoBoy storage ref" + "typeString": "struct BscBoys.CryptoBoy storage ref" } }, "nodeType": "Assignment", @@ -15736,21 +15711,21 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 424, - "src": "3582:9:0", + "src": "6503:9:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_memory_ptr", - "typeString": "struct CryptoBoys.CryptoBoy memory" + "typeString": "struct BscBoys.CryptoBoy memory" } }, - "src": "3556:35:0", + "src": "6477:35:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_storage", - "typeString": "struct CryptoBoys.CryptoBoy storage ref" + "typeString": "struct BscBoys.CryptoBoy storage ref" } }, "id": 440, "nodeType": "ExpressionStatement", - "src": "3556:35:0" + "src": "6477:35:0" } ] }, @@ -15772,7 +15747,7 @@ "name": "_tokenId", "nodeType": "VariableDeclaration", "scope": 442, - "src": "3261:16:0", + "src": "5759:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15783,7 +15758,7 @@ "id": 388, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3261:7:0", + "src": "5759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15798,7 +15773,7 @@ "name": "_newPrice", "nodeType": "VariableDeclaration", "scope": 442, - "src": "3279:17:0", + "src": "5777:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15809,7 +15784,7 @@ "id": 390, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3279:7:0", + "src": "5777:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15818,16 +15793,16 @@ "visibility": "internal" } ], - "src": "3260:37:0" + "src": "5758:37:0" }, "returnParameters": { "id": 393, "nodeType": "ParameterList", "parameters": [], - "src": "3305:0:0" + "src": "5803:0:0" }, "scope": 507, - "src": "3235:361:0", + "src": "5733:785:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -15836,7 +15811,7 @@ "body": { "id": 505, "nodeType": "Block", - "src": "3648:370:0", + "src": "6627:818:0", "statements": [ { "expression": { @@ -15858,7 +15833,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "3662:3:0", + "src": "6705:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" @@ -15871,7 +15846,7 @@ "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "3662:10:0", + "src": "6705:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -15890,7 +15865,7 @@ "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "3684:1:0", + "src": "6727:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -15911,7 +15886,7 @@ "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "3676:7:0", + "src": "6719:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" @@ -15920,7 +15895,7 @@ "id": 450, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3676:7:0", + "src": "6719:7:0", "typeDescriptions": {} } }, @@ -15932,14 +15907,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3676:10:0", + "src": "6719:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "3662:24:0", + "src": "6705:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15961,7 +15936,7 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "3654:7:0", + "src": "6697:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" @@ -15975,7 +15950,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3654:33:0", + "src": "6697:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", @@ -15984,7 +15959,7 @@ }, "id": 456, "nodeType": "ExpressionStatement", - "src": "3654:33:0" + "src": "6697:33:0" }, { "expression": { @@ -15997,7 +15972,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 444, - "src": "3709:8:0", + "src": "6793:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16016,7 +15991,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 3085, - "src": "3701:7:0", + "src": "6785:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" @@ -16030,7 +16005,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3701:17:0", + "src": "6785:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -16053,7 +16028,7 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "3693:7:0", + "src": "6777:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" @@ -16067,7 +16042,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3693:26:0", + "src": "6777:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", @@ -16076,7 +16051,7 @@ }, "id": 462, "nodeType": "ExpressionStatement", - "src": "3693:26:0" + "src": "6777:26:0" }, { "assignments": [ @@ -16090,7 +16065,7 @@ "name": "tokenOwner", "nodeType": "VariableDeclaration", "scope": 505, - "src": "3725:18:0", + "src": "6840:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16101,7 +16076,7 @@ "id": 463, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3725:7:0", + "src": "6840:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16120,7 +16095,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 444, - "src": "3754:8:0", + "src": "6869:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16139,7 +16114,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 2702, - "src": "3746:7:0", + "src": "6861:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" @@ -16153,7 +16128,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3746:17:0", + "src": "6861:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -16161,7 +16136,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "3725:38:0" + "src": "6840:38:0" }, { "expression": { @@ -16182,7 +16157,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 464, - "src": "3777:10:0", + "src": "6972:10:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -16197,7 +16172,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "3791:3:0", + "src": "6986:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" @@ -16210,13 +16185,13 @@ "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "3791:10:0", + "src": "6986:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "3777:24:0", + "src": "6972:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16238,7 +16213,7 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "3769:7:0", + "src": "6964:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", "typeString": "function (bool) pure" @@ -16252,7 +16227,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "3769:33:0", + "src": "6964:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", @@ -16261,7 +16236,7 @@ }, "id": 475, "nodeType": "ExpressionStatement", - "src": "3769:33:0" + "src": "6964:33:0" }, { "assignments": [ @@ -16275,22 +16250,22 @@ "name": "cryptoboy", "nodeType": "VariableDeclaration", "scope": 505, - "src": "3808:26:0", + "src": "7115:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_memory_ptr", - "typeString": "struct CryptoBoys.CryptoBoy" + "typeString": "struct BscBoys.CryptoBoy" }, "typeName": { "id": 476, "name": "CryptoBoy", "nodeType": "UserDefinedTypeName", "referencedDeclaration": 30, - "src": "3808:9:0", + "src": "7115:9:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_storage_ptr", - "typeString": "struct CryptoBoys.CryptoBoy" + "typeString": "struct BscBoys.CryptoBoy" } }, "visibility": "internal" @@ -16300,14 +16275,14 @@ "initialValue": { "baseExpression": { "id": 478, - "name": "allCryptoBoys", + "name": "allBscBoys", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 34, - "src": "3837:13:0", + "src": "7144:13:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CryptoBoy_$30_storage_$", - "typeString": "mapping(uint256 => struct CryptoBoys.CryptoBoy storage ref)" + "typeString": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)" } }, "id": 480, @@ -16317,7 +16292,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 444, - "src": "3851:8:0", + "src": "7158:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16328,14 +16303,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "3837:23:0", + "src": "7144:23:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_storage", - "typeString": "struct CryptoBoys.CryptoBoy storage ref" + "typeString": "struct BscBoys.CryptoBoy storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "3808:52:0" + "src": "7115:52:0" }, { "condition": { @@ -16345,10 +16320,10 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 477, - "src": "3869:9:0", + "src": "7241:9:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_memory_ptr", - "typeString": "struct CryptoBoys.CryptoBoy memory" + "typeString": "struct BscBoys.CryptoBoy memory" } }, "id": 483, @@ -16359,7 +16334,7 @@ "memberName": "forSale", "nodeType": "MemberAccess", "referencedDeclaration": 29, - "src": "3869:17:0", + "src": "7241:17:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16368,7 +16343,7 @@ "falseBody": { "id": 497, "nodeType": "Block", - "src": "3934:39:0", + "src": "7308:41:0", "statements": [ { "expression": { @@ -16384,10 +16359,10 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 477, - "src": "3942:9:0", + "src": "7317:9:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_memory_ptr", - "typeString": "struct CryptoBoys.CryptoBoy memory" + "typeString": "struct BscBoys.CryptoBoy memory" } }, "id": 493, @@ -16398,7 +16373,7 @@ "memberName": "forSale", "nodeType": "MemberAccess", "referencedDeclaration": 29, - "src": "3942:17:0", + "src": "7317:17:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16415,14 +16390,14 @@ "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "3962:4:0", + "src": "7337:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "3942:24:0", + "src": "7317:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16430,17 +16405,17 @@ }, "id": 496, "nodeType": "ExpressionStatement", - "src": "3942:24:0" + "src": "7317:24:0" } ] }, "id": 498, "nodeType": "IfStatement", - "src": "3866:107:0", + "src": "7238:111:0", "trueBody": { "id": 490, "nodeType": "Block", - "src": "3888:40:0", + "src": "7260:42:0", "statements": [ { "expression": { @@ -16456,10 +16431,10 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 477, - "src": "3896:9:0", + "src": "7269:9:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_memory_ptr", - "typeString": "struct CryptoBoys.CryptoBoy memory" + "typeString": "struct BscBoys.CryptoBoy memory" } }, "id": 486, @@ -16470,7 +16445,7 @@ "memberName": "forSale", "nodeType": "MemberAccess", "referencedDeclaration": 29, - "src": "3896:17:0", + "src": "7269:17:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16487,14 +16462,14 @@ "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "3916:5:0", + "src": "7289:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "src": "3896:25:0", + "src": "7269:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16502,7 +16477,7 @@ }, "id": 489, "nodeType": "ExpressionStatement", - "src": "3896:25:0" + "src": "7269:25:0" } ] } @@ -16517,14 +16492,14 @@ "leftHandSide": { "baseExpression": { "id": 499, - "name": "allCryptoBoys", + "name": "allBscBoys", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 34, - "src": "3978:13:0", + "src": "7404:13:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CryptoBoy_$30_storage_$", - "typeString": "mapping(uint256 => struct CryptoBoys.CryptoBoy storage ref)" + "typeString": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)" } }, "id": 501, @@ -16534,7 +16509,7 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 444, - "src": "3992:8:0", + "src": "7418:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16545,10 +16520,10 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "3978:23:0", + "src": "7404:23:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_storage", - "typeString": "struct CryptoBoys.CryptoBoy storage ref" + "typeString": "struct BscBoys.CryptoBoy storage ref" } }, "nodeType": "Assignment", @@ -16559,21 +16534,21 @@ "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 477, - "src": "4004:9:0", + "src": "7430:9:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_memory_ptr", - "typeString": "struct CryptoBoys.CryptoBoy memory" + "typeString": "struct BscBoys.CryptoBoy memory" } }, - "src": "3978:35:0", + "src": "7404:35:0", "typeDescriptions": { "typeIdentifier": "t_struct$_CryptoBoy_$30_storage", - "typeString": "struct CryptoBoys.CryptoBoy storage ref" + "typeString": "struct BscBoys.CryptoBoy storage ref" } }, "id": 504, "nodeType": "ExpressionStatement", - "src": "3978:35:0" + "src": "7404:35:0" } ] }, @@ -16595,7 +16570,7 @@ "name": "_tokenId", "nodeType": "VariableDeclaration", "scope": 506, - "src": "3623:16:0", + "src": "6602:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16606,7 +16581,7 @@ "id": 443, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3623:7:0", + "src": "6602:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16615,30 +16590,30 @@ "visibility": "internal" } ], - "src": "3622:18:0" + "src": "6601:18:0" }, "returnParameters": { "id": 446, "nodeType": "ParameterList", "parameters": [], - "src": "3648:0:0" + "src": "6627:0:0" }, "scope": 507, - "src": "3600:418:0", + "src": "6579:866:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" } ], "scope": 508, - "src": "110:3910:0" + "src": "199:7249:0" } ], - "src": "32:3988:0" + "src": "33:7415:0" }, "legacyAST": { "attributes": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/CryptoBoys.sol", + "absolutePath": "project:/src/contracts/BscBoys.sol", "exportedSymbols": { "Address": [ 1430 @@ -16646,7 +16621,7 @@ "Context": [ 530 ], - "CryptoBoys": [ + "BscBoys": [ 507 ], "ERC165": [ @@ -16700,7 +16675,7 @@ }, "id": 1, "name": "PragmaDirective", - "src": "32:32:0" + "src": "33:32:0" }, { "attributes": { @@ -16711,12 +16686,12 @@ }, "id": 2, "name": "PragmaDirective", - "src": "65:19:0" + "src": "67:19:0" }, { "attributes": { "SourceUnit": 3499, - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "file": "./ERC721.sol", "scope": 508, "symbolAliases": [ @@ -16726,7 +16701,7 @@ }, "id": 3, "name": "ImportDirective", - "src": "86:22:0" + "src": "117:22:0" }, { "attributes": { @@ -16752,7 +16727,7 @@ 541, 530 ], - "name": "CryptoBoys", + "name": "BscBoys", "scope": 508 }, "children": [ @@ -16767,12 +16742,12 @@ }, "id": 4, "name": "UserDefinedTypeName", - "src": "133:6:0" + "src": "222:6:0" } ], "id": 5, "name": "InheritanceSpecifier", - "src": "133:6:0" + "src": "222:6:0" }, { "attributes": { @@ -16794,12 +16769,12 @@ }, "id": 6, "name": "ElementaryTypeName", - "src": "145:6:0" + "src": "280:6:0" } ], "id": 7, "name": "VariableDeclaration", - "src": "145:28:0" + "src": "280:28:0" }, { "attributes": { @@ -16821,12 +16796,12 @@ }, "id": 8, "name": "ElementaryTypeName", - "src": "177:6:0" + "src": "348:6:0" } ], "id": 9, "name": "VariableDeclaration", - "src": "177:34:0" + "src": "348:34:0" }, { "attributes": { @@ -16848,16 +16823,16 @@ }, "id": 10, "name": "ElementaryTypeName", - "src": "216:7:0" + "src": "428:7:0" } ], "id": 11, "name": "VariableDeclaration", - "src": "216:31:0" + "src": "428:31:0" }, { "attributes": { - "canonicalName": "CryptoBoys.CryptoBoy", + "canonicalName": "BscBoys.CryptoBoy", "name": "CryptoBoy", "scope": 507, "visibility": "public" @@ -16882,12 +16857,12 @@ }, "id": 12, "name": "ElementaryTypeName", - "src": "276:7:0" + "src": "522:7:0" } ], "id": 13, "name": "VariableDeclaration", - "src": "276:15:0" + "src": "522:15:0" }, { "attributes": { @@ -16908,12 +16883,12 @@ }, "id": 14, "name": "ElementaryTypeName", - "src": "297:6:0" + "src": "544:6:0" } ], "id": 15, "name": "VariableDeclaration", - "src": "297:16:0" + "src": "544:16:0" }, { "attributes": { @@ -16934,12 +16909,12 @@ }, "id": 16, "name": "ElementaryTypeName", - "src": "319:6:0" + "src": "567:6:0" } ], "id": 17, "name": "VariableDeclaration", - "src": "319:15:0" + "src": "567:15:0" }, { "attributes": { @@ -16961,12 +16936,12 @@ }, "id": 18, "name": "ElementaryTypeName", - "src": "340:15:0" + "src": "589:15:0" } ], "id": 19, "name": "VariableDeclaration", - "src": "340:24:0" + "src": "589:24:0" }, { "attributes": { @@ -16988,12 +16963,12 @@ }, "id": 20, "name": "ElementaryTypeName", - "src": "370:15:0" + "src": "620:15:0" } ], "id": 21, "name": "VariableDeclaration", - "src": "370:28:0" + "src": "620:28:0" }, { "attributes": { @@ -17015,12 +16990,12 @@ }, "id": 22, "name": "ElementaryTypeName", - "src": "404:15:0" + "src": "655:15:0" } ], "id": 23, "name": "VariableDeclaration", - "src": "404:29:0" + "src": "655:29:0" }, { "attributes": { @@ -17041,12 +17016,12 @@ }, "id": 24, "name": "ElementaryTypeName", - "src": "439:7:0" + "src": "691:7:0" } ], "id": 25, "name": "VariableDeclaration", - "src": "439:13:0" + "src": "691:13:0" }, { "attributes": { @@ -17067,12 +17042,12 @@ }, "id": 26, "name": "ElementaryTypeName", - "src": "458:7:0" + "src": "711:7:0" } ], "id": 27, "name": "VariableDeclaration", - "src": "458:25:0" + "src": "711:25:0" }, { "attributes": { @@ -17093,34 +17068,34 @@ }, "id": 28, "name": "ElementaryTypeName", - "src": "489:4:0" + "src": "743:4:0" } ], "id": 29, "name": "VariableDeclaration", - "src": "489:12:0" + "src": "743:12:0" } ], "id": 30, "name": "StructDefinition", - "src": "253:253:0" + "src": "498:263:0" }, { "attributes": { "constant": false, "functionSelector": "44c0d7eb", "mutability": "mutable", - "name": "allCryptoBoys", + "name": "allBscBoys", "scope": 507, "stateVariable": true, "storageLocation": "default", - "type": "mapping(uint256 => struct CryptoBoys.CryptoBoy)", + "type": "mapping(uint256 => struct BscBoys.CryptoBoy)", "visibility": "public" }, "children": [ { "attributes": { - "type": "mapping(uint256 => struct CryptoBoys.CryptoBoy)" + "type": "mapping(uint256 => struct BscBoys.CryptoBoy)" }, "children": [ { @@ -17130,27 +17105,27 @@ }, "id": 31, "name": "ElementaryTypeName", - "src": "518:7:0" + "src": "820:7:0" }, { "attributes": { "name": "CryptoBoy", "referencedDeclaration": 30, - "type": "struct CryptoBoys.CryptoBoy" + "type": "struct BscBoys.CryptoBoy" }, "id": 32, "name": "UserDefinedTypeName", - "src": "529:9:0" + "src": "831:9:0" } ], "id": 33, "name": "Mapping", - "src": "510:29:0" + "src": "812:29:0" } ], "id": 34, "name": "VariableDeclaration", - "src": "510:50:0" + "src": "812:50:0" }, { "attributes": { @@ -17177,7 +17152,7 @@ }, "id": 35, "name": "ElementaryTypeName", - "src": "573:6:0" + "src": "908:6:0" }, { "attributes": { @@ -17186,17 +17161,17 @@ }, "id": 36, "name": "ElementaryTypeName", - "src": "583:4:0" + "src": "918:4:0" } ], "id": 37, "name": "Mapping", - "src": "565:23:0" + "src": "900:23:0" } ], "id": 38, "name": "VariableDeclaration", - "src": "565:46:0" + "src": "900:46:0" }, { "attributes": { @@ -17223,7 +17198,7 @@ }, "id": 39, "name": "ElementaryTypeName", - "src": "623:6:0" + "src": "987:6:0" }, { "attributes": { @@ -17232,17 +17207,17 @@ }, "id": 40, "name": "ElementaryTypeName", - "src": "633:4:0" + "src": "997:4:0" } ], "id": 41, "name": "Mapping", - "src": "615:23:0" + "src": "979:23:0" } ], "id": 42, "name": "VariableDeclaration", - "src": "615:42:0" + "src": "979:42:0" }, { "attributes": { @@ -17269,7 +17244,7 @@ }, "id": 43, "name": "ElementaryTypeName", - "src": "669:6:0" + "src": "1066:6:0" }, { "attributes": { @@ -17278,17 +17253,17 @@ }, "id": 44, "name": "ElementaryTypeName", - "src": "679:4:0" + "src": "1076:4:0" } ], "id": 45, "name": "Mapping", - "src": "661:23:0" + "src": "1058:23:0" } ], "id": 46, "name": "VariableDeclaration", - "src": "661:45:0" + "src": "1058:45:0" }, { "attributes": { @@ -17311,7 +17286,7 @@ "children": [], "id": 47, "name": "ParameterList", - "src": "722:2:0" + "src": "1206:2:0" }, { "attributes": { @@ -17322,7 +17297,7 @@ "children": [], "id": 52, "name": "ParameterList", - "src": "764:0:0" + "src": "1248:0:0" }, { "children": [ @@ -17337,7 +17312,7 @@ }, "id": 48, "name": "Identifier", - "src": "725:6:0" + "src": "1209:6:0" }, { "attributes": { @@ -17352,7 +17327,7 @@ }, "id": 49, "name": "Literal", - "src": "732:24:0" + "src": "1216:24:0" }, { "attributes": { @@ -17367,12 +17342,12 @@ }, "id": 50, "name": "Literal", - "src": "758:4:0" + "src": "1242:4:0" } ], "id": 51, "name": "ModifierInvocation", - "src": "725:38:0" + "src": "1209:38:0" }, { "children": [ @@ -17399,7 +17374,7 @@ }, "id": 53, "name": "Identifier", - "src": "770:14:0" + "src": "1255:14:0" }, { "attributes": { @@ -17433,22 +17408,22 @@ }, "id": 54, "name": "Identifier", - "src": "787:4:0" + "src": "1272:4:0" } ], "id": 55, "name": "FunctionCall", - "src": "787:6:0" + "src": "1272:6:0" } ], "id": 56, "name": "Assignment", - "src": "770:23:0" + "src": "1255:23:0" } ], "id": 57, "name": "ExpressionStatement", - "src": "770:23:0" + "src": "1255:23:0" }, { "children": [ @@ -17473,7 +17448,7 @@ }, "id": 58, "name": "Identifier", - "src": "799:20:0" + "src": "1285:20:0" }, { "attributes": { @@ -17507,32 +17482,32 @@ }, "id": 59, "name": "Identifier", - "src": "822:6:0" + "src": "1308:6:0" } ], "id": 60, "name": "FunctionCall", - "src": "822:8:0" + "src": "1308:8:0" } ], "id": 61, "name": "Assignment", - "src": "799:31:0" + "src": "1285:31:0" } ], "id": 62, "name": "ExpressionStatement", - "src": "799:31:0" + "src": "1285:31:0" } ], "id": 63, "name": "Block", - "src": "764:71:0" + "src": "1248:74:0" } ], "id": 64, "name": "FunctionDefinition", - "src": "711:124:0" + "src": "1195:127:0" }, { "attributes": { @@ -17571,12 +17546,12 @@ }, "id": 65, "name": "ElementaryTypeName", - "src": "862:6:0" + "src": "1379:6:0" } ], "id": 66, "name": "VariableDeclaration", - "src": "862:19:0" + "src": "1379:19:0" }, { "attributes": { @@ -17597,12 +17572,12 @@ }, "id": 67, "name": "ElementaryTypeName", - "src": "883:6:0" + "src": "1400:6:0" } ], "id": 68, "name": "VariableDeclaration", - "src": "883:23:0" + "src": "1400:23:0" }, { "attributes": { @@ -17623,12 +17598,12 @@ }, "id": 69, "name": "ElementaryTypeName", - "src": "908:7:0" + "src": "1425:7:0" } ], "id": 70, "name": "VariableDeclaration", - "src": "908:14:0" + "src": "1425:14:0" }, { "attributes": { @@ -17654,22 +17629,22 @@ }, "id": 71, "name": "ElementaryTypeName", - "src": "924:6:0" + "src": "1441:6:0" } ], "id": 72, "name": "ArrayTypeName", - "src": "924:8:0" + "src": "1441:8:0" } ], "id": 73, "name": "VariableDeclaration", - "src": "924:25:0" + "src": "1441:25:0" } ], "id": 74, "name": "ParameterList", - "src": "861:89:0" + "src": "1378:89:0" }, { "attributes": { @@ -17680,7 +17655,7 @@ "children": [], "id": 75, "name": "ParameterList", - "src": "960:0:0" + "src": "1477:0:0" }, { "children": [ @@ -17719,7 +17694,7 @@ }, "id": 76, "name": "Identifier", - "src": "967:7:0" + "src": "1553:7:0" }, { "attributes": { @@ -17756,12 +17731,12 @@ }, "id": 77, "name": "Identifier", - "src": "975:3:0" + "src": "1561:3:0" } ], "id": 78, "name": "MemberAccess", - "src": "975:10:0" + "src": "1561:10:0" }, { "attributes": { @@ -17799,12 +17774,12 @@ }, "id": 79, "name": "ElementaryTypeName", - "src": "989:7:0" + "src": "1575:7:0" } ], "id": 80, "name": "ElementaryTypeNameExpression", - "src": "989:7:0" + "src": "1575:7:0" }, { "attributes": { @@ -17819,27 +17794,27 @@ }, "id": 81, "name": "Literal", - "src": "997:1:0" + "src": "1583:1:0" } ], "id": 82, "name": "FunctionCall", - "src": "989:10:0" + "src": "1575:10:0" } ], "id": 83, "name": "BinaryOperation", - "src": "975:24:0" + "src": "1561:24:0" } ], "id": 84, "name": "FunctionCall", - "src": "967:33:0" + "src": "1553:33:0" } ], "id": 85, "name": "ExpressionStatement", - "src": "967:33:0" + "src": "1553:33:0" }, { "children": [ @@ -17865,17 +17840,17 @@ }, "id": 86, "name": "Identifier", - "src": "1006:16:0" + "src": "1619:16:0" } ], "id": 87, "name": "UnaryOperation", - "src": "1006:19:0" + "src": "1619:19:0" } ], "id": 88, "name": "ExpressionStatement", - "src": "1006:19:0" + "src": "1619:19:0" }, { "children": [ @@ -17912,7 +17887,7 @@ }, "id": 89, "name": "Identifier", - "src": "1031:7:0" + "src": "1724:7:0" }, { "attributes": { @@ -17957,7 +17932,7 @@ }, "id": 90, "name": "Identifier", - "src": "1040:7:0" + "src": "1733:7:0" }, { "attributes": { @@ -17970,27 +17945,27 @@ }, "id": 91, "name": "Identifier", - "src": "1048:16:0" + "src": "1741:16:0" } ], "id": 92, "name": "FunctionCall", - "src": "1040:25:0" + "src": "1733:25:0" } ], "id": 93, "name": "UnaryOperation", - "src": "1039:26:0" + "src": "1732:26:0" } ], "id": 94, "name": "FunctionCall", - "src": "1031:35:0" + "src": "1724:35:0" } ], "id": 95, "name": "ExpressionStatement", - "src": "1031:35:0" + "src": "1724:35:0" }, { "children": [ @@ -18020,12 +17995,12 @@ }, "id": 96, "name": "ElementaryTypeName", - "src": "1077:4:0" + "src": "1858:4:0" } ], "id": 97, "name": "VariableDeclaration", - "src": "1077:6:0" + "src": "1858:6:0" }, { "attributes": { @@ -18040,12 +18015,12 @@ }, "id": 98, "name": "Literal", - "src": "1084:1:0" + "src": "1865:1:0" } ], "id": 99, "name": "VariableDeclarationStatement", - "src": "1077:8:0" + "src": "1858:8:0" }, { "attributes": { @@ -18072,7 +18047,7 @@ }, "id": 100, "name": "Identifier", - "src": "1087:1:0" + "src": "1868:1:0" }, { "attributes": { @@ -18095,17 +18070,17 @@ }, "id": 101, "name": "Identifier", - "src": "1089:7:0" + "src": "1870:7:0" } ], "id": 102, "name": "MemberAccess", - "src": "1089:14:0" + "src": "1870:14:0" } ], "id": 103, "name": "BinaryOperation", - "src": "1087:16:0" + "src": "1868:16:0" }, { "children": [ @@ -18131,17 +18106,17 @@ }, "id": 104, "name": "Identifier", - "src": "1105:1:0" + "src": "1886:1:0" } ], "id": 105, "name": "UnaryOperation", - "src": "1105:3:0" + "src": "1886:3:0" } ], "id": 106, "name": "ExpressionStatement", - "src": "1105:3:0" + "src": "1886:3:0" }, { "children": [ @@ -18180,7 +18155,7 @@ }, "id": 107, "name": "Identifier", - "src": "1118:7:0" + "src": "1900:7:0" }, { "attributes": { @@ -18213,7 +18188,7 @@ }, "id": 108, "name": "Identifier", - "src": "1127:11:0" + "src": "1909:11:0" }, { "attributes": { @@ -18235,7 +18210,7 @@ }, "id": 109, "name": "Identifier", - "src": "1139:7:0" + "src": "1921:7:0" }, { "attributes": { @@ -18248,42 +18223,42 @@ }, "id": 110, "name": "Identifier", - "src": "1147:1:0" + "src": "1929:1:0" } ], "id": 111, "name": "IndexAccess", - "src": "1139:10:0" + "src": "1921:10:0" } ], "id": 112, "name": "IndexAccess", - "src": "1127:23:0" + "src": "1909:23:0" } ], "id": 113, "name": "UnaryOperation", - "src": "1126:24:0" + "src": "1908:24:0" } ], "id": 114, "name": "FunctionCall", - "src": "1118:33:0" + "src": "1900:33:0" } ], "id": 115, "name": "ExpressionStatement", - "src": "1118:33:0" + "src": "1900:33:0" } ], "id": 116, "name": "Block", - "src": "1110:48:0" + "src": "1891:50:0" } ], "id": 117, "name": "ForStatement", - "src": "1073:85:0" + "src": "1854:87:0" }, { "children": [ @@ -18320,7 +18295,7 @@ }, "id": 118, "name": "Identifier", - "src": "1163:7:0" + "src": "2000:7:0" }, { "attributes": { @@ -18353,7 +18328,7 @@ }, "id": 119, "name": "Identifier", - "src": "1172:14:0" + "src": "2009:14:0" }, { "attributes": { @@ -18366,27 +18341,27 @@ }, "id": 120, "name": "Identifier", - "src": "1187:9:0" + "src": "2024:9:0" } ], "id": 121, "name": "IndexAccess", - "src": "1172:25:0" + "src": "2009:25:0" } ], "id": 122, "name": "UnaryOperation", - "src": "1171:26:0" + "src": "2008:26:0" } ], "id": 123, "name": "FunctionCall", - "src": "1163:35:0" + "src": "2000:35:0" } ], "id": 124, "name": "ExpressionStatement", - "src": "1163:35:0" + "src": "2000:35:0" }, { "children": [ @@ -18423,7 +18398,7 @@ }, "id": 125, "name": "Identifier", - "src": "1204:7:0" + "src": "2096:7:0" }, { "attributes": { @@ -18456,7 +18431,7 @@ }, "id": 126, "name": "Identifier", - "src": "1213:15:0" + "src": "2105:15:0" }, { "attributes": { @@ -18469,27 +18444,27 @@ }, "id": 127, "name": "Identifier", - "src": "1229:5:0" + "src": "2121:5:0" } ], "id": 128, "name": "IndexAccess", - "src": "1213:22:0" + "src": "2105:22:0" } ], "id": 129, "name": "UnaryOperation", - "src": "1212:23:0" + "src": "2104:23:0" } ], "id": 130, "name": "FunctionCall", - "src": "1204:32:0" + "src": "2096:32:0" } ], "id": 131, "name": "ExpressionStatement", - "src": "1204:32:0" + "src": "2096:32:0" }, { "children": [ @@ -18529,7 +18504,7 @@ }, "id": 132, "name": "Identifier", - "src": "1243:5:0" + "src": "2160:5:0" }, { "attributes": { @@ -18552,12 +18527,12 @@ }, "id": 133, "name": "Identifier", - "src": "1249:3:0" + "src": "2166:3:0" } ], "id": 134, "name": "MemberAccess", - "src": "1249:10:0" + "src": "2166:10:0" }, { "attributes": { @@ -18570,17 +18545,17 @@ }, "id": 135, "name": "Identifier", - "src": "1261:16:0" + "src": "2178:16:0" } ], "id": 136, "name": "FunctionCall", - "src": "1243:35:0" + "src": "2160:35:0" } ], "id": 137, "name": "ExpressionStatement", - "src": "1243:35:0" + "src": "2160:35:0" }, { "children": [ @@ -18620,7 +18595,7 @@ }, "id": 138, "name": "Identifier", - "src": "1284:12:0" + "src": "2269:12:0" }, { "attributes": { @@ -18633,7 +18608,7 @@ }, "id": 139, "name": "Identifier", - "src": "1297:16:0" + "src": "2282:16:0" }, { "attributes": { @@ -18646,17 +18621,17 @@ }, "id": 140, "name": "Identifier", - "src": "1315:9:0" + "src": "2300:9:0" } ], "id": 141, "name": "FunctionCall", - "src": "1284:41:0" + "src": "2269:41:0" } ], "id": 142, "name": "ExpressionStatement", - "src": "1284:41:0" + "src": "2269:41:0" }, { "children": [ @@ -18686,12 +18661,12 @@ }, "id": 143, "name": "ElementaryTypeName", - "src": "1337:4:0" + "src": "2435:4:0" } ], "id": 144, "name": "VariableDeclaration", - "src": "1337:6:0" + "src": "2435:6:0" }, { "attributes": { @@ -18706,12 +18681,12 @@ }, "id": 145, "name": "Literal", - "src": "1344:1:0" + "src": "2442:1:0" } ], "id": 146, "name": "VariableDeclarationStatement", - "src": "1337:8:0" + "src": "2435:8:0" }, { "attributes": { @@ -18738,7 +18713,7 @@ }, "id": 147, "name": "Identifier", - "src": "1347:1:0" + "src": "2445:1:0" }, { "attributes": { @@ -18761,17 +18736,17 @@ }, "id": 148, "name": "Identifier", - "src": "1349:7:0" + "src": "2447:7:0" } ], "id": 149, "name": "MemberAccess", - "src": "1349:14:0" + "src": "2447:14:0" } ], "id": 150, "name": "BinaryOperation", - "src": "1347:16:0" + "src": "2445:16:0" }, { "children": [ @@ -18797,17 +18772,17 @@ }, "id": 151, "name": "Identifier", - "src": "1365:1:0" + "src": "2463:1:0" } ], "id": 152, "name": "UnaryOperation", - "src": "1365:3:0" + "src": "2463:3:0" } ], "id": 153, "name": "ExpressionStatement", - "src": "1365:3:0" + "src": "2463:3:0" }, { "children": [ @@ -18843,7 +18818,7 @@ }, "id": 154, "name": "Identifier", - "src": "1378:11:0" + "src": "2477:11:0" }, { "attributes": { @@ -18865,7 +18840,7 @@ }, "id": 155, "name": "Identifier", - "src": "1390:7:0" + "src": "2489:7:0" }, { "attributes": { @@ -18878,17 +18853,17 @@ }, "id": 156, "name": "Identifier", - "src": "1398:1:0" + "src": "2497:1:0" } ], "id": 157, "name": "IndexAccess", - "src": "1390:10:0" + "src": "2489:10:0" } ], "id": 158, "name": "IndexAccess", - "src": "1378:23:0" + "src": "2477:23:0" }, { "attributes": { @@ -18903,27 +18878,27 @@ }, "id": 159, "name": "Literal", - "src": "1404:4:0" + "src": "2503:4:0" } ], "id": 160, "name": "Assignment", - "src": "1378:30:0" + "src": "2477:30:0" } ], "id": 161, "name": "ExpressionStatement", - "src": "1378:30:0" + "src": "2477:30:0" } ], "id": 162, "name": "Block", - "src": "1370:45:0" + "src": "2468:47:0" } ], "id": 163, "name": "ForStatement", - "src": "1332:83:0" + "src": "2430:85:0" }, { "children": [ @@ -18957,7 +18932,7 @@ }, "id": 164, "name": "Identifier", - "src": "1420:14:0" + "src": "2561:14:0" }, { "attributes": { @@ -18970,12 +18945,12 @@ }, "id": 165, "name": "Identifier", - "src": "1435:9:0" + "src": "2576:9:0" } ], "id": 166, "name": "IndexAccess", - "src": "1420:25:0" + "src": "2561:25:0" }, { "attributes": { @@ -18990,17 +18965,17 @@ }, "id": 167, "name": "Literal", - "src": "1448:4:0" + "src": "2589:4:0" } ], "id": 168, "name": "Assignment", - "src": "1420:32:0" + "src": "2561:32:0" } ], "id": 169, "name": "ExpressionStatement", - "src": "1420:32:0" + "src": "2561:32:0" }, { "children": [ @@ -19034,7 +19009,7 @@ }, "id": 170, "name": "Identifier", - "src": "1458:15:0" + "src": "2641:15:0" }, { "attributes": { @@ -19047,12 +19022,12 @@ }, "id": 171, "name": "Identifier", - "src": "1474:5:0" + "src": "2657:5:0" } ], "id": 172, "name": "IndexAccess", - "src": "1458:22:0" + "src": "2641:22:0" }, { "attributes": { @@ -19067,17 +19042,17 @@ }, "id": 173, "name": "Literal", - "src": "1483:4:0" + "src": "2666:4:0" } ], "id": 174, "name": "Assignment", - "src": "1458:29:0" + "src": "2641:29:0" } ], "id": 175, "name": "ExpressionStatement", - "src": "1458:29:0" + "src": "2641:29:0" }, { "attributes": { @@ -19094,7 +19069,7 @@ "scope": 201, "stateVariable": false, "storageLocation": "memory", - "type": "struct CryptoBoys.CryptoBoy", + "type": "struct BscBoys.CryptoBoy", "visibility": "internal" }, "children": [ @@ -19102,16 +19077,16 @@ "attributes": { "name": "CryptoBoy", "referencedDeclaration": 30, - "type": "struct CryptoBoys.CryptoBoy" + "type": "struct BscBoys.CryptoBoy" }, "id": 176, "name": "UserDefinedTypeName", - "src": "1494:9:0" + "src": "2742:9:0" } ], "id": 177, "name": "VariableDeclaration", - "src": "1494:29:0" + "src": "2742:29:0" }, { "attributes": { @@ -19124,7 +19099,7 @@ null ], "tryCall": false, - "type": "struct CryptoBoys.CryptoBoy memory", + "type": "struct BscBoys.CryptoBoy memory", "type_conversion": false }, "children": [ @@ -19172,12 +19147,12 @@ null ], "referencedDeclaration": 30, - "type": "type(struct CryptoBoys.CryptoBoy storage pointer)", + "type": "type(struct BscBoys.CryptoBoy storage pointer)", "value": "CryptoBoy" }, "id": 178, "name": "Identifier", - "src": "1526:9:0" + "src": "2774:9:0" }, { "attributes": { @@ -19190,7 +19165,7 @@ }, "id": 179, "name": "Identifier", - "src": "1541:16:0" + "src": "2790:16:0" }, { "attributes": { @@ -19203,7 +19178,7 @@ }, "id": 180, "name": "Identifier", - "src": "1563:5:0" + "src": "2813:5:0" }, { "attributes": { @@ -19216,7 +19191,7 @@ }, "id": 181, "name": "Identifier", - "src": "1574:9:0" + "src": "2825:9:0" }, { "attributes": { @@ -19239,12 +19214,12 @@ }, "id": 182, "name": "Identifier", - "src": "1589:3:0" + "src": "2841:3:0" } ], "id": 183, "name": "MemberAccess", - "src": "1589:10:0" + "src": "2841:10:0" }, { "attributes": { @@ -19267,12 +19242,12 @@ }, "id": 184, "name": "Identifier", - "src": "1605:3:0" + "src": "2858:3:0" } ], "id": 185, "name": "MemberAccess", - "src": "1605:10:0" + "src": "2858:10:0" }, { "attributes": { @@ -19310,12 +19285,12 @@ }, "id": 186, "name": "ElementaryTypeName", - "src": "1621:7:0" + "src": "2875:7:0" } ], "id": 187, "name": "ElementaryTypeNameExpression", - "src": "1621:7:0" + "src": "2875:7:0" }, { "attributes": { @@ -19330,12 +19305,12 @@ }, "id": 188, "name": "Literal", - "src": "1629:1:0" + "src": "2883:1:0" } ], "id": 189, "name": "FunctionCall", - "src": "1621:10:0" + "src": "2875:10:0" }, { "attributes": { @@ -19348,7 +19323,7 @@ }, "id": 190, "name": "Identifier", - "src": "1637:6:0" + "src": "2892:6:0" }, { "attributes": { @@ -19363,7 +19338,7 @@ }, "id": 191, "name": "Literal", - "src": "1649:1:0" + "src": "2905:1:0" }, { "attributes": { @@ -19378,17 +19353,17 @@ }, "id": 192, "name": "Literal", - "src": "1656:4:0" + "src": "2913:4:0" } ], "id": 193, "name": "FunctionCall", - "src": "1526:135:0" + "src": "2774:144:0" } ], "id": 194, "name": "VariableDeclarationStatement", - "src": "1494:167:0" + "src": "2742:176:0" }, { "children": [ @@ -19399,7 +19374,7 @@ "isPure": false, "lValueRequested": false, "operator": "=", - "type": "struct CryptoBoys.CryptoBoy storage ref" + "type": "struct BscBoys.CryptoBoy storage ref" }, "children": [ { @@ -19408,7 +19383,7 @@ "isLValue": true, "isPure": false, "lValueRequested": true, - "type": "struct CryptoBoys.CryptoBoy storage ref" + "type": "struct BscBoys.CryptoBoy storage ref" }, "children": [ { @@ -19417,12 +19392,12 @@ null ], "referencedDeclaration": 34, - "type": "mapping(uint256 => struct CryptoBoys.CryptoBoy storage ref)", - "value": "allCryptoBoys" + "type": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)", + "value": "allBscBoys" }, "id": 195, "name": "Identifier", - "src": "1667:13:0" + "src": "2997:13:0" }, { "attributes": { @@ -19435,12 +19410,12 @@ }, "id": 196, "name": "Identifier", - "src": "1681:16:0" + "src": "3011:16:0" } ], "id": 197, "name": "IndexAccess", - "src": "1667:31:0" + "src": "2997:31:0" }, { "attributes": { @@ -19448,32 +19423,32 @@ null ], "referencedDeclaration": 177, - "type": "struct CryptoBoys.CryptoBoy memory", + "type": "struct BscBoys.CryptoBoy memory", "value": "newCryptoBoy" }, "id": 198, "name": "Identifier", - "src": "1701:12:0" + "src": "3031:12:0" } ], "id": 199, "name": "Assignment", - "src": "1667:46:0" + "src": "2997:46:0" } ], "id": 200, "name": "ExpressionStatement", - "src": "1667:46:0" + "src": "2997:46:0" } ], "id": 201, "name": "Block", - "src": "960:758:0" + "src": "1477:1572:0" } ], "id": 202, "name": "FunctionDefinition", - "src": "839:879:0" + "src": "1356:1693:0" }, { "attributes": { @@ -19512,17 +19487,17 @@ }, "id": 203, "name": "ElementaryTypeName", - "src": "1745:7:0" + "src": "3107:7:0" } ], "id": 204, "name": "VariableDeclaration", - "src": "1745:16:0" + "src": "3107:16:0" } ], "id": 205, "name": "ParameterList", - "src": "1744:18:0" + "src": "3106:18:0" }, { "children": [ @@ -19546,17 +19521,17 @@ }, "id": 206, "name": "ElementaryTypeName", - "src": "1783:7:0" + "src": "3145:7:0" } ], "id": 207, "name": "VariableDeclaration", - "src": "1783:7:0" + "src": "3145:7:0" } ], "id": 208, "name": "ParameterList", - "src": "1782:9:0" + "src": "3144:9:0" }, { "children": [ @@ -19587,12 +19562,12 @@ }, "id": 209, "name": "ElementaryTypeName", - "src": "1798:7:0" + "src": "3161:7:0" } ], "id": 210, "name": "VariableDeclaration", - "src": "1798:19:0" + "src": "3161:19:0" }, { "attributes": { @@ -19626,7 +19601,7 @@ }, "id": 211, "name": "Identifier", - "src": "1820:7:0" + "src": "3183:7:0" }, { "attributes": { @@ -19639,17 +19614,17 @@ }, "id": 212, "name": "Identifier", - "src": "1828:8:0" + "src": "3191:8:0" } ], "id": 213, "name": "FunctionCall", - "src": "1820:17:0" + "src": "3183:17:0" } ], "id": 214, "name": "VariableDeclarationStatement", - "src": "1798:39:0" + "src": "3161:39:0" }, { "attributes": { @@ -19667,22 +19642,22 @@ }, "id": 215, "name": "Identifier", - "src": "1850:11:0" + "src": "3214:11:0" } ], "id": 216, "name": "Return", - "src": "1843:18:0" + "src": "3207:18:0" } ], "id": 217, "name": "Block", - "src": "1792:74:0" + "src": "3154:77:0" } ], "id": 218, "name": "FunctionDefinition", - "src": "1722:144:0" + "src": "3084:147:0" }, { "attributes": { @@ -19721,17 +19696,17 @@ }, "id": 219, "name": "ElementaryTypeName", - "src": "1896:4:0" + "src": "3295:4:0" } ], "id": 220, "name": "VariableDeclaration", - "src": "1896:13:0" + "src": "3295:13:0" } ], "id": 221, "name": "ParameterList", - "src": "1895:15:0" + "src": "3294:15:0" }, { "children": [ @@ -19754,17 +19729,17 @@ }, "id": 222, "name": "ElementaryTypeName", - "src": "1931:6:0" + "src": "3330:6:0" } ], "id": 223, "name": "VariableDeclaration", - "src": "1931:13:0" + "src": "3330:13:0" } ], "id": 224, "name": "ParameterList", - "src": "1930:15:0" + "src": "3329:15:0" }, { "children": [ @@ -19794,12 +19769,12 @@ }, "id": 225, "name": "ElementaryTypeName", - "src": "1952:6:0" + "src": "3352:6:0" } ], "id": 226, "name": "VariableDeclaration", - "src": "1952:27:0" + "src": "3352:27:0" }, { "attributes": { @@ -19833,7 +19808,7 @@ }, "id": 227, "name": "Identifier", - "src": "1982:8:0" + "src": "3382:8:0" }, { "attributes": { @@ -19846,17 +19821,17 @@ }, "id": 228, "name": "Identifier", - "src": "1991:8:0" + "src": "3391:8:0" } ], "id": 229, "name": "FunctionCall", - "src": "1982:18:0" + "src": "3382:18:0" } ], "id": 230, "name": "VariableDeclarationStatement", - "src": "1952:48:0" + "src": "3352:48:0" }, { "attributes": { @@ -19874,22 +19849,22 @@ }, "id": 231, "name": "Identifier", - "src": "2013:13:0" + "src": "3414:13:0" } ], "id": 232, "name": "Return", - "src": "2006:20:0" + "src": "3407:20:0" } ], "id": 233, "name": "Block", - "src": "1946:85:0" + "src": "3345:88:0" } ], "id": 234, "name": "FunctionDefinition", - "src": "1870:161:0" + "src": "3269:164:0" }, { "attributes": { @@ -19916,7 +19891,7 @@ "children": [], "id": 235, "name": "ParameterList", - "src": "2067:2:0" + "src": "3518:2:0" }, { "children": [ @@ -19939,17 +19914,17 @@ }, "id": 236, "name": "ElementaryTypeName", - "src": "2090:7:0" + "src": "3541:7:0" } ], "id": 237, "name": "VariableDeclaration", - "src": "2090:7:0" + "src": "3541:7:0" } ], "id": 238, "name": "ParameterList", - "src": "2089:9:0" + "src": "3540:9:0" }, { "children": [ @@ -19979,12 +19954,12 @@ }, "id": 239, "name": "ElementaryTypeName", - "src": "2105:7:0" + "src": "3557:7:0" } ], "id": 240, "name": "VariableDeclaration", - "src": "2105:33:0" + "src": "3557:33:0" }, { "attributes": { @@ -20018,17 +19993,17 @@ }, "id": 241, "name": "Identifier", - "src": "2141:11:0" + "src": "3593:11:0" } ], "id": 242, "name": "FunctionCall", - "src": "2141:13:0" + "src": "3593:13:0" } ], "id": 243, "name": "VariableDeclarationStatement", - "src": "2105:49:0" + "src": "3557:49:0" }, { "attributes": { @@ -20046,22 +20021,22 @@ }, "id": 244, "name": "Identifier", - "src": "2167:25:0" + "src": "3620:25:0" } ], "id": 245, "name": "Return", - "src": "2160:32:0" + "src": "3613:32:0" } ], "id": 246, "name": "Block", - "src": "2099:98:0" + "src": "3550:101:0" } ], "id": 247, "name": "FunctionDefinition", - "src": "2035:162:0" + "src": "3486:165:0" }, { "attributes": { @@ -20101,17 +20076,17 @@ }, "id": 248, "name": "ElementaryTypeName", - "src": "2249:7:0" + "src": "3758:7:0" } ], "id": 249, "name": "VariableDeclaration", - "src": "2249:14:0" + "src": "3758:14:0" } ], "id": 250, "name": "ParameterList", - "src": "2248:16:0" + "src": "3757:16:0" }, { "children": [ @@ -20134,17 +20109,17 @@ }, "id": 251, "name": "ElementaryTypeName", - "src": "2285:7:0" + "src": "3794:7:0" } ], "id": 252, "name": "VariableDeclaration", - "src": "2285:7:0" + "src": "3794:7:0" } ], "id": 253, "name": "ParameterList", - "src": "2284:9:0" + "src": "3793:9:0" }, { "children": [ @@ -20174,12 +20149,12 @@ }, "id": 254, "name": "ElementaryTypeName", - "src": "2300:7:0" + "src": "3810:7:0" } ], "id": 255, "name": "VariableDeclaration", - "src": "2300:32:0" + "src": "3810:32:0" }, { "attributes": { @@ -20213,7 +20188,7 @@ }, "id": 256, "name": "Identifier", - "src": "2335:9:0" + "src": "3845:9:0" }, { "attributes": { @@ -20226,17 +20201,17 @@ }, "id": 257, "name": "Identifier", - "src": "2345:6:0" + "src": "3855:6:0" } ], "id": 258, "name": "FunctionCall", - "src": "2335:17:0" + "src": "3845:17:0" } ], "id": 259, "name": "VariableDeclarationStatement", - "src": "2300:52:0" + "src": "3810:52:0" }, { "attributes": { @@ -20254,22 +20229,22 @@ }, "id": 260, "name": "Identifier", - "src": "2365:24:0" + "src": "3876:24:0" } ], "id": 261, "name": "Return", - "src": "2358:31:0" + "src": "3869:31:0" } ], "id": 262, "name": "Block", - "src": "2294:100:0" + "src": "3803:103:0" } ], "id": 263, "name": "FunctionDefinition", - "src": "2201:193:0" + "src": "3710:196:0" }, { "attributes": { @@ -20308,17 +20283,17 @@ }, "id": 264, "name": "ElementaryTypeName", - "src": "2422:7:0" + "src": "3976:7:0" } ], "id": 265, "name": "VariableDeclaration", - "src": "2422:16:0" + "src": "3976:16:0" } ], "id": 266, "name": "ParameterList", - "src": "2421:18:0" + "src": "3975:18:0" }, { "children": [ @@ -20341,17 +20316,17 @@ }, "id": 267, "name": "ElementaryTypeName", - "src": "2460:4:0" + "src": "4014:4:0" } ], "id": 268, "name": "VariableDeclaration", - "src": "2460:4:0" + "src": "4014:4:0" } ], "id": 269, "name": "ParameterList", - "src": "2459:6:0" + "src": "4013:6:0" }, { "children": [ @@ -20381,12 +20356,12 @@ }, "id": 270, "name": "ElementaryTypeName", - "src": "2472:4:0" + "src": "4027:4:0" } ], "id": 271, "name": "VariableDeclaration", - "src": "2472:16:0" + "src": "4027:16:0" }, { "attributes": { @@ -20420,7 +20395,7 @@ }, "id": 272, "name": "Identifier", - "src": "2491:7:0" + "src": "4046:7:0" }, { "attributes": { @@ -20433,17 +20408,17 @@ }, "id": 273, "name": "Identifier", - "src": "2499:8:0" + "src": "4054:8:0" } ], "id": 274, "name": "FunctionCall", - "src": "2491:17:0" + "src": "4046:17:0" } ], "id": 275, "name": "VariableDeclarationStatement", - "src": "2472:36:0" + "src": "4027:36:0" }, { "attributes": { @@ -20461,22 +20436,22 @@ }, "id": 276, "name": "Identifier", - "src": "2521:11:0" + "src": "4077:11:0" } ], "id": 277, "name": "Return", - "src": "2514:18:0" + "src": "4070:18:0" } ], "id": 278, "name": "Block", - "src": "2466:71:0" + "src": "4020:74:0" } ], "id": 279, "name": "FunctionDefinition", - "src": "2398:139:0" + "src": "3952:142:0" }, { "attributes": { @@ -20515,17 +20490,17 @@ }, "id": 280, "name": "ElementaryTypeName", - "src": "2559:7:0" + "src": "4164:7:0" } ], "id": 281, "name": "VariableDeclaration", - "src": "2559:16:0" + "src": "4164:16:0" } ], "id": 282, "name": "ParameterList", - "src": "2558:18:0" + "src": "4163:18:0" }, { "attributes": { @@ -20536,7 +20511,7 @@ "children": [], "id": 283, "name": "ParameterList", - "src": "2592:0:0" + "src": "4197:0:0" }, { "children": [ @@ -20575,7 +20550,7 @@ }, "id": 284, "name": "Identifier", - "src": "2598:7:0" + "src": "4272:7:0" }, { "attributes": { @@ -20612,12 +20587,12 @@ }, "id": 285, "name": "Identifier", - "src": "2606:3:0" + "src": "4280:3:0" } ], "id": 286, "name": "MemberAccess", - "src": "2606:10:0" + "src": "4280:10:0" }, { "attributes": { @@ -20655,12 +20630,12 @@ }, "id": 287, "name": "ElementaryTypeName", - "src": "2620:7:0" + "src": "4294:7:0" } ], "id": 288, "name": "ElementaryTypeNameExpression", - "src": "2620:7:0" + "src": "4294:7:0" }, { "attributes": { @@ -20675,27 +20650,27 @@ }, "id": 289, "name": "Literal", - "src": "2628:1:0" + "src": "4302:1:0" } ], "id": 290, "name": "FunctionCall", - "src": "2620:10:0" + "src": "4294:10:0" } ], "id": 291, "name": "BinaryOperation", - "src": "2606:24:0" + "src": "4280:24:0" } ], "id": 292, "name": "FunctionCall", - "src": "2598:33:0" + "src": "4272:33:0" } ], "id": 293, "name": "ExpressionStatement", - "src": "2598:33:0" + "src": "4272:33:0" }, { "children": [ @@ -20732,7 +20707,7 @@ }, "id": 294, "name": "Identifier", - "src": "2637:7:0" + "src": "4382:7:0" }, { "attributes": { @@ -20766,7 +20741,7 @@ }, "id": 295, "name": "Identifier", - "src": "2645:7:0" + "src": "4390:7:0" }, { "attributes": { @@ -20779,22 +20754,22 @@ }, "id": 296, "name": "Identifier", - "src": "2653:8:0" + "src": "4398:8:0" } ], "id": 297, "name": "FunctionCall", - "src": "2645:17:0" + "src": "4390:17:0" } ], "id": 298, "name": "FunctionCall", - "src": "2637:26:0" + "src": "4382:26:0" } ], "id": 299, "name": "ExpressionStatement", - "src": "2637:26:0" + "src": "4382:26:0" }, { "attributes": { @@ -20823,12 +20798,12 @@ }, "id": 300, "name": "ElementaryTypeName", - "src": "2669:7:0" + "src": "4445:7:0" } ], "id": 301, "name": "VariableDeclaration", - "src": "2669:18:0" + "src": "4445:18:0" }, { "attributes": { @@ -20862,7 +20837,7 @@ }, "id": 302, "name": "Identifier", - "src": "2690:7:0" + "src": "4466:7:0" }, { "attributes": { @@ -20875,17 +20850,17 @@ }, "id": 303, "name": "Identifier", - "src": "2698:8:0" + "src": "4474:8:0" } ], "id": 304, "name": "FunctionCall", - "src": "2690:17:0" + "src": "4466:17:0" } ], "id": 305, "name": "VariableDeclarationStatement", - "src": "2669:38:0" + "src": "4445:38:0" }, { "children": [ @@ -20922,7 +20897,7 @@ }, "id": 306, "name": "Identifier", - "src": "2713:7:0" + "src": "4550:7:0" }, { "attributes": { @@ -20949,7 +20924,7 @@ }, "id": 307, "name": "Identifier", - "src": "2721:10:0" + "src": "4558:10:0" }, { "attributes": { @@ -20987,12 +20962,12 @@ }, "id": 308, "name": "ElementaryTypeName", - "src": "2735:7:0" + "src": "4572:7:0" } ], "id": 309, "name": "ElementaryTypeNameExpression", - "src": "2735:7:0" + "src": "4572:7:0" }, { "attributes": { @@ -21007,27 +20982,27 @@ }, "id": 310, "name": "Literal", - "src": "2743:1:0" + "src": "4580:1:0" } ], "id": 311, "name": "FunctionCall", - "src": "2735:10:0" + "src": "4572:10:0" } ], "id": 312, "name": "BinaryOperation", - "src": "2721:24:0" + "src": "4558:24:0" } ], "id": 313, "name": "FunctionCall", - "src": "2713:33:0" + "src": "4550:33:0" } ], "id": 314, "name": "ExpressionStatement", - "src": "2713:33:0" + "src": "4550:33:0" }, { "children": [ @@ -21064,7 +21039,7 @@ }, "id": 315, "name": "Identifier", - "src": "2752:7:0" + "src": "4665:7:0" }, { "attributes": { @@ -21091,7 +21066,7 @@ }, "id": 316, "name": "Identifier", - "src": "2760:10:0" + "src": "4673:10:0" }, { "attributes": { @@ -21114,27 +21089,27 @@ }, "id": 317, "name": "Identifier", - "src": "2774:3:0" + "src": "4687:3:0" } ], "id": 318, "name": "MemberAccess", - "src": "2774:10:0" + "src": "4687:10:0" } ], "id": 319, "name": "BinaryOperation", - "src": "2760:24:0" + "src": "4673:24:0" } ], "id": 320, "name": "FunctionCall", - "src": "2752:33:0" + "src": "4665:33:0" } ], "id": 321, "name": "ExpressionStatement", - "src": "2752:33:0" + "src": "4665:33:0" }, { "attributes": { @@ -21151,7 +21126,7 @@ "scope": 386, "stateVariable": false, "storageLocation": "memory", - "type": "struct CryptoBoys.CryptoBoy", + "type": "struct BscBoys.CryptoBoy", "visibility": "internal" }, "children": [ @@ -21159,16 +21134,16 @@ "attributes": { "name": "CryptoBoy", "referencedDeclaration": 30, - "type": "struct CryptoBoys.CryptoBoy" + "type": "struct BscBoys.CryptoBoy" }, "id": 322, "name": "UserDefinedTypeName", - "src": "2791:9:0" + "src": "4816:9:0" } ], "id": 323, "name": "VariableDeclaration", - "src": "2791:26:0" + "src": "4816:26:0" }, { "attributes": { @@ -21176,7 +21151,7 @@ "isLValue": true, "isPure": false, "lValueRequested": false, - "type": "struct CryptoBoys.CryptoBoy storage ref" + "type": "struct BscBoys.CryptoBoy storage ref" }, "children": [ { @@ -21185,12 +21160,12 @@ null ], "referencedDeclaration": 34, - "type": "mapping(uint256 => struct CryptoBoys.CryptoBoy storage ref)", - "value": "allCryptoBoys" + "type": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)", + "value": "allBscBoys" }, "id": 324, "name": "Identifier", - "src": "2820:13:0" + "src": "4845:13:0" }, { "attributes": { @@ -21203,17 +21178,17 @@ }, "id": 325, "name": "Identifier", - "src": "2834:8:0" + "src": "4859:8:0" } ], "id": 326, "name": "IndexAccess", - "src": "2820:23:0" + "src": "4845:23:0" } ], "id": 327, "name": "VariableDeclarationStatement", - "src": "2791:52:0" + "src": "4816:52:0" }, { "children": [ @@ -21250,7 +21225,7 @@ }, "id": 328, "name": "Identifier", - "src": "2849:7:0" + "src": "4954:7:0" }, { "attributes": { @@ -21287,12 +21262,12 @@ }, "id": 329, "name": "Identifier", - "src": "2857:3:0" + "src": "4962:3:0" } ], "id": 330, "name": "MemberAccess", - "src": "2857:9:0" + "src": "4962:9:0" }, { "attributes": { @@ -21311,32 +21286,32 @@ null ], "referencedDeclaration": 323, - "type": "struct CryptoBoys.CryptoBoy memory", + "type": "struct BscBoys.CryptoBoy memory", "value": "cryptoboy" }, "id": 331, "name": "Identifier", - "src": "2870:9:0" + "src": "4975:9:0" } ], "id": 332, "name": "MemberAccess", - "src": "2870:15:0" + "src": "4975:15:0" } ], "id": 333, "name": "BinaryOperation", - "src": "2857:28:0" + "src": "4962:28:0" } ], "id": 334, "name": "FunctionCall", - "src": "2849:37:0" + "src": "4954:37:0" } ], "id": 335, "name": "ExpressionStatement", - "src": "2849:37:0" + "src": "4954:37:0" }, { "children": [ @@ -21373,7 +21348,7 @@ }, "id": 336, "name": "Identifier", - "src": "2892:7:0" + "src": "5031:7:0" }, { "attributes": { @@ -21392,27 +21367,27 @@ null ], "referencedDeclaration": 323, - "type": "struct CryptoBoys.CryptoBoy memory", + "type": "struct BscBoys.CryptoBoy memory", "value": "cryptoboy" }, "id": 337, "name": "Identifier", - "src": "2900:9:0" + "src": "5039:9:0" } ], "id": 338, "name": "MemberAccess", - "src": "2900:17:0" + "src": "5039:17:0" } ], "id": 339, "name": "FunctionCall", - "src": "2892:26:0" + "src": "5031:26:0" } ], "id": 340, "name": "ExpressionStatement", - "src": "2892:26:0" + "src": "5031:26:0" }, { "children": [ @@ -21456,7 +21431,7 @@ }, "id": 341, "name": "Identifier", - "src": "2924:9:0" + "src": "5140:9:0" }, { "attributes": { @@ -21469,7 +21444,7 @@ }, "id": 342, "name": "Identifier", - "src": "2934:10:0" + "src": "5150:10:0" }, { "attributes": { @@ -21492,12 +21467,12 @@ }, "id": 343, "name": "Identifier", - "src": "2946:3:0" + "src": "5162:3:0" } ], "id": 344, "name": "MemberAccess", - "src": "2946:10:0" + "src": "5162:10:0" }, { "attributes": { @@ -21510,17 +21485,17 @@ }, "id": 345, "name": "Identifier", - "src": "2958:8:0" + "src": "5174:8:0" } ], "id": 346, "name": "FunctionCall", - "src": "2924:43:0" + "src": "5140:43:0" } ], "id": 347, "name": "ExpressionStatement", - "src": "2924:43:0" + "src": "5140:43:0" }, { "attributes": { @@ -21549,12 +21524,12 @@ }, "id": 348, "name": "ElementaryTypeName", - "src": "2973:15:0" + "src": "5221:15:0" } ], "id": 349, "name": "VariableDeclaration", - "src": "2973:22:0" + "src": "5221:22:0" }, { "attributes": { @@ -21573,22 +21548,22 @@ null ], "referencedDeclaration": 323, - "type": "struct CryptoBoys.CryptoBoy memory", + "type": "struct BscBoys.CryptoBoy memory", "value": "cryptoboy" }, "id": 350, "name": "Identifier", - "src": "2998:9:0" + "src": "5246:9:0" } ], "id": 351, "name": "MemberAccess", - "src": "2998:22:0" + "src": "5246:22:0" } ], "id": 352, "name": "VariableDeclarationStatement", - "src": "2973:47:0" + "src": "5221:47:0" }, { "children": [ @@ -21634,12 +21609,12 @@ }, "id": 353, "name": "Identifier", - "src": "3026:6:0" + "src": "5325:6:0" } ], "id": 355, "name": "MemberAccess", - "src": "3026:15:0" + "src": "5325:15:0" }, { "attributes": { @@ -21662,22 +21637,22 @@ }, "id": 356, "name": "Identifier", - "src": "3042:3:0" + "src": "5341:3:0" } ], "id": 357, "name": "MemberAccess", - "src": "3042:9:0" + "src": "5341:9:0" } ], "id": 358, "name": "FunctionCall", - "src": "3026:26:0" + "src": "5325:26:0" } ], "id": 359, "name": "ExpressionStatement", - "src": "3026:26:0" + "src": "5325:26:0" }, { "children": [ @@ -21708,17 +21683,17 @@ null ], "referencedDeclaration": 323, - "type": "struct CryptoBoys.CryptoBoy memory", + "type": "struct BscBoys.CryptoBoy memory", "value": "cryptoboy" }, "id": 360, "name": "Identifier", - "src": "3058:9:0" + "src": "5400:9:0" } ], "id": 362, "name": "MemberAccess", - "src": "3058:23:0" + "src": "5400:23:0" }, { "attributes": { @@ -21737,27 +21712,27 @@ null ], "referencedDeclaration": 323, - "type": "struct CryptoBoys.CryptoBoy memory", + "type": "struct BscBoys.CryptoBoy memory", "value": "cryptoboy" }, "id": 363, "name": "Identifier", - "src": "3084:9:0" + "src": "5426:9:0" } ], "id": 364, "name": "MemberAccess", - "src": "3084:22:0" + "src": "5426:22:0" } ], "id": 365, "name": "Assignment", - "src": "3058:48:0" + "src": "5400:48:0" } ], "id": 366, "name": "ExpressionStatement", - "src": "3058:48:0" + "src": "5400:48:0" }, { "children": [ @@ -21788,17 +21763,17 @@ null ], "referencedDeclaration": 323, - "type": "struct CryptoBoys.CryptoBoy memory", + "type": "struct BscBoys.CryptoBoy memory", "value": "cryptoboy" }, "id": 367, "name": "Identifier", - "src": "3112:9:0" + "src": "5496:9:0" } ], "id": 369, "name": "MemberAccess", - "src": "3112:22:0" + "src": "5496:22:0" }, { "attributes": { @@ -21821,22 +21796,22 @@ }, "id": 370, "name": "Identifier", - "src": "3137:3:0" + "src": "5521:3:0" } ], "id": 371, "name": "MemberAccess", - "src": "3137:10:0" + "src": "5521:10:0" } ], "id": 372, "name": "Assignment", - "src": "3112:35:0" + "src": "5496:35:0" } ], "id": 373, "name": "ExpressionStatement", - "src": "3112:35:0" + "src": "5496:35:0" }, { "children": [ @@ -21867,17 +21842,17 @@ null ], "referencedDeclaration": 323, - "type": "struct CryptoBoys.CryptoBoy memory", + "type": "struct BscBoys.CryptoBoy memory", "value": "cryptoboy" }, "id": 374, "name": "Identifier", - "src": "3153:9:0" + "src": "5598:9:0" } ], "id": 376, "name": "MemberAccess", - "src": "3153:27:0" + "src": "5598:27:0" }, { "attributes": { @@ -21892,17 +21867,17 @@ }, "id": 377, "name": "Literal", - "src": "3184:1:0" + "src": "5629:1:0" } ], "id": 378, "name": "Assignment", - "src": "3153:32:0" + "src": "5598:32:0" } ], "id": 379, "name": "ExpressionStatement", - "src": "3153:32:0" + "src": "5598:32:0" }, { "children": [ @@ -21913,7 +21888,7 @@ "isPure": false, "lValueRequested": false, "operator": "=", - "type": "struct CryptoBoys.CryptoBoy storage ref" + "type": "struct BscBoys.CryptoBoy storage ref" }, "children": [ { @@ -21922,7 +21897,7 @@ "isLValue": true, "isPure": false, "lValueRequested": true, - "type": "struct CryptoBoys.CryptoBoy storage ref" + "type": "struct BscBoys.CryptoBoy storage ref" }, "children": [ { @@ -21931,12 +21906,12 @@ null ], "referencedDeclaration": 34, - "type": "mapping(uint256 => struct CryptoBoys.CryptoBoy storage ref)", - "value": "allCryptoBoys" + "type": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)", + "value": "allBscBoys" }, "id": 380, "name": "Identifier", - "src": "3191:13:0" + "src": "5686:13:0" }, { "attributes": { @@ -21949,12 +21924,12 @@ }, "id": 381, "name": "Identifier", - "src": "3205:8:0" + "src": "5700:8:0" } ], "id": 382, "name": "IndexAccess", - "src": "3191:23:0" + "src": "5686:23:0" }, { "attributes": { @@ -21962,32 +21937,32 @@ null ], "referencedDeclaration": 323, - "type": "struct CryptoBoys.CryptoBoy memory", + "type": "struct BscBoys.CryptoBoy memory", "value": "cryptoboy" }, "id": 383, "name": "Identifier", - "src": "3217:9:0" + "src": "5712:9:0" } ], "id": 384, "name": "Assignment", - "src": "3191:35:0" + "src": "5686:35:0" } ], "id": 385, "name": "ExpressionStatement", - "src": "3191:35:0" + "src": "5686:35:0" } ], "id": 386, "name": "Block", - "src": "2592:639:0" + "src": "4197:1530:0" } ], "id": 387, "name": "FunctionDefinition", - "src": "2541:690:0" + "src": "4146:1581:0" }, { "attributes": { @@ -22026,12 +22001,12 @@ }, "id": 388, "name": "ElementaryTypeName", - "src": "3261:7:0" + "src": "5759:7:0" } ], "id": 389, "name": "VariableDeclaration", - "src": "3261:16:0" + "src": "5759:16:0" }, { "attributes": { @@ -22052,17 +22027,17 @@ }, "id": 390, "name": "ElementaryTypeName", - "src": "3279:7:0" + "src": "5777:7:0" } ], "id": 391, "name": "VariableDeclaration", - "src": "3279:17:0" + "src": "5777:17:0" } ], "id": 392, "name": "ParameterList", - "src": "3260:37:0" + "src": "5758:37:0" }, { "attributes": { @@ -22073,7 +22048,7 @@ "children": [], "id": 393, "name": "ParameterList", - "src": "3305:0:0" + "src": "5803:0:0" }, { "children": [ @@ -22112,7 +22087,7 @@ }, "id": 394, "name": "Identifier", - "src": "3311:7:0" + "src": "5873:7:0" }, { "attributes": { @@ -22149,12 +22124,12 @@ }, "id": 395, "name": "Identifier", - "src": "3319:3:0" + "src": "5881:3:0" } ], "id": 396, "name": "MemberAccess", - "src": "3319:10:0" + "src": "5881:10:0" }, { "attributes": { @@ -22192,12 +22167,12 @@ }, "id": 397, "name": "ElementaryTypeName", - "src": "3333:7:0" + "src": "5895:7:0" } ], "id": 398, "name": "ElementaryTypeNameExpression", - "src": "3333:7:0" + "src": "5895:7:0" }, { "attributes": { @@ -22212,27 +22187,27 @@ }, "id": 399, "name": "Literal", - "src": "3341:1:0" + "src": "5903:1:0" } ], "id": 400, "name": "FunctionCall", - "src": "3333:10:0" + "src": "5895:10:0" } ], "id": 401, "name": "BinaryOperation", - "src": "3319:24:0" + "src": "5881:24:0" } ], "id": 402, "name": "FunctionCall", - "src": "3311:33:0" + "src": "5873:33:0" } ], "id": 403, "name": "ExpressionStatement", - "src": "3311:33:0" + "src": "5873:33:0" }, { "children": [ @@ -22269,7 +22244,7 @@ }, "id": 404, "name": "Identifier", - "src": "3350:7:0" + "src": "5953:7:0" }, { "attributes": { @@ -22303,7 +22278,7 @@ }, "id": 405, "name": "Identifier", - "src": "3358:7:0" + "src": "5961:7:0" }, { "attributes": { @@ -22316,22 +22291,22 @@ }, "id": 406, "name": "Identifier", - "src": "3366:8:0" + "src": "5969:8:0" } ], "id": 407, "name": "FunctionCall", - "src": "3358:17:0" + "src": "5961:17:0" } ], "id": 408, "name": "FunctionCall", - "src": "3350:26:0" + "src": "5953:26:0" } ], "id": 409, "name": "ExpressionStatement", - "src": "3350:26:0" + "src": "5953:26:0" }, { "attributes": { @@ -22360,12 +22335,12 @@ }, "id": 410, "name": "ElementaryTypeName", - "src": "3382:7:0" + "src": "6016:7:0" } ], "id": 411, "name": "VariableDeclaration", - "src": "3382:18:0" + "src": "6016:18:0" }, { "attributes": { @@ -22399,7 +22374,7 @@ }, "id": 412, "name": "Identifier", - "src": "3403:7:0" + "src": "6037:7:0" }, { "attributes": { @@ -22412,17 +22387,17 @@ }, "id": 413, "name": "Identifier", - "src": "3411:8:0" + "src": "6045:8:0" } ], "id": 414, "name": "FunctionCall", - "src": "3403:17:0" + "src": "6037:17:0" } ], "id": 415, "name": "VariableDeclarationStatement", - "src": "3382:38:0" + "src": "6016:38:0" }, { "children": [ @@ -22459,7 +22434,7 @@ }, "id": 416, "name": "Identifier", - "src": "3426:7:0" + "src": "6140:7:0" }, { "attributes": { @@ -22486,7 +22461,7 @@ }, "id": 417, "name": "Identifier", - "src": "3434:10:0" + "src": "6148:10:0" }, { "attributes": { @@ -22509,27 +22484,27 @@ }, "id": 418, "name": "Identifier", - "src": "3448:3:0" + "src": "6162:3:0" } ], "id": 419, "name": "MemberAccess", - "src": "3448:10:0" + "src": "6162:10:0" } ], "id": 420, "name": "BinaryOperation", - "src": "3434:24:0" + "src": "6148:24:0" } ], "id": 421, "name": "FunctionCall", - "src": "3426:33:0" + "src": "6140:33:0" } ], "id": 422, "name": "ExpressionStatement", - "src": "3426:33:0" + "src": "6140:33:0" }, { "attributes": { @@ -22546,7 +22521,7 @@ "scope": 441, "stateVariable": false, "storageLocation": "memory", - "type": "struct CryptoBoys.CryptoBoy", + "type": "struct BscBoys.CryptoBoy", "visibility": "internal" }, "children": [ @@ -22554,16 +22529,16 @@ "attributes": { "name": "CryptoBoy", "referencedDeclaration": 30, - "type": "struct CryptoBoys.CryptoBoy" + "type": "struct BscBoys.CryptoBoy" }, "id": 423, "name": "UserDefinedTypeName", - "src": "3465:9:0" + "src": "6291:9:0" } ], "id": 424, "name": "VariableDeclaration", - "src": "3465:26:0" + "src": "6291:26:0" }, { "attributes": { @@ -22571,7 +22546,7 @@ "isLValue": true, "isPure": false, "lValueRequested": false, - "type": "struct CryptoBoys.CryptoBoy storage ref" + "type": "struct BscBoys.CryptoBoy storage ref" }, "children": [ { @@ -22580,12 +22555,12 @@ null ], "referencedDeclaration": 34, - "type": "mapping(uint256 => struct CryptoBoys.CryptoBoy storage ref)", - "value": "allCryptoBoys" + "type": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)", + "value": "allBscBoys" }, "id": 425, "name": "Identifier", - "src": "3494:13:0" + "src": "6320:13:0" }, { "attributes": { @@ -22598,17 +22573,17 @@ }, "id": 426, "name": "Identifier", - "src": "3508:8:0" + "src": "6334:8:0" } ], "id": 427, "name": "IndexAccess", - "src": "3494:23:0" + "src": "6320:23:0" } ], "id": 428, "name": "VariableDeclarationStatement", - "src": "3465:52:0" + "src": "6291:52:0" }, { "children": [ @@ -22639,17 +22614,17 @@ null ], "referencedDeclaration": 424, - "type": "struct CryptoBoys.CryptoBoy memory", + "type": "struct BscBoys.CryptoBoy memory", "value": "cryptoboy" }, "id": 429, "name": "Identifier", - "src": "3523:9:0" + "src": "6394:9:0" } ], "id": 431, "name": "MemberAccess", - "src": "3523:15:0" + "src": "6394:15:0" }, { "attributes": { @@ -22662,17 +22637,17 @@ }, "id": 432, "name": "Identifier", - "src": "3541:9:0" + "src": "6412:9:0" } ], "id": 433, "name": "Assignment", - "src": "3523:27:0" + "src": "6394:27:0" } ], "id": 434, "name": "ExpressionStatement", - "src": "3523:27:0" + "src": "6394:27:0" }, { "children": [ @@ -22683,7 +22658,7 @@ "isPure": false, "lValueRequested": false, "operator": "=", - "type": "struct CryptoBoys.CryptoBoy storage ref" + "type": "struct BscBoys.CryptoBoy storage ref" }, "children": [ { @@ -22692,7 +22667,7 @@ "isLValue": true, "isPure": false, "lValueRequested": true, - "type": "struct CryptoBoys.CryptoBoy storage ref" + "type": "struct BscBoys.CryptoBoy storage ref" }, "children": [ { @@ -22701,12 +22676,12 @@ null ], "referencedDeclaration": 34, - "type": "mapping(uint256 => struct CryptoBoys.CryptoBoy storage ref)", - "value": "allCryptoBoys" + "type": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)", + "value": "allBscBoys" }, "id": 435, "name": "Identifier", - "src": "3556:13:0" + "src": "6477:13:0" }, { "attributes": { @@ -22719,12 +22694,12 @@ }, "id": 436, "name": "Identifier", - "src": "3570:8:0" + "src": "6491:8:0" } ], "id": 437, "name": "IndexAccess", - "src": "3556:23:0" + "src": "6477:23:0" }, { "attributes": { @@ -22732,32 +22707,32 @@ null ], "referencedDeclaration": 424, - "type": "struct CryptoBoys.CryptoBoy memory", + "type": "struct BscBoys.CryptoBoy memory", "value": "cryptoboy" }, "id": 438, "name": "Identifier", - "src": "3582:9:0" + "src": "6503:9:0" } ], "id": 439, "name": "Assignment", - "src": "3556:35:0" + "src": "6477:35:0" } ], "id": 440, "name": "ExpressionStatement", - "src": "3556:35:0" + "src": "6477:35:0" } ], "id": 441, "name": "Block", - "src": "3305:291:0" + "src": "5803:715:0" } ], "id": 442, "name": "FunctionDefinition", - "src": "3235:361:0" + "src": "5733:785:0" }, { "attributes": { @@ -22796,17 +22771,17 @@ }, "id": 443, "name": "ElementaryTypeName", - "src": "3623:7:0" + "src": "6602:7:0" } ], "id": 444, "name": "VariableDeclaration", - "src": "3623:16:0" + "src": "6602:16:0" } ], "id": 445, "name": "ParameterList", - "src": "3622:18:0" + "src": "6601:18:0" }, { "attributes": { @@ -22817,7 +22792,7 @@ "children": [], "id": 446, "name": "ParameterList", - "src": "3648:0:0" + "src": "6627:0:0" }, { "children": [ @@ -22856,7 +22831,7 @@ }, "id": 447, "name": "Identifier", - "src": "3654:7:0" + "src": "6697:7:0" }, { "attributes": { @@ -22893,12 +22868,12 @@ }, "id": 448, "name": "Identifier", - "src": "3662:3:0" + "src": "6705:3:0" } ], "id": 449, "name": "MemberAccess", - "src": "3662:10:0" + "src": "6705:10:0" }, { "attributes": { @@ -22936,12 +22911,12 @@ }, "id": 450, "name": "ElementaryTypeName", - "src": "3676:7:0" + "src": "6719:7:0" } ], "id": 451, "name": "ElementaryTypeNameExpression", - "src": "3676:7:0" + "src": "6719:7:0" }, { "attributes": { @@ -22956,27 +22931,27 @@ }, "id": 452, "name": "Literal", - "src": "3684:1:0" + "src": "6727:1:0" } ], "id": 453, "name": "FunctionCall", - "src": "3676:10:0" + "src": "6719:10:0" } ], "id": 454, "name": "BinaryOperation", - "src": "3662:24:0" + "src": "6705:24:0" } ], "id": 455, "name": "FunctionCall", - "src": "3654:33:0" + "src": "6697:33:0" } ], "id": 456, "name": "ExpressionStatement", - "src": "3654:33:0" + "src": "6697:33:0" }, { "children": [ @@ -23013,7 +22988,7 @@ }, "id": 457, "name": "Identifier", - "src": "3693:7:0" + "src": "6777:7:0" }, { "attributes": { @@ -23047,7 +23022,7 @@ }, "id": 458, "name": "Identifier", - "src": "3701:7:0" + "src": "6785:7:0" }, { "attributes": { @@ -23060,22 +23035,22 @@ }, "id": 459, "name": "Identifier", - "src": "3709:8:0" + "src": "6793:8:0" } ], "id": 460, "name": "FunctionCall", - "src": "3701:17:0" + "src": "6785:17:0" } ], "id": 461, "name": "FunctionCall", - "src": "3693:26:0" + "src": "6777:26:0" } ], "id": 462, "name": "ExpressionStatement", - "src": "3693:26:0" + "src": "6777:26:0" }, { "attributes": { @@ -23104,12 +23079,12 @@ }, "id": 463, "name": "ElementaryTypeName", - "src": "3725:7:0" + "src": "6840:7:0" } ], "id": 464, "name": "VariableDeclaration", - "src": "3725:18:0" + "src": "6840:18:0" }, { "attributes": { @@ -23143,7 +23118,7 @@ }, "id": 465, "name": "Identifier", - "src": "3746:7:0" + "src": "6861:7:0" }, { "attributes": { @@ -23156,17 +23131,17 @@ }, "id": 466, "name": "Identifier", - "src": "3754:8:0" + "src": "6869:8:0" } ], "id": 467, "name": "FunctionCall", - "src": "3746:17:0" + "src": "6861:17:0" } ], "id": 468, "name": "VariableDeclarationStatement", - "src": "3725:38:0" + "src": "6840:38:0" }, { "children": [ @@ -23203,7 +23178,7 @@ }, "id": 469, "name": "Identifier", - "src": "3769:7:0" + "src": "6964:7:0" }, { "attributes": { @@ -23230,7 +23205,7 @@ }, "id": 470, "name": "Identifier", - "src": "3777:10:0" + "src": "6972:10:0" }, { "attributes": { @@ -23253,27 +23228,27 @@ }, "id": 471, "name": "Identifier", - "src": "3791:3:0" + "src": "6986:3:0" } ], "id": 472, "name": "MemberAccess", - "src": "3791:10:0" + "src": "6986:10:0" } ], "id": 473, "name": "BinaryOperation", - "src": "3777:24:0" + "src": "6972:24:0" } ], "id": 474, "name": "FunctionCall", - "src": "3769:33:0" + "src": "6964:33:0" } ], "id": 475, "name": "ExpressionStatement", - "src": "3769:33:0" + "src": "6964:33:0" }, { "attributes": { @@ -23290,7 +23265,7 @@ "scope": 505, "stateVariable": false, "storageLocation": "memory", - "type": "struct CryptoBoys.CryptoBoy", + "type": "struct BscBoys.CryptoBoy", "visibility": "internal" }, "children": [ @@ -23298,16 +23273,16 @@ "attributes": { "name": "CryptoBoy", "referencedDeclaration": 30, - "type": "struct CryptoBoys.CryptoBoy" + "type": "struct BscBoys.CryptoBoy" }, "id": 476, "name": "UserDefinedTypeName", - "src": "3808:9:0" + "src": "7115:9:0" } ], "id": 477, "name": "VariableDeclaration", - "src": "3808:26:0" + "src": "7115:26:0" }, { "attributes": { @@ -23315,7 +23290,7 @@ "isLValue": true, "isPure": false, "lValueRequested": false, - "type": "struct CryptoBoys.CryptoBoy storage ref" + "type": "struct BscBoys.CryptoBoy storage ref" }, "children": [ { @@ -23324,12 +23299,12 @@ null ], "referencedDeclaration": 34, - "type": "mapping(uint256 => struct CryptoBoys.CryptoBoy storage ref)", - "value": "allCryptoBoys" + "type": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)", + "value": "allBscBoys" }, "id": 478, "name": "Identifier", - "src": "3837:13:0" + "src": "7144:13:0" }, { "attributes": { @@ -23342,17 +23317,17 @@ }, "id": 479, "name": "Identifier", - "src": "3851:8:0" + "src": "7158:8:0" } ], "id": 480, "name": "IndexAccess", - "src": "3837:23:0" + "src": "7144:23:0" } ], "id": 481, "name": "VariableDeclarationStatement", - "src": "3808:52:0" + "src": "7115:52:0" }, { "children": [ @@ -23373,17 +23348,17 @@ null ], "referencedDeclaration": 477, - "type": "struct CryptoBoys.CryptoBoy memory", + "type": "struct BscBoys.CryptoBoy memory", "value": "cryptoboy" }, "id": 482, "name": "Identifier", - "src": "3869:9:0" + "src": "7241:9:0" } ], "id": 483, "name": "MemberAccess", - "src": "3869:17:0" + "src": "7241:17:0" }, { "children": [ @@ -23416,17 +23391,17 @@ null ], "referencedDeclaration": 477, - "type": "struct CryptoBoys.CryptoBoy memory", + "type": "struct BscBoys.CryptoBoy memory", "value": "cryptoboy" }, "id": 484, "name": "Identifier", - "src": "3896:9:0" + "src": "7269:9:0" } ], "id": 486, "name": "MemberAccess", - "src": "3896:17:0" + "src": "7269:17:0" }, { "attributes": { @@ -23441,22 +23416,22 @@ }, "id": 487, "name": "Literal", - "src": "3916:5:0" + "src": "7289:5:0" } ], "id": 488, "name": "Assignment", - "src": "3896:25:0" + "src": "7269:25:0" } ], "id": 489, "name": "ExpressionStatement", - "src": "3896:25:0" + "src": "7269:25:0" } ], "id": 490, "name": "Block", - "src": "3888:40:0" + "src": "7260:42:0" }, { "children": [ @@ -23489,17 +23464,17 @@ null ], "referencedDeclaration": 477, - "type": "struct CryptoBoys.CryptoBoy memory", + "type": "struct BscBoys.CryptoBoy memory", "value": "cryptoboy" }, "id": 491, "name": "Identifier", - "src": "3942:9:0" + "src": "7317:9:0" } ], "id": 493, "name": "MemberAccess", - "src": "3942:17:0" + "src": "7317:17:0" }, { "attributes": { @@ -23514,27 +23489,27 @@ }, "id": 494, "name": "Literal", - "src": "3962:4:0" + "src": "7337:4:0" } ], "id": 495, "name": "Assignment", - "src": "3942:24:0" + "src": "7317:24:0" } ], "id": 496, "name": "ExpressionStatement", - "src": "3942:24:0" + "src": "7317:24:0" } ], "id": 497, "name": "Block", - "src": "3934:39:0" + "src": "7308:41:0" } ], "id": 498, "name": "IfStatement", - "src": "3866:107:0" + "src": "7238:111:0" }, { "children": [ @@ -23545,7 +23520,7 @@ "isPure": false, "lValueRequested": false, "operator": "=", - "type": "struct CryptoBoys.CryptoBoy storage ref" + "type": "struct BscBoys.CryptoBoy storage ref" }, "children": [ { @@ -23554,7 +23529,7 @@ "isLValue": true, "isPure": false, "lValueRequested": true, - "type": "struct CryptoBoys.CryptoBoy storage ref" + "type": "struct BscBoys.CryptoBoy storage ref" }, "children": [ { @@ -23563,12 +23538,12 @@ null ], "referencedDeclaration": 34, - "type": "mapping(uint256 => struct CryptoBoys.CryptoBoy storage ref)", - "value": "allCryptoBoys" + "type": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)", + "value": "allBscBoys" }, "id": 499, "name": "Identifier", - "src": "3978:13:0" + "src": "7404:13:0" }, { "attributes": { @@ -23581,12 +23556,12 @@ }, "id": 500, "name": "Identifier", - "src": "3992:8:0" + "src": "7418:8:0" } ], "id": 501, "name": "IndexAccess", - "src": "3978:23:0" + "src": "7404:23:0" }, { "attributes": { @@ -23594,42 +23569,42 @@ null ], "referencedDeclaration": 477, - "type": "struct CryptoBoys.CryptoBoy memory", + "type": "struct BscBoys.CryptoBoy memory", "value": "cryptoboy" }, "id": 502, "name": "Identifier", - "src": "4004:9:0" + "src": "7430:9:0" } ], "id": 503, "name": "Assignment", - "src": "3978:35:0" + "src": "7404:35:0" } ], "id": 504, "name": "ExpressionStatement", - "src": "3978:35:0" + "src": "7404:35:0" } ], "id": 505, "name": "Block", - "src": "3648:370:0" + "src": "6627:818:0" } ], "id": 506, "name": "FunctionDefinition", - "src": "3600:418:0" + "src": "6579:866:0" } ], "id": 507, "name": "ContractDefinition", - "src": "110:3910:0" + "src": "199:7249:0" } ], "id": 508, "name": "SourceUnit", - "src": "32:3988:0" + "src": "33:7415:0" }, "compiler": { "name": "solc", @@ -23643,9 +23618,8 @@ "transactionHash": "0x25f92d062cc1ee642685e3dd44e144b0d323872a73d67c6680fecc40771e8a41" } }, - "schemaVersion": "3.3.4", - "updatedAt": "2021-03-13T13:42:33.721Z", - "networkType": "ethereum", + "schemaVersion": "3.4.3", + "updatedAt": "2021-10-13T09:52:20.751Z", "devdoc": { "kind": "dev", "methods": { diff --git a/src/abis/ERC165.json b/src/abis/ERC165.json index f98320c..fc9f41f 100644 --- a/src/abis/ERC165.json +++ b/src/abis/ERC165.json @@ -21,7 +21,7 @@ "type": "function" } ], - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Implementation of the {IERC165} interface. Contracts may inherit from this and call {_registerInterface} to declare their support of an interface.\",\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas.\"}},\"stateVariables\":{\"_supportedInterfaces\":{\"details\":\"Mapping of interface ids to whether or not it's supported.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":\"ERC165\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":{\"keccak256\":\"0xac9220652f9879c5fb3116025d59e8fbf6c2c3d149aed9f617b88edd31402044\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://48de100723de94a6590c6db5bae5098a93445194389c3f3eeb104c7239ef3044\",\"dweb:/ipfs/QmVHLEtfLqBqX7XQRHfLuuwtufRBFJFHfgY4zbFRpaZwXC\"]}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Implementation of the {IERC165} interface. Contracts may inherit from this and call {_registerInterface} to declare their support of an interface.\",\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas.\"}},\"stateVariables\":{\"_supportedInterfaces\":{\"details\":\"Mapping of interface ids to whether or not it's supported.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/src/contracts/ERC721.sol\":\"ERC165\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/src/contracts/ERC721.sol\":{\"keccak256\":\"0xbbf5d35e3785428d14b29cf40a6a1f82d9275af46f6f80ec5f330615911aa767\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e5479e3deda288fc9c642c0449113673031cb9834a3507621d5bd7e292969e16\",\"dweb:/ipfs/QmcKjBg55emL46LCBPRw1Y79fz3aGiMiQXFeWcDpJisEgJ\"]}},\"version\":1}", "bytecode": "0x", "deployedBytecode": "0x", "immutableReferences": {}, @@ -29,57 +29,57 @@ "deployedGeneratedSources": [], "sourceMap": "", "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: MIT\n\n// File: @openzeppelin/contracts/utils/Context.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/*\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with GSN meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n function _msgSender() internal view virtual returns (address payable) {\n return msg.sender;\n }\n\n function _msgData() internal view virtual returns (bytes memory) {\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\n return msg.data;\n }\n}\n\n// File: @openzeppelin/contracts/introspection/IERC165.sol\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n /**\n * @dev Returns true if this contract implements the interface defined by\n * `interfaceId`. See the corresponding\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n * to learn more about how these ids are created.\n *\n * This function call must use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n /**\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n */\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n */\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n */\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n /**\n * @dev Returns the number of tokens in ``owner``'s account.\n */\n function balanceOf(address owner) external view returns (uint256 balance);\n\n /**\n * @dev Returns the owner of the `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function ownerOf(uint256 tokenId) external view returns (address owner);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Transfers `tokenId` token from `from` to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n * The approval is cleared when the token is transferred.\n *\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n *\n * Requirements:\n *\n * - The caller must own the token or be an approved operator.\n * - `tokenId` must exist.\n *\n * Emits an {Approval} event.\n */\n function approve(address to, uint256 tokenId) external;\n\n /**\n * @dev Returns the account approved for `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function getApproved(uint256 tokenId) external view returns (address operator);\n\n /**\n * @dev Approve or remove `operator` as an operator for the caller.\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n *\n * Requirements:\n *\n * - The `operator` cannot be the caller.\n *\n * Emits an {ApprovalForAll} event.\n */\n function setApprovalForAll(address operator, bool _approved) external;\n\n /**\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n *\n * See {setApprovalForAll}\n */\n function isApprovedForAll(address owner, address operator) external view returns (bool);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n\n /**\n * @dev Returns the token collection name.\n */\n function name() external view returns (string memory);\n\n /**\n * @dev Returns the token collection symbol.\n */\n function symbol() external view returns (string memory);\n\n /**\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n */\n function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\n\n\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Enumerable is IERC721 {\n\n /**\n * @dev Returns the total amount of tokens stored by the contract.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\n\n /**\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n * Use along with {totalSupply} to enumerate all tokens.\n */\n function tokenByIndex(uint256 index) external view returns (uint256);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\n\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC721 asset contracts.\n */\ninterface IERC721Receiver {\n /**\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n * by `operator` from `from`, this function is called.\n *\n * It must return its Solidity selector to confirm the token transfer.\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n *\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\n */\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\n}\n\n// File: @openzeppelin/contracts/introspection/ERC165.sol\npragma solidity >=0.6.0 <0.8.0;\n\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts may inherit from this and call {_registerInterface} to declare\n * their support of an interface.\n */\nabstract contract ERC165 is IERC165 {\n /*\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\n */\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\n\n /**\n * @dev Mapping of interface ids to whether or not it's supported.\n */\n mapping(bytes4 => bool) private _supportedInterfaces;\n\n constructor () {\n // Derived contracts need only register support for their own interfaces,\n // we register support for ERC165 itself here\n _registerInterface(_INTERFACE_ID_ERC165);\n }\n\n /**\n * @dev See {IERC165-supportsInterface}.\n *\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n return _supportedInterfaces[interfaceId];\n }\n\n /**\n * @dev Registers the contract as an implementer of the interface defined by\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\n * registering its interface id is not required.\n *\n * See {IERC165-supportsInterface}.\n *\n * Requirements:\n *\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\n */\n function _registerInterface(bytes4 interfaceId) internal virtual {\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\n _supportedInterfaces[interfaceId] = true;\n }\n}\n\n// File: @openzeppelin/contracts/math/SafeMath.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\n * checks.\n *\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\n * in bugs, because programmers usually assume that an overflow raises an\n * error, which is the standard behavior in high level programming languages.\n * `SafeMath` restores this intuition by reverting the transaction when an\n * operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeMath {\n /**\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n uint256 c = a + b;\n if (c < a) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b > a) return (false, 0);\n return (true, a - b);\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n // benefit is lost if 'b' is also tested.\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n if (a == 0) return (true, 0);\n uint256 c = a * b;\n if (c / a != b) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a / b);\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a % b);\n }\n\n /**\n * @dev Returns the addition of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `+` operator.\n *\n * Requirements:\n *\n * - Addition cannot overflow.\n */\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a + b;\n require(c >= a, \"SafeMath: addition overflow\");\n return c;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting on\n * overflow (when the result is negative).\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b <= a, \"SafeMath: subtraction overflow\");\n return a - b;\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `*` operator.\n *\n * Requirements:\n *\n * - Multiplication cannot overflow.\n */\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) return 0;\n uint256 c = a * b;\n require(c / a == b, \"SafeMath: multiplication overflow\");\n return c;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting on\n * division by zero. The result is rounded towards zero.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: division by zero\");\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting when dividing by zero.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: modulo by zero\");\n return a % b;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n * overflow (when the result is negative).\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {trySub}.\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b <= a, errorMessage);\n return a - b;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\n * division by zero. The result is rounded towards zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryDiv}.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting with custom message when dividing by zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryMod}.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a % b;\n }\n}\n\n// File: @openzeppelin/contracts/utils/Address.sol\npragma solidity >=0.6.2 <0.8.0;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n /**\n * @dev Returns true if `account` is a contract.\n *\n * [IMPORTANT]\n * ====\n * It is unsafe to assume that an address for which this function returns\n * false is an externally-owned account (EOA) and not a contract.\n *\n * Among others, `isContract` will return false for the following\n * types of addresses:\n *\n * - an externally-owned account\n * - a contract in construction\n * - an address where a contract will be created\n * - an address where a contract lived, but was destroyed\n * ====\n */\n function isContract(address account) internal view returns (bool) {\n // This method relies on extcodesize, which returns 0 for contracts in\n // construction, since the code is only stored at the end of the\n // constructor execution.\n\n uint256 size;\n // solhint-disable-next-line no-inline-assembly\n assembly { size := extcodesize(account) }\n return size > 0;\n }\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\n (bool success, ) = recipient.call{ value: amount }(\"\");\n require(success, \"Address: unable to send value, recipient may have reverted\");\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain`call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason, it is bubbled up by this\n * function (like regular Solidity function calls).\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCall(target, data, \"Address: low-level call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n * `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n * with `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\n require(isContract(target), \"Address: call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\n require(isContract(target), \"Address: static call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.staticcall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n require(isContract(target), \"Address: delegate call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.delegatecall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\n if (success) {\n return returndata;\n } else {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n\n // solhint-disable-next-line no-inline-assembly\n assembly {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert(errorMessage);\n }\n }\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n * types.\n *\n * Sets have the following properties:\n *\n * - Elements are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableSet for EnumerableSet.AddressSet;\n *\n * // Declare a set state variable\n * EnumerableSet.AddressSet private mySet;\n * }\n * ```\n *\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n * and `uint256` (`UintSet`) are supported.\n */\nlibrary EnumerableSet {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Set type with\n // bytes32 values.\n // The Set implementation uses private functions, and user-facing\n // implementations (such as AddressSet) are just wrappers around the\n // underlying Set.\n // This means that we can only create new EnumerableSets for types that fit\n // in bytes32.\n\n struct Set {\n // Storage of set values\n bytes32[] _values;\n\n // Position of the value in the `values` array, plus 1 because index 0\n // means a value is not in the set.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function _add(Set storage set, bytes32 value) private returns (bool) {\n if (!_contains(set, value)) {\n set._values.push(value);\n // The value is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n set._indexes[value] = set._values.length;\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function _remove(Set storage set, bytes32 value) private returns (bool) {\n // We read and store the value's index to prevent multiple reads from the same storage slot\n uint256 valueIndex = set._indexes[value];\n\n if (valueIndex != 0) { // Equivalent to contains(set, value)\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\n // the array, and then remove the last element (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = valueIndex - 1;\n uint256 lastIndex = set._values.length - 1;\n\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n bytes32 lastvalue = set._values[lastIndex];\n\n // Move the last value to the index where the value to delete is\n set._values[toDeleteIndex] = lastvalue;\n // Update the index for the moved value\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved value was stored\n set._values.pop();\n\n // Delete the index for the deleted slot\n delete set._indexes[value];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\n return set._indexes[value] != 0;\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function _length(Set storage set) private view returns (uint256) {\n return set._values.length;\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\n return set._values[index];\n }\n\n // Bytes32Set\n\n struct Bytes32Set {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _add(set._inner, value);\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _remove(set._inner, value);\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\n return _contains(set._inner, value);\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(Bytes32Set storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\n return _at(set._inner, index);\n }\n\n // AddressSet\n\n struct AddressSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(AddressSet storage set, address value) internal returns (bool) {\n return _add(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(AddressSet storage set, address value) internal returns (bool) {\n return _remove(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(AddressSet storage set, address value) internal view returns (bool) {\n return _contains(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(AddressSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\n return address(uint160(uint256(_at(set._inner, index))));\n }\n\n\n // UintSet\n\n struct UintSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(UintSet storage set, uint256 value) internal returns (bool) {\n return _add(set._inner, bytes32(value));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\n return _remove(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\n return _contains(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function length(UintSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\n return uint256(_at(set._inner, index));\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing an enumerable variant of Solidity's\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n * type.\n *\n * Maps have the following properties:\n *\n * - Entries are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\n *\n * // Declare a set state variable\n * EnumerableMap.UintToAddressMap private myMap;\n * }\n * ```\n *\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n * supported.\n */\nlibrary EnumerableMap {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Map type with\n // bytes32 keys and values.\n // The Map implementation uses private functions, and user-facing\n // implementations (such as Uint256ToAddressMap) are just wrappers around\n // the underlying Map.\n // This means that we can only create new EnumerableMaps for types that fit\n // in bytes32.\n\n struct MapEntry {\n bytes32 _key;\n bytes32 _value;\n }\n\n struct Map {\n // Storage of map keys and values\n MapEntry[] _entries;\n\n // Position of the entry defined by a key in the `entries` array, plus 1\n // because index 0 means a key is not in the map.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\n map._entries.push(MapEntry({ _key: key, _value: value }));\n // The entry is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n map._indexes[key] = map._entries.length;\n return true;\n } else {\n map._entries[keyIndex - 1]._value = value;\n return false;\n }\n }\n\n /**\n * @dev Removes a key-value pair from a map. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function _remove(Map storage map, bytes32 key) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex != 0) { // Equivalent to contains(map, key)\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = keyIndex - 1;\n uint256 lastIndex = map._entries.length - 1;\n\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n MapEntry storage lastEntry = map._entries[lastIndex];\n\n // Move the last entry to the index where the entry to delete is\n map._entries[toDeleteIndex] = lastEntry;\n // Update the index for the moved entry\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved entry was stored\n map._entries.pop();\n\n // Delete the index for the deleted slot\n delete map._indexes[key];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\n return map._indexes[key] != 0;\n }\n\n /**\n * @dev Returns the number of key-value pairs in the map. O(1).\n */\n function _length(Map storage map) private view returns (uint256) {\n return map._entries.length;\n }\n\n /**\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\n *\n * Note that there are no guarantees on the ordering of entries inside the\n * array, and it may change when more entries are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\n\n MapEntry storage entry = map._entries[index];\n return (entry._key, entry._value);\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n */\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\n uint256 keyIndex = map._indexes[key];\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n /**\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {_tryGet}.\n */\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n // UintToAddressMap\n\n struct UintToAddressMap {\n Map _inner;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\n return _remove(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\n return _contains(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns the number of elements in the map. O(1).\n */\n function length(UintToAddressMap storage map) internal view returns (uint256) {\n return _length(map._inner);\n }\n\n /**\n * @dev Returns the element stored at position `index` in the set. O(1).\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\n (bytes32 key, bytes32 value) = _at(map._inner, index);\n return (uint256(key), address(uint160(uint256(value))));\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n *\n * _Available since v3.4._\n */\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\n return (success, address(uint160(uint256(value))));\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\n }\n\n /**\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryGet}.\n */\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\n }\n}\n\n// File: @openzeppelin/contracts/utils/Strings.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n /**\n * @dev Converts a `uint256` to its ASCII `string` representation.\n */\n function toString(uint256 value) internal pure returns (string memory) {\n // Inspired by OraclizeAPI's implementation - MIT licence\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\n\n if (value == 0) {\n return \"0\";\n }\n uint256 temp = value;\n uint256 digits;\n while (temp != 0) {\n digits++;\n temp /= 10;\n }\n bytes memory buffer = new bytes(digits);\n uint256 index = digits - 1;\n temp = value;\n while (temp != 0) {\n buffer[index--] = bytes1(uint8(48 + temp % 10));\n temp /= 10;\n }\n return string(buffer);\n }\n}\n\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 Non-Fungible Token Standard basic implementation\n * @dev see https://eips.ethereum.org/EIPS/eip-721\n */\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\n using SafeMath for uint256;\n using Address for address;\n using EnumerableSet for EnumerableSet.UintSet;\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n using Strings for uint256;\n\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\n\n // Mapping from holder address to their (enumerable) set of owned tokens\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\n\n // Enumerable mapping from token ids to their owners\n EnumerableMap.UintToAddressMap private _tokenOwners;\n\n // Mapping from token ID to approved address\n mapping (uint256 => address) private _tokenApprovals;\n\n // Mapping from owner to operator approvals\n mapping (address => mapping (address => bool)) private _operatorApprovals;\n\n // Token name\n string private _name;\n\n // Token symbol\n string private _symbol;\n\n // Optional mapping for token URIs\n mapping (uint256 => string) private _tokenURIs;\n\n // Base URI\n string private _baseURI;\n\n /*\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\n *\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\n */\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\n\n /*\n * bytes4(keccak256('name()')) == 0x06fdde03\n * bytes4(keccak256('symbol()')) == 0x95d89b41\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\n *\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\n */\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\n\n /*\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\n *\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\n */\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\n\n /**\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\n */\n constructor (string memory name_, string memory symbol_) {\n _name = name_;\n _symbol = symbol_;\n\n // register the supported interfaces to conform to ERC721 via ERC165\n _registerInterface(_INTERFACE_ID_ERC721);\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\n }\n\n /**\n * @dev See {IERC721-balanceOf}.\n */\n function balanceOf(address owner) public view virtual override returns (uint256) {\n require(owner != address(0), \"ERC721: balance query for the zero address\");\n return _holderTokens[owner].length();\n }\n\n /**\n * @dev See {IERC721-ownerOf}.\n */\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\n }\n\n /**\n * @dev See {IERC721Metadata-name}.\n */\n function name() public view virtual override returns (string memory) {\n return _name;\n }\n\n /**\n * @dev See {IERC721Metadata-symbol}.\n */\n function symbol() public view virtual override returns (string memory) {\n return _symbol;\n }\n\n /**\n * @dev See {IERC721Metadata-tokenURI}.\n */\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\n\n string memory _tokenURI = _tokenURIs[tokenId];\n string memory base = baseURI();\n\n // If there is no base URI, return the token URI.\n if (bytes(base).length == 0) {\n return _tokenURI;\n }\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\n if (bytes(_tokenURI).length > 0) {\n return string(abi.encodePacked(base, _tokenURI));\n }\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\n return string(abi.encodePacked(base, tokenId.toString()));\n }\n\n /**\n * @dev Returns the base URI set via {_setBaseURI}. This will be\n * automatically added as a prefix in {tokenURI} to each token's URI, or\n * to the token ID if no specific URI is set for that token ID.\n */\n function baseURI() public view virtual returns (string memory) {\n return _baseURI;\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\n return _holderTokens[owner].at(index);\n }\n\n /**\n * @dev See {IERC721Enumerable-totalSupply}.\n */\n function totalSupply() public view virtual override returns (uint256) {\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\n return _tokenOwners.length();\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenByIndex}.\n */\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\n (uint256 tokenId, ) = _tokenOwners.at(index);\n return tokenId;\n }\n\n /**\n * @dev See {IERC721-approve}.\n */\n function approve(address to, uint256 tokenId) public virtual override {\n address owner = ERC721.ownerOf(tokenId);\n require(to != owner, \"ERC721: approval to current owner\");\n\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\n \"ERC721: approve caller is not owner nor approved for all\"\n );\n\n _approve(to, tokenId);\n }\n\n /**\n * @dev See {IERC721-getApproved}.\n */\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\n\n return _tokenApprovals[tokenId];\n }\n\n /**\n * @dev See {IERC721-setApprovalForAll}.\n */\n function setApprovalForAll(address operator, bool approved) public virtual override {\n require(operator != _msgSender(), \"ERC721: approve to caller\");\n\n _operatorApprovals[_msgSender()][operator] = approved;\n emit ApprovalForAll(_msgSender(), operator, approved);\n }\n\n /**\n * @dev See {IERC721-isApprovedForAll}.\n */\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\n return _operatorApprovals[owner][operator];\n }\n\n /**\n * @dev See {IERC721-transferFrom}.\n */\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\n //solhint-disable-next-line max-line-length\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n\n _transfer(from, to, tokenId);\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\n safeTransferFrom(from, to, tokenId, \"\");\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n _safeTransfer(from, to, tokenId, _data);\n }\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\n *\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n * implement alternative mechanisms to perform token transfer, such as signature-based.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\n _transfer(from, to, tokenId);\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Returns whether `tokenId` exists.\n *\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n *\n * Tokens start existing when they are minted (`_mint`),\n * and stop existing when they are burned (`_burn`).\n */\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\n return _tokenOwners.contains(tokenId);\n }\n\n /**\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\n address owner = ERC721.ownerOf(tokenId);\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\n }\n\n /**\n * @dev Safely mints `tokenId` and transfers it to `to`.\n *\n * Requirements:\n d*\n * - `tokenId` must not exist.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeMint(address to, uint256 tokenId) internal virtual {\n _safeMint(to, tokenId, \"\");\n }\n\n /**\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n */\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\n _mint(to, tokenId);\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Mints `tokenId` and transfers it to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n *\n * Requirements:\n *\n * - `tokenId` must not exist.\n * - `to` cannot be the zero address.\n *\n * Emits a {Transfer} event.\n */\n function _mint(address to, uint256 tokenId) internal virtual {\n require(to != address(0), \"ERC721: mint to the zero address\");\n require(!_exists(tokenId), \"ERC721: token already minted\");\n\n _beforeTokenTransfer(address(0), to, tokenId);\n\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(address(0), to, tokenId);\n }\n\n /**\n * @dev Destroys `tokenId`.\n * The approval is cleared when the token is burned.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n *\n * Emits a {Transfer} event.\n */\n function _burn(uint256 tokenId) internal virtual {\n address owner = ERC721.ownerOf(tokenId); // internal owner\n\n _beforeTokenTransfer(owner, address(0), tokenId);\n\n // Clear approvals\n _approve(address(0), tokenId);\n\n // Clear metadata (if any)\n if (bytes(_tokenURIs[tokenId]).length != 0) {\n delete _tokenURIs[tokenId];\n }\n\n _holderTokens[owner].remove(tokenId);\n\n _tokenOwners.remove(tokenId);\n\n emit Transfer(owner, address(0), tokenId);\n }\n\n /**\n * @dev Transfers `tokenId` from `from` to `to`.\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n *\n * Requirements:\n *\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n *\n * Emits a {Transfer} event.\n */\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\n require(to != address(0), \"ERC721: transfer to the zero address\");\n\n _beforeTokenTransfer(from, to, tokenId);\n\n // Clear approvals from the previous owner\n _approve(address(0), tokenId);\n\n _holderTokens[from].remove(tokenId);\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(from, to, tokenId);\n }\n\n /**\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\n _tokenURIs[tokenId] = _tokenURI;\n }\n\n /**\n * @dev Internal function to set the base URI for all token IDs. It is\n * automatically added as a prefix to the value returned in {tokenURI},\n * or to the token ID if {tokenURI} is empty.\n */\n function _setBaseURI(string memory baseURI_) internal virtual {\n _baseURI = baseURI_;\n }\n\n /**\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n * The call is not executed if the target address is not a contract.\n *\n * @param from address representing the previous owner of the given token ID\n * @param to target address that will receive the tokens\n * @param tokenId uint256 ID of the token to be transferred\n * @param _data bytes optional data to send along with the call\n * @return bool whether the call correctly returned the expected magic value\n */\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\n private returns (bool)\n {\n if (!to.isContract()) {\n return true;\n }\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\n IERC721Receiver(to).onERC721Received.selector,\n _msgSender(),\n from,\n tokenId,\n _data\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\n bytes4 retval = abi.decode(returndata, (bytes4));\n return (retval == _ERC721_RECEIVED);\n }\n\n /**\n * @dev Approve `to` to operate on `tokenId`\n *\n * Emits an {Approval} event.\n */\n function _approve(address to, uint256 tokenId) internal virtual {\n _tokenApprovals[tokenId] = to;\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\n }\n\n /**\n * @dev Hook that is called before any token transfer. This includes minting\n * and burning.\n *\n * Calling conditions:\n *\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n * transferred to `to`.\n * - When `from` is zero, `tokenId` will be minted for `to`.\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n *\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n */\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\n}\n", - "sourcePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "source": "// SPDX-License-Identifier: MIT\r\n\r\n// File: @openzeppelin/contracts/utils/Context.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/*\r\n * @dev Provides information about the current execution context, including the\r\n * sender of the transaction and its data. While these are generally available\r\n * via msg.sender and msg.data, they should not be accessed in such a direct\r\n * manner, since when dealing with GSN meta-transactions the account sending and\r\n * paying for execution may not be the actual sender (as far as an application\r\n * is concerned).\r\n *\r\n * This contract is only required for intermediate, library-like contracts.\r\n */\r\nabstract contract Context {\r\n function _msgSender() internal view virtual returns (address payable) {\r\n return msg.sender;\r\n }\r\n\r\n function _msgData() internal view virtual returns (bytes memory) {\r\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\r\n return msg.data;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/IERC165.sol\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Interface of the ERC165 standard, as defined in the\r\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\r\n *\r\n * Implementers can declare support of contract interfaces, which can then be\r\n * queried by others ({ERC165Checker}).\r\n *\r\n * For an implementation, see {ERC165}.\r\n */\r\ninterface IERC165 {\r\n /**\r\n * @dev Returns true if this contract implements the interface defined by\r\n * `interfaceId`. See the corresponding\r\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\r\n * to learn more about how these ids are created.\r\n *\r\n * This function call must use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Required interface of an ERC721 compliant contract.\r\n */\r\ninterface IERC721 is IERC165 {\r\n /**\r\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\r\n */\r\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\r\n */\r\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\r\n */\r\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\r\n\r\n /**\r\n * @dev Returns the number of tokens in ``owner``'s account.\r\n */\r\n function balanceOf(address owner) external view returns (uint256 balance);\r\n\r\n /**\r\n * @dev Returns the owner of the `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function ownerOf(uint256 tokenId) external view returns (address owner);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Transfers `tokenId` token from `from` to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\r\n * The approval is cleared when the token is transferred.\r\n *\r\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\r\n *\r\n * Requirements:\r\n *\r\n * - The caller must own the token or be an approved operator.\r\n * - `tokenId` must exist.\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function approve(address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Returns the account approved for `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function getApproved(uint256 tokenId) external view returns (address operator);\r\n\r\n /**\r\n * @dev Approve or remove `operator` as an operator for the caller.\r\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\r\n *\r\n * Requirements:\r\n *\r\n * - The `operator` cannot be the caller.\r\n *\r\n * Emits an {ApprovalForAll} event.\r\n */\r\n function setApprovalForAll(address operator, bool _approved) external;\r\n\r\n /**\r\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\r\n *\r\n * See {setApprovalForAll}\r\n */\r\n function isApprovedForAll(address owner, address operator) external view returns (bool);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Metadata is IERC721 {\r\n\r\n /**\r\n * @dev Returns the token collection name.\r\n */\r\n function name() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the token collection symbol.\r\n */\r\n function symbol() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\r\n */\r\n function tokenURI(uint256 tokenId) external view returns (string memory);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\r\n\r\n\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Enumerable is IERC721 {\r\n\r\n /**\r\n * @dev Returns the total amount of tokens stored by the contract.\r\n */\r\n function totalSupply() external view returns (uint256);\r\n\r\n /**\r\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\r\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\r\n\r\n /**\r\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\r\n * Use along with {totalSupply} to enumerate all tokens.\r\n */\r\n function tokenByIndex(uint256 index) external view returns (uint256);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\r\n\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 token receiver interface\r\n * @dev Interface for any contract that wants to support safeTransfers\r\n * from ERC721 asset contracts.\r\n */\r\ninterface IERC721Receiver {\r\n /**\r\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\r\n * by `operator` from `from`, this function is called.\r\n *\r\n * It must return its Solidity selector to confirm the token transfer.\r\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\r\n *\r\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\r\n */\r\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/ERC165.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Implementation of the {IERC165} interface.\r\n *\r\n * Contracts may inherit from this and call {_registerInterface} to declare\r\n * their support of an interface.\r\n */\r\nabstract contract ERC165 is IERC165 {\r\n /*\r\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\r\n\r\n /**\r\n * @dev Mapping of interface ids to whether or not it's supported.\r\n */\r\n mapping(bytes4 => bool) private _supportedInterfaces;\r\n\r\n constructor () {\r\n // Derived contracts need only register support for their own interfaces,\r\n // we register support for ERC165 itself here\r\n _registerInterface(_INTERFACE_ID_ERC165);\r\n }\r\n\r\n /**\r\n * @dev See {IERC165-supportsInterface}.\r\n *\r\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\r\n return _supportedInterfaces[interfaceId];\r\n }\r\n\r\n /**\r\n * @dev Registers the contract as an implementer of the interface defined by\r\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\r\n * registering its interface id is not required.\r\n *\r\n * See {IERC165-supportsInterface}.\r\n *\r\n * Requirements:\r\n *\r\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\r\n */\r\n function _registerInterface(bytes4 interfaceId) internal virtual {\r\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\r\n _supportedInterfaces[interfaceId] = true;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/math/SafeMath.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\r\n * checks.\r\n *\r\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\r\n * in bugs, because programmers usually assume that an overflow raises an\r\n * error, which is the standard behavior in high level programming languages.\r\n * `SafeMath` restores this intuition by reverting the transaction when an\r\n * operation overflows.\r\n *\r\n * Using this library instead of the unchecked operations eliminates an entire\r\n * class of bugs, so it's recommended to use it always.\r\n */\r\nlibrary SafeMath {\r\n /**\r\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n uint256 c = a + b;\r\n if (c < a) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b > a) return (false, 0);\r\n return (true, a - b);\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\r\n // benefit is lost if 'b' is also tested.\r\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\r\n if (a == 0) return (true, 0);\r\n uint256 c = a * b;\r\n if (c / a != b) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a / b);\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a % b);\r\n }\r\n\r\n /**\r\n * @dev Returns the addition of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `+` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Addition cannot overflow.\r\n */\r\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\r\n uint256 c = a + b;\r\n require(c >= a, \"SafeMath: addition overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting on\r\n * overflow (when the result is negative).\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b <= a, \"SafeMath: subtraction overflow\");\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `*` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Multiplication cannot overflow.\r\n */\r\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\r\n if (a == 0) return 0;\r\n uint256 c = a * b;\r\n require(c / a == b, \"SafeMath: multiplication overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: division by zero\");\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting when dividing by zero.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: modulo by zero\");\r\n return a % b;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\r\n * overflow (when the result is negative).\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {trySub}.\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b <= a, errorMessage);\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryDiv}.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting with custom message when dividing by zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryMod}.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a % b;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Address.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n/**\r\n * @dev Collection of functions related to the address type\r\n */\r\nlibrary Address {\r\n /**\r\n * @dev Returns true if `account` is a contract.\r\n *\r\n * [IMPORTANT]\r\n * ====\r\n * It is unsafe to assume that an address for which this function returns\r\n * false is an externally-owned account (EOA) and not a contract.\r\n *\r\n * Among others, `isContract` will return false for the following\r\n * types of addresses:\r\n *\r\n * - an externally-owned account\r\n * - a contract in construction\r\n * - an address where a contract will be created\r\n * - an address where a contract lived, but was destroyed\r\n * ====\r\n */\r\n function isContract(address account) internal view returns (bool) {\r\n // This method relies on extcodesize, which returns 0 for contracts in\r\n // construction, since the code is only stored at the end of the\r\n // constructor execution.\r\n\r\n uint256 size;\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly { size := extcodesize(account) }\r\n return size > 0;\r\n }\r\n\r\n /**\r\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\r\n * `recipient`, forwarding all available gas and reverting on errors.\r\n *\r\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\r\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\r\n * imposed by `transfer`, making them unable to receive funds via\r\n * `transfer`. {sendValue} removes this limitation.\r\n *\r\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\r\n *\r\n * IMPORTANT: because control is transferred to `recipient`, care must be\r\n * taken to not create reentrancy vulnerabilities. Consider using\r\n * {ReentrancyGuard} or the\r\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\r\n */\r\n function sendValue(address payable recipient, uint256 amount) internal {\r\n require(address(this).balance >= amount, \"Address: insufficient balance\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\r\n (bool success, ) = recipient.call{ value: amount }(\"\");\r\n require(success, \"Address: unable to send value, recipient may have reverted\");\r\n }\r\n\r\n /**\r\n * @dev Performs a Solidity function call using a low level `call`. A\r\n * plain`call` is an unsafe replacement for a function call: use this\r\n * function instead.\r\n *\r\n * If `target` reverts with a revert reason, it is bubbled up by this\r\n * function (like regular Solidity function calls).\r\n *\r\n * Returns the raw returned data. To convert to the expected return value,\r\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\r\n *\r\n * Requirements:\r\n *\r\n * - `target` must be a contract.\r\n * - calling `target` with `data` must not revert.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionCall(target, data, \"Address: low-level call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\r\n * `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, 0, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but also transferring `value` wei to `target`.\r\n *\r\n * Requirements:\r\n *\r\n * - the calling contract must have an ETH balance of at least `value`.\r\n * - the called Solidity function must be `payable`.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\r\n * with `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\r\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\r\n require(isContract(target), \"Address: call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\r\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\r\n require(isContract(target), \"Address: static call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.staticcall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n require(isContract(target), \"Address: delegate call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.delegatecall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\r\n if (success) {\r\n return returndata;\r\n } else {\r\n // Look for revert reason and bubble it up if present\r\n if (returndata.length > 0) {\r\n // The easiest way to bubble the revert reason is using memory via assembly\r\n\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n let returndata_size := mload(returndata)\r\n revert(add(32, returndata), returndata_size)\r\n }\r\n } else {\r\n revert(errorMessage);\r\n }\r\n }\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing\r\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\r\n * types.\r\n *\r\n * Sets have the following properties:\r\n *\r\n * - Elements are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableSet for EnumerableSet.AddressSet;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableSet.AddressSet private mySet;\r\n * }\r\n * ```\r\n *\r\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\r\n * and `uint256` (`UintSet`) are supported.\r\n */\r\nlibrary EnumerableSet {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Set type with\r\n // bytes32 values.\r\n // The Set implementation uses private functions, and user-facing\r\n // implementations (such as AddressSet) are just wrappers around the\r\n // underlying Set.\r\n // This means that we can only create new EnumerableSets for types that fit\r\n // in bytes32.\r\n\r\n struct Set {\r\n // Storage of set values\r\n bytes32[] _values;\r\n\r\n // Position of the value in the `values` array, plus 1 because index 0\r\n // means a value is not in the set.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function _add(Set storage set, bytes32 value) private returns (bool) {\r\n if (!_contains(set, value)) {\r\n set._values.push(value);\r\n // The value is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n set._indexes[value] = set._values.length;\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function _remove(Set storage set, bytes32 value) private returns (bool) {\r\n // We read and store the value's index to prevent multiple reads from the same storage slot\r\n uint256 valueIndex = set._indexes[value];\r\n\r\n if (valueIndex != 0) { // Equivalent to contains(set, value)\r\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\r\n // the array, and then remove the last element (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = valueIndex - 1;\r\n uint256 lastIndex = set._values.length - 1;\r\n\r\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n bytes32 lastvalue = set._values[lastIndex];\r\n\r\n // Move the last value to the index where the value to delete is\r\n set._values[toDeleteIndex] = lastvalue;\r\n // Update the index for the moved value\r\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved value was stored\r\n set._values.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete set._indexes[value];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\r\n return set._indexes[value] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function _length(Set storage set) private view returns (uint256) {\r\n return set._values.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\r\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\r\n return set._values[index];\r\n }\r\n\r\n // Bytes32Set\r\n\r\n struct Bytes32Set {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _add(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _remove(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\r\n return _contains(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(Bytes32Set storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\r\n return _at(set._inner, index);\r\n }\r\n\r\n // AddressSet\r\n\r\n struct AddressSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(AddressSet storage set, address value) internal returns (bool) {\r\n return _add(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(AddressSet storage set, address value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(AddressSet storage set, address value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(AddressSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\r\n return address(uint160(uint256(_at(set._inner, index))));\r\n }\r\n\r\n\r\n // UintSet\r\n\r\n struct UintSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _add(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function length(UintSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\r\n return uint256(_at(set._inner, index));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing an enumerable variant of Solidity's\r\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\r\n * type.\r\n *\r\n * Maps have the following properties:\r\n *\r\n * - Entries are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableMap.UintToAddressMap private myMap;\r\n * }\r\n * ```\r\n *\r\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\r\n * supported.\r\n */\r\nlibrary EnumerableMap {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Map type with\r\n // bytes32 keys and values.\r\n // The Map implementation uses private functions, and user-facing\r\n // implementations (such as Uint256ToAddressMap) are just wrappers around\r\n // the underlying Map.\r\n // This means that we can only create new EnumerableMaps for types that fit\r\n // in bytes32.\r\n\r\n struct MapEntry {\r\n bytes32 _key;\r\n bytes32 _value;\r\n }\r\n\r\n struct Map {\r\n // Storage of map keys and values\r\n MapEntry[] _entries;\r\n\r\n // Position of the entry defined by a key in the `entries` array, plus 1\r\n // because index 0 means a key is not in the map.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\r\n map._entries.push(MapEntry({ _key: key, _value: value }));\r\n // The entry is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n map._indexes[key] = map._entries.length;\r\n return true;\r\n } else {\r\n map._entries[keyIndex - 1]._value = value;\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a key-value pair from a map. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function _remove(Map storage map, bytes32 key) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex != 0) { // Equivalent to contains(map, key)\r\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\r\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = keyIndex - 1;\r\n uint256 lastIndex = map._entries.length - 1;\r\n\r\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n MapEntry storage lastEntry = map._entries[lastIndex];\r\n\r\n // Move the last entry to the index where the entry to delete is\r\n map._entries[toDeleteIndex] = lastEntry;\r\n // Update the index for the moved entry\r\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved entry was stored\r\n map._entries.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete map._indexes[key];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\r\n return map._indexes[key] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of key-value pairs in the map. O(1).\r\n */\r\n function _length(Map storage map) private view returns (uint256) {\r\n return map._entries.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of entries inside the\r\n * array, and it may change when more entries are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\r\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\r\n\r\n MapEntry storage entry = map._entries[index];\r\n return (entry._key, entry._value);\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n */\r\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\r\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {_tryGet}.\r\n */\r\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n // UintToAddressMap\r\n\r\n struct UintToAddressMap {\r\n Map _inner;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\r\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\r\n return _remove(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\r\n return _contains(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of elements in the map. O(1).\r\n */\r\n function length(UintToAddressMap storage map) internal view returns (uint256) {\r\n return _length(map._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the element stored at position `index` in the set. O(1).\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\r\n (bytes32 key, bytes32 value) = _at(map._inner, index);\r\n return (uint256(key), address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\r\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\r\n return (success, address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\r\n }\r\n\r\n /**\r\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryGet}.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Strings.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev String operations.\r\n */\r\nlibrary Strings {\r\n /**\r\n * @dev Converts a `uint256` to its ASCII `string` representation.\r\n */\r\n function toString(uint256 value) internal pure returns (string memory) {\r\n // Inspired by OraclizeAPI's implementation - MIT licence\r\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\r\n\r\n if (value == 0) {\r\n return \"0\";\r\n }\r\n uint256 temp = value;\r\n uint256 digits;\r\n while (temp != 0) {\r\n digits++;\r\n temp /= 10;\r\n }\r\n bytes memory buffer = new bytes(digits);\r\n uint256 index = digits - 1;\r\n temp = value;\r\n while (temp != 0) {\r\n buffer[index--] = bytes1(uint8(48 + temp % 10));\r\n temp /= 10;\r\n }\r\n return string(buffer);\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 Non-Fungible Token Standard basic implementation\r\n * @dev see https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\r\n using SafeMath for uint256;\r\n using Address for address;\r\n using EnumerableSet for EnumerableSet.UintSet;\r\n using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n using Strings for uint256;\r\n\r\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\r\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\r\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\r\n\r\n // Mapping from holder address to their (enumerable) set of owned tokens\r\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\r\n\r\n // Enumerable mapping from token ids to their owners\r\n EnumerableMap.UintToAddressMap private _tokenOwners;\r\n\r\n // Mapping from token ID to approved address\r\n mapping (uint256 => address) private _tokenApprovals;\r\n\r\n // Mapping from owner to operator approvals\r\n mapping (address => mapping (address => bool)) private _operatorApprovals;\r\n\r\n // Token name\r\n string private _name;\r\n\r\n // Token symbol\r\n string private _symbol;\r\n\r\n // Optional mapping for token URIs\r\n mapping (uint256 => string) private _tokenURIs;\r\n\r\n // Base URI\r\n string private _baseURI;\r\n\r\n /*\r\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\r\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\r\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\r\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\r\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\r\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\r\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\r\n *\r\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\r\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\r\n\r\n /*\r\n * bytes4(keccak256('name()')) == 0x06fdde03\r\n * bytes4(keccak256('symbol()')) == 0x95d89b41\r\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\r\n *\r\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\r\n\r\n /*\r\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\r\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\r\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\r\n *\r\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\r\n\r\n /**\r\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\r\n */\r\n constructor (string memory name_, string memory symbol_) {\r\n _name = name_;\r\n _symbol = symbol_;\r\n\r\n // register the supported interfaces to conform to ERC721 via ERC165\r\n _registerInterface(_INTERFACE_ID_ERC721);\r\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\r\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-balanceOf}.\r\n */\r\n function balanceOf(address owner) public view virtual override returns (uint256) {\r\n require(owner != address(0), \"ERC721: balance query for the zero address\");\r\n return _holderTokens[owner].length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-ownerOf}.\r\n */\r\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\r\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-name}.\r\n */\r\n function name() public view virtual override returns (string memory) {\r\n return _name;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-symbol}.\r\n */\r\n function symbol() public view virtual override returns (string memory) {\r\n return _symbol;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-tokenURI}.\r\n */\r\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\r\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\r\n\r\n string memory _tokenURI = _tokenURIs[tokenId];\r\n string memory base = baseURI();\r\n\r\n // If there is no base URI, return the token URI.\r\n if (bytes(base).length == 0) {\r\n return _tokenURI;\r\n }\r\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\r\n if (bytes(_tokenURI).length > 0) {\r\n return string(abi.encodePacked(base, _tokenURI));\r\n }\r\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\r\n return string(abi.encodePacked(base, tokenId.toString()));\r\n }\r\n\r\n /**\r\n * @dev Returns the base URI set via {_setBaseURI}. This will be\r\n * automatically added as a prefix in {tokenURI} to each token's URI, or\r\n * to the token ID if no specific URI is set for that token ID.\r\n */\r\n function baseURI() public view virtual returns (string memory) {\r\n return _baseURI;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\r\n return _holderTokens[owner].at(index);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-totalSupply}.\r\n */\r\n function totalSupply() public view virtual override returns (uint256) {\r\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\r\n return _tokenOwners.length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenByIndex}.\r\n */\r\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\r\n (uint256 tokenId, ) = _tokenOwners.at(index);\r\n return tokenId;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-approve}.\r\n */\r\n function approve(address to, uint256 tokenId) public virtual override {\r\n address owner = ERC721.ownerOf(tokenId);\r\n require(to != owner, \"ERC721: approval to current owner\");\r\n\r\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\r\n \"ERC721: approve caller is not owner nor approved for all\"\r\n );\r\n\r\n _approve(to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-getApproved}.\r\n */\r\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\r\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\r\n\r\n return _tokenApprovals[tokenId];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-setApprovalForAll}.\r\n */\r\n function setApprovalForAll(address operator, bool approved) public virtual override {\r\n require(operator != _msgSender(), \"ERC721: approve to caller\");\r\n\r\n _operatorApprovals[_msgSender()][operator] = approved;\r\n emit ApprovalForAll(_msgSender(), operator, approved);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-isApprovedForAll}.\r\n */\r\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\r\n return _operatorApprovals[owner][operator];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-transferFrom}.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n //solhint-disable-next-line max-line-length\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n\r\n _transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n safeTransferFrom(from, to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n _safeTransfer(from, to, tokenId, _data);\r\n }\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\r\n *\r\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\r\n * implement alternative mechanisms to perform token transfer, such as signature-based.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _transfer(from, to, tokenId);\r\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Returns whether `tokenId` exists.\r\n *\r\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\r\n *\r\n * Tokens start existing when they are minted (`_mint`),\r\n * and stop existing when they are burned (`_burn`).\r\n */\r\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\r\n return _tokenOwners.contains(tokenId);\r\n }\r\n\r\n /**\r\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\r\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\r\n address owner = ERC721.ownerOf(tokenId);\r\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\r\n }\r\n\r\n /**\r\n * @dev Safely mints `tokenId` and transfers it to `to`.\r\n *\r\n * Requirements:\r\n d*\r\n * - `tokenId` must not exist.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeMint(address to, uint256 tokenId) internal virtual {\r\n _safeMint(to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\r\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\r\n */\r\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _mint(to, tokenId);\r\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Mints `tokenId` and transfers it to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must not exist.\r\n * - `to` cannot be the zero address.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _mint(address to, uint256 tokenId) internal virtual {\r\n require(to != address(0), \"ERC721: mint to the zero address\");\r\n require(!_exists(tokenId), \"ERC721: token already minted\");\r\n\r\n _beforeTokenTransfer(address(0), to, tokenId);\r\n\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(address(0), to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Destroys `tokenId`.\r\n * The approval is cleared when the token is burned.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _burn(uint256 tokenId) internal virtual {\r\n address owner = ERC721.ownerOf(tokenId); // internal owner\r\n\r\n _beforeTokenTransfer(owner, address(0), tokenId);\r\n\r\n // Clear approvals\r\n _approve(address(0), tokenId);\r\n\r\n // Clear metadata (if any)\r\n if (bytes(_tokenURIs[tokenId]).length != 0) {\r\n delete _tokenURIs[tokenId];\r\n }\r\n\r\n _holderTokens[owner].remove(tokenId);\r\n\r\n _tokenOwners.remove(tokenId);\r\n\r\n emit Transfer(owner, address(0), tokenId);\r\n }\r\n\r\n /**\r\n * @dev Transfers `tokenId` from `from` to `to`.\r\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\r\n *\r\n * Requirements:\r\n *\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\r\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\r\n require(to != address(0), \"ERC721: transfer to the zero address\");\r\n\r\n _beforeTokenTransfer(from, to, tokenId);\r\n\r\n // Clear approvals from the previous owner\r\n _approve(address(0), tokenId);\r\n\r\n _holderTokens[from].remove(tokenId);\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\r\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\r\n _tokenURIs[tokenId] = _tokenURI;\r\n }\r\n\r\n /**\r\n * @dev Internal function to set the base URI for all token IDs. It is\r\n * automatically added as a prefix to the value returned in {tokenURI},\r\n * or to the token ID if {tokenURI} is empty.\r\n */\r\n function _setBaseURI(string memory baseURI_) internal virtual {\r\n _baseURI = baseURI_;\r\n }\r\n\r\n /**\r\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\r\n * The call is not executed if the target address is not a contract.\r\n *\r\n * @param from address representing the previous owner of the given token ID\r\n * @param to target address that will receive the tokens\r\n * @param tokenId uint256 ID of the token to be transferred\r\n * @param _data bytes optional data to send along with the call\r\n * @return bool whether the call correctly returned the expected magic value\r\n */\r\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\r\n private returns (bool)\r\n {\r\n if (!to.isContract()) {\r\n return true;\r\n }\r\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\r\n IERC721Receiver(to).onERC721Received.selector,\r\n _msgSender(),\r\n from,\r\n tokenId,\r\n _data\r\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n bytes4 retval = abi.decode(returndata, (bytes4));\r\n return (retval == _ERC721_RECEIVED);\r\n }\r\n\r\n /**\r\n * @dev Approve `to` to operate on `tokenId`\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function _approve(address to, uint256 tokenId) internal virtual {\r\n _tokenApprovals[tokenId] = to;\r\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\r\n }\r\n\r\n /**\r\n * @dev Hook that is called before any token transfer. This includes minting\r\n * and burning.\r\n *\r\n * Calling conditions:\r\n *\r\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\r\n * transferred to `to`.\r\n * - When `from` is zero, `tokenId` will be minted for `to`.\r\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n *\r\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\r\n */\r\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\r\n}\r\n", + "sourcePath": "C:\\Users\\Noahm\\cryptoboys-nft-marketplace\\src\\contracts\\ERC721.sol", "ast": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, - "id": 3499, + "id": 2991, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 509, + "id": 1, "literals": [ "solidity", ">=", @@ -90,7 +90,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "abstract": true, @@ -98,77 +98,77 @@ "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, - "id": 530, + "id": 22, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 517, + "id": 9, "nodeType": "Block", - "src": "719:34:1", + "src": "735:36:0", "statements": [ { "expression": { "expression": { - "id": 514, + "id": 6, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "736:3:1", + "src": "753:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 515, + "id": 7, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "736:10:1", + "src": "753:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 513, - "id": 516, + "functionReturnParameters": 5, + "id": 8, "nodeType": "Return", - "src": "729:17:1" + "src": "746:17:0" } ] }, - "id": 518, + "id": 10, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgSender", "nodeType": "FunctionDefinition", "parameters": { - "id": 510, + "id": 2, "nodeType": "ParameterList", "parameters": [], - "src": "668:2:1" + "src": "684:2:0" }, "returnParameters": { - "id": 513, + "id": 5, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 512, + "id": 4, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 518, - "src": "702:15:1", + "scope": 10, + "src": "718:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -176,10 +176,10 @@ "typeString": "address payable" }, "typeName": { - "id": 511, + "id": 3, "name": "address", "nodeType": "ElementaryTypeName", - "src": "702:15:1", + "src": "718:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -189,95 +189,95 @@ "visibility": "internal" } ], - "src": "701:17:1" + "src": "717:17:0" }, - "scope": 530, - "src": "649:104:1", + "scope": 22, + "src": "665:106:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 528, + "id": 20, "nodeType": "Block", - "src": "824:165:1", + "src": "844:168:0", "statements": [ { "expression": { - "id": 523, + "id": 15, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "834:4:1", + "src": "855:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 524, + "id": 16, "nodeType": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "expression": { "expression": { - "id": 525, + "id": 17, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "974:3:1", + "src": "996:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 526, + "id": 18, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "data", "nodeType": "MemberAccess", - "src": "974:8:1", + "src": "996:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" } }, - "functionReturnParameters": 522, - "id": 527, + "functionReturnParameters": 14, + "id": 19, "nodeType": "Return", - "src": "967:15:1" + "src": "989:15:0" } ] }, - "id": 529, + "id": 21, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgData", "nodeType": "FunctionDefinition", "parameters": { - "id": 519, + "id": 11, "nodeType": "ParameterList", "parameters": [], - "src": "776:2:1" + "src": "796:2:0" }, "returnParameters": { - "id": 522, + "id": 14, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 521, + "id": 13, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 529, - "src": "810:12:1", + "scope": 21, + "src": "830:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -285,10 +285,10 @@ "typeString": "bytes" }, "typeName": { - "id": 520, + "id": 12, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "810:5:1", + "src": "830:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -297,20 +297,20 @@ "visibility": "internal" } ], - "src": "809:14:1" + "src": "829:14:0" }, - "scope": 530, - "src": "759:230:1", + "scope": 22, + "src": "779:233:0", "stateMutability": "view", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "617:374:1" + "scope": 2991, + "src": "632:383:0" }, { - "id": 531, + "id": 23, "literals": [ "solidity", ">=", @@ -321,7 +321,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "abstract": false, @@ -329,45 +329,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 532, + "id": 24, "nodeType": "StructuredDocumentation", - "src": "1086:279:1", + "src": "1116:287:0", "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, "fullyImplemented": false, - "id": 541, + "id": 33, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 533, + "id": 25, "nodeType": "StructuredDocumentation", - "src": "1390:340:1", + "src": "1430:347:0", "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 540, + "id": 32, "implemented": false, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 536, + "id": 28, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 535, + "id": 27, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1762:18:1", + "scope": 32, + "src": "1810:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -375,10 +375,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 534, + "id": 26, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "1762:6:1", + "src": "1810:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -387,20 +387,20 @@ "visibility": "internal" } ], - "src": "1761:20:1" + "src": "1809:20:0" }, "returnParameters": { - "id": 539, + "id": 31, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 538, + "id": 30, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1805:4:1", + "scope": 32, + "src": "1853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -408,10 +408,10 @@ "typeString": "bool" }, "typeName": { - "id": 537, + "id": 29, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1805:4:1", + "src": "1853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -420,20 +420,20 @@ "visibility": "internal" } ], - "src": "1804:6:1" + "src": "1852:6:0" }, - "scope": 541, - "src": "1735:76:1", + "scope": 33, + "src": "1783:76:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1366:447:1" + "scope": 2991, + "src": "1405:457:0" }, { - "id": 542, + "id": 34, "literals": [ "solidity", ">=", @@ -444,43 +444,43 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 544, + "id": 36, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "1996:7:1", + "referencedDeclaration": 33, + "src": "2054:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 545, + "id": 37, "nodeType": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "documentation": { - "id": 543, + "id": 35, "nodeType": "StructuredDocumentation", - "src": "1907:67:1", + "src": "1962:69:0", "text": " @dev Required interface of an ERC721 compliant contract." }, "fullyImplemented": false, - "id": 655, + "id": 147, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", "nodeType": "ContractDefinition", @@ -488,27 +488,27 @@ { "anonymous": false, "documentation": { - "id": 546, + "id": 38, "nodeType": "StructuredDocumentation", - "src": "2010:88:1", + "src": "2069:90:0", "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 554, + "id": 46, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { - "id": 553, + "id": 45, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 548, + "id": 40, "indexed": true, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2118:20:1", + "scope": 46, + "src": "2180:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -516,10 +516,10 @@ "typeString": "address" }, "typeName": { - "id": 547, + "id": 39, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2118:7:1", + "src": "2180:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -530,13 +530,13 @@ }, { "constant": false, - "id": 550, + "id": 42, "indexed": true, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2140:18:1", + "scope": 46, + "src": "2202:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -544,10 +544,10 @@ "typeString": "address" }, "typeName": { - "id": 549, + "id": 41, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2140:7:1", + "src": "2202:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -558,13 +558,13 @@ }, { "constant": false, - "id": 552, + "id": 44, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2160:23:1", + "scope": 46, + "src": "2222:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -572,10 +572,10 @@ "typeString": "uint256" }, "typeName": { - "id": 551, + "id": 43, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2160:7:1", + "src": "2222:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -584,34 +584,34 @@ "visibility": "internal" } ], - "src": "2117:67:1" + "src": "2179:67:0" }, - "src": "2103:82:1" + "src": "2165:82:0" }, { "anonymous": false, "documentation": { - "id": 555, + "id": 47, "nodeType": "StructuredDocumentation", - "src": "2191:94:1", + "src": "2255:96:0", "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 563, + "id": 55, "name": "Approval", "nodeType": "EventDefinition", "parameters": { - "id": 562, + "id": 54, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 557, + "id": 49, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2305:21:1", + "scope": 55, + "src": "2372:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -619,10 +619,10 @@ "typeString": "address" }, "typeName": { - "id": 556, + "id": 48, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2305:7:1", + "src": "2372:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -633,13 +633,13 @@ }, { "constant": false, - "id": 559, + "id": 51, "indexed": true, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2328:24:1", + "scope": 55, + "src": "2395:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -647,10 +647,10 @@ "typeString": "address" }, "typeName": { - "id": 558, + "id": 50, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2328:7:1", + "src": "2395:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -661,13 +661,13 @@ }, { "constant": false, - "id": 561, + "id": 53, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2354:23:1", + "scope": 55, + "src": "2421:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -675,10 +675,10 @@ "typeString": "uint256" }, "typeName": { - "id": 560, + "id": 52, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2354:7:1", + "src": "2421:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -687,34 +687,34 @@ "visibility": "internal" } ], - "src": "2304:74:1" + "src": "2371:74:0" }, - "src": "2290:89:1" + "src": "2357:89:0" }, { "anonymous": false, "documentation": { - "id": 564, + "id": 56, "nodeType": "StructuredDocumentation", - "src": "2385:117:1", + "src": "2454:119:0", "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 572, + "id": 64, "name": "ApprovalForAll", "nodeType": "EventDefinition", "parameters": { - "id": 571, + "id": 63, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 566, + "id": 58, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2528:21:1", + "scope": 64, + "src": "2600:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -722,10 +722,10 @@ "typeString": "address" }, "typeName": { - "id": 565, + "id": 57, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2528:7:1", + "src": "2600:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -736,13 +736,13 @@ }, { "constant": false, - "id": 568, + "id": 60, "indexed": true, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2551:24:1", + "scope": 64, + "src": "2623:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -750,10 +750,10 @@ "typeString": "address" }, "typeName": { - "id": 567, + "id": 59, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2551:7:1", + "src": "2623:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -764,13 +764,13 @@ }, { "constant": false, - "id": 570, + "id": 62, "indexed": false, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2577:13:1", + "scope": 64, + "src": "2649:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -778,10 +778,10 @@ "typeString": "bool" }, "typeName": { - "id": 569, + "id": 61, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2577:4:1", + "src": "2649:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -790,36 +790,36 @@ "visibility": "internal" } ], - "src": "2527:64:1" + "src": "2599:64:0" }, - "src": "2507:85:1" + "src": "2579:85:0" }, { "documentation": { - "id": 573, + "id": 65, "nodeType": "StructuredDocumentation", - "src": "2598:76:1", + "src": "2672:78:0", "text": " @dev Returns the number of tokens in ``owner``'s account." }, "functionSelector": "70a08231", - "id": 580, + "id": 72, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 576, + "id": 68, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 575, + "id": 67, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2698:13:1", + "scope": 72, + "src": "2775:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -827,10 +827,10 @@ "typeString": "address" }, "typeName": { - "id": 574, + "id": 66, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2698:7:1", + "src": "2775:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -840,20 +840,20 @@ "visibility": "internal" } ], - "src": "2697:15:1" + "src": "2774:15:0" }, "returnParameters": { - "id": 579, + "id": 71, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 578, + "id": 70, "mutability": "mutable", "name": "balance", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2736:15:1", + "scope": 72, + "src": "2813:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -861,10 +861,10 @@ "typeString": "uint256" }, "typeName": { - "id": 577, + "id": 69, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2736:7:1", + "src": "2813:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -873,40 +873,40 @@ "visibility": "internal" } ], - "src": "2735:17:1" + "src": "2812:17:0" }, - "scope": 655, - "src": "2679:74:1", + "scope": 147, + "src": "2756:74:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 581, + "id": 73, "nodeType": "StructuredDocumentation", - "src": "2759:131:1", + "src": "2838:137:0", "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "6352211e", - "id": 588, + "id": 80, "implemented": false, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 584, + "id": 76, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 583, + "id": 75, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2912:15:1", + "scope": 80, + "src": "2998:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -914,10 +914,10 @@ "typeString": "uint256" }, "typeName": { - "id": 582, + "id": 74, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2912:7:1", + "src": "2998:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -926,20 +926,20 @@ "visibility": "internal" } ], - "src": "2911:17:1" + "src": "2997:17:0" }, "returnParameters": { - "id": 587, + "id": 79, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 586, + "id": 78, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2952:13:1", + "scope": 80, + "src": "3038:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -947,10 +947,10 @@ "typeString": "address" }, "typeName": { - "id": 585, + "id": 77, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2952:7:1", + "src": "3038:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -960,40 +960,40 @@ "visibility": "internal" } ], - "src": "2951:15:1" + "src": "3037:15:0" }, - "scope": 655, - "src": "2895:72:1", + "scope": 147, + "src": "2981:72:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 589, + "id": 81, "nodeType": "StructuredDocumentation", - "src": "2973:690:1", + "src": "3061:703:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "42842e0e", - "id": 598, + "id": 90, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 596, + "id": 88, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 591, + "id": 83, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3694:12:1", + "scope": 90, + "src": "3796:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1001,10 +1001,10 @@ "typeString": "address" }, "typeName": { - "id": 590, + "id": 82, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3694:7:1", + "src": "3796:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1015,12 +1015,12 @@ }, { "constant": false, - "id": 593, + "id": 85, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3708:10:1", + "scope": 90, + "src": "3810:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1028,10 +1028,10 @@ "typeString": "address" }, "typeName": { - "id": 592, + "id": 84, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3708:7:1", + "src": "3810:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1042,12 +1042,12 @@ }, { "constant": false, - "id": 595, + "id": 87, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3720:15:1", + "scope": 90, + "src": "3822:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1055,10 +1055,10 @@ "typeString": "uint256" }, "typeName": { - "id": 594, + "id": 86, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3720:7:1", + "src": "3822:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1067,46 +1067,46 @@ "visibility": "internal" } ], - "src": "3693:43:1" + "src": "3795:43:0" }, "returnParameters": { - "id": 597, + "id": 89, "nodeType": "ParameterList", "parameters": [], - "src": "3745:0:1" + "src": "3847:0:0" }, - "scope": 655, - "src": "3668:78:1", + "scope": 147, + "src": "3770:78:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 599, + "id": 91, "nodeType": "StructuredDocumentation", - "src": "3752:504:1", + "src": "3856:517:0", "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, "functionSelector": "23b872dd", - "id": 608, + "id": 100, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 606, + "id": 98, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 601, + "id": 93, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4283:12:1", + "scope": 100, + "src": "4401:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1114,10 +1114,10 @@ "typeString": "address" }, "typeName": { - "id": 600, + "id": 92, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4283:7:1", + "src": "4401:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1128,12 +1128,12 @@ }, { "constant": false, - "id": 603, + "id": 95, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4297:10:1", + "scope": 100, + "src": "4415:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1141,10 +1141,10 @@ "typeString": "address" }, "typeName": { - "id": 602, + "id": 94, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4297:7:1", + "src": "4415:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1155,12 +1155,12 @@ }, { "constant": false, - "id": 605, + "id": 97, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4309:15:1", + "scope": 100, + "src": "4427:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1168,10 +1168,10 @@ "typeString": "uint256" }, "typeName": { - "id": 604, + "id": 96, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4309:7:1", + "src": "4427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1180,46 +1180,46 @@ "visibility": "internal" } ], - "src": "4282:43:1" + "src": "4400:43:0" }, "returnParameters": { - "id": 607, + "id": 99, "nodeType": "ParameterList", "parameters": [], - "src": "4334:0:1" + "src": "4452:0:0" }, - "scope": 655, - "src": "4261:74:1", + "scope": 147, + "src": "4379:74:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 609, + "id": 101, "nodeType": "StructuredDocumentation", - "src": "4341:452:1", + "src": "4461:464:0", "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, "functionSelector": "095ea7b3", - "id": 616, + "id": 108, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 614, + "id": 106, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 611, + "id": 103, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4815:10:1", + "scope": 108, + "src": "4948:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1227,10 +1227,10 @@ "typeString": "address" }, "typeName": { - "id": 610, + "id": 102, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4815:7:1", + "src": "4948:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1241,12 +1241,12 @@ }, { "constant": false, - "id": 613, + "id": 105, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4827:15:1", + "scope": 108, + "src": "4960:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1254,10 +1254,10 @@ "typeString": "uint256" }, "typeName": { - "id": 612, + "id": 104, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4827:7:1", + "src": "4960:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1266,46 +1266,46 @@ "visibility": "internal" } ], - "src": "4814:29:1" + "src": "4947:29:0" }, "returnParameters": { - "id": 615, + "id": 107, "nodeType": "ParameterList", "parameters": [], - "src": "4852:0:1" + "src": "4985:0:0" }, - "scope": 655, - "src": "4798:55:1", + "scope": 147, + "src": "4931:55:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 617, + "id": 109, "nodeType": "StructuredDocumentation", - "src": "4859:139:1", + "src": "4994:145:0", "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "081812fc", - "id": 624, + "id": 116, "implemented": false, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "parameters": { - "id": 620, + "id": 112, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 619, + "id": 111, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5024:15:1", + "scope": 116, + "src": "5166:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1313,10 +1313,10 @@ "typeString": "uint256" }, "typeName": { - "id": 618, + "id": 110, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5024:7:1", + "src": "5166:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1325,20 +1325,20 @@ "visibility": "internal" } ], - "src": "5023:17:1" + "src": "5165:17:0" }, "returnParameters": { - "id": 623, + "id": 115, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 622, + "id": 114, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5064:16:1", + "scope": 116, + "src": "5206:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1346,10 +1346,10 @@ "typeString": "address" }, "typeName": { - "id": 621, + "id": 113, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5064:7:1", + "src": "5206:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1359,40 +1359,40 @@ "visibility": "internal" } ], - "src": "5063:18:1" + "src": "5205:18:0" }, - "scope": 655, - "src": "5003:79:1", + "scope": 147, + "src": "5145:79:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 625, + "id": 117, "nodeType": "StructuredDocumentation", - "src": "5088:309:1", + "src": "5232:318:0", "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, "functionSelector": "a22cb465", - "id": 632, + "id": 124, "implemented": false, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 630, + "id": 122, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 627, + "id": 119, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5429:16:1", + "scope": 124, + "src": "5583:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1400,10 +1400,10 @@ "typeString": "address" }, "typeName": { - "id": 626, + "id": 118, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5429:7:1", + "src": "5583:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1414,12 +1414,12 @@ }, { "constant": false, - "id": 629, + "id": 121, "mutability": "mutable", "name": "_approved", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5447:14:1", + "scope": 124, + "src": "5601:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1427,10 +1427,10 @@ "typeString": "bool" }, "typeName": { - "id": 628, + "id": 120, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5447:4:1", + "src": "5601:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1439,46 +1439,46 @@ "visibility": "internal" } ], - "src": "5428:34:1" + "src": "5582:34:0" }, "returnParameters": { - "id": 631, + "id": 123, "nodeType": "ParameterList", "parameters": [], - "src": "5471:0:1" + "src": "5625:0:0" }, - "scope": 655, - "src": "5402:70:1", + "scope": 147, + "src": "5556:70:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 633, + "id": 125, "nodeType": "StructuredDocumentation", - "src": "5478:138:1", + "src": "5634:142:0", "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, "functionSelector": "e985e9c5", - "id": 642, + "id": 134, "implemented": false, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 638, + "id": 130, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 635, + "id": 127, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5647:13:1", + "scope": 134, + "src": "5808:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1486,10 +1486,10 @@ "typeString": "address" }, "typeName": { - "id": 634, + "id": 126, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5647:7:1", + "src": "5808:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1500,12 +1500,12 @@ }, { "constant": false, - "id": 637, + "id": 129, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5662:16:1", + "scope": 134, + "src": "5823:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1513,10 +1513,10 @@ "typeString": "address" }, "typeName": { - "id": 636, + "id": 128, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5662:7:1", + "src": "5823:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1526,20 +1526,20 @@ "visibility": "internal" } ], - "src": "5646:33:1" + "src": "5807:33:0" }, "returnParameters": { - "id": 641, + "id": 133, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 640, + "id": 132, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5703:4:1", + "scope": 134, + "src": "5864:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1547,10 +1547,10 @@ "typeString": "bool" }, "typeName": { - "id": 639, + "id": 131, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5703:4:1", + "src": "5864:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1559,40 +1559,40 @@ "visibility": "internal" } ], - "src": "5702:6:1" + "src": "5863:6:0" }, - "scope": 655, - "src": "5621:88:1", + "scope": 147, + "src": "5782:88:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 643, + "id": 135, "nodeType": "StructuredDocumentation", - "src": "5715:568:1", + "src": "5878:580:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "b88d4fde", - "id": 654, + "id": 146, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 652, + "id": 144, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 645, + "id": 137, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6314:12:1", + "scope": 146, + "src": "6490:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1600,10 +1600,10 @@ "typeString": "address" }, "typeName": { - "id": 644, + "id": 136, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6314:7:1", + "src": "6490:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1614,12 +1614,12 @@ }, { "constant": false, - "id": 647, + "id": 139, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6328:10:1", + "scope": 146, + "src": "6504:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1627,10 +1627,10 @@ "typeString": "address" }, "typeName": { - "id": 646, + "id": 138, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6328:7:1", + "src": "6504:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1641,12 +1641,12 @@ }, { "constant": false, - "id": 649, + "id": 141, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6340:15:1", + "scope": 146, + "src": "6516:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1654,10 +1654,10 @@ "typeString": "uint256" }, "typeName": { - "id": 648, + "id": 140, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6340:7:1", + "src": "6516:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1667,12 +1667,12 @@ }, { "constant": false, - "id": 651, + "id": 143, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6357:19:1", + "scope": 146, + "src": "6533:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -1680,10 +1680,10 @@ "typeString": "bytes" }, "typeName": { - "id": 650, + "id": 142, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6357:5:1", + "src": "6533:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -1692,26 +1692,26 @@ "visibility": "internal" } ], - "src": "6313:64:1" + "src": "6489:64:0" }, "returnParameters": { - "id": 653, + "id": 145, "nodeType": "ParameterList", "parameters": [], - "src": "6386:0:1" + "src": "6562:0:0" }, - "scope": 655, - "src": "6288:99:1", + "scope": 147, + "src": "6464:99:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1975:4414:1" + "scope": 2991, + "src": "2033:4533:0" }, { - "id": 656, + "id": 148, "literals": [ "solidity", ">=", @@ -1722,81 +1722,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 658, + "id": 150, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "6654:7:1", + "referencedDeclaration": 147, + "src": "6841:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 659, + "id": 151, "nodeType": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 657, + "id": 149, "nodeType": "StructuredDocumentation", - "src": "6491:133:1", + "src": "6674:136:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 680, + "id": 172, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 660, + "id": 152, "nodeType": "StructuredDocumentation", - "src": "6669:58:1", + "src": "6858:60:0", "text": " @dev Returns the token collection name." }, "functionSelector": "06fdde03", - "id": 665, + "id": 157, "implemented": false, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "parameters": { - "id": 661, + "id": 153, "nodeType": "ParameterList", "parameters": [], - "src": "6745:2:1" + "src": "6937:2:0" }, "returnParameters": { - "id": 664, + "id": 156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 663, + "id": 155, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 665, - "src": "6771:13:1", + "scope": 157, + "src": "6963:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1804,10 +1804,10 @@ "typeString": "string" }, "typeName": { - "id": 662, + "id": 154, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6771:6:1", + "src": "6963:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1816,46 +1816,46 @@ "visibility": "internal" } ], - "src": "6770:15:1" + "src": "6962:15:0" }, - "scope": 680, - "src": "6732:54:1", + "scope": 172, + "src": "6924:54:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 666, + "id": 158, "nodeType": "StructuredDocumentation", - "src": "6792:60:1", + "src": "6986:62:0", "text": " @dev Returns the token collection symbol." }, "functionSelector": "95d89b41", - "id": 671, + "id": 163, "implemented": false, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "parameters": { - "id": 667, + "id": 159, "nodeType": "ParameterList", "parameters": [], - "src": "6872:2:1" + "src": "7069:2:0" }, "returnParameters": { - "id": 670, + "id": 162, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 669, + "id": 161, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 671, - "src": "6898:13:1", + "scope": 163, + "src": "7095:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1863,10 +1863,10 @@ "typeString": "string" }, "typeName": { - "id": 668, + "id": 160, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6898:6:1", + "src": "7095:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1875,40 +1875,40 @@ "visibility": "internal" } ], - "src": "6897:15:1" + "src": "7094:15:0" }, - "scope": 680, - "src": "6857:56:1", + "scope": 172, + "src": "7054:56:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 672, + "id": 164, "nodeType": "StructuredDocumentation", - "src": "6919:90:1", + "src": "7118:92:0", "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, "functionSelector": "c87b56dd", - "id": 679, + "id": 171, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 675, + "id": 167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 674, + "id": 166, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7032:15:1", + "scope": 171, + "src": "7234:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1916,10 +1916,10 @@ "typeString": "uint256" }, "typeName": { - "id": 673, + "id": 165, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7032:7:1", + "src": "7234:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1928,20 +1928,20 @@ "visibility": "internal" } ], - "src": "7031:17:1" + "src": "7233:17:0" }, "returnParameters": { - "id": 678, + "id": 170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 677, + "id": 169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7072:13:1", + "scope": 171, + "src": "7274:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1949,10 +1949,10 @@ "typeString": "string" }, "typeName": { - "id": 676, + "id": 168, "name": "string", "nodeType": "ElementaryTypeName", - "src": "7072:6:1", + "src": "7274:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1961,20 +1961,20 @@ "visibility": "internal" } ], - "src": "7071:15:1" + "src": "7273:15:0" }, - "scope": 680, - "src": "7014:73:1", + "scope": 172, + "src": "7216:73:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "6625:464:1" + "scope": 2991, + "src": "6812:480:0" }, { - "id": 681, + "id": 173, "literals": [ "solidity", ">=", @@ -1985,81 +1985,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 683, + "id": 175, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "7363:7:1", + "referencedDeclaration": 147, + "src": "7578:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 684, + "id": 176, "nodeType": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 682, + "id": 174, "nodeType": "StructuredDocumentation", - "src": "7195:136:1", + "src": "7406:139:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 709, + "id": 201, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 685, + "id": 177, "nodeType": "StructuredDocumentation", - "src": "7378:82:1", + "src": "7595:84:0", "text": " @dev Returns the total amount of tokens stored by the contract." }, "functionSelector": "18160ddd", - "id": 690, + "id": 182, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { - "id": 686, + "id": 178, "nodeType": "ParameterList", "parameters": [], - "src": "7485:2:1" + "src": "7705:2:0" }, "returnParameters": { - "id": 689, + "id": 181, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 688, + "id": 180, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 690, - "src": "7511:7:1", + "scope": 182, + "src": "7731:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2067,10 +2067,10 @@ "typeString": "uint256" }, "typeName": { - "id": 687, + "id": 179, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7511:7:1", + "src": "7731:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2079,40 +2079,40 @@ "visibility": "internal" } ], - "src": "7510:9:1" + "src": "7730:9:0" }, - "scope": 709, - "src": "7465:55:1", + "scope": 201, + "src": "7685:55:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 691, + "id": 183, "nodeType": "StructuredDocumentation", - "src": "7526:171:1", + "src": "7748:174:0", "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, "functionSelector": "2f745c59", - "id": 700, + "id": 192, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 696, + "id": 188, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 693, + "id": 185, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7731:13:1", + "scope": 192, + "src": "7957:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2120,10 +2120,10 @@ "typeString": "address" }, "typeName": { - "id": 692, + "id": 184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7731:7:1", + "src": "7957:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2134,12 +2134,12 @@ }, { "constant": false, - "id": 695, + "id": 187, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7746:13:1", + "scope": 192, + "src": "7972:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2147,10 +2147,10 @@ "typeString": "uint256" }, "typeName": { - "id": 694, + "id": 186, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7746:7:1", + "src": "7972:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2159,20 +2159,20 @@ "visibility": "internal" } ], - "src": "7730:30:1" + "src": "7956:30:0" }, "returnParameters": { - "id": 699, + "id": 191, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 698, + "id": 190, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7784:15:1", + "scope": 192, + "src": "8010:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2180,10 +2180,10 @@ "typeString": "uint256" }, "typeName": { - "id": 697, + "id": 189, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7784:7:1", + "src": "8010:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2192,40 +2192,40 @@ "visibility": "internal" } ], - "src": "7783:17:1" + "src": "8009:17:0" }, - "scope": 709, - "src": "7702:99:1", + "scope": 201, + "src": "7928:99:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 701, + "id": 193, "nodeType": "StructuredDocumentation", - "src": "7807:164:1", + "src": "8035:167:0", "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, "functionSelector": "4f6ccce7", - "id": 708, + "id": 200, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 704, + "id": 196, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 703, + "id": 195, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "7998:13:1", + "scope": 200, + "src": "8230:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2233,10 +2233,10 @@ "typeString": "uint256" }, "typeName": { - "id": 702, + "id": 194, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7998:7:1", + "src": "8230:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2245,20 +2245,20 @@ "visibility": "internal" } ], - "src": "7997:15:1" + "src": "8229:15:0" }, "returnParameters": { - "id": 707, + "id": 199, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 706, + "id": 198, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "8036:7:1", + "scope": 200, + "src": "8268:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2266,10 +2266,10 @@ "typeString": "uint256" }, "typeName": { - "id": 705, + "id": 197, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8036:7:1", + "src": "8268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2278,20 +2278,20 @@ "visibility": "internal" } ], - "src": "8035:9:1" + "src": "8267:9:0" }, - "scope": 709, - "src": "7976:69:1", + "scope": 201, + "src": "8208:69:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "7332:715:1" + "scope": 2991, + "src": "7547:733:0" }, { - "id": 710, + "id": 202, "literals": [ "solidity", ">=", @@ -2302,7 +2302,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "abstract": false, @@ -2310,45 +2310,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 711, + "id": 203, "nodeType": "StructuredDocumentation", - "src": "8150:152:1", + "src": "8390:156:0", "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, "fullyImplemented": false, - "id": 726, + "id": 218, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 712, + "id": 204, "nodeType": "StructuredDocumentation", - "src": "8335:485:1", + "src": "8581:493:0", "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, "functionSelector": "150b7a02", - "id": 725, + "id": 217, "implemented": false, "kind": "function", "modifiers": [], "name": "onERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 721, + "id": 213, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 714, + "id": 206, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8851:16:1", + "scope": 217, + "src": "9106:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2356,10 +2356,10 @@ "typeString": "address" }, "typeName": { - "id": 713, + "id": 205, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8851:7:1", + "src": "9106:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2370,12 +2370,12 @@ }, { "constant": false, - "id": 716, + "id": 208, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8869:12:1", + "scope": 217, + "src": "9124:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2383,10 +2383,10 @@ "typeString": "address" }, "typeName": { - "id": 715, + "id": 207, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8869:7:1", + "src": "9124:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2397,12 +2397,12 @@ }, { "constant": false, - "id": 718, + "id": 210, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8883:15:1", + "scope": 217, + "src": "9138:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2410,10 +2410,10 @@ "typeString": "uint256" }, "typeName": { - "id": 717, + "id": 209, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8883:7:1", + "src": "9138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2423,12 +2423,12 @@ }, { "constant": false, - "id": 720, + "id": 212, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8900:19:1", + "scope": 217, + "src": "9155:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -2436,10 +2436,10 @@ "typeString": "bytes" }, "typeName": { - "id": 719, + "id": 211, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8900:5:1", + "src": "9155:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2448,20 +2448,20 @@ "visibility": "internal" } ], - "src": "8850:70:1" + "src": "9105:70:0" }, "returnParameters": { - "id": 724, + "id": 216, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 723, + "id": 215, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8939:6:1", + "scope": 217, + "src": "9194:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2469,10 +2469,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 722, + "id": 214, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "8939:6:1", + "src": "9194:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2481,20 +2481,20 @@ "visibility": "internal" } ], - "src": "8938:8:1" + "src": "9193:8:0" }, - "scope": 726, - "src": "8825:122:1", + "scope": 218, + "src": "9080:122:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "8303:646:1" + "scope": 2991, + "src": "8548:657:0" }, { - "id": 727, + "id": 219, "literals": [ "solidity", ">=", @@ -2505,55 +2505,55 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "abstract": true, "baseContracts": [ { "baseName": { - "id": 729, + "id": 221, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "9243:7:1", + "referencedDeclaration": 33, + "src": "9511:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 730, + "id": 222, "nodeType": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "documentation": { - "id": 728, + "id": 220, "nodeType": "StructuredDocumentation", - "src": "9043:171:1", + "src": "9305:176:0", "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, "fullyImplemented": true, - "id": 781, + "id": 273, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", "nodeType": "ContractDefinition", "nodes": [ { "constant": true, - "id": 733, + "id": 225, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9340:57:1", + "scope": 273, + "src": "9612:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2561,10 +2561,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 731, + "id": 223, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9340:6:1", + "src": "9612:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2572,14 +2572,14 @@ }, "value": { "hexValue": "30783031666663396137", - "id": 732, + "id": 224, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9387:10:1", + "src": "9659:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_33540519_by_1", "typeString": "int_const 33540519" @@ -2591,17 +2591,17 @@ { "constant": false, "documentation": { - "id": 734, + "id": 226, "nodeType": "StructuredDocumentation", - "src": "9404:82:1", + "src": "9678:84:0", "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 738, + "id": 230, "mutability": "mutable", "name": "_supportedInterfaces", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9491:52:1", + "scope": 273, + "src": "9768:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2609,28 +2609,28 @@ "typeString": "mapping(bytes4 => bool)" }, "typeName": { - "id": 737, + "id": 229, "keyType": { - "id": 735, + "id": 227, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9499:6:1", + "src": "9776:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "nodeType": "Mapping", - "src": "9491:23:1", + "src": "9768:23:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" }, "valueType": { - "id": 736, + "id": 228, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9509:4:1", + "src": "9786:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2641,20 +2641,20 @@ }, { "body": { - "id": 745, + "id": 237, "nodeType": "Block", - "src": "9565:193:1", + "src": "9844:197:0", "statements": [ { "expression": { "arguments": [ { - "id": 742, + "id": 234, "name": "_INTERFACE_ID_ERC165", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 733, - "src": "9730:20:1", + "referencedDeclaration": 225, + "src": "10012:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2668,18 +2668,18 @@ "typeString": "bytes4" } ], - "id": 741, + "id": 233, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "9711:18:1", + "referencedDeclaration": 272, + "src": "9993:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 743, + "id": 235, "isConstant": false, "isLValue": false, "isPure": false, @@ -2687,74 +2687,74 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9711:40:1", + "src": "9993:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 744, + "id": 236, "nodeType": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ] }, - "id": 746, + "id": 238, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 739, + "id": 231, "nodeType": "ParameterList", "parameters": [], - "src": "9562:2:1" + "src": "9841:2:0" }, "returnParameters": { - "id": 740, + "id": 232, "nodeType": "ParameterList", "parameters": [], - "src": "9565:0:1" + "src": "9844:0:0" }, - "scope": 781, - "src": "9550:208:1", + "scope": 273, + "src": "9829:212:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "baseFunctions": [ - 540 + 32 ], "body": { - "id": 759, + "id": 251, "nodeType": "Block", - "src": "9999:57:1", + "src": "10289:59:0", "statements": [ { "expression": { "baseExpression": { - "id": 755, + "id": 247, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10016:20:1", + "referencedDeclaration": 230, + "src": "10307:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 757, + "id": 249, "indexExpression": { - "id": 756, + "id": 248, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 749, - "src": "10037:11:1", + "referencedDeclaration": 241, + "src": "10328:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2765,50 +2765,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10016:33:1", + "src": "10307:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 754, - "id": 758, + "functionReturnParameters": 246, + "id": 250, "nodeType": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ] }, "documentation": { - "id": 747, + "id": 239, "nodeType": "StructuredDocumentation", - "src": "9764:139:1", + "src": "10049:143:0", "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 760, + "id": 252, "implemented": true, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "overrides": { - "id": 751, + "id": 243, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "9975:8:1" + "src": "10265:8:0" }, "parameters": { - "id": 750, + "id": 242, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 749, + "id": 241, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9935:18:1", + "scope": 252, + "src": "10225:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2816,10 +2816,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 748, + "id": 240, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9935:6:1", + "src": "10225:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2828,20 +2828,20 @@ "visibility": "internal" } ], - "src": "9934:20:1" + "src": "10224:20:0" }, "returnParameters": { - "id": 754, + "id": 246, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 753, + "id": 245, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9993:4:1", + "scope": 252, + "src": "10283:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2849,10 +2849,10 @@ "typeString": "bool" }, "typeName": { - "id": 752, + "id": 244, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9993:4:1", + "src": "10283:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2861,19 +2861,19 @@ "visibility": "internal" } ], - "src": "9992:6:1" + "src": "10282:6:0" }, - "scope": 781, - "src": "9908:148:1", + "scope": 273, + "src": "10198:150:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 779, + "id": 271, "nodeType": "Block", - "src": "10515:133:1", + "src": "10820:136:0", "statements": [ { "expression": { @@ -2883,18 +2883,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 769, + "id": 261, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 767, + "id": 259, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10533:11:1", + "referencedDeclaration": 255, + "src": "10839:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2904,21 +2904,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30786666666666666666", - "id": 768, + "id": 260, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10548:10:1", + "src": "10854:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_4294967295_by_1", "typeString": "int_const 4294967295" }, "value": "0xffffffff" }, - "src": "10533:25:1", + "src": "10839:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2926,14 +2926,14 @@ }, { "hexValue": "4552433136353a20696e76616c696420696e74657266616365206964", - "id": 770, + "id": 262, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "10560:30:1", + "src": "10866:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_282912c0dfceceb28d77d0333f496b83948f9ba5b3154358a8b140b849289dee", "typeString": "literal_string \"ERC165: invalid interface id\"" @@ -2952,7 +2952,7 @@ "typeString": "literal_string \"ERC165: invalid interface id\"" } ], - "id": 766, + "id": 258, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -2960,13 +2960,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "10525:7:1", + "src": "10831:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 771, + "id": 263, "isConstant": false, "isLValue": false, "isPure": false, @@ -2974,45 +2974,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10525:66:1", + "src": "10831:66:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 772, + "id": 264, "nodeType": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "expression": { - "id": 777, + "id": 269, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 773, + "id": 265, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10601:20:1", + "referencedDeclaration": 230, + "src": "10908:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 775, + "id": 267, "indexExpression": { - "id": 774, + "id": 266, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10622:11:1", + "referencedDeclaration": 255, + "src": "10929:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3023,7 +3023,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "10601:33:1", + "src": "10908:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3033,56 +3033,56 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 776, + "id": 268, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "10637:4:1", + "src": "10944:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "10601:40:1", + "src": "10908:40:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 778, + "id": 270, "nodeType": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ] }, "documentation": { - "id": 761, + "id": 253, "nodeType": "StructuredDocumentation", - "src": "10062:383:1", + "src": "10356:393:0", "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 780, + "id": 272, "implemented": true, "kind": "function", "modifiers": [], "name": "_registerInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 764, + "id": 256, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 763, + "id": 255, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 780, - "src": "10478:18:1", + "scope": 272, + "src": "10783:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3090,10 +3090,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 762, + "id": 254, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "10478:6:1", + "src": "10783:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3102,26 +3102,26 @@ "visibility": "internal" } ], - "src": "10477:20:1" + "src": "10782:20:0" }, "returnParameters": { - "id": 765, + "id": 257, "nodeType": "ParameterList", "parameters": [], - "src": "10515:0:1" + "src": "10820:0:0" }, - "scope": 781, - "src": "10450:198:1", + "scope": 273, + "src": "10755:201:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "9215:1435:1" + "scope": 2991, + "src": "9483:1476:0" }, { - "id": 782, + "id": 274, "literals": [ "solidity", ">=", @@ -3132,7 +3132,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "abstract": false, @@ -3140,38 +3140,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 783, + "id": 275, "nodeType": "StructuredDocumentation", - "src": "10736:563:1", + "src": "11050:575:0", "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, "fullyImplemented": true, - "id": 1135, + "id": 627, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 813, + "id": 305, "nodeType": "Block", - "src": "11535:98:1", + "src": "11868:102:0", "statements": [ { "assignments": [ - 796 + 288 ], "declarations": [ { "constant": false, - "id": 796, + "id": 288, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 813, - "src": "11545:9:1", + "scope": 305, + "src": "11879:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3179,10 +3179,10 @@ "typeString": "uint256" }, "typeName": { - "id": 795, + "id": 287, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11545:7:1", + "src": "11879:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3191,24 +3191,24 @@ "visibility": "internal" } ], - "id": 800, + "id": 292, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 799, + "id": 291, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 797, + "id": 289, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11557:1:1", + "referencedDeclaration": 278, + "src": "11891:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3217,25 +3217,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 798, + "id": 290, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 788, - "src": "11561:1:1", + "referencedDeclaration": 280, + "src": "11895:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11557:5:1", + "src": "11891:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "condition": { @@ -3243,18 +3243,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 803, + "id": 295, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 801, + "id": 293, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11576:1:1", + "referencedDeclaration": 288, + "src": "11911:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3263,39 +3263,39 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 802, + "id": 294, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11580:1:1", + "referencedDeclaration": 278, + "src": "11915:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11576:5:1", + "src": "11911:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 808, + "id": 300, "nodeType": "IfStatement", - "src": "11572:28:1", + "src": "11907:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 804, + "id": 296, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11591:5:1", + "src": "11926:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3304,14 +3304,14 @@ }, { "hexValue": "30", - "id": 805, + "id": 297, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11598:1:1", + "src": "11933:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3319,23 +3319,23 @@ "value": "0" } ], - "id": 806, + "id": 298, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11590:10:1", + "src": "11925:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 794, - "id": 807, + "functionReturnParameters": 286, + "id": 299, "nodeType": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } }, { @@ -3343,14 +3343,14 @@ "components": [ { "hexValue": "74727565", - "id": 809, + "id": 301, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11618:4:1", + "src": "11954:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3358,62 +3358,62 @@ "value": "true" }, { - "id": 810, + "id": 302, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11624:1:1", + "referencedDeclaration": 288, + "src": "11960:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 811, + "id": 303, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11617:9:1", + "src": "11953:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 794, - "id": 812, + "functionReturnParameters": 286, + "id": 304, "nodeType": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ] }, "documentation": { - "id": 784, + "id": 276, "nodeType": "StructuredDocumentation", - "src": "11323:131:1", + "src": "11651:135:0", "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 814, + "id": 306, "implemented": true, "kind": "function", "modifiers": [], "name": "tryAdd", "nodeType": "FunctionDefinition", "parameters": { - "id": 789, + "id": 281, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 786, + "id": 278, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11475:9:1", + "scope": 306, + "src": "11808:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3421,10 +3421,10 @@ "typeString": "uint256" }, "typeName": { - "id": 785, + "id": 277, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11475:7:1", + "src": "11808:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3434,12 +3434,12 @@ }, { "constant": false, - "id": 788, + "id": 280, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11486:9:1", + "scope": 306, + "src": "11819:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3447,10 +3447,10 @@ "typeString": "uint256" }, "typeName": { - "id": 787, + "id": 279, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11486:7:1", + "src": "11819:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3459,20 +3459,20 @@ "visibility": "internal" } ], - "src": "11474:22:1" + "src": "11807:22:0" }, "returnParameters": { - "id": 794, + "id": 286, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 791, + "id": 283, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11520:4:1", + "scope": 306, + "src": "11853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3480,10 +3480,10 @@ "typeString": "bool" }, "typeName": { - "id": 790, + "id": 282, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11520:4:1", + "src": "11853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3493,12 +3493,12 @@ }, { "constant": false, - "id": 793, + "id": 285, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11526:7:1", + "scope": 306, + "src": "11859:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3506,10 +3506,10 @@ "typeString": "uint256" }, "typeName": { - "id": 792, + "id": 284, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11526:7:1", + "src": "11859:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3518,19 +3518,19 @@ "visibility": "internal" } ], - "src": "11519:15:1" + "src": "11852:15:0" }, - "scope": 1135, - "src": "11459:174:1", + "scope": 627, + "src": "11792:178:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 840, + "id": 332, "nodeType": "Block", - "src": "11855:75:1", + "src": "12199:78:0", "statements": [ { "condition": { @@ -3538,18 +3538,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 828, + "id": 320, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 826, + "id": 318, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11869:1:1", + "referencedDeclaration": 311, + "src": "12214:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3558,39 +3558,39 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 827, + "id": 319, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11873:1:1", + "referencedDeclaration": 309, + "src": "12218:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11869:5:1", + "src": "12214:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 833, + "id": 325, "nodeType": "IfStatement", - "src": "11865:28:1", + "src": "12210:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 829, + "id": 321, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11884:5:1", + "src": "12229:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3599,14 +3599,14 @@ }, { "hexValue": "30", - "id": 830, + "id": 322, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11891:1:1", + "src": "12236:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3614,23 +3614,23 @@ "value": "0" } ], - "id": 831, + "id": 323, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11883:10:1", + "src": "12228:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 825, - "id": 832, + "functionReturnParameters": 317, + "id": 324, "nodeType": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } }, { @@ -3638,14 +3638,14 @@ "components": [ { "hexValue": "74727565", - "id": 834, + "id": 326, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11911:4:1", + "src": "12257:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3657,18 +3657,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 837, + "id": 329, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 835, + "id": 327, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11917:1:1", + "referencedDeclaration": 309, + "src": "12263:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3677,68 +3677,68 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 836, + "id": 328, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11921:1:1", + "referencedDeclaration": 311, + "src": "12267:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11917:5:1", + "src": "12263:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 838, + "id": 330, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11910:13:1", + "src": "12256:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 825, - "id": 839, + "functionReturnParameters": 317, + "id": 331, "nodeType": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ] }, "documentation": { - "id": 815, + "id": 307, "nodeType": "StructuredDocumentation", - "src": "11639:135:1", + "src": "11978:139:0", "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 841, + "id": 333, "implemented": true, "kind": "function", "modifiers": [], "name": "trySub", "nodeType": "FunctionDefinition", "parameters": { - "id": 820, + "id": 312, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 817, + "id": 309, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11795:9:1", + "scope": 333, + "src": "12139:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3746,10 +3746,10 @@ "typeString": "uint256" }, "typeName": { - "id": 816, + "id": 308, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11795:7:1", + "src": "12139:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3759,12 +3759,12 @@ }, { "constant": false, - "id": 819, + "id": 311, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11806:9:1", + "scope": 333, + "src": "12150:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3772,10 +3772,10 @@ "typeString": "uint256" }, "typeName": { - "id": 818, + "id": 310, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11806:7:1", + "src": "12150:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3784,20 +3784,20 @@ "visibility": "internal" } ], - "src": "11794:22:1" + "src": "12138:22:0" }, "returnParameters": { - "id": 825, + "id": 317, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 822, + "id": 314, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11840:4:1", + "scope": 333, + "src": "12184:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3805,10 +3805,10 @@ "typeString": "bool" }, "typeName": { - "id": 821, + "id": 313, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11840:4:1", + "src": "12184:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3818,12 +3818,12 @@ }, { "constant": false, - "id": 824, + "id": 316, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11846:7:1", + "scope": 333, + "src": "12190:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3831,10 +3831,10 @@ "typeString": "uint256" }, "typeName": { - "id": 823, + "id": 315, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11846:7:1", + "src": "12190:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3843,19 +3843,19 @@ "visibility": "internal" } ], - "src": "11839:15:1" + "src": "12183:15:0" }, - "scope": 1135, - "src": "11779:151:1", + "scope": 627, + "src": "12123:154:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 881, + "id": 373, "nodeType": "Block", - "src": "12154:359:1", + "src": "12508:367:0", "statements": [ { "condition": { @@ -3863,18 +3863,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 855, + "id": 347, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 853, + "id": 345, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12386:1:1", + "referencedDeclaration": 336, + "src": "12744:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3884,42 +3884,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 854, + "id": 346, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12391:1:1", + "src": "12749:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12386:6:1", + "src": "12744:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 860, + "id": 352, "nodeType": "IfStatement", - "src": "12382:28:1", + "src": "12740:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "74727565", - "id": 856, + "id": 348, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12402:4:1", + "src": "12760:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3928,14 +3928,14 @@ }, { "hexValue": "30", - "id": 857, + "id": 349, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12408:1:1", + "src": "12766:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3943,38 +3943,38 @@ "value": "0" } ], - "id": 858, + "id": 350, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12401:9:1", + "src": "12759:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 859, + "functionReturnParameters": 344, + "id": 351, "nodeType": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } }, { "assignments": [ - 862 + 354 ], "declarations": [ { "constant": false, - "id": 862, + "id": 354, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 881, - "src": "12420:9:1", + "scope": 373, + "src": "12779:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3982,10 +3982,10 @@ "typeString": "uint256" }, "typeName": { - "id": 861, + "id": 353, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12420:7:1", + "src": "12779:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3994,24 +3994,24 @@ "visibility": "internal" } ], - "id": 866, + "id": 358, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 865, + "id": 357, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 863, + "id": 355, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12432:1:1", + "referencedDeclaration": 336, + "src": "12791:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4020,25 +4020,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 864, + "id": 356, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12436:1:1", + "referencedDeclaration": 338, + "src": "12795:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12432:5:1", + "src": "12791:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "condition": { @@ -4046,7 +4046,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 871, + "id": 363, "isConstant": false, "isLValue": false, "isPure": false, @@ -4056,18 +4056,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 869, + "id": 361, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 867, + "id": 359, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12451:1:1", + "referencedDeclaration": 354, + "src": "12811:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4076,18 +4076,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 868, + "id": 360, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12455:1:1", + "referencedDeclaration": 336, + "src": "12815:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:5:1", + "src": "12811:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4096,39 +4096,39 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 870, + "id": 362, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12460:1:1", + "referencedDeclaration": 338, + "src": "12820:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:10:1", + "src": "12811:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 876, + "id": 368, "nodeType": "IfStatement", - "src": "12447:33:1", + "src": "12807:33:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 872, + "id": 364, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12471:5:1", + "src": "12831:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4137,14 +4137,14 @@ }, { "hexValue": "30", - "id": 873, + "id": 365, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12478:1:1", + "src": "12838:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4152,23 +4152,23 @@ "value": "0" } ], - "id": 874, + "id": 366, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12470:10:1", + "src": "12830:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 875, + "functionReturnParameters": 344, + "id": 367, "nodeType": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } }, { @@ -4176,14 +4176,14 @@ "components": [ { "hexValue": "74727565", - "id": 877, + "id": 369, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12498:4:1", + "src": "12859:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4191,62 +4191,62 @@ "value": "true" }, { - "id": 878, + "id": 370, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12504:1:1", + "referencedDeclaration": 354, + "src": "12865:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 879, + "id": 371, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12497:9:1", + "src": "12858:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 852, - "id": 880, + "functionReturnParameters": 344, + "id": 372, "nodeType": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ] }, "documentation": { - "id": 842, + "id": 334, "nodeType": "StructuredDocumentation", - "src": "11936:137:1", + "src": "12285:141:0", "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 882, + "id": 374, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMul", "nodeType": "FunctionDefinition", "parameters": { - "id": 847, + "id": 339, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 844, + "id": 336, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12094:9:1", + "scope": 374, + "src": "12448:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4254,10 +4254,10 @@ "typeString": "uint256" }, "typeName": { - "id": 843, + "id": 335, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12094:7:1", + "src": "12448:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4267,12 +4267,12 @@ }, { "constant": false, - "id": 846, + "id": 338, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12105:9:1", + "scope": 374, + "src": "12459:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4280,10 +4280,10 @@ "typeString": "uint256" }, "typeName": { - "id": 845, + "id": 337, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12105:7:1", + "src": "12459:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4292,20 +4292,20 @@ "visibility": "internal" } ], - "src": "12093:22:1" + "src": "12447:22:0" }, "returnParameters": { - "id": 852, + "id": 344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 849, + "id": 341, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12139:4:1", + "scope": 374, + "src": "12493:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4313,10 +4313,10 @@ "typeString": "bool" }, "typeName": { - "id": 848, + "id": 340, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12139:4:1", + "src": "12493:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4326,12 +4326,12 @@ }, { "constant": false, - "id": 851, + "id": 343, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12145:7:1", + "scope": 374, + "src": "12499:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4339,10 +4339,10 @@ "typeString": "uint256" }, "typeName": { - "id": 850, + "id": 342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12145:7:1", + "src": "12499:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4351,19 +4351,19 @@ "visibility": "internal" } ], - "src": "12138:15:1" + "src": "12492:15:0" }, - "scope": 1135, - "src": "12078:435:1", + "scope": 627, + "src": "12432:443:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 908, + "id": 400, "nodeType": "Block", - "src": "12738:76:1", + "src": "13107:79:0", "statements": [ { "condition": { @@ -4371,18 +4371,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 896, + "id": 388, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 894, + "id": 386, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12752:1:1", + "referencedDeclaration": 379, + "src": "13122:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4392,42 +4392,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 895, + "id": 387, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12757:1:1", + "src": "13127:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12752:6:1", + "src": "13122:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 901, + "id": 393, "nodeType": "IfStatement", - "src": "12748:29:1", + "src": "13118:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 897, + "id": 389, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12768:5:1", + "src": "13138:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4436,14 +4436,14 @@ }, { "hexValue": "30", - "id": 898, + "id": 390, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12775:1:1", + "src": "13145:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4451,23 +4451,23 @@ "value": "0" } ], - "id": 899, + "id": 391, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12767:10:1", + "src": "13137:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 893, - "id": 900, + "functionReturnParameters": 385, + "id": 392, "nodeType": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } }, { @@ -4475,14 +4475,14 @@ "components": [ { "hexValue": "74727565", - "id": 902, + "id": 394, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12795:4:1", + "src": "13166:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4494,18 +4494,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 905, + "id": 397, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 903, + "id": 395, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 885, - "src": "12801:1:1", + "referencedDeclaration": 377, + "src": "13172:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4514,68 +4514,68 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 904, + "id": 396, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12805:1:1", + "referencedDeclaration": 379, + "src": "13176:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12801:5:1", + "src": "13172:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 906, + "id": 398, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12794:13:1", + "src": "13165:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 893, - "id": 907, + "functionReturnParameters": 385, + "id": 399, "nodeType": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ] }, "documentation": { - "id": 883, + "id": 375, "nodeType": "StructuredDocumentation", - "src": "12519:138:1", + "src": "12883:142:0", "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 909, + "id": 401, "implemented": true, "kind": "function", "modifiers": [], "name": "tryDiv", "nodeType": "FunctionDefinition", "parameters": { - "id": 888, + "id": 380, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 885, + "id": 377, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12678:9:1", + "scope": 401, + "src": "13047:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4583,10 +4583,10 @@ "typeString": "uint256" }, "typeName": { - "id": 884, + "id": 376, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12678:7:1", + "src": "13047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4596,12 +4596,12 @@ }, { "constant": false, - "id": 887, + "id": 379, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12689:9:1", + "scope": 401, + "src": "13058:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4609,10 +4609,10 @@ "typeString": "uint256" }, "typeName": { - "id": 886, + "id": 378, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12689:7:1", + "src": "13058:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4621,20 +4621,20 @@ "visibility": "internal" } ], - "src": "12677:22:1" + "src": "13046:22:0" }, "returnParameters": { - "id": 893, + "id": 385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 890, + "id": 382, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12723:4:1", + "scope": 401, + "src": "13092:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4642,10 +4642,10 @@ "typeString": "bool" }, "typeName": { - "id": 889, + "id": 381, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12723:4:1", + "src": "13092:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4655,12 +4655,12 @@ }, { "constant": false, - "id": 892, + "id": 384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12729:7:1", + "scope": 401, + "src": "13098:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4668,10 +4668,10 @@ "typeString": "uint256" }, "typeName": { - "id": 891, + "id": 383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12729:7:1", + "src": "13098:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4680,19 +4680,19 @@ "visibility": "internal" } ], - "src": "12722:15:1" + "src": "13091:15:0" }, - "scope": 1135, - "src": "12662:152:1", + "scope": 627, + "src": "13031:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 935, + "id": 427, "nodeType": "Block", - "src": "13049:76:1", + "src": "13428:79:0", "statements": [ { "condition": { @@ -4700,18 +4700,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 923, + "id": 415, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 921, + "id": 413, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13063:1:1", + "referencedDeclaration": 406, + "src": "13443:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4721,42 +4721,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 922, + "id": 414, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13068:1:1", + "src": "13448:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "13063:6:1", + "src": "13443:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 928, + "id": 420, "nodeType": "IfStatement", - "src": "13059:29:1", + "src": "13439:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 924, + "id": 416, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13079:5:1", + "src": "13459:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4765,14 +4765,14 @@ }, { "hexValue": "30", - "id": 925, + "id": 417, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13086:1:1", + "src": "13466:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4780,23 +4780,23 @@ "value": "0" } ], - "id": 926, + "id": 418, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13078:10:1", + "src": "13458:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 920, - "id": 927, + "functionReturnParameters": 412, + "id": 419, "nodeType": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } }, { @@ -4804,14 +4804,14 @@ "components": [ { "hexValue": "74727565", - "id": 929, + "id": 421, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13106:4:1", + "src": "13487:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4823,18 +4823,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 932, + "id": 424, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 930, + "id": 422, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 912, - "src": "13112:1:1", + "referencedDeclaration": 404, + "src": "13493:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4843,68 +4843,68 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 931, + "id": 423, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13116:1:1", + "referencedDeclaration": 406, + "src": "13497:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13112:5:1", + "src": "13493:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 933, + "id": 425, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13105:13:1", + "src": "13486:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 920, - "id": 934, + "functionReturnParameters": 412, + "id": 426, "nodeType": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ] }, "documentation": { - "id": 910, + "id": 402, "nodeType": "StructuredDocumentation", - "src": "12820:148:1", + "src": "13194:152:0", "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 936, + "id": 428, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMod", "nodeType": "FunctionDefinition", "parameters": { - "id": 915, + "id": 407, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 912, + "id": 404, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "12989:9:1", + "scope": 428, + "src": "13368:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4912,10 +4912,10 @@ "typeString": "uint256" }, "typeName": { - "id": 911, + "id": 403, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12989:7:1", + "src": "13368:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4925,12 +4925,12 @@ }, { "constant": false, - "id": 914, + "id": 406, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13000:9:1", + "scope": 428, + "src": "13379:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4938,10 +4938,10 @@ "typeString": "uint256" }, "typeName": { - "id": 913, + "id": 405, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13000:7:1", + "src": "13379:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4950,20 +4950,20 @@ "visibility": "internal" } ], - "src": "12988:22:1" + "src": "13367:22:0" }, "returnParameters": { - "id": 920, + "id": 412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 917, + "id": 409, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13034:4:1", + "scope": 428, + "src": "13413:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4971,10 +4971,10 @@ "typeString": "bool" }, "typeName": { - "id": 916, + "id": 408, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "13034:4:1", + "src": "13413:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4984,12 +4984,12 @@ }, { "constant": false, - "id": 919, + "id": 411, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13040:7:1", + "scope": 428, + "src": "13419:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4997,10 +4997,10 @@ "typeString": "uint256" }, "typeName": { - "id": 918, + "id": 410, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13040:7:1", + "src": "13419:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5009,33 +5009,33 @@ "visibility": "internal" } ], - "src": "13033:15:1" + "src": "13412:15:0" }, - "scope": 1135, - "src": "12973:152:1", + "scope": 627, + "src": "13352:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 961, + "id": 453, "nodeType": "Block", - "src": "13427:108:1", + "src": "13821:112:0", "statements": [ { "assignments": [ - 947 + 439 ], "declarations": [ { "constant": false, - "id": 947, + "id": 439, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 961, - "src": "13437:9:1", + "scope": 453, + "src": "13832:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5043,10 +5043,10 @@ "typeString": "uint256" }, "typeName": { - "id": 946, + "id": 438, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13437:7:1", + "src": "13832:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5055,24 +5055,24 @@ "visibility": "internal" } ], - "id": 951, + "id": 443, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 950, + "id": 442, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 948, + "id": 440, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13449:1:1", + "referencedDeclaration": 431, + "src": "13844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5081,25 +5081,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 949, + "id": 441, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 941, - "src": "13453:1:1", + "referencedDeclaration": 433, + "src": "13848:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13449:5:1", + "src": "13844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "expression": { @@ -5109,18 +5109,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 955, + "id": 447, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 953, + "id": 445, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13472:1:1", + "referencedDeclaration": 439, + "src": "13868:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5129,18 +5129,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 954, + "id": 446, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13477:1:1", + "referencedDeclaration": 431, + "src": "13873:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13472:6:1", + "src": "13868:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5148,14 +5148,14 @@ }, { "hexValue": "536166654d6174683a206164646974696f6e206f766572666c6f77", - "id": 956, + "id": 448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13480:29:1", + "src": "13876:29:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_30cc447bcc13b3e22b45cef0dd9b0b514842d836dd9b6eb384e20dedfb47723a", "typeString": "literal_string \"SafeMath: addition overflow\"" @@ -5174,7 +5174,7 @@ "typeString": "literal_string \"SafeMath: addition overflow\"" } ], - "id": 952, + "id": 444, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5182,13 +5182,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13464:7:1", + "src": "13860:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 957, + "id": 449, "isConstant": false, "isLValue": false, "isPure": false, @@ -5196,61 +5196,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13464:46:1", + "src": "13860:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 958, + "id": 450, "nodeType": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "expression": { - "id": 959, + "id": 451, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13527:1:1", + "referencedDeclaration": 439, + "src": "13924:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 945, - "id": 960, + "functionReturnParameters": 437, + "id": 452, "nodeType": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ] }, "documentation": { - "id": 937, + "id": 429, "nodeType": "StructuredDocumentation", - "src": "13131:224:1", + "src": "13515:233:0", "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 962, + "id": 454, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 942, + "id": 434, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 939, + "id": 431, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13373:9:1", + "scope": 454, + "src": "13767:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5258,10 +5258,10 @@ "typeString": "uint256" }, "typeName": { - "id": 938, + "id": 430, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13373:7:1", + "src": "13767:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5271,12 +5271,12 @@ }, { "constant": false, - "id": 941, + "id": 433, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13384:9:1", + "scope": 454, + "src": "13778:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5284,10 +5284,10 @@ "typeString": "uint256" }, "typeName": { - "id": 940, + "id": 432, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13384:7:1", + "src": "13778:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5296,20 +5296,20 @@ "visibility": "internal" } ], - "src": "13372:22:1" + "src": "13766:22:0" }, "returnParameters": { - "id": 945, + "id": 437, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 944, + "id": 436, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13418:7:1", + "scope": 454, + "src": "13812:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5317,10 +5317,10 @@ "typeString": "uint256" }, "typeName": { - "id": 943, + "id": 435, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13418:7:1", + "src": "13812:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5329,19 +5329,19 @@ "visibility": "internal" } ], - "src": "13417:9:1" + "src": "13811:9:0" }, - "scope": 1135, - "src": "13360:175:1", + "scope": 627, + "src": "13754:179:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 983, + "id": 475, "nodeType": "Block", - "src": "13873:88:1", + "src": "14283:91:0", "statements": [ { "expression": { @@ -5351,18 +5351,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 975, + "id": 467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 973, + "id": 465, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13891:1:1", + "referencedDeclaration": 459, + "src": "14302:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5371,18 +5371,18 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 974, + "id": 466, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13896:1:1", + "referencedDeclaration": 457, + "src": "14307:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13891:6:1", + "src": "14302:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5390,14 +5390,14 @@ }, { "hexValue": "536166654d6174683a207375627472616374696f6e206f766572666c6f77", - "id": 976, + "id": 468, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13899:32:1", + "src": "14310:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_50b058e9b5320e58880d88223c9801cd9eecdcf90323d5c2318bc1b6b916e862", "typeString": "literal_string \"SafeMath: subtraction overflow\"" @@ -5416,7 +5416,7 @@ "typeString": "literal_string \"SafeMath: subtraction overflow\"" } ], - "id": 972, + "id": 464, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5424,13 +5424,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13883:7:1", + "src": "14294:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 977, + "id": 469, "isConstant": false, "isLValue": false, "isPure": false, @@ -5438,16 +5438,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13883:49:1", + "src": "14294:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 978, + "id": 470, "nodeType": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "expression": { @@ -5455,18 +5455,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 981, + "id": 473, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 979, + "id": 471, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13949:1:1", + "referencedDeclaration": 457, + "src": "14361:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5475,54 +5475,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 980, + "id": 472, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13953:1:1", + "referencedDeclaration": 459, + "src": "14365:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13949:5:1", + "src": "14361:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 971, - "id": 982, + "functionReturnParameters": 463, + "id": 474, "nodeType": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ] }, "documentation": { - "id": 963, + "id": 455, "nodeType": "StructuredDocumentation", - "src": "13541:260:1", + "src": "13941:269:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 984, + "id": 476, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 968, + "id": 460, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 965, + "id": 457, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13819:9:1", + "scope": 476, + "src": "14229:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5530,10 +5530,10 @@ "typeString": "uint256" }, "typeName": { - "id": 964, + "id": 456, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13819:7:1", + "src": "14229:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5543,12 +5543,12 @@ }, { "constant": false, - "id": 967, + "id": 459, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13830:9:1", + "scope": 476, + "src": "14240:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5556,10 +5556,10 @@ "typeString": "uint256" }, "typeName": { - "id": 966, + "id": 458, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13830:7:1", + "src": "14240:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5568,20 +5568,20 @@ "visibility": "internal" } ], - "src": "13818:22:1" + "src": "14228:22:0" }, "returnParameters": { - "id": 971, + "id": 463, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 970, + "id": 462, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13864:7:1", + "scope": 476, + "src": "14274:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5589,10 +5589,10 @@ "typeString": "uint256" }, "typeName": { - "id": 969, + "id": 461, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13864:7:1", + "src": "14274:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5601,19 +5601,19 @@ "visibility": "internal" } ], - "src": "13863:9:1" + "src": "14273:9:0" }, - "scope": 1135, - "src": "13806:155:1", + "scope": 627, + "src": "14216:158:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1017, + "id": 509, "nodeType": "Block", - "src": "14275:148:1", + "src": "14700:153:0", "statements": [ { "condition": { @@ -5621,18 +5621,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 996, + "id": 488, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 994, + "id": 486, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14289:1:1", + "referencedDeclaration": 479, + "src": "14715:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5642,65 +5642,65 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 995, + "id": 487, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14294:1:1", + "src": "14720:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14289:6:1", + "src": "14715:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 999, + "id": 491, "nodeType": "IfStatement", - "src": "14285:20:1", + "src": "14711:20:0", "trueBody": { "expression": { "hexValue": "30", - "id": 997, + "id": 489, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14304:1:1", + "src": "14730:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "functionReturnParameters": 993, - "id": 998, + "functionReturnParameters": 485, + "id": 490, "nodeType": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } }, { "assignments": [ - 1001 + 493 ], "declarations": [ { "constant": false, - "id": 1001, + "id": 493, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 1017, - "src": "14315:9:1", + "scope": 509, + "src": "14742:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5708,10 +5708,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1000, + "id": 492, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14315:7:1", + "src": "14742:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5720,24 +5720,24 @@ "visibility": "internal" } ], - "id": 1005, + "id": 497, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1004, + "id": 496, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1002, + "id": 494, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14327:1:1", + "referencedDeclaration": 479, + "src": "14754:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5746,25 +5746,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 1003, + "id": 495, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14331:1:1", + "referencedDeclaration": 481, + "src": "14758:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14327:5:1", + "src": "14754:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "expression": { @@ -5774,7 +5774,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1011, + "id": 503, "isConstant": false, "isLValue": false, "isPure": false, @@ -5784,18 +5784,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1009, + "id": 501, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1007, + "id": 499, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14350:1:1", + "referencedDeclaration": 493, + "src": "14778:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5804,18 +5804,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1008, + "id": 500, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14354:1:1", + "referencedDeclaration": 479, + "src": "14782:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:5:1", + "src": "14778:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5824,18 +5824,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 1010, + "id": 502, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14359:1:1", + "referencedDeclaration": 481, + "src": "14787:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:10:1", + "src": "14778:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5843,14 +5843,14 @@ }, { "hexValue": "536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77", - "id": 1012, + "id": 504, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14362:35:1", + "src": "14790:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9113bb53c2876a3805b2c9242029423fc540a728243ce887ab24c82cf119fba3", "typeString": "literal_string \"SafeMath: multiplication overflow\"" @@ -5869,7 +5869,7 @@ "typeString": "literal_string \"SafeMath: multiplication overflow\"" } ], - "id": 1006, + "id": 498, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5877,13 +5877,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14342:7:1", + "src": "14770:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1013, + "id": 505, "isConstant": false, "isLValue": false, "isPure": false, @@ -5891,61 +5891,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14342:56:1", + "src": "14770:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1014, + "id": 506, "nodeType": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "expression": { - "id": 1015, + "id": 507, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14415:1:1", + "referencedDeclaration": 493, + "src": "14844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 993, - "id": 1016, + "functionReturnParameters": 485, + "id": 508, "nodeType": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ] }, "documentation": { - "id": 985, + "id": 477, "nodeType": "StructuredDocumentation", - "src": "13967:236:1", + "src": "14382:245:0", "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 1018, + "id": 510, "implemented": true, "kind": "function", "modifiers": [], "name": "mul", "nodeType": "FunctionDefinition", "parameters": { - "id": 990, + "id": 482, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 987, + "id": 479, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14221:9:1", + "scope": 510, + "src": "14646:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5953,10 +5953,10 @@ "typeString": "uint256" }, "typeName": { - "id": 986, + "id": 478, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14221:7:1", + "src": "14646:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5966,12 +5966,12 @@ }, { "constant": false, - "id": 989, + "id": 481, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14232:9:1", + "scope": 510, + "src": "14657:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5979,10 +5979,10 @@ "typeString": "uint256" }, "typeName": { - "id": 988, + "id": 480, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14232:7:1", + "src": "14657:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5991,20 +5991,20 @@ "visibility": "internal" } ], - "src": "14220:22:1" + "src": "14645:22:0" }, "returnParameters": { - "id": 993, + "id": 485, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 992, + "id": 484, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14266:7:1", + "scope": 510, + "src": "14691:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6012,10 +6012,10 @@ "typeString": "uint256" }, "typeName": { - "id": 991, + "id": 483, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14266:7:1", + "src": "14691:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6024,19 +6024,19 @@ "visibility": "internal" } ], - "src": "14265:9:1" + "src": "14690:9:0" }, - "scope": 1135, - "src": "14208:215:1", + "scope": 627, + "src": "14633:220:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1039, + "id": 531, "nodeType": "Block", - "src": "14954:83:1", + "src": "15398:86:0", "statements": [ { "expression": { @@ -6046,18 +6046,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1031, + "id": 523, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1029, + "id": 521, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "14972:1:1", + "referencedDeclaration": 515, + "src": "15417:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6067,21 +6067,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1030, + "id": 522, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14976:1:1", + "src": "15421:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14972:5:1", + "src": "15417:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6089,14 +6089,14 @@ }, { "hexValue": "536166654d6174683a206469766973696f6e206279207a65726f", - "id": 1032, + "id": 524, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14979:28:1", + "src": "15424:28:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5b7cc70dda4dc2143e5adb63bd5d1f349504f461dbdfd9bc76fac1f8ca6d019f", "typeString": "literal_string \"SafeMath: division by zero\"" @@ -6115,7 +6115,7 @@ "typeString": "literal_string \"SafeMath: division by zero\"" } ], - "id": 1028, + "id": 520, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6123,13 +6123,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14964:7:1", + "src": "15409:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1033, + "id": 525, "isConstant": false, "isLValue": false, "isPure": false, @@ -6137,16 +6137,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14964:44:1", + "src": "15409:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1034, + "id": 526, "nodeType": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "expression": { @@ -6154,18 +6154,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1037, + "id": 529, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1035, + "id": 527, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1021, - "src": "15025:1:1", + "referencedDeclaration": 513, + "src": "15471:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6174,54 +6174,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1036, + "id": 528, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "15029:1:1", + "referencedDeclaration": 515, + "src": "15475:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15025:5:1", + "src": "15471:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1027, - "id": 1038, + "functionReturnParameters": 519, + "id": 530, "nodeType": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ] }, "documentation": { - "id": 1019, + "id": 511, "nodeType": "StructuredDocumentation", - "src": "14429:453:1", + "src": "14861:464:0", "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1040, + "id": 532, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1024, + "id": 516, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1021, + "id": 513, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14900:9:1", + "scope": 532, + "src": "15344:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6229,10 +6229,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1020, + "id": 512, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14900:7:1", + "src": "15344:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6242,12 +6242,12 @@ }, { "constant": false, - "id": 1023, + "id": 515, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14911:9:1", + "scope": 532, + "src": "15355:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6255,10 +6255,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1022, + "id": 514, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14911:7:1", + "src": "15355:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6267,20 +6267,20 @@ "visibility": "internal" } ], - "src": "14899:22:1" + "src": "15343:22:0" }, "returnParameters": { - "id": 1027, + "id": 519, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1026, + "id": 518, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14945:7:1", + "scope": 532, + "src": "15389:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6288,10 +6288,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1025, + "id": 517, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14945:7:1", + "src": "15389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6300,19 +6300,19 @@ "visibility": "internal" } ], - "src": "14944:9:1" + "src": "15388:9:0" }, - "scope": 1135, - "src": "14887:150:1", + "scope": 627, + "src": "15331:153:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1061, + "id": 553, "nodeType": "Block", - "src": "15557:81:1", + "src": "16018:84:0", "statements": [ { "expression": { @@ -6322,18 +6322,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1053, + "id": 545, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1051, + "id": 543, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15575:1:1", + "referencedDeclaration": 537, + "src": "16037:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6343,21 +6343,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1052, + "id": 544, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15579:1:1", + "src": "16041:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "15575:5:1", + "src": "16037:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6365,14 +6365,14 @@ }, { "hexValue": "536166654d6174683a206d6f64756c6f206279207a65726f", - "id": 1054, + "id": 546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "15582:26:1", + "src": "16044:26:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_726e51f7b81fce0a68f5f214f445e275313b20b1633f08ce954ee39abf8d7832", "typeString": "literal_string \"SafeMath: modulo by zero\"" @@ -6391,7 +6391,7 @@ "typeString": "literal_string \"SafeMath: modulo by zero\"" } ], - "id": 1050, + "id": 542, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6399,13 +6399,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "15567:7:1", + "src": "16029:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1055, + "id": 547, "isConstant": false, "isLValue": false, "isPure": false, @@ -6413,16 +6413,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15567:42:1", + "src": "16029:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1056, + "id": 548, "nodeType": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "expression": { @@ -6430,18 +6430,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1059, + "id": 551, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1057, + "id": 549, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1043, - "src": "15626:1:1", + "referencedDeclaration": 535, + "src": "16089:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6450,54 +6450,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1058, + "id": 550, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15630:1:1", + "referencedDeclaration": 537, + "src": "16093:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15626:5:1", + "src": "16089:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1049, - "id": 1060, + "functionReturnParameters": 541, + "id": 552, "nodeType": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ] }, "documentation": { - "id": 1041, + "id": 533, "nodeType": "StructuredDocumentation", - "src": "15043:442:1", + "src": "15492:453:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1062, + "id": 554, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1046, + "id": 538, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1043, + "id": 535, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15503:9:1", + "scope": 554, + "src": "15964:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6505,10 +6505,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1042, + "id": 534, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15503:7:1", + "src": "15964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6518,12 +6518,12 @@ }, { "constant": false, - "id": 1045, + "id": 537, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15514:9:1", + "scope": 554, + "src": "15975:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6531,10 +6531,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1044, + "id": 536, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15514:7:1", + "src": "15975:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6543,20 +6543,20 @@ "visibility": "internal" } ], - "src": "15502:22:1" + "src": "15963:22:0" }, "returnParameters": { - "id": 1049, + "id": 541, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1048, + "id": 540, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15548:7:1", + "scope": 554, + "src": "16009:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6564,10 +6564,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1047, + "id": 539, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15548:7:1", + "src": "16009:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6576,19 +6576,19 @@ "visibility": "internal" } ], - "src": "15547:9:1" + "src": "16008:9:0" }, - "scope": 1135, - "src": "15490:148:1", + "scope": 627, + "src": "15951:151:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1085, + "id": 577, "nodeType": "Block", - "src": "16197:68:1", + "src": "16676:71:0", "statements": [ { "expression": { @@ -6598,18 +6598,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1077, + "id": 569, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1075, + "id": 567, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16215:1:1", + "referencedDeclaration": 559, + "src": "16695:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6618,30 +6618,30 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 1076, + "id": 568, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16220:1:1", + "referencedDeclaration": 557, + "src": "16700:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16215:6:1", + "src": "16695:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1078, + "id": 570, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1069, - "src": "16223:12:1", + "referencedDeclaration": 561, + "src": "16703:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6659,7 +6659,7 @@ "typeString": "string memory" } ], - "id": 1074, + "id": 566, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6667,13 +6667,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "16207:7:1", + "src": "16687:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1079, + "id": 571, "isConstant": false, "isLValue": false, "isPure": false, @@ -6681,16 +6681,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16207:29:1", + "src": "16687:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1080, + "id": 572, "nodeType": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "expression": { @@ -6698,18 +6698,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1083, + "id": 575, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1081, + "id": 573, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16253:1:1", + "referencedDeclaration": 557, + "src": "16734:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6718,54 +6718,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 1082, + "id": 574, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16257:1:1", + "referencedDeclaration": 559, + "src": "16738:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16253:5:1", + "src": "16734:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1073, - "id": 1084, + "functionReturnParameters": 565, + "id": 576, "nodeType": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ] }, "documentation": { - "id": 1063, + "id": 555, "nodeType": "StructuredDocumentation", - "src": "15644:453:1", + "src": "16110:465:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1086, + "id": 578, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 1070, + "id": 562, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1065, + "id": 557, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16115:9:1", + "scope": 578, + "src": "16594:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6773,10 +6773,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1064, + "id": 556, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16115:7:1", + "src": "16594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6786,12 +6786,12 @@ }, { "constant": false, - "id": 1067, + "id": 559, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16126:9:1", + "scope": 578, + "src": "16605:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6799,10 +6799,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1066, + "id": 558, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16126:7:1", + "src": "16605:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6812,12 +6812,12 @@ }, { "constant": false, - "id": 1069, + "id": 561, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16137:26:1", + "scope": 578, + "src": "16616:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -6825,10 +6825,10 @@ "typeString": "string" }, "typeName": { - "id": 1068, + "id": 560, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16137:6:1", + "src": "16616:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -6837,20 +6837,20 @@ "visibility": "internal" } ], - "src": "16114:50:1" + "src": "16593:50:0" }, "returnParameters": { - "id": 1073, + "id": 565, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1072, + "id": 564, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16188:7:1", + "scope": 578, + "src": "16667:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6858,10 +6858,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1071, + "id": 563, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16188:7:1", + "src": "16667:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6870,19 +6870,19 @@ "visibility": "internal" } ], - "src": "16187:9:1" + "src": "16666:9:0" }, - "scope": 1135, - "src": "16102:163:1", + "scope": 627, + "src": "16581:166:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1109, + "id": 601, "nodeType": "Block", - "src": "17017:67:1", + "src": "17516:70:0", "statements": [ { "expression": { @@ -6892,18 +6892,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1101, + "id": 593, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1099, + "id": 591, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17035:1:1", + "referencedDeclaration": 583, + "src": "17535:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6913,33 +6913,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1100, + "id": 592, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17039:1:1", + "src": "17539:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17035:5:1", + "src": "17535:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1102, + "id": 594, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1093, - "src": "17042:12:1", + "referencedDeclaration": 585, + "src": "17542:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6957,7 +6957,7 @@ "typeString": "string memory" } ], - "id": 1098, + "id": 590, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6965,13 +6965,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17027:7:1", + "src": "17527:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1103, + "id": 595, "isConstant": false, "isLValue": false, "isPure": false, @@ -6979,16 +6979,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17027:28:1", + "src": "17527:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1104, + "id": 596, "nodeType": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "expression": { @@ -6996,18 +6996,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1107, + "id": 599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1105, + "id": 597, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1089, - "src": "17072:1:1", + "referencedDeclaration": 581, + "src": "17573:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7016,54 +7016,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1106, + "id": 598, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17076:1:1", + "referencedDeclaration": 583, + "src": "17577:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17072:5:1", + "src": "17573:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1097, - "id": 1108, + "functionReturnParameters": 589, + "id": 600, "nodeType": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ] }, "documentation": { - "id": 1087, + "id": 579, "nodeType": "StructuredDocumentation", - "src": "16271:646:1", + "src": "16755:660:0", "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1110, + "id": 602, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1094, + "id": 586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1089, + "id": 581, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16935:9:1", + "scope": 602, + "src": "17434:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7071,10 +7071,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1088, + "id": 580, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16935:7:1", + "src": "17434:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7084,12 +7084,12 @@ }, { "constant": false, - "id": 1091, + "id": 583, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16946:9:1", + "scope": 602, + "src": "17445:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7097,10 +7097,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1090, + "id": 582, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16946:7:1", + "src": "17445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7110,12 +7110,12 @@ }, { "constant": false, - "id": 1093, + "id": 585, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16957:26:1", + "scope": 602, + "src": "17456:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7123,10 +7123,10 @@ "typeString": "string" }, "typeName": { - "id": 1092, + "id": 584, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16957:6:1", + "src": "17456:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7135,20 +7135,20 @@ "visibility": "internal" } ], - "src": "16934:50:1" + "src": "17433:50:0" }, "returnParameters": { - "id": 1097, + "id": 589, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1096, + "id": 588, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "17008:7:1", + "scope": 602, + "src": "17507:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7156,10 +7156,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1095, + "id": 587, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17008:7:1", + "src": "17507:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7168,19 +7168,19 @@ "visibility": "internal" } ], - "src": "17007:9:1" + "src": "17506:9:0" }, - "scope": 1135, - "src": "16922:162:1", + "scope": 627, + "src": "17421:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1133, + "id": 625, "nodeType": "Block", - "src": "17825:67:1", + "src": "18344:70:0", "statements": [ { "expression": { @@ -7190,18 +7190,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1125, + "id": 617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1123, + "id": 615, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17843:1:1", + "referencedDeclaration": 607, + "src": "18363:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7211,33 +7211,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1124, + "id": 616, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17847:1:1", + "src": "18367:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17843:5:1", + "src": "18363:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1126, + "id": 618, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1117, - "src": "17850:12:1", + "referencedDeclaration": 609, + "src": "18370:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7255,7 +7255,7 @@ "typeString": "string memory" } ], - "id": 1122, + "id": 614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7263,13 +7263,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17835:7:1", + "src": "18355:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1127, + "id": 619, "isConstant": false, "isLValue": false, "isPure": false, @@ -7277,16 +7277,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17835:28:1", + "src": "18355:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1128, + "id": 620, "nodeType": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "expression": { @@ -7294,18 +7294,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1131, + "id": 623, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1129, + "id": 621, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1113, - "src": "17880:1:1", + "referencedDeclaration": 605, + "src": "18401:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7314,54 +7314,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1130, + "id": 622, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17884:1:1", + "referencedDeclaration": 607, + "src": "18405:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17880:5:1", + "src": "18401:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1121, - "id": 1132, + "functionReturnParameters": 613, + "id": 624, "nodeType": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ] }, "documentation": { - "id": 1111, + "id": 603, "nodeType": "StructuredDocumentation", - "src": "17090:635:1", + "src": "17594:649:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1134, + "id": 626, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1118, + "id": 610, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1113, + "id": 605, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17743:9:1", + "scope": 626, + "src": "18262:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7369,10 +7369,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1112, + "id": 604, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17743:7:1", + "src": "18262:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7382,12 +7382,12 @@ }, { "constant": false, - "id": 1115, + "id": 607, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17754:9:1", + "scope": 626, + "src": "18273:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7395,10 +7395,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1114, + "id": 606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17754:7:1", + "src": "18273:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7408,12 +7408,12 @@ }, { "constant": false, - "id": 1117, + "id": 609, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17765:26:1", + "scope": 626, + "src": "18284:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7421,10 +7421,10 @@ "typeString": "string" }, "typeName": { - "id": 1116, + "id": 608, "name": "string", "nodeType": "ElementaryTypeName", - "src": "17765:6:1", + "src": "18284:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7433,20 +7433,20 @@ "visibility": "internal" } ], - "src": "17742:50:1" + "src": "18261:50:0" }, "returnParameters": { - "id": 1121, + "id": 613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1120, + "id": 612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17816:7:1", + "scope": 626, + "src": "18335:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7454,10 +7454,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1119, + "id": 611, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17816:7:1", + "src": "18335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7466,20 +7466,20 @@ "visibility": "internal" } ], - "src": "17815:9:1" + "src": "18334:9:0" }, - "scope": 1135, - "src": "17730:162:1", + "scope": 627, + "src": "18249:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "11300:6594:1" + "scope": 2991, + "src": "11627:6790:0" }, { - "id": 1136, + "id": 628, "literals": [ "solidity", ">=", @@ -7490,7 +7490,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "abstract": false, @@ -7498,38 +7498,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1137, + "id": 629, "nodeType": "StructuredDocumentation", - "src": "17980:67:1", + "src": "18508:69:0", "text": " @dev Collection of functions related to the address type" }, "fullyImplemented": true, - "id": 1430, + "id": 922, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1153, + "id": 645, "nodeType": "Block", - "src": "18706:347:1", + "src": "19255:356:0", "statements": [ { "assignments": [ - 1146 + 638 ], "declarations": [ { "constant": false, - "id": 1146, + "id": 638, "mutability": "mutable", "name": "size", "nodeType": "VariableDeclaration", - "scope": 1153, - "src": "18903:12:1", + "scope": 645, + "src": "19457:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7537,10 +7537,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1145, + "id": 637, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "18903:7:1", + "src": "19457:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7549,39 +7549,39 @@ "visibility": "internal" } ], - "id": 1147, + "id": 639, "nodeType": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "AST": { "nodeType": "YulBlock", - "src": "18990:32:1", + "src": "19546:32:0", "statements": [ { "nodeType": "YulAssignment", - "src": "18992:28:1", + "src": "19548:28:0", "value": { "arguments": [ { "name": "account", "nodeType": "YulIdentifier", - "src": "19012:7:1" + "src": "19568:7:0" } ], "functionName": { "name": "extcodesize", "nodeType": "YulIdentifier", - "src": "19000:11:1" + "src": "19556:11:0" }, "nodeType": "YulFunctionCall", - "src": "19000:20:1" + "src": "19556:20:0" }, "variableNames": [ { "name": "size", "nodeType": "YulIdentifier", - "src": "18992:4:1" + "src": "19548:4:0" } ] } @@ -7590,23 +7590,23 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], - "id": 1148, + "id": 640, "nodeType": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "expression": { @@ -7614,18 +7614,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1151, + "id": 643, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1149, + "id": 641, "name": "size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1146, - "src": "19038:4:1", + "referencedDeclaration": 638, + "src": "19595:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7635,57 +7635,57 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1150, + "id": 642, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19045:1:1", + "src": "19602:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "19038:8:1", + "src": "19595:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1144, - "id": 1152, + "functionReturnParameters": 636, + "id": 644, "nodeType": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ] }, "documentation": { - "id": 1138, + "id": 630, "nodeType": "StructuredDocumentation", - "src": "18070:565:1", + "src": "18602:581:0", "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1154, + "id": 646, "implemented": true, "kind": "function", "modifiers": [], "name": "isContract", "nodeType": "FunctionDefinition", "parameters": { - "id": 1141, + "id": 633, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1140, + "id": 632, "mutability": "mutable", "name": "account", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18660:15:1", + "scope": 646, + "src": "19209:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7693,10 +7693,10 @@ "typeString": "address" }, "typeName": { - "id": 1139, + "id": 631, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18660:7:1", + "src": "19209:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -7706,20 +7706,20 @@ "visibility": "internal" } ], - "src": "18659:17:1" + "src": "19208:17:0" }, "returnParameters": { - "id": 1144, + "id": 636, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1143, + "id": 635, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18700:4:1", + "scope": 646, + "src": "19249:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7727,10 +7727,10 @@ "typeString": "bool" }, "typeName": { - "id": 1142, + "id": 634, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "18700:4:1", + "src": "19249:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7739,19 +7739,19 @@ "visibility": "internal" } ], - "src": "18699:6:1" + "src": "19248:6:0" }, - "scope": 1430, - "src": "18640:413:1", + "scope": 922, + "src": "19189:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1187, + "id": 679, "nodeType": "Block", - "src": "20041:320:1", + "src": "20617:326:0", "statements": [ { "expression": { @@ -7761,7 +7761,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1169, + "id": 661, "isConstant": false, "isLValue": false, "isPure": false, @@ -7770,14 +7770,14 @@ "expression": { "arguments": [ { - "id": 1165, + "id": 657, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "20067:4:1", + "src": "20644:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -7785,30 +7785,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1164, + "id": 656, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1163, + "id": 655, "name": "address", "nodeType": "ElementaryTypeName", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": {} } }, - "id": 1166, + "id": 658, "isConstant": false, "isLValue": false, "isPure": false, @@ -7816,21 +7816,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20059:13:1", + "src": "20636:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1167, + "id": 659, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "20059:21:1", + "src": "20636:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7839,18 +7839,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1168, + "id": 660, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20084:6:1", + "referencedDeclaration": 651, + "src": "20661:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "20059:31:1", + "src": "20636:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7858,14 +7858,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e6365", - "id": 1170, + "id": 662, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20092:31:1", + "src": "20669:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9", "typeString": "literal_string \"Address: insufficient balance\"" @@ -7884,7 +7884,7 @@ "typeString": "literal_string \"Address: insufficient balance\"" } ], - "id": 1162, + "id": 654, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7892,13 +7892,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20051:7:1", + "src": "20628:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1171, + "id": 663, "isConstant": false, "isLValue": false, "isPure": false, @@ -7906,31 +7906,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20051:73:1", + "src": "20628:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1172, + "id": 664, "nodeType": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "assignments": [ - 1174, + 666, null ], "declarations": [ { "constant": false, - "id": 1174, + "id": 666, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1187, - "src": "20213:12:1", + "scope": 679, + "src": "20793:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7938,10 +7938,10 @@ "typeString": "bool" }, "typeName": { - "id": 1173, + "id": 665, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "20213:4:1", + "src": "20793:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7951,19 +7951,19 @@ }, null ], - "id": 1181, + "id": 673, "initialValue": { "arguments": [ { "hexValue": "", - "id": 1179, + "id": 671, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20263:2:1", + "src": "20843:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -7986,31 +7986,31 @@ } ], "expression": { - "id": 1175, + "id": 667, "name": "recipient", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1157, - "src": "20231:9:1", + "referencedDeclaration": 649, + "src": "20811:9:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 1176, + "id": 668, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "20231:14:1", + "src": "20811:14:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1178, + "id": 670, "isConstant": false, "isLValue": false, "isPure": false, @@ -8021,25 +8021,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1177, + "id": 669, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20254:6:1", + "referencedDeclaration": 651, + "src": "20834:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "20231:31:1", + "src": "20811:31:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1180, + "id": 672, "isConstant": false, "isLValue": false, "isPure": false, @@ -8047,7 +8047,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20231:35:1", + "src": "20811:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -8055,18 +8055,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "expression": { "arguments": [ { - "id": 1183, + "id": 675, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1174, - "src": "20284:7:1", + "referencedDeclaration": 666, + "src": "20865:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8074,14 +8074,14 @@ }, { "hexValue": "416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564", - "id": 1184, + "id": 676, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20293:60:1", + "src": "20874:60:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae", "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" @@ -8100,7 +8100,7 @@ "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" } ], - "id": 1182, + "id": 674, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -8108,13 +8108,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20276:7:1", + "src": "20857:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1185, + "id": 677, "isConstant": false, "isLValue": false, "isPure": false, @@ -8122,43 +8122,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20276:78:1", + "src": "20857:78:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1186, + "id": 678, "nodeType": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ] }, "documentation": { - "id": 1155, + "id": 647, "nodeType": "StructuredDocumentation", - "src": "19059:906:1", + "src": "19619:921:0", "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1188, + "id": 680, "implemented": true, "kind": "function", "modifiers": [], "name": "sendValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1160, + "id": 652, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1157, + "id": 649, "mutability": "mutable", "name": "recipient", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "19989:25:1", + "scope": 680, + "src": "20565:25:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8166,10 +8166,10 @@ "typeString": "address payable" }, "typeName": { - "id": 1156, + "id": 648, "name": "address", "nodeType": "ElementaryTypeName", - "src": "19989:15:1", + "src": "20565:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -8180,12 +8180,12 @@ }, { "constant": false, - "id": 1159, + "id": 651, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "20016:14:1", + "scope": 680, + "src": "20592:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8193,10 +8193,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1158, + "id": 650, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "20016:7:1", + "src": "20592:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8205,48 +8205,48 @@ "visibility": "internal" } ], - "src": "19988:43:1" + "src": "20564:43:0" }, "returnParameters": { - "id": 1161, + "id": 653, "nodeType": "ParameterList", "parameters": [], - "src": "20041:0:1" + "src": "20617:0:0" }, - "scope": 1430, - "src": "19970:391:1", + "scope": 922, + "src": "20546:397:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1204, + "id": 696, "nodeType": "Block", - "src": "21191:82:1", + "src": "21793:84:0", "statements": [ { "expression": { "arguments": [ { - "id": 1199, + "id": 691, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1191, - "src": "21219:6:1", + "referencedDeclaration": 683, + "src": "21822:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1200, + "id": 692, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1193, - "src": "21227:4:1", + "referencedDeclaration": 685, + "src": "21830:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8254,14 +8254,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564", - "id": 1201, + "id": 693, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "21233:32:1", + "src": "21836:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", "typeString": "literal_string \"Address: low-level call failed\"" @@ -8284,21 +8284,21 @@ "typeString": "literal_string \"Address: low-level call failed\"" } ], - "id": 1198, + "id": 690, "name": "functionCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, - "src": "21206:12:1", + "referencedDeclaration": 717, + "src": "21809:12:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1202, + "id": 694, "isConstant": false, "isLValue": false, "isPure": false, @@ -8306,44 +8306,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21206:60:1", + "src": "21809:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1197, - "id": 1203, + "functionReturnParameters": 689, + "id": 695, "nodeType": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ] }, "documentation": { - "id": 1189, + "id": 681, "nodeType": "StructuredDocumentation", - "src": "20367:730:1", + "src": "20951:747:0", "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1205, + "id": 697, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1194, + "id": 686, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1191, + "id": 683, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21124:14:1", + "scope": 697, + "src": "21726:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8351,10 +8351,10 @@ "typeString": "address" }, "typeName": { - "id": 1190, + "id": 682, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21124:7:1", + "src": "21726:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8365,12 +8365,12 @@ }, { "constant": false, - "id": 1193, + "id": 685, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21140:17:1", + "scope": 697, + "src": "21742:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8378,10 +8378,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1192, + "id": 684, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21140:5:1", + "src": "21742:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8390,20 +8390,20 @@ "visibility": "internal" } ], - "src": "21123:35:1" + "src": "21725:35:0" }, "returnParameters": { - "id": 1197, + "id": 689, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1196, + "id": 688, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21177:12:1", + "scope": 697, + "src": "21779:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8411,10 +8411,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1195, + "id": 687, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21177:5:1", + "src": "21779:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8423,42 +8423,42 @@ "visibility": "internal" } ], - "src": "21176:14:1" + "src": "21778:14:0" }, - "scope": 1430, - "src": "21102:171:1", + "scope": 922, + "src": "21704:173:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1224, + "id": 716, "nodeType": "Block", - "src": "21612:76:1", + "src": "22224:78:0", "statements": [ { "expression": { "arguments": [ { - "id": 1218, + "id": 710, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1208, - "src": "21651:6:1", + "referencedDeclaration": 700, + "src": "22264:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1219, + "id": 711, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1210, - "src": "21659:4:1", + "referencedDeclaration": 702, + "src": "22272:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8466,14 +8466,14 @@ }, { "hexValue": "30", - "id": 1220, + "id": 712, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "21665:1:1", + "src": "22278:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -8481,12 +8481,12 @@ "value": "0" }, { - "id": 1221, + "id": 713, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1212, - "src": "21668:12:1", + "referencedDeclaration": 704, + "src": "22281:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -8512,21 +8512,21 @@ "typeString": "string memory" } ], - "id": 1217, + "id": 709, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "21629:21:1", + "referencedDeclaration": 787, + "src": "22242:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1222, + "id": 714, "isConstant": false, "isLValue": false, "isPure": false, @@ -8534,44 +8534,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21629:52:1", + "src": "22242:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1216, - "id": 1223, + "functionReturnParameters": 708, + "id": 715, "nodeType": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ] }, "documentation": { - "id": 1206, + "id": 698, "nodeType": "StructuredDocumentation", - "src": "21279:211:1", + "src": "21885:216:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1225, + "id": 717, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1213, + "id": 705, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1208, + "id": 700, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21517:14:1", + "scope": 717, + "src": "22129:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8579,10 +8579,10 @@ "typeString": "address" }, "typeName": { - "id": 1207, + "id": 699, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21517:7:1", + "src": "22129:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8593,12 +8593,12 @@ }, { "constant": false, - "id": 1210, + "id": 702, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21533:17:1", + "scope": 717, + "src": "22145:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8606,10 +8606,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1209, + "id": 701, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21533:5:1", + "src": "22145:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8619,12 +8619,12 @@ }, { "constant": false, - "id": 1212, + "id": 704, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21552:26:1", + "scope": 717, + "src": "22164:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8632,10 +8632,10 @@ "typeString": "string" }, "typeName": { - "id": 1211, + "id": 703, "name": "string", "nodeType": "ElementaryTypeName", - "src": "21552:6:1", + "src": "22164:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -8644,20 +8644,20 @@ "visibility": "internal" } ], - "src": "21516:63:1" + "src": "22128:63:0" }, "returnParameters": { - "id": 1216, + "id": 708, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1215, + "id": 707, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21598:12:1", + "scope": 717, + "src": "22210:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8665,10 +8665,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1214, + "id": 706, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21598:5:1", + "src": "22210:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8677,54 +8677,54 @@ "visibility": "internal" } ], - "src": "21597:14:1" + "src": "22209:14:0" }, - "scope": 1430, - "src": "21495:193:1", + "scope": 922, + "src": "22107:195:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1244, + "id": 736, "nodeType": "Block", - "src": "22163:111:1", + "src": "22790:113:0", "statements": [ { "expression": { "arguments": [ { - "id": 1238, + "id": 730, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1228, - "src": "22202:6:1", + "referencedDeclaration": 720, + "src": "22830:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1239, + "id": 731, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1230, - "src": "22210:4:1", + "referencedDeclaration": 722, + "src": "22838:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1240, + "id": 732, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1232, - "src": "22216:5:1", + "referencedDeclaration": 724, + "src": "22844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8732,14 +8732,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564", - "id": 1241, + "id": 733, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22223:43:1", + "src": "22851:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc", "typeString": "literal_string \"Address: low-level call with value failed\"" @@ -8766,21 +8766,21 @@ "typeString": "literal_string \"Address: low-level call with value failed\"" } ], - "id": 1237, + "id": 729, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "22180:21:1", + "referencedDeclaration": 787, + "src": "22808:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1242, + "id": 734, "isConstant": false, "isLValue": false, "isPure": false, @@ -8788,44 +8788,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22180:87:1", + "src": "22808:87:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1236, - "id": 1243, + "functionReturnParameters": 728, + "id": 735, "nodeType": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ] }, "documentation": { - "id": 1226, + "id": 718, "nodeType": "StructuredDocumentation", - "src": "21694:351:1", + "src": "22310:361:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1245, + "id": 737, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1233, + "id": 725, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1228, + "id": 720, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22081:14:1", + "scope": 737, + "src": "22708:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8833,10 +8833,10 @@ "typeString": "address" }, "typeName": { - "id": 1227, + "id": 719, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22081:7:1", + "src": "22708:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8847,12 +8847,12 @@ }, { "constant": false, - "id": 1230, + "id": 722, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22097:17:1", + "scope": 737, + "src": "22724:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8860,10 +8860,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1229, + "id": 721, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22097:5:1", + "src": "22724:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8873,12 +8873,12 @@ }, { "constant": false, - "id": 1232, + "id": 724, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22116:13:1", + "scope": 737, + "src": "22743:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8886,10 +8886,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1231, + "id": 723, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22116:7:1", + "src": "22743:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8898,20 +8898,20 @@ "visibility": "internal" } ], - "src": "22080:50:1" + "src": "22707:50:0" }, "returnParameters": { - "id": 1236, + "id": 728, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1235, + "id": 727, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22149:12:1", + "scope": 737, + "src": "22776:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8919,10 +8919,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1234, + "id": 726, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22149:5:1", + "src": "22776:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8931,19 +8931,19 @@ "visibility": "internal" } ], - "src": "22148:14:1" + "src": "22775:14:0" }, - "scope": 1430, - "src": "22050:224:1", + "scope": 922, + "src": "22677:226:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1294, + "id": 786, "nodeType": "Block", - "src": "22663:382:1", + "src": "23300:389:0", "statements": [ { "expression": { @@ -8953,7 +8953,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1266, + "id": 758, "isConstant": false, "isLValue": false, "isPure": false, @@ -8962,14 +8962,14 @@ "expression": { "arguments": [ { - "id": 1262, + "id": 754, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "22689:4:1", + "src": "23327:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -8977,30 +8977,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1261, + "id": 753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1260, + "id": 752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": {} } }, - "id": 1263, + "id": 755, "isConstant": false, "isLValue": false, "isPure": false, @@ -9008,21 +9008,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22681:13:1", + "src": "23319:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1264, + "id": 756, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "22681:21:1", + "src": "23319:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9031,18 +9031,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1265, + "id": 757, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22706:5:1", + "referencedDeclaration": 744, + "src": "23344:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "22681:30:1", + "src": "23319:30:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9050,14 +9050,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c", - "id": 1267, + "id": 759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22713:40:1", + "src": "23351:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c", "typeString": "literal_string \"Address: insufficient balance for call\"" @@ -9076,7 +9076,7 @@ "typeString": "literal_string \"Address: insufficient balance for call\"" } ], - "id": 1259, + "id": 751, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9084,13 +9084,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22673:7:1", + "src": "23311:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1268, + "id": 760, "isConstant": false, "isLValue": false, "isPure": false, @@ -9098,16 +9098,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22673:81:1", + "src": "23311:81:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1269, + "id": 761, "nodeType": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "expression": { @@ -9115,12 +9115,12 @@ { "arguments": [ { - "id": 1272, + "id": 764, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22783:6:1", + "referencedDeclaration": 740, + "src": "23422:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9134,18 +9134,18 @@ "typeString": "address" } ], - "id": 1271, + "id": 763, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "22772:10:1", + "referencedDeclaration": 646, + "src": "23411:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1273, + "id": 765, "isConstant": false, "isLValue": false, "isPure": false, @@ -9153,7 +9153,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22772:18:1", + "src": "23411:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9162,14 +9162,14 @@ }, { "hexValue": "416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1274, + "id": 766, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22792:31:1", + "src": "23431:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad", "typeString": "literal_string \"Address: call to non-contract\"" @@ -9188,7 +9188,7 @@ "typeString": "literal_string \"Address: call to non-contract\"" } ], - "id": 1270, + "id": 762, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9196,13 +9196,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22764:7:1", + "src": "23403:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1275, + "id": 767, "isConstant": false, "isLValue": false, "isPure": false, @@ -9210,31 +9210,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22764:60:1", + "src": "23403:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1276, + "id": 768, "nodeType": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "assignments": [ - 1278, - 1280 + 770, + 772 ], "declarations": [ { "constant": false, - "id": 1278, + "id": 770, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22895:12:1", + "scope": 786, + "src": "23537:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9242,10 +9242,10 @@ "typeString": "bool" }, "typeName": { - "id": 1277, + "id": 769, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "22895:4:1", + "src": "23537:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9255,12 +9255,12 @@ }, { "constant": false, - "id": 1280, + "id": 772, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22909:23:1", + "scope": 786, + "src": "23551:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9268,10 +9268,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1279, + "id": 771, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22909:5:1", + "src": "23551:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9280,16 +9280,16 @@ "visibility": "internal" } ], - "id": 1287, + "id": 779, "initialValue": { "arguments": [ { - "id": 1285, + "id": 777, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1250, - "src": "22964:4:1", + "referencedDeclaration": 742, + "src": "23606:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9311,31 +9311,31 @@ } ], "expression": { - "id": 1281, + "id": 773, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22936:6:1", + "referencedDeclaration": 740, + "src": "23578:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1282, + "id": 774, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "22936:11:1", + "src": "23578:11:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1284, + "id": 776, "isConstant": false, "isLValue": false, "isPure": false, @@ -9346,25 +9346,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1283, + "id": 775, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22956:5:1", + "referencedDeclaration": 744, + "src": "23598:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "22936:27:1", + "src": "23578:27:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1286, + "id": 778, "isConstant": false, "isLValue": false, "isPure": false, @@ -9372,7 +9372,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22936:33:1", + "src": "23578:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -9380,42 +9380,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "expression": { "arguments": [ { - "id": 1289, + "id": 781, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1278, - "src": "23004:7:1", + "referencedDeclaration": 770, + "src": "23647:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1290, + "id": 782, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1280, - "src": "23013:10:1", + "referencedDeclaration": 772, + "src": "23656:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1291, + "id": 783, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1254, - "src": "23025:12:1", + "referencedDeclaration": 746, + "src": "23668:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -9437,18 +9437,18 @@ "typeString": "string memory" } ], - "id": 1288, + "id": 780, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "22986:17:1", + "referencedDeclaration": 921, + "src": "23629:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1292, + "id": 784, "isConstant": false, "isLValue": false, "isPure": false, @@ -9456,44 +9456,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22986:52:1", + "src": "23629:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1258, - "id": 1293, + "functionReturnParameters": 750, + "id": 785, "nodeType": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ] }, "documentation": { - "id": 1246, + "id": 738, "nodeType": "StructuredDocumentation", - "src": "22280:237:1", + "src": "22911:242:0", "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1295, + "id": 787, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1255, + "id": 747, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1248, + "id": 740, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22553:14:1", + "scope": 787, + "src": "23190:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9501,10 +9501,10 @@ "typeString": "address" }, "typeName": { - "id": 1247, + "id": 739, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22553:7:1", + "src": "23190:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9515,12 +9515,12 @@ }, { "constant": false, - "id": 1250, + "id": 742, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22569:17:1", + "scope": 787, + "src": "23206:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9528,10 +9528,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1249, + "id": 741, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22569:5:1", + "src": "23206:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9541,12 +9541,12 @@ }, { "constant": false, - "id": 1252, + "id": 744, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22588:13:1", + "scope": 787, + "src": "23225:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9554,10 +9554,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1251, + "id": 743, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22588:7:1", + "src": "23225:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9567,12 +9567,12 @@ }, { "constant": false, - "id": 1254, + "id": 746, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22603:26:1", + "scope": 787, + "src": "23240:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9580,10 +9580,10 @@ "typeString": "string" }, "typeName": { - "id": 1253, + "id": 745, "name": "string", "nodeType": "ElementaryTypeName", - "src": "22603:6:1", + "src": "23240:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -9592,20 +9592,20 @@ "visibility": "internal" } ], - "src": "22552:78:1" + "src": "23189:78:0" }, "returnParameters": { - "id": 1258, + "id": 750, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1257, + "id": 749, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22649:12:1", + "scope": 787, + "src": "23286:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9613,10 +9613,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1256, + "id": 748, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22649:5:1", + "src": "23286:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9625,42 +9625,42 @@ "visibility": "internal" } ], - "src": "22648:14:1" + "src": "23285:14:0" }, - "scope": 1430, - "src": "22522:523:1", + "scope": 922, + "src": "23159:530:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1311, + "id": 803, "nodeType": "Block", - "src": "23322:97:1", + "src": "23974:99:0", "statements": [ { "expression": { "arguments": [ { - "id": 1306, + "id": 798, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1298, - "src": "23358:6:1", + "referencedDeclaration": 790, + "src": "24011:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1307, + "id": 799, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1300, - "src": "23366:4:1", + "referencedDeclaration": 792, + "src": "24019:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9668,14 +9668,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564", - "id": 1308, + "id": 800, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23372:39:1", + "src": "24025:39:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0", "typeString": "literal_string \"Address: low-level static call failed\"" @@ -9698,21 +9698,21 @@ "typeString": "literal_string \"Address: low-level static call failed\"" } ], - "id": 1305, + "id": 797, "name": "functionStaticCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, - "src": "23339:18:1", + "referencedDeclaration": 839, + "src": "23992:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) view returns (bytes memory)" } }, - "id": 1309, + "id": 801, "isConstant": false, "isLValue": false, "isPure": false, @@ -9720,44 +9720,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23339:73:1", + "src": "23992:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1304, - "id": 1310, + "functionReturnParameters": 796, + "id": 802, "nodeType": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ] }, "documentation": { - "id": 1296, + "id": 788, "nodeType": "StructuredDocumentation", - "src": "23051:166:1", + "src": "23697:171:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1312, + "id": 804, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1301, + "id": 793, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1298, + "id": 790, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23250:14:1", + "scope": 804, + "src": "23902:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9765,10 +9765,10 @@ "typeString": "address" }, "typeName": { - "id": 1297, + "id": 789, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23250:7:1", + "src": "23902:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9779,12 +9779,12 @@ }, { "constant": false, - "id": 1300, + "id": 792, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23266:17:1", + "scope": 804, + "src": "23918:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9792,10 +9792,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1299, + "id": 791, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23266:5:1", + "src": "23918:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9804,20 +9804,20 @@ "visibility": "internal" } ], - "src": "23249:35:1" + "src": "23901:35:0" }, "returnParameters": { - "id": 1304, + "id": 796, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1303, + "id": 795, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23308:12:1", + "scope": 804, + "src": "23960:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9825,10 +9825,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1302, + "id": 794, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23308:5:1", + "src": "23960:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9837,19 +9837,19 @@ "visibility": "internal" } ], - "src": "23307:14:1" + "src": "23959:14:0" }, - "scope": 1430, - "src": "23222:197:1", + "scope": 922, + "src": "23874:199:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1346, + "id": 838, "nodeType": "Block", - "src": "23731:288:1", + "src": "24393:294:0", "statements": [ { "expression": { @@ -9857,12 +9857,12 @@ { "arguments": [ { - "id": 1326, + "id": 818, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23760:6:1", + "referencedDeclaration": 807, + "src": "24423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9876,18 +9876,18 @@ "typeString": "address" } ], - "id": 1325, + "id": 817, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "23749:10:1", + "referencedDeclaration": 646, + "src": "24412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1327, + "id": 819, "isConstant": false, "isLValue": false, "isPure": false, @@ -9895,7 +9895,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23749:18:1", + "src": "24412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9904,14 +9904,14 @@ }, { "hexValue": "416464726573733a207374617469632063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1328, + "id": 820, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23769:38:1", + "src": "24432:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c79cc78e4f16ce3933a42b84c73868f93bb4a59c031a0acf576679de98c608a9", "typeString": "literal_string \"Address: static call to non-contract\"" @@ -9930,7 +9930,7 @@ "typeString": "literal_string \"Address: static call to non-contract\"" } ], - "id": 1324, + "id": 816, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9938,13 +9938,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "23741:7:1", + "src": "24404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1329, + "id": 821, "isConstant": false, "isLValue": false, "isPure": false, @@ -9952,31 +9952,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23741:67:1", + "src": "24404:67:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1330, + "id": 822, "nodeType": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "assignments": [ - 1332, - 1334 + 824, + 826 ], "declarations": [ { "constant": false, - "id": 1332, + "id": 824, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23879:12:1", + "scope": 838, + "src": "24545:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9984,10 +9984,10 @@ "typeString": "bool" }, "typeName": { - "id": 1331, + "id": 823, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "23879:4:1", + "src": "24545:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9997,12 +9997,12 @@ }, { "constant": false, - "id": 1334, + "id": 826, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23893:23:1", + "scope": 838, + "src": "24559:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10010,10 +10010,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1333, + "id": 825, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23893:5:1", + "src": "24559:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10022,16 +10022,16 @@ "visibility": "internal" } ], - "id": 1339, + "id": 831, "initialValue": { "arguments": [ { - "id": 1337, + "id": 829, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1317, - "src": "23938:4:1", + "referencedDeclaration": 809, + "src": "24604:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10046,31 +10046,31 @@ } ], "expression": { - "id": 1335, + "id": 827, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23920:6:1", + "referencedDeclaration": 807, + "src": "24586:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1336, + "id": 828, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "staticcall", "nodeType": "MemberAccess", - "src": "23920:17:1", + "src": "24586:17:0", "typeDescriptions": { "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) view returns (bool,bytes memory)" } }, - "id": 1338, + "id": 830, "isConstant": false, "isLValue": false, "isPure": false, @@ -10078,7 +10078,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23920:23:1", + "src": "24586:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10086,42 +10086,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "expression": { "arguments": [ { - "id": 1341, + "id": 833, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "23978:7:1", + "referencedDeclaration": 824, + "src": "24645:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1342, + "id": 834, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1334, - "src": "23987:10:1", + "referencedDeclaration": 826, + "src": "24654:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1343, + "id": 835, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1319, - "src": "23999:12:1", + "referencedDeclaration": 811, + "src": "24666:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10143,18 +10143,18 @@ "typeString": "string memory" } ], - "id": 1340, + "id": 832, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "23960:17:1", + "referencedDeclaration": 921, + "src": "24627:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1344, + "id": 836, "isConstant": false, "isLValue": false, "isPure": false, @@ -10162,44 +10162,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23960:52:1", + "src": "24627:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1323, - "id": 1345, + "functionReturnParameters": 815, + "id": 837, "nodeType": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ] }, "documentation": { - "id": 1313, + "id": 805, "nodeType": "StructuredDocumentation", - "src": "23425:173:1", + "src": "24081:178:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1347, + "id": 839, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1320, + "id": 812, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1315, + "id": 807, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23631:14:1", + "scope": 839, + "src": "24293:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10207,10 +10207,10 @@ "typeString": "address" }, "typeName": { - "id": 1314, + "id": 806, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23631:7:1", + "src": "24293:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10221,12 +10221,12 @@ }, { "constant": false, - "id": 1317, + "id": 809, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23647:17:1", + "scope": 839, + "src": "24309:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10234,10 +10234,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1316, + "id": 808, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23647:5:1", + "src": "24309:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10247,12 +10247,12 @@ }, { "constant": false, - "id": 1319, + "id": 811, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23666:26:1", + "scope": 839, + "src": "24328:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10260,10 +10260,10 @@ "typeString": "string" }, "typeName": { - "id": 1318, + "id": 810, "name": "string", "nodeType": "ElementaryTypeName", - "src": "23666:6:1", + "src": "24328:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10272,20 +10272,20 @@ "visibility": "internal" } ], - "src": "23630:63:1" + "src": "24292:63:0" }, "returnParameters": { - "id": 1323, + "id": 815, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1322, + "id": 814, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23717:12:1", + "scope": 839, + "src": "24379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10293,10 +10293,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1321, + "id": 813, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23717:5:1", + "src": "24379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10305,42 +10305,42 @@ "visibility": "internal" } ], - "src": "23716:14:1" + "src": "24378:14:0" }, - "scope": 1430, - "src": "23603:416:1", + "scope": 922, + "src": "24265:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1363, + "id": 855, "nodeType": "Block", - "src": "24295:101:1", + "src": "24971:103:0", "statements": [ { "expression": { "arguments": [ { - "id": 1358, + "id": 850, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1350, - "src": "24333:6:1", + "referencedDeclaration": 842, + "src": "25010:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1359, + "id": 851, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1352, - "src": "24341:4:1", + "referencedDeclaration": 844, + "src": "25018:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10348,14 +10348,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564", - "id": 1360, + "id": 852, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24347:41:1", + "src": "25024:41:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398", "typeString": "literal_string \"Address: low-level delegate call failed\"" @@ -10378,21 +10378,21 @@ "typeString": "literal_string \"Address: low-level delegate call failed\"" } ], - "id": 1357, + "id": 849, "name": "functionDelegateCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, - "src": "24312:20:1", + "referencedDeclaration": 891, + "src": "24989:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1361, + "id": 853, "isConstant": false, "isLValue": false, "isPure": false, @@ -10400,44 +10400,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24312:77:1", + "src": "24989:77:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1356, - "id": 1362, + "functionReturnParameters": 848, + "id": 854, "nodeType": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ] }, "documentation": { - "id": 1348, + "id": 840, "nodeType": "StructuredDocumentation", - "src": "24025:168:1", + "src": "24695:173:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1364, + "id": 856, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1353, + "id": 845, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1350, + "id": 842, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24228:14:1", + "scope": 856, + "src": "24904:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10445,10 +10445,10 @@ "typeString": "address" }, "typeName": { - "id": 1349, + "id": 841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24228:7:1", + "src": "24904:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10459,12 +10459,12 @@ }, { "constant": false, - "id": 1352, + "id": 844, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24244:17:1", + "scope": 856, + "src": "24920:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10472,10 +10472,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1351, + "id": 843, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24244:5:1", + "src": "24920:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10484,20 +10484,20 @@ "visibility": "internal" } ], - "src": "24227:35:1" + "src": "24903:35:0" }, "returnParameters": { - "id": 1356, + "id": 848, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1355, + "id": 847, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24281:12:1", + "scope": 856, + "src": "24957:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10505,10 +10505,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1354, + "id": 846, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24281:5:1", + "src": "24957:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10517,19 +10517,19 @@ "visibility": "internal" } ], - "src": "24280:14:1" + "src": "24956:14:0" }, - "scope": 1430, - "src": "24198:198:1", + "scope": 922, + "src": "24874:200:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1398, + "id": 890, "nodeType": "Block", - "src": "24707:292:1", + "src": "25393:298:0", "statements": [ { "expression": { @@ -10537,12 +10537,12 @@ { "arguments": [ { - "id": 1378, + "id": 870, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24736:6:1", + "referencedDeclaration": 859, + "src": "25423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10556,18 +10556,18 @@ "typeString": "address" } ], - "id": 1377, + "id": 869, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "24725:10:1", + "referencedDeclaration": 646, + "src": "25412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1379, + "id": 871, "isConstant": false, "isLValue": false, "isPure": false, @@ -10575,7 +10575,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24725:18:1", + "src": "25412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10584,14 +10584,14 @@ }, { "hexValue": "416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1380, + "id": 872, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24745:40:1", + "src": "25432:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b94ded0918034cf8f896e19fa3cfdef1188cd569c577264a3622e49152f88520", "typeString": "literal_string \"Address: delegate call to non-contract\"" @@ -10610,7 +10610,7 @@ "typeString": "literal_string \"Address: delegate call to non-contract\"" } ], - "id": 1376, + "id": 868, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -10618,13 +10618,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "24717:7:1", + "src": "25404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1381, + "id": 873, "isConstant": false, "isLValue": false, "isPure": false, @@ -10632,31 +10632,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24717:69:1", + "src": "25404:69:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1382, + "id": 874, "nodeType": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "assignments": [ - 1384, - 1386 + 876, + 878 ], "declarations": [ { "constant": false, - "id": 1384, + "id": 876, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24857:12:1", + "scope": 890, + "src": "25547:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10664,10 +10664,10 @@ "typeString": "bool" }, "typeName": { - "id": 1383, + "id": 875, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "24857:4:1", + "src": "25547:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10677,12 +10677,12 @@ }, { "constant": false, - "id": 1386, + "id": 878, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24871:23:1", + "scope": 890, + "src": "25561:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10690,10 +10690,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1385, + "id": 877, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24871:5:1", + "src": "25561:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10702,16 +10702,16 @@ "visibility": "internal" } ], - "id": 1391, + "id": 883, "initialValue": { "arguments": [ { - "id": 1389, + "id": 881, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1369, - "src": "24918:4:1", + "referencedDeclaration": 861, + "src": "25608:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10726,31 +10726,31 @@ } ], "expression": { - "id": 1387, + "id": 879, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24898:6:1", + "referencedDeclaration": 859, + "src": "25588:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1388, + "id": 880, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "delegatecall", "nodeType": "MemberAccess", - "src": "24898:19:1", + "src": "25588:19:0", "typeDescriptions": { "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) returns (bool,bytes memory)" } }, - "id": 1390, + "id": 882, "isConstant": false, "isLValue": false, "isPure": false, @@ -10758,7 +10758,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24898:25:1", + "src": "25588:25:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10766,42 +10766,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "expression": { "arguments": [ { - "id": 1393, + "id": 885, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1384, - "src": "24958:7:1", + "referencedDeclaration": 876, + "src": "25649:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1394, + "id": 886, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1386, - "src": "24967:10:1", + "referencedDeclaration": 878, + "src": "25658:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1395, + "id": 887, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1371, - "src": "24979:12:1", + "referencedDeclaration": 863, + "src": "25670:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10823,18 +10823,18 @@ "typeString": "string memory" } ], - "id": 1392, + "id": 884, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "24940:17:1", + "referencedDeclaration": 921, + "src": "25631:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1396, + "id": 888, "isConstant": false, "isLValue": false, "isPure": false, @@ -10842,44 +10842,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24940:52:1", + "src": "25631:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1375, - "id": 1397, + "functionReturnParameters": 867, + "id": 889, "nodeType": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ] }, "documentation": { - "id": 1365, + "id": 857, "nodeType": "StructuredDocumentation", - "src": "24402:175:1", + "src": "25082:180:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1399, + "id": 891, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1372, + "id": 864, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1367, + "id": 859, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24612:14:1", + "scope": 891, + "src": "25298:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10887,10 +10887,10 @@ "typeString": "address" }, "typeName": { - "id": 1366, + "id": 858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24612:7:1", + "src": "25298:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10901,12 +10901,12 @@ }, { "constant": false, - "id": 1369, + "id": 861, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24628:17:1", + "scope": 891, + "src": "25314:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10914,10 +10914,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1368, + "id": 860, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24628:5:1", + "src": "25314:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10927,12 +10927,12 @@ }, { "constant": false, - "id": 1371, + "id": 863, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24647:26:1", + "scope": 891, + "src": "25333:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10940,10 +10940,10 @@ "typeString": "string" }, "typeName": { - "id": 1370, + "id": 862, "name": "string", "nodeType": "ElementaryTypeName", - "src": "24647:6:1", + "src": "25333:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10952,20 +10952,20 @@ "visibility": "internal" } ], - "src": "24611:63:1" + "src": "25297:63:0" }, "returnParameters": { - "id": 1375, + "id": 867, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1374, + "id": 866, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24693:12:1", + "scope": 891, + "src": "25379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10973,10 +10973,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1373, + "id": 865, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24693:5:1", + "src": "25379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10985,37 +10985,37 @@ "visibility": "internal" } ], - "src": "24692:14:1" + "src": "25378:14:0" }, - "scope": 1430, - "src": "24582:417:1", + "scope": 922, + "src": "25268:423:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1428, + "id": 920, "nodeType": "Block", - "src": "25134:596:1", + "src": "25828:613:0", "statements": [ { "condition": { - "id": 1410, + "id": 902, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1401, - "src": "25148:7:1", + "referencedDeclaration": 893, + "src": "25843:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1426, + "id": 918, "nodeType": "Block", - "src": "25205:519:1", + "src": "25902:532:0", "statements": [ { "condition": { @@ -11023,32 +11023,32 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1417, + "id": 909, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1414, + "id": 906, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25289:10:1", + "referencedDeclaration": 895, + "src": "25988:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1415, + "id": 907, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "25289:17:1", + "src": "25988:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11058,41 +11058,41 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1416, + "id": 908, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "25309:1:1", + "src": "26008:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "25289:21:1", + "src": "25988:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1424, + "id": 916, "nodeType": "Block", - "src": "25661:53:1", + "src": "26368:55:0", "statements": [ { "expression": { "arguments": [ { - "id": 1421, + "id": 913, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1405, - "src": "25686:12:1", + "referencedDeclaration": 897, + "src": "26394:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -11106,7 +11106,7 @@ "typeString": "string memory" } ], - "id": 1420, + "id": 912, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -11114,13 +11114,13 @@ 4294967277 ], "referencedDeclaration": 4294967277, - "src": "25679:6:1", + "src": "26387:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", "typeString": "function (string memory) pure" } }, - "id": 1422, + "id": 914, "isConstant": false, "isLValue": false, "isPure": false, @@ -11128,56 +11128,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "25679:20:1", + "src": "26387:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1423, + "id": 915, "nodeType": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ] }, - "id": 1425, + "id": 917, "nodeType": "IfStatement", - "src": "25285:429:1", + "src": "25984:439:0", "trueBody": { - "id": 1419, + "id": 911, "nodeType": "Block", - "src": "25312:343:1", + "src": "26011:351:0", "statements": [ { "AST": { "nodeType": "YulBlock", - "src": "25496:145:1", + "src": "26199:148:0", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "25518:40:1", + "src": "26222:40:0", "value": { "arguments": [ { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25547:10:1" + "src": "26251:10:0" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "25541:5:1" + "src": "26245:5:0" }, "nodeType": "YulFunctionCall", - "src": "25541:17:1" + "src": "26245:17:0" }, "variables": [ { "name": "returndata_size", "nodeType": "YulTypedName", - "src": "25522:15:1", + "src": "26226:15:0", "type": "" } ] @@ -11190,118 +11190,118 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "25590:2:1", + "src": "26295:2:0", "type": "", "value": "32" }, { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25594:10:1" + "src": "26299:10:0" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "25586:3:1" + "src": "26291:3:0" }, "nodeType": "YulFunctionCall", - "src": "25586:19:1" + "src": "26291:19:0" }, { "name": "returndata_size", "nodeType": "YulIdentifier", - "src": "25607:15:1" + "src": "26312:15:0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "25579:6:1" + "src": "26284:6:0" }, "nodeType": "YulFunctionCall", - "src": "25579:44:1" + "src": "26284:44:0" }, "nodeType": "YulExpressionStatement", - "src": "25579:44:1" + "src": "26284:44:0" } ] }, "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], - "id": 1418, + "id": 910, "nodeType": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ] } } ] }, - "id": 1427, + "id": 919, "nodeType": "IfStatement", - "src": "25144:580:1", + "src": "25839:595:0", "trueBody": { - "id": 1413, + "id": 905, "nodeType": "Block", - "src": "25157:42:1", + "src": "25852:44:0", "statements": [ { "expression": { - "id": 1411, + "id": 903, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25178:10:1", + "referencedDeclaration": 895, + "src": "25874:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1409, - "id": 1412, + "functionReturnParameters": 901, + "id": 904, "nodeType": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ] } } ] }, - "id": 1429, + "id": 921, "implemented": true, "kind": "function", "modifiers": [], "name": "_verifyCallResult", "nodeType": "FunctionDefinition", "parameters": { - "id": 1406, + "id": 898, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1401, + "id": 893, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25032:12:1", + "scope": 921, + "src": "25726:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11309,10 +11309,10 @@ "typeString": "bool" }, "typeName": { - "id": 1400, + "id": 892, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "25032:4:1", + "src": "25726:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11322,12 +11322,12 @@ }, { "constant": false, - "id": 1403, + "id": 895, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25046:23:1", + "scope": 921, + "src": "25740:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11335,10 +11335,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1402, + "id": 894, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25046:5:1", + "src": "25740:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11348,12 +11348,12 @@ }, { "constant": false, - "id": 1405, + "id": 897, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25071:26:1", + "scope": 921, + "src": "25765:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11361,10 +11361,10 @@ "typeString": "string" }, "typeName": { - "id": 1404, + "id": 896, "name": "string", "nodeType": "ElementaryTypeName", - "src": "25071:6:1", + "src": "25765:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11373,20 +11373,20 @@ "visibility": "internal" } ], - "src": "25031:67:1" + "src": "25725:67:0" }, "returnParameters": { - "id": 1409, + "id": 901, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1408, + "id": 900, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25120:12:1", + "scope": 921, + "src": "25814:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11394,10 +11394,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1407, + "id": 899, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25120:5:1", + "src": "25814:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11406,20 +11406,20 @@ "visibility": "internal" } ], - "src": "25119:14:1" + "src": "25813:14:0" }, - "scope": 1430, - "src": "25005:725:1", + "scope": 922, + "src": "25699:742:0", "stateMutability": "pure", "virtual": false, "visibility": "private" } ], - "scope": 3499, - "src": "18048:7684:1" + "scope": 2991, + "src": "18579:7865:0" }, { - "id": 1431, + "id": 923, "literals": [ "solidity", ">=", @@ -11430,7 +11430,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "abstract": false, @@ -11438,31 +11438,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1432, + "id": 924, "nodeType": "StructuredDocumentation", - "src": "25824:686:1", + "src": "26541:709:0", "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, "fullyImplemented": true, - "id": 1921, + "id": 1413, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableSet.Set", - "id": 1440, + "id": 932, "members": [ { "constant": false, - "id": 1435, + "id": 927, "mutability": "mutable", "name": "_values", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27033:17:1", + "scope": 932, + "src": "27786:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11471,18 +11471,18 @@ }, "typeName": { "baseType": { - "id": 1433, + "id": 925, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27033:7:1", + "src": "27786:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1434, + "id": 926, "nodeType": "ArrayTypeName", - "src": "27033:9:1", + "src": "27786:9:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", "typeString": "bytes32[]" @@ -11492,12 +11492,12 @@ }, { "constant": false, - "id": 1439, + "id": 931, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27184:37:1", + "scope": 932, + "src": "27941:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11505,28 +11505,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1438, + "id": 930, "keyType": { - "id": 1436, + "id": 928, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27193:7:1", + "src": "27950:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "27184:28:1", + "src": "27941:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1437, + "id": 929, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "27204:7:1", + "src": "27961:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11538,19 +11538,19 @@ ], "name": "Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "26979:249:1", + "scope": 1413, + "src": "27730:256:0", "visibility": "public" }, { "body": { - "id": 1480, + "id": 972, "nodeType": "Block", - "src": "27467:335:1", + "src": "28233:345:0", "statements": [ { "condition": { - "id": 1454, + "id": 946, "isConstant": false, "isLValue": false, "isPure": false, @@ -11558,28 +11558,28 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "27481:22:1", + "src": "28248:22:0", "subExpression": { "arguments": [ { - "id": 1451, + "id": 943, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27492:3:1", + "referencedDeclaration": 935, + "src": "28259:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, { - "id": 1452, + "id": 944, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27497:5:1", + "referencedDeclaration": 937, + "src": "28264:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11589,7 +11589,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -11597,18 +11597,18 @@ "typeString": "bytes32" } ], - "id": 1450, + "id": 942, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "27482:9:1", + "referencedDeclaration": 1071, + "src": "28249:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1453, + "id": 945, "isConstant": false, "isLValue": false, "isPure": false, @@ -11616,7 +11616,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27482:21:1", + "src": "28249:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -11629,52 +11629,52 @@ } }, "falseBody": { - "id": 1478, + "id": 970, "nodeType": "Block", - "src": "27759:37:1", + "src": "28532:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1476, + "id": 968, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27780:5:1", + "src": "28554:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1449, - "id": 1477, + "functionReturnParameters": 941, + "id": 969, "nodeType": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ] }, - "id": 1479, + "id": 971, "nodeType": "IfStatement", - "src": "27477:319:1", + "src": "28244:327:0", "trueBody": { - "id": 1475, + "id": 967, "nodeType": "Block", - "src": "27505:248:1", + "src": "28272:254:0", "statements": [ { "expression": { "arguments": [ { - "id": 1460, + "id": 952, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27536:5:1", + "referencedDeclaration": 937, + "src": "28304:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11690,45 +11690,45 @@ ], "expression": { "expression": { - "id": 1455, + "id": 947, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27519:3:1", + "referencedDeclaration": 935, + "src": "28287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1458, + "id": 950, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27519:11:1", + "referencedDeclaration": 927, + "src": "28287:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1459, + "id": 951, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "27519:16:1", + "src": "28287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_bytes32_$returns$__$", "typeString": "function (bytes32)" } }, - "id": 1461, + "id": 953, "isConstant": false, "isLValue": false, "isPure": false, @@ -11736,20 +11736,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27519:23:1", + "src": "28287:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1462, + "id": 954, "nodeType": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "expression": { - "id": 1471, + "id": 963, "isConstant": false, "isLValue": false, "isPure": false, @@ -11757,39 +11757,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1463, + "id": 955, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27677:3:1", + "referencedDeclaration": 935, + "src": "28448:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1466, + "id": 958, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "27677:12:1", + "referencedDeclaration": 931, + "src": "28448:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1467, + "id": 959, "indexExpression": { - "id": 1465, + "id": 957, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27690:5:1", + "referencedDeclaration": 937, + "src": "28461:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11800,7 +11800,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "27677:19:1", + "src": "28448:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11811,75 +11811,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1468, + "id": 960, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27699:3:1", + "referencedDeclaration": 935, + "src": "28470:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1469, + "id": 961, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27699:11:1", + "referencedDeclaration": 927, + "src": "28470:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1470, + "id": 962, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "27699:18:1", + "src": "28470:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "27677:40:1", + "src": "28448:40:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1472, + "id": 964, "nodeType": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "expression": { "hexValue": "74727565", - "id": 1473, + "id": 965, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27738:4:1", + "src": "28510:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1449, - "id": 1474, + "functionReturnParameters": 941, + "id": 966, "nodeType": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ] } @@ -11887,43 +11887,43 @@ ] }, "documentation": { - "id": 1441, + "id": 933, "nodeType": "StructuredDocumentation", - "src": "27234:159:1", + "src": "27994:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1481, + "id": 973, "implemented": true, "kind": "function", "modifiers": [], "name": "_add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1446, + "id": 938, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1443, + "id": 935, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27412:15:1", + "scope": 973, + "src": "28178:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1442, + "id": 934, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27412:3:1", + "referencedDeclaration": 932, + "src": "28178:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -11931,12 +11931,12 @@ }, { "constant": false, - "id": 1445, + "id": 937, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27429:13:1", + "scope": 973, + "src": "28195:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11944,10 +11944,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1444, + "id": 936, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27429:7:1", + "src": "28195:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11956,20 +11956,20 @@ "visibility": "internal" } ], - "src": "27411:32:1" + "src": "28177:32:0" }, "returnParameters": { - "id": 1449, + "id": 941, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1448, + "id": 940, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27461:4:1", + "scope": 973, + "src": "28227:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11977,10 +11977,10 @@ "typeString": "bool" }, "typeName": { - "id": 1447, + "id": 939, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "27461:4:1", + "src": "28227:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11989,33 +11989,33 @@ "visibility": "internal" } ], - "src": "27460:6:1" + "src": "28226:6:0" }, - "scope": 1921, - "src": "27398:404:1", + "scope": 1413, + "src": "28164:414:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1560, + "id": 1052, "nodeType": "Block", - "src": "28042:1440:1", + "src": "28826:1472:0", "statements": [ { "assignments": [ - 1492 + 984 ], "declarations": [ { "constant": false, - "id": 1492, + "id": 984, "mutability": "mutable", "name": "valueIndex", "nodeType": "VariableDeclaration", - "scope": 1560, - "src": "28152:18:1", + "scope": 1052, + "src": "28938:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12023,10 +12023,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1491, + "id": 983, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28152:7:1", + "src": "28938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12035,43 +12035,43 @@ "visibility": "internal" } ], - "id": 1497, + "id": 989, "initialValue": { "baseExpression": { "expression": { - "id": 1493, + "id": 985, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28173:3:1", + "referencedDeclaration": 976, + "src": "28959:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1494, + "id": 986, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "28173:12:1", + "referencedDeclaration": 931, + "src": "28959:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1496, + "id": 988, "indexExpression": { - "id": 1495, + "id": 987, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "28186:5:1", + "referencedDeclaration": 978, + "src": "28972:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12082,14 +12082,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28173:19:1", + "src": "28959:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "condition": { @@ -12097,18 +12097,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1500, + "id": 992, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1498, + "id": 990, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28207:10:1", + "referencedDeclaration": 984, + "src": "28995:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12118,76 +12118,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1499, + "id": 991, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28221:1:1", + "src": "29009:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "28207:15:1", + "src": "28995:15:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1558, + "id": 1050, "nodeType": "Block", - "src": "29439:37:1", + "src": "30252:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1556, + "id": 1048, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29460:5:1", + "src": "30274:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1490, - "id": 1557, + "functionReturnParameters": 982, + "id": 1049, "nodeType": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ] }, - "id": 1559, + "id": 1051, "nodeType": "IfStatement", - "src": "28203:1273:1", + "src": "28991:1300:0", "trueBody": { - "id": 1555, + "id": 1047, "nodeType": "Block", - "src": "28224:1209:1", + "src": "29012:1234:0", "statements": [ { "assignments": [ - 1502 + 994 ], "declarations": [ { "constant": false, - "id": 1502, + "id": 994, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28564:21:1", + "scope": 1047, + "src": "29357:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12195,10 +12195,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1501, + "id": 993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28564:7:1", + "src": "29357:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12207,24 +12207,24 @@ "visibility": "internal" } ], - "id": 1506, + "id": 998, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1505, + "id": 997, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1503, + "id": 995, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28588:10:1", + "referencedDeclaration": 984, + "src": "29381:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12234,42 +12234,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1504, + "id": 996, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28601:1:1", + "src": "29394:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28588:14:1", + "src": "29381:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "assignments": [ - 1508 + 1000 ], "declarations": [ { "constant": false, - "id": 1508, + "id": 1000, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28616:17:1", + "scope": 1047, + "src": "29410:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12277,10 +12277,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1507, + "id": 999, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28616:7:1", + "src": "29410:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12289,13 +12289,13 @@ "visibility": "internal" } ], - "id": 1514, + "id": 1006, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1513, + "id": 1005, "isConstant": false, "isLValue": false, "isPure": false, @@ -12303,39 +12303,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1509, + "id": 1001, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28636:3:1", + "referencedDeclaration": 976, + "src": "29430:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1510, + "id": 1002, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28636:11:1", + "referencedDeclaration": 927, + "src": "29430:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1511, + "id": 1003, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "28636:18:1", + "src": "29430:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12345,42 +12345,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1512, + "id": 1004, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28657:1:1", + "src": "29451:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28636:22:1", + "src": "29430:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "assignments": [ - 1516 + 1008 ], "declarations": [ { "constant": false, - "id": 1516, + "id": 1008, "mutability": "mutable", "name": "lastvalue", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28898:17:1", + "scope": 1047, + "src": "29697:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12388,10 +12388,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1515, + "id": 1007, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28898:7:1", + "src": "29697:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12400,43 +12400,43 @@ "visibility": "internal" } ], - "id": 1521, + "id": 1013, "initialValue": { "baseExpression": { "expression": { - "id": 1517, + "id": 1009, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28918:3:1", + "referencedDeclaration": 976, + "src": "29717:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1518, + "id": 1010, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28918:11:1", + "referencedDeclaration": 927, + "src": "29717:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1520, + "id": 1012, "indexExpression": { - "id": 1519, + "id": 1011, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1508, - "src": "28930:9:1", + "referencedDeclaration": 1000, + "src": "29729:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12447,18 +12447,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28918:22:1", + "src": "29717:22:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "expression": { - "id": 1528, + "id": 1020, "isConstant": false, "isLValue": false, "isPure": false, @@ -12466,39 +12466,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1522, + "id": 1014, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29032:3:1", + "referencedDeclaration": 976, + "src": "29834:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1525, + "id": 1017, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29032:11:1", + "referencedDeclaration": 927, + "src": "29834:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1526, + "id": 1018, "indexExpression": { - "id": 1524, + "id": 1016, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29044:13:1", + "referencedDeclaration": 994, + "src": "29846:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12509,7 +12509,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29032:26:1", + "src": "29834:26:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12518,30 +12518,30 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1527, + "id": 1019, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29061:9:1", + "referencedDeclaration": 1008, + "src": "29863:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "29032:38:1", + "src": "29834:38:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1529, + "id": 1021, "nodeType": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "expression": { - "id": 1538, + "id": 1030, "isConstant": false, "isLValue": false, "isPure": false, @@ -12549,39 +12549,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1530, + "id": 1022, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29136:3:1", + "referencedDeclaration": 976, + "src": "29940:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1533, + "id": 1025, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29136:12:1", + "referencedDeclaration": 931, + "src": "29940:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1534, + "id": 1026, "indexExpression": { - "id": 1532, + "id": 1024, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29149:9:1", + "referencedDeclaration": 1008, + "src": "29953:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12592,7 +12592,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29136:23:1", + "src": "29940:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12605,18 +12605,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1537, + "id": 1029, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1535, + "id": 1027, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29162:13:1", + "referencedDeclaration": 994, + "src": "29966:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12626,35 +12626,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 1536, + "id": 1028, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29178:1:1", + "src": "29982:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "29162:17:1", + "src": "29966:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "29136:43:1", + "src": "29940:43:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1539, + "id": 1031, "nodeType": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "expression": { @@ -12663,45 +12663,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 1540, + "id": 1032, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29285:3:1", + "referencedDeclaration": 976, + "src": "30092:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1543, + "id": 1035, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29285:11:1", + "referencedDeclaration": 927, + "src": "30092:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1544, + "id": 1036, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "29285:15:1", + "src": "30092:15:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 1545, + "id": 1037, "isConstant": false, "isLValue": false, "isPure": false, @@ -12709,20 +12709,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "29285:17:1", + "src": "30092:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1546, + "id": 1038, "nodeType": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "expression": { - "id": 1551, + "id": 1043, "isConstant": false, "isLValue": false, "isPure": false, @@ -12730,43 +12730,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "29370:26:1", + "src": "30180:26:0", "subExpression": { "baseExpression": { "expression": { - "id": 1547, + "id": 1039, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29377:3:1", + "referencedDeclaration": 976, + "src": "30187:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1548, + "id": 1040, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29377:12:1", + "referencedDeclaration": 931, + "src": "30187:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1550, + "id": 1042, "indexExpression": { - "id": 1549, + "id": 1041, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "29390:5:1", + "referencedDeclaration": 978, + "src": "30200:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12777,7 +12777,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29377:19:1", + "src": "30187:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12788,31 +12788,31 @@ "typeString": "tuple()" } }, - "id": 1552, + "id": 1044, "nodeType": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "expression": { "hexValue": "74727565", - "id": 1553, + "id": 1045, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29418:4:1", + "src": "30230:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1490, - "id": 1554, + "functionReturnParameters": 982, + "id": 1046, "nodeType": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ] } @@ -12820,43 +12820,43 @@ ] }, "documentation": { - "id": 1482, + "id": 974, "nodeType": "StructuredDocumentation", - "src": "27808:157:1", + "src": "28586:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1561, + "id": 1053, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1487, + "id": 979, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1484, + "id": 976, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "27987:15:1", + "scope": 1053, + "src": "28771:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1483, + "id": 975, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27987:3:1", + "referencedDeclaration": 932, + "src": "28771:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -12864,12 +12864,12 @@ }, { "constant": false, - "id": 1486, + "id": 978, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28004:13:1", + "scope": 1053, + "src": "28788:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12877,10 +12877,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1485, + "id": 977, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28004:7:1", + "src": "28788:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12889,20 +12889,20 @@ "visibility": "internal" } ], - "src": "27986:32:1" + "src": "28770:32:0" }, "returnParameters": { - "id": 1490, + "id": 982, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1489, + "id": 981, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28036:4:1", + "scope": 1053, + "src": "28820:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12910,10 +12910,10 @@ "typeString": "bool" }, "typeName": { - "id": 1488, + "id": 980, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "28036:4:1", + "src": "28820:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12922,19 +12922,19 @@ "visibility": "internal" } ], - "src": "28035:6:1" + "src": "28819:6:0" }, - "scope": 1921, - "src": "27970:1512:1", + "scope": 1413, + "src": "28754:1544:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1578, + "id": 1070, "nodeType": "Block", - "src": "29642:48:1", + "src": "30463:50:0", "statements": [ { "expression": { @@ -12942,7 +12942,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1576, + "id": 1068, "isConstant": false, "isLValue": false, "isPure": false, @@ -12950,39 +12950,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 1571, + "id": 1063, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1564, - "src": "29659:3:1", + "referencedDeclaration": 1056, + "src": "30481:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1572, + "id": 1064, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29659:12:1", + "referencedDeclaration": 931, + "src": "30481:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1574, + "id": 1066, "indexExpression": { - "id": 1573, + "id": 1065, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1566, - "src": "29672:5:1", + "referencedDeclaration": 1058, + "src": "30494:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12993,7 +12993,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "29659:19:1", + "src": "30481:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13003,71 +13003,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1575, + "id": 1067, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29682:1:1", + "src": "30504:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "29659:24:1", + "src": "30481:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1570, - "id": 1577, + "functionReturnParameters": 1062, + "id": 1069, "nodeType": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ] }, "documentation": { - "id": 1562, + "id": 1054, "nodeType": "StructuredDocumentation", - "src": "29488:70:1", + "src": "30306:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1579, + "id": 1071, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1567, + "id": 1059, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1564, + "id": 1056, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29582:15:1", + "scope": 1071, + "src": "30403:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1563, + "id": 1055, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29582:3:1", + "referencedDeclaration": 932, + "src": "30403:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13075,12 +13075,12 @@ }, { "constant": false, - "id": 1566, + "id": 1058, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29599:13:1", + "scope": 1071, + "src": "30420:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13088,10 +13088,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1565, + "id": 1057, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "29599:7:1", + "src": "30420:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13100,20 +13100,20 @@ "visibility": "internal" } ], - "src": "29581:32:1" + "src": "30402:32:0" }, "returnParameters": { - "id": 1570, + "id": 1062, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1569, + "id": 1061, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29636:4:1", + "scope": 1071, + "src": "30457:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13121,10 +13121,10 @@ "typeString": "bool" }, "typeName": { - "id": 1568, + "id": 1060, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "29636:4:1", + "src": "30457:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13133,127 +13133,127 @@ "visibility": "internal" } ], - "src": "29635:6:1" + "src": "30456:6:0" }, - "scope": 1921, - "src": "29563:127:1", + "scope": 1413, + "src": "30384:129:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1591, + "id": 1083, "nodeType": "Block", - "src": "29836:42:1", + "src": "30664:44:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 1587, + "id": 1079, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1582, - "src": "29853:3:1", + "referencedDeclaration": 1074, + "src": "30682:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1588, + "id": 1080, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29853:11:1", + "referencedDeclaration": 927, + "src": "30682:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1589, + "id": 1081, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "29853:18:1", + "src": "30682:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1586, - "id": 1590, + "functionReturnParameters": 1078, + "id": 1082, "nodeType": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ] }, "documentation": { - "id": 1580, + "id": 1072, "nodeType": "StructuredDocumentation", - "src": "29696:70:1", + "src": "30521:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1592, + "id": 1084, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1583, + "id": 1075, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1582, + "id": 1074, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29788:15:1", + "scope": 1084, + "src": "30616:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1581, + "id": 1073, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29788:3:1", + "referencedDeclaration": 932, + "src": "30616:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, "visibility": "internal" } ], - "src": "29787:17:1" + "src": "30615:17:0" }, "returnParameters": { - "id": 1586, + "id": 1078, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1585, + "id": 1077, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29827:7:1", + "scope": 1084, + "src": "30655:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13261,10 +13261,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1584, + "id": 1076, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "29827:7:1", + "src": "30655:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13273,19 +13273,19 @@ "visibility": "internal" } ], - "src": "29826:9:1" + "src": "30654:9:0" }, - "scope": 1921, - "src": "29771:107:1", + "scope": 1413, + "src": "30599:109:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1616, + "id": 1108, "nodeType": "Block", - "src": "30286:125:1", + "src": "31128:128:0", "statements": [ { "expression": { @@ -13295,7 +13295,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1607, + "id": 1099, "isConstant": false, "isLValue": false, "isPure": false, @@ -13303,39 +13303,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1603, + "id": 1095, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30304:3:1", + "referencedDeclaration": 1087, + "src": "31147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1604, + "id": 1096, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30304:11:1", + "referencedDeclaration": 927, + "src": "31147:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1605, + "id": 1097, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "30304:18:1", + "src": "31147:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13344,18 +13344,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 1606, + "id": 1098, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30325:5:1", + "referencedDeclaration": 1089, + "src": "31168:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "30304:26:1", + "src": "31147:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13363,14 +13363,14 @@ }, { "hexValue": "456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473", - "id": 1608, + "id": 1100, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "30332:36:1", + "src": "31175:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_045d6834e6193a687012a3ad777f612279e549b6945364d9d2324f48610d3cbb", "typeString": "literal_string \"EnumerableSet: index out of bounds\"" @@ -13389,7 +13389,7 @@ "typeString": "literal_string \"EnumerableSet: index out of bounds\"" } ], - "id": 1602, + "id": 1094, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -13397,13 +13397,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "30296:7:1", + "src": "31139:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1609, + "id": 1101, "isConstant": false, "isLValue": false, "isPure": false, @@ -13411,54 +13411,54 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30296:73:1", + "src": "31139:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1610, + "id": 1102, "nodeType": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "expression": { "baseExpression": { "expression": { - "id": 1611, + "id": 1103, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30386:3:1", + "referencedDeclaration": 1087, + "src": "31230:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1612, + "id": 1104, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30386:11:1", + "referencedDeclaration": 927, + "src": "31230:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1614, + "id": 1106, "indexExpression": { - "id": 1613, + "id": 1105, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30398:5:1", + "referencedDeclaration": 1089, + "src": "31242:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13469,57 +13469,57 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "30386:18:1", + "src": "31230:18:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1601, - "id": 1615, + "functionReturnParameters": 1093, + "id": 1107, "nodeType": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ] }, "documentation": { - "id": 1593, + "id": 1085, "nodeType": "StructuredDocumentation", - "src": "29883:322:1", + "src": "30715:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1617, + "id": 1109, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1598, + "id": 1090, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1595, + "id": 1087, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30223:15:1", + "scope": 1109, + "src": "31065:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1594, + "id": 1086, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30223:3:1", + "referencedDeclaration": 932, + "src": "31065:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13527,12 +13527,12 @@ }, { "constant": false, - "id": 1597, + "id": 1089, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30240:13:1", + "scope": 1109, + "src": "31082:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13540,10 +13540,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1596, + "id": 1088, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "30240:7:1", + "src": "31082:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13552,20 +13552,20 @@ "visibility": "internal" } ], - "src": "30222:32:1" + "src": "31064:32:0" }, "returnParameters": { - "id": 1601, + "id": 1093, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1600, + "id": 1092, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30277:7:1", + "scope": 1109, + "src": "31119:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13573,10 +13573,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1599, + "id": 1091, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30277:7:1", + "src": "31119:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13585,40 +13585,40 @@ "visibility": "internal" } ], - "src": "30276:9:1" + "src": "31118:9:0" }, - "scope": 1921, - "src": "30210:201:1", + "scope": 1413, + "src": "31052:204:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableSet.Bytes32Set", - "id": 1620, + "id": 1112, "members": [ { "constant": false, - "id": 1619, + "id": 1111, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1620, - "src": "30464:10:1", + "scope": 1112, + "src": "31314:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1618, + "id": 1110, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30464:3:1", + "referencedDeclaration": 932, + "src": "31314:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13627,53 +13627,53 @@ ], "name": "Bytes32Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "30436:45:1", + "scope": 1413, + "src": "31285:47:0", "visibility": "public" }, { "body": { - "id": 1636, + "id": 1128, "nodeType": "Block", - "src": "30727:47:1", + "src": "31586:49:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1631, + "id": 1123, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1623, - "src": "30749:3:1", + "referencedDeclaration": 1115, + "src": "31609:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1632, + "id": 1124, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "30749:10:1", + "referencedDeclaration": 1111, + "src": "31609:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1633, + "id": 1125, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "30761:5:1", + "referencedDeclaration": 1117, + "src": "31621:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13683,7 +13683,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -13691,18 +13691,18 @@ "typeString": "bytes32" } ], - "id": 1630, + "id": 1122, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "30744:4:1", + "referencedDeclaration": 973, + "src": "31604:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1634, + "id": 1126, "isConstant": false, "isLValue": false, "isPure": false, @@ -13710,58 +13710,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30744:23:1", + "src": "31604:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1629, - "id": 1635, + "functionReturnParameters": 1121, + "id": 1127, "nodeType": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ] }, "documentation": { - "id": 1621, + "id": 1113, "nodeType": "StructuredDocumentation", - "src": "30487:159:1", + "src": "31340:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1637, + "id": 1129, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1626, + "id": 1118, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1623, + "id": 1115, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30664:22:1", + "scope": 1129, + "src": "31523:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1622, + "id": 1114, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30664:10:1", + "referencedDeclaration": 1112, + "src": "31523:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -13769,12 +13769,12 @@ }, { "constant": false, - "id": 1625, + "id": 1117, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30688:13:1", + "scope": 1129, + "src": "31547:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13782,10 +13782,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1624, + "id": 1116, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30688:7:1", + "src": "31547:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13794,20 +13794,20 @@ "visibility": "internal" } ], - "src": "30663:39:1" + "src": "31522:39:0" }, "returnParameters": { - "id": 1629, + "id": 1121, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1628, + "id": 1120, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30721:4:1", + "scope": 1129, + "src": "31580:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13815,10 +13815,10 @@ "typeString": "bool" }, "typeName": { - "id": 1627, + "id": 1119, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "30721:4:1", + "src": "31580:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13827,57 +13827,57 @@ "visibility": "internal" } ], - "src": "30720:6:1" + "src": "31579:6:0" }, - "scope": 1921, - "src": "30651:123:1", + "scope": 1413, + "src": "31510:125:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1653, + "id": 1145, "nodeType": "Block", - "src": "31021:50:1", + "src": "31890:52:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1648, + "id": 1140, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1640, - "src": "31046:3:1", + "referencedDeclaration": 1132, + "src": "31916:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1649, + "id": 1141, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31046:10:1", + "referencedDeclaration": 1111, + "src": "31916:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1650, + "id": 1142, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1642, - "src": "31058:5:1", + "referencedDeclaration": 1134, + "src": "31928:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13887,7 +13887,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -13895,18 +13895,18 @@ "typeString": "bytes32" } ], - "id": 1647, + "id": 1139, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "31038:7:1", + "referencedDeclaration": 1053, + "src": "31908:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1651, + "id": 1143, "isConstant": false, "isLValue": false, "isPure": false, @@ -13914,58 +13914,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31038:26:1", + "src": "31908:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1646, - "id": 1652, + "functionReturnParameters": 1138, + "id": 1144, "nodeType": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ] }, "documentation": { - "id": 1638, + "id": 1130, "nodeType": "StructuredDocumentation", - "src": "30780:157:1", + "src": "31643:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1654, + "id": 1146, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1643, + "id": 1135, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1640, + "id": 1132, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30958:22:1", + "scope": 1146, + "src": "31827:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1639, + "id": 1131, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30958:10:1", + "referencedDeclaration": 1112, + "src": "31827:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -13973,12 +13973,12 @@ }, { "constant": false, - "id": 1642, + "id": 1134, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30982:13:1", + "scope": 1146, + "src": "31851:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13986,10 +13986,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1641, + "id": 1133, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30982:7:1", + "src": "31851:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13998,20 +13998,20 @@ "visibility": "internal" } ], - "src": "30957:39:1" + "src": "31826:39:0" }, "returnParameters": { - "id": 1646, + "id": 1138, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1645, + "id": 1137, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "31015:4:1", + "scope": 1146, + "src": "31884:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14019,10 +14019,10 @@ "typeString": "bool" }, "typeName": { - "id": 1644, + "id": 1136, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31015:4:1", + "src": "31884:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14031,57 +14031,57 @@ "visibility": "internal" } ], - "src": "31014:6:1" + "src": "31883:6:0" }, - "scope": 1921, - "src": "30942:129:1", + "scope": 1413, + "src": "31811:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1670, + "id": 1162, "nodeType": "Block", - "src": "31238:52:1", + "src": "32114:54:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1665, + "id": 1157, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "31265:3:1", + "referencedDeclaration": 1149, + "src": "32142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1666, + "id": 1158, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31265:10:1", + "referencedDeclaration": 1111, + "src": "32142:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1667, + "id": 1159, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1659, - "src": "31277:5:1", + "referencedDeclaration": 1151, + "src": "32154:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14091,7 +14091,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14099,18 +14099,18 @@ "typeString": "bytes32" } ], - "id": 1664, + "id": 1156, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "31255:9:1", + "referencedDeclaration": 1071, + "src": "32132:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1668, + "id": 1160, "isConstant": false, "isLValue": false, "isPure": false, @@ -14118,58 +14118,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31255:28:1", + "src": "32132:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1663, - "id": 1669, + "functionReturnParameters": 1155, + "id": 1161, "nodeType": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ] }, "documentation": { - "id": 1655, + "id": 1147, "nodeType": "StructuredDocumentation", - "src": "31077:70:1", + "src": "31950:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1671, + "id": 1163, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1660, + "id": 1152, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1657, + "id": 1149, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31170:22:1", + "scope": 1163, + "src": "32046:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1656, + "id": 1148, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31170:10:1", + "referencedDeclaration": 1112, + "src": "32046:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14177,12 +14177,12 @@ }, { "constant": false, - "id": 1659, + "id": 1151, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31194:13:1", + "scope": 1163, + "src": "32070:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14190,10 +14190,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1658, + "id": 1150, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31194:7:1", + "src": "32070:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14202,20 +14202,20 @@ "visibility": "internal" } ], - "src": "31169:39:1" + "src": "32045:39:0" }, "returnParameters": { - "id": 1663, + "id": 1155, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1662, + "id": 1154, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31232:4:1", + "scope": 1163, + "src": "32108:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14223,10 +14223,10 @@ "typeString": "bool" }, "typeName": { - "id": 1661, + "id": 1153, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31232:4:1", + "src": "32108:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14235,47 +14235,47 @@ "visibility": "internal" } ], - "src": "31231:6:1" + "src": "32107:6:0" }, - "scope": 1921, - "src": "31152:138:1", + "scope": 1413, + "src": "32028:140:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1684, + "id": 1176, "nodeType": "Block", - "src": "31443:43:1", + "src": "32326:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1680, + "id": 1172, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "31468:3:1", + "referencedDeclaration": 1166, + "src": "32352:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1681, + "id": 1173, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31468:10:1", + "referencedDeclaration": 1111, + "src": "32352:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -14283,22 +14283,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1679, + "id": 1171, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "31460:7:1", + "referencedDeclaration": 1084, + "src": "32344:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1682, + "id": 1174, "isConstant": false, "isLValue": false, "isPure": false, @@ -14306,78 +14306,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31460:19:1", + "src": "32344:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1678, - "id": 1683, + "functionReturnParameters": 1170, + "id": 1175, "nodeType": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ] }, "documentation": { - "id": 1672, + "id": 1164, "nodeType": "StructuredDocumentation", - "src": "31296:70:1", + "src": "32176:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1685, + "id": 1177, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1675, + "id": 1167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1674, + "id": 1166, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31387:22:1", + "scope": 1177, + "src": "32270:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1673, + "id": 1165, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31387:10:1", + "referencedDeclaration": 1112, + "src": "32270:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, "visibility": "internal" } ], - "src": "31386:24:1" + "src": "32269:24:0" }, "returnParameters": { - "id": 1678, + "id": 1170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1677, + "id": 1169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31434:7:1", + "scope": 1177, + "src": "32317:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14385,10 +14385,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1676, + "id": 1168, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31434:7:1", + "src": "32317:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14397,57 +14397,57 @@ "visibility": "internal" } ], - "src": "31433:9:1" + "src": "32316:9:0" }, - "scope": 1921, - "src": "31371:115:1", + "scope": 1413, + "src": "32254:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1701, + "id": 1193, "nodeType": "Block", - "src": "31901:46:1", + "src": "32798:48:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1696, + "id": 1188, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1688, - "src": "31922:3:1", + "referencedDeclaration": 1180, + "src": "32820:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1697, + "id": 1189, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31922:10:1", + "referencedDeclaration": 1111, + "src": "32820:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1698, + "id": 1190, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "31934:5:1", + "referencedDeclaration": 1182, + "src": "32832:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14457,7 +14457,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14465,18 +14465,18 @@ "typeString": "uint256" } ], - "id": 1695, + "id": 1187, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "31918:3:1", + "referencedDeclaration": 1109, + "src": "32816:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1699, + "id": 1191, "isConstant": false, "isLValue": false, "isPure": false, @@ -14484,58 +14484,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31918:22:1", + "src": "32816:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1694, - "id": 1700, + "functionReturnParameters": 1186, + "id": 1192, "nodeType": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ] }, "documentation": { - "id": 1686, + "id": 1178, "nodeType": "StructuredDocumentation", - "src": "31491:322:1", + "src": "32378:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1702, + "id": 1194, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1691, + "id": 1183, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1688, + "id": 1180, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31830:22:1", + "scope": 1194, + "src": "32727:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1687, + "id": 1179, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31830:10:1", + "referencedDeclaration": 1112, + "src": "32727:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14543,12 +14543,12 @@ }, { "constant": false, - "id": 1690, + "id": 1182, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31854:13:1", + "scope": 1194, + "src": "32751:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14556,10 +14556,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1689, + "id": 1181, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31854:7:1", + "src": "32751:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14568,20 +14568,20 @@ "visibility": "internal" } ], - "src": "31829:39:1" + "src": "32726:39:0" }, "returnParameters": { - "id": 1694, + "id": 1186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1693, + "id": 1185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31892:7:1", + "scope": 1194, + "src": "32789:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14589,10 +14589,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1692, + "id": 1184, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31892:7:1", + "src": "32789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14601,40 +14601,40 @@ "visibility": "internal" } ], - "src": "31891:9:1" + "src": "32788:9:0" }, - "scope": 1921, - "src": "31818:129:1", + "scope": 1413, + "src": "32715:131:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.AddressSet", - "id": 1705, + "id": 1197, "members": [ { "constant": false, - "id": 1704, + "id": 1196, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1705, - "src": "32000:10:1", + "scope": 1197, + "src": "32904:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1703, + "id": 1195, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "32000:3:1", + "referencedDeclaration": 932, + "src": "32904:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -14643,43 +14643,43 @@ ], "name": "AddressSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "31972:45:1", + "scope": 1413, + "src": "32875:47:0", "visibility": "public" }, { "body": { - "id": 1730, + "id": 1222, "nodeType": "Block", - "src": "32263:74:1", + "src": "33176:76:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1716, + "id": 1208, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1708, - "src": "32285:3:1", + "referencedDeclaration": 1200, + "src": "33199:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1717, + "id": 1209, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32285:10:1", + "referencedDeclaration": 1196, + "src": "33199:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -14690,12 +14690,12 @@ { "arguments": [ { - "id": 1724, + "id": 1216, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1710, - "src": "32321:5:1", + "referencedDeclaration": 1202, + "src": "33235:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14709,26 +14709,26 @@ "typeString": "address" } ], - "id": 1723, + "id": 1215, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1722, + "id": 1214, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": {} } }, - "id": 1725, + "id": 1217, "isConstant": false, "isLValue": false, "isPure": false, @@ -14736,7 +14736,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32313:14:1", + "src": "33227:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -14751,26 +14751,26 @@ "typeString": "uint160" } ], - "id": 1721, + "id": 1213, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1720, + "id": 1212, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": {} } }, - "id": 1726, + "id": 1218, "isConstant": false, "isLValue": false, "isPure": false, @@ -14778,7 +14778,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32305:23:1", + "src": "33219:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -14793,26 +14793,26 @@ "typeString": "uint256" } ], - "id": 1719, + "id": 1211, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1718, + "id": 1210, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": {} } }, - "id": 1727, + "id": 1219, "isConstant": false, "isLValue": false, "isPure": false, @@ -14820,7 +14820,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32297:32:1", + "src": "33211:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -14831,7 +14831,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14839,18 +14839,18 @@ "typeString": "bytes32" } ], - "id": 1715, + "id": 1207, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "32280:4:1", + "referencedDeclaration": 973, + "src": "33194:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1728, + "id": 1220, "isConstant": false, "isLValue": false, "isPure": false, @@ -14858,58 +14858,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32280:50:1", + "src": "33194:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1714, - "id": 1729, + "functionReturnParameters": 1206, + "id": 1221, "nodeType": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ] }, "documentation": { - "id": 1706, + "id": 1198, "nodeType": "StructuredDocumentation", - "src": "32023:159:1", + "src": "32930:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1731, + "id": 1223, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1711, + "id": 1203, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1708, + "id": 1200, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32200:22:1", + "scope": 1223, + "src": "33113:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1707, + "id": 1199, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32200:10:1", + "referencedDeclaration": 1197, + "src": "33113:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -14917,12 +14917,12 @@ }, { "constant": false, - "id": 1710, + "id": 1202, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32224:13:1", + "scope": 1223, + "src": "33137:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14930,10 +14930,10 @@ "typeString": "address" }, "typeName": { - "id": 1709, + "id": 1201, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32224:7:1", + "src": "33137:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -14943,20 +14943,20 @@ "visibility": "internal" } ], - "src": "32199:39:1" + "src": "33112:39:0" }, "returnParameters": { - "id": 1714, + "id": 1206, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1713, + "id": 1205, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32257:4:1", + "scope": 1223, + "src": "33170:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14964,10 +14964,10 @@ "typeString": "bool" }, "typeName": { - "id": 1712, + "id": 1204, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32257:4:1", + "src": "33170:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14976,47 +14976,47 @@ "visibility": "internal" } ], - "src": "32256:6:1" + "src": "33169:6:0" }, - "scope": 1921, - "src": "32187:150:1", + "scope": 1413, + "src": "33100:152:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1756, + "id": 1248, "nodeType": "Block", - "src": "32584:77:1", + "src": "33507:79:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1742, + "id": 1234, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1734, - "src": "32609:3:1", + "referencedDeclaration": 1226, + "src": "33533:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1743, + "id": 1235, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32609:10:1", + "referencedDeclaration": 1196, + "src": "33533:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15027,12 +15027,12 @@ { "arguments": [ { - "id": 1750, + "id": 1242, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1736, - "src": "32645:5:1", + "referencedDeclaration": 1228, + "src": "33569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15046,26 +15046,26 @@ "typeString": "address" } ], - "id": 1749, + "id": 1241, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1748, + "id": 1240, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": {} } }, - "id": 1751, + "id": 1243, "isConstant": false, "isLValue": false, "isPure": false, @@ -15073,7 +15073,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32637:14:1", + "src": "33561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15088,26 +15088,26 @@ "typeString": "uint160" } ], - "id": 1747, + "id": 1239, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1746, + "id": 1238, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": {} } }, - "id": 1752, + "id": 1244, "isConstant": false, "isLValue": false, "isPure": false, @@ -15115,7 +15115,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32629:23:1", + "src": "33553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15130,26 +15130,26 @@ "typeString": "uint256" } ], - "id": 1745, + "id": 1237, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1744, + "id": 1236, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": {} } }, - "id": 1753, + "id": 1245, "isConstant": false, "isLValue": false, "isPure": false, @@ -15157,7 +15157,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32621:32:1", + "src": "33545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15168,7 +15168,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15176,18 +15176,18 @@ "typeString": "bytes32" } ], - "id": 1741, + "id": 1233, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "32601:7:1", + "referencedDeclaration": 1053, + "src": "33525:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1754, + "id": 1246, "isConstant": false, "isLValue": false, "isPure": false, @@ -15195,58 +15195,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32601:53:1", + "src": "33525:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1740, - "id": 1755, + "functionReturnParameters": 1232, + "id": 1247, "nodeType": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ] }, "documentation": { - "id": 1732, + "id": 1224, "nodeType": "StructuredDocumentation", - "src": "32343:157:1", + "src": "33260:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1757, + "id": 1249, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1737, + "id": 1229, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1734, + "id": 1226, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32521:22:1", + "scope": 1249, + "src": "33444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1733, + "id": 1225, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32521:10:1", + "referencedDeclaration": 1197, + "src": "33444:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15254,12 +15254,12 @@ }, { "constant": false, - "id": 1736, + "id": 1228, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32545:13:1", + "scope": 1249, + "src": "33468:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15267,10 +15267,10 @@ "typeString": "address" }, "typeName": { - "id": 1735, + "id": 1227, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32545:7:1", + "src": "33468:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15280,20 +15280,20 @@ "visibility": "internal" } ], - "src": "32520:39:1" + "src": "33443:39:0" }, "returnParameters": { - "id": 1740, + "id": 1232, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1739, + "id": 1231, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32578:4:1", + "scope": 1249, + "src": "33501:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15301,10 +15301,10 @@ "typeString": "bool" }, "typeName": { - "id": 1738, + "id": 1230, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32578:4:1", + "src": "33501:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15313,47 +15313,47 @@ "visibility": "internal" } ], - "src": "32577:6:1" + "src": "33500:6:0" }, - "scope": 1921, - "src": "32505:156:1", + "scope": 1413, + "src": "33428:158:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1782, + "id": 1274, "nodeType": "Block", - "src": "32828:79:1", + "src": "33758:81:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1768, + "id": 1260, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1760, - "src": "32855:3:1", + "referencedDeclaration": 1252, + "src": "33786:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1769, + "id": 1261, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32855:10:1", + "referencedDeclaration": 1196, + "src": "33786:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15364,12 +15364,12 @@ { "arguments": [ { - "id": 1776, + "id": 1268, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1762, - "src": "32891:5:1", + "referencedDeclaration": 1254, + "src": "33822:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15383,26 +15383,26 @@ "typeString": "address" } ], - "id": 1775, + "id": 1267, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1774, + "id": 1266, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": {} } }, - "id": 1777, + "id": 1269, "isConstant": false, "isLValue": false, "isPure": false, @@ -15410,7 +15410,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32883:14:1", + "src": "33814:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15425,26 +15425,26 @@ "typeString": "uint160" } ], - "id": 1773, + "id": 1265, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1772, + "id": 1264, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": {} } }, - "id": 1778, + "id": 1270, "isConstant": false, "isLValue": false, "isPure": false, @@ -15452,7 +15452,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32875:23:1", + "src": "33806:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15467,26 +15467,26 @@ "typeString": "uint256" } ], - "id": 1771, + "id": 1263, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1770, + "id": 1262, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": {} } }, - "id": 1779, + "id": 1271, "isConstant": false, "isLValue": false, "isPure": false, @@ -15494,7 +15494,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32867:32:1", + "src": "33798:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15505,7 +15505,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15513,18 +15513,18 @@ "typeString": "bytes32" } ], - "id": 1767, + "id": 1259, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "32845:9:1", + "referencedDeclaration": 1071, + "src": "33776:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1780, + "id": 1272, "isConstant": false, "isLValue": false, "isPure": false, @@ -15532,58 +15532,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32845:55:1", + "src": "33776:55:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1766, - "id": 1781, + "functionReturnParameters": 1258, + "id": 1273, "nodeType": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ] }, "documentation": { - "id": 1758, + "id": 1250, "nodeType": "StructuredDocumentation", - "src": "32667:70:1", + "src": "33594:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1783, + "id": 1275, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1763, + "id": 1255, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1760, + "id": 1252, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32760:22:1", + "scope": 1275, + "src": "33690:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1759, + "id": 1251, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32760:10:1", + "referencedDeclaration": 1197, + "src": "33690:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15591,12 +15591,12 @@ }, { "constant": false, - "id": 1762, + "id": 1254, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32784:13:1", + "scope": 1275, + "src": "33714:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15604,10 +15604,10 @@ "typeString": "address" }, "typeName": { - "id": 1761, + "id": 1253, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32784:7:1", + "src": "33714:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15617,20 +15617,20 @@ "visibility": "internal" } ], - "src": "32759:39:1" + "src": "33689:39:0" }, "returnParameters": { - "id": 1766, + "id": 1258, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1765, + "id": 1257, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32822:4:1", + "scope": 1275, + "src": "33752:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15638,10 +15638,10 @@ "typeString": "bool" }, "typeName": { - "id": 1764, + "id": 1256, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32822:4:1", + "src": "33752:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15650,47 +15650,47 @@ "visibility": "internal" } ], - "src": "32821:6:1" + "src": "33751:6:0" }, - "scope": 1921, - "src": "32742:165:1", + "scope": 1413, + "src": "33672:167:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1796, + "id": 1288, "nodeType": "Block", - "src": "33060:43:1", + "src": "33997:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1792, + "id": 1284, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1786, - "src": "33085:3:1", + "referencedDeclaration": 1278, + "src": "34023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1793, + "id": 1285, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33085:10:1", + "referencedDeclaration": 1196, + "src": "34023:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -15698,22 +15698,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1791, + "id": 1283, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "33077:7:1", + "referencedDeclaration": 1084, + "src": "34015:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1794, + "id": 1286, "isConstant": false, "isLValue": false, "isPure": false, @@ -15721,78 +15721,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33077:19:1", + "src": "34015:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1790, - "id": 1795, + "functionReturnParameters": 1282, + "id": 1287, "nodeType": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ] }, "documentation": { - "id": 1784, + "id": 1276, "nodeType": "StructuredDocumentation", - "src": "32913:70:1", + "src": "33847:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1797, + "id": 1289, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1787, + "id": 1279, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1786, + "id": 1278, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33004:22:1", + "scope": 1289, + "src": "33941:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1785, + "id": 1277, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33004:10:1", + "referencedDeclaration": 1197, + "src": "33941:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, "visibility": "internal" } ], - "src": "33003:24:1" + "src": "33940:24:0" }, "returnParameters": { - "id": 1790, + "id": 1282, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1789, + "id": 1281, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33051:7:1", + "scope": 1289, + "src": "33988:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15800,10 +15800,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1788, + "id": 1280, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33051:7:1", + "src": "33988:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15812,19 +15812,19 @@ "visibility": "internal" } ], - "src": "33050:9:1" + "src": "33987:9:0" }, - "scope": 1921, - "src": "32988:115:1", + "scope": 1413, + "src": "33925:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1822, + "id": 1314, "nodeType": "Block", - "src": "33518:73:1", + "src": "34469:75:0", "statements": [ { "expression": { @@ -15837,38 +15837,38 @@ "arguments": [ { "expression": { - "id": 1814, + "id": 1306, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1800, - "src": "33563:3:1", + "referencedDeclaration": 1292, + "src": "34515:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1815, + "id": 1307, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33563:10:1", + "referencedDeclaration": 1196, + "src": "34515:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1816, + "id": 1308, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1802, - "src": "33575:5:1", + "referencedDeclaration": 1294, + "src": "34527:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15878,7 +15878,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15886,18 +15886,18 @@ "typeString": "uint256" } ], - "id": 1813, + "id": 1305, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "33559:3:1", + "referencedDeclaration": 1109, + "src": "34511:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1817, + "id": 1309, "isConstant": false, "isLValue": false, "isPure": false, @@ -15905,7 +15905,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33559:22:1", + "src": "34511:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15920,26 +15920,26 @@ "typeString": "bytes32" } ], - "id": 1812, + "id": 1304, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1811, + "id": 1303, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": {} } }, - "id": 1818, + "id": 1310, "isConstant": false, "isLValue": false, "isPure": false, @@ -15947,7 +15947,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33551:31:1", + "src": "34503:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15962,26 +15962,26 @@ "typeString": "uint256" } ], - "id": 1810, + "id": 1302, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1809, + "id": 1301, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": {} } }, - "id": 1819, + "id": 1311, "isConstant": false, "isLValue": false, "isPure": false, @@ -15989,7 +15989,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33543:40:1", + "src": "34495:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -16004,26 +16004,26 @@ "typeString": "uint160" } ], - "id": 1808, + "id": 1300, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1807, + "id": 1299, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": {} } }, - "id": 1820, + "id": 1312, "isConstant": false, "isLValue": false, "isPure": false, @@ -16031,58 +16031,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33535:49:1", + "src": "34487:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 1806, - "id": 1821, + "functionReturnParameters": 1298, + "id": 1313, "nodeType": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ] }, "documentation": { - "id": 1798, + "id": 1290, "nodeType": "StructuredDocumentation", - "src": "33108:322:1", + "src": "34049:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1823, + "id": 1315, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1803, + "id": 1295, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1800, + "id": 1292, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33447:22:1", + "scope": 1315, + "src": "34398:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1799, + "id": 1291, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33447:10:1", + "referencedDeclaration": 1197, + "src": "34398:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -16090,12 +16090,12 @@ }, { "constant": false, - "id": 1802, + "id": 1294, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33471:13:1", + "scope": 1315, + "src": "34422:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16103,10 +16103,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1801, + "id": 1293, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33471:7:1", + "src": "34422:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16115,20 +16115,20 @@ "visibility": "internal" } ], - "src": "33446:39:1" + "src": "34397:39:0" }, "returnParameters": { - "id": 1806, + "id": 1298, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1805, + "id": 1297, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33509:7:1", + "scope": 1315, + "src": "34460:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16136,10 +16136,10 @@ "typeString": "address" }, "typeName": { - "id": 1804, + "id": 1296, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33509:7:1", + "src": "34460:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16149,40 +16149,40 @@ "visibility": "internal" } ], - "src": "33508:9:1" + "src": "34459:9:0" }, - "scope": 1921, - "src": "33435:156:1", + "scope": 1413, + "src": "34386:158:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.UintSet", - "id": 1826, + "id": 1318, "members": [ { "constant": false, - "id": 1825, + "id": 1317, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1826, - "src": "33639:10:1", + "scope": 1318, + "src": "34598:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1824, + "id": 1316, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "33639:3:1", + "referencedDeclaration": 932, + "src": "34598:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -16191,55 +16191,55 @@ ], "name": "UintSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "33614:42:1", + "scope": 1413, + "src": "34572:44:0", "visibility": "public" }, { "body": { - "id": 1845, + "id": 1337, "nodeType": "Block", - "src": "33899:56:1", + "src": "34867:58:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1837, + "id": 1329, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1829, - "src": "33921:3:1", + "referencedDeclaration": 1321, + "src": "34890:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1838, + "id": 1330, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "33921:10:1", + "referencedDeclaration": 1317, + "src": "34890:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1841, + "id": 1333, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1831, - "src": "33941:5:1", + "referencedDeclaration": 1323, + "src": "34910:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16253,26 +16253,26 @@ "typeString": "uint256" } ], - "id": 1840, + "id": 1332, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1839, + "id": 1331, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": {} } }, - "id": 1842, + "id": 1334, "isConstant": false, "isLValue": false, "isPure": false, @@ -16280,7 +16280,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33933:14:1", + "src": "34902:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16291,7 +16291,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16299,18 +16299,18 @@ "typeString": "bytes32" } ], - "id": 1836, + "id": 1328, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "33916:4:1", + "referencedDeclaration": 973, + "src": "34885:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1843, + "id": 1335, "isConstant": false, "isLValue": false, "isPure": false, @@ -16318,58 +16318,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33916:32:1", + "src": "34885:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1835, - "id": 1844, + "functionReturnParameters": 1327, + "id": 1336, "nodeType": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ] }, "documentation": { - "id": 1827, + "id": 1319, "nodeType": "StructuredDocumentation", - "src": "33662:159:1", + "src": "34624:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1846, + "id": 1338, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1832, + "id": 1324, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1829, + "id": 1321, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33839:19:1", + "scope": 1338, + "src": "34807:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1828, + "id": 1320, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "33839:7:1", + "referencedDeclaration": 1318, + "src": "34807:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16377,12 +16377,12 @@ }, { "constant": false, - "id": 1831, + "id": 1323, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33860:13:1", + "scope": 1338, + "src": "34828:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16390,10 +16390,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1830, + "id": 1322, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33860:7:1", + "src": "34828:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16402,20 +16402,20 @@ "visibility": "internal" } ], - "src": "33838:36:1" + "src": "34806:36:0" }, "returnParameters": { - "id": 1835, + "id": 1327, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1834, + "id": 1326, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33893:4:1", + "scope": 1338, + "src": "34861:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16423,10 +16423,10 @@ "typeString": "bool" }, "typeName": { - "id": 1833, + "id": 1325, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "33893:4:1", + "src": "34861:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16435,59 +16435,59 @@ "visibility": "internal" } ], - "src": "33892:6:1" + "src": "34860:6:0" }, - "scope": 1921, - "src": "33826:129:1", + "scope": 1413, + "src": "34794:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1865, + "id": 1357, "nodeType": "Block", - "src": "34199:59:1", + "src": "35177:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1857, + "id": 1349, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1849, - "src": "34224:3:1", + "referencedDeclaration": 1341, + "src": "35203:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1858, + "id": 1350, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34224:10:1", + "referencedDeclaration": 1317, + "src": "35203:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1861, + "id": 1353, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1851, - "src": "34244:5:1", + "referencedDeclaration": 1343, + "src": "35223:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16501,26 +16501,26 @@ "typeString": "uint256" } ], - "id": 1860, + "id": 1352, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1859, + "id": 1351, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": {} } }, - "id": 1862, + "id": 1354, "isConstant": false, "isLValue": false, "isPure": false, @@ -16528,7 +16528,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34236:14:1", + "src": "35215:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16539,7 +16539,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16547,18 +16547,18 @@ "typeString": "bytes32" } ], - "id": 1856, + "id": 1348, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "34216:7:1", + "referencedDeclaration": 1053, + "src": "35195:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1863, + "id": 1355, "isConstant": false, "isLValue": false, "isPure": false, @@ -16566,58 +16566,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34216:35:1", + "src": "35195:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1855, - "id": 1864, + "functionReturnParameters": 1347, + "id": 1356, "nodeType": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ] }, "documentation": { - "id": 1847, + "id": 1339, "nodeType": "StructuredDocumentation", - "src": "33961:157:1", + "src": "34933:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1866, + "id": 1358, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1852, + "id": 1344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1849, + "id": 1341, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34139:19:1", + "scope": 1358, + "src": "35117:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1848, + "id": 1340, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34139:7:1", + "referencedDeclaration": 1318, + "src": "35117:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16625,12 +16625,12 @@ }, { "constant": false, - "id": 1851, + "id": 1343, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34160:13:1", + "scope": 1358, + "src": "35138:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16638,10 +16638,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1850, + "id": 1342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34160:7:1", + "src": "35138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16650,20 +16650,20 @@ "visibility": "internal" } ], - "src": "34138:36:1" + "src": "35116:36:0" }, "returnParameters": { - "id": 1855, + "id": 1347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1854, + "id": 1346, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34193:4:1", + "scope": 1358, + "src": "35171:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16671,10 +16671,10 @@ "typeString": "bool" }, "typeName": { - "id": 1853, + "id": 1345, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34193:4:1", + "src": "35171:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16683,59 +16683,59 @@ "visibility": "internal" } ], - "src": "34192:6:1" + "src": "35170:6:0" }, - "scope": 1921, - "src": "34123:135:1", + "scope": 1413, + "src": "35101:137:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1885, + "id": 1377, "nodeType": "Block", - "src": "34422:61:1", + "src": "35407:63:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1877, + "id": 1369, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1869, - "src": "34449:3:1", + "referencedDeclaration": 1361, + "src": "35435:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1878, + "id": 1370, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34449:10:1", + "referencedDeclaration": 1317, + "src": "35435:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1881, + "id": 1373, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1871, - "src": "34469:5:1", + "referencedDeclaration": 1363, + "src": "35455:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16749,26 +16749,26 @@ "typeString": "uint256" } ], - "id": 1880, + "id": 1372, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1879, + "id": 1371, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": {} } }, - "id": 1882, + "id": 1374, "isConstant": false, "isLValue": false, "isPure": false, @@ -16776,7 +16776,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34461:14:1", + "src": "35447:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16787,7 +16787,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16795,18 +16795,18 @@ "typeString": "bytes32" } ], - "id": 1876, + "id": 1368, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "34439:9:1", + "referencedDeclaration": 1071, + "src": "35425:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1883, + "id": 1375, "isConstant": false, "isLValue": false, "isPure": false, @@ -16814,58 +16814,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34439:37:1", + "src": "35425:37:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1875, - "id": 1884, + "functionReturnParameters": 1367, + "id": 1376, "nodeType": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ] }, "documentation": { - "id": 1867, + "id": 1359, "nodeType": "StructuredDocumentation", - "src": "34264:70:1", + "src": "35246:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1886, + "id": 1378, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1872, + "id": 1364, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1869, + "id": 1361, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34357:19:1", + "scope": 1378, + "src": "35342:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1868, + "id": 1360, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34357:7:1", + "referencedDeclaration": 1318, + "src": "35342:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16873,12 +16873,12 @@ }, { "constant": false, - "id": 1871, + "id": 1363, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34378:13:1", + "scope": 1378, + "src": "35363:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16886,10 +16886,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1870, + "id": 1362, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34378:7:1", + "src": "35363:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16898,20 +16898,20 @@ "visibility": "internal" } ], - "src": "34356:36:1" + "src": "35341:36:0" }, "returnParameters": { - "id": 1875, + "id": 1367, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1874, + "id": 1366, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34416:4:1", + "scope": 1378, + "src": "35401:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16919,10 +16919,10 @@ "typeString": "bool" }, "typeName": { - "id": 1873, + "id": 1365, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34416:4:1", + "src": "35401:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16931,47 +16931,47 @@ "visibility": "internal" } ], - "src": "34415:6:1" + "src": "35400:6:0" }, - "scope": 1921, - "src": "34339:144:1", + "scope": 1413, + "src": "35324:146:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1899, + "id": 1391, "nodeType": "Block", - "src": "34633:43:1", + "src": "35625:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1895, + "id": 1387, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1889, - "src": "34658:3:1", + "referencedDeclaration": 1381, + "src": "35651:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1896, + "id": 1388, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34658:10:1", + "referencedDeclaration": 1317, + "src": "35651:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -16979,22 +16979,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1894, + "id": 1386, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "34650:7:1", + "referencedDeclaration": 1084, + "src": "35643:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1897, + "id": 1389, "isConstant": false, "isLValue": false, "isPure": false, @@ -17002,78 +17002,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34650:19:1", + "src": "35643:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1893, - "id": 1898, + "functionReturnParameters": 1385, + "id": 1390, "nodeType": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ] }, "documentation": { - "id": 1887, + "id": 1379, "nodeType": "StructuredDocumentation", - "src": "34489:70:1", + "src": "35478:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1900, + "id": 1392, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1890, + "id": 1382, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1889, + "id": 1381, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34580:19:1", + "scope": 1392, + "src": "35572:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1888, + "id": 1380, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34580:7:1", + "referencedDeclaration": 1318, + "src": "35572:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, "visibility": "internal" } ], - "src": "34579:21:1" + "src": "35571:21:0" }, "returnParameters": { - "id": 1893, + "id": 1385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1892, + "id": 1384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34624:7:1", + "scope": 1392, + "src": "35616:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17081,10 +17081,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1891, + "id": 1383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34624:7:1", + "src": "35616:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17093,19 +17093,19 @@ "visibility": "internal" } ], - "src": "34623:9:1" + "src": "35615:9:0" }, - "scope": 1921, - "src": "34564:112:1", + "scope": 1413, + "src": "35556:114:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1919, + "id": 1411, "nodeType": "Block", - "src": "35088:55:1", + "src": "36094:57:0", "statements": [ { "expression": { @@ -17114,38 +17114,38 @@ "arguments": [ { "expression": { - "id": 1913, + "id": 1405, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1903, - "src": "35117:3:1", + "referencedDeclaration": 1395, + "src": "36124:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1914, + "id": 1406, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "35117:10:1", + "referencedDeclaration": 1317, + "src": "36124:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1915, + "id": 1407, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1905, - "src": "35129:5:1", + "referencedDeclaration": 1397, + "src": "36136:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17155,7 +17155,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -17163,18 +17163,18 @@ "typeString": "uint256" } ], - "id": 1912, + "id": 1404, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "35113:3:1", + "referencedDeclaration": 1109, + "src": "36120:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1916, + "id": 1408, "isConstant": false, "isLValue": false, "isPure": false, @@ -17182,7 +17182,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35113:22:1", + "src": "36120:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -17197,26 +17197,26 @@ "typeString": "bytes32" } ], - "id": 1911, + "id": 1403, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1910, + "id": 1402, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": {} } }, - "id": 1917, + "id": 1409, "isConstant": false, "isLValue": false, "isPure": false, @@ -17224,58 +17224,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35105:31:1", + "src": "36112:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1909, - "id": 1918, + "functionReturnParameters": 1401, + "id": 1410, "nodeType": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ] }, "documentation": { - "id": 1901, + "id": 1393, "nodeType": "StructuredDocumentation", - "src": "34681:322:1", + "src": "35677:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1920, + "id": 1412, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1906, + "id": 1398, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1903, + "id": 1395, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35020:19:1", + "scope": 1412, + "src": "36026:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1902, + "id": 1394, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "35020:7:1", + "referencedDeclaration": 1318, + "src": "36026:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -17283,12 +17283,12 @@ }, { "constant": false, - "id": 1905, + "id": 1397, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35041:13:1", + "scope": 1412, + "src": "36047:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17296,10 +17296,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1904, + "id": 1396, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35041:7:1", + "src": "36047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17308,20 +17308,20 @@ "visibility": "internal" } ], - "src": "35019:36:1" + "src": "36025:36:0" }, "returnParameters": { - "id": 1909, + "id": 1401, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1908, + "id": 1400, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35079:7:1", + "scope": 1412, + "src": "36085:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17329,10 +17329,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1907, + "id": 1399, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35079:7:1", + "src": "36085:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17341,20 +17341,20 @@ "visibility": "internal" } ], - "src": "35078:9:1" + "src": "36084:9:0" }, - "scope": 1921, - "src": "35008:135:1", + "scope": 1413, + "src": "36014:137:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "26511:8634:1" + "scope": 2991, + "src": "27252:8902:0" }, { - "id": 1922, + "id": 1414, "literals": [ "solidity", ">=", @@ -17365,7 +17365,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "abstract": false, @@ -17373,31 +17373,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1923, + "id": 1415, "nodeType": "StructuredDocumentation", - "src": "35237:705:1", + "src": "36251:728:0", "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, "fullyImplemented": true, - "id": 2480, + "id": 1972, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableMap.MapEntry", - "id": 1928, + "id": 1420, "members": [ { "constant": false, - "id": 1925, + "id": 1417, "mutability": "mutable", "name": "_key", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36455:12:1", + "scope": 1420, + "src": "37504:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17405,10 +17405,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1924, + "id": 1416, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36455:7:1", + "src": "37504:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17418,12 +17418,12 @@ }, { "constant": false, - "id": 1927, + "id": 1419, "mutability": "mutable", "name": "_value", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36477:14:1", + "scope": 1420, + "src": "37527:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17431,10 +17431,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1926, + "id": 1418, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36477:7:1", + "src": "37527:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17445,45 +17445,45 @@ ], "name": "MapEntry", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36429:69:1", + "scope": 1972, + "src": "37477:72:0", "visibility": "public" }, { "canonicalName": "EnumerableMap.Map", - "id": 1936, + "id": 1428, "members": [ { "constant": false, - "id": 1931, + "id": 1423, "mutability": "mutable", "name": "_entries", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36567:19:1", + "scope": 1428, + "src": "37622:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" }, "typeName": { "baseType": { - "id": 1929, + "id": 1421, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "36567:8:1", + "referencedDeclaration": 1420, + "src": "37622:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, - "id": 1930, + "id": 1422, "nodeType": "ArrayTypeName", - "src": "36567:10:1", + "src": "37622:10:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" } }, @@ -17491,12 +17491,12 @@ }, { "constant": false, - "id": 1935, + "id": 1427, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36736:37:1", + "scope": 1428, + "src": "37795:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17504,28 +17504,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1934, + "id": 1426, "keyType": { - "id": 1932, + "id": 1424, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36745:7:1", + "src": "37804:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "36736:28:1", + "src": "37795:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1933, + "id": 1425, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "36756:7:1", + "src": "37815:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17537,29 +17537,29 @@ ], "name": "Map", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36504:276:1", + "scope": 1972, + "src": "37557:283:0", "visibility": "public" }, { "body": { - "id": 1997, + "id": 1489, "nodeType": "Block", - "src": "37089:596:1", + "src": "38158:610:0", "statements": [ { "assignments": [ - 1949 + 1441 ], "declarations": [ { "constant": false, - "id": 1949, + "id": 1441, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 1997, - "src": "37197:16:1", + "scope": 1489, + "src": "38268:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17567,10 +17567,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1948, + "id": 1440, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "37197:7:1", + "src": "38268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17579,43 +17579,43 @@ "visibility": "internal" } ], - "id": 1954, + "id": 1446, "initialValue": { "baseExpression": { "expression": { - "id": 1950, + "id": 1442, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37216:3:1", + "referencedDeclaration": 1431, + "src": "38287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1951, + "id": 1443, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37216:12:1", + "referencedDeclaration": 1427, + "src": "38287:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1953, + "id": 1445, "indexExpression": { - "id": 1952, + "id": 1444, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37229:3:1", + "referencedDeclaration": 1433, + "src": "38300:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17626,14 +17626,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37216:17:1", + "src": "38287:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "condition": { @@ -17641,18 +17641,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1957, + "id": 1449, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1955, + "id": 1447, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37248:8:1", + "referencedDeclaration": 1441, + "src": "38321:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17662,34 +17662,34 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 1956, + "id": 1448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37260:1:1", + "src": "38333:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "37248:13:1", + "src": "38321:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1995, + "id": 1487, "nodeType": "Block", - "src": "37587:92:1", + "src": "38666:95:0", "statements": [ { "expression": { - "id": 1991, + "id": 1483, "isConstant": false, "isLValue": false, "isPure": false, @@ -17698,49 +17698,49 @@ "expression": { "baseExpression": { "expression": { - "id": 1982, + "id": 1474, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37601:3:1", + "referencedDeclaration": 1431, + "src": "38681:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1987, + "id": 1479, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37601:12:1", + "referencedDeclaration": 1423, + "src": "38681:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1988, + "id": 1480, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1986, + "id": 1478, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1984, + "id": 1476, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37614:8:1", + "referencedDeclaration": 1441, + "src": "38694:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17750,21 +17750,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1985, + "id": 1477, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37625:1:1", + "src": "38705:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "37614:12:1", + "src": "38694:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17775,21 +17775,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37601:26:1", + "src": "38681:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 1989, + "id": 1481, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "37601:33:1", + "referencedDeclaration": 1419, + "src": "38681:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17798,58 +17798,58 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1990, + "id": 1482, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37637:5:1", + "referencedDeclaration": 1435, + "src": "38717:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "37601:41:1", + "src": "38681:41:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1992, + "id": 1484, "nodeType": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "expression": { "hexValue": "66616c7365", - "id": 1993, + "id": 1485, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37663:5:1", + "src": "38744:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1947, - "id": 1994, + "functionReturnParameters": 1439, + "id": 1486, "nodeType": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ] }, - "id": 1996, + "id": 1488, "nodeType": "IfStatement", - "src": "37244:435:1", + "src": "38317:444:0", "trueBody": { - "id": 1981, + "id": 1473, "nodeType": "Block", - "src": "37263:318:1", + "src": "38336:324:0", "statements": [ { "expression": { @@ -17857,24 +17857,24 @@ { "arguments": [ { - "id": 1964, + "id": 1456, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37349:3:1", + "referencedDeclaration": 1433, + "src": "38423:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, { - "id": 1965, + "id": 1457, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37362:5:1", + "referencedDeclaration": 1435, + "src": "38436:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17892,18 +17892,18 @@ "typeString": "bytes32" } ], - "id": 1963, + "id": 1455, "name": "MapEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1928, - "src": "37332:8:1", + "referencedDeclaration": 1420, + "src": "38406:8:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_MapEntry_$1928_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_MapEntry_$1420_storage_ptr_$", "typeString": "type(struct EnumerableMap.MapEntry storage pointer)" } }, - "id": 1966, + "id": 1458, "isConstant": false, "isLValue": false, "isPure": false, @@ -17914,10 +17914,10 @@ "_value" ], "nodeType": "FunctionCall", - "src": "37332:38:1", + "src": "38406:38:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } } @@ -17925,51 +17925,51 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], "expression": { "expression": { - "id": 1958, + "id": 1450, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37314:3:1", + "referencedDeclaration": 1431, + "src": "38388:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1961, + "id": 1453, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37314:12:1", + "referencedDeclaration": 1423, + "src": "38388:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1962, + "id": 1454, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "37314:17:1", + "src": "38388:17:0", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1928_storage_$returns$__$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1420_storage_$returns$__$", "typeString": "function (struct EnumerableMap.MapEntry storage ref)" } }, - "id": 1967, + "id": 1459, "isConstant": false, "isLValue": false, "isPure": false, @@ -17977,20 +17977,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "37314:57:1", + "src": "38388:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1968, + "id": 1460, "nodeType": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "expression": { - "id": 1977, + "id": 1469, "isConstant": false, "isLValue": false, "isPure": false, @@ -17998,39 +17998,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1969, + "id": 1461, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37506:3:1", + "referencedDeclaration": 1431, + "src": "38583:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1972, + "id": 1464, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37506:12:1", + "referencedDeclaration": 1427, + "src": "38583:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1973, + "id": 1465, "indexExpression": { - "id": 1971, + "id": 1463, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37519:3:1", + "referencedDeclaration": 1433, + "src": "38596:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18041,7 +18041,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "37506:17:1", + "src": "38583:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18052,75 +18052,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1974, + "id": 1466, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37526:3:1", + "referencedDeclaration": 1431, + "src": "38603:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1975, + "id": 1467, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37526:12:1", + "referencedDeclaration": 1423, + "src": "38603:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1976, + "id": 1468, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "37526:19:1", + "src": "38603:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "37506:39:1", + "src": "38583:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1978, + "id": 1470, "nodeType": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "expression": { "hexValue": "74727565", - "id": 1979, + "id": 1471, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37566:4:1", + "src": "38644:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1947, - "id": 1980, + "functionReturnParameters": 1439, + "id": 1472, "nodeType": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ] } @@ -18128,43 +18128,43 @@ ] }, "documentation": { - "id": 1937, + "id": 1429, "nodeType": "StructuredDocumentation", - "src": "36786:216:1", + "src": "37848:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1998, + "id": 1490, "implemented": true, "kind": "function", "modifiers": [], "name": "_set", "nodeType": "FunctionDefinition", "parameters": { - "id": 1944, + "id": 1436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1939, + "id": 1431, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37021:15:1", + "scope": 1490, + "src": "38090:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 1938, + "id": 1430, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37021:3:1", + "referencedDeclaration": 1428, + "src": "38090:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -18172,12 +18172,12 @@ }, { "constant": false, - "id": 1941, + "id": 1433, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37038:11:1", + "scope": 1490, + "src": "38107:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18185,10 +18185,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1940, + "id": 1432, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37038:7:1", + "src": "38107:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18198,12 +18198,12 @@ }, { "constant": false, - "id": 1943, + "id": 1435, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37051:13:1", + "scope": 1490, + "src": "38120:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18211,10 +18211,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1942, + "id": 1434, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37051:7:1", + "src": "38120:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18223,20 +18223,20 @@ "visibility": "internal" } ], - "src": "37020:45:1" + "src": "38089:45:0" }, "returnParameters": { - "id": 1947, + "id": 1439, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1946, + "id": 1438, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37083:4:1", + "scope": 1490, + "src": "38152:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18244,10 +18244,10 @@ "typeString": "bool" }, "typeName": { - "id": 1945, + "id": 1437, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37083:4:1", + "src": "38152:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -18256,33 +18256,33 @@ "visibility": "internal" } ], - "src": "37082:6:1" + "src": "38151:6:0" }, - "scope": 2480, - "src": "37007:678:1", + "scope": 1972, + "src": "38076:692:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2078, + "id": 1570, "nodeType": "Block", - "src": "37923:1447:1", + "src": "39013:1479:0", "statements": [ { "assignments": [ - 2009 + 1501 ], "declarations": [ { "constant": false, - "id": 2009, + "id": 1501, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2078, - "src": "38031:16:1", + "scope": 1570, + "src": "39123:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18290,10 +18290,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2008, + "id": 1500, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38031:7:1", + "src": "39123:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18302,43 +18302,43 @@ "visibility": "internal" } ], - "id": 2014, + "id": 1506, "initialValue": { "baseExpression": { "expression": { - "id": 2010, + "id": 1502, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38050:3:1", + "referencedDeclaration": 1493, + "src": "39142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2011, + "id": 1503, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "38050:12:1", + "referencedDeclaration": 1427, + "src": "39142:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2013, + "id": 1505, "indexExpression": { - "id": 2012, + "id": 1504, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "38063:3:1", + "referencedDeclaration": 1495, + "src": "39155:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18349,14 +18349,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38050:17:1", + "src": "39142:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "condition": { @@ -18364,18 +18364,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2017, + "id": 1509, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2015, + "id": 1507, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38082:8:1", + "referencedDeclaration": 1501, + "src": "39176:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18385,76 +18385,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2016, + "id": 1508, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38094:1:1", + "src": "39188:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "38082:13:1", + "src": "39176:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 2076, + "id": 1568, "nodeType": "Block", - "src": "39327:37:1", + "src": "40446:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 2074, + "id": 1566, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39348:5:1", + "src": "40468:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 2007, - "id": 2075, + "functionReturnParameters": 1499, + "id": 1567, "nodeType": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ] }, - "id": 2077, + "id": 1569, "nodeType": "IfStatement", - "src": "38078:1286:1", + "src": "39172:1313:0", "trueBody": { - "id": 2073, + "id": 1565, "nodeType": "Block", - "src": "38097:1224:1", + "src": "39191:1249:0", "statements": [ { "assignments": [ - 2019 + 1511 ], "declarations": [ { "constant": false, - "id": 2019, + "id": 1511, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38438:21:1", + "scope": 1565, + "src": "39537:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18462,10 +18462,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2018, + "id": 1510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38438:7:1", + "src": "39537:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18474,24 +18474,24 @@ "visibility": "internal" } ], - "id": 2023, + "id": 1515, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2022, + "id": 1514, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2020, + "id": 1512, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38462:8:1", + "referencedDeclaration": 1501, + "src": "39561:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18501,42 +18501,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2021, + "id": 1513, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38473:1:1", + "src": "39572:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38462:12:1", + "src": "39561:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "assignments": [ - 2025 + 1517 ], "declarations": [ { "constant": false, - "id": 2025, + "id": 1517, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38488:17:1", + "scope": 1565, + "src": "39588:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18544,10 +18544,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2024, + "id": 1516, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38488:7:1", + "src": "39588:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18556,13 +18556,13 @@ "visibility": "internal" } ], - "id": 2031, + "id": 1523, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2030, + "id": 1522, "isConstant": false, "isLValue": false, "isPure": false, @@ -18570,39 +18570,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2026, + "id": 1518, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38508:3:1", + "referencedDeclaration": 1493, + "src": "39608:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2027, + "id": 1519, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38508:12:1", + "referencedDeclaration": 1423, + "src": "39608:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2028, + "id": 1520, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "38508:19:1", + "src": "39608:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18612,99 +18612,99 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2029, + "id": 1521, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38530:1:1", + "src": "39630:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38508:23:1", + "src": "39608:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "assignments": [ - 2033 + 1525 ], "declarations": [ { "constant": false, - "id": 2033, + "id": 1525, "mutability": "mutable", "name": "lastEntry", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38771:26:1", + "scope": 1565, + "src": "39876:26:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2032, + "id": 1524, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "38771:8:1", + "referencedDeclaration": 1420, + "src": "39876:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2038, + "id": 1530, "initialValue": { "baseExpression": { "expression": { - "id": 2034, + "id": 1526, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38800:3:1", + "referencedDeclaration": 1493, + "src": "39905:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2035, + "id": 1527, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38800:12:1", + "referencedDeclaration": 1423, + "src": "39905:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2037, + "id": 1529, "indexExpression": { - "id": 2036, + "id": 1528, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "38813:9:1", + "referencedDeclaration": 1517, + "src": "39918:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18715,18 +18715,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38800:23:1", + "src": "39905:23:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "expression": { - "id": 2045, + "id": 1537, "isConstant": false, "isLValue": false, "isPure": false, @@ -18734,39 +18734,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2039, + "id": 1531, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38915:3:1", + "referencedDeclaration": 1493, + "src": "40023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2042, + "id": 1534, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38915:12:1", + "referencedDeclaration": 1423, + "src": "40023:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2043, + "id": 1535, "indexExpression": { - "id": 2041, + "id": 1533, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "38928:13:1", + "referencedDeclaration": 1511, + "src": "40036:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18777,39 +18777,39 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "38915:27:1", + "src": "40023:27:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2044, + "id": 1536, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "38945:9:1", + "referencedDeclaration": 1525, + "src": "40053:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "src": "38915:39:1", + "src": "40023:39:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2046, + "id": 1538, "nodeType": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "expression": { - "id": 2056, + "id": 1548, "isConstant": false, "isLValue": false, "isPure": false, @@ -18817,54 +18817,54 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2047, + "id": 1539, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39020:3:1", + "referencedDeclaration": 1493, + "src": "40130:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2051, + "id": 1543, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39020:12:1", + "referencedDeclaration": 1427, + "src": "40130:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2052, + "id": 1544, "indexExpression": { "expression": { - "id": 2049, + "id": 1541, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "39033:9:1", + "referencedDeclaration": 1525, + "src": "40143:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2050, + "id": 1542, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "39033:14:1", + "referencedDeclaration": 1417, + "src": "40143:14:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18875,7 +18875,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39020:28:1", + "src": "40130:28:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18888,18 +18888,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2055, + "id": 1547, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2053, + "id": 1545, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "39051:13:1", + "referencedDeclaration": 1511, + "src": "40161:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18909,35 +18909,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 2054, + "id": 1546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39067:1:1", + "src": "40177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "39051:17:1", + "src": "40161:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "39020:48:1", + "src": "40130:48:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2057, + "id": 1549, "nodeType": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "expression": { @@ -18946,45 +18946,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 2058, + "id": 1550, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39174:3:1", + "referencedDeclaration": 1493, + "src": "40287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2061, + "id": 1553, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39174:12:1", + "referencedDeclaration": 1423, + "src": "40287:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2062, + "id": 1554, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "39174:16:1", + "src": "40287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 2063, + "id": 1555, "isConstant": false, "isLValue": false, "isPure": false, @@ -18992,20 +18992,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "39174:18:1", + "src": "40287:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2064, + "id": 1556, "nodeType": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "expression": { - "id": 2069, + "id": 1561, "isConstant": false, "isLValue": false, "isPure": false, @@ -19013,43 +19013,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "39260:24:1", + "src": "40376:24:0", "subExpression": { "baseExpression": { "expression": { - "id": 2065, + "id": 1557, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39267:3:1", + "referencedDeclaration": 1493, + "src": "40383:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2066, + "id": 1558, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39267:12:1", + "referencedDeclaration": 1427, + "src": "40383:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2068, + "id": 1560, "indexExpression": { - "id": 2067, + "id": 1559, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "39280:3:1", + "referencedDeclaration": 1495, + "src": "40396:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19060,7 +19060,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39267:17:1", + "src": "40383:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19071,31 +19071,31 @@ "typeString": "tuple()" } }, - "id": 2070, + "id": 1562, "nodeType": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "expression": { "hexValue": "74727565", - "id": 2071, + "id": 1563, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39306:4:1", + "src": "40424:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 2007, - "id": 2072, + "functionReturnParameters": 1499, + "id": 1564, "nodeType": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ] } @@ -19103,43 +19103,43 @@ ] }, "documentation": { - "id": 1999, + "id": 1491, "nodeType": "StructuredDocumentation", - "src": "37691:157:1", + "src": "38776:161:0", "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2079, + "id": 1571, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2004, + "id": 1496, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2001, + "id": 1493, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37870:15:1", + "scope": 1571, + "src": "38960:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2000, + "id": 1492, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37870:3:1", + "referencedDeclaration": 1428, + "src": "38960:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19147,12 +19147,12 @@ }, { "constant": false, - "id": 2003, + "id": 1495, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37887:11:1", + "scope": 1571, + "src": "38977:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19160,10 +19160,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2002, + "id": 1494, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37887:7:1", + "src": "38977:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19172,20 +19172,20 @@ "visibility": "internal" } ], - "src": "37869:30:1" + "src": "38959:30:0" }, "returnParameters": { - "id": 2007, + "id": 1499, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2006, + "id": 1498, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37917:4:1", + "scope": 1571, + "src": "39007:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19193,10 +19193,10 @@ "typeString": "bool" }, "typeName": { - "id": 2005, + "id": 1497, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37917:4:1", + "src": "39007:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19205,19 +19205,19 @@ "visibility": "internal" } ], - "src": "37916:6:1" + "src": "39006:6:0" }, - "scope": 2480, - "src": "37853:1517:1", + "scope": 1972, + "src": "38943:1549:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2096, + "id": 1588, "nodeType": "Block", - "src": "39526:46:1", + "src": "40653:48:0", "statements": [ { "expression": { @@ -19225,7 +19225,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2094, + "id": 1586, "isConstant": false, "isLValue": false, "isPure": false, @@ -19233,39 +19233,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 2089, + "id": 1581, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2082, - "src": "39543:3:1", + "referencedDeclaration": 1574, + "src": "40671:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2090, + "id": 1582, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39543:12:1", + "referencedDeclaration": 1427, + "src": "40671:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2092, + "id": 1584, "indexExpression": { - "id": 2091, + "id": 1583, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2084, - "src": "39556:3:1", + "referencedDeclaration": 1576, + "src": "40684:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19276,7 +19276,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "39543:17:1", + "src": "40671:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19286,71 +19286,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2093, + "id": 1585, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39564:1:1", + "src": "40692:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "39543:22:1", + "src": "40671:22:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2088, - "id": 2095, + "functionReturnParameters": 1580, + "id": 1587, "nodeType": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ] }, "documentation": { - "id": 2080, + "id": 1572, "nodeType": "StructuredDocumentation", - "src": "39376:68:1", + "src": "40500:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2097, + "id": 1589, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2085, + "id": 1577, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2082, + "id": 1574, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39468:15:1", + "scope": 1589, + "src": "40595:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2081, + "id": 1573, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39468:3:1", + "referencedDeclaration": 1428, + "src": "40595:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19358,12 +19358,12 @@ }, { "constant": false, - "id": 2084, + "id": 1576, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39485:11:1", + "scope": 1589, + "src": "40612:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19371,10 +19371,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2083, + "id": 1575, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "39485:7:1", + "src": "40612:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19383,20 +19383,20 @@ "visibility": "internal" } ], - "src": "39467:30:1" + "src": "40594:30:0" }, "returnParameters": { - "id": 2088, + "id": 1580, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2087, + "id": 1579, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39520:4:1", + "scope": 1589, + "src": "40647:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19404,10 +19404,10 @@ "typeString": "bool" }, "typeName": { - "id": 2086, + "id": 1578, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "39520:4:1", + "src": "40647:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19416,127 +19416,127 @@ "visibility": "internal" } ], - "src": "39519:6:1" + "src": "40646:6:0" }, - "scope": 2480, - "src": "39449:123:1", + "scope": 1972, + "src": "40576:125:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2109, + "id": 1601, "nodeType": "Block", - "src": "39727:43:1", + "src": "40861:45:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 2105, + "id": 1597, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2100, - "src": "39744:3:1", + "referencedDeclaration": 1592, + "src": "40879:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2106, + "id": 1598, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39744:12:1", + "referencedDeclaration": 1423, + "src": "40879:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2107, + "id": 1599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "39744:19:1", + "src": "40879:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2104, - "id": 2108, + "functionReturnParameters": 1596, + "id": 1600, "nodeType": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ] }, "documentation": { - "id": 2098, + "id": 1590, "nodeType": "StructuredDocumentation", - "src": "39578:79:1", + "src": "40709:81:0", "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2110, + "id": 1602, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2101, + "id": 1593, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2100, + "id": 1592, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39679:15:1", + "scope": 1602, + "src": "40813:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2099, + "id": 1591, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39679:3:1", + "referencedDeclaration": 1428, + "src": "40813:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, "visibility": "internal" } ], - "src": "39678:17:1" + "src": "40812:17:0" }, "returnParameters": { - "id": 2104, + "id": 1596, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2103, + "id": 1595, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39718:7:1", + "scope": 1602, + "src": "40852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19544,10 +19544,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2102, + "id": 1594, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "39718:7:1", + "src": "40852:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19556,19 +19556,19 @@ "visibility": "internal" } ], - "src": "39717:9:1" + "src": "40851:9:0" }, - "scope": 2480, - "src": "39662:108:1", + "scope": 1972, + "src": "40796:110:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2144, + "id": 1636, "nodeType": "Block", - "src": "40198:189:1", + "src": "41346:194:0", "statements": [ { "expression": { @@ -19578,7 +19578,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2127, + "id": 1619, "isConstant": false, "isLValue": false, "isPure": false, @@ -19586,39 +19586,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2123, + "id": 1615, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40216:3:1", + "referencedDeclaration": 1605, + "src": "41365:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2124, + "id": 1616, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40216:12:1", + "referencedDeclaration": 1423, + "src": "41365:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2125, + "id": 1617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "40216:19:1", + "src": "41365:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19627,18 +19627,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 2126, + "id": 1618, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40238:5:1", + "referencedDeclaration": 1607, + "src": "41387:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "40216:27:1", + "src": "41365:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19646,14 +19646,14 @@ }, { "hexValue": "456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473", - "id": 2128, + "id": 1620, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "40245:36:1", + "src": "41394:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_86631030b9066a18616a068fc09fce83d18af4765cb1d2166fa475228f4db155", "typeString": "literal_string \"EnumerableMap: index out of bounds\"" @@ -19672,7 +19672,7 @@ "typeString": "literal_string \"EnumerableMap: index out of bounds\"" } ], - "id": 2122, + "id": 1614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -19680,13 +19680,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "40208:7:1", + "src": "41357:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2129, + "id": 1621, "isConstant": false, "isLValue": false, "isPure": false, @@ -19694,87 +19694,87 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "40208:74:1", + "src": "41357:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2130, + "id": 1622, "nodeType": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "assignments": [ - 2132 + 1624 ], "declarations": [ { "constant": false, - "id": 2132, + "id": 1624, "mutability": "mutable", "name": "entry", "nodeType": "VariableDeclaration", - "scope": 2144, - "src": "40293:22:1", + "scope": 1636, + "src": "41444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2131, + "id": 1623, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "40293:8:1", + "referencedDeclaration": 1420, + "src": "41444:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2137, + "id": 1629, "initialValue": { "baseExpression": { "expression": { - "id": 2133, + "id": 1625, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40318:3:1", + "referencedDeclaration": 1605, + "src": "41469:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2134, + "id": 1626, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40318:12:1", + "referencedDeclaration": 1423, + "src": "41469:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2136, + "id": 1628, "indexExpression": { - "id": 2135, + "id": 1627, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40331:5:1", + "referencedDeclaration": 1607, + "src": "41482:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19785,40 +19785,40 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40318:19:1", + "src": "41469:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "expression": { "components": [ { "expression": { - "id": 2138, + "id": 1630, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40355:5:1", + "referencedDeclaration": 1624, + "src": "41507:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2139, + "id": 1631, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "40355:10:1", + "referencedDeclaration": 1417, + "src": "41507:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19826,90 +19826,90 @@ }, { "expression": { - "id": 2140, + "id": 1632, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40367:5:1", + "referencedDeclaration": 1624, + "src": "41519:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2141, + "id": 1633, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40367:12:1", + "referencedDeclaration": 1419, + "src": "41519:12:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2142, + "id": 1634, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40354:26:1", + "src": "41506:26:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", "typeString": "tuple(bytes32,bytes32)" } }, - "functionReturnParameters": 2121, - "id": 2143, + "functionReturnParameters": 1613, + "id": 1635, "nodeType": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ] }, "documentation": { - "id": 2111, + "id": 1603, "nodeType": "StructuredDocumentation", - "src": "39775:333:1", + "src": "40913:342:0", "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2145, + "id": 1637, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2116, + "id": 1608, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2113, + "id": 1605, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40126:15:1", + "scope": 1637, + "src": "41274:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2112, + "id": 1604, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40126:3:1", + "referencedDeclaration": 1428, + "src": "41274:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19917,12 +19917,12 @@ }, { "constant": false, - "id": 2115, + "id": 1607, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40143:13:1", + "scope": 1637, + "src": "41291:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19930,10 +19930,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2114, + "id": 1606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40143:7:1", + "src": "41291:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19942,20 +19942,20 @@ "visibility": "internal" } ], - "src": "40125:32:1" + "src": "41273:32:0" }, "returnParameters": { - "id": 2121, + "id": 1613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2118, + "id": 1610, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40180:7:1", + "scope": 1637, + "src": "41328:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19963,10 +19963,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2117, + "id": 1609, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40180:7:1", + "src": "41328:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19976,12 +19976,12 @@ }, { "constant": false, - "id": 2120, + "id": 1612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40189:7:1", + "scope": 1637, + "src": "41337:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19989,10 +19989,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2119, + "id": 1611, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40189:7:1", + "src": "41337:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20001,33 +20001,33 @@ "visibility": "internal" } ], - "src": "40179:18:1" + "src": "41327:18:0" }, - "scope": 2480, - "src": "40113:274:1", + "scope": 1972, + "src": "41261:279:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2182, + "id": 1674, "nodeType": "Block", - "src": "40613:220:1", + "src": "41772:224:0", "statements": [ { "assignments": [ - 2158 + 1650 ], "declarations": [ { "constant": false, - "id": 2158, + "id": 1650, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2182, - "src": "40623:16:1", + "scope": 1674, + "src": "41783:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20035,10 +20035,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2157, + "id": 1649, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40623:7:1", + "src": "41783:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20047,43 +20047,43 @@ "visibility": "internal" } ], - "id": 2163, + "id": 1655, "initialValue": { "baseExpression": { "expression": { - "id": 2159, + "id": 1651, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40642:3:1", + "referencedDeclaration": 1640, + "src": "41802:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2160, + "id": 1652, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "40642:12:1", + "referencedDeclaration": 1427, + "src": "41802:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2162, + "id": 1654, "indexExpression": { - "id": 2161, + "id": 1653, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2150, - "src": "40655:3:1", + "referencedDeclaration": 1642, + "src": "41815:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20094,14 +20094,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40642:17:1", + "src": "41802:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "condition": { @@ -20109,18 +20109,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2166, + "id": 1658, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2164, + "id": 1656, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40673:8:1", + "referencedDeclaration": 1650, + "src": "41834:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20130,42 +20130,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2165, + "id": 1657, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40685:1:1", + "src": "41846:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "40673:13:1", + "src": "41834:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2171, + "id": 1663, "nodeType": "IfStatement", - "src": "40669:36:1", + "src": "41830:36:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 2167, + "id": 1659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40696:5:1", + "src": "41857:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20174,14 +20174,14 @@ }, { "hexValue": "30", - "id": 2168, + "id": 1660, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40703:1:1", + "src": "41864:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -20189,23 +20189,23 @@ "value": "0" } ], - "id": 2169, + "id": 1661, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40695:10:1", + "src": "41856:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 2156, - "id": 2170, + "functionReturnParameters": 1648, + "id": 1662, "nodeType": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } }, { @@ -20213,14 +20213,14 @@ "components": [ { "hexValue": "74727565", - "id": 2172, + "id": 1664, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40759:4:1", + "src": "41921:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20231,49 +20231,49 @@ "expression": { "baseExpression": { "expression": { - "id": 2173, + "id": 1665, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40765:3:1", + "referencedDeclaration": 1640, + "src": "41927:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2174, + "id": 1666, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40765:12:1", + "referencedDeclaration": 1423, + "src": "41927:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2178, + "id": 1670, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2177, + "id": 1669, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2175, + "id": 1667, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40778:8:1", + "referencedDeclaration": 1650, + "src": "41940:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20283,21 +20283,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2176, + "id": 1668, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40789:1:1", + "src": "41951:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "40778:12:1", + "src": "41940:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20308,85 +20308,85 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40765:26:1", + "src": "41927:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2179, + "id": 1671, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40765:33:1", + "referencedDeclaration": 1419, + "src": "41927:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2180, + "id": 1672, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40758:41:1", + "src": "41920:41:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", "typeString": "tuple(bool,bytes32)" } }, - "functionReturnParameters": 2156, - "id": 2181, + "functionReturnParameters": 1648, + "id": 1673, "nodeType": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ] }, "documentation": { - "id": 2146, + "id": 1638, "nodeType": "StructuredDocumentation", - "src": "40393:131:1", + "src": "41548:134:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2183, + "id": 1675, "implemented": true, "kind": "function", "modifiers": [], "name": "_tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2151, + "id": 1643, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2148, + "id": 1640, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40546:15:1", + "scope": 1675, + "src": "41705:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2147, + "id": 1639, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40546:3:1", + "referencedDeclaration": 1428, + "src": "41705:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20394,12 +20394,12 @@ }, { "constant": false, - "id": 2150, + "id": 1642, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40563:11:1", + "scope": 1675, + "src": "41722:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20407,10 +20407,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2149, + "id": 1641, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40563:7:1", + "src": "41722:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20419,20 +20419,20 @@ "visibility": "internal" } ], - "src": "40545:30:1" + "src": "41704:30:0" }, "returnParameters": { - "id": 2156, + "id": 1648, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2153, + "id": 1645, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40598:4:1", + "scope": 1675, + "src": "41757:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20440,10 +20440,10 @@ "typeString": "bool" }, "typeName": { - "id": 2152, + "id": 1644, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "40598:4:1", + "src": "41757:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20453,12 +20453,12 @@ }, { "constant": false, - "id": 2155, + "id": 1647, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40604:7:1", + "scope": 1675, + "src": "41763:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20466,10 +20466,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2154, + "id": 1646, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40604:7:1", + "src": "41763:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20478,33 +20478,33 @@ "visibility": "internal" } ], - "src": "40597:15:1" + "src": "41756:15:0" }, - "scope": 2480, - "src": "40529:304:1", + "scope": 1972, + "src": "41688:308:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2215, + "id": 1707, "nodeType": "Block", - "src": "41060:232:1", + "src": "42232:236:0", "statements": [ { "assignments": [ - 2194 + 1686 ], "declarations": [ { "constant": false, - "id": 2194, + "id": 1686, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2215, - "src": "41070:16:1", + "scope": 1707, + "src": "42243:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20512,10 +20512,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2193, + "id": 1685, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41070:7:1", + "src": "42243:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20524,43 +20524,43 @@ "visibility": "internal" } ], - "id": 2199, + "id": 1691, "initialValue": { "baseExpression": { "expression": { - "id": 2195, + "id": 1687, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41089:3:1", + "referencedDeclaration": 1678, + "src": "42262:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2196, + "id": 1688, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41089:12:1", + "referencedDeclaration": 1427, + "src": "42262:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2198, + "id": 1690, "indexExpression": { - "id": 2197, + "id": 1689, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2188, - "src": "41102:3:1", + "referencedDeclaration": 1680, + "src": "42275:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20571,14 +20571,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41089:17:1", + "src": "42262:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "expression": { @@ -20588,18 +20588,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2203, + "id": 1695, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2201, + "id": 1693, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41124:8:1", + "referencedDeclaration": 1686, + "src": "42298:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20609,21 +20609,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2202, + "id": 1694, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41136:1:1", + "src": "42310:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41124:13:1", + "src": "42298:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20631,14 +20631,14 @@ }, { "hexValue": "456e756d657261626c654d61703a206e6f6e6578697374656e74206b6579", - "id": 2204, + "id": 1696, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "41139:32:1", + "src": "42313:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_d3551e30d3095fd81287b88f7139bb09818e34280e85ee821994ebaebbed7072", "typeString": "literal_string \"EnumerableMap: nonexistent key\"" @@ -20657,7 +20657,7 @@ "typeString": "literal_string \"EnumerableMap: nonexistent key\"" } ], - "id": 2200, + "id": 1692, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -20665,13 +20665,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41116:7:1", + "src": "42290:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2205, + "id": 1697, "isConstant": false, "isLValue": false, "isPure": false, @@ -20679,65 +20679,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41116:56:1", + "src": "42290:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2206, + "id": 1698, "nodeType": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2207, + "id": 1699, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41225:3:1", + "referencedDeclaration": 1678, + "src": "42400:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2208, + "id": 1700, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41225:12:1", + "referencedDeclaration": 1423, + "src": "42400:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2212, + "id": 1704, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2211, + "id": 1703, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2209, + "id": 1701, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41238:8:1", + "referencedDeclaration": 1686, + "src": "42413:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20747,21 +20747,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2210, + "id": 1702, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41249:1:1", + "src": "42424:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41238:12:1", + "src": "42413:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20772,71 +20772,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41225:26:1", + "src": "42400:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2213, + "id": 1705, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41225:33:1", + "referencedDeclaration": 1419, + "src": "42400:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2192, - "id": 2214, + "functionReturnParameters": 1684, + "id": 1706, "nodeType": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ] }, "documentation": { - "id": 2184, + "id": 1676, "nodeType": "StructuredDocumentation", - "src": "40839:141:1", + "src": "42004:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2216, + "id": 1708, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2189, + "id": 1681, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2186, + "id": 1678, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "40999:15:1", + "scope": 1708, + "src": "42171:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2185, + "id": 1677, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40999:3:1", + "referencedDeclaration": 1428, + "src": "42171:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20844,12 +20844,12 @@ }, { "constant": false, - "id": 2188, + "id": 1680, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41016:11:1", + "scope": 1708, + "src": "42188:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20857,10 +20857,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2187, + "id": 1679, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41016:7:1", + "src": "42188:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20869,20 +20869,20 @@ "visibility": "internal" } ], - "src": "40998:30:1" + "src": "42170:30:0" }, "returnParameters": { - "id": 2192, + "id": 1684, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2191, + "id": 1683, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41051:7:1", + "scope": 1708, + "src": "42223:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20890,10 +20890,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2190, + "id": 1682, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41051:7:1", + "src": "42223:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20902,33 +20902,33 @@ "visibility": "internal" } ], - "src": "41050:9:1" + "src": "42222:9:0" }, - "scope": 2480, - "src": "40985:307:1", + "scope": 1972, + "src": "42157:311:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2250, + "id": 1742, "nodeType": "Block", - "src": "41677:212:1", + "src": "42861:216:0", "statements": [ { "assignments": [ - 2229 + 1721 ], "declarations": [ { "constant": false, - "id": 2229, + "id": 1721, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2250, - "src": "41687:16:1", + "scope": 1742, + "src": "42872:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20936,10 +20936,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2228, + "id": 1720, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41687:7:1", + "src": "42872:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20948,43 +20948,43 @@ "visibility": "internal" } ], - "id": 2234, + "id": 1726, "initialValue": { "baseExpression": { "expression": { - "id": 2230, + "id": 1722, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41706:3:1", + "referencedDeclaration": 1711, + "src": "42891:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2231, + "id": 1723, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41706:12:1", + "referencedDeclaration": 1427, + "src": "42891:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2233, + "id": 1725, "indexExpression": { - "id": 2232, + "id": 1724, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2221, - "src": "41719:3:1", + "referencedDeclaration": 1713, + "src": "42904:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20995,14 +20995,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41706:17:1", + "src": "42891:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "expression": { @@ -21012,18 +21012,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2238, + "id": 1730, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2236, + "id": 1728, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41741:8:1", + "referencedDeclaration": 1721, + "src": "42927:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21033,33 +21033,33 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2237, + "id": 1729, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41753:1:1", + "src": "42939:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41741:13:1", + "src": "42927:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 2239, + "id": 1731, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2223, - "src": "41756:12:1", + "referencedDeclaration": 1715, + "src": "42942:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -21077,7 +21077,7 @@ "typeString": "string memory" } ], - "id": 2235, + "id": 1727, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -21085,13 +21085,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41733:7:1", + "src": "42919:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2240, + "id": 1732, "isConstant": false, "isLValue": false, "isPure": false, @@ -21099,65 +21099,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41733:36:1", + "src": "42919:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2241, + "id": 1733, "nodeType": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2242, + "id": 1734, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41822:3:1", + "referencedDeclaration": 1711, + "src": "43009:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2243, + "id": 1735, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41822:12:1", + "referencedDeclaration": 1423, + "src": "43009:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2247, + "id": 1739, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2246, + "id": 1738, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2244, + "id": 1736, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41835:8:1", + "referencedDeclaration": 1721, + "src": "43022:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21167,21 +21167,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2245, + "id": 1737, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41846:1:1", + "src": "43033:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41835:12:1", + "src": "43022:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21192,71 +21192,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41822:26:1", + "src": "43009:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2248, + "id": 1740, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41822:33:1", + "referencedDeclaration": 1419, + "src": "43009:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2227, - "id": 2249, + "functionReturnParameters": 1719, + "id": 1741, "nodeType": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ] }, "documentation": { - "id": 2217, + "id": 1709, "nodeType": "StructuredDocumentation", - "src": "41298:271:1", + "src": "42476:276:0", "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2251, + "id": 1743, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2224, + "id": 1716, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2219, + "id": 1711, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41588:15:1", + "scope": 1743, + "src": "42772:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2218, + "id": 1710, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41588:3:1", + "referencedDeclaration": 1428, + "src": "42772:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21264,12 +21264,12 @@ }, { "constant": false, - "id": 2221, + "id": 1713, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41605:11:1", + "scope": 1743, + "src": "42789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21277,10 +21277,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2220, + "id": 1712, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41605:7:1", + "src": "42789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21290,12 +21290,12 @@ }, { "constant": false, - "id": 2223, + "id": 1715, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41618:26:1", + "scope": 1743, + "src": "42802:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -21303,10 +21303,10 @@ "typeString": "string" }, "typeName": { - "id": 2222, + "id": 1714, "name": "string", "nodeType": "ElementaryTypeName", - "src": "41618:6:1", + "src": "42802:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -21315,20 +21315,20 @@ "visibility": "internal" } ], - "src": "41587:58:1" + "src": "42771:58:0" }, "returnParameters": { - "id": 2227, + "id": 1719, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2226, + "id": 1718, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41668:7:1", + "scope": 1743, + "src": "42852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21336,10 +21336,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2225, + "id": 1717, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41668:7:1", + "src": "42852:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21348,40 +21348,40 @@ "visibility": "internal" } ], - "src": "41667:9:1" + "src": "42851:9:0" }, - "scope": 2480, - "src": "41574:315:1", + "scope": 1972, + "src": "42758:319:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableMap.UintToAddressMap", - "id": 2254, + "id": 1746, "members": [ { "constant": false, - "id": 2253, + "id": 1745, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 2254, - "src": "41954:10:1", + "scope": 1746, + "src": "43147:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2252, + "id": 1744, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41954:3:1", + "referencedDeclaration": 1428, + "src": "43147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21390,55 +21390,55 @@ ], "name": "UintToAddressMap", "nodeType": "StructDefinition", - "scope": 2480, - "src": "41920:51:1", + "scope": 1972, + "src": "43112:53:0", "visibility": "public" }, { "body": { - "id": 2285, + "id": 1777, "nodeType": "Block", - "src": "42293:88:1", + "src": "43496:90:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2267, + "id": 1759, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2257, - "src": "42315:3:1", + "referencedDeclaration": 1749, + "src": "43519:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2268, + "id": 1760, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42315:10:1", + "referencedDeclaration": 1745, + "src": "43519:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2271, + "id": 1763, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2259, - "src": "42335:3:1", + "referencedDeclaration": 1751, + "src": "43539:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21452,26 +21452,26 @@ "typeString": "uint256" } ], - "id": 2270, + "id": 1762, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2269, + "id": 1761, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": {} } }, - "id": 2272, + "id": 1764, "isConstant": false, "isLValue": false, "isPure": false, @@ -21479,7 +21479,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42327:12:1", + "src": "43531:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21493,12 +21493,12 @@ { "arguments": [ { - "id": 2279, + "id": 1771, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2261, - "src": "42365:5:1", + "referencedDeclaration": 1753, + "src": "43569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21512,26 +21512,26 @@ "typeString": "address" } ], - "id": 2278, + "id": 1770, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2277, + "id": 1769, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": {} } }, - "id": 2280, + "id": 1772, "isConstant": false, "isLValue": false, "isPure": false, @@ -21539,7 +21539,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42357:14:1", + "src": "43561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -21554,26 +21554,26 @@ "typeString": "uint160" } ], - "id": 2276, + "id": 1768, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2275, + "id": 1767, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": {} } }, - "id": 2281, + "id": 1773, "isConstant": false, "isLValue": false, "isPure": false, @@ -21581,7 +21581,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42349:23:1", + "src": "43553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -21596,26 +21596,26 @@ "typeString": "uint256" } ], - "id": 2274, + "id": 1766, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2273, + "id": 1765, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": {} } }, - "id": 2282, + "id": 1774, "isConstant": false, "isLValue": false, "isPure": false, @@ -21623,7 +21623,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42341:32:1", + "src": "43545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21634,7 +21634,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -21646,18 +21646,18 @@ "typeString": "bytes32" } ], - "id": 2266, + "id": 1758, "name": "_set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1998, - "src": "42310:4:1", + "referencedDeclaration": 1490, + "src": "43514:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)" } }, - "id": 2283, + "id": 1775, "isConstant": false, "isLValue": false, "isPure": false, @@ -21665,58 +21665,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42310:64:1", + "src": "43514:64:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2265, - "id": 2284, + "functionReturnParameters": 1757, + "id": 1776, "nodeType": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ] }, "documentation": { - "id": 2255, + "id": 1747, "nodeType": "StructuredDocumentation", - "src": "41977:216:1", + "src": "43173:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2286, + "id": 1778, "implemented": true, "kind": "function", "modifiers": [], "name": "set", "nodeType": "FunctionDefinition", "parameters": { - "id": 2262, + "id": 1754, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2257, + "id": 1749, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42211:28:1", + "scope": 1778, + "src": "43414:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2256, + "id": 1748, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42211:16:1", + "referencedDeclaration": 1746, + "src": "43414:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -21724,12 +21724,12 @@ }, { "constant": false, - "id": 2259, + "id": 1751, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42241:11:1", + "scope": 1778, + "src": "43444:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21737,10 +21737,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2258, + "id": 1750, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42241:7:1", + "src": "43444:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21750,12 +21750,12 @@ }, { "constant": false, - "id": 2261, + "id": 1753, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42254:13:1", + "scope": 1778, + "src": "43457:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21763,10 +21763,10 @@ "typeString": "address" }, "typeName": { - "id": 2260, + "id": 1752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "42254:7:1", + "src": "43457:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -21776,20 +21776,20 @@ "visibility": "internal" } ], - "src": "42210:58:1" + "src": "43413:58:0" }, "returnParameters": { - "id": 2265, + "id": 1757, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2264, + "id": 1756, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42287:4:1", + "scope": 1778, + "src": "43490:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21797,10 +21797,10 @@ "typeString": "bool" }, "typeName": { - "id": 2263, + "id": 1755, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42287:4:1", + "src": "43490:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -21809,59 +21809,59 @@ "visibility": "internal" } ], - "src": "42286:6:1" + "src": "43489:6:0" }, - "scope": 2480, - "src": "42198:183:1", + "scope": 1972, + "src": "43401:185:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2305, + "id": 1797, "nodeType": "Block", - "src": "42623:57:1", + "src": "43835:59:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2297, + "id": 1789, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2289, - "src": "42648:3:1", + "referencedDeclaration": 1781, + "src": "43861:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2298, + "id": 1790, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42648:10:1", + "referencedDeclaration": 1745, + "src": "43861:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2301, + "id": 1793, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2291, - "src": "42668:3:1", + "referencedDeclaration": 1783, + "src": "43881:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21875,26 +21875,26 @@ "typeString": "uint256" } ], - "id": 2300, + "id": 1792, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2299, + "id": 1791, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": {} } }, - "id": 2302, + "id": 1794, "isConstant": false, "isLValue": false, "isPure": false, @@ -21902,7 +21902,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42660:12:1", + "src": "43873:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21913,7 +21913,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -21921,18 +21921,18 @@ "typeString": "bytes32" } ], - "id": 2296, + "id": 1788, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2079, - "src": "42640:7:1", + "referencedDeclaration": 1571, + "src": "43853:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)" } }, - "id": 2303, + "id": 1795, "isConstant": false, "isLValue": false, "isPure": false, @@ -21940,58 +21940,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42640:33:1", + "src": "43853:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2295, - "id": 2304, + "functionReturnParameters": 1787, + "id": 1796, "nodeType": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ] }, "documentation": { - "id": 2287, + "id": 1779, "nodeType": "StructuredDocumentation", - "src": "42387:148:1", + "src": "43594:152:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2306, + "id": 1798, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2292, + "id": 1784, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2289, + "id": 1781, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42556:28:1", + "scope": 1798, + "src": "43768:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2288, + "id": 1780, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42556:16:1", + "referencedDeclaration": 1746, + "src": "43768:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -21999,12 +21999,12 @@ }, { "constant": false, - "id": 2291, + "id": 1783, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42586:11:1", + "scope": 1798, + "src": "43798:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22012,10 +22012,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2290, + "id": 1782, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42586:7:1", + "src": "43798:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22024,20 +22024,20 @@ "visibility": "internal" } ], - "src": "42555:43:1" + "src": "43767:43:0" }, "returnParameters": { - "id": 2295, + "id": 1787, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2294, + "id": 1786, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42617:4:1", + "scope": 1798, + "src": "43829:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22045,10 +22045,10 @@ "typeString": "bool" }, "typeName": { - "id": 2293, + "id": 1785, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42617:4:1", + "src": "43829:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22057,59 +22057,59 @@ "visibility": "internal" } ], - "src": "42616:6:1" + "src": "43828:6:0" }, - "scope": 2480, - "src": "42540:140:1", + "scope": 1972, + "src": "43752:142:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2325, + "id": 1817, "nodeType": "Block", - "src": "42849:59:1", + "src": "44068:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2317, + "id": 1809, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2309, - "src": "42876:3:1", + "referencedDeclaration": 1801, + "src": "44096:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2318, + "id": 1810, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42876:10:1", + "referencedDeclaration": 1745, + "src": "44096:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2321, + "id": 1813, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2311, - "src": "42896:3:1", + "referencedDeclaration": 1803, + "src": "44116:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22123,26 +22123,26 @@ "typeString": "uint256" } ], - "id": 2320, + "id": 1812, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2319, + "id": 1811, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": {} } }, - "id": 2322, + "id": 1814, "isConstant": false, "isLValue": false, "isPure": false, @@ -22150,7 +22150,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42888:12:1", + "src": "44108:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -22161,7 +22161,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22169,18 +22169,18 @@ "typeString": "bytes32" } ], - "id": 2316, + "id": 1808, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2097, - "src": "42866:9:1", + "referencedDeclaration": 1589, + "src": "44086:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)" } }, - "id": 2323, + "id": 1815, "isConstant": false, "isLValue": false, "isPure": false, @@ -22188,58 +22188,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42866:35:1", + "src": "44086:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2315, - "id": 2324, + "functionReturnParameters": 1807, + "id": 1816, "nodeType": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ] }, "documentation": { - "id": 2307, + "id": 1799, "nodeType": "StructuredDocumentation", - "src": "42686:68:1", + "src": "43902:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2326, + "id": 1818, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2312, + "id": 1804, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2309, + "id": 1801, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42777:28:1", + "scope": 1818, + "src": "43996:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2308, + "id": 1800, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42777:16:1", + "referencedDeclaration": 1746, + "src": "43996:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22247,12 +22247,12 @@ }, { "constant": false, - "id": 2311, + "id": 1803, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42807:11:1", + "scope": 1818, + "src": "44026:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22260,10 +22260,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2310, + "id": 1802, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42807:7:1", + "src": "44026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22272,20 +22272,20 @@ "visibility": "internal" } ], - "src": "42776:43:1" + "src": "43995:43:0" }, "returnParameters": { - "id": 2315, + "id": 1807, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2314, + "id": 1806, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42843:4:1", + "scope": 1818, + "src": "44062:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22293,10 +22293,10 @@ "typeString": "bool" }, "typeName": { - "id": 2313, + "id": 1805, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42843:4:1", + "src": "44062:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22305,47 +22305,47 @@ "visibility": "internal" } ], - "src": "42842:6:1" + "src": "44061:6:0" }, - "scope": 2480, - "src": "42759:149:1", + "scope": 1972, + "src": "43978:151:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2339, + "id": 1831, "nodeType": "Block", - "src": "43069:43:1", + "src": "44295:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2335, + "id": 1827, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2329, - "src": "43094:3:1", + "referencedDeclaration": 1821, + "src": "44321:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2336, + "id": 1828, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43094:10:1", + "referencedDeclaration": 1745, + "src": "44321:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } } @@ -22353,22 +22353,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], - "id": 2334, + "id": 1826, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2110, - "src": "43086:7:1", + "referencedDeclaration": 1602, + "src": "44313:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)" } }, - "id": 2337, + "id": 1829, "isConstant": false, "isLValue": false, "isPure": false, @@ -22376,78 +22376,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43086:19:1", + "src": "44313:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2333, - "id": 2338, + "functionReturnParameters": 1825, + "id": 1830, "nodeType": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ] }, "documentation": { - "id": 2327, + "id": 1819, "nodeType": "StructuredDocumentation", - "src": "42914:72:1", + "src": "44137:74:0", "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2340, + "id": 1832, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2330, + "id": 1822, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2329, + "id": 1821, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43007:28:1", + "scope": 1832, + "src": "44233:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2328, + "id": 1820, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43007:16:1", + "referencedDeclaration": 1746, + "src": "44233:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, "visibility": "internal" } ], - "src": "43006:30:1" + "src": "44232:30:0" }, "returnParameters": { - "id": 2333, + "id": 1825, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2332, + "id": 1824, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43060:7:1", + "scope": 1832, + "src": "44286:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22455,10 +22455,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2331, + "id": 1823, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43060:7:1", + "src": "44286:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22467,34 +22467,34 @@ "visibility": "internal" } ], - "src": "43059:9:1" + "src": "44285:9:0" }, - "scope": 2480, - "src": "42991:121:1", + "scope": 1972, + "src": "44217:123:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2378, + "id": 1870, "nodeType": "Block", - "src": "43538:135:1", + "src": "44777:138:0", "statements": [ { "assignments": [ - 2353, - 2355 + 1845, + 1847 ], "declarations": [ { "constant": false, - "id": 2353, + "id": 1845, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43549:11:1", + "scope": 1870, + "src": "44789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22502,10 +22502,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2352, + "id": 1844, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43549:7:1", + "src": "44789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22515,12 +22515,12 @@ }, { "constant": false, - "id": 2355, + "id": 1847, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43562:13:1", + "scope": 1870, + "src": "44802:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22528,10 +22528,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2354, + "id": 1846, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43562:7:1", + "src": "44802:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22540,43 +22540,43 @@ "visibility": "internal" } ], - "id": 2361, + "id": 1853, "initialValue": { "arguments": [ { "expression": { - "id": 2357, + "id": 1849, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2343, - "src": "43583:3:1", + "referencedDeclaration": 1835, + "src": "44823:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2358, + "id": 1850, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43583:10:1", + "referencedDeclaration": 1745, + "src": "44823:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { - "id": 2359, + "id": 1851, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2345, - "src": "43595:5:1", + "referencedDeclaration": 1837, + "src": "44835:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22586,7 +22586,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22594,18 +22594,18 @@ "typeString": "uint256" } ], - "id": 2356, + "id": 1848, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2145, - "src": "43579:3:1", + "referencedDeclaration": 1637, + "src": "44819:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)" } }, - "id": 2360, + "id": 1852, "isConstant": false, "isLValue": false, "isPure": false, @@ -22613,7 +22613,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43579:22:1", + "src": "44819:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", @@ -22621,7 +22621,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "expression": { @@ -22629,12 +22629,12 @@ { "arguments": [ { - "id": 2364, + "id": 1856, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2353, - "src": "43627:3:1", + "referencedDeclaration": 1845, + "src": "44868:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22648,26 +22648,26 @@ "typeString": "bytes32" } ], - "id": 2363, + "id": 1855, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2362, + "id": 1854, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": {} } }, - "id": 2365, + "id": 1857, "isConstant": false, "isLValue": false, "isPure": false, @@ -22675,7 +22675,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43619:12:1", + "src": "44860:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -22689,12 +22689,12 @@ { "arguments": [ { - "id": 2372, + "id": 1864, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2355, - "src": "43657:5:1", + "referencedDeclaration": 1847, + "src": "44898:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22708,26 +22708,26 @@ "typeString": "bytes32" } ], - "id": 2371, + "id": 1863, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2370, + "id": 1862, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": {} } }, - "id": 2373, + "id": 1865, "isConstant": false, "isLValue": false, "isPure": false, @@ -22735,7 +22735,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43649:14:1", + "src": "44890:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -22750,26 +22750,26 @@ "typeString": "uint256" } ], - "id": 2369, + "id": 1861, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2368, + "id": 1860, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": {} } }, - "id": 2374, + "id": 1866, "isConstant": false, "isLValue": false, "isPure": false, @@ -22777,7 +22777,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43641:23:1", + "src": "44882:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -22792,26 +22792,26 @@ "typeString": "uint160" } ], - "id": 2367, + "id": 1859, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2366, + "id": 1858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": {} } }, - "id": 2375, + "id": 1867, "isConstant": false, "isLValue": false, "isPure": false, @@ -22819,7 +22819,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43633:32:1", + "src": "44874:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -22827,64 +22827,64 @@ } } ], - "id": 2376, + "id": 1868, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "43618:48:1", + "src": "44859:48:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_payable_$", "typeString": "tuple(uint256,address payable)" } }, - "functionReturnParameters": 2351, - "id": 2377, + "functionReturnParameters": 1843, + "id": 1869, "nodeType": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ] }, "documentation": { - "id": 2341, + "id": 1833, "nodeType": "StructuredDocumentation", - "src": "43117:318:1", + "src": "44347:326:0", "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2379, + "id": 1871, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2346, + "id": 1838, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2343, + "id": 1835, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43452:28:1", + "scope": 1871, + "src": "44691:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2342, + "id": 1834, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43452:16:1", + "referencedDeclaration": 1746, + "src": "44691:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22892,12 +22892,12 @@ }, { "constant": false, - "id": 2345, + "id": 1837, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43482:13:1", + "scope": 1871, + "src": "44721:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22905,10 +22905,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2344, + "id": 1836, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43482:7:1", + "src": "44721:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22917,20 +22917,20 @@ "visibility": "internal" } ], - "src": "43451:45:1" + "src": "44690:45:0" }, "returnParameters": { - "id": 2351, + "id": 1843, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2348, + "id": 1840, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43520:7:1", + "scope": 1871, + "src": "44759:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22938,10 +22938,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2347, + "id": 1839, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43520:7:1", + "src": "44759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22951,12 +22951,12 @@ }, { "constant": false, - "id": 2350, + "id": 1842, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43529:7:1", + "scope": 1871, + "src": "44768:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22964,10 +22964,10 @@ "typeString": "address" }, "typeName": { - "id": 2349, + "id": 1841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43529:7:1", + "src": "44768:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -22977,34 +22977,34 @@ "visibility": "internal" } ], - "src": "43519:18:1" + "src": "44758:18:0" }, - "scope": 2480, - "src": "43440:233:1", + "scope": 1972, + "src": "44679:236:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2417, + "id": 1909, "nodeType": "Block", - "src": "43950:142:1", + "src": "45200:145:0", "statements": [ { "assignments": [ - 2392, - 2394 + 1884, + 1886 ], "declarations": [ { "constant": false, - "id": 2392, + "id": 1884, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43961:12:1", + "scope": 1909, + "src": "45212:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23012,10 +23012,10 @@ "typeString": "bool" }, "typeName": { - "id": 2391, + "id": 1883, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43961:4:1", + "src": "45212:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23025,12 +23025,12 @@ }, { "constant": false, - "id": 2394, + "id": 1886, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43975:13:1", + "scope": 1909, + "src": "45226:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23038,10 +23038,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2393, + "id": 1885, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43975:7:1", + "src": "45226:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23050,45 +23050,45 @@ "visibility": "internal" } ], - "id": 2403, + "id": 1895, "initialValue": { "arguments": [ { "expression": { - "id": 2396, + "id": 1888, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2382, - "src": "44000:3:1", + "referencedDeclaration": 1874, + "src": "45251:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2397, + "id": 1889, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44000:10:1", + "referencedDeclaration": 1745, + "src": "45251:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2400, + "id": 1892, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2384, - "src": "44020:3:1", + "referencedDeclaration": 1876, + "src": "45271:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23102,26 +23102,26 @@ "typeString": "uint256" } ], - "id": 2399, + "id": 1891, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2398, + "id": 1890, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": {} } }, - "id": 2401, + "id": 1893, "isConstant": false, "isLValue": false, "isPure": false, @@ -23129,7 +23129,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44012:12:1", + "src": "45263:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23140,7 +23140,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23148,18 +23148,18 @@ "typeString": "bytes32" } ], - "id": 2395, + "id": 1887, "name": "_tryGet", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2183, - "src": "43992:7:1", + "referencedDeclaration": 1675, + "src": "45243:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)" } }, - "id": 2402, + "id": 1894, "isConstant": false, "isLValue": false, "isPure": false, @@ -23167,7 +23167,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43992:33:1", + "src": "45243:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", @@ -23175,18 +23175,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "expression": { "components": [ { - "id": 2404, + "id": 1896, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2392, - "src": "44043:7:1", + "referencedDeclaration": 1884, + "src": "45295:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23199,12 +23199,12 @@ { "arguments": [ { - "id": 2411, + "id": 1903, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2394, - "src": "44076:5:1", + "referencedDeclaration": 1886, + "src": "45328:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23218,26 +23218,26 @@ "typeString": "bytes32" } ], - "id": 2410, + "id": 1902, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2409, + "id": 1901, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": {} } }, - "id": 2412, + "id": 1904, "isConstant": false, "isLValue": false, "isPure": false, @@ -23245,7 +23245,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44068:14:1", + "src": "45320:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23260,26 +23260,26 @@ "typeString": "uint256" } ], - "id": 2408, + "id": 1900, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2407, + "id": 1899, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": {} } }, - "id": 2413, + "id": 1905, "isConstant": false, "isLValue": false, "isPure": false, @@ -23287,7 +23287,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44060:23:1", + "src": "45312:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23302,26 +23302,26 @@ "typeString": "uint160" } ], - "id": 2406, + "id": 1898, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2405, + "id": 1897, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": {} } }, - "id": 2414, + "id": 1906, "isConstant": false, "isLValue": false, "isPure": false, @@ -23329,7 +23329,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44052:32:1", + "src": "45304:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -23337,64 +23337,64 @@ } } ], - "id": 2415, + "id": 1907, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "44042:43:1", + "src": "45294:43:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_address_payable_$", "typeString": "tuple(bool,address payable)" } }, - "functionReturnParameters": 2390, - "id": 2416, + "functionReturnParameters": 1882, + "id": 1908, "nodeType": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ] }, "documentation": { - "id": 2380, + "id": 1872, "nodeType": "StructuredDocumentation", - "src": "43679:169:1", + "src": "44923:174:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2418, + "id": 1910, "implemented": true, "kind": "function", "modifiers": [], "name": "tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2385, + "id": 1877, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2382, + "id": 1874, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43869:28:1", + "scope": 1910, + "src": "45119:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2381, + "id": 1873, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43869:16:1", + "referencedDeclaration": 1746, + "src": "45119:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23402,12 +23402,12 @@ }, { "constant": false, - "id": 2384, + "id": 1876, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43899:11:1", + "scope": 1910, + "src": "45149:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23415,10 +23415,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2383, + "id": 1875, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43899:7:1", + "src": "45149:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23427,20 +23427,20 @@ "visibility": "internal" } ], - "src": "43868:43:1" + "src": "45118:43:0" }, "returnParameters": { - "id": 2390, + "id": 1882, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2387, + "id": 1879, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43935:4:1", + "scope": 1910, + "src": "45185:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23448,10 +23448,10 @@ "typeString": "bool" }, "typeName": { - "id": 2386, + "id": 1878, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43935:4:1", + "src": "45185:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23461,12 +23461,12 @@ }, { "constant": false, - "id": 2389, + "id": 1881, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43941:7:1", + "scope": 1910, + "src": "45191:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23474,10 +23474,10 @@ "typeString": "address" }, "typeName": { - "id": 2388, + "id": 1880, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43941:7:1", + "src": "45191:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23487,19 +23487,19 @@ "visibility": "internal" } ], - "src": "43934:15:1" + "src": "45184:15:0" }, - "scope": 2480, - "src": "43853:239:1", + "scope": 1972, + "src": "45103:242:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2446, + "id": 1938, "nodeType": "Block", - "src": "44332:81:1", + "src": "45594:83:0", "statements": [ { "expression": { @@ -23512,40 +23512,40 @@ "arguments": [ { "expression": { - "id": 2435, + "id": 1927, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2421, - "src": "44378:3:1", + "referencedDeclaration": 1913, + "src": "45641:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2436, + "id": 1928, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44378:10:1", + "referencedDeclaration": 1745, + "src": "45641:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2439, + "id": 1931, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2423, - "src": "44398:3:1", + "referencedDeclaration": 1915, + "src": "45661:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23559,26 +23559,26 @@ "typeString": "uint256" } ], - "id": 2438, + "id": 1930, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2437, + "id": 1929, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": {} } }, - "id": 2440, + "id": 1932, "isConstant": false, "isLValue": false, "isPure": false, @@ -23586,7 +23586,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44390:12:1", + "src": "45653:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23597,7 +23597,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23605,21 +23605,21 @@ "typeString": "bytes32" } ], - "id": 2434, + "id": 1926, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, - "src": "44373:4:1", + "referencedDeclaration": 1708, + "src": "45636:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)" } }, - "id": 2441, + "id": 1933, "isConstant": false, "isLValue": false, "isPure": false, @@ -23627,7 +23627,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44373:30:1", + "src": "45636:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23642,26 +23642,26 @@ "typeString": "bytes32" } ], - "id": 2433, + "id": 1925, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2432, + "id": 1924, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": {} } }, - "id": 2442, + "id": 1934, "isConstant": false, "isLValue": false, "isPure": false, @@ -23669,7 +23669,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44365:39:1", + "src": "45628:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23684,26 +23684,26 @@ "typeString": "uint256" } ], - "id": 2431, + "id": 1923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2430, + "id": 1922, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": {} } }, - "id": 2443, + "id": 1935, "isConstant": false, "isLValue": false, "isPure": false, @@ -23711,7 +23711,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44357:48:1", + "src": "45620:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23726,26 +23726,26 @@ "typeString": "uint160" } ], - "id": 2429, + "id": 1921, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2428, + "id": 1920, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": {} } }, - "id": 2444, + "id": 1936, "isConstant": false, "isLValue": false, "isPure": false, @@ -23753,58 +23753,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44349:57:1", + "src": "45612:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2427, - "id": 2445, + "functionReturnParameters": 1919, + "id": 1937, "nodeType": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ] }, "documentation": { - "id": 2419, + "id": 1911, "nodeType": "StructuredDocumentation", - "src": "44098:141:1", + "src": "45353:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2447, + "id": 1939, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2424, + "id": 1916, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2421, + "id": 1913, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44257:28:1", + "scope": 1939, + "src": "45519:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2420, + "id": 1912, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44257:16:1", + "referencedDeclaration": 1746, + "src": "45519:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23812,12 +23812,12 @@ }, { "constant": false, - "id": 2423, + "id": 1915, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44287:11:1", + "scope": 1939, + "src": "45549:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23825,10 +23825,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2422, + "id": 1914, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44287:7:1", + "src": "45549:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23837,20 +23837,20 @@ "visibility": "internal" } ], - "src": "44256:43:1" + "src": "45518:43:0" }, "returnParameters": { - "id": 2427, + "id": 1919, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2426, + "id": 1918, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44323:7:1", + "scope": 1939, + "src": "45585:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23858,10 +23858,10 @@ "typeString": "address" }, "typeName": { - "id": 2425, + "id": 1917, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44323:7:1", + "src": "45585:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23871,19 +23871,19 @@ "visibility": "internal" } ], - "src": "44322:9:1" + "src": "45584:9:0" }, - "scope": 2480, - "src": "44244:169:1", + "scope": 1972, + "src": "45506:171:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2478, + "id": 1970, "nodeType": "Block", - "src": "44809:95:1", + "src": "46081:97:0", "statements": [ { "expression": { @@ -23896,40 +23896,40 @@ "arguments": [ { "expression": { - "id": 2466, + "id": 1958, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2450, - "src": "44855:3:1", + "referencedDeclaration": 1942, + "src": "46128:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2467, + "id": 1959, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44855:10:1", + "referencedDeclaration": 1745, + "src": "46128:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2470, + "id": 1962, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2452, - "src": "44875:3:1", + "referencedDeclaration": 1944, + "src": "46148:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23943,26 +23943,26 @@ "typeString": "uint256" } ], - "id": 2469, + "id": 1961, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2468, + "id": 1960, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": {} } }, - "id": 2471, + "id": 1963, "isConstant": false, "isLValue": false, "isPure": false, @@ -23970,7 +23970,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44867:12:1", + "src": "46140:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23978,12 +23978,12 @@ } }, { - "id": 2472, + "id": 1964, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2454, - "src": "44881:12:1", + "referencedDeclaration": 1946, + "src": "46154:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -23993,7 +23993,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -24005,21 +24005,21 @@ "typeString": "string memory" } ], - "id": 2465, + "id": 1957, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, - "src": "44850:4:1", + "referencedDeclaration": 1743, + "src": "46123:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)" } }, - "id": 2473, + "id": 1965, "isConstant": false, "isLValue": false, "isPure": false, @@ -24027,7 +24027,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44850:44:1", + "src": "46123:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -24042,26 +24042,26 @@ "typeString": "bytes32" } ], - "id": 2464, + "id": 1956, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2463, + "id": 1955, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": {} } }, - "id": 2474, + "id": 1966, "isConstant": false, "isLValue": false, "isPure": false, @@ -24069,7 +24069,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44842:53:1", + "src": "46115:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -24084,26 +24084,26 @@ "typeString": "uint256" } ], - "id": 2462, + "id": 1954, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2461, + "id": 1953, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": {} } }, - "id": 2475, + "id": 1967, "isConstant": false, "isLValue": false, "isPure": false, @@ -24111,7 +24111,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44834:62:1", + "src": "46107:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -24126,26 +24126,26 @@ "typeString": "uint160" } ], - "id": 2460, + "id": 1952, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2459, + "id": 1951, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": {} } }, - "id": 2476, + "id": 1968, "isConstant": false, "isLValue": false, "isPure": false, @@ -24153,58 +24153,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44826:71:1", + "src": "46099:71:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2458, - "id": 2477, + "functionReturnParameters": 1950, + "id": 1969, "nodeType": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ] }, "documentation": { - "id": 2448, + "id": 1940, "nodeType": "StructuredDocumentation", - "src": "44419:269:1", + "src": "45685:274:0", "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2479, + "id": 1971, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2455, + "id": 1947, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2450, + "id": 1942, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44706:28:1", + "scope": 1971, + "src": "45978:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2449, + "id": 1941, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44706:16:1", + "referencedDeclaration": 1746, + "src": "45978:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -24212,12 +24212,12 @@ }, { "constant": false, - "id": 2452, + "id": 1944, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44736:11:1", + "scope": 1971, + "src": "46008:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24225,10 +24225,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2451, + "id": 1943, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44736:7:1", + "src": "46008:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24238,12 +24238,12 @@ }, { "constant": false, - "id": 2454, + "id": 1946, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44749:26:1", + "scope": 1971, + "src": "46021:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24251,10 +24251,10 @@ "typeString": "string" }, "typeName": { - "id": 2453, + "id": 1945, "name": "string", "nodeType": "ElementaryTypeName", - "src": "44749:6:1", + "src": "46021:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -24263,20 +24263,20 @@ "visibility": "internal" } ], - "src": "44705:71:1" + "src": "45977:71:0" }, "returnParameters": { - "id": 2458, + "id": 1950, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2457, + "id": 1949, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44800:7:1", + "scope": 1971, + "src": "46072:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24284,10 +24284,10 @@ "typeString": "address" }, "typeName": { - "id": 2456, + "id": 1948, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44800:7:1", + "src": "46072:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -24297,20 +24297,20 @@ "visibility": "internal" } ], - "src": "44799:9:1" + "src": "46071:9:0" }, - "scope": 2480, - "src": "44693:211:1", + "scope": 1972, + "src": "45965:213:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "35943:8963:1" + "scope": 2991, + "src": "36981:9200:0" }, { - "id": 2481, + "id": 1973, "literals": [ "solidity", ">=", @@ -24321,7 +24321,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "abstract": false, @@ -24329,24 +24329,24 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 2482, + "id": 1974, "nodeType": "StructuredDocumentation", - "src": "44992:34:1", + "src": "46272:36:0", "text": " @dev String operations." }, "fullyImplemented": true, - "id": 2566, + "id": 2058, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 2564, + "id": 2056, "nodeType": "Block", - "src": "45207:654:1", + "src": "46494:675:0", "statements": [ { "condition": { @@ -24354,18 +24354,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2492, + "id": 1984, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2490, + "id": 1982, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45409:5:1", + "referencedDeclaration": 1977, + "src": "46700:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24375,72 +24375,72 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2491, + "id": 1983, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45418:1:1", + "src": "46709:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45409:10:1", + "src": "46700:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2496, + "id": 1988, "nodeType": "IfStatement", - "src": "45405:51:1", + "src": "46696:53:0", "trueBody": { - "id": 2495, + "id": 1987, "nodeType": "Block", - "src": "45421:35:1", + "src": "46712:37:0", "statements": [ { "expression": { "hexValue": "30", - "id": 2493, + "id": 1985, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "45442:3:1", + "src": "46734:3:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", "typeString": "literal_string \"0\"" }, "value": "0" }, - "functionReturnParameters": 2489, - "id": 2494, + "functionReturnParameters": 1981, + "id": 1986, "nodeType": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ] } }, { "assignments": [ - 2498 + 1990 ], "declarations": [ { "constant": false, - "id": 2498, + "id": 1990, "mutability": "mutable", "name": "temp", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45465:12:1", + "scope": 2056, + "src": "46759:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24448,10 +24448,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2497, + "id": 1989, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45465:7:1", + "src": "46759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24460,35 +24460,35 @@ "visibility": "internal" } ], - "id": 2500, + "id": 1992, "initialValue": { - "id": 2499, + "id": 1991, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45480:5:1", + "referencedDeclaration": 1977, + "src": "46774:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "assignments": [ - 2502 + 1994 ], "declarations": [ { "constant": false, - "id": 2502, + "id": 1994, "mutability": "mutable", "name": "digits", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45495:14:1", + "scope": 2056, + "src": "46790:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24496,10 +24496,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2501, + "id": 1993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45495:7:1", + "src": "46790:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24508,19 +24508,19 @@ "visibility": "internal" } ], - "id": 2503, + "id": 1995, "nodeType": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "body": { - "id": 2514, + "id": 2006, "nodeType": "Block", - "src": "45537:57:1", + "src": "46833:60:0", "statements": [ { "expression": { - "id": 2508, + "id": 2000, "isConstant": false, "isLValue": false, "isPure": false, @@ -24528,14 +24528,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "45551:8:1", + "src": "46848:8:0", "subExpression": { - "id": 2507, + "id": 1999, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45551:6:1", + "referencedDeclaration": 1994, + "src": "46848:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24546,24 +24546,24 @@ "typeString": "uint256" } }, - "id": 2509, + "id": 2001, "nodeType": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "expression": { - "id": 2512, + "id": 2004, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2510, + "id": 2002, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45573:4:1", + "referencedDeclaration": 1990, + "src": "46871:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24573,29 +24573,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2511, + "id": 2003, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45581:2:1", + "src": "46879:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45573:10:1", + "src": "46871:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2513, + "id": 2005, "nodeType": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ] }, @@ -24604,18 +24604,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2506, + "id": 1998, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2504, + "id": 1996, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45526:4:1", + "referencedDeclaration": 1990, + "src": "46822:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24625,43 +24625,43 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2505, + "id": 1997, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45534:1:1", + "src": "46830:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45526:9:1", + "src": "46822:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2515, + "id": 2007, "nodeType": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "assignments": [ - 2517 + 2009 ], "declarations": [ { "constant": false, - "id": 2517, + "id": 2009, "mutability": "mutable", "name": "buffer", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45603:19:1", + "scope": 2056, + "src": "46903:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24669,10 +24669,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2516, + "id": 2008, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45603:5:1", + "src": "46903:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -24681,16 +24681,16 @@ "visibility": "internal" } ], - "id": 2522, + "id": 2014, "initialValue": { "arguments": [ { - "id": 2520, + "id": 2012, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45635:6:1", + "referencedDeclaration": 1994, + "src": "46935:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24704,29 +24704,29 @@ "typeString": "uint256" } ], - "id": 2519, + "id": 2011, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", - "src": "45625:9:1", + "src": "46925:9:0", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", "typeString": "function (uint256) pure returns (bytes memory)" }, "typeName": { - "id": 2518, + "id": 2010, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45629:5:1", + "src": "46929:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } } }, - "id": 2521, + "id": 2013, "isConstant": false, "isLValue": false, "isPure": false, @@ -24734,7 +24734,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45625:17:1", + "src": "46925:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -24742,21 +24742,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "assignments": [ - 2524 + 2016 ], "declarations": [ { "constant": false, - "id": 2524, + "id": 2016, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45652:13:1", + "scope": 2056, + "src": "46953:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24764,10 +24764,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2523, + "id": 2015, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45652:7:1", + "src": "46953:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24776,24 +24776,24 @@ "visibility": "internal" } ], - "id": 2528, + "id": 2020, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2527, + "id": 2019, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2525, + "id": 2017, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45668:6:1", + "referencedDeclaration": 1994, + "src": "46969:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24803,43 +24803,43 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2526, + "id": 2018, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45677:1:1", + "src": "46978:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "45668:10:1", + "src": "46969:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "expression": { - "id": 2531, + "id": 2023, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2529, + "id": 2021, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45688:4:1", + "referencedDeclaration": 1990, + "src": "46990:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24848,56 +24848,56 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2530, + "id": 2022, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45695:5:1", + "referencedDeclaration": 1977, + "src": "46997:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45688:12:1", + "src": "46990:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2532, + "id": 2024, "nodeType": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "body": { - "id": 2557, + "id": 2049, "nodeType": "Block", - "src": "45728:96:1", + "src": "47031:99:0", "statements": [ { "expression": { - "id": 2551, + "id": 2043, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2536, + "id": 2028, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45742:6:1", + "referencedDeclaration": 2009, + "src": "47046:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2539, + "id": 2031, "indexExpression": { - "id": 2538, + "id": 2030, "isConstant": false, "isLValue": false, "isPure": false, @@ -24905,14 +24905,14 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "45749:7:1", + "src": "47053:7:0", "subExpression": { - "id": 2537, + "id": 2029, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2524, - "src": "45749:5:1", + "referencedDeclaration": 2016, + "src": "47053:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24928,7 +24928,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "45742:15:1", + "src": "47046:15:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -24945,21 +24945,21 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2548, + "id": 2040, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "hexValue": "3438", - "id": 2544, + "id": 2036, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45773:2:1", + "src": "47077:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_48_by_1", "typeString": "int_const 48" @@ -24973,18 +24973,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2547, + "id": 2039, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2545, + "id": 2037, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45778:4:1", + "referencedDeclaration": 1990, + "src": "47082:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24994,27 +24994,27 @@ "operator": "%", "rightExpression": { "hexValue": "3130", - "id": 2546, + "id": 2038, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45785:2:1", + "src": "47089:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45778:9:1", + "src": "47082:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45773:14:1", + "src": "47077:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25028,26 +25028,26 @@ "typeString": "uint256" } ], - "id": 2543, + "id": 2035, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint8_$", "typeString": "type(uint8)" }, "typeName": { - "id": 2542, + "id": 2034, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": {} } }, - "id": 2549, + "id": 2041, "isConstant": false, "isLValue": false, "isPure": false, @@ -25055,7 +25055,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45767:21:1", + "src": "47071:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint8", @@ -25070,26 +25070,26 @@ "typeString": "uint8" } ], - "id": 2541, + "id": 2033, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": { - "id": 2540, + "id": 2032, "name": "bytes1", "nodeType": "ElementaryTypeName", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": {} } }, - "id": 2550, + "id": 2042, "isConstant": false, "isLValue": false, "isPure": false, @@ -25097,37 +25097,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45760:29:1", + "src": "47064:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "45742:47:1", + "src": "47046:47:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "id": 2552, + "id": 2044, "nodeType": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "expression": { - "id": 2555, + "id": 2047, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2553, + "id": 2045, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45803:4:1", + "referencedDeclaration": 1990, + "src": "47108:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25137,29 +25137,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2554, + "id": 2046, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45811:2:1", + "src": "47116:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45803:10:1", + "src": "47108:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2556, + "id": 2048, "nodeType": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ] }, @@ -25168,18 +25168,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2535, + "id": 2027, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2533, + "id": 2025, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45717:4:1", + "referencedDeclaration": 1990, + "src": "47020:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25189,40 +25189,40 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2534, + "id": 2026, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45725:1:1", + "src": "47028:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45717:9:1", + "src": "47020:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2558, + "id": 2050, "nodeType": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "expression": { "arguments": [ { - "id": 2561, + "id": 2053, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45847:6:1", + "referencedDeclaration": 2009, + "src": "47154:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -25236,26 +25236,26 @@ "typeString": "bytes memory" } ], - "id": 2560, + "id": 2052, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2559, + "id": 2051, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": {} } }, - "id": 2562, + "id": 2054, "isConstant": false, "isLValue": false, "isPure": false, @@ -25263,44 +25263,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45840:14:1", + "src": "47147:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2489, - "id": 2563, + "functionReturnParameters": 1981, + "id": 2055, "nodeType": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ] }, "documentation": { - "id": 2483, + "id": 1975, "nodeType": "StructuredDocumentation", - "src": "45049:82:1", + "src": "46333:84:0", "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2565, + "id": 2057, "implemented": true, "kind": "function", "modifiers": [], "name": "toString", "nodeType": "FunctionDefinition", "parameters": { - "id": 2486, + "id": 1978, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2485, + "id": 1977, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45154:13:1", + "scope": 2057, + "src": "46441:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25308,10 +25308,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2484, + "id": 1976, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45154:7:1", + "src": "46441:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25320,20 +25320,20 @@ "visibility": "internal" } ], - "src": "45153:15:1" + "src": "46440:15:0" }, "returnParameters": { - "id": 2489, + "id": 1981, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2488, + "id": 1980, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45192:13:1", + "scope": 2057, + "src": "46479:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -25341,10 +25341,10 @@ "typeString": "string" }, "typeName": { - "id": 2487, + "id": 1979, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45192:6:1", + "src": "46479:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25353,20 +25353,20 @@ "visibility": "internal" } ], - "src": "45191:15:1" + "src": "46478:15:0" }, - "scope": 2566, - "src": "45136:725:1", + "scope": 2058, + "src": "46423:746:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "45027:836:1" + "scope": 2991, + "src": "46310:862:0" }, { - "id": 2567, + "id": 2059, "literals": [ "solidity", ">=", @@ -25377,141 +25377,141 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 2569, + "id": 2061, "name": "Context", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 530, - "src": "46099:7:1", + "referencedDeclaration": 22, + "src": "47417:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 2570, + "id": 2062, "nodeType": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "baseName": { - "id": 2571, + "id": 2063, "name": "ERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 781, - "src": "46108:6:1", + "referencedDeclaration": 273, + "src": "47426:6:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC165_$781", + "typeIdentifier": "t_contract$_ERC165_$273", "typeString": "contract ERC165" } }, - "id": 2572, + "id": 2064, "nodeType": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "baseName": { - "id": 2573, + "id": 2065, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "46116:7:1", + "referencedDeclaration": 147, + "src": "47434:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 2574, + "id": 2066, "nodeType": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "baseName": { - "id": 2575, + "id": 2067, "name": "IERC721Metadata", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 680, - "src": "46125:15:1", + "referencedDeclaration": 172, + "src": "47443:15:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Metadata_$680", + "typeIdentifier": "t_contract$_IERC721Metadata_$172", "typeString": "contract IERC721Metadata" } }, - "id": 2576, + "id": 2068, "nodeType": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "baseName": { - "id": 2577, + "id": 2069, "name": "IERC721Enumerable", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 709, - "src": "46142:17:1", + "referencedDeclaration": 201, + "src": "47460:17:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Enumerable_$709", + "typeIdentifier": "t_contract$_IERC721Enumerable_$201", "typeString": "contract IERC721Enumerable" } }, - "id": 2578, + "id": 2070, "nodeType": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" } ], "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "documentation": { - "id": 2568, + "id": 2060, "nodeType": "StructuredDocumentation", - "src": "45955:124:1", + "src": "47269:127:0", "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": true, - "id": 3498, + "id": 2990, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", "nodeType": "ContractDefinition", "nodes": [ { - "id": 2581, + "id": 2073, "libraryName": { - "id": 2579, + "id": 2071, "name": "SafeMath", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1135, - "src": "46172:8:1", + "referencedDeclaration": 627, + "src": "47491:8:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$1135", + "typeIdentifier": "t_contract$_SafeMath_$627", "typeString": "library SafeMath" } }, "nodeType": "UsingForDirective", - "src": "46166:27:1", + "src": "47485:27:0", "typeName": { - "id": 2580, + "id": 2072, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46185:7:1", + "src": "47504:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25519,25 +25519,25 @@ } }, { - "id": 2584, + "id": 2076, "libraryName": { - "id": 2582, + "id": 2074, "name": "Address", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1430, - "src": "46204:7:1", + "referencedDeclaration": 922, + "src": "47524:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } }, "nodeType": "UsingForDirective", - "src": "46198:26:1", + "src": "47518:26:0", "typeName": { - "id": 2583, + "id": 2075, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46216:7:1", + "src": "47536:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25546,79 +25546,79 @@ } }, { - "id": 2587, + "id": 2079, "libraryName": { - "id": 2585, + "id": 2077, "name": "EnumerableSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1921, - "src": "46235:13:1", + "referencedDeclaration": 1413, + "src": "47556:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableSet_$1921", + "typeIdentifier": "t_contract$_EnumerableSet_$1413", "typeString": "library EnumerableSet" } }, "nodeType": "UsingForDirective", - "src": "46229:46:1", + "src": "47550:46:0", "typeName": { - "id": 2586, + "id": 2078, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46253:21:1", + "referencedDeclaration": 1318, + "src": "47574:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } }, { - "id": 2590, + "id": 2082, "libraryName": { - "id": 2588, + "id": 2080, "name": "EnumerableMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2480, - "src": "46286:13:1", + "referencedDeclaration": 1972, + "src": "47608:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableMap_$2480", + "typeIdentifier": "t_contract$_EnumerableMap_$1972", "typeString": "library EnumerableMap" } }, "nodeType": "UsingForDirective", - "src": "46280:55:1", + "src": "47602:55:0", "typeName": { - "id": 2589, + "id": 2081, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46304:30:1", + "referencedDeclaration": 1746, + "src": "47626:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } } }, { - "id": 2593, + "id": 2085, "libraryName": { - "id": 2591, + "id": 2083, "name": "Strings", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2566, - "src": "46346:7:1", + "referencedDeclaration": 2058, + "src": "47669:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Strings_$2566", + "typeIdentifier": "t_contract$_Strings_$2058", "typeString": "library Strings" } }, "nodeType": "UsingForDirective", - "src": "46340:26:1", + "src": "47663:26:0", "typeName": { - "id": 2592, + "id": 2084, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46358:7:1", + "src": "47681:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25627,12 +25627,12 @@ }, { "constant": true, - "id": 2596, + "id": 2088, "mutability": "constant", "name": "_ERC721_RECEIVED", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46544:53:1", + "scope": 2990, + "src": "47871:53:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25640,10 +25640,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2594, + "id": 2086, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "46544:6:1", + "src": "47871:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -25651,14 +25651,14 @@ }, "value": { "hexValue": "30783135306237613032", - "id": 2595, + "id": 2087, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "46587:10:1", + "src": "47914:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_353073666_by_1", "typeString": "int_const 353073666" @@ -25669,44 +25669,44 @@ }, { "constant": false, - "id": 2600, + "id": 2092, "mutability": "mutable", "name": "_holderTokens", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46681:64:1", + "scope": 2990, + "src": "48011:64:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "typeName": { - "id": 2599, + "id": 2091, "keyType": { - "id": 2597, + "id": 2089, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46690:7:1", + "src": "48020:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "46681:42:1", + "src": "48011:42:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "valueType": { - "id": 2598, + "id": 2090, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46701:21:1", + "referencedDeclaration": 1318, + "src": "48031:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } @@ -25715,26 +25715,26 @@ }, { "constant": false, - "id": 2602, + "id": 2094, "mutability": "mutable", "name": "_tokenOwners", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46809:51:1", + "scope": 2990, + "src": "48142:51:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2601, + "id": 2093, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46809:30:1", + "referencedDeclaration": 1746, + "src": "48142:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -25742,12 +25742,12 @@ }, { "constant": false, - "id": 2606, + "id": 2098, "mutability": "mutable", "name": "_tokenApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46916:52:1", + "scope": 2990, + "src": "48252:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25755,28 +25755,28 @@ "typeString": "mapping(uint256 => address)" }, "typeName": { - "id": 2605, + "id": 2097, "keyType": { - "id": 2603, + "id": 2095, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46925:7:1", + "src": "48261:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "46916:28:1", + "src": "48252:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" }, "valueType": { - "id": 2604, + "id": 2096, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46936:7:1", + "src": "48272:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25788,12 +25788,12 @@ }, { "constant": false, - "id": 2612, + "id": 2104, "mutability": "mutable", "name": "_operatorApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47023:73:1", + "scope": 2990, + "src": "48362:73:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25801,46 +25801,46 @@ "typeString": "mapping(address => mapping(address => bool))" }, "typeName": { - "id": 2611, + "id": 2103, "keyType": { - "id": 2607, + "id": 2099, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47032:7:1", + "src": "48371:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47023:46:1", + "src": "48362:46:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" }, "valueType": { - "id": 2610, + "id": 2102, "keyType": { - "id": 2608, + "id": 2100, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47052:7:1", + "src": "48391:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47043:25:1", + "src": "48382:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" }, "valueType": { - "id": 2609, + "id": 2101, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "47063:4:1", + "src": "48402:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -25852,12 +25852,12 @@ }, { "constant": false, - "id": 2614, + "id": 2106, "mutability": "mutable", "name": "_name", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47121:20:1", + "scope": 2990, + "src": "48463:20:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25865,10 +25865,10 @@ "typeString": "string" }, "typeName": { - "id": 2613, + "id": 2105, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47121:6:1", + "src": "48463:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25878,12 +25878,12 @@ }, { "constant": false, - "id": 2616, + "id": 2108, "mutability": "mutable", "name": "_symbol", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47168:22:1", + "scope": 2990, + "src": "48513:22:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25891,10 +25891,10 @@ "typeString": "string" }, "typeName": { - "id": 2615, + "id": 2107, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47168:6:1", + "src": "48513:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25904,12 +25904,12 @@ }, { "constant": false, - "id": 2620, + "id": 2112, "mutability": "mutable", "name": "_tokenURIs", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47236:46:1", + "scope": 2990, + "src": "48584:46:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25917,28 +25917,28 @@ "typeString": "mapping(uint256 => string)" }, "typeName": { - "id": 2619, + "id": 2111, "keyType": { - "id": 2617, + "id": 2109, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "47245:7:1", + "src": "48593:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "47236:27:1", + "src": "48584:27:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string)" }, "valueType": { - "id": 2618, + "id": 2110, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47256:6:1", + "src": "48604:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25949,12 +25949,12 @@ }, { "constant": false, - "id": 2622, + "id": 2114, "mutability": "mutable", "name": "_baseURI", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47305:23:1", + "scope": 2990, + "src": "48656:23:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25962,10 +25962,10 @@ "typeString": "string" }, "typeName": { - "id": 2621, + "id": 2113, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47305:6:1", + "src": "48656:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25975,12 +25975,12 @@ }, { "constant": true, - "id": 2625, + "id": 2117, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48204:57:1", + "scope": 2990, + "src": "49571:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25988,10 +25988,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2623, + "id": 2115, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48204:6:1", + "src": "49571:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -25999,14 +25999,14 @@ }, "value": { "hexValue": "30783830616335386364", - "id": 2624, + "id": 2116, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48251:10:1", + "src": "49618:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2158778573_by_1", "typeString": "int_const 2158778573" @@ -26017,12 +26017,12 @@ }, { "constant": true, - "id": 2628, + "id": 2120, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48527:66:1", + "scope": 2990, + "src": "49903:66:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26030,10 +26030,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2626, + "id": 2118, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48527:6:1", + "src": "49903:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26041,14 +26041,14 @@ }, "value": { "hexValue": "30783562356531333966", - "id": 2627, + "id": 2119, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48583:10:1", + "src": "49959:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_1532892063_by_1", "typeString": "int_const 1532892063" @@ -26059,12 +26059,12 @@ }, { "constant": true, - "id": 2631, + "id": 2123, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48898:68:1", + "scope": 2990, + "src": "50283:68:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26072,10 +26072,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2629, + "id": 2121, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48898:6:1", + "src": "50283:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26083,14 +26083,14 @@ }, "value": { "hexValue": "30783738306539643633", - "id": 2630, + "id": 2122, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48956:10:1", + "src": "50341:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2014223715_by_1", "typeString": "int_const 2014223715" @@ -26101,24 +26101,24 @@ }, { "body": { - "id": 2659, + "id": 2151, "nodeType": "Block", - "src": "49143:305:1", + "src": "50533:313:0", "statements": [ { "expression": { - "id": 2641, + "id": 2133, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2639, + "id": 2131, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "49153:5:1", + "referencedDeclaration": 2106, + "src": "50544:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26127,41 +26127,41 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2640, + "id": 2132, "name": "name_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2634, - "src": "49161:5:1", + "referencedDeclaration": 2126, + "src": "50552:5:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49153:13:1", + "src": "50544:13:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2642, + "id": 2134, "nodeType": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "expression": { - "id": 2645, + "id": 2137, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2643, + "id": 2135, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "49176:7:1", + "referencedDeclaration": 2108, + "src": "50568:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26170,37 +26170,37 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2644, + "id": 2136, "name": "symbol_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2636, - "src": "49186:7:1", + "referencedDeclaration": 2128, + "src": "50578:7:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49176:17:1", + "src": "50568:17:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2646, + "id": 2138, "nodeType": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "expression": { "arguments": [ { - "id": 2648, + "id": 2140, "name": "_INTERFACE_ID_ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2625, - "src": "49300:20:1", + "referencedDeclaration": 2117, + "src": "50695:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26214,18 +26214,18 @@ "typeString": "bytes4" } ], - "id": 2647, + "id": 2139, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49281:18:1", + "referencedDeclaration": 272, + "src": "50676:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2649, + "id": 2141, "isConstant": false, "isLValue": false, "isPure": false, @@ -26233,27 +26233,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49281:40:1", + "src": "50676:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2650, + "id": 2142, "nodeType": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "expression": { "arguments": [ { - "id": 2652, + "id": 2144, "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2628, - "src": "49350:29:1", + "referencedDeclaration": 2120, + "src": "50746:29:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26267,18 +26267,18 @@ "typeString": "bytes4" } ], - "id": 2651, + "id": 2143, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49331:18:1", + "referencedDeclaration": 272, + "src": "50727:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2653, + "id": 2145, "isConstant": false, "isLValue": false, "isPure": false, @@ -26286,27 +26286,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49331:49:1", + "src": "50727:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2654, + "id": 2146, "nodeType": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "expression": { "arguments": [ { - "id": 2656, + "id": 2148, "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2631, - "src": "49409:31:1", + "referencedDeclaration": 2123, + "src": "50806:31:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26320,18 +26320,18 @@ "typeString": "bytes4" } ], - "id": 2655, + "id": 2147, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49390:18:1", + "referencedDeclaration": 272, + "src": "50787:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2657, + "id": 2149, "isConstant": false, "isLValue": false, "isPure": false, @@ -26339,43 +26339,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49390:51:1", + "src": "50787:51:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2658, + "id": 2150, "nodeType": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ] }, "documentation": { - "id": 2632, + "id": 2124, "nodeType": "StructuredDocumentation", - "src": "48973:108:1", + "src": "50360:110:0", "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2660, + "id": 2152, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 2637, + "id": 2129, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2634, + "id": 2126, "mutability": "mutable", "name": "name_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49099:19:1", + "scope": 2152, + "src": "50489:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26383,10 +26383,10 @@ "typeString": "string" }, "typeName": { - "id": 2633, + "id": 2125, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49099:6:1", + "src": "50489:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26396,12 +26396,12 @@ }, { "constant": false, - "id": 2636, + "id": 2128, "mutability": "mutable", "name": "symbol_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49120:21:1", + "scope": 2152, + "src": "50510:21:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26409,10 +26409,10 @@ "typeString": "string" }, "typeName": { - "id": 2635, + "id": 2127, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49120:6:1", + "src": "50510:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26421,28 +26421,28 @@ "visibility": "internal" } ], - "src": "49098:44:1" + "src": "50488:44:0" }, "returnParameters": { - "id": 2638, + "id": 2130, "nodeType": "ParameterList", "parameters": [], - "src": "49143:0:1" + "src": "50533:0:0" }, - "scope": 3498, - "src": "49086:362:1", + "scope": 2990, + "src": "50476:370:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { "baseFunctions": [ - 580 + 72 ], "body": { - "id": 2685, + "id": 2177, "nodeType": "Block", - "src": "49588:137:1", + "src": "50991:140:0", "statements": [ { "expression": { @@ -26452,18 +26452,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2675, + "id": 2167, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2670, + "id": 2162, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49606:5:1", + "referencedDeclaration": 2155, + "src": "51010:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26475,14 +26475,14 @@ "arguments": [ { "hexValue": "30", - "id": 2673, + "id": 2165, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "49623:1:1", + "src": "51027:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -26497,26 +26497,26 @@ "typeString": "int_const 0" } ], - "id": 2672, + "id": 2164, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2671, + "id": 2163, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": {} } }, - "id": 2674, + "id": 2166, "isConstant": false, "isLValue": false, "isPure": true, @@ -26524,14 +26524,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49615:10:1", + "src": "51019:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "49606:19:1", + "src": "51010:19:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -26539,14 +26539,14 @@ }, { "hexValue": "4552433732313a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373", - "id": 2676, + "id": 2168, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49627:44:1", + "src": "51031:44:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7395d4d3901c50cdfcab223d072f9aa36241df5d883e62cbf147ee1b05a9e6ba", "typeString": "literal_string \"ERC721: balance query for the zero address\"" @@ -26565,7 +26565,7 @@ "typeString": "literal_string \"ERC721: balance query for the zero address\"" } ], - "id": 2669, + "id": 2161, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -26573,13 +26573,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "49598:7:1", + "src": "51002:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2677, + "id": 2169, "isConstant": false, "isLValue": false, "isPure": false, @@ -26587,16 +26587,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49598:74:1", + "src": "51002:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2678, + "id": 2170, "nodeType": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "expression": { @@ -26605,25 +26605,25 @@ "argumentTypes": [], "expression": { "baseExpression": { - "id": 2679, + "id": 2171, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "49689:13:1", + "referencedDeclaration": 2092, + "src": "51094:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2681, + "id": 2173, "indexExpression": { - "id": 2680, + "id": 2172, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49703:5:1", + "referencedDeclaration": 2155, + "src": "51108:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26634,27 +26634,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "49689:20:1", + "src": "51094:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2682, + "id": 2174, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 1900, - "src": "49689:27:1", + "referencedDeclaration": 1392, + "src": "51094:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" } }, - "id": 2683, + "id": 2175, "isConstant": false, "isLValue": false, "isPure": false, @@ -26662,51 +26662,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49689:29:1", + "src": "51094:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2668, - "id": 2684, + "functionReturnParameters": 2160, + "id": 2176, "nodeType": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ] }, "documentation": { - "id": 2661, + "id": 2153, "nodeType": "StructuredDocumentation", - "src": "49454:48:1", + "src": "50854:50:0", "text": " @dev See {IERC721-balanceOf}." }, "functionSelector": "70a08231", - "id": 2686, + "id": 2178, "implemented": true, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2665, + "id": 2157, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49561:8:1" + "src": "50964:8:0" }, "parameters": { - "id": 2664, + "id": 2156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2663, + "id": 2155, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49526:13:1", + "scope": 2178, + "src": "50929:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26714,10 +26714,10 @@ "typeString": "address" }, "typeName": { - "id": 2662, + "id": 2154, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49526:7:1", + "src": "50929:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26727,20 +26727,20 @@ "visibility": "internal" } ], - "src": "49525:15:1" + "src": "50928:15:0" }, "returnParameters": { - "id": 2668, + "id": 2160, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2667, + "id": 2159, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49579:7:1", + "scope": 2178, + "src": "50982:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26748,10 +26748,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2666, + "id": 2158, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49579:7:1", + "src": "50982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26760,33 +26760,33 @@ "visibility": "internal" } ], - "src": "49578:9:1" + "src": "50981:9:0" }, - "scope": 3498, - "src": "49507:218:1", + "scope": 2990, + "src": "50910:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 588 + 80 ], "body": { - "id": 2701, + "id": 2193, "nodeType": "Block", - "src": "49863:94:1", + "src": "51274:96:0", "statements": [ { "expression": { "arguments": [ { - "id": 2697, + "id": 2189, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2689, - "src": "49897:7:1", + "referencedDeclaration": 2181, + "src": "51309:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26794,14 +26794,14 @@ }, { "hexValue": "4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2698, + "id": 2190, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49906:43:1", + "src": "51318:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7481f3df2a424c0755a1ad2356614e9a5a358d461ea2eae1f89cb21cbad00397", "typeString": "literal_string \"ERC721: owner query for nonexistent token\"" @@ -26821,32 +26821,32 @@ } ], "expression": { - "id": 2695, + "id": 2187, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "49880:12:1", + "referencedDeclaration": 2094, + "src": "51292:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2696, + "id": 2188, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "get", "nodeType": "MemberAccess", - "referencedDeclaration": 2479, - "src": "49880:16:1", + "referencedDeclaration": 1971, + "src": "51292:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" } }, - "id": 2699, + "id": 2191, "isConstant": false, "isLValue": false, "isPure": false, @@ -26854,51 +26854,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49880:70:1", + "src": "51292:70:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2694, - "id": 2700, + "functionReturnParameters": 2186, + "id": 2192, "nodeType": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ] }, "documentation": { - "id": 2687, + "id": 2179, "nodeType": "StructuredDocumentation", - "src": "49731:46:1", + "src": "51139:48:0", "text": " @dev See {IERC721-ownerOf}." }, "functionSelector": "6352211e", - "id": 2702, + "id": 2194, "implemented": true, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2691, + "id": 2183, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49836:8:1" + "src": "51247:8:0" }, "parameters": { - "id": 2690, + "id": 2182, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2689, + "id": 2181, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49799:15:1", + "scope": 2194, + "src": "51210:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26906,10 +26906,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2688, + "id": 2180, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49799:7:1", + "src": "51210:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26918,20 +26918,20 @@ "visibility": "internal" } ], - "src": "49798:17:1" + "src": "51209:17:0" }, "returnParameters": { - "id": 2694, + "id": 2186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2693, + "id": 2185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49854:7:1", + "scope": 2194, + "src": "51265:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26939,10 +26939,10 @@ "typeString": "address" }, "typeName": { - "id": 2692, + "id": 2184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49854:7:1", + "src": "51265:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26952,80 +26952,80 @@ "visibility": "internal" } ], - "src": "49853:9:1" + "src": "51264:9:0" }, - "scope": 3498, - "src": "49782:175:1", + "scope": 2990, + "src": "51193:177:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 665 + 157 ], "body": { - "id": 2711, + "id": 2203, "nodeType": "Block", - "src": "50088:29:1", + "src": "51506:31:0", "statements": [ { "expression": { - "id": 2709, + "id": 2201, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "50105:5:1", + "referencedDeclaration": 2106, + "src": "51524:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2708, - "id": 2710, + "functionReturnParameters": 2200, + "id": 2202, "nodeType": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ] }, "documentation": { - "id": 2703, + "id": 2195, "nodeType": "StructuredDocumentation", - "src": "49963:51:1", + "src": "51378:53:0", "text": " @dev See {IERC721Metadata-name}." }, "functionSelector": "06fdde03", - "id": 2712, + "id": 2204, "implemented": true, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "overrides": { - "id": 2705, + "id": 2197, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50055:8:1" + "src": "51473:8:0" }, "parameters": { - "id": 2704, + "id": 2196, "nodeType": "ParameterList", "parameters": [], - "src": "50032:2:1" + "src": "51450:2:0" }, "returnParameters": { - "id": 2708, + "id": 2200, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2707, + "id": 2199, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2712, - "src": "50073:13:1", + "scope": 2204, + "src": "51491:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27033,10 +27033,10 @@ "typeString": "string" }, "typeName": { - "id": 2706, + "id": 2198, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50073:6:1", + "src": "51491:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27045,80 +27045,80 @@ "visibility": "internal" } ], - "src": "50072:15:1" + "src": "51490:15:0" }, - "scope": 3498, - "src": "50019:98:1", + "scope": 2990, + "src": "51437:100:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 671 + 163 ], "body": { - "id": 2721, + "id": 2213, "nodeType": "Block", - "src": "50252:31:1", + "src": "51677:33:0", "statements": [ { "expression": { - "id": 2719, + "id": 2211, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "50269:7:1", + "referencedDeclaration": 2108, + "src": "51695:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2718, - "id": 2720, + "functionReturnParameters": 2210, + "id": 2212, "nodeType": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ] }, "documentation": { - "id": 2713, + "id": 2205, "nodeType": "StructuredDocumentation", - "src": "50123:53:1", + "src": "51545:55:0", "text": " @dev See {IERC721Metadata-symbol}." }, "functionSelector": "95d89b41", - "id": 2722, + "id": 2214, "implemented": true, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "overrides": { - "id": 2715, + "id": 2207, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50219:8:1" + "src": "51644:8:0" }, "parameters": { - "id": 2714, + "id": 2206, "nodeType": "ParameterList", "parameters": [], - "src": "50196:2:1" + "src": "51621:2:0" }, "returnParameters": { - "id": 2718, + "id": 2210, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2717, + "id": 2209, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2722, - "src": "50237:13:1", + "scope": 2214, + "src": "51662:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27126,10 +27126,10 @@ "typeString": "string" }, "typeName": { - "id": 2716, + "id": 2208, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50237:6:1", + "src": "51662:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27138,22 +27138,22 @@ "visibility": "internal" } ], - "src": "50236:15:1" + "src": "51661:15:0" }, - "scope": 3498, - "src": "50181:102:1", + "scope": 2990, + "src": "51606:104:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 679 + 171 ], "body": { - "id": 2789, + "id": 2281, "nodeType": "Block", - "src": "50437:688:1", + "src": "51869:704:0", "statements": [ { "expression": { @@ -27161,12 +27161,12 @@ { "arguments": [ { - "id": 2733, + "id": 2225, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50463:7:1", + "referencedDeclaration": 2217, + "src": "51896:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27180,18 +27180,18 @@ "typeString": "uint256" } ], - "id": 2732, + "id": 2224, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "50455:7:1", + "referencedDeclaration": 2577, + "src": "51888:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2734, + "id": 2226, "isConstant": false, "isLValue": false, "isPure": false, @@ -27199,7 +27199,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50455:16:1", + "src": "51888:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -27208,14 +27208,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2735, + "id": 2227, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "50473:49:1", + "src": "51906:49:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a2d45c0fba603d40d82d590051761ca952d1ab9d78cca6d0d464d7b6e961a9cb", "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" @@ -27234,7 +27234,7 @@ "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" } ], - "id": 2731, + "id": 2223, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -27242,13 +27242,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "50447:7:1", + "src": "51880:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2736, + "id": 2228, "isConstant": false, "isLValue": false, "isPure": false, @@ -27256,30 +27256,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50447:76:1", + "src": "51880:76:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2737, + "id": 2229, "nodeType": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "assignments": [ - 2739 + 2231 ], "declarations": [ { "constant": false, - "id": 2739, + "id": 2231, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50534:23:1", + "scope": 2281, + "src": "51969:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27287,10 +27287,10 @@ "typeString": "string" }, "typeName": { - "id": 2738, + "id": 2230, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50534:6:1", + "src": "51969:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27299,28 +27299,28 @@ "visibility": "internal" } ], - "id": 2743, + "id": 2235, "initialValue": { "baseExpression": { - "id": 2740, + "id": 2232, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "50560:10:1", + "referencedDeclaration": 2112, + "src": "51995:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 2742, + "id": 2234, "indexExpression": { - "id": 2741, + "id": 2233, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50571:7:1", + "referencedDeclaration": 2217, + "src": "52006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27331,28 +27331,28 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "50560:19:1", + "src": "51995:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "assignments": [ - 2745 + 2237 ], "declarations": [ { "constant": false, - "id": 2745, + "id": 2237, "mutability": "mutable", "name": "base", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50589:18:1", + "scope": 2281, + "src": "52025:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27360,10 +27360,10 @@ "typeString": "string" }, "typeName": { - "id": 2744, + "id": 2236, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50589:6:1", + "src": "52025:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27372,23 +27372,23 @@ "visibility": "internal" } ], - "id": 2748, + "id": 2240, "initialValue": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2746, + "id": 2238, "name": "baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2799, - "src": "50610:7:1", + "referencedDeclaration": 2291, + "src": "52046:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_string_memory_ptr_$", "typeString": "function () view returns (string memory)" } }, - "id": 2747, + "id": 2239, "isConstant": false, "isLValue": false, "isPure": false, @@ -27396,7 +27396,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50610:9:1", + "src": "52046:9:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27404,7 +27404,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "condition": { @@ -27412,7 +27412,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2755, + "id": 2247, "isConstant": false, "isLValue": false, "isPure": false, @@ -27421,12 +27421,12 @@ "expression": { "arguments": [ { - "id": 2751, + "id": 2243, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50698:4:1", + "referencedDeclaration": 2237, + "src": "52137:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27440,26 +27440,26 @@ "typeString": "string memory" } ], - "id": 2750, + "id": 2242, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2749, + "id": 2241, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": {} } }, - "id": 2752, + "id": 2244, "isConstant": false, "isLValue": false, "isPure": false, @@ -27467,21 +27467,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50692:11:1", + "src": "52131:11:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2753, + "id": 2245, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50692:18:1", + "src": "52131:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27491,51 +27491,51 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2754, + "id": 2246, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50714:1:1", + "src": "52153:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50692:23:1", + "src": "52131:23:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2759, + "id": 2251, "nodeType": "IfStatement", - "src": "50688:70:1", + "src": "52127:72:0", "trueBody": { - "id": 2758, + "id": 2250, "nodeType": "Block", - "src": "50717:41:1", + "src": "52156:43:0", "statements": [ { "expression": { - "id": 2756, + "id": 2248, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50738:9:1", + "referencedDeclaration": 2231, + "src": "52178:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2757, + "functionReturnParameters": 2222, + "id": 2249, "nodeType": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ] } @@ -27546,7 +27546,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2766, + "id": 2258, "isConstant": false, "isLValue": false, "isPure": false, @@ -27555,12 +27555,12 @@ "expression": { "arguments": [ { - "id": 2762, + "id": 2254, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50866:9:1", + "referencedDeclaration": 2231, + "src": "52309:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27574,26 +27574,26 @@ "typeString": "string memory" } ], - "id": 2761, + "id": 2253, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2760, + "id": 2252, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": {} } }, - "id": 2763, + "id": 2255, "isConstant": false, "isLValue": false, "isPure": false, @@ -27601,21 +27601,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50860:16:1", + "src": "52303:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2764, + "id": 2256, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50860:23:1", + "src": "52303:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27625,33 +27625,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 2765, + "id": 2257, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50886:1:1", + "src": "52329:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50860:27:1", + "src": "52303:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2777, + "id": 2269, "nodeType": "IfStatement", - "src": "50856:106:1", + "src": "52299:108:0", "trueBody": { - "id": 2776, + "id": 2268, "nodeType": "Block", - "src": "50889:73:1", + "src": "52332:75:0", "statements": [ { "expression": { @@ -27659,24 +27659,24 @@ { "arguments": [ { - "id": 2771, + "id": 2263, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50934:4:1", + "referencedDeclaration": 2237, + "src": "52378:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, { - "id": 2772, + "id": 2264, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50940:9:1", + "referencedDeclaration": 2231, + "src": "52384:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27695,31 +27695,31 @@ } ], "expression": { - "id": 2769, + "id": 2261, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "50917:3:1", + "src": "52361:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2770, + "id": 2262, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "50917:16:1", + "src": "52361:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2773, + "id": 2265, "isConstant": false, "isLValue": false, "isPure": false, @@ -27727,7 +27727,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50917:33:1", + "src": "52361:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -27742,26 +27742,26 @@ "typeString": "bytes memory" } ], - "id": 2768, + "id": 2260, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2767, + "id": 2259, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": {} } }, - "id": 2774, + "id": 2266, "isConstant": false, "isLValue": false, "isPure": false, @@ -27769,17 +27769,17 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50910:41:1", + "src": "52354:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2775, + "functionReturnParameters": 2222, + "id": 2267, "nodeType": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ] } @@ -27790,12 +27790,12 @@ { "arguments": [ { - "id": 2782, + "id": 2274, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "51092:4:1", + "referencedDeclaration": 2237, + "src": "52539:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27806,32 +27806,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2783, + "id": 2275, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "51098:7:1", + "referencedDeclaration": 2217, + "src": "52545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2784, + "id": 2276, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toString", "nodeType": "MemberAccess", - "referencedDeclaration": 2565, - "src": "51098:16:1", + "referencedDeclaration": 2057, + "src": "52545:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$bound_to$_t_uint256_$", "typeString": "function (uint256) pure returns (string memory)" } }, - "id": 2785, + "id": 2277, "isConstant": false, "isLValue": false, "isPure": false, @@ -27839,7 +27839,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51098:18:1", + "src": "52545:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27859,31 +27859,31 @@ } ], "expression": { - "id": 2780, + "id": 2272, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "51075:3:1", + "src": "52522:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2781, + "id": 2273, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "51075:16:1", + "src": "52522:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2786, + "id": 2278, "isConstant": false, "isLValue": false, "isPure": false, @@ -27891,7 +27891,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51075:42:1", + "src": "52522:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -27906,26 +27906,26 @@ "typeString": "bytes memory" } ], - "id": 2779, + "id": 2271, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2778, + "id": 2270, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": {} } }, - "id": 2787, + "id": 2279, "isConstant": false, "isLValue": false, "isPure": false, @@ -27933,51 +27933,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51068:50:1", + "src": "52515:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2788, + "functionReturnParameters": 2222, + "id": 2280, "nodeType": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ] }, "documentation": { - "id": 2723, + "id": 2215, "nodeType": "StructuredDocumentation", - "src": "50289:55:1", + "src": "51718:57:0", "text": " @dev See {IERC721Metadata-tokenURI}." }, "functionSelector": "c87b56dd", - "id": 2790, + "id": 2282, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "overrides": { - "id": 2727, + "id": 2219, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50404:8:1" + "src": "51836:8:0" }, "parameters": { - "id": 2726, + "id": 2218, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2725, + "id": 2217, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50367:15:1", + "scope": 2282, + "src": "51799:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27985,10 +27985,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2724, + "id": 2216, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "50367:7:1", + "src": "51799:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27997,20 +27997,20 @@ "visibility": "internal" } ], - "src": "50366:17:1" + "src": "51798:17:0" }, "returnParameters": { - "id": 2730, + "id": 2222, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2729, + "id": 2221, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50422:13:1", + "scope": 2282, + "src": "51854:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -28018,10 +28018,10 @@ "typeString": "string" }, "typeName": { - "id": 2728, + "id": 2220, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50422:6:1", + "src": "51854:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28030,71 +28030,71 @@ "visibility": "internal" } ], - "src": "50421:15:1" + "src": "51853:15:0" }, - "scope": 3498, - "src": "50349:776:1", + "scope": 2990, + "src": "51781:792:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 2798, + "id": 2290, "nodeType": "Block", - "src": "51420:32:1", + "src": "52875:34:0", "statements": [ { "expression": { - "id": 2796, + "id": 2288, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "51437:8:1", + "referencedDeclaration": 2114, + "src": "52893:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2795, - "id": 2797, + "functionReturnParameters": 2287, + "id": 2289, "nodeType": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ] }, "documentation": { - "id": 2791, + "id": 2283, "nodeType": "StructuredDocumentation", - "src": "51131:221:1", + "src": "52581:225:0", "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, "functionSelector": "6c0360eb", - "id": 2799, + "id": 2291, "implemented": true, "kind": "function", "modifiers": [], "name": "baseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 2792, + "id": 2284, "nodeType": "ParameterList", "parameters": [], - "src": "51373:2:1" + "src": "52828:2:0" }, "returnParameters": { - "id": 2795, + "id": 2287, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2794, + "id": 2286, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2799, - "src": "51405:13:1", + "scope": 2291, + "src": "52860:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -28102,10 +28102,10 @@ "typeString": "string" }, "typeName": { - "id": 2793, + "id": 2285, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51405:6:1", + "src": "52860:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28114,33 +28114,33 @@ "visibility": "internal" } ], - "src": "51404:15:1" + "src": "52859:15:0" }, - "scope": 3498, - "src": "51357:95:1", + "scope": 2990, + "src": "52812:97:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 700 + 192 ], "body": { - "id": 2817, + "id": 2309, "nodeType": "Block", - "src": "51637:54:1", + "src": "53099:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 2814, + "id": 2306, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2804, - "src": "51678:5:1", + "referencedDeclaration": 2296, + "src": "53141:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28156,25 +28156,25 @@ ], "expression": { "baseExpression": { - "id": 2810, + "id": 2302, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "51654:13:1", + "referencedDeclaration": 2092, + "src": "53117:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2812, + "id": 2304, "indexExpression": { - "id": 2811, + "id": 2303, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2802, - "src": "51668:5:1", + "referencedDeclaration": 2294, + "src": "53131:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28185,27 +28185,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "51654:20:1", + "src": "53117:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2813, + "id": 2305, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 1920, - "src": "51654:23:1", + "referencedDeclaration": 1412, + "src": "53117:23:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" } }, - "id": 2815, + "id": 2307, "isConstant": false, "isLValue": false, "isPure": false, @@ -28213,51 +28213,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51654:30:1", + "src": "53117:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2809, - "id": 2816, + "functionReturnParameters": 2301, + "id": 2308, "nodeType": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ] }, "documentation": { - "id": 2800, + "id": 2292, "nodeType": "StructuredDocumentation", - "src": "51458:68:1", + "src": "52917:70:0", "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, "functionSelector": "2f745c59", - "id": 2818, + "id": 2310, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2806, + "id": 2298, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51610:8:1" + "src": "53072:8:0" }, "parameters": { - "id": 2805, + "id": 2297, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2802, + "id": 2294, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51560:13:1", + "scope": 2310, + "src": "53022:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28265,10 +28265,10 @@ "typeString": "address" }, "typeName": { - "id": 2801, + "id": 2293, "name": "address", "nodeType": "ElementaryTypeName", - "src": "51560:7:1", + "src": "53022:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28279,12 +28279,12 @@ }, { "constant": false, - "id": 2804, + "id": 2296, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51575:13:1", + "scope": 2310, + "src": "53037:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28292,10 +28292,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2803, + "id": 2295, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51575:7:1", + "src": "53037:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28304,20 +28304,20 @@ "visibility": "internal" } ], - "src": "51559:30:1" + "src": "53021:30:0" }, "returnParameters": { - "id": 2809, + "id": 2301, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2808, + "id": 2300, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51628:7:1", + "scope": 2310, + "src": "53090:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28325,10 +28325,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2807, + "id": 2299, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51628:7:1", + "src": "53090:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28337,22 +28337,22 @@ "visibility": "internal" } ], - "src": "51627:9:1" + "src": "53089:9:0" }, - "scope": 3498, - "src": "51531:160:1", + "scope": 2990, + "src": "52993:162:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 690 + 182 ], "body": { - "id": 2829, + "id": 2321, "nodeType": "Block", - "src": "51832:138:1", + "src": "53301:141:0", "statements": [ { "expression": { @@ -28360,32 +28360,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2825, + "id": 2317, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "51942:12:1", + "referencedDeclaration": 2094, + "src": "53413:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2826, + "id": 2318, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 2340, - "src": "51942:19:1", + "referencedDeclaration": 1832, + "src": "53413:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" } }, - "id": 2827, + "id": 2319, "isConstant": false, "isLValue": false, "isPure": false, @@ -28393,57 +28393,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51942:21:1", + "src": "53413:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2824, - "id": 2828, + "functionReturnParameters": 2316, + "id": 2320, "nodeType": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ] }, "documentation": { - "id": 2819, + "id": 2311, "nodeType": "StructuredDocumentation", - "src": "51697:60:1", + "src": "53163:62:0", "text": " @dev See {IERC721Enumerable-totalSupply}." }, "functionSelector": "18160ddd", - "id": 2830, + "id": 2322, "implemented": true, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "overrides": { - "id": 2821, + "id": 2313, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51805:8:1" + "src": "53274:8:0" }, "parameters": { - "id": 2820, + "id": 2312, "nodeType": "ParameterList", "parameters": [], - "src": "51782:2:1" + "src": "53251:2:0" }, "returnParameters": { - "id": 2824, + "id": 2316, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2823, + "id": 2315, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2830, - "src": "51823:7:1", + "scope": 2322, + "src": "53292:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28451,10 +28451,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2822, + "id": 2314, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51823:7:1", + "src": "53292:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28463,37 +28463,37 @@ "visibility": "internal" } ], - "src": "51822:9:1" + "src": "53291:9:0" }, - "scope": 3498, - "src": "51762:208:1", + "scope": 2990, + "src": "53231:211:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 708 + 200 ], "body": { - "id": 2848, + "id": 2340, "nodeType": "Block", - "src": "52126:85:1", + "src": "53603:88:0", "statements": [ { "assignments": [ - 2840, + 2332, null ], "declarations": [ { "constant": false, - "id": 2840, + "id": 2332, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2848, - "src": "52137:15:1", + "scope": 2340, + "src": "53615:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28501,10 +28501,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2839, + "id": 2331, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52137:7:1", + "src": "53615:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28514,16 +28514,16 @@ }, null ], - "id": 2845, + "id": 2337, "initialValue": { "arguments": [ { - "id": 2843, + "id": 2335, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2833, - "src": "52174:5:1", + "referencedDeclaration": 2325, + "src": "53652:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28538,32 +28538,32 @@ } ], "expression": { - "id": 2841, + "id": 2333, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "52158:12:1", + "referencedDeclaration": 2094, + "src": "53636:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2842, + "id": 2334, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 2379, - "src": "52158:15:1", + "referencedDeclaration": 1871, + "src": "53636:15:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" } }, - "id": 2844, + "id": 2336, "isConstant": false, "isLValue": false, "isPure": false, @@ -28571,7 +28571,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52158:22:1", + "src": "53636:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_$", @@ -28579,59 +28579,59 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "expression": { - "id": 2846, + "id": 2338, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2840, - "src": "52197:7:1", + "referencedDeclaration": 2332, + "src": "53676:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2838, - "id": 2847, + "functionReturnParameters": 2330, + "id": 2339, "nodeType": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ] }, "documentation": { - "id": 2831, + "id": 2323, "nodeType": "StructuredDocumentation", - "src": "51976:61:1", + "src": "53450:63:0", "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, "functionSelector": "4f6ccce7", - "id": 2849, + "id": 2341, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2835, + "id": 2327, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52099:8:1" + "src": "53576:8:0" }, "parameters": { - "id": 2834, + "id": 2326, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2833, + "id": 2325, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52064:13:1", + "scope": 2341, + "src": "53541:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28639,10 +28639,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2832, + "id": 2324, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52064:7:1", + "src": "53541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28651,20 +28651,20 @@ "visibility": "internal" } ], - "src": "52063:15:1" + "src": "53540:15:0" }, "returnParameters": { - "id": 2838, + "id": 2330, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2837, + "id": 2329, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52117:7:1", + "scope": 2341, + "src": "53594:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28672,10 +28672,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2836, + "id": 2328, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52117:7:1", + "src": "53594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28684,36 +28684,36 @@ "visibility": "internal" } ], - "src": "52116:9:1" + "src": "53593:9:0" }, - "scope": 3498, - "src": "52042:169:1", + "scope": 2990, + "src": "53519:172:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 616 + 108 ], "body": { - "id": 2892, + "id": 2384, "nodeType": "Block", - "src": "52338:325:1", + "src": "53823:334:0", "statements": [ { "assignments": [ - 2859 + 2351 ], "declarations": [ { "constant": false, - "id": 2859, + "id": 2351, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2892, - "src": "52348:13:1", + "scope": 2384, + "src": "53834:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28721,10 +28721,10 @@ "typeString": "address" }, "typeName": { - "id": 2858, + "id": 2350, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52348:7:1", + "src": "53834:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28734,16 +28734,16 @@ "visibility": "internal" } ], - "id": 2864, + "id": 2356, "initialValue": { "arguments": [ { - "id": 2862, + "id": 2354, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52379:7:1", + "referencedDeclaration": 2346, + "src": "53865:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28758,32 +28758,32 @@ } ], "expression": { - "id": 2860, + "id": 2352, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52364:6:1", + "referencedDeclaration": 2990, + "src": "53850:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2861, + "id": 2353, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "52364:14:1", + "referencedDeclaration": 2194, + "src": "53850:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 2863, + "id": 2355, "isConstant": false, "isLValue": false, "isPure": false, @@ -28791,7 +28791,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52364:23:1", + "src": "53850:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -28799,7 +28799,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "expression": { @@ -28809,18 +28809,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2868, + "id": 2360, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2866, + "id": 2358, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52405:2:1", + "referencedDeclaration": 2344, + "src": "53892:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28829,18 +28829,18 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 2867, + "id": 2359, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52411:5:1", + "referencedDeclaration": 2351, + "src": "53898:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52405:11:1", + "src": "53892:11:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28848,14 +28848,14 @@ }, { "hexValue": "4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572", - "id": 2869, + "id": 2361, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52418:35:1", + "src": "53905:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942", "typeString": "literal_string \"ERC721: approval to current owner\"" @@ -28874,7 +28874,7 @@ "typeString": "literal_string \"ERC721: approval to current owner\"" } ], - "id": 2865, + "id": 2357, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -28882,13 +28882,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52397:7:1", + "src": "53884:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2870, + "id": 2362, "isConstant": false, "isLValue": false, "isPure": false, @@ -28896,16 +28896,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52397:57:1", + "src": "53884:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2871, + "id": 2363, "nodeType": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "expression": { @@ -28915,7 +28915,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 2883, + "id": 2375, "isConstant": false, "isLValue": false, "isPure": false, @@ -28925,7 +28925,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2876, + "id": 2368, "isConstant": false, "isLValue": false, "isPure": false, @@ -28934,18 +28934,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2873, + "id": 2365, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52473:10:1", + "referencedDeclaration": 10, + "src": "53962:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2874, + "id": 2366, "isConstant": false, "isLValue": false, "isPure": false, @@ -28953,7 +28953,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52473:12:1", + "src": "53962:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -28963,18 +28963,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 2875, + "id": 2367, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52489:5:1", + "referencedDeclaration": 2351, + "src": "53978:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52473:21:1", + "src": "53962:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28985,12 +28985,12 @@ "rightExpression": { "arguments": [ { - "id": 2879, + "id": 2371, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52522:5:1", + "referencedDeclaration": 2351, + "src": "54011:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29000,18 +29000,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2880, + "id": 2372, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52529:10:1", + "referencedDeclaration": 10, + "src": "54018:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2881, + "id": 2373, "isConstant": false, "isLValue": false, "isPure": false, @@ -29019,7 +29019,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52529:12:1", + "src": "54018:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29039,32 +29039,32 @@ } ], "expression": { - "id": 2877, + "id": 2369, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52498:6:1", + "referencedDeclaration": 2990, + "src": "53987:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2878, + "id": 2370, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "52498:23:1", + "referencedDeclaration": 2458, + "src": "53987:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 2882, + "id": 2374, "isConstant": false, "isLValue": false, "isPure": false, @@ -29072,14 +29072,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52498:44:1", + "src": "53987:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "52473:69:1", + "src": "53962:69:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29087,14 +29087,14 @@ }, { "hexValue": "4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c", - "id": 2884, + "id": 2376, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52556:58:1", + "src": "54046:58:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_6d83cef3e0cb19b8320a9c5feb26b56bbb08f152a8e61b12eca3302d8d68b23d", "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" @@ -29113,7 +29113,7 @@ "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" } ], - "id": 2872, + "id": 2364, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29121,13 +29121,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52465:7:1", + "src": "53954:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2885, + "id": 2377, "isConstant": false, "isLValue": false, "isPure": false, @@ -29135,39 +29135,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52465:159:1", + "src": "53954:161:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2886, + "id": 2378, "nodeType": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "expression": { "arguments": [ { - "id": 2888, + "id": 2380, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52644:2:1", + "referencedDeclaration": 2344, + "src": "54137:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2889, + "id": 2381, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52648:7:1", + "referencedDeclaration": 2346, + "src": "54141:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29185,18 +29185,18 @@ "typeString": "uint256" } ], - "id": 2887, + "id": 2379, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "52635:8:1", + "referencedDeclaration": 2978, + "src": "54128:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 2890, + "id": 2382, "isConstant": false, "isLValue": false, "isPure": false, @@ -29204,50 +29204,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52635:21:1", + "src": "54128:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2891, + "id": 2383, "nodeType": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ] }, "documentation": { - "id": 2850, + "id": 2342, "nodeType": "StructuredDocumentation", - "src": "52217:46:1", + "src": "53699:48:0", "text": " @dev See {IERC721-approve}." }, "functionSelector": "095ea7b3", - "id": 2893, + "id": 2385, "implemented": true, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "overrides": { - "id": 2856, + "id": 2348, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52329:8:1" + "src": "53814:8:0" }, "parameters": { - "id": 2855, + "id": 2347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2852, + "id": 2344, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52285:10:1", + "scope": 2385, + "src": "53770:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29255,10 +29255,10 @@ "typeString": "address" }, "typeName": { - "id": 2851, + "id": 2343, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52285:7:1", + "src": "53770:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29269,12 +29269,12 @@ }, { "constant": false, - "id": 2854, + "id": 2346, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52297:15:1", + "scope": 2385, + "src": "53782:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29282,10 +29282,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2853, + "id": 2345, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52297:7:1", + "src": "53782:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29294,28 +29294,28 @@ "visibility": "internal" } ], - "src": "52284:29:1" + "src": "53769:29:0" }, "returnParameters": { - "id": 2857, + "id": 2349, "nodeType": "ParameterList", "parameters": [], - "src": "52338:0:1" + "src": "53823:0:0" }, - "scope": 3498, - "src": "52268:395:1", + "scope": 2990, + "src": "53753:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 624 + 116 ], "body": { - "id": 2913, + "id": 2405, "nodeType": "Block", - "src": "52809:132:1", + "src": "54308:136:0", "statements": [ { "expression": { @@ -29323,12 +29323,12 @@ { "arguments": [ { - "id": 2904, + "id": 2396, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52835:7:1", + "referencedDeclaration": 2388, + "src": "54335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29342,18 +29342,18 @@ "typeString": "uint256" } ], - "id": 2903, + "id": 2395, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "52827:7:1", + "referencedDeclaration": 2577, + "src": "54327:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2905, + "id": 2397, "isConstant": false, "isLValue": false, "isPure": false, @@ -29361,7 +29361,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52827:16:1", + "src": "54327:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -29370,14 +29370,14 @@ }, { "hexValue": "4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2906, + "id": 2398, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52845:46:1", + "src": "54345:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9291e0f44949204f2e9b40e6be090924979d6047b2365868f4e9f027722eb89d", "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" @@ -29396,7 +29396,7 @@ "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" } ], - "id": 2902, + "id": 2394, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29404,13 +29404,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52819:7:1", + "src": "54319:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2907, + "id": 2399, "isConstant": false, "isLValue": false, "isPure": false, @@ -29418,39 +29418,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52819:73:1", + "src": "54319:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2908, + "id": 2400, "nodeType": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "expression": { "baseExpression": { - "id": 2909, + "id": 2401, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "52910:15:1", + "referencedDeclaration": 2098, + "src": "54412:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 2911, + "id": 2403, "indexExpression": { - "id": 2910, + "id": 2402, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52926:7:1", + "referencedDeclaration": 2388, + "src": "54428:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29461,50 +29461,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "52910:24:1", + "src": "54412:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2901, - "id": 2912, + "functionReturnParameters": 2393, + "id": 2404, "nodeType": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ] }, "documentation": { - "id": 2894, + "id": 2386, "nodeType": "StructuredDocumentation", - "src": "52669:50:1", + "src": "54165:52:0", "text": " @dev See {IERC721-getApproved}." }, "functionSelector": "081812fc", - "id": 2914, + "id": 2406, "implemented": true, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "overrides": { - "id": 2898, + "id": 2390, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52782:8:1" + "src": "54281:8:0" }, "parameters": { - "id": 2897, + "id": 2389, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2896, + "id": 2388, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52745:15:1", + "scope": 2406, + "src": "54244:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29512,10 +29512,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2895, + "id": 2387, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52745:7:1", + "src": "54244:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29524,20 +29524,20 @@ "visibility": "internal" } ], - "src": "52744:17:1" + "src": "54243:17:0" }, "returnParameters": { - "id": 2901, + "id": 2393, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2900, + "id": 2392, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52800:7:1", + "scope": 2406, + "src": "54299:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29545,10 +29545,10 @@ "typeString": "address" }, "typeName": { - "id": 2899, + "id": 2391, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52800:7:1", + "src": "54299:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29558,22 +29558,22 @@ "visibility": "internal" } ], - "src": "52799:9:1" + "src": "54298:9:0" }, - "scope": 3498, - "src": "52724:217:1", + "scope": 2990, + "src": "54223:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 632 + 124 ], "body": { - "id": 2947, + "id": 2439, "nodeType": "Block", - "src": "53092:206:1", + "src": "54600:211:0", "statements": [ { "expression": { @@ -29583,18 +29583,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2927, + "id": 2419, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2924, + "id": 2416, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53110:8:1", + "referencedDeclaration": 2409, + "src": "54619:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29606,18 +29606,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2925, + "id": 2417, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53122:10:1", + "referencedDeclaration": 10, + "src": "54631:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2926, + "id": 2418, "isConstant": false, "isLValue": false, "isPure": false, @@ -29625,14 +29625,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53122:12:1", + "src": "54631:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "53110:24:1", + "src": "54619:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29640,14 +29640,14 @@ }, { "hexValue": "4552433732313a20617070726f766520746f2063616c6c6572", - "id": 2928, + "id": 2420, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53136:27:1", + "src": "54645:27:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05", "typeString": "literal_string \"ERC721: approve to caller\"" @@ -29666,7 +29666,7 @@ "typeString": "literal_string \"ERC721: approve to caller\"" } ], - "id": 2923, + "id": 2415, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29674,13 +29674,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53102:7:1", + "src": "54611:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2929, + "id": 2421, "isConstant": false, "isLValue": false, "isPure": false, @@ -29688,20 +29688,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53102:62:1", + "src": "54611:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2930, + "id": 2422, "nodeType": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "expression": { - "id": 2938, + "id": 2430, "isConstant": false, "isLValue": false, "isPure": false, @@ -29709,34 +29709,34 @@ "leftHandSide": { "baseExpression": { "baseExpression": { - "id": 2931, + "id": 2423, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53175:18:1", + "referencedDeclaration": 2104, + "src": "54686:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2935, + "id": 2427, "indexExpression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2932, + "id": 2424, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53194:10:1", + "referencedDeclaration": 10, + "src": "54705:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2933, + "id": 2425, "isConstant": false, "isLValue": false, "isPure": false, @@ -29744,7 +29744,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53194:12:1", + "src": "54705:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29756,20 +29756,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53175:32:1", + "src": "54686:32:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2936, + "id": 2428, "indexExpression": { - "id": 2934, + "id": 2426, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53208:8:1", + "referencedDeclaration": 2409, + "src": "54719:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29780,7 +29780,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "53175:42:1", + "src": "54686:42:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29789,26 +29789,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2937, + "id": 2429, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53220:8:1", + "referencedDeclaration": 2411, + "src": "54731:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "53175:53:1", + "src": "54686:53:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2939, + "id": 2431, "nodeType": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "eventCall": { @@ -29817,18 +29817,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2941, + "id": 2433, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53258:10:1", + "referencedDeclaration": 10, + "src": "54770:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2942, + "id": 2434, "isConstant": false, "isLValue": false, "isPure": false, @@ -29836,7 +29836,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53258:12:1", + "src": "54770:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29844,24 +29844,24 @@ } }, { - "id": 2943, + "id": 2435, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53272:8:1", + "referencedDeclaration": 2409, + "src": "54784:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2944, + "id": 2436, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53282:8:1", + "referencedDeclaration": 2411, + "src": "54794:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29883,18 +29883,18 @@ "typeString": "bool" } ], - "id": 2940, + "id": 2432, "name": "ApprovalForAll", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 572, - "src": "53243:14:1", + "referencedDeclaration": 64, + "src": "54755:14:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", "typeString": "function (address,address,bool)" } }, - "id": 2945, + "id": 2437, "isConstant": false, "isLValue": false, "isPure": false, @@ -29902,50 +29902,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53243:48:1", + "src": "54755:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2946, + "id": 2438, "nodeType": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ] }, "documentation": { - "id": 2915, + "id": 2407, "nodeType": "StructuredDocumentation", - "src": "52947:56:1", + "src": "54452:58:0", "text": " @dev See {IERC721-setApprovalForAll}." }, "functionSelector": "a22cb465", - "id": 2948, + "id": 2440, "implemented": true, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2921, + "id": 2413, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53083:8:1" + "src": "54591:8:0" }, "parameters": { - "id": 2920, + "id": 2412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2917, + "id": 2409, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53035:16:1", + "scope": 2440, + "src": "54543:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29953,10 +29953,10 @@ "typeString": "address" }, "typeName": { - "id": 2916, + "id": 2408, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53035:7:1", + "src": "54543:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29967,12 +29967,12 @@ }, { "constant": false, - "id": 2919, + "id": 2411, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53053:13:1", + "scope": 2440, + "src": "54561:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29980,10 +29980,10 @@ "typeString": "bool" }, "typeName": { - "id": 2918, + "id": 2410, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53053:4:1", + "src": "54561:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29992,52 +29992,52 @@ "visibility": "internal" } ], - "src": "53034:33:1" + "src": "54542:33:0" }, "returnParameters": { - "id": 2922, + "id": 2414, "nodeType": "ParameterList", "parameters": [], - "src": "53092:0:1" + "src": "54600:0:0" }, - "scope": 3498, - "src": "53008:290:1", + "scope": 2990, + "src": "54516:295:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 642 + 134 ], "body": { - "id": 2965, + "id": 2457, "nodeType": "Block", - "src": "53467:59:1", + "src": "54985:61:0", "statements": [ { "expression": { "baseExpression": { "baseExpression": { - "id": 2959, + "id": 2451, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53484:18:1", + "referencedDeclaration": 2104, + "src": "55003:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2961, + "id": 2453, "indexExpression": { - "id": 2960, + "id": 2452, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2951, - "src": "53503:5:1", + "referencedDeclaration": 2443, + "src": "55022:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30048,20 +30048,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:25:1", + "src": "55003:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2963, + "id": 2455, "indexExpression": { - "id": 2962, + "id": 2454, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2953, - "src": "53510:8:1", + "referencedDeclaration": 2445, + "src": "55029:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30072,50 +30072,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:35:1", + "src": "55003:35:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2958, - "id": 2964, + "functionReturnParameters": 2450, + "id": 2456, "nodeType": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ] }, "documentation": { - "id": 2949, + "id": 2441, "nodeType": "StructuredDocumentation", - "src": "53304:55:1", + "src": "54819:57:0", "text": " @dev See {IERC721-isApprovedForAll}." }, "functionSelector": "e985e9c5", - "id": 2966, + "id": 2458, "implemented": true, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2955, + "id": 2447, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53443:8:1" + "src": "54961:8:0" }, "parameters": { - "id": 2954, + "id": 2446, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2951, + "id": 2443, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53390:13:1", + "scope": 2458, + "src": "54908:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30123,10 +30123,10 @@ "typeString": "address" }, "typeName": { - "id": 2950, + "id": 2442, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53390:7:1", + "src": "54908:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30137,12 +30137,12 @@ }, { "constant": false, - "id": 2953, + "id": 2445, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53405:16:1", + "scope": 2458, + "src": "54923:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30150,10 +30150,10 @@ "typeString": "address" }, "typeName": { - "id": 2952, + "id": 2444, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53405:7:1", + "src": "54923:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30163,20 +30163,20 @@ "visibility": "internal" } ], - "src": "53389:33:1" + "src": "54907:33:0" }, "returnParameters": { - "id": 2958, + "id": 2450, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2957, + "id": 2449, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53461:4:1", + "scope": 2458, + "src": "54979:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30184,10 +30184,10 @@ "typeString": "bool" }, "typeName": { - "id": 2956, + "id": 2448, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53461:4:1", + "src": "54979:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30196,22 +30196,22 @@ "visibility": "internal" } ], - "src": "53460:6:1" + "src": "54978:6:0" }, - "scope": 3498, - "src": "53364:162:1", + "scope": 2990, + "src": "54882:164:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 608 + 100 ], "body": { - "id": 2992, + "id": 2484, "nodeType": "Block", - "src": "53677:211:1", + "src": "55202:216:0", "statements": [ { "expression": { @@ -30222,18 +30222,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2979, + "id": 2471, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53766:10:1", + "referencedDeclaration": 10, + "src": "55293:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2980, + "id": 2472, "isConstant": false, "isLValue": false, "isPure": false, @@ -30241,7 +30241,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53766:12:1", + "src": "55293:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30249,12 +30249,12 @@ } }, { - "id": 2981, + "id": 2473, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53780:7:1", + "referencedDeclaration": 2465, + "src": "55307:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30272,18 +30272,18 @@ "typeString": "uint256" } ], - "id": 2978, + "id": 2470, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "53747:18:1", + "referencedDeclaration": 2619, + "src": "55274:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 2982, + "id": 2474, "isConstant": false, "isLValue": false, "isPure": false, @@ -30291,7 +30291,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53747:41:1", + "src": "55274:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30300,14 +30300,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 2983, + "id": 2475, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53790:51:1", + "src": "55317:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30326,7 +30326,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 2977, + "id": 2469, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30334,13 +30334,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53739:7:1", + "src": "55266:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2984, + "id": 2476, "isConstant": false, "isLValue": false, "isPure": false, @@ -30348,51 +30348,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53739:103:1", + "src": "55266:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2985, + "id": 2477, "nodeType": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "expression": { "arguments": [ { - "id": 2987, + "id": 2479, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2969, - "src": "53863:4:1", + "referencedDeclaration": 2461, + "src": "55392:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2988, + "id": 2480, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2971, - "src": "53869:2:1", + "referencedDeclaration": 2463, + "src": "55398:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2989, + "id": 2481, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53873:7:1", + "referencedDeclaration": 2465, + "src": "55402:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30414,18 +30414,18 @@ "typeString": "uint256" } ], - "id": 2986, + "id": 2478, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "53853:9:1", + "referencedDeclaration": 2863, + "src": "55382:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 2990, + "id": 2482, "isConstant": false, "isLValue": false, "isPure": false, @@ -30433,50 +30433,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53853:28:1", + "src": "55382:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2991, + "id": 2483, "nodeType": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ] }, "documentation": { - "id": 2967, + "id": 2459, "nodeType": "StructuredDocumentation", - "src": "53532:51:1", + "src": "55054:53:0", "text": " @dev See {IERC721-transferFrom}." }, "functionSelector": "23b872dd", - "id": 2993, + "id": 2485, "implemented": true, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 2975, + "id": 2467, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53668:8:1" + "src": "55193:8:0" }, "parameters": { - "id": 2974, + "id": 2466, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2969, + "id": 2461, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53610:12:1", + "scope": 2485, + "src": "55135:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30484,10 +30484,10 @@ "typeString": "address" }, "typeName": { - "id": 2968, + "id": 2460, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53610:7:1", + "src": "55135:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30498,12 +30498,12 @@ }, { "constant": false, - "id": 2971, + "id": 2463, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53624:10:1", + "scope": 2485, + "src": "55149:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30511,10 +30511,10 @@ "typeString": "address" }, "typeName": { - "id": 2970, + "id": 2462, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53624:7:1", + "src": "55149:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30525,12 +30525,12 @@ }, { "constant": false, - "id": 2973, + "id": 2465, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53636:15:1", + "scope": 2485, + "src": "55161:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30538,10 +30538,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2972, + "id": 2464, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "53636:7:1", + "src": "55161:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30550,63 +30550,63 @@ "visibility": "internal" } ], - "src": "53609:43:1" + "src": "55134:43:0" }, "returnParameters": { - "id": 2976, + "id": 2468, "nodeType": "ParameterList", "parameters": [], - "src": "53677:0:1" + "src": "55202:0:0" }, - "scope": 3498, - "src": "53588:300:1", + "scope": 2990, + "src": "55113:305:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 598 + 90 ], "body": { - "id": 3011, + "id": 2503, "nodeType": "Block", - "src": "54047:56:1", + "src": "55582:58:0", "statements": [ { "expression": { "arguments": [ { - "id": 3005, + "id": 2497, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2996, - "src": "54074:4:1", + "referencedDeclaration": 2488, + "src": "55610:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3006, + "id": 2498, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2998, - "src": "54080:2:1", + "referencedDeclaration": 2490, + "src": "55616:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3007, + "id": 2499, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3000, - "src": "54084:7:1", + "referencedDeclaration": 2492, + "src": "55620:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30614,14 +30614,14 @@ }, { "hexValue": "", - "id": 3008, + "id": 2500, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54093:2:1", + "src": "55629:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -30648,21 +30648,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3004, + "id": 2496, "name": "safeTransferFrom", "nodeType": "Identifier", "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, - "src": "54057:16:1", + "referencedDeclaration": 2534, + "src": "55593:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3009, + "id": 2501, "isConstant": false, "isLValue": false, "isPure": false, @@ -30670,50 +30670,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54057:39:1", + "src": "55593:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3010, + "id": 2502, "nodeType": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ] }, "documentation": { - "id": 2994, + "id": 2486, "nodeType": "StructuredDocumentation", - "src": "53894:55:1", + "src": "55426:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "42842e0e", - "id": 3012, + "id": 2504, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3002, + "id": 2494, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54038:8:1" + "src": "55573:8:0" }, "parameters": { - "id": 3001, + "id": 2493, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2996, + "id": 2488, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53980:12:1", + "scope": 2504, + "src": "55515:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30721,10 +30721,10 @@ "typeString": "address" }, "typeName": { - "id": 2995, + "id": 2487, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53980:7:1", + "src": "55515:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30735,12 +30735,12 @@ }, { "constant": false, - "id": 2998, + "id": 2490, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53994:10:1", + "scope": 2504, + "src": "55529:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30748,10 +30748,10 @@ "typeString": "address" }, "typeName": { - "id": 2997, + "id": 2489, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53994:7:1", + "src": "55529:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30762,12 +30762,12 @@ }, { "constant": false, - "id": 3000, + "id": 2492, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "54006:15:1", + "scope": 2504, + "src": "55541:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30775,10 +30775,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2999, + "id": 2491, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54006:7:1", + "src": "55541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30787,28 +30787,28 @@ "visibility": "internal" } ], - "src": "53979:43:1" + "src": "55514:43:0" }, "returnParameters": { - "id": 3003, + "id": 2495, "nodeType": "ParameterList", "parameters": [], - "src": "54047:0:1" + "src": "55582:0:0" }, - "scope": 3498, - "src": "53954:149:1", + "scope": 2990, + "src": "55489:151:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 654 + 146 ], "body": { - "id": 3041, + "id": 2533, "nodeType": "Block", - "src": "54282:169:1", + "src": "55824:172:0", "statements": [ { "expression": { @@ -30819,18 +30819,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3027, + "id": 2519, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "54319:10:1", + "referencedDeclaration": 10, + "src": "55862:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3028, + "id": 2520, "isConstant": false, "isLValue": false, "isPure": false, @@ -30838,7 +30838,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54319:12:1", + "src": "55862:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30846,12 +30846,12 @@ } }, { - "id": 3029, + "id": 2521, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54333:7:1", + "referencedDeclaration": 2511, + "src": "55876:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30869,18 +30869,18 @@ "typeString": "uint256" } ], - "id": 3026, + "id": 2518, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "54300:18:1", + "referencedDeclaration": 2619, + "src": "55843:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 3030, + "id": 2522, "isConstant": false, "isLValue": false, "isPure": false, @@ -30888,7 +30888,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54300:41:1", + "src": "55843:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30897,14 +30897,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 3031, + "id": 2523, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54343:51:1", + "src": "55886:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30923,7 +30923,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 3025, + "id": 2517, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30931,13 +30931,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "54292:7:1", + "src": "55835:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3032, + "id": 2524, "isConstant": false, "isLValue": false, "isPure": false, @@ -30945,63 +30945,63 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54292:103:1", + "src": "55835:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3033, + "id": 2525, "nodeType": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "expression": { "arguments": [ { - "id": 3035, + "id": 2527, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3015, - "src": "54419:4:1", + "referencedDeclaration": 2507, + "src": "55963:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3036, + "id": 2528, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3017, - "src": "54425:2:1", + "referencedDeclaration": 2509, + "src": "55969:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3037, + "id": 2529, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54429:7:1", + "referencedDeclaration": 2511, + "src": "55973:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3038, + "id": 2530, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3021, - "src": "54438:5:1", + "referencedDeclaration": 2513, + "src": "55982:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31027,18 +31027,18 @@ "typeString": "bytes memory" } ], - "id": 3034, + "id": 2526, "name": "_safeTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3071, - "src": "54405:13:1", + "referencedDeclaration": 2563, + "src": "55949:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3039, + "id": 2531, "isConstant": false, "isLValue": false, "isPure": false, @@ -31046,50 +31046,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54405:39:1", + "src": "55949:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3040, + "id": 2532, "nodeType": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ] }, "documentation": { - "id": 3013, + "id": 2505, "nodeType": "StructuredDocumentation", - "src": "54109:55:1", + "src": "55648:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "b88d4fde", - "id": 3042, + "id": 2534, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3023, + "id": 2515, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54273:8:1" + "src": "55815:8:0" }, "parameters": { - "id": 3022, + "id": 2514, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3015, + "id": 2507, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54195:12:1", + "scope": 2534, + "src": "55737:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31097,10 +31097,10 @@ "typeString": "address" }, "typeName": { - "id": 3014, + "id": 2506, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54195:7:1", + "src": "55737:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31111,12 +31111,12 @@ }, { "constant": false, - "id": 3017, + "id": 2509, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54209:10:1", + "scope": 2534, + "src": "55751:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31124,10 +31124,10 @@ "typeString": "address" }, "typeName": { - "id": 3016, + "id": 2508, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54209:7:1", + "src": "55751:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31138,12 +31138,12 @@ }, { "constant": false, - "id": 3019, + "id": 2511, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54221:15:1", + "scope": 2534, + "src": "55763:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31151,10 +31151,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3018, + "id": 2510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54221:7:1", + "src": "55763:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31164,12 +31164,12 @@ }, { "constant": false, - "id": 3021, + "id": 2513, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54238:18:1", + "scope": 2534, + "src": "55780:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31177,10 +31177,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3020, + "id": 2512, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "54238:5:1", + "src": "55780:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31189,60 +31189,60 @@ "visibility": "internal" } ], - "src": "54194:63:1" + "src": "55736:63:0" }, "returnParameters": { - "id": 3024, + "id": 2516, "nodeType": "ParameterList", "parameters": [], - "src": "54282:0:1" + "src": "55824:0:0" }, - "scope": 3498, - "src": "54169:282:1", + "scope": 2990, + "src": "55711:285:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "body": { - "id": 3070, + "id": 2562, "nodeType": "Block", - "src": "55416:166:1", + "src": "56981:169:0", "statements": [ { "expression": { "arguments": [ { - "id": 3055, + "id": 2547, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55436:4:1", + "referencedDeclaration": 2537, + "src": "57002:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3056, + "id": 2548, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55442:2:1", + "referencedDeclaration": 2539, + "src": "57008:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3057, + "id": 2549, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55446:7:1", + "referencedDeclaration": 2541, + "src": "57012:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31264,18 +31264,18 @@ "typeString": "uint256" } ], - "id": 3054, + "id": 2546, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "55426:9:1", + "referencedDeclaration": 2863, + "src": "56992:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3058, + "id": 2550, "isConstant": false, "isLValue": false, "isPure": false, @@ -31283,16 +31283,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55426:28:1", + "src": "56992:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3059, + "id": 2551, "nodeType": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "expression": { @@ -31300,48 +31300,48 @@ { "arguments": [ { - "id": 3062, + "id": 2554, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55495:4:1", + "referencedDeclaration": 2537, + "src": "57062:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3063, + "id": 2555, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55501:2:1", + "referencedDeclaration": 2539, + "src": "57068:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3064, + "id": 2556, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55505:7:1", + "referencedDeclaration": 2541, + "src": "57072:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3065, + "id": 2557, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3051, - "src": "55514:5:1", + "referencedDeclaration": 2543, + "src": "57081:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31367,18 +31367,18 @@ "typeString": "bytes memory" } ], - "id": 3061, + "id": 2553, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "55472:22:1", + "referencedDeclaration": 2954, + "src": "57039:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3066, + "id": 2558, "isConstant": false, "isLValue": false, "isPure": false, @@ -31386,7 +31386,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55472:48:1", + "src": "57039:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31395,14 +31395,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3067, + "id": 2559, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "55522:52:1", + "src": "57089:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -31421,7 +31421,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3060, + "id": 2552, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31429,13 +31429,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "55464:7:1", + "src": "57031:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3068, + "id": 2560, "isConstant": false, "isLValue": false, "isPure": false, @@ -31443,43 +31443,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55464:111:1", + "src": "57031:111:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3069, + "id": 2561, "nodeType": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ] }, "documentation": { - "id": 3043, + "id": 2535, "nodeType": "StructuredDocumentation", - "src": "54457:851:1", + "src": "56004:868:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3071, + "id": 2563, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3052, + "id": 2544, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3045, + "id": 2537, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55336:12:1", + "scope": 2563, + "src": "56901:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31487,10 +31487,10 @@ "typeString": "address" }, "typeName": { - "id": 3044, + "id": 2536, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55336:7:1", + "src": "56901:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31501,12 +31501,12 @@ }, { "constant": false, - "id": 3047, + "id": 2539, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55350:10:1", + "scope": 2563, + "src": "56915:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31514,10 +31514,10 @@ "typeString": "address" }, "typeName": { - "id": 3046, + "id": 2538, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55350:7:1", + "src": "56915:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31528,12 +31528,12 @@ }, { "constant": false, - "id": 3049, + "id": 2541, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55362:15:1", + "scope": 2563, + "src": "56927:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31541,10 +31541,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3048, + "id": 2540, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55362:7:1", + "src": "56927:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31554,12 +31554,12 @@ }, { "constant": false, - "id": 3051, + "id": 2543, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55379:18:1", + "scope": 2563, + "src": "56944:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31567,10 +31567,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3050, + "id": 2542, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "55379:5:1", + "src": "56944:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31579,36 +31579,36 @@ "visibility": "internal" } ], - "src": "55335:63:1" + "src": "56900:63:0" }, "returnParameters": { - "id": 3053, + "id": 2545, "nodeType": "ParameterList", "parameters": [], - "src": "55416:0:1" + "src": "56981:0:0" }, - "scope": 3498, - "src": "55313:269:1", + "scope": 2990, + "src": "56878:272:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3084, + "id": 2576, "nodeType": "Block", - "src": "55956:54:1", + "src": "57534:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 3081, + "id": 2573, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3074, - "src": "55995:7:1", + "referencedDeclaration": 2566, + "src": "57574:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31623,32 +31623,32 @@ } ], "expression": { - "id": 3079, + "id": 2571, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "55973:12:1", + "referencedDeclaration": 2094, + "src": "57552:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3080, + "id": 2572, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "contains", "nodeType": "MemberAccess", - "referencedDeclaration": 2326, - "src": "55973:21:1", + "referencedDeclaration": 1818, + "src": "57552:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" } }, - "id": 3082, + "id": 2574, "isConstant": false, "isLValue": false, "isPure": false, @@ -31656,44 +31656,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55973:30:1", + "src": "57552:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3078, - "id": 3083, + "functionReturnParameters": 2570, + "id": 2575, "nodeType": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ] }, "documentation": { - "id": 3072, + "id": 2564, "nodeType": "StructuredDocumentation", - "src": "55588:292:1", + "src": "57158:299:0", "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3085, + "id": 2577, "implemented": true, "kind": "function", "modifiers": [], "name": "_exists", "nodeType": "FunctionDefinition", "parameters": { - "id": 3075, + "id": 2567, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3074, + "id": 2566, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55902:15:1", + "scope": 2577, + "src": "57480:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31701,10 +31701,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3073, + "id": 2565, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55902:7:1", + "src": "57480:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31713,20 +31713,20 @@ "visibility": "internal" } ], - "src": "55901:17:1" + "src": "57479:17:0" }, "returnParameters": { - "id": 3078, + "id": 2570, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3077, + "id": 2569, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55950:4:1", + "scope": 2577, + "src": "57528:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31734,10 +31734,10 @@ "typeString": "bool" }, "typeName": { - "id": 3076, + "id": 2568, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "55950:4:1", + "src": "57528:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -31746,19 +31746,19 @@ "visibility": "internal" } ], - "src": "55949:6:1" + "src": "57527:6:0" }, - "scope": 3498, - "src": "55885:125:1", + "scope": 2990, + "src": "57463:127:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3126, + "id": 2618, "nodeType": "Block", - "src": "56267:252:1", + "src": "57856:256:0", "statements": [ { "expression": { @@ -31766,12 +31766,12 @@ { "arguments": [ { - "id": 3097, + "id": 2589, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56293:7:1", + "referencedDeclaration": 2582, + "src": "57883:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31785,18 +31785,18 @@ "typeString": "uint256" } ], - "id": 3096, + "id": 2588, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "56285:7:1", + "referencedDeclaration": 2577, + "src": "57875:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3098, + "id": 2590, "isConstant": false, "isLValue": false, "isPure": false, @@ -31804,7 +31804,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56285:16:1", + "src": "57875:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31813,14 +31813,14 @@ }, { "hexValue": "4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 3099, + "id": 2591, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56303:46:1", + "src": "57893:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5797d1ccb08b83980dd0c07ea40d8f6a64d35fff736a19bdd17522954cb0899c", "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" @@ -31839,7 +31839,7 @@ "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" } ], - "id": 3095, + "id": 2587, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31847,13 +31847,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "56277:7:1", + "src": "57867:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3100, + "id": 2592, "isConstant": false, "isLValue": false, "isPure": false, @@ -31861,30 +31861,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56277:73:1", + "src": "57867:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3101, + "id": 2593, "nodeType": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "assignments": [ - 3103 + 2595 ], "declarations": [ { "constant": false, - "id": 3103, + "id": 2595, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3126, - "src": "56360:13:1", + "scope": 2618, + "src": "57951:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31892,10 +31892,10 @@ "typeString": "address" }, "typeName": { - "id": 3102, + "id": 2594, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56360:7:1", + "src": "57951:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31905,16 +31905,16 @@ "visibility": "internal" } ], - "id": 3108, + "id": 2600, "initialValue": { "arguments": [ { - "id": 3106, + "id": 2598, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56391:7:1", + "referencedDeclaration": 2582, + "src": "57982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31929,32 +31929,32 @@ } ], "expression": { - "id": 3104, + "id": 2596, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56376:6:1", + "referencedDeclaration": 2990, + "src": "57967:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3105, + "id": 2597, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "56376:14:1", + "referencedDeclaration": 2194, + "src": "57967:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3107, + "id": 2599, "isConstant": false, "isLValue": false, "isPure": false, @@ -31962,7 +31962,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56376:23:1", + "src": "57967:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -31970,7 +31970,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "expression": { @@ -31980,7 +31980,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3123, + "id": 2615, "isConstant": false, "isLValue": false, "isPure": false, @@ -31990,7 +31990,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3117, + "id": 2609, "isConstant": false, "isLValue": false, "isPure": false, @@ -32000,18 +32000,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3111, + "id": 2603, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3109, + "id": 2601, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56417:7:1", + "referencedDeclaration": 2580, + "src": "58009:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32020,18 +32020,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3110, + "id": 2602, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56428:5:1", + "referencedDeclaration": 2595, + "src": "58020:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56417:16:1", + "src": "58009:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32044,7 +32044,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3116, + "id": 2608, "isConstant": false, "isLValue": false, "isPure": false, @@ -32052,12 +32052,12 @@ "leftExpression": { "arguments": [ { - "id": 3113, + "id": 2605, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56449:7:1", + "referencedDeclaration": 2582, + "src": "58041:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32071,18 +32071,18 @@ "typeString": "uint256" } ], - "id": 3112, + "id": 2604, "name": "getApproved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "56437:11:1", + "referencedDeclaration": 2406, + "src": "58029:11:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3114, + "id": 2606, "isConstant": false, "isLValue": false, "isPure": false, @@ -32090,7 +32090,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56437:20:1", + "src": "58029:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -32100,24 +32100,24 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3115, + "id": 2607, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56461:7:1", + "referencedDeclaration": 2580, + "src": "58053:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56437:31:1", + "src": "58029:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:51:1", + "src": "58009:51:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32128,24 +32128,24 @@ "rightExpression": { "arguments": [ { - "id": 3120, + "id": 2612, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56496:5:1", + "referencedDeclaration": 2595, + "src": "58088:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3121, + "id": 2613, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56503:7:1", + "referencedDeclaration": 2580, + "src": "58095:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32164,32 +32164,32 @@ } ], "expression": { - "id": 3118, + "id": 2610, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56472:6:1", + "referencedDeclaration": 2990, + "src": "58064:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3119, + "id": 2611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "56472:23:1", + "referencedDeclaration": 2458, + "src": "58064:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 3122, + "id": 2614, "isConstant": false, "isLValue": false, "isPure": false, @@ -32197,64 +32197,64 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56472:39:1", + "src": "58064:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:94:1", + "src": "58009:94:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3124, + "id": 2616, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "56416:96:1", + "src": "58008:96:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3094, - "id": 3125, + "functionReturnParameters": 2586, + "id": 2617, "nodeType": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ] }, "documentation": { - "id": 3086, + "id": 2578, "nodeType": "StructuredDocumentation", - "src": "56016:147:1", + "src": "57598:153:0", "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3127, + "id": 2619, "implemented": true, "kind": "function", "modifiers": [], "name": "_isApprovedOrOwner", "nodeType": "FunctionDefinition", "parameters": { - "id": 3091, + "id": 2583, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3088, + "id": 2580, "mutability": "mutable", "name": "spender", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56196:15:1", + "scope": 2619, + "src": "57785:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32262,10 +32262,10 @@ "typeString": "address" }, "typeName": { - "id": 3087, + "id": 2579, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56196:7:1", + "src": "57785:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32276,12 +32276,12 @@ }, { "constant": false, - "id": 3090, + "id": 2582, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56213:15:1", + "scope": 2619, + "src": "57802:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32289,10 +32289,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3089, + "id": 2581, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56213:7:1", + "src": "57802:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32301,20 +32301,20 @@ "visibility": "internal" } ], - "src": "56195:34:1" + "src": "57784:34:0" }, "returnParameters": { - "id": 3094, + "id": 2586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3093, + "id": 2585, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56261:4:1", + "scope": 2619, + "src": "57850:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32322,10 +32322,10 @@ "typeString": "bool" }, "typeName": { - "id": 3092, + "id": 2584, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "56261:4:1", + "src": "57850:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32334,42 +32334,42 @@ "visibility": "internal" } ], - "src": "56260:6:1" + "src": "57849:6:0" }, - "scope": 3498, - "src": "56168:351:1", + "scope": 2990, + "src": "57757:355:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3141, + "id": 2633, "nodeType": "Block", - "src": "56915:43:1", + "src": "58520:45:0", "statements": [ { "expression": { "arguments": [ { - "id": 3136, + "id": 2628, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3130, - "src": "56935:2:1", + "referencedDeclaration": 2622, + "src": "58541:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3137, + "id": 2629, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3132, - "src": "56939:7:1", + "referencedDeclaration": 2624, + "src": "58545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32377,14 +32377,14 @@ }, { "hexValue": "", - "id": 3138, + "id": 2630, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56948:2:1", + "src": "58554:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -32407,21 +32407,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3135, + "id": 2627, "name": "_safeMint", "nodeType": "Identifier", "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, - "src": "56925:9:1", + "referencedDeclaration": 2663, + "src": "58531:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,uint256,bytes memory)" } }, - "id": 3139, + "id": 2631, "isConstant": false, "isLValue": false, "isPure": false, @@ -32429,43 +32429,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56925:26:1", + "src": "58531:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3140, + "id": 2632, "nodeType": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ] }, "documentation": { - "id": 3128, + "id": 2620, "nodeType": "StructuredDocumentation", - "src": "56525:320:1", + "src": "58120:329:0", "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3142, + "id": 2634, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3133, + "id": 2625, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3130, + "id": 2622, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56869:10:1", + "scope": 2634, + "src": "58474:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32473,10 +32473,10 @@ "typeString": "address" }, "typeName": { - "id": 3129, + "id": 2621, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56869:7:1", + "src": "58474:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32487,12 +32487,12 @@ }, { "constant": false, - "id": 3132, + "id": 2624, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56881:15:1", + "scope": 2634, + "src": "58486:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32500,10 +32500,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3131, + "id": 2623, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56881:7:1", + "src": "58486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32512,48 +32512,48 @@ "visibility": "internal" } ], - "src": "56868:29:1" + "src": "58473:29:0" }, "returnParameters": { - "id": 3134, + "id": 2626, "nodeType": "ParameterList", "parameters": [], - "src": "56915:0:1" + "src": "58520:0:0" }, - "scope": 3498, - "src": "56850:108:1", + "scope": 2990, + "src": "58455:110:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3170, + "id": 2662, "nodeType": "Block", - "src": "57264:162:1", + "src": "58877:165:0", "statements": [ { "expression": { "arguments": [ { - "id": 3153, + "id": 2645, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57280:2:1", + "referencedDeclaration": 2637, + "src": "58894:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3154, + "id": 2646, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57284:7:1", + "referencedDeclaration": 2639, + "src": "58898:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32571,18 +32571,18 @@ "typeString": "uint256" } ], - "id": 3152, + "id": 2644, "name": "_mint", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3230, - "src": "57274:5:1", + "referencedDeclaration": 2722, + "src": "58888:5:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3155, + "id": 2647, "isConstant": false, "isLValue": false, "isPure": false, @@ -32590,16 +32590,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57274:18:1", + "src": "58888:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3156, + "id": 2648, "nodeType": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "expression": { @@ -32610,14 +32610,14 @@ "arguments": [ { "hexValue": "30", - "id": 3161, + "id": 2653, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57341:1:1", + "src": "58956:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -32632,26 +32632,26 @@ "typeString": "int_const 0" } ], - "id": 3160, + "id": 2652, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3159, + "id": 2651, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": {} } }, - "id": 3162, + "id": 2654, "isConstant": false, "isLValue": false, "isPure": true, @@ -32659,7 +32659,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57333:10:1", + "src": "58948:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -32667,36 +32667,36 @@ } }, { - "id": 3163, + "id": 2655, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57345:2:1", + "referencedDeclaration": 2637, + "src": "58960:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3164, + "id": 2656, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57349:7:1", + "referencedDeclaration": 2639, + "src": "58964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3165, + "id": 2657, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3149, - "src": "57358:5:1", + "referencedDeclaration": 2641, + "src": "58973:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -32722,18 +32722,18 @@ "typeString": "bytes memory" } ], - "id": 3158, + "id": 2650, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "57310:22:1", + "referencedDeclaration": 2954, + "src": "58925:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3166, + "id": 2658, "isConstant": false, "isLValue": false, "isPure": false, @@ -32741,7 +32741,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57310:54:1", + "src": "58925:54:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -32750,14 +32750,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3167, + "id": 2659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57366:52:1", + "src": "58981:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -32776,7 +32776,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3157, + "id": 2649, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -32784,13 +32784,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57302:7:1", + "src": "58917:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3168, + "id": 2660, "isConstant": false, "isLValue": false, "isPure": false, @@ -32798,43 +32798,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57302:117:1", + "src": "58917:117:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3169, + "id": 2661, "nodeType": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ] }, "documentation": { - "id": 3143, + "id": 2635, "nodeType": "StructuredDocumentation", - "src": "56964:210:1", + "src": "58573:213:0", "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3171, + "id": 2663, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3150, + "id": 2642, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3145, + "id": 2637, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57198:10:1", + "scope": 2663, + "src": "58811:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32842,10 +32842,10 @@ "typeString": "address" }, "typeName": { - "id": 3144, + "id": 2636, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57198:7:1", + "src": "58811:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32856,12 +32856,12 @@ }, { "constant": false, - "id": 3147, + "id": 2639, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57210:15:1", + "scope": 2663, + "src": "58823:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32869,10 +32869,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3146, + "id": 2638, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57210:7:1", + "src": "58823:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32882,12 +32882,12 @@ }, { "constant": false, - "id": 3149, + "id": 2641, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57227:18:1", + "scope": 2663, + "src": "58840:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -32895,10 +32895,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3148, + "id": 2640, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "57227:5:1", + "src": "58840:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -32907,25 +32907,25 @@ "visibility": "internal" } ], - "src": "57197:49:1" + "src": "58810:49:0" }, "returnParameters": { - "id": 3151, + "id": 2643, "nodeType": "ParameterList", "parameters": [], - "src": "57264:0:1" + "src": "58877:0:0" }, - "scope": 3498, - "src": "57179:247:1", + "scope": 2990, + "src": "58792:250:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3229, + "id": 2721, "nodeType": "Block", - "src": "57809:332:1", + "src": "59439:343:0", "statements": [ { "expression": { @@ -32935,18 +32935,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3185, + "id": 2677, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3180, + "id": 2672, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57827:2:1", + "referencedDeclaration": 2666, + "src": "59458:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32958,14 +32958,14 @@ "arguments": [ { "hexValue": "30", - "id": 3183, + "id": 2675, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57841:1:1", + "src": "59472:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -32980,26 +32980,26 @@ "typeString": "int_const 0" } ], - "id": 3182, + "id": 2674, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3181, + "id": 2673, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": {} } }, - "id": 3184, + "id": 2676, "isConstant": false, "isLValue": false, "isPure": true, @@ -33007,14 +33007,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57833:10:1", + "src": "59464:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "57827:16:1", + "src": "59458:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -33022,14 +33022,14 @@ }, { "hexValue": "4552433732313a206d696e7420746f20746865207a65726f2061646472657373", - "id": 3186, + "id": 2678, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57845:34:1", + "src": "59476:34:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6", "typeString": "literal_string \"ERC721: mint to the zero address\"" @@ -33048,7 +33048,7 @@ "typeString": "literal_string \"ERC721: mint to the zero address\"" } ], - "id": 3179, + "id": 2671, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33056,13 +33056,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57819:7:1", + "src": "59450:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3187, + "id": 2679, "isConstant": false, "isLValue": false, "isPure": false, @@ -33070,22 +33070,22 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57819:61:1", + "src": "59450:61:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3188, + "id": 2680, "nodeType": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "expression": { "arguments": [ { - "id": 3193, + "id": 2685, "isConstant": false, "isLValue": false, "isPure": false, @@ -33093,16 +33093,16 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "57898:17:1", + "src": "59530:17:0", "subExpression": { "arguments": [ { - "id": 3191, + "id": 2683, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57907:7:1", + "referencedDeclaration": 2668, + "src": "59539:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33116,18 +33116,18 @@ "typeString": "uint256" } ], - "id": 3190, + "id": 2682, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "57899:7:1", + "referencedDeclaration": 2577, + "src": "59531:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3192, + "id": 2684, "isConstant": false, "isLValue": false, "isPure": false, @@ -33135,7 +33135,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57899:16:1", + "src": "59531:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -33149,14 +33149,14 @@ }, { "hexValue": "4552433732313a20746f6b656e20616c7265616479206d696e746564", - "id": 3194, + "id": 2686, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57917:30:1", + "src": "59549:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57", "typeString": "literal_string \"ERC721: token already minted\"" @@ -33175,7 +33175,7 @@ "typeString": "literal_string \"ERC721: token already minted\"" } ], - "id": 3189, + "id": 2681, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33183,13 +33183,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57890:7:1", + "src": "59522:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3195, + "id": 2687, "isConstant": false, "isLValue": false, "isPure": false, @@ -33197,16 +33197,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57890:58:1", + "src": "59522:58:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3196, + "id": 2688, "nodeType": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "expression": { @@ -33215,14 +33215,14 @@ "arguments": [ { "hexValue": "30", - "id": 3200, + "id": 2692, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57988:1:1", + "src": "59622:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33237,26 +33237,26 @@ "typeString": "int_const 0" } ], - "id": 3199, + "id": 2691, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3198, + "id": 2690, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": {} } }, - "id": 3201, + "id": 2693, "isConstant": false, "isLValue": false, "isPure": true, @@ -33264,7 +33264,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57980:10:1", + "src": "59614:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33272,24 +33272,24 @@ } }, { - "id": 3202, + "id": 2694, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57992:2:1", + "referencedDeclaration": 2666, + "src": "59626:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3203, + "id": 2695, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57996:7:1", + "referencedDeclaration": 2668, + "src": "59630:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33311,18 +33311,18 @@ "typeString": "uint256" } ], - "id": 3197, + "id": 2689, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "57959:20:1", + "referencedDeclaration": 2989, + "src": "59593:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3204, + "id": 2696, "isConstant": false, "isLValue": false, "isPure": false, @@ -33330,27 +33330,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57959:45:1", + "src": "59593:45:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3205, + "id": 2697, "nodeType": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "expression": { "arguments": [ { - "id": 3210, + "id": 2702, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58037:7:1", + "referencedDeclaration": 2668, + "src": "59673:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33366,25 +33366,25 @@ ], "expression": { "baseExpression": { - "id": 3206, + "id": 2698, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58015:13:1", + "referencedDeclaration": 2092, + "src": "59651:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3208, + "id": 2700, "indexExpression": { - "id": 3207, + "id": 2699, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58029:2:1", + "referencedDeclaration": 2666, + "src": "59665:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33395,27 +33395,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58015:17:1", + "src": "59651:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3209, + "id": 2701, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "58015:21:1", + "referencedDeclaration": 1338, + "src": "59651:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3211, + "id": 2703, "isConstant": false, "isLValue": false, "isPure": false, @@ -33423,39 +33423,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58015:30:1", + "src": "59651:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3212, + "id": 2704, "nodeType": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "expression": { "arguments": [ { - "id": 3216, + "id": 2708, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58073:7:1", + "referencedDeclaration": 2668, + "src": "59711:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3217, + "id": 2709, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58082:2:1", + "referencedDeclaration": 2666, + "src": "59720:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33474,32 +33474,32 @@ } ], "expression": { - "id": 3213, + "id": 2705, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58056:12:1", + "referencedDeclaration": 2094, + "src": "59694:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3215, + "id": 2707, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "58056:16:1", + "referencedDeclaration": 1778, + "src": "59694:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3218, + "id": 2710, "isConstant": false, "isLValue": false, "isPure": false, @@ -33507,16 +33507,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58056:29:1", + "src": "59694:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3219, + "id": 2711, "nodeType": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "eventCall": { @@ -33525,14 +33525,14 @@ "arguments": [ { "hexValue": "30", - "id": 3223, + "id": 2715, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58118:1:1", + "src": "59758:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33547,26 +33547,26 @@ "typeString": "int_const 0" } ], - "id": 3222, + "id": 2714, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3221, + "id": 2713, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": {} } }, - "id": 3224, + "id": 2716, "isConstant": false, "isLValue": false, "isPure": true, @@ -33574,7 +33574,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58110:10:1", + "src": "59750:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33582,24 +33582,24 @@ } }, { - "id": 3225, + "id": 2717, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58122:2:1", + "referencedDeclaration": 2666, + "src": "59762:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3226, + "id": 2718, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58126:7:1", + "referencedDeclaration": 2668, + "src": "59766:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33621,18 +33621,18 @@ "typeString": "uint256" } ], - "id": 3220, + "id": 2712, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58101:8:1", + "referencedDeclaration": 46, + "src": "59741:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3227, + "id": 2719, "isConstant": false, "isLValue": false, "isPure": false, @@ -33640,43 +33640,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58101:33:1", + "src": "59741:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3228, + "id": 2720, "nodeType": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ] }, "documentation": { - "id": 3172, + "id": 2664, "nodeType": "StructuredDocumentation", - "src": "57432:311:1", + "src": "59050:322:0", "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3230, + "id": 2722, "implemented": true, "kind": "function", "modifiers": [], "name": "_mint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3177, + "id": 2669, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3174, + "id": 2666, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57763:10:1", + "scope": 2722, + "src": "59393:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33684,10 +33684,10 @@ "typeString": "address" }, "typeName": { - "id": 3173, + "id": 2665, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57763:7:1", + "src": "59393:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33698,12 +33698,12 @@ }, { "constant": false, - "id": 3176, + "id": 2668, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57775:15:1", + "scope": 2722, + "src": "59405:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33711,10 +33711,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3175, + "id": 2667, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57775:7:1", + "src": "59405:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33723,39 +33723,39 @@ "visibility": "internal" } ], - "src": "57762:29:1" + "src": "59392:29:0" }, "returnParameters": { - "id": 3178, + "id": 2670, "nodeType": "ParameterList", "parameters": [], - "src": "57809:0:1" + "src": "59439:0:0" }, - "scope": 3498, - "src": "57748:393:1", + "scope": 2990, + "src": "59378:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3298, + "id": 2790, "nodeType": "Block", - "src": "58407:478:1", + "src": "60060:496:0", "statements": [ { "assignments": [ - 3237 + 2729 ], "declarations": [ { "constant": false, - "id": 3237, + "id": 2729, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3298, - "src": "58417:13:1", + "scope": 2790, + "src": "60071:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33763,10 +33763,10 @@ "typeString": "address" }, "typeName": { - "id": 3236, + "id": 2728, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58417:7:1", + "src": "60071:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33776,16 +33776,16 @@ "visibility": "internal" } ], - "id": 3242, + "id": 2734, "initialValue": { "arguments": [ { - "id": 3240, + "id": 2732, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58448:7:1", + "referencedDeclaration": 2725, + "src": "60102:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33800,32 +33800,32 @@ } ], "expression": { - "id": 3238, + "id": 2730, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "58433:6:1", + "referencedDeclaration": 2990, + "src": "60087:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3239, + "id": 2731, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "58433:14:1", + "referencedDeclaration": 2194, + "src": "60087:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3241, + "id": 2733, "isConstant": false, "isLValue": false, "isPure": false, @@ -33833,7 +33833,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58433:23:1", + "src": "60087:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -33841,18 +33841,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "expression": { "arguments": [ { - "id": 3244, + "id": 2736, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58506:5:1", + "referencedDeclaration": 2729, + "src": "60162:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33862,14 +33862,14 @@ "arguments": [ { "hexValue": "30", - "id": 3247, + "id": 2739, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58521:1:1", + "src": "60177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33884,26 +33884,26 @@ "typeString": "int_const 0" } ], - "id": 3246, + "id": 2738, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3245, + "id": 2737, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": {} } }, - "id": 3248, + "id": 2740, "isConstant": false, "isLValue": false, "isPure": true, @@ -33911,7 +33911,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58513:10:1", + "src": "60169:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33919,12 +33919,12 @@ } }, { - "id": 3249, + "id": 2741, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58525:7:1", + "referencedDeclaration": 2725, + "src": "60181:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33946,18 +33946,18 @@ "typeString": "uint256" } ], - "id": 3243, + "id": 2735, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "58485:20:1", + "referencedDeclaration": 2989, + "src": "60141:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3250, + "id": 2742, "isConstant": false, "isLValue": false, "isPure": false, @@ -33965,16 +33965,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58485:48:1", + "src": "60141:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3251, + "id": 2743, "nodeType": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "expression": { @@ -33983,14 +33983,14 @@ "arguments": [ { "hexValue": "30", - "id": 3255, + "id": 2747, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58588:1:1", + "src": "60247:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34005,26 +34005,26 @@ "typeString": "int_const 0" } ], - "id": 3254, + "id": 2746, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3253, + "id": 2745, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": {} } }, - "id": 3256, + "id": 2748, "isConstant": false, "isLValue": false, "isPure": true, @@ -34032,7 +34032,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58580:10:1", + "src": "60239:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34040,12 +34040,12 @@ } }, { - "id": 3257, + "id": 2749, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58592:7:1", + "referencedDeclaration": 2725, + "src": "60251:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34063,18 +34063,18 @@ "typeString": "uint256" } ], - "id": 3252, + "id": 2744, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "58571:8:1", + "referencedDeclaration": 2978, + "src": "60230:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3258, + "id": 2750, "isConstant": false, "isLValue": false, "isPure": false, @@ -34082,16 +34082,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58571:29:1", + "src": "60230:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3259, + "id": 2751, "nodeType": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "condition": { @@ -34099,7 +34099,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3268, + "id": 2760, "isConstant": false, "isLValue": false, "isPure": false, @@ -34109,25 +34109,25 @@ "arguments": [ { "baseExpression": { - "id": 3262, + "id": 2754, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58656:10:1", + "referencedDeclaration": 2112, + "src": "60318:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3264, + "id": 2756, "indexExpression": { - "id": 3263, + "id": 2755, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58667:7:1", + "referencedDeclaration": 2725, + "src": "60329:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34138,7 +34138,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58656:19:1", + "src": "60318:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34152,26 +34152,26 @@ "typeString": "string storage ref" } ], - "id": 3261, + "id": 2753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 3260, + "id": 2752, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": {} } }, - "id": 3265, + "id": 2757, "isConstant": false, "isLValue": false, "isPure": false, @@ -34179,21 +34179,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58650:26:1", + "src": "60312:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes storage pointer" } }, - "id": 3266, + "id": 2758, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "58650:33:1", + "src": "60312:33:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34203,37 +34203,37 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 3267, + "id": 2759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58687:1:1", + "src": "60349:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "58650:38:1", + "src": "60312:38:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3275, + "id": 2767, "nodeType": "IfStatement", - "src": "58646:95:1", + "src": "60308:97:0", "trueBody": { - "id": 3274, + "id": 2766, "nodeType": "Block", - "src": "58690:51:1", + "src": "60352:53:0", "statements": [ { "expression": { - "id": 3272, + "id": 2764, "isConstant": false, "isLValue": false, "isPure": false, @@ -34241,28 +34241,28 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "58704:26:1", + "src": "60367:26:0", "subExpression": { "baseExpression": { - "id": 3269, + "id": 2761, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58711:10:1", + "referencedDeclaration": 2112, + "src": "60374:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3271, + "id": 2763, "indexExpression": { - "id": 3270, + "id": 2762, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58722:7:1", + "referencedDeclaration": 2725, + "src": "60385:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34273,7 +34273,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "58711:19:1", + "src": "60374:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34284,9 +34284,9 @@ "typeString": "tuple()" } }, - "id": 3273, + "id": 2765, "nodeType": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ] } @@ -34295,12 +34295,12 @@ "expression": { "arguments": [ { - "id": 3280, + "id": 2772, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58779:7:1", + "referencedDeclaration": 2725, + "src": "60445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34316,25 +34316,25 @@ ], "expression": { "baseExpression": { - "id": 3276, + "id": 2768, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58751:13:1", + "referencedDeclaration": 2092, + "src": "60417:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3278, + "id": 2770, "indexExpression": { - "id": 3277, + "id": 2769, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58765:5:1", + "referencedDeclaration": 2729, + "src": "60431:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34345,27 +34345,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58751:20:1", + "src": "60417:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3279, + "id": 2771, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "58751:27:1", + "referencedDeclaration": 1358, + "src": "60417:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3281, + "id": 2773, "isConstant": false, "isLValue": false, "isPure": false, @@ -34373,27 +34373,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58751:36:1", + "src": "60417:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3282, + "id": 2774, "nodeType": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "expression": { "arguments": [ { - "id": 3286, + "id": 2778, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58818:7:1", + "referencedDeclaration": 2725, + "src": "60486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34408,32 +34408,32 @@ } ], "expression": { - "id": 3283, + "id": 2775, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58798:12:1", + "referencedDeclaration": 2094, + "src": "60466:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3285, + "id": 2777, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 2306, - "src": "58798:19:1", + "referencedDeclaration": 1798, + "src": "60466:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" } }, - "id": 3287, + "id": 2779, "isConstant": false, "isLValue": false, "isPure": false, @@ -34441,27 +34441,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58798:28:1", + "src": "60466:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3288, + "id": 2780, "nodeType": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "eventCall": { "arguments": [ { - "id": 3290, + "id": 2782, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58851:5:1", + "referencedDeclaration": 2729, + "src": "60521:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34471,14 +34471,14 @@ "arguments": [ { "hexValue": "30", - "id": 3293, + "id": 2785, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58866:1:1", + "src": "60536:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34493,26 +34493,26 @@ "typeString": "int_const 0" } ], - "id": 3292, + "id": 2784, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3291, + "id": 2783, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": {} } }, - "id": 3294, + "id": 2786, "isConstant": false, "isLValue": false, "isPure": true, @@ -34520,7 +34520,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58858:10:1", + "src": "60528:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34528,12 +34528,12 @@ } }, { - "id": 3295, + "id": 2787, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58870:7:1", + "referencedDeclaration": 2725, + "src": "60540:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34555,18 +34555,18 @@ "typeString": "uint256" } ], - "id": 3289, + "id": 2781, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58842:8:1", + "referencedDeclaration": 46, + "src": "60512:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3296, + "id": 2788, "isConstant": false, "isLValue": false, "isPure": false, @@ -34574,43 +34574,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58842:36:1", + "src": "60512:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3297, + "id": 2789, "nodeType": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ] }, "documentation": { - "id": 3231, + "id": 2723, "nodeType": "StructuredDocumentation", - "src": "58147:206:1", + "src": "59790:215:0", "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3299, + "id": 2791, "implemented": true, "kind": "function", "modifiers": [], "name": "_burn", "nodeType": "FunctionDefinition", "parameters": { - "id": 3234, + "id": 2726, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3233, + "id": 2725, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3299, - "src": "58373:15:1", + "scope": 2791, + "src": "60026:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34618,10 +34618,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3232, + "id": 2724, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "58373:7:1", + "src": "60026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34630,25 +34630,25 @@ "visibility": "internal" } ], - "src": "58372:17:1" + "src": "60025:17:0" }, "returnParameters": { - "id": 3235, + "id": 2727, "nodeType": "ParameterList", "parameters": [], - "src": "58407:0:1" + "src": "60060:0:0" }, - "scope": 3498, - "src": "58358:527:1", + "scope": 2990, + "src": "60011:545:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3370, + "id": 2862, "nodeType": "Block", - "src": "59288:505:1", + "src": "60972:520:0", "statements": [ { "expression": { @@ -34658,7 +34658,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3315, + "id": 2807, "isConstant": false, "isLValue": false, "isPure": false, @@ -34666,12 +34666,12 @@ "leftExpression": { "arguments": [ { - "id": 3312, + "id": 2804, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59321:7:1", + "referencedDeclaration": 2798, + "src": "61006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34686,32 +34686,32 @@ } ], "expression": { - "id": 3310, + "id": 2802, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "59306:6:1", + "referencedDeclaration": 2990, + "src": "60991:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3311, + "id": 2803, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "59306:14:1", + "referencedDeclaration": 2194, + "src": "60991:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3313, + "id": 2805, "isConstant": false, "isLValue": false, "isPure": false, @@ -34719,7 +34719,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59306:23:1", + "src": "60991:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -34729,18 +34729,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3314, + "id": 2806, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59333:4:1", + "referencedDeclaration": 2794, + "src": "61018:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "59306:31:1", + "src": "60991:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34748,14 +34748,14 @@ }, { "hexValue": "4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e", - "id": 3316, + "id": 2808, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59339:43:1", + "src": "61024:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a01073130a885d6c1c1af6ac75fc3b1c4f9403c235362962bbf528e2bd87d950", "typeString": "literal_string \"ERC721: transfer of token that is not own\"" @@ -34774,7 +34774,7 @@ "typeString": "literal_string \"ERC721: transfer of token that is not own\"" } ], - "id": 3309, + "id": 2801, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -34782,13 +34782,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59298:7:1", + "src": "60983:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3317, + "id": 2809, "isConstant": false, "isLValue": false, "isPure": false, @@ -34796,16 +34796,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59298:85:1", + "src": "60983:85:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3318, + "id": 2810, "nodeType": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "expression": { @@ -34815,18 +34815,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3325, + "id": 2817, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3320, + "id": 2812, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59419:2:1", + "referencedDeclaration": 2796, + "src": "61105:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34838,14 +34838,14 @@ "arguments": [ { "hexValue": "30", - "id": 3323, + "id": 2815, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59433:1:1", + "src": "61119:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34860,26 +34860,26 @@ "typeString": "int_const 0" } ], - "id": 3322, + "id": 2814, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3321, + "id": 2813, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": {} } }, - "id": 3324, + "id": 2816, "isConstant": false, "isLValue": false, "isPure": true, @@ -34887,14 +34887,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59425:10:1", + "src": "61111:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "59419:16:1", + "src": "61105:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34902,14 +34902,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f20746865207a65726f2061646472657373", - "id": 3326, + "id": 2818, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59437:38:1", + "src": "61123:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4", "typeString": "literal_string \"ERC721: transfer to the zero address\"" @@ -34928,7 +34928,7 @@ "typeString": "literal_string \"ERC721: transfer to the zero address\"" } ], - "id": 3319, + "id": 2811, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -34936,13 +34936,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59411:7:1", + "src": "61097:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3327, + "id": 2819, "isConstant": false, "isLValue": false, "isPure": false, @@ -34950,51 +34950,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59411:65:1", + "src": "61097:65:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3328, + "id": 2820, "nodeType": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "expression": { "arguments": [ { - "id": 3330, + "id": 2822, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59508:4:1", + "referencedDeclaration": 2794, + "src": "61196:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3331, + "id": 2823, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59514:2:1", + "referencedDeclaration": 2796, + "src": "61202:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3332, + "id": 2824, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59518:7:1", + "referencedDeclaration": 2798, + "src": "61206:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35016,18 +35016,18 @@ "typeString": "uint256" } ], - "id": 3329, + "id": 2821, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "59487:20:1", + "referencedDeclaration": 2989, + "src": "61175:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3333, + "id": 2825, "isConstant": false, "isLValue": false, "isPure": false, @@ -35035,16 +35035,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59487:39:1", + "src": "61175:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3334, + "id": 2826, "nodeType": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "expression": { @@ -35053,14 +35053,14 @@ "arguments": [ { "hexValue": "30", - "id": 3338, + "id": 2830, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59605:1:1", + "src": "61296:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -35075,26 +35075,26 @@ "typeString": "int_const 0" } ], - "id": 3337, + "id": 2829, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3336, + "id": 2828, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": {} } }, - "id": 3339, + "id": 2831, "isConstant": false, "isLValue": false, "isPure": true, @@ -35102,7 +35102,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59597:10:1", + "src": "61288:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -35110,12 +35110,12 @@ } }, { - "id": 3340, + "id": 2832, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59609:7:1", + "referencedDeclaration": 2798, + "src": "61300:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35133,18 +35133,18 @@ "typeString": "uint256" } ], - "id": 3335, + "id": 2827, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "59588:8:1", + "referencedDeclaration": 2978, + "src": "61279:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3341, + "id": 2833, "isConstant": false, "isLValue": false, "isPure": false, @@ -35152,27 +35152,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59588:29:1", + "src": "61279:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3342, + "id": 2834, "nodeType": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "expression": { "arguments": [ { - "id": 3347, + "id": 2839, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59655:7:1", + "referencedDeclaration": 2798, + "src": "61348:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35188,25 +35188,25 @@ ], "expression": { "baseExpression": { - "id": 3343, + "id": 2835, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59628:13:1", + "referencedDeclaration": 2092, + "src": "61321:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3345, + "id": 2837, "indexExpression": { - "id": 3344, + "id": 2836, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59642:4:1", + "referencedDeclaration": 2794, + "src": "61335:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35217,27 +35217,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59628:19:1", + "src": "61321:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3346, + "id": 2838, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "59628:26:1", + "referencedDeclaration": 1358, + "src": "61321:26:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3348, + "id": 2840, "isConstant": false, "isLValue": false, "isPure": false, @@ -35245,27 +35245,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59628:35:1", + "src": "61321:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3349, + "id": 2841, "nodeType": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "expression": { "arguments": [ { - "id": 3354, + "id": 2846, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59695:7:1", + "referencedDeclaration": 2798, + "src": "61389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35281,25 +35281,25 @@ ], "expression": { "baseExpression": { - "id": 3350, + "id": 2842, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59673:13:1", + "referencedDeclaration": 2092, + "src": "61367:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3352, + "id": 2844, "indexExpression": { - "id": 3351, + "id": 2843, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59687:2:1", + "referencedDeclaration": 2796, + "src": "61381:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35310,27 +35310,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59673:17:1", + "src": "61367:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3353, + "id": 2845, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "59673:21:1", + "referencedDeclaration": 1338, + "src": "61367:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3355, + "id": 2847, "isConstant": false, "isLValue": false, "isPure": false, @@ -35338,39 +35338,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59673:30:1", + "src": "61367:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3356, + "id": 2848, "nodeType": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "expression": { "arguments": [ { - "id": 3360, + "id": 2852, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59731:7:1", + "referencedDeclaration": 2798, + "src": "61427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3361, + "id": 2853, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59740:2:1", + "referencedDeclaration": 2796, + "src": "61436:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35389,32 +35389,32 @@ } ], "expression": { - "id": 3357, + "id": 2849, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "59714:12:1", + "referencedDeclaration": 2094, + "src": "61410:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3359, + "id": 2851, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "59714:16:1", + "referencedDeclaration": 1778, + "src": "61410:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3362, + "id": 2854, "isConstant": false, "isLValue": false, "isPure": false, @@ -35422,51 +35422,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59714:29:1", + "src": "61410:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3363, + "id": 2855, "nodeType": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "eventCall": { "arguments": [ { - "id": 3365, + "id": 2857, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59768:4:1", + "referencedDeclaration": 2794, + "src": "61466:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3366, + "id": 2858, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59774:2:1", + "referencedDeclaration": 2796, + "src": "61472:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3367, + "id": 2859, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59778:7:1", + "referencedDeclaration": 2798, + "src": "61476:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35488,18 +35488,18 @@ "typeString": "uint256" } ], - "id": 3364, + "id": 2856, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "59759:8:1", + "referencedDeclaration": 46, + "src": "61457:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3368, + "id": 2860, "isConstant": false, "isLValue": false, "isPure": false, @@ -35507,43 +35507,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59759:27:1", + "src": "61457:27:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3369, + "id": 2861, "nodeType": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ] }, "documentation": { - "id": 3300, + "id": 2792, "nodeType": "StructuredDocumentation", - "src": "58891:313:1", + "src": "60564:323:0", "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3371, + "id": 2863, "implemented": true, "kind": "function", "modifiers": [], "name": "_transfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3307, + "id": 2799, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3302, + "id": 2794, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59228:12:1", + "scope": 2863, + "src": "60912:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35551,10 +35551,10 @@ "typeString": "address" }, "typeName": { - "id": 3301, + "id": 2793, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59228:7:1", + "src": "60912:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35565,12 +35565,12 @@ }, { "constant": false, - "id": 3304, + "id": 2796, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59242:10:1", + "scope": 2863, + "src": "60926:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35578,10 +35578,10 @@ "typeString": "address" }, "typeName": { - "id": 3303, + "id": 2795, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59242:7:1", + "src": "60926:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35592,12 +35592,12 @@ }, { "constant": false, - "id": 3306, + "id": 2798, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59254:15:1", + "scope": 2863, + "src": "60938:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35605,10 +35605,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3305, + "id": 2797, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59254:7:1", + "src": "60938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35617,25 +35617,25 @@ "visibility": "internal" } ], - "src": "59227:43:1" + "src": "60911:43:0" }, "returnParameters": { - "id": 3308, + "id": 2800, "nodeType": "ParameterList", "parameters": [], - "src": "59288:0:1" + "src": "60972:0:0" }, - "scope": 3498, - "src": "59209:584:1", + "scope": 2990, + "src": "60893:599:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3392, + "id": 2884, "nodeType": "Block", - "src": "60021:131:1", + "src": "61729:134:0", "statements": [ { "expression": { @@ -35643,12 +35643,12 @@ { "arguments": [ { - "id": 3381, + "id": 2873, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60047:7:1", + "referencedDeclaration": 2866, + "src": "61756:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35662,18 +35662,18 @@ "typeString": "uint256" } ], - "id": 3380, + "id": 2872, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "60039:7:1", + "referencedDeclaration": 2577, + "src": "61748:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3382, + "id": 2874, "isConstant": false, "isLValue": false, "isPure": false, @@ -35681,7 +35681,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60039:16:1", + "src": "61748:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -35690,14 +35690,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e", - "id": 3383, + "id": 2875, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "60057:46:1", + "src": "61766:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_94be4a260caaeac1b145f03ffa2e70bc612b64982d04f24073aaf3a5f9009978", "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" @@ -35716,7 +35716,7 @@ "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" } ], - "id": 3379, + "id": 2871, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -35724,13 +35724,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "60031:7:1", + "src": "61740:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3384, + "id": 2876, "isConstant": false, "isLValue": false, "isPure": false, @@ -35738,45 +35738,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60031:73:1", + "src": "61740:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3385, + "id": 2877, "nodeType": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "expression": { - "id": 3390, + "id": 2882, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3386, + "id": 2878, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "60114:10:1", + "referencedDeclaration": 2112, + "src": "61824:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3388, + "id": 2880, "indexExpression": { - "id": 3387, + "id": 2879, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60125:7:1", + "referencedDeclaration": 2866, + "src": "61835:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35787,7 +35787,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "60114:19:1", + "src": "61824:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -35796,53 +35796,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3389, + "id": 2881, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3376, - "src": "60136:9:1", + "referencedDeclaration": 2868, + "src": "61846:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60114:31:1", + "src": "61824:31:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3391, + "id": 2883, "nodeType": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ] }, "documentation": { - "id": 3372, + "id": 2864, "nodeType": "StructuredDocumentation", - "src": "59799:136:1", + "src": "61500:142:0", "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3393, + "id": 2885, "implemented": true, "kind": "function", "modifiers": [], "name": "_setTokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3377, + "id": 2869, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3374, + "id": 2866, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59962:15:1", + "scope": 2885, + "src": "61670:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35850,10 +35850,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3373, + "id": 2865, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59962:7:1", + "src": "61670:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35863,12 +35863,12 @@ }, { "constant": false, - "id": 3376, + "id": 2868, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59979:23:1", + "scope": 2885, + "src": "61687:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -35876,10 +35876,10 @@ "typeString": "string" }, "typeName": { - "id": 3375, + "id": 2867, "name": "string", "nodeType": "ElementaryTypeName", - "src": "59979:6:1", + "src": "61687:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -35888,40 +35888,40 @@ "visibility": "internal" } ], - "src": "59961:42:1" + "src": "61669:42:0" }, "returnParameters": { - "id": 3378, + "id": 2870, "nodeType": "ParameterList", "parameters": [], - "src": "60021:0:1" + "src": "61729:0:0" }, - "scope": 3498, - "src": "59940:212:1", + "scope": 2990, + "src": "61648:215:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3403, + "id": 2895, "nodeType": "Block", - "src": "60437:36:1", + "src": "62155:38:0", "statements": [ { "expression": { - "id": 3401, + "id": 2893, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 3399, + "id": 2891, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "60447:8:1", + "referencedDeclaration": 2114, + "src": "62166:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -35930,53 +35930,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3400, + "id": 2892, "name": "baseURI_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3396, - "src": "60458:8:1", + "referencedDeclaration": 2888, + "src": "62177:8:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60447:19:1", + "src": "62166:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3402, + "id": 2894, "nodeType": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ] }, "documentation": { - "id": 3394, + "id": 2886, "nodeType": "StructuredDocumentation", - "src": "60158:212:1", + "src": "61871:216:0", "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3404, + "id": 2896, "implemented": true, "kind": "function", "modifiers": [], "name": "_setBaseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3397, + "id": 2889, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3396, + "id": 2888, "mutability": "mutable", "name": "baseURI_", "nodeType": "VariableDeclaration", - "scope": 3404, - "src": "60396:22:1", + "scope": 2896, + "src": "62114:22:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -35984,10 +35984,10 @@ "typeString": "string" }, "typeName": { - "id": 3395, + "id": 2887, "name": "string", "nodeType": "ElementaryTypeName", - "src": "60396:6:1", + "src": "62114:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -35996,29 +35996,29 @@ "visibility": "internal" } ], - "src": "60395:24:1" + "src": "62113:24:0" }, "returnParameters": { - "id": 3398, + "id": 2890, "nodeType": "ParameterList", "parameters": [], - "src": "60437:0:1" + "src": "62155:0:0" }, - "scope": 3498, - "src": "60375:98:1", + "scope": 2990, + "src": "62093:100:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3461, + "id": 2953, "nodeType": "Block", - "src": "61156:459:1", + "src": "62890:472:0", "statements": [ { "condition": { - "id": 3421, + "id": 2913, "isConstant": false, "isLValue": false, "isPure": false, @@ -36026,38 +36026,38 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "61170:16:1", + "src": "62905:16:0", "subExpression": { "arguments": [], "expression": { "argumentTypes": [], "expression": { - "id": 3418, + "id": 2910, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61171:2:1", + "referencedDeclaration": 2901, + "src": "62906:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3419, + "id": 2911, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isContract", "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "61171:13:1", + "referencedDeclaration": 646, + "src": "62906:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$", "typeString": "function (address) view returns (bool)" } }, - "id": 3420, + "id": 2912, "isConstant": false, "isLValue": false, "isPure": false, @@ -36065,7 +36065,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61171:15:1", + "src": "62906:15:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -36077,52 +36077,52 @@ "typeString": "bool" } }, - "id": 3425, + "id": 2917, "nodeType": "IfStatement", - "src": "61166:58:1", + "src": "62901:60:0", "trueBody": { - "id": 3424, + "id": 2916, "nodeType": "Block", - "src": "61188:36:1", + "src": "62923:38:0", "statements": [ { "expression": { "hexValue": "74727565", - "id": 3422, + "id": 2914, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "61209:4:1", + "src": "62945:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 3417, - "id": 3423, + "functionReturnParameters": 2909, + "id": 2915, "nodeType": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ] } }, { "assignments": [ - 3427 + 2919 ], "declarations": [ { "constant": false, - "id": 3427, + "id": 2919, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61233:23:1", + "scope": 2953, + "src": "62971:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36130,10 +36130,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3426, + "id": 2918, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61233:5:1", + "src": "62971:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36142,7 +36142,7 @@ "visibility": "internal" } ], - "id": 3445, + "id": 2937, "initialValue": { "arguments": [ { @@ -36152,12 +36152,12 @@ "expression": { "arguments": [ { - "id": 3433, + "id": 2925, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61327:2:1", + "referencedDeclaration": 2901, + "src": "63066:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36171,18 +36171,18 @@ "typeString": "address" } ], - "id": 3432, + "id": 2924, "name": "IERC721Receiver", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 726, - "src": "61311:15:1", + "referencedDeclaration": 218, + "src": "63050:15:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$726_$", + "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$218_$", "typeString": "type(contract IERC721Receiver)" } }, - "id": 3434, + "id": 2926, "isConstant": false, "isLValue": false, "isPure": false, @@ -36190,35 +36190,35 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61311:19:1", + "src": "63050:19:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Receiver_$726", + "typeIdentifier": "t_contract$_IERC721Receiver_$218", "typeString": "contract IERC721Receiver" } }, - "id": 3435, + "id": 2927, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "onERC721Received", "nodeType": "MemberAccess", - "referencedDeclaration": 725, - "src": "61311:36:1", + "referencedDeclaration": 217, + "src": "63050:36:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", "typeString": "function (address,address,uint256,bytes memory) external returns (bytes4)" } }, - "id": 3436, + "id": 2928, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "selector", "nodeType": "MemberAccess", - "src": "61311:45:1", + "src": "63050:45:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36228,18 +36228,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3437, + "id": 2929, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "61370:10:1", + "referencedDeclaration": 10, + "src": "63110:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3438, + "id": 2930, "isConstant": false, "isLValue": false, "isPure": false, @@ -36247,7 +36247,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61370:12:1", + "src": "63110:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -36255,36 +36255,36 @@ } }, { - "id": 3439, + "id": 2931, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3407, - "src": "61396:4:1", + "referencedDeclaration": 2899, + "src": "63137:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3440, + "id": 2932, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3411, - "src": "61414:7:1", + "referencedDeclaration": 2903, + "src": "63156:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3441, + "id": 2933, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3413, - "src": "61435:5:1", + "referencedDeclaration": 2905, + "src": "63178:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36315,31 +36315,31 @@ } ], "expression": { - "id": 3430, + "id": 2922, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61275:3:1", + "src": "63013:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3431, + "id": 2923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodeWithSelector", "nodeType": "MemberAccess", - "src": "61275:22:1", + "src": "63013:22:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bytes4) pure returns (bytes memory)" } }, - "id": 3442, + "id": 2934, "isConstant": false, "isLValue": false, "isPure": false, @@ -36347,7 +36347,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61275:175:1", + "src": "63013:181:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36356,14 +36356,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3443, + "id": 2935, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "61452:52:1", + "src": "63196:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -36383,32 +36383,32 @@ } ], "expression": { - "id": 3428, + "id": 2920, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61259:2:1", + "referencedDeclaration": 2901, + "src": "62997:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3429, + "id": 2921, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "functionCall", "nodeType": "MemberAccess", - "referencedDeclaration": 1225, - "src": "61259:15:1", + "referencedDeclaration": 717, + "src": "62997:15:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$bound_to$_t_address_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 3444, + "id": 2936, "isConstant": false, "isLValue": false, "isPure": false, @@ -36416,7 +36416,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61259:246:1", + "src": "62997:252:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36424,21 +36424,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "assignments": [ - 3447 + 2939 ], "declarations": [ { "constant": false, - "id": 3447, + "id": 2939, "mutability": "mutable", "name": "retval", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61515:13:1", + "scope": 2953, + "src": "63260:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36446,10 +36446,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 3446, + "id": 2938, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61515:6:1", + "src": "63260:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36458,16 +36458,16 @@ "visibility": "internal" } ], - "id": 3455, + "id": 2947, "initialValue": { "arguments": [ { - "id": 3450, + "id": 2942, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3427, - "src": "61542:10:1", + "referencedDeclaration": 2919, + "src": "63287:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36476,34 +36476,34 @@ { "components": [ { - "id": 3452, + "id": 2944, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" }, "typeName": { - "id": 3451, + "id": 2943, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": {} } } ], - "id": 3453, + "id": 2945, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61554:8:1", + "src": "63299:8:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" @@ -36522,31 +36522,31 @@ } ], "expression": { - "id": 3448, + "id": 2940, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61531:3:1", + "src": "63276:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3449, + "id": 2941, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "decode", "nodeType": "MemberAccess", - "src": "61531:10:1", + "src": "63276:10:0", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 3454, + "id": 2946, "isConstant": false, "isLValue": false, "isPure": false, @@ -36554,7 +36554,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61531:32:1", + "src": "63276:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes4", @@ -36562,7 +36562,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "expression": { @@ -36572,18 +36572,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 3458, + "id": 2950, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3456, + "id": 2948, "name": "retval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3447, - "src": "61581:6:1", + "referencedDeclaration": 2939, + "src": "63327:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36592,68 +36592,68 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3457, + "id": 2949, "name": "_ERC721_RECEIVED", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2596, - "src": "61591:16:1", + "referencedDeclaration": 2088, + "src": "63337:16:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "src": "61581:26:1", + "src": "63327:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3459, + "id": 2951, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61580:28:1", + "src": "63326:28:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3417, - "id": 3460, + "functionReturnParameters": 2909, + "id": 2952, "nodeType": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ] }, "documentation": { - "id": 3405, + "id": 2897, "nodeType": "StructuredDocumentation", - "src": "60479:542:1", + "src": "62201:551:0", "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3462, + "id": 2954, "implemented": true, "kind": "function", "modifiers": [], "name": "_checkOnERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 3414, + "id": 2906, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3407, + "id": 2899, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61058:12:1", + "scope": 2954, + "src": "62790:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36661,10 +36661,10 @@ "typeString": "address" }, "typeName": { - "id": 3406, + "id": 2898, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61058:7:1", + "src": "62790:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36675,12 +36675,12 @@ }, { "constant": false, - "id": 3409, + "id": 2901, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61072:10:1", + "scope": 2954, + "src": "62804:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36688,10 +36688,10 @@ "typeString": "address" }, "typeName": { - "id": 3408, + "id": 2900, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61072:7:1", + "src": "62804:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36702,12 +36702,12 @@ }, { "constant": false, - "id": 3411, + "id": 2903, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61084:15:1", + "scope": 2954, + "src": "62816:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36715,10 +36715,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3410, + "id": 2902, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61084:7:1", + "src": "62816:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36728,12 +36728,12 @@ }, { "constant": false, - "id": 3413, + "id": 2905, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61101:18:1", + "scope": 2954, + "src": "62833:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36741,10 +36741,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3412, + "id": 2904, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61101:5:1", + "src": "62833:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36753,20 +36753,20 @@ "visibility": "internal" } ], - "src": "61057:63:1" + "src": "62789:63:0" }, "returnParameters": { - "id": 3417, + "id": 2909, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3416, + "id": 2908, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61146:4:1", + "scope": 2954, + "src": "62879:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36774,10 +36774,10 @@ "typeString": "bool" }, "typeName": { - "id": 3415, + "id": 2907, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "61146:4:1", + "src": "62879:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -36786,48 +36786,48 @@ "visibility": "internal" } ], - "src": "61145:6:1" + "src": "62878:6:0" }, - "scope": 3498, - "src": "61026:589:1", + "scope": 2990, + "src": "62758:604:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 3485, + "id": 2977, "nodeType": "Block", - "src": "61791:125:1", + "src": "63545:128:0", "statements": [ { "expression": { - "id": 3474, + "id": 2966, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3470, + "id": 2962, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "61801:15:1", + "referencedDeclaration": 2098, + "src": "63556:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 3472, + "id": 2964, "indexExpression": { - "id": 3471, + "id": 2963, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61817:7:1", + "referencedDeclaration": 2959, + "src": "63572:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36838,7 +36838,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "61801:24:1", + "src": "63556:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36847,26 +36847,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3473, + "id": 2965, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61828:2:1", + "referencedDeclaration": 2957, + "src": "63583:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "61801:29:1", + "src": "63556:29:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3475, + "id": 2967, "nodeType": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "eventCall": { @@ -36874,12 +36874,12 @@ { "arguments": [ { - "id": 3479, + "id": 2971, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61869:7:1", + "referencedDeclaration": 2959, + "src": "63625:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36894,32 +36894,32 @@ } ], "expression": { - "id": 3477, + "id": 2969, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "61854:6:1", + "referencedDeclaration": 2990, + "src": "63610:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3478, + "id": 2970, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "61854:14:1", + "referencedDeclaration": 2194, + "src": "63610:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3480, + "id": 2972, "isConstant": false, "isLValue": false, "isPure": false, @@ -36927,7 +36927,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61854:23:1", + "src": "63610:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -36935,24 +36935,24 @@ } }, { - "id": 3481, + "id": 2973, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61879:2:1", + "referencedDeclaration": 2957, + "src": "63635:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3482, + "id": 2974, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61883:7:1", + "referencedDeclaration": 2959, + "src": "63639:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36974,18 +36974,18 @@ "typeString": "uint256" } ], - "id": 3476, + "id": 2968, "name": "Approval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 563, - "src": "61845:8:1", + "referencedDeclaration": 55, + "src": "63601:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3483, + "id": 2975, "isConstant": false, "isLValue": false, "isPure": false, @@ -36993,43 +36993,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61845:46:1", + "src": "63601:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3484, + "id": 2976, "nodeType": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ] }, "documentation": { - "id": 3463, + "id": 2955, "nodeType": "StructuredDocumentation", - "src": "61621:101:1", + "src": "63370:105:0", "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3486, + "id": 2978, "implemented": true, "kind": "function", "modifiers": [], "name": "_approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 3468, + "id": 2960, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3465, + "id": 2957, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61745:10:1", + "scope": 2978, + "src": "63499:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37037,10 +37037,10 @@ "typeString": "address" }, "typeName": { - "id": 3464, + "id": 2956, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61745:7:1", + "src": "63499:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37051,12 +37051,12 @@ }, { "constant": false, - "id": 3467, + "id": 2959, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61757:15:1", + "scope": 2978, + "src": "63511:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37064,10 +37064,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3466, + "id": 2958, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61757:7:1", + "src": "63511:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37076,51 +37076,51 @@ "visibility": "internal" } ], - "src": "61744:29:1" + "src": "63498:29:0" }, "returnParameters": { - "id": 3469, + "id": 2961, "nodeType": "ParameterList", "parameters": [], - "src": "61791:0:1" + "src": "63545:0:0" }, - "scope": 3498, - "src": "61727:189:1", + "scope": 2990, + "src": "63481:192:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3496, + "id": 2988, "nodeType": "Block", - "src": "62602:3:1", + "src": "64376:3:0", "statements": [] }, "documentation": { - "id": 3487, + "id": 2979, "nodeType": "StructuredDocumentation", - "src": "61922:585:1", + "src": "63681:599:0", "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3497, + "id": 2989, "implemented": true, "kind": "function", "modifiers": [], "name": "_beforeTokenTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3494, + "id": 2986, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3489, + "id": 2981, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62542:12:1", + "scope": 2989, + "src": "64316:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37128,10 +37128,10 @@ "typeString": "address" }, "typeName": { - "id": 3488, + "id": 2980, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62542:7:1", + "src": "64316:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37142,12 +37142,12 @@ }, { "constant": false, - "id": 3491, + "id": 2983, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62556:10:1", + "scope": 2989, + "src": "64330:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37155,10 +37155,10 @@ "typeString": "address" }, "typeName": { - "id": 3490, + "id": 2982, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62556:7:1", + "src": "64330:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37169,12 +37169,12 @@ }, { "constant": false, - "id": 3493, + "id": 2985, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62568:15:1", + "scope": 2989, + "src": "64342:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37182,10 +37182,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3492, + "id": 2984, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "62568:7:1", + "src": "64342:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37194,69 +37194,69 @@ "visibility": "internal" } ], - "src": "62541:43:1" + "src": "64315:43:0" }, "returnParameters": { - "id": 3495, + "id": 2987, "nodeType": "ParameterList", "parameters": [], - "src": "62602:0:1" + "src": "64376:0:0" }, - "scope": 3498, - "src": "62512:93:1", + "scope": 2990, + "src": "64286:93:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "46080:16527:1" + "scope": 2991, + "src": "47398:16984:0" } ], - "src": "84:62524:1" + "src": "87:64297:0" }, "legacyAST": { "attributes": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, "license": "MIT" @@ -37274,9 +37274,9 @@ ".0" ] }, - "id": 509, + "id": 1, "name": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "attributes": { @@ -37290,10 +37290,10 @@ "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", - "scope": 3499 + "scope": 2991 }, "children": [ { @@ -37305,7 +37305,7 @@ null ], "name": "_msgSender", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37318,9 +37318,9 @@ ] }, "children": [], - "id": 510, + "id": 2, "name": "ParameterList", - "src": "668:2:1" + "src": "684:2:0" }, { "children": [ @@ -37329,7 +37329,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 518, + "scope": 10, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -37342,25 +37342,25 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 511, + "id": 3, "name": "ElementaryTypeName", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 512, + "id": 4, "name": "VariableDeclaration", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 513, + "id": 5, "name": "ParameterList", - "src": "701:17:1" + "src": "717:17:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 513 + "functionReturnParameters": 5 }, "children": [ { @@ -37382,29 +37382,29 @@ "type": "msg", "value": "msg" }, - "id": 514, + "id": 6, "name": "Identifier", - "src": "736:3:1" + "src": "753:3:0" } ], - "id": 515, + "id": 7, "name": "MemberAccess", - "src": "736:10:1" + "src": "753:10:0" } ], - "id": 516, + "id": 8, "name": "Return", - "src": "729:17:1" + "src": "746:17:0" } ], - "id": 517, + "id": 9, "name": "Block", - "src": "719:34:1" + "src": "735:36:0" } ], - "id": 518, + "id": 10, "name": "FunctionDefinition", - "src": "649:104:1" + "src": "665:106:0" }, { "attributes": { @@ -37415,7 +37415,7 @@ null ], "name": "_msgData", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37428,9 +37428,9 @@ ] }, "children": [], - "id": 519, + "id": 11, "name": "ParameterList", - "src": "776:2:1" + "src": "796:2:0" }, { "children": [ @@ -37439,7 +37439,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 529, + "scope": 21, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -37451,19 +37451,19 @@ "name": "bytes", "type": "bytes" }, - "id": 520, + "id": 12, "name": "ElementaryTypeName", - "src": "810:5:1" + "src": "830:5:0" } ], - "id": 521, + "id": 13, "name": "VariableDeclaration", - "src": "810:12:1" + "src": "830:12:0" } ], - "id": 522, + "id": 14, "name": "ParameterList", - "src": "809:14:1" + "src": "829:14:0" }, { "children": [ @@ -37478,18 +37478,18 @@ "type": "contract Context", "value": "this" }, - "id": 523, + "id": 15, "name": "Identifier", - "src": "834:4:1" + "src": "855:4:0" } ], - "id": 524, + "id": 16, "name": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "attributes": { - "functionReturnParameters": 522 + "functionReturnParameters": 14 }, "children": [ { @@ -37511,34 +37511,34 @@ "type": "msg", "value": "msg" }, - "id": 525, + "id": 17, "name": "Identifier", - "src": "974:3:1" + "src": "996:3:0" } ], - "id": 526, + "id": 18, "name": "MemberAccess", - "src": "974:8:1" + "src": "996:8:0" } ], - "id": 527, + "id": 19, "name": "Return", - "src": "967:15:1" + "src": "989:15:0" } ], - "id": 528, + "id": 20, "name": "Block", - "src": "824:165:1" + "src": "844:168:0" } ], - "id": 529, + "id": 21, "name": "FunctionDefinition", - "src": "759:230:1" + "src": "779:233:0" } ], - "id": 530, + "id": 22, "name": "ContractDefinition", - "src": "617:374:1" + "src": "632:383:0" }, { "attributes": { @@ -37552,9 +37552,9 @@ ".0" ] }, - "id": 531, + "id": 23, "name": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "attributes": { @@ -37568,19 +37568,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, - "id": 532, + "id": 24, "name": "StructuredDocumentation", - "src": "1086:279:1" + "src": "1116:287:0" }, { "attributes": { @@ -37592,7 +37592,7 @@ null ], "name": "supportsInterface", - "scope": 541, + "scope": 33, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -37602,9 +37602,9 @@ "attributes": { "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, - "id": 533, + "id": 25, "name": "StructuredDocumentation", - "src": "1390:340:1" + "src": "1430:347:0" }, { "children": [ @@ -37613,7 +37613,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -37625,19 +37625,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 534, + "id": 26, "name": "ElementaryTypeName", - "src": "1762:6:1" + "src": "1810:6:0" } ], - "id": 535, + "id": 27, "name": "VariableDeclaration", - "src": "1762:18:1" + "src": "1810:18:0" } ], - "id": 536, + "id": 28, "name": "ParameterList", - "src": "1761:20:1" + "src": "1809:20:0" }, { "children": [ @@ -37646,7 +37646,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -37658,29 +37658,29 @@ "name": "bool", "type": "bool" }, - "id": 537, + "id": 29, "name": "ElementaryTypeName", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 538, + "id": 30, "name": "VariableDeclaration", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 539, + "id": 31, "name": "ParameterList", - "src": "1804:6:1" + "src": "1852:6:0" } ], - "id": 540, + "id": 32, "name": "FunctionDefinition", - "src": "1735:76:1" + "src": "1783:76:0" } ], - "id": 541, + "id": 33, "name": "ContractDefinition", - "src": "1366:447:1" + "src": "1405:457:0" }, { "attributes": { @@ -37694,33 +37694,33 @@ ".0" ] }, - "id": 542, + "id": 34, "name": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Required interface of an ERC721 compliant contract." }, - "id": 543, + "id": 35, "name": "StructuredDocumentation", - "src": "1907:67:1" + "src": "1962:69:0" }, { "attributes": {}, @@ -37728,17 +37728,17 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 544, + "id": 36, "name": "UserDefinedTypeName", - "src": "1996:7:1" + "src": "2054:7:0" } ], - "id": 545, + "id": 37, "name": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" }, { "attributes": { @@ -37750,9 +37750,9 @@ "attributes": { "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 546, + "id": 38, "name": "StructuredDocumentation", - "src": "2010:88:1" + "src": "2069:90:0" }, { "children": [ @@ -37762,7 +37762,7 @@ "indexed": true, "mutability": "mutable", "name": "from", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37775,14 +37775,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 547, + "id": 39, "name": "ElementaryTypeName", - "src": "2118:7:1" + "src": "2180:7:0" } ], - "id": 548, + "id": 40, "name": "VariableDeclaration", - "src": "2118:20:1" + "src": "2180:20:0" }, { "attributes": { @@ -37790,7 +37790,7 @@ "indexed": true, "mutability": "mutable", "name": "to", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37803,14 +37803,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 549, + "id": 41, "name": "ElementaryTypeName", - "src": "2140:7:1" + "src": "2202:7:0" } ], - "id": 550, + "id": 42, "name": "VariableDeclaration", - "src": "2140:18:1" + "src": "2202:18:0" }, { "attributes": { @@ -37818,7 +37818,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -37830,24 +37830,24 @@ "name": "uint256", "type": "uint256" }, - "id": 551, + "id": 43, "name": "ElementaryTypeName", - "src": "2160:7:1" + "src": "2222:7:0" } ], - "id": 552, + "id": 44, "name": "VariableDeclaration", - "src": "2160:23:1" + "src": "2222:23:0" } ], - "id": 553, + "id": 45, "name": "ParameterList", - "src": "2117:67:1" + "src": "2179:67:0" } ], - "id": 554, + "id": 46, "name": "EventDefinition", - "src": "2103:82:1" + "src": "2165:82:0" }, { "attributes": { @@ -37859,9 +37859,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 555, + "id": 47, "name": "StructuredDocumentation", - "src": "2191:94:1" + "src": "2255:96:0" }, { "children": [ @@ -37871,7 +37871,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37884,14 +37884,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 556, + "id": 48, "name": "ElementaryTypeName", - "src": "2305:7:1" + "src": "2372:7:0" } ], - "id": 557, + "id": 49, "name": "VariableDeclaration", - "src": "2305:21:1" + "src": "2372:21:0" }, { "attributes": { @@ -37899,7 +37899,7 @@ "indexed": true, "mutability": "mutable", "name": "approved", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37912,14 +37912,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 558, + "id": 50, "name": "ElementaryTypeName", - "src": "2328:7:1" + "src": "2395:7:0" } ], - "id": 559, + "id": 51, "name": "VariableDeclaration", - "src": "2328:24:1" + "src": "2395:24:0" }, { "attributes": { @@ -37927,7 +37927,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -37939,24 +37939,24 @@ "name": "uint256", "type": "uint256" }, - "id": 560, + "id": 52, "name": "ElementaryTypeName", - "src": "2354:7:1" + "src": "2421:7:0" } ], - "id": 561, + "id": 53, "name": "VariableDeclaration", - "src": "2354:23:1" + "src": "2421:23:0" } ], - "id": 562, + "id": 54, "name": "ParameterList", - "src": "2304:74:1" + "src": "2371:74:0" } ], - "id": 563, + "id": 55, "name": "EventDefinition", - "src": "2290:89:1" + "src": "2357:89:0" }, { "attributes": { @@ -37968,9 +37968,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 564, + "id": 56, "name": "StructuredDocumentation", - "src": "2385:117:1" + "src": "2454:119:0" }, { "children": [ @@ -37980,7 +37980,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37993,14 +37993,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 565, + "id": 57, "name": "ElementaryTypeName", - "src": "2528:7:1" + "src": "2600:7:0" } ], - "id": 566, + "id": 58, "name": "VariableDeclaration", - "src": "2528:21:1" + "src": "2600:21:0" }, { "attributes": { @@ -38008,7 +38008,7 @@ "indexed": true, "mutability": "mutable", "name": "operator", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38021,14 +38021,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 567, + "id": 59, "name": "ElementaryTypeName", - "src": "2551:7:1" + "src": "2623:7:0" } ], - "id": 568, + "id": 60, "name": "VariableDeclaration", - "src": "2551:24:1" + "src": "2623:24:0" }, { "attributes": { @@ -38036,7 +38036,7 @@ "indexed": false, "mutability": "mutable", "name": "approved", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38048,24 +38048,24 @@ "name": "bool", "type": "bool" }, - "id": 569, + "id": 61, "name": "ElementaryTypeName", - "src": "2577:4:1" + "src": "2649:4:0" } ], - "id": 570, + "id": 62, "name": "VariableDeclaration", - "src": "2577:13:1" + "src": "2649:13:0" } ], - "id": 571, + "id": 63, "name": "ParameterList", - "src": "2527:64:1" + "src": "2599:64:0" } ], - "id": 572, + "id": 64, "name": "EventDefinition", - "src": "2507:85:1" + "src": "2579:85:0" }, { "attributes": { @@ -38077,7 +38077,7 @@ null ], "name": "balanceOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38087,9 +38087,9 @@ "attributes": { "text": " @dev Returns the number of tokens in ``owner``'s account." }, - "id": 573, + "id": 65, "name": "StructuredDocumentation", - "src": "2598:76:1" + "src": "2672:78:0" }, { "children": [ @@ -38098,7 +38098,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38111,19 +38111,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 574, + "id": 66, "name": "ElementaryTypeName", - "src": "2698:7:1" + "src": "2775:7:0" } ], - "id": 575, + "id": 67, "name": "VariableDeclaration", - "src": "2698:13:1" + "src": "2775:13:0" } ], - "id": 576, + "id": 68, "name": "ParameterList", - "src": "2697:15:1" + "src": "2774:15:0" }, { "children": [ @@ -38132,7 +38132,7 @@ "constant": false, "mutability": "mutable", "name": "balance", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38144,24 +38144,24 @@ "name": "uint256", "type": "uint256" }, - "id": 577, + "id": 69, "name": "ElementaryTypeName", - "src": "2736:7:1" + "src": "2813:7:0" } ], - "id": 578, + "id": 70, "name": "VariableDeclaration", - "src": "2736:15:1" + "src": "2813:15:0" } ], - "id": 579, + "id": 71, "name": "ParameterList", - "src": "2735:17:1" + "src": "2812:17:0" } ], - "id": 580, + "id": 72, "name": "FunctionDefinition", - "src": "2679:74:1" + "src": "2756:74:0" }, { "attributes": { @@ -38173,7 +38173,7 @@ null ], "name": "ownerOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38183,9 +38183,9 @@ "attributes": { "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 581, + "id": 73, "name": "StructuredDocumentation", - "src": "2759:131:1" + "src": "2838:137:0" }, { "children": [ @@ -38194,7 +38194,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38206,19 +38206,19 @@ "name": "uint256", "type": "uint256" }, - "id": 582, + "id": 74, "name": "ElementaryTypeName", - "src": "2912:7:1" + "src": "2998:7:0" } ], - "id": 583, + "id": 75, "name": "VariableDeclaration", - "src": "2912:15:1" + "src": "2998:15:0" } ], - "id": 584, + "id": 76, "name": "ParameterList", - "src": "2911:17:1" + "src": "2997:17:0" }, { "children": [ @@ -38227,7 +38227,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38240,24 +38240,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 585, + "id": 77, "name": "ElementaryTypeName", - "src": "2952:7:1" + "src": "3038:7:0" } ], - "id": 586, + "id": 78, "name": "VariableDeclaration", - "src": "2952:13:1" + "src": "3038:13:0" } ], - "id": 587, + "id": 79, "name": "ParameterList", - "src": "2951:15:1" + "src": "3037:15:0" } ], - "id": 588, + "id": 80, "name": "FunctionDefinition", - "src": "2895:72:1" + "src": "2981:72:0" }, { "attributes": { @@ -38269,7 +38269,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38279,9 +38279,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 589, + "id": 81, "name": "StructuredDocumentation", - "src": "2973:690:1" + "src": "3061:703:0" }, { "children": [ @@ -38290,7 +38290,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38303,21 +38303,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 590, + "id": 82, "name": "ElementaryTypeName", - "src": "3694:7:1" + "src": "3796:7:0" } ], - "id": 591, + "id": 83, "name": "VariableDeclaration", - "src": "3694:12:1" + "src": "3796:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38330,21 +38330,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 592, + "id": 84, "name": "ElementaryTypeName", - "src": "3708:7:1" + "src": "3810:7:0" } ], - "id": 593, + "id": 85, "name": "VariableDeclaration", - "src": "3708:10:1" + "src": "3810:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38356,19 +38356,19 @@ "name": "uint256", "type": "uint256" }, - "id": 594, + "id": 86, "name": "ElementaryTypeName", - "src": "3720:7:1" + "src": "3822:7:0" } ], - "id": 595, + "id": 87, "name": "VariableDeclaration", - "src": "3720:15:1" + "src": "3822:15:0" } ], - "id": 596, + "id": 88, "name": "ParameterList", - "src": "3693:43:1" + "src": "3795:43:0" }, { "attributes": { @@ -38377,14 +38377,14 @@ ] }, "children": [], - "id": 597, + "id": 89, "name": "ParameterList", - "src": "3745:0:1" + "src": "3847:0:0" } ], - "id": 598, + "id": 90, "name": "FunctionDefinition", - "src": "3668:78:1" + "src": "3770:78:0" }, { "attributes": { @@ -38396,7 +38396,7 @@ null ], "name": "transferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38406,9 +38406,9 @@ "attributes": { "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, - "id": 599, + "id": 91, "name": "StructuredDocumentation", - "src": "3752:504:1" + "src": "3856:517:0" }, { "children": [ @@ -38417,7 +38417,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38430,21 +38430,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 600, + "id": 92, "name": "ElementaryTypeName", - "src": "4283:7:1" + "src": "4401:7:0" } ], - "id": 601, + "id": 93, "name": "VariableDeclaration", - "src": "4283:12:1" + "src": "4401:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38457,21 +38457,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 602, + "id": 94, "name": "ElementaryTypeName", - "src": "4297:7:1" + "src": "4415:7:0" } ], - "id": 603, + "id": 95, "name": "VariableDeclaration", - "src": "4297:10:1" + "src": "4415:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38483,19 +38483,19 @@ "name": "uint256", "type": "uint256" }, - "id": 604, + "id": 96, "name": "ElementaryTypeName", - "src": "4309:7:1" + "src": "4427:7:0" } ], - "id": 605, + "id": 97, "name": "VariableDeclaration", - "src": "4309:15:1" + "src": "4427:15:0" } ], - "id": 606, + "id": 98, "name": "ParameterList", - "src": "4282:43:1" + "src": "4400:43:0" }, { "attributes": { @@ -38504,14 +38504,14 @@ ] }, "children": [], - "id": 607, + "id": 99, "name": "ParameterList", - "src": "4334:0:1" + "src": "4452:0:0" } ], - "id": 608, + "id": 100, "name": "FunctionDefinition", - "src": "4261:74:1" + "src": "4379:74:0" }, { "attributes": { @@ -38523,7 +38523,7 @@ null ], "name": "approve", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38533,9 +38533,9 @@ "attributes": { "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, - "id": 609, + "id": 101, "name": "StructuredDocumentation", - "src": "4341:452:1" + "src": "4461:464:0" }, { "children": [ @@ -38544,7 +38544,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38557,21 +38557,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 610, + "id": 102, "name": "ElementaryTypeName", - "src": "4815:7:1" + "src": "4948:7:0" } ], - "id": 611, + "id": 103, "name": "VariableDeclaration", - "src": "4815:10:1" + "src": "4948:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38583,19 +38583,19 @@ "name": "uint256", "type": "uint256" }, - "id": 612, + "id": 104, "name": "ElementaryTypeName", - "src": "4827:7:1" + "src": "4960:7:0" } ], - "id": 613, + "id": 105, "name": "VariableDeclaration", - "src": "4827:15:1" + "src": "4960:15:0" } ], - "id": 614, + "id": 106, "name": "ParameterList", - "src": "4814:29:1" + "src": "4947:29:0" }, { "attributes": { @@ -38604,14 +38604,14 @@ ] }, "children": [], - "id": 615, + "id": 107, "name": "ParameterList", - "src": "4852:0:1" + "src": "4985:0:0" } ], - "id": 616, + "id": 108, "name": "FunctionDefinition", - "src": "4798:55:1" + "src": "4931:55:0" }, { "attributes": { @@ -38623,7 +38623,7 @@ null ], "name": "getApproved", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38633,9 +38633,9 @@ "attributes": { "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 617, + "id": 109, "name": "StructuredDocumentation", - "src": "4859:139:1" + "src": "4994:145:0" }, { "children": [ @@ -38644,7 +38644,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38656,19 +38656,19 @@ "name": "uint256", "type": "uint256" }, - "id": 618, + "id": 110, "name": "ElementaryTypeName", - "src": "5024:7:1" + "src": "5166:7:0" } ], - "id": 619, + "id": 111, "name": "VariableDeclaration", - "src": "5024:15:1" + "src": "5166:15:0" } ], - "id": 620, + "id": 112, "name": "ParameterList", - "src": "5023:17:1" + "src": "5165:17:0" }, { "children": [ @@ -38677,7 +38677,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38690,24 +38690,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 621, + "id": 113, "name": "ElementaryTypeName", - "src": "5064:7:1" + "src": "5206:7:0" } ], - "id": 622, + "id": 114, "name": "VariableDeclaration", - "src": "5064:16:1" + "src": "5206:16:0" } ], - "id": 623, + "id": 115, "name": "ParameterList", - "src": "5063:18:1" + "src": "5205:18:0" } ], - "id": 624, + "id": 116, "name": "FunctionDefinition", - "src": "5003:79:1" + "src": "5145:79:0" }, { "attributes": { @@ -38719,7 +38719,7 @@ null ], "name": "setApprovalForAll", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38729,9 +38729,9 @@ "attributes": { "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, - "id": 625, + "id": 117, "name": "StructuredDocumentation", - "src": "5088:309:1" + "src": "5232:318:0" }, { "children": [ @@ -38740,7 +38740,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38753,21 +38753,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 626, + "id": 118, "name": "ElementaryTypeName", - "src": "5429:7:1" + "src": "5583:7:0" } ], - "id": 627, + "id": 119, "name": "VariableDeclaration", - "src": "5429:16:1" + "src": "5583:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_approved", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38779,19 +38779,19 @@ "name": "bool", "type": "bool" }, - "id": 628, + "id": 120, "name": "ElementaryTypeName", - "src": "5447:4:1" + "src": "5601:4:0" } ], - "id": 629, + "id": 121, "name": "VariableDeclaration", - "src": "5447:14:1" + "src": "5601:14:0" } ], - "id": 630, + "id": 122, "name": "ParameterList", - "src": "5428:34:1" + "src": "5582:34:0" }, { "attributes": { @@ -38800,14 +38800,14 @@ ] }, "children": [], - "id": 631, + "id": 123, "name": "ParameterList", - "src": "5471:0:1" + "src": "5625:0:0" } ], - "id": 632, + "id": 124, "name": "FunctionDefinition", - "src": "5402:70:1" + "src": "5556:70:0" }, { "attributes": { @@ -38819,7 +38819,7 @@ null ], "name": "isApprovedForAll", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38829,9 +38829,9 @@ "attributes": { "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, - "id": 633, + "id": 125, "name": "StructuredDocumentation", - "src": "5478:138:1" + "src": "5634:142:0" }, { "children": [ @@ -38840,7 +38840,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38853,21 +38853,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 634, + "id": 126, "name": "ElementaryTypeName", - "src": "5647:7:1" + "src": "5808:7:0" } ], - "id": 635, + "id": 127, "name": "VariableDeclaration", - "src": "5647:13:1" + "src": "5808:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38880,19 +38880,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 636, + "id": 128, "name": "ElementaryTypeName", - "src": "5662:7:1" + "src": "5823:7:0" } ], - "id": 637, + "id": 129, "name": "VariableDeclaration", - "src": "5662:16:1" + "src": "5823:16:0" } ], - "id": 638, + "id": 130, "name": "ParameterList", - "src": "5646:33:1" + "src": "5807:33:0" }, { "children": [ @@ -38901,7 +38901,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38913,24 +38913,24 @@ "name": "bool", "type": "bool" }, - "id": 639, + "id": 131, "name": "ElementaryTypeName", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 640, + "id": 132, "name": "VariableDeclaration", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 641, + "id": 133, "name": "ParameterList", - "src": "5702:6:1" + "src": "5863:6:0" } ], - "id": 642, + "id": 134, "name": "FunctionDefinition", - "src": "5621:88:1" + "src": "5782:88:0" }, { "attributes": { @@ -38942,7 +38942,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38952,9 +38952,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 643, + "id": 135, "name": "StructuredDocumentation", - "src": "5715:568:1" + "src": "5878:580:0" }, { "children": [ @@ -38963,7 +38963,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38976,21 +38976,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 644, + "id": 136, "name": "ElementaryTypeName", - "src": "6314:7:1" + "src": "6490:7:0" } ], - "id": 645, + "id": 137, "name": "VariableDeclaration", - "src": "6314:12:1" + "src": "6490:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39003,21 +39003,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 646, + "id": 138, "name": "ElementaryTypeName", - "src": "6328:7:1" + "src": "6504:7:0" } ], - "id": 647, + "id": 139, "name": "VariableDeclaration", - "src": "6328:10:1" + "src": "6504:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39029,21 +39029,21 @@ "name": "uint256", "type": "uint256" }, - "id": 648, + "id": 140, "name": "ElementaryTypeName", - "src": "6340:7:1" + "src": "6516:7:0" } ], - "id": 649, + "id": 141, "name": "VariableDeclaration", - "src": "6340:15:1" + "src": "6516:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39055,19 +39055,19 @@ "name": "bytes", "type": "bytes" }, - "id": 650, + "id": 142, "name": "ElementaryTypeName", - "src": "6357:5:1" + "src": "6533:5:0" } ], - "id": 651, + "id": 143, "name": "VariableDeclaration", - "src": "6357:19:1" + "src": "6533:19:0" } ], - "id": 652, + "id": 144, "name": "ParameterList", - "src": "6313:64:1" + "src": "6489:64:0" }, { "attributes": { @@ -39076,19 +39076,19 @@ ] }, "children": [], - "id": 653, + "id": 145, "name": "ParameterList", - "src": "6386:0:1" + "src": "6562:0:0" } ], - "id": 654, + "id": 146, "name": "FunctionDefinition", - "src": "6288:99:1" + "src": "6464:99:0" } ], - "id": 655, + "id": 147, "name": "ContractDefinition", - "src": "1975:4414:1" + "src": "2033:4533:0" }, { "attributes": { @@ -39102,35 +39102,35 @@ ".0" ] }, - "id": 656, + "id": 148, "name": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 657, + "id": 149, "name": "StructuredDocumentation", - "src": "6491:133:1" + "src": "6674:136:0" }, { "attributes": {}, @@ -39138,17 +39138,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 658, + "id": 150, "name": "UserDefinedTypeName", - "src": "6654:7:1" + "src": "6841:7:0" } ], - "id": 659, + "id": 151, "name": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" }, { "attributes": { @@ -39160,7 +39160,7 @@ null ], "name": "name", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39170,9 +39170,9 @@ "attributes": { "text": " @dev Returns the token collection name." }, - "id": 660, + "id": 152, "name": "StructuredDocumentation", - "src": "6669:58:1" + "src": "6858:60:0" }, { "attributes": { @@ -39181,9 +39181,9 @@ ] }, "children": [], - "id": 661, + "id": 153, "name": "ParameterList", - "src": "6745:2:1" + "src": "6937:2:0" }, { "children": [ @@ -39192,7 +39192,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 665, + "scope": 157, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39204,24 +39204,24 @@ "name": "string", "type": "string" }, - "id": 662, + "id": 154, "name": "ElementaryTypeName", - "src": "6771:6:1" + "src": "6963:6:0" } ], - "id": 663, + "id": 155, "name": "VariableDeclaration", - "src": "6771:13:1" + "src": "6963:13:0" } ], - "id": 664, + "id": 156, "name": "ParameterList", - "src": "6770:15:1" + "src": "6962:15:0" } ], - "id": 665, + "id": 157, "name": "FunctionDefinition", - "src": "6732:54:1" + "src": "6924:54:0" }, { "attributes": { @@ -39233,7 +39233,7 @@ null ], "name": "symbol", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39243,9 +39243,9 @@ "attributes": { "text": " @dev Returns the token collection symbol." }, - "id": 666, + "id": 158, "name": "StructuredDocumentation", - "src": "6792:60:1" + "src": "6986:62:0" }, { "attributes": { @@ -39254,9 +39254,9 @@ ] }, "children": [], - "id": 667, + "id": 159, "name": "ParameterList", - "src": "6872:2:1" + "src": "7069:2:0" }, { "children": [ @@ -39265,7 +39265,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 671, + "scope": 163, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39277,24 +39277,24 @@ "name": "string", "type": "string" }, - "id": 668, + "id": 160, "name": "ElementaryTypeName", - "src": "6898:6:1" + "src": "7095:6:0" } ], - "id": 669, + "id": 161, "name": "VariableDeclaration", - "src": "6898:13:1" + "src": "7095:13:0" } ], - "id": 670, + "id": 162, "name": "ParameterList", - "src": "6897:15:1" + "src": "7094:15:0" } ], - "id": 671, + "id": 163, "name": "FunctionDefinition", - "src": "6857:56:1" + "src": "7054:56:0" }, { "attributes": { @@ -39306,7 +39306,7 @@ null ], "name": "tokenURI", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39316,9 +39316,9 @@ "attributes": { "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, - "id": 672, + "id": 164, "name": "StructuredDocumentation", - "src": "6919:90:1" + "src": "7118:92:0" }, { "children": [ @@ -39327,7 +39327,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39339,19 +39339,19 @@ "name": "uint256", "type": "uint256" }, - "id": 673, + "id": 165, "name": "ElementaryTypeName", - "src": "7032:7:1" + "src": "7234:7:0" } ], - "id": 674, + "id": 166, "name": "VariableDeclaration", - "src": "7032:15:1" + "src": "7234:15:0" } ], - "id": 675, + "id": 167, "name": "ParameterList", - "src": "7031:17:1" + "src": "7233:17:0" }, { "children": [ @@ -39360,7 +39360,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39372,29 +39372,29 @@ "name": "string", "type": "string" }, - "id": 676, + "id": 168, "name": "ElementaryTypeName", - "src": "7072:6:1" + "src": "7274:6:0" } ], - "id": 677, + "id": 169, "name": "VariableDeclaration", - "src": "7072:13:1" + "src": "7274:13:0" } ], - "id": 678, + "id": 170, "name": "ParameterList", - "src": "7071:15:1" + "src": "7273:15:0" } ], - "id": 679, + "id": 171, "name": "FunctionDefinition", - "src": "7014:73:1" + "src": "7216:73:0" } ], - "id": 680, + "id": 172, "name": "ContractDefinition", - "src": "6625:464:1" + "src": "6812:480:0" }, { "attributes": { @@ -39408,35 +39408,35 @@ ".0" ] }, - "id": 681, + "id": 173, "name": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 682, + "id": 174, "name": "StructuredDocumentation", - "src": "7195:136:1" + "src": "7406:139:0" }, { "attributes": {}, @@ -39444,17 +39444,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 683, + "id": 175, "name": "UserDefinedTypeName", - "src": "7363:7:1" + "src": "7578:7:0" } ], - "id": 684, + "id": 176, "name": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" }, { "attributes": { @@ -39466,7 +39466,7 @@ null ], "name": "totalSupply", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39476,9 +39476,9 @@ "attributes": { "text": " @dev Returns the total amount of tokens stored by the contract." }, - "id": 685, + "id": 177, "name": "StructuredDocumentation", - "src": "7378:82:1" + "src": "7595:84:0" }, { "attributes": { @@ -39487,9 +39487,9 @@ ] }, "children": [], - "id": 686, + "id": 178, "name": "ParameterList", - "src": "7485:2:1" + "src": "7705:2:0" }, { "children": [ @@ -39498,7 +39498,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 690, + "scope": 182, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39510,24 +39510,24 @@ "name": "uint256", "type": "uint256" }, - "id": 687, + "id": 179, "name": "ElementaryTypeName", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 688, + "id": 180, "name": "VariableDeclaration", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 689, + "id": 181, "name": "ParameterList", - "src": "7510:9:1" + "src": "7730:9:0" } ], - "id": 690, + "id": 182, "name": "FunctionDefinition", - "src": "7465:55:1" + "src": "7685:55:0" }, { "attributes": { @@ -39539,7 +39539,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39549,9 +39549,9 @@ "attributes": { "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, - "id": 691, + "id": 183, "name": "StructuredDocumentation", - "src": "7526:171:1" + "src": "7748:174:0" }, { "children": [ @@ -39560,7 +39560,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39573,21 +39573,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 692, + "id": 184, "name": "ElementaryTypeName", - "src": "7731:7:1" + "src": "7957:7:0" } ], - "id": 693, + "id": 185, "name": "VariableDeclaration", - "src": "7731:13:1" + "src": "7957:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39599,19 +39599,19 @@ "name": "uint256", "type": "uint256" }, - "id": 694, + "id": 186, "name": "ElementaryTypeName", - "src": "7746:7:1" + "src": "7972:7:0" } ], - "id": 695, + "id": 187, "name": "VariableDeclaration", - "src": "7746:13:1" + "src": "7972:13:0" } ], - "id": 696, + "id": 188, "name": "ParameterList", - "src": "7730:30:1" + "src": "7956:30:0" }, { "children": [ @@ -39620,7 +39620,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39632,24 +39632,24 @@ "name": "uint256", "type": "uint256" }, - "id": 697, + "id": 189, "name": "ElementaryTypeName", - "src": "7784:7:1" + "src": "8010:7:0" } ], - "id": 698, + "id": 190, "name": "VariableDeclaration", - "src": "7784:15:1" + "src": "8010:15:0" } ], - "id": 699, + "id": 191, "name": "ParameterList", - "src": "7783:17:1" + "src": "8009:17:0" } ], - "id": 700, + "id": 192, "name": "FunctionDefinition", - "src": "7702:99:1" + "src": "7928:99:0" }, { "attributes": { @@ -39661,7 +39661,7 @@ null ], "name": "tokenByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39671,9 +39671,9 @@ "attributes": { "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, - "id": 701, + "id": 193, "name": "StructuredDocumentation", - "src": "7807:164:1" + "src": "8035:167:0" }, { "children": [ @@ -39682,7 +39682,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39694,19 +39694,19 @@ "name": "uint256", "type": "uint256" }, - "id": 702, + "id": 194, "name": "ElementaryTypeName", - "src": "7998:7:1" + "src": "8230:7:0" } ], - "id": 703, + "id": 195, "name": "VariableDeclaration", - "src": "7998:13:1" + "src": "8230:13:0" } ], - "id": 704, + "id": 196, "name": "ParameterList", - "src": "7997:15:1" + "src": "8229:15:0" }, { "children": [ @@ -39715,7 +39715,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39727,29 +39727,29 @@ "name": "uint256", "type": "uint256" }, - "id": 705, + "id": 197, "name": "ElementaryTypeName", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 706, + "id": 198, "name": "VariableDeclaration", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 707, + "id": 199, "name": "ParameterList", - "src": "8035:9:1" + "src": "8267:9:0" } ], - "id": 708, + "id": 200, "name": "FunctionDefinition", - "src": "7976:69:1" + "src": "8208:69:0" } ], - "id": 709, + "id": 201, "name": "ContractDefinition", - "src": "7332:715:1" + "src": "7547:733:0" }, { "attributes": { @@ -39763,9 +39763,9 @@ ".0" ] }, - "id": 710, + "id": 202, "name": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "attributes": { @@ -39779,19 +39779,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, - "id": 711, + "id": 203, "name": "StructuredDocumentation", - "src": "8150:152:1" + "src": "8390:156:0" }, { "attributes": { @@ -39803,7 +39803,7 @@ null ], "name": "onERC721Received", - "scope": 726, + "scope": 218, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -39813,9 +39813,9 @@ "attributes": { "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, - "id": 712, + "id": 204, "name": "StructuredDocumentation", - "src": "8335:485:1" + "src": "8581:493:0" }, { "children": [ @@ -39824,7 +39824,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39837,21 +39837,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 713, + "id": 205, "name": "ElementaryTypeName", - "src": "8851:7:1" + "src": "9106:7:0" } ], - "id": 714, + "id": 206, "name": "VariableDeclaration", - "src": "8851:16:1" + "src": "9106:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "from", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39864,21 +39864,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 715, + "id": 207, "name": "ElementaryTypeName", - "src": "8869:7:1" + "src": "9124:7:0" } ], - "id": 716, + "id": 208, "name": "VariableDeclaration", - "src": "8869:12:1" + "src": "9124:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39890,21 +39890,21 @@ "name": "uint256", "type": "uint256" }, - "id": 717, + "id": 209, "name": "ElementaryTypeName", - "src": "8883:7:1" + "src": "9138:7:0" } ], - "id": 718, + "id": 210, "name": "VariableDeclaration", - "src": "8883:15:1" + "src": "9138:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39916,19 +39916,19 @@ "name": "bytes", "type": "bytes" }, - "id": 719, + "id": 211, "name": "ElementaryTypeName", - "src": "8900:5:1" + "src": "9155:5:0" } ], - "id": 720, + "id": 212, "name": "VariableDeclaration", - "src": "8900:19:1" + "src": "9155:19:0" } ], - "id": 721, + "id": 213, "name": "ParameterList", - "src": "8850:70:1" + "src": "9105:70:0" }, { "children": [ @@ -39937,7 +39937,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -39949,29 +39949,29 @@ "name": "bytes4", "type": "bytes4" }, - "id": 722, + "id": 214, "name": "ElementaryTypeName", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 723, + "id": 215, "name": "VariableDeclaration", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 724, + "id": 216, "name": "ParameterList", - "src": "8938:8:1" + "src": "9193:8:0" } ], - "id": 725, + "id": 217, "name": "FunctionDefinition", - "src": "8825:122:1" + "src": "9080:122:0" } ], - "id": 726, + "id": 218, "name": "ContractDefinition", - "src": "8303:646:1" + "src": "8548:657:0" }, { "attributes": { @@ -39985,33 +39985,33 @@ ".0" ] }, - "id": 727, + "id": 219, "name": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "attributes": { "abstract": true, "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, - "id": 728, + "id": 220, "name": "StructuredDocumentation", - "src": "9043:171:1" + "src": "9305:176:0" }, { "attributes": {}, @@ -40019,24 +40019,24 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 729, + "id": 221, "name": "UserDefinedTypeName", - "src": "9243:7:1" + "src": "9511:7:0" } ], - "id": 730, + "id": 222, "name": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -40048,9 +40048,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 731, + "id": 223, "name": "ElementaryTypeName", - "src": "9340:6:1" + "src": "9612:6:0" }, { "attributes": { @@ -40063,21 +40063,21 @@ "type": "int_const 33540519", "value": "0x01ffc9a7" }, - "id": 732, + "id": 224, "name": "Literal", - "src": "9387:10:1" + "src": "9659:10:0" } ], - "id": 733, + "id": 225, "name": "VariableDeclaration", - "src": "9340:57:1" + "src": "9612:57:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_supportedInterfaces", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "mapping(bytes4 => bool)", @@ -40094,36 +40094,36 @@ "name": "bytes4", "type": "bytes4" }, - "id": 735, + "id": 227, "name": "ElementaryTypeName", - "src": "9499:6:1" + "src": "9776:6:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 736, + "id": 228, "name": "ElementaryTypeName", - "src": "9509:4:1" + "src": "9786:4:0" } ], - "id": 737, + "id": 229, "name": "Mapping", - "src": "9491:23:1" + "src": "9768:23:0" }, { "attributes": { "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 734, + "id": 226, "name": "StructuredDocumentation", - "src": "9404:82:1" + "src": "9678:84:0" } ], - "id": 738, + "id": 230, "name": "VariableDeclaration", - "src": "9491:52:1" + "src": "9768:52:0" }, { "attributes": { @@ -40134,7 +40134,7 @@ null ], "name": "", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -40147,9 +40147,9 @@ ] }, "children": [], - "id": 739, + "id": 231, "name": "ParameterList", - "src": "9562:2:1" + "src": "9841:2:0" }, { "attributes": { @@ -40158,9 +40158,9 @@ ] }, "children": [], - "id": 740, + "id": 232, "name": "ParameterList", - "src": "9565:0:1" + "src": "9844:0:0" }, { "children": [ @@ -40192,51 +40192,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 741, + "id": 233, "name": "Identifier", - "src": "9711:18:1" + "src": "9993:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 733, + "referencedDeclaration": 225, "type": "bytes4", "value": "_INTERFACE_ID_ERC165" }, - "id": 742, + "id": 234, "name": "Identifier", - "src": "9730:20:1" + "src": "10012:20:0" } ], - "id": 743, + "id": 235, "name": "FunctionCall", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 744, + "id": 236, "name": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 745, + "id": 237, "name": "Block", - "src": "9565:193:1" + "src": "9844:197:0" } ], - "id": 746, + "id": 238, "name": "FunctionDefinition", - "src": "9550:208:1" + "src": "9829:212:0" }, { "attributes": { "baseFunctions": [ - 540 + 32 ], "functionSelector": "01ffc9a7", "implemented": true, @@ -40246,7 +40246,7 @@ null ], "name": "supportsInterface", - "scope": 781, + "scope": 273, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -40256,9 +40256,9 @@ "attributes": { "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, - "id": 747, + "id": 239, "name": "StructuredDocumentation", - "src": "9764:139:1" + "src": "10049:143:0" }, { "attributes": { @@ -40266,9 +40266,9 @@ null ] }, - "id": 751, + "id": 243, "name": "OverrideSpecifier", - "src": "9975:8:1" + "src": "10265:8:0" }, { "children": [ @@ -40277,7 +40277,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40289,19 +40289,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 748, + "id": 240, "name": "ElementaryTypeName", - "src": "9935:6:1" + "src": "10225:6:0" } ], - "id": 749, + "id": 241, "name": "VariableDeclaration", - "src": "9935:18:1" + "src": "10225:18:0" } ], - "id": 750, + "id": 242, "name": "ParameterList", - "src": "9934:20:1" + "src": "10224:20:0" }, { "children": [ @@ -40310,7 +40310,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40322,25 +40322,25 @@ "name": "bool", "type": "bool" }, - "id": 752, + "id": 244, "name": "ElementaryTypeName", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 753, + "id": 245, "name": "VariableDeclaration", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 754, + "id": 246, "name": "ParameterList", - "src": "9992:6:1" + "src": "10282:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 754 + "functionReturnParameters": 246 }, "children": [ { @@ -40357,46 +40357,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 755, + "id": 247, "name": "Identifier", - "src": "10016:20:1" + "src": "10307:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 749, + "referencedDeclaration": 241, "type": "bytes4", "value": "interfaceId" }, - "id": 756, + "id": 248, "name": "Identifier", - "src": "10037:11:1" + "src": "10328:11:0" } ], - "id": 757, + "id": 249, "name": "IndexAccess", - "src": "10016:33:1" + "src": "10307:33:0" } ], - "id": 758, + "id": 250, "name": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ], - "id": 759, + "id": 251, "name": "Block", - "src": "9999:57:1" + "src": "10289:59:0" } ], - "id": 760, + "id": 252, "name": "FunctionDefinition", - "src": "9908:148:1" + "src": "10198:150:0" }, { "attributes": { @@ -40407,7 +40407,7 @@ null ], "name": "_registerInterface", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -40417,9 +40417,9 @@ "attributes": { "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 761, + "id": 253, "name": "StructuredDocumentation", - "src": "10062:383:1" + "src": "10356:393:0" }, { "children": [ @@ -40428,7 +40428,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 780, + "scope": 272, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40440,19 +40440,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 762, + "id": 254, "name": "ElementaryTypeName", - "src": "10478:6:1" + "src": "10783:6:0" } ], - "id": 763, + "id": 255, "name": "VariableDeclaration", - "src": "10478:18:1" + "src": "10783:18:0" } ], - "id": 764, + "id": 256, "name": "ParameterList", - "src": "10477:20:1" + "src": "10782:20:0" }, { "attributes": { @@ -40461,9 +40461,9 @@ ] }, "children": [], - "id": 765, + "id": 257, "name": "ParameterList", - "src": "10515:0:1" + "src": "10820:0:0" }, { "children": [ @@ -40504,9 +40504,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 766, + "id": 258, "name": "Identifier", - "src": "10525:7:1" + "src": "10831:7:0" }, { "attributes": { @@ -40527,13 +40527,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 767, + "id": 259, "name": "Identifier", - "src": "10533:11:1" + "src": "10839:11:0" }, { "attributes": { @@ -40546,14 +40546,14 @@ "type": "int_const 4294967295", "value": "0xffffffff" }, - "id": 768, + "id": 260, "name": "Literal", - "src": "10548:10:1" + "src": "10854:10:0" } ], - "id": 769, + "id": 261, "name": "BinaryOperation", - "src": "10533:25:1" + "src": "10839:25:0" }, { "attributes": { @@ -40566,19 +40566,19 @@ "type": "literal_string \"ERC165: invalid interface id\"", "value": "ERC165: invalid interface id" }, - "id": 770, + "id": 262, "name": "Literal", - "src": "10560:30:1" + "src": "10866:30:0" } ], - "id": 771, + "id": 263, "name": "FunctionCall", - "src": "10525:66:1" + "src": "10831:66:0" } ], - "id": 772, + "id": 264, "name": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "children": [ @@ -40606,31 +40606,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 773, + "id": 265, "name": "Identifier", - "src": "10601:20:1" + "src": "10908:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 774, + "id": 266, "name": "Identifier", - "src": "10622:11:1" + "src": "10929:11:0" } ], - "id": 775, + "id": 267, "name": "IndexAccess", - "src": "10601:33:1" + "src": "10908:33:0" }, { "attributes": { @@ -40643,34 +40643,34 @@ "type": "bool", "value": "true" }, - "id": 776, + "id": 268, "name": "Literal", - "src": "10637:4:1" + "src": "10944:4:0" } ], - "id": 777, + "id": 269, "name": "Assignment", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 778, + "id": 270, "name": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 779, + "id": 271, "name": "Block", - "src": "10515:133:1" + "src": "10820:136:0" } ], - "id": 780, + "id": 272, "name": "FunctionDefinition", - "src": "10450:198:1" + "src": "10755:201:0" } ], - "id": 781, + "id": 273, "name": "ContractDefinition", - "src": "9215:1435:1" + "src": "9483:1476:0" }, { "attributes": { @@ -40684,9 +40684,9 @@ ".0" ] }, - "id": 782, + "id": 274, "name": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "attributes": { @@ -40700,19 +40700,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, - "id": 783, + "id": 275, "name": "StructuredDocumentation", - "src": "10736:563:1" + "src": "11050:575:0" }, { "attributes": { @@ -40723,7 +40723,7 @@ null ], "name": "tryAdd", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -40733,9 +40733,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 784, + "id": 276, "name": "StructuredDocumentation", - "src": "11323:131:1" + "src": "11651:135:0" }, { "children": [ @@ -40744,7 +40744,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40756,21 +40756,21 @@ "name": "uint256", "type": "uint256" }, - "id": 785, + "id": 277, "name": "ElementaryTypeName", - "src": "11475:7:1" + "src": "11808:7:0" } ], - "id": 786, + "id": 278, "name": "VariableDeclaration", - "src": "11475:9:1" + "src": "11808:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40782,19 +40782,19 @@ "name": "uint256", "type": "uint256" }, - "id": 787, + "id": 279, "name": "ElementaryTypeName", - "src": "11486:7:1" + "src": "11819:7:0" } ], - "id": 788, + "id": 280, "name": "VariableDeclaration", - "src": "11486:9:1" + "src": "11819:9:0" } ], - "id": 789, + "id": 281, "name": "ParameterList", - "src": "11474:22:1" + "src": "11807:22:0" }, { "children": [ @@ -40803,7 +40803,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40815,21 +40815,21 @@ "name": "bool", "type": "bool" }, - "id": 790, + "id": 282, "name": "ElementaryTypeName", - "src": "11520:4:1" + "src": "11853:4:0" } ], - "id": 791, + "id": 283, "name": "VariableDeclaration", - "src": "11520:4:1" + "src": "11853:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40841,26 +40841,26 @@ "name": "uint256", "type": "uint256" }, - "id": 792, + "id": 284, "name": "ElementaryTypeName", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 793, + "id": 285, "name": "VariableDeclaration", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 794, + "id": 286, "name": "ParameterList", - "src": "11519:15:1" + "src": "11852:15:0" }, { "children": [ { "attributes": { "assignments": [ - 796 + 288 ] }, "children": [ @@ -40869,7 +40869,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 813, + "scope": 305, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40881,14 +40881,14 @@ "name": "uint256", "type": "uint256" }, - "id": 795, + "id": 287, "name": "ElementaryTypeName", - "src": "11545:7:1" + "src": "11879:7:0" } ], - "id": 796, + "id": 288, "name": "VariableDeclaration", - "src": "11545:9:1" + "src": "11879:9:0" }, { "attributes": { @@ -40909,36 +40909,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 797, + "id": 289, "name": "Identifier", - "src": "11557:1:1" + "src": "11891:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 280, "type": "uint256", "value": "b" }, - "id": 798, + "id": 290, "name": "Identifier", - "src": "11561:1:1" + "src": "11895:1:0" } ], - "id": 799, + "id": 291, "name": "BinaryOperation", - "src": "11557:5:1" + "src": "11891:5:0" } ], - "id": 800, + "id": 292, "name": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "attributes": {}, @@ -40962,35 +40962,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 801, + "id": 293, "name": "Identifier", - "src": "11576:1:1" + "src": "11911:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 802, + "id": 294, "name": "Identifier", - "src": "11580:1:1" + "src": "11915:1:0" } ], - "id": 803, + "id": 295, "name": "BinaryOperation", - "src": "11576:5:1" + "src": "11911:5:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -41014,9 +41014,9 @@ "type": "bool", "value": "false" }, - "id": 804, + "id": 296, "name": "Literal", - "src": "11591:5:1" + "src": "11926:5:0" }, { "attributes": { @@ -41029,28 +41029,28 @@ "type": "int_const 0", "value": "0" }, - "id": 805, + "id": 297, "name": "Literal", - "src": "11598:1:1" + "src": "11933:1:0" } ], - "id": 806, + "id": 298, "name": "TupleExpression", - "src": "11590:10:1" + "src": "11925:10:0" } ], - "id": 807, + "id": 299, "name": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } ], - "id": 808, + "id": 300, "name": "IfStatement", - "src": "11572:28:1" + "src": "11907:28:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -41074,42 +41074,42 @@ "type": "bool", "value": "true" }, - "id": 809, + "id": 301, "name": "Literal", - "src": "11618:4:1" + "src": "11954:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 810, + "id": 302, "name": "Identifier", - "src": "11624:1:1" + "src": "11960:1:0" } ], - "id": 811, + "id": 303, "name": "TupleExpression", - "src": "11617:9:1" + "src": "11953:9:0" } ], - "id": 812, + "id": 304, "name": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ], - "id": 813, + "id": 305, "name": "Block", - "src": "11535:98:1" + "src": "11868:102:0" } ], - "id": 814, + "id": 306, "name": "FunctionDefinition", - "src": "11459:174:1" + "src": "11792:178:0" }, { "attributes": { @@ -41120,7 +41120,7 @@ null ], "name": "trySub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41130,9 +41130,9 @@ "attributes": { "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 815, + "id": 307, "name": "StructuredDocumentation", - "src": "11639:135:1" + "src": "11978:139:0" }, { "children": [ @@ -41141,7 +41141,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41153,21 +41153,21 @@ "name": "uint256", "type": "uint256" }, - "id": 816, + "id": 308, "name": "ElementaryTypeName", - "src": "11795:7:1" + "src": "12139:7:0" } ], - "id": 817, + "id": 309, "name": "VariableDeclaration", - "src": "11795:9:1" + "src": "12139:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41179,19 +41179,19 @@ "name": "uint256", "type": "uint256" }, - "id": 818, + "id": 310, "name": "ElementaryTypeName", - "src": "11806:7:1" + "src": "12150:7:0" } ], - "id": 819, + "id": 311, "name": "VariableDeclaration", - "src": "11806:9:1" + "src": "12150:9:0" } ], - "id": 820, + "id": 312, "name": "ParameterList", - "src": "11794:22:1" + "src": "12138:22:0" }, { "children": [ @@ -41200,7 +41200,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41212,21 +41212,21 @@ "name": "bool", "type": "bool" }, - "id": 821, + "id": 313, "name": "ElementaryTypeName", - "src": "11840:4:1" + "src": "12184:4:0" } ], - "id": 822, + "id": 314, "name": "VariableDeclaration", - "src": "11840:4:1" + "src": "12184:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41238,19 +41238,19 @@ "name": "uint256", "type": "uint256" }, - "id": 823, + "id": 315, "name": "ElementaryTypeName", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 824, + "id": 316, "name": "VariableDeclaration", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 825, + "id": 317, "name": "ParameterList", - "src": "11839:15:1" + "src": "12183:15:0" }, { "children": [ @@ -41276,35 +41276,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 826, + "id": 318, "name": "Identifier", - "src": "11869:1:1" + "src": "12214:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 827, + "id": 319, "name": "Identifier", - "src": "11873:1:1" + "src": "12218:1:0" } ], - "id": 828, + "id": 320, "name": "BinaryOperation", - "src": "11869:5:1" + "src": "12214:5:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41328,9 +41328,9 @@ "type": "bool", "value": "false" }, - "id": 829, + "id": 321, "name": "Literal", - "src": "11884:5:1" + "src": "12229:5:0" }, { "attributes": { @@ -41343,28 +41343,28 @@ "type": "int_const 0", "value": "0" }, - "id": 830, + "id": 322, "name": "Literal", - "src": "11891:1:1" + "src": "12236:1:0" } ], - "id": 831, + "id": 323, "name": "TupleExpression", - "src": "11883:10:1" + "src": "12228:10:0" } ], - "id": 832, + "id": 324, "name": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } ], - "id": 833, + "id": 325, "name": "IfStatement", - "src": "11865:28:1" + "src": "12210:28:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41388,9 +41388,9 @@ "type": "bool", "value": "true" }, - "id": 834, + "id": 326, "name": "Literal", - "src": "11911:4:1" + "src": "12257:4:0" }, { "attributes": { @@ -41411,51 +41411,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 835, + "id": 327, "name": "Identifier", - "src": "11917:1:1" + "src": "12263:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 836, + "id": 328, "name": "Identifier", - "src": "11921:1:1" + "src": "12267:1:0" } ], - "id": 837, + "id": 329, "name": "BinaryOperation", - "src": "11917:5:1" + "src": "12263:5:0" } ], - "id": 838, + "id": 330, "name": "TupleExpression", - "src": "11910:13:1" + "src": "12256:13:0" } ], - "id": 839, + "id": 331, "name": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ], - "id": 840, + "id": 332, "name": "Block", - "src": "11855:75:1" + "src": "12199:78:0" } ], - "id": 841, + "id": 333, "name": "FunctionDefinition", - "src": "11779:151:1" + "src": "12123:154:0" }, { "attributes": { @@ -41466,7 +41466,7 @@ null ], "name": "tryMul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41476,9 +41476,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 842, + "id": 334, "name": "StructuredDocumentation", - "src": "11936:137:1" + "src": "12285:141:0" }, { "children": [ @@ -41487,7 +41487,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41499,21 +41499,21 @@ "name": "uint256", "type": "uint256" }, - "id": 843, + "id": 335, "name": "ElementaryTypeName", - "src": "12094:7:1" + "src": "12448:7:0" } ], - "id": 844, + "id": 336, "name": "VariableDeclaration", - "src": "12094:9:1" + "src": "12448:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41525,19 +41525,19 @@ "name": "uint256", "type": "uint256" }, - "id": 845, + "id": 337, "name": "ElementaryTypeName", - "src": "12105:7:1" + "src": "12459:7:0" } ], - "id": 846, + "id": 338, "name": "VariableDeclaration", - "src": "12105:9:1" + "src": "12459:9:0" } ], - "id": 847, + "id": 339, "name": "ParameterList", - "src": "12093:22:1" + "src": "12447:22:0" }, { "children": [ @@ -41546,7 +41546,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41558,21 +41558,21 @@ "name": "bool", "type": "bool" }, - "id": 848, + "id": 340, "name": "ElementaryTypeName", - "src": "12139:4:1" + "src": "12493:4:0" } ], - "id": 849, + "id": 341, "name": "VariableDeclaration", - "src": "12139:4:1" + "src": "12493:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41584,19 +41584,19 @@ "name": "uint256", "type": "uint256" }, - "id": 850, + "id": 342, "name": "ElementaryTypeName", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 851, + "id": 343, "name": "VariableDeclaration", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 852, + "id": 344, "name": "ParameterList", - "src": "12138:15:1" + "src": "12492:15:0" }, { "children": [ @@ -41622,13 +41622,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 853, + "id": 345, "name": "Identifier", - "src": "12386:1:1" + "src": "12744:1:0" }, { "attributes": { @@ -41641,18 +41641,18 @@ "type": "int_const 0", "value": "0" }, - "id": 854, + "id": 346, "name": "Literal", - "src": "12391:1:1" + "src": "12749:1:0" } ], - "id": 855, + "id": 347, "name": "BinaryOperation", - "src": "12386:6:1" + "src": "12744:6:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41676,9 +41676,9 @@ "type": "bool", "value": "true" }, - "id": 856, + "id": 348, "name": "Literal", - "src": "12402:4:1" + "src": "12760:4:0" }, { "attributes": { @@ -41691,29 +41691,29 @@ "type": "int_const 0", "value": "0" }, - "id": 857, + "id": 349, "name": "Literal", - "src": "12408:1:1" + "src": "12766:1:0" } ], - "id": 858, + "id": 350, "name": "TupleExpression", - "src": "12401:9:1" + "src": "12759:9:0" } ], - "id": 859, + "id": 351, "name": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } ], - "id": 860, + "id": 352, "name": "IfStatement", - "src": "12382:28:1" + "src": "12740:28:0" }, { "attributes": { "assignments": [ - 862 + 354 ] }, "children": [ @@ -41722,7 +41722,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 881, + "scope": 373, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41734,14 +41734,14 @@ "name": "uint256", "type": "uint256" }, - "id": 861, + "id": 353, "name": "ElementaryTypeName", - "src": "12420:7:1" + "src": "12779:7:0" } ], - "id": 862, + "id": 354, "name": "VariableDeclaration", - "src": "12420:9:1" + "src": "12779:9:0" }, { "attributes": { @@ -41762,36 +41762,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 863, + "id": 355, "name": "Identifier", - "src": "12432:1:1" + "src": "12791:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 864, + "id": 356, "name": "Identifier", - "src": "12436:1:1" + "src": "12795:1:0" } ], - "id": 865, + "id": 357, "name": "BinaryOperation", - "src": "12432:5:1" + "src": "12791:5:0" } ], - "id": 866, + "id": 358, "name": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "attributes": {}, @@ -41829,53 +41829,53 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 867, + "id": 359, "name": "Identifier", - "src": "12451:1:1" + "src": "12811:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 868, + "id": 360, "name": "Identifier", - "src": "12455:1:1" + "src": "12815:1:0" } ], - "id": 869, + "id": 361, "name": "BinaryOperation", - "src": "12451:5:1" + "src": "12811:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 870, + "id": 362, "name": "Identifier", - "src": "12460:1:1" + "src": "12820:1:0" } ], - "id": 871, + "id": 363, "name": "BinaryOperation", - "src": "12451:10:1" + "src": "12811:10:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41899,9 +41899,9 @@ "type": "bool", "value": "false" }, - "id": 872, + "id": 364, "name": "Literal", - "src": "12471:5:1" + "src": "12831:5:0" }, { "attributes": { @@ -41914,28 +41914,28 @@ "type": "int_const 0", "value": "0" }, - "id": 873, + "id": 365, "name": "Literal", - "src": "12478:1:1" + "src": "12838:1:0" } ], - "id": 874, + "id": 366, "name": "TupleExpression", - "src": "12470:10:1" + "src": "12830:10:0" } ], - "id": 875, + "id": 367, "name": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } ], - "id": 876, + "id": 368, "name": "IfStatement", - "src": "12447:33:1" + "src": "12807:33:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41959,42 +41959,42 @@ "type": "bool", "value": "true" }, - "id": 877, + "id": 369, "name": "Literal", - "src": "12498:4:1" + "src": "12859:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 878, + "id": 370, "name": "Identifier", - "src": "12504:1:1" + "src": "12865:1:0" } ], - "id": 879, + "id": 371, "name": "TupleExpression", - "src": "12497:9:1" + "src": "12858:9:0" } ], - "id": 880, + "id": 372, "name": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ], - "id": 881, + "id": 373, "name": "Block", - "src": "12154:359:1" + "src": "12508:367:0" } ], - "id": 882, + "id": 374, "name": "FunctionDefinition", - "src": "12078:435:1" + "src": "12432:443:0" }, { "attributes": { @@ -42005,7 +42005,7 @@ null ], "name": "tryDiv", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42015,9 +42015,9 @@ "attributes": { "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 883, + "id": 375, "name": "StructuredDocumentation", - "src": "12519:138:1" + "src": "12883:142:0" }, { "children": [ @@ -42026,7 +42026,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42038,21 +42038,21 @@ "name": "uint256", "type": "uint256" }, - "id": 884, + "id": 376, "name": "ElementaryTypeName", - "src": "12678:7:1" + "src": "13047:7:0" } ], - "id": 885, + "id": 377, "name": "VariableDeclaration", - "src": "12678:9:1" + "src": "13047:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42064,19 +42064,19 @@ "name": "uint256", "type": "uint256" }, - "id": 886, + "id": 378, "name": "ElementaryTypeName", - "src": "12689:7:1" + "src": "13058:7:0" } ], - "id": 887, + "id": 379, "name": "VariableDeclaration", - "src": "12689:9:1" + "src": "13058:9:0" } ], - "id": 888, + "id": 380, "name": "ParameterList", - "src": "12677:22:1" + "src": "13046:22:0" }, { "children": [ @@ -42085,7 +42085,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42097,21 +42097,21 @@ "name": "bool", "type": "bool" }, - "id": 889, + "id": 381, "name": "ElementaryTypeName", - "src": "12723:4:1" + "src": "13092:4:0" } ], - "id": 890, + "id": 382, "name": "VariableDeclaration", - "src": "12723:4:1" + "src": "13092:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42123,19 +42123,19 @@ "name": "uint256", "type": "uint256" }, - "id": 891, + "id": 383, "name": "ElementaryTypeName", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 892, + "id": 384, "name": "VariableDeclaration", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 893, + "id": 385, "name": "ParameterList", - "src": "12722:15:1" + "src": "13091:15:0" }, { "children": [ @@ -42161,13 +42161,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 894, + "id": 386, "name": "Identifier", - "src": "12752:1:1" + "src": "13122:1:0" }, { "attributes": { @@ -42180,18 +42180,18 @@ "type": "int_const 0", "value": "0" }, - "id": 895, + "id": 387, "name": "Literal", - "src": "12757:1:1" + "src": "13127:1:0" } ], - "id": 896, + "id": 388, "name": "BinaryOperation", - "src": "12752:6:1" + "src": "13122:6:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42215,9 +42215,9 @@ "type": "bool", "value": "false" }, - "id": 897, + "id": 389, "name": "Literal", - "src": "12768:5:1" + "src": "13138:5:0" }, { "attributes": { @@ -42230,28 +42230,28 @@ "type": "int_const 0", "value": "0" }, - "id": 898, + "id": 390, "name": "Literal", - "src": "12775:1:1" + "src": "13145:1:0" } ], - "id": 899, + "id": 391, "name": "TupleExpression", - "src": "12767:10:1" + "src": "13137:10:0" } ], - "id": 900, + "id": 392, "name": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } ], - "id": 901, + "id": 393, "name": "IfStatement", - "src": "12748:29:1" + "src": "13118:29:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42275,9 +42275,9 @@ "type": "bool", "value": "true" }, - "id": 902, + "id": 394, "name": "Literal", - "src": "12795:4:1" + "src": "13166:4:0" }, { "attributes": { @@ -42298,51 +42298,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 885, + "referencedDeclaration": 377, "type": "uint256", "value": "a" }, - "id": 903, + "id": 395, "name": "Identifier", - "src": "12801:1:1" + "src": "13172:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 904, + "id": 396, "name": "Identifier", - "src": "12805:1:1" + "src": "13176:1:0" } ], - "id": 905, + "id": 397, "name": "BinaryOperation", - "src": "12801:5:1" + "src": "13172:5:0" } ], - "id": 906, + "id": 398, "name": "TupleExpression", - "src": "12794:13:1" + "src": "13165:13:0" } ], - "id": 907, + "id": 399, "name": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ], - "id": 908, + "id": 400, "name": "Block", - "src": "12738:76:1" + "src": "13107:79:0" } ], - "id": 909, + "id": 401, "name": "FunctionDefinition", - "src": "12662:152:1" + "src": "13031:155:0" }, { "attributes": { @@ -42353,7 +42353,7 @@ null ], "name": "tryMod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42363,9 +42363,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 910, + "id": 402, "name": "StructuredDocumentation", - "src": "12820:148:1" + "src": "13194:152:0" }, { "children": [ @@ -42374,7 +42374,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42386,21 +42386,21 @@ "name": "uint256", "type": "uint256" }, - "id": 911, + "id": 403, "name": "ElementaryTypeName", - "src": "12989:7:1" + "src": "13368:7:0" } ], - "id": 912, + "id": 404, "name": "VariableDeclaration", - "src": "12989:9:1" + "src": "13368:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42412,19 +42412,19 @@ "name": "uint256", "type": "uint256" }, - "id": 913, + "id": 405, "name": "ElementaryTypeName", - "src": "13000:7:1" + "src": "13379:7:0" } ], - "id": 914, + "id": 406, "name": "VariableDeclaration", - "src": "13000:9:1" + "src": "13379:9:0" } ], - "id": 915, + "id": 407, "name": "ParameterList", - "src": "12988:22:1" + "src": "13367:22:0" }, { "children": [ @@ -42433,7 +42433,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42445,21 +42445,21 @@ "name": "bool", "type": "bool" }, - "id": 916, + "id": 408, "name": "ElementaryTypeName", - "src": "13034:4:1" + "src": "13413:4:0" } ], - "id": 917, + "id": 409, "name": "VariableDeclaration", - "src": "13034:4:1" + "src": "13413:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42471,19 +42471,19 @@ "name": "uint256", "type": "uint256" }, - "id": 918, + "id": 410, "name": "ElementaryTypeName", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 919, + "id": 411, "name": "VariableDeclaration", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 920, + "id": 412, "name": "ParameterList", - "src": "13033:15:1" + "src": "13412:15:0" }, { "children": [ @@ -42509,13 +42509,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 921, + "id": 413, "name": "Identifier", - "src": "13063:1:1" + "src": "13443:1:0" }, { "attributes": { @@ -42528,18 +42528,18 @@ "type": "int_const 0", "value": "0" }, - "id": 922, + "id": 414, "name": "Literal", - "src": "13068:1:1" + "src": "13448:1:0" } ], - "id": 923, + "id": 415, "name": "BinaryOperation", - "src": "13063:6:1" + "src": "13443:6:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42563,9 +42563,9 @@ "type": "bool", "value": "false" }, - "id": 924, + "id": 416, "name": "Literal", - "src": "13079:5:1" + "src": "13459:5:0" }, { "attributes": { @@ -42578,28 +42578,28 @@ "type": "int_const 0", "value": "0" }, - "id": 925, + "id": 417, "name": "Literal", - "src": "13086:1:1" + "src": "13466:1:0" } ], - "id": 926, + "id": 418, "name": "TupleExpression", - "src": "13078:10:1" + "src": "13458:10:0" } ], - "id": 927, + "id": 419, "name": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } ], - "id": 928, + "id": 420, "name": "IfStatement", - "src": "13059:29:1" + "src": "13439:29:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42623,9 +42623,9 @@ "type": "bool", "value": "true" }, - "id": 929, + "id": 421, "name": "Literal", - "src": "13106:4:1" + "src": "13487:4:0" }, { "attributes": { @@ -42646,51 +42646,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 912, + "referencedDeclaration": 404, "type": "uint256", "value": "a" }, - "id": 930, + "id": 422, "name": "Identifier", - "src": "13112:1:1" + "src": "13493:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 931, + "id": 423, "name": "Identifier", - "src": "13116:1:1" + "src": "13497:1:0" } ], - "id": 932, + "id": 424, "name": "BinaryOperation", - "src": "13112:5:1" + "src": "13493:5:0" } ], - "id": 933, + "id": 425, "name": "TupleExpression", - "src": "13105:13:1" + "src": "13486:13:0" } ], - "id": 934, + "id": 426, "name": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ], - "id": 935, + "id": 427, "name": "Block", - "src": "13049:76:1" + "src": "13428:79:0" } ], - "id": 936, + "id": 428, "name": "FunctionDefinition", - "src": "12973:152:1" + "src": "13352:155:0" }, { "attributes": { @@ -42701,7 +42701,7 @@ null ], "name": "add", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42711,9 +42711,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 937, + "id": 429, "name": "StructuredDocumentation", - "src": "13131:224:1" + "src": "13515:233:0" }, { "children": [ @@ -42722,7 +42722,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42734,21 +42734,21 @@ "name": "uint256", "type": "uint256" }, - "id": 938, + "id": 430, "name": "ElementaryTypeName", - "src": "13373:7:1" + "src": "13767:7:0" } ], - "id": 939, + "id": 431, "name": "VariableDeclaration", - "src": "13373:9:1" + "src": "13767:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42760,19 +42760,19 @@ "name": "uint256", "type": "uint256" }, - "id": 940, + "id": 432, "name": "ElementaryTypeName", - "src": "13384:7:1" + "src": "13778:7:0" } ], - "id": 941, + "id": 433, "name": "VariableDeclaration", - "src": "13384:9:1" + "src": "13778:9:0" } ], - "id": 942, + "id": 434, "name": "ParameterList", - "src": "13372:22:1" + "src": "13766:22:0" }, { "children": [ @@ -42781,7 +42781,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42793,26 +42793,26 @@ "name": "uint256", "type": "uint256" }, - "id": 943, + "id": 435, "name": "ElementaryTypeName", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 944, + "id": 436, "name": "VariableDeclaration", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 945, + "id": 437, "name": "ParameterList", - "src": "13417:9:1" + "src": "13811:9:0" }, { "children": [ { "attributes": { "assignments": [ - 947 + 439 ] }, "children": [ @@ -42821,7 +42821,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 961, + "scope": 453, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42833,14 +42833,14 @@ "name": "uint256", "type": "uint256" }, - "id": 946, + "id": 438, "name": "ElementaryTypeName", - "src": "13437:7:1" + "src": "13832:7:0" } ], - "id": 947, + "id": 439, "name": "VariableDeclaration", - "src": "13437:9:1" + "src": "13832:9:0" }, { "attributes": { @@ -42861,36 +42861,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 948, + "id": 440, "name": "Identifier", - "src": "13449:1:1" + "src": "13844:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 941, + "referencedDeclaration": 433, "type": "uint256", "value": "b" }, - "id": 949, + "id": 441, "name": "Identifier", - "src": "13453:1:1" + "src": "13848:1:0" } ], - "id": 950, + "id": 442, "name": "BinaryOperation", - "src": "13449:5:1" + "src": "13844:5:0" } ], - "id": 951, + "id": 443, "name": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "children": [ @@ -42929,9 +42929,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 952, + "id": 444, "name": "Identifier", - "src": "13464:7:1" + "src": "13860:7:0" }, { "attributes": { @@ -42952,31 +42952,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 953, + "id": 445, "name": "Identifier", - "src": "13472:1:1" + "src": "13868:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 954, + "id": 446, "name": "Identifier", - "src": "13477:1:1" + "src": "13873:1:0" } ], - "id": 955, + "id": 447, "name": "BinaryOperation", - "src": "13472:6:1" + "src": "13868:6:0" }, { "attributes": { @@ -42989,23 +42989,23 @@ "type": "literal_string \"SafeMath: addition overflow\"", "value": "SafeMath: addition overflow" }, - "id": 956, + "id": 448, "name": "Literal", - "src": "13480:29:1" + "src": "13876:29:0" } ], - "id": 957, + "id": 449, "name": "FunctionCall", - "src": "13464:46:1" + "src": "13860:46:0" } ], - "id": 958, + "id": 450, "name": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "attributes": { - "functionReturnParameters": 945 + "functionReturnParameters": 437 }, "children": [ { @@ -43013,28 +43013,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 959, + "id": 451, "name": "Identifier", - "src": "13527:1:1" + "src": "13924:1:0" } ], - "id": 960, + "id": 452, "name": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ], - "id": 961, + "id": 453, "name": "Block", - "src": "13427:108:1" + "src": "13821:112:0" } ], - "id": 962, + "id": 454, "name": "FunctionDefinition", - "src": "13360:175:1" + "src": "13754:179:0" }, { "attributes": { @@ -43045,7 +43045,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43055,9 +43055,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 963, + "id": 455, "name": "StructuredDocumentation", - "src": "13541:260:1" + "src": "13941:269:0" }, { "children": [ @@ -43066,7 +43066,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43078,21 +43078,21 @@ "name": "uint256", "type": "uint256" }, - "id": 964, + "id": 456, "name": "ElementaryTypeName", - "src": "13819:7:1" + "src": "14229:7:0" } ], - "id": 965, + "id": 457, "name": "VariableDeclaration", - "src": "13819:9:1" + "src": "14229:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43104,19 +43104,19 @@ "name": "uint256", "type": "uint256" }, - "id": 966, + "id": 458, "name": "ElementaryTypeName", - "src": "13830:7:1" + "src": "14240:7:0" } ], - "id": 967, + "id": 459, "name": "VariableDeclaration", - "src": "13830:9:1" + "src": "14240:9:0" } ], - "id": 968, + "id": 460, "name": "ParameterList", - "src": "13818:22:1" + "src": "14228:22:0" }, { "children": [ @@ -43125,7 +43125,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43137,19 +43137,19 @@ "name": "uint256", "type": "uint256" }, - "id": 969, + "id": 461, "name": "ElementaryTypeName", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 970, + "id": 462, "name": "VariableDeclaration", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 971, + "id": 463, "name": "ParameterList", - "src": "13863:9:1" + "src": "14273:9:0" }, { "children": [ @@ -43190,9 +43190,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 972, + "id": 464, "name": "Identifier", - "src": "13883:7:1" + "src": "14294:7:0" }, { "attributes": { @@ -43213,31 +43213,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 973, + "id": 465, "name": "Identifier", - "src": "13891:1:1" + "src": "14302:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 974, + "id": 466, "name": "Identifier", - "src": "13896:1:1" + "src": "14307:1:0" } ], - "id": 975, + "id": 467, "name": "BinaryOperation", - "src": "13891:6:1" + "src": "14302:6:0" }, { "attributes": { @@ -43250,23 +43250,23 @@ "type": "literal_string \"SafeMath: subtraction overflow\"", "value": "SafeMath: subtraction overflow" }, - "id": 976, + "id": 468, "name": "Literal", - "src": "13899:32:1" + "src": "14310:32:0" } ], - "id": 977, + "id": 469, "name": "FunctionCall", - "src": "13883:49:1" + "src": "14294:49:0" } ], - "id": 978, + "id": 470, "name": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "attributes": { - "functionReturnParameters": 971 + "functionReturnParameters": 463 }, "children": [ { @@ -43288,46 +43288,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 979, + "id": 471, "name": "Identifier", - "src": "13949:1:1" + "src": "14361:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 980, + "id": 472, "name": "Identifier", - "src": "13953:1:1" + "src": "14365:1:0" } ], - "id": 981, + "id": 473, "name": "BinaryOperation", - "src": "13949:5:1" + "src": "14361:5:0" } ], - "id": 982, + "id": 474, "name": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ], - "id": 983, + "id": 475, "name": "Block", - "src": "13873:88:1" + "src": "14283:91:0" } ], - "id": 984, + "id": 476, "name": "FunctionDefinition", - "src": "13806:155:1" + "src": "14216:158:0" }, { "attributes": { @@ -43338,7 +43338,7 @@ null ], "name": "mul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43348,9 +43348,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 985, + "id": 477, "name": "StructuredDocumentation", - "src": "13967:236:1" + "src": "14382:245:0" }, { "children": [ @@ -43359,7 +43359,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43371,21 +43371,21 @@ "name": "uint256", "type": "uint256" }, - "id": 986, + "id": 478, "name": "ElementaryTypeName", - "src": "14221:7:1" + "src": "14646:7:0" } ], - "id": 987, + "id": 479, "name": "VariableDeclaration", - "src": "14221:9:1" + "src": "14646:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43397,19 +43397,19 @@ "name": "uint256", "type": "uint256" }, - "id": 988, + "id": 480, "name": "ElementaryTypeName", - "src": "14232:7:1" + "src": "14657:7:0" } ], - "id": 989, + "id": 481, "name": "VariableDeclaration", - "src": "14232:9:1" + "src": "14657:9:0" } ], - "id": 990, + "id": 482, "name": "ParameterList", - "src": "14220:22:1" + "src": "14645:22:0" }, { "children": [ @@ -43418,7 +43418,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43430,19 +43430,19 @@ "name": "uint256", "type": "uint256" }, - "id": 991, + "id": 483, "name": "ElementaryTypeName", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 992, + "id": 484, "name": "VariableDeclaration", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 993, + "id": 485, "name": "ParameterList", - "src": "14265:9:1" + "src": "14690:9:0" }, { "children": [ @@ -43468,13 +43468,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 994, + "id": 486, "name": "Identifier", - "src": "14289:1:1" + "src": "14715:1:0" }, { "attributes": { @@ -43487,18 +43487,18 @@ "type": "int_const 0", "value": "0" }, - "id": 995, + "id": 487, "name": "Literal", - "src": "14294:1:1" + "src": "14720:1:0" } ], - "id": 996, + "id": 488, "name": "BinaryOperation", - "src": "14289:6:1" + "src": "14715:6:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43512,24 +43512,24 @@ "type": "int_const 0", "value": "0" }, - "id": 997, + "id": 489, "name": "Literal", - "src": "14304:1:1" + "src": "14730:1:0" } ], - "id": 998, + "id": 490, "name": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } ], - "id": 999, + "id": 491, "name": "IfStatement", - "src": "14285:20:1" + "src": "14711:20:0" }, { "attributes": { "assignments": [ - 1001 + 493 ] }, "children": [ @@ -43538,7 +43538,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 1017, + "scope": 509, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43550,14 +43550,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1000, + "id": 492, "name": "ElementaryTypeName", - "src": "14315:7:1" + "src": "14742:7:0" } ], - "id": 1001, + "id": 493, "name": "VariableDeclaration", - "src": "14315:9:1" + "src": "14742:9:0" }, { "attributes": { @@ -43578,36 +43578,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1002, + "id": 494, "name": "Identifier", - "src": "14327:1:1" + "src": "14754:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1003, + "id": 495, "name": "Identifier", - "src": "14331:1:1" + "src": "14758:1:0" } ], - "id": 1004, + "id": 496, "name": "BinaryOperation", - "src": "14327:5:1" + "src": "14754:5:0" } ], - "id": 1005, + "id": 497, "name": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "children": [ @@ -43646,9 +43646,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1006, + "id": 498, "name": "Identifier", - "src": "14342:7:1" + "src": "14770:7:0" }, { "attributes": { @@ -43683,49 +43683,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1007, + "id": 499, "name": "Identifier", - "src": "14350:1:1" + "src": "14778:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1008, + "id": 500, "name": "Identifier", - "src": "14354:1:1" + "src": "14782:1:0" } ], - "id": 1009, + "id": 501, "name": "BinaryOperation", - "src": "14350:5:1" + "src": "14778:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1010, + "id": 502, "name": "Identifier", - "src": "14359:1:1" + "src": "14787:1:0" } ], - "id": 1011, + "id": 503, "name": "BinaryOperation", - "src": "14350:10:1" + "src": "14778:10:0" }, { "attributes": { @@ -43738,23 +43738,23 @@ "type": "literal_string \"SafeMath: multiplication overflow\"", "value": "SafeMath: multiplication overflow" }, - "id": 1012, + "id": 504, "name": "Literal", - "src": "14362:35:1" + "src": "14790:35:0" } ], - "id": 1013, + "id": 505, "name": "FunctionCall", - "src": "14342:56:1" + "src": "14770:56:0" } ], - "id": 1014, + "id": 506, "name": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43762,28 +43762,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1015, + "id": 507, "name": "Identifier", - "src": "14415:1:1" + "src": "14844:1:0" } ], - "id": 1016, + "id": 508, "name": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ], - "id": 1017, + "id": 509, "name": "Block", - "src": "14275:148:1" + "src": "14700:153:0" } ], - "id": 1018, + "id": 510, "name": "FunctionDefinition", - "src": "14208:215:1" + "src": "14633:220:0" }, { "attributes": { @@ -43794,7 +43794,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43804,9 +43804,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1019, + "id": 511, "name": "StructuredDocumentation", - "src": "14429:453:1" + "src": "14861:464:0" }, { "children": [ @@ -43815,7 +43815,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43827,21 +43827,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1020, + "id": 512, "name": "ElementaryTypeName", - "src": "14900:7:1" + "src": "15344:7:0" } ], - "id": 1021, + "id": 513, "name": "VariableDeclaration", - "src": "14900:9:1" + "src": "15344:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43853,19 +43853,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1022, + "id": 514, "name": "ElementaryTypeName", - "src": "14911:7:1" + "src": "15355:7:0" } ], - "id": 1023, + "id": 515, "name": "VariableDeclaration", - "src": "14911:9:1" + "src": "15355:9:0" } ], - "id": 1024, + "id": 516, "name": "ParameterList", - "src": "14899:22:1" + "src": "15343:22:0" }, { "children": [ @@ -43874,7 +43874,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43886,19 +43886,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1025, + "id": 517, "name": "ElementaryTypeName", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1026, + "id": 518, "name": "VariableDeclaration", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1027, + "id": 519, "name": "ParameterList", - "src": "14944:9:1" + "src": "15388:9:0" }, { "children": [ @@ -43939,9 +43939,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1028, + "id": 520, "name": "Identifier", - "src": "14964:7:1" + "src": "15409:7:0" }, { "attributes": { @@ -43962,13 +43962,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1029, + "id": 521, "name": "Identifier", - "src": "14972:1:1" + "src": "15417:1:0" }, { "attributes": { @@ -43981,14 +43981,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1030, + "id": 522, "name": "Literal", - "src": "14976:1:1" + "src": "15421:1:0" } ], - "id": 1031, + "id": 523, "name": "BinaryOperation", - "src": "14972:5:1" + "src": "15417:5:0" }, { "attributes": { @@ -44001,23 +44001,23 @@ "type": "literal_string \"SafeMath: division by zero\"", "value": "SafeMath: division by zero" }, - "id": 1032, + "id": 524, "name": "Literal", - "src": "14979:28:1" + "src": "15424:28:0" } ], - "id": 1033, + "id": 525, "name": "FunctionCall", - "src": "14964:44:1" + "src": "15409:44:0" } ], - "id": 1034, + "id": 526, "name": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "attributes": { - "functionReturnParameters": 1027 + "functionReturnParameters": 519 }, "children": [ { @@ -44039,46 +44039,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1021, + "referencedDeclaration": 513, "type": "uint256", "value": "a" }, - "id": 1035, + "id": 527, "name": "Identifier", - "src": "15025:1:1" + "src": "15471:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1036, + "id": 528, "name": "Identifier", - "src": "15029:1:1" + "src": "15475:1:0" } ], - "id": 1037, + "id": 529, "name": "BinaryOperation", - "src": "15025:5:1" + "src": "15471:5:0" } ], - "id": 1038, + "id": 530, "name": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ], - "id": 1039, + "id": 531, "name": "Block", - "src": "14954:83:1" + "src": "15398:86:0" } ], - "id": 1040, + "id": 532, "name": "FunctionDefinition", - "src": "14887:150:1" + "src": "15331:153:0" }, { "attributes": { @@ -44089,7 +44089,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44099,9 +44099,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1041, + "id": 533, "name": "StructuredDocumentation", - "src": "15043:442:1" + "src": "15492:453:0" }, { "children": [ @@ -44110,7 +44110,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44122,21 +44122,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1042, + "id": 534, "name": "ElementaryTypeName", - "src": "15503:7:1" + "src": "15964:7:0" } ], - "id": 1043, + "id": 535, "name": "VariableDeclaration", - "src": "15503:9:1" + "src": "15964:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44148,19 +44148,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1044, + "id": 536, "name": "ElementaryTypeName", - "src": "15514:7:1" + "src": "15975:7:0" } ], - "id": 1045, + "id": 537, "name": "VariableDeclaration", - "src": "15514:9:1" + "src": "15975:9:0" } ], - "id": 1046, + "id": 538, "name": "ParameterList", - "src": "15502:22:1" + "src": "15963:22:0" }, { "children": [ @@ -44169,7 +44169,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44181,19 +44181,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1047, + "id": 539, "name": "ElementaryTypeName", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1048, + "id": 540, "name": "VariableDeclaration", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1049, + "id": 541, "name": "ParameterList", - "src": "15547:9:1" + "src": "16008:9:0" }, { "children": [ @@ -44234,9 +44234,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1050, + "id": 542, "name": "Identifier", - "src": "15567:7:1" + "src": "16029:7:0" }, { "attributes": { @@ -44257,13 +44257,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1051, + "id": 543, "name": "Identifier", - "src": "15575:1:1" + "src": "16037:1:0" }, { "attributes": { @@ -44276,14 +44276,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1052, + "id": 544, "name": "Literal", - "src": "15579:1:1" + "src": "16041:1:0" } ], - "id": 1053, + "id": 545, "name": "BinaryOperation", - "src": "15575:5:1" + "src": "16037:5:0" }, { "attributes": { @@ -44296,23 +44296,23 @@ "type": "literal_string \"SafeMath: modulo by zero\"", "value": "SafeMath: modulo by zero" }, - "id": 1054, + "id": 546, "name": "Literal", - "src": "15582:26:1" + "src": "16044:26:0" } ], - "id": 1055, + "id": 547, "name": "FunctionCall", - "src": "15567:42:1" + "src": "16029:42:0" } ], - "id": 1056, + "id": 548, "name": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "attributes": { - "functionReturnParameters": 1049 + "functionReturnParameters": 541 }, "children": [ { @@ -44334,46 +44334,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1043, + "referencedDeclaration": 535, "type": "uint256", "value": "a" }, - "id": 1057, + "id": 549, "name": "Identifier", - "src": "15626:1:1" + "src": "16089:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1058, + "id": 550, "name": "Identifier", - "src": "15630:1:1" + "src": "16093:1:0" } ], - "id": 1059, + "id": 551, "name": "BinaryOperation", - "src": "15626:5:1" + "src": "16089:5:0" } ], - "id": 1060, + "id": 552, "name": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ], - "id": 1061, + "id": 553, "name": "Block", - "src": "15557:81:1" + "src": "16018:84:0" } ], - "id": 1062, + "id": 554, "name": "FunctionDefinition", - "src": "15490:148:1" + "src": "15951:151:0" }, { "attributes": { @@ -44384,7 +44384,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44394,9 +44394,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1063, + "id": 555, "name": "StructuredDocumentation", - "src": "15644:453:1" + "src": "16110:465:0" }, { "children": [ @@ -44405,7 +44405,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44417,21 +44417,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1064, + "id": 556, "name": "ElementaryTypeName", - "src": "16115:7:1" + "src": "16594:7:0" } ], - "id": 1065, + "id": 557, "name": "VariableDeclaration", - "src": "16115:9:1" + "src": "16594:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44443,21 +44443,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1066, + "id": 558, "name": "ElementaryTypeName", - "src": "16126:7:1" + "src": "16605:7:0" } ], - "id": 1067, + "id": 559, "name": "VariableDeclaration", - "src": "16126:9:1" + "src": "16605:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44469,19 +44469,19 @@ "name": "string", "type": "string" }, - "id": 1068, + "id": 560, "name": "ElementaryTypeName", - "src": "16137:6:1" + "src": "16616:6:0" } ], - "id": 1069, + "id": 561, "name": "VariableDeclaration", - "src": "16137:26:1" + "src": "16616:26:0" } ], - "id": 1070, + "id": 562, "name": "ParameterList", - "src": "16114:50:1" + "src": "16593:50:0" }, { "children": [ @@ -44490,7 +44490,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44502,19 +44502,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1071, + "id": 563, "name": "ElementaryTypeName", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1072, + "id": 564, "name": "VariableDeclaration", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1073, + "id": 565, "name": "ParameterList", - "src": "16187:9:1" + "src": "16666:9:0" }, { "children": [ @@ -44555,9 +44555,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1074, + "id": 566, "name": "Identifier", - "src": "16207:7:1" + "src": "16687:7:0" }, { "attributes": { @@ -44578,58 +44578,58 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1075, + "id": 567, "name": "Identifier", - "src": "16215:1:1" + "src": "16695:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1076, + "id": 568, "name": "Identifier", - "src": "16220:1:1" + "src": "16700:1:0" } ], - "id": 1077, + "id": 569, "name": "BinaryOperation", - "src": "16215:6:1" + "src": "16695:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1069, + "referencedDeclaration": 561, "type": "string memory", "value": "errorMessage" }, - "id": 1078, + "id": 570, "name": "Identifier", - "src": "16223:12:1" + "src": "16703:12:0" } ], - "id": 1079, + "id": 571, "name": "FunctionCall", - "src": "16207:29:1" + "src": "16687:29:0" } ], - "id": 1080, + "id": 572, "name": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "attributes": { - "functionReturnParameters": 1073 + "functionReturnParameters": 565 }, "children": [ { @@ -44651,46 +44651,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1081, + "id": 573, "name": "Identifier", - "src": "16253:1:1" + "src": "16734:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1082, + "id": 574, "name": "Identifier", - "src": "16257:1:1" + "src": "16738:1:0" } ], - "id": 1083, + "id": 575, "name": "BinaryOperation", - "src": "16253:5:1" + "src": "16734:5:0" } ], - "id": 1084, + "id": 576, "name": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ], - "id": 1085, + "id": 577, "name": "Block", - "src": "16197:68:1" + "src": "16676:71:0" } ], - "id": 1086, + "id": 578, "name": "FunctionDefinition", - "src": "16102:163:1" + "src": "16581:166:0" }, { "attributes": { @@ -44701,7 +44701,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44711,9 +44711,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1087, + "id": 579, "name": "StructuredDocumentation", - "src": "16271:646:1" + "src": "16755:660:0" }, { "children": [ @@ -44722,7 +44722,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44734,21 +44734,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1088, + "id": 580, "name": "ElementaryTypeName", - "src": "16935:7:1" + "src": "17434:7:0" } ], - "id": 1089, + "id": 581, "name": "VariableDeclaration", - "src": "16935:9:1" + "src": "17434:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44760,21 +44760,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1090, + "id": 582, "name": "ElementaryTypeName", - "src": "16946:7:1" + "src": "17445:7:0" } ], - "id": 1091, + "id": 583, "name": "VariableDeclaration", - "src": "16946:9:1" + "src": "17445:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44786,19 +44786,19 @@ "name": "string", "type": "string" }, - "id": 1092, + "id": 584, "name": "ElementaryTypeName", - "src": "16957:6:1" + "src": "17456:6:0" } ], - "id": 1093, + "id": 585, "name": "VariableDeclaration", - "src": "16957:26:1" + "src": "17456:26:0" } ], - "id": 1094, + "id": 586, "name": "ParameterList", - "src": "16934:50:1" + "src": "17433:50:0" }, { "children": [ @@ -44807,7 +44807,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44819,19 +44819,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1095, + "id": 587, "name": "ElementaryTypeName", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1096, + "id": 588, "name": "VariableDeclaration", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1097, + "id": 589, "name": "ParameterList", - "src": "17007:9:1" + "src": "17506:9:0" }, { "children": [ @@ -44872,9 +44872,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1098, + "id": 590, "name": "Identifier", - "src": "17027:7:1" + "src": "17527:7:0" }, { "attributes": { @@ -44895,13 +44895,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1099, + "id": 591, "name": "Identifier", - "src": "17035:1:1" + "src": "17535:1:0" }, { "attributes": { @@ -44914,41 +44914,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1100, + "id": 592, "name": "Literal", - "src": "17039:1:1" + "src": "17539:1:0" } ], - "id": 1101, + "id": 593, "name": "BinaryOperation", - "src": "17035:5:1" + "src": "17535:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1093, + "referencedDeclaration": 585, "type": "string memory", "value": "errorMessage" }, - "id": 1102, + "id": 594, "name": "Identifier", - "src": "17042:12:1" + "src": "17542:12:0" } ], - "id": 1103, + "id": 595, "name": "FunctionCall", - "src": "17027:28:1" + "src": "17527:28:0" } ], - "id": 1104, + "id": 596, "name": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "attributes": { - "functionReturnParameters": 1097 + "functionReturnParameters": 589 }, "children": [ { @@ -44970,46 +44970,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1089, + "referencedDeclaration": 581, "type": "uint256", "value": "a" }, - "id": 1105, + "id": 597, "name": "Identifier", - "src": "17072:1:1" + "src": "17573:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1106, + "id": 598, "name": "Identifier", - "src": "17076:1:1" + "src": "17577:1:0" } ], - "id": 1107, + "id": 599, "name": "BinaryOperation", - "src": "17072:5:1" + "src": "17573:5:0" } ], - "id": 1108, + "id": 600, "name": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ], - "id": 1109, + "id": 601, "name": "Block", - "src": "17017:67:1" + "src": "17516:70:0" } ], - "id": 1110, + "id": 602, "name": "FunctionDefinition", - "src": "16922:162:1" + "src": "17421:165:0" }, { "attributes": { @@ -45020,7 +45020,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -45030,9 +45030,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1111, + "id": 603, "name": "StructuredDocumentation", - "src": "17090:635:1" + "src": "17594:649:0" }, { "children": [ @@ -45041,7 +45041,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45053,21 +45053,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1112, + "id": 604, "name": "ElementaryTypeName", - "src": "17743:7:1" + "src": "18262:7:0" } ], - "id": 1113, + "id": 605, "name": "VariableDeclaration", - "src": "17743:9:1" + "src": "18262:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45079,21 +45079,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1114, + "id": 606, "name": "ElementaryTypeName", - "src": "17754:7:1" + "src": "18273:7:0" } ], - "id": 1115, + "id": 607, "name": "VariableDeclaration", - "src": "17754:9:1" + "src": "18273:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -45105,19 +45105,19 @@ "name": "string", "type": "string" }, - "id": 1116, + "id": 608, "name": "ElementaryTypeName", - "src": "17765:6:1" + "src": "18284:6:0" } ], - "id": 1117, + "id": 609, "name": "VariableDeclaration", - "src": "17765:26:1" + "src": "18284:26:0" } ], - "id": 1118, + "id": 610, "name": "ParameterList", - "src": "17742:50:1" + "src": "18261:50:0" }, { "children": [ @@ -45126,7 +45126,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45138,19 +45138,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1119, + "id": 611, "name": "ElementaryTypeName", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1120, + "id": 612, "name": "VariableDeclaration", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1121, + "id": 613, "name": "ParameterList", - "src": "17815:9:1" + "src": "18334:9:0" }, { "children": [ @@ -45191,9 +45191,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1122, + "id": 614, "name": "Identifier", - "src": "17835:7:1" + "src": "18355:7:0" }, { "attributes": { @@ -45214,13 +45214,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1123, + "id": 615, "name": "Identifier", - "src": "17843:1:1" + "src": "18363:1:0" }, { "attributes": { @@ -45233,41 +45233,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1124, + "id": 616, "name": "Literal", - "src": "17847:1:1" + "src": "18367:1:0" } ], - "id": 1125, + "id": 617, "name": "BinaryOperation", - "src": "17843:5:1" + "src": "18363:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1117, + "referencedDeclaration": 609, "type": "string memory", "value": "errorMessage" }, - "id": 1126, + "id": 618, "name": "Identifier", - "src": "17850:12:1" + "src": "18370:12:0" } ], - "id": 1127, + "id": 619, "name": "FunctionCall", - "src": "17835:28:1" + "src": "18355:28:0" } ], - "id": 1128, + "id": 620, "name": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "attributes": { - "functionReturnParameters": 1121 + "functionReturnParameters": 613 }, "children": [ { @@ -45289,51 +45289,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1113, + "referencedDeclaration": 605, "type": "uint256", "value": "a" }, - "id": 1129, + "id": 621, "name": "Identifier", - "src": "17880:1:1" + "src": "18401:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1130, + "id": 622, "name": "Identifier", - "src": "17884:1:1" + "src": "18405:1:0" } ], - "id": 1131, + "id": 623, "name": "BinaryOperation", - "src": "17880:5:1" + "src": "18401:5:0" } ], - "id": 1132, + "id": 624, "name": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ], - "id": 1133, + "id": 625, "name": "Block", - "src": "17825:67:1" + "src": "18344:70:0" } ], - "id": 1134, + "id": 626, "name": "FunctionDefinition", - "src": "17730:162:1" + "src": "18249:165:0" } ], - "id": 1135, + "id": 627, "name": "ContractDefinition", - "src": "11300:6594:1" + "src": "11627:6790:0" }, { "attributes": { @@ -45347,9 +45347,9 @@ ".0" ] }, - "id": 1136, + "id": 628, "name": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "attributes": { @@ -45363,19 +45363,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Collection of functions related to the address type" }, - "id": 1137, + "id": 629, "name": "StructuredDocumentation", - "src": "17980:67:1" + "src": "18508:69:0" }, { "attributes": { @@ -45386,7 +45386,7 @@ null ], "name": "isContract", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -45396,9 +45396,9 @@ "attributes": { "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1138, + "id": 630, "name": "StructuredDocumentation", - "src": "18070:565:1" + "src": "18602:581:0" }, { "children": [ @@ -45407,7 +45407,7 @@ "constant": false, "mutability": "mutable", "name": "account", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -45420,19 +45420,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1139, + "id": 631, "name": "ElementaryTypeName", - "src": "18660:7:1" + "src": "19209:7:0" } ], - "id": 1140, + "id": 632, "name": "VariableDeclaration", - "src": "18660:15:1" + "src": "19209:15:0" } ], - "id": 1141, + "id": 633, "name": "ParameterList", - "src": "18659:17:1" + "src": "19208:17:0" }, { "children": [ @@ -45441,7 +45441,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45453,26 +45453,26 @@ "name": "bool", "type": "bool" }, - "id": 1142, + "id": 634, "name": "ElementaryTypeName", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1143, + "id": 635, "name": "VariableDeclaration", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1144, + "id": 636, "name": "ParameterList", - "src": "18699:6:1" + "src": "19248:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1146 + 638 ] }, "children": [ @@ -45481,7 +45481,7 @@ "constant": false, "mutability": "mutable", "name": "size", - "scope": 1153, + "scope": 645, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45493,49 +45493,49 @@ "name": "uint256", "type": "uint256" }, - "id": 1145, + "id": 637, "name": "ElementaryTypeName", - "src": "18903:7:1" + "src": "19457:7:0" } ], - "id": 1146, + "id": 638, "name": "VariableDeclaration", - "src": "18903:12:1" + "src": "19457:12:0" } ], - "id": 1147, + "id": 639, "name": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "attributes": { "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], "operations": "{ size := extcodesize(account) }" }, "children": [], - "id": 1148, + "id": 640, "name": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "attributes": { - "functionReturnParameters": 1144 + "functionReturnParameters": 636 }, "children": [ { @@ -45557,13 +45557,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1146, + "referencedDeclaration": 638, "type": "uint256", "value": "size" }, - "id": 1149, + "id": 641, "name": "Identifier", - "src": "19038:4:1" + "src": "19595:4:0" }, { "attributes": { @@ -45576,29 +45576,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1150, + "id": 642, "name": "Literal", - "src": "19045:1:1" + "src": "19602:1:0" } ], - "id": 1151, + "id": 643, "name": "BinaryOperation", - "src": "19038:8:1" + "src": "19595:8:0" } ], - "id": 1152, + "id": 644, "name": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ], - "id": 1153, + "id": 645, "name": "Block", - "src": "18706:347:1" + "src": "19255:356:0" } ], - "id": 1154, + "id": 646, "name": "FunctionDefinition", - "src": "18640:413:1" + "src": "19189:422:0" }, { "attributes": { @@ -45609,7 +45609,7 @@ null ], "name": "sendValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -45619,9 +45619,9 @@ "attributes": { "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1155, + "id": 647, "name": "StructuredDocumentation", - "src": "19059:906:1" + "src": "19619:921:0" }, { "children": [ @@ -45630,7 +45630,7 @@ "constant": false, "mutability": "mutable", "name": "recipient", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -45643,21 +45643,21 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 1156, + "id": 648, "name": "ElementaryTypeName", - "src": "19989:15:1" + "src": "20565:15:0" } ], - "id": 1157, + "id": 649, "name": "VariableDeclaration", - "src": "19989:25:1" + "src": "20565:25:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "amount", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45669,19 +45669,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1158, + "id": 650, "name": "ElementaryTypeName", - "src": "20016:7:1" + "src": "20592:7:0" } ], - "id": 1159, + "id": 651, "name": "VariableDeclaration", - "src": "20016:14:1" + "src": "20592:14:0" } ], - "id": 1160, + "id": 652, "name": "ParameterList", - "src": "19988:43:1" + "src": "20564:43:0" }, { "attributes": { @@ -45690,9 +45690,9 @@ ] }, "children": [], - "id": 1161, + "id": 653, "name": "ParameterList", - "src": "20041:0:1" + "src": "20617:0:0" }, { "children": [ @@ -45733,9 +45733,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1162, + "id": 654, "name": "Identifier", - "src": "20051:7:1" + "src": "20628:7:0" }, { "attributes": { @@ -45780,7 +45780,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -45795,14 +45795,14 @@ "attributes": { "name": "address" }, - "id": 1163, + "id": 655, "name": "ElementaryTypeName", - "src": "20059:7:1" + "src": "20636:7:0" } ], - "id": 1164, + "id": 656, "name": "ElementaryTypeNameExpression", - "src": "20059:7:1" + "src": "20636:7:0" }, { "attributes": { @@ -45813,37 +45813,37 @@ "type": "library Address", "value": "this" }, - "id": 1165, + "id": 657, "name": "Identifier", - "src": "20067:4:1" + "src": "20644:4:0" } ], - "id": 1166, + "id": 658, "name": "FunctionCall", - "src": "20059:13:1" + "src": "20636:13:0" } ], - "id": 1167, + "id": 659, "name": "MemberAccess", - "src": "20059:21:1" + "src": "20636:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1168, + "id": 660, "name": "Identifier", - "src": "20084:6:1" + "src": "20661:6:0" } ], - "id": 1169, + "id": 661, "name": "BinaryOperation", - "src": "20059:31:1" + "src": "20636:31:0" }, { "attributes": { @@ -45856,24 +45856,24 @@ "type": "literal_string \"Address: insufficient balance\"", "value": "Address: insufficient balance" }, - "id": 1170, + "id": 662, "name": "Literal", - "src": "20092:31:1" + "src": "20669:31:0" } ], - "id": 1171, + "id": 663, "name": "FunctionCall", - "src": "20051:73:1" + "src": "20628:73:0" } ], - "id": 1172, + "id": 664, "name": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "attributes": { "assignments": [ - 1174, + 666, null ] }, @@ -45883,7 +45883,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1187, + "scope": 679, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45895,14 +45895,14 @@ "name": "bool", "type": "bool" }, - "id": 1173, + "id": 665, "name": "ElementaryTypeName", - "src": "20213:4:1" + "src": "20793:4:0" } ], - "id": 1174, + "id": 666, "name": "VariableDeclaration", - "src": "20213:12:1" + "src": "20793:12:0" }, { "attributes": { @@ -45958,36 +45958,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1157, + "referencedDeclaration": 649, "type": "address payable", "value": "recipient" }, - "id": 1175, + "id": 667, "name": "Identifier", - "src": "20231:9:1" + "src": "20811:9:0" } ], - "id": 1176, + "id": 668, "name": "MemberAccess", - "src": "20231:14:1" + "src": "20811:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1177, + "id": 669, "name": "Identifier", - "src": "20254:6:1" + "src": "20834:6:0" } ], - "id": 1178, + "id": 670, "name": "FunctionCallOptions", - "src": "20231:31:1" + "src": "20811:31:0" }, { "attributes": { @@ -46000,19 +46000,19 @@ "type": "literal_string \"\"", "value": "" }, - "id": 1179, + "id": 671, "name": "Literal", - "src": "20263:2:1" + "src": "20843:2:0" } ], - "id": 1180, + "id": 672, "name": "FunctionCall", - "src": "20231:35:1" + "src": "20811:35:0" } ], - "id": 1181, + "id": 673, "name": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "children": [ @@ -46051,22 +46051,22 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1182, + "id": 674, "name": "Identifier", - "src": "20276:7:1" + "src": "20857:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 666, "type": "bool", "value": "success" }, - "id": 1183, + "id": 675, "name": "Identifier", - "src": "20284:7:1" + "src": "20865:7:0" }, { "attributes": { @@ -46079,29 +46079,29 @@ "type": "literal_string \"Address: unable to send value, recipient may have reverted\"", "value": "Address: unable to send value, recipient may have reverted" }, - "id": 1184, + "id": 676, "name": "Literal", - "src": "20293:60:1" + "src": "20874:60:0" } ], - "id": 1185, + "id": 677, "name": "FunctionCall", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1186, + "id": 678, "name": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1187, + "id": 679, "name": "Block", - "src": "20041:320:1" + "src": "20617:326:0" } ], - "id": 1188, + "id": 680, "name": "FunctionDefinition", - "src": "19970:391:1" + "src": "20546:397:0" }, { "attributes": { @@ -46112,7 +46112,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46122,9 +46122,9 @@ "attributes": { "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1189, + "id": 681, "name": "StructuredDocumentation", - "src": "20367:730:1" + "src": "20951:747:0" }, { "children": [ @@ -46133,7 +46133,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46146,21 +46146,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1190, + "id": 682, "name": "ElementaryTypeName", - "src": "21124:7:1" + "src": "21726:7:0" } ], - "id": 1191, + "id": 683, "name": "VariableDeclaration", - "src": "21124:14:1" + "src": "21726:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46172,19 +46172,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1192, + "id": 684, "name": "ElementaryTypeName", - "src": "21140:5:1" + "src": "21742:5:0" } ], - "id": 1193, + "id": 685, "name": "VariableDeclaration", - "src": "21140:17:1" + "src": "21742:17:0" } ], - "id": 1194, + "id": 686, "name": "ParameterList", - "src": "21123:35:1" + "src": "21725:35:0" }, { "children": [ @@ -46193,7 +46193,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46205,25 +46205,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1195, + "id": 687, "name": "ElementaryTypeName", - "src": "21177:5:1" + "src": "21779:5:0" } ], - "id": 1196, + "id": 688, "name": "VariableDeclaration", - "src": "21177:12:1" + "src": "21779:12:0" } ], - "id": 1197, + "id": 689, "name": "ParameterList", - "src": "21176:14:1" + "src": "21778:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1197 + "functionReturnParameters": 689 }, "children": [ { @@ -46258,42 +46258,42 @@ } ], "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionCall" }, - "id": 1198, + "id": 690, "name": "Identifier", - "src": "21206:12:1" + "src": "21809:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1191, + "referencedDeclaration": 683, "type": "address", "value": "target" }, - "id": 1199, + "id": 691, "name": "Identifier", - "src": "21219:6:1" + "src": "21822:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1193, + "referencedDeclaration": 685, "type": "bytes memory", "value": "data" }, - "id": 1200, + "id": 692, "name": "Identifier", - "src": "21227:4:1" + "src": "21830:4:0" }, { "attributes": { @@ -46306,29 +46306,29 @@ "type": "literal_string \"Address: low-level call failed\"", "value": "Address: low-level call failed" }, - "id": 1201, + "id": 693, "name": "Literal", - "src": "21233:32:1" + "src": "21836:32:0" } ], - "id": 1202, + "id": 694, "name": "FunctionCall", - "src": "21206:60:1" + "src": "21809:60:0" } ], - "id": 1203, + "id": 695, "name": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ], - "id": 1204, + "id": 696, "name": "Block", - "src": "21191:82:1" + "src": "21793:84:0" } ], - "id": 1205, + "id": 697, "name": "FunctionDefinition", - "src": "21102:171:1" + "src": "21704:173:0" }, { "attributes": { @@ -46339,7 +46339,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46349,9 +46349,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1206, + "id": 698, "name": "StructuredDocumentation", - "src": "21279:211:1" + "src": "21885:216:0" }, { "children": [ @@ -46360,7 +46360,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46373,21 +46373,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1207, + "id": 699, "name": "ElementaryTypeName", - "src": "21517:7:1" + "src": "22129:7:0" } ], - "id": 1208, + "id": 700, "name": "VariableDeclaration", - "src": "21517:14:1" + "src": "22129:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46399,21 +46399,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1209, + "id": 701, "name": "ElementaryTypeName", - "src": "21533:5:1" + "src": "22145:5:0" } ], - "id": 1210, + "id": 702, "name": "VariableDeclaration", - "src": "21533:17:1" + "src": "22145:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -46425,19 +46425,19 @@ "name": "string", "type": "string" }, - "id": 1211, + "id": 703, "name": "ElementaryTypeName", - "src": "21552:6:1" + "src": "22164:6:0" } ], - "id": 1212, + "id": 704, "name": "VariableDeclaration", - "src": "21552:26:1" + "src": "22164:26:0" } ], - "id": 1213, + "id": 705, "name": "ParameterList", - "src": "21516:63:1" + "src": "22128:63:0" }, { "children": [ @@ -46446,7 +46446,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46458,25 +46458,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1214, + "id": 706, "name": "ElementaryTypeName", - "src": "21598:5:1" + "src": "22210:5:0" } ], - "id": 1215, + "id": 707, "name": "VariableDeclaration", - "src": "21598:12:1" + "src": "22210:12:0" } ], - "id": 1216, + "id": 708, "name": "ParameterList", - "src": "21597:14:1" + "src": "22209:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1216 + "functionReturnParameters": 708 }, "children": [ { @@ -46515,42 +46515,42 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1217, + "id": 709, "name": "Identifier", - "src": "21629:21:1" + "src": "22242:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1208, + "referencedDeclaration": 700, "type": "address", "value": "target" }, - "id": 1218, + "id": 710, "name": "Identifier", - "src": "21651:6:1" + "src": "22264:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1210, + "referencedDeclaration": 702, "type": "bytes memory", "value": "data" }, - "id": 1219, + "id": 711, "name": "Identifier", - "src": "21659:4:1" + "src": "22272:4:0" }, { "attributes": { @@ -46563,42 +46563,42 @@ "type": "int_const 0", "value": "0" }, - "id": 1220, + "id": 712, "name": "Literal", - "src": "21665:1:1" + "src": "22278:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1212, + "referencedDeclaration": 704, "type": "string memory", "value": "errorMessage" }, - "id": 1221, + "id": 713, "name": "Identifier", - "src": "21668:12:1" + "src": "22281:12:0" } ], - "id": 1222, + "id": 714, "name": "FunctionCall", - "src": "21629:52:1" + "src": "22242:52:0" } ], - "id": 1223, + "id": 715, "name": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ], - "id": 1224, + "id": 716, "name": "Block", - "src": "21612:76:1" + "src": "22224:78:0" } ], - "id": 1225, + "id": 717, "name": "FunctionDefinition", - "src": "21495:193:1" + "src": "22107:195:0" }, { "attributes": { @@ -46609,7 +46609,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46619,9 +46619,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1226, + "id": 718, "name": "StructuredDocumentation", - "src": "21694:351:1" + "src": "22310:361:0" }, { "children": [ @@ -46630,7 +46630,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46643,21 +46643,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1227, + "id": 719, "name": "ElementaryTypeName", - "src": "22081:7:1" + "src": "22708:7:0" } ], - "id": 1228, + "id": 720, "name": "VariableDeclaration", - "src": "22081:14:1" + "src": "22708:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46669,21 +46669,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1229, + "id": 721, "name": "ElementaryTypeName", - "src": "22097:5:1" + "src": "22724:5:0" } ], - "id": 1230, + "id": 722, "name": "VariableDeclaration", - "src": "22097:17:1" + "src": "22724:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -46695,19 +46695,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1231, + "id": 723, "name": "ElementaryTypeName", - "src": "22116:7:1" + "src": "22743:7:0" } ], - "id": 1232, + "id": 724, "name": "VariableDeclaration", - "src": "22116:13:1" + "src": "22743:13:0" } ], - "id": 1233, + "id": 725, "name": "ParameterList", - "src": "22080:50:1" + "src": "22707:50:0" }, { "children": [ @@ -46716,7 +46716,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46728,25 +46728,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1234, + "id": 726, "name": "ElementaryTypeName", - "src": "22149:5:1" + "src": "22776:5:0" } ], - "id": 1235, + "id": 727, "name": "VariableDeclaration", - "src": "22149:12:1" + "src": "22776:12:0" } ], - "id": 1236, + "id": 728, "name": "ParameterList", - "src": "22148:14:1" + "src": "22775:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1236 + "functionReturnParameters": 728 }, "children": [ { @@ -46785,55 +46785,55 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1237, + "id": 729, "name": "Identifier", - "src": "22180:21:1" + "src": "22808:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 720, "type": "address", "value": "target" }, - "id": 1238, + "id": 730, "name": "Identifier", - "src": "22202:6:1" + "src": "22830:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 722, "type": "bytes memory", "value": "data" }, - "id": 1239, + "id": 731, "name": "Identifier", - "src": "22210:4:1" + "src": "22838:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1232, + "referencedDeclaration": 724, "type": "uint256", "value": "value" }, - "id": 1240, + "id": 732, "name": "Identifier", - "src": "22216:5:1" + "src": "22844:5:0" }, { "attributes": { @@ -46846,29 +46846,29 @@ "type": "literal_string \"Address: low-level call with value failed\"", "value": "Address: low-level call with value failed" }, - "id": 1241, + "id": 733, "name": "Literal", - "src": "22223:43:1" + "src": "22851:43:0" } ], - "id": 1242, + "id": 734, "name": "FunctionCall", - "src": "22180:87:1" + "src": "22808:87:0" } ], - "id": 1243, + "id": 735, "name": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ], - "id": 1244, + "id": 736, "name": "Block", - "src": "22163:111:1" + "src": "22790:113:0" } ], - "id": 1245, + "id": 737, "name": "FunctionDefinition", - "src": "22050:224:1" + "src": "22677:226:0" }, { "attributes": { @@ -46879,7 +46879,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46889,9 +46889,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1246, + "id": 738, "name": "StructuredDocumentation", - "src": "22280:237:1" + "src": "22911:242:0" }, { "children": [ @@ -46900,7 +46900,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46913,21 +46913,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1247, + "id": 739, "name": "ElementaryTypeName", - "src": "22553:7:1" + "src": "23190:7:0" } ], - "id": 1248, + "id": 740, "name": "VariableDeclaration", - "src": "22553:14:1" + "src": "23190:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46939,21 +46939,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1249, + "id": 741, "name": "ElementaryTypeName", - "src": "22569:5:1" + "src": "23206:5:0" } ], - "id": 1250, + "id": 742, "name": "VariableDeclaration", - "src": "22569:17:1" + "src": "23206:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -46965,21 +46965,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1251, + "id": 743, "name": "ElementaryTypeName", - "src": "22588:7:1" + "src": "23225:7:0" } ], - "id": 1252, + "id": 744, "name": "VariableDeclaration", - "src": "22588:13:1" + "src": "23225:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -46991,19 +46991,19 @@ "name": "string", "type": "string" }, - "id": 1253, + "id": 745, "name": "ElementaryTypeName", - "src": "22603:6:1" + "src": "23240:6:0" } ], - "id": 1254, + "id": 746, "name": "VariableDeclaration", - "src": "22603:26:1" + "src": "23240:26:0" } ], - "id": 1255, + "id": 747, "name": "ParameterList", - "src": "22552:78:1" + "src": "23189:78:0" }, { "children": [ @@ -47012,7 +47012,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47024,19 +47024,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1256, + "id": 748, "name": "ElementaryTypeName", - "src": "22649:5:1" + "src": "23286:5:0" } ], - "id": 1257, + "id": 749, "name": "VariableDeclaration", - "src": "22649:12:1" + "src": "23286:12:0" } ], - "id": 1258, + "id": 750, "name": "ParameterList", - "src": "22648:14:1" + "src": "23285:14:0" }, { "children": [ @@ -47077,9 +47077,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1259, + "id": 751, "name": "Identifier", - "src": "22673:7:1" + "src": "23311:7:0" }, { "attributes": { @@ -47124,7 +47124,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -47139,14 +47139,14 @@ "attributes": { "name": "address" }, - "id": 1260, + "id": 752, "name": "ElementaryTypeName", - "src": "22681:7:1" + "src": "23319:7:0" } ], - "id": 1261, + "id": 753, "name": "ElementaryTypeNameExpression", - "src": "22681:7:1" + "src": "23319:7:0" }, { "attributes": { @@ -47157,37 +47157,37 @@ "type": "library Address", "value": "this" }, - "id": 1262, + "id": 754, "name": "Identifier", - "src": "22689:4:1" + "src": "23327:4:0" } ], - "id": 1263, + "id": 755, "name": "FunctionCall", - "src": "22681:13:1" + "src": "23319:13:0" } ], - "id": 1264, + "id": 756, "name": "MemberAccess", - "src": "22681:21:1" + "src": "23319:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1265, + "id": 757, "name": "Identifier", - "src": "22706:5:1" + "src": "23344:5:0" } ], - "id": 1266, + "id": 758, "name": "BinaryOperation", - "src": "22681:30:1" + "src": "23319:30:0" }, { "attributes": { @@ -47200,19 +47200,19 @@ "type": "literal_string \"Address: insufficient balance for call\"", "value": "Address: insufficient balance for call" }, - "id": 1267, + "id": 759, "name": "Literal", - "src": "22713:40:1" + "src": "23351:40:0" } ], - "id": 1268, + "id": 760, "name": "FunctionCall", - "src": "22673:81:1" + "src": "23311:81:0" } ], - "id": 1269, + "id": 761, "name": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "children": [ @@ -47251,9 +47251,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1270, + "id": 762, "name": "Identifier", - "src": "22764:7:1" + "src": "23403:7:0" }, { "attributes": { @@ -47281,31 +47281,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1271, + "id": 763, "name": "Identifier", - "src": "22772:10:1" + "src": "23411:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1272, + "id": 764, "name": "Identifier", - "src": "22783:6:1" + "src": "23422:6:0" } ], - "id": 1273, + "id": 765, "name": "FunctionCall", - "src": "22772:18:1" + "src": "23411:18:0" }, { "attributes": { @@ -47318,25 +47318,25 @@ "type": "literal_string \"Address: call to non-contract\"", "value": "Address: call to non-contract" }, - "id": 1274, + "id": 766, "name": "Literal", - "src": "22792:31:1" + "src": "23431:31:0" } ], - "id": 1275, + "id": 767, "name": "FunctionCall", - "src": "22764:60:1" + "src": "23403:60:0" } ], - "id": 1276, + "id": 768, "name": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "attributes": { "assignments": [ - 1278, - 1280 + 770, + 772 ] }, "children": [ @@ -47345,7 +47345,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -47357,21 +47357,21 @@ "name": "bool", "type": "bool" }, - "id": 1277, + "id": 769, "name": "ElementaryTypeName", - "src": "22895:4:1" + "src": "23537:4:0" } ], - "id": 1278, + "id": 770, "name": "VariableDeclaration", - "src": "22895:12:1" + "src": "23537:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47383,14 +47383,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1279, + "id": 771, "name": "ElementaryTypeName", - "src": "22909:5:1" + "src": "23551:5:0" } ], - "id": 1280, + "id": 772, "name": "VariableDeclaration", - "src": "22909:23:1" + "src": "23551:23:0" }, { "attributes": { @@ -47446,63 +47446,63 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1281, + "id": 773, "name": "Identifier", - "src": "22936:6:1" + "src": "23578:6:0" } ], - "id": 1282, + "id": 774, "name": "MemberAccess", - "src": "22936:11:1" + "src": "23578:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1283, + "id": 775, "name": "Identifier", - "src": "22956:5:1" + "src": "23598:5:0" } ], - "id": 1284, + "id": 776, "name": "FunctionCallOptions", - "src": "22936:27:1" + "src": "23578:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1250, + "referencedDeclaration": 742, "type": "bytes memory", "value": "data" }, - "id": 1285, + "id": 777, "name": "Identifier", - "src": "22964:4:1" + "src": "23606:4:0" } ], - "id": 1286, + "id": 778, "name": "FunctionCall", - "src": "22936:33:1" + "src": "23578:33:0" } ], - "id": 1287, + "id": 779, "name": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "attributes": { - "functionReturnParameters": 1258 + "functionReturnParameters": 750 }, "children": [ { @@ -47539,72 +47539,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1288, + "id": 780, "name": "Identifier", - "src": "22986:17:1" + "src": "23629:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1278, + "referencedDeclaration": 770, "type": "bool", "value": "success" }, - "id": 1289, + "id": 781, "name": "Identifier", - "src": "23004:7:1" + "src": "23647:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1280, + "referencedDeclaration": 772, "type": "bytes memory", "value": "returndata" }, - "id": 1290, + "id": 782, "name": "Identifier", - "src": "23013:10:1" + "src": "23656:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 746, "type": "string memory", "value": "errorMessage" }, - "id": 1291, + "id": 783, "name": "Identifier", - "src": "23025:12:1" + "src": "23668:12:0" } ], - "id": 1292, + "id": 784, "name": "FunctionCall", - "src": "22986:52:1" + "src": "23629:52:0" } ], - "id": 1293, + "id": 785, "name": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ], - "id": 1294, + "id": 786, "name": "Block", - "src": "22663:382:1" + "src": "23300:389:0" } ], - "id": 1295, + "id": 787, "name": "FunctionDefinition", - "src": "22522:523:1" + "src": "23159:530:0" }, { "attributes": { @@ -47615,7 +47615,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -47625,9 +47625,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1296, + "id": 788, "name": "StructuredDocumentation", - "src": "23051:166:1" + "src": "23697:171:0" }, { "children": [ @@ -47636,7 +47636,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47649,21 +47649,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1297, + "id": 789, "name": "ElementaryTypeName", - "src": "23250:7:1" + "src": "23902:7:0" } ], - "id": 1298, + "id": 790, "name": "VariableDeclaration", - "src": "23250:14:1" + "src": "23902:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47675,19 +47675,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1299, + "id": 791, "name": "ElementaryTypeName", - "src": "23266:5:1" + "src": "23918:5:0" } ], - "id": 1300, + "id": 792, "name": "VariableDeclaration", - "src": "23266:17:1" + "src": "23918:17:0" } ], - "id": 1301, + "id": 793, "name": "ParameterList", - "src": "23249:35:1" + "src": "23901:35:0" }, { "children": [ @@ -47696,7 +47696,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47708,25 +47708,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1302, + "id": 794, "name": "ElementaryTypeName", - "src": "23308:5:1" + "src": "23960:5:0" } ], - "id": 1303, + "id": 795, "name": "VariableDeclaration", - "src": "23308:12:1" + "src": "23960:12:0" } ], - "id": 1304, + "id": 796, "name": "ParameterList", - "src": "23307:14:1" + "src": "23959:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1304 + "functionReturnParameters": 796 }, "children": [ { @@ -47761,42 +47761,42 @@ } ], "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, + "referencedDeclaration": 839, "type": "function (address,bytes memory,string memory) view returns (bytes memory)", "value": "functionStaticCall" }, - "id": 1305, + "id": 797, "name": "Identifier", - "src": "23339:18:1" + "src": "23992:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1298, + "referencedDeclaration": 790, "type": "address", "value": "target" }, - "id": 1306, + "id": 798, "name": "Identifier", - "src": "23358:6:1" + "src": "24011:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1300, + "referencedDeclaration": 792, "type": "bytes memory", "value": "data" }, - "id": 1307, + "id": 799, "name": "Identifier", - "src": "23366:4:1" + "src": "24019:4:0" }, { "attributes": { @@ -47809,29 +47809,29 @@ "type": "literal_string \"Address: low-level static call failed\"", "value": "Address: low-level static call failed" }, - "id": 1308, + "id": 800, "name": "Literal", - "src": "23372:39:1" + "src": "24025:39:0" } ], - "id": 1309, + "id": 801, "name": "FunctionCall", - "src": "23339:73:1" + "src": "23992:73:0" } ], - "id": 1310, + "id": 802, "name": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ], - "id": 1311, + "id": 803, "name": "Block", - "src": "23322:97:1" + "src": "23974:99:0" } ], - "id": 1312, + "id": 804, "name": "FunctionDefinition", - "src": "23222:197:1" + "src": "23874:199:0" }, { "attributes": { @@ -47842,7 +47842,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -47852,9 +47852,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1313, + "id": 805, "name": "StructuredDocumentation", - "src": "23425:173:1" + "src": "24081:178:0" }, { "children": [ @@ -47863,7 +47863,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47876,21 +47876,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1314, + "id": 806, "name": "ElementaryTypeName", - "src": "23631:7:1" + "src": "24293:7:0" } ], - "id": 1315, + "id": 807, "name": "VariableDeclaration", - "src": "23631:14:1" + "src": "24293:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47902,21 +47902,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1316, + "id": 808, "name": "ElementaryTypeName", - "src": "23647:5:1" + "src": "24309:5:0" } ], - "id": 1317, + "id": 809, "name": "VariableDeclaration", - "src": "23647:17:1" + "src": "24309:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -47928,19 +47928,19 @@ "name": "string", "type": "string" }, - "id": 1318, + "id": 810, "name": "ElementaryTypeName", - "src": "23666:6:1" + "src": "24328:6:0" } ], - "id": 1319, + "id": 811, "name": "VariableDeclaration", - "src": "23666:26:1" + "src": "24328:26:0" } ], - "id": 1320, + "id": 812, "name": "ParameterList", - "src": "23630:63:1" + "src": "24292:63:0" }, { "children": [ @@ -47949,7 +47949,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47961,19 +47961,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1321, + "id": 813, "name": "ElementaryTypeName", - "src": "23717:5:1" + "src": "24379:5:0" } ], - "id": 1322, + "id": 814, "name": "VariableDeclaration", - "src": "23717:12:1" + "src": "24379:12:0" } ], - "id": 1323, + "id": 815, "name": "ParameterList", - "src": "23716:14:1" + "src": "24378:14:0" }, { "children": [ @@ -48014,9 +48014,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1324, + "id": 816, "name": "Identifier", - "src": "23741:7:1" + "src": "24404:7:0" }, { "attributes": { @@ -48044,31 +48044,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1325, + "id": 817, "name": "Identifier", - "src": "23749:10:1" + "src": "24412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1326, + "id": 818, "name": "Identifier", - "src": "23760:6:1" + "src": "24423:6:0" } ], - "id": 1327, + "id": 819, "name": "FunctionCall", - "src": "23749:18:1" + "src": "24412:18:0" }, { "attributes": { @@ -48081,25 +48081,25 @@ "type": "literal_string \"Address: static call to non-contract\"", "value": "Address: static call to non-contract" }, - "id": 1328, + "id": 820, "name": "Literal", - "src": "23769:38:1" + "src": "24432:38:0" } ], - "id": 1329, + "id": 821, "name": "FunctionCall", - "src": "23741:67:1" + "src": "24404:67:0" } ], - "id": 1330, + "id": 822, "name": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "attributes": { "assignments": [ - 1332, - 1334 + 824, + 826 ] }, "children": [ @@ -48108,7 +48108,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48120,21 +48120,21 @@ "name": "bool", "type": "bool" }, - "id": 1331, + "id": 823, "name": "ElementaryTypeName", - "src": "23879:4:1" + "src": "24545:4:0" } ], - "id": 1332, + "id": 824, "name": "VariableDeclaration", - "src": "23879:12:1" + "src": "24545:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48146,14 +48146,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1333, + "id": 825, "name": "ElementaryTypeName", - "src": "23893:5:1" + "src": "24559:5:0" } ], - "id": 1334, + "id": 826, "name": "VariableDeclaration", - "src": "23893:23:1" + "src": "24559:23:0" }, { "attributes": { @@ -48191,45 +48191,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1335, + "id": 827, "name": "Identifier", - "src": "23920:6:1" + "src": "24586:6:0" } ], - "id": 1336, + "id": 828, "name": "MemberAccess", - "src": "23920:17:1" + "src": "24586:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1317, + "referencedDeclaration": 809, "type": "bytes memory", "value": "data" }, - "id": 1337, + "id": 829, "name": "Identifier", - "src": "23938:4:1" + "src": "24604:4:0" } ], - "id": 1338, + "id": 830, "name": "FunctionCall", - "src": "23920:23:1" + "src": "24586:23:0" } ], - "id": 1339, + "id": 831, "name": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "attributes": { - "functionReturnParameters": 1323 + "functionReturnParameters": 815 }, "children": [ { @@ -48266,72 +48266,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1340, + "id": 832, "name": "Identifier", - "src": "23960:17:1" + "src": "24627:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1332, + "referencedDeclaration": 824, "type": "bool", "value": "success" }, - "id": 1341, + "id": 833, "name": "Identifier", - "src": "23978:7:1" + "src": "24645:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1334, + "referencedDeclaration": 826, "type": "bytes memory", "value": "returndata" }, - "id": 1342, + "id": 834, "name": "Identifier", - "src": "23987:10:1" + "src": "24654:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 811, "type": "string memory", "value": "errorMessage" }, - "id": 1343, + "id": 835, "name": "Identifier", - "src": "23999:12:1" + "src": "24666:12:0" } ], - "id": 1344, + "id": 836, "name": "FunctionCall", - "src": "23960:52:1" + "src": "24627:52:0" } ], - "id": 1345, + "id": 837, "name": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ], - "id": 1346, + "id": 838, "name": "Block", - "src": "23731:288:1" + "src": "24393:294:0" } ], - "id": 1347, + "id": 839, "name": "FunctionDefinition", - "src": "23603:416:1" + "src": "24265:422:0" }, { "attributes": { @@ -48342,7 +48342,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48352,9 +48352,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1348, + "id": 840, "name": "StructuredDocumentation", - "src": "24025:168:1" + "src": "24695:173:0" }, { "children": [ @@ -48363,7 +48363,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48376,21 +48376,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1349, + "id": 841, "name": "ElementaryTypeName", - "src": "24228:7:1" + "src": "24904:7:0" } ], - "id": 1350, + "id": 842, "name": "VariableDeclaration", - "src": "24228:14:1" + "src": "24904:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48402,19 +48402,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1351, + "id": 843, "name": "ElementaryTypeName", - "src": "24244:5:1" + "src": "24920:5:0" } ], - "id": 1352, + "id": 844, "name": "VariableDeclaration", - "src": "24244:17:1" + "src": "24920:17:0" } ], - "id": 1353, + "id": 845, "name": "ParameterList", - "src": "24227:35:1" + "src": "24903:35:0" }, { "children": [ @@ -48423,7 +48423,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48435,25 +48435,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1354, + "id": 846, "name": "ElementaryTypeName", - "src": "24281:5:1" + "src": "24957:5:0" } ], - "id": 1355, + "id": 847, "name": "VariableDeclaration", - "src": "24281:12:1" + "src": "24957:12:0" } ], - "id": 1356, + "id": 848, "name": "ParameterList", - "src": "24280:14:1" + "src": "24956:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1356 + "functionReturnParameters": 848 }, "children": [ { @@ -48488,42 +48488,42 @@ } ], "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, + "referencedDeclaration": 891, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionDelegateCall" }, - "id": 1357, + "id": 849, "name": "Identifier", - "src": "24312:20:1" + "src": "24989:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1350, + "referencedDeclaration": 842, "type": "address", "value": "target" }, - "id": 1358, + "id": 850, "name": "Identifier", - "src": "24333:6:1" + "src": "25010:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1352, + "referencedDeclaration": 844, "type": "bytes memory", "value": "data" }, - "id": 1359, + "id": 851, "name": "Identifier", - "src": "24341:4:1" + "src": "25018:4:0" }, { "attributes": { @@ -48536,29 +48536,29 @@ "type": "literal_string \"Address: low-level delegate call failed\"", "value": "Address: low-level delegate call failed" }, - "id": 1360, + "id": 852, "name": "Literal", - "src": "24347:41:1" + "src": "25024:41:0" } ], - "id": 1361, + "id": 853, "name": "FunctionCall", - "src": "24312:77:1" + "src": "24989:77:0" } ], - "id": 1362, + "id": 854, "name": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ], - "id": 1363, + "id": 855, "name": "Block", - "src": "24295:101:1" + "src": "24971:103:0" } ], - "id": 1364, + "id": 856, "name": "FunctionDefinition", - "src": "24198:198:1" + "src": "24874:200:0" }, { "attributes": { @@ -48569,7 +48569,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48579,9 +48579,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1365, + "id": 857, "name": "StructuredDocumentation", - "src": "24402:175:1" + "src": "25082:180:0" }, { "children": [ @@ -48590,7 +48590,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48603,21 +48603,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1366, + "id": 858, "name": "ElementaryTypeName", - "src": "24612:7:1" + "src": "25298:7:0" } ], - "id": 1367, + "id": 859, "name": "VariableDeclaration", - "src": "24612:14:1" + "src": "25298:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48629,21 +48629,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1368, + "id": 860, "name": "ElementaryTypeName", - "src": "24628:5:1" + "src": "25314:5:0" } ], - "id": 1369, + "id": 861, "name": "VariableDeclaration", - "src": "24628:17:1" + "src": "25314:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -48655,19 +48655,19 @@ "name": "string", "type": "string" }, - "id": 1370, + "id": 862, "name": "ElementaryTypeName", - "src": "24647:6:1" + "src": "25333:6:0" } ], - "id": 1371, + "id": 863, "name": "VariableDeclaration", - "src": "24647:26:1" + "src": "25333:26:0" } ], - "id": 1372, + "id": 864, "name": "ParameterList", - "src": "24611:63:1" + "src": "25297:63:0" }, { "children": [ @@ -48676,7 +48676,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48688,19 +48688,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1373, + "id": 865, "name": "ElementaryTypeName", - "src": "24693:5:1" + "src": "25379:5:0" } ], - "id": 1374, + "id": 866, "name": "VariableDeclaration", - "src": "24693:12:1" + "src": "25379:12:0" } ], - "id": 1375, + "id": 867, "name": "ParameterList", - "src": "24692:14:1" + "src": "25378:14:0" }, { "children": [ @@ -48741,9 +48741,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1376, + "id": 868, "name": "Identifier", - "src": "24717:7:1" + "src": "25404:7:0" }, { "attributes": { @@ -48771,31 +48771,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1377, + "id": 869, "name": "Identifier", - "src": "24725:10:1" + "src": "25412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1378, + "id": 870, "name": "Identifier", - "src": "24736:6:1" + "src": "25423:6:0" } ], - "id": 1379, + "id": 871, "name": "FunctionCall", - "src": "24725:18:1" + "src": "25412:18:0" }, { "attributes": { @@ -48808,25 +48808,25 @@ "type": "literal_string \"Address: delegate call to non-contract\"", "value": "Address: delegate call to non-contract" }, - "id": 1380, + "id": 872, "name": "Literal", - "src": "24745:40:1" + "src": "25432:40:0" } ], - "id": 1381, + "id": 873, "name": "FunctionCall", - "src": "24717:69:1" + "src": "25404:69:0" } ], - "id": 1382, + "id": 874, "name": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "attributes": { "assignments": [ - 1384, - 1386 + 876, + 878 ] }, "children": [ @@ -48835,7 +48835,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48847,21 +48847,21 @@ "name": "bool", "type": "bool" }, - "id": 1383, + "id": 875, "name": "ElementaryTypeName", - "src": "24857:4:1" + "src": "25547:4:0" } ], - "id": 1384, + "id": 876, "name": "VariableDeclaration", - "src": "24857:12:1" + "src": "25547:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48873,14 +48873,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1385, + "id": 877, "name": "ElementaryTypeName", - "src": "24871:5:1" + "src": "25561:5:0" } ], - "id": 1386, + "id": 878, "name": "VariableDeclaration", - "src": "24871:23:1" + "src": "25561:23:0" }, { "attributes": { @@ -48918,45 +48918,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1387, + "id": 879, "name": "Identifier", - "src": "24898:6:1" + "src": "25588:6:0" } ], - "id": 1388, + "id": 880, "name": "MemberAccess", - "src": "24898:19:1" + "src": "25588:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1369, + "referencedDeclaration": 861, "type": "bytes memory", "value": "data" }, - "id": 1389, + "id": 881, "name": "Identifier", - "src": "24918:4:1" + "src": "25608:4:0" } ], - "id": 1390, + "id": 882, "name": "FunctionCall", - "src": "24898:25:1" + "src": "25588:25:0" } ], - "id": 1391, + "id": 883, "name": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "attributes": { - "functionReturnParameters": 1375 + "functionReturnParameters": 867 }, "children": [ { @@ -48993,72 +48993,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1392, + "id": 884, "name": "Identifier", - "src": "24940:17:1" + "src": "25631:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1384, + "referencedDeclaration": 876, "type": "bool", "value": "success" }, - "id": 1393, + "id": 885, "name": "Identifier", - "src": "24958:7:1" + "src": "25649:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1386, + "referencedDeclaration": 878, "type": "bytes memory", "value": "returndata" }, - "id": 1394, + "id": 886, "name": "Identifier", - "src": "24967:10:1" + "src": "25658:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1371, + "referencedDeclaration": 863, "type": "string memory", "value": "errorMessage" }, - "id": 1395, + "id": 887, "name": "Identifier", - "src": "24979:12:1" + "src": "25670:12:0" } ], - "id": 1396, + "id": 888, "name": "FunctionCall", - "src": "24940:52:1" + "src": "25631:52:0" } ], - "id": 1397, + "id": 889, "name": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ], - "id": 1398, + "id": 890, "name": "Block", - "src": "24707:292:1" + "src": "25393:298:0" } ], - "id": 1399, + "id": 891, "name": "FunctionDefinition", - "src": "24582:417:1" + "src": "25268:423:0" }, { "attributes": { @@ -49069,7 +49069,7 @@ null ], "name": "_verifyCallResult", - "scope": 1430, + "scope": 922, "stateMutability": "pure", "virtual": false, "visibility": "private" @@ -49082,7 +49082,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49094,21 +49094,21 @@ "name": "bool", "type": "bool" }, - "id": 1400, + "id": 892, "name": "ElementaryTypeName", - "src": "25032:4:1" + "src": "25726:4:0" } ], - "id": 1401, + "id": 893, "name": "VariableDeclaration", - "src": "25032:12:1" + "src": "25726:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49120,21 +49120,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1402, + "id": 894, "name": "ElementaryTypeName", - "src": "25046:5:1" + "src": "25740:5:0" } ], - "id": 1403, + "id": 895, "name": "VariableDeclaration", - "src": "25046:23:1" + "src": "25740:23:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -49146,19 +49146,19 @@ "name": "string", "type": "string" }, - "id": 1404, + "id": 896, "name": "ElementaryTypeName", - "src": "25071:6:1" + "src": "25765:6:0" } ], - "id": 1405, + "id": 897, "name": "VariableDeclaration", - "src": "25071:26:1" + "src": "25765:26:0" } ], - "id": 1406, + "id": 898, "name": "ParameterList", - "src": "25031:67:1" + "src": "25725:67:0" }, { "children": [ @@ -49167,7 +49167,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49179,19 +49179,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1407, + "id": 899, "name": "ElementaryTypeName", - "src": "25120:5:1" + "src": "25814:5:0" } ], - "id": 1408, + "id": 900, "name": "VariableDeclaration", - "src": "25120:12:1" + "src": "25814:12:0" } ], - "id": 1409, + "id": 901, "name": "ParameterList", - "src": "25119:14:1" + "src": "25813:14:0" }, { "children": [ @@ -49202,19 +49202,19 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1401, + "referencedDeclaration": 893, "type": "bool", "value": "success" }, - "id": 1410, + "id": 902, "name": "Identifier", - "src": "25148:7:1" + "src": "25843:7:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1409 + "functionReturnParameters": 901 }, "children": [ { @@ -49222,23 +49222,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1411, + "id": 903, "name": "Identifier", - "src": "25178:10:1" + "src": "25874:10:0" } ], - "id": 1412, + "id": 904, "name": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ], - "id": 1413, + "id": 905, "name": "Block", - "src": "25157:42:1" + "src": "25852:44:0" }, { "children": [ @@ -49273,18 +49273,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1414, + "id": 906, "name": "Identifier", - "src": "25289:10:1" + "src": "25988:10:0" } ], - "id": 1415, + "id": 907, "name": "MemberAccess", - "src": "25289:17:1" + "src": "25988:17:0" }, { "attributes": { @@ -49297,14 +49297,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1416, + "id": 908, "name": "Literal", - "src": "25309:1:1" + "src": "26008:1:0" } ], - "id": 1417, + "id": 909, "name": "BinaryOperation", - "src": "25289:21:1" + "src": "25988:21:0" }, { "children": [ @@ -49313,31 +49313,31 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], "operations": "{\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n}" }, "children": [], - "id": 1418, + "id": 910, "name": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ], - "id": 1419, + "id": 911, "name": "Block", - "src": "25312:343:1" + "src": "26011:351:0" }, { "children": [ @@ -49374,67 +49374,67 @@ "type": "function (string memory) pure", "value": "revert" }, - "id": 1420, + "id": 912, "name": "Identifier", - "src": "25679:6:1" + "src": "26387:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1405, + "referencedDeclaration": 897, "type": "string memory", "value": "errorMessage" }, - "id": 1421, + "id": 913, "name": "Identifier", - "src": "25686:12:1" + "src": "26394:12:0" } ], - "id": 1422, + "id": 914, "name": "FunctionCall", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1423, + "id": 915, "name": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1424, + "id": 916, "name": "Block", - "src": "25661:53:1" + "src": "26368:55:0" } ], - "id": 1425, + "id": 917, "name": "IfStatement", - "src": "25285:429:1" + "src": "25984:439:0" } ], - "id": 1426, + "id": 918, "name": "Block", - "src": "25205:519:1" + "src": "25902:532:0" } ], - "id": 1427, + "id": 919, "name": "IfStatement", - "src": "25144:580:1" + "src": "25839:595:0" } ], - "id": 1428, + "id": 920, "name": "Block", - "src": "25134:596:1" + "src": "25828:613:0" } ], - "id": 1429, + "id": 921, "name": "FunctionDefinition", - "src": "25005:725:1" + "src": "25699:742:0" } ], - "id": 1430, + "id": 922, "name": "ContractDefinition", - "src": "18048:7684:1" + "src": "18579:7865:0" }, { "attributes": { @@ -49448,9 +49448,9 @@ ".0" ] }, - "id": 1431, + "id": 923, "name": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "attributes": { @@ -49464,25 +49464,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, - "id": 1432, + "id": 924, "name": "StructuredDocumentation", - "src": "25824:686:1" + "src": "26541:709:0" }, { "attributes": { "canonicalName": "EnumerableSet.Set", "name": "Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -49491,7 +49491,7 @@ "constant": false, "mutability": "mutable", "name": "_values", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "bytes32[]", @@ -49508,26 +49508,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1433, + "id": 925, "name": "ElementaryTypeName", - "src": "27033:7:1" + "src": "27786:7:0" } ], - "id": 1434, + "id": 926, "name": "ArrayTypeName", - "src": "27033:9:1" + "src": "27786:9:0" } ], - "id": 1435, + "id": 927, "name": "VariableDeclaration", - "src": "27033:17:1" + "src": "27786:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -49544,33 +49544,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1436, + "id": 928, "name": "ElementaryTypeName", - "src": "27193:7:1" + "src": "27950:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1437, + "id": 929, "name": "ElementaryTypeName", - "src": "27204:7:1" + "src": "27961:7:0" } ], - "id": 1438, + "id": 930, "name": "Mapping", - "src": "27184:28:1" + "src": "27941:28:0" } ], - "id": 1439, + "id": 931, "name": "VariableDeclaration", - "src": "27184:37:1" + "src": "27941:37:0" } ], - "id": 1440, + "id": 932, "name": "StructDefinition", - "src": "26979:249:1" + "src": "27730:256:0" }, { "attributes": { @@ -49581,7 +49581,7 @@ null ], "name": "_add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -49591,9 +49591,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1441, + "id": 933, "name": "StructuredDocumentation", - "src": "27234:159:1" + "src": "27994:164:0" }, { "children": [ @@ -49602,7 +49602,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -49612,24 +49612,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1442, + "id": 934, "name": "UserDefinedTypeName", - "src": "27412:3:1" + "src": "28178:3:0" } ], - "id": 1443, + "id": 935, "name": "VariableDeclaration", - "src": "27412:15:1" + "src": "28178:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -49641,19 +49641,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1444, + "id": 936, "name": "ElementaryTypeName", - "src": "27429:7:1" + "src": "28195:7:0" } ], - "id": 1445, + "id": 937, "name": "VariableDeclaration", - "src": "27429:13:1" + "src": "28195:13:0" } ], - "id": 1446, + "id": 938, "name": "ParameterList", - "src": "27411:32:1" + "src": "28177:32:0" }, { "children": [ @@ -49662,7 +49662,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49674,19 +49674,19 @@ "name": "bool", "type": "bool" }, - "id": 1447, + "id": 939, "name": "ElementaryTypeName", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1448, + "id": 940, "name": "VariableDeclaration", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1449, + "id": 941, "name": "ParameterList", - "src": "27460:6:1" + "src": "28226:6:0" }, { "children": [ @@ -49722,7 +49722,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -49733,49 +49733,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1450, + "id": 942, "name": "Identifier", - "src": "27482:9:1" + "src": "28249:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1451, + "id": 943, "name": "Identifier", - "src": "27492:3:1" + "src": "28259:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1452, + "id": 944, "name": "Identifier", - "src": "27497:5:1" + "src": "28264:5:0" } ], - "id": 1453, + "id": 945, "name": "FunctionCall", - "src": "27482:21:1" + "src": "28249:21:0" } ], - "id": 1454, + "id": 946, "name": "UnaryOperation", - "src": "27481:22:1" + "src": "28248:22:0" }, { "children": [ @@ -49819,7 +49819,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -49828,46 +49828,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1455, + "id": 947, "name": "Identifier", - "src": "27519:3:1" + "src": "28287:3:0" } ], - "id": 1458, + "id": 950, "name": "MemberAccess", - "src": "27519:11:1" + "src": "28287:11:0" } ], - "id": 1459, + "id": 951, "name": "MemberAccess", - "src": "27519:16:1" + "src": "28287:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1460, + "id": 952, "name": "Identifier", - "src": "27536:5:1" + "src": "28304:5:0" } ], - "id": 1461, + "id": 953, "name": "FunctionCall", - "src": "27519:23:1" + "src": "28287:23:0" } ], - "id": 1462, + "id": 954, "name": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "children": [ @@ -49897,7 +49897,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -49906,36 +49906,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1463, + "id": 955, "name": "Identifier", - "src": "27677:3:1" + "src": "28448:3:0" } ], - "id": 1466, + "id": 958, "name": "MemberAccess", - "src": "27677:12:1" + "src": "28448:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1465, + "id": 957, "name": "Identifier", - "src": "27690:5:1" + "src": "28461:5:0" } ], - "id": 1467, + "id": 959, "name": "IndexAccess", - "src": "27677:19:1" + "src": "28448:19:0" }, { "attributes": { @@ -49954,7 +49954,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -49963,37 +49963,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1468, + "id": 960, "name": "Identifier", - "src": "27699:3:1" + "src": "28470:3:0" } ], - "id": 1469, + "id": 961, "name": "MemberAccess", - "src": "27699:11:1" + "src": "28470:11:0" } ], - "id": 1470, + "id": 962, "name": "MemberAccess", - "src": "27699:18:1" + "src": "28470:18:0" } ], - "id": 1471, + "id": 963, "name": "Assignment", - "src": "27677:40:1" + "src": "28448:40:0" } ], - "id": 1472, + "id": 964, "name": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -50007,25 +50007,25 @@ "type": "bool", "value": "true" }, - "id": 1473, + "id": 965, "name": "Literal", - "src": "27738:4:1" + "src": "28510:4:0" } ], - "id": 1474, + "id": 966, "name": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ], - "id": 1475, + "id": 967, "name": "Block", - "src": "27505:248:1" + "src": "28272:254:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -50039,34 +50039,34 @@ "type": "bool", "value": "false" }, - "id": 1476, + "id": 968, "name": "Literal", - "src": "27780:5:1" + "src": "28554:5:0" } ], - "id": 1477, + "id": 969, "name": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ], - "id": 1478, + "id": 970, "name": "Block", - "src": "27759:37:1" + "src": "28532:39:0" } ], - "id": 1479, + "id": 971, "name": "IfStatement", - "src": "27477:319:1" + "src": "28244:327:0" } ], - "id": 1480, + "id": 972, "name": "Block", - "src": "27467:335:1" + "src": "28233:345:0" } ], - "id": 1481, + "id": 973, "name": "FunctionDefinition", - "src": "27398:404:1" + "src": "28164:414:0" }, { "attributes": { @@ -50077,7 +50077,7 @@ null ], "name": "_remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -50087,9 +50087,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1482, + "id": 974, "name": "StructuredDocumentation", - "src": "27808:157:1" + "src": "28586:162:0" }, { "children": [ @@ -50098,7 +50098,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -50108,24 +50108,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1483, + "id": 975, "name": "UserDefinedTypeName", - "src": "27987:3:1" + "src": "28771:3:0" } ], - "id": 1484, + "id": 976, "name": "VariableDeclaration", - "src": "27987:15:1" + "src": "28771:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50137,19 +50137,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1485, + "id": 977, "name": "ElementaryTypeName", - "src": "28004:7:1" + "src": "28788:7:0" } ], - "id": 1486, + "id": 978, "name": "VariableDeclaration", - "src": "28004:13:1" + "src": "28788:13:0" } ], - "id": 1487, + "id": 979, "name": "ParameterList", - "src": "27986:32:1" + "src": "28770:32:0" }, { "children": [ @@ -50158,7 +50158,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -50170,26 +50170,26 @@ "name": "bool", "type": "bool" }, - "id": 1488, + "id": 980, "name": "ElementaryTypeName", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1489, + "id": 981, "name": "VariableDeclaration", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1490, + "id": 982, "name": "ParameterList", - "src": "28035:6:1" + "src": "28819:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1492 + 984 ] }, "children": [ @@ -50198,7 +50198,7 @@ "constant": false, "mutability": "mutable", "name": "valueIndex", - "scope": 1560, + "scope": 1052, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50210,14 +50210,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1491, + "id": 983, "name": "ElementaryTypeName", - "src": "28152:7:1" + "src": "28938:7:0" } ], - "id": 1492, + "id": 984, "name": "VariableDeclaration", - "src": "28152:18:1" + "src": "28938:18:0" }, { "attributes": { @@ -50235,7 +50235,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50244,41 +50244,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1493, + "id": 985, "name": "Identifier", - "src": "28173:3:1" + "src": "28959:3:0" } ], - "id": 1494, + "id": 986, "name": "MemberAccess", - "src": "28173:12:1" + "src": "28959:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1495, + "id": 987, "name": "Identifier", - "src": "28186:5:1" + "src": "28972:5:0" } ], - "id": 1496, + "id": 988, "name": "IndexAccess", - "src": "28173:19:1" + "src": "28959:19:0" } ], - "id": 1497, + "id": 989, "name": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "children": [ @@ -50301,13 +50301,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1498, + "id": 990, "name": "Identifier", - "src": "28207:10:1" + "src": "28995:10:0" }, { "attributes": { @@ -50320,21 +50320,21 @@ "type": "int_const 0", "value": "0" }, - "id": 1499, + "id": 991, "name": "Literal", - "src": "28221:1:1" + "src": "29009:1:0" } ], - "id": 1500, + "id": 992, "name": "BinaryOperation", - "src": "28207:15:1" + "src": "28995:15:0" }, { "children": [ { "attributes": { "assignments": [ - 1502 + 994 ] }, "children": [ @@ -50343,7 +50343,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50355,14 +50355,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1501, + "id": 993, "name": "ElementaryTypeName", - "src": "28564:7:1" + "src": "29357:7:0" } ], - "id": 1502, + "id": 994, "name": "VariableDeclaration", - "src": "28564:21:1" + "src": "29357:21:0" }, { "attributes": { @@ -50383,13 +50383,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1503, + "id": 995, "name": "Identifier", - "src": "28588:10:1" + "src": "29381:10:0" }, { "attributes": { @@ -50402,24 +50402,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1504, + "id": 996, "name": "Literal", - "src": "28601:1:1" + "src": "29394:1:0" } ], - "id": 1505, + "id": 997, "name": "BinaryOperation", - "src": "28588:14:1" + "src": "29381:14:0" } ], - "id": 1506, + "id": 998, "name": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "attributes": { "assignments": [ - 1508 + 1000 ] }, "children": [ @@ -50428,7 +50428,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50440,14 +50440,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1507, + "id": 999, "name": "ElementaryTypeName", - "src": "28616:7:1" + "src": "29410:7:0" } ], - "id": 1508, + "id": 1000, "name": "VariableDeclaration", - "src": "28616:17:1" + "src": "29410:17:0" }, { "attributes": { @@ -50480,7 +50480,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50489,23 +50489,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1509, + "id": 1001, "name": "Identifier", - "src": "28636:3:1" + "src": "29430:3:0" } ], - "id": 1510, + "id": 1002, "name": "MemberAccess", - "src": "28636:11:1" + "src": "29430:11:0" } ], - "id": 1511, + "id": 1003, "name": "MemberAccess", - "src": "28636:18:1" + "src": "29430:18:0" }, { "attributes": { @@ -50518,24 +50518,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1512, + "id": 1004, "name": "Literal", - "src": "28657:1:1" + "src": "29451:1:0" } ], - "id": 1513, + "id": 1005, "name": "BinaryOperation", - "src": "28636:22:1" + "src": "29430:22:0" } ], - "id": 1514, + "id": 1006, "name": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "attributes": { "assignments": [ - 1516 + 1008 ] }, "children": [ @@ -50544,7 +50544,7 @@ "constant": false, "mutability": "mutable", "name": "lastvalue", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50556,14 +50556,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1515, + "id": 1007, "name": "ElementaryTypeName", - "src": "28898:7:1" + "src": "29697:7:0" } ], - "id": 1516, + "id": 1008, "name": "VariableDeclaration", - "src": "28898:17:1" + "src": "29697:17:0" }, { "attributes": { @@ -50581,7 +50581,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50590,41 +50590,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1517, + "id": 1009, "name": "Identifier", - "src": "28918:3:1" + "src": "29717:3:0" } ], - "id": 1518, + "id": 1010, "name": "MemberAccess", - "src": "28918:11:1" + "src": "29717:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1508, + "referencedDeclaration": 1000, "type": "uint256", "value": "lastIndex" }, - "id": 1519, + "id": 1011, "name": "Identifier", - "src": "28930:9:1" + "src": "29729:9:0" } ], - "id": 1520, + "id": 1012, "name": "IndexAccess", - "src": "28918:22:1" + "src": "29717:22:0" } ], - "id": 1521, + "id": 1013, "name": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "children": [ @@ -50654,7 +50654,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50663,59 +50663,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1522, + "id": 1014, "name": "Identifier", - "src": "29032:3:1" + "src": "29834:3:0" } ], - "id": 1525, + "id": 1017, "name": "MemberAccess", - "src": "29032:11:1" + "src": "29834:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1524, + "id": 1016, "name": "Identifier", - "src": "29044:13:1" + "src": "29846:13:0" } ], - "id": 1526, + "id": 1018, "name": "IndexAccess", - "src": "29032:26:1" + "src": "29834:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1527, + "id": 1019, "name": "Identifier", - "src": "29061:9:1" + "src": "29863:9:0" } ], - "id": 1528, + "id": 1020, "name": "Assignment", - "src": "29032:38:1" + "src": "29834:38:0" } ], - "id": 1529, + "id": 1021, "name": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "children": [ @@ -50745,7 +50745,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50754,36 +50754,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1530, + "id": 1022, "name": "Identifier", - "src": "29136:3:1" + "src": "29940:3:0" } ], - "id": 1533, + "id": 1025, "name": "MemberAccess", - "src": "29136:12:1" + "src": "29940:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1532, + "id": 1024, "name": "Identifier", - "src": "29149:9:1" + "src": "29953:9:0" } ], - "id": 1534, + "id": 1026, "name": "IndexAccess", - "src": "29136:23:1" + "src": "29940:23:0" }, { "attributes": { @@ -50804,13 +50804,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1535, + "id": 1027, "name": "Identifier", - "src": "29162:13:1" + "src": "29966:13:0" }, { "attributes": { @@ -50823,24 +50823,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1536, + "id": 1028, "name": "Literal", - "src": "29178:1:1" + "src": "29982:1:0" } ], - "id": 1537, + "id": 1029, "name": "BinaryOperation", - "src": "29162:17:1" + "src": "29966:17:0" } ], - "id": 1538, + "id": 1030, "name": "Assignment", - "src": "29136:43:1" + "src": "29940:43:0" } ], - "id": 1539, + "id": 1031, "name": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "children": [ @@ -50882,7 +50882,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50891,33 +50891,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1540, + "id": 1032, "name": "Identifier", - "src": "29285:3:1" + "src": "30092:3:0" } ], - "id": 1543, + "id": 1035, "name": "MemberAccess", - "src": "29285:11:1" + "src": "30092:11:0" } ], - "id": 1544, + "id": 1036, "name": "MemberAccess", - "src": "29285:15:1" + "src": "30092:15:0" } ], - "id": 1545, + "id": 1037, "name": "FunctionCall", - "src": "29285:17:1" + "src": "30092:17:0" } ], - "id": 1546, + "id": 1038, "name": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "children": [ @@ -50948,7 +50948,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50957,50 +50957,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1547, + "id": 1039, "name": "Identifier", - "src": "29377:3:1" + "src": "30187:3:0" } ], - "id": 1548, + "id": 1040, "name": "MemberAccess", - "src": "29377:12:1" + "src": "30187:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1549, + "id": 1041, "name": "Identifier", - "src": "29390:5:1" + "src": "30200:5:0" } ], - "id": 1550, + "id": 1042, "name": "IndexAccess", - "src": "29377:19:1" + "src": "30187:19:0" } ], - "id": 1551, + "id": 1043, "name": "UnaryOperation", - "src": "29370:26:1" + "src": "30180:26:0" } ], - "id": 1552, + "id": 1044, "name": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -51014,25 +51014,25 @@ "type": "bool", "value": "true" }, - "id": 1553, + "id": 1045, "name": "Literal", - "src": "29418:4:1" + "src": "30230:4:0" } ], - "id": 1554, + "id": 1046, "name": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ], - "id": 1555, + "id": 1047, "name": "Block", - "src": "28224:1209:1" + "src": "29012:1234:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -51046,34 +51046,34 @@ "type": "bool", "value": "false" }, - "id": 1556, + "id": 1048, "name": "Literal", - "src": "29460:5:1" + "src": "30274:5:0" } ], - "id": 1557, + "id": 1049, "name": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ], - "id": 1558, + "id": 1050, "name": "Block", - "src": "29439:37:1" + "src": "30252:39:0" } ], - "id": 1559, + "id": 1051, "name": "IfStatement", - "src": "28203:1273:1" + "src": "28991:1300:0" } ], - "id": 1560, + "id": 1052, "name": "Block", - "src": "28042:1440:1" + "src": "28826:1472:0" } ], - "id": 1561, + "id": 1053, "name": "FunctionDefinition", - "src": "27970:1512:1" + "src": "28754:1544:0" }, { "attributes": { @@ -51084,7 +51084,7 @@ null ], "name": "_contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51094,9 +51094,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1562, + "id": 1054, "name": "StructuredDocumentation", - "src": "29488:70:1" + "src": "30306:72:0" }, { "children": [ @@ -51105,7 +51105,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51115,24 +51115,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1563, + "id": 1055, "name": "UserDefinedTypeName", - "src": "29582:3:1" + "src": "30403:3:0" } ], - "id": 1564, + "id": 1056, "name": "VariableDeclaration", - "src": "29582:15:1" + "src": "30403:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51144,19 +51144,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1565, + "id": 1057, "name": "ElementaryTypeName", - "src": "29599:7:1" + "src": "30420:7:0" } ], - "id": 1566, + "id": 1058, "name": "VariableDeclaration", - "src": "29599:13:1" + "src": "30420:13:0" } ], - "id": 1567, + "id": 1059, "name": "ParameterList", - "src": "29581:32:1" + "src": "30402:32:0" }, { "children": [ @@ -51165,7 +51165,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51177,25 +51177,25 @@ "name": "bool", "type": "bool" }, - "id": 1568, + "id": 1060, "name": "ElementaryTypeName", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1569, + "id": 1061, "name": "VariableDeclaration", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1570, + "id": 1062, "name": "ParameterList", - "src": "29635:6:1" + "src": "30456:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1570 + "functionReturnParameters": 1062 }, "children": [ { @@ -51228,7 +51228,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -51237,36 +51237,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1564, + "referencedDeclaration": 1056, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1571, + "id": 1063, "name": "Identifier", - "src": "29659:3:1" + "src": "30481:3:0" } ], - "id": 1572, + "id": 1064, "name": "MemberAccess", - "src": "29659:12:1" + "src": "30481:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1566, + "referencedDeclaration": 1058, "type": "bytes32", "value": "value" }, - "id": 1573, + "id": 1065, "name": "Identifier", - "src": "29672:5:1" + "src": "30494:5:0" } ], - "id": 1574, + "id": 1066, "name": "IndexAccess", - "src": "29659:19:1" + "src": "30481:19:0" }, { "attributes": { @@ -51279,29 +51279,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1575, + "id": 1067, "name": "Literal", - "src": "29682:1:1" + "src": "30504:1:0" } ], - "id": 1576, + "id": 1068, "name": "BinaryOperation", - "src": "29659:24:1" + "src": "30481:24:0" } ], - "id": 1577, + "id": 1069, "name": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ], - "id": 1578, + "id": 1070, "name": "Block", - "src": "29642:48:1" + "src": "30463:50:0" } ], - "id": 1579, + "id": 1071, "name": "FunctionDefinition", - "src": "29563:127:1" + "src": "30384:129:0" }, { "attributes": { @@ -51312,7 +51312,7 @@ null ], "name": "_length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51322,9 +51322,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1580, + "id": 1072, "name": "StructuredDocumentation", - "src": "29696:70:1" + "src": "30521:72:0" }, { "children": [ @@ -51333,7 +51333,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51343,22 +51343,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1581, + "id": 1073, "name": "UserDefinedTypeName", - "src": "29788:3:1" + "src": "30616:3:0" } ], - "id": 1582, + "id": 1074, "name": "VariableDeclaration", - "src": "29788:15:1" + "src": "30616:15:0" } ], - "id": 1583, + "id": 1075, "name": "ParameterList", - "src": "29787:17:1" + "src": "30615:17:0" }, { "children": [ @@ -51367,7 +51367,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51379,25 +51379,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1584, + "id": 1076, "name": "ElementaryTypeName", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1585, + "id": 1077, "name": "VariableDeclaration", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1586, + "id": 1078, "name": "ParameterList", - "src": "29826:9:1" + "src": "30654:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1586 + "functionReturnParameters": 1078 }, "children": [ { @@ -51417,7 +51417,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51426,38 +51426,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1582, + "referencedDeclaration": 1074, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1587, + "id": 1079, "name": "Identifier", - "src": "29853:3:1" + "src": "30682:3:0" } ], - "id": 1588, + "id": 1080, "name": "MemberAccess", - "src": "29853:11:1" + "src": "30682:11:0" } ], - "id": 1589, + "id": 1081, "name": "MemberAccess", - "src": "29853:18:1" + "src": "30682:18:0" } ], - "id": 1590, + "id": 1082, "name": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ], - "id": 1591, + "id": 1083, "name": "Block", - "src": "29836:42:1" + "src": "30664:44:0" } ], - "id": 1592, + "id": 1084, "name": "FunctionDefinition", - "src": "29771:107:1" + "src": "30599:109:0" }, { "attributes": { @@ -51468,7 +51468,7 @@ null ], "name": "_at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51478,9 +51478,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1593, + "id": 1085, "name": "StructuredDocumentation", - "src": "29883:322:1" + "src": "30715:331:0" }, { "children": [ @@ -51489,7 +51489,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51499,24 +51499,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1594, + "id": 1086, "name": "UserDefinedTypeName", - "src": "30223:3:1" + "src": "31065:3:0" } ], - "id": 1595, + "id": 1087, "name": "VariableDeclaration", - "src": "30223:15:1" + "src": "31065:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51528,19 +51528,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1596, + "id": 1088, "name": "ElementaryTypeName", - "src": "30240:7:1" + "src": "31082:7:0" } ], - "id": 1597, + "id": 1089, "name": "VariableDeclaration", - "src": "30240:13:1" + "src": "31082:13:0" } ], - "id": 1598, + "id": 1090, "name": "ParameterList", - "src": "30222:32:1" + "src": "31064:32:0" }, { "children": [ @@ -51549,7 +51549,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51561,19 +51561,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1599, + "id": 1091, "name": "ElementaryTypeName", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1600, + "id": 1092, "name": "VariableDeclaration", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1601, + "id": 1093, "name": "ParameterList", - "src": "30276:9:1" + "src": "31118:9:0" }, { "children": [ @@ -51614,9 +51614,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1602, + "id": 1094, "name": "Identifier", - "src": "30296:7:1" + "src": "31139:7:0" }, { "attributes": { @@ -51649,7 +51649,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51658,41 +51658,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1603, + "id": 1095, "name": "Identifier", - "src": "30304:3:1" + "src": "31147:3:0" } ], - "id": 1604, + "id": 1096, "name": "MemberAccess", - "src": "30304:11:1" + "src": "31147:11:0" } ], - "id": 1605, + "id": 1097, "name": "MemberAccess", - "src": "30304:18:1" + "src": "31147:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1606, + "id": 1098, "name": "Identifier", - "src": "30325:5:1" + "src": "31168:5:0" } ], - "id": 1607, + "id": 1099, "name": "BinaryOperation", - "src": "30304:26:1" + "src": "31147:26:0" }, { "attributes": { @@ -51705,23 +51705,23 @@ "type": "literal_string \"EnumerableSet: index out of bounds\"", "value": "EnumerableSet: index out of bounds" }, - "id": 1608, + "id": 1100, "name": "Literal", - "src": "30332:36:1" + "src": "31175:36:0" } ], - "id": 1609, + "id": 1101, "name": "FunctionCall", - "src": "30296:73:1" + "src": "31139:73:0" } ], - "id": 1610, + "id": 1102, "name": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "attributes": { - "functionReturnParameters": 1601 + "functionReturnParameters": 1093 }, "children": [ { @@ -51740,7 +51740,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51749,57 +51749,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1611, + "id": 1103, "name": "Identifier", - "src": "30386:3:1" + "src": "31230:3:0" } ], - "id": 1612, + "id": 1104, "name": "MemberAccess", - "src": "30386:11:1" + "src": "31230:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1613, + "id": 1105, "name": "Identifier", - "src": "30398:5:1" + "src": "31242:5:0" } ], - "id": 1614, + "id": 1106, "name": "IndexAccess", - "src": "30386:18:1" + "src": "31230:18:0" } ], - "id": 1615, + "id": 1107, "name": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ], - "id": 1616, + "id": 1108, "name": "Block", - "src": "30286:125:1" + "src": "31128:128:0" } ], - "id": 1617, + "id": 1109, "name": "FunctionDefinition", - "src": "30210:201:1" + "src": "31052:204:0" }, { "attributes": { "canonicalName": "EnumerableSet.Bytes32Set", "name": "Bytes32Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -51808,7 +51808,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1620, + "scope": 1112, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -51818,22 +51818,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1618, + "id": 1110, "name": "UserDefinedTypeName", - "src": "30464:3:1" + "src": "31314:3:0" } ], - "id": 1619, + "id": 1111, "name": "VariableDeclaration", - "src": "30464:10:1" + "src": "31314:10:0" } ], - "id": 1620, + "id": 1112, "name": "StructDefinition", - "src": "30436:45:1" + "src": "31285:47:0" }, { "attributes": { @@ -51844,7 +51844,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -51854,9 +51854,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1621, + "id": 1113, "name": "StructuredDocumentation", - "src": "30487:159:1" + "src": "31340:164:0" }, { "children": [ @@ -51865,7 +51865,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -51875,24 +51875,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1622, + "id": 1114, "name": "UserDefinedTypeName", - "src": "30664:10:1" + "src": "31523:10:0" } ], - "id": 1623, + "id": 1115, "name": "VariableDeclaration", - "src": "30664:22:1" + "src": "31523:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51904,19 +51904,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1624, + "id": 1116, "name": "ElementaryTypeName", - "src": "30688:7:1" + "src": "31547:7:0" } ], - "id": 1625, + "id": 1117, "name": "VariableDeclaration", - "src": "30688:13:1" + "src": "31547:13:0" } ], - "id": 1626, + "id": 1118, "name": "ParameterList", - "src": "30663:39:1" + "src": "31522:39:0" }, { "children": [ @@ -51925,7 +51925,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51937,25 +51937,25 @@ "name": "bool", "type": "bool" }, - "id": 1627, + "id": 1119, "name": "ElementaryTypeName", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1628, + "id": 1120, "name": "VariableDeclaration", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1629, + "id": 1121, "name": "ParameterList", - "src": "30720:6:1" + "src": "31579:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1629 + "functionReturnParameters": 1121 }, "children": [ { @@ -51977,7 +51977,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -51988,13 +51988,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1630, + "id": 1122, "name": "Identifier", - "src": "30744:4:1" + "src": "31604:4:0" }, { "attributes": { @@ -52003,7 +52003,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52012,51 +52012,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1623, + "referencedDeclaration": 1115, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1631, + "id": 1123, "name": "Identifier", - "src": "30749:3:1" + "src": "31609:3:0" } ], - "id": 1632, + "id": 1124, "name": "MemberAccess", - "src": "30749:10:1" + "src": "31609:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1625, + "referencedDeclaration": 1117, "type": "bytes32", "value": "value" }, - "id": 1633, + "id": 1125, "name": "Identifier", - "src": "30761:5:1" + "src": "31621:5:0" } ], - "id": 1634, + "id": 1126, "name": "FunctionCall", - "src": "30744:23:1" + "src": "31604:23:0" } ], - "id": 1635, + "id": 1127, "name": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ], - "id": 1636, + "id": 1128, "name": "Block", - "src": "30727:47:1" + "src": "31586:49:0" } ], - "id": 1637, + "id": 1129, "name": "FunctionDefinition", - "src": "30651:123:1" + "src": "31510:125:0" }, { "attributes": { @@ -52067,7 +52067,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52077,9 +52077,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1638, + "id": 1130, "name": "StructuredDocumentation", - "src": "30780:157:1" + "src": "31643:162:0" }, { "children": [ @@ -52088,7 +52088,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52098,24 +52098,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1639, + "id": 1131, "name": "UserDefinedTypeName", - "src": "30958:10:1" + "src": "31827:10:0" } ], - "id": 1640, + "id": 1132, "name": "VariableDeclaration", - "src": "30958:22:1" + "src": "31827:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52127,19 +52127,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1641, + "id": 1133, "name": "ElementaryTypeName", - "src": "30982:7:1" + "src": "31851:7:0" } ], - "id": 1642, + "id": 1134, "name": "VariableDeclaration", - "src": "30982:13:1" + "src": "31851:13:0" } ], - "id": 1643, + "id": 1135, "name": "ParameterList", - "src": "30957:39:1" + "src": "31826:39:0" }, { "children": [ @@ -52148,7 +52148,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52160,25 +52160,25 @@ "name": "bool", "type": "bool" }, - "id": 1644, + "id": 1136, "name": "ElementaryTypeName", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1645, + "id": 1137, "name": "VariableDeclaration", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1646, + "id": 1138, "name": "ParameterList", - "src": "31014:6:1" + "src": "31883:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1646 + "functionReturnParameters": 1138 }, "children": [ { @@ -52200,7 +52200,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52211,13 +52211,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1647, + "id": 1139, "name": "Identifier", - "src": "31038:7:1" + "src": "31908:7:0" }, { "attributes": { @@ -52226,7 +52226,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52235,51 +52235,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1640, + "referencedDeclaration": 1132, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1648, + "id": 1140, "name": "Identifier", - "src": "31046:3:1" + "src": "31916:3:0" } ], - "id": 1649, + "id": 1141, "name": "MemberAccess", - "src": "31046:10:1" + "src": "31916:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1642, + "referencedDeclaration": 1134, "type": "bytes32", "value": "value" }, - "id": 1650, + "id": 1142, "name": "Identifier", - "src": "31058:5:1" + "src": "31928:5:0" } ], - "id": 1651, + "id": 1143, "name": "FunctionCall", - "src": "31038:26:1" + "src": "31908:26:0" } ], - "id": 1652, + "id": 1144, "name": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ], - "id": 1653, + "id": 1145, "name": "Block", - "src": "31021:50:1" + "src": "31890:52:0" } ], - "id": 1654, + "id": 1146, "name": "FunctionDefinition", - "src": "30942:129:1" + "src": "31811:131:0" }, { "attributes": { @@ -52290,7 +52290,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52300,9 +52300,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1655, + "id": 1147, "name": "StructuredDocumentation", - "src": "31077:70:1" + "src": "31950:72:0" }, { "children": [ @@ -52311,7 +52311,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52321,24 +52321,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1656, + "id": 1148, "name": "UserDefinedTypeName", - "src": "31170:10:1" + "src": "32046:10:0" } ], - "id": 1657, + "id": 1149, "name": "VariableDeclaration", - "src": "31170:22:1" + "src": "32046:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52350,19 +52350,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1658, + "id": 1150, "name": "ElementaryTypeName", - "src": "31194:7:1" + "src": "32070:7:0" } ], - "id": 1659, + "id": 1151, "name": "VariableDeclaration", - "src": "31194:13:1" + "src": "32070:13:0" } ], - "id": 1660, + "id": 1152, "name": "ParameterList", - "src": "31169:39:1" + "src": "32045:39:0" }, { "children": [ @@ -52371,7 +52371,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52383,25 +52383,25 @@ "name": "bool", "type": "bool" }, - "id": 1661, + "id": 1153, "name": "ElementaryTypeName", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1662, + "id": 1154, "name": "VariableDeclaration", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1663, + "id": 1155, "name": "ParameterList", - "src": "31231:6:1" + "src": "32107:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1663 + "functionReturnParameters": 1155 }, "children": [ { @@ -52423,7 +52423,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52434,13 +52434,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1664, + "id": 1156, "name": "Identifier", - "src": "31255:9:1" + "src": "32132:9:0" }, { "attributes": { @@ -52449,7 +52449,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52458,51 +52458,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1657, + "referencedDeclaration": 1149, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1665, + "id": 1157, "name": "Identifier", - "src": "31265:3:1" + "src": "32142:3:0" } ], - "id": 1666, + "id": 1158, "name": "MemberAccess", - "src": "31265:10:1" + "src": "32142:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1659, + "referencedDeclaration": 1151, "type": "bytes32", "value": "value" }, - "id": 1667, + "id": 1159, "name": "Identifier", - "src": "31277:5:1" + "src": "32154:5:0" } ], - "id": 1668, + "id": 1160, "name": "FunctionCall", - "src": "31255:28:1" + "src": "32132:28:0" } ], - "id": 1669, + "id": 1161, "name": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ], - "id": 1670, + "id": 1162, "name": "Block", - "src": "31238:52:1" + "src": "32114:54:0" } ], - "id": 1671, + "id": 1163, "name": "FunctionDefinition", - "src": "31152:138:1" + "src": "32028:140:0" }, { "attributes": { @@ -52513,7 +52513,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52523,9 +52523,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1672, + "id": 1164, "name": "StructuredDocumentation", - "src": "31296:70:1" + "src": "32176:72:0" }, { "children": [ @@ -52534,7 +52534,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52544,22 +52544,22 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1673, + "id": 1165, "name": "UserDefinedTypeName", - "src": "31387:10:1" + "src": "32270:10:0" } ], - "id": 1674, + "id": 1166, "name": "VariableDeclaration", - "src": "31387:22:1" + "src": "32270:22:0" } ], - "id": 1675, + "id": 1167, "name": "ParameterList", - "src": "31386:24:1" + "src": "32269:24:0" }, { "children": [ @@ -52568,7 +52568,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52580,25 +52580,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1676, + "id": 1168, "name": "ElementaryTypeName", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1677, + "id": 1169, "name": "VariableDeclaration", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1678, + "id": 1170, "name": "ParameterList", - "src": "31433:9:1" + "src": "32316:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1678 + "functionReturnParameters": 1170 }, "children": [ { @@ -52620,20 +52620,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1679, + "id": 1171, "name": "Identifier", - "src": "31460:7:1" + "src": "32344:7:0" }, { "attributes": { @@ -52642,7 +52642,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52651,38 +52651,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1674, + "referencedDeclaration": 1166, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1680, + "id": 1172, "name": "Identifier", - "src": "31468:3:1" + "src": "32352:3:0" } ], - "id": 1681, + "id": 1173, "name": "MemberAccess", - "src": "31468:10:1" + "src": "32352:10:0" } ], - "id": 1682, + "id": 1174, "name": "FunctionCall", - "src": "31460:19:1" + "src": "32344:19:0" } ], - "id": 1683, + "id": 1175, "name": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ], - "id": 1684, + "id": 1176, "name": "Block", - "src": "31443:43:1" + "src": "32326:45:0" } ], - "id": 1685, + "id": 1177, "name": "FunctionDefinition", - "src": "31371:115:1" + "src": "32254:117:0" }, { "attributes": { @@ -52693,7 +52693,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52703,9 +52703,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1686, + "id": 1178, "name": "StructuredDocumentation", - "src": "31491:322:1" + "src": "32378:331:0" }, { "children": [ @@ -52714,7 +52714,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52724,24 +52724,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1687, + "id": 1179, "name": "UserDefinedTypeName", - "src": "31830:10:1" + "src": "32727:10:0" } ], - "id": 1688, + "id": 1180, "name": "VariableDeclaration", - "src": "31830:22:1" + "src": "32727:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52753,19 +52753,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1689, + "id": 1181, "name": "ElementaryTypeName", - "src": "31854:7:1" + "src": "32751:7:0" } ], - "id": 1690, + "id": 1182, "name": "VariableDeclaration", - "src": "31854:13:1" + "src": "32751:13:0" } ], - "id": 1691, + "id": 1183, "name": "ParameterList", - "src": "31829:39:1" + "src": "32726:39:0" }, { "children": [ @@ -52774,7 +52774,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52786,25 +52786,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1692, + "id": 1184, "name": "ElementaryTypeName", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1693, + "id": 1185, "name": "VariableDeclaration", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1694, + "id": 1186, "name": "ParameterList", - "src": "31891:9:1" + "src": "32788:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1694 + "functionReturnParameters": 1186 }, "children": [ { @@ -52826,7 +52826,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52837,13 +52837,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1695, + "id": 1187, "name": "Identifier", - "src": "31918:3:1" + "src": "32816:3:0" }, { "attributes": { @@ -52852,7 +52852,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52861,57 +52861,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1688, + "referencedDeclaration": 1180, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1696, + "id": 1188, "name": "Identifier", - "src": "31922:3:1" + "src": "32820:3:0" } ], - "id": 1697, + "id": 1189, "name": "MemberAccess", - "src": "31922:10:1" + "src": "32820:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1690, + "referencedDeclaration": 1182, "type": "uint256", "value": "index" }, - "id": 1698, + "id": 1190, "name": "Identifier", - "src": "31934:5:1" + "src": "32832:5:0" } ], - "id": 1699, + "id": 1191, "name": "FunctionCall", - "src": "31918:22:1" + "src": "32816:22:0" } ], - "id": 1700, + "id": 1192, "name": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ], - "id": 1701, + "id": 1193, "name": "Block", - "src": "31901:46:1" + "src": "32798:48:0" } ], - "id": 1702, + "id": 1194, "name": "FunctionDefinition", - "src": "31818:129:1" + "src": "32715:131:0" }, { "attributes": { "canonicalName": "EnumerableSet.AddressSet", "name": "AddressSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -52920,7 +52920,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1705, + "scope": 1197, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -52930,22 +52930,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1703, + "id": 1195, "name": "UserDefinedTypeName", - "src": "32000:3:1" + "src": "32904:3:0" } ], - "id": 1704, + "id": 1196, "name": "VariableDeclaration", - "src": "32000:10:1" + "src": "32904:10:0" } ], - "id": 1705, + "id": 1197, "name": "StructDefinition", - "src": "31972:45:1" + "src": "32875:47:0" }, { "attributes": { @@ -52956,7 +52956,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52966,9 +52966,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1706, + "id": 1198, "name": "StructuredDocumentation", - "src": "32023:159:1" + "src": "32930:164:0" }, { "children": [ @@ -52977,7 +52977,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -52987,24 +52987,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1707, + "id": 1199, "name": "UserDefinedTypeName", - "src": "32200:10:1" + "src": "33113:10:0" } ], - "id": 1708, + "id": 1200, "name": "VariableDeclaration", - "src": "32200:22:1" + "src": "33113:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53017,19 +53017,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1709, + "id": 1201, "name": "ElementaryTypeName", - "src": "32224:7:1" + "src": "33137:7:0" } ], - "id": 1710, + "id": 1202, "name": "VariableDeclaration", - "src": "32224:13:1" + "src": "33137:13:0" } ], - "id": 1711, + "id": 1203, "name": "ParameterList", - "src": "32199:39:1" + "src": "33112:39:0" }, { "children": [ @@ -53038,7 +53038,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53050,25 +53050,25 @@ "name": "bool", "type": "bool" }, - "id": 1712, + "id": 1204, "name": "ElementaryTypeName", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1713, + "id": 1205, "name": "VariableDeclaration", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1714, + "id": 1206, "name": "ParameterList", - "src": "32256:6:1" + "src": "33169:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1714 + "functionReturnParameters": 1206 }, "children": [ { @@ -53090,7 +53090,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53101,13 +53101,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1715, + "id": 1207, "name": "Identifier", - "src": "32280:4:1" + "src": "33194:4:0" }, { "attributes": { @@ -53116,7 +53116,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53125,18 +53125,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1708, + "referencedDeclaration": 1200, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1716, + "id": 1208, "name": "Identifier", - "src": "32285:3:1" + "src": "33199:3:0" } ], - "id": 1717, + "id": 1209, "name": "MemberAccess", - "src": "32285:10:1" + "src": "33199:10:0" }, { "attributes": { @@ -53172,14 +53172,14 @@ "attributes": { "name": "bytes32" }, - "id": 1718, + "id": 1210, "name": "ElementaryTypeName", - "src": "32297:7:1" + "src": "33211:7:0" } ], - "id": 1719, + "id": 1211, "name": "ElementaryTypeNameExpression", - "src": "32297:7:1" + "src": "33211:7:0" }, { "attributes": { @@ -53215,14 +53215,14 @@ "attributes": { "name": "uint256" }, - "id": 1720, + "id": 1212, "name": "ElementaryTypeName", - "src": "32305:7:1" + "src": "33219:7:0" } ], - "id": 1721, + "id": 1213, "name": "ElementaryTypeNameExpression", - "src": "32305:7:1" + "src": "33219:7:0" }, { "attributes": { @@ -53258,62 +53258,62 @@ "attributes": { "name": "uint160" }, - "id": 1722, + "id": 1214, "name": "ElementaryTypeName", - "src": "32313:7:1" + "src": "33227:7:0" } ], - "id": 1723, + "id": 1215, "name": "ElementaryTypeNameExpression", - "src": "32313:7:1" + "src": "33227:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1710, + "referencedDeclaration": 1202, "type": "address", "value": "value" }, - "id": 1724, + "id": 1216, "name": "Identifier", - "src": "32321:5:1" + "src": "33235:5:0" } ], - "id": 1725, + "id": 1217, "name": "FunctionCall", - "src": "32313:14:1" + "src": "33227:14:0" } ], - "id": 1726, + "id": 1218, "name": "FunctionCall", - "src": "32305:23:1" + "src": "33219:23:0" } ], - "id": 1727, + "id": 1219, "name": "FunctionCall", - "src": "32297:32:1" + "src": "33211:32:0" } ], - "id": 1728, + "id": 1220, "name": "FunctionCall", - "src": "32280:50:1" + "src": "33194:50:0" } ], - "id": 1729, + "id": 1221, "name": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ], - "id": 1730, + "id": 1222, "name": "Block", - "src": "32263:74:1" + "src": "33176:76:0" } ], - "id": 1731, + "id": 1223, "name": "FunctionDefinition", - "src": "32187:150:1" + "src": "33100:152:0" }, { "attributes": { @@ -53324,7 +53324,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -53334,9 +53334,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1732, + "id": 1224, "name": "StructuredDocumentation", - "src": "32343:157:1" + "src": "33260:162:0" }, { "children": [ @@ -53345,7 +53345,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53355,24 +53355,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1733, + "id": 1225, "name": "UserDefinedTypeName", - "src": "32521:10:1" + "src": "33444:10:0" } ], - "id": 1734, + "id": 1226, "name": "VariableDeclaration", - "src": "32521:22:1" + "src": "33444:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53385,19 +53385,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1735, + "id": 1227, "name": "ElementaryTypeName", - "src": "32545:7:1" + "src": "33468:7:0" } ], - "id": 1736, + "id": 1228, "name": "VariableDeclaration", - "src": "32545:13:1" + "src": "33468:13:0" } ], - "id": 1737, + "id": 1229, "name": "ParameterList", - "src": "32520:39:1" + "src": "33443:39:0" }, { "children": [ @@ -53406,7 +53406,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53418,25 +53418,25 @@ "name": "bool", "type": "bool" }, - "id": 1738, + "id": 1230, "name": "ElementaryTypeName", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1739, + "id": 1231, "name": "VariableDeclaration", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1740, + "id": 1232, "name": "ParameterList", - "src": "32577:6:1" + "src": "33500:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1740 + "functionReturnParameters": 1232 }, "children": [ { @@ -53458,7 +53458,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53469,13 +53469,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1741, + "id": 1233, "name": "Identifier", - "src": "32601:7:1" + "src": "33525:7:0" }, { "attributes": { @@ -53484,7 +53484,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53493,18 +53493,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1734, + "referencedDeclaration": 1226, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1742, + "id": 1234, "name": "Identifier", - "src": "32609:3:1" + "src": "33533:3:0" } ], - "id": 1743, + "id": 1235, "name": "MemberAccess", - "src": "32609:10:1" + "src": "33533:10:0" }, { "attributes": { @@ -53540,14 +53540,14 @@ "attributes": { "name": "bytes32" }, - "id": 1744, + "id": 1236, "name": "ElementaryTypeName", - "src": "32621:7:1" + "src": "33545:7:0" } ], - "id": 1745, + "id": 1237, "name": "ElementaryTypeNameExpression", - "src": "32621:7:1" + "src": "33545:7:0" }, { "attributes": { @@ -53583,14 +53583,14 @@ "attributes": { "name": "uint256" }, - "id": 1746, + "id": 1238, "name": "ElementaryTypeName", - "src": "32629:7:1" + "src": "33553:7:0" } ], - "id": 1747, + "id": 1239, "name": "ElementaryTypeNameExpression", - "src": "32629:7:1" + "src": "33553:7:0" }, { "attributes": { @@ -53626,62 +53626,62 @@ "attributes": { "name": "uint160" }, - "id": 1748, + "id": 1240, "name": "ElementaryTypeName", - "src": "32637:7:1" + "src": "33561:7:0" } ], - "id": 1749, + "id": 1241, "name": "ElementaryTypeNameExpression", - "src": "32637:7:1" + "src": "33561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1736, + "referencedDeclaration": 1228, "type": "address", "value": "value" }, - "id": 1750, + "id": 1242, "name": "Identifier", - "src": "32645:5:1" + "src": "33569:5:0" } ], - "id": 1751, + "id": 1243, "name": "FunctionCall", - "src": "32637:14:1" + "src": "33561:14:0" } ], - "id": 1752, + "id": 1244, "name": "FunctionCall", - "src": "32629:23:1" + "src": "33553:23:0" } ], - "id": 1753, + "id": 1245, "name": "FunctionCall", - "src": "32621:32:1" + "src": "33545:32:0" } ], - "id": 1754, + "id": 1246, "name": "FunctionCall", - "src": "32601:53:1" + "src": "33525:53:0" } ], - "id": 1755, + "id": 1247, "name": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ], - "id": 1756, + "id": 1248, "name": "Block", - "src": "32584:77:1" + "src": "33507:79:0" } ], - "id": 1757, + "id": 1249, "name": "FunctionDefinition", - "src": "32505:156:1" + "src": "33428:158:0" }, { "attributes": { @@ -53692,7 +53692,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -53702,9 +53702,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1758, + "id": 1250, "name": "StructuredDocumentation", - "src": "32667:70:1" + "src": "33594:72:0" }, { "children": [ @@ -53713,7 +53713,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53723,24 +53723,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1759, + "id": 1251, "name": "UserDefinedTypeName", - "src": "32760:10:1" + "src": "33690:10:0" } ], - "id": 1760, + "id": 1252, "name": "VariableDeclaration", - "src": "32760:22:1" + "src": "33690:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53753,19 +53753,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1761, + "id": 1253, "name": "ElementaryTypeName", - "src": "32784:7:1" + "src": "33714:7:0" } ], - "id": 1762, + "id": 1254, "name": "VariableDeclaration", - "src": "32784:13:1" + "src": "33714:13:0" } ], - "id": 1763, + "id": 1255, "name": "ParameterList", - "src": "32759:39:1" + "src": "33689:39:0" }, { "children": [ @@ -53774,7 +53774,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53786,25 +53786,25 @@ "name": "bool", "type": "bool" }, - "id": 1764, + "id": 1256, "name": "ElementaryTypeName", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1765, + "id": 1257, "name": "VariableDeclaration", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1766, + "id": 1258, "name": "ParameterList", - "src": "32821:6:1" + "src": "33751:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1766 + "functionReturnParameters": 1258 }, "children": [ { @@ -53826,7 +53826,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53837,13 +53837,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1767, + "id": 1259, "name": "Identifier", - "src": "32845:9:1" + "src": "33776:9:0" }, { "attributes": { @@ -53852,7 +53852,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53861,18 +53861,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1760, + "referencedDeclaration": 1252, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1768, + "id": 1260, "name": "Identifier", - "src": "32855:3:1" + "src": "33786:3:0" } ], - "id": 1769, + "id": 1261, "name": "MemberAccess", - "src": "32855:10:1" + "src": "33786:10:0" }, { "attributes": { @@ -53908,14 +53908,14 @@ "attributes": { "name": "bytes32" }, - "id": 1770, + "id": 1262, "name": "ElementaryTypeName", - "src": "32867:7:1" + "src": "33798:7:0" } ], - "id": 1771, + "id": 1263, "name": "ElementaryTypeNameExpression", - "src": "32867:7:1" + "src": "33798:7:0" }, { "attributes": { @@ -53951,14 +53951,14 @@ "attributes": { "name": "uint256" }, - "id": 1772, + "id": 1264, "name": "ElementaryTypeName", - "src": "32875:7:1" + "src": "33806:7:0" } ], - "id": 1773, + "id": 1265, "name": "ElementaryTypeNameExpression", - "src": "32875:7:1" + "src": "33806:7:0" }, { "attributes": { @@ -53994,62 +53994,62 @@ "attributes": { "name": "uint160" }, - "id": 1774, + "id": 1266, "name": "ElementaryTypeName", - "src": "32883:7:1" + "src": "33814:7:0" } ], - "id": 1775, + "id": 1267, "name": "ElementaryTypeNameExpression", - "src": "32883:7:1" + "src": "33814:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1762, + "referencedDeclaration": 1254, "type": "address", "value": "value" }, - "id": 1776, + "id": 1268, "name": "Identifier", - "src": "32891:5:1" + "src": "33822:5:0" } ], - "id": 1777, + "id": 1269, "name": "FunctionCall", - "src": "32883:14:1" + "src": "33814:14:0" } ], - "id": 1778, + "id": 1270, "name": "FunctionCall", - "src": "32875:23:1" + "src": "33806:23:0" } ], - "id": 1779, + "id": 1271, "name": "FunctionCall", - "src": "32867:32:1" + "src": "33798:32:0" } ], - "id": 1780, + "id": 1272, "name": "FunctionCall", - "src": "32845:55:1" + "src": "33776:55:0" } ], - "id": 1781, + "id": 1273, "name": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ], - "id": 1782, + "id": 1274, "name": "Block", - "src": "32828:79:1" + "src": "33758:81:0" } ], - "id": 1783, + "id": 1275, "name": "FunctionDefinition", - "src": "32742:165:1" + "src": "33672:167:0" }, { "attributes": { @@ -54060,7 +54060,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54070,9 +54070,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1784, + "id": 1276, "name": "StructuredDocumentation", - "src": "32913:70:1" + "src": "33847:72:0" }, { "children": [ @@ -54081,7 +54081,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54091,22 +54091,22 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1785, + "id": 1277, "name": "UserDefinedTypeName", - "src": "33004:10:1" + "src": "33941:10:0" } ], - "id": 1786, + "id": 1278, "name": "VariableDeclaration", - "src": "33004:22:1" + "src": "33941:22:0" } ], - "id": 1787, + "id": 1279, "name": "ParameterList", - "src": "33003:24:1" + "src": "33940:24:0" }, { "children": [ @@ -54115,7 +54115,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54127,25 +54127,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1788, + "id": 1280, "name": "ElementaryTypeName", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1789, + "id": 1281, "name": "VariableDeclaration", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1790, + "id": 1282, "name": "ParameterList", - "src": "33050:9:1" + "src": "33987:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1790 + "functionReturnParameters": 1282 }, "children": [ { @@ -54167,20 +54167,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1791, + "id": 1283, "name": "Identifier", - "src": "33077:7:1" + "src": "34015:7:0" }, { "attributes": { @@ -54189,7 +54189,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54198,38 +54198,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1786, + "referencedDeclaration": 1278, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1792, + "id": 1284, "name": "Identifier", - "src": "33085:3:1" + "src": "34023:3:0" } ], - "id": 1793, + "id": 1285, "name": "MemberAccess", - "src": "33085:10:1" + "src": "34023:10:0" } ], - "id": 1794, + "id": 1286, "name": "FunctionCall", - "src": "33077:19:1" + "src": "34015:19:0" } ], - "id": 1795, + "id": 1287, "name": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ], - "id": 1796, + "id": 1288, "name": "Block", - "src": "33060:43:1" + "src": "33997:45:0" } ], - "id": 1797, + "id": 1289, "name": "FunctionDefinition", - "src": "32988:115:1" + "src": "33925:117:0" }, { "attributes": { @@ -54240,7 +54240,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54250,9 +54250,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1798, + "id": 1290, "name": "StructuredDocumentation", - "src": "33108:322:1" + "src": "34049:331:0" }, { "children": [ @@ -54261,7 +54261,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54271,24 +54271,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1799, + "id": 1291, "name": "UserDefinedTypeName", - "src": "33447:10:1" + "src": "34398:10:0" } ], - "id": 1800, + "id": 1292, "name": "VariableDeclaration", - "src": "33447:22:1" + "src": "34398:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54300,19 +54300,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1801, + "id": 1293, "name": "ElementaryTypeName", - "src": "33471:7:1" + "src": "34422:7:0" } ], - "id": 1802, + "id": 1294, "name": "VariableDeclaration", - "src": "33471:13:1" + "src": "34422:13:0" } ], - "id": 1803, + "id": 1295, "name": "ParameterList", - "src": "33446:39:1" + "src": "34397:39:0" }, { "children": [ @@ -54321,7 +54321,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -54334,25 +54334,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1804, + "id": 1296, "name": "ElementaryTypeName", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1805, + "id": 1297, "name": "VariableDeclaration", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1806, + "id": 1298, "name": "ParameterList", - "src": "33508:9:1" + "src": "34459:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1806 + "functionReturnParameters": 1298 }, "children": [ { @@ -54389,14 +54389,14 @@ "attributes": { "name": "address" }, - "id": 1807, + "id": 1299, "name": "ElementaryTypeName", - "src": "33535:7:1" + "src": "34487:7:0" } ], - "id": 1808, + "id": 1300, "name": "ElementaryTypeNameExpression", - "src": "33535:7:1" + "src": "34487:7:0" }, { "attributes": { @@ -54432,14 +54432,14 @@ "attributes": { "name": "uint160" }, - "id": 1809, + "id": 1301, "name": "ElementaryTypeName", - "src": "33543:7:1" + "src": "34495:7:0" } ], - "id": 1810, + "id": 1302, "name": "ElementaryTypeNameExpression", - "src": "33543:7:1" + "src": "34495:7:0" }, { "attributes": { @@ -54475,14 +54475,14 @@ "attributes": { "name": "uint256" }, - "id": 1811, + "id": 1303, "name": "ElementaryTypeName", - "src": "33551:7:1" + "src": "34503:7:0" } ], - "id": 1812, + "id": 1304, "name": "ElementaryTypeNameExpression", - "src": "33551:7:1" + "src": "34503:7:0" }, { "attributes": { @@ -54503,7 +54503,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54514,13 +54514,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1813, + "id": 1305, "name": "Identifier", - "src": "33559:3:1" + "src": "34511:3:0" }, { "attributes": { @@ -54529,7 +54529,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54538,72 +54538,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1800, + "referencedDeclaration": 1292, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1814, + "id": 1306, "name": "Identifier", - "src": "33563:3:1" + "src": "34515:3:0" } ], - "id": 1815, + "id": 1307, "name": "MemberAccess", - "src": "33563:10:1" + "src": "34515:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1802, + "referencedDeclaration": 1294, "type": "uint256", "value": "index" }, - "id": 1816, + "id": 1308, "name": "Identifier", - "src": "33575:5:1" + "src": "34527:5:0" } ], - "id": 1817, + "id": 1309, "name": "FunctionCall", - "src": "33559:22:1" + "src": "34511:22:0" } ], - "id": 1818, + "id": 1310, "name": "FunctionCall", - "src": "33551:31:1" + "src": "34503:31:0" } ], - "id": 1819, + "id": 1311, "name": "FunctionCall", - "src": "33543:40:1" + "src": "34495:40:0" } ], - "id": 1820, + "id": 1312, "name": "FunctionCall", - "src": "33535:49:1" + "src": "34487:49:0" } ], - "id": 1821, + "id": 1313, "name": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ], - "id": 1822, + "id": 1314, "name": "Block", - "src": "33518:73:1" + "src": "34469:75:0" } ], - "id": 1823, + "id": 1315, "name": "FunctionDefinition", - "src": "33435:156:1" + "src": "34386:158:0" }, { "attributes": { "canonicalName": "EnumerableSet.UintSet", "name": "UintSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -54612,7 +54612,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1826, + "scope": 1318, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -54622,22 +54622,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1824, + "id": 1316, "name": "UserDefinedTypeName", - "src": "33639:3:1" + "src": "34598:3:0" } ], - "id": 1825, + "id": 1317, "name": "VariableDeclaration", - "src": "33639:10:1" + "src": "34598:10:0" } ], - "id": 1826, + "id": 1318, "name": "StructDefinition", - "src": "33614:42:1" + "src": "34572:44:0" }, { "attributes": { @@ -54648,7 +54648,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -54658,9 +54658,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1827, + "id": 1319, "name": "StructuredDocumentation", - "src": "33662:159:1" + "src": "34624:164:0" }, { "children": [ @@ -54669,7 +54669,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -54679,24 +54679,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1828, + "id": 1320, "name": "UserDefinedTypeName", - "src": "33839:7:1" + "src": "34807:7:0" } ], - "id": 1829, + "id": 1321, "name": "VariableDeclaration", - "src": "33839:19:1" + "src": "34807:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54708,19 +54708,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1830, + "id": 1322, "name": "ElementaryTypeName", - "src": "33860:7:1" + "src": "34828:7:0" } ], - "id": 1831, + "id": 1323, "name": "VariableDeclaration", - "src": "33860:13:1" + "src": "34828:13:0" } ], - "id": 1832, + "id": 1324, "name": "ParameterList", - "src": "33838:36:1" + "src": "34806:36:0" }, { "children": [ @@ -54729,7 +54729,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -54741,25 +54741,25 @@ "name": "bool", "type": "bool" }, - "id": 1833, + "id": 1325, "name": "ElementaryTypeName", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1834, + "id": 1326, "name": "VariableDeclaration", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1835, + "id": 1327, "name": "ParameterList", - "src": "33892:6:1" + "src": "34860:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1835 + "functionReturnParameters": 1327 }, "children": [ { @@ -54781,7 +54781,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54792,13 +54792,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1836, + "id": 1328, "name": "Identifier", - "src": "33916:4:1" + "src": "34885:4:0" }, { "attributes": { @@ -54807,7 +54807,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54816,18 +54816,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1829, + "referencedDeclaration": 1321, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1837, + "id": 1329, "name": "Identifier", - "src": "33921:3:1" + "src": "34890:3:0" } ], - "id": 1838, + "id": 1330, "name": "MemberAccess", - "src": "33921:10:1" + "src": "34890:10:0" }, { "attributes": { @@ -54863,52 +54863,52 @@ "attributes": { "name": "bytes32" }, - "id": 1839, + "id": 1331, "name": "ElementaryTypeName", - "src": "33933:7:1" + "src": "34902:7:0" } ], - "id": 1840, + "id": 1332, "name": "ElementaryTypeNameExpression", - "src": "33933:7:1" + "src": "34902:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1831, + "referencedDeclaration": 1323, "type": "uint256", "value": "value" }, - "id": 1841, + "id": 1333, "name": "Identifier", - "src": "33941:5:1" + "src": "34910:5:0" } ], - "id": 1842, + "id": 1334, "name": "FunctionCall", - "src": "33933:14:1" + "src": "34902:14:0" } ], - "id": 1843, + "id": 1335, "name": "FunctionCall", - "src": "33916:32:1" + "src": "34885:32:0" } ], - "id": 1844, + "id": 1336, "name": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ], - "id": 1845, + "id": 1337, "name": "Block", - "src": "33899:56:1" + "src": "34867:58:0" } ], - "id": 1846, + "id": 1338, "name": "FunctionDefinition", - "src": "33826:129:1" + "src": "34794:131:0" }, { "attributes": { @@ -54919,7 +54919,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -54929,9 +54929,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1847, + "id": 1339, "name": "StructuredDocumentation", - "src": "33961:157:1" + "src": "34933:162:0" }, { "children": [ @@ -54940,7 +54940,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -54950,24 +54950,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1848, + "id": 1340, "name": "UserDefinedTypeName", - "src": "34139:7:1" + "src": "35117:7:0" } ], - "id": 1849, + "id": 1341, "name": "VariableDeclaration", - "src": "34139:19:1" + "src": "35117:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54979,19 +54979,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1850, + "id": 1342, "name": "ElementaryTypeName", - "src": "34160:7:1" + "src": "35138:7:0" } ], - "id": 1851, + "id": 1343, "name": "VariableDeclaration", - "src": "34160:13:1" + "src": "35138:13:0" } ], - "id": 1852, + "id": 1344, "name": "ParameterList", - "src": "34138:36:1" + "src": "35116:36:0" }, { "children": [ @@ -55000,7 +55000,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55012,25 +55012,25 @@ "name": "bool", "type": "bool" }, - "id": 1853, + "id": 1345, "name": "ElementaryTypeName", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1854, + "id": 1346, "name": "VariableDeclaration", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1855, + "id": 1347, "name": "ParameterList", - "src": "34192:6:1" + "src": "35170:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1855 + "functionReturnParameters": 1347 }, "children": [ { @@ -55052,7 +55052,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55063,13 +55063,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1856, + "id": 1348, "name": "Identifier", - "src": "34216:7:1" + "src": "35195:7:0" }, { "attributes": { @@ -55078,7 +55078,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55087,18 +55087,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1849, + "referencedDeclaration": 1341, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1857, + "id": 1349, "name": "Identifier", - "src": "34224:3:1" + "src": "35203:3:0" } ], - "id": 1858, + "id": 1350, "name": "MemberAccess", - "src": "34224:10:1" + "src": "35203:10:0" }, { "attributes": { @@ -55134,52 +55134,52 @@ "attributes": { "name": "bytes32" }, - "id": 1859, + "id": 1351, "name": "ElementaryTypeName", - "src": "34236:7:1" + "src": "35215:7:0" } ], - "id": 1860, + "id": 1352, "name": "ElementaryTypeNameExpression", - "src": "34236:7:1" + "src": "35215:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1851, + "referencedDeclaration": 1343, "type": "uint256", "value": "value" }, - "id": 1861, + "id": 1353, "name": "Identifier", - "src": "34244:5:1" + "src": "35223:5:0" } ], - "id": 1862, + "id": 1354, "name": "FunctionCall", - "src": "34236:14:1" + "src": "35215:14:0" } ], - "id": 1863, + "id": 1355, "name": "FunctionCall", - "src": "34216:35:1" + "src": "35195:35:0" } ], - "id": 1864, + "id": 1356, "name": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ], - "id": 1865, + "id": 1357, "name": "Block", - "src": "34199:59:1" + "src": "35177:61:0" } ], - "id": 1866, + "id": 1358, "name": "FunctionDefinition", - "src": "34123:135:1" + "src": "35101:137:0" }, { "attributes": { @@ -55190,7 +55190,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55200,9 +55200,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1867, + "id": 1359, "name": "StructuredDocumentation", - "src": "34264:70:1" + "src": "35246:72:0" }, { "children": [ @@ -55211,7 +55211,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55221,24 +55221,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1868, + "id": 1360, "name": "UserDefinedTypeName", - "src": "34357:7:1" + "src": "35342:7:0" } ], - "id": 1869, + "id": 1361, "name": "VariableDeclaration", - "src": "34357:19:1" + "src": "35342:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55250,19 +55250,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1870, + "id": 1362, "name": "ElementaryTypeName", - "src": "34378:7:1" + "src": "35363:7:0" } ], - "id": 1871, + "id": 1363, "name": "VariableDeclaration", - "src": "34378:13:1" + "src": "35363:13:0" } ], - "id": 1872, + "id": 1364, "name": "ParameterList", - "src": "34356:36:1" + "src": "35341:36:0" }, { "children": [ @@ -55271,7 +55271,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55283,25 +55283,25 @@ "name": "bool", "type": "bool" }, - "id": 1873, + "id": 1365, "name": "ElementaryTypeName", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1874, + "id": 1366, "name": "VariableDeclaration", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1875, + "id": 1367, "name": "ParameterList", - "src": "34415:6:1" + "src": "35400:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1875 + "functionReturnParameters": 1367 }, "children": [ { @@ -55323,7 +55323,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55334,13 +55334,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1876, + "id": 1368, "name": "Identifier", - "src": "34439:9:1" + "src": "35425:9:0" }, { "attributes": { @@ -55349,7 +55349,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55358,18 +55358,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1869, + "referencedDeclaration": 1361, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1877, + "id": 1369, "name": "Identifier", - "src": "34449:3:1" + "src": "35435:3:0" } ], - "id": 1878, + "id": 1370, "name": "MemberAccess", - "src": "34449:10:1" + "src": "35435:10:0" }, { "attributes": { @@ -55405,52 +55405,52 @@ "attributes": { "name": "bytes32" }, - "id": 1879, + "id": 1371, "name": "ElementaryTypeName", - "src": "34461:7:1" + "src": "35447:7:0" } ], - "id": 1880, + "id": 1372, "name": "ElementaryTypeNameExpression", - "src": "34461:7:1" + "src": "35447:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1871, + "referencedDeclaration": 1363, "type": "uint256", "value": "value" }, - "id": 1881, + "id": 1373, "name": "Identifier", - "src": "34469:5:1" + "src": "35455:5:0" } ], - "id": 1882, + "id": 1374, "name": "FunctionCall", - "src": "34461:14:1" + "src": "35447:14:0" } ], - "id": 1883, + "id": 1375, "name": "FunctionCall", - "src": "34439:37:1" + "src": "35425:37:0" } ], - "id": 1884, + "id": 1376, "name": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ], - "id": 1885, + "id": 1377, "name": "Block", - "src": "34422:61:1" + "src": "35407:63:0" } ], - "id": 1886, + "id": 1378, "name": "FunctionDefinition", - "src": "34339:144:1" + "src": "35324:146:0" }, { "attributes": { @@ -55461,7 +55461,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55471,9 +55471,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1887, + "id": 1379, "name": "StructuredDocumentation", - "src": "34489:70:1" + "src": "35478:72:0" }, { "children": [ @@ -55482,7 +55482,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55492,22 +55492,22 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1888, + "id": 1380, "name": "UserDefinedTypeName", - "src": "34580:7:1" + "src": "35572:7:0" } ], - "id": 1889, + "id": 1381, "name": "VariableDeclaration", - "src": "34580:19:1" + "src": "35572:19:0" } ], - "id": 1890, + "id": 1382, "name": "ParameterList", - "src": "34579:21:1" + "src": "35571:21:0" }, { "children": [ @@ -55516,7 +55516,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55528,25 +55528,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1891, + "id": 1383, "name": "ElementaryTypeName", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1892, + "id": 1384, "name": "VariableDeclaration", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1893, + "id": 1385, "name": "ParameterList", - "src": "34623:9:1" + "src": "35615:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1893 + "functionReturnParameters": 1385 }, "children": [ { @@ -55568,20 +55568,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1894, + "id": 1386, "name": "Identifier", - "src": "34650:7:1" + "src": "35643:7:0" }, { "attributes": { @@ -55590,7 +55590,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55599,38 +55599,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1889, + "referencedDeclaration": 1381, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1895, + "id": 1387, "name": "Identifier", - "src": "34658:3:1" + "src": "35651:3:0" } ], - "id": 1896, + "id": 1388, "name": "MemberAccess", - "src": "34658:10:1" + "src": "35651:10:0" } ], - "id": 1897, + "id": 1389, "name": "FunctionCall", - "src": "34650:19:1" + "src": "35643:19:0" } ], - "id": 1898, + "id": 1390, "name": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ], - "id": 1899, + "id": 1391, "name": "Block", - "src": "34633:43:1" + "src": "35625:45:0" } ], - "id": 1900, + "id": 1392, "name": "FunctionDefinition", - "src": "34564:112:1" + "src": "35556:114:0" }, { "attributes": { @@ -55641,7 +55641,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55651,9 +55651,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1901, + "id": 1393, "name": "StructuredDocumentation", - "src": "34681:322:1" + "src": "35677:331:0" }, { "children": [ @@ -55662,7 +55662,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55672,24 +55672,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1902, + "id": 1394, "name": "UserDefinedTypeName", - "src": "35020:7:1" + "src": "36026:7:0" } ], - "id": 1903, + "id": 1395, "name": "VariableDeclaration", - "src": "35020:19:1" + "src": "36026:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55701,19 +55701,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1904, + "id": 1396, "name": "ElementaryTypeName", - "src": "35041:7:1" + "src": "36047:7:0" } ], - "id": 1905, + "id": 1397, "name": "VariableDeclaration", - "src": "35041:13:1" + "src": "36047:13:0" } ], - "id": 1906, + "id": 1398, "name": "ParameterList", - "src": "35019:36:1" + "src": "36025:36:0" }, { "children": [ @@ -55722,7 +55722,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55734,25 +55734,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1907, + "id": 1399, "name": "ElementaryTypeName", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1908, + "id": 1400, "name": "VariableDeclaration", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1909, + "id": 1401, "name": "ParameterList", - "src": "35078:9:1" + "src": "36084:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1909 + "functionReturnParameters": 1401 }, "children": [ { @@ -55789,14 +55789,14 @@ "attributes": { "name": "uint256" }, - "id": 1910, + "id": 1402, "name": "ElementaryTypeName", - "src": "35105:7:1" + "src": "36112:7:0" } ], - "id": 1911, + "id": 1403, "name": "ElementaryTypeNameExpression", - "src": "35105:7:1" + "src": "36112:7:0" }, { "attributes": { @@ -55817,7 +55817,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55828,13 +55828,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1912, + "id": 1404, "name": "Identifier", - "src": "35113:3:1" + "src": "36120:3:0" }, { "attributes": { @@ -55843,7 +55843,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55852,61 +55852,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1903, + "referencedDeclaration": 1395, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1913, + "id": 1405, "name": "Identifier", - "src": "35117:3:1" + "src": "36124:3:0" } ], - "id": 1914, + "id": 1406, "name": "MemberAccess", - "src": "35117:10:1" + "src": "36124:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1905, + "referencedDeclaration": 1397, "type": "uint256", "value": "index" }, - "id": 1915, + "id": 1407, "name": "Identifier", - "src": "35129:5:1" + "src": "36136:5:0" } ], - "id": 1916, + "id": 1408, "name": "FunctionCall", - "src": "35113:22:1" + "src": "36120:22:0" } ], - "id": 1917, + "id": 1409, "name": "FunctionCall", - "src": "35105:31:1" + "src": "36112:31:0" } ], - "id": 1918, + "id": 1410, "name": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ], - "id": 1919, + "id": 1411, "name": "Block", - "src": "35088:55:1" + "src": "36094:57:0" } ], - "id": 1920, + "id": 1412, "name": "FunctionDefinition", - "src": "35008:135:1" + "src": "36014:137:0" } ], - "id": 1921, + "id": 1413, "name": "ContractDefinition", - "src": "26511:8634:1" + "src": "27252:8902:0" }, { "attributes": { @@ -55920,9 +55920,9 @@ ".0" ] }, - "id": 1922, + "id": 1414, "name": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "attributes": { @@ -55936,25 +55936,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, - "id": 1923, + "id": 1415, "name": "StructuredDocumentation", - "src": "35237:705:1" + "src": "36251:728:0" }, { "attributes": { "canonicalName": "EnumerableMap.MapEntry", "name": "MapEntry", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -55963,7 +55963,7 @@ "constant": false, "mutability": "mutable", "name": "_key", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -55975,21 +55975,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1924, + "id": 1416, "name": "ElementaryTypeName", - "src": "36455:7:1" + "src": "37504:7:0" } ], - "id": 1925, + "id": 1417, "name": "VariableDeclaration", - "src": "36455:12:1" + "src": "37504:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_value", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56001,25 +56001,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1926, + "id": 1418, "name": "ElementaryTypeName", - "src": "36477:7:1" + "src": "37527:7:0" } ], - "id": 1927, + "id": 1419, "name": "VariableDeclaration", - "src": "36477:14:1" + "src": "37527:14:0" } ], - "id": 1928, + "id": 1420, "name": "StructDefinition", - "src": "36429:69:1" + "src": "37477:72:0" }, { "attributes": { "canonicalName": "EnumerableMap.Map", "name": "Map", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -56028,7 +56028,7 @@ "constant": false, "mutability": "mutable", "name": "_entries", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.MapEntry[]", @@ -56043,29 +56043,29 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 1929, + "id": 1421, "name": "UserDefinedTypeName", - "src": "36567:8:1" + "src": "37622:8:0" } ], - "id": 1930, + "id": 1422, "name": "ArrayTypeName", - "src": "36567:10:1" + "src": "37622:10:0" } ], - "id": 1931, + "id": 1423, "name": "VariableDeclaration", - "src": "36567:19:1" + "src": "37622:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -56082,33 +56082,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1932, + "id": 1424, "name": "ElementaryTypeName", - "src": "36745:7:1" + "src": "37804:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1933, + "id": 1425, "name": "ElementaryTypeName", - "src": "36756:7:1" + "src": "37815:7:0" } ], - "id": 1934, + "id": 1426, "name": "Mapping", - "src": "36736:28:1" + "src": "37795:28:0" } ], - "id": 1935, + "id": 1427, "name": "VariableDeclaration", - "src": "36736:37:1" + "src": "37795:37:0" } ], - "id": 1936, + "id": 1428, "name": "StructDefinition", - "src": "36504:276:1" + "src": "37557:283:0" }, { "attributes": { @@ -56119,7 +56119,7 @@ null ], "name": "_set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56129,9 +56129,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1937, + "id": 1429, "name": "StructuredDocumentation", - "src": "36786:216:1" + "src": "37848:222:0" }, { "children": [ @@ -56140,7 +56140,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56150,24 +56150,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 1938, + "id": 1430, "name": "UserDefinedTypeName", - "src": "37021:3:1" + "src": "38090:3:0" } ], - "id": 1939, + "id": 1431, "name": "VariableDeclaration", - "src": "37021:15:1" + "src": "38090:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56179,21 +56179,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1940, + "id": 1432, "name": "ElementaryTypeName", - "src": "37038:7:1" + "src": "38107:7:0" } ], - "id": 1941, + "id": 1433, "name": "VariableDeclaration", - "src": "37038:11:1" + "src": "38107:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56205,19 +56205,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1942, + "id": 1434, "name": "ElementaryTypeName", - "src": "37051:7:1" + "src": "38120:7:0" } ], - "id": 1943, + "id": 1435, "name": "VariableDeclaration", - "src": "37051:13:1" + "src": "38120:13:0" } ], - "id": 1944, + "id": 1436, "name": "ParameterList", - "src": "37020:45:1" + "src": "38089:45:0" }, { "children": [ @@ -56226,7 +56226,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -56238,26 +56238,26 @@ "name": "bool", "type": "bool" }, - "id": 1945, + "id": 1437, "name": "ElementaryTypeName", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1946, + "id": 1438, "name": "VariableDeclaration", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1947, + "id": 1439, "name": "ParameterList", - "src": "37082:6:1" + "src": "38151:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1949 + 1441 ] }, "children": [ @@ -56266,7 +56266,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 1997, + "scope": 1489, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -56278,14 +56278,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1948, + "id": 1440, "name": "ElementaryTypeName", - "src": "37197:7:1" + "src": "38268:7:0" } ], - "id": 1949, + "id": 1441, "name": "VariableDeclaration", - "src": "37197:16:1" + "src": "38268:16:0" }, { "attributes": { @@ -56303,7 +56303,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56312,41 +56312,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1950, + "id": 1442, "name": "Identifier", - "src": "37216:3:1" + "src": "38287:3:0" } ], - "id": 1951, + "id": 1443, "name": "MemberAccess", - "src": "37216:12:1" + "src": "38287:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1952, + "id": 1444, "name": "Identifier", - "src": "37229:3:1" + "src": "38300:3:0" } ], - "id": 1953, + "id": 1445, "name": "IndexAccess", - "src": "37216:17:1" + "src": "38287:17:0" } ], - "id": 1954, + "id": 1446, "name": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "children": [ @@ -56369,13 +56369,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1955, + "id": 1447, "name": "Identifier", - "src": "37248:8:1" + "src": "38321:8:0" }, { "attributes": { @@ -56388,14 +56388,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1956, + "id": 1448, "name": "Literal", - "src": "37260:1:1" + "src": "38333:1:0" } ], - "id": 1957, + "id": 1449, "name": "BinaryOperation", - "src": "37248:13:1" + "src": "38321:13:0" }, { "children": [ @@ -56420,7 +56420,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], @@ -56439,7 +56439,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56448,23 +56448,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1958, + "id": 1450, "name": "Identifier", - "src": "37314:3:1" + "src": "38388:3:0" } ], - "id": 1961, + "id": 1453, "name": "MemberAccess", - "src": "37314:12:1" + "src": "38388:12:0" } ], - "id": 1962, + "id": 1454, "name": "MemberAccess", - "src": "37314:17:1" + "src": "38388:17:0" }, { "attributes": { @@ -56497,54 +56497,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "type(struct EnumerableMap.MapEntry storage pointer)", "value": "MapEntry" }, - "id": 1963, + "id": 1455, "name": "Identifier", - "src": "37332:8:1" + "src": "38406:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1964, + "id": 1456, "name": "Identifier", - "src": "37349:3:1" + "src": "38423:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1965, + "id": 1457, "name": "Identifier", - "src": "37362:5:1" + "src": "38436:5:0" } ], - "id": 1966, + "id": 1458, "name": "FunctionCall", - "src": "37332:38:1" + "src": "38406:38:0" } ], - "id": 1967, + "id": 1459, "name": "FunctionCall", - "src": "37314:57:1" + "src": "38388:57:0" } ], - "id": 1968, + "id": 1460, "name": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "children": [ @@ -56574,7 +56574,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56583,36 +56583,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1969, + "id": 1461, "name": "Identifier", - "src": "37506:3:1" + "src": "38583:3:0" } ], - "id": 1972, + "id": 1464, "name": "MemberAccess", - "src": "37506:12:1" + "src": "38583:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1971, + "id": 1463, "name": "Identifier", - "src": "37519:3:1" + "src": "38596:3:0" } ], - "id": 1973, + "id": 1465, "name": "IndexAccess", - "src": "37506:17:1" + "src": "38583:17:0" }, { "attributes": { @@ -56631,7 +56631,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56640,37 +56640,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1974, + "id": 1466, "name": "Identifier", - "src": "37526:3:1" + "src": "38603:3:0" } ], - "id": 1975, + "id": 1467, "name": "MemberAccess", - "src": "37526:12:1" + "src": "38603:12:0" } ], - "id": 1976, + "id": 1468, "name": "MemberAccess", - "src": "37526:19:1" + "src": "38603:19:0" } ], - "id": 1977, + "id": 1469, "name": "Assignment", - "src": "37506:39:1" + "src": "38583:39:0" } ], - "id": 1978, + "id": 1470, "name": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -56684,19 +56684,19 @@ "type": "bool", "value": "true" }, - "id": 1979, + "id": 1471, "name": "Literal", - "src": "37566:4:1" + "src": "38644:4:0" } ], - "id": 1980, + "id": 1472, "name": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ], - "id": 1981, + "id": 1473, "name": "Block", - "src": "37263:318:1" + "src": "38336:324:0" }, { "children": [ @@ -56719,7 +56719,7 @@ "isPure": false, "lValueRequested": true, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -56739,7 +56739,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56748,18 +56748,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1982, + "id": 1474, "name": "Identifier", - "src": "37601:3:1" + "src": "38681:3:0" } ], - "id": 1987, + "id": 1479, "name": "MemberAccess", - "src": "37601:12:1" + "src": "38681:12:0" }, { "attributes": { @@ -56780,13 +56780,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1984, + "id": 1476, "name": "Identifier", - "src": "37614:8:1" + "src": "38694:8:0" }, { "attributes": { @@ -56799,51 +56799,51 @@ "type": "int_const 1", "value": "1" }, - "id": 1985, + "id": 1477, "name": "Literal", - "src": "37625:1:1" + "src": "38705:1:0" } ], - "id": 1986, + "id": 1478, "name": "BinaryOperation", - "src": "37614:12:1" + "src": "38694:12:0" } ], - "id": 1988, + "id": 1480, "name": "IndexAccess", - "src": "37601:26:1" + "src": "38681:26:0" } ], - "id": 1989, + "id": 1481, "name": "MemberAccess", - "src": "37601:33:1" + "src": "38681:33:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1990, + "id": 1482, "name": "Identifier", - "src": "37637:5:1" + "src": "38717:5:0" } ], - "id": 1991, + "id": 1483, "name": "Assignment", - "src": "37601:41:1" + "src": "38681:41:0" } ], - "id": 1992, + "id": 1484, "name": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -56857,34 +56857,34 @@ "type": "bool", "value": "false" }, - "id": 1993, + "id": 1485, "name": "Literal", - "src": "37663:5:1" + "src": "38744:5:0" } ], - "id": 1994, + "id": 1486, "name": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ], - "id": 1995, + "id": 1487, "name": "Block", - "src": "37587:92:1" + "src": "38666:95:0" } ], - "id": 1996, + "id": 1488, "name": "IfStatement", - "src": "37244:435:1" + "src": "38317:444:0" } ], - "id": 1997, + "id": 1489, "name": "Block", - "src": "37089:596:1" + "src": "38158:610:0" } ], - "id": 1998, + "id": 1490, "name": "FunctionDefinition", - "src": "37007:678:1" + "src": "38076:692:0" }, { "attributes": { @@ -56895,7 +56895,7 @@ null ], "name": "_remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56905,9 +56905,9 @@ "attributes": { "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 1999, + "id": 1491, "name": "StructuredDocumentation", - "src": "37691:157:1" + "src": "38776:161:0" }, { "children": [ @@ -56916,7 +56916,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56926,24 +56926,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2000, + "id": 1492, "name": "UserDefinedTypeName", - "src": "37870:3:1" + "src": "38960:3:0" } ], - "id": 2001, + "id": 1493, "name": "VariableDeclaration", - "src": "37870:15:1" + "src": "38960:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56955,19 +56955,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2002, + "id": 1494, "name": "ElementaryTypeName", - "src": "37887:7:1" + "src": "38977:7:0" } ], - "id": 2003, + "id": 1495, "name": "VariableDeclaration", - "src": "37887:11:1" + "src": "38977:11:0" } ], - "id": 2004, + "id": 1496, "name": "ParameterList", - "src": "37869:30:1" + "src": "38959:30:0" }, { "children": [ @@ -56976,7 +56976,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -56988,26 +56988,26 @@ "name": "bool", "type": "bool" }, - "id": 2005, + "id": 1497, "name": "ElementaryTypeName", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2006, + "id": 1498, "name": "VariableDeclaration", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2007, + "id": 1499, "name": "ParameterList", - "src": "37916:6:1" + "src": "39006:6:0" }, { "children": [ { "attributes": { "assignments": [ - 2009 + 1501 ] }, "children": [ @@ -57016,7 +57016,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2078, + "scope": 1570, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57028,14 +57028,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2008, + "id": 1500, "name": "ElementaryTypeName", - "src": "38031:7:1" + "src": "39123:7:0" } ], - "id": 2009, + "id": 1501, "name": "VariableDeclaration", - "src": "38031:16:1" + "src": "39123:16:0" }, { "attributes": { @@ -57053,7 +57053,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57062,41 +57062,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2010, + "id": 1502, "name": "Identifier", - "src": "38050:3:1" + "src": "39142:3:0" } ], - "id": 2011, + "id": 1503, "name": "MemberAccess", - "src": "38050:12:1" + "src": "39142:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2012, + "id": 1504, "name": "Identifier", - "src": "38063:3:1" + "src": "39155:3:0" } ], - "id": 2013, + "id": 1505, "name": "IndexAccess", - "src": "38050:17:1" + "src": "39142:17:0" } ], - "id": 2014, + "id": 1506, "name": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "children": [ @@ -57119,13 +57119,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2015, + "id": 1507, "name": "Identifier", - "src": "38082:8:1" + "src": "39176:8:0" }, { "attributes": { @@ -57138,21 +57138,21 @@ "type": "int_const 0", "value": "0" }, - "id": 2016, + "id": 1508, "name": "Literal", - "src": "38094:1:1" + "src": "39188:1:0" } ], - "id": 2017, + "id": 1509, "name": "BinaryOperation", - "src": "38082:13:1" + "src": "39176:13:0" }, { "children": [ { "attributes": { "assignments": [ - 2019 + 1511 ] }, "children": [ @@ -57161,7 +57161,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57173,14 +57173,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2018, + "id": 1510, "name": "ElementaryTypeName", - "src": "38438:7:1" + "src": "39537:7:0" } ], - "id": 2019, + "id": 1511, "name": "VariableDeclaration", - "src": "38438:21:1" + "src": "39537:21:0" }, { "attributes": { @@ -57201,13 +57201,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2020, + "id": 1512, "name": "Identifier", - "src": "38462:8:1" + "src": "39561:8:0" }, { "attributes": { @@ -57220,24 +57220,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2021, + "id": 1513, "name": "Literal", - "src": "38473:1:1" + "src": "39572:1:0" } ], - "id": 2022, + "id": 1514, "name": "BinaryOperation", - "src": "38462:12:1" + "src": "39561:12:0" } ], - "id": 2023, + "id": 1515, "name": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "attributes": { "assignments": [ - 2025 + 1517 ] }, "children": [ @@ -57246,7 +57246,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57258,14 +57258,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2024, + "id": 1516, "name": "ElementaryTypeName", - "src": "38488:7:1" + "src": "39588:7:0" } ], - "id": 2025, + "id": 1517, "name": "VariableDeclaration", - "src": "38488:17:1" + "src": "39588:17:0" }, { "attributes": { @@ -57298,7 +57298,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57307,23 +57307,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2026, + "id": 1518, "name": "Identifier", - "src": "38508:3:1" + "src": "39608:3:0" } ], - "id": 2027, + "id": 1519, "name": "MemberAccess", - "src": "38508:12:1" + "src": "39608:12:0" } ], - "id": 2028, + "id": 1520, "name": "MemberAccess", - "src": "38508:19:1" + "src": "39608:19:0" }, { "attributes": { @@ -57336,24 +57336,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2029, + "id": 1521, "name": "Literal", - "src": "38530:1:1" + "src": "39630:1:0" } ], - "id": 2030, + "id": 1522, "name": "BinaryOperation", - "src": "38508:23:1" + "src": "39608:23:0" } ], - "id": 2031, + "id": 1523, "name": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "attributes": { "assignments": [ - 2033 + 1525 ] }, "children": [ @@ -57362,7 +57362,7 @@ "constant": false, "mutability": "mutable", "name": "lastEntry", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -57372,17 +57372,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2032, + "id": 1524, "name": "UserDefinedTypeName", - "src": "38771:8:1" + "src": "39876:8:0" } ], - "id": 2033, + "id": 1525, "name": "VariableDeclaration", - "src": "38771:26:1" + "src": "39876:26:0" }, { "attributes": { @@ -57400,7 +57400,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57409,41 +57409,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2034, + "id": 1526, "name": "Identifier", - "src": "38800:3:1" + "src": "39905:3:0" } ], - "id": 2035, + "id": 1527, "name": "MemberAccess", - "src": "38800:12:1" + "src": "39905:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2025, + "referencedDeclaration": 1517, "type": "uint256", "value": "lastIndex" }, - "id": 2036, + "id": 1528, "name": "Identifier", - "src": "38813:9:1" + "src": "39918:9:0" } ], - "id": 2037, + "id": 1529, "name": "IndexAccess", - "src": "38800:23:1" + "src": "39905:23:0" } ], - "id": 2038, + "id": 1530, "name": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "children": [ @@ -57473,7 +57473,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57482,59 +57482,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2039, + "id": 1531, "name": "Identifier", - "src": "38915:3:1" + "src": "40023:3:0" } ], - "id": 2042, + "id": 1534, "name": "MemberAccess", - "src": "38915:12:1" + "src": "40023:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2041, + "id": 1533, "name": "Identifier", - "src": "38928:13:1" + "src": "40036:13:0" } ], - "id": 2043, + "id": 1535, "name": "IndexAccess", - "src": "38915:27:1" + "src": "40023:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2044, + "id": 1536, "name": "Identifier", - "src": "38945:9:1" + "src": "40053:9:0" } ], - "id": 2045, + "id": 1537, "name": "Assignment", - "src": "38915:39:1" + "src": "40023:39:0" } ], - "id": 2046, + "id": 1538, "name": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "children": [ @@ -57564,7 +57564,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57573,18 +57573,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2047, + "id": 1539, "name": "Identifier", - "src": "39020:3:1" + "src": "40130:3:0" } ], - "id": 2051, + "id": 1543, "name": "MemberAccess", - "src": "39020:12:1" + "src": "40130:12:0" }, { "attributes": { @@ -57593,7 +57593,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -57602,23 +57602,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2049, + "id": 1541, "name": "Identifier", - "src": "39033:9:1" + "src": "40143:9:0" } ], - "id": 2050, + "id": 1542, "name": "MemberAccess", - "src": "39033:14:1" + "src": "40143:14:0" } ], - "id": 2052, + "id": 1544, "name": "IndexAccess", - "src": "39020:28:1" + "src": "40130:28:0" }, { "attributes": { @@ -57639,13 +57639,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2053, + "id": 1545, "name": "Identifier", - "src": "39051:13:1" + "src": "40161:13:0" }, { "attributes": { @@ -57658,24 +57658,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2054, + "id": 1546, "name": "Literal", - "src": "39067:1:1" + "src": "40177:1:0" } ], - "id": 2055, + "id": 1547, "name": "BinaryOperation", - "src": "39051:17:1" + "src": "40161:17:0" } ], - "id": 2056, + "id": 1548, "name": "Assignment", - "src": "39020:48:1" + "src": "40130:48:0" } ], - "id": 2057, + "id": 1549, "name": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "children": [ @@ -57717,7 +57717,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57726,33 +57726,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2058, + "id": 1550, "name": "Identifier", - "src": "39174:3:1" + "src": "40287:3:0" } ], - "id": 2061, + "id": 1553, "name": "MemberAccess", - "src": "39174:12:1" + "src": "40287:12:0" } ], - "id": 2062, + "id": 1554, "name": "MemberAccess", - "src": "39174:16:1" + "src": "40287:16:0" } ], - "id": 2063, + "id": 1555, "name": "FunctionCall", - "src": "39174:18:1" + "src": "40287:18:0" } ], - "id": 2064, + "id": 1556, "name": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "children": [ @@ -57783,7 +57783,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57792,50 +57792,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2065, + "id": 1557, "name": "Identifier", - "src": "39267:3:1" + "src": "40383:3:0" } ], - "id": 2066, + "id": 1558, "name": "MemberAccess", - "src": "39267:12:1" + "src": "40383:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2067, + "id": 1559, "name": "Identifier", - "src": "39280:3:1" + "src": "40396:3:0" } ], - "id": 2068, + "id": 1560, "name": "IndexAccess", - "src": "39267:17:1" + "src": "40383:17:0" } ], - "id": 2069, + "id": 1561, "name": "UnaryOperation", - "src": "39260:24:1" + "src": "40376:24:0" } ], - "id": 2070, + "id": 1562, "name": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -57849,25 +57849,25 @@ "type": "bool", "value": "true" }, - "id": 2071, + "id": 1563, "name": "Literal", - "src": "39306:4:1" + "src": "40424:4:0" } ], - "id": 2072, + "id": 1564, "name": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ], - "id": 2073, + "id": 1565, "name": "Block", - "src": "38097:1224:1" + "src": "39191:1249:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -57881,34 +57881,34 @@ "type": "bool", "value": "false" }, - "id": 2074, + "id": 1566, "name": "Literal", - "src": "39348:5:1" + "src": "40468:5:0" } ], - "id": 2075, + "id": 1567, "name": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ], - "id": 2076, + "id": 1568, "name": "Block", - "src": "39327:37:1" + "src": "40446:39:0" } ], - "id": 2077, + "id": 1569, "name": "IfStatement", - "src": "38078:1286:1" + "src": "39172:1313:0" } ], - "id": 2078, + "id": 1570, "name": "Block", - "src": "37923:1447:1" + "src": "39013:1479:0" } ], - "id": 2079, + "id": 1571, "name": "FunctionDefinition", - "src": "37853:1517:1" + "src": "38943:1549:0" }, { "attributes": { @@ -57919,7 +57919,7 @@ null ], "name": "_contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -57929,9 +57929,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2080, + "id": 1572, "name": "StructuredDocumentation", - "src": "39376:68:1" + "src": "40500:70:0" }, { "children": [ @@ -57940,7 +57940,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -57950,24 +57950,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2081, + "id": 1573, "name": "UserDefinedTypeName", - "src": "39468:3:1" + "src": "40595:3:0" } ], - "id": 2082, + "id": 1574, "name": "VariableDeclaration", - "src": "39468:15:1" + "src": "40595:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -57979,19 +57979,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2083, + "id": 1575, "name": "ElementaryTypeName", - "src": "39485:7:1" + "src": "40612:7:0" } ], - "id": 2084, + "id": 1576, "name": "VariableDeclaration", - "src": "39485:11:1" + "src": "40612:11:0" } ], - "id": 2085, + "id": 1577, "name": "ParameterList", - "src": "39467:30:1" + "src": "40594:30:0" }, { "children": [ @@ -58000,7 +58000,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -58012,25 +58012,25 @@ "name": "bool", "type": "bool" }, - "id": 2086, + "id": 1578, "name": "ElementaryTypeName", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2087, + "id": 1579, "name": "VariableDeclaration", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2088, + "id": 1580, "name": "ParameterList", - "src": "39519:6:1" + "src": "40646:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2088 + "functionReturnParameters": 1580 }, "children": [ { @@ -58063,7 +58063,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58072,36 +58072,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2082, + "referencedDeclaration": 1574, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2089, + "id": 1581, "name": "Identifier", - "src": "39543:3:1" + "src": "40671:3:0" } ], - "id": 2090, + "id": 1582, "name": "MemberAccess", - "src": "39543:12:1" + "src": "40671:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2084, + "referencedDeclaration": 1576, "type": "bytes32", "value": "key" }, - "id": 2091, + "id": 1583, "name": "Identifier", - "src": "39556:3:1" + "src": "40684:3:0" } ], - "id": 2092, + "id": 1584, "name": "IndexAccess", - "src": "39543:17:1" + "src": "40671:17:0" }, { "attributes": { @@ -58114,29 +58114,29 @@ "type": "int_const 0", "value": "0" }, - "id": 2093, + "id": 1585, "name": "Literal", - "src": "39564:1:1" + "src": "40692:1:0" } ], - "id": 2094, + "id": 1586, "name": "BinaryOperation", - "src": "39543:22:1" + "src": "40671:22:0" } ], - "id": 2095, + "id": 1587, "name": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ], - "id": 2096, + "id": 1588, "name": "Block", - "src": "39526:46:1" + "src": "40653:48:0" } ], - "id": 2097, + "id": 1589, "name": "FunctionDefinition", - "src": "39449:123:1" + "src": "40576:125:0" }, { "attributes": { @@ -58147,7 +58147,7 @@ null ], "name": "_length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58157,9 +58157,9 @@ "attributes": { "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2098, + "id": 1590, "name": "StructuredDocumentation", - "src": "39578:79:1" + "src": "40709:81:0" }, { "children": [ @@ -58168,7 +58168,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58178,22 +58178,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2099, + "id": 1591, "name": "UserDefinedTypeName", - "src": "39679:3:1" + "src": "40813:3:0" } ], - "id": 2100, + "id": 1592, "name": "VariableDeclaration", - "src": "39679:15:1" + "src": "40813:15:0" } ], - "id": 2101, + "id": 1593, "name": "ParameterList", - "src": "39678:17:1" + "src": "40812:17:0" }, { "children": [ @@ -58202,7 +58202,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58214,25 +58214,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2102, + "id": 1594, "name": "ElementaryTypeName", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2103, + "id": 1595, "name": "VariableDeclaration", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2104, + "id": 1596, "name": "ParameterList", - "src": "39717:9:1" + "src": "40851:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2104 + "functionReturnParameters": 1596 }, "children": [ { @@ -58252,7 +58252,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58261,38 +58261,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2100, + "referencedDeclaration": 1592, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2105, + "id": 1597, "name": "Identifier", - "src": "39744:3:1" + "src": "40879:3:0" } ], - "id": 2106, + "id": 1598, "name": "MemberAccess", - "src": "39744:12:1" + "src": "40879:12:0" } ], - "id": 2107, + "id": 1599, "name": "MemberAccess", - "src": "39744:19:1" + "src": "40879:19:0" } ], - "id": 2108, + "id": 1600, "name": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ], - "id": 2109, + "id": 1601, "name": "Block", - "src": "39727:43:1" + "src": "40861:45:0" } ], - "id": 2110, + "id": 1602, "name": "FunctionDefinition", - "src": "39662:108:1" + "src": "40796:110:0" }, { "attributes": { @@ -58303,7 +58303,7 @@ null ], "name": "_at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58313,9 +58313,9 @@ "attributes": { "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2111, + "id": 1603, "name": "StructuredDocumentation", - "src": "39775:333:1" + "src": "40913:342:0" }, { "children": [ @@ -58324,7 +58324,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58334,24 +58334,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2112, + "id": 1604, "name": "UserDefinedTypeName", - "src": "40126:3:1" + "src": "41274:3:0" } ], - "id": 2113, + "id": 1605, "name": "VariableDeclaration", - "src": "40126:15:1" + "src": "41274:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58363,19 +58363,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2114, + "id": 1606, "name": "ElementaryTypeName", - "src": "40143:7:1" + "src": "41291:7:0" } ], - "id": 2115, + "id": 1607, "name": "VariableDeclaration", - "src": "40143:13:1" + "src": "41291:13:0" } ], - "id": 2116, + "id": 1608, "name": "ParameterList", - "src": "40125:32:1" + "src": "41273:32:0" }, { "children": [ @@ -58384,7 +58384,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58396,21 +58396,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2117, + "id": 1609, "name": "ElementaryTypeName", - "src": "40180:7:1" + "src": "41328:7:0" } ], - "id": 2118, + "id": 1610, "name": "VariableDeclaration", - "src": "40180:7:1" + "src": "41328:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58422,19 +58422,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2119, + "id": 1611, "name": "ElementaryTypeName", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2120, + "id": 1612, "name": "VariableDeclaration", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2121, + "id": 1613, "name": "ParameterList", - "src": "40179:18:1" + "src": "41327:18:0" }, { "children": [ @@ -58475,9 +58475,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2122, + "id": 1614, "name": "Identifier", - "src": "40208:7:1" + "src": "41357:7:0" }, { "attributes": { @@ -58510,7 +58510,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58519,41 +58519,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2123, + "id": 1615, "name": "Identifier", - "src": "40216:3:1" + "src": "41365:3:0" } ], - "id": 2124, + "id": 1616, "name": "MemberAccess", - "src": "40216:12:1" + "src": "41365:12:0" } ], - "id": 2125, + "id": 1617, "name": "MemberAccess", - "src": "40216:19:1" + "src": "41365:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2126, + "id": 1618, "name": "Identifier", - "src": "40238:5:1" + "src": "41387:5:0" } ], - "id": 2127, + "id": 1619, "name": "BinaryOperation", - "src": "40216:27:1" + "src": "41365:27:0" }, { "attributes": { @@ -58566,24 +58566,24 @@ "type": "literal_string \"EnumerableMap: index out of bounds\"", "value": "EnumerableMap: index out of bounds" }, - "id": 2128, + "id": 1620, "name": "Literal", - "src": "40245:36:1" + "src": "41394:36:0" } ], - "id": 2129, + "id": 1621, "name": "FunctionCall", - "src": "40208:74:1" + "src": "41357:74:0" } ], - "id": 2130, + "id": 1622, "name": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "attributes": { "assignments": [ - 2132 + 1624 ] }, "children": [ @@ -58592,7 +58592,7 @@ "constant": false, "mutability": "mutable", "name": "entry", - "scope": 2144, + "scope": 1636, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -58602,17 +58602,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2131, + "id": 1623, "name": "UserDefinedTypeName", - "src": "40293:8:1" + "src": "41444:8:0" } ], - "id": 2132, + "id": 1624, "name": "VariableDeclaration", - "src": "40293:22:1" + "src": "41444:22:0" }, { "attributes": { @@ -58630,7 +58630,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58639,45 +58639,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2133, + "id": 1625, "name": "Identifier", - "src": "40318:3:1" + "src": "41469:3:0" } ], - "id": 2134, + "id": 1626, "name": "MemberAccess", - "src": "40318:12:1" + "src": "41469:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2135, + "id": 1627, "name": "Identifier", - "src": "40331:5:1" + "src": "41482:5:0" } ], - "id": 2136, + "id": 1628, "name": "IndexAccess", - "src": "40318:19:1" + "src": "41469:19:0" } ], - "id": 2137, + "id": 1629, "name": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "attributes": { - "functionReturnParameters": 2121 + "functionReturnParameters": 1613 }, "children": [ { @@ -58697,7 +58697,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -58706,18 +58706,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2138, + "id": 1630, "name": "Identifier", - "src": "40355:5:1" + "src": "41507:5:0" } ], - "id": 2139, + "id": 1631, "name": "MemberAccess", - "src": "40355:10:1" + "src": "41507:10:0" }, { "attributes": { @@ -58726,7 +58726,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -58735,38 +58735,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2140, + "id": 1632, "name": "Identifier", - "src": "40367:5:1" + "src": "41519:5:0" } ], - "id": 2141, + "id": 1633, "name": "MemberAccess", - "src": "40367:12:1" + "src": "41519:12:0" } ], - "id": 2142, + "id": 1634, "name": "TupleExpression", - "src": "40354:26:1" + "src": "41506:26:0" } ], - "id": 2143, + "id": 1635, "name": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ], - "id": 2144, + "id": 1636, "name": "Block", - "src": "40198:189:1" + "src": "41346:194:0" } ], - "id": 2145, + "id": 1637, "name": "FunctionDefinition", - "src": "40113:274:1" + "src": "41261:279:0" }, { "attributes": { @@ -58777,7 +58777,7 @@ null ], "name": "_tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58787,9 +58787,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2146, + "id": 1638, "name": "StructuredDocumentation", - "src": "40393:131:1" + "src": "41548:134:0" }, { "children": [ @@ -58798,7 +58798,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58808,24 +58808,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2147, + "id": 1639, "name": "UserDefinedTypeName", - "src": "40546:3:1" + "src": "41705:3:0" } ], - "id": 2148, + "id": 1640, "name": "VariableDeclaration", - "src": "40546:15:1" + "src": "41705:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58837,19 +58837,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2149, + "id": 1641, "name": "ElementaryTypeName", - "src": "40563:7:1" + "src": "41722:7:0" } ], - "id": 2150, + "id": 1642, "name": "VariableDeclaration", - "src": "40563:11:1" + "src": "41722:11:0" } ], - "id": 2151, + "id": 1643, "name": "ParameterList", - "src": "40545:30:1" + "src": "41704:30:0" }, { "children": [ @@ -58858,7 +58858,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -58870,21 +58870,21 @@ "name": "bool", "type": "bool" }, - "id": 2152, + "id": 1644, "name": "ElementaryTypeName", - "src": "40598:4:1" + "src": "41757:4:0" } ], - "id": 2153, + "id": 1645, "name": "VariableDeclaration", - "src": "40598:4:1" + "src": "41757:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58896,26 +58896,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2154, + "id": 1646, "name": "ElementaryTypeName", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2155, + "id": 1647, "name": "VariableDeclaration", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2156, + "id": 1648, "name": "ParameterList", - "src": "40597:15:1" + "src": "41756:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2158 + 1650 ] }, "children": [ @@ -58924,7 +58924,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2182, + "scope": 1674, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58936,14 +58936,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2157, + "id": 1649, "name": "ElementaryTypeName", - "src": "40623:7:1" + "src": "41783:7:0" } ], - "id": 2158, + "id": 1650, "name": "VariableDeclaration", - "src": "40623:16:1" + "src": "41783:16:0" }, { "attributes": { @@ -58961,7 +58961,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58970,41 +58970,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2159, + "id": 1651, "name": "Identifier", - "src": "40642:3:1" + "src": "41802:3:0" } ], - "id": 2160, + "id": 1652, "name": "MemberAccess", - "src": "40642:12:1" + "src": "41802:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2150, + "referencedDeclaration": 1642, "type": "bytes32", "value": "key" }, - "id": 2161, + "id": 1653, "name": "Identifier", - "src": "40655:3:1" + "src": "41815:3:0" } ], - "id": 2162, + "id": 1654, "name": "IndexAccess", - "src": "40642:17:1" + "src": "41802:17:0" } ], - "id": 2163, + "id": 1655, "name": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "attributes": {}, @@ -59028,13 +59028,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2164, + "id": 1656, "name": "Identifier", - "src": "40673:8:1" + "src": "41834:8:0" }, { "attributes": { @@ -59047,18 +59047,18 @@ "type": "int_const 0", "value": "0" }, - "id": 2165, + "id": 1657, "name": "Literal", - "src": "40685:1:1" + "src": "41846:1:0" } ], - "id": 2166, + "id": 1658, "name": "BinaryOperation", - "src": "40673:13:1" + "src": "41834:13:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59082,9 +59082,9 @@ "type": "bool", "value": "false" }, - "id": 2167, + "id": 1659, "name": "Literal", - "src": "40696:5:1" + "src": "41857:5:0" }, { "attributes": { @@ -59097,28 +59097,28 @@ "type": "int_const 0", "value": "0" }, - "id": 2168, + "id": 1660, "name": "Literal", - "src": "40703:1:1" + "src": "41864:1:0" } ], - "id": 2169, + "id": 1661, "name": "TupleExpression", - "src": "40695:10:1" + "src": "41856:10:0" } ], - "id": 2170, + "id": 1662, "name": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } ], - "id": 2171, + "id": 1663, "name": "IfStatement", - "src": "40669:36:1" + "src": "41830:36:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59142,9 +59142,9 @@ "type": "bool", "value": "true" }, - "id": 2172, + "id": 1664, "name": "Literal", - "src": "40759:4:1" + "src": "41921:4:0" }, { "attributes": { @@ -59153,7 +59153,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59173,7 +59173,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59182,18 +59182,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2173, + "id": 1665, "name": "Identifier", - "src": "40765:3:1" + "src": "41927:3:0" } ], - "id": 2174, + "id": 1666, "name": "MemberAccess", - "src": "40765:12:1" + "src": "41927:12:0" }, { "attributes": { @@ -59214,13 +59214,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2175, + "id": 1667, "name": "Identifier", - "src": "40778:8:1" + "src": "41940:8:0" }, { "attributes": { @@ -59233,44 +59233,44 @@ "type": "int_const 1", "value": "1" }, - "id": 2176, + "id": 1668, "name": "Literal", - "src": "40789:1:1" + "src": "41951:1:0" } ], - "id": 2177, + "id": 1669, "name": "BinaryOperation", - "src": "40778:12:1" + "src": "41940:12:0" } ], - "id": 2178, + "id": 1670, "name": "IndexAccess", - "src": "40765:26:1" + "src": "41927:26:0" } ], - "id": 2179, + "id": 1671, "name": "MemberAccess", - "src": "40765:33:1" + "src": "41927:33:0" } ], - "id": 2180, + "id": 1672, "name": "TupleExpression", - "src": "40758:41:1" + "src": "41920:41:0" } ], - "id": 2181, + "id": 1673, "name": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ], - "id": 2182, + "id": 1674, "name": "Block", - "src": "40613:220:1" + "src": "41772:224:0" } ], - "id": 2183, + "id": 1675, "name": "FunctionDefinition", - "src": "40529:304:1" + "src": "41688:308:0" }, { "attributes": { @@ -59281,7 +59281,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59291,9 +59291,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2184, + "id": 1676, "name": "StructuredDocumentation", - "src": "40839:141:1" + "src": "42004:147:0" }, { "children": [ @@ -59302,7 +59302,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59312,24 +59312,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2185, + "id": 1677, "name": "UserDefinedTypeName", - "src": "40999:3:1" + "src": "42171:3:0" } ], - "id": 2186, + "id": 1678, "name": "VariableDeclaration", - "src": "40999:15:1" + "src": "42171:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59341,19 +59341,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2187, + "id": 1679, "name": "ElementaryTypeName", - "src": "41016:7:1" + "src": "42188:7:0" } ], - "id": 2188, + "id": 1680, "name": "VariableDeclaration", - "src": "41016:11:1" + "src": "42188:11:0" } ], - "id": 2189, + "id": 1681, "name": "ParameterList", - "src": "40998:30:1" + "src": "42170:30:0" }, { "children": [ @@ -59362,7 +59362,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59374,26 +59374,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2190, + "id": 1682, "name": "ElementaryTypeName", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2191, + "id": 1683, "name": "VariableDeclaration", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2192, + "id": 1684, "name": "ParameterList", - "src": "41050:9:1" + "src": "42222:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2194 + 1686 ] }, "children": [ @@ -59402,7 +59402,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2215, + "scope": 1707, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59414,14 +59414,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2193, + "id": 1685, "name": "ElementaryTypeName", - "src": "41070:7:1" + "src": "42243:7:0" } ], - "id": 2194, + "id": 1686, "name": "VariableDeclaration", - "src": "41070:16:1" + "src": "42243:16:0" }, { "attributes": { @@ -59439,7 +59439,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59448,41 +59448,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2195, + "id": 1687, "name": "Identifier", - "src": "41089:3:1" + "src": "42262:3:0" } ], - "id": 2196, + "id": 1688, "name": "MemberAccess", - "src": "41089:12:1" + "src": "42262:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2188, + "referencedDeclaration": 1680, "type": "bytes32", "value": "key" }, - "id": 2197, + "id": 1689, "name": "Identifier", - "src": "41102:3:1" + "src": "42275:3:0" } ], - "id": 2198, + "id": 1690, "name": "IndexAccess", - "src": "41089:17:1" + "src": "42262:17:0" } ], - "id": 2199, + "id": 1691, "name": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "children": [ @@ -59521,9 +59521,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2200, + "id": 1692, "name": "Identifier", - "src": "41116:7:1" + "src": "42290:7:0" }, { "attributes": { @@ -59544,13 +59544,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2201, + "id": 1693, "name": "Identifier", - "src": "41124:8:1" + "src": "42298:8:0" }, { "attributes": { @@ -59563,14 +59563,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2202, + "id": 1694, "name": "Literal", - "src": "41136:1:1" + "src": "42310:1:0" } ], - "id": 2203, + "id": 1695, "name": "BinaryOperation", - "src": "41124:13:1" + "src": "42298:13:0" }, { "attributes": { @@ -59583,23 +59583,23 @@ "type": "literal_string \"EnumerableMap: nonexistent key\"", "value": "EnumerableMap: nonexistent key" }, - "id": 2204, + "id": 1696, "name": "Literal", - "src": "41139:32:1" + "src": "42313:32:0" } ], - "id": 2205, + "id": 1697, "name": "FunctionCall", - "src": "41116:56:1" + "src": "42290:56:0" } ], - "id": 2206, + "id": 1698, "name": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "attributes": { - "functionReturnParameters": 2192 + "functionReturnParameters": 1684 }, "children": [ { @@ -59609,7 +59609,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59629,7 +59629,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59638,18 +59638,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2207, + "id": 1699, "name": "Identifier", - "src": "41225:3:1" + "src": "42400:3:0" } ], - "id": 2208, + "id": 1700, "name": "MemberAccess", - "src": "41225:12:1" + "src": "42400:12:0" }, { "attributes": { @@ -59670,13 +59670,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2209, + "id": 1701, "name": "Identifier", - "src": "41238:8:1" + "src": "42413:8:0" }, { "attributes": { @@ -59689,39 +59689,39 @@ "type": "int_const 1", "value": "1" }, - "id": 2210, + "id": 1702, "name": "Literal", - "src": "41249:1:1" + "src": "42424:1:0" } ], - "id": 2211, + "id": 1703, "name": "BinaryOperation", - "src": "41238:12:1" + "src": "42413:12:0" } ], - "id": 2212, + "id": 1704, "name": "IndexAccess", - "src": "41225:26:1" + "src": "42400:26:0" } ], - "id": 2213, + "id": 1705, "name": "MemberAccess", - "src": "41225:33:1" + "src": "42400:33:0" } ], - "id": 2214, + "id": 1706, "name": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ], - "id": 2215, + "id": 1707, "name": "Block", - "src": "41060:232:1" + "src": "42232:236:0" } ], - "id": 2216, + "id": 1708, "name": "FunctionDefinition", - "src": "40985:307:1" + "src": "42157:311:0" }, { "attributes": { @@ -59732,7 +59732,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59742,9 +59742,9 @@ "attributes": { "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2217, + "id": 1709, "name": "StructuredDocumentation", - "src": "41298:271:1" + "src": "42476:276:0" }, { "children": [ @@ -59753,7 +59753,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59763,24 +59763,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2218, + "id": 1710, "name": "UserDefinedTypeName", - "src": "41588:3:1" + "src": "42772:3:0" } ], - "id": 2219, + "id": 1711, "name": "VariableDeclaration", - "src": "41588:15:1" + "src": "42772:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59792,21 +59792,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2220, + "id": 1712, "name": "ElementaryTypeName", - "src": "41605:7:1" + "src": "42789:7:0" } ], - "id": 2221, + "id": 1713, "name": "VariableDeclaration", - "src": "41605:11:1" + "src": "42789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -59818,19 +59818,19 @@ "name": "string", "type": "string" }, - "id": 2222, + "id": 1714, "name": "ElementaryTypeName", - "src": "41618:6:1" + "src": "42802:6:0" } ], - "id": 2223, + "id": 1715, "name": "VariableDeclaration", - "src": "41618:26:1" + "src": "42802:26:0" } ], - "id": 2224, + "id": 1716, "name": "ParameterList", - "src": "41587:58:1" + "src": "42771:58:0" }, { "children": [ @@ -59839,7 +59839,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59851,26 +59851,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2225, + "id": 1717, "name": "ElementaryTypeName", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2226, + "id": 1718, "name": "VariableDeclaration", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2227, + "id": 1719, "name": "ParameterList", - "src": "41667:9:1" + "src": "42851:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2229 + 1721 ] }, "children": [ @@ -59879,7 +59879,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2250, + "scope": 1742, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59891,14 +59891,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2228, + "id": 1720, "name": "ElementaryTypeName", - "src": "41687:7:1" + "src": "42872:7:0" } ], - "id": 2229, + "id": 1721, "name": "VariableDeclaration", - "src": "41687:16:1" + "src": "42872:16:0" }, { "attributes": { @@ -59916,7 +59916,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59925,41 +59925,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2230, + "id": 1722, "name": "Identifier", - "src": "41706:3:1" + "src": "42891:3:0" } ], - "id": 2231, + "id": 1723, "name": "MemberAccess", - "src": "41706:12:1" + "src": "42891:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2221, + "referencedDeclaration": 1713, "type": "bytes32", "value": "key" }, - "id": 2232, + "id": 1724, "name": "Identifier", - "src": "41719:3:1" + "src": "42904:3:0" } ], - "id": 2233, + "id": 1725, "name": "IndexAccess", - "src": "41706:17:1" + "src": "42891:17:0" } ], - "id": 2234, + "id": 1726, "name": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "children": [ @@ -59998,9 +59998,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2235, + "id": 1727, "name": "Identifier", - "src": "41733:7:1" + "src": "42919:7:0" }, { "attributes": { @@ -60021,13 +60021,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2236, + "id": 1728, "name": "Identifier", - "src": "41741:8:1" + "src": "42927:8:0" }, { "attributes": { @@ -60040,41 +60040,41 @@ "type": "int_const 0", "value": "0" }, - "id": 2237, + "id": 1729, "name": "Literal", - "src": "41753:1:1" + "src": "42939:1:0" } ], - "id": 2238, + "id": 1730, "name": "BinaryOperation", - "src": "41741:13:1" + "src": "42927:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2223, + "referencedDeclaration": 1715, "type": "string memory", "value": "errorMessage" }, - "id": 2239, + "id": 1731, "name": "Identifier", - "src": "41756:12:1" + "src": "42942:12:0" } ], - "id": 2240, + "id": 1732, "name": "FunctionCall", - "src": "41733:36:1" + "src": "42919:36:0" } ], - "id": 2241, + "id": 1733, "name": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "attributes": { - "functionReturnParameters": 2227 + "functionReturnParameters": 1719 }, "children": [ { @@ -60084,7 +60084,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -60104,7 +60104,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -60113,18 +60113,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2242, + "id": 1734, "name": "Identifier", - "src": "41822:3:1" + "src": "43009:3:0" } ], - "id": 2243, + "id": 1735, "name": "MemberAccess", - "src": "41822:12:1" + "src": "43009:12:0" }, { "attributes": { @@ -60145,13 +60145,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2244, + "id": 1736, "name": "Identifier", - "src": "41835:8:1" + "src": "43022:8:0" }, { "attributes": { @@ -60164,45 +60164,45 @@ "type": "int_const 1", "value": "1" }, - "id": 2245, + "id": 1737, "name": "Literal", - "src": "41846:1:1" + "src": "43033:1:0" } ], - "id": 2246, + "id": 1738, "name": "BinaryOperation", - "src": "41835:12:1" + "src": "43022:12:0" } ], - "id": 2247, + "id": 1739, "name": "IndexAccess", - "src": "41822:26:1" + "src": "43009:26:0" } ], - "id": 2248, + "id": 1740, "name": "MemberAccess", - "src": "41822:33:1" + "src": "43009:33:0" } ], - "id": 2249, + "id": 1741, "name": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ], - "id": 2250, + "id": 1742, "name": "Block", - "src": "41677:212:1" + "src": "42861:216:0" } ], - "id": 2251, + "id": 1743, "name": "FunctionDefinition", - "src": "41574:315:1" + "src": "42758:319:0" }, { "attributes": { "canonicalName": "EnumerableMap.UintToAddressMap", "name": "UintToAddressMap", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -60211,7 +60211,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 2254, + "scope": 1746, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.Map", @@ -60221,22 +60221,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2252, + "id": 1744, "name": "UserDefinedTypeName", - "src": "41954:3:1" + "src": "43147:3:0" } ], - "id": 2253, + "id": 1745, "name": "VariableDeclaration", - "src": "41954:10:1" + "src": "43147:10:0" } ], - "id": 2254, + "id": 1746, "name": "StructDefinition", - "src": "41920:51:1" + "src": "43112:53:0" }, { "attributes": { @@ -60247,7 +60247,7 @@ null ], "name": "set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60257,9 +60257,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2255, + "id": 1747, "name": "StructuredDocumentation", - "src": "41977:216:1" + "src": "43173:222:0" }, { "children": [ @@ -60268,7 +60268,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60278,24 +60278,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2256, + "id": 1748, "name": "UserDefinedTypeName", - "src": "42211:16:1" + "src": "43414:16:0" } ], - "id": 2257, + "id": 1749, "name": "VariableDeclaration", - "src": "42211:28:1" + "src": "43414:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60307,21 +60307,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2258, + "id": 1750, "name": "ElementaryTypeName", - "src": "42241:7:1" + "src": "43444:7:0" } ], - "id": 2259, + "id": 1751, "name": "VariableDeclaration", - "src": "42241:11:1" + "src": "43444:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -60334,19 +60334,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2260, + "id": 1752, "name": "ElementaryTypeName", - "src": "42254:7:1" + "src": "43457:7:0" } ], - "id": 2261, + "id": 1753, "name": "VariableDeclaration", - "src": "42254:13:1" + "src": "43457:13:0" } ], - "id": 2262, + "id": 1754, "name": "ParameterList", - "src": "42210:58:1" + "src": "43413:58:0" }, { "children": [ @@ -60355,7 +60355,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60367,25 +60367,25 @@ "name": "bool", "type": "bool" }, - "id": 2263, + "id": 1755, "name": "ElementaryTypeName", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2264, + "id": 1756, "name": "VariableDeclaration", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2265, + "id": 1757, "name": "ParameterList", - "src": "42286:6:1" + "src": "43489:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2265 + "functionReturnParameters": 1757 }, "children": [ { @@ -60407,7 +60407,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60422,13 +60422,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1998, + "referencedDeclaration": 1490, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)", "value": "_set" }, - "id": 2266, + "id": 1758, "name": "Identifier", - "src": "42310:4:1" + "src": "43514:4:0" }, { "attributes": { @@ -60437,7 +60437,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60446,18 +60446,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2257, + "referencedDeclaration": 1749, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2267, + "id": 1759, "name": "Identifier", - "src": "42315:3:1" + "src": "43519:3:0" } ], - "id": 2268, + "id": 1760, "name": "MemberAccess", - "src": "42315:10:1" + "src": "43519:10:0" }, { "attributes": { @@ -60493,32 +60493,32 @@ "attributes": { "name": "bytes32" }, - "id": 2269, + "id": 1761, "name": "ElementaryTypeName", - "src": "42327:7:1" + "src": "43531:7:0" } ], - "id": 2270, + "id": 1762, "name": "ElementaryTypeNameExpression", - "src": "42327:7:1" + "src": "43531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2259, + "referencedDeclaration": 1751, "type": "uint256", "value": "key" }, - "id": 2271, + "id": 1763, "name": "Identifier", - "src": "42335:3:1" + "src": "43539:3:0" } ], - "id": 2272, + "id": 1764, "name": "FunctionCall", - "src": "42327:12:1" + "src": "43531:12:0" }, { "attributes": { @@ -60554,14 +60554,14 @@ "attributes": { "name": "bytes32" }, - "id": 2273, + "id": 1765, "name": "ElementaryTypeName", - "src": "42341:7:1" + "src": "43545:7:0" } ], - "id": 2274, + "id": 1766, "name": "ElementaryTypeNameExpression", - "src": "42341:7:1" + "src": "43545:7:0" }, { "attributes": { @@ -60597,14 +60597,14 @@ "attributes": { "name": "uint256" }, - "id": 2275, + "id": 1767, "name": "ElementaryTypeName", - "src": "42349:7:1" + "src": "43553:7:0" } ], - "id": 2276, + "id": 1768, "name": "ElementaryTypeNameExpression", - "src": "42349:7:1" + "src": "43553:7:0" }, { "attributes": { @@ -60640,62 +60640,62 @@ "attributes": { "name": "uint160" }, - "id": 2277, + "id": 1769, "name": "ElementaryTypeName", - "src": "42357:7:1" + "src": "43561:7:0" } ], - "id": 2278, + "id": 1770, "name": "ElementaryTypeNameExpression", - "src": "42357:7:1" + "src": "43561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2261, + "referencedDeclaration": 1753, "type": "address", "value": "value" }, - "id": 2279, + "id": 1771, "name": "Identifier", - "src": "42365:5:1" + "src": "43569:5:0" } ], - "id": 2280, + "id": 1772, "name": "FunctionCall", - "src": "42357:14:1" + "src": "43561:14:0" } ], - "id": 2281, + "id": 1773, "name": "FunctionCall", - "src": "42349:23:1" + "src": "43553:23:0" } ], - "id": 2282, + "id": 1774, "name": "FunctionCall", - "src": "42341:32:1" + "src": "43545:32:0" } ], - "id": 2283, + "id": 1775, "name": "FunctionCall", - "src": "42310:64:1" + "src": "43514:64:0" } ], - "id": 2284, + "id": 1776, "name": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ], - "id": 2285, + "id": 1777, "name": "Block", - "src": "42293:88:1" + "src": "43496:90:0" } ], - "id": 2286, + "id": 1778, "name": "FunctionDefinition", - "src": "42198:183:1" + "src": "43401:185:0" }, { "attributes": { @@ -60706,7 +60706,7 @@ null ], "name": "remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60716,9 +60716,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2287, + "id": 1779, "name": "StructuredDocumentation", - "src": "42387:148:1" + "src": "43594:152:0" }, { "children": [ @@ -60727,7 +60727,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60737,24 +60737,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2288, + "id": 1780, "name": "UserDefinedTypeName", - "src": "42556:16:1" + "src": "43768:16:0" } ], - "id": 2289, + "id": 1781, "name": "VariableDeclaration", - "src": "42556:28:1" + "src": "43768:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60766,19 +60766,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2290, + "id": 1782, "name": "ElementaryTypeName", - "src": "42586:7:1" + "src": "43798:7:0" } ], - "id": 2291, + "id": 1783, "name": "VariableDeclaration", - "src": "42586:11:1" + "src": "43798:11:0" } ], - "id": 2292, + "id": 1784, "name": "ParameterList", - "src": "42555:43:1" + "src": "43767:43:0" }, { "children": [ @@ -60787,7 +60787,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60799,25 +60799,25 @@ "name": "bool", "type": "bool" }, - "id": 2293, + "id": 1785, "name": "ElementaryTypeName", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2294, + "id": 1786, "name": "VariableDeclaration", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2295, + "id": 1787, "name": "ParameterList", - "src": "42616:6:1" + "src": "43828:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2295 + "functionReturnParameters": 1787 }, "children": [ { @@ -60839,7 +60839,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60850,13 +60850,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2079, + "referencedDeclaration": 1571, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 2296, + "id": 1788, "name": "Identifier", - "src": "42640:7:1" + "src": "43853:7:0" }, { "attributes": { @@ -60865,7 +60865,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60874,18 +60874,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2289, + "referencedDeclaration": 1781, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2297, + "id": 1789, "name": "Identifier", - "src": "42648:3:1" + "src": "43861:3:0" } ], - "id": 2298, + "id": 1790, "name": "MemberAccess", - "src": "42648:10:1" + "src": "43861:10:0" }, { "attributes": { @@ -60921,52 +60921,52 @@ "attributes": { "name": "bytes32" }, - "id": 2299, + "id": 1791, "name": "ElementaryTypeName", - "src": "42660:7:1" + "src": "43873:7:0" } ], - "id": 2300, + "id": 1792, "name": "ElementaryTypeNameExpression", - "src": "42660:7:1" + "src": "43873:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2291, + "referencedDeclaration": 1783, "type": "uint256", "value": "key" }, - "id": 2301, + "id": 1793, "name": "Identifier", - "src": "42668:3:1" + "src": "43881:3:0" } ], - "id": 2302, + "id": 1794, "name": "FunctionCall", - "src": "42660:12:1" + "src": "43873:12:0" } ], - "id": 2303, + "id": 1795, "name": "FunctionCall", - "src": "42640:33:1" + "src": "43853:33:0" } ], - "id": 2304, + "id": 1796, "name": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ], - "id": 2305, + "id": 1797, "name": "Block", - "src": "42623:57:1" + "src": "43835:59:0" } ], - "id": 2306, + "id": 1798, "name": "FunctionDefinition", - "src": "42540:140:1" + "src": "43752:142:0" }, { "attributes": { @@ -60977,7 +60977,7 @@ null ], "name": "contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -60987,9 +60987,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2307, + "id": 1799, "name": "StructuredDocumentation", - "src": "42686:68:1" + "src": "43902:70:0" }, { "children": [ @@ -60998,7 +60998,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61008,24 +61008,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2308, + "id": 1800, "name": "UserDefinedTypeName", - "src": "42777:16:1" + "src": "43996:16:0" } ], - "id": 2309, + "id": 1801, "name": "VariableDeclaration", - "src": "42777:28:1" + "src": "43996:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61037,19 +61037,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2310, + "id": 1802, "name": "ElementaryTypeName", - "src": "42807:7:1" + "src": "44026:7:0" } ], - "id": 2311, + "id": 1803, "name": "VariableDeclaration", - "src": "42807:11:1" + "src": "44026:11:0" } ], - "id": 2312, + "id": 1804, "name": "ParameterList", - "src": "42776:43:1" + "src": "43995:43:0" }, { "children": [ @@ -61058,7 +61058,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -61070,25 +61070,25 @@ "name": "bool", "type": "bool" }, - "id": 2313, + "id": 1805, "name": "ElementaryTypeName", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2314, + "id": 1806, "name": "VariableDeclaration", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2315, + "id": 1807, "name": "ParameterList", - "src": "42842:6:1" + "src": "44061:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2315 + "functionReturnParameters": 1807 }, "children": [ { @@ -61110,7 +61110,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61121,13 +61121,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2097, + "referencedDeclaration": 1589, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 2316, + "id": 1808, "name": "Identifier", - "src": "42866:9:1" + "src": "44086:9:0" }, { "attributes": { @@ -61136,7 +61136,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61145,18 +61145,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2309, + "referencedDeclaration": 1801, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2317, + "id": 1809, "name": "Identifier", - "src": "42876:3:1" + "src": "44096:3:0" } ], - "id": 2318, + "id": 1810, "name": "MemberAccess", - "src": "42876:10:1" + "src": "44096:10:0" }, { "attributes": { @@ -61192,52 +61192,52 @@ "attributes": { "name": "bytes32" }, - "id": 2319, + "id": 1811, "name": "ElementaryTypeName", - "src": "42888:7:1" + "src": "44108:7:0" } ], - "id": 2320, + "id": 1812, "name": "ElementaryTypeNameExpression", - "src": "42888:7:1" + "src": "44108:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2311, + "referencedDeclaration": 1803, "type": "uint256", "value": "key" }, - "id": 2321, + "id": 1813, "name": "Identifier", - "src": "42896:3:1" + "src": "44116:3:0" } ], - "id": 2322, + "id": 1814, "name": "FunctionCall", - "src": "42888:12:1" + "src": "44108:12:0" } ], - "id": 2323, + "id": 1815, "name": "FunctionCall", - "src": "42866:35:1" + "src": "44086:35:0" } ], - "id": 2324, + "id": 1816, "name": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ], - "id": 2325, + "id": 1817, "name": "Block", - "src": "42849:59:1" + "src": "44068:61:0" } ], - "id": 2326, + "id": 1818, "name": "FunctionDefinition", - "src": "42759:149:1" + "src": "43978:151:0" }, { "attributes": { @@ -61248,7 +61248,7 @@ null ], "name": "length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61258,9 +61258,9 @@ "attributes": { "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2327, + "id": 1819, "name": "StructuredDocumentation", - "src": "42914:72:1" + "src": "44137:74:0" }, { "children": [ @@ -61269,7 +61269,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61279,22 +61279,22 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2328, + "id": 1820, "name": "UserDefinedTypeName", - "src": "43007:16:1" + "src": "44233:16:0" } ], - "id": 2329, + "id": 1821, "name": "VariableDeclaration", - "src": "43007:28:1" + "src": "44233:28:0" } ], - "id": 2330, + "id": 1822, "name": "ParameterList", - "src": "43006:30:1" + "src": "44232:30:0" }, { "children": [ @@ -61303,7 +61303,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61315,25 +61315,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2331, + "id": 1823, "name": "ElementaryTypeName", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2332, + "id": 1824, "name": "VariableDeclaration", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2333, + "id": 1825, "name": "ParameterList", - "src": "43059:9:1" + "src": "44285:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2333 + "functionReturnParameters": 1825 }, "children": [ { @@ -61355,20 +61355,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 2110, + "referencedDeclaration": 1602, "type": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)", "value": "_length" }, - "id": 2334, + "id": 1826, "name": "Identifier", - "src": "43086:7:1" + "src": "44313:7:0" }, { "attributes": { @@ -61377,7 +61377,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61386,38 +61386,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2329, + "referencedDeclaration": 1821, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2335, + "id": 1827, "name": "Identifier", - "src": "43094:3:1" + "src": "44321:3:0" } ], - "id": 2336, + "id": 1828, "name": "MemberAccess", - "src": "43094:10:1" + "src": "44321:10:0" } ], - "id": 2337, + "id": 1829, "name": "FunctionCall", - "src": "43086:19:1" + "src": "44313:19:0" } ], - "id": 2338, + "id": 1830, "name": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ], - "id": 2339, + "id": 1831, "name": "Block", - "src": "43069:43:1" + "src": "44295:45:0" } ], - "id": 2340, + "id": 1832, "name": "FunctionDefinition", - "src": "42991:121:1" + "src": "44217:123:0" }, { "attributes": { @@ -61428,7 +61428,7 @@ null ], "name": "at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61438,9 +61438,9 @@ "attributes": { "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2341, + "id": 1833, "name": "StructuredDocumentation", - "src": "43117:318:1" + "src": "44347:326:0" }, { "children": [ @@ -61449,7 +61449,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61459,24 +61459,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2342, + "id": 1834, "name": "UserDefinedTypeName", - "src": "43452:16:1" + "src": "44691:16:0" } ], - "id": 2343, + "id": 1835, "name": "VariableDeclaration", - "src": "43452:28:1" + "src": "44691:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61488,19 +61488,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2344, + "id": 1836, "name": "ElementaryTypeName", - "src": "43482:7:1" + "src": "44721:7:0" } ], - "id": 2345, + "id": 1837, "name": "VariableDeclaration", - "src": "43482:13:1" + "src": "44721:13:0" } ], - "id": 2346, + "id": 1838, "name": "ParameterList", - "src": "43451:45:1" + "src": "44690:45:0" }, { "children": [ @@ -61509,7 +61509,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61521,21 +61521,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2347, + "id": 1839, "name": "ElementaryTypeName", - "src": "43520:7:1" + "src": "44759:7:0" } ], - "id": 2348, + "id": 1840, "name": "VariableDeclaration", - "src": "43520:7:1" + "src": "44759:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -61548,27 +61548,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2349, + "id": 1841, "name": "ElementaryTypeName", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2350, + "id": 1842, "name": "VariableDeclaration", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2351, + "id": 1843, "name": "ParameterList", - "src": "43519:18:1" + "src": "44758:18:0" }, { "children": [ { "attributes": { "assignments": [ - 2353, - 2355 + 1845, + 1847 ] }, "children": [ @@ -61577,7 +61577,7 @@ "constant": false, "mutability": "mutable", "name": "key", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61589,21 +61589,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2352, + "id": 1844, "name": "ElementaryTypeName", - "src": "43549:7:1" + "src": "44789:7:0" } ], - "id": 2353, + "id": 1845, "name": "VariableDeclaration", - "src": "43549:11:1" + "src": "44789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61615,14 +61615,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2354, + "id": 1846, "name": "ElementaryTypeName", - "src": "43562:7:1" + "src": "44802:7:0" } ], - "id": 2355, + "id": 1847, "name": "VariableDeclaration", - "src": "43562:13:1" + "src": "44802:13:0" }, { "attributes": { @@ -61643,7 +61643,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61654,13 +61654,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2145, + "referencedDeclaration": 1637, "type": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)", "value": "_at" }, - "id": 2356, + "id": 1848, "name": "Identifier", - "src": "43579:3:1" + "src": "44819:3:0" }, { "attributes": { @@ -61669,7 +61669,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61678,45 +61678,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2343, + "referencedDeclaration": 1835, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2357, + "id": 1849, "name": "Identifier", - "src": "43583:3:1" + "src": "44823:3:0" } ], - "id": 2358, + "id": 1850, "name": "MemberAccess", - "src": "43583:10:1" + "src": "44823:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2345, + "referencedDeclaration": 1837, "type": "uint256", "value": "index" }, - "id": 2359, + "id": 1851, "name": "Identifier", - "src": "43595:5:1" + "src": "44835:5:0" } ], - "id": 2360, + "id": 1852, "name": "FunctionCall", - "src": "43579:22:1" + "src": "44819:22:0" } ], - "id": 2361, + "id": 1853, "name": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "attributes": { - "functionReturnParameters": 2351 + "functionReturnParameters": 1843 }, "children": [ { @@ -61763,32 +61763,32 @@ "attributes": { "name": "uint256" }, - "id": 2362, + "id": 1854, "name": "ElementaryTypeName", - "src": "43619:7:1" + "src": "44860:7:0" } ], - "id": 2363, + "id": 1855, "name": "ElementaryTypeNameExpression", - "src": "43619:7:1" + "src": "44860:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2353, + "referencedDeclaration": 1845, "type": "bytes32", "value": "key" }, - "id": 2364, + "id": 1856, "name": "Identifier", - "src": "43627:3:1" + "src": "44868:3:0" } ], - "id": 2365, + "id": 1857, "name": "FunctionCall", - "src": "43619:12:1" + "src": "44860:12:0" }, { "attributes": { @@ -61824,14 +61824,14 @@ "attributes": { "name": "address" }, - "id": 2366, + "id": 1858, "name": "ElementaryTypeName", - "src": "43633:7:1" + "src": "44874:7:0" } ], - "id": 2367, + "id": 1859, "name": "ElementaryTypeNameExpression", - "src": "43633:7:1" + "src": "44874:7:0" }, { "attributes": { @@ -61867,14 +61867,14 @@ "attributes": { "name": "uint160" }, - "id": 2368, + "id": 1860, "name": "ElementaryTypeName", - "src": "43641:7:1" + "src": "44882:7:0" } ], - "id": 2369, + "id": 1861, "name": "ElementaryTypeNameExpression", - "src": "43641:7:1" + "src": "44882:7:0" }, { "attributes": { @@ -61910,62 +61910,62 @@ "attributes": { "name": "uint256" }, - "id": 2370, + "id": 1862, "name": "ElementaryTypeName", - "src": "43649:7:1" + "src": "44890:7:0" } ], - "id": 2371, + "id": 1863, "name": "ElementaryTypeNameExpression", - "src": "43649:7:1" + "src": "44890:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2355, + "referencedDeclaration": 1847, "type": "bytes32", "value": "value" }, - "id": 2372, + "id": 1864, "name": "Identifier", - "src": "43657:5:1" + "src": "44898:5:0" } ], - "id": 2373, + "id": 1865, "name": "FunctionCall", - "src": "43649:14:1" + "src": "44890:14:0" } ], - "id": 2374, + "id": 1866, "name": "FunctionCall", - "src": "43641:23:1" + "src": "44882:23:0" } ], - "id": 2375, + "id": 1867, "name": "FunctionCall", - "src": "43633:32:1" + "src": "44874:32:0" } ], - "id": 2376, + "id": 1868, "name": "TupleExpression", - "src": "43618:48:1" + "src": "44859:48:0" } ], - "id": 2377, + "id": 1869, "name": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ], - "id": 2378, + "id": 1870, "name": "Block", - "src": "43538:135:1" + "src": "44777:138:0" } ], - "id": 2379, + "id": 1871, "name": "FunctionDefinition", - "src": "43440:233:1" + "src": "44679:236:0" }, { "attributes": { @@ -61976,7 +61976,7 @@ null ], "name": "tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61986,9 +61986,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2380, + "id": 1872, "name": "StructuredDocumentation", - "src": "43679:169:1" + "src": "44923:174:0" }, { "children": [ @@ -61997,7 +61997,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62007,24 +62007,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2381, + "id": 1873, "name": "UserDefinedTypeName", - "src": "43869:16:1" + "src": "45119:16:0" } ], - "id": 2382, + "id": 1874, "name": "VariableDeclaration", - "src": "43869:28:1" + "src": "45119:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62036,19 +62036,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2383, + "id": 1875, "name": "ElementaryTypeName", - "src": "43899:7:1" + "src": "45149:7:0" } ], - "id": 2384, + "id": 1876, "name": "VariableDeclaration", - "src": "43899:11:1" + "src": "45149:11:0" } ], - "id": 2385, + "id": 1877, "name": "ParameterList", - "src": "43868:43:1" + "src": "45118:43:0" }, { "children": [ @@ -62057,7 +62057,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62069,21 +62069,21 @@ "name": "bool", "type": "bool" }, - "id": 2386, + "id": 1878, "name": "ElementaryTypeName", - "src": "43935:4:1" + "src": "45185:4:0" } ], - "id": 2387, + "id": 1879, "name": "VariableDeclaration", - "src": "43935:4:1" + "src": "45185:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62096,27 +62096,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2388, + "id": 1880, "name": "ElementaryTypeName", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2389, + "id": 1881, "name": "VariableDeclaration", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2390, + "id": 1882, "name": "ParameterList", - "src": "43934:15:1" + "src": "45184:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2392, - 2394 + 1884, + 1886 ] }, "children": [ @@ -62125,7 +62125,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62137,21 +62137,21 @@ "name": "bool", "type": "bool" }, - "id": 2391, + "id": 1883, "name": "ElementaryTypeName", - "src": "43961:4:1" + "src": "45212:4:0" } ], - "id": 2392, + "id": 1884, "name": "VariableDeclaration", - "src": "43961:12:1" + "src": "45212:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -62163,14 +62163,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2393, + "id": 1885, "name": "ElementaryTypeName", - "src": "43975:7:1" + "src": "45226:7:0" } ], - "id": 2394, + "id": 1886, "name": "VariableDeclaration", - "src": "43975:13:1" + "src": "45226:13:0" }, { "attributes": { @@ -62191,7 +62191,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62202,13 +62202,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2183, + "referencedDeclaration": 1675, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)", "value": "_tryGet" }, - "id": 2395, + "id": 1887, "name": "Identifier", - "src": "43992:7:1" + "src": "45243:7:0" }, { "attributes": { @@ -62217,7 +62217,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62226,18 +62226,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2382, + "referencedDeclaration": 1874, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2396, + "id": 1888, "name": "Identifier", - "src": "44000:3:1" + "src": "45251:3:0" } ], - "id": 2397, + "id": 1889, "name": "MemberAccess", - "src": "44000:10:1" + "src": "45251:10:0" }, { "attributes": { @@ -62273,46 +62273,46 @@ "attributes": { "name": "bytes32" }, - "id": 2398, + "id": 1890, "name": "ElementaryTypeName", - "src": "44012:7:1" + "src": "45263:7:0" } ], - "id": 2399, + "id": 1891, "name": "ElementaryTypeNameExpression", - "src": "44012:7:1" + "src": "45263:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2384, + "referencedDeclaration": 1876, "type": "uint256", "value": "key" }, - "id": 2400, + "id": 1892, "name": "Identifier", - "src": "44020:3:1" + "src": "45271:3:0" } ], - "id": 2401, + "id": 1893, "name": "FunctionCall", - "src": "44012:12:1" + "src": "45263:12:0" } ], - "id": 2402, + "id": 1894, "name": "FunctionCall", - "src": "43992:33:1" + "src": "45243:33:0" } ], - "id": 2403, + "id": 1895, "name": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "attributes": { - "functionReturnParameters": 2390 + "functionReturnParameters": 1882 }, "children": [ { @@ -62330,13 +62330,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2392, + "referencedDeclaration": 1884, "type": "bool", "value": "success" }, - "id": 2404, + "id": 1896, "name": "Identifier", - "src": "44043:7:1" + "src": "45295:7:0" }, { "attributes": { @@ -62372,14 +62372,14 @@ "attributes": { "name": "address" }, - "id": 2405, + "id": 1897, "name": "ElementaryTypeName", - "src": "44052:7:1" + "src": "45304:7:0" } ], - "id": 2406, + "id": 1898, "name": "ElementaryTypeNameExpression", - "src": "44052:7:1" + "src": "45304:7:0" }, { "attributes": { @@ -62415,14 +62415,14 @@ "attributes": { "name": "uint160" }, - "id": 2407, + "id": 1899, "name": "ElementaryTypeName", - "src": "44060:7:1" + "src": "45312:7:0" } ], - "id": 2408, + "id": 1900, "name": "ElementaryTypeNameExpression", - "src": "44060:7:1" + "src": "45312:7:0" }, { "attributes": { @@ -62458,62 +62458,62 @@ "attributes": { "name": "uint256" }, - "id": 2409, + "id": 1901, "name": "ElementaryTypeName", - "src": "44068:7:1" + "src": "45320:7:0" } ], - "id": 2410, + "id": 1902, "name": "ElementaryTypeNameExpression", - "src": "44068:7:1" + "src": "45320:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2394, + "referencedDeclaration": 1886, "type": "bytes32", "value": "value" }, - "id": 2411, + "id": 1903, "name": "Identifier", - "src": "44076:5:1" + "src": "45328:5:0" } ], - "id": 2412, + "id": 1904, "name": "FunctionCall", - "src": "44068:14:1" + "src": "45320:14:0" } ], - "id": 2413, + "id": 1905, "name": "FunctionCall", - "src": "44060:23:1" + "src": "45312:23:0" } ], - "id": 2414, + "id": 1906, "name": "FunctionCall", - "src": "44052:32:1" + "src": "45304:32:0" } ], - "id": 2415, + "id": 1907, "name": "TupleExpression", - "src": "44042:43:1" + "src": "45294:43:0" } ], - "id": 2416, + "id": 1908, "name": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ], - "id": 2417, + "id": 1909, "name": "Block", - "src": "43950:142:1" + "src": "45200:145:0" } ], - "id": 2418, + "id": 1910, "name": "FunctionDefinition", - "src": "43853:239:1" + "src": "45103:242:0" }, { "attributes": { @@ -62524,7 +62524,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62534,9 +62534,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2419, + "id": 1911, "name": "StructuredDocumentation", - "src": "44098:141:1" + "src": "45353:147:0" }, { "children": [ @@ -62545,7 +62545,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62555,24 +62555,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2420, + "id": 1912, "name": "UserDefinedTypeName", - "src": "44257:16:1" + "src": "45519:16:0" } ], - "id": 2421, + "id": 1913, "name": "VariableDeclaration", - "src": "44257:28:1" + "src": "45519:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62584,19 +62584,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2422, + "id": 1914, "name": "ElementaryTypeName", - "src": "44287:7:1" + "src": "45549:7:0" } ], - "id": 2423, + "id": 1915, "name": "VariableDeclaration", - "src": "44287:11:1" + "src": "45549:11:0" } ], - "id": 2424, + "id": 1916, "name": "ParameterList", - "src": "44256:43:1" + "src": "45518:43:0" }, { "children": [ @@ -62605,7 +62605,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62618,25 +62618,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2425, + "id": 1917, "name": "ElementaryTypeName", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2426, + "id": 1918, "name": "VariableDeclaration", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2427, + "id": 1919, "name": "ParameterList", - "src": "44322:9:1" + "src": "45584:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2427 + "functionReturnParameters": 1919 }, "children": [ { @@ -62673,14 +62673,14 @@ "attributes": { "name": "address" }, - "id": 2428, + "id": 1920, "name": "ElementaryTypeName", - "src": "44349:7:1" + "src": "45612:7:0" } ], - "id": 2429, + "id": 1921, "name": "ElementaryTypeNameExpression", - "src": "44349:7:1" + "src": "45612:7:0" }, { "attributes": { @@ -62716,14 +62716,14 @@ "attributes": { "name": "uint160" }, - "id": 2430, + "id": 1922, "name": "ElementaryTypeName", - "src": "44357:7:1" + "src": "45620:7:0" } ], - "id": 2431, + "id": 1923, "name": "ElementaryTypeNameExpression", - "src": "44357:7:1" + "src": "45620:7:0" }, { "attributes": { @@ -62759,14 +62759,14 @@ "attributes": { "name": "uint256" }, - "id": 2432, + "id": 1924, "name": "ElementaryTypeName", - "src": "44365:7:1" + "src": "45628:7:0" } ], - "id": 2433, + "id": 1925, "name": "ElementaryTypeNameExpression", - "src": "44365:7:1" + "src": "45628:7:0" }, { "attributes": { @@ -62787,7 +62787,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62796,16 +62796,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, + "referencedDeclaration": 1708, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)", "value": "_get" }, - "id": 2434, + "id": 1926, "name": "Identifier", - "src": "44373:4:1" + "src": "45636:4:0" }, { "attributes": { @@ -62814,7 +62814,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62823,18 +62823,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2421, + "referencedDeclaration": 1913, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2435, + "id": 1927, "name": "Identifier", - "src": "44378:3:1" + "src": "45641:3:0" } ], - "id": 2436, + "id": 1928, "name": "MemberAccess", - "src": "44378:10:1" + "src": "45641:10:0" }, { "attributes": { @@ -62870,67 +62870,67 @@ "attributes": { "name": "bytes32" }, - "id": 2437, + "id": 1929, "name": "ElementaryTypeName", - "src": "44390:7:1" + "src": "45653:7:0" } ], - "id": 2438, + "id": 1930, "name": "ElementaryTypeNameExpression", - "src": "44390:7:1" + "src": "45653:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2423, + "referencedDeclaration": 1915, "type": "uint256", "value": "key" }, - "id": 2439, + "id": 1931, "name": "Identifier", - "src": "44398:3:1" + "src": "45661:3:0" } ], - "id": 2440, + "id": 1932, "name": "FunctionCall", - "src": "44390:12:1" + "src": "45653:12:0" } ], - "id": 2441, + "id": 1933, "name": "FunctionCall", - "src": "44373:30:1" + "src": "45636:30:0" } ], - "id": 2442, + "id": 1934, "name": "FunctionCall", - "src": "44365:39:1" + "src": "45628:39:0" } ], - "id": 2443, + "id": 1935, "name": "FunctionCall", - "src": "44357:48:1" + "src": "45620:48:0" } ], - "id": 2444, + "id": 1936, "name": "FunctionCall", - "src": "44349:57:1" + "src": "45612:57:0" } ], - "id": 2445, + "id": 1937, "name": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ], - "id": 2446, + "id": 1938, "name": "Block", - "src": "44332:81:1" + "src": "45594:83:0" } ], - "id": 2447, + "id": 1939, "name": "FunctionDefinition", - "src": "44244:169:1" + "src": "45506:171:0" }, { "attributes": { @@ -62941,7 +62941,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62951,9 +62951,9 @@ "attributes": { "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2448, + "id": 1940, "name": "StructuredDocumentation", - "src": "44419:269:1" + "src": "45685:274:0" }, { "children": [ @@ -62962,7 +62962,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62972,24 +62972,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2449, + "id": 1941, "name": "UserDefinedTypeName", - "src": "44706:16:1" + "src": "45978:16:0" } ], - "id": 2450, + "id": 1942, "name": "VariableDeclaration", - "src": "44706:28:1" + "src": "45978:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63001,21 +63001,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2451, + "id": 1943, "name": "ElementaryTypeName", - "src": "44736:7:1" + "src": "46008:7:0" } ], - "id": 2452, + "id": 1944, "name": "VariableDeclaration", - "src": "44736:11:1" + "src": "46008:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63027,19 +63027,19 @@ "name": "string", "type": "string" }, - "id": 2453, + "id": 1945, "name": "ElementaryTypeName", - "src": "44749:6:1" + "src": "46021:6:0" } ], - "id": 2454, + "id": 1946, "name": "VariableDeclaration", - "src": "44749:26:1" + "src": "46021:26:0" } ], - "id": 2455, + "id": 1947, "name": "ParameterList", - "src": "44705:71:1" + "src": "45977:71:0" }, { "children": [ @@ -63048,7 +63048,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -63061,25 +63061,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2456, + "id": 1948, "name": "ElementaryTypeName", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2457, + "id": 1949, "name": "VariableDeclaration", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2458, + "id": 1950, "name": "ParameterList", - "src": "44799:9:1" + "src": "46071:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2458 + "functionReturnParameters": 1950 }, "children": [ { @@ -63116,14 +63116,14 @@ "attributes": { "name": "address" }, - "id": 2459, + "id": 1951, "name": "ElementaryTypeName", - "src": "44826:7:1" + "src": "46099:7:0" } ], - "id": 2460, + "id": 1952, "name": "ElementaryTypeNameExpression", - "src": "44826:7:1" + "src": "46099:7:0" }, { "attributes": { @@ -63159,14 +63159,14 @@ "attributes": { "name": "uint160" }, - "id": 2461, + "id": 1953, "name": "ElementaryTypeName", - "src": "44834:7:1" + "src": "46107:7:0" } ], - "id": 2462, + "id": 1954, "name": "ElementaryTypeNameExpression", - "src": "44834:7:1" + "src": "46107:7:0" }, { "attributes": { @@ -63202,14 +63202,14 @@ "attributes": { "name": "uint256" }, - "id": 2463, + "id": 1955, "name": "ElementaryTypeName", - "src": "44842:7:1" + "src": "46115:7:0" } ], - "id": 2464, + "id": 1956, "name": "ElementaryTypeNameExpression", - "src": "44842:7:1" + "src": "46115:7:0" }, { "attributes": { @@ -63230,7 +63230,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -63243,16 +63243,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, + "referencedDeclaration": 1743, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)", "value": "_get" }, - "id": 2465, + "id": 1957, "name": "Identifier", - "src": "44850:4:1" + "src": "46123:4:0" }, { "attributes": { @@ -63261,7 +63261,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -63270,18 +63270,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2450, + "referencedDeclaration": 1942, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2466, + "id": 1958, "name": "Identifier", - "src": "44855:3:1" + "src": "46128:3:0" } ], - "id": 2467, + "id": 1959, "name": "MemberAccess", - "src": "44855:10:1" + "src": "46128:10:0" }, { "attributes": { @@ -63317,85 +63317,85 @@ "attributes": { "name": "bytes32" }, - "id": 2468, + "id": 1960, "name": "ElementaryTypeName", - "src": "44867:7:1" + "src": "46140:7:0" } ], - "id": 2469, + "id": 1961, "name": "ElementaryTypeNameExpression", - "src": "44867:7:1" + "src": "46140:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2452, + "referencedDeclaration": 1944, "type": "uint256", "value": "key" }, - "id": 2470, + "id": 1962, "name": "Identifier", - "src": "44875:3:1" + "src": "46148:3:0" } ], - "id": 2471, + "id": 1963, "name": "FunctionCall", - "src": "44867:12:1" + "src": "46140:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2454, + "referencedDeclaration": 1946, "type": "string memory", "value": "errorMessage" }, - "id": 2472, + "id": 1964, "name": "Identifier", - "src": "44881:12:1" + "src": "46154:12:0" } ], - "id": 2473, + "id": 1965, "name": "FunctionCall", - "src": "44850:44:1" + "src": "46123:44:0" } ], - "id": 2474, + "id": 1966, "name": "FunctionCall", - "src": "44842:53:1" + "src": "46115:53:0" } ], - "id": 2475, + "id": 1967, "name": "FunctionCall", - "src": "44834:62:1" + "src": "46107:62:0" } ], - "id": 2476, + "id": 1968, "name": "FunctionCall", - "src": "44826:71:1" + "src": "46099:71:0" } ], - "id": 2477, + "id": 1969, "name": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ], - "id": 2478, + "id": 1970, "name": "Block", - "src": "44809:95:1" + "src": "46081:97:0" } ], - "id": 2479, + "id": 1971, "name": "FunctionDefinition", - "src": "44693:211:1" + "src": "45965:213:0" } ], - "id": 2480, + "id": 1972, "name": "ContractDefinition", - "src": "35943:8963:1" + "src": "36981:9200:0" }, { "attributes": { @@ -63409,9 +63409,9 @@ ".0" ] }, - "id": 2481, + "id": 1973, "name": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "attributes": { @@ -63425,19 +63425,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev String operations." }, - "id": 2482, + "id": 1974, "name": "StructuredDocumentation", - "src": "44992:34:1" + "src": "46272:36:0" }, { "attributes": { @@ -63448,7 +63448,7 @@ null ], "name": "toString", - "scope": 2566, + "scope": 2058, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -63458,9 +63458,9 @@ "attributes": { "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2483, + "id": 1975, "name": "StructuredDocumentation", - "src": "45049:82:1" + "src": "46333:84:0" }, { "children": [ @@ -63469,7 +63469,7 @@ "constant": false, "mutability": "mutable", "name": "value", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63481,19 +63481,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2484, + "id": 1976, "name": "ElementaryTypeName", - "src": "45154:7:1" + "src": "46441:7:0" } ], - "id": 2485, + "id": 1977, "name": "VariableDeclaration", - "src": "45154:13:1" + "src": "46441:13:0" } ], - "id": 2486, + "id": 1978, "name": "ParameterList", - "src": "45153:15:1" + "src": "46440:15:0" }, { "children": [ @@ -63502,7 +63502,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63514,19 +63514,19 @@ "name": "string", "type": "string" }, - "id": 2487, + "id": 1979, "name": "ElementaryTypeName", - "src": "45192:6:1" + "src": "46479:6:0" } ], - "id": 2488, + "id": 1980, "name": "VariableDeclaration", - "src": "45192:13:1" + "src": "46479:13:0" } ], - "id": 2489, + "id": 1981, "name": "ParameterList", - "src": "45191:15:1" + "src": "46478:15:0" }, { "children": [ @@ -63552,13 +63552,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2490, + "id": 1982, "name": "Identifier", - "src": "45409:5:1" + "src": "46700:5:0" }, { "attributes": { @@ -63571,20 +63571,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2491, + "id": 1983, "name": "Literal", - "src": "45418:1:1" + "src": "46709:1:0" } ], - "id": 2492, + "id": 1984, "name": "BinaryOperation", - "src": "45409:10:1" + "src": "46700:10:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -63598,29 +63598,29 @@ "type": "literal_string \"0\"", "value": "0" }, - "id": 2493, + "id": 1985, "name": "Literal", - "src": "45442:3:1" + "src": "46734:3:0" } ], - "id": 2494, + "id": 1986, "name": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ], - "id": 2495, + "id": 1987, "name": "Block", - "src": "45421:35:1" + "src": "46712:37:0" } ], - "id": 2496, + "id": 1988, "name": "IfStatement", - "src": "45405:51:1" + "src": "46696:53:0" }, { "attributes": { "assignments": [ - 2498 + 1990 ] }, "children": [ @@ -63629,7 +63629,7 @@ "constant": false, "mutability": "mutable", "name": "temp", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63641,37 +63641,37 @@ "name": "uint256", "type": "uint256" }, - "id": 2497, + "id": 1989, "name": "ElementaryTypeName", - "src": "45465:7:1" + "src": "46759:7:0" } ], - "id": 2498, + "id": 1990, "name": "VariableDeclaration", - "src": "45465:12:1" + "src": "46759:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2499, + "id": 1991, "name": "Identifier", - "src": "45480:5:1" + "src": "46774:5:0" } ], - "id": 2500, + "id": 1992, "name": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "attributes": { "assignments": [ - 2502 + 1994 ] }, "children": [ @@ -63680,7 +63680,7 @@ "constant": false, "mutability": "mutable", "name": "digits", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63692,19 +63692,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2501, + "id": 1993, "name": "ElementaryTypeName", - "src": "45495:7:1" + "src": "46790:7:0" } ], - "id": 2502, + "id": 1994, "name": "VariableDeclaration", - "src": "45495:14:1" + "src": "46790:14:0" } ], - "id": 2503, + "id": 1995, "name": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "children": [ @@ -63727,13 +63727,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2504, + "id": 1996, "name": "Identifier", - "src": "45526:4:1" + "src": "46822:4:0" }, { "attributes": { @@ -63746,14 +63746,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2505, + "id": 1997, "name": "Literal", - "src": "45534:1:1" + "src": "46830:1:0" } ], - "id": 2506, + "id": 1998, "name": "BinaryOperation", - "src": "45526:9:1" + "src": "46822:9:0" }, { "children": [ @@ -63775,23 +63775,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2507, + "id": 1999, "name": "Identifier", - "src": "45551:6:1" + "src": "46848:6:0" } ], - "id": 2508, + "id": 2000, "name": "UnaryOperation", - "src": "45551:8:1" + "src": "46848:8:0" } ], - "id": 2509, + "id": 2001, "name": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "children": [ @@ -63810,13 +63810,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2510, + "id": 2002, "name": "Identifier", - "src": "45573:4:1" + "src": "46871:4:0" }, { "attributes": { @@ -63829,34 +63829,34 @@ "type": "int_const 10", "value": "10" }, - "id": 2511, + "id": 2003, "name": "Literal", - "src": "45581:2:1" + "src": "46879:2:0" } ], - "id": 2512, + "id": 2004, "name": "Assignment", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2513, + "id": 2005, "name": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2514, + "id": 2006, "name": "Block", - "src": "45537:57:1" + "src": "46833:60:0" } ], - "id": 2515, + "id": 2007, "name": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "attributes": { "assignments": [ - 2517 + 2009 ] }, "children": [ @@ -63865,7 +63865,7 @@ "constant": false, "mutability": "mutable", "name": "buffer", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -63877,14 +63877,14 @@ "name": "bytes", "type": "bytes" }, - "id": 2516, + "id": 2008, "name": "ElementaryTypeName", - "src": "45603:5:1" + "src": "46903:5:0" } ], - "id": 2517, + "id": 2009, "name": "VariableDeclaration", - "src": "45603:19:1" + "src": "46903:19:0" }, { "attributes": { @@ -63921,42 +63921,42 @@ "name": "bytes", "type": "bytes" }, - "id": 2518, + "id": 2010, "name": "ElementaryTypeName", - "src": "45629:5:1" + "src": "46929:5:0" } ], - "id": 2519, + "id": 2011, "name": "NewExpression", - "src": "45625:9:1" + "src": "46925:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2520, + "id": 2012, "name": "Identifier", - "src": "45635:6:1" + "src": "46935:6:0" } ], - "id": 2521, + "id": 2013, "name": "FunctionCall", - "src": "45625:17:1" + "src": "46925:17:0" } ], - "id": 2522, + "id": 2014, "name": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "attributes": { "assignments": [ - 2524 + 2016 ] }, "children": [ @@ -63965,7 +63965,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63977,14 +63977,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2523, + "id": 2015, "name": "ElementaryTypeName", - "src": "45652:7:1" + "src": "46953:7:0" } ], - "id": 2524, + "id": 2016, "name": "VariableDeclaration", - "src": "45652:13:1" + "src": "46953:13:0" }, { "attributes": { @@ -64005,13 +64005,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2525, + "id": 2017, "name": "Identifier", - "src": "45668:6:1" + "src": "46969:6:0" }, { "attributes": { @@ -64024,19 +64024,19 @@ "type": "int_const 1", "value": "1" }, - "id": 2526, + "id": 2018, "name": "Literal", - "src": "45677:1:1" + "src": "46978:1:0" } ], - "id": 2527, + "id": 2019, "name": "BinaryOperation", - "src": "45668:10:1" + "src": "46969:10:0" } ], - "id": 2528, + "id": 2020, "name": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "children": [ @@ -64055,36 +64055,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2529, + "id": 2021, "name": "Identifier", - "src": "45688:4:1" + "src": "46990:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2530, + "id": 2022, "name": "Identifier", - "src": "45695:5:1" + "src": "46997:5:0" } ], - "id": 2531, + "id": 2023, "name": "Assignment", - "src": "45688:12:1" + "src": "46990:12:0" } ], - "id": 2532, + "id": 2024, "name": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "children": [ @@ -64107,13 +64107,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2533, + "id": 2025, "name": "Identifier", - "src": "45717:4:1" + "src": "47020:4:0" }, { "attributes": { @@ -64126,14 +64126,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2534, + "id": 2026, "name": "Literal", - "src": "45725:1:1" + "src": "47028:1:0" } ], - "id": 2535, + "id": 2027, "name": "BinaryOperation", - "src": "45717:9:1" + "src": "47020:9:0" }, { "children": [ @@ -64163,13 +64163,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2536, + "id": 2028, "name": "Identifier", - "src": "45742:6:1" + "src": "47046:6:0" }, { "attributes": { @@ -64187,23 +64187,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2524, + "referencedDeclaration": 2016, "type": "uint256", "value": "index" }, - "id": 2537, + "id": 2029, "name": "Identifier", - "src": "45749:5:1" + "src": "47053:5:0" } ], - "id": 2538, + "id": 2030, "name": "UnaryOperation", - "src": "45749:7:1" + "src": "47053:7:0" } ], - "id": 2539, + "id": 2031, "name": "IndexAccess", - "src": "45742:15:1" + "src": "47046:15:0" }, { "attributes": { @@ -64239,14 +64239,14 @@ "attributes": { "name": "bytes1" }, - "id": 2540, + "id": 2032, "name": "ElementaryTypeName", - "src": "45760:6:1" + "src": "47064:6:0" } ], - "id": 2541, + "id": 2033, "name": "ElementaryTypeNameExpression", - "src": "45760:6:1" + "src": "47064:6:0" }, { "attributes": { @@ -64282,14 +64282,14 @@ "attributes": { "name": "uint8" }, - "id": 2542, + "id": 2034, "name": "ElementaryTypeName", - "src": "45767:5:1" + "src": "47071:5:0" } ], - "id": 2543, + "id": 2035, "name": "ElementaryTypeNameExpression", - "src": "45767:5:1" + "src": "47071:5:0" }, { "attributes": { @@ -64316,9 +64316,9 @@ "type": "int_const 48", "value": "48" }, - "id": 2544, + "id": 2036, "name": "Literal", - "src": "45773:2:1" + "src": "47077:2:0" }, { "attributes": { @@ -64339,13 +64339,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2545, + "id": 2037, "name": "Identifier", - "src": "45778:4:1" + "src": "47082:4:0" }, { "attributes": { @@ -64358,39 +64358,39 @@ "type": "int_const 10", "value": "10" }, - "id": 2546, + "id": 2038, "name": "Literal", - "src": "45785:2:1" + "src": "47089:2:0" } ], - "id": 2547, + "id": 2039, "name": "BinaryOperation", - "src": "45778:9:1" + "src": "47082:9:0" } ], - "id": 2548, + "id": 2040, "name": "BinaryOperation", - "src": "45773:14:1" + "src": "47077:14:0" } ], - "id": 2549, + "id": 2041, "name": "FunctionCall", - "src": "45767:21:1" + "src": "47071:21:0" } ], - "id": 2550, + "id": 2042, "name": "FunctionCall", - "src": "45760:29:1" + "src": "47064:29:0" } ], - "id": 2551, + "id": 2043, "name": "Assignment", - "src": "45742:47:1" + "src": "47046:47:0" } ], - "id": 2552, + "id": 2044, "name": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "children": [ @@ -64409,13 +64409,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2553, + "id": 2045, "name": "Identifier", - "src": "45803:4:1" + "src": "47108:4:0" }, { "attributes": { @@ -64428,33 +64428,33 @@ "type": "int_const 10", "value": "10" }, - "id": 2554, + "id": 2046, "name": "Literal", - "src": "45811:2:1" + "src": "47116:2:0" } ], - "id": 2555, + "id": 2047, "name": "Assignment", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2556, + "id": 2048, "name": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2557, + "id": 2049, "name": "Block", - "src": "45728:96:1" + "src": "47031:99:0" } ], - "id": 2558, + "id": 2050, "name": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -64491,52 +64491,52 @@ "attributes": { "name": "string" }, - "id": 2559, + "id": 2051, "name": "ElementaryTypeName", - "src": "45840:6:1" + "src": "47147:6:0" } ], - "id": 2560, + "id": 2052, "name": "ElementaryTypeNameExpression", - "src": "45840:6:1" + "src": "47147:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2561, + "id": 2053, "name": "Identifier", - "src": "45847:6:1" + "src": "47154:6:0" } ], - "id": 2562, + "id": 2054, "name": "FunctionCall", - "src": "45840:14:1" + "src": "47147:14:0" } ], - "id": 2563, + "id": 2055, "name": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ], - "id": 2564, + "id": 2056, "name": "Block", - "src": "45207:654:1" + "src": "46494:675:0" } ], - "id": 2565, + "id": 2057, "name": "FunctionDefinition", - "src": "45136:725:1" + "src": "46423:746:0" } ], - "id": 2566, + "id": 2058, "name": "ContractDefinition", - "src": "45027:836:1" + "src": "46310:862:0" }, { "attributes": { @@ -64550,43 +64550,43 @@ ".0" ] }, - "id": 2567, + "id": 2059, "name": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, - "id": 2568, + "id": 2060, "name": "StructuredDocumentation", - "src": "45955:124:1" + "src": "47269:127:0" }, { "attributes": {}, @@ -64594,17 +64594,17 @@ { "attributes": { "name": "Context", - "referencedDeclaration": 530, + "referencedDeclaration": 22, "type": "contract Context" }, - "id": 2569, + "id": 2061, "name": "UserDefinedTypeName", - "src": "46099:7:1" + "src": "47417:7:0" } ], - "id": 2570, + "id": 2062, "name": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "attributes": {}, @@ -64612,17 +64612,17 @@ { "attributes": { "name": "ERC165", - "referencedDeclaration": 781, + "referencedDeclaration": 273, "type": "contract ERC165" }, - "id": 2571, + "id": 2063, "name": "UserDefinedTypeName", - "src": "46108:6:1" + "src": "47426:6:0" } ], - "id": 2572, + "id": 2064, "name": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "attributes": {}, @@ -64630,17 +64630,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 2573, + "id": 2065, "name": "UserDefinedTypeName", - "src": "46116:7:1" + "src": "47434:7:0" } ], - "id": 2574, + "id": 2066, "name": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "attributes": {}, @@ -64648,17 +64648,17 @@ { "attributes": { "name": "IERC721Metadata", - "referencedDeclaration": 680, + "referencedDeclaration": 172, "type": "contract IERC721Metadata" }, - "id": 2575, + "id": 2067, "name": "UserDefinedTypeName", - "src": "46125:15:1" + "src": "47443:15:0" } ], - "id": 2576, + "id": 2068, "name": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "attributes": {}, @@ -64666,55 +64666,55 @@ { "attributes": { "name": "IERC721Enumerable", - "referencedDeclaration": 709, + "referencedDeclaration": 201, "type": "contract IERC721Enumerable" }, - "id": 2577, + "id": 2069, "name": "UserDefinedTypeName", - "src": "46142:17:1" + "src": "47460:17:0" } ], - "id": 2578, + "id": 2070, "name": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" }, { "children": [ { "attributes": { "name": "SafeMath", - "referencedDeclaration": 1135, + "referencedDeclaration": 627, "type": "library SafeMath" }, - "id": 2579, + "id": 2071, "name": "UserDefinedTypeName", - "src": "46172:8:1" + "src": "47491:8:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2580, + "id": 2072, "name": "ElementaryTypeName", - "src": "46185:7:1" + "src": "47504:7:0" } ], - "id": 2581, + "id": 2073, "name": "UsingForDirective", - "src": "46166:27:1" + "src": "47485:27:0" }, { "children": [ { "attributes": { "name": "Address", - "referencedDeclaration": 1430, + "referencedDeclaration": 922, "type": "library Address" }, - "id": 2582, + "id": 2074, "name": "UserDefinedTypeName", - "src": "46204:7:1" + "src": "47524:7:0" }, { "attributes": { @@ -64722,101 +64722,101 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2583, + "id": 2075, "name": "ElementaryTypeName", - "src": "46216:7:1" + "src": "47536:7:0" } ], - "id": 2584, + "id": 2076, "name": "UsingForDirective", - "src": "46198:26:1" + "src": "47518:26:0" }, { "children": [ { "attributes": { "name": "EnumerableSet", - "referencedDeclaration": 1921, + "referencedDeclaration": 1413, "type": "library EnumerableSet" }, - "id": 2585, + "id": 2077, "name": "UserDefinedTypeName", - "src": "46235:13:1" + "src": "47556:13:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2586, + "id": 2078, "name": "UserDefinedTypeName", - "src": "46253:21:1" + "src": "47574:21:0" } ], - "id": 2587, + "id": 2079, "name": "UsingForDirective", - "src": "46229:46:1" + "src": "47550:46:0" }, { "children": [ { "attributes": { "name": "EnumerableMap", - "referencedDeclaration": 2480, + "referencedDeclaration": 1972, "type": "library EnumerableMap" }, - "id": 2588, + "id": 2080, "name": "UserDefinedTypeName", - "src": "46286:13:1" + "src": "47608:13:0" }, { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2589, + "id": 2081, "name": "UserDefinedTypeName", - "src": "46304:30:1" + "src": "47626:30:0" } ], - "id": 2590, + "id": 2082, "name": "UsingForDirective", - "src": "46280:55:1" + "src": "47602:55:0" }, { "children": [ { "attributes": { "name": "Strings", - "referencedDeclaration": 2566, + "referencedDeclaration": 2058, "type": "library Strings" }, - "id": 2591, + "id": 2083, "name": "UserDefinedTypeName", - "src": "46346:7:1" + "src": "47669:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2592, + "id": 2084, "name": "ElementaryTypeName", - "src": "46358:7:1" + "src": "47681:7:0" } ], - "id": 2593, + "id": 2085, "name": "UsingForDirective", - "src": "46340:26:1" + "src": "47663:26:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_ERC721_RECEIVED", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -64828,9 +64828,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2594, + "id": 2086, "name": "ElementaryTypeName", - "src": "46544:6:1" + "src": "47871:6:0" }, { "attributes": { @@ -64843,21 +64843,21 @@ "type": "int_const 353073666", "value": "0x150b7a02" }, - "id": 2595, + "id": 2087, "name": "Literal", - "src": "46587:10:1" + "src": "47914:10:0" } ], - "id": 2596, + "id": 2088, "name": "VariableDeclaration", - "src": "46544:53:1" + "src": "47871:53:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_holderTokens", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => struct EnumerableSet.UintSet)", @@ -64874,36 +64874,36 @@ "name": "address", "type": "address" }, - "id": 2597, + "id": 2089, "name": "ElementaryTypeName", - "src": "46690:7:1" + "src": "48020:7:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2598, + "id": 2090, "name": "UserDefinedTypeName", - "src": "46701:21:1" + "src": "48031:21:0" } ], - "id": 2599, + "id": 2091, "name": "Mapping", - "src": "46681:42:1" + "src": "48011:42:0" } ], - "id": 2600, + "id": 2092, "name": "VariableDeclaration", - "src": "46681:64:1" + "src": "48011:64:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenOwners", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "struct EnumerableMap.UintToAddressMap", @@ -64913,24 +64913,24 @@ { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2601, + "id": 2093, "name": "UserDefinedTypeName", - "src": "46809:30:1" + "src": "48142:30:0" } ], - "id": 2602, + "id": 2094, "name": "VariableDeclaration", - "src": "46809:51:1" + "src": "48142:51:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => address)", @@ -64947,9 +64947,9 @@ "name": "uint256", "type": "uint256" }, - "id": 2603, + "id": 2095, "name": "ElementaryTypeName", - "src": "46925:7:1" + "src": "48261:7:0" }, { "attributes": { @@ -64957,26 +64957,26 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2604, + "id": 2096, "name": "ElementaryTypeName", - "src": "46936:7:1" + "src": "48272:7:0" } ], - "id": 2605, + "id": 2097, "name": "Mapping", - "src": "46916:28:1" + "src": "48252:28:0" } ], - "id": 2606, + "id": 2098, "name": "VariableDeclaration", - "src": "46916:52:1" + "src": "48252:52:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_operatorApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => mapping(address => bool))", @@ -64993,9 +64993,9 @@ "name": "address", "type": "address" }, - "id": 2607, + "id": 2099, "name": "ElementaryTypeName", - "src": "47032:7:1" + "src": "48371:7:0" }, { "attributes": { @@ -65007,40 +65007,40 @@ "name": "address", "type": "address" }, - "id": 2608, + "id": 2100, "name": "ElementaryTypeName", - "src": "47052:7:1" + "src": "48391:7:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 2609, + "id": 2101, "name": "ElementaryTypeName", - "src": "47063:4:1" + "src": "48402:4:0" } ], - "id": 2610, + "id": 2102, "name": "Mapping", - "src": "47043:25:1" + "src": "48382:25:0" } ], - "id": 2611, + "id": 2103, "name": "Mapping", - "src": "47023:46:1" + "src": "48362:46:0" } ], - "id": 2612, + "id": 2104, "name": "VariableDeclaration", - "src": "47023:73:1" + "src": "48362:73:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_name", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65052,21 +65052,21 @@ "name": "string", "type": "string" }, - "id": 2613, + "id": 2105, "name": "ElementaryTypeName", - "src": "47121:6:1" + "src": "48463:6:0" } ], - "id": 2614, + "id": 2106, "name": "VariableDeclaration", - "src": "47121:20:1" + "src": "48463:20:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_symbol", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65078,21 +65078,21 @@ "name": "string", "type": "string" }, - "id": 2615, + "id": 2107, "name": "ElementaryTypeName", - "src": "47168:6:1" + "src": "48513:6:0" } ], - "id": 2616, + "id": 2108, "name": "VariableDeclaration", - "src": "47168:22:1" + "src": "48513:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURIs", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => string)", @@ -65109,35 +65109,35 @@ "name": "uint256", "type": "uint256" }, - "id": 2617, + "id": 2109, "name": "ElementaryTypeName", - "src": "47245:7:1" + "src": "48593:7:0" }, { "attributes": { "name": "string", "type": "string" }, - "id": 2618, + "id": 2110, "name": "ElementaryTypeName", - "src": "47256:6:1" + "src": "48604:6:0" } ], - "id": 2619, + "id": 2111, "name": "Mapping", - "src": "47236:27:1" + "src": "48584:27:0" } ], - "id": 2620, + "id": 2112, "name": "VariableDeclaration", - "src": "47236:46:1" + "src": "48584:46:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_baseURI", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65149,21 +65149,21 @@ "name": "string", "type": "string" }, - "id": 2621, + "id": 2113, "name": "ElementaryTypeName", - "src": "47305:6:1" + "src": "48656:6:0" } ], - "id": 2622, + "id": 2114, "name": "VariableDeclaration", - "src": "47305:23:1" + "src": "48656:23:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65175,9 +65175,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2623, + "id": 2115, "name": "ElementaryTypeName", - "src": "48204:6:1" + "src": "49571:6:0" }, { "attributes": { @@ -65190,21 +65190,21 @@ "type": "int_const 2158778573", "value": "0x80ac58cd" }, - "id": 2624, + "id": 2116, "name": "Literal", - "src": "48251:10:1" + "src": "49618:10:0" } ], - "id": 2625, + "id": 2117, "name": "VariableDeclaration", - "src": "48204:57:1" + "src": "49571:57:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65216,9 +65216,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2626, + "id": 2118, "name": "ElementaryTypeName", - "src": "48527:6:1" + "src": "49903:6:0" }, { "attributes": { @@ -65231,21 +65231,21 @@ "type": "int_const 1532892063", "value": "0x5b5e139f" }, - "id": 2627, + "id": 2119, "name": "Literal", - "src": "48583:10:1" + "src": "49959:10:0" } ], - "id": 2628, + "id": 2120, "name": "VariableDeclaration", - "src": "48527:66:1" + "src": "49903:66:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65257,9 +65257,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2629, + "id": 2121, "name": "ElementaryTypeName", - "src": "48898:6:1" + "src": "50283:6:0" }, { "attributes": { @@ -65272,14 +65272,14 @@ "type": "int_const 2014223715", "value": "0x780e9d63" }, - "id": 2630, + "id": 2122, "name": "Literal", - "src": "48956:10:1" + "src": "50341:10:0" } ], - "id": 2631, + "id": 2123, "name": "VariableDeclaration", - "src": "48898:68:1" + "src": "50283:68:0" }, { "attributes": { @@ -65290,7 +65290,7 @@ null ], "name": "", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -65300,9 +65300,9 @@ "attributes": { "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2632, + "id": 2124, "name": "StructuredDocumentation", - "src": "48973:108:1" + "src": "50360:110:0" }, { "children": [ @@ -65311,7 +65311,7 @@ "constant": false, "mutability": "mutable", "name": "name_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65323,21 +65323,21 @@ "name": "string", "type": "string" }, - "id": 2633, + "id": 2125, "name": "ElementaryTypeName", - "src": "49099:6:1" + "src": "50489:6:0" } ], - "id": 2634, + "id": 2126, "name": "VariableDeclaration", - "src": "49099:19:1" + "src": "50489:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "symbol_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65349,19 +65349,19 @@ "name": "string", "type": "string" }, - "id": 2635, + "id": 2127, "name": "ElementaryTypeName", - "src": "49120:6:1" + "src": "50510:6:0" } ], - "id": 2636, + "id": 2128, "name": "VariableDeclaration", - "src": "49120:21:1" + "src": "50510:21:0" } ], - "id": 2637, + "id": 2129, "name": "ParameterList", - "src": "49098:44:1" + "src": "50488:44:0" }, { "attributes": { @@ -65370,9 +65370,9 @@ ] }, "children": [], - "id": 2638, + "id": 2130, "name": "ParameterList", - "src": "49143:0:1" + "src": "50533:0:0" }, { "children": [ @@ -65393,36 +65393,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2639, + "id": 2131, "name": "Identifier", - "src": "49153:5:1" + "src": "50544:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2634, + "referencedDeclaration": 2126, "type": "string memory", "value": "name_" }, - "id": 2640, + "id": 2132, "name": "Identifier", - "src": "49161:5:1" + "src": "50552:5:0" } ], - "id": 2641, + "id": 2133, "name": "Assignment", - "src": "49153:13:1" + "src": "50544:13:0" } ], - "id": 2642, + "id": 2134, "name": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "children": [ @@ -65441,36 +65441,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2643, + "id": 2135, "name": "Identifier", - "src": "49176:7:1" + "src": "50568:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2636, + "referencedDeclaration": 2128, "type": "string memory", "value": "symbol_" }, - "id": 2644, + "id": 2136, "name": "Identifier", - "src": "49186:7:1" + "src": "50578:7:0" } ], - "id": 2645, + "id": 2137, "name": "Assignment", - "src": "49176:17:1" + "src": "50568:17:0" } ], - "id": 2646, + "id": 2138, "name": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "children": [ @@ -65500,36 +65500,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2647, + "id": 2139, "name": "Identifier", - "src": "49281:18:1" + "src": "50676:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2625, + "referencedDeclaration": 2117, "type": "bytes4", "value": "_INTERFACE_ID_ERC721" }, - "id": 2648, + "id": 2140, "name": "Identifier", - "src": "49300:20:1" + "src": "50695:20:0" } ], - "id": 2649, + "id": 2141, "name": "FunctionCall", - "src": "49281:40:1" + "src": "50676:40:0" } ], - "id": 2650, + "id": 2142, "name": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "children": [ @@ -65559,36 +65559,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2651, + "id": 2143, "name": "Identifier", - "src": "49331:18:1" + "src": "50727:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2628, + "referencedDeclaration": 2120, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_METADATA" }, - "id": 2652, + "id": 2144, "name": "Identifier", - "src": "49350:29:1" + "src": "50746:29:0" } ], - "id": 2653, + "id": 2145, "name": "FunctionCall", - "src": "49331:49:1" + "src": "50727:49:0" } ], - "id": 2654, + "id": 2146, "name": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "children": [ @@ -65618,51 +65618,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2655, + "id": 2147, "name": "Identifier", - "src": "49390:18:1" + "src": "50787:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2631, + "referencedDeclaration": 2123, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_ENUMERABLE" }, - "id": 2656, + "id": 2148, "name": "Identifier", - "src": "49409:31:1" + "src": "50806:31:0" } ], - "id": 2657, + "id": 2149, "name": "FunctionCall", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2658, + "id": 2150, "name": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2659, + "id": 2151, "name": "Block", - "src": "49143:305:1" + "src": "50533:313:0" } ], - "id": 2660, + "id": 2152, "name": "FunctionDefinition", - "src": "49086:362:1" + "src": "50476:370:0" }, { "attributes": { "baseFunctions": [ - 580 + 72 ], "functionSelector": "70a08231", "implemented": true, @@ -65672,7 +65672,7 @@ null ], "name": "balanceOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -65682,9 +65682,9 @@ "attributes": { "text": " @dev See {IERC721-balanceOf}." }, - "id": 2661, + "id": 2153, "name": "StructuredDocumentation", - "src": "49454:48:1" + "src": "50854:50:0" }, { "attributes": { @@ -65692,9 +65692,9 @@ null ] }, - "id": 2665, + "id": 2157, "name": "OverrideSpecifier", - "src": "49561:8:1" + "src": "50964:8:0" }, { "children": [ @@ -65703,7 +65703,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -65716,19 +65716,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2662, + "id": 2154, "name": "ElementaryTypeName", - "src": "49526:7:1" + "src": "50929:7:0" } ], - "id": 2663, + "id": 2155, "name": "VariableDeclaration", - "src": "49526:13:1" + "src": "50929:13:0" } ], - "id": 2664, + "id": 2156, "name": "ParameterList", - "src": "49525:15:1" + "src": "50928:15:0" }, { "children": [ @@ -65737,7 +65737,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -65749,19 +65749,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2666, + "id": 2158, "name": "ElementaryTypeName", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2667, + "id": 2159, "name": "VariableDeclaration", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2668, + "id": 2160, "name": "ParameterList", - "src": "49578:9:1" + "src": "50981:9:0" }, { "children": [ @@ -65802,9 +65802,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2669, + "id": 2161, "name": "Identifier", - "src": "49598:7:1" + "src": "51002:7:0" }, { "attributes": { @@ -65825,13 +65825,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2670, + "id": 2162, "name": "Identifier", - "src": "49606:5:1" + "src": "51010:5:0" }, { "attributes": { @@ -65867,14 +65867,14 @@ "attributes": { "name": "address" }, - "id": 2671, + "id": 2163, "name": "ElementaryTypeName", - "src": "49615:7:1" + "src": "51019:7:0" } ], - "id": 2672, + "id": 2164, "name": "ElementaryTypeNameExpression", - "src": "49615:7:1" + "src": "51019:7:0" }, { "attributes": { @@ -65887,19 +65887,19 @@ "type": "int_const 0", "value": "0" }, - "id": 2673, + "id": 2165, "name": "Literal", - "src": "49623:1:1" + "src": "51027:1:0" } ], - "id": 2674, + "id": 2166, "name": "FunctionCall", - "src": "49615:10:1" + "src": "51019:10:0" } ], - "id": 2675, + "id": 2167, "name": "BinaryOperation", - "src": "49606:19:1" + "src": "51010:19:0" }, { "attributes": { @@ -65912,23 +65912,23 @@ "type": "literal_string \"ERC721: balance query for the zero address\"", "value": "ERC721: balance query for the zero address" }, - "id": 2676, + "id": 2168, "name": "Literal", - "src": "49627:44:1" + "src": "51031:44:0" } ], - "id": 2677, + "id": 2169, "name": "FunctionCall", - "src": "49598:74:1" + "src": "51002:74:0" } ], - "id": 2678, + "id": 2170, "name": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "attributes": { - "functionReturnParameters": 2668 + "functionReturnParameters": 2160 }, "children": [ { @@ -65959,7 +65959,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 1900, + "referencedDeclaration": 1392, "type": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" }, "children": [ @@ -65977,61 +65977,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2679, + "id": 2171, "name": "Identifier", - "src": "49689:13:1" + "src": "51094:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2680, + "id": 2172, "name": "Identifier", - "src": "49703:5:1" + "src": "51108:5:0" } ], - "id": 2681, + "id": 2173, "name": "IndexAccess", - "src": "49689:20:1" + "src": "51094:20:0" } ], - "id": 2682, + "id": 2174, "name": "MemberAccess", - "src": "49689:27:1" + "src": "51094:27:0" } ], - "id": 2683, + "id": 2175, "name": "FunctionCall", - "src": "49689:29:1" + "src": "51094:29:0" } ], - "id": 2684, + "id": 2176, "name": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ], - "id": 2685, + "id": 2177, "name": "Block", - "src": "49588:137:1" + "src": "50991:140:0" } ], - "id": 2686, + "id": 2178, "name": "FunctionDefinition", - "src": "49507:218:1" + "src": "50910:221:0" }, { "attributes": { "baseFunctions": [ - 588 + 80 ], "functionSelector": "6352211e", "implemented": true, @@ -66041,7 +66041,7 @@ null ], "name": "ownerOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66051,9 +66051,9 @@ "attributes": { "text": " @dev See {IERC721-ownerOf}." }, - "id": 2687, + "id": 2179, "name": "StructuredDocumentation", - "src": "49731:46:1" + "src": "51139:48:0" }, { "attributes": { @@ -66061,9 +66061,9 @@ null ] }, - "id": 2691, + "id": 2183, "name": "OverrideSpecifier", - "src": "49836:8:1" + "src": "51247:8:0" }, { "children": [ @@ -66072,7 +66072,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66084,19 +66084,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2688, + "id": 2180, "name": "ElementaryTypeName", - "src": "49799:7:1" + "src": "51210:7:0" } ], - "id": 2689, + "id": 2181, "name": "VariableDeclaration", - "src": "49799:15:1" + "src": "51210:15:0" } ], - "id": 2690, + "id": 2182, "name": "ParameterList", - "src": "49798:17:1" + "src": "51209:17:0" }, { "children": [ @@ -66105,7 +66105,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -66118,25 +66118,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2692, + "id": 2184, "name": "ElementaryTypeName", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2693, + "id": 2185, "name": "VariableDeclaration", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2694, + "id": 2186, "name": "ParameterList", - "src": "49853:9:1" + "src": "51264:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2694 + "functionReturnParameters": 2186 }, "children": [ { @@ -66171,7 +66171,7 @@ "isPure": false, "lValueRequested": false, "member_name": "get", - "referencedDeclaration": 2479, + "referencedDeclaration": 1971, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" }, "children": [ @@ -66180,31 +66180,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2695, + "id": 2187, "name": "Identifier", - "src": "49880:12:1" + "src": "51292:12:0" } ], - "id": 2696, + "id": 2188, "name": "MemberAccess", - "src": "49880:16:1" + "src": "51292:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2689, + "referencedDeclaration": 2181, "type": "uint256", "value": "tokenId" }, - "id": 2697, + "id": 2189, "name": "Identifier", - "src": "49897:7:1" + "src": "51309:7:0" }, { "attributes": { @@ -66217,34 +66217,34 @@ "type": "literal_string \"ERC721: owner query for nonexistent token\"", "value": "ERC721: owner query for nonexistent token" }, - "id": 2698, + "id": 2190, "name": "Literal", - "src": "49906:43:1" + "src": "51318:43:0" } ], - "id": 2699, + "id": 2191, "name": "FunctionCall", - "src": "49880:70:1" + "src": "51292:70:0" } ], - "id": 2700, + "id": 2192, "name": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ], - "id": 2701, + "id": 2193, "name": "Block", - "src": "49863:94:1" + "src": "51274:96:0" } ], - "id": 2702, + "id": 2194, "name": "FunctionDefinition", - "src": "49782:175:1" + "src": "51193:177:0" }, { "attributes": { "baseFunctions": [ - 665 + 157 ], "functionSelector": "06fdde03", "implemented": true, @@ -66254,7 +66254,7 @@ null ], "name": "name", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66264,9 +66264,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-name}." }, - "id": 2703, + "id": 2195, "name": "StructuredDocumentation", - "src": "49963:51:1" + "src": "51378:53:0" }, { "attributes": { @@ -66274,9 +66274,9 @@ null ] }, - "id": 2705, + "id": 2197, "name": "OverrideSpecifier", - "src": "50055:8:1" + "src": "51473:8:0" }, { "attributes": { @@ -66285,9 +66285,9 @@ ] }, "children": [], - "id": 2704, + "id": 2196, "name": "ParameterList", - "src": "50032:2:1" + "src": "51450:2:0" }, { "children": [ @@ -66296,7 +66296,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2712, + "scope": 2204, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66308,25 +66308,25 @@ "name": "string", "type": "string" }, - "id": 2706, + "id": 2198, "name": "ElementaryTypeName", - "src": "50073:6:1" + "src": "51491:6:0" } ], - "id": 2707, + "id": 2199, "name": "VariableDeclaration", - "src": "50073:13:1" + "src": "51491:13:0" } ], - "id": 2708, + "id": 2200, "name": "ParameterList", - "src": "50072:15:1" + "src": "51490:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2708 + "functionReturnParameters": 2200 }, "children": [ { @@ -66334,33 +66334,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2709, + "id": 2201, "name": "Identifier", - "src": "50105:5:1" + "src": "51524:5:0" } ], - "id": 2710, + "id": 2202, "name": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ], - "id": 2711, + "id": 2203, "name": "Block", - "src": "50088:29:1" + "src": "51506:31:0" } ], - "id": 2712, + "id": 2204, "name": "FunctionDefinition", - "src": "50019:98:1" + "src": "51437:100:0" }, { "attributes": { "baseFunctions": [ - 671 + 163 ], "functionSelector": "95d89b41", "implemented": true, @@ -66370,7 +66370,7 @@ null ], "name": "symbol", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66380,9 +66380,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-symbol}." }, - "id": 2713, + "id": 2205, "name": "StructuredDocumentation", - "src": "50123:53:1" + "src": "51545:55:0" }, { "attributes": { @@ -66390,9 +66390,9 @@ null ] }, - "id": 2715, + "id": 2207, "name": "OverrideSpecifier", - "src": "50219:8:1" + "src": "51644:8:0" }, { "attributes": { @@ -66401,9 +66401,9 @@ ] }, "children": [], - "id": 2714, + "id": 2206, "name": "ParameterList", - "src": "50196:2:1" + "src": "51621:2:0" }, { "children": [ @@ -66412,7 +66412,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2722, + "scope": 2214, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66424,25 +66424,25 @@ "name": "string", "type": "string" }, - "id": 2716, + "id": 2208, "name": "ElementaryTypeName", - "src": "50237:6:1" + "src": "51662:6:0" } ], - "id": 2717, + "id": 2209, "name": "VariableDeclaration", - "src": "50237:13:1" + "src": "51662:13:0" } ], - "id": 2718, + "id": 2210, "name": "ParameterList", - "src": "50236:15:1" + "src": "51661:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2718 + "functionReturnParameters": 2210 }, "children": [ { @@ -66450,33 +66450,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2719, + "id": 2211, "name": "Identifier", - "src": "50269:7:1" + "src": "51695:7:0" } ], - "id": 2720, + "id": 2212, "name": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ], - "id": 2721, + "id": 2213, "name": "Block", - "src": "50252:31:1" + "src": "51677:33:0" } ], - "id": 2722, + "id": 2214, "name": "FunctionDefinition", - "src": "50181:102:1" + "src": "51606:104:0" }, { "attributes": { "baseFunctions": [ - 679 + 171 ], "functionSelector": "c87b56dd", "implemented": true, @@ -66486,7 +66486,7 @@ null ], "name": "tokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66496,9 +66496,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-tokenURI}." }, - "id": 2723, + "id": 2215, "name": "StructuredDocumentation", - "src": "50289:55:1" + "src": "51718:57:0" }, { "attributes": { @@ -66506,9 +66506,9 @@ null ] }, - "id": 2727, + "id": 2219, "name": "OverrideSpecifier", - "src": "50404:8:1" + "src": "51836:8:0" }, { "children": [ @@ -66517,7 +66517,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66529,19 +66529,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2724, + "id": 2216, "name": "ElementaryTypeName", - "src": "50367:7:1" + "src": "51799:7:0" } ], - "id": 2725, + "id": 2217, "name": "VariableDeclaration", - "src": "50367:15:1" + "src": "51799:15:0" } ], - "id": 2726, + "id": 2218, "name": "ParameterList", - "src": "50366:17:1" + "src": "51798:17:0" }, { "children": [ @@ -66550,7 +66550,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66562,19 +66562,19 @@ "name": "string", "type": "string" }, - "id": 2728, + "id": 2220, "name": "ElementaryTypeName", - "src": "50422:6:1" + "src": "51854:6:0" } ], - "id": 2729, + "id": 2221, "name": "VariableDeclaration", - "src": "50422:13:1" + "src": "51854:13:0" } ], - "id": 2730, + "id": 2222, "name": "ParameterList", - "src": "50421:15:1" + "src": "51853:15:0" }, { "children": [ @@ -66615,9 +66615,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2731, + "id": 2223, "name": "Identifier", - "src": "50447:7:1" + "src": "51880:7:0" }, { "attributes": { @@ -66645,31 +66645,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2732, + "id": 2224, "name": "Identifier", - "src": "50455:7:1" + "src": "51888:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2733, + "id": 2225, "name": "Identifier", - "src": "50463:7:1" + "src": "51896:7:0" } ], - "id": 2734, + "id": 2226, "name": "FunctionCall", - "src": "50455:16:1" + "src": "51888:16:0" }, { "attributes": { @@ -66682,24 +66682,24 @@ "type": "literal_string \"ERC721Metadata: URI query for nonexistent token\"", "value": "ERC721Metadata: URI query for nonexistent token" }, - "id": 2735, + "id": 2227, "name": "Literal", - "src": "50473:49:1" + "src": "51906:49:0" } ], - "id": 2736, + "id": 2228, "name": "FunctionCall", - "src": "50447:76:1" + "src": "51880:76:0" } ], - "id": 2737, + "id": 2229, "name": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "attributes": { "assignments": [ - 2739 + 2231 ] }, "children": [ @@ -66708,7 +66708,7 @@ "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66720,14 +66720,14 @@ "name": "string", "type": "string" }, - "id": 2738, + "id": 2230, "name": "ElementaryTypeName", - "src": "50534:6:1" + "src": "51969:6:0" } ], - "id": 2739, + "id": 2231, "name": "VariableDeclaration", - "src": "50534:23:1" + "src": "51969:23:0" }, { "attributes": { @@ -66743,41 +66743,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 2740, + "id": 2232, "name": "Identifier", - "src": "50560:10:1" + "src": "51995:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2741, + "id": 2233, "name": "Identifier", - "src": "50571:7:1" + "src": "52006:7:0" } ], - "id": 2742, + "id": 2234, "name": "IndexAccess", - "src": "50560:19:1" + "src": "51995:19:0" } ], - "id": 2743, + "id": 2235, "name": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "attributes": { "assignments": [ - 2745 + 2237 ] }, "children": [ @@ -66786,7 +66786,7 @@ "constant": false, "mutability": "mutable", "name": "base", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66798,14 +66798,14 @@ "name": "string", "type": "string" }, - "id": 2744, + "id": 2236, "name": "ElementaryTypeName", - "src": "50589:6:1" + "src": "52025:6:0" } ], - "id": 2745, + "id": 2237, "name": "VariableDeclaration", - "src": "50589:18:1" + "src": "52025:18:0" }, { "attributes": { @@ -66833,23 +66833,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2799, + "referencedDeclaration": 2291, "type": "function () view returns (string memory)", "value": "baseURI" }, - "id": 2746, + "id": 2238, "name": "Identifier", - "src": "50610:7:1" + "src": "52046:7:0" } ], - "id": 2747, + "id": 2239, "name": "FunctionCall", - "src": "50610:9:1" + "src": "52046:9:0" } ], - "id": 2748, + "id": 2240, "name": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "attributes": {}, @@ -66912,37 +66912,37 @@ "attributes": { "name": "bytes" }, - "id": 2749, + "id": 2241, "name": "ElementaryTypeName", - "src": "50692:5:1" + "src": "52131:5:0" } ], - "id": 2750, + "id": 2242, "name": "ElementaryTypeNameExpression", - "src": "50692:5:1" + "src": "52131:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2751, + "id": 2243, "name": "Identifier", - "src": "50698:4:1" + "src": "52137:4:0" } ], - "id": 2752, + "id": 2244, "name": "FunctionCall", - "src": "50692:11:1" + "src": "52131:11:0" } ], - "id": 2753, + "id": 2245, "name": "MemberAccess", - "src": "50692:18:1" + "src": "52131:18:0" }, { "attributes": { @@ -66955,20 +66955,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2754, + "id": 2246, "name": "Literal", - "src": "50714:1:1" + "src": "52153:1:0" } ], - "id": 2755, + "id": 2247, "name": "BinaryOperation", - "src": "50692:23:1" + "src": "52131:23:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -66976,28 +66976,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2756, + "id": 2248, "name": "Identifier", - "src": "50738:9:1" + "src": "52178:9:0" } ], - "id": 2757, + "id": 2249, "name": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ], - "id": 2758, + "id": 2250, "name": "Block", - "src": "50717:41:1" + "src": "52156:43:0" } ], - "id": 2759, + "id": 2251, "name": "IfStatement", - "src": "50688:70:1" + "src": "52127:72:0" }, { "attributes": {}, @@ -67060,37 +67060,37 @@ "attributes": { "name": "bytes" }, - "id": 2760, + "id": 2252, "name": "ElementaryTypeName", - "src": "50860:5:1" + "src": "52303:5:0" } ], - "id": 2761, + "id": 2253, "name": "ElementaryTypeNameExpression", - "src": "50860:5:1" + "src": "52303:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2762, + "id": 2254, "name": "Identifier", - "src": "50866:9:1" + "src": "52309:9:0" } ], - "id": 2763, + "id": 2255, "name": "FunctionCall", - "src": "50860:16:1" + "src": "52303:16:0" } ], - "id": 2764, + "id": 2256, "name": "MemberAccess", - "src": "50860:23:1" + "src": "52303:23:0" }, { "attributes": { @@ -67103,20 +67103,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2765, + "id": 2257, "name": "Literal", - "src": "50886:1:1" + "src": "52329:1:0" } ], - "id": 2766, + "id": 2258, "name": "BinaryOperation", - "src": "50860:27:1" + "src": "52303:27:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67153,14 +67153,14 @@ "attributes": { "name": "string" }, - "id": 2767, + "id": 2259, "name": "ElementaryTypeName", - "src": "50910:6:1" + "src": "52354:6:0" } ], - "id": 2768, + "id": 2260, "name": "ElementaryTypeNameExpression", - "src": "50910:6:1" + "src": "52354:6:0" }, { "attributes": { @@ -67206,69 +67206,69 @@ "type": "abi", "value": "abi" }, - "id": 2769, + "id": 2261, "name": "Identifier", - "src": "50917:3:1" + "src": "52361:3:0" } ], - "id": 2770, + "id": 2262, "name": "MemberAccess", - "src": "50917:16:1" + "src": "52361:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2771, + "id": 2263, "name": "Identifier", - "src": "50934:4:1" + "src": "52378:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2772, + "id": 2264, "name": "Identifier", - "src": "50940:9:1" + "src": "52384:9:0" } ], - "id": 2773, + "id": 2265, "name": "FunctionCall", - "src": "50917:33:1" + "src": "52361:33:0" } ], - "id": 2774, + "id": 2266, "name": "FunctionCall", - "src": "50910:41:1" + "src": "52354:41:0" } ], - "id": 2775, + "id": 2267, "name": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ], - "id": 2776, + "id": 2268, "name": "Block", - "src": "50889:73:1" + "src": "52332:75:0" } ], - "id": 2777, + "id": 2269, "name": "IfStatement", - "src": "50856:106:1" + "src": "52299:108:0" }, { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67305,14 +67305,14 @@ "attributes": { "name": "string" }, - "id": 2778, + "id": 2270, "name": "ElementaryTypeName", - "src": "51068:6:1" + "src": "52515:6:0" } ], - "id": 2779, + "id": 2271, "name": "ElementaryTypeNameExpression", - "src": "51068:6:1" + "src": "52515:6:0" }, { "attributes": { @@ -67358,27 +67358,27 @@ "type": "abi", "value": "abi" }, - "id": 2780, + "id": 2272, "name": "Identifier", - "src": "51075:3:1" + "src": "52522:3:0" } ], - "id": 2781, + "id": 2273, "name": "MemberAccess", - "src": "51075:16:1" + "src": "52522:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2782, + "id": 2274, "name": "Identifier", - "src": "51092:4:1" + "src": "52539:4:0" }, { "attributes": { @@ -67408,7 +67408,7 @@ "isPure": false, "lValueRequested": false, "member_name": "toString", - "referencedDeclaration": 2565, + "referencedDeclaration": 2057, "type": "function (uint256) pure returns (string memory)" }, "children": [ @@ -67417,48 +67417,48 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2783, + "id": 2275, "name": "Identifier", - "src": "51098:7:1" + "src": "52545:7:0" } ], - "id": 2784, + "id": 2276, "name": "MemberAccess", - "src": "51098:16:1" + "src": "52545:16:0" } ], - "id": 2785, + "id": 2277, "name": "FunctionCall", - "src": "51098:18:1" + "src": "52545:18:0" } ], - "id": 2786, + "id": 2278, "name": "FunctionCall", - "src": "51075:42:1" + "src": "52522:42:0" } ], - "id": 2787, + "id": 2279, "name": "FunctionCall", - "src": "51068:50:1" + "src": "52515:50:0" } ], - "id": 2788, + "id": 2280, "name": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ], - "id": 2789, + "id": 2281, "name": "Block", - "src": "50437:688:1" + "src": "51869:704:0" } ], - "id": 2790, + "id": 2282, "name": "FunctionDefinition", - "src": "50349:776:1" + "src": "51781:792:0" }, { "attributes": { @@ -67470,7 +67470,7 @@ null ], "name": "baseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67480,9 +67480,9 @@ "attributes": { "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, - "id": 2791, + "id": 2283, "name": "StructuredDocumentation", - "src": "51131:221:1" + "src": "52581:225:0" }, { "attributes": { @@ -67491,9 +67491,9 @@ ] }, "children": [], - "id": 2792, + "id": 2284, "name": "ParameterList", - "src": "51373:2:1" + "src": "52828:2:0" }, { "children": [ @@ -67502,7 +67502,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2799, + "scope": 2291, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -67514,25 +67514,25 @@ "name": "string", "type": "string" }, - "id": 2793, + "id": 2285, "name": "ElementaryTypeName", - "src": "51405:6:1" + "src": "52860:6:0" } ], - "id": 2794, + "id": 2286, "name": "VariableDeclaration", - "src": "51405:13:1" + "src": "52860:13:0" } ], - "id": 2795, + "id": 2287, "name": "ParameterList", - "src": "51404:15:1" + "src": "52859:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2795 + "functionReturnParameters": 2287 }, "children": [ { @@ -67540,33 +67540,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 2796, + "id": 2288, "name": "Identifier", - "src": "51437:8:1" + "src": "52893:8:0" } ], - "id": 2797, + "id": 2289, "name": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ], - "id": 2798, + "id": 2290, "name": "Block", - "src": "51420:32:1" + "src": "52875:34:0" } ], - "id": 2799, + "id": 2291, "name": "FunctionDefinition", - "src": "51357:95:1" + "src": "52812:97:0" }, { "attributes": { "baseFunctions": [ - 700 + 192 ], "functionSelector": "2f745c59", "implemented": true, @@ -67576,7 +67576,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67586,9 +67586,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, - "id": 2800, + "id": 2292, "name": "StructuredDocumentation", - "src": "51458:68:1" + "src": "52917:70:0" }, { "attributes": { @@ -67596,9 +67596,9 @@ null ] }, - "id": 2806, + "id": 2298, "name": "OverrideSpecifier", - "src": "51610:8:1" + "src": "53072:8:0" }, { "children": [ @@ -67607,7 +67607,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -67620,21 +67620,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2801, + "id": 2293, "name": "ElementaryTypeName", - "src": "51560:7:1" + "src": "53022:7:0" } ], - "id": 2802, + "id": 2294, "name": "VariableDeclaration", - "src": "51560:13:1" + "src": "53022:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67646,19 +67646,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2803, + "id": 2295, "name": "ElementaryTypeName", - "src": "51575:7:1" + "src": "53037:7:0" } ], - "id": 2804, + "id": 2296, "name": "VariableDeclaration", - "src": "51575:13:1" + "src": "53037:13:0" } ], - "id": 2805, + "id": 2297, "name": "ParameterList", - "src": "51559:30:1" + "src": "53021:30:0" }, { "children": [ @@ -67667,7 +67667,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67679,25 +67679,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2807, + "id": 2299, "name": "ElementaryTypeName", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2808, + "id": 2300, "name": "VariableDeclaration", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2809, + "id": 2301, "name": "ParameterList", - "src": "51627:9:1" + "src": "53089:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2809 + "functionReturnParameters": 2301 }, "children": [ { @@ -67728,7 +67728,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 1920, + "referencedDeclaration": 1412, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" }, "children": [ @@ -67746,74 +67746,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2810, + "id": 2302, "name": "Identifier", - "src": "51654:13:1" + "src": "53117:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2802, + "referencedDeclaration": 2294, "type": "address", "value": "owner" }, - "id": 2811, + "id": 2303, "name": "Identifier", - "src": "51668:5:1" + "src": "53131:5:0" } ], - "id": 2812, + "id": 2304, "name": "IndexAccess", - "src": "51654:20:1" + "src": "53117:20:0" } ], - "id": 2813, + "id": 2305, "name": "MemberAccess", - "src": "51654:23:1" + "src": "53117:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2804, + "referencedDeclaration": 2296, "type": "uint256", "value": "index" }, - "id": 2814, + "id": 2306, "name": "Identifier", - "src": "51678:5:1" + "src": "53141:5:0" } ], - "id": 2815, + "id": 2307, "name": "FunctionCall", - "src": "51654:30:1" + "src": "53117:30:0" } ], - "id": 2816, + "id": 2308, "name": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ], - "id": 2817, + "id": 2309, "name": "Block", - "src": "51637:54:1" + "src": "53099:56:0" } ], - "id": 2818, + "id": 2310, "name": "FunctionDefinition", - "src": "51531:160:1" + "src": "52993:162:0" }, { "attributes": { "baseFunctions": [ - 690 + 182 ], "functionSelector": "18160ddd", "implemented": true, @@ -67823,7 +67823,7 @@ null ], "name": "totalSupply", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67833,9 +67833,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-totalSupply}." }, - "id": 2819, + "id": 2311, "name": "StructuredDocumentation", - "src": "51697:60:1" + "src": "53163:62:0" }, { "attributes": { @@ -67843,9 +67843,9 @@ null ] }, - "id": 2821, + "id": 2313, "name": "OverrideSpecifier", - "src": "51805:8:1" + "src": "53274:8:0" }, { "attributes": { @@ -67854,9 +67854,9 @@ ] }, "children": [], - "id": 2820, + "id": 2312, "name": "ParameterList", - "src": "51782:2:1" + "src": "53251:2:0" }, { "children": [ @@ -67865,7 +67865,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2830, + "scope": 2322, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67877,25 +67877,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2822, + "id": 2314, "name": "ElementaryTypeName", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2823, + "id": 2315, "name": "VariableDeclaration", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2824, + "id": 2316, "name": "ParameterList", - "src": "51822:9:1" + "src": "53291:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2824 + "functionReturnParameters": 2316 }, "children": [ { @@ -67926,7 +67926,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 2340, + "referencedDeclaration": 1832, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" }, "children": [ @@ -67935,43 +67935,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2825, + "id": 2317, "name": "Identifier", - "src": "51942:12:1" + "src": "53413:12:0" } ], - "id": 2826, + "id": 2318, "name": "MemberAccess", - "src": "51942:19:1" + "src": "53413:19:0" } ], - "id": 2827, + "id": 2319, "name": "FunctionCall", - "src": "51942:21:1" + "src": "53413:21:0" } ], - "id": 2828, + "id": 2320, "name": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ], - "id": 2829, + "id": 2321, "name": "Block", - "src": "51832:138:1" + "src": "53301:141:0" } ], - "id": 2830, + "id": 2322, "name": "FunctionDefinition", - "src": "51762:208:1" + "src": "53231:211:0" }, { "attributes": { "baseFunctions": [ - 708 + 200 ], "functionSelector": "4f6ccce7", "implemented": true, @@ -67981,7 +67981,7 @@ null ], "name": "tokenByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67991,9 +67991,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, - "id": 2831, + "id": 2323, "name": "StructuredDocumentation", - "src": "51976:61:1" + "src": "53450:63:0" }, { "attributes": { @@ -68001,9 +68001,9 @@ null ] }, - "id": 2835, + "id": 2327, "name": "OverrideSpecifier", - "src": "52099:8:1" + "src": "53576:8:0" }, { "children": [ @@ -68012,7 +68012,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68024,19 +68024,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2832, + "id": 2324, "name": "ElementaryTypeName", - "src": "52064:7:1" + "src": "53541:7:0" } ], - "id": 2833, + "id": 2325, "name": "VariableDeclaration", - "src": "52064:13:1" + "src": "53541:13:0" } ], - "id": 2834, + "id": 2326, "name": "ParameterList", - "src": "52063:15:1" + "src": "53540:15:0" }, { "children": [ @@ -68045,7 +68045,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68057,26 +68057,26 @@ "name": "uint256", "type": "uint256" }, - "id": 2836, + "id": 2328, "name": "ElementaryTypeName", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2837, + "id": 2329, "name": "VariableDeclaration", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2838, + "id": 2330, "name": "ParameterList", - "src": "52116:9:1" + "src": "53593:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2840, + 2332, null ] }, @@ -68086,7 +68086,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2848, + "scope": 2340, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68098,14 +68098,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2839, + "id": 2331, "name": "ElementaryTypeName", - "src": "52137:7:1" + "src": "53615:7:0" } ], - "id": 2840, + "id": 2332, "name": "VariableDeclaration", - "src": "52137:15:1" + "src": "53615:15:0" }, { "attributes": { @@ -68135,7 +68135,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 2379, + "referencedDeclaration": 1871, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" }, "children": [ @@ -68144,45 +68144,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2841, + "id": 2333, "name": "Identifier", - "src": "52158:12:1" + "src": "53636:12:0" } ], - "id": 2842, + "id": 2334, "name": "MemberAccess", - "src": "52158:15:1" + "src": "53636:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2833, + "referencedDeclaration": 2325, "type": "uint256", "value": "index" }, - "id": 2843, + "id": 2335, "name": "Identifier", - "src": "52174:5:1" + "src": "53652:5:0" } ], - "id": 2844, + "id": 2336, "name": "FunctionCall", - "src": "52158:22:1" + "src": "53636:22:0" } ], - "id": 2845, + "id": 2337, "name": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "attributes": { - "functionReturnParameters": 2838 + "functionReturnParameters": 2330 }, "children": [ { @@ -68190,33 +68190,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2840, + "referencedDeclaration": 2332, "type": "uint256", "value": "tokenId" }, - "id": 2846, + "id": 2338, "name": "Identifier", - "src": "52197:7:1" + "src": "53676:7:0" } ], - "id": 2847, + "id": 2339, "name": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ], - "id": 2848, + "id": 2340, "name": "Block", - "src": "52126:85:1" + "src": "53603:88:0" } ], - "id": 2849, + "id": 2341, "name": "FunctionDefinition", - "src": "52042:169:1" + "src": "53519:172:0" }, { "attributes": { "baseFunctions": [ - 616 + 108 ], "functionSelector": "095ea7b3", "implemented": true, @@ -68226,7 +68226,7 @@ null ], "name": "approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -68236,9 +68236,9 @@ "attributes": { "text": " @dev See {IERC721-approve}." }, - "id": 2850, + "id": 2342, "name": "StructuredDocumentation", - "src": "52217:46:1" + "src": "53699:48:0" }, { "attributes": { @@ -68246,9 +68246,9 @@ null ] }, - "id": 2856, + "id": 2348, "name": "OverrideSpecifier", - "src": "52329:8:1" + "src": "53814:8:0" }, { "children": [ @@ -68257,7 +68257,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68270,21 +68270,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2851, + "id": 2343, "name": "ElementaryTypeName", - "src": "52285:7:1" + "src": "53770:7:0" } ], - "id": 2852, + "id": 2344, "name": "VariableDeclaration", - "src": "52285:10:1" + "src": "53770:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68296,19 +68296,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2853, + "id": 2345, "name": "ElementaryTypeName", - "src": "52297:7:1" + "src": "53782:7:0" } ], - "id": 2854, + "id": 2346, "name": "VariableDeclaration", - "src": "52297:15:1" + "src": "53782:15:0" } ], - "id": 2855, + "id": 2347, "name": "ParameterList", - "src": "52284:29:1" + "src": "53769:29:0" }, { "attributes": { @@ -68317,16 +68317,16 @@ ] }, "children": [], - "id": 2857, + "id": 2349, "name": "ParameterList", - "src": "52338:0:1" + "src": "53823:0:0" }, { "children": [ { "attributes": { "assignments": [ - 2859 + 2351 ] }, "children": [ @@ -68335,7 +68335,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2892, + "scope": 2384, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68348,14 +68348,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2858, + "id": 2350, "name": "ElementaryTypeName", - "src": "52348:7:1" + "src": "53834:7:0" } ], - "id": 2859, + "id": 2351, "name": "VariableDeclaration", - "src": "52348:13:1" + "src": "53834:13:0" }, { "attributes": { @@ -68385,7 +68385,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -68394,41 +68394,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2860, + "id": 2352, "name": "Identifier", - "src": "52364:6:1" + "src": "53850:6:0" } ], - "id": 2861, + "id": 2353, "name": "MemberAccess", - "src": "52364:14:1" + "src": "53850:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2862, + "id": 2354, "name": "Identifier", - "src": "52379:7:1" + "src": "53865:7:0" } ], - "id": 2863, + "id": 2355, "name": "FunctionCall", - "src": "52364:23:1" + "src": "53850:23:0" } ], - "id": 2864, + "id": 2356, "name": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "children": [ @@ -68467,9 +68467,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2865, + "id": 2357, "name": "Identifier", - "src": "52397:7:1" + "src": "53884:7:0" }, { "attributes": { @@ -68490,31 +68490,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2866, + "id": 2358, "name": "Identifier", - "src": "52405:2:1" + "src": "53892:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2867, + "id": 2359, "name": "Identifier", - "src": "52411:5:1" + "src": "53898:5:0" } ], - "id": 2868, + "id": 2360, "name": "BinaryOperation", - "src": "52405:11:1" + "src": "53892:11:0" }, { "attributes": { @@ -68527,19 +68527,19 @@ "type": "literal_string \"ERC721: approval to current owner\"", "value": "ERC721: approval to current owner" }, - "id": 2869, + "id": 2361, "name": "Literal", - "src": "52418:35:1" + "src": "53905:35:0" } ], - "id": 2870, + "id": 2362, "name": "FunctionCall", - "src": "52397:57:1" + "src": "53884:57:0" } ], - "id": 2871, + "id": 2363, "name": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "children": [ @@ -68578,9 +68578,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2872, + "id": 2364, "name": "Identifier", - "src": "52465:7:1" + "src": "53954:7:0" }, { "attributes": { @@ -68636,36 +68636,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2873, + "id": 2365, "name": "Identifier", - "src": "52473:10:1" + "src": "53962:10:0" } ], - "id": 2874, + "id": 2366, "name": "FunctionCall", - "src": "52473:12:1" + "src": "53962:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2875, + "id": 2367, "name": "Identifier", - "src": "52489:5:1" + "src": "53978:5:0" } ], - "id": 2876, + "id": 2368, "name": "BinaryOperation", - "src": "52473:21:1" + "src": "53962:21:0" }, { "attributes": { @@ -68699,7 +68699,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -68708,31 +68708,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2877, + "id": 2369, "name": "Identifier", - "src": "52498:6:1" + "src": "53987:6:0" } ], - "id": 2878, + "id": 2370, "name": "MemberAccess", - "src": "52498:23:1" + "src": "53987:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2879, + "id": 2371, "name": "Identifier", - "src": "52522:5:1" + "src": "54011:5:0" }, { "attributes": { @@ -68760,28 +68760,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2880, + "id": 2372, "name": "Identifier", - "src": "52529:10:1" + "src": "54018:10:0" } ], - "id": 2881, + "id": 2373, "name": "FunctionCall", - "src": "52529:12:1" + "src": "54018:12:0" } ], - "id": 2882, + "id": 2374, "name": "FunctionCall", - "src": "52498:44:1" + "src": "53987:44:0" } ], - "id": 2883, + "id": 2375, "name": "BinaryOperation", - "src": "52473:69:1" + "src": "53962:69:0" }, { "attributes": { @@ -68794,19 +68794,19 @@ "type": "literal_string \"ERC721: approve caller is not owner nor approved for all\"", "value": "ERC721: approve caller is not owner nor approved for all" }, - "id": 2884, + "id": 2376, "name": "Literal", - "src": "52556:58:1" + "src": "54046:58:0" } ], - "id": 2885, + "id": 2377, "name": "FunctionCall", - "src": "52465:159:1" + "src": "53954:161:0" } ], - "id": 2886, + "id": 2378, "name": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "children": [ @@ -68840,64 +68840,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 2887, + "id": 2379, "name": "Identifier", - "src": "52635:8:1" + "src": "54128:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2888, + "id": 2380, "name": "Identifier", - "src": "52644:2:1" + "src": "54137:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2889, + "id": 2381, "name": "Identifier", - "src": "52648:7:1" + "src": "54141:7:0" } ], - "id": 2890, + "id": 2382, "name": "FunctionCall", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2891, + "id": 2383, "name": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2892, + "id": 2384, "name": "Block", - "src": "52338:325:1" + "src": "53823:334:0" } ], - "id": 2893, + "id": 2385, "name": "FunctionDefinition", - "src": "52268:395:1" + "src": "53753:404:0" }, { "attributes": { "baseFunctions": [ - 624 + 116 ], "functionSelector": "081812fc", "implemented": true, @@ -68907,7 +68907,7 @@ null ], "name": "getApproved", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -68917,9 +68917,9 @@ "attributes": { "text": " @dev See {IERC721-getApproved}." }, - "id": 2894, + "id": 2386, "name": "StructuredDocumentation", - "src": "52669:50:1" + "src": "54165:52:0" }, { "attributes": { @@ -68927,9 +68927,9 @@ null ] }, - "id": 2898, + "id": 2390, "name": "OverrideSpecifier", - "src": "52782:8:1" + "src": "54281:8:0" }, { "children": [ @@ -68938,7 +68938,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68950,19 +68950,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2895, + "id": 2387, "name": "ElementaryTypeName", - "src": "52745:7:1" + "src": "54244:7:0" } ], - "id": 2896, + "id": 2388, "name": "VariableDeclaration", - "src": "52745:15:1" + "src": "54244:15:0" } ], - "id": 2897, + "id": 2389, "name": "ParameterList", - "src": "52744:17:1" + "src": "54243:17:0" }, { "children": [ @@ -68971,7 +68971,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68984,19 +68984,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2899, + "id": 2391, "name": "ElementaryTypeName", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2900, + "id": 2392, "name": "VariableDeclaration", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2901, + "id": 2393, "name": "ParameterList", - "src": "52799:9:1" + "src": "54298:9:0" }, { "children": [ @@ -69037,9 +69037,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2902, + "id": 2394, "name": "Identifier", - "src": "52819:7:1" + "src": "54319:7:0" }, { "attributes": { @@ -69067,31 +69067,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2903, + "id": 2395, "name": "Identifier", - "src": "52827:7:1" + "src": "54327:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2904, + "id": 2396, "name": "Identifier", - "src": "52835:7:1" + "src": "54335:7:0" } ], - "id": 2905, + "id": 2397, "name": "FunctionCall", - "src": "52827:16:1" + "src": "54327:16:0" }, { "attributes": { @@ -69104,23 +69104,23 @@ "type": "literal_string \"ERC721: approved query for nonexistent token\"", "value": "ERC721: approved query for nonexistent token" }, - "id": 2906, + "id": 2398, "name": "Literal", - "src": "52845:46:1" + "src": "54345:46:0" } ], - "id": 2907, + "id": 2399, "name": "FunctionCall", - "src": "52819:73:1" + "src": "54319:73:0" } ], - "id": 2908, + "id": 2400, "name": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "attributes": { - "functionReturnParameters": 2901 + "functionReturnParameters": 2393 }, "children": [ { @@ -69137,51 +69137,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 2909, + "id": 2401, "name": "Identifier", - "src": "52910:15:1" + "src": "54412:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2910, + "id": 2402, "name": "Identifier", - "src": "52926:7:1" + "src": "54428:7:0" } ], - "id": 2911, + "id": 2403, "name": "IndexAccess", - "src": "52910:24:1" + "src": "54412:24:0" } ], - "id": 2912, + "id": 2404, "name": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ], - "id": 2913, + "id": 2405, "name": "Block", - "src": "52809:132:1" + "src": "54308:136:0" } ], - "id": 2914, + "id": 2406, "name": "FunctionDefinition", - "src": "52724:217:1" + "src": "54223:221:0" }, { "attributes": { "baseFunctions": [ - 632 + 124 ], "functionSelector": "a22cb465", "implemented": true, @@ -69191,7 +69191,7 @@ null ], "name": "setApprovalForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69201,9 +69201,9 @@ "attributes": { "text": " @dev See {IERC721-setApprovalForAll}." }, - "id": 2915, + "id": 2407, "name": "StructuredDocumentation", - "src": "52947:56:1" + "src": "54452:58:0" }, { "attributes": { @@ -69211,9 +69211,9 @@ null ] }, - "id": 2921, + "id": 2413, "name": "OverrideSpecifier", - "src": "53083:8:1" + "src": "54591:8:0" }, { "children": [ @@ -69222,7 +69222,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69235,21 +69235,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2916, + "id": 2408, "name": "ElementaryTypeName", - "src": "53035:7:1" + "src": "54543:7:0" } ], - "id": 2917, + "id": 2409, "name": "VariableDeclaration", - "src": "53035:16:1" + "src": "54543:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "approved", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69261,19 +69261,19 @@ "name": "bool", "type": "bool" }, - "id": 2918, + "id": 2410, "name": "ElementaryTypeName", - "src": "53053:4:1" + "src": "54561:4:0" } ], - "id": 2919, + "id": 2411, "name": "VariableDeclaration", - "src": "53053:13:1" + "src": "54561:13:0" } ], - "id": 2920, + "id": 2412, "name": "ParameterList", - "src": "53034:33:1" + "src": "54542:33:0" }, { "attributes": { @@ -69282,9 +69282,9 @@ ] }, "children": [], - "id": 2922, + "id": 2414, "name": "ParameterList", - "src": "53092:0:1" + "src": "54600:0:0" }, { "children": [ @@ -69325,9 +69325,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2923, + "id": 2415, "name": "Identifier", - "src": "53102:7:1" + "src": "54611:7:0" }, { "attributes": { @@ -69348,13 +69348,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2924, + "id": 2416, "name": "Identifier", - "src": "53110:8:1" + "src": "54619:8:0" }, { "attributes": { @@ -69382,23 +69382,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2925, + "id": 2417, "name": "Identifier", - "src": "53122:10:1" + "src": "54631:10:0" } ], - "id": 2926, + "id": 2418, "name": "FunctionCall", - "src": "53122:12:1" + "src": "54631:12:0" } ], - "id": 2927, + "id": 2419, "name": "BinaryOperation", - "src": "53110:24:1" + "src": "54619:24:0" }, { "attributes": { @@ -69411,19 +69411,19 @@ "type": "literal_string \"ERC721: approve to caller\"", "value": "ERC721: approve to caller" }, - "id": 2928, + "id": 2420, "name": "Literal", - "src": "53136:27:1" + "src": "54645:27:0" } ], - "id": 2929, + "id": 2421, "name": "FunctionCall", - "src": "53102:62:1" + "src": "54611:62:0" } ], - "id": 2930, + "id": 2422, "name": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "children": [ @@ -69460,13 +69460,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2931, + "id": 2423, "name": "Identifier", - "src": "53175:18:1" + "src": "54686:18:0" }, { "attributes": { @@ -69494,64 +69494,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2932, + "id": 2424, "name": "Identifier", - "src": "53194:10:1" + "src": "54705:10:0" } ], - "id": 2933, + "id": 2425, "name": "FunctionCall", - "src": "53194:12:1" + "src": "54705:12:0" } ], - "id": 2935, + "id": 2427, "name": "IndexAccess", - "src": "53175:32:1" + "src": "54686:32:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2934, + "id": 2426, "name": "Identifier", - "src": "53208:8:1" + "src": "54719:8:0" } ], - "id": 2936, + "id": 2428, "name": "IndexAccess", - "src": "53175:42:1" + "src": "54686:42:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2937, + "id": 2429, "name": "Identifier", - "src": "53220:8:1" + "src": "54731:8:0" } ], - "id": 2938, + "id": 2430, "name": "Assignment", - "src": "53175:53:1" + "src": "54686:53:0" } ], - "id": 2939, + "id": 2431, "name": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "children": [ @@ -69589,13 +69589,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 572, + "referencedDeclaration": 64, "type": "function (address,address,bool)", "value": "ApprovalForAll" }, - "id": 2940, + "id": 2432, "name": "Identifier", - "src": "53243:14:1" + "src": "54755:14:0" }, { "attributes": { @@ -69623,69 +69623,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2941, + "id": 2433, "name": "Identifier", - "src": "53258:10:1" + "src": "54770:10:0" } ], - "id": 2942, + "id": 2434, "name": "FunctionCall", - "src": "53258:12:1" + "src": "54770:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2943, + "id": 2435, "name": "Identifier", - "src": "53272:8:1" + "src": "54784:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2944, + "id": 2436, "name": "Identifier", - "src": "53282:8:1" + "src": "54794:8:0" } ], - "id": 2945, + "id": 2437, "name": "FunctionCall", - "src": "53243:48:1" + "src": "54755:48:0" } ], - "id": 2946, + "id": 2438, "name": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ], - "id": 2947, + "id": 2439, "name": "Block", - "src": "53092:206:1" + "src": "54600:211:0" } ], - "id": 2948, + "id": 2440, "name": "FunctionDefinition", - "src": "53008:290:1" + "src": "54516:295:0" }, { "attributes": { "baseFunctions": [ - 642 + 134 ], "functionSelector": "e985e9c5", "implemented": true, @@ -69695,7 +69695,7 @@ null ], "name": "isApprovedForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -69705,9 +69705,9 @@ "attributes": { "text": " @dev See {IERC721-isApprovedForAll}." }, - "id": 2949, + "id": 2441, "name": "StructuredDocumentation", - "src": "53304:55:1" + "src": "54819:57:0" }, { "attributes": { @@ -69715,9 +69715,9 @@ null ] }, - "id": 2955, + "id": 2447, "name": "OverrideSpecifier", - "src": "53443:8:1" + "src": "54961:8:0" }, { "children": [ @@ -69726,7 +69726,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69739,21 +69739,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2950, + "id": 2442, "name": "ElementaryTypeName", - "src": "53390:7:1" + "src": "54908:7:0" } ], - "id": 2951, + "id": 2443, "name": "VariableDeclaration", - "src": "53390:13:1" + "src": "54908:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69766,19 +69766,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2952, + "id": 2444, "name": "ElementaryTypeName", - "src": "53405:7:1" + "src": "54923:7:0" } ], - "id": 2953, + "id": 2445, "name": "VariableDeclaration", - "src": "53405:16:1" + "src": "54923:16:0" } ], - "id": 2954, + "id": 2446, "name": "ParameterList", - "src": "53389:33:1" + "src": "54907:33:0" }, { "children": [ @@ -69787,7 +69787,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69799,25 +69799,25 @@ "name": "bool", "type": "bool" }, - "id": 2956, + "id": 2448, "name": "ElementaryTypeName", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2957, + "id": 2449, "name": "VariableDeclaration", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2958, + "id": 2450, "name": "ParameterList", - "src": "53460:6:1" + "src": "54978:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2958 + "functionReturnParameters": 2450 }, "children": [ { @@ -69843,69 +69843,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2959, + "id": 2451, "name": "Identifier", - "src": "53484:18:1" + "src": "55003:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2951, + "referencedDeclaration": 2443, "type": "address", "value": "owner" }, - "id": 2960, + "id": 2452, "name": "Identifier", - "src": "53503:5:1" + "src": "55022:5:0" } ], - "id": 2961, + "id": 2453, "name": "IndexAccess", - "src": "53484:25:1" + "src": "55003:25:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2953, + "referencedDeclaration": 2445, "type": "address", "value": "operator" }, - "id": 2962, + "id": 2454, "name": "Identifier", - "src": "53510:8:1" + "src": "55029:8:0" } ], - "id": 2963, + "id": 2455, "name": "IndexAccess", - "src": "53484:35:1" + "src": "55003:35:0" } ], - "id": 2964, + "id": 2456, "name": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ], - "id": 2965, + "id": 2457, "name": "Block", - "src": "53467:59:1" + "src": "54985:61:0" } ], - "id": 2966, + "id": 2458, "name": "FunctionDefinition", - "src": "53364:162:1" + "src": "54882:164:0" }, { "attributes": { "baseFunctions": [ - 608 + 100 ], "functionSelector": "23b872dd", "implemented": true, @@ -69915,7 +69915,7 @@ null ], "name": "transferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69925,9 +69925,9 @@ "attributes": { "text": " @dev See {IERC721-transferFrom}." }, - "id": 2967, + "id": 2459, "name": "StructuredDocumentation", - "src": "53532:51:1" + "src": "55054:53:0" }, { "attributes": { @@ -69935,9 +69935,9 @@ null ] }, - "id": 2975, + "id": 2467, "name": "OverrideSpecifier", - "src": "53668:8:1" + "src": "55193:8:0" }, { "children": [ @@ -69946,7 +69946,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69959,21 +69959,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2968, + "id": 2460, "name": "ElementaryTypeName", - "src": "53610:7:1" + "src": "55135:7:0" } ], - "id": 2969, + "id": 2461, "name": "VariableDeclaration", - "src": "53610:12:1" + "src": "55135:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69986,21 +69986,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2970, + "id": 2462, "name": "ElementaryTypeName", - "src": "53624:7:1" + "src": "55149:7:0" } ], - "id": 2971, + "id": 2463, "name": "VariableDeclaration", - "src": "53624:10:1" + "src": "55149:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70012,19 +70012,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2972, + "id": 2464, "name": "ElementaryTypeName", - "src": "53636:7:1" + "src": "55161:7:0" } ], - "id": 2973, + "id": 2465, "name": "VariableDeclaration", - "src": "53636:15:1" + "src": "55161:15:0" } ], - "id": 2974, + "id": 2466, "name": "ParameterList", - "src": "53609:43:1" + "src": "55134:43:0" }, { "attributes": { @@ -70033,9 +70033,9 @@ ] }, "children": [], - "id": 2976, + "id": 2468, "name": "ParameterList", - "src": "53677:0:1" + "src": "55202:0:0" }, { "children": [ @@ -70076,9 +70076,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2977, + "id": 2469, "name": "Identifier", - "src": "53739:7:1" + "src": "55266:7:0" }, { "attributes": { @@ -70110,13 +70110,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 2978, + "id": 2470, "name": "Identifier", - "src": "53747:18:1" + "src": "55274:18:0" }, { "attributes": { @@ -70144,36 +70144,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2979, + "id": 2471, "name": "Identifier", - "src": "53766:10:1" + "src": "55293:10:0" } ], - "id": 2980, + "id": 2472, "name": "FunctionCall", - "src": "53766:12:1" + "src": "55293:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2981, + "id": 2473, "name": "Identifier", - "src": "53780:7:1" + "src": "55307:7:0" } ], - "id": 2982, + "id": 2474, "name": "FunctionCall", - "src": "53747:41:1" + "src": "55274:41:0" }, { "attributes": { @@ -70186,19 +70186,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 2983, + "id": 2475, "name": "Literal", - "src": "53790:51:1" + "src": "55317:51:0" } ], - "id": 2984, + "id": 2476, "name": "FunctionCall", - "src": "53739:103:1" + "src": "55266:103:0" } ], - "id": 2985, + "id": 2477, "name": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "children": [ @@ -70236,77 +70236,77 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 2986, + "id": 2478, "name": "Identifier", - "src": "53853:9:1" + "src": "55382:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2969, + "referencedDeclaration": 2461, "type": "address", "value": "from" }, - "id": 2987, + "id": 2479, "name": "Identifier", - "src": "53863:4:1" + "src": "55392:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2971, + "referencedDeclaration": 2463, "type": "address", "value": "to" }, - "id": 2988, + "id": 2480, "name": "Identifier", - "src": "53869:2:1" + "src": "55398:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2989, + "id": 2481, "name": "Identifier", - "src": "53873:7:1" + "src": "55402:7:0" } ], - "id": 2990, + "id": 2482, "name": "FunctionCall", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2991, + "id": 2483, "name": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2992, + "id": 2484, "name": "Block", - "src": "53677:211:1" + "src": "55202:216:0" } ], - "id": 2993, + "id": 2485, "name": "FunctionDefinition", - "src": "53588:300:1" + "src": "55113:305:0" }, { "attributes": { "baseFunctions": [ - 598 + 90 ], "functionSelector": "42842e0e", "implemented": true, @@ -70316,7 +70316,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70326,9 +70326,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 2994, + "id": 2486, "name": "StructuredDocumentation", - "src": "53894:55:1" + "src": "55426:57:0" }, { "attributes": { @@ -70336,9 +70336,9 @@ null ] }, - "id": 3002, + "id": 2494, "name": "OverrideSpecifier", - "src": "54038:8:1" + "src": "55573:8:0" }, { "children": [ @@ -70347,7 +70347,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70360,21 +70360,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2995, + "id": 2487, "name": "ElementaryTypeName", - "src": "53980:7:1" + "src": "55515:7:0" } ], - "id": 2996, + "id": 2488, "name": "VariableDeclaration", - "src": "53980:12:1" + "src": "55515:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70387,21 +70387,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2997, + "id": 2489, "name": "ElementaryTypeName", - "src": "53994:7:1" + "src": "55529:7:0" } ], - "id": 2998, + "id": 2490, "name": "VariableDeclaration", - "src": "53994:10:1" + "src": "55529:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70413,19 +70413,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2999, + "id": 2491, "name": "ElementaryTypeName", - "src": "54006:7:1" + "src": "55541:7:0" } ], - "id": 3000, + "id": 2492, "name": "VariableDeclaration", - "src": "54006:15:1" + "src": "55541:15:0" } ], - "id": 3001, + "id": 2493, "name": "ParameterList", - "src": "53979:43:1" + "src": "55514:43:0" }, { "attributes": { @@ -70434,9 +70434,9 @@ ] }, "children": [], - "id": 3003, + "id": 2495, "name": "ParameterList", - "src": "54047:0:1" + "src": "55582:0:0" }, { "children": [ @@ -70478,55 +70478,55 @@ } ], "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, + "referencedDeclaration": 2534, "type": "function (address,address,uint256,bytes memory)", "value": "safeTransferFrom" }, - "id": 3004, + "id": 2496, "name": "Identifier", - "src": "54057:16:1" + "src": "55593:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2996, + "referencedDeclaration": 2488, "type": "address", "value": "from" }, - "id": 3005, + "id": 2497, "name": "Identifier", - "src": "54074:4:1" + "src": "55610:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2998, + "referencedDeclaration": 2490, "type": "address", "value": "to" }, - "id": 3006, + "id": 2498, "name": "Identifier", - "src": "54080:2:1" + "src": "55616:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3000, + "referencedDeclaration": 2492, "type": "uint256", "value": "tokenId" }, - "id": 3007, + "id": 2499, "name": "Identifier", - "src": "54084:7:1" + "src": "55620:7:0" }, { "attributes": { @@ -70539,34 +70539,34 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3008, + "id": 2500, "name": "Literal", - "src": "54093:2:1" + "src": "55629:2:0" } ], - "id": 3009, + "id": 2501, "name": "FunctionCall", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3010, + "id": 2502, "name": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3011, + "id": 2503, "name": "Block", - "src": "54047:56:1" + "src": "55582:58:0" } ], - "id": 3012, + "id": 2504, "name": "FunctionDefinition", - "src": "53954:149:1" + "src": "55489:151:0" }, { "attributes": { "baseFunctions": [ - 654 + 146 ], "functionSelector": "b88d4fde", "implemented": true, @@ -70576,7 +70576,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70586,9 +70586,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 3013, + "id": 2505, "name": "StructuredDocumentation", - "src": "54109:55:1" + "src": "55648:57:0" }, { "attributes": { @@ -70596,9 +70596,9 @@ null ] }, - "id": 3023, + "id": 2515, "name": "OverrideSpecifier", - "src": "54273:8:1" + "src": "55815:8:0" }, { "children": [ @@ -70607,7 +70607,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70620,21 +70620,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3014, + "id": 2506, "name": "ElementaryTypeName", - "src": "54195:7:1" + "src": "55737:7:0" } ], - "id": 3015, + "id": 2507, "name": "VariableDeclaration", - "src": "54195:12:1" + "src": "55737:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70647,21 +70647,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3016, + "id": 2508, "name": "ElementaryTypeName", - "src": "54209:7:1" + "src": "55751:7:0" } ], - "id": 3017, + "id": 2509, "name": "VariableDeclaration", - "src": "54209:10:1" + "src": "55751:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70673,21 +70673,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3018, + "id": 2510, "name": "ElementaryTypeName", - "src": "54221:7:1" + "src": "55763:7:0" } ], - "id": 3019, + "id": 2511, "name": "VariableDeclaration", - "src": "54221:15:1" + "src": "55763:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -70699,19 +70699,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3020, + "id": 2512, "name": "ElementaryTypeName", - "src": "54238:5:1" + "src": "55780:5:0" } ], - "id": 3021, + "id": 2513, "name": "VariableDeclaration", - "src": "54238:18:1" + "src": "55780:18:0" } ], - "id": 3022, + "id": 2514, "name": "ParameterList", - "src": "54194:63:1" + "src": "55736:63:0" }, { "attributes": { @@ -70720,9 +70720,9 @@ ] }, "children": [], - "id": 3024, + "id": 2516, "name": "ParameterList", - "src": "54282:0:1" + "src": "55824:0:0" }, { "children": [ @@ -70763,9 +70763,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3025, + "id": 2517, "name": "Identifier", - "src": "54292:7:1" + "src": "55835:7:0" }, { "attributes": { @@ -70797,13 +70797,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 3026, + "id": 2518, "name": "Identifier", - "src": "54300:18:1" + "src": "55843:18:0" }, { "attributes": { @@ -70831,36 +70831,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3027, + "id": 2519, "name": "Identifier", - "src": "54319:10:1" + "src": "55862:10:0" } ], - "id": 3028, + "id": 2520, "name": "FunctionCall", - "src": "54319:12:1" + "src": "55862:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3029, + "id": 2521, "name": "Identifier", - "src": "54333:7:1" + "src": "55876:7:0" } ], - "id": 3030, + "id": 2522, "name": "FunctionCall", - "src": "54300:41:1" + "src": "55843:41:0" }, { "attributes": { @@ -70873,19 +70873,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 3031, + "id": 2523, "name": "Literal", - "src": "54343:51:1" + "src": "55886:51:0" } ], - "id": 3032, + "id": 2524, "name": "FunctionCall", - "src": "54292:103:1" + "src": "55835:103:0" } ], - "id": 3033, + "id": 2525, "name": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "children": [ @@ -70927,85 +70927,85 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3071, + "referencedDeclaration": 2563, "type": "function (address,address,uint256,bytes memory)", "value": "_safeTransfer" }, - "id": 3034, + "id": 2526, "name": "Identifier", - "src": "54405:13:1" + "src": "55949:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3015, + "referencedDeclaration": 2507, "type": "address", "value": "from" }, - "id": 3035, + "id": 2527, "name": "Identifier", - "src": "54419:4:1" + "src": "55963:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3017, + "referencedDeclaration": 2509, "type": "address", "value": "to" }, - "id": 3036, + "id": 2528, "name": "Identifier", - "src": "54425:2:1" + "src": "55969:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3037, + "id": 2529, "name": "Identifier", - "src": "54429:7:1" + "src": "55973:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3021, + "referencedDeclaration": 2513, "type": "bytes memory", "value": "_data" }, - "id": 3038, + "id": 2530, "name": "Identifier", - "src": "54438:5:1" + "src": "55982:5:0" } ], - "id": 3039, + "id": 2531, "name": "FunctionCall", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3040, + "id": 2532, "name": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3041, + "id": 2533, "name": "Block", - "src": "54282:169:1" + "src": "55824:172:0" } ], - "id": 3042, + "id": 2534, "name": "FunctionDefinition", - "src": "54169:282:1" + "src": "55711:285:0" }, { "attributes": { @@ -71016,7 +71016,7 @@ null ], "name": "_safeTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -71026,9 +71026,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3043, + "id": 2535, "name": "StructuredDocumentation", - "src": "54457:851:1" + "src": "56004:868:0" }, { "children": [ @@ -71037,7 +71037,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71050,21 +71050,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3044, + "id": 2536, "name": "ElementaryTypeName", - "src": "55336:7:1" + "src": "56901:7:0" } ], - "id": 3045, + "id": 2537, "name": "VariableDeclaration", - "src": "55336:12:1" + "src": "56901:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71077,21 +71077,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3046, + "id": 2538, "name": "ElementaryTypeName", - "src": "55350:7:1" + "src": "56915:7:0" } ], - "id": 3047, + "id": 2539, "name": "VariableDeclaration", - "src": "55350:10:1" + "src": "56915:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71103,21 +71103,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3048, + "id": 2540, "name": "ElementaryTypeName", - "src": "55362:7:1" + "src": "56927:7:0" } ], - "id": 3049, + "id": 2541, "name": "VariableDeclaration", - "src": "55362:15:1" + "src": "56927:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -71129,19 +71129,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3050, + "id": 2542, "name": "ElementaryTypeName", - "src": "55379:5:1" + "src": "56944:5:0" } ], - "id": 3051, + "id": 2543, "name": "VariableDeclaration", - "src": "55379:18:1" + "src": "56944:18:0" } ], - "id": 3052, + "id": 2544, "name": "ParameterList", - "src": "55335:63:1" + "src": "56900:63:0" }, { "attributes": { @@ -71150,9 +71150,9 @@ ] }, "children": [], - "id": 3053, + "id": 2545, "name": "ParameterList", - "src": "55416:0:1" + "src": "56981:0:0" }, { "children": [ @@ -71192,62 +71192,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 3054, + "id": 2546, "name": "Identifier", - "src": "55426:9:1" + "src": "56992:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3055, + "id": 2547, "name": "Identifier", - "src": "55436:4:1" + "src": "57002:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3056, + "id": 2548, "name": "Identifier", - "src": "55442:2:1" + "src": "57008:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3057, + "id": 2549, "name": "Identifier", - "src": "55446:7:1" + "src": "57012:7:0" } ], - "id": 3058, + "id": 2550, "name": "FunctionCall", - "src": "55426:28:1" + "src": "56992:28:0" } ], - "id": 3059, + "id": 2551, "name": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "children": [ @@ -71286,9 +71286,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3060, + "id": 2552, "name": "Identifier", - "src": "55464:7:1" + "src": "57031:7:0" }, { "attributes": { @@ -71328,70 +71328,70 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3061, + "id": 2553, "name": "Identifier", - "src": "55472:22:1" + "src": "57039:22:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3062, + "id": 2554, "name": "Identifier", - "src": "55495:4:1" + "src": "57062:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3063, + "id": 2555, "name": "Identifier", - "src": "55501:2:1" + "src": "57068:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3064, + "id": 2556, "name": "Identifier", - "src": "55505:7:1" + "src": "57072:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3051, + "referencedDeclaration": 2543, "type": "bytes memory", "value": "_data" }, - "id": 3065, + "id": 2557, "name": "Identifier", - "src": "55514:5:1" + "src": "57081:5:0" } ], - "id": 3066, + "id": 2558, "name": "FunctionCall", - "src": "55472:48:1" + "src": "57039:48:0" }, { "attributes": { @@ -71404,29 +71404,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3067, + "id": 2559, "name": "Literal", - "src": "55522:52:1" + "src": "57089:52:0" } ], - "id": 3068, + "id": 2560, "name": "FunctionCall", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3069, + "id": 2561, "name": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3070, + "id": 2562, "name": "Block", - "src": "55416:166:1" + "src": "56981:169:0" } ], - "id": 3071, + "id": 2563, "name": "FunctionDefinition", - "src": "55313:269:1" + "src": "56878:272:0" }, { "attributes": { @@ -71437,7 +71437,7 @@ null ], "name": "_exists", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71447,9 +71447,9 @@ "attributes": { "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3072, + "id": 2564, "name": "StructuredDocumentation", - "src": "55588:292:1" + "src": "57158:299:0" }, { "children": [ @@ -71458,7 +71458,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71470,19 +71470,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3073, + "id": 2565, "name": "ElementaryTypeName", - "src": "55902:7:1" + "src": "57480:7:0" } ], - "id": 3074, + "id": 2566, "name": "VariableDeclaration", - "src": "55902:15:1" + "src": "57480:15:0" } ], - "id": 3075, + "id": 2567, "name": "ParameterList", - "src": "55901:17:1" + "src": "57479:17:0" }, { "children": [ @@ -71491,7 +71491,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71503,25 +71503,25 @@ "name": "bool", "type": "bool" }, - "id": 3076, + "id": 2568, "name": "ElementaryTypeName", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3077, + "id": 2569, "name": "VariableDeclaration", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3078, + "id": 2570, "name": "ParameterList", - "src": "55949:6:1" + "src": "57527:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3078 + "functionReturnParameters": 2570 }, "children": [ { @@ -71552,7 +71552,7 @@ "isPure": false, "lValueRequested": false, "member_name": "contains", - "referencedDeclaration": 2326, + "referencedDeclaration": 1818, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" }, "children": [ @@ -71561,51 +71561,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3079, + "id": 2571, "name": "Identifier", - "src": "55973:12:1" + "src": "57552:12:0" } ], - "id": 3080, + "id": 2572, "name": "MemberAccess", - "src": "55973:21:1" + "src": "57552:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3074, + "referencedDeclaration": 2566, "type": "uint256", "value": "tokenId" }, - "id": 3081, + "id": 2573, "name": "Identifier", - "src": "55995:7:1" + "src": "57574:7:0" } ], - "id": 3082, + "id": 2574, "name": "FunctionCall", - "src": "55973:30:1" + "src": "57552:30:0" } ], - "id": 3083, + "id": 2575, "name": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ], - "id": 3084, + "id": 2576, "name": "Block", - "src": "55956:54:1" + "src": "57534:56:0" } ], - "id": 3085, + "id": 2577, "name": "FunctionDefinition", - "src": "55885:125:1" + "src": "57463:127:0" }, { "attributes": { @@ -71616,7 +71616,7 @@ null ], "name": "_isApprovedOrOwner", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71626,9 +71626,9 @@ "attributes": { "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3086, + "id": 2578, "name": "StructuredDocumentation", - "src": "56016:147:1" + "src": "57598:153:0" }, { "children": [ @@ -71637,7 +71637,7 @@ "constant": false, "mutability": "mutable", "name": "spender", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71650,21 +71650,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3087, + "id": 2579, "name": "ElementaryTypeName", - "src": "56196:7:1" + "src": "57785:7:0" } ], - "id": 3088, + "id": 2580, "name": "VariableDeclaration", - "src": "56196:15:1" + "src": "57785:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71676,19 +71676,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3089, + "id": 2581, "name": "ElementaryTypeName", - "src": "56213:7:1" + "src": "57802:7:0" } ], - "id": 3090, + "id": 2582, "name": "VariableDeclaration", - "src": "56213:15:1" + "src": "57802:15:0" } ], - "id": 3091, + "id": 2583, "name": "ParameterList", - "src": "56195:34:1" + "src": "57784:34:0" }, { "children": [ @@ -71697,7 +71697,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71709,19 +71709,19 @@ "name": "bool", "type": "bool" }, - "id": 3092, + "id": 2584, "name": "ElementaryTypeName", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3093, + "id": 2585, "name": "VariableDeclaration", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3094, + "id": 2586, "name": "ParameterList", - "src": "56260:6:1" + "src": "57849:6:0" }, { "children": [ @@ -71762,9 +71762,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3095, + "id": 2587, "name": "Identifier", - "src": "56277:7:1" + "src": "57867:7:0" }, { "attributes": { @@ -71792,31 +71792,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3096, + "id": 2588, "name": "Identifier", - "src": "56285:7:1" + "src": "57875:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3097, + "id": 2589, "name": "Identifier", - "src": "56293:7:1" + "src": "57883:7:0" } ], - "id": 3098, + "id": 2590, "name": "FunctionCall", - "src": "56285:16:1" + "src": "57875:16:0" }, { "attributes": { @@ -71829,24 +71829,24 @@ "type": "literal_string \"ERC721: operator query for nonexistent token\"", "value": "ERC721: operator query for nonexistent token" }, - "id": 3099, + "id": 2591, "name": "Literal", - "src": "56303:46:1" + "src": "57893:46:0" } ], - "id": 3100, + "id": 2592, "name": "FunctionCall", - "src": "56277:73:1" + "src": "57867:73:0" } ], - "id": 3101, + "id": 2593, "name": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "attributes": { "assignments": [ - 3103 + 2595 ] }, "children": [ @@ -71855,7 +71855,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3126, + "scope": 2618, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71868,14 +71868,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3102, + "id": 2594, "name": "ElementaryTypeName", - "src": "56360:7:1" + "src": "57951:7:0" } ], - "id": 3103, + "id": 2595, "name": "VariableDeclaration", - "src": "56360:13:1" + "src": "57951:13:0" }, { "attributes": { @@ -71905,7 +71905,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -71914,45 +71914,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3104, + "id": 2596, "name": "Identifier", - "src": "56376:6:1" + "src": "57967:6:0" } ], - "id": 3105, + "id": 2597, "name": "MemberAccess", - "src": "56376:14:1" + "src": "57967:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3106, + "id": 2598, "name": "Identifier", - "src": "56391:7:1" + "src": "57982:7:0" } ], - "id": 3107, + "id": 2599, "name": "FunctionCall", - "src": "56376:23:1" + "src": "57967:23:0" } ], - "id": 3108, + "id": 2600, "name": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "attributes": { - "functionReturnParameters": 3094 + "functionReturnParameters": 2586 }, "children": [ { @@ -72012,31 +72012,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3109, + "id": 2601, "name": "Identifier", - "src": "56417:7:1" + "src": "58009:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3110, + "id": 2602, "name": "Identifier", - "src": "56428:5:1" + "src": "58020:5:0" } ], - "id": 3111, + "id": 2603, "name": "BinaryOperation", - "src": "56417:16:1" + "src": "58009:16:0" }, { "attributes": { @@ -72078,54 +72078,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2914, + "referencedDeclaration": 2406, "type": "function (uint256) view returns (address)", "value": "getApproved" }, - "id": 3112, + "id": 2604, "name": "Identifier", - "src": "56437:11:1" + "src": "58029:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3113, + "id": 2605, "name": "Identifier", - "src": "56449:7:1" + "src": "58041:7:0" } ], - "id": 3114, + "id": 2606, "name": "FunctionCall", - "src": "56437:20:1" + "src": "58029:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3115, + "id": 2607, "name": "Identifier", - "src": "56461:7:1" + "src": "58053:7:0" } ], - "id": 3116, + "id": 2608, "name": "BinaryOperation", - "src": "56437:31:1" + "src": "58029:31:0" } ], - "id": 3117, + "id": 2609, "name": "BinaryOperation", - "src": "56417:51:1" + "src": "58009:51:0" }, { "attributes": { @@ -72159,7 +72159,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -72168,74 +72168,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3118, + "id": 2610, "name": "Identifier", - "src": "56472:6:1" + "src": "58064:6:0" } ], - "id": 3119, + "id": 2611, "name": "MemberAccess", - "src": "56472:23:1" + "src": "58064:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3120, + "id": 2612, "name": "Identifier", - "src": "56496:5:1" + "src": "58088:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3121, + "id": 2613, "name": "Identifier", - "src": "56503:7:1" + "src": "58095:7:0" } ], - "id": 3122, + "id": 2614, "name": "FunctionCall", - "src": "56472:39:1" + "src": "58064:39:0" } ], - "id": 3123, + "id": 2615, "name": "BinaryOperation", - "src": "56417:94:1" + "src": "58009:94:0" } ], - "id": 3124, + "id": 2616, "name": "TupleExpression", - "src": "56416:96:1" + "src": "58008:96:0" } ], - "id": 3125, + "id": 2617, "name": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ], - "id": 3126, + "id": 2618, "name": "Block", - "src": "56267:252:1" + "src": "57856:256:0" } ], - "id": 3127, + "id": 2619, "name": "FunctionDefinition", - "src": "56168:351:1" + "src": "57757:355:0" }, { "attributes": { @@ -72246,7 +72246,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72256,9 +72256,9 @@ "attributes": { "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3128, + "id": 2620, "name": "StructuredDocumentation", - "src": "56525:320:1" + "src": "58120:329:0" }, { "children": [ @@ -72267,7 +72267,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72280,21 +72280,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3129, + "id": 2621, "name": "ElementaryTypeName", - "src": "56869:7:1" + "src": "58474:7:0" } ], - "id": 3130, + "id": 2622, "name": "VariableDeclaration", - "src": "56869:10:1" + "src": "58474:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72306,19 +72306,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3131, + "id": 2623, "name": "ElementaryTypeName", - "src": "56881:7:1" + "src": "58486:7:0" } ], - "id": 3132, + "id": 2624, "name": "VariableDeclaration", - "src": "56881:15:1" + "src": "58486:15:0" } ], - "id": 3133, + "id": 2625, "name": "ParameterList", - "src": "56868:29:1" + "src": "58473:29:0" }, { "attributes": { @@ -72327,9 +72327,9 @@ ] }, "children": [], - "id": 3134, + "id": 2626, "name": "ParameterList", - "src": "56915:0:1" + "src": "58520:0:0" }, { "children": [ @@ -72367,42 +72367,42 @@ } ], "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, + "referencedDeclaration": 2663, "type": "function (address,uint256,bytes memory)", "value": "_safeMint" }, - "id": 3135, + "id": 2627, "name": "Identifier", - "src": "56925:9:1" + "src": "58531:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3130, + "referencedDeclaration": 2622, "type": "address", "value": "to" }, - "id": 3136, + "id": 2628, "name": "Identifier", - "src": "56935:2:1" + "src": "58541:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3132, + "referencedDeclaration": 2624, "type": "uint256", "value": "tokenId" }, - "id": 3137, + "id": 2629, "name": "Identifier", - "src": "56939:7:1" + "src": "58545:7:0" }, { "attributes": { @@ -72415,29 +72415,29 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3138, + "id": 2630, "name": "Literal", - "src": "56948:2:1" + "src": "58554:2:0" } ], - "id": 3139, + "id": 2631, "name": "FunctionCall", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3140, + "id": 2632, "name": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3141, + "id": 2633, "name": "Block", - "src": "56915:43:1" + "src": "58520:45:0" } ], - "id": 3142, + "id": 2634, "name": "FunctionDefinition", - "src": "56850:108:1" + "src": "58455:110:0" }, { "attributes": { @@ -72448,7 +72448,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72458,9 +72458,9 @@ "attributes": { "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3143, + "id": 2635, "name": "StructuredDocumentation", - "src": "56964:210:1" + "src": "58573:213:0" }, { "children": [ @@ -72469,7 +72469,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72482,21 +72482,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3144, + "id": 2636, "name": "ElementaryTypeName", - "src": "57198:7:1" + "src": "58811:7:0" } ], - "id": 3145, + "id": 2637, "name": "VariableDeclaration", - "src": "57198:10:1" + "src": "58811:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72508,21 +72508,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3146, + "id": 2638, "name": "ElementaryTypeName", - "src": "57210:7:1" + "src": "58823:7:0" } ], - "id": 3147, + "id": 2639, "name": "VariableDeclaration", - "src": "57210:15:1" + "src": "58823:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -72534,19 +72534,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3148, + "id": 2640, "name": "ElementaryTypeName", - "src": "57227:5:1" + "src": "58840:5:0" } ], - "id": 3149, + "id": 2641, "name": "VariableDeclaration", - "src": "57227:18:1" + "src": "58840:18:0" } ], - "id": 3150, + "id": 2642, "name": "ParameterList", - "src": "57197:49:1" + "src": "58810:49:0" }, { "attributes": { @@ -72555,9 +72555,9 @@ ] }, "children": [], - "id": 3151, + "id": 2643, "name": "ParameterList", - "src": "57264:0:1" + "src": "58877:0:0" }, { "children": [ @@ -72593,49 +72593,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3230, + "referencedDeclaration": 2722, "type": "function (address,uint256)", "value": "_mint" }, - "id": 3152, + "id": 2644, "name": "Identifier", - "src": "57274:5:1" + "src": "58888:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3153, + "id": 2645, "name": "Identifier", - "src": "57280:2:1" + "src": "58894:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3154, + "id": 2646, "name": "Identifier", - "src": "57284:7:1" + "src": "58898:7:0" } ], - "id": 3155, + "id": 2647, "name": "FunctionCall", - "src": "57274:18:1" + "src": "58888:18:0" } ], - "id": 3156, + "id": 2648, "name": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "children": [ @@ -72674,9 +72674,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3157, + "id": 2649, "name": "Identifier", - "src": "57302:7:1" + "src": "58917:7:0" }, { "attributes": { @@ -72716,13 +72716,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3158, + "id": 2650, "name": "Identifier", - "src": "57310:22:1" + "src": "58925:22:0" }, { "attributes": { @@ -72758,14 +72758,14 @@ "attributes": { "name": "address" }, - "id": 3159, + "id": 2651, "name": "ElementaryTypeName", - "src": "57333:7:1" + "src": "58948:7:0" } ], - "id": 3160, + "id": 2652, "name": "ElementaryTypeNameExpression", - "src": "57333:7:1" + "src": "58948:7:0" }, { "attributes": { @@ -72778,58 +72778,58 @@ "type": "int_const 0", "value": "0" }, - "id": 3161, + "id": 2653, "name": "Literal", - "src": "57341:1:1" + "src": "58956:1:0" } ], - "id": 3162, + "id": 2654, "name": "FunctionCall", - "src": "57333:10:1" + "src": "58948:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3163, + "id": 2655, "name": "Identifier", - "src": "57345:2:1" + "src": "58960:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3164, + "id": 2656, "name": "Identifier", - "src": "57349:7:1" + "src": "58964:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3149, + "referencedDeclaration": 2641, "type": "bytes memory", "value": "_data" }, - "id": 3165, + "id": 2657, "name": "Identifier", - "src": "57358:5:1" + "src": "58973:5:0" } ], - "id": 3166, + "id": 2658, "name": "FunctionCall", - "src": "57310:54:1" + "src": "58925:54:0" }, { "attributes": { @@ -72842,29 +72842,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3167, + "id": 2659, "name": "Literal", - "src": "57366:52:1" + "src": "58981:52:0" } ], - "id": 3168, + "id": 2660, "name": "FunctionCall", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3169, + "id": 2661, "name": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3170, + "id": 2662, "name": "Block", - "src": "57264:162:1" + "src": "58877:165:0" } ], - "id": 3171, + "id": 2663, "name": "FunctionDefinition", - "src": "57179:247:1" + "src": "58792:250:0" }, { "attributes": { @@ -72875,7 +72875,7 @@ null ], "name": "_mint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72885,9 +72885,9 @@ "attributes": { "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3172, + "id": 2664, "name": "StructuredDocumentation", - "src": "57432:311:1" + "src": "59050:322:0" }, { "children": [ @@ -72896,7 +72896,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72909,21 +72909,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3173, + "id": 2665, "name": "ElementaryTypeName", - "src": "57763:7:1" + "src": "59393:7:0" } ], - "id": 3174, + "id": 2666, "name": "VariableDeclaration", - "src": "57763:10:1" + "src": "59393:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72935,19 +72935,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3175, + "id": 2667, "name": "ElementaryTypeName", - "src": "57775:7:1" + "src": "59405:7:0" } ], - "id": 3176, + "id": 2668, "name": "VariableDeclaration", - "src": "57775:15:1" + "src": "59405:15:0" } ], - "id": 3177, + "id": 2669, "name": "ParameterList", - "src": "57762:29:1" + "src": "59392:29:0" }, { "attributes": { @@ -72956,9 +72956,9 @@ ] }, "children": [], - "id": 3178, + "id": 2670, "name": "ParameterList", - "src": "57809:0:1" + "src": "59439:0:0" }, { "children": [ @@ -72999,9 +72999,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3179, + "id": 2671, "name": "Identifier", - "src": "57819:7:1" + "src": "59450:7:0" }, { "attributes": { @@ -73022,13 +73022,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3180, + "id": 2672, "name": "Identifier", - "src": "57827:2:1" + "src": "59458:2:0" }, { "attributes": { @@ -73064,14 +73064,14 @@ "attributes": { "name": "address" }, - "id": 3181, + "id": 2673, "name": "ElementaryTypeName", - "src": "57833:7:1" + "src": "59464:7:0" } ], - "id": 3182, + "id": 2674, "name": "ElementaryTypeNameExpression", - "src": "57833:7:1" + "src": "59464:7:0" }, { "attributes": { @@ -73084,19 +73084,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3183, + "id": 2675, "name": "Literal", - "src": "57841:1:1" + "src": "59472:1:0" } ], - "id": 3184, + "id": 2676, "name": "FunctionCall", - "src": "57833:10:1" + "src": "59464:10:0" } ], - "id": 3185, + "id": 2677, "name": "BinaryOperation", - "src": "57827:16:1" + "src": "59458:16:0" }, { "attributes": { @@ -73109,19 +73109,19 @@ "type": "literal_string \"ERC721: mint to the zero address\"", "value": "ERC721: mint to the zero address" }, - "id": 3186, + "id": 2678, "name": "Literal", - "src": "57845:34:1" + "src": "59476:34:0" } ], - "id": 3187, + "id": 2679, "name": "FunctionCall", - "src": "57819:61:1" + "src": "59450:61:0" } ], - "id": 3188, + "id": 2680, "name": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "children": [ @@ -73160,9 +73160,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3189, + "id": 2681, "name": "Identifier", - "src": "57890:7:1" + "src": "59522:7:0" }, { "attributes": { @@ -73201,36 +73201,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3190, + "id": 2682, "name": "Identifier", - "src": "57899:7:1" + "src": "59531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3191, + "id": 2683, "name": "Identifier", - "src": "57907:7:1" + "src": "59539:7:0" } ], - "id": 3192, + "id": 2684, "name": "FunctionCall", - "src": "57899:16:1" + "src": "59531:16:0" } ], - "id": 3193, + "id": 2685, "name": "UnaryOperation", - "src": "57898:17:1" + "src": "59530:17:0" }, { "attributes": { @@ -73243,19 +73243,19 @@ "type": "literal_string \"ERC721: token already minted\"", "value": "ERC721: token already minted" }, - "id": 3194, + "id": 2686, "name": "Literal", - "src": "57917:30:1" + "src": "59549:30:0" } ], - "id": 3195, + "id": 2687, "name": "FunctionCall", - "src": "57890:58:1" + "src": "59522:58:0" } ], - "id": 3196, + "id": 2688, "name": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "children": [ @@ -73293,13 +73293,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3197, + "id": 2689, "name": "Identifier", - "src": "57959:20:1" + "src": "59593:20:0" }, { "attributes": { @@ -73335,14 +73335,14 @@ "attributes": { "name": "address" }, - "id": 3198, + "id": 2690, "name": "ElementaryTypeName", - "src": "57980:7:1" + "src": "59614:7:0" } ], - "id": 3199, + "id": 2691, "name": "ElementaryTypeNameExpression", - "src": "57980:7:1" + "src": "59614:7:0" }, { "attributes": { @@ -73355,50 +73355,50 @@ "type": "int_const 0", "value": "0" }, - "id": 3200, + "id": 2692, "name": "Literal", - "src": "57988:1:1" + "src": "59622:1:0" } ], - "id": 3201, + "id": 2693, "name": "FunctionCall", - "src": "57980:10:1" + "src": "59614:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3202, + "id": 2694, "name": "Identifier", - "src": "57992:2:1" + "src": "59626:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3203, + "id": 2695, "name": "Identifier", - "src": "57996:7:1" + "src": "59630:7:0" } ], - "id": 3204, + "id": 2696, "name": "FunctionCall", - "src": "57959:45:1" + "src": "59593:45:0" } ], - "id": 3205, + "id": 2697, "name": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "children": [ @@ -73430,7 +73430,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -73448,59 +73448,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3206, + "id": 2698, "name": "Identifier", - "src": "58015:13:1" + "src": "59651:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3207, + "id": 2699, "name": "Identifier", - "src": "58029:2:1" + "src": "59665:2:0" } ], - "id": 3208, + "id": 2700, "name": "IndexAccess", - "src": "58015:17:1" + "src": "59651:17:0" } ], - "id": 3209, + "id": 2701, "name": "MemberAccess", - "src": "58015:21:1" + "src": "59651:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3210, + "id": 2702, "name": "Identifier", - "src": "58037:7:1" + "src": "59673:7:0" } ], - "id": 3211, + "id": 2703, "name": "FunctionCall", - "src": "58015:30:1" + "src": "59651:30:0" } ], - "id": 3212, + "id": 2704, "name": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "children": [ @@ -73536,7 +73536,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -73545,54 +73545,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3213, + "id": 2705, "name": "Identifier", - "src": "58056:12:1" + "src": "59694:12:0" } ], - "id": 3215, + "id": 2707, "name": "MemberAccess", - "src": "58056:16:1" + "src": "59694:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3216, + "id": 2708, "name": "Identifier", - "src": "58073:7:1" + "src": "59711:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3217, + "id": 2709, "name": "Identifier", - "src": "58082:2:1" + "src": "59720:2:0" } ], - "id": 3218, + "id": 2710, "name": "FunctionCall", - "src": "58056:29:1" + "src": "59694:29:0" } ], - "id": 3219, + "id": 2711, "name": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "children": [ @@ -73630,13 +73630,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3220, + "id": 2712, "name": "Identifier", - "src": "58101:8:1" + "src": "59741:8:0" }, { "attributes": { @@ -73672,14 +73672,14 @@ "attributes": { "name": "address" }, - "id": 3221, + "id": 2713, "name": "ElementaryTypeName", - "src": "58110:7:1" + "src": "59750:7:0" } ], - "id": 3222, + "id": 2714, "name": "ElementaryTypeNameExpression", - "src": "58110:7:1" + "src": "59750:7:0" }, { "attributes": { @@ -73692,60 +73692,60 @@ "type": "int_const 0", "value": "0" }, - "id": 3223, + "id": 2715, "name": "Literal", - "src": "58118:1:1" + "src": "59758:1:0" } ], - "id": 3224, + "id": 2716, "name": "FunctionCall", - "src": "58110:10:1" + "src": "59750:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3225, + "id": 2717, "name": "Identifier", - "src": "58122:2:1" + "src": "59762:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3226, + "id": 2718, "name": "Identifier", - "src": "58126:7:1" + "src": "59766:7:0" } ], - "id": 3227, + "id": 2719, "name": "FunctionCall", - "src": "58101:33:1" + "src": "59741:33:0" } ], - "id": 3228, + "id": 2720, "name": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ], - "id": 3229, + "id": 2721, "name": "Block", - "src": "57809:332:1" + "src": "59439:343:0" } ], - "id": 3230, + "id": 2722, "name": "FunctionDefinition", - "src": "57748:393:1" + "src": "59378:404:0" }, { "attributes": { @@ -73756,7 +73756,7 @@ null ], "name": "_burn", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -73766,9 +73766,9 @@ "attributes": { "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3231, + "id": 2723, "name": "StructuredDocumentation", - "src": "58147:206:1" + "src": "59790:215:0" }, { "children": [ @@ -73777,7 +73777,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3299, + "scope": 2791, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -73789,19 +73789,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3232, + "id": 2724, "name": "ElementaryTypeName", - "src": "58373:7:1" + "src": "60026:7:0" } ], - "id": 3233, + "id": 2725, "name": "VariableDeclaration", - "src": "58373:15:1" + "src": "60026:15:0" } ], - "id": 3234, + "id": 2726, "name": "ParameterList", - "src": "58372:17:1" + "src": "60025:17:0" }, { "attributes": { @@ -73810,16 +73810,16 @@ ] }, "children": [], - "id": 3235, + "id": 2727, "name": "ParameterList", - "src": "58407:0:1" + "src": "60060:0:0" }, { "children": [ { "attributes": { "assignments": [ - 3237 + 2729 ] }, "children": [ @@ -73828,7 +73828,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3298, + "scope": 2790, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -73841,14 +73841,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3236, + "id": 2728, "name": "ElementaryTypeName", - "src": "58417:7:1" + "src": "60071:7:0" } ], - "id": 3237, + "id": 2729, "name": "VariableDeclaration", - "src": "58417:13:1" + "src": "60071:13:0" }, { "attributes": { @@ -73878,7 +73878,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -73887,41 +73887,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3238, + "id": 2730, "name": "Identifier", - "src": "58433:6:1" + "src": "60087:6:0" } ], - "id": 3239, + "id": 2731, "name": "MemberAccess", - "src": "58433:14:1" + "src": "60087:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3240, + "id": 2732, "name": "Identifier", - "src": "58448:7:1" + "src": "60102:7:0" } ], - "id": 3241, + "id": 2733, "name": "FunctionCall", - "src": "58433:23:1" + "src": "60087:23:0" } ], - "id": 3242, + "id": 2734, "name": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "children": [ @@ -73959,26 +73959,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3243, + "id": 2735, "name": "Identifier", - "src": "58485:20:1" + "src": "60141:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3244, + "id": 2736, "name": "Identifier", - "src": "58506:5:1" + "src": "60162:5:0" }, { "attributes": { @@ -74014,14 +74014,14 @@ "attributes": { "name": "address" }, - "id": 3245, + "id": 2737, "name": "ElementaryTypeName", - "src": "58513:7:1" + "src": "60169:7:0" } ], - "id": 3246, + "id": 2738, "name": "ElementaryTypeNameExpression", - "src": "58513:7:1" + "src": "60169:7:0" }, { "attributes": { @@ -74034,37 +74034,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3247, + "id": 2739, "name": "Literal", - "src": "58521:1:1" + "src": "60177:1:0" } ], - "id": 3248, + "id": 2740, "name": "FunctionCall", - "src": "58513:10:1" + "src": "60169:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3249, + "id": 2741, "name": "Identifier", - "src": "58525:7:1" + "src": "60181:7:0" } ], - "id": 3250, + "id": 2742, "name": "FunctionCall", - "src": "58485:48:1" + "src": "60141:48:0" } ], - "id": 3251, + "id": 2743, "name": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "children": [ @@ -74098,13 +74098,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3252, + "id": 2744, "name": "Identifier", - "src": "58571:8:1" + "src": "60230:8:0" }, { "attributes": { @@ -74140,14 +74140,14 @@ "attributes": { "name": "address" }, - "id": 3253, + "id": 2745, "name": "ElementaryTypeName", - "src": "58580:7:1" + "src": "60239:7:0" } ], - "id": 3254, + "id": 2746, "name": "ElementaryTypeNameExpression", - "src": "58580:7:1" + "src": "60239:7:0" }, { "attributes": { @@ -74160,37 +74160,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3255, + "id": 2747, "name": "Literal", - "src": "58588:1:1" + "src": "60247:1:0" } ], - "id": 3256, + "id": 2748, "name": "FunctionCall", - "src": "58580:10:1" + "src": "60239:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3257, + "id": 2749, "name": "Identifier", - "src": "58592:7:1" + "src": "60251:7:0" } ], - "id": 3258, + "id": 2750, "name": "FunctionCall", - "src": "58571:29:1" + "src": "60230:29:0" } ], - "id": 3259, + "id": 2751, "name": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "attributes": {}, @@ -74253,14 +74253,14 @@ "attributes": { "name": "bytes" }, - "id": 3260, + "id": 2752, "name": "ElementaryTypeName", - "src": "58650:5:1" + "src": "60312:5:0" } ], - "id": 3261, + "id": 2753, "name": "ElementaryTypeNameExpression", - "src": "58650:5:1" + "src": "60312:5:0" }, { "attributes": { @@ -74276,41 +74276,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3262, + "id": 2754, "name": "Identifier", - "src": "58656:10:1" + "src": "60318:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3263, + "id": 2755, "name": "Identifier", - "src": "58667:7:1" + "src": "60329:7:0" } ], - "id": 3264, + "id": 2756, "name": "IndexAccess", - "src": "58656:19:1" + "src": "60318:19:0" } ], - "id": 3265, + "id": 2757, "name": "FunctionCall", - "src": "58650:26:1" + "src": "60312:26:0" } ], - "id": 3266, + "id": 2758, "name": "MemberAccess", - "src": "58650:33:1" + "src": "60312:33:0" }, { "attributes": { @@ -74323,14 +74323,14 @@ "type": "int_const 0", "value": "0" }, - "id": 3267, + "id": 2759, "name": "Literal", - "src": "58687:1:1" + "src": "60349:1:0" } ], - "id": 3268, + "id": 2760, "name": "BinaryOperation", - "src": "58650:38:1" + "src": "60312:38:0" }, { "children": [ @@ -74361,51 +74361,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3269, + "id": 2761, "name": "Identifier", - "src": "58711:10:1" + "src": "60374:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3270, + "id": 2762, "name": "Identifier", - "src": "58722:7:1" + "src": "60385:7:0" } ], - "id": 3271, + "id": 2763, "name": "IndexAccess", - "src": "58711:19:1" + "src": "60374:19:0" } ], - "id": 3272, + "id": 2764, "name": "UnaryOperation", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3273, + "id": 2765, "name": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3274, + "id": 2766, "name": "Block", - "src": "58690:51:1" + "src": "60352:53:0" } ], - "id": 3275, + "id": 2767, "name": "IfStatement", - "src": "58646:95:1" + "src": "60308:97:0" }, { "children": [ @@ -74437,7 +74437,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -74455,59 +74455,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3276, + "id": 2768, "name": "Identifier", - "src": "58751:13:1" + "src": "60417:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3277, + "id": 2769, "name": "Identifier", - "src": "58765:5:1" + "src": "60431:5:0" } ], - "id": 3278, + "id": 2770, "name": "IndexAccess", - "src": "58751:20:1" + "src": "60417:20:0" } ], - "id": 3279, + "id": 2771, "name": "MemberAccess", - "src": "58751:27:1" + "src": "60417:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3280, + "id": 2772, "name": "Identifier", - "src": "58779:7:1" + "src": "60445:7:0" } ], - "id": 3281, + "id": 2773, "name": "FunctionCall", - "src": "58751:36:1" + "src": "60417:36:0" } ], - "id": 3282, + "id": 2774, "name": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "children": [ @@ -74539,7 +74539,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 2306, + "referencedDeclaration": 1798, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" }, "children": [ @@ -74548,41 +74548,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3283, + "id": 2775, "name": "Identifier", - "src": "58798:12:1" + "src": "60466:12:0" } ], - "id": 3285, + "id": 2777, "name": "MemberAccess", - "src": "58798:19:1" + "src": "60466:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3286, + "id": 2778, "name": "Identifier", - "src": "58818:7:1" + "src": "60486:7:0" } ], - "id": 3287, + "id": 2779, "name": "FunctionCall", - "src": "58798:28:1" + "src": "60466:28:0" } ], - "id": 3288, + "id": 2780, "name": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "children": [ @@ -74620,26 +74620,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3289, + "id": 2781, "name": "Identifier", - "src": "58842:8:1" + "src": "60512:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3290, + "id": 2782, "name": "Identifier", - "src": "58851:5:1" + "src": "60521:5:0" }, { "attributes": { @@ -74675,14 +74675,14 @@ "attributes": { "name": "address" }, - "id": 3291, + "id": 2783, "name": "ElementaryTypeName", - "src": "58858:7:1" + "src": "60528:7:0" } ], - "id": 3292, + "id": 2784, "name": "ElementaryTypeNameExpression", - "src": "58858:7:1" + "src": "60528:7:0" }, { "attributes": { @@ -74695,47 +74695,47 @@ "type": "int_const 0", "value": "0" }, - "id": 3293, + "id": 2785, "name": "Literal", - "src": "58866:1:1" + "src": "60536:1:0" } ], - "id": 3294, + "id": 2786, "name": "FunctionCall", - "src": "58858:10:1" + "src": "60528:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3295, + "id": 2787, "name": "Identifier", - "src": "58870:7:1" + "src": "60540:7:0" } ], - "id": 3296, + "id": 2788, "name": "FunctionCall", - "src": "58842:36:1" + "src": "60512:36:0" } ], - "id": 3297, + "id": 2789, "name": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ], - "id": 3298, + "id": 2790, "name": "Block", - "src": "58407:478:1" + "src": "60060:496:0" } ], - "id": 3299, + "id": 2791, "name": "FunctionDefinition", - "src": "58358:527:1" + "src": "60011:545:0" }, { "attributes": { @@ -74746,7 +74746,7 @@ null ], "name": "_transfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -74756,9 +74756,9 @@ "attributes": { "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3300, + "id": 2792, "name": "StructuredDocumentation", - "src": "58891:313:1" + "src": "60564:323:0" }, { "children": [ @@ -74767,7 +74767,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74780,21 +74780,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3301, + "id": 2793, "name": "ElementaryTypeName", - "src": "59228:7:1" + "src": "60912:7:0" } ], - "id": 3302, + "id": 2794, "name": "VariableDeclaration", - "src": "59228:12:1" + "src": "60912:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74807,21 +74807,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3303, + "id": 2795, "name": "ElementaryTypeName", - "src": "59242:7:1" + "src": "60926:7:0" } ], - "id": 3304, + "id": 2796, "name": "VariableDeclaration", - "src": "59242:10:1" + "src": "60926:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -74833,19 +74833,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3305, + "id": 2797, "name": "ElementaryTypeName", - "src": "59254:7:1" + "src": "60938:7:0" } ], - "id": 3306, + "id": 2798, "name": "VariableDeclaration", - "src": "59254:15:1" + "src": "60938:15:0" } ], - "id": 3307, + "id": 2799, "name": "ParameterList", - "src": "59227:43:1" + "src": "60911:43:0" }, { "attributes": { @@ -74854,9 +74854,9 @@ ] }, "children": [], - "id": 3308, + "id": 2800, "name": "ParameterList", - "src": "59288:0:1" + "src": "60972:0:0" }, { "children": [ @@ -74897,9 +74897,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3309, + "id": 2801, "name": "Identifier", - "src": "59298:7:1" + "src": "60983:7:0" }, { "attributes": { @@ -74943,7 +74943,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -74952,54 +74952,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3310, + "id": 2802, "name": "Identifier", - "src": "59306:6:1" + "src": "60991:6:0" } ], - "id": 3311, + "id": 2803, "name": "MemberAccess", - "src": "59306:14:1" + "src": "60991:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3312, + "id": 2804, "name": "Identifier", - "src": "59321:7:1" + "src": "61006:7:0" } ], - "id": 3313, + "id": 2805, "name": "FunctionCall", - "src": "59306:23:1" + "src": "60991:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3314, + "id": 2806, "name": "Identifier", - "src": "59333:4:1" + "src": "61018:4:0" } ], - "id": 3315, + "id": 2807, "name": "BinaryOperation", - "src": "59306:31:1" + "src": "60991:31:0" }, { "attributes": { @@ -75012,19 +75012,19 @@ "type": "literal_string \"ERC721: transfer of token that is not own\"", "value": "ERC721: transfer of token that is not own" }, - "id": 3316, + "id": 2808, "name": "Literal", - "src": "59339:43:1" + "src": "61024:43:0" } ], - "id": 3317, + "id": 2809, "name": "FunctionCall", - "src": "59298:85:1" + "src": "60983:85:0" } ], - "id": 3318, + "id": 2810, "name": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "children": [ @@ -75063,9 +75063,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3319, + "id": 2811, "name": "Identifier", - "src": "59411:7:1" + "src": "61097:7:0" }, { "attributes": { @@ -75086,13 +75086,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3320, + "id": 2812, "name": "Identifier", - "src": "59419:2:1" + "src": "61105:2:0" }, { "attributes": { @@ -75128,14 +75128,14 @@ "attributes": { "name": "address" }, - "id": 3321, + "id": 2813, "name": "ElementaryTypeName", - "src": "59425:7:1" + "src": "61111:7:0" } ], - "id": 3322, + "id": 2814, "name": "ElementaryTypeNameExpression", - "src": "59425:7:1" + "src": "61111:7:0" }, { "attributes": { @@ -75148,19 +75148,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3323, + "id": 2815, "name": "Literal", - "src": "59433:1:1" + "src": "61119:1:0" } ], - "id": 3324, + "id": 2816, "name": "FunctionCall", - "src": "59425:10:1" + "src": "61111:10:0" } ], - "id": 3325, + "id": 2817, "name": "BinaryOperation", - "src": "59419:16:1" + "src": "61105:16:0" }, { "attributes": { @@ -75173,19 +75173,19 @@ "type": "literal_string \"ERC721: transfer to the zero address\"", "value": "ERC721: transfer to the zero address" }, - "id": 3326, + "id": 2818, "name": "Literal", - "src": "59437:38:1" + "src": "61123:38:0" } ], - "id": 3327, + "id": 2819, "name": "FunctionCall", - "src": "59411:65:1" + "src": "61097:65:0" } ], - "id": 3328, + "id": 2820, "name": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "children": [ @@ -75223,62 +75223,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3329, + "id": 2821, "name": "Identifier", - "src": "59487:20:1" + "src": "61175:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3330, + "id": 2822, "name": "Identifier", - "src": "59508:4:1" + "src": "61196:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3331, + "id": 2823, "name": "Identifier", - "src": "59514:2:1" + "src": "61202:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3332, + "id": 2824, "name": "Identifier", - "src": "59518:7:1" + "src": "61206:7:0" } ], - "id": 3333, + "id": 2825, "name": "FunctionCall", - "src": "59487:39:1" + "src": "61175:39:0" } ], - "id": 3334, + "id": 2826, "name": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "children": [ @@ -75312,13 +75312,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3335, + "id": 2827, "name": "Identifier", - "src": "59588:8:1" + "src": "61279:8:0" }, { "attributes": { @@ -75354,14 +75354,14 @@ "attributes": { "name": "address" }, - "id": 3336, + "id": 2828, "name": "ElementaryTypeName", - "src": "59597:7:1" + "src": "61288:7:0" } ], - "id": 3337, + "id": 2829, "name": "ElementaryTypeNameExpression", - "src": "59597:7:1" + "src": "61288:7:0" }, { "attributes": { @@ -75374,37 +75374,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3338, + "id": 2830, "name": "Literal", - "src": "59605:1:1" + "src": "61296:1:0" } ], - "id": 3339, + "id": 2831, "name": "FunctionCall", - "src": "59597:10:1" + "src": "61288:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3340, + "id": 2832, "name": "Identifier", - "src": "59609:7:1" + "src": "61300:7:0" } ], - "id": 3341, + "id": 2833, "name": "FunctionCall", - "src": "59588:29:1" + "src": "61279:29:0" } ], - "id": 3342, + "id": 2834, "name": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "children": [ @@ -75436,7 +75436,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75454,59 +75454,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3343, + "id": 2835, "name": "Identifier", - "src": "59628:13:1" + "src": "61321:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3344, + "id": 2836, "name": "Identifier", - "src": "59642:4:1" + "src": "61335:4:0" } ], - "id": 3345, + "id": 2837, "name": "IndexAccess", - "src": "59628:19:1" + "src": "61321:19:0" } ], - "id": 3346, + "id": 2838, "name": "MemberAccess", - "src": "59628:26:1" + "src": "61321:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3347, + "id": 2839, "name": "Identifier", - "src": "59655:7:1" + "src": "61348:7:0" } ], - "id": 3348, + "id": 2840, "name": "FunctionCall", - "src": "59628:35:1" + "src": "61321:35:0" } ], - "id": 3349, + "id": 2841, "name": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "children": [ @@ -75538,7 +75538,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75556,59 +75556,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3350, + "id": 2842, "name": "Identifier", - "src": "59673:13:1" + "src": "61367:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3351, + "id": 2843, "name": "Identifier", - "src": "59687:2:1" + "src": "61381:2:0" } ], - "id": 3352, + "id": 2844, "name": "IndexAccess", - "src": "59673:17:1" + "src": "61367:17:0" } ], - "id": 3353, + "id": 2845, "name": "MemberAccess", - "src": "59673:21:1" + "src": "61367:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3354, + "id": 2846, "name": "Identifier", - "src": "59695:7:1" + "src": "61389:7:0" } ], - "id": 3355, + "id": 2847, "name": "FunctionCall", - "src": "59673:30:1" + "src": "61367:30:0" } ], - "id": 3356, + "id": 2848, "name": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "children": [ @@ -75644,7 +75644,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -75653,54 +75653,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3357, + "id": 2849, "name": "Identifier", - "src": "59714:12:1" + "src": "61410:12:0" } ], - "id": 3359, + "id": 2851, "name": "MemberAccess", - "src": "59714:16:1" + "src": "61410:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3360, + "id": 2852, "name": "Identifier", - "src": "59731:7:1" + "src": "61427:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3361, + "id": 2853, "name": "Identifier", - "src": "59740:2:1" + "src": "61436:2:0" } ], - "id": 3362, + "id": 2854, "name": "FunctionCall", - "src": "59714:29:1" + "src": "61410:29:0" } ], - "id": 3363, + "id": 2855, "name": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "children": [ @@ -75738,72 +75738,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3364, + "id": 2856, "name": "Identifier", - "src": "59759:8:1" + "src": "61457:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3365, + "id": 2857, "name": "Identifier", - "src": "59768:4:1" + "src": "61466:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3366, + "id": 2858, "name": "Identifier", - "src": "59774:2:1" + "src": "61472:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3367, + "id": 2859, "name": "Identifier", - "src": "59778:7:1" + "src": "61476:7:0" } ], - "id": 3368, + "id": 2860, "name": "FunctionCall", - "src": "59759:27:1" + "src": "61457:27:0" } ], - "id": 3369, + "id": 2861, "name": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ], - "id": 3370, + "id": 2862, "name": "Block", - "src": "59288:505:1" + "src": "60972:520:0" } ], - "id": 3371, + "id": 2863, "name": "FunctionDefinition", - "src": "59209:584:1" + "src": "60893:599:0" }, { "attributes": { @@ -75814,7 +75814,7 @@ null ], "name": "_setTokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -75824,9 +75824,9 @@ "attributes": { "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3372, + "id": 2864, "name": "StructuredDocumentation", - "src": "59799:136:1" + "src": "61500:142:0" }, { "children": [ @@ -75835,7 +75835,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -75847,21 +75847,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3373, + "id": 2865, "name": "ElementaryTypeName", - "src": "59962:7:1" + "src": "61670:7:0" } ], - "id": 3374, + "id": 2866, "name": "VariableDeclaration", - "src": "59962:15:1" + "src": "61670:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -75873,19 +75873,19 @@ "name": "string", "type": "string" }, - "id": 3375, + "id": 2867, "name": "ElementaryTypeName", - "src": "59979:6:1" + "src": "61687:6:0" } ], - "id": 3376, + "id": 2868, "name": "VariableDeclaration", - "src": "59979:23:1" + "src": "61687:23:0" } ], - "id": 3377, + "id": 2869, "name": "ParameterList", - "src": "59961:42:1" + "src": "61669:42:0" }, { "attributes": { @@ -75894,9 +75894,9 @@ ] }, "children": [], - "id": 3378, + "id": 2870, "name": "ParameterList", - "src": "60021:0:1" + "src": "61729:0:0" }, { "children": [ @@ -75937,9 +75937,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3379, + "id": 2871, "name": "Identifier", - "src": "60031:7:1" + "src": "61740:7:0" }, { "attributes": { @@ -75967,31 +75967,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3380, + "id": 2872, "name": "Identifier", - "src": "60039:7:1" + "src": "61748:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3381, + "id": 2873, "name": "Identifier", - "src": "60047:7:1" + "src": "61756:7:0" } ], - "id": 3382, + "id": 2874, "name": "FunctionCall", - "src": "60039:16:1" + "src": "61748:16:0" }, { "attributes": { @@ -76004,19 +76004,19 @@ "type": "literal_string \"ERC721Metadata: URI set of nonexistent token\"", "value": "ERC721Metadata: URI set of nonexistent token" }, - "id": 3383, + "id": 2875, "name": "Literal", - "src": "60057:46:1" + "src": "61766:46:0" } ], - "id": 3384, + "id": 2876, "name": "FunctionCall", - "src": "60031:73:1" + "src": "61740:73:0" } ], - "id": 3385, + "id": 2877, "name": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "children": [ @@ -76044,64 +76044,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3386, + "id": 2878, "name": "Identifier", - "src": "60114:10:1" + "src": "61824:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3387, + "id": 2879, "name": "Identifier", - "src": "60125:7:1" + "src": "61835:7:0" } ], - "id": 3388, + "id": 2880, "name": "IndexAccess", - "src": "60114:19:1" + "src": "61824:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3376, + "referencedDeclaration": 2868, "type": "string memory", "value": "_tokenURI" }, - "id": 3389, + "id": 2881, "name": "Identifier", - "src": "60136:9:1" + "src": "61846:9:0" } ], - "id": 3390, + "id": 2882, "name": "Assignment", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3391, + "id": 2883, "name": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3392, + "id": 2884, "name": "Block", - "src": "60021:131:1" + "src": "61729:134:0" } ], - "id": 3393, + "id": 2885, "name": "FunctionDefinition", - "src": "59940:212:1" + "src": "61648:215:0" }, { "attributes": { @@ -76112,7 +76112,7 @@ null ], "name": "_setBaseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -76122,9 +76122,9 @@ "attributes": { "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3394, + "id": 2886, "name": "StructuredDocumentation", - "src": "60158:212:1" + "src": "61871:216:0" }, { "children": [ @@ -76133,7 +76133,7 @@ "constant": false, "mutability": "mutable", "name": "baseURI_", - "scope": 3404, + "scope": 2896, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -76145,19 +76145,19 @@ "name": "string", "type": "string" }, - "id": 3395, + "id": 2887, "name": "ElementaryTypeName", - "src": "60396:6:1" + "src": "62114:6:0" } ], - "id": 3396, + "id": 2888, "name": "VariableDeclaration", - "src": "60396:22:1" + "src": "62114:22:0" } ], - "id": 3397, + "id": 2889, "name": "ParameterList", - "src": "60395:24:1" + "src": "62113:24:0" }, { "attributes": { @@ -76166,9 +76166,9 @@ ] }, "children": [], - "id": 3398, + "id": 2890, "name": "ParameterList", - "src": "60437:0:1" + "src": "62155:0:0" }, { "children": [ @@ -76189,46 +76189,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 3399, + "id": 2891, "name": "Identifier", - "src": "60447:8:1" + "src": "62166:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3396, + "referencedDeclaration": 2888, "type": "string memory", "value": "baseURI_" }, - "id": 3400, + "id": 2892, "name": "Identifier", - "src": "60458:8:1" + "src": "62177:8:0" } ], - "id": 3401, + "id": 2893, "name": "Assignment", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3402, + "id": 2894, "name": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3403, + "id": 2895, "name": "Block", - "src": "60437:36:1" + "src": "62155:38:0" } ], - "id": 3404, + "id": 2896, "name": "FunctionDefinition", - "src": "60375:98:1" + "src": "62093:100:0" }, { "attributes": { @@ -76239,7 +76239,7 @@ null ], "name": "_checkOnERC721Received", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -76249,9 +76249,9 @@ "attributes": { "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3405, + "id": 2897, "name": "StructuredDocumentation", - "src": "60479:542:1" + "src": "62201:551:0" }, { "children": [ @@ -76260,7 +76260,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76273,21 +76273,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3406, + "id": 2898, "name": "ElementaryTypeName", - "src": "61058:7:1" + "src": "62790:7:0" } ], - "id": 3407, + "id": 2899, "name": "VariableDeclaration", - "src": "61058:12:1" + "src": "62790:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76300,21 +76300,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3408, + "id": 2900, "name": "ElementaryTypeName", - "src": "61072:7:1" + "src": "62804:7:0" } ], - "id": 3409, + "id": 2901, "name": "VariableDeclaration", - "src": "61072:10:1" + "src": "62804:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -76326,21 +76326,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3410, + "id": 2902, "name": "ElementaryTypeName", - "src": "61084:7:1" + "src": "62816:7:0" } ], - "id": 3411, + "id": 2903, "name": "VariableDeclaration", - "src": "61084:15:1" + "src": "62816:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76352,19 +76352,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3412, + "id": 2904, "name": "ElementaryTypeName", - "src": "61101:5:1" + "src": "62833:5:0" } ], - "id": 3413, + "id": 2905, "name": "VariableDeclaration", - "src": "61101:18:1" + "src": "62833:18:0" } ], - "id": 3414, + "id": 2906, "name": "ParameterList", - "src": "61057:63:1" + "src": "62789:63:0" }, { "children": [ @@ -76373,7 +76373,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -76385,19 +76385,19 @@ "name": "bool", "type": "bool" }, - "id": 3415, + "id": 2907, "name": "ElementaryTypeName", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3416, + "id": 2908, "name": "VariableDeclaration", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3417, + "id": 2909, "name": "ParameterList", - "src": "61145:6:1" + "src": "62878:6:0" }, { "children": [ @@ -76443,7 +76443,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isContract", - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)" }, "children": [ @@ -76452,34 +76452,34 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3418, + "id": 2910, "name": "Identifier", - "src": "61171:2:1" + "src": "62906:2:0" } ], - "id": 3419, + "id": 2911, "name": "MemberAccess", - "src": "61171:13:1" + "src": "62906:13:0" } ], - "id": 3420, + "id": 2912, "name": "FunctionCall", - "src": "61171:15:1" + "src": "62906:15:0" } ], - "id": 3421, + "id": 2913, "name": "UnaryOperation", - "src": "61170:16:1" + "src": "62905:16:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -76493,29 +76493,29 @@ "type": "bool", "value": "true" }, - "id": 3422, + "id": 2914, "name": "Literal", - "src": "61209:4:1" + "src": "62945:4:0" } ], - "id": 3423, + "id": 2915, "name": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ], - "id": 3424, + "id": 2916, "name": "Block", - "src": "61188:36:1" + "src": "62923:38:0" } ], - "id": 3425, + "id": 2917, "name": "IfStatement", - "src": "61166:58:1" + "src": "62901:60:0" }, { "attributes": { "assignments": [ - 3427 + 2919 ] }, "children": [ @@ -76524,7 +76524,7 @@ "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76536,14 +76536,14 @@ "name": "bytes", "type": "bytes" }, - "id": 3426, + "id": 2918, "name": "ElementaryTypeName", - "src": "61233:5:1" + "src": "62971:5:0" } ], - "id": 3427, + "id": 2919, "name": "VariableDeclaration", - "src": "61233:23:1" + "src": "62971:23:0" }, { "attributes": { @@ -76577,7 +76577,7 @@ "isPure": false, "lValueRequested": false, "member_name": "functionCall", - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)" }, "children": [ @@ -76586,18 +76586,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3428, + "id": 2920, "name": "Identifier", - "src": "61259:2:1" + "src": "62997:2:0" } ], - "id": 3429, + "id": 2921, "name": "MemberAccess", - "src": "61259:15:1" + "src": "62997:15:0" }, { "attributes": { @@ -76655,14 +76655,14 @@ "type": "abi", "value": "abi" }, - "id": 3430, + "id": 2922, "name": "Identifier", - "src": "61275:3:1" + "src": "63013:3:0" } ], - "id": 3431, + "id": 2923, "name": "MemberAccess", - "src": "61275:22:1" + "src": "63013:22:0" }, { "attributes": { @@ -76681,7 +76681,7 @@ "isPure": false, "lValueRequested": false, "member_name": "onERC721Received", - "referencedDeclaration": 725, + "referencedDeclaration": 217, "type": "function (address,address,uint256,bytes memory) external returns (bytes4)" }, "children": [ @@ -76711,41 +76711,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 726, + "referencedDeclaration": 218, "type": "type(contract IERC721Receiver)", "value": "IERC721Receiver" }, - "id": 3432, + "id": 2924, "name": "Identifier", - "src": "61311:15:1" + "src": "63050:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3433, + "id": 2925, "name": "Identifier", - "src": "61327:2:1" + "src": "63066:2:0" } ], - "id": 3434, + "id": 2926, "name": "FunctionCall", - "src": "61311:19:1" + "src": "63050:19:0" } ], - "id": 3435, + "id": 2927, "name": "MemberAccess", - "src": "61311:36:1" + "src": "63050:36:0" } ], - "id": 3436, + "id": 2928, "name": "MemberAccess", - "src": "61311:45:1" + "src": "63050:45:0" }, { "attributes": { @@ -76773,62 +76773,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3437, + "id": 2929, "name": "Identifier", - "src": "61370:10:1" + "src": "63110:10:0" } ], - "id": 3438, + "id": 2930, "name": "FunctionCall", - "src": "61370:12:1" + "src": "63110:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3407, + "referencedDeclaration": 2899, "type": "address", "value": "from" }, - "id": 3439, + "id": 2931, "name": "Identifier", - "src": "61396:4:1" + "src": "63137:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3411, + "referencedDeclaration": 2903, "type": "uint256", "value": "tokenId" }, - "id": 3440, + "id": 2932, "name": "Identifier", - "src": "61414:7:1" + "src": "63156:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3413, + "referencedDeclaration": 2905, "type": "bytes memory", "value": "_data" }, - "id": 3441, + "id": 2933, "name": "Identifier", - "src": "61435:5:1" + "src": "63178:5:0" } ], - "id": 3442, + "id": 2934, "name": "FunctionCall", - "src": "61275:175:1" + "src": "63013:181:0" }, { "attributes": { @@ -76841,24 +76841,24 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3443, + "id": 2935, "name": "Literal", - "src": "61452:52:1" + "src": "63196:52:0" } ], - "id": 3444, + "id": 2936, "name": "FunctionCall", - "src": "61259:246:1" + "src": "62997:252:0" } ], - "id": 3445, + "id": 2937, "name": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "attributes": { "assignments": [ - 3447 + 2939 ] }, "children": [ @@ -76867,7 +76867,7 @@ "constant": false, "mutability": "mutable", "name": "retval", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -76879,14 +76879,14 @@ "name": "bytes4", "type": "bytes4" }, - "id": 3446, + "id": 2938, "name": "ElementaryTypeName", - "src": "61515:6:1" + "src": "63260:6:0" } ], - "id": 3447, + "id": 2939, "name": "VariableDeclaration", - "src": "61515:13:1" + "src": "63260:13:0" }, { "attributes": { @@ -76932,27 +76932,27 @@ "type": "abi", "value": "abi" }, - "id": 3448, + "id": 2940, "name": "Identifier", - "src": "61531:3:1" + "src": "63276:3:0" } ], - "id": 3449, + "id": 2941, "name": "MemberAccess", - "src": "61531:10:1" + "src": "63276:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3427, + "referencedDeclaration": 2919, "type": "bytes memory", "value": "returndata" }, - "id": 3450, + "id": 2942, "name": "Identifier", - "src": "61542:10:1" + "src": "63287:10:0" }, { "attributes": { @@ -76977,33 +76977,33 @@ "attributes": { "name": "bytes4" }, - "id": 3451, + "id": 2943, "name": "ElementaryTypeName", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3452, + "id": 2944, "name": "ElementaryTypeNameExpression", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3453, + "id": 2945, "name": "TupleExpression", - "src": "61554:8:1" + "src": "63299:8:0" } ], - "id": 3454, + "id": 2946, "name": "FunctionCall", - "src": "61531:32:1" + "src": "63276:32:0" } ], - "id": 3455, + "id": 2947, "name": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -77035,51 +77035,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3447, + "referencedDeclaration": 2939, "type": "bytes4", "value": "retval" }, - "id": 3456, + "id": 2948, "name": "Identifier", - "src": "61581:6:1" + "src": "63327:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2596, + "referencedDeclaration": 2088, "type": "bytes4", "value": "_ERC721_RECEIVED" }, - "id": 3457, + "id": 2949, "name": "Identifier", - "src": "61591:16:1" + "src": "63337:16:0" } ], - "id": 3458, + "id": 2950, "name": "BinaryOperation", - "src": "61581:26:1" + "src": "63327:26:0" } ], - "id": 3459, + "id": 2951, "name": "TupleExpression", - "src": "61580:28:1" + "src": "63326:28:0" } ], - "id": 3460, + "id": 2952, "name": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ], - "id": 3461, + "id": 2953, "name": "Block", - "src": "61156:459:1" + "src": "62890:472:0" } ], - "id": 3462, + "id": 2954, "name": "FunctionDefinition", - "src": "61026:589:1" + "src": "62758:604:0" }, { "attributes": { @@ -77090,7 +77090,7 @@ null ], "name": "_approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77100,9 +77100,9 @@ "attributes": { "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3463, + "id": 2955, "name": "StructuredDocumentation", - "src": "61621:101:1" + "src": "63370:105:0" }, { "children": [ @@ -77111,7 +77111,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77124,21 +77124,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3464, + "id": 2956, "name": "ElementaryTypeName", - "src": "61745:7:1" + "src": "63499:7:0" } ], - "id": 3465, + "id": 2957, "name": "VariableDeclaration", - "src": "61745:10:1" + "src": "63499:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77150,19 +77150,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3466, + "id": 2958, "name": "ElementaryTypeName", - "src": "61757:7:1" + "src": "63511:7:0" } ], - "id": 3467, + "id": 2959, "name": "VariableDeclaration", - "src": "61757:15:1" + "src": "63511:15:0" } ], - "id": 3468, + "id": 2960, "name": "ParameterList", - "src": "61744:29:1" + "src": "63498:29:0" }, { "attributes": { @@ -77171,9 +77171,9 @@ ] }, "children": [], - "id": 3469, + "id": 2961, "name": "ParameterList", - "src": "61791:0:1" + "src": "63545:0:0" }, { "children": [ @@ -77203,54 +77203,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 3470, + "id": 2962, "name": "Identifier", - "src": "61801:15:1" + "src": "63556:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3471, + "id": 2963, "name": "Identifier", - "src": "61817:7:1" + "src": "63572:7:0" } ], - "id": 3472, + "id": 2964, "name": "IndexAccess", - "src": "61801:24:1" + "src": "63556:24:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3473, + "id": 2965, "name": "Identifier", - "src": "61828:2:1" + "src": "63583:2:0" } ], - "id": 3474, + "id": 2966, "name": "Assignment", - "src": "61801:29:1" + "src": "63556:29:0" } ], - "id": 3475, + "id": 2967, "name": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "children": [ @@ -77288,13 +77288,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 563, + "referencedDeclaration": 55, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 3476, + "id": 2968, "name": "Identifier", - "src": "61845:8:1" + "src": "63601:8:0" }, { "attributes": { @@ -77324,7 +77324,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -77333,82 +77333,82 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3477, + "id": 2969, "name": "Identifier", - "src": "61854:6:1" + "src": "63610:6:0" } ], - "id": 3478, + "id": 2970, "name": "MemberAccess", - "src": "61854:14:1" + "src": "63610:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3479, + "id": 2971, "name": "Identifier", - "src": "61869:7:1" + "src": "63625:7:0" } ], - "id": 3480, + "id": 2972, "name": "FunctionCall", - "src": "61854:23:1" + "src": "63610:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3481, + "id": 2973, "name": "Identifier", - "src": "61879:2:1" + "src": "63635:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3482, + "id": 2974, "name": "Identifier", - "src": "61883:7:1" + "src": "63639:7:0" } ], - "id": 3483, + "id": 2975, "name": "FunctionCall", - "src": "61845:46:1" + "src": "63601:46:0" } ], - "id": 3484, + "id": 2976, "name": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ], - "id": 3485, + "id": 2977, "name": "Block", - "src": "61791:125:1" + "src": "63545:128:0" } ], - "id": 3486, + "id": 2978, "name": "FunctionDefinition", - "src": "61727:189:1" + "src": "63481:192:0" }, { "attributes": { @@ -77419,7 +77419,7 @@ null ], "name": "_beforeTokenTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77429,9 +77429,9 @@ "attributes": { "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3487, + "id": 2979, "name": "StructuredDocumentation", - "src": "61922:585:1" + "src": "63681:599:0" }, { "children": [ @@ -77440,7 +77440,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77453,21 +77453,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3488, + "id": 2980, "name": "ElementaryTypeName", - "src": "62542:7:1" + "src": "64316:7:0" } ], - "id": 3489, + "id": 2981, "name": "VariableDeclaration", - "src": "62542:12:1" + "src": "64316:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77480,21 +77480,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3490, + "id": 2982, "name": "ElementaryTypeName", - "src": "62556:7:1" + "src": "64330:7:0" } ], - "id": 3491, + "id": 2983, "name": "VariableDeclaration", - "src": "62556:10:1" + "src": "64330:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77506,19 +77506,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3492, + "id": 2984, "name": "ElementaryTypeName", - "src": "62568:7:1" + "src": "64342:7:0" } ], - "id": 3493, + "id": 2985, "name": "VariableDeclaration", - "src": "62568:15:1" + "src": "64342:15:0" } ], - "id": 3494, + "id": 2986, "name": "ParameterList", - "src": "62541:43:1" + "src": "64315:43:0" }, { "attributes": { @@ -77527,9 +77527,9 @@ ] }, "children": [], - "id": 3495, + "id": 2987, "name": "ParameterList", - "src": "62602:0:1" + "src": "64376:0:0" }, { "attributes": { @@ -77538,32 +77538,32 @@ ] }, "children": [], - "id": 3496, + "id": 2988, "name": "Block", - "src": "62602:3:1" + "src": "64376:3:0" } ], - "id": 3497, + "id": 2989, "name": "FunctionDefinition", - "src": "62512:93:1" + "src": "64286:93:0" } ], - "id": 3498, + "id": 2990, "name": "ContractDefinition", - "src": "46080:16527:1" + "src": "47398:16984:0" } ], - "id": 3499, + "id": 2991, "name": "SourceUnit", - "src": "84:62524:1" + "src": "87:64297:0" }, "compiler": { "name": "solc", "version": "0.7.6+commit.7338295f.Emscripten.clang" }, "networks": {}, - "schemaVersion": "3.3.4", - "updatedAt": "2021-03-13T11:18:07.194Z", + "schemaVersion": "3.4.3", + "updatedAt": "2021-10-13T09:55:46.959Z", "devdoc": { "details": "Implementation of the {IERC165} interface. Contracts may inherit from this and call {_registerInterface} to declare their support of an interface.", "kind": "dev", diff --git a/src/abis/ERC721.json b/src/abis/ERC721.json index 5ea50ac..71ebbf3 100644 --- a/src/abis/ERC721.json +++ b/src/abis/ERC721.json @@ -417,65 +417,65 @@ "type": "function" } ], - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":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\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"},{\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"see https://eips.ethereum.org/EIPS/eip-721\",\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"See {IERC721-approve}.\"},\"balanceOf(address)\":{\"details\":\"See {IERC721-balanceOf}.\"},\"baseURI()\":{\"details\":\"Returns the base URI set via {_setBaseURI}. This will be automatically added as a prefix in {tokenURI} to each token's URI, or to the token ID if no specific URI is set for that token ID.\"},\"constructor\":{\"details\":\"Initializes the contract by setting a `name` and a `symbol` to the token collection.\"},\"getApproved(uint256)\":{\"details\":\"See {IERC721-getApproved}.\"},\"isApprovedForAll(address,address)\":{\"details\":\"See {IERC721-isApprovedForAll}.\"},\"name()\":{\"details\":\"See {IERC721Metadata-name}.\"},\"ownerOf(uint256)\":{\"details\":\"See {IERC721-ownerOf}.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"See {IERC721-setApprovalForAll}.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas.\"},\"symbol()\":{\"details\":\"See {IERC721Metadata-symbol}.\"},\"tokenByIndex(uint256)\":{\"details\":\"See {IERC721Enumerable-tokenByIndex}.\"},\"tokenOfOwnerByIndex(address,uint256)\":{\"details\":\"See {IERC721Enumerable-tokenOfOwnerByIndex}.\"},\"tokenURI(uint256)\":{\"details\":\"See {IERC721Metadata-tokenURI}.\"},\"totalSupply()\":{\"details\":\"See {IERC721Enumerable-totalSupply}.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-transferFrom}.\"}},\"title\":\"ERC721 Non-Fungible Token Standard basic implementation\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":\"ERC721\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":{\"keccak256\":\"0xac9220652f9879c5fb3116025d59e8fbf6c2c3d149aed9f617b88edd31402044\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://48de100723de94a6590c6db5bae5098a93445194389c3f3eeb104c7239ef3044\",\"dweb:/ipfs/QmVHLEtfLqBqX7XQRHfLuuwtufRBFJFHfgY4zbFRpaZwXC\"]}},\"version\":1}", - "bytecode": "0x60806040523480156200001157600080fd5b5060405162002b4238038062002b42833981810160405260408110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b838201915060208201858111156200006f57600080fd5b82518660018202830111640100000000821117156200008d57600080fd5b8083526020830192505050908051906020019080838360005b83811015620000c3578082015181840152602081019050620000a6565b50505050905090810190601f168015620000f15780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011557600080fd5b838201915060208201858111156200012c57600080fd5b82518660018202830111640100000000821117156200014a57600080fd5b8083526020830192505050908051906020019080838360005b838110156200018057808201518184015260208101905062000163565b50505050905090810190601f168015620001ae5780820380516001836020036101000a031916815260200191505b50604052505050620001cd6301ffc9a760e01b6200024f60201b60201c565b8160069080519060200190620001e592919062000358565b508060079080519060200190620001fe92919062000358565b50620002176380ac58cd60e01b6200024f60201b60201c565b6200022f635b5e139f60e01b6200024f60201b60201c565b6200024763780e9d6360e01b6200024f60201b60201c565b50506200040e565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415620002ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433136353a20696e76616c696420696e746572666163652069640000000081525060200191505060405180910390fd5b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620003905760008555620003dc565b82601f10620003ab57805160ff1916838001178555620003dc565b82800160010185558215620003dc579182015b82811115620003db578251825591602001919060010190620003be565b5b509050620003eb9190620003ef565b5090565b5b808211156200040a576000816000905550600101620003f0565b5090565b612724806200041e6000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80634f6ccce7116100a257806395d89b411161007157806395d89b411461056d578063a22cb465146105f0578063b88d4fde14610640578063c87b56dd14610745578063e985e9c5146107ec5761010b565b80634f6ccce7146103f85780636352211e1461043a5780636c0360eb1461049257806370a08231146105155761010b565b806318160ddd116100de57806318160ddd1461029c57806323b872dd146102ba5780632f745c591461032857806342842e0e1461038a5761010b565b806301ffc9a71461011057806306fdde0314610173578063081812fc146101f6578063095ea7b31461024e575b600080fd5b61015b6004803603602081101561012657600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610866565b60405180821515815260200191505060405180910390f35b61017b6108cd565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101bb5780820151818401526020810190506101a0565b50505050905090810190601f1680156101e85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102226004803603602081101561020c57600080fd5b810190808035906020019092919050505061096f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61029a6004803603604081101561026457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610a0a565b005b6102a4610b4e565b6040518082815260200191505060405180910390f35b610326600480360360608110156102d057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b5f565b005b6103746004803603604081101561033e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610bd5565b6040518082815260200191505060405180910390f35b6103f6600480360360608110156103a057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610c30565b005b6104246004803603602081101561040e57600080fd5b8101908080359060200190929190505050610c50565b6040518082815260200191505060405180910390f35b6104666004803603602081101561045057600080fd5b8101908080359060200190929190505050610c73565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61049a610caa565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104da5780820151818401526020810190506104bf565b50505050905090810190601f1680156105075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6105576004803603602081101561052b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d4c565b6040518082815260200191505060405180910390f35b610575610e21565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156105b557808201518184015260208101905061059a565b50505050905090810190601f1680156105e25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61063e6004803603604081101561060657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610ec3565b005b6107436004803603608081101561065657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001906401000000008111156106bd57600080fd5b8201836020820111156106cf57600080fd5b803590602001918460018302840111640100000000831117156106f157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611079565b005b6107716004803603602081101561075b57600080fd5b81019080803590602001909291905050506110f1565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156107b1578082015181840152602081019050610796565b50505050905090810190601f1680156107de5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61084e6004803603604081101561080257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113c2565b60405180821515815260200191505060405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109655780601f1061093a57610100808354040283529160200191610965565b820191906000526020600020905b81548152906001019060200180831161094857829003601f168201915b5050505050905090565b600061097a82611456565b6109cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180612619602c913960400191505060405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a1582610c73565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a9c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061269d6021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610abb611473565b73ffffffffffffffffffffffffffffffffffffffff161480610aea5750610ae981610ae4611473565b6113c2565b5b610b3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603881526020018061256c6038913960400191505060405180910390fd5b610b49838361147b565b505050565b6000610b5a6002611534565b905090565b610b70610b6a611473565b82611549565b610bc5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806126be6031913960400191505060405180910390fd5b610bd083838361163d565b505050565b6000610c2882600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061188090919063ffffffff16565b905092915050565b610c4b83838360405180602001604052806000815250611079565b505050565b600080610c6783600261189a90919063ffffffff16565b50905080915050919050565b6000610ca3826040518060600160405280602981526020016125ce6029913960026118c69092919063ffffffff16565b9050919050565b606060098054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d425780601f10610d1757610100808354040283529160200191610d42565b820191906000526020600020905b815481529060010190602001808311610d2557829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806125a4602a913960400191505060405180910390fd5b610e1a600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206118e5565b9050919050565b606060078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610eb95780601f10610e8e57610100808354040283529160200191610eb9565b820191906000526020600020905b815481529060010190602001808311610e9c57829003601f168201915b5050505050905090565b610ecb611473565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f6c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b8060056000610f79611473565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611026611473565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b61108a611084611473565b83611549565b6110df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806126be6031913960400191505060405180910390fd5b6110eb848484846118fa565b50505050565b60606110fc82611456565b611151576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018061266e602f913960400191505060405180910390fd5b6000600860008481526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111fa5780601f106111cf576101008083540402835291602001916111fa565b820191906000526020600020905b8154815290600101906020018083116111dd57829003601f168201915b50505050509050600061120b610caa565b90506000815114156112215781925050506113bd565b6000825111156112f25780826040516020018083805190602001908083835b602083106112635780518252602082019150602081019050602083039250611240565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106112b45780518252602082019150602081019050602083039250611291565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052925050506113bd565b806112fc8561196c565b6040516020018083805190602001908083835b60208310611332578051825260208201915060208101905060208303925061130f565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106113835780518252602082019150602081019050602083039250611360565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052925050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600061146c826002611ab390919063ffffffff16565b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166114ee83610c73565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061154282600001611acd565b9050919050565b600061155482611456565b6115a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180612540602c913960400191505060405180910390fd5b60006115b483610c73565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061162357508373ffffffffffffffffffffffffffffffffffffffff1661160b8461096f565b73ffffffffffffffffffffffffffffffffffffffff16145b80611634575061163381856113c2565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661165d82610c73565b73ffffffffffffffffffffffffffffffffffffffff16146116c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806126456029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561174f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806124f66024913960400191505060405180910390fd5b61175a838383611ade565b61176560008261147b565b6117b681600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611ae390919063ffffffff16565b5061180881600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611afd90919063ffffffff16565b5061181f81836002611b179092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061188f8360000183611b4c565b60001c905092915050565b6000806000806118ad8660000186611bcf565b915091508160001c8160001c9350935050509250929050565b60006118d9846000018460001b84611c68565b60001c90509392505050565b60006118f382600001611d5e565b9050919050565b61190584848461163d565b61191184848484611d6f565b611966576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806124c46032913960400191505060405180910390fd5b50505050565b606060008214156119b4576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611aae565b600082905060005b600082146119de578080600101915050600a82816119d657fe5b0491506119bc565b60008167ffffffffffffffff811180156119f757600080fd5b506040519080825280601f01601f191660200182016040528015611a2a5781602001600182028036833780820191505090505b50905060006001830390508593505b60008414611aa657600a8481611a4b57fe5b0660300160f81b82828060019003935081518110611a6557fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8481611a9e57fe5b049350611a39565b819450505050505b919050565b6000611ac5836000018360001b611f88565b905092915050565b600081600001805490509050919050565b505050565b6000611af5836000018360001b611fab565b905092915050565b6000611b0f836000018360001b612093565b905092915050565b6000611b43846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b612103565b90509392505050565b600081836000018054905011611bad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806124a26022913960400191505060405180910390fd5b826000018281548110611bbc57fe5b9060005260206000200154905092915050565b60008082846000018054905011611c31576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806125f76022913960400191505060405180910390fd5b6000846000018481548110611c4257fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390611d2f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611cf4578082015181840152602081019050611cd9565b50505050905090810190601f168015611d215780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110611d4257fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b6000611d908473ffffffffffffffffffffffffffffffffffffffff166121df565b611d9d5760019050611f80565b6000611f0763150b7a0260e01b611db2611473565b888787604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611e36578082015181840152602081019050611e1b565b50505050905090810190601f168015611e635780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060600160405280603281526020016124c4603291398773ffffffffffffffffffffffffffffffffffffffff166121f29092919063ffffffff16565b90506000818060200190516020811015611f2057600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b600080836001016000848152602001908152602001600020541415905092915050565b600080836001016000848152602001908152602001600020549050600081146120875760006001820390506000600186600001805490500390506000866000018281548110611ff657fe5b906000526020600020015490508087600001848154811061201357fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061204b57fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061208d565b60009150505b92915050565b600061209f838361220a565b6120f85782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506120fd565b600090505b92915050565b60008084600101600085815260200190815260200160002054905060008114156121aa578460000160405180604001604052808681526020018581525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010155505084600001805490508560010160008681526020019081526020016000208190555060019150506121d8565b828560000160018303815481106121bd57fe5b90600052602060002090600202016001018190555060009150505b9392505050565b600080823b905060008111915050919050565b6060612201848460008561222d565b90509392505050565b600080836001016000848152602001908152602001600020541415905092915050565b606082471015612288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061251a6026913960400191505060405180910390fd5b612291856121df565b612303576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310612352578051825260208201915060208101905060208303925061232f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146123b4576040519150601f19603f3d011682016040523d82523d6000602084013e6123b9565b606091505b50915091506123c98282866123d5565b92505050949350505050565b606083156123e55782905061249a565b6000835111156123f85782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561245f578082015181840152602081019050612444565b50505050905090810190601f16801561248c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a26469706673582212205ae7703f0360bf1ceb1b85a37e056f5b09a69c9c5e0f7b93555c74875233a60864736f6c63430007060033", - "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80634f6ccce7116100a257806395d89b411161007157806395d89b411461056d578063a22cb465146105f0578063b88d4fde14610640578063c87b56dd14610745578063e985e9c5146107ec5761010b565b80634f6ccce7146103f85780636352211e1461043a5780636c0360eb1461049257806370a08231146105155761010b565b806318160ddd116100de57806318160ddd1461029c57806323b872dd146102ba5780632f745c591461032857806342842e0e1461038a5761010b565b806301ffc9a71461011057806306fdde0314610173578063081812fc146101f6578063095ea7b31461024e575b600080fd5b61015b6004803603602081101561012657600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610866565b60405180821515815260200191505060405180910390f35b61017b6108cd565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101bb5780820151818401526020810190506101a0565b50505050905090810190601f1680156101e85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102226004803603602081101561020c57600080fd5b810190808035906020019092919050505061096f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61029a6004803603604081101561026457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610a0a565b005b6102a4610b4e565b6040518082815260200191505060405180910390f35b610326600480360360608110156102d057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b5f565b005b6103746004803603604081101561033e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610bd5565b6040518082815260200191505060405180910390f35b6103f6600480360360608110156103a057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610c30565b005b6104246004803603602081101561040e57600080fd5b8101908080359060200190929190505050610c50565b6040518082815260200191505060405180910390f35b6104666004803603602081101561045057600080fd5b8101908080359060200190929190505050610c73565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61049a610caa565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104da5780820151818401526020810190506104bf565b50505050905090810190601f1680156105075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6105576004803603602081101561052b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d4c565b6040518082815260200191505060405180910390f35b610575610e21565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156105b557808201518184015260208101905061059a565b50505050905090810190601f1680156105e25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61063e6004803603604081101561060657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610ec3565b005b6107436004803603608081101561065657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001906401000000008111156106bd57600080fd5b8201836020820111156106cf57600080fd5b803590602001918460018302840111640100000000831117156106f157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611079565b005b6107716004803603602081101561075b57600080fd5b81019080803590602001909291905050506110f1565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156107b1578082015181840152602081019050610796565b50505050905090810190601f1680156107de5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61084e6004803603604081101561080257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113c2565b60405180821515815260200191505060405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109655780601f1061093a57610100808354040283529160200191610965565b820191906000526020600020905b81548152906001019060200180831161094857829003601f168201915b5050505050905090565b600061097a82611456565b6109cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180612619602c913960400191505060405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a1582610c73565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a9c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061269d6021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610abb611473565b73ffffffffffffffffffffffffffffffffffffffff161480610aea5750610ae981610ae4611473565b6113c2565b5b610b3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603881526020018061256c6038913960400191505060405180910390fd5b610b49838361147b565b505050565b6000610b5a6002611534565b905090565b610b70610b6a611473565b82611549565b610bc5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806126be6031913960400191505060405180910390fd5b610bd083838361163d565b505050565b6000610c2882600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061188090919063ffffffff16565b905092915050565b610c4b83838360405180602001604052806000815250611079565b505050565b600080610c6783600261189a90919063ffffffff16565b50905080915050919050565b6000610ca3826040518060600160405280602981526020016125ce6029913960026118c69092919063ffffffff16565b9050919050565b606060098054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d425780601f10610d1757610100808354040283529160200191610d42565b820191906000526020600020905b815481529060010190602001808311610d2557829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806125a4602a913960400191505060405180910390fd5b610e1a600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206118e5565b9050919050565b606060078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610eb95780601f10610e8e57610100808354040283529160200191610eb9565b820191906000526020600020905b815481529060010190602001808311610e9c57829003601f168201915b5050505050905090565b610ecb611473565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f6c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b8060056000610f79611473565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611026611473565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b61108a611084611473565b83611549565b6110df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806126be6031913960400191505060405180910390fd5b6110eb848484846118fa565b50505050565b60606110fc82611456565b611151576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018061266e602f913960400191505060405180910390fd5b6000600860008481526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111fa5780601f106111cf576101008083540402835291602001916111fa565b820191906000526020600020905b8154815290600101906020018083116111dd57829003601f168201915b50505050509050600061120b610caa565b90506000815114156112215781925050506113bd565b6000825111156112f25780826040516020018083805190602001908083835b602083106112635780518252602082019150602081019050602083039250611240565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106112b45780518252602082019150602081019050602083039250611291565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052925050506113bd565b806112fc8561196c565b6040516020018083805190602001908083835b60208310611332578051825260208201915060208101905060208303925061130f565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106113835780518252602082019150602081019050602083039250611360565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052925050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600061146c826002611ab390919063ffffffff16565b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166114ee83610c73565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061154282600001611acd565b9050919050565b600061155482611456565b6115a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180612540602c913960400191505060405180910390fd5b60006115b483610c73565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061162357508373ffffffffffffffffffffffffffffffffffffffff1661160b8461096f565b73ffffffffffffffffffffffffffffffffffffffff16145b80611634575061163381856113c2565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661165d82610c73565b73ffffffffffffffffffffffffffffffffffffffff16146116c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806126456029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561174f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806124f66024913960400191505060405180910390fd5b61175a838383611ade565b61176560008261147b565b6117b681600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611ae390919063ffffffff16565b5061180881600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611afd90919063ffffffff16565b5061181f81836002611b179092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061188f8360000183611b4c565b60001c905092915050565b6000806000806118ad8660000186611bcf565b915091508160001c8160001c9350935050509250929050565b60006118d9846000018460001b84611c68565b60001c90509392505050565b60006118f382600001611d5e565b9050919050565b61190584848461163d565b61191184848484611d6f565b611966576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806124c46032913960400191505060405180910390fd5b50505050565b606060008214156119b4576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611aae565b600082905060005b600082146119de578080600101915050600a82816119d657fe5b0491506119bc565b60008167ffffffffffffffff811180156119f757600080fd5b506040519080825280601f01601f191660200182016040528015611a2a5781602001600182028036833780820191505090505b50905060006001830390508593505b60008414611aa657600a8481611a4b57fe5b0660300160f81b82828060019003935081518110611a6557fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8481611a9e57fe5b049350611a39565b819450505050505b919050565b6000611ac5836000018360001b611f88565b905092915050565b600081600001805490509050919050565b505050565b6000611af5836000018360001b611fab565b905092915050565b6000611b0f836000018360001b612093565b905092915050565b6000611b43846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b612103565b90509392505050565b600081836000018054905011611bad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806124a26022913960400191505060405180910390fd5b826000018281548110611bbc57fe5b9060005260206000200154905092915050565b60008082846000018054905011611c31576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806125f76022913960400191505060405180910390fd5b6000846000018481548110611c4257fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390611d2f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611cf4578082015181840152602081019050611cd9565b50505050905090810190601f168015611d215780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110611d4257fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b6000611d908473ffffffffffffffffffffffffffffffffffffffff166121df565b611d9d5760019050611f80565b6000611f0763150b7a0260e01b611db2611473565b888787604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611e36578082015181840152602081019050611e1b565b50505050905090810190601f168015611e635780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060600160405280603281526020016124c4603291398773ffffffffffffffffffffffffffffffffffffffff166121f29092919063ffffffff16565b90506000818060200190516020811015611f2057600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b600080836001016000848152602001908152602001600020541415905092915050565b600080836001016000848152602001908152602001600020549050600081146120875760006001820390506000600186600001805490500390506000866000018281548110611ff657fe5b906000526020600020015490508087600001848154811061201357fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061204b57fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061208d565b60009150505b92915050565b600061209f838361220a565b6120f85782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506120fd565b600090505b92915050565b60008084600101600085815260200190815260200160002054905060008114156121aa578460000160405180604001604052808681526020018581525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010155505084600001805490508560010160008681526020019081526020016000208190555060019150506121d8565b828560000160018303815481106121bd57fe5b90600052602060002090600202016001018190555060009150505b9392505050565b600080823b905060008111915050919050565b6060612201848460008561222d565b90509392505050565b600080836001016000848152602001908152602001600020541415905092915050565b606082471015612288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061251a6026913960400191505060405180910390fd5b612291856121df565b612303576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310612352578051825260208201915060208101905060208303925061232f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146123b4576040519150601f19603f3d011682016040523d82523d6000602084013e6123b9565b606091505b50915091506123c98282866123d5565b92505050949350505050565b606083156123e55782905061249a565b6000835111156123f85782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561245f578082015181840152602081019050612444565b50505050905090810190601f16801561248c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a26469706673582212205ae7703f0360bf1ceb1b85a37e056f5b09a69c9c5e0f7b93555c74875233a60864736f6c63430007060033", + "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"string\",\"name\":\"name_\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"symbol_\",\"type\":\"string\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":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\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"},{\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"see https://eips.ethereum.org/EIPS/eip-721\",\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"See {IERC721-approve}.\"},\"balanceOf(address)\":{\"details\":\"See {IERC721-balanceOf}.\"},\"baseURI()\":{\"details\":\"Returns the base URI set via {_setBaseURI}. This will be automatically added as a prefix in {tokenURI} to each token's URI, or to the token ID if no specific URI is set for that token ID.\"},\"constructor\":{\"details\":\"Initializes the contract by setting a `name` and a `symbol` to the token collection.\"},\"getApproved(uint256)\":{\"details\":\"See {IERC721-getApproved}.\"},\"isApprovedForAll(address,address)\":{\"details\":\"See {IERC721-isApprovedForAll}.\"},\"name()\":{\"details\":\"See {IERC721Metadata-name}.\"},\"ownerOf(uint256)\":{\"details\":\"See {IERC721-ownerOf}.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"See {IERC721-setApprovalForAll}.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas.\"},\"symbol()\":{\"details\":\"See {IERC721Metadata-symbol}.\"},\"tokenByIndex(uint256)\":{\"details\":\"See {IERC721Enumerable-tokenByIndex}.\"},\"tokenOfOwnerByIndex(address,uint256)\":{\"details\":\"See {IERC721Enumerable-tokenOfOwnerByIndex}.\"},\"tokenURI(uint256)\":{\"details\":\"See {IERC721Metadata-tokenURI}.\"},\"totalSupply()\":{\"details\":\"See {IERC721Enumerable-totalSupply}.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-transferFrom}.\"}},\"title\":\"ERC721 Non-Fungible Token Standard basic implementation\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/src/contracts/ERC721.sol\":\"ERC721\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/src/contracts/ERC721.sol\":{\"keccak256\":\"0xbbf5d35e3785428d14b29cf40a6a1f82d9275af46f6f80ec5f330615911aa767\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e5479e3deda288fc9c642c0449113673031cb9834a3507621d5bd7e292969e16\",\"dweb:/ipfs/QmcKjBg55emL46LCBPRw1Y79fz3aGiMiQXFeWcDpJisEgJ\"]}},\"version\":1}", + "bytecode": "0x60806040523480156200001157600080fd5b5060405162002b4238038062002b42833981810160405260408110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b838201915060208201858111156200006f57600080fd5b82518660018202830111640100000000821117156200008d57600080fd5b8083526020830192505050908051906020019080838360005b83811015620000c3578082015181840152602081019050620000a6565b50505050905090810190601f168015620000f15780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011557600080fd5b838201915060208201858111156200012c57600080fd5b82518660018202830111640100000000821117156200014a57600080fd5b8083526020830192505050908051906020019080838360005b838110156200018057808201518184015260208101905062000163565b50505050905090810190601f168015620001ae5780820380516001836020036101000a031916815260200191505b50604052505050620001cd6301ffc9a760e01b6200024f60201b60201c565b8160069080519060200190620001e592919062000358565b508060079080519060200190620001fe92919062000358565b50620002176380ac58cd60e01b6200024f60201b60201c565b6200022f635b5e139f60e01b6200024f60201b60201c565b6200024763780e9d6360e01b6200024f60201b60201c565b50506200040e565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415620002ec576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433136353a20696e76616c696420696e746572666163652069640000000081525060200191505060405180910390fd5b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620003905760008555620003dc565b82601f10620003ab57805160ff1916838001178555620003dc565b82800160010185558215620003dc579182015b82811115620003db578251825591602001919060010190620003be565b5b509050620003eb9190620003ef565b5090565b5b808211156200040a576000816000905550600101620003f0565b5090565b612724806200041e6000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c80634f6ccce7116100a257806395d89b411161007157806395d89b411461056d578063a22cb465146105f0578063b88d4fde14610640578063c87b56dd14610745578063e985e9c5146107ec5761010b565b80634f6ccce7146103f85780636352211e1461043a5780636c0360eb1461049257806370a08231146105155761010b565b806318160ddd116100de57806318160ddd1461029c57806323b872dd146102ba5780632f745c591461032857806342842e0e1461038a5761010b565b806301ffc9a71461011057806306fdde0314610173578063081812fc146101f6578063095ea7b31461024e575b600080fd5b61015b6004803603602081101561012657600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610866565b60405180821515815260200191505060405180910390f35b61017b6108cd565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101bb5780820151818401526020810190506101a0565b50505050905090810190601f1680156101e85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102226004803603602081101561020c57600080fd5b810190808035906020019092919050505061096f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61029a6004803603604081101561026457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610a0a565b005b6102a4610b4e565b6040518082815260200191505060405180910390f35b610326600480360360608110156102d057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b5f565b005b6103746004803603604081101561033e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610bd5565b6040518082815260200191505060405180910390f35b6103f6600480360360608110156103a057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610c30565b005b6104246004803603602081101561040e57600080fd5b8101908080359060200190929190505050610c50565b6040518082815260200191505060405180910390f35b6104666004803603602081101561045057600080fd5b8101908080359060200190929190505050610c73565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61049a610caa565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104da5780820151818401526020810190506104bf565b50505050905090810190601f1680156105075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6105576004803603602081101561052b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d4c565b6040518082815260200191505060405180910390f35b610575610e21565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156105b557808201518184015260208101905061059a565b50505050905090810190601f1680156105e25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61063e6004803603604081101561060657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610ec3565b005b6107436004803603608081101561065657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001906401000000008111156106bd57600080fd5b8201836020820111156106cf57600080fd5b803590602001918460018302840111640100000000831117156106f157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611079565b005b6107716004803603602081101561075b57600080fd5b81019080803590602001909291905050506110f1565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156107b1578082015181840152602081019050610796565b50505050905090810190601f1680156107de5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61084e6004803603604081101561080257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113c2565b60405180821515815260200191505060405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109655780601f1061093a57610100808354040283529160200191610965565b820191906000526020600020905b81548152906001019060200180831161094857829003601f168201915b5050505050905090565b600061097a82611456565b6109cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180612619602c913960400191505060405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a1582610c73565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a9c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061269d6021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610abb611473565b73ffffffffffffffffffffffffffffffffffffffff161480610aea5750610ae981610ae4611473565b6113c2565b5b610b3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603881526020018061256c6038913960400191505060405180910390fd5b610b49838361147b565b505050565b6000610b5a6002611534565b905090565b610b70610b6a611473565b82611549565b610bc5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806126be6031913960400191505060405180910390fd5b610bd083838361163d565b505050565b6000610c2882600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061188090919063ffffffff16565b905092915050565b610c4b83838360405180602001604052806000815250611079565b505050565b600080610c6783600261189a90919063ffffffff16565b50905080915050919050565b6000610ca3826040518060600160405280602981526020016125ce6029913960026118c69092919063ffffffff16565b9050919050565b606060098054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d425780601f10610d1757610100808354040283529160200191610d42565b820191906000526020600020905b815481529060010190602001808311610d2557829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806125a4602a913960400191505060405180910390fd5b610e1a600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206118e5565b9050919050565b606060078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610eb95780601f10610e8e57610100808354040283529160200191610eb9565b820191906000526020600020905b815481529060010190602001808311610e9c57829003601f168201915b5050505050905090565b610ecb611473565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f6c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b8060056000610f79611473565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611026611473565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b61108a611084611473565b83611549565b6110df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806126be6031913960400191505060405180910390fd5b6110eb848484846118fa565b50505050565b60606110fc82611456565b611151576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018061266e602f913960400191505060405180910390fd5b6000600860008481526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111fa5780601f106111cf576101008083540402835291602001916111fa565b820191906000526020600020905b8154815290600101906020018083116111dd57829003601f168201915b50505050509050600061120b610caa565b90506000815114156112215781925050506113bd565b6000825111156112f25780826040516020018083805190602001908083835b602083106112635780518252602082019150602081019050602083039250611240565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106112b45780518252602082019150602081019050602083039250611291565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052925050506113bd565b806112fc8561196c565b6040516020018083805190602001908083835b60208310611332578051825260208201915060208101905060208303925061130f565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106113835780518252602082019150602081019050602083039250611360565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052925050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600061146c826002611ab390919063ffffffff16565b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166114ee83610c73565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061154282600001611acd565b9050919050565b600061155482611456565b6115a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180612540602c913960400191505060405180910390fd5b60006115b483610c73565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061162357508373ffffffffffffffffffffffffffffffffffffffff1661160b8461096f565b73ffffffffffffffffffffffffffffffffffffffff16145b80611634575061163381856113c2565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661165d82610c73565b73ffffffffffffffffffffffffffffffffffffffff16146116c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806126456029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561174f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806124f66024913960400191505060405180910390fd5b61175a838383611ade565b61176560008261147b565b6117b681600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611ae390919063ffffffff16565b5061180881600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611afd90919063ffffffff16565b5061181f81836002611b179092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061188f8360000183611b4c565b60001c905092915050565b6000806000806118ad8660000186611bcf565b915091508160001c8160001c9350935050509250929050565b60006118d9846000018460001b84611c68565b60001c90509392505050565b60006118f382600001611d5e565b9050919050565b61190584848461163d565b61191184848484611d6f565b611966576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806124c46032913960400191505060405180910390fd5b50505050565b606060008214156119b4576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611aae565b600082905060005b600082146119de578080600101915050600a82816119d657fe5b0491506119bc565b60008167ffffffffffffffff811180156119f757600080fd5b506040519080825280601f01601f191660200182016040528015611a2a5781602001600182028036833780820191505090505b50905060006001830390508593505b60008414611aa657600a8481611a4b57fe5b0660300160f81b82828060019003935081518110611a6557fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8481611a9e57fe5b049350611a39565b819450505050505b919050565b6000611ac5836000018360001b611f88565b905092915050565b600081600001805490509050919050565b505050565b6000611af5836000018360001b611fab565b905092915050565b6000611b0f836000018360001b612093565b905092915050565b6000611b43846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b612103565b90509392505050565b600081836000018054905011611bad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806124a26022913960400191505060405180910390fd5b826000018281548110611bbc57fe5b9060005260206000200154905092915050565b60008082846000018054905011611c31576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806125f76022913960400191505060405180910390fd5b6000846000018481548110611c4257fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390611d2f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611cf4578082015181840152602081019050611cd9565b50505050905090810190601f168015611d215780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110611d4257fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b6000611d908473ffffffffffffffffffffffffffffffffffffffff166121df565b611d9d5760019050611f80565b6000611f0763150b7a0260e01b611db2611473565b888787604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611e36578082015181840152602081019050611e1b565b50505050905090810190601f168015611e635780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060600160405280603281526020016124c4603291398773ffffffffffffffffffffffffffffffffffffffff166121f29092919063ffffffff16565b90506000818060200190516020811015611f2057600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b600080836001016000848152602001908152602001600020541415905092915050565b600080836001016000848152602001908152602001600020549050600081146120875760006001820390506000600186600001805490500390506000866000018281548110611ff657fe5b906000526020600020015490508087600001848154811061201357fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061204b57fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061208d565b60009150505b92915050565b600061209f838361220a565b6120f85782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506120fd565b600090505b92915050565b60008084600101600085815260200190815260200160002054905060008114156121aa578460000160405180604001604052808681526020018581525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010155505084600001805490508560010160008681526020019081526020016000208190555060019150506121d8565b828560000160018303815481106121bd57fe5b90600052602060002090600202016001018190555060009150505b9392505050565b600080823b905060008111915050919050565b6060612201848460008561222d565b90509392505050565b600080836001016000848152602001908152602001600020541415905092915050565b606082471015612288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061251a6026913960400191505060405180910390fd5b612291856121df565b612303576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310612352578051825260208201915060208101905060208303925061232f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146123b4576040519150601f19603f3d011682016040523d82523d6000602084013e6123b9565b606091505b50915091506123c98282866123d5565b92505050949350505050565b606083156123e55782905061249a565b6000835111156123f85782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561245f578082015181840152602081019050612444565b50505050905090810190601f16801561248c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a26469706673582212201d0d064c9d46a9d4afdbb7bc602695931665d88c615054420be6462ebc66ed3e64736f6c63430007060033", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061010b5760003560e01c80634f6ccce7116100a257806395d89b411161007157806395d89b411461056d578063a22cb465146105f0578063b88d4fde14610640578063c87b56dd14610745578063e985e9c5146107ec5761010b565b80634f6ccce7146103f85780636352211e1461043a5780636c0360eb1461049257806370a08231146105155761010b565b806318160ddd116100de57806318160ddd1461029c57806323b872dd146102ba5780632f745c591461032857806342842e0e1461038a5761010b565b806301ffc9a71461011057806306fdde0314610173578063081812fc146101f6578063095ea7b31461024e575b600080fd5b61015b6004803603602081101561012657600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610866565b60405180821515815260200191505060405180910390f35b61017b6108cd565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156101bb5780820151818401526020810190506101a0565b50505050905090810190601f1680156101e85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102226004803603602081101561020c57600080fd5b810190808035906020019092919050505061096f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61029a6004803603604081101561026457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610a0a565b005b6102a4610b4e565b6040518082815260200191505060405180910390f35b610326600480360360608110156102d057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610b5f565b005b6103746004803603604081101561033e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610bd5565b6040518082815260200191505060405180910390f35b6103f6600480360360608110156103a057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610c30565b005b6104246004803603602081101561040e57600080fd5b8101908080359060200190929190505050610c50565b6040518082815260200191505060405180910390f35b6104666004803603602081101561045057600080fd5b8101908080359060200190929190505050610c73565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61049a610caa565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156104da5780820151818401526020810190506104bf565b50505050905090810190601f1680156105075780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6105576004803603602081101561052b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610d4c565b6040518082815260200191505060405180910390f35b610575610e21565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156105b557808201518184015260208101905061059a565b50505050905090810190601f1680156105e25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61063e6004803603604081101561060657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050610ec3565b005b6107436004803603608081101561065657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001906401000000008111156106bd57600080fd5b8201836020820111156106cf57600080fd5b803590602001918460018302840111640100000000831117156106f157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611079565b005b6107716004803603602081101561075b57600080fd5b81019080803590602001909291905050506110f1565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156107b1578082015181840152602081019050610796565b50505050905090810190601f1680156107de5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61084e6004803603604081101561080257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113c2565b60405180821515815260200191505060405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109655780601f1061093a57610100808354040283529160200191610965565b820191906000526020600020905b81548152906001019060200180831161094857829003601f168201915b5050505050905090565b600061097a82611456565b6109cf576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180612619602c913960400191505060405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a1582610c73565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a9c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061269d6021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610abb611473565b73ffffffffffffffffffffffffffffffffffffffff161480610aea5750610ae981610ae4611473565b6113c2565b5b610b3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603881526020018061256c6038913960400191505060405180910390fd5b610b49838361147b565b505050565b6000610b5a6002611534565b905090565b610b70610b6a611473565b82611549565b610bc5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806126be6031913960400191505060405180910390fd5b610bd083838361163d565b505050565b6000610c2882600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061188090919063ffffffff16565b905092915050565b610c4b83838360405180602001604052806000815250611079565b505050565b600080610c6783600261189a90919063ffffffff16565b50905080915050919050565b6000610ca3826040518060600160405280602981526020016125ce6029913960026118c69092919063ffffffff16565b9050919050565b606060098054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610d425780601f10610d1757610100808354040283529160200191610d42565b820191906000526020600020905b815481529060010190602001808311610d2557829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610dd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806125a4602a913960400191505060405180910390fd5b610e1a600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206118e5565b9050919050565b606060078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610eb95780601f10610e8e57610100808354040283529160200191610eb9565b820191906000526020600020905b815481529060010190602001808311610e9c57829003601f168201915b5050505050905090565b610ecb611473565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610f6c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b8060056000610f79611473565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611026611473565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b61108a611084611473565b83611549565b6110df576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260318152602001806126be6031913960400191505060405180910390fd5b6110eb848484846118fa565b50505050565b60606110fc82611456565b611151576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f81526020018061266e602f913960400191505060405180910390fd5b6000600860008481526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111fa5780601f106111cf576101008083540402835291602001916111fa565b820191906000526020600020905b8154815290600101906020018083116111dd57829003601f168201915b50505050509050600061120b610caa565b90506000815114156112215781925050506113bd565b6000825111156112f25780826040516020018083805190602001908083835b602083106112635780518252602082019150602081019050602083039250611240565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106112b45780518252602082019150602081019050602083039250611291565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052925050506113bd565b806112fc8561196c565b6040516020018083805190602001908083835b60208310611332578051825260208201915060208101905060208303925061130f565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106113835780518252602082019150602081019050602083039250611360565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052925050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600061146c826002611ab390919063ffffffff16565b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166114ee83610c73565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061154282600001611acd565b9050919050565b600061155482611456565b6115a9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180612540602c913960400191505060405180910390fd5b60006115b483610c73565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061162357508373ffffffffffffffffffffffffffffffffffffffff1661160b8461096f565b73ffffffffffffffffffffffffffffffffffffffff16145b80611634575061163381856113c2565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661165d82610c73565b73ffffffffffffffffffffffffffffffffffffffff16146116c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806126456029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561174f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806124f66024913960400191505060405180910390fd5b61175a838383611ade565b61176560008261147b565b6117b681600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611ae390919063ffffffff16565b5061180881600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611afd90919063ffffffff16565b5061181f81836002611b179092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061188f8360000183611b4c565b60001c905092915050565b6000806000806118ad8660000186611bcf565b915091508160001c8160001c9350935050509250929050565b60006118d9846000018460001b84611c68565b60001c90509392505050565b60006118f382600001611d5e565b9050919050565b61190584848461163d565b61191184848484611d6f565b611966576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806124c46032913960400191505060405180910390fd5b50505050565b606060008214156119b4576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611aae565b600082905060005b600082146119de578080600101915050600a82816119d657fe5b0491506119bc565b60008167ffffffffffffffff811180156119f757600080fd5b506040519080825280601f01601f191660200182016040528015611a2a5781602001600182028036833780820191505090505b50905060006001830390508593505b60008414611aa657600a8481611a4b57fe5b0660300160f81b82828060019003935081518110611a6557fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8481611a9e57fe5b049350611a39565b819450505050505b919050565b6000611ac5836000018360001b611f88565b905092915050565b600081600001805490509050919050565b505050565b6000611af5836000018360001b611fab565b905092915050565b6000611b0f836000018360001b612093565b905092915050565b6000611b43846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b612103565b90509392505050565b600081836000018054905011611bad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806124a26022913960400191505060405180910390fd5b826000018281548110611bbc57fe5b9060005260206000200154905092915050565b60008082846000018054905011611c31576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806125f76022913960400191505060405180910390fd5b6000846000018481548110611c4257fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390611d2f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015611cf4578082015181840152602081019050611cd9565b50505050905090810190601f168015611d215780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110611d4257fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b6000611d908473ffffffffffffffffffffffffffffffffffffffff166121df565b611d9d5760019050611f80565b6000611f0763150b7a0260e01b611db2611473565b888787604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611e36578082015181840152602081019050611e1b565b50505050905090810190601f168015611e635780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060600160405280603281526020016124c4603291398773ffffffffffffffffffffffffffffffffffffffff166121f29092919063ffffffff16565b90506000818060200190516020811015611f2057600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b600080836001016000848152602001908152602001600020541415905092915050565b600080836001016000848152602001908152602001600020549050600081146120875760006001820390506000600186600001805490500390506000866000018281548110611ff657fe5b906000526020600020015490508087600001848154811061201357fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061204b57fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061208d565b60009150505b92915050565b600061209f838361220a565b6120f85782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506120fd565b600090505b92915050565b60008084600101600085815260200190815260200160002054905060008114156121aa578460000160405180604001604052808681526020018581525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010155505084600001805490508560010160008681526020019081526020016000208190555060019150506121d8565b828560000160018303815481106121bd57fe5b90600052602060002090600202016001018190555060009150505b9392505050565b600080823b905060008111915050919050565b6060612201848460008561222d565b90509392505050565b600080836001016000848152602001908152602001600020541415905092915050565b606082471015612288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061251a6026913960400191505060405180910390fd5b612291856121df565b612303576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310612352578051825260208201915060208101905060208303925061232f565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146123b4576040519150601f19603f3d011682016040523d82523d6000602084013e6123b9565b606091505b50915091506123c98282866123d5565b92505050949350505050565b606083156123e55782905061249a565b6000835111156123f85782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561245f578082015181840152602081019050612444565b50505050905090810190601f16801561248c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a26469706673582212201d0d064c9d46a9d4afdbb7bc602695931665d88c615054420be6462ebc66ed3e64736f6c63430007060033", "immutableReferences": {}, "generatedSources": [], "deployedGeneratedSources": [], - "sourceMap": "46080:16527:1:-:0;;;49086:362;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9711:40;9387:10;9730:20;;9711:18;;;:40;;:::i;:::-;49161:5;49153;:13;;;;;;;;;;;;:::i;:::-;;49186:7;49176;:17;;;;;;;;;;;;:::i;:::-;;49281:40;48251:10;49300:20;;49281:18;;;:40;;:::i;:::-;49331:49;48583:10;49350:29;;49331:18;;;:49;;:::i;:::-;49390:51;48956:10;49409:31;;49390:18;;;:51;;:::i;:::-;49086:362;;46080:16527;;10450:198;10548:10;10533:25;;:11;:25;;;;;10525:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10637:4;10601:20;:33;10622:11;10601:33;;;;;;;;;;;;;;;;;;:40;;;;;;;;;;;;;;;;;;10450:198;:::o;46080:16527::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", - "deployedSourceMap": "46080:16527:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9908:148;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;50019:98;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52724:217;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;52268:395;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;51762:208;;;:::i;:::-;;;;;;;;;;;;;;;;;;;53588:300;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;51531:160;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;53954:149;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;52042:169;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;49782:175;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;51357:95;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49507:218;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;50181:102;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53008:290;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;54169:282;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;50349:776;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53364:162;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;9908:148;9993:4;10016:20;:33;10037:11;10016:33;;;;;;;;;;;;;;;;;;;;;;;;;;;10009:40;;9908:148;;;:::o;50019:98::-;50073:13;50105:5;50098:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50019:98;:::o;52724:217::-;52800:7;52827:16;52835:7;52827;:16::i;:::-;52819:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52910:15;:24;52926:7;52910:24;;;;;;;;;;;;;;;;;;;;;52903:31;;52724:217;;;:::o;52268:395::-;52348:13;52364:23;52379:7;52364:14;:23::i;:::-;52348:39;;52411:5;52405:11;;:2;:11;;;;52397:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52489:5;52473:21;;:12;:10;:12::i;:::-;:21;;;:69;;;;52498:44;52522:5;52529:12;:10;:12::i;:::-;52498:23;:44::i;:::-;52473:69;52465:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52635:21;52644:2;52648:7;52635:8;:21::i;:::-;52268:395;;;:::o;51762:208::-;51823:7;51942:21;:12;:19;:21::i;:::-;51935:28;;51762:208;:::o;53588:300::-;53747:41;53766:12;:10;:12::i;:::-;53780:7;53747:18;:41::i;:::-;53739:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53853:28;53863:4;53869:2;53873:7;53853:9;:28::i;:::-;53588:300;;;:::o;51531:160::-;51628:7;51654:30;51678:5;51654:13;:20;51668:5;51654:20;;;;;;;;;;;;;;;:23;;:30;;;;:::i;:::-;51647:37;;51531:160;;;;:::o;53954:149::-;54057:39;54074:4;54080:2;54084:7;54057:39;;;;;;;;;;;;:16;:39::i;:::-;53954:149;;;:::o;52042:169::-;52117:7;52137:15;52158:22;52174:5;52158:12;:15;;:22;;;;:::i;:::-;52136:44;;;52197:7;52190:14;;;52042:169;;;:::o;49782:175::-;49854:7;49880:70;49897:7;49880:70;;;;;;;;;;;;;;;;;:12;:16;;:70;;;;;:::i;:::-;49873:77;;49782:175;;;:::o;51357:95::-;51405:13;51437:8;51430:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51357:95;:::o;49507:218::-;49579:7;49623:1;49606:19;;:5;:19;;;;49598:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49689:29;:13;:20;49703:5;49689:20;;;;;;;;;;;;;;;:27;:29::i;:::-;49682:36;;49507:218;;;:::o;50181:102::-;50237:13;50269:7;50262:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50181:102;:::o;53008:290::-;53122:12;:10;:12::i;:::-;53110:24;;:8;:24;;;;53102:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53220:8;53175:18;:32;53194:12;:10;:12::i;:::-;53175:32;;;;;;;;;;;;;;;:42;53208:8;53175:42;;;;;;;;;;;;;;;;:53;;;;;;;;;;;;;;;;;;53272:8;53243:48;;53258:12;:10;:12::i;:::-;53243:48;;;53282:8;53243:48;;;;;;;;;;;;;;;;;;;;53008:290;;:::o;54169:282::-;54300:41;54319:12;:10;:12::i;:::-;54333:7;54300:18;:41::i;:::-;54292:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54405:39;54419:4;54425:2;54429:7;54438:5;54405:13;:39::i;:::-;54169:282;;;;:::o;50349:776::-;50422:13;50455:16;50463:7;50455;:16::i;:::-;50447:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50534:23;50560:10;:19;50571:7;50560:19;;;;;;;;;;;50534:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50589:18;50610:9;:7;:9::i;:::-;50589:30;;50714:1;50698:4;50692:18;:23;50688:70;;;50738:9;50731:16;;;;;;50688:70;50886:1;50866:9;50860:23;:27;50856:106;;;50934:4;50940:9;50917:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50903:48;;;;;;50856:106;51092:4;51098:18;:7;:16;:18::i;:::-;51075:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51061:57;;;;50349:776;;;;:::o;53364:162::-;53461:4;53484:18;:25;53503:5;53484:25;;;;;;;;;;;;;;;:35;53510:8;53484:35;;;;;;;;;;;;;;;;;;;;;;;;;53477:42;;53364:162;;;;:::o;55885:125::-;55950:4;55973:30;55995:7;55973:12;:21;;:30;;;;:::i;:::-;55966:37;;55885:125;;;:::o;649:104::-;702:15;736:10;729:17;;649:104;:::o;61727:189::-;61828:2;61801:15;:24;61817:7;61801:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;61883:7;61879:2;61845:46;;61854:23;61869:7;61854:14;:23::i;:::-;61845:46;;;;;;;;;;;;61727:189;;:::o;42991:121::-;43060:7;43086:19;43094:3;:10;;43086:7;:19::i;:::-;43079:26;;42991:121;;;:::o;56168:351::-;56261:4;56285:16;56293:7;56285;:16::i;:::-;56277:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56360:13;56376:23;56391:7;56376:14;:23::i;:::-;56360:39;;56428:5;56417:16;;:7;:16;;;:51;;;;56461:7;56437:31;;:20;56449:7;56437:11;:20::i;:::-;:31;;;56417:51;:94;;;;56472:39;56496:5;56503:7;56472:23;:39::i;:::-;56417:94;56409:103;;;56168:351;;;;:::o;59209:584::-;59333:4;59306:31;;:23;59321:7;59306:14;:23::i;:::-;:31;;;59298:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59433:1;59419:16;;:2;:16;;;;59411:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59487:39;59508:4;59514:2;59518:7;59487:20;:39::i;:::-;59588:29;59605:1;59609:7;59588:8;:29::i;:::-;59628:35;59655:7;59628:13;:19;59642:4;59628:19;;;;;;;;;;;;;;;:26;;:35;;;;:::i;:::-;;59673:30;59695:7;59673:13;:17;59687:2;59673:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;59714:29;59731:7;59740:2;59714:12;:16;;:29;;;;;:::i;:::-;;59778:7;59774:2;59759:27;;59768:4;59759:27;;;;;;;;;;;;59209:584;;;:::o;35008:135::-;35079:7;35113:22;35117:3;:10;;35129:5;35113:3;:22::i;:::-;35105:31;;35098:38;;35008:135;;;;:::o;43440:233::-;43520:7;43529;43549:11;43562:13;43579:22;43583:3;:10;;43595:5;43579:3;:22::i;:::-;43548:53;;;;43627:3;43619:12;;43657:5;43649:14;;43611:55;;;;;;43440:233;;;;;:::o;44693:211::-;44800:7;44850:44;44855:3;:10;;44875:3;44867:12;;44881;44850:4;:44::i;:::-;44842:53;;44819:78;;44693:211;;;;;:::o;34564:112::-;34624:7;34650:19;34658:3;:10;;34650:7;:19::i;:::-;34643:26;;34564:112;;;:::o;55313:269::-;55426:28;55436:4;55442:2;55446:7;55426:9;:28::i;:::-;55472:48;55495:4;55501:2;55505:7;55514:5;55472:22;:48::i;:::-;55464:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55313:269;;;;:::o;45136:725::-;45192:13;45418:1;45409:5;:10;45405:51;;;45435:10;;;;;;;;;;;;;;;;;;;;;45405:51;45465:12;45480:5;45465:20;;45495:14;45519:75;45534:1;45526:4;:9;45519:75;;45551:8;;;;;;;45581:2;45573:10;;;;;;;;;45519:75;;;45603:19;45635:6;45625:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45603:39;;45652:13;45677:1;45668:6;:10;45652:26;;45695:5;45688:12;;45710:114;45725:1;45717:4;:9;45710:114;;45785:2;45778:4;:9;;;;;;45773:2;:14;45760:29;;45742:6;45749:7;;;;;;;45742:15;;;;;;;;;;;:47;;;;;;;;;;;45811:2;45803:10;;;;;;;;;45710:114;;;45847:6;45833:21;;;;;;45136:725;;;;:::o;42759:149::-;42843:4;42866:35;42876:3;:10;;42896:3;42888:12;;42866:9;:35::i;:::-;42859:42;;42759:149;;;;:::o;39662:108::-;39718:7;39744:3;:12;;:19;;;;39737:26;;39662:108;;;:::o;62512:93::-;;;;:::o;34123:135::-;34193:4;34216:35;34224:3;:10;;34244:5;34236:14;;34216:7;:35::i;:::-;34209:42;;34123:135;;;;:::o;33826:129::-;33893:4;33916:32;33921:3;:10;;33941:5;33933:14;;33916:4;:32::i;:::-;33909:39;;33826:129;;;;:::o;42198:183::-;42287:4;42310:64;42315:3;:10;;42335:3;42327:12;;42365:5;42349:23;;42341:32;;42310:4;:64::i;:::-;42303:71;;42198:183;;;;;:::o;30210:201::-;30277:7;30325:5;30304:3;:11;;:18;;;;:26;30296:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30386:3;:11;;30398:5;30386:18;;;;;;;;;;;;;;;;30379:25;;30210:201;;;;:::o;40113:274::-;40180:7;40189;40238:5;40216:3;:12;;:19;;;;:27;40208:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40293:22;40318:3;:12;;40331:5;40318:19;;;;;;;;;;;;;;;;;;40293:44;;40355:5;:10;;;40367:5;:12;;;40347:33;;;;;40113:274;;;;;:::o;41574:315::-;41668:7;41687:16;41706:3;:12;;:17;41719:3;41706:17;;;;;;;;;;;;41687:36;;41753:1;41741:8;:13;;41756:12;41733:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41822:3;:12;;41846:1;41835:8;:12;41822:26;;;;;;;;;;;;;;;;;;:33;;;41815:40;;;41574:315;;;;;:::o;29771:107::-;29827:7;29853:3;:11;;:18;;;;29846:25;;29771:107;;;:::o;61026:589::-;61146:4;61171:15;:2;:13;;;:15::i;:::-;61166:58;;61209:4;61202:11;;;;61166:58;61233:23;61259:246;61311:45;;;61370:12;:10;:12::i;:::-;61396:4;61414:7;61435:5;61275:175;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61259:246;;;;;;;;;;;;;;;;;:2;:15;;;;:246;;;;;:::i;:::-;61233:272;;61515:13;61542:10;61531:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61515:48;;46587:10;61591:16;;61581:26;;;:6;:26;;;;61573:35;;;;61026:589;;;;;;;:::o;39449:123::-;39520:4;39564:1;39543:3;:12;;:17;39556:3;39543:17;;;;;;;;;;;;:22;;39536:29;;39449:123;;;;:::o;27970:1512::-;28036:4;28152:18;28173:3;:12;;:19;28186:5;28173:19;;;;;;;;;;;;28152:40;;28221:1;28207:10;:15;28203:1273;;28564:21;28601:1;28588:10;:14;28564:38;;28616:17;28657:1;28636:3;:11;;:18;;;;:22;28616:42;;28898:17;28918:3;:11;;28930:9;28918:22;;;;;;;;;;;;;;;;28898:42;;29061:9;29032:3;:11;;29044:13;29032:26;;;;;;;;;;;;;;;:38;;;;29178:1;29162:13;:17;29136:3;:12;;:23;29149:9;29136:23;;;;;;;;;;;:43;;;;29285:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;29377:3;:12;;:19;29390:5;29377:19;;;;;;;;;;;29370:26;;;29418:4;29411:11;;;;;;;;28203:1273;29460:5;29453:12;;;27970:1512;;;;;:::o;27398:404::-;27461:4;27482:21;27492:3;27497:5;27482:9;:21::i;:::-;27477:319;;27519:3;:11;;27536:5;27519:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27699:3;:11;;:18;;;;27677:3;:12;;:19;27690:5;27677:19;;;;;;;;;;;:40;;;;27738:4;27731:11;;;;27477:319;27780:5;27773:12;;27398:404;;;;;:::o;37007:678::-;37083:4;37197:16;37216:3;:12;;:17;37229:3;37216:17;;;;;;;;;;;;37197:36;;37260:1;37248:8;:13;37244:435;;;37314:3;:12;;37332:38;;;;;;;;37349:3;37332:38;;;;37362:5;37332:38;;;37314:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37526:3;:12;;:19;;;;37506:3;:12;;:17;37519:3;37506:17;;;;;;;;;;;:39;;;;37566:4;37559:11;;;;;37244:435;37637:5;37601:3;:12;;37625:1;37614:8;:12;37601:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;37663:5;37656:12;;;37007:678;;;;;;:::o;18640:413::-;18700:4;18903:12;19012:7;19000:20;18992:28;;19045:1;19038:4;:8;19031:15;;;18640:413;;;:::o;21495:193::-;21598:12;21629:52;21651:6;21659:4;21665:1;21668:12;21629:21;:52::i;:::-;21622:59;;21495:193;;;;;:::o;29563:127::-;29636:4;29682:1;29659:3;:12;;:19;29672:5;29659:19;;;;;;;;;;;;:24;;29652:31;;29563:127;;;;:::o;22522:523::-;22649:12;22706:5;22681:21;:30;;22673:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22772:18;22783:6;22772:10;:18::i;:::-;22764:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22895:12;22909:23;22936:6;:11;;22956:5;22964:4;22936:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22894:75;;;;22986:52;23004:7;23013:10;23025:12;22986:17;:52::i;:::-;22979:59;;;;22522:523;;;;;;:::o;25005:725::-;25120:12;25148:7;25144:580;;;25178:10;25171:17;;;;25144:580;25309:1;25289:10;:17;:21;25285:429;;;25547:10;25541:17;25607:15;25594:10;25590:2;25586:19;25579:44;25496:145;25686:12;25679:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25005:725;;;;;;:::o", - "source": "// SPDX-License-Identifier: MIT\n\n// File: @openzeppelin/contracts/utils/Context.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/*\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with GSN meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n function _msgSender() internal view virtual returns (address payable) {\n return msg.sender;\n }\n\n function _msgData() internal view virtual returns (bytes memory) {\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\n return msg.data;\n }\n}\n\n// File: @openzeppelin/contracts/introspection/IERC165.sol\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n /**\n * @dev Returns true if this contract implements the interface defined by\n * `interfaceId`. See the corresponding\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n * to learn more about how these ids are created.\n *\n * This function call must use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n /**\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n */\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n */\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n */\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n /**\n * @dev Returns the number of tokens in ``owner``'s account.\n */\n function balanceOf(address owner) external view returns (uint256 balance);\n\n /**\n * @dev Returns the owner of the `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function ownerOf(uint256 tokenId) external view returns (address owner);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Transfers `tokenId` token from `from` to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n * The approval is cleared when the token is transferred.\n *\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n *\n * Requirements:\n *\n * - The caller must own the token or be an approved operator.\n * - `tokenId` must exist.\n *\n * Emits an {Approval} event.\n */\n function approve(address to, uint256 tokenId) external;\n\n /**\n * @dev Returns the account approved for `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function getApproved(uint256 tokenId) external view returns (address operator);\n\n /**\n * @dev Approve or remove `operator` as an operator for the caller.\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n *\n * Requirements:\n *\n * - The `operator` cannot be the caller.\n *\n * Emits an {ApprovalForAll} event.\n */\n function setApprovalForAll(address operator, bool _approved) external;\n\n /**\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n *\n * See {setApprovalForAll}\n */\n function isApprovedForAll(address owner, address operator) external view returns (bool);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n\n /**\n * @dev Returns the token collection name.\n */\n function name() external view returns (string memory);\n\n /**\n * @dev Returns the token collection symbol.\n */\n function symbol() external view returns (string memory);\n\n /**\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n */\n function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\n\n\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Enumerable is IERC721 {\n\n /**\n * @dev Returns the total amount of tokens stored by the contract.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\n\n /**\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n * Use along with {totalSupply} to enumerate all tokens.\n */\n function tokenByIndex(uint256 index) external view returns (uint256);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\n\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC721 asset contracts.\n */\ninterface IERC721Receiver {\n /**\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n * by `operator` from `from`, this function is called.\n *\n * It must return its Solidity selector to confirm the token transfer.\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n *\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\n */\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\n}\n\n// File: @openzeppelin/contracts/introspection/ERC165.sol\npragma solidity >=0.6.0 <0.8.0;\n\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts may inherit from this and call {_registerInterface} to declare\n * their support of an interface.\n */\nabstract contract ERC165 is IERC165 {\n /*\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\n */\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\n\n /**\n * @dev Mapping of interface ids to whether or not it's supported.\n */\n mapping(bytes4 => bool) private _supportedInterfaces;\n\n constructor () {\n // Derived contracts need only register support for their own interfaces,\n // we register support for ERC165 itself here\n _registerInterface(_INTERFACE_ID_ERC165);\n }\n\n /**\n * @dev See {IERC165-supportsInterface}.\n *\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n return _supportedInterfaces[interfaceId];\n }\n\n /**\n * @dev Registers the contract as an implementer of the interface defined by\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\n * registering its interface id is not required.\n *\n * See {IERC165-supportsInterface}.\n *\n * Requirements:\n *\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\n */\n function _registerInterface(bytes4 interfaceId) internal virtual {\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\n _supportedInterfaces[interfaceId] = true;\n }\n}\n\n// File: @openzeppelin/contracts/math/SafeMath.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\n * checks.\n *\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\n * in bugs, because programmers usually assume that an overflow raises an\n * error, which is the standard behavior in high level programming languages.\n * `SafeMath` restores this intuition by reverting the transaction when an\n * operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeMath {\n /**\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n uint256 c = a + b;\n if (c < a) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b > a) return (false, 0);\n return (true, a - b);\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n // benefit is lost if 'b' is also tested.\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n if (a == 0) return (true, 0);\n uint256 c = a * b;\n if (c / a != b) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a / b);\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a % b);\n }\n\n /**\n * @dev Returns the addition of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `+` operator.\n *\n * Requirements:\n *\n * - Addition cannot overflow.\n */\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a + b;\n require(c >= a, \"SafeMath: addition overflow\");\n return c;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting on\n * overflow (when the result is negative).\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b <= a, \"SafeMath: subtraction overflow\");\n return a - b;\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `*` operator.\n *\n * Requirements:\n *\n * - Multiplication cannot overflow.\n */\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) return 0;\n uint256 c = a * b;\n require(c / a == b, \"SafeMath: multiplication overflow\");\n return c;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting on\n * division by zero. The result is rounded towards zero.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: division by zero\");\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting when dividing by zero.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: modulo by zero\");\n return a % b;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n * overflow (when the result is negative).\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {trySub}.\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b <= a, errorMessage);\n return a - b;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\n * division by zero. The result is rounded towards zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryDiv}.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting with custom message when dividing by zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryMod}.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a % b;\n }\n}\n\n// File: @openzeppelin/contracts/utils/Address.sol\npragma solidity >=0.6.2 <0.8.0;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n /**\n * @dev Returns true if `account` is a contract.\n *\n * [IMPORTANT]\n * ====\n * It is unsafe to assume that an address for which this function returns\n * false is an externally-owned account (EOA) and not a contract.\n *\n * Among others, `isContract` will return false for the following\n * types of addresses:\n *\n * - an externally-owned account\n * - a contract in construction\n * - an address where a contract will be created\n * - an address where a contract lived, but was destroyed\n * ====\n */\n function isContract(address account) internal view returns (bool) {\n // This method relies on extcodesize, which returns 0 for contracts in\n // construction, since the code is only stored at the end of the\n // constructor execution.\n\n uint256 size;\n // solhint-disable-next-line no-inline-assembly\n assembly { size := extcodesize(account) }\n return size > 0;\n }\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\n (bool success, ) = recipient.call{ value: amount }(\"\");\n require(success, \"Address: unable to send value, recipient may have reverted\");\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain`call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason, it is bubbled up by this\n * function (like regular Solidity function calls).\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCall(target, data, \"Address: low-level call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n * `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n * with `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\n require(isContract(target), \"Address: call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\n require(isContract(target), \"Address: static call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.staticcall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n require(isContract(target), \"Address: delegate call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.delegatecall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\n if (success) {\n return returndata;\n } else {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n\n // solhint-disable-next-line no-inline-assembly\n assembly {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert(errorMessage);\n }\n }\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n * types.\n *\n * Sets have the following properties:\n *\n * - Elements are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableSet for EnumerableSet.AddressSet;\n *\n * // Declare a set state variable\n * EnumerableSet.AddressSet private mySet;\n * }\n * ```\n *\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n * and `uint256` (`UintSet`) are supported.\n */\nlibrary EnumerableSet {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Set type with\n // bytes32 values.\n // The Set implementation uses private functions, and user-facing\n // implementations (such as AddressSet) are just wrappers around the\n // underlying Set.\n // This means that we can only create new EnumerableSets for types that fit\n // in bytes32.\n\n struct Set {\n // Storage of set values\n bytes32[] _values;\n\n // Position of the value in the `values` array, plus 1 because index 0\n // means a value is not in the set.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function _add(Set storage set, bytes32 value) private returns (bool) {\n if (!_contains(set, value)) {\n set._values.push(value);\n // The value is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n set._indexes[value] = set._values.length;\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function _remove(Set storage set, bytes32 value) private returns (bool) {\n // We read and store the value's index to prevent multiple reads from the same storage slot\n uint256 valueIndex = set._indexes[value];\n\n if (valueIndex != 0) { // Equivalent to contains(set, value)\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\n // the array, and then remove the last element (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = valueIndex - 1;\n uint256 lastIndex = set._values.length - 1;\n\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n bytes32 lastvalue = set._values[lastIndex];\n\n // Move the last value to the index where the value to delete is\n set._values[toDeleteIndex] = lastvalue;\n // Update the index for the moved value\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved value was stored\n set._values.pop();\n\n // Delete the index for the deleted slot\n delete set._indexes[value];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\n return set._indexes[value] != 0;\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function _length(Set storage set) private view returns (uint256) {\n return set._values.length;\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\n return set._values[index];\n }\n\n // Bytes32Set\n\n struct Bytes32Set {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _add(set._inner, value);\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _remove(set._inner, value);\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\n return _contains(set._inner, value);\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(Bytes32Set storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\n return _at(set._inner, index);\n }\n\n // AddressSet\n\n struct AddressSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(AddressSet storage set, address value) internal returns (bool) {\n return _add(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(AddressSet storage set, address value) internal returns (bool) {\n return _remove(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(AddressSet storage set, address value) internal view returns (bool) {\n return _contains(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(AddressSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\n return address(uint160(uint256(_at(set._inner, index))));\n }\n\n\n // UintSet\n\n struct UintSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(UintSet storage set, uint256 value) internal returns (bool) {\n return _add(set._inner, bytes32(value));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\n return _remove(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\n return _contains(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function length(UintSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\n return uint256(_at(set._inner, index));\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing an enumerable variant of Solidity's\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n * type.\n *\n * Maps have the following properties:\n *\n * - Entries are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\n *\n * // Declare a set state variable\n * EnumerableMap.UintToAddressMap private myMap;\n * }\n * ```\n *\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n * supported.\n */\nlibrary EnumerableMap {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Map type with\n // bytes32 keys and values.\n // The Map implementation uses private functions, and user-facing\n // implementations (such as Uint256ToAddressMap) are just wrappers around\n // the underlying Map.\n // This means that we can only create new EnumerableMaps for types that fit\n // in bytes32.\n\n struct MapEntry {\n bytes32 _key;\n bytes32 _value;\n }\n\n struct Map {\n // Storage of map keys and values\n MapEntry[] _entries;\n\n // Position of the entry defined by a key in the `entries` array, plus 1\n // because index 0 means a key is not in the map.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\n map._entries.push(MapEntry({ _key: key, _value: value }));\n // The entry is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n map._indexes[key] = map._entries.length;\n return true;\n } else {\n map._entries[keyIndex - 1]._value = value;\n return false;\n }\n }\n\n /**\n * @dev Removes a key-value pair from a map. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function _remove(Map storage map, bytes32 key) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex != 0) { // Equivalent to contains(map, key)\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = keyIndex - 1;\n uint256 lastIndex = map._entries.length - 1;\n\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n MapEntry storage lastEntry = map._entries[lastIndex];\n\n // Move the last entry to the index where the entry to delete is\n map._entries[toDeleteIndex] = lastEntry;\n // Update the index for the moved entry\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved entry was stored\n map._entries.pop();\n\n // Delete the index for the deleted slot\n delete map._indexes[key];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\n return map._indexes[key] != 0;\n }\n\n /**\n * @dev Returns the number of key-value pairs in the map. O(1).\n */\n function _length(Map storage map) private view returns (uint256) {\n return map._entries.length;\n }\n\n /**\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\n *\n * Note that there are no guarantees on the ordering of entries inside the\n * array, and it may change when more entries are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\n\n MapEntry storage entry = map._entries[index];\n return (entry._key, entry._value);\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n */\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\n uint256 keyIndex = map._indexes[key];\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n /**\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {_tryGet}.\n */\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n // UintToAddressMap\n\n struct UintToAddressMap {\n Map _inner;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\n return _remove(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\n return _contains(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns the number of elements in the map. O(1).\n */\n function length(UintToAddressMap storage map) internal view returns (uint256) {\n return _length(map._inner);\n }\n\n /**\n * @dev Returns the element stored at position `index` in the set. O(1).\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\n (bytes32 key, bytes32 value) = _at(map._inner, index);\n return (uint256(key), address(uint160(uint256(value))));\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n *\n * _Available since v3.4._\n */\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\n return (success, address(uint160(uint256(value))));\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\n }\n\n /**\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryGet}.\n */\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\n }\n}\n\n// File: @openzeppelin/contracts/utils/Strings.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n /**\n * @dev Converts a `uint256` to its ASCII `string` representation.\n */\n function toString(uint256 value) internal pure returns (string memory) {\n // Inspired by OraclizeAPI's implementation - MIT licence\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\n\n if (value == 0) {\n return \"0\";\n }\n uint256 temp = value;\n uint256 digits;\n while (temp != 0) {\n digits++;\n temp /= 10;\n }\n bytes memory buffer = new bytes(digits);\n uint256 index = digits - 1;\n temp = value;\n while (temp != 0) {\n buffer[index--] = bytes1(uint8(48 + temp % 10));\n temp /= 10;\n }\n return string(buffer);\n }\n}\n\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 Non-Fungible Token Standard basic implementation\n * @dev see https://eips.ethereum.org/EIPS/eip-721\n */\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\n using SafeMath for uint256;\n using Address for address;\n using EnumerableSet for EnumerableSet.UintSet;\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n using Strings for uint256;\n\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\n\n // Mapping from holder address to their (enumerable) set of owned tokens\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\n\n // Enumerable mapping from token ids to their owners\n EnumerableMap.UintToAddressMap private _tokenOwners;\n\n // Mapping from token ID to approved address\n mapping (uint256 => address) private _tokenApprovals;\n\n // Mapping from owner to operator approvals\n mapping (address => mapping (address => bool)) private _operatorApprovals;\n\n // Token name\n string private _name;\n\n // Token symbol\n string private _symbol;\n\n // Optional mapping for token URIs\n mapping (uint256 => string) private _tokenURIs;\n\n // Base URI\n string private _baseURI;\n\n /*\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\n *\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\n */\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\n\n /*\n * bytes4(keccak256('name()')) == 0x06fdde03\n * bytes4(keccak256('symbol()')) == 0x95d89b41\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\n *\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\n */\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\n\n /*\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\n *\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\n */\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\n\n /**\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\n */\n constructor (string memory name_, string memory symbol_) {\n _name = name_;\n _symbol = symbol_;\n\n // register the supported interfaces to conform to ERC721 via ERC165\n _registerInterface(_INTERFACE_ID_ERC721);\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\n }\n\n /**\n * @dev See {IERC721-balanceOf}.\n */\n function balanceOf(address owner) public view virtual override returns (uint256) {\n require(owner != address(0), \"ERC721: balance query for the zero address\");\n return _holderTokens[owner].length();\n }\n\n /**\n * @dev See {IERC721-ownerOf}.\n */\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\n }\n\n /**\n * @dev See {IERC721Metadata-name}.\n */\n function name() public view virtual override returns (string memory) {\n return _name;\n }\n\n /**\n * @dev See {IERC721Metadata-symbol}.\n */\n function symbol() public view virtual override returns (string memory) {\n return _symbol;\n }\n\n /**\n * @dev See {IERC721Metadata-tokenURI}.\n */\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\n\n string memory _tokenURI = _tokenURIs[tokenId];\n string memory base = baseURI();\n\n // If there is no base URI, return the token URI.\n if (bytes(base).length == 0) {\n return _tokenURI;\n }\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\n if (bytes(_tokenURI).length > 0) {\n return string(abi.encodePacked(base, _tokenURI));\n }\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\n return string(abi.encodePacked(base, tokenId.toString()));\n }\n\n /**\n * @dev Returns the base URI set via {_setBaseURI}. This will be\n * automatically added as a prefix in {tokenURI} to each token's URI, or\n * to the token ID if no specific URI is set for that token ID.\n */\n function baseURI() public view virtual returns (string memory) {\n return _baseURI;\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\n return _holderTokens[owner].at(index);\n }\n\n /**\n * @dev See {IERC721Enumerable-totalSupply}.\n */\n function totalSupply() public view virtual override returns (uint256) {\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\n return _tokenOwners.length();\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenByIndex}.\n */\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\n (uint256 tokenId, ) = _tokenOwners.at(index);\n return tokenId;\n }\n\n /**\n * @dev See {IERC721-approve}.\n */\n function approve(address to, uint256 tokenId) public virtual override {\n address owner = ERC721.ownerOf(tokenId);\n require(to != owner, \"ERC721: approval to current owner\");\n\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\n \"ERC721: approve caller is not owner nor approved for all\"\n );\n\n _approve(to, tokenId);\n }\n\n /**\n * @dev See {IERC721-getApproved}.\n */\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\n\n return _tokenApprovals[tokenId];\n }\n\n /**\n * @dev See {IERC721-setApprovalForAll}.\n */\n function setApprovalForAll(address operator, bool approved) public virtual override {\n require(operator != _msgSender(), \"ERC721: approve to caller\");\n\n _operatorApprovals[_msgSender()][operator] = approved;\n emit ApprovalForAll(_msgSender(), operator, approved);\n }\n\n /**\n * @dev See {IERC721-isApprovedForAll}.\n */\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\n return _operatorApprovals[owner][operator];\n }\n\n /**\n * @dev See {IERC721-transferFrom}.\n */\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\n //solhint-disable-next-line max-line-length\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n\n _transfer(from, to, tokenId);\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\n safeTransferFrom(from, to, tokenId, \"\");\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n _safeTransfer(from, to, tokenId, _data);\n }\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\n *\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n * implement alternative mechanisms to perform token transfer, such as signature-based.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\n _transfer(from, to, tokenId);\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Returns whether `tokenId` exists.\n *\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n *\n * Tokens start existing when they are minted (`_mint`),\n * and stop existing when they are burned (`_burn`).\n */\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\n return _tokenOwners.contains(tokenId);\n }\n\n /**\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\n address owner = ERC721.ownerOf(tokenId);\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\n }\n\n /**\n * @dev Safely mints `tokenId` and transfers it to `to`.\n *\n * Requirements:\n d*\n * - `tokenId` must not exist.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeMint(address to, uint256 tokenId) internal virtual {\n _safeMint(to, tokenId, \"\");\n }\n\n /**\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n */\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\n _mint(to, tokenId);\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Mints `tokenId` and transfers it to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n *\n * Requirements:\n *\n * - `tokenId` must not exist.\n * - `to` cannot be the zero address.\n *\n * Emits a {Transfer} event.\n */\n function _mint(address to, uint256 tokenId) internal virtual {\n require(to != address(0), \"ERC721: mint to the zero address\");\n require(!_exists(tokenId), \"ERC721: token already minted\");\n\n _beforeTokenTransfer(address(0), to, tokenId);\n\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(address(0), to, tokenId);\n }\n\n /**\n * @dev Destroys `tokenId`.\n * The approval is cleared when the token is burned.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n *\n * Emits a {Transfer} event.\n */\n function _burn(uint256 tokenId) internal virtual {\n address owner = ERC721.ownerOf(tokenId); // internal owner\n\n _beforeTokenTransfer(owner, address(0), tokenId);\n\n // Clear approvals\n _approve(address(0), tokenId);\n\n // Clear metadata (if any)\n if (bytes(_tokenURIs[tokenId]).length != 0) {\n delete _tokenURIs[tokenId];\n }\n\n _holderTokens[owner].remove(tokenId);\n\n _tokenOwners.remove(tokenId);\n\n emit Transfer(owner, address(0), tokenId);\n }\n\n /**\n * @dev Transfers `tokenId` from `from` to `to`.\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n *\n * Requirements:\n *\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n *\n * Emits a {Transfer} event.\n */\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\n require(to != address(0), \"ERC721: transfer to the zero address\");\n\n _beforeTokenTransfer(from, to, tokenId);\n\n // Clear approvals from the previous owner\n _approve(address(0), tokenId);\n\n _holderTokens[from].remove(tokenId);\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(from, to, tokenId);\n }\n\n /**\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\n _tokenURIs[tokenId] = _tokenURI;\n }\n\n /**\n * @dev Internal function to set the base URI for all token IDs. It is\n * automatically added as a prefix to the value returned in {tokenURI},\n * or to the token ID if {tokenURI} is empty.\n */\n function _setBaseURI(string memory baseURI_) internal virtual {\n _baseURI = baseURI_;\n }\n\n /**\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n * The call is not executed if the target address is not a contract.\n *\n * @param from address representing the previous owner of the given token ID\n * @param to target address that will receive the tokens\n * @param tokenId uint256 ID of the token to be transferred\n * @param _data bytes optional data to send along with the call\n * @return bool whether the call correctly returned the expected magic value\n */\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\n private returns (bool)\n {\n if (!to.isContract()) {\n return true;\n }\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\n IERC721Receiver(to).onERC721Received.selector,\n _msgSender(),\n from,\n tokenId,\n _data\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\n bytes4 retval = abi.decode(returndata, (bytes4));\n return (retval == _ERC721_RECEIVED);\n }\n\n /**\n * @dev Approve `to` to operate on `tokenId`\n *\n * Emits an {Approval} event.\n */\n function _approve(address to, uint256 tokenId) internal virtual {\n _tokenApprovals[tokenId] = to;\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\n }\n\n /**\n * @dev Hook that is called before any token transfer. This includes minting\n * and burning.\n *\n * Calling conditions:\n *\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n * transferred to `to`.\n * - When `from` is zero, `tokenId` will be minted for `to`.\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n *\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n */\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\n}\n", - "sourcePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "sourceMap": "47398:16984:0:-:0;;;50476:370;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9993:40;9659:10;10012:20;;9993:18;;;:40;;:::i;:::-;50552:5;50544;:13;;;;;;;;;;;;:::i;:::-;;50578:7;50568;:17;;;;;;;;;;;;:::i;:::-;;50676:40;49618:10;50695:20;;50676:18;;;:40;;:::i;:::-;50727:49;49959:10;50746:29;;50727:18;;;:49;;:::i;:::-;50787:51;50341:10;50806:31;;50787:18;;;:51;;:::i;:::-;50476:370;;47398:16984;;10755:201;10854:10;10839:25;;:11;:25;;;;;10831:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10944:4;10908:20;:33;10929:11;10908:33;;;;;;;;;;;;;;;;;;:40;;;;;;;;;;;;;;;;;;10755:201;:::o;47398:16984::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", + "deployedSourceMap": "47398:16984:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10198:150;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;51437:100;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54223:221;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;53753:404;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;53231:211;;;:::i;:::-;;;;;;;;;;;;;;;;;;;55113:305;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;52993:162;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;55489:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;53519:172;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;51193:177;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;52812:97;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50910:221;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;51606:104;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54516:295;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;55711:285;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;51781:792;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54882:164;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;10198:150;10283:4;10307:20;:33;10328:11;10307:33;;;;;;;;;;;;;;;;;;;;;;;;;;;10300:40;;10198:150;;;:::o;51437:100::-;51491:13;51524:5;51517:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51437:100;:::o;54223:221::-;54299:7;54327:16;54335:7;54327;:16::i;:::-;54319:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54412:15;:24;54428:7;54412:24;;;;;;;;;;;;;;;;;;;;;54405:31;;54223:221;;;:::o;53753:404::-;53834:13;53850:23;53865:7;53850:14;:23::i;:::-;53834:39;;53898:5;53892:11;;:2;:11;;;;53884:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53978:5;53962:21;;:12;:10;:12::i;:::-;:21;;;:69;;;;53987:44;54011:5;54018:12;:10;:12::i;:::-;53987:23;:44::i;:::-;53962:69;53954:161;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54128:21;54137:2;54141:7;54128:8;:21::i;:::-;53753:404;;;:::o;53231:211::-;53292:7;53413:21;:12;:19;:21::i;:::-;53406:28;;53231:211;:::o;55113:305::-;55274:41;55293:12;:10;:12::i;:::-;55307:7;55274:18;:41::i;:::-;55266:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55382:28;55392:4;55398:2;55402:7;55382:9;:28::i;:::-;55113:305;;;:::o;52993:162::-;53090:7;53117:30;53141:5;53117:13;:20;53131:5;53117:20;;;;;;;;;;;;;;;:23;;:30;;;;:::i;:::-;53110:37;;52993:162;;;;:::o;55489:151::-;55593:39;55610:4;55616:2;55620:7;55593:39;;;;;;;;;;;;:16;:39::i;:::-;55489:151;;;:::o;53519:172::-;53594:7;53615:15;53636:22;53652:5;53636:12;:15;;:22;;;;:::i;:::-;53614:44;;;53676:7;53669:14;;;53519:172;;;:::o;51193:177::-;51265:7;51292:70;51309:7;51292:70;;;;;;;;;;;;;;;;;:12;:16;;:70;;;;;:::i;:::-;51285:77;;51193:177;;;:::o;52812:97::-;52860:13;52893:8;52886:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52812:97;:::o;50910:221::-;50982:7;51027:1;51010:19;;:5;:19;;;;51002:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51094:29;:13;:20;51108:5;51094:20;;;;;;;;;;;;;;;:27;:29::i;:::-;51087:36;;50910:221;;;:::o;51606:104::-;51662:13;51695:7;51688:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51606:104;:::o;54516:295::-;54631:12;:10;:12::i;:::-;54619:24;;:8;:24;;;;54611:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54731:8;54686:18;:32;54705:12;:10;:12::i;:::-;54686:32;;;;;;;;;;;;;;;:42;54719:8;54686:42;;;;;;;;;;;;;;;;:53;;;;;;;;;;;;;;;;;;54784:8;54755:48;;54770:12;:10;:12::i;:::-;54755:48;;;54794:8;54755:48;;;;;;;;;;;;;;;;;;;;54516:295;;:::o;55711:285::-;55843:41;55862:12;:10;:12::i;:::-;55876:7;55843:18;:41::i;:::-;55835:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55949:39;55963:4;55969:2;55973:7;55982:5;55949:13;:39::i;:::-;55711:285;;;;:::o;51781:792::-;51854:13;51888:16;51896:7;51888;:16::i;:::-;51880:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51969:23;51995:10;:19;52006:7;51995:19;;;;;;;;;;;51969:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52025:18;52046:9;:7;:9::i;:::-;52025:30;;52153:1;52137:4;52131:18;:23;52127:72;;;52178:9;52171:16;;;;;;52127:72;52329:1;52309:9;52303:23;:27;52299:108;;;52378:4;52384:9;52361:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52347:48;;;;;;52299:108;52539:4;52545:18;:7;:16;:18::i;:::-;52522:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52508:57;;;;51781:792;;;;:::o;54882:164::-;54979:4;55003:18;:25;55022:5;55003:25;;;;;;;;;;;;;;;:35;55029:8;55003:35;;;;;;;;;;;;;;;;;;;;;;;;;54996:42;;54882:164;;;;:::o;57463:127::-;57528:4;57552:30;57574:7;57552:12;:21;;:30;;;;:::i;:::-;57545:37;;57463:127;;;:::o;665:106::-;718:15;753:10;746:17;;665:106;:::o;63481:192::-;63583:2;63556:15;:24;63572:7;63556:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;63639:7;63635:2;63601:46;;63610:23;63625:7;63610:14;:23::i;:::-;63601:46;;;;;;;;;;;;63481:192;;:::o;44217:123::-;44286:7;44313:19;44321:3;:10;;44313:7;:19::i;:::-;44306:26;;44217:123;;;:::o;57757:355::-;57850:4;57875:16;57883:7;57875;:16::i;:::-;57867:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57951:13;57967:23;57982:7;57967:14;:23::i;:::-;57951:39;;58020:5;58009:16;;:7;:16;;;:51;;;;58053:7;58029:31;;:20;58041:7;58029:11;:20::i;:::-;:31;;;58009:51;:94;;;;58064:39;58088:5;58095:7;58064:23;:39::i;:::-;58009:94;58001:103;;;57757:355;;;;:::o;60893:599::-;61018:4;60991:31;;:23;61006:7;60991:14;:23::i;:::-;:31;;;60983:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61119:1;61105:16;;:2;:16;;;;61097:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61175:39;61196:4;61202:2;61206:7;61175:20;:39::i;:::-;61279:29;61296:1;61300:7;61279:8;:29::i;:::-;61321:35;61348:7;61321:13;:19;61335:4;61321:19;;;;;;;;;;;;;;;:26;;:35;;;;:::i;:::-;;61367:30;61389:7;61367:13;:17;61381:2;61367:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;61410:29;61427:7;61436:2;61410:12;:16;;:29;;;;;:::i;:::-;;61476:7;61472:2;61457:27;;61466:4;61457:27;;;;;;;;;;;;60893:599;;;:::o;36014:137::-;36085:7;36120:22;36124:3;:10;;36136:5;36120:3;:22::i;:::-;36112:31;;36105:38;;36014:137;;;;:::o;44679:236::-;44759:7;44768;44789:11;44802:13;44819:22;44823:3;:10;;44835:5;44819:3;:22::i;:::-;44788:53;;;;44868:3;44860:12;;44898:5;44890:14;;44852:55;;;;;;44679:236;;;;;:::o;45965:213::-;46072:7;46123:44;46128:3;:10;;46148:3;46140:12;;46154;46123:4;:44::i;:::-;46115:53;;46092:78;;45965:213;;;;;:::o;35556:114::-;35616:7;35643:19;35651:3;:10;;35643:7;:19::i;:::-;35636:26;;35556:114;;;:::o;56878:272::-;56992:28;57002:4;57008:2;57012:7;56992:9;:28::i;:::-;57039:48;57062:4;57068:2;57072:7;57081:5;57039:22;:48::i;:::-;57031:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56878:272;;;;:::o;46423:746::-;46479:13;46709:1;46700:5;:10;46696:53;;;46727:10;;;;;;;;;;;;;;;;;;;;;46696:53;46759:12;46774:5;46759:20;;46790:14;46815:78;46830:1;46822:4;:9;46815:78;;46848:8;;;;;;;46879:2;46871:10;;;;;;;;;46815:78;;;46903:19;46935:6;46925:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46903:39;;46953:13;46978:1;46969:6;:10;46953:26;;46997:5;46990:12;;47013:117;47028:1;47020:4;:9;47013:117;;47089:2;47082:4;:9;;;;;;47077:2;:14;47064:29;;47046:6;47053:7;;;;;;;47046:15;;;;;;;;;;;:47;;;;;;;;;;;47116:2;47108:10;;;;;;;;;47013:117;;;47154:6;47140:21;;;;;;46423:746;;;;:::o;43978:151::-;44062:4;44086:35;44096:3;:10;;44116:3;44108:12;;44086:9;:35::i;:::-;44079:42;;43978:151;;;;:::o;40796:110::-;40852:7;40879:3;:12;;:19;;;;40872:26;;40796:110;;;:::o;64286:93::-;;;;:::o;35101:137::-;35171:4;35195:35;35203:3;:10;;35223:5;35215:14;;35195:7;:35::i;:::-;35188:42;;35101:137;;;;:::o;34794:131::-;34861:4;34885:32;34890:3;:10;;34910:5;34902:14;;34885:4;:32::i;:::-;34878:39;;34794:131;;;;:::o;43401:185::-;43490:4;43514:64;43519:3;:10;;43539:3;43531:12;;43569:5;43553:23;;43545:32;;43514:4;:64::i;:::-;43507:71;;43401:185;;;;;:::o;31052:204::-;31119:7;31168:5;31147:3;:11;;:18;;;;:26;31139:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31230:3;:11;;31242:5;31230:18;;;;;;;;;;;;;;;;31223:25;;31052:204;;;;:::o;41261:279::-;41328:7;41337;41387:5;41365:3;:12;;:19;;;;:27;41357:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41444:22;41469:3;:12;;41482:5;41469:19;;;;;;;;;;;;;;;;;;41444:44;;41507:5;:10;;;41519:5;:12;;;41499:33;;;;;41261:279;;;;;:::o;42758:319::-;42852:7;42872:16;42891:3;:12;;:17;42904:3;42891:17;;;;;;;;;;;;42872:36;;42939:1;42927:8;:13;;42942:12;42919:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43009:3;:12;;43033:1;43022:8;:12;43009:26;;;;;;;;;;;;;;;;;;:33;;;43002:40;;;42758:319;;;;;:::o;30599:109::-;30655:7;30682:3;:11;;:18;;;;30675:25;;30599:109;;;:::o;62758:604::-;62879:4;62906:15;:2;:13;;;:15::i;:::-;62901:60;;62945:4;62938:11;;;;62901:60;62971:23;62997:252;63050:45;;;63110:12;:10;:12::i;:::-;63137:4;63156:7;63178:5;63013:181;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62997:252;;;;;;;;;;;;;;;;;:2;:15;;;;:252;;;;;:::i;:::-;62971:278;;63260:13;63287:10;63276:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63260:48;;47914:10;63337:16;;63327:26;;;:6;:26;;;;63319:35;;;;62758:604;;;;;;;:::o;40576:125::-;40647:4;40692:1;40671:3;:12;;:17;40684:3;40671:17;;;;;;;;;;;;:22;;40664:29;;40576:125;;;;:::o;28754:1544::-;28820:4;28938:18;28959:3;:12;;:19;28972:5;28959:19;;;;;;;;;;;;28938:40;;29009:1;28995:10;:15;28991:1300;;29357:21;29394:1;29381:10;:14;29357:38;;29410:17;29451:1;29430:3;:11;;:18;;;;:22;29410:42;;29697:17;29717:3;:11;;29729:9;29717:22;;;;;;;;;;;;;;;;29697:42;;29863:9;29834:3;:11;;29846:13;29834:26;;;;;;;;;;;;;;;:38;;;;29982:1;29966:13;:17;29940:3;:12;;:23;29953:9;29940:23;;;;;;;;;;;:43;;;;30092:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;30187:3;:12;;:19;30200:5;30187:19;;;;;;;;;;;30180:26;;;30230:4;30223:11;;;;;;;;28991:1300;30274:5;30267:12;;;28754:1544;;;;;:::o;28164:414::-;28227:4;28249:21;28259:3;28264:5;28249:9;:21::i;:::-;28244:327;;28287:3;:11;;28304:5;28287:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28470:3;:11;;:18;;;;28448:3;:12;;:19;28461:5;28448:19;;;;;;;;;;;:40;;;;28510:4;28503:11;;;;28244:327;28554:5;28547:12;;28164:414;;;;;:::o;38076:692::-;38152:4;38268:16;38287:3;:12;;:17;38300:3;38287:17;;;;;;;;;;;;38268:36;;38333:1;38321:8;:13;38317:444;;;38388:3;:12;;38406:38;;;;;;;;38423:3;38406:38;;;;38436:5;38406:38;;;38388:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38603:3;:12;;:19;;;;38583:3;:12;;:17;38596:3;38583:17;;;;;;;;;;;:39;;;;38644:4;38637:11;;;;;38317:444;38717:5;38681:3;:12;;38705:1;38694:8;:12;38681:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;38744:5;38737:12;;;38076:692;;;;;;:::o;19189:422::-;19249:4;19457:12;19568:7;19556:20;19548:28;;19602:1;19595:4;:8;19588:15;;;19189:422;;;:::o;22107:195::-;22210:12;22242:52;22264:6;22272:4;22278:1;22281:12;22242:21;:52::i;:::-;22235:59;;22107:195;;;;;:::o;30384:129::-;30457:4;30504:1;30481:3;:12;;:19;30494:5;30481:19;;;;;;;;;;;;:24;;30474:31;;30384:129;;;;:::o;23159:530::-;23286:12;23344:5;23319:21;:30;;23311:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23411:18;23422:6;23411:10;:18::i;:::-;23403:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23537:12;23551:23;23578:6;:11;;23598:5;23606:4;23578:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23536:75;;;;23629:52;23647:7;23656:10;23668:12;23629:17;:52::i;:::-;23622:59;;;;23159:530;;;;;;:::o;25699:742::-;25814:12;25843:7;25839:595;;;25874:10;25867:17;;;;25839:595;26008:1;25988:10;:17;:21;25984:439;;;26251:10;26245:17;26312:15;26299:10;26295:2;26291:19;26284:44;26199:148;26394:12;26387:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25699:742;;;;;;:::o", + "source": "// SPDX-License-Identifier: MIT\r\n\r\n// File: @openzeppelin/contracts/utils/Context.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/*\r\n * @dev Provides information about the current execution context, including the\r\n * sender of the transaction and its data. While these are generally available\r\n * via msg.sender and msg.data, they should not be accessed in such a direct\r\n * manner, since when dealing with GSN meta-transactions the account sending and\r\n * paying for execution may not be the actual sender (as far as an application\r\n * is concerned).\r\n *\r\n * This contract is only required for intermediate, library-like contracts.\r\n */\r\nabstract contract Context {\r\n function _msgSender() internal view virtual returns (address payable) {\r\n return msg.sender;\r\n }\r\n\r\n function _msgData() internal view virtual returns (bytes memory) {\r\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\r\n return msg.data;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/IERC165.sol\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Interface of the ERC165 standard, as defined in the\r\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\r\n *\r\n * Implementers can declare support of contract interfaces, which can then be\r\n * queried by others ({ERC165Checker}).\r\n *\r\n * For an implementation, see {ERC165}.\r\n */\r\ninterface IERC165 {\r\n /**\r\n * @dev Returns true if this contract implements the interface defined by\r\n * `interfaceId`. See the corresponding\r\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\r\n * to learn more about how these ids are created.\r\n *\r\n * This function call must use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Required interface of an ERC721 compliant contract.\r\n */\r\ninterface IERC721 is IERC165 {\r\n /**\r\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\r\n */\r\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\r\n */\r\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\r\n */\r\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\r\n\r\n /**\r\n * @dev Returns the number of tokens in ``owner``'s account.\r\n */\r\n function balanceOf(address owner) external view returns (uint256 balance);\r\n\r\n /**\r\n * @dev Returns the owner of the `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function ownerOf(uint256 tokenId) external view returns (address owner);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Transfers `tokenId` token from `from` to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\r\n * The approval is cleared when the token is transferred.\r\n *\r\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\r\n *\r\n * Requirements:\r\n *\r\n * - The caller must own the token or be an approved operator.\r\n * - `tokenId` must exist.\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function approve(address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Returns the account approved for `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function getApproved(uint256 tokenId) external view returns (address operator);\r\n\r\n /**\r\n * @dev Approve or remove `operator` as an operator for the caller.\r\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\r\n *\r\n * Requirements:\r\n *\r\n * - The `operator` cannot be the caller.\r\n *\r\n * Emits an {ApprovalForAll} event.\r\n */\r\n function setApprovalForAll(address operator, bool _approved) external;\r\n\r\n /**\r\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\r\n *\r\n * See {setApprovalForAll}\r\n */\r\n function isApprovedForAll(address owner, address operator) external view returns (bool);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Metadata is IERC721 {\r\n\r\n /**\r\n * @dev Returns the token collection name.\r\n */\r\n function name() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the token collection symbol.\r\n */\r\n function symbol() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\r\n */\r\n function tokenURI(uint256 tokenId) external view returns (string memory);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\r\n\r\n\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Enumerable is IERC721 {\r\n\r\n /**\r\n * @dev Returns the total amount of tokens stored by the contract.\r\n */\r\n function totalSupply() external view returns (uint256);\r\n\r\n /**\r\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\r\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\r\n\r\n /**\r\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\r\n * Use along with {totalSupply} to enumerate all tokens.\r\n */\r\n function tokenByIndex(uint256 index) external view returns (uint256);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\r\n\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 token receiver interface\r\n * @dev Interface for any contract that wants to support safeTransfers\r\n * from ERC721 asset contracts.\r\n */\r\ninterface IERC721Receiver {\r\n /**\r\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\r\n * by `operator` from `from`, this function is called.\r\n *\r\n * It must return its Solidity selector to confirm the token transfer.\r\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\r\n *\r\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\r\n */\r\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/ERC165.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Implementation of the {IERC165} interface.\r\n *\r\n * Contracts may inherit from this and call {_registerInterface} to declare\r\n * their support of an interface.\r\n */\r\nabstract contract ERC165 is IERC165 {\r\n /*\r\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\r\n\r\n /**\r\n * @dev Mapping of interface ids to whether or not it's supported.\r\n */\r\n mapping(bytes4 => bool) private _supportedInterfaces;\r\n\r\n constructor () {\r\n // Derived contracts need only register support for their own interfaces,\r\n // we register support for ERC165 itself here\r\n _registerInterface(_INTERFACE_ID_ERC165);\r\n }\r\n\r\n /**\r\n * @dev See {IERC165-supportsInterface}.\r\n *\r\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\r\n return _supportedInterfaces[interfaceId];\r\n }\r\n\r\n /**\r\n * @dev Registers the contract as an implementer of the interface defined by\r\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\r\n * registering its interface id is not required.\r\n *\r\n * See {IERC165-supportsInterface}.\r\n *\r\n * Requirements:\r\n *\r\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\r\n */\r\n function _registerInterface(bytes4 interfaceId) internal virtual {\r\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\r\n _supportedInterfaces[interfaceId] = true;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/math/SafeMath.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\r\n * checks.\r\n *\r\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\r\n * in bugs, because programmers usually assume that an overflow raises an\r\n * error, which is the standard behavior in high level programming languages.\r\n * `SafeMath` restores this intuition by reverting the transaction when an\r\n * operation overflows.\r\n *\r\n * Using this library instead of the unchecked operations eliminates an entire\r\n * class of bugs, so it's recommended to use it always.\r\n */\r\nlibrary SafeMath {\r\n /**\r\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n uint256 c = a + b;\r\n if (c < a) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b > a) return (false, 0);\r\n return (true, a - b);\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\r\n // benefit is lost if 'b' is also tested.\r\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\r\n if (a == 0) return (true, 0);\r\n uint256 c = a * b;\r\n if (c / a != b) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a / b);\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a % b);\r\n }\r\n\r\n /**\r\n * @dev Returns the addition of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `+` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Addition cannot overflow.\r\n */\r\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\r\n uint256 c = a + b;\r\n require(c >= a, \"SafeMath: addition overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting on\r\n * overflow (when the result is negative).\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b <= a, \"SafeMath: subtraction overflow\");\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `*` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Multiplication cannot overflow.\r\n */\r\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\r\n if (a == 0) return 0;\r\n uint256 c = a * b;\r\n require(c / a == b, \"SafeMath: multiplication overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: division by zero\");\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting when dividing by zero.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: modulo by zero\");\r\n return a % b;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\r\n * overflow (when the result is negative).\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {trySub}.\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b <= a, errorMessage);\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryDiv}.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting with custom message when dividing by zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryMod}.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a % b;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Address.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n/**\r\n * @dev Collection of functions related to the address type\r\n */\r\nlibrary Address {\r\n /**\r\n * @dev Returns true if `account` is a contract.\r\n *\r\n * [IMPORTANT]\r\n * ====\r\n * It is unsafe to assume that an address for which this function returns\r\n * false is an externally-owned account (EOA) and not a contract.\r\n *\r\n * Among others, `isContract` will return false for the following\r\n * types of addresses:\r\n *\r\n * - an externally-owned account\r\n * - a contract in construction\r\n * - an address where a contract will be created\r\n * - an address where a contract lived, but was destroyed\r\n * ====\r\n */\r\n function isContract(address account) internal view returns (bool) {\r\n // This method relies on extcodesize, which returns 0 for contracts in\r\n // construction, since the code is only stored at the end of the\r\n // constructor execution.\r\n\r\n uint256 size;\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly { size := extcodesize(account) }\r\n return size > 0;\r\n }\r\n\r\n /**\r\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\r\n * `recipient`, forwarding all available gas and reverting on errors.\r\n *\r\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\r\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\r\n * imposed by `transfer`, making them unable to receive funds via\r\n * `transfer`. {sendValue} removes this limitation.\r\n *\r\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\r\n *\r\n * IMPORTANT: because control is transferred to `recipient`, care must be\r\n * taken to not create reentrancy vulnerabilities. Consider using\r\n * {ReentrancyGuard} or the\r\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\r\n */\r\n function sendValue(address payable recipient, uint256 amount) internal {\r\n require(address(this).balance >= amount, \"Address: insufficient balance\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\r\n (bool success, ) = recipient.call{ value: amount }(\"\");\r\n require(success, \"Address: unable to send value, recipient may have reverted\");\r\n }\r\n\r\n /**\r\n * @dev Performs a Solidity function call using a low level `call`. A\r\n * plain`call` is an unsafe replacement for a function call: use this\r\n * function instead.\r\n *\r\n * If `target` reverts with a revert reason, it is bubbled up by this\r\n * function (like regular Solidity function calls).\r\n *\r\n * Returns the raw returned data. To convert to the expected return value,\r\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\r\n *\r\n * Requirements:\r\n *\r\n * - `target` must be a contract.\r\n * - calling `target` with `data` must not revert.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionCall(target, data, \"Address: low-level call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\r\n * `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, 0, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but also transferring `value` wei to `target`.\r\n *\r\n * Requirements:\r\n *\r\n * - the calling contract must have an ETH balance of at least `value`.\r\n * - the called Solidity function must be `payable`.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\r\n * with `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\r\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\r\n require(isContract(target), \"Address: call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\r\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\r\n require(isContract(target), \"Address: static call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.staticcall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n require(isContract(target), \"Address: delegate call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.delegatecall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\r\n if (success) {\r\n return returndata;\r\n } else {\r\n // Look for revert reason and bubble it up if present\r\n if (returndata.length > 0) {\r\n // The easiest way to bubble the revert reason is using memory via assembly\r\n\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n let returndata_size := mload(returndata)\r\n revert(add(32, returndata), returndata_size)\r\n }\r\n } else {\r\n revert(errorMessage);\r\n }\r\n }\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing\r\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\r\n * types.\r\n *\r\n * Sets have the following properties:\r\n *\r\n * - Elements are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableSet for EnumerableSet.AddressSet;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableSet.AddressSet private mySet;\r\n * }\r\n * ```\r\n *\r\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\r\n * and `uint256` (`UintSet`) are supported.\r\n */\r\nlibrary EnumerableSet {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Set type with\r\n // bytes32 values.\r\n // The Set implementation uses private functions, and user-facing\r\n // implementations (such as AddressSet) are just wrappers around the\r\n // underlying Set.\r\n // This means that we can only create new EnumerableSets for types that fit\r\n // in bytes32.\r\n\r\n struct Set {\r\n // Storage of set values\r\n bytes32[] _values;\r\n\r\n // Position of the value in the `values` array, plus 1 because index 0\r\n // means a value is not in the set.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function _add(Set storage set, bytes32 value) private returns (bool) {\r\n if (!_contains(set, value)) {\r\n set._values.push(value);\r\n // The value is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n set._indexes[value] = set._values.length;\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function _remove(Set storage set, bytes32 value) private returns (bool) {\r\n // We read and store the value's index to prevent multiple reads from the same storage slot\r\n uint256 valueIndex = set._indexes[value];\r\n\r\n if (valueIndex != 0) { // Equivalent to contains(set, value)\r\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\r\n // the array, and then remove the last element (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = valueIndex - 1;\r\n uint256 lastIndex = set._values.length - 1;\r\n\r\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n bytes32 lastvalue = set._values[lastIndex];\r\n\r\n // Move the last value to the index where the value to delete is\r\n set._values[toDeleteIndex] = lastvalue;\r\n // Update the index for the moved value\r\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved value was stored\r\n set._values.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete set._indexes[value];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\r\n return set._indexes[value] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function _length(Set storage set) private view returns (uint256) {\r\n return set._values.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\r\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\r\n return set._values[index];\r\n }\r\n\r\n // Bytes32Set\r\n\r\n struct Bytes32Set {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _add(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _remove(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\r\n return _contains(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(Bytes32Set storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\r\n return _at(set._inner, index);\r\n }\r\n\r\n // AddressSet\r\n\r\n struct AddressSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(AddressSet storage set, address value) internal returns (bool) {\r\n return _add(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(AddressSet storage set, address value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(AddressSet storage set, address value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(AddressSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\r\n return address(uint160(uint256(_at(set._inner, index))));\r\n }\r\n\r\n\r\n // UintSet\r\n\r\n struct UintSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _add(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function length(UintSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\r\n return uint256(_at(set._inner, index));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing an enumerable variant of Solidity's\r\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\r\n * type.\r\n *\r\n * Maps have the following properties:\r\n *\r\n * - Entries are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableMap.UintToAddressMap private myMap;\r\n * }\r\n * ```\r\n *\r\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\r\n * supported.\r\n */\r\nlibrary EnumerableMap {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Map type with\r\n // bytes32 keys and values.\r\n // The Map implementation uses private functions, and user-facing\r\n // implementations (such as Uint256ToAddressMap) are just wrappers around\r\n // the underlying Map.\r\n // This means that we can only create new EnumerableMaps for types that fit\r\n // in bytes32.\r\n\r\n struct MapEntry {\r\n bytes32 _key;\r\n bytes32 _value;\r\n }\r\n\r\n struct Map {\r\n // Storage of map keys and values\r\n MapEntry[] _entries;\r\n\r\n // Position of the entry defined by a key in the `entries` array, plus 1\r\n // because index 0 means a key is not in the map.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\r\n map._entries.push(MapEntry({ _key: key, _value: value }));\r\n // The entry is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n map._indexes[key] = map._entries.length;\r\n return true;\r\n } else {\r\n map._entries[keyIndex - 1]._value = value;\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a key-value pair from a map. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function _remove(Map storage map, bytes32 key) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex != 0) { // Equivalent to contains(map, key)\r\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\r\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = keyIndex - 1;\r\n uint256 lastIndex = map._entries.length - 1;\r\n\r\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n MapEntry storage lastEntry = map._entries[lastIndex];\r\n\r\n // Move the last entry to the index where the entry to delete is\r\n map._entries[toDeleteIndex] = lastEntry;\r\n // Update the index for the moved entry\r\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved entry was stored\r\n map._entries.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete map._indexes[key];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\r\n return map._indexes[key] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of key-value pairs in the map. O(1).\r\n */\r\n function _length(Map storage map) private view returns (uint256) {\r\n return map._entries.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of entries inside the\r\n * array, and it may change when more entries are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\r\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\r\n\r\n MapEntry storage entry = map._entries[index];\r\n return (entry._key, entry._value);\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n */\r\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\r\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {_tryGet}.\r\n */\r\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n // UintToAddressMap\r\n\r\n struct UintToAddressMap {\r\n Map _inner;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\r\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\r\n return _remove(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\r\n return _contains(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of elements in the map. O(1).\r\n */\r\n function length(UintToAddressMap storage map) internal view returns (uint256) {\r\n return _length(map._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the element stored at position `index` in the set. O(1).\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\r\n (bytes32 key, bytes32 value) = _at(map._inner, index);\r\n return (uint256(key), address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\r\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\r\n return (success, address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\r\n }\r\n\r\n /**\r\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryGet}.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Strings.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev String operations.\r\n */\r\nlibrary Strings {\r\n /**\r\n * @dev Converts a `uint256` to its ASCII `string` representation.\r\n */\r\n function toString(uint256 value) internal pure returns (string memory) {\r\n // Inspired by OraclizeAPI's implementation - MIT licence\r\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\r\n\r\n if (value == 0) {\r\n return \"0\";\r\n }\r\n uint256 temp = value;\r\n uint256 digits;\r\n while (temp != 0) {\r\n digits++;\r\n temp /= 10;\r\n }\r\n bytes memory buffer = new bytes(digits);\r\n uint256 index = digits - 1;\r\n temp = value;\r\n while (temp != 0) {\r\n buffer[index--] = bytes1(uint8(48 + temp % 10));\r\n temp /= 10;\r\n }\r\n return string(buffer);\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 Non-Fungible Token Standard basic implementation\r\n * @dev see https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\r\n using SafeMath for uint256;\r\n using Address for address;\r\n using EnumerableSet for EnumerableSet.UintSet;\r\n using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n using Strings for uint256;\r\n\r\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\r\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\r\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\r\n\r\n // Mapping from holder address to their (enumerable) set of owned tokens\r\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\r\n\r\n // Enumerable mapping from token ids to their owners\r\n EnumerableMap.UintToAddressMap private _tokenOwners;\r\n\r\n // Mapping from token ID to approved address\r\n mapping (uint256 => address) private _tokenApprovals;\r\n\r\n // Mapping from owner to operator approvals\r\n mapping (address => mapping (address => bool)) private _operatorApprovals;\r\n\r\n // Token name\r\n string private _name;\r\n\r\n // Token symbol\r\n string private _symbol;\r\n\r\n // Optional mapping for token URIs\r\n mapping (uint256 => string) private _tokenURIs;\r\n\r\n // Base URI\r\n string private _baseURI;\r\n\r\n /*\r\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\r\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\r\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\r\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\r\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\r\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\r\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\r\n *\r\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\r\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\r\n\r\n /*\r\n * bytes4(keccak256('name()')) == 0x06fdde03\r\n * bytes4(keccak256('symbol()')) == 0x95d89b41\r\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\r\n *\r\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\r\n\r\n /*\r\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\r\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\r\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\r\n *\r\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\r\n\r\n /**\r\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\r\n */\r\n constructor (string memory name_, string memory symbol_) {\r\n _name = name_;\r\n _symbol = symbol_;\r\n\r\n // register the supported interfaces to conform to ERC721 via ERC165\r\n _registerInterface(_INTERFACE_ID_ERC721);\r\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\r\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-balanceOf}.\r\n */\r\n function balanceOf(address owner) public view virtual override returns (uint256) {\r\n require(owner != address(0), \"ERC721: balance query for the zero address\");\r\n return _holderTokens[owner].length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-ownerOf}.\r\n */\r\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\r\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-name}.\r\n */\r\n function name() public view virtual override returns (string memory) {\r\n return _name;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-symbol}.\r\n */\r\n function symbol() public view virtual override returns (string memory) {\r\n return _symbol;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-tokenURI}.\r\n */\r\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\r\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\r\n\r\n string memory _tokenURI = _tokenURIs[tokenId];\r\n string memory base = baseURI();\r\n\r\n // If there is no base URI, return the token URI.\r\n if (bytes(base).length == 0) {\r\n return _tokenURI;\r\n }\r\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\r\n if (bytes(_tokenURI).length > 0) {\r\n return string(abi.encodePacked(base, _tokenURI));\r\n }\r\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\r\n return string(abi.encodePacked(base, tokenId.toString()));\r\n }\r\n\r\n /**\r\n * @dev Returns the base URI set via {_setBaseURI}. This will be\r\n * automatically added as a prefix in {tokenURI} to each token's URI, or\r\n * to the token ID if no specific URI is set for that token ID.\r\n */\r\n function baseURI() public view virtual returns (string memory) {\r\n return _baseURI;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\r\n return _holderTokens[owner].at(index);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-totalSupply}.\r\n */\r\n function totalSupply() public view virtual override returns (uint256) {\r\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\r\n return _tokenOwners.length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenByIndex}.\r\n */\r\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\r\n (uint256 tokenId, ) = _tokenOwners.at(index);\r\n return tokenId;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-approve}.\r\n */\r\n function approve(address to, uint256 tokenId) public virtual override {\r\n address owner = ERC721.ownerOf(tokenId);\r\n require(to != owner, \"ERC721: approval to current owner\");\r\n\r\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\r\n \"ERC721: approve caller is not owner nor approved for all\"\r\n );\r\n\r\n _approve(to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-getApproved}.\r\n */\r\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\r\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\r\n\r\n return _tokenApprovals[tokenId];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-setApprovalForAll}.\r\n */\r\n function setApprovalForAll(address operator, bool approved) public virtual override {\r\n require(operator != _msgSender(), \"ERC721: approve to caller\");\r\n\r\n _operatorApprovals[_msgSender()][operator] = approved;\r\n emit ApprovalForAll(_msgSender(), operator, approved);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-isApprovedForAll}.\r\n */\r\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\r\n return _operatorApprovals[owner][operator];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-transferFrom}.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n //solhint-disable-next-line max-line-length\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n\r\n _transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n safeTransferFrom(from, to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n _safeTransfer(from, to, tokenId, _data);\r\n }\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\r\n *\r\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\r\n * implement alternative mechanisms to perform token transfer, such as signature-based.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _transfer(from, to, tokenId);\r\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Returns whether `tokenId` exists.\r\n *\r\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\r\n *\r\n * Tokens start existing when they are minted (`_mint`),\r\n * and stop existing when they are burned (`_burn`).\r\n */\r\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\r\n return _tokenOwners.contains(tokenId);\r\n }\r\n\r\n /**\r\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\r\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\r\n address owner = ERC721.ownerOf(tokenId);\r\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\r\n }\r\n\r\n /**\r\n * @dev Safely mints `tokenId` and transfers it to `to`.\r\n *\r\n * Requirements:\r\n d*\r\n * - `tokenId` must not exist.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeMint(address to, uint256 tokenId) internal virtual {\r\n _safeMint(to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\r\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\r\n */\r\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _mint(to, tokenId);\r\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Mints `tokenId` and transfers it to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must not exist.\r\n * - `to` cannot be the zero address.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _mint(address to, uint256 tokenId) internal virtual {\r\n require(to != address(0), \"ERC721: mint to the zero address\");\r\n require(!_exists(tokenId), \"ERC721: token already minted\");\r\n\r\n _beforeTokenTransfer(address(0), to, tokenId);\r\n\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(address(0), to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Destroys `tokenId`.\r\n * The approval is cleared when the token is burned.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _burn(uint256 tokenId) internal virtual {\r\n address owner = ERC721.ownerOf(tokenId); // internal owner\r\n\r\n _beforeTokenTransfer(owner, address(0), tokenId);\r\n\r\n // Clear approvals\r\n _approve(address(0), tokenId);\r\n\r\n // Clear metadata (if any)\r\n if (bytes(_tokenURIs[tokenId]).length != 0) {\r\n delete _tokenURIs[tokenId];\r\n }\r\n\r\n _holderTokens[owner].remove(tokenId);\r\n\r\n _tokenOwners.remove(tokenId);\r\n\r\n emit Transfer(owner, address(0), tokenId);\r\n }\r\n\r\n /**\r\n * @dev Transfers `tokenId` from `from` to `to`.\r\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\r\n *\r\n * Requirements:\r\n *\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\r\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\r\n require(to != address(0), \"ERC721: transfer to the zero address\");\r\n\r\n _beforeTokenTransfer(from, to, tokenId);\r\n\r\n // Clear approvals from the previous owner\r\n _approve(address(0), tokenId);\r\n\r\n _holderTokens[from].remove(tokenId);\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\r\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\r\n _tokenURIs[tokenId] = _tokenURI;\r\n }\r\n\r\n /**\r\n * @dev Internal function to set the base URI for all token IDs. It is\r\n * automatically added as a prefix to the value returned in {tokenURI},\r\n * or to the token ID if {tokenURI} is empty.\r\n */\r\n function _setBaseURI(string memory baseURI_) internal virtual {\r\n _baseURI = baseURI_;\r\n }\r\n\r\n /**\r\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\r\n * The call is not executed if the target address is not a contract.\r\n *\r\n * @param from address representing the previous owner of the given token ID\r\n * @param to target address that will receive the tokens\r\n * @param tokenId uint256 ID of the token to be transferred\r\n * @param _data bytes optional data to send along with the call\r\n * @return bool whether the call correctly returned the expected magic value\r\n */\r\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\r\n private returns (bool)\r\n {\r\n if (!to.isContract()) {\r\n return true;\r\n }\r\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\r\n IERC721Receiver(to).onERC721Received.selector,\r\n _msgSender(),\r\n from,\r\n tokenId,\r\n _data\r\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n bytes4 retval = abi.decode(returndata, (bytes4));\r\n return (retval == _ERC721_RECEIVED);\r\n }\r\n\r\n /**\r\n * @dev Approve `to` to operate on `tokenId`\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function _approve(address to, uint256 tokenId) internal virtual {\r\n _tokenApprovals[tokenId] = to;\r\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\r\n }\r\n\r\n /**\r\n * @dev Hook that is called before any token transfer. This includes minting\r\n * and burning.\r\n *\r\n * Calling conditions:\r\n *\r\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\r\n * transferred to `to`.\r\n * - When `from` is zero, `tokenId` will be minted for `to`.\r\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n *\r\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\r\n */\r\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\r\n}\r\n", + "sourcePath": "C:\\Users\\Noahm\\cryptoboys-nft-marketplace\\src\\contracts\\ERC721.sol", "ast": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, - "id": 3499, + "id": 2991, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 509, + "id": 1, "literals": [ "solidity", ">=", @@ -486,7 +486,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "abstract": true, @@ -494,77 +494,77 @@ "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, - "id": 530, + "id": 22, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 517, + "id": 9, "nodeType": "Block", - "src": "719:34:1", + "src": "735:36:0", "statements": [ { "expression": { "expression": { - "id": 514, + "id": 6, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "736:3:1", + "src": "753:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 515, + "id": 7, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "736:10:1", + "src": "753:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 513, - "id": 516, + "functionReturnParameters": 5, + "id": 8, "nodeType": "Return", - "src": "729:17:1" + "src": "746:17:0" } ] }, - "id": 518, + "id": 10, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgSender", "nodeType": "FunctionDefinition", "parameters": { - "id": 510, + "id": 2, "nodeType": "ParameterList", "parameters": [], - "src": "668:2:1" + "src": "684:2:0" }, "returnParameters": { - "id": 513, + "id": 5, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 512, + "id": 4, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 518, - "src": "702:15:1", + "scope": 10, + "src": "718:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -572,10 +572,10 @@ "typeString": "address payable" }, "typeName": { - "id": 511, + "id": 3, "name": "address", "nodeType": "ElementaryTypeName", - "src": "702:15:1", + "src": "718:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -585,95 +585,95 @@ "visibility": "internal" } ], - "src": "701:17:1" + "src": "717:17:0" }, - "scope": 530, - "src": "649:104:1", + "scope": 22, + "src": "665:106:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 528, + "id": 20, "nodeType": "Block", - "src": "824:165:1", + "src": "844:168:0", "statements": [ { "expression": { - "id": 523, + "id": 15, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "834:4:1", + "src": "855:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 524, + "id": 16, "nodeType": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "expression": { "expression": { - "id": 525, + "id": 17, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "974:3:1", + "src": "996:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 526, + "id": 18, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "data", "nodeType": "MemberAccess", - "src": "974:8:1", + "src": "996:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" } }, - "functionReturnParameters": 522, - "id": 527, + "functionReturnParameters": 14, + "id": 19, "nodeType": "Return", - "src": "967:15:1" + "src": "989:15:0" } ] }, - "id": 529, + "id": 21, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgData", "nodeType": "FunctionDefinition", "parameters": { - "id": 519, + "id": 11, "nodeType": "ParameterList", "parameters": [], - "src": "776:2:1" + "src": "796:2:0" }, "returnParameters": { - "id": 522, + "id": 14, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 521, + "id": 13, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 529, - "src": "810:12:1", + "scope": 21, + "src": "830:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -681,10 +681,10 @@ "typeString": "bytes" }, "typeName": { - "id": 520, + "id": 12, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "810:5:1", + "src": "830:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -693,20 +693,20 @@ "visibility": "internal" } ], - "src": "809:14:1" + "src": "829:14:0" }, - "scope": 530, - "src": "759:230:1", + "scope": 22, + "src": "779:233:0", "stateMutability": "view", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "617:374:1" + "scope": 2991, + "src": "632:383:0" }, { - "id": 531, + "id": 23, "literals": [ "solidity", ">=", @@ -717,7 +717,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "abstract": false, @@ -725,45 +725,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 532, + "id": 24, "nodeType": "StructuredDocumentation", - "src": "1086:279:1", + "src": "1116:287:0", "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, "fullyImplemented": false, - "id": 541, + "id": 33, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 533, + "id": 25, "nodeType": "StructuredDocumentation", - "src": "1390:340:1", + "src": "1430:347:0", "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 540, + "id": 32, "implemented": false, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 536, + "id": 28, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 535, + "id": 27, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1762:18:1", + "scope": 32, + "src": "1810:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -771,10 +771,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 534, + "id": 26, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "1762:6:1", + "src": "1810:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -783,20 +783,20 @@ "visibility": "internal" } ], - "src": "1761:20:1" + "src": "1809:20:0" }, "returnParameters": { - "id": 539, + "id": 31, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 538, + "id": 30, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1805:4:1", + "scope": 32, + "src": "1853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -804,10 +804,10 @@ "typeString": "bool" }, "typeName": { - "id": 537, + "id": 29, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1805:4:1", + "src": "1853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -816,20 +816,20 @@ "visibility": "internal" } ], - "src": "1804:6:1" + "src": "1852:6:0" }, - "scope": 541, - "src": "1735:76:1", + "scope": 33, + "src": "1783:76:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1366:447:1" + "scope": 2991, + "src": "1405:457:0" }, { - "id": 542, + "id": 34, "literals": [ "solidity", ">=", @@ -840,43 +840,43 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 544, + "id": 36, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "1996:7:1", + "referencedDeclaration": 33, + "src": "2054:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 545, + "id": 37, "nodeType": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "documentation": { - "id": 543, + "id": 35, "nodeType": "StructuredDocumentation", - "src": "1907:67:1", + "src": "1962:69:0", "text": " @dev Required interface of an ERC721 compliant contract." }, "fullyImplemented": false, - "id": 655, + "id": 147, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", "nodeType": "ContractDefinition", @@ -884,27 +884,27 @@ { "anonymous": false, "documentation": { - "id": 546, + "id": 38, "nodeType": "StructuredDocumentation", - "src": "2010:88:1", + "src": "2069:90:0", "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 554, + "id": 46, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { - "id": 553, + "id": 45, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 548, + "id": 40, "indexed": true, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2118:20:1", + "scope": 46, + "src": "2180:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -912,10 +912,10 @@ "typeString": "address" }, "typeName": { - "id": 547, + "id": 39, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2118:7:1", + "src": "2180:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -926,13 +926,13 @@ }, { "constant": false, - "id": 550, + "id": 42, "indexed": true, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2140:18:1", + "scope": 46, + "src": "2202:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -940,10 +940,10 @@ "typeString": "address" }, "typeName": { - "id": 549, + "id": 41, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2140:7:1", + "src": "2202:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -954,13 +954,13 @@ }, { "constant": false, - "id": 552, + "id": 44, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2160:23:1", + "scope": 46, + "src": "2222:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -968,10 +968,10 @@ "typeString": "uint256" }, "typeName": { - "id": 551, + "id": 43, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2160:7:1", + "src": "2222:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -980,34 +980,34 @@ "visibility": "internal" } ], - "src": "2117:67:1" + "src": "2179:67:0" }, - "src": "2103:82:1" + "src": "2165:82:0" }, { "anonymous": false, "documentation": { - "id": 555, + "id": 47, "nodeType": "StructuredDocumentation", - "src": "2191:94:1", + "src": "2255:96:0", "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 563, + "id": 55, "name": "Approval", "nodeType": "EventDefinition", "parameters": { - "id": 562, + "id": 54, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 557, + "id": 49, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2305:21:1", + "scope": 55, + "src": "2372:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1015,10 +1015,10 @@ "typeString": "address" }, "typeName": { - "id": 556, + "id": 48, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2305:7:1", + "src": "2372:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1029,13 +1029,13 @@ }, { "constant": false, - "id": 559, + "id": 51, "indexed": true, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2328:24:1", + "scope": 55, + "src": "2395:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1043,10 +1043,10 @@ "typeString": "address" }, "typeName": { - "id": 558, + "id": 50, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2328:7:1", + "src": "2395:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1057,13 +1057,13 @@ }, { "constant": false, - "id": 561, + "id": 53, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2354:23:1", + "scope": 55, + "src": "2421:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1071,10 +1071,10 @@ "typeString": "uint256" }, "typeName": { - "id": 560, + "id": 52, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2354:7:1", + "src": "2421:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1083,34 +1083,34 @@ "visibility": "internal" } ], - "src": "2304:74:1" + "src": "2371:74:0" }, - "src": "2290:89:1" + "src": "2357:89:0" }, { "anonymous": false, "documentation": { - "id": 564, + "id": 56, "nodeType": "StructuredDocumentation", - "src": "2385:117:1", + "src": "2454:119:0", "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 572, + "id": 64, "name": "ApprovalForAll", "nodeType": "EventDefinition", "parameters": { - "id": 571, + "id": 63, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 566, + "id": 58, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2528:21:1", + "scope": 64, + "src": "2600:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1118,10 +1118,10 @@ "typeString": "address" }, "typeName": { - "id": 565, + "id": 57, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2528:7:1", + "src": "2600:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1132,13 +1132,13 @@ }, { "constant": false, - "id": 568, + "id": 60, "indexed": true, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2551:24:1", + "scope": 64, + "src": "2623:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1146,10 +1146,10 @@ "typeString": "address" }, "typeName": { - "id": 567, + "id": 59, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2551:7:1", + "src": "2623:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1160,13 +1160,13 @@ }, { "constant": false, - "id": 570, + "id": 62, "indexed": false, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2577:13:1", + "scope": 64, + "src": "2649:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1174,10 +1174,10 @@ "typeString": "bool" }, "typeName": { - "id": 569, + "id": 61, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2577:4:1", + "src": "2649:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1186,36 +1186,36 @@ "visibility": "internal" } ], - "src": "2527:64:1" + "src": "2599:64:0" }, - "src": "2507:85:1" + "src": "2579:85:0" }, { "documentation": { - "id": 573, + "id": 65, "nodeType": "StructuredDocumentation", - "src": "2598:76:1", + "src": "2672:78:0", "text": " @dev Returns the number of tokens in ``owner``'s account." }, "functionSelector": "70a08231", - "id": 580, + "id": 72, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 576, + "id": 68, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 575, + "id": 67, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2698:13:1", + "scope": 72, + "src": "2775:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1223,10 +1223,10 @@ "typeString": "address" }, "typeName": { - "id": 574, + "id": 66, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2698:7:1", + "src": "2775:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1236,20 +1236,20 @@ "visibility": "internal" } ], - "src": "2697:15:1" + "src": "2774:15:0" }, "returnParameters": { - "id": 579, + "id": 71, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 578, + "id": 70, "mutability": "mutable", "name": "balance", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2736:15:1", + "scope": 72, + "src": "2813:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1257,10 +1257,10 @@ "typeString": "uint256" }, "typeName": { - "id": 577, + "id": 69, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2736:7:1", + "src": "2813:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1269,40 +1269,40 @@ "visibility": "internal" } ], - "src": "2735:17:1" + "src": "2812:17:0" }, - "scope": 655, - "src": "2679:74:1", + "scope": 147, + "src": "2756:74:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 581, + "id": 73, "nodeType": "StructuredDocumentation", - "src": "2759:131:1", + "src": "2838:137:0", "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "6352211e", - "id": 588, + "id": 80, "implemented": false, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 584, + "id": 76, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 583, + "id": 75, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2912:15:1", + "scope": 80, + "src": "2998:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1310,10 +1310,10 @@ "typeString": "uint256" }, "typeName": { - "id": 582, + "id": 74, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2912:7:1", + "src": "2998:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1322,20 +1322,20 @@ "visibility": "internal" } ], - "src": "2911:17:1" + "src": "2997:17:0" }, "returnParameters": { - "id": 587, + "id": 79, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 586, + "id": 78, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2952:13:1", + "scope": 80, + "src": "3038:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1343,10 +1343,10 @@ "typeString": "address" }, "typeName": { - "id": 585, + "id": 77, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2952:7:1", + "src": "3038:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1356,40 +1356,40 @@ "visibility": "internal" } ], - "src": "2951:15:1" + "src": "3037:15:0" }, - "scope": 655, - "src": "2895:72:1", + "scope": 147, + "src": "2981:72:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 589, + "id": 81, "nodeType": "StructuredDocumentation", - "src": "2973:690:1", + "src": "3061:703:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "42842e0e", - "id": 598, + "id": 90, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 596, + "id": 88, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 591, + "id": 83, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3694:12:1", + "scope": 90, + "src": "3796:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1397,10 +1397,10 @@ "typeString": "address" }, "typeName": { - "id": 590, + "id": 82, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3694:7:1", + "src": "3796:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1411,12 +1411,12 @@ }, { "constant": false, - "id": 593, + "id": 85, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3708:10:1", + "scope": 90, + "src": "3810:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1424,10 +1424,10 @@ "typeString": "address" }, "typeName": { - "id": 592, + "id": 84, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3708:7:1", + "src": "3810:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1438,12 +1438,12 @@ }, { "constant": false, - "id": 595, + "id": 87, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3720:15:1", + "scope": 90, + "src": "3822:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1451,10 +1451,10 @@ "typeString": "uint256" }, "typeName": { - "id": 594, + "id": 86, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3720:7:1", + "src": "3822:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1463,46 +1463,46 @@ "visibility": "internal" } ], - "src": "3693:43:1" + "src": "3795:43:0" }, "returnParameters": { - "id": 597, + "id": 89, "nodeType": "ParameterList", "parameters": [], - "src": "3745:0:1" + "src": "3847:0:0" }, - "scope": 655, - "src": "3668:78:1", + "scope": 147, + "src": "3770:78:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 599, + "id": 91, "nodeType": "StructuredDocumentation", - "src": "3752:504:1", + "src": "3856:517:0", "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, "functionSelector": "23b872dd", - "id": 608, + "id": 100, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 606, + "id": 98, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 601, + "id": 93, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4283:12:1", + "scope": 100, + "src": "4401:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1510,10 +1510,10 @@ "typeString": "address" }, "typeName": { - "id": 600, + "id": 92, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4283:7:1", + "src": "4401:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1524,12 +1524,12 @@ }, { "constant": false, - "id": 603, + "id": 95, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4297:10:1", + "scope": 100, + "src": "4415:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1537,10 +1537,10 @@ "typeString": "address" }, "typeName": { - "id": 602, + "id": 94, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4297:7:1", + "src": "4415:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1551,12 +1551,12 @@ }, { "constant": false, - "id": 605, + "id": 97, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4309:15:1", + "scope": 100, + "src": "4427:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1564,10 +1564,10 @@ "typeString": "uint256" }, "typeName": { - "id": 604, + "id": 96, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4309:7:1", + "src": "4427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1576,46 +1576,46 @@ "visibility": "internal" } ], - "src": "4282:43:1" + "src": "4400:43:0" }, "returnParameters": { - "id": 607, + "id": 99, "nodeType": "ParameterList", "parameters": [], - "src": "4334:0:1" + "src": "4452:0:0" }, - "scope": 655, - "src": "4261:74:1", + "scope": 147, + "src": "4379:74:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 609, + "id": 101, "nodeType": "StructuredDocumentation", - "src": "4341:452:1", + "src": "4461:464:0", "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, "functionSelector": "095ea7b3", - "id": 616, + "id": 108, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 614, + "id": 106, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 611, + "id": 103, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4815:10:1", + "scope": 108, + "src": "4948:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1623,10 +1623,10 @@ "typeString": "address" }, "typeName": { - "id": 610, + "id": 102, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4815:7:1", + "src": "4948:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1637,12 +1637,12 @@ }, { "constant": false, - "id": 613, + "id": 105, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4827:15:1", + "scope": 108, + "src": "4960:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1650,10 +1650,10 @@ "typeString": "uint256" }, "typeName": { - "id": 612, + "id": 104, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4827:7:1", + "src": "4960:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1662,46 +1662,46 @@ "visibility": "internal" } ], - "src": "4814:29:1" + "src": "4947:29:0" }, "returnParameters": { - "id": 615, + "id": 107, "nodeType": "ParameterList", "parameters": [], - "src": "4852:0:1" + "src": "4985:0:0" }, - "scope": 655, - "src": "4798:55:1", + "scope": 147, + "src": "4931:55:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 617, + "id": 109, "nodeType": "StructuredDocumentation", - "src": "4859:139:1", + "src": "4994:145:0", "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "081812fc", - "id": 624, + "id": 116, "implemented": false, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "parameters": { - "id": 620, + "id": 112, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 619, + "id": 111, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5024:15:1", + "scope": 116, + "src": "5166:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1709,10 +1709,10 @@ "typeString": "uint256" }, "typeName": { - "id": 618, + "id": 110, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5024:7:1", + "src": "5166:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1721,20 +1721,20 @@ "visibility": "internal" } ], - "src": "5023:17:1" + "src": "5165:17:0" }, "returnParameters": { - "id": 623, + "id": 115, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 622, + "id": 114, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5064:16:1", + "scope": 116, + "src": "5206:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1742,10 +1742,10 @@ "typeString": "address" }, "typeName": { - "id": 621, + "id": 113, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5064:7:1", + "src": "5206:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1755,40 +1755,40 @@ "visibility": "internal" } ], - "src": "5063:18:1" + "src": "5205:18:0" }, - "scope": 655, - "src": "5003:79:1", + "scope": 147, + "src": "5145:79:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 625, + "id": 117, "nodeType": "StructuredDocumentation", - "src": "5088:309:1", + "src": "5232:318:0", "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, "functionSelector": "a22cb465", - "id": 632, + "id": 124, "implemented": false, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 630, + "id": 122, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 627, + "id": 119, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5429:16:1", + "scope": 124, + "src": "5583:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1796,10 +1796,10 @@ "typeString": "address" }, "typeName": { - "id": 626, + "id": 118, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5429:7:1", + "src": "5583:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1810,12 +1810,12 @@ }, { "constant": false, - "id": 629, + "id": 121, "mutability": "mutable", "name": "_approved", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5447:14:1", + "scope": 124, + "src": "5601:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1823,10 +1823,10 @@ "typeString": "bool" }, "typeName": { - "id": 628, + "id": 120, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5447:4:1", + "src": "5601:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1835,46 +1835,46 @@ "visibility": "internal" } ], - "src": "5428:34:1" + "src": "5582:34:0" }, "returnParameters": { - "id": 631, + "id": 123, "nodeType": "ParameterList", "parameters": [], - "src": "5471:0:1" + "src": "5625:0:0" }, - "scope": 655, - "src": "5402:70:1", + "scope": 147, + "src": "5556:70:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 633, + "id": 125, "nodeType": "StructuredDocumentation", - "src": "5478:138:1", + "src": "5634:142:0", "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, "functionSelector": "e985e9c5", - "id": 642, + "id": 134, "implemented": false, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 638, + "id": 130, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 635, + "id": 127, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5647:13:1", + "scope": 134, + "src": "5808:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1882,10 +1882,10 @@ "typeString": "address" }, "typeName": { - "id": 634, + "id": 126, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5647:7:1", + "src": "5808:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1896,12 +1896,12 @@ }, { "constant": false, - "id": 637, + "id": 129, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5662:16:1", + "scope": 134, + "src": "5823:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1909,10 +1909,10 @@ "typeString": "address" }, "typeName": { - "id": 636, + "id": 128, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5662:7:1", + "src": "5823:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1922,20 +1922,20 @@ "visibility": "internal" } ], - "src": "5646:33:1" + "src": "5807:33:0" }, "returnParameters": { - "id": 641, + "id": 133, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 640, + "id": 132, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5703:4:1", + "scope": 134, + "src": "5864:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1943,10 +1943,10 @@ "typeString": "bool" }, "typeName": { - "id": 639, + "id": 131, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5703:4:1", + "src": "5864:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1955,40 +1955,40 @@ "visibility": "internal" } ], - "src": "5702:6:1" + "src": "5863:6:0" }, - "scope": 655, - "src": "5621:88:1", + "scope": 147, + "src": "5782:88:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 643, + "id": 135, "nodeType": "StructuredDocumentation", - "src": "5715:568:1", + "src": "5878:580:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "b88d4fde", - "id": 654, + "id": 146, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 652, + "id": 144, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 645, + "id": 137, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6314:12:1", + "scope": 146, + "src": "6490:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1996,10 +1996,10 @@ "typeString": "address" }, "typeName": { - "id": 644, + "id": 136, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6314:7:1", + "src": "6490:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2010,12 +2010,12 @@ }, { "constant": false, - "id": 647, + "id": 139, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6328:10:1", + "scope": 146, + "src": "6504:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2023,10 +2023,10 @@ "typeString": "address" }, "typeName": { - "id": 646, + "id": 138, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6328:7:1", + "src": "6504:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2037,12 +2037,12 @@ }, { "constant": false, - "id": 649, + "id": 141, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6340:15:1", + "scope": 146, + "src": "6516:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2050,10 +2050,10 @@ "typeString": "uint256" }, "typeName": { - "id": 648, + "id": 140, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6340:7:1", + "src": "6516:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2063,12 +2063,12 @@ }, { "constant": false, - "id": 651, + "id": 143, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6357:19:1", + "scope": 146, + "src": "6533:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -2076,10 +2076,10 @@ "typeString": "bytes" }, "typeName": { - "id": 650, + "id": 142, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6357:5:1", + "src": "6533:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2088,26 +2088,26 @@ "visibility": "internal" } ], - "src": "6313:64:1" + "src": "6489:64:0" }, "returnParameters": { - "id": 653, + "id": 145, "nodeType": "ParameterList", "parameters": [], - "src": "6386:0:1" + "src": "6562:0:0" }, - "scope": 655, - "src": "6288:99:1", + "scope": 147, + "src": "6464:99:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1975:4414:1" + "scope": 2991, + "src": "2033:4533:0" }, { - "id": 656, + "id": 148, "literals": [ "solidity", ">=", @@ -2118,81 +2118,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 658, + "id": 150, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "6654:7:1", + "referencedDeclaration": 147, + "src": "6841:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 659, + "id": 151, "nodeType": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 657, + "id": 149, "nodeType": "StructuredDocumentation", - "src": "6491:133:1", + "src": "6674:136:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 680, + "id": 172, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 660, + "id": 152, "nodeType": "StructuredDocumentation", - "src": "6669:58:1", + "src": "6858:60:0", "text": " @dev Returns the token collection name." }, "functionSelector": "06fdde03", - "id": 665, + "id": 157, "implemented": false, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "parameters": { - "id": 661, + "id": 153, "nodeType": "ParameterList", "parameters": [], - "src": "6745:2:1" + "src": "6937:2:0" }, "returnParameters": { - "id": 664, + "id": 156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 663, + "id": 155, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 665, - "src": "6771:13:1", + "scope": 157, + "src": "6963:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2200,10 +2200,10 @@ "typeString": "string" }, "typeName": { - "id": 662, + "id": 154, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6771:6:1", + "src": "6963:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -2212,46 +2212,46 @@ "visibility": "internal" } ], - "src": "6770:15:1" + "src": "6962:15:0" }, - "scope": 680, - "src": "6732:54:1", + "scope": 172, + "src": "6924:54:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 666, + "id": 158, "nodeType": "StructuredDocumentation", - "src": "6792:60:1", + "src": "6986:62:0", "text": " @dev Returns the token collection symbol." }, "functionSelector": "95d89b41", - "id": 671, + "id": 163, "implemented": false, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "parameters": { - "id": 667, + "id": 159, "nodeType": "ParameterList", "parameters": [], - "src": "6872:2:1" + "src": "7069:2:0" }, "returnParameters": { - "id": 670, + "id": 162, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 669, + "id": 161, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 671, - "src": "6898:13:1", + "scope": 163, + "src": "7095:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2259,10 +2259,10 @@ "typeString": "string" }, "typeName": { - "id": 668, + "id": 160, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6898:6:1", + "src": "7095:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -2271,40 +2271,40 @@ "visibility": "internal" } ], - "src": "6897:15:1" + "src": "7094:15:0" }, - "scope": 680, - "src": "6857:56:1", + "scope": 172, + "src": "7054:56:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 672, + "id": 164, "nodeType": "StructuredDocumentation", - "src": "6919:90:1", + "src": "7118:92:0", "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, "functionSelector": "c87b56dd", - "id": 679, + "id": 171, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 675, + "id": 167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 674, + "id": 166, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7032:15:1", + "scope": 171, + "src": "7234:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2312,10 +2312,10 @@ "typeString": "uint256" }, "typeName": { - "id": 673, + "id": 165, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7032:7:1", + "src": "7234:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2324,20 +2324,20 @@ "visibility": "internal" } ], - "src": "7031:17:1" + "src": "7233:17:0" }, "returnParameters": { - "id": 678, + "id": 170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 677, + "id": 169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7072:13:1", + "scope": 171, + "src": "7274:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2345,10 +2345,10 @@ "typeString": "string" }, "typeName": { - "id": 676, + "id": 168, "name": "string", "nodeType": "ElementaryTypeName", - "src": "7072:6:1", + "src": "7274:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -2357,20 +2357,20 @@ "visibility": "internal" } ], - "src": "7071:15:1" + "src": "7273:15:0" }, - "scope": 680, - "src": "7014:73:1", + "scope": 172, + "src": "7216:73:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "6625:464:1" + "scope": 2991, + "src": "6812:480:0" }, { - "id": 681, + "id": 173, "literals": [ "solidity", ">=", @@ -2381,81 +2381,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 683, + "id": 175, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "7363:7:1", + "referencedDeclaration": 147, + "src": "7578:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 684, + "id": 176, "nodeType": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 682, + "id": 174, "nodeType": "StructuredDocumentation", - "src": "7195:136:1", + "src": "7406:139:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 709, + "id": 201, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 685, + "id": 177, "nodeType": "StructuredDocumentation", - "src": "7378:82:1", + "src": "7595:84:0", "text": " @dev Returns the total amount of tokens stored by the contract." }, "functionSelector": "18160ddd", - "id": 690, + "id": 182, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { - "id": 686, + "id": 178, "nodeType": "ParameterList", "parameters": [], - "src": "7485:2:1" + "src": "7705:2:0" }, "returnParameters": { - "id": 689, + "id": 181, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 688, + "id": 180, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 690, - "src": "7511:7:1", + "scope": 182, + "src": "7731:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2463,10 +2463,10 @@ "typeString": "uint256" }, "typeName": { - "id": 687, + "id": 179, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7511:7:1", + "src": "7731:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2475,40 +2475,40 @@ "visibility": "internal" } ], - "src": "7510:9:1" + "src": "7730:9:0" }, - "scope": 709, - "src": "7465:55:1", + "scope": 201, + "src": "7685:55:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 691, + "id": 183, "nodeType": "StructuredDocumentation", - "src": "7526:171:1", + "src": "7748:174:0", "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, "functionSelector": "2f745c59", - "id": 700, + "id": 192, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 696, + "id": 188, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 693, + "id": 185, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7731:13:1", + "scope": 192, + "src": "7957:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2516,10 +2516,10 @@ "typeString": "address" }, "typeName": { - "id": 692, + "id": 184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7731:7:1", + "src": "7957:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2530,12 +2530,12 @@ }, { "constant": false, - "id": 695, + "id": 187, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7746:13:1", + "scope": 192, + "src": "7972:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2543,10 +2543,10 @@ "typeString": "uint256" }, "typeName": { - "id": 694, + "id": 186, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7746:7:1", + "src": "7972:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2555,20 +2555,20 @@ "visibility": "internal" } ], - "src": "7730:30:1" + "src": "7956:30:0" }, "returnParameters": { - "id": 699, + "id": 191, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 698, + "id": 190, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7784:15:1", + "scope": 192, + "src": "8010:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2576,10 +2576,10 @@ "typeString": "uint256" }, "typeName": { - "id": 697, + "id": 189, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7784:7:1", + "src": "8010:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2588,40 +2588,40 @@ "visibility": "internal" } ], - "src": "7783:17:1" + "src": "8009:17:0" }, - "scope": 709, - "src": "7702:99:1", + "scope": 201, + "src": "7928:99:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 701, + "id": 193, "nodeType": "StructuredDocumentation", - "src": "7807:164:1", + "src": "8035:167:0", "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, "functionSelector": "4f6ccce7", - "id": 708, + "id": 200, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 704, + "id": 196, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 703, + "id": 195, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "7998:13:1", + "scope": 200, + "src": "8230:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2629,10 +2629,10 @@ "typeString": "uint256" }, "typeName": { - "id": 702, + "id": 194, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7998:7:1", + "src": "8230:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2641,20 +2641,20 @@ "visibility": "internal" } ], - "src": "7997:15:1" + "src": "8229:15:0" }, "returnParameters": { - "id": 707, + "id": 199, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 706, + "id": 198, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "8036:7:1", + "scope": 200, + "src": "8268:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2662,10 +2662,10 @@ "typeString": "uint256" }, "typeName": { - "id": 705, + "id": 197, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8036:7:1", + "src": "8268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2674,20 +2674,20 @@ "visibility": "internal" } ], - "src": "8035:9:1" + "src": "8267:9:0" }, - "scope": 709, - "src": "7976:69:1", + "scope": 201, + "src": "8208:69:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "7332:715:1" + "scope": 2991, + "src": "7547:733:0" }, { - "id": 710, + "id": 202, "literals": [ "solidity", ">=", @@ -2698,7 +2698,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "abstract": false, @@ -2706,45 +2706,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 711, + "id": 203, "nodeType": "StructuredDocumentation", - "src": "8150:152:1", + "src": "8390:156:0", "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, "fullyImplemented": false, - "id": 726, + "id": 218, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 712, + "id": 204, "nodeType": "StructuredDocumentation", - "src": "8335:485:1", + "src": "8581:493:0", "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, "functionSelector": "150b7a02", - "id": 725, + "id": 217, "implemented": false, "kind": "function", "modifiers": [], "name": "onERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 721, + "id": 213, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 714, + "id": 206, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8851:16:1", + "scope": 217, + "src": "9106:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2752,10 +2752,10 @@ "typeString": "address" }, "typeName": { - "id": 713, + "id": 205, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8851:7:1", + "src": "9106:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2766,12 +2766,12 @@ }, { "constant": false, - "id": 716, + "id": 208, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8869:12:1", + "scope": 217, + "src": "9124:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2779,10 +2779,10 @@ "typeString": "address" }, "typeName": { - "id": 715, + "id": 207, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8869:7:1", + "src": "9124:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2793,12 +2793,12 @@ }, { "constant": false, - "id": 718, + "id": 210, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8883:15:1", + "scope": 217, + "src": "9138:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2806,10 +2806,10 @@ "typeString": "uint256" }, "typeName": { - "id": 717, + "id": 209, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8883:7:1", + "src": "9138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2819,12 +2819,12 @@ }, { "constant": false, - "id": 720, + "id": 212, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8900:19:1", + "scope": 217, + "src": "9155:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -2832,10 +2832,10 @@ "typeString": "bytes" }, "typeName": { - "id": 719, + "id": 211, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8900:5:1", + "src": "9155:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2844,20 +2844,20 @@ "visibility": "internal" } ], - "src": "8850:70:1" + "src": "9105:70:0" }, "returnParameters": { - "id": 724, + "id": 216, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 723, + "id": 215, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8939:6:1", + "scope": 217, + "src": "9194:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2865,10 +2865,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 722, + "id": 214, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "8939:6:1", + "src": "9194:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2877,20 +2877,20 @@ "visibility": "internal" } ], - "src": "8938:8:1" + "src": "9193:8:0" }, - "scope": 726, - "src": "8825:122:1", + "scope": 218, + "src": "9080:122:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "8303:646:1" + "scope": 2991, + "src": "8548:657:0" }, { - "id": 727, + "id": 219, "literals": [ "solidity", ">=", @@ -2901,55 +2901,55 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "abstract": true, "baseContracts": [ { "baseName": { - "id": 729, + "id": 221, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "9243:7:1", + "referencedDeclaration": 33, + "src": "9511:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 730, + "id": 222, "nodeType": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "documentation": { - "id": 728, + "id": 220, "nodeType": "StructuredDocumentation", - "src": "9043:171:1", + "src": "9305:176:0", "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, "fullyImplemented": true, - "id": 781, + "id": 273, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", "nodeType": "ContractDefinition", "nodes": [ { "constant": true, - "id": 733, + "id": 225, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9340:57:1", + "scope": 273, + "src": "9612:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2957,10 +2957,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 731, + "id": 223, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9340:6:1", + "src": "9612:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2968,14 +2968,14 @@ }, "value": { "hexValue": "30783031666663396137", - "id": 732, + "id": 224, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9387:10:1", + "src": "9659:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_33540519_by_1", "typeString": "int_const 33540519" @@ -2987,17 +2987,17 @@ { "constant": false, "documentation": { - "id": 734, + "id": 226, "nodeType": "StructuredDocumentation", - "src": "9404:82:1", + "src": "9678:84:0", "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 738, + "id": 230, "mutability": "mutable", "name": "_supportedInterfaces", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9491:52:1", + "scope": 273, + "src": "9768:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -3005,28 +3005,28 @@ "typeString": "mapping(bytes4 => bool)" }, "typeName": { - "id": 737, + "id": 229, "keyType": { - "id": 735, + "id": 227, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9499:6:1", + "src": "9776:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "nodeType": "Mapping", - "src": "9491:23:1", + "src": "9768:23:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" }, "valueType": { - "id": 736, + "id": 228, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9509:4:1", + "src": "9786:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3037,20 +3037,20 @@ }, { "body": { - "id": 745, + "id": 237, "nodeType": "Block", - "src": "9565:193:1", + "src": "9844:197:0", "statements": [ { "expression": { "arguments": [ { - "id": 742, + "id": 234, "name": "_INTERFACE_ID_ERC165", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 733, - "src": "9730:20:1", + "referencedDeclaration": 225, + "src": "10012:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3064,18 +3064,18 @@ "typeString": "bytes4" } ], - "id": 741, + "id": 233, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "9711:18:1", + "referencedDeclaration": 272, + "src": "9993:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 743, + "id": 235, "isConstant": false, "isLValue": false, "isPure": false, @@ -3083,74 +3083,74 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9711:40:1", + "src": "9993:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 744, + "id": 236, "nodeType": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ] }, - "id": 746, + "id": 238, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 739, + "id": 231, "nodeType": "ParameterList", "parameters": [], - "src": "9562:2:1" + "src": "9841:2:0" }, "returnParameters": { - "id": 740, + "id": 232, "nodeType": "ParameterList", "parameters": [], - "src": "9565:0:1" + "src": "9844:0:0" }, - "scope": 781, - "src": "9550:208:1", + "scope": 273, + "src": "9829:212:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "baseFunctions": [ - 540 + 32 ], "body": { - "id": 759, + "id": 251, "nodeType": "Block", - "src": "9999:57:1", + "src": "10289:59:0", "statements": [ { "expression": { "baseExpression": { - "id": 755, + "id": 247, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10016:20:1", + "referencedDeclaration": 230, + "src": "10307:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 757, + "id": 249, "indexExpression": { - "id": 756, + "id": 248, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 749, - "src": "10037:11:1", + "referencedDeclaration": 241, + "src": "10328:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3161,50 +3161,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10016:33:1", + "src": "10307:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 754, - "id": 758, + "functionReturnParameters": 246, + "id": 250, "nodeType": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ] }, "documentation": { - "id": 747, + "id": 239, "nodeType": "StructuredDocumentation", - "src": "9764:139:1", + "src": "10049:143:0", "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 760, + "id": 252, "implemented": true, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "overrides": { - "id": 751, + "id": 243, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "9975:8:1" + "src": "10265:8:0" }, "parameters": { - "id": 750, + "id": 242, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 749, + "id": 241, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9935:18:1", + "scope": 252, + "src": "10225:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3212,10 +3212,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 748, + "id": 240, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9935:6:1", + "src": "10225:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3224,20 +3224,20 @@ "visibility": "internal" } ], - "src": "9934:20:1" + "src": "10224:20:0" }, "returnParameters": { - "id": 754, + "id": 246, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 753, + "id": 245, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9993:4:1", + "scope": 252, + "src": "10283:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3245,10 +3245,10 @@ "typeString": "bool" }, "typeName": { - "id": 752, + "id": 244, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9993:4:1", + "src": "10283:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3257,19 +3257,19 @@ "visibility": "internal" } ], - "src": "9992:6:1" + "src": "10282:6:0" }, - "scope": 781, - "src": "9908:148:1", + "scope": 273, + "src": "10198:150:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 779, + "id": 271, "nodeType": "Block", - "src": "10515:133:1", + "src": "10820:136:0", "statements": [ { "expression": { @@ -3279,18 +3279,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 769, + "id": 261, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 767, + "id": 259, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10533:11:1", + "referencedDeclaration": 255, + "src": "10839:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3300,21 +3300,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30786666666666666666", - "id": 768, + "id": 260, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10548:10:1", + "src": "10854:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_4294967295_by_1", "typeString": "int_const 4294967295" }, "value": "0xffffffff" }, - "src": "10533:25:1", + "src": "10839:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3322,14 +3322,14 @@ }, { "hexValue": "4552433136353a20696e76616c696420696e74657266616365206964", - "id": 770, + "id": 262, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "10560:30:1", + "src": "10866:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_282912c0dfceceb28d77d0333f496b83948f9ba5b3154358a8b140b849289dee", "typeString": "literal_string \"ERC165: invalid interface id\"" @@ -3348,7 +3348,7 @@ "typeString": "literal_string \"ERC165: invalid interface id\"" } ], - "id": 766, + "id": 258, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -3356,13 +3356,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "10525:7:1", + "src": "10831:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 771, + "id": 263, "isConstant": false, "isLValue": false, "isPure": false, @@ -3370,45 +3370,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10525:66:1", + "src": "10831:66:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 772, + "id": 264, "nodeType": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "expression": { - "id": 777, + "id": 269, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 773, + "id": 265, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10601:20:1", + "referencedDeclaration": 230, + "src": "10908:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 775, + "id": 267, "indexExpression": { - "id": 774, + "id": 266, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10622:11:1", + "referencedDeclaration": 255, + "src": "10929:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3419,7 +3419,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "10601:33:1", + "src": "10908:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3429,56 +3429,56 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 776, + "id": 268, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "10637:4:1", + "src": "10944:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "10601:40:1", + "src": "10908:40:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 778, + "id": 270, "nodeType": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ] }, "documentation": { - "id": 761, + "id": 253, "nodeType": "StructuredDocumentation", - "src": "10062:383:1", + "src": "10356:393:0", "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 780, + "id": 272, "implemented": true, "kind": "function", "modifiers": [], "name": "_registerInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 764, + "id": 256, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 763, + "id": 255, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 780, - "src": "10478:18:1", + "scope": 272, + "src": "10783:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3486,10 +3486,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 762, + "id": 254, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "10478:6:1", + "src": "10783:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3498,26 +3498,26 @@ "visibility": "internal" } ], - "src": "10477:20:1" + "src": "10782:20:0" }, "returnParameters": { - "id": 765, + "id": 257, "nodeType": "ParameterList", "parameters": [], - "src": "10515:0:1" + "src": "10820:0:0" }, - "scope": 781, - "src": "10450:198:1", + "scope": 273, + "src": "10755:201:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "9215:1435:1" + "scope": 2991, + "src": "9483:1476:0" }, { - "id": 782, + "id": 274, "literals": [ "solidity", ">=", @@ -3528,7 +3528,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "abstract": false, @@ -3536,38 +3536,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 783, + "id": 275, "nodeType": "StructuredDocumentation", - "src": "10736:563:1", + "src": "11050:575:0", "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, "fullyImplemented": true, - "id": 1135, + "id": 627, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 813, + "id": 305, "nodeType": "Block", - "src": "11535:98:1", + "src": "11868:102:0", "statements": [ { "assignments": [ - 796 + 288 ], "declarations": [ { "constant": false, - "id": 796, + "id": 288, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 813, - "src": "11545:9:1", + "scope": 305, + "src": "11879:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3575,10 +3575,10 @@ "typeString": "uint256" }, "typeName": { - "id": 795, + "id": 287, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11545:7:1", + "src": "11879:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3587,24 +3587,24 @@ "visibility": "internal" } ], - "id": 800, + "id": 292, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 799, + "id": 291, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 797, + "id": 289, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11557:1:1", + "referencedDeclaration": 278, + "src": "11891:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3613,25 +3613,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 798, + "id": 290, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 788, - "src": "11561:1:1", + "referencedDeclaration": 280, + "src": "11895:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11557:5:1", + "src": "11891:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "condition": { @@ -3639,18 +3639,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 803, + "id": 295, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 801, + "id": 293, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11576:1:1", + "referencedDeclaration": 288, + "src": "11911:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3659,39 +3659,39 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 802, + "id": 294, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11580:1:1", + "referencedDeclaration": 278, + "src": "11915:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11576:5:1", + "src": "11911:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 808, + "id": 300, "nodeType": "IfStatement", - "src": "11572:28:1", + "src": "11907:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 804, + "id": 296, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11591:5:1", + "src": "11926:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3700,14 +3700,14 @@ }, { "hexValue": "30", - "id": 805, + "id": 297, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11598:1:1", + "src": "11933:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3715,23 +3715,23 @@ "value": "0" } ], - "id": 806, + "id": 298, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11590:10:1", + "src": "11925:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 794, - "id": 807, + "functionReturnParameters": 286, + "id": 299, "nodeType": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } }, { @@ -3739,14 +3739,14 @@ "components": [ { "hexValue": "74727565", - "id": 809, + "id": 301, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11618:4:1", + "src": "11954:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3754,62 +3754,62 @@ "value": "true" }, { - "id": 810, + "id": 302, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11624:1:1", + "referencedDeclaration": 288, + "src": "11960:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 811, + "id": 303, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11617:9:1", + "src": "11953:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 794, - "id": 812, + "functionReturnParameters": 286, + "id": 304, "nodeType": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ] }, "documentation": { - "id": 784, + "id": 276, "nodeType": "StructuredDocumentation", - "src": "11323:131:1", + "src": "11651:135:0", "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 814, + "id": 306, "implemented": true, "kind": "function", "modifiers": [], "name": "tryAdd", "nodeType": "FunctionDefinition", "parameters": { - "id": 789, + "id": 281, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 786, + "id": 278, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11475:9:1", + "scope": 306, + "src": "11808:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3817,10 +3817,10 @@ "typeString": "uint256" }, "typeName": { - "id": 785, + "id": 277, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11475:7:1", + "src": "11808:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3830,12 +3830,12 @@ }, { "constant": false, - "id": 788, + "id": 280, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11486:9:1", + "scope": 306, + "src": "11819:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3843,10 +3843,10 @@ "typeString": "uint256" }, "typeName": { - "id": 787, + "id": 279, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11486:7:1", + "src": "11819:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3855,20 +3855,20 @@ "visibility": "internal" } ], - "src": "11474:22:1" + "src": "11807:22:0" }, "returnParameters": { - "id": 794, + "id": 286, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 791, + "id": 283, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11520:4:1", + "scope": 306, + "src": "11853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3876,10 +3876,10 @@ "typeString": "bool" }, "typeName": { - "id": 790, + "id": 282, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11520:4:1", + "src": "11853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3889,12 +3889,12 @@ }, { "constant": false, - "id": 793, + "id": 285, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11526:7:1", + "scope": 306, + "src": "11859:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3902,10 +3902,10 @@ "typeString": "uint256" }, "typeName": { - "id": 792, + "id": 284, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11526:7:1", + "src": "11859:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3914,19 +3914,19 @@ "visibility": "internal" } ], - "src": "11519:15:1" + "src": "11852:15:0" }, - "scope": 1135, - "src": "11459:174:1", + "scope": 627, + "src": "11792:178:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 840, + "id": 332, "nodeType": "Block", - "src": "11855:75:1", + "src": "12199:78:0", "statements": [ { "condition": { @@ -3934,18 +3934,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 828, + "id": 320, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 826, + "id": 318, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11869:1:1", + "referencedDeclaration": 311, + "src": "12214:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3954,39 +3954,39 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 827, + "id": 319, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11873:1:1", + "referencedDeclaration": 309, + "src": "12218:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11869:5:1", + "src": "12214:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 833, + "id": 325, "nodeType": "IfStatement", - "src": "11865:28:1", + "src": "12210:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 829, + "id": 321, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11884:5:1", + "src": "12229:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3995,14 +3995,14 @@ }, { "hexValue": "30", - "id": 830, + "id": 322, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11891:1:1", + "src": "12236:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4010,23 +4010,23 @@ "value": "0" } ], - "id": 831, + "id": 323, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11883:10:1", + "src": "12228:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 825, - "id": 832, + "functionReturnParameters": 317, + "id": 324, "nodeType": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } }, { @@ -4034,14 +4034,14 @@ "components": [ { "hexValue": "74727565", - "id": 834, + "id": 326, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11911:4:1", + "src": "12257:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4053,18 +4053,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 837, + "id": 329, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 835, + "id": 327, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11917:1:1", + "referencedDeclaration": 309, + "src": "12263:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4073,68 +4073,68 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 836, + "id": 328, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11921:1:1", + "referencedDeclaration": 311, + "src": "12267:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11917:5:1", + "src": "12263:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 838, + "id": 330, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11910:13:1", + "src": "12256:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 825, - "id": 839, + "functionReturnParameters": 317, + "id": 331, "nodeType": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ] }, "documentation": { - "id": 815, + "id": 307, "nodeType": "StructuredDocumentation", - "src": "11639:135:1", + "src": "11978:139:0", "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 841, + "id": 333, "implemented": true, "kind": "function", "modifiers": [], "name": "trySub", "nodeType": "FunctionDefinition", "parameters": { - "id": 820, + "id": 312, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 817, + "id": 309, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11795:9:1", + "scope": 333, + "src": "12139:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4142,10 +4142,10 @@ "typeString": "uint256" }, "typeName": { - "id": 816, + "id": 308, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11795:7:1", + "src": "12139:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4155,12 +4155,12 @@ }, { "constant": false, - "id": 819, + "id": 311, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11806:9:1", + "scope": 333, + "src": "12150:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4168,10 +4168,10 @@ "typeString": "uint256" }, "typeName": { - "id": 818, + "id": 310, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11806:7:1", + "src": "12150:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4180,20 +4180,20 @@ "visibility": "internal" } ], - "src": "11794:22:1" + "src": "12138:22:0" }, "returnParameters": { - "id": 825, + "id": 317, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 822, + "id": 314, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11840:4:1", + "scope": 333, + "src": "12184:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4201,10 +4201,10 @@ "typeString": "bool" }, "typeName": { - "id": 821, + "id": 313, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11840:4:1", + "src": "12184:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4214,12 +4214,12 @@ }, { "constant": false, - "id": 824, + "id": 316, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11846:7:1", + "scope": 333, + "src": "12190:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4227,10 +4227,10 @@ "typeString": "uint256" }, "typeName": { - "id": 823, + "id": 315, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11846:7:1", + "src": "12190:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4239,19 +4239,19 @@ "visibility": "internal" } ], - "src": "11839:15:1" + "src": "12183:15:0" }, - "scope": 1135, - "src": "11779:151:1", + "scope": 627, + "src": "12123:154:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 881, + "id": 373, "nodeType": "Block", - "src": "12154:359:1", + "src": "12508:367:0", "statements": [ { "condition": { @@ -4259,18 +4259,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 855, + "id": 347, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 853, + "id": 345, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12386:1:1", + "referencedDeclaration": 336, + "src": "12744:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4280,42 +4280,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 854, + "id": 346, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12391:1:1", + "src": "12749:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12386:6:1", + "src": "12744:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 860, + "id": 352, "nodeType": "IfStatement", - "src": "12382:28:1", + "src": "12740:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "74727565", - "id": 856, + "id": 348, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12402:4:1", + "src": "12760:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4324,14 +4324,14 @@ }, { "hexValue": "30", - "id": 857, + "id": 349, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12408:1:1", + "src": "12766:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4339,38 +4339,38 @@ "value": "0" } ], - "id": 858, + "id": 350, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12401:9:1", + "src": "12759:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 859, + "functionReturnParameters": 344, + "id": 351, "nodeType": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } }, { "assignments": [ - 862 + 354 ], "declarations": [ { "constant": false, - "id": 862, + "id": 354, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 881, - "src": "12420:9:1", + "scope": 373, + "src": "12779:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4378,10 +4378,10 @@ "typeString": "uint256" }, "typeName": { - "id": 861, + "id": 353, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12420:7:1", + "src": "12779:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4390,24 +4390,24 @@ "visibility": "internal" } ], - "id": 866, + "id": 358, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 865, + "id": 357, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 863, + "id": 355, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12432:1:1", + "referencedDeclaration": 336, + "src": "12791:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4416,25 +4416,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 864, + "id": 356, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12436:1:1", + "referencedDeclaration": 338, + "src": "12795:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12432:5:1", + "src": "12791:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "condition": { @@ -4442,7 +4442,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 871, + "id": 363, "isConstant": false, "isLValue": false, "isPure": false, @@ -4452,18 +4452,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 869, + "id": 361, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 867, + "id": 359, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12451:1:1", + "referencedDeclaration": 354, + "src": "12811:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4472,18 +4472,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 868, + "id": 360, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12455:1:1", + "referencedDeclaration": 336, + "src": "12815:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:5:1", + "src": "12811:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4492,39 +4492,39 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 870, + "id": 362, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12460:1:1", + "referencedDeclaration": 338, + "src": "12820:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:10:1", + "src": "12811:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 876, + "id": 368, "nodeType": "IfStatement", - "src": "12447:33:1", + "src": "12807:33:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 872, + "id": 364, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12471:5:1", + "src": "12831:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4533,14 +4533,14 @@ }, { "hexValue": "30", - "id": 873, + "id": 365, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12478:1:1", + "src": "12838:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4548,23 +4548,23 @@ "value": "0" } ], - "id": 874, + "id": 366, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12470:10:1", + "src": "12830:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 875, + "functionReturnParameters": 344, + "id": 367, "nodeType": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } }, { @@ -4572,14 +4572,14 @@ "components": [ { "hexValue": "74727565", - "id": 877, + "id": 369, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12498:4:1", + "src": "12859:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4587,62 +4587,62 @@ "value": "true" }, { - "id": 878, + "id": 370, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12504:1:1", + "referencedDeclaration": 354, + "src": "12865:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 879, + "id": 371, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12497:9:1", + "src": "12858:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 852, - "id": 880, + "functionReturnParameters": 344, + "id": 372, "nodeType": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ] }, "documentation": { - "id": 842, + "id": 334, "nodeType": "StructuredDocumentation", - "src": "11936:137:1", + "src": "12285:141:0", "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 882, + "id": 374, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMul", "nodeType": "FunctionDefinition", "parameters": { - "id": 847, + "id": 339, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 844, + "id": 336, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12094:9:1", + "scope": 374, + "src": "12448:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4650,10 +4650,10 @@ "typeString": "uint256" }, "typeName": { - "id": 843, + "id": 335, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12094:7:1", + "src": "12448:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4663,12 +4663,12 @@ }, { "constant": false, - "id": 846, + "id": 338, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12105:9:1", + "scope": 374, + "src": "12459:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4676,10 +4676,10 @@ "typeString": "uint256" }, "typeName": { - "id": 845, + "id": 337, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12105:7:1", + "src": "12459:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4688,20 +4688,20 @@ "visibility": "internal" } ], - "src": "12093:22:1" + "src": "12447:22:0" }, "returnParameters": { - "id": 852, + "id": 344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 849, + "id": 341, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12139:4:1", + "scope": 374, + "src": "12493:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4709,10 +4709,10 @@ "typeString": "bool" }, "typeName": { - "id": 848, + "id": 340, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12139:4:1", + "src": "12493:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4722,12 +4722,12 @@ }, { "constant": false, - "id": 851, + "id": 343, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12145:7:1", + "scope": 374, + "src": "12499:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4735,10 +4735,10 @@ "typeString": "uint256" }, "typeName": { - "id": 850, + "id": 342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12145:7:1", + "src": "12499:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4747,19 +4747,19 @@ "visibility": "internal" } ], - "src": "12138:15:1" + "src": "12492:15:0" }, - "scope": 1135, - "src": "12078:435:1", + "scope": 627, + "src": "12432:443:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 908, + "id": 400, "nodeType": "Block", - "src": "12738:76:1", + "src": "13107:79:0", "statements": [ { "condition": { @@ -4767,18 +4767,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 896, + "id": 388, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 894, + "id": 386, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12752:1:1", + "referencedDeclaration": 379, + "src": "13122:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4788,42 +4788,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 895, + "id": 387, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12757:1:1", + "src": "13127:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12752:6:1", + "src": "13122:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 901, + "id": 393, "nodeType": "IfStatement", - "src": "12748:29:1", + "src": "13118:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 897, + "id": 389, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12768:5:1", + "src": "13138:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4832,14 +4832,14 @@ }, { "hexValue": "30", - "id": 898, + "id": 390, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12775:1:1", + "src": "13145:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4847,23 +4847,23 @@ "value": "0" } ], - "id": 899, + "id": 391, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12767:10:1", + "src": "13137:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 893, - "id": 900, + "functionReturnParameters": 385, + "id": 392, "nodeType": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } }, { @@ -4871,14 +4871,14 @@ "components": [ { "hexValue": "74727565", - "id": 902, + "id": 394, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12795:4:1", + "src": "13166:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4890,18 +4890,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 905, + "id": 397, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 903, + "id": 395, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 885, - "src": "12801:1:1", + "referencedDeclaration": 377, + "src": "13172:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4910,68 +4910,68 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 904, + "id": 396, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12805:1:1", + "referencedDeclaration": 379, + "src": "13176:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12801:5:1", + "src": "13172:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 906, + "id": 398, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12794:13:1", + "src": "13165:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 893, - "id": 907, + "functionReturnParameters": 385, + "id": 399, "nodeType": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ] }, "documentation": { - "id": 883, + "id": 375, "nodeType": "StructuredDocumentation", - "src": "12519:138:1", + "src": "12883:142:0", "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 909, + "id": 401, "implemented": true, "kind": "function", "modifiers": [], "name": "tryDiv", "nodeType": "FunctionDefinition", "parameters": { - "id": 888, + "id": 380, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 885, + "id": 377, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12678:9:1", + "scope": 401, + "src": "13047:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4979,10 +4979,10 @@ "typeString": "uint256" }, "typeName": { - "id": 884, + "id": 376, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12678:7:1", + "src": "13047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4992,12 +4992,12 @@ }, { "constant": false, - "id": 887, + "id": 379, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12689:9:1", + "scope": 401, + "src": "13058:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5005,10 +5005,10 @@ "typeString": "uint256" }, "typeName": { - "id": 886, + "id": 378, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12689:7:1", + "src": "13058:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5017,20 +5017,20 @@ "visibility": "internal" } ], - "src": "12677:22:1" + "src": "13046:22:0" }, "returnParameters": { - "id": 893, + "id": 385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 890, + "id": 382, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12723:4:1", + "scope": 401, + "src": "13092:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5038,10 +5038,10 @@ "typeString": "bool" }, "typeName": { - "id": 889, + "id": 381, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12723:4:1", + "src": "13092:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5051,12 +5051,12 @@ }, { "constant": false, - "id": 892, + "id": 384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12729:7:1", + "scope": 401, + "src": "13098:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5064,10 +5064,10 @@ "typeString": "uint256" }, "typeName": { - "id": 891, + "id": 383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12729:7:1", + "src": "13098:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5076,19 +5076,19 @@ "visibility": "internal" } ], - "src": "12722:15:1" + "src": "13091:15:0" }, - "scope": 1135, - "src": "12662:152:1", + "scope": 627, + "src": "13031:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 935, + "id": 427, "nodeType": "Block", - "src": "13049:76:1", + "src": "13428:79:0", "statements": [ { "condition": { @@ -5096,18 +5096,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 923, + "id": 415, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 921, + "id": 413, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13063:1:1", + "referencedDeclaration": 406, + "src": "13443:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5117,42 +5117,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 922, + "id": 414, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13068:1:1", + "src": "13448:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "13063:6:1", + "src": "13443:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 928, + "id": 420, "nodeType": "IfStatement", - "src": "13059:29:1", + "src": "13439:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 924, + "id": 416, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13079:5:1", + "src": "13459:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5161,14 +5161,14 @@ }, { "hexValue": "30", - "id": 925, + "id": 417, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13086:1:1", + "src": "13466:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -5176,23 +5176,23 @@ "value": "0" } ], - "id": 926, + "id": 418, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13078:10:1", + "src": "13458:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 920, - "id": 927, + "functionReturnParameters": 412, + "id": 419, "nodeType": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } }, { @@ -5200,14 +5200,14 @@ "components": [ { "hexValue": "74727565", - "id": 929, + "id": 421, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13106:4:1", + "src": "13487:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5219,18 +5219,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 932, + "id": 424, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 930, + "id": 422, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 912, - "src": "13112:1:1", + "referencedDeclaration": 404, + "src": "13493:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5239,68 +5239,68 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 931, + "id": 423, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13116:1:1", + "referencedDeclaration": 406, + "src": "13497:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13112:5:1", + "src": "13493:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 933, + "id": 425, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13105:13:1", + "src": "13486:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 920, - "id": 934, + "functionReturnParameters": 412, + "id": 426, "nodeType": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ] }, "documentation": { - "id": 910, + "id": 402, "nodeType": "StructuredDocumentation", - "src": "12820:148:1", + "src": "13194:152:0", "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 936, + "id": 428, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMod", "nodeType": "FunctionDefinition", "parameters": { - "id": 915, + "id": 407, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 912, + "id": 404, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "12989:9:1", + "scope": 428, + "src": "13368:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5308,10 +5308,10 @@ "typeString": "uint256" }, "typeName": { - "id": 911, + "id": 403, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12989:7:1", + "src": "13368:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5321,12 +5321,12 @@ }, { "constant": false, - "id": 914, + "id": 406, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13000:9:1", + "scope": 428, + "src": "13379:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5334,10 +5334,10 @@ "typeString": "uint256" }, "typeName": { - "id": 913, + "id": 405, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13000:7:1", + "src": "13379:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5346,20 +5346,20 @@ "visibility": "internal" } ], - "src": "12988:22:1" + "src": "13367:22:0" }, "returnParameters": { - "id": 920, + "id": 412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 917, + "id": 409, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13034:4:1", + "scope": 428, + "src": "13413:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5367,10 +5367,10 @@ "typeString": "bool" }, "typeName": { - "id": 916, + "id": 408, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "13034:4:1", + "src": "13413:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5380,12 +5380,12 @@ }, { "constant": false, - "id": 919, + "id": 411, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13040:7:1", + "scope": 428, + "src": "13419:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5393,10 +5393,10 @@ "typeString": "uint256" }, "typeName": { - "id": 918, + "id": 410, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13040:7:1", + "src": "13419:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5405,33 +5405,33 @@ "visibility": "internal" } ], - "src": "13033:15:1" + "src": "13412:15:0" }, - "scope": 1135, - "src": "12973:152:1", + "scope": 627, + "src": "13352:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 961, + "id": 453, "nodeType": "Block", - "src": "13427:108:1", + "src": "13821:112:0", "statements": [ { "assignments": [ - 947 + 439 ], "declarations": [ { "constant": false, - "id": 947, + "id": 439, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 961, - "src": "13437:9:1", + "scope": 453, + "src": "13832:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5439,10 +5439,10 @@ "typeString": "uint256" }, "typeName": { - "id": 946, + "id": 438, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13437:7:1", + "src": "13832:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5451,24 +5451,24 @@ "visibility": "internal" } ], - "id": 951, + "id": 443, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 950, + "id": 442, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 948, + "id": 440, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13449:1:1", + "referencedDeclaration": 431, + "src": "13844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5477,25 +5477,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 949, + "id": 441, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 941, - "src": "13453:1:1", + "referencedDeclaration": 433, + "src": "13848:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13449:5:1", + "src": "13844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "expression": { @@ -5505,18 +5505,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 955, + "id": 447, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 953, + "id": 445, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13472:1:1", + "referencedDeclaration": 439, + "src": "13868:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5525,18 +5525,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 954, + "id": 446, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13477:1:1", + "referencedDeclaration": 431, + "src": "13873:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13472:6:1", + "src": "13868:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5544,14 +5544,14 @@ }, { "hexValue": "536166654d6174683a206164646974696f6e206f766572666c6f77", - "id": 956, + "id": 448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13480:29:1", + "src": "13876:29:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_30cc447bcc13b3e22b45cef0dd9b0b514842d836dd9b6eb384e20dedfb47723a", "typeString": "literal_string \"SafeMath: addition overflow\"" @@ -5570,7 +5570,7 @@ "typeString": "literal_string \"SafeMath: addition overflow\"" } ], - "id": 952, + "id": 444, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5578,13 +5578,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13464:7:1", + "src": "13860:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 957, + "id": 449, "isConstant": false, "isLValue": false, "isPure": false, @@ -5592,61 +5592,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13464:46:1", + "src": "13860:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 958, + "id": 450, "nodeType": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "expression": { - "id": 959, + "id": 451, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13527:1:1", + "referencedDeclaration": 439, + "src": "13924:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 945, - "id": 960, + "functionReturnParameters": 437, + "id": 452, "nodeType": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ] }, "documentation": { - "id": 937, + "id": 429, "nodeType": "StructuredDocumentation", - "src": "13131:224:1", + "src": "13515:233:0", "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 962, + "id": 454, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 942, + "id": 434, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 939, + "id": 431, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13373:9:1", + "scope": 454, + "src": "13767:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5654,10 +5654,10 @@ "typeString": "uint256" }, "typeName": { - "id": 938, + "id": 430, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13373:7:1", + "src": "13767:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5667,12 +5667,12 @@ }, { "constant": false, - "id": 941, + "id": 433, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13384:9:1", + "scope": 454, + "src": "13778:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5680,10 +5680,10 @@ "typeString": "uint256" }, "typeName": { - "id": 940, + "id": 432, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13384:7:1", + "src": "13778:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5692,20 +5692,20 @@ "visibility": "internal" } ], - "src": "13372:22:1" + "src": "13766:22:0" }, "returnParameters": { - "id": 945, + "id": 437, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 944, + "id": 436, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13418:7:1", + "scope": 454, + "src": "13812:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5713,10 +5713,10 @@ "typeString": "uint256" }, "typeName": { - "id": 943, + "id": 435, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13418:7:1", + "src": "13812:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5725,19 +5725,19 @@ "visibility": "internal" } ], - "src": "13417:9:1" + "src": "13811:9:0" }, - "scope": 1135, - "src": "13360:175:1", + "scope": 627, + "src": "13754:179:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 983, + "id": 475, "nodeType": "Block", - "src": "13873:88:1", + "src": "14283:91:0", "statements": [ { "expression": { @@ -5747,18 +5747,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 975, + "id": 467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 973, + "id": 465, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13891:1:1", + "referencedDeclaration": 459, + "src": "14302:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5767,18 +5767,18 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 974, + "id": 466, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13896:1:1", + "referencedDeclaration": 457, + "src": "14307:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13891:6:1", + "src": "14302:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5786,14 +5786,14 @@ }, { "hexValue": "536166654d6174683a207375627472616374696f6e206f766572666c6f77", - "id": 976, + "id": 468, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13899:32:1", + "src": "14310:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_50b058e9b5320e58880d88223c9801cd9eecdcf90323d5c2318bc1b6b916e862", "typeString": "literal_string \"SafeMath: subtraction overflow\"" @@ -5812,7 +5812,7 @@ "typeString": "literal_string \"SafeMath: subtraction overflow\"" } ], - "id": 972, + "id": 464, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5820,13 +5820,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13883:7:1", + "src": "14294:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 977, + "id": 469, "isConstant": false, "isLValue": false, "isPure": false, @@ -5834,16 +5834,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13883:49:1", + "src": "14294:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 978, + "id": 470, "nodeType": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "expression": { @@ -5851,18 +5851,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 981, + "id": 473, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 979, + "id": 471, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13949:1:1", + "referencedDeclaration": 457, + "src": "14361:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5871,54 +5871,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 980, + "id": 472, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13953:1:1", + "referencedDeclaration": 459, + "src": "14365:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13949:5:1", + "src": "14361:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 971, - "id": 982, + "functionReturnParameters": 463, + "id": 474, "nodeType": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ] }, "documentation": { - "id": 963, + "id": 455, "nodeType": "StructuredDocumentation", - "src": "13541:260:1", + "src": "13941:269:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 984, + "id": 476, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 968, + "id": 460, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 965, + "id": 457, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13819:9:1", + "scope": 476, + "src": "14229:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5926,10 +5926,10 @@ "typeString": "uint256" }, "typeName": { - "id": 964, + "id": 456, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13819:7:1", + "src": "14229:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5939,12 +5939,12 @@ }, { "constant": false, - "id": 967, + "id": 459, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13830:9:1", + "scope": 476, + "src": "14240:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5952,10 +5952,10 @@ "typeString": "uint256" }, "typeName": { - "id": 966, + "id": 458, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13830:7:1", + "src": "14240:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5964,20 +5964,20 @@ "visibility": "internal" } ], - "src": "13818:22:1" + "src": "14228:22:0" }, "returnParameters": { - "id": 971, + "id": 463, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 970, + "id": 462, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13864:7:1", + "scope": 476, + "src": "14274:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5985,10 +5985,10 @@ "typeString": "uint256" }, "typeName": { - "id": 969, + "id": 461, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13864:7:1", + "src": "14274:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5997,19 +5997,19 @@ "visibility": "internal" } ], - "src": "13863:9:1" + "src": "14273:9:0" }, - "scope": 1135, - "src": "13806:155:1", + "scope": 627, + "src": "14216:158:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1017, + "id": 509, "nodeType": "Block", - "src": "14275:148:1", + "src": "14700:153:0", "statements": [ { "condition": { @@ -6017,18 +6017,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 996, + "id": 488, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 994, + "id": 486, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14289:1:1", + "referencedDeclaration": 479, + "src": "14715:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6038,65 +6038,65 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 995, + "id": 487, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14294:1:1", + "src": "14720:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14289:6:1", + "src": "14715:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 999, + "id": 491, "nodeType": "IfStatement", - "src": "14285:20:1", + "src": "14711:20:0", "trueBody": { "expression": { "hexValue": "30", - "id": 997, + "id": 489, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14304:1:1", + "src": "14730:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "functionReturnParameters": 993, - "id": 998, + "functionReturnParameters": 485, + "id": 490, "nodeType": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } }, { "assignments": [ - 1001 + 493 ], "declarations": [ { "constant": false, - "id": 1001, + "id": 493, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 1017, - "src": "14315:9:1", + "scope": 509, + "src": "14742:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6104,10 +6104,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1000, + "id": 492, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14315:7:1", + "src": "14742:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6116,24 +6116,24 @@ "visibility": "internal" } ], - "id": 1005, + "id": 497, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1004, + "id": 496, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1002, + "id": 494, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14327:1:1", + "referencedDeclaration": 479, + "src": "14754:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6142,25 +6142,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 1003, + "id": 495, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14331:1:1", + "referencedDeclaration": 481, + "src": "14758:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14327:5:1", + "src": "14754:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "expression": { @@ -6170,7 +6170,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1011, + "id": 503, "isConstant": false, "isLValue": false, "isPure": false, @@ -6180,18 +6180,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1009, + "id": 501, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1007, + "id": 499, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14350:1:1", + "referencedDeclaration": 493, + "src": "14778:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6200,18 +6200,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1008, + "id": 500, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14354:1:1", + "referencedDeclaration": 479, + "src": "14782:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:5:1", + "src": "14778:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6220,18 +6220,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 1010, + "id": 502, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14359:1:1", + "referencedDeclaration": 481, + "src": "14787:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:10:1", + "src": "14778:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6239,14 +6239,14 @@ }, { "hexValue": "536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77", - "id": 1012, + "id": 504, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14362:35:1", + "src": "14790:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9113bb53c2876a3805b2c9242029423fc540a728243ce887ab24c82cf119fba3", "typeString": "literal_string \"SafeMath: multiplication overflow\"" @@ -6265,7 +6265,7 @@ "typeString": "literal_string \"SafeMath: multiplication overflow\"" } ], - "id": 1006, + "id": 498, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6273,13 +6273,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14342:7:1", + "src": "14770:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1013, + "id": 505, "isConstant": false, "isLValue": false, "isPure": false, @@ -6287,61 +6287,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14342:56:1", + "src": "14770:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1014, + "id": 506, "nodeType": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "expression": { - "id": 1015, + "id": 507, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14415:1:1", + "referencedDeclaration": 493, + "src": "14844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 993, - "id": 1016, + "functionReturnParameters": 485, + "id": 508, "nodeType": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ] }, "documentation": { - "id": 985, + "id": 477, "nodeType": "StructuredDocumentation", - "src": "13967:236:1", + "src": "14382:245:0", "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 1018, + "id": 510, "implemented": true, "kind": "function", "modifiers": [], "name": "mul", "nodeType": "FunctionDefinition", "parameters": { - "id": 990, + "id": 482, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 987, + "id": 479, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14221:9:1", + "scope": 510, + "src": "14646:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6349,10 +6349,10 @@ "typeString": "uint256" }, "typeName": { - "id": 986, + "id": 478, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14221:7:1", + "src": "14646:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6362,12 +6362,12 @@ }, { "constant": false, - "id": 989, + "id": 481, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14232:9:1", + "scope": 510, + "src": "14657:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6375,10 +6375,10 @@ "typeString": "uint256" }, "typeName": { - "id": 988, + "id": 480, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14232:7:1", + "src": "14657:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6387,20 +6387,20 @@ "visibility": "internal" } ], - "src": "14220:22:1" + "src": "14645:22:0" }, "returnParameters": { - "id": 993, + "id": 485, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 992, + "id": 484, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14266:7:1", + "scope": 510, + "src": "14691:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6408,10 +6408,10 @@ "typeString": "uint256" }, "typeName": { - "id": 991, + "id": 483, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14266:7:1", + "src": "14691:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6420,19 +6420,19 @@ "visibility": "internal" } ], - "src": "14265:9:1" + "src": "14690:9:0" }, - "scope": 1135, - "src": "14208:215:1", + "scope": 627, + "src": "14633:220:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1039, + "id": 531, "nodeType": "Block", - "src": "14954:83:1", + "src": "15398:86:0", "statements": [ { "expression": { @@ -6442,18 +6442,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1031, + "id": 523, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1029, + "id": 521, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "14972:1:1", + "referencedDeclaration": 515, + "src": "15417:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6463,21 +6463,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1030, + "id": 522, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14976:1:1", + "src": "15421:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14972:5:1", + "src": "15417:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6485,14 +6485,14 @@ }, { "hexValue": "536166654d6174683a206469766973696f6e206279207a65726f", - "id": 1032, + "id": 524, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14979:28:1", + "src": "15424:28:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5b7cc70dda4dc2143e5adb63bd5d1f349504f461dbdfd9bc76fac1f8ca6d019f", "typeString": "literal_string \"SafeMath: division by zero\"" @@ -6511,7 +6511,7 @@ "typeString": "literal_string \"SafeMath: division by zero\"" } ], - "id": 1028, + "id": 520, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6519,13 +6519,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14964:7:1", + "src": "15409:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1033, + "id": 525, "isConstant": false, "isLValue": false, "isPure": false, @@ -6533,16 +6533,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14964:44:1", + "src": "15409:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1034, + "id": 526, "nodeType": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "expression": { @@ -6550,18 +6550,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1037, + "id": 529, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1035, + "id": 527, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1021, - "src": "15025:1:1", + "referencedDeclaration": 513, + "src": "15471:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6570,54 +6570,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1036, + "id": 528, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "15029:1:1", + "referencedDeclaration": 515, + "src": "15475:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15025:5:1", + "src": "15471:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1027, - "id": 1038, + "functionReturnParameters": 519, + "id": 530, "nodeType": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ] }, "documentation": { - "id": 1019, + "id": 511, "nodeType": "StructuredDocumentation", - "src": "14429:453:1", + "src": "14861:464:0", "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1040, + "id": 532, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1024, + "id": 516, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1021, + "id": 513, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14900:9:1", + "scope": 532, + "src": "15344:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6625,10 +6625,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1020, + "id": 512, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14900:7:1", + "src": "15344:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6638,12 +6638,12 @@ }, { "constant": false, - "id": 1023, + "id": 515, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14911:9:1", + "scope": 532, + "src": "15355:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6651,10 +6651,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1022, + "id": 514, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14911:7:1", + "src": "15355:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6663,20 +6663,20 @@ "visibility": "internal" } ], - "src": "14899:22:1" + "src": "15343:22:0" }, "returnParameters": { - "id": 1027, + "id": 519, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1026, + "id": 518, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14945:7:1", + "scope": 532, + "src": "15389:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6684,10 +6684,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1025, + "id": 517, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14945:7:1", + "src": "15389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6696,19 +6696,19 @@ "visibility": "internal" } ], - "src": "14944:9:1" + "src": "15388:9:0" }, - "scope": 1135, - "src": "14887:150:1", + "scope": 627, + "src": "15331:153:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1061, + "id": 553, "nodeType": "Block", - "src": "15557:81:1", + "src": "16018:84:0", "statements": [ { "expression": { @@ -6718,18 +6718,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1053, + "id": 545, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1051, + "id": 543, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15575:1:1", + "referencedDeclaration": 537, + "src": "16037:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6739,21 +6739,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1052, + "id": 544, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15579:1:1", + "src": "16041:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "15575:5:1", + "src": "16037:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6761,14 +6761,14 @@ }, { "hexValue": "536166654d6174683a206d6f64756c6f206279207a65726f", - "id": 1054, + "id": 546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "15582:26:1", + "src": "16044:26:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_726e51f7b81fce0a68f5f214f445e275313b20b1633f08ce954ee39abf8d7832", "typeString": "literal_string \"SafeMath: modulo by zero\"" @@ -6787,7 +6787,7 @@ "typeString": "literal_string \"SafeMath: modulo by zero\"" } ], - "id": 1050, + "id": 542, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6795,13 +6795,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "15567:7:1", + "src": "16029:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1055, + "id": 547, "isConstant": false, "isLValue": false, "isPure": false, @@ -6809,16 +6809,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15567:42:1", + "src": "16029:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1056, + "id": 548, "nodeType": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "expression": { @@ -6826,18 +6826,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1059, + "id": 551, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1057, + "id": 549, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1043, - "src": "15626:1:1", + "referencedDeclaration": 535, + "src": "16089:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6846,54 +6846,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1058, + "id": 550, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15630:1:1", + "referencedDeclaration": 537, + "src": "16093:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15626:5:1", + "src": "16089:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1049, - "id": 1060, + "functionReturnParameters": 541, + "id": 552, "nodeType": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ] }, "documentation": { - "id": 1041, + "id": 533, "nodeType": "StructuredDocumentation", - "src": "15043:442:1", + "src": "15492:453:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1062, + "id": 554, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1046, + "id": 538, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1043, + "id": 535, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15503:9:1", + "scope": 554, + "src": "15964:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6901,10 +6901,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1042, + "id": 534, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15503:7:1", + "src": "15964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6914,12 +6914,12 @@ }, { "constant": false, - "id": 1045, + "id": 537, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15514:9:1", + "scope": 554, + "src": "15975:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6927,10 +6927,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1044, + "id": 536, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15514:7:1", + "src": "15975:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6939,20 +6939,20 @@ "visibility": "internal" } ], - "src": "15502:22:1" + "src": "15963:22:0" }, "returnParameters": { - "id": 1049, + "id": 541, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1048, + "id": 540, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15548:7:1", + "scope": 554, + "src": "16009:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6960,10 +6960,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1047, + "id": 539, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15548:7:1", + "src": "16009:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6972,19 +6972,19 @@ "visibility": "internal" } ], - "src": "15547:9:1" + "src": "16008:9:0" }, - "scope": 1135, - "src": "15490:148:1", + "scope": 627, + "src": "15951:151:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1085, + "id": 577, "nodeType": "Block", - "src": "16197:68:1", + "src": "16676:71:0", "statements": [ { "expression": { @@ -6994,18 +6994,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1077, + "id": 569, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1075, + "id": 567, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16215:1:1", + "referencedDeclaration": 559, + "src": "16695:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7014,30 +7014,30 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 1076, + "id": 568, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16220:1:1", + "referencedDeclaration": 557, + "src": "16700:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16215:6:1", + "src": "16695:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1078, + "id": 570, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1069, - "src": "16223:12:1", + "referencedDeclaration": 561, + "src": "16703:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7055,7 +7055,7 @@ "typeString": "string memory" } ], - "id": 1074, + "id": 566, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7063,13 +7063,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "16207:7:1", + "src": "16687:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1079, + "id": 571, "isConstant": false, "isLValue": false, "isPure": false, @@ -7077,16 +7077,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16207:29:1", + "src": "16687:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1080, + "id": 572, "nodeType": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "expression": { @@ -7094,18 +7094,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1083, + "id": 575, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1081, + "id": 573, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16253:1:1", + "referencedDeclaration": 557, + "src": "16734:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7114,54 +7114,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 1082, + "id": 574, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16257:1:1", + "referencedDeclaration": 559, + "src": "16738:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16253:5:1", + "src": "16734:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1073, - "id": 1084, + "functionReturnParameters": 565, + "id": 576, "nodeType": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ] }, "documentation": { - "id": 1063, + "id": 555, "nodeType": "StructuredDocumentation", - "src": "15644:453:1", + "src": "16110:465:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1086, + "id": 578, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 1070, + "id": 562, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1065, + "id": 557, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16115:9:1", + "scope": 578, + "src": "16594:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7169,10 +7169,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1064, + "id": 556, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16115:7:1", + "src": "16594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7182,12 +7182,12 @@ }, { "constant": false, - "id": 1067, + "id": 559, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16126:9:1", + "scope": 578, + "src": "16605:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7195,10 +7195,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1066, + "id": 558, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16126:7:1", + "src": "16605:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7208,12 +7208,12 @@ }, { "constant": false, - "id": 1069, + "id": 561, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16137:26:1", + "scope": 578, + "src": "16616:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7221,10 +7221,10 @@ "typeString": "string" }, "typeName": { - "id": 1068, + "id": 560, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16137:6:1", + "src": "16616:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7233,20 +7233,20 @@ "visibility": "internal" } ], - "src": "16114:50:1" + "src": "16593:50:0" }, "returnParameters": { - "id": 1073, + "id": 565, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1072, + "id": 564, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16188:7:1", + "scope": 578, + "src": "16667:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7254,10 +7254,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1071, + "id": 563, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16188:7:1", + "src": "16667:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7266,19 +7266,19 @@ "visibility": "internal" } ], - "src": "16187:9:1" + "src": "16666:9:0" }, - "scope": 1135, - "src": "16102:163:1", + "scope": 627, + "src": "16581:166:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1109, + "id": 601, "nodeType": "Block", - "src": "17017:67:1", + "src": "17516:70:0", "statements": [ { "expression": { @@ -7288,18 +7288,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1101, + "id": 593, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1099, + "id": 591, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17035:1:1", + "referencedDeclaration": 583, + "src": "17535:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7309,33 +7309,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1100, + "id": 592, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17039:1:1", + "src": "17539:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17035:5:1", + "src": "17535:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1102, + "id": 594, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1093, - "src": "17042:12:1", + "referencedDeclaration": 585, + "src": "17542:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7353,7 +7353,7 @@ "typeString": "string memory" } ], - "id": 1098, + "id": 590, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7361,13 +7361,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17027:7:1", + "src": "17527:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1103, + "id": 595, "isConstant": false, "isLValue": false, "isPure": false, @@ -7375,16 +7375,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17027:28:1", + "src": "17527:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1104, + "id": 596, "nodeType": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "expression": { @@ -7392,18 +7392,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1107, + "id": 599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1105, + "id": 597, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1089, - "src": "17072:1:1", + "referencedDeclaration": 581, + "src": "17573:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7412,54 +7412,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1106, + "id": 598, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17076:1:1", + "referencedDeclaration": 583, + "src": "17577:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17072:5:1", + "src": "17573:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1097, - "id": 1108, + "functionReturnParameters": 589, + "id": 600, "nodeType": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ] }, "documentation": { - "id": 1087, + "id": 579, "nodeType": "StructuredDocumentation", - "src": "16271:646:1", + "src": "16755:660:0", "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1110, + "id": 602, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1094, + "id": 586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1089, + "id": 581, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16935:9:1", + "scope": 602, + "src": "17434:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7467,10 +7467,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1088, + "id": 580, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16935:7:1", + "src": "17434:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7480,12 +7480,12 @@ }, { "constant": false, - "id": 1091, + "id": 583, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16946:9:1", + "scope": 602, + "src": "17445:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7493,10 +7493,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1090, + "id": 582, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16946:7:1", + "src": "17445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7506,12 +7506,12 @@ }, { "constant": false, - "id": 1093, + "id": 585, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16957:26:1", + "scope": 602, + "src": "17456:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7519,10 +7519,10 @@ "typeString": "string" }, "typeName": { - "id": 1092, + "id": 584, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16957:6:1", + "src": "17456:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7531,20 +7531,20 @@ "visibility": "internal" } ], - "src": "16934:50:1" + "src": "17433:50:0" }, "returnParameters": { - "id": 1097, + "id": 589, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1096, + "id": 588, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "17008:7:1", + "scope": 602, + "src": "17507:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7552,10 +7552,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1095, + "id": 587, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17008:7:1", + "src": "17507:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7564,19 +7564,19 @@ "visibility": "internal" } ], - "src": "17007:9:1" + "src": "17506:9:0" }, - "scope": 1135, - "src": "16922:162:1", + "scope": 627, + "src": "17421:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1133, + "id": 625, "nodeType": "Block", - "src": "17825:67:1", + "src": "18344:70:0", "statements": [ { "expression": { @@ -7586,18 +7586,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1125, + "id": 617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1123, + "id": 615, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17843:1:1", + "referencedDeclaration": 607, + "src": "18363:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7607,33 +7607,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1124, + "id": 616, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17847:1:1", + "src": "18367:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17843:5:1", + "src": "18363:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1126, + "id": 618, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1117, - "src": "17850:12:1", + "referencedDeclaration": 609, + "src": "18370:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7651,7 +7651,7 @@ "typeString": "string memory" } ], - "id": 1122, + "id": 614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7659,13 +7659,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17835:7:1", + "src": "18355:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1127, + "id": 619, "isConstant": false, "isLValue": false, "isPure": false, @@ -7673,16 +7673,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17835:28:1", + "src": "18355:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1128, + "id": 620, "nodeType": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "expression": { @@ -7690,18 +7690,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1131, + "id": 623, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1129, + "id": 621, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1113, - "src": "17880:1:1", + "referencedDeclaration": 605, + "src": "18401:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7710,54 +7710,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1130, + "id": 622, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17884:1:1", + "referencedDeclaration": 607, + "src": "18405:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17880:5:1", + "src": "18401:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1121, - "id": 1132, + "functionReturnParameters": 613, + "id": 624, "nodeType": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ] }, "documentation": { - "id": 1111, + "id": 603, "nodeType": "StructuredDocumentation", - "src": "17090:635:1", + "src": "17594:649:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1134, + "id": 626, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1118, + "id": 610, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1113, + "id": 605, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17743:9:1", + "scope": 626, + "src": "18262:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7765,10 +7765,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1112, + "id": 604, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17743:7:1", + "src": "18262:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7778,12 +7778,12 @@ }, { "constant": false, - "id": 1115, + "id": 607, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17754:9:1", + "scope": 626, + "src": "18273:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7791,10 +7791,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1114, + "id": 606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17754:7:1", + "src": "18273:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7804,12 +7804,12 @@ }, { "constant": false, - "id": 1117, + "id": 609, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17765:26:1", + "scope": 626, + "src": "18284:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7817,10 +7817,10 @@ "typeString": "string" }, "typeName": { - "id": 1116, + "id": 608, "name": "string", "nodeType": "ElementaryTypeName", - "src": "17765:6:1", + "src": "18284:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7829,20 +7829,20 @@ "visibility": "internal" } ], - "src": "17742:50:1" + "src": "18261:50:0" }, "returnParameters": { - "id": 1121, + "id": 613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1120, + "id": 612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17816:7:1", + "scope": 626, + "src": "18335:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7850,10 +7850,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1119, + "id": 611, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17816:7:1", + "src": "18335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7862,20 +7862,20 @@ "visibility": "internal" } ], - "src": "17815:9:1" + "src": "18334:9:0" }, - "scope": 1135, - "src": "17730:162:1", + "scope": 627, + "src": "18249:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "11300:6594:1" + "scope": 2991, + "src": "11627:6790:0" }, { - "id": 1136, + "id": 628, "literals": [ "solidity", ">=", @@ -7886,7 +7886,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "abstract": false, @@ -7894,38 +7894,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1137, + "id": 629, "nodeType": "StructuredDocumentation", - "src": "17980:67:1", + "src": "18508:69:0", "text": " @dev Collection of functions related to the address type" }, "fullyImplemented": true, - "id": 1430, + "id": 922, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1153, + "id": 645, "nodeType": "Block", - "src": "18706:347:1", + "src": "19255:356:0", "statements": [ { "assignments": [ - 1146 + 638 ], "declarations": [ { "constant": false, - "id": 1146, + "id": 638, "mutability": "mutable", "name": "size", "nodeType": "VariableDeclaration", - "scope": 1153, - "src": "18903:12:1", + "scope": 645, + "src": "19457:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7933,10 +7933,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1145, + "id": 637, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "18903:7:1", + "src": "19457:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7945,39 +7945,39 @@ "visibility": "internal" } ], - "id": 1147, + "id": 639, "nodeType": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "AST": { "nodeType": "YulBlock", - "src": "18990:32:1", + "src": "19546:32:0", "statements": [ { "nodeType": "YulAssignment", - "src": "18992:28:1", + "src": "19548:28:0", "value": { "arguments": [ { "name": "account", "nodeType": "YulIdentifier", - "src": "19012:7:1" + "src": "19568:7:0" } ], "functionName": { "name": "extcodesize", "nodeType": "YulIdentifier", - "src": "19000:11:1" + "src": "19556:11:0" }, "nodeType": "YulFunctionCall", - "src": "19000:20:1" + "src": "19556:20:0" }, "variableNames": [ { "name": "size", "nodeType": "YulIdentifier", - "src": "18992:4:1" + "src": "19548:4:0" } ] } @@ -7986,23 +7986,23 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], - "id": 1148, + "id": 640, "nodeType": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "expression": { @@ -8010,18 +8010,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1151, + "id": 643, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1149, + "id": 641, "name": "size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1146, - "src": "19038:4:1", + "referencedDeclaration": 638, + "src": "19595:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8031,57 +8031,57 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1150, + "id": 642, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19045:1:1", + "src": "19602:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "19038:8:1", + "src": "19595:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1144, - "id": 1152, + "functionReturnParameters": 636, + "id": 644, "nodeType": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ] }, "documentation": { - "id": 1138, + "id": 630, "nodeType": "StructuredDocumentation", - "src": "18070:565:1", + "src": "18602:581:0", "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1154, + "id": 646, "implemented": true, "kind": "function", "modifiers": [], "name": "isContract", "nodeType": "FunctionDefinition", "parameters": { - "id": 1141, + "id": 633, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1140, + "id": 632, "mutability": "mutable", "name": "account", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18660:15:1", + "scope": 646, + "src": "19209:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8089,10 +8089,10 @@ "typeString": "address" }, "typeName": { - "id": 1139, + "id": 631, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18660:7:1", + "src": "19209:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8102,20 +8102,20 @@ "visibility": "internal" } ], - "src": "18659:17:1" + "src": "19208:17:0" }, "returnParameters": { - "id": 1144, + "id": 636, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1143, + "id": 635, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18700:4:1", + "scope": 646, + "src": "19249:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8123,10 +8123,10 @@ "typeString": "bool" }, "typeName": { - "id": 1142, + "id": 634, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "18700:4:1", + "src": "19249:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8135,19 +8135,19 @@ "visibility": "internal" } ], - "src": "18699:6:1" + "src": "19248:6:0" }, - "scope": 1430, - "src": "18640:413:1", + "scope": 922, + "src": "19189:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1187, + "id": 679, "nodeType": "Block", - "src": "20041:320:1", + "src": "20617:326:0", "statements": [ { "expression": { @@ -8157,7 +8157,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1169, + "id": 661, "isConstant": false, "isLValue": false, "isPure": false, @@ -8166,14 +8166,14 @@ "expression": { "arguments": [ { - "id": 1165, + "id": 657, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "20067:4:1", + "src": "20644:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -8181,30 +8181,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1164, + "id": 656, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1163, + "id": 655, "name": "address", "nodeType": "ElementaryTypeName", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": {} } }, - "id": 1166, + "id": 658, "isConstant": false, "isLValue": false, "isPure": false, @@ -8212,21 +8212,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20059:13:1", + "src": "20636:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1167, + "id": 659, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "20059:21:1", + "src": "20636:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8235,18 +8235,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1168, + "id": 660, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20084:6:1", + "referencedDeclaration": 651, + "src": "20661:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "20059:31:1", + "src": "20636:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8254,14 +8254,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e6365", - "id": 1170, + "id": 662, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20092:31:1", + "src": "20669:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9", "typeString": "literal_string \"Address: insufficient balance\"" @@ -8280,7 +8280,7 @@ "typeString": "literal_string \"Address: insufficient balance\"" } ], - "id": 1162, + "id": 654, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -8288,13 +8288,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20051:7:1", + "src": "20628:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1171, + "id": 663, "isConstant": false, "isLValue": false, "isPure": false, @@ -8302,31 +8302,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20051:73:1", + "src": "20628:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1172, + "id": 664, "nodeType": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "assignments": [ - 1174, + 666, null ], "declarations": [ { "constant": false, - "id": 1174, + "id": 666, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1187, - "src": "20213:12:1", + "scope": 679, + "src": "20793:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8334,10 +8334,10 @@ "typeString": "bool" }, "typeName": { - "id": 1173, + "id": 665, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "20213:4:1", + "src": "20793:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8347,19 +8347,19 @@ }, null ], - "id": 1181, + "id": 673, "initialValue": { "arguments": [ { "hexValue": "", - "id": 1179, + "id": 671, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20263:2:1", + "src": "20843:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -8382,31 +8382,31 @@ } ], "expression": { - "id": 1175, + "id": 667, "name": "recipient", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1157, - "src": "20231:9:1", + "referencedDeclaration": 649, + "src": "20811:9:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 1176, + "id": 668, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "20231:14:1", + "src": "20811:14:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1178, + "id": 670, "isConstant": false, "isLValue": false, "isPure": false, @@ -8417,25 +8417,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1177, + "id": 669, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20254:6:1", + "referencedDeclaration": 651, + "src": "20834:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "20231:31:1", + "src": "20811:31:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1180, + "id": 672, "isConstant": false, "isLValue": false, "isPure": false, @@ -8443,7 +8443,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20231:35:1", + "src": "20811:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -8451,18 +8451,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "expression": { "arguments": [ { - "id": 1183, + "id": 675, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1174, - "src": "20284:7:1", + "referencedDeclaration": 666, + "src": "20865:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8470,14 +8470,14 @@ }, { "hexValue": "416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564", - "id": 1184, + "id": 676, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20293:60:1", + "src": "20874:60:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae", "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" @@ -8496,7 +8496,7 @@ "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" } ], - "id": 1182, + "id": 674, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -8504,13 +8504,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20276:7:1", + "src": "20857:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1185, + "id": 677, "isConstant": false, "isLValue": false, "isPure": false, @@ -8518,43 +8518,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20276:78:1", + "src": "20857:78:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1186, + "id": 678, "nodeType": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ] }, "documentation": { - "id": 1155, + "id": 647, "nodeType": "StructuredDocumentation", - "src": "19059:906:1", + "src": "19619:921:0", "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1188, + "id": 680, "implemented": true, "kind": "function", "modifiers": [], "name": "sendValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1160, + "id": 652, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1157, + "id": 649, "mutability": "mutable", "name": "recipient", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "19989:25:1", + "scope": 680, + "src": "20565:25:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8562,10 +8562,10 @@ "typeString": "address payable" }, "typeName": { - "id": 1156, + "id": 648, "name": "address", "nodeType": "ElementaryTypeName", - "src": "19989:15:1", + "src": "20565:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -8576,12 +8576,12 @@ }, { "constant": false, - "id": 1159, + "id": 651, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "20016:14:1", + "scope": 680, + "src": "20592:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8589,10 +8589,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1158, + "id": 650, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "20016:7:1", + "src": "20592:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8601,48 +8601,48 @@ "visibility": "internal" } ], - "src": "19988:43:1" + "src": "20564:43:0" }, "returnParameters": { - "id": 1161, + "id": 653, "nodeType": "ParameterList", "parameters": [], - "src": "20041:0:1" + "src": "20617:0:0" }, - "scope": 1430, - "src": "19970:391:1", + "scope": 922, + "src": "20546:397:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1204, + "id": 696, "nodeType": "Block", - "src": "21191:82:1", + "src": "21793:84:0", "statements": [ { "expression": { "arguments": [ { - "id": 1199, + "id": 691, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1191, - "src": "21219:6:1", + "referencedDeclaration": 683, + "src": "21822:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1200, + "id": 692, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1193, - "src": "21227:4:1", + "referencedDeclaration": 685, + "src": "21830:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8650,14 +8650,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564", - "id": 1201, + "id": 693, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "21233:32:1", + "src": "21836:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", "typeString": "literal_string \"Address: low-level call failed\"" @@ -8680,21 +8680,21 @@ "typeString": "literal_string \"Address: low-level call failed\"" } ], - "id": 1198, + "id": 690, "name": "functionCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, - "src": "21206:12:1", + "referencedDeclaration": 717, + "src": "21809:12:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1202, + "id": 694, "isConstant": false, "isLValue": false, "isPure": false, @@ -8702,44 +8702,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21206:60:1", + "src": "21809:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1197, - "id": 1203, + "functionReturnParameters": 689, + "id": 695, "nodeType": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ] }, "documentation": { - "id": 1189, + "id": 681, "nodeType": "StructuredDocumentation", - "src": "20367:730:1", + "src": "20951:747:0", "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1205, + "id": 697, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1194, + "id": 686, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1191, + "id": 683, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21124:14:1", + "scope": 697, + "src": "21726:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8747,10 +8747,10 @@ "typeString": "address" }, "typeName": { - "id": 1190, + "id": 682, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21124:7:1", + "src": "21726:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8761,12 +8761,12 @@ }, { "constant": false, - "id": 1193, + "id": 685, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21140:17:1", + "scope": 697, + "src": "21742:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8774,10 +8774,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1192, + "id": 684, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21140:5:1", + "src": "21742:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8786,20 +8786,20 @@ "visibility": "internal" } ], - "src": "21123:35:1" + "src": "21725:35:0" }, "returnParameters": { - "id": 1197, + "id": 689, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1196, + "id": 688, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21177:12:1", + "scope": 697, + "src": "21779:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8807,10 +8807,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1195, + "id": 687, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21177:5:1", + "src": "21779:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8819,42 +8819,42 @@ "visibility": "internal" } ], - "src": "21176:14:1" + "src": "21778:14:0" }, - "scope": 1430, - "src": "21102:171:1", + "scope": 922, + "src": "21704:173:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1224, + "id": 716, "nodeType": "Block", - "src": "21612:76:1", + "src": "22224:78:0", "statements": [ { "expression": { "arguments": [ { - "id": 1218, + "id": 710, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1208, - "src": "21651:6:1", + "referencedDeclaration": 700, + "src": "22264:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1219, + "id": 711, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1210, - "src": "21659:4:1", + "referencedDeclaration": 702, + "src": "22272:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8862,14 +8862,14 @@ }, { "hexValue": "30", - "id": 1220, + "id": 712, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "21665:1:1", + "src": "22278:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -8877,12 +8877,12 @@ "value": "0" }, { - "id": 1221, + "id": 713, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1212, - "src": "21668:12:1", + "referencedDeclaration": 704, + "src": "22281:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -8908,21 +8908,21 @@ "typeString": "string memory" } ], - "id": 1217, + "id": 709, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "21629:21:1", + "referencedDeclaration": 787, + "src": "22242:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1222, + "id": 714, "isConstant": false, "isLValue": false, "isPure": false, @@ -8930,44 +8930,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21629:52:1", + "src": "22242:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1216, - "id": 1223, + "functionReturnParameters": 708, + "id": 715, "nodeType": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ] }, "documentation": { - "id": 1206, + "id": 698, "nodeType": "StructuredDocumentation", - "src": "21279:211:1", + "src": "21885:216:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1225, + "id": 717, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1213, + "id": 705, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1208, + "id": 700, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21517:14:1", + "scope": 717, + "src": "22129:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8975,10 +8975,10 @@ "typeString": "address" }, "typeName": { - "id": 1207, + "id": 699, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21517:7:1", + "src": "22129:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8989,12 +8989,12 @@ }, { "constant": false, - "id": 1210, + "id": 702, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21533:17:1", + "scope": 717, + "src": "22145:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9002,10 +9002,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1209, + "id": 701, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21533:5:1", + "src": "22145:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9015,12 +9015,12 @@ }, { "constant": false, - "id": 1212, + "id": 704, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21552:26:1", + "scope": 717, + "src": "22164:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9028,10 +9028,10 @@ "typeString": "string" }, "typeName": { - "id": 1211, + "id": 703, "name": "string", "nodeType": "ElementaryTypeName", - "src": "21552:6:1", + "src": "22164:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -9040,20 +9040,20 @@ "visibility": "internal" } ], - "src": "21516:63:1" + "src": "22128:63:0" }, "returnParameters": { - "id": 1216, + "id": 708, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1215, + "id": 707, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21598:12:1", + "scope": 717, + "src": "22210:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9061,10 +9061,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1214, + "id": 706, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21598:5:1", + "src": "22210:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9073,54 +9073,54 @@ "visibility": "internal" } ], - "src": "21597:14:1" + "src": "22209:14:0" }, - "scope": 1430, - "src": "21495:193:1", + "scope": 922, + "src": "22107:195:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1244, + "id": 736, "nodeType": "Block", - "src": "22163:111:1", + "src": "22790:113:0", "statements": [ { "expression": { "arguments": [ { - "id": 1238, + "id": 730, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1228, - "src": "22202:6:1", + "referencedDeclaration": 720, + "src": "22830:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1239, + "id": 731, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1230, - "src": "22210:4:1", + "referencedDeclaration": 722, + "src": "22838:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1240, + "id": 732, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1232, - "src": "22216:5:1", + "referencedDeclaration": 724, + "src": "22844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9128,14 +9128,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564", - "id": 1241, + "id": 733, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22223:43:1", + "src": "22851:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc", "typeString": "literal_string \"Address: low-level call with value failed\"" @@ -9162,21 +9162,21 @@ "typeString": "literal_string \"Address: low-level call with value failed\"" } ], - "id": 1237, + "id": 729, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "22180:21:1", + "referencedDeclaration": 787, + "src": "22808:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1242, + "id": 734, "isConstant": false, "isLValue": false, "isPure": false, @@ -9184,44 +9184,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22180:87:1", + "src": "22808:87:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1236, - "id": 1243, + "functionReturnParameters": 728, + "id": 735, "nodeType": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ] }, "documentation": { - "id": 1226, + "id": 718, "nodeType": "StructuredDocumentation", - "src": "21694:351:1", + "src": "22310:361:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1245, + "id": 737, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1233, + "id": 725, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1228, + "id": 720, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22081:14:1", + "scope": 737, + "src": "22708:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9229,10 +9229,10 @@ "typeString": "address" }, "typeName": { - "id": 1227, + "id": 719, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22081:7:1", + "src": "22708:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9243,12 +9243,12 @@ }, { "constant": false, - "id": 1230, + "id": 722, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22097:17:1", + "scope": 737, + "src": "22724:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9256,10 +9256,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1229, + "id": 721, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22097:5:1", + "src": "22724:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9269,12 +9269,12 @@ }, { "constant": false, - "id": 1232, + "id": 724, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22116:13:1", + "scope": 737, + "src": "22743:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9282,10 +9282,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1231, + "id": 723, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22116:7:1", + "src": "22743:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9294,20 +9294,20 @@ "visibility": "internal" } ], - "src": "22080:50:1" + "src": "22707:50:0" }, "returnParameters": { - "id": 1236, + "id": 728, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1235, + "id": 727, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22149:12:1", + "scope": 737, + "src": "22776:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9315,10 +9315,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1234, + "id": 726, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22149:5:1", + "src": "22776:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9327,19 +9327,19 @@ "visibility": "internal" } ], - "src": "22148:14:1" + "src": "22775:14:0" }, - "scope": 1430, - "src": "22050:224:1", + "scope": 922, + "src": "22677:226:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1294, + "id": 786, "nodeType": "Block", - "src": "22663:382:1", + "src": "23300:389:0", "statements": [ { "expression": { @@ -9349,7 +9349,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1266, + "id": 758, "isConstant": false, "isLValue": false, "isPure": false, @@ -9358,14 +9358,14 @@ "expression": { "arguments": [ { - "id": 1262, + "id": 754, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "22689:4:1", + "src": "23327:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -9373,30 +9373,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1261, + "id": 753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1260, + "id": 752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": {} } }, - "id": 1263, + "id": 755, "isConstant": false, "isLValue": false, "isPure": false, @@ -9404,21 +9404,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22681:13:1", + "src": "23319:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1264, + "id": 756, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "22681:21:1", + "src": "23319:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9427,18 +9427,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1265, + "id": 757, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22706:5:1", + "referencedDeclaration": 744, + "src": "23344:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "22681:30:1", + "src": "23319:30:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9446,14 +9446,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c", - "id": 1267, + "id": 759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22713:40:1", + "src": "23351:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c", "typeString": "literal_string \"Address: insufficient balance for call\"" @@ -9472,7 +9472,7 @@ "typeString": "literal_string \"Address: insufficient balance for call\"" } ], - "id": 1259, + "id": 751, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9480,13 +9480,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22673:7:1", + "src": "23311:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1268, + "id": 760, "isConstant": false, "isLValue": false, "isPure": false, @@ -9494,16 +9494,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22673:81:1", + "src": "23311:81:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1269, + "id": 761, "nodeType": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "expression": { @@ -9511,12 +9511,12 @@ { "arguments": [ { - "id": 1272, + "id": 764, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22783:6:1", + "referencedDeclaration": 740, + "src": "23422:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9530,18 +9530,18 @@ "typeString": "address" } ], - "id": 1271, + "id": 763, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "22772:10:1", + "referencedDeclaration": 646, + "src": "23411:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1273, + "id": 765, "isConstant": false, "isLValue": false, "isPure": false, @@ -9549,7 +9549,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22772:18:1", + "src": "23411:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9558,14 +9558,14 @@ }, { "hexValue": "416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1274, + "id": 766, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22792:31:1", + "src": "23431:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad", "typeString": "literal_string \"Address: call to non-contract\"" @@ -9584,7 +9584,7 @@ "typeString": "literal_string \"Address: call to non-contract\"" } ], - "id": 1270, + "id": 762, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9592,13 +9592,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22764:7:1", + "src": "23403:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1275, + "id": 767, "isConstant": false, "isLValue": false, "isPure": false, @@ -9606,31 +9606,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22764:60:1", + "src": "23403:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1276, + "id": 768, "nodeType": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "assignments": [ - 1278, - 1280 + 770, + 772 ], "declarations": [ { "constant": false, - "id": 1278, + "id": 770, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22895:12:1", + "scope": 786, + "src": "23537:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9638,10 +9638,10 @@ "typeString": "bool" }, "typeName": { - "id": 1277, + "id": 769, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "22895:4:1", + "src": "23537:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9651,12 +9651,12 @@ }, { "constant": false, - "id": 1280, + "id": 772, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22909:23:1", + "scope": 786, + "src": "23551:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9664,10 +9664,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1279, + "id": 771, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22909:5:1", + "src": "23551:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9676,16 +9676,16 @@ "visibility": "internal" } ], - "id": 1287, + "id": 779, "initialValue": { "arguments": [ { - "id": 1285, + "id": 777, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1250, - "src": "22964:4:1", + "referencedDeclaration": 742, + "src": "23606:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9707,31 +9707,31 @@ } ], "expression": { - "id": 1281, + "id": 773, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22936:6:1", + "referencedDeclaration": 740, + "src": "23578:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1282, + "id": 774, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "22936:11:1", + "src": "23578:11:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1284, + "id": 776, "isConstant": false, "isLValue": false, "isPure": false, @@ -9742,25 +9742,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1283, + "id": 775, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22956:5:1", + "referencedDeclaration": 744, + "src": "23598:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "22936:27:1", + "src": "23578:27:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1286, + "id": 778, "isConstant": false, "isLValue": false, "isPure": false, @@ -9768,7 +9768,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22936:33:1", + "src": "23578:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -9776,42 +9776,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "expression": { "arguments": [ { - "id": 1289, + "id": 781, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1278, - "src": "23004:7:1", + "referencedDeclaration": 770, + "src": "23647:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1290, + "id": 782, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1280, - "src": "23013:10:1", + "referencedDeclaration": 772, + "src": "23656:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1291, + "id": 783, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1254, - "src": "23025:12:1", + "referencedDeclaration": 746, + "src": "23668:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -9833,18 +9833,18 @@ "typeString": "string memory" } ], - "id": 1288, + "id": 780, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "22986:17:1", + "referencedDeclaration": 921, + "src": "23629:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1292, + "id": 784, "isConstant": false, "isLValue": false, "isPure": false, @@ -9852,44 +9852,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22986:52:1", + "src": "23629:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1258, - "id": 1293, + "functionReturnParameters": 750, + "id": 785, "nodeType": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ] }, "documentation": { - "id": 1246, + "id": 738, "nodeType": "StructuredDocumentation", - "src": "22280:237:1", + "src": "22911:242:0", "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1295, + "id": 787, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1255, + "id": 747, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1248, + "id": 740, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22553:14:1", + "scope": 787, + "src": "23190:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9897,10 +9897,10 @@ "typeString": "address" }, "typeName": { - "id": 1247, + "id": 739, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22553:7:1", + "src": "23190:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9911,12 +9911,12 @@ }, { "constant": false, - "id": 1250, + "id": 742, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22569:17:1", + "scope": 787, + "src": "23206:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9924,10 +9924,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1249, + "id": 741, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22569:5:1", + "src": "23206:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9937,12 +9937,12 @@ }, { "constant": false, - "id": 1252, + "id": 744, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22588:13:1", + "scope": 787, + "src": "23225:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9950,10 +9950,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1251, + "id": 743, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22588:7:1", + "src": "23225:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9963,12 +9963,12 @@ }, { "constant": false, - "id": 1254, + "id": 746, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22603:26:1", + "scope": 787, + "src": "23240:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9976,10 +9976,10 @@ "typeString": "string" }, "typeName": { - "id": 1253, + "id": 745, "name": "string", "nodeType": "ElementaryTypeName", - "src": "22603:6:1", + "src": "23240:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -9988,20 +9988,20 @@ "visibility": "internal" } ], - "src": "22552:78:1" + "src": "23189:78:0" }, "returnParameters": { - "id": 1258, + "id": 750, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1257, + "id": 749, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22649:12:1", + "scope": 787, + "src": "23286:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10009,10 +10009,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1256, + "id": 748, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22649:5:1", + "src": "23286:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10021,42 +10021,42 @@ "visibility": "internal" } ], - "src": "22648:14:1" + "src": "23285:14:0" }, - "scope": 1430, - "src": "22522:523:1", + "scope": 922, + "src": "23159:530:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1311, + "id": 803, "nodeType": "Block", - "src": "23322:97:1", + "src": "23974:99:0", "statements": [ { "expression": { "arguments": [ { - "id": 1306, + "id": 798, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1298, - "src": "23358:6:1", + "referencedDeclaration": 790, + "src": "24011:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1307, + "id": 799, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1300, - "src": "23366:4:1", + "referencedDeclaration": 792, + "src": "24019:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10064,14 +10064,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564", - "id": 1308, + "id": 800, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23372:39:1", + "src": "24025:39:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0", "typeString": "literal_string \"Address: low-level static call failed\"" @@ -10094,21 +10094,21 @@ "typeString": "literal_string \"Address: low-level static call failed\"" } ], - "id": 1305, + "id": 797, "name": "functionStaticCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, - "src": "23339:18:1", + "referencedDeclaration": 839, + "src": "23992:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) view returns (bytes memory)" } }, - "id": 1309, + "id": 801, "isConstant": false, "isLValue": false, "isPure": false, @@ -10116,44 +10116,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23339:73:1", + "src": "23992:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1304, - "id": 1310, + "functionReturnParameters": 796, + "id": 802, "nodeType": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ] }, "documentation": { - "id": 1296, + "id": 788, "nodeType": "StructuredDocumentation", - "src": "23051:166:1", + "src": "23697:171:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1312, + "id": 804, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1301, + "id": 793, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1298, + "id": 790, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23250:14:1", + "scope": 804, + "src": "23902:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10161,10 +10161,10 @@ "typeString": "address" }, "typeName": { - "id": 1297, + "id": 789, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23250:7:1", + "src": "23902:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10175,12 +10175,12 @@ }, { "constant": false, - "id": 1300, + "id": 792, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23266:17:1", + "scope": 804, + "src": "23918:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10188,10 +10188,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1299, + "id": 791, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23266:5:1", + "src": "23918:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10200,20 +10200,20 @@ "visibility": "internal" } ], - "src": "23249:35:1" + "src": "23901:35:0" }, "returnParameters": { - "id": 1304, + "id": 796, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1303, + "id": 795, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23308:12:1", + "scope": 804, + "src": "23960:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10221,10 +10221,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1302, + "id": 794, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23308:5:1", + "src": "23960:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10233,19 +10233,19 @@ "visibility": "internal" } ], - "src": "23307:14:1" + "src": "23959:14:0" }, - "scope": 1430, - "src": "23222:197:1", + "scope": 922, + "src": "23874:199:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1346, + "id": 838, "nodeType": "Block", - "src": "23731:288:1", + "src": "24393:294:0", "statements": [ { "expression": { @@ -10253,12 +10253,12 @@ { "arguments": [ { - "id": 1326, + "id": 818, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23760:6:1", + "referencedDeclaration": 807, + "src": "24423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10272,18 +10272,18 @@ "typeString": "address" } ], - "id": 1325, + "id": 817, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "23749:10:1", + "referencedDeclaration": 646, + "src": "24412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1327, + "id": 819, "isConstant": false, "isLValue": false, "isPure": false, @@ -10291,7 +10291,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23749:18:1", + "src": "24412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10300,14 +10300,14 @@ }, { "hexValue": "416464726573733a207374617469632063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1328, + "id": 820, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23769:38:1", + "src": "24432:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c79cc78e4f16ce3933a42b84c73868f93bb4a59c031a0acf576679de98c608a9", "typeString": "literal_string \"Address: static call to non-contract\"" @@ -10326,7 +10326,7 @@ "typeString": "literal_string \"Address: static call to non-contract\"" } ], - "id": 1324, + "id": 816, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -10334,13 +10334,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "23741:7:1", + "src": "24404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1329, + "id": 821, "isConstant": false, "isLValue": false, "isPure": false, @@ -10348,31 +10348,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23741:67:1", + "src": "24404:67:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1330, + "id": 822, "nodeType": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "assignments": [ - 1332, - 1334 + 824, + 826 ], "declarations": [ { "constant": false, - "id": 1332, + "id": 824, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23879:12:1", + "scope": 838, + "src": "24545:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10380,10 +10380,10 @@ "typeString": "bool" }, "typeName": { - "id": 1331, + "id": 823, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "23879:4:1", + "src": "24545:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10393,12 +10393,12 @@ }, { "constant": false, - "id": 1334, + "id": 826, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23893:23:1", + "scope": 838, + "src": "24559:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10406,10 +10406,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1333, + "id": 825, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23893:5:1", + "src": "24559:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10418,16 +10418,16 @@ "visibility": "internal" } ], - "id": 1339, + "id": 831, "initialValue": { "arguments": [ { - "id": 1337, + "id": 829, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1317, - "src": "23938:4:1", + "referencedDeclaration": 809, + "src": "24604:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10442,31 +10442,31 @@ } ], "expression": { - "id": 1335, + "id": 827, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23920:6:1", + "referencedDeclaration": 807, + "src": "24586:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1336, + "id": 828, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "staticcall", "nodeType": "MemberAccess", - "src": "23920:17:1", + "src": "24586:17:0", "typeDescriptions": { "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) view returns (bool,bytes memory)" } }, - "id": 1338, + "id": 830, "isConstant": false, "isLValue": false, "isPure": false, @@ -10474,7 +10474,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23920:23:1", + "src": "24586:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10482,42 +10482,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "expression": { "arguments": [ { - "id": 1341, + "id": 833, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "23978:7:1", + "referencedDeclaration": 824, + "src": "24645:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1342, + "id": 834, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1334, - "src": "23987:10:1", + "referencedDeclaration": 826, + "src": "24654:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1343, + "id": 835, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1319, - "src": "23999:12:1", + "referencedDeclaration": 811, + "src": "24666:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10539,18 +10539,18 @@ "typeString": "string memory" } ], - "id": 1340, + "id": 832, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "23960:17:1", + "referencedDeclaration": 921, + "src": "24627:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1344, + "id": 836, "isConstant": false, "isLValue": false, "isPure": false, @@ -10558,44 +10558,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23960:52:1", + "src": "24627:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1323, - "id": 1345, + "functionReturnParameters": 815, + "id": 837, "nodeType": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ] }, "documentation": { - "id": 1313, + "id": 805, "nodeType": "StructuredDocumentation", - "src": "23425:173:1", + "src": "24081:178:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1347, + "id": 839, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1320, + "id": 812, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1315, + "id": 807, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23631:14:1", + "scope": 839, + "src": "24293:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10603,10 +10603,10 @@ "typeString": "address" }, "typeName": { - "id": 1314, + "id": 806, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23631:7:1", + "src": "24293:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10617,12 +10617,12 @@ }, { "constant": false, - "id": 1317, + "id": 809, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23647:17:1", + "scope": 839, + "src": "24309:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10630,10 +10630,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1316, + "id": 808, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23647:5:1", + "src": "24309:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10643,12 +10643,12 @@ }, { "constant": false, - "id": 1319, + "id": 811, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23666:26:1", + "scope": 839, + "src": "24328:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10656,10 +10656,10 @@ "typeString": "string" }, "typeName": { - "id": 1318, + "id": 810, "name": "string", "nodeType": "ElementaryTypeName", - "src": "23666:6:1", + "src": "24328:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10668,20 +10668,20 @@ "visibility": "internal" } ], - "src": "23630:63:1" + "src": "24292:63:0" }, "returnParameters": { - "id": 1323, + "id": 815, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1322, + "id": 814, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23717:12:1", + "scope": 839, + "src": "24379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10689,10 +10689,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1321, + "id": 813, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23717:5:1", + "src": "24379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10701,42 +10701,42 @@ "visibility": "internal" } ], - "src": "23716:14:1" + "src": "24378:14:0" }, - "scope": 1430, - "src": "23603:416:1", + "scope": 922, + "src": "24265:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1363, + "id": 855, "nodeType": "Block", - "src": "24295:101:1", + "src": "24971:103:0", "statements": [ { "expression": { "arguments": [ { - "id": 1358, + "id": 850, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1350, - "src": "24333:6:1", + "referencedDeclaration": 842, + "src": "25010:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1359, + "id": 851, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1352, - "src": "24341:4:1", + "referencedDeclaration": 844, + "src": "25018:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10744,14 +10744,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564", - "id": 1360, + "id": 852, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24347:41:1", + "src": "25024:41:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398", "typeString": "literal_string \"Address: low-level delegate call failed\"" @@ -10774,21 +10774,21 @@ "typeString": "literal_string \"Address: low-level delegate call failed\"" } ], - "id": 1357, + "id": 849, "name": "functionDelegateCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, - "src": "24312:20:1", + "referencedDeclaration": 891, + "src": "24989:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1361, + "id": 853, "isConstant": false, "isLValue": false, "isPure": false, @@ -10796,44 +10796,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24312:77:1", + "src": "24989:77:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1356, - "id": 1362, + "functionReturnParameters": 848, + "id": 854, "nodeType": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ] }, "documentation": { - "id": 1348, + "id": 840, "nodeType": "StructuredDocumentation", - "src": "24025:168:1", + "src": "24695:173:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1364, + "id": 856, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1353, + "id": 845, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1350, + "id": 842, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24228:14:1", + "scope": 856, + "src": "24904:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10841,10 +10841,10 @@ "typeString": "address" }, "typeName": { - "id": 1349, + "id": 841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24228:7:1", + "src": "24904:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10855,12 +10855,12 @@ }, { "constant": false, - "id": 1352, + "id": 844, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24244:17:1", + "scope": 856, + "src": "24920:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10868,10 +10868,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1351, + "id": 843, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24244:5:1", + "src": "24920:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10880,20 +10880,20 @@ "visibility": "internal" } ], - "src": "24227:35:1" + "src": "24903:35:0" }, "returnParameters": { - "id": 1356, + "id": 848, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1355, + "id": 847, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24281:12:1", + "scope": 856, + "src": "24957:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10901,10 +10901,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1354, + "id": 846, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24281:5:1", + "src": "24957:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10913,19 +10913,19 @@ "visibility": "internal" } ], - "src": "24280:14:1" + "src": "24956:14:0" }, - "scope": 1430, - "src": "24198:198:1", + "scope": 922, + "src": "24874:200:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1398, + "id": 890, "nodeType": "Block", - "src": "24707:292:1", + "src": "25393:298:0", "statements": [ { "expression": { @@ -10933,12 +10933,12 @@ { "arguments": [ { - "id": 1378, + "id": 870, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24736:6:1", + "referencedDeclaration": 859, + "src": "25423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10952,18 +10952,18 @@ "typeString": "address" } ], - "id": 1377, + "id": 869, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "24725:10:1", + "referencedDeclaration": 646, + "src": "25412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1379, + "id": 871, "isConstant": false, "isLValue": false, "isPure": false, @@ -10971,7 +10971,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24725:18:1", + "src": "25412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10980,14 +10980,14 @@ }, { "hexValue": "416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1380, + "id": 872, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24745:40:1", + "src": "25432:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b94ded0918034cf8f896e19fa3cfdef1188cd569c577264a3622e49152f88520", "typeString": "literal_string \"Address: delegate call to non-contract\"" @@ -11006,7 +11006,7 @@ "typeString": "literal_string \"Address: delegate call to non-contract\"" } ], - "id": 1376, + "id": 868, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -11014,13 +11014,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "24717:7:1", + "src": "25404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1381, + "id": 873, "isConstant": false, "isLValue": false, "isPure": false, @@ -11028,31 +11028,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24717:69:1", + "src": "25404:69:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1382, + "id": 874, "nodeType": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "assignments": [ - 1384, - 1386 + 876, + 878 ], "declarations": [ { "constant": false, - "id": 1384, + "id": 876, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24857:12:1", + "scope": 890, + "src": "25547:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11060,10 +11060,10 @@ "typeString": "bool" }, "typeName": { - "id": 1383, + "id": 875, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "24857:4:1", + "src": "25547:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11073,12 +11073,12 @@ }, { "constant": false, - "id": 1386, + "id": 878, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24871:23:1", + "scope": 890, + "src": "25561:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11086,10 +11086,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1385, + "id": 877, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24871:5:1", + "src": "25561:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11098,16 +11098,16 @@ "visibility": "internal" } ], - "id": 1391, + "id": 883, "initialValue": { "arguments": [ { - "id": 1389, + "id": 881, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1369, - "src": "24918:4:1", + "referencedDeclaration": 861, + "src": "25608:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -11122,31 +11122,31 @@ } ], "expression": { - "id": 1387, + "id": 879, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24898:6:1", + "referencedDeclaration": 859, + "src": "25588:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1388, + "id": 880, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "delegatecall", "nodeType": "MemberAccess", - "src": "24898:19:1", + "src": "25588:19:0", "typeDescriptions": { "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) returns (bool,bytes memory)" } }, - "id": 1390, + "id": 882, "isConstant": false, "isLValue": false, "isPure": false, @@ -11154,7 +11154,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24898:25:1", + "src": "25588:25:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -11162,42 +11162,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "expression": { "arguments": [ { - "id": 1393, + "id": 885, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1384, - "src": "24958:7:1", + "referencedDeclaration": 876, + "src": "25649:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1394, + "id": 886, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1386, - "src": "24967:10:1", + "referencedDeclaration": 878, + "src": "25658:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1395, + "id": 887, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1371, - "src": "24979:12:1", + "referencedDeclaration": 863, + "src": "25670:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -11219,18 +11219,18 @@ "typeString": "string memory" } ], - "id": 1392, + "id": 884, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "24940:17:1", + "referencedDeclaration": 921, + "src": "25631:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1396, + "id": 888, "isConstant": false, "isLValue": false, "isPure": false, @@ -11238,44 +11238,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24940:52:1", + "src": "25631:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1375, - "id": 1397, + "functionReturnParameters": 867, + "id": 889, "nodeType": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ] }, "documentation": { - "id": 1365, + "id": 857, "nodeType": "StructuredDocumentation", - "src": "24402:175:1", + "src": "25082:180:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1399, + "id": 891, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1372, + "id": 864, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1367, + "id": 859, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24612:14:1", + "scope": 891, + "src": "25298:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11283,10 +11283,10 @@ "typeString": "address" }, "typeName": { - "id": 1366, + "id": 858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24612:7:1", + "src": "25298:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -11297,12 +11297,12 @@ }, { "constant": false, - "id": 1369, + "id": 861, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24628:17:1", + "scope": 891, + "src": "25314:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11310,10 +11310,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1368, + "id": 860, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24628:5:1", + "src": "25314:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11323,12 +11323,12 @@ }, { "constant": false, - "id": 1371, + "id": 863, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24647:26:1", + "scope": 891, + "src": "25333:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11336,10 +11336,10 @@ "typeString": "string" }, "typeName": { - "id": 1370, + "id": 862, "name": "string", "nodeType": "ElementaryTypeName", - "src": "24647:6:1", + "src": "25333:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11348,20 +11348,20 @@ "visibility": "internal" } ], - "src": "24611:63:1" + "src": "25297:63:0" }, "returnParameters": { - "id": 1375, + "id": 867, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1374, + "id": 866, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24693:12:1", + "scope": 891, + "src": "25379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11369,10 +11369,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1373, + "id": 865, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24693:5:1", + "src": "25379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11381,37 +11381,37 @@ "visibility": "internal" } ], - "src": "24692:14:1" + "src": "25378:14:0" }, - "scope": 1430, - "src": "24582:417:1", + "scope": 922, + "src": "25268:423:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1428, + "id": 920, "nodeType": "Block", - "src": "25134:596:1", + "src": "25828:613:0", "statements": [ { "condition": { - "id": 1410, + "id": 902, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1401, - "src": "25148:7:1", + "referencedDeclaration": 893, + "src": "25843:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1426, + "id": 918, "nodeType": "Block", - "src": "25205:519:1", + "src": "25902:532:0", "statements": [ { "condition": { @@ -11419,32 +11419,32 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1417, + "id": 909, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1414, + "id": 906, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25289:10:1", + "referencedDeclaration": 895, + "src": "25988:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1415, + "id": 907, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "25289:17:1", + "src": "25988:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11454,41 +11454,41 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1416, + "id": 908, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "25309:1:1", + "src": "26008:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "25289:21:1", + "src": "25988:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1424, + "id": 916, "nodeType": "Block", - "src": "25661:53:1", + "src": "26368:55:0", "statements": [ { "expression": { "arguments": [ { - "id": 1421, + "id": 913, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1405, - "src": "25686:12:1", + "referencedDeclaration": 897, + "src": "26394:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -11502,7 +11502,7 @@ "typeString": "string memory" } ], - "id": 1420, + "id": 912, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -11510,13 +11510,13 @@ 4294967277 ], "referencedDeclaration": 4294967277, - "src": "25679:6:1", + "src": "26387:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", "typeString": "function (string memory) pure" } }, - "id": 1422, + "id": 914, "isConstant": false, "isLValue": false, "isPure": false, @@ -11524,56 +11524,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "25679:20:1", + "src": "26387:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1423, + "id": 915, "nodeType": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ] }, - "id": 1425, + "id": 917, "nodeType": "IfStatement", - "src": "25285:429:1", + "src": "25984:439:0", "trueBody": { - "id": 1419, + "id": 911, "nodeType": "Block", - "src": "25312:343:1", + "src": "26011:351:0", "statements": [ { "AST": { "nodeType": "YulBlock", - "src": "25496:145:1", + "src": "26199:148:0", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "25518:40:1", + "src": "26222:40:0", "value": { "arguments": [ { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25547:10:1" + "src": "26251:10:0" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "25541:5:1" + "src": "26245:5:0" }, "nodeType": "YulFunctionCall", - "src": "25541:17:1" + "src": "26245:17:0" }, "variables": [ { "name": "returndata_size", "nodeType": "YulTypedName", - "src": "25522:15:1", + "src": "26226:15:0", "type": "" } ] @@ -11586,118 +11586,118 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "25590:2:1", + "src": "26295:2:0", "type": "", "value": "32" }, { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25594:10:1" + "src": "26299:10:0" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "25586:3:1" + "src": "26291:3:0" }, "nodeType": "YulFunctionCall", - "src": "25586:19:1" + "src": "26291:19:0" }, { "name": "returndata_size", "nodeType": "YulIdentifier", - "src": "25607:15:1" + "src": "26312:15:0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "25579:6:1" + "src": "26284:6:0" }, "nodeType": "YulFunctionCall", - "src": "25579:44:1" + "src": "26284:44:0" }, "nodeType": "YulExpressionStatement", - "src": "25579:44:1" + "src": "26284:44:0" } ] }, "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], - "id": 1418, + "id": 910, "nodeType": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ] } } ] }, - "id": 1427, + "id": 919, "nodeType": "IfStatement", - "src": "25144:580:1", + "src": "25839:595:0", "trueBody": { - "id": 1413, + "id": 905, "nodeType": "Block", - "src": "25157:42:1", + "src": "25852:44:0", "statements": [ { "expression": { - "id": 1411, + "id": 903, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25178:10:1", + "referencedDeclaration": 895, + "src": "25874:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1409, - "id": 1412, + "functionReturnParameters": 901, + "id": 904, "nodeType": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ] } } ] }, - "id": 1429, + "id": 921, "implemented": true, "kind": "function", "modifiers": [], "name": "_verifyCallResult", "nodeType": "FunctionDefinition", "parameters": { - "id": 1406, + "id": 898, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1401, + "id": 893, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25032:12:1", + "scope": 921, + "src": "25726:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11705,10 +11705,10 @@ "typeString": "bool" }, "typeName": { - "id": 1400, + "id": 892, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "25032:4:1", + "src": "25726:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11718,12 +11718,12 @@ }, { "constant": false, - "id": 1403, + "id": 895, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25046:23:1", + "scope": 921, + "src": "25740:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11731,10 +11731,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1402, + "id": 894, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25046:5:1", + "src": "25740:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11744,12 +11744,12 @@ }, { "constant": false, - "id": 1405, + "id": 897, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25071:26:1", + "scope": 921, + "src": "25765:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11757,10 +11757,10 @@ "typeString": "string" }, "typeName": { - "id": 1404, + "id": 896, "name": "string", "nodeType": "ElementaryTypeName", - "src": "25071:6:1", + "src": "25765:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11769,20 +11769,20 @@ "visibility": "internal" } ], - "src": "25031:67:1" + "src": "25725:67:0" }, "returnParameters": { - "id": 1409, + "id": 901, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1408, + "id": 900, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25120:12:1", + "scope": 921, + "src": "25814:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11790,10 +11790,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1407, + "id": 899, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25120:5:1", + "src": "25814:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11802,20 +11802,20 @@ "visibility": "internal" } ], - "src": "25119:14:1" + "src": "25813:14:0" }, - "scope": 1430, - "src": "25005:725:1", + "scope": 922, + "src": "25699:742:0", "stateMutability": "pure", "virtual": false, "visibility": "private" } ], - "scope": 3499, - "src": "18048:7684:1" + "scope": 2991, + "src": "18579:7865:0" }, { - "id": 1431, + "id": 923, "literals": [ "solidity", ">=", @@ -11826,7 +11826,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "abstract": false, @@ -11834,31 +11834,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1432, + "id": 924, "nodeType": "StructuredDocumentation", - "src": "25824:686:1", + "src": "26541:709:0", "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, "fullyImplemented": true, - "id": 1921, + "id": 1413, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableSet.Set", - "id": 1440, + "id": 932, "members": [ { "constant": false, - "id": 1435, + "id": 927, "mutability": "mutable", "name": "_values", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27033:17:1", + "scope": 932, + "src": "27786:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11867,18 +11867,18 @@ }, "typeName": { "baseType": { - "id": 1433, + "id": 925, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27033:7:1", + "src": "27786:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1434, + "id": 926, "nodeType": "ArrayTypeName", - "src": "27033:9:1", + "src": "27786:9:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", "typeString": "bytes32[]" @@ -11888,12 +11888,12 @@ }, { "constant": false, - "id": 1439, + "id": 931, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27184:37:1", + "scope": 932, + "src": "27941:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11901,28 +11901,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1438, + "id": 930, "keyType": { - "id": 1436, + "id": 928, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27193:7:1", + "src": "27950:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "27184:28:1", + "src": "27941:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1437, + "id": 929, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "27204:7:1", + "src": "27961:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11934,19 +11934,19 @@ ], "name": "Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "26979:249:1", + "scope": 1413, + "src": "27730:256:0", "visibility": "public" }, { "body": { - "id": 1480, + "id": 972, "nodeType": "Block", - "src": "27467:335:1", + "src": "28233:345:0", "statements": [ { "condition": { - "id": 1454, + "id": 946, "isConstant": false, "isLValue": false, "isPure": false, @@ -11954,28 +11954,28 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "27481:22:1", + "src": "28248:22:0", "subExpression": { "arguments": [ { - "id": 1451, + "id": 943, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27492:3:1", + "referencedDeclaration": 935, + "src": "28259:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, { - "id": 1452, + "id": 944, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27497:5:1", + "referencedDeclaration": 937, + "src": "28264:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11985,7 +11985,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -11993,18 +11993,18 @@ "typeString": "bytes32" } ], - "id": 1450, + "id": 942, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "27482:9:1", + "referencedDeclaration": 1071, + "src": "28249:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1453, + "id": 945, "isConstant": false, "isLValue": false, "isPure": false, @@ -12012,7 +12012,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27482:21:1", + "src": "28249:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -12025,52 +12025,52 @@ } }, "falseBody": { - "id": 1478, + "id": 970, "nodeType": "Block", - "src": "27759:37:1", + "src": "28532:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1476, + "id": 968, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27780:5:1", + "src": "28554:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1449, - "id": 1477, + "functionReturnParameters": 941, + "id": 969, "nodeType": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ] }, - "id": 1479, + "id": 971, "nodeType": "IfStatement", - "src": "27477:319:1", + "src": "28244:327:0", "trueBody": { - "id": 1475, + "id": 967, "nodeType": "Block", - "src": "27505:248:1", + "src": "28272:254:0", "statements": [ { "expression": { "arguments": [ { - "id": 1460, + "id": 952, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27536:5:1", + "referencedDeclaration": 937, + "src": "28304:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12086,45 +12086,45 @@ ], "expression": { "expression": { - "id": 1455, + "id": 947, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27519:3:1", + "referencedDeclaration": 935, + "src": "28287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1458, + "id": 950, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27519:11:1", + "referencedDeclaration": 927, + "src": "28287:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1459, + "id": 951, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "27519:16:1", + "src": "28287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_bytes32_$returns$__$", "typeString": "function (bytes32)" } }, - "id": 1461, + "id": 953, "isConstant": false, "isLValue": false, "isPure": false, @@ -12132,20 +12132,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27519:23:1", + "src": "28287:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1462, + "id": 954, "nodeType": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "expression": { - "id": 1471, + "id": 963, "isConstant": false, "isLValue": false, "isPure": false, @@ -12153,39 +12153,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1463, + "id": 955, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27677:3:1", + "referencedDeclaration": 935, + "src": "28448:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1466, + "id": 958, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "27677:12:1", + "referencedDeclaration": 931, + "src": "28448:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1467, + "id": 959, "indexExpression": { - "id": 1465, + "id": 957, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27690:5:1", + "referencedDeclaration": 937, + "src": "28461:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12196,7 +12196,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "27677:19:1", + "src": "28448:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12207,75 +12207,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1468, + "id": 960, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27699:3:1", + "referencedDeclaration": 935, + "src": "28470:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1469, + "id": 961, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27699:11:1", + "referencedDeclaration": 927, + "src": "28470:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1470, + "id": 962, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "27699:18:1", + "src": "28470:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "27677:40:1", + "src": "28448:40:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1472, + "id": 964, "nodeType": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "expression": { "hexValue": "74727565", - "id": 1473, + "id": 965, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27738:4:1", + "src": "28510:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1449, - "id": 1474, + "functionReturnParameters": 941, + "id": 966, "nodeType": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ] } @@ -12283,43 +12283,43 @@ ] }, "documentation": { - "id": 1441, + "id": 933, "nodeType": "StructuredDocumentation", - "src": "27234:159:1", + "src": "27994:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1481, + "id": 973, "implemented": true, "kind": "function", "modifiers": [], "name": "_add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1446, + "id": 938, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1443, + "id": 935, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27412:15:1", + "scope": 973, + "src": "28178:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1442, + "id": 934, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27412:3:1", + "referencedDeclaration": 932, + "src": "28178:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -12327,12 +12327,12 @@ }, { "constant": false, - "id": 1445, + "id": 937, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27429:13:1", + "scope": 973, + "src": "28195:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12340,10 +12340,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1444, + "id": 936, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27429:7:1", + "src": "28195:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12352,20 +12352,20 @@ "visibility": "internal" } ], - "src": "27411:32:1" + "src": "28177:32:0" }, "returnParameters": { - "id": 1449, + "id": 941, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1448, + "id": 940, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27461:4:1", + "scope": 973, + "src": "28227:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12373,10 +12373,10 @@ "typeString": "bool" }, "typeName": { - "id": 1447, + "id": 939, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "27461:4:1", + "src": "28227:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12385,33 +12385,33 @@ "visibility": "internal" } ], - "src": "27460:6:1" + "src": "28226:6:0" }, - "scope": 1921, - "src": "27398:404:1", + "scope": 1413, + "src": "28164:414:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1560, + "id": 1052, "nodeType": "Block", - "src": "28042:1440:1", + "src": "28826:1472:0", "statements": [ { "assignments": [ - 1492 + 984 ], "declarations": [ { "constant": false, - "id": 1492, + "id": 984, "mutability": "mutable", "name": "valueIndex", "nodeType": "VariableDeclaration", - "scope": 1560, - "src": "28152:18:1", + "scope": 1052, + "src": "28938:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12419,10 +12419,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1491, + "id": 983, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28152:7:1", + "src": "28938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12431,43 +12431,43 @@ "visibility": "internal" } ], - "id": 1497, + "id": 989, "initialValue": { "baseExpression": { "expression": { - "id": 1493, + "id": 985, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28173:3:1", + "referencedDeclaration": 976, + "src": "28959:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1494, + "id": 986, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "28173:12:1", + "referencedDeclaration": 931, + "src": "28959:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1496, + "id": 988, "indexExpression": { - "id": 1495, + "id": 987, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "28186:5:1", + "referencedDeclaration": 978, + "src": "28972:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12478,14 +12478,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28173:19:1", + "src": "28959:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "condition": { @@ -12493,18 +12493,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1500, + "id": 992, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1498, + "id": 990, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28207:10:1", + "referencedDeclaration": 984, + "src": "28995:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12514,76 +12514,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1499, + "id": 991, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28221:1:1", + "src": "29009:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "28207:15:1", + "src": "28995:15:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1558, + "id": 1050, "nodeType": "Block", - "src": "29439:37:1", + "src": "30252:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1556, + "id": 1048, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29460:5:1", + "src": "30274:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1490, - "id": 1557, + "functionReturnParameters": 982, + "id": 1049, "nodeType": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ] }, - "id": 1559, + "id": 1051, "nodeType": "IfStatement", - "src": "28203:1273:1", + "src": "28991:1300:0", "trueBody": { - "id": 1555, + "id": 1047, "nodeType": "Block", - "src": "28224:1209:1", + "src": "29012:1234:0", "statements": [ { "assignments": [ - 1502 + 994 ], "declarations": [ { "constant": false, - "id": 1502, + "id": 994, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28564:21:1", + "scope": 1047, + "src": "29357:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12591,10 +12591,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1501, + "id": 993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28564:7:1", + "src": "29357:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12603,24 +12603,24 @@ "visibility": "internal" } ], - "id": 1506, + "id": 998, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1505, + "id": 997, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1503, + "id": 995, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28588:10:1", + "referencedDeclaration": 984, + "src": "29381:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12630,42 +12630,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1504, + "id": 996, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28601:1:1", + "src": "29394:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28588:14:1", + "src": "29381:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "assignments": [ - 1508 + 1000 ], "declarations": [ { "constant": false, - "id": 1508, + "id": 1000, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28616:17:1", + "scope": 1047, + "src": "29410:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12673,10 +12673,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1507, + "id": 999, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28616:7:1", + "src": "29410:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12685,13 +12685,13 @@ "visibility": "internal" } ], - "id": 1514, + "id": 1006, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1513, + "id": 1005, "isConstant": false, "isLValue": false, "isPure": false, @@ -12699,39 +12699,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1509, + "id": 1001, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28636:3:1", + "referencedDeclaration": 976, + "src": "29430:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1510, + "id": 1002, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28636:11:1", + "referencedDeclaration": 927, + "src": "29430:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1511, + "id": 1003, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "28636:18:1", + "src": "29430:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12741,42 +12741,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1512, + "id": 1004, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28657:1:1", + "src": "29451:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28636:22:1", + "src": "29430:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "assignments": [ - 1516 + 1008 ], "declarations": [ { "constant": false, - "id": 1516, + "id": 1008, "mutability": "mutable", "name": "lastvalue", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28898:17:1", + "scope": 1047, + "src": "29697:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12784,10 +12784,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1515, + "id": 1007, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28898:7:1", + "src": "29697:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12796,43 +12796,43 @@ "visibility": "internal" } ], - "id": 1521, + "id": 1013, "initialValue": { "baseExpression": { "expression": { - "id": 1517, + "id": 1009, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28918:3:1", + "referencedDeclaration": 976, + "src": "29717:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1518, + "id": 1010, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28918:11:1", + "referencedDeclaration": 927, + "src": "29717:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1520, + "id": 1012, "indexExpression": { - "id": 1519, + "id": 1011, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1508, - "src": "28930:9:1", + "referencedDeclaration": 1000, + "src": "29729:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12843,18 +12843,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28918:22:1", + "src": "29717:22:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "expression": { - "id": 1528, + "id": 1020, "isConstant": false, "isLValue": false, "isPure": false, @@ -12862,39 +12862,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1522, + "id": 1014, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29032:3:1", + "referencedDeclaration": 976, + "src": "29834:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1525, + "id": 1017, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29032:11:1", + "referencedDeclaration": 927, + "src": "29834:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1526, + "id": 1018, "indexExpression": { - "id": 1524, + "id": 1016, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29044:13:1", + "referencedDeclaration": 994, + "src": "29846:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12905,7 +12905,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29032:26:1", + "src": "29834:26:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12914,30 +12914,30 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1527, + "id": 1019, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29061:9:1", + "referencedDeclaration": 1008, + "src": "29863:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "29032:38:1", + "src": "29834:38:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1529, + "id": 1021, "nodeType": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "expression": { - "id": 1538, + "id": 1030, "isConstant": false, "isLValue": false, "isPure": false, @@ -12945,39 +12945,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1530, + "id": 1022, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29136:3:1", + "referencedDeclaration": 976, + "src": "29940:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1533, + "id": 1025, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29136:12:1", + "referencedDeclaration": 931, + "src": "29940:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1534, + "id": 1026, "indexExpression": { - "id": 1532, + "id": 1024, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29149:9:1", + "referencedDeclaration": 1008, + "src": "29953:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12988,7 +12988,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29136:23:1", + "src": "29940:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13001,18 +13001,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1537, + "id": 1029, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1535, + "id": 1027, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29162:13:1", + "referencedDeclaration": 994, + "src": "29966:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13022,35 +13022,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 1536, + "id": 1028, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29178:1:1", + "src": "29982:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "29162:17:1", + "src": "29966:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "29136:43:1", + "src": "29940:43:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1539, + "id": 1031, "nodeType": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "expression": { @@ -13059,45 +13059,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 1540, + "id": 1032, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29285:3:1", + "referencedDeclaration": 976, + "src": "30092:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1543, + "id": 1035, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29285:11:1", + "referencedDeclaration": 927, + "src": "30092:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1544, + "id": 1036, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "29285:15:1", + "src": "30092:15:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 1545, + "id": 1037, "isConstant": false, "isLValue": false, "isPure": false, @@ -13105,20 +13105,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "29285:17:1", + "src": "30092:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1546, + "id": 1038, "nodeType": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "expression": { - "id": 1551, + "id": 1043, "isConstant": false, "isLValue": false, "isPure": false, @@ -13126,43 +13126,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "29370:26:1", + "src": "30180:26:0", "subExpression": { "baseExpression": { "expression": { - "id": 1547, + "id": 1039, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29377:3:1", + "referencedDeclaration": 976, + "src": "30187:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1548, + "id": 1040, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29377:12:1", + "referencedDeclaration": 931, + "src": "30187:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1550, + "id": 1042, "indexExpression": { - "id": 1549, + "id": 1041, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "29390:5:1", + "referencedDeclaration": 978, + "src": "30200:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13173,7 +13173,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29377:19:1", + "src": "30187:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13184,31 +13184,31 @@ "typeString": "tuple()" } }, - "id": 1552, + "id": 1044, "nodeType": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "expression": { "hexValue": "74727565", - "id": 1553, + "id": 1045, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29418:4:1", + "src": "30230:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1490, - "id": 1554, + "functionReturnParameters": 982, + "id": 1046, "nodeType": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ] } @@ -13216,43 +13216,43 @@ ] }, "documentation": { - "id": 1482, + "id": 974, "nodeType": "StructuredDocumentation", - "src": "27808:157:1", + "src": "28586:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1561, + "id": 1053, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1487, + "id": 979, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1484, + "id": 976, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "27987:15:1", + "scope": 1053, + "src": "28771:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1483, + "id": 975, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27987:3:1", + "referencedDeclaration": 932, + "src": "28771:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13260,12 +13260,12 @@ }, { "constant": false, - "id": 1486, + "id": 978, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28004:13:1", + "scope": 1053, + "src": "28788:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13273,10 +13273,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1485, + "id": 977, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28004:7:1", + "src": "28788:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13285,20 +13285,20 @@ "visibility": "internal" } ], - "src": "27986:32:1" + "src": "28770:32:0" }, "returnParameters": { - "id": 1490, + "id": 982, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1489, + "id": 981, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28036:4:1", + "scope": 1053, + "src": "28820:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13306,10 +13306,10 @@ "typeString": "bool" }, "typeName": { - "id": 1488, + "id": 980, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "28036:4:1", + "src": "28820:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13318,19 +13318,19 @@ "visibility": "internal" } ], - "src": "28035:6:1" + "src": "28819:6:0" }, - "scope": 1921, - "src": "27970:1512:1", + "scope": 1413, + "src": "28754:1544:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1578, + "id": 1070, "nodeType": "Block", - "src": "29642:48:1", + "src": "30463:50:0", "statements": [ { "expression": { @@ -13338,7 +13338,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1576, + "id": 1068, "isConstant": false, "isLValue": false, "isPure": false, @@ -13346,39 +13346,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 1571, + "id": 1063, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1564, - "src": "29659:3:1", + "referencedDeclaration": 1056, + "src": "30481:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1572, + "id": 1064, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29659:12:1", + "referencedDeclaration": 931, + "src": "30481:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1574, + "id": 1066, "indexExpression": { - "id": 1573, + "id": 1065, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1566, - "src": "29672:5:1", + "referencedDeclaration": 1058, + "src": "30494:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13389,7 +13389,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "29659:19:1", + "src": "30481:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13399,71 +13399,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1575, + "id": 1067, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29682:1:1", + "src": "30504:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "29659:24:1", + "src": "30481:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1570, - "id": 1577, + "functionReturnParameters": 1062, + "id": 1069, "nodeType": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ] }, "documentation": { - "id": 1562, + "id": 1054, "nodeType": "StructuredDocumentation", - "src": "29488:70:1", + "src": "30306:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1579, + "id": 1071, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1567, + "id": 1059, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1564, + "id": 1056, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29582:15:1", + "scope": 1071, + "src": "30403:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1563, + "id": 1055, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29582:3:1", + "referencedDeclaration": 932, + "src": "30403:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13471,12 +13471,12 @@ }, { "constant": false, - "id": 1566, + "id": 1058, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29599:13:1", + "scope": 1071, + "src": "30420:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13484,10 +13484,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1565, + "id": 1057, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "29599:7:1", + "src": "30420:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13496,20 +13496,20 @@ "visibility": "internal" } ], - "src": "29581:32:1" + "src": "30402:32:0" }, "returnParameters": { - "id": 1570, + "id": 1062, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1569, + "id": 1061, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29636:4:1", + "scope": 1071, + "src": "30457:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13517,10 +13517,10 @@ "typeString": "bool" }, "typeName": { - "id": 1568, + "id": 1060, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "29636:4:1", + "src": "30457:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13529,127 +13529,127 @@ "visibility": "internal" } ], - "src": "29635:6:1" + "src": "30456:6:0" }, - "scope": 1921, - "src": "29563:127:1", + "scope": 1413, + "src": "30384:129:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1591, + "id": 1083, "nodeType": "Block", - "src": "29836:42:1", + "src": "30664:44:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 1587, + "id": 1079, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1582, - "src": "29853:3:1", + "referencedDeclaration": 1074, + "src": "30682:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1588, + "id": 1080, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29853:11:1", + "referencedDeclaration": 927, + "src": "30682:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1589, + "id": 1081, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "29853:18:1", + "src": "30682:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1586, - "id": 1590, + "functionReturnParameters": 1078, + "id": 1082, "nodeType": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ] }, "documentation": { - "id": 1580, + "id": 1072, "nodeType": "StructuredDocumentation", - "src": "29696:70:1", + "src": "30521:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1592, + "id": 1084, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1583, + "id": 1075, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1582, + "id": 1074, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29788:15:1", + "scope": 1084, + "src": "30616:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1581, + "id": 1073, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29788:3:1", + "referencedDeclaration": 932, + "src": "30616:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, "visibility": "internal" } ], - "src": "29787:17:1" + "src": "30615:17:0" }, "returnParameters": { - "id": 1586, + "id": 1078, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1585, + "id": 1077, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29827:7:1", + "scope": 1084, + "src": "30655:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13657,10 +13657,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1584, + "id": 1076, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "29827:7:1", + "src": "30655:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13669,19 +13669,19 @@ "visibility": "internal" } ], - "src": "29826:9:1" + "src": "30654:9:0" }, - "scope": 1921, - "src": "29771:107:1", + "scope": 1413, + "src": "30599:109:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1616, + "id": 1108, "nodeType": "Block", - "src": "30286:125:1", + "src": "31128:128:0", "statements": [ { "expression": { @@ -13691,7 +13691,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1607, + "id": 1099, "isConstant": false, "isLValue": false, "isPure": false, @@ -13699,39 +13699,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1603, + "id": 1095, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30304:3:1", + "referencedDeclaration": 1087, + "src": "31147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1604, + "id": 1096, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30304:11:1", + "referencedDeclaration": 927, + "src": "31147:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1605, + "id": 1097, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "30304:18:1", + "src": "31147:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13740,18 +13740,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 1606, + "id": 1098, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30325:5:1", + "referencedDeclaration": 1089, + "src": "31168:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "30304:26:1", + "src": "31147:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13759,14 +13759,14 @@ }, { "hexValue": "456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473", - "id": 1608, + "id": 1100, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "30332:36:1", + "src": "31175:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_045d6834e6193a687012a3ad777f612279e549b6945364d9d2324f48610d3cbb", "typeString": "literal_string \"EnumerableSet: index out of bounds\"" @@ -13785,7 +13785,7 @@ "typeString": "literal_string \"EnumerableSet: index out of bounds\"" } ], - "id": 1602, + "id": 1094, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -13793,13 +13793,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "30296:7:1", + "src": "31139:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1609, + "id": 1101, "isConstant": false, "isLValue": false, "isPure": false, @@ -13807,54 +13807,54 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30296:73:1", + "src": "31139:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1610, + "id": 1102, "nodeType": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "expression": { "baseExpression": { "expression": { - "id": 1611, + "id": 1103, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30386:3:1", + "referencedDeclaration": 1087, + "src": "31230:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1612, + "id": 1104, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30386:11:1", + "referencedDeclaration": 927, + "src": "31230:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1614, + "id": 1106, "indexExpression": { - "id": 1613, + "id": 1105, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30398:5:1", + "referencedDeclaration": 1089, + "src": "31242:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13865,57 +13865,57 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "30386:18:1", + "src": "31230:18:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1601, - "id": 1615, + "functionReturnParameters": 1093, + "id": 1107, "nodeType": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ] }, "documentation": { - "id": 1593, + "id": 1085, "nodeType": "StructuredDocumentation", - "src": "29883:322:1", + "src": "30715:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1617, + "id": 1109, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1598, + "id": 1090, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1595, + "id": 1087, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30223:15:1", + "scope": 1109, + "src": "31065:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1594, + "id": 1086, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30223:3:1", + "referencedDeclaration": 932, + "src": "31065:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13923,12 +13923,12 @@ }, { "constant": false, - "id": 1597, + "id": 1089, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30240:13:1", + "scope": 1109, + "src": "31082:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13936,10 +13936,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1596, + "id": 1088, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "30240:7:1", + "src": "31082:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13948,20 +13948,20 @@ "visibility": "internal" } ], - "src": "30222:32:1" + "src": "31064:32:0" }, "returnParameters": { - "id": 1601, + "id": 1093, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1600, + "id": 1092, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30277:7:1", + "scope": 1109, + "src": "31119:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13969,10 +13969,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1599, + "id": 1091, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30277:7:1", + "src": "31119:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13981,40 +13981,40 @@ "visibility": "internal" } ], - "src": "30276:9:1" + "src": "31118:9:0" }, - "scope": 1921, - "src": "30210:201:1", + "scope": 1413, + "src": "31052:204:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableSet.Bytes32Set", - "id": 1620, + "id": 1112, "members": [ { "constant": false, - "id": 1619, + "id": 1111, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1620, - "src": "30464:10:1", + "scope": 1112, + "src": "31314:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1618, + "id": 1110, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30464:3:1", + "referencedDeclaration": 932, + "src": "31314:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -14023,53 +14023,53 @@ ], "name": "Bytes32Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "30436:45:1", + "scope": 1413, + "src": "31285:47:0", "visibility": "public" }, { "body": { - "id": 1636, + "id": 1128, "nodeType": "Block", - "src": "30727:47:1", + "src": "31586:49:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1631, + "id": 1123, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1623, - "src": "30749:3:1", + "referencedDeclaration": 1115, + "src": "31609:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1632, + "id": 1124, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "30749:10:1", + "referencedDeclaration": 1111, + "src": "31609:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1633, + "id": 1125, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "30761:5:1", + "referencedDeclaration": 1117, + "src": "31621:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14079,7 +14079,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14087,18 +14087,18 @@ "typeString": "bytes32" } ], - "id": 1630, + "id": 1122, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "30744:4:1", + "referencedDeclaration": 973, + "src": "31604:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1634, + "id": 1126, "isConstant": false, "isLValue": false, "isPure": false, @@ -14106,58 +14106,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30744:23:1", + "src": "31604:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1629, - "id": 1635, + "functionReturnParameters": 1121, + "id": 1127, "nodeType": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ] }, "documentation": { - "id": 1621, + "id": 1113, "nodeType": "StructuredDocumentation", - "src": "30487:159:1", + "src": "31340:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1637, + "id": 1129, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1626, + "id": 1118, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1623, + "id": 1115, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30664:22:1", + "scope": 1129, + "src": "31523:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1622, + "id": 1114, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30664:10:1", + "referencedDeclaration": 1112, + "src": "31523:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14165,12 +14165,12 @@ }, { "constant": false, - "id": 1625, + "id": 1117, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30688:13:1", + "scope": 1129, + "src": "31547:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14178,10 +14178,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1624, + "id": 1116, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30688:7:1", + "src": "31547:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14190,20 +14190,20 @@ "visibility": "internal" } ], - "src": "30663:39:1" + "src": "31522:39:0" }, "returnParameters": { - "id": 1629, + "id": 1121, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1628, + "id": 1120, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30721:4:1", + "scope": 1129, + "src": "31580:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14211,10 +14211,10 @@ "typeString": "bool" }, "typeName": { - "id": 1627, + "id": 1119, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "30721:4:1", + "src": "31580:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14223,57 +14223,57 @@ "visibility": "internal" } ], - "src": "30720:6:1" + "src": "31579:6:0" }, - "scope": 1921, - "src": "30651:123:1", + "scope": 1413, + "src": "31510:125:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1653, + "id": 1145, "nodeType": "Block", - "src": "31021:50:1", + "src": "31890:52:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1648, + "id": 1140, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1640, - "src": "31046:3:1", + "referencedDeclaration": 1132, + "src": "31916:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1649, + "id": 1141, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31046:10:1", + "referencedDeclaration": 1111, + "src": "31916:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1650, + "id": 1142, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1642, - "src": "31058:5:1", + "referencedDeclaration": 1134, + "src": "31928:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14283,7 +14283,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14291,18 +14291,18 @@ "typeString": "bytes32" } ], - "id": 1647, + "id": 1139, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "31038:7:1", + "referencedDeclaration": 1053, + "src": "31908:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1651, + "id": 1143, "isConstant": false, "isLValue": false, "isPure": false, @@ -14310,58 +14310,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31038:26:1", + "src": "31908:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1646, - "id": 1652, + "functionReturnParameters": 1138, + "id": 1144, "nodeType": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ] }, "documentation": { - "id": 1638, + "id": 1130, "nodeType": "StructuredDocumentation", - "src": "30780:157:1", + "src": "31643:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1654, + "id": 1146, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1643, + "id": 1135, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1640, + "id": 1132, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30958:22:1", + "scope": 1146, + "src": "31827:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1639, + "id": 1131, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30958:10:1", + "referencedDeclaration": 1112, + "src": "31827:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14369,12 +14369,12 @@ }, { "constant": false, - "id": 1642, + "id": 1134, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30982:13:1", + "scope": 1146, + "src": "31851:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14382,10 +14382,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1641, + "id": 1133, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30982:7:1", + "src": "31851:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14394,20 +14394,20 @@ "visibility": "internal" } ], - "src": "30957:39:1" + "src": "31826:39:0" }, "returnParameters": { - "id": 1646, + "id": 1138, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1645, + "id": 1137, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "31015:4:1", + "scope": 1146, + "src": "31884:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14415,10 +14415,10 @@ "typeString": "bool" }, "typeName": { - "id": 1644, + "id": 1136, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31015:4:1", + "src": "31884:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14427,57 +14427,57 @@ "visibility": "internal" } ], - "src": "31014:6:1" + "src": "31883:6:0" }, - "scope": 1921, - "src": "30942:129:1", + "scope": 1413, + "src": "31811:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1670, + "id": 1162, "nodeType": "Block", - "src": "31238:52:1", + "src": "32114:54:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1665, + "id": 1157, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "31265:3:1", + "referencedDeclaration": 1149, + "src": "32142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1666, + "id": 1158, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31265:10:1", + "referencedDeclaration": 1111, + "src": "32142:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1667, + "id": 1159, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1659, - "src": "31277:5:1", + "referencedDeclaration": 1151, + "src": "32154:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14487,7 +14487,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14495,18 +14495,18 @@ "typeString": "bytes32" } ], - "id": 1664, + "id": 1156, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "31255:9:1", + "referencedDeclaration": 1071, + "src": "32132:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1668, + "id": 1160, "isConstant": false, "isLValue": false, "isPure": false, @@ -14514,58 +14514,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31255:28:1", + "src": "32132:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1663, - "id": 1669, + "functionReturnParameters": 1155, + "id": 1161, "nodeType": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ] }, "documentation": { - "id": 1655, + "id": 1147, "nodeType": "StructuredDocumentation", - "src": "31077:70:1", + "src": "31950:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1671, + "id": 1163, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1660, + "id": 1152, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1657, + "id": 1149, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31170:22:1", + "scope": 1163, + "src": "32046:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1656, + "id": 1148, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31170:10:1", + "referencedDeclaration": 1112, + "src": "32046:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14573,12 +14573,12 @@ }, { "constant": false, - "id": 1659, + "id": 1151, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31194:13:1", + "scope": 1163, + "src": "32070:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14586,10 +14586,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1658, + "id": 1150, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31194:7:1", + "src": "32070:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14598,20 +14598,20 @@ "visibility": "internal" } ], - "src": "31169:39:1" + "src": "32045:39:0" }, "returnParameters": { - "id": 1663, + "id": 1155, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1662, + "id": 1154, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31232:4:1", + "scope": 1163, + "src": "32108:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14619,10 +14619,10 @@ "typeString": "bool" }, "typeName": { - "id": 1661, + "id": 1153, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31232:4:1", + "src": "32108:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14631,47 +14631,47 @@ "visibility": "internal" } ], - "src": "31231:6:1" + "src": "32107:6:0" }, - "scope": 1921, - "src": "31152:138:1", + "scope": 1413, + "src": "32028:140:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1684, + "id": 1176, "nodeType": "Block", - "src": "31443:43:1", + "src": "32326:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1680, + "id": 1172, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "31468:3:1", + "referencedDeclaration": 1166, + "src": "32352:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1681, + "id": 1173, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31468:10:1", + "referencedDeclaration": 1111, + "src": "32352:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -14679,22 +14679,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1679, + "id": 1171, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "31460:7:1", + "referencedDeclaration": 1084, + "src": "32344:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1682, + "id": 1174, "isConstant": false, "isLValue": false, "isPure": false, @@ -14702,78 +14702,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31460:19:1", + "src": "32344:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1678, - "id": 1683, + "functionReturnParameters": 1170, + "id": 1175, "nodeType": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ] }, "documentation": { - "id": 1672, + "id": 1164, "nodeType": "StructuredDocumentation", - "src": "31296:70:1", + "src": "32176:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1685, + "id": 1177, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1675, + "id": 1167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1674, + "id": 1166, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31387:22:1", + "scope": 1177, + "src": "32270:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1673, + "id": 1165, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31387:10:1", + "referencedDeclaration": 1112, + "src": "32270:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, "visibility": "internal" } ], - "src": "31386:24:1" + "src": "32269:24:0" }, "returnParameters": { - "id": 1678, + "id": 1170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1677, + "id": 1169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31434:7:1", + "scope": 1177, + "src": "32317:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14781,10 +14781,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1676, + "id": 1168, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31434:7:1", + "src": "32317:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14793,57 +14793,57 @@ "visibility": "internal" } ], - "src": "31433:9:1" + "src": "32316:9:0" }, - "scope": 1921, - "src": "31371:115:1", + "scope": 1413, + "src": "32254:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1701, + "id": 1193, "nodeType": "Block", - "src": "31901:46:1", + "src": "32798:48:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1696, + "id": 1188, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1688, - "src": "31922:3:1", + "referencedDeclaration": 1180, + "src": "32820:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1697, + "id": 1189, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31922:10:1", + "referencedDeclaration": 1111, + "src": "32820:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1698, + "id": 1190, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "31934:5:1", + "referencedDeclaration": 1182, + "src": "32832:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14853,7 +14853,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14861,18 +14861,18 @@ "typeString": "uint256" } ], - "id": 1695, + "id": 1187, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "31918:3:1", + "referencedDeclaration": 1109, + "src": "32816:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1699, + "id": 1191, "isConstant": false, "isLValue": false, "isPure": false, @@ -14880,58 +14880,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31918:22:1", + "src": "32816:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1694, - "id": 1700, + "functionReturnParameters": 1186, + "id": 1192, "nodeType": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ] }, "documentation": { - "id": 1686, + "id": 1178, "nodeType": "StructuredDocumentation", - "src": "31491:322:1", + "src": "32378:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1702, + "id": 1194, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1691, + "id": 1183, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1688, + "id": 1180, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31830:22:1", + "scope": 1194, + "src": "32727:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1687, + "id": 1179, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31830:10:1", + "referencedDeclaration": 1112, + "src": "32727:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14939,12 +14939,12 @@ }, { "constant": false, - "id": 1690, + "id": 1182, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31854:13:1", + "scope": 1194, + "src": "32751:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14952,10 +14952,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1689, + "id": 1181, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31854:7:1", + "src": "32751:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14964,20 +14964,20 @@ "visibility": "internal" } ], - "src": "31829:39:1" + "src": "32726:39:0" }, "returnParameters": { - "id": 1694, + "id": 1186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1693, + "id": 1185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31892:7:1", + "scope": 1194, + "src": "32789:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14985,10 +14985,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1692, + "id": 1184, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31892:7:1", + "src": "32789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14997,40 +14997,40 @@ "visibility": "internal" } ], - "src": "31891:9:1" + "src": "32788:9:0" }, - "scope": 1921, - "src": "31818:129:1", + "scope": 1413, + "src": "32715:131:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.AddressSet", - "id": 1705, + "id": 1197, "members": [ { "constant": false, - "id": 1704, + "id": 1196, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1705, - "src": "32000:10:1", + "scope": 1197, + "src": "32904:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1703, + "id": 1195, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "32000:3:1", + "referencedDeclaration": 932, + "src": "32904:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -15039,43 +15039,43 @@ ], "name": "AddressSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "31972:45:1", + "scope": 1413, + "src": "32875:47:0", "visibility": "public" }, { "body": { - "id": 1730, + "id": 1222, "nodeType": "Block", - "src": "32263:74:1", + "src": "33176:76:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1716, + "id": 1208, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1708, - "src": "32285:3:1", + "referencedDeclaration": 1200, + "src": "33199:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1717, + "id": 1209, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32285:10:1", + "referencedDeclaration": 1196, + "src": "33199:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15086,12 +15086,12 @@ { "arguments": [ { - "id": 1724, + "id": 1216, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1710, - "src": "32321:5:1", + "referencedDeclaration": 1202, + "src": "33235:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15105,26 +15105,26 @@ "typeString": "address" } ], - "id": 1723, + "id": 1215, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1722, + "id": 1214, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": {} } }, - "id": 1725, + "id": 1217, "isConstant": false, "isLValue": false, "isPure": false, @@ -15132,7 +15132,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32313:14:1", + "src": "33227:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15147,26 +15147,26 @@ "typeString": "uint160" } ], - "id": 1721, + "id": 1213, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1720, + "id": 1212, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": {} } }, - "id": 1726, + "id": 1218, "isConstant": false, "isLValue": false, "isPure": false, @@ -15174,7 +15174,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32305:23:1", + "src": "33219:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15189,26 +15189,26 @@ "typeString": "uint256" } ], - "id": 1719, + "id": 1211, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1718, + "id": 1210, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": {} } }, - "id": 1727, + "id": 1219, "isConstant": false, "isLValue": false, "isPure": false, @@ -15216,7 +15216,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32297:32:1", + "src": "33211:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15227,7 +15227,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15235,18 +15235,18 @@ "typeString": "bytes32" } ], - "id": 1715, + "id": 1207, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "32280:4:1", + "referencedDeclaration": 973, + "src": "33194:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1728, + "id": 1220, "isConstant": false, "isLValue": false, "isPure": false, @@ -15254,58 +15254,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32280:50:1", + "src": "33194:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1714, - "id": 1729, + "functionReturnParameters": 1206, + "id": 1221, "nodeType": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ] }, "documentation": { - "id": 1706, + "id": 1198, "nodeType": "StructuredDocumentation", - "src": "32023:159:1", + "src": "32930:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1731, + "id": 1223, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1711, + "id": 1203, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1708, + "id": 1200, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32200:22:1", + "scope": 1223, + "src": "33113:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1707, + "id": 1199, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32200:10:1", + "referencedDeclaration": 1197, + "src": "33113:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15313,12 +15313,12 @@ }, { "constant": false, - "id": 1710, + "id": 1202, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32224:13:1", + "scope": 1223, + "src": "33137:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15326,10 +15326,10 @@ "typeString": "address" }, "typeName": { - "id": 1709, + "id": 1201, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32224:7:1", + "src": "33137:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15339,20 +15339,20 @@ "visibility": "internal" } ], - "src": "32199:39:1" + "src": "33112:39:0" }, "returnParameters": { - "id": 1714, + "id": 1206, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1713, + "id": 1205, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32257:4:1", + "scope": 1223, + "src": "33170:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15360,10 +15360,10 @@ "typeString": "bool" }, "typeName": { - "id": 1712, + "id": 1204, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32257:4:1", + "src": "33170:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15372,47 +15372,47 @@ "visibility": "internal" } ], - "src": "32256:6:1" + "src": "33169:6:0" }, - "scope": 1921, - "src": "32187:150:1", + "scope": 1413, + "src": "33100:152:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1756, + "id": 1248, "nodeType": "Block", - "src": "32584:77:1", + "src": "33507:79:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1742, + "id": 1234, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1734, - "src": "32609:3:1", + "referencedDeclaration": 1226, + "src": "33533:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1743, + "id": 1235, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32609:10:1", + "referencedDeclaration": 1196, + "src": "33533:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15423,12 +15423,12 @@ { "arguments": [ { - "id": 1750, + "id": 1242, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1736, - "src": "32645:5:1", + "referencedDeclaration": 1228, + "src": "33569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15442,26 +15442,26 @@ "typeString": "address" } ], - "id": 1749, + "id": 1241, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1748, + "id": 1240, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": {} } }, - "id": 1751, + "id": 1243, "isConstant": false, "isLValue": false, "isPure": false, @@ -15469,7 +15469,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32637:14:1", + "src": "33561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15484,26 +15484,26 @@ "typeString": "uint160" } ], - "id": 1747, + "id": 1239, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1746, + "id": 1238, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": {} } }, - "id": 1752, + "id": 1244, "isConstant": false, "isLValue": false, "isPure": false, @@ -15511,7 +15511,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32629:23:1", + "src": "33553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15526,26 +15526,26 @@ "typeString": "uint256" } ], - "id": 1745, + "id": 1237, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1744, + "id": 1236, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": {} } }, - "id": 1753, + "id": 1245, "isConstant": false, "isLValue": false, "isPure": false, @@ -15553,7 +15553,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32621:32:1", + "src": "33545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15564,7 +15564,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15572,18 +15572,18 @@ "typeString": "bytes32" } ], - "id": 1741, + "id": 1233, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "32601:7:1", + "referencedDeclaration": 1053, + "src": "33525:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1754, + "id": 1246, "isConstant": false, "isLValue": false, "isPure": false, @@ -15591,58 +15591,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32601:53:1", + "src": "33525:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1740, - "id": 1755, + "functionReturnParameters": 1232, + "id": 1247, "nodeType": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ] }, "documentation": { - "id": 1732, + "id": 1224, "nodeType": "StructuredDocumentation", - "src": "32343:157:1", + "src": "33260:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1757, + "id": 1249, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1737, + "id": 1229, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1734, + "id": 1226, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32521:22:1", + "scope": 1249, + "src": "33444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1733, + "id": 1225, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32521:10:1", + "referencedDeclaration": 1197, + "src": "33444:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15650,12 +15650,12 @@ }, { "constant": false, - "id": 1736, + "id": 1228, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32545:13:1", + "scope": 1249, + "src": "33468:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15663,10 +15663,10 @@ "typeString": "address" }, "typeName": { - "id": 1735, + "id": 1227, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32545:7:1", + "src": "33468:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15676,20 +15676,20 @@ "visibility": "internal" } ], - "src": "32520:39:1" + "src": "33443:39:0" }, "returnParameters": { - "id": 1740, + "id": 1232, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1739, + "id": 1231, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32578:4:1", + "scope": 1249, + "src": "33501:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15697,10 +15697,10 @@ "typeString": "bool" }, "typeName": { - "id": 1738, + "id": 1230, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32578:4:1", + "src": "33501:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15709,47 +15709,47 @@ "visibility": "internal" } ], - "src": "32577:6:1" + "src": "33500:6:0" }, - "scope": 1921, - "src": "32505:156:1", + "scope": 1413, + "src": "33428:158:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1782, + "id": 1274, "nodeType": "Block", - "src": "32828:79:1", + "src": "33758:81:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1768, + "id": 1260, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1760, - "src": "32855:3:1", + "referencedDeclaration": 1252, + "src": "33786:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1769, + "id": 1261, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32855:10:1", + "referencedDeclaration": 1196, + "src": "33786:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15760,12 +15760,12 @@ { "arguments": [ { - "id": 1776, + "id": 1268, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1762, - "src": "32891:5:1", + "referencedDeclaration": 1254, + "src": "33822:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15779,26 +15779,26 @@ "typeString": "address" } ], - "id": 1775, + "id": 1267, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1774, + "id": 1266, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": {} } }, - "id": 1777, + "id": 1269, "isConstant": false, "isLValue": false, "isPure": false, @@ -15806,7 +15806,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32883:14:1", + "src": "33814:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15821,26 +15821,26 @@ "typeString": "uint160" } ], - "id": 1773, + "id": 1265, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1772, + "id": 1264, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": {} } }, - "id": 1778, + "id": 1270, "isConstant": false, "isLValue": false, "isPure": false, @@ -15848,7 +15848,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32875:23:1", + "src": "33806:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15863,26 +15863,26 @@ "typeString": "uint256" } ], - "id": 1771, + "id": 1263, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1770, + "id": 1262, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": {} } }, - "id": 1779, + "id": 1271, "isConstant": false, "isLValue": false, "isPure": false, @@ -15890,7 +15890,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32867:32:1", + "src": "33798:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15901,7 +15901,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15909,18 +15909,18 @@ "typeString": "bytes32" } ], - "id": 1767, + "id": 1259, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "32845:9:1", + "referencedDeclaration": 1071, + "src": "33776:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1780, + "id": 1272, "isConstant": false, "isLValue": false, "isPure": false, @@ -15928,58 +15928,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32845:55:1", + "src": "33776:55:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1766, - "id": 1781, + "functionReturnParameters": 1258, + "id": 1273, "nodeType": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ] }, "documentation": { - "id": 1758, + "id": 1250, "nodeType": "StructuredDocumentation", - "src": "32667:70:1", + "src": "33594:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1783, + "id": 1275, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1763, + "id": 1255, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1760, + "id": 1252, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32760:22:1", + "scope": 1275, + "src": "33690:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1759, + "id": 1251, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32760:10:1", + "referencedDeclaration": 1197, + "src": "33690:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15987,12 +15987,12 @@ }, { "constant": false, - "id": 1762, + "id": 1254, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32784:13:1", + "scope": 1275, + "src": "33714:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16000,10 +16000,10 @@ "typeString": "address" }, "typeName": { - "id": 1761, + "id": 1253, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32784:7:1", + "src": "33714:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16013,20 +16013,20 @@ "visibility": "internal" } ], - "src": "32759:39:1" + "src": "33689:39:0" }, "returnParameters": { - "id": 1766, + "id": 1258, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1765, + "id": 1257, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32822:4:1", + "scope": 1275, + "src": "33752:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16034,10 +16034,10 @@ "typeString": "bool" }, "typeName": { - "id": 1764, + "id": 1256, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32822:4:1", + "src": "33752:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16046,47 +16046,47 @@ "visibility": "internal" } ], - "src": "32821:6:1" + "src": "33751:6:0" }, - "scope": 1921, - "src": "32742:165:1", + "scope": 1413, + "src": "33672:167:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1796, + "id": 1288, "nodeType": "Block", - "src": "33060:43:1", + "src": "33997:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1792, + "id": 1284, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1786, - "src": "33085:3:1", + "referencedDeclaration": 1278, + "src": "34023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1793, + "id": 1285, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33085:10:1", + "referencedDeclaration": 1196, + "src": "34023:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -16094,22 +16094,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1791, + "id": 1283, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "33077:7:1", + "referencedDeclaration": 1084, + "src": "34015:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1794, + "id": 1286, "isConstant": false, "isLValue": false, "isPure": false, @@ -16117,78 +16117,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33077:19:1", + "src": "34015:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1790, - "id": 1795, + "functionReturnParameters": 1282, + "id": 1287, "nodeType": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ] }, "documentation": { - "id": 1784, + "id": 1276, "nodeType": "StructuredDocumentation", - "src": "32913:70:1", + "src": "33847:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1797, + "id": 1289, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1787, + "id": 1279, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1786, + "id": 1278, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33004:22:1", + "scope": 1289, + "src": "33941:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1785, + "id": 1277, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33004:10:1", + "referencedDeclaration": 1197, + "src": "33941:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, "visibility": "internal" } ], - "src": "33003:24:1" + "src": "33940:24:0" }, "returnParameters": { - "id": 1790, + "id": 1282, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1789, + "id": 1281, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33051:7:1", + "scope": 1289, + "src": "33988:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16196,10 +16196,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1788, + "id": 1280, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33051:7:1", + "src": "33988:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16208,19 +16208,19 @@ "visibility": "internal" } ], - "src": "33050:9:1" + "src": "33987:9:0" }, - "scope": 1921, - "src": "32988:115:1", + "scope": 1413, + "src": "33925:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1822, + "id": 1314, "nodeType": "Block", - "src": "33518:73:1", + "src": "34469:75:0", "statements": [ { "expression": { @@ -16233,38 +16233,38 @@ "arguments": [ { "expression": { - "id": 1814, + "id": 1306, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1800, - "src": "33563:3:1", + "referencedDeclaration": 1292, + "src": "34515:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1815, + "id": 1307, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33563:10:1", + "referencedDeclaration": 1196, + "src": "34515:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1816, + "id": 1308, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1802, - "src": "33575:5:1", + "referencedDeclaration": 1294, + "src": "34527:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16274,7 +16274,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16282,18 +16282,18 @@ "typeString": "uint256" } ], - "id": 1813, + "id": 1305, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "33559:3:1", + "referencedDeclaration": 1109, + "src": "34511:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1817, + "id": 1309, "isConstant": false, "isLValue": false, "isPure": false, @@ -16301,7 +16301,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33559:22:1", + "src": "34511:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16316,26 +16316,26 @@ "typeString": "bytes32" } ], - "id": 1812, + "id": 1304, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1811, + "id": 1303, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": {} } }, - "id": 1818, + "id": 1310, "isConstant": false, "isLValue": false, "isPure": false, @@ -16343,7 +16343,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33551:31:1", + "src": "34503:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -16358,26 +16358,26 @@ "typeString": "uint256" } ], - "id": 1810, + "id": 1302, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1809, + "id": 1301, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": {} } }, - "id": 1819, + "id": 1311, "isConstant": false, "isLValue": false, "isPure": false, @@ -16385,7 +16385,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33543:40:1", + "src": "34495:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -16400,26 +16400,26 @@ "typeString": "uint160" } ], - "id": 1808, + "id": 1300, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1807, + "id": 1299, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": {} } }, - "id": 1820, + "id": 1312, "isConstant": false, "isLValue": false, "isPure": false, @@ -16427,58 +16427,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33535:49:1", + "src": "34487:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 1806, - "id": 1821, + "functionReturnParameters": 1298, + "id": 1313, "nodeType": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ] }, "documentation": { - "id": 1798, + "id": 1290, "nodeType": "StructuredDocumentation", - "src": "33108:322:1", + "src": "34049:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1823, + "id": 1315, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1803, + "id": 1295, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1800, + "id": 1292, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33447:22:1", + "scope": 1315, + "src": "34398:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1799, + "id": 1291, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33447:10:1", + "referencedDeclaration": 1197, + "src": "34398:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -16486,12 +16486,12 @@ }, { "constant": false, - "id": 1802, + "id": 1294, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33471:13:1", + "scope": 1315, + "src": "34422:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16499,10 +16499,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1801, + "id": 1293, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33471:7:1", + "src": "34422:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16511,20 +16511,20 @@ "visibility": "internal" } ], - "src": "33446:39:1" + "src": "34397:39:0" }, "returnParameters": { - "id": 1806, + "id": 1298, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1805, + "id": 1297, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33509:7:1", + "scope": 1315, + "src": "34460:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16532,10 +16532,10 @@ "typeString": "address" }, "typeName": { - "id": 1804, + "id": 1296, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33509:7:1", + "src": "34460:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16545,40 +16545,40 @@ "visibility": "internal" } ], - "src": "33508:9:1" + "src": "34459:9:0" }, - "scope": 1921, - "src": "33435:156:1", + "scope": 1413, + "src": "34386:158:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.UintSet", - "id": 1826, + "id": 1318, "members": [ { "constant": false, - "id": 1825, + "id": 1317, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1826, - "src": "33639:10:1", + "scope": 1318, + "src": "34598:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1824, + "id": 1316, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "33639:3:1", + "referencedDeclaration": 932, + "src": "34598:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -16587,55 +16587,55 @@ ], "name": "UintSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "33614:42:1", + "scope": 1413, + "src": "34572:44:0", "visibility": "public" }, { "body": { - "id": 1845, + "id": 1337, "nodeType": "Block", - "src": "33899:56:1", + "src": "34867:58:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1837, + "id": 1329, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1829, - "src": "33921:3:1", + "referencedDeclaration": 1321, + "src": "34890:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1838, + "id": 1330, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "33921:10:1", + "referencedDeclaration": 1317, + "src": "34890:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1841, + "id": 1333, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1831, - "src": "33941:5:1", + "referencedDeclaration": 1323, + "src": "34910:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16649,26 +16649,26 @@ "typeString": "uint256" } ], - "id": 1840, + "id": 1332, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1839, + "id": 1331, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": {} } }, - "id": 1842, + "id": 1334, "isConstant": false, "isLValue": false, "isPure": false, @@ -16676,7 +16676,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33933:14:1", + "src": "34902:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16687,7 +16687,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16695,18 +16695,18 @@ "typeString": "bytes32" } ], - "id": 1836, + "id": 1328, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "33916:4:1", + "referencedDeclaration": 973, + "src": "34885:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1843, + "id": 1335, "isConstant": false, "isLValue": false, "isPure": false, @@ -16714,58 +16714,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33916:32:1", + "src": "34885:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1835, - "id": 1844, + "functionReturnParameters": 1327, + "id": 1336, "nodeType": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ] }, "documentation": { - "id": 1827, + "id": 1319, "nodeType": "StructuredDocumentation", - "src": "33662:159:1", + "src": "34624:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1846, + "id": 1338, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1832, + "id": 1324, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1829, + "id": 1321, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33839:19:1", + "scope": 1338, + "src": "34807:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1828, + "id": 1320, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "33839:7:1", + "referencedDeclaration": 1318, + "src": "34807:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16773,12 +16773,12 @@ }, { "constant": false, - "id": 1831, + "id": 1323, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33860:13:1", + "scope": 1338, + "src": "34828:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16786,10 +16786,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1830, + "id": 1322, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33860:7:1", + "src": "34828:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16798,20 +16798,20 @@ "visibility": "internal" } ], - "src": "33838:36:1" + "src": "34806:36:0" }, "returnParameters": { - "id": 1835, + "id": 1327, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1834, + "id": 1326, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33893:4:1", + "scope": 1338, + "src": "34861:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16819,10 +16819,10 @@ "typeString": "bool" }, "typeName": { - "id": 1833, + "id": 1325, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "33893:4:1", + "src": "34861:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16831,59 +16831,59 @@ "visibility": "internal" } ], - "src": "33892:6:1" + "src": "34860:6:0" }, - "scope": 1921, - "src": "33826:129:1", + "scope": 1413, + "src": "34794:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1865, + "id": 1357, "nodeType": "Block", - "src": "34199:59:1", + "src": "35177:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1857, + "id": 1349, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1849, - "src": "34224:3:1", + "referencedDeclaration": 1341, + "src": "35203:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1858, + "id": 1350, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34224:10:1", + "referencedDeclaration": 1317, + "src": "35203:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1861, + "id": 1353, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1851, - "src": "34244:5:1", + "referencedDeclaration": 1343, + "src": "35223:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16897,26 +16897,26 @@ "typeString": "uint256" } ], - "id": 1860, + "id": 1352, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1859, + "id": 1351, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": {} } }, - "id": 1862, + "id": 1354, "isConstant": false, "isLValue": false, "isPure": false, @@ -16924,7 +16924,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34236:14:1", + "src": "35215:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16935,7 +16935,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16943,18 +16943,18 @@ "typeString": "bytes32" } ], - "id": 1856, + "id": 1348, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "34216:7:1", + "referencedDeclaration": 1053, + "src": "35195:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1863, + "id": 1355, "isConstant": false, "isLValue": false, "isPure": false, @@ -16962,58 +16962,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34216:35:1", + "src": "35195:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1855, - "id": 1864, + "functionReturnParameters": 1347, + "id": 1356, "nodeType": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ] }, "documentation": { - "id": 1847, + "id": 1339, "nodeType": "StructuredDocumentation", - "src": "33961:157:1", + "src": "34933:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1866, + "id": 1358, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1852, + "id": 1344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1849, + "id": 1341, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34139:19:1", + "scope": 1358, + "src": "35117:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1848, + "id": 1340, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34139:7:1", + "referencedDeclaration": 1318, + "src": "35117:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -17021,12 +17021,12 @@ }, { "constant": false, - "id": 1851, + "id": 1343, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34160:13:1", + "scope": 1358, + "src": "35138:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17034,10 +17034,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1850, + "id": 1342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34160:7:1", + "src": "35138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17046,20 +17046,20 @@ "visibility": "internal" } ], - "src": "34138:36:1" + "src": "35116:36:0" }, "returnParameters": { - "id": 1855, + "id": 1347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1854, + "id": 1346, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34193:4:1", + "scope": 1358, + "src": "35171:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17067,10 +17067,10 @@ "typeString": "bool" }, "typeName": { - "id": 1853, + "id": 1345, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34193:4:1", + "src": "35171:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -17079,59 +17079,59 @@ "visibility": "internal" } ], - "src": "34192:6:1" + "src": "35170:6:0" }, - "scope": 1921, - "src": "34123:135:1", + "scope": 1413, + "src": "35101:137:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1885, + "id": 1377, "nodeType": "Block", - "src": "34422:61:1", + "src": "35407:63:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1877, + "id": 1369, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1869, - "src": "34449:3:1", + "referencedDeclaration": 1361, + "src": "35435:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1878, + "id": 1370, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34449:10:1", + "referencedDeclaration": 1317, + "src": "35435:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1881, + "id": 1373, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1871, - "src": "34469:5:1", + "referencedDeclaration": 1363, + "src": "35455:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17145,26 +17145,26 @@ "typeString": "uint256" } ], - "id": 1880, + "id": 1372, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1879, + "id": 1371, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": {} } }, - "id": 1882, + "id": 1374, "isConstant": false, "isLValue": false, "isPure": false, @@ -17172,7 +17172,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34461:14:1", + "src": "35447:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -17183,7 +17183,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -17191,18 +17191,18 @@ "typeString": "bytes32" } ], - "id": 1876, + "id": 1368, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "34439:9:1", + "referencedDeclaration": 1071, + "src": "35425:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1883, + "id": 1375, "isConstant": false, "isLValue": false, "isPure": false, @@ -17210,58 +17210,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34439:37:1", + "src": "35425:37:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1875, - "id": 1884, + "functionReturnParameters": 1367, + "id": 1376, "nodeType": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ] }, "documentation": { - "id": 1867, + "id": 1359, "nodeType": "StructuredDocumentation", - "src": "34264:70:1", + "src": "35246:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1886, + "id": 1378, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1872, + "id": 1364, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1869, + "id": 1361, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34357:19:1", + "scope": 1378, + "src": "35342:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1868, + "id": 1360, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34357:7:1", + "referencedDeclaration": 1318, + "src": "35342:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -17269,12 +17269,12 @@ }, { "constant": false, - "id": 1871, + "id": 1363, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34378:13:1", + "scope": 1378, + "src": "35363:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17282,10 +17282,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1870, + "id": 1362, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34378:7:1", + "src": "35363:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17294,20 +17294,20 @@ "visibility": "internal" } ], - "src": "34356:36:1" + "src": "35341:36:0" }, "returnParameters": { - "id": 1875, + "id": 1367, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1874, + "id": 1366, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34416:4:1", + "scope": 1378, + "src": "35401:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17315,10 +17315,10 @@ "typeString": "bool" }, "typeName": { - "id": 1873, + "id": 1365, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34416:4:1", + "src": "35401:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -17327,47 +17327,47 @@ "visibility": "internal" } ], - "src": "34415:6:1" + "src": "35400:6:0" }, - "scope": 1921, - "src": "34339:144:1", + "scope": 1413, + "src": "35324:146:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1899, + "id": 1391, "nodeType": "Block", - "src": "34633:43:1", + "src": "35625:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1895, + "id": 1387, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1889, - "src": "34658:3:1", + "referencedDeclaration": 1381, + "src": "35651:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1896, + "id": 1388, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34658:10:1", + "referencedDeclaration": 1317, + "src": "35651:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -17375,22 +17375,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1894, + "id": 1386, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "34650:7:1", + "referencedDeclaration": 1084, + "src": "35643:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1897, + "id": 1389, "isConstant": false, "isLValue": false, "isPure": false, @@ -17398,78 +17398,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34650:19:1", + "src": "35643:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1893, - "id": 1898, + "functionReturnParameters": 1385, + "id": 1390, "nodeType": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ] }, "documentation": { - "id": 1887, + "id": 1379, "nodeType": "StructuredDocumentation", - "src": "34489:70:1", + "src": "35478:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1900, + "id": 1392, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1890, + "id": 1382, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1889, + "id": 1381, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34580:19:1", + "scope": 1392, + "src": "35572:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1888, + "id": 1380, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34580:7:1", + "referencedDeclaration": 1318, + "src": "35572:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, "visibility": "internal" } ], - "src": "34579:21:1" + "src": "35571:21:0" }, "returnParameters": { - "id": 1893, + "id": 1385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1892, + "id": 1384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34624:7:1", + "scope": 1392, + "src": "35616:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17477,10 +17477,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1891, + "id": 1383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34624:7:1", + "src": "35616:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17489,19 +17489,19 @@ "visibility": "internal" } ], - "src": "34623:9:1" + "src": "35615:9:0" }, - "scope": 1921, - "src": "34564:112:1", + "scope": 1413, + "src": "35556:114:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1919, + "id": 1411, "nodeType": "Block", - "src": "35088:55:1", + "src": "36094:57:0", "statements": [ { "expression": { @@ -17510,38 +17510,38 @@ "arguments": [ { "expression": { - "id": 1913, + "id": 1405, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1903, - "src": "35117:3:1", + "referencedDeclaration": 1395, + "src": "36124:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1914, + "id": 1406, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "35117:10:1", + "referencedDeclaration": 1317, + "src": "36124:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1915, + "id": 1407, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1905, - "src": "35129:5:1", + "referencedDeclaration": 1397, + "src": "36136:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17551,7 +17551,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -17559,18 +17559,18 @@ "typeString": "uint256" } ], - "id": 1912, + "id": 1404, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "35113:3:1", + "referencedDeclaration": 1109, + "src": "36120:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1916, + "id": 1408, "isConstant": false, "isLValue": false, "isPure": false, @@ -17578,7 +17578,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35113:22:1", + "src": "36120:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -17593,26 +17593,26 @@ "typeString": "bytes32" } ], - "id": 1911, + "id": 1403, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1910, + "id": 1402, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": {} } }, - "id": 1917, + "id": 1409, "isConstant": false, "isLValue": false, "isPure": false, @@ -17620,58 +17620,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35105:31:1", + "src": "36112:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1909, - "id": 1918, + "functionReturnParameters": 1401, + "id": 1410, "nodeType": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ] }, "documentation": { - "id": 1901, + "id": 1393, "nodeType": "StructuredDocumentation", - "src": "34681:322:1", + "src": "35677:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1920, + "id": 1412, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1906, + "id": 1398, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1903, + "id": 1395, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35020:19:1", + "scope": 1412, + "src": "36026:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1902, + "id": 1394, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "35020:7:1", + "referencedDeclaration": 1318, + "src": "36026:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -17679,12 +17679,12 @@ }, { "constant": false, - "id": 1905, + "id": 1397, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35041:13:1", + "scope": 1412, + "src": "36047:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17692,10 +17692,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1904, + "id": 1396, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35041:7:1", + "src": "36047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17704,20 +17704,20 @@ "visibility": "internal" } ], - "src": "35019:36:1" + "src": "36025:36:0" }, "returnParameters": { - "id": 1909, + "id": 1401, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1908, + "id": 1400, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35079:7:1", + "scope": 1412, + "src": "36085:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17725,10 +17725,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1907, + "id": 1399, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35079:7:1", + "src": "36085:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17737,20 +17737,20 @@ "visibility": "internal" } ], - "src": "35078:9:1" + "src": "36084:9:0" }, - "scope": 1921, - "src": "35008:135:1", + "scope": 1413, + "src": "36014:137:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "26511:8634:1" + "scope": 2991, + "src": "27252:8902:0" }, { - "id": 1922, + "id": 1414, "literals": [ "solidity", ">=", @@ -17761,7 +17761,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "abstract": false, @@ -17769,31 +17769,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1923, + "id": 1415, "nodeType": "StructuredDocumentation", - "src": "35237:705:1", + "src": "36251:728:0", "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, "fullyImplemented": true, - "id": 2480, + "id": 1972, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableMap.MapEntry", - "id": 1928, + "id": 1420, "members": [ { "constant": false, - "id": 1925, + "id": 1417, "mutability": "mutable", "name": "_key", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36455:12:1", + "scope": 1420, + "src": "37504:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17801,10 +17801,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1924, + "id": 1416, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36455:7:1", + "src": "37504:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17814,12 +17814,12 @@ }, { "constant": false, - "id": 1927, + "id": 1419, "mutability": "mutable", "name": "_value", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36477:14:1", + "scope": 1420, + "src": "37527:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17827,10 +17827,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1926, + "id": 1418, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36477:7:1", + "src": "37527:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17841,45 +17841,45 @@ ], "name": "MapEntry", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36429:69:1", + "scope": 1972, + "src": "37477:72:0", "visibility": "public" }, { "canonicalName": "EnumerableMap.Map", - "id": 1936, + "id": 1428, "members": [ { "constant": false, - "id": 1931, + "id": 1423, "mutability": "mutable", "name": "_entries", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36567:19:1", + "scope": 1428, + "src": "37622:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" }, "typeName": { "baseType": { - "id": 1929, + "id": 1421, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "36567:8:1", + "referencedDeclaration": 1420, + "src": "37622:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, - "id": 1930, + "id": 1422, "nodeType": "ArrayTypeName", - "src": "36567:10:1", + "src": "37622:10:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" } }, @@ -17887,12 +17887,12 @@ }, { "constant": false, - "id": 1935, + "id": 1427, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36736:37:1", + "scope": 1428, + "src": "37795:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17900,28 +17900,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1934, + "id": 1426, "keyType": { - "id": 1932, + "id": 1424, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36745:7:1", + "src": "37804:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "36736:28:1", + "src": "37795:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1933, + "id": 1425, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "36756:7:1", + "src": "37815:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17933,29 +17933,29 @@ ], "name": "Map", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36504:276:1", + "scope": 1972, + "src": "37557:283:0", "visibility": "public" }, { "body": { - "id": 1997, + "id": 1489, "nodeType": "Block", - "src": "37089:596:1", + "src": "38158:610:0", "statements": [ { "assignments": [ - 1949 + 1441 ], "declarations": [ { "constant": false, - "id": 1949, + "id": 1441, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 1997, - "src": "37197:16:1", + "scope": 1489, + "src": "38268:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17963,10 +17963,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1948, + "id": 1440, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "37197:7:1", + "src": "38268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17975,43 +17975,43 @@ "visibility": "internal" } ], - "id": 1954, + "id": 1446, "initialValue": { "baseExpression": { "expression": { - "id": 1950, + "id": 1442, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37216:3:1", + "referencedDeclaration": 1431, + "src": "38287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1951, + "id": 1443, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37216:12:1", + "referencedDeclaration": 1427, + "src": "38287:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1953, + "id": 1445, "indexExpression": { - "id": 1952, + "id": 1444, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37229:3:1", + "referencedDeclaration": 1433, + "src": "38300:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18022,14 +18022,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37216:17:1", + "src": "38287:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "condition": { @@ -18037,18 +18037,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1957, + "id": 1449, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1955, + "id": 1447, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37248:8:1", + "referencedDeclaration": 1441, + "src": "38321:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18058,34 +18058,34 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 1956, + "id": 1448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37260:1:1", + "src": "38333:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "37248:13:1", + "src": "38321:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1995, + "id": 1487, "nodeType": "Block", - "src": "37587:92:1", + "src": "38666:95:0", "statements": [ { "expression": { - "id": 1991, + "id": 1483, "isConstant": false, "isLValue": false, "isPure": false, @@ -18094,49 +18094,49 @@ "expression": { "baseExpression": { "expression": { - "id": 1982, + "id": 1474, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37601:3:1", + "referencedDeclaration": 1431, + "src": "38681:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1987, + "id": 1479, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37601:12:1", + "referencedDeclaration": 1423, + "src": "38681:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1988, + "id": 1480, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1986, + "id": 1478, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1984, + "id": 1476, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37614:8:1", + "referencedDeclaration": 1441, + "src": "38694:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18146,21 +18146,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1985, + "id": 1477, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37625:1:1", + "src": "38705:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "37614:12:1", + "src": "38694:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18171,21 +18171,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37601:26:1", + "src": "38681:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 1989, + "id": 1481, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "37601:33:1", + "referencedDeclaration": 1419, + "src": "38681:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18194,58 +18194,58 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1990, + "id": 1482, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37637:5:1", + "referencedDeclaration": 1435, + "src": "38717:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "37601:41:1", + "src": "38681:41:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1992, + "id": 1484, "nodeType": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "expression": { "hexValue": "66616c7365", - "id": 1993, + "id": 1485, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37663:5:1", + "src": "38744:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1947, - "id": 1994, + "functionReturnParameters": 1439, + "id": 1486, "nodeType": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ] }, - "id": 1996, + "id": 1488, "nodeType": "IfStatement", - "src": "37244:435:1", + "src": "38317:444:0", "trueBody": { - "id": 1981, + "id": 1473, "nodeType": "Block", - "src": "37263:318:1", + "src": "38336:324:0", "statements": [ { "expression": { @@ -18253,24 +18253,24 @@ { "arguments": [ { - "id": 1964, + "id": 1456, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37349:3:1", + "referencedDeclaration": 1433, + "src": "38423:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, { - "id": 1965, + "id": 1457, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37362:5:1", + "referencedDeclaration": 1435, + "src": "38436:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18288,18 +18288,18 @@ "typeString": "bytes32" } ], - "id": 1963, + "id": 1455, "name": "MapEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1928, - "src": "37332:8:1", + "referencedDeclaration": 1420, + "src": "38406:8:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_MapEntry_$1928_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_MapEntry_$1420_storage_ptr_$", "typeString": "type(struct EnumerableMap.MapEntry storage pointer)" } }, - "id": 1966, + "id": 1458, "isConstant": false, "isLValue": false, "isPure": false, @@ -18310,10 +18310,10 @@ "_value" ], "nodeType": "FunctionCall", - "src": "37332:38:1", + "src": "38406:38:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } } @@ -18321,51 +18321,51 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], "expression": { "expression": { - "id": 1958, + "id": 1450, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37314:3:1", + "referencedDeclaration": 1431, + "src": "38388:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1961, + "id": 1453, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37314:12:1", + "referencedDeclaration": 1423, + "src": "38388:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1962, + "id": 1454, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "37314:17:1", + "src": "38388:17:0", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1928_storage_$returns$__$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1420_storage_$returns$__$", "typeString": "function (struct EnumerableMap.MapEntry storage ref)" } }, - "id": 1967, + "id": 1459, "isConstant": false, "isLValue": false, "isPure": false, @@ -18373,20 +18373,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "37314:57:1", + "src": "38388:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1968, + "id": 1460, "nodeType": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "expression": { - "id": 1977, + "id": 1469, "isConstant": false, "isLValue": false, "isPure": false, @@ -18394,39 +18394,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1969, + "id": 1461, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37506:3:1", + "referencedDeclaration": 1431, + "src": "38583:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1972, + "id": 1464, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37506:12:1", + "referencedDeclaration": 1427, + "src": "38583:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1973, + "id": 1465, "indexExpression": { - "id": 1971, + "id": 1463, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37519:3:1", + "referencedDeclaration": 1433, + "src": "38596:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18437,7 +18437,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "37506:17:1", + "src": "38583:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18448,75 +18448,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1974, + "id": 1466, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37526:3:1", + "referencedDeclaration": 1431, + "src": "38603:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1975, + "id": 1467, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37526:12:1", + "referencedDeclaration": 1423, + "src": "38603:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1976, + "id": 1468, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "37526:19:1", + "src": "38603:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "37506:39:1", + "src": "38583:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1978, + "id": 1470, "nodeType": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "expression": { "hexValue": "74727565", - "id": 1979, + "id": 1471, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37566:4:1", + "src": "38644:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1947, - "id": 1980, + "functionReturnParameters": 1439, + "id": 1472, "nodeType": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ] } @@ -18524,43 +18524,43 @@ ] }, "documentation": { - "id": 1937, + "id": 1429, "nodeType": "StructuredDocumentation", - "src": "36786:216:1", + "src": "37848:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1998, + "id": 1490, "implemented": true, "kind": "function", "modifiers": [], "name": "_set", "nodeType": "FunctionDefinition", "parameters": { - "id": 1944, + "id": 1436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1939, + "id": 1431, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37021:15:1", + "scope": 1490, + "src": "38090:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 1938, + "id": 1430, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37021:3:1", + "referencedDeclaration": 1428, + "src": "38090:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -18568,12 +18568,12 @@ }, { "constant": false, - "id": 1941, + "id": 1433, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37038:11:1", + "scope": 1490, + "src": "38107:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18581,10 +18581,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1940, + "id": 1432, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37038:7:1", + "src": "38107:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18594,12 +18594,12 @@ }, { "constant": false, - "id": 1943, + "id": 1435, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37051:13:1", + "scope": 1490, + "src": "38120:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18607,10 +18607,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1942, + "id": 1434, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37051:7:1", + "src": "38120:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18619,20 +18619,20 @@ "visibility": "internal" } ], - "src": "37020:45:1" + "src": "38089:45:0" }, "returnParameters": { - "id": 1947, + "id": 1439, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1946, + "id": 1438, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37083:4:1", + "scope": 1490, + "src": "38152:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18640,10 +18640,10 @@ "typeString": "bool" }, "typeName": { - "id": 1945, + "id": 1437, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37083:4:1", + "src": "38152:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -18652,33 +18652,33 @@ "visibility": "internal" } ], - "src": "37082:6:1" + "src": "38151:6:0" }, - "scope": 2480, - "src": "37007:678:1", + "scope": 1972, + "src": "38076:692:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2078, + "id": 1570, "nodeType": "Block", - "src": "37923:1447:1", + "src": "39013:1479:0", "statements": [ { "assignments": [ - 2009 + 1501 ], "declarations": [ { "constant": false, - "id": 2009, + "id": 1501, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2078, - "src": "38031:16:1", + "scope": 1570, + "src": "39123:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18686,10 +18686,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2008, + "id": 1500, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38031:7:1", + "src": "39123:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18698,43 +18698,43 @@ "visibility": "internal" } ], - "id": 2014, + "id": 1506, "initialValue": { "baseExpression": { "expression": { - "id": 2010, + "id": 1502, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38050:3:1", + "referencedDeclaration": 1493, + "src": "39142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2011, + "id": 1503, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "38050:12:1", + "referencedDeclaration": 1427, + "src": "39142:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2013, + "id": 1505, "indexExpression": { - "id": 2012, + "id": 1504, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "38063:3:1", + "referencedDeclaration": 1495, + "src": "39155:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18745,14 +18745,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38050:17:1", + "src": "39142:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "condition": { @@ -18760,18 +18760,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2017, + "id": 1509, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2015, + "id": 1507, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38082:8:1", + "referencedDeclaration": 1501, + "src": "39176:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18781,76 +18781,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2016, + "id": 1508, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38094:1:1", + "src": "39188:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "38082:13:1", + "src": "39176:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 2076, + "id": 1568, "nodeType": "Block", - "src": "39327:37:1", + "src": "40446:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 2074, + "id": 1566, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39348:5:1", + "src": "40468:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 2007, - "id": 2075, + "functionReturnParameters": 1499, + "id": 1567, "nodeType": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ] }, - "id": 2077, + "id": 1569, "nodeType": "IfStatement", - "src": "38078:1286:1", + "src": "39172:1313:0", "trueBody": { - "id": 2073, + "id": 1565, "nodeType": "Block", - "src": "38097:1224:1", + "src": "39191:1249:0", "statements": [ { "assignments": [ - 2019 + 1511 ], "declarations": [ { "constant": false, - "id": 2019, + "id": 1511, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38438:21:1", + "scope": 1565, + "src": "39537:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18858,10 +18858,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2018, + "id": 1510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38438:7:1", + "src": "39537:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18870,24 +18870,24 @@ "visibility": "internal" } ], - "id": 2023, + "id": 1515, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2022, + "id": 1514, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2020, + "id": 1512, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38462:8:1", + "referencedDeclaration": 1501, + "src": "39561:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18897,42 +18897,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2021, + "id": 1513, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38473:1:1", + "src": "39572:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38462:12:1", + "src": "39561:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "assignments": [ - 2025 + 1517 ], "declarations": [ { "constant": false, - "id": 2025, + "id": 1517, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38488:17:1", + "scope": 1565, + "src": "39588:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18940,10 +18940,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2024, + "id": 1516, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38488:7:1", + "src": "39588:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18952,13 +18952,13 @@ "visibility": "internal" } ], - "id": 2031, + "id": 1523, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2030, + "id": 1522, "isConstant": false, "isLValue": false, "isPure": false, @@ -18966,39 +18966,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2026, + "id": 1518, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38508:3:1", + "referencedDeclaration": 1493, + "src": "39608:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2027, + "id": 1519, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38508:12:1", + "referencedDeclaration": 1423, + "src": "39608:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2028, + "id": 1520, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "38508:19:1", + "src": "39608:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19008,99 +19008,99 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2029, + "id": 1521, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38530:1:1", + "src": "39630:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38508:23:1", + "src": "39608:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "assignments": [ - 2033 + 1525 ], "declarations": [ { "constant": false, - "id": 2033, + "id": 1525, "mutability": "mutable", "name": "lastEntry", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38771:26:1", + "scope": 1565, + "src": "39876:26:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2032, + "id": 1524, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "38771:8:1", + "referencedDeclaration": 1420, + "src": "39876:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2038, + "id": 1530, "initialValue": { "baseExpression": { "expression": { - "id": 2034, + "id": 1526, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38800:3:1", + "referencedDeclaration": 1493, + "src": "39905:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2035, + "id": 1527, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38800:12:1", + "referencedDeclaration": 1423, + "src": "39905:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2037, + "id": 1529, "indexExpression": { - "id": 2036, + "id": 1528, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "38813:9:1", + "referencedDeclaration": 1517, + "src": "39918:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19111,18 +19111,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38800:23:1", + "src": "39905:23:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "expression": { - "id": 2045, + "id": 1537, "isConstant": false, "isLValue": false, "isPure": false, @@ -19130,39 +19130,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2039, + "id": 1531, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38915:3:1", + "referencedDeclaration": 1493, + "src": "40023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2042, + "id": 1534, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38915:12:1", + "referencedDeclaration": 1423, + "src": "40023:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2043, + "id": 1535, "indexExpression": { - "id": 2041, + "id": 1533, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "38928:13:1", + "referencedDeclaration": 1511, + "src": "40036:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19173,39 +19173,39 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "38915:27:1", + "src": "40023:27:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2044, + "id": 1536, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "38945:9:1", + "referencedDeclaration": 1525, + "src": "40053:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "src": "38915:39:1", + "src": "40023:39:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2046, + "id": 1538, "nodeType": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "expression": { - "id": 2056, + "id": 1548, "isConstant": false, "isLValue": false, "isPure": false, @@ -19213,54 +19213,54 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2047, + "id": 1539, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39020:3:1", + "referencedDeclaration": 1493, + "src": "40130:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2051, + "id": 1543, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39020:12:1", + "referencedDeclaration": 1427, + "src": "40130:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2052, + "id": 1544, "indexExpression": { "expression": { - "id": 2049, + "id": 1541, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "39033:9:1", + "referencedDeclaration": 1525, + "src": "40143:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2050, + "id": 1542, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "39033:14:1", + "referencedDeclaration": 1417, + "src": "40143:14:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19271,7 +19271,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39020:28:1", + "src": "40130:28:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19284,18 +19284,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2055, + "id": 1547, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2053, + "id": 1545, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "39051:13:1", + "referencedDeclaration": 1511, + "src": "40161:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19305,35 +19305,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 2054, + "id": 1546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39067:1:1", + "src": "40177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "39051:17:1", + "src": "40161:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "39020:48:1", + "src": "40130:48:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2057, + "id": 1549, "nodeType": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "expression": { @@ -19342,45 +19342,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 2058, + "id": 1550, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39174:3:1", + "referencedDeclaration": 1493, + "src": "40287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2061, + "id": 1553, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39174:12:1", + "referencedDeclaration": 1423, + "src": "40287:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2062, + "id": 1554, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "39174:16:1", + "src": "40287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 2063, + "id": 1555, "isConstant": false, "isLValue": false, "isPure": false, @@ -19388,20 +19388,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "39174:18:1", + "src": "40287:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2064, + "id": 1556, "nodeType": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "expression": { - "id": 2069, + "id": 1561, "isConstant": false, "isLValue": false, "isPure": false, @@ -19409,43 +19409,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "39260:24:1", + "src": "40376:24:0", "subExpression": { "baseExpression": { "expression": { - "id": 2065, + "id": 1557, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39267:3:1", + "referencedDeclaration": 1493, + "src": "40383:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2066, + "id": 1558, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39267:12:1", + "referencedDeclaration": 1427, + "src": "40383:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2068, + "id": 1560, "indexExpression": { - "id": 2067, + "id": 1559, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "39280:3:1", + "referencedDeclaration": 1495, + "src": "40396:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19456,7 +19456,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39267:17:1", + "src": "40383:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19467,31 +19467,31 @@ "typeString": "tuple()" } }, - "id": 2070, + "id": 1562, "nodeType": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "expression": { "hexValue": "74727565", - "id": 2071, + "id": 1563, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39306:4:1", + "src": "40424:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 2007, - "id": 2072, + "functionReturnParameters": 1499, + "id": 1564, "nodeType": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ] } @@ -19499,43 +19499,43 @@ ] }, "documentation": { - "id": 1999, + "id": 1491, "nodeType": "StructuredDocumentation", - "src": "37691:157:1", + "src": "38776:161:0", "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2079, + "id": 1571, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2004, + "id": 1496, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2001, + "id": 1493, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37870:15:1", + "scope": 1571, + "src": "38960:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2000, + "id": 1492, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37870:3:1", + "referencedDeclaration": 1428, + "src": "38960:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19543,12 +19543,12 @@ }, { "constant": false, - "id": 2003, + "id": 1495, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37887:11:1", + "scope": 1571, + "src": "38977:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19556,10 +19556,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2002, + "id": 1494, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37887:7:1", + "src": "38977:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19568,20 +19568,20 @@ "visibility": "internal" } ], - "src": "37869:30:1" + "src": "38959:30:0" }, "returnParameters": { - "id": 2007, + "id": 1499, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2006, + "id": 1498, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37917:4:1", + "scope": 1571, + "src": "39007:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19589,10 +19589,10 @@ "typeString": "bool" }, "typeName": { - "id": 2005, + "id": 1497, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37917:4:1", + "src": "39007:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19601,19 +19601,19 @@ "visibility": "internal" } ], - "src": "37916:6:1" + "src": "39006:6:0" }, - "scope": 2480, - "src": "37853:1517:1", + "scope": 1972, + "src": "38943:1549:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2096, + "id": 1588, "nodeType": "Block", - "src": "39526:46:1", + "src": "40653:48:0", "statements": [ { "expression": { @@ -19621,7 +19621,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2094, + "id": 1586, "isConstant": false, "isLValue": false, "isPure": false, @@ -19629,39 +19629,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 2089, + "id": 1581, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2082, - "src": "39543:3:1", + "referencedDeclaration": 1574, + "src": "40671:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2090, + "id": 1582, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39543:12:1", + "referencedDeclaration": 1427, + "src": "40671:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2092, + "id": 1584, "indexExpression": { - "id": 2091, + "id": 1583, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2084, - "src": "39556:3:1", + "referencedDeclaration": 1576, + "src": "40684:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19672,7 +19672,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "39543:17:1", + "src": "40671:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19682,71 +19682,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2093, + "id": 1585, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39564:1:1", + "src": "40692:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "39543:22:1", + "src": "40671:22:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2088, - "id": 2095, + "functionReturnParameters": 1580, + "id": 1587, "nodeType": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ] }, "documentation": { - "id": 2080, + "id": 1572, "nodeType": "StructuredDocumentation", - "src": "39376:68:1", + "src": "40500:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2097, + "id": 1589, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2085, + "id": 1577, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2082, + "id": 1574, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39468:15:1", + "scope": 1589, + "src": "40595:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2081, + "id": 1573, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39468:3:1", + "referencedDeclaration": 1428, + "src": "40595:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19754,12 +19754,12 @@ }, { "constant": false, - "id": 2084, + "id": 1576, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39485:11:1", + "scope": 1589, + "src": "40612:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19767,10 +19767,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2083, + "id": 1575, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "39485:7:1", + "src": "40612:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19779,20 +19779,20 @@ "visibility": "internal" } ], - "src": "39467:30:1" + "src": "40594:30:0" }, "returnParameters": { - "id": 2088, + "id": 1580, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2087, + "id": 1579, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39520:4:1", + "scope": 1589, + "src": "40647:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19800,10 +19800,10 @@ "typeString": "bool" }, "typeName": { - "id": 2086, + "id": 1578, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "39520:4:1", + "src": "40647:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19812,127 +19812,127 @@ "visibility": "internal" } ], - "src": "39519:6:1" + "src": "40646:6:0" }, - "scope": 2480, - "src": "39449:123:1", + "scope": 1972, + "src": "40576:125:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2109, + "id": 1601, "nodeType": "Block", - "src": "39727:43:1", + "src": "40861:45:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 2105, + "id": 1597, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2100, - "src": "39744:3:1", + "referencedDeclaration": 1592, + "src": "40879:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2106, + "id": 1598, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39744:12:1", + "referencedDeclaration": 1423, + "src": "40879:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2107, + "id": 1599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "39744:19:1", + "src": "40879:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2104, - "id": 2108, + "functionReturnParameters": 1596, + "id": 1600, "nodeType": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ] }, "documentation": { - "id": 2098, + "id": 1590, "nodeType": "StructuredDocumentation", - "src": "39578:79:1", + "src": "40709:81:0", "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2110, + "id": 1602, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2101, + "id": 1593, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2100, + "id": 1592, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39679:15:1", + "scope": 1602, + "src": "40813:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2099, + "id": 1591, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39679:3:1", + "referencedDeclaration": 1428, + "src": "40813:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, "visibility": "internal" } ], - "src": "39678:17:1" + "src": "40812:17:0" }, "returnParameters": { - "id": 2104, + "id": 1596, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2103, + "id": 1595, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39718:7:1", + "scope": 1602, + "src": "40852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19940,10 +19940,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2102, + "id": 1594, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "39718:7:1", + "src": "40852:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19952,19 +19952,19 @@ "visibility": "internal" } ], - "src": "39717:9:1" + "src": "40851:9:0" }, - "scope": 2480, - "src": "39662:108:1", + "scope": 1972, + "src": "40796:110:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2144, + "id": 1636, "nodeType": "Block", - "src": "40198:189:1", + "src": "41346:194:0", "statements": [ { "expression": { @@ -19974,7 +19974,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2127, + "id": 1619, "isConstant": false, "isLValue": false, "isPure": false, @@ -19982,39 +19982,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2123, + "id": 1615, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40216:3:1", + "referencedDeclaration": 1605, + "src": "41365:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2124, + "id": 1616, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40216:12:1", + "referencedDeclaration": 1423, + "src": "41365:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2125, + "id": 1617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "40216:19:1", + "src": "41365:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20023,18 +20023,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 2126, + "id": 1618, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40238:5:1", + "referencedDeclaration": 1607, + "src": "41387:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "40216:27:1", + "src": "41365:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20042,14 +20042,14 @@ }, { "hexValue": "456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473", - "id": 2128, + "id": 1620, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "40245:36:1", + "src": "41394:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_86631030b9066a18616a068fc09fce83d18af4765cb1d2166fa475228f4db155", "typeString": "literal_string \"EnumerableMap: index out of bounds\"" @@ -20068,7 +20068,7 @@ "typeString": "literal_string \"EnumerableMap: index out of bounds\"" } ], - "id": 2122, + "id": 1614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -20076,13 +20076,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "40208:7:1", + "src": "41357:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2129, + "id": 1621, "isConstant": false, "isLValue": false, "isPure": false, @@ -20090,87 +20090,87 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "40208:74:1", + "src": "41357:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2130, + "id": 1622, "nodeType": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "assignments": [ - 2132 + 1624 ], "declarations": [ { "constant": false, - "id": 2132, + "id": 1624, "mutability": "mutable", "name": "entry", "nodeType": "VariableDeclaration", - "scope": 2144, - "src": "40293:22:1", + "scope": 1636, + "src": "41444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2131, + "id": 1623, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "40293:8:1", + "referencedDeclaration": 1420, + "src": "41444:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2137, + "id": 1629, "initialValue": { "baseExpression": { "expression": { - "id": 2133, + "id": 1625, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40318:3:1", + "referencedDeclaration": 1605, + "src": "41469:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2134, + "id": 1626, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40318:12:1", + "referencedDeclaration": 1423, + "src": "41469:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2136, + "id": 1628, "indexExpression": { - "id": 2135, + "id": 1627, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40331:5:1", + "referencedDeclaration": 1607, + "src": "41482:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20181,40 +20181,40 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40318:19:1", + "src": "41469:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "expression": { "components": [ { "expression": { - "id": 2138, + "id": 1630, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40355:5:1", + "referencedDeclaration": 1624, + "src": "41507:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2139, + "id": 1631, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "40355:10:1", + "referencedDeclaration": 1417, + "src": "41507:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20222,90 +20222,90 @@ }, { "expression": { - "id": 2140, + "id": 1632, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40367:5:1", + "referencedDeclaration": 1624, + "src": "41519:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2141, + "id": 1633, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40367:12:1", + "referencedDeclaration": 1419, + "src": "41519:12:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2142, + "id": 1634, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40354:26:1", + "src": "41506:26:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", "typeString": "tuple(bytes32,bytes32)" } }, - "functionReturnParameters": 2121, - "id": 2143, + "functionReturnParameters": 1613, + "id": 1635, "nodeType": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ] }, "documentation": { - "id": 2111, + "id": 1603, "nodeType": "StructuredDocumentation", - "src": "39775:333:1", + "src": "40913:342:0", "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2145, + "id": 1637, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2116, + "id": 1608, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2113, + "id": 1605, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40126:15:1", + "scope": 1637, + "src": "41274:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2112, + "id": 1604, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40126:3:1", + "referencedDeclaration": 1428, + "src": "41274:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20313,12 +20313,12 @@ }, { "constant": false, - "id": 2115, + "id": 1607, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40143:13:1", + "scope": 1637, + "src": "41291:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20326,10 +20326,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2114, + "id": 1606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40143:7:1", + "src": "41291:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20338,20 +20338,20 @@ "visibility": "internal" } ], - "src": "40125:32:1" + "src": "41273:32:0" }, "returnParameters": { - "id": 2121, + "id": 1613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2118, + "id": 1610, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40180:7:1", + "scope": 1637, + "src": "41328:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20359,10 +20359,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2117, + "id": 1609, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40180:7:1", + "src": "41328:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20372,12 +20372,12 @@ }, { "constant": false, - "id": 2120, + "id": 1612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40189:7:1", + "scope": 1637, + "src": "41337:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20385,10 +20385,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2119, + "id": 1611, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40189:7:1", + "src": "41337:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20397,33 +20397,33 @@ "visibility": "internal" } ], - "src": "40179:18:1" + "src": "41327:18:0" }, - "scope": 2480, - "src": "40113:274:1", + "scope": 1972, + "src": "41261:279:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2182, + "id": 1674, "nodeType": "Block", - "src": "40613:220:1", + "src": "41772:224:0", "statements": [ { "assignments": [ - 2158 + 1650 ], "declarations": [ { "constant": false, - "id": 2158, + "id": 1650, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2182, - "src": "40623:16:1", + "scope": 1674, + "src": "41783:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20431,10 +20431,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2157, + "id": 1649, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40623:7:1", + "src": "41783:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20443,43 +20443,43 @@ "visibility": "internal" } ], - "id": 2163, + "id": 1655, "initialValue": { "baseExpression": { "expression": { - "id": 2159, + "id": 1651, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40642:3:1", + "referencedDeclaration": 1640, + "src": "41802:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2160, + "id": 1652, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "40642:12:1", + "referencedDeclaration": 1427, + "src": "41802:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2162, + "id": 1654, "indexExpression": { - "id": 2161, + "id": 1653, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2150, - "src": "40655:3:1", + "referencedDeclaration": 1642, + "src": "41815:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20490,14 +20490,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40642:17:1", + "src": "41802:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "condition": { @@ -20505,18 +20505,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2166, + "id": 1658, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2164, + "id": 1656, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40673:8:1", + "referencedDeclaration": 1650, + "src": "41834:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20526,42 +20526,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2165, + "id": 1657, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40685:1:1", + "src": "41846:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "40673:13:1", + "src": "41834:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2171, + "id": 1663, "nodeType": "IfStatement", - "src": "40669:36:1", + "src": "41830:36:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 2167, + "id": 1659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40696:5:1", + "src": "41857:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20570,14 +20570,14 @@ }, { "hexValue": "30", - "id": 2168, + "id": 1660, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40703:1:1", + "src": "41864:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -20585,23 +20585,23 @@ "value": "0" } ], - "id": 2169, + "id": 1661, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40695:10:1", + "src": "41856:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 2156, - "id": 2170, + "functionReturnParameters": 1648, + "id": 1662, "nodeType": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } }, { @@ -20609,14 +20609,14 @@ "components": [ { "hexValue": "74727565", - "id": 2172, + "id": 1664, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40759:4:1", + "src": "41921:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20627,49 +20627,49 @@ "expression": { "baseExpression": { "expression": { - "id": 2173, + "id": 1665, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40765:3:1", + "referencedDeclaration": 1640, + "src": "41927:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2174, + "id": 1666, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40765:12:1", + "referencedDeclaration": 1423, + "src": "41927:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2178, + "id": 1670, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2177, + "id": 1669, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2175, + "id": 1667, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40778:8:1", + "referencedDeclaration": 1650, + "src": "41940:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20679,21 +20679,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2176, + "id": 1668, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40789:1:1", + "src": "41951:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "40778:12:1", + "src": "41940:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20704,85 +20704,85 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40765:26:1", + "src": "41927:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2179, + "id": 1671, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40765:33:1", + "referencedDeclaration": 1419, + "src": "41927:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2180, + "id": 1672, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40758:41:1", + "src": "41920:41:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", "typeString": "tuple(bool,bytes32)" } }, - "functionReturnParameters": 2156, - "id": 2181, + "functionReturnParameters": 1648, + "id": 1673, "nodeType": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ] }, "documentation": { - "id": 2146, + "id": 1638, "nodeType": "StructuredDocumentation", - "src": "40393:131:1", + "src": "41548:134:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2183, + "id": 1675, "implemented": true, "kind": "function", "modifiers": [], "name": "_tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2151, + "id": 1643, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2148, + "id": 1640, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40546:15:1", + "scope": 1675, + "src": "41705:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2147, + "id": 1639, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40546:3:1", + "referencedDeclaration": 1428, + "src": "41705:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20790,12 +20790,12 @@ }, { "constant": false, - "id": 2150, + "id": 1642, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40563:11:1", + "scope": 1675, + "src": "41722:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20803,10 +20803,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2149, + "id": 1641, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40563:7:1", + "src": "41722:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20815,20 +20815,20 @@ "visibility": "internal" } ], - "src": "40545:30:1" + "src": "41704:30:0" }, "returnParameters": { - "id": 2156, + "id": 1648, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2153, + "id": 1645, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40598:4:1", + "scope": 1675, + "src": "41757:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20836,10 +20836,10 @@ "typeString": "bool" }, "typeName": { - "id": 2152, + "id": 1644, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "40598:4:1", + "src": "41757:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20849,12 +20849,12 @@ }, { "constant": false, - "id": 2155, + "id": 1647, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40604:7:1", + "scope": 1675, + "src": "41763:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20862,10 +20862,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2154, + "id": 1646, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40604:7:1", + "src": "41763:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20874,33 +20874,33 @@ "visibility": "internal" } ], - "src": "40597:15:1" + "src": "41756:15:0" }, - "scope": 2480, - "src": "40529:304:1", + "scope": 1972, + "src": "41688:308:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2215, + "id": 1707, "nodeType": "Block", - "src": "41060:232:1", + "src": "42232:236:0", "statements": [ { "assignments": [ - 2194 + 1686 ], "declarations": [ { "constant": false, - "id": 2194, + "id": 1686, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2215, - "src": "41070:16:1", + "scope": 1707, + "src": "42243:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20908,10 +20908,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2193, + "id": 1685, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41070:7:1", + "src": "42243:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20920,43 +20920,43 @@ "visibility": "internal" } ], - "id": 2199, + "id": 1691, "initialValue": { "baseExpression": { "expression": { - "id": 2195, + "id": 1687, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41089:3:1", + "referencedDeclaration": 1678, + "src": "42262:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2196, + "id": 1688, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41089:12:1", + "referencedDeclaration": 1427, + "src": "42262:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2198, + "id": 1690, "indexExpression": { - "id": 2197, + "id": 1689, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2188, - "src": "41102:3:1", + "referencedDeclaration": 1680, + "src": "42275:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20967,14 +20967,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41089:17:1", + "src": "42262:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "expression": { @@ -20984,18 +20984,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2203, + "id": 1695, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2201, + "id": 1693, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41124:8:1", + "referencedDeclaration": 1686, + "src": "42298:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21005,21 +21005,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2202, + "id": 1694, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41136:1:1", + "src": "42310:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41124:13:1", + "src": "42298:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -21027,14 +21027,14 @@ }, { "hexValue": "456e756d657261626c654d61703a206e6f6e6578697374656e74206b6579", - "id": 2204, + "id": 1696, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "41139:32:1", + "src": "42313:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_d3551e30d3095fd81287b88f7139bb09818e34280e85ee821994ebaebbed7072", "typeString": "literal_string \"EnumerableMap: nonexistent key\"" @@ -21053,7 +21053,7 @@ "typeString": "literal_string \"EnumerableMap: nonexistent key\"" } ], - "id": 2200, + "id": 1692, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -21061,13 +21061,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41116:7:1", + "src": "42290:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2205, + "id": 1697, "isConstant": false, "isLValue": false, "isPure": false, @@ -21075,65 +21075,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41116:56:1", + "src": "42290:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2206, + "id": 1698, "nodeType": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2207, + "id": 1699, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41225:3:1", + "referencedDeclaration": 1678, + "src": "42400:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2208, + "id": 1700, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41225:12:1", + "referencedDeclaration": 1423, + "src": "42400:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2212, + "id": 1704, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2211, + "id": 1703, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2209, + "id": 1701, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41238:8:1", + "referencedDeclaration": 1686, + "src": "42413:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21143,21 +21143,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2210, + "id": 1702, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41249:1:1", + "src": "42424:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41238:12:1", + "src": "42413:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21168,71 +21168,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41225:26:1", + "src": "42400:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2213, + "id": 1705, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41225:33:1", + "referencedDeclaration": 1419, + "src": "42400:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2192, - "id": 2214, + "functionReturnParameters": 1684, + "id": 1706, "nodeType": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ] }, "documentation": { - "id": 2184, + "id": 1676, "nodeType": "StructuredDocumentation", - "src": "40839:141:1", + "src": "42004:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2216, + "id": 1708, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2189, + "id": 1681, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2186, + "id": 1678, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "40999:15:1", + "scope": 1708, + "src": "42171:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2185, + "id": 1677, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40999:3:1", + "referencedDeclaration": 1428, + "src": "42171:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21240,12 +21240,12 @@ }, { "constant": false, - "id": 2188, + "id": 1680, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41016:11:1", + "scope": 1708, + "src": "42188:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21253,10 +21253,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2187, + "id": 1679, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41016:7:1", + "src": "42188:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21265,20 +21265,20 @@ "visibility": "internal" } ], - "src": "40998:30:1" + "src": "42170:30:0" }, "returnParameters": { - "id": 2192, + "id": 1684, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2191, + "id": 1683, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41051:7:1", + "scope": 1708, + "src": "42223:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21286,10 +21286,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2190, + "id": 1682, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41051:7:1", + "src": "42223:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21298,33 +21298,33 @@ "visibility": "internal" } ], - "src": "41050:9:1" + "src": "42222:9:0" }, - "scope": 2480, - "src": "40985:307:1", + "scope": 1972, + "src": "42157:311:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2250, + "id": 1742, "nodeType": "Block", - "src": "41677:212:1", + "src": "42861:216:0", "statements": [ { "assignments": [ - 2229 + 1721 ], "declarations": [ { "constant": false, - "id": 2229, + "id": 1721, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2250, - "src": "41687:16:1", + "scope": 1742, + "src": "42872:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21332,10 +21332,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2228, + "id": 1720, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41687:7:1", + "src": "42872:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21344,43 +21344,43 @@ "visibility": "internal" } ], - "id": 2234, + "id": 1726, "initialValue": { "baseExpression": { "expression": { - "id": 2230, + "id": 1722, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41706:3:1", + "referencedDeclaration": 1711, + "src": "42891:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2231, + "id": 1723, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41706:12:1", + "referencedDeclaration": 1427, + "src": "42891:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2233, + "id": 1725, "indexExpression": { - "id": 2232, + "id": 1724, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2221, - "src": "41719:3:1", + "referencedDeclaration": 1713, + "src": "42904:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21391,14 +21391,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41706:17:1", + "src": "42891:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "expression": { @@ -21408,18 +21408,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2238, + "id": 1730, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2236, + "id": 1728, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41741:8:1", + "referencedDeclaration": 1721, + "src": "42927:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21429,33 +21429,33 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2237, + "id": 1729, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41753:1:1", + "src": "42939:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41741:13:1", + "src": "42927:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 2239, + "id": 1731, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2223, - "src": "41756:12:1", + "referencedDeclaration": 1715, + "src": "42942:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -21473,7 +21473,7 @@ "typeString": "string memory" } ], - "id": 2235, + "id": 1727, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -21481,13 +21481,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41733:7:1", + "src": "42919:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2240, + "id": 1732, "isConstant": false, "isLValue": false, "isPure": false, @@ -21495,65 +21495,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41733:36:1", + "src": "42919:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2241, + "id": 1733, "nodeType": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2242, + "id": 1734, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41822:3:1", + "referencedDeclaration": 1711, + "src": "43009:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2243, + "id": 1735, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41822:12:1", + "referencedDeclaration": 1423, + "src": "43009:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2247, + "id": 1739, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2246, + "id": 1738, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2244, + "id": 1736, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41835:8:1", + "referencedDeclaration": 1721, + "src": "43022:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21563,21 +21563,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2245, + "id": 1737, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41846:1:1", + "src": "43033:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41835:12:1", + "src": "43022:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21588,71 +21588,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41822:26:1", + "src": "43009:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2248, + "id": 1740, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41822:33:1", + "referencedDeclaration": 1419, + "src": "43009:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2227, - "id": 2249, + "functionReturnParameters": 1719, + "id": 1741, "nodeType": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ] }, "documentation": { - "id": 2217, + "id": 1709, "nodeType": "StructuredDocumentation", - "src": "41298:271:1", + "src": "42476:276:0", "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2251, + "id": 1743, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2224, + "id": 1716, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2219, + "id": 1711, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41588:15:1", + "scope": 1743, + "src": "42772:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2218, + "id": 1710, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41588:3:1", + "referencedDeclaration": 1428, + "src": "42772:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21660,12 +21660,12 @@ }, { "constant": false, - "id": 2221, + "id": 1713, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41605:11:1", + "scope": 1743, + "src": "42789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21673,10 +21673,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2220, + "id": 1712, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41605:7:1", + "src": "42789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21686,12 +21686,12 @@ }, { "constant": false, - "id": 2223, + "id": 1715, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41618:26:1", + "scope": 1743, + "src": "42802:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -21699,10 +21699,10 @@ "typeString": "string" }, "typeName": { - "id": 2222, + "id": 1714, "name": "string", "nodeType": "ElementaryTypeName", - "src": "41618:6:1", + "src": "42802:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -21711,20 +21711,20 @@ "visibility": "internal" } ], - "src": "41587:58:1" + "src": "42771:58:0" }, "returnParameters": { - "id": 2227, + "id": 1719, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2226, + "id": 1718, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41668:7:1", + "scope": 1743, + "src": "42852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21732,10 +21732,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2225, + "id": 1717, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41668:7:1", + "src": "42852:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21744,40 +21744,40 @@ "visibility": "internal" } ], - "src": "41667:9:1" + "src": "42851:9:0" }, - "scope": 2480, - "src": "41574:315:1", + "scope": 1972, + "src": "42758:319:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableMap.UintToAddressMap", - "id": 2254, + "id": 1746, "members": [ { "constant": false, - "id": 2253, + "id": 1745, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 2254, - "src": "41954:10:1", + "scope": 1746, + "src": "43147:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2252, + "id": 1744, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41954:3:1", + "referencedDeclaration": 1428, + "src": "43147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21786,55 +21786,55 @@ ], "name": "UintToAddressMap", "nodeType": "StructDefinition", - "scope": 2480, - "src": "41920:51:1", + "scope": 1972, + "src": "43112:53:0", "visibility": "public" }, { "body": { - "id": 2285, + "id": 1777, "nodeType": "Block", - "src": "42293:88:1", + "src": "43496:90:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2267, + "id": 1759, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2257, - "src": "42315:3:1", + "referencedDeclaration": 1749, + "src": "43519:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2268, + "id": 1760, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42315:10:1", + "referencedDeclaration": 1745, + "src": "43519:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2271, + "id": 1763, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2259, - "src": "42335:3:1", + "referencedDeclaration": 1751, + "src": "43539:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21848,26 +21848,26 @@ "typeString": "uint256" } ], - "id": 2270, + "id": 1762, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2269, + "id": 1761, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": {} } }, - "id": 2272, + "id": 1764, "isConstant": false, "isLValue": false, "isPure": false, @@ -21875,7 +21875,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42327:12:1", + "src": "43531:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21889,12 +21889,12 @@ { "arguments": [ { - "id": 2279, + "id": 1771, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2261, - "src": "42365:5:1", + "referencedDeclaration": 1753, + "src": "43569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21908,26 +21908,26 @@ "typeString": "address" } ], - "id": 2278, + "id": 1770, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2277, + "id": 1769, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": {} } }, - "id": 2280, + "id": 1772, "isConstant": false, "isLValue": false, "isPure": false, @@ -21935,7 +21935,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42357:14:1", + "src": "43561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -21950,26 +21950,26 @@ "typeString": "uint160" } ], - "id": 2276, + "id": 1768, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2275, + "id": 1767, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": {} } }, - "id": 2281, + "id": 1773, "isConstant": false, "isLValue": false, "isPure": false, @@ -21977,7 +21977,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42349:23:1", + "src": "43553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -21992,26 +21992,26 @@ "typeString": "uint256" } ], - "id": 2274, + "id": 1766, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2273, + "id": 1765, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": {} } }, - "id": 2282, + "id": 1774, "isConstant": false, "isLValue": false, "isPure": false, @@ -22019,7 +22019,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42341:32:1", + "src": "43545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -22030,7 +22030,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22042,18 +22042,18 @@ "typeString": "bytes32" } ], - "id": 2266, + "id": 1758, "name": "_set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1998, - "src": "42310:4:1", + "referencedDeclaration": 1490, + "src": "43514:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)" } }, - "id": 2283, + "id": 1775, "isConstant": false, "isLValue": false, "isPure": false, @@ -22061,58 +22061,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42310:64:1", + "src": "43514:64:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2265, - "id": 2284, + "functionReturnParameters": 1757, + "id": 1776, "nodeType": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ] }, "documentation": { - "id": 2255, + "id": 1747, "nodeType": "StructuredDocumentation", - "src": "41977:216:1", + "src": "43173:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2286, + "id": 1778, "implemented": true, "kind": "function", "modifiers": [], "name": "set", "nodeType": "FunctionDefinition", "parameters": { - "id": 2262, + "id": 1754, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2257, + "id": 1749, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42211:28:1", + "scope": 1778, + "src": "43414:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2256, + "id": 1748, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42211:16:1", + "referencedDeclaration": 1746, + "src": "43414:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22120,12 +22120,12 @@ }, { "constant": false, - "id": 2259, + "id": 1751, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42241:11:1", + "scope": 1778, + "src": "43444:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22133,10 +22133,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2258, + "id": 1750, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42241:7:1", + "src": "43444:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22146,12 +22146,12 @@ }, { "constant": false, - "id": 2261, + "id": 1753, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42254:13:1", + "scope": 1778, + "src": "43457:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22159,10 +22159,10 @@ "typeString": "address" }, "typeName": { - "id": 2260, + "id": 1752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "42254:7:1", + "src": "43457:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -22172,20 +22172,20 @@ "visibility": "internal" } ], - "src": "42210:58:1" + "src": "43413:58:0" }, "returnParameters": { - "id": 2265, + "id": 1757, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2264, + "id": 1756, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42287:4:1", + "scope": 1778, + "src": "43490:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22193,10 +22193,10 @@ "typeString": "bool" }, "typeName": { - "id": 2263, + "id": 1755, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42287:4:1", + "src": "43490:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22205,59 +22205,59 @@ "visibility": "internal" } ], - "src": "42286:6:1" + "src": "43489:6:0" }, - "scope": 2480, - "src": "42198:183:1", + "scope": 1972, + "src": "43401:185:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2305, + "id": 1797, "nodeType": "Block", - "src": "42623:57:1", + "src": "43835:59:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2297, + "id": 1789, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2289, - "src": "42648:3:1", + "referencedDeclaration": 1781, + "src": "43861:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2298, + "id": 1790, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42648:10:1", + "referencedDeclaration": 1745, + "src": "43861:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2301, + "id": 1793, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2291, - "src": "42668:3:1", + "referencedDeclaration": 1783, + "src": "43881:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22271,26 +22271,26 @@ "typeString": "uint256" } ], - "id": 2300, + "id": 1792, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2299, + "id": 1791, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": {} } }, - "id": 2302, + "id": 1794, "isConstant": false, "isLValue": false, "isPure": false, @@ -22298,7 +22298,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42660:12:1", + "src": "43873:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -22309,7 +22309,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22317,18 +22317,18 @@ "typeString": "bytes32" } ], - "id": 2296, + "id": 1788, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2079, - "src": "42640:7:1", + "referencedDeclaration": 1571, + "src": "43853:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)" } }, - "id": 2303, + "id": 1795, "isConstant": false, "isLValue": false, "isPure": false, @@ -22336,58 +22336,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42640:33:1", + "src": "43853:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2295, - "id": 2304, + "functionReturnParameters": 1787, + "id": 1796, "nodeType": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ] }, "documentation": { - "id": 2287, + "id": 1779, "nodeType": "StructuredDocumentation", - "src": "42387:148:1", + "src": "43594:152:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2306, + "id": 1798, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2292, + "id": 1784, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2289, + "id": 1781, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42556:28:1", + "scope": 1798, + "src": "43768:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2288, + "id": 1780, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42556:16:1", + "referencedDeclaration": 1746, + "src": "43768:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22395,12 +22395,12 @@ }, { "constant": false, - "id": 2291, + "id": 1783, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42586:11:1", + "scope": 1798, + "src": "43798:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22408,10 +22408,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2290, + "id": 1782, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42586:7:1", + "src": "43798:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22420,20 +22420,20 @@ "visibility": "internal" } ], - "src": "42555:43:1" + "src": "43767:43:0" }, "returnParameters": { - "id": 2295, + "id": 1787, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2294, + "id": 1786, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42617:4:1", + "scope": 1798, + "src": "43829:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22441,10 +22441,10 @@ "typeString": "bool" }, "typeName": { - "id": 2293, + "id": 1785, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42617:4:1", + "src": "43829:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22453,59 +22453,59 @@ "visibility": "internal" } ], - "src": "42616:6:1" + "src": "43828:6:0" }, - "scope": 2480, - "src": "42540:140:1", + "scope": 1972, + "src": "43752:142:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2325, + "id": 1817, "nodeType": "Block", - "src": "42849:59:1", + "src": "44068:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2317, + "id": 1809, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2309, - "src": "42876:3:1", + "referencedDeclaration": 1801, + "src": "44096:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2318, + "id": 1810, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42876:10:1", + "referencedDeclaration": 1745, + "src": "44096:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2321, + "id": 1813, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2311, - "src": "42896:3:1", + "referencedDeclaration": 1803, + "src": "44116:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22519,26 +22519,26 @@ "typeString": "uint256" } ], - "id": 2320, + "id": 1812, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2319, + "id": 1811, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": {} } }, - "id": 2322, + "id": 1814, "isConstant": false, "isLValue": false, "isPure": false, @@ -22546,7 +22546,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42888:12:1", + "src": "44108:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -22557,7 +22557,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22565,18 +22565,18 @@ "typeString": "bytes32" } ], - "id": 2316, + "id": 1808, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2097, - "src": "42866:9:1", + "referencedDeclaration": 1589, + "src": "44086:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)" } }, - "id": 2323, + "id": 1815, "isConstant": false, "isLValue": false, "isPure": false, @@ -22584,58 +22584,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42866:35:1", + "src": "44086:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2315, - "id": 2324, + "functionReturnParameters": 1807, + "id": 1816, "nodeType": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ] }, "documentation": { - "id": 2307, + "id": 1799, "nodeType": "StructuredDocumentation", - "src": "42686:68:1", + "src": "43902:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2326, + "id": 1818, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2312, + "id": 1804, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2309, + "id": 1801, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42777:28:1", + "scope": 1818, + "src": "43996:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2308, + "id": 1800, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42777:16:1", + "referencedDeclaration": 1746, + "src": "43996:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22643,12 +22643,12 @@ }, { "constant": false, - "id": 2311, + "id": 1803, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42807:11:1", + "scope": 1818, + "src": "44026:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22656,10 +22656,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2310, + "id": 1802, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42807:7:1", + "src": "44026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22668,20 +22668,20 @@ "visibility": "internal" } ], - "src": "42776:43:1" + "src": "43995:43:0" }, "returnParameters": { - "id": 2315, + "id": 1807, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2314, + "id": 1806, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42843:4:1", + "scope": 1818, + "src": "44062:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22689,10 +22689,10 @@ "typeString": "bool" }, "typeName": { - "id": 2313, + "id": 1805, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42843:4:1", + "src": "44062:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22701,47 +22701,47 @@ "visibility": "internal" } ], - "src": "42842:6:1" + "src": "44061:6:0" }, - "scope": 2480, - "src": "42759:149:1", + "scope": 1972, + "src": "43978:151:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2339, + "id": 1831, "nodeType": "Block", - "src": "43069:43:1", + "src": "44295:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2335, + "id": 1827, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2329, - "src": "43094:3:1", + "referencedDeclaration": 1821, + "src": "44321:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2336, + "id": 1828, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43094:10:1", + "referencedDeclaration": 1745, + "src": "44321:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } } @@ -22749,22 +22749,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], - "id": 2334, + "id": 1826, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2110, - "src": "43086:7:1", + "referencedDeclaration": 1602, + "src": "44313:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)" } }, - "id": 2337, + "id": 1829, "isConstant": false, "isLValue": false, "isPure": false, @@ -22772,78 +22772,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43086:19:1", + "src": "44313:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2333, - "id": 2338, + "functionReturnParameters": 1825, + "id": 1830, "nodeType": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ] }, "documentation": { - "id": 2327, + "id": 1819, "nodeType": "StructuredDocumentation", - "src": "42914:72:1", + "src": "44137:74:0", "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2340, + "id": 1832, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2330, + "id": 1822, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2329, + "id": 1821, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43007:28:1", + "scope": 1832, + "src": "44233:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2328, + "id": 1820, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43007:16:1", + "referencedDeclaration": 1746, + "src": "44233:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, "visibility": "internal" } ], - "src": "43006:30:1" + "src": "44232:30:0" }, "returnParameters": { - "id": 2333, + "id": 1825, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2332, + "id": 1824, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43060:7:1", + "scope": 1832, + "src": "44286:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22851,10 +22851,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2331, + "id": 1823, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43060:7:1", + "src": "44286:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22863,34 +22863,34 @@ "visibility": "internal" } ], - "src": "43059:9:1" + "src": "44285:9:0" }, - "scope": 2480, - "src": "42991:121:1", + "scope": 1972, + "src": "44217:123:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2378, + "id": 1870, "nodeType": "Block", - "src": "43538:135:1", + "src": "44777:138:0", "statements": [ { "assignments": [ - 2353, - 2355 + 1845, + 1847 ], "declarations": [ { "constant": false, - "id": 2353, + "id": 1845, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43549:11:1", + "scope": 1870, + "src": "44789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22898,10 +22898,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2352, + "id": 1844, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43549:7:1", + "src": "44789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22911,12 +22911,12 @@ }, { "constant": false, - "id": 2355, + "id": 1847, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43562:13:1", + "scope": 1870, + "src": "44802:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22924,10 +22924,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2354, + "id": 1846, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43562:7:1", + "src": "44802:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22936,43 +22936,43 @@ "visibility": "internal" } ], - "id": 2361, + "id": 1853, "initialValue": { "arguments": [ { "expression": { - "id": 2357, + "id": 1849, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2343, - "src": "43583:3:1", + "referencedDeclaration": 1835, + "src": "44823:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2358, + "id": 1850, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43583:10:1", + "referencedDeclaration": 1745, + "src": "44823:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { - "id": 2359, + "id": 1851, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2345, - "src": "43595:5:1", + "referencedDeclaration": 1837, + "src": "44835:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22982,7 +22982,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22990,18 +22990,18 @@ "typeString": "uint256" } ], - "id": 2356, + "id": 1848, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2145, - "src": "43579:3:1", + "referencedDeclaration": 1637, + "src": "44819:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)" } }, - "id": 2360, + "id": 1852, "isConstant": false, "isLValue": false, "isPure": false, @@ -23009,7 +23009,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43579:22:1", + "src": "44819:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", @@ -23017,7 +23017,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "expression": { @@ -23025,12 +23025,12 @@ { "arguments": [ { - "id": 2364, + "id": 1856, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2353, - "src": "43627:3:1", + "referencedDeclaration": 1845, + "src": "44868:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23044,26 +23044,26 @@ "typeString": "bytes32" } ], - "id": 2363, + "id": 1855, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2362, + "id": 1854, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": {} } }, - "id": 2365, + "id": 1857, "isConstant": false, "isLValue": false, "isPure": false, @@ -23071,7 +23071,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43619:12:1", + "src": "44860:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23085,12 +23085,12 @@ { "arguments": [ { - "id": 2372, + "id": 1864, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2355, - "src": "43657:5:1", + "referencedDeclaration": 1847, + "src": "44898:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23104,26 +23104,26 @@ "typeString": "bytes32" } ], - "id": 2371, + "id": 1863, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2370, + "id": 1862, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": {} } }, - "id": 2373, + "id": 1865, "isConstant": false, "isLValue": false, "isPure": false, @@ -23131,7 +23131,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43649:14:1", + "src": "44890:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23146,26 +23146,26 @@ "typeString": "uint256" } ], - "id": 2369, + "id": 1861, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2368, + "id": 1860, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": {} } }, - "id": 2374, + "id": 1866, "isConstant": false, "isLValue": false, "isPure": false, @@ -23173,7 +23173,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43641:23:1", + "src": "44882:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23188,26 +23188,26 @@ "typeString": "uint160" } ], - "id": 2367, + "id": 1859, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2366, + "id": 1858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": {} } }, - "id": 2375, + "id": 1867, "isConstant": false, "isLValue": false, "isPure": false, @@ -23215,7 +23215,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43633:32:1", + "src": "44874:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -23223,64 +23223,64 @@ } } ], - "id": 2376, + "id": 1868, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "43618:48:1", + "src": "44859:48:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_payable_$", "typeString": "tuple(uint256,address payable)" } }, - "functionReturnParameters": 2351, - "id": 2377, + "functionReturnParameters": 1843, + "id": 1869, "nodeType": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ] }, "documentation": { - "id": 2341, + "id": 1833, "nodeType": "StructuredDocumentation", - "src": "43117:318:1", + "src": "44347:326:0", "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2379, + "id": 1871, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2346, + "id": 1838, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2343, + "id": 1835, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43452:28:1", + "scope": 1871, + "src": "44691:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2342, + "id": 1834, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43452:16:1", + "referencedDeclaration": 1746, + "src": "44691:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23288,12 +23288,12 @@ }, { "constant": false, - "id": 2345, + "id": 1837, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43482:13:1", + "scope": 1871, + "src": "44721:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23301,10 +23301,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2344, + "id": 1836, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43482:7:1", + "src": "44721:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23313,20 +23313,20 @@ "visibility": "internal" } ], - "src": "43451:45:1" + "src": "44690:45:0" }, "returnParameters": { - "id": 2351, + "id": 1843, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2348, + "id": 1840, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43520:7:1", + "scope": 1871, + "src": "44759:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23334,10 +23334,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2347, + "id": 1839, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43520:7:1", + "src": "44759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23347,12 +23347,12 @@ }, { "constant": false, - "id": 2350, + "id": 1842, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43529:7:1", + "scope": 1871, + "src": "44768:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23360,10 +23360,10 @@ "typeString": "address" }, "typeName": { - "id": 2349, + "id": 1841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43529:7:1", + "src": "44768:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23373,34 +23373,34 @@ "visibility": "internal" } ], - "src": "43519:18:1" + "src": "44758:18:0" }, - "scope": 2480, - "src": "43440:233:1", + "scope": 1972, + "src": "44679:236:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2417, + "id": 1909, "nodeType": "Block", - "src": "43950:142:1", + "src": "45200:145:0", "statements": [ { "assignments": [ - 2392, - 2394 + 1884, + 1886 ], "declarations": [ { "constant": false, - "id": 2392, + "id": 1884, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43961:12:1", + "scope": 1909, + "src": "45212:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23408,10 +23408,10 @@ "typeString": "bool" }, "typeName": { - "id": 2391, + "id": 1883, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43961:4:1", + "src": "45212:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23421,12 +23421,12 @@ }, { "constant": false, - "id": 2394, + "id": 1886, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43975:13:1", + "scope": 1909, + "src": "45226:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23434,10 +23434,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2393, + "id": 1885, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43975:7:1", + "src": "45226:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23446,45 +23446,45 @@ "visibility": "internal" } ], - "id": 2403, + "id": 1895, "initialValue": { "arguments": [ { "expression": { - "id": 2396, + "id": 1888, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2382, - "src": "44000:3:1", + "referencedDeclaration": 1874, + "src": "45251:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2397, + "id": 1889, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44000:10:1", + "referencedDeclaration": 1745, + "src": "45251:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2400, + "id": 1892, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2384, - "src": "44020:3:1", + "referencedDeclaration": 1876, + "src": "45271:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23498,26 +23498,26 @@ "typeString": "uint256" } ], - "id": 2399, + "id": 1891, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2398, + "id": 1890, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": {} } }, - "id": 2401, + "id": 1893, "isConstant": false, "isLValue": false, "isPure": false, @@ -23525,7 +23525,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44012:12:1", + "src": "45263:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23536,7 +23536,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23544,18 +23544,18 @@ "typeString": "bytes32" } ], - "id": 2395, + "id": 1887, "name": "_tryGet", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2183, - "src": "43992:7:1", + "referencedDeclaration": 1675, + "src": "45243:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)" } }, - "id": 2402, + "id": 1894, "isConstant": false, "isLValue": false, "isPure": false, @@ -23563,7 +23563,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43992:33:1", + "src": "45243:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", @@ -23571,18 +23571,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "expression": { "components": [ { - "id": 2404, + "id": 1896, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2392, - "src": "44043:7:1", + "referencedDeclaration": 1884, + "src": "45295:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23595,12 +23595,12 @@ { "arguments": [ { - "id": 2411, + "id": 1903, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2394, - "src": "44076:5:1", + "referencedDeclaration": 1886, + "src": "45328:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23614,26 +23614,26 @@ "typeString": "bytes32" } ], - "id": 2410, + "id": 1902, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2409, + "id": 1901, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": {} } }, - "id": 2412, + "id": 1904, "isConstant": false, "isLValue": false, "isPure": false, @@ -23641,7 +23641,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44068:14:1", + "src": "45320:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23656,26 +23656,26 @@ "typeString": "uint256" } ], - "id": 2408, + "id": 1900, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2407, + "id": 1899, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": {} } }, - "id": 2413, + "id": 1905, "isConstant": false, "isLValue": false, "isPure": false, @@ -23683,7 +23683,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44060:23:1", + "src": "45312:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23698,26 +23698,26 @@ "typeString": "uint160" } ], - "id": 2406, + "id": 1898, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2405, + "id": 1897, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": {} } }, - "id": 2414, + "id": 1906, "isConstant": false, "isLValue": false, "isPure": false, @@ -23725,7 +23725,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44052:32:1", + "src": "45304:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -23733,64 +23733,64 @@ } } ], - "id": 2415, + "id": 1907, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "44042:43:1", + "src": "45294:43:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_address_payable_$", "typeString": "tuple(bool,address payable)" } }, - "functionReturnParameters": 2390, - "id": 2416, + "functionReturnParameters": 1882, + "id": 1908, "nodeType": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ] }, "documentation": { - "id": 2380, + "id": 1872, "nodeType": "StructuredDocumentation", - "src": "43679:169:1", + "src": "44923:174:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2418, + "id": 1910, "implemented": true, "kind": "function", "modifiers": [], "name": "tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2385, + "id": 1877, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2382, + "id": 1874, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43869:28:1", + "scope": 1910, + "src": "45119:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2381, + "id": 1873, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43869:16:1", + "referencedDeclaration": 1746, + "src": "45119:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23798,12 +23798,12 @@ }, { "constant": false, - "id": 2384, + "id": 1876, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43899:11:1", + "scope": 1910, + "src": "45149:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23811,10 +23811,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2383, + "id": 1875, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43899:7:1", + "src": "45149:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23823,20 +23823,20 @@ "visibility": "internal" } ], - "src": "43868:43:1" + "src": "45118:43:0" }, "returnParameters": { - "id": 2390, + "id": 1882, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2387, + "id": 1879, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43935:4:1", + "scope": 1910, + "src": "45185:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23844,10 +23844,10 @@ "typeString": "bool" }, "typeName": { - "id": 2386, + "id": 1878, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43935:4:1", + "src": "45185:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23857,12 +23857,12 @@ }, { "constant": false, - "id": 2389, + "id": 1881, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43941:7:1", + "scope": 1910, + "src": "45191:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23870,10 +23870,10 @@ "typeString": "address" }, "typeName": { - "id": 2388, + "id": 1880, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43941:7:1", + "src": "45191:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23883,19 +23883,19 @@ "visibility": "internal" } ], - "src": "43934:15:1" + "src": "45184:15:0" }, - "scope": 2480, - "src": "43853:239:1", + "scope": 1972, + "src": "45103:242:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2446, + "id": 1938, "nodeType": "Block", - "src": "44332:81:1", + "src": "45594:83:0", "statements": [ { "expression": { @@ -23908,40 +23908,40 @@ "arguments": [ { "expression": { - "id": 2435, + "id": 1927, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2421, - "src": "44378:3:1", + "referencedDeclaration": 1913, + "src": "45641:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2436, + "id": 1928, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44378:10:1", + "referencedDeclaration": 1745, + "src": "45641:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2439, + "id": 1931, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2423, - "src": "44398:3:1", + "referencedDeclaration": 1915, + "src": "45661:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23955,26 +23955,26 @@ "typeString": "uint256" } ], - "id": 2438, + "id": 1930, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2437, + "id": 1929, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": {} } }, - "id": 2440, + "id": 1932, "isConstant": false, "isLValue": false, "isPure": false, @@ -23982,7 +23982,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44390:12:1", + "src": "45653:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23993,7 +23993,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -24001,21 +24001,21 @@ "typeString": "bytes32" } ], - "id": 2434, + "id": 1926, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, - "src": "44373:4:1", + "referencedDeclaration": 1708, + "src": "45636:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)" } }, - "id": 2441, + "id": 1933, "isConstant": false, "isLValue": false, "isPure": false, @@ -24023,7 +24023,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44373:30:1", + "src": "45636:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -24038,26 +24038,26 @@ "typeString": "bytes32" } ], - "id": 2433, + "id": 1925, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2432, + "id": 1924, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": {} } }, - "id": 2442, + "id": 1934, "isConstant": false, "isLValue": false, "isPure": false, @@ -24065,7 +24065,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44365:39:1", + "src": "45628:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -24080,26 +24080,26 @@ "typeString": "uint256" } ], - "id": 2431, + "id": 1923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2430, + "id": 1922, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": {} } }, - "id": 2443, + "id": 1935, "isConstant": false, "isLValue": false, "isPure": false, @@ -24107,7 +24107,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44357:48:1", + "src": "45620:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -24122,26 +24122,26 @@ "typeString": "uint160" } ], - "id": 2429, + "id": 1921, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2428, + "id": 1920, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": {} } }, - "id": 2444, + "id": 1936, "isConstant": false, "isLValue": false, "isPure": false, @@ -24149,58 +24149,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44349:57:1", + "src": "45612:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2427, - "id": 2445, + "functionReturnParameters": 1919, + "id": 1937, "nodeType": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ] }, "documentation": { - "id": 2419, + "id": 1911, "nodeType": "StructuredDocumentation", - "src": "44098:141:1", + "src": "45353:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2447, + "id": 1939, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2424, + "id": 1916, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2421, + "id": 1913, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44257:28:1", + "scope": 1939, + "src": "45519:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2420, + "id": 1912, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44257:16:1", + "referencedDeclaration": 1746, + "src": "45519:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -24208,12 +24208,12 @@ }, { "constant": false, - "id": 2423, + "id": 1915, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44287:11:1", + "scope": 1939, + "src": "45549:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24221,10 +24221,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2422, + "id": 1914, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44287:7:1", + "src": "45549:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24233,20 +24233,20 @@ "visibility": "internal" } ], - "src": "44256:43:1" + "src": "45518:43:0" }, "returnParameters": { - "id": 2427, + "id": 1919, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2426, + "id": 1918, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44323:7:1", + "scope": 1939, + "src": "45585:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24254,10 +24254,10 @@ "typeString": "address" }, "typeName": { - "id": 2425, + "id": 1917, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44323:7:1", + "src": "45585:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -24267,19 +24267,19 @@ "visibility": "internal" } ], - "src": "44322:9:1" + "src": "45584:9:0" }, - "scope": 2480, - "src": "44244:169:1", + "scope": 1972, + "src": "45506:171:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2478, + "id": 1970, "nodeType": "Block", - "src": "44809:95:1", + "src": "46081:97:0", "statements": [ { "expression": { @@ -24292,40 +24292,40 @@ "arguments": [ { "expression": { - "id": 2466, + "id": 1958, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2450, - "src": "44855:3:1", + "referencedDeclaration": 1942, + "src": "46128:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2467, + "id": 1959, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44855:10:1", + "referencedDeclaration": 1745, + "src": "46128:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2470, + "id": 1962, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2452, - "src": "44875:3:1", + "referencedDeclaration": 1944, + "src": "46148:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24339,26 +24339,26 @@ "typeString": "uint256" } ], - "id": 2469, + "id": 1961, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2468, + "id": 1960, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": {} } }, - "id": 2471, + "id": 1963, "isConstant": false, "isLValue": false, "isPure": false, @@ -24366,7 +24366,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44867:12:1", + "src": "46140:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -24374,12 +24374,12 @@ } }, { - "id": 2472, + "id": 1964, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2454, - "src": "44881:12:1", + "referencedDeclaration": 1946, + "src": "46154:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -24389,7 +24389,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -24401,21 +24401,21 @@ "typeString": "string memory" } ], - "id": 2465, + "id": 1957, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, - "src": "44850:4:1", + "referencedDeclaration": 1743, + "src": "46123:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)" } }, - "id": 2473, + "id": 1965, "isConstant": false, "isLValue": false, "isPure": false, @@ -24423,7 +24423,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44850:44:1", + "src": "46123:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -24438,26 +24438,26 @@ "typeString": "bytes32" } ], - "id": 2464, + "id": 1956, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2463, + "id": 1955, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": {} } }, - "id": 2474, + "id": 1966, "isConstant": false, "isLValue": false, "isPure": false, @@ -24465,7 +24465,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44842:53:1", + "src": "46115:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -24480,26 +24480,26 @@ "typeString": "uint256" } ], - "id": 2462, + "id": 1954, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2461, + "id": 1953, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": {} } }, - "id": 2475, + "id": 1967, "isConstant": false, "isLValue": false, "isPure": false, @@ -24507,7 +24507,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44834:62:1", + "src": "46107:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -24522,26 +24522,26 @@ "typeString": "uint160" } ], - "id": 2460, + "id": 1952, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2459, + "id": 1951, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": {} } }, - "id": 2476, + "id": 1968, "isConstant": false, "isLValue": false, "isPure": false, @@ -24549,58 +24549,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44826:71:1", + "src": "46099:71:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2458, - "id": 2477, + "functionReturnParameters": 1950, + "id": 1969, "nodeType": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ] }, "documentation": { - "id": 2448, + "id": 1940, "nodeType": "StructuredDocumentation", - "src": "44419:269:1", + "src": "45685:274:0", "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2479, + "id": 1971, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2455, + "id": 1947, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2450, + "id": 1942, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44706:28:1", + "scope": 1971, + "src": "45978:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2449, + "id": 1941, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44706:16:1", + "referencedDeclaration": 1746, + "src": "45978:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -24608,12 +24608,12 @@ }, { "constant": false, - "id": 2452, + "id": 1944, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44736:11:1", + "scope": 1971, + "src": "46008:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24621,10 +24621,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2451, + "id": 1943, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44736:7:1", + "src": "46008:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24634,12 +24634,12 @@ }, { "constant": false, - "id": 2454, + "id": 1946, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44749:26:1", + "scope": 1971, + "src": "46021:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24647,10 +24647,10 @@ "typeString": "string" }, "typeName": { - "id": 2453, + "id": 1945, "name": "string", "nodeType": "ElementaryTypeName", - "src": "44749:6:1", + "src": "46021:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -24659,20 +24659,20 @@ "visibility": "internal" } ], - "src": "44705:71:1" + "src": "45977:71:0" }, "returnParameters": { - "id": 2458, + "id": 1950, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2457, + "id": 1949, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44800:7:1", + "scope": 1971, + "src": "46072:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24680,10 +24680,10 @@ "typeString": "address" }, "typeName": { - "id": 2456, + "id": 1948, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44800:7:1", + "src": "46072:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -24693,20 +24693,20 @@ "visibility": "internal" } ], - "src": "44799:9:1" + "src": "46071:9:0" }, - "scope": 2480, - "src": "44693:211:1", + "scope": 1972, + "src": "45965:213:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "35943:8963:1" + "scope": 2991, + "src": "36981:9200:0" }, { - "id": 2481, + "id": 1973, "literals": [ "solidity", ">=", @@ -24717,7 +24717,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "abstract": false, @@ -24725,24 +24725,24 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 2482, + "id": 1974, "nodeType": "StructuredDocumentation", - "src": "44992:34:1", + "src": "46272:36:0", "text": " @dev String operations." }, "fullyImplemented": true, - "id": 2566, + "id": 2058, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 2564, + "id": 2056, "nodeType": "Block", - "src": "45207:654:1", + "src": "46494:675:0", "statements": [ { "condition": { @@ -24750,18 +24750,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2492, + "id": 1984, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2490, + "id": 1982, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45409:5:1", + "referencedDeclaration": 1977, + "src": "46700:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24771,72 +24771,72 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2491, + "id": 1983, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45418:1:1", + "src": "46709:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45409:10:1", + "src": "46700:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2496, + "id": 1988, "nodeType": "IfStatement", - "src": "45405:51:1", + "src": "46696:53:0", "trueBody": { - "id": 2495, + "id": 1987, "nodeType": "Block", - "src": "45421:35:1", + "src": "46712:37:0", "statements": [ { "expression": { "hexValue": "30", - "id": 2493, + "id": 1985, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "45442:3:1", + "src": "46734:3:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", "typeString": "literal_string \"0\"" }, "value": "0" }, - "functionReturnParameters": 2489, - "id": 2494, + "functionReturnParameters": 1981, + "id": 1986, "nodeType": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ] } }, { "assignments": [ - 2498 + 1990 ], "declarations": [ { "constant": false, - "id": 2498, + "id": 1990, "mutability": "mutable", "name": "temp", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45465:12:1", + "scope": 2056, + "src": "46759:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24844,10 +24844,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2497, + "id": 1989, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45465:7:1", + "src": "46759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24856,35 +24856,35 @@ "visibility": "internal" } ], - "id": 2500, + "id": 1992, "initialValue": { - "id": 2499, + "id": 1991, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45480:5:1", + "referencedDeclaration": 1977, + "src": "46774:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "assignments": [ - 2502 + 1994 ], "declarations": [ { "constant": false, - "id": 2502, + "id": 1994, "mutability": "mutable", "name": "digits", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45495:14:1", + "scope": 2056, + "src": "46790:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24892,10 +24892,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2501, + "id": 1993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45495:7:1", + "src": "46790:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24904,19 +24904,19 @@ "visibility": "internal" } ], - "id": 2503, + "id": 1995, "nodeType": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "body": { - "id": 2514, + "id": 2006, "nodeType": "Block", - "src": "45537:57:1", + "src": "46833:60:0", "statements": [ { "expression": { - "id": 2508, + "id": 2000, "isConstant": false, "isLValue": false, "isPure": false, @@ -24924,14 +24924,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "45551:8:1", + "src": "46848:8:0", "subExpression": { - "id": 2507, + "id": 1999, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45551:6:1", + "referencedDeclaration": 1994, + "src": "46848:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24942,24 +24942,24 @@ "typeString": "uint256" } }, - "id": 2509, + "id": 2001, "nodeType": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "expression": { - "id": 2512, + "id": 2004, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2510, + "id": 2002, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45573:4:1", + "referencedDeclaration": 1990, + "src": "46871:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24969,29 +24969,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2511, + "id": 2003, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45581:2:1", + "src": "46879:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45573:10:1", + "src": "46871:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2513, + "id": 2005, "nodeType": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ] }, @@ -25000,18 +25000,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2506, + "id": 1998, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2504, + "id": 1996, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45526:4:1", + "referencedDeclaration": 1990, + "src": "46822:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25021,43 +25021,43 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2505, + "id": 1997, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45534:1:1", + "src": "46830:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45526:9:1", + "src": "46822:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2515, + "id": 2007, "nodeType": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "assignments": [ - 2517 + 2009 ], "declarations": [ { "constant": false, - "id": 2517, + "id": 2009, "mutability": "mutable", "name": "buffer", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45603:19:1", + "scope": 2056, + "src": "46903:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -25065,10 +25065,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2516, + "id": 2008, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45603:5:1", + "src": "46903:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -25077,16 +25077,16 @@ "visibility": "internal" } ], - "id": 2522, + "id": 2014, "initialValue": { "arguments": [ { - "id": 2520, + "id": 2012, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45635:6:1", + "referencedDeclaration": 1994, + "src": "46935:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25100,29 +25100,29 @@ "typeString": "uint256" } ], - "id": 2519, + "id": 2011, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", - "src": "45625:9:1", + "src": "46925:9:0", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", "typeString": "function (uint256) pure returns (bytes memory)" }, "typeName": { - "id": 2518, + "id": 2010, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45629:5:1", + "src": "46929:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } } }, - "id": 2521, + "id": 2013, "isConstant": false, "isLValue": false, "isPure": false, @@ -25130,7 +25130,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45625:17:1", + "src": "46925:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -25138,21 +25138,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "assignments": [ - 2524 + 2016 ], "declarations": [ { "constant": false, - "id": 2524, + "id": 2016, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45652:13:1", + "scope": 2056, + "src": "46953:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25160,10 +25160,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2523, + "id": 2015, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45652:7:1", + "src": "46953:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25172,24 +25172,24 @@ "visibility": "internal" } ], - "id": 2528, + "id": 2020, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2527, + "id": 2019, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2525, + "id": 2017, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45668:6:1", + "referencedDeclaration": 1994, + "src": "46969:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25199,43 +25199,43 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2526, + "id": 2018, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45677:1:1", + "src": "46978:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "45668:10:1", + "src": "46969:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "expression": { - "id": 2531, + "id": 2023, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2529, + "id": 2021, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45688:4:1", + "referencedDeclaration": 1990, + "src": "46990:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25244,56 +25244,56 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2530, + "id": 2022, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45695:5:1", + "referencedDeclaration": 1977, + "src": "46997:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45688:12:1", + "src": "46990:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2532, + "id": 2024, "nodeType": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "body": { - "id": 2557, + "id": 2049, "nodeType": "Block", - "src": "45728:96:1", + "src": "47031:99:0", "statements": [ { "expression": { - "id": 2551, + "id": 2043, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2536, + "id": 2028, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45742:6:1", + "referencedDeclaration": 2009, + "src": "47046:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2539, + "id": 2031, "indexExpression": { - "id": 2538, + "id": 2030, "isConstant": false, "isLValue": false, "isPure": false, @@ -25301,14 +25301,14 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "45749:7:1", + "src": "47053:7:0", "subExpression": { - "id": 2537, + "id": 2029, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2524, - "src": "45749:5:1", + "referencedDeclaration": 2016, + "src": "47053:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25324,7 +25324,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "45742:15:1", + "src": "47046:15:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -25341,21 +25341,21 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2548, + "id": 2040, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "hexValue": "3438", - "id": 2544, + "id": 2036, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45773:2:1", + "src": "47077:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_48_by_1", "typeString": "int_const 48" @@ -25369,18 +25369,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2547, + "id": 2039, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2545, + "id": 2037, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45778:4:1", + "referencedDeclaration": 1990, + "src": "47082:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25390,27 +25390,27 @@ "operator": "%", "rightExpression": { "hexValue": "3130", - "id": 2546, + "id": 2038, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45785:2:1", + "src": "47089:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45778:9:1", + "src": "47082:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45773:14:1", + "src": "47077:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25424,26 +25424,26 @@ "typeString": "uint256" } ], - "id": 2543, + "id": 2035, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint8_$", "typeString": "type(uint8)" }, "typeName": { - "id": 2542, + "id": 2034, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": {} } }, - "id": 2549, + "id": 2041, "isConstant": false, "isLValue": false, "isPure": false, @@ -25451,7 +25451,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45767:21:1", + "src": "47071:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint8", @@ -25466,26 +25466,26 @@ "typeString": "uint8" } ], - "id": 2541, + "id": 2033, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": { - "id": 2540, + "id": 2032, "name": "bytes1", "nodeType": "ElementaryTypeName", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": {} } }, - "id": 2550, + "id": 2042, "isConstant": false, "isLValue": false, "isPure": false, @@ -25493,37 +25493,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45760:29:1", + "src": "47064:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "45742:47:1", + "src": "47046:47:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "id": 2552, + "id": 2044, "nodeType": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "expression": { - "id": 2555, + "id": 2047, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2553, + "id": 2045, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45803:4:1", + "referencedDeclaration": 1990, + "src": "47108:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25533,29 +25533,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2554, + "id": 2046, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45811:2:1", + "src": "47116:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45803:10:1", + "src": "47108:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2556, + "id": 2048, "nodeType": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ] }, @@ -25564,18 +25564,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2535, + "id": 2027, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2533, + "id": 2025, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45717:4:1", + "referencedDeclaration": 1990, + "src": "47020:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25585,40 +25585,40 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2534, + "id": 2026, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45725:1:1", + "src": "47028:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45717:9:1", + "src": "47020:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2558, + "id": 2050, "nodeType": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "expression": { "arguments": [ { - "id": 2561, + "id": 2053, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45847:6:1", + "referencedDeclaration": 2009, + "src": "47154:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -25632,26 +25632,26 @@ "typeString": "bytes memory" } ], - "id": 2560, + "id": 2052, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2559, + "id": 2051, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": {} } }, - "id": 2562, + "id": 2054, "isConstant": false, "isLValue": false, "isPure": false, @@ -25659,44 +25659,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45840:14:1", + "src": "47147:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2489, - "id": 2563, + "functionReturnParameters": 1981, + "id": 2055, "nodeType": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ] }, "documentation": { - "id": 2483, + "id": 1975, "nodeType": "StructuredDocumentation", - "src": "45049:82:1", + "src": "46333:84:0", "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2565, + "id": 2057, "implemented": true, "kind": "function", "modifiers": [], "name": "toString", "nodeType": "FunctionDefinition", "parameters": { - "id": 2486, + "id": 1978, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2485, + "id": 1977, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45154:13:1", + "scope": 2057, + "src": "46441:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25704,10 +25704,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2484, + "id": 1976, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45154:7:1", + "src": "46441:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25716,20 +25716,20 @@ "visibility": "internal" } ], - "src": "45153:15:1" + "src": "46440:15:0" }, "returnParameters": { - "id": 2489, + "id": 1981, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2488, + "id": 1980, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45192:13:1", + "scope": 2057, + "src": "46479:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -25737,10 +25737,10 @@ "typeString": "string" }, "typeName": { - "id": 2487, + "id": 1979, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45192:6:1", + "src": "46479:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25749,20 +25749,20 @@ "visibility": "internal" } ], - "src": "45191:15:1" + "src": "46478:15:0" }, - "scope": 2566, - "src": "45136:725:1", + "scope": 2058, + "src": "46423:746:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "45027:836:1" + "scope": 2991, + "src": "46310:862:0" }, { - "id": 2567, + "id": 2059, "literals": [ "solidity", ">=", @@ -25773,141 +25773,141 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 2569, + "id": 2061, "name": "Context", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 530, - "src": "46099:7:1", + "referencedDeclaration": 22, + "src": "47417:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 2570, + "id": 2062, "nodeType": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "baseName": { - "id": 2571, + "id": 2063, "name": "ERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 781, - "src": "46108:6:1", + "referencedDeclaration": 273, + "src": "47426:6:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC165_$781", + "typeIdentifier": "t_contract$_ERC165_$273", "typeString": "contract ERC165" } }, - "id": 2572, + "id": 2064, "nodeType": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "baseName": { - "id": 2573, + "id": 2065, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "46116:7:1", + "referencedDeclaration": 147, + "src": "47434:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 2574, + "id": 2066, "nodeType": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "baseName": { - "id": 2575, + "id": 2067, "name": "IERC721Metadata", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 680, - "src": "46125:15:1", + "referencedDeclaration": 172, + "src": "47443:15:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Metadata_$680", + "typeIdentifier": "t_contract$_IERC721Metadata_$172", "typeString": "contract IERC721Metadata" } }, - "id": 2576, + "id": 2068, "nodeType": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "baseName": { - "id": 2577, + "id": 2069, "name": "IERC721Enumerable", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 709, - "src": "46142:17:1", + "referencedDeclaration": 201, + "src": "47460:17:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Enumerable_$709", + "typeIdentifier": "t_contract$_IERC721Enumerable_$201", "typeString": "contract IERC721Enumerable" } }, - "id": 2578, + "id": 2070, "nodeType": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" } ], "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "documentation": { - "id": 2568, + "id": 2060, "nodeType": "StructuredDocumentation", - "src": "45955:124:1", + "src": "47269:127:0", "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": true, - "id": 3498, + "id": 2990, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", "nodeType": "ContractDefinition", "nodes": [ { - "id": 2581, + "id": 2073, "libraryName": { - "id": 2579, + "id": 2071, "name": "SafeMath", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1135, - "src": "46172:8:1", + "referencedDeclaration": 627, + "src": "47491:8:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$1135", + "typeIdentifier": "t_contract$_SafeMath_$627", "typeString": "library SafeMath" } }, "nodeType": "UsingForDirective", - "src": "46166:27:1", + "src": "47485:27:0", "typeName": { - "id": 2580, + "id": 2072, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46185:7:1", + "src": "47504:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25915,25 +25915,25 @@ } }, { - "id": 2584, + "id": 2076, "libraryName": { - "id": 2582, + "id": 2074, "name": "Address", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1430, - "src": "46204:7:1", + "referencedDeclaration": 922, + "src": "47524:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } }, "nodeType": "UsingForDirective", - "src": "46198:26:1", + "src": "47518:26:0", "typeName": { - "id": 2583, + "id": 2075, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46216:7:1", + "src": "47536:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25942,79 +25942,79 @@ } }, { - "id": 2587, + "id": 2079, "libraryName": { - "id": 2585, + "id": 2077, "name": "EnumerableSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1921, - "src": "46235:13:1", + "referencedDeclaration": 1413, + "src": "47556:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableSet_$1921", + "typeIdentifier": "t_contract$_EnumerableSet_$1413", "typeString": "library EnumerableSet" } }, "nodeType": "UsingForDirective", - "src": "46229:46:1", + "src": "47550:46:0", "typeName": { - "id": 2586, + "id": 2078, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46253:21:1", + "referencedDeclaration": 1318, + "src": "47574:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } }, { - "id": 2590, + "id": 2082, "libraryName": { - "id": 2588, + "id": 2080, "name": "EnumerableMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2480, - "src": "46286:13:1", + "referencedDeclaration": 1972, + "src": "47608:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableMap_$2480", + "typeIdentifier": "t_contract$_EnumerableMap_$1972", "typeString": "library EnumerableMap" } }, "nodeType": "UsingForDirective", - "src": "46280:55:1", + "src": "47602:55:0", "typeName": { - "id": 2589, + "id": 2081, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46304:30:1", + "referencedDeclaration": 1746, + "src": "47626:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } } }, { - "id": 2593, + "id": 2085, "libraryName": { - "id": 2591, + "id": 2083, "name": "Strings", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2566, - "src": "46346:7:1", + "referencedDeclaration": 2058, + "src": "47669:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Strings_$2566", + "typeIdentifier": "t_contract$_Strings_$2058", "typeString": "library Strings" } }, "nodeType": "UsingForDirective", - "src": "46340:26:1", + "src": "47663:26:0", "typeName": { - "id": 2592, + "id": 2084, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46358:7:1", + "src": "47681:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26023,12 +26023,12 @@ }, { "constant": true, - "id": 2596, + "id": 2088, "mutability": "constant", "name": "_ERC721_RECEIVED", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46544:53:1", + "scope": 2990, + "src": "47871:53:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26036,10 +26036,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2594, + "id": 2086, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "46544:6:1", + "src": "47871:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26047,14 +26047,14 @@ }, "value": { "hexValue": "30783135306237613032", - "id": 2595, + "id": 2087, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "46587:10:1", + "src": "47914:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_353073666_by_1", "typeString": "int_const 353073666" @@ -26065,44 +26065,44 @@ }, { "constant": false, - "id": 2600, + "id": 2092, "mutability": "mutable", "name": "_holderTokens", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46681:64:1", + "scope": 2990, + "src": "48011:64:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "typeName": { - "id": 2599, + "id": 2091, "keyType": { - "id": 2597, + "id": 2089, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46690:7:1", + "src": "48020:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "46681:42:1", + "src": "48011:42:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "valueType": { - "id": 2598, + "id": 2090, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46701:21:1", + "referencedDeclaration": 1318, + "src": "48031:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } @@ -26111,26 +26111,26 @@ }, { "constant": false, - "id": 2602, + "id": 2094, "mutability": "mutable", "name": "_tokenOwners", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46809:51:1", + "scope": 2990, + "src": "48142:51:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2601, + "id": 2093, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46809:30:1", + "referencedDeclaration": 1746, + "src": "48142:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -26138,12 +26138,12 @@ }, { "constant": false, - "id": 2606, + "id": 2098, "mutability": "mutable", "name": "_tokenApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46916:52:1", + "scope": 2990, + "src": "48252:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26151,28 +26151,28 @@ "typeString": "mapping(uint256 => address)" }, "typeName": { - "id": 2605, + "id": 2097, "keyType": { - "id": 2603, + "id": 2095, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46925:7:1", + "src": "48261:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "46916:28:1", + "src": "48252:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" }, "valueType": { - "id": 2604, + "id": 2096, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46936:7:1", + "src": "48272:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26184,12 +26184,12 @@ }, { "constant": false, - "id": 2612, + "id": 2104, "mutability": "mutable", "name": "_operatorApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47023:73:1", + "scope": 2990, + "src": "48362:73:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26197,46 +26197,46 @@ "typeString": "mapping(address => mapping(address => bool))" }, "typeName": { - "id": 2611, + "id": 2103, "keyType": { - "id": 2607, + "id": 2099, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47032:7:1", + "src": "48371:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47023:46:1", + "src": "48362:46:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" }, "valueType": { - "id": 2610, + "id": 2102, "keyType": { - "id": 2608, + "id": 2100, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47052:7:1", + "src": "48391:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47043:25:1", + "src": "48382:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" }, "valueType": { - "id": 2609, + "id": 2101, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "47063:4:1", + "src": "48402:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -26248,12 +26248,12 @@ }, { "constant": false, - "id": 2614, + "id": 2106, "mutability": "mutable", "name": "_name", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47121:20:1", + "scope": 2990, + "src": "48463:20:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26261,10 +26261,10 @@ "typeString": "string" }, "typeName": { - "id": 2613, + "id": 2105, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47121:6:1", + "src": "48463:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26274,12 +26274,12 @@ }, { "constant": false, - "id": 2616, + "id": 2108, "mutability": "mutable", "name": "_symbol", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47168:22:1", + "scope": 2990, + "src": "48513:22:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26287,10 +26287,10 @@ "typeString": "string" }, "typeName": { - "id": 2615, + "id": 2107, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47168:6:1", + "src": "48513:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26300,12 +26300,12 @@ }, { "constant": false, - "id": 2620, + "id": 2112, "mutability": "mutable", "name": "_tokenURIs", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47236:46:1", + "scope": 2990, + "src": "48584:46:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26313,28 +26313,28 @@ "typeString": "mapping(uint256 => string)" }, "typeName": { - "id": 2619, + "id": 2111, "keyType": { - "id": 2617, + "id": 2109, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "47245:7:1", + "src": "48593:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "47236:27:1", + "src": "48584:27:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string)" }, "valueType": { - "id": 2618, + "id": 2110, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47256:6:1", + "src": "48604:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26345,12 +26345,12 @@ }, { "constant": false, - "id": 2622, + "id": 2114, "mutability": "mutable", "name": "_baseURI", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47305:23:1", + "scope": 2990, + "src": "48656:23:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26358,10 +26358,10 @@ "typeString": "string" }, "typeName": { - "id": 2621, + "id": 2113, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47305:6:1", + "src": "48656:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26371,12 +26371,12 @@ }, { "constant": true, - "id": 2625, + "id": 2117, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48204:57:1", + "scope": 2990, + "src": "49571:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26384,10 +26384,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2623, + "id": 2115, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48204:6:1", + "src": "49571:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26395,14 +26395,14 @@ }, "value": { "hexValue": "30783830616335386364", - "id": 2624, + "id": 2116, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48251:10:1", + "src": "49618:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2158778573_by_1", "typeString": "int_const 2158778573" @@ -26413,12 +26413,12 @@ }, { "constant": true, - "id": 2628, + "id": 2120, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48527:66:1", + "scope": 2990, + "src": "49903:66:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26426,10 +26426,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2626, + "id": 2118, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48527:6:1", + "src": "49903:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26437,14 +26437,14 @@ }, "value": { "hexValue": "30783562356531333966", - "id": 2627, + "id": 2119, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48583:10:1", + "src": "49959:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_1532892063_by_1", "typeString": "int_const 1532892063" @@ -26455,12 +26455,12 @@ }, { "constant": true, - "id": 2631, + "id": 2123, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48898:68:1", + "scope": 2990, + "src": "50283:68:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26468,10 +26468,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2629, + "id": 2121, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48898:6:1", + "src": "50283:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26479,14 +26479,14 @@ }, "value": { "hexValue": "30783738306539643633", - "id": 2630, + "id": 2122, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48956:10:1", + "src": "50341:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2014223715_by_1", "typeString": "int_const 2014223715" @@ -26497,24 +26497,24 @@ }, { "body": { - "id": 2659, + "id": 2151, "nodeType": "Block", - "src": "49143:305:1", + "src": "50533:313:0", "statements": [ { "expression": { - "id": 2641, + "id": 2133, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2639, + "id": 2131, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "49153:5:1", + "referencedDeclaration": 2106, + "src": "50544:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26523,41 +26523,41 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2640, + "id": 2132, "name": "name_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2634, - "src": "49161:5:1", + "referencedDeclaration": 2126, + "src": "50552:5:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49153:13:1", + "src": "50544:13:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2642, + "id": 2134, "nodeType": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "expression": { - "id": 2645, + "id": 2137, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2643, + "id": 2135, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "49176:7:1", + "referencedDeclaration": 2108, + "src": "50568:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26566,37 +26566,37 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2644, + "id": 2136, "name": "symbol_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2636, - "src": "49186:7:1", + "referencedDeclaration": 2128, + "src": "50578:7:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49176:17:1", + "src": "50568:17:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2646, + "id": 2138, "nodeType": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "expression": { "arguments": [ { - "id": 2648, + "id": 2140, "name": "_INTERFACE_ID_ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2625, - "src": "49300:20:1", + "referencedDeclaration": 2117, + "src": "50695:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26610,18 +26610,18 @@ "typeString": "bytes4" } ], - "id": 2647, + "id": 2139, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49281:18:1", + "referencedDeclaration": 272, + "src": "50676:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2649, + "id": 2141, "isConstant": false, "isLValue": false, "isPure": false, @@ -26629,27 +26629,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49281:40:1", + "src": "50676:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2650, + "id": 2142, "nodeType": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "expression": { "arguments": [ { - "id": 2652, + "id": 2144, "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2628, - "src": "49350:29:1", + "referencedDeclaration": 2120, + "src": "50746:29:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26663,18 +26663,18 @@ "typeString": "bytes4" } ], - "id": 2651, + "id": 2143, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49331:18:1", + "referencedDeclaration": 272, + "src": "50727:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2653, + "id": 2145, "isConstant": false, "isLValue": false, "isPure": false, @@ -26682,27 +26682,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49331:49:1", + "src": "50727:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2654, + "id": 2146, "nodeType": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "expression": { "arguments": [ { - "id": 2656, + "id": 2148, "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2631, - "src": "49409:31:1", + "referencedDeclaration": 2123, + "src": "50806:31:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26716,18 +26716,18 @@ "typeString": "bytes4" } ], - "id": 2655, + "id": 2147, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49390:18:1", + "referencedDeclaration": 272, + "src": "50787:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2657, + "id": 2149, "isConstant": false, "isLValue": false, "isPure": false, @@ -26735,43 +26735,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49390:51:1", + "src": "50787:51:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2658, + "id": 2150, "nodeType": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ] }, "documentation": { - "id": 2632, + "id": 2124, "nodeType": "StructuredDocumentation", - "src": "48973:108:1", + "src": "50360:110:0", "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2660, + "id": 2152, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 2637, + "id": 2129, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2634, + "id": 2126, "mutability": "mutable", "name": "name_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49099:19:1", + "scope": 2152, + "src": "50489:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26779,10 +26779,10 @@ "typeString": "string" }, "typeName": { - "id": 2633, + "id": 2125, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49099:6:1", + "src": "50489:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26792,12 +26792,12 @@ }, { "constant": false, - "id": 2636, + "id": 2128, "mutability": "mutable", "name": "symbol_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49120:21:1", + "scope": 2152, + "src": "50510:21:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26805,10 +26805,10 @@ "typeString": "string" }, "typeName": { - "id": 2635, + "id": 2127, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49120:6:1", + "src": "50510:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26817,28 +26817,28 @@ "visibility": "internal" } ], - "src": "49098:44:1" + "src": "50488:44:0" }, "returnParameters": { - "id": 2638, + "id": 2130, "nodeType": "ParameterList", "parameters": [], - "src": "49143:0:1" + "src": "50533:0:0" }, - "scope": 3498, - "src": "49086:362:1", + "scope": 2990, + "src": "50476:370:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { "baseFunctions": [ - 580 + 72 ], "body": { - "id": 2685, + "id": 2177, "nodeType": "Block", - "src": "49588:137:1", + "src": "50991:140:0", "statements": [ { "expression": { @@ -26848,18 +26848,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2675, + "id": 2167, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2670, + "id": 2162, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49606:5:1", + "referencedDeclaration": 2155, + "src": "51010:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26871,14 +26871,14 @@ "arguments": [ { "hexValue": "30", - "id": 2673, + "id": 2165, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "49623:1:1", + "src": "51027:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -26893,26 +26893,26 @@ "typeString": "int_const 0" } ], - "id": 2672, + "id": 2164, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2671, + "id": 2163, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": {} } }, - "id": 2674, + "id": 2166, "isConstant": false, "isLValue": false, "isPure": true, @@ -26920,14 +26920,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49615:10:1", + "src": "51019:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "49606:19:1", + "src": "51010:19:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -26935,14 +26935,14 @@ }, { "hexValue": "4552433732313a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373", - "id": 2676, + "id": 2168, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49627:44:1", + "src": "51031:44:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7395d4d3901c50cdfcab223d072f9aa36241df5d883e62cbf147ee1b05a9e6ba", "typeString": "literal_string \"ERC721: balance query for the zero address\"" @@ -26961,7 +26961,7 @@ "typeString": "literal_string \"ERC721: balance query for the zero address\"" } ], - "id": 2669, + "id": 2161, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -26969,13 +26969,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "49598:7:1", + "src": "51002:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2677, + "id": 2169, "isConstant": false, "isLValue": false, "isPure": false, @@ -26983,16 +26983,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49598:74:1", + "src": "51002:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2678, + "id": 2170, "nodeType": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "expression": { @@ -27001,25 +27001,25 @@ "argumentTypes": [], "expression": { "baseExpression": { - "id": 2679, + "id": 2171, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "49689:13:1", + "referencedDeclaration": 2092, + "src": "51094:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2681, + "id": 2173, "indexExpression": { - "id": 2680, + "id": 2172, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49703:5:1", + "referencedDeclaration": 2155, + "src": "51108:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -27030,27 +27030,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "49689:20:1", + "src": "51094:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2682, + "id": 2174, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 1900, - "src": "49689:27:1", + "referencedDeclaration": 1392, + "src": "51094:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" } }, - "id": 2683, + "id": 2175, "isConstant": false, "isLValue": false, "isPure": false, @@ -27058,51 +27058,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49689:29:1", + "src": "51094:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2668, - "id": 2684, + "functionReturnParameters": 2160, + "id": 2176, "nodeType": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ] }, "documentation": { - "id": 2661, + "id": 2153, "nodeType": "StructuredDocumentation", - "src": "49454:48:1", + "src": "50854:50:0", "text": " @dev See {IERC721-balanceOf}." }, "functionSelector": "70a08231", - "id": 2686, + "id": 2178, "implemented": true, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2665, + "id": 2157, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49561:8:1" + "src": "50964:8:0" }, "parameters": { - "id": 2664, + "id": 2156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2663, + "id": 2155, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49526:13:1", + "scope": 2178, + "src": "50929:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27110,10 +27110,10 @@ "typeString": "address" }, "typeName": { - "id": 2662, + "id": 2154, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49526:7:1", + "src": "50929:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -27123,20 +27123,20 @@ "visibility": "internal" } ], - "src": "49525:15:1" + "src": "50928:15:0" }, "returnParameters": { - "id": 2668, + "id": 2160, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2667, + "id": 2159, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49579:7:1", + "scope": 2178, + "src": "50982:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27144,10 +27144,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2666, + "id": 2158, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49579:7:1", + "src": "50982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27156,33 +27156,33 @@ "visibility": "internal" } ], - "src": "49578:9:1" + "src": "50981:9:0" }, - "scope": 3498, - "src": "49507:218:1", + "scope": 2990, + "src": "50910:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 588 + 80 ], "body": { - "id": 2701, + "id": 2193, "nodeType": "Block", - "src": "49863:94:1", + "src": "51274:96:0", "statements": [ { "expression": { "arguments": [ { - "id": 2697, + "id": 2189, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2689, - "src": "49897:7:1", + "referencedDeclaration": 2181, + "src": "51309:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27190,14 +27190,14 @@ }, { "hexValue": "4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2698, + "id": 2190, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49906:43:1", + "src": "51318:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7481f3df2a424c0755a1ad2356614e9a5a358d461ea2eae1f89cb21cbad00397", "typeString": "literal_string \"ERC721: owner query for nonexistent token\"" @@ -27217,32 +27217,32 @@ } ], "expression": { - "id": 2695, + "id": 2187, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "49880:12:1", + "referencedDeclaration": 2094, + "src": "51292:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2696, + "id": 2188, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "get", "nodeType": "MemberAccess", - "referencedDeclaration": 2479, - "src": "49880:16:1", + "referencedDeclaration": 1971, + "src": "51292:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" } }, - "id": 2699, + "id": 2191, "isConstant": false, "isLValue": false, "isPure": false, @@ -27250,51 +27250,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49880:70:1", + "src": "51292:70:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2694, - "id": 2700, + "functionReturnParameters": 2186, + "id": 2192, "nodeType": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ] }, "documentation": { - "id": 2687, + "id": 2179, "nodeType": "StructuredDocumentation", - "src": "49731:46:1", + "src": "51139:48:0", "text": " @dev See {IERC721-ownerOf}." }, "functionSelector": "6352211e", - "id": 2702, + "id": 2194, "implemented": true, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2691, + "id": 2183, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49836:8:1" + "src": "51247:8:0" }, "parameters": { - "id": 2690, + "id": 2182, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2689, + "id": 2181, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49799:15:1", + "scope": 2194, + "src": "51210:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27302,10 +27302,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2688, + "id": 2180, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49799:7:1", + "src": "51210:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27314,20 +27314,20 @@ "visibility": "internal" } ], - "src": "49798:17:1" + "src": "51209:17:0" }, "returnParameters": { - "id": 2694, + "id": 2186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2693, + "id": 2185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49854:7:1", + "scope": 2194, + "src": "51265:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27335,10 +27335,10 @@ "typeString": "address" }, "typeName": { - "id": 2692, + "id": 2184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49854:7:1", + "src": "51265:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -27348,80 +27348,80 @@ "visibility": "internal" } ], - "src": "49853:9:1" + "src": "51264:9:0" }, - "scope": 3498, - "src": "49782:175:1", + "scope": 2990, + "src": "51193:177:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 665 + 157 ], "body": { - "id": 2711, + "id": 2203, "nodeType": "Block", - "src": "50088:29:1", + "src": "51506:31:0", "statements": [ { "expression": { - "id": 2709, + "id": 2201, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "50105:5:1", + "referencedDeclaration": 2106, + "src": "51524:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2708, - "id": 2710, + "functionReturnParameters": 2200, + "id": 2202, "nodeType": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ] }, "documentation": { - "id": 2703, + "id": 2195, "nodeType": "StructuredDocumentation", - "src": "49963:51:1", + "src": "51378:53:0", "text": " @dev See {IERC721Metadata-name}." }, "functionSelector": "06fdde03", - "id": 2712, + "id": 2204, "implemented": true, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "overrides": { - "id": 2705, + "id": 2197, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50055:8:1" + "src": "51473:8:0" }, "parameters": { - "id": 2704, + "id": 2196, "nodeType": "ParameterList", "parameters": [], - "src": "50032:2:1" + "src": "51450:2:0" }, "returnParameters": { - "id": 2708, + "id": 2200, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2707, + "id": 2199, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2712, - "src": "50073:13:1", + "scope": 2204, + "src": "51491:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27429,10 +27429,10 @@ "typeString": "string" }, "typeName": { - "id": 2706, + "id": 2198, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50073:6:1", + "src": "51491:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27441,80 +27441,80 @@ "visibility": "internal" } ], - "src": "50072:15:1" + "src": "51490:15:0" }, - "scope": 3498, - "src": "50019:98:1", + "scope": 2990, + "src": "51437:100:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 671 + 163 ], "body": { - "id": 2721, + "id": 2213, "nodeType": "Block", - "src": "50252:31:1", + "src": "51677:33:0", "statements": [ { "expression": { - "id": 2719, + "id": 2211, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "50269:7:1", + "referencedDeclaration": 2108, + "src": "51695:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2718, - "id": 2720, + "functionReturnParameters": 2210, + "id": 2212, "nodeType": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ] }, "documentation": { - "id": 2713, + "id": 2205, "nodeType": "StructuredDocumentation", - "src": "50123:53:1", + "src": "51545:55:0", "text": " @dev See {IERC721Metadata-symbol}." }, "functionSelector": "95d89b41", - "id": 2722, + "id": 2214, "implemented": true, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "overrides": { - "id": 2715, + "id": 2207, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50219:8:1" + "src": "51644:8:0" }, "parameters": { - "id": 2714, + "id": 2206, "nodeType": "ParameterList", "parameters": [], - "src": "50196:2:1" + "src": "51621:2:0" }, "returnParameters": { - "id": 2718, + "id": 2210, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2717, + "id": 2209, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2722, - "src": "50237:13:1", + "scope": 2214, + "src": "51662:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27522,10 +27522,10 @@ "typeString": "string" }, "typeName": { - "id": 2716, + "id": 2208, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50237:6:1", + "src": "51662:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27534,22 +27534,22 @@ "visibility": "internal" } ], - "src": "50236:15:1" + "src": "51661:15:0" }, - "scope": 3498, - "src": "50181:102:1", + "scope": 2990, + "src": "51606:104:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 679 + 171 ], "body": { - "id": 2789, + "id": 2281, "nodeType": "Block", - "src": "50437:688:1", + "src": "51869:704:0", "statements": [ { "expression": { @@ -27557,12 +27557,12 @@ { "arguments": [ { - "id": 2733, + "id": 2225, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50463:7:1", + "referencedDeclaration": 2217, + "src": "51896:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27576,18 +27576,18 @@ "typeString": "uint256" } ], - "id": 2732, + "id": 2224, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "50455:7:1", + "referencedDeclaration": 2577, + "src": "51888:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2734, + "id": 2226, "isConstant": false, "isLValue": false, "isPure": false, @@ -27595,7 +27595,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50455:16:1", + "src": "51888:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -27604,14 +27604,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2735, + "id": 2227, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "50473:49:1", + "src": "51906:49:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a2d45c0fba603d40d82d590051761ca952d1ab9d78cca6d0d464d7b6e961a9cb", "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" @@ -27630,7 +27630,7 @@ "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" } ], - "id": 2731, + "id": 2223, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -27638,13 +27638,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "50447:7:1", + "src": "51880:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2736, + "id": 2228, "isConstant": false, "isLValue": false, "isPure": false, @@ -27652,30 +27652,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50447:76:1", + "src": "51880:76:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2737, + "id": 2229, "nodeType": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "assignments": [ - 2739 + 2231 ], "declarations": [ { "constant": false, - "id": 2739, + "id": 2231, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50534:23:1", + "scope": 2281, + "src": "51969:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27683,10 +27683,10 @@ "typeString": "string" }, "typeName": { - "id": 2738, + "id": 2230, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50534:6:1", + "src": "51969:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27695,28 +27695,28 @@ "visibility": "internal" } ], - "id": 2743, + "id": 2235, "initialValue": { "baseExpression": { - "id": 2740, + "id": 2232, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "50560:10:1", + "referencedDeclaration": 2112, + "src": "51995:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 2742, + "id": 2234, "indexExpression": { - "id": 2741, + "id": 2233, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50571:7:1", + "referencedDeclaration": 2217, + "src": "52006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27727,28 +27727,28 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "50560:19:1", + "src": "51995:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "assignments": [ - 2745 + 2237 ], "declarations": [ { "constant": false, - "id": 2745, + "id": 2237, "mutability": "mutable", "name": "base", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50589:18:1", + "scope": 2281, + "src": "52025:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27756,10 +27756,10 @@ "typeString": "string" }, "typeName": { - "id": 2744, + "id": 2236, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50589:6:1", + "src": "52025:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27768,23 +27768,23 @@ "visibility": "internal" } ], - "id": 2748, + "id": 2240, "initialValue": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2746, + "id": 2238, "name": "baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2799, - "src": "50610:7:1", + "referencedDeclaration": 2291, + "src": "52046:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_string_memory_ptr_$", "typeString": "function () view returns (string memory)" } }, - "id": 2747, + "id": 2239, "isConstant": false, "isLValue": false, "isPure": false, @@ -27792,7 +27792,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50610:9:1", + "src": "52046:9:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27800,7 +27800,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "condition": { @@ -27808,7 +27808,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2755, + "id": 2247, "isConstant": false, "isLValue": false, "isPure": false, @@ -27817,12 +27817,12 @@ "expression": { "arguments": [ { - "id": 2751, + "id": 2243, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50698:4:1", + "referencedDeclaration": 2237, + "src": "52137:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27836,26 +27836,26 @@ "typeString": "string memory" } ], - "id": 2750, + "id": 2242, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2749, + "id": 2241, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": {} } }, - "id": 2752, + "id": 2244, "isConstant": false, "isLValue": false, "isPure": false, @@ -27863,21 +27863,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50692:11:1", + "src": "52131:11:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2753, + "id": 2245, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50692:18:1", + "src": "52131:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27887,51 +27887,51 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2754, + "id": 2246, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50714:1:1", + "src": "52153:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50692:23:1", + "src": "52131:23:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2759, + "id": 2251, "nodeType": "IfStatement", - "src": "50688:70:1", + "src": "52127:72:0", "trueBody": { - "id": 2758, + "id": 2250, "nodeType": "Block", - "src": "50717:41:1", + "src": "52156:43:0", "statements": [ { "expression": { - "id": 2756, + "id": 2248, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50738:9:1", + "referencedDeclaration": 2231, + "src": "52178:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2757, + "functionReturnParameters": 2222, + "id": 2249, "nodeType": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ] } @@ -27942,7 +27942,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2766, + "id": 2258, "isConstant": false, "isLValue": false, "isPure": false, @@ -27951,12 +27951,12 @@ "expression": { "arguments": [ { - "id": 2762, + "id": 2254, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50866:9:1", + "referencedDeclaration": 2231, + "src": "52309:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27970,26 +27970,26 @@ "typeString": "string memory" } ], - "id": 2761, + "id": 2253, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2760, + "id": 2252, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": {} } }, - "id": 2763, + "id": 2255, "isConstant": false, "isLValue": false, "isPure": false, @@ -27997,21 +27997,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50860:16:1", + "src": "52303:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2764, + "id": 2256, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50860:23:1", + "src": "52303:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28021,33 +28021,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 2765, + "id": 2257, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50886:1:1", + "src": "52329:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50860:27:1", + "src": "52303:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2777, + "id": 2269, "nodeType": "IfStatement", - "src": "50856:106:1", + "src": "52299:108:0", "trueBody": { - "id": 2776, + "id": 2268, "nodeType": "Block", - "src": "50889:73:1", + "src": "52332:75:0", "statements": [ { "expression": { @@ -28055,24 +28055,24 @@ { "arguments": [ { - "id": 2771, + "id": 2263, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50934:4:1", + "referencedDeclaration": 2237, + "src": "52378:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, { - "id": 2772, + "id": 2264, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50940:9:1", + "referencedDeclaration": 2231, + "src": "52384:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -28091,31 +28091,31 @@ } ], "expression": { - "id": 2769, + "id": 2261, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "50917:3:1", + "src": "52361:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2770, + "id": 2262, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "50917:16:1", + "src": "52361:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2773, + "id": 2265, "isConstant": false, "isLValue": false, "isPure": false, @@ -28123,7 +28123,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50917:33:1", + "src": "52361:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -28138,26 +28138,26 @@ "typeString": "bytes memory" } ], - "id": 2768, + "id": 2260, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2767, + "id": 2259, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": {} } }, - "id": 2774, + "id": 2266, "isConstant": false, "isLValue": false, "isPure": false, @@ -28165,17 +28165,17 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50910:41:1", + "src": "52354:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2775, + "functionReturnParameters": 2222, + "id": 2267, "nodeType": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ] } @@ -28186,12 +28186,12 @@ { "arguments": [ { - "id": 2782, + "id": 2274, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "51092:4:1", + "referencedDeclaration": 2237, + "src": "52539:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -28202,32 +28202,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2783, + "id": 2275, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "51098:7:1", + "referencedDeclaration": 2217, + "src": "52545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2784, + "id": 2276, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toString", "nodeType": "MemberAccess", - "referencedDeclaration": 2565, - "src": "51098:16:1", + "referencedDeclaration": 2057, + "src": "52545:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$bound_to$_t_uint256_$", "typeString": "function (uint256) pure returns (string memory)" } }, - "id": 2785, + "id": 2277, "isConstant": false, "isLValue": false, "isPure": false, @@ -28235,7 +28235,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51098:18:1", + "src": "52545:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -28255,31 +28255,31 @@ } ], "expression": { - "id": 2780, + "id": 2272, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "51075:3:1", + "src": "52522:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2781, + "id": 2273, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "51075:16:1", + "src": "52522:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2786, + "id": 2278, "isConstant": false, "isLValue": false, "isPure": false, @@ -28287,7 +28287,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51075:42:1", + "src": "52522:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -28302,26 +28302,26 @@ "typeString": "bytes memory" } ], - "id": 2779, + "id": 2271, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2778, + "id": 2270, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": {} } }, - "id": 2787, + "id": 2279, "isConstant": false, "isLValue": false, "isPure": false, @@ -28329,51 +28329,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51068:50:1", + "src": "52515:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2788, + "functionReturnParameters": 2222, + "id": 2280, "nodeType": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ] }, "documentation": { - "id": 2723, + "id": 2215, "nodeType": "StructuredDocumentation", - "src": "50289:55:1", + "src": "51718:57:0", "text": " @dev See {IERC721Metadata-tokenURI}." }, "functionSelector": "c87b56dd", - "id": 2790, + "id": 2282, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "overrides": { - "id": 2727, + "id": 2219, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50404:8:1" + "src": "51836:8:0" }, "parameters": { - "id": 2726, + "id": 2218, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2725, + "id": 2217, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50367:15:1", + "scope": 2282, + "src": "51799:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28381,10 +28381,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2724, + "id": 2216, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "50367:7:1", + "src": "51799:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28393,20 +28393,20 @@ "visibility": "internal" } ], - "src": "50366:17:1" + "src": "51798:17:0" }, "returnParameters": { - "id": 2730, + "id": 2222, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2729, + "id": 2221, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50422:13:1", + "scope": 2282, + "src": "51854:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -28414,10 +28414,10 @@ "typeString": "string" }, "typeName": { - "id": 2728, + "id": 2220, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50422:6:1", + "src": "51854:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28426,71 +28426,71 @@ "visibility": "internal" } ], - "src": "50421:15:1" + "src": "51853:15:0" }, - "scope": 3498, - "src": "50349:776:1", + "scope": 2990, + "src": "51781:792:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 2798, + "id": 2290, "nodeType": "Block", - "src": "51420:32:1", + "src": "52875:34:0", "statements": [ { "expression": { - "id": 2796, + "id": 2288, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "51437:8:1", + "referencedDeclaration": 2114, + "src": "52893:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2795, - "id": 2797, + "functionReturnParameters": 2287, + "id": 2289, "nodeType": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ] }, "documentation": { - "id": 2791, + "id": 2283, "nodeType": "StructuredDocumentation", - "src": "51131:221:1", + "src": "52581:225:0", "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, "functionSelector": "6c0360eb", - "id": 2799, + "id": 2291, "implemented": true, "kind": "function", "modifiers": [], "name": "baseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 2792, + "id": 2284, "nodeType": "ParameterList", "parameters": [], - "src": "51373:2:1" + "src": "52828:2:0" }, "returnParameters": { - "id": 2795, + "id": 2287, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2794, + "id": 2286, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2799, - "src": "51405:13:1", + "scope": 2291, + "src": "52860:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -28498,10 +28498,10 @@ "typeString": "string" }, "typeName": { - "id": 2793, + "id": 2285, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51405:6:1", + "src": "52860:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28510,33 +28510,33 @@ "visibility": "internal" } ], - "src": "51404:15:1" + "src": "52859:15:0" }, - "scope": 3498, - "src": "51357:95:1", + "scope": 2990, + "src": "52812:97:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 700 + 192 ], "body": { - "id": 2817, + "id": 2309, "nodeType": "Block", - "src": "51637:54:1", + "src": "53099:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 2814, + "id": 2306, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2804, - "src": "51678:5:1", + "referencedDeclaration": 2296, + "src": "53141:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28552,25 +28552,25 @@ ], "expression": { "baseExpression": { - "id": 2810, + "id": 2302, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "51654:13:1", + "referencedDeclaration": 2092, + "src": "53117:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2812, + "id": 2304, "indexExpression": { - "id": 2811, + "id": 2303, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2802, - "src": "51668:5:1", + "referencedDeclaration": 2294, + "src": "53131:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28581,27 +28581,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "51654:20:1", + "src": "53117:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2813, + "id": 2305, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 1920, - "src": "51654:23:1", + "referencedDeclaration": 1412, + "src": "53117:23:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" } }, - "id": 2815, + "id": 2307, "isConstant": false, "isLValue": false, "isPure": false, @@ -28609,51 +28609,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51654:30:1", + "src": "53117:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2809, - "id": 2816, + "functionReturnParameters": 2301, + "id": 2308, "nodeType": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ] }, "documentation": { - "id": 2800, + "id": 2292, "nodeType": "StructuredDocumentation", - "src": "51458:68:1", + "src": "52917:70:0", "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, "functionSelector": "2f745c59", - "id": 2818, + "id": 2310, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2806, + "id": 2298, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51610:8:1" + "src": "53072:8:0" }, "parameters": { - "id": 2805, + "id": 2297, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2802, + "id": 2294, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51560:13:1", + "scope": 2310, + "src": "53022:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28661,10 +28661,10 @@ "typeString": "address" }, "typeName": { - "id": 2801, + "id": 2293, "name": "address", "nodeType": "ElementaryTypeName", - "src": "51560:7:1", + "src": "53022:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28675,12 +28675,12 @@ }, { "constant": false, - "id": 2804, + "id": 2296, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51575:13:1", + "scope": 2310, + "src": "53037:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28688,10 +28688,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2803, + "id": 2295, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51575:7:1", + "src": "53037:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28700,20 +28700,20 @@ "visibility": "internal" } ], - "src": "51559:30:1" + "src": "53021:30:0" }, "returnParameters": { - "id": 2809, + "id": 2301, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2808, + "id": 2300, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51628:7:1", + "scope": 2310, + "src": "53090:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28721,10 +28721,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2807, + "id": 2299, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51628:7:1", + "src": "53090:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28733,22 +28733,22 @@ "visibility": "internal" } ], - "src": "51627:9:1" + "src": "53089:9:0" }, - "scope": 3498, - "src": "51531:160:1", + "scope": 2990, + "src": "52993:162:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 690 + 182 ], "body": { - "id": 2829, + "id": 2321, "nodeType": "Block", - "src": "51832:138:1", + "src": "53301:141:0", "statements": [ { "expression": { @@ -28756,32 +28756,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2825, + "id": 2317, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "51942:12:1", + "referencedDeclaration": 2094, + "src": "53413:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2826, + "id": 2318, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 2340, - "src": "51942:19:1", + "referencedDeclaration": 1832, + "src": "53413:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" } }, - "id": 2827, + "id": 2319, "isConstant": false, "isLValue": false, "isPure": false, @@ -28789,57 +28789,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51942:21:1", + "src": "53413:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2824, - "id": 2828, + "functionReturnParameters": 2316, + "id": 2320, "nodeType": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ] }, "documentation": { - "id": 2819, + "id": 2311, "nodeType": "StructuredDocumentation", - "src": "51697:60:1", + "src": "53163:62:0", "text": " @dev See {IERC721Enumerable-totalSupply}." }, "functionSelector": "18160ddd", - "id": 2830, + "id": 2322, "implemented": true, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "overrides": { - "id": 2821, + "id": 2313, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51805:8:1" + "src": "53274:8:0" }, "parameters": { - "id": 2820, + "id": 2312, "nodeType": "ParameterList", "parameters": [], - "src": "51782:2:1" + "src": "53251:2:0" }, "returnParameters": { - "id": 2824, + "id": 2316, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2823, + "id": 2315, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2830, - "src": "51823:7:1", + "scope": 2322, + "src": "53292:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28847,10 +28847,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2822, + "id": 2314, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51823:7:1", + "src": "53292:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28859,37 +28859,37 @@ "visibility": "internal" } ], - "src": "51822:9:1" + "src": "53291:9:0" }, - "scope": 3498, - "src": "51762:208:1", + "scope": 2990, + "src": "53231:211:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 708 + 200 ], "body": { - "id": 2848, + "id": 2340, "nodeType": "Block", - "src": "52126:85:1", + "src": "53603:88:0", "statements": [ { "assignments": [ - 2840, + 2332, null ], "declarations": [ { "constant": false, - "id": 2840, + "id": 2332, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2848, - "src": "52137:15:1", + "scope": 2340, + "src": "53615:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28897,10 +28897,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2839, + "id": 2331, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52137:7:1", + "src": "53615:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28910,16 +28910,16 @@ }, null ], - "id": 2845, + "id": 2337, "initialValue": { "arguments": [ { - "id": 2843, + "id": 2335, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2833, - "src": "52174:5:1", + "referencedDeclaration": 2325, + "src": "53652:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28934,32 +28934,32 @@ } ], "expression": { - "id": 2841, + "id": 2333, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "52158:12:1", + "referencedDeclaration": 2094, + "src": "53636:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2842, + "id": 2334, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 2379, - "src": "52158:15:1", + "referencedDeclaration": 1871, + "src": "53636:15:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" } }, - "id": 2844, + "id": 2336, "isConstant": false, "isLValue": false, "isPure": false, @@ -28967,7 +28967,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52158:22:1", + "src": "53636:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_$", @@ -28975,59 +28975,59 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "expression": { - "id": 2846, + "id": 2338, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2840, - "src": "52197:7:1", + "referencedDeclaration": 2332, + "src": "53676:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2838, - "id": 2847, + "functionReturnParameters": 2330, + "id": 2339, "nodeType": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ] }, "documentation": { - "id": 2831, + "id": 2323, "nodeType": "StructuredDocumentation", - "src": "51976:61:1", + "src": "53450:63:0", "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, "functionSelector": "4f6ccce7", - "id": 2849, + "id": 2341, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2835, + "id": 2327, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52099:8:1" + "src": "53576:8:0" }, "parameters": { - "id": 2834, + "id": 2326, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2833, + "id": 2325, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52064:13:1", + "scope": 2341, + "src": "53541:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29035,10 +29035,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2832, + "id": 2324, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52064:7:1", + "src": "53541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29047,20 +29047,20 @@ "visibility": "internal" } ], - "src": "52063:15:1" + "src": "53540:15:0" }, "returnParameters": { - "id": 2838, + "id": 2330, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2837, + "id": 2329, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52117:7:1", + "scope": 2341, + "src": "53594:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29068,10 +29068,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2836, + "id": 2328, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52117:7:1", + "src": "53594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29080,36 +29080,36 @@ "visibility": "internal" } ], - "src": "52116:9:1" + "src": "53593:9:0" }, - "scope": 3498, - "src": "52042:169:1", + "scope": 2990, + "src": "53519:172:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 616 + 108 ], "body": { - "id": 2892, + "id": 2384, "nodeType": "Block", - "src": "52338:325:1", + "src": "53823:334:0", "statements": [ { "assignments": [ - 2859 + 2351 ], "declarations": [ { "constant": false, - "id": 2859, + "id": 2351, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2892, - "src": "52348:13:1", + "scope": 2384, + "src": "53834:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29117,10 +29117,10 @@ "typeString": "address" }, "typeName": { - "id": 2858, + "id": 2350, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52348:7:1", + "src": "53834:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29130,16 +29130,16 @@ "visibility": "internal" } ], - "id": 2864, + "id": 2356, "initialValue": { "arguments": [ { - "id": 2862, + "id": 2354, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52379:7:1", + "referencedDeclaration": 2346, + "src": "53865:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29154,32 +29154,32 @@ } ], "expression": { - "id": 2860, + "id": 2352, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52364:6:1", + "referencedDeclaration": 2990, + "src": "53850:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2861, + "id": 2353, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "52364:14:1", + "referencedDeclaration": 2194, + "src": "53850:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 2863, + "id": 2355, "isConstant": false, "isLValue": false, "isPure": false, @@ -29187,7 +29187,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52364:23:1", + "src": "53850:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -29195,7 +29195,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "expression": { @@ -29205,18 +29205,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2868, + "id": 2360, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2866, + "id": 2358, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52405:2:1", + "referencedDeclaration": 2344, + "src": "53892:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29225,18 +29225,18 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 2867, + "id": 2359, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52411:5:1", + "referencedDeclaration": 2351, + "src": "53898:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52405:11:1", + "src": "53892:11:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29244,14 +29244,14 @@ }, { "hexValue": "4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572", - "id": 2869, + "id": 2361, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52418:35:1", + "src": "53905:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942", "typeString": "literal_string \"ERC721: approval to current owner\"" @@ -29270,7 +29270,7 @@ "typeString": "literal_string \"ERC721: approval to current owner\"" } ], - "id": 2865, + "id": 2357, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29278,13 +29278,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52397:7:1", + "src": "53884:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2870, + "id": 2362, "isConstant": false, "isLValue": false, "isPure": false, @@ -29292,16 +29292,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52397:57:1", + "src": "53884:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2871, + "id": 2363, "nodeType": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "expression": { @@ -29311,7 +29311,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 2883, + "id": 2375, "isConstant": false, "isLValue": false, "isPure": false, @@ -29321,7 +29321,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2876, + "id": 2368, "isConstant": false, "isLValue": false, "isPure": false, @@ -29330,18 +29330,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2873, + "id": 2365, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52473:10:1", + "referencedDeclaration": 10, + "src": "53962:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2874, + "id": 2366, "isConstant": false, "isLValue": false, "isPure": false, @@ -29349,7 +29349,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52473:12:1", + "src": "53962:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29359,18 +29359,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 2875, + "id": 2367, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52489:5:1", + "referencedDeclaration": 2351, + "src": "53978:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52473:21:1", + "src": "53962:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29381,12 +29381,12 @@ "rightExpression": { "arguments": [ { - "id": 2879, + "id": 2371, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52522:5:1", + "referencedDeclaration": 2351, + "src": "54011:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29396,18 +29396,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2880, + "id": 2372, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52529:10:1", + "referencedDeclaration": 10, + "src": "54018:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2881, + "id": 2373, "isConstant": false, "isLValue": false, "isPure": false, @@ -29415,7 +29415,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52529:12:1", + "src": "54018:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29435,32 +29435,32 @@ } ], "expression": { - "id": 2877, + "id": 2369, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52498:6:1", + "referencedDeclaration": 2990, + "src": "53987:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2878, + "id": 2370, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "52498:23:1", + "referencedDeclaration": 2458, + "src": "53987:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 2882, + "id": 2374, "isConstant": false, "isLValue": false, "isPure": false, @@ -29468,14 +29468,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52498:44:1", + "src": "53987:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "52473:69:1", + "src": "53962:69:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29483,14 +29483,14 @@ }, { "hexValue": "4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c", - "id": 2884, + "id": 2376, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52556:58:1", + "src": "54046:58:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_6d83cef3e0cb19b8320a9c5feb26b56bbb08f152a8e61b12eca3302d8d68b23d", "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" @@ -29509,7 +29509,7 @@ "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" } ], - "id": 2872, + "id": 2364, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29517,13 +29517,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52465:7:1", + "src": "53954:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2885, + "id": 2377, "isConstant": false, "isLValue": false, "isPure": false, @@ -29531,39 +29531,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52465:159:1", + "src": "53954:161:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2886, + "id": 2378, "nodeType": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "expression": { "arguments": [ { - "id": 2888, + "id": 2380, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52644:2:1", + "referencedDeclaration": 2344, + "src": "54137:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2889, + "id": 2381, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52648:7:1", + "referencedDeclaration": 2346, + "src": "54141:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29581,18 +29581,18 @@ "typeString": "uint256" } ], - "id": 2887, + "id": 2379, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "52635:8:1", + "referencedDeclaration": 2978, + "src": "54128:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 2890, + "id": 2382, "isConstant": false, "isLValue": false, "isPure": false, @@ -29600,50 +29600,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52635:21:1", + "src": "54128:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2891, + "id": 2383, "nodeType": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ] }, "documentation": { - "id": 2850, + "id": 2342, "nodeType": "StructuredDocumentation", - "src": "52217:46:1", + "src": "53699:48:0", "text": " @dev See {IERC721-approve}." }, "functionSelector": "095ea7b3", - "id": 2893, + "id": 2385, "implemented": true, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "overrides": { - "id": 2856, + "id": 2348, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52329:8:1" + "src": "53814:8:0" }, "parameters": { - "id": 2855, + "id": 2347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2852, + "id": 2344, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52285:10:1", + "scope": 2385, + "src": "53770:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29651,10 +29651,10 @@ "typeString": "address" }, "typeName": { - "id": 2851, + "id": 2343, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52285:7:1", + "src": "53770:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29665,12 +29665,12 @@ }, { "constant": false, - "id": 2854, + "id": 2346, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52297:15:1", + "scope": 2385, + "src": "53782:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29678,10 +29678,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2853, + "id": 2345, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52297:7:1", + "src": "53782:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29690,28 +29690,28 @@ "visibility": "internal" } ], - "src": "52284:29:1" + "src": "53769:29:0" }, "returnParameters": { - "id": 2857, + "id": 2349, "nodeType": "ParameterList", "parameters": [], - "src": "52338:0:1" + "src": "53823:0:0" }, - "scope": 3498, - "src": "52268:395:1", + "scope": 2990, + "src": "53753:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 624 + 116 ], "body": { - "id": 2913, + "id": 2405, "nodeType": "Block", - "src": "52809:132:1", + "src": "54308:136:0", "statements": [ { "expression": { @@ -29719,12 +29719,12 @@ { "arguments": [ { - "id": 2904, + "id": 2396, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52835:7:1", + "referencedDeclaration": 2388, + "src": "54335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29738,18 +29738,18 @@ "typeString": "uint256" } ], - "id": 2903, + "id": 2395, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "52827:7:1", + "referencedDeclaration": 2577, + "src": "54327:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2905, + "id": 2397, "isConstant": false, "isLValue": false, "isPure": false, @@ -29757,7 +29757,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52827:16:1", + "src": "54327:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -29766,14 +29766,14 @@ }, { "hexValue": "4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2906, + "id": 2398, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52845:46:1", + "src": "54345:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9291e0f44949204f2e9b40e6be090924979d6047b2365868f4e9f027722eb89d", "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" @@ -29792,7 +29792,7 @@ "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" } ], - "id": 2902, + "id": 2394, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29800,13 +29800,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52819:7:1", + "src": "54319:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2907, + "id": 2399, "isConstant": false, "isLValue": false, "isPure": false, @@ -29814,39 +29814,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52819:73:1", + "src": "54319:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2908, + "id": 2400, "nodeType": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "expression": { "baseExpression": { - "id": 2909, + "id": 2401, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "52910:15:1", + "referencedDeclaration": 2098, + "src": "54412:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 2911, + "id": 2403, "indexExpression": { - "id": 2910, + "id": 2402, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52926:7:1", + "referencedDeclaration": 2388, + "src": "54428:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29857,50 +29857,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "52910:24:1", + "src": "54412:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2901, - "id": 2912, + "functionReturnParameters": 2393, + "id": 2404, "nodeType": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ] }, "documentation": { - "id": 2894, + "id": 2386, "nodeType": "StructuredDocumentation", - "src": "52669:50:1", + "src": "54165:52:0", "text": " @dev See {IERC721-getApproved}." }, "functionSelector": "081812fc", - "id": 2914, + "id": 2406, "implemented": true, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "overrides": { - "id": 2898, + "id": 2390, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52782:8:1" + "src": "54281:8:0" }, "parameters": { - "id": 2897, + "id": 2389, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2896, + "id": 2388, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52745:15:1", + "scope": 2406, + "src": "54244:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29908,10 +29908,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2895, + "id": 2387, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52745:7:1", + "src": "54244:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29920,20 +29920,20 @@ "visibility": "internal" } ], - "src": "52744:17:1" + "src": "54243:17:0" }, "returnParameters": { - "id": 2901, + "id": 2393, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2900, + "id": 2392, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52800:7:1", + "scope": 2406, + "src": "54299:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29941,10 +29941,10 @@ "typeString": "address" }, "typeName": { - "id": 2899, + "id": 2391, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52800:7:1", + "src": "54299:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29954,22 +29954,22 @@ "visibility": "internal" } ], - "src": "52799:9:1" + "src": "54298:9:0" }, - "scope": 3498, - "src": "52724:217:1", + "scope": 2990, + "src": "54223:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 632 + 124 ], "body": { - "id": 2947, + "id": 2439, "nodeType": "Block", - "src": "53092:206:1", + "src": "54600:211:0", "statements": [ { "expression": { @@ -29979,18 +29979,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2927, + "id": 2419, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2924, + "id": 2416, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53110:8:1", + "referencedDeclaration": 2409, + "src": "54619:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30002,18 +30002,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2925, + "id": 2417, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53122:10:1", + "referencedDeclaration": 10, + "src": "54631:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2926, + "id": 2418, "isConstant": false, "isLValue": false, "isPure": false, @@ -30021,14 +30021,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53122:12:1", + "src": "54631:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "53110:24:1", + "src": "54619:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30036,14 +30036,14 @@ }, { "hexValue": "4552433732313a20617070726f766520746f2063616c6c6572", - "id": 2928, + "id": 2420, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53136:27:1", + "src": "54645:27:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05", "typeString": "literal_string \"ERC721: approve to caller\"" @@ -30062,7 +30062,7 @@ "typeString": "literal_string \"ERC721: approve to caller\"" } ], - "id": 2923, + "id": 2415, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30070,13 +30070,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53102:7:1", + "src": "54611:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2929, + "id": 2421, "isConstant": false, "isLValue": false, "isPure": false, @@ -30084,20 +30084,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53102:62:1", + "src": "54611:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2930, + "id": 2422, "nodeType": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "expression": { - "id": 2938, + "id": 2430, "isConstant": false, "isLValue": false, "isPure": false, @@ -30105,34 +30105,34 @@ "leftHandSide": { "baseExpression": { "baseExpression": { - "id": 2931, + "id": 2423, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53175:18:1", + "referencedDeclaration": 2104, + "src": "54686:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2935, + "id": 2427, "indexExpression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2932, + "id": 2424, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53194:10:1", + "referencedDeclaration": 10, + "src": "54705:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2933, + "id": 2425, "isConstant": false, "isLValue": false, "isPure": false, @@ -30140,7 +30140,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53194:12:1", + "src": "54705:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30152,20 +30152,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53175:32:1", + "src": "54686:32:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2936, + "id": 2428, "indexExpression": { - "id": 2934, + "id": 2426, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53208:8:1", + "referencedDeclaration": 2409, + "src": "54719:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30176,7 +30176,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "53175:42:1", + "src": "54686:42:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30185,26 +30185,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2937, + "id": 2429, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53220:8:1", + "referencedDeclaration": 2411, + "src": "54731:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "53175:53:1", + "src": "54686:53:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2939, + "id": 2431, "nodeType": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "eventCall": { @@ -30213,18 +30213,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2941, + "id": 2433, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53258:10:1", + "referencedDeclaration": 10, + "src": "54770:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2942, + "id": 2434, "isConstant": false, "isLValue": false, "isPure": false, @@ -30232,7 +30232,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53258:12:1", + "src": "54770:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30240,24 +30240,24 @@ } }, { - "id": 2943, + "id": 2435, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53272:8:1", + "referencedDeclaration": 2409, + "src": "54784:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2944, + "id": 2436, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53282:8:1", + "referencedDeclaration": 2411, + "src": "54794:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30279,18 +30279,18 @@ "typeString": "bool" } ], - "id": 2940, + "id": 2432, "name": "ApprovalForAll", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 572, - "src": "53243:14:1", + "referencedDeclaration": 64, + "src": "54755:14:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", "typeString": "function (address,address,bool)" } }, - "id": 2945, + "id": 2437, "isConstant": false, "isLValue": false, "isPure": false, @@ -30298,50 +30298,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53243:48:1", + "src": "54755:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2946, + "id": 2438, "nodeType": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ] }, "documentation": { - "id": 2915, + "id": 2407, "nodeType": "StructuredDocumentation", - "src": "52947:56:1", + "src": "54452:58:0", "text": " @dev See {IERC721-setApprovalForAll}." }, "functionSelector": "a22cb465", - "id": 2948, + "id": 2440, "implemented": true, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2921, + "id": 2413, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53083:8:1" + "src": "54591:8:0" }, "parameters": { - "id": 2920, + "id": 2412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2917, + "id": 2409, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53035:16:1", + "scope": 2440, + "src": "54543:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30349,10 +30349,10 @@ "typeString": "address" }, "typeName": { - "id": 2916, + "id": 2408, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53035:7:1", + "src": "54543:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30363,12 +30363,12 @@ }, { "constant": false, - "id": 2919, + "id": 2411, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53053:13:1", + "scope": 2440, + "src": "54561:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30376,10 +30376,10 @@ "typeString": "bool" }, "typeName": { - "id": 2918, + "id": 2410, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53053:4:1", + "src": "54561:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30388,52 +30388,52 @@ "visibility": "internal" } ], - "src": "53034:33:1" + "src": "54542:33:0" }, "returnParameters": { - "id": 2922, + "id": 2414, "nodeType": "ParameterList", "parameters": [], - "src": "53092:0:1" + "src": "54600:0:0" }, - "scope": 3498, - "src": "53008:290:1", + "scope": 2990, + "src": "54516:295:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 642 + 134 ], "body": { - "id": 2965, + "id": 2457, "nodeType": "Block", - "src": "53467:59:1", + "src": "54985:61:0", "statements": [ { "expression": { "baseExpression": { "baseExpression": { - "id": 2959, + "id": 2451, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53484:18:1", + "referencedDeclaration": 2104, + "src": "55003:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2961, + "id": 2453, "indexExpression": { - "id": 2960, + "id": 2452, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2951, - "src": "53503:5:1", + "referencedDeclaration": 2443, + "src": "55022:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30444,20 +30444,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:25:1", + "src": "55003:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2963, + "id": 2455, "indexExpression": { - "id": 2962, + "id": 2454, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2953, - "src": "53510:8:1", + "referencedDeclaration": 2445, + "src": "55029:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30468,50 +30468,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:35:1", + "src": "55003:35:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2958, - "id": 2964, + "functionReturnParameters": 2450, + "id": 2456, "nodeType": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ] }, "documentation": { - "id": 2949, + "id": 2441, "nodeType": "StructuredDocumentation", - "src": "53304:55:1", + "src": "54819:57:0", "text": " @dev See {IERC721-isApprovedForAll}." }, "functionSelector": "e985e9c5", - "id": 2966, + "id": 2458, "implemented": true, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2955, + "id": 2447, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53443:8:1" + "src": "54961:8:0" }, "parameters": { - "id": 2954, + "id": 2446, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2951, + "id": 2443, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53390:13:1", + "scope": 2458, + "src": "54908:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30519,10 +30519,10 @@ "typeString": "address" }, "typeName": { - "id": 2950, + "id": 2442, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53390:7:1", + "src": "54908:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30533,12 +30533,12 @@ }, { "constant": false, - "id": 2953, + "id": 2445, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53405:16:1", + "scope": 2458, + "src": "54923:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30546,10 +30546,10 @@ "typeString": "address" }, "typeName": { - "id": 2952, + "id": 2444, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53405:7:1", + "src": "54923:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30559,20 +30559,20 @@ "visibility": "internal" } ], - "src": "53389:33:1" + "src": "54907:33:0" }, "returnParameters": { - "id": 2958, + "id": 2450, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2957, + "id": 2449, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53461:4:1", + "scope": 2458, + "src": "54979:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30580,10 +30580,10 @@ "typeString": "bool" }, "typeName": { - "id": 2956, + "id": 2448, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53461:4:1", + "src": "54979:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30592,22 +30592,22 @@ "visibility": "internal" } ], - "src": "53460:6:1" + "src": "54978:6:0" }, - "scope": 3498, - "src": "53364:162:1", + "scope": 2990, + "src": "54882:164:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 608 + 100 ], "body": { - "id": 2992, + "id": 2484, "nodeType": "Block", - "src": "53677:211:1", + "src": "55202:216:0", "statements": [ { "expression": { @@ -30618,18 +30618,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2979, + "id": 2471, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53766:10:1", + "referencedDeclaration": 10, + "src": "55293:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2980, + "id": 2472, "isConstant": false, "isLValue": false, "isPure": false, @@ -30637,7 +30637,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53766:12:1", + "src": "55293:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30645,12 +30645,12 @@ } }, { - "id": 2981, + "id": 2473, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53780:7:1", + "referencedDeclaration": 2465, + "src": "55307:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30668,18 +30668,18 @@ "typeString": "uint256" } ], - "id": 2978, + "id": 2470, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "53747:18:1", + "referencedDeclaration": 2619, + "src": "55274:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 2982, + "id": 2474, "isConstant": false, "isLValue": false, "isPure": false, @@ -30687,7 +30687,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53747:41:1", + "src": "55274:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30696,14 +30696,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 2983, + "id": 2475, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53790:51:1", + "src": "55317:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30722,7 +30722,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 2977, + "id": 2469, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30730,13 +30730,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53739:7:1", + "src": "55266:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2984, + "id": 2476, "isConstant": false, "isLValue": false, "isPure": false, @@ -30744,51 +30744,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53739:103:1", + "src": "55266:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2985, + "id": 2477, "nodeType": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "expression": { "arguments": [ { - "id": 2987, + "id": 2479, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2969, - "src": "53863:4:1", + "referencedDeclaration": 2461, + "src": "55392:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2988, + "id": 2480, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2971, - "src": "53869:2:1", + "referencedDeclaration": 2463, + "src": "55398:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2989, + "id": 2481, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53873:7:1", + "referencedDeclaration": 2465, + "src": "55402:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30810,18 +30810,18 @@ "typeString": "uint256" } ], - "id": 2986, + "id": 2478, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "53853:9:1", + "referencedDeclaration": 2863, + "src": "55382:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 2990, + "id": 2482, "isConstant": false, "isLValue": false, "isPure": false, @@ -30829,50 +30829,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53853:28:1", + "src": "55382:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2991, + "id": 2483, "nodeType": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ] }, "documentation": { - "id": 2967, + "id": 2459, "nodeType": "StructuredDocumentation", - "src": "53532:51:1", + "src": "55054:53:0", "text": " @dev See {IERC721-transferFrom}." }, "functionSelector": "23b872dd", - "id": 2993, + "id": 2485, "implemented": true, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 2975, + "id": 2467, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53668:8:1" + "src": "55193:8:0" }, "parameters": { - "id": 2974, + "id": 2466, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2969, + "id": 2461, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53610:12:1", + "scope": 2485, + "src": "55135:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30880,10 +30880,10 @@ "typeString": "address" }, "typeName": { - "id": 2968, + "id": 2460, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53610:7:1", + "src": "55135:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30894,12 +30894,12 @@ }, { "constant": false, - "id": 2971, + "id": 2463, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53624:10:1", + "scope": 2485, + "src": "55149:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30907,10 +30907,10 @@ "typeString": "address" }, "typeName": { - "id": 2970, + "id": 2462, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53624:7:1", + "src": "55149:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30921,12 +30921,12 @@ }, { "constant": false, - "id": 2973, + "id": 2465, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53636:15:1", + "scope": 2485, + "src": "55161:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30934,10 +30934,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2972, + "id": 2464, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "53636:7:1", + "src": "55161:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30946,63 +30946,63 @@ "visibility": "internal" } ], - "src": "53609:43:1" + "src": "55134:43:0" }, "returnParameters": { - "id": 2976, + "id": 2468, "nodeType": "ParameterList", "parameters": [], - "src": "53677:0:1" + "src": "55202:0:0" }, - "scope": 3498, - "src": "53588:300:1", + "scope": 2990, + "src": "55113:305:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 598 + 90 ], "body": { - "id": 3011, + "id": 2503, "nodeType": "Block", - "src": "54047:56:1", + "src": "55582:58:0", "statements": [ { "expression": { "arguments": [ { - "id": 3005, + "id": 2497, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2996, - "src": "54074:4:1", + "referencedDeclaration": 2488, + "src": "55610:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3006, + "id": 2498, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2998, - "src": "54080:2:1", + "referencedDeclaration": 2490, + "src": "55616:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3007, + "id": 2499, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3000, - "src": "54084:7:1", + "referencedDeclaration": 2492, + "src": "55620:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31010,14 +31010,14 @@ }, { "hexValue": "", - "id": 3008, + "id": 2500, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54093:2:1", + "src": "55629:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -31044,21 +31044,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3004, + "id": 2496, "name": "safeTransferFrom", "nodeType": "Identifier", "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, - "src": "54057:16:1", + "referencedDeclaration": 2534, + "src": "55593:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3009, + "id": 2501, "isConstant": false, "isLValue": false, "isPure": false, @@ -31066,50 +31066,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54057:39:1", + "src": "55593:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3010, + "id": 2502, "nodeType": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ] }, "documentation": { - "id": 2994, + "id": 2486, "nodeType": "StructuredDocumentation", - "src": "53894:55:1", + "src": "55426:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "42842e0e", - "id": 3012, + "id": 2504, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3002, + "id": 2494, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54038:8:1" + "src": "55573:8:0" }, "parameters": { - "id": 3001, + "id": 2493, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2996, + "id": 2488, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53980:12:1", + "scope": 2504, + "src": "55515:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31117,10 +31117,10 @@ "typeString": "address" }, "typeName": { - "id": 2995, + "id": 2487, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53980:7:1", + "src": "55515:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31131,12 +31131,12 @@ }, { "constant": false, - "id": 2998, + "id": 2490, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53994:10:1", + "scope": 2504, + "src": "55529:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31144,10 +31144,10 @@ "typeString": "address" }, "typeName": { - "id": 2997, + "id": 2489, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53994:7:1", + "src": "55529:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31158,12 +31158,12 @@ }, { "constant": false, - "id": 3000, + "id": 2492, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "54006:15:1", + "scope": 2504, + "src": "55541:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31171,10 +31171,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2999, + "id": 2491, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54006:7:1", + "src": "55541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31183,28 +31183,28 @@ "visibility": "internal" } ], - "src": "53979:43:1" + "src": "55514:43:0" }, "returnParameters": { - "id": 3003, + "id": 2495, "nodeType": "ParameterList", "parameters": [], - "src": "54047:0:1" + "src": "55582:0:0" }, - "scope": 3498, - "src": "53954:149:1", + "scope": 2990, + "src": "55489:151:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 654 + 146 ], "body": { - "id": 3041, + "id": 2533, "nodeType": "Block", - "src": "54282:169:1", + "src": "55824:172:0", "statements": [ { "expression": { @@ -31215,18 +31215,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3027, + "id": 2519, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "54319:10:1", + "referencedDeclaration": 10, + "src": "55862:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3028, + "id": 2520, "isConstant": false, "isLValue": false, "isPure": false, @@ -31234,7 +31234,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54319:12:1", + "src": "55862:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -31242,12 +31242,12 @@ } }, { - "id": 3029, + "id": 2521, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54333:7:1", + "referencedDeclaration": 2511, + "src": "55876:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31265,18 +31265,18 @@ "typeString": "uint256" } ], - "id": 3026, + "id": 2518, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "54300:18:1", + "referencedDeclaration": 2619, + "src": "55843:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 3030, + "id": 2522, "isConstant": false, "isLValue": false, "isPure": false, @@ -31284,7 +31284,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54300:41:1", + "src": "55843:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31293,14 +31293,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 3031, + "id": 2523, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54343:51:1", + "src": "55886:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -31319,7 +31319,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 3025, + "id": 2517, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31327,13 +31327,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "54292:7:1", + "src": "55835:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3032, + "id": 2524, "isConstant": false, "isLValue": false, "isPure": false, @@ -31341,63 +31341,63 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54292:103:1", + "src": "55835:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3033, + "id": 2525, "nodeType": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "expression": { "arguments": [ { - "id": 3035, + "id": 2527, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3015, - "src": "54419:4:1", + "referencedDeclaration": 2507, + "src": "55963:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3036, + "id": 2528, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3017, - "src": "54425:2:1", + "referencedDeclaration": 2509, + "src": "55969:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3037, + "id": 2529, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54429:7:1", + "referencedDeclaration": 2511, + "src": "55973:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3038, + "id": 2530, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3021, - "src": "54438:5:1", + "referencedDeclaration": 2513, + "src": "55982:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31423,18 +31423,18 @@ "typeString": "bytes memory" } ], - "id": 3034, + "id": 2526, "name": "_safeTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3071, - "src": "54405:13:1", + "referencedDeclaration": 2563, + "src": "55949:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3039, + "id": 2531, "isConstant": false, "isLValue": false, "isPure": false, @@ -31442,50 +31442,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54405:39:1", + "src": "55949:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3040, + "id": 2532, "nodeType": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ] }, "documentation": { - "id": 3013, + "id": 2505, "nodeType": "StructuredDocumentation", - "src": "54109:55:1", + "src": "55648:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "b88d4fde", - "id": 3042, + "id": 2534, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3023, + "id": 2515, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54273:8:1" + "src": "55815:8:0" }, "parameters": { - "id": 3022, + "id": 2514, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3015, + "id": 2507, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54195:12:1", + "scope": 2534, + "src": "55737:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31493,10 +31493,10 @@ "typeString": "address" }, "typeName": { - "id": 3014, + "id": 2506, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54195:7:1", + "src": "55737:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31507,12 +31507,12 @@ }, { "constant": false, - "id": 3017, + "id": 2509, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54209:10:1", + "scope": 2534, + "src": "55751:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31520,10 +31520,10 @@ "typeString": "address" }, "typeName": { - "id": 3016, + "id": 2508, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54209:7:1", + "src": "55751:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31534,12 +31534,12 @@ }, { "constant": false, - "id": 3019, + "id": 2511, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54221:15:1", + "scope": 2534, + "src": "55763:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31547,10 +31547,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3018, + "id": 2510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54221:7:1", + "src": "55763:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31560,12 +31560,12 @@ }, { "constant": false, - "id": 3021, + "id": 2513, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54238:18:1", + "scope": 2534, + "src": "55780:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31573,10 +31573,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3020, + "id": 2512, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "54238:5:1", + "src": "55780:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31585,60 +31585,60 @@ "visibility": "internal" } ], - "src": "54194:63:1" + "src": "55736:63:0" }, "returnParameters": { - "id": 3024, + "id": 2516, "nodeType": "ParameterList", "parameters": [], - "src": "54282:0:1" + "src": "55824:0:0" }, - "scope": 3498, - "src": "54169:282:1", + "scope": 2990, + "src": "55711:285:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "body": { - "id": 3070, + "id": 2562, "nodeType": "Block", - "src": "55416:166:1", + "src": "56981:169:0", "statements": [ { "expression": { "arguments": [ { - "id": 3055, + "id": 2547, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55436:4:1", + "referencedDeclaration": 2537, + "src": "57002:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3056, + "id": 2548, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55442:2:1", + "referencedDeclaration": 2539, + "src": "57008:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3057, + "id": 2549, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55446:7:1", + "referencedDeclaration": 2541, + "src": "57012:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31660,18 +31660,18 @@ "typeString": "uint256" } ], - "id": 3054, + "id": 2546, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "55426:9:1", + "referencedDeclaration": 2863, + "src": "56992:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3058, + "id": 2550, "isConstant": false, "isLValue": false, "isPure": false, @@ -31679,16 +31679,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55426:28:1", + "src": "56992:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3059, + "id": 2551, "nodeType": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "expression": { @@ -31696,48 +31696,48 @@ { "arguments": [ { - "id": 3062, + "id": 2554, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55495:4:1", + "referencedDeclaration": 2537, + "src": "57062:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3063, + "id": 2555, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55501:2:1", + "referencedDeclaration": 2539, + "src": "57068:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3064, + "id": 2556, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55505:7:1", + "referencedDeclaration": 2541, + "src": "57072:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3065, + "id": 2557, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3051, - "src": "55514:5:1", + "referencedDeclaration": 2543, + "src": "57081:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31763,18 +31763,18 @@ "typeString": "bytes memory" } ], - "id": 3061, + "id": 2553, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "55472:22:1", + "referencedDeclaration": 2954, + "src": "57039:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3066, + "id": 2558, "isConstant": false, "isLValue": false, "isPure": false, @@ -31782,7 +31782,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55472:48:1", + "src": "57039:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31791,14 +31791,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3067, + "id": 2559, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "55522:52:1", + "src": "57089:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -31817,7 +31817,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3060, + "id": 2552, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31825,13 +31825,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "55464:7:1", + "src": "57031:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3068, + "id": 2560, "isConstant": false, "isLValue": false, "isPure": false, @@ -31839,43 +31839,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55464:111:1", + "src": "57031:111:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3069, + "id": 2561, "nodeType": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ] }, "documentation": { - "id": 3043, + "id": 2535, "nodeType": "StructuredDocumentation", - "src": "54457:851:1", + "src": "56004:868:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3071, + "id": 2563, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3052, + "id": 2544, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3045, + "id": 2537, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55336:12:1", + "scope": 2563, + "src": "56901:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31883,10 +31883,10 @@ "typeString": "address" }, "typeName": { - "id": 3044, + "id": 2536, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55336:7:1", + "src": "56901:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31897,12 +31897,12 @@ }, { "constant": false, - "id": 3047, + "id": 2539, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55350:10:1", + "scope": 2563, + "src": "56915:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31910,10 +31910,10 @@ "typeString": "address" }, "typeName": { - "id": 3046, + "id": 2538, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55350:7:1", + "src": "56915:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31924,12 +31924,12 @@ }, { "constant": false, - "id": 3049, + "id": 2541, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55362:15:1", + "scope": 2563, + "src": "56927:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31937,10 +31937,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3048, + "id": 2540, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55362:7:1", + "src": "56927:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31950,12 +31950,12 @@ }, { "constant": false, - "id": 3051, + "id": 2543, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55379:18:1", + "scope": 2563, + "src": "56944:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31963,10 +31963,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3050, + "id": 2542, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "55379:5:1", + "src": "56944:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31975,36 +31975,36 @@ "visibility": "internal" } ], - "src": "55335:63:1" + "src": "56900:63:0" }, "returnParameters": { - "id": 3053, + "id": 2545, "nodeType": "ParameterList", "parameters": [], - "src": "55416:0:1" + "src": "56981:0:0" }, - "scope": 3498, - "src": "55313:269:1", + "scope": 2990, + "src": "56878:272:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3084, + "id": 2576, "nodeType": "Block", - "src": "55956:54:1", + "src": "57534:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 3081, + "id": 2573, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3074, - "src": "55995:7:1", + "referencedDeclaration": 2566, + "src": "57574:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32019,32 +32019,32 @@ } ], "expression": { - "id": 3079, + "id": 2571, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "55973:12:1", + "referencedDeclaration": 2094, + "src": "57552:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3080, + "id": 2572, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "contains", "nodeType": "MemberAccess", - "referencedDeclaration": 2326, - "src": "55973:21:1", + "referencedDeclaration": 1818, + "src": "57552:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" } }, - "id": 3082, + "id": 2574, "isConstant": false, "isLValue": false, "isPure": false, @@ -32052,44 +32052,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55973:30:1", + "src": "57552:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3078, - "id": 3083, + "functionReturnParameters": 2570, + "id": 2575, "nodeType": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ] }, "documentation": { - "id": 3072, + "id": 2564, "nodeType": "StructuredDocumentation", - "src": "55588:292:1", + "src": "57158:299:0", "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3085, + "id": 2577, "implemented": true, "kind": "function", "modifiers": [], "name": "_exists", "nodeType": "FunctionDefinition", "parameters": { - "id": 3075, + "id": 2567, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3074, + "id": 2566, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55902:15:1", + "scope": 2577, + "src": "57480:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32097,10 +32097,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3073, + "id": 2565, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55902:7:1", + "src": "57480:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32109,20 +32109,20 @@ "visibility": "internal" } ], - "src": "55901:17:1" + "src": "57479:17:0" }, "returnParameters": { - "id": 3078, + "id": 2570, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3077, + "id": 2569, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55950:4:1", + "scope": 2577, + "src": "57528:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32130,10 +32130,10 @@ "typeString": "bool" }, "typeName": { - "id": 3076, + "id": 2568, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "55950:4:1", + "src": "57528:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32142,19 +32142,19 @@ "visibility": "internal" } ], - "src": "55949:6:1" + "src": "57527:6:0" }, - "scope": 3498, - "src": "55885:125:1", + "scope": 2990, + "src": "57463:127:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3126, + "id": 2618, "nodeType": "Block", - "src": "56267:252:1", + "src": "57856:256:0", "statements": [ { "expression": { @@ -32162,12 +32162,12 @@ { "arguments": [ { - "id": 3097, + "id": 2589, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56293:7:1", + "referencedDeclaration": 2582, + "src": "57883:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32181,18 +32181,18 @@ "typeString": "uint256" } ], - "id": 3096, + "id": 2588, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "56285:7:1", + "referencedDeclaration": 2577, + "src": "57875:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3098, + "id": 2590, "isConstant": false, "isLValue": false, "isPure": false, @@ -32200,7 +32200,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56285:16:1", + "src": "57875:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -32209,14 +32209,14 @@ }, { "hexValue": "4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 3099, + "id": 2591, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56303:46:1", + "src": "57893:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5797d1ccb08b83980dd0c07ea40d8f6a64d35fff736a19bdd17522954cb0899c", "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" @@ -32235,7 +32235,7 @@ "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" } ], - "id": 3095, + "id": 2587, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -32243,13 +32243,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "56277:7:1", + "src": "57867:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3100, + "id": 2592, "isConstant": false, "isLValue": false, "isPure": false, @@ -32257,30 +32257,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56277:73:1", + "src": "57867:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3101, + "id": 2593, "nodeType": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "assignments": [ - 3103 + 2595 ], "declarations": [ { "constant": false, - "id": 3103, + "id": 2595, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3126, - "src": "56360:13:1", + "scope": 2618, + "src": "57951:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32288,10 +32288,10 @@ "typeString": "address" }, "typeName": { - "id": 3102, + "id": 2594, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56360:7:1", + "src": "57951:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32301,16 +32301,16 @@ "visibility": "internal" } ], - "id": 3108, + "id": 2600, "initialValue": { "arguments": [ { - "id": 3106, + "id": 2598, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56391:7:1", + "referencedDeclaration": 2582, + "src": "57982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32325,32 +32325,32 @@ } ], "expression": { - "id": 3104, + "id": 2596, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56376:6:1", + "referencedDeclaration": 2990, + "src": "57967:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3105, + "id": 2597, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "56376:14:1", + "referencedDeclaration": 2194, + "src": "57967:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3107, + "id": 2599, "isConstant": false, "isLValue": false, "isPure": false, @@ -32358,7 +32358,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56376:23:1", + "src": "57967:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -32366,7 +32366,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "expression": { @@ -32376,7 +32376,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3123, + "id": 2615, "isConstant": false, "isLValue": false, "isPure": false, @@ -32386,7 +32386,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3117, + "id": 2609, "isConstant": false, "isLValue": false, "isPure": false, @@ -32396,18 +32396,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3111, + "id": 2603, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3109, + "id": 2601, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56417:7:1", + "referencedDeclaration": 2580, + "src": "58009:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32416,18 +32416,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3110, + "id": 2602, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56428:5:1", + "referencedDeclaration": 2595, + "src": "58020:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56417:16:1", + "src": "58009:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32440,7 +32440,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3116, + "id": 2608, "isConstant": false, "isLValue": false, "isPure": false, @@ -32448,12 +32448,12 @@ "leftExpression": { "arguments": [ { - "id": 3113, + "id": 2605, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56449:7:1", + "referencedDeclaration": 2582, + "src": "58041:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32467,18 +32467,18 @@ "typeString": "uint256" } ], - "id": 3112, + "id": 2604, "name": "getApproved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "56437:11:1", + "referencedDeclaration": 2406, + "src": "58029:11:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3114, + "id": 2606, "isConstant": false, "isLValue": false, "isPure": false, @@ -32486,7 +32486,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56437:20:1", + "src": "58029:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -32496,24 +32496,24 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3115, + "id": 2607, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56461:7:1", + "referencedDeclaration": 2580, + "src": "58053:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56437:31:1", + "src": "58029:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:51:1", + "src": "58009:51:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32524,24 +32524,24 @@ "rightExpression": { "arguments": [ { - "id": 3120, + "id": 2612, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56496:5:1", + "referencedDeclaration": 2595, + "src": "58088:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3121, + "id": 2613, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56503:7:1", + "referencedDeclaration": 2580, + "src": "58095:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32560,32 +32560,32 @@ } ], "expression": { - "id": 3118, + "id": 2610, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56472:6:1", + "referencedDeclaration": 2990, + "src": "58064:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3119, + "id": 2611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "56472:23:1", + "referencedDeclaration": 2458, + "src": "58064:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 3122, + "id": 2614, "isConstant": false, "isLValue": false, "isPure": false, @@ -32593,64 +32593,64 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56472:39:1", + "src": "58064:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:94:1", + "src": "58009:94:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3124, + "id": 2616, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "56416:96:1", + "src": "58008:96:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3094, - "id": 3125, + "functionReturnParameters": 2586, + "id": 2617, "nodeType": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ] }, "documentation": { - "id": 3086, + "id": 2578, "nodeType": "StructuredDocumentation", - "src": "56016:147:1", + "src": "57598:153:0", "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3127, + "id": 2619, "implemented": true, "kind": "function", "modifiers": [], "name": "_isApprovedOrOwner", "nodeType": "FunctionDefinition", "parameters": { - "id": 3091, + "id": 2583, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3088, + "id": 2580, "mutability": "mutable", "name": "spender", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56196:15:1", + "scope": 2619, + "src": "57785:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32658,10 +32658,10 @@ "typeString": "address" }, "typeName": { - "id": 3087, + "id": 2579, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56196:7:1", + "src": "57785:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32672,12 +32672,12 @@ }, { "constant": false, - "id": 3090, + "id": 2582, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56213:15:1", + "scope": 2619, + "src": "57802:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32685,10 +32685,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3089, + "id": 2581, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56213:7:1", + "src": "57802:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32697,20 +32697,20 @@ "visibility": "internal" } ], - "src": "56195:34:1" + "src": "57784:34:0" }, "returnParameters": { - "id": 3094, + "id": 2586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3093, + "id": 2585, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56261:4:1", + "scope": 2619, + "src": "57850:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32718,10 +32718,10 @@ "typeString": "bool" }, "typeName": { - "id": 3092, + "id": 2584, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "56261:4:1", + "src": "57850:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32730,42 +32730,42 @@ "visibility": "internal" } ], - "src": "56260:6:1" + "src": "57849:6:0" }, - "scope": 3498, - "src": "56168:351:1", + "scope": 2990, + "src": "57757:355:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3141, + "id": 2633, "nodeType": "Block", - "src": "56915:43:1", + "src": "58520:45:0", "statements": [ { "expression": { "arguments": [ { - "id": 3136, + "id": 2628, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3130, - "src": "56935:2:1", + "referencedDeclaration": 2622, + "src": "58541:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3137, + "id": 2629, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3132, - "src": "56939:7:1", + "referencedDeclaration": 2624, + "src": "58545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32773,14 +32773,14 @@ }, { "hexValue": "", - "id": 3138, + "id": 2630, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56948:2:1", + "src": "58554:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -32803,21 +32803,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3135, + "id": 2627, "name": "_safeMint", "nodeType": "Identifier", "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, - "src": "56925:9:1", + "referencedDeclaration": 2663, + "src": "58531:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,uint256,bytes memory)" } }, - "id": 3139, + "id": 2631, "isConstant": false, "isLValue": false, "isPure": false, @@ -32825,43 +32825,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56925:26:1", + "src": "58531:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3140, + "id": 2632, "nodeType": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ] }, "documentation": { - "id": 3128, + "id": 2620, "nodeType": "StructuredDocumentation", - "src": "56525:320:1", + "src": "58120:329:0", "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3142, + "id": 2634, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3133, + "id": 2625, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3130, + "id": 2622, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56869:10:1", + "scope": 2634, + "src": "58474:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32869,10 +32869,10 @@ "typeString": "address" }, "typeName": { - "id": 3129, + "id": 2621, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56869:7:1", + "src": "58474:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32883,12 +32883,12 @@ }, { "constant": false, - "id": 3132, + "id": 2624, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56881:15:1", + "scope": 2634, + "src": "58486:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32896,10 +32896,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3131, + "id": 2623, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56881:7:1", + "src": "58486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32908,48 +32908,48 @@ "visibility": "internal" } ], - "src": "56868:29:1" + "src": "58473:29:0" }, "returnParameters": { - "id": 3134, + "id": 2626, "nodeType": "ParameterList", "parameters": [], - "src": "56915:0:1" + "src": "58520:0:0" }, - "scope": 3498, - "src": "56850:108:1", + "scope": 2990, + "src": "58455:110:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3170, + "id": 2662, "nodeType": "Block", - "src": "57264:162:1", + "src": "58877:165:0", "statements": [ { "expression": { "arguments": [ { - "id": 3153, + "id": 2645, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57280:2:1", + "referencedDeclaration": 2637, + "src": "58894:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3154, + "id": 2646, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57284:7:1", + "referencedDeclaration": 2639, + "src": "58898:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32967,18 +32967,18 @@ "typeString": "uint256" } ], - "id": 3152, + "id": 2644, "name": "_mint", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3230, - "src": "57274:5:1", + "referencedDeclaration": 2722, + "src": "58888:5:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3155, + "id": 2647, "isConstant": false, "isLValue": false, "isPure": false, @@ -32986,16 +32986,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57274:18:1", + "src": "58888:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3156, + "id": 2648, "nodeType": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "expression": { @@ -33006,14 +33006,14 @@ "arguments": [ { "hexValue": "30", - "id": 3161, + "id": 2653, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57341:1:1", + "src": "58956:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33028,26 +33028,26 @@ "typeString": "int_const 0" } ], - "id": 3160, + "id": 2652, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3159, + "id": 2651, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": {} } }, - "id": 3162, + "id": 2654, "isConstant": false, "isLValue": false, "isPure": true, @@ -33055,7 +33055,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57333:10:1", + "src": "58948:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33063,36 +33063,36 @@ } }, { - "id": 3163, + "id": 2655, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57345:2:1", + "referencedDeclaration": 2637, + "src": "58960:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3164, + "id": 2656, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57349:7:1", + "referencedDeclaration": 2639, + "src": "58964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3165, + "id": 2657, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3149, - "src": "57358:5:1", + "referencedDeclaration": 2641, + "src": "58973:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -33118,18 +33118,18 @@ "typeString": "bytes memory" } ], - "id": 3158, + "id": 2650, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "57310:22:1", + "referencedDeclaration": 2954, + "src": "58925:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3166, + "id": 2658, "isConstant": false, "isLValue": false, "isPure": false, @@ -33137,7 +33137,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57310:54:1", + "src": "58925:54:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -33146,14 +33146,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3167, + "id": 2659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57366:52:1", + "src": "58981:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -33172,7 +33172,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3157, + "id": 2649, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33180,13 +33180,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57302:7:1", + "src": "58917:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3168, + "id": 2660, "isConstant": false, "isLValue": false, "isPure": false, @@ -33194,43 +33194,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57302:117:1", + "src": "58917:117:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3169, + "id": 2661, "nodeType": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ] }, "documentation": { - "id": 3143, + "id": 2635, "nodeType": "StructuredDocumentation", - "src": "56964:210:1", + "src": "58573:213:0", "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3171, + "id": 2663, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3150, + "id": 2642, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3145, + "id": 2637, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57198:10:1", + "scope": 2663, + "src": "58811:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33238,10 +33238,10 @@ "typeString": "address" }, "typeName": { - "id": 3144, + "id": 2636, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57198:7:1", + "src": "58811:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33252,12 +33252,12 @@ }, { "constant": false, - "id": 3147, + "id": 2639, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57210:15:1", + "scope": 2663, + "src": "58823:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33265,10 +33265,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3146, + "id": 2638, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57210:7:1", + "src": "58823:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33278,12 +33278,12 @@ }, { "constant": false, - "id": 3149, + "id": 2641, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57227:18:1", + "scope": 2663, + "src": "58840:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -33291,10 +33291,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3148, + "id": 2640, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "57227:5:1", + "src": "58840:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -33303,25 +33303,25 @@ "visibility": "internal" } ], - "src": "57197:49:1" + "src": "58810:49:0" }, "returnParameters": { - "id": 3151, + "id": 2643, "nodeType": "ParameterList", "parameters": [], - "src": "57264:0:1" + "src": "58877:0:0" }, - "scope": 3498, - "src": "57179:247:1", + "scope": 2990, + "src": "58792:250:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3229, + "id": 2721, "nodeType": "Block", - "src": "57809:332:1", + "src": "59439:343:0", "statements": [ { "expression": { @@ -33331,18 +33331,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3185, + "id": 2677, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3180, + "id": 2672, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57827:2:1", + "referencedDeclaration": 2666, + "src": "59458:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33354,14 +33354,14 @@ "arguments": [ { "hexValue": "30", - "id": 3183, + "id": 2675, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57841:1:1", + "src": "59472:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33376,26 +33376,26 @@ "typeString": "int_const 0" } ], - "id": 3182, + "id": 2674, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3181, + "id": 2673, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": {} } }, - "id": 3184, + "id": 2676, "isConstant": false, "isLValue": false, "isPure": true, @@ -33403,14 +33403,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57833:10:1", + "src": "59464:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "57827:16:1", + "src": "59458:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -33418,14 +33418,14 @@ }, { "hexValue": "4552433732313a206d696e7420746f20746865207a65726f2061646472657373", - "id": 3186, + "id": 2678, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57845:34:1", + "src": "59476:34:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6", "typeString": "literal_string \"ERC721: mint to the zero address\"" @@ -33444,7 +33444,7 @@ "typeString": "literal_string \"ERC721: mint to the zero address\"" } ], - "id": 3179, + "id": 2671, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33452,13 +33452,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57819:7:1", + "src": "59450:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3187, + "id": 2679, "isConstant": false, "isLValue": false, "isPure": false, @@ -33466,22 +33466,22 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57819:61:1", + "src": "59450:61:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3188, + "id": 2680, "nodeType": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "expression": { "arguments": [ { - "id": 3193, + "id": 2685, "isConstant": false, "isLValue": false, "isPure": false, @@ -33489,16 +33489,16 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "57898:17:1", + "src": "59530:17:0", "subExpression": { "arguments": [ { - "id": 3191, + "id": 2683, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57907:7:1", + "referencedDeclaration": 2668, + "src": "59539:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33512,18 +33512,18 @@ "typeString": "uint256" } ], - "id": 3190, + "id": 2682, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "57899:7:1", + "referencedDeclaration": 2577, + "src": "59531:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3192, + "id": 2684, "isConstant": false, "isLValue": false, "isPure": false, @@ -33531,7 +33531,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57899:16:1", + "src": "59531:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -33545,14 +33545,14 @@ }, { "hexValue": "4552433732313a20746f6b656e20616c7265616479206d696e746564", - "id": 3194, + "id": 2686, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57917:30:1", + "src": "59549:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57", "typeString": "literal_string \"ERC721: token already minted\"" @@ -33571,7 +33571,7 @@ "typeString": "literal_string \"ERC721: token already minted\"" } ], - "id": 3189, + "id": 2681, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33579,13 +33579,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57890:7:1", + "src": "59522:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3195, + "id": 2687, "isConstant": false, "isLValue": false, "isPure": false, @@ -33593,16 +33593,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57890:58:1", + "src": "59522:58:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3196, + "id": 2688, "nodeType": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "expression": { @@ -33611,14 +33611,14 @@ "arguments": [ { "hexValue": "30", - "id": 3200, + "id": 2692, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57988:1:1", + "src": "59622:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33633,26 +33633,26 @@ "typeString": "int_const 0" } ], - "id": 3199, + "id": 2691, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3198, + "id": 2690, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": {} } }, - "id": 3201, + "id": 2693, "isConstant": false, "isLValue": false, "isPure": true, @@ -33660,7 +33660,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57980:10:1", + "src": "59614:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33668,24 +33668,24 @@ } }, { - "id": 3202, + "id": 2694, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57992:2:1", + "referencedDeclaration": 2666, + "src": "59626:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3203, + "id": 2695, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57996:7:1", + "referencedDeclaration": 2668, + "src": "59630:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33707,18 +33707,18 @@ "typeString": "uint256" } ], - "id": 3197, + "id": 2689, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "57959:20:1", + "referencedDeclaration": 2989, + "src": "59593:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3204, + "id": 2696, "isConstant": false, "isLValue": false, "isPure": false, @@ -33726,27 +33726,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57959:45:1", + "src": "59593:45:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3205, + "id": 2697, "nodeType": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "expression": { "arguments": [ { - "id": 3210, + "id": 2702, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58037:7:1", + "referencedDeclaration": 2668, + "src": "59673:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33762,25 +33762,25 @@ ], "expression": { "baseExpression": { - "id": 3206, + "id": 2698, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58015:13:1", + "referencedDeclaration": 2092, + "src": "59651:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3208, + "id": 2700, "indexExpression": { - "id": 3207, + "id": 2699, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58029:2:1", + "referencedDeclaration": 2666, + "src": "59665:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33791,27 +33791,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58015:17:1", + "src": "59651:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3209, + "id": 2701, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "58015:21:1", + "referencedDeclaration": 1338, + "src": "59651:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3211, + "id": 2703, "isConstant": false, "isLValue": false, "isPure": false, @@ -33819,39 +33819,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58015:30:1", + "src": "59651:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3212, + "id": 2704, "nodeType": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "expression": { "arguments": [ { - "id": 3216, + "id": 2708, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58073:7:1", + "referencedDeclaration": 2668, + "src": "59711:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3217, + "id": 2709, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58082:2:1", + "referencedDeclaration": 2666, + "src": "59720:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33870,32 +33870,32 @@ } ], "expression": { - "id": 3213, + "id": 2705, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58056:12:1", + "referencedDeclaration": 2094, + "src": "59694:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3215, + "id": 2707, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "58056:16:1", + "referencedDeclaration": 1778, + "src": "59694:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3218, + "id": 2710, "isConstant": false, "isLValue": false, "isPure": false, @@ -33903,16 +33903,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58056:29:1", + "src": "59694:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3219, + "id": 2711, "nodeType": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "eventCall": { @@ -33921,14 +33921,14 @@ "arguments": [ { "hexValue": "30", - "id": 3223, + "id": 2715, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58118:1:1", + "src": "59758:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33943,26 +33943,26 @@ "typeString": "int_const 0" } ], - "id": 3222, + "id": 2714, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3221, + "id": 2713, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": {} } }, - "id": 3224, + "id": 2716, "isConstant": false, "isLValue": false, "isPure": true, @@ -33970,7 +33970,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58110:10:1", + "src": "59750:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33978,24 +33978,24 @@ } }, { - "id": 3225, + "id": 2717, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58122:2:1", + "referencedDeclaration": 2666, + "src": "59762:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3226, + "id": 2718, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58126:7:1", + "referencedDeclaration": 2668, + "src": "59766:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34017,18 +34017,18 @@ "typeString": "uint256" } ], - "id": 3220, + "id": 2712, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58101:8:1", + "referencedDeclaration": 46, + "src": "59741:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3227, + "id": 2719, "isConstant": false, "isLValue": false, "isPure": false, @@ -34036,43 +34036,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58101:33:1", + "src": "59741:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3228, + "id": 2720, "nodeType": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ] }, "documentation": { - "id": 3172, + "id": 2664, "nodeType": "StructuredDocumentation", - "src": "57432:311:1", + "src": "59050:322:0", "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3230, + "id": 2722, "implemented": true, "kind": "function", "modifiers": [], "name": "_mint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3177, + "id": 2669, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3174, + "id": 2666, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57763:10:1", + "scope": 2722, + "src": "59393:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34080,10 +34080,10 @@ "typeString": "address" }, "typeName": { - "id": 3173, + "id": 2665, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57763:7:1", + "src": "59393:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -34094,12 +34094,12 @@ }, { "constant": false, - "id": 3176, + "id": 2668, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57775:15:1", + "scope": 2722, + "src": "59405:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34107,10 +34107,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3175, + "id": 2667, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57775:7:1", + "src": "59405:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34119,39 +34119,39 @@ "visibility": "internal" } ], - "src": "57762:29:1" + "src": "59392:29:0" }, "returnParameters": { - "id": 3178, + "id": 2670, "nodeType": "ParameterList", "parameters": [], - "src": "57809:0:1" + "src": "59439:0:0" }, - "scope": 3498, - "src": "57748:393:1", + "scope": 2990, + "src": "59378:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3298, + "id": 2790, "nodeType": "Block", - "src": "58407:478:1", + "src": "60060:496:0", "statements": [ { "assignments": [ - 3237 + 2729 ], "declarations": [ { "constant": false, - "id": 3237, + "id": 2729, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3298, - "src": "58417:13:1", + "scope": 2790, + "src": "60071:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34159,10 +34159,10 @@ "typeString": "address" }, "typeName": { - "id": 3236, + "id": 2728, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58417:7:1", + "src": "60071:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -34172,16 +34172,16 @@ "visibility": "internal" } ], - "id": 3242, + "id": 2734, "initialValue": { "arguments": [ { - "id": 3240, + "id": 2732, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58448:7:1", + "referencedDeclaration": 2725, + "src": "60102:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34196,32 +34196,32 @@ } ], "expression": { - "id": 3238, + "id": 2730, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "58433:6:1", + "referencedDeclaration": 2990, + "src": "60087:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3239, + "id": 2731, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "58433:14:1", + "referencedDeclaration": 2194, + "src": "60087:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3241, + "id": 2733, "isConstant": false, "isLValue": false, "isPure": false, @@ -34229,7 +34229,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58433:23:1", + "src": "60087:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -34237,18 +34237,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "expression": { "arguments": [ { - "id": 3244, + "id": 2736, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58506:5:1", + "referencedDeclaration": 2729, + "src": "60162:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34258,14 +34258,14 @@ "arguments": [ { "hexValue": "30", - "id": 3247, + "id": 2739, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58521:1:1", + "src": "60177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34280,26 +34280,26 @@ "typeString": "int_const 0" } ], - "id": 3246, + "id": 2738, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3245, + "id": 2737, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": {} } }, - "id": 3248, + "id": 2740, "isConstant": false, "isLValue": false, "isPure": true, @@ -34307,7 +34307,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58513:10:1", + "src": "60169:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34315,12 +34315,12 @@ } }, { - "id": 3249, + "id": 2741, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58525:7:1", + "referencedDeclaration": 2725, + "src": "60181:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34342,18 +34342,18 @@ "typeString": "uint256" } ], - "id": 3243, + "id": 2735, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "58485:20:1", + "referencedDeclaration": 2989, + "src": "60141:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3250, + "id": 2742, "isConstant": false, "isLValue": false, "isPure": false, @@ -34361,16 +34361,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58485:48:1", + "src": "60141:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3251, + "id": 2743, "nodeType": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "expression": { @@ -34379,14 +34379,14 @@ "arguments": [ { "hexValue": "30", - "id": 3255, + "id": 2747, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58588:1:1", + "src": "60247:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34401,26 +34401,26 @@ "typeString": "int_const 0" } ], - "id": 3254, + "id": 2746, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3253, + "id": 2745, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": {} } }, - "id": 3256, + "id": 2748, "isConstant": false, "isLValue": false, "isPure": true, @@ -34428,7 +34428,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58580:10:1", + "src": "60239:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34436,12 +34436,12 @@ } }, { - "id": 3257, + "id": 2749, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58592:7:1", + "referencedDeclaration": 2725, + "src": "60251:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34459,18 +34459,18 @@ "typeString": "uint256" } ], - "id": 3252, + "id": 2744, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "58571:8:1", + "referencedDeclaration": 2978, + "src": "60230:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3258, + "id": 2750, "isConstant": false, "isLValue": false, "isPure": false, @@ -34478,16 +34478,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58571:29:1", + "src": "60230:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3259, + "id": 2751, "nodeType": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "condition": { @@ -34495,7 +34495,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3268, + "id": 2760, "isConstant": false, "isLValue": false, "isPure": false, @@ -34505,25 +34505,25 @@ "arguments": [ { "baseExpression": { - "id": 3262, + "id": 2754, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58656:10:1", + "referencedDeclaration": 2112, + "src": "60318:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3264, + "id": 2756, "indexExpression": { - "id": 3263, + "id": 2755, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58667:7:1", + "referencedDeclaration": 2725, + "src": "60329:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34534,7 +34534,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58656:19:1", + "src": "60318:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34548,26 +34548,26 @@ "typeString": "string storage ref" } ], - "id": 3261, + "id": 2753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 3260, + "id": 2752, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": {} } }, - "id": 3265, + "id": 2757, "isConstant": false, "isLValue": false, "isPure": false, @@ -34575,21 +34575,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58650:26:1", + "src": "60312:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes storage pointer" } }, - "id": 3266, + "id": 2758, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "58650:33:1", + "src": "60312:33:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34599,37 +34599,37 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 3267, + "id": 2759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58687:1:1", + "src": "60349:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "58650:38:1", + "src": "60312:38:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3275, + "id": 2767, "nodeType": "IfStatement", - "src": "58646:95:1", + "src": "60308:97:0", "trueBody": { - "id": 3274, + "id": 2766, "nodeType": "Block", - "src": "58690:51:1", + "src": "60352:53:0", "statements": [ { "expression": { - "id": 3272, + "id": 2764, "isConstant": false, "isLValue": false, "isPure": false, @@ -34637,28 +34637,28 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "58704:26:1", + "src": "60367:26:0", "subExpression": { "baseExpression": { - "id": 3269, + "id": 2761, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58711:10:1", + "referencedDeclaration": 2112, + "src": "60374:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3271, + "id": 2763, "indexExpression": { - "id": 3270, + "id": 2762, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58722:7:1", + "referencedDeclaration": 2725, + "src": "60385:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34669,7 +34669,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "58711:19:1", + "src": "60374:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34680,9 +34680,9 @@ "typeString": "tuple()" } }, - "id": 3273, + "id": 2765, "nodeType": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ] } @@ -34691,12 +34691,12 @@ "expression": { "arguments": [ { - "id": 3280, + "id": 2772, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58779:7:1", + "referencedDeclaration": 2725, + "src": "60445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34712,25 +34712,25 @@ ], "expression": { "baseExpression": { - "id": 3276, + "id": 2768, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58751:13:1", + "referencedDeclaration": 2092, + "src": "60417:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3278, + "id": 2770, "indexExpression": { - "id": 3277, + "id": 2769, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58765:5:1", + "referencedDeclaration": 2729, + "src": "60431:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34741,27 +34741,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58751:20:1", + "src": "60417:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3279, + "id": 2771, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "58751:27:1", + "referencedDeclaration": 1358, + "src": "60417:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3281, + "id": 2773, "isConstant": false, "isLValue": false, "isPure": false, @@ -34769,27 +34769,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58751:36:1", + "src": "60417:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3282, + "id": 2774, "nodeType": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "expression": { "arguments": [ { - "id": 3286, + "id": 2778, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58818:7:1", + "referencedDeclaration": 2725, + "src": "60486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34804,32 +34804,32 @@ } ], "expression": { - "id": 3283, + "id": 2775, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58798:12:1", + "referencedDeclaration": 2094, + "src": "60466:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3285, + "id": 2777, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 2306, - "src": "58798:19:1", + "referencedDeclaration": 1798, + "src": "60466:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" } }, - "id": 3287, + "id": 2779, "isConstant": false, "isLValue": false, "isPure": false, @@ -34837,27 +34837,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58798:28:1", + "src": "60466:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3288, + "id": 2780, "nodeType": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "eventCall": { "arguments": [ { - "id": 3290, + "id": 2782, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58851:5:1", + "referencedDeclaration": 2729, + "src": "60521:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34867,14 +34867,14 @@ "arguments": [ { "hexValue": "30", - "id": 3293, + "id": 2785, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58866:1:1", + "src": "60536:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34889,26 +34889,26 @@ "typeString": "int_const 0" } ], - "id": 3292, + "id": 2784, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3291, + "id": 2783, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": {} } }, - "id": 3294, + "id": 2786, "isConstant": false, "isLValue": false, "isPure": true, @@ -34916,7 +34916,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58858:10:1", + "src": "60528:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34924,12 +34924,12 @@ } }, { - "id": 3295, + "id": 2787, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58870:7:1", + "referencedDeclaration": 2725, + "src": "60540:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34951,18 +34951,18 @@ "typeString": "uint256" } ], - "id": 3289, + "id": 2781, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58842:8:1", + "referencedDeclaration": 46, + "src": "60512:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3296, + "id": 2788, "isConstant": false, "isLValue": false, "isPure": false, @@ -34970,43 +34970,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58842:36:1", + "src": "60512:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3297, + "id": 2789, "nodeType": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ] }, "documentation": { - "id": 3231, + "id": 2723, "nodeType": "StructuredDocumentation", - "src": "58147:206:1", + "src": "59790:215:0", "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3299, + "id": 2791, "implemented": true, "kind": "function", "modifiers": [], "name": "_burn", "nodeType": "FunctionDefinition", "parameters": { - "id": 3234, + "id": 2726, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3233, + "id": 2725, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3299, - "src": "58373:15:1", + "scope": 2791, + "src": "60026:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35014,10 +35014,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3232, + "id": 2724, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "58373:7:1", + "src": "60026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35026,25 +35026,25 @@ "visibility": "internal" } ], - "src": "58372:17:1" + "src": "60025:17:0" }, "returnParameters": { - "id": 3235, + "id": 2727, "nodeType": "ParameterList", "parameters": [], - "src": "58407:0:1" + "src": "60060:0:0" }, - "scope": 3498, - "src": "58358:527:1", + "scope": 2990, + "src": "60011:545:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3370, + "id": 2862, "nodeType": "Block", - "src": "59288:505:1", + "src": "60972:520:0", "statements": [ { "expression": { @@ -35054,7 +35054,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3315, + "id": 2807, "isConstant": false, "isLValue": false, "isPure": false, @@ -35062,12 +35062,12 @@ "leftExpression": { "arguments": [ { - "id": 3312, + "id": 2804, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59321:7:1", + "referencedDeclaration": 2798, + "src": "61006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35082,32 +35082,32 @@ } ], "expression": { - "id": 3310, + "id": 2802, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "59306:6:1", + "referencedDeclaration": 2990, + "src": "60991:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3311, + "id": 2803, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "59306:14:1", + "referencedDeclaration": 2194, + "src": "60991:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3313, + "id": 2805, "isConstant": false, "isLValue": false, "isPure": false, @@ -35115,7 +35115,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59306:23:1", + "src": "60991:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -35125,18 +35125,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3314, + "id": 2806, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59333:4:1", + "referencedDeclaration": 2794, + "src": "61018:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "59306:31:1", + "src": "60991:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -35144,14 +35144,14 @@ }, { "hexValue": "4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e", - "id": 3316, + "id": 2808, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59339:43:1", + "src": "61024:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a01073130a885d6c1c1af6ac75fc3b1c4f9403c235362962bbf528e2bd87d950", "typeString": "literal_string \"ERC721: transfer of token that is not own\"" @@ -35170,7 +35170,7 @@ "typeString": "literal_string \"ERC721: transfer of token that is not own\"" } ], - "id": 3309, + "id": 2801, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -35178,13 +35178,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59298:7:1", + "src": "60983:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3317, + "id": 2809, "isConstant": false, "isLValue": false, "isPure": false, @@ -35192,16 +35192,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59298:85:1", + "src": "60983:85:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3318, + "id": 2810, "nodeType": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "expression": { @@ -35211,18 +35211,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3325, + "id": 2817, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3320, + "id": 2812, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59419:2:1", + "referencedDeclaration": 2796, + "src": "61105:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35234,14 +35234,14 @@ "arguments": [ { "hexValue": "30", - "id": 3323, + "id": 2815, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59433:1:1", + "src": "61119:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -35256,26 +35256,26 @@ "typeString": "int_const 0" } ], - "id": 3322, + "id": 2814, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3321, + "id": 2813, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": {} } }, - "id": 3324, + "id": 2816, "isConstant": false, "isLValue": false, "isPure": true, @@ -35283,14 +35283,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59425:10:1", + "src": "61111:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "59419:16:1", + "src": "61105:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -35298,14 +35298,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f20746865207a65726f2061646472657373", - "id": 3326, + "id": 2818, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59437:38:1", + "src": "61123:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4", "typeString": "literal_string \"ERC721: transfer to the zero address\"" @@ -35324,7 +35324,7 @@ "typeString": "literal_string \"ERC721: transfer to the zero address\"" } ], - "id": 3319, + "id": 2811, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -35332,13 +35332,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59411:7:1", + "src": "61097:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3327, + "id": 2819, "isConstant": false, "isLValue": false, "isPure": false, @@ -35346,51 +35346,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59411:65:1", + "src": "61097:65:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3328, + "id": 2820, "nodeType": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "expression": { "arguments": [ { - "id": 3330, + "id": 2822, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59508:4:1", + "referencedDeclaration": 2794, + "src": "61196:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3331, + "id": 2823, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59514:2:1", + "referencedDeclaration": 2796, + "src": "61202:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3332, + "id": 2824, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59518:7:1", + "referencedDeclaration": 2798, + "src": "61206:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35412,18 +35412,18 @@ "typeString": "uint256" } ], - "id": 3329, + "id": 2821, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "59487:20:1", + "referencedDeclaration": 2989, + "src": "61175:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3333, + "id": 2825, "isConstant": false, "isLValue": false, "isPure": false, @@ -35431,16 +35431,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59487:39:1", + "src": "61175:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3334, + "id": 2826, "nodeType": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "expression": { @@ -35449,14 +35449,14 @@ "arguments": [ { "hexValue": "30", - "id": 3338, + "id": 2830, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59605:1:1", + "src": "61296:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -35471,26 +35471,26 @@ "typeString": "int_const 0" } ], - "id": 3337, + "id": 2829, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3336, + "id": 2828, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": {} } }, - "id": 3339, + "id": 2831, "isConstant": false, "isLValue": false, "isPure": true, @@ -35498,7 +35498,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59597:10:1", + "src": "61288:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -35506,12 +35506,12 @@ } }, { - "id": 3340, + "id": 2832, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59609:7:1", + "referencedDeclaration": 2798, + "src": "61300:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35529,18 +35529,18 @@ "typeString": "uint256" } ], - "id": 3335, + "id": 2827, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "59588:8:1", + "referencedDeclaration": 2978, + "src": "61279:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3341, + "id": 2833, "isConstant": false, "isLValue": false, "isPure": false, @@ -35548,27 +35548,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59588:29:1", + "src": "61279:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3342, + "id": 2834, "nodeType": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "expression": { "arguments": [ { - "id": 3347, + "id": 2839, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59655:7:1", + "referencedDeclaration": 2798, + "src": "61348:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35584,25 +35584,25 @@ ], "expression": { "baseExpression": { - "id": 3343, + "id": 2835, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59628:13:1", + "referencedDeclaration": 2092, + "src": "61321:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3345, + "id": 2837, "indexExpression": { - "id": 3344, + "id": 2836, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59642:4:1", + "referencedDeclaration": 2794, + "src": "61335:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35613,27 +35613,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59628:19:1", + "src": "61321:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3346, + "id": 2838, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "59628:26:1", + "referencedDeclaration": 1358, + "src": "61321:26:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3348, + "id": 2840, "isConstant": false, "isLValue": false, "isPure": false, @@ -35641,27 +35641,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59628:35:1", + "src": "61321:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3349, + "id": 2841, "nodeType": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "expression": { "arguments": [ { - "id": 3354, + "id": 2846, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59695:7:1", + "referencedDeclaration": 2798, + "src": "61389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35677,25 +35677,25 @@ ], "expression": { "baseExpression": { - "id": 3350, + "id": 2842, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59673:13:1", + "referencedDeclaration": 2092, + "src": "61367:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3352, + "id": 2844, "indexExpression": { - "id": 3351, + "id": 2843, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59687:2:1", + "referencedDeclaration": 2796, + "src": "61381:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35706,27 +35706,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59673:17:1", + "src": "61367:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3353, + "id": 2845, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "59673:21:1", + "referencedDeclaration": 1338, + "src": "61367:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3355, + "id": 2847, "isConstant": false, "isLValue": false, "isPure": false, @@ -35734,39 +35734,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59673:30:1", + "src": "61367:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3356, + "id": 2848, "nodeType": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "expression": { "arguments": [ { - "id": 3360, + "id": 2852, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59731:7:1", + "referencedDeclaration": 2798, + "src": "61427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3361, + "id": 2853, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59740:2:1", + "referencedDeclaration": 2796, + "src": "61436:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35785,32 +35785,32 @@ } ], "expression": { - "id": 3357, + "id": 2849, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "59714:12:1", + "referencedDeclaration": 2094, + "src": "61410:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3359, + "id": 2851, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "59714:16:1", + "referencedDeclaration": 1778, + "src": "61410:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3362, + "id": 2854, "isConstant": false, "isLValue": false, "isPure": false, @@ -35818,51 +35818,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59714:29:1", + "src": "61410:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3363, + "id": 2855, "nodeType": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "eventCall": { "arguments": [ { - "id": 3365, + "id": 2857, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59768:4:1", + "referencedDeclaration": 2794, + "src": "61466:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3366, + "id": 2858, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59774:2:1", + "referencedDeclaration": 2796, + "src": "61472:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3367, + "id": 2859, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59778:7:1", + "referencedDeclaration": 2798, + "src": "61476:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35884,18 +35884,18 @@ "typeString": "uint256" } ], - "id": 3364, + "id": 2856, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "59759:8:1", + "referencedDeclaration": 46, + "src": "61457:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3368, + "id": 2860, "isConstant": false, "isLValue": false, "isPure": false, @@ -35903,43 +35903,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59759:27:1", + "src": "61457:27:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3369, + "id": 2861, "nodeType": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ] }, "documentation": { - "id": 3300, + "id": 2792, "nodeType": "StructuredDocumentation", - "src": "58891:313:1", + "src": "60564:323:0", "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3371, + "id": 2863, "implemented": true, "kind": "function", "modifiers": [], "name": "_transfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3307, + "id": 2799, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3302, + "id": 2794, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59228:12:1", + "scope": 2863, + "src": "60912:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35947,10 +35947,10 @@ "typeString": "address" }, "typeName": { - "id": 3301, + "id": 2793, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59228:7:1", + "src": "60912:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35961,12 +35961,12 @@ }, { "constant": false, - "id": 3304, + "id": 2796, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59242:10:1", + "scope": 2863, + "src": "60926:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35974,10 +35974,10 @@ "typeString": "address" }, "typeName": { - "id": 3303, + "id": 2795, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59242:7:1", + "src": "60926:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35988,12 +35988,12 @@ }, { "constant": false, - "id": 3306, + "id": 2798, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59254:15:1", + "scope": 2863, + "src": "60938:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36001,10 +36001,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3305, + "id": 2797, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59254:7:1", + "src": "60938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36013,25 +36013,25 @@ "visibility": "internal" } ], - "src": "59227:43:1" + "src": "60911:43:0" }, "returnParameters": { - "id": 3308, + "id": 2800, "nodeType": "ParameterList", "parameters": [], - "src": "59288:0:1" + "src": "60972:0:0" }, - "scope": 3498, - "src": "59209:584:1", + "scope": 2990, + "src": "60893:599:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3392, + "id": 2884, "nodeType": "Block", - "src": "60021:131:1", + "src": "61729:134:0", "statements": [ { "expression": { @@ -36039,12 +36039,12 @@ { "arguments": [ { - "id": 3381, + "id": 2873, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60047:7:1", + "referencedDeclaration": 2866, + "src": "61756:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36058,18 +36058,18 @@ "typeString": "uint256" } ], - "id": 3380, + "id": 2872, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "60039:7:1", + "referencedDeclaration": 2577, + "src": "61748:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3382, + "id": 2874, "isConstant": false, "isLValue": false, "isPure": false, @@ -36077,7 +36077,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60039:16:1", + "src": "61748:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -36086,14 +36086,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e", - "id": 3383, + "id": 2875, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "60057:46:1", + "src": "61766:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_94be4a260caaeac1b145f03ffa2e70bc612b64982d04f24073aaf3a5f9009978", "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" @@ -36112,7 +36112,7 @@ "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" } ], - "id": 3379, + "id": 2871, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -36120,13 +36120,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "60031:7:1", + "src": "61740:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3384, + "id": 2876, "isConstant": false, "isLValue": false, "isPure": false, @@ -36134,45 +36134,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60031:73:1", + "src": "61740:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3385, + "id": 2877, "nodeType": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "expression": { - "id": 3390, + "id": 2882, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3386, + "id": 2878, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "60114:10:1", + "referencedDeclaration": 2112, + "src": "61824:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3388, + "id": 2880, "indexExpression": { - "id": 3387, + "id": 2879, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60125:7:1", + "referencedDeclaration": 2866, + "src": "61835:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36183,7 +36183,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "60114:19:1", + "src": "61824:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -36192,53 +36192,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3389, + "id": 2881, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3376, - "src": "60136:9:1", + "referencedDeclaration": 2868, + "src": "61846:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60114:31:1", + "src": "61824:31:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3391, + "id": 2883, "nodeType": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ] }, "documentation": { - "id": 3372, + "id": 2864, "nodeType": "StructuredDocumentation", - "src": "59799:136:1", + "src": "61500:142:0", "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3393, + "id": 2885, "implemented": true, "kind": "function", "modifiers": [], "name": "_setTokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3377, + "id": 2869, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3374, + "id": 2866, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59962:15:1", + "scope": 2885, + "src": "61670:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36246,10 +36246,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3373, + "id": 2865, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59962:7:1", + "src": "61670:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36259,12 +36259,12 @@ }, { "constant": false, - "id": 3376, + "id": 2868, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59979:23:1", + "scope": 2885, + "src": "61687:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36272,10 +36272,10 @@ "typeString": "string" }, "typeName": { - "id": 3375, + "id": 2867, "name": "string", "nodeType": "ElementaryTypeName", - "src": "59979:6:1", + "src": "61687:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -36284,40 +36284,40 @@ "visibility": "internal" } ], - "src": "59961:42:1" + "src": "61669:42:0" }, "returnParameters": { - "id": 3378, + "id": 2870, "nodeType": "ParameterList", "parameters": [], - "src": "60021:0:1" + "src": "61729:0:0" }, - "scope": 3498, - "src": "59940:212:1", + "scope": 2990, + "src": "61648:215:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3403, + "id": 2895, "nodeType": "Block", - "src": "60437:36:1", + "src": "62155:38:0", "statements": [ { "expression": { - "id": 3401, + "id": 2893, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 3399, + "id": 2891, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "60447:8:1", + "referencedDeclaration": 2114, + "src": "62166:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -36326,53 +36326,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3400, + "id": 2892, "name": "baseURI_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3396, - "src": "60458:8:1", + "referencedDeclaration": 2888, + "src": "62177:8:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60447:19:1", + "src": "62166:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3402, + "id": 2894, "nodeType": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ] }, "documentation": { - "id": 3394, + "id": 2886, "nodeType": "StructuredDocumentation", - "src": "60158:212:1", + "src": "61871:216:0", "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3404, + "id": 2896, "implemented": true, "kind": "function", "modifiers": [], "name": "_setBaseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3397, + "id": 2889, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3396, + "id": 2888, "mutability": "mutable", "name": "baseURI_", "nodeType": "VariableDeclaration", - "scope": 3404, - "src": "60396:22:1", + "scope": 2896, + "src": "62114:22:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36380,10 +36380,10 @@ "typeString": "string" }, "typeName": { - "id": 3395, + "id": 2887, "name": "string", "nodeType": "ElementaryTypeName", - "src": "60396:6:1", + "src": "62114:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -36392,29 +36392,29 @@ "visibility": "internal" } ], - "src": "60395:24:1" + "src": "62113:24:0" }, "returnParameters": { - "id": 3398, + "id": 2890, "nodeType": "ParameterList", "parameters": [], - "src": "60437:0:1" + "src": "62155:0:0" }, - "scope": 3498, - "src": "60375:98:1", + "scope": 2990, + "src": "62093:100:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3461, + "id": 2953, "nodeType": "Block", - "src": "61156:459:1", + "src": "62890:472:0", "statements": [ { "condition": { - "id": 3421, + "id": 2913, "isConstant": false, "isLValue": false, "isPure": false, @@ -36422,38 +36422,38 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "61170:16:1", + "src": "62905:16:0", "subExpression": { "arguments": [], "expression": { "argumentTypes": [], "expression": { - "id": 3418, + "id": 2910, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61171:2:1", + "referencedDeclaration": 2901, + "src": "62906:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3419, + "id": 2911, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isContract", "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "61171:13:1", + "referencedDeclaration": 646, + "src": "62906:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$", "typeString": "function (address) view returns (bool)" } }, - "id": 3420, + "id": 2912, "isConstant": false, "isLValue": false, "isPure": false, @@ -36461,7 +36461,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61171:15:1", + "src": "62906:15:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -36473,52 +36473,52 @@ "typeString": "bool" } }, - "id": 3425, + "id": 2917, "nodeType": "IfStatement", - "src": "61166:58:1", + "src": "62901:60:0", "trueBody": { - "id": 3424, + "id": 2916, "nodeType": "Block", - "src": "61188:36:1", + "src": "62923:38:0", "statements": [ { "expression": { "hexValue": "74727565", - "id": 3422, + "id": 2914, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "61209:4:1", + "src": "62945:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 3417, - "id": 3423, + "functionReturnParameters": 2909, + "id": 2915, "nodeType": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ] } }, { "assignments": [ - 3427 + 2919 ], "declarations": [ { "constant": false, - "id": 3427, + "id": 2919, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61233:23:1", + "scope": 2953, + "src": "62971:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36526,10 +36526,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3426, + "id": 2918, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61233:5:1", + "src": "62971:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36538,7 +36538,7 @@ "visibility": "internal" } ], - "id": 3445, + "id": 2937, "initialValue": { "arguments": [ { @@ -36548,12 +36548,12 @@ "expression": { "arguments": [ { - "id": 3433, + "id": 2925, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61327:2:1", + "referencedDeclaration": 2901, + "src": "63066:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36567,18 +36567,18 @@ "typeString": "address" } ], - "id": 3432, + "id": 2924, "name": "IERC721Receiver", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 726, - "src": "61311:15:1", + "referencedDeclaration": 218, + "src": "63050:15:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$726_$", + "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$218_$", "typeString": "type(contract IERC721Receiver)" } }, - "id": 3434, + "id": 2926, "isConstant": false, "isLValue": false, "isPure": false, @@ -36586,35 +36586,35 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61311:19:1", + "src": "63050:19:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Receiver_$726", + "typeIdentifier": "t_contract$_IERC721Receiver_$218", "typeString": "contract IERC721Receiver" } }, - "id": 3435, + "id": 2927, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "onERC721Received", "nodeType": "MemberAccess", - "referencedDeclaration": 725, - "src": "61311:36:1", + "referencedDeclaration": 217, + "src": "63050:36:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", "typeString": "function (address,address,uint256,bytes memory) external returns (bytes4)" } }, - "id": 3436, + "id": 2928, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "selector", "nodeType": "MemberAccess", - "src": "61311:45:1", + "src": "63050:45:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36624,18 +36624,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3437, + "id": 2929, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "61370:10:1", + "referencedDeclaration": 10, + "src": "63110:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3438, + "id": 2930, "isConstant": false, "isLValue": false, "isPure": false, @@ -36643,7 +36643,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61370:12:1", + "src": "63110:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -36651,36 +36651,36 @@ } }, { - "id": 3439, + "id": 2931, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3407, - "src": "61396:4:1", + "referencedDeclaration": 2899, + "src": "63137:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3440, + "id": 2932, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3411, - "src": "61414:7:1", + "referencedDeclaration": 2903, + "src": "63156:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3441, + "id": 2933, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3413, - "src": "61435:5:1", + "referencedDeclaration": 2905, + "src": "63178:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36711,31 +36711,31 @@ } ], "expression": { - "id": 3430, + "id": 2922, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61275:3:1", + "src": "63013:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3431, + "id": 2923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodeWithSelector", "nodeType": "MemberAccess", - "src": "61275:22:1", + "src": "63013:22:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bytes4) pure returns (bytes memory)" } }, - "id": 3442, + "id": 2934, "isConstant": false, "isLValue": false, "isPure": false, @@ -36743,7 +36743,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61275:175:1", + "src": "63013:181:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36752,14 +36752,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3443, + "id": 2935, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "61452:52:1", + "src": "63196:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -36779,32 +36779,32 @@ } ], "expression": { - "id": 3428, + "id": 2920, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61259:2:1", + "referencedDeclaration": 2901, + "src": "62997:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3429, + "id": 2921, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "functionCall", "nodeType": "MemberAccess", - "referencedDeclaration": 1225, - "src": "61259:15:1", + "referencedDeclaration": 717, + "src": "62997:15:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$bound_to$_t_address_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 3444, + "id": 2936, "isConstant": false, "isLValue": false, "isPure": false, @@ -36812,7 +36812,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61259:246:1", + "src": "62997:252:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36820,21 +36820,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "assignments": [ - 3447 + 2939 ], "declarations": [ { "constant": false, - "id": 3447, + "id": 2939, "mutability": "mutable", "name": "retval", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61515:13:1", + "scope": 2953, + "src": "63260:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36842,10 +36842,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 3446, + "id": 2938, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61515:6:1", + "src": "63260:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36854,16 +36854,16 @@ "visibility": "internal" } ], - "id": 3455, + "id": 2947, "initialValue": { "arguments": [ { - "id": 3450, + "id": 2942, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3427, - "src": "61542:10:1", + "referencedDeclaration": 2919, + "src": "63287:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36872,34 +36872,34 @@ { "components": [ { - "id": 3452, + "id": 2944, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" }, "typeName": { - "id": 3451, + "id": 2943, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": {} } } ], - "id": 3453, + "id": 2945, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61554:8:1", + "src": "63299:8:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" @@ -36918,31 +36918,31 @@ } ], "expression": { - "id": 3448, + "id": 2940, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61531:3:1", + "src": "63276:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3449, + "id": 2941, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "decode", "nodeType": "MemberAccess", - "src": "61531:10:1", + "src": "63276:10:0", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 3454, + "id": 2946, "isConstant": false, "isLValue": false, "isPure": false, @@ -36950,7 +36950,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61531:32:1", + "src": "63276:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes4", @@ -36958,7 +36958,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "expression": { @@ -36968,18 +36968,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 3458, + "id": 2950, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3456, + "id": 2948, "name": "retval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3447, - "src": "61581:6:1", + "referencedDeclaration": 2939, + "src": "63327:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36988,68 +36988,68 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3457, + "id": 2949, "name": "_ERC721_RECEIVED", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2596, - "src": "61591:16:1", + "referencedDeclaration": 2088, + "src": "63337:16:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "src": "61581:26:1", + "src": "63327:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3459, + "id": 2951, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61580:28:1", + "src": "63326:28:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3417, - "id": 3460, + "functionReturnParameters": 2909, + "id": 2952, "nodeType": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ] }, "documentation": { - "id": 3405, + "id": 2897, "nodeType": "StructuredDocumentation", - "src": "60479:542:1", + "src": "62201:551:0", "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3462, + "id": 2954, "implemented": true, "kind": "function", "modifiers": [], "name": "_checkOnERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 3414, + "id": 2906, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3407, + "id": 2899, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61058:12:1", + "scope": 2954, + "src": "62790:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37057,10 +37057,10 @@ "typeString": "address" }, "typeName": { - "id": 3406, + "id": 2898, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61058:7:1", + "src": "62790:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37071,12 +37071,12 @@ }, { "constant": false, - "id": 3409, + "id": 2901, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61072:10:1", + "scope": 2954, + "src": "62804:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37084,10 +37084,10 @@ "typeString": "address" }, "typeName": { - "id": 3408, + "id": 2900, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61072:7:1", + "src": "62804:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37098,12 +37098,12 @@ }, { "constant": false, - "id": 3411, + "id": 2903, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61084:15:1", + "scope": 2954, + "src": "62816:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37111,10 +37111,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3410, + "id": 2902, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61084:7:1", + "src": "62816:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37124,12 +37124,12 @@ }, { "constant": false, - "id": 3413, + "id": 2905, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61101:18:1", + "scope": 2954, + "src": "62833:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -37137,10 +37137,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3412, + "id": 2904, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61101:5:1", + "src": "62833:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -37149,20 +37149,20 @@ "visibility": "internal" } ], - "src": "61057:63:1" + "src": "62789:63:0" }, "returnParameters": { - "id": 3417, + "id": 2909, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3416, + "id": 2908, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61146:4:1", + "scope": 2954, + "src": "62879:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37170,10 +37170,10 @@ "typeString": "bool" }, "typeName": { - "id": 3415, + "id": 2907, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "61146:4:1", + "src": "62879:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -37182,48 +37182,48 @@ "visibility": "internal" } ], - "src": "61145:6:1" + "src": "62878:6:0" }, - "scope": 3498, - "src": "61026:589:1", + "scope": 2990, + "src": "62758:604:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 3485, + "id": 2977, "nodeType": "Block", - "src": "61791:125:1", + "src": "63545:128:0", "statements": [ { "expression": { - "id": 3474, + "id": 2966, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3470, + "id": 2962, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "61801:15:1", + "referencedDeclaration": 2098, + "src": "63556:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 3472, + "id": 2964, "indexExpression": { - "id": 3471, + "id": 2963, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61817:7:1", + "referencedDeclaration": 2959, + "src": "63572:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37234,7 +37234,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "61801:24:1", + "src": "63556:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -37243,26 +37243,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3473, + "id": 2965, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61828:2:1", + "referencedDeclaration": 2957, + "src": "63583:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "61801:29:1", + "src": "63556:29:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3475, + "id": 2967, "nodeType": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "eventCall": { @@ -37270,12 +37270,12 @@ { "arguments": [ { - "id": 3479, + "id": 2971, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61869:7:1", + "referencedDeclaration": 2959, + "src": "63625:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37290,32 +37290,32 @@ } ], "expression": { - "id": 3477, + "id": 2969, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "61854:6:1", + "referencedDeclaration": 2990, + "src": "63610:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3478, + "id": 2970, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "61854:14:1", + "referencedDeclaration": 2194, + "src": "63610:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3480, + "id": 2972, "isConstant": false, "isLValue": false, "isPure": false, @@ -37323,7 +37323,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61854:23:1", + "src": "63610:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -37331,24 +37331,24 @@ } }, { - "id": 3481, + "id": 2973, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61879:2:1", + "referencedDeclaration": 2957, + "src": "63635:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3482, + "id": 2974, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61883:7:1", + "referencedDeclaration": 2959, + "src": "63639:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37370,18 +37370,18 @@ "typeString": "uint256" } ], - "id": 3476, + "id": 2968, "name": "Approval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 563, - "src": "61845:8:1", + "referencedDeclaration": 55, + "src": "63601:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3483, + "id": 2975, "isConstant": false, "isLValue": false, "isPure": false, @@ -37389,43 +37389,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61845:46:1", + "src": "63601:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3484, + "id": 2976, "nodeType": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ] }, "documentation": { - "id": 3463, + "id": 2955, "nodeType": "StructuredDocumentation", - "src": "61621:101:1", + "src": "63370:105:0", "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3486, + "id": 2978, "implemented": true, "kind": "function", "modifiers": [], "name": "_approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 3468, + "id": 2960, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3465, + "id": 2957, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61745:10:1", + "scope": 2978, + "src": "63499:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37433,10 +37433,10 @@ "typeString": "address" }, "typeName": { - "id": 3464, + "id": 2956, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61745:7:1", + "src": "63499:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37447,12 +37447,12 @@ }, { "constant": false, - "id": 3467, + "id": 2959, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61757:15:1", + "scope": 2978, + "src": "63511:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37460,10 +37460,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3466, + "id": 2958, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61757:7:1", + "src": "63511:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37472,51 +37472,51 @@ "visibility": "internal" } ], - "src": "61744:29:1" + "src": "63498:29:0" }, "returnParameters": { - "id": 3469, + "id": 2961, "nodeType": "ParameterList", "parameters": [], - "src": "61791:0:1" + "src": "63545:0:0" }, - "scope": 3498, - "src": "61727:189:1", + "scope": 2990, + "src": "63481:192:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3496, + "id": 2988, "nodeType": "Block", - "src": "62602:3:1", + "src": "64376:3:0", "statements": [] }, "documentation": { - "id": 3487, + "id": 2979, "nodeType": "StructuredDocumentation", - "src": "61922:585:1", + "src": "63681:599:0", "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3497, + "id": 2989, "implemented": true, "kind": "function", "modifiers": [], "name": "_beforeTokenTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3494, + "id": 2986, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3489, + "id": 2981, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62542:12:1", + "scope": 2989, + "src": "64316:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37524,10 +37524,10 @@ "typeString": "address" }, "typeName": { - "id": 3488, + "id": 2980, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62542:7:1", + "src": "64316:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37538,12 +37538,12 @@ }, { "constant": false, - "id": 3491, + "id": 2983, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62556:10:1", + "scope": 2989, + "src": "64330:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37551,10 +37551,10 @@ "typeString": "address" }, "typeName": { - "id": 3490, + "id": 2982, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62556:7:1", + "src": "64330:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37565,12 +37565,12 @@ }, { "constant": false, - "id": 3493, + "id": 2985, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62568:15:1", + "scope": 2989, + "src": "64342:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37578,10 +37578,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3492, + "id": 2984, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "62568:7:1", + "src": "64342:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37590,69 +37590,69 @@ "visibility": "internal" } ], - "src": "62541:43:1" + "src": "64315:43:0" }, "returnParameters": { - "id": 3495, + "id": 2987, "nodeType": "ParameterList", "parameters": [], - "src": "62602:0:1" + "src": "64376:0:0" }, - "scope": 3498, - "src": "62512:93:1", + "scope": 2990, + "src": "64286:93:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "46080:16527:1" + "scope": 2991, + "src": "47398:16984:0" } ], - "src": "84:62524:1" + "src": "87:64297:0" }, "legacyAST": { "attributes": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, "license": "MIT" @@ -37670,9 +37670,9 @@ ".0" ] }, - "id": 509, + "id": 1, "name": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "attributes": { @@ -37686,10 +37686,10 @@ "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", - "scope": 3499 + "scope": 2991 }, "children": [ { @@ -37701,7 +37701,7 @@ null ], "name": "_msgSender", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37714,9 +37714,9 @@ ] }, "children": [], - "id": 510, + "id": 2, "name": "ParameterList", - "src": "668:2:1" + "src": "684:2:0" }, { "children": [ @@ -37725,7 +37725,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 518, + "scope": 10, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -37738,25 +37738,25 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 511, + "id": 3, "name": "ElementaryTypeName", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 512, + "id": 4, "name": "VariableDeclaration", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 513, + "id": 5, "name": "ParameterList", - "src": "701:17:1" + "src": "717:17:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 513 + "functionReturnParameters": 5 }, "children": [ { @@ -37778,29 +37778,29 @@ "type": "msg", "value": "msg" }, - "id": 514, + "id": 6, "name": "Identifier", - "src": "736:3:1" + "src": "753:3:0" } ], - "id": 515, + "id": 7, "name": "MemberAccess", - "src": "736:10:1" + "src": "753:10:0" } ], - "id": 516, + "id": 8, "name": "Return", - "src": "729:17:1" + "src": "746:17:0" } ], - "id": 517, + "id": 9, "name": "Block", - "src": "719:34:1" + "src": "735:36:0" } ], - "id": 518, + "id": 10, "name": "FunctionDefinition", - "src": "649:104:1" + "src": "665:106:0" }, { "attributes": { @@ -37811,7 +37811,7 @@ null ], "name": "_msgData", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37824,9 +37824,9 @@ ] }, "children": [], - "id": 519, + "id": 11, "name": "ParameterList", - "src": "776:2:1" + "src": "796:2:0" }, { "children": [ @@ -37835,7 +37835,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 529, + "scope": 21, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -37847,19 +37847,19 @@ "name": "bytes", "type": "bytes" }, - "id": 520, + "id": 12, "name": "ElementaryTypeName", - "src": "810:5:1" + "src": "830:5:0" } ], - "id": 521, + "id": 13, "name": "VariableDeclaration", - "src": "810:12:1" + "src": "830:12:0" } ], - "id": 522, + "id": 14, "name": "ParameterList", - "src": "809:14:1" + "src": "829:14:0" }, { "children": [ @@ -37874,18 +37874,18 @@ "type": "contract Context", "value": "this" }, - "id": 523, + "id": 15, "name": "Identifier", - "src": "834:4:1" + "src": "855:4:0" } ], - "id": 524, + "id": 16, "name": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "attributes": { - "functionReturnParameters": 522 + "functionReturnParameters": 14 }, "children": [ { @@ -37907,34 +37907,34 @@ "type": "msg", "value": "msg" }, - "id": 525, + "id": 17, "name": "Identifier", - "src": "974:3:1" + "src": "996:3:0" } ], - "id": 526, + "id": 18, "name": "MemberAccess", - "src": "974:8:1" + "src": "996:8:0" } ], - "id": 527, + "id": 19, "name": "Return", - "src": "967:15:1" + "src": "989:15:0" } ], - "id": 528, + "id": 20, "name": "Block", - "src": "824:165:1" + "src": "844:168:0" } ], - "id": 529, + "id": 21, "name": "FunctionDefinition", - "src": "759:230:1" + "src": "779:233:0" } ], - "id": 530, + "id": 22, "name": "ContractDefinition", - "src": "617:374:1" + "src": "632:383:0" }, { "attributes": { @@ -37948,9 +37948,9 @@ ".0" ] }, - "id": 531, + "id": 23, "name": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "attributes": { @@ -37964,19 +37964,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, - "id": 532, + "id": 24, "name": "StructuredDocumentation", - "src": "1086:279:1" + "src": "1116:287:0" }, { "attributes": { @@ -37988,7 +37988,7 @@ null ], "name": "supportsInterface", - "scope": 541, + "scope": 33, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -37998,9 +37998,9 @@ "attributes": { "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, - "id": 533, + "id": 25, "name": "StructuredDocumentation", - "src": "1390:340:1" + "src": "1430:347:0" }, { "children": [ @@ -38009,7 +38009,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -38021,19 +38021,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 534, + "id": 26, "name": "ElementaryTypeName", - "src": "1762:6:1" + "src": "1810:6:0" } ], - "id": 535, + "id": 27, "name": "VariableDeclaration", - "src": "1762:18:1" + "src": "1810:18:0" } ], - "id": 536, + "id": 28, "name": "ParameterList", - "src": "1761:20:1" + "src": "1809:20:0" }, { "children": [ @@ -38042,7 +38042,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38054,29 +38054,29 @@ "name": "bool", "type": "bool" }, - "id": 537, + "id": 29, "name": "ElementaryTypeName", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 538, + "id": 30, "name": "VariableDeclaration", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 539, + "id": 31, "name": "ParameterList", - "src": "1804:6:1" + "src": "1852:6:0" } ], - "id": 540, + "id": 32, "name": "FunctionDefinition", - "src": "1735:76:1" + "src": "1783:76:0" } ], - "id": 541, + "id": 33, "name": "ContractDefinition", - "src": "1366:447:1" + "src": "1405:457:0" }, { "attributes": { @@ -38090,33 +38090,33 @@ ".0" ] }, - "id": 542, + "id": 34, "name": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Required interface of an ERC721 compliant contract." }, - "id": 543, + "id": 35, "name": "StructuredDocumentation", - "src": "1907:67:1" + "src": "1962:69:0" }, { "attributes": {}, @@ -38124,17 +38124,17 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 544, + "id": 36, "name": "UserDefinedTypeName", - "src": "1996:7:1" + "src": "2054:7:0" } ], - "id": 545, + "id": 37, "name": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" }, { "attributes": { @@ -38146,9 +38146,9 @@ "attributes": { "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 546, + "id": 38, "name": "StructuredDocumentation", - "src": "2010:88:1" + "src": "2069:90:0" }, { "children": [ @@ -38158,7 +38158,7 @@ "indexed": true, "mutability": "mutable", "name": "from", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38171,14 +38171,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 547, + "id": 39, "name": "ElementaryTypeName", - "src": "2118:7:1" + "src": "2180:7:0" } ], - "id": 548, + "id": 40, "name": "VariableDeclaration", - "src": "2118:20:1" + "src": "2180:20:0" }, { "attributes": { @@ -38186,7 +38186,7 @@ "indexed": true, "mutability": "mutable", "name": "to", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38199,14 +38199,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 549, + "id": 41, "name": "ElementaryTypeName", - "src": "2140:7:1" + "src": "2202:7:0" } ], - "id": 550, + "id": 42, "name": "VariableDeclaration", - "src": "2140:18:1" + "src": "2202:18:0" }, { "attributes": { @@ -38214,7 +38214,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38226,24 +38226,24 @@ "name": "uint256", "type": "uint256" }, - "id": 551, + "id": 43, "name": "ElementaryTypeName", - "src": "2160:7:1" + "src": "2222:7:0" } ], - "id": 552, + "id": 44, "name": "VariableDeclaration", - "src": "2160:23:1" + "src": "2222:23:0" } ], - "id": 553, + "id": 45, "name": "ParameterList", - "src": "2117:67:1" + "src": "2179:67:0" } ], - "id": 554, + "id": 46, "name": "EventDefinition", - "src": "2103:82:1" + "src": "2165:82:0" }, { "attributes": { @@ -38255,9 +38255,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 555, + "id": 47, "name": "StructuredDocumentation", - "src": "2191:94:1" + "src": "2255:96:0" }, { "children": [ @@ -38267,7 +38267,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38280,14 +38280,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 556, + "id": 48, "name": "ElementaryTypeName", - "src": "2305:7:1" + "src": "2372:7:0" } ], - "id": 557, + "id": 49, "name": "VariableDeclaration", - "src": "2305:21:1" + "src": "2372:21:0" }, { "attributes": { @@ -38295,7 +38295,7 @@ "indexed": true, "mutability": "mutable", "name": "approved", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38308,14 +38308,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 558, + "id": 50, "name": "ElementaryTypeName", - "src": "2328:7:1" + "src": "2395:7:0" } ], - "id": 559, + "id": 51, "name": "VariableDeclaration", - "src": "2328:24:1" + "src": "2395:24:0" }, { "attributes": { @@ -38323,7 +38323,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38335,24 +38335,24 @@ "name": "uint256", "type": "uint256" }, - "id": 560, + "id": 52, "name": "ElementaryTypeName", - "src": "2354:7:1" + "src": "2421:7:0" } ], - "id": 561, + "id": 53, "name": "VariableDeclaration", - "src": "2354:23:1" + "src": "2421:23:0" } ], - "id": 562, + "id": 54, "name": "ParameterList", - "src": "2304:74:1" + "src": "2371:74:0" } ], - "id": 563, + "id": 55, "name": "EventDefinition", - "src": "2290:89:1" + "src": "2357:89:0" }, { "attributes": { @@ -38364,9 +38364,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 564, + "id": 56, "name": "StructuredDocumentation", - "src": "2385:117:1" + "src": "2454:119:0" }, { "children": [ @@ -38376,7 +38376,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38389,14 +38389,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 565, + "id": 57, "name": "ElementaryTypeName", - "src": "2528:7:1" + "src": "2600:7:0" } ], - "id": 566, + "id": 58, "name": "VariableDeclaration", - "src": "2528:21:1" + "src": "2600:21:0" }, { "attributes": { @@ -38404,7 +38404,7 @@ "indexed": true, "mutability": "mutable", "name": "operator", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38417,14 +38417,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 567, + "id": 59, "name": "ElementaryTypeName", - "src": "2551:7:1" + "src": "2623:7:0" } ], - "id": 568, + "id": 60, "name": "VariableDeclaration", - "src": "2551:24:1" + "src": "2623:24:0" }, { "attributes": { @@ -38432,7 +38432,7 @@ "indexed": false, "mutability": "mutable", "name": "approved", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38444,24 +38444,24 @@ "name": "bool", "type": "bool" }, - "id": 569, + "id": 61, "name": "ElementaryTypeName", - "src": "2577:4:1" + "src": "2649:4:0" } ], - "id": 570, + "id": 62, "name": "VariableDeclaration", - "src": "2577:13:1" + "src": "2649:13:0" } ], - "id": 571, + "id": 63, "name": "ParameterList", - "src": "2527:64:1" + "src": "2599:64:0" } ], - "id": 572, + "id": 64, "name": "EventDefinition", - "src": "2507:85:1" + "src": "2579:85:0" }, { "attributes": { @@ -38473,7 +38473,7 @@ null ], "name": "balanceOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38483,9 +38483,9 @@ "attributes": { "text": " @dev Returns the number of tokens in ``owner``'s account." }, - "id": 573, + "id": 65, "name": "StructuredDocumentation", - "src": "2598:76:1" + "src": "2672:78:0" }, { "children": [ @@ -38494,7 +38494,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38507,19 +38507,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 574, + "id": 66, "name": "ElementaryTypeName", - "src": "2698:7:1" + "src": "2775:7:0" } ], - "id": 575, + "id": 67, "name": "VariableDeclaration", - "src": "2698:13:1" + "src": "2775:13:0" } ], - "id": 576, + "id": 68, "name": "ParameterList", - "src": "2697:15:1" + "src": "2774:15:0" }, { "children": [ @@ -38528,7 +38528,7 @@ "constant": false, "mutability": "mutable", "name": "balance", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38540,24 +38540,24 @@ "name": "uint256", "type": "uint256" }, - "id": 577, + "id": 69, "name": "ElementaryTypeName", - "src": "2736:7:1" + "src": "2813:7:0" } ], - "id": 578, + "id": 70, "name": "VariableDeclaration", - "src": "2736:15:1" + "src": "2813:15:0" } ], - "id": 579, + "id": 71, "name": "ParameterList", - "src": "2735:17:1" + "src": "2812:17:0" } ], - "id": 580, + "id": 72, "name": "FunctionDefinition", - "src": "2679:74:1" + "src": "2756:74:0" }, { "attributes": { @@ -38569,7 +38569,7 @@ null ], "name": "ownerOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38579,9 +38579,9 @@ "attributes": { "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 581, + "id": 73, "name": "StructuredDocumentation", - "src": "2759:131:1" + "src": "2838:137:0" }, { "children": [ @@ -38590,7 +38590,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38602,19 +38602,19 @@ "name": "uint256", "type": "uint256" }, - "id": 582, + "id": 74, "name": "ElementaryTypeName", - "src": "2912:7:1" + "src": "2998:7:0" } ], - "id": 583, + "id": 75, "name": "VariableDeclaration", - "src": "2912:15:1" + "src": "2998:15:0" } ], - "id": 584, + "id": 76, "name": "ParameterList", - "src": "2911:17:1" + "src": "2997:17:0" }, { "children": [ @@ -38623,7 +38623,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38636,24 +38636,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 585, + "id": 77, "name": "ElementaryTypeName", - "src": "2952:7:1" + "src": "3038:7:0" } ], - "id": 586, + "id": 78, "name": "VariableDeclaration", - "src": "2952:13:1" + "src": "3038:13:0" } ], - "id": 587, + "id": 79, "name": "ParameterList", - "src": "2951:15:1" + "src": "3037:15:0" } ], - "id": 588, + "id": 80, "name": "FunctionDefinition", - "src": "2895:72:1" + "src": "2981:72:0" }, { "attributes": { @@ -38665,7 +38665,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38675,9 +38675,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 589, + "id": 81, "name": "StructuredDocumentation", - "src": "2973:690:1" + "src": "3061:703:0" }, { "children": [ @@ -38686,7 +38686,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38699,21 +38699,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 590, + "id": 82, "name": "ElementaryTypeName", - "src": "3694:7:1" + "src": "3796:7:0" } ], - "id": 591, + "id": 83, "name": "VariableDeclaration", - "src": "3694:12:1" + "src": "3796:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38726,21 +38726,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 592, + "id": 84, "name": "ElementaryTypeName", - "src": "3708:7:1" + "src": "3810:7:0" } ], - "id": 593, + "id": 85, "name": "VariableDeclaration", - "src": "3708:10:1" + "src": "3810:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38752,19 +38752,19 @@ "name": "uint256", "type": "uint256" }, - "id": 594, + "id": 86, "name": "ElementaryTypeName", - "src": "3720:7:1" + "src": "3822:7:0" } ], - "id": 595, + "id": 87, "name": "VariableDeclaration", - "src": "3720:15:1" + "src": "3822:15:0" } ], - "id": 596, + "id": 88, "name": "ParameterList", - "src": "3693:43:1" + "src": "3795:43:0" }, { "attributes": { @@ -38773,14 +38773,14 @@ ] }, "children": [], - "id": 597, + "id": 89, "name": "ParameterList", - "src": "3745:0:1" + "src": "3847:0:0" } ], - "id": 598, + "id": 90, "name": "FunctionDefinition", - "src": "3668:78:1" + "src": "3770:78:0" }, { "attributes": { @@ -38792,7 +38792,7 @@ null ], "name": "transferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38802,9 +38802,9 @@ "attributes": { "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, - "id": 599, + "id": 91, "name": "StructuredDocumentation", - "src": "3752:504:1" + "src": "3856:517:0" }, { "children": [ @@ -38813,7 +38813,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38826,21 +38826,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 600, + "id": 92, "name": "ElementaryTypeName", - "src": "4283:7:1" + "src": "4401:7:0" } ], - "id": 601, + "id": 93, "name": "VariableDeclaration", - "src": "4283:12:1" + "src": "4401:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38853,21 +38853,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 602, + "id": 94, "name": "ElementaryTypeName", - "src": "4297:7:1" + "src": "4415:7:0" } ], - "id": 603, + "id": 95, "name": "VariableDeclaration", - "src": "4297:10:1" + "src": "4415:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38879,19 +38879,19 @@ "name": "uint256", "type": "uint256" }, - "id": 604, + "id": 96, "name": "ElementaryTypeName", - "src": "4309:7:1" + "src": "4427:7:0" } ], - "id": 605, + "id": 97, "name": "VariableDeclaration", - "src": "4309:15:1" + "src": "4427:15:0" } ], - "id": 606, + "id": 98, "name": "ParameterList", - "src": "4282:43:1" + "src": "4400:43:0" }, { "attributes": { @@ -38900,14 +38900,14 @@ ] }, "children": [], - "id": 607, + "id": 99, "name": "ParameterList", - "src": "4334:0:1" + "src": "4452:0:0" } ], - "id": 608, + "id": 100, "name": "FunctionDefinition", - "src": "4261:74:1" + "src": "4379:74:0" }, { "attributes": { @@ -38919,7 +38919,7 @@ null ], "name": "approve", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38929,9 +38929,9 @@ "attributes": { "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, - "id": 609, + "id": 101, "name": "StructuredDocumentation", - "src": "4341:452:1" + "src": "4461:464:0" }, { "children": [ @@ -38940,7 +38940,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38953,21 +38953,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 610, + "id": 102, "name": "ElementaryTypeName", - "src": "4815:7:1" + "src": "4948:7:0" } ], - "id": 611, + "id": 103, "name": "VariableDeclaration", - "src": "4815:10:1" + "src": "4948:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38979,19 +38979,19 @@ "name": "uint256", "type": "uint256" }, - "id": 612, + "id": 104, "name": "ElementaryTypeName", - "src": "4827:7:1" + "src": "4960:7:0" } ], - "id": 613, + "id": 105, "name": "VariableDeclaration", - "src": "4827:15:1" + "src": "4960:15:0" } ], - "id": 614, + "id": 106, "name": "ParameterList", - "src": "4814:29:1" + "src": "4947:29:0" }, { "attributes": { @@ -39000,14 +39000,14 @@ ] }, "children": [], - "id": 615, + "id": 107, "name": "ParameterList", - "src": "4852:0:1" + "src": "4985:0:0" } ], - "id": 616, + "id": 108, "name": "FunctionDefinition", - "src": "4798:55:1" + "src": "4931:55:0" }, { "attributes": { @@ -39019,7 +39019,7 @@ null ], "name": "getApproved", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39029,9 +39029,9 @@ "attributes": { "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 617, + "id": 109, "name": "StructuredDocumentation", - "src": "4859:139:1" + "src": "4994:145:0" }, { "children": [ @@ -39040,7 +39040,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39052,19 +39052,19 @@ "name": "uint256", "type": "uint256" }, - "id": 618, + "id": 110, "name": "ElementaryTypeName", - "src": "5024:7:1" + "src": "5166:7:0" } ], - "id": 619, + "id": 111, "name": "VariableDeclaration", - "src": "5024:15:1" + "src": "5166:15:0" } ], - "id": 620, + "id": 112, "name": "ParameterList", - "src": "5023:17:1" + "src": "5165:17:0" }, { "children": [ @@ -39073,7 +39073,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39086,24 +39086,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 621, + "id": 113, "name": "ElementaryTypeName", - "src": "5064:7:1" + "src": "5206:7:0" } ], - "id": 622, + "id": 114, "name": "VariableDeclaration", - "src": "5064:16:1" + "src": "5206:16:0" } ], - "id": 623, + "id": 115, "name": "ParameterList", - "src": "5063:18:1" + "src": "5205:18:0" } ], - "id": 624, + "id": 116, "name": "FunctionDefinition", - "src": "5003:79:1" + "src": "5145:79:0" }, { "attributes": { @@ -39115,7 +39115,7 @@ null ], "name": "setApprovalForAll", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -39125,9 +39125,9 @@ "attributes": { "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, - "id": 625, + "id": 117, "name": "StructuredDocumentation", - "src": "5088:309:1" + "src": "5232:318:0" }, { "children": [ @@ -39136,7 +39136,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39149,21 +39149,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 626, + "id": 118, "name": "ElementaryTypeName", - "src": "5429:7:1" + "src": "5583:7:0" } ], - "id": 627, + "id": 119, "name": "VariableDeclaration", - "src": "5429:16:1" + "src": "5583:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_approved", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -39175,19 +39175,19 @@ "name": "bool", "type": "bool" }, - "id": 628, + "id": 120, "name": "ElementaryTypeName", - "src": "5447:4:1" + "src": "5601:4:0" } ], - "id": 629, + "id": 121, "name": "VariableDeclaration", - "src": "5447:14:1" + "src": "5601:14:0" } ], - "id": 630, + "id": 122, "name": "ParameterList", - "src": "5428:34:1" + "src": "5582:34:0" }, { "attributes": { @@ -39196,14 +39196,14 @@ ] }, "children": [], - "id": 631, + "id": 123, "name": "ParameterList", - "src": "5471:0:1" + "src": "5625:0:0" } ], - "id": 632, + "id": 124, "name": "FunctionDefinition", - "src": "5402:70:1" + "src": "5556:70:0" }, { "attributes": { @@ -39215,7 +39215,7 @@ null ], "name": "isApprovedForAll", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39225,9 +39225,9 @@ "attributes": { "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, - "id": 633, + "id": 125, "name": "StructuredDocumentation", - "src": "5478:138:1" + "src": "5634:142:0" }, { "children": [ @@ -39236,7 +39236,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39249,21 +39249,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 634, + "id": 126, "name": "ElementaryTypeName", - "src": "5647:7:1" + "src": "5808:7:0" } ], - "id": 635, + "id": 127, "name": "VariableDeclaration", - "src": "5647:13:1" + "src": "5808:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39276,19 +39276,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 636, + "id": 128, "name": "ElementaryTypeName", - "src": "5662:7:1" + "src": "5823:7:0" } ], - "id": 637, + "id": 129, "name": "VariableDeclaration", - "src": "5662:16:1" + "src": "5823:16:0" } ], - "id": 638, + "id": 130, "name": "ParameterList", - "src": "5646:33:1" + "src": "5807:33:0" }, { "children": [ @@ -39297,7 +39297,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -39309,24 +39309,24 @@ "name": "bool", "type": "bool" }, - "id": 639, + "id": 131, "name": "ElementaryTypeName", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 640, + "id": 132, "name": "VariableDeclaration", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 641, + "id": 133, "name": "ParameterList", - "src": "5702:6:1" + "src": "5863:6:0" } ], - "id": 642, + "id": 134, "name": "FunctionDefinition", - "src": "5621:88:1" + "src": "5782:88:0" }, { "attributes": { @@ -39338,7 +39338,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -39348,9 +39348,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 643, + "id": 135, "name": "StructuredDocumentation", - "src": "5715:568:1" + "src": "5878:580:0" }, { "children": [ @@ -39359,7 +39359,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39372,21 +39372,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 644, + "id": 136, "name": "ElementaryTypeName", - "src": "6314:7:1" + "src": "6490:7:0" } ], - "id": 645, + "id": 137, "name": "VariableDeclaration", - "src": "6314:12:1" + "src": "6490:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39399,21 +39399,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 646, + "id": 138, "name": "ElementaryTypeName", - "src": "6328:7:1" + "src": "6504:7:0" } ], - "id": 647, + "id": 139, "name": "VariableDeclaration", - "src": "6328:10:1" + "src": "6504:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39425,21 +39425,21 @@ "name": "uint256", "type": "uint256" }, - "id": 648, + "id": 140, "name": "ElementaryTypeName", - "src": "6340:7:1" + "src": "6516:7:0" } ], - "id": 649, + "id": 141, "name": "VariableDeclaration", - "src": "6340:15:1" + "src": "6516:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39451,19 +39451,19 @@ "name": "bytes", "type": "bytes" }, - "id": 650, + "id": 142, "name": "ElementaryTypeName", - "src": "6357:5:1" + "src": "6533:5:0" } ], - "id": 651, + "id": 143, "name": "VariableDeclaration", - "src": "6357:19:1" + "src": "6533:19:0" } ], - "id": 652, + "id": 144, "name": "ParameterList", - "src": "6313:64:1" + "src": "6489:64:0" }, { "attributes": { @@ -39472,19 +39472,19 @@ ] }, "children": [], - "id": 653, + "id": 145, "name": "ParameterList", - "src": "6386:0:1" + "src": "6562:0:0" } ], - "id": 654, + "id": 146, "name": "FunctionDefinition", - "src": "6288:99:1" + "src": "6464:99:0" } ], - "id": 655, + "id": 147, "name": "ContractDefinition", - "src": "1975:4414:1" + "src": "2033:4533:0" }, { "attributes": { @@ -39498,35 +39498,35 @@ ".0" ] }, - "id": 656, + "id": 148, "name": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 657, + "id": 149, "name": "StructuredDocumentation", - "src": "6491:133:1" + "src": "6674:136:0" }, { "attributes": {}, @@ -39534,17 +39534,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 658, + "id": 150, "name": "UserDefinedTypeName", - "src": "6654:7:1" + "src": "6841:7:0" } ], - "id": 659, + "id": 151, "name": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" }, { "attributes": { @@ -39556,7 +39556,7 @@ null ], "name": "name", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39566,9 +39566,9 @@ "attributes": { "text": " @dev Returns the token collection name." }, - "id": 660, + "id": 152, "name": "StructuredDocumentation", - "src": "6669:58:1" + "src": "6858:60:0" }, { "attributes": { @@ -39577,9 +39577,9 @@ ] }, "children": [], - "id": 661, + "id": 153, "name": "ParameterList", - "src": "6745:2:1" + "src": "6937:2:0" }, { "children": [ @@ -39588,7 +39588,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 665, + "scope": 157, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39600,24 +39600,24 @@ "name": "string", "type": "string" }, - "id": 662, + "id": 154, "name": "ElementaryTypeName", - "src": "6771:6:1" + "src": "6963:6:0" } ], - "id": 663, + "id": 155, "name": "VariableDeclaration", - "src": "6771:13:1" + "src": "6963:13:0" } ], - "id": 664, + "id": 156, "name": "ParameterList", - "src": "6770:15:1" + "src": "6962:15:0" } ], - "id": 665, + "id": 157, "name": "FunctionDefinition", - "src": "6732:54:1" + "src": "6924:54:0" }, { "attributes": { @@ -39629,7 +39629,7 @@ null ], "name": "symbol", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39639,9 +39639,9 @@ "attributes": { "text": " @dev Returns the token collection symbol." }, - "id": 666, + "id": 158, "name": "StructuredDocumentation", - "src": "6792:60:1" + "src": "6986:62:0" }, { "attributes": { @@ -39650,9 +39650,9 @@ ] }, "children": [], - "id": 667, + "id": 159, "name": "ParameterList", - "src": "6872:2:1" + "src": "7069:2:0" }, { "children": [ @@ -39661,7 +39661,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 671, + "scope": 163, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39673,24 +39673,24 @@ "name": "string", "type": "string" }, - "id": 668, + "id": 160, "name": "ElementaryTypeName", - "src": "6898:6:1" + "src": "7095:6:0" } ], - "id": 669, + "id": 161, "name": "VariableDeclaration", - "src": "6898:13:1" + "src": "7095:13:0" } ], - "id": 670, + "id": 162, "name": "ParameterList", - "src": "6897:15:1" + "src": "7094:15:0" } ], - "id": 671, + "id": 163, "name": "FunctionDefinition", - "src": "6857:56:1" + "src": "7054:56:0" }, { "attributes": { @@ -39702,7 +39702,7 @@ null ], "name": "tokenURI", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39712,9 +39712,9 @@ "attributes": { "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, - "id": 672, + "id": 164, "name": "StructuredDocumentation", - "src": "6919:90:1" + "src": "7118:92:0" }, { "children": [ @@ -39723,7 +39723,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39735,19 +39735,19 @@ "name": "uint256", "type": "uint256" }, - "id": 673, + "id": 165, "name": "ElementaryTypeName", - "src": "7032:7:1" + "src": "7234:7:0" } ], - "id": 674, + "id": 166, "name": "VariableDeclaration", - "src": "7032:15:1" + "src": "7234:15:0" } ], - "id": 675, + "id": 167, "name": "ParameterList", - "src": "7031:17:1" + "src": "7233:17:0" }, { "children": [ @@ -39756,7 +39756,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39768,29 +39768,29 @@ "name": "string", "type": "string" }, - "id": 676, + "id": 168, "name": "ElementaryTypeName", - "src": "7072:6:1" + "src": "7274:6:0" } ], - "id": 677, + "id": 169, "name": "VariableDeclaration", - "src": "7072:13:1" + "src": "7274:13:0" } ], - "id": 678, + "id": 170, "name": "ParameterList", - "src": "7071:15:1" + "src": "7273:15:0" } ], - "id": 679, + "id": 171, "name": "FunctionDefinition", - "src": "7014:73:1" + "src": "7216:73:0" } ], - "id": 680, + "id": 172, "name": "ContractDefinition", - "src": "6625:464:1" + "src": "6812:480:0" }, { "attributes": { @@ -39804,35 +39804,35 @@ ".0" ] }, - "id": 681, + "id": 173, "name": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 682, + "id": 174, "name": "StructuredDocumentation", - "src": "7195:136:1" + "src": "7406:139:0" }, { "attributes": {}, @@ -39840,17 +39840,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 683, + "id": 175, "name": "UserDefinedTypeName", - "src": "7363:7:1" + "src": "7578:7:0" } ], - "id": 684, + "id": 176, "name": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" }, { "attributes": { @@ -39862,7 +39862,7 @@ null ], "name": "totalSupply", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39872,9 +39872,9 @@ "attributes": { "text": " @dev Returns the total amount of tokens stored by the contract." }, - "id": 685, + "id": 177, "name": "StructuredDocumentation", - "src": "7378:82:1" + "src": "7595:84:0" }, { "attributes": { @@ -39883,9 +39883,9 @@ ] }, "children": [], - "id": 686, + "id": 178, "name": "ParameterList", - "src": "7485:2:1" + "src": "7705:2:0" }, { "children": [ @@ -39894,7 +39894,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 690, + "scope": 182, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39906,24 +39906,24 @@ "name": "uint256", "type": "uint256" }, - "id": 687, + "id": 179, "name": "ElementaryTypeName", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 688, + "id": 180, "name": "VariableDeclaration", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 689, + "id": 181, "name": "ParameterList", - "src": "7510:9:1" + "src": "7730:9:0" } ], - "id": 690, + "id": 182, "name": "FunctionDefinition", - "src": "7465:55:1" + "src": "7685:55:0" }, { "attributes": { @@ -39935,7 +39935,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39945,9 +39945,9 @@ "attributes": { "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, - "id": 691, + "id": 183, "name": "StructuredDocumentation", - "src": "7526:171:1" + "src": "7748:174:0" }, { "children": [ @@ -39956,7 +39956,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39969,21 +39969,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 692, + "id": 184, "name": "ElementaryTypeName", - "src": "7731:7:1" + "src": "7957:7:0" } ], - "id": 693, + "id": 185, "name": "VariableDeclaration", - "src": "7731:13:1" + "src": "7957:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39995,19 +39995,19 @@ "name": "uint256", "type": "uint256" }, - "id": 694, + "id": 186, "name": "ElementaryTypeName", - "src": "7746:7:1" + "src": "7972:7:0" } ], - "id": 695, + "id": 187, "name": "VariableDeclaration", - "src": "7746:13:1" + "src": "7972:13:0" } ], - "id": 696, + "id": 188, "name": "ParameterList", - "src": "7730:30:1" + "src": "7956:30:0" }, { "children": [ @@ -40016,7 +40016,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40028,24 +40028,24 @@ "name": "uint256", "type": "uint256" }, - "id": 697, + "id": 189, "name": "ElementaryTypeName", - "src": "7784:7:1" + "src": "8010:7:0" } ], - "id": 698, + "id": 190, "name": "VariableDeclaration", - "src": "7784:15:1" + "src": "8010:15:0" } ], - "id": 699, + "id": 191, "name": "ParameterList", - "src": "7783:17:1" + "src": "8009:17:0" } ], - "id": 700, + "id": 192, "name": "FunctionDefinition", - "src": "7702:99:1" + "src": "7928:99:0" }, { "attributes": { @@ -40057,7 +40057,7 @@ null ], "name": "tokenByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -40067,9 +40067,9 @@ "attributes": { "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, - "id": 701, + "id": 193, "name": "StructuredDocumentation", - "src": "7807:164:1" + "src": "8035:167:0" }, { "children": [ @@ -40078,7 +40078,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40090,19 +40090,19 @@ "name": "uint256", "type": "uint256" }, - "id": 702, + "id": 194, "name": "ElementaryTypeName", - "src": "7998:7:1" + "src": "8230:7:0" } ], - "id": 703, + "id": 195, "name": "VariableDeclaration", - "src": "7998:13:1" + "src": "8230:13:0" } ], - "id": 704, + "id": 196, "name": "ParameterList", - "src": "7997:15:1" + "src": "8229:15:0" }, { "children": [ @@ -40111,7 +40111,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40123,29 +40123,29 @@ "name": "uint256", "type": "uint256" }, - "id": 705, + "id": 197, "name": "ElementaryTypeName", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 706, + "id": 198, "name": "VariableDeclaration", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 707, + "id": 199, "name": "ParameterList", - "src": "8035:9:1" + "src": "8267:9:0" } ], - "id": 708, + "id": 200, "name": "FunctionDefinition", - "src": "7976:69:1" + "src": "8208:69:0" } ], - "id": 709, + "id": 201, "name": "ContractDefinition", - "src": "7332:715:1" + "src": "7547:733:0" }, { "attributes": { @@ -40159,9 +40159,9 @@ ".0" ] }, - "id": 710, + "id": 202, "name": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "attributes": { @@ -40175,19 +40175,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, - "id": 711, + "id": 203, "name": "StructuredDocumentation", - "src": "8150:152:1" + "src": "8390:156:0" }, { "attributes": { @@ -40199,7 +40199,7 @@ null ], "name": "onERC721Received", - "scope": 726, + "scope": 218, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -40209,9 +40209,9 @@ "attributes": { "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, - "id": 712, + "id": 204, "name": "StructuredDocumentation", - "src": "8335:485:1" + "src": "8581:493:0" }, { "children": [ @@ -40220,7 +40220,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -40233,21 +40233,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 713, + "id": 205, "name": "ElementaryTypeName", - "src": "8851:7:1" + "src": "9106:7:0" } ], - "id": 714, + "id": 206, "name": "VariableDeclaration", - "src": "8851:16:1" + "src": "9106:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "from", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -40260,21 +40260,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 715, + "id": 207, "name": "ElementaryTypeName", - "src": "8869:7:1" + "src": "9124:7:0" } ], - "id": 716, + "id": 208, "name": "VariableDeclaration", - "src": "8869:12:1" + "src": "9124:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40286,21 +40286,21 @@ "name": "uint256", "type": "uint256" }, - "id": 717, + "id": 209, "name": "ElementaryTypeName", - "src": "8883:7:1" + "src": "9138:7:0" } ], - "id": 718, + "id": 210, "name": "VariableDeclaration", - "src": "8883:15:1" + "src": "9138:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -40312,19 +40312,19 @@ "name": "bytes", "type": "bytes" }, - "id": 719, + "id": 211, "name": "ElementaryTypeName", - "src": "8900:5:1" + "src": "9155:5:0" } ], - "id": 720, + "id": 212, "name": "VariableDeclaration", - "src": "8900:19:1" + "src": "9155:19:0" } ], - "id": 721, + "id": 213, "name": "ParameterList", - "src": "8850:70:1" + "src": "9105:70:0" }, { "children": [ @@ -40333,7 +40333,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40345,29 +40345,29 @@ "name": "bytes4", "type": "bytes4" }, - "id": 722, + "id": 214, "name": "ElementaryTypeName", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 723, + "id": 215, "name": "VariableDeclaration", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 724, + "id": 216, "name": "ParameterList", - "src": "8938:8:1" + "src": "9193:8:0" } ], - "id": 725, + "id": 217, "name": "FunctionDefinition", - "src": "8825:122:1" + "src": "9080:122:0" } ], - "id": 726, + "id": 218, "name": "ContractDefinition", - "src": "8303:646:1" + "src": "8548:657:0" }, { "attributes": { @@ -40381,33 +40381,33 @@ ".0" ] }, - "id": 727, + "id": 219, "name": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "attributes": { "abstract": true, "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, - "id": 728, + "id": 220, "name": "StructuredDocumentation", - "src": "9043:171:1" + "src": "9305:176:0" }, { "attributes": {}, @@ -40415,24 +40415,24 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 729, + "id": 221, "name": "UserDefinedTypeName", - "src": "9243:7:1" + "src": "9511:7:0" } ], - "id": 730, + "id": 222, "name": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -40444,9 +40444,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 731, + "id": 223, "name": "ElementaryTypeName", - "src": "9340:6:1" + "src": "9612:6:0" }, { "attributes": { @@ -40459,21 +40459,21 @@ "type": "int_const 33540519", "value": "0x01ffc9a7" }, - "id": 732, + "id": 224, "name": "Literal", - "src": "9387:10:1" + "src": "9659:10:0" } ], - "id": 733, + "id": 225, "name": "VariableDeclaration", - "src": "9340:57:1" + "src": "9612:57:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_supportedInterfaces", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "mapping(bytes4 => bool)", @@ -40490,36 +40490,36 @@ "name": "bytes4", "type": "bytes4" }, - "id": 735, + "id": 227, "name": "ElementaryTypeName", - "src": "9499:6:1" + "src": "9776:6:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 736, + "id": 228, "name": "ElementaryTypeName", - "src": "9509:4:1" + "src": "9786:4:0" } ], - "id": 737, + "id": 229, "name": "Mapping", - "src": "9491:23:1" + "src": "9768:23:0" }, { "attributes": { "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 734, + "id": 226, "name": "StructuredDocumentation", - "src": "9404:82:1" + "src": "9678:84:0" } ], - "id": 738, + "id": 230, "name": "VariableDeclaration", - "src": "9491:52:1" + "src": "9768:52:0" }, { "attributes": { @@ -40530,7 +40530,7 @@ null ], "name": "", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -40543,9 +40543,9 @@ ] }, "children": [], - "id": 739, + "id": 231, "name": "ParameterList", - "src": "9562:2:1" + "src": "9841:2:0" }, { "attributes": { @@ -40554,9 +40554,9 @@ ] }, "children": [], - "id": 740, + "id": 232, "name": "ParameterList", - "src": "9565:0:1" + "src": "9844:0:0" }, { "children": [ @@ -40588,51 +40588,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 741, + "id": 233, "name": "Identifier", - "src": "9711:18:1" + "src": "9993:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 733, + "referencedDeclaration": 225, "type": "bytes4", "value": "_INTERFACE_ID_ERC165" }, - "id": 742, + "id": 234, "name": "Identifier", - "src": "9730:20:1" + "src": "10012:20:0" } ], - "id": 743, + "id": 235, "name": "FunctionCall", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 744, + "id": 236, "name": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 745, + "id": 237, "name": "Block", - "src": "9565:193:1" + "src": "9844:197:0" } ], - "id": 746, + "id": 238, "name": "FunctionDefinition", - "src": "9550:208:1" + "src": "9829:212:0" }, { "attributes": { "baseFunctions": [ - 540 + 32 ], "functionSelector": "01ffc9a7", "implemented": true, @@ -40642,7 +40642,7 @@ null ], "name": "supportsInterface", - "scope": 781, + "scope": 273, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -40652,9 +40652,9 @@ "attributes": { "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, - "id": 747, + "id": 239, "name": "StructuredDocumentation", - "src": "9764:139:1" + "src": "10049:143:0" }, { "attributes": { @@ -40662,9 +40662,9 @@ null ] }, - "id": 751, + "id": 243, "name": "OverrideSpecifier", - "src": "9975:8:1" + "src": "10265:8:0" }, { "children": [ @@ -40673,7 +40673,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40685,19 +40685,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 748, + "id": 240, "name": "ElementaryTypeName", - "src": "9935:6:1" + "src": "10225:6:0" } ], - "id": 749, + "id": 241, "name": "VariableDeclaration", - "src": "9935:18:1" + "src": "10225:18:0" } ], - "id": 750, + "id": 242, "name": "ParameterList", - "src": "9934:20:1" + "src": "10224:20:0" }, { "children": [ @@ -40706,7 +40706,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40718,25 +40718,25 @@ "name": "bool", "type": "bool" }, - "id": 752, + "id": 244, "name": "ElementaryTypeName", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 753, + "id": 245, "name": "VariableDeclaration", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 754, + "id": 246, "name": "ParameterList", - "src": "9992:6:1" + "src": "10282:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 754 + "functionReturnParameters": 246 }, "children": [ { @@ -40753,46 +40753,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 755, + "id": 247, "name": "Identifier", - "src": "10016:20:1" + "src": "10307:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 749, + "referencedDeclaration": 241, "type": "bytes4", "value": "interfaceId" }, - "id": 756, + "id": 248, "name": "Identifier", - "src": "10037:11:1" + "src": "10328:11:0" } ], - "id": 757, + "id": 249, "name": "IndexAccess", - "src": "10016:33:1" + "src": "10307:33:0" } ], - "id": 758, + "id": 250, "name": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ], - "id": 759, + "id": 251, "name": "Block", - "src": "9999:57:1" + "src": "10289:59:0" } ], - "id": 760, + "id": 252, "name": "FunctionDefinition", - "src": "9908:148:1" + "src": "10198:150:0" }, { "attributes": { @@ -40803,7 +40803,7 @@ null ], "name": "_registerInterface", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -40813,9 +40813,9 @@ "attributes": { "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 761, + "id": 253, "name": "StructuredDocumentation", - "src": "10062:383:1" + "src": "10356:393:0" }, { "children": [ @@ -40824,7 +40824,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 780, + "scope": 272, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40836,19 +40836,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 762, + "id": 254, "name": "ElementaryTypeName", - "src": "10478:6:1" + "src": "10783:6:0" } ], - "id": 763, + "id": 255, "name": "VariableDeclaration", - "src": "10478:18:1" + "src": "10783:18:0" } ], - "id": 764, + "id": 256, "name": "ParameterList", - "src": "10477:20:1" + "src": "10782:20:0" }, { "attributes": { @@ -40857,9 +40857,9 @@ ] }, "children": [], - "id": 765, + "id": 257, "name": "ParameterList", - "src": "10515:0:1" + "src": "10820:0:0" }, { "children": [ @@ -40900,9 +40900,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 766, + "id": 258, "name": "Identifier", - "src": "10525:7:1" + "src": "10831:7:0" }, { "attributes": { @@ -40923,13 +40923,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 767, + "id": 259, "name": "Identifier", - "src": "10533:11:1" + "src": "10839:11:0" }, { "attributes": { @@ -40942,14 +40942,14 @@ "type": "int_const 4294967295", "value": "0xffffffff" }, - "id": 768, + "id": 260, "name": "Literal", - "src": "10548:10:1" + "src": "10854:10:0" } ], - "id": 769, + "id": 261, "name": "BinaryOperation", - "src": "10533:25:1" + "src": "10839:25:0" }, { "attributes": { @@ -40962,19 +40962,19 @@ "type": "literal_string \"ERC165: invalid interface id\"", "value": "ERC165: invalid interface id" }, - "id": 770, + "id": 262, "name": "Literal", - "src": "10560:30:1" + "src": "10866:30:0" } ], - "id": 771, + "id": 263, "name": "FunctionCall", - "src": "10525:66:1" + "src": "10831:66:0" } ], - "id": 772, + "id": 264, "name": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "children": [ @@ -41002,31 +41002,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 773, + "id": 265, "name": "Identifier", - "src": "10601:20:1" + "src": "10908:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 774, + "id": 266, "name": "Identifier", - "src": "10622:11:1" + "src": "10929:11:0" } ], - "id": 775, + "id": 267, "name": "IndexAccess", - "src": "10601:33:1" + "src": "10908:33:0" }, { "attributes": { @@ -41039,34 +41039,34 @@ "type": "bool", "value": "true" }, - "id": 776, + "id": 268, "name": "Literal", - "src": "10637:4:1" + "src": "10944:4:0" } ], - "id": 777, + "id": 269, "name": "Assignment", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 778, + "id": 270, "name": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 779, + "id": 271, "name": "Block", - "src": "10515:133:1" + "src": "10820:136:0" } ], - "id": 780, + "id": 272, "name": "FunctionDefinition", - "src": "10450:198:1" + "src": "10755:201:0" } ], - "id": 781, + "id": 273, "name": "ContractDefinition", - "src": "9215:1435:1" + "src": "9483:1476:0" }, { "attributes": { @@ -41080,9 +41080,9 @@ ".0" ] }, - "id": 782, + "id": 274, "name": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "attributes": { @@ -41096,19 +41096,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, - "id": 783, + "id": 275, "name": "StructuredDocumentation", - "src": "10736:563:1" + "src": "11050:575:0" }, { "attributes": { @@ -41119,7 +41119,7 @@ null ], "name": "tryAdd", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41129,9 +41129,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 784, + "id": 276, "name": "StructuredDocumentation", - "src": "11323:131:1" + "src": "11651:135:0" }, { "children": [ @@ -41140,7 +41140,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41152,21 +41152,21 @@ "name": "uint256", "type": "uint256" }, - "id": 785, + "id": 277, "name": "ElementaryTypeName", - "src": "11475:7:1" + "src": "11808:7:0" } ], - "id": 786, + "id": 278, "name": "VariableDeclaration", - "src": "11475:9:1" + "src": "11808:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41178,19 +41178,19 @@ "name": "uint256", "type": "uint256" }, - "id": 787, + "id": 279, "name": "ElementaryTypeName", - "src": "11486:7:1" + "src": "11819:7:0" } ], - "id": 788, + "id": 280, "name": "VariableDeclaration", - "src": "11486:9:1" + "src": "11819:9:0" } ], - "id": 789, + "id": 281, "name": "ParameterList", - "src": "11474:22:1" + "src": "11807:22:0" }, { "children": [ @@ -41199,7 +41199,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41211,21 +41211,21 @@ "name": "bool", "type": "bool" }, - "id": 790, + "id": 282, "name": "ElementaryTypeName", - "src": "11520:4:1" + "src": "11853:4:0" } ], - "id": 791, + "id": 283, "name": "VariableDeclaration", - "src": "11520:4:1" + "src": "11853:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41237,26 +41237,26 @@ "name": "uint256", "type": "uint256" }, - "id": 792, + "id": 284, "name": "ElementaryTypeName", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 793, + "id": 285, "name": "VariableDeclaration", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 794, + "id": 286, "name": "ParameterList", - "src": "11519:15:1" + "src": "11852:15:0" }, { "children": [ { "attributes": { "assignments": [ - 796 + 288 ] }, "children": [ @@ -41265,7 +41265,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 813, + "scope": 305, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41277,14 +41277,14 @@ "name": "uint256", "type": "uint256" }, - "id": 795, + "id": 287, "name": "ElementaryTypeName", - "src": "11545:7:1" + "src": "11879:7:0" } ], - "id": 796, + "id": 288, "name": "VariableDeclaration", - "src": "11545:9:1" + "src": "11879:9:0" }, { "attributes": { @@ -41305,36 +41305,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 797, + "id": 289, "name": "Identifier", - "src": "11557:1:1" + "src": "11891:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 280, "type": "uint256", "value": "b" }, - "id": 798, + "id": 290, "name": "Identifier", - "src": "11561:1:1" + "src": "11895:1:0" } ], - "id": 799, + "id": 291, "name": "BinaryOperation", - "src": "11557:5:1" + "src": "11891:5:0" } ], - "id": 800, + "id": 292, "name": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "attributes": {}, @@ -41358,35 +41358,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 801, + "id": 293, "name": "Identifier", - "src": "11576:1:1" + "src": "11911:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 802, + "id": 294, "name": "Identifier", - "src": "11580:1:1" + "src": "11915:1:0" } ], - "id": 803, + "id": 295, "name": "BinaryOperation", - "src": "11576:5:1" + "src": "11911:5:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -41410,9 +41410,9 @@ "type": "bool", "value": "false" }, - "id": 804, + "id": 296, "name": "Literal", - "src": "11591:5:1" + "src": "11926:5:0" }, { "attributes": { @@ -41425,28 +41425,28 @@ "type": "int_const 0", "value": "0" }, - "id": 805, + "id": 297, "name": "Literal", - "src": "11598:1:1" + "src": "11933:1:0" } ], - "id": 806, + "id": 298, "name": "TupleExpression", - "src": "11590:10:1" + "src": "11925:10:0" } ], - "id": 807, + "id": 299, "name": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } ], - "id": 808, + "id": 300, "name": "IfStatement", - "src": "11572:28:1" + "src": "11907:28:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -41470,42 +41470,42 @@ "type": "bool", "value": "true" }, - "id": 809, + "id": 301, "name": "Literal", - "src": "11618:4:1" + "src": "11954:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 810, + "id": 302, "name": "Identifier", - "src": "11624:1:1" + "src": "11960:1:0" } ], - "id": 811, + "id": 303, "name": "TupleExpression", - "src": "11617:9:1" + "src": "11953:9:0" } ], - "id": 812, + "id": 304, "name": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ], - "id": 813, + "id": 305, "name": "Block", - "src": "11535:98:1" + "src": "11868:102:0" } ], - "id": 814, + "id": 306, "name": "FunctionDefinition", - "src": "11459:174:1" + "src": "11792:178:0" }, { "attributes": { @@ -41516,7 +41516,7 @@ null ], "name": "trySub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41526,9 +41526,9 @@ "attributes": { "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 815, + "id": 307, "name": "StructuredDocumentation", - "src": "11639:135:1" + "src": "11978:139:0" }, { "children": [ @@ -41537,7 +41537,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41549,21 +41549,21 @@ "name": "uint256", "type": "uint256" }, - "id": 816, + "id": 308, "name": "ElementaryTypeName", - "src": "11795:7:1" + "src": "12139:7:0" } ], - "id": 817, + "id": 309, "name": "VariableDeclaration", - "src": "11795:9:1" + "src": "12139:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41575,19 +41575,19 @@ "name": "uint256", "type": "uint256" }, - "id": 818, + "id": 310, "name": "ElementaryTypeName", - "src": "11806:7:1" + "src": "12150:7:0" } ], - "id": 819, + "id": 311, "name": "VariableDeclaration", - "src": "11806:9:1" + "src": "12150:9:0" } ], - "id": 820, + "id": 312, "name": "ParameterList", - "src": "11794:22:1" + "src": "12138:22:0" }, { "children": [ @@ -41596,7 +41596,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41608,21 +41608,21 @@ "name": "bool", "type": "bool" }, - "id": 821, + "id": 313, "name": "ElementaryTypeName", - "src": "11840:4:1" + "src": "12184:4:0" } ], - "id": 822, + "id": 314, "name": "VariableDeclaration", - "src": "11840:4:1" + "src": "12184:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41634,19 +41634,19 @@ "name": "uint256", "type": "uint256" }, - "id": 823, + "id": 315, "name": "ElementaryTypeName", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 824, + "id": 316, "name": "VariableDeclaration", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 825, + "id": 317, "name": "ParameterList", - "src": "11839:15:1" + "src": "12183:15:0" }, { "children": [ @@ -41672,35 +41672,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 826, + "id": 318, "name": "Identifier", - "src": "11869:1:1" + "src": "12214:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 827, + "id": 319, "name": "Identifier", - "src": "11873:1:1" + "src": "12218:1:0" } ], - "id": 828, + "id": 320, "name": "BinaryOperation", - "src": "11869:5:1" + "src": "12214:5:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41724,9 +41724,9 @@ "type": "bool", "value": "false" }, - "id": 829, + "id": 321, "name": "Literal", - "src": "11884:5:1" + "src": "12229:5:0" }, { "attributes": { @@ -41739,28 +41739,28 @@ "type": "int_const 0", "value": "0" }, - "id": 830, + "id": 322, "name": "Literal", - "src": "11891:1:1" + "src": "12236:1:0" } ], - "id": 831, + "id": 323, "name": "TupleExpression", - "src": "11883:10:1" + "src": "12228:10:0" } ], - "id": 832, + "id": 324, "name": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } ], - "id": 833, + "id": 325, "name": "IfStatement", - "src": "11865:28:1" + "src": "12210:28:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41784,9 +41784,9 @@ "type": "bool", "value": "true" }, - "id": 834, + "id": 326, "name": "Literal", - "src": "11911:4:1" + "src": "12257:4:0" }, { "attributes": { @@ -41807,51 +41807,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 835, + "id": 327, "name": "Identifier", - "src": "11917:1:1" + "src": "12263:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 836, + "id": 328, "name": "Identifier", - "src": "11921:1:1" + "src": "12267:1:0" } ], - "id": 837, + "id": 329, "name": "BinaryOperation", - "src": "11917:5:1" + "src": "12263:5:0" } ], - "id": 838, + "id": 330, "name": "TupleExpression", - "src": "11910:13:1" + "src": "12256:13:0" } ], - "id": 839, + "id": 331, "name": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ], - "id": 840, + "id": 332, "name": "Block", - "src": "11855:75:1" + "src": "12199:78:0" } ], - "id": 841, + "id": 333, "name": "FunctionDefinition", - "src": "11779:151:1" + "src": "12123:154:0" }, { "attributes": { @@ -41862,7 +41862,7 @@ null ], "name": "tryMul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41872,9 +41872,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 842, + "id": 334, "name": "StructuredDocumentation", - "src": "11936:137:1" + "src": "12285:141:0" }, { "children": [ @@ -41883,7 +41883,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41895,21 +41895,21 @@ "name": "uint256", "type": "uint256" }, - "id": 843, + "id": 335, "name": "ElementaryTypeName", - "src": "12094:7:1" + "src": "12448:7:0" } ], - "id": 844, + "id": 336, "name": "VariableDeclaration", - "src": "12094:9:1" + "src": "12448:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41921,19 +41921,19 @@ "name": "uint256", "type": "uint256" }, - "id": 845, + "id": 337, "name": "ElementaryTypeName", - "src": "12105:7:1" + "src": "12459:7:0" } ], - "id": 846, + "id": 338, "name": "VariableDeclaration", - "src": "12105:9:1" + "src": "12459:9:0" } ], - "id": 847, + "id": 339, "name": "ParameterList", - "src": "12093:22:1" + "src": "12447:22:0" }, { "children": [ @@ -41942,7 +41942,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41954,21 +41954,21 @@ "name": "bool", "type": "bool" }, - "id": 848, + "id": 340, "name": "ElementaryTypeName", - "src": "12139:4:1" + "src": "12493:4:0" } ], - "id": 849, + "id": 341, "name": "VariableDeclaration", - "src": "12139:4:1" + "src": "12493:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41980,19 +41980,19 @@ "name": "uint256", "type": "uint256" }, - "id": 850, + "id": 342, "name": "ElementaryTypeName", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 851, + "id": 343, "name": "VariableDeclaration", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 852, + "id": 344, "name": "ParameterList", - "src": "12138:15:1" + "src": "12492:15:0" }, { "children": [ @@ -42018,13 +42018,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 853, + "id": 345, "name": "Identifier", - "src": "12386:1:1" + "src": "12744:1:0" }, { "attributes": { @@ -42037,18 +42037,18 @@ "type": "int_const 0", "value": "0" }, - "id": 854, + "id": 346, "name": "Literal", - "src": "12391:1:1" + "src": "12749:1:0" } ], - "id": 855, + "id": 347, "name": "BinaryOperation", - "src": "12386:6:1" + "src": "12744:6:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -42072,9 +42072,9 @@ "type": "bool", "value": "true" }, - "id": 856, + "id": 348, "name": "Literal", - "src": "12402:4:1" + "src": "12760:4:0" }, { "attributes": { @@ -42087,29 +42087,29 @@ "type": "int_const 0", "value": "0" }, - "id": 857, + "id": 349, "name": "Literal", - "src": "12408:1:1" + "src": "12766:1:0" } ], - "id": 858, + "id": 350, "name": "TupleExpression", - "src": "12401:9:1" + "src": "12759:9:0" } ], - "id": 859, + "id": 351, "name": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } ], - "id": 860, + "id": 352, "name": "IfStatement", - "src": "12382:28:1" + "src": "12740:28:0" }, { "attributes": { "assignments": [ - 862 + 354 ] }, "children": [ @@ -42118,7 +42118,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 881, + "scope": 373, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42130,14 +42130,14 @@ "name": "uint256", "type": "uint256" }, - "id": 861, + "id": 353, "name": "ElementaryTypeName", - "src": "12420:7:1" + "src": "12779:7:0" } ], - "id": 862, + "id": 354, "name": "VariableDeclaration", - "src": "12420:9:1" + "src": "12779:9:0" }, { "attributes": { @@ -42158,36 +42158,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 863, + "id": 355, "name": "Identifier", - "src": "12432:1:1" + "src": "12791:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 864, + "id": 356, "name": "Identifier", - "src": "12436:1:1" + "src": "12795:1:0" } ], - "id": 865, + "id": 357, "name": "BinaryOperation", - "src": "12432:5:1" + "src": "12791:5:0" } ], - "id": 866, + "id": 358, "name": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "attributes": {}, @@ -42225,53 +42225,53 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 867, + "id": 359, "name": "Identifier", - "src": "12451:1:1" + "src": "12811:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 868, + "id": 360, "name": "Identifier", - "src": "12455:1:1" + "src": "12815:1:0" } ], - "id": 869, + "id": 361, "name": "BinaryOperation", - "src": "12451:5:1" + "src": "12811:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 870, + "id": 362, "name": "Identifier", - "src": "12460:1:1" + "src": "12820:1:0" } ], - "id": 871, + "id": 363, "name": "BinaryOperation", - "src": "12451:10:1" + "src": "12811:10:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -42295,9 +42295,9 @@ "type": "bool", "value": "false" }, - "id": 872, + "id": 364, "name": "Literal", - "src": "12471:5:1" + "src": "12831:5:0" }, { "attributes": { @@ -42310,28 +42310,28 @@ "type": "int_const 0", "value": "0" }, - "id": 873, + "id": 365, "name": "Literal", - "src": "12478:1:1" + "src": "12838:1:0" } ], - "id": 874, + "id": 366, "name": "TupleExpression", - "src": "12470:10:1" + "src": "12830:10:0" } ], - "id": 875, + "id": 367, "name": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } ], - "id": 876, + "id": 368, "name": "IfStatement", - "src": "12447:33:1" + "src": "12807:33:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -42355,42 +42355,42 @@ "type": "bool", "value": "true" }, - "id": 877, + "id": 369, "name": "Literal", - "src": "12498:4:1" + "src": "12859:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 878, + "id": 370, "name": "Identifier", - "src": "12504:1:1" + "src": "12865:1:0" } ], - "id": 879, + "id": 371, "name": "TupleExpression", - "src": "12497:9:1" + "src": "12858:9:0" } ], - "id": 880, + "id": 372, "name": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ], - "id": 881, + "id": 373, "name": "Block", - "src": "12154:359:1" + "src": "12508:367:0" } ], - "id": 882, + "id": 374, "name": "FunctionDefinition", - "src": "12078:435:1" + "src": "12432:443:0" }, { "attributes": { @@ -42401,7 +42401,7 @@ null ], "name": "tryDiv", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42411,9 +42411,9 @@ "attributes": { "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 883, + "id": 375, "name": "StructuredDocumentation", - "src": "12519:138:1" + "src": "12883:142:0" }, { "children": [ @@ -42422,7 +42422,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42434,21 +42434,21 @@ "name": "uint256", "type": "uint256" }, - "id": 884, + "id": 376, "name": "ElementaryTypeName", - "src": "12678:7:1" + "src": "13047:7:0" } ], - "id": 885, + "id": 377, "name": "VariableDeclaration", - "src": "12678:9:1" + "src": "13047:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42460,19 +42460,19 @@ "name": "uint256", "type": "uint256" }, - "id": 886, + "id": 378, "name": "ElementaryTypeName", - "src": "12689:7:1" + "src": "13058:7:0" } ], - "id": 887, + "id": 379, "name": "VariableDeclaration", - "src": "12689:9:1" + "src": "13058:9:0" } ], - "id": 888, + "id": 380, "name": "ParameterList", - "src": "12677:22:1" + "src": "13046:22:0" }, { "children": [ @@ -42481,7 +42481,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42493,21 +42493,21 @@ "name": "bool", "type": "bool" }, - "id": 889, + "id": 381, "name": "ElementaryTypeName", - "src": "12723:4:1" + "src": "13092:4:0" } ], - "id": 890, + "id": 382, "name": "VariableDeclaration", - "src": "12723:4:1" + "src": "13092:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42519,19 +42519,19 @@ "name": "uint256", "type": "uint256" }, - "id": 891, + "id": 383, "name": "ElementaryTypeName", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 892, + "id": 384, "name": "VariableDeclaration", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 893, + "id": 385, "name": "ParameterList", - "src": "12722:15:1" + "src": "13091:15:0" }, { "children": [ @@ -42557,13 +42557,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 894, + "id": 386, "name": "Identifier", - "src": "12752:1:1" + "src": "13122:1:0" }, { "attributes": { @@ -42576,18 +42576,18 @@ "type": "int_const 0", "value": "0" }, - "id": 895, + "id": 387, "name": "Literal", - "src": "12757:1:1" + "src": "13127:1:0" } ], - "id": 896, + "id": 388, "name": "BinaryOperation", - "src": "12752:6:1" + "src": "13122:6:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42611,9 +42611,9 @@ "type": "bool", "value": "false" }, - "id": 897, + "id": 389, "name": "Literal", - "src": "12768:5:1" + "src": "13138:5:0" }, { "attributes": { @@ -42626,28 +42626,28 @@ "type": "int_const 0", "value": "0" }, - "id": 898, + "id": 390, "name": "Literal", - "src": "12775:1:1" + "src": "13145:1:0" } ], - "id": 899, + "id": 391, "name": "TupleExpression", - "src": "12767:10:1" + "src": "13137:10:0" } ], - "id": 900, + "id": 392, "name": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } ], - "id": 901, + "id": 393, "name": "IfStatement", - "src": "12748:29:1" + "src": "13118:29:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42671,9 +42671,9 @@ "type": "bool", "value": "true" }, - "id": 902, + "id": 394, "name": "Literal", - "src": "12795:4:1" + "src": "13166:4:0" }, { "attributes": { @@ -42694,51 +42694,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 885, + "referencedDeclaration": 377, "type": "uint256", "value": "a" }, - "id": 903, + "id": 395, "name": "Identifier", - "src": "12801:1:1" + "src": "13172:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 904, + "id": 396, "name": "Identifier", - "src": "12805:1:1" + "src": "13176:1:0" } ], - "id": 905, + "id": 397, "name": "BinaryOperation", - "src": "12801:5:1" + "src": "13172:5:0" } ], - "id": 906, + "id": 398, "name": "TupleExpression", - "src": "12794:13:1" + "src": "13165:13:0" } ], - "id": 907, + "id": 399, "name": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ], - "id": 908, + "id": 400, "name": "Block", - "src": "12738:76:1" + "src": "13107:79:0" } ], - "id": 909, + "id": 401, "name": "FunctionDefinition", - "src": "12662:152:1" + "src": "13031:155:0" }, { "attributes": { @@ -42749,7 +42749,7 @@ null ], "name": "tryMod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42759,9 +42759,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 910, + "id": 402, "name": "StructuredDocumentation", - "src": "12820:148:1" + "src": "13194:152:0" }, { "children": [ @@ -42770,7 +42770,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42782,21 +42782,21 @@ "name": "uint256", "type": "uint256" }, - "id": 911, + "id": 403, "name": "ElementaryTypeName", - "src": "12989:7:1" + "src": "13368:7:0" } ], - "id": 912, + "id": 404, "name": "VariableDeclaration", - "src": "12989:9:1" + "src": "13368:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42808,19 +42808,19 @@ "name": "uint256", "type": "uint256" }, - "id": 913, + "id": 405, "name": "ElementaryTypeName", - "src": "13000:7:1" + "src": "13379:7:0" } ], - "id": 914, + "id": 406, "name": "VariableDeclaration", - "src": "13000:9:1" + "src": "13379:9:0" } ], - "id": 915, + "id": 407, "name": "ParameterList", - "src": "12988:22:1" + "src": "13367:22:0" }, { "children": [ @@ -42829,7 +42829,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42841,21 +42841,21 @@ "name": "bool", "type": "bool" }, - "id": 916, + "id": 408, "name": "ElementaryTypeName", - "src": "13034:4:1" + "src": "13413:4:0" } ], - "id": 917, + "id": 409, "name": "VariableDeclaration", - "src": "13034:4:1" + "src": "13413:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42867,19 +42867,19 @@ "name": "uint256", "type": "uint256" }, - "id": 918, + "id": 410, "name": "ElementaryTypeName", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 919, + "id": 411, "name": "VariableDeclaration", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 920, + "id": 412, "name": "ParameterList", - "src": "13033:15:1" + "src": "13412:15:0" }, { "children": [ @@ -42905,13 +42905,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 921, + "id": 413, "name": "Identifier", - "src": "13063:1:1" + "src": "13443:1:0" }, { "attributes": { @@ -42924,18 +42924,18 @@ "type": "int_const 0", "value": "0" }, - "id": 922, + "id": 414, "name": "Literal", - "src": "13068:1:1" + "src": "13448:1:0" } ], - "id": 923, + "id": 415, "name": "BinaryOperation", - "src": "13063:6:1" + "src": "13443:6:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42959,9 +42959,9 @@ "type": "bool", "value": "false" }, - "id": 924, + "id": 416, "name": "Literal", - "src": "13079:5:1" + "src": "13459:5:0" }, { "attributes": { @@ -42974,28 +42974,28 @@ "type": "int_const 0", "value": "0" }, - "id": 925, + "id": 417, "name": "Literal", - "src": "13086:1:1" + "src": "13466:1:0" } ], - "id": 926, + "id": 418, "name": "TupleExpression", - "src": "13078:10:1" + "src": "13458:10:0" } ], - "id": 927, + "id": 419, "name": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } ], - "id": 928, + "id": 420, "name": "IfStatement", - "src": "13059:29:1" + "src": "13439:29:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -43019,9 +43019,9 @@ "type": "bool", "value": "true" }, - "id": 929, + "id": 421, "name": "Literal", - "src": "13106:4:1" + "src": "13487:4:0" }, { "attributes": { @@ -43042,51 +43042,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 912, + "referencedDeclaration": 404, "type": "uint256", "value": "a" }, - "id": 930, + "id": 422, "name": "Identifier", - "src": "13112:1:1" + "src": "13493:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 931, + "id": 423, "name": "Identifier", - "src": "13116:1:1" + "src": "13497:1:0" } ], - "id": 932, + "id": 424, "name": "BinaryOperation", - "src": "13112:5:1" + "src": "13493:5:0" } ], - "id": 933, + "id": 425, "name": "TupleExpression", - "src": "13105:13:1" + "src": "13486:13:0" } ], - "id": 934, + "id": 426, "name": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ], - "id": 935, + "id": 427, "name": "Block", - "src": "13049:76:1" + "src": "13428:79:0" } ], - "id": 936, + "id": 428, "name": "FunctionDefinition", - "src": "12973:152:1" + "src": "13352:155:0" }, { "attributes": { @@ -43097,7 +43097,7 @@ null ], "name": "add", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43107,9 +43107,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 937, + "id": 429, "name": "StructuredDocumentation", - "src": "13131:224:1" + "src": "13515:233:0" }, { "children": [ @@ -43118,7 +43118,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43130,21 +43130,21 @@ "name": "uint256", "type": "uint256" }, - "id": 938, + "id": 430, "name": "ElementaryTypeName", - "src": "13373:7:1" + "src": "13767:7:0" } ], - "id": 939, + "id": 431, "name": "VariableDeclaration", - "src": "13373:9:1" + "src": "13767:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43156,19 +43156,19 @@ "name": "uint256", "type": "uint256" }, - "id": 940, + "id": 432, "name": "ElementaryTypeName", - "src": "13384:7:1" + "src": "13778:7:0" } ], - "id": 941, + "id": 433, "name": "VariableDeclaration", - "src": "13384:9:1" + "src": "13778:9:0" } ], - "id": 942, + "id": 434, "name": "ParameterList", - "src": "13372:22:1" + "src": "13766:22:0" }, { "children": [ @@ -43177,7 +43177,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43189,26 +43189,26 @@ "name": "uint256", "type": "uint256" }, - "id": 943, + "id": 435, "name": "ElementaryTypeName", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 944, + "id": 436, "name": "VariableDeclaration", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 945, + "id": 437, "name": "ParameterList", - "src": "13417:9:1" + "src": "13811:9:0" }, { "children": [ { "attributes": { "assignments": [ - 947 + 439 ] }, "children": [ @@ -43217,7 +43217,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 961, + "scope": 453, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43229,14 +43229,14 @@ "name": "uint256", "type": "uint256" }, - "id": 946, + "id": 438, "name": "ElementaryTypeName", - "src": "13437:7:1" + "src": "13832:7:0" } ], - "id": 947, + "id": 439, "name": "VariableDeclaration", - "src": "13437:9:1" + "src": "13832:9:0" }, { "attributes": { @@ -43257,36 +43257,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 948, + "id": 440, "name": "Identifier", - "src": "13449:1:1" + "src": "13844:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 941, + "referencedDeclaration": 433, "type": "uint256", "value": "b" }, - "id": 949, + "id": 441, "name": "Identifier", - "src": "13453:1:1" + "src": "13848:1:0" } ], - "id": 950, + "id": 442, "name": "BinaryOperation", - "src": "13449:5:1" + "src": "13844:5:0" } ], - "id": 951, + "id": 443, "name": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "children": [ @@ -43325,9 +43325,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 952, + "id": 444, "name": "Identifier", - "src": "13464:7:1" + "src": "13860:7:0" }, { "attributes": { @@ -43348,31 +43348,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 953, + "id": 445, "name": "Identifier", - "src": "13472:1:1" + "src": "13868:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 954, + "id": 446, "name": "Identifier", - "src": "13477:1:1" + "src": "13873:1:0" } ], - "id": 955, + "id": 447, "name": "BinaryOperation", - "src": "13472:6:1" + "src": "13868:6:0" }, { "attributes": { @@ -43385,23 +43385,23 @@ "type": "literal_string \"SafeMath: addition overflow\"", "value": "SafeMath: addition overflow" }, - "id": 956, + "id": 448, "name": "Literal", - "src": "13480:29:1" + "src": "13876:29:0" } ], - "id": 957, + "id": 449, "name": "FunctionCall", - "src": "13464:46:1" + "src": "13860:46:0" } ], - "id": 958, + "id": 450, "name": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "attributes": { - "functionReturnParameters": 945 + "functionReturnParameters": 437 }, "children": [ { @@ -43409,28 +43409,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 959, + "id": 451, "name": "Identifier", - "src": "13527:1:1" + "src": "13924:1:0" } ], - "id": 960, + "id": 452, "name": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ], - "id": 961, + "id": 453, "name": "Block", - "src": "13427:108:1" + "src": "13821:112:0" } ], - "id": 962, + "id": 454, "name": "FunctionDefinition", - "src": "13360:175:1" + "src": "13754:179:0" }, { "attributes": { @@ -43441,7 +43441,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43451,9 +43451,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 963, + "id": 455, "name": "StructuredDocumentation", - "src": "13541:260:1" + "src": "13941:269:0" }, { "children": [ @@ -43462,7 +43462,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43474,21 +43474,21 @@ "name": "uint256", "type": "uint256" }, - "id": 964, + "id": 456, "name": "ElementaryTypeName", - "src": "13819:7:1" + "src": "14229:7:0" } ], - "id": 965, + "id": 457, "name": "VariableDeclaration", - "src": "13819:9:1" + "src": "14229:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43500,19 +43500,19 @@ "name": "uint256", "type": "uint256" }, - "id": 966, + "id": 458, "name": "ElementaryTypeName", - "src": "13830:7:1" + "src": "14240:7:0" } ], - "id": 967, + "id": 459, "name": "VariableDeclaration", - "src": "13830:9:1" + "src": "14240:9:0" } ], - "id": 968, + "id": 460, "name": "ParameterList", - "src": "13818:22:1" + "src": "14228:22:0" }, { "children": [ @@ -43521,7 +43521,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43533,19 +43533,19 @@ "name": "uint256", "type": "uint256" }, - "id": 969, + "id": 461, "name": "ElementaryTypeName", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 970, + "id": 462, "name": "VariableDeclaration", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 971, + "id": 463, "name": "ParameterList", - "src": "13863:9:1" + "src": "14273:9:0" }, { "children": [ @@ -43586,9 +43586,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 972, + "id": 464, "name": "Identifier", - "src": "13883:7:1" + "src": "14294:7:0" }, { "attributes": { @@ -43609,31 +43609,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 973, + "id": 465, "name": "Identifier", - "src": "13891:1:1" + "src": "14302:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 974, + "id": 466, "name": "Identifier", - "src": "13896:1:1" + "src": "14307:1:0" } ], - "id": 975, + "id": 467, "name": "BinaryOperation", - "src": "13891:6:1" + "src": "14302:6:0" }, { "attributes": { @@ -43646,23 +43646,23 @@ "type": "literal_string \"SafeMath: subtraction overflow\"", "value": "SafeMath: subtraction overflow" }, - "id": 976, + "id": 468, "name": "Literal", - "src": "13899:32:1" + "src": "14310:32:0" } ], - "id": 977, + "id": 469, "name": "FunctionCall", - "src": "13883:49:1" + "src": "14294:49:0" } ], - "id": 978, + "id": 470, "name": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "attributes": { - "functionReturnParameters": 971 + "functionReturnParameters": 463 }, "children": [ { @@ -43684,46 +43684,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 979, + "id": 471, "name": "Identifier", - "src": "13949:1:1" + "src": "14361:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 980, + "id": 472, "name": "Identifier", - "src": "13953:1:1" + "src": "14365:1:0" } ], - "id": 981, + "id": 473, "name": "BinaryOperation", - "src": "13949:5:1" + "src": "14361:5:0" } ], - "id": 982, + "id": 474, "name": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ], - "id": 983, + "id": 475, "name": "Block", - "src": "13873:88:1" + "src": "14283:91:0" } ], - "id": 984, + "id": 476, "name": "FunctionDefinition", - "src": "13806:155:1" + "src": "14216:158:0" }, { "attributes": { @@ -43734,7 +43734,7 @@ null ], "name": "mul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43744,9 +43744,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 985, + "id": 477, "name": "StructuredDocumentation", - "src": "13967:236:1" + "src": "14382:245:0" }, { "children": [ @@ -43755,7 +43755,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43767,21 +43767,21 @@ "name": "uint256", "type": "uint256" }, - "id": 986, + "id": 478, "name": "ElementaryTypeName", - "src": "14221:7:1" + "src": "14646:7:0" } ], - "id": 987, + "id": 479, "name": "VariableDeclaration", - "src": "14221:9:1" + "src": "14646:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43793,19 +43793,19 @@ "name": "uint256", "type": "uint256" }, - "id": 988, + "id": 480, "name": "ElementaryTypeName", - "src": "14232:7:1" + "src": "14657:7:0" } ], - "id": 989, + "id": 481, "name": "VariableDeclaration", - "src": "14232:9:1" + "src": "14657:9:0" } ], - "id": 990, + "id": 482, "name": "ParameterList", - "src": "14220:22:1" + "src": "14645:22:0" }, { "children": [ @@ -43814,7 +43814,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43826,19 +43826,19 @@ "name": "uint256", "type": "uint256" }, - "id": 991, + "id": 483, "name": "ElementaryTypeName", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 992, + "id": 484, "name": "VariableDeclaration", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 993, + "id": 485, "name": "ParameterList", - "src": "14265:9:1" + "src": "14690:9:0" }, { "children": [ @@ -43864,13 +43864,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 994, + "id": 486, "name": "Identifier", - "src": "14289:1:1" + "src": "14715:1:0" }, { "attributes": { @@ -43883,18 +43883,18 @@ "type": "int_const 0", "value": "0" }, - "id": 995, + "id": 487, "name": "Literal", - "src": "14294:1:1" + "src": "14720:1:0" } ], - "id": 996, + "id": 488, "name": "BinaryOperation", - "src": "14289:6:1" + "src": "14715:6:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43908,24 +43908,24 @@ "type": "int_const 0", "value": "0" }, - "id": 997, + "id": 489, "name": "Literal", - "src": "14304:1:1" + "src": "14730:1:0" } ], - "id": 998, + "id": 490, "name": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } ], - "id": 999, + "id": 491, "name": "IfStatement", - "src": "14285:20:1" + "src": "14711:20:0" }, { "attributes": { "assignments": [ - 1001 + 493 ] }, "children": [ @@ -43934,7 +43934,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 1017, + "scope": 509, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43946,14 +43946,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1000, + "id": 492, "name": "ElementaryTypeName", - "src": "14315:7:1" + "src": "14742:7:0" } ], - "id": 1001, + "id": 493, "name": "VariableDeclaration", - "src": "14315:9:1" + "src": "14742:9:0" }, { "attributes": { @@ -43974,36 +43974,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1002, + "id": 494, "name": "Identifier", - "src": "14327:1:1" + "src": "14754:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1003, + "id": 495, "name": "Identifier", - "src": "14331:1:1" + "src": "14758:1:0" } ], - "id": 1004, + "id": 496, "name": "BinaryOperation", - "src": "14327:5:1" + "src": "14754:5:0" } ], - "id": 1005, + "id": 497, "name": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "children": [ @@ -44042,9 +44042,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1006, + "id": 498, "name": "Identifier", - "src": "14342:7:1" + "src": "14770:7:0" }, { "attributes": { @@ -44079,49 +44079,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1007, + "id": 499, "name": "Identifier", - "src": "14350:1:1" + "src": "14778:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1008, + "id": 500, "name": "Identifier", - "src": "14354:1:1" + "src": "14782:1:0" } ], - "id": 1009, + "id": 501, "name": "BinaryOperation", - "src": "14350:5:1" + "src": "14778:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1010, + "id": 502, "name": "Identifier", - "src": "14359:1:1" + "src": "14787:1:0" } ], - "id": 1011, + "id": 503, "name": "BinaryOperation", - "src": "14350:10:1" + "src": "14778:10:0" }, { "attributes": { @@ -44134,23 +44134,23 @@ "type": "literal_string \"SafeMath: multiplication overflow\"", "value": "SafeMath: multiplication overflow" }, - "id": 1012, + "id": 504, "name": "Literal", - "src": "14362:35:1" + "src": "14790:35:0" } ], - "id": 1013, + "id": 505, "name": "FunctionCall", - "src": "14342:56:1" + "src": "14770:56:0" } ], - "id": 1014, + "id": 506, "name": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -44158,28 +44158,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1015, + "id": 507, "name": "Identifier", - "src": "14415:1:1" + "src": "14844:1:0" } ], - "id": 1016, + "id": 508, "name": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ], - "id": 1017, + "id": 509, "name": "Block", - "src": "14275:148:1" + "src": "14700:153:0" } ], - "id": 1018, + "id": 510, "name": "FunctionDefinition", - "src": "14208:215:1" + "src": "14633:220:0" }, { "attributes": { @@ -44190,7 +44190,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44200,9 +44200,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1019, + "id": 511, "name": "StructuredDocumentation", - "src": "14429:453:1" + "src": "14861:464:0" }, { "children": [ @@ -44211,7 +44211,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44223,21 +44223,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1020, + "id": 512, "name": "ElementaryTypeName", - "src": "14900:7:1" + "src": "15344:7:0" } ], - "id": 1021, + "id": 513, "name": "VariableDeclaration", - "src": "14900:9:1" + "src": "15344:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44249,19 +44249,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1022, + "id": 514, "name": "ElementaryTypeName", - "src": "14911:7:1" + "src": "15355:7:0" } ], - "id": 1023, + "id": 515, "name": "VariableDeclaration", - "src": "14911:9:1" + "src": "15355:9:0" } ], - "id": 1024, + "id": 516, "name": "ParameterList", - "src": "14899:22:1" + "src": "15343:22:0" }, { "children": [ @@ -44270,7 +44270,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44282,19 +44282,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1025, + "id": 517, "name": "ElementaryTypeName", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1026, + "id": 518, "name": "VariableDeclaration", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1027, + "id": 519, "name": "ParameterList", - "src": "14944:9:1" + "src": "15388:9:0" }, { "children": [ @@ -44335,9 +44335,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1028, + "id": 520, "name": "Identifier", - "src": "14964:7:1" + "src": "15409:7:0" }, { "attributes": { @@ -44358,13 +44358,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1029, + "id": 521, "name": "Identifier", - "src": "14972:1:1" + "src": "15417:1:0" }, { "attributes": { @@ -44377,14 +44377,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1030, + "id": 522, "name": "Literal", - "src": "14976:1:1" + "src": "15421:1:0" } ], - "id": 1031, + "id": 523, "name": "BinaryOperation", - "src": "14972:5:1" + "src": "15417:5:0" }, { "attributes": { @@ -44397,23 +44397,23 @@ "type": "literal_string \"SafeMath: division by zero\"", "value": "SafeMath: division by zero" }, - "id": 1032, + "id": 524, "name": "Literal", - "src": "14979:28:1" + "src": "15424:28:0" } ], - "id": 1033, + "id": 525, "name": "FunctionCall", - "src": "14964:44:1" + "src": "15409:44:0" } ], - "id": 1034, + "id": 526, "name": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "attributes": { - "functionReturnParameters": 1027 + "functionReturnParameters": 519 }, "children": [ { @@ -44435,46 +44435,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1021, + "referencedDeclaration": 513, "type": "uint256", "value": "a" }, - "id": 1035, + "id": 527, "name": "Identifier", - "src": "15025:1:1" + "src": "15471:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1036, + "id": 528, "name": "Identifier", - "src": "15029:1:1" + "src": "15475:1:0" } ], - "id": 1037, + "id": 529, "name": "BinaryOperation", - "src": "15025:5:1" + "src": "15471:5:0" } ], - "id": 1038, + "id": 530, "name": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ], - "id": 1039, + "id": 531, "name": "Block", - "src": "14954:83:1" + "src": "15398:86:0" } ], - "id": 1040, + "id": 532, "name": "FunctionDefinition", - "src": "14887:150:1" + "src": "15331:153:0" }, { "attributes": { @@ -44485,7 +44485,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44495,9 +44495,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1041, + "id": 533, "name": "StructuredDocumentation", - "src": "15043:442:1" + "src": "15492:453:0" }, { "children": [ @@ -44506,7 +44506,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44518,21 +44518,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1042, + "id": 534, "name": "ElementaryTypeName", - "src": "15503:7:1" + "src": "15964:7:0" } ], - "id": 1043, + "id": 535, "name": "VariableDeclaration", - "src": "15503:9:1" + "src": "15964:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44544,19 +44544,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1044, + "id": 536, "name": "ElementaryTypeName", - "src": "15514:7:1" + "src": "15975:7:0" } ], - "id": 1045, + "id": 537, "name": "VariableDeclaration", - "src": "15514:9:1" + "src": "15975:9:0" } ], - "id": 1046, + "id": 538, "name": "ParameterList", - "src": "15502:22:1" + "src": "15963:22:0" }, { "children": [ @@ -44565,7 +44565,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44577,19 +44577,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1047, + "id": 539, "name": "ElementaryTypeName", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1048, + "id": 540, "name": "VariableDeclaration", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1049, + "id": 541, "name": "ParameterList", - "src": "15547:9:1" + "src": "16008:9:0" }, { "children": [ @@ -44630,9 +44630,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1050, + "id": 542, "name": "Identifier", - "src": "15567:7:1" + "src": "16029:7:0" }, { "attributes": { @@ -44653,13 +44653,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1051, + "id": 543, "name": "Identifier", - "src": "15575:1:1" + "src": "16037:1:0" }, { "attributes": { @@ -44672,14 +44672,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1052, + "id": 544, "name": "Literal", - "src": "15579:1:1" + "src": "16041:1:0" } ], - "id": 1053, + "id": 545, "name": "BinaryOperation", - "src": "15575:5:1" + "src": "16037:5:0" }, { "attributes": { @@ -44692,23 +44692,23 @@ "type": "literal_string \"SafeMath: modulo by zero\"", "value": "SafeMath: modulo by zero" }, - "id": 1054, + "id": 546, "name": "Literal", - "src": "15582:26:1" + "src": "16044:26:0" } ], - "id": 1055, + "id": 547, "name": "FunctionCall", - "src": "15567:42:1" + "src": "16029:42:0" } ], - "id": 1056, + "id": 548, "name": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "attributes": { - "functionReturnParameters": 1049 + "functionReturnParameters": 541 }, "children": [ { @@ -44730,46 +44730,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1043, + "referencedDeclaration": 535, "type": "uint256", "value": "a" }, - "id": 1057, + "id": 549, "name": "Identifier", - "src": "15626:1:1" + "src": "16089:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1058, + "id": 550, "name": "Identifier", - "src": "15630:1:1" + "src": "16093:1:0" } ], - "id": 1059, + "id": 551, "name": "BinaryOperation", - "src": "15626:5:1" + "src": "16089:5:0" } ], - "id": 1060, + "id": 552, "name": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ], - "id": 1061, + "id": 553, "name": "Block", - "src": "15557:81:1" + "src": "16018:84:0" } ], - "id": 1062, + "id": 554, "name": "FunctionDefinition", - "src": "15490:148:1" + "src": "15951:151:0" }, { "attributes": { @@ -44780,7 +44780,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44790,9 +44790,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1063, + "id": 555, "name": "StructuredDocumentation", - "src": "15644:453:1" + "src": "16110:465:0" }, { "children": [ @@ -44801,7 +44801,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44813,21 +44813,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1064, + "id": 556, "name": "ElementaryTypeName", - "src": "16115:7:1" + "src": "16594:7:0" } ], - "id": 1065, + "id": 557, "name": "VariableDeclaration", - "src": "16115:9:1" + "src": "16594:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44839,21 +44839,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1066, + "id": 558, "name": "ElementaryTypeName", - "src": "16126:7:1" + "src": "16605:7:0" } ], - "id": 1067, + "id": 559, "name": "VariableDeclaration", - "src": "16126:9:1" + "src": "16605:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44865,19 +44865,19 @@ "name": "string", "type": "string" }, - "id": 1068, + "id": 560, "name": "ElementaryTypeName", - "src": "16137:6:1" + "src": "16616:6:0" } ], - "id": 1069, + "id": 561, "name": "VariableDeclaration", - "src": "16137:26:1" + "src": "16616:26:0" } ], - "id": 1070, + "id": 562, "name": "ParameterList", - "src": "16114:50:1" + "src": "16593:50:0" }, { "children": [ @@ -44886,7 +44886,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44898,19 +44898,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1071, + "id": 563, "name": "ElementaryTypeName", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1072, + "id": 564, "name": "VariableDeclaration", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1073, + "id": 565, "name": "ParameterList", - "src": "16187:9:1" + "src": "16666:9:0" }, { "children": [ @@ -44951,9 +44951,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1074, + "id": 566, "name": "Identifier", - "src": "16207:7:1" + "src": "16687:7:0" }, { "attributes": { @@ -44974,58 +44974,58 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1075, + "id": 567, "name": "Identifier", - "src": "16215:1:1" + "src": "16695:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1076, + "id": 568, "name": "Identifier", - "src": "16220:1:1" + "src": "16700:1:0" } ], - "id": 1077, + "id": 569, "name": "BinaryOperation", - "src": "16215:6:1" + "src": "16695:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1069, + "referencedDeclaration": 561, "type": "string memory", "value": "errorMessage" }, - "id": 1078, + "id": 570, "name": "Identifier", - "src": "16223:12:1" + "src": "16703:12:0" } ], - "id": 1079, + "id": 571, "name": "FunctionCall", - "src": "16207:29:1" + "src": "16687:29:0" } ], - "id": 1080, + "id": 572, "name": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "attributes": { - "functionReturnParameters": 1073 + "functionReturnParameters": 565 }, "children": [ { @@ -45047,46 +45047,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1081, + "id": 573, "name": "Identifier", - "src": "16253:1:1" + "src": "16734:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1082, + "id": 574, "name": "Identifier", - "src": "16257:1:1" + "src": "16738:1:0" } ], - "id": 1083, + "id": 575, "name": "BinaryOperation", - "src": "16253:5:1" + "src": "16734:5:0" } ], - "id": 1084, + "id": 576, "name": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ], - "id": 1085, + "id": 577, "name": "Block", - "src": "16197:68:1" + "src": "16676:71:0" } ], - "id": 1086, + "id": 578, "name": "FunctionDefinition", - "src": "16102:163:1" + "src": "16581:166:0" }, { "attributes": { @@ -45097,7 +45097,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -45107,9 +45107,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1087, + "id": 579, "name": "StructuredDocumentation", - "src": "16271:646:1" + "src": "16755:660:0" }, { "children": [ @@ -45118,7 +45118,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45130,21 +45130,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1088, + "id": 580, "name": "ElementaryTypeName", - "src": "16935:7:1" + "src": "17434:7:0" } ], - "id": 1089, + "id": 581, "name": "VariableDeclaration", - "src": "16935:9:1" + "src": "17434:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45156,21 +45156,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1090, + "id": 582, "name": "ElementaryTypeName", - "src": "16946:7:1" + "src": "17445:7:0" } ], - "id": 1091, + "id": 583, "name": "VariableDeclaration", - "src": "16946:9:1" + "src": "17445:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -45182,19 +45182,19 @@ "name": "string", "type": "string" }, - "id": 1092, + "id": 584, "name": "ElementaryTypeName", - "src": "16957:6:1" + "src": "17456:6:0" } ], - "id": 1093, + "id": 585, "name": "VariableDeclaration", - "src": "16957:26:1" + "src": "17456:26:0" } ], - "id": 1094, + "id": 586, "name": "ParameterList", - "src": "16934:50:1" + "src": "17433:50:0" }, { "children": [ @@ -45203,7 +45203,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45215,19 +45215,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1095, + "id": 587, "name": "ElementaryTypeName", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1096, + "id": 588, "name": "VariableDeclaration", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1097, + "id": 589, "name": "ParameterList", - "src": "17007:9:1" + "src": "17506:9:0" }, { "children": [ @@ -45268,9 +45268,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1098, + "id": 590, "name": "Identifier", - "src": "17027:7:1" + "src": "17527:7:0" }, { "attributes": { @@ -45291,13 +45291,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1099, + "id": 591, "name": "Identifier", - "src": "17035:1:1" + "src": "17535:1:0" }, { "attributes": { @@ -45310,41 +45310,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1100, + "id": 592, "name": "Literal", - "src": "17039:1:1" + "src": "17539:1:0" } ], - "id": 1101, + "id": 593, "name": "BinaryOperation", - "src": "17035:5:1" + "src": "17535:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1093, + "referencedDeclaration": 585, "type": "string memory", "value": "errorMessage" }, - "id": 1102, + "id": 594, "name": "Identifier", - "src": "17042:12:1" + "src": "17542:12:0" } ], - "id": 1103, + "id": 595, "name": "FunctionCall", - "src": "17027:28:1" + "src": "17527:28:0" } ], - "id": 1104, + "id": 596, "name": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "attributes": { - "functionReturnParameters": 1097 + "functionReturnParameters": 589 }, "children": [ { @@ -45366,46 +45366,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1089, + "referencedDeclaration": 581, "type": "uint256", "value": "a" }, - "id": 1105, + "id": 597, "name": "Identifier", - "src": "17072:1:1" + "src": "17573:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1106, + "id": 598, "name": "Identifier", - "src": "17076:1:1" + "src": "17577:1:0" } ], - "id": 1107, + "id": 599, "name": "BinaryOperation", - "src": "17072:5:1" + "src": "17573:5:0" } ], - "id": 1108, + "id": 600, "name": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ], - "id": 1109, + "id": 601, "name": "Block", - "src": "17017:67:1" + "src": "17516:70:0" } ], - "id": 1110, + "id": 602, "name": "FunctionDefinition", - "src": "16922:162:1" + "src": "17421:165:0" }, { "attributes": { @@ -45416,7 +45416,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -45426,9 +45426,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1111, + "id": 603, "name": "StructuredDocumentation", - "src": "17090:635:1" + "src": "17594:649:0" }, { "children": [ @@ -45437,7 +45437,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45449,21 +45449,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1112, + "id": 604, "name": "ElementaryTypeName", - "src": "17743:7:1" + "src": "18262:7:0" } ], - "id": 1113, + "id": 605, "name": "VariableDeclaration", - "src": "17743:9:1" + "src": "18262:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45475,21 +45475,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1114, + "id": 606, "name": "ElementaryTypeName", - "src": "17754:7:1" + "src": "18273:7:0" } ], - "id": 1115, + "id": 607, "name": "VariableDeclaration", - "src": "17754:9:1" + "src": "18273:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -45501,19 +45501,19 @@ "name": "string", "type": "string" }, - "id": 1116, + "id": 608, "name": "ElementaryTypeName", - "src": "17765:6:1" + "src": "18284:6:0" } ], - "id": 1117, + "id": 609, "name": "VariableDeclaration", - "src": "17765:26:1" + "src": "18284:26:0" } ], - "id": 1118, + "id": 610, "name": "ParameterList", - "src": "17742:50:1" + "src": "18261:50:0" }, { "children": [ @@ -45522,7 +45522,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45534,19 +45534,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1119, + "id": 611, "name": "ElementaryTypeName", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1120, + "id": 612, "name": "VariableDeclaration", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1121, + "id": 613, "name": "ParameterList", - "src": "17815:9:1" + "src": "18334:9:0" }, { "children": [ @@ -45587,9 +45587,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1122, + "id": 614, "name": "Identifier", - "src": "17835:7:1" + "src": "18355:7:0" }, { "attributes": { @@ -45610,13 +45610,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1123, + "id": 615, "name": "Identifier", - "src": "17843:1:1" + "src": "18363:1:0" }, { "attributes": { @@ -45629,41 +45629,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1124, + "id": 616, "name": "Literal", - "src": "17847:1:1" + "src": "18367:1:0" } ], - "id": 1125, + "id": 617, "name": "BinaryOperation", - "src": "17843:5:1" + "src": "18363:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1117, + "referencedDeclaration": 609, "type": "string memory", "value": "errorMessage" }, - "id": 1126, + "id": 618, "name": "Identifier", - "src": "17850:12:1" + "src": "18370:12:0" } ], - "id": 1127, + "id": 619, "name": "FunctionCall", - "src": "17835:28:1" + "src": "18355:28:0" } ], - "id": 1128, + "id": 620, "name": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "attributes": { - "functionReturnParameters": 1121 + "functionReturnParameters": 613 }, "children": [ { @@ -45685,51 +45685,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1113, + "referencedDeclaration": 605, "type": "uint256", "value": "a" }, - "id": 1129, + "id": 621, "name": "Identifier", - "src": "17880:1:1" + "src": "18401:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1130, + "id": 622, "name": "Identifier", - "src": "17884:1:1" + "src": "18405:1:0" } ], - "id": 1131, + "id": 623, "name": "BinaryOperation", - "src": "17880:5:1" + "src": "18401:5:0" } ], - "id": 1132, + "id": 624, "name": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ], - "id": 1133, + "id": 625, "name": "Block", - "src": "17825:67:1" + "src": "18344:70:0" } ], - "id": 1134, + "id": 626, "name": "FunctionDefinition", - "src": "17730:162:1" + "src": "18249:165:0" } ], - "id": 1135, + "id": 627, "name": "ContractDefinition", - "src": "11300:6594:1" + "src": "11627:6790:0" }, { "attributes": { @@ -45743,9 +45743,9 @@ ".0" ] }, - "id": 1136, + "id": 628, "name": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "attributes": { @@ -45759,19 +45759,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Collection of functions related to the address type" }, - "id": 1137, + "id": 629, "name": "StructuredDocumentation", - "src": "17980:67:1" + "src": "18508:69:0" }, { "attributes": { @@ -45782,7 +45782,7 @@ null ], "name": "isContract", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -45792,9 +45792,9 @@ "attributes": { "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1138, + "id": 630, "name": "StructuredDocumentation", - "src": "18070:565:1" + "src": "18602:581:0" }, { "children": [ @@ -45803,7 +45803,7 @@ "constant": false, "mutability": "mutable", "name": "account", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -45816,19 +45816,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1139, + "id": 631, "name": "ElementaryTypeName", - "src": "18660:7:1" + "src": "19209:7:0" } ], - "id": 1140, + "id": 632, "name": "VariableDeclaration", - "src": "18660:15:1" + "src": "19209:15:0" } ], - "id": 1141, + "id": 633, "name": "ParameterList", - "src": "18659:17:1" + "src": "19208:17:0" }, { "children": [ @@ -45837,7 +45837,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45849,26 +45849,26 @@ "name": "bool", "type": "bool" }, - "id": 1142, + "id": 634, "name": "ElementaryTypeName", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1143, + "id": 635, "name": "VariableDeclaration", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1144, + "id": 636, "name": "ParameterList", - "src": "18699:6:1" + "src": "19248:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1146 + 638 ] }, "children": [ @@ -45877,7 +45877,7 @@ "constant": false, "mutability": "mutable", "name": "size", - "scope": 1153, + "scope": 645, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45889,49 +45889,49 @@ "name": "uint256", "type": "uint256" }, - "id": 1145, + "id": 637, "name": "ElementaryTypeName", - "src": "18903:7:1" + "src": "19457:7:0" } ], - "id": 1146, + "id": 638, "name": "VariableDeclaration", - "src": "18903:12:1" + "src": "19457:12:0" } ], - "id": 1147, + "id": 639, "name": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "attributes": { "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], "operations": "{ size := extcodesize(account) }" }, "children": [], - "id": 1148, + "id": 640, "name": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "attributes": { - "functionReturnParameters": 1144 + "functionReturnParameters": 636 }, "children": [ { @@ -45953,13 +45953,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1146, + "referencedDeclaration": 638, "type": "uint256", "value": "size" }, - "id": 1149, + "id": 641, "name": "Identifier", - "src": "19038:4:1" + "src": "19595:4:0" }, { "attributes": { @@ -45972,29 +45972,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1150, + "id": 642, "name": "Literal", - "src": "19045:1:1" + "src": "19602:1:0" } ], - "id": 1151, + "id": 643, "name": "BinaryOperation", - "src": "19038:8:1" + "src": "19595:8:0" } ], - "id": 1152, + "id": 644, "name": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ], - "id": 1153, + "id": 645, "name": "Block", - "src": "18706:347:1" + "src": "19255:356:0" } ], - "id": 1154, + "id": 646, "name": "FunctionDefinition", - "src": "18640:413:1" + "src": "19189:422:0" }, { "attributes": { @@ -46005,7 +46005,7 @@ null ], "name": "sendValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46015,9 +46015,9 @@ "attributes": { "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1155, + "id": 647, "name": "StructuredDocumentation", - "src": "19059:906:1" + "src": "19619:921:0" }, { "children": [ @@ -46026,7 +46026,7 @@ "constant": false, "mutability": "mutable", "name": "recipient", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -46039,21 +46039,21 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 1156, + "id": 648, "name": "ElementaryTypeName", - "src": "19989:15:1" + "src": "20565:15:0" } ], - "id": 1157, + "id": 649, "name": "VariableDeclaration", - "src": "19989:25:1" + "src": "20565:25:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "amount", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -46065,19 +46065,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1158, + "id": 650, "name": "ElementaryTypeName", - "src": "20016:7:1" + "src": "20592:7:0" } ], - "id": 1159, + "id": 651, "name": "VariableDeclaration", - "src": "20016:14:1" + "src": "20592:14:0" } ], - "id": 1160, + "id": 652, "name": "ParameterList", - "src": "19988:43:1" + "src": "20564:43:0" }, { "attributes": { @@ -46086,9 +46086,9 @@ ] }, "children": [], - "id": 1161, + "id": 653, "name": "ParameterList", - "src": "20041:0:1" + "src": "20617:0:0" }, { "children": [ @@ -46129,9 +46129,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1162, + "id": 654, "name": "Identifier", - "src": "20051:7:1" + "src": "20628:7:0" }, { "attributes": { @@ -46176,7 +46176,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -46191,14 +46191,14 @@ "attributes": { "name": "address" }, - "id": 1163, + "id": 655, "name": "ElementaryTypeName", - "src": "20059:7:1" + "src": "20636:7:0" } ], - "id": 1164, + "id": 656, "name": "ElementaryTypeNameExpression", - "src": "20059:7:1" + "src": "20636:7:0" }, { "attributes": { @@ -46209,37 +46209,37 @@ "type": "library Address", "value": "this" }, - "id": 1165, + "id": 657, "name": "Identifier", - "src": "20067:4:1" + "src": "20644:4:0" } ], - "id": 1166, + "id": 658, "name": "FunctionCall", - "src": "20059:13:1" + "src": "20636:13:0" } ], - "id": 1167, + "id": 659, "name": "MemberAccess", - "src": "20059:21:1" + "src": "20636:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1168, + "id": 660, "name": "Identifier", - "src": "20084:6:1" + "src": "20661:6:0" } ], - "id": 1169, + "id": 661, "name": "BinaryOperation", - "src": "20059:31:1" + "src": "20636:31:0" }, { "attributes": { @@ -46252,24 +46252,24 @@ "type": "literal_string \"Address: insufficient balance\"", "value": "Address: insufficient balance" }, - "id": 1170, + "id": 662, "name": "Literal", - "src": "20092:31:1" + "src": "20669:31:0" } ], - "id": 1171, + "id": 663, "name": "FunctionCall", - "src": "20051:73:1" + "src": "20628:73:0" } ], - "id": 1172, + "id": 664, "name": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "attributes": { "assignments": [ - 1174, + 666, null ] }, @@ -46279,7 +46279,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1187, + "scope": 679, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -46291,14 +46291,14 @@ "name": "bool", "type": "bool" }, - "id": 1173, + "id": 665, "name": "ElementaryTypeName", - "src": "20213:4:1" + "src": "20793:4:0" } ], - "id": 1174, + "id": 666, "name": "VariableDeclaration", - "src": "20213:12:1" + "src": "20793:12:0" }, { "attributes": { @@ -46354,36 +46354,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1157, + "referencedDeclaration": 649, "type": "address payable", "value": "recipient" }, - "id": 1175, + "id": 667, "name": "Identifier", - "src": "20231:9:1" + "src": "20811:9:0" } ], - "id": 1176, + "id": 668, "name": "MemberAccess", - "src": "20231:14:1" + "src": "20811:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1177, + "id": 669, "name": "Identifier", - "src": "20254:6:1" + "src": "20834:6:0" } ], - "id": 1178, + "id": 670, "name": "FunctionCallOptions", - "src": "20231:31:1" + "src": "20811:31:0" }, { "attributes": { @@ -46396,19 +46396,19 @@ "type": "literal_string \"\"", "value": "" }, - "id": 1179, + "id": 671, "name": "Literal", - "src": "20263:2:1" + "src": "20843:2:0" } ], - "id": 1180, + "id": 672, "name": "FunctionCall", - "src": "20231:35:1" + "src": "20811:35:0" } ], - "id": 1181, + "id": 673, "name": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "children": [ @@ -46447,22 +46447,22 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1182, + "id": 674, "name": "Identifier", - "src": "20276:7:1" + "src": "20857:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 666, "type": "bool", "value": "success" }, - "id": 1183, + "id": 675, "name": "Identifier", - "src": "20284:7:1" + "src": "20865:7:0" }, { "attributes": { @@ -46475,29 +46475,29 @@ "type": "literal_string \"Address: unable to send value, recipient may have reverted\"", "value": "Address: unable to send value, recipient may have reverted" }, - "id": 1184, + "id": 676, "name": "Literal", - "src": "20293:60:1" + "src": "20874:60:0" } ], - "id": 1185, + "id": 677, "name": "FunctionCall", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1186, + "id": 678, "name": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1187, + "id": 679, "name": "Block", - "src": "20041:320:1" + "src": "20617:326:0" } ], - "id": 1188, + "id": 680, "name": "FunctionDefinition", - "src": "19970:391:1" + "src": "20546:397:0" }, { "attributes": { @@ -46508,7 +46508,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46518,9 +46518,9 @@ "attributes": { "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1189, + "id": 681, "name": "StructuredDocumentation", - "src": "20367:730:1" + "src": "20951:747:0" }, { "children": [ @@ -46529,7 +46529,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46542,21 +46542,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1190, + "id": 682, "name": "ElementaryTypeName", - "src": "21124:7:1" + "src": "21726:7:0" } ], - "id": 1191, + "id": 683, "name": "VariableDeclaration", - "src": "21124:14:1" + "src": "21726:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46568,19 +46568,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1192, + "id": 684, "name": "ElementaryTypeName", - "src": "21140:5:1" + "src": "21742:5:0" } ], - "id": 1193, + "id": 685, "name": "VariableDeclaration", - "src": "21140:17:1" + "src": "21742:17:0" } ], - "id": 1194, + "id": 686, "name": "ParameterList", - "src": "21123:35:1" + "src": "21725:35:0" }, { "children": [ @@ -46589,7 +46589,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46601,25 +46601,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1195, + "id": 687, "name": "ElementaryTypeName", - "src": "21177:5:1" + "src": "21779:5:0" } ], - "id": 1196, + "id": 688, "name": "VariableDeclaration", - "src": "21177:12:1" + "src": "21779:12:0" } ], - "id": 1197, + "id": 689, "name": "ParameterList", - "src": "21176:14:1" + "src": "21778:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1197 + "functionReturnParameters": 689 }, "children": [ { @@ -46654,42 +46654,42 @@ } ], "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionCall" }, - "id": 1198, + "id": 690, "name": "Identifier", - "src": "21206:12:1" + "src": "21809:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1191, + "referencedDeclaration": 683, "type": "address", "value": "target" }, - "id": 1199, + "id": 691, "name": "Identifier", - "src": "21219:6:1" + "src": "21822:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1193, + "referencedDeclaration": 685, "type": "bytes memory", "value": "data" }, - "id": 1200, + "id": 692, "name": "Identifier", - "src": "21227:4:1" + "src": "21830:4:0" }, { "attributes": { @@ -46702,29 +46702,29 @@ "type": "literal_string \"Address: low-level call failed\"", "value": "Address: low-level call failed" }, - "id": 1201, + "id": 693, "name": "Literal", - "src": "21233:32:1" + "src": "21836:32:0" } ], - "id": 1202, + "id": 694, "name": "FunctionCall", - "src": "21206:60:1" + "src": "21809:60:0" } ], - "id": 1203, + "id": 695, "name": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ], - "id": 1204, + "id": 696, "name": "Block", - "src": "21191:82:1" + "src": "21793:84:0" } ], - "id": 1205, + "id": 697, "name": "FunctionDefinition", - "src": "21102:171:1" + "src": "21704:173:0" }, { "attributes": { @@ -46735,7 +46735,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46745,9 +46745,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1206, + "id": 698, "name": "StructuredDocumentation", - "src": "21279:211:1" + "src": "21885:216:0" }, { "children": [ @@ -46756,7 +46756,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46769,21 +46769,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1207, + "id": 699, "name": "ElementaryTypeName", - "src": "21517:7:1" + "src": "22129:7:0" } ], - "id": 1208, + "id": 700, "name": "VariableDeclaration", - "src": "21517:14:1" + "src": "22129:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46795,21 +46795,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1209, + "id": 701, "name": "ElementaryTypeName", - "src": "21533:5:1" + "src": "22145:5:0" } ], - "id": 1210, + "id": 702, "name": "VariableDeclaration", - "src": "21533:17:1" + "src": "22145:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -46821,19 +46821,19 @@ "name": "string", "type": "string" }, - "id": 1211, + "id": 703, "name": "ElementaryTypeName", - "src": "21552:6:1" + "src": "22164:6:0" } ], - "id": 1212, + "id": 704, "name": "VariableDeclaration", - "src": "21552:26:1" + "src": "22164:26:0" } ], - "id": 1213, + "id": 705, "name": "ParameterList", - "src": "21516:63:1" + "src": "22128:63:0" }, { "children": [ @@ -46842,7 +46842,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46854,25 +46854,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1214, + "id": 706, "name": "ElementaryTypeName", - "src": "21598:5:1" + "src": "22210:5:0" } ], - "id": 1215, + "id": 707, "name": "VariableDeclaration", - "src": "21598:12:1" + "src": "22210:12:0" } ], - "id": 1216, + "id": 708, "name": "ParameterList", - "src": "21597:14:1" + "src": "22209:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1216 + "functionReturnParameters": 708 }, "children": [ { @@ -46911,42 +46911,42 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1217, + "id": 709, "name": "Identifier", - "src": "21629:21:1" + "src": "22242:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1208, + "referencedDeclaration": 700, "type": "address", "value": "target" }, - "id": 1218, + "id": 710, "name": "Identifier", - "src": "21651:6:1" + "src": "22264:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1210, + "referencedDeclaration": 702, "type": "bytes memory", "value": "data" }, - "id": 1219, + "id": 711, "name": "Identifier", - "src": "21659:4:1" + "src": "22272:4:0" }, { "attributes": { @@ -46959,42 +46959,42 @@ "type": "int_const 0", "value": "0" }, - "id": 1220, + "id": 712, "name": "Literal", - "src": "21665:1:1" + "src": "22278:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1212, + "referencedDeclaration": 704, "type": "string memory", "value": "errorMessage" }, - "id": 1221, + "id": 713, "name": "Identifier", - "src": "21668:12:1" + "src": "22281:12:0" } ], - "id": 1222, + "id": 714, "name": "FunctionCall", - "src": "21629:52:1" + "src": "22242:52:0" } ], - "id": 1223, + "id": 715, "name": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ], - "id": 1224, + "id": 716, "name": "Block", - "src": "21612:76:1" + "src": "22224:78:0" } ], - "id": 1225, + "id": 717, "name": "FunctionDefinition", - "src": "21495:193:1" + "src": "22107:195:0" }, { "attributes": { @@ -47005,7 +47005,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -47015,9 +47015,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1226, + "id": 718, "name": "StructuredDocumentation", - "src": "21694:351:1" + "src": "22310:361:0" }, { "children": [ @@ -47026,7 +47026,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47039,21 +47039,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1227, + "id": 719, "name": "ElementaryTypeName", - "src": "22081:7:1" + "src": "22708:7:0" } ], - "id": 1228, + "id": 720, "name": "VariableDeclaration", - "src": "22081:14:1" + "src": "22708:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47065,21 +47065,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1229, + "id": 721, "name": "ElementaryTypeName", - "src": "22097:5:1" + "src": "22724:5:0" } ], - "id": 1230, + "id": 722, "name": "VariableDeclaration", - "src": "22097:17:1" + "src": "22724:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -47091,19 +47091,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1231, + "id": 723, "name": "ElementaryTypeName", - "src": "22116:7:1" + "src": "22743:7:0" } ], - "id": 1232, + "id": 724, "name": "VariableDeclaration", - "src": "22116:13:1" + "src": "22743:13:0" } ], - "id": 1233, + "id": 725, "name": "ParameterList", - "src": "22080:50:1" + "src": "22707:50:0" }, { "children": [ @@ -47112,7 +47112,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47124,25 +47124,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1234, + "id": 726, "name": "ElementaryTypeName", - "src": "22149:5:1" + "src": "22776:5:0" } ], - "id": 1235, + "id": 727, "name": "VariableDeclaration", - "src": "22149:12:1" + "src": "22776:12:0" } ], - "id": 1236, + "id": 728, "name": "ParameterList", - "src": "22148:14:1" + "src": "22775:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1236 + "functionReturnParameters": 728 }, "children": [ { @@ -47181,55 +47181,55 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1237, + "id": 729, "name": "Identifier", - "src": "22180:21:1" + "src": "22808:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 720, "type": "address", "value": "target" }, - "id": 1238, + "id": 730, "name": "Identifier", - "src": "22202:6:1" + "src": "22830:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 722, "type": "bytes memory", "value": "data" }, - "id": 1239, + "id": 731, "name": "Identifier", - "src": "22210:4:1" + "src": "22838:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1232, + "referencedDeclaration": 724, "type": "uint256", "value": "value" }, - "id": 1240, + "id": 732, "name": "Identifier", - "src": "22216:5:1" + "src": "22844:5:0" }, { "attributes": { @@ -47242,29 +47242,29 @@ "type": "literal_string \"Address: low-level call with value failed\"", "value": "Address: low-level call with value failed" }, - "id": 1241, + "id": 733, "name": "Literal", - "src": "22223:43:1" + "src": "22851:43:0" } ], - "id": 1242, + "id": 734, "name": "FunctionCall", - "src": "22180:87:1" + "src": "22808:87:0" } ], - "id": 1243, + "id": 735, "name": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ], - "id": 1244, + "id": 736, "name": "Block", - "src": "22163:111:1" + "src": "22790:113:0" } ], - "id": 1245, + "id": 737, "name": "FunctionDefinition", - "src": "22050:224:1" + "src": "22677:226:0" }, { "attributes": { @@ -47275,7 +47275,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -47285,9 +47285,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1246, + "id": 738, "name": "StructuredDocumentation", - "src": "22280:237:1" + "src": "22911:242:0" }, { "children": [ @@ -47296,7 +47296,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47309,21 +47309,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1247, + "id": 739, "name": "ElementaryTypeName", - "src": "22553:7:1" + "src": "23190:7:0" } ], - "id": 1248, + "id": 740, "name": "VariableDeclaration", - "src": "22553:14:1" + "src": "23190:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47335,21 +47335,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1249, + "id": 741, "name": "ElementaryTypeName", - "src": "22569:5:1" + "src": "23206:5:0" } ], - "id": 1250, + "id": 742, "name": "VariableDeclaration", - "src": "22569:17:1" + "src": "23206:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -47361,21 +47361,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1251, + "id": 743, "name": "ElementaryTypeName", - "src": "22588:7:1" + "src": "23225:7:0" } ], - "id": 1252, + "id": 744, "name": "VariableDeclaration", - "src": "22588:13:1" + "src": "23225:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -47387,19 +47387,19 @@ "name": "string", "type": "string" }, - "id": 1253, + "id": 745, "name": "ElementaryTypeName", - "src": "22603:6:1" + "src": "23240:6:0" } ], - "id": 1254, + "id": 746, "name": "VariableDeclaration", - "src": "22603:26:1" + "src": "23240:26:0" } ], - "id": 1255, + "id": 747, "name": "ParameterList", - "src": "22552:78:1" + "src": "23189:78:0" }, { "children": [ @@ -47408,7 +47408,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47420,19 +47420,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1256, + "id": 748, "name": "ElementaryTypeName", - "src": "22649:5:1" + "src": "23286:5:0" } ], - "id": 1257, + "id": 749, "name": "VariableDeclaration", - "src": "22649:12:1" + "src": "23286:12:0" } ], - "id": 1258, + "id": 750, "name": "ParameterList", - "src": "22648:14:1" + "src": "23285:14:0" }, { "children": [ @@ -47473,9 +47473,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1259, + "id": 751, "name": "Identifier", - "src": "22673:7:1" + "src": "23311:7:0" }, { "attributes": { @@ -47520,7 +47520,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -47535,14 +47535,14 @@ "attributes": { "name": "address" }, - "id": 1260, + "id": 752, "name": "ElementaryTypeName", - "src": "22681:7:1" + "src": "23319:7:0" } ], - "id": 1261, + "id": 753, "name": "ElementaryTypeNameExpression", - "src": "22681:7:1" + "src": "23319:7:0" }, { "attributes": { @@ -47553,37 +47553,37 @@ "type": "library Address", "value": "this" }, - "id": 1262, + "id": 754, "name": "Identifier", - "src": "22689:4:1" + "src": "23327:4:0" } ], - "id": 1263, + "id": 755, "name": "FunctionCall", - "src": "22681:13:1" + "src": "23319:13:0" } ], - "id": 1264, + "id": 756, "name": "MemberAccess", - "src": "22681:21:1" + "src": "23319:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1265, + "id": 757, "name": "Identifier", - "src": "22706:5:1" + "src": "23344:5:0" } ], - "id": 1266, + "id": 758, "name": "BinaryOperation", - "src": "22681:30:1" + "src": "23319:30:0" }, { "attributes": { @@ -47596,19 +47596,19 @@ "type": "literal_string \"Address: insufficient balance for call\"", "value": "Address: insufficient balance for call" }, - "id": 1267, + "id": 759, "name": "Literal", - "src": "22713:40:1" + "src": "23351:40:0" } ], - "id": 1268, + "id": 760, "name": "FunctionCall", - "src": "22673:81:1" + "src": "23311:81:0" } ], - "id": 1269, + "id": 761, "name": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "children": [ @@ -47647,9 +47647,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1270, + "id": 762, "name": "Identifier", - "src": "22764:7:1" + "src": "23403:7:0" }, { "attributes": { @@ -47677,31 +47677,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1271, + "id": 763, "name": "Identifier", - "src": "22772:10:1" + "src": "23411:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1272, + "id": 764, "name": "Identifier", - "src": "22783:6:1" + "src": "23422:6:0" } ], - "id": 1273, + "id": 765, "name": "FunctionCall", - "src": "22772:18:1" + "src": "23411:18:0" }, { "attributes": { @@ -47714,25 +47714,25 @@ "type": "literal_string \"Address: call to non-contract\"", "value": "Address: call to non-contract" }, - "id": 1274, + "id": 766, "name": "Literal", - "src": "22792:31:1" + "src": "23431:31:0" } ], - "id": 1275, + "id": 767, "name": "FunctionCall", - "src": "22764:60:1" + "src": "23403:60:0" } ], - "id": 1276, + "id": 768, "name": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "attributes": { "assignments": [ - 1278, - 1280 + 770, + 772 ] }, "children": [ @@ -47741,7 +47741,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -47753,21 +47753,21 @@ "name": "bool", "type": "bool" }, - "id": 1277, + "id": 769, "name": "ElementaryTypeName", - "src": "22895:4:1" + "src": "23537:4:0" } ], - "id": 1278, + "id": 770, "name": "VariableDeclaration", - "src": "22895:12:1" + "src": "23537:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47779,14 +47779,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1279, + "id": 771, "name": "ElementaryTypeName", - "src": "22909:5:1" + "src": "23551:5:0" } ], - "id": 1280, + "id": 772, "name": "VariableDeclaration", - "src": "22909:23:1" + "src": "23551:23:0" }, { "attributes": { @@ -47842,63 +47842,63 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1281, + "id": 773, "name": "Identifier", - "src": "22936:6:1" + "src": "23578:6:0" } ], - "id": 1282, + "id": 774, "name": "MemberAccess", - "src": "22936:11:1" + "src": "23578:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1283, + "id": 775, "name": "Identifier", - "src": "22956:5:1" + "src": "23598:5:0" } ], - "id": 1284, + "id": 776, "name": "FunctionCallOptions", - "src": "22936:27:1" + "src": "23578:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1250, + "referencedDeclaration": 742, "type": "bytes memory", "value": "data" }, - "id": 1285, + "id": 777, "name": "Identifier", - "src": "22964:4:1" + "src": "23606:4:0" } ], - "id": 1286, + "id": 778, "name": "FunctionCall", - "src": "22936:33:1" + "src": "23578:33:0" } ], - "id": 1287, + "id": 779, "name": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "attributes": { - "functionReturnParameters": 1258 + "functionReturnParameters": 750 }, "children": [ { @@ -47935,72 +47935,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1288, + "id": 780, "name": "Identifier", - "src": "22986:17:1" + "src": "23629:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1278, + "referencedDeclaration": 770, "type": "bool", "value": "success" }, - "id": 1289, + "id": 781, "name": "Identifier", - "src": "23004:7:1" + "src": "23647:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1280, + "referencedDeclaration": 772, "type": "bytes memory", "value": "returndata" }, - "id": 1290, + "id": 782, "name": "Identifier", - "src": "23013:10:1" + "src": "23656:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 746, "type": "string memory", "value": "errorMessage" }, - "id": 1291, + "id": 783, "name": "Identifier", - "src": "23025:12:1" + "src": "23668:12:0" } ], - "id": 1292, + "id": 784, "name": "FunctionCall", - "src": "22986:52:1" + "src": "23629:52:0" } ], - "id": 1293, + "id": 785, "name": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ], - "id": 1294, + "id": 786, "name": "Block", - "src": "22663:382:1" + "src": "23300:389:0" } ], - "id": 1295, + "id": 787, "name": "FunctionDefinition", - "src": "22522:523:1" + "src": "23159:530:0" }, { "attributes": { @@ -48011,7 +48011,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -48021,9 +48021,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1296, + "id": 788, "name": "StructuredDocumentation", - "src": "23051:166:1" + "src": "23697:171:0" }, { "children": [ @@ -48032,7 +48032,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48045,21 +48045,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1297, + "id": 789, "name": "ElementaryTypeName", - "src": "23250:7:1" + "src": "23902:7:0" } ], - "id": 1298, + "id": 790, "name": "VariableDeclaration", - "src": "23250:14:1" + "src": "23902:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48071,19 +48071,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1299, + "id": 791, "name": "ElementaryTypeName", - "src": "23266:5:1" + "src": "23918:5:0" } ], - "id": 1300, + "id": 792, "name": "VariableDeclaration", - "src": "23266:17:1" + "src": "23918:17:0" } ], - "id": 1301, + "id": 793, "name": "ParameterList", - "src": "23249:35:1" + "src": "23901:35:0" }, { "children": [ @@ -48092,7 +48092,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48104,25 +48104,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1302, + "id": 794, "name": "ElementaryTypeName", - "src": "23308:5:1" + "src": "23960:5:0" } ], - "id": 1303, + "id": 795, "name": "VariableDeclaration", - "src": "23308:12:1" + "src": "23960:12:0" } ], - "id": 1304, + "id": 796, "name": "ParameterList", - "src": "23307:14:1" + "src": "23959:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1304 + "functionReturnParameters": 796 }, "children": [ { @@ -48157,42 +48157,42 @@ } ], "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, + "referencedDeclaration": 839, "type": "function (address,bytes memory,string memory) view returns (bytes memory)", "value": "functionStaticCall" }, - "id": 1305, + "id": 797, "name": "Identifier", - "src": "23339:18:1" + "src": "23992:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1298, + "referencedDeclaration": 790, "type": "address", "value": "target" }, - "id": 1306, + "id": 798, "name": "Identifier", - "src": "23358:6:1" + "src": "24011:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1300, + "referencedDeclaration": 792, "type": "bytes memory", "value": "data" }, - "id": 1307, + "id": 799, "name": "Identifier", - "src": "23366:4:1" + "src": "24019:4:0" }, { "attributes": { @@ -48205,29 +48205,29 @@ "type": "literal_string \"Address: low-level static call failed\"", "value": "Address: low-level static call failed" }, - "id": 1308, + "id": 800, "name": "Literal", - "src": "23372:39:1" + "src": "24025:39:0" } ], - "id": 1309, + "id": 801, "name": "FunctionCall", - "src": "23339:73:1" + "src": "23992:73:0" } ], - "id": 1310, + "id": 802, "name": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ], - "id": 1311, + "id": 803, "name": "Block", - "src": "23322:97:1" + "src": "23974:99:0" } ], - "id": 1312, + "id": 804, "name": "FunctionDefinition", - "src": "23222:197:1" + "src": "23874:199:0" }, { "attributes": { @@ -48238,7 +48238,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -48248,9 +48248,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1313, + "id": 805, "name": "StructuredDocumentation", - "src": "23425:173:1" + "src": "24081:178:0" }, { "children": [ @@ -48259,7 +48259,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48272,21 +48272,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1314, + "id": 806, "name": "ElementaryTypeName", - "src": "23631:7:1" + "src": "24293:7:0" } ], - "id": 1315, + "id": 807, "name": "VariableDeclaration", - "src": "23631:14:1" + "src": "24293:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48298,21 +48298,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1316, + "id": 808, "name": "ElementaryTypeName", - "src": "23647:5:1" + "src": "24309:5:0" } ], - "id": 1317, + "id": 809, "name": "VariableDeclaration", - "src": "23647:17:1" + "src": "24309:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -48324,19 +48324,19 @@ "name": "string", "type": "string" }, - "id": 1318, + "id": 810, "name": "ElementaryTypeName", - "src": "23666:6:1" + "src": "24328:6:0" } ], - "id": 1319, + "id": 811, "name": "VariableDeclaration", - "src": "23666:26:1" + "src": "24328:26:0" } ], - "id": 1320, + "id": 812, "name": "ParameterList", - "src": "23630:63:1" + "src": "24292:63:0" }, { "children": [ @@ -48345,7 +48345,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48357,19 +48357,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1321, + "id": 813, "name": "ElementaryTypeName", - "src": "23717:5:1" + "src": "24379:5:0" } ], - "id": 1322, + "id": 814, "name": "VariableDeclaration", - "src": "23717:12:1" + "src": "24379:12:0" } ], - "id": 1323, + "id": 815, "name": "ParameterList", - "src": "23716:14:1" + "src": "24378:14:0" }, { "children": [ @@ -48410,9 +48410,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1324, + "id": 816, "name": "Identifier", - "src": "23741:7:1" + "src": "24404:7:0" }, { "attributes": { @@ -48440,31 +48440,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1325, + "id": 817, "name": "Identifier", - "src": "23749:10:1" + "src": "24412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1326, + "id": 818, "name": "Identifier", - "src": "23760:6:1" + "src": "24423:6:0" } ], - "id": 1327, + "id": 819, "name": "FunctionCall", - "src": "23749:18:1" + "src": "24412:18:0" }, { "attributes": { @@ -48477,25 +48477,25 @@ "type": "literal_string \"Address: static call to non-contract\"", "value": "Address: static call to non-contract" }, - "id": 1328, + "id": 820, "name": "Literal", - "src": "23769:38:1" + "src": "24432:38:0" } ], - "id": 1329, + "id": 821, "name": "FunctionCall", - "src": "23741:67:1" + "src": "24404:67:0" } ], - "id": 1330, + "id": 822, "name": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "attributes": { "assignments": [ - 1332, - 1334 + 824, + 826 ] }, "children": [ @@ -48504,7 +48504,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48516,21 +48516,21 @@ "name": "bool", "type": "bool" }, - "id": 1331, + "id": 823, "name": "ElementaryTypeName", - "src": "23879:4:1" + "src": "24545:4:0" } ], - "id": 1332, + "id": 824, "name": "VariableDeclaration", - "src": "23879:12:1" + "src": "24545:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48542,14 +48542,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1333, + "id": 825, "name": "ElementaryTypeName", - "src": "23893:5:1" + "src": "24559:5:0" } ], - "id": 1334, + "id": 826, "name": "VariableDeclaration", - "src": "23893:23:1" + "src": "24559:23:0" }, { "attributes": { @@ -48587,45 +48587,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1335, + "id": 827, "name": "Identifier", - "src": "23920:6:1" + "src": "24586:6:0" } ], - "id": 1336, + "id": 828, "name": "MemberAccess", - "src": "23920:17:1" + "src": "24586:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1317, + "referencedDeclaration": 809, "type": "bytes memory", "value": "data" }, - "id": 1337, + "id": 829, "name": "Identifier", - "src": "23938:4:1" + "src": "24604:4:0" } ], - "id": 1338, + "id": 830, "name": "FunctionCall", - "src": "23920:23:1" + "src": "24586:23:0" } ], - "id": 1339, + "id": 831, "name": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "attributes": { - "functionReturnParameters": 1323 + "functionReturnParameters": 815 }, "children": [ { @@ -48662,72 +48662,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1340, + "id": 832, "name": "Identifier", - "src": "23960:17:1" + "src": "24627:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1332, + "referencedDeclaration": 824, "type": "bool", "value": "success" }, - "id": 1341, + "id": 833, "name": "Identifier", - "src": "23978:7:1" + "src": "24645:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1334, + "referencedDeclaration": 826, "type": "bytes memory", "value": "returndata" }, - "id": 1342, + "id": 834, "name": "Identifier", - "src": "23987:10:1" + "src": "24654:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 811, "type": "string memory", "value": "errorMessage" }, - "id": 1343, + "id": 835, "name": "Identifier", - "src": "23999:12:1" + "src": "24666:12:0" } ], - "id": 1344, + "id": 836, "name": "FunctionCall", - "src": "23960:52:1" + "src": "24627:52:0" } ], - "id": 1345, + "id": 837, "name": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ], - "id": 1346, + "id": 838, "name": "Block", - "src": "23731:288:1" + "src": "24393:294:0" } ], - "id": 1347, + "id": 839, "name": "FunctionDefinition", - "src": "23603:416:1" + "src": "24265:422:0" }, { "attributes": { @@ -48738,7 +48738,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48748,9 +48748,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1348, + "id": 840, "name": "StructuredDocumentation", - "src": "24025:168:1" + "src": "24695:173:0" }, { "children": [ @@ -48759,7 +48759,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48772,21 +48772,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1349, + "id": 841, "name": "ElementaryTypeName", - "src": "24228:7:1" + "src": "24904:7:0" } ], - "id": 1350, + "id": 842, "name": "VariableDeclaration", - "src": "24228:14:1" + "src": "24904:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48798,19 +48798,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1351, + "id": 843, "name": "ElementaryTypeName", - "src": "24244:5:1" + "src": "24920:5:0" } ], - "id": 1352, + "id": 844, "name": "VariableDeclaration", - "src": "24244:17:1" + "src": "24920:17:0" } ], - "id": 1353, + "id": 845, "name": "ParameterList", - "src": "24227:35:1" + "src": "24903:35:0" }, { "children": [ @@ -48819,7 +48819,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48831,25 +48831,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1354, + "id": 846, "name": "ElementaryTypeName", - "src": "24281:5:1" + "src": "24957:5:0" } ], - "id": 1355, + "id": 847, "name": "VariableDeclaration", - "src": "24281:12:1" + "src": "24957:12:0" } ], - "id": 1356, + "id": 848, "name": "ParameterList", - "src": "24280:14:1" + "src": "24956:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1356 + "functionReturnParameters": 848 }, "children": [ { @@ -48884,42 +48884,42 @@ } ], "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, + "referencedDeclaration": 891, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionDelegateCall" }, - "id": 1357, + "id": 849, "name": "Identifier", - "src": "24312:20:1" + "src": "24989:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1350, + "referencedDeclaration": 842, "type": "address", "value": "target" }, - "id": 1358, + "id": 850, "name": "Identifier", - "src": "24333:6:1" + "src": "25010:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1352, + "referencedDeclaration": 844, "type": "bytes memory", "value": "data" }, - "id": 1359, + "id": 851, "name": "Identifier", - "src": "24341:4:1" + "src": "25018:4:0" }, { "attributes": { @@ -48932,29 +48932,29 @@ "type": "literal_string \"Address: low-level delegate call failed\"", "value": "Address: low-level delegate call failed" }, - "id": 1360, + "id": 852, "name": "Literal", - "src": "24347:41:1" + "src": "25024:41:0" } ], - "id": 1361, + "id": 853, "name": "FunctionCall", - "src": "24312:77:1" + "src": "24989:77:0" } ], - "id": 1362, + "id": 854, "name": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ], - "id": 1363, + "id": 855, "name": "Block", - "src": "24295:101:1" + "src": "24971:103:0" } ], - "id": 1364, + "id": 856, "name": "FunctionDefinition", - "src": "24198:198:1" + "src": "24874:200:0" }, { "attributes": { @@ -48965,7 +48965,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48975,9 +48975,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1365, + "id": 857, "name": "StructuredDocumentation", - "src": "24402:175:1" + "src": "25082:180:0" }, { "children": [ @@ -48986,7 +48986,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48999,21 +48999,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1366, + "id": 858, "name": "ElementaryTypeName", - "src": "24612:7:1" + "src": "25298:7:0" } ], - "id": 1367, + "id": 859, "name": "VariableDeclaration", - "src": "24612:14:1" + "src": "25298:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49025,21 +49025,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1368, + "id": 860, "name": "ElementaryTypeName", - "src": "24628:5:1" + "src": "25314:5:0" } ], - "id": 1369, + "id": 861, "name": "VariableDeclaration", - "src": "24628:17:1" + "src": "25314:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -49051,19 +49051,19 @@ "name": "string", "type": "string" }, - "id": 1370, + "id": 862, "name": "ElementaryTypeName", - "src": "24647:6:1" + "src": "25333:6:0" } ], - "id": 1371, + "id": 863, "name": "VariableDeclaration", - "src": "24647:26:1" + "src": "25333:26:0" } ], - "id": 1372, + "id": 864, "name": "ParameterList", - "src": "24611:63:1" + "src": "25297:63:0" }, { "children": [ @@ -49072,7 +49072,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49084,19 +49084,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1373, + "id": 865, "name": "ElementaryTypeName", - "src": "24693:5:1" + "src": "25379:5:0" } ], - "id": 1374, + "id": 866, "name": "VariableDeclaration", - "src": "24693:12:1" + "src": "25379:12:0" } ], - "id": 1375, + "id": 867, "name": "ParameterList", - "src": "24692:14:1" + "src": "25378:14:0" }, { "children": [ @@ -49137,9 +49137,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1376, + "id": 868, "name": "Identifier", - "src": "24717:7:1" + "src": "25404:7:0" }, { "attributes": { @@ -49167,31 +49167,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1377, + "id": 869, "name": "Identifier", - "src": "24725:10:1" + "src": "25412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1378, + "id": 870, "name": "Identifier", - "src": "24736:6:1" + "src": "25423:6:0" } ], - "id": 1379, + "id": 871, "name": "FunctionCall", - "src": "24725:18:1" + "src": "25412:18:0" }, { "attributes": { @@ -49204,25 +49204,25 @@ "type": "literal_string \"Address: delegate call to non-contract\"", "value": "Address: delegate call to non-contract" }, - "id": 1380, + "id": 872, "name": "Literal", - "src": "24745:40:1" + "src": "25432:40:0" } ], - "id": 1381, + "id": 873, "name": "FunctionCall", - "src": "24717:69:1" + "src": "25404:69:0" } ], - "id": 1382, + "id": 874, "name": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "attributes": { "assignments": [ - 1384, - 1386 + 876, + 878 ] }, "children": [ @@ -49231,7 +49231,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49243,21 +49243,21 @@ "name": "bool", "type": "bool" }, - "id": 1383, + "id": 875, "name": "ElementaryTypeName", - "src": "24857:4:1" + "src": "25547:4:0" } ], - "id": 1384, + "id": 876, "name": "VariableDeclaration", - "src": "24857:12:1" + "src": "25547:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49269,14 +49269,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1385, + "id": 877, "name": "ElementaryTypeName", - "src": "24871:5:1" + "src": "25561:5:0" } ], - "id": 1386, + "id": 878, "name": "VariableDeclaration", - "src": "24871:23:1" + "src": "25561:23:0" }, { "attributes": { @@ -49314,45 +49314,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1387, + "id": 879, "name": "Identifier", - "src": "24898:6:1" + "src": "25588:6:0" } ], - "id": 1388, + "id": 880, "name": "MemberAccess", - "src": "24898:19:1" + "src": "25588:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1369, + "referencedDeclaration": 861, "type": "bytes memory", "value": "data" }, - "id": 1389, + "id": 881, "name": "Identifier", - "src": "24918:4:1" + "src": "25608:4:0" } ], - "id": 1390, + "id": 882, "name": "FunctionCall", - "src": "24898:25:1" + "src": "25588:25:0" } ], - "id": 1391, + "id": 883, "name": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "attributes": { - "functionReturnParameters": 1375 + "functionReturnParameters": 867 }, "children": [ { @@ -49389,72 +49389,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1392, + "id": 884, "name": "Identifier", - "src": "24940:17:1" + "src": "25631:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1384, + "referencedDeclaration": 876, "type": "bool", "value": "success" }, - "id": 1393, + "id": 885, "name": "Identifier", - "src": "24958:7:1" + "src": "25649:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1386, + "referencedDeclaration": 878, "type": "bytes memory", "value": "returndata" }, - "id": 1394, + "id": 886, "name": "Identifier", - "src": "24967:10:1" + "src": "25658:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1371, + "referencedDeclaration": 863, "type": "string memory", "value": "errorMessage" }, - "id": 1395, + "id": 887, "name": "Identifier", - "src": "24979:12:1" + "src": "25670:12:0" } ], - "id": 1396, + "id": 888, "name": "FunctionCall", - "src": "24940:52:1" + "src": "25631:52:0" } ], - "id": 1397, + "id": 889, "name": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ], - "id": 1398, + "id": 890, "name": "Block", - "src": "24707:292:1" + "src": "25393:298:0" } ], - "id": 1399, + "id": 891, "name": "FunctionDefinition", - "src": "24582:417:1" + "src": "25268:423:0" }, { "attributes": { @@ -49465,7 +49465,7 @@ null ], "name": "_verifyCallResult", - "scope": 1430, + "scope": 922, "stateMutability": "pure", "virtual": false, "visibility": "private" @@ -49478,7 +49478,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49490,21 +49490,21 @@ "name": "bool", "type": "bool" }, - "id": 1400, + "id": 892, "name": "ElementaryTypeName", - "src": "25032:4:1" + "src": "25726:4:0" } ], - "id": 1401, + "id": 893, "name": "VariableDeclaration", - "src": "25032:12:1" + "src": "25726:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49516,21 +49516,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1402, + "id": 894, "name": "ElementaryTypeName", - "src": "25046:5:1" + "src": "25740:5:0" } ], - "id": 1403, + "id": 895, "name": "VariableDeclaration", - "src": "25046:23:1" + "src": "25740:23:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -49542,19 +49542,19 @@ "name": "string", "type": "string" }, - "id": 1404, + "id": 896, "name": "ElementaryTypeName", - "src": "25071:6:1" + "src": "25765:6:0" } ], - "id": 1405, + "id": 897, "name": "VariableDeclaration", - "src": "25071:26:1" + "src": "25765:26:0" } ], - "id": 1406, + "id": 898, "name": "ParameterList", - "src": "25031:67:1" + "src": "25725:67:0" }, { "children": [ @@ -49563,7 +49563,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49575,19 +49575,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1407, + "id": 899, "name": "ElementaryTypeName", - "src": "25120:5:1" + "src": "25814:5:0" } ], - "id": 1408, + "id": 900, "name": "VariableDeclaration", - "src": "25120:12:1" + "src": "25814:12:0" } ], - "id": 1409, + "id": 901, "name": "ParameterList", - "src": "25119:14:1" + "src": "25813:14:0" }, { "children": [ @@ -49598,19 +49598,19 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1401, + "referencedDeclaration": 893, "type": "bool", "value": "success" }, - "id": 1410, + "id": 902, "name": "Identifier", - "src": "25148:7:1" + "src": "25843:7:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1409 + "functionReturnParameters": 901 }, "children": [ { @@ -49618,23 +49618,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1411, + "id": 903, "name": "Identifier", - "src": "25178:10:1" + "src": "25874:10:0" } ], - "id": 1412, + "id": 904, "name": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ], - "id": 1413, + "id": 905, "name": "Block", - "src": "25157:42:1" + "src": "25852:44:0" }, { "children": [ @@ -49669,18 +49669,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1414, + "id": 906, "name": "Identifier", - "src": "25289:10:1" + "src": "25988:10:0" } ], - "id": 1415, + "id": 907, "name": "MemberAccess", - "src": "25289:17:1" + "src": "25988:17:0" }, { "attributes": { @@ -49693,14 +49693,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1416, + "id": 908, "name": "Literal", - "src": "25309:1:1" + "src": "26008:1:0" } ], - "id": 1417, + "id": 909, "name": "BinaryOperation", - "src": "25289:21:1" + "src": "25988:21:0" }, { "children": [ @@ -49709,31 +49709,31 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], "operations": "{\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n}" }, "children": [], - "id": 1418, + "id": 910, "name": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ], - "id": 1419, + "id": 911, "name": "Block", - "src": "25312:343:1" + "src": "26011:351:0" }, { "children": [ @@ -49770,67 +49770,67 @@ "type": "function (string memory) pure", "value": "revert" }, - "id": 1420, + "id": 912, "name": "Identifier", - "src": "25679:6:1" + "src": "26387:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1405, + "referencedDeclaration": 897, "type": "string memory", "value": "errorMessage" }, - "id": 1421, + "id": 913, "name": "Identifier", - "src": "25686:12:1" + "src": "26394:12:0" } ], - "id": 1422, + "id": 914, "name": "FunctionCall", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1423, + "id": 915, "name": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1424, + "id": 916, "name": "Block", - "src": "25661:53:1" + "src": "26368:55:0" } ], - "id": 1425, + "id": 917, "name": "IfStatement", - "src": "25285:429:1" + "src": "25984:439:0" } ], - "id": 1426, + "id": 918, "name": "Block", - "src": "25205:519:1" + "src": "25902:532:0" } ], - "id": 1427, + "id": 919, "name": "IfStatement", - "src": "25144:580:1" + "src": "25839:595:0" } ], - "id": 1428, + "id": 920, "name": "Block", - "src": "25134:596:1" + "src": "25828:613:0" } ], - "id": 1429, + "id": 921, "name": "FunctionDefinition", - "src": "25005:725:1" + "src": "25699:742:0" } ], - "id": 1430, + "id": 922, "name": "ContractDefinition", - "src": "18048:7684:1" + "src": "18579:7865:0" }, { "attributes": { @@ -49844,9 +49844,9 @@ ".0" ] }, - "id": 1431, + "id": 923, "name": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "attributes": { @@ -49860,25 +49860,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, - "id": 1432, + "id": 924, "name": "StructuredDocumentation", - "src": "25824:686:1" + "src": "26541:709:0" }, { "attributes": { "canonicalName": "EnumerableSet.Set", "name": "Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -49887,7 +49887,7 @@ "constant": false, "mutability": "mutable", "name": "_values", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "bytes32[]", @@ -49904,26 +49904,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1433, + "id": 925, "name": "ElementaryTypeName", - "src": "27033:7:1" + "src": "27786:7:0" } ], - "id": 1434, + "id": 926, "name": "ArrayTypeName", - "src": "27033:9:1" + "src": "27786:9:0" } ], - "id": 1435, + "id": 927, "name": "VariableDeclaration", - "src": "27033:17:1" + "src": "27786:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -49940,33 +49940,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1436, + "id": 928, "name": "ElementaryTypeName", - "src": "27193:7:1" + "src": "27950:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1437, + "id": 929, "name": "ElementaryTypeName", - "src": "27204:7:1" + "src": "27961:7:0" } ], - "id": 1438, + "id": 930, "name": "Mapping", - "src": "27184:28:1" + "src": "27941:28:0" } ], - "id": 1439, + "id": 931, "name": "VariableDeclaration", - "src": "27184:37:1" + "src": "27941:37:0" } ], - "id": 1440, + "id": 932, "name": "StructDefinition", - "src": "26979:249:1" + "src": "27730:256:0" }, { "attributes": { @@ -49977,7 +49977,7 @@ null ], "name": "_add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -49987,9 +49987,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1441, + "id": 933, "name": "StructuredDocumentation", - "src": "27234:159:1" + "src": "27994:164:0" }, { "children": [ @@ -49998,7 +49998,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -50008,24 +50008,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1442, + "id": 934, "name": "UserDefinedTypeName", - "src": "27412:3:1" + "src": "28178:3:0" } ], - "id": 1443, + "id": 935, "name": "VariableDeclaration", - "src": "27412:15:1" + "src": "28178:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50037,19 +50037,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1444, + "id": 936, "name": "ElementaryTypeName", - "src": "27429:7:1" + "src": "28195:7:0" } ], - "id": 1445, + "id": 937, "name": "VariableDeclaration", - "src": "27429:13:1" + "src": "28195:13:0" } ], - "id": 1446, + "id": 938, "name": "ParameterList", - "src": "27411:32:1" + "src": "28177:32:0" }, { "children": [ @@ -50058,7 +50058,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -50070,19 +50070,19 @@ "name": "bool", "type": "bool" }, - "id": 1447, + "id": 939, "name": "ElementaryTypeName", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1448, + "id": 940, "name": "VariableDeclaration", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1449, + "id": 941, "name": "ParameterList", - "src": "27460:6:1" + "src": "28226:6:0" }, { "children": [ @@ -50118,7 +50118,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -50129,49 +50129,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1450, + "id": 942, "name": "Identifier", - "src": "27482:9:1" + "src": "28249:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1451, + "id": 943, "name": "Identifier", - "src": "27492:3:1" + "src": "28259:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1452, + "id": 944, "name": "Identifier", - "src": "27497:5:1" + "src": "28264:5:0" } ], - "id": 1453, + "id": 945, "name": "FunctionCall", - "src": "27482:21:1" + "src": "28249:21:0" } ], - "id": 1454, + "id": 946, "name": "UnaryOperation", - "src": "27481:22:1" + "src": "28248:22:0" }, { "children": [ @@ -50215,7 +50215,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50224,46 +50224,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1455, + "id": 947, "name": "Identifier", - "src": "27519:3:1" + "src": "28287:3:0" } ], - "id": 1458, + "id": 950, "name": "MemberAccess", - "src": "27519:11:1" + "src": "28287:11:0" } ], - "id": 1459, + "id": 951, "name": "MemberAccess", - "src": "27519:16:1" + "src": "28287:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1460, + "id": 952, "name": "Identifier", - "src": "27536:5:1" + "src": "28304:5:0" } ], - "id": 1461, + "id": 953, "name": "FunctionCall", - "src": "27519:23:1" + "src": "28287:23:0" } ], - "id": 1462, + "id": 954, "name": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "children": [ @@ -50293,7 +50293,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50302,36 +50302,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1463, + "id": 955, "name": "Identifier", - "src": "27677:3:1" + "src": "28448:3:0" } ], - "id": 1466, + "id": 958, "name": "MemberAccess", - "src": "27677:12:1" + "src": "28448:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1465, + "id": 957, "name": "Identifier", - "src": "27690:5:1" + "src": "28461:5:0" } ], - "id": 1467, + "id": 959, "name": "IndexAccess", - "src": "27677:19:1" + "src": "28448:19:0" }, { "attributes": { @@ -50350,7 +50350,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50359,37 +50359,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1468, + "id": 960, "name": "Identifier", - "src": "27699:3:1" + "src": "28470:3:0" } ], - "id": 1469, + "id": 961, "name": "MemberAccess", - "src": "27699:11:1" + "src": "28470:11:0" } ], - "id": 1470, + "id": 962, "name": "MemberAccess", - "src": "27699:18:1" + "src": "28470:18:0" } ], - "id": 1471, + "id": 963, "name": "Assignment", - "src": "27677:40:1" + "src": "28448:40:0" } ], - "id": 1472, + "id": 964, "name": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -50403,25 +50403,25 @@ "type": "bool", "value": "true" }, - "id": 1473, + "id": 965, "name": "Literal", - "src": "27738:4:1" + "src": "28510:4:0" } ], - "id": 1474, + "id": 966, "name": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ], - "id": 1475, + "id": 967, "name": "Block", - "src": "27505:248:1" + "src": "28272:254:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -50435,34 +50435,34 @@ "type": "bool", "value": "false" }, - "id": 1476, + "id": 968, "name": "Literal", - "src": "27780:5:1" + "src": "28554:5:0" } ], - "id": 1477, + "id": 969, "name": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ], - "id": 1478, + "id": 970, "name": "Block", - "src": "27759:37:1" + "src": "28532:39:0" } ], - "id": 1479, + "id": 971, "name": "IfStatement", - "src": "27477:319:1" + "src": "28244:327:0" } ], - "id": 1480, + "id": 972, "name": "Block", - "src": "27467:335:1" + "src": "28233:345:0" } ], - "id": 1481, + "id": 973, "name": "FunctionDefinition", - "src": "27398:404:1" + "src": "28164:414:0" }, { "attributes": { @@ -50473,7 +50473,7 @@ null ], "name": "_remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -50483,9 +50483,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1482, + "id": 974, "name": "StructuredDocumentation", - "src": "27808:157:1" + "src": "28586:162:0" }, { "children": [ @@ -50494,7 +50494,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -50504,24 +50504,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1483, + "id": 975, "name": "UserDefinedTypeName", - "src": "27987:3:1" + "src": "28771:3:0" } ], - "id": 1484, + "id": 976, "name": "VariableDeclaration", - "src": "27987:15:1" + "src": "28771:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50533,19 +50533,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1485, + "id": 977, "name": "ElementaryTypeName", - "src": "28004:7:1" + "src": "28788:7:0" } ], - "id": 1486, + "id": 978, "name": "VariableDeclaration", - "src": "28004:13:1" + "src": "28788:13:0" } ], - "id": 1487, + "id": 979, "name": "ParameterList", - "src": "27986:32:1" + "src": "28770:32:0" }, { "children": [ @@ -50554,7 +50554,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -50566,26 +50566,26 @@ "name": "bool", "type": "bool" }, - "id": 1488, + "id": 980, "name": "ElementaryTypeName", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1489, + "id": 981, "name": "VariableDeclaration", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1490, + "id": 982, "name": "ParameterList", - "src": "28035:6:1" + "src": "28819:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1492 + 984 ] }, "children": [ @@ -50594,7 +50594,7 @@ "constant": false, "mutability": "mutable", "name": "valueIndex", - "scope": 1560, + "scope": 1052, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50606,14 +50606,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1491, + "id": 983, "name": "ElementaryTypeName", - "src": "28152:7:1" + "src": "28938:7:0" } ], - "id": 1492, + "id": 984, "name": "VariableDeclaration", - "src": "28152:18:1" + "src": "28938:18:0" }, { "attributes": { @@ -50631,7 +50631,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50640,41 +50640,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1493, + "id": 985, "name": "Identifier", - "src": "28173:3:1" + "src": "28959:3:0" } ], - "id": 1494, + "id": 986, "name": "MemberAccess", - "src": "28173:12:1" + "src": "28959:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1495, + "id": 987, "name": "Identifier", - "src": "28186:5:1" + "src": "28972:5:0" } ], - "id": 1496, + "id": 988, "name": "IndexAccess", - "src": "28173:19:1" + "src": "28959:19:0" } ], - "id": 1497, + "id": 989, "name": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "children": [ @@ -50697,13 +50697,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1498, + "id": 990, "name": "Identifier", - "src": "28207:10:1" + "src": "28995:10:0" }, { "attributes": { @@ -50716,21 +50716,21 @@ "type": "int_const 0", "value": "0" }, - "id": 1499, + "id": 991, "name": "Literal", - "src": "28221:1:1" + "src": "29009:1:0" } ], - "id": 1500, + "id": 992, "name": "BinaryOperation", - "src": "28207:15:1" + "src": "28995:15:0" }, { "children": [ { "attributes": { "assignments": [ - 1502 + 994 ] }, "children": [ @@ -50739,7 +50739,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50751,14 +50751,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1501, + "id": 993, "name": "ElementaryTypeName", - "src": "28564:7:1" + "src": "29357:7:0" } ], - "id": 1502, + "id": 994, "name": "VariableDeclaration", - "src": "28564:21:1" + "src": "29357:21:0" }, { "attributes": { @@ -50779,13 +50779,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1503, + "id": 995, "name": "Identifier", - "src": "28588:10:1" + "src": "29381:10:0" }, { "attributes": { @@ -50798,24 +50798,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1504, + "id": 996, "name": "Literal", - "src": "28601:1:1" + "src": "29394:1:0" } ], - "id": 1505, + "id": 997, "name": "BinaryOperation", - "src": "28588:14:1" + "src": "29381:14:0" } ], - "id": 1506, + "id": 998, "name": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "attributes": { "assignments": [ - 1508 + 1000 ] }, "children": [ @@ -50824,7 +50824,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50836,14 +50836,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1507, + "id": 999, "name": "ElementaryTypeName", - "src": "28616:7:1" + "src": "29410:7:0" } ], - "id": 1508, + "id": 1000, "name": "VariableDeclaration", - "src": "28616:17:1" + "src": "29410:17:0" }, { "attributes": { @@ -50876,7 +50876,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50885,23 +50885,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1509, + "id": 1001, "name": "Identifier", - "src": "28636:3:1" + "src": "29430:3:0" } ], - "id": 1510, + "id": 1002, "name": "MemberAccess", - "src": "28636:11:1" + "src": "29430:11:0" } ], - "id": 1511, + "id": 1003, "name": "MemberAccess", - "src": "28636:18:1" + "src": "29430:18:0" }, { "attributes": { @@ -50914,24 +50914,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1512, + "id": 1004, "name": "Literal", - "src": "28657:1:1" + "src": "29451:1:0" } ], - "id": 1513, + "id": 1005, "name": "BinaryOperation", - "src": "28636:22:1" + "src": "29430:22:0" } ], - "id": 1514, + "id": 1006, "name": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "attributes": { "assignments": [ - 1516 + 1008 ] }, "children": [ @@ -50940,7 +50940,7 @@ "constant": false, "mutability": "mutable", "name": "lastvalue", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50952,14 +50952,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1515, + "id": 1007, "name": "ElementaryTypeName", - "src": "28898:7:1" + "src": "29697:7:0" } ], - "id": 1516, + "id": 1008, "name": "VariableDeclaration", - "src": "28898:17:1" + "src": "29697:17:0" }, { "attributes": { @@ -50977,7 +50977,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50986,41 +50986,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1517, + "id": 1009, "name": "Identifier", - "src": "28918:3:1" + "src": "29717:3:0" } ], - "id": 1518, + "id": 1010, "name": "MemberAccess", - "src": "28918:11:1" + "src": "29717:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1508, + "referencedDeclaration": 1000, "type": "uint256", "value": "lastIndex" }, - "id": 1519, + "id": 1011, "name": "Identifier", - "src": "28930:9:1" + "src": "29729:9:0" } ], - "id": 1520, + "id": 1012, "name": "IndexAccess", - "src": "28918:22:1" + "src": "29717:22:0" } ], - "id": 1521, + "id": 1013, "name": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "children": [ @@ -51050,7 +51050,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51059,59 +51059,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1522, + "id": 1014, "name": "Identifier", - "src": "29032:3:1" + "src": "29834:3:0" } ], - "id": 1525, + "id": 1017, "name": "MemberAccess", - "src": "29032:11:1" + "src": "29834:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1524, + "id": 1016, "name": "Identifier", - "src": "29044:13:1" + "src": "29846:13:0" } ], - "id": 1526, + "id": 1018, "name": "IndexAccess", - "src": "29032:26:1" + "src": "29834:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1527, + "id": 1019, "name": "Identifier", - "src": "29061:9:1" + "src": "29863:9:0" } ], - "id": 1528, + "id": 1020, "name": "Assignment", - "src": "29032:38:1" + "src": "29834:38:0" } ], - "id": 1529, + "id": 1021, "name": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "children": [ @@ -51141,7 +51141,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -51150,36 +51150,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1530, + "id": 1022, "name": "Identifier", - "src": "29136:3:1" + "src": "29940:3:0" } ], - "id": 1533, + "id": 1025, "name": "MemberAccess", - "src": "29136:12:1" + "src": "29940:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1532, + "id": 1024, "name": "Identifier", - "src": "29149:9:1" + "src": "29953:9:0" } ], - "id": 1534, + "id": 1026, "name": "IndexAccess", - "src": "29136:23:1" + "src": "29940:23:0" }, { "attributes": { @@ -51200,13 +51200,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1535, + "id": 1027, "name": "Identifier", - "src": "29162:13:1" + "src": "29966:13:0" }, { "attributes": { @@ -51219,24 +51219,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1536, + "id": 1028, "name": "Literal", - "src": "29178:1:1" + "src": "29982:1:0" } ], - "id": 1537, + "id": 1029, "name": "BinaryOperation", - "src": "29162:17:1" + "src": "29966:17:0" } ], - "id": 1538, + "id": 1030, "name": "Assignment", - "src": "29136:43:1" + "src": "29940:43:0" } ], - "id": 1539, + "id": 1031, "name": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "children": [ @@ -51278,7 +51278,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51287,33 +51287,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1540, + "id": 1032, "name": "Identifier", - "src": "29285:3:1" + "src": "30092:3:0" } ], - "id": 1543, + "id": 1035, "name": "MemberAccess", - "src": "29285:11:1" + "src": "30092:11:0" } ], - "id": 1544, + "id": 1036, "name": "MemberAccess", - "src": "29285:15:1" + "src": "30092:15:0" } ], - "id": 1545, + "id": 1037, "name": "FunctionCall", - "src": "29285:17:1" + "src": "30092:17:0" } ], - "id": 1546, + "id": 1038, "name": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "children": [ @@ -51344,7 +51344,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -51353,50 +51353,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1547, + "id": 1039, "name": "Identifier", - "src": "29377:3:1" + "src": "30187:3:0" } ], - "id": 1548, + "id": 1040, "name": "MemberAccess", - "src": "29377:12:1" + "src": "30187:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1549, + "id": 1041, "name": "Identifier", - "src": "29390:5:1" + "src": "30200:5:0" } ], - "id": 1550, + "id": 1042, "name": "IndexAccess", - "src": "29377:19:1" + "src": "30187:19:0" } ], - "id": 1551, + "id": 1043, "name": "UnaryOperation", - "src": "29370:26:1" + "src": "30180:26:0" } ], - "id": 1552, + "id": 1044, "name": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -51410,25 +51410,25 @@ "type": "bool", "value": "true" }, - "id": 1553, + "id": 1045, "name": "Literal", - "src": "29418:4:1" + "src": "30230:4:0" } ], - "id": 1554, + "id": 1046, "name": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ], - "id": 1555, + "id": 1047, "name": "Block", - "src": "28224:1209:1" + "src": "29012:1234:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -51442,34 +51442,34 @@ "type": "bool", "value": "false" }, - "id": 1556, + "id": 1048, "name": "Literal", - "src": "29460:5:1" + "src": "30274:5:0" } ], - "id": 1557, + "id": 1049, "name": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ], - "id": 1558, + "id": 1050, "name": "Block", - "src": "29439:37:1" + "src": "30252:39:0" } ], - "id": 1559, + "id": 1051, "name": "IfStatement", - "src": "28203:1273:1" + "src": "28991:1300:0" } ], - "id": 1560, + "id": 1052, "name": "Block", - "src": "28042:1440:1" + "src": "28826:1472:0" } ], - "id": 1561, + "id": 1053, "name": "FunctionDefinition", - "src": "27970:1512:1" + "src": "28754:1544:0" }, { "attributes": { @@ -51480,7 +51480,7 @@ null ], "name": "_contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51490,9 +51490,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1562, + "id": 1054, "name": "StructuredDocumentation", - "src": "29488:70:1" + "src": "30306:72:0" }, { "children": [ @@ -51501,7 +51501,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51511,24 +51511,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1563, + "id": 1055, "name": "UserDefinedTypeName", - "src": "29582:3:1" + "src": "30403:3:0" } ], - "id": 1564, + "id": 1056, "name": "VariableDeclaration", - "src": "29582:15:1" + "src": "30403:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51540,19 +51540,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1565, + "id": 1057, "name": "ElementaryTypeName", - "src": "29599:7:1" + "src": "30420:7:0" } ], - "id": 1566, + "id": 1058, "name": "VariableDeclaration", - "src": "29599:13:1" + "src": "30420:13:0" } ], - "id": 1567, + "id": 1059, "name": "ParameterList", - "src": "29581:32:1" + "src": "30402:32:0" }, { "children": [ @@ -51561,7 +51561,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51573,25 +51573,25 @@ "name": "bool", "type": "bool" }, - "id": 1568, + "id": 1060, "name": "ElementaryTypeName", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1569, + "id": 1061, "name": "VariableDeclaration", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1570, + "id": 1062, "name": "ParameterList", - "src": "29635:6:1" + "src": "30456:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1570 + "functionReturnParameters": 1062 }, "children": [ { @@ -51624,7 +51624,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -51633,36 +51633,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1564, + "referencedDeclaration": 1056, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1571, + "id": 1063, "name": "Identifier", - "src": "29659:3:1" + "src": "30481:3:0" } ], - "id": 1572, + "id": 1064, "name": "MemberAccess", - "src": "29659:12:1" + "src": "30481:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1566, + "referencedDeclaration": 1058, "type": "bytes32", "value": "value" }, - "id": 1573, + "id": 1065, "name": "Identifier", - "src": "29672:5:1" + "src": "30494:5:0" } ], - "id": 1574, + "id": 1066, "name": "IndexAccess", - "src": "29659:19:1" + "src": "30481:19:0" }, { "attributes": { @@ -51675,29 +51675,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1575, + "id": 1067, "name": "Literal", - "src": "29682:1:1" + "src": "30504:1:0" } ], - "id": 1576, + "id": 1068, "name": "BinaryOperation", - "src": "29659:24:1" + "src": "30481:24:0" } ], - "id": 1577, + "id": 1069, "name": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ], - "id": 1578, + "id": 1070, "name": "Block", - "src": "29642:48:1" + "src": "30463:50:0" } ], - "id": 1579, + "id": 1071, "name": "FunctionDefinition", - "src": "29563:127:1" + "src": "30384:129:0" }, { "attributes": { @@ -51708,7 +51708,7 @@ null ], "name": "_length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51718,9 +51718,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1580, + "id": 1072, "name": "StructuredDocumentation", - "src": "29696:70:1" + "src": "30521:72:0" }, { "children": [ @@ -51729,7 +51729,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51739,22 +51739,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1581, + "id": 1073, "name": "UserDefinedTypeName", - "src": "29788:3:1" + "src": "30616:3:0" } ], - "id": 1582, + "id": 1074, "name": "VariableDeclaration", - "src": "29788:15:1" + "src": "30616:15:0" } ], - "id": 1583, + "id": 1075, "name": "ParameterList", - "src": "29787:17:1" + "src": "30615:17:0" }, { "children": [ @@ -51763,7 +51763,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51775,25 +51775,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1584, + "id": 1076, "name": "ElementaryTypeName", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1585, + "id": 1077, "name": "VariableDeclaration", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1586, + "id": 1078, "name": "ParameterList", - "src": "29826:9:1" + "src": "30654:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1586 + "functionReturnParameters": 1078 }, "children": [ { @@ -51813,7 +51813,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51822,38 +51822,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1582, + "referencedDeclaration": 1074, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1587, + "id": 1079, "name": "Identifier", - "src": "29853:3:1" + "src": "30682:3:0" } ], - "id": 1588, + "id": 1080, "name": "MemberAccess", - "src": "29853:11:1" + "src": "30682:11:0" } ], - "id": 1589, + "id": 1081, "name": "MemberAccess", - "src": "29853:18:1" + "src": "30682:18:0" } ], - "id": 1590, + "id": 1082, "name": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ], - "id": 1591, + "id": 1083, "name": "Block", - "src": "29836:42:1" + "src": "30664:44:0" } ], - "id": 1592, + "id": 1084, "name": "FunctionDefinition", - "src": "29771:107:1" + "src": "30599:109:0" }, { "attributes": { @@ -51864,7 +51864,7 @@ null ], "name": "_at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51874,9 +51874,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1593, + "id": 1085, "name": "StructuredDocumentation", - "src": "29883:322:1" + "src": "30715:331:0" }, { "children": [ @@ -51885,7 +51885,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51895,24 +51895,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1594, + "id": 1086, "name": "UserDefinedTypeName", - "src": "30223:3:1" + "src": "31065:3:0" } ], - "id": 1595, + "id": 1087, "name": "VariableDeclaration", - "src": "30223:15:1" + "src": "31065:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51924,19 +51924,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1596, + "id": 1088, "name": "ElementaryTypeName", - "src": "30240:7:1" + "src": "31082:7:0" } ], - "id": 1597, + "id": 1089, "name": "VariableDeclaration", - "src": "30240:13:1" + "src": "31082:13:0" } ], - "id": 1598, + "id": 1090, "name": "ParameterList", - "src": "30222:32:1" + "src": "31064:32:0" }, { "children": [ @@ -51945,7 +51945,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51957,19 +51957,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1599, + "id": 1091, "name": "ElementaryTypeName", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1600, + "id": 1092, "name": "VariableDeclaration", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1601, + "id": 1093, "name": "ParameterList", - "src": "30276:9:1" + "src": "31118:9:0" }, { "children": [ @@ -52010,9 +52010,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1602, + "id": 1094, "name": "Identifier", - "src": "30296:7:1" + "src": "31139:7:0" }, { "attributes": { @@ -52045,7 +52045,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -52054,41 +52054,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1603, + "id": 1095, "name": "Identifier", - "src": "30304:3:1" + "src": "31147:3:0" } ], - "id": 1604, + "id": 1096, "name": "MemberAccess", - "src": "30304:11:1" + "src": "31147:11:0" } ], - "id": 1605, + "id": 1097, "name": "MemberAccess", - "src": "30304:18:1" + "src": "31147:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1606, + "id": 1098, "name": "Identifier", - "src": "30325:5:1" + "src": "31168:5:0" } ], - "id": 1607, + "id": 1099, "name": "BinaryOperation", - "src": "30304:26:1" + "src": "31147:26:0" }, { "attributes": { @@ -52101,23 +52101,23 @@ "type": "literal_string \"EnumerableSet: index out of bounds\"", "value": "EnumerableSet: index out of bounds" }, - "id": 1608, + "id": 1100, "name": "Literal", - "src": "30332:36:1" + "src": "31175:36:0" } ], - "id": 1609, + "id": 1101, "name": "FunctionCall", - "src": "30296:73:1" + "src": "31139:73:0" } ], - "id": 1610, + "id": 1102, "name": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "attributes": { - "functionReturnParameters": 1601 + "functionReturnParameters": 1093 }, "children": [ { @@ -52136,7 +52136,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -52145,57 +52145,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1611, + "id": 1103, "name": "Identifier", - "src": "30386:3:1" + "src": "31230:3:0" } ], - "id": 1612, + "id": 1104, "name": "MemberAccess", - "src": "30386:11:1" + "src": "31230:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1613, + "id": 1105, "name": "Identifier", - "src": "30398:5:1" + "src": "31242:5:0" } ], - "id": 1614, + "id": 1106, "name": "IndexAccess", - "src": "30386:18:1" + "src": "31230:18:0" } ], - "id": 1615, + "id": 1107, "name": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ], - "id": 1616, + "id": 1108, "name": "Block", - "src": "30286:125:1" + "src": "31128:128:0" } ], - "id": 1617, + "id": 1109, "name": "FunctionDefinition", - "src": "30210:201:1" + "src": "31052:204:0" }, { "attributes": { "canonicalName": "EnumerableSet.Bytes32Set", "name": "Bytes32Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -52204,7 +52204,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1620, + "scope": 1112, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -52214,22 +52214,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1618, + "id": 1110, "name": "UserDefinedTypeName", - "src": "30464:3:1" + "src": "31314:3:0" } ], - "id": 1619, + "id": 1111, "name": "VariableDeclaration", - "src": "30464:10:1" + "src": "31314:10:0" } ], - "id": 1620, + "id": 1112, "name": "StructDefinition", - "src": "30436:45:1" + "src": "31285:47:0" }, { "attributes": { @@ -52240,7 +52240,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52250,9 +52250,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1621, + "id": 1113, "name": "StructuredDocumentation", - "src": "30487:159:1" + "src": "31340:164:0" }, { "children": [ @@ -52261,7 +52261,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52271,24 +52271,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1622, + "id": 1114, "name": "UserDefinedTypeName", - "src": "30664:10:1" + "src": "31523:10:0" } ], - "id": 1623, + "id": 1115, "name": "VariableDeclaration", - "src": "30664:22:1" + "src": "31523:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52300,19 +52300,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1624, + "id": 1116, "name": "ElementaryTypeName", - "src": "30688:7:1" + "src": "31547:7:0" } ], - "id": 1625, + "id": 1117, "name": "VariableDeclaration", - "src": "30688:13:1" + "src": "31547:13:0" } ], - "id": 1626, + "id": 1118, "name": "ParameterList", - "src": "30663:39:1" + "src": "31522:39:0" }, { "children": [ @@ -52321,7 +52321,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52333,25 +52333,25 @@ "name": "bool", "type": "bool" }, - "id": 1627, + "id": 1119, "name": "ElementaryTypeName", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1628, + "id": 1120, "name": "VariableDeclaration", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1629, + "id": 1121, "name": "ParameterList", - "src": "30720:6:1" + "src": "31579:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1629 + "functionReturnParameters": 1121 }, "children": [ { @@ -52373,7 +52373,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52384,13 +52384,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1630, + "id": 1122, "name": "Identifier", - "src": "30744:4:1" + "src": "31604:4:0" }, { "attributes": { @@ -52399,7 +52399,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52408,51 +52408,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1623, + "referencedDeclaration": 1115, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1631, + "id": 1123, "name": "Identifier", - "src": "30749:3:1" + "src": "31609:3:0" } ], - "id": 1632, + "id": 1124, "name": "MemberAccess", - "src": "30749:10:1" + "src": "31609:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1625, + "referencedDeclaration": 1117, "type": "bytes32", "value": "value" }, - "id": 1633, + "id": 1125, "name": "Identifier", - "src": "30761:5:1" + "src": "31621:5:0" } ], - "id": 1634, + "id": 1126, "name": "FunctionCall", - "src": "30744:23:1" + "src": "31604:23:0" } ], - "id": 1635, + "id": 1127, "name": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ], - "id": 1636, + "id": 1128, "name": "Block", - "src": "30727:47:1" + "src": "31586:49:0" } ], - "id": 1637, + "id": 1129, "name": "FunctionDefinition", - "src": "30651:123:1" + "src": "31510:125:0" }, { "attributes": { @@ -52463,7 +52463,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52473,9 +52473,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1638, + "id": 1130, "name": "StructuredDocumentation", - "src": "30780:157:1" + "src": "31643:162:0" }, { "children": [ @@ -52484,7 +52484,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52494,24 +52494,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1639, + "id": 1131, "name": "UserDefinedTypeName", - "src": "30958:10:1" + "src": "31827:10:0" } ], - "id": 1640, + "id": 1132, "name": "VariableDeclaration", - "src": "30958:22:1" + "src": "31827:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52523,19 +52523,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1641, + "id": 1133, "name": "ElementaryTypeName", - "src": "30982:7:1" + "src": "31851:7:0" } ], - "id": 1642, + "id": 1134, "name": "VariableDeclaration", - "src": "30982:13:1" + "src": "31851:13:0" } ], - "id": 1643, + "id": 1135, "name": "ParameterList", - "src": "30957:39:1" + "src": "31826:39:0" }, { "children": [ @@ -52544,7 +52544,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52556,25 +52556,25 @@ "name": "bool", "type": "bool" }, - "id": 1644, + "id": 1136, "name": "ElementaryTypeName", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1645, + "id": 1137, "name": "VariableDeclaration", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1646, + "id": 1138, "name": "ParameterList", - "src": "31014:6:1" + "src": "31883:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1646 + "functionReturnParameters": 1138 }, "children": [ { @@ -52596,7 +52596,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52607,13 +52607,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1647, + "id": 1139, "name": "Identifier", - "src": "31038:7:1" + "src": "31908:7:0" }, { "attributes": { @@ -52622,7 +52622,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52631,51 +52631,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1640, + "referencedDeclaration": 1132, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1648, + "id": 1140, "name": "Identifier", - "src": "31046:3:1" + "src": "31916:3:0" } ], - "id": 1649, + "id": 1141, "name": "MemberAccess", - "src": "31046:10:1" + "src": "31916:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1642, + "referencedDeclaration": 1134, "type": "bytes32", "value": "value" }, - "id": 1650, + "id": 1142, "name": "Identifier", - "src": "31058:5:1" + "src": "31928:5:0" } ], - "id": 1651, + "id": 1143, "name": "FunctionCall", - "src": "31038:26:1" + "src": "31908:26:0" } ], - "id": 1652, + "id": 1144, "name": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ], - "id": 1653, + "id": 1145, "name": "Block", - "src": "31021:50:1" + "src": "31890:52:0" } ], - "id": 1654, + "id": 1146, "name": "FunctionDefinition", - "src": "30942:129:1" + "src": "31811:131:0" }, { "attributes": { @@ -52686,7 +52686,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52696,9 +52696,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1655, + "id": 1147, "name": "StructuredDocumentation", - "src": "31077:70:1" + "src": "31950:72:0" }, { "children": [ @@ -52707,7 +52707,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52717,24 +52717,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1656, + "id": 1148, "name": "UserDefinedTypeName", - "src": "31170:10:1" + "src": "32046:10:0" } ], - "id": 1657, + "id": 1149, "name": "VariableDeclaration", - "src": "31170:22:1" + "src": "32046:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52746,19 +52746,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1658, + "id": 1150, "name": "ElementaryTypeName", - "src": "31194:7:1" + "src": "32070:7:0" } ], - "id": 1659, + "id": 1151, "name": "VariableDeclaration", - "src": "31194:13:1" + "src": "32070:13:0" } ], - "id": 1660, + "id": 1152, "name": "ParameterList", - "src": "31169:39:1" + "src": "32045:39:0" }, { "children": [ @@ -52767,7 +52767,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52779,25 +52779,25 @@ "name": "bool", "type": "bool" }, - "id": 1661, + "id": 1153, "name": "ElementaryTypeName", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1662, + "id": 1154, "name": "VariableDeclaration", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1663, + "id": 1155, "name": "ParameterList", - "src": "31231:6:1" + "src": "32107:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1663 + "functionReturnParameters": 1155 }, "children": [ { @@ -52819,7 +52819,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52830,13 +52830,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1664, + "id": 1156, "name": "Identifier", - "src": "31255:9:1" + "src": "32132:9:0" }, { "attributes": { @@ -52845,7 +52845,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52854,51 +52854,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1657, + "referencedDeclaration": 1149, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1665, + "id": 1157, "name": "Identifier", - "src": "31265:3:1" + "src": "32142:3:0" } ], - "id": 1666, + "id": 1158, "name": "MemberAccess", - "src": "31265:10:1" + "src": "32142:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1659, + "referencedDeclaration": 1151, "type": "bytes32", "value": "value" }, - "id": 1667, + "id": 1159, "name": "Identifier", - "src": "31277:5:1" + "src": "32154:5:0" } ], - "id": 1668, + "id": 1160, "name": "FunctionCall", - "src": "31255:28:1" + "src": "32132:28:0" } ], - "id": 1669, + "id": 1161, "name": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ], - "id": 1670, + "id": 1162, "name": "Block", - "src": "31238:52:1" + "src": "32114:54:0" } ], - "id": 1671, + "id": 1163, "name": "FunctionDefinition", - "src": "31152:138:1" + "src": "32028:140:0" }, { "attributes": { @@ -52909,7 +52909,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52919,9 +52919,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1672, + "id": 1164, "name": "StructuredDocumentation", - "src": "31296:70:1" + "src": "32176:72:0" }, { "children": [ @@ -52930,7 +52930,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52940,22 +52940,22 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1673, + "id": 1165, "name": "UserDefinedTypeName", - "src": "31387:10:1" + "src": "32270:10:0" } ], - "id": 1674, + "id": 1166, "name": "VariableDeclaration", - "src": "31387:22:1" + "src": "32270:22:0" } ], - "id": 1675, + "id": 1167, "name": "ParameterList", - "src": "31386:24:1" + "src": "32269:24:0" }, { "children": [ @@ -52964,7 +52964,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52976,25 +52976,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1676, + "id": 1168, "name": "ElementaryTypeName", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1677, + "id": 1169, "name": "VariableDeclaration", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1678, + "id": 1170, "name": "ParameterList", - "src": "31433:9:1" + "src": "32316:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1678 + "functionReturnParameters": 1170 }, "children": [ { @@ -53016,20 +53016,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1679, + "id": 1171, "name": "Identifier", - "src": "31460:7:1" + "src": "32344:7:0" }, { "attributes": { @@ -53038,7 +53038,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53047,38 +53047,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1674, + "referencedDeclaration": 1166, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1680, + "id": 1172, "name": "Identifier", - "src": "31468:3:1" + "src": "32352:3:0" } ], - "id": 1681, + "id": 1173, "name": "MemberAccess", - "src": "31468:10:1" + "src": "32352:10:0" } ], - "id": 1682, + "id": 1174, "name": "FunctionCall", - "src": "31460:19:1" + "src": "32344:19:0" } ], - "id": 1683, + "id": 1175, "name": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ], - "id": 1684, + "id": 1176, "name": "Block", - "src": "31443:43:1" + "src": "32326:45:0" } ], - "id": 1685, + "id": 1177, "name": "FunctionDefinition", - "src": "31371:115:1" + "src": "32254:117:0" }, { "attributes": { @@ -53089,7 +53089,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -53099,9 +53099,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1686, + "id": 1178, "name": "StructuredDocumentation", - "src": "31491:322:1" + "src": "32378:331:0" }, { "children": [ @@ -53110,7 +53110,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -53120,24 +53120,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1687, + "id": 1179, "name": "UserDefinedTypeName", - "src": "31830:10:1" + "src": "32727:10:0" } ], - "id": 1688, + "id": 1180, "name": "VariableDeclaration", - "src": "31830:22:1" + "src": "32727:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -53149,19 +53149,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1689, + "id": 1181, "name": "ElementaryTypeName", - "src": "31854:7:1" + "src": "32751:7:0" } ], - "id": 1690, + "id": 1182, "name": "VariableDeclaration", - "src": "31854:13:1" + "src": "32751:13:0" } ], - "id": 1691, + "id": 1183, "name": "ParameterList", - "src": "31829:39:1" + "src": "32726:39:0" }, { "children": [ @@ -53170,7 +53170,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -53182,25 +53182,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1692, + "id": 1184, "name": "ElementaryTypeName", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1693, + "id": 1185, "name": "VariableDeclaration", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1694, + "id": 1186, "name": "ParameterList", - "src": "31891:9:1" + "src": "32788:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1694 + "functionReturnParameters": 1186 }, "children": [ { @@ -53222,7 +53222,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53233,13 +53233,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1695, + "id": 1187, "name": "Identifier", - "src": "31918:3:1" + "src": "32816:3:0" }, { "attributes": { @@ -53248,7 +53248,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53257,57 +53257,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1688, + "referencedDeclaration": 1180, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1696, + "id": 1188, "name": "Identifier", - "src": "31922:3:1" + "src": "32820:3:0" } ], - "id": 1697, + "id": 1189, "name": "MemberAccess", - "src": "31922:10:1" + "src": "32820:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1690, + "referencedDeclaration": 1182, "type": "uint256", "value": "index" }, - "id": 1698, + "id": 1190, "name": "Identifier", - "src": "31934:5:1" + "src": "32832:5:0" } ], - "id": 1699, + "id": 1191, "name": "FunctionCall", - "src": "31918:22:1" + "src": "32816:22:0" } ], - "id": 1700, + "id": 1192, "name": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ], - "id": 1701, + "id": 1193, "name": "Block", - "src": "31901:46:1" + "src": "32798:48:0" } ], - "id": 1702, + "id": 1194, "name": "FunctionDefinition", - "src": "31818:129:1" + "src": "32715:131:0" }, { "attributes": { "canonicalName": "EnumerableSet.AddressSet", "name": "AddressSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -53316,7 +53316,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1705, + "scope": 1197, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -53326,22 +53326,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1703, + "id": 1195, "name": "UserDefinedTypeName", - "src": "32000:3:1" + "src": "32904:3:0" } ], - "id": 1704, + "id": 1196, "name": "VariableDeclaration", - "src": "32000:10:1" + "src": "32904:10:0" } ], - "id": 1705, + "id": 1197, "name": "StructDefinition", - "src": "31972:45:1" + "src": "32875:47:0" }, { "attributes": { @@ -53352,7 +53352,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -53362,9 +53362,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1706, + "id": 1198, "name": "StructuredDocumentation", - "src": "32023:159:1" + "src": "32930:164:0" }, { "children": [ @@ -53373,7 +53373,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53383,24 +53383,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1707, + "id": 1199, "name": "UserDefinedTypeName", - "src": "32200:10:1" + "src": "33113:10:0" } ], - "id": 1708, + "id": 1200, "name": "VariableDeclaration", - "src": "32200:22:1" + "src": "33113:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53413,19 +53413,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1709, + "id": 1201, "name": "ElementaryTypeName", - "src": "32224:7:1" + "src": "33137:7:0" } ], - "id": 1710, + "id": 1202, "name": "VariableDeclaration", - "src": "32224:13:1" + "src": "33137:13:0" } ], - "id": 1711, + "id": 1203, "name": "ParameterList", - "src": "32199:39:1" + "src": "33112:39:0" }, { "children": [ @@ -53434,7 +53434,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53446,25 +53446,25 @@ "name": "bool", "type": "bool" }, - "id": 1712, + "id": 1204, "name": "ElementaryTypeName", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1713, + "id": 1205, "name": "VariableDeclaration", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1714, + "id": 1206, "name": "ParameterList", - "src": "32256:6:1" + "src": "33169:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1714 + "functionReturnParameters": 1206 }, "children": [ { @@ -53486,7 +53486,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53497,13 +53497,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1715, + "id": 1207, "name": "Identifier", - "src": "32280:4:1" + "src": "33194:4:0" }, { "attributes": { @@ -53512,7 +53512,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53521,18 +53521,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1708, + "referencedDeclaration": 1200, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1716, + "id": 1208, "name": "Identifier", - "src": "32285:3:1" + "src": "33199:3:0" } ], - "id": 1717, + "id": 1209, "name": "MemberAccess", - "src": "32285:10:1" + "src": "33199:10:0" }, { "attributes": { @@ -53568,14 +53568,14 @@ "attributes": { "name": "bytes32" }, - "id": 1718, + "id": 1210, "name": "ElementaryTypeName", - "src": "32297:7:1" + "src": "33211:7:0" } ], - "id": 1719, + "id": 1211, "name": "ElementaryTypeNameExpression", - "src": "32297:7:1" + "src": "33211:7:0" }, { "attributes": { @@ -53611,14 +53611,14 @@ "attributes": { "name": "uint256" }, - "id": 1720, + "id": 1212, "name": "ElementaryTypeName", - "src": "32305:7:1" + "src": "33219:7:0" } ], - "id": 1721, + "id": 1213, "name": "ElementaryTypeNameExpression", - "src": "32305:7:1" + "src": "33219:7:0" }, { "attributes": { @@ -53654,62 +53654,62 @@ "attributes": { "name": "uint160" }, - "id": 1722, + "id": 1214, "name": "ElementaryTypeName", - "src": "32313:7:1" + "src": "33227:7:0" } ], - "id": 1723, + "id": 1215, "name": "ElementaryTypeNameExpression", - "src": "32313:7:1" + "src": "33227:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1710, + "referencedDeclaration": 1202, "type": "address", "value": "value" }, - "id": 1724, + "id": 1216, "name": "Identifier", - "src": "32321:5:1" + "src": "33235:5:0" } ], - "id": 1725, + "id": 1217, "name": "FunctionCall", - "src": "32313:14:1" + "src": "33227:14:0" } ], - "id": 1726, + "id": 1218, "name": "FunctionCall", - "src": "32305:23:1" + "src": "33219:23:0" } ], - "id": 1727, + "id": 1219, "name": "FunctionCall", - "src": "32297:32:1" + "src": "33211:32:0" } ], - "id": 1728, + "id": 1220, "name": "FunctionCall", - "src": "32280:50:1" + "src": "33194:50:0" } ], - "id": 1729, + "id": 1221, "name": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ], - "id": 1730, + "id": 1222, "name": "Block", - "src": "32263:74:1" + "src": "33176:76:0" } ], - "id": 1731, + "id": 1223, "name": "FunctionDefinition", - "src": "32187:150:1" + "src": "33100:152:0" }, { "attributes": { @@ -53720,7 +53720,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -53730,9 +53730,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1732, + "id": 1224, "name": "StructuredDocumentation", - "src": "32343:157:1" + "src": "33260:162:0" }, { "children": [ @@ -53741,7 +53741,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53751,24 +53751,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1733, + "id": 1225, "name": "UserDefinedTypeName", - "src": "32521:10:1" + "src": "33444:10:0" } ], - "id": 1734, + "id": 1226, "name": "VariableDeclaration", - "src": "32521:22:1" + "src": "33444:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53781,19 +53781,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1735, + "id": 1227, "name": "ElementaryTypeName", - "src": "32545:7:1" + "src": "33468:7:0" } ], - "id": 1736, + "id": 1228, "name": "VariableDeclaration", - "src": "32545:13:1" + "src": "33468:13:0" } ], - "id": 1737, + "id": 1229, "name": "ParameterList", - "src": "32520:39:1" + "src": "33443:39:0" }, { "children": [ @@ -53802,7 +53802,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53814,25 +53814,25 @@ "name": "bool", "type": "bool" }, - "id": 1738, + "id": 1230, "name": "ElementaryTypeName", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1739, + "id": 1231, "name": "VariableDeclaration", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1740, + "id": 1232, "name": "ParameterList", - "src": "32577:6:1" + "src": "33500:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1740 + "functionReturnParameters": 1232 }, "children": [ { @@ -53854,7 +53854,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53865,13 +53865,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1741, + "id": 1233, "name": "Identifier", - "src": "32601:7:1" + "src": "33525:7:0" }, { "attributes": { @@ -53880,7 +53880,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53889,18 +53889,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1734, + "referencedDeclaration": 1226, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1742, + "id": 1234, "name": "Identifier", - "src": "32609:3:1" + "src": "33533:3:0" } ], - "id": 1743, + "id": 1235, "name": "MemberAccess", - "src": "32609:10:1" + "src": "33533:10:0" }, { "attributes": { @@ -53936,14 +53936,14 @@ "attributes": { "name": "bytes32" }, - "id": 1744, + "id": 1236, "name": "ElementaryTypeName", - "src": "32621:7:1" + "src": "33545:7:0" } ], - "id": 1745, + "id": 1237, "name": "ElementaryTypeNameExpression", - "src": "32621:7:1" + "src": "33545:7:0" }, { "attributes": { @@ -53979,14 +53979,14 @@ "attributes": { "name": "uint256" }, - "id": 1746, + "id": 1238, "name": "ElementaryTypeName", - "src": "32629:7:1" + "src": "33553:7:0" } ], - "id": 1747, + "id": 1239, "name": "ElementaryTypeNameExpression", - "src": "32629:7:1" + "src": "33553:7:0" }, { "attributes": { @@ -54022,62 +54022,62 @@ "attributes": { "name": "uint160" }, - "id": 1748, + "id": 1240, "name": "ElementaryTypeName", - "src": "32637:7:1" + "src": "33561:7:0" } ], - "id": 1749, + "id": 1241, "name": "ElementaryTypeNameExpression", - "src": "32637:7:1" + "src": "33561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1736, + "referencedDeclaration": 1228, "type": "address", "value": "value" }, - "id": 1750, + "id": 1242, "name": "Identifier", - "src": "32645:5:1" + "src": "33569:5:0" } ], - "id": 1751, + "id": 1243, "name": "FunctionCall", - "src": "32637:14:1" + "src": "33561:14:0" } ], - "id": 1752, + "id": 1244, "name": "FunctionCall", - "src": "32629:23:1" + "src": "33553:23:0" } ], - "id": 1753, + "id": 1245, "name": "FunctionCall", - "src": "32621:32:1" + "src": "33545:32:0" } ], - "id": 1754, + "id": 1246, "name": "FunctionCall", - "src": "32601:53:1" + "src": "33525:53:0" } ], - "id": 1755, + "id": 1247, "name": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ], - "id": 1756, + "id": 1248, "name": "Block", - "src": "32584:77:1" + "src": "33507:79:0" } ], - "id": 1757, + "id": 1249, "name": "FunctionDefinition", - "src": "32505:156:1" + "src": "33428:158:0" }, { "attributes": { @@ -54088,7 +54088,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54098,9 +54098,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1758, + "id": 1250, "name": "StructuredDocumentation", - "src": "32667:70:1" + "src": "33594:72:0" }, { "children": [ @@ -54109,7 +54109,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54119,24 +54119,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1759, + "id": 1251, "name": "UserDefinedTypeName", - "src": "32760:10:1" + "src": "33690:10:0" } ], - "id": 1760, + "id": 1252, "name": "VariableDeclaration", - "src": "32760:22:1" + "src": "33690:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -54149,19 +54149,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1761, + "id": 1253, "name": "ElementaryTypeName", - "src": "32784:7:1" + "src": "33714:7:0" } ], - "id": 1762, + "id": 1254, "name": "VariableDeclaration", - "src": "32784:13:1" + "src": "33714:13:0" } ], - "id": 1763, + "id": 1255, "name": "ParameterList", - "src": "32759:39:1" + "src": "33689:39:0" }, { "children": [ @@ -54170,7 +54170,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -54182,25 +54182,25 @@ "name": "bool", "type": "bool" }, - "id": 1764, + "id": 1256, "name": "ElementaryTypeName", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1765, + "id": 1257, "name": "VariableDeclaration", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1766, + "id": 1258, "name": "ParameterList", - "src": "32821:6:1" + "src": "33751:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1766 + "functionReturnParameters": 1258 }, "children": [ { @@ -54222,7 +54222,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54233,13 +54233,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1767, + "id": 1259, "name": "Identifier", - "src": "32845:9:1" + "src": "33776:9:0" }, { "attributes": { @@ -54248,7 +54248,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54257,18 +54257,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1760, + "referencedDeclaration": 1252, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1768, + "id": 1260, "name": "Identifier", - "src": "32855:3:1" + "src": "33786:3:0" } ], - "id": 1769, + "id": 1261, "name": "MemberAccess", - "src": "32855:10:1" + "src": "33786:10:0" }, { "attributes": { @@ -54304,14 +54304,14 @@ "attributes": { "name": "bytes32" }, - "id": 1770, + "id": 1262, "name": "ElementaryTypeName", - "src": "32867:7:1" + "src": "33798:7:0" } ], - "id": 1771, + "id": 1263, "name": "ElementaryTypeNameExpression", - "src": "32867:7:1" + "src": "33798:7:0" }, { "attributes": { @@ -54347,14 +54347,14 @@ "attributes": { "name": "uint256" }, - "id": 1772, + "id": 1264, "name": "ElementaryTypeName", - "src": "32875:7:1" + "src": "33806:7:0" } ], - "id": 1773, + "id": 1265, "name": "ElementaryTypeNameExpression", - "src": "32875:7:1" + "src": "33806:7:0" }, { "attributes": { @@ -54390,62 +54390,62 @@ "attributes": { "name": "uint160" }, - "id": 1774, + "id": 1266, "name": "ElementaryTypeName", - "src": "32883:7:1" + "src": "33814:7:0" } ], - "id": 1775, + "id": 1267, "name": "ElementaryTypeNameExpression", - "src": "32883:7:1" + "src": "33814:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1762, + "referencedDeclaration": 1254, "type": "address", "value": "value" }, - "id": 1776, + "id": 1268, "name": "Identifier", - "src": "32891:5:1" + "src": "33822:5:0" } ], - "id": 1777, + "id": 1269, "name": "FunctionCall", - "src": "32883:14:1" + "src": "33814:14:0" } ], - "id": 1778, + "id": 1270, "name": "FunctionCall", - "src": "32875:23:1" + "src": "33806:23:0" } ], - "id": 1779, + "id": 1271, "name": "FunctionCall", - "src": "32867:32:1" + "src": "33798:32:0" } ], - "id": 1780, + "id": 1272, "name": "FunctionCall", - "src": "32845:55:1" + "src": "33776:55:0" } ], - "id": 1781, + "id": 1273, "name": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ], - "id": 1782, + "id": 1274, "name": "Block", - "src": "32828:79:1" + "src": "33758:81:0" } ], - "id": 1783, + "id": 1275, "name": "FunctionDefinition", - "src": "32742:165:1" + "src": "33672:167:0" }, { "attributes": { @@ -54456,7 +54456,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54466,9 +54466,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1784, + "id": 1276, "name": "StructuredDocumentation", - "src": "32913:70:1" + "src": "33847:72:0" }, { "children": [ @@ -54477,7 +54477,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54487,22 +54487,22 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1785, + "id": 1277, "name": "UserDefinedTypeName", - "src": "33004:10:1" + "src": "33941:10:0" } ], - "id": 1786, + "id": 1278, "name": "VariableDeclaration", - "src": "33004:22:1" + "src": "33941:22:0" } ], - "id": 1787, + "id": 1279, "name": "ParameterList", - "src": "33003:24:1" + "src": "33940:24:0" }, { "children": [ @@ -54511,7 +54511,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54523,25 +54523,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1788, + "id": 1280, "name": "ElementaryTypeName", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1789, + "id": 1281, "name": "VariableDeclaration", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1790, + "id": 1282, "name": "ParameterList", - "src": "33050:9:1" + "src": "33987:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1790 + "functionReturnParameters": 1282 }, "children": [ { @@ -54563,20 +54563,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1791, + "id": 1283, "name": "Identifier", - "src": "33077:7:1" + "src": "34015:7:0" }, { "attributes": { @@ -54585,7 +54585,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54594,38 +54594,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1786, + "referencedDeclaration": 1278, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1792, + "id": 1284, "name": "Identifier", - "src": "33085:3:1" + "src": "34023:3:0" } ], - "id": 1793, + "id": 1285, "name": "MemberAccess", - "src": "33085:10:1" + "src": "34023:10:0" } ], - "id": 1794, + "id": 1286, "name": "FunctionCall", - "src": "33077:19:1" + "src": "34015:19:0" } ], - "id": 1795, + "id": 1287, "name": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ], - "id": 1796, + "id": 1288, "name": "Block", - "src": "33060:43:1" + "src": "33997:45:0" } ], - "id": 1797, + "id": 1289, "name": "FunctionDefinition", - "src": "32988:115:1" + "src": "33925:117:0" }, { "attributes": { @@ -54636,7 +54636,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54646,9 +54646,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1798, + "id": 1290, "name": "StructuredDocumentation", - "src": "33108:322:1" + "src": "34049:331:0" }, { "children": [ @@ -54657,7 +54657,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54667,24 +54667,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1799, + "id": 1291, "name": "UserDefinedTypeName", - "src": "33447:10:1" + "src": "34398:10:0" } ], - "id": 1800, + "id": 1292, "name": "VariableDeclaration", - "src": "33447:22:1" + "src": "34398:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54696,19 +54696,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1801, + "id": 1293, "name": "ElementaryTypeName", - "src": "33471:7:1" + "src": "34422:7:0" } ], - "id": 1802, + "id": 1294, "name": "VariableDeclaration", - "src": "33471:13:1" + "src": "34422:13:0" } ], - "id": 1803, + "id": 1295, "name": "ParameterList", - "src": "33446:39:1" + "src": "34397:39:0" }, { "children": [ @@ -54717,7 +54717,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -54730,25 +54730,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1804, + "id": 1296, "name": "ElementaryTypeName", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1805, + "id": 1297, "name": "VariableDeclaration", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1806, + "id": 1298, "name": "ParameterList", - "src": "33508:9:1" + "src": "34459:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1806 + "functionReturnParameters": 1298 }, "children": [ { @@ -54785,14 +54785,14 @@ "attributes": { "name": "address" }, - "id": 1807, + "id": 1299, "name": "ElementaryTypeName", - "src": "33535:7:1" + "src": "34487:7:0" } ], - "id": 1808, + "id": 1300, "name": "ElementaryTypeNameExpression", - "src": "33535:7:1" + "src": "34487:7:0" }, { "attributes": { @@ -54828,14 +54828,14 @@ "attributes": { "name": "uint160" }, - "id": 1809, + "id": 1301, "name": "ElementaryTypeName", - "src": "33543:7:1" + "src": "34495:7:0" } ], - "id": 1810, + "id": 1302, "name": "ElementaryTypeNameExpression", - "src": "33543:7:1" + "src": "34495:7:0" }, { "attributes": { @@ -54871,14 +54871,14 @@ "attributes": { "name": "uint256" }, - "id": 1811, + "id": 1303, "name": "ElementaryTypeName", - "src": "33551:7:1" + "src": "34503:7:0" } ], - "id": 1812, + "id": 1304, "name": "ElementaryTypeNameExpression", - "src": "33551:7:1" + "src": "34503:7:0" }, { "attributes": { @@ -54899,7 +54899,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54910,13 +54910,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1813, + "id": 1305, "name": "Identifier", - "src": "33559:3:1" + "src": "34511:3:0" }, { "attributes": { @@ -54925,7 +54925,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54934,72 +54934,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1800, + "referencedDeclaration": 1292, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1814, + "id": 1306, "name": "Identifier", - "src": "33563:3:1" + "src": "34515:3:0" } ], - "id": 1815, + "id": 1307, "name": "MemberAccess", - "src": "33563:10:1" + "src": "34515:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1802, + "referencedDeclaration": 1294, "type": "uint256", "value": "index" }, - "id": 1816, + "id": 1308, "name": "Identifier", - "src": "33575:5:1" + "src": "34527:5:0" } ], - "id": 1817, + "id": 1309, "name": "FunctionCall", - "src": "33559:22:1" + "src": "34511:22:0" } ], - "id": 1818, + "id": 1310, "name": "FunctionCall", - "src": "33551:31:1" + "src": "34503:31:0" } ], - "id": 1819, + "id": 1311, "name": "FunctionCall", - "src": "33543:40:1" + "src": "34495:40:0" } ], - "id": 1820, + "id": 1312, "name": "FunctionCall", - "src": "33535:49:1" + "src": "34487:49:0" } ], - "id": 1821, + "id": 1313, "name": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ], - "id": 1822, + "id": 1314, "name": "Block", - "src": "33518:73:1" + "src": "34469:75:0" } ], - "id": 1823, + "id": 1315, "name": "FunctionDefinition", - "src": "33435:156:1" + "src": "34386:158:0" }, { "attributes": { "canonicalName": "EnumerableSet.UintSet", "name": "UintSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -55008,7 +55008,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1826, + "scope": 1318, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -55018,22 +55018,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1824, + "id": 1316, "name": "UserDefinedTypeName", - "src": "33639:3:1" + "src": "34598:3:0" } ], - "id": 1825, + "id": 1317, "name": "VariableDeclaration", - "src": "33639:10:1" + "src": "34598:10:0" } ], - "id": 1826, + "id": 1318, "name": "StructDefinition", - "src": "33614:42:1" + "src": "34572:44:0" }, { "attributes": { @@ -55044,7 +55044,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -55054,9 +55054,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1827, + "id": 1319, "name": "StructuredDocumentation", - "src": "33662:159:1" + "src": "34624:164:0" }, { "children": [ @@ -55065,7 +55065,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55075,24 +55075,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1828, + "id": 1320, "name": "UserDefinedTypeName", - "src": "33839:7:1" + "src": "34807:7:0" } ], - "id": 1829, + "id": 1321, "name": "VariableDeclaration", - "src": "33839:19:1" + "src": "34807:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55104,19 +55104,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1830, + "id": 1322, "name": "ElementaryTypeName", - "src": "33860:7:1" + "src": "34828:7:0" } ], - "id": 1831, + "id": 1323, "name": "VariableDeclaration", - "src": "33860:13:1" + "src": "34828:13:0" } ], - "id": 1832, + "id": 1324, "name": "ParameterList", - "src": "33838:36:1" + "src": "34806:36:0" }, { "children": [ @@ -55125,7 +55125,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55137,25 +55137,25 @@ "name": "bool", "type": "bool" }, - "id": 1833, + "id": 1325, "name": "ElementaryTypeName", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1834, + "id": 1326, "name": "VariableDeclaration", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1835, + "id": 1327, "name": "ParameterList", - "src": "33892:6:1" + "src": "34860:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1835 + "functionReturnParameters": 1327 }, "children": [ { @@ -55177,7 +55177,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55188,13 +55188,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1836, + "id": 1328, "name": "Identifier", - "src": "33916:4:1" + "src": "34885:4:0" }, { "attributes": { @@ -55203,7 +55203,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55212,18 +55212,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1829, + "referencedDeclaration": 1321, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1837, + "id": 1329, "name": "Identifier", - "src": "33921:3:1" + "src": "34890:3:0" } ], - "id": 1838, + "id": 1330, "name": "MemberAccess", - "src": "33921:10:1" + "src": "34890:10:0" }, { "attributes": { @@ -55259,52 +55259,52 @@ "attributes": { "name": "bytes32" }, - "id": 1839, + "id": 1331, "name": "ElementaryTypeName", - "src": "33933:7:1" + "src": "34902:7:0" } ], - "id": 1840, + "id": 1332, "name": "ElementaryTypeNameExpression", - "src": "33933:7:1" + "src": "34902:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1831, + "referencedDeclaration": 1323, "type": "uint256", "value": "value" }, - "id": 1841, + "id": 1333, "name": "Identifier", - "src": "33941:5:1" + "src": "34910:5:0" } ], - "id": 1842, + "id": 1334, "name": "FunctionCall", - "src": "33933:14:1" + "src": "34902:14:0" } ], - "id": 1843, + "id": 1335, "name": "FunctionCall", - "src": "33916:32:1" + "src": "34885:32:0" } ], - "id": 1844, + "id": 1336, "name": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ], - "id": 1845, + "id": 1337, "name": "Block", - "src": "33899:56:1" + "src": "34867:58:0" } ], - "id": 1846, + "id": 1338, "name": "FunctionDefinition", - "src": "33826:129:1" + "src": "34794:131:0" }, { "attributes": { @@ -55315,7 +55315,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -55325,9 +55325,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1847, + "id": 1339, "name": "StructuredDocumentation", - "src": "33961:157:1" + "src": "34933:162:0" }, { "children": [ @@ -55336,7 +55336,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55346,24 +55346,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1848, + "id": 1340, "name": "UserDefinedTypeName", - "src": "34139:7:1" + "src": "35117:7:0" } ], - "id": 1849, + "id": 1341, "name": "VariableDeclaration", - "src": "34139:19:1" + "src": "35117:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55375,19 +55375,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1850, + "id": 1342, "name": "ElementaryTypeName", - "src": "34160:7:1" + "src": "35138:7:0" } ], - "id": 1851, + "id": 1343, "name": "VariableDeclaration", - "src": "34160:13:1" + "src": "35138:13:0" } ], - "id": 1852, + "id": 1344, "name": "ParameterList", - "src": "34138:36:1" + "src": "35116:36:0" }, { "children": [ @@ -55396,7 +55396,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55408,25 +55408,25 @@ "name": "bool", "type": "bool" }, - "id": 1853, + "id": 1345, "name": "ElementaryTypeName", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1854, + "id": 1346, "name": "VariableDeclaration", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1855, + "id": 1347, "name": "ParameterList", - "src": "34192:6:1" + "src": "35170:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1855 + "functionReturnParameters": 1347 }, "children": [ { @@ -55448,7 +55448,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55459,13 +55459,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1856, + "id": 1348, "name": "Identifier", - "src": "34216:7:1" + "src": "35195:7:0" }, { "attributes": { @@ -55474,7 +55474,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55483,18 +55483,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1849, + "referencedDeclaration": 1341, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1857, + "id": 1349, "name": "Identifier", - "src": "34224:3:1" + "src": "35203:3:0" } ], - "id": 1858, + "id": 1350, "name": "MemberAccess", - "src": "34224:10:1" + "src": "35203:10:0" }, { "attributes": { @@ -55530,52 +55530,52 @@ "attributes": { "name": "bytes32" }, - "id": 1859, + "id": 1351, "name": "ElementaryTypeName", - "src": "34236:7:1" + "src": "35215:7:0" } ], - "id": 1860, + "id": 1352, "name": "ElementaryTypeNameExpression", - "src": "34236:7:1" + "src": "35215:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1851, + "referencedDeclaration": 1343, "type": "uint256", "value": "value" }, - "id": 1861, + "id": 1353, "name": "Identifier", - "src": "34244:5:1" + "src": "35223:5:0" } ], - "id": 1862, + "id": 1354, "name": "FunctionCall", - "src": "34236:14:1" + "src": "35215:14:0" } ], - "id": 1863, + "id": 1355, "name": "FunctionCall", - "src": "34216:35:1" + "src": "35195:35:0" } ], - "id": 1864, + "id": 1356, "name": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ], - "id": 1865, + "id": 1357, "name": "Block", - "src": "34199:59:1" + "src": "35177:61:0" } ], - "id": 1866, + "id": 1358, "name": "FunctionDefinition", - "src": "34123:135:1" + "src": "35101:137:0" }, { "attributes": { @@ -55586,7 +55586,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55596,9 +55596,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1867, + "id": 1359, "name": "StructuredDocumentation", - "src": "34264:70:1" + "src": "35246:72:0" }, { "children": [ @@ -55607,7 +55607,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55617,24 +55617,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1868, + "id": 1360, "name": "UserDefinedTypeName", - "src": "34357:7:1" + "src": "35342:7:0" } ], - "id": 1869, + "id": 1361, "name": "VariableDeclaration", - "src": "34357:19:1" + "src": "35342:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55646,19 +55646,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1870, + "id": 1362, "name": "ElementaryTypeName", - "src": "34378:7:1" + "src": "35363:7:0" } ], - "id": 1871, + "id": 1363, "name": "VariableDeclaration", - "src": "34378:13:1" + "src": "35363:13:0" } ], - "id": 1872, + "id": 1364, "name": "ParameterList", - "src": "34356:36:1" + "src": "35341:36:0" }, { "children": [ @@ -55667,7 +55667,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55679,25 +55679,25 @@ "name": "bool", "type": "bool" }, - "id": 1873, + "id": 1365, "name": "ElementaryTypeName", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1874, + "id": 1366, "name": "VariableDeclaration", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1875, + "id": 1367, "name": "ParameterList", - "src": "34415:6:1" + "src": "35400:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1875 + "functionReturnParameters": 1367 }, "children": [ { @@ -55719,7 +55719,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55730,13 +55730,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1876, + "id": 1368, "name": "Identifier", - "src": "34439:9:1" + "src": "35425:9:0" }, { "attributes": { @@ -55745,7 +55745,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55754,18 +55754,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1869, + "referencedDeclaration": 1361, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1877, + "id": 1369, "name": "Identifier", - "src": "34449:3:1" + "src": "35435:3:0" } ], - "id": 1878, + "id": 1370, "name": "MemberAccess", - "src": "34449:10:1" + "src": "35435:10:0" }, { "attributes": { @@ -55801,52 +55801,52 @@ "attributes": { "name": "bytes32" }, - "id": 1879, + "id": 1371, "name": "ElementaryTypeName", - "src": "34461:7:1" + "src": "35447:7:0" } ], - "id": 1880, + "id": 1372, "name": "ElementaryTypeNameExpression", - "src": "34461:7:1" + "src": "35447:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1871, + "referencedDeclaration": 1363, "type": "uint256", "value": "value" }, - "id": 1881, + "id": 1373, "name": "Identifier", - "src": "34469:5:1" + "src": "35455:5:0" } ], - "id": 1882, + "id": 1374, "name": "FunctionCall", - "src": "34461:14:1" + "src": "35447:14:0" } ], - "id": 1883, + "id": 1375, "name": "FunctionCall", - "src": "34439:37:1" + "src": "35425:37:0" } ], - "id": 1884, + "id": 1376, "name": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ], - "id": 1885, + "id": 1377, "name": "Block", - "src": "34422:61:1" + "src": "35407:63:0" } ], - "id": 1886, + "id": 1378, "name": "FunctionDefinition", - "src": "34339:144:1" + "src": "35324:146:0" }, { "attributes": { @@ -55857,7 +55857,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55867,9 +55867,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1887, + "id": 1379, "name": "StructuredDocumentation", - "src": "34489:70:1" + "src": "35478:72:0" }, { "children": [ @@ -55878,7 +55878,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55888,22 +55888,22 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1888, + "id": 1380, "name": "UserDefinedTypeName", - "src": "34580:7:1" + "src": "35572:7:0" } ], - "id": 1889, + "id": 1381, "name": "VariableDeclaration", - "src": "34580:19:1" + "src": "35572:19:0" } ], - "id": 1890, + "id": 1382, "name": "ParameterList", - "src": "34579:21:1" + "src": "35571:21:0" }, { "children": [ @@ -55912,7 +55912,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55924,25 +55924,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1891, + "id": 1383, "name": "ElementaryTypeName", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1892, + "id": 1384, "name": "VariableDeclaration", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1893, + "id": 1385, "name": "ParameterList", - "src": "34623:9:1" + "src": "35615:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1893 + "functionReturnParameters": 1385 }, "children": [ { @@ -55964,20 +55964,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1894, + "id": 1386, "name": "Identifier", - "src": "34650:7:1" + "src": "35643:7:0" }, { "attributes": { @@ -55986,7 +55986,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55995,38 +55995,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1889, + "referencedDeclaration": 1381, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1895, + "id": 1387, "name": "Identifier", - "src": "34658:3:1" + "src": "35651:3:0" } ], - "id": 1896, + "id": 1388, "name": "MemberAccess", - "src": "34658:10:1" + "src": "35651:10:0" } ], - "id": 1897, + "id": 1389, "name": "FunctionCall", - "src": "34650:19:1" + "src": "35643:19:0" } ], - "id": 1898, + "id": 1390, "name": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ], - "id": 1899, + "id": 1391, "name": "Block", - "src": "34633:43:1" + "src": "35625:45:0" } ], - "id": 1900, + "id": 1392, "name": "FunctionDefinition", - "src": "34564:112:1" + "src": "35556:114:0" }, { "attributes": { @@ -56037,7 +56037,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -56047,9 +56047,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1901, + "id": 1393, "name": "StructuredDocumentation", - "src": "34681:322:1" + "src": "35677:331:0" }, { "children": [ @@ -56058,7 +56058,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -56068,24 +56068,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1902, + "id": 1394, "name": "UserDefinedTypeName", - "src": "35020:7:1" + "src": "36026:7:0" } ], - "id": 1903, + "id": 1395, "name": "VariableDeclaration", - "src": "35020:19:1" + "src": "36026:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -56097,19 +56097,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1904, + "id": 1396, "name": "ElementaryTypeName", - "src": "35041:7:1" + "src": "36047:7:0" } ], - "id": 1905, + "id": 1397, "name": "VariableDeclaration", - "src": "35041:13:1" + "src": "36047:13:0" } ], - "id": 1906, + "id": 1398, "name": "ParameterList", - "src": "35019:36:1" + "src": "36025:36:0" }, { "children": [ @@ -56118,7 +56118,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -56130,25 +56130,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1907, + "id": 1399, "name": "ElementaryTypeName", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1908, + "id": 1400, "name": "VariableDeclaration", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1909, + "id": 1401, "name": "ParameterList", - "src": "35078:9:1" + "src": "36084:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1909 + "functionReturnParameters": 1401 }, "children": [ { @@ -56185,14 +56185,14 @@ "attributes": { "name": "uint256" }, - "id": 1910, + "id": 1402, "name": "ElementaryTypeName", - "src": "35105:7:1" + "src": "36112:7:0" } ], - "id": 1911, + "id": 1403, "name": "ElementaryTypeNameExpression", - "src": "35105:7:1" + "src": "36112:7:0" }, { "attributes": { @@ -56213,7 +56213,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -56224,13 +56224,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1912, + "id": 1404, "name": "Identifier", - "src": "35113:3:1" + "src": "36120:3:0" }, { "attributes": { @@ -56239,7 +56239,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -56248,61 +56248,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1903, + "referencedDeclaration": 1395, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1913, + "id": 1405, "name": "Identifier", - "src": "35117:3:1" + "src": "36124:3:0" } ], - "id": 1914, + "id": 1406, "name": "MemberAccess", - "src": "35117:10:1" + "src": "36124:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1905, + "referencedDeclaration": 1397, "type": "uint256", "value": "index" }, - "id": 1915, + "id": 1407, "name": "Identifier", - "src": "35129:5:1" + "src": "36136:5:0" } ], - "id": 1916, + "id": 1408, "name": "FunctionCall", - "src": "35113:22:1" + "src": "36120:22:0" } ], - "id": 1917, + "id": 1409, "name": "FunctionCall", - "src": "35105:31:1" + "src": "36112:31:0" } ], - "id": 1918, + "id": 1410, "name": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ], - "id": 1919, + "id": 1411, "name": "Block", - "src": "35088:55:1" + "src": "36094:57:0" } ], - "id": 1920, + "id": 1412, "name": "FunctionDefinition", - "src": "35008:135:1" + "src": "36014:137:0" } ], - "id": 1921, + "id": 1413, "name": "ContractDefinition", - "src": "26511:8634:1" + "src": "27252:8902:0" }, { "attributes": { @@ -56316,9 +56316,9 @@ ".0" ] }, - "id": 1922, + "id": 1414, "name": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "attributes": { @@ -56332,25 +56332,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, - "id": 1923, + "id": 1415, "name": "StructuredDocumentation", - "src": "35237:705:1" + "src": "36251:728:0" }, { "attributes": { "canonicalName": "EnumerableMap.MapEntry", "name": "MapEntry", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -56359,7 +56359,7 @@ "constant": false, "mutability": "mutable", "name": "_key", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56371,21 +56371,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1924, + "id": 1416, "name": "ElementaryTypeName", - "src": "36455:7:1" + "src": "37504:7:0" } ], - "id": 1925, + "id": 1417, "name": "VariableDeclaration", - "src": "36455:12:1" + "src": "37504:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_value", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56397,25 +56397,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1926, + "id": 1418, "name": "ElementaryTypeName", - "src": "36477:7:1" + "src": "37527:7:0" } ], - "id": 1927, + "id": 1419, "name": "VariableDeclaration", - "src": "36477:14:1" + "src": "37527:14:0" } ], - "id": 1928, + "id": 1420, "name": "StructDefinition", - "src": "36429:69:1" + "src": "37477:72:0" }, { "attributes": { "canonicalName": "EnumerableMap.Map", "name": "Map", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -56424,7 +56424,7 @@ "constant": false, "mutability": "mutable", "name": "_entries", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.MapEntry[]", @@ -56439,29 +56439,29 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 1929, + "id": 1421, "name": "UserDefinedTypeName", - "src": "36567:8:1" + "src": "37622:8:0" } ], - "id": 1930, + "id": 1422, "name": "ArrayTypeName", - "src": "36567:10:1" + "src": "37622:10:0" } ], - "id": 1931, + "id": 1423, "name": "VariableDeclaration", - "src": "36567:19:1" + "src": "37622:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -56478,33 +56478,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1932, + "id": 1424, "name": "ElementaryTypeName", - "src": "36745:7:1" + "src": "37804:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1933, + "id": 1425, "name": "ElementaryTypeName", - "src": "36756:7:1" + "src": "37815:7:0" } ], - "id": 1934, + "id": 1426, "name": "Mapping", - "src": "36736:28:1" + "src": "37795:28:0" } ], - "id": 1935, + "id": 1427, "name": "VariableDeclaration", - "src": "36736:37:1" + "src": "37795:37:0" } ], - "id": 1936, + "id": 1428, "name": "StructDefinition", - "src": "36504:276:1" + "src": "37557:283:0" }, { "attributes": { @@ -56515,7 +56515,7 @@ null ], "name": "_set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56525,9 +56525,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1937, + "id": 1429, "name": "StructuredDocumentation", - "src": "36786:216:1" + "src": "37848:222:0" }, { "children": [ @@ -56536,7 +56536,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56546,24 +56546,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 1938, + "id": 1430, "name": "UserDefinedTypeName", - "src": "37021:3:1" + "src": "38090:3:0" } ], - "id": 1939, + "id": 1431, "name": "VariableDeclaration", - "src": "37021:15:1" + "src": "38090:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56575,21 +56575,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1940, + "id": 1432, "name": "ElementaryTypeName", - "src": "37038:7:1" + "src": "38107:7:0" } ], - "id": 1941, + "id": 1433, "name": "VariableDeclaration", - "src": "37038:11:1" + "src": "38107:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56601,19 +56601,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1942, + "id": 1434, "name": "ElementaryTypeName", - "src": "37051:7:1" + "src": "38120:7:0" } ], - "id": 1943, + "id": 1435, "name": "VariableDeclaration", - "src": "37051:13:1" + "src": "38120:13:0" } ], - "id": 1944, + "id": 1436, "name": "ParameterList", - "src": "37020:45:1" + "src": "38089:45:0" }, { "children": [ @@ -56622,7 +56622,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -56634,26 +56634,26 @@ "name": "bool", "type": "bool" }, - "id": 1945, + "id": 1437, "name": "ElementaryTypeName", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1946, + "id": 1438, "name": "VariableDeclaration", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1947, + "id": 1439, "name": "ParameterList", - "src": "37082:6:1" + "src": "38151:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1949 + 1441 ] }, "children": [ @@ -56662,7 +56662,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 1997, + "scope": 1489, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -56674,14 +56674,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1948, + "id": 1440, "name": "ElementaryTypeName", - "src": "37197:7:1" + "src": "38268:7:0" } ], - "id": 1949, + "id": 1441, "name": "VariableDeclaration", - "src": "37197:16:1" + "src": "38268:16:0" }, { "attributes": { @@ -56699,7 +56699,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56708,41 +56708,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1950, + "id": 1442, "name": "Identifier", - "src": "37216:3:1" + "src": "38287:3:0" } ], - "id": 1951, + "id": 1443, "name": "MemberAccess", - "src": "37216:12:1" + "src": "38287:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1952, + "id": 1444, "name": "Identifier", - "src": "37229:3:1" + "src": "38300:3:0" } ], - "id": 1953, + "id": 1445, "name": "IndexAccess", - "src": "37216:17:1" + "src": "38287:17:0" } ], - "id": 1954, + "id": 1446, "name": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "children": [ @@ -56765,13 +56765,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1955, + "id": 1447, "name": "Identifier", - "src": "37248:8:1" + "src": "38321:8:0" }, { "attributes": { @@ -56784,14 +56784,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1956, + "id": 1448, "name": "Literal", - "src": "37260:1:1" + "src": "38333:1:0" } ], - "id": 1957, + "id": 1449, "name": "BinaryOperation", - "src": "37248:13:1" + "src": "38321:13:0" }, { "children": [ @@ -56816,7 +56816,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], @@ -56835,7 +56835,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56844,23 +56844,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1958, + "id": 1450, "name": "Identifier", - "src": "37314:3:1" + "src": "38388:3:0" } ], - "id": 1961, + "id": 1453, "name": "MemberAccess", - "src": "37314:12:1" + "src": "38388:12:0" } ], - "id": 1962, + "id": 1454, "name": "MemberAccess", - "src": "37314:17:1" + "src": "38388:17:0" }, { "attributes": { @@ -56893,54 +56893,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "type(struct EnumerableMap.MapEntry storage pointer)", "value": "MapEntry" }, - "id": 1963, + "id": 1455, "name": "Identifier", - "src": "37332:8:1" + "src": "38406:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1964, + "id": 1456, "name": "Identifier", - "src": "37349:3:1" + "src": "38423:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1965, + "id": 1457, "name": "Identifier", - "src": "37362:5:1" + "src": "38436:5:0" } ], - "id": 1966, + "id": 1458, "name": "FunctionCall", - "src": "37332:38:1" + "src": "38406:38:0" } ], - "id": 1967, + "id": 1459, "name": "FunctionCall", - "src": "37314:57:1" + "src": "38388:57:0" } ], - "id": 1968, + "id": 1460, "name": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "children": [ @@ -56970,7 +56970,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56979,36 +56979,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1969, + "id": 1461, "name": "Identifier", - "src": "37506:3:1" + "src": "38583:3:0" } ], - "id": 1972, + "id": 1464, "name": "MemberAccess", - "src": "37506:12:1" + "src": "38583:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1971, + "id": 1463, "name": "Identifier", - "src": "37519:3:1" + "src": "38596:3:0" } ], - "id": 1973, + "id": 1465, "name": "IndexAccess", - "src": "37506:17:1" + "src": "38583:17:0" }, { "attributes": { @@ -57027,7 +57027,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57036,37 +57036,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1974, + "id": 1466, "name": "Identifier", - "src": "37526:3:1" + "src": "38603:3:0" } ], - "id": 1975, + "id": 1467, "name": "MemberAccess", - "src": "37526:12:1" + "src": "38603:12:0" } ], - "id": 1976, + "id": 1468, "name": "MemberAccess", - "src": "37526:19:1" + "src": "38603:19:0" } ], - "id": 1977, + "id": 1469, "name": "Assignment", - "src": "37506:39:1" + "src": "38583:39:0" } ], - "id": 1978, + "id": 1470, "name": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -57080,19 +57080,19 @@ "type": "bool", "value": "true" }, - "id": 1979, + "id": 1471, "name": "Literal", - "src": "37566:4:1" + "src": "38644:4:0" } ], - "id": 1980, + "id": 1472, "name": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ], - "id": 1981, + "id": 1473, "name": "Block", - "src": "37263:318:1" + "src": "38336:324:0" }, { "children": [ @@ -57115,7 +57115,7 @@ "isPure": false, "lValueRequested": true, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -57135,7 +57135,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57144,18 +57144,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1982, + "id": 1474, "name": "Identifier", - "src": "37601:3:1" + "src": "38681:3:0" } ], - "id": 1987, + "id": 1479, "name": "MemberAccess", - "src": "37601:12:1" + "src": "38681:12:0" }, { "attributes": { @@ -57176,13 +57176,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1984, + "id": 1476, "name": "Identifier", - "src": "37614:8:1" + "src": "38694:8:0" }, { "attributes": { @@ -57195,51 +57195,51 @@ "type": "int_const 1", "value": "1" }, - "id": 1985, + "id": 1477, "name": "Literal", - "src": "37625:1:1" + "src": "38705:1:0" } ], - "id": 1986, + "id": 1478, "name": "BinaryOperation", - "src": "37614:12:1" + "src": "38694:12:0" } ], - "id": 1988, + "id": 1480, "name": "IndexAccess", - "src": "37601:26:1" + "src": "38681:26:0" } ], - "id": 1989, + "id": 1481, "name": "MemberAccess", - "src": "37601:33:1" + "src": "38681:33:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1990, + "id": 1482, "name": "Identifier", - "src": "37637:5:1" + "src": "38717:5:0" } ], - "id": 1991, + "id": 1483, "name": "Assignment", - "src": "37601:41:1" + "src": "38681:41:0" } ], - "id": 1992, + "id": 1484, "name": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -57253,34 +57253,34 @@ "type": "bool", "value": "false" }, - "id": 1993, + "id": 1485, "name": "Literal", - "src": "37663:5:1" + "src": "38744:5:0" } ], - "id": 1994, + "id": 1486, "name": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ], - "id": 1995, + "id": 1487, "name": "Block", - "src": "37587:92:1" + "src": "38666:95:0" } ], - "id": 1996, + "id": 1488, "name": "IfStatement", - "src": "37244:435:1" + "src": "38317:444:0" } ], - "id": 1997, + "id": 1489, "name": "Block", - "src": "37089:596:1" + "src": "38158:610:0" } ], - "id": 1998, + "id": 1490, "name": "FunctionDefinition", - "src": "37007:678:1" + "src": "38076:692:0" }, { "attributes": { @@ -57291,7 +57291,7 @@ null ], "name": "_remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -57301,9 +57301,9 @@ "attributes": { "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 1999, + "id": 1491, "name": "StructuredDocumentation", - "src": "37691:157:1" + "src": "38776:161:0" }, { "children": [ @@ -57312,7 +57312,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -57322,24 +57322,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2000, + "id": 1492, "name": "UserDefinedTypeName", - "src": "37870:3:1" + "src": "38960:3:0" } ], - "id": 2001, + "id": 1493, "name": "VariableDeclaration", - "src": "37870:15:1" + "src": "38960:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -57351,19 +57351,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2002, + "id": 1494, "name": "ElementaryTypeName", - "src": "37887:7:1" + "src": "38977:7:0" } ], - "id": 2003, + "id": 1495, "name": "VariableDeclaration", - "src": "37887:11:1" + "src": "38977:11:0" } ], - "id": 2004, + "id": 1496, "name": "ParameterList", - "src": "37869:30:1" + "src": "38959:30:0" }, { "children": [ @@ -57372,7 +57372,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -57384,26 +57384,26 @@ "name": "bool", "type": "bool" }, - "id": 2005, + "id": 1497, "name": "ElementaryTypeName", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2006, + "id": 1498, "name": "VariableDeclaration", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2007, + "id": 1499, "name": "ParameterList", - "src": "37916:6:1" + "src": "39006:6:0" }, { "children": [ { "attributes": { "assignments": [ - 2009 + 1501 ] }, "children": [ @@ -57412,7 +57412,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2078, + "scope": 1570, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57424,14 +57424,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2008, + "id": 1500, "name": "ElementaryTypeName", - "src": "38031:7:1" + "src": "39123:7:0" } ], - "id": 2009, + "id": 1501, "name": "VariableDeclaration", - "src": "38031:16:1" + "src": "39123:16:0" }, { "attributes": { @@ -57449,7 +57449,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57458,41 +57458,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2010, + "id": 1502, "name": "Identifier", - "src": "38050:3:1" + "src": "39142:3:0" } ], - "id": 2011, + "id": 1503, "name": "MemberAccess", - "src": "38050:12:1" + "src": "39142:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2012, + "id": 1504, "name": "Identifier", - "src": "38063:3:1" + "src": "39155:3:0" } ], - "id": 2013, + "id": 1505, "name": "IndexAccess", - "src": "38050:17:1" + "src": "39142:17:0" } ], - "id": 2014, + "id": 1506, "name": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "children": [ @@ -57515,13 +57515,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2015, + "id": 1507, "name": "Identifier", - "src": "38082:8:1" + "src": "39176:8:0" }, { "attributes": { @@ -57534,21 +57534,21 @@ "type": "int_const 0", "value": "0" }, - "id": 2016, + "id": 1508, "name": "Literal", - "src": "38094:1:1" + "src": "39188:1:0" } ], - "id": 2017, + "id": 1509, "name": "BinaryOperation", - "src": "38082:13:1" + "src": "39176:13:0" }, { "children": [ { "attributes": { "assignments": [ - 2019 + 1511 ] }, "children": [ @@ -57557,7 +57557,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57569,14 +57569,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2018, + "id": 1510, "name": "ElementaryTypeName", - "src": "38438:7:1" + "src": "39537:7:0" } ], - "id": 2019, + "id": 1511, "name": "VariableDeclaration", - "src": "38438:21:1" + "src": "39537:21:0" }, { "attributes": { @@ -57597,13 +57597,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2020, + "id": 1512, "name": "Identifier", - "src": "38462:8:1" + "src": "39561:8:0" }, { "attributes": { @@ -57616,24 +57616,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2021, + "id": 1513, "name": "Literal", - "src": "38473:1:1" + "src": "39572:1:0" } ], - "id": 2022, + "id": 1514, "name": "BinaryOperation", - "src": "38462:12:1" + "src": "39561:12:0" } ], - "id": 2023, + "id": 1515, "name": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "attributes": { "assignments": [ - 2025 + 1517 ] }, "children": [ @@ -57642,7 +57642,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57654,14 +57654,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2024, + "id": 1516, "name": "ElementaryTypeName", - "src": "38488:7:1" + "src": "39588:7:0" } ], - "id": 2025, + "id": 1517, "name": "VariableDeclaration", - "src": "38488:17:1" + "src": "39588:17:0" }, { "attributes": { @@ -57694,7 +57694,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57703,23 +57703,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2026, + "id": 1518, "name": "Identifier", - "src": "38508:3:1" + "src": "39608:3:0" } ], - "id": 2027, + "id": 1519, "name": "MemberAccess", - "src": "38508:12:1" + "src": "39608:12:0" } ], - "id": 2028, + "id": 1520, "name": "MemberAccess", - "src": "38508:19:1" + "src": "39608:19:0" }, { "attributes": { @@ -57732,24 +57732,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2029, + "id": 1521, "name": "Literal", - "src": "38530:1:1" + "src": "39630:1:0" } ], - "id": 2030, + "id": 1522, "name": "BinaryOperation", - "src": "38508:23:1" + "src": "39608:23:0" } ], - "id": 2031, + "id": 1523, "name": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "attributes": { "assignments": [ - 2033 + 1525 ] }, "children": [ @@ -57758,7 +57758,7 @@ "constant": false, "mutability": "mutable", "name": "lastEntry", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -57768,17 +57768,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2032, + "id": 1524, "name": "UserDefinedTypeName", - "src": "38771:8:1" + "src": "39876:8:0" } ], - "id": 2033, + "id": 1525, "name": "VariableDeclaration", - "src": "38771:26:1" + "src": "39876:26:0" }, { "attributes": { @@ -57796,7 +57796,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57805,41 +57805,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2034, + "id": 1526, "name": "Identifier", - "src": "38800:3:1" + "src": "39905:3:0" } ], - "id": 2035, + "id": 1527, "name": "MemberAccess", - "src": "38800:12:1" + "src": "39905:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2025, + "referencedDeclaration": 1517, "type": "uint256", "value": "lastIndex" }, - "id": 2036, + "id": 1528, "name": "Identifier", - "src": "38813:9:1" + "src": "39918:9:0" } ], - "id": 2037, + "id": 1529, "name": "IndexAccess", - "src": "38800:23:1" + "src": "39905:23:0" } ], - "id": 2038, + "id": 1530, "name": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "children": [ @@ -57869,7 +57869,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57878,59 +57878,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2039, + "id": 1531, "name": "Identifier", - "src": "38915:3:1" + "src": "40023:3:0" } ], - "id": 2042, + "id": 1534, "name": "MemberAccess", - "src": "38915:12:1" + "src": "40023:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2041, + "id": 1533, "name": "Identifier", - "src": "38928:13:1" + "src": "40036:13:0" } ], - "id": 2043, + "id": 1535, "name": "IndexAccess", - "src": "38915:27:1" + "src": "40023:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2044, + "id": 1536, "name": "Identifier", - "src": "38945:9:1" + "src": "40053:9:0" } ], - "id": 2045, + "id": 1537, "name": "Assignment", - "src": "38915:39:1" + "src": "40023:39:0" } ], - "id": 2046, + "id": 1538, "name": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "children": [ @@ -57960,7 +57960,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57969,18 +57969,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2047, + "id": 1539, "name": "Identifier", - "src": "39020:3:1" + "src": "40130:3:0" } ], - "id": 2051, + "id": 1543, "name": "MemberAccess", - "src": "39020:12:1" + "src": "40130:12:0" }, { "attributes": { @@ -57989,7 +57989,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -57998,23 +57998,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2049, + "id": 1541, "name": "Identifier", - "src": "39033:9:1" + "src": "40143:9:0" } ], - "id": 2050, + "id": 1542, "name": "MemberAccess", - "src": "39033:14:1" + "src": "40143:14:0" } ], - "id": 2052, + "id": 1544, "name": "IndexAccess", - "src": "39020:28:1" + "src": "40130:28:0" }, { "attributes": { @@ -58035,13 +58035,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2053, + "id": 1545, "name": "Identifier", - "src": "39051:13:1" + "src": "40161:13:0" }, { "attributes": { @@ -58054,24 +58054,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2054, + "id": 1546, "name": "Literal", - "src": "39067:1:1" + "src": "40177:1:0" } ], - "id": 2055, + "id": 1547, "name": "BinaryOperation", - "src": "39051:17:1" + "src": "40161:17:0" } ], - "id": 2056, + "id": 1548, "name": "Assignment", - "src": "39020:48:1" + "src": "40130:48:0" } ], - "id": 2057, + "id": 1549, "name": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "children": [ @@ -58113,7 +58113,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58122,33 +58122,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2058, + "id": 1550, "name": "Identifier", - "src": "39174:3:1" + "src": "40287:3:0" } ], - "id": 2061, + "id": 1553, "name": "MemberAccess", - "src": "39174:12:1" + "src": "40287:12:0" } ], - "id": 2062, + "id": 1554, "name": "MemberAccess", - "src": "39174:16:1" + "src": "40287:16:0" } ], - "id": 2063, + "id": 1555, "name": "FunctionCall", - "src": "39174:18:1" + "src": "40287:18:0" } ], - "id": 2064, + "id": 1556, "name": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "children": [ @@ -58179,7 +58179,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58188,50 +58188,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2065, + "id": 1557, "name": "Identifier", - "src": "39267:3:1" + "src": "40383:3:0" } ], - "id": 2066, + "id": 1558, "name": "MemberAccess", - "src": "39267:12:1" + "src": "40383:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2067, + "id": 1559, "name": "Identifier", - "src": "39280:3:1" + "src": "40396:3:0" } ], - "id": 2068, + "id": 1560, "name": "IndexAccess", - "src": "39267:17:1" + "src": "40383:17:0" } ], - "id": 2069, + "id": 1561, "name": "UnaryOperation", - "src": "39260:24:1" + "src": "40376:24:0" } ], - "id": 2070, + "id": 1562, "name": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -58245,25 +58245,25 @@ "type": "bool", "value": "true" }, - "id": 2071, + "id": 1563, "name": "Literal", - "src": "39306:4:1" + "src": "40424:4:0" } ], - "id": 2072, + "id": 1564, "name": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ], - "id": 2073, + "id": 1565, "name": "Block", - "src": "38097:1224:1" + "src": "39191:1249:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -58277,34 +58277,34 @@ "type": "bool", "value": "false" }, - "id": 2074, + "id": 1566, "name": "Literal", - "src": "39348:5:1" + "src": "40468:5:0" } ], - "id": 2075, + "id": 1567, "name": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ], - "id": 2076, + "id": 1568, "name": "Block", - "src": "39327:37:1" + "src": "40446:39:0" } ], - "id": 2077, + "id": 1569, "name": "IfStatement", - "src": "38078:1286:1" + "src": "39172:1313:0" } ], - "id": 2078, + "id": 1570, "name": "Block", - "src": "37923:1447:1" + "src": "39013:1479:0" } ], - "id": 2079, + "id": 1571, "name": "FunctionDefinition", - "src": "37853:1517:1" + "src": "38943:1549:0" }, { "attributes": { @@ -58315,7 +58315,7 @@ null ], "name": "_contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58325,9 +58325,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2080, + "id": 1572, "name": "StructuredDocumentation", - "src": "39376:68:1" + "src": "40500:70:0" }, { "children": [ @@ -58336,7 +58336,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58346,24 +58346,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2081, + "id": 1573, "name": "UserDefinedTypeName", - "src": "39468:3:1" + "src": "40595:3:0" } ], - "id": 2082, + "id": 1574, "name": "VariableDeclaration", - "src": "39468:15:1" + "src": "40595:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58375,19 +58375,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2083, + "id": 1575, "name": "ElementaryTypeName", - "src": "39485:7:1" + "src": "40612:7:0" } ], - "id": 2084, + "id": 1576, "name": "VariableDeclaration", - "src": "39485:11:1" + "src": "40612:11:0" } ], - "id": 2085, + "id": 1577, "name": "ParameterList", - "src": "39467:30:1" + "src": "40594:30:0" }, { "children": [ @@ -58396,7 +58396,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -58408,25 +58408,25 @@ "name": "bool", "type": "bool" }, - "id": 2086, + "id": 1578, "name": "ElementaryTypeName", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2087, + "id": 1579, "name": "VariableDeclaration", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2088, + "id": 1580, "name": "ParameterList", - "src": "39519:6:1" + "src": "40646:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2088 + "functionReturnParameters": 1580 }, "children": [ { @@ -58459,7 +58459,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58468,36 +58468,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2082, + "referencedDeclaration": 1574, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2089, + "id": 1581, "name": "Identifier", - "src": "39543:3:1" + "src": "40671:3:0" } ], - "id": 2090, + "id": 1582, "name": "MemberAccess", - "src": "39543:12:1" + "src": "40671:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2084, + "referencedDeclaration": 1576, "type": "bytes32", "value": "key" }, - "id": 2091, + "id": 1583, "name": "Identifier", - "src": "39556:3:1" + "src": "40684:3:0" } ], - "id": 2092, + "id": 1584, "name": "IndexAccess", - "src": "39543:17:1" + "src": "40671:17:0" }, { "attributes": { @@ -58510,29 +58510,29 @@ "type": "int_const 0", "value": "0" }, - "id": 2093, + "id": 1585, "name": "Literal", - "src": "39564:1:1" + "src": "40692:1:0" } ], - "id": 2094, + "id": 1586, "name": "BinaryOperation", - "src": "39543:22:1" + "src": "40671:22:0" } ], - "id": 2095, + "id": 1587, "name": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ], - "id": 2096, + "id": 1588, "name": "Block", - "src": "39526:46:1" + "src": "40653:48:0" } ], - "id": 2097, + "id": 1589, "name": "FunctionDefinition", - "src": "39449:123:1" + "src": "40576:125:0" }, { "attributes": { @@ -58543,7 +58543,7 @@ null ], "name": "_length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58553,9 +58553,9 @@ "attributes": { "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2098, + "id": 1590, "name": "StructuredDocumentation", - "src": "39578:79:1" + "src": "40709:81:0" }, { "children": [ @@ -58564,7 +58564,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58574,22 +58574,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2099, + "id": 1591, "name": "UserDefinedTypeName", - "src": "39679:3:1" + "src": "40813:3:0" } ], - "id": 2100, + "id": 1592, "name": "VariableDeclaration", - "src": "39679:15:1" + "src": "40813:15:0" } ], - "id": 2101, + "id": 1593, "name": "ParameterList", - "src": "39678:17:1" + "src": "40812:17:0" }, { "children": [ @@ -58598,7 +58598,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58610,25 +58610,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2102, + "id": 1594, "name": "ElementaryTypeName", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2103, + "id": 1595, "name": "VariableDeclaration", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2104, + "id": 1596, "name": "ParameterList", - "src": "39717:9:1" + "src": "40851:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2104 + "functionReturnParameters": 1596 }, "children": [ { @@ -58648,7 +58648,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58657,38 +58657,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2100, + "referencedDeclaration": 1592, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2105, + "id": 1597, "name": "Identifier", - "src": "39744:3:1" + "src": "40879:3:0" } ], - "id": 2106, + "id": 1598, "name": "MemberAccess", - "src": "39744:12:1" + "src": "40879:12:0" } ], - "id": 2107, + "id": 1599, "name": "MemberAccess", - "src": "39744:19:1" + "src": "40879:19:0" } ], - "id": 2108, + "id": 1600, "name": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ], - "id": 2109, + "id": 1601, "name": "Block", - "src": "39727:43:1" + "src": "40861:45:0" } ], - "id": 2110, + "id": 1602, "name": "FunctionDefinition", - "src": "39662:108:1" + "src": "40796:110:0" }, { "attributes": { @@ -58699,7 +58699,7 @@ null ], "name": "_at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58709,9 +58709,9 @@ "attributes": { "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2111, + "id": 1603, "name": "StructuredDocumentation", - "src": "39775:333:1" + "src": "40913:342:0" }, { "children": [ @@ -58720,7 +58720,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58730,24 +58730,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2112, + "id": 1604, "name": "UserDefinedTypeName", - "src": "40126:3:1" + "src": "41274:3:0" } ], - "id": 2113, + "id": 1605, "name": "VariableDeclaration", - "src": "40126:15:1" + "src": "41274:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58759,19 +58759,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2114, + "id": 1606, "name": "ElementaryTypeName", - "src": "40143:7:1" + "src": "41291:7:0" } ], - "id": 2115, + "id": 1607, "name": "VariableDeclaration", - "src": "40143:13:1" + "src": "41291:13:0" } ], - "id": 2116, + "id": 1608, "name": "ParameterList", - "src": "40125:32:1" + "src": "41273:32:0" }, { "children": [ @@ -58780,7 +58780,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58792,21 +58792,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2117, + "id": 1609, "name": "ElementaryTypeName", - "src": "40180:7:1" + "src": "41328:7:0" } ], - "id": 2118, + "id": 1610, "name": "VariableDeclaration", - "src": "40180:7:1" + "src": "41328:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58818,19 +58818,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2119, + "id": 1611, "name": "ElementaryTypeName", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2120, + "id": 1612, "name": "VariableDeclaration", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2121, + "id": 1613, "name": "ParameterList", - "src": "40179:18:1" + "src": "41327:18:0" }, { "children": [ @@ -58871,9 +58871,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2122, + "id": 1614, "name": "Identifier", - "src": "40208:7:1" + "src": "41357:7:0" }, { "attributes": { @@ -58906,7 +58906,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58915,41 +58915,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2123, + "id": 1615, "name": "Identifier", - "src": "40216:3:1" + "src": "41365:3:0" } ], - "id": 2124, + "id": 1616, "name": "MemberAccess", - "src": "40216:12:1" + "src": "41365:12:0" } ], - "id": 2125, + "id": 1617, "name": "MemberAccess", - "src": "40216:19:1" + "src": "41365:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2126, + "id": 1618, "name": "Identifier", - "src": "40238:5:1" + "src": "41387:5:0" } ], - "id": 2127, + "id": 1619, "name": "BinaryOperation", - "src": "40216:27:1" + "src": "41365:27:0" }, { "attributes": { @@ -58962,24 +58962,24 @@ "type": "literal_string \"EnumerableMap: index out of bounds\"", "value": "EnumerableMap: index out of bounds" }, - "id": 2128, + "id": 1620, "name": "Literal", - "src": "40245:36:1" + "src": "41394:36:0" } ], - "id": 2129, + "id": 1621, "name": "FunctionCall", - "src": "40208:74:1" + "src": "41357:74:0" } ], - "id": 2130, + "id": 1622, "name": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "attributes": { "assignments": [ - 2132 + 1624 ] }, "children": [ @@ -58988,7 +58988,7 @@ "constant": false, "mutability": "mutable", "name": "entry", - "scope": 2144, + "scope": 1636, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -58998,17 +58998,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2131, + "id": 1623, "name": "UserDefinedTypeName", - "src": "40293:8:1" + "src": "41444:8:0" } ], - "id": 2132, + "id": 1624, "name": "VariableDeclaration", - "src": "40293:22:1" + "src": "41444:22:0" }, { "attributes": { @@ -59026,7 +59026,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59035,45 +59035,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2133, + "id": 1625, "name": "Identifier", - "src": "40318:3:1" + "src": "41469:3:0" } ], - "id": 2134, + "id": 1626, "name": "MemberAccess", - "src": "40318:12:1" + "src": "41469:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2135, + "id": 1627, "name": "Identifier", - "src": "40331:5:1" + "src": "41482:5:0" } ], - "id": 2136, + "id": 1628, "name": "IndexAccess", - "src": "40318:19:1" + "src": "41469:19:0" } ], - "id": 2137, + "id": 1629, "name": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "attributes": { - "functionReturnParameters": 2121 + "functionReturnParameters": 1613 }, "children": [ { @@ -59093,7 +59093,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -59102,18 +59102,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2138, + "id": 1630, "name": "Identifier", - "src": "40355:5:1" + "src": "41507:5:0" } ], - "id": 2139, + "id": 1631, "name": "MemberAccess", - "src": "40355:10:1" + "src": "41507:10:0" }, { "attributes": { @@ -59122,7 +59122,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59131,38 +59131,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2140, + "id": 1632, "name": "Identifier", - "src": "40367:5:1" + "src": "41519:5:0" } ], - "id": 2141, + "id": 1633, "name": "MemberAccess", - "src": "40367:12:1" + "src": "41519:12:0" } ], - "id": 2142, + "id": 1634, "name": "TupleExpression", - "src": "40354:26:1" + "src": "41506:26:0" } ], - "id": 2143, + "id": 1635, "name": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ], - "id": 2144, + "id": 1636, "name": "Block", - "src": "40198:189:1" + "src": "41346:194:0" } ], - "id": 2145, + "id": 1637, "name": "FunctionDefinition", - "src": "40113:274:1" + "src": "41261:279:0" }, { "attributes": { @@ -59173,7 +59173,7 @@ null ], "name": "_tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59183,9 +59183,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2146, + "id": 1638, "name": "StructuredDocumentation", - "src": "40393:131:1" + "src": "41548:134:0" }, { "children": [ @@ -59194,7 +59194,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59204,24 +59204,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2147, + "id": 1639, "name": "UserDefinedTypeName", - "src": "40546:3:1" + "src": "41705:3:0" } ], - "id": 2148, + "id": 1640, "name": "VariableDeclaration", - "src": "40546:15:1" + "src": "41705:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59233,19 +59233,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2149, + "id": 1641, "name": "ElementaryTypeName", - "src": "40563:7:1" + "src": "41722:7:0" } ], - "id": 2150, + "id": 1642, "name": "VariableDeclaration", - "src": "40563:11:1" + "src": "41722:11:0" } ], - "id": 2151, + "id": 1643, "name": "ParameterList", - "src": "40545:30:1" + "src": "41704:30:0" }, { "children": [ @@ -59254,7 +59254,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -59266,21 +59266,21 @@ "name": "bool", "type": "bool" }, - "id": 2152, + "id": 1644, "name": "ElementaryTypeName", - "src": "40598:4:1" + "src": "41757:4:0" } ], - "id": 2153, + "id": 1645, "name": "VariableDeclaration", - "src": "40598:4:1" + "src": "41757:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59292,26 +59292,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2154, + "id": 1646, "name": "ElementaryTypeName", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2155, + "id": 1647, "name": "VariableDeclaration", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2156, + "id": 1648, "name": "ParameterList", - "src": "40597:15:1" + "src": "41756:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2158 + 1650 ] }, "children": [ @@ -59320,7 +59320,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2182, + "scope": 1674, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59332,14 +59332,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2157, + "id": 1649, "name": "ElementaryTypeName", - "src": "40623:7:1" + "src": "41783:7:0" } ], - "id": 2158, + "id": 1650, "name": "VariableDeclaration", - "src": "40623:16:1" + "src": "41783:16:0" }, { "attributes": { @@ -59357,7 +59357,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59366,41 +59366,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2159, + "id": 1651, "name": "Identifier", - "src": "40642:3:1" + "src": "41802:3:0" } ], - "id": 2160, + "id": 1652, "name": "MemberAccess", - "src": "40642:12:1" + "src": "41802:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2150, + "referencedDeclaration": 1642, "type": "bytes32", "value": "key" }, - "id": 2161, + "id": 1653, "name": "Identifier", - "src": "40655:3:1" + "src": "41815:3:0" } ], - "id": 2162, + "id": 1654, "name": "IndexAccess", - "src": "40642:17:1" + "src": "41802:17:0" } ], - "id": 2163, + "id": 1655, "name": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "attributes": {}, @@ -59424,13 +59424,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2164, + "id": 1656, "name": "Identifier", - "src": "40673:8:1" + "src": "41834:8:0" }, { "attributes": { @@ -59443,18 +59443,18 @@ "type": "int_const 0", "value": "0" }, - "id": 2165, + "id": 1657, "name": "Literal", - "src": "40685:1:1" + "src": "41846:1:0" } ], - "id": 2166, + "id": 1658, "name": "BinaryOperation", - "src": "40673:13:1" + "src": "41834:13:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59478,9 +59478,9 @@ "type": "bool", "value": "false" }, - "id": 2167, + "id": 1659, "name": "Literal", - "src": "40696:5:1" + "src": "41857:5:0" }, { "attributes": { @@ -59493,28 +59493,28 @@ "type": "int_const 0", "value": "0" }, - "id": 2168, + "id": 1660, "name": "Literal", - "src": "40703:1:1" + "src": "41864:1:0" } ], - "id": 2169, + "id": 1661, "name": "TupleExpression", - "src": "40695:10:1" + "src": "41856:10:0" } ], - "id": 2170, + "id": 1662, "name": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } ], - "id": 2171, + "id": 1663, "name": "IfStatement", - "src": "40669:36:1" + "src": "41830:36:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59538,9 +59538,9 @@ "type": "bool", "value": "true" }, - "id": 2172, + "id": 1664, "name": "Literal", - "src": "40759:4:1" + "src": "41921:4:0" }, { "attributes": { @@ -59549,7 +59549,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59569,7 +59569,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59578,18 +59578,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2173, + "id": 1665, "name": "Identifier", - "src": "40765:3:1" + "src": "41927:3:0" } ], - "id": 2174, + "id": 1666, "name": "MemberAccess", - "src": "40765:12:1" + "src": "41927:12:0" }, { "attributes": { @@ -59610,13 +59610,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2175, + "id": 1667, "name": "Identifier", - "src": "40778:8:1" + "src": "41940:8:0" }, { "attributes": { @@ -59629,44 +59629,44 @@ "type": "int_const 1", "value": "1" }, - "id": 2176, + "id": 1668, "name": "Literal", - "src": "40789:1:1" + "src": "41951:1:0" } ], - "id": 2177, + "id": 1669, "name": "BinaryOperation", - "src": "40778:12:1" + "src": "41940:12:0" } ], - "id": 2178, + "id": 1670, "name": "IndexAccess", - "src": "40765:26:1" + "src": "41927:26:0" } ], - "id": 2179, + "id": 1671, "name": "MemberAccess", - "src": "40765:33:1" + "src": "41927:33:0" } ], - "id": 2180, + "id": 1672, "name": "TupleExpression", - "src": "40758:41:1" + "src": "41920:41:0" } ], - "id": 2181, + "id": 1673, "name": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ], - "id": 2182, + "id": 1674, "name": "Block", - "src": "40613:220:1" + "src": "41772:224:0" } ], - "id": 2183, + "id": 1675, "name": "FunctionDefinition", - "src": "40529:304:1" + "src": "41688:308:0" }, { "attributes": { @@ -59677,7 +59677,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59687,9 +59687,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2184, + "id": 1676, "name": "StructuredDocumentation", - "src": "40839:141:1" + "src": "42004:147:0" }, { "children": [ @@ -59698,7 +59698,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59708,24 +59708,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2185, + "id": 1677, "name": "UserDefinedTypeName", - "src": "40999:3:1" + "src": "42171:3:0" } ], - "id": 2186, + "id": 1678, "name": "VariableDeclaration", - "src": "40999:15:1" + "src": "42171:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59737,19 +59737,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2187, + "id": 1679, "name": "ElementaryTypeName", - "src": "41016:7:1" + "src": "42188:7:0" } ], - "id": 2188, + "id": 1680, "name": "VariableDeclaration", - "src": "41016:11:1" + "src": "42188:11:0" } ], - "id": 2189, + "id": 1681, "name": "ParameterList", - "src": "40998:30:1" + "src": "42170:30:0" }, { "children": [ @@ -59758,7 +59758,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59770,26 +59770,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2190, + "id": 1682, "name": "ElementaryTypeName", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2191, + "id": 1683, "name": "VariableDeclaration", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2192, + "id": 1684, "name": "ParameterList", - "src": "41050:9:1" + "src": "42222:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2194 + 1686 ] }, "children": [ @@ -59798,7 +59798,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2215, + "scope": 1707, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59810,14 +59810,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2193, + "id": 1685, "name": "ElementaryTypeName", - "src": "41070:7:1" + "src": "42243:7:0" } ], - "id": 2194, + "id": 1686, "name": "VariableDeclaration", - "src": "41070:16:1" + "src": "42243:16:0" }, { "attributes": { @@ -59835,7 +59835,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59844,41 +59844,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2195, + "id": 1687, "name": "Identifier", - "src": "41089:3:1" + "src": "42262:3:0" } ], - "id": 2196, + "id": 1688, "name": "MemberAccess", - "src": "41089:12:1" + "src": "42262:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2188, + "referencedDeclaration": 1680, "type": "bytes32", "value": "key" }, - "id": 2197, + "id": 1689, "name": "Identifier", - "src": "41102:3:1" + "src": "42275:3:0" } ], - "id": 2198, + "id": 1690, "name": "IndexAccess", - "src": "41089:17:1" + "src": "42262:17:0" } ], - "id": 2199, + "id": 1691, "name": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "children": [ @@ -59917,9 +59917,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2200, + "id": 1692, "name": "Identifier", - "src": "41116:7:1" + "src": "42290:7:0" }, { "attributes": { @@ -59940,13 +59940,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2201, + "id": 1693, "name": "Identifier", - "src": "41124:8:1" + "src": "42298:8:0" }, { "attributes": { @@ -59959,14 +59959,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2202, + "id": 1694, "name": "Literal", - "src": "41136:1:1" + "src": "42310:1:0" } ], - "id": 2203, + "id": 1695, "name": "BinaryOperation", - "src": "41124:13:1" + "src": "42298:13:0" }, { "attributes": { @@ -59979,23 +59979,23 @@ "type": "literal_string \"EnumerableMap: nonexistent key\"", "value": "EnumerableMap: nonexistent key" }, - "id": 2204, + "id": 1696, "name": "Literal", - "src": "41139:32:1" + "src": "42313:32:0" } ], - "id": 2205, + "id": 1697, "name": "FunctionCall", - "src": "41116:56:1" + "src": "42290:56:0" } ], - "id": 2206, + "id": 1698, "name": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "attributes": { - "functionReturnParameters": 2192 + "functionReturnParameters": 1684 }, "children": [ { @@ -60005,7 +60005,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -60025,7 +60025,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -60034,18 +60034,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2207, + "id": 1699, "name": "Identifier", - "src": "41225:3:1" + "src": "42400:3:0" } ], - "id": 2208, + "id": 1700, "name": "MemberAccess", - "src": "41225:12:1" + "src": "42400:12:0" }, { "attributes": { @@ -60066,13 +60066,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2209, + "id": 1701, "name": "Identifier", - "src": "41238:8:1" + "src": "42413:8:0" }, { "attributes": { @@ -60085,39 +60085,39 @@ "type": "int_const 1", "value": "1" }, - "id": 2210, + "id": 1702, "name": "Literal", - "src": "41249:1:1" + "src": "42424:1:0" } ], - "id": 2211, + "id": 1703, "name": "BinaryOperation", - "src": "41238:12:1" + "src": "42413:12:0" } ], - "id": 2212, + "id": 1704, "name": "IndexAccess", - "src": "41225:26:1" + "src": "42400:26:0" } ], - "id": 2213, + "id": 1705, "name": "MemberAccess", - "src": "41225:33:1" + "src": "42400:33:0" } ], - "id": 2214, + "id": 1706, "name": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ], - "id": 2215, + "id": 1707, "name": "Block", - "src": "41060:232:1" + "src": "42232:236:0" } ], - "id": 2216, + "id": 1708, "name": "FunctionDefinition", - "src": "40985:307:1" + "src": "42157:311:0" }, { "attributes": { @@ -60128,7 +60128,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -60138,9 +60138,9 @@ "attributes": { "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2217, + "id": 1709, "name": "StructuredDocumentation", - "src": "41298:271:1" + "src": "42476:276:0" }, { "children": [ @@ -60149,7 +60149,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -60159,24 +60159,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2218, + "id": 1710, "name": "UserDefinedTypeName", - "src": "41588:3:1" + "src": "42772:3:0" } ], - "id": 2219, + "id": 1711, "name": "VariableDeclaration", - "src": "41588:15:1" + "src": "42772:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -60188,21 +60188,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2220, + "id": 1712, "name": "ElementaryTypeName", - "src": "41605:7:1" + "src": "42789:7:0" } ], - "id": 2221, + "id": 1713, "name": "VariableDeclaration", - "src": "41605:11:1" + "src": "42789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -60214,19 +60214,19 @@ "name": "string", "type": "string" }, - "id": 2222, + "id": 1714, "name": "ElementaryTypeName", - "src": "41618:6:1" + "src": "42802:6:0" } ], - "id": 2223, + "id": 1715, "name": "VariableDeclaration", - "src": "41618:26:1" + "src": "42802:26:0" } ], - "id": 2224, + "id": 1716, "name": "ParameterList", - "src": "41587:58:1" + "src": "42771:58:0" }, { "children": [ @@ -60235,7 +60235,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -60247,26 +60247,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2225, + "id": 1717, "name": "ElementaryTypeName", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2226, + "id": 1718, "name": "VariableDeclaration", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2227, + "id": 1719, "name": "ParameterList", - "src": "41667:9:1" + "src": "42851:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2229 + 1721 ] }, "children": [ @@ -60275,7 +60275,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2250, + "scope": 1742, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60287,14 +60287,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2228, + "id": 1720, "name": "ElementaryTypeName", - "src": "41687:7:1" + "src": "42872:7:0" } ], - "id": 2229, + "id": 1721, "name": "VariableDeclaration", - "src": "41687:16:1" + "src": "42872:16:0" }, { "attributes": { @@ -60312,7 +60312,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -60321,41 +60321,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2230, + "id": 1722, "name": "Identifier", - "src": "41706:3:1" + "src": "42891:3:0" } ], - "id": 2231, + "id": 1723, "name": "MemberAccess", - "src": "41706:12:1" + "src": "42891:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2221, + "referencedDeclaration": 1713, "type": "bytes32", "value": "key" }, - "id": 2232, + "id": 1724, "name": "Identifier", - "src": "41719:3:1" + "src": "42904:3:0" } ], - "id": 2233, + "id": 1725, "name": "IndexAccess", - "src": "41706:17:1" + "src": "42891:17:0" } ], - "id": 2234, + "id": 1726, "name": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "children": [ @@ -60394,9 +60394,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2235, + "id": 1727, "name": "Identifier", - "src": "41733:7:1" + "src": "42919:7:0" }, { "attributes": { @@ -60417,13 +60417,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2236, + "id": 1728, "name": "Identifier", - "src": "41741:8:1" + "src": "42927:8:0" }, { "attributes": { @@ -60436,41 +60436,41 @@ "type": "int_const 0", "value": "0" }, - "id": 2237, + "id": 1729, "name": "Literal", - "src": "41753:1:1" + "src": "42939:1:0" } ], - "id": 2238, + "id": 1730, "name": "BinaryOperation", - "src": "41741:13:1" + "src": "42927:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2223, + "referencedDeclaration": 1715, "type": "string memory", "value": "errorMessage" }, - "id": 2239, + "id": 1731, "name": "Identifier", - "src": "41756:12:1" + "src": "42942:12:0" } ], - "id": 2240, + "id": 1732, "name": "FunctionCall", - "src": "41733:36:1" + "src": "42919:36:0" } ], - "id": 2241, + "id": 1733, "name": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "attributes": { - "functionReturnParameters": 2227 + "functionReturnParameters": 1719 }, "children": [ { @@ -60480,7 +60480,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -60500,7 +60500,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -60509,18 +60509,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2242, + "id": 1734, "name": "Identifier", - "src": "41822:3:1" + "src": "43009:3:0" } ], - "id": 2243, + "id": 1735, "name": "MemberAccess", - "src": "41822:12:1" + "src": "43009:12:0" }, { "attributes": { @@ -60541,13 +60541,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2244, + "id": 1736, "name": "Identifier", - "src": "41835:8:1" + "src": "43022:8:0" }, { "attributes": { @@ -60560,45 +60560,45 @@ "type": "int_const 1", "value": "1" }, - "id": 2245, + "id": 1737, "name": "Literal", - "src": "41846:1:1" + "src": "43033:1:0" } ], - "id": 2246, + "id": 1738, "name": "BinaryOperation", - "src": "41835:12:1" + "src": "43022:12:0" } ], - "id": 2247, + "id": 1739, "name": "IndexAccess", - "src": "41822:26:1" + "src": "43009:26:0" } ], - "id": 2248, + "id": 1740, "name": "MemberAccess", - "src": "41822:33:1" + "src": "43009:33:0" } ], - "id": 2249, + "id": 1741, "name": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ], - "id": 2250, + "id": 1742, "name": "Block", - "src": "41677:212:1" + "src": "42861:216:0" } ], - "id": 2251, + "id": 1743, "name": "FunctionDefinition", - "src": "41574:315:1" + "src": "42758:319:0" }, { "attributes": { "canonicalName": "EnumerableMap.UintToAddressMap", "name": "UintToAddressMap", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -60607,7 +60607,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 2254, + "scope": 1746, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.Map", @@ -60617,22 +60617,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2252, + "id": 1744, "name": "UserDefinedTypeName", - "src": "41954:3:1" + "src": "43147:3:0" } ], - "id": 2253, + "id": 1745, "name": "VariableDeclaration", - "src": "41954:10:1" + "src": "43147:10:0" } ], - "id": 2254, + "id": 1746, "name": "StructDefinition", - "src": "41920:51:1" + "src": "43112:53:0" }, { "attributes": { @@ -60643,7 +60643,7 @@ null ], "name": "set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60653,9 +60653,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2255, + "id": 1747, "name": "StructuredDocumentation", - "src": "41977:216:1" + "src": "43173:222:0" }, { "children": [ @@ -60664,7 +60664,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60674,24 +60674,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2256, + "id": 1748, "name": "UserDefinedTypeName", - "src": "42211:16:1" + "src": "43414:16:0" } ], - "id": 2257, + "id": 1749, "name": "VariableDeclaration", - "src": "42211:28:1" + "src": "43414:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60703,21 +60703,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2258, + "id": 1750, "name": "ElementaryTypeName", - "src": "42241:7:1" + "src": "43444:7:0" } ], - "id": 2259, + "id": 1751, "name": "VariableDeclaration", - "src": "42241:11:1" + "src": "43444:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -60730,19 +60730,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2260, + "id": 1752, "name": "ElementaryTypeName", - "src": "42254:7:1" + "src": "43457:7:0" } ], - "id": 2261, + "id": 1753, "name": "VariableDeclaration", - "src": "42254:13:1" + "src": "43457:13:0" } ], - "id": 2262, + "id": 1754, "name": "ParameterList", - "src": "42210:58:1" + "src": "43413:58:0" }, { "children": [ @@ -60751,7 +60751,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60763,25 +60763,25 @@ "name": "bool", "type": "bool" }, - "id": 2263, + "id": 1755, "name": "ElementaryTypeName", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2264, + "id": 1756, "name": "VariableDeclaration", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2265, + "id": 1757, "name": "ParameterList", - "src": "42286:6:1" + "src": "43489:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2265 + "functionReturnParameters": 1757 }, "children": [ { @@ -60803,7 +60803,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60818,13 +60818,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1998, + "referencedDeclaration": 1490, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)", "value": "_set" }, - "id": 2266, + "id": 1758, "name": "Identifier", - "src": "42310:4:1" + "src": "43514:4:0" }, { "attributes": { @@ -60833,7 +60833,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60842,18 +60842,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2257, + "referencedDeclaration": 1749, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2267, + "id": 1759, "name": "Identifier", - "src": "42315:3:1" + "src": "43519:3:0" } ], - "id": 2268, + "id": 1760, "name": "MemberAccess", - "src": "42315:10:1" + "src": "43519:10:0" }, { "attributes": { @@ -60889,32 +60889,32 @@ "attributes": { "name": "bytes32" }, - "id": 2269, + "id": 1761, "name": "ElementaryTypeName", - "src": "42327:7:1" + "src": "43531:7:0" } ], - "id": 2270, + "id": 1762, "name": "ElementaryTypeNameExpression", - "src": "42327:7:1" + "src": "43531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2259, + "referencedDeclaration": 1751, "type": "uint256", "value": "key" }, - "id": 2271, + "id": 1763, "name": "Identifier", - "src": "42335:3:1" + "src": "43539:3:0" } ], - "id": 2272, + "id": 1764, "name": "FunctionCall", - "src": "42327:12:1" + "src": "43531:12:0" }, { "attributes": { @@ -60950,14 +60950,14 @@ "attributes": { "name": "bytes32" }, - "id": 2273, + "id": 1765, "name": "ElementaryTypeName", - "src": "42341:7:1" + "src": "43545:7:0" } ], - "id": 2274, + "id": 1766, "name": "ElementaryTypeNameExpression", - "src": "42341:7:1" + "src": "43545:7:0" }, { "attributes": { @@ -60993,14 +60993,14 @@ "attributes": { "name": "uint256" }, - "id": 2275, + "id": 1767, "name": "ElementaryTypeName", - "src": "42349:7:1" + "src": "43553:7:0" } ], - "id": 2276, + "id": 1768, "name": "ElementaryTypeNameExpression", - "src": "42349:7:1" + "src": "43553:7:0" }, { "attributes": { @@ -61036,62 +61036,62 @@ "attributes": { "name": "uint160" }, - "id": 2277, + "id": 1769, "name": "ElementaryTypeName", - "src": "42357:7:1" + "src": "43561:7:0" } ], - "id": 2278, + "id": 1770, "name": "ElementaryTypeNameExpression", - "src": "42357:7:1" + "src": "43561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2261, + "referencedDeclaration": 1753, "type": "address", "value": "value" }, - "id": 2279, + "id": 1771, "name": "Identifier", - "src": "42365:5:1" + "src": "43569:5:0" } ], - "id": 2280, + "id": 1772, "name": "FunctionCall", - "src": "42357:14:1" + "src": "43561:14:0" } ], - "id": 2281, + "id": 1773, "name": "FunctionCall", - "src": "42349:23:1" + "src": "43553:23:0" } ], - "id": 2282, + "id": 1774, "name": "FunctionCall", - "src": "42341:32:1" + "src": "43545:32:0" } ], - "id": 2283, + "id": 1775, "name": "FunctionCall", - "src": "42310:64:1" + "src": "43514:64:0" } ], - "id": 2284, + "id": 1776, "name": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ], - "id": 2285, + "id": 1777, "name": "Block", - "src": "42293:88:1" + "src": "43496:90:0" } ], - "id": 2286, + "id": 1778, "name": "FunctionDefinition", - "src": "42198:183:1" + "src": "43401:185:0" }, { "attributes": { @@ -61102,7 +61102,7 @@ null ], "name": "remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -61112,9 +61112,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2287, + "id": 1779, "name": "StructuredDocumentation", - "src": "42387:148:1" + "src": "43594:152:0" }, { "children": [ @@ -61123,7 +61123,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61133,24 +61133,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2288, + "id": 1780, "name": "UserDefinedTypeName", - "src": "42556:16:1" + "src": "43768:16:0" } ], - "id": 2289, + "id": 1781, "name": "VariableDeclaration", - "src": "42556:28:1" + "src": "43768:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61162,19 +61162,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2290, + "id": 1782, "name": "ElementaryTypeName", - "src": "42586:7:1" + "src": "43798:7:0" } ], - "id": 2291, + "id": 1783, "name": "VariableDeclaration", - "src": "42586:11:1" + "src": "43798:11:0" } ], - "id": 2292, + "id": 1784, "name": "ParameterList", - "src": "42555:43:1" + "src": "43767:43:0" }, { "children": [ @@ -61183,7 +61183,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -61195,25 +61195,25 @@ "name": "bool", "type": "bool" }, - "id": 2293, + "id": 1785, "name": "ElementaryTypeName", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2294, + "id": 1786, "name": "VariableDeclaration", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2295, + "id": 1787, "name": "ParameterList", - "src": "42616:6:1" + "src": "43828:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2295 + "functionReturnParameters": 1787 }, "children": [ { @@ -61235,7 +61235,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61246,13 +61246,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2079, + "referencedDeclaration": 1571, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 2296, + "id": 1788, "name": "Identifier", - "src": "42640:7:1" + "src": "43853:7:0" }, { "attributes": { @@ -61261,7 +61261,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61270,18 +61270,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2289, + "referencedDeclaration": 1781, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2297, + "id": 1789, "name": "Identifier", - "src": "42648:3:1" + "src": "43861:3:0" } ], - "id": 2298, + "id": 1790, "name": "MemberAccess", - "src": "42648:10:1" + "src": "43861:10:0" }, { "attributes": { @@ -61317,52 +61317,52 @@ "attributes": { "name": "bytes32" }, - "id": 2299, + "id": 1791, "name": "ElementaryTypeName", - "src": "42660:7:1" + "src": "43873:7:0" } ], - "id": 2300, + "id": 1792, "name": "ElementaryTypeNameExpression", - "src": "42660:7:1" + "src": "43873:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2291, + "referencedDeclaration": 1783, "type": "uint256", "value": "key" }, - "id": 2301, + "id": 1793, "name": "Identifier", - "src": "42668:3:1" + "src": "43881:3:0" } ], - "id": 2302, + "id": 1794, "name": "FunctionCall", - "src": "42660:12:1" + "src": "43873:12:0" } ], - "id": 2303, + "id": 1795, "name": "FunctionCall", - "src": "42640:33:1" + "src": "43853:33:0" } ], - "id": 2304, + "id": 1796, "name": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ], - "id": 2305, + "id": 1797, "name": "Block", - "src": "42623:57:1" + "src": "43835:59:0" } ], - "id": 2306, + "id": 1798, "name": "FunctionDefinition", - "src": "42540:140:1" + "src": "43752:142:0" }, { "attributes": { @@ -61373,7 +61373,7 @@ null ], "name": "contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61383,9 +61383,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2307, + "id": 1799, "name": "StructuredDocumentation", - "src": "42686:68:1" + "src": "43902:70:0" }, { "children": [ @@ -61394,7 +61394,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61404,24 +61404,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2308, + "id": 1800, "name": "UserDefinedTypeName", - "src": "42777:16:1" + "src": "43996:16:0" } ], - "id": 2309, + "id": 1801, "name": "VariableDeclaration", - "src": "42777:28:1" + "src": "43996:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61433,19 +61433,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2310, + "id": 1802, "name": "ElementaryTypeName", - "src": "42807:7:1" + "src": "44026:7:0" } ], - "id": 2311, + "id": 1803, "name": "VariableDeclaration", - "src": "42807:11:1" + "src": "44026:11:0" } ], - "id": 2312, + "id": 1804, "name": "ParameterList", - "src": "42776:43:1" + "src": "43995:43:0" }, { "children": [ @@ -61454,7 +61454,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -61466,25 +61466,25 @@ "name": "bool", "type": "bool" }, - "id": 2313, + "id": 1805, "name": "ElementaryTypeName", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2314, + "id": 1806, "name": "VariableDeclaration", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2315, + "id": 1807, "name": "ParameterList", - "src": "42842:6:1" + "src": "44061:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2315 + "functionReturnParameters": 1807 }, "children": [ { @@ -61506,7 +61506,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61517,13 +61517,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2097, + "referencedDeclaration": 1589, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 2316, + "id": 1808, "name": "Identifier", - "src": "42866:9:1" + "src": "44086:9:0" }, { "attributes": { @@ -61532,7 +61532,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61541,18 +61541,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2309, + "referencedDeclaration": 1801, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2317, + "id": 1809, "name": "Identifier", - "src": "42876:3:1" + "src": "44096:3:0" } ], - "id": 2318, + "id": 1810, "name": "MemberAccess", - "src": "42876:10:1" + "src": "44096:10:0" }, { "attributes": { @@ -61588,52 +61588,52 @@ "attributes": { "name": "bytes32" }, - "id": 2319, + "id": 1811, "name": "ElementaryTypeName", - "src": "42888:7:1" + "src": "44108:7:0" } ], - "id": 2320, + "id": 1812, "name": "ElementaryTypeNameExpression", - "src": "42888:7:1" + "src": "44108:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2311, + "referencedDeclaration": 1803, "type": "uint256", "value": "key" }, - "id": 2321, + "id": 1813, "name": "Identifier", - "src": "42896:3:1" + "src": "44116:3:0" } ], - "id": 2322, + "id": 1814, "name": "FunctionCall", - "src": "42888:12:1" + "src": "44108:12:0" } ], - "id": 2323, + "id": 1815, "name": "FunctionCall", - "src": "42866:35:1" + "src": "44086:35:0" } ], - "id": 2324, + "id": 1816, "name": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ], - "id": 2325, + "id": 1817, "name": "Block", - "src": "42849:59:1" + "src": "44068:61:0" } ], - "id": 2326, + "id": 1818, "name": "FunctionDefinition", - "src": "42759:149:1" + "src": "43978:151:0" }, { "attributes": { @@ -61644,7 +61644,7 @@ null ], "name": "length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61654,9 +61654,9 @@ "attributes": { "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2327, + "id": 1819, "name": "StructuredDocumentation", - "src": "42914:72:1" + "src": "44137:74:0" }, { "children": [ @@ -61665,7 +61665,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61675,22 +61675,22 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2328, + "id": 1820, "name": "UserDefinedTypeName", - "src": "43007:16:1" + "src": "44233:16:0" } ], - "id": 2329, + "id": 1821, "name": "VariableDeclaration", - "src": "43007:28:1" + "src": "44233:28:0" } ], - "id": 2330, + "id": 1822, "name": "ParameterList", - "src": "43006:30:1" + "src": "44232:30:0" }, { "children": [ @@ -61699,7 +61699,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61711,25 +61711,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2331, + "id": 1823, "name": "ElementaryTypeName", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2332, + "id": 1824, "name": "VariableDeclaration", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2333, + "id": 1825, "name": "ParameterList", - "src": "43059:9:1" + "src": "44285:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2333 + "functionReturnParameters": 1825 }, "children": [ { @@ -61751,20 +61751,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 2110, + "referencedDeclaration": 1602, "type": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)", "value": "_length" }, - "id": 2334, + "id": 1826, "name": "Identifier", - "src": "43086:7:1" + "src": "44313:7:0" }, { "attributes": { @@ -61773,7 +61773,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61782,38 +61782,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2329, + "referencedDeclaration": 1821, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2335, + "id": 1827, "name": "Identifier", - "src": "43094:3:1" + "src": "44321:3:0" } ], - "id": 2336, + "id": 1828, "name": "MemberAccess", - "src": "43094:10:1" + "src": "44321:10:0" } ], - "id": 2337, + "id": 1829, "name": "FunctionCall", - "src": "43086:19:1" + "src": "44313:19:0" } ], - "id": 2338, + "id": 1830, "name": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ], - "id": 2339, + "id": 1831, "name": "Block", - "src": "43069:43:1" + "src": "44295:45:0" } ], - "id": 2340, + "id": 1832, "name": "FunctionDefinition", - "src": "42991:121:1" + "src": "44217:123:0" }, { "attributes": { @@ -61824,7 +61824,7 @@ null ], "name": "at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61834,9 +61834,9 @@ "attributes": { "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2341, + "id": 1833, "name": "StructuredDocumentation", - "src": "43117:318:1" + "src": "44347:326:0" }, { "children": [ @@ -61845,7 +61845,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61855,24 +61855,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2342, + "id": 1834, "name": "UserDefinedTypeName", - "src": "43452:16:1" + "src": "44691:16:0" } ], - "id": 2343, + "id": 1835, "name": "VariableDeclaration", - "src": "43452:28:1" + "src": "44691:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61884,19 +61884,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2344, + "id": 1836, "name": "ElementaryTypeName", - "src": "43482:7:1" + "src": "44721:7:0" } ], - "id": 2345, + "id": 1837, "name": "VariableDeclaration", - "src": "43482:13:1" + "src": "44721:13:0" } ], - "id": 2346, + "id": 1838, "name": "ParameterList", - "src": "43451:45:1" + "src": "44690:45:0" }, { "children": [ @@ -61905,7 +61905,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61917,21 +61917,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2347, + "id": 1839, "name": "ElementaryTypeName", - "src": "43520:7:1" + "src": "44759:7:0" } ], - "id": 2348, + "id": 1840, "name": "VariableDeclaration", - "src": "43520:7:1" + "src": "44759:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -61944,27 +61944,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2349, + "id": 1841, "name": "ElementaryTypeName", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2350, + "id": 1842, "name": "VariableDeclaration", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2351, + "id": 1843, "name": "ParameterList", - "src": "43519:18:1" + "src": "44758:18:0" }, { "children": [ { "attributes": { "assignments": [ - 2353, - 2355 + 1845, + 1847 ] }, "children": [ @@ -61973,7 +61973,7 @@ "constant": false, "mutability": "mutable", "name": "key", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61985,21 +61985,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2352, + "id": 1844, "name": "ElementaryTypeName", - "src": "43549:7:1" + "src": "44789:7:0" } ], - "id": 2353, + "id": 1845, "name": "VariableDeclaration", - "src": "43549:11:1" + "src": "44789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -62011,14 +62011,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2354, + "id": 1846, "name": "ElementaryTypeName", - "src": "43562:7:1" + "src": "44802:7:0" } ], - "id": 2355, + "id": 1847, "name": "VariableDeclaration", - "src": "43562:13:1" + "src": "44802:13:0" }, { "attributes": { @@ -62039,7 +62039,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62050,13 +62050,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2145, + "referencedDeclaration": 1637, "type": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)", "value": "_at" }, - "id": 2356, + "id": 1848, "name": "Identifier", - "src": "43579:3:1" + "src": "44819:3:0" }, { "attributes": { @@ -62065,7 +62065,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62074,45 +62074,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2343, + "referencedDeclaration": 1835, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2357, + "id": 1849, "name": "Identifier", - "src": "43583:3:1" + "src": "44823:3:0" } ], - "id": 2358, + "id": 1850, "name": "MemberAccess", - "src": "43583:10:1" + "src": "44823:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2345, + "referencedDeclaration": 1837, "type": "uint256", "value": "index" }, - "id": 2359, + "id": 1851, "name": "Identifier", - "src": "43595:5:1" + "src": "44835:5:0" } ], - "id": 2360, + "id": 1852, "name": "FunctionCall", - "src": "43579:22:1" + "src": "44819:22:0" } ], - "id": 2361, + "id": 1853, "name": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "attributes": { - "functionReturnParameters": 2351 + "functionReturnParameters": 1843 }, "children": [ { @@ -62159,32 +62159,32 @@ "attributes": { "name": "uint256" }, - "id": 2362, + "id": 1854, "name": "ElementaryTypeName", - "src": "43619:7:1" + "src": "44860:7:0" } ], - "id": 2363, + "id": 1855, "name": "ElementaryTypeNameExpression", - "src": "43619:7:1" + "src": "44860:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2353, + "referencedDeclaration": 1845, "type": "bytes32", "value": "key" }, - "id": 2364, + "id": 1856, "name": "Identifier", - "src": "43627:3:1" + "src": "44868:3:0" } ], - "id": 2365, + "id": 1857, "name": "FunctionCall", - "src": "43619:12:1" + "src": "44860:12:0" }, { "attributes": { @@ -62220,14 +62220,14 @@ "attributes": { "name": "address" }, - "id": 2366, + "id": 1858, "name": "ElementaryTypeName", - "src": "43633:7:1" + "src": "44874:7:0" } ], - "id": 2367, + "id": 1859, "name": "ElementaryTypeNameExpression", - "src": "43633:7:1" + "src": "44874:7:0" }, { "attributes": { @@ -62263,14 +62263,14 @@ "attributes": { "name": "uint160" }, - "id": 2368, + "id": 1860, "name": "ElementaryTypeName", - "src": "43641:7:1" + "src": "44882:7:0" } ], - "id": 2369, + "id": 1861, "name": "ElementaryTypeNameExpression", - "src": "43641:7:1" + "src": "44882:7:0" }, { "attributes": { @@ -62306,62 +62306,62 @@ "attributes": { "name": "uint256" }, - "id": 2370, + "id": 1862, "name": "ElementaryTypeName", - "src": "43649:7:1" + "src": "44890:7:0" } ], - "id": 2371, + "id": 1863, "name": "ElementaryTypeNameExpression", - "src": "43649:7:1" + "src": "44890:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2355, + "referencedDeclaration": 1847, "type": "bytes32", "value": "value" }, - "id": 2372, + "id": 1864, "name": "Identifier", - "src": "43657:5:1" + "src": "44898:5:0" } ], - "id": 2373, + "id": 1865, "name": "FunctionCall", - "src": "43649:14:1" + "src": "44890:14:0" } ], - "id": 2374, + "id": 1866, "name": "FunctionCall", - "src": "43641:23:1" + "src": "44882:23:0" } ], - "id": 2375, + "id": 1867, "name": "FunctionCall", - "src": "43633:32:1" + "src": "44874:32:0" } ], - "id": 2376, + "id": 1868, "name": "TupleExpression", - "src": "43618:48:1" + "src": "44859:48:0" } ], - "id": 2377, + "id": 1869, "name": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ], - "id": 2378, + "id": 1870, "name": "Block", - "src": "43538:135:1" + "src": "44777:138:0" } ], - "id": 2379, + "id": 1871, "name": "FunctionDefinition", - "src": "43440:233:1" + "src": "44679:236:0" }, { "attributes": { @@ -62372,7 +62372,7 @@ null ], "name": "tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62382,9 +62382,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2380, + "id": 1872, "name": "StructuredDocumentation", - "src": "43679:169:1" + "src": "44923:174:0" }, { "children": [ @@ -62393,7 +62393,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62403,24 +62403,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2381, + "id": 1873, "name": "UserDefinedTypeName", - "src": "43869:16:1" + "src": "45119:16:0" } ], - "id": 2382, + "id": 1874, "name": "VariableDeclaration", - "src": "43869:28:1" + "src": "45119:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62432,19 +62432,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2383, + "id": 1875, "name": "ElementaryTypeName", - "src": "43899:7:1" + "src": "45149:7:0" } ], - "id": 2384, + "id": 1876, "name": "VariableDeclaration", - "src": "43899:11:1" + "src": "45149:11:0" } ], - "id": 2385, + "id": 1877, "name": "ParameterList", - "src": "43868:43:1" + "src": "45118:43:0" }, { "children": [ @@ -62453,7 +62453,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62465,21 +62465,21 @@ "name": "bool", "type": "bool" }, - "id": 2386, + "id": 1878, "name": "ElementaryTypeName", - "src": "43935:4:1" + "src": "45185:4:0" } ], - "id": 2387, + "id": 1879, "name": "VariableDeclaration", - "src": "43935:4:1" + "src": "45185:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62492,27 +62492,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2388, + "id": 1880, "name": "ElementaryTypeName", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2389, + "id": 1881, "name": "VariableDeclaration", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2390, + "id": 1882, "name": "ParameterList", - "src": "43934:15:1" + "src": "45184:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2392, - 2394 + 1884, + 1886 ] }, "children": [ @@ -62521,7 +62521,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62533,21 +62533,21 @@ "name": "bool", "type": "bool" }, - "id": 2391, + "id": 1883, "name": "ElementaryTypeName", - "src": "43961:4:1" + "src": "45212:4:0" } ], - "id": 2392, + "id": 1884, "name": "VariableDeclaration", - "src": "43961:12:1" + "src": "45212:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -62559,14 +62559,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2393, + "id": 1885, "name": "ElementaryTypeName", - "src": "43975:7:1" + "src": "45226:7:0" } ], - "id": 2394, + "id": 1886, "name": "VariableDeclaration", - "src": "43975:13:1" + "src": "45226:13:0" }, { "attributes": { @@ -62587,7 +62587,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62598,13 +62598,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2183, + "referencedDeclaration": 1675, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)", "value": "_tryGet" }, - "id": 2395, + "id": 1887, "name": "Identifier", - "src": "43992:7:1" + "src": "45243:7:0" }, { "attributes": { @@ -62613,7 +62613,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62622,18 +62622,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2382, + "referencedDeclaration": 1874, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2396, + "id": 1888, "name": "Identifier", - "src": "44000:3:1" + "src": "45251:3:0" } ], - "id": 2397, + "id": 1889, "name": "MemberAccess", - "src": "44000:10:1" + "src": "45251:10:0" }, { "attributes": { @@ -62669,46 +62669,46 @@ "attributes": { "name": "bytes32" }, - "id": 2398, + "id": 1890, "name": "ElementaryTypeName", - "src": "44012:7:1" + "src": "45263:7:0" } ], - "id": 2399, + "id": 1891, "name": "ElementaryTypeNameExpression", - "src": "44012:7:1" + "src": "45263:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2384, + "referencedDeclaration": 1876, "type": "uint256", "value": "key" }, - "id": 2400, + "id": 1892, "name": "Identifier", - "src": "44020:3:1" + "src": "45271:3:0" } ], - "id": 2401, + "id": 1893, "name": "FunctionCall", - "src": "44012:12:1" + "src": "45263:12:0" } ], - "id": 2402, + "id": 1894, "name": "FunctionCall", - "src": "43992:33:1" + "src": "45243:33:0" } ], - "id": 2403, + "id": 1895, "name": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "attributes": { - "functionReturnParameters": 2390 + "functionReturnParameters": 1882 }, "children": [ { @@ -62726,13 +62726,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2392, + "referencedDeclaration": 1884, "type": "bool", "value": "success" }, - "id": 2404, + "id": 1896, "name": "Identifier", - "src": "44043:7:1" + "src": "45295:7:0" }, { "attributes": { @@ -62768,14 +62768,14 @@ "attributes": { "name": "address" }, - "id": 2405, + "id": 1897, "name": "ElementaryTypeName", - "src": "44052:7:1" + "src": "45304:7:0" } ], - "id": 2406, + "id": 1898, "name": "ElementaryTypeNameExpression", - "src": "44052:7:1" + "src": "45304:7:0" }, { "attributes": { @@ -62811,14 +62811,14 @@ "attributes": { "name": "uint160" }, - "id": 2407, + "id": 1899, "name": "ElementaryTypeName", - "src": "44060:7:1" + "src": "45312:7:0" } ], - "id": 2408, + "id": 1900, "name": "ElementaryTypeNameExpression", - "src": "44060:7:1" + "src": "45312:7:0" }, { "attributes": { @@ -62854,62 +62854,62 @@ "attributes": { "name": "uint256" }, - "id": 2409, + "id": 1901, "name": "ElementaryTypeName", - "src": "44068:7:1" + "src": "45320:7:0" } ], - "id": 2410, + "id": 1902, "name": "ElementaryTypeNameExpression", - "src": "44068:7:1" + "src": "45320:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2394, + "referencedDeclaration": 1886, "type": "bytes32", "value": "value" }, - "id": 2411, + "id": 1903, "name": "Identifier", - "src": "44076:5:1" + "src": "45328:5:0" } ], - "id": 2412, + "id": 1904, "name": "FunctionCall", - "src": "44068:14:1" + "src": "45320:14:0" } ], - "id": 2413, + "id": 1905, "name": "FunctionCall", - "src": "44060:23:1" + "src": "45312:23:0" } ], - "id": 2414, + "id": 1906, "name": "FunctionCall", - "src": "44052:32:1" + "src": "45304:32:0" } ], - "id": 2415, + "id": 1907, "name": "TupleExpression", - "src": "44042:43:1" + "src": "45294:43:0" } ], - "id": 2416, + "id": 1908, "name": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ], - "id": 2417, + "id": 1909, "name": "Block", - "src": "43950:142:1" + "src": "45200:145:0" } ], - "id": 2418, + "id": 1910, "name": "FunctionDefinition", - "src": "43853:239:1" + "src": "45103:242:0" }, { "attributes": { @@ -62920,7 +62920,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62930,9 +62930,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2419, + "id": 1911, "name": "StructuredDocumentation", - "src": "44098:141:1" + "src": "45353:147:0" }, { "children": [ @@ -62941,7 +62941,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62951,24 +62951,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2420, + "id": 1912, "name": "UserDefinedTypeName", - "src": "44257:16:1" + "src": "45519:16:0" } ], - "id": 2421, + "id": 1913, "name": "VariableDeclaration", - "src": "44257:28:1" + "src": "45519:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62980,19 +62980,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2422, + "id": 1914, "name": "ElementaryTypeName", - "src": "44287:7:1" + "src": "45549:7:0" } ], - "id": 2423, + "id": 1915, "name": "VariableDeclaration", - "src": "44287:11:1" + "src": "45549:11:0" } ], - "id": 2424, + "id": 1916, "name": "ParameterList", - "src": "44256:43:1" + "src": "45518:43:0" }, { "children": [ @@ -63001,7 +63001,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -63014,25 +63014,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2425, + "id": 1917, "name": "ElementaryTypeName", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2426, + "id": 1918, "name": "VariableDeclaration", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2427, + "id": 1919, "name": "ParameterList", - "src": "44322:9:1" + "src": "45584:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2427 + "functionReturnParameters": 1919 }, "children": [ { @@ -63069,14 +63069,14 @@ "attributes": { "name": "address" }, - "id": 2428, + "id": 1920, "name": "ElementaryTypeName", - "src": "44349:7:1" + "src": "45612:7:0" } ], - "id": 2429, + "id": 1921, "name": "ElementaryTypeNameExpression", - "src": "44349:7:1" + "src": "45612:7:0" }, { "attributes": { @@ -63112,14 +63112,14 @@ "attributes": { "name": "uint160" }, - "id": 2430, + "id": 1922, "name": "ElementaryTypeName", - "src": "44357:7:1" + "src": "45620:7:0" } ], - "id": 2431, + "id": 1923, "name": "ElementaryTypeNameExpression", - "src": "44357:7:1" + "src": "45620:7:0" }, { "attributes": { @@ -63155,14 +63155,14 @@ "attributes": { "name": "uint256" }, - "id": 2432, + "id": 1924, "name": "ElementaryTypeName", - "src": "44365:7:1" + "src": "45628:7:0" } ], - "id": 2433, + "id": 1925, "name": "ElementaryTypeNameExpression", - "src": "44365:7:1" + "src": "45628:7:0" }, { "attributes": { @@ -63183,7 +63183,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -63192,16 +63192,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, + "referencedDeclaration": 1708, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)", "value": "_get" }, - "id": 2434, + "id": 1926, "name": "Identifier", - "src": "44373:4:1" + "src": "45636:4:0" }, { "attributes": { @@ -63210,7 +63210,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -63219,18 +63219,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2421, + "referencedDeclaration": 1913, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2435, + "id": 1927, "name": "Identifier", - "src": "44378:3:1" + "src": "45641:3:0" } ], - "id": 2436, + "id": 1928, "name": "MemberAccess", - "src": "44378:10:1" + "src": "45641:10:0" }, { "attributes": { @@ -63266,67 +63266,67 @@ "attributes": { "name": "bytes32" }, - "id": 2437, + "id": 1929, "name": "ElementaryTypeName", - "src": "44390:7:1" + "src": "45653:7:0" } ], - "id": 2438, + "id": 1930, "name": "ElementaryTypeNameExpression", - "src": "44390:7:1" + "src": "45653:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2423, + "referencedDeclaration": 1915, "type": "uint256", "value": "key" }, - "id": 2439, + "id": 1931, "name": "Identifier", - "src": "44398:3:1" + "src": "45661:3:0" } ], - "id": 2440, + "id": 1932, "name": "FunctionCall", - "src": "44390:12:1" + "src": "45653:12:0" } ], - "id": 2441, + "id": 1933, "name": "FunctionCall", - "src": "44373:30:1" + "src": "45636:30:0" } ], - "id": 2442, + "id": 1934, "name": "FunctionCall", - "src": "44365:39:1" + "src": "45628:39:0" } ], - "id": 2443, + "id": 1935, "name": "FunctionCall", - "src": "44357:48:1" + "src": "45620:48:0" } ], - "id": 2444, + "id": 1936, "name": "FunctionCall", - "src": "44349:57:1" + "src": "45612:57:0" } ], - "id": 2445, + "id": 1937, "name": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ], - "id": 2446, + "id": 1938, "name": "Block", - "src": "44332:81:1" + "src": "45594:83:0" } ], - "id": 2447, + "id": 1939, "name": "FunctionDefinition", - "src": "44244:169:1" + "src": "45506:171:0" }, { "attributes": { @@ -63337,7 +63337,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -63347,9 +63347,9 @@ "attributes": { "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2448, + "id": 1940, "name": "StructuredDocumentation", - "src": "44419:269:1" + "src": "45685:274:0" }, { "children": [ @@ -63358,7 +63358,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -63368,24 +63368,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2449, + "id": 1941, "name": "UserDefinedTypeName", - "src": "44706:16:1" + "src": "45978:16:0" } ], - "id": 2450, + "id": 1942, "name": "VariableDeclaration", - "src": "44706:28:1" + "src": "45978:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63397,21 +63397,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2451, + "id": 1943, "name": "ElementaryTypeName", - "src": "44736:7:1" + "src": "46008:7:0" } ], - "id": 2452, + "id": 1944, "name": "VariableDeclaration", - "src": "44736:11:1" + "src": "46008:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63423,19 +63423,19 @@ "name": "string", "type": "string" }, - "id": 2453, + "id": 1945, "name": "ElementaryTypeName", - "src": "44749:6:1" + "src": "46021:6:0" } ], - "id": 2454, + "id": 1946, "name": "VariableDeclaration", - "src": "44749:26:1" + "src": "46021:26:0" } ], - "id": 2455, + "id": 1947, "name": "ParameterList", - "src": "44705:71:1" + "src": "45977:71:0" }, { "children": [ @@ -63444,7 +63444,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -63457,25 +63457,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2456, + "id": 1948, "name": "ElementaryTypeName", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2457, + "id": 1949, "name": "VariableDeclaration", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2458, + "id": 1950, "name": "ParameterList", - "src": "44799:9:1" + "src": "46071:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2458 + "functionReturnParameters": 1950 }, "children": [ { @@ -63512,14 +63512,14 @@ "attributes": { "name": "address" }, - "id": 2459, + "id": 1951, "name": "ElementaryTypeName", - "src": "44826:7:1" + "src": "46099:7:0" } ], - "id": 2460, + "id": 1952, "name": "ElementaryTypeNameExpression", - "src": "44826:7:1" + "src": "46099:7:0" }, { "attributes": { @@ -63555,14 +63555,14 @@ "attributes": { "name": "uint160" }, - "id": 2461, + "id": 1953, "name": "ElementaryTypeName", - "src": "44834:7:1" + "src": "46107:7:0" } ], - "id": 2462, + "id": 1954, "name": "ElementaryTypeNameExpression", - "src": "44834:7:1" + "src": "46107:7:0" }, { "attributes": { @@ -63598,14 +63598,14 @@ "attributes": { "name": "uint256" }, - "id": 2463, + "id": 1955, "name": "ElementaryTypeName", - "src": "44842:7:1" + "src": "46115:7:0" } ], - "id": 2464, + "id": 1956, "name": "ElementaryTypeNameExpression", - "src": "44842:7:1" + "src": "46115:7:0" }, { "attributes": { @@ -63626,7 +63626,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -63639,16 +63639,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, + "referencedDeclaration": 1743, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)", "value": "_get" }, - "id": 2465, + "id": 1957, "name": "Identifier", - "src": "44850:4:1" + "src": "46123:4:0" }, { "attributes": { @@ -63657,7 +63657,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -63666,18 +63666,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2450, + "referencedDeclaration": 1942, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2466, + "id": 1958, "name": "Identifier", - "src": "44855:3:1" + "src": "46128:3:0" } ], - "id": 2467, + "id": 1959, "name": "MemberAccess", - "src": "44855:10:1" + "src": "46128:10:0" }, { "attributes": { @@ -63713,85 +63713,85 @@ "attributes": { "name": "bytes32" }, - "id": 2468, + "id": 1960, "name": "ElementaryTypeName", - "src": "44867:7:1" + "src": "46140:7:0" } ], - "id": 2469, + "id": 1961, "name": "ElementaryTypeNameExpression", - "src": "44867:7:1" + "src": "46140:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2452, + "referencedDeclaration": 1944, "type": "uint256", "value": "key" }, - "id": 2470, + "id": 1962, "name": "Identifier", - "src": "44875:3:1" + "src": "46148:3:0" } ], - "id": 2471, + "id": 1963, "name": "FunctionCall", - "src": "44867:12:1" + "src": "46140:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2454, + "referencedDeclaration": 1946, "type": "string memory", "value": "errorMessage" }, - "id": 2472, + "id": 1964, "name": "Identifier", - "src": "44881:12:1" + "src": "46154:12:0" } ], - "id": 2473, + "id": 1965, "name": "FunctionCall", - "src": "44850:44:1" + "src": "46123:44:0" } ], - "id": 2474, + "id": 1966, "name": "FunctionCall", - "src": "44842:53:1" + "src": "46115:53:0" } ], - "id": 2475, + "id": 1967, "name": "FunctionCall", - "src": "44834:62:1" + "src": "46107:62:0" } ], - "id": 2476, + "id": 1968, "name": "FunctionCall", - "src": "44826:71:1" + "src": "46099:71:0" } ], - "id": 2477, + "id": 1969, "name": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ], - "id": 2478, + "id": 1970, "name": "Block", - "src": "44809:95:1" + "src": "46081:97:0" } ], - "id": 2479, + "id": 1971, "name": "FunctionDefinition", - "src": "44693:211:1" + "src": "45965:213:0" } ], - "id": 2480, + "id": 1972, "name": "ContractDefinition", - "src": "35943:8963:1" + "src": "36981:9200:0" }, { "attributes": { @@ -63805,9 +63805,9 @@ ".0" ] }, - "id": 2481, + "id": 1973, "name": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "attributes": { @@ -63821,19 +63821,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev String operations." }, - "id": 2482, + "id": 1974, "name": "StructuredDocumentation", - "src": "44992:34:1" + "src": "46272:36:0" }, { "attributes": { @@ -63844,7 +63844,7 @@ null ], "name": "toString", - "scope": 2566, + "scope": 2058, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -63854,9 +63854,9 @@ "attributes": { "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2483, + "id": 1975, "name": "StructuredDocumentation", - "src": "45049:82:1" + "src": "46333:84:0" }, { "children": [ @@ -63865,7 +63865,7 @@ "constant": false, "mutability": "mutable", "name": "value", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63877,19 +63877,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2484, + "id": 1976, "name": "ElementaryTypeName", - "src": "45154:7:1" + "src": "46441:7:0" } ], - "id": 2485, + "id": 1977, "name": "VariableDeclaration", - "src": "45154:13:1" + "src": "46441:13:0" } ], - "id": 2486, + "id": 1978, "name": "ParameterList", - "src": "45153:15:1" + "src": "46440:15:0" }, { "children": [ @@ -63898,7 +63898,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63910,19 +63910,19 @@ "name": "string", "type": "string" }, - "id": 2487, + "id": 1979, "name": "ElementaryTypeName", - "src": "45192:6:1" + "src": "46479:6:0" } ], - "id": 2488, + "id": 1980, "name": "VariableDeclaration", - "src": "45192:13:1" + "src": "46479:13:0" } ], - "id": 2489, + "id": 1981, "name": "ParameterList", - "src": "45191:15:1" + "src": "46478:15:0" }, { "children": [ @@ -63948,13 +63948,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2490, + "id": 1982, "name": "Identifier", - "src": "45409:5:1" + "src": "46700:5:0" }, { "attributes": { @@ -63967,20 +63967,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2491, + "id": 1983, "name": "Literal", - "src": "45418:1:1" + "src": "46709:1:0" } ], - "id": 2492, + "id": 1984, "name": "BinaryOperation", - "src": "45409:10:1" + "src": "46700:10:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -63994,29 +63994,29 @@ "type": "literal_string \"0\"", "value": "0" }, - "id": 2493, + "id": 1985, "name": "Literal", - "src": "45442:3:1" + "src": "46734:3:0" } ], - "id": 2494, + "id": 1986, "name": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ], - "id": 2495, + "id": 1987, "name": "Block", - "src": "45421:35:1" + "src": "46712:37:0" } ], - "id": 2496, + "id": 1988, "name": "IfStatement", - "src": "45405:51:1" + "src": "46696:53:0" }, { "attributes": { "assignments": [ - 2498 + 1990 ] }, "children": [ @@ -64025,7 +64025,7 @@ "constant": false, "mutability": "mutable", "name": "temp", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -64037,37 +64037,37 @@ "name": "uint256", "type": "uint256" }, - "id": 2497, + "id": 1989, "name": "ElementaryTypeName", - "src": "45465:7:1" + "src": "46759:7:0" } ], - "id": 2498, + "id": 1990, "name": "VariableDeclaration", - "src": "45465:12:1" + "src": "46759:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2499, + "id": 1991, "name": "Identifier", - "src": "45480:5:1" + "src": "46774:5:0" } ], - "id": 2500, + "id": 1992, "name": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "attributes": { "assignments": [ - 2502 + 1994 ] }, "children": [ @@ -64076,7 +64076,7 @@ "constant": false, "mutability": "mutable", "name": "digits", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -64088,19 +64088,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2501, + "id": 1993, "name": "ElementaryTypeName", - "src": "45495:7:1" + "src": "46790:7:0" } ], - "id": 2502, + "id": 1994, "name": "VariableDeclaration", - "src": "45495:14:1" + "src": "46790:14:0" } ], - "id": 2503, + "id": 1995, "name": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "children": [ @@ -64123,13 +64123,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2504, + "id": 1996, "name": "Identifier", - "src": "45526:4:1" + "src": "46822:4:0" }, { "attributes": { @@ -64142,14 +64142,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2505, + "id": 1997, "name": "Literal", - "src": "45534:1:1" + "src": "46830:1:0" } ], - "id": 2506, + "id": 1998, "name": "BinaryOperation", - "src": "45526:9:1" + "src": "46822:9:0" }, { "children": [ @@ -64171,23 +64171,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2507, + "id": 1999, "name": "Identifier", - "src": "45551:6:1" + "src": "46848:6:0" } ], - "id": 2508, + "id": 2000, "name": "UnaryOperation", - "src": "45551:8:1" + "src": "46848:8:0" } ], - "id": 2509, + "id": 2001, "name": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "children": [ @@ -64206,13 +64206,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2510, + "id": 2002, "name": "Identifier", - "src": "45573:4:1" + "src": "46871:4:0" }, { "attributes": { @@ -64225,34 +64225,34 @@ "type": "int_const 10", "value": "10" }, - "id": 2511, + "id": 2003, "name": "Literal", - "src": "45581:2:1" + "src": "46879:2:0" } ], - "id": 2512, + "id": 2004, "name": "Assignment", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2513, + "id": 2005, "name": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2514, + "id": 2006, "name": "Block", - "src": "45537:57:1" + "src": "46833:60:0" } ], - "id": 2515, + "id": 2007, "name": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "attributes": { "assignments": [ - 2517 + 2009 ] }, "children": [ @@ -64261,7 +64261,7 @@ "constant": false, "mutability": "mutable", "name": "buffer", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -64273,14 +64273,14 @@ "name": "bytes", "type": "bytes" }, - "id": 2516, + "id": 2008, "name": "ElementaryTypeName", - "src": "45603:5:1" + "src": "46903:5:0" } ], - "id": 2517, + "id": 2009, "name": "VariableDeclaration", - "src": "45603:19:1" + "src": "46903:19:0" }, { "attributes": { @@ -64317,42 +64317,42 @@ "name": "bytes", "type": "bytes" }, - "id": 2518, + "id": 2010, "name": "ElementaryTypeName", - "src": "45629:5:1" + "src": "46929:5:0" } ], - "id": 2519, + "id": 2011, "name": "NewExpression", - "src": "45625:9:1" + "src": "46925:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2520, + "id": 2012, "name": "Identifier", - "src": "45635:6:1" + "src": "46935:6:0" } ], - "id": 2521, + "id": 2013, "name": "FunctionCall", - "src": "45625:17:1" + "src": "46925:17:0" } ], - "id": 2522, + "id": 2014, "name": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "attributes": { "assignments": [ - 2524 + 2016 ] }, "children": [ @@ -64361,7 +64361,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -64373,14 +64373,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2523, + "id": 2015, "name": "ElementaryTypeName", - "src": "45652:7:1" + "src": "46953:7:0" } ], - "id": 2524, + "id": 2016, "name": "VariableDeclaration", - "src": "45652:13:1" + "src": "46953:13:0" }, { "attributes": { @@ -64401,13 +64401,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2525, + "id": 2017, "name": "Identifier", - "src": "45668:6:1" + "src": "46969:6:0" }, { "attributes": { @@ -64420,19 +64420,19 @@ "type": "int_const 1", "value": "1" }, - "id": 2526, + "id": 2018, "name": "Literal", - "src": "45677:1:1" + "src": "46978:1:0" } ], - "id": 2527, + "id": 2019, "name": "BinaryOperation", - "src": "45668:10:1" + "src": "46969:10:0" } ], - "id": 2528, + "id": 2020, "name": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "children": [ @@ -64451,36 +64451,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2529, + "id": 2021, "name": "Identifier", - "src": "45688:4:1" + "src": "46990:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2530, + "id": 2022, "name": "Identifier", - "src": "45695:5:1" + "src": "46997:5:0" } ], - "id": 2531, + "id": 2023, "name": "Assignment", - "src": "45688:12:1" + "src": "46990:12:0" } ], - "id": 2532, + "id": 2024, "name": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "children": [ @@ -64503,13 +64503,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2533, + "id": 2025, "name": "Identifier", - "src": "45717:4:1" + "src": "47020:4:0" }, { "attributes": { @@ -64522,14 +64522,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2534, + "id": 2026, "name": "Literal", - "src": "45725:1:1" + "src": "47028:1:0" } ], - "id": 2535, + "id": 2027, "name": "BinaryOperation", - "src": "45717:9:1" + "src": "47020:9:0" }, { "children": [ @@ -64559,13 +64559,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2536, + "id": 2028, "name": "Identifier", - "src": "45742:6:1" + "src": "47046:6:0" }, { "attributes": { @@ -64583,23 +64583,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2524, + "referencedDeclaration": 2016, "type": "uint256", "value": "index" }, - "id": 2537, + "id": 2029, "name": "Identifier", - "src": "45749:5:1" + "src": "47053:5:0" } ], - "id": 2538, + "id": 2030, "name": "UnaryOperation", - "src": "45749:7:1" + "src": "47053:7:0" } ], - "id": 2539, + "id": 2031, "name": "IndexAccess", - "src": "45742:15:1" + "src": "47046:15:0" }, { "attributes": { @@ -64635,14 +64635,14 @@ "attributes": { "name": "bytes1" }, - "id": 2540, + "id": 2032, "name": "ElementaryTypeName", - "src": "45760:6:1" + "src": "47064:6:0" } ], - "id": 2541, + "id": 2033, "name": "ElementaryTypeNameExpression", - "src": "45760:6:1" + "src": "47064:6:0" }, { "attributes": { @@ -64678,14 +64678,14 @@ "attributes": { "name": "uint8" }, - "id": 2542, + "id": 2034, "name": "ElementaryTypeName", - "src": "45767:5:1" + "src": "47071:5:0" } ], - "id": 2543, + "id": 2035, "name": "ElementaryTypeNameExpression", - "src": "45767:5:1" + "src": "47071:5:0" }, { "attributes": { @@ -64712,9 +64712,9 @@ "type": "int_const 48", "value": "48" }, - "id": 2544, + "id": 2036, "name": "Literal", - "src": "45773:2:1" + "src": "47077:2:0" }, { "attributes": { @@ -64735,13 +64735,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2545, + "id": 2037, "name": "Identifier", - "src": "45778:4:1" + "src": "47082:4:0" }, { "attributes": { @@ -64754,39 +64754,39 @@ "type": "int_const 10", "value": "10" }, - "id": 2546, + "id": 2038, "name": "Literal", - "src": "45785:2:1" + "src": "47089:2:0" } ], - "id": 2547, + "id": 2039, "name": "BinaryOperation", - "src": "45778:9:1" + "src": "47082:9:0" } ], - "id": 2548, + "id": 2040, "name": "BinaryOperation", - "src": "45773:14:1" + "src": "47077:14:0" } ], - "id": 2549, + "id": 2041, "name": "FunctionCall", - "src": "45767:21:1" + "src": "47071:21:0" } ], - "id": 2550, + "id": 2042, "name": "FunctionCall", - "src": "45760:29:1" + "src": "47064:29:0" } ], - "id": 2551, + "id": 2043, "name": "Assignment", - "src": "45742:47:1" + "src": "47046:47:0" } ], - "id": 2552, + "id": 2044, "name": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "children": [ @@ -64805,13 +64805,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2553, + "id": 2045, "name": "Identifier", - "src": "45803:4:1" + "src": "47108:4:0" }, { "attributes": { @@ -64824,33 +64824,33 @@ "type": "int_const 10", "value": "10" }, - "id": 2554, + "id": 2046, "name": "Literal", - "src": "45811:2:1" + "src": "47116:2:0" } ], - "id": 2555, + "id": 2047, "name": "Assignment", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2556, + "id": 2048, "name": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2557, + "id": 2049, "name": "Block", - "src": "45728:96:1" + "src": "47031:99:0" } ], - "id": 2558, + "id": 2050, "name": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -64887,52 +64887,52 @@ "attributes": { "name": "string" }, - "id": 2559, + "id": 2051, "name": "ElementaryTypeName", - "src": "45840:6:1" + "src": "47147:6:0" } ], - "id": 2560, + "id": 2052, "name": "ElementaryTypeNameExpression", - "src": "45840:6:1" + "src": "47147:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2561, + "id": 2053, "name": "Identifier", - "src": "45847:6:1" + "src": "47154:6:0" } ], - "id": 2562, + "id": 2054, "name": "FunctionCall", - "src": "45840:14:1" + "src": "47147:14:0" } ], - "id": 2563, + "id": 2055, "name": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ], - "id": 2564, + "id": 2056, "name": "Block", - "src": "45207:654:1" + "src": "46494:675:0" } ], - "id": 2565, + "id": 2057, "name": "FunctionDefinition", - "src": "45136:725:1" + "src": "46423:746:0" } ], - "id": 2566, + "id": 2058, "name": "ContractDefinition", - "src": "45027:836:1" + "src": "46310:862:0" }, { "attributes": { @@ -64946,43 +64946,43 @@ ".0" ] }, - "id": 2567, + "id": 2059, "name": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, - "id": 2568, + "id": 2060, "name": "StructuredDocumentation", - "src": "45955:124:1" + "src": "47269:127:0" }, { "attributes": {}, @@ -64990,17 +64990,17 @@ { "attributes": { "name": "Context", - "referencedDeclaration": 530, + "referencedDeclaration": 22, "type": "contract Context" }, - "id": 2569, + "id": 2061, "name": "UserDefinedTypeName", - "src": "46099:7:1" + "src": "47417:7:0" } ], - "id": 2570, + "id": 2062, "name": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "attributes": {}, @@ -65008,17 +65008,17 @@ { "attributes": { "name": "ERC165", - "referencedDeclaration": 781, + "referencedDeclaration": 273, "type": "contract ERC165" }, - "id": 2571, + "id": 2063, "name": "UserDefinedTypeName", - "src": "46108:6:1" + "src": "47426:6:0" } ], - "id": 2572, + "id": 2064, "name": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "attributes": {}, @@ -65026,17 +65026,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 2573, + "id": 2065, "name": "UserDefinedTypeName", - "src": "46116:7:1" + "src": "47434:7:0" } ], - "id": 2574, + "id": 2066, "name": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "attributes": {}, @@ -65044,17 +65044,17 @@ { "attributes": { "name": "IERC721Metadata", - "referencedDeclaration": 680, + "referencedDeclaration": 172, "type": "contract IERC721Metadata" }, - "id": 2575, + "id": 2067, "name": "UserDefinedTypeName", - "src": "46125:15:1" + "src": "47443:15:0" } ], - "id": 2576, + "id": 2068, "name": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "attributes": {}, @@ -65062,55 +65062,55 @@ { "attributes": { "name": "IERC721Enumerable", - "referencedDeclaration": 709, + "referencedDeclaration": 201, "type": "contract IERC721Enumerable" }, - "id": 2577, + "id": 2069, "name": "UserDefinedTypeName", - "src": "46142:17:1" + "src": "47460:17:0" } ], - "id": 2578, + "id": 2070, "name": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" }, { "children": [ { "attributes": { "name": "SafeMath", - "referencedDeclaration": 1135, + "referencedDeclaration": 627, "type": "library SafeMath" }, - "id": 2579, + "id": 2071, "name": "UserDefinedTypeName", - "src": "46172:8:1" + "src": "47491:8:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2580, + "id": 2072, "name": "ElementaryTypeName", - "src": "46185:7:1" + "src": "47504:7:0" } ], - "id": 2581, + "id": 2073, "name": "UsingForDirective", - "src": "46166:27:1" + "src": "47485:27:0" }, { "children": [ { "attributes": { "name": "Address", - "referencedDeclaration": 1430, + "referencedDeclaration": 922, "type": "library Address" }, - "id": 2582, + "id": 2074, "name": "UserDefinedTypeName", - "src": "46204:7:1" + "src": "47524:7:0" }, { "attributes": { @@ -65118,101 +65118,101 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2583, + "id": 2075, "name": "ElementaryTypeName", - "src": "46216:7:1" + "src": "47536:7:0" } ], - "id": 2584, + "id": 2076, "name": "UsingForDirective", - "src": "46198:26:1" + "src": "47518:26:0" }, { "children": [ { "attributes": { "name": "EnumerableSet", - "referencedDeclaration": 1921, + "referencedDeclaration": 1413, "type": "library EnumerableSet" }, - "id": 2585, + "id": 2077, "name": "UserDefinedTypeName", - "src": "46235:13:1" + "src": "47556:13:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2586, + "id": 2078, "name": "UserDefinedTypeName", - "src": "46253:21:1" + "src": "47574:21:0" } ], - "id": 2587, + "id": 2079, "name": "UsingForDirective", - "src": "46229:46:1" + "src": "47550:46:0" }, { "children": [ { "attributes": { "name": "EnumerableMap", - "referencedDeclaration": 2480, + "referencedDeclaration": 1972, "type": "library EnumerableMap" }, - "id": 2588, + "id": 2080, "name": "UserDefinedTypeName", - "src": "46286:13:1" + "src": "47608:13:0" }, { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2589, + "id": 2081, "name": "UserDefinedTypeName", - "src": "46304:30:1" + "src": "47626:30:0" } ], - "id": 2590, + "id": 2082, "name": "UsingForDirective", - "src": "46280:55:1" + "src": "47602:55:0" }, { "children": [ { "attributes": { "name": "Strings", - "referencedDeclaration": 2566, + "referencedDeclaration": 2058, "type": "library Strings" }, - "id": 2591, + "id": 2083, "name": "UserDefinedTypeName", - "src": "46346:7:1" + "src": "47669:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2592, + "id": 2084, "name": "ElementaryTypeName", - "src": "46358:7:1" + "src": "47681:7:0" } ], - "id": 2593, + "id": 2085, "name": "UsingForDirective", - "src": "46340:26:1" + "src": "47663:26:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_ERC721_RECEIVED", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65224,9 +65224,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2594, + "id": 2086, "name": "ElementaryTypeName", - "src": "46544:6:1" + "src": "47871:6:0" }, { "attributes": { @@ -65239,21 +65239,21 @@ "type": "int_const 353073666", "value": "0x150b7a02" }, - "id": 2595, + "id": 2087, "name": "Literal", - "src": "46587:10:1" + "src": "47914:10:0" } ], - "id": 2596, + "id": 2088, "name": "VariableDeclaration", - "src": "46544:53:1" + "src": "47871:53:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_holderTokens", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => struct EnumerableSet.UintSet)", @@ -65270,36 +65270,36 @@ "name": "address", "type": "address" }, - "id": 2597, + "id": 2089, "name": "ElementaryTypeName", - "src": "46690:7:1" + "src": "48020:7:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2598, + "id": 2090, "name": "UserDefinedTypeName", - "src": "46701:21:1" + "src": "48031:21:0" } ], - "id": 2599, + "id": 2091, "name": "Mapping", - "src": "46681:42:1" + "src": "48011:42:0" } ], - "id": 2600, + "id": 2092, "name": "VariableDeclaration", - "src": "46681:64:1" + "src": "48011:64:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenOwners", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "struct EnumerableMap.UintToAddressMap", @@ -65309,24 +65309,24 @@ { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2601, + "id": 2093, "name": "UserDefinedTypeName", - "src": "46809:30:1" + "src": "48142:30:0" } ], - "id": 2602, + "id": 2094, "name": "VariableDeclaration", - "src": "46809:51:1" + "src": "48142:51:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => address)", @@ -65343,9 +65343,9 @@ "name": "uint256", "type": "uint256" }, - "id": 2603, + "id": 2095, "name": "ElementaryTypeName", - "src": "46925:7:1" + "src": "48261:7:0" }, { "attributes": { @@ -65353,26 +65353,26 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2604, + "id": 2096, "name": "ElementaryTypeName", - "src": "46936:7:1" + "src": "48272:7:0" } ], - "id": 2605, + "id": 2097, "name": "Mapping", - "src": "46916:28:1" + "src": "48252:28:0" } ], - "id": 2606, + "id": 2098, "name": "VariableDeclaration", - "src": "46916:52:1" + "src": "48252:52:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_operatorApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => mapping(address => bool))", @@ -65389,9 +65389,9 @@ "name": "address", "type": "address" }, - "id": 2607, + "id": 2099, "name": "ElementaryTypeName", - "src": "47032:7:1" + "src": "48371:7:0" }, { "attributes": { @@ -65403,40 +65403,40 @@ "name": "address", "type": "address" }, - "id": 2608, + "id": 2100, "name": "ElementaryTypeName", - "src": "47052:7:1" + "src": "48391:7:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 2609, + "id": 2101, "name": "ElementaryTypeName", - "src": "47063:4:1" + "src": "48402:4:0" } ], - "id": 2610, + "id": 2102, "name": "Mapping", - "src": "47043:25:1" + "src": "48382:25:0" } ], - "id": 2611, + "id": 2103, "name": "Mapping", - "src": "47023:46:1" + "src": "48362:46:0" } ], - "id": 2612, + "id": 2104, "name": "VariableDeclaration", - "src": "47023:73:1" + "src": "48362:73:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_name", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65448,21 +65448,21 @@ "name": "string", "type": "string" }, - "id": 2613, + "id": 2105, "name": "ElementaryTypeName", - "src": "47121:6:1" + "src": "48463:6:0" } ], - "id": 2614, + "id": 2106, "name": "VariableDeclaration", - "src": "47121:20:1" + "src": "48463:20:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_symbol", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65474,21 +65474,21 @@ "name": "string", "type": "string" }, - "id": 2615, + "id": 2107, "name": "ElementaryTypeName", - "src": "47168:6:1" + "src": "48513:6:0" } ], - "id": 2616, + "id": 2108, "name": "VariableDeclaration", - "src": "47168:22:1" + "src": "48513:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURIs", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => string)", @@ -65505,35 +65505,35 @@ "name": "uint256", "type": "uint256" }, - "id": 2617, + "id": 2109, "name": "ElementaryTypeName", - "src": "47245:7:1" + "src": "48593:7:0" }, { "attributes": { "name": "string", "type": "string" }, - "id": 2618, + "id": 2110, "name": "ElementaryTypeName", - "src": "47256:6:1" + "src": "48604:6:0" } ], - "id": 2619, + "id": 2111, "name": "Mapping", - "src": "47236:27:1" + "src": "48584:27:0" } ], - "id": 2620, + "id": 2112, "name": "VariableDeclaration", - "src": "47236:46:1" + "src": "48584:46:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_baseURI", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65545,21 +65545,21 @@ "name": "string", "type": "string" }, - "id": 2621, + "id": 2113, "name": "ElementaryTypeName", - "src": "47305:6:1" + "src": "48656:6:0" } ], - "id": 2622, + "id": 2114, "name": "VariableDeclaration", - "src": "47305:23:1" + "src": "48656:23:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65571,9 +65571,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2623, + "id": 2115, "name": "ElementaryTypeName", - "src": "48204:6:1" + "src": "49571:6:0" }, { "attributes": { @@ -65586,21 +65586,21 @@ "type": "int_const 2158778573", "value": "0x80ac58cd" }, - "id": 2624, + "id": 2116, "name": "Literal", - "src": "48251:10:1" + "src": "49618:10:0" } ], - "id": 2625, + "id": 2117, "name": "VariableDeclaration", - "src": "48204:57:1" + "src": "49571:57:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65612,9 +65612,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2626, + "id": 2118, "name": "ElementaryTypeName", - "src": "48527:6:1" + "src": "49903:6:0" }, { "attributes": { @@ -65627,21 +65627,21 @@ "type": "int_const 1532892063", "value": "0x5b5e139f" }, - "id": 2627, + "id": 2119, "name": "Literal", - "src": "48583:10:1" + "src": "49959:10:0" } ], - "id": 2628, + "id": 2120, "name": "VariableDeclaration", - "src": "48527:66:1" + "src": "49903:66:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65653,9 +65653,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2629, + "id": 2121, "name": "ElementaryTypeName", - "src": "48898:6:1" + "src": "50283:6:0" }, { "attributes": { @@ -65668,14 +65668,14 @@ "type": "int_const 2014223715", "value": "0x780e9d63" }, - "id": 2630, + "id": 2122, "name": "Literal", - "src": "48956:10:1" + "src": "50341:10:0" } ], - "id": 2631, + "id": 2123, "name": "VariableDeclaration", - "src": "48898:68:1" + "src": "50283:68:0" }, { "attributes": { @@ -65686,7 +65686,7 @@ null ], "name": "", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -65696,9 +65696,9 @@ "attributes": { "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2632, + "id": 2124, "name": "StructuredDocumentation", - "src": "48973:108:1" + "src": "50360:110:0" }, { "children": [ @@ -65707,7 +65707,7 @@ "constant": false, "mutability": "mutable", "name": "name_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65719,21 +65719,21 @@ "name": "string", "type": "string" }, - "id": 2633, + "id": 2125, "name": "ElementaryTypeName", - "src": "49099:6:1" + "src": "50489:6:0" } ], - "id": 2634, + "id": 2126, "name": "VariableDeclaration", - "src": "49099:19:1" + "src": "50489:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "symbol_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65745,19 +65745,19 @@ "name": "string", "type": "string" }, - "id": 2635, + "id": 2127, "name": "ElementaryTypeName", - "src": "49120:6:1" + "src": "50510:6:0" } ], - "id": 2636, + "id": 2128, "name": "VariableDeclaration", - "src": "49120:21:1" + "src": "50510:21:0" } ], - "id": 2637, + "id": 2129, "name": "ParameterList", - "src": "49098:44:1" + "src": "50488:44:0" }, { "attributes": { @@ -65766,9 +65766,9 @@ ] }, "children": [], - "id": 2638, + "id": 2130, "name": "ParameterList", - "src": "49143:0:1" + "src": "50533:0:0" }, { "children": [ @@ -65789,36 +65789,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2639, + "id": 2131, "name": "Identifier", - "src": "49153:5:1" + "src": "50544:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2634, + "referencedDeclaration": 2126, "type": "string memory", "value": "name_" }, - "id": 2640, + "id": 2132, "name": "Identifier", - "src": "49161:5:1" + "src": "50552:5:0" } ], - "id": 2641, + "id": 2133, "name": "Assignment", - "src": "49153:13:1" + "src": "50544:13:0" } ], - "id": 2642, + "id": 2134, "name": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "children": [ @@ -65837,36 +65837,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2643, + "id": 2135, "name": "Identifier", - "src": "49176:7:1" + "src": "50568:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2636, + "referencedDeclaration": 2128, "type": "string memory", "value": "symbol_" }, - "id": 2644, + "id": 2136, "name": "Identifier", - "src": "49186:7:1" + "src": "50578:7:0" } ], - "id": 2645, + "id": 2137, "name": "Assignment", - "src": "49176:17:1" + "src": "50568:17:0" } ], - "id": 2646, + "id": 2138, "name": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "children": [ @@ -65896,36 +65896,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2647, + "id": 2139, "name": "Identifier", - "src": "49281:18:1" + "src": "50676:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2625, + "referencedDeclaration": 2117, "type": "bytes4", "value": "_INTERFACE_ID_ERC721" }, - "id": 2648, + "id": 2140, "name": "Identifier", - "src": "49300:20:1" + "src": "50695:20:0" } ], - "id": 2649, + "id": 2141, "name": "FunctionCall", - "src": "49281:40:1" + "src": "50676:40:0" } ], - "id": 2650, + "id": 2142, "name": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "children": [ @@ -65955,36 +65955,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2651, + "id": 2143, "name": "Identifier", - "src": "49331:18:1" + "src": "50727:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2628, + "referencedDeclaration": 2120, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_METADATA" }, - "id": 2652, + "id": 2144, "name": "Identifier", - "src": "49350:29:1" + "src": "50746:29:0" } ], - "id": 2653, + "id": 2145, "name": "FunctionCall", - "src": "49331:49:1" + "src": "50727:49:0" } ], - "id": 2654, + "id": 2146, "name": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "children": [ @@ -66014,51 +66014,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2655, + "id": 2147, "name": "Identifier", - "src": "49390:18:1" + "src": "50787:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2631, + "referencedDeclaration": 2123, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_ENUMERABLE" }, - "id": 2656, + "id": 2148, "name": "Identifier", - "src": "49409:31:1" + "src": "50806:31:0" } ], - "id": 2657, + "id": 2149, "name": "FunctionCall", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2658, + "id": 2150, "name": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2659, + "id": 2151, "name": "Block", - "src": "49143:305:1" + "src": "50533:313:0" } ], - "id": 2660, + "id": 2152, "name": "FunctionDefinition", - "src": "49086:362:1" + "src": "50476:370:0" }, { "attributes": { "baseFunctions": [ - 580 + 72 ], "functionSelector": "70a08231", "implemented": true, @@ -66068,7 +66068,7 @@ null ], "name": "balanceOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66078,9 +66078,9 @@ "attributes": { "text": " @dev See {IERC721-balanceOf}." }, - "id": 2661, + "id": 2153, "name": "StructuredDocumentation", - "src": "49454:48:1" + "src": "50854:50:0" }, { "attributes": { @@ -66088,9 +66088,9 @@ null ] }, - "id": 2665, + "id": 2157, "name": "OverrideSpecifier", - "src": "49561:8:1" + "src": "50964:8:0" }, { "children": [ @@ -66099,7 +66099,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -66112,19 +66112,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2662, + "id": 2154, "name": "ElementaryTypeName", - "src": "49526:7:1" + "src": "50929:7:0" } ], - "id": 2663, + "id": 2155, "name": "VariableDeclaration", - "src": "49526:13:1" + "src": "50929:13:0" } ], - "id": 2664, + "id": 2156, "name": "ParameterList", - "src": "49525:15:1" + "src": "50928:15:0" }, { "children": [ @@ -66133,7 +66133,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66145,19 +66145,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2666, + "id": 2158, "name": "ElementaryTypeName", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2667, + "id": 2159, "name": "VariableDeclaration", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2668, + "id": 2160, "name": "ParameterList", - "src": "49578:9:1" + "src": "50981:9:0" }, { "children": [ @@ -66198,9 +66198,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2669, + "id": 2161, "name": "Identifier", - "src": "49598:7:1" + "src": "51002:7:0" }, { "attributes": { @@ -66221,13 +66221,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2670, + "id": 2162, "name": "Identifier", - "src": "49606:5:1" + "src": "51010:5:0" }, { "attributes": { @@ -66263,14 +66263,14 @@ "attributes": { "name": "address" }, - "id": 2671, + "id": 2163, "name": "ElementaryTypeName", - "src": "49615:7:1" + "src": "51019:7:0" } ], - "id": 2672, + "id": 2164, "name": "ElementaryTypeNameExpression", - "src": "49615:7:1" + "src": "51019:7:0" }, { "attributes": { @@ -66283,19 +66283,19 @@ "type": "int_const 0", "value": "0" }, - "id": 2673, + "id": 2165, "name": "Literal", - "src": "49623:1:1" + "src": "51027:1:0" } ], - "id": 2674, + "id": 2166, "name": "FunctionCall", - "src": "49615:10:1" + "src": "51019:10:0" } ], - "id": 2675, + "id": 2167, "name": "BinaryOperation", - "src": "49606:19:1" + "src": "51010:19:0" }, { "attributes": { @@ -66308,23 +66308,23 @@ "type": "literal_string \"ERC721: balance query for the zero address\"", "value": "ERC721: balance query for the zero address" }, - "id": 2676, + "id": 2168, "name": "Literal", - "src": "49627:44:1" + "src": "51031:44:0" } ], - "id": 2677, + "id": 2169, "name": "FunctionCall", - "src": "49598:74:1" + "src": "51002:74:0" } ], - "id": 2678, + "id": 2170, "name": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "attributes": { - "functionReturnParameters": 2668 + "functionReturnParameters": 2160 }, "children": [ { @@ -66355,7 +66355,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 1900, + "referencedDeclaration": 1392, "type": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" }, "children": [ @@ -66373,61 +66373,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2679, + "id": 2171, "name": "Identifier", - "src": "49689:13:1" + "src": "51094:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2680, + "id": 2172, "name": "Identifier", - "src": "49703:5:1" + "src": "51108:5:0" } ], - "id": 2681, + "id": 2173, "name": "IndexAccess", - "src": "49689:20:1" + "src": "51094:20:0" } ], - "id": 2682, + "id": 2174, "name": "MemberAccess", - "src": "49689:27:1" + "src": "51094:27:0" } ], - "id": 2683, + "id": 2175, "name": "FunctionCall", - "src": "49689:29:1" + "src": "51094:29:0" } ], - "id": 2684, + "id": 2176, "name": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ], - "id": 2685, + "id": 2177, "name": "Block", - "src": "49588:137:1" + "src": "50991:140:0" } ], - "id": 2686, + "id": 2178, "name": "FunctionDefinition", - "src": "49507:218:1" + "src": "50910:221:0" }, { "attributes": { "baseFunctions": [ - 588 + 80 ], "functionSelector": "6352211e", "implemented": true, @@ -66437,7 +66437,7 @@ null ], "name": "ownerOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66447,9 +66447,9 @@ "attributes": { "text": " @dev See {IERC721-ownerOf}." }, - "id": 2687, + "id": 2179, "name": "StructuredDocumentation", - "src": "49731:46:1" + "src": "51139:48:0" }, { "attributes": { @@ -66457,9 +66457,9 @@ null ] }, - "id": 2691, + "id": 2183, "name": "OverrideSpecifier", - "src": "49836:8:1" + "src": "51247:8:0" }, { "children": [ @@ -66468,7 +66468,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66480,19 +66480,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2688, + "id": 2180, "name": "ElementaryTypeName", - "src": "49799:7:1" + "src": "51210:7:0" } ], - "id": 2689, + "id": 2181, "name": "VariableDeclaration", - "src": "49799:15:1" + "src": "51210:15:0" } ], - "id": 2690, + "id": 2182, "name": "ParameterList", - "src": "49798:17:1" + "src": "51209:17:0" }, { "children": [ @@ -66501,7 +66501,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -66514,25 +66514,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2692, + "id": 2184, "name": "ElementaryTypeName", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2693, + "id": 2185, "name": "VariableDeclaration", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2694, + "id": 2186, "name": "ParameterList", - "src": "49853:9:1" + "src": "51264:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2694 + "functionReturnParameters": 2186 }, "children": [ { @@ -66567,7 +66567,7 @@ "isPure": false, "lValueRequested": false, "member_name": "get", - "referencedDeclaration": 2479, + "referencedDeclaration": 1971, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" }, "children": [ @@ -66576,31 +66576,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2695, + "id": 2187, "name": "Identifier", - "src": "49880:12:1" + "src": "51292:12:0" } ], - "id": 2696, + "id": 2188, "name": "MemberAccess", - "src": "49880:16:1" + "src": "51292:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2689, + "referencedDeclaration": 2181, "type": "uint256", "value": "tokenId" }, - "id": 2697, + "id": 2189, "name": "Identifier", - "src": "49897:7:1" + "src": "51309:7:0" }, { "attributes": { @@ -66613,34 +66613,34 @@ "type": "literal_string \"ERC721: owner query for nonexistent token\"", "value": "ERC721: owner query for nonexistent token" }, - "id": 2698, + "id": 2190, "name": "Literal", - "src": "49906:43:1" + "src": "51318:43:0" } ], - "id": 2699, + "id": 2191, "name": "FunctionCall", - "src": "49880:70:1" + "src": "51292:70:0" } ], - "id": 2700, + "id": 2192, "name": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ], - "id": 2701, + "id": 2193, "name": "Block", - "src": "49863:94:1" + "src": "51274:96:0" } ], - "id": 2702, + "id": 2194, "name": "FunctionDefinition", - "src": "49782:175:1" + "src": "51193:177:0" }, { "attributes": { "baseFunctions": [ - 665 + 157 ], "functionSelector": "06fdde03", "implemented": true, @@ -66650,7 +66650,7 @@ null ], "name": "name", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66660,9 +66660,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-name}." }, - "id": 2703, + "id": 2195, "name": "StructuredDocumentation", - "src": "49963:51:1" + "src": "51378:53:0" }, { "attributes": { @@ -66670,9 +66670,9 @@ null ] }, - "id": 2705, + "id": 2197, "name": "OverrideSpecifier", - "src": "50055:8:1" + "src": "51473:8:0" }, { "attributes": { @@ -66681,9 +66681,9 @@ ] }, "children": [], - "id": 2704, + "id": 2196, "name": "ParameterList", - "src": "50032:2:1" + "src": "51450:2:0" }, { "children": [ @@ -66692,7 +66692,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2712, + "scope": 2204, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66704,25 +66704,25 @@ "name": "string", "type": "string" }, - "id": 2706, + "id": 2198, "name": "ElementaryTypeName", - "src": "50073:6:1" + "src": "51491:6:0" } ], - "id": 2707, + "id": 2199, "name": "VariableDeclaration", - "src": "50073:13:1" + "src": "51491:13:0" } ], - "id": 2708, + "id": 2200, "name": "ParameterList", - "src": "50072:15:1" + "src": "51490:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2708 + "functionReturnParameters": 2200 }, "children": [ { @@ -66730,33 +66730,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2709, + "id": 2201, "name": "Identifier", - "src": "50105:5:1" + "src": "51524:5:0" } ], - "id": 2710, + "id": 2202, "name": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ], - "id": 2711, + "id": 2203, "name": "Block", - "src": "50088:29:1" + "src": "51506:31:0" } ], - "id": 2712, + "id": 2204, "name": "FunctionDefinition", - "src": "50019:98:1" + "src": "51437:100:0" }, { "attributes": { "baseFunctions": [ - 671 + 163 ], "functionSelector": "95d89b41", "implemented": true, @@ -66766,7 +66766,7 @@ null ], "name": "symbol", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66776,9 +66776,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-symbol}." }, - "id": 2713, + "id": 2205, "name": "StructuredDocumentation", - "src": "50123:53:1" + "src": "51545:55:0" }, { "attributes": { @@ -66786,9 +66786,9 @@ null ] }, - "id": 2715, + "id": 2207, "name": "OverrideSpecifier", - "src": "50219:8:1" + "src": "51644:8:0" }, { "attributes": { @@ -66797,9 +66797,9 @@ ] }, "children": [], - "id": 2714, + "id": 2206, "name": "ParameterList", - "src": "50196:2:1" + "src": "51621:2:0" }, { "children": [ @@ -66808,7 +66808,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2722, + "scope": 2214, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66820,25 +66820,25 @@ "name": "string", "type": "string" }, - "id": 2716, + "id": 2208, "name": "ElementaryTypeName", - "src": "50237:6:1" + "src": "51662:6:0" } ], - "id": 2717, + "id": 2209, "name": "VariableDeclaration", - "src": "50237:13:1" + "src": "51662:13:0" } ], - "id": 2718, + "id": 2210, "name": "ParameterList", - "src": "50236:15:1" + "src": "51661:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2718 + "functionReturnParameters": 2210 }, "children": [ { @@ -66846,33 +66846,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2719, + "id": 2211, "name": "Identifier", - "src": "50269:7:1" + "src": "51695:7:0" } ], - "id": 2720, + "id": 2212, "name": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ], - "id": 2721, + "id": 2213, "name": "Block", - "src": "50252:31:1" + "src": "51677:33:0" } ], - "id": 2722, + "id": 2214, "name": "FunctionDefinition", - "src": "50181:102:1" + "src": "51606:104:0" }, { "attributes": { "baseFunctions": [ - 679 + 171 ], "functionSelector": "c87b56dd", "implemented": true, @@ -66882,7 +66882,7 @@ null ], "name": "tokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66892,9 +66892,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-tokenURI}." }, - "id": 2723, + "id": 2215, "name": "StructuredDocumentation", - "src": "50289:55:1" + "src": "51718:57:0" }, { "attributes": { @@ -66902,9 +66902,9 @@ null ] }, - "id": 2727, + "id": 2219, "name": "OverrideSpecifier", - "src": "50404:8:1" + "src": "51836:8:0" }, { "children": [ @@ -66913,7 +66913,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66925,19 +66925,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2724, + "id": 2216, "name": "ElementaryTypeName", - "src": "50367:7:1" + "src": "51799:7:0" } ], - "id": 2725, + "id": 2217, "name": "VariableDeclaration", - "src": "50367:15:1" + "src": "51799:15:0" } ], - "id": 2726, + "id": 2218, "name": "ParameterList", - "src": "50366:17:1" + "src": "51798:17:0" }, { "children": [ @@ -66946,7 +66946,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66958,19 +66958,19 @@ "name": "string", "type": "string" }, - "id": 2728, + "id": 2220, "name": "ElementaryTypeName", - "src": "50422:6:1" + "src": "51854:6:0" } ], - "id": 2729, + "id": 2221, "name": "VariableDeclaration", - "src": "50422:13:1" + "src": "51854:13:0" } ], - "id": 2730, + "id": 2222, "name": "ParameterList", - "src": "50421:15:1" + "src": "51853:15:0" }, { "children": [ @@ -67011,9 +67011,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2731, + "id": 2223, "name": "Identifier", - "src": "50447:7:1" + "src": "51880:7:0" }, { "attributes": { @@ -67041,31 +67041,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2732, + "id": 2224, "name": "Identifier", - "src": "50455:7:1" + "src": "51888:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2733, + "id": 2225, "name": "Identifier", - "src": "50463:7:1" + "src": "51896:7:0" } ], - "id": 2734, + "id": 2226, "name": "FunctionCall", - "src": "50455:16:1" + "src": "51888:16:0" }, { "attributes": { @@ -67078,24 +67078,24 @@ "type": "literal_string \"ERC721Metadata: URI query for nonexistent token\"", "value": "ERC721Metadata: URI query for nonexistent token" }, - "id": 2735, + "id": 2227, "name": "Literal", - "src": "50473:49:1" + "src": "51906:49:0" } ], - "id": 2736, + "id": 2228, "name": "FunctionCall", - "src": "50447:76:1" + "src": "51880:76:0" } ], - "id": 2737, + "id": 2229, "name": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "attributes": { "assignments": [ - 2739 + 2231 ] }, "children": [ @@ -67104,7 +67104,7 @@ "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -67116,14 +67116,14 @@ "name": "string", "type": "string" }, - "id": 2738, + "id": 2230, "name": "ElementaryTypeName", - "src": "50534:6:1" + "src": "51969:6:0" } ], - "id": 2739, + "id": 2231, "name": "VariableDeclaration", - "src": "50534:23:1" + "src": "51969:23:0" }, { "attributes": { @@ -67139,41 +67139,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 2740, + "id": 2232, "name": "Identifier", - "src": "50560:10:1" + "src": "51995:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2741, + "id": 2233, "name": "Identifier", - "src": "50571:7:1" + "src": "52006:7:0" } ], - "id": 2742, + "id": 2234, "name": "IndexAccess", - "src": "50560:19:1" + "src": "51995:19:0" } ], - "id": 2743, + "id": 2235, "name": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "attributes": { "assignments": [ - 2745 + 2237 ] }, "children": [ @@ -67182,7 +67182,7 @@ "constant": false, "mutability": "mutable", "name": "base", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -67194,14 +67194,14 @@ "name": "string", "type": "string" }, - "id": 2744, + "id": 2236, "name": "ElementaryTypeName", - "src": "50589:6:1" + "src": "52025:6:0" } ], - "id": 2745, + "id": 2237, "name": "VariableDeclaration", - "src": "50589:18:1" + "src": "52025:18:0" }, { "attributes": { @@ -67229,23 +67229,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2799, + "referencedDeclaration": 2291, "type": "function () view returns (string memory)", "value": "baseURI" }, - "id": 2746, + "id": 2238, "name": "Identifier", - "src": "50610:7:1" + "src": "52046:7:0" } ], - "id": 2747, + "id": 2239, "name": "FunctionCall", - "src": "50610:9:1" + "src": "52046:9:0" } ], - "id": 2748, + "id": 2240, "name": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "attributes": {}, @@ -67308,37 +67308,37 @@ "attributes": { "name": "bytes" }, - "id": 2749, + "id": 2241, "name": "ElementaryTypeName", - "src": "50692:5:1" + "src": "52131:5:0" } ], - "id": 2750, + "id": 2242, "name": "ElementaryTypeNameExpression", - "src": "50692:5:1" + "src": "52131:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2751, + "id": 2243, "name": "Identifier", - "src": "50698:4:1" + "src": "52137:4:0" } ], - "id": 2752, + "id": 2244, "name": "FunctionCall", - "src": "50692:11:1" + "src": "52131:11:0" } ], - "id": 2753, + "id": 2245, "name": "MemberAccess", - "src": "50692:18:1" + "src": "52131:18:0" }, { "attributes": { @@ -67351,20 +67351,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2754, + "id": 2246, "name": "Literal", - "src": "50714:1:1" + "src": "52153:1:0" } ], - "id": 2755, + "id": 2247, "name": "BinaryOperation", - "src": "50692:23:1" + "src": "52131:23:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67372,28 +67372,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2756, + "id": 2248, "name": "Identifier", - "src": "50738:9:1" + "src": "52178:9:0" } ], - "id": 2757, + "id": 2249, "name": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ], - "id": 2758, + "id": 2250, "name": "Block", - "src": "50717:41:1" + "src": "52156:43:0" } ], - "id": 2759, + "id": 2251, "name": "IfStatement", - "src": "50688:70:1" + "src": "52127:72:0" }, { "attributes": {}, @@ -67456,37 +67456,37 @@ "attributes": { "name": "bytes" }, - "id": 2760, + "id": 2252, "name": "ElementaryTypeName", - "src": "50860:5:1" + "src": "52303:5:0" } ], - "id": 2761, + "id": 2253, "name": "ElementaryTypeNameExpression", - "src": "50860:5:1" + "src": "52303:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2762, + "id": 2254, "name": "Identifier", - "src": "50866:9:1" + "src": "52309:9:0" } ], - "id": 2763, + "id": 2255, "name": "FunctionCall", - "src": "50860:16:1" + "src": "52303:16:0" } ], - "id": 2764, + "id": 2256, "name": "MemberAccess", - "src": "50860:23:1" + "src": "52303:23:0" }, { "attributes": { @@ -67499,20 +67499,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2765, + "id": 2257, "name": "Literal", - "src": "50886:1:1" + "src": "52329:1:0" } ], - "id": 2766, + "id": 2258, "name": "BinaryOperation", - "src": "50860:27:1" + "src": "52303:27:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67549,14 +67549,14 @@ "attributes": { "name": "string" }, - "id": 2767, + "id": 2259, "name": "ElementaryTypeName", - "src": "50910:6:1" + "src": "52354:6:0" } ], - "id": 2768, + "id": 2260, "name": "ElementaryTypeNameExpression", - "src": "50910:6:1" + "src": "52354:6:0" }, { "attributes": { @@ -67602,69 +67602,69 @@ "type": "abi", "value": "abi" }, - "id": 2769, + "id": 2261, "name": "Identifier", - "src": "50917:3:1" + "src": "52361:3:0" } ], - "id": 2770, + "id": 2262, "name": "MemberAccess", - "src": "50917:16:1" + "src": "52361:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2771, + "id": 2263, "name": "Identifier", - "src": "50934:4:1" + "src": "52378:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2772, + "id": 2264, "name": "Identifier", - "src": "50940:9:1" + "src": "52384:9:0" } ], - "id": 2773, + "id": 2265, "name": "FunctionCall", - "src": "50917:33:1" + "src": "52361:33:0" } ], - "id": 2774, + "id": 2266, "name": "FunctionCall", - "src": "50910:41:1" + "src": "52354:41:0" } ], - "id": 2775, + "id": 2267, "name": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ], - "id": 2776, + "id": 2268, "name": "Block", - "src": "50889:73:1" + "src": "52332:75:0" } ], - "id": 2777, + "id": 2269, "name": "IfStatement", - "src": "50856:106:1" + "src": "52299:108:0" }, { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67701,14 +67701,14 @@ "attributes": { "name": "string" }, - "id": 2778, + "id": 2270, "name": "ElementaryTypeName", - "src": "51068:6:1" + "src": "52515:6:0" } ], - "id": 2779, + "id": 2271, "name": "ElementaryTypeNameExpression", - "src": "51068:6:1" + "src": "52515:6:0" }, { "attributes": { @@ -67754,27 +67754,27 @@ "type": "abi", "value": "abi" }, - "id": 2780, + "id": 2272, "name": "Identifier", - "src": "51075:3:1" + "src": "52522:3:0" } ], - "id": 2781, + "id": 2273, "name": "MemberAccess", - "src": "51075:16:1" + "src": "52522:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2782, + "id": 2274, "name": "Identifier", - "src": "51092:4:1" + "src": "52539:4:0" }, { "attributes": { @@ -67804,7 +67804,7 @@ "isPure": false, "lValueRequested": false, "member_name": "toString", - "referencedDeclaration": 2565, + "referencedDeclaration": 2057, "type": "function (uint256) pure returns (string memory)" }, "children": [ @@ -67813,48 +67813,48 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2783, + "id": 2275, "name": "Identifier", - "src": "51098:7:1" + "src": "52545:7:0" } ], - "id": 2784, + "id": 2276, "name": "MemberAccess", - "src": "51098:16:1" + "src": "52545:16:0" } ], - "id": 2785, + "id": 2277, "name": "FunctionCall", - "src": "51098:18:1" + "src": "52545:18:0" } ], - "id": 2786, + "id": 2278, "name": "FunctionCall", - "src": "51075:42:1" + "src": "52522:42:0" } ], - "id": 2787, + "id": 2279, "name": "FunctionCall", - "src": "51068:50:1" + "src": "52515:50:0" } ], - "id": 2788, + "id": 2280, "name": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ], - "id": 2789, + "id": 2281, "name": "Block", - "src": "50437:688:1" + "src": "51869:704:0" } ], - "id": 2790, + "id": 2282, "name": "FunctionDefinition", - "src": "50349:776:1" + "src": "51781:792:0" }, { "attributes": { @@ -67866,7 +67866,7 @@ null ], "name": "baseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67876,9 +67876,9 @@ "attributes": { "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, - "id": 2791, + "id": 2283, "name": "StructuredDocumentation", - "src": "51131:221:1" + "src": "52581:225:0" }, { "attributes": { @@ -67887,9 +67887,9 @@ ] }, "children": [], - "id": 2792, + "id": 2284, "name": "ParameterList", - "src": "51373:2:1" + "src": "52828:2:0" }, { "children": [ @@ -67898,7 +67898,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2799, + "scope": 2291, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -67910,25 +67910,25 @@ "name": "string", "type": "string" }, - "id": 2793, + "id": 2285, "name": "ElementaryTypeName", - "src": "51405:6:1" + "src": "52860:6:0" } ], - "id": 2794, + "id": 2286, "name": "VariableDeclaration", - "src": "51405:13:1" + "src": "52860:13:0" } ], - "id": 2795, + "id": 2287, "name": "ParameterList", - "src": "51404:15:1" + "src": "52859:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2795 + "functionReturnParameters": 2287 }, "children": [ { @@ -67936,33 +67936,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 2796, + "id": 2288, "name": "Identifier", - "src": "51437:8:1" + "src": "52893:8:0" } ], - "id": 2797, + "id": 2289, "name": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ], - "id": 2798, + "id": 2290, "name": "Block", - "src": "51420:32:1" + "src": "52875:34:0" } ], - "id": 2799, + "id": 2291, "name": "FunctionDefinition", - "src": "51357:95:1" + "src": "52812:97:0" }, { "attributes": { "baseFunctions": [ - 700 + 192 ], "functionSelector": "2f745c59", "implemented": true, @@ -67972,7 +67972,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67982,9 +67982,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, - "id": 2800, + "id": 2292, "name": "StructuredDocumentation", - "src": "51458:68:1" + "src": "52917:70:0" }, { "attributes": { @@ -67992,9 +67992,9 @@ null ] }, - "id": 2806, + "id": 2298, "name": "OverrideSpecifier", - "src": "51610:8:1" + "src": "53072:8:0" }, { "children": [ @@ -68003,7 +68003,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68016,21 +68016,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2801, + "id": 2293, "name": "ElementaryTypeName", - "src": "51560:7:1" + "src": "53022:7:0" } ], - "id": 2802, + "id": 2294, "name": "VariableDeclaration", - "src": "51560:13:1" + "src": "53022:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68042,19 +68042,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2803, + "id": 2295, "name": "ElementaryTypeName", - "src": "51575:7:1" + "src": "53037:7:0" } ], - "id": 2804, + "id": 2296, "name": "VariableDeclaration", - "src": "51575:13:1" + "src": "53037:13:0" } ], - "id": 2805, + "id": 2297, "name": "ParameterList", - "src": "51559:30:1" + "src": "53021:30:0" }, { "children": [ @@ -68063,7 +68063,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68075,25 +68075,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2807, + "id": 2299, "name": "ElementaryTypeName", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2808, + "id": 2300, "name": "VariableDeclaration", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2809, + "id": 2301, "name": "ParameterList", - "src": "51627:9:1" + "src": "53089:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2809 + "functionReturnParameters": 2301 }, "children": [ { @@ -68124,7 +68124,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 1920, + "referencedDeclaration": 1412, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" }, "children": [ @@ -68142,74 +68142,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2810, + "id": 2302, "name": "Identifier", - "src": "51654:13:1" + "src": "53117:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2802, + "referencedDeclaration": 2294, "type": "address", "value": "owner" }, - "id": 2811, + "id": 2303, "name": "Identifier", - "src": "51668:5:1" + "src": "53131:5:0" } ], - "id": 2812, + "id": 2304, "name": "IndexAccess", - "src": "51654:20:1" + "src": "53117:20:0" } ], - "id": 2813, + "id": 2305, "name": "MemberAccess", - "src": "51654:23:1" + "src": "53117:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2804, + "referencedDeclaration": 2296, "type": "uint256", "value": "index" }, - "id": 2814, + "id": 2306, "name": "Identifier", - "src": "51678:5:1" + "src": "53141:5:0" } ], - "id": 2815, + "id": 2307, "name": "FunctionCall", - "src": "51654:30:1" + "src": "53117:30:0" } ], - "id": 2816, + "id": 2308, "name": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ], - "id": 2817, + "id": 2309, "name": "Block", - "src": "51637:54:1" + "src": "53099:56:0" } ], - "id": 2818, + "id": 2310, "name": "FunctionDefinition", - "src": "51531:160:1" + "src": "52993:162:0" }, { "attributes": { "baseFunctions": [ - 690 + 182 ], "functionSelector": "18160ddd", "implemented": true, @@ -68219,7 +68219,7 @@ null ], "name": "totalSupply", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -68229,9 +68229,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-totalSupply}." }, - "id": 2819, + "id": 2311, "name": "StructuredDocumentation", - "src": "51697:60:1" + "src": "53163:62:0" }, { "attributes": { @@ -68239,9 +68239,9 @@ null ] }, - "id": 2821, + "id": 2313, "name": "OverrideSpecifier", - "src": "51805:8:1" + "src": "53274:8:0" }, { "attributes": { @@ -68250,9 +68250,9 @@ ] }, "children": [], - "id": 2820, + "id": 2312, "name": "ParameterList", - "src": "51782:2:1" + "src": "53251:2:0" }, { "children": [ @@ -68261,7 +68261,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2830, + "scope": 2322, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68273,25 +68273,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2822, + "id": 2314, "name": "ElementaryTypeName", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2823, + "id": 2315, "name": "VariableDeclaration", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2824, + "id": 2316, "name": "ParameterList", - "src": "51822:9:1" + "src": "53291:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2824 + "functionReturnParameters": 2316 }, "children": [ { @@ -68322,7 +68322,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 2340, + "referencedDeclaration": 1832, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" }, "children": [ @@ -68331,43 +68331,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2825, + "id": 2317, "name": "Identifier", - "src": "51942:12:1" + "src": "53413:12:0" } ], - "id": 2826, + "id": 2318, "name": "MemberAccess", - "src": "51942:19:1" + "src": "53413:19:0" } ], - "id": 2827, + "id": 2319, "name": "FunctionCall", - "src": "51942:21:1" + "src": "53413:21:0" } ], - "id": 2828, + "id": 2320, "name": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ], - "id": 2829, + "id": 2321, "name": "Block", - "src": "51832:138:1" + "src": "53301:141:0" } ], - "id": 2830, + "id": 2322, "name": "FunctionDefinition", - "src": "51762:208:1" + "src": "53231:211:0" }, { "attributes": { "baseFunctions": [ - 708 + 200 ], "functionSelector": "4f6ccce7", "implemented": true, @@ -68377,7 +68377,7 @@ null ], "name": "tokenByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -68387,9 +68387,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, - "id": 2831, + "id": 2323, "name": "StructuredDocumentation", - "src": "51976:61:1" + "src": "53450:63:0" }, { "attributes": { @@ -68397,9 +68397,9 @@ null ] }, - "id": 2835, + "id": 2327, "name": "OverrideSpecifier", - "src": "52099:8:1" + "src": "53576:8:0" }, { "children": [ @@ -68408,7 +68408,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68420,19 +68420,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2832, + "id": 2324, "name": "ElementaryTypeName", - "src": "52064:7:1" + "src": "53541:7:0" } ], - "id": 2833, + "id": 2325, "name": "VariableDeclaration", - "src": "52064:13:1" + "src": "53541:13:0" } ], - "id": 2834, + "id": 2326, "name": "ParameterList", - "src": "52063:15:1" + "src": "53540:15:0" }, { "children": [ @@ -68441,7 +68441,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68453,26 +68453,26 @@ "name": "uint256", "type": "uint256" }, - "id": 2836, + "id": 2328, "name": "ElementaryTypeName", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2837, + "id": 2329, "name": "VariableDeclaration", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2838, + "id": 2330, "name": "ParameterList", - "src": "52116:9:1" + "src": "53593:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2840, + 2332, null ] }, @@ -68482,7 +68482,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2848, + "scope": 2340, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68494,14 +68494,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2839, + "id": 2331, "name": "ElementaryTypeName", - "src": "52137:7:1" + "src": "53615:7:0" } ], - "id": 2840, + "id": 2332, "name": "VariableDeclaration", - "src": "52137:15:1" + "src": "53615:15:0" }, { "attributes": { @@ -68531,7 +68531,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 2379, + "referencedDeclaration": 1871, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" }, "children": [ @@ -68540,45 +68540,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2841, + "id": 2333, "name": "Identifier", - "src": "52158:12:1" + "src": "53636:12:0" } ], - "id": 2842, + "id": 2334, "name": "MemberAccess", - "src": "52158:15:1" + "src": "53636:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2833, + "referencedDeclaration": 2325, "type": "uint256", "value": "index" }, - "id": 2843, + "id": 2335, "name": "Identifier", - "src": "52174:5:1" + "src": "53652:5:0" } ], - "id": 2844, + "id": 2336, "name": "FunctionCall", - "src": "52158:22:1" + "src": "53636:22:0" } ], - "id": 2845, + "id": 2337, "name": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "attributes": { - "functionReturnParameters": 2838 + "functionReturnParameters": 2330 }, "children": [ { @@ -68586,33 +68586,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2840, + "referencedDeclaration": 2332, "type": "uint256", "value": "tokenId" }, - "id": 2846, + "id": 2338, "name": "Identifier", - "src": "52197:7:1" + "src": "53676:7:0" } ], - "id": 2847, + "id": 2339, "name": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ], - "id": 2848, + "id": 2340, "name": "Block", - "src": "52126:85:1" + "src": "53603:88:0" } ], - "id": 2849, + "id": 2341, "name": "FunctionDefinition", - "src": "52042:169:1" + "src": "53519:172:0" }, { "attributes": { "baseFunctions": [ - 616 + 108 ], "functionSelector": "095ea7b3", "implemented": true, @@ -68622,7 +68622,7 @@ null ], "name": "approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -68632,9 +68632,9 @@ "attributes": { "text": " @dev See {IERC721-approve}." }, - "id": 2850, + "id": 2342, "name": "StructuredDocumentation", - "src": "52217:46:1" + "src": "53699:48:0" }, { "attributes": { @@ -68642,9 +68642,9 @@ null ] }, - "id": 2856, + "id": 2348, "name": "OverrideSpecifier", - "src": "52329:8:1" + "src": "53814:8:0" }, { "children": [ @@ -68653,7 +68653,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68666,21 +68666,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2851, + "id": 2343, "name": "ElementaryTypeName", - "src": "52285:7:1" + "src": "53770:7:0" } ], - "id": 2852, + "id": 2344, "name": "VariableDeclaration", - "src": "52285:10:1" + "src": "53770:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68692,19 +68692,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2853, + "id": 2345, "name": "ElementaryTypeName", - "src": "52297:7:1" + "src": "53782:7:0" } ], - "id": 2854, + "id": 2346, "name": "VariableDeclaration", - "src": "52297:15:1" + "src": "53782:15:0" } ], - "id": 2855, + "id": 2347, "name": "ParameterList", - "src": "52284:29:1" + "src": "53769:29:0" }, { "attributes": { @@ -68713,16 +68713,16 @@ ] }, "children": [], - "id": 2857, + "id": 2349, "name": "ParameterList", - "src": "52338:0:1" + "src": "53823:0:0" }, { "children": [ { "attributes": { "assignments": [ - 2859 + 2351 ] }, "children": [ @@ -68731,7 +68731,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2892, + "scope": 2384, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68744,14 +68744,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2858, + "id": 2350, "name": "ElementaryTypeName", - "src": "52348:7:1" + "src": "53834:7:0" } ], - "id": 2859, + "id": 2351, "name": "VariableDeclaration", - "src": "52348:13:1" + "src": "53834:13:0" }, { "attributes": { @@ -68781,7 +68781,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -68790,41 +68790,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2860, + "id": 2352, "name": "Identifier", - "src": "52364:6:1" + "src": "53850:6:0" } ], - "id": 2861, + "id": 2353, "name": "MemberAccess", - "src": "52364:14:1" + "src": "53850:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2862, + "id": 2354, "name": "Identifier", - "src": "52379:7:1" + "src": "53865:7:0" } ], - "id": 2863, + "id": 2355, "name": "FunctionCall", - "src": "52364:23:1" + "src": "53850:23:0" } ], - "id": 2864, + "id": 2356, "name": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "children": [ @@ -68863,9 +68863,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2865, + "id": 2357, "name": "Identifier", - "src": "52397:7:1" + "src": "53884:7:0" }, { "attributes": { @@ -68886,31 +68886,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2866, + "id": 2358, "name": "Identifier", - "src": "52405:2:1" + "src": "53892:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2867, + "id": 2359, "name": "Identifier", - "src": "52411:5:1" + "src": "53898:5:0" } ], - "id": 2868, + "id": 2360, "name": "BinaryOperation", - "src": "52405:11:1" + "src": "53892:11:0" }, { "attributes": { @@ -68923,19 +68923,19 @@ "type": "literal_string \"ERC721: approval to current owner\"", "value": "ERC721: approval to current owner" }, - "id": 2869, + "id": 2361, "name": "Literal", - "src": "52418:35:1" + "src": "53905:35:0" } ], - "id": 2870, + "id": 2362, "name": "FunctionCall", - "src": "52397:57:1" + "src": "53884:57:0" } ], - "id": 2871, + "id": 2363, "name": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "children": [ @@ -68974,9 +68974,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2872, + "id": 2364, "name": "Identifier", - "src": "52465:7:1" + "src": "53954:7:0" }, { "attributes": { @@ -69032,36 +69032,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2873, + "id": 2365, "name": "Identifier", - "src": "52473:10:1" + "src": "53962:10:0" } ], - "id": 2874, + "id": 2366, "name": "FunctionCall", - "src": "52473:12:1" + "src": "53962:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2875, + "id": 2367, "name": "Identifier", - "src": "52489:5:1" + "src": "53978:5:0" } ], - "id": 2876, + "id": 2368, "name": "BinaryOperation", - "src": "52473:21:1" + "src": "53962:21:0" }, { "attributes": { @@ -69095,7 +69095,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -69104,31 +69104,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2877, + "id": 2369, "name": "Identifier", - "src": "52498:6:1" + "src": "53987:6:0" } ], - "id": 2878, + "id": 2370, "name": "MemberAccess", - "src": "52498:23:1" + "src": "53987:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2879, + "id": 2371, "name": "Identifier", - "src": "52522:5:1" + "src": "54011:5:0" }, { "attributes": { @@ -69156,28 +69156,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2880, + "id": 2372, "name": "Identifier", - "src": "52529:10:1" + "src": "54018:10:0" } ], - "id": 2881, + "id": 2373, "name": "FunctionCall", - "src": "52529:12:1" + "src": "54018:12:0" } ], - "id": 2882, + "id": 2374, "name": "FunctionCall", - "src": "52498:44:1" + "src": "53987:44:0" } ], - "id": 2883, + "id": 2375, "name": "BinaryOperation", - "src": "52473:69:1" + "src": "53962:69:0" }, { "attributes": { @@ -69190,19 +69190,19 @@ "type": "literal_string \"ERC721: approve caller is not owner nor approved for all\"", "value": "ERC721: approve caller is not owner nor approved for all" }, - "id": 2884, + "id": 2376, "name": "Literal", - "src": "52556:58:1" + "src": "54046:58:0" } ], - "id": 2885, + "id": 2377, "name": "FunctionCall", - "src": "52465:159:1" + "src": "53954:161:0" } ], - "id": 2886, + "id": 2378, "name": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "children": [ @@ -69236,64 +69236,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 2887, + "id": 2379, "name": "Identifier", - "src": "52635:8:1" + "src": "54128:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2888, + "id": 2380, "name": "Identifier", - "src": "52644:2:1" + "src": "54137:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2889, + "id": 2381, "name": "Identifier", - "src": "52648:7:1" + "src": "54141:7:0" } ], - "id": 2890, + "id": 2382, "name": "FunctionCall", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2891, + "id": 2383, "name": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2892, + "id": 2384, "name": "Block", - "src": "52338:325:1" + "src": "53823:334:0" } ], - "id": 2893, + "id": 2385, "name": "FunctionDefinition", - "src": "52268:395:1" + "src": "53753:404:0" }, { "attributes": { "baseFunctions": [ - 624 + 116 ], "functionSelector": "081812fc", "implemented": true, @@ -69303,7 +69303,7 @@ null ], "name": "getApproved", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -69313,9 +69313,9 @@ "attributes": { "text": " @dev See {IERC721-getApproved}." }, - "id": 2894, + "id": 2386, "name": "StructuredDocumentation", - "src": "52669:50:1" + "src": "54165:52:0" }, { "attributes": { @@ -69323,9 +69323,9 @@ null ] }, - "id": 2898, + "id": 2390, "name": "OverrideSpecifier", - "src": "52782:8:1" + "src": "54281:8:0" }, { "children": [ @@ -69334,7 +69334,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -69346,19 +69346,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2895, + "id": 2387, "name": "ElementaryTypeName", - "src": "52745:7:1" + "src": "54244:7:0" } ], - "id": 2896, + "id": 2388, "name": "VariableDeclaration", - "src": "52745:15:1" + "src": "54244:15:0" } ], - "id": 2897, + "id": 2389, "name": "ParameterList", - "src": "52744:17:1" + "src": "54243:17:0" }, { "children": [ @@ -69367,7 +69367,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69380,19 +69380,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2899, + "id": 2391, "name": "ElementaryTypeName", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2900, + "id": 2392, "name": "VariableDeclaration", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2901, + "id": 2393, "name": "ParameterList", - "src": "52799:9:1" + "src": "54298:9:0" }, { "children": [ @@ -69433,9 +69433,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2902, + "id": 2394, "name": "Identifier", - "src": "52819:7:1" + "src": "54319:7:0" }, { "attributes": { @@ -69463,31 +69463,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2903, + "id": 2395, "name": "Identifier", - "src": "52827:7:1" + "src": "54327:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2904, + "id": 2396, "name": "Identifier", - "src": "52835:7:1" + "src": "54335:7:0" } ], - "id": 2905, + "id": 2397, "name": "FunctionCall", - "src": "52827:16:1" + "src": "54327:16:0" }, { "attributes": { @@ -69500,23 +69500,23 @@ "type": "literal_string \"ERC721: approved query for nonexistent token\"", "value": "ERC721: approved query for nonexistent token" }, - "id": 2906, + "id": 2398, "name": "Literal", - "src": "52845:46:1" + "src": "54345:46:0" } ], - "id": 2907, + "id": 2399, "name": "FunctionCall", - "src": "52819:73:1" + "src": "54319:73:0" } ], - "id": 2908, + "id": 2400, "name": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "attributes": { - "functionReturnParameters": 2901 + "functionReturnParameters": 2393 }, "children": [ { @@ -69533,51 +69533,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 2909, + "id": 2401, "name": "Identifier", - "src": "52910:15:1" + "src": "54412:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2910, + "id": 2402, "name": "Identifier", - "src": "52926:7:1" + "src": "54428:7:0" } ], - "id": 2911, + "id": 2403, "name": "IndexAccess", - "src": "52910:24:1" + "src": "54412:24:0" } ], - "id": 2912, + "id": 2404, "name": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ], - "id": 2913, + "id": 2405, "name": "Block", - "src": "52809:132:1" + "src": "54308:136:0" } ], - "id": 2914, + "id": 2406, "name": "FunctionDefinition", - "src": "52724:217:1" + "src": "54223:221:0" }, { "attributes": { "baseFunctions": [ - 632 + 124 ], "functionSelector": "a22cb465", "implemented": true, @@ -69587,7 +69587,7 @@ null ], "name": "setApprovalForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69597,9 +69597,9 @@ "attributes": { "text": " @dev See {IERC721-setApprovalForAll}." }, - "id": 2915, + "id": 2407, "name": "StructuredDocumentation", - "src": "52947:56:1" + "src": "54452:58:0" }, { "attributes": { @@ -69607,9 +69607,9 @@ null ] }, - "id": 2921, + "id": 2413, "name": "OverrideSpecifier", - "src": "53083:8:1" + "src": "54591:8:0" }, { "children": [ @@ -69618,7 +69618,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69631,21 +69631,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2916, + "id": 2408, "name": "ElementaryTypeName", - "src": "53035:7:1" + "src": "54543:7:0" } ], - "id": 2917, + "id": 2409, "name": "VariableDeclaration", - "src": "53035:16:1" + "src": "54543:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "approved", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69657,19 +69657,19 @@ "name": "bool", "type": "bool" }, - "id": 2918, + "id": 2410, "name": "ElementaryTypeName", - "src": "53053:4:1" + "src": "54561:4:0" } ], - "id": 2919, + "id": 2411, "name": "VariableDeclaration", - "src": "53053:13:1" + "src": "54561:13:0" } ], - "id": 2920, + "id": 2412, "name": "ParameterList", - "src": "53034:33:1" + "src": "54542:33:0" }, { "attributes": { @@ -69678,9 +69678,9 @@ ] }, "children": [], - "id": 2922, + "id": 2414, "name": "ParameterList", - "src": "53092:0:1" + "src": "54600:0:0" }, { "children": [ @@ -69721,9 +69721,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2923, + "id": 2415, "name": "Identifier", - "src": "53102:7:1" + "src": "54611:7:0" }, { "attributes": { @@ -69744,13 +69744,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2924, + "id": 2416, "name": "Identifier", - "src": "53110:8:1" + "src": "54619:8:0" }, { "attributes": { @@ -69778,23 +69778,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2925, + "id": 2417, "name": "Identifier", - "src": "53122:10:1" + "src": "54631:10:0" } ], - "id": 2926, + "id": 2418, "name": "FunctionCall", - "src": "53122:12:1" + "src": "54631:12:0" } ], - "id": 2927, + "id": 2419, "name": "BinaryOperation", - "src": "53110:24:1" + "src": "54619:24:0" }, { "attributes": { @@ -69807,19 +69807,19 @@ "type": "literal_string \"ERC721: approve to caller\"", "value": "ERC721: approve to caller" }, - "id": 2928, + "id": 2420, "name": "Literal", - "src": "53136:27:1" + "src": "54645:27:0" } ], - "id": 2929, + "id": 2421, "name": "FunctionCall", - "src": "53102:62:1" + "src": "54611:62:0" } ], - "id": 2930, + "id": 2422, "name": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "children": [ @@ -69856,13 +69856,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2931, + "id": 2423, "name": "Identifier", - "src": "53175:18:1" + "src": "54686:18:0" }, { "attributes": { @@ -69890,64 +69890,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2932, + "id": 2424, "name": "Identifier", - "src": "53194:10:1" + "src": "54705:10:0" } ], - "id": 2933, + "id": 2425, "name": "FunctionCall", - "src": "53194:12:1" + "src": "54705:12:0" } ], - "id": 2935, + "id": 2427, "name": "IndexAccess", - "src": "53175:32:1" + "src": "54686:32:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2934, + "id": 2426, "name": "Identifier", - "src": "53208:8:1" + "src": "54719:8:0" } ], - "id": 2936, + "id": 2428, "name": "IndexAccess", - "src": "53175:42:1" + "src": "54686:42:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2937, + "id": 2429, "name": "Identifier", - "src": "53220:8:1" + "src": "54731:8:0" } ], - "id": 2938, + "id": 2430, "name": "Assignment", - "src": "53175:53:1" + "src": "54686:53:0" } ], - "id": 2939, + "id": 2431, "name": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "children": [ @@ -69985,13 +69985,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 572, + "referencedDeclaration": 64, "type": "function (address,address,bool)", "value": "ApprovalForAll" }, - "id": 2940, + "id": 2432, "name": "Identifier", - "src": "53243:14:1" + "src": "54755:14:0" }, { "attributes": { @@ -70019,69 +70019,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2941, + "id": 2433, "name": "Identifier", - "src": "53258:10:1" + "src": "54770:10:0" } ], - "id": 2942, + "id": 2434, "name": "FunctionCall", - "src": "53258:12:1" + "src": "54770:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2943, + "id": 2435, "name": "Identifier", - "src": "53272:8:1" + "src": "54784:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2944, + "id": 2436, "name": "Identifier", - "src": "53282:8:1" + "src": "54794:8:0" } ], - "id": 2945, + "id": 2437, "name": "FunctionCall", - "src": "53243:48:1" + "src": "54755:48:0" } ], - "id": 2946, + "id": 2438, "name": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ], - "id": 2947, + "id": 2439, "name": "Block", - "src": "53092:206:1" + "src": "54600:211:0" } ], - "id": 2948, + "id": 2440, "name": "FunctionDefinition", - "src": "53008:290:1" + "src": "54516:295:0" }, { "attributes": { "baseFunctions": [ - 642 + 134 ], "functionSelector": "e985e9c5", "implemented": true, @@ -70091,7 +70091,7 @@ null ], "name": "isApprovedForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -70101,9 +70101,9 @@ "attributes": { "text": " @dev See {IERC721-isApprovedForAll}." }, - "id": 2949, + "id": 2441, "name": "StructuredDocumentation", - "src": "53304:55:1" + "src": "54819:57:0" }, { "attributes": { @@ -70111,9 +70111,9 @@ null ] }, - "id": 2955, + "id": 2447, "name": "OverrideSpecifier", - "src": "53443:8:1" + "src": "54961:8:0" }, { "children": [ @@ -70122,7 +70122,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70135,21 +70135,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2950, + "id": 2442, "name": "ElementaryTypeName", - "src": "53390:7:1" + "src": "54908:7:0" } ], - "id": 2951, + "id": 2443, "name": "VariableDeclaration", - "src": "53390:13:1" + "src": "54908:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70162,19 +70162,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2952, + "id": 2444, "name": "ElementaryTypeName", - "src": "53405:7:1" + "src": "54923:7:0" } ], - "id": 2953, + "id": 2445, "name": "VariableDeclaration", - "src": "53405:16:1" + "src": "54923:16:0" } ], - "id": 2954, + "id": 2446, "name": "ParameterList", - "src": "53389:33:1" + "src": "54907:33:0" }, { "children": [ @@ -70183,7 +70183,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -70195,25 +70195,25 @@ "name": "bool", "type": "bool" }, - "id": 2956, + "id": 2448, "name": "ElementaryTypeName", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2957, + "id": 2449, "name": "VariableDeclaration", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2958, + "id": 2450, "name": "ParameterList", - "src": "53460:6:1" + "src": "54978:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2958 + "functionReturnParameters": 2450 }, "children": [ { @@ -70239,69 +70239,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2959, + "id": 2451, "name": "Identifier", - "src": "53484:18:1" + "src": "55003:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2951, + "referencedDeclaration": 2443, "type": "address", "value": "owner" }, - "id": 2960, + "id": 2452, "name": "Identifier", - "src": "53503:5:1" + "src": "55022:5:0" } ], - "id": 2961, + "id": 2453, "name": "IndexAccess", - "src": "53484:25:1" + "src": "55003:25:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2953, + "referencedDeclaration": 2445, "type": "address", "value": "operator" }, - "id": 2962, + "id": 2454, "name": "Identifier", - "src": "53510:8:1" + "src": "55029:8:0" } ], - "id": 2963, + "id": 2455, "name": "IndexAccess", - "src": "53484:35:1" + "src": "55003:35:0" } ], - "id": 2964, + "id": 2456, "name": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ], - "id": 2965, + "id": 2457, "name": "Block", - "src": "53467:59:1" + "src": "54985:61:0" } ], - "id": 2966, + "id": 2458, "name": "FunctionDefinition", - "src": "53364:162:1" + "src": "54882:164:0" }, { "attributes": { "baseFunctions": [ - 608 + 100 ], "functionSelector": "23b872dd", "implemented": true, @@ -70311,7 +70311,7 @@ null ], "name": "transferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70321,9 +70321,9 @@ "attributes": { "text": " @dev See {IERC721-transferFrom}." }, - "id": 2967, + "id": 2459, "name": "StructuredDocumentation", - "src": "53532:51:1" + "src": "55054:53:0" }, { "attributes": { @@ -70331,9 +70331,9 @@ null ] }, - "id": 2975, + "id": 2467, "name": "OverrideSpecifier", - "src": "53668:8:1" + "src": "55193:8:0" }, { "children": [ @@ -70342,7 +70342,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70355,21 +70355,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2968, + "id": 2460, "name": "ElementaryTypeName", - "src": "53610:7:1" + "src": "55135:7:0" } ], - "id": 2969, + "id": 2461, "name": "VariableDeclaration", - "src": "53610:12:1" + "src": "55135:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70382,21 +70382,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2970, + "id": 2462, "name": "ElementaryTypeName", - "src": "53624:7:1" + "src": "55149:7:0" } ], - "id": 2971, + "id": 2463, "name": "VariableDeclaration", - "src": "53624:10:1" + "src": "55149:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70408,19 +70408,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2972, + "id": 2464, "name": "ElementaryTypeName", - "src": "53636:7:1" + "src": "55161:7:0" } ], - "id": 2973, + "id": 2465, "name": "VariableDeclaration", - "src": "53636:15:1" + "src": "55161:15:0" } ], - "id": 2974, + "id": 2466, "name": "ParameterList", - "src": "53609:43:1" + "src": "55134:43:0" }, { "attributes": { @@ -70429,9 +70429,9 @@ ] }, "children": [], - "id": 2976, + "id": 2468, "name": "ParameterList", - "src": "53677:0:1" + "src": "55202:0:0" }, { "children": [ @@ -70472,9 +70472,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2977, + "id": 2469, "name": "Identifier", - "src": "53739:7:1" + "src": "55266:7:0" }, { "attributes": { @@ -70506,13 +70506,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 2978, + "id": 2470, "name": "Identifier", - "src": "53747:18:1" + "src": "55274:18:0" }, { "attributes": { @@ -70540,36 +70540,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2979, + "id": 2471, "name": "Identifier", - "src": "53766:10:1" + "src": "55293:10:0" } ], - "id": 2980, + "id": 2472, "name": "FunctionCall", - "src": "53766:12:1" + "src": "55293:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2981, + "id": 2473, "name": "Identifier", - "src": "53780:7:1" + "src": "55307:7:0" } ], - "id": 2982, + "id": 2474, "name": "FunctionCall", - "src": "53747:41:1" + "src": "55274:41:0" }, { "attributes": { @@ -70582,19 +70582,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 2983, + "id": 2475, "name": "Literal", - "src": "53790:51:1" + "src": "55317:51:0" } ], - "id": 2984, + "id": 2476, "name": "FunctionCall", - "src": "53739:103:1" + "src": "55266:103:0" } ], - "id": 2985, + "id": 2477, "name": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "children": [ @@ -70632,77 +70632,77 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 2986, + "id": 2478, "name": "Identifier", - "src": "53853:9:1" + "src": "55382:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2969, + "referencedDeclaration": 2461, "type": "address", "value": "from" }, - "id": 2987, + "id": 2479, "name": "Identifier", - "src": "53863:4:1" + "src": "55392:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2971, + "referencedDeclaration": 2463, "type": "address", "value": "to" }, - "id": 2988, + "id": 2480, "name": "Identifier", - "src": "53869:2:1" + "src": "55398:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2989, + "id": 2481, "name": "Identifier", - "src": "53873:7:1" + "src": "55402:7:0" } ], - "id": 2990, + "id": 2482, "name": "FunctionCall", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2991, + "id": 2483, "name": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2992, + "id": 2484, "name": "Block", - "src": "53677:211:1" + "src": "55202:216:0" } ], - "id": 2993, + "id": 2485, "name": "FunctionDefinition", - "src": "53588:300:1" + "src": "55113:305:0" }, { "attributes": { "baseFunctions": [ - 598 + 90 ], "functionSelector": "42842e0e", "implemented": true, @@ -70712,7 +70712,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70722,9 +70722,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 2994, + "id": 2486, "name": "StructuredDocumentation", - "src": "53894:55:1" + "src": "55426:57:0" }, { "attributes": { @@ -70732,9 +70732,9 @@ null ] }, - "id": 3002, + "id": 2494, "name": "OverrideSpecifier", - "src": "54038:8:1" + "src": "55573:8:0" }, { "children": [ @@ -70743,7 +70743,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70756,21 +70756,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2995, + "id": 2487, "name": "ElementaryTypeName", - "src": "53980:7:1" + "src": "55515:7:0" } ], - "id": 2996, + "id": 2488, "name": "VariableDeclaration", - "src": "53980:12:1" + "src": "55515:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70783,21 +70783,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2997, + "id": 2489, "name": "ElementaryTypeName", - "src": "53994:7:1" + "src": "55529:7:0" } ], - "id": 2998, + "id": 2490, "name": "VariableDeclaration", - "src": "53994:10:1" + "src": "55529:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70809,19 +70809,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2999, + "id": 2491, "name": "ElementaryTypeName", - "src": "54006:7:1" + "src": "55541:7:0" } ], - "id": 3000, + "id": 2492, "name": "VariableDeclaration", - "src": "54006:15:1" + "src": "55541:15:0" } ], - "id": 3001, + "id": 2493, "name": "ParameterList", - "src": "53979:43:1" + "src": "55514:43:0" }, { "attributes": { @@ -70830,9 +70830,9 @@ ] }, "children": [], - "id": 3003, + "id": 2495, "name": "ParameterList", - "src": "54047:0:1" + "src": "55582:0:0" }, { "children": [ @@ -70874,55 +70874,55 @@ } ], "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, + "referencedDeclaration": 2534, "type": "function (address,address,uint256,bytes memory)", "value": "safeTransferFrom" }, - "id": 3004, + "id": 2496, "name": "Identifier", - "src": "54057:16:1" + "src": "55593:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2996, + "referencedDeclaration": 2488, "type": "address", "value": "from" }, - "id": 3005, + "id": 2497, "name": "Identifier", - "src": "54074:4:1" + "src": "55610:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2998, + "referencedDeclaration": 2490, "type": "address", "value": "to" }, - "id": 3006, + "id": 2498, "name": "Identifier", - "src": "54080:2:1" + "src": "55616:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3000, + "referencedDeclaration": 2492, "type": "uint256", "value": "tokenId" }, - "id": 3007, + "id": 2499, "name": "Identifier", - "src": "54084:7:1" + "src": "55620:7:0" }, { "attributes": { @@ -70935,34 +70935,34 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3008, + "id": 2500, "name": "Literal", - "src": "54093:2:1" + "src": "55629:2:0" } ], - "id": 3009, + "id": 2501, "name": "FunctionCall", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3010, + "id": 2502, "name": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3011, + "id": 2503, "name": "Block", - "src": "54047:56:1" + "src": "55582:58:0" } ], - "id": 3012, + "id": 2504, "name": "FunctionDefinition", - "src": "53954:149:1" + "src": "55489:151:0" }, { "attributes": { "baseFunctions": [ - 654 + 146 ], "functionSelector": "b88d4fde", "implemented": true, @@ -70972,7 +70972,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70982,9 +70982,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 3013, + "id": 2505, "name": "StructuredDocumentation", - "src": "54109:55:1" + "src": "55648:57:0" }, { "attributes": { @@ -70992,9 +70992,9 @@ null ] }, - "id": 3023, + "id": 2515, "name": "OverrideSpecifier", - "src": "54273:8:1" + "src": "55815:8:0" }, { "children": [ @@ -71003,7 +71003,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71016,21 +71016,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3014, + "id": 2506, "name": "ElementaryTypeName", - "src": "54195:7:1" + "src": "55737:7:0" } ], - "id": 3015, + "id": 2507, "name": "VariableDeclaration", - "src": "54195:12:1" + "src": "55737:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71043,21 +71043,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3016, + "id": 2508, "name": "ElementaryTypeName", - "src": "54209:7:1" + "src": "55751:7:0" } ], - "id": 3017, + "id": 2509, "name": "VariableDeclaration", - "src": "54209:10:1" + "src": "55751:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71069,21 +71069,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3018, + "id": 2510, "name": "ElementaryTypeName", - "src": "54221:7:1" + "src": "55763:7:0" } ], - "id": 3019, + "id": 2511, "name": "VariableDeclaration", - "src": "54221:15:1" + "src": "55763:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -71095,19 +71095,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3020, + "id": 2512, "name": "ElementaryTypeName", - "src": "54238:5:1" + "src": "55780:5:0" } ], - "id": 3021, + "id": 2513, "name": "VariableDeclaration", - "src": "54238:18:1" + "src": "55780:18:0" } ], - "id": 3022, + "id": 2514, "name": "ParameterList", - "src": "54194:63:1" + "src": "55736:63:0" }, { "attributes": { @@ -71116,9 +71116,9 @@ ] }, "children": [], - "id": 3024, + "id": 2516, "name": "ParameterList", - "src": "54282:0:1" + "src": "55824:0:0" }, { "children": [ @@ -71159,9 +71159,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3025, + "id": 2517, "name": "Identifier", - "src": "54292:7:1" + "src": "55835:7:0" }, { "attributes": { @@ -71193,13 +71193,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 3026, + "id": 2518, "name": "Identifier", - "src": "54300:18:1" + "src": "55843:18:0" }, { "attributes": { @@ -71227,36 +71227,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3027, + "id": 2519, "name": "Identifier", - "src": "54319:10:1" + "src": "55862:10:0" } ], - "id": 3028, + "id": 2520, "name": "FunctionCall", - "src": "54319:12:1" + "src": "55862:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3029, + "id": 2521, "name": "Identifier", - "src": "54333:7:1" + "src": "55876:7:0" } ], - "id": 3030, + "id": 2522, "name": "FunctionCall", - "src": "54300:41:1" + "src": "55843:41:0" }, { "attributes": { @@ -71269,19 +71269,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 3031, + "id": 2523, "name": "Literal", - "src": "54343:51:1" + "src": "55886:51:0" } ], - "id": 3032, + "id": 2524, "name": "FunctionCall", - "src": "54292:103:1" + "src": "55835:103:0" } ], - "id": 3033, + "id": 2525, "name": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "children": [ @@ -71323,85 +71323,85 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3071, + "referencedDeclaration": 2563, "type": "function (address,address,uint256,bytes memory)", "value": "_safeTransfer" }, - "id": 3034, + "id": 2526, "name": "Identifier", - "src": "54405:13:1" + "src": "55949:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3015, + "referencedDeclaration": 2507, "type": "address", "value": "from" }, - "id": 3035, + "id": 2527, "name": "Identifier", - "src": "54419:4:1" + "src": "55963:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3017, + "referencedDeclaration": 2509, "type": "address", "value": "to" }, - "id": 3036, + "id": 2528, "name": "Identifier", - "src": "54425:2:1" + "src": "55969:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3037, + "id": 2529, "name": "Identifier", - "src": "54429:7:1" + "src": "55973:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3021, + "referencedDeclaration": 2513, "type": "bytes memory", "value": "_data" }, - "id": 3038, + "id": 2530, "name": "Identifier", - "src": "54438:5:1" + "src": "55982:5:0" } ], - "id": 3039, + "id": 2531, "name": "FunctionCall", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3040, + "id": 2532, "name": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3041, + "id": 2533, "name": "Block", - "src": "54282:169:1" + "src": "55824:172:0" } ], - "id": 3042, + "id": 2534, "name": "FunctionDefinition", - "src": "54169:282:1" + "src": "55711:285:0" }, { "attributes": { @@ -71412,7 +71412,7 @@ null ], "name": "_safeTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -71422,9 +71422,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3043, + "id": 2535, "name": "StructuredDocumentation", - "src": "54457:851:1" + "src": "56004:868:0" }, { "children": [ @@ -71433,7 +71433,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71446,21 +71446,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3044, + "id": 2536, "name": "ElementaryTypeName", - "src": "55336:7:1" + "src": "56901:7:0" } ], - "id": 3045, + "id": 2537, "name": "VariableDeclaration", - "src": "55336:12:1" + "src": "56901:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71473,21 +71473,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3046, + "id": 2538, "name": "ElementaryTypeName", - "src": "55350:7:1" + "src": "56915:7:0" } ], - "id": 3047, + "id": 2539, "name": "VariableDeclaration", - "src": "55350:10:1" + "src": "56915:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71499,21 +71499,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3048, + "id": 2540, "name": "ElementaryTypeName", - "src": "55362:7:1" + "src": "56927:7:0" } ], - "id": 3049, + "id": 2541, "name": "VariableDeclaration", - "src": "55362:15:1" + "src": "56927:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -71525,19 +71525,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3050, + "id": 2542, "name": "ElementaryTypeName", - "src": "55379:5:1" + "src": "56944:5:0" } ], - "id": 3051, + "id": 2543, "name": "VariableDeclaration", - "src": "55379:18:1" + "src": "56944:18:0" } ], - "id": 3052, + "id": 2544, "name": "ParameterList", - "src": "55335:63:1" + "src": "56900:63:0" }, { "attributes": { @@ -71546,9 +71546,9 @@ ] }, "children": [], - "id": 3053, + "id": 2545, "name": "ParameterList", - "src": "55416:0:1" + "src": "56981:0:0" }, { "children": [ @@ -71588,62 +71588,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 3054, + "id": 2546, "name": "Identifier", - "src": "55426:9:1" + "src": "56992:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3055, + "id": 2547, "name": "Identifier", - "src": "55436:4:1" + "src": "57002:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3056, + "id": 2548, "name": "Identifier", - "src": "55442:2:1" + "src": "57008:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3057, + "id": 2549, "name": "Identifier", - "src": "55446:7:1" + "src": "57012:7:0" } ], - "id": 3058, + "id": 2550, "name": "FunctionCall", - "src": "55426:28:1" + "src": "56992:28:0" } ], - "id": 3059, + "id": 2551, "name": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "children": [ @@ -71682,9 +71682,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3060, + "id": 2552, "name": "Identifier", - "src": "55464:7:1" + "src": "57031:7:0" }, { "attributes": { @@ -71724,70 +71724,70 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3061, + "id": 2553, "name": "Identifier", - "src": "55472:22:1" + "src": "57039:22:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3062, + "id": 2554, "name": "Identifier", - "src": "55495:4:1" + "src": "57062:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3063, + "id": 2555, "name": "Identifier", - "src": "55501:2:1" + "src": "57068:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3064, + "id": 2556, "name": "Identifier", - "src": "55505:7:1" + "src": "57072:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3051, + "referencedDeclaration": 2543, "type": "bytes memory", "value": "_data" }, - "id": 3065, + "id": 2557, "name": "Identifier", - "src": "55514:5:1" + "src": "57081:5:0" } ], - "id": 3066, + "id": 2558, "name": "FunctionCall", - "src": "55472:48:1" + "src": "57039:48:0" }, { "attributes": { @@ -71800,29 +71800,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3067, + "id": 2559, "name": "Literal", - "src": "55522:52:1" + "src": "57089:52:0" } ], - "id": 3068, + "id": 2560, "name": "FunctionCall", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3069, + "id": 2561, "name": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3070, + "id": 2562, "name": "Block", - "src": "55416:166:1" + "src": "56981:169:0" } ], - "id": 3071, + "id": 2563, "name": "FunctionDefinition", - "src": "55313:269:1" + "src": "56878:272:0" }, { "attributes": { @@ -71833,7 +71833,7 @@ null ], "name": "_exists", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71843,9 +71843,9 @@ "attributes": { "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3072, + "id": 2564, "name": "StructuredDocumentation", - "src": "55588:292:1" + "src": "57158:299:0" }, { "children": [ @@ -71854,7 +71854,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71866,19 +71866,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3073, + "id": 2565, "name": "ElementaryTypeName", - "src": "55902:7:1" + "src": "57480:7:0" } ], - "id": 3074, + "id": 2566, "name": "VariableDeclaration", - "src": "55902:15:1" + "src": "57480:15:0" } ], - "id": 3075, + "id": 2567, "name": "ParameterList", - "src": "55901:17:1" + "src": "57479:17:0" }, { "children": [ @@ -71887,7 +71887,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71899,25 +71899,25 @@ "name": "bool", "type": "bool" }, - "id": 3076, + "id": 2568, "name": "ElementaryTypeName", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3077, + "id": 2569, "name": "VariableDeclaration", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3078, + "id": 2570, "name": "ParameterList", - "src": "55949:6:1" + "src": "57527:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3078 + "functionReturnParameters": 2570 }, "children": [ { @@ -71948,7 +71948,7 @@ "isPure": false, "lValueRequested": false, "member_name": "contains", - "referencedDeclaration": 2326, + "referencedDeclaration": 1818, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" }, "children": [ @@ -71957,51 +71957,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3079, + "id": 2571, "name": "Identifier", - "src": "55973:12:1" + "src": "57552:12:0" } ], - "id": 3080, + "id": 2572, "name": "MemberAccess", - "src": "55973:21:1" + "src": "57552:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3074, + "referencedDeclaration": 2566, "type": "uint256", "value": "tokenId" }, - "id": 3081, + "id": 2573, "name": "Identifier", - "src": "55995:7:1" + "src": "57574:7:0" } ], - "id": 3082, + "id": 2574, "name": "FunctionCall", - "src": "55973:30:1" + "src": "57552:30:0" } ], - "id": 3083, + "id": 2575, "name": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ], - "id": 3084, + "id": 2576, "name": "Block", - "src": "55956:54:1" + "src": "57534:56:0" } ], - "id": 3085, + "id": 2577, "name": "FunctionDefinition", - "src": "55885:125:1" + "src": "57463:127:0" }, { "attributes": { @@ -72012,7 +72012,7 @@ null ], "name": "_isApprovedOrOwner", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -72022,9 +72022,9 @@ "attributes": { "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3086, + "id": 2578, "name": "StructuredDocumentation", - "src": "56016:147:1" + "src": "57598:153:0" }, { "children": [ @@ -72033,7 +72033,7 @@ "constant": false, "mutability": "mutable", "name": "spender", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72046,21 +72046,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3087, + "id": 2579, "name": "ElementaryTypeName", - "src": "56196:7:1" + "src": "57785:7:0" } ], - "id": 3088, + "id": 2580, "name": "VariableDeclaration", - "src": "56196:15:1" + "src": "57785:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72072,19 +72072,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3089, + "id": 2581, "name": "ElementaryTypeName", - "src": "56213:7:1" + "src": "57802:7:0" } ], - "id": 3090, + "id": 2582, "name": "VariableDeclaration", - "src": "56213:15:1" + "src": "57802:15:0" } ], - "id": 3091, + "id": 2583, "name": "ParameterList", - "src": "56195:34:1" + "src": "57784:34:0" }, { "children": [ @@ -72093,7 +72093,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -72105,19 +72105,19 @@ "name": "bool", "type": "bool" }, - "id": 3092, + "id": 2584, "name": "ElementaryTypeName", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3093, + "id": 2585, "name": "VariableDeclaration", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3094, + "id": 2586, "name": "ParameterList", - "src": "56260:6:1" + "src": "57849:6:0" }, { "children": [ @@ -72158,9 +72158,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3095, + "id": 2587, "name": "Identifier", - "src": "56277:7:1" + "src": "57867:7:0" }, { "attributes": { @@ -72188,31 +72188,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3096, + "id": 2588, "name": "Identifier", - "src": "56285:7:1" + "src": "57875:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3097, + "id": 2589, "name": "Identifier", - "src": "56293:7:1" + "src": "57883:7:0" } ], - "id": 3098, + "id": 2590, "name": "FunctionCall", - "src": "56285:16:1" + "src": "57875:16:0" }, { "attributes": { @@ -72225,24 +72225,24 @@ "type": "literal_string \"ERC721: operator query for nonexistent token\"", "value": "ERC721: operator query for nonexistent token" }, - "id": 3099, + "id": 2591, "name": "Literal", - "src": "56303:46:1" + "src": "57893:46:0" } ], - "id": 3100, + "id": 2592, "name": "FunctionCall", - "src": "56277:73:1" + "src": "57867:73:0" } ], - "id": 3101, + "id": 2593, "name": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "attributes": { "assignments": [ - 3103 + 2595 ] }, "children": [ @@ -72251,7 +72251,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3126, + "scope": 2618, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72264,14 +72264,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3102, + "id": 2594, "name": "ElementaryTypeName", - "src": "56360:7:1" + "src": "57951:7:0" } ], - "id": 3103, + "id": 2595, "name": "VariableDeclaration", - "src": "56360:13:1" + "src": "57951:13:0" }, { "attributes": { @@ -72301,7 +72301,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -72310,45 +72310,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3104, + "id": 2596, "name": "Identifier", - "src": "56376:6:1" + "src": "57967:6:0" } ], - "id": 3105, + "id": 2597, "name": "MemberAccess", - "src": "56376:14:1" + "src": "57967:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3106, + "id": 2598, "name": "Identifier", - "src": "56391:7:1" + "src": "57982:7:0" } ], - "id": 3107, + "id": 2599, "name": "FunctionCall", - "src": "56376:23:1" + "src": "57967:23:0" } ], - "id": 3108, + "id": 2600, "name": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "attributes": { - "functionReturnParameters": 3094 + "functionReturnParameters": 2586 }, "children": [ { @@ -72408,31 +72408,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3109, + "id": 2601, "name": "Identifier", - "src": "56417:7:1" + "src": "58009:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3110, + "id": 2602, "name": "Identifier", - "src": "56428:5:1" + "src": "58020:5:0" } ], - "id": 3111, + "id": 2603, "name": "BinaryOperation", - "src": "56417:16:1" + "src": "58009:16:0" }, { "attributes": { @@ -72474,54 +72474,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2914, + "referencedDeclaration": 2406, "type": "function (uint256) view returns (address)", "value": "getApproved" }, - "id": 3112, + "id": 2604, "name": "Identifier", - "src": "56437:11:1" + "src": "58029:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3113, + "id": 2605, "name": "Identifier", - "src": "56449:7:1" + "src": "58041:7:0" } ], - "id": 3114, + "id": 2606, "name": "FunctionCall", - "src": "56437:20:1" + "src": "58029:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3115, + "id": 2607, "name": "Identifier", - "src": "56461:7:1" + "src": "58053:7:0" } ], - "id": 3116, + "id": 2608, "name": "BinaryOperation", - "src": "56437:31:1" + "src": "58029:31:0" } ], - "id": 3117, + "id": 2609, "name": "BinaryOperation", - "src": "56417:51:1" + "src": "58009:51:0" }, { "attributes": { @@ -72555,7 +72555,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -72564,74 +72564,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3118, + "id": 2610, "name": "Identifier", - "src": "56472:6:1" + "src": "58064:6:0" } ], - "id": 3119, + "id": 2611, "name": "MemberAccess", - "src": "56472:23:1" + "src": "58064:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3120, + "id": 2612, "name": "Identifier", - "src": "56496:5:1" + "src": "58088:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3121, + "id": 2613, "name": "Identifier", - "src": "56503:7:1" + "src": "58095:7:0" } ], - "id": 3122, + "id": 2614, "name": "FunctionCall", - "src": "56472:39:1" + "src": "58064:39:0" } ], - "id": 3123, + "id": 2615, "name": "BinaryOperation", - "src": "56417:94:1" + "src": "58009:94:0" } ], - "id": 3124, + "id": 2616, "name": "TupleExpression", - "src": "56416:96:1" + "src": "58008:96:0" } ], - "id": 3125, + "id": 2617, "name": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ], - "id": 3126, + "id": 2618, "name": "Block", - "src": "56267:252:1" + "src": "57856:256:0" } ], - "id": 3127, + "id": 2619, "name": "FunctionDefinition", - "src": "56168:351:1" + "src": "57757:355:0" }, { "attributes": { @@ -72642,7 +72642,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72652,9 +72652,9 @@ "attributes": { "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3128, + "id": 2620, "name": "StructuredDocumentation", - "src": "56525:320:1" + "src": "58120:329:0" }, { "children": [ @@ -72663,7 +72663,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72676,21 +72676,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3129, + "id": 2621, "name": "ElementaryTypeName", - "src": "56869:7:1" + "src": "58474:7:0" } ], - "id": 3130, + "id": 2622, "name": "VariableDeclaration", - "src": "56869:10:1" + "src": "58474:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72702,19 +72702,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3131, + "id": 2623, "name": "ElementaryTypeName", - "src": "56881:7:1" + "src": "58486:7:0" } ], - "id": 3132, + "id": 2624, "name": "VariableDeclaration", - "src": "56881:15:1" + "src": "58486:15:0" } ], - "id": 3133, + "id": 2625, "name": "ParameterList", - "src": "56868:29:1" + "src": "58473:29:0" }, { "attributes": { @@ -72723,9 +72723,9 @@ ] }, "children": [], - "id": 3134, + "id": 2626, "name": "ParameterList", - "src": "56915:0:1" + "src": "58520:0:0" }, { "children": [ @@ -72763,42 +72763,42 @@ } ], "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, + "referencedDeclaration": 2663, "type": "function (address,uint256,bytes memory)", "value": "_safeMint" }, - "id": 3135, + "id": 2627, "name": "Identifier", - "src": "56925:9:1" + "src": "58531:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3130, + "referencedDeclaration": 2622, "type": "address", "value": "to" }, - "id": 3136, + "id": 2628, "name": "Identifier", - "src": "56935:2:1" + "src": "58541:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3132, + "referencedDeclaration": 2624, "type": "uint256", "value": "tokenId" }, - "id": 3137, + "id": 2629, "name": "Identifier", - "src": "56939:7:1" + "src": "58545:7:0" }, { "attributes": { @@ -72811,29 +72811,29 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3138, + "id": 2630, "name": "Literal", - "src": "56948:2:1" + "src": "58554:2:0" } ], - "id": 3139, + "id": 2631, "name": "FunctionCall", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3140, + "id": 2632, "name": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3141, + "id": 2633, "name": "Block", - "src": "56915:43:1" + "src": "58520:45:0" } ], - "id": 3142, + "id": 2634, "name": "FunctionDefinition", - "src": "56850:108:1" + "src": "58455:110:0" }, { "attributes": { @@ -72844,7 +72844,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72854,9 +72854,9 @@ "attributes": { "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3143, + "id": 2635, "name": "StructuredDocumentation", - "src": "56964:210:1" + "src": "58573:213:0" }, { "children": [ @@ -72865,7 +72865,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72878,21 +72878,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3144, + "id": 2636, "name": "ElementaryTypeName", - "src": "57198:7:1" + "src": "58811:7:0" } ], - "id": 3145, + "id": 2637, "name": "VariableDeclaration", - "src": "57198:10:1" + "src": "58811:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72904,21 +72904,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3146, + "id": 2638, "name": "ElementaryTypeName", - "src": "57210:7:1" + "src": "58823:7:0" } ], - "id": 3147, + "id": 2639, "name": "VariableDeclaration", - "src": "57210:15:1" + "src": "58823:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -72930,19 +72930,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3148, + "id": 2640, "name": "ElementaryTypeName", - "src": "57227:5:1" + "src": "58840:5:0" } ], - "id": 3149, + "id": 2641, "name": "VariableDeclaration", - "src": "57227:18:1" + "src": "58840:18:0" } ], - "id": 3150, + "id": 2642, "name": "ParameterList", - "src": "57197:49:1" + "src": "58810:49:0" }, { "attributes": { @@ -72951,9 +72951,9 @@ ] }, "children": [], - "id": 3151, + "id": 2643, "name": "ParameterList", - "src": "57264:0:1" + "src": "58877:0:0" }, { "children": [ @@ -72989,49 +72989,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3230, + "referencedDeclaration": 2722, "type": "function (address,uint256)", "value": "_mint" }, - "id": 3152, + "id": 2644, "name": "Identifier", - "src": "57274:5:1" + "src": "58888:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3153, + "id": 2645, "name": "Identifier", - "src": "57280:2:1" + "src": "58894:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3154, + "id": 2646, "name": "Identifier", - "src": "57284:7:1" + "src": "58898:7:0" } ], - "id": 3155, + "id": 2647, "name": "FunctionCall", - "src": "57274:18:1" + "src": "58888:18:0" } ], - "id": 3156, + "id": 2648, "name": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "children": [ @@ -73070,9 +73070,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3157, + "id": 2649, "name": "Identifier", - "src": "57302:7:1" + "src": "58917:7:0" }, { "attributes": { @@ -73112,13 +73112,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3158, + "id": 2650, "name": "Identifier", - "src": "57310:22:1" + "src": "58925:22:0" }, { "attributes": { @@ -73154,14 +73154,14 @@ "attributes": { "name": "address" }, - "id": 3159, + "id": 2651, "name": "ElementaryTypeName", - "src": "57333:7:1" + "src": "58948:7:0" } ], - "id": 3160, + "id": 2652, "name": "ElementaryTypeNameExpression", - "src": "57333:7:1" + "src": "58948:7:0" }, { "attributes": { @@ -73174,58 +73174,58 @@ "type": "int_const 0", "value": "0" }, - "id": 3161, + "id": 2653, "name": "Literal", - "src": "57341:1:1" + "src": "58956:1:0" } ], - "id": 3162, + "id": 2654, "name": "FunctionCall", - "src": "57333:10:1" + "src": "58948:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3163, + "id": 2655, "name": "Identifier", - "src": "57345:2:1" + "src": "58960:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3164, + "id": 2656, "name": "Identifier", - "src": "57349:7:1" + "src": "58964:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3149, + "referencedDeclaration": 2641, "type": "bytes memory", "value": "_data" }, - "id": 3165, + "id": 2657, "name": "Identifier", - "src": "57358:5:1" + "src": "58973:5:0" } ], - "id": 3166, + "id": 2658, "name": "FunctionCall", - "src": "57310:54:1" + "src": "58925:54:0" }, { "attributes": { @@ -73238,29 +73238,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3167, + "id": 2659, "name": "Literal", - "src": "57366:52:1" + "src": "58981:52:0" } ], - "id": 3168, + "id": 2660, "name": "FunctionCall", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3169, + "id": 2661, "name": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3170, + "id": 2662, "name": "Block", - "src": "57264:162:1" + "src": "58877:165:0" } ], - "id": 3171, + "id": 2663, "name": "FunctionDefinition", - "src": "57179:247:1" + "src": "58792:250:0" }, { "attributes": { @@ -73271,7 +73271,7 @@ null ], "name": "_mint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -73281,9 +73281,9 @@ "attributes": { "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3172, + "id": 2664, "name": "StructuredDocumentation", - "src": "57432:311:1" + "src": "59050:322:0" }, { "children": [ @@ -73292,7 +73292,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -73305,21 +73305,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3173, + "id": 2665, "name": "ElementaryTypeName", - "src": "57763:7:1" + "src": "59393:7:0" } ], - "id": 3174, + "id": 2666, "name": "VariableDeclaration", - "src": "57763:10:1" + "src": "59393:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -73331,19 +73331,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3175, + "id": 2667, "name": "ElementaryTypeName", - "src": "57775:7:1" + "src": "59405:7:0" } ], - "id": 3176, + "id": 2668, "name": "VariableDeclaration", - "src": "57775:15:1" + "src": "59405:15:0" } ], - "id": 3177, + "id": 2669, "name": "ParameterList", - "src": "57762:29:1" + "src": "59392:29:0" }, { "attributes": { @@ -73352,9 +73352,9 @@ ] }, "children": [], - "id": 3178, + "id": 2670, "name": "ParameterList", - "src": "57809:0:1" + "src": "59439:0:0" }, { "children": [ @@ -73395,9 +73395,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3179, + "id": 2671, "name": "Identifier", - "src": "57819:7:1" + "src": "59450:7:0" }, { "attributes": { @@ -73418,13 +73418,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3180, + "id": 2672, "name": "Identifier", - "src": "57827:2:1" + "src": "59458:2:0" }, { "attributes": { @@ -73460,14 +73460,14 @@ "attributes": { "name": "address" }, - "id": 3181, + "id": 2673, "name": "ElementaryTypeName", - "src": "57833:7:1" + "src": "59464:7:0" } ], - "id": 3182, + "id": 2674, "name": "ElementaryTypeNameExpression", - "src": "57833:7:1" + "src": "59464:7:0" }, { "attributes": { @@ -73480,19 +73480,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3183, + "id": 2675, "name": "Literal", - "src": "57841:1:1" + "src": "59472:1:0" } ], - "id": 3184, + "id": 2676, "name": "FunctionCall", - "src": "57833:10:1" + "src": "59464:10:0" } ], - "id": 3185, + "id": 2677, "name": "BinaryOperation", - "src": "57827:16:1" + "src": "59458:16:0" }, { "attributes": { @@ -73505,19 +73505,19 @@ "type": "literal_string \"ERC721: mint to the zero address\"", "value": "ERC721: mint to the zero address" }, - "id": 3186, + "id": 2678, "name": "Literal", - "src": "57845:34:1" + "src": "59476:34:0" } ], - "id": 3187, + "id": 2679, "name": "FunctionCall", - "src": "57819:61:1" + "src": "59450:61:0" } ], - "id": 3188, + "id": 2680, "name": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "children": [ @@ -73556,9 +73556,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3189, + "id": 2681, "name": "Identifier", - "src": "57890:7:1" + "src": "59522:7:0" }, { "attributes": { @@ -73597,36 +73597,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3190, + "id": 2682, "name": "Identifier", - "src": "57899:7:1" + "src": "59531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3191, + "id": 2683, "name": "Identifier", - "src": "57907:7:1" + "src": "59539:7:0" } ], - "id": 3192, + "id": 2684, "name": "FunctionCall", - "src": "57899:16:1" + "src": "59531:16:0" } ], - "id": 3193, + "id": 2685, "name": "UnaryOperation", - "src": "57898:17:1" + "src": "59530:17:0" }, { "attributes": { @@ -73639,19 +73639,19 @@ "type": "literal_string \"ERC721: token already minted\"", "value": "ERC721: token already minted" }, - "id": 3194, + "id": 2686, "name": "Literal", - "src": "57917:30:1" + "src": "59549:30:0" } ], - "id": 3195, + "id": 2687, "name": "FunctionCall", - "src": "57890:58:1" + "src": "59522:58:0" } ], - "id": 3196, + "id": 2688, "name": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "children": [ @@ -73689,13 +73689,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3197, + "id": 2689, "name": "Identifier", - "src": "57959:20:1" + "src": "59593:20:0" }, { "attributes": { @@ -73731,14 +73731,14 @@ "attributes": { "name": "address" }, - "id": 3198, + "id": 2690, "name": "ElementaryTypeName", - "src": "57980:7:1" + "src": "59614:7:0" } ], - "id": 3199, + "id": 2691, "name": "ElementaryTypeNameExpression", - "src": "57980:7:1" + "src": "59614:7:0" }, { "attributes": { @@ -73751,50 +73751,50 @@ "type": "int_const 0", "value": "0" }, - "id": 3200, + "id": 2692, "name": "Literal", - "src": "57988:1:1" + "src": "59622:1:0" } ], - "id": 3201, + "id": 2693, "name": "FunctionCall", - "src": "57980:10:1" + "src": "59614:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3202, + "id": 2694, "name": "Identifier", - "src": "57992:2:1" + "src": "59626:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3203, + "id": 2695, "name": "Identifier", - "src": "57996:7:1" + "src": "59630:7:0" } ], - "id": 3204, + "id": 2696, "name": "FunctionCall", - "src": "57959:45:1" + "src": "59593:45:0" } ], - "id": 3205, + "id": 2697, "name": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "children": [ @@ -73826,7 +73826,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -73844,59 +73844,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3206, + "id": 2698, "name": "Identifier", - "src": "58015:13:1" + "src": "59651:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3207, + "id": 2699, "name": "Identifier", - "src": "58029:2:1" + "src": "59665:2:0" } ], - "id": 3208, + "id": 2700, "name": "IndexAccess", - "src": "58015:17:1" + "src": "59651:17:0" } ], - "id": 3209, + "id": 2701, "name": "MemberAccess", - "src": "58015:21:1" + "src": "59651:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3210, + "id": 2702, "name": "Identifier", - "src": "58037:7:1" + "src": "59673:7:0" } ], - "id": 3211, + "id": 2703, "name": "FunctionCall", - "src": "58015:30:1" + "src": "59651:30:0" } ], - "id": 3212, + "id": 2704, "name": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "children": [ @@ -73932,7 +73932,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -73941,54 +73941,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3213, + "id": 2705, "name": "Identifier", - "src": "58056:12:1" + "src": "59694:12:0" } ], - "id": 3215, + "id": 2707, "name": "MemberAccess", - "src": "58056:16:1" + "src": "59694:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3216, + "id": 2708, "name": "Identifier", - "src": "58073:7:1" + "src": "59711:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3217, + "id": 2709, "name": "Identifier", - "src": "58082:2:1" + "src": "59720:2:0" } ], - "id": 3218, + "id": 2710, "name": "FunctionCall", - "src": "58056:29:1" + "src": "59694:29:0" } ], - "id": 3219, + "id": 2711, "name": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "children": [ @@ -74026,13 +74026,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3220, + "id": 2712, "name": "Identifier", - "src": "58101:8:1" + "src": "59741:8:0" }, { "attributes": { @@ -74068,14 +74068,14 @@ "attributes": { "name": "address" }, - "id": 3221, + "id": 2713, "name": "ElementaryTypeName", - "src": "58110:7:1" + "src": "59750:7:0" } ], - "id": 3222, + "id": 2714, "name": "ElementaryTypeNameExpression", - "src": "58110:7:1" + "src": "59750:7:0" }, { "attributes": { @@ -74088,60 +74088,60 @@ "type": "int_const 0", "value": "0" }, - "id": 3223, + "id": 2715, "name": "Literal", - "src": "58118:1:1" + "src": "59758:1:0" } ], - "id": 3224, + "id": 2716, "name": "FunctionCall", - "src": "58110:10:1" + "src": "59750:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3225, + "id": 2717, "name": "Identifier", - "src": "58122:2:1" + "src": "59762:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3226, + "id": 2718, "name": "Identifier", - "src": "58126:7:1" + "src": "59766:7:0" } ], - "id": 3227, + "id": 2719, "name": "FunctionCall", - "src": "58101:33:1" + "src": "59741:33:0" } ], - "id": 3228, + "id": 2720, "name": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ], - "id": 3229, + "id": 2721, "name": "Block", - "src": "57809:332:1" + "src": "59439:343:0" } ], - "id": 3230, + "id": 2722, "name": "FunctionDefinition", - "src": "57748:393:1" + "src": "59378:404:0" }, { "attributes": { @@ -74152,7 +74152,7 @@ null ], "name": "_burn", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -74162,9 +74162,9 @@ "attributes": { "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3231, + "id": 2723, "name": "StructuredDocumentation", - "src": "58147:206:1" + "src": "59790:215:0" }, { "children": [ @@ -74173,7 +74173,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3299, + "scope": 2791, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -74185,19 +74185,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3232, + "id": 2724, "name": "ElementaryTypeName", - "src": "58373:7:1" + "src": "60026:7:0" } ], - "id": 3233, + "id": 2725, "name": "VariableDeclaration", - "src": "58373:15:1" + "src": "60026:15:0" } ], - "id": 3234, + "id": 2726, "name": "ParameterList", - "src": "58372:17:1" + "src": "60025:17:0" }, { "attributes": { @@ -74206,16 +74206,16 @@ ] }, "children": [], - "id": 3235, + "id": 2727, "name": "ParameterList", - "src": "58407:0:1" + "src": "60060:0:0" }, { "children": [ { "attributes": { "assignments": [ - 3237 + 2729 ] }, "children": [ @@ -74224,7 +74224,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3298, + "scope": 2790, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74237,14 +74237,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3236, + "id": 2728, "name": "ElementaryTypeName", - "src": "58417:7:1" + "src": "60071:7:0" } ], - "id": 3237, + "id": 2729, "name": "VariableDeclaration", - "src": "58417:13:1" + "src": "60071:13:0" }, { "attributes": { @@ -74274,7 +74274,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -74283,41 +74283,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3238, + "id": 2730, "name": "Identifier", - "src": "58433:6:1" + "src": "60087:6:0" } ], - "id": 3239, + "id": 2731, "name": "MemberAccess", - "src": "58433:14:1" + "src": "60087:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3240, + "id": 2732, "name": "Identifier", - "src": "58448:7:1" + "src": "60102:7:0" } ], - "id": 3241, + "id": 2733, "name": "FunctionCall", - "src": "58433:23:1" + "src": "60087:23:0" } ], - "id": 3242, + "id": 2734, "name": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "children": [ @@ -74355,26 +74355,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3243, + "id": 2735, "name": "Identifier", - "src": "58485:20:1" + "src": "60141:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3244, + "id": 2736, "name": "Identifier", - "src": "58506:5:1" + "src": "60162:5:0" }, { "attributes": { @@ -74410,14 +74410,14 @@ "attributes": { "name": "address" }, - "id": 3245, + "id": 2737, "name": "ElementaryTypeName", - "src": "58513:7:1" + "src": "60169:7:0" } ], - "id": 3246, + "id": 2738, "name": "ElementaryTypeNameExpression", - "src": "58513:7:1" + "src": "60169:7:0" }, { "attributes": { @@ -74430,37 +74430,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3247, + "id": 2739, "name": "Literal", - "src": "58521:1:1" + "src": "60177:1:0" } ], - "id": 3248, + "id": 2740, "name": "FunctionCall", - "src": "58513:10:1" + "src": "60169:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3249, + "id": 2741, "name": "Identifier", - "src": "58525:7:1" + "src": "60181:7:0" } ], - "id": 3250, + "id": 2742, "name": "FunctionCall", - "src": "58485:48:1" + "src": "60141:48:0" } ], - "id": 3251, + "id": 2743, "name": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "children": [ @@ -74494,13 +74494,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3252, + "id": 2744, "name": "Identifier", - "src": "58571:8:1" + "src": "60230:8:0" }, { "attributes": { @@ -74536,14 +74536,14 @@ "attributes": { "name": "address" }, - "id": 3253, + "id": 2745, "name": "ElementaryTypeName", - "src": "58580:7:1" + "src": "60239:7:0" } ], - "id": 3254, + "id": 2746, "name": "ElementaryTypeNameExpression", - "src": "58580:7:1" + "src": "60239:7:0" }, { "attributes": { @@ -74556,37 +74556,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3255, + "id": 2747, "name": "Literal", - "src": "58588:1:1" + "src": "60247:1:0" } ], - "id": 3256, + "id": 2748, "name": "FunctionCall", - "src": "58580:10:1" + "src": "60239:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3257, + "id": 2749, "name": "Identifier", - "src": "58592:7:1" + "src": "60251:7:0" } ], - "id": 3258, + "id": 2750, "name": "FunctionCall", - "src": "58571:29:1" + "src": "60230:29:0" } ], - "id": 3259, + "id": 2751, "name": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "attributes": {}, @@ -74649,14 +74649,14 @@ "attributes": { "name": "bytes" }, - "id": 3260, + "id": 2752, "name": "ElementaryTypeName", - "src": "58650:5:1" + "src": "60312:5:0" } ], - "id": 3261, + "id": 2753, "name": "ElementaryTypeNameExpression", - "src": "58650:5:1" + "src": "60312:5:0" }, { "attributes": { @@ -74672,41 +74672,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3262, + "id": 2754, "name": "Identifier", - "src": "58656:10:1" + "src": "60318:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3263, + "id": 2755, "name": "Identifier", - "src": "58667:7:1" + "src": "60329:7:0" } ], - "id": 3264, + "id": 2756, "name": "IndexAccess", - "src": "58656:19:1" + "src": "60318:19:0" } ], - "id": 3265, + "id": 2757, "name": "FunctionCall", - "src": "58650:26:1" + "src": "60312:26:0" } ], - "id": 3266, + "id": 2758, "name": "MemberAccess", - "src": "58650:33:1" + "src": "60312:33:0" }, { "attributes": { @@ -74719,14 +74719,14 @@ "type": "int_const 0", "value": "0" }, - "id": 3267, + "id": 2759, "name": "Literal", - "src": "58687:1:1" + "src": "60349:1:0" } ], - "id": 3268, + "id": 2760, "name": "BinaryOperation", - "src": "58650:38:1" + "src": "60312:38:0" }, { "children": [ @@ -74757,51 +74757,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3269, + "id": 2761, "name": "Identifier", - "src": "58711:10:1" + "src": "60374:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3270, + "id": 2762, "name": "Identifier", - "src": "58722:7:1" + "src": "60385:7:0" } ], - "id": 3271, + "id": 2763, "name": "IndexAccess", - "src": "58711:19:1" + "src": "60374:19:0" } ], - "id": 3272, + "id": 2764, "name": "UnaryOperation", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3273, + "id": 2765, "name": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3274, + "id": 2766, "name": "Block", - "src": "58690:51:1" + "src": "60352:53:0" } ], - "id": 3275, + "id": 2767, "name": "IfStatement", - "src": "58646:95:1" + "src": "60308:97:0" }, { "children": [ @@ -74833,7 +74833,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -74851,59 +74851,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3276, + "id": 2768, "name": "Identifier", - "src": "58751:13:1" + "src": "60417:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3277, + "id": 2769, "name": "Identifier", - "src": "58765:5:1" + "src": "60431:5:0" } ], - "id": 3278, + "id": 2770, "name": "IndexAccess", - "src": "58751:20:1" + "src": "60417:20:0" } ], - "id": 3279, + "id": 2771, "name": "MemberAccess", - "src": "58751:27:1" + "src": "60417:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3280, + "id": 2772, "name": "Identifier", - "src": "58779:7:1" + "src": "60445:7:0" } ], - "id": 3281, + "id": 2773, "name": "FunctionCall", - "src": "58751:36:1" + "src": "60417:36:0" } ], - "id": 3282, + "id": 2774, "name": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "children": [ @@ -74935,7 +74935,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 2306, + "referencedDeclaration": 1798, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" }, "children": [ @@ -74944,41 +74944,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3283, + "id": 2775, "name": "Identifier", - "src": "58798:12:1" + "src": "60466:12:0" } ], - "id": 3285, + "id": 2777, "name": "MemberAccess", - "src": "58798:19:1" + "src": "60466:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3286, + "id": 2778, "name": "Identifier", - "src": "58818:7:1" + "src": "60486:7:0" } ], - "id": 3287, + "id": 2779, "name": "FunctionCall", - "src": "58798:28:1" + "src": "60466:28:0" } ], - "id": 3288, + "id": 2780, "name": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "children": [ @@ -75016,26 +75016,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3289, + "id": 2781, "name": "Identifier", - "src": "58842:8:1" + "src": "60512:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3290, + "id": 2782, "name": "Identifier", - "src": "58851:5:1" + "src": "60521:5:0" }, { "attributes": { @@ -75071,14 +75071,14 @@ "attributes": { "name": "address" }, - "id": 3291, + "id": 2783, "name": "ElementaryTypeName", - "src": "58858:7:1" + "src": "60528:7:0" } ], - "id": 3292, + "id": 2784, "name": "ElementaryTypeNameExpression", - "src": "58858:7:1" + "src": "60528:7:0" }, { "attributes": { @@ -75091,47 +75091,47 @@ "type": "int_const 0", "value": "0" }, - "id": 3293, + "id": 2785, "name": "Literal", - "src": "58866:1:1" + "src": "60536:1:0" } ], - "id": 3294, + "id": 2786, "name": "FunctionCall", - "src": "58858:10:1" + "src": "60528:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3295, + "id": 2787, "name": "Identifier", - "src": "58870:7:1" + "src": "60540:7:0" } ], - "id": 3296, + "id": 2788, "name": "FunctionCall", - "src": "58842:36:1" + "src": "60512:36:0" } ], - "id": 3297, + "id": 2789, "name": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ], - "id": 3298, + "id": 2790, "name": "Block", - "src": "58407:478:1" + "src": "60060:496:0" } ], - "id": 3299, + "id": 2791, "name": "FunctionDefinition", - "src": "58358:527:1" + "src": "60011:545:0" }, { "attributes": { @@ -75142,7 +75142,7 @@ null ], "name": "_transfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -75152,9 +75152,9 @@ "attributes": { "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3300, + "id": 2792, "name": "StructuredDocumentation", - "src": "58891:313:1" + "src": "60564:323:0" }, { "children": [ @@ -75163,7 +75163,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -75176,21 +75176,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3301, + "id": 2793, "name": "ElementaryTypeName", - "src": "59228:7:1" + "src": "60912:7:0" } ], - "id": 3302, + "id": 2794, "name": "VariableDeclaration", - "src": "59228:12:1" + "src": "60912:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -75203,21 +75203,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3303, + "id": 2795, "name": "ElementaryTypeName", - "src": "59242:7:1" + "src": "60926:7:0" } ], - "id": 3304, + "id": 2796, "name": "VariableDeclaration", - "src": "59242:10:1" + "src": "60926:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -75229,19 +75229,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3305, + "id": 2797, "name": "ElementaryTypeName", - "src": "59254:7:1" + "src": "60938:7:0" } ], - "id": 3306, + "id": 2798, "name": "VariableDeclaration", - "src": "59254:15:1" + "src": "60938:15:0" } ], - "id": 3307, + "id": 2799, "name": "ParameterList", - "src": "59227:43:1" + "src": "60911:43:0" }, { "attributes": { @@ -75250,9 +75250,9 @@ ] }, "children": [], - "id": 3308, + "id": 2800, "name": "ParameterList", - "src": "59288:0:1" + "src": "60972:0:0" }, { "children": [ @@ -75293,9 +75293,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3309, + "id": 2801, "name": "Identifier", - "src": "59298:7:1" + "src": "60983:7:0" }, { "attributes": { @@ -75339,7 +75339,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -75348,54 +75348,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3310, + "id": 2802, "name": "Identifier", - "src": "59306:6:1" + "src": "60991:6:0" } ], - "id": 3311, + "id": 2803, "name": "MemberAccess", - "src": "59306:14:1" + "src": "60991:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3312, + "id": 2804, "name": "Identifier", - "src": "59321:7:1" + "src": "61006:7:0" } ], - "id": 3313, + "id": 2805, "name": "FunctionCall", - "src": "59306:23:1" + "src": "60991:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3314, + "id": 2806, "name": "Identifier", - "src": "59333:4:1" + "src": "61018:4:0" } ], - "id": 3315, + "id": 2807, "name": "BinaryOperation", - "src": "59306:31:1" + "src": "60991:31:0" }, { "attributes": { @@ -75408,19 +75408,19 @@ "type": "literal_string \"ERC721: transfer of token that is not own\"", "value": "ERC721: transfer of token that is not own" }, - "id": 3316, + "id": 2808, "name": "Literal", - "src": "59339:43:1" + "src": "61024:43:0" } ], - "id": 3317, + "id": 2809, "name": "FunctionCall", - "src": "59298:85:1" + "src": "60983:85:0" } ], - "id": 3318, + "id": 2810, "name": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "children": [ @@ -75459,9 +75459,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3319, + "id": 2811, "name": "Identifier", - "src": "59411:7:1" + "src": "61097:7:0" }, { "attributes": { @@ -75482,13 +75482,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3320, + "id": 2812, "name": "Identifier", - "src": "59419:2:1" + "src": "61105:2:0" }, { "attributes": { @@ -75524,14 +75524,14 @@ "attributes": { "name": "address" }, - "id": 3321, + "id": 2813, "name": "ElementaryTypeName", - "src": "59425:7:1" + "src": "61111:7:0" } ], - "id": 3322, + "id": 2814, "name": "ElementaryTypeNameExpression", - "src": "59425:7:1" + "src": "61111:7:0" }, { "attributes": { @@ -75544,19 +75544,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3323, + "id": 2815, "name": "Literal", - "src": "59433:1:1" + "src": "61119:1:0" } ], - "id": 3324, + "id": 2816, "name": "FunctionCall", - "src": "59425:10:1" + "src": "61111:10:0" } ], - "id": 3325, + "id": 2817, "name": "BinaryOperation", - "src": "59419:16:1" + "src": "61105:16:0" }, { "attributes": { @@ -75569,19 +75569,19 @@ "type": "literal_string \"ERC721: transfer to the zero address\"", "value": "ERC721: transfer to the zero address" }, - "id": 3326, + "id": 2818, "name": "Literal", - "src": "59437:38:1" + "src": "61123:38:0" } ], - "id": 3327, + "id": 2819, "name": "FunctionCall", - "src": "59411:65:1" + "src": "61097:65:0" } ], - "id": 3328, + "id": 2820, "name": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "children": [ @@ -75619,62 +75619,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3329, + "id": 2821, "name": "Identifier", - "src": "59487:20:1" + "src": "61175:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3330, + "id": 2822, "name": "Identifier", - "src": "59508:4:1" + "src": "61196:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3331, + "id": 2823, "name": "Identifier", - "src": "59514:2:1" + "src": "61202:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3332, + "id": 2824, "name": "Identifier", - "src": "59518:7:1" + "src": "61206:7:0" } ], - "id": 3333, + "id": 2825, "name": "FunctionCall", - "src": "59487:39:1" + "src": "61175:39:0" } ], - "id": 3334, + "id": 2826, "name": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "children": [ @@ -75708,13 +75708,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3335, + "id": 2827, "name": "Identifier", - "src": "59588:8:1" + "src": "61279:8:0" }, { "attributes": { @@ -75750,14 +75750,14 @@ "attributes": { "name": "address" }, - "id": 3336, + "id": 2828, "name": "ElementaryTypeName", - "src": "59597:7:1" + "src": "61288:7:0" } ], - "id": 3337, + "id": 2829, "name": "ElementaryTypeNameExpression", - "src": "59597:7:1" + "src": "61288:7:0" }, { "attributes": { @@ -75770,37 +75770,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3338, + "id": 2830, "name": "Literal", - "src": "59605:1:1" + "src": "61296:1:0" } ], - "id": 3339, + "id": 2831, "name": "FunctionCall", - "src": "59597:10:1" + "src": "61288:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3340, + "id": 2832, "name": "Identifier", - "src": "59609:7:1" + "src": "61300:7:0" } ], - "id": 3341, + "id": 2833, "name": "FunctionCall", - "src": "59588:29:1" + "src": "61279:29:0" } ], - "id": 3342, + "id": 2834, "name": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "children": [ @@ -75832,7 +75832,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75850,59 +75850,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3343, + "id": 2835, "name": "Identifier", - "src": "59628:13:1" + "src": "61321:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3344, + "id": 2836, "name": "Identifier", - "src": "59642:4:1" + "src": "61335:4:0" } ], - "id": 3345, + "id": 2837, "name": "IndexAccess", - "src": "59628:19:1" + "src": "61321:19:0" } ], - "id": 3346, + "id": 2838, "name": "MemberAccess", - "src": "59628:26:1" + "src": "61321:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3347, + "id": 2839, "name": "Identifier", - "src": "59655:7:1" + "src": "61348:7:0" } ], - "id": 3348, + "id": 2840, "name": "FunctionCall", - "src": "59628:35:1" + "src": "61321:35:0" } ], - "id": 3349, + "id": 2841, "name": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "children": [ @@ -75934,7 +75934,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75952,59 +75952,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3350, + "id": 2842, "name": "Identifier", - "src": "59673:13:1" + "src": "61367:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3351, + "id": 2843, "name": "Identifier", - "src": "59687:2:1" + "src": "61381:2:0" } ], - "id": 3352, + "id": 2844, "name": "IndexAccess", - "src": "59673:17:1" + "src": "61367:17:0" } ], - "id": 3353, + "id": 2845, "name": "MemberAccess", - "src": "59673:21:1" + "src": "61367:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3354, + "id": 2846, "name": "Identifier", - "src": "59695:7:1" + "src": "61389:7:0" } ], - "id": 3355, + "id": 2847, "name": "FunctionCall", - "src": "59673:30:1" + "src": "61367:30:0" } ], - "id": 3356, + "id": 2848, "name": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "children": [ @@ -76040,7 +76040,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -76049,54 +76049,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3357, + "id": 2849, "name": "Identifier", - "src": "59714:12:1" + "src": "61410:12:0" } ], - "id": 3359, + "id": 2851, "name": "MemberAccess", - "src": "59714:16:1" + "src": "61410:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3360, + "id": 2852, "name": "Identifier", - "src": "59731:7:1" + "src": "61427:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3361, + "id": 2853, "name": "Identifier", - "src": "59740:2:1" + "src": "61436:2:0" } ], - "id": 3362, + "id": 2854, "name": "FunctionCall", - "src": "59714:29:1" + "src": "61410:29:0" } ], - "id": 3363, + "id": 2855, "name": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "children": [ @@ -76134,72 +76134,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3364, + "id": 2856, "name": "Identifier", - "src": "59759:8:1" + "src": "61457:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3365, + "id": 2857, "name": "Identifier", - "src": "59768:4:1" + "src": "61466:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3366, + "id": 2858, "name": "Identifier", - "src": "59774:2:1" + "src": "61472:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3367, + "id": 2859, "name": "Identifier", - "src": "59778:7:1" + "src": "61476:7:0" } ], - "id": 3368, + "id": 2860, "name": "FunctionCall", - "src": "59759:27:1" + "src": "61457:27:0" } ], - "id": 3369, + "id": 2861, "name": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ], - "id": 3370, + "id": 2862, "name": "Block", - "src": "59288:505:1" + "src": "60972:520:0" } ], - "id": 3371, + "id": 2863, "name": "FunctionDefinition", - "src": "59209:584:1" + "src": "60893:599:0" }, { "attributes": { @@ -76210,7 +76210,7 @@ null ], "name": "_setTokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -76220,9 +76220,9 @@ "attributes": { "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3372, + "id": 2864, "name": "StructuredDocumentation", - "src": "59799:136:1" + "src": "61500:142:0" }, { "children": [ @@ -76231,7 +76231,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -76243,21 +76243,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3373, + "id": 2865, "name": "ElementaryTypeName", - "src": "59962:7:1" + "src": "61670:7:0" } ], - "id": 3374, + "id": 2866, "name": "VariableDeclaration", - "src": "59962:15:1" + "src": "61670:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -76269,19 +76269,19 @@ "name": "string", "type": "string" }, - "id": 3375, + "id": 2867, "name": "ElementaryTypeName", - "src": "59979:6:1" + "src": "61687:6:0" } ], - "id": 3376, + "id": 2868, "name": "VariableDeclaration", - "src": "59979:23:1" + "src": "61687:23:0" } ], - "id": 3377, + "id": 2869, "name": "ParameterList", - "src": "59961:42:1" + "src": "61669:42:0" }, { "attributes": { @@ -76290,9 +76290,9 @@ ] }, "children": [], - "id": 3378, + "id": 2870, "name": "ParameterList", - "src": "60021:0:1" + "src": "61729:0:0" }, { "children": [ @@ -76333,9 +76333,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3379, + "id": 2871, "name": "Identifier", - "src": "60031:7:1" + "src": "61740:7:0" }, { "attributes": { @@ -76363,31 +76363,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3380, + "id": 2872, "name": "Identifier", - "src": "60039:7:1" + "src": "61748:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3381, + "id": 2873, "name": "Identifier", - "src": "60047:7:1" + "src": "61756:7:0" } ], - "id": 3382, + "id": 2874, "name": "FunctionCall", - "src": "60039:16:1" + "src": "61748:16:0" }, { "attributes": { @@ -76400,19 +76400,19 @@ "type": "literal_string \"ERC721Metadata: URI set of nonexistent token\"", "value": "ERC721Metadata: URI set of nonexistent token" }, - "id": 3383, + "id": 2875, "name": "Literal", - "src": "60057:46:1" + "src": "61766:46:0" } ], - "id": 3384, + "id": 2876, "name": "FunctionCall", - "src": "60031:73:1" + "src": "61740:73:0" } ], - "id": 3385, + "id": 2877, "name": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "children": [ @@ -76440,64 +76440,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3386, + "id": 2878, "name": "Identifier", - "src": "60114:10:1" + "src": "61824:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3387, + "id": 2879, "name": "Identifier", - "src": "60125:7:1" + "src": "61835:7:0" } ], - "id": 3388, + "id": 2880, "name": "IndexAccess", - "src": "60114:19:1" + "src": "61824:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3376, + "referencedDeclaration": 2868, "type": "string memory", "value": "_tokenURI" }, - "id": 3389, + "id": 2881, "name": "Identifier", - "src": "60136:9:1" + "src": "61846:9:0" } ], - "id": 3390, + "id": 2882, "name": "Assignment", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3391, + "id": 2883, "name": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3392, + "id": 2884, "name": "Block", - "src": "60021:131:1" + "src": "61729:134:0" } ], - "id": 3393, + "id": 2885, "name": "FunctionDefinition", - "src": "59940:212:1" + "src": "61648:215:0" }, { "attributes": { @@ -76508,7 +76508,7 @@ null ], "name": "_setBaseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -76518,9 +76518,9 @@ "attributes": { "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3394, + "id": 2886, "name": "StructuredDocumentation", - "src": "60158:212:1" + "src": "61871:216:0" }, { "children": [ @@ -76529,7 +76529,7 @@ "constant": false, "mutability": "mutable", "name": "baseURI_", - "scope": 3404, + "scope": 2896, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -76541,19 +76541,19 @@ "name": "string", "type": "string" }, - "id": 3395, + "id": 2887, "name": "ElementaryTypeName", - "src": "60396:6:1" + "src": "62114:6:0" } ], - "id": 3396, + "id": 2888, "name": "VariableDeclaration", - "src": "60396:22:1" + "src": "62114:22:0" } ], - "id": 3397, + "id": 2889, "name": "ParameterList", - "src": "60395:24:1" + "src": "62113:24:0" }, { "attributes": { @@ -76562,9 +76562,9 @@ ] }, "children": [], - "id": 3398, + "id": 2890, "name": "ParameterList", - "src": "60437:0:1" + "src": "62155:0:0" }, { "children": [ @@ -76585,46 +76585,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 3399, + "id": 2891, "name": "Identifier", - "src": "60447:8:1" + "src": "62166:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3396, + "referencedDeclaration": 2888, "type": "string memory", "value": "baseURI_" }, - "id": 3400, + "id": 2892, "name": "Identifier", - "src": "60458:8:1" + "src": "62177:8:0" } ], - "id": 3401, + "id": 2893, "name": "Assignment", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3402, + "id": 2894, "name": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3403, + "id": 2895, "name": "Block", - "src": "60437:36:1" + "src": "62155:38:0" } ], - "id": 3404, + "id": 2896, "name": "FunctionDefinition", - "src": "60375:98:1" + "src": "62093:100:0" }, { "attributes": { @@ -76635,7 +76635,7 @@ null ], "name": "_checkOnERC721Received", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -76645,9 +76645,9 @@ "attributes": { "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3405, + "id": 2897, "name": "StructuredDocumentation", - "src": "60479:542:1" + "src": "62201:551:0" }, { "children": [ @@ -76656,7 +76656,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76669,21 +76669,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3406, + "id": 2898, "name": "ElementaryTypeName", - "src": "61058:7:1" + "src": "62790:7:0" } ], - "id": 3407, + "id": 2899, "name": "VariableDeclaration", - "src": "61058:12:1" + "src": "62790:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76696,21 +76696,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3408, + "id": 2900, "name": "ElementaryTypeName", - "src": "61072:7:1" + "src": "62804:7:0" } ], - "id": 3409, + "id": 2901, "name": "VariableDeclaration", - "src": "61072:10:1" + "src": "62804:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -76722,21 +76722,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3410, + "id": 2902, "name": "ElementaryTypeName", - "src": "61084:7:1" + "src": "62816:7:0" } ], - "id": 3411, + "id": 2903, "name": "VariableDeclaration", - "src": "61084:15:1" + "src": "62816:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76748,19 +76748,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3412, + "id": 2904, "name": "ElementaryTypeName", - "src": "61101:5:1" + "src": "62833:5:0" } ], - "id": 3413, + "id": 2905, "name": "VariableDeclaration", - "src": "61101:18:1" + "src": "62833:18:0" } ], - "id": 3414, + "id": 2906, "name": "ParameterList", - "src": "61057:63:1" + "src": "62789:63:0" }, { "children": [ @@ -76769,7 +76769,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -76781,19 +76781,19 @@ "name": "bool", "type": "bool" }, - "id": 3415, + "id": 2907, "name": "ElementaryTypeName", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3416, + "id": 2908, "name": "VariableDeclaration", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3417, + "id": 2909, "name": "ParameterList", - "src": "61145:6:1" + "src": "62878:6:0" }, { "children": [ @@ -76839,7 +76839,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isContract", - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)" }, "children": [ @@ -76848,34 +76848,34 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3418, + "id": 2910, "name": "Identifier", - "src": "61171:2:1" + "src": "62906:2:0" } ], - "id": 3419, + "id": 2911, "name": "MemberAccess", - "src": "61171:13:1" + "src": "62906:13:0" } ], - "id": 3420, + "id": 2912, "name": "FunctionCall", - "src": "61171:15:1" + "src": "62906:15:0" } ], - "id": 3421, + "id": 2913, "name": "UnaryOperation", - "src": "61170:16:1" + "src": "62905:16:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -76889,29 +76889,29 @@ "type": "bool", "value": "true" }, - "id": 3422, + "id": 2914, "name": "Literal", - "src": "61209:4:1" + "src": "62945:4:0" } ], - "id": 3423, + "id": 2915, "name": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ], - "id": 3424, + "id": 2916, "name": "Block", - "src": "61188:36:1" + "src": "62923:38:0" } ], - "id": 3425, + "id": 2917, "name": "IfStatement", - "src": "61166:58:1" + "src": "62901:60:0" }, { "attributes": { "assignments": [ - 3427 + 2919 ] }, "children": [ @@ -76920,7 +76920,7 @@ "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76932,14 +76932,14 @@ "name": "bytes", "type": "bytes" }, - "id": 3426, + "id": 2918, "name": "ElementaryTypeName", - "src": "61233:5:1" + "src": "62971:5:0" } ], - "id": 3427, + "id": 2919, "name": "VariableDeclaration", - "src": "61233:23:1" + "src": "62971:23:0" }, { "attributes": { @@ -76973,7 +76973,7 @@ "isPure": false, "lValueRequested": false, "member_name": "functionCall", - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)" }, "children": [ @@ -76982,18 +76982,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3428, + "id": 2920, "name": "Identifier", - "src": "61259:2:1" + "src": "62997:2:0" } ], - "id": 3429, + "id": 2921, "name": "MemberAccess", - "src": "61259:15:1" + "src": "62997:15:0" }, { "attributes": { @@ -77051,14 +77051,14 @@ "type": "abi", "value": "abi" }, - "id": 3430, + "id": 2922, "name": "Identifier", - "src": "61275:3:1" + "src": "63013:3:0" } ], - "id": 3431, + "id": 2923, "name": "MemberAccess", - "src": "61275:22:1" + "src": "63013:22:0" }, { "attributes": { @@ -77077,7 +77077,7 @@ "isPure": false, "lValueRequested": false, "member_name": "onERC721Received", - "referencedDeclaration": 725, + "referencedDeclaration": 217, "type": "function (address,address,uint256,bytes memory) external returns (bytes4)" }, "children": [ @@ -77107,41 +77107,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 726, + "referencedDeclaration": 218, "type": "type(contract IERC721Receiver)", "value": "IERC721Receiver" }, - "id": 3432, + "id": 2924, "name": "Identifier", - "src": "61311:15:1" + "src": "63050:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3433, + "id": 2925, "name": "Identifier", - "src": "61327:2:1" + "src": "63066:2:0" } ], - "id": 3434, + "id": 2926, "name": "FunctionCall", - "src": "61311:19:1" + "src": "63050:19:0" } ], - "id": 3435, + "id": 2927, "name": "MemberAccess", - "src": "61311:36:1" + "src": "63050:36:0" } ], - "id": 3436, + "id": 2928, "name": "MemberAccess", - "src": "61311:45:1" + "src": "63050:45:0" }, { "attributes": { @@ -77169,62 +77169,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3437, + "id": 2929, "name": "Identifier", - "src": "61370:10:1" + "src": "63110:10:0" } ], - "id": 3438, + "id": 2930, "name": "FunctionCall", - "src": "61370:12:1" + "src": "63110:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3407, + "referencedDeclaration": 2899, "type": "address", "value": "from" }, - "id": 3439, + "id": 2931, "name": "Identifier", - "src": "61396:4:1" + "src": "63137:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3411, + "referencedDeclaration": 2903, "type": "uint256", "value": "tokenId" }, - "id": 3440, + "id": 2932, "name": "Identifier", - "src": "61414:7:1" + "src": "63156:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3413, + "referencedDeclaration": 2905, "type": "bytes memory", "value": "_data" }, - "id": 3441, + "id": 2933, "name": "Identifier", - "src": "61435:5:1" + "src": "63178:5:0" } ], - "id": 3442, + "id": 2934, "name": "FunctionCall", - "src": "61275:175:1" + "src": "63013:181:0" }, { "attributes": { @@ -77237,24 +77237,24 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3443, + "id": 2935, "name": "Literal", - "src": "61452:52:1" + "src": "63196:52:0" } ], - "id": 3444, + "id": 2936, "name": "FunctionCall", - "src": "61259:246:1" + "src": "62997:252:0" } ], - "id": 3445, + "id": 2937, "name": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "attributes": { "assignments": [ - 3447 + 2939 ] }, "children": [ @@ -77263,7 +77263,7 @@ "constant": false, "mutability": "mutable", "name": "retval", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -77275,14 +77275,14 @@ "name": "bytes4", "type": "bytes4" }, - "id": 3446, + "id": 2938, "name": "ElementaryTypeName", - "src": "61515:6:1" + "src": "63260:6:0" } ], - "id": 3447, + "id": 2939, "name": "VariableDeclaration", - "src": "61515:13:1" + "src": "63260:13:0" }, { "attributes": { @@ -77328,27 +77328,27 @@ "type": "abi", "value": "abi" }, - "id": 3448, + "id": 2940, "name": "Identifier", - "src": "61531:3:1" + "src": "63276:3:0" } ], - "id": 3449, + "id": 2941, "name": "MemberAccess", - "src": "61531:10:1" + "src": "63276:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3427, + "referencedDeclaration": 2919, "type": "bytes memory", "value": "returndata" }, - "id": 3450, + "id": 2942, "name": "Identifier", - "src": "61542:10:1" + "src": "63287:10:0" }, { "attributes": { @@ -77373,33 +77373,33 @@ "attributes": { "name": "bytes4" }, - "id": 3451, + "id": 2943, "name": "ElementaryTypeName", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3452, + "id": 2944, "name": "ElementaryTypeNameExpression", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3453, + "id": 2945, "name": "TupleExpression", - "src": "61554:8:1" + "src": "63299:8:0" } ], - "id": 3454, + "id": 2946, "name": "FunctionCall", - "src": "61531:32:1" + "src": "63276:32:0" } ], - "id": 3455, + "id": 2947, "name": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -77431,51 +77431,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3447, + "referencedDeclaration": 2939, "type": "bytes4", "value": "retval" }, - "id": 3456, + "id": 2948, "name": "Identifier", - "src": "61581:6:1" + "src": "63327:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2596, + "referencedDeclaration": 2088, "type": "bytes4", "value": "_ERC721_RECEIVED" }, - "id": 3457, + "id": 2949, "name": "Identifier", - "src": "61591:16:1" + "src": "63337:16:0" } ], - "id": 3458, + "id": 2950, "name": "BinaryOperation", - "src": "61581:26:1" + "src": "63327:26:0" } ], - "id": 3459, + "id": 2951, "name": "TupleExpression", - "src": "61580:28:1" + "src": "63326:28:0" } ], - "id": 3460, + "id": 2952, "name": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ], - "id": 3461, + "id": 2953, "name": "Block", - "src": "61156:459:1" + "src": "62890:472:0" } ], - "id": 3462, + "id": 2954, "name": "FunctionDefinition", - "src": "61026:589:1" + "src": "62758:604:0" }, { "attributes": { @@ -77486,7 +77486,7 @@ null ], "name": "_approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77496,9 +77496,9 @@ "attributes": { "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3463, + "id": 2955, "name": "StructuredDocumentation", - "src": "61621:101:1" + "src": "63370:105:0" }, { "children": [ @@ -77507,7 +77507,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77520,21 +77520,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3464, + "id": 2956, "name": "ElementaryTypeName", - "src": "61745:7:1" + "src": "63499:7:0" } ], - "id": 3465, + "id": 2957, "name": "VariableDeclaration", - "src": "61745:10:1" + "src": "63499:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77546,19 +77546,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3466, + "id": 2958, "name": "ElementaryTypeName", - "src": "61757:7:1" + "src": "63511:7:0" } ], - "id": 3467, + "id": 2959, "name": "VariableDeclaration", - "src": "61757:15:1" + "src": "63511:15:0" } ], - "id": 3468, + "id": 2960, "name": "ParameterList", - "src": "61744:29:1" + "src": "63498:29:0" }, { "attributes": { @@ -77567,9 +77567,9 @@ ] }, "children": [], - "id": 3469, + "id": 2961, "name": "ParameterList", - "src": "61791:0:1" + "src": "63545:0:0" }, { "children": [ @@ -77599,54 +77599,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 3470, + "id": 2962, "name": "Identifier", - "src": "61801:15:1" + "src": "63556:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3471, + "id": 2963, "name": "Identifier", - "src": "61817:7:1" + "src": "63572:7:0" } ], - "id": 3472, + "id": 2964, "name": "IndexAccess", - "src": "61801:24:1" + "src": "63556:24:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3473, + "id": 2965, "name": "Identifier", - "src": "61828:2:1" + "src": "63583:2:0" } ], - "id": 3474, + "id": 2966, "name": "Assignment", - "src": "61801:29:1" + "src": "63556:29:0" } ], - "id": 3475, + "id": 2967, "name": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "children": [ @@ -77684,13 +77684,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 563, + "referencedDeclaration": 55, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 3476, + "id": 2968, "name": "Identifier", - "src": "61845:8:1" + "src": "63601:8:0" }, { "attributes": { @@ -77720,7 +77720,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -77729,82 +77729,82 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3477, + "id": 2969, "name": "Identifier", - "src": "61854:6:1" + "src": "63610:6:0" } ], - "id": 3478, + "id": 2970, "name": "MemberAccess", - "src": "61854:14:1" + "src": "63610:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3479, + "id": 2971, "name": "Identifier", - "src": "61869:7:1" + "src": "63625:7:0" } ], - "id": 3480, + "id": 2972, "name": "FunctionCall", - "src": "61854:23:1" + "src": "63610:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3481, + "id": 2973, "name": "Identifier", - "src": "61879:2:1" + "src": "63635:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3482, + "id": 2974, "name": "Identifier", - "src": "61883:7:1" + "src": "63639:7:0" } ], - "id": 3483, + "id": 2975, "name": "FunctionCall", - "src": "61845:46:1" + "src": "63601:46:0" } ], - "id": 3484, + "id": 2976, "name": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ], - "id": 3485, + "id": 2977, "name": "Block", - "src": "61791:125:1" + "src": "63545:128:0" } ], - "id": 3486, + "id": 2978, "name": "FunctionDefinition", - "src": "61727:189:1" + "src": "63481:192:0" }, { "attributes": { @@ -77815,7 +77815,7 @@ null ], "name": "_beforeTokenTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77825,9 +77825,9 @@ "attributes": { "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3487, + "id": 2979, "name": "StructuredDocumentation", - "src": "61922:585:1" + "src": "63681:599:0" }, { "children": [ @@ -77836,7 +77836,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77849,21 +77849,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3488, + "id": 2980, "name": "ElementaryTypeName", - "src": "62542:7:1" + "src": "64316:7:0" } ], - "id": 3489, + "id": 2981, "name": "VariableDeclaration", - "src": "62542:12:1" + "src": "64316:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77876,21 +77876,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3490, + "id": 2982, "name": "ElementaryTypeName", - "src": "62556:7:1" + "src": "64330:7:0" } ], - "id": 3491, + "id": 2983, "name": "VariableDeclaration", - "src": "62556:10:1" + "src": "64330:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77902,19 +77902,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3492, + "id": 2984, "name": "ElementaryTypeName", - "src": "62568:7:1" + "src": "64342:7:0" } ], - "id": 3493, + "id": 2985, "name": "VariableDeclaration", - "src": "62568:15:1" + "src": "64342:15:0" } ], - "id": 3494, + "id": 2986, "name": "ParameterList", - "src": "62541:43:1" + "src": "64315:43:0" }, { "attributes": { @@ -77923,9 +77923,9 @@ ] }, "children": [], - "id": 3495, + "id": 2987, "name": "ParameterList", - "src": "62602:0:1" + "src": "64376:0:0" }, { "attributes": { @@ -77934,32 +77934,32 @@ ] }, "children": [], - "id": 3496, + "id": 2988, "name": "Block", - "src": "62602:3:1" + "src": "64376:3:0" } ], - "id": 3497, + "id": 2989, "name": "FunctionDefinition", - "src": "62512:93:1" + "src": "64286:93:0" } ], - "id": 3498, + "id": 2990, "name": "ContractDefinition", - "src": "46080:16527:1" + "src": "47398:16984:0" } ], - "id": 3499, + "id": 2991, "name": "SourceUnit", - "src": "84:62524:1" + "src": "87:64297:0" }, "compiler": { "name": "solc", "version": "0.7.6+commit.7338295f.Emscripten.clang" }, "networks": {}, - "schemaVersion": "3.3.4", - "updatedAt": "2021-03-13T11:18:07.325Z", + "schemaVersion": "3.4.3", + "updatedAt": "2021-10-13T09:55:47.045Z", "devdoc": { "details": "see https://eips.ethereum.org/EIPS/eip-721", "kind": "dev", diff --git a/src/abis/EnumerableMap.json b/src/abis/EnumerableMap.json index 0d8438b..8abf61d 100644 --- a/src/abis/EnumerableMap.json +++ b/src/abis/EnumerableMap.json @@ -1,65 +1,65 @@ { "contractName": "EnumerableMap", "abi": [], - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Library for managing an enumerable variant of Solidity's https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] type. Maps have the following properties: - Entries are added, removed, and checked for existence in constant time (O(1)). - Entries are enumerated in O(n). No guarantees are made on the ordering. ``` contract Example { // Add the library methods using EnumerableMap for EnumerableMap.UintToAddressMap; // Declare a set state variable EnumerableMap.UintToAddressMap private myMap; } ``` As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are supported.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":\"EnumerableMap\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":{\"keccak256\":\"0xac9220652f9879c5fb3116025d59e8fbf6c2c3d149aed9f617b88edd31402044\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://48de100723de94a6590c6db5bae5098a93445194389c3f3eeb104c7239ef3044\",\"dweb:/ipfs/QmVHLEtfLqBqX7XQRHfLuuwtufRBFJFHfgY4zbFRpaZwXC\"]}},\"version\":1}", - "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200d4b49b02d32e8a038359523216d2d71fecc6c02dcf083695fcf753713bac4ef64736f6c63430007060033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200d4b49b02d32e8a038359523216d2d71fecc6c02dcf083695fcf753713bac4ef64736f6c63430007060033", + "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Library for managing an enumerable variant of Solidity's https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] type. Maps have the following properties: - Entries are added, removed, and checked for existence in constant time (O(1)). - Entries are enumerated in O(n). No guarantees are made on the ordering. ``` contract Example { // Add the library methods using EnumerableMap for EnumerableMap.UintToAddressMap; // Declare a set state variable EnumerableMap.UintToAddressMap private myMap; } ``` As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are supported.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/src/contracts/ERC721.sol\":\"EnumerableMap\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/src/contracts/ERC721.sol\":{\"keccak256\":\"0xbbf5d35e3785428d14b29cf40a6a1f82d9275af46f6f80ec5f330615911aa767\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e5479e3deda288fc9c642c0449113673031cb9834a3507621d5bd7e292969e16\",\"dweb:/ipfs/QmcKjBg55emL46LCBPRw1Y79fz3aGiMiQXFeWcDpJisEgJ\"]}},\"version\":1}", + "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a22498d1c13978ff2929c380167ff3e02b7cdfe1af4482be5d3f07d75b23d9c864736f6c63430007060033", + "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220a22498d1c13978ff2929c380167ff3e02b7cdfe1af4482be5d3f07d75b23d9c864736f6c63430007060033", "immutableReferences": {}, "generatedSources": [], "deployedGeneratedSources": [], - "sourceMap": "35943:8963:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "35943:8963:1:-:0;;;;;;;;", - "source": "// SPDX-License-Identifier: MIT\n\n// File: @openzeppelin/contracts/utils/Context.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/*\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with GSN meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n function _msgSender() internal view virtual returns (address payable) {\n return msg.sender;\n }\n\n function _msgData() internal view virtual returns (bytes memory) {\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\n return msg.data;\n }\n}\n\n// File: @openzeppelin/contracts/introspection/IERC165.sol\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n /**\n * @dev Returns true if this contract implements the interface defined by\n * `interfaceId`. See the corresponding\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n * to learn more about how these ids are created.\n *\n * This function call must use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n /**\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n */\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n */\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n */\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n /**\n * @dev Returns the number of tokens in ``owner``'s account.\n */\n function balanceOf(address owner) external view returns (uint256 balance);\n\n /**\n * @dev Returns the owner of the `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function ownerOf(uint256 tokenId) external view returns (address owner);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Transfers `tokenId` token from `from` to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n * The approval is cleared when the token is transferred.\n *\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n *\n * Requirements:\n *\n * - The caller must own the token or be an approved operator.\n * - `tokenId` must exist.\n *\n * Emits an {Approval} event.\n */\n function approve(address to, uint256 tokenId) external;\n\n /**\n * @dev Returns the account approved for `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function getApproved(uint256 tokenId) external view returns (address operator);\n\n /**\n * @dev Approve or remove `operator` as an operator for the caller.\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n *\n * Requirements:\n *\n * - The `operator` cannot be the caller.\n *\n * Emits an {ApprovalForAll} event.\n */\n function setApprovalForAll(address operator, bool _approved) external;\n\n /**\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n *\n * See {setApprovalForAll}\n */\n function isApprovedForAll(address owner, address operator) external view returns (bool);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n\n /**\n * @dev Returns the token collection name.\n */\n function name() external view returns (string memory);\n\n /**\n * @dev Returns the token collection symbol.\n */\n function symbol() external view returns (string memory);\n\n /**\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n */\n function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\n\n\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Enumerable is IERC721 {\n\n /**\n * @dev Returns the total amount of tokens stored by the contract.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\n\n /**\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n * Use along with {totalSupply} to enumerate all tokens.\n */\n function tokenByIndex(uint256 index) external view returns (uint256);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\n\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC721 asset contracts.\n */\ninterface IERC721Receiver {\n /**\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n * by `operator` from `from`, this function is called.\n *\n * It must return its Solidity selector to confirm the token transfer.\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n *\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\n */\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\n}\n\n// File: @openzeppelin/contracts/introspection/ERC165.sol\npragma solidity >=0.6.0 <0.8.0;\n\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts may inherit from this and call {_registerInterface} to declare\n * their support of an interface.\n */\nabstract contract ERC165 is IERC165 {\n /*\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\n */\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\n\n /**\n * @dev Mapping of interface ids to whether or not it's supported.\n */\n mapping(bytes4 => bool) private _supportedInterfaces;\n\n constructor () {\n // Derived contracts need only register support for their own interfaces,\n // we register support for ERC165 itself here\n _registerInterface(_INTERFACE_ID_ERC165);\n }\n\n /**\n * @dev See {IERC165-supportsInterface}.\n *\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n return _supportedInterfaces[interfaceId];\n }\n\n /**\n * @dev Registers the contract as an implementer of the interface defined by\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\n * registering its interface id is not required.\n *\n * See {IERC165-supportsInterface}.\n *\n * Requirements:\n *\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\n */\n function _registerInterface(bytes4 interfaceId) internal virtual {\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\n _supportedInterfaces[interfaceId] = true;\n }\n}\n\n// File: @openzeppelin/contracts/math/SafeMath.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\n * checks.\n *\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\n * in bugs, because programmers usually assume that an overflow raises an\n * error, which is the standard behavior in high level programming languages.\n * `SafeMath` restores this intuition by reverting the transaction when an\n * operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeMath {\n /**\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n uint256 c = a + b;\n if (c < a) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b > a) return (false, 0);\n return (true, a - b);\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n // benefit is lost if 'b' is also tested.\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n if (a == 0) return (true, 0);\n uint256 c = a * b;\n if (c / a != b) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a / b);\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a % b);\n }\n\n /**\n * @dev Returns the addition of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `+` operator.\n *\n * Requirements:\n *\n * - Addition cannot overflow.\n */\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a + b;\n require(c >= a, \"SafeMath: addition overflow\");\n return c;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting on\n * overflow (when the result is negative).\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b <= a, \"SafeMath: subtraction overflow\");\n return a - b;\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `*` operator.\n *\n * Requirements:\n *\n * - Multiplication cannot overflow.\n */\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) return 0;\n uint256 c = a * b;\n require(c / a == b, \"SafeMath: multiplication overflow\");\n return c;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting on\n * division by zero. The result is rounded towards zero.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: division by zero\");\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting when dividing by zero.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: modulo by zero\");\n return a % b;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n * overflow (when the result is negative).\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {trySub}.\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b <= a, errorMessage);\n return a - b;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\n * division by zero. The result is rounded towards zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryDiv}.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting with custom message when dividing by zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryMod}.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a % b;\n }\n}\n\n// File: @openzeppelin/contracts/utils/Address.sol\npragma solidity >=0.6.2 <0.8.0;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n /**\n * @dev Returns true if `account` is a contract.\n *\n * [IMPORTANT]\n * ====\n * It is unsafe to assume that an address for which this function returns\n * false is an externally-owned account (EOA) and not a contract.\n *\n * Among others, `isContract` will return false for the following\n * types of addresses:\n *\n * - an externally-owned account\n * - a contract in construction\n * - an address where a contract will be created\n * - an address where a contract lived, but was destroyed\n * ====\n */\n function isContract(address account) internal view returns (bool) {\n // This method relies on extcodesize, which returns 0 for contracts in\n // construction, since the code is only stored at the end of the\n // constructor execution.\n\n uint256 size;\n // solhint-disable-next-line no-inline-assembly\n assembly { size := extcodesize(account) }\n return size > 0;\n }\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\n (bool success, ) = recipient.call{ value: amount }(\"\");\n require(success, \"Address: unable to send value, recipient may have reverted\");\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain`call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason, it is bubbled up by this\n * function (like regular Solidity function calls).\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCall(target, data, \"Address: low-level call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n * `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n * with `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\n require(isContract(target), \"Address: call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\n require(isContract(target), \"Address: static call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.staticcall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n require(isContract(target), \"Address: delegate call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.delegatecall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\n if (success) {\n return returndata;\n } else {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n\n // solhint-disable-next-line no-inline-assembly\n assembly {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert(errorMessage);\n }\n }\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n * types.\n *\n * Sets have the following properties:\n *\n * - Elements are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableSet for EnumerableSet.AddressSet;\n *\n * // Declare a set state variable\n * EnumerableSet.AddressSet private mySet;\n * }\n * ```\n *\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n * and `uint256` (`UintSet`) are supported.\n */\nlibrary EnumerableSet {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Set type with\n // bytes32 values.\n // The Set implementation uses private functions, and user-facing\n // implementations (such as AddressSet) are just wrappers around the\n // underlying Set.\n // This means that we can only create new EnumerableSets for types that fit\n // in bytes32.\n\n struct Set {\n // Storage of set values\n bytes32[] _values;\n\n // Position of the value in the `values` array, plus 1 because index 0\n // means a value is not in the set.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function _add(Set storage set, bytes32 value) private returns (bool) {\n if (!_contains(set, value)) {\n set._values.push(value);\n // The value is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n set._indexes[value] = set._values.length;\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function _remove(Set storage set, bytes32 value) private returns (bool) {\n // We read and store the value's index to prevent multiple reads from the same storage slot\n uint256 valueIndex = set._indexes[value];\n\n if (valueIndex != 0) { // Equivalent to contains(set, value)\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\n // the array, and then remove the last element (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = valueIndex - 1;\n uint256 lastIndex = set._values.length - 1;\n\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n bytes32 lastvalue = set._values[lastIndex];\n\n // Move the last value to the index where the value to delete is\n set._values[toDeleteIndex] = lastvalue;\n // Update the index for the moved value\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved value was stored\n set._values.pop();\n\n // Delete the index for the deleted slot\n delete set._indexes[value];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\n return set._indexes[value] != 0;\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function _length(Set storage set) private view returns (uint256) {\n return set._values.length;\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\n return set._values[index];\n }\n\n // Bytes32Set\n\n struct Bytes32Set {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _add(set._inner, value);\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _remove(set._inner, value);\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\n return _contains(set._inner, value);\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(Bytes32Set storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\n return _at(set._inner, index);\n }\n\n // AddressSet\n\n struct AddressSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(AddressSet storage set, address value) internal returns (bool) {\n return _add(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(AddressSet storage set, address value) internal returns (bool) {\n return _remove(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(AddressSet storage set, address value) internal view returns (bool) {\n return _contains(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(AddressSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\n return address(uint160(uint256(_at(set._inner, index))));\n }\n\n\n // UintSet\n\n struct UintSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(UintSet storage set, uint256 value) internal returns (bool) {\n return _add(set._inner, bytes32(value));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\n return _remove(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\n return _contains(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function length(UintSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\n return uint256(_at(set._inner, index));\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing an enumerable variant of Solidity's\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n * type.\n *\n * Maps have the following properties:\n *\n * - Entries are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\n *\n * // Declare a set state variable\n * EnumerableMap.UintToAddressMap private myMap;\n * }\n * ```\n *\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n * supported.\n */\nlibrary EnumerableMap {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Map type with\n // bytes32 keys and values.\n // The Map implementation uses private functions, and user-facing\n // implementations (such as Uint256ToAddressMap) are just wrappers around\n // the underlying Map.\n // This means that we can only create new EnumerableMaps for types that fit\n // in bytes32.\n\n struct MapEntry {\n bytes32 _key;\n bytes32 _value;\n }\n\n struct Map {\n // Storage of map keys and values\n MapEntry[] _entries;\n\n // Position of the entry defined by a key in the `entries` array, plus 1\n // because index 0 means a key is not in the map.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\n map._entries.push(MapEntry({ _key: key, _value: value }));\n // The entry is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n map._indexes[key] = map._entries.length;\n return true;\n } else {\n map._entries[keyIndex - 1]._value = value;\n return false;\n }\n }\n\n /**\n * @dev Removes a key-value pair from a map. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function _remove(Map storage map, bytes32 key) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex != 0) { // Equivalent to contains(map, key)\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = keyIndex - 1;\n uint256 lastIndex = map._entries.length - 1;\n\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n MapEntry storage lastEntry = map._entries[lastIndex];\n\n // Move the last entry to the index where the entry to delete is\n map._entries[toDeleteIndex] = lastEntry;\n // Update the index for the moved entry\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved entry was stored\n map._entries.pop();\n\n // Delete the index for the deleted slot\n delete map._indexes[key];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\n return map._indexes[key] != 0;\n }\n\n /**\n * @dev Returns the number of key-value pairs in the map. O(1).\n */\n function _length(Map storage map) private view returns (uint256) {\n return map._entries.length;\n }\n\n /**\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\n *\n * Note that there are no guarantees on the ordering of entries inside the\n * array, and it may change when more entries are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\n\n MapEntry storage entry = map._entries[index];\n return (entry._key, entry._value);\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n */\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\n uint256 keyIndex = map._indexes[key];\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n /**\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {_tryGet}.\n */\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n // UintToAddressMap\n\n struct UintToAddressMap {\n Map _inner;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\n return _remove(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\n return _contains(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns the number of elements in the map. O(1).\n */\n function length(UintToAddressMap storage map) internal view returns (uint256) {\n return _length(map._inner);\n }\n\n /**\n * @dev Returns the element stored at position `index` in the set. O(1).\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\n (bytes32 key, bytes32 value) = _at(map._inner, index);\n return (uint256(key), address(uint160(uint256(value))));\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n *\n * _Available since v3.4._\n */\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\n return (success, address(uint160(uint256(value))));\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\n }\n\n /**\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryGet}.\n */\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\n }\n}\n\n// File: @openzeppelin/contracts/utils/Strings.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n /**\n * @dev Converts a `uint256` to its ASCII `string` representation.\n */\n function toString(uint256 value) internal pure returns (string memory) {\n // Inspired by OraclizeAPI's implementation - MIT licence\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\n\n if (value == 0) {\n return \"0\";\n }\n uint256 temp = value;\n uint256 digits;\n while (temp != 0) {\n digits++;\n temp /= 10;\n }\n bytes memory buffer = new bytes(digits);\n uint256 index = digits - 1;\n temp = value;\n while (temp != 0) {\n buffer[index--] = bytes1(uint8(48 + temp % 10));\n temp /= 10;\n }\n return string(buffer);\n }\n}\n\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 Non-Fungible Token Standard basic implementation\n * @dev see https://eips.ethereum.org/EIPS/eip-721\n */\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\n using SafeMath for uint256;\n using Address for address;\n using EnumerableSet for EnumerableSet.UintSet;\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n using Strings for uint256;\n\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\n\n // Mapping from holder address to their (enumerable) set of owned tokens\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\n\n // Enumerable mapping from token ids to their owners\n EnumerableMap.UintToAddressMap private _tokenOwners;\n\n // Mapping from token ID to approved address\n mapping (uint256 => address) private _tokenApprovals;\n\n // Mapping from owner to operator approvals\n mapping (address => mapping (address => bool)) private _operatorApprovals;\n\n // Token name\n string private _name;\n\n // Token symbol\n string private _symbol;\n\n // Optional mapping for token URIs\n mapping (uint256 => string) private _tokenURIs;\n\n // Base URI\n string private _baseURI;\n\n /*\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\n *\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\n */\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\n\n /*\n * bytes4(keccak256('name()')) == 0x06fdde03\n * bytes4(keccak256('symbol()')) == 0x95d89b41\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\n *\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\n */\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\n\n /*\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\n *\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\n */\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\n\n /**\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\n */\n constructor (string memory name_, string memory symbol_) {\n _name = name_;\n _symbol = symbol_;\n\n // register the supported interfaces to conform to ERC721 via ERC165\n _registerInterface(_INTERFACE_ID_ERC721);\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\n }\n\n /**\n * @dev See {IERC721-balanceOf}.\n */\n function balanceOf(address owner) public view virtual override returns (uint256) {\n require(owner != address(0), \"ERC721: balance query for the zero address\");\n return _holderTokens[owner].length();\n }\n\n /**\n * @dev See {IERC721-ownerOf}.\n */\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\n }\n\n /**\n * @dev See {IERC721Metadata-name}.\n */\n function name() public view virtual override returns (string memory) {\n return _name;\n }\n\n /**\n * @dev See {IERC721Metadata-symbol}.\n */\n function symbol() public view virtual override returns (string memory) {\n return _symbol;\n }\n\n /**\n * @dev See {IERC721Metadata-tokenURI}.\n */\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\n\n string memory _tokenURI = _tokenURIs[tokenId];\n string memory base = baseURI();\n\n // If there is no base URI, return the token URI.\n if (bytes(base).length == 0) {\n return _tokenURI;\n }\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\n if (bytes(_tokenURI).length > 0) {\n return string(abi.encodePacked(base, _tokenURI));\n }\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\n return string(abi.encodePacked(base, tokenId.toString()));\n }\n\n /**\n * @dev Returns the base URI set via {_setBaseURI}. This will be\n * automatically added as a prefix in {tokenURI} to each token's URI, or\n * to the token ID if no specific URI is set for that token ID.\n */\n function baseURI() public view virtual returns (string memory) {\n return _baseURI;\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\n return _holderTokens[owner].at(index);\n }\n\n /**\n * @dev See {IERC721Enumerable-totalSupply}.\n */\n function totalSupply() public view virtual override returns (uint256) {\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\n return _tokenOwners.length();\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenByIndex}.\n */\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\n (uint256 tokenId, ) = _tokenOwners.at(index);\n return tokenId;\n }\n\n /**\n * @dev See {IERC721-approve}.\n */\n function approve(address to, uint256 tokenId) public virtual override {\n address owner = ERC721.ownerOf(tokenId);\n require(to != owner, \"ERC721: approval to current owner\");\n\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\n \"ERC721: approve caller is not owner nor approved for all\"\n );\n\n _approve(to, tokenId);\n }\n\n /**\n * @dev See {IERC721-getApproved}.\n */\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\n\n return _tokenApprovals[tokenId];\n }\n\n /**\n * @dev See {IERC721-setApprovalForAll}.\n */\n function setApprovalForAll(address operator, bool approved) public virtual override {\n require(operator != _msgSender(), \"ERC721: approve to caller\");\n\n _operatorApprovals[_msgSender()][operator] = approved;\n emit ApprovalForAll(_msgSender(), operator, approved);\n }\n\n /**\n * @dev See {IERC721-isApprovedForAll}.\n */\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\n return _operatorApprovals[owner][operator];\n }\n\n /**\n * @dev See {IERC721-transferFrom}.\n */\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\n //solhint-disable-next-line max-line-length\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n\n _transfer(from, to, tokenId);\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\n safeTransferFrom(from, to, tokenId, \"\");\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n _safeTransfer(from, to, tokenId, _data);\n }\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\n *\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n * implement alternative mechanisms to perform token transfer, such as signature-based.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\n _transfer(from, to, tokenId);\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Returns whether `tokenId` exists.\n *\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n *\n * Tokens start existing when they are minted (`_mint`),\n * and stop existing when they are burned (`_burn`).\n */\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\n return _tokenOwners.contains(tokenId);\n }\n\n /**\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\n address owner = ERC721.ownerOf(tokenId);\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\n }\n\n /**\n * @dev Safely mints `tokenId` and transfers it to `to`.\n *\n * Requirements:\n d*\n * - `tokenId` must not exist.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeMint(address to, uint256 tokenId) internal virtual {\n _safeMint(to, tokenId, \"\");\n }\n\n /**\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n */\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\n _mint(to, tokenId);\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Mints `tokenId` and transfers it to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n *\n * Requirements:\n *\n * - `tokenId` must not exist.\n * - `to` cannot be the zero address.\n *\n * Emits a {Transfer} event.\n */\n function _mint(address to, uint256 tokenId) internal virtual {\n require(to != address(0), \"ERC721: mint to the zero address\");\n require(!_exists(tokenId), \"ERC721: token already minted\");\n\n _beforeTokenTransfer(address(0), to, tokenId);\n\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(address(0), to, tokenId);\n }\n\n /**\n * @dev Destroys `tokenId`.\n * The approval is cleared when the token is burned.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n *\n * Emits a {Transfer} event.\n */\n function _burn(uint256 tokenId) internal virtual {\n address owner = ERC721.ownerOf(tokenId); // internal owner\n\n _beforeTokenTransfer(owner, address(0), tokenId);\n\n // Clear approvals\n _approve(address(0), tokenId);\n\n // Clear metadata (if any)\n if (bytes(_tokenURIs[tokenId]).length != 0) {\n delete _tokenURIs[tokenId];\n }\n\n _holderTokens[owner].remove(tokenId);\n\n _tokenOwners.remove(tokenId);\n\n emit Transfer(owner, address(0), tokenId);\n }\n\n /**\n * @dev Transfers `tokenId` from `from` to `to`.\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n *\n * Requirements:\n *\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n *\n * Emits a {Transfer} event.\n */\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\n require(to != address(0), \"ERC721: transfer to the zero address\");\n\n _beforeTokenTransfer(from, to, tokenId);\n\n // Clear approvals from the previous owner\n _approve(address(0), tokenId);\n\n _holderTokens[from].remove(tokenId);\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(from, to, tokenId);\n }\n\n /**\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\n _tokenURIs[tokenId] = _tokenURI;\n }\n\n /**\n * @dev Internal function to set the base URI for all token IDs. It is\n * automatically added as a prefix to the value returned in {tokenURI},\n * or to the token ID if {tokenURI} is empty.\n */\n function _setBaseURI(string memory baseURI_) internal virtual {\n _baseURI = baseURI_;\n }\n\n /**\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n * The call is not executed if the target address is not a contract.\n *\n * @param from address representing the previous owner of the given token ID\n * @param to target address that will receive the tokens\n * @param tokenId uint256 ID of the token to be transferred\n * @param _data bytes optional data to send along with the call\n * @return bool whether the call correctly returned the expected magic value\n */\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\n private returns (bool)\n {\n if (!to.isContract()) {\n return true;\n }\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\n IERC721Receiver(to).onERC721Received.selector,\n _msgSender(),\n from,\n tokenId,\n _data\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\n bytes4 retval = abi.decode(returndata, (bytes4));\n return (retval == _ERC721_RECEIVED);\n }\n\n /**\n * @dev Approve `to` to operate on `tokenId`\n *\n * Emits an {Approval} event.\n */\n function _approve(address to, uint256 tokenId) internal virtual {\n _tokenApprovals[tokenId] = to;\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\n }\n\n /**\n * @dev Hook that is called before any token transfer. This includes minting\n * and burning.\n *\n * Calling conditions:\n *\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n * transferred to `to`.\n * - When `from` is zero, `tokenId` will be minted for `to`.\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n *\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n */\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\n}\n", - "sourcePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "sourceMap": "36981:9200:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", + "deployedSourceMap": "36981:9200:0:-:0;;;;;;;;", + "source": "// SPDX-License-Identifier: MIT\r\n\r\n// File: @openzeppelin/contracts/utils/Context.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/*\r\n * @dev Provides information about the current execution context, including the\r\n * sender of the transaction and its data. While these are generally available\r\n * via msg.sender and msg.data, they should not be accessed in such a direct\r\n * manner, since when dealing with GSN meta-transactions the account sending and\r\n * paying for execution may not be the actual sender (as far as an application\r\n * is concerned).\r\n *\r\n * This contract is only required for intermediate, library-like contracts.\r\n */\r\nabstract contract Context {\r\n function _msgSender() internal view virtual returns (address payable) {\r\n return msg.sender;\r\n }\r\n\r\n function _msgData() internal view virtual returns (bytes memory) {\r\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\r\n return msg.data;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/IERC165.sol\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Interface of the ERC165 standard, as defined in the\r\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\r\n *\r\n * Implementers can declare support of contract interfaces, which can then be\r\n * queried by others ({ERC165Checker}).\r\n *\r\n * For an implementation, see {ERC165}.\r\n */\r\ninterface IERC165 {\r\n /**\r\n * @dev Returns true if this contract implements the interface defined by\r\n * `interfaceId`. See the corresponding\r\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\r\n * to learn more about how these ids are created.\r\n *\r\n * This function call must use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Required interface of an ERC721 compliant contract.\r\n */\r\ninterface IERC721 is IERC165 {\r\n /**\r\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\r\n */\r\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\r\n */\r\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\r\n */\r\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\r\n\r\n /**\r\n * @dev Returns the number of tokens in ``owner``'s account.\r\n */\r\n function balanceOf(address owner) external view returns (uint256 balance);\r\n\r\n /**\r\n * @dev Returns the owner of the `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function ownerOf(uint256 tokenId) external view returns (address owner);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Transfers `tokenId` token from `from` to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\r\n * The approval is cleared when the token is transferred.\r\n *\r\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\r\n *\r\n * Requirements:\r\n *\r\n * - The caller must own the token or be an approved operator.\r\n * - `tokenId` must exist.\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function approve(address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Returns the account approved for `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function getApproved(uint256 tokenId) external view returns (address operator);\r\n\r\n /**\r\n * @dev Approve or remove `operator` as an operator for the caller.\r\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\r\n *\r\n * Requirements:\r\n *\r\n * - The `operator` cannot be the caller.\r\n *\r\n * Emits an {ApprovalForAll} event.\r\n */\r\n function setApprovalForAll(address operator, bool _approved) external;\r\n\r\n /**\r\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\r\n *\r\n * See {setApprovalForAll}\r\n */\r\n function isApprovedForAll(address owner, address operator) external view returns (bool);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Metadata is IERC721 {\r\n\r\n /**\r\n * @dev Returns the token collection name.\r\n */\r\n function name() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the token collection symbol.\r\n */\r\n function symbol() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\r\n */\r\n function tokenURI(uint256 tokenId) external view returns (string memory);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\r\n\r\n\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Enumerable is IERC721 {\r\n\r\n /**\r\n * @dev Returns the total amount of tokens stored by the contract.\r\n */\r\n function totalSupply() external view returns (uint256);\r\n\r\n /**\r\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\r\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\r\n\r\n /**\r\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\r\n * Use along with {totalSupply} to enumerate all tokens.\r\n */\r\n function tokenByIndex(uint256 index) external view returns (uint256);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\r\n\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 token receiver interface\r\n * @dev Interface for any contract that wants to support safeTransfers\r\n * from ERC721 asset contracts.\r\n */\r\ninterface IERC721Receiver {\r\n /**\r\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\r\n * by `operator` from `from`, this function is called.\r\n *\r\n * It must return its Solidity selector to confirm the token transfer.\r\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\r\n *\r\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\r\n */\r\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/ERC165.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Implementation of the {IERC165} interface.\r\n *\r\n * Contracts may inherit from this and call {_registerInterface} to declare\r\n * their support of an interface.\r\n */\r\nabstract contract ERC165 is IERC165 {\r\n /*\r\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\r\n\r\n /**\r\n * @dev Mapping of interface ids to whether or not it's supported.\r\n */\r\n mapping(bytes4 => bool) private _supportedInterfaces;\r\n\r\n constructor () {\r\n // Derived contracts need only register support for their own interfaces,\r\n // we register support for ERC165 itself here\r\n _registerInterface(_INTERFACE_ID_ERC165);\r\n }\r\n\r\n /**\r\n * @dev See {IERC165-supportsInterface}.\r\n *\r\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\r\n return _supportedInterfaces[interfaceId];\r\n }\r\n\r\n /**\r\n * @dev Registers the contract as an implementer of the interface defined by\r\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\r\n * registering its interface id is not required.\r\n *\r\n * See {IERC165-supportsInterface}.\r\n *\r\n * Requirements:\r\n *\r\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\r\n */\r\n function _registerInterface(bytes4 interfaceId) internal virtual {\r\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\r\n _supportedInterfaces[interfaceId] = true;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/math/SafeMath.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\r\n * checks.\r\n *\r\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\r\n * in bugs, because programmers usually assume that an overflow raises an\r\n * error, which is the standard behavior in high level programming languages.\r\n * `SafeMath` restores this intuition by reverting the transaction when an\r\n * operation overflows.\r\n *\r\n * Using this library instead of the unchecked operations eliminates an entire\r\n * class of bugs, so it's recommended to use it always.\r\n */\r\nlibrary SafeMath {\r\n /**\r\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n uint256 c = a + b;\r\n if (c < a) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b > a) return (false, 0);\r\n return (true, a - b);\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\r\n // benefit is lost if 'b' is also tested.\r\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\r\n if (a == 0) return (true, 0);\r\n uint256 c = a * b;\r\n if (c / a != b) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a / b);\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a % b);\r\n }\r\n\r\n /**\r\n * @dev Returns the addition of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `+` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Addition cannot overflow.\r\n */\r\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\r\n uint256 c = a + b;\r\n require(c >= a, \"SafeMath: addition overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting on\r\n * overflow (when the result is negative).\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b <= a, \"SafeMath: subtraction overflow\");\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `*` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Multiplication cannot overflow.\r\n */\r\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\r\n if (a == 0) return 0;\r\n uint256 c = a * b;\r\n require(c / a == b, \"SafeMath: multiplication overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: division by zero\");\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting when dividing by zero.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: modulo by zero\");\r\n return a % b;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\r\n * overflow (when the result is negative).\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {trySub}.\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b <= a, errorMessage);\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryDiv}.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting with custom message when dividing by zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryMod}.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a % b;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Address.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n/**\r\n * @dev Collection of functions related to the address type\r\n */\r\nlibrary Address {\r\n /**\r\n * @dev Returns true if `account` is a contract.\r\n *\r\n * [IMPORTANT]\r\n * ====\r\n * It is unsafe to assume that an address for which this function returns\r\n * false is an externally-owned account (EOA) and not a contract.\r\n *\r\n * Among others, `isContract` will return false for the following\r\n * types of addresses:\r\n *\r\n * - an externally-owned account\r\n * - a contract in construction\r\n * - an address where a contract will be created\r\n * - an address where a contract lived, but was destroyed\r\n * ====\r\n */\r\n function isContract(address account) internal view returns (bool) {\r\n // This method relies on extcodesize, which returns 0 for contracts in\r\n // construction, since the code is only stored at the end of the\r\n // constructor execution.\r\n\r\n uint256 size;\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly { size := extcodesize(account) }\r\n return size > 0;\r\n }\r\n\r\n /**\r\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\r\n * `recipient`, forwarding all available gas and reverting on errors.\r\n *\r\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\r\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\r\n * imposed by `transfer`, making them unable to receive funds via\r\n * `transfer`. {sendValue} removes this limitation.\r\n *\r\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\r\n *\r\n * IMPORTANT: because control is transferred to `recipient`, care must be\r\n * taken to not create reentrancy vulnerabilities. Consider using\r\n * {ReentrancyGuard} or the\r\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\r\n */\r\n function sendValue(address payable recipient, uint256 amount) internal {\r\n require(address(this).balance >= amount, \"Address: insufficient balance\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\r\n (bool success, ) = recipient.call{ value: amount }(\"\");\r\n require(success, \"Address: unable to send value, recipient may have reverted\");\r\n }\r\n\r\n /**\r\n * @dev Performs a Solidity function call using a low level `call`. A\r\n * plain`call` is an unsafe replacement for a function call: use this\r\n * function instead.\r\n *\r\n * If `target` reverts with a revert reason, it is bubbled up by this\r\n * function (like regular Solidity function calls).\r\n *\r\n * Returns the raw returned data. To convert to the expected return value,\r\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\r\n *\r\n * Requirements:\r\n *\r\n * - `target` must be a contract.\r\n * - calling `target` with `data` must not revert.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionCall(target, data, \"Address: low-level call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\r\n * `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, 0, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but also transferring `value` wei to `target`.\r\n *\r\n * Requirements:\r\n *\r\n * - the calling contract must have an ETH balance of at least `value`.\r\n * - the called Solidity function must be `payable`.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\r\n * with `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\r\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\r\n require(isContract(target), \"Address: call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\r\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\r\n require(isContract(target), \"Address: static call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.staticcall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n require(isContract(target), \"Address: delegate call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.delegatecall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\r\n if (success) {\r\n return returndata;\r\n } else {\r\n // Look for revert reason and bubble it up if present\r\n if (returndata.length > 0) {\r\n // The easiest way to bubble the revert reason is using memory via assembly\r\n\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n let returndata_size := mload(returndata)\r\n revert(add(32, returndata), returndata_size)\r\n }\r\n } else {\r\n revert(errorMessage);\r\n }\r\n }\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing\r\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\r\n * types.\r\n *\r\n * Sets have the following properties:\r\n *\r\n * - Elements are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableSet for EnumerableSet.AddressSet;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableSet.AddressSet private mySet;\r\n * }\r\n * ```\r\n *\r\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\r\n * and `uint256` (`UintSet`) are supported.\r\n */\r\nlibrary EnumerableSet {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Set type with\r\n // bytes32 values.\r\n // The Set implementation uses private functions, and user-facing\r\n // implementations (such as AddressSet) are just wrappers around the\r\n // underlying Set.\r\n // This means that we can only create new EnumerableSets for types that fit\r\n // in bytes32.\r\n\r\n struct Set {\r\n // Storage of set values\r\n bytes32[] _values;\r\n\r\n // Position of the value in the `values` array, plus 1 because index 0\r\n // means a value is not in the set.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function _add(Set storage set, bytes32 value) private returns (bool) {\r\n if (!_contains(set, value)) {\r\n set._values.push(value);\r\n // The value is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n set._indexes[value] = set._values.length;\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function _remove(Set storage set, bytes32 value) private returns (bool) {\r\n // We read and store the value's index to prevent multiple reads from the same storage slot\r\n uint256 valueIndex = set._indexes[value];\r\n\r\n if (valueIndex != 0) { // Equivalent to contains(set, value)\r\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\r\n // the array, and then remove the last element (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = valueIndex - 1;\r\n uint256 lastIndex = set._values.length - 1;\r\n\r\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n bytes32 lastvalue = set._values[lastIndex];\r\n\r\n // Move the last value to the index where the value to delete is\r\n set._values[toDeleteIndex] = lastvalue;\r\n // Update the index for the moved value\r\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved value was stored\r\n set._values.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete set._indexes[value];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\r\n return set._indexes[value] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function _length(Set storage set) private view returns (uint256) {\r\n return set._values.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\r\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\r\n return set._values[index];\r\n }\r\n\r\n // Bytes32Set\r\n\r\n struct Bytes32Set {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _add(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _remove(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\r\n return _contains(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(Bytes32Set storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\r\n return _at(set._inner, index);\r\n }\r\n\r\n // AddressSet\r\n\r\n struct AddressSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(AddressSet storage set, address value) internal returns (bool) {\r\n return _add(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(AddressSet storage set, address value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(AddressSet storage set, address value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(AddressSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\r\n return address(uint160(uint256(_at(set._inner, index))));\r\n }\r\n\r\n\r\n // UintSet\r\n\r\n struct UintSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _add(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function length(UintSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\r\n return uint256(_at(set._inner, index));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing an enumerable variant of Solidity's\r\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\r\n * type.\r\n *\r\n * Maps have the following properties:\r\n *\r\n * - Entries are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableMap.UintToAddressMap private myMap;\r\n * }\r\n * ```\r\n *\r\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\r\n * supported.\r\n */\r\nlibrary EnumerableMap {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Map type with\r\n // bytes32 keys and values.\r\n // The Map implementation uses private functions, and user-facing\r\n // implementations (such as Uint256ToAddressMap) are just wrappers around\r\n // the underlying Map.\r\n // This means that we can only create new EnumerableMaps for types that fit\r\n // in bytes32.\r\n\r\n struct MapEntry {\r\n bytes32 _key;\r\n bytes32 _value;\r\n }\r\n\r\n struct Map {\r\n // Storage of map keys and values\r\n MapEntry[] _entries;\r\n\r\n // Position of the entry defined by a key in the `entries` array, plus 1\r\n // because index 0 means a key is not in the map.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\r\n map._entries.push(MapEntry({ _key: key, _value: value }));\r\n // The entry is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n map._indexes[key] = map._entries.length;\r\n return true;\r\n } else {\r\n map._entries[keyIndex - 1]._value = value;\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a key-value pair from a map. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function _remove(Map storage map, bytes32 key) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex != 0) { // Equivalent to contains(map, key)\r\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\r\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = keyIndex - 1;\r\n uint256 lastIndex = map._entries.length - 1;\r\n\r\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n MapEntry storage lastEntry = map._entries[lastIndex];\r\n\r\n // Move the last entry to the index where the entry to delete is\r\n map._entries[toDeleteIndex] = lastEntry;\r\n // Update the index for the moved entry\r\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved entry was stored\r\n map._entries.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete map._indexes[key];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\r\n return map._indexes[key] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of key-value pairs in the map. O(1).\r\n */\r\n function _length(Map storage map) private view returns (uint256) {\r\n return map._entries.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of entries inside the\r\n * array, and it may change when more entries are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\r\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\r\n\r\n MapEntry storage entry = map._entries[index];\r\n return (entry._key, entry._value);\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n */\r\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\r\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {_tryGet}.\r\n */\r\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n // UintToAddressMap\r\n\r\n struct UintToAddressMap {\r\n Map _inner;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\r\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\r\n return _remove(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\r\n return _contains(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of elements in the map. O(1).\r\n */\r\n function length(UintToAddressMap storage map) internal view returns (uint256) {\r\n return _length(map._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the element stored at position `index` in the set. O(1).\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\r\n (bytes32 key, bytes32 value) = _at(map._inner, index);\r\n return (uint256(key), address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\r\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\r\n return (success, address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\r\n }\r\n\r\n /**\r\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryGet}.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Strings.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev String operations.\r\n */\r\nlibrary Strings {\r\n /**\r\n * @dev Converts a `uint256` to its ASCII `string` representation.\r\n */\r\n function toString(uint256 value) internal pure returns (string memory) {\r\n // Inspired by OraclizeAPI's implementation - MIT licence\r\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\r\n\r\n if (value == 0) {\r\n return \"0\";\r\n }\r\n uint256 temp = value;\r\n uint256 digits;\r\n while (temp != 0) {\r\n digits++;\r\n temp /= 10;\r\n }\r\n bytes memory buffer = new bytes(digits);\r\n uint256 index = digits - 1;\r\n temp = value;\r\n while (temp != 0) {\r\n buffer[index--] = bytes1(uint8(48 + temp % 10));\r\n temp /= 10;\r\n }\r\n return string(buffer);\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 Non-Fungible Token Standard basic implementation\r\n * @dev see https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\r\n using SafeMath for uint256;\r\n using Address for address;\r\n using EnumerableSet for EnumerableSet.UintSet;\r\n using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n using Strings for uint256;\r\n\r\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\r\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\r\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\r\n\r\n // Mapping from holder address to their (enumerable) set of owned tokens\r\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\r\n\r\n // Enumerable mapping from token ids to their owners\r\n EnumerableMap.UintToAddressMap private _tokenOwners;\r\n\r\n // Mapping from token ID to approved address\r\n mapping (uint256 => address) private _tokenApprovals;\r\n\r\n // Mapping from owner to operator approvals\r\n mapping (address => mapping (address => bool)) private _operatorApprovals;\r\n\r\n // Token name\r\n string private _name;\r\n\r\n // Token symbol\r\n string private _symbol;\r\n\r\n // Optional mapping for token URIs\r\n mapping (uint256 => string) private _tokenURIs;\r\n\r\n // Base URI\r\n string private _baseURI;\r\n\r\n /*\r\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\r\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\r\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\r\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\r\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\r\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\r\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\r\n *\r\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\r\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\r\n\r\n /*\r\n * bytes4(keccak256('name()')) == 0x06fdde03\r\n * bytes4(keccak256('symbol()')) == 0x95d89b41\r\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\r\n *\r\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\r\n\r\n /*\r\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\r\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\r\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\r\n *\r\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\r\n\r\n /**\r\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\r\n */\r\n constructor (string memory name_, string memory symbol_) {\r\n _name = name_;\r\n _symbol = symbol_;\r\n\r\n // register the supported interfaces to conform to ERC721 via ERC165\r\n _registerInterface(_INTERFACE_ID_ERC721);\r\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\r\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-balanceOf}.\r\n */\r\n function balanceOf(address owner) public view virtual override returns (uint256) {\r\n require(owner != address(0), \"ERC721: balance query for the zero address\");\r\n return _holderTokens[owner].length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-ownerOf}.\r\n */\r\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\r\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-name}.\r\n */\r\n function name() public view virtual override returns (string memory) {\r\n return _name;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-symbol}.\r\n */\r\n function symbol() public view virtual override returns (string memory) {\r\n return _symbol;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-tokenURI}.\r\n */\r\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\r\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\r\n\r\n string memory _tokenURI = _tokenURIs[tokenId];\r\n string memory base = baseURI();\r\n\r\n // If there is no base URI, return the token URI.\r\n if (bytes(base).length == 0) {\r\n return _tokenURI;\r\n }\r\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\r\n if (bytes(_tokenURI).length > 0) {\r\n return string(abi.encodePacked(base, _tokenURI));\r\n }\r\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\r\n return string(abi.encodePacked(base, tokenId.toString()));\r\n }\r\n\r\n /**\r\n * @dev Returns the base URI set via {_setBaseURI}. This will be\r\n * automatically added as a prefix in {tokenURI} to each token's URI, or\r\n * to the token ID if no specific URI is set for that token ID.\r\n */\r\n function baseURI() public view virtual returns (string memory) {\r\n return _baseURI;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\r\n return _holderTokens[owner].at(index);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-totalSupply}.\r\n */\r\n function totalSupply() public view virtual override returns (uint256) {\r\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\r\n return _tokenOwners.length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenByIndex}.\r\n */\r\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\r\n (uint256 tokenId, ) = _tokenOwners.at(index);\r\n return tokenId;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-approve}.\r\n */\r\n function approve(address to, uint256 tokenId) public virtual override {\r\n address owner = ERC721.ownerOf(tokenId);\r\n require(to != owner, \"ERC721: approval to current owner\");\r\n\r\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\r\n \"ERC721: approve caller is not owner nor approved for all\"\r\n );\r\n\r\n _approve(to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-getApproved}.\r\n */\r\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\r\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\r\n\r\n return _tokenApprovals[tokenId];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-setApprovalForAll}.\r\n */\r\n function setApprovalForAll(address operator, bool approved) public virtual override {\r\n require(operator != _msgSender(), \"ERC721: approve to caller\");\r\n\r\n _operatorApprovals[_msgSender()][operator] = approved;\r\n emit ApprovalForAll(_msgSender(), operator, approved);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-isApprovedForAll}.\r\n */\r\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\r\n return _operatorApprovals[owner][operator];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-transferFrom}.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n //solhint-disable-next-line max-line-length\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n\r\n _transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n safeTransferFrom(from, to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n _safeTransfer(from, to, tokenId, _data);\r\n }\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\r\n *\r\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\r\n * implement alternative mechanisms to perform token transfer, such as signature-based.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _transfer(from, to, tokenId);\r\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Returns whether `tokenId` exists.\r\n *\r\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\r\n *\r\n * Tokens start existing when they are minted (`_mint`),\r\n * and stop existing when they are burned (`_burn`).\r\n */\r\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\r\n return _tokenOwners.contains(tokenId);\r\n }\r\n\r\n /**\r\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\r\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\r\n address owner = ERC721.ownerOf(tokenId);\r\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\r\n }\r\n\r\n /**\r\n * @dev Safely mints `tokenId` and transfers it to `to`.\r\n *\r\n * Requirements:\r\n d*\r\n * - `tokenId` must not exist.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeMint(address to, uint256 tokenId) internal virtual {\r\n _safeMint(to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\r\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\r\n */\r\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _mint(to, tokenId);\r\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Mints `tokenId` and transfers it to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must not exist.\r\n * - `to` cannot be the zero address.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _mint(address to, uint256 tokenId) internal virtual {\r\n require(to != address(0), \"ERC721: mint to the zero address\");\r\n require(!_exists(tokenId), \"ERC721: token already minted\");\r\n\r\n _beforeTokenTransfer(address(0), to, tokenId);\r\n\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(address(0), to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Destroys `tokenId`.\r\n * The approval is cleared when the token is burned.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _burn(uint256 tokenId) internal virtual {\r\n address owner = ERC721.ownerOf(tokenId); // internal owner\r\n\r\n _beforeTokenTransfer(owner, address(0), tokenId);\r\n\r\n // Clear approvals\r\n _approve(address(0), tokenId);\r\n\r\n // Clear metadata (if any)\r\n if (bytes(_tokenURIs[tokenId]).length != 0) {\r\n delete _tokenURIs[tokenId];\r\n }\r\n\r\n _holderTokens[owner].remove(tokenId);\r\n\r\n _tokenOwners.remove(tokenId);\r\n\r\n emit Transfer(owner, address(0), tokenId);\r\n }\r\n\r\n /**\r\n * @dev Transfers `tokenId` from `from` to `to`.\r\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\r\n *\r\n * Requirements:\r\n *\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\r\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\r\n require(to != address(0), \"ERC721: transfer to the zero address\");\r\n\r\n _beforeTokenTransfer(from, to, tokenId);\r\n\r\n // Clear approvals from the previous owner\r\n _approve(address(0), tokenId);\r\n\r\n _holderTokens[from].remove(tokenId);\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\r\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\r\n _tokenURIs[tokenId] = _tokenURI;\r\n }\r\n\r\n /**\r\n * @dev Internal function to set the base URI for all token IDs. It is\r\n * automatically added as a prefix to the value returned in {tokenURI},\r\n * or to the token ID if {tokenURI} is empty.\r\n */\r\n function _setBaseURI(string memory baseURI_) internal virtual {\r\n _baseURI = baseURI_;\r\n }\r\n\r\n /**\r\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\r\n * The call is not executed if the target address is not a contract.\r\n *\r\n * @param from address representing the previous owner of the given token ID\r\n * @param to target address that will receive the tokens\r\n * @param tokenId uint256 ID of the token to be transferred\r\n * @param _data bytes optional data to send along with the call\r\n * @return bool whether the call correctly returned the expected magic value\r\n */\r\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\r\n private returns (bool)\r\n {\r\n if (!to.isContract()) {\r\n return true;\r\n }\r\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\r\n IERC721Receiver(to).onERC721Received.selector,\r\n _msgSender(),\r\n from,\r\n tokenId,\r\n _data\r\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n bytes4 retval = abi.decode(returndata, (bytes4));\r\n return (retval == _ERC721_RECEIVED);\r\n }\r\n\r\n /**\r\n * @dev Approve `to` to operate on `tokenId`\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function _approve(address to, uint256 tokenId) internal virtual {\r\n _tokenApprovals[tokenId] = to;\r\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\r\n }\r\n\r\n /**\r\n * @dev Hook that is called before any token transfer. This includes minting\r\n * and burning.\r\n *\r\n * Calling conditions:\r\n *\r\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\r\n * transferred to `to`.\r\n * - When `from` is zero, `tokenId` will be minted for `to`.\r\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n *\r\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\r\n */\r\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\r\n}\r\n", + "sourcePath": "C:\\Users\\Noahm\\cryptoboys-nft-marketplace\\src\\contracts\\ERC721.sol", "ast": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, - "id": 3499, + "id": 2991, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 509, + "id": 1, "literals": [ "solidity", ">=", @@ -70,7 +70,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "abstract": true, @@ -78,77 +78,77 @@ "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, - "id": 530, + "id": 22, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 517, + "id": 9, "nodeType": "Block", - "src": "719:34:1", + "src": "735:36:0", "statements": [ { "expression": { "expression": { - "id": 514, + "id": 6, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "736:3:1", + "src": "753:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 515, + "id": 7, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "736:10:1", + "src": "753:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 513, - "id": 516, + "functionReturnParameters": 5, + "id": 8, "nodeType": "Return", - "src": "729:17:1" + "src": "746:17:0" } ] }, - "id": 518, + "id": 10, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgSender", "nodeType": "FunctionDefinition", "parameters": { - "id": 510, + "id": 2, "nodeType": "ParameterList", "parameters": [], - "src": "668:2:1" + "src": "684:2:0" }, "returnParameters": { - "id": 513, + "id": 5, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 512, + "id": 4, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 518, - "src": "702:15:1", + "scope": 10, + "src": "718:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -156,10 +156,10 @@ "typeString": "address payable" }, "typeName": { - "id": 511, + "id": 3, "name": "address", "nodeType": "ElementaryTypeName", - "src": "702:15:1", + "src": "718:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -169,95 +169,95 @@ "visibility": "internal" } ], - "src": "701:17:1" + "src": "717:17:0" }, - "scope": 530, - "src": "649:104:1", + "scope": 22, + "src": "665:106:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 528, + "id": 20, "nodeType": "Block", - "src": "824:165:1", + "src": "844:168:0", "statements": [ { "expression": { - "id": 523, + "id": 15, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "834:4:1", + "src": "855:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 524, + "id": 16, "nodeType": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "expression": { "expression": { - "id": 525, + "id": 17, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "974:3:1", + "src": "996:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 526, + "id": 18, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "data", "nodeType": "MemberAccess", - "src": "974:8:1", + "src": "996:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" } }, - "functionReturnParameters": 522, - "id": 527, + "functionReturnParameters": 14, + "id": 19, "nodeType": "Return", - "src": "967:15:1" + "src": "989:15:0" } ] }, - "id": 529, + "id": 21, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgData", "nodeType": "FunctionDefinition", "parameters": { - "id": 519, + "id": 11, "nodeType": "ParameterList", "parameters": [], - "src": "776:2:1" + "src": "796:2:0" }, "returnParameters": { - "id": 522, + "id": 14, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 521, + "id": 13, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 529, - "src": "810:12:1", + "scope": 21, + "src": "830:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -265,10 +265,10 @@ "typeString": "bytes" }, "typeName": { - "id": 520, + "id": 12, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "810:5:1", + "src": "830:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -277,20 +277,20 @@ "visibility": "internal" } ], - "src": "809:14:1" + "src": "829:14:0" }, - "scope": 530, - "src": "759:230:1", + "scope": 22, + "src": "779:233:0", "stateMutability": "view", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "617:374:1" + "scope": 2991, + "src": "632:383:0" }, { - "id": 531, + "id": 23, "literals": [ "solidity", ">=", @@ -301,7 +301,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "abstract": false, @@ -309,45 +309,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 532, + "id": 24, "nodeType": "StructuredDocumentation", - "src": "1086:279:1", + "src": "1116:287:0", "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, "fullyImplemented": false, - "id": 541, + "id": 33, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 533, + "id": 25, "nodeType": "StructuredDocumentation", - "src": "1390:340:1", + "src": "1430:347:0", "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 540, + "id": 32, "implemented": false, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 536, + "id": 28, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 535, + "id": 27, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1762:18:1", + "scope": 32, + "src": "1810:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -355,10 +355,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 534, + "id": 26, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "1762:6:1", + "src": "1810:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -367,20 +367,20 @@ "visibility": "internal" } ], - "src": "1761:20:1" + "src": "1809:20:0" }, "returnParameters": { - "id": 539, + "id": 31, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 538, + "id": 30, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1805:4:1", + "scope": 32, + "src": "1853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -388,10 +388,10 @@ "typeString": "bool" }, "typeName": { - "id": 537, + "id": 29, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1805:4:1", + "src": "1853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -400,20 +400,20 @@ "visibility": "internal" } ], - "src": "1804:6:1" + "src": "1852:6:0" }, - "scope": 541, - "src": "1735:76:1", + "scope": 33, + "src": "1783:76:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1366:447:1" + "scope": 2991, + "src": "1405:457:0" }, { - "id": 542, + "id": 34, "literals": [ "solidity", ">=", @@ -424,43 +424,43 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 544, + "id": 36, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "1996:7:1", + "referencedDeclaration": 33, + "src": "2054:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 545, + "id": 37, "nodeType": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "documentation": { - "id": 543, + "id": 35, "nodeType": "StructuredDocumentation", - "src": "1907:67:1", + "src": "1962:69:0", "text": " @dev Required interface of an ERC721 compliant contract." }, "fullyImplemented": false, - "id": 655, + "id": 147, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", "nodeType": "ContractDefinition", @@ -468,27 +468,27 @@ { "anonymous": false, "documentation": { - "id": 546, + "id": 38, "nodeType": "StructuredDocumentation", - "src": "2010:88:1", + "src": "2069:90:0", "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 554, + "id": 46, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { - "id": 553, + "id": 45, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 548, + "id": 40, "indexed": true, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2118:20:1", + "scope": 46, + "src": "2180:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -496,10 +496,10 @@ "typeString": "address" }, "typeName": { - "id": 547, + "id": 39, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2118:7:1", + "src": "2180:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -510,13 +510,13 @@ }, { "constant": false, - "id": 550, + "id": 42, "indexed": true, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2140:18:1", + "scope": 46, + "src": "2202:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -524,10 +524,10 @@ "typeString": "address" }, "typeName": { - "id": 549, + "id": 41, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2140:7:1", + "src": "2202:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -538,13 +538,13 @@ }, { "constant": false, - "id": 552, + "id": 44, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2160:23:1", + "scope": 46, + "src": "2222:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -552,10 +552,10 @@ "typeString": "uint256" }, "typeName": { - "id": 551, + "id": 43, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2160:7:1", + "src": "2222:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -564,34 +564,34 @@ "visibility": "internal" } ], - "src": "2117:67:1" + "src": "2179:67:0" }, - "src": "2103:82:1" + "src": "2165:82:0" }, { "anonymous": false, "documentation": { - "id": 555, + "id": 47, "nodeType": "StructuredDocumentation", - "src": "2191:94:1", + "src": "2255:96:0", "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 563, + "id": 55, "name": "Approval", "nodeType": "EventDefinition", "parameters": { - "id": 562, + "id": 54, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 557, + "id": 49, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2305:21:1", + "scope": 55, + "src": "2372:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -599,10 +599,10 @@ "typeString": "address" }, "typeName": { - "id": 556, + "id": 48, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2305:7:1", + "src": "2372:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -613,13 +613,13 @@ }, { "constant": false, - "id": 559, + "id": 51, "indexed": true, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2328:24:1", + "scope": 55, + "src": "2395:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -627,10 +627,10 @@ "typeString": "address" }, "typeName": { - "id": 558, + "id": 50, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2328:7:1", + "src": "2395:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -641,13 +641,13 @@ }, { "constant": false, - "id": 561, + "id": 53, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2354:23:1", + "scope": 55, + "src": "2421:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -655,10 +655,10 @@ "typeString": "uint256" }, "typeName": { - "id": 560, + "id": 52, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2354:7:1", + "src": "2421:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -667,34 +667,34 @@ "visibility": "internal" } ], - "src": "2304:74:1" + "src": "2371:74:0" }, - "src": "2290:89:1" + "src": "2357:89:0" }, { "anonymous": false, "documentation": { - "id": 564, + "id": 56, "nodeType": "StructuredDocumentation", - "src": "2385:117:1", + "src": "2454:119:0", "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 572, + "id": 64, "name": "ApprovalForAll", "nodeType": "EventDefinition", "parameters": { - "id": 571, + "id": 63, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 566, + "id": 58, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2528:21:1", + "scope": 64, + "src": "2600:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -702,10 +702,10 @@ "typeString": "address" }, "typeName": { - "id": 565, + "id": 57, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2528:7:1", + "src": "2600:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -716,13 +716,13 @@ }, { "constant": false, - "id": 568, + "id": 60, "indexed": true, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2551:24:1", + "scope": 64, + "src": "2623:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -730,10 +730,10 @@ "typeString": "address" }, "typeName": { - "id": 567, + "id": 59, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2551:7:1", + "src": "2623:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -744,13 +744,13 @@ }, { "constant": false, - "id": 570, + "id": 62, "indexed": false, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2577:13:1", + "scope": 64, + "src": "2649:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -758,10 +758,10 @@ "typeString": "bool" }, "typeName": { - "id": 569, + "id": 61, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2577:4:1", + "src": "2649:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -770,36 +770,36 @@ "visibility": "internal" } ], - "src": "2527:64:1" + "src": "2599:64:0" }, - "src": "2507:85:1" + "src": "2579:85:0" }, { "documentation": { - "id": 573, + "id": 65, "nodeType": "StructuredDocumentation", - "src": "2598:76:1", + "src": "2672:78:0", "text": " @dev Returns the number of tokens in ``owner``'s account." }, "functionSelector": "70a08231", - "id": 580, + "id": 72, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 576, + "id": 68, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 575, + "id": 67, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2698:13:1", + "scope": 72, + "src": "2775:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -807,10 +807,10 @@ "typeString": "address" }, "typeName": { - "id": 574, + "id": 66, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2698:7:1", + "src": "2775:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -820,20 +820,20 @@ "visibility": "internal" } ], - "src": "2697:15:1" + "src": "2774:15:0" }, "returnParameters": { - "id": 579, + "id": 71, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 578, + "id": 70, "mutability": "mutable", "name": "balance", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2736:15:1", + "scope": 72, + "src": "2813:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -841,10 +841,10 @@ "typeString": "uint256" }, "typeName": { - "id": 577, + "id": 69, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2736:7:1", + "src": "2813:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -853,40 +853,40 @@ "visibility": "internal" } ], - "src": "2735:17:1" + "src": "2812:17:0" }, - "scope": 655, - "src": "2679:74:1", + "scope": 147, + "src": "2756:74:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 581, + "id": 73, "nodeType": "StructuredDocumentation", - "src": "2759:131:1", + "src": "2838:137:0", "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "6352211e", - "id": 588, + "id": 80, "implemented": false, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 584, + "id": 76, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 583, + "id": 75, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2912:15:1", + "scope": 80, + "src": "2998:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -894,10 +894,10 @@ "typeString": "uint256" }, "typeName": { - "id": 582, + "id": 74, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2912:7:1", + "src": "2998:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -906,20 +906,20 @@ "visibility": "internal" } ], - "src": "2911:17:1" + "src": "2997:17:0" }, "returnParameters": { - "id": 587, + "id": 79, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 586, + "id": 78, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2952:13:1", + "scope": 80, + "src": "3038:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -927,10 +927,10 @@ "typeString": "address" }, "typeName": { - "id": 585, + "id": 77, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2952:7:1", + "src": "3038:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -940,40 +940,40 @@ "visibility": "internal" } ], - "src": "2951:15:1" + "src": "3037:15:0" }, - "scope": 655, - "src": "2895:72:1", + "scope": 147, + "src": "2981:72:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 589, + "id": 81, "nodeType": "StructuredDocumentation", - "src": "2973:690:1", + "src": "3061:703:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "42842e0e", - "id": 598, + "id": 90, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 596, + "id": 88, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 591, + "id": 83, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3694:12:1", + "scope": 90, + "src": "3796:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -981,10 +981,10 @@ "typeString": "address" }, "typeName": { - "id": 590, + "id": 82, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3694:7:1", + "src": "3796:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -995,12 +995,12 @@ }, { "constant": false, - "id": 593, + "id": 85, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3708:10:1", + "scope": 90, + "src": "3810:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1008,10 +1008,10 @@ "typeString": "address" }, "typeName": { - "id": 592, + "id": 84, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3708:7:1", + "src": "3810:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1022,12 +1022,12 @@ }, { "constant": false, - "id": 595, + "id": 87, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3720:15:1", + "scope": 90, + "src": "3822:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1035,10 +1035,10 @@ "typeString": "uint256" }, "typeName": { - "id": 594, + "id": 86, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3720:7:1", + "src": "3822:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1047,46 +1047,46 @@ "visibility": "internal" } ], - "src": "3693:43:1" + "src": "3795:43:0" }, "returnParameters": { - "id": 597, + "id": 89, "nodeType": "ParameterList", "parameters": [], - "src": "3745:0:1" + "src": "3847:0:0" }, - "scope": 655, - "src": "3668:78:1", + "scope": 147, + "src": "3770:78:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 599, + "id": 91, "nodeType": "StructuredDocumentation", - "src": "3752:504:1", + "src": "3856:517:0", "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, "functionSelector": "23b872dd", - "id": 608, + "id": 100, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 606, + "id": 98, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 601, + "id": 93, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4283:12:1", + "scope": 100, + "src": "4401:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1094,10 +1094,10 @@ "typeString": "address" }, "typeName": { - "id": 600, + "id": 92, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4283:7:1", + "src": "4401:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1108,12 +1108,12 @@ }, { "constant": false, - "id": 603, + "id": 95, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4297:10:1", + "scope": 100, + "src": "4415:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1121,10 +1121,10 @@ "typeString": "address" }, "typeName": { - "id": 602, + "id": 94, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4297:7:1", + "src": "4415:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1135,12 +1135,12 @@ }, { "constant": false, - "id": 605, + "id": 97, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4309:15:1", + "scope": 100, + "src": "4427:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1148,10 +1148,10 @@ "typeString": "uint256" }, "typeName": { - "id": 604, + "id": 96, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4309:7:1", + "src": "4427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1160,46 +1160,46 @@ "visibility": "internal" } ], - "src": "4282:43:1" + "src": "4400:43:0" }, "returnParameters": { - "id": 607, + "id": 99, "nodeType": "ParameterList", "parameters": [], - "src": "4334:0:1" + "src": "4452:0:0" }, - "scope": 655, - "src": "4261:74:1", + "scope": 147, + "src": "4379:74:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 609, + "id": 101, "nodeType": "StructuredDocumentation", - "src": "4341:452:1", + "src": "4461:464:0", "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, "functionSelector": "095ea7b3", - "id": 616, + "id": 108, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 614, + "id": 106, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 611, + "id": 103, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4815:10:1", + "scope": 108, + "src": "4948:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1207,10 +1207,10 @@ "typeString": "address" }, "typeName": { - "id": 610, + "id": 102, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4815:7:1", + "src": "4948:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1221,12 +1221,12 @@ }, { "constant": false, - "id": 613, + "id": 105, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4827:15:1", + "scope": 108, + "src": "4960:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1234,10 +1234,10 @@ "typeString": "uint256" }, "typeName": { - "id": 612, + "id": 104, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4827:7:1", + "src": "4960:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1246,46 +1246,46 @@ "visibility": "internal" } ], - "src": "4814:29:1" + "src": "4947:29:0" }, "returnParameters": { - "id": 615, + "id": 107, "nodeType": "ParameterList", "parameters": [], - "src": "4852:0:1" + "src": "4985:0:0" }, - "scope": 655, - "src": "4798:55:1", + "scope": 147, + "src": "4931:55:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 617, + "id": 109, "nodeType": "StructuredDocumentation", - "src": "4859:139:1", + "src": "4994:145:0", "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "081812fc", - "id": 624, + "id": 116, "implemented": false, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "parameters": { - "id": 620, + "id": 112, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 619, + "id": 111, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5024:15:1", + "scope": 116, + "src": "5166:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1293,10 +1293,10 @@ "typeString": "uint256" }, "typeName": { - "id": 618, + "id": 110, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5024:7:1", + "src": "5166:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1305,20 +1305,20 @@ "visibility": "internal" } ], - "src": "5023:17:1" + "src": "5165:17:0" }, "returnParameters": { - "id": 623, + "id": 115, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 622, + "id": 114, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5064:16:1", + "scope": 116, + "src": "5206:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1326,10 +1326,10 @@ "typeString": "address" }, "typeName": { - "id": 621, + "id": 113, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5064:7:1", + "src": "5206:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1339,40 +1339,40 @@ "visibility": "internal" } ], - "src": "5063:18:1" + "src": "5205:18:0" }, - "scope": 655, - "src": "5003:79:1", + "scope": 147, + "src": "5145:79:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 625, + "id": 117, "nodeType": "StructuredDocumentation", - "src": "5088:309:1", + "src": "5232:318:0", "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, "functionSelector": "a22cb465", - "id": 632, + "id": 124, "implemented": false, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 630, + "id": 122, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 627, + "id": 119, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5429:16:1", + "scope": 124, + "src": "5583:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1380,10 +1380,10 @@ "typeString": "address" }, "typeName": { - "id": 626, + "id": 118, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5429:7:1", + "src": "5583:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1394,12 +1394,12 @@ }, { "constant": false, - "id": 629, + "id": 121, "mutability": "mutable", "name": "_approved", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5447:14:1", + "scope": 124, + "src": "5601:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1407,10 +1407,10 @@ "typeString": "bool" }, "typeName": { - "id": 628, + "id": 120, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5447:4:1", + "src": "5601:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1419,46 +1419,46 @@ "visibility": "internal" } ], - "src": "5428:34:1" + "src": "5582:34:0" }, "returnParameters": { - "id": 631, + "id": 123, "nodeType": "ParameterList", "parameters": [], - "src": "5471:0:1" + "src": "5625:0:0" }, - "scope": 655, - "src": "5402:70:1", + "scope": 147, + "src": "5556:70:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 633, + "id": 125, "nodeType": "StructuredDocumentation", - "src": "5478:138:1", + "src": "5634:142:0", "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, "functionSelector": "e985e9c5", - "id": 642, + "id": 134, "implemented": false, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 638, + "id": 130, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 635, + "id": 127, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5647:13:1", + "scope": 134, + "src": "5808:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1466,10 +1466,10 @@ "typeString": "address" }, "typeName": { - "id": 634, + "id": 126, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5647:7:1", + "src": "5808:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1480,12 +1480,12 @@ }, { "constant": false, - "id": 637, + "id": 129, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5662:16:1", + "scope": 134, + "src": "5823:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1493,10 +1493,10 @@ "typeString": "address" }, "typeName": { - "id": 636, + "id": 128, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5662:7:1", + "src": "5823:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1506,20 +1506,20 @@ "visibility": "internal" } ], - "src": "5646:33:1" + "src": "5807:33:0" }, "returnParameters": { - "id": 641, + "id": 133, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 640, + "id": 132, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5703:4:1", + "scope": 134, + "src": "5864:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1527,10 +1527,10 @@ "typeString": "bool" }, "typeName": { - "id": 639, + "id": 131, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5703:4:1", + "src": "5864:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1539,40 +1539,40 @@ "visibility": "internal" } ], - "src": "5702:6:1" + "src": "5863:6:0" }, - "scope": 655, - "src": "5621:88:1", + "scope": 147, + "src": "5782:88:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 643, + "id": 135, "nodeType": "StructuredDocumentation", - "src": "5715:568:1", + "src": "5878:580:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "b88d4fde", - "id": 654, + "id": 146, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 652, + "id": 144, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 645, + "id": 137, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6314:12:1", + "scope": 146, + "src": "6490:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1580,10 +1580,10 @@ "typeString": "address" }, "typeName": { - "id": 644, + "id": 136, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6314:7:1", + "src": "6490:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1594,12 +1594,12 @@ }, { "constant": false, - "id": 647, + "id": 139, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6328:10:1", + "scope": 146, + "src": "6504:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1607,10 +1607,10 @@ "typeString": "address" }, "typeName": { - "id": 646, + "id": 138, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6328:7:1", + "src": "6504:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1621,12 +1621,12 @@ }, { "constant": false, - "id": 649, + "id": 141, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6340:15:1", + "scope": 146, + "src": "6516:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1634,10 +1634,10 @@ "typeString": "uint256" }, "typeName": { - "id": 648, + "id": 140, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6340:7:1", + "src": "6516:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1647,12 +1647,12 @@ }, { "constant": false, - "id": 651, + "id": 143, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6357:19:1", + "scope": 146, + "src": "6533:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -1660,10 +1660,10 @@ "typeString": "bytes" }, "typeName": { - "id": 650, + "id": 142, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6357:5:1", + "src": "6533:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -1672,26 +1672,26 @@ "visibility": "internal" } ], - "src": "6313:64:1" + "src": "6489:64:0" }, "returnParameters": { - "id": 653, + "id": 145, "nodeType": "ParameterList", "parameters": [], - "src": "6386:0:1" + "src": "6562:0:0" }, - "scope": 655, - "src": "6288:99:1", + "scope": 147, + "src": "6464:99:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1975:4414:1" + "scope": 2991, + "src": "2033:4533:0" }, { - "id": 656, + "id": 148, "literals": [ "solidity", ">=", @@ -1702,81 +1702,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 658, + "id": 150, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "6654:7:1", + "referencedDeclaration": 147, + "src": "6841:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 659, + "id": 151, "nodeType": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 657, + "id": 149, "nodeType": "StructuredDocumentation", - "src": "6491:133:1", + "src": "6674:136:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 680, + "id": 172, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 660, + "id": 152, "nodeType": "StructuredDocumentation", - "src": "6669:58:1", + "src": "6858:60:0", "text": " @dev Returns the token collection name." }, "functionSelector": "06fdde03", - "id": 665, + "id": 157, "implemented": false, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "parameters": { - "id": 661, + "id": 153, "nodeType": "ParameterList", "parameters": [], - "src": "6745:2:1" + "src": "6937:2:0" }, "returnParameters": { - "id": 664, + "id": 156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 663, + "id": 155, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 665, - "src": "6771:13:1", + "scope": 157, + "src": "6963:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1784,10 +1784,10 @@ "typeString": "string" }, "typeName": { - "id": 662, + "id": 154, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6771:6:1", + "src": "6963:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1796,46 +1796,46 @@ "visibility": "internal" } ], - "src": "6770:15:1" + "src": "6962:15:0" }, - "scope": 680, - "src": "6732:54:1", + "scope": 172, + "src": "6924:54:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 666, + "id": 158, "nodeType": "StructuredDocumentation", - "src": "6792:60:1", + "src": "6986:62:0", "text": " @dev Returns the token collection symbol." }, "functionSelector": "95d89b41", - "id": 671, + "id": 163, "implemented": false, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "parameters": { - "id": 667, + "id": 159, "nodeType": "ParameterList", "parameters": [], - "src": "6872:2:1" + "src": "7069:2:0" }, "returnParameters": { - "id": 670, + "id": 162, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 669, + "id": 161, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 671, - "src": "6898:13:1", + "scope": 163, + "src": "7095:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1843,10 +1843,10 @@ "typeString": "string" }, "typeName": { - "id": 668, + "id": 160, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6898:6:1", + "src": "7095:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1855,40 +1855,40 @@ "visibility": "internal" } ], - "src": "6897:15:1" + "src": "7094:15:0" }, - "scope": 680, - "src": "6857:56:1", + "scope": 172, + "src": "7054:56:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 672, + "id": 164, "nodeType": "StructuredDocumentation", - "src": "6919:90:1", + "src": "7118:92:0", "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, "functionSelector": "c87b56dd", - "id": 679, + "id": 171, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 675, + "id": 167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 674, + "id": 166, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7032:15:1", + "scope": 171, + "src": "7234:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1896,10 +1896,10 @@ "typeString": "uint256" }, "typeName": { - "id": 673, + "id": 165, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7032:7:1", + "src": "7234:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1908,20 +1908,20 @@ "visibility": "internal" } ], - "src": "7031:17:1" + "src": "7233:17:0" }, "returnParameters": { - "id": 678, + "id": 170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 677, + "id": 169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7072:13:1", + "scope": 171, + "src": "7274:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1929,10 +1929,10 @@ "typeString": "string" }, "typeName": { - "id": 676, + "id": 168, "name": "string", "nodeType": "ElementaryTypeName", - "src": "7072:6:1", + "src": "7274:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1941,20 +1941,20 @@ "visibility": "internal" } ], - "src": "7071:15:1" + "src": "7273:15:0" }, - "scope": 680, - "src": "7014:73:1", + "scope": 172, + "src": "7216:73:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "6625:464:1" + "scope": 2991, + "src": "6812:480:0" }, { - "id": 681, + "id": 173, "literals": [ "solidity", ">=", @@ -1965,81 +1965,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 683, + "id": 175, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "7363:7:1", + "referencedDeclaration": 147, + "src": "7578:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 684, + "id": 176, "nodeType": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 682, + "id": 174, "nodeType": "StructuredDocumentation", - "src": "7195:136:1", + "src": "7406:139:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 709, + "id": 201, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 685, + "id": 177, "nodeType": "StructuredDocumentation", - "src": "7378:82:1", + "src": "7595:84:0", "text": " @dev Returns the total amount of tokens stored by the contract." }, "functionSelector": "18160ddd", - "id": 690, + "id": 182, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { - "id": 686, + "id": 178, "nodeType": "ParameterList", "parameters": [], - "src": "7485:2:1" + "src": "7705:2:0" }, "returnParameters": { - "id": 689, + "id": 181, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 688, + "id": 180, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 690, - "src": "7511:7:1", + "scope": 182, + "src": "7731:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2047,10 +2047,10 @@ "typeString": "uint256" }, "typeName": { - "id": 687, + "id": 179, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7511:7:1", + "src": "7731:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2059,40 +2059,40 @@ "visibility": "internal" } ], - "src": "7510:9:1" + "src": "7730:9:0" }, - "scope": 709, - "src": "7465:55:1", + "scope": 201, + "src": "7685:55:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 691, + "id": 183, "nodeType": "StructuredDocumentation", - "src": "7526:171:1", + "src": "7748:174:0", "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, "functionSelector": "2f745c59", - "id": 700, + "id": 192, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 696, + "id": 188, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 693, + "id": 185, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7731:13:1", + "scope": 192, + "src": "7957:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2100,10 +2100,10 @@ "typeString": "address" }, "typeName": { - "id": 692, + "id": 184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7731:7:1", + "src": "7957:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2114,12 +2114,12 @@ }, { "constant": false, - "id": 695, + "id": 187, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7746:13:1", + "scope": 192, + "src": "7972:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2127,10 +2127,10 @@ "typeString": "uint256" }, "typeName": { - "id": 694, + "id": 186, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7746:7:1", + "src": "7972:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2139,20 +2139,20 @@ "visibility": "internal" } ], - "src": "7730:30:1" + "src": "7956:30:0" }, "returnParameters": { - "id": 699, + "id": 191, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 698, + "id": 190, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7784:15:1", + "scope": 192, + "src": "8010:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2160,10 +2160,10 @@ "typeString": "uint256" }, "typeName": { - "id": 697, + "id": 189, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7784:7:1", + "src": "8010:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2172,40 +2172,40 @@ "visibility": "internal" } ], - "src": "7783:17:1" + "src": "8009:17:0" }, - "scope": 709, - "src": "7702:99:1", + "scope": 201, + "src": "7928:99:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 701, + "id": 193, "nodeType": "StructuredDocumentation", - "src": "7807:164:1", + "src": "8035:167:0", "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, "functionSelector": "4f6ccce7", - "id": 708, + "id": 200, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 704, + "id": 196, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 703, + "id": 195, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "7998:13:1", + "scope": 200, + "src": "8230:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2213,10 +2213,10 @@ "typeString": "uint256" }, "typeName": { - "id": 702, + "id": 194, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7998:7:1", + "src": "8230:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2225,20 +2225,20 @@ "visibility": "internal" } ], - "src": "7997:15:1" + "src": "8229:15:0" }, "returnParameters": { - "id": 707, + "id": 199, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 706, + "id": 198, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "8036:7:1", + "scope": 200, + "src": "8268:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2246,10 +2246,10 @@ "typeString": "uint256" }, "typeName": { - "id": 705, + "id": 197, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8036:7:1", + "src": "8268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2258,20 +2258,20 @@ "visibility": "internal" } ], - "src": "8035:9:1" + "src": "8267:9:0" }, - "scope": 709, - "src": "7976:69:1", + "scope": 201, + "src": "8208:69:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "7332:715:1" + "scope": 2991, + "src": "7547:733:0" }, { - "id": 710, + "id": 202, "literals": [ "solidity", ">=", @@ -2282,7 +2282,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "abstract": false, @@ -2290,45 +2290,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 711, + "id": 203, "nodeType": "StructuredDocumentation", - "src": "8150:152:1", + "src": "8390:156:0", "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, "fullyImplemented": false, - "id": 726, + "id": 218, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 712, + "id": 204, "nodeType": "StructuredDocumentation", - "src": "8335:485:1", + "src": "8581:493:0", "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, "functionSelector": "150b7a02", - "id": 725, + "id": 217, "implemented": false, "kind": "function", "modifiers": [], "name": "onERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 721, + "id": 213, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 714, + "id": 206, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8851:16:1", + "scope": 217, + "src": "9106:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2336,10 +2336,10 @@ "typeString": "address" }, "typeName": { - "id": 713, + "id": 205, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8851:7:1", + "src": "9106:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2350,12 +2350,12 @@ }, { "constant": false, - "id": 716, + "id": 208, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8869:12:1", + "scope": 217, + "src": "9124:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2363,10 +2363,10 @@ "typeString": "address" }, "typeName": { - "id": 715, + "id": 207, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8869:7:1", + "src": "9124:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2377,12 +2377,12 @@ }, { "constant": false, - "id": 718, + "id": 210, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8883:15:1", + "scope": 217, + "src": "9138:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2390,10 +2390,10 @@ "typeString": "uint256" }, "typeName": { - "id": 717, + "id": 209, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8883:7:1", + "src": "9138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2403,12 +2403,12 @@ }, { "constant": false, - "id": 720, + "id": 212, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8900:19:1", + "scope": 217, + "src": "9155:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -2416,10 +2416,10 @@ "typeString": "bytes" }, "typeName": { - "id": 719, + "id": 211, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8900:5:1", + "src": "9155:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2428,20 +2428,20 @@ "visibility": "internal" } ], - "src": "8850:70:1" + "src": "9105:70:0" }, "returnParameters": { - "id": 724, + "id": 216, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 723, + "id": 215, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8939:6:1", + "scope": 217, + "src": "9194:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2449,10 +2449,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 722, + "id": 214, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "8939:6:1", + "src": "9194:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2461,20 +2461,20 @@ "visibility": "internal" } ], - "src": "8938:8:1" + "src": "9193:8:0" }, - "scope": 726, - "src": "8825:122:1", + "scope": 218, + "src": "9080:122:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "8303:646:1" + "scope": 2991, + "src": "8548:657:0" }, { - "id": 727, + "id": 219, "literals": [ "solidity", ">=", @@ -2485,55 +2485,55 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "abstract": true, "baseContracts": [ { "baseName": { - "id": 729, + "id": 221, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "9243:7:1", + "referencedDeclaration": 33, + "src": "9511:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 730, + "id": 222, "nodeType": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "documentation": { - "id": 728, + "id": 220, "nodeType": "StructuredDocumentation", - "src": "9043:171:1", + "src": "9305:176:0", "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, "fullyImplemented": true, - "id": 781, + "id": 273, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", "nodeType": "ContractDefinition", "nodes": [ { "constant": true, - "id": 733, + "id": 225, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9340:57:1", + "scope": 273, + "src": "9612:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2541,10 +2541,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 731, + "id": 223, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9340:6:1", + "src": "9612:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2552,14 +2552,14 @@ }, "value": { "hexValue": "30783031666663396137", - "id": 732, + "id": 224, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9387:10:1", + "src": "9659:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_33540519_by_1", "typeString": "int_const 33540519" @@ -2571,17 +2571,17 @@ { "constant": false, "documentation": { - "id": 734, + "id": 226, "nodeType": "StructuredDocumentation", - "src": "9404:82:1", + "src": "9678:84:0", "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 738, + "id": 230, "mutability": "mutable", "name": "_supportedInterfaces", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9491:52:1", + "scope": 273, + "src": "9768:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2589,28 +2589,28 @@ "typeString": "mapping(bytes4 => bool)" }, "typeName": { - "id": 737, + "id": 229, "keyType": { - "id": 735, + "id": 227, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9499:6:1", + "src": "9776:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "nodeType": "Mapping", - "src": "9491:23:1", + "src": "9768:23:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" }, "valueType": { - "id": 736, + "id": 228, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9509:4:1", + "src": "9786:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2621,20 +2621,20 @@ }, { "body": { - "id": 745, + "id": 237, "nodeType": "Block", - "src": "9565:193:1", + "src": "9844:197:0", "statements": [ { "expression": { "arguments": [ { - "id": 742, + "id": 234, "name": "_INTERFACE_ID_ERC165", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 733, - "src": "9730:20:1", + "referencedDeclaration": 225, + "src": "10012:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2648,18 +2648,18 @@ "typeString": "bytes4" } ], - "id": 741, + "id": 233, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "9711:18:1", + "referencedDeclaration": 272, + "src": "9993:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 743, + "id": 235, "isConstant": false, "isLValue": false, "isPure": false, @@ -2667,74 +2667,74 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9711:40:1", + "src": "9993:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 744, + "id": 236, "nodeType": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ] }, - "id": 746, + "id": 238, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 739, + "id": 231, "nodeType": "ParameterList", "parameters": [], - "src": "9562:2:1" + "src": "9841:2:0" }, "returnParameters": { - "id": 740, + "id": 232, "nodeType": "ParameterList", "parameters": [], - "src": "9565:0:1" + "src": "9844:0:0" }, - "scope": 781, - "src": "9550:208:1", + "scope": 273, + "src": "9829:212:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "baseFunctions": [ - 540 + 32 ], "body": { - "id": 759, + "id": 251, "nodeType": "Block", - "src": "9999:57:1", + "src": "10289:59:0", "statements": [ { "expression": { "baseExpression": { - "id": 755, + "id": 247, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10016:20:1", + "referencedDeclaration": 230, + "src": "10307:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 757, + "id": 249, "indexExpression": { - "id": 756, + "id": 248, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 749, - "src": "10037:11:1", + "referencedDeclaration": 241, + "src": "10328:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2745,50 +2745,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10016:33:1", + "src": "10307:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 754, - "id": 758, + "functionReturnParameters": 246, + "id": 250, "nodeType": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ] }, "documentation": { - "id": 747, + "id": 239, "nodeType": "StructuredDocumentation", - "src": "9764:139:1", + "src": "10049:143:0", "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 760, + "id": 252, "implemented": true, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "overrides": { - "id": 751, + "id": 243, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "9975:8:1" + "src": "10265:8:0" }, "parameters": { - "id": 750, + "id": 242, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 749, + "id": 241, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9935:18:1", + "scope": 252, + "src": "10225:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2796,10 +2796,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 748, + "id": 240, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9935:6:1", + "src": "10225:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2808,20 +2808,20 @@ "visibility": "internal" } ], - "src": "9934:20:1" + "src": "10224:20:0" }, "returnParameters": { - "id": 754, + "id": 246, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 753, + "id": 245, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9993:4:1", + "scope": 252, + "src": "10283:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2829,10 +2829,10 @@ "typeString": "bool" }, "typeName": { - "id": 752, + "id": 244, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9993:4:1", + "src": "10283:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2841,19 +2841,19 @@ "visibility": "internal" } ], - "src": "9992:6:1" + "src": "10282:6:0" }, - "scope": 781, - "src": "9908:148:1", + "scope": 273, + "src": "10198:150:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 779, + "id": 271, "nodeType": "Block", - "src": "10515:133:1", + "src": "10820:136:0", "statements": [ { "expression": { @@ -2863,18 +2863,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 769, + "id": 261, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 767, + "id": 259, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10533:11:1", + "referencedDeclaration": 255, + "src": "10839:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2884,21 +2884,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30786666666666666666", - "id": 768, + "id": 260, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10548:10:1", + "src": "10854:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_4294967295_by_1", "typeString": "int_const 4294967295" }, "value": "0xffffffff" }, - "src": "10533:25:1", + "src": "10839:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2906,14 +2906,14 @@ }, { "hexValue": "4552433136353a20696e76616c696420696e74657266616365206964", - "id": 770, + "id": 262, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "10560:30:1", + "src": "10866:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_282912c0dfceceb28d77d0333f496b83948f9ba5b3154358a8b140b849289dee", "typeString": "literal_string \"ERC165: invalid interface id\"" @@ -2932,7 +2932,7 @@ "typeString": "literal_string \"ERC165: invalid interface id\"" } ], - "id": 766, + "id": 258, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -2940,13 +2940,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "10525:7:1", + "src": "10831:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 771, + "id": 263, "isConstant": false, "isLValue": false, "isPure": false, @@ -2954,45 +2954,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10525:66:1", + "src": "10831:66:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 772, + "id": 264, "nodeType": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "expression": { - "id": 777, + "id": 269, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 773, + "id": 265, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10601:20:1", + "referencedDeclaration": 230, + "src": "10908:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 775, + "id": 267, "indexExpression": { - "id": 774, + "id": 266, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10622:11:1", + "referencedDeclaration": 255, + "src": "10929:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3003,7 +3003,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "10601:33:1", + "src": "10908:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3013,56 +3013,56 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 776, + "id": 268, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "10637:4:1", + "src": "10944:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "10601:40:1", + "src": "10908:40:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 778, + "id": 270, "nodeType": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ] }, "documentation": { - "id": 761, + "id": 253, "nodeType": "StructuredDocumentation", - "src": "10062:383:1", + "src": "10356:393:0", "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 780, + "id": 272, "implemented": true, "kind": "function", "modifiers": [], "name": "_registerInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 764, + "id": 256, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 763, + "id": 255, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 780, - "src": "10478:18:1", + "scope": 272, + "src": "10783:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3070,10 +3070,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 762, + "id": 254, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "10478:6:1", + "src": "10783:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3082,26 +3082,26 @@ "visibility": "internal" } ], - "src": "10477:20:1" + "src": "10782:20:0" }, "returnParameters": { - "id": 765, + "id": 257, "nodeType": "ParameterList", "parameters": [], - "src": "10515:0:1" + "src": "10820:0:0" }, - "scope": 781, - "src": "10450:198:1", + "scope": 273, + "src": "10755:201:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "9215:1435:1" + "scope": 2991, + "src": "9483:1476:0" }, { - "id": 782, + "id": 274, "literals": [ "solidity", ">=", @@ -3112,7 +3112,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "abstract": false, @@ -3120,38 +3120,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 783, + "id": 275, "nodeType": "StructuredDocumentation", - "src": "10736:563:1", + "src": "11050:575:0", "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, "fullyImplemented": true, - "id": 1135, + "id": 627, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 813, + "id": 305, "nodeType": "Block", - "src": "11535:98:1", + "src": "11868:102:0", "statements": [ { "assignments": [ - 796 + 288 ], "declarations": [ { "constant": false, - "id": 796, + "id": 288, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 813, - "src": "11545:9:1", + "scope": 305, + "src": "11879:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3159,10 +3159,10 @@ "typeString": "uint256" }, "typeName": { - "id": 795, + "id": 287, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11545:7:1", + "src": "11879:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3171,24 +3171,24 @@ "visibility": "internal" } ], - "id": 800, + "id": 292, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 799, + "id": 291, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 797, + "id": 289, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11557:1:1", + "referencedDeclaration": 278, + "src": "11891:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3197,25 +3197,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 798, + "id": 290, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 788, - "src": "11561:1:1", + "referencedDeclaration": 280, + "src": "11895:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11557:5:1", + "src": "11891:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "condition": { @@ -3223,18 +3223,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 803, + "id": 295, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 801, + "id": 293, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11576:1:1", + "referencedDeclaration": 288, + "src": "11911:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3243,39 +3243,39 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 802, + "id": 294, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11580:1:1", + "referencedDeclaration": 278, + "src": "11915:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11576:5:1", + "src": "11911:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 808, + "id": 300, "nodeType": "IfStatement", - "src": "11572:28:1", + "src": "11907:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 804, + "id": 296, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11591:5:1", + "src": "11926:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3284,14 +3284,14 @@ }, { "hexValue": "30", - "id": 805, + "id": 297, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11598:1:1", + "src": "11933:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3299,23 +3299,23 @@ "value": "0" } ], - "id": 806, + "id": 298, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11590:10:1", + "src": "11925:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 794, - "id": 807, + "functionReturnParameters": 286, + "id": 299, "nodeType": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } }, { @@ -3323,14 +3323,14 @@ "components": [ { "hexValue": "74727565", - "id": 809, + "id": 301, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11618:4:1", + "src": "11954:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3338,62 +3338,62 @@ "value": "true" }, { - "id": 810, + "id": 302, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11624:1:1", + "referencedDeclaration": 288, + "src": "11960:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 811, + "id": 303, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11617:9:1", + "src": "11953:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 794, - "id": 812, + "functionReturnParameters": 286, + "id": 304, "nodeType": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ] }, "documentation": { - "id": 784, + "id": 276, "nodeType": "StructuredDocumentation", - "src": "11323:131:1", + "src": "11651:135:0", "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 814, + "id": 306, "implemented": true, "kind": "function", "modifiers": [], "name": "tryAdd", "nodeType": "FunctionDefinition", "parameters": { - "id": 789, + "id": 281, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 786, + "id": 278, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11475:9:1", + "scope": 306, + "src": "11808:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3401,10 +3401,10 @@ "typeString": "uint256" }, "typeName": { - "id": 785, + "id": 277, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11475:7:1", + "src": "11808:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3414,12 +3414,12 @@ }, { "constant": false, - "id": 788, + "id": 280, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11486:9:1", + "scope": 306, + "src": "11819:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3427,10 +3427,10 @@ "typeString": "uint256" }, "typeName": { - "id": 787, + "id": 279, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11486:7:1", + "src": "11819:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3439,20 +3439,20 @@ "visibility": "internal" } ], - "src": "11474:22:1" + "src": "11807:22:0" }, "returnParameters": { - "id": 794, + "id": 286, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 791, + "id": 283, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11520:4:1", + "scope": 306, + "src": "11853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3460,10 +3460,10 @@ "typeString": "bool" }, "typeName": { - "id": 790, + "id": 282, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11520:4:1", + "src": "11853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3473,12 +3473,12 @@ }, { "constant": false, - "id": 793, + "id": 285, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11526:7:1", + "scope": 306, + "src": "11859:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3486,10 +3486,10 @@ "typeString": "uint256" }, "typeName": { - "id": 792, + "id": 284, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11526:7:1", + "src": "11859:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3498,19 +3498,19 @@ "visibility": "internal" } ], - "src": "11519:15:1" + "src": "11852:15:0" }, - "scope": 1135, - "src": "11459:174:1", + "scope": 627, + "src": "11792:178:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 840, + "id": 332, "nodeType": "Block", - "src": "11855:75:1", + "src": "12199:78:0", "statements": [ { "condition": { @@ -3518,18 +3518,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 828, + "id": 320, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 826, + "id": 318, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11869:1:1", + "referencedDeclaration": 311, + "src": "12214:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3538,39 +3538,39 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 827, + "id": 319, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11873:1:1", + "referencedDeclaration": 309, + "src": "12218:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11869:5:1", + "src": "12214:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 833, + "id": 325, "nodeType": "IfStatement", - "src": "11865:28:1", + "src": "12210:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 829, + "id": 321, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11884:5:1", + "src": "12229:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3579,14 +3579,14 @@ }, { "hexValue": "30", - "id": 830, + "id": 322, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11891:1:1", + "src": "12236:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3594,23 +3594,23 @@ "value": "0" } ], - "id": 831, + "id": 323, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11883:10:1", + "src": "12228:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 825, - "id": 832, + "functionReturnParameters": 317, + "id": 324, "nodeType": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } }, { @@ -3618,14 +3618,14 @@ "components": [ { "hexValue": "74727565", - "id": 834, + "id": 326, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11911:4:1", + "src": "12257:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3637,18 +3637,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 837, + "id": 329, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 835, + "id": 327, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11917:1:1", + "referencedDeclaration": 309, + "src": "12263:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3657,68 +3657,68 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 836, + "id": 328, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11921:1:1", + "referencedDeclaration": 311, + "src": "12267:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11917:5:1", + "src": "12263:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 838, + "id": 330, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11910:13:1", + "src": "12256:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 825, - "id": 839, + "functionReturnParameters": 317, + "id": 331, "nodeType": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ] }, "documentation": { - "id": 815, + "id": 307, "nodeType": "StructuredDocumentation", - "src": "11639:135:1", + "src": "11978:139:0", "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 841, + "id": 333, "implemented": true, "kind": "function", "modifiers": [], "name": "trySub", "nodeType": "FunctionDefinition", "parameters": { - "id": 820, + "id": 312, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 817, + "id": 309, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11795:9:1", + "scope": 333, + "src": "12139:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3726,10 +3726,10 @@ "typeString": "uint256" }, "typeName": { - "id": 816, + "id": 308, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11795:7:1", + "src": "12139:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3739,12 +3739,12 @@ }, { "constant": false, - "id": 819, + "id": 311, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11806:9:1", + "scope": 333, + "src": "12150:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3752,10 +3752,10 @@ "typeString": "uint256" }, "typeName": { - "id": 818, + "id": 310, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11806:7:1", + "src": "12150:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3764,20 +3764,20 @@ "visibility": "internal" } ], - "src": "11794:22:1" + "src": "12138:22:0" }, "returnParameters": { - "id": 825, + "id": 317, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 822, + "id": 314, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11840:4:1", + "scope": 333, + "src": "12184:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3785,10 +3785,10 @@ "typeString": "bool" }, "typeName": { - "id": 821, + "id": 313, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11840:4:1", + "src": "12184:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3798,12 +3798,12 @@ }, { "constant": false, - "id": 824, + "id": 316, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11846:7:1", + "scope": 333, + "src": "12190:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3811,10 +3811,10 @@ "typeString": "uint256" }, "typeName": { - "id": 823, + "id": 315, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11846:7:1", + "src": "12190:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3823,19 +3823,19 @@ "visibility": "internal" } ], - "src": "11839:15:1" + "src": "12183:15:0" }, - "scope": 1135, - "src": "11779:151:1", + "scope": 627, + "src": "12123:154:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 881, + "id": 373, "nodeType": "Block", - "src": "12154:359:1", + "src": "12508:367:0", "statements": [ { "condition": { @@ -3843,18 +3843,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 855, + "id": 347, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 853, + "id": 345, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12386:1:1", + "referencedDeclaration": 336, + "src": "12744:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3864,42 +3864,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 854, + "id": 346, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12391:1:1", + "src": "12749:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12386:6:1", + "src": "12744:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 860, + "id": 352, "nodeType": "IfStatement", - "src": "12382:28:1", + "src": "12740:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "74727565", - "id": 856, + "id": 348, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12402:4:1", + "src": "12760:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3908,14 +3908,14 @@ }, { "hexValue": "30", - "id": 857, + "id": 349, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12408:1:1", + "src": "12766:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3923,38 +3923,38 @@ "value": "0" } ], - "id": 858, + "id": 350, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12401:9:1", + "src": "12759:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 859, + "functionReturnParameters": 344, + "id": 351, "nodeType": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } }, { "assignments": [ - 862 + 354 ], "declarations": [ { "constant": false, - "id": 862, + "id": 354, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 881, - "src": "12420:9:1", + "scope": 373, + "src": "12779:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3962,10 +3962,10 @@ "typeString": "uint256" }, "typeName": { - "id": 861, + "id": 353, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12420:7:1", + "src": "12779:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3974,24 +3974,24 @@ "visibility": "internal" } ], - "id": 866, + "id": 358, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 865, + "id": 357, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 863, + "id": 355, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12432:1:1", + "referencedDeclaration": 336, + "src": "12791:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4000,25 +4000,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 864, + "id": 356, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12436:1:1", + "referencedDeclaration": 338, + "src": "12795:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12432:5:1", + "src": "12791:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "condition": { @@ -4026,7 +4026,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 871, + "id": 363, "isConstant": false, "isLValue": false, "isPure": false, @@ -4036,18 +4036,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 869, + "id": 361, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 867, + "id": 359, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12451:1:1", + "referencedDeclaration": 354, + "src": "12811:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4056,18 +4056,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 868, + "id": 360, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12455:1:1", + "referencedDeclaration": 336, + "src": "12815:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:5:1", + "src": "12811:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4076,39 +4076,39 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 870, + "id": 362, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12460:1:1", + "referencedDeclaration": 338, + "src": "12820:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:10:1", + "src": "12811:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 876, + "id": 368, "nodeType": "IfStatement", - "src": "12447:33:1", + "src": "12807:33:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 872, + "id": 364, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12471:5:1", + "src": "12831:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4117,14 +4117,14 @@ }, { "hexValue": "30", - "id": 873, + "id": 365, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12478:1:1", + "src": "12838:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4132,23 +4132,23 @@ "value": "0" } ], - "id": 874, + "id": 366, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12470:10:1", + "src": "12830:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 875, + "functionReturnParameters": 344, + "id": 367, "nodeType": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } }, { @@ -4156,14 +4156,14 @@ "components": [ { "hexValue": "74727565", - "id": 877, + "id": 369, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12498:4:1", + "src": "12859:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4171,62 +4171,62 @@ "value": "true" }, { - "id": 878, + "id": 370, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12504:1:1", + "referencedDeclaration": 354, + "src": "12865:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 879, + "id": 371, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12497:9:1", + "src": "12858:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 852, - "id": 880, + "functionReturnParameters": 344, + "id": 372, "nodeType": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ] }, "documentation": { - "id": 842, + "id": 334, "nodeType": "StructuredDocumentation", - "src": "11936:137:1", + "src": "12285:141:0", "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 882, + "id": 374, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMul", "nodeType": "FunctionDefinition", "parameters": { - "id": 847, + "id": 339, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 844, + "id": 336, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12094:9:1", + "scope": 374, + "src": "12448:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4234,10 +4234,10 @@ "typeString": "uint256" }, "typeName": { - "id": 843, + "id": 335, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12094:7:1", + "src": "12448:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4247,12 +4247,12 @@ }, { "constant": false, - "id": 846, + "id": 338, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12105:9:1", + "scope": 374, + "src": "12459:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4260,10 +4260,10 @@ "typeString": "uint256" }, "typeName": { - "id": 845, + "id": 337, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12105:7:1", + "src": "12459:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4272,20 +4272,20 @@ "visibility": "internal" } ], - "src": "12093:22:1" + "src": "12447:22:0" }, "returnParameters": { - "id": 852, + "id": 344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 849, + "id": 341, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12139:4:1", + "scope": 374, + "src": "12493:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4293,10 +4293,10 @@ "typeString": "bool" }, "typeName": { - "id": 848, + "id": 340, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12139:4:1", + "src": "12493:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4306,12 +4306,12 @@ }, { "constant": false, - "id": 851, + "id": 343, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12145:7:1", + "scope": 374, + "src": "12499:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4319,10 +4319,10 @@ "typeString": "uint256" }, "typeName": { - "id": 850, + "id": 342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12145:7:1", + "src": "12499:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4331,19 +4331,19 @@ "visibility": "internal" } ], - "src": "12138:15:1" + "src": "12492:15:0" }, - "scope": 1135, - "src": "12078:435:1", + "scope": 627, + "src": "12432:443:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 908, + "id": 400, "nodeType": "Block", - "src": "12738:76:1", + "src": "13107:79:0", "statements": [ { "condition": { @@ -4351,18 +4351,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 896, + "id": 388, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 894, + "id": 386, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12752:1:1", + "referencedDeclaration": 379, + "src": "13122:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4372,42 +4372,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 895, + "id": 387, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12757:1:1", + "src": "13127:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12752:6:1", + "src": "13122:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 901, + "id": 393, "nodeType": "IfStatement", - "src": "12748:29:1", + "src": "13118:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 897, + "id": 389, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12768:5:1", + "src": "13138:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4416,14 +4416,14 @@ }, { "hexValue": "30", - "id": 898, + "id": 390, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12775:1:1", + "src": "13145:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4431,23 +4431,23 @@ "value": "0" } ], - "id": 899, + "id": 391, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12767:10:1", + "src": "13137:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 893, - "id": 900, + "functionReturnParameters": 385, + "id": 392, "nodeType": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } }, { @@ -4455,14 +4455,14 @@ "components": [ { "hexValue": "74727565", - "id": 902, + "id": 394, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12795:4:1", + "src": "13166:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4474,18 +4474,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 905, + "id": 397, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 903, + "id": 395, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 885, - "src": "12801:1:1", + "referencedDeclaration": 377, + "src": "13172:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4494,68 +4494,68 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 904, + "id": 396, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12805:1:1", + "referencedDeclaration": 379, + "src": "13176:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12801:5:1", + "src": "13172:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 906, + "id": 398, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12794:13:1", + "src": "13165:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 893, - "id": 907, + "functionReturnParameters": 385, + "id": 399, "nodeType": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ] }, "documentation": { - "id": 883, + "id": 375, "nodeType": "StructuredDocumentation", - "src": "12519:138:1", + "src": "12883:142:0", "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 909, + "id": 401, "implemented": true, "kind": "function", "modifiers": [], "name": "tryDiv", "nodeType": "FunctionDefinition", "parameters": { - "id": 888, + "id": 380, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 885, + "id": 377, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12678:9:1", + "scope": 401, + "src": "13047:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4563,10 +4563,10 @@ "typeString": "uint256" }, "typeName": { - "id": 884, + "id": 376, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12678:7:1", + "src": "13047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4576,12 +4576,12 @@ }, { "constant": false, - "id": 887, + "id": 379, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12689:9:1", + "scope": 401, + "src": "13058:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4589,10 +4589,10 @@ "typeString": "uint256" }, "typeName": { - "id": 886, + "id": 378, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12689:7:1", + "src": "13058:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4601,20 +4601,20 @@ "visibility": "internal" } ], - "src": "12677:22:1" + "src": "13046:22:0" }, "returnParameters": { - "id": 893, + "id": 385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 890, + "id": 382, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12723:4:1", + "scope": 401, + "src": "13092:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4622,10 +4622,10 @@ "typeString": "bool" }, "typeName": { - "id": 889, + "id": 381, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12723:4:1", + "src": "13092:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4635,12 +4635,12 @@ }, { "constant": false, - "id": 892, + "id": 384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12729:7:1", + "scope": 401, + "src": "13098:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4648,10 +4648,10 @@ "typeString": "uint256" }, "typeName": { - "id": 891, + "id": 383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12729:7:1", + "src": "13098:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4660,19 +4660,19 @@ "visibility": "internal" } ], - "src": "12722:15:1" + "src": "13091:15:0" }, - "scope": 1135, - "src": "12662:152:1", + "scope": 627, + "src": "13031:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 935, + "id": 427, "nodeType": "Block", - "src": "13049:76:1", + "src": "13428:79:0", "statements": [ { "condition": { @@ -4680,18 +4680,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 923, + "id": 415, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 921, + "id": 413, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13063:1:1", + "referencedDeclaration": 406, + "src": "13443:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4701,42 +4701,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 922, + "id": 414, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13068:1:1", + "src": "13448:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "13063:6:1", + "src": "13443:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 928, + "id": 420, "nodeType": "IfStatement", - "src": "13059:29:1", + "src": "13439:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 924, + "id": 416, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13079:5:1", + "src": "13459:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4745,14 +4745,14 @@ }, { "hexValue": "30", - "id": 925, + "id": 417, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13086:1:1", + "src": "13466:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4760,23 +4760,23 @@ "value": "0" } ], - "id": 926, + "id": 418, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13078:10:1", + "src": "13458:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 920, - "id": 927, + "functionReturnParameters": 412, + "id": 419, "nodeType": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } }, { @@ -4784,14 +4784,14 @@ "components": [ { "hexValue": "74727565", - "id": 929, + "id": 421, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13106:4:1", + "src": "13487:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4803,18 +4803,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 932, + "id": 424, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 930, + "id": 422, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 912, - "src": "13112:1:1", + "referencedDeclaration": 404, + "src": "13493:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4823,68 +4823,68 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 931, + "id": 423, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13116:1:1", + "referencedDeclaration": 406, + "src": "13497:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13112:5:1", + "src": "13493:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 933, + "id": 425, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13105:13:1", + "src": "13486:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 920, - "id": 934, + "functionReturnParameters": 412, + "id": 426, "nodeType": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ] }, "documentation": { - "id": 910, + "id": 402, "nodeType": "StructuredDocumentation", - "src": "12820:148:1", + "src": "13194:152:0", "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 936, + "id": 428, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMod", "nodeType": "FunctionDefinition", "parameters": { - "id": 915, + "id": 407, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 912, + "id": 404, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "12989:9:1", + "scope": 428, + "src": "13368:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4892,10 +4892,10 @@ "typeString": "uint256" }, "typeName": { - "id": 911, + "id": 403, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12989:7:1", + "src": "13368:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4905,12 +4905,12 @@ }, { "constant": false, - "id": 914, + "id": 406, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13000:9:1", + "scope": 428, + "src": "13379:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4918,10 +4918,10 @@ "typeString": "uint256" }, "typeName": { - "id": 913, + "id": 405, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13000:7:1", + "src": "13379:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4930,20 +4930,20 @@ "visibility": "internal" } ], - "src": "12988:22:1" + "src": "13367:22:0" }, "returnParameters": { - "id": 920, + "id": 412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 917, + "id": 409, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13034:4:1", + "scope": 428, + "src": "13413:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4951,10 +4951,10 @@ "typeString": "bool" }, "typeName": { - "id": 916, + "id": 408, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "13034:4:1", + "src": "13413:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4964,12 +4964,12 @@ }, { "constant": false, - "id": 919, + "id": 411, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13040:7:1", + "scope": 428, + "src": "13419:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4977,10 +4977,10 @@ "typeString": "uint256" }, "typeName": { - "id": 918, + "id": 410, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13040:7:1", + "src": "13419:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4989,33 +4989,33 @@ "visibility": "internal" } ], - "src": "13033:15:1" + "src": "13412:15:0" }, - "scope": 1135, - "src": "12973:152:1", + "scope": 627, + "src": "13352:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 961, + "id": 453, "nodeType": "Block", - "src": "13427:108:1", + "src": "13821:112:0", "statements": [ { "assignments": [ - 947 + 439 ], "declarations": [ { "constant": false, - "id": 947, + "id": 439, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 961, - "src": "13437:9:1", + "scope": 453, + "src": "13832:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5023,10 +5023,10 @@ "typeString": "uint256" }, "typeName": { - "id": 946, + "id": 438, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13437:7:1", + "src": "13832:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5035,24 +5035,24 @@ "visibility": "internal" } ], - "id": 951, + "id": 443, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 950, + "id": 442, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 948, + "id": 440, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13449:1:1", + "referencedDeclaration": 431, + "src": "13844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5061,25 +5061,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 949, + "id": 441, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 941, - "src": "13453:1:1", + "referencedDeclaration": 433, + "src": "13848:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13449:5:1", + "src": "13844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "expression": { @@ -5089,18 +5089,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 955, + "id": 447, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 953, + "id": 445, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13472:1:1", + "referencedDeclaration": 439, + "src": "13868:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5109,18 +5109,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 954, + "id": 446, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13477:1:1", + "referencedDeclaration": 431, + "src": "13873:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13472:6:1", + "src": "13868:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5128,14 +5128,14 @@ }, { "hexValue": "536166654d6174683a206164646974696f6e206f766572666c6f77", - "id": 956, + "id": 448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13480:29:1", + "src": "13876:29:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_30cc447bcc13b3e22b45cef0dd9b0b514842d836dd9b6eb384e20dedfb47723a", "typeString": "literal_string \"SafeMath: addition overflow\"" @@ -5154,7 +5154,7 @@ "typeString": "literal_string \"SafeMath: addition overflow\"" } ], - "id": 952, + "id": 444, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5162,13 +5162,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13464:7:1", + "src": "13860:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 957, + "id": 449, "isConstant": false, "isLValue": false, "isPure": false, @@ -5176,61 +5176,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13464:46:1", + "src": "13860:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 958, + "id": 450, "nodeType": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "expression": { - "id": 959, + "id": 451, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13527:1:1", + "referencedDeclaration": 439, + "src": "13924:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 945, - "id": 960, + "functionReturnParameters": 437, + "id": 452, "nodeType": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ] }, "documentation": { - "id": 937, + "id": 429, "nodeType": "StructuredDocumentation", - "src": "13131:224:1", + "src": "13515:233:0", "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 962, + "id": 454, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 942, + "id": 434, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 939, + "id": 431, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13373:9:1", + "scope": 454, + "src": "13767:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5238,10 +5238,10 @@ "typeString": "uint256" }, "typeName": { - "id": 938, + "id": 430, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13373:7:1", + "src": "13767:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5251,12 +5251,12 @@ }, { "constant": false, - "id": 941, + "id": 433, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13384:9:1", + "scope": 454, + "src": "13778:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5264,10 +5264,10 @@ "typeString": "uint256" }, "typeName": { - "id": 940, + "id": 432, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13384:7:1", + "src": "13778:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5276,20 +5276,20 @@ "visibility": "internal" } ], - "src": "13372:22:1" + "src": "13766:22:0" }, "returnParameters": { - "id": 945, + "id": 437, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 944, + "id": 436, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13418:7:1", + "scope": 454, + "src": "13812:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5297,10 +5297,10 @@ "typeString": "uint256" }, "typeName": { - "id": 943, + "id": 435, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13418:7:1", + "src": "13812:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5309,19 +5309,19 @@ "visibility": "internal" } ], - "src": "13417:9:1" + "src": "13811:9:0" }, - "scope": 1135, - "src": "13360:175:1", + "scope": 627, + "src": "13754:179:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 983, + "id": 475, "nodeType": "Block", - "src": "13873:88:1", + "src": "14283:91:0", "statements": [ { "expression": { @@ -5331,18 +5331,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 975, + "id": 467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 973, + "id": 465, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13891:1:1", + "referencedDeclaration": 459, + "src": "14302:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5351,18 +5351,18 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 974, + "id": 466, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13896:1:1", + "referencedDeclaration": 457, + "src": "14307:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13891:6:1", + "src": "14302:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5370,14 +5370,14 @@ }, { "hexValue": "536166654d6174683a207375627472616374696f6e206f766572666c6f77", - "id": 976, + "id": 468, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13899:32:1", + "src": "14310:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_50b058e9b5320e58880d88223c9801cd9eecdcf90323d5c2318bc1b6b916e862", "typeString": "literal_string \"SafeMath: subtraction overflow\"" @@ -5396,7 +5396,7 @@ "typeString": "literal_string \"SafeMath: subtraction overflow\"" } ], - "id": 972, + "id": 464, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5404,13 +5404,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13883:7:1", + "src": "14294:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 977, + "id": 469, "isConstant": false, "isLValue": false, "isPure": false, @@ -5418,16 +5418,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13883:49:1", + "src": "14294:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 978, + "id": 470, "nodeType": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "expression": { @@ -5435,18 +5435,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 981, + "id": 473, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 979, + "id": 471, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13949:1:1", + "referencedDeclaration": 457, + "src": "14361:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5455,54 +5455,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 980, + "id": 472, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13953:1:1", + "referencedDeclaration": 459, + "src": "14365:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13949:5:1", + "src": "14361:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 971, - "id": 982, + "functionReturnParameters": 463, + "id": 474, "nodeType": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ] }, "documentation": { - "id": 963, + "id": 455, "nodeType": "StructuredDocumentation", - "src": "13541:260:1", + "src": "13941:269:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 984, + "id": 476, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 968, + "id": 460, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 965, + "id": 457, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13819:9:1", + "scope": 476, + "src": "14229:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5510,10 +5510,10 @@ "typeString": "uint256" }, "typeName": { - "id": 964, + "id": 456, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13819:7:1", + "src": "14229:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5523,12 +5523,12 @@ }, { "constant": false, - "id": 967, + "id": 459, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13830:9:1", + "scope": 476, + "src": "14240:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5536,10 +5536,10 @@ "typeString": "uint256" }, "typeName": { - "id": 966, + "id": 458, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13830:7:1", + "src": "14240:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5548,20 +5548,20 @@ "visibility": "internal" } ], - "src": "13818:22:1" + "src": "14228:22:0" }, "returnParameters": { - "id": 971, + "id": 463, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 970, + "id": 462, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13864:7:1", + "scope": 476, + "src": "14274:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5569,10 +5569,10 @@ "typeString": "uint256" }, "typeName": { - "id": 969, + "id": 461, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13864:7:1", + "src": "14274:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5581,19 +5581,19 @@ "visibility": "internal" } ], - "src": "13863:9:1" + "src": "14273:9:0" }, - "scope": 1135, - "src": "13806:155:1", + "scope": 627, + "src": "14216:158:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1017, + "id": 509, "nodeType": "Block", - "src": "14275:148:1", + "src": "14700:153:0", "statements": [ { "condition": { @@ -5601,18 +5601,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 996, + "id": 488, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 994, + "id": 486, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14289:1:1", + "referencedDeclaration": 479, + "src": "14715:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5622,65 +5622,65 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 995, + "id": 487, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14294:1:1", + "src": "14720:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14289:6:1", + "src": "14715:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 999, + "id": 491, "nodeType": "IfStatement", - "src": "14285:20:1", + "src": "14711:20:0", "trueBody": { "expression": { "hexValue": "30", - "id": 997, + "id": 489, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14304:1:1", + "src": "14730:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "functionReturnParameters": 993, - "id": 998, + "functionReturnParameters": 485, + "id": 490, "nodeType": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } }, { "assignments": [ - 1001 + 493 ], "declarations": [ { "constant": false, - "id": 1001, + "id": 493, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 1017, - "src": "14315:9:1", + "scope": 509, + "src": "14742:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5688,10 +5688,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1000, + "id": 492, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14315:7:1", + "src": "14742:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5700,24 +5700,24 @@ "visibility": "internal" } ], - "id": 1005, + "id": 497, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1004, + "id": 496, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1002, + "id": 494, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14327:1:1", + "referencedDeclaration": 479, + "src": "14754:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5726,25 +5726,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 1003, + "id": 495, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14331:1:1", + "referencedDeclaration": 481, + "src": "14758:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14327:5:1", + "src": "14754:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "expression": { @@ -5754,7 +5754,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1011, + "id": 503, "isConstant": false, "isLValue": false, "isPure": false, @@ -5764,18 +5764,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1009, + "id": 501, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1007, + "id": 499, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14350:1:1", + "referencedDeclaration": 493, + "src": "14778:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5784,18 +5784,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1008, + "id": 500, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14354:1:1", + "referencedDeclaration": 479, + "src": "14782:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:5:1", + "src": "14778:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5804,18 +5804,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 1010, + "id": 502, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14359:1:1", + "referencedDeclaration": 481, + "src": "14787:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:10:1", + "src": "14778:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5823,14 +5823,14 @@ }, { "hexValue": "536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77", - "id": 1012, + "id": 504, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14362:35:1", + "src": "14790:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9113bb53c2876a3805b2c9242029423fc540a728243ce887ab24c82cf119fba3", "typeString": "literal_string \"SafeMath: multiplication overflow\"" @@ -5849,7 +5849,7 @@ "typeString": "literal_string \"SafeMath: multiplication overflow\"" } ], - "id": 1006, + "id": 498, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5857,13 +5857,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14342:7:1", + "src": "14770:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1013, + "id": 505, "isConstant": false, "isLValue": false, "isPure": false, @@ -5871,61 +5871,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14342:56:1", + "src": "14770:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1014, + "id": 506, "nodeType": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "expression": { - "id": 1015, + "id": 507, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14415:1:1", + "referencedDeclaration": 493, + "src": "14844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 993, - "id": 1016, + "functionReturnParameters": 485, + "id": 508, "nodeType": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ] }, "documentation": { - "id": 985, + "id": 477, "nodeType": "StructuredDocumentation", - "src": "13967:236:1", + "src": "14382:245:0", "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 1018, + "id": 510, "implemented": true, "kind": "function", "modifiers": [], "name": "mul", "nodeType": "FunctionDefinition", "parameters": { - "id": 990, + "id": 482, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 987, + "id": 479, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14221:9:1", + "scope": 510, + "src": "14646:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5933,10 +5933,10 @@ "typeString": "uint256" }, "typeName": { - "id": 986, + "id": 478, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14221:7:1", + "src": "14646:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5946,12 +5946,12 @@ }, { "constant": false, - "id": 989, + "id": 481, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14232:9:1", + "scope": 510, + "src": "14657:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5959,10 +5959,10 @@ "typeString": "uint256" }, "typeName": { - "id": 988, + "id": 480, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14232:7:1", + "src": "14657:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5971,20 +5971,20 @@ "visibility": "internal" } ], - "src": "14220:22:1" + "src": "14645:22:0" }, "returnParameters": { - "id": 993, + "id": 485, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 992, + "id": 484, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14266:7:1", + "scope": 510, + "src": "14691:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5992,10 +5992,10 @@ "typeString": "uint256" }, "typeName": { - "id": 991, + "id": 483, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14266:7:1", + "src": "14691:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6004,19 +6004,19 @@ "visibility": "internal" } ], - "src": "14265:9:1" + "src": "14690:9:0" }, - "scope": 1135, - "src": "14208:215:1", + "scope": 627, + "src": "14633:220:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1039, + "id": 531, "nodeType": "Block", - "src": "14954:83:1", + "src": "15398:86:0", "statements": [ { "expression": { @@ -6026,18 +6026,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1031, + "id": 523, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1029, + "id": 521, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "14972:1:1", + "referencedDeclaration": 515, + "src": "15417:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6047,21 +6047,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1030, + "id": 522, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14976:1:1", + "src": "15421:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14972:5:1", + "src": "15417:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6069,14 +6069,14 @@ }, { "hexValue": "536166654d6174683a206469766973696f6e206279207a65726f", - "id": 1032, + "id": 524, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14979:28:1", + "src": "15424:28:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5b7cc70dda4dc2143e5adb63bd5d1f349504f461dbdfd9bc76fac1f8ca6d019f", "typeString": "literal_string \"SafeMath: division by zero\"" @@ -6095,7 +6095,7 @@ "typeString": "literal_string \"SafeMath: division by zero\"" } ], - "id": 1028, + "id": 520, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6103,13 +6103,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14964:7:1", + "src": "15409:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1033, + "id": 525, "isConstant": false, "isLValue": false, "isPure": false, @@ -6117,16 +6117,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14964:44:1", + "src": "15409:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1034, + "id": 526, "nodeType": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "expression": { @@ -6134,18 +6134,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1037, + "id": 529, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1035, + "id": 527, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1021, - "src": "15025:1:1", + "referencedDeclaration": 513, + "src": "15471:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6154,54 +6154,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1036, + "id": 528, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "15029:1:1", + "referencedDeclaration": 515, + "src": "15475:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15025:5:1", + "src": "15471:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1027, - "id": 1038, + "functionReturnParameters": 519, + "id": 530, "nodeType": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ] }, "documentation": { - "id": 1019, + "id": 511, "nodeType": "StructuredDocumentation", - "src": "14429:453:1", + "src": "14861:464:0", "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1040, + "id": 532, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1024, + "id": 516, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1021, + "id": 513, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14900:9:1", + "scope": 532, + "src": "15344:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6209,10 +6209,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1020, + "id": 512, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14900:7:1", + "src": "15344:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6222,12 +6222,12 @@ }, { "constant": false, - "id": 1023, + "id": 515, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14911:9:1", + "scope": 532, + "src": "15355:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6235,10 +6235,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1022, + "id": 514, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14911:7:1", + "src": "15355:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6247,20 +6247,20 @@ "visibility": "internal" } ], - "src": "14899:22:1" + "src": "15343:22:0" }, "returnParameters": { - "id": 1027, + "id": 519, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1026, + "id": 518, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14945:7:1", + "scope": 532, + "src": "15389:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6268,10 +6268,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1025, + "id": 517, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14945:7:1", + "src": "15389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6280,19 +6280,19 @@ "visibility": "internal" } ], - "src": "14944:9:1" + "src": "15388:9:0" }, - "scope": 1135, - "src": "14887:150:1", + "scope": 627, + "src": "15331:153:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1061, + "id": 553, "nodeType": "Block", - "src": "15557:81:1", + "src": "16018:84:0", "statements": [ { "expression": { @@ -6302,18 +6302,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1053, + "id": 545, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1051, + "id": 543, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15575:1:1", + "referencedDeclaration": 537, + "src": "16037:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6323,21 +6323,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1052, + "id": 544, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15579:1:1", + "src": "16041:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "15575:5:1", + "src": "16037:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6345,14 +6345,14 @@ }, { "hexValue": "536166654d6174683a206d6f64756c6f206279207a65726f", - "id": 1054, + "id": 546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "15582:26:1", + "src": "16044:26:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_726e51f7b81fce0a68f5f214f445e275313b20b1633f08ce954ee39abf8d7832", "typeString": "literal_string \"SafeMath: modulo by zero\"" @@ -6371,7 +6371,7 @@ "typeString": "literal_string \"SafeMath: modulo by zero\"" } ], - "id": 1050, + "id": 542, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6379,13 +6379,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "15567:7:1", + "src": "16029:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1055, + "id": 547, "isConstant": false, "isLValue": false, "isPure": false, @@ -6393,16 +6393,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15567:42:1", + "src": "16029:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1056, + "id": 548, "nodeType": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "expression": { @@ -6410,18 +6410,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1059, + "id": 551, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1057, + "id": 549, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1043, - "src": "15626:1:1", + "referencedDeclaration": 535, + "src": "16089:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6430,54 +6430,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1058, + "id": 550, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15630:1:1", + "referencedDeclaration": 537, + "src": "16093:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15626:5:1", + "src": "16089:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1049, - "id": 1060, + "functionReturnParameters": 541, + "id": 552, "nodeType": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ] }, "documentation": { - "id": 1041, + "id": 533, "nodeType": "StructuredDocumentation", - "src": "15043:442:1", + "src": "15492:453:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1062, + "id": 554, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1046, + "id": 538, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1043, + "id": 535, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15503:9:1", + "scope": 554, + "src": "15964:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6485,10 +6485,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1042, + "id": 534, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15503:7:1", + "src": "15964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6498,12 +6498,12 @@ }, { "constant": false, - "id": 1045, + "id": 537, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15514:9:1", + "scope": 554, + "src": "15975:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6511,10 +6511,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1044, + "id": 536, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15514:7:1", + "src": "15975:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6523,20 +6523,20 @@ "visibility": "internal" } ], - "src": "15502:22:1" + "src": "15963:22:0" }, "returnParameters": { - "id": 1049, + "id": 541, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1048, + "id": 540, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15548:7:1", + "scope": 554, + "src": "16009:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6544,10 +6544,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1047, + "id": 539, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15548:7:1", + "src": "16009:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6556,19 +6556,19 @@ "visibility": "internal" } ], - "src": "15547:9:1" + "src": "16008:9:0" }, - "scope": 1135, - "src": "15490:148:1", + "scope": 627, + "src": "15951:151:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1085, + "id": 577, "nodeType": "Block", - "src": "16197:68:1", + "src": "16676:71:0", "statements": [ { "expression": { @@ -6578,18 +6578,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1077, + "id": 569, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1075, + "id": 567, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16215:1:1", + "referencedDeclaration": 559, + "src": "16695:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6598,30 +6598,30 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 1076, + "id": 568, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16220:1:1", + "referencedDeclaration": 557, + "src": "16700:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16215:6:1", + "src": "16695:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1078, + "id": 570, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1069, - "src": "16223:12:1", + "referencedDeclaration": 561, + "src": "16703:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6639,7 +6639,7 @@ "typeString": "string memory" } ], - "id": 1074, + "id": 566, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6647,13 +6647,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "16207:7:1", + "src": "16687:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1079, + "id": 571, "isConstant": false, "isLValue": false, "isPure": false, @@ -6661,16 +6661,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16207:29:1", + "src": "16687:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1080, + "id": 572, "nodeType": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "expression": { @@ -6678,18 +6678,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1083, + "id": 575, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1081, + "id": 573, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16253:1:1", + "referencedDeclaration": 557, + "src": "16734:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6698,54 +6698,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 1082, + "id": 574, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16257:1:1", + "referencedDeclaration": 559, + "src": "16738:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16253:5:1", + "src": "16734:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1073, - "id": 1084, + "functionReturnParameters": 565, + "id": 576, "nodeType": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ] }, "documentation": { - "id": 1063, + "id": 555, "nodeType": "StructuredDocumentation", - "src": "15644:453:1", + "src": "16110:465:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1086, + "id": 578, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 1070, + "id": 562, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1065, + "id": 557, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16115:9:1", + "scope": 578, + "src": "16594:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6753,10 +6753,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1064, + "id": 556, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16115:7:1", + "src": "16594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6766,12 +6766,12 @@ }, { "constant": false, - "id": 1067, + "id": 559, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16126:9:1", + "scope": 578, + "src": "16605:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6779,10 +6779,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1066, + "id": 558, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16126:7:1", + "src": "16605:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6792,12 +6792,12 @@ }, { "constant": false, - "id": 1069, + "id": 561, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16137:26:1", + "scope": 578, + "src": "16616:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -6805,10 +6805,10 @@ "typeString": "string" }, "typeName": { - "id": 1068, + "id": 560, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16137:6:1", + "src": "16616:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -6817,20 +6817,20 @@ "visibility": "internal" } ], - "src": "16114:50:1" + "src": "16593:50:0" }, "returnParameters": { - "id": 1073, + "id": 565, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1072, + "id": 564, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16188:7:1", + "scope": 578, + "src": "16667:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6838,10 +6838,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1071, + "id": 563, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16188:7:1", + "src": "16667:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6850,19 +6850,19 @@ "visibility": "internal" } ], - "src": "16187:9:1" + "src": "16666:9:0" }, - "scope": 1135, - "src": "16102:163:1", + "scope": 627, + "src": "16581:166:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1109, + "id": 601, "nodeType": "Block", - "src": "17017:67:1", + "src": "17516:70:0", "statements": [ { "expression": { @@ -6872,18 +6872,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1101, + "id": 593, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1099, + "id": 591, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17035:1:1", + "referencedDeclaration": 583, + "src": "17535:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6893,33 +6893,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1100, + "id": 592, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17039:1:1", + "src": "17539:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17035:5:1", + "src": "17535:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1102, + "id": 594, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1093, - "src": "17042:12:1", + "referencedDeclaration": 585, + "src": "17542:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6937,7 +6937,7 @@ "typeString": "string memory" } ], - "id": 1098, + "id": 590, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6945,13 +6945,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17027:7:1", + "src": "17527:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1103, + "id": 595, "isConstant": false, "isLValue": false, "isPure": false, @@ -6959,16 +6959,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17027:28:1", + "src": "17527:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1104, + "id": 596, "nodeType": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "expression": { @@ -6976,18 +6976,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1107, + "id": 599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1105, + "id": 597, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1089, - "src": "17072:1:1", + "referencedDeclaration": 581, + "src": "17573:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6996,54 +6996,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1106, + "id": 598, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17076:1:1", + "referencedDeclaration": 583, + "src": "17577:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17072:5:1", + "src": "17573:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1097, - "id": 1108, + "functionReturnParameters": 589, + "id": 600, "nodeType": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ] }, "documentation": { - "id": 1087, + "id": 579, "nodeType": "StructuredDocumentation", - "src": "16271:646:1", + "src": "16755:660:0", "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1110, + "id": 602, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1094, + "id": 586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1089, + "id": 581, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16935:9:1", + "scope": 602, + "src": "17434:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7051,10 +7051,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1088, + "id": 580, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16935:7:1", + "src": "17434:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7064,12 +7064,12 @@ }, { "constant": false, - "id": 1091, + "id": 583, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16946:9:1", + "scope": 602, + "src": "17445:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7077,10 +7077,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1090, + "id": 582, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16946:7:1", + "src": "17445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7090,12 +7090,12 @@ }, { "constant": false, - "id": 1093, + "id": 585, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16957:26:1", + "scope": 602, + "src": "17456:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7103,10 +7103,10 @@ "typeString": "string" }, "typeName": { - "id": 1092, + "id": 584, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16957:6:1", + "src": "17456:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7115,20 +7115,20 @@ "visibility": "internal" } ], - "src": "16934:50:1" + "src": "17433:50:0" }, "returnParameters": { - "id": 1097, + "id": 589, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1096, + "id": 588, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "17008:7:1", + "scope": 602, + "src": "17507:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7136,10 +7136,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1095, + "id": 587, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17008:7:1", + "src": "17507:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7148,19 +7148,19 @@ "visibility": "internal" } ], - "src": "17007:9:1" + "src": "17506:9:0" }, - "scope": 1135, - "src": "16922:162:1", + "scope": 627, + "src": "17421:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1133, + "id": 625, "nodeType": "Block", - "src": "17825:67:1", + "src": "18344:70:0", "statements": [ { "expression": { @@ -7170,18 +7170,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1125, + "id": 617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1123, + "id": 615, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17843:1:1", + "referencedDeclaration": 607, + "src": "18363:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7191,33 +7191,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1124, + "id": 616, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17847:1:1", + "src": "18367:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17843:5:1", + "src": "18363:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1126, + "id": 618, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1117, - "src": "17850:12:1", + "referencedDeclaration": 609, + "src": "18370:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7235,7 +7235,7 @@ "typeString": "string memory" } ], - "id": 1122, + "id": 614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7243,13 +7243,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17835:7:1", + "src": "18355:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1127, + "id": 619, "isConstant": false, "isLValue": false, "isPure": false, @@ -7257,16 +7257,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17835:28:1", + "src": "18355:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1128, + "id": 620, "nodeType": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "expression": { @@ -7274,18 +7274,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1131, + "id": 623, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1129, + "id": 621, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1113, - "src": "17880:1:1", + "referencedDeclaration": 605, + "src": "18401:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7294,54 +7294,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1130, + "id": 622, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17884:1:1", + "referencedDeclaration": 607, + "src": "18405:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17880:5:1", + "src": "18401:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1121, - "id": 1132, + "functionReturnParameters": 613, + "id": 624, "nodeType": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ] }, "documentation": { - "id": 1111, + "id": 603, "nodeType": "StructuredDocumentation", - "src": "17090:635:1", + "src": "17594:649:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1134, + "id": 626, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1118, + "id": 610, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1113, + "id": 605, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17743:9:1", + "scope": 626, + "src": "18262:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7349,10 +7349,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1112, + "id": 604, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17743:7:1", + "src": "18262:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7362,12 +7362,12 @@ }, { "constant": false, - "id": 1115, + "id": 607, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17754:9:1", + "scope": 626, + "src": "18273:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7375,10 +7375,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1114, + "id": 606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17754:7:1", + "src": "18273:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7388,12 +7388,12 @@ }, { "constant": false, - "id": 1117, + "id": 609, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17765:26:1", + "scope": 626, + "src": "18284:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7401,10 +7401,10 @@ "typeString": "string" }, "typeName": { - "id": 1116, + "id": 608, "name": "string", "nodeType": "ElementaryTypeName", - "src": "17765:6:1", + "src": "18284:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7413,20 +7413,20 @@ "visibility": "internal" } ], - "src": "17742:50:1" + "src": "18261:50:0" }, "returnParameters": { - "id": 1121, + "id": 613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1120, + "id": 612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17816:7:1", + "scope": 626, + "src": "18335:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7434,10 +7434,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1119, + "id": 611, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17816:7:1", + "src": "18335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7446,20 +7446,20 @@ "visibility": "internal" } ], - "src": "17815:9:1" + "src": "18334:9:0" }, - "scope": 1135, - "src": "17730:162:1", + "scope": 627, + "src": "18249:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "11300:6594:1" + "scope": 2991, + "src": "11627:6790:0" }, { - "id": 1136, + "id": 628, "literals": [ "solidity", ">=", @@ -7470,7 +7470,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "abstract": false, @@ -7478,38 +7478,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1137, + "id": 629, "nodeType": "StructuredDocumentation", - "src": "17980:67:1", + "src": "18508:69:0", "text": " @dev Collection of functions related to the address type" }, "fullyImplemented": true, - "id": 1430, + "id": 922, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1153, + "id": 645, "nodeType": "Block", - "src": "18706:347:1", + "src": "19255:356:0", "statements": [ { "assignments": [ - 1146 + 638 ], "declarations": [ { "constant": false, - "id": 1146, + "id": 638, "mutability": "mutable", "name": "size", "nodeType": "VariableDeclaration", - "scope": 1153, - "src": "18903:12:1", + "scope": 645, + "src": "19457:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7517,10 +7517,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1145, + "id": 637, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "18903:7:1", + "src": "19457:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7529,39 +7529,39 @@ "visibility": "internal" } ], - "id": 1147, + "id": 639, "nodeType": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "AST": { "nodeType": "YulBlock", - "src": "18990:32:1", + "src": "19546:32:0", "statements": [ { "nodeType": "YulAssignment", - "src": "18992:28:1", + "src": "19548:28:0", "value": { "arguments": [ { "name": "account", "nodeType": "YulIdentifier", - "src": "19012:7:1" + "src": "19568:7:0" } ], "functionName": { "name": "extcodesize", "nodeType": "YulIdentifier", - "src": "19000:11:1" + "src": "19556:11:0" }, "nodeType": "YulFunctionCall", - "src": "19000:20:1" + "src": "19556:20:0" }, "variableNames": [ { "name": "size", "nodeType": "YulIdentifier", - "src": "18992:4:1" + "src": "19548:4:0" } ] } @@ -7570,23 +7570,23 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], - "id": 1148, + "id": 640, "nodeType": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "expression": { @@ -7594,18 +7594,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1151, + "id": 643, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1149, + "id": 641, "name": "size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1146, - "src": "19038:4:1", + "referencedDeclaration": 638, + "src": "19595:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7615,57 +7615,57 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1150, + "id": 642, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19045:1:1", + "src": "19602:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "19038:8:1", + "src": "19595:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1144, - "id": 1152, + "functionReturnParameters": 636, + "id": 644, "nodeType": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ] }, "documentation": { - "id": 1138, + "id": 630, "nodeType": "StructuredDocumentation", - "src": "18070:565:1", + "src": "18602:581:0", "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1154, + "id": 646, "implemented": true, "kind": "function", "modifiers": [], "name": "isContract", "nodeType": "FunctionDefinition", "parameters": { - "id": 1141, + "id": 633, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1140, + "id": 632, "mutability": "mutable", "name": "account", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18660:15:1", + "scope": 646, + "src": "19209:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7673,10 +7673,10 @@ "typeString": "address" }, "typeName": { - "id": 1139, + "id": 631, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18660:7:1", + "src": "19209:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -7686,20 +7686,20 @@ "visibility": "internal" } ], - "src": "18659:17:1" + "src": "19208:17:0" }, "returnParameters": { - "id": 1144, + "id": 636, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1143, + "id": 635, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18700:4:1", + "scope": 646, + "src": "19249:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7707,10 +7707,10 @@ "typeString": "bool" }, "typeName": { - "id": 1142, + "id": 634, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "18700:4:1", + "src": "19249:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7719,19 +7719,19 @@ "visibility": "internal" } ], - "src": "18699:6:1" + "src": "19248:6:0" }, - "scope": 1430, - "src": "18640:413:1", + "scope": 922, + "src": "19189:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1187, + "id": 679, "nodeType": "Block", - "src": "20041:320:1", + "src": "20617:326:0", "statements": [ { "expression": { @@ -7741,7 +7741,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1169, + "id": 661, "isConstant": false, "isLValue": false, "isPure": false, @@ -7750,14 +7750,14 @@ "expression": { "arguments": [ { - "id": 1165, + "id": 657, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "20067:4:1", + "src": "20644:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -7765,30 +7765,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1164, + "id": 656, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1163, + "id": 655, "name": "address", "nodeType": "ElementaryTypeName", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": {} } }, - "id": 1166, + "id": 658, "isConstant": false, "isLValue": false, "isPure": false, @@ -7796,21 +7796,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20059:13:1", + "src": "20636:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1167, + "id": 659, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "20059:21:1", + "src": "20636:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7819,18 +7819,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1168, + "id": 660, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20084:6:1", + "referencedDeclaration": 651, + "src": "20661:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "20059:31:1", + "src": "20636:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7838,14 +7838,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e6365", - "id": 1170, + "id": 662, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20092:31:1", + "src": "20669:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9", "typeString": "literal_string \"Address: insufficient balance\"" @@ -7864,7 +7864,7 @@ "typeString": "literal_string \"Address: insufficient balance\"" } ], - "id": 1162, + "id": 654, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7872,13 +7872,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20051:7:1", + "src": "20628:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1171, + "id": 663, "isConstant": false, "isLValue": false, "isPure": false, @@ -7886,31 +7886,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20051:73:1", + "src": "20628:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1172, + "id": 664, "nodeType": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "assignments": [ - 1174, + 666, null ], "declarations": [ { "constant": false, - "id": 1174, + "id": 666, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1187, - "src": "20213:12:1", + "scope": 679, + "src": "20793:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7918,10 +7918,10 @@ "typeString": "bool" }, "typeName": { - "id": 1173, + "id": 665, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "20213:4:1", + "src": "20793:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7931,19 +7931,19 @@ }, null ], - "id": 1181, + "id": 673, "initialValue": { "arguments": [ { "hexValue": "", - "id": 1179, + "id": 671, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20263:2:1", + "src": "20843:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -7966,31 +7966,31 @@ } ], "expression": { - "id": 1175, + "id": 667, "name": "recipient", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1157, - "src": "20231:9:1", + "referencedDeclaration": 649, + "src": "20811:9:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 1176, + "id": 668, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "20231:14:1", + "src": "20811:14:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1178, + "id": 670, "isConstant": false, "isLValue": false, "isPure": false, @@ -8001,25 +8001,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1177, + "id": 669, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20254:6:1", + "referencedDeclaration": 651, + "src": "20834:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "20231:31:1", + "src": "20811:31:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1180, + "id": 672, "isConstant": false, "isLValue": false, "isPure": false, @@ -8027,7 +8027,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20231:35:1", + "src": "20811:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -8035,18 +8035,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "expression": { "arguments": [ { - "id": 1183, + "id": 675, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1174, - "src": "20284:7:1", + "referencedDeclaration": 666, + "src": "20865:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8054,14 +8054,14 @@ }, { "hexValue": "416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564", - "id": 1184, + "id": 676, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20293:60:1", + "src": "20874:60:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae", "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" @@ -8080,7 +8080,7 @@ "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" } ], - "id": 1182, + "id": 674, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -8088,13 +8088,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20276:7:1", + "src": "20857:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1185, + "id": 677, "isConstant": false, "isLValue": false, "isPure": false, @@ -8102,43 +8102,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20276:78:1", + "src": "20857:78:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1186, + "id": 678, "nodeType": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ] }, "documentation": { - "id": 1155, + "id": 647, "nodeType": "StructuredDocumentation", - "src": "19059:906:1", + "src": "19619:921:0", "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1188, + "id": 680, "implemented": true, "kind": "function", "modifiers": [], "name": "sendValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1160, + "id": 652, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1157, + "id": 649, "mutability": "mutable", "name": "recipient", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "19989:25:1", + "scope": 680, + "src": "20565:25:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8146,10 +8146,10 @@ "typeString": "address payable" }, "typeName": { - "id": 1156, + "id": 648, "name": "address", "nodeType": "ElementaryTypeName", - "src": "19989:15:1", + "src": "20565:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -8160,12 +8160,12 @@ }, { "constant": false, - "id": 1159, + "id": 651, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "20016:14:1", + "scope": 680, + "src": "20592:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8173,10 +8173,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1158, + "id": 650, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "20016:7:1", + "src": "20592:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8185,48 +8185,48 @@ "visibility": "internal" } ], - "src": "19988:43:1" + "src": "20564:43:0" }, "returnParameters": { - "id": 1161, + "id": 653, "nodeType": "ParameterList", "parameters": [], - "src": "20041:0:1" + "src": "20617:0:0" }, - "scope": 1430, - "src": "19970:391:1", + "scope": 922, + "src": "20546:397:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1204, + "id": 696, "nodeType": "Block", - "src": "21191:82:1", + "src": "21793:84:0", "statements": [ { "expression": { "arguments": [ { - "id": 1199, + "id": 691, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1191, - "src": "21219:6:1", + "referencedDeclaration": 683, + "src": "21822:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1200, + "id": 692, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1193, - "src": "21227:4:1", + "referencedDeclaration": 685, + "src": "21830:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8234,14 +8234,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564", - "id": 1201, + "id": 693, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "21233:32:1", + "src": "21836:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", "typeString": "literal_string \"Address: low-level call failed\"" @@ -8264,21 +8264,21 @@ "typeString": "literal_string \"Address: low-level call failed\"" } ], - "id": 1198, + "id": 690, "name": "functionCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, - "src": "21206:12:1", + "referencedDeclaration": 717, + "src": "21809:12:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1202, + "id": 694, "isConstant": false, "isLValue": false, "isPure": false, @@ -8286,44 +8286,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21206:60:1", + "src": "21809:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1197, - "id": 1203, + "functionReturnParameters": 689, + "id": 695, "nodeType": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ] }, "documentation": { - "id": 1189, + "id": 681, "nodeType": "StructuredDocumentation", - "src": "20367:730:1", + "src": "20951:747:0", "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1205, + "id": 697, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1194, + "id": 686, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1191, + "id": 683, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21124:14:1", + "scope": 697, + "src": "21726:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8331,10 +8331,10 @@ "typeString": "address" }, "typeName": { - "id": 1190, + "id": 682, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21124:7:1", + "src": "21726:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8345,12 +8345,12 @@ }, { "constant": false, - "id": 1193, + "id": 685, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21140:17:1", + "scope": 697, + "src": "21742:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8358,10 +8358,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1192, + "id": 684, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21140:5:1", + "src": "21742:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8370,20 +8370,20 @@ "visibility": "internal" } ], - "src": "21123:35:1" + "src": "21725:35:0" }, "returnParameters": { - "id": 1197, + "id": 689, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1196, + "id": 688, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21177:12:1", + "scope": 697, + "src": "21779:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8391,10 +8391,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1195, + "id": 687, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21177:5:1", + "src": "21779:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8403,42 +8403,42 @@ "visibility": "internal" } ], - "src": "21176:14:1" + "src": "21778:14:0" }, - "scope": 1430, - "src": "21102:171:1", + "scope": 922, + "src": "21704:173:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1224, + "id": 716, "nodeType": "Block", - "src": "21612:76:1", + "src": "22224:78:0", "statements": [ { "expression": { "arguments": [ { - "id": 1218, + "id": 710, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1208, - "src": "21651:6:1", + "referencedDeclaration": 700, + "src": "22264:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1219, + "id": 711, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1210, - "src": "21659:4:1", + "referencedDeclaration": 702, + "src": "22272:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8446,14 +8446,14 @@ }, { "hexValue": "30", - "id": 1220, + "id": 712, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "21665:1:1", + "src": "22278:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -8461,12 +8461,12 @@ "value": "0" }, { - "id": 1221, + "id": 713, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1212, - "src": "21668:12:1", + "referencedDeclaration": 704, + "src": "22281:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -8492,21 +8492,21 @@ "typeString": "string memory" } ], - "id": 1217, + "id": 709, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "21629:21:1", + "referencedDeclaration": 787, + "src": "22242:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1222, + "id": 714, "isConstant": false, "isLValue": false, "isPure": false, @@ -8514,44 +8514,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21629:52:1", + "src": "22242:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1216, - "id": 1223, + "functionReturnParameters": 708, + "id": 715, "nodeType": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ] }, "documentation": { - "id": 1206, + "id": 698, "nodeType": "StructuredDocumentation", - "src": "21279:211:1", + "src": "21885:216:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1225, + "id": 717, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1213, + "id": 705, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1208, + "id": 700, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21517:14:1", + "scope": 717, + "src": "22129:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8559,10 +8559,10 @@ "typeString": "address" }, "typeName": { - "id": 1207, + "id": 699, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21517:7:1", + "src": "22129:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8573,12 +8573,12 @@ }, { "constant": false, - "id": 1210, + "id": 702, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21533:17:1", + "scope": 717, + "src": "22145:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8586,10 +8586,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1209, + "id": 701, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21533:5:1", + "src": "22145:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8599,12 +8599,12 @@ }, { "constant": false, - "id": 1212, + "id": 704, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21552:26:1", + "scope": 717, + "src": "22164:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8612,10 +8612,10 @@ "typeString": "string" }, "typeName": { - "id": 1211, + "id": 703, "name": "string", "nodeType": "ElementaryTypeName", - "src": "21552:6:1", + "src": "22164:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -8624,20 +8624,20 @@ "visibility": "internal" } ], - "src": "21516:63:1" + "src": "22128:63:0" }, "returnParameters": { - "id": 1216, + "id": 708, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1215, + "id": 707, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21598:12:1", + "scope": 717, + "src": "22210:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8645,10 +8645,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1214, + "id": 706, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21598:5:1", + "src": "22210:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8657,54 +8657,54 @@ "visibility": "internal" } ], - "src": "21597:14:1" + "src": "22209:14:0" }, - "scope": 1430, - "src": "21495:193:1", + "scope": 922, + "src": "22107:195:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1244, + "id": 736, "nodeType": "Block", - "src": "22163:111:1", + "src": "22790:113:0", "statements": [ { "expression": { "arguments": [ { - "id": 1238, + "id": 730, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1228, - "src": "22202:6:1", + "referencedDeclaration": 720, + "src": "22830:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1239, + "id": 731, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1230, - "src": "22210:4:1", + "referencedDeclaration": 722, + "src": "22838:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1240, + "id": 732, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1232, - "src": "22216:5:1", + "referencedDeclaration": 724, + "src": "22844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8712,14 +8712,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564", - "id": 1241, + "id": 733, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22223:43:1", + "src": "22851:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc", "typeString": "literal_string \"Address: low-level call with value failed\"" @@ -8746,21 +8746,21 @@ "typeString": "literal_string \"Address: low-level call with value failed\"" } ], - "id": 1237, + "id": 729, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "22180:21:1", + "referencedDeclaration": 787, + "src": "22808:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1242, + "id": 734, "isConstant": false, "isLValue": false, "isPure": false, @@ -8768,44 +8768,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22180:87:1", + "src": "22808:87:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1236, - "id": 1243, + "functionReturnParameters": 728, + "id": 735, "nodeType": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ] }, "documentation": { - "id": 1226, + "id": 718, "nodeType": "StructuredDocumentation", - "src": "21694:351:1", + "src": "22310:361:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1245, + "id": 737, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1233, + "id": 725, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1228, + "id": 720, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22081:14:1", + "scope": 737, + "src": "22708:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8813,10 +8813,10 @@ "typeString": "address" }, "typeName": { - "id": 1227, + "id": 719, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22081:7:1", + "src": "22708:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8827,12 +8827,12 @@ }, { "constant": false, - "id": 1230, + "id": 722, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22097:17:1", + "scope": 737, + "src": "22724:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8840,10 +8840,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1229, + "id": 721, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22097:5:1", + "src": "22724:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8853,12 +8853,12 @@ }, { "constant": false, - "id": 1232, + "id": 724, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22116:13:1", + "scope": 737, + "src": "22743:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8866,10 +8866,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1231, + "id": 723, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22116:7:1", + "src": "22743:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8878,20 +8878,20 @@ "visibility": "internal" } ], - "src": "22080:50:1" + "src": "22707:50:0" }, "returnParameters": { - "id": 1236, + "id": 728, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1235, + "id": 727, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22149:12:1", + "scope": 737, + "src": "22776:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8899,10 +8899,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1234, + "id": 726, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22149:5:1", + "src": "22776:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8911,19 +8911,19 @@ "visibility": "internal" } ], - "src": "22148:14:1" + "src": "22775:14:0" }, - "scope": 1430, - "src": "22050:224:1", + "scope": 922, + "src": "22677:226:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1294, + "id": 786, "nodeType": "Block", - "src": "22663:382:1", + "src": "23300:389:0", "statements": [ { "expression": { @@ -8933,7 +8933,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1266, + "id": 758, "isConstant": false, "isLValue": false, "isPure": false, @@ -8942,14 +8942,14 @@ "expression": { "arguments": [ { - "id": 1262, + "id": 754, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "22689:4:1", + "src": "23327:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -8957,30 +8957,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1261, + "id": 753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1260, + "id": 752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": {} } }, - "id": 1263, + "id": 755, "isConstant": false, "isLValue": false, "isPure": false, @@ -8988,21 +8988,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22681:13:1", + "src": "23319:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1264, + "id": 756, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "22681:21:1", + "src": "23319:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9011,18 +9011,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1265, + "id": 757, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22706:5:1", + "referencedDeclaration": 744, + "src": "23344:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "22681:30:1", + "src": "23319:30:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9030,14 +9030,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c", - "id": 1267, + "id": 759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22713:40:1", + "src": "23351:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c", "typeString": "literal_string \"Address: insufficient balance for call\"" @@ -9056,7 +9056,7 @@ "typeString": "literal_string \"Address: insufficient balance for call\"" } ], - "id": 1259, + "id": 751, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9064,13 +9064,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22673:7:1", + "src": "23311:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1268, + "id": 760, "isConstant": false, "isLValue": false, "isPure": false, @@ -9078,16 +9078,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22673:81:1", + "src": "23311:81:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1269, + "id": 761, "nodeType": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "expression": { @@ -9095,12 +9095,12 @@ { "arguments": [ { - "id": 1272, + "id": 764, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22783:6:1", + "referencedDeclaration": 740, + "src": "23422:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9114,18 +9114,18 @@ "typeString": "address" } ], - "id": 1271, + "id": 763, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "22772:10:1", + "referencedDeclaration": 646, + "src": "23411:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1273, + "id": 765, "isConstant": false, "isLValue": false, "isPure": false, @@ -9133,7 +9133,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22772:18:1", + "src": "23411:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9142,14 +9142,14 @@ }, { "hexValue": "416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1274, + "id": 766, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22792:31:1", + "src": "23431:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad", "typeString": "literal_string \"Address: call to non-contract\"" @@ -9168,7 +9168,7 @@ "typeString": "literal_string \"Address: call to non-contract\"" } ], - "id": 1270, + "id": 762, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9176,13 +9176,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22764:7:1", + "src": "23403:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1275, + "id": 767, "isConstant": false, "isLValue": false, "isPure": false, @@ -9190,31 +9190,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22764:60:1", + "src": "23403:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1276, + "id": 768, "nodeType": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "assignments": [ - 1278, - 1280 + 770, + 772 ], "declarations": [ { "constant": false, - "id": 1278, + "id": 770, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22895:12:1", + "scope": 786, + "src": "23537:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9222,10 +9222,10 @@ "typeString": "bool" }, "typeName": { - "id": 1277, + "id": 769, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "22895:4:1", + "src": "23537:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9235,12 +9235,12 @@ }, { "constant": false, - "id": 1280, + "id": 772, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22909:23:1", + "scope": 786, + "src": "23551:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9248,10 +9248,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1279, + "id": 771, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22909:5:1", + "src": "23551:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9260,16 +9260,16 @@ "visibility": "internal" } ], - "id": 1287, + "id": 779, "initialValue": { "arguments": [ { - "id": 1285, + "id": 777, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1250, - "src": "22964:4:1", + "referencedDeclaration": 742, + "src": "23606:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9291,31 +9291,31 @@ } ], "expression": { - "id": 1281, + "id": 773, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22936:6:1", + "referencedDeclaration": 740, + "src": "23578:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1282, + "id": 774, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "22936:11:1", + "src": "23578:11:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1284, + "id": 776, "isConstant": false, "isLValue": false, "isPure": false, @@ -9326,25 +9326,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1283, + "id": 775, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22956:5:1", + "referencedDeclaration": 744, + "src": "23598:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "22936:27:1", + "src": "23578:27:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1286, + "id": 778, "isConstant": false, "isLValue": false, "isPure": false, @@ -9352,7 +9352,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22936:33:1", + "src": "23578:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -9360,42 +9360,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "expression": { "arguments": [ { - "id": 1289, + "id": 781, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1278, - "src": "23004:7:1", + "referencedDeclaration": 770, + "src": "23647:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1290, + "id": 782, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1280, - "src": "23013:10:1", + "referencedDeclaration": 772, + "src": "23656:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1291, + "id": 783, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1254, - "src": "23025:12:1", + "referencedDeclaration": 746, + "src": "23668:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -9417,18 +9417,18 @@ "typeString": "string memory" } ], - "id": 1288, + "id": 780, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "22986:17:1", + "referencedDeclaration": 921, + "src": "23629:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1292, + "id": 784, "isConstant": false, "isLValue": false, "isPure": false, @@ -9436,44 +9436,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22986:52:1", + "src": "23629:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1258, - "id": 1293, + "functionReturnParameters": 750, + "id": 785, "nodeType": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ] }, "documentation": { - "id": 1246, + "id": 738, "nodeType": "StructuredDocumentation", - "src": "22280:237:1", + "src": "22911:242:0", "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1295, + "id": 787, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1255, + "id": 747, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1248, + "id": 740, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22553:14:1", + "scope": 787, + "src": "23190:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9481,10 +9481,10 @@ "typeString": "address" }, "typeName": { - "id": 1247, + "id": 739, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22553:7:1", + "src": "23190:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9495,12 +9495,12 @@ }, { "constant": false, - "id": 1250, + "id": 742, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22569:17:1", + "scope": 787, + "src": "23206:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9508,10 +9508,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1249, + "id": 741, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22569:5:1", + "src": "23206:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9521,12 +9521,12 @@ }, { "constant": false, - "id": 1252, + "id": 744, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22588:13:1", + "scope": 787, + "src": "23225:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9534,10 +9534,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1251, + "id": 743, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22588:7:1", + "src": "23225:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9547,12 +9547,12 @@ }, { "constant": false, - "id": 1254, + "id": 746, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22603:26:1", + "scope": 787, + "src": "23240:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9560,10 +9560,10 @@ "typeString": "string" }, "typeName": { - "id": 1253, + "id": 745, "name": "string", "nodeType": "ElementaryTypeName", - "src": "22603:6:1", + "src": "23240:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -9572,20 +9572,20 @@ "visibility": "internal" } ], - "src": "22552:78:1" + "src": "23189:78:0" }, "returnParameters": { - "id": 1258, + "id": 750, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1257, + "id": 749, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22649:12:1", + "scope": 787, + "src": "23286:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9593,10 +9593,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1256, + "id": 748, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22649:5:1", + "src": "23286:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9605,42 +9605,42 @@ "visibility": "internal" } ], - "src": "22648:14:1" + "src": "23285:14:0" }, - "scope": 1430, - "src": "22522:523:1", + "scope": 922, + "src": "23159:530:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1311, + "id": 803, "nodeType": "Block", - "src": "23322:97:1", + "src": "23974:99:0", "statements": [ { "expression": { "arguments": [ { - "id": 1306, + "id": 798, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1298, - "src": "23358:6:1", + "referencedDeclaration": 790, + "src": "24011:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1307, + "id": 799, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1300, - "src": "23366:4:1", + "referencedDeclaration": 792, + "src": "24019:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9648,14 +9648,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564", - "id": 1308, + "id": 800, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23372:39:1", + "src": "24025:39:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0", "typeString": "literal_string \"Address: low-level static call failed\"" @@ -9678,21 +9678,21 @@ "typeString": "literal_string \"Address: low-level static call failed\"" } ], - "id": 1305, + "id": 797, "name": "functionStaticCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, - "src": "23339:18:1", + "referencedDeclaration": 839, + "src": "23992:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) view returns (bytes memory)" } }, - "id": 1309, + "id": 801, "isConstant": false, "isLValue": false, "isPure": false, @@ -9700,44 +9700,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23339:73:1", + "src": "23992:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1304, - "id": 1310, + "functionReturnParameters": 796, + "id": 802, "nodeType": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ] }, "documentation": { - "id": 1296, + "id": 788, "nodeType": "StructuredDocumentation", - "src": "23051:166:1", + "src": "23697:171:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1312, + "id": 804, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1301, + "id": 793, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1298, + "id": 790, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23250:14:1", + "scope": 804, + "src": "23902:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9745,10 +9745,10 @@ "typeString": "address" }, "typeName": { - "id": 1297, + "id": 789, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23250:7:1", + "src": "23902:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9759,12 +9759,12 @@ }, { "constant": false, - "id": 1300, + "id": 792, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23266:17:1", + "scope": 804, + "src": "23918:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9772,10 +9772,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1299, + "id": 791, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23266:5:1", + "src": "23918:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9784,20 +9784,20 @@ "visibility": "internal" } ], - "src": "23249:35:1" + "src": "23901:35:0" }, "returnParameters": { - "id": 1304, + "id": 796, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1303, + "id": 795, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23308:12:1", + "scope": 804, + "src": "23960:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9805,10 +9805,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1302, + "id": 794, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23308:5:1", + "src": "23960:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9817,19 +9817,19 @@ "visibility": "internal" } ], - "src": "23307:14:1" + "src": "23959:14:0" }, - "scope": 1430, - "src": "23222:197:1", + "scope": 922, + "src": "23874:199:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1346, + "id": 838, "nodeType": "Block", - "src": "23731:288:1", + "src": "24393:294:0", "statements": [ { "expression": { @@ -9837,12 +9837,12 @@ { "arguments": [ { - "id": 1326, + "id": 818, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23760:6:1", + "referencedDeclaration": 807, + "src": "24423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9856,18 +9856,18 @@ "typeString": "address" } ], - "id": 1325, + "id": 817, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "23749:10:1", + "referencedDeclaration": 646, + "src": "24412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1327, + "id": 819, "isConstant": false, "isLValue": false, "isPure": false, @@ -9875,7 +9875,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23749:18:1", + "src": "24412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9884,14 +9884,14 @@ }, { "hexValue": "416464726573733a207374617469632063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1328, + "id": 820, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23769:38:1", + "src": "24432:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c79cc78e4f16ce3933a42b84c73868f93bb4a59c031a0acf576679de98c608a9", "typeString": "literal_string \"Address: static call to non-contract\"" @@ -9910,7 +9910,7 @@ "typeString": "literal_string \"Address: static call to non-contract\"" } ], - "id": 1324, + "id": 816, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9918,13 +9918,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "23741:7:1", + "src": "24404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1329, + "id": 821, "isConstant": false, "isLValue": false, "isPure": false, @@ -9932,31 +9932,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23741:67:1", + "src": "24404:67:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1330, + "id": 822, "nodeType": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "assignments": [ - 1332, - 1334 + 824, + 826 ], "declarations": [ { "constant": false, - "id": 1332, + "id": 824, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23879:12:1", + "scope": 838, + "src": "24545:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9964,10 +9964,10 @@ "typeString": "bool" }, "typeName": { - "id": 1331, + "id": 823, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "23879:4:1", + "src": "24545:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9977,12 +9977,12 @@ }, { "constant": false, - "id": 1334, + "id": 826, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23893:23:1", + "scope": 838, + "src": "24559:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9990,10 +9990,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1333, + "id": 825, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23893:5:1", + "src": "24559:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10002,16 +10002,16 @@ "visibility": "internal" } ], - "id": 1339, + "id": 831, "initialValue": { "arguments": [ { - "id": 1337, + "id": 829, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1317, - "src": "23938:4:1", + "referencedDeclaration": 809, + "src": "24604:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10026,31 +10026,31 @@ } ], "expression": { - "id": 1335, + "id": 827, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23920:6:1", + "referencedDeclaration": 807, + "src": "24586:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1336, + "id": 828, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "staticcall", "nodeType": "MemberAccess", - "src": "23920:17:1", + "src": "24586:17:0", "typeDescriptions": { "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) view returns (bool,bytes memory)" } }, - "id": 1338, + "id": 830, "isConstant": false, "isLValue": false, "isPure": false, @@ -10058,7 +10058,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23920:23:1", + "src": "24586:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10066,42 +10066,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "expression": { "arguments": [ { - "id": 1341, + "id": 833, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "23978:7:1", + "referencedDeclaration": 824, + "src": "24645:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1342, + "id": 834, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1334, - "src": "23987:10:1", + "referencedDeclaration": 826, + "src": "24654:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1343, + "id": 835, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1319, - "src": "23999:12:1", + "referencedDeclaration": 811, + "src": "24666:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10123,18 +10123,18 @@ "typeString": "string memory" } ], - "id": 1340, + "id": 832, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "23960:17:1", + "referencedDeclaration": 921, + "src": "24627:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1344, + "id": 836, "isConstant": false, "isLValue": false, "isPure": false, @@ -10142,44 +10142,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23960:52:1", + "src": "24627:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1323, - "id": 1345, + "functionReturnParameters": 815, + "id": 837, "nodeType": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ] }, "documentation": { - "id": 1313, + "id": 805, "nodeType": "StructuredDocumentation", - "src": "23425:173:1", + "src": "24081:178:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1347, + "id": 839, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1320, + "id": 812, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1315, + "id": 807, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23631:14:1", + "scope": 839, + "src": "24293:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10187,10 +10187,10 @@ "typeString": "address" }, "typeName": { - "id": 1314, + "id": 806, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23631:7:1", + "src": "24293:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10201,12 +10201,12 @@ }, { "constant": false, - "id": 1317, + "id": 809, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23647:17:1", + "scope": 839, + "src": "24309:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10214,10 +10214,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1316, + "id": 808, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23647:5:1", + "src": "24309:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10227,12 +10227,12 @@ }, { "constant": false, - "id": 1319, + "id": 811, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23666:26:1", + "scope": 839, + "src": "24328:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10240,10 +10240,10 @@ "typeString": "string" }, "typeName": { - "id": 1318, + "id": 810, "name": "string", "nodeType": "ElementaryTypeName", - "src": "23666:6:1", + "src": "24328:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10252,20 +10252,20 @@ "visibility": "internal" } ], - "src": "23630:63:1" + "src": "24292:63:0" }, "returnParameters": { - "id": 1323, + "id": 815, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1322, + "id": 814, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23717:12:1", + "scope": 839, + "src": "24379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10273,10 +10273,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1321, + "id": 813, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23717:5:1", + "src": "24379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10285,42 +10285,42 @@ "visibility": "internal" } ], - "src": "23716:14:1" + "src": "24378:14:0" }, - "scope": 1430, - "src": "23603:416:1", + "scope": 922, + "src": "24265:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1363, + "id": 855, "nodeType": "Block", - "src": "24295:101:1", + "src": "24971:103:0", "statements": [ { "expression": { "arguments": [ { - "id": 1358, + "id": 850, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1350, - "src": "24333:6:1", + "referencedDeclaration": 842, + "src": "25010:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1359, + "id": 851, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1352, - "src": "24341:4:1", + "referencedDeclaration": 844, + "src": "25018:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10328,14 +10328,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564", - "id": 1360, + "id": 852, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24347:41:1", + "src": "25024:41:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398", "typeString": "literal_string \"Address: low-level delegate call failed\"" @@ -10358,21 +10358,21 @@ "typeString": "literal_string \"Address: low-level delegate call failed\"" } ], - "id": 1357, + "id": 849, "name": "functionDelegateCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, - "src": "24312:20:1", + "referencedDeclaration": 891, + "src": "24989:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1361, + "id": 853, "isConstant": false, "isLValue": false, "isPure": false, @@ -10380,44 +10380,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24312:77:1", + "src": "24989:77:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1356, - "id": 1362, + "functionReturnParameters": 848, + "id": 854, "nodeType": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ] }, "documentation": { - "id": 1348, + "id": 840, "nodeType": "StructuredDocumentation", - "src": "24025:168:1", + "src": "24695:173:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1364, + "id": 856, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1353, + "id": 845, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1350, + "id": 842, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24228:14:1", + "scope": 856, + "src": "24904:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10425,10 +10425,10 @@ "typeString": "address" }, "typeName": { - "id": 1349, + "id": 841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24228:7:1", + "src": "24904:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10439,12 +10439,12 @@ }, { "constant": false, - "id": 1352, + "id": 844, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24244:17:1", + "scope": 856, + "src": "24920:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10452,10 +10452,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1351, + "id": 843, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24244:5:1", + "src": "24920:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10464,20 +10464,20 @@ "visibility": "internal" } ], - "src": "24227:35:1" + "src": "24903:35:0" }, "returnParameters": { - "id": 1356, + "id": 848, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1355, + "id": 847, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24281:12:1", + "scope": 856, + "src": "24957:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10485,10 +10485,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1354, + "id": 846, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24281:5:1", + "src": "24957:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10497,19 +10497,19 @@ "visibility": "internal" } ], - "src": "24280:14:1" + "src": "24956:14:0" }, - "scope": 1430, - "src": "24198:198:1", + "scope": 922, + "src": "24874:200:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1398, + "id": 890, "nodeType": "Block", - "src": "24707:292:1", + "src": "25393:298:0", "statements": [ { "expression": { @@ -10517,12 +10517,12 @@ { "arguments": [ { - "id": 1378, + "id": 870, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24736:6:1", + "referencedDeclaration": 859, + "src": "25423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10536,18 +10536,18 @@ "typeString": "address" } ], - "id": 1377, + "id": 869, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "24725:10:1", + "referencedDeclaration": 646, + "src": "25412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1379, + "id": 871, "isConstant": false, "isLValue": false, "isPure": false, @@ -10555,7 +10555,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24725:18:1", + "src": "25412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10564,14 +10564,14 @@ }, { "hexValue": "416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1380, + "id": 872, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24745:40:1", + "src": "25432:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b94ded0918034cf8f896e19fa3cfdef1188cd569c577264a3622e49152f88520", "typeString": "literal_string \"Address: delegate call to non-contract\"" @@ -10590,7 +10590,7 @@ "typeString": "literal_string \"Address: delegate call to non-contract\"" } ], - "id": 1376, + "id": 868, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -10598,13 +10598,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "24717:7:1", + "src": "25404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1381, + "id": 873, "isConstant": false, "isLValue": false, "isPure": false, @@ -10612,31 +10612,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24717:69:1", + "src": "25404:69:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1382, + "id": 874, "nodeType": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "assignments": [ - 1384, - 1386 + 876, + 878 ], "declarations": [ { "constant": false, - "id": 1384, + "id": 876, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24857:12:1", + "scope": 890, + "src": "25547:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10644,10 +10644,10 @@ "typeString": "bool" }, "typeName": { - "id": 1383, + "id": 875, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "24857:4:1", + "src": "25547:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10657,12 +10657,12 @@ }, { "constant": false, - "id": 1386, + "id": 878, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24871:23:1", + "scope": 890, + "src": "25561:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10670,10 +10670,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1385, + "id": 877, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24871:5:1", + "src": "25561:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10682,16 +10682,16 @@ "visibility": "internal" } ], - "id": 1391, + "id": 883, "initialValue": { "arguments": [ { - "id": 1389, + "id": 881, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1369, - "src": "24918:4:1", + "referencedDeclaration": 861, + "src": "25608:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10706,31 +10706,31 @@ } ], "expression": { - "id": 1387, + "id": 879, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24898:6:1", + "referencedDeclaration": 859, + "src": "25588:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1388, + "id": 880, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "delegatecall", "nodeType": "MemberAccess", - "src": "24898:19:1", + "src": "25588:19:0", "typeDescriptions": { "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) returns (bool,bytes memory)" } }, - "id": 1390, + "id": 882, "isConstant": false, "isLValue": false, "isPure": false, @@ -10738,7 +10738,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24898:25:1", + "src": "25588:25:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10746,42 +10746,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "expression": { "arguments": [ { - "id": 1393, + "id": 885, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1384, - "src": "24958:7:1", + "referencedDeclaration": 876, + "src": "25649:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1394, + "id": 886, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1386, - "src": "24967:10:1", + "referencedDeclaration": 878, + "src": "25658:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1395, + "id": 887, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1371, - "src": "24979:12:1", + "referencedDeclaration": 863, + "src": "25670:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10803,18 +10803,18 @@ "typeString": "string memory" } ], - "id": 1392, + "id": 884, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "24940:17:1", + "referencedDeclaration": 921, + "src": "25631:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1396, + "id": 888, "isConstant": false, "isLValue": false, "isPure": false, @@ -10822,44 +10822,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24940:52:1", + "src": "25631:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1375, - "id": 1397, + "functionReturnParameters": 867, + "id": 889, "nodeType": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ] }, "documentation": { - "id": 1365, + "id": 857, "nodeType": "StructuredDocumentation", - "src": "24402:175:1", + "src": "25082:180:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1399, + "id": 891, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1372, + "id": 864, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1367, + "id": 859, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24612:14:1", + "scope": 891, + "src": "25298:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10867,10 +10867,10 @@ "typeString": "address" }, "typeName": { - "id": 1366, + "id": 858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24612:7:1", + "src": "25298:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10881,12 +10881,12 @@ }, { "constant": false, - "id": 1369, + "id": 861, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24628:17:1", + "scope": 891, + "src": "25314:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10894,10 +10894,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1368, + "id": 860, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24628:5:1", + "src": "25314:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10907,12 +10907,12 @@ }, { "constant": false, - "id": 1371, + "id": 863, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24647:26:1", + "scope": 891, + "src": "25333:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10920,10 +10920,10 @@ "typeString": "string" }, "typeName": { - "id": 1370, + "id": 862, "name": "string", "nodeType": "ElementaryTypeName", - "src": "24647:6:1", + "src": "25333:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10932,20 +10932,20 @@ "visibility": "internal" } ], - "src": "24611:63:1" + "src": "25297:63:0" }, "returnParameters": { - "id": 1375, + "id": 867, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1374, + "id": 866, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24693:12:1", + "scope": 891, + "src": "25379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10953,10 +10953,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1373, + "id": 865, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24693:5:1", + "src": "25379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10965,37 +10965,37 @@ "visibility": "internal" } ], - "src": "24692:14:1" + "src": "25378:14:0" }, - "scope": 1430, - "src": "24582:417:1", + "scope": 922, + "src": "25268:423:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1428, + "id": 920, "nodeType": "Block", - "src": "25134:596:1", + "src": "25828:613:0", "statements": [ { "condition": { - "id": 1410, + "id": 902, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1401, - "src": "25148:7:1", + "referencedDeclaration": 893, + "src": "25843:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1426, + "id": 918, "nodeType": "Block", - "src": "25205:519:1", + "src": "25902:532:0", "statements": [ { "condition": { @@ -11003,32 +11003,32 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1417, + "id": 909, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1414, + "id": 906, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25289:10:1", + "referencedDeclaration": 895, + "src": "25988:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1415, + "id": 907, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "25289:17:1", + "src": "25988:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11038,41 +11038,41 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1416, + "id": 908, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "25309:1:1", + "src": "26008:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "25289:21:1", + "src": "25988:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1424, + "id": 916, "nodeType": "Block", - "src": "25661:53:1", + "src": "26368:55:0", "statements": [ { "expression": { "arguments": [ { - "id": 1421, + "id": 913, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1405, - "src": "25686:12:1", + "referencedDeclaration": 897, + "src": "26394:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -11086,7 +11086,7 @@ "typeString": "string memory" } ], - "id": 1420, + "id": 912, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -11094,13 +11094,13 @@ 4294967277 ], "referencedDeclaration": 4294967277, - "src": "25679:6:1", + "src": "26387:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", "typeString": "function (string memory) pure" } }, - "id": 1422, + "id": 914, "isConstant": false, "isLValue": false, "isPure": false, @@ -11108,56 +11108,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "25679:20:1", + "src": "26387:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1423, + "id": 915, "nodeType": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ] }, - "id": 1425, + "id": 917, "nodeType": "IfStatement", - "src": "25285:429:1", + "src": "25984:439:0", "trueBody": { - "id": 1419, + "id": 911, "nodeType": "Block", - "src": "25312:343:1", + "src": "26011:351:0", "statements": [ { "AST": { "nodeType": "YulBlock", - "src": "25496:145:1", + "src": "26199:148:0", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "25518:40:1", + "src": "26222:40:0", "value": { "arguments": [ { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25547:10:1" + "src": "26251:10:0" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "25541:5:1" + "src": "26245:5:0" }, "nodeType": "YulFunctionCall", - "src": "25541:17:1" + "src": "26245:17:0" }, "variables": [ { "name": "returndata_size", "nodeType": "YulTypedName", - "src": "25522:15:1", + "src": "26226:15:0", "type": "" } ] @@ -11170,118 +11170,118 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "25590:2:1", + "src": "26295:2:0", "type": "", "value": "32" }, { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25594:10:1" + "src": "26299:10:0" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "25586:3:1" + "src": "26291:3:0" }, "nodeType": "YulFunctionCall", - "src": "25586:19:1" + "src": "26291:19:0" }, { "name": "returndata_size", "nodeType": "YulIdentifier", - "src": "25607:15:1" + "src": "26312:15:0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "25579:6:1" + "src": "26284:6:0" }, "nodeType": "YulFunctionCall", - "src": "25579:44:1" + "src": "26284:44:0" }, "nodeType": "YulExpressionStatement", - "src": "25579:44:1" + "src": "26284:44:0" } ] }, "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], - "id": 1418, + "id": 910, "nodeType": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ] } } ] }, - "id": 1427, + "id": 919, "nodeType": "IfStatement", - "src": "25144:580:1", + "src": "25839:595:0", "trueBody": { - "id": 1413, + "id": 905, "nodeType": "Block", - "src": "25157:42:1", + "src": "25852:44:0", "statements": [ { "expression": { - "id": 1411, + "id": 903, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25178:10:1", + "referencedDeclaration": 895, + "src": "25874:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1409, - "id": 1412, + "functionReturnParameters": 901, + "id": 904, "nodeType": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ] } } ] }, - "id": 1429, + "id": 921, "implemented": true, "kind": "function", "modifiers": [], "name": "_verifyCallResult", "nodeType": "FunctionDefinition", "parameters": { - "id": 1406, + "id": 898, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1401, + "id": 893, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25032:12:1", + "scope": 921, + "src": "25726:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11289,10 +11289,10 @@ "typeString": "bool" }, "typeName": { - "id": 1400, + "id": 892, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "25032:4:1", + "src": "25726:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11302,12 +11302,12 @@ }, { "constant": false, - "id": 1403, + "id": 895, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25046:23:1", + "scope": 921, + "src": "25740:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11315,10 +11315,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1402, + "id": 894, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25046:5:1", + "src": "25740:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11328,12 +11328,12 @@ }, { "constant": false, - "id": 1405, + "id": 897, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25071:26:1", + "scope": 921, + "src": "25765:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11341,10 +11341,10 @@ "typeString": "string" }, "typeName": { - "id": 1404, + "id": 896, "name": "string", "nodeType": "ElementaryTypeName", - "src": "25071:6:1", + "src": "25765:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11353,20 +11353,20 @@ "visibility": "internal" } ], - "src": "25031:67:1" + "src": "25725:67:0" }, "returnParameters": { - "id": 1409, + "id": 901, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1408, + "id": 900, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25120:12:1", + "scope": 921, + "src": "25814:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11374,10 +11374,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1407, + "id": 899, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25120:5:1", + "src": "25814:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11386,20 +11386,20 @@ "visibility": "internal" } ], - "src": "25119:14:1" + "src": "25813:14:0" }, - "scope": 1430, - "src": "25005:725:1", + "scope": 922, + "src": "25699:742:0", "stateMutability": "pure", "virtual": false, "visibility": "private" } ], - "scope": 3499, - "src": "18048:7684:1" + "scope": 2991, + "src": "18579:7865:0" }, { - "id": 1431, + "id": 923, "literals": [ "solidity", ">=", @@ -11410,7 +11410,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "abstract": false, @@ -11418,31 +11418,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1432, + "id": 924, "nodeType": "StructuredDocumentation", - "src": "25824:686:1", + "src": "26541:709:0", "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, "fullyImplemented": true, - "id": 1921, + "id": 1413, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableSet.Set", - "id": 1440, + "id": 932, "members": [ { "constant": false, - "id": 1435, + "id": 927, "mutability": "mutable", "name": "_values", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27033:17:1", + "scope": 932, + "src": "27786:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11451,18 +11451,18 @@ }, "typeName": { "baseType": { - "id": 1433, + "id": 925, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27033:7:1", + "src": "27786:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1434, + "id": 926, "nodeType": "ArrayTypeName", - "src": "27033:9:1", + "src": "27786:9:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", "typeString": "bytes32[]" @@ -11472,12 +11472,12 @@ }, { "constant": false, - "id": 1439, + "id": 931, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27184:37:1", + "scope": 932, + "src": "27941:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11485,28 +11485,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1438, + "id": 930, "keyType": { - "id": 1436, + "id": 928, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27193:7:1", + "src": "27950:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "27184:28:1", + "src": "27941:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1437, + "id": 929, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "27204:7:1", + "src": "27961:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11518,19 +11518,19 @@ ], "name": "Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "26979:249:1", + "scope": 1413, + "src": "27730:256:0", "visibility": "public" }, { "body": { - "id": 1480, + "id": 972, "nodeType": "Block", - "src": "27467:335:1", + "src": "28233:345:0", "statements": [ { "condition": { - "id": 1454, + "id": 946, "isConstant": false, "isLValue": false, "isPure": false, @@ -11538,28 +11538,28 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "27481:22:1", + "src": "28248:22:0", "subExpression": { "arguments": [ { - "id": 1451, + "id": 943, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27492:3:1", + "referencedDeclaration": 935, + "src": "28259:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, { - "id": 1452, + "id": 944, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27497:5:1", + "referencedDeclaration": 937, + "src": "28264:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11569,7 +11569,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -11577,18 +11577,18 @@ "typeString": "bytes32" } ], - "id": 1450, + "id": 942, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "27482:9:1", + "referencedDeclaration": 1071, + "src": "28249:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1453, + "id": 945, "isConstant": false, "isLValue": false, "isPure": false, @@ -11596,7 +11596,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27482:21:1", + "src": "28249:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -11609,52 +11609,52 @@ } }, "falseBody": { - "id": 1478, + "id": 970, "nodeType": "Block", - "src": "27759:37:1", + "src": "28532:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1476, + "id": 968, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27780:5:1", + "src": "28554:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1449, - "id": 1477, + "functionReturnParameters": 941, + "id": 969, "nodeType": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ] }, - "id": 1479, + "id": 971, "nodeType": "IfStatement", - "src": "27477:319:1", + "src": "28244:327:0", "trueBody": { - "id": 1475, + "id": 967, "nodeType": "Block", - "src": "27505:248:1", + "src": "28272:254:0", "statements": [ { "expression": { "arguments": [ { - "id": 1460, + "id": 952, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27536:5:1", + "referencedDeclaration": 937, + "src": "28304:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11670,45 +11670,45 @@ ], "expression": { "expression": { - "id": 1455, + "id": 947, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27519:3:1", + "referencedDeclaration": 935, + "src": "28287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1458, + "id": 950, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27519:11:1", + "referencedDeclaration": 927, + "src": "28287:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1459, + "id": 951, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "27519:16:1", + "src": "28287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_bytes32_$returns$__$", "typeString": "function (bytes32)" } }, - "id": 1461, + "id": 953, "isConstant": false, "isLValue": false, "isPure": false, @@ -11716,20 +11716,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27519:23:1", + "src": "28287:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1462, + "id": 954, "nodeType": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "expression": { - "id": 1471, + "id": 963, "isConstant": false, "isLValue": false, "isPure": false, @@ -11737,39 +11737,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1463, + "id": 955, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27677:3:1", + "referencedDeclaration": 935, + "src": "28448:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1466, + "id": 958, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "27677:12:1", + "referencedDeclaration": 931, + "src": "28448:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1467, + "id": 959, "indexExpression": { - "id": 1465, + "id": 957, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27690:5:1", + "referencedDeclaration": 937, + "src": "28461:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11780,7 +11780,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "27677:19:1", + "src": "28448:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11791,75 +11791,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1468, + "id": 960, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27699:3:1", + "referencedDeclaration": 935, + "src": "28470:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1469, + "id": 961, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27699:11:1", + "referencedDeclaration": 927, + "src": "28470:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1470, + "id": 962, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "27699:18:1", + "src": "28470:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "27677:40:1", + "src": "28448:40:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1472, + "id": 964, "nodeType": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "expression": { "hexValue": "74727565", - "id": 1473, + "id": 965, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27738:4:1", + "src": "28510:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1449, - "id": 1474, + "functionReturnParameters": 941, + "id": 966, "nodeType": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ] } @@ -11867,43 +11867,43 @@ ] }, "documentation": { - "id": 1441, + "id": 933, "nodeType": "StructuredDocumentation", - "src": "27234:159:1", + "src": "27994:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1481, + "id": 973, "implemented": true, "kind": "function", "modifiers": [], "name": "_add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1446, + "id": 938, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1443, + "id": 935, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27412:15:1", + "scope": 973, + "src": "28178:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1442, + "id": 934, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27412:3:1", + "referencedDeclaration": 932, + "src": "28178:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -11911,12 +11911,12 @@ }, { "constant": false, - "id": 1445, + "id": 937, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27429:13:1", + "scope": 973, + "src": "28195:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11924,10 +11924,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1444, + "id": 936, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27429:7:1", + "src": "28195:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11936,20 +11936,20 @@ "visibility": "internal" } ], - "src": "27411:32:1" + "src": "28177:32:0" }, "returnParameters": { - "id": 1449, + "id": 941, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1448, + "id": 940, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27461:4:1", + "scope": 973, + "src": "28227:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11957,10 +11957,10 @@ "typeString": "bool" }, "typeName": { - "id": 1447, + "id": 939, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "27461:4:1", + "src": "28227:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11969,33 +11969,33 @@ "visibility": "internal" } ], - "src": "27460:6:1" + "src": "28226:6:0" }, - "scope": 1921, - "src": "27398:404:1", + "scope": 1413, + "src": "28164:414:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1560, + "id": 1052, "nodeType": "Block", - "src": "28042:1440:1", + "src": "28826:1472:0", "statements": [ { "assignments": [ - 1492 + 984 ], "declarations": [ { "constant": false, - "id": 1492, + "id": 984, "mutability": "mutable", "name": "valueIndex", "nodeType": "VariableDeclaration", - "scope": 1560, - "src": "28152:18:1", + "scope": 1052, + "src": "28938:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12003,10 +12003,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1491, + "id": 983, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28152:7:1", + "src": "28938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12015,43 +12015,43 @@ "visibility": "internal" } ], - "id": 1497, + "id": 989, "initialValue": { "baseExpression": { "expression": { - "id": 1493, + "id": 985, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28173:3:1", + "referencedDeclaration": 976, + "src": "28959:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1494, + "id": 986, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "28173:12:1", + "referencedDeclaration": 931, + "src": "28959:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1496, + "id": 988, "indexExpression": { - "id": 1495, + "id": 987, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "28186:5:1", + "referencedDeclaration": 978, + "src": "28972:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12062,14 +12062,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28173:19:1", + "src": "28959:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "condition": { @@ -12077,18 +12077,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1500, + "id": 992, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1498, + "id": 990, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28207:10:1", + "referencedDeclaration": 984, + "src": "28995:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12098,76 +12098,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1499, + "id": 991, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28221:1:1", + "src": "29009:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "28207:15:1", + "src": "28995:15:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1558, + "id": 1050, "nodeType": "Block", - "src": "29439:37:1", + "src": "30252:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1556, + "id": 1048, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29460:5:1", + "src": "30274:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1490, - "id": 1557, + "functionReturnParameters": 982, + "id": 1049, "nodeType": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ] }, - "id": 1559, + "id": 1051, "nodeType": "IfStatement", - "src": "28203:1273:1", + "src": "28991:1300:0", "trueBody": { - "id": 1555, + "id": 1047, "nodeType": "Block", - "src": "28224:1209:1", + "src": "29012:1234:0", "statements": [ { "assignments": [ - 1502 + 994 ], "declarations": [ { "constant": false, - "id": 1502, + "id": 994, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28564:21:1", + "scope": 1047, + "src": "29357:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12175,10 +12175,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1501, + "id": 993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28564:7:1", + "src": "29357:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12187,24 +12187,24 @@ "visibility": "internal" } ], - "id": 1506, + "id": 998, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1505, + "id": 997, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1503, + "id": 995, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28588:10:1", + "referencedDeclaration": 984, + "src": "29381:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12214,42 +12214,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1504, + "id": 996, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28601:1:1", + "src": "29394:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28588:14:1", + "src": "29381:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "assignments": [ - 1508 + 1000 ], "declarations": [ { "constant": false, - "id": 1508, + "id": 1000, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28616:17:1", + "scope": 1047, + "src": "29410:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12257,10 +12257,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1507, + "id": 999, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28616:7:1", + "src": "29410:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12269,13 +12269,13 @@ "visibility": "internal" } ], - "id": 1514, + "id": 1006, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1513, + "id": 1005, "isConstant": false, "isLValue": false, "isPure": false, @@ -12283,39 +12283,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1509, + "id": 1001, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28636:3:1", + "referencedDeclaration": 976, + "src": "29430:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1510, + "id": 1002, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28636:11:1", + "referencedDeclaration": 927, + "src": "29430:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1511, + "id": 1003, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "28636:18:1", + "src": "29430:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12325,42 +12325,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1512, + "id": 1004, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28657:1:1", + "src": "29451:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28636:22:1", + "src": "29430:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "assignments": [ - 1516 + 1008 ], "declarations": [ { "constant": false, - "id": 1516, + "id": 1008, "mutability": "mutable", "name": "lastvalue", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28898:17:1", + "scope": 1047, + "src": "29697:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12368,10 +12368,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1515, + "id": 1007, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28898:7:1", + "src": "29697:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12380,43 +12380,43 @@ "visibility": "internal" } ], - "id": 1521, + "id": 1013, "initialValue": { "baseExpression": { "expression": { - "id": 1517, + "id": 1009, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28918:3:1", + "referencedDeclaration": 976, + "src": "29717:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1518, + "id": 1010, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28918:11:1", + "referencedDeclaration": 927, + "src": "29717:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1520, + "id": 1012, "indexExpression": { - "id": 1519, + "id": 1011, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1508, - "src": "28930:9:1", + "referencedDeclaration": 1000, + "src": "29729:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12427,18 +12427,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28918:22:1", + "src": "29717:22:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "expression": { - "id": 1528, + "id": 1020, "isConstant": false, "isLValue": false, "isPure": false, @@ -12446,39 +12446,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1522, + "id": 1014, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29032:3:1", + "referencedDeclaration": 976, + "src": "29834:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1525, + "id": 1017, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29032:11:1", + "referencedDeclaration": 927, + "src": "29834:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1526, + "id": 1018, "indexExpression": { - "id": 1524, + "id": 1016, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29044:13:1", + "referencedDeclaration": 994, + "src": "29846:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12489,7 +12489,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29032:26:1", + "src": "29834:26:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12498,30 +12498,30 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1527, + "id": 1019, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29061:9:1", + "referencedDeclaration": 1008, + "src": "29863:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "29032:38:1", + "src": "29834:38:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1529, + "id": 1021, "nodeType": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "expression": { - "id": 1538, + "id": 1030, "isConstant": false, "isLValue": false, "isPure": false, @@ -12529,39 +12529,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1530, + "id": 1022, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29136:3:1", + "referencedDeclaration": 976, + "src": "29940:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1533, + "id": 1025, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29136:12:1", + "referencedDeclaration": 931, + "src": "29940:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1534, + "id": 1026, "indexExpression": { - "id": 1532, + "id": 1024, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29149:9:1", + "referencedDeclaration": 1008, + "src": "29953:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12572,7 +12572,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29136:23:1", + "src": "29940:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12585,18 +12585,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1537, + "id": 1029, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1535, + "id": 1027, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29162:13:1", + "referencedDeclaration": 994, + "src": "29966:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12606,35 +12606,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 1536, + "id": 1028, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29178:1:1", + "src": "29982:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "29162:17:1", + "src": "29966:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "29136:43:1", + "src": "29940:43:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1539, + "id": 1031, "nodeType": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "expression": { @@ -12643,45 +12643,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 1540, + "id": 1032, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29285:3:1", + "referencedDeclaration": 976, + "src": "30092:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1543, + "id": 1035, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29285:11:1", + "referencedDeclaration": 927, + "src": "30092:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1544, + "id": 1036, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "29285:15:1", + "src": "30092:15:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 1545, + "id": 1037, "isConstant": false, "isLValue": false, "isPure": false, @@ -12689,20 +12689,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "29285:17:1", + "src": "30092:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1546, + "id": 1038, "nodeType": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "expression": { - "id": 1551, + "id": 1043, "isConstant": false, "isLValue": false, "isPure": false, @@ -12710,43 +12710,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "29370:26:1", + "src": "30180:26:0", "subExpression": { "baseExpression": { "expression": { - "id": 1547, + "id": 1039, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29377:3:1", + "referencedDeclaration": 976, + "src": "30187:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1548, + "id": 1040, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29377:12:1", + "referencedDeclaration": 931, + "src": "30187:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1550, + "id": 1042, "indexExpression": { - "id": 1549, + "id": 1041, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "29390:5:1", + "referencedDeclaration": 978, + "src": "30200:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12757,7 +12757,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29377:19:1", + "src": "30187:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12768,31 +12768,31 @@ "typeString": "tuple()" } }, - "id": 1552, + "id": 1044, "nodeType": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "expression": { "hexValue": "74727565", - "id": 1553, + "id": 1045, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29418:4:1", + "src": "30230:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1490, - "id": 1554, + "functionReturnParameters": 982, + "id": 1046, "nodeType": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ] } @@ -12800,43 +12800,43 @@ ] }, "documentation": { - "id": 1482, + "id": 974, "nodeType": "StructuredDocumentation", - "src": "27808:157:1", + "src": "28586:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1561, + "id": 1053, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1487, + "id": 979, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1484, + "id": 976, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "27987:15:1", + "scope": 1053, + "src": "28771:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1483, + "id": 975, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27987:3:1", + "referencedDeclaration": 932, + "src": "28771:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -12844,12 +12844,12 @@ }, { "constant": false, - "id": 1486, + "id": 978, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28004:13:1", + "scope": 1053, + "src": "28788:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12857,10 +12857,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1485, + "id": 977, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28004:7:1", + "src": "28788:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12869,20 +12869,20 @@ "visibility": "internal" } ], - "src": "27986:32:1" + "src": "28770:32:0" }, "returnParameters": { - "id": 1490, + "id": 982, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1489, + "id": 981, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28036:4:1", + "scope": 1053, + "src": "28820:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12890,10 +12890,10 @@ "typeString": "bool" }, "typeName": { - "id": 1488, + "id": 980, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "28036:4:1", + "src": "28820:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12902,19 +12902,19 @@ "visibility": "internal" } ], - "src": "28035:6:1" + "src": "28819:6:0" }, - "scope": 1921, - "src": "27970:1512:1", + "scope": 1413, + "src": "28754:1544:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1578, + "id": 1070, "nodeType": "Block", - "src": "29642:48:1", + "src": "30463:50:0", "statements": [ { "expression": { @@ -12922,7 +12922,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1576, + "id": 1068, "isConstant": false, "isLValue": false, "isPure": false, @@ -12930,39 +12930,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 1571, + "id": 1063, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1564, - "src": "29659:3:1", + "referencedDeclaration": 1056, + "src": "30481:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1572, + "id": 1064, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29659:12:1", + "referencedDeclaration": 931, + "src": "30481:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1574, + "id": 1066, "indexExpression": { - "id": 1573, + "id": 1065, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1566, - "src": "29672:5:1", + "referencedDeclaration": 1058, + "src": "30494:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12973,7 +12973,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "29659:19:1", + "src": "30481:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12983,71 +12983,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1575, + "id": 1067, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29682:1:1", + "src": "30504:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "29659:24:1", + "src": "30481:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1570, - "id": 1577, + "functionReturnParameters": 1062, + "id": 1069, "nodeType": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ] }, "documentation": { - "id": 1562, + "id": 1054, "nodeType": "StructuredDocumentation", - "src": "29488:70:1", + "src": "30306:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1579, + "id": 1071, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1567, + "id": 1059, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1564, + "id": 1056, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29582:15:1", + "scope": 1071, + "src": "30403:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1563, + "id": 1055, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29582:3:1", + "referencedDeclaration": 932, + "src": "30403:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13055,12 +13055,12 @@ }, { "constant": false, - "id": 1566, + "id": 1058, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29599:13:1", + "scope": 1071, + "src": "30420:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13068,10 +13068,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1565, + "id": 1057, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "29599:7:1", + "src": "30420:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13080,20 +13080,20 @@ "visibility": "internal" } ], - "src": "29581:32:1" + "src": "30402:32:0" }, "returnParameters": { - "id": 1570, + "id": 1062, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1569, + "id": 1061, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29636:4:1", + "scope": 1071, + "src": "30457:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13101,10 +13101,10 @@ "typeString": "bool" }, "typeName": { - "id": 1568, + "id": 1060, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "29636:4:1", + "src": "30457:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13113,127 +13113,127 @@ "visibility": "internal" } ], - "src": "29635:6:1" + "src": "30456:6:0" }, - "scope": 1921, - "src": "29563:127:1", + "scope": 1413, + "src": "30384:129:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1591, + "id": 1083, "nodeType": "Block", - "src": "29836:42:1", + "src": "30664:44:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 1587, + "id": 1079, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1582, - "src": "29853:3:1", + "referencedDeclaration": 1074, + "src": "30682:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1588, + "id": 1080, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29853:11:1", + "referencedDeclaration": 927, + "src": "30682:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1589, + "id": 1081, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "29853:18:1", + "src": "30682:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1586, - "id": 1590, + "functionReturnParameters": 1078, + "id": 1082, "nodeType": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ] }, "documentation": { - "id": 1580, + "id": 1072, "nodeType": "StructuredDocumentation", - "src": "29696:70:1", + "src": "30521:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1592, + "id": 1084, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1583, + "id": 1075, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1582, + "id": 1074, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29788:15:1", + "scope": 1084, + "src": "30616:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1581, + "id": 1073, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29788:3:1", + "referencedDeclaration": 932, + "src": "30616:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, "visibility": "internal" } ], - "src": "29787:17:1" + "src": "30615:17:0" }, "returnParameters": { - "id": 1586, + "id": 1078, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1585, + "id": 1077, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29827:7:1", + "scope": 1084, + "src": "30655:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13241,10 +13241,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1584, + "id": 1076, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "29827:7:1", + "src": "30655:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13253,19 +13253,19 @@ "visibility": "internal" } ], - "src": "29826:9:1" + "src": "30654:9:0" }, - "scope": 1921, - "src": "29771:107:1", + "scope": 1413, + "src": "30599:109:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1616, + "id": 1108, "nodeType": "Block", - "src": "30286:125:1", + "src": "31128:128:0", "statements": [ { "expression": { @@ -13275,7 +13275,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1607, + "id": 1099, "isConstant": false, "isLValue": false, "isPure": false, @@ -13283,39 +13283,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1603, + "id": 1095, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30304:3:1", + "referencedDeclaration": 1087, + "src": "31147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1604, + "id": 1096, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30304:11:1", + "referencedDeclaration": 927, + "src": "31147:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1605, + "id": 1097, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "30304:18:1", + "src": "31147:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13324,18 +13324,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 1606, + "id": 1098, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30325:5:1", + "referencedDeclaration": 1089, + "src": "31168:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "30304:26:1", + "src": "31147:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13343,14 +13343,14 @@ }, { "hexValue": "456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473", - "id": 1608, + "id": 1100, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "30332:36:1", + "src": "31175:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_045d6834e6193a687012a3ad777f612279e549b6945364d9d2324f48610d3cbb", "typeString": "literal_string \"EnumerableSet: index out of bounds\"" @@ -13369,7 +13369,7 @@ "typeString": "literal_string \"EnumerableSet: index out of bounds\"" } ], - "id": 1602, + "id": 1094, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -13377,13 +13377,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "30296:7:1", + "src": "31139:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1609, + "id": 1101, "isConstant": false, "isLValue": false, "isPure": false, @@ -13391,54 +13391,54 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30296:73:1", + "src": "31139:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1610, + "id": 1102, "nodeType": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "expression": { "baseExpression": { "expression": { - "id": 1611, + "id": 1103, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30386:3:1", + "referencedDeclaration": 1087, + "src": "31230:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1612, + "id": 1104, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30386:11:1", + "referencedDeclaration": 927, + "src": "31230:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1614, + "id": 1106, "indexExpression": { - "id": 1613, + "id": 1105, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30398:5:1", + "referencedDeclaration": 1089, + "src": "31242:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13449,57 +13449,57 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "30386:18:1", + "src": "31230:18:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1601, - "id": 1615, + "functionReturnParameters": 1093, + "id": 1107, "nodeType": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ] }, "documentation": { - "id": 1593, + "id": 1085, "nodeType": "StructuredDocumentation", - "src": "29883:322:1", + "src": "30715:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1617, + "id": 1109, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1598, + "id": 1090, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1595, + "id": 1087, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30223:15:1", + "scope": 1109, + "src": "31065:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1594, + "id": 1086, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30223:3:1", + "referencedDeclaration": 932, + "src": "31065:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13507,12 +13507,12 @@ }, { "constant": false, - "id": 1597, + "id": 1089, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30240:13:1", + "scope": 1109, + "src": "31082:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13520,10 +13520,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1596, + "id": 1088, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "30240:7:1", + "src": "31082:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13532,20 +13532,20 @@ "visibility": "internal" } ], - "src": "30222:32:1" + "src": "31064:32:0" }, "returnParameters": { - "id": 1601, + "id": 1093, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1600, + "id": 1092, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30277:7:1", + "scope": 1109, + "src": "31119:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13553,10 +13553,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1599, + "id": 1091, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30277:7:1", + "src": "31119:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13565,40 +13565,40 @@ "visibility": "internal" } ], - "src": "30276:9:1" + "src": "31118:9:0" }, - "scope": 1921, - "src": "30210:201:1", + "scope": 1413, + "src": "31052:204:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableSet.Bytes32Set", - "id": 1620, + "id": 1112, "members": [ { "constant": false, - "id": 1619, + "id": 1111, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1620, - "src": "30464:10:1", + "scope": 1112, + "src": "31314:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1618, + "id": 1110, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30464:3:1", + "referencedDeclaration": 932, + "src": "31314:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13607,53 +13607,53 @@ ], "name": "Bytes32Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "30436:45:1", + "scope": 1413, + "src": "31285:47:0", "visibility": "public" }, { "body": { - "id": 1636, + "id": 1128, "nodeType": "Block", - "src": "30727:47:1", + "src": "31586:49:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1631, + "id": 1123, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1623, - "src": "30749:3:1", + "referencedDeclaration": 1115, + "src": "31609:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1632, + "id": 1124, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "30749:10:1", + "referencedDeclaration": 1111, + "src": "31609:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1633, + "id": 1125, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "30761:5:1", + "referencedDeclaration": 1117, + "src": "31621:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13663,7 +13663,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -13671,18 +13671,18 @@ "typeString": "bytes32" } ], - "id": 1630, + "id": 1122, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "30744:4:1", + "referencedDeclaration": 973, + "src": "31604:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1634, + "id": 1126, "isConstant": false, "isLValue": false, "isPure": false, @@ -13690,58 +13690,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30744:23:1", + "src": "31604:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1629, - "id": 1635, + "functionReturnParameters": 1121, + "id": 1127, "nodeType": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ] }, "documentation": { - "id": 1621, + "id": 1113, "nodeType": "StructuredDocumentation", - "src": "30487:159:1", + "src": "31340:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1637, + "id": 1129, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1626, + "id": 1118, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1623, + "id": 1115, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30664:22:1", + "scope": 1129, + "src": "31523:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1622, + "id": 1114, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30664:10:1", + "referencedDeclaration": 1112, + "src": "31523:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -13749,12 +13749,12 @@ }, { "constant": false, - "id": 1625, + "id": 1117, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30688:13:1", + "scope": 1129, + "src": "31547:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13762,10 +13762,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1624, + "id": 1116, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30688:7:1", + "src": "31547:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13774,20 +13774,20 @@ "visibility": "internal" } ], - "src": "30663:39:1" + "src": "31522:39:0" }, "returnParameters": { - "id": 1629, + "id": 1121, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1628, + "id": 1120, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30721:4:1", + "scope": 1129, + "src": "31580:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13795,10 +13795,10 @@ "typeString": "bool" }, "typeName": { - "id": 1627, + "id": 1119, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "30721:4:1", + "src": "31580:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13807,57 +13807,57 @@ "visibility": "internal" } ], - "src": "30720:6:1" + "src": "31579:6:0" }, - "scope": 1921, - "src": "30651:123:1", + "scope": 1413, + "src": "31510:125:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1653, + "id": 1145, "nodeType": "Block", - "src": "31021:50:1", + "src": "31890:52:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1648, + "id": 1140, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1640, - "src": "31046:3:1", + "referencedDeclaration": 1132, + "src": "31916:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1649, + "id": 1141, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31046:10:1", + "referencedDeclaration": 1111, + "src": "31916:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1650, + "id": 1142, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1642, - "src": "31058:5:1", + "referencedDeclaration": 1134, + "src": "31928:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13867,7 +13867,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -13875,18 +13875,18 @@ "typeString": "bytes32" } ], - "id": 1647, + "id": 1139, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "31038:7:1", + "referencedDeclaration": 1053, + "src": "31908:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1651, + "id": 1143, "isConstant": false, "isLValue": false, "isPure": false, @@ -13894,58 +13894,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31038:26:1", + "src": "31908:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1646, - "id": 1652, + "functionReturnParameters": 1138, + "id": 1144, "nodeType": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ] }, "documentation": { - "id": 1638, + "id": 1130, "nodeType": "StructuredDocumentation", - "src": "30780:157:1", + "src": "31643:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1654, + "id": 1146, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1643, + "id": 1135, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1640, + "id": 1132, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30958:22:1", + "scope": 1146, + "src": "31827:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1639, + "id": 1131, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30958:10:1", + "referencedDeclaration": 1112, + "src": "31827:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -13953,12 +13953,12 @@ }, { "constant": false, - "id": 1642, + "id": 1134, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30982:13:1", + "scope": 1146, + "src": "31851:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13966,10 +13966,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1641, + "id": 1133, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30982:7:1", + "src": "31851:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13978,20 +13978,20 @@ "visibility": "internal" } ], - "src": "30957:39:1" + "src": "31826:39:0" }, "returnParameters": { - "id": 1646, + "id": 1138, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1645, + "id": 1137, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "31015:4:1", + "scope": 1146, + "src": "31884:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13999,10 +13999,10 @@ "typeString": "bool" }, "typeName": { - "id": 1644, + "id": 1136, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31015:4:1", + "src": "31884:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14011,57 +14011,57 @@ "visibility": "internal" } ], - "src": "31014:6:1" + "src": "31883:6:0" }, - "scope": 1921, - "src": "30942:129:1", + "scope": 1413, + "src": "31811:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1670, + "id": 1162, "nodeType": "Block", - "src": "31238:52:1", + "src": "32114:54:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1665, + "id": 1157, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "31265:3:1", + "referencedDeclaration": 1149, + "src": "32142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1666, + "id": 1158, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31265:10:1", + "referencedDeclaration": 1111, + "src": "32142:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1667, + "id": 1159, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1659, - "src": "31277:5:1", + "referencedDeclaration": 1151, + "src": "32154:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14071,7 +14071,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14079,18 +14079,18 @@ "typeString": "bytes32" } ], - "id": 1664, + "id": 1156, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "31255:9:1", + "referencedDeclaration": 1071, + "src": "32132:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1668, + "id": 1160, "isConstant": false, "isLValue": false, "isPure": false, @@ -14098,58 +14098,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31255:28:1", + "src": "32132:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1663, - "id": 1669, + "functionReturnParameters": 1155, + "id": 1161, "nodeType": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ] }, "documentation": { - "id": 1655, + "id": 1147, "nodeType": "StructuredDocumentation", - "src": "31077:70:1", + "src": "31950:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1671, + "id": 1163, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1660, + "id": 1152, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1657, + "id": 1149, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31170:22:1", + "scope": 1163, + "src": "32046:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1656, + "id": 1148, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31170:10:1", + "referencedDeclaration": 1112, + "src": "32046:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14157,12 +14157,12 @@ }, { "constant": false, - "id": 1659, + "id": 1151, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31194:13:1", + "scope": 1163, + "src": "32070:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14170,10 +14170,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1658, + "id": 1150, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31194:7:1", + "src": "32070:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14182,20 +14182,20 @@ "visibility": "internal" } ], - "src": "31169:39:1" + "src": "32045:39:0" }, "returnParameters": { - "id": 1663, + "id": 1155, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1662, + "id": 1154, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31232:4:1", + "scope": 1163, + "src": "32108:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14203,10 +14203,10 @@ "typeString": "bool" }, "typeName": { - "id": 1661, + "id": 1153, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31232:4:1", + "src": "32108:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14215,47 +14215,47 @@ "visibility": "internal" } ], - "src": "31231:6:1" + "src": "32107:6:0" }, - "scope": 1921, - "src": "31152:138:1", + "scope": 1413, + "src": "32028:140:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1684, + "id": 1176, "nodeType": "Block", - "src": "31443:43:1", + "src": "32326:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1680, + "id": 1172, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "31468:3:1", + "referencedDeclaration": 1166, + "src": "32352:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1681, + "id": 1173, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31468:10:1", + "referencedDeclaration": 1111, + "src": "32352:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -14263,22 +14263,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1679, + "id": 1171, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "31460:7:1", + "referencedDeclaration": 1084, + "src": "32344:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1682, + "id": 1174, "isConstant": false, "isLValue": false, "isPure": false, @@ -14286,78 +14286,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31460:19:1", + "src": "32344:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1678, - "id": 1683, + "functionReturnParameters": 1170, + "id": 1175, "nodeType": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ] }, "documentation": { - "id": 1672, + "id": 1164, "nodeType": "StructuredDocumentation", - "src": "31296:70:1", + "src": "32176:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1685, + "id": 1177, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1675, + "id": 1167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1674, + "id": 1166, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31387:22:1", + "scope": 1177, + "src": "32270:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1673, + "id": 1165, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31387:10:1", + "referencedDeclaration": 1112, + "src": "32270:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, "visibility": "internal" } ], - "src": "31386:24:1" + "src": "32269:24:0" }, "returnParameters": { - "id": 1678, + "id": 1170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1677, + "id": 1169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31434:7:1", + "scope": 1177, + "src": "32317:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14365,10 +14365,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1676, + "id": 1168, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31434:7:1", + "src": "32317:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14377,57 +14377,57 @@ "visibility": "internal" } ], - "src": "31433:9:1" + "src": "32316:9:0" }, - "scope": 1921, - "src": "31371:115:1", + "scope": 1413, + "src": "32254:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1701, + "id": 1193, "nodeType": "Block", - "src": "31901:46:1", + "src": "32798:48:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1696, + "id": 1188, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1688, - "src": "31922:3:1", + "referencedDeclaration": 1180, + "src": "32820:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1697, + "id": 1189, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31922:10:1", + "referencedDeclaration": 1111, + "src": "32820:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1698, + "id": 1190, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "31934:5:1", + "referencedDeclaration": 1182, + "src": "32832:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14437,7 +14437,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14445,18 +14445,18 @@ "typeString": "uint256" } ], - "id": 1695, + "id": 1187, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "31918:3:1", + "referencedDeclaration": 1109, + "src": "32816:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1699, + "id": 1191, "isConstant": false, "isLValue": false, "isPure": false, @@ -14464,58 +14464,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31918:22:1", + "src": "32816:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1694, - "id": 1700, + "functionReturnParameters": 1186, + "id": 1192, "nodeType": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ] }, "documentation": { - "id": 1686, + "id": 1178, "nodeType": "StructuredDocumentation", - "src": "31491:322:1", + "src": "32378:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1702, + "id": 1194, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1691, + "id": 1183, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1688, + "id": 1180, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31830:22:1", + "scope": 1194, + "src": "32727:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1687, + "id": 1179, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31830:10:1", + "referencedDeclaration": 1112, + "src": "32727:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14523,12 +14523,12 @@ }, { "constant": false, - "id": 1690, + "id": 1182, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31854:13:1", + "scope": 1194, + "src": "32751:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14536,10 +14536,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1689, + "id": 1181, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31854:7:1", + "src": "32751:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14548,20 +14548,20 @@ "visibility": "internal" } ], - "src": "31829:39:1" + "src": "32726:39:0" }, "returnParameters": { - "id": 1694, + "id": 1186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1693, + "id": 1185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31892:7:1", + "scope": 1194, + "src": "32789:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14569,10 +14569,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1692, + "id": 1184, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31892:7:1", + "src": "32789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14581,40 +14581,40 @@ "visibility": "internal" } ], - "src": "31891:9:1" + "src": "32788:9:0" }, - "scope": 1921, - "src": "31818:129:1", + "scope": 1413, + "src": "32715:131:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.AddressSet", - "id": 1705, + "id": 1197, "members": [ { "constant": false, - "id": 1704, + "id": 1196, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1705, - "src": "32000:10:1", + "scope": 1197, + "src": "32904:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1703, + "id": 1195, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "32000:3:1", + "referencedDeclaration": 932, + "src": "32904:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -14623,43 +14623,43 @@ ], "name": "AddressSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "31972:45:1", + "scope": 1413, + "src": "32875:47:0", "visibility": "public" }, { "body": { - "id": 1730, + "id": 1222, "nodeType": "Block", - "src": "32263:74:1", + "src": "33176:76:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1716, + "id": 1208, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1708, - "src": "32285:3:1", + "referencedDeclaration": 1200, + "src": "33199:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1717, + "id": 1209, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32285:10:1", + "referencedDeclaration": 1196, + "src": "33199:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -14670,12 +14670,12 @@ { "arguments": [ { - "id": 1724, + "id": 1216, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1710, - "src": "32321:5:1", + "referencedDeclaration": 1202, + "src": "33235:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14689,26 +14689,26 @@ "typeString": "address" } ], - "id": 1723, + "id": 1215, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1722, + "id": 1214, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": {} } }, - "id": 1725, + "id": 1217, "isConstant": false, "isLValue": false, "isPure": false, @@ -14716,7 +14716,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32313:14:1", + "src": "33227:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -14731,26 +14731,26 @@ "typeString": "uint160" } ], - "id": 1721, + "id": 1213, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1720, + "id": 1212, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": {} } }, - "id": 1726, + "id": 1218, "isConstant": false, "isLValue": false, "isPure": false, @@ -14758,7 +14758,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32305:23:1", + "src": "33219:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -14773,26 +14773,26 @@ "typeString": "uint256" } ], - "id": 1719, + "id": 1211, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1718, + "id": 1210, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": {} } }, - "id": 1727, + "id": 1219, "isConstant": false, "isLValue": false, "isPure": false, @@ -14800,7 +14800,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32297:32:1", + "src": "33211:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -14811,7 +14811,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14819,18 +14819,18 @@ "typeString": "bytes32" } ], - "id": 1715, + "id": 1207, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "32280:4:1", + "referencedDeclaration": 973, + "src": "33194:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1728, + "id": 1220, "isConstant": false, "isLValue": false, "isPure": false, @@ -14838,58 +14838,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32280:50:1", + "src": "33194:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1714, - "id": 1729, + "functionReturnParameters": 1206, + "id": 1221, "nodeType": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ] }, "documentation": { - "id": 1706, + "id": 1198, "nodeType": "StructuredDocumentation", - "src": "32023:159:1", + "src": "32930:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1731, + "id": 1223, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1711, + "id": 1203, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1708, + "id": 1200, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32200:22:1", + "scope": 1223, + "src": "33113:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1707, + "id": 1199, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32200:10:1", + "referencedDeclaration": 1197, + "src": "33113:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -14897,12 +14897,12 @@ }, { "constant": false, - "id": 1710, + "id": 1202, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32224:13:1", + "scope": 1223, + "src": "33137:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14910,10 +14910,10 @@ "typeString": "address" }, "typeName": { - "id": 1709, + "id": 1201, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32224:7:1", + "src": "33137:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -14923,20 +14923,20 @@ "visibility": "internal" } ], - "src": "32199:39:1" + "src": "33112:39:0" }, "returnParameters": { - "id": 1714, + "id": 1206, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1713, + "id": 1205, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32257:4:1", + "scope": 1223, + "src": "33170:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14944,10 +14944,10 @@ "typeString": "bool" }, "typeName": { - "id": 1712, + "id": 1204, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32257:4:1", + "src": "33170:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14956,47 +14956,47 @@ "visibility": "internal" } ], - "src": "32256:6:1" + "src": "33169:6:0" }, - "scope": 1921, - "src": "32187:150:1", + "scope": 1413, + "src": "33100:152:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1756, + "id": 1248, "nodeType": "Block", - "src": "32584:77:1", + "src": "33507:79:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1742, + "id": 1234, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1734, - "src": "32609:3:1", + "referencedDeclaration": 1226, + "src": "33533:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1743, + "id": 1235, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32609:10:1", + "referencedDeclaration": 1196, + "src": "33533:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15007,12 +15007,12 @@ { "arguments": [ { - "id": 1750, + "id": 1242, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1736, - "src": "32645:5:1", + "referencedDeclaration": 1228, + "src": "33569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15026,26 +15026,26 @@ "typeString": "address" } ], - "id": 1749, + "id": 1241, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1748, + "id": 1240, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": {} } }, - "id": 1751, + "id": 1243, "isConstant": false, "isLValue": false, "isPure": false, @@ -15053,7 +15053,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32637:14:1", + "src": "33561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15068,26 +15068,26 @@ "typeString": "uint160" } ], - "id": 1747, + "id": 1239, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1746, + "id": 1238, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": {} } }, - "id": 1752, + "id": 1244, "isConstant": false, "isLValue": false, "isPure": false, @@ -15095,7 +15095,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32629:23:1", + "src": "33553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15110,26 +15110,26 @@ "typeString": "uint256" } ], - "id": 1745, + "id": 1237, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1744, + "id": 1236, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": {} } }, - "id": 1753, + "id": 1245, "isConstant": false, "isLValue": false, "isPure": false, @@ -15137,7 +15137,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32621:32:1", + "src": "33545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15148,7 +15148,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15156,18 +15156,18 @@ "typeString": "bytes32" } ], - "id": 1741, + "id": 1233, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "32601:7:1", + "referencedDeclaration": 1053, + "src": "33525:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1754, + "id": 1246, "isConstant": false, "isLValue": false, "isPure": false, @@ -15175,58 +15175,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32601:53:1", + "src": "33525:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1740, - "id": 1755, + "functionReturnParameters": 1232, + "id": 1247, "nodeType": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ] }, "documentation": { - "id": 1732, + "id": 1224, "nodeType": "StructuredDocumentation", - "src": "32343:157:1", + "src": "33260:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1757, + "id": 1249, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1737, + "id": 1229, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1734, + "id": 1226, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32521:22:1", + "scope": 1249, + "src": "33444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1733, + "id": 1225, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32521:10:1", + "referencedDeclaration": 1197, + "src": "33444:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15234,12 +15234,12 @@ }, { "constant": false, - "id": 1736, + "id": 1228, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32545:13:1", + "scope": 1249, + "src": "33468:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15247,10 +15247,10 @@ "typeString": "address" }, "typeName": { - "id": 1735, + "id": 1227, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32545:7:1", + "src": "33468:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15260,20 +15260,20 @@ "visibility": "internal" } ], - "src": "32520:39:1" + "src": "33443:39:0" }, "returnParameters": { - "id": 1740, + "id": 1232, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1739, + "id": 1231, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32578:4:1", + "scope": 1249, + "src": "33501:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15281,10 +15281,10 @@ "typeString": "bool" }, "typeName": { - "id": 1738, + "id": 1230, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32578:4:1", + "src": "33501:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15293,47 +15293,47 @@ "visibility": "internal" } ], - "src": "32577:6:1" + "src": "33500:6:0" }, - "scope": 1921, - "src": "32505:156:1", + "scope": 1413, + "src": "33428:158:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1782, + "id": 1274, "nodeType": "Block", - "src": "32828:79:1", + "src": "33758:81:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1768, + "id": 1260, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1760, - "src": "32855:3:1", + "referencedDeclaration": 1252, + "src": "33786:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1769, + "id": 1261, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32855:10:1", + "referencedDeclaration": 1196, + "src": "33786:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15344,12 +15344,12 @@ { "arguments": [ { - "id": 1776, + "id": 1268, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1762, - "src": "32891:5:1", + "referencedDeclaration": 1254, + "src": "33822:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15363,26 +15363,26 @@ "typeString": "address" } ], - "id": 1775, + "id": 1267, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1774, + "id": 1266, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": {} } }, - "id": 1777, + "id": 1269, "isConstant": false, "isLValue": false, "isPure": false, @@ -15390,7 +15390,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32883:14:1", + "src": "33814:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15405,26 +15405,26 @@ "typeString": "uint160" } ], - "id": 1773, + "id": 1265, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1772, + "id": 1264, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": {} } }, - "id": 1778, + "id": 1270, "isConstant": false, "isLValue": false, "isPure": false, @@ -15432,7 +15432,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32875:23:1", + "src": "33806:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15447,26 +15447,26 @@ "typeString": "uint256" } ], - "id": 1771, + "id": 1263, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1770, + "id": 1262, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": {} } }, - "id": 1779, + "id": 1271, "isConstant": false, "isLValue": false, "isPure": false, @@ -15474,7 +15474,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32867:32:1", + "src": "33798:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15485,7 +15485,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15493,18 +15493,18 @@ "typeString": "bytes32" } ], - "id": 1767, + "id": 1259, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "32845:9:1", + "referencedDeclaration": 1071, + "src": "33776:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1780, + "id": 1272, "isConstant": false, "isLValue": false, "isPure": false, @@ -15512,58 +15512,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32845:55:1", + "src": "33776:55:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1766, - "id": 1781, + "functionReturnParameters": 1258, + "id": 1273, "nodeType": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ] }, "documentation": { - "id": 1758, + "id": 1250, "nodeType": "StructuredDocumentation", - "src": "32667:70:1", + "src": "33594:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1783, + "id": 1275, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1763, + "id": 1255, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1760, + "id": 1252, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32760:22:1", + "scope": 1275, + "src": "33690:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1759, + "id": 1251, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32760:10:1", + "referencedDeclaration": 1197, + "src": "33690:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15571,12 +15571,12 @@ }, { "constant": false, - "id": 1762, + "id": 1254, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32784:13:1", + "scope": 1275, + "src": "33714:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15584,10 +15584,10 @@ "typeString": "address" }, "typeName": { - "id": 1761, + "id": 1253, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32784:7:1", + "src": "33714:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15597,20 +15597,20 @@ "visibility": "internal" } ], - "src": "32759:39:1" + "src": "33689:39:0" }, "returnParameters": { - "id": 1766, + "id": 1258, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1765, + "id": 1257, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32822:4:1", + "scope": 1275, + "src": "33752:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15618,10 +15618,10 @@ "typeString": "bool" }, "typeName": { - "id": 1764, + "id": 1256, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32822:4:1", + "src": "33752:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15630,47 +15630,47 @@ "visibility": "internal" } ], - "src": "32821:6:1" + "src": "33751:6:0" }, - "scope": 1921, - "src": "32742:165:1", + "scope": 1413, + "src": "33672:167:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1796, + "id": 1288, "nodeType": "Block", - "src": "33060:43:1", + "src": "33997:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1792, + "id": 1284, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1786, - "src": "33085:3:1", + "referencedDeclaration": 1278, + "src": "34023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1793, + "id": 1285, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33085:10:1", + "referencedDeclaration": 1196, + "src": "34023:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -15678,22 +15678,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1791, + "id": 1283, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "33077:7:1", + "referencedDeclaration": 1084, + "src": "34015:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1794, + "id": 1286, "isConstant": false, "isLValue": false, "isPure": false, @@ -15701,78 +15701,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33077:19:1", + "src": "34015:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1790, - "id": 1795, + "functionReturnParameters": 1282, + "id": 1287, "nodeType": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ] }, "documentation": { - "id": 1784, + "id": 1276, "nodeType": "StructuredDocumentation", - "src": "32913:70:1", + "src": "33847:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1797, + "id": 1289, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1787, + "id": 1279, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1786, + "id": 1278, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33004:22:1", + "scope": 1289, + "src": "33941:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1785, + "id": 1277, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33004:10:1", + "referencedDeclaration": 1197, + "src": "33941:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, "visibility": "internal" } ], - "src": "33003:24:1" + "src": "33940:24:0" }, "returnParameters": { - "id": 1790, + "id": 1282, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1789, + "id": 1281, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33051:7:1", + "scope": 1289, + "src": "33988:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15780,10 +15780,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1788, + "id": 1280, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33051:7:1", + "src": "33988:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15792,19 +15792,19 @@ "visibility": "internal" } ], - "src": "33050:9:1" + "src": "33987:9:0" }, - "scope": 1921, - "src": "32988:115:1", + "scope": 1413, + "src": "33925:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1822, + "id": 1314, "nodeType": "Block", - "src": "33518:73:1", + "src": "34469:75:0", "statements": [ { "expression": { @@ -15817,38 +15817,38 @@ "arguments": [ { "expression": { - "id": 1814, + "id": 1306, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1800, - "src": "33563:3:1", + "referencedDeclaration": 1292, + "src": "34515:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1815, + "id": 1307, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33563:10:1", + "referencedDeclaration": 1196, + "src": "34515:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1816, + "id": 1308, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1802, - "src": "33575:5:1", + "referencedDeclaration": 1294, + "src": "34527:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15858,7 +15858,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15866,18 +15866,18 @@ "typeString": "uint256" } ], - "id": 1813, + "id": 1305, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "33559:3:1", + "referencedDeclaration": 1109, + "src": "34511:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1817, + "id": 1309, "isConstant": false, "isLValue": false, "isPure": false, @@ -15885,7 +15885,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33559:22:1", + "src": "34511:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15900,26 +15900,26 @@ "typeString": "bytes32" } ], - "id": 1812, + "id": 1304, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1811, + "id": 1303, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": {} } }, - "id": 1818, + "id": 1310, "isConstant": false, "isLValue": false, "isPure": false, @@ -15927,7 +15927,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33551:31:1", + "src": "34503:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15942,26 +15942,26 @@ "typeString": "uint256" } ], - "id": 1810, + "id": 1302, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1809, + "id": 1301, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": {} } }, - "id": 1819, + "id": 1311, "isConstant": false, "isLValue": false, "isPure": false, @@ -15969,7 +15969,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33543:40:1", + "src": "34495:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15984,26 +15984,26 @@ "typeString": "uint160" } ], - "id": 1808, + "id": 1300, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1807, + "id": 1299, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": {} } }, - "id": 1820, + "id": 1312, "isConstant": false, "isLValue": false, "isPure": false, @@ -16011,58 +16011,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33535:49:1", + "src": "34487:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 1806, - "id": 1821, + "functionReturnParameters": 1298, + "id": 1313, "nodeType": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ] }, "documentation": { - "id": 1798, + "id": 1290, "nodeType": "StructuredDocumentation", - "src": "33108:322:1", + "src": "34049:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1823, + "id": 1315, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1803, + "id": 1295, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1800, + "id": 1292, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33447:22:1", + "scope": 1315, + "src": "34398:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1799, + "id": 1291, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33447:10:1", + "referencedDeclaration": 1197, + "src": "34398:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -16070,12 +16070,12 @@ }, { "constant": false, - "id": 1802, + "id": 1294, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33471:13:1", + "scope": 1315, + "src": "34422:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16083,10 +16083,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1801, + "id": 1293, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33471:7:1", + "src": "34422:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16095,20 +16095,20 @@ "visibility": "internal" } ], - "src": "33446:39:1" + "src": "34397:39:0" }, "returnParameters": { - "id": 1806, + "id": 1298, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1805, + "id": 1297, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33509:7:1", + "scope": 1315, + "src": "34460:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16116,10 +16116,10 @@ "typeString": "address" }, "typeName": { - "id": 1804, + "id": 1296, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33509:7:1", + "src": "34460:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16129,40 +16129,40 @@ "visibility": "internal" } ], - "src": "33508:9:1" + "src": "34459:9:0" }, - "scope": 1921, - "src": "33435:156:1", + "scope": 1413, + "src": "34386:158:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.UintSet", - "id": 1826, + "id": 1318, "members": [ { "constant": false, - "id": 1825, + "id": 1317, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1826, - "src": "33639:10:1", + "scope": 1318, + "src": "34598:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1824, + "id": 1316, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "33639:3:1", + "referencedDeclaration": 932, + "src": "34598:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -16171,55 +16171,55 @@ ], "name": "UintSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "33614:42:1", + "scope": 1413, + "src": "34572:44:0", "visibility": "public" }, { "body": { - "id": 1845, + "id": 1337, "nodeType": "Block", - "src": "33899:56:1", + "src": "34867:58:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1837, + "id": 1329, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1829, - "src": "33921:3:1", + "referencedDeclaration": 1321, + "src": "34890:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1838, + "id": 1330, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "33921:10:1", + "referencedDeclaration": 1317, + "src": "34890:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1841, + "id": 1333, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1831, - "src": "33941:5:1", + "referencedDeclaration": 1323, + "src": "34910:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16233,26 +16233,26 @@ "typeString": "uint256" } ], - "id": 1840, + "id": 1332, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1839, + "id": 1331, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": {} } }, - "id": 1842, + "id": 1334, "isConstant": false, "isLValue": false, "isPure": false, @@ -16260,7 +16260,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33933:14:1", + "src": "34902:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16271,7 +16271,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16279,18 +16279,18 @@ "typeString": "bytes32" } ], - "id": 1836, + "id": 1328, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "33916:4:1", + "referencedDeclaration": 973, + "src": "34885:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1843, + "id": 1335, "isConstant": false, "isLValue": false, "isPure": false, @@ -16298,58 +16298,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33916:32:1", + "src": "34885:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1835, - "id": 1844, + "functionReturnParameters": 1327, + "id": 1336, "nodeType": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ] }, "documentation": { - "id": 1827, + "id": 1319, "nodeType": "StructuredDocumentation", - "src": "33662:159:1", + "src": "34624:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1846, + "id": 1338, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1832, + "id": 1324, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1829, + "id": 1321, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33839:19:1", + "scope": 1338, + "src": "34807:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1828, + "id": 1320, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "33839:7:1", + "referencedDeclaration": 1318, + "src": "34807:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16357,12 +16357,12 @@ }, { "constant": false, - "id": 1831, + "id": 1323, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33860:13:1", + "scope": 1338, + "src": "34828:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16370,10 +16370,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1830, + "id": 1322, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33860:7:1", + "src": "34828:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16382,20 +16382,20 @@ "visibility": "internal" } ], - "src": "33838:36:1" + "src": "34806:36:0" }, "returnParameters": { - "id": 1835, + "id": 1327, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1834, + "id": 1326, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33893:4:1", + "scope": 1338, + "src": "34861:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16403,10 +16403,10 @@ "typeString": "bool" }, "typeName": { - "id": 1833, + "id": 1325, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "33893:4:1", + "src": "34861:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16415,59 +16415,59 @@ "visibility": "internal" } ], - "src": "33892:6:1" + "src": "34860:6:0" }, - "scope": 1921, - "src": "33826:129:1", + "scope": 1413, + "src": "34794:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1865, + "id": 1357, "nodeType": "Block", - "src": "34199:59:1", + "src": "35177:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1857, + "id": 1349, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1849, - "src": "34224:3:1", + "referencedDeclaration": 1341, + "src": "35203:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1858, + "id": 1350, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34224:10:1", + "referencedDeclaration": 1317, + "src": "35203:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1861, + "id": 1353, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1851, - "src": "34244:5:1", + "referencedDeclaration": 1343, + "src": "35223:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16481,26 +16481,26 @@ "typeString": "uint256" } ], - "id": 1860, + "id": 1352, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1859, + "id": 1351, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": {} } }, - "id": 1862, + "id": 1354, "isConstant": false, "isLValue": false, "isPure": false, @@ -16508,7 +16508,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34236:14:1", + "src": "35215:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16519,7 +16519,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16527,18 +16527,18 @@ "typeString": "bytes32" } ], - "id": 1856, + "id": 1348, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "34216:7:1", + "referencedDeclaration": 1053, + "src": "35195:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1863, + "id": 1355, "isConstant": false, "isLValue": false, "isPure": false, @@ -16546,58 +16546,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34216:35:1", + "src": "35195:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1855, - "id": 1864, + "functionReturnParameters": 1347, + "id": 1356, "nodeType": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ] }, "documentation": { - "id": 1847, + "id": 1339, "nodeType": "StructuredDocumentation", - "src": "33961:157:1", + "src": "34933:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1866, + "id": 1358, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1852, + "id": 1344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1849, + "id": 1341, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34139:19:1", + "scope": 1358, + "src": "35117:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1848, + "id": 1340, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34139:7:1", + "referencedDeclaration": 1318, + "src": "35117:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16605,12 +16605,12 @@ }, { "constant": false, - "id": 1851, + "id": 1343, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34160:13:1", + "scope": 1358, + "src": "35138:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16618,10 +16618,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1850, + "id": 1342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34160:7:1", + "src": "35138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16630,20 +16630,20 @@ "visibility": "internal" } ], - "src": "34138:36:1" + "src": "35116:36:0" }, "returnParameters": { - "id": 1855, + "id": 1347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1854, + "id": 1346, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34193:4:1", + "scope": 1358, + "src": "35171:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16651,10 +16651,10 @@ "typeString": "bool" }, "typeName": { - "id": 1853, + "id": 1345, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34193:4:1", + "src": "35171:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16663,59 +16663,59 @@ "visibility": "internal" } ], - "src": "34192:6:1" + "src": "35170:6:0" }, - "scope": 1921, - "src": "34123:135:1", + "scope": 1413, + "src": "35101:137:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1885, + "id": 1377, "nodeType": "Block", - "src": "34422:61:1", + "src": "35407:63:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1877, + "id": 1369, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1869, - "src": "34449:3:1", + "referencedDeclaration": 1361, + "src": "35435:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1878, + "id": 1370, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34449:10:1", + "referencedDeclaration": 1317, + "src": "35435:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1881, + "id": 1373, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1871, - "src": "34469:5:1", + "referencedDeclaration": 1363, + "src": "35455:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16729,26 +16729,26 @@ "typeString": "uint256" } ], - "id": 1880, + "id": 1372, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1879, + "id": 1371, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": {} } }, - "id": 1882, + "id": 1374, "isConstant": false, "isLValue": false, "isPure": false, @@ -16756,7 +16756,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34461:14:1", + "src": "35447:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16767,7 +16767,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16775,18 +16775,18 @@ "typeString": "bytes32" } ], - "id": 1876, + "id": 1368, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "34439:9:1", + "referencedDeclaration": 1071, + "src": "35425:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1883, + "id": 1375, "isConstant": false, "isLValue": false, "isPure": false, @@ -16794,58 +16794,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34439:37:1", + "src": "35425:37:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1875, - "id": 1884, + "functionReturnParameters": 1367, + "id": 1376, "nodeType": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ] }, "documentation": { - "id": 1867, + "id": 1359, "nodeType": "StructuredDocumentation", - "src": "34264:70:1", + "src": "35246:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1886, + "id": 1378, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1872, + "id": 1364, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1869, + "id": 1361, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34357:19:1", + "scope": 1378, + "src": "35342:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1868, + "id": 1360, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34357:7:1", + "referencedDeclaration": 1318, + "src": "35342:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16853,12 +16853,12 @@ }, { "constant": false, - "id": 1871, + "id": 1363, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34378:13:1", + "scope": 1378, + "src": "35363:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16866,10 +16866,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1870, + "id": 1362, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34378:7:1", + "src": "35363:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16878,20 +16878,20 @@ "visibility": "internal" } ], - "src": "34356:36:1" + "src": "35341:36:0" }, "returnParameters": { - "id": 1875, + "id": 1367, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1874, + "id": 1366, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34416:4:1", + "scope": 1378, + "src": "35401:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16899,10 +16899,10 @@ "typeString": "bool" }, "typeName": { - "id": 1873, + "id": 1365, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34416:4:1", + "src": "35401:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16911,47 +16911,47 @@ "visibility": "internal" } ], - "src": "34415:6:1" + "src": "35400:6:0" }, - "scope": 1921, - "src": "34339:144:1", + "scope": 1413, + "src": "35324:146:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1899, + "id": 1391, "nodeType": "Block", - "src": "34633:43:1", + "src": "35625:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1895, + "id": 1387, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1889, - "src": "34658:3:1", + "referencedDeclaration": 1381, + "src": "35651:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1896, + "id": 1388, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34658:10:1", + "referencedDeclaration": 1317, + "src": "35651:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -16959,22 +16959,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1894, + "id": 1386, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "34650:7:1", + "referencedDeclaration": 1084, + "src": "35643:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1897, + "id": 1389, "isConstant": false, "isLValue": false, "isPure": false, @@ -16982,78 +16982,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34650:19:1", + "src": "35643:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1893, - "id": 1898, + "functionReturnParameters": 1385, + "id": 1390, "nodeType": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ] }, "documentation": { - "id": 1887, + "id": 1379, "nodeType": "StructuredDocumentation", - "src": "34489:70:1", + "src": "35478:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1900, + "id": 1392, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1890, + "id": 1382, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1889, + "id": 1381, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34580:19:1", + "scope": 1392, + "src": "35572:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1888, + "id": 1380, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34580:7:1", + "referencedDeclaration": 1318, + "src": "35572:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, "visibility": "internal" } ], - "src": "34579:21:1" + "src": "35571:21:0" }, "returnParameters": { - "id": 1893, + "id": 1385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1892, + "id": 1384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34624:7:1", + "scope": 1392, + "src": "35616:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17061,10 +17061,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1891, + "id": 1383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34624:7:1", + "src": "35616:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17073,19 +17073,19 @@ "visibility": "internal" } ], - "src": "34623:9:1" + "src": "35615:9:0" }, - "scope": 1921, - "src": "34564:112:1", + "scope": 1413, + "src": "35556:114:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1919, + "id": 1411, "nodeType": "Block", - "src": "35088:55:1", + "src": "36094:57:0", "statements": [ { "expression": { @@ -17094,38 +17094,38 @@ "arguments": [ { "expression": { - "id": 1913, + "id": 1405, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1903, - "src": "35117:3:1", + "referencedDeclaration": 1395, + "src": "36124:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1914, + "id": 1406, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "35117:10:1", + "referencedDeclaration": 1317, + "src": "36124:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1915, + "id": 1407, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1905, - "src": "35129:5:1", + "referencedDeclaration": 1397, + "src": "36136:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17135,7 +17135,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -17143,18 +17143,18 @@ "typeString": "uint256" } ], - "id": 1912, + "id": 1404, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "35113:3:1", + "referencedDeclaration": 1109, + "src": "36120:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1916, + "id": 1408, "isConstant": false, "isLValue": false, "isPure": false, @@ -17162,7 +17162,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35113:22:1", + "src": "36120:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -17177,26 +17177,26 @@ "typeString": "bytes32" } ], - "id": 1911, + "id": 1403, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1910, + "id": 1402, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": {} } }, - "id": 1917, + "id": 1409, "isConstant": false, "isLValue": false, "isPure": false, @@ -17204,58 +17204,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35105:31:1", + "src": "36112:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1909, - "id": 1918, + "functionReturnParameters": 1401, + "id": 1410, "nodeType": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ] }, "documentation": { - "id": 1901, + "id": 1393, "nodeType": "StructuredDocumentation", - "src": "34681:322:1", + "src": "35677:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1920, + "id": 1412, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1906, + "id": 1398, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1903, + "id": 1395, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35020:19:1", + "scope": 1412, + "src": "36026:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1902, + "id": 1394, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "35020:7:1", + "referencedDeclaration": 1318, + "src": "36026:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -17263,12 +17263,12 @@ }, { "constant": false, - "id": 1905, + "id": 1397, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35041:13:1", + "scope": 1412, + "src": "36047:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17276,10 +17276,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1904, + "id": 1396, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35041:7:1", + "src": "36047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17288,20 +17288,20 @@ "visibility": "internal" } ], - "src": "35019:36:1" + "src": "36025:36:0" }, "returnParameters": { - "id": 1909, + "id": 1401, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1908, + "id": 1400, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35079:7:1", + "scope": 1412, + "src": "36085:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17309,10 +17309,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1907, + "id": 1399, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35079:7:1", + "src": "36085:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17321,20 +17321,20 @@ "visibility": "internal" } ], - "src": "35078:9:1" + "src": "36084:9:0" }, - "scope": 1921, - "src": "35008:135:1", + "scope": 1413, + "src": "36014:137:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "26511:8634:1" + "scope": 2991, + "src": "27252:8902:0" }, { - "id": 1922, + "id": 1414, "literals": [ "solidity", ">=", @@ -17345,7 +17345,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "abstract": false, @@ -17353,31 +17353,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1923, + "id": 1415, "nodeType": "StructuredDocumentation", - "src": "35237:705:1", + "src": "36251:728:0", "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, "fullyImplemented": true, - "id": 2480, + "id": 1972, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableMap.MapEntry", - "id": 1928, + "id": 1420, "members": [ { "constant": false, - "id": 1925, + "id": 1417, "mutability": "mutable", "name": "_key", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36455:12:1", + "scope": 1420, + "src": "37504:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17385,10 +17385,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1924, + "id": 1416, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36455:7:1", + "src": "37504:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17398,12 +17398,12 @@ }, { "constant": false, - "id": 1927, + "id": 1419, "mutability": "mutable", "name": "_value", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36477:14:1", + "scope": 1420, + "src": "37527:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17411,10 +17411,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1926, + "id": 1418, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36477:7:1", + "src": "37527:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17425,45 +17425,45 @@ ], "name": "MapEntry", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36429:69:1", + "scope": 1972, + "src": "37477:72:0", "visibility": "public" }, { "canonicalName": "EnumerableMap.Map", - "id": 1936, + "id": 1428, "members": [ { "constant": false, - "id": 1931, + "id": 1423, "mutability": "mutable", "name": "_entries", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36567:19:1", + "scope": 1428, + "src": "37622:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" }, "typeName": { "baseType": { - "id": 1929, + "id": 1421, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "36567:8:1", + "referencedDeclaration": 1420, + "src": "37622:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, - "id": 1930, + "id": 1422, "nodeType": "ArrayTypeName", - "src": "36567:10:1", + "src": "37622:10:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" } }, @@ -17471,12 +17471,12 @@ }, { "constant": false, - "id": 1935, + "id": 1427, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36736:37:1", + "scope": 1428, + "src": "37795:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17484,28 +17484,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1934, + "id": 1426, "keyType": { - "id": 1932, + "id": 1424, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36745:7:1", + "src": "37804:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "36736:28:1", + "src": "37795:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1933, + "id": 1425, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "36756:7:1", + "src": "37815:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17517,29 +17517,29 @@ ], "name": "Map", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36504:276:1", + "scope": 1972, + "src": "37557:283:0", "visibility": "public" }, { "body": { - "id": 1997, + "id": 1489, "nodeType": "Block", - "src": "37089:596:1", + "src": "38158:610:0", "statements": [ { "assignments": [ - 1949 + 1441 ], "declarations": [ { "constant": false, - "id": 1949, + "id": 1441, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 1997, - "src": "37197:16:1", + "scope": 1489, + "src": "38268:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17547,10 +17547,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1948, + "id": 1440, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "37197:7:1", + "src": "38268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17559,43 +17559,43 @@ "visibility": "internal" } ], - "id": 1954, + "id": 1446, "initialValue": { "baseExpression": { "expression": { - "id": 1950, + "id": 1442, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37216:3:1", + "referencedDeclaration": 1431, + "src": "38287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1951, + "id": 1443, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37216:12:1", + "referencedDeclaration": 1427, + "src": "38287:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1953, + "id": 1445, "indexExpression": { - "id": 1952, + "id": 1444, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37229:3:1", + "referencedDeclaration": 1433, + "src": "38300:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17606,14 +17606,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37216:17:1", + "src": "38287:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "condition": { @@ -17621,18 +17621,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1957, + "id": 1449, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1955, + "id": 1447, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37248:8:1", + "referencedDeclaration": 1441, + "src": "38321:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17642,34 +17642,34 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 1956, + "id": 1448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37260:1:1", + "src": "38333:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "37248:13:1", + "src": "38321:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1995, + "id": 1487, "nodeType": "Block", - "src": "37587:92:1", + "src": "38666:95:0", "statements": [ { "expression": { - "id": 1991, + "id": 1483, "isConstant": false, "isLValue": false, "isPure": false, @@ -17678,49 +17678,49 @@ "expression": { "baseExpression": { "expression": { - "id": 1982, + "id": 1474, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37601:3:1", + "referencedDeclaration": 1431, + "src": "38681:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1987, + "id": 1479, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37601:12:1", + "referencedDeclaration": 1423, + "src": "38681:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1988, + "id": 1480, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1986, + "id": 1478, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1984, + "id": 1476, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37614:8:1", + "referencedDeclaration": 1441, + "src": "38694:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17730,21 +17730,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1985, + "id": 1477, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37625:1:1", + "src": "38705:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "37614:12:1", + "src": "38694:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17755,21 +17755,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37601:26:1", + "src": "38681:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 1989, + "id": 1481, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "37601:33:1", + "referencedDeclaration": 1419, + "src": "38681:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17778,58 +17778,58 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1990, + "id": 1482, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37637:5:1", + "referencedDeclaration": 1435, + "src": "38717:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "37601:41:1", + "src": "38681:41:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1992, + "id": 1484, "nodeType": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "expression": { "hexValue": "66616c7365", - "id": 1993, + "id": 1485, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37663:5:1", + "src": "38744:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1947, - "id": 1994, + "functionReturnParameters": 1439, + "id": 1486, "nodeType": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ] }, - "id": 1996, + "id": 1488, "nodeType": "IfStatement", - "src": "37244:435:1", + "src": "38317:444:0", "trueBody": { - "id": 1981, + "id": 1473, "nodeType": "Block", - "src": "37263:318:1", + "src": "38336:324:0", "statements": [ { "expression": { @@ -17837,24 +17837,24 @@ { "arguments": [ { - "id": 1964, + "id": 1456, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37349:3:1", + "referencedDeclaration": 1433, + "src": "38423:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, { - "id": 1965, + "id": 1457, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37362:5:1", + "referencedDeclaration": 1435, + "src": "38436:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17872,18 +17872,18 @@ "typeString": "bytes32" } ], - "id": 1963, + "id": 1455, "name": "MapEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1928, - "src": "37332:8:1", + "referencedDeclaration": 1420, + "src": "38406:8:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_MapEntry_$1928_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_MapEntry_$1420_storage_ptr_$", "typeString": "type(struct EnumerableMap.MapEntry storage pointer)" } }, - "id": 1966, + "id": 1458, "isConstant": false, "isLValue": false, "isPure": false, @@ -17894,10 +17894,10 @@ "_value" ], "nodeType": "FunctionCall", - "src": "37332:38:1", + "src": "38406:38:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } } @@ -17905,51 +17905,51 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], "expression": { "expression": { - "id": 1958, + "id": 1450, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37314:3:1", + "referencedDeclaration": 1431, + "src": "38388:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1961, + "id": 1453, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37314:12:1", + "referencedDeclaration": 1423, + "src": "38388:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1962, + "id": 1454, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "37314:17:1", + "src": "38388:17:0", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1928_storage_$returns$__$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1420_storage_$returns$__$", "typeString": "function (struct EnumerableMap.MapEntry storage ref)" } }, - "id": 1967, + "id": 1459, "isConstant": false, "isLValue": false, "isPure": false, @@ -17957,20 +17957,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "37314:57:1", + "src": "38388:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1968, + "id": 1460, "nodeType": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "expression": { - "id": 1977, + "id": 1469, "isConstant": false, "isLValue": false, "isPure": false, @@ -17978,39 +17978,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1969, + "id": 1461, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37506:3:1", + "referencedDeclaration": 1431, + "src": "38583:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1972, + "id": 1464, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37506:12:1", + "referencedDeclaration": 1427, + "src": "38583:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1973, + "id": 1465, "indexExpression": { - "id": 1971, + "id": 1463, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37519:3:1", + "referencedDeclaration": 1433, + "src": "38596:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18021,7 +18021,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "37506:17:1", + "src": "38583:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18032,75 +18032,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1974, + "id": 1466, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37526:3:1", + "referencedDeclaration": 1431, + "src": "38603:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1975, + "id": 1467, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37526:12:1", + "referencedDeclaration": 1423, + "src": "38603:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1976, + "id": 1468, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "37526:19:1", + "src": "38603:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "37506:39:1", + "src": "38583:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1978, + "id": 1470, "nodeType": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "expression": { "hexValue": "74727565", - "id": 1979, + "id": 1471, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37566:4:1", + "src": "38644:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1947, - "id": 1980, + "functionReturnParameters": 1439, + "id": 1472, "nodeType": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ] } @@ -18108,43 +18108,43 @@ ] }, "documentation": { - "id": 1937, + "id": 1429, "nodeType": "StructuredDocumentation", - "src": "36786:216:1", + "src": "37848:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1998, + "id": 1490, "implemented": true, "kind": "function", "modifiers": [], "name": "_set", "nodeType": "FunctionDefinition", "parameters": { - "id": 1944, + "id": 1436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1939, + "id": 1431, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37021:15:1", + "scope": 1490, + "src": "38090:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 1938, + "id": 1430, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37021:3:1", + "referencedDeclaration": 1428, + "src": "38090:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -18152,12 +18152,12 @@ }, { "constant": false, - "id": 1941, + "id": 1433, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37038:11:1", + "scope": 1490, + "src": "38107:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18165,10 +18165,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1940, + "id": 1432, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37038:7:1", + "src": "38107:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18178,12 +18178,12 @@ }, { "constant": false, - "id": 1943, + "id": 1435, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37051:13:1", + "scope": 1490, + "src": "38120:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18191,10 +18191,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1942, + "id": 1434, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37051:7:1", + "src": "38120:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18203,20 +18203,20 @@ "visibility": "internal" } ], - "src": "37020:45:1" + "src": "38089:45:0" }, "returnParameters": { - "id": 1947, + "id": 1439, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1946, + "id": 1438, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37083:4:1", + "scope": 1490, + "src": "38152:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18224,10 +18224,10 @@ "typeString": "bool" }, "typeName": { - "id": 1945, + "id": 1437, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37083:4:1", + "src": "38152:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -18236,33 +18236,33 @@ "visibility": "internal" } ], - "src": "37082:6:1" + "src": "38151:6:0" }, - "scope": 2480, - "src": "37007:678:1", + "scope": 1972, + "src": "38076:692:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2078, + "id": 1570, "nodeType": "Block", - "src": "37923:1447:1", + "src": "39013:1479:0", "statements": [ { "assignments": [ - 2009 + 1501 ], "declarations": [ { "constant": false, - "id": 2009, + "id": 1501, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2078, - "src": "38031:16:1", + "scope": 1570, + "src": "39123:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18270,10 +18270,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2008, + "id": 1500, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38031:7:1", + "src": "39123:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18282,43 +18282,43 @@ "visibility": "internal" } ], - "id": 2014, + "id": 1506, "initialValue": { "baseExpression": { "expression": { - "id": 2010, + "id": 1502, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38050:3:1", + "referencedDeclaration": 1493, + "src": "39142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2011, + "id": 1503, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "38050:12:1", + "referencedDeclaration": 1427, + "src": "39142:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2013, + "id": 1505, "indexExpression": { - "id": 2012, + "id": 1504, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "38063:3:1", + "referencedDeclaration": 1495, + "src": "39155:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18329,14 +18329,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38050:17:1", + "src": "39142:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "condition": { @@ -18344,18 +18344,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2017, + "id": 1509, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2015, + "id": 1507, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38082:8:1", + "referencedDeclaration": 1501, + "src": "39176:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18365,76 +18365,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2016, + "id": 1508, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38094:1:1", + "src": "39188:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "38082:13:1", + "src": "39176:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 2076, + "id": 1568, "nodeType": "Block", - "src": "39327:37:1", + "src": "40446:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 2074, + "id": 1566, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39348:5:1", + "src": "40468:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 2007, - "id": 2075, + "functionReturnParameters": 1499, + "id": 1567, "nodeType": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ] }, - "id": 2077, + "id": 1569, "nodeType": "IfStatement", - "src": "38078:1286:1", + "src": "39172:1313:0", "trueBody": { - "id": 2073, + "id": 1565, "nodeType": "Block", - "src": "38097:1224:1", + "src": "39191:1249:0", "statements": [ { "assignments": [ - 2019 + 1511 ], "declarations": [ { "constant": false, - "id": 2019, + "id": 1511, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38438:21:1", + "scope": 1565, + "src": "39537:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18442,10 +18442,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2018, + "id": 1510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38438:7:1", + "src": "39537:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18454,24 +18454,24 @@ "visibility": "internal" } ], - "id": 2023, + "id": 1515, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2022, + "id": 1514, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2020, + "id": 1512, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38462:8:1", + "referencedDeclaration": 1501, + "src": "39561:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18481,42 +18481,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2021, + "id": 1513, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38473:1:1", + "src": "39572:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38462:12:1", + "src": "39561:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "assignments": [ - 2025 + 1517 ], "declarations": [ { "constant": false, - "id": 2025, + "id": 1517, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38488:17:1", + "scope": 1565, + "src": "39588:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18524,10 +18524,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2024, + "id": 1516, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38488:7:1", + "src": "39588:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18536,13 +18536,13 @@ "visibility": "internal" } ], - "id": 2031, + "id": 1523, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2030, + "id": 1522, "isConstant": false, "isLValue": false, "isPure": false, @@ -18550,39 +18550,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2026, + "id": 1518, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38508:3:1", + "referencedDeclaration": 1493, + "src": "39608:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2027, + "id": 1519, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38508:12:1", + "referencedDeclaration": 1423, + "src": "39608:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2028, + "id": 1520, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "38508:19:1", + "src": "39608:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18592,99 +18592,99 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2029, + "id": 1521, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38530:1:1", + "src": "39630:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38508:23:1", + "src": "39608:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "assignments": [ - 2033 + 1525 ], "declarations": [ { "constant": false, - "id": 2033, + "id": 1525, "mutability": "mutable", "name": "lastEntry", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38771:26:1", + "scope": 1565, + "src": "39876:26:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2032, + "id": 1524, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "38771:8:1", + "referencedDeclaration": 1420, + "src": "39876:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2038, + "id": 1530, "initialValue": { "baseExpression": { "expression": { - "id": 2034, + "id": 1526, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38800:3:1", + "referencedDeclaration": 1493, + "src": "39905:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2035, + "id": 1527, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38800:12:1", + "referencedDeclaration": 1423, + "src": "39905:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2037, + "id": 1529, "indexExpression": { - "id": 2036, + "id": 1528, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "38813:9:1", + "referencedDeclaration": 1517, + "src": "39918:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18695,18 +18695,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38800:23:1", + "src": "39905:23:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "expression": { - "id": 2045, + "id": 1537, "isConstant": false, "isLValue": false, "isPure": false, @@ -18714,39 +18714,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2039, + "id": 1531, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38915:3:1", + "referencedDeclaration": 1493, + "src": "40023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2042, + "id": 1534, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38915:12:1", + "referencedDeclaration": 1423, + "src": "40023:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2043, + "id": 1535, "indexExpression": { - "id": 2041, + "id": 1533, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "38928:13:1", + "referencedDeclaration": 1511, + "src": "40036:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18757,39 +18757,39 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "38915:27:1", + "src": "40023:27:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2044, + "id": 1536, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "38945:9:1", + "referencedDeclaration": 1525, + "src": "40053:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "src": "38915:39:1", + "src": "40023:39:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2046, + "id": 1538, "nodeType": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "expression": { - "id": 2056, + "id": 1548, "isConstant": false, "isLValue": false, "isPure": false, @@ -18797,54 +18797,54 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2047, + "id": 1539, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39020:3:1", + "referencedDeclaration": 1493, + "src": "40130:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2051, + "id": 1543, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39020:12:1", + "referencedDeclaration": 1427, + "src": "40130:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2052, + "id": 1544, "indexExpression": { "expression": { - "id": 2049, + "id": 1541, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "39033:9:1", + "referencedDeclaration": 1525, + "src": "40143:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2050, + "id": 1542, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "39033:14:1", + "referencedDeclaration": 1417, + "src": "40143:14:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18855,7 +18855,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39020:28:1", + "src": "40130:28:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18868,18 +18868,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2055, + "id": 1547, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2053, + "id": 1545, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "39051:13:1", + "referencedDeclaration": 1511, + "src": "40161:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18889,35 +18889,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 2054, + "id": 1546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39067:1:1", + "src": "40177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "39051:17:1", + "src": "40161:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "39020:48:1", + "src": "40130:48:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2057, + "id": 1549, "nodeType": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "expression": { @@ -18926,45 +18926,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 2058, + "id": 1550, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39174:3:1", + "referencedDeclaration": 1493, + "src": "40287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2061, + "id": 1553, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39174:12:1", + "referencedDeclaration": 1423, + "src": "40287:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2062, + "id": 1554, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "39174:16:1", + "src": "40287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 2063, + "id": 1555, "isConstant": false, "isLValue": false, "isPure": false, @@ -18972,20 +18972,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "39174:18:1", + "src": "40287:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2064, + "id": 1556, "nodeType": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "expression": { - "id": 2069, + "id": 1561, "isConstant": false, "isLValue": false, "isPure": false, @@ -18993,43 +18993,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "39260:24:1", + "src": "40376:24:0", "subExpression": { "baseExpression": { "expression": { - "id": 2065, + "id": 1557, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39267:3:1", + "referencedDeclaration": 1493, + "src": "40383:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2066, + "id": 1558, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39267:12:1", + "referencedDeclaration": 1427, + "src": "40383:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2068, + "id": 1560, "indexExpression": { - "id": 2067, + "id": 1559, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "39280:3:1", + "referencedDeclaration": 1495, + "src": "40396:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19040,7 +19040,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39267:17:1", + "src": "40383:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19051,31 +19051,31 @@ "typeString": "tuple()" } }, - "id": 2070, + "id": 1562, "nodeType": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "expression": { "hexValue": "74727565", - "id": 2071, + "id": 1563, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39306:4:1", + "src": "40424:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 2007, - "id": 2072, + "functionReturnParameters": 1499, + "id": 1564, "nodeType": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ] } @@ -19083,43 +19083,43 @@ ] }, "documentation": { - "id": 1999, + "id": 1491, "nodeType": "StructuredDocumentation", - "src": "37691:157:1", + "src": "38776:161:0", "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2079, + "id": 1571, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2004, + "id": 1496, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2001, + "id": 1493, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37870:15:1", + "scope": 1571, + "src": "38960:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2000, + "id": 1492, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37870:3:1", + "referencedDeclaration": 1428, + "src": "38960:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19127,12 +19127,12 @@ }, { "constant": false, - "id": 2003, + "id": 1495, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37887:11:1", + "scope": 1571, + "src": "38977:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19140,10 +19140,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2002, + "id": 1494, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37887:7:1", + "src": "38977:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19152,20 +19152,20 @@ "visibility": "internal" } ], - "src": "37869:30:1" + "src": "38959:30:0" }, "returnParameters": { - "id": 2007, + "id": 1499, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2006, + "id": 1498, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37917:4:1", + "scope": 1571, + "src": "39007:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19173,10 +19173,10 @@ "typeString": "bool" }, "typeName": { - "id": 2005, + "id": 1497, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37917:4:1", + "src": "39007:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19185,19 +19185,19 @@ "visibility": "internal" } ], - "src": "37916:6:1" + "src": "39006:6:0" }, - "scope": 2480, - "src": "37853:1517:1", + "scope": 1972, + "src": "38943:1549:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2096, + "id": 1588, "nodeType": "Block", - "src": "39526:46:1", + "src": "40653:48:0", "statements": [ { "expression": { @@ -19205,7 +19205,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2094, + "id": 1586, "isConstant": false, "isLValue": false, "isPure": false, @@ -19213,39 +19213,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 2089, + "id": 1581, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2082, - "src": "39543:3:1", + "referencedDeclaration": 1574, + "src": "40671:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2090, + "id": 1582, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39543:12:1", + "referencedDeclaration": 1427, + "src": "40671:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2092, + "id": 1584, "indexExpression": { - "id": 2091, + "id": 1583, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2084, - "src": "39556:3:1", + "referencedDeclaration": 1576, + "src": "40684:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19256,7 +19256,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "39543:17:1", + "src": "40671:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19266,71 +19266,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2093, + "id": 1585, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39564:1:1", + "src": "40692:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "39543:22:1", + "src": "40671:22:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2088, - "id": 2095, + "functionReturnParameters": 1580, + "id": 1587, "nodeType": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ] }, "documentation": { - "id": 2080, + "id": 1572, "nodeType": "StructuredDocumentation", - "src": "39376:68:1", + "src": "40500:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2097, + "id": 1589, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2085, + "id": 1577, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2082, + "id": 1574, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39468:15:1", + "scope": 1589, + "src": "40595:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2081, + "id": 1573, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39468:3:1", + "referencedDeclaration": 1428, + "src": "40595:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19338,12 +19338,12 @@ }, { "constant": false, - "id": 2084, + "id": 1576, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39485:11:1", + "scope": 1589, + "src": "40612:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19351,10 +19351,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2083, + "id": 1575, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "39485:7:1", + "src": "40612:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19363,20 +19363,20 @@ "visibility": "internal" } ], - "src": "39467:30:1" + "src": "40594:30:0" }, "returnParameters": { - "id": 2088, + "id": 1580, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2087, + "id": 1579, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39520:4:1", + "scope": 1589, + "src": "40647:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19384,10 +19384,10 @@ "typeString": "bool" }, "typeName": { - "id": 2086, + "id": 1578, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "39520:4:1", + "src": "40647:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19396,127 +19396,127 @@ "visibility": "internal" } ], - "src": "39519:6:1" + "src": "40646:6:0" }, - "scope": 2480, - "src": "39449:123:1", + "scope": 1972, + "src": "40576:125:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2109, + "id": 1601, "nodeType": "Block", - "src": "39727:43:1", + "src": "40861:45:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 2105, + "id": 1597, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2100, - "src": "39744:3:1", + "referencedDeclaration": 1592, + "src": "40879:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2106, + "id": 1598, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39744:12:1", + "referencedDeclaration": 1423, + "src": "40879:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2107, + "id": 1599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "39744:19:1", + "src": "40879:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2104, - "id": 2108, + "functionReturnParameters": 1596, + "id": 1600, "nodeType": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ] }, "documentation": { - "id": 2098, + "id": 1590, "nodeType": "StructuredDocumentation", - "src": "39578:79:1", + "src": "40709:81:0", "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2110, + "id": 1602, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2101, + "id": 1593, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2100, + "id": 1592, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39679:15:1", + "scope": 1602, + "src": "40813:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2099, + "id": 1591, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39679:3:1", + "referencedDeclaration": 1428, + "src": "40813:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, "visibility": "internal" } ], - "src": "39678:17:1" + "src": "40812:17:0" }, "returnParameters": { - "id": 2104, + "id": 1596, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2103, + "id": 1595, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39718:7:1", + "scope": 1602, + "src": "40852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19524,10 +19524,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2102, + "id": 1594, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "39718:7:1", + "src": "40852:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19536,19 +19536,19 @@ "visibility": "internal" } ], - "src": "39717:9:1" + "src": "40851:9:0" }, - "scope": 2480, - "src": "39662:108:1", + "scope": 1972, + "src": "40796:110:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2144, + "id": 1636, "nodeType": "Block", - "src": "40198:189:1", + "src": "41346:194:0", "statements": [ { "expression": { @@ -19558,7 +19558,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2127, + "id": 1619, "isConstant": false, "isLValue": false, "isPure": false, @@ -19566,39 +19566,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2123, + "id": 1615, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40216:3:1", + "referencedDeclaration": 1605, + "src": "41365:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2124, + "id": 1616, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40216:12:1", + "referencedDeclaration": 1423, + "src": "41365:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2125, + "id": 1617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "40216:19:1", + "src": "41365:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19607,18 +19607,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 2126, + "id": 1618, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40238:5:1", + "referencedDeclaration": 1607, + "src": "41387:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "40216:27:1", + "src": "41365:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19626,14 +19626,14 @@ }, { "hexValue": "456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473", - "id": 2128, + "id": 1620, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "40245:36:1", + "src": "41394:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_86631030b9066a18616a068fc09fce83d18af4765cb1d2166fa475228f4db155", "typeString": "literal_string \"EnumerableMap: index out of bounds\"" @@ -19652,7 +19652,7 @@ "typeString": "literal_string \"EnumerableMap: index out of bounds\"" } ], - "id": 2122, + "id": 1614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -19660,13 +19660,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "40208:7:1", + "src": "41357:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2129, + "id": 1621, "isConstant": false, "isLValue": false, "isPure": false, @@ -19674,87 +19674,87 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "40208:74:1", + "src": "41357:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2130, + "id": 1622, "nodeType": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "assignments": [ - 2132 + 1624 ], "declarations": [ { "constant": false, - "id": 2132, + "id": 1624, "mutability": "mutable", "name": "entry", "nodeType": "VariableDeclaration", - "scope": 2144, - "src": "40293:22:1", + "scope": 1636, + "src": "41444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2131, + "id": 1623, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "40293:8:1", + "referencedDeclaration": 1420, + "src": "41444:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2137, + "id": 1629, "initialValue": { "baseExpression": { "expression": { - "id": 2133, + "id": 1625, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40318:3:1", + "referencedDeclaration": 1605, + "src": "41469:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2134, + "id": 1626, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40318:12:1", + "referencedDeclaration": 1423, + "src": "41469:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2136, + "id": 1628, "indexExpression": { - "id": 2135, + "id": 1627, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40331:5:1", + "referencedDeclaration": 1607, + "src": "41482:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19765,40 +19765,40 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40318:19:1", + "src": "41469:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "expression": { "components": [ { "expression": { - "id": 2138, + "id": 1630, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40355:5:1", + "referencedDeclaration": 1624, + "src": "41507:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2139, + "id": 1631, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "40355:10:1", + "referencedDeclaration": 1417, + "src": "41507:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19806,90 +19806,90 @@ }, { "expression": { - "id": 2140, + "id": 1632, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40367:5:1", + "referencedDeclaration": 1624, + "src": "41519:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2141, + "id": 1633, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40367:12:1", + "referencedDeclaration": 1419, + "src": "41519:12:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2142, + "id": 1634, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40354:26:1", + "src": "41506:26:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", "typeString": "tuple(bytes32,bytes32)" } }, - "functionReturnParameters": 2121, - "id": 2143, + "functionReturnParameters": 1613, + "id": 1635, "nodeType": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ] }, "documentation": { - "id": 2111, + "id": 1603, "nodeType": "StructuredDocumentation", - "src": "39775:333:1", + "src": "40913:342:0", "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2145, + "id": 1637, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2116, + "id": 1608, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2113, + "id": 1605, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40126:15:1", + "scope": 1637, + "src": "41274:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2112, + "id": 1604, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40126:3:1", + "referencedDeclaration": 1428, + "src": "41274:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19897,12 +19897,12 @@ }, { "constant": false, - "id": 2115, + "id": 1607, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40143:13:1", + "scope": 1637, + "src": "41291:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19910,10 +19910,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2114, + "id": 1606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40143:7:1", + "src": "41291:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19922,20 +19922,20 @@ "visibility": "internal" } ], - "src": "40125:32:1" + "src": "41273:32:0" }, "returnParameters": { - "id": 2121, + "id": 1613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2118, + "id": 1610, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40180:7:1", + "scope": 1637, + "src": "41328:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19943,10 +19943,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2117, + "id": 1609, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40180:7:1", + "src": "41328:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19956,12 +19956,12 @@ }, { "constant": false, - "id": 2120, + "id": 1612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40189:7:1", + "scope": 1637, + "src": "41337:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19969,10 +19969,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2119, + "id": 1611, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40189:7:1", + "src": "41337:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19981,33 +19981,33 @@ "visibility": "internal" } ], - "src": "40179:18:1" + "src": "41327:18:0" }, - "scope": 2480, - "src": "40113:274:1", + "scope": 1972, + "src": "41261:279:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2182, + "id": 1674, "nodeType": "Block", - "src": "40613:220:1", + "src": "41772:224:0", "statements": [ { "assignments": [ - 2158 + 1650 ], "declarations": [ { "constant": false, - "id": 2158, + "id": 1650, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2182, - "src": "40623:16:1", + "scope": 1674, + "src": "41783:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20015,10 +20015,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2157, + "id": 1649, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40623:7:1", + "src": "41783:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20027,43 +20027,43 @@ "visibility": "internal" } ], - "id": 2163, + "id": 1655, "initialValue": { "baseExpression": { "expression": { - "id": 2159, + "id": 1651, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40642:3:1", + "referencedDeclaration": 1640, + "src": "41802:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2160, + "id": 1652, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "40642:12:1", + "referencedDeclaration": 1427, + "src": "41802:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2162, + "id": 1654, "indexExpression": { - "id": 2161, + "id": 1653, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2150, - "src": "40655:3:1", + "referencedDeclaration": 1642, + "src": "41815:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20074,14 +20074,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40642:17:1", + "src": "41802:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "condition": { @@ -20089,18 +20089,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2166, + "id": 1658, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2164, + "id": 1656, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40673:8:1", + "referencedDeclaration": 1650, + "src": "41834:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20110,42 +20110,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2165, + "id": 1657, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40685:1:1", + "src": "41846:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "40673:13:1", + "src": "41834:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2171, + "id": 1663, "nodeType": "IfStatement", - "src": "40669:36:1", + "src": "41830:36:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 2167, + "id": 1659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40696:5:1", + "src": "41857:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20154,14 +20154,14 @@ }, { "hexValue": "30", - "id": 2168, + "id": 1660, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40703:1:1", + "src": "41864:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -20169,23 +20169,23 @@ "value": "0" } ], - "id": 2169, + "id": 1661, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40695:10:1", + "src": "41856:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 2156, - "id": 2170, + "functionReturnParameters": 1648, + "id": 1662, "nodeType": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } }, { @@ -20193,14 +20193,14 @@ "components": [ { "hexValue": "74727565", - "id": 2172, + "id": 1664, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40759:4:1", + "src": "41921:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20211,49 +20211,49 @@ "expression": { "baseExpression": { "expression": { - "id": 2173, + "id": 1665, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40765:3:1", + "referencedDeclaration": 1640, + "src": "41927:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2174, + "id": 1666, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40765:12:1", + "referencedDeclaration": 1423, + "src": "41927:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2178, + "id": 1670, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2177, + "id": 1669, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2175, + "id": 1667, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40778:8:1", + "referencedDeclaration": 1650, + "src": "41940:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20263,21 +20263,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2176, + "id": 1668, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40789:1:1", + "src": "41951:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "40778:12:1", + "src": "41940:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20288,85 +20288,85 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40765:26:1", + "src": "41927:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2179, + "id": 1671, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40765:33:1", + "referencedDeclaration": 1419, + "src": "41927:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2180, + "id": 1672, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40758:41:1", + "src": "41920:41:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", "typeString": "tuple(bool,bytes32)" } }, - "functionReturnParameters": 2156, - "id": 2181, + "functionReturnParameters": 1648, + "id": 1673, "nodeType": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ] }, "documentation": { - "id": 2146, + "id": 1638, "nodeType": "StructuredDocumentation", - "src": "40393:131:1", + "src": "41548:134:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2183, + "id": 1675, "implemented": true, "kind": "function", "modifiers": [], "name": "_tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2151, + "id": 1643, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2148, + "id": 1640, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40546:15:1", + "scope": 1675, + "src": "41705:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2147, + "id": 1639, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40546:3:1", + "referencedDeclaration": 1428, + "src": "41705:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20374,12 +20374,12 @@ }, { "constant": false, - "id": 2150, + "id": 1642, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40563:11:1", + "scope": 1675, + "src": "41722:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20387,10 +20387,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2149, + "id": 1641, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40563:7:1", + "src": "41722:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20399,20 +20399,20 @@ "visibility": "internal" } ], - "src": "40545:30:1" + "src": "41704:30:0" }, "returnParameters": { - "id": 2156, + "id": 1648, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2153, + "id": 1645, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40598:4:1", + "scope": 1675, + "src": "41757:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20420,10 +20420,10 @@ "typeString": "bool" }, "typeName": { - "id": 2152, + "id": 1644, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "40598:4:1", + "src": "41757:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20433,12 +20433,12 @@ }, { "constant": false, - "id": 2155, + "id": 1647, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40604:7:1", + "scope": 1675, + "src": "41763:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20446,10 +20446,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2154, + "id": 1646, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40604:7:1", + "src": "41763:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20458,33 +20458,33 @@ "visibility": "internal" } ], - "src": "40597:15:1" + "src": "41756:15:0" }, - "scope": 2480, - "src": "40529:304:1", + "scope": 1972, + "src": "41688:308:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2215, + "id": 1707, "nodeType": "Block", - "src": "41060:232:1", + "src": "42232:236:0", "statements": [ { "assignments": [ - 2194 + 1686 ], "declarations": [ { "constant": false, - "id": 2194, + "id": 1686, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2215, - "src": "41070:16:1", + "scope": 1707, + "src": "42243:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20492,10 +20492,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2193, + "id": 1685, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41070:7:1", + "src": "42243:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20504,43 +20504,43 @@ "visibility": "internal" } ], - "id": 2199, + "id": 1691, "initialValue": { "baseExpression": { "expression": { - "id": 2195, + "id": 1687, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41089:3:1", + "referencedDeclaration": 1678, + "src": "42262:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2196, + "id": 1688, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41089:12:1", + "referencedDeclaration": 1427, + "src": "42262:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2198, + "id": 1690, "indexExpression": { - "id": 2197, + "id": 1689, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2188, - "src": "41102:3:1", + "referencedDeclaration": 1680, + "src": "42275:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20551,14 +20551,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41089:17:1", + "src": "42262:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "expression": { @@ -20568,18 +20568,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2203, + "id": 1695, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2201, + "id": 1693, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41124:8:1", + "referencedDeclaration": 1686, + "src": "42298:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20589,21 +20589,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2202, + "id": 1694, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41136:1:1", + "src": "42310:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41124:13:1", + "src": "42298:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20611,14 +20611,14 @@ }, { "hexValue": "456e756d657261626c654d61703a206e6f6e6578697374656e74206b6579", - "id": 2204, + "id": 1696, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "41139:32:1", + "src": "42313:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_d3551e30d3095fd81287b88f7139bb09818e34280e85ee821994ebaebbed7072", "typeString": "literal_string \"EnumerableMap: nonexistent key\"" @@ -20637,7 +20637,7 @@ "typeString": "literal_string \"EnumerableMap: nonexistent key\"" } ], - "id": 2200, + "id": 1692, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -20645,13 +20645,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41116:7:1", + "src": "42290:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2205, + "id": 1697, "isConstant": false, "isLValue": false, "isPure": false, @@ -20659,65 +20659,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41116:56:1", + "src": "42290:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2206, + "id": 1698, "nodeType": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2207, + "id": 1699, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41225:3:1", + "referencedDeclaration": 1678, + "src": "42400:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2208, + "id": 1700, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41225:12:1", + "referencedDeclaration": 1423, + "src": "42400:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2212, + "id": 1704, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2211, + "id": 1703, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2209, + "id": 1701, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41238:8:1", + "referencedDeclaration": 1686, + "src": "42413:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20727,21 +20727,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2210, + "id": 1702, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41249:1:1", + "src": "42424:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41238:12:1", + "src": "42413:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20752,71 +20752,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41225:26:1", + "src": "42400:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2213, + "id": 1705, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41225:33:1", + "referencedDeclaration": 1419, + "src": "42400:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2192, - "id": 2214, + "functionReturnParameters": 1684, + "id": 1706, "nodeType": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ] }, "documentation": { - "id": 2184, + "id": 1676, "nodeType": "StructuredDocumentation", - "src": "40839:141:1", + "src": "42004:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2216, + "id": 1708, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2189, + "id": 1681, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2186, + "id": 1678, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "40999:15:1", + "scope": 1708, + "src": "42171:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2185, + "id": 1677, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40999:3:1", + "referencedDeclaration": 1428, + "src": "42171:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20824,12 +20824,12 @@ }, { "constant": false, - "id": 2188, + "id": 1680, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41016:11:1", + "scope": 1708, + "src": "42188:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20837,10 +20837,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2187, + "id": 1679, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41016:7:1", + "src": "42188:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20849,20 +20849,20 @@ "visibility": "internal" } ], - "src": "40998:30:1" + "src": "42170:30:0" }, "returnParameters": { - "id": 2192, + "id": 1684, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2191, + "id": 1683, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41051:7:1", + "scope": 1708, + "src": "42223:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20870,10 +20870,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2190, + "id": 1682, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41051:7:1", + "src": "42223:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20882,33 +20882,33 @@ "visibility": "internal" } ], - "src": "41050:9:1" + "src": "42222:9:0" }, - "scope": 2480, - "src": "40985:307:1", + "scope": 1972, + "src": "42157:311:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2250, + "id": 1742, "nodeType": "Block", - "src": "41677:212:1", + "src": "42861:216:0", "statements": [ { "assignments": [ - 2229 + 1721 ], "declarations": [ { "constant": false, - "id": 2229, + "id": 1721, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2250, - "src": "41687:16:1", + "scope": 1742, + "src": "42872:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20916,10 +20916,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2228, + "id": 1720, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41687:7:1", + "src": "42872:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20928,43 +20928,43 @@ "visibility": "internal" } ], - "id": 2234, + "id": 1726, "initialValue": { "baseExpression": { "expression": { - "id": 2230, + "id": 1722, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41706:3:1", + "referencedDeclaration": 1711, + "src": "42891:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2231, + "id": 1723, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41706:12:1", + "referencedDeclaration": 1427, + "src": "42891:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2233, + "id": 1725, "indexExpression": { - "id": 2232, + "id": 1724, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2221, - "src": "41719:3:1", + "referencedDeclaration": 1713, + "src": "42904:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20975,14 +20975,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41706:17:1", + "src": "42891:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "expression": { @@ -20992,18 +20992,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2238, + "id": 1730, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2236, + "id": 1728, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41741:8:1", + "referencedDeclaration": 1721, + "src": "42927:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21013,33 +21013,33 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2237, + "id": 1729, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41753:1:1", + "src": "42939:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41741:13:1", + "src": "42927:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 2239, + "id": 1731, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2223, - "src": "41756:12:1", + "referencedDeclaration": 1715, + "src": "42942:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -21057,7 +21057,7 @@ "typeString": "string memory" } ], - "id": 2235, + "id": 1727, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -21065,13 +21065,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41733:7:1", + "src": "42919:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2240, + "id": 1732, "isConstant": false, "isLValue": false, "isPure": false, @@ -21079,65 +21079,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41733:36:1", + "src": "42919:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2241, + "id": 1733, "nodeType": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2242, + "id": 1734, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41822:3:1", + "referencedDeclaration": 1711, + "src": "43009:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2243, + "id": 1735, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41822:12:1", + "referencedDeclaration": 1423, + "src": "43009:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2247, + "id": 1739, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2246, + "id": 1738, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2244, + "id": 1736, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41835:8:1", + "referencedDeclaration": 1721, + "src": "43022:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21147,21 +21147,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2245, + "id": 1737, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41846:1:1", + "src": "43033:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41835:12:1", + "src": "43022:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21172,71 +21172,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41822:26:1", + "src": "43009:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2248, + "id": 1740, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41822:33:1", + "referencedDeclaration": 1419, + "src": "43009:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2227, - "id": 2249, + "functionReturnParameters": 1719, + "id": 1741, "nodeType": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ] }, "documentation": { - "id": 2217, + "id": 1709, "nodeType": "StructuredDocumentation", - "src": "41298:271:1", + "src": "42476:276:0", "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2251, + "id": 1743, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2224, + "id": 1716, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2219, + "id": 1711, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41588:15:1", + "scope": 1743, + "src": "42772:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2218, + "id": 1710, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41588:3:1", + "referencedDeclaration": 1428, + "src": "42772:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21244,12 +21244,12 @@ }, { "constant": false, - "id": 2221, + "id": 1713, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41605:11:1", + "scope": 1743, + "src": "42789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21257,10 +21257,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2220, + "id": 1712, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41605:7:1", + "src": "42789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21270,12 +21270,12 @@ }, { "constant": false, - "id": 2223, + "id": 1715, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41618:26:1", + "scope": 1743, + "src": "42802:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -21283,10 +21283,10 @@ "typeString": "string" }, "typeName": { - "id": 2222, + "id": 1714, "name": "string", "nodeType": "ElementaryTypeName", - "src": "41618:6:1", + "src": "42802:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -21295,20 +21295,20 @@ "visibility": "internal" } ], - "src": "41587:58:1" + "src": "42771:58:0" }, "returnParameters": { - "id": 2227, + "id": 1719, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2226, + "id": 1718, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41668:7:1", + "scope": 1743, + "src": "42852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21316,10 +21316,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2225, + "id": 1717, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41668:7:1", + "src": "42852:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21328,40 +21328,40 @@ "visibility": "internal" } ], - "src": "41667:9:1" + "src": "42851:9:0" }, - "scope": 2480, - "src": "41574:315:1", + "scope": 1972, + "src": "42758:319:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableMap.UintToAddressMap", - "id": 2254, + "id": 1746, "members": [ { "constant": false, - "id": 2253, + "id": 1745, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 2254, - "src": "41954:10:1", + "scope": 1746, + "src": "43147:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2252, + "id": 1744, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41954:3:1", + "referencedDeclaration": 1428, + "src": "43147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21370,55 +21370,55 @@ ], "name": "UintToAddressMap", "nodeType": "StructDefinition", - "scope": 2480, - "src": "41920:51:1", + "scope": 1972, + "src": "43112:53:0", "visibility": "public" }, { "body": { - "id": 2285, + "id": 1777, "nodeType": "Block", - "src": "42293:88:1", + "src": "43496:90:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2267, + "id": 1759, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2257, - "src": "42315:3:1", + "referencedDeclaration": 1749, + "src": "43519:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2268, + "id": 1760, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42315:10:1", + "referencedDeclaration": 1745, + "src": "43519:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2271, + "id": 1763, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2259, - "src": "42335:3:1", + "referencedDeclaration": 1751, + "src": "43539:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21432,26 +21432,26 @@ "typeString": "uint256" } ], - "id": 2270, + "id": 1762, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2269, + "id": 1761, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": {} } }, - "id": 2272, + "id": 1764, "isConstant": false, "isLValue": false, "isPure": false, @@ -21459,7 +21459,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42327:12:1", + "src": "43531:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21473,12 +21473,12 @@ { "arguments": [ { - "id": 2279, + "id": 1771, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2261, - "src": "42365:5:1", + "referencedDeclaration": 1753, + "src": "43569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21492,26 +21492,26 @@ "typeString": "address" } ], - "id": 2278, + "id": 1770, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2277, + "id": 1769, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": {} } }, - "id": 2280, + "id": 1772, "isConstant": false, "isLValue": false, "isPure": false, @@ -21519,7 +21519,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42357:14:1", + "src": "43561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -21534,26 +21534,26 @@ "typeString": "uint160" } ], - "id": 2276, + "id": 1768, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2275, + "id": 1767, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": {} } }, - "id": 2281, + "id": 1773, "isConstant": false, "isLValue": false, "isPure": false, @@ -21561,7 +21561,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42349:23:1", + "src": "43553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -21576,26 +21576,26 @@ "typeString": "uint256" } ], - "id": 2274, + "id": 1766, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2273, + "id": 1765, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": {} } }, - "id": 2282, + "id": 1774, "isConstant": false, "isLValue": false, "isPure": false, @@ -21603,7 +21603,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42341:32:1", + "src": "43545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21614,7 +21614,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -21626,18 +21626,18 @@ "typeString": "bytes32" } ], - "id": 2266, + "id": 1758, "name": "_set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1998, - "src": "42310:4:1", + "referencedDeclaration": 1490, + "src": "43514:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)" } }, - "id": 2283, + "id": 1775, "isConstant": false, "isLValue": false, "isPure": false, @@ -21645,58 +21645,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42310:64:1", + "src": "43514:64:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2265, - "id": 2284, + "functionReturnParameters": 1757, + "id": 1776, "nodeType": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ] }, "documentation": { - "id": 2255, + "id": 1747, "nodeType": "StructuredDocumentation", - "src": "41977:216:1", + "src": "43173:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2286, + "id": 1778, "implemented": true, "kind": "function", "modifiers": [], "name": "set", "nodeType": "FunctionDefinition", "parameters": { - "id": 2262, + "id": 1754, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2257, + "id": 1749, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42211:28:1", + "scope": 1778, + "src": "43414:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2256, + "id": 1748, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42211:16:1", + "referencedDeclaration": 1746, + "src": "43414:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -21704,12 +21704,12 @@ }, { "constant": false, - "id": 2259, + "id": 1751, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42241:11:1", + "scope": 1778, + "src": "43444:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21717,10 +21717,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2258, + "id": 1750, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42241:7:1", + "src": "43444:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21730,12 +21730,12 @@ }, { "constant": false, - "id": 2261, + "id": 1753, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42254:13:1", + "scope": 1778, + "src": "43457:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21743,10 +21743,10 @@ "typeString": "address" }, "typeName": { - "id": 2260, + "id": 1752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "42254:7:1", + "src": "43457:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -21756,20 +21756,20 @@ "visibility": "internal" } ], - "src": "42210:58:1" + "src": "43413:58:0" }, "returnParameters": { - "id": 2265, + "id": 1757, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2264, + "id": 1756, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42287:4:1", + "scope": 1778, + "src": "43490:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21777,10 +21777,10 @@ "typeString": "bool" }, "typeName": { - "id": 2263, + "id": 1755, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42287:4:1", + "src": "43490:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -21789,59 +21789,59 @@ "visibility": "internal" } ], - "src": "42286:6:1" + "src": "43489:6:0" }, - "scope": 2480, - "src": "42198:183:1", + "scope": 1972, + "src": "43401:185:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2305, + "id": 1797, "nodeType": "Block", - "src": "42623:57:1", + "src": "43835:59:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2297, + "id": 1789, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2289, - "src": "42648:3:1", + "referencedDeclaration": 1781, + "src": "43861:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2298, + "id": 1790, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42648:10:1", + "referencedDeclaration": 1745, + "src": "43861:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2301, + "id": 1793, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2291, - "src": "42668:3:1", + "referencedDeclaration": 1783, + "src": "43881:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21855,26 +21855,26 @@ "typeString": "uint256" } ], - "id": 2300, + "id": 1792, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2299, + "id": 1791, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": {} } }, - "id": 2302, + "id": 1794, "isConstant": false, "isLValue": false, "isPure": false, @@ -21882,7 +21882,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42660:12:1", + "src": "43873:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21893,7 +21893,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -21901,18 +21901,18 @@ "typeString": "bytes32" } ], - "id": 2296, + "id": 1788, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2079, - "src": "42640:7:1", + "referencedDeclaration": 1571, + "src": "43853:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)" } }, - "id": 2303, + "id": 1795, "isConstant": false, "isLValue": false, "isPure": false, @@ -21920,58 +21920,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42640:33:1", + "src": "43853:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2295, - "id": 2304, + "functionReturnParameters": 1787, + "id": 1796, "nodeType": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ] }, "documentation": { - "id": 2287, + "id": 1779, "nodeType": "StructuredDocumentation", - "src": "42387:148:1", + "src": "43594:152:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2306, + "id": 1798, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2292, + "id": 1784, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2289, + "id": 1781, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42556:28:1", + "scope": 1798, + "src": "43768:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2288, + "id": 1780, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42556:16:1", + "referencedDeclaration": 1746, + "src": "43768:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -21979,12 +21979,12 @@ }, { "constant": false, - "id": 2291, + "id": 1783, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42586:11:1", + "scope": 1798, + "src": "43798:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21992,10 +21992,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2290, + "id": 1782, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42586:7:1", + "src": "43798:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22004,20 +22004,20 @@ "visibility": "internal" } ], - "src": "42555:43:1" + "src": "43767:43:0" }, "returnParameters": { - "id": 2295, + "id": 1787, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2294, + "id": 1786, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42617:4:1", + "scope": 1798, + "src": "43829:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22025,10 +22025,10 @@ "typeString": "bool" }, "typeName": { - "id": 2293, + "id": 1785, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42617:4:1", + "src": "43829:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22037,59 +22037,59 @@ "visibility": "internal" } ], - "src": "42616:6:1" + "src": "43828:6:0" }, - "scope": 2480, - "src": "42540:140:1", + "scope": 1972, + "src": "43752:142:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2325, + "id": 1817, "nodeType": "Block", - "src": "42849:59:1", + "src": "44068:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2317, + "id": 1809, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2309, - "src": "42876:3:1", + "referencedDeclaration": 1801, + "src": "44096:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2318, + "id": 1810, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42876:10:1", + "referencedDeclaration": 1745, + "src": "44096:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2321, + "id": 1813, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2311, - "src": "42896:3:1", + "referencedDeclaration": 1803, + "src": "44116:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22103,26 +22103,26 @@ "typeString": "uint256" } ], - "id": 2320, + "id": 1812, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2319, + "id": 1811, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": {} } }, - "id": 2322, + "id": 1814, "isConstant": false, "isLValue": false, "isPure": false, @@ -22130,7 +22130,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42888:12:1", + "src": "44108:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -22141,7 +22141,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22149,18 +22149,18 @@ "typeString": "bytes32" } ], - "id": 2316, + "id": 1808, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2097, - "src": "42866:9:1", + "referencedDeclaration": 1589, + "src": "44086:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)" } }, - "id": 2323, + "id": 1815, "isConstant": false, "isLValue": false, "isPure": false, @@ -22168,58 +22168,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42866:35:1", + "src": "44086:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2315, - "id": 2324, + "functionReturnParameters": 1807, + "id": 1816, "nodeType": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ] }, "documentation": { - "id": 2307, + "id": 1799, "nodeType": "StructuredDocumentation", - "src": "42686:68:1", + "src": "43902:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2326, + "id": 1818, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2312, + "id": 1804, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2309, + "id": 1801, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42777:28:1", + "scope": 1818, + "src": "43996:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2308, + "id": 1800, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42777:16:1", + "referencedDeclaration": 1746, + "src": "43996:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22227,12 +22227,12 @@ }, { "constant": false, - "id": 2311, + "id": 1803, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42807:11:1", + "scope": 1818, + "src": "44026:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22240,10 +22240,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2310, + "id": 1802, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42807:7:1", + "src": "44026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22252,20 +22252,20 @@ "visibility": "internal" } ], - "src": "42776:43:1" + "src": "43995:43:0" }, "returnParameters": { - "id": 2315, + "id": 1807, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2314, + "id": 1806, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42843:4:1", + "scope": 1818, + "src": "44062:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22273,10 +22273,10 @@ "typeString": "bool" }, "typeName": { - "id": 2313, + "id": 1805, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42843:4:1", + "src": "44062:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22285,47 +22285,47 @@ "visibility": "internal" } ], - "src": "42842:6:1" + "src": "44061:6:0" }, - "scope": 2480, - "src": "42759:149:1", + "scope": 1972, + "src": "43978:151:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2339, + "id": 1831, "nodeType": "Block", - "src": "43069:43:1", + "src": "44295:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2335, + "id": 1827, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2329, - "src": "43094:3:1", + "referencedDeclaration": 1821, + "src": "44321:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2336, + "id": 1828, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43094:10:1", + "referencedDeclaration": 1745, + "src": "44321:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } } @@ -22333,22 +22333,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], - "id": 2334, + "id": 1826, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2110, - "src": "43086:7:1", + "referencedDeclaration": 1602, + "src": "44313:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)" } }, - "id": 2337, + "id": 1829, "isConstant": false, "isLValue": false, "isPure": false, @@ -22356,78 +22356,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43086:19:1", + "src": "44313:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2333, - "id": 2338, + "functionReturnParameters": 1825, + "id": 1830, "nodeType": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ] }, "documentation": { - "id": 2327, + "id": 1819, "nodeType": "StructuredDocumentation", - "src": "42914:72:1", + "src": "44137:74:0", "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2340, + "id": 1832, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2330, + "id": 1822, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2329, + "id": 1821, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43007:28:1", + "scope": 1832, + "src": "44233:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2328, + "id": 1820, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43007:16:1", + "referencedDeclaration": 1746, + "src": "44233:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, "visibility": "internal" } ], - "src": "43006:30:1" + "src": "44232:30:0" }, "returnParameters": { - "id": 2333, + "id": 1825, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2332, + "id": 1824, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43060:7:1", + "scope": 1832, + "src": "44286:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22435,10 +22435,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2331, + "id": 1823, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43060:7:1", + "src": "44286:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22447,34 +22447,34 @@ "visibility": "internal" } ], - "src": "43059:9:1" + "src": "44285:9:0" }, - "scope": 2480, - "src": "42991:121:1", + "scope": 1972, + "src": "44217:123:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2378, + "id": 1870, "nodeType": "Block", - "src": "43538:135:1", + "src": "44777:138:0", "statements": [ { "assignments": [ - 2353, - 2355 + 1845, + 1847 ], "declarations": [ { "constant": false, - "id": 2353, + "id": 1845, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43549:11:1", + "scope": 1870, + "src": "44789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22482,10 +22482,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2352, + "id": 1844, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43549:7:1", + "src": "44789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22495,12 +22495,12 @@ }, { "constant": false, - "id": 2355, + "id": 1847, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43562:13:1", + "scope": 1870, + "src": "44802:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22508,10 +22508,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2354, + "id": 1846, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43562:7:1", + "src": "44802:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22520,43 +22520,43 @@ "visibility": "internal" } ], - "id": 2361, + "id": 1853, "initialValue": { "arguments": [ { "expression": { - "id": 2357, + "id": 1849, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2343, - "src": "43583:3:1", + "referencedDeclaration": 1835, + "src": "44823:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2358, + "id": 1850, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43583:10:1", + "referencedDeclaration": 1745, + "src": "44823:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { - "id": 2359, + "id": 1851, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2345, - "src": "43595:5:1", + "referencedDeclaration": 1837, + "src": "44835:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22566,7 +22566,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22574,18 +22574,18 @@ "typeString": "uint256" } ], - "id": 2356, + "id": 1848, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2145, - "src": "43579:3:1", + "referencedDeclaration": 1637, + "src": "44819:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)" } }, - "id": 2360, + "id": 1852, "isConstant": false, "isLValue": false, "isPure": false, @@ -22593,7 +22593,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43579:22:1", + "src": "44819:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", @@ -22601,7 +22601,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "expression": { @@ -22609,12 +22609,12 @@ { "arguments": [ { - "id": 2364, + "id": 1856, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2353, - "src": "43627:3:1", + "referencedDeclaration": 1845, + "src": "44868:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22628,26 +22628,26 @@ "typeString": "bytes32" } ], - "id": 2363, + "id": 1855, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2362, + "id": 1854, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": {} } }, - "id": 2365, + "id": 1857, "isConstant": false, "isLValue": false, "isPure": false, @@ -22655,7 +22655,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43619:12:1", + "src": "44860:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -22669,12 +22669,12 @@ { "arguments": [ { - "id": 2372, + "id": 1864, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2355, - "src": "43657:5:1", + "referencedDeclaration": 1847, + "src": "44898:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22688,26 +22688,26 @@ "typeString": "bytes32" } ], - "id": 2371, + "id": 1863, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2370, + "id": 1862, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": {} } }, - "id": 2373, + "id": 1865, "isConstant": false, "isLValue": false, "isPure": false, @@ -22715,7 +22715,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43649:14:1", + "src": "44890:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -22730,26 +22730,26 @@ "typeString": "uint256" } ], - "id": 2369, + "id": 1861, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2368, + "id": 1860, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": {} } }, - "id": 2374, + "id": 1866, "isConstant": false, "isLValue": false, "isPure": false, @@ -22757,7 +22757,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43641:23:1", + "src": "44882:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -22772,26 +22772,26 @@ "typeString": "uint160" } ], - "id": 2367, + "id": 1859, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2366, + "id": 1858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": {} } }, - "id": 2375, + "id": 1867, "isConstant": false, "isLValue": false, "isPure": false, @@ -22799,7 +22799,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43633:32:1", + "src": "44874:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -22807,64 +22807,64 @@ } } ], - "id": 2376, + "id": 1868, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "43618:48:1", + "src": "44859:48:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_payable_$", "typeString": "tuple(uint256,address payable)" } }, - "functionReturnParameters": 2351, - "id": 2377, + "functionReturnParameters": 1843, + "id": 1869, "nodeType": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ] }, "documentation": { - "id": 2341, + "id": 1833, "nodeType": "StructuredDocumentation", - "src": "43117:318:1", + "src": "44347:326:0", "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2379, + "id": 1871, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2346, + "id": 1838, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2343, + "id": 1835, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43452:28:1", + "scope": 1871, + "src": "44691:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2342, + "id": 1834, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43452:16:1", + "referencedDeclaration": 1746, + "src": "44691:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22872,12 +22872,12 @@ }, { "constant": false, - "id": 2345, + "id": 1837, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43482:13:1", + "scope": 1871, + "src": "44721:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22885,10 +22885,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2344, + "id": 1836, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43482:7:1", + "src": "44721:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22897,20 +22897,20 @@ "visibility": "internal" } ], - "src": "43451:45:1" + "src": "44690:45:0" }, "returnParameters": { - "id": 2351, + "id": 1843, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2348, + "id": 1840, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43520:7:1", + "scope": 1871, + "src": "44759:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22918,10 +22918,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2347, + "id": 1839, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43520:7:1", + "src": "44759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22931,12 +22931,12 @@ }, { "constant": false, - "id": 2350, + "id": 1842, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43529:7:1", + "scope": 1871, + "src": "44768:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22944,10 +22944,10 @@ "typeString": "address" }, "typeName": { - "id": 2349, + "id": 1841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43529:7:1", + "src": "44768:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -22957,34 +22957,34 @@ "visibility": "internal" } ], - "src": "43519:18:1" + "src": "44758:18:0" }, - "scope": 2480, - "src": "43440:233:1", + "scope": 1972, + "src": "44679:236:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2417, + "id": 1909, "nodeType": "Block", - "src": "43950:142:1", + "src": "45200:145:0", "statements": [ { "assignments": [ - 2392, - 2394 + 1884, + 1886 ], "declarations": [ { "constant": false, - "id": 2392, + "id": 1884, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43961:12:1", + "scope": 1909, + "src": "45212:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22992,10 +22992,10 @@ "typeString": "bool" }, "typeName": { - "id": 2391, + "id": 1883, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43961:4:1", + "src": "45212:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23005,12 +23005,12 @@ }, { "constant": false, - "id": 2394, + "id": 1886, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43975:13:1", + "scope": 1909, + "src": "45226:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23018,10 +23018,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2393, + "id": 1885, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43975:7:1", + "src": "45226:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23030,45 +23030,45 @@ "visibility": "internal" } ], - "id": 2403, + "id": 1895, "initialValue": { "arguments": [ { "expression": { - "id": 2396, + "id": 1888, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2382, - "src": "44000:3:1", + "referencedDeclaration": 1874, + "src": "45251:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2397, + "id": 1889, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44000:10:1", + "referencedDeclaration": 1745, + "src": "45251:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2400, + "id": 1892, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2384, - "src": "44020:3:1", + "referencedDeclaration": 1876, + "src": "45271:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23082,26 +23082,26 @@ "typeString": "uint256" } ], - "id": 2399, + "id": 1891, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2398, + "id": 1890, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": {} } }, - "id": 2401, + "id": 1893, "isConstant": false, "isLValue": false, "isPure": false, @@ -23109,7 +23109,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44012:12:1", + "src": "45263:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23120,7 +23120,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23128,18 +23128,18 @@ "typeString": "bytes32" } ], - "id": 2395, + "id": 1887, "name": "_tryGet", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2183, - "src": "43992:7:1", + "referencedDeclaration": 1675, + "src": "45243:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)" } }, - "id": 2402, + "id": 1894, "isConstant": false, "isLValue": false, "isPure": false, @@ -23147,7 +23147,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43992:33:1", + "src": "45243:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", @@ -23155,18 +23155,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "expression": { "components": [ { - "id": 2404, + "id": 1896, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2392, - "src": "44043:7:1", + "referencedDeclaration": 1884, + "src": "45295:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23179,12 +23179,12 @@ { "arguments": [ { - "id": 2411, + "id": 1903, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2394, - "src": "44076:5:1", + "referencedDeclaration": 1886, + "src": "45328:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23198,26 +23198,26 @@ "typeString": "bytes32" } ], - "id": 2410, + "id": 1902, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2409, + "id": 1901, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": {} } }, - "id": 2412, + "id": 1904, "isConstant": false, "isLValue": false, "isPure": false, @@ -23225,7 +23225,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44068:14:1", + "src": "45320:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23240,26 +23240,26 @@ "typeString": "uint256" } ], - "id": 2408, + "id": 1900, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2407, + "id": 1899, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": {} } }, - "id": 2413, + "id": 1905, "isConstant": false, "isLValue": false, "isPure": false, @@ -23267,7 +23267,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44060:23:1", + "src": "45312:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23282,26 +23282,26 @@ "typeString": "uint160" } ], - "id": 2406, + "id": 1898, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2405, + "id": 1897, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": {} } }, - "id": 2414, + "id": 1906, "isConstant": false, "isLValue": false, "isPure": false, @@ -23309,7 +23309,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44052:32:1", + "src": "45304:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -23317,64 +23317,64 @@ } } ], - "id": 2415, + "id": 1907, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "44042:43:1", + "src": "45294:43:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_address_payable_$", "typeString": "tuple(bool,address payable)" } }, - "functionReturnParameters": 2390, - "id": 2416, + "functionReturnParameters": 1882, + "id": 1908, "nodeType": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ] }, "documentation": { - "id": 2380, + "id": 1872, "nodeType": "StructuredDocumentation", - "src": "43679:169:1", + "src": "44923:174:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2418, + "id": 1910, "implemented": true, "kind": "function", "modifiers": [], "name": "tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2385, + "id": 1877, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2382, + "id": 1874, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43869:28:1", + "scope": 1910, + "src": "45119:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2381, + "id": 1873, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43869:16:1", + "referencedDeclaration": 1746, + "src": "45119:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23382,12 +23382,12 @@ }, { "constant": false, - "id": 2384, + "id": 1876, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43899:11:1", + "scope": 1910, + "src": "45149:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23395,10 +23395,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2383, + "id": 1875, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43899:7:1", + "src": "45149:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23407,20 +23407,20 @@ "visibility": "internal" } ], - "src": "43868:43:1" + "src": "45118:43:0" }, "returnParameters": { - "id": 2390, + "id": 1882, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2387, + "id": 1879, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43935:4:1", + "scope": 1910, + "src": "45185:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23428,10 +23428,10 @@ "typeString": "bool" }, "typeName": { - "id": 2386, + "id": 1878, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43935:4:1", + "src": "45185:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23441,12 +23441,12 @@ }, { "constant": false, - "id": 2389, + "id": 1881, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43941:7:1", + "scope": 1910, + "src": "45191:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23454,10 +23454,10 @@ "typeString": "address" }, "typeName": { - "id": 2388, + "id": 1880, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43941:7:1", + "src": "45191:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23467,19 +23467,19 @@ "visibility": "internal" } ], - "src": "43934:15:1" + "src": "45184:15:0" }, - "scope": 2480, - "src": "43853:239:1", + "scope": 1972, + "src": "45103:242:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2446, + "id": 1938, "nodeType": "Block", - "src": "44332:81:1", + "src": "45594:83:0", "statements": [ { "expression": { @@ -23492,40 +23492,40 @@ "arguments": [ { "expression": { - "id": 2435, + "id": 1927, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2421, - "src": "44378:3:1", + "referencedDeclaration": 1913, + "src": "45641:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2436, + "id": 1928, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44378:10:1", + "referencedDeclaration": 1745, + "src": "45641:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2439, + "id": 1931, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2423, - "src": "44398:3:1", + "referencedDeclaration": 1915, + "src": "45661:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23539,26 +23539,26 @@ "typeString": "uint256" } ], - "id": 2438, + "id": 1930, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2437, + "id": 1929, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": {} } }, - "id": 2440, + "id": 1932, "isConstant": false, "isLValue": false, "isPure": false, @@ -23566,7 +23566,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44390:12:1", + "src": "45653:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23577,7 +23577,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23585,21 +23585,21 @@ "typeString": "bytes32" } ], - "id": 2434, + "id": 1926, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, - "src": "44373:4:1", + "referencedDeclaration": 1708, + "src": "45636:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)" } }, - "id": 2441, + "id": 1933, "isConstant": false, "isLValue": false, "isPure": false, @@ -23607,7 +23607,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44373:30:1", + "src": "45636:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23622,26 +23622,26 @@ "typeString": "bytes32" } ], - "id": 2433, + "id": 1925, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2432, + "id": 1924, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": {} } }, - "id": 2442, + "id": 1934, "isConstant": false, "isLValue": false, "isPure": false, @@ -23649,7 +23649,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44365:39:1", + "src": "45628:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23664,26 +23664,26 @@ "typeString": "uint256" } ], - "id": 2431, + "id": 1923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2430, + "id": 1922, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": {} } }, - "id": 2443, + "id": 1935, "isConstant": false, "isLValue": false, "isPure": false, @@ -23691,7 +23691,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44357:48:1", + "src": "45620:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23706,26 +23706,26 @@ "typeString": "uint160" } ], - "id": 2429, + "id": 1921, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2428, + "id": 1920, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": {} } }, - "id": 2444, + "id": 1936, "isConstant": false, "isLValue": false, "isPure": false, @@ -23733,58 +23733,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44349:57:1", + "src": "45612:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2427, - "id": 2445, + "functionReturnParameters": 1919, + "id": 1937, "nodeType": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ] }, "documentation": { - "id": 2419, + "id": 1911, "nodeType": "StructuredDocumentation", - "src": "44098:141:1", + "src": "45353:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2447, + "id": 1939, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2424, + "id": 1916, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2421, + "id": 1913, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44257:28:1", + "scope": 1939, + "src": "45519:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2420, + "id": 1912, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44257:16:1", + "referencedDeclaration": 1746, + "src": "45519:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23792,12 +23792,12 @@ }, { "constant": false, - "id": 2423, + "id": 1915, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44287:11:1", + "scope": 1939, + "src": "45549:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23805,10 +23805,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2422, + "id": 1914, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44287:7:1", + "src": "45549:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23817,20 +23817,20 @@ "visibility": "internal" } ], - "src": "44256:43:1" + "src": "45518:43:0" }, "returnParameters": { - "id": 2427, + "id": 1919, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2426, + "id": 1918, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44323:7:1", + "scope": 1939, + "src": "45585:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23838,10 +23838,10 @@ "typeString": "address" }, "typeName": { - "id": 2425, + "id": 1917, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44323:7:1", + "src": "45585:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23851,19 +23851,19 @@ "visibility": "internal" } ], - "src": "44322:9:1" + "src": "45584:9:0" }, - "scope": 2480, - "src": "44244:169:1", + "scope": 1972, + "src": "45506:171:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2478, + "id": 1970, "nodeType": "Block", - "src": "44809:95:1", + "src": "46081:97:0", "statements": [ { "expression": { @@ -23876,40 +23876,40 @@ "arguments": [ { "expression": { - "id": 2466, + "id": 1958, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2450, - "src": "44855:3:1", + "referencedDeclaration": 1942, + "src": "46128:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2467, + "id": 1959, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44855:10:1", + "referencedDeclaration": 1745, + "src": "46128:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2470, + "id": 1962, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2452, - "src": "44875:3:1", + "referencedDeclaration": 1944, + "src": "46148:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23923,26 +23923,26 @@ "typeString": "uint256" } ], - "id": 2469, + "id": 1961, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2468, + "id": 1960, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": {} } }, - "id": 2471, + "id": 1963, "isConstant": false, "isLValue": false, "isPure": false, @@ -23950,7 +23950,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44867:12:1", + "src": "46140:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23958,12 +23958,12 @@ } }, { - "id": 2472, + "id": 1964, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2454, - "src": "44881:12:1", + "referencedDeclaration": 1946, + "src": "46154:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -23973,7 +23973,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23985,21 +23985,21 @@ "typeString": "string memory" } ], - "id": 2465, + "id": 1957, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, - "src": "44850:4:1", + "referencedDeclaration": 1743, + "src": "46123:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)" } }, - "id": 2473, + "id": 1965, "isConstant": false, "isLValue": false, "isPure": false, @@ -24007,7 +24007,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44850:44:1", + "src": "46123:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -24022,26 +24022,26 @@ "typeString": "bytes32" } ], - "id": 2464, + "id": 1956, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2463, + "id": 1955, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": {} } }, - "id": 2474, + "id": 1966, "isConstant": false, "isLValue": false, "isPure": false, @@ -24049,7 +24049,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44842:53:1", + "src": "46115:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -24064,26 +24064,26 @@ "typeString": "uint256" } ], - "id": 2462, + "id": 1954, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2461, + "id": 1953, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": {} } }, - "id": 2475, + "id": 1967, "isConstant": false, "isLValue": false, "isPure": false, @@ -24091,7 +24091,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44834:62:1", + "src": "46107:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -24106,26 +24106,26 @@ "typeString": "uint160" } ], - "id": 2460, + "id": 1952, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2459, + "id": 1951, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": {} } }, - "id": 2476, + "id": 1968, "isConstant": false, "isLValue": false, "isPure": false, @@ -24133,58 +24133,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44826:71:1", + "src": "46099:71:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2458, - "id": 2477, + "functionReturnParameters": 1950, + "id": 1969, "nodeType": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ] }, "documentation": { - "id": 2448, + "id": 1940, "nodeType": "StructuredDocumentation", - "src": "44419:269:1", + "src": "45685:274:0", "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2479, + "id": 1971, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2455, + "id": 1947, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2450, + "id": 1942, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44706:28:1", + "scope": 1971, + "src": "45978:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2449, + "id": 1941, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44706:16:1", + "referencedDeclaration": 1746, + "src": "45978:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -24192,12 +24192,12 @@ }, { "constant": false, - "id": 2452, + "id": 1944, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44736:11:1", + "scope": 1971, + "src": "46008:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24205,10 +24205,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2451, + "id": 1943, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44736:7:1", + "src": "46008:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24218,12 +24218,12 @@ }, { "constant": false, - "id": 2454, + "id": 1946, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44749:26:1", + "scope": 1971, + "src": "46021:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24231,10 +24231,10 @@ "typeString": "string" }, "typeName": { - "id": 2453, + "id": 1945, "name": "string", "nodeType": "ElementaryTypeName", - "src": "44749:6:1", + "src": "46021:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -24243,20 +24243,20 @@ "visibility": "internal" } ], - "src": "44705:71:1" + "src": "45977:71:0" }, "returnParameters": { - "id": 2458, + "id": 1950, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2457, + "id": 1949, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44800:7:1", + "scope": 1971, + "src": "46072:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24264,10 +24264,10 @@ "typeString": "address" }, "typeName": { - "id": 2456, + "id": 1948, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44800:7:1", + "src": "46072:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -24277,20 +24277,20 @@ "visibility": "internal" } ], - "src": "44799:9:1" + "src": "46071:9:0" }, - "scope": 2480, - "src": "44693:211:1", + "scope": 1972, + "src": "45965:213:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "35943:8963:1" + "scope": 2991, + "src": "36981:9200:0" }, { - "id": 2481, + "id": 1973, "literals": [ "solidity", ">=", @@ -24301,7 +24301,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "abstract": false, @@ -24309,24 +24309,24 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 2482, + "id": 1974, "nodeType": "StructuredDocumentation", - "src": "44992:34:1", + "src": "46272:36:0", "text": " @dev String operations." }, "fullyImplemented": true, - "id": 2566, + "id": 2058, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 2564, + "id": 2056, "nodeType": "Block", - "src": "45207:654:1", + "src": "46494:675:0", "statements": [ { "condition": { @@ -24334,18 +24334,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2492, + "id": 1984, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2490, + "id": 1982, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45409:5:1", + "referencedDeclaration": 1977, + "src": "46700:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24355,72 +24355,72 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2491, + "id": 1983, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45418:1:1", + "src": "46709:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45409:10:1", + "src": "46700:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2496, + "id": 1988, "nodeType": "IfStatement", - "src": "45405:51:1", + "src": "46696:53:0", "trueBody": { - "id": 2495, + "id": 1987, "nodeType": "Block", - "src": "45421:35:1", + "src": "46712:37:0", "statements": [ { "expression": { "hexValue": "30", - "id": 2493, + "id": 1985, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "45442:3:1", + "src": "46734:3:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", "typeString": "literal_string \"0\"" }, "value": "0" }, - "functionReturnParameters": 2489, - "id": 2494, + "functionReturnParameters": 1981, + "id": 1986, "nodeType": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ] } }, { "assignments": [ - 2498 + 1990 ], "declarations": [ { "constant": false, - "id": 2498, + "id": 1990, "mutability": "mutable", "name": "temp", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45465:12:1", + "scope": 2056, + "src": "46759:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24428,10 +24428,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2497, + "id": 1989, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45465:7:1", + "src": "46759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24440,35 +24440,35 @@ "visibility": "internal" } ], - "id": 2500, + "id": 1992, "initialValue": { - "id": 2499, + "id": 1991, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45480:5:1", + "referencedDeclaration": 1977, + "src": "46774:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "assignments": [ - 2502 + 1994 ], "declarations": [ { "constant": false, - "id": 2502, + "id": 1994, "mutability": "mutable", "name": "digits", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45495:14:1", + "scope": 2056, + "src": "46790:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24476,10 +24476,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2501, + "id": 1993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45495:7:1", + "src": "46790:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24488,19 +24488,19 @@ "visibility": "internal" } ], - "id": 2503, + "id": 1995, "nodeType": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "body": { - "id": 2514, + "id": 2006, "nodeType": "Block", - "src": "45537:57:1", + "src": "46833:60:0", "statements": [ { "expression": { - "id": 2508, + "id": 2000, "isConstant": false, "isLValue": false, "isPure": false, @@ -24508,14 +24508,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "45551:8:1", + "src": "46848:8:0", "subExpression": { - "id": 2507, + "id": 1999, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45551:6:1", + "referencedDeclaration": 1994, + "src": "46848:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24526,24 +24526,24 @@ "typeString": "uint256" } }, - "id": 2509, + "id": 2001, "nodeType": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "expression": { - "id": 2512, + "id": 2004, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2510, + "id": 2002, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45573:4:1", + "referencedDeclaration": 1990, + "src": "46871:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24553,29 +24553,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2511, + "id": 2003, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45581:2:1", + "src": "46879:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45573:10:1", + "src": "46871:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2513, + "id": 2005, "nodeType": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ] }, @@ -24584,18 +24584,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2506, + "id": 1998, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2504, + "id": 1996, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45526:4:1", + "referencedDeclaration": 1990, + "src": "46822:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24605,43 +24605,43 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2505, + "id": 1997, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45534:1:1", + "src": "46830:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45526:9:1", + "src": "46822:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2515, + "id": 2007, "nodeType": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "assignments": [ - 2517 + 2009 ], "declarations": [ { "constant": false, - "id": 2517, + "id": 2009, "mutability": "mutable", "name": "buffer", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45603:19:1", + "scope": 2056, + "src": "46903:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24649,10 +24649,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2516, + "id": 2008, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45603:5:1", + "src": "46903:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -24661,16 +24661,16 @@ "visibility": "internal" } ], - "id": 2522, + "id": 2014, "initialValue": { "arguments": [ { - "id": 2520, + "id": 2012, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45635:6:1", + "referencedDeclaration": 1994, + "src": "46935:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24684,29 +24684,29 @@ "typeString": "uint256" } ], - "id": 2519, + "id": 2011, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", - "src": "45625:9:1", + "src": "46925:9:0", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", "typeString": "function (uint256) pure returns (bytes memory)" }, "typeName": { - "id": 2518, + "id": 2010, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45629:5:1", + "src": "46929:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } } }, - "id": 2521, + "id": 2013, "isConstant": false, "isLValue": false, "isPure": false, @@ -24714,7 +24714,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45625:17:1", + "src": "46925:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -24722,21 +24722,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "assignments": [ - 2524 + 2016 ], "declarations": [ { "constant": false, - "id": 2524, + "id": 2016, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45652:13:1", + "scope": 2056, + "src": "46953:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24744,10 +24744,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2523, + "id": 2015, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45652:7:1", + "src": "46953:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24756,24 +24756,24 @@ "visibility": "internal" } ], - "id": 2528, + "id": 2020, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2527, + "id": 2019, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2525, + "id": 2017, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45668:6:1", + "referencedDeclaration": 1994, + "src": "46969:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24783,43 +24783,43 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2526, + "id": 2018, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45677:1:1", + "src": "46978:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "45668:10:1", + "src": "46969:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "expression": { - "id": 2531, + "id": 2023, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2529, + "id": 2021, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45688:4:1", + "referencedDeclaration": 1990, + "src": "46990:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24828,56 +24828,56 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2530, + "id": 2022, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45695:5:1", + "referencedDeclaration": 1977, + "src": "46997:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45688:12:1", + "src": "46990:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2532, + "id": 2024, "nodeType": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "body": { - "id": 2557, + "id": 2049, "nodeType": "Block", - "src": "45728:96:1", + "src": "47031:99:0", "statements": [ { "expression": { - "id": 2551, + "id": 2043, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2536, + "id": 2028, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45742:6:1", + "referencedDeclaration": 2009, + "src": "47046:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2539, + "id": 2031, "indexExpression": { - "id": 2538, + "id": 2030, "isConstant": false, "isLValue": false, "isPure": false, @@ -24885,14 +24885,14 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "45749:7:1", + "src": "47053:7:0", "subExpression": { - "id": 2537, + "id": 2029, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2524, - "src": "45749:5:1", + "referencedDeclaration": 2016, + "src": "47053:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24908,7 +24908,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "45742:15:1", + "src": "47046:15:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -24925,21 +24925,21 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2548, + "id": 2040, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "hexValue": "3438", - "id": 2544, + "id": 2036, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45773:2:1", + "src": "47077:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_48_by_1", "typeString": "int_const 48" @@ -24953,18 +24953,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2547, + "id": 2039, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2545, + "id": 2037, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45778:4:1", + "referencedDeclaration": 1990, + "src": "47082:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24974,27 +24974,27 @@ "operator": "%", "rightExpression": { "hexValue": "3130", - "id": 2546, + "id": 2038, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45785:2:1", + "src": "47089:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45778:9:1", + "src": "47082:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45773:14:1", + "src": "47077:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25008,26 +25008,26 @@ "typeString": "uint256" } ], - "id": 2543, + "id": 2035, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint8_$", "typeString": "type(uint8)" }, "typeName": { - "id": 2542, + "id": 2034, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": {} } }, - "id": 2549, + "id": 2041, "isConstant": false, "isLValue": false, "isPure": false, @@ -25035,7 +25035,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45767:21:1", + "src": "47071:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint8", @@ -25050,26 +25050,26 @@ "typeString": "uint8" } ], - "id": 2541, + "id": 2033, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": { - "id": 2540, + "id": 2032, "name": "bytes1", "nodeType": "ElementaryTypeName", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": {} } }, - "id": 2550, + "id": 2042, "isConstant": false, "isLValue": false, "isPure": false, @@ -25077,37 +25077,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45760:29:1", + "src": "47064:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "45742:47:1", + "src": "47046:47:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "id": 2552, + "id": 2044, "nodeType": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "expression": { - "id": 2555, + "id": 2047, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2553, + "id": 2045, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45803:4:1", + "referencedDeclaration": 1990, + "src": "47108:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25117,29 +25117,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2554, + "id": 2046, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45811:2:1", + "src": "47116:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45803:10:1", + "src": "47108:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2556, + "id": 2048, "nodeType": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ] }, @@ -25148,18 +25148,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2535, + "id": 2027, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2533, + "id": 2025, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45717:4:1", + "referencedDeclaration": 1990, + "src": "47020:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25169,40 +25169,40 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2534, + "id": 2026, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45725:1:1", + "src": "47028:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45717:9:1", + "src": "47020:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2558, + "id": 2050, "nodeType": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "expression": { "arguments": [ { - "id": 2561, + "id": 2053, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45847:6:1", + "referencedDeclaration": 2009, + "src": "47154:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -25216,26 +25216,26 @@ "typeString": "bytes memory" } ], - "id": 2560, + "id": 2052, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2559, + "id": 2051, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": {} } }, - "id": 2562, + "id": 2054, "isConstant": false, "isLValue": false, "isPure": false, @@ -25243,44 +25243,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45840:14:1", + "src": "47147:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2489, - "id": 2563, + "functionReturnParameters": 1981, + "id": 2055, "nodeType": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ] }, "documentation": { - "id": 2483, + "id": 1975, "nodeType": "StructuredDocumentation", - "src": "45049:82:1", + "src": "46333:84:0", "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2565, + "id": 2057, "implemented": true, "kind": "function", "modifiers": [], "name": "toString", "nodeType": "FunctionDefinition", "parameters": { - "id": 2486, + "id": 1978, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2485, + "id": 1977, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45154:13:1", + "scope": 2057, + "src": "46441:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25288,10 +25288,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2484, + "id": 1976, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45154:7:1", + "src": "46441:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25300,20 +25300,20 @@ "visibility": "internal" } ], - "src": "45153:15:1" + "src": "46440:15:0" }, "returnParameters": { - "id": 2489, + "id": 1981, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2488, + "id": 1980, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45192:13:1", + "scope": 2057, + "src": "46479:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -25321,10 +25321,10 @@ "typeString": "string" }, "typeName": { - "id": 2487, + "id": 1979, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45192:6:1", + "src": "46479:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25333,20 +25333,20 @@ "visibility": "internal" } ], - "src": "45191:15:1" + "src": "46478:15:0" }, - "scope": 2566, - "src": "45136:725:1", + "scope": 2058, + "src": "46423:746:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "45027:836:1" + "scope": 2991, + "src": "46310:862:0" }, { - "id": 2567, + "id": 2059, "literals": [ "solidity", ">=", @@ -25357,141 +25357,141 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 2569, + "id": 2061, "name": "Context", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 530, - "src": "46099:7:1", + "referencedDeclaration": 22, + "src": "47417:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 2570, + "id": 2062, "nodeType": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "baseName": { - "id": 2571, + "id": 2063, "name": "ERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 781, - "src": "46108:6:1", + "referencedDeclaration": 273, + "src": "47426:6:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC165_$781", + "typeIdentifier": "t_contract$_ERC165_$273", "typeString": "contract ERC165" } }, - "id": 2572, + "id": 2064, "nodeType": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "baseName": { - "id": 2573, + "id": 2065, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "46116:7:1", + "referencedDeclaration": 147, + "src": "47434:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 2574, + "id": 2066, "nodeType": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "baseName": { - "id": 2575, + "id": 2067, "name": "IERC721Metadata", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 680, - "src": "46125:15:1", + "referencedDeclaration": 172, + "src": "47443:15:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Metadata_$680", + "typeIdentifier": "t_contract$_IERC721Metadata_$172", "typeString": "contract IERC721Metadata" } }, - "id": 2576, + "id": 2068, "nodeType": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "baseName": { - "id": 2577, + "id": 2069, "name": "IERC721Enumerable", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 709, - "src": "46142:17:1", + "referencedDeclaration": 201, + "src": "47460:17:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Enumerable_$709", + "typeIdentifier": "t_contract$_IERC721Enumerable_$201", "typeString": "contract IERC721Enumerable" } }, - "id": 2578, + "id": 2070, "nodeType": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" } ], "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "documentation": { - "id": 2568, + "id": 2060, "nodeType": "StructuredDocumentation", - "src": "45955:124:1", + "src": "47269:127:0", "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": true, - "id": 3498, + "id": 2990, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", "nodeType": "ContractDefinition", "nodes": [ { - "id": 2581, + "id": 2073, "libraryName": { - "id": 2579, + "id": 2071, "name": "SafeMath", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1135, - "src": "46172:8:1", + "referencedDeclaration": 627, + "src": "47491:8:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$1135", + "typeIdentifier": "t_contract$_SafeMath_$627", "typeString": "library SafeMath" } }, "nodeType": "UsingForDirective", - "src": "46166:27:1", + "src": "47485:27:0", "typeName": { - "id": 2580, + "id": 2072, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46185:7:1", + "src": "47504:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25499,25 +25499,25 @@ } }, { - "id": 2584, + "id": 2076, "libraryName": { - "id": 2582, + "id": 2074, "name": "Address", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1430, - "src": "46204:7:1", + "referencedDeclaration": 922, + "src": "47524:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } }, "nodeType": "UsingForDirective", - "src": "46198:26:1", + "src": "47518:26:0", "typeName": { - "id": 2583, + "id": 2075, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46216:7:1", + "src": "47536:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25526,79 +25526,79 @@ } }, { - "id": 2587, + "id": 2079, "libraryName": { - "id": 2585, + "id": 2077, "name": "EnumerableSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1921, - "src": "46235:13:1", + "referencedDeclaration": 1413, + "src": "47556:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableSet_$1921", + "typeIdentifier": "t_contract$_EnumerableSet_$1413", "typeString": "library EnumerableSet" } }, "nodeType": "UsingForDirective", - "src": "46229:46:1", + "src": "47550:46:0", "typeName": { - "id": 2586, + "id": 2078, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46253:21:1", + "referencedDeclaration": 1318, + "src": "47574:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } }, { - "id": 2590, + "id": 2082, "libraryName": { - "id": 2588, + "id": 2080, "name": "EnumerableMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2480, - "src": "46286:13:1", + "referencedDeclaration": 1972, + "src": "47608:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableMap_$2480", + "typeIdentifier": "t_contract$_EnumerableMap_$1972", "typeString": "library EnumerableMap" } }, "nodeType": "UsingForDirective", - "src": "46280:55:1", + "src": "47602:55:0", "typeName": { - "id": 2589, + "id": 2081, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46304:30:1", + "referencedDeclaration": 1746, + "src": "47626:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } } }, { - "id": 2593, + "id": 2085, "libraryName": { - "id": 2591, + "id": 2083, "name": "Strings", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2566, - "src": "46346:7:1", + "referencedDeclaration": 2058, + "src": "47669:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Strings_$2566", + "typeIdentifier": "t_contract$_Strings_$2058", "typeString": "library Strings" } }, "nodeType": "UsingForDirective", - "src": "46340:26:1", + "src": "47663:26:0", "typeName": { - "id": 2592, + "id": 2084, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46358:7:1", + "src": "47681:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25607,12 +25607,12 @@ }, { "constant": true, - "id": 2596, + "id": 2088, "mutability": "constant", "name": "_ERC721_RECEIVED", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46544:53:1", + "scope": 2990, + "src": "47871:53:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25620,10 +25620,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2594, + "id": 2086, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "46544:6:1", + "src": "47871:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -25631,14 +25631,14 @@ }, "value": { "hexValue": "30783135306237613032", - "id": 2595, + "id": 2087, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "46587:10:1", + "src": "47914:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_353073666_by_1", "typeString": "int_const 353073666" @@ -25649,44 +25649,44 @@ }, { "constant": false, - "id": 2600, + "id": 2092, "mutability": "mutable", "name": "_holderTokens", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46681:64:1", + "scope": 2990, + "src": "48011:64:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "typeName": { - "id": 2599, + "id": 2091, "keyType": { - "id": 2597, + "id": 2089, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46690:7:1", + "src": "48020:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "46681:42:1", + "src": "48011:42:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "valueType": { - "id": 2598, + "id": 2090, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46701:21:1", + "referencedDeclaration": 1318, + "src": "48031:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } @@ -25695,26 +25695,26 @@ }, { "constant": false, - "id": 2602, + "id": 2094, "mutability": "mutable", "name": "_tokenOwners", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46809:51:1", + "scope": 2990, + "src": "48142:51:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2601, + "id": 2093, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46809:30:1", + "referencedDeclaration": 1746, + "src": "48142:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -25722,12 +25722,12 @@ }, { "constant": false, - "id": 2606, + "id": 2098, "mutability": "mutable", "name": "_tokenApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46916:52:1", + "scope": 2990, + "src": "48252:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25735,28 +25735,28 @@ "typeString": "mapping(uint256 => address)" }, "typeName": { - "id": 2605, + "id": 2097, "keyType": { - "id": 2603, + "id": 2095, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46925:7:1", + "src": "48261:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "46916:28:1", + "src": "48252:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" }, "valueType": { - "id": 2604, + "id": 2096, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46936:7:1", + "src": "48272:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25768,12 +25768,12 @@ }, { "constant": false, - "id": 2612, + "id": 2104, "mutability": "mutable", "name": "_operatorApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47023:73:1", + "scope": 2990, + "src": "48362:73:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25781,46 +25781,46 @@ "typeString": "mapping(address => mapping(address => bool))" }, "typeName": { - "id": 2611, + "id": 2103, "keyType": { - "id": 2607, + "id": 2099, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47032:7:1", + "src": "48371:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47023:46:1", + "src": "48362:46:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" }, "valueType": { - "id": 2610, + "id": 2102, "keyType": { - "id": 2608, + "id": 2100, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47052:7:1", + "src": "48391:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47043:25:1", + "src": "48382:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" }, "valueType": { - "id": 2609, + "id": 2101, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "47063:4:1", + "src": "48402:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -25832,12 +25832,12 @@ }, { "constant": false, - "id": 2614, + "id": 2106, "mutability": "mutable", "name": "_name", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47121:20:1", + "scope": 2990, + "src": "48463:20:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25845,10 +25845,10 @@ "typeString": "string" }, "typeName": { - "id": 2613, + "id": 2105, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47121:6:1", + "src": "48463:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25858,12 +25858,12 @@ }, { "constant": false, - "id": 2616, + "id": 2108, "mutability": "mutable", "name": "_symbol", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47168:22:1", + "scope": 2990, + "src": "48513:22:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25871,10 +25871,10 @@ "typeString": "string" }, "typeName": { - "id": 2615, + "id": 2107, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47168:6:1", + "src": "48513:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25884,12 +25884,12 @@ }, { "constant": false, - "id": 2620, + "id": 2112, "mutability": "mutable", "name": "_tokenURIs", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47236:46:1", + "scope": 2990, + "src": "48584:46:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25897,28 +25897,28 @@ "typeString": "mapping(uint256 => string)" }, "typeName": { - "id": 2619, + "id": 2111, "keyType": { - "id": 2617, + "id": 2109, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "47245:7:1", + "src": "48593:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "47236:27:1", + "src": "48584:27:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string)" }, "valueType": { - "id": 2618, + "id": 2110, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47256:6:1", + "src": "48604:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25929,12 +25929,12 @@ }, { "constant": false, - "id": 2622, + "id": 2114, "mutability": "mutable", "name": "_baseURI", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47305:23:1", + "scope": 2990, + "src": "48656:23:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25942,10 +25942,10 @@ "typeString": "string" }, "typeName": { - "id": 2621, + "id": 2113, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47305:6:1", + "src": "48656:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25955,12 +25955,12 @@ }, { "constant": true, - "id": 2625, + "id": 2117, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48204:57:1", + "scope": 2990, + "src": "49571:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25968,10 +25968,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2623, + "id": 2115, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48204:6:1", + "src": "49571:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -25979,14 +25979,14 @@ }, "value": { "hexValue": "30783830616335386364", - "id": 2624, + "id": 2116, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48251:10:1", + "src": "49618:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2158778573_by_1", "typeString": "int_const 2158778573" @@ -25997,12 +25997,12 @@ }, { "constant": true, - "id": 2628, + "id": 2120, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48527:66:1", + "scope": 2990, + "src": "49903:66:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26010,10 +26010,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2626, + "id": 2118, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48527:6:1", + "src": "49903:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26021,14 +26021,14 @@ }, "value": { "hexValue": "30783562356531333966", - "id": 2627, + "id": 2119, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48583:10:1", + "src": "49959:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_1532892063_by_1", "typeString": "int_const 1532892063" @@ -26039,12 +26039,12 @@ }, { "constant": true, - "id": 2631, + "id": 2123, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48898:68:1", + "scope": 2990, + "src": "50283:68:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26052,10 +26052,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2629, + "id": 2121, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48898:6:1", + "src": "50283:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26063,14 +26063,14 @@ }, "value": { "hexValue": "30783738306539643633", - "id": 2630, + "id": 2122, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48956:10:1", + "src": "50341:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2014223715_by_1", "typeString": "int_const 2014223715" @@ -26081,24 +26081,24 @@ }, { "body": { - "id": 2659, + "id": 2151, "nodeType": "Block", - "src": "49143:305:1", + "src": "50533:313:0", "statements": [ { "expression": { - "id": 2641, + "id": 2133, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2639, + "id": 2131, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "49153:5:1", + "referencedDeclaration": 2106, + "src": "50544:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26107,41 +26107,41 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2640, + "id": 2132, "name": "name_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2634, - "src": "49161:5:1", + "referencedDeclaration": 2126, + "src": "50552:5:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49153:13:1", + "src": "50544:13:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2642, + "id": 2134, "nodeType": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "expression": { - "id": 2645, + "id": 2137, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2643, + "id": 2135, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "49176:7:1", + "referencedDeclaration": 2108, + "src": "50568:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26150,37 +26150,37 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2644, + "id": 2136, "name": "symbol_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2636, - "src": "49186:7:1", + "referencedDeclaration": 2128, + "src": "50578:7:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49176:17:1", + "src": "50568:17:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2646, + "id": 2138, "nodeType": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "expression": { "arguments": [ { - "id": 2648, + "id": 2140, "name": "_INTERFACE_ID_ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2625, - "src": "49300:20:1", + "referencedDeclaration": 2117, + "src": "50695:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26194,18 +26194,18 @@ "typeString": "bytes4" } ], - "id": 2647, + "id": 2139, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49281:18:1", + "referencedDeclaration": 272, + "src": "50676:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2649, + "id": 2141, "isConstant": false, "isLValue": false, "isPure": false, @@ -26213,27 +26213,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49281:40:1", + "src": "50676:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2650, + "id": 2142, "nodeType": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "expression": { "arguments": [ { - "id": 2652, + "id": 2144, "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2628, - "src": "49350:29:1", + "referencedDeclaration": 2120, + "src": "50746:29:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26247,18 +26247,18 @@ "typeString": "bytes4" } ], - "id": 2651, + "id": 2143, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49331:18:1", + "referencedDeclaration": 272, + "src": "50727:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2653, + "id": 2145, "isConstant": false, "isLValue": false, "isPure": false, @@ -26266,27 +26266,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49331:49:1", + "src": "50727:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2654, + "id": 2146, "nodeType": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "expression": { "arguments": [ { - "id": 2656, + "id": 2148, "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2631, - "src": "49409:31:1", + "referencedDeclaration": 2123, + "src": "50806:31:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26300,18 +26300,18 @@ "typeString": "bytes4" } ], - "id": 2655, + "id": 2147, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49390:18:1", + "referencedDeclaration": 272, + "src": "50787:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2657, + "id": 2149, "isConstant": false, "isLValue": false, "isPure": false, @@ -26319,43 +26319,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49390:51:1", + "src": "50787:51:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2658, + "id": 2150, "nodeType": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ] }, "documentation": { - "id": 2632, + "id": 2124, "nodeType": "StructuredDocumentation", - "src": "48973:108:1", + "src": "50360:110:0", "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2660, + "id": 2152, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 2637, + "id": 2129, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2634, + "id": 2126, "mutability": "mutable", "name": "name_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49099:19:1", + "scope": 2152, + "src": "50489:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26363,10 +26363,10 @@ "typeString": "string" }, "typeName": { - "id": 2633, + "id": 2125, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49099:6:1", + "src": "50489:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26376,12 +26376,12 @@ }, { "constant": false, - "id": 2636, + "id": 2128, "mutability": "mutable", "name": "symbol_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49120:21:1", + "scope": 2152, + "src": "50510:21:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26389,10 +26389,10 @@ "typeString": "string" }, "typeName": { - "id": 2635, + "id": 2127, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49120:6:1", + "src": "50510:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26401,28 +26401,28 @@ "visibility": "internal" } ], - "src": "49098:44:1" + "src": "50488:44:0" }, "returnParameters": { - "id": 2638, + "id": 2130, "nodeType": "ParameterList", "parameters": [], - "src": "49143:0:1" + "src": "50533:0:0" }, - "scope": 3498, - "src": "49086:362:1", + "scope": 2990, + "src": "50476:370:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { "baseFunctions": [ - 580 + 72 ], "body": { - "id": 2685, + "id": 2177, "nodeType": "Block", - "src": "49588:137:1", + "src": "50991:140:0", "statements": [ { "expression": { @@ -26432,18 +26432,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2675, + "id": 2167, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2670, + "id": 2162, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49606:5:1", + "referencedDeclaration": 2155, + "src": "51010:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26455,14 +26455,14 @@ "arguments": [ { "hexValue": "30", - "id": 2673, + "id": 2165, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "49623:1:1", + "src": "51027:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -26477,26 +26477,26 @@ "typeString": "int_const 0" } ], - "id": 2672, + "id": 2164, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2671, + "id": 2163, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": {} } }, - "id": 2674, + "id": 2166, "isConstant": false, "isLValue": false, "isPure": true, @@ -26504,14 +26504,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49615:10:1", + "src": "51019:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "49606:19:1", + "src": "51010:19:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -26519,14 +26519,14 @@ }, { "hexValue": "4552433732313a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373", - "id": 2676, + "id": 2168, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49627:44:1", + "src": "51031:44:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7395d4d3901c50cdfcab223d072f9aa36241df5d883e62cbf147ee1b05a9e6ba", "typeString": "literal_string \"ERC721: balance query for the zero address\"" @@ -26545,7 +26545,7 @@ "typeString": "literal_string \"ERC721: balance query for the zero address\"" } ], - "id": 2669, + "id": 2161, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -26553,13 +26553,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "49598:7:1", + "src": "51002:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2677, + "id": 2169, "isConstant": false, "isLValue": false, "isPure": false, @@ -26567,16 +26567,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49598:74:1", + "src": "51002:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2678, + "id": 2170, "nodeType": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "expression": { @@ -26585,25 +26585,25 @@ "argumentTypes": [], "expression": { "baseExpression": { - "id": 2679, + "id": 2171, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "49689:13:1", + "referencedDeclaration": 2092, + "src": "51094:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2681, + "id": 2173, "indexExpression": { - "id": 2680, + "id": 2172, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49703:5:1", + "referencedDeclaration": 2155, + "src": "51108:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26614,27 +26614,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "49689:20:1", + "src": "51094:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2682, + "id": 2174, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 1900, - "src": "49689:27:1", + "referencedDeclaration": 1392, + "src": "51094:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" } }, - "id": 2683, + "id": 2175, "isConstant": false, "isLValue": false, "isPure": false, @@ -26642,51 +26642,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49689:29:1", + "src": "51094:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2668, - "id": 2684, + "functionReturnParameters": 2160, + "id": 2176, "nodeType": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ] }, "documentation": { - "id": 2661, + "id": 2153, "nodeType": "StructuredDocumentation", - "src": "49454:48:1", + "src": "50854:50:0", "text": " @dev See {IERC721-balanceOf}." }, "functionSelector": "70a08231", - "id": 2686, + "id": 2178, "implemented": true, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2665, + "id": 2157, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49561:8:1" + "src": "50964:8:0" }, "parameters": { - "id": 2664, + "id": 2156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2663, + "id": 2155, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49526:13:1", + "scope": 2178, + "src": "50929:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26694,10 +26694,10 @@ "typeString": "address" }, "typeName": { - "id": 2662, + "id": 2154, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49526:7:1", + "src": "50929:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26707,20 +26707,20 @@ "visibility": "internal" } ], - "src": "49525:15:1" + "src": "50928:15:0" }, "returnParameters": { - "id": 2668, + "id": 2160, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2667, + "id": 2159, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49579:7:1", + "scope": 2178, + "src": "50982:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26728,10 +26728,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2666, + "id": 2158, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49579:7:1", + "src": "50982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26740,33 +26740,33 @@ "visibility": "internal" } ], - "src": "49578:9:1" + "src": "50981:9:0" }, - "scope": 3498, - "src": "49507:218:1", + "scope": 2990, + "src": "50910:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 588 + 80 ], "body": { - "id": 2701, + "id": 2193, "nodeType": "Block", - "src": "49863:94:1", + "src": "51274:96:0", "statements": [ { "expression": { "arguments": [ { - "id": 2697, + "id": 2189, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2689, - "src": "49897:7:1", + "referencedDeclaration": 2181, + "src": "51309:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26774,14 +26774,14 @@ }, { "hexValue": "4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2698, + "id": 2190, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49906:43:1", + "src": "51318:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7481f3df2a424c0755a1ad2356614e9a5a358d461ea2eae1f89cb21cbad00397", "typeString": "literal_string \"ERC721: owner query for nonexistent token\"" @@ -26801,32 +26801,32 @@ } ], "expression": { - "id": 2695, + "id": 2187, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "49880:12:1", + "referencedDeclaration": 2094, + "src": "51292:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2696, + "id": 2188, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "get", "nodeType": "MemberAccess", - "referencedDeclaration": 2479, - "src": "49880:16:1", + "referencedDeclaration": 1971, + "src": "51292:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" } }, - "id": 2699, + "id": 2191, "isConstant": false, "isLValue": false, "isPure": false, @@ -26834,51 +26834,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49880:70:1", + "src": "51292:70:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2694, - "id": 2700, + "functionReturnParameters": 2186, + "id": 2192, "nodeType": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ] }, "documentation": { - "id": 2687, + "id": 2179, "nodeType": "StructuredDocumentation", - "src": "49731:46:1", + "src": "51139:48:0", "text": " @dev See {IERC721-ownerOf}." }, "functionSelector": "6352211e", - "id": 2702, + "id": 2194, "implemented": true, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2691, + "id": 2183, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49836:8:1" + "src": "51247:8:0" }, "parameters": { - "id": 2690, + "id": 2182, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2689, + "id": 2181, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49799:15:1", + "scope": 2194, + "src": "51210:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26886,10 +26886,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2688, + "id": 2180, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49799:7:1", + "src": "51210:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26898,20 +26898,20 @@ "visibility": "internal" } ], - "src": "49798:17:1" + "src": "51209:17:0" }, "returnParameters": { - "id": 2694, + "id": 2186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2693, + "id": 2185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49854:7:1", + "scope": 2194, + "src": "51265:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26919,10 +26919,10 @@ "typeString": "address" }, "typeName": { - "id": 2692, + "id": 2184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49854:7:1", + "src": "51265:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26932,80 +26932,80 @@ "visibility": "internal" } ], - "src": "49853:9:1" + "src": "51264:9:0" }, - "scope": 3498, - "src": "49782:175:1", + "scope": 2990, + "src": "51193:177:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 665 + 157 ], "body": { - "id": 2711, + "id": 2203, "nodeType": "Block", - "src": "50088:29:1", + "src": "51506:31:0", "statements": [ { "expression": { - "id": 2709, + "id": 2201, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "50105:5:1", + "referencedDeclaration": 2106, + "src": "51524:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2708, - "id": 2710, + "functionReturnParameters": 2200, + "id": 2202, "nodeType": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ] }, "documentation": { - "id": 2703, + "id": 2195, "nodeType": "StructuredDocumentation", - "src": "49963:51:1", + "src": "51378:53:0", "text": " @dev See {IERC721Metadata-name}." }, "functionSelector": "06fdde03", - "id": 2712, + "id": 2204, "implemented": true, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "overrides": { - "id": 2705, + "id": 2197, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50055:8:1" + "src": "51473:8:0" }, "parameters": { - "id": 2704, + "id": 2196, "nodeType": "ParameterList", "parameters": [], - "src": "50032:2:1" + "src": "51450:2:0" }, "returnParameters": { - "id": 2708, + "id": 2200, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2707, + "id": 2199, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2712, - "src": "50073:13:1", + "scope": 2204, + "src": "51491:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27013,10 +27013,10 @@ "typeString": "string" }, "typeName": { - "id": 2706, + "id": 2198, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50073:6:1", + "src": "51491:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27025,80 +27025,80 @@ "visibility": "internal" } ], - "src": "50072:15:1" + "src": "51490:15:0" }, - "scope": 3498, - "src": "50019:98:1", + "scope": 2990, + "src": "51437:100:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 671 + 163 ], "body": { - "id": 2721, + "id": 2213, "nodeType": "Block", - "src": "50252:31:1", + "src": "51677:33:0", "statements": [ { "expression": { - "id": 2719, + "id": 2211, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "50269:7:1", + "referencedDeclaration": 2108, + "src": "51695:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2718, - "id": 2720, + "functionReturnParameters": 2210, + "id": 2212, "nodeType": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ] }, "documentation": { - "id": 2713, + "id": 2205, "nodeType": "StructuredDocumentation", - "src": "50123:53:1", + "src": "51545:55:0", "text": " @dev See {IERC721Metadata-symbol}." }, "functionSelector": "95d89b41", - "id": 2722, + "id": 2214, "implemented": true, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "overrides": { - "id": 2715, + "id": 2207, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50219:8:1" + "src": "51644:8:0" }, "parameters": { - "id": 2714, + "id": 2206, "nodeType": "ParameterList", "parameters": [], - "src": "50196:2:1" + "src": "51621:2:0" }, "returnParameters": { - "id": 2718, + "id": 2210, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2717, + "id": 2209, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2722, - "src": "50237:13:1", + "scope": 2214, + "src": "51662:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27106,10 +27106,10 @@ "typeString": "string" }, "typeName": { - "id": 2716, + "id": 2208, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50237:6:1", + "src": "51662:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27118,22 +27118,22 @@ "visibility": "internal" } ], - "src": "50236:15:1" + "src": "51661:15:0" }, - "scope": 3498, - "src": "50181:102:1", + "scope": 2990, + "src": "51606:104:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 679 + 171 ], "body": { - "id": 2789, + "id": 2281, "nodeType": "Block", - "src": "50437:688:1", + "src": "51869:704:0", "statements": [ { "expression": { @@ -27141,12 +27141,12 @@ { "arguments": [ { - "id": 2733, + "id": 2225, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50463:7:1", + "referencedDeclaration": 2217, + "src": "51896:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27160,18 +27160,18 @@ "typeString": "uint256" } ], - "id": 2732, + "id": 2224, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "50455:7:1", + "referencedDeclaration": 2577, + "src": "51888:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2734, + "id": 2226, "isConstant": false, "isLValue": false, "isPure": false, @@ -27179,7 +27179,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50455:16:1", + "src": "51888:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -27188,14 +27188,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2735, + "id": 2227, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "50473:49:1", + "src": "51906:49:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a2d45c0fba603d40d82d590051761ca952d1ab9d78cca6d0d464d7b6e961a9cb", "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" @@ -27214,7 +27214,7 @@ "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" } ], - "id": 2731, + "id": 2223, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -27222,13 +27222,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "50447:7:1", + "src": "51880:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2736, + "id": 2228, "isConstant": false, "isLValue": false, "isPure": false, @@ -27236,30 +27236,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50447:76:1", + "src": "51880:76:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2737, + "id": 2229, "nodeType": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "assignments": [ - 2739 + 2231 ], "declarations": [ { "constant": false, - "id": 2739, + "id": 2231, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50534:23:1", + "scope": 2281, + "src": "51969:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27267,10 +27267,10 @@ "typeString": "string" }, "typeName": { - "id": 2738, + "id": 2230, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50534:6:1", + "src": "51969:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27279,28 +27279,28 @@ "visibility": "internal" } ], - "id": 2743, + "id": 2235, "initialValue": { "baseExpression": { - "id": 2740, + "id": 2232, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "50560:10:1", + "referencedDeclaration": 2112, + "src": "51995:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 2742, + "id": 2234, "indexExpression": { - "id": 2741, + "id": 2233, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50571:7:1", + "referencedDeclaration": 2217, + "src": "52006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27311,28 +27311,28 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "50560:19:1", + "src": "51995:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "assignments": [ - 2745 + 2237 ], "declarations": [ { "constant": false, - "id": 2745, + "id": 2237, "mutability": "mutable", "name": "base", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50589:18:1", + "scope": 2281, + "src": "52025:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27340,10 +27340,10 @@ "typeString": "string" }, "typeName": { - "id": 2744, + "id": 2236, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50589:6:1", + "src": "52025:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27352,23 +27352,23 @@ "visibility": "internal" } ], - "id": 2748, + "id": 2240, "initialValue": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2746, + "id": 2238, "name": "baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2799, - "src": "50610:7:1", + "referencedDeclaration": 2291, + "src": "52046:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_string_memory_ptr_$", "typeString": "function () view returns (string memory)" } }, - "id": 2747, + "id": 2239, "isConstant": false, "isLValue": false, "isPure": false, @@ -27376,7 +27376,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50610:9:1", + "src": "52046:9:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27384,7 +27384,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "condition": { @@ -27392,7 +27392,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2755, + "id": 2247, "isConstant": false, "isLValue": false, "isPure": false, @@ -27401,12 +27401,12 @@ "expression": { "arguments": [ { - "id": 2751, + "id": 2243, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50698:4:1", + "referencedDeclaration": 2237, + "src": "52137:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27420,26 +27420,26 @@ "typeString": "string memory" } ], - "id": 2750, + "id": 2242, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2749, + "id": 2241, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": {} } }, - "id": 2752, + "id": 2244, "isConstant": false, "isLValue": false, "isPure": false, @@ -27447,21 +27447,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50692:11:1", + "src": "52131:11:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2753, + "id": 2245, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50692:18:1", + "src": "52131:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27471,51 +27471,51 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2754, + "id": 2246, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50714:1:1", + "src": "52153:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50692:23:1", + "src": "52131:23:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2759, + "id": 2251, "nodeType": "IfStatement", - "src": "50688:70:1", + "src": "52127:72:0", "trueBody": { - "id": 2758, + "id": 2250, "nodeType": "Block", - "src": "50717:41:1", + "src": "52156:43:0", "statements": [ { "expression": { - "id": 2756, + "id": 2248, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50738:9:1", + "referencedDeclaration": 2231, + "src": "52178:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2757, + "functionReturnParameters": 2222, + "id": 2249, "nodeType": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ] } @@ -27526,7 +27526,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2766, + "id": 2258, "isConstant": false, "isLValue": false, "isPure": false, @@ -27535,12 +27535,12 @@ "expression": { "arguments": [ { - "id": 2762, + "id": 2254, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50866:9:1", + "referencedDeclaration": 2231, + "src": "52309:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27554,26 +27554,26 @@ "typeString": "string memory" } ], - "id": 2761, + "id": 2253, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2760, + "id": 2252, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": {} } }, - "id": 2763, + "id": 2255, "isConstant": false, "isLValue": false, "isPure": false, @@ -27581,21 +27581,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50860:16:1", + "src": "52303:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2764, + "id": 2256, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50860:23:1", + "src": "52303:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27605,33 +27605,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 2765, + "id": 2257, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50886:1:1", + "src": "52329:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50860:27:1", + "src": "52303:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2777, + "id": 2269, "nodeType": "IfStatement", - "src": "50856:106:1", + "src": "52299:108:0", "trueBody": { - "id": 2776, + "id": 2268, "nodeType": "Block", - "src": "50889:73:1", + "src": "52332:75:0", "statements": [ { "expression": { @@ -27639,24 +27639,24 @@ { "arguments": [ { - "id": 2771, + "id": 2263, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50934:4:1", + "referencedDeclaration": 2237, + "src": "52378:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, { - "id": 2772, + "id": 2264, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50940:9:1", + "referencedDeclaration": 2231, + "src": "52384:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27675,31 +27675,31 @@ } ], "expression": { - "id": 2769, + "id": 2261, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "50917:3:1", + "src": "52361:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2770, + "id": 2262, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "50917:16:1", + "src": "52361:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2773, + "id": 2265, "isConstant": false, "isLValue": false, "isPure": false, @@ -27707,7 +27707,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50917:33:1", + "src": "52361:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -27722,26 +27722,26 @@ "typeString": "bytes memory" } ], - "id": 2768, + "id": 2260, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2767, + "id": 2259, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": {} } }, - "id": 2774, + "id": 2266, "isConstant": false, "isLValue": false, "isPure": false, @@ -27749,17 +27749,17 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50910:41:1", + "src": "52354:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2775, + "functionReturnParameters": 2222, + "id": 2267, "nodeType": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ] } @@ -27770,12 +27770,12 @@ { "arguments": [ { - "id": 2782, + "id": 2274, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "51092:4:1", + "referencedDeclaration": 2237, + "src": "52539:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27786,32 +27786,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2783, + "id": 2275, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "51098:7:1", + "referencedDeclaration": 2217, + "src": "52545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2784, + "id": 2276, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toString", "nodeType": "MemberAccess", - "referencedDeclaration": 2565, - "src": "51098:16:1", + "referencedDeclaration": 2057, + "src": "52545:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$bound_to$_t_uint256_$", "typeString": "function (uint256) pure returns (string memory)" } }, - "id": 2785, + "id": 2277, "isConstant": false, "isLValue": false, "isPure": false, @@ -27819,7 +27819,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51098:18:1", + "src": "52545:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27839,31 +27839,31 @@ } ], "expression": { - "id": 2780, + "id": 2272, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "51075:3:1", + "src": "52522:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2781, + "id": 2273, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "51075:16:1", + "src": "52522:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2786, + "id": 2278, "isConstant": false, "isLValue": false, "isPure": false, @@ -27871,7 +27871,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51075:42:1", + "src": "52522:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -27886,26 +27886,26 @@ "typeString": "bytes memory" } ], - "id": 2779, + "id": 2271, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2778, + "id": 2270, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": {} } }, - "id": 2787, + "id": 2279, "isConstant": false, "isLValue": false, "isPure": false, @@ -27913,51 +27913,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51068:50:1", + "src": "52515:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2788, + "functionReturnParameters": 2222, + "id": 2280, "nodeType": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ] }, "documentation": { - "id": 2723, + "id": 2215, "nodeType": "StructuredDocumentation", - "src": "50289:55:1", + "src": "51718:57:0", "text": " @dev See {IERC721Metadata-tokenURI}." }, "functionSelector": "c87b56dd", - "id": 2790, + "id": 2282, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "overrides": { - "id": 2727, + "id": 2219, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50404:8:1" + "src": "51836:8:0" }, "parameters": { - "id": 2726, + "id": 2218, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2725, + "id": 2217, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50367:15:1", + "scope": 2282, + "src": "51799:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27965,10 +27965,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2724, + "id": 2216, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "50367:7:1", + "src": "51799:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27977,20 +27977,20 @@ "visibility": "internal" } ], - "src": "50366:17:1" + "src": "51798:17:0" }, "returnParameters": { - "id": 2730, + "id": 2222, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2729, + "id": 2221, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50422:13:1", + "scope": 2282, + "src": "51854:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27998,10 +27998,10 @@ "typeString": "string" }, "typeName": { - "id": 2728, + "id": 2220, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50422:6:1", + "src": "51854:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28010,71 +28010,71 @@ "visibility": "internal" } ], - "src": "50421:15:1" + "src": "51853:15:0" }, - "scope": 3498, - "src": "50349:776:1", + "scope": 2990, + "src": "51781:792:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 2798, + "id": 2290, "nodeType": "Block", - "src": "51420:32:1", + "src": "52875:34:0", "statements": [ { "expression": { - "id": 2796, + "id": 2288, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "51437:8:1", + "referencedDeclaration": 2114, + "src": "52893:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2795, - "id": 2797, + "functionReturnParameters": 2287, + "id": 2289, "nodeType": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ] }, "documentation": { - "id": 2791, + "id": 2283, "nodeType": "StructuredDocumentation", - "src": "51131:221:1", + "src": "52581:225:0", "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, "functionSelector": "6c0360eb", - "id": 2799, + "id": 2291, "implemented": true, "kind": "function", "modifiers": [], "name": "baseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 2792, + "id": 2284, "nodeType": "ParameterList", "parameters": [], - "src": "51373:2:1" + "src": "52828:2:0" }, "returnParameters": { - "id": 2795, + "id": 2287, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2794, + "id": 2286, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2799, - "src": "51405:13:1", + "scope": 2291, + "src": "52860:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -28082,10 +28082,10 @@ "typeString": "string" }, "typeName": { - "id": 2793, + "id": 2285, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51405:6:1", + "src": "52860:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28094,33 +28094,33 @@ "visibility": "internal" } ], - "src": "51404:15:1" + "src": "52859:15:0" }, - "scope": 3498, - "src": "51357:95:1", + "scope": 2990, + "src": "52812:97:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 700 + 192 ], "body": { - "id": 2817, + "id": 2309, "nodeType": "Block", - "src": "51637:54:1", + "src": "53099:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 2814, + "id": 2306, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2804, - "src": "51678:5:1", + "referencedDeclaration": 2296, + "src": "53141:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28136,25 +28136,25 @@ ], "expression": { "baseExpression": { - "id": 2810, + "id": 2302, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "51654:13:1", + "referencedDeclaration": 2092, + "src": "53117:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2812, + "id": 2304, "indexExpression": { - "id": 2811, + "id": 2303, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2802, - "src": "51668:5:1", + "referencedDeclaration": 2294, + "src": "53131:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28165,27 +28165,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "51654:20:1", + "src": "53117:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2813, + "id": 2305, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 1920, - "src": "51654:23:1", + "referencedDeclaration": 1412, + "src": "53117:23:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" } }, - "id": 2815, + "id": 2307, "isConstant": false, "isLValue": false, "isPure": false, @@ -28193,51 +28193,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51654:30:1", + "src": "53117:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2809, - "id": 2816, + "functionReturnParameters": 2301, + "id": 2308, "nodeType": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ] }, "documentation": { - "id": 2800, + "id": 2292, "nodeType": "StructuredDocumentation", - "src": "51458:68:1", + "src": "52917:70:0", "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, "functionSelector": "2f745c59", - "id": 2818, + "id": 2310, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2806, + "id": 2298, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51610:8:1" + "src": "53072:8:0" }, "parameters": { - "id": 2805, + "id": 2297, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2802, + "id": 2294, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51560:13:1", + "scope": 2310, + "src": "53022:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28245,10 +28245,10 @@ "typeString": "address" }, "typeName": { - "id": 2801, + "id": 2293, "name": "address", "nodeType": "ElementaryTypeName", - "src": "51560:7:1", + "src": "53022:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28259,12 +28259,12 @@ }, { "constant": false, - "id": 2804, + "id": 2296, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51575:13:1", + "scope": 2310, + "src": "53037:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28272,10 +28272,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2803, + "id": 2295, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51575:7:1", + "src": "53037:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28284,20 +28284,20 @@ "visibility": "internal" } ], - "src": "51559:30:1" + "src": "53021:30:0" }, "returnParameters": { - "id": 2809, + "id": 2301, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2808, + "id": 2300, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51628:7:1", + "scope": 2310, + "src": "53090:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28305,10 +28305,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2807, + "id": 2299, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51628:7:1", + "src": "53090:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28317,22 +28317,22 @@ "visibility": "internal" } ], - "src": "51627:9:1" + "src": "53089:9:0" }, - "scope": 3498, - "src": "51531:160:1", + "scope": 2990, + "src": "52993:162:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 690 + 182 ], "body": { - "id": 2829, + "id": 2321, "nodeType": "Block", - "src": "51832:138:1", + "src": "53301:141:0", "statements": [ { "expression": { @@ -28340,32 +28340,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2825, + "id": 2317, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "51942:12:1", + "referencedDeclaration": 2094, + "src": "53413:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2826, + "id": 2318, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 2340, - "src": "51942:19:1", + "referencedDeclaration": 1832, + "src": "53413:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" } }, - "id": 2827, + "id": 2319, "isConstant": false, "isLValue": false, "isPure": false, @@ -28373,57 +28373,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51942:21:1", + "src": "53413:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2824, - "id": 2828, + "functionReturnParameters": 2316, + "id": 2320, "nodeType": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ] }, "documentation": { - "id": 2819, + "id": 2311, "nodeType": "StructuredDocumentation", - "src": "51697:60:1", + "src": "53163:62:0", "text": " @dev See {IERC721Enumerable-totalSupply}." }, "functionSelector": "18160ddd", - "id": 2830, + "id": 2322, "implemented": true, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "overrides": { - "id": 2821, + "id": 2313, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51805:8:1" + "src": "53274:8:0" }, "parameters": { - "id": 2820, + "id": 2312, "nodeType": "ParameterList", "parameters": [], - "src": "51782:2:1" + "src": "53251:2:0" }, "returnParameters": { - "id": 2824, + "id": 2316, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2823, + "id": 2315, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2830, - "src": "51823:7:1", + "scope": 2322, + "src": "53292:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28431,10 +28431,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2822, + "id": 2314, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51823:7:1", + "src": "53292:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28443,37 +28443,37 @@ "visibility": "internal" } ], - "src": "51822:9:1" + "src": "53291:9:0" }, - "scope": 3498, - "src": "51762:208:1", + "scope": 2990, + "src": "53231:211:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 708 + 200 ], "body": { - "id": 2848, + "id": 2340, "nodeType": "Block", - "src": "52126:85:1", + "src": "53603:88:0", "statements": [ { "assignments": [ - 2840, + 2332, null ], "declarations": [ { "constant": false, - "id": 2840, + "id": 2332, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2848, - "src": "52137:15:1", + "scope": 2340, + "src": "53615:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28481,10 +28481,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2839, + "id": 2331, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52137:7:1", + "src": "53615:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28494,16 +28494,16 @@ }, null ], - "id": 2845, + "id": 2337, "initialValue": { "arguments": [ { - "id": 2843, + "id": 2335, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2833, - "src": "52174:5:1", + "referencedDeclaration": 2325, + "src": "53652:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28518,32 +28518,32 @@ } ], "expression": { - "id": 2841, + "id": 2333, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "52158:12:1", + "referencedDeclaration": 2094, + "src": "53636:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2842, + "id": 2334, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 2379, - "src": "52158:15:1", + "referencedDeclaration": 1871, + "src": "53636:15:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" } }, - "id": 2844, + "id": 2336, "isConstant": false, "isLValue": false, "isPure": false, @@ -28551,7 +28551,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52158:22:1", + "src": "53636:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_$", @@ -28559,59 +28559,59 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "expression": { - "id": 2846, + "id": 2338, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2840, - "src": "52197:7:1", + "referencedDeclaration": 2332, + "src": "53676:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2838, - "id": 2847, + "functionReturnParameters": 2330, + "id": 2339, "nodeType": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ] }, "documentation": { - "id": 2831, + "id": 2323, "nodeType": "StructuredDocumentation", - "src": "51976:61:1", + "src": "53450:63:0", "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, "functionSelector": "4f6ccce7", - "id": 2849, + "id": 2341, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2835, + "id": 2327, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52099:8:1" + "src": "53576:8:0" }, "parameters": { - "id": 2834, + "id": 2326, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2833, + "id": 2325, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52064:13:1", + "scope": 2341, + "src": "53541:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28619,10 +28619,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2832, + "id": 2324, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52064:7:1", + "src": "53541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28631,20 +28631,20 @@ "visibility": "internal" } ], - "src": "52063:15:1" + "src": "53540:15:0" }, "returnParameters": { - "id": 2838, + "id": 2330, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2837, + "id": 2329, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52117:7:1", + "scope": 2341, + "src": "53594:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28652,10 +28652,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2836, + "id": 2328, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52117:7:1", + "src": "53594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28664,36 +28664,36 @@ "visibility": "internal" } ], - "src": "52116:9:1" + "src": "53593:9:0" }, - "scope": 3498, - "src": "52042:169:1", + "scope": 2990, + "src": "53519:172:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 616 + 108 ], "body": { - "id": 2892, + "id": 2384, "nodeType": "Block", - "src": "52338:325:1", + "src": "53823:334:0", "statements": [ { "assignments": [ - 2859 + 2351 ], "declarations": [ { "constant": false, - "id": 2859, + "id": 2351, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2892, - "src": "52348:13:1", + "scope": 2384, + "src": "53834:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28701,10 +28701,10 @@ "typeString": "address" }, "typeName": { - "id": 2858, + "id": 2350, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52348:7:1", + "src": "53834:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28714,16 +28714,16 @@ "visibility": "internal" } ], - "id": 2864, + "id": 2356, "initialValue": { "arguments": [ { - "id": 2862, + "id": 2354, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52379:7:1", + "referencedDeclaration": 2346, + "src": "53865:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28738,32 +28738,32 @@ } ], "expression": { - "id": 2860, + "id": 2352, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52364:6:1", + "referencedDeclaration": 2990, + "src": "53850:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2861, + "id": 2353, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "52364:14:1", + "referencedDeclaration": 2194, + "src": "53850:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 2863, + "id": 2355, "isConstant": false, "isLValue": false, "isPure": false, @@ -28771,7 +28771,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52364:23:1", + "src": "53850:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -28779,7 +28779,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "expression": { @@ -28789,18 +28789,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2868, + "id": 2360, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2866, + "id": 2358, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52405:2:1", + "referencedDeclaration": 2344, + "src": "53892:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28809,18 +28809,18 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 2867, + "id": 2359, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52411:5:1", + "referencedDeclaration": 2351, + "src": "53898:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52405:11:1", + "src": "53892:11:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28828,14 +28828,14 @@ }, { "hexValue": "4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572", - "id": 2869, + "id": 2361, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52418:35:1", + "src": "53905:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942", "typeString": "literal_string \"ERC721: approval to current owner\"" @@ -28854,7 +28854,7 @@ "typeString": "literal_string \"ERC721: approval to current owner\"" } ], - "id": 2865, + "id": 2357, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -28862,13 +28862,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52397:7:1", + "src": "53884:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2870, + "id": 2362, "isConstant": false, "isLValue": false, "isPure": false, @@ -28876,16 +28876,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52397:57:1", + "src": "53884:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2871, + "id": 2363, "nodeType": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "expression": { @@ -28895,7 +28895,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 2883, + "id": 2375, "isConstant": false, "isLValue": false, "isPure": false, @@ -28905,7 +28905,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2876, + "id": 2368, "isConstant": false, "isLValue": false, "isPure": false, @@ -28914,18 +28914,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2873, + "id": 2365, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52473:10:1", + "referencedDeclaration": 10, + "src": "53962:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2874, + "id": 2366, "isConstant": false, "isLValue": false, "isPure": false, @@ -28933,7 +28933,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52473:12:1", + "src": "53962:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -28943,18 +28943,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 2875, + "id": 2367, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52489:5:1", + "referencedDeclaration": 2351, + "src": "53978:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52473:21:1", + "src": "53962:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28965,12 +28965,12 @@ "rightExpression": { "arguments": [ { - "id": 2879, + "id": 2371, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52522:5:1", + "referencedDeclaration": 2351, + "src": "54011:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28980,18 +28980,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2880, + "id": 2372, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52529:10:1", + "referencedDeclaration": 10, + "src": "54018:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2881, + "id": 2373, "isConstant": false, "isLValue": false, "isPure": false, @@ -28999,7 +28999,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52529:12:1", + "src": "54018:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29019,32 +29019,32 @@ } ], "expression": { - "id": 2877, + "id": 2369, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52498:6:1", + "referencedDeclaration": 2990, + "src": "53987:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2878, + "id": 2370, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "52498:23:1", + "referencedDeclaration": 2458, + "src": "53987:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 2882, + "id": 2374, "isConstant": false, "isLValue": false, "isPure": false, @@ -29052,14 +29052,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52498:44:1", + "src": "53987:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "52473:69:1", + "src": "53962:69:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29067,14 +29067,14 @@ }, { "hexValue": "4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c", - "id": 2884, + "id": 2376, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52556:58:1", + "src": "54046:58:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_6d83cef3e0cb19b8320a9c5feb26b56bbb08f152a8e61b12eca3302d8d68b23d", "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" @@ -29093,7 +29093,7 @@ "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" } ], - "id": 2872, + "id": 2364, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29101,13 +29101,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52465:7:1", + "src": "53954:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2885, + "id": 2377, "isConstant": false, "isLValue": false, "isPure": false, @@ -29115,39 +29115,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52465:159:1", + "src": "53954:161:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2886, + "id": 2378, "nodeType": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "expression": { "arguments": [ { - "id": 2888, + "id": 2380, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52644:2:1", + "referencedDeclaration": 2344, + "src": "54137:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2889, + "id": 2381, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52648:7:1", + "referencedDeclaration": 2346, + "src": "54141:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29165,18 +29165,18 @@ "typeString": "uint256" } ], - "id": 2887, + "id": 2379, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "52635:8:1", + "referencedDeclaration": 2978, + "src": "54128:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 2890, + "id": 2382, "isConstant": false, "isLValue": false, "isPure": false, @@ -29184,50 +29184,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52635:21:1", + "src": "54128:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2891, + "id": 2383, "nodeType": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ] }, "documentation": { - "id": 2850, + "id": 2342, "nodeType": "StructuredDocumentation", - "src": "52217:46:1", + "src": "53699:48:0", "text": " @dev See {IERC721-approve}." }, "functionSelector": "095ea7b3", - "id": 2893, + "id": 2385, "implemented": true, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "overrides": { - "id": 2856, + "id": 2348, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52329:8:1" + "src": "53814:8:0" }, "parameters": { - "id": 2855, + "id": 2347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2852, + "id": 2344, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52285:10:1", + "scope": 2385, + "src": "53770:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29235,10 +29235,10 @@ "typeString": "address" }, "typeName": { - "id": 2851, + "id": 2343, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52285:7:1", + "src": "53770:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29249,12 +29249,12 @@ }, { "constant": false, - "id": 2854, + "id": 2346, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52297:15:1", + "scope": 2385, + "src": "53782:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29262,10 +29262,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2853, + "id": 2345, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52297:7:1", + "src": "53782:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29274,28 +29274,28 @@ "visibility": "internal" } ], - "src": "52284:29:1" + "src": "53769:29:0" }, "returnParameters": { - "id": 2857, + "id": 2349, "nodeType": "ParameterList", "parameters": [], - "src": "52338:0:1" + "src": "53823:0:0" }, - "scope": 3498, - "src": "52268:395:1", + "scope": 2990, + "src": "53753:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 624 + 116 ], "body": { - "id": 2913, + "id": 2405, "nodeType": "Block", - "src": "52809:132:1", + "src": "54308:136:0", "statements": [ { "expression": { @@ -29303,12 +29303,12 @@ { "arguments": [ { - "id": 2904, + "id": 2396, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52835:7:1", + "referencedDeclaration": 2388, + "src": "54335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29322,18 +29322,18 @@ "typeString": "uint256" } ], - "id": 2903, + "id": 2395, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "52827:7:1", + "referencedDeclaration": 2577, + "src": "54327:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2905, + "id": 2397, "isConstant": false, "isLValue": false, "isPure": false, @@ -29341,7 +29341,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52827:16:1", + "src": "54327:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -29350,14 +29350,14 @@ }, { "hexValue": "4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2906, + "id": 2398, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52845:46:1", + "src": "54345:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9291e0f44949204f2e9b40e6be090924979d6047b2365868f4e9f027722eb89d", "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" @@ -29376,7 +29376,7 @@ "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" } ], - "id": 2902, + "id": 2394, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29384,13 +29384,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52819:7:1", + "src": "54319:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2907, + "id": 2399, "isConstant": false, "isLValue": false, "isPure": false, @@ -29398,39 +29398,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52819:73:1", + "src": "54319:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2908, + "id": 2400, "nodeType": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "expression": { "baseExpression": { - "id": 2909, + "id": 2401, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "52910:15:1", + "referencedDeclaration": 2098, + "src": "54412:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 2911, + "id": 2403, "indexExpression": { - "id": 2910, + "id": 2402, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52926:7:1", + "referencedDeclaration": 2388, + "src": "54428:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29441,50 +29441,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "52910:24:1", + "src": "54412:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2901, - "id": 2912, + "functionReturnParameters": 2393, + "id": 2404, "nodeType": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ] }, "documentation": { - "id": 2894, + "id": 2386, "nodeType": "StructuredDocumentation", - "src": "52669:50:1", + "src": "54165:52:0", "text": " @dev See {IERC721-getApproved}." }, "functionSelector": "081812fc", - "id": 2914, + "id": 2406, "implemented": true, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "overrides": { - "id": 2898, + "id": 2390, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52782:8:1" + "src": "54281:8:0" }, "parameters": { - "id": 2897, + "id": 2389, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2896, + "id": 2388, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52745:15:1", + "scope": 2406, + "src": "54244:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29492,10 +29492,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2895, + "id": 2387, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52745:7:1", + "src": "54244:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29504,20 +29504,20 @@ "visibility": "internal" } ], - "src": "52744:17:1" + "src": "54243:17:0" }, "returnParameters": { - "id": 2901, + "id": 2393, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2900, + "id": 2392, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52800:7:1", + "scope": 2406, + "src": "54299:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29525,10 +29525,10 @@ "typeString": "address" }, "typeName": { - "id": 2899, + "id": 2391, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52800:7:1", + "src": "54299:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29538,22 +29538,22 @@ "visibility": "internal" } ], - "src": "52799:9:1" + "src": "54298:9:0" }, - "scope": 3498, - "src": "52724:217:1", + "scope": 2990, + "src": "54223:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 632 + 124 ], "body": { - "id": 2947, + "id": 2439, "nodeType": "Block", - "src": "53092:206:1", + "src": "54600:211:0", "statements": [ { "expression": { @@ -29563,18 +29563,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2927, + "id": 2419, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2924, + "id": 2416, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53110:8:1", + "referencedDeclaration": 2409, + "src": "54619:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29586,18 +29586,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2925, + "id": 2417, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53122:10:1", + "referencedDeclaration": 10, + "src": "54631:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2926, + "id": 2418, "isConstant": false, "isLValue": false, "isPure": false, @@ -29605,14 +29605,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53122:12:1", + "src": "54631:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "53110:24:1", + "src": "54619:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29620,14 +29620,14 @@ }, { "hexValue": "4552433732313a20617070726f766520746f2063616c6c6572", - "id": 2928, + "id": 2420, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53136:27:1", + "src": "54645:27:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05", "typeString": "literal_string \"ERC721: approve to caller\"" @@ -29646,7 +29646,7 @@ "typeString": "literal_string \"ERC721: approve to caller\"" } ], - "id": 2923, + "id": 2415, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29654,13 +29654,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53102:7:1", + "src": "54611:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2929, + "id": 2421, "isConstant": false, "isLValue": false, "isPure": false, @@ -29668,20 +29668,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53102:62:1", + "src": "54611:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2930, + "id": 2422, "nodeType": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "expression": { - "id": 2938, + "id": 2430, "isConstant": false, "isLValue": false, "isPure": false, @@ -29689,34 +29689,34 @@ "leftHandSide": { "baseExpression": { "baseExpression": { - "id": 2931, + "id": 2423, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53175:18:1", + "referencedDeclaration": 2104, + "src": "54686:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2935, + "id": 2427, "indexExpression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2932, + "id": 2424, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53194:10:1", + "referencedDeclaration": 10, + "src": "54705:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2933, + "id": 2425, "isConstant": false, "isLValue": false, "isPure": false, @@ -29724,7 +29724,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53194:12:1", + "src": "54705:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29736,20 +29736,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53175:32:1", + "src": "54686:32:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2936, + "id": 2428, "indexExpression": { - "id": 2934, + "id": 2426, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53208:8:1", + "referencedDeclaration": 2409, + "src": "54719:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29760,7 +29760,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "53175:42:1", + "src": "54686:42:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29769,26 +29769,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2937, + "id": 2429, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53220:8:1", + "referencedDeclaration": 2411, + "src": "54731:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "53175:53:1", + "src": "54686:53:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2939, + "id": 2431, "nodeType": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "eventCall": { @@ -29797,18 +29797,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2941, + "id": 2433, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53258:10:1", + "referencedDeclaration": 10, + "src": "54770:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2942, + "id": 2434, "isConstant": false, "isLValue": false, "isPure": false, @@ -29816,7 +29816,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53258:12:1", + "src": "54770:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29824,24 +29824,24 @@ } }, { - "id": 2943, + "id": 2435, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53272:8:1", + "referencedDeclaration": 2409, + "src": "54784:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2944, + "id": 2436, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53282:8:1", + "referencedDeclaration": 2411, + "src": "54794:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29863,18 +29863,18 @@ "typeString": "bool" } ], - "id": 2940, + "id": 2432, "name": "ApprovalForAll", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 572, - "src": "53243:14:1", + "referencedDeclaration": 64, + "src": "54755:14:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", "typeString": "function (address,address,bool)" } }, - "id": 2945, + "id": 2437, "isConstant": false, "isLValue": false, "isPure": false, @@ -29882,50 +29882,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53243:48:1", + "src": "54755:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2946, + "id": 2438, "nodeType": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ] }, "documentation": { - "id": 2915, + "id": 2407, "nodeType": "StructuredDocumentation", - "src": "52947:56:1", + "src": "54452:58:0", "text": " @dev See {IERC721-setApprovalForAll}." }, "functionSelector": "a22cb465", - "id": 2948, + "id": 2440, "implemented": true, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2921, + "id": 2413, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53083:8:1" + "src": "54591:8:0" }, "parameters": { - "id": 2920, + "id": 2412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2917, + "id": 2409, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53035:16:1", + "scope": 2440, + "src": "54543:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29933,10 +29933,10 @@ "typeString": "address" }, "typeName": { - "id": 2916, + "id": 2408, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53035:7:1", + "src": "54543:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29947,12 +29947,12 @@ }, { "constant": false, - "id": 2919, + "id": 2411, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53053:13:1", + "scope": 2440, + "src": "54561:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29960,10 +29960,10 @@ "typeString": "bool" }, "typeName": { - "id": 2918, + "id": 2410, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53053:4:1", + "src": "54561:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29972,52 +29972,52 @@ "visibility": "internal" } ], - "src": "53034:33:1" + "src": "54542:33:0" }, "returnParameters": { - "id": 2922, + "id": 2414, "nodeType": "ParameterList", "parameters": [], - "src": "53092:0:1" + "src": "54600:0:0" }, - "scope": 3498, - "src": "53008:290:1", + "scope": 2990, + "src": "54516:295:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 642 + 134 ], "body": { - "id": 2965, + "id": 2457, "nodeType": "Block", - "src": "53467:59:1", + "src": "54985:61:0", "statements": [ { "expression": { "baseExpression": { "baseExpression": { - "id": 2959, + "id": 2451, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53484:18:1", + "referencedDeclaration": 2104, + "src": "55003:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2961, + "id": 2453, "indexExpression": { - "id": 2960, + "id": 2452, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2951, - "src": "53503:5:1", + "referencedDeclaration": 2443, + "src": "55022:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30028,20 +30028,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:25:1", + "src": "55003:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2963, + "id": 2455, "indexExpression": { - "id": 2962, + "id": 2454, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2953, - "src": "53510:8:1", + "referencedDeclaration": 2445, + "src": "55029:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30052,50 +30052,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:35:1", + "src": "55003:35:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2958, - "id": 2964, + "functionReturnParameters": 2450, + "id": 2456, "nodeType": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ] }, "documentation": { - "id": 2949, + "id": 2441, "nodeType": "StructuredDocumentation", - "src": "53304:55:1", + "src": "54819:57:0", "text": " @dev See {IERC721-isApprovedForAll}." }, "functionSelector": "e985e9c5", - "id": 2966, + "id": 2458, "implemented": true, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2955, + "id": 2447, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53443:8:1" + "src": "54961:8:0" }, "parameters": { - "id": 2954, + "id": 2446, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2951, + "id": 2443, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53390:13:1", + "scope": 2458, + "src": "54908:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30103,10 +30103,10 @@ "typeString": "address" }, "typeName": { - "id": 2950, + "id": 2442, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53390:7:1", + "src": "54908:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30117,12 +30117,12 @@ }, { "constant": false, - "id": 2953, + "id": 2445, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53405:16:1", + "scope": 2458, + "src": "54923:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30130,10 +30130,10 @@ "typeString": "address" }, "typeName": { - "id": 2952, + "id": 2444, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53405:7:1", + "src": "54923:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30143,20 +30143,20 @@ "visibility": "internal" } ], - "src": "53389:33:1" + "src": "54907:33:0" }, "returnParameters": { - "id": 2958, + "id": 2450, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2957, + "id": 2449, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53461:4:1", + "scope": 2458, + "src": "54979:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30164,10 +30164,10 @@ "typeString": "bool" }, "typeName": { - "id": 2956, + "id": 2448, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53461:4:1", + "src": "54979:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30176,22 +30176,22 @@ "visibility": "internal" } ], - "src": "53460:6:1" + "src": "54978:6:0" }, - "scope": 3498, - "src": "53364:162:1", + "scope": 2990, + "src": "54882:164:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 608 + 100 ], "body": { - "id": 2992, + "id": 2484, "nodeType": "Block", - "src": "53677:211:1", + "src": "55202:216:0", "statements": [ { "expression": { @@ -30202,18 +30202,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2979, + "id": 2471, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53766:10:1", + "referencedDeclaration": 10, + "src": "55293:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2980, + "id": 2472, "isConstant": false, "isLValue": false, "isPure": false, @@ -30221,7 +30221,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53766:12:1", + "src": "55293:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30229,12 +30229,12 @@ } }, { - "id": 2981, + "id": 2473, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53780:7:1", + "referencedDeclaration": 2465, + "src": "55307:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30252,18 +30252,18 @@ "typeString": "uint256" } ], - "id": 2978, + "id": 2470, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "53747:18:1", + "referencedDeclaration": 2619, + "src": "55274:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 2982, + "id": 2474, "isConstant": false, "isLValue": false, "isPure": false, @@ -30271,7 +30271,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53747:41:1", + "src": "55274:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30280,14 +30280,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 2983, + "id": 2475, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53790:51:1", + "src": "55317:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30306,7 +30306,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 2977, + "id": 2469, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30314,13 +30314,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53739:7:1", + "src": "55266:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2984, + "id": 2476, "isConstant": false, "isLValue": false, "isPure": false, @@ -30328,51 +30328,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53739:103:1", + "src": "55266:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2985, + "id": 2477, "nodeType": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "expression": { "arguments": [ { - "id": 2987, + "id": 2479, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2969, - "src": "53863:4:1", + "referencedDeclaration": 2461, + "src": "55392:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2988, + "id": 2480, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2971, - "src": "53869:2:1", + "referencedDeclaration": 2463, + "src": "55398:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2989, + "id": 2481, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53873:7:1", + "referencedDeclaration": 2465, + "src": "55402:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30394,18 +30394,18 @@ "typeString": "uint256" } ], - "id": 2986, + "id": 2478, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "53853:9:1", + "referencedDeclaration": 2863, + "src": "55382:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 2990, + "id": 2482, "isConstant": false, "isLValue": false, "isPure": false, @@ -30413,50 +30413,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53853:28:1", + "src": "55382:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2991, + "id": 2483, "nodeType": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ] }, "documentation": { - "id": 2967, + "id": 2459, "nodeType": "StructuredDocumentation", - "src": "53532:51:1", + "src": "55054:53:0", "text": " @dev See {IERC721-transferFrom}." }, "functionSelector": "23b872dd", - "id": 2993, + "id": 2485, "implemented": true, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 2975, + "id": 2467, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53668:8:1" + "src": "55193:8:0" }, "parameters": { - "id": 2974, + "id": 2466, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2969, + "id": 2461, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53610:12:1", + "scope": 2485, + "src": "55135:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30464,10 +30464,10 @@ "typeString": "address" }, "typeName": { - "id": 2968, + "id": 2460, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53610:7:1", + "src": "55135:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30478,12 +30478,12 @@ }, { "constant": false, - "id": 2971, + "id": 2463, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53624:10:1", + "scope": 2485, + "src": "55149:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30491,10 +30491,10 @@ "typeString": "address" }, "typeName": { - "id": 2970, + "id": 2462, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53624:7:1", + "src": "55149:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30505,12 +30505,12 @@ }, { "constant": false, - "id": 2973, + "id": 2465, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53636:15:1", + "scope": 2485, + "src": "55161:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30518,10 +30518,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2972, + "id": 2464, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "53636:7:1", + "src": "55161:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30530,63 +30530,63 @@ "visibility": "internal" } ], - "src": "53609:43:1" + "src": "55134:43:0" }, "returnParameters": { - "id": 2976, + "id": 2468, "nodeType": "ParameterList", "parameters": [], - "src": "53677:0:1" + "src": "55202:0:0" }, - "scope": 3498, - "src": "53588:300:1", + "scope": 2990, + "src": "55113:305:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 598 + 90 ], "body": { - "id": 3011, + "id": 2503, "nodeType": "Block", - "src": "54047:56:1", + "src": "55582:58:0", "statements": [ { "expression": { "arguments": [ { - "id": 3005, + "id": 2497, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2996, - "src": "54074:4:1", + "referencedDeclaration": 2488, + "src": "55610:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3006, + "id": 2498, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2998, - "src": "54080:2:1", + "referencedDeclaration": 2490, + "src": "55616:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3007, + "id": 2499, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3000, - "src": "54084:7:1", + "referencedDeclaration": 2492, + "src": "55620:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30594,14 +30594,14 @@ }, { "hexValue": "", - "id": 3008, + "id": 2500, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54093:2:1", + "src": "55629:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -30628,21 +30628,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3004, + "id": 2496, "name": "safeTransferFrom", "nodeType": "Identifier", "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, - "src": "54057:16:1", + "referencedDeclaration": 2534, + "src": "55593:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3009, + "id": 2501, "isConstant": false, "isLValue": false, "isPure": false, @@ -30650,50 +30650,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54057:39:1", + "src": "55593:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3010, + "id": 2502, "nodeType": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ] }, "documentation": { - "id": 2994, + "id": 2486, "nodeType": "StructuredDocumentation", - "src": "53894:55:1", + "src": "55426:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "42842e0e", - "id": 3012, + "id": 2504, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3002, + "id": 2494, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54038:8:1" + "src": "55573:8:0" }, "parameters": { - "id": 3001, + "id": 2493, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2996, + "id": 2488, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53980:12:1", + "scope": 2504, + "src": "55515:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30701,10 +30701,10 @@ "typeString": "address" }, "typeName": { - "id": 2995, + "id": 2487, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53980:7:1", + "src": "55515:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30715,12 +30715,12 @@ }, { "constant": false, - "id": 2998, + "id": 2490, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53994:10:1", + "scope": 2504, + "src": "55529:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30728,10 +30728,10 @@ "typeString": "address" }, "typeName": { - "id": 2997, + "id": 2489, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53994:7:1", + "src": "55529:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30742,12 +30742,12 @@ }, { "constant": false, - "id": 3000, + "id": 2492, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "54006:15:1", + "scope": 2504, + "src": "55541:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30755,10 +30755,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2999, + "id": 2491, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54006:7:1", + "src": "55541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30767,28 +30767,28 @@ "visibility": "internal" } ], - "src": "53979:43:1" + "src": "55514:43:0" }, "returnParameters": { - "id": 3003, + "id": 2495, "nodeType": "ParameterList", "parameters": [], - "src": "54047:0:1" + "src": "55582:0:0" }, - "scope": 3498, - "src": "53954:149:1", + "scope": 2990, + "src": "55489:151:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 654 + 146 ], "body": { - "id": 3041, + "id": 2533, "nodeType": "Block", - "src": "54282:169:1", + "src": "55824:172:0", "statements": [ { "expression": { @@ -30799,18 +30799,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3027, + "id": 2519, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "54319:10:1", + "referencedDeclaration": 10, + "src": "55862:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3028, + "id": 2520, "isConstant": false, "isLValue": false, "isPure": false, @@ -30818,7 +30818,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54319:12:1", + "src": "55862:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30826,12 +30826,12 @@ } }, { - "id": 3029, + "id": 2521, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54333:7:1", + "referencedDeclaration": 2511, + "src": "55876:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30849,18 +30849,18 @@ "typeString": "uint256" } ], - "id": 3026, + "id": 2518, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "54300:18:1", + "referencedDeclaration": 2619, + "src": "55843:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 3030, + "id": 2522, "isConstant": false, "isLValue": false, "isPure": false, @@ -30868,7 +30868,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54300:41:1", + "src": "55843:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30877,14 +30877,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 3031, + "id": 2523, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54343:51:1", + "src": "55886:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30903,7 +30903,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 3025, + "id": 2517, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30911,13 +30911,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "54292:7:1", + "src": "55835:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3032, + "id": 2524, "isConstant": false, "isLValue": false, "isPure": false, @@ -30925,63 +30925,63 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54292:103:1", + "src": "55835:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3033, + "id": 2525, "nodeType": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "expression": { "arguments": [ { - "id": 3035, + "id": 2527, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3015, - "src": "54419:4:1", + "referencedDeclaration": 2507, + "src": "55963:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3036, + "id": 2528, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3017, - "src": "54425:2:1", + "referencedDeclaration": 2509, + "src": "55969:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3037, + "id": 2529, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54429:7:1", + "referencedDeclaration": 2511, + "src": "55973:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3038, + "id": 2530, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3021, - "src": "54438:5:1", + "referencedDeclaration": 2513, + "src": "55982:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31007,18 +31007,18 @@ "typeString": "bytes memory" } ], - "id": 3034, + "id": 2526, "name": "_safeTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3071, - "src": "54405:13:1", + "referencedDeclaration": 2563, + "src": "55949:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3039, + "id": 2531, "isConstant": false, "isLValue": false, "isPure": false, @@ -31026,50 +31026,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54405:39:1", + "src": "55949:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3040, + "id": 2532, "nodeType": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ] }, "documentation": { - "id": 3013, + "id": 2505, "nodeType": "StructuredDocumentation", - "src": "54109:55:1", + "src": "55648:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "b88d4fde", - "id": 3042, + "id": 2534, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3023, + "id": 2515, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54273:8:1" + "src": "55815:8:0" }, "parameters": { - "id": 3022, + "id": 2514, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3015, + "id": 2507, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54195:12:1", + "scope": 2534, + "src": "55737:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31077,10 +31077,10 @@ "typeString": "address" }, "typeName": { - "id": 3014, + "id": 2506, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54195:7:1", + "src": "55737:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31091,12 +31091,12 @@ }, { "constant": false, - "id": 3017, + "id": 2509, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54209:10:1", + "scope": 2534, + "src": "55751:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31104,10 +31104,10 @@ "typeString": "address" }, "typeName": { - "id": 3016, + "id": 2508, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54209:7:1", + "src": "55751:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31118,12 +31118,12 @@ }, { "constant": false, - "id": 3019, + "id": 2511, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54221:15:1", + "scope": 2534, + "src": "55763:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31131,10 +31131,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3018, + "id": 2510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54221:7:1", + "src": "55763:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31144,12 +31144,12 @@ }, { "constant": false, - "id": 3021, + "id": 2513, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54238:18:1", + "scope": 2534, + "src": "55780:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31157,10 +31157,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3020, + "id": 2512, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "54238:5:1", + "src": "55780:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31169,60 +31169,60 @@ "visibility": "internal" } ], - "src": "54194:63:1" + "src": "55736:63:0" }, "returnParameters": { - "id": 3024, + "id": 2516, "nodeType": "ParameterList", "parameters": [], - "src": "54282:0:1" + "src": "55824:0:0" }, - "scope": 3498, - "src": "54169:282:1", + "scope": 2990, + "src": "55711:285:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "body": { - "id": 3070, + "id": 2562, "nodeType": "Block", - "src": "55416:166:1", + "src": "56981:169:0", "statements": [ { "expression": { "arguments": [ { - "id": 3055, + "id": 2547, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55436:4:1", + "referencedDeclaration": 2537, + "src": "57002:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3056, + "id": 2548, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55442:2:1", + "referencedDeclaration": 2539, + "src": "57008:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3057, + "id": 2549, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55446:7:1", + "referencedDeclaration": 2541, + "src": "57012:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31244,18 +31244,18 @@ "typeString": "uint256" } ], - "id": 3054, + "id": 2546, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "55426:9:1", + "referencedDeclaration": 2863, + "src": "56992:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3058, + "id": 2550, "isConstant": false, "isLValue": false, "isPure": false, @@ -31263,16 +31263,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55426:28:1", + "src": "56992:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3059, + "id": 2551, "nodeType": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "expression": { @@ -31280,48 +31280,48 @@ { "arguments": [ { - "id": 3062, + "id": 2554, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55495:4:1", + "referencedDeclaration": 2537, + "src": "57062:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3063, + "id": 2555, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55501:2:1", + "referencedDeclaration": 2539, + "src": "57068:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3064, + "id": 2556, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55505:7:1", + "referencedDeclaration": 2541, + "src": "57072:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3065, + "id": 2557, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3051, - "src": "55514:5:1", + "referencedDeclaration": 2543, + "src": "57081:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31347,18 +31347,18 @@ "typeString": "bytes memory" } ], - "id": 3061, + "id": 2553, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "55472:22:1", + "referencedDeclaration": 2954, + "src": "57039:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3066, + "id": 2558, "isConstant": false, "isLValue": false, "isPure": false, @@ -31366,7 +31366,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55472:48:1", + "src": "57039:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31375,14 +31375,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3067, + "id": 2559, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "55522:52:1", + "src": "57089:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -31401,7 +31401,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3060, + "id": 2552, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31409,13 +31409,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "55464:7:1", + "src": "57031:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3068, + "id": 2560, "isConstant": false, "isLValue": false, "isPure": false, @@ -31423,43 +31423,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55464:111:1", + "src": "57031:111:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3069, + "id": 2561, "nodeType": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ] }, "documentation": { - "id": 3043, + "id": 2535, "nodeType": "StructuredDocumentation", - "src": "54457:851:1", + "src": "56004:868:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3071, + "id": 2563, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3052, + "id": 2544, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3045, + "id": 2537, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55336:12:1", + "scope": 2563, + "src": "56901:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31467,10 +31467,10 @@ "typeString": "address" }, "typeName": { - "id": 3044, + "id": 2536, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55336:7:1", + "src": "56901:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31481,12 +31481,12 @@ }, { "constant": false, - "id": 3047, + "id": 2539, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55350:10:1", + "scope": 2563, + "src": "56915:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31494,10 +31494,10 @@ "typeString": "address" }, "typeName": { - "id": 3046, + "id": 2538, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55350:7:1", + "src": "56915:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31508,12 +31508,12 @@ }, { "constant": false, - "id": 3049, + "id": 2541, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55362:15:1", + "scope": 2563, + "src": "56927:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31521,10 +31521,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3048, + "id": 2540, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55362:7:1", + "src": "56927:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31534,12 +31534,12 @@ }, { "constant": false, - "id": 3051, + "id": 2543, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55379:18:1", + "scope": 2563, + "src": "56944:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31547,10 +31547,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3050, + "id": 2542, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "55379:5:1", + "src": "56944:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31559,36 +31559,36 @@ "visibility": "internal" } ], - "src": "55335:63:1" + "src": "56900:63:0" }, "returnParameters": { - "id": 3053, + "id": 2545, "nodeType": "ParameterList", "parameters": [], - "src": "55416:0:1" + "src": "56981:0:0" }, - "scope": 3498, - "src": "55313:269:1", + "scope": 2990, + "src": "56878:272:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3084, + "id": 2576, "nodeType": "Block", - "src": "55956:54:1", + "src": "57534:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 3081, + "id": 2573, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3074, - "src": "55995:7:1", + "referencedDeclaration": 2566, + "src": "57574:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31603,32 +31603,32 @@ } ], "expression": { - "id": 3079, + "id": 2571, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "55973:12:1", + "referencedDeclaration": 2094, + "src": "57552:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3080, + "id": 2572, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "contains", "nodeType": "MemberAccess", - "referencedDeclaration": 2326, - "src": "55973:21:1", + "referencedDeclaration": 1818, + "src": "57552:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" } }, - "id": 3082, + "id": 2574, "isConstant": false, "isLValue": false, "isPure": false, @@ -31636,44 +31636,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55973:30:1", + "src": "57552:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3078, - "id": 3083, + "functionReturnParameters": 2570, + "id": 2575, "nodeType": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ] }, "documentation": { - "id": 3072, + "id": 2564, "nodeType": "StructuredDocumentation", - "src": "55588:292:1", + "src": "57158:299:0", "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3085, + "id": 2577, "implemented": true, "kind": "function", "modifiers": [], "name": "_exists", "nodeType": "FunctionDefinition", "parameters": { - "id": 3075, + "id": 2567, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3074, + "id": 2566, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55902:15:1", + "scope": 2577, + "src": "57480:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31681,10 +31681,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3073, + "id": 2565, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55902:7:1", + "src": "57480:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31693,20 +31693,20 @@ "visibility": "internal" } ], - "src": "55901:17:1" + "src": "57479:17:0" }, "returnParameters": { - "id": 3078, + "id": 2570, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3077, + "id": 2569, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55950:4:1", + "scope": 2577, + "src": "57528:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31714,10 +31714,10 @@ "typeString": "bool" }, "typeName": { - "id": 3076, + "id": 2568, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "55950:4:1", + "src": "57528:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -31726,19 +31726,19 @@ "visibility": "internal" } ], - "src": "55949:6:1" + "src": "57527:6:0" }, - "scope": 3498, - "src": "55885:125:1", + "scope": 2990, + "src": "57463:127:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3126, + "id": 2618, "nodeType": "Block", - "src": "56267:252:1", + "src": "57856:256:0", "statements": [ { "expression": { @@ -31746,12 +31746,12 @@ { "arguments": [ { - "id": 3097, + "id": 2589, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56293:7:1", + "referencedDeclaration": 2582, + "src": "57883:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31765,18 +31765,18 @@ "typeString": "uint256" } ], - "id": 3096, + "id": 2588, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "56285:7:1", + "referencedDeclaration": 2577, + "src": "57875:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3098, + "id": 2590, "isConstant": false, "isLValue": false, "isPure": false, @@ -31784,7 +31784,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56285:16:1", + "src": "57875:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31793,14 +31793,14 @@ }, { "hexValue": "4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 3099, + "id": 2591, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56303:46:1", + "src": "57893:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5797d1ccb08b83980dd0c07ea40d8f6a64d35fff736a19bdd17522954cb0899c", "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" @@ -31819,7 +31819,7 @@ "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" } ], - "id": 3095, + "id": 2587, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31827,13 +31827,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "56277:7:1", + "src": "57867:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3100, + "id": 2592, "isConstant": false, "isLValue": false, "isPure": false, @@ -31841,30 +31841,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56277:73:1", + "src": "57867:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3101, + "id": 2593, "nodeType": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "assignments": [ - 3103 + 2595 ], "declarations": [ { "constant": false, - "id": 3103, + "id": 2595, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3126, - "src": "56360:13:1", + "scope": 2618, + "src": "57951:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31872,10 +31872,10 @@ "typeString": "address" }, "typeName": { - "id": 3102, + "id": 2594, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56360:7:1", + "src": "57951:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31885,16 +31885,16 @@ "visibility": "internal" } ], - "id": 3108, + "id": 2600, "initialValue": { "arguments": [ { - "id": 3106, + "id": 2598, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56391:7:1", + "referencedDeclaration": 2582, + "src": "57982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31909,32 +31909,32 @@ } ], "expression": { - "id": 3104, + "id": 2596, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56376:6:1", + "referencedDeclaration": 2990, + "src": "57967:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3105, + "id": 2597, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "56376:14:1", + "referencedDeclaration": 2194, + "src": "57967:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3107, + "id": 2599, "isConstant": false, "isLValue": false, "isPure": false, @@ -31942,7 +31942,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56376:23:1", + "src": "57967:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -31950,7 +31950,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "expression": { @@ -31960,7 +31960,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3123, + "id": 2615, "isConstant": false, "isLValue": false, "isPure": false, @@ -31970,7 +31970,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3117, + "id": 2609, "isConstant": false, "isLValue": false, "isPure": false, @@ -31980,18 +31980,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3111, + "id": 2603, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3109, + "id": 2601, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56417:7:1", + "referencedDeclaration": 2580, + "src": "58009:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32000,18 +32000,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3110, + "id": 2602, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56428:5:1", + "referencedDeclaration": 2595, + "src": "58020:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56417:16:1", + "src": "58009:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32024,7 +32024,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3116, + "id": 2608, "isConstant": false, "isLValue": false, "isPure": false, @@ -32032,12 +32032,12 @@ "leftExpression": { "arguments": [ { - "id": 3113, + "id": 2605, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56449:7:1", + "referencedDeclaration": 2582, + "src": "58041:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32051,18 +32051,18 @@ "typeString": "uint256" } ], - "id": 3112, + "id": 2604, "name": "getApproved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "56437:11:1", + "referencedDeclaration": 2406, + "src": "58029:11:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3114, + "id": 2606, "isConstant": false, "isLValue": false, "isPure": false, @@ -32070,7 +32070,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56437:20:1", + "src": "58029:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -32080,24 +32080,24 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3115, + "id": 2607, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56461:7:1", + "referencedDeclaration": 2580, + "src": "58053:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56437:31:1", + "src": "58029:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:51:1", + "src": "58009:51:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32108,24 +32108,24 @@ "rightExpression": { "arguments": [ { - "id": 3120, + "id": 2612, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56496:5:1", + "referencedDeclaration": 2595, + "src": "58088:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3121, + "id": 2613, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56503:7:1", + "referencedDeclaration": 2580, + "src": "58095:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32144,32 +32144,32 @@ } ], "expression": { - "id": 3118, + "id": 2610, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56472:6:1", + "referencedDeclaration": 2990, + "src": "58064:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3119, + "id": 2611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "56472:23:1", + "referencedDeclaration": 2458, + "src": "58064:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 3122, + "id": 2614, "isConstant": false, "isLValue": false, "isPure": false, @@ -32177,64 +32177,64 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56472:39:1", + "src": "58064:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:94:1", + "src": "58009:94:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3124, + "id": 2616, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "56416:96:1", + "src": "58008:96:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3094, - "id": 3125, + "functionReturnParameters": 2586, + "id": 2617, "nodeType": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ] }, "documentation": { - "id": 3086, + "id": 2578, "nodeType": "StructuredDocumentation", - "src": "56016:147:1", + "src": "57598:153:0", "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3127, + "id": 2619, "implemented": true, "kind": "function", "modifiers": [], "name": "_isApprovedOrOwner", "nodeType": "FunctionDefinition", "parameters": { - "id": 3091, + "id": 2583, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3088, + "id": 2580, "mutability": "mutable", "name": "spender", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56196:15:1", + "scope": 2619, + "src": "57785:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32242,10 +32242,10 @@ "typeString": "address" }, "typeName": { - "id": 3087, + "id": 2579, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56196:7:1", + "src": "57785:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32256,12 +32256,12 @@ }, { "constant": false, - "id": 3090, + "id": 2582, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56213:15:1", + "scope": 2619, + "src": "57802:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32269,10 +32269,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3089, + "id": 2581, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56213:7:1", + "src": "57802:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32281,20 +32281,20 @@ "visibility": "internal" } ], - "src": "56195:34:1" + "src": "57784:34:0" }, "returnParameters": { - "id": 3094, + "id": 2586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3093, + "id": 2585, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56261:4:1", + "scope": 2619, + "src": "57850:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32302,10 +32302,10 @@ "typeString": "bool" }, "typeName": { - "id": 3092, + "id": 2584, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "56261:4:1", + "src": "57850:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32314,42 +32314,42 @@ "visibility": "internal" } ], - "src": "56260:6:1" + "src": "57849:6:0" }, - "scope": 3498, - "src": "56168:351:1", + "scope": 2990, + "src": "57757:355:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3141, + "id": 2633, "nodeType": "Block", - "src": "56915:43:1", + "src": "58520:45:0", "statements": [ { "expression": { "arguments": [ { - "id": 3136, + "id": 2628, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3130, - "src": "56935:2:1", + "referencedDeclaration": 2622, + "src": "58541:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3137, + "id": 2629, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3132, - "src": "56939:7:1", + "referencedDeclaration": 2624, + "src": "58545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32357,14 +32357,14 @@ }, { "hexValue": "", - "id": 3138, + "id": 2630, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56948:2:1", + "src": "58554:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -32387,21 +32387,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3135, + "id": 2627, "name": "_safeMint", "nodeType": "Identifier", "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, - "src": "56925:9:1", + "referencedDeclaration": 2663, + "src": "58531:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,uint256,bytes memory)" } }, - "id": 3139, + "id": 2631, "isConstant": false, "isLValue": false, "isPure": false, @@ -32409,43 +32409,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56925:26:1", + "src": "58531:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3140, + "id": 2632, "nodeType": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ] }, "documentation": { - "id": 3128, + "id": 2620, "nodeType": "StructuredDocumentation", - "src": "56525:320:1", + "src": "58120:329:0", "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3142, + "id": 2634, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3133, + "id": 2625, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3130, + "id": 2622, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56869:10:1", + "scope": 2634, + "src": "58474:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32453,10 +32453,10 @@ "typeString": "address" }, "typeName": { - "id": 3129, + "id": 2621, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56869:7:1", + "src": "58474:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32467,12 +32467,12 @@ }, { "constant": false, - "id": 3132, + "id": 2624, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56881:15:1", + "scope": 2634, + "src": "58486:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32480,10 +32480,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3131, + "id": 2623, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56881:7:1", + "src": "58486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32492,48 +32492,48 @@ "visibility": "internal" } ], - "src": "56868:29:1" + "src": "58473:29:0" }, "returnParameters": { - "id": 3134, + "id": 2626, "nodeType": "ParameterList", "parameters": [], - "src": "56915:0:1" + "src": "58520:0:0" }, - "scope": 3498, - "src": "56850:108:1", + "scope": 2990, + "src": "58455:110:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3170, + "id": 2662, "nodeType": "Block", - "src": "57264:162:1", + "src": "58877:165:0", "statements": [ { "expression": { "arguments": [ { - "id": 3153, + "id": 2645, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57280:2:1", + "referencedDeclaration": 2637, + "src": "58894:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3154, + "id": 2646, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57284:7:1", + "referencedDeclaration": 2639, + "src": "58898:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32551,18 +32551,18 @@ "typeString": "uint256" } ], - "id": 3152, + "id": 2644, "name": "_mint", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3230, - "src": "57274:5:1", + "referencedDeclaration": 2722, + "src": "58888:5:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3155, + "id": 2647, "isConstant": false, "isLValue": false, "isPure": false, @@ -32570,16 +32570,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57274:18:1", + "src": "58888:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3156, + "id": 2648, "nodeType": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "expression": { @@ -32590,14 +32590,14 @@ "arguments": [ { "hexValue": "30", - "id": 3161, + "id": 2653, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57341:1:1", + "src": "58956:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -32612,26 +32612,26 @@ "typeString": "int_const 0" } ], - "id": 3160, + "id": 2652, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3159, + "id": 2651, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": {} } }, - "id": 3162, + "id": 2654, "isConstant": false, "isLValue": false, "isPure": true, @@ -32639,7 +32639,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57333:10:1", + "src": "58948:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -32647,36 +32647,36 @@ } }, { - "id": 3163, + "id": 2655, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57345:2:1", + "referencedDeclaration": 2637, + "src": "58960:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3164, + "id": 2656, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57349:7:1", + "referencedDeclaration": 2639, + "src": "58964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3165, + "id": 2657, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3149, - "src": "57358:5:1", + "referencedDeclaration": 2641, + "src": "58973:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -32702,18 +32702,18 @@ "typeString": "bytes memory" } ], - "id": 3158, + "id": 2650, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "57310:22:1", + "referencedDeclaration": 2954, + "src": "58925:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3166, + "id": 2658, "isConstant": false, "isLValue": false, "isPure": false, @@ -32721,7 +32721,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57310:54:1", + "src": "58925:54:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -32730,14 +32730,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3167, + "id": 2659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57366:52:1", + "src": "58981:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -32756,7 +32756,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3157, + "id": 2649, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -32764,13 +32764,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57302:7:1", + "src": "58917:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3168, + "id": 2660, "isConstant": false, "isLValue": false, "isPure": false, @@ -32778,43 +32778,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57302:117:1", + "src": "58917:117:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3169, + "id": 2661, "nodeType": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ] }, "documentation": { - "id": 3143, + "id": 2635, "nodeType": "StructuredDocumentation", - "src": "56964:210:1", + "src": "58573:213:0", "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3171, + "id": 2663, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3150, + "id": 2642, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3145, + "id": 2637, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57198:10:1", + "scope": 2663, + "src": "58811:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32822,10 +32822,10 @@ "typeString": "address" }, "typeName": { - "id": 3144, + "id": 2636, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57198:7:1", + "src": "58811:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32836,12 +32836,12 @@ }, { "constant": false, - "id": 3147, + "id": 2639, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57210:15:1", + "scope": 2663, + "src": "58823:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32849,10 +32849,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3146, + "id": 2638, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57210:7:1", + "src": "58823:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32862,12 +32862,12 @@ }, { "constant": false, - "id": 3149, + "id": 2641, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57227:18:1", + "scope": 2663, + "src": "58840:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -32875,10 +32875,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3148, + "id": 2640, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "57227:5:1", + "src": "58840:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -32887,25 +32887,25 @@ "visibility": "internal" } ], - "src": "57197:49:1" + "src": "58810:49:0" }, "returnParameters": { - "id": 3151, + "id": 2643, "nodeType": "ParameterList", "parameters": [], - "src": "57264:0:1" + "src": "58877:0:0" }, - "scope": 3498, - "src": "57179:247:1", + "scope": 2990, + "src": "58792:250:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3229, + "id": 2721, "nodeType": "Block", - "src": "57809:332:1", + "src": "59439:343:0", "statements": [ { "expression": { @@ -32915,18 +32915,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3185, + "id": 2677, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3180, + "id": 2672, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57827:2:1", + "referencedDeclaration": 2666, + "src": "59458:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32938,14 +32938,14 @@ "arguments": [ { "hexValue": "30", - "id": 3183, + "id": 2675, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57841:1:1", + "src": "59472:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -32960,26 +32960,26 @@ "typeString": "int_const 0" } ], - "id": 3182, + "id": 2674, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3181, + "id": 2673, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": {} } }, - "id": 3184, + "id": 2676, "isConstant": false, "isLValue": false, "isPure": true, @@ -32987,14 +32987,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57833:10:1", + "src": "59464:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "57827:16:1", + "src": "59458:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -33002,14 +33002,14 @@ }, { "hexValue": "4552433732313a206d696e7420746f20746865207a65726f2061646472657373", - "id": 3186, + "id": 2678, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57845:34:1", + "src": "59476:34:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6", "typeString": "literal_string \"ERC721: mint to the zero address\"" @@ -33028,7 +33028,7 @@ "typeString": "literal_string \"ERC721: mint to the zero address\"" } ], - "id": 3179, + "id": 2671, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33036,13 +33036,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57819:7:1", + "src": "59450:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3187, + "id": 2679, "isConstant": false, "isLValue": false, "isPure": false, @@ -33050,22 +33050,22 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57819:61:1", + "src": "59450:61:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3188, + "id": 2680, "nodeType": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "expression": { "arguments": [ { - "id": 3193, + "id": 2685, "isConstant": false, "isLValue": false, "isPure": false, @@ -33073,16 +33073,16 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "57898:17:1", + "src": "59530:17:0", "subExpression": { "arguments": [ { - "id": 3191, + "id": 2683, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57907:7:1", + "referencedDeclaration": 2668, + "src": "59539:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33096,18 +33096,18 @@ "typeString": "uint256" } ], - "id": 3190, + "id": 2682, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "57899:7:1", + "referencedDeclaration": 2577, + "src": "59531:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3192, + "id": 2684, "isConstant": false, "isLValue": false, "isPure": false, @@ -33115,7 +33115,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57899:16:1", + "src": "59531:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -33129,14 +33129,14 @@ }, { "hexValue": "4552433732313a20746f6b656e20616c7265616479206d696e746564", - "id": 3194, + "id": 2686, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57917:30:1", + "src": "59549:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57", "typeString": "literal_string \"ERC721: token already minted\"" @@ -33155,7 +33155,7 @@ "typeString": "literal_string \"ERC721: token already minted\"" } ], - "id": 3189, + "id": 2681, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33163,13 +33163,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57890:7:1", + "src": "59522:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3195, + "id": 2687, "isConstant": false, "isLValue": false, "isPure": false, @@ -33177,16 +33177,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57890:58:1", + "src": "59522:58:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3196, + "id": 2688, "nodeType": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "expression": { @@ -33195,14 +33195,14 @@ "arguments": [ { "hexValue": "30", - "id": 3200, + "id": 2692, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57988:1:1", + "src": "59622:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33217,26 +33217,26 @@ "typeString": "int_const 0" } ], - "id": 3199, + "id": 2691, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3198, + "id": 2690, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": {} } }, - "id": 3201, + "id": 2693, "isConstant": false, "isLValue": false, "isPure": true, @@ -33244,7 +33244,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57980:10:1", + "src": "59614:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33252,24 +33252,24 @@ } }, { - "id": 3202, + "id": 2694, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57992:2:1", + "referencedDeclaration": 2666, + "src": "59626:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3203, + "id": 2695, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57996:7:1", + "referencedDeclaration": 2668, + "src": "59630:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33291,18 +33291,18 @@ "typeString": "uint256" } ], - "id": 3197, + "id": 2689, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "57959:20:1", + "referencedDeclaration": 2989, + "src": "59593:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3204, + "id": 2696, "isConstant": false, "isLValue": false, "isPure": false, @@ -33310,27 +33310,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57959:45:1", + "src": "59593:45:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3205, + "id": 2697, "nodeType": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "expression": { "arguments": [ { - "id": 3210, + "id": 2702, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58037:7:1", + "referencedDeclaration": 2668, + "src": "59673:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33346,25 +33346,25 @@ ], "expression": { "baseExpression": { - "id": 3206, + "id": 2698, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58015:13:1", + "referencedDeclaration": 2092, + "src": "59651:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3208, + "id": 2700, "indexExpression": { - "id": 3207, + "id": 2699, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58029:2:1", + "referencedDeclaration": 2666, + "src": "59665:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33375,27 +33375,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58015:17:1", + "src": "59651:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3209, + "id": 2701, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "58015:21:1", + "referencedDeclaration": 1338, + "src": "59651:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3211, + "id": 2703, "isConstant": false, "isLValue": false, "isPure": false, @@ -33403,39 +33403,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58015:30:1", + "src": "59651:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3212, + "id": 2704, "nodeType": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "expression": { "arguments": [ { - "id": 3216, + "id": 2708, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58073:7:1", + "referencedDeclaration": 2668, + "src": "59711:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3217, + "id": 2709, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58082:2:1", + "referencedDeclaration": 2666, + "src": "59720:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33454,32 +33454,32 @@ } ], "expression": { - "id": 3213, + "id": 2705, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58056:12:1", + "referencedDeclaration": 2094, + "src": "59694:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3215, + "id": 2707, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "58056:16:1", + "referencedDeclaration": 1778, + "src": "59694:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3218, + "id": 2710, "isConstant": false, "isLValue": false, "isPure": false, @@ -33487,16 +33487,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58056:29:1", + "src": "59694:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3219, + "id": 2711, "nodeType": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "eventCall": { @@ -33505,14 +33505,14 @@ "arguments": [ { "hexValue": "30", - "id": 3223, + "id": 2715, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58118:1:1", + "src": "59758:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33527,26 +33527,26 @@ "typeString": "int_const 0" } ], - "id": 3222, + "id": 2714, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3221, + "id": 2713, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": {} } }, - "id": 3224, + "id": 2716, "isConstant": false, "isLValue": false, "isPure": true, @@ -33554,7 +33554,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58110:10:1", + "src": "59750:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33562,24 +33562,24 @@ } }, { - "id": 3225, + "id": 2717, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58122:2:1", + "referencedDeclaration": 2666, + "src": "59762:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3226, + "id": 2718, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58126:7:1", + "referencedDeclaration": 2668, + "src": "59766:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33601,18 +33601,18 @@ "typeString": "uint256" } ], - "id": 3220, + "id": 2712, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58101:8:1", + "referencedDeclaration": 46, + "src": "59741:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3227, + "id": 2719, "isConstant": false, "isLValue": false, "isPure": false, @@ -33620,43 +33620,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58101:33:1", + "src": "59741:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3228, + "id": 2720, "nodeType": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ] }, "documentation": { - "id": 3172, + "id": 2664, "nodeType": "StructuredDocumentation", - "src": "57432:311:1", + "src": "59050:322:0", "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3230, + "id": 2722, "implemented": true, "kind": "function", "modifiers": [], "name": "_mint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3177, + "id": 2669, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3174, + "id": 2666, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57763:10:1", + "scope": 2722, + "src": "59393:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33664,10 +33664,10 @@ "typeString": "address" }, "typeName": { - "id": 3173, + "id": 2665, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57763:7:1", + "src": "59393:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33678,12 +33678,12 @@ }, { "constant": false, - "id": 3176, + "id": 2668, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57775:15:1", + "scope": 2722, + "src": "59405:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33691,10 +33691,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3175, + "id": 2667, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57775:7:1", + "src": "59405:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33703,39 +33703,39 @@ "visibility": "internal" } ], - "src": "57762:29:1" + "src": "59392:29:0" }, "returnParameters": { - "id": 3178, + "id": 2670, "nodeType": "ParameterList", "parameters": [], - "src": "57809:0:1" + "src": "59439:0:0" }, - "scope": 3498, - "src": "57748:393:1", + "scope": 2990, + "src": "59378:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3298, + "id": 2790, "nodeType": "Block", - "src": "58407:478:1", + "src": "60060:496:0", "statements": [ { "assignments": [ - 3237 + 2729 ], "declarations": [ { "constant": false, - "id": 3237, + "id": 2729, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3298, - "src": "58417:13:1", + "scope": 2790, + "src": "60071:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33743,10 +33743,10 @@ "typeString": "address" }, "typeName": { - "id": 3236, + "id": 2728, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58417:7:1", + "src": "60071:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33756,16 +33756,16 @@ "visibility": "internal" } ], - "id": 3242, + "id": 2734, "initialValue": { "arguments": [ { - "id": 3240, + "id": 2732, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58448:7:1", + "referencedDeclaration": 2725, + "src": "60102:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33780,32 +33780,32 @@ } ], "expression": { - "id": 3238, + "id": 2730, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "58433:6:1", + "referencedDeclaration": 2990, + "src": "60087:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3239, + "id": 2731, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "58433:14:1", + "referencedDeclaration": 2194, + "src": "60087:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3241, + "id": 2733, "isConstant": false, "isLValue": false, "isPure": false, @@ -33813,7 +33813,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58433:23:1", + "src": "60087:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -33821,18 +33821,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "expression": { "arguments": [ { - "id": 3244, + "id": 2736, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58506:5:1", + "referencedDeclaration": 2729, + "src": "60162:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33842,14 +33842,14 @@ "arguments": [ { "hexValue": "30", - "id": 3247, + "id": 2739, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58521:1:1", + "src": "60177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33864,26 +33864,26 @@ "typeString": "int_const 0" } ], - "id": 3246, + "id": 2738, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3245, + "id": 2737, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": {} } }, - "id": 3248, + "id": 2740, "isConstant": false, "isLValue": false, "isPure": true, @@ -33891,7 +33891,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58513:10:1", + "src": "60169:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33899,12 +33899,12 @@ } }, { - "id": 3249, + "id": 2741, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58525:7:1", + "referencedDeclaration": 2725, + "src": "60181:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33926,18 +33926,18 @@ "typeString": "uint256" } ], - "id": 3243, + "id": 2735, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "58485:20:1", + "referencedDeclaration": 2989, + "src": "60141:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3250, + "id": 2742, "isConstant": false, "isLValue": false, "isPure": false, @@ -33945,16 +33945,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58485:48:1", + "src": "60141:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3251, + "id": 2743, "nodeType": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "expression": { @@ -33963,14 +33963,14 @@ "arguments": [ { "hexValue": "30", - "id": 3255, + "id": 2747, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58588:1:1", + "src": "60247:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33985,26 +33985,26 @@ "typeString": "int_const 0" } ], - "id": 3254, + "id": 2746, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3253, + "id": 2745, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": {} } }, - "id": 3256, + "id": 2748, "isConstant": false, "isLValue": false, "isPure": true, @@ -34012,7 +34012,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58580:10:1", + "src": "60239:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34020,12 +34020,12 @@ } }, { - "id": 3257, + "id": 2749, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58592:7:1", + "referencedDeclaration": 2725, + "src": "60251:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34043,18 +34043,18 @@ "typeString": "uint256" } ], - "id": 3252, + "id": 2744, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "58571:8:1", + "referencedDeclaration": 2978, + "src": "60230:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3258, + "id": 2750, "isConstant": false, "isLValue": false, "isPure": false, @@ -34062,16 +34062,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58571:29:1", + "src": "60230:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3259, + "id": 2751, "nodeType": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "condition": { @@ -34079,7 +34079,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3268, + "id": 2760, "isConstant": false, "isLValue": false, "isPure": false, @@ -34089,25 +34089,25 @@ "arguments": [ { "baseExpression": { - "id": 3262, + "id": 2754, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58656:10:1", + "referencedDeclaration": 2112, + "src": "60318:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3264, + "id": 2756, "indexExpression": { - "id": 3263, + "id": 2755, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58667:7:1", + "referencedDeclaration": 2725, + "src": "60329:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34118,7 +34118,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58656:19:1", + "src": "60318:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34132,26 +34132,26 @@ "typeString": "string storage ref" } ], - "id": 3261, + "id": 2753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 3260, + "id": 2752, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": {} } }, - "id": 3265, + "id": 2757, "isConstant": false, "isLValue": false, "isPure": false, @@ -34159,21 +34159,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58650:26:1", + "src": "60312:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes storage pointer" } }, - "id": 3266, + "id": 2758, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "58650:33:1", + "src": "60312:33:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34183,37 +34183,37 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 3267, + "id": 2759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58687:1:1", + "src": "60349:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "58650:38:1", + "src": "60312:38:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3275, + "id": 2767, "nodeType": "IfStatement", - "src": "58646:95:1", + "src": "60308:97:0", "trueBody": { - "id": 3274, + "id": 2766, "nodeType": "Block", - "src": "58690:51:1", + "src": "60352:53:0", "statements": [ { "expression": { - "id": 3272, + "id": 2764, "isConstant": false, "isLValue": false, "isPure": false, @@ -34221,28 +34221,28 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "58704:26:1", + "src": "60367:26:0", "subExpression": { "baseExpression": { - "id": 3269, + "id": 2761, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58711:10:1", + "referencedDeclaration": 2112, + "src": "60374:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3271, + "id": 2763, "indexExpression": { - "id": 3270, + "id": 2762, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58722:7:1", + "referencedDeclaration": 2725, + "src": "60385:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34253,7 +34253,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "58711:19:1", + "src": "60374:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34264,9 +34264,9 @@ "typeString": "tuple()" } }, - "id": 3273, + "id": 2765, "nodeType": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ] } @@ -34275,12 +34275,12 @@ "expression": { "arguments": [ { - "id": 3280, + "id": 2772, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58779:7:1", + "referencedDeclaration": 2725, + "src": "60445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34296,25 +34296,25 @@ ], "expression": { "baseExpression": { - "id": 3276, + "id": 2768, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58751:13:1", + "referencedDeclaration": 2092, + "src": "60417:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3278, + "id": 2770, "indexExpression": { - "id": 3277, + "id": 2769, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58765:5:1", + "referencedDeclaration": 2729, + "src": "60431:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34325,27 +34325,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58751:20:1", + "src": "60417:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3279, + "id": 2771, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "58751:27:1", + "referencedDeclaration": 1358, + "src": "60417:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3281, + "id": 2773, "isConstant": false, "isLValue": false, "isPure": false, @@ -34353,27 +34353,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58751:36:1", + "src": "60417:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3282, + "id": 2774, "nodeType": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "expression": { "arguments": [ { - "id": 3286, + "id": 2778, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58818:7:1", + "referencedDeclaration": 2725, + "src": "60486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34388,32 +34388,32 @@ } ], "expression": { - "id": 3283, + "id": 2775, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58798:12:1", + "referencedDeclaration": 2094, + "src": "60466:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3285, + "id": 2777, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 2306, - "src": "58798:19:1", + "referencedDeclaration": 1798, + "src": "60466:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" } }, - "id": 3287, + "id": 2779, "isConstant": false, "isLValue": false, "isPure": false, @@ -34421,27 +34421,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58798:28:1", + "src": "60466:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3288, + "id": 2780, "nodeType": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "eventCall": { "arguments": [ { - "id": 3290, + "id": 2782, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58851:5:1", + "referencedDeclaration": 2729, + "src": "60521:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34451,14 +34451,14 @@ "arguments": [ { "hexValue": "30", - "id": 3293, + "id": 2785, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58866:1:1", + "src": "60536:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34473,26 +34473,26 @@ "typeString": "int_const 0" } ], - "id": 3292, + "id": 2784, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3291, + "id": 2783, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": {} } }, - "id": 3294, + "id": 2786, "isConstant": false, "isLValue": false, "isPure": true, @@ -34500,7 +34500,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58858:10:1", + "src": "60528:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34508,12 +34508,12 @@ } }, { - "id": 3295, + "id": 2787, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58870:7:1", + "referencedDeclaration": 2725, + "src": "60540:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34535,18 +34535,18 @@ "typeString": "uint256" } ], - "id": 3289, + "id": 2781, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58842:8:1", + "referencedDeclaration": 46, + "src": "60512:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3296, + "id": 2788, "isConstant": false, "isLValue": false, "isPure": false, @@ -34554,43 +34554,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58842:36:1", + "src": "60512:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3297, + "id": 2789, "nodeType": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ] }, "documentation": { - "id": 3231, + "id": 2723, "nodeType": "StructuredDocumentation", - "src": "58147:206:1", + "src": "59790:215:0", "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3299, + "id": 2791, "implemented": true, "kind": "function", "modifiers": [], "name": "_burn", "nodeType": "FunctionDefinition", "parameters": { - "id": 3234, + "id": 2726, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3233, + "id": 2725, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3299, - "src": "58373:15:1", + "scope": 2791, + "src": "60026:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34598,10 +34598,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3232, + "id": 2724, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "58373:7:1", + "src": "60026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34610,25 +34610,25 @@ "visibility": "internal" } ], - "src": "58372:17:1" + "src": "60025:17:0" }, "returnParameters": { - "id": 3235, + "id": 2727, "nodeType": "ParameterList", "parameters": [], - "src": "58407:0:1" + "src": "60060:0:0" }, - "scope": 3498, - "src": "58358:527:1", + "scope": 2990, + "src": "60011:545:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3370, + "id": 2862, "nodeType": "Block", - "src": "59288:505:1", + "src": "60972:520:0", "statements": [ { "expression": { @@ -34638,7 +34638,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3315, + "id": 2807, "isConstant": false, "isLValue": false, "isPure": false, @@ -34646,12 +34646,12 @@ "leftExpression": { "arguments": [ { - "id": 3312, + "id": 2804, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59321:7:1", + "referencedDeclaration": 2798, + "src": "61006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34666,32 +34666,32 @@ } ], "expression": { - "id": 3310, + "id": 2802, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "59306:6:1", + "referencedDeclaration": 2990, + "src": "60991:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3311, + "id": 2803, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "59306:14:1", + "referencedDeclaration": 2194, + "src": "60991:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3313, + "id": 2805, "isConstant": false, "isLValue": false, "isPure": false, @@ -34699,7 +34699,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59306:23:1", + "src": "60991:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -34709,18 +34709,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3314, + "id": 2806, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59333:4:1", + "referencedDeclaration": 2794, + "src": "61018:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "59306:31:1", + "src": "60991:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34728,14 +34728,14 @@ }, { "hexValue": "4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e", - "id": 3316, + "id": 2808, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59339:43:1", + "src": "61024:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a01073130a885d6c1c1af6ac75fc3b1c4f9403c235362962bbf528e2bd87d950", "typeString": "literal_string \"ERC721: transfer of token that is not own\"" @@ -34754,7 +34754,7 @@ "typeString": "literal_string \"ERC721: transfer of token that is not own\"" } ], - "id": 3309, + "id": 2801, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -34762,13 +34762,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59298:7:1", + "src": "60983:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3317, + "id": 2809, "isConstant": false, "isLValue": false, "isPure": false, @@ -34776,16 +34776,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59298:85:1", + "src": "60983:85:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3318, + "id": 2810, "nodeType": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "expression": { @@ -34795,18 +34795,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3325, + "id": 2817, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3320, + "id": 2812, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59419:2:1", + "referencedDeclaration": 2796, + "src": "61105:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34818,14 +34818,14 @@ "arguments": [ { "hexValue": "30", - "id": 3323, + "id": 2815, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59433:1:1", + "src": "61119:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34840,26 +34840,26 @@ "typeString": "int_const 0" } ], - "id": 3322, + "id": 2814, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3321, + "id": 2813, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": {} } }, - "id": 3324, + "id": 2816, "isConstant": false, "isLValue": false, "isPure": true, @@ -34867,14 +34867,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59425:10:1", + "src": "61111:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "59419:16:1", + "src": "61105:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34882,14 +34882,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f20746865207a65726f2061646472657373", - "id": 3326, + "id": 2818, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59437:38:1", + "src": "61123:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4", "typeString": "literal_string \"ERC721: transfer to the zero address\"" @@ -34908,7 +34908,7 @@ "typeString": "literal_string \"ERC721: transfer to the zero address\"" } ], - "id": 3319, + "id": 2811, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -34916,13 +34916,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59411:7:1", + "src": "61097:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3327, + "id": 2819, "isConstant": false, "isLValue": false, "isPure": false, @@ -34930,51 +34930,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59411:65:1", + "src": "61097:65:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3328, + "id": 2820, "nodeType": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "expression": { "arguments": [ { - "id": 3330, + "id": 2822, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59508:4:1", + "referencedDeclaration": 2794, + "src": "61196:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3331, + "id": 2823, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59514:2:1", + "referencedDeclaration": 2796, + "src": "61202:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3332, + "id": 2824, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59518:7:1", + "referencedDeclaration": 2798, + "src": "61206:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34996,18 +34996,18 @@ "typeString": "uint256" } ], - "id": 3329, + "id": 2821, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "59487:20:1", + "referencedDeclaration": 2989, + "src": "61175:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3333, + "id": 2825, "isConstant": false, "isLValue": false, "isPure": false, @@ -35015,16 +35015,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59487:39:1", + "src": "61175:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3334, + "id": 2826, "nodeType": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "expression": { @@ -35033,14 +35033,14 @@ "arguments": [ { "hexValue": "30", - "id": 3338, + "id": 2830, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59605:1:1", + "src": "61296:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -35055,26 +35055,26 @@ "typeString": "int_const 0" } ], - "id": 3337, + "id": 2829, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3336, + "id": 2828, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": {} } }, - "id": 3339, + "id": 2831, "isConstant": false, "isLValue": false, "isPure": true, @@ -35082,7 +35082,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59597:10:1", + "src": "61288:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -35090,12 +35090,12 @@ } }, { - "id": 3340, + "id": 2832, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59609:7:1", + "referencedDeclaration": 2798, + "src": "61300:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35113,18 +35113,18 @@ "typeString": "uint256" } ], - "id": 3335, + "id": 2827, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "59588:8:1", + "referencedDeclaration": 2978, + "src": "61279:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3341, + "id": 2833, "isConstant": false, "isLValue": false, "isPure": false, @@ -35132,27 +35132,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59588:29:1", + "src": "61279:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3342, + "id": 2834, "nodeType": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "expression": { "arguments": [ { - "id": 3347, + "id": 2839, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59655:7:1", + "referencedDeclaration": 2798, + "src": "61348:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35168,25 +35168,25 @@ ], "expression": { "baseExpression": { - "id": 3343, + "id": 2835, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59628:13:1", + "referencedDeclaration": 2092, + "src": "61321:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3345, + "id": 2837, "indexExpression": { - "id": 3344, + "id": 2836, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59642:4:1", + "referencedDeclaration": 2794, + "src": "61335:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35197,27 +35197,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59628:19:1", + "src": "61321:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3346, + "id": 2838, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "59628:26:1", + "referencedDeclaration": 1358, + "src": "61321:26:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3348, + "id": 2840, "isConstant": false, "isLValue": false, "isPure": false, @@ -35225,27 +35225,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59628:35:1", + "src": "61321:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3349, + "id": 2841, "nodeType": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "expression": { "arguments": [ { - "id": 3354, + "id": 2846, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59695:7:1", + "referencedDeclaration": 2798, + "src": "61389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35261,25 +35261,25 @@ ], "expression": { "baseExpression": { - "id": 3350, + "id": 2842, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59673:13:1", + "referencedDeclaration": 2092, + "src": "61367:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3352, + "id": 2844, "indexExpression": { - "id": 3351, + "id": 2843, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59687:2:1", + "referencedDeclaration": 2796, + "src": "61381:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35290,27 +35290,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59673:17:1", + "src": "61367:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3353, + "id": 2845, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "59673:21:1", + "referencedDeclaration": 1338, + "src": "61367:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3355, + "id": 2847, "isConstant": false, "isLValue": false, "isPure": false, @@ -35318,39 +35318,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59673:30:1", + "src": "61367:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3356, + "id": 2848, "nodeType": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "expression": { "arguments": [ { - "id": 3360, + "id": 2852, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59731:7:1", + "referencedDeclaration": 2798, + "src": "61427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3361, + "id": 2853, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59740:2:1", + "referencedDeclaration": 2796, + "src": "61436:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35369,32 +35369,32 @@ } ], "expression": { - "id": 3357, + "id": 2849, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "59714:12:1", + "referencedDeclaration": 2094, + "src": "61410:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3359, + "id": 2851, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "59714:16:1", + "referencedDeclaration": 1778, + "src": "61410:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3362, + "id": 2854, "isConstant": false, "isLValue": false, "isPure": false, @@ -35402,51 +35402,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59714:29:1", + "src": "61410:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3363, + "id": 2855, "nodeType": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "eventCall": { "arguments": [ { - "id": 3365, + "id": 2857, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59768:4:1", + "referencedDeclaration": 2794, + "src": "61466:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3366, + "id": 2858, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59774:2:1", + "referencedDeclaration": 2796, + "src": "61472:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3367, + "id": 2859, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59778:7:1", + "referencedDeclaration": 2798, + "src": "61476:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35468,18 +35468,18 @@ "typeString": "uint256" } ], - "id": 3364, + "id": 2856, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "59759:8:1", + "referencedDeclaration": 46, + "src": "61457:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3368, + "id": 2860, "isConstant": false, "isLValue": false, "isPure": false, @@ -35487,43 +35487,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59759:27:1", + "src": "61457:27:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3369, + "id": 2861, "nodeType": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ] }, "documentation": { - "id": 3300, + "id": 2792, "nodeType": "StructuredDocumentation", - "src": "58891:313:1", + "src": "60564:323:0", "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3371, + "id": 2863, "implemented": true, "kind": "function", "modifiers": [], "name": "_transfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3307, + "id": 2799, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3302, + "id": 2794, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59228:12:1", + "scope": 2863, + "src": "60912:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35531,10 +35531,10 @@ "typeString": "address" }, "typeName": { - "id": 3301, + "id": 2793, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59228:7:1", + "src": "60912:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35545,12 +35545,12 @@ }, { "constant": false, - "id": 3304, + "id": 2796, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59242:10:1", + "scope": 2863, + "src": "60926:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35558,10 +35558,10 @@ "typeString": "address" }, "typeName": { - "id": 3303, + "id": 2795, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59242:7:1", + "src": "60926:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35572,12 +35572,12 @@ }, { "constant": false, - "id": 3306, + "id": 2798, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59254:15:1", + "scope": 2863, + "src": "60938:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35585,10 +35585,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3305, + "id": 2797, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59254:7:1", + "src": "60938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35597,25 +35597,25 @@ "visibility": "internal" } ], - "src": "59227:43:1" + "src": "60911:43:0" }, "returnParameters": { - "id": 3308, + "id": 2800, "nodeType": "ParameterList", "parameters": [], - "src": "59288:0:1" + "src": "60972:0:0" }, - "scope": 3498, - "src": "59209:584:1", + "scope": 2990, + "src": "60893:599:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3392, + "id": 2884, "nodeType": "Block", - "src": "60021:131:1", + "src": "61729:134:0", "statements": [ { "expression": { @@ -35623,12 +35623,12 @@ { "arguments": [ { - "id": 3381, + "id": 2873, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60047:7:1", + "referencedDeclaration": 2866, + "src": "61756:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35642,18 +35642,18 @@ "typeString": "uint256" } ], - "id": 3380, + "id": 2872, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "60039:7:1", + "referencedDeclaration": 2577, + "src": "61748:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3382, + "id": 2874, "isConstant": false, "isLValue": false, "isPure": false, @@ -35661,7 +35661,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60039:16:1", + "src": "61748:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -35670,14 +35670,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e", - "id": 3383, + "id": 2875, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "60057:46:1", + "src": "61766:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_94be4a260caaeac1b145f03ffa2e70bc612b64982d04f24073aaf3a5f9009978", "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" @@ -35696,7 +35696,7 @@ "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" } ], - "id": 3379, + "id": 2871, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -35704,13 +35704,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "60031:7:1", + "src": "61740:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3384, + "id": 2876, "isConstant": false, "isLValue": false, "isPure": false, @@ -35718,45 +35718,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60031:73:1", + "src": "61740:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3385, + "id": 2877, "nodeType": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "expression": { - "id": 3390, + "id": 2882, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3386, + "id": 2878, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "60114:10:1", + "referencedDeclaration": 2112, + "src": "61824:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3388, + "id": 2880, "indexExpression": { - "id": 3387, + "id": 2879, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60125:7:1", + "referencedDeclaration": 2866, + "src": "61835:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35767,7 +35767,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "60114:19:1", + "src": "61824:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -35776,53 +35776,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3389, + "id": 2881, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3376, - "src": "60136:9:1", + "referencedDeclaration": 2868, + "src": "61846:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60114:31:1", + "src": "61824:31:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3391, + "id": 2883, "nodeType": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ] }, "documentation": { - "id": 3372, + "id": 2864, "nodeType": "StructuredDocumentation", - "src": "59799:136:1", + "src": "61500:142:0", "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3393, + "id": 2885, "implemented": true, "kind": "function", "modifiers": [], "name": "_setTokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3377, + "id": 2869, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3374, + "id": 2866, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59962:15:1", + "scope": 2885, + "src": "61670:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35830,10 +35830,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3373, + "id": 2865, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59962:7:1", + "src": "61670:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35843,12 +35843,12 @@ }, { "constant": false, - "id": 3376, + "id": 2868, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59979:23:1", + "scope": 2885, + "src": "61687:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -35856,10 +35856,10 @@ "typeString": "string" }, "typeName": { - "id": 3375, + "id": 2867, "name": "string", "nodeType": "ElementaryTypeName", - "src": "59979:6:1", + "src": "61687:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -35868,40 +35868,40 @@ "visibility": "internal" } ], - "src": "59961:42:1" + "src": "61669:42:0" }, "returnParameters": { - "id": 3378, + "id": 2870, "nodeType": "ParameterList", "parameters": [], - "src": "60021:0:1" + "src": "61729:0:0" }, - "scope": 3498, - "src": "59940:212:1", + "scope": 2990, + "src": "61648:215:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3403, + "id": 2895, "nodeType": "Block", - "src": "60437:36:1", + "src": "62155:38:0", "statements": [ { "expression": { - "id": 3401, + "id": 2893, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 3399, + "id": 2891, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "60447:8:1", + "referencedDeclaration": 2114, + "src": "62166:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -35910,53 +35910,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3400, + "id": 2892, "name": "baseURI_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3396, - "src": "60458:8:1", + "referencedDeclaration": 2888, + "src": "62177:8:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60447:19:1", + "src": "62166:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3402, + "id": 2894, "nodeType": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ] }, "documentation": { - "id": 3394, + "id": 2886, "nodeType": "StructuredDocumentation", - "src": "60158:212:1", + "src": "61871:216:0", "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3404, + "id": 2896, "implemented": true, "kind": "function", "modifiers": [], "name": "_setBaseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3397, + "id": 2889, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3396, + "id": 2888, "mutability": "mutable", "name": "baseURI_", "nodeType": "VariableDeclaration", - "scope": 3404, - "src": "60396:22:1", + "scope": 2896, + "src": "62114:22:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -35964,10 +35964,10 @@ "typeString": "string" }, "typeName": { - "id": 3395, + "id": 2887, "name": "string", "nodeType": "ElementaryTypeName", - "src": "60396:6:1", + "src": "62114:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -35976,29 +35976,29 @@ "visibility": "internal" } ], - "src": "60395:24:1" + "src": "62113:24:0" }, "returnParameters": { - "id": 3398, + "id": 2890, "nodeType": "ParameterList", "parameters": [], - "src": "60437:0:1" + "src": "62155:0:0" }, - "scope": 3498, - "src": "60375:98:1", + "scope": 2990, + "src": "62093:100:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3461, + "id": 2953, "nodeType": "Block", - "src": "61156:459:1", + "src": "62890:472:0", "statements": [ { "condition": { - "id": 3421, + "id": 2913, "isConstant": false, "isLValue": false, "isPure": false, @@ -36006,38 +36006,38 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "61170:16:1", + "src": "62905:16:0", "subExpression": { "arguments": [], "expression": { "argumentTypes": [], "expression": { - "id": 3418, + "id": 2910, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61171:2:1", + "referencedDeclaration": 2901, + "src": "62906:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3419, + "id": 2911, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isContract", "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "61171:13:1", + "referencedDeclaration": 646, + "src": "62906:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$", "typeString": "function (address) view returns (bool)" } }, - "id": 3420, + "id": 2912, "isConstant": false, "isLValue": false, "isPure": false, @@ -36045,7 +36045,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61171:15:1", + "src": "62906:15:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -36057,52 +36057,52 @@ "typeString": "bool" } }, - "id": 3425, + "id": 2917, "nodeType": "IfStatement", - "src": "61166:58:1", + "src": "62901:60:0", "trueBody": { - "id": 3424, + "id": 2916, "nodeType": "Block", - "src": "61188:36:1", + "src": "62923:38:0", "statements": [ { "expression": { "hexValue": "74727565", - "id": 3422, + "id": 2914, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "61209:4:1", + "src": "62945:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 3417, - "id": 3423, + "functionReturnParameters": 2909, + "id": 2915, "nodeType": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ] } }, { "assignments": [ - 3427 + 2919 ], "declarations": [ { "constant": false, - "id": 3427, + "id": 2919, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61233:23:1", + "scope": 2953, + "src": "62971:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36110,10 +36110,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3426, + "id": 2918, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61233:5:1", + "src": "62971:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36122,7 +36122,7 @@ "visibility": "internal" } ], - "id": 3445, + "id": 2937, "initialValue": { "arguments": [ { @@ -36132,12 +36132,12 @@ "expression": { "arguments": [ { - "id": 3433, + "id": 2925, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61327:2:1", + "referencedDeclaration": 2901, + "src": "63066:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36151,18 +36151,18 @@ "typeString": "address" } ], - "id": 3432, + "id": 2924, "name": "IERC721Receiver", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 726, - "src": "61311:15:1", + "referencedDeclaration": 218, + "src": "63050:15:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$726_$", + "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$218_$", "typeString": "type(contract IERC721Receiver)" } }, - "id": 3434, + "id": 2926, "isConstant": false, "isLValue": false, "isPure": false, @@ -36170,35 +36170,35 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61311:19:1", + "src": "63050:19:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Receiver_$726", + "typeIdentifier": "t_contract$_IERC721Receiver_$218", "typeString": "contract IERC721Receiver" } }, - "id": 3435, + "id": 2927, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "onERC721Received", "nodeType": "MemberAccess", - "referencedDeclaration": 725, - "src": "61311:36:1", + "referencedDeclaration": 217, + "src": "63050:36:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", "typeString": "function (address,address,uint256,bytes memory) external returns (bytes4)" } }, - "id": 3436, + "id": 2928, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "selector", "nodeType": "MemberAccess", - "src": "61311:45:1", + "src": "63050:45:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36208,18 +36208,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3437, + "id": 2929, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "61370:10:1", + "referencedDeclaration": 10, + "src": "63110:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3438, + "id": 2930, "isConstant": false, "isLValue": false, "isPure": false, @@ -36227,7 +36227,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61370:12:1", + "src": "63110:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -36235,36 +36235,36 @@ } }, { - "id": 3439, + "id": 2931, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3407, - "src": "61396:4:1", + "referencedDeclaration": 2899, + "src": "63137:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3440, + "id": 2932, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3411, - "src": "61414:7:1", + "referencedDeclaration": 2903, + "src": "63156:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3441, + "id": 2933, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3413, - "src": "61435:5:1", + "referencedDeclaration": 2905, + "src": "63178:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36295,31 +36295,31 @@ } ], "expression": { - "id": 3430, + "id": 2922, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61275:3:1", + "src": "63013:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3431, + "id": 2923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodeWithSelector", "nodeType": "MemberAccess", - "src": "61275:22:1", + "src": "63013:22:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bytes4) pure returns (bytes memory)" } }, - "id": 3442, + "id": 2934, "isConstant": false, "isLValue": false, "isPure": false, @@ -36327,7 +36327,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61275:175:1", + "src": "63013:181:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36336,14 +36336,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3443, + "id": 2935, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "61452:52:1", + "src": "63196:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -36363,32 +36363,32 @@ } ], "expression": { - "id": 3428, + "id": 2920, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61259:2:1", + "referencedDeclaration": 2901, + "src": "62997:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3429, + "id": 2921, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "functionCall", "nodeType": "MemberAccess", - "referencedDeclaration": 1225, - "src": "61259:15:1", + "referencedDeclaration": 717, + "src": "62997:15:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$bound_to$_t_address_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 3444, + "id": 2936, "isConstant": false, "isLValue": false, "isPure": false, @@ -36396,7 +36396,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61259:246:1", + "src": "62997:252:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36404,21 +36404,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "assignments": [ - 3447 + 2939 ], "declarations": [ { "constant": false, - "id": 3447, + "id": 2939, "mutability": "mutable", "name": "retval", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61515:13:1", + "scope": 2953, + "src": "63260:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36426,10 +36426,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 3446, + "id": 2938, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61515:6:1", + "src": "63260:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36438,16 +36438,16 @@ "visibility": "internal" } ], - "id": 3455, + "id": 2947, "initialValue": { "arguments": [ { - "id": 3450, + "id": 2942, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3427, - "src": "61542:10:1", + "referencedDeclaration": 2919, + "src": "63287:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36456,34 +36456,34 @@ { "components": [ { - "id": 3452, + "id": 2944, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" }, "typeName": { - "id": 3451, + "id": 2943, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": {} } } ], - "id": 3453, + "id": 2945, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61554:8:1", + "src": "63299:8:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" @@ -36502,31 +36502,31 @@ } ], "expression": { - "id": 3448, + "id": 2940, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61531:3:1", + "src": "63276:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3449, + "id": 2941, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "decode", "nodeType": "MemberAccess", - "src": "61531:10:1", + "src": "63276:10:0", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 3454, + "id": 2946, "isConstant": false, "isLValue": false, "isPure": false, @@ -36534,7 +36534,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61531:32:1", + "src": "63276:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes4", @@ -36542,7 +36542,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "expression": { @@ -36552,18 +36552,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 3458, + "id": 2950, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3456, + "id": 2948, "name": "retval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3447, - "src": "61581:6:1", + "referencedDeclaration": 2939, + "src": "63327:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36572,68 +36572,68 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3457, + "id": 2949, "name": "_ERC721_RECEIVED", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2596, - "src": "61591:16:1", + "referencedDeclaration": 2088, + "src": "63337:16:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "src": "61581:26:1", + "src": "63327:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3459, + "id": 2951, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61580:28:1", + "src": "63326:28:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3417, - "id": 3460, + "functionReturnParameters": 2909, + "id": 2952, "nodeType": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ] }, "documentation": { - "id": 3405, + "id": 2897, "nodeType": "StructuredDocumentation", - "src": "60479:542:1", + "src": "62201:551:0", "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3462, + "id": 2954, "implemented": true, "kind": "function", "modifiers": [], "name": "_checkOnERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 3414, + "id": 2906, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3407, + "id": 2899, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61058:12:1", + "scope": 2954, + "src": "62790:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36641,10 +36641,10 @@ "typeString": "address" }, "typeName": { - "id": 3406, + "id": 2898, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61058:7:1", + "src": "62790:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36655,12 +36655,12 @@ }, { "constant": false, - "id": 3409, + "id": 2901, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61072:10:1", + "scope": 2954, + "src": "62804:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36668,10 +36668,10 @@ "typeString": "address" }, "typeName": { - "id": 3408, + "id": 2900, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61072:7:1", + "src": "62804:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36682,12 +36682,12 @@ }, { "constant": false, - "id": 3411, + "id": 2903, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61084:15:1", + "scope": 2954, + "src": "62816:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36695,10 +36695,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3410, + "id": 2902, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61084:7:1", + "src": "62816:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36708,12 +36708,12 @@ }, { "constant": false, - "id": 3413, + "id": 2905, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61101:18:1", + "scope": 2954, + "src": "62833:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36721,10 +36721,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3412, + "id": 2904, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61101:5:1", + "src": "62833:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36733,20 +36733,20 @@ "visibility": "internal" } ], - "src": "61057:63:1" + "src": "62789:63:0" }, "returnParameters": { - "id": 3417, + "id": 2909, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3416, + "id": 2908, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61146:4:1", + "scope": 2954, + "src": "62879:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36754,10 +36754,10 @@ "typeString": "bool" }, "typeName": { - "id": 3415, + "id": 2907, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "61146:4:1", + "src": "62879:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -36766,48 +36766,48 @@ "visibility": "internal" } ], - "src": "61145:6:1" + "src": "62878:6:0" }, - "scope": 3498, - "src": "61026:589:1", + "scope": 2990, + "src": "62758:604:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 3485, + "id": 2977, "nodeType": "Block", - "src": "61791:125:1", + "src": "63545:128:0", "statements": [ { "expression": { - "id": 3474, + "id": 2966, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3470, + "id": 2962, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "61801:15:1", + "referencedDeclaration": 2098, + "src": "63556:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 3472, + "id": 2964, "indexExpression": { - "id": 3471, + "id": 2963, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61817:7:1", + "referencedDeclaration": 2959, + "src": "63572:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36818,7 +36818,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "61801:24:1", + "src": "63556:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36827,26 +36827,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3473, + "id": 2965, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61828:2:1", + "referencedDeclaration": 2957, + "src": "63583:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "61801:29:1", + "src": "63556:29:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3475, + "id": 2967, "nodeType": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "eventCall": { @@ -36854,12 +36854,12 @@ { "arguments": [ { - "id": 3479, + "id": 2971, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61869:7:1", + "referencedDeclaration": 2959, + "src": "63625:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36874,32 +36874,32 @@ } ], "expression": { - "id": 3477, + "id": 2969, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "61854:6:1", + "referencedDeclaration": 2990, + "src": "63610:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3478, + "id": 2970, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "61854:14:1", + "referencedDeclaration": 2194, + "src": "63610:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3480, + "id": 2972, "isConstant": false, "isLValue": false, "isPure": false, @@ -36907,7 +36907,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61854:23:1", + "src": "63610:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -36915,24 +36915,24 @@ } }, { - "id": 3481, + "id": 2973, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61879:2:1", + "referencedDeclaration": 2957, + "src": "63635:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3482, + "id": 2974, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61883:7:1", + "referencedDeclaration": 2959, + "src": "63639:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36954,18 +36954,18 @@ "typeString": "uint256" } ], - "id": 3476, + "id": 2968, "name": "Approval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 563, - "src": "61845:8:1", + "referencedDeclaration": 55, + "src": "63601:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3483, + "id": 2975, "isConstant": false, "isLValue": false, "isPure": false, @@ -36973,43 +36973,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61845:46:1", + "src": "63601:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3484, + "id": 2976, "nodeType": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ] }, "documentation": { - "id": 3463, + "id": 2955, "nodeType": "StructuredDocumentation", - "src": "61621:101:1", + "src": "63370:105:0", "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3486, + "id": 2978, "implemented": true, "kind": "function", "modifiers": [], "name": "_approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 3468, + "id": 2960, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3465, + "id": 2957, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61745:10:1", + "scope": 2978, + "src": "63499:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37017,10 +37017,10 @@ "typeString": "address" }, "typeName": { - "id": 3464, + "id": 2956, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61745:7:1", + "src": "63499:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37031,12 +37031,12 @@ }, { "constant": false, - "id": 3467, + "id": 2959, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61757:15:1", + "scope": 2978, + "src": "63511:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37044,10 +37044,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3466, + "id": 2958, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61757:7:1", + "src": "63511:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37056,51 +37056,51 @@ "visibility": "internal" } ], - "src": "61744:29:1" + "src": "63498:29:0" }, "returnParameters": { - "id": 3469, + "id": 2961, "nodeType": "ParameterList", "parameters": [], - "src": "61791:0:1" + "src": "63545:0:0" }, - "scope": 3498, - "src": "61727:189:1", + "scope": 2990, + "src": "63481:192:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3496, + "id": 2988, "nodeType": "Block", - "src": "62602:3:1", + "src": "64376:3:0", "statements": [] }, "documentation": { - "id": 3487, + "id": 2979, "nodeType": "StructuredDocumentation", - "src": "61922:585:1", + "src": "63681:599:0", "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3497, + "id": 2989, "implemented": true, "kind": "function", "modifiers": [], "name": "_beforeTokenTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3494, + "id": 2986, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3489, + "id": 2981, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62542:12:1", + "scope": 2989, + "src": "64316:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37108,10 +37108,10 @@ "typeString": "address" }, "typeName": { - "id": 3488, + "id": 2980, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62542:7:1", + "src": "64316:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37122,12 +37122,12 @@ }, { "constant": false, - "id": 3491, + "id": 2983, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62556:10:1", + "scope": 2989, + "src": "64330:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37135,10 +37135,10 @@ "typeString": "address" }, "typeName": { - "id": 3490, + "id": 2982, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62556:7:1", + "src": "64330:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37149,12 +37149,12 @@ }, { "constant": false, - "id": 3493, + "id": 2985, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62568:15:1", + "scope": 2989, + "src": "64342:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37162,10 +37162,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3492, + "id": 2984, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "62568:7:1", + "src": "64342:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37174,69 +37174,69 @@ "visibility": "internal" } ], - "src": "62541:43:1" + "src": "64315:43:0" }, "returnParameters": { - "id": 3495, + "id": 2987, "nodeType": "ParameterList", "parameters": [], - "src": "62602:0:1" + "src": "64376:0:0" }, - "scope": 3498, - "src": "62512:93:1", + "scope": 2990, + "src": "64286:93:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "46080:16527:1" + "scope": 2991, + "src": "47398:16984:0" } ], - "src": "84:62524:1" + "src": "87:64297:0" }, "legacyAST": { "attributes": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, "license": "MIT" @@ -37254,9 +37254,9 @@ ".0" ] }, - "id": 509, + "id": 1, "name": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "attributes": { @@ -37270,10 +37270,10 @@ "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", - "scope": 3499 + "scope": 2991 }, "children": [ { @@ -37285,7 +37285,7 @@ null ], "name": "_msgSender", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37298,9 +37298,9 @@ ] }, "children": [], - "id": 510, + "id": 2, "name": "ParameterList", - "src": "668:2:1" + "src": "684:2:0" }, { "children": [ @@ -37309,7 +37309,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 518, + "scope": 10, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -37322,25 +37322,25 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 511, + "id": 3, "name": "ElementaryTypeName", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 512, + "id": 4, "name": "VariableDeclaration", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 513, + "id": 5, "name": "ParameterList", - "src": "701:17:1" + "src": "717:17:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 513 + "functionReturnParameters": 5 }, "children": [ { @@ -37362,29 +37362,29 @@ "type": "msg", "value": "msg" }, - "id": 514, + "id": 6, "name": "Identifier", - "src": "736:3:1" + "src": "753:3:0" } ], - "id": 515, + "id": 7, "name": "MemberAccess", - "src": "736:10:1" + "src": "753:10:0" } ], - "id": 516, + "id": 8, "name": "Return", - "src": "729:17:1" + "src": "746:17:0" } ], - "id": 517, + "id": 9, "name": "Block", - "src": "719:34:1" + "src": "735:36:0" } ], - "id": 518, + "id": 10, "name": "FunctionDefinition", - "src": "649:104:1" + "src": "665:106:0" }, { "attributes": { @@ -37395,7 +37395,7 @@ null ], "name": "_msgData", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37408,9 +37408,9 @@ ] }, "children": [], - "id": 519, + "id": 11, "name": "ParameterList", - "src": "776:2:1" + "src": "796:2:0" }, { "children": [ @@ -37419,7 +37419,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 529, + "scope": 21, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -37431,19 +37431,19 @@ "name": "bytes", "type": "bytes" }, - "id": 520, + "id": 12, "name": "ElementaryTypeName", - "src": "810:5:1" + "src": "830:5:0" } ], - "id": 521, + "id": 13, "name": "VariableDeclaration", - "src": "810:12:1" + "src": "830:12:0" } ], - "id": 522, + "id": 14, "name": "ParameterList", - "src": "809:14:1" + "src": "829:14:0" }, { "children": [ @@ -37458,18 +37458,18 @@ "type": "contract Context", "value": "this" }, - "id": 523, + "id": 15, "name": "Identifier", - "src": "834:4:1" + "src": "855:4:0" } ], - "id": 524, + "id": 16, "name": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "attributes": { - "functionReturnParameters": 522 + "functionReturnParameters": 14 }, "children": [ { @@ -37491,34 +37491,34 @@ "type": "msg", "value": "msg" }, - "id": 525, + "id": 17, "name": "Identifier", - "src": "974:3:1" + "src": "996:3:0" } ], - "id": 526, + "id": 18, "name": "MemberAccess", - "src": "974:8:1" + "src": "996:8:0" } ], - "id": 527, + "id": 19, "name": "Return", - "src": "967:15:1" + "src": "989:15:0" } ], - "id": 528, + "id": 20, "name": "Block", - "src": "824:165:1" + "src": "844:168:0" } ], - "id": 529, + "id": 21, "name": "FunctionDefinition", - "src": "759:230:1" + "src": "779:233:0" } ], - "id": 530, + "id": 22, "name": "ContractDefinition", - "src": "617:374:1" + "src": "632:383:0" }, { "attributes": { @@ -37532,9 +37532,9 @@ ".0" ] }, - "id": 531, + "id": 23, "name": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "attributes": { @@ -37548,19 +37548,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, - "id": 532, + "id": 24, "name": "StructuredDocumentation", - "src": "1086:279:1" + "src": "1116:287:0" }, { "attributes": { @@ -37572,7 +37572,7 @@ null ], "name": "supportsInterface", - "scope": 541, + "scope": 33, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -37582,9 +37582,9 @@ "attributes": { "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, - "id": 533, + "id": 25, "name": "StructuredDocumentation", - "src": "1390:340:1" + "src": "1430:347:0" }, { "children": [ @@ -37593,7 +37593,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -37605,19 +37605,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 534, + "id": 26, "name": "ElementaryTypeName", - "src": "1762:6:1" + "src": "1810:6:0" } ], - "id": 535, + "id": 27, "name": "VariableDeclaration", - "src": "1762:18:1" + "src": "1810:18:0" } ], - "id": 536, + "id": 28, "name": "ParameterList", - "src": "1761:20:1" + "src": "1809:20:0" }, { "children": [ @@ -37626,7 +37626,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -37638,29 +37638,29 @@ "name": "bool", "type": "bool" }, - "id": 537, + "id": 29, "name": "ElementaryTypeName", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 538, + "id": 30, "name": "VariableDeclaration", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 539, + "id": 31, "name": "ParameterList", - "src": "1804:6:1" + "src": "1852:6:0" } ], - "id": 540, + "id": 32, "name": "FunctionDefinition", - "src": "1735:76:1" + "src": "1783:76:0" } ], - "id": 541, + "id": 33, "name": "ContractDefinition", - "src": "1366:447:1" + "src": "1405:457:0" }, { "attributes": { @@ -37674,33 +37674,33 @@ ".0" ] }, - "id": 542, + "id": 34, "name": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Required interface of an ERC721 compliant contract." }, - "id": 543, + "id": 35, "name": "StructuredDocumentation", - "src": "1907:67:1" + "src": "1962:69:0" }, { "attributes": {}, @@ -37708,17 +37708,17 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 544, + "id": 36, "name": "UserDefinedTypeName", - "src": "1996:7:1" + "src": "2054:7:0" } ], - "id": 545, + "id": 37, "name": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" }, { "attributes": { @@ -37730,9 +37730,9 @@ "attributes": { "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 546, + "id": 38, "name": "StructuredDocumentation", - "src": "2010:88:1" + "src": "2069:90:0" }, { "children": [ @@ -37742,7 +37742,7 @@ "indexed": true, "mutability": "mutable", "name": "from", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37755,14 +37755,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 547, + "id": 39, "name": "ElementaryTypeName", - "src": "2118:7:1" + "src": "2180:7:0" } ], - "id": 548, + "id": 40, "name": "VariableDeclaration", - "src": "2118:20:1" + "src": "2180:20:0" }, { "attributes": { @@ -37770,7 +37770,7 @@ "indexed": true, "mutability": "mutable", "name": "to", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37783,14 +37783,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 549, + "id": 41, "name": "ElementaryTypeName", - "src": "2140:7:1" + "src": "2202:7:0" } ], - "id": 550, + "id": 42, "name": "VariableDeclaration", - "src": "2140:18:1" + "src": "2202:18:0" }, { "attributes": { @@ -37798,7 +37798,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -37810,24 +37810,24 @@ "name": "uint256", "type": "uint256" }, - "id": 551, + "id": 43, "name": "ElementaryTypeName", - "src": "2160:7:1" + "src": "2222:7:0" } ], - "id": 552, + "id": 44, "name": "VariableDeclaration", - "src": "2160:23:1" + "src": "2222:23:0" } ], - "id": 553, + "id": 45, "name": "ParameterList", - "src": "2117:67:1" + "src": "2179:67:0" } ], - "id": 554, + "id": 46, "name": "EventDefinition", - "src": "2103:82:1" + "src": "2165:82:0" }, { "attributes": { @@ -37839,9 +37839,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 555, + "id": 47, "name": "StructuredDocumentation", - "src": "2191:94:1" + "src": "2255:96:0" }, { "children": [ @@ -37851,7 +37851,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37864,14 +37864,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 556, + "id": 48, "name": "ElementaryTypeName", - "src": "2305:7:1" + "src": "2372:7:0" } ], - "id": 557, + "id": 49, "name": "VariableDeclaration", - "src": "2305:21:1" + "src": "2372:21:0" }, { "attributes": { @@ -37879,7 +37879,7 @@ "indexed": true, "mutability": "mutable", "name": "approved", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37892,14 +37892,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 558, + "id": 50, "name": "ElementaryTypeName", - "src": "2328:7:1" + "src": "2395:7:0" } ], - "id": 559, + "id": 51, "name": "VariableDeclaration", - "src": "2328:24:1" + "src": "2395:24:0" }, { "attributes": { @@ -37907,7 +37907,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -37919,24 +37919,24 @@ "name": "uint256", "type": "uint256" }, - "id": 560, + "id": 52, "name": "ElementaryTypeName", - "src": "2354:7:1" + "src": "2421:7:0" } ], - "id": 561, + "id": 53, "name": "VariableDeclaration", - "src": "2354:23:1" + "src": "2421:23:0" } ], - "id": 562, + "id": 54, "name": "ParameterList", - "src": "2304:74:1" + "src": "2371:74:0" } ], - "id": 563, + "id": 55, "name": "EventDefinition", - "src": "2290:89:1" + "src": "2357:89:0" }, { "attributes": { @@ -37948,9 +37948,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 564, + "id": 56, "name": "StructuredDocumentation", - "src": "2385:117:1" + "src": "2454:119:0" }, { "children": [ @@ -37960,7 +37960,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37973,14 +37973,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 565, + "id": 57, "name": "ElementaryTypeName", - "src": "2528:7:1" + "src": "2600:7:0" } ], - "id": 566, + "id": 58, "name": "VariableDeclaration", - "src": "2528:21:1" + "src": "2600:21:0" }, { "attributes": { @@ -37988,7 +37988,7 @@ "indexed": true, "mutability": "mutable", "name": "operator", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38001,14 +38001,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 567, + "id": 59, "name": "ElementaryTypeName", - "src": "2551:7:1" + "src": "2623:7:0" } ], - "id": 568, + "id": 60, "name": "VariableDeclaration", - "src": "2551:24:1" + "src": "2623:24:0" }, { "attributes": { @@ -38016,7 +38016,7 @@ "indexed": false, "mutability": "mutable", "name": "approved", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38028,24 +38028,24 @@ "name": "bool", "type": "bool" }, - "id": 569, + "id": 61, "name": "ElementaryTypeName", - "src": "2577:4:1" + "src": "2649:4:0" } ], - "id": 570, + "id": 62, "name": "VariableDeclaration", - "src": "2577:13:1" + "src": "2649:13:0" } ], - "id": 571, + "id": 63, "name": "ParameterList", - "src": "2527:64:1" + "src": "2599:64:0" } ], - "id": 572, + "id": 64, "name": "EventDefinition", - "src": "2507:85:1" + "src": "2579:85:0" }, { "attributes": { @@ -38057,7 +38057,7 @@ null ], "name": "balanceOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38067,9 +38067,9 @@ "attributes": { "text": " @dev Returns the number of tokens in ``owner``'s account." }, - "id": 573, + "id": 65, "name": "StructuredDocumentation", - "src": "2598:76:1" + "src": "2672:78:0" }, { "children": [ @@ -38078,7 +38078,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38091,19 +38091,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 574, + "id": 66, "name": "ElementaryTypeName", - "src": "2698:7:1" + "src": "2775:7:0" } ], - "id": 575, + "id": 67, "name": "VariableDeclaration", - "src": "2698:13:1" + "src": "2775:13:0" } ], - "id": 576, + "id": 68, "name": "ParameterList", - "src": "2697:15:1" + "src": "2774:15:0" }, { "children": [ @@ -38112,7 +38112,7 @@ "constant": false, "mutability": "mutable", "name": "balance", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38124,24 +38124,24 @@ "name": "uint256", "type": "uint256" }, - "id": 577, + "id": 69, "name": "ElementaryTypeName", - "src": "2736:7:1" + "src": "2813:7:0" } ], - "id": 578, + "id": 70, "name": "VariableDeclaration", - "src": "2736:15:1" + "src": "2813:15:0" } ], - "id": 579, + "id": 71, "name": "ParameterList", - "src": "2735:17:1" + "src": "2812:17:0" } ], - "id": 580, + "id": 72, "name": "FunctionDefinition", - "src": "2679:74:1" + "src": "2756:74:0" }, { "attributes": { @@ -38153,7 +38153,7 @@ null ], "name": "ownerOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38163,9 +38163,9 @@ "attributes": { "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 581, + "id": 73, "name": "StructuredDocumentation", - "src": "2759:131:1" + "src": "2838:137:0" }, { "children": [ @@ -38174,7 +38174,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38186,19 +38186,19 @@ "name": "uint256", "type": "uint256" }, - "id": 582, + "id": 74, "name": "ElementaryTypeName", - "src": "2912:7:1" + "src": "2998:7:0" } ], - "id": 583, + "id": 75, "name": "VariableDeclaration", - "src": "2912:15:1" + "src": "2998:15:0" } ], - "id": 584, + "id": 76, "name": "ParameterList", - "src": "2911:17:1" + "src": "2997:17:0" }, { "children": [ @@ -38207,7 +38207,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38220,24 +38220,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 585, + "id": 77, "name": "ElementaryTypeName", - "src": "2952:7:1" + "src": "3038:7:0" } ], - "id": 586, + "id": 78, "name": "VariableDeclaration", - "src": "2952:13:1" + "src": "3038:13:0" } ], - "id": 587, + "id": 79, "name": "ParameterList", - "src": "2951:15:1" + "src": "3037:15:0" } ], - "id": 588, + "id": 80, "name": "FunctionDefinition", - "src": "2895:72:1" + "src": "2981:72:0" }, { "attributes": { @@ -38249,7 +38249,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38259,9 +38259,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 589, + "id": 81, "name": "StructuredDocumentation", - "src": "2973:690:1" + "src": "3061:703:0" }, { "children": [ @@ -38270,7 +38270,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38283,21 +38283,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 590, + "id": 82, "name": "ElementaryTypeName", - "src": "3694:7:1" + "src": "3796:7:0" } ], - "id": 591, + "id": 83, "name": "VariableDeclaration", - "src": "3694:12:1" + "src": "3796:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38310,21 +38310,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 592, + "id": 84, "name": "ElementaryTypeName", - "src": "3708:7:1" + "src": "3810:7:0" } ], - "id": 593, + "id": 85, "name": "VariableDeclaration", - "src": "3708:10:1" + "src": "3810:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38336,19 +38336,19 @@ "name": "uint256", "type": "uint256" }, - "id": 594, + "id": 86, "name": "ElementaryTypeName", - "src": "3720:7:1" + "src": "3822:7:0" } ], - "id": 595, + "id": 87, "name": "VariableDeclaration", - "src": "3720:15:1" + "src": "3822:15:0" } ], - "id": 596, + "id": 88, "name": "ParameterList", - "src": "3693:43:1" + "src": "3795:43:0" }, { "attributes": { @@ -38357,14 +38357,14 @@ ] }, "children": [], - "id": 597, + "id": 89, "name": "ParameterList", - "src": "3745:0:1" + "src": "3847:0:0" } ], - "id": 598, + "id": 90, "name": "FunctionDefinition", - "src": "3668:78:1" + "src": "3770:78:0" }, { "attributes": { @@ -38376,7 +38376,7 @@ null ], "name": "transferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38386,9 +38386,9 @@ "attributes": { "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, - "id": 599, + "id": 91, "name": "StructuredDocumentation", - "src": "3752:504:1" + "src": "3856:517:0" }, { "children": [ @@ -38397,7 +38397,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38410,21 +38410,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 600, + "id": 92, "name": "ElementaryTypeName", - "src": "4283:7:1" + "src": "4401:7:0" } ], - "id": 601, + "id": 93, "name": "VariableDeclaration", - "src": "4283:12:1" + "src": "4401:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38437,21 +38437,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 602, + "id": 94, "name": "ElementaryTypeName", - "src": "4297:7:1" + "src": "4415:7:0" } ], - "id": 603, + "id": 95, "name": "VariableDeclaration", - "src": "4297:10:1" + "src": "4415:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38463,19 +38463,19 @@ "name": "uint256", "type": "uint256" }, - "id": 604, + "id": 96, "name": "ElementaryTypeName", - "src": "4309:7:1" + "src": "4427:7:0" } ], - "id": 605, + "id": 97, "name": "VariableDeclaration", - "src": "4309:15:1" + "src": "4427:15:0" } ], - "id": 606, + "id": 98, "name": "ParameterList", - "src": "4282:43:1" + "src": "4400:43:0" }, { "attributes": { @@ -38484,14 +38484,14 @@ ] }, "children": [], - "id": 607, + "id": 99, "name": "ParameterList", - "src": "4334:0:1" + "src": "4452:0:0" } ], - "id": 608, + "id": 100, "name": "FunctionDefinition", - "src": "4261:74:1" + "src": "4379:74:0" }, { "attributes": { @@ -38503,7 +38503,7 @@ null ], "name": "approve", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38513,9 +38513,9 @@ "attributes": { "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, - "id": 609, + "id": 101, "name": "StructuredDocumentation", - "src": "4341:452:1" + "src": "4461:464:0" }, { "children": [ @@ -38524,7 +38524,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38537,21 +38537,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 610, + "id": 102, "name": "ElementaryTypeName", - "src": "4815:7:1" + "src": "4948:7:0" } ], - "id": 611, + "id": 103, "name": "VariableDeclaration", - "src": "4815:10:1" + "src": "4948:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38563,19 +38563,19 @@ "name": "uint256", "type": "uint256" }, - "id": 612, + "id": 104, "name": "ElementaryTypeName", - "src": "4827:7:1" + "src": "4960:7:0" } ], - "id": 613, + "id": 105, "name": "VariableDeclaration", - "src": "4827:15:1" + "src": "4960:15:0" } ], - "id": 614, + "id": 106, "name": "ParameterList", - "src": "4814:29:1" + "src": "4947:29:0" }, { "attributes": { @@ -38584,14 +38584,14 @@ ] }, "children": [], - "id": 615, + "id": 107, "name": "ParameterList", - "src": "4852:0:1" + "src": "4985:0:0" } ], - "id": 616, + "id": 108, "name": "FunctionDefinition", - "src": "4798:55:1" + "src": "4931:55:0" }, { "attributes": { @@ -38603,7 +38603,7 @@ null ], "name": "getApproved", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38613,9 +38613,9 @@ "attributes": { "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 617, + "id": 109, "name": "StructuredDocumentation", - "src": "4859:139:1" + "src": "4994:145:0" }, { "children": [ @@ -38624,7 +38624,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38636,19 +38636,19 @@ "name": "uint256", "type": "uint256" }, - "id": 618, + "id": 110, "name": "ElementaryTypeName", - "src": "5024:7:1" + "src": "5166:7:0" } ], - "id": 619, + "id": 111, "name": "VariableDeclaration", - "src": "5024:15:1" + "src": "5166:15:0" } ], - "id": 620, + "id": 112, "name": "ParameterList", - "src": "5023:17:1" + "src": "5165:17:0" }, { "children": [ @@ -38657,7 +38657,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38670,24 +38670,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 621, + "id": 113, "name": "ElementaryTypeName", - "src": "5064:7:1" + "src": "5206:7:0" } ], - "id": 622, + "id": 114, "name": "VariableDeclaration", - "src": "5064:16:1" + "src": "5206:16:0" } ], - "id": 623, + "id": 115, "name": "ParameterList", - "src": "5063:18:1" + "src": "5205:18:0" } ], - "id": 624, + "id": 116, "name": "FunctionDefinition", - "src": "5003:79:1" + "src": "5145:79:0" }, { "attributes": { @@ -38699,7 +38699,7 @@ null ], "name": "setApprovalForAll", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38709,9 +38709,9 @@ "attributes": { "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, - "id": 625, + "id": 117, "name": "StructuredDocumentation", - "src": "5088:309:1" + "src": "5232:318:0" }, { "children": [ @@ -38720,7 +38720,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38733,21 +38733,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 626, + "id": 118, "name": "ElementaryTypeName", - "src": "5429:7:1" + "src": "5583:7:0" } ], - "id": 627, + "id": 119, "name": "VariableDeclaration", - "src": "5429:16:1" + "src": "5583:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_approved", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38759,19 +38759,19 @@ "name": "bool", "type": "bool" }, - "id": 628, + "id": 120, "name": "ElementaryTypeName", - "src": "5447:4:1" + "src": "5601:4:0" } ], - "id": 629, + "id": 121, "name": "VariableDeclaration", - "src": "5447:14:1" + "src": "5601:14:0" } ], - "id": 630, + "id": 122, "name": "ParameterList", - "src": "5428:34:1" + "src": "5582:34:0" }, { "attributes": { @@ -38780,14 +38780,14 @@ ] }, "children": [], - "id": 631, + "id": 123, "name": "ParameterList", - "src": "5471:0:1" + "src": "5625:0:0" } ], - "id": 632, + "id": 124, "name": "FunctionDefinition", - "src": "5402:70:1" + "src": "5556:70:0" }, { "attributes": { @@ -38799,7 +38799,7 @@ null ], "name": "isApprovedForAll", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38809,9 +38809,9 @@ "attributes": { "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, - "id": 633, + "id": 125, "name": "StructuredDocumentation", - "src": "5478:138:1" + "src": "5634:142:0" }, { "children": [ @@ -38820,7 +38820,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38833,21 +38833,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 634, + "id": 126, "name": "ElementaryTypeName", - "src": "5647:7:1" + "src": "5808:7:0" } ], - "id": 635, + "id": 127, "name": "VariableDeclaration", - "src": "5647:13:1" + "src": "5808:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38860,19 +38860,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 636, + "id": 128, "name": "ElementaryTypeName", - "src": "5662:7:1" + "src": "5823:7:0" } ], - "id": 637, + "id": 129, "name": "VariableDeclaration", - "src": "5662:16:1" + "src": "5823:16:0" } ], - "id": 638, + "id": 130, "name": "ParameterList", - "src": "5646:33:1" + "src": "5807:33:0" }, { "children": [ @@ -38881,7 +38881,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38893,24 +38893,24 @@ "name": "bool", "type": "bool" }, - "id": 639, + "id": 131, "name": "ElementaryTypeName", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 640, + "id": 132, "name": "VariableDeclaration", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 641, + "id": 133, "name": "ParameterList", - "src": "5702:6:1" + "src": "5863:6:0" } ], - "id": 642, + "id": 134, "name": "FunctionDefinition", - "src": "5621:88:1" + "src": "5782:88:0" }, { "attributes": { @@ -38922,7 +38922,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38932,9 +38932,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 643, + "id": 135, "name": "StructuredDocumentation", - "src": "5715:568:1" + "src": "5878:580:0" }, { "children": [ @@ -38943,7 +38943,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38956,21 +38956,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 644, + "id": 136, "name": "ElementaryTypeName", - "src": "6314:7:1" + "src": "6490:7:0" } ], - "id": 645, + "id": 137, "name": "VariableDeclaration", - "src": "6314:12:1" + "src": "6490:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38983,21 +38983,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 646, + "id": 138, "name": "ElementaryTypeName", - "src": "6328:7:1" + "src": "6504:7:0" } ], - "id": 647, + "id": 139, "name": "VariableDeclaration", - "src": "6328:10:1" + "src": "6504:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39009,21 +39009,21 @@ "name": "uint256", "type": "uint256" }, - "id": 648, + "id": 140, "name": "ElementaryTypeName", - "src": "6340:7:1" + "src": "6516:7:0" } ], - "id": 649, + "id": 141, "name": "VariableDeclaration", - "src": "6340:15:1" + "src": "6516:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39035,19 +39035,19 @@ "name": "bytes", "type": "bytes" }, - "id": 650, + "id": 142, "name": "ElementaryTypeName", - "src": "6357:5:1" + "src": "6533:5:0" } ], - "id": 651, + "id": 143, "name": "VariableDeclaration", - "src": "6357:19:1" + "src": "6533:19:0" } ], - "id": 652, + "id": 144, "name": "ParameterList", - "src": "6313:64:1" + "src": "6489:64:0" }, { "attributes": { @@ -39056,19 +39056,19 @@ ] }, "children": [], - "id": 653, + "id": 145, "name": "ParameterList", - "src": "6386:0:1" + "src": "6562:0:0" } ], - "id": 654, + "id": 146, "name": "FunctionDefinition", - "src": "6288:99:1" + "src": "6464:99:0" } ], - "id": 655, + "id": 147, "name": "ContractDefinition", - "src": "1975:4414:1" + "src": "2033:4533:0" }, { "attributes": { @@ -39082,35 +39082,35 @@ ".0" ] }, - "id": 656, + "id": 148, "name": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 657, + "id": 149, "name": "StructuredDocumentation", - "src": "6491:133:1" + "src": "6674:136:0" }, { "attributes": {}, @@ -39118,17 +39118,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 658, + "id": 150, "name": "UserDefinedTypeName", - "src": "6654:7:1" + "src": "6841:7:0" } ], - "id": 659, + "id": 151, "name": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" }, { "attributes": { @@ -39140,7 +39140,7 @@ null ], "name": "name", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39150,9 +39150,9 @@ "attributes": { "text": " @dev Returns the token collection name." }, - "id": 660, + "id": 152, "name": "StructuredDocumentation", - "src": "6669:58:1" + "src": "6858:60:0" }, { "attributes": { @@ -39161,9 +39161,9 @@ ] }, "children": [], - "id": 661, + "id": 153, "name": "ParameterList", - "src": "6745:2:1" + "src": "6937:2:0" }, { "children": [ @@ -39172,7 +39172,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 665, + "scope": 157, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39184,24 +39184,24 @@ "name": "string", "type": "string" }, - "id": 662, + "id": 154, "name": "ElementaryTypeName", - "src": "6771:6:1" + "src": "6963:6:0" } ], - "id": 663, + "id": 155, "name": "VariableDeclaration", - "src": "6771:13:1" + "src": "6963:13:0" } ], - "id": 664, + "id": 156, "name": "ParameterList", - "src": "6770:15:1" + "src": "6962:15:0" } ], - "id": 665, + "id": 157, "name": "FunctionDefinition", - "src": "6732:54:1" + "src": "6924:54:0" }, { "attributes": { @@ -39213,7 +39213,7 @@ null ], "name": "symbol", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39223,9 +39223,9 @@ "attributes": { "text": " @dev Returns the token collection symbol." }, - "id": 666, + "id": 158, "name": "StructuredDocumentation", - "src": "6792:60:1" + "src": "6986:62:0" }, { "attributes": { @@ -39234,9 +39234,9 @@ ] }, "children": [], - "id": 667, + "id": 159, "name": "ParameterList", - "src": "6872:2:1" + "src": "7069:2:0" }, { "children": [ @@ -39245,7 +39245,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 671, + "scope": 163, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39257,24 +39257,24 @@ "name": "string", "type": "string" }, - "id": 668, + "id": 160, "name": "ElementaryTypeName", - "src": "6898:6:1" + "src": "7095:6:0" } ], - "id": 669, + "id": 161, "name": "VariableDeclaration", - "src": "6898:13:1" + "src": "7095:13:0" } ], - "id": 670, + "id": 162, "name": "ParameterList", - "src": "6897:15:1" + "src": "7094:15:0" } ], - "id": 671, + "id": 163, "name": "FunctionDefinition", - "src": "6857:56:1" + "src": "7054:56:0" }, { "attributes": { @@ -39286,7 +39286,7 @@ null ], "name": "tokenURI", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39296,9 +39296,9 @@ "attributes": { "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, - "id": 672, + "id": 164, "name": "StructuredDocumentation", - "src": "6919:90:1" + "src": "7118:92:0" }, { "children": [ @@ -39307,7 +39307,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39319,19 +39319,19 @@ "name": "uint256", "type": "uint256" }, - "id": 673, + "id": 165, "name": "ElementaryTypeName", - "src": "7032:7:1" + "src": "7234:7:0" } ], - "id": 674, + "id": 166, "name": "VariableDeclaration", - "src": "7032:15:1" + "src": "7234:15:0" } ], - "id": 675, + "id": 167, "name": "ParameterList", - "src": "7031:17:1" + "src": "7233:17:0" }, { "children": [ @@ -39340,7 +39340,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39352,29 +39352,29 @@ "name": "string", "type": "string" }, - "id": 676, + "id": 168, "name": "ElementaryTypeName", - "src": "7072:6:1" + "src": "7274:6:0" } ], - "id": 677, + "id": 169, "name": "VariableDeclaration", - "src": "7072:13:1" + "src": "7274:13:0" } ], - "id": 678, + "id": 170, "name": "ParameterList", - "src": "7071:15:1" + "src": "7273:15:0" } ], - "id": 679, + "id": 171, "name": "FunctionDefinition", - "src": "7014:73:1" + "src": "7216:73:0" } ], - "id": 680, + "id": 172, "name": "ContractDefinition", - "src": "6625:464:1" + "src": "6812:480:0" }, { "attributes": { @@ -39388,35 +39388,35 @@ ".0" ] }, - "id": 681, + "id": 173, "name": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 682, + "id": 174, "name": "StructuredDocumentation", - "src": "7195:136:1" + "src": "7406:139:0" }, { "attributes": {}, @@ -39424,17 +39424,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 683, + "id": 175, "name": "UserDefinedTypeName", - "src": "7363:7:1" + "src": "7578:7:0" } ], - "id": 684, + "id": 176, "name": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" }, { "attributes": { @@ -39446,7 +39446,7 @@ null ], "name": "totalSupply", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39456,9 +39456,9 @@ "attributes": { "text": " @dev Returns the total amount of tokens stored by the contract." }, - "id": 685, + "id": 177, "name": "StructuredDocumentation", - "src": "7378:82:1" + "src": "7595:84:0" }, { "attributes": { @@ -39467,9 +39467,9 @@ ] }, "children": [], - "id": 686, + "id": 178, "name": "ParameterList", - "src": "7485:2:1" + "src": "7705:2:0" }, { "children": [ @@ -39478,7 +39478,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 690, + "scope": 182, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39490,24 +39490,24 @@ "name": "uint256", "type": "uint256" }, - "id": 687, + "id": 179, "name": "ElementaryTypeName", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 688, + "id": 180, "name": "VariableDeclaration", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 689, + "id": 181, "name": "ParameterList", - "src": "7510:9:1" + "src": "7730:9:0" } ], - "id": 690, + "id": 182, "name": "FunctionDefinition", - "src": "7465:55:1" + "src": "7685:55:0" }, { "attributes": { @@ -39519,7 +39519,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39529,9 +39529,9 @@ "attributes": { "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, - "id": 691, + "id": 183, "name": "StructuredDocumentation", - "src": "7526:171:1" + "src": "7748:174:0" }, { "children": [ @@ -39540,7 +39540,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39553,21 +39553,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 692, + "id": 184, "name": "ElementaryTypeName", - "src": "7731:7:1" + "src": "7957:7:0" } ], - "id": 693, + "id": 185, "name": "VariableDeclaration", - "src": "7731:13:1" + "src": "7957:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39579,19 +39579,19 @@ "name": "uint256", "type": "uint256" }, - "id": 694, + "id": 186, "name": "ElementaryTypeName", - "src": "7746:7:1" + "src": "7972:7:0" } ], - "id": 695, + "id": 187, "name": "VariableDeclaration", - "src": "7746:13:1" + "src": "7972:13:0" } ], - "id": 696, + "id": 188, "name": "ParameterList", - "src": "7730:30:1" + "src": "7956:30:0" }, { "children": [ @@ -39600,7 +39600,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39612,24 +39612,24 @@ "name": "uint256", "type": "uint256" }, - "id": 697, + "id": 189, "name": "ElementaryTypeName", - "src": "7784:7:1" + "src": "8010:7:0" } ], - "id": 698, + "id": 190, "name": "VariableDeclaration", - "src": "7784:15:1" + "src": "8010:15:0" } ], - "id": 699, + "id": 191, "name": "ParameterList", - "src": "7783:17:1" + "src": "8009:17:0" } ], - "id": 700, + "id": 192, "name": "FunctionDefinition", - "src": "7702:99:1" + "src": "7928:99:0" }, { "attributes": { @@ -39641,7 +39641,7 @@ null ], "name": "tokenByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39651,9 +39651,9 @@ "attributes": { "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, - "id": 701, + "id": 193, "name": "StructuredDocumentation", - "src": "7807:164:1" + "src": "8035:167:0" }, { "children": [ @@ -39662,7 +39662,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39674,19 +39674,19 @@ "name": "uint256", "type": "uint256" }, - "id": 702, + "id": 194, "name": "ElementaryTypeName", - "src": "7998:7:1" + "src": "8230:7:0" } ], - "id": 703, + "id": 195, "name": "VariableDeclaration", - "src": "7998:13:1" + "src": "8230:13:0" } ], - "id": 704, + "id": 196, "name": "ParameterList", - "src": "7997:15:1" + "src": "8229:15:0" }, { "children": [ @@ -39695,7 +39695,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39707,29 +39707,29 @@ "name": "uint256", "type": "uint256" }, - "id": 705, + "id": 197, "name": "ElementaryTypeName", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 706, + "id": 198, "name": "VariableDeclaration", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 707, + "id": 199, "name": "ParameterList", - "src": "8035:9:1" + "src": "8267:9:0" } ], - "id": 708, + "id": 200, "name": "FunctionDefinition", - "src": "7976:69:1" + "src": "8208:69:0" } ], - "id": 709, + "id": 201, "name": "ContractDefinition", - "src": "7332:715:1" + "src": "7547:733:0" }, { "attributes": { @@ -39743,9 +39743,9 @@ ".0" ] }, - "id": 710, + "id": 202, "name": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "attributes": { @@ -39759,19 +39759,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, - "id": 711, + "id": 203, "name": "StructuredDocumentation", - "src": "8150:152:1" + "src": "8390:156:0" }, { "attributes": { @@ -39783,7 +39783,7 @@ null ], "name": "onERC721Received", - "scope": 726, + "scope": 218, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -39793,9 +39793,9 @@ "attributes": { "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, - "id": 712, + "id": 204, "name": "StructuredDocumentation", - "src": "8335:485:1" + "src": "8581:493:0" }, { "children": [ @@ -39804,7 +39804,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39817,21 +39817,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 713, + "id": 205, "name": "ElementaryTypeName", - "src": "8851:7:1" + "src": "9106:7:0" } ], - "id": 714, + "id": 206, "name": "VariableDeclaration", - "src": "8851:16:1" + "src": "9106:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "from", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39844,21 +39844,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 715, + "id": 207, "name": "ElementaryTypeName", - "src": "8869:7:1" + "src": "9124:7:0" } ], - "id": 716, + "id": 208, "name": "VariableDeclaration", - "src": "8869:12:1" + "src": "9124:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39870,21 +39870,21 @@ "name": "uint256", "type": "uint256" }, - "id": 717, + "id": 209, "name": "ElementaryTypeName", - "src": "8883:7:1" + "src": "9138:7:0" } ], - "id": 718, + "id": 210, "name": "VariableDeclaration", - "src": "8883:15:1" + "src": "9138:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39896,19 +39896,19 @@ "name": "bytes", "type": "bytes" }, - "id": 719, + "id": 211, "name": "ElementaryTypeName", - "src": "8900:5:1" + "src": "9155:5:0" } ], - "id": 720, + "id": 212, "name": "VariableDeclaration", - "src": "8900:19:1" + "src": "9155:19:0" } ], - "id": 721, + "id": 213, "name": "ParameterList", - "src": "8850:70:1" + "src": "9105:70:0" }, { "children": [ @@ -39917,7 +39917,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -39929,29 +39929,29 @@ "name": "bytes4", "type": "bytes4" }, - "id": 722, + "id": 214, "name": "ElementaryTypeName", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 723, + "id": 215, "name": "VariableDeclaration", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 724, + "id": 216, "name": "ParameterList", - "src": "8938:8:1" + "src": "9193:8:0" } ], - "id": 725, + "id": 217, "name": "FunctionDefinition", - "src": "8825:122:1" + "src": "9080:122:0" } ], - "id": 726, + "id": 218, "name": "ContractDefinition", - "src": "8303:646:1" + "src": "8548:657:0" }, { "attributes": { @@ -39965,33 +39965,33 @@ ".0" ] }, - "id": 727, + "id": 219, "name": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "attributes": { "abstract": true, "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, - "id": 728, + "id": 220, "name": "StructuredDocumentation", - "src": "9043:171:1" + "src": "9305:176:0" }, { "attributes": {}, @@ -39999,24 +39999,24 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 729, + "id": 221, "name": "UserDefinedTypeName", - "src": "9243:7:1" + "src": "9511:7:0" } ], - "id": 730, + "id": 222, "name": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -40028,9 +40028,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 731, + "id": 223, "name": "ElementaryTypeName", - "src": "9340:6:1" + "src": "9612:6:0" }, { "attributes": { @@ -40043,21 +40043,21 @@ "type": "int_const 33540519", "value": "0x01ffc9a7" }, - "id": 732, + "id": 224, "name": "Literal", - "src": "9387:10:1" + "src": "9659:10:0" } ], - "id": 733, + "id": 225, "name": "VariableDeclaration", - "src": "9340:57:1" + "src": "9612:57:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_supportedInterfaces", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "mapping(bytes4 => bool)", @@ -40074,36 +40074,36 @@ "name": "bytes4", "type": "bytes4" }, - "id": 735, + "id": 227, "name": "ElementaryTypeName", - "src": "9499:6:1" + "src": "9776:6:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 736, + "id": 228, "name": "ElementaryTypeName", - "src": "9509:4:1" + "src": "9786:4:0" } ], - "id": 737, + "id": 229, "name": "Mapping", - "src": "9491:23:1" + "src": "9768:23:0" }, { "attributes": { "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 734, + "id": 226, "name": "StructuredDocumentation", - "src": "9404:82:1" + "src": "9678:84:0" } ], - "id": 738, + "id": 230, "name": "VariableDeclaration", - "src": "9491:52:1" + "src": "9768:52:0" }, { "attributes": { @@ -40114,7 +40114,7 @@ null ], "name": "", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -40127,9 +40127,9 @@ ] }, "children": [], - "id": 739, + "id": 231, "name": "ParameterList", - "src": "9562:2:1" + "src": "9841:2:0" }, { "attributes": { @@ -40138,9 +40138,9 @@ ] }, "children": [], - "id": 740, + "id": 232, "name": "ParameterList", - "src": "9565:0:1" + "src": "9844:0:0" }, { "children": [ @@ -40172,51 +40172,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 741, + "id": 233, "name": "Identifier", - "src": "9711:18:1" + "src": "9993:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 733, + "referencedDeclaration": 225, "type": "bytes4", "value": "_INTERFACE_ID_ERC165" }, - "id": 742, + "id": 234, "name": "Identifier", - "src": "9730:20:1" + "src": "10012:20:0" } ], - "id": 743, + "id": 235, "name": "FunctionCall", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 744, + "id": 236, "name": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 745, + "id": 237, "name": "Block", - "src": "9565:193:1" + "src": "9844:197:0" } ], - "id": 746, + "id": 238, "name": "FunctionDefinition", - "src": "9550:208:1" + "src": "9829:212:0" }, { "attributes": { "baseFunctions": [ - 540 + 32 ], "functionSelector": "01ffc9a7", "implemented": true, @@ -40226,7 +40226,7 @@ null ], "name": "supportsInterface", - "scope": 781, + "scope": 273, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -40236,9 +40236,9 @@ "attributes": { "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, - "id": 747, + "id": 239, "name": "StructuredDocumentation", - "src": "9764:139:1" + "src": "10049:143:0" }, { "attributes": { @@ -40246,9 +40246,9 @@ null ] }, - "id": 751, + "id": 243, "name": "OverrideSpecifier", - "src": "9975:8:1" + "src": "10265:8:0" }, { "children": [ @@ -40257,7 +40257,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40269,19 +40269,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 748, + "id": 240, "name": "ElementaryTypeName", - "src": "9935:6:1" + "src": "10225:6:0" } ], - "id": 749, + "id": 241, "name": "VariableDeclaration", - "src": "9935:18:1" + "src": "10225:18:0" } ], - "id": 750, + "id": 242, "name": "ParameterList", - "src": "9934:20:1" + "src": "10224:20:0" }, { "children": [ @@ -40290,7 +40290,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40302,25 +40302,25 @@ "name": "bool", "type": "bool" }, - "id": 752, + "id": 244, "name": "ElementaryTypeName", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 753, + "id": 245, "name": "VariableDeclaration", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 754, + "id": 246, "name": "ParameterList", - "src": "9992:6:1" + "src": "10282:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 754 + "functionReturnParameters": 246 }, "children": [ { @@ -40337,46 +40337,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 755, + "id": 247, "name": "Identifier", - "src": "10016:20:1" + "src": "10307:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 749, + "referencedDeclaration": 241, "type": "bytes4", "value": "interfaceId" }, - "id": 756, + "id": 248, "name": "Identifier", - "src": "10037:11:1" + "src": "10328:11:0" } ], - "id": 757, + "id": 249, "name": "IndexAccess", - "src": "10016:33:1" + "src": "10307:33:0" } ], - "id": 758, + "id": 250, "name": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ], - "id": 759, + "id": 251, "name": "Block", - "src": "9999:57:1" + "src": "10289:59:0" } ], - "id": 760, + "id": 252, "name": "FunctionDefinition", - "src": "9908:148:1" + "src": "10198:150:0" }, { "attributes": { @@ -40387,7 +40387,7 @@ null ], "name": "_registerInterface", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -40397,9 +40397,9 @@ "attributes": { "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 761, + "id": 253, "name": "StructuredDocumentation", - "src": "10062:383:1" + "src": "10356:393:0" }, { "children": [ @@ -40408,7 +40408,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 780, + "scope": 272, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40420,19 +40420,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 762, + "id": 254, "name": "ElementaryTypeName", - "src": "10478:6:1" + "src": "10783:6:0" } ], - "id": 763, + "id": 255, "name": "VariableDeclaration", - "src": "10478:18:1" + "src": "10783:18:0" } ], - "id": 764, + "id": 256, "name": "ParameterList", - "src": "10477:20:1" + "src": "10782:20:0" }, { "attributes": { @@ -40441,9 +40441,9 @@ ] }, "children": [], - "id": 765, + "id": 257, "name": "ParameterList", - "src": "10515:0:1" + "src": "10820:0:0" }, { "children": [ @@ -40484,9 +40484,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 766, + "id": 258, "name": "Identifier", - "src": "10525:7:1" + "src": "10831:7:0" }, { "attributes": { @@ -40507,13 +40507,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 767, + "id": 259, "name": "Identifier", - "src": "10533:11:1" + "src": "10839:11:0" }, { "attributes": { @@ -40526,14 +40526,14 @@ "type": "int_const 4294967295", "value": "0xffffffff" }, - "id": 768, + "id": 260, "name": "Literal", - "src": "10548:10:1" + "src": "10854:10:0" } ], - "id": 769, + "id": 261, "name": "BinaryOperation", - "src": "10533:25:1" + "src": "10839:25:0" }, { "attributes": { @@ -40546,19 +40546,19 @@ "type": "literal_string \"ERC165: invalid interface id\"", "value": "ERC165: invalid interface id" }, - "id": 770, + "id": 262, "name": "Literal", - "src": "10560:30:1" + "src": "10866:30:0" } ], - "id": 771, + "id": 263, "name": "FunctionCall", - "src": "10525:66:1" + "src": "10831:66:0" } ], - "id": 772, + "id": 264, "name": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "children": [ @@ -40586,31 +40586,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 773, + "id": 265, "name": "Identifier", - "src": "10601:20:1" + "src": "10908:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 774, + "id": 266, "name": "Identifier", - "src": "10622:11:1" + "src": "10929:11:0" } ], - "id": 775, + "id": 267, "name": "IndexAccess", - "src": "10601:33:1" + "src": "10908:33:0" }, { "attributes": { @@ -40623,34 +40623,34 @@ "type": "bool", "value": "true" }, - "id": 776, + "id": 268, "name": "Literal", - "src": "10637:4:1" + "src": "10944:4:0" } ], - "id": 777, + "id": 269, "name": "Assignment", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 778, + "id": 270, "name": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 779, + "id": 271, "name": "Block", - "src": "10515:133:1" + "src": "10820:136:0" } ], - "id": 780, + "id": 272, "name": "FunctionDefinition", - "src": "10450:198:1" + "src": "10755:201:0" } ], - "id": 781, + "id": 273, "name": "ContractDefinition", - "src": "9215:1435:1" + "src": "9483:1476:0" }, { "attributes": { @@ -40664,9 +40664,9 @@ ".0" ] }, - "id": 782, + "id": 274, "name": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "attributes": { @@ -40680,19 +40680,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, - "id": 783, + "id": 275, "name": "StructuredDocumentation", - "src": "10736:563:1" + "src": "11050:575:0" }, { "attributes": { @@ -40703,7 +40703,7 @@ null ], "name": "tryAdd", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -40713,9 +40713,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 784, + "id": 276, "name": "StructuredDocumentation", - "src": "11323:131:1" + "src": "11651:135:0" }, { "children": [ @@ -40724,7 +40724,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40736,21 +40736,21 @@ "name": "uint256", "type": "uint256" }, - "id": 785, + "id": 277, "name": "ElementaryTypeName", - "src": "11475:7:1" + "src": "11808:7:0" } ], - "id": 786, + "id": 278, "name": "VariableDeclaration", - "src": "11475:9:1" + "src": "11808:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40762,19 +40762,19 @@ "name": "uint256", "type": "uint256" }, - "id": 787, + "id": 279, "name": "ElementaryTypeName", - "src": "11486:7:1" + "src": "11819:7:0" } ], - "id": 788, + "id": 280, "name": "VariableDeclaration", - "src": "11486:9:1" + "src": "11819:9:0" } ], - "id": 789, + "id": 281, "name": "ParameterList", - "src": "11474:22:1" + "src": "11807:22:0" }, { "children": [ @@ -40783,7 +40783,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40795,21 +40795,21 @@ "name": "bool", "type": "bool" }, - "id": 790, + "id": 282, "name": "ElementaryTypeName", - "src": "11520:4:1" + "src": "11853:4:0" } ], - "id": 791, + "id": 283, "name": "VariableDeclaration", - "src": "11520:4:1" + "src": "11853:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40821,26 +40821,26 @@ "name": "uint256", "type": "uint256" }, - "id": 792, + "id": 284, "name": "ElementaryTypeName", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 793, + "id": 285, "name": "VariableDeclaration", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 794, + "id": 286, "name": "ParameterList", - "src": "11519:15:1" + "src": "11852:15:0" }, { "children": [ { "attributes": { "assignments": [ - 796 + 288 ] }, "children": [ @@ -40849,7 +40849,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 813, + "scope": 305, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40861,14 +40861,14 @@ "name": "uint256", "type": "uint256" }, - "id": 795, + "id": 287, "name": "ElementaryTypeName", - "src": "11545:7:1" + "src": "11879:7:0" } ], - "id": 796, + "id": 288, "name": "VariableDeclaration", - "src": "11545:9:1" + "src": "11879:9:0" }, { "attributes": { @@ -40889,36 +40889,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 797, + "id": 289, "name": "Identifier", - "src": "11557:1:1" + "src": "11891:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 280, "type": "uint256", "value": "b" }, - "id": 798, + "id": 290, "name": "Identifier", - "src": "11561:1:1" + "src": "11895:1:0" } ], - "id": 799, + "id": 291, "name": "BinaryOperation", - "src": "11557:5:1" + "src": "11891:5:0" } ], - "id": 800, + "id": 292, "name": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "attributes": {}, @@ -40942,35 +40942,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 801, + "id": 293, "name": "Identifier", - "src": "11576:1:1" + "src": "11911:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 802, + "id": 294, "name": "Identifier", - "src": "11580:1:1" + "src": "11915:1:0" } ], - "id": 803, + "id": 295, "name": "BinaryOperation", - "src": "11576:5:1" + "src": "11911:5:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -40994,9 +40994,9 @@ "type": "bool", "value": "false" }, - "id": 804, + "id": 296, "name": "Literal", - "src": "11591:5:1" + "src": "11926:5:0" }, { "attributes": { @@ -41009,28 +41009,28 @@ "type": "int_const 0", "value": "0" }, - "id": 805, + "id": 297, "name": "Literal", - "src": "11598:1:1" + "src": "11933:1:0" } ], - "id": 806, + "id": 298, "name": "TupleExpression", - "src": "11590:10:1" + "src": "11925:10:0" } ], - "id": 807, + "id": 299, "name": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } ], - "id": 808, + "id": 300, "name": "IfStatement", - "src": "11572:28:1" + "src": "11907:28:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -41054,42 +41054,42 @@ "type": "bool", "value": "true" }, - "id": 809, + "id": 301, "name": "Literal", - "src": "11618:4:1" + "src": "11954:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 810, + "id": 302, "name": "Identifier", - "src": "11624:1:1" + "src": "11960:1:0" } ], - "id": 811, + "id": 303, "name": "TupleExpression", - "src": "11617:9:1" + "src": "11953:9:0" } ], - "id": 812, + "id": 304, "name": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ], - "id": 813, + "id": 305, "name": "Block", - "src": "11535:98:1" + "src": "11868:102:0" } ], - "id": 814, + "id": 306, "name": "FunctionDefinition", - "src": "11459:174:1" + "src": "11792:178:0" }, { "attributes": { @@ -41100,7 +41100,7 @@ null ], "name": "trySub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41110,9 +41110,9 @@ "attributes": { "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 815, + "id": 307, "name": "StructuredDocumentation", - "src": "11639:135:1" + "src": "11978:139:0" }, { "children": [ @@ -41121,7 +41121,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41133,21 +41133,21 @@ "name": "uint256", "type": "uint256" }, - "id": 816, + "id": 308, "name": "ElementaryTypeName", - "src": "11795:7:1" + "src": "12139:7:0" } ], - "id": 817, + "id": 309, "name": "VariableDeclaration", - "src": "11795:9:1" + "src": "12139:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41159,19 +41159,19 @@ "name": "uint256", "type": "uint256" }, - "id": 818, + "id": 310, "name": "ElementaryTypeName", - "src": "11806:7:1" + "src": "12150:7:0" } ], - "id": 819, + "id": 311, "name": "VariableDeclaration", - "src": "11806:9:1" + "src": "12150:9:0" } ], - "id": 820, + "id": 312, "name": "ParameterList", - "src": "11794:22:1" + "src": "12138:22:0" }, { "children": [ @@ -41180,7 +41180,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41192,21 +41192,21 @@ "name": "bool", "type": "bool" }, - "id": 821, + "id": 313, "name": "ElementaryTypeName", - "src": "11840:4:1" + "src": "12184:4:0" } ], - "id": 822, + "id": 314, "name": "VariableDeclaration", - "src": "11840:4:1" + "src": "12184:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41218,19 +41218,19 @@ "name": "uint256", "type": "uint256" }, - "id": 823, + "id": 315, "name": "ElementaryTypeName", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 824, + "id": 316, "name": "VariableDeclaration", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 825, + "id": 317, "name": "ParameterList", - "src": "11839:15:1" + "src": "12183:15:0" }, { "children": [ @@ -41256,35 +41256,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 826, + "id": 318, "name": "Identifier", - "src": "11869:1:1" + "src": "12214:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 827, + "id": 319, "name": "Identifier", - "src": "11873:1:1" + "src": "12218:1:0" } ], - "id": 828, + "id": 320, "name": "BinaryOperation", - "src": "11869:5:1" + "src": "12214:5:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41308,9 +41308,9 @@ "type": "bool", "value": "false" }, - "id": 829, + "id": 321, "name": "Literal", - "src": "11884:5:1" + "src": "12229:5:0" }, { "attributes": { @@ -41323,28 +41323,28 @@ "type": "int_const 0", "value": "0" }, - "id": 830, + "id": 322, "name": "Literal", - "src": "11891:1:1" + "src": "12236:1:0" } ], - "id": 831, + "id": 323, "name": "TupleExpression", - "src": "11883:10:1" + "src": "12228:10:0" } ], - "id": 832, + "id": 324, "name": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } ], - "id": 833, + "id": 325, "name": "IfStatement", - "src": "11865:28:1" + "src": "12210:28:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41368,9 +41368,9 @@ "type": "bool", "value": "true" }, - "id": 834, + "id": 326, "name": "Literal", - "src": "11911:4:1" + "src": "12257:4:0" }, { "attributes": { @@ -41391,51 +41391,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 835, + "id": 327, "name": "Identifier", - "src": "11917:1:1" + "src": "12263:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 836, + "id": 328, "name": "Identifier", - "src": "11921:1:1" + "src": "12267:1:0" } ], - "id": 837, + "id": 329, "name": "BinaryOperation", - "src": "11917:5:1" + "src": "12263:5:0" } ], - "id": 838, + "id": 330, "name": "TupleExpression", - "src": "11910:13:1" + "src": "12256:13:0" } ], - "id": 839, + "id": 331, "name": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ], - "id": 840, + "id": 332, "name": "Block", - "src": "11855:75:1" + "src": "12199:78:0" } ], - "id": 841, + "id": 333, "name": "FunctionDefinition", - "src": "11779:151:1" + "src": "12123:154:0" }, { "attributes": { @@ -41446,7 +41446,7 @@ null ], "name": "tryMul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41456,9 +41456,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 842, + "id": 334, "name": "StructuredDocumentation", - "src": "11936:137:1" + "src": "12285:141:0" }, { "children": [ @@ -41467,7 +41467,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41479,21 +41479,21 @@ "name": "uint256", "type": "uint256" }, - "id": 843, + "id": 335, "name": "ElementaryTypeName", - "src": "12094:7:1" + "src": "12448:7:0" } ], - "id": 844, + "id": 336, "name": "VariableDeclaration", - "src": "12094:9:1" + "src": "12448:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41505,19 +41505,19 @@ "name": "uint256", "type": "uint256" }, - "id": 845, + "id": 337, "name": "ElementaryTypeName", - "src": "12105:7:1" + "src": "12459:7:0" } ], - "id": 846, + "id": 338, "name": "VariableDeclaration", - "src": "12105:9:1" + "src": "12459:9:0" } ], - "id": 847, + "id": 339, "name": "ParameterList", - "src": "12093:22:1" + "src": "12447:22:0" }, { "children": [ @@ -41526,7 +41526,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41538,21 +41538,21 @@ "name": "bool", "type": "bool" }, - "id": 848, + "id": 340, "name": "ElementaryTypeName", - "src": "12139:4:1" + "src": "12493:4:0" } ], - "id": 849, + "id": 341, "name": "VariableDeclaration", - "src": "12139:4:1" + "src": "12493:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41564,19 +41564,19 @@ "name": "uint256", "type": "uint256" }, - "id": 850, + "id": 342, "name": "ElementaryTypeName", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 851, + "id": 343, "name": "VariableDeclaration", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 852, + "id": 344, "name": "ParameterList", - "src": "12138:15:1" + "src": "12492:15:0" }, { "children": [ @@ -41602,13 +41602,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 853, + "id": 345, "name": "Identifier", - "src": "12386:1:1" + "src": "12744:1:0" }, { "attributes": { @@ -41621,18 +41621,18 @@ "type": "int_const 0", "value": "0" }, - "id": 854, + "id": 346, "name": "Literal", - "src": "12391:1:1" + "src": "12749:1:0" } ], - "id": 855, + "id": 347, "name": "BinaryOperation", - "src": "12386:6:1" + "src": "12744:6:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41656,9 +41656,9 @@ "type": "bool", "value": "true" }, - "id": 856, + "id": 348, "name": "Literal", - "src": "12402:4:1" + "src": "12760:4:0" }, { "attributes": { @@ -41671,29 +41671,29 @@ "type": "int_const 0", "value": "0" }, - "id": 857, + "id": 349, "name": "Literal", - "src": "12408:1:1" + "src": "12766:1:0" } ], - "id": 858, + "id": 350, "name": "TupleExpression", - "src": "12401:9:1" + "src": "12759:9:0" } ], - "id": 859, + "id": 351, "name": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } ], - "id": 860, + "id": 352, "name": "IfStatement", - "src": "12382:28:1" + "src": "12740:28:0" }, { "attributes": { "assignments": [ - 862 + 354 ] }, "children": [ @@ -41702,7 +41702,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 881, + "scope": 373, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41714,14 +41714,14 @@ "name": "uint256", "type": "uint256" }, - "id": 861, + "id": 353, "name": "ElementaryTypeName", - "src": "12420:7:1" + "src": "12779:7:0" } ], - "id": 862, + "id": 354, "name": "VariableDeclaration", - "src": "12420:9:1" + "src": "12779:9:0" }, { "attributes": { @@ -41742,36 +41742,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 863, + "id": 355, "name": "Identifier", - "src": "12432:1:1" + "src": "12791:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 864, + "id": 356, "name": "Identifier", - "src": "12436:1:1" + "src": "12795:1:0" } ], - "id": 865, + "id": 357, "name": "BinaryOperation", - "src": "12432:5:1" + "src": "12791:5:0" } ], - "id": 866, + "id": 358, "name": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "attributes": {}, @@ -41809,53 +41809,53 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 867, + "id": 359, "name": "Identifier", - "src": "12451:1:1" + "src": "12811:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 868, + "id": 360, "name": "Identifier", - "src": "12455:1:1" + "src": "12815:1:0" } ], - "id": 869, + "id": 361, "name": "BinaryOperation", - "src": "12451:5:1" + "src": "12811:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 870, + "id": 362, "name": "Identifier", - "src": "12460:1:1" + "src": "12820:1:0" } ], - "id": 871, + "id": 363, "name": "BinaryOperation", - "src": "12451:10:1" + "src": "12811:10:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41879,9 +41879,9 @@ "type": "bool", "value": "false" }, - "id": 872, + "id": 364, "name": "Literal", - "src": "12471:5:1" + "src": "12831:5:0" }, { "attributes": { @@ -41894,28 +41894,28 @@ "type": "int_const 0", "value": "0" }, - "id": 873, + "id": 365, "name": "Literal", - "src": "12478:1:1" + "src": "12838:1:0" } ], - "id": 874, + "id": 366, "name": "TupleExpression", - "src": "12470:10:1" + "src": "12830:10:0" } ], - "id": 875, + "id": 367, "name": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } ], - "id": 876, + "id": 368, "name": "IfStatement", - "src": "12447:33:1" + "src": "12807:33:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41939,42 +41939,42 @@ "type": "bool", "value": "true" }, - "id": 877, + "id": 369, "name": "Literal", - "src": "12498:4:1" + "src": "12859:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 878, + "id": 370, "name": "Identifier", - "src": "12504:1:1" + "src": "12865:1:0" } ], - "id": 879, + "id": 371, "name": "TupleExpression", - "src": "12497:9:1" + "src": "12858:9:0" } ], - "id": 880, + "id": 372, "name": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ], - "id": 881, + "id": 373, "name": "Block", - "src": "12154:359:1" + "src": "12508:367:0" } ], - "id": 882, + "id": 374, "name": "FunctionDefinition", - "src": "12078:435:1" + "src": "12432:443:0" }, { "attributes": { @@ -41985,7 +41985,7 @@ null ], "name": "tryDiv", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41995,9 +41995,9 @@ "attributes": { "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 883, + "id": 375, "name": "StructuredDocumentation", - "src": "12519:138:1" + "src": "12883:142:0" }, { "children": [ @@ -42006,7 +42006,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42018,21 +42018,21 @@ "name": "uint256", "type": "uint256" }, - "id": 884, + "id": 376, "name": "ElementaryTypeName", - "src": "12678:7:1" + "src": "13047:7:0" } ], - "id": 885, + "id": 377, "name": "VariableDeclaration", - "src": "12678:9:1" + "src": "13047:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42044,19 +42044,19 @@ "name": "uint256", "type": "uint256" }, - "id": 886, + "id": 378, "name": "ElementaryTypeName", - "src": "12689:7:1" + "src": "13058:7:0" } ], - "id": 887, + "id": 379, "name": "VariableDeclaration", - "src": "12689:9:1" + "src": "13058:9:0" } ], - "id": 888, + "id": 380, "name": "ParameterList", - "src": "12677:22:1" + "src": "13046:22:0" }, { "children": [ @@ -42065,7 +42065,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42077,21 +42077,21 @@ "name": "bool", "type": "bool" }, - "id": 889, + "id": 381, "name": "ElementaryTypeName", - "src": "12723:4:1" + "src": "13092:4:0" } ], - "id": 890, + "id": 382, "name": "VariableDeclaration", - "src": "12723:4:1" + "src": "13092:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42103,19 +42103,19 @@ "name": "uint256", "type": "uint256" }, - "id": 891, + "id": 383, "name": "ElementaryTypeName", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 892, + "id": 384, "name": "VariableDeclaration", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 893, + "id": 385, "name": "ParameterList", - "src": "12722:15:1" + "src": "13091:15:0" }, { "children": [ @@ -42141,13 +42141,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 894, + "id": 386, "name": "Identifier", - "src": "12752:1:1" + "src": "13122:1:0" }, { "attributes": { @@ -42160,18 +42160,18 @@ "type": "int_const 0", "value": "0" }, - "id": 895, + "id": 387, "name": "Literal", - "src": "12757:1:1" + "src": "13127:1:0" } ], - "id": 896, + "id": 388, "name": "BinaryOperation", - "src": "12752:6:1" + "src": "13122:6:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42195,9 +42195,9 @@ "type": "bool", "value": "false" }, - "id": 897, + "id": 389, "name": "Literal", - "src": "12768:5:1" + "src": "13138:5:0" }, { "attributes": { @@ -42210,28 +42210,28 @@ "type": "int_const 0", "value": "0" }, - "id": 898, + "id": 390, "name": "Literal", - "src": "12775:1:1" + "src": "13145:1:0" } ], - "id": 899, + "id": 391, "name": "TupleExpression", - "src": "12767:10:1" + "src": "13137:10:0" } ], - "id": 900, + "id": 392, "name": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } ], - "id": 901, + "id": 393, "name": "IfStatement", - "src": "12748:29:1" + "src": "13118:29:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42255,9 +42255,9 @@ "type": "bool", "value": "true" }, - "id": 902, + "id": 394, "name": "Literal", - "src": "12795:4:1" + "src": "13166:4:0" }, { "attributes": { @@ -42278,51 +42278,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 885, + "referencedDeclaration": 377, "type": "uint256", "value": "a" }, - "id": 903, + "id": 395, "name": "Identifier", - "src": "12801:1:1" + "src": "13172:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 904, + "id": 396, "name": "Identifier", - "src": "12805:1:1" + "src": "13176:1:0" } ], - "id": 905, + "id": 397, "name": "BinaryOperation", - "src": "12801:5:1" + "src": "13172:5:0" } ], - "id": 906, + "id": 398, "name": "TupleExpression", - "src": "12794:13:1" + "src": "13165:13:0" } ], - "id": 907, + "id": 399, "name": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ], - "id": 908, + "id": 400, "name": "Block", - "src": "12738:76:1" + "src": "13107:79:0" } ], - "id": 909, + "id": 401, "name": "FunctionDefinition", - "src": "12662:152:1" + "src": "13031:155:0" }, { "attributes": { @@ -42333,7 +42333,7 @@ null ], "name": "tryMod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42343,9 +42343,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 910, + "id": 402, "name": "StructuredDocumentation", - "src": "12820:148:1" + "src": "13194:152:0" }, { "children": [ @@ -42354,7 +42354,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42366,21 +42366,21 @@ "name": "uint256", "type": "uint256" }, - "id": 911, + "id": 403, "name": "ElementaryTypeName", - "src": "12989:7:1" + "src": "13368:7:0" } ], - "id": 912, + "id": 404, "name": "VariableDeclaration", - "src": "12989:9:1" + "src": "13368:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42392,19 +42392,19 @@ "name": "uint256", "type": "uint256" }, - "id": 913, + "id": 405, "name": "ElementaryTypeName", - "src": "13000:7:1" + "src": "13379:7:0" } ], - "id": 914, + "id": 406, "name": "VariableDeclaration", - "src": "13000:9:1" + "src": "13379:9:0" } ], - "id": 915, + "id": 407, "name": "ParameterList", - "src": "12988:22:1" + "src": "13367:22:0" }, { "children": [ @@ -42413,7 +42413,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42425,21 +42425,21 @@ "name": "bool", "type": "bool" }, - "id": 916, + "id": 408, "name": "ElementaryTypeName", - "src": "13034:4:1" + "src": "13413:4:0" } ], - "id": 917, + "id": 409, "name": "VariableDeclaration", - "src": "13034:4:1" + "src": "13413:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42451,19 +42451,19 @@ "name": "uint256", "type": "uint256" }, - "id": 918, + "id": 410, "name": "ElementaryTypeName", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 919, + "id": 411, "name": "VariableDeclaration", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 920, + "id": 412, "name": "ParameterList", - "src": "13033:15:1" + "src": "13412:15:0" }, { "children": [ @@ -42489,13 +42489,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 921, + "id": 413, "name": "Identifier", - "src": "13063:1:1" + "src": "13443:1:0" }, { "attributes": { @@ -42508,18 +42508,18 @@ "type": "int_const 0", "value": "0" }, - "id": 922, + "id": 414, "name": "Literal", - "src": "13068:1:1" + "src": "13448:1:0" } ], - "id": 923, + "id": 415, "name": "BinaryOperation", - "src": "13063:6:1" + "src": "13443:6:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42543,9 +42543,9 @@ "type": "bool", "value": "false" }, - "id": 924, + "id": 416, "name": "Literal", - "src": "13079:5:1" + "src": "13459:5:0" }, { "attributes": { @@ -42558,28 +42558,28 @@ "type": "int_const 0", "value": "0" }, - "id": 925, + "id": 417, "name": "Literal", - "src": "13086:1:1" + "src": "13466:1:0" } ], - "id": 926, + "id": 418, "name": "TupleExpression", - "src": "13078:10:1" + "src": "13458:10:0" } ], - "id": 927, + "id": 419, "name": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } ], - "id": 928, + "id": 420, "name": "IfStatement", - "src": "13059:29:1" + "src": "13439:29:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42603,9 +42603,9 @@ "type": "bool", "value": "true" }, - "id": 929, + "id": 421, "name": "Literal", - "src": "13106:4:1" + "src": "13487:4:0" }, { "attributes": { @@ -42626,51 +42626,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 912, + "referencedDeclaration": 404, "type": "uint256", "value": "a" }, - "id": 930, + "id": 422, "name": "Identifier", - "src": "13112:1:1" + "src": "13493:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 931, + "id": 423, "name": "Identifier", - "src": "13116:1:1" + "src": "13497:1:0" } ], - "id": 932, + "id": 424, "name": "BinaryOperation", - "src": "13112:5:1" + "src": "13493:5:0" } ], - "id": 933, + "id": 425, "name": "TupleExpression", - "src": "13105:13:1" + "src": "13486:13:0" } ], - "id": 934, + "id": 426, "name": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ], - "id": 935, + "id": 427, "name": "Block", - "src": "13049:76:1" + "src": "13428:79:0" } ], - "id": 936, + "id": 428, "name": "FunctionDefinition", - "src": "12973:152:1" + "src": "13352:155:0" }, { "attributes": { @@ -42681,7 +42681,7 @@ null ], "name": "add", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42691,9 +42691,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 937, + "id": 429, "name": "StructuredDocumentation", - "src": "13131:224:1" + "src": "13515:233:0" }, { "children": [ @@ -42702,7 +42702,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42714,21 +42714,21 @@ "name": "uint256", "type": "uint256" }, - "id": 938, + "id": 430, "name": "ElementaryTypeName", - "src": "13373:7:1" + "src": "13767:7:0" } ], - "id": 939, + "id": 431, "name": "VariableDeclaration", - "src": "13373:9:1" + "src": "13767:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42740,19 +42740,19 @@ "name": "uint256", "type": "uint256" }, - "id": 940, + "id": 432, "name": "ElementaryTypeName", - "src": "13384:7:1" + "src": "13778:7:0" } ], - "id": 941, + "id": 433, "name": "VariableDeclaration", - "src": "13384:9:1" + "src": "13778:9:0" } ], - "id": 942, + "id": 434, "name": "ParameterList", - "src": "13372:22:1" + "src": "13766:22:0" }, { "children": [ @@ -42761,7 +42761,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42773,26 +42773,26 @@ "name": "uint256", "type": "uint256" }, - "id": 943, + "id": 435, "name": "ElementaryTypeName", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 944, + "id": 436, "name": "VariableDeclaration", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 945, + "id": 437, "name": "ParameterList", - "src": "13417:9:1" + "src": "13811:9:0" }, { "children": [ { "attributes": { "assignments": [ - 947 + 439 ] }, "children": [ @@ -42801,7 +42801,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 961, + "scope": 453, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42813,14 +42813,14 @@ "name": "uint256", "type": "uint256" }, - "id": 946, + "id": 438, "name": "ElementaryTypeName", - "src": "13437:7:1" + "src": "13832:7:0" } ], - "id": 947, + "id": 439, "name": "VariableDeclaration", - "src": "13437:9:1" + "src": "13832:9:0" }, { "attributes": { @@ -42841,36 +42841,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 948, + "id": 440, "name": "Identifier", - "src": "13449:1:1" + "src": "13844:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 941, + "referencedDeclaration": 433, "type": "uint256", "value": "b" }, - "id": 949, + "id": 441, "name": "Identifier", - "src": "13453:1:1" + "src": "13848:1:0" } ], - "id": 950, + "id": 442, "name": "BinaryOperation", - "src": "13449:5:1" + "src": "13844:5:0" } ], - "id": 951, + "id": 443, "name": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "children": [ @@ -42909,9 +42909,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 952, + "id": 444, "name": "Identifier", - "src": "13464:7:1" + "src": "13860:7:0" }, { "attributes": { @@ -42932,31 +42932,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 953, + "id": 445, "name": "Identifier", - "src": "13472:1:1" + "src": "13868:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 954, + "id": 446, "name": "Identifier", - "src": "13477:1:1" + "src": "13873:1:0" } ], - "id": 955, + "id": 447, "name": "BinaryOperation", - "src": "13472:6:1" + "src": "13868:6:0" }, { "attributes": { @@ -42969,23 +42969,23 @@ "type": "literal_string \"SafeMath: addition overflow\"", "value": "SafeMath: addition overflow" }, - "id": 956, + "id": 448, "name": "Literal", - "src": "13480:29:1" + "src": "13876:29:0" } ], - "id": 957, + "id": 449, "name": "FunctionCall", - "src": "13464:46:1" + "src": "13860:46:0" } ], - "id": 958, + "id": 450, "name": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "attributes": { - "functionReturnParameters": 945 + "functionReturnParameters": 437 }, "children": [ { @@ -42993,28 +42993,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 959, + "id": 451, "name": "Identifier", - "src": "13527:1:1" + "src": "13924:1:0" } ], - "id": 960, + "id": 452, "name": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ], - "id": 961, + "id": 453, "name": "Block", - "src": "13427:108:1" + "src": "13821:112:0" } ], - "id": 962, + "id": 454, "name": "FunctionDefinition", - "src": "13360:175:1" + "src": "13754:179:0" }, { "attributes": { @@ -43025,7 +43025,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43035,9 +43035,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 963, + "id": 455, "name": "StructuredDocumentation", - "src": "13541:260:1" + "src": "13941:269:0" }, { "children": [ @@ -43046,7 +43046,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43058,21 +43058,21 @@ "name": "uint256", "type": "uint256" }, - "id": 964, + "id": 456, "name": "ElementaryTypeName", - "src": "13819:7:1" + "src": "14229:7:0" } ], - "id": 965, + "id": 457, "name": "VariableDeclaration", - "src": "13819:9:1" + "src": "14229:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43084,19 +43084,19 @@ "name": "uint256", "type": "uint256" }, - "id": 966, + "id": 458, "name": "ElementaryTypeName", - "src": "13830:7:1" + "src": "14240:7:0" } ], - "id": 967, + "id": 459, "name": "VariableDeclaration", - "src": "13830:9:1" + "src": "14240:9:0" } ], - "id": 968, + "id": 460, "name": "ParameterList", - "src": "13818:22:1" + "src": "14228:22:0" }, { "children": [ @@ -43105,7 +43105,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43117,19 +43117,19 @@ "name": "uint256", "type": "uint256" }, - "id": 969, + "id": 461, "name": "ElementaryTypeName", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 970, + "id": 462, "name": "VariableDeclaration", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 971, + "id": 463, "name": "ParameterList", - "src": "13863:9:1" + "src": "14273:9:0" }, { "children": [ @@ -43170,9 +43170,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 972, + "id": 464, "name": "Identifier", - "src": "13883:7:1" + "src": "14294:7:0" }, { "attributes": { @@ -43193,31 +43193,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 973, + "id": 465, "name": "Identifier", - "src": "13891:1:1" + "src": "14302:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 974, + "id": 466, "name": "Identifier", - "src": "13896:1:1" + "src": "14307:1:0" } ], - "id": 975, + "id": 467, "name": "BinaryOperation", - "src": "13891:6:1" + "src": "14302:6:0" }, { "attributes": { @@ -43230,23 +43230,23 @@ "type": "literal_string \"SafeMath: subtraction overflow\"", "value": "SafeMath: subtraction overflow" }, - "id": 976, + "id": 468, "name": "Literal", - "src": "13899:32:1" + "src": "14310:32:0" } ], - "id": 977, + "id": 469, "name": "FunctionCall", - "src": "13883:49:1" + "src": "14294:49:0" } ], - "id": 978, + "id": 470, "name": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "attributes": { - "functionReturnParameters": 971 + "functionReturnParameters": 463 }, "children": [ { @@ -43268,46 +43268,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 979, + "id": 471, "name": "Identifier", - "src": "13949:1:1" + "src": "14361:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 980, + "id": 472, "name": "Identifier", - "src": "13953:1:1" + "src": "14365:1:0" } ], - "id": 981, + "id": 473, "name": "BinaryOperation", - "src": "13949:5:1" + "src": "14361:5:0" } ], - "id": 982, + "id": 474, "name": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ], - "id": 983, + "id": 475, "name": "Block", - "src": "13873:88:1" + "src": "14283:91:0" } ], - "id": 984, + "id": 476, "name": "FunctionDefinition", - "src": "13806:155:1" + "src": "14216:158:0" }, { "attributes": { @@ -43318,7 +43318,7 @@ null ], "name": "mul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43328,9 +43328,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 985, + "id": 477, "name": "StructuredDocumentation", - "src": "13967:236:1" + "src": "14382:245:0" }, { "children": [ @@ -43339,7 +43339,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43351,21 +43351,21 @@ "name": "uint256", "type": "uint256" }, - "id": 986, + "id": 478, "name": "ElementaryTypeName", - "src": "14221:7:1" + "src": "14646:7:0" } ], - "id": 987, + "id": 479, "name": "VariableDeclaration", - "src": "14221:9:1" + "src": "14646:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43377,19 +43377,19 @@ "name": "uint256", "type": "uint256" }, - "id": 988, + "id": 480, "name": "ElementaryTypeName", - "src": "14232:7:1" + "src": "14657:7:0" } ], - "id": 989, + "id": 481, "name": "VariableDeclaration", - "src": "14232:9:1" + "src": "14657:9:0" } ], - "id": 990, + "id": 482, "name": "ParameterList", - "src": "14220:22:1" + "src": "14645:22:0" }, { "children": [ @@ -43398,7 +43398,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43410,19 +43410,19 @@ "name": "uint256", "type": "uint256" }, - "id": 991, + "id": 483, "name": "ElementaryTypeName", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 992, + "id": 484, "name": "VariableDeclaration", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 993, + "id": 485, "name": "ParameterList", - "src": "14265:9:1" + "src": "14690:9:0" }, { "children": [ @@ -43448,13 +43448,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 994, + "id": 486, "name": "Identifier", - "src": "14289:1:1" + "src": "14715:1:0" }, { "attributes": { @@ -43467,18 +43467,18 @@ "type": "int_const 0", "value": "0" }, - "id": 995, + "id": 487, "name": "Literal", - "src": "14294:1:1" + "src": "14720:1:0" } ], - "id": 996, + "id": 488, "name": "BinaryOperation", - "src": "14289:6:1" + "src": "14715:6:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43492,24 +43492,24 @@ "type": "int_const 0", "value": "0" }, - "id": 997, + "id": 489, "name": "Literal", - "src": "14304:1:1" + "src": "14730:1:0" } ], - "id": 998, + "id": 490, "name": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } ], - "id": 999, + "id": 491, "name": "IfStatement", - "src": "14285:20:1" + "src": "14711:20:0" }, { "attributes": { "assignments": [ - 1001 + 493 ] }, "children": [ @@ -43518,7 +43518,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 1017, + "scope": 509, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43530,14 +43530,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1000, + "id": 492, "name": "ElementaryTypeName", - "src": "14315:7:1" + "src": "14742:7:0" } ], - "id": 1001, + "id": 493, "name": "VariableDeclaration", - "src": "14315:9:1" + "src": "14742:9:0" }, { "attributes": { @@ -43558,36 +43558,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1002, + "id": 494, "name": "Identifier", - "src": "14327:1:1" + "src": "14754:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1003, + "id": 495, "name": "Identifier", - "src": "14331:1:1" + "src": "14758:1:0" } ], - "id": 1004, + "id": 496, "name": "BinaryOperation", - "src": "14327:5:1" + "src": "14754:5:0" } ], - "id": 1005, + "id": 497, "name": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "children": [ @@ -43626,9 +43626,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1006, + "id": 498, "name": "Identifier", - "src": "14342:7:1" + "src": "14770:7:0" }, { "attributes": { @@ -43663,49 +43663,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1007, + "id": 499, "name": "Identifier", - "src": "14350:1:1" + "src": "14778:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1008, + "id": 500, "name": "Identifier", - "src": "14354:1:1" + "src": "14782:1:0" } ], - "id": 1009, + "id": 501, "name": "BinaryOperation", - "src": "14350:5:1" + "src": "14778:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1010, + "id": 502, "name": "Identifier", - "src": "14359:1:1" + "src": "14787:1:0" } ], - "id": 1011, + "id": 503, "name": "BinaryOperation", - "src": "14350:10:1" + "src": "14778:10:0" }, { "attributes": { @@ -43718,23 +43718,23 @@ "type": "literal_string \"SafeMath: multiplication overflow\"", "value": "SafeMath: multiplication overflow" }, - "id": 1012, + "id": 504, "name": "Literal", - "src": "14362:35:1" + "src": "14790:35:0" } ], - "id": 1013, + "id": 505, "name": "FunctionCall", - "src": "14342:56:1" + "src": "14770:56:0" } ], - "id": 1014, + "id": 506, "name": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43742,28 +43742,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1015, + "id": 507, "name": "Identifier", - "src": "14415:1:1" + "src": "14844:1:0" } ], - "id": 1016, + "id": 508, "name": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ], - "id": 1017, + "id": 509, "name": "Block", - "src": "14275:148:1" + "src": "14700:153:0" } ], - "id": 1018, + "id": 510, "name": "FunctionDefinition", - "src": "14208:215:1" + "src": "14633:220:0" }, { "attributes": { @@ -43774,7 +43774,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43784,9 +43784,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1019, + "id": 511, "name": "StructuredDocumentation", - "src": "14429:453:1" + "src": "14861:464:0" }, { "children": [ @@ -43795,7 +43795,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43807,21 +43807,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1020, + "id": 512, "name": "ElementaryTypeName", - "src": "14900:7:1" + "src": "15344:7:0" } ], - "id": 1021, + "id": 513, "name": "VariableDeclaration", - "src": "14900:9:1" + "src": "15344:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43833,19 +43833,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1022, + "id": 514, "name": "ElementaryTypeName", - "src": "14911:7:1" + "src": "15355:7:0" } ], - "id": 1023, + "id": 515, "name": "VariableDeclaration", - "src": "14911:9:1" + "src": "15355:9:0" } ], - "id": 1024, + "id": 516, "name": "ParameterList", - "src": "14899:22:1" + "src": "15343:22:0" }, { "children": [ @@ -43854,7 +43854,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43866,19 +43866,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1025, + "id": 517, "name": "ElementaryTypeName", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1026, + "id": 518, "name": "VariableDeclaration", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1027, + "id": 519, "name": "ParameterList", - "src": "14944:9:1" + "src": "15388:9:0" }, { "children": [ @@ -43919,9 +43919,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1028, + "id": 520, "name": "Identifier", - "src": "14964:7:1" + "src": "15409:7:0" }, { "attributes": { @@ -43942,13 +43942,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1029, + "id": 521, "name": "Identifier", - "src": "14972:1:1" + "src": "15417:1:0" }, { "attributes": { @@ -43961,14 +43961,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1030, + "id": 522, "name": "Literal", - "src": "14976:1:1" + "src": "15421:1:0" } ], - "id": 1031, + "id": 523, "name": "BinaryOperation", - "src": "14972:5:1" + "src": "15417:5:0" }, { "attributes": { @@ -43981,23 +43981,23 @@ "type": "literal_string \"SafeMath: division by zero\"", "value": "SafeMath: division by zero" }, - "id": 1032, + "id": 524, "name": "Literal", - "src": "14979:28:1" + "src": "15424:28:0" } ], - "id": 1033, + "id": 525, "name": "FunctionCall", - "src": "14964:44:1" + "src": "15409:44:0" } ], - "id": 1034, + "id": 526, "name": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "attributes": { - "functionReturnParameters": 1027 + "functionReturnParameters": 519 }, "children": [ { @@ -44019,46 +44019,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1021, + "referencedDeclaration": 513, "type": "uint256", "value": "a" }, - "id": 1035, + "id": 527, "name": "Identifier", - "src": "15025:1:1" + "src": "15471:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1036, + "id": 528, "name": "Identifier", - "src": "15029:1:1" + "src": "15475:1:0" } ], - "id": 1037, + "id": 529, "name": "BinaryOperation", - "src": "15025:5:1" + "src": "15471:5:0" } ], - "id": 1038, + "id": 530, "name": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ], - "id": 1039, + "id": 531, "name": "Block", - "src": "14954:83:1" + "src": "15398:86:0" } ], - "id": 1040, + "id": 532, "name": "FunctionDefinition", - "src": "14887:150:1" + "src": "15331:153:0" }, { "attributes": { @@ -44069,7 +44069,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44079,9 +44079,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1041, + "id": 533, "name": "StructuredDocumentation", - "src": "15043:442:1" + "src": "15492:453:0" }, { "children": [ @@ -44090,7 +44090,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44102,21 +44102,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1042, + "id": 534, "name": "ElementaryTypeName", - "src": "15503:7:1" + "src": "15964:7:0" } ], - "id": 1043, + "id": 535, "name": "VariableDeclaration", - "src": "15503:9:1" + "src": "15964:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44128,19 +44128,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1044, + "id": 536, "name": "ElementaryTypeName", - "src": "15514:7:1" + "src": "15975:7:0" } ], - "id": 1045, + "id": 537, "name": "VariableDeclaration", - "src": "15514:9:1" + "src": "15975:9:0" } ], - "id": 1046, + "id": 538, "name": "ParameterList", - "src": "15502:22:1" + "src": "15963:22:0" }, { "children": [ @@ -44149,7 +44149,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44161,19 +44161,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1047, + "id": 539, "name": "ElementaryTypeName", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1048, + "id": 540, "name": "VariableDeclaration", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1049, + "id": 541, "name": "ParameterList", - "src": "15547:9:1" + "src": "16008:9:0" }, { "children": [ @@ -44214,9 +44214,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1050, + "id": 542, "name": "Identifier", - "src": "15567:7:1" + "src": "16029:7:0" }, { "attributes": { @@ -44237,13 +44237,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1051, + "id": 543, "name": "Identifier", - "src": "15575:1:1" + "src": "16037:1:0" }, { "attributes": { @@ -44256,14 +44256,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1052, + "id": 544, "name": "Literal", - "src": "15579:1:1" + "src": "16041:1:0" } ], - "id": 1053, + "id": 545, "name": "BinaryOperation", - "src": "15575:5:1" + "src": "16037:5:0" }, { "attributes": { @@ -44276,23 +44276,23 @@ "type": "literal_string \"SafeMath: modulo by zero\"", "value": "SafeMath: modulo by zero" }, - "id": 1054, + "id": 546, "name": "Literal", - "src": "15582:26:1" + "src": "16044:26:0" } ], - "id": 1055, + "id": 547, "name": "FunctionCall", - "src": "15567:42:1" + "src": "16029:42:0" } ], - "id": 1056, + "id": 548, "name": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "attributes": { - "functionReturnParameters": 1049 + "functionReturnParameters": 541 }, "children": [ { @@ -44314,46 +44314,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1043, + "referencedDeclaration": 535, "type": "uint256", "value": "a" }, - "id": 1057, + "id": 549, "name": "Identifier", - "src": "15626:1:1" + "src": "16089:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1058, + "id": 550, "name": "Identifier", - "src": "15630:1:1" + "src": "16093:1:0" } ], - "id": 1059, + "id": 551, "name": "BinaryOperation", - "src": "15626:5:1" + "src": "16089:5:0" } ], - "id": 1060, + "id": 552, "name": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ], - "id": 1061, + "id": 553, "name": "Block", - "src": "15557:81:1" + "src": "16018:84:0" } ], - "id": 1062, + "id": 554, "name": "FunctionDefinition", - "src": "15490:148:1" + "src": "15951:151:0" }, { "attributes": { @@ -44364,7 +44364,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44374,9 +44374,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1063, + "id": 555, "name": "StructuredDocumentation", - "src": "15644:453:1" + "src": "16110:465:0" }, { "children": [ @@ -44385,7 +44385,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44397,21 +44397,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1064, + "id": 556, "name": "ElementaryTypeName", - "src": "16115:7:1" + "src": "16594:7:0" } ], - "id": 1065, + "id": 557, "name": "VariableDeclaration", - "src": "16115:9:1" + "src": "16594:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44423,21 +44423,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1066, + "id": 558, "name": "ElementaryTypeName", - "src": "16126:7:1" + "src": "16605:7:0" } ], - "id": 1067, + "id": 559, "name": "VariableDeclaration", - "src": "16126:9:1" + "src": "16605:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44449,19 +44449,19 @@ "name": "string", "type": "string" }, - "id": 1068, + "id": 560, "name": "ElementaryTypeName", - "src": "16137:6:1" + "src": "16616:6:0" } ], - "id": 1069, + "id": 561, "name": "VariableDeclaration", - "src": "16137:26:1" + "src": "16616:26:0" } ], - "id": 1070, + "id": 562, "name": "ParameterList", - "src": "16114:50:1" + "src": "16593:50:0" }, { "children": [ @@ -44470,7 +44470,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44482,19 +44482,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1071, + "id": 563, "name": "ElementaryTypeName", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1072, + "id": 564, "name": "VariableDeclaration", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1073, + "id": 565, "name": "ParameterList", - "src": "16187:9:1" + "src": "16666:9:0" }, { "children": [ @@ -44535,9 +44535,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1074, + "id": 566, "name": "Identifier", - "src": "16207:7:1" + "src": "16687:7:0" }, { "attributes": { @@ -44558,58 +44558,58 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1075, + "id": 567, "name": "Identifier", - "src": "16215:1:1" + "src": "16695:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1076, + "id": 568, "name": "Identifier", - "src": "16220:1:1" + "src": "16700:1:0" } ], - "id": 1077, + "id": 569, "name": "BinaryOperation", - "src": "16215:6:1" + "src": "16695:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1069, + "referencedDeclaration": 561, "type": "string memory", "value": "errorMessage" }, - "id": 1078, + "id": 570, "name": "Identifier", - "src": "16223:12:1" + "src": "16703:12:0" } ], - "id": 1079, + "id": 571, "name": "FunctionCall", - "src": "16207:29:1" + "src": "16687:29:0" } ], - "id": 1080, + "id": 572, "name": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "attributes": { - "functionReturnParameters": 1073 + "functionReturnParameters": 565 }, "children": [ { @@ -44631,46 +44631,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1081, + "id": 573, "name": "Identifier", - "src": "16253:1:1" + "src": "16734:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1082, + "id": 574, "name": "Identifier", - "src": "16257:1:1" + "src": "16738:1:0" } ], - "id": 1083, + "id": 575, "name": "BinaryOperation", - "src": "16253:5:1" + "src": "16734:5:0" } ], - "id": 1084, + "id": 576, "name": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ], - "id": 1085, + "id": 577, "name": "Block", - "src": "16197:68:1" + "src": "16676:71:0" } ], - "id": 1086, + "id": 578, "name": "FunctionDefinition", - "src": "16102:163:1" + "src": "16581:166:0" }, { "attributes": { @@ -44681,7 +44681,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44691,9 +44691,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1087, + "id": 579, "name": "StructuredDocumentation", - "src": "16271:646:1" + "src": "16755:660:0" }, { "children": [ @@ -44702,7 +44702,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44714,21 +44714,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1088, + "id": 580, "name": "ElementaryTypeName", - "src": "16935:7:1" + "src": "17434:7:0" } ], - "id": 1089, + "id": 581, "name": "VariableDeclaration", - "src": "16935:9:1" + "src": "17434:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44740,21 +44740,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1090, + "id": 582, "name": "ElementaryTypeName", - "src": "16946:7:1" + "src": "17445:7:0" } ], - "id": 1091, + "id": 583, "name": "VariableDeclaration", - "src": "16946:9:1" + "src": "17445:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44766,19 +44766,19 @@ "name": "string", "type": "string" }, - "id": 1092, + "id": 584, "name": "ElementaryTypeName", - "src": "16957:6:1" + "src": "17456:6:0" } ], - "id": 1093, + "id": 585, "name": "VariableDeclaration", - "src": "16957:26:1" + "src": "17456:26:0" } ], - "id": 1094, + "id": 586, "name": "ParameterList", - "src": "16934:50:1" + "src": "17433:50:0" }, { "children": [ @@ -44787,7 +44787,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44799,19 +44799,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1095, + "id": 587, "name": "ElementaryTypeName", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1096, + "id": 588, "name": "VariableDeclaration", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1097, + "id": 589, "name": "ParameterList", - "src": "17007:9:1" + "src": "17506:9:0" }, { "children": [ @@ -44852,9 +44852,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1098, + "id": 590, "name": "Identifier", - "src": "17027:7:1" + "src": "17527:7:0" }, { "attributes": { @@ -44875,13 +44875,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1099, + "id": 591, "name": "Identifier", - "src": "17035:1:1" + "src": "17535:1:0" }, { "attributes": { @@ -44894,41 +44894,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1100, + "id": 592, "name": "Literal", - "src": "17039:1:1" + "src": "17539:1:0" } ], - "id": 1101, + "id": 593, "name": "BinaryOperation", - "src": "17035:5:1" + "src": "17535:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1093, + "referencedDeclaration": 585, "type": "string memory", "value": "errorMessage" }, - "id": 1102, + "id": 594, "name": "Identifier", - "src": "17042:12:1" + "src": "17542:12:0" } ], - "id": 1103, + "id": 595, "name": "FunctionCall", - "src": "17027:28:1" + "src": "17527:28:0" } ], - "id": 1104, + "id": 596, "name": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "attributes": { - "functionReturnParameters": 1097 + "functionReturnParameters": 589 }, "children": [ { @@ -44950,46 +44950,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1089, + "referencedDeclaration": 581, "type": "uint256", "value": "a" }, - "id": 1105, + "id": 597, "name": "Identifier", - "src": "17072:1:1" + "src": "17573:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1106, + "id": 598, "name": "Identifier", - "src": "17076:1:1" + "src": "17577:1:0" } ], - "id": 1107, + "id": 599, "name": "BinaryOperation", - "src": "17072:5:1" + "src": "17573:5:0" } ], - "id": 1108, + "id": 600, "name": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ], - "id": 1109, + "id": 601, "name": "Block", - "src": "17017:67:1" + "src": "17516:70:0" } ], - "id": 1110, + "id": 602, "name": "FunctionDefinition", - "src": "16922:162:1" + "src": "17421:165:0" }, { "attributes": { @@ -45000,7 +45000,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -45010,9 +45010,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1111, + "id": 603, "name": "StructuredDocumentation", - "src": "17090:635:1" + "src": "17594:649:0" }, { "children": [ @@ -45021,7 +45021,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45033,21 +45033,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1112, + "id": 604, "name": "ElementaryTypeName", - "src": "17743:7:1" + "src": "18262:7:0" } ], - "id": 1113, + "id": 605, "name": "VariableDeclaration", - "src": "17743:9:1" + "src": "18262:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45059,21 +45059,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1114, + "id": 606, "name": "ElementaryTypeName", - "src": "17754:7:1" + "src": "18273:7:0" } ], - "id": 1115, + "id": 607, "name": "VariableDeclaration", - "src": "17754:9:1" + "src": "18273:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -45085,19 +45085,19 @@ "name": "string", "type": "string" }, - "id": 1116, + "id": 608, "name": "ElementaryTypeName", - "src": "17765:6:1" + "src": "18284:6:0" } ], - "id": 1117, + "id": 609, "name": "VariableDeclaration", - "src": "17765:26:1" + "src": "18284:26:0" } ], - "id": 1118, + "id": 610, "name": "ParameterList", - "src": "17742:50:1" + "src": "18261:50:0" }, { "children": [ @@ -45106,7 +45106,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45118,19 +45118,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1119, + "id": 611, "name": "ElementaryTypeName", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1120, + "id": 612, "name": "VariableDeclaration", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1121, + "id": 613, "name": "ParameterList", - "src": "17815:9:1" + "src": "18334:9:0" }, { "children": [ @@ -45171,9 +45171,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1122, + "id": 614, "name": "Identifier", - "src": "17835:7:1" + "src": "18355:7:0" }, { "attributes": { @@ -45194,13 +45194,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1123, + "id": 615, "name": "Identifier", - "src": "17843:1:1" + "src": "18363:1:0" }, { "attributes": { @@ -45213,41 +45213,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1124, + "id": 616, "name": "Literal", - "src": "17847:1:1" + "src": "18367:1:0" } ], - "id": 1125, + "id": 617, "name": "BinaryOperation", - "src": "17843:5:1" + "src": "18363:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1117, + "referencedDeclaration": 609, "type": "string memory", "value": "errorMessage" }, - "id": 1126, + "id": 618, "name": "Identifier", - "src": "17850:12:1" + "src": "18370:12:0" } ], - "id": 1127, + "id": 619, "name": "FunctionCall", - "src": "17835:28:1" + "src": "18355:28:0" } ], - "id": 1128, + "id": 620, "name": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "attributes": { - "functionReturnParameters": 1121 + "functionReturnParameters": 613 }, "children": [ { @@ -45269,51 +45269,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1113, + "referencedDeclaration": 605, "type": "uint256", "value": "a" }, - "id": 1129, + "id": 621, "name": "Identifier", - "src": "17880:1:1" + "src": "18401:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1130, + "id": 622, "name": "Identifier", - "src": "17884:1:1" + "src": "18405:1:0" } ], - "id": 1131, + "id": 623, "name": "BinaryOperation", - "src": "17880:5:1" + "src": "18401:5:0" } ], - "id": 1132, + "id": 624, "name": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ], - "id": 1133, + "id": 625, "name": "Block", - "src": "17825:67:1" + "src": "18344:70:0" } ], - "id": 1134, + "id": 626, "name": "FunctionDefinition", - "src": "17730:162:1" + "src": "18249:165:0" } ], - "id": 1135, + "id": 627, "name": "ContractDefinition", - "src": "11300:6594:1" + "src": "11627:6790:0" }, { "attributes": { @@ -45327,9 +45327,9 @@ ".0" ] }, - "id": 1136, + "id": 628, "name": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "attributes": { @@ -45343,19 +45343,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Collection of functions related to the address type" }, - "id": 1137, + "id": 629, "name": "StructuredDocumentation", - "src": "17980:67:1" + "src": "18508:69:0" }, { "attributes": { @@ -45366,7 +45366,7 @@ null ], "name": "isContract", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -45376,9 +45376,9 @@ "attributes": { "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1138, + "id": 630, "name": "StructuredDocumentation", - "src": "18070:565:1" + "src": "18602:581:0" }, { "children": [ @@ -45387,7 +45387,7 @@ "constant": false, "mutability": "mutable", "name": "account", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -45400,19 +45400,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1139, + "id": 631, "name": "ElementaryTypeName", - "src": "18660:7:1" + "src": "19209:7:0" } ], - "id": 1140, + "id": 632, "name": "VariableDeclaration", - "src": "18660:15:1" + "src": "19209:15:0" } ], - "id": 1141, + "id": 633, "name": "ParameterList", - "src": "18659:17:1" + "src": "19208:17:0" }, { "children": [ @@ -45421,7 +45421,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45433,26 +45433,26 @@ "name": "bool", "type": "bool" }, - "id": 1142, + "id": 634, "name": "ElementaryTypeName", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1143, + "id": 635, "name": "VariableDeclaration", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1144, + "id": 636, "name": "ParameterList", - "src": "18699:6:1" + "src": "19248:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1146 + 638 ] }, "children": [ @@ -45461,7 +45461,7 @@ "constant": false, "mutability": "mutable", "name": "size", - "scope": 1153, + "scope": 645, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45473,49 +45473,49 @@ "name": "uint256", "type": "uint256" }, - "id": 1145, + "id": 637, "name": "ElementaryTypeName", - "src": "18903:7:1" + "src": "19457:7:0" } ], - "id": 1146, + "id": 638, "name": "VariableDeclaration", - "src": "18903:12:1" + "src": "19457:12:0" } ], - "id": 1147, + "id": 639, "name": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "attributes": { "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], "operations": "{ size := extcodesize(account) }" }, "children": [], - "id": 1148, + "id": 640, "name": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "attributes": { - "functionReturnParameters": 1144 + "functionReturnParameters": 636 }, "children": [ { @@ -45537,13 +45537,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1146, + "referencedDeclaration": 638, "type": "uint256", "value": "size" }, - "id": 1149, + "id": 641, "name": "Identifier", - "src": "19038:4:1" + "src": "19595:4:0" }, { "attributes": { @@ -45556,29 +45556,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1150, + "id": 642, "name": "Literal", - "src": "19045:1:1" + "src": "19602:1:0" } ], - "id": 1151, + "id": 643, "name": "BinaryOperation", - "src": "19038:8:1" + "src": "19595:8:0" } ], - "id": 1152, + "id": 644, "name": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ], - "id": 1153, + "id": 645, "name": "Block", - "src": "18706:347:1" + "src": "19255:356:0" } ], - "id": 1154, + "id": 646, "name": "FunctionDefinition", - "src": "18640:413:1" + "src": "19189:422:0" }, { "attributes": { @@ -45589,7 +45589,7 @@ null ], "name": "sendValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -45599,9 +45599,9 @@ "attributes": { "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1155, + "id": 647, "name": "StructuredDocumentation", - "src": "19059:906:1" + "src": "19619:921:0" }, { "children": [ @@ -45610,7 +45610,7 @@ "constant": false, "mutability": "mutable", "name": "recipient", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -45623,21 +45623,21 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 1156, + "id": 648, "name": "ElementaryTypeName", - "src": "19989:15:1" + "src": "20565:15:0" } ], - "id": 1157, + "id": 649, "name": "VariableDeclaration", - "src": "19989:25:1" + "src": "20565:25:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "amount", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45649,19 +45649,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1158, + "id": 650, "name": "ElementaryTypeName", - "src": "20016:7:1" + "src": "20592:7:0" } ], - "id": 1159, + "id": 651, "name": "VariableDeclaration", - "src": "20016:14:1" + "src": "20592:14:0" } ], - "id": 1160, + "id": 652, "name": "ParameterList", - "src": "19988:43:1" + "src": "20564:43:0" }, { "attributes": { @@ -45670,9 +45670,9 @@ ] }, "children": [], - "id": 1161, + "id": 653, "name": "ParameterList", - "src": "20041:0:1" + "src": "20617:0:0" }, { "children": [ @@ -45713,9 +45713,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1162, + "id": 654, "name": "Identifier", - "src": "20051:7:1" + "src": "20628:7:0" }, { "attributes": { @@ -45760,7 +45760,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -45775,14 +45775,14 @@ "attributes": { "name": "address" }, - "id": 1163, + "id": 655, "name": "ElementaryTypeName", - "src": "20059:7:1" + "src": "20636:7:0" } ], - "id": 1164, + "id": 656, "name": "ElementaryTypeNameExpression", - "src": "20059:7:1" + "src": "20636:7:0" }, { "attributes": { @@ -45793,37 +45793,37 @@ "type": "library Address", "value": "this" }, - "id": 1165, + "id": 657, "name": "Identifier", - "src": "20067:4:1" + "src": "20644:4:0" } ], - "id": 1166, + "id": 658, "name": "FunctionCall", - "src": "20059:13:1" + "src": "20636:13:0" } ], - "id": 1167, + "id": 659, "name": "MemberAccess", - "src": "20059:21:1" + "src": "20636:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1168, + "id": 660, "name": "Identifier", - "src": "20084:6:1" + "src": "20661:6:0" } ], - "id": 1169, + "id": 661, "name": "BinaryOperation", - "src": "20059:31:1" + "src": "20636:31:0" }, { "attributes": { @@ -45836,24 +45836,24 @@ "type": "literal_string \"Address: insufficient balance\"", "value": "Address: insufficient balance" }, - "id": 1170, + "id": 662, "name": "Literal", - "src": "20092:31:1" + "src": "20669:31:0" } ], - "id": 1171, + "id": 663, "name": "FunctionCall", - "src": "20051:73:1" + "src": "20628:73:0" } ], - "id": 1172, + "id": 664, "name": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "attributes": { "assignments": [ - 1174, + 666, null ] }, @@ -45863,7 +45863,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1187, + "scope": 679, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45875,14 +45875,14 @@ "name": "bool", "type": "bool" }, - "id": 1173, + "id": 665, "name": "ElementaryTypeName", - "src": "20213:4:1" + "src": "20793:4:0" } ], - "id": 1174, + "id": 666, "name": "VariableDeclaration", - "src": "20213:12:1" + "src": "20793:12:0" }, { "attributes": { @@ -45938,36 +45938,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1157, + "referencedDeclaration": 649, "type": "address payable", "value": "recipient" }, - "id": 1175, + "id": 667, "name": "Identifier", - "src": "20231:9:1" + "src": "20811:9:0" } ], - "id": 1176, + "id": 668, "name": "MemberAccess", - "src": "20231:14:1" + "src": "20811:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1177, + "id": 669, "name": "Identifier", - "src": "20254:6:1" + "src": "20834:6:0" } ], - "id": 1178, + "id": 670, "name": "FunctionCallOptions", - "src": "20231:31:1" + "src": "20811:31:0" }, { "attributes": { @@ -45980,19 +45980,19 @@ "type": "literal_string \"\"", "value": "" }, - "id": 1179, + "id": 671, "name": "Literal", - "src": "20263:2:1" + "src": "20843:2:0" } ], - "id": 1180, + "id": 672, "name": "FunctionCall", - "src": "20231:35:1" + "src": "20811:35:0" } ], - "id": 1181, + "id": 673, "name": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "children": [ @@ -46031,22 +46031,22 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1182, + "id": 674, "name": "Identifier", - "src": "20276:7:1" + "src": "20857:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 666, "type": "bool", "value": "success" }, - "id": 1183, + "id": 675, "name": "Identifier", - "src": "20284:7:1" + "src": "20865:7:0" }, { "attributes": { @@ -46059,29 +46059,29 @@ "type": "literal_string \"Address: unable to send value, recipient may have reverted\"", "value": "Address: unable to send value, recipient may have reverted" }, - "id": 1184, + "id": 676, "name": "Literal", - "src": "20293:60:1" + "src": "20874:60:0" } ], - "id": 1185, + "id": 677, "name": "FunctionCall", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1186, + "id": 678, "name": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1187, + "id": 679, "name": "Block", - "src": "20041:320:1" + "src": "20617:326:0" } ], - "id": 1188, + "id": 680, "name": "FunctionDefinition", - "src": "19970:391:1" + "src": "20546:397:0" }, { "attributes": { @@ -46092,7 +46092,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46102,9 +46102,9 @@ "attributes": { "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1189, + "id": 681, "name": "StructuredDocumentation", - "src": "20367:730:1" + "src": "20951:747:0" }, { "children": [ @@ -46113,7 +46113,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46126,21 +46126,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1190, + "id": 682, "name": "ElementaryTypeName", - "src": "21124:7:1" + "src": "21726:7:0" } ], - "id": 1191, + "id": 683, "name": "VariableDeclaration", - "src": "21124:14:1" + "src": "21726:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46152,19 +46152,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1192, + "id": 684, "name": "ElementaryTypeName", - "src": "21140:5:1" + "src": "21742:5:0" } ], - "id": 1193, + "id": 685, "name": "VariableDeclaration", - "src": "21140:17:1" + "src": "21742:17:0" } ], - "id": 1194, + "id": 686, "name": "ParameterList", - "src": "21123:35:1" + "src": "21725:35:0" }, { "children": [ @@ -46173,7 +46173,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46185,25 +46185,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1195, + "id": 687, "name": "ElementaryTypeName", - "src": "21177:5:1" + "src": "21779:5:0" } ], - "id": 1196, + "id": 688, "name": "VariableDeclaration", - "src": "21177:12:1" + "src": "21779:12:0" } ], - "id": 1197, + "id": 689, "name": "ParameterList", - "src": "21176:14:1" + "src": "21778:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1197 + "functionReturnParameters": 689 }, "children": [ { @@ -46238,42 +46238,42 @@ } ], "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionCall" }, - "id": 1198, + "id": 690, "name": "Identifier", - "src": "21206:12:1" + "src": "21809:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1191, + "referencedDeclaration": 683, "type": "address", "value": "target" }, - "id": 1199, + "id": 691, "name": "Identifier", - "src": "21219:6:1" + "src": "21822:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1193, + "referencedDeclaration": 685, "type": "bytes memory", "value": "data" }, - "id": 1200, + "id": 692, "name": "Identifier", - "src": "21227:4:1" + "src": "21830:4:0" }, { "attributes": { @@ -46286,29 +46286,29 @@ "type": "literal_string \"Address: low-level call failed\"", "value": "Address: low-level call failed" }, - "id": 1201, + "id": 693, "name": "Literal", - "src": "21233:32:1" + "src": "21836:32:0" } ], - "id": 1202, + "id": 694, "name": "FunctionCall", - "src": "21206:60:1" + "src": "21809:60:0" } ], - "id": 1203, + "id": 695, "name": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ], - "id": 1204, + "id": 696, "name": "Block", - "src": "21191:82:1" + "src": "21793:84:0" } ], - "id": 1205, + "id": 697, "name": "FunctionDefinition", - "src": "21102:171:1" + "src": "21704:173:0" }, { "attributes": { @@ -46319,7 +46319,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46329,9 +46329,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1206, + "id": 698, "name": "StructuredDocumentation", - "src": "21279:211:1" + "src": "21885:216:0" }, { "children": [ @@ -46340,7 +46340,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46353,21 +46353,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1207, + "id": 699, "name": "ElementaryTypeName", - "src": "21517:7:1" + "src": "22129:7:0" } ], - "id": 1208, + "id": 700, "name": "VariableDeclaration", - "src": "21517:14:1" + "src": "22129:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46379,21 +46379,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1209, + "id": 701, "name": "ElementaryTypeName", - "src": "21533:5:1" + "src": "22145:5:0" } ], - "id": 1210, + "id": 702, "name": "VariableDeclaration", - "src": "21533:17:1" + "src": "22145:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -46405,19 +46405,19 @@ "name": "string", "type": "string" }, - "id": 1211, + "id": 703, "name": "ElementaryTypeName", - "src": "21552:6:1" + "src": "22164:6:0" } ], - "id": 1212, + "id": 704, "name": "VariableDeclaration", - "src": "21552:26:1" + "src": "22164:26:0" } ], - "id": 1213, + "id": 705, "name": "ParameterList", - "src": "21516:63:1" + "src": "22128:63:0" }, { "children": [ @@ -46426,7 +46426,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46438,25 +46438,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1214, + "id": 706, "name": "ElementaryTypeName", - "src": "21598:5:1" + "src": "22210:5:0" } ], - "id": 1215, + "id": 707, "name": "VariableDeclaration", - "src": "21598:12:1" + "src": "22210:12:0" } ], - "id": 1216, + "id": 708, "name": "ParameterList", - "src": "21597:14:1" + "src": "22209:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1216 + "functionReturnParameters": 708 }, "children": [ { @@ -46495,42 +46495,42 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1217, + "id": 709, "name": "Identifier", - "src": "21629:21:1" + "src": "22242:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1208, + "referencedDeclaration": 700, "type": "address", "value": "target" }, - "id": 1218, + "id": 710, "name": "Identifier", - "src": "21651:6:1" + "src": "22264:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1210, + "referencedDeclaration": 702, "type": "bytes memory", "value": "data" }, - "id": 1219, + "id": 711, "name": "Identifier", - "src": "21659:4:1" + "src": "22272:4:0" }, { "attributes": { @@ -46543,42 +46543,42 @@ "type": "int_const 0", "value": "0" }, - "id": 1220, + "id": 712, "name": "Literal", - "src": "21665:1:1" + "src": "22278:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1212, + "referencedDeclaration": 704, "type": "string memory", "value": "errorMessage" }, - "id": 1221, + "id": 713, "name": "Identifier", - "src": "21668:12:1" + "src": "22281:12:0" } ], - "id": 1222, + "id": 714, "name": "FunctionCall", - "src": "21629:52:1" + "src": "22242:52:0" } ], - "id": 1223, + "id": 715, "name": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ], - "id": 1224, + "id": 716, "name": "Block", - "src": "21612:76:1" + "src": "22224:78:0" } ], - "id": 1225, + "id": 717, "name": "FunctionDefinition", - "src": "21495:193:1" + "src": "22107:195:0" }, { "attributes": { @@ -46589,7 +46589,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46599,9 +46599,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1226, + "id": 718, "name": "StructuredDocumentation", - "src": "21694:351:1" + "src": "22310:361:0" }, { "children": [ @@ -46610,7 +46610,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46623,21 +46623,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1227, + "id": 719, "name": "ElementaryTypeName", - "src": "22081:7:1" + "src": "22708:7:0" } ], - "id": 1228, + "id": 720, "name": "VariableDeclaration", - "src": "22081:14:1" + "src": "22708:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46649,21 +46649,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1229, + "id": 721, "name": "ElementaryTypeName", - "src": "22097:5:1" + "src": "22724:5:0" } ], - "id": 1230, + "id": 722, "name": "VariableDeclaration", - "src": "22097:17:1" + "src": "22724:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -46675,19 +46675,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1231, + "id": 723, "name": "ElementaryTypeName", - "src": "22116:7:1" + "src": "22743:7:0" } ], - "id": 1232, + "id": 724, "name": "VariableDeclaration", - "src": "22116:13:1" + "src": "22743:13:0" } ], - "id": 1233, + "id": 725, "name": "ParameterList", - "src": "22080:50:1" + "src": "22707:50:0" }, { "children": [ @@ -46696,7 +46696,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46708,25 +46708,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1234, + "id": 726, "name": "ElementaryTypeName", - "src": "22149:5:1" + "src": "22776:5:0" } ], - "id": 1235, + "id": 727, "name": "VariableDeclaration", - "src": "22149:12:1" + "src": "22776:12:0" } ], - "id": 1236, + "id": 728, "name": "ParameterList", - "src": "22148:14:1" + "src": "22775:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1236 + "functionReturnParameters": 728 }, "children": [ { @@ -46765,55 +46765,55 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1237, + "id": 729, "name": "Identifier", - "src": "22180:21:1" + "src": "22808:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 720, "type": "address", "value": "target" }, - "id": 1238, + "id": 730, "name": "Identifier", - "src": "22202:6:1" + "src": "22830:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 722, "type": "bytes memory", "value": "data" }, - "id": 1239, + "id": 731, "name": "Identifier", - "src": "22210:4:1" + "src": "22838:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1232, + "referencedDeclaration": 724, "type": "uint256", "value": "value" }, - "id": 1240, + "id": 732, "name": "Identifier", - "src": "22216:5:1" + "src": "22844:5:0" }, { "attributes": { @@ -46826,29 +46826,29 @@ "type": "literal_string \"Address: low-level call with value failed\"", "value": "Address: low-level call with value failed" }, - "id": 1241, + "id": 733, "name": "Literal", - "src": "22223:43:1" + "src": "22851:43:0" } ], - "id": 1242, + "id": 734, "name": "FunctionCall", - "src": "22180:87:1" + "src": "22808:87:0" } ], - "id": 1243, + "id": 735, "name": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ], - "id": 1244, + "id": 736, "name": "Block", - "src": "22163:111:1" + "src": "22790:113:0" } ], - "id": 1245, + "id": 737, "name": "FunctionDefinition", - "src": "22050:224:1" + "src": "22677:226:0" }, { "attributes": { @@ -46859,7 +46859,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46869,9 +46869,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1246, + "id": 738, "name": "StructuredDocumentation", - "src": "22280:237:1" + "src": "22911:242:0" }, { "children": [ @@ -46880,7 +46880,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46893,21 +46893,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1247, + "id": 739, "name": "ElementaryTypeName", - "src": "22553:7:1" + "src": "23190:7:0" } ], - "id": 1248, + "id": 740, "name": "VariableDeclaration", - "src": "22553:14:1" + "src": "23190:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46919,21 +46919,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1249, + "id": 741, "name": "ElementaryTypeName", - "src": "22569:5:1" + "src": "23206:5:0" } ], - "id": 1250, + "id": 742, "name": "VariableDeclaration", - "src": "22569:17:1" + "src": "23206:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -46945,21 +46945,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1251, + "id": 743, "name": "ElementaryTypeName", - "src": "22588:7:1" + "src": "23225:7:0" } ], - "id": 1252, + "id": 744, "name": "VariableDeclaration", - "src": "22588:13:1" + "src": "23225:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -46971,19 +46971,19 @@ "name": "string", "type": "string" }, - "id": 1253, + "id": 745, "name": "ElementaryTypeName", - "src": "22603:6:1" + "src": "23240:6:0" } ], - "id": 1254, + "id": 746, "name": "VariableDeclaration", - "src": "22603:26:1" + "src": "23240:26:0" } ], - "id": 1255, + "id": 747, "name": "ParameterList", - "src": "22552:78:1" + "src": "23189:78:0" }, { "children": [ @@ -46992,7 +46992,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47004,19 +47004,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1256, + "id": 748, "name": "ElementaryTypeName", - "src": "22649:5:1" + "src": "23286:5:0" } ], - "id": 1257, + "id": 749, "name": "VariableDeclaration", - "src": "22649:12:1" + "src": "23286:12:0" } ], - "id": 1258, + "id": 750, "name": "ParameterList", - "src": "22648:14:1" + "src": "23285:14:0" }, { "children": [ @@ -47057,9 +47057,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1259, + "id": 751, "name": "Identifier", - "src": "22673:7:1" + "src": "23311:7:0" }, { "attributes": { @@ -47104,7 +47104,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -47119,14 +47119,14 @@ "attributes": { "name": "address" }, - "id": 1260, + "id": 752, "name": "ElementaryTypeName", - "src": "22681:7:1" + "src": "23319:7:0" } ], - "id": 1261, + "id": 753, "name": "ElementaryTypeNameExpression", - "src": "22681:7:1" + "src": "23319:7:0" }, { "attributes": { @@ -47137,37 +47137,37 @@ "type": "library Address", "value": "this" }, - "id": 1262, + "id": 754, "name": "Identifier", - "src": "22689:4:1" + "src": "23327:4:0" } ], - "id": 1263, + "id": 755, "name": "FunctionCall", - "src": "22681:13:1" + "src": "23319:13:0" } ], - "id": 1264, + "id": 756, "name": "MemberAccess", - "src": "22681:21:1" + "src": "23319:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1265, + "id": 757, "name": "Identifier", - "src": "22706:5:1" + "src": "23344:5:0" } ], - "id": 1266, + "id": 758, "name": "BinaryOperation", - "src": "22681:30:1" + "src": "23319:30:0" }, { "attributes": { @@ -47180,19 +47180,19 @@ "type": "literal_string \"Address: insufficient balance for call\"", "value": "Address: insufficient balance for call" }, - "id": 1267, + "id": 759, "name": "Literal", - "src": "22713:40:1" + "src": "23351:40:0" } ], - "id": 1268, + "id": 760, "name": "FunctionCall", - "src": "22673:81:1" + "src": "23311:81:0" } ], - "id": 1269, + "id": 761, "name": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "children": [ @@ -47231,9 +47231,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1270, + "id": 762, "name": "Identifier", - "src": "22764:7:1" + "src": "23403:7:0" }, { "attributes": { @@ -47261,31 +47261,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1271, + "id": 763, "name": "Identifier", - "src": "22772:10:1" + "src": "23411:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1272, + "id": 764, "name": "Identifier", - "src": "22783:6:1" + "src": "23422:6:0" } ], - "id": 1273, + "id": 765, "name": "FunctionCall", - "src": "22772:18:1" + "src": "23411:18:0" }, { "attributes": { @@ -47298,25 +47298,25 @@ "type": "literal_string \"Address: call to non-contract\"", "value": "Address: call to non-contract" }, - "id": 1274, + "id": 766, "name": "Literal", - "src": "22792:31:1" + "src": "23431:31:0" } ], - "id": 1275, + "id": 767, "name": "FunctionCall", - "src": "22764:60:1" + "src": "23403:60:0" } ], - "id": 1276, + "id": 768, "name": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "attributes": { "assignments": [ - 1278, - 1280 + 770, + 772 ] }, "children": [ @@ -47325,7 +47325,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -47337,21 +47337,21 @@ "name": "bool", "type": "bool" }, - "id": 1277, + "id": 769, "name": "ElementaryTypeName", - "src": "22895:4:1" + "src": "23537:4:0" } ], - "id": 1278, + "id": 770, "name": "VariableDeclaration", - "src": "22895:12:1" + "src": "23537:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47363,14 +47363,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1279, + "id": 771, "name": "ElementaryTypeName", - "src": "22909:5:1" + "src": "23551:5:0" } ], - "id": 1280, + "id": 772, "name": "VariableDeclaration", - "src": "22909:23:1" + "src": "23551:23:0" }, { "attributes": { @@ -47426,63 +47426,63 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1281, + "id": 773, "name": "Identifier", - "src": "22936:6:1" + "src": "23578:6:0" } ], - "id": 1282, + "id": 774, "name": "MemberAccess", - "src": "22936:11:1" + "src": "23578:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1283, + "id": 775, "name": "Identifier", - "src": "22956:5:1" + "src": "23598:5:0" } ], - "id": 1284, + "id": 776, "name": "FunctionCallOptions", - "src": "22936:27:1" + "src": "23578:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1250, + "referencedDeclaration": 742, "type": "bytes memory", "value": "data" }, - "id": 1285, + "id": 777, "name": "Identifier", - "src": "22964:4:1" + "src": "23606:4:0" } ], - "id": 1286, + "id": 778, "name": "FunctionCall", - "src": "22936:33:1" + "src": "23578:33:0" } ], - "id": 1287, + "id": 779, "name": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "attributes": { - "functionReturnParameters": 1258 + "functionReturnParameters": 750 }, "children": [ { @@ -47519,72 +47519,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1288, + "id": 780, "name": "Identifier", - "src": "22986:17:1" + "src": "23629:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1278, + "referencedDeclaration": 770, "type": "bool", "value": "success" }, - "id": 1289, + "id": 781, "name": "Identifier", - "src": "23004:7:1" + "src": "23647:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1280, + "referencedDeclaration": 772, "type": "bytes memory", "value": "returndata" }, - "id": 1290, + "id": 782, "name": "Identifier", - "src": "23013:10:1" + "src": "23656:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 746, "type": "string memory", "value": "errorMessage" }, - "id": 1291, + "id": 783, "name": "Identifier", - "src": "23025:12:1" + "src": "23668:12:0" } ], - "id": 1292, + "id": 784, "name": "FunctionCall", - "src": "22986:52:1" + "src": "23629:52:0" } ], - "id": 1293, + "id": 785, "name": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ], - "id": 1294, + "id": 786, "name": "Block", - "src": "22663:382:1" + "src": "23300:389:0" } ], - "id": 1295, + "id": 787, "name": "FunctionDefinition", - "src": "22522:523:1" + "src": "23159:530:0" }, { "attributes": { @@ -47595,7 +47595,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -47605,9 +47605,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1296, + "id": 788, "name": "StructuredDocumentation", - "src": "23051:166:1" + "src": "23697:171:0" }, { "children": [ @@ -47616,7 +47616,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47629,21 +47629,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1297, + "id": 789, "name": "ElementaryTypeName", - "src": "23250:7:1" + "src": "23902:7:0" } ], - "id": 1298, + "id": 790, "name": "VariableDeclaration", - "src": "23250:14:1" + "src": "23902:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47655,19 +47655,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1299, + "id": 791, "name": "ElementaryTypeName", - "src": "23266:5:1" + "src": "23918:5:0" } ], - "id": 1300, + "id": 792, "name": "VariableDeclaration", - "src": "23266:17:1" + "src": "23918:17:0" } ], - "id": 1301, + "id": 793, "name": "ParameterList", - "src": "23249:35:1" + "src": "23901:35:0" }, { "children": [ @@ -47676,7 +47676,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47688,25 +47688,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1302, + "id": 794, "name": "ElementaryTypeName", - "src": "23308:5:1" + "src": "23960:5:0" } ], - "id": 1303, + "id": 795, "name": "VariableDeclaration", - "src": "23308:12:1" + "src": "23960:12:0" } ], - "id": 1304, + "id": 796, "name": "ParameterList", - "src": "23307:14:1" + "src": "23959:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1304 + "functionReturnParameters": 796 }, "children": [ { @@ -47741,42 +47741,42 @@ } ], "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, + "referencedDeclaration": 839, "type": "function (address,bytes memory,string memory) view returns (bytes memory)", "value": "functionStaticCall" }, - "id": 1305, + "id": 797, "name": "Identifier", - "src": "23339:18:1" + "src": "23992:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1298, + "referencedDeclaration": 790, "type": "address", "value": "target" }, - "id": 1306, + "id": 798, "name": "Identifier", - "src": "23358:6:1" + "src": "24011:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1300, + "referencedDeclaration": 792, "type": "bytes memory", "value": "data" }, - "id": 1307, + "id": 799, "name": "Identifier", - "src": "23366:4:1" + "src": "24019:4:0" }, { "attributes": { @@ -47789,29 +47789,29 @@ "type": "literal_string \"Address: low-level static call failed\"", "value": "Address: low-level static call failed" }, - "id": 1308, + "id": 800, "name": "Literal", - "src": "23372:39:1" + "src": "24025:39:0" } ], - "id": 1309, + "id": 801, "name": "FunctionCall", - "src": "23339:73:1" + "src": "23992:73:0" } ], - "id": 1310, + "id": 802, "name": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ], - "id": 1311, + "id": 803, "name": "Block", - "src": "23322:97:1" + "src": "23974:99:0" } ], - "id": 1312, + "id": 804, "name": "FunctionDefinition", - "src": "23222:197:1" + "src": "23874:199:0" }, { "attributes": { @@ -47822,7 +47822,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -47832,9 +47832,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1313, + "id": 805, "name": "StructuredDocumentation", - "src": "23425:173:1" + "src": "24081:178:0" }, { "children": [ @@ -47843,7 +47843,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47856,21 +47856,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1314, + "id": 806, "name": "ElementaryTypeName", - "src": "23631:7:1" + "src": "24293:7:0" } ], - "id": 1315, + "id": 807, "name": "VariableDeclaration", - "src": "23631:14:1" + "src": "24293:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47882,21 +47882,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1316, + "id": 808, "name": "ElementaryTypeName", - "src": "23647:5:1" + "src": "24309:5:0" } ], - "id": 1317, + "id": 809, "name": "VariableDeclaration", - "src": "23647:17:1" + "src": "24309:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -47908,19 +47908,19 @@ "name": "string", "type": "string" }, - "id": 1318, + "id": 810, "name": "ElementaryTypeName", - "src": "23666:6:1" + "src": "24328:6:0" } ], - "id": 1319, + "id": 811, "name": "VariableDeclaration", - "src": "23666:26:1" + "src": "24328:26:0" } ], - "id": 1320, + "id": 812, "name": "ParameterList", - "src": "23630:63:1" + "src": "24292:63:0" }, { "children": [ @@ -47929,7 +47929,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47941,19 +47941,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1321, + "id": 813, "name": "ElementaryTypeName", - "src": "23717:5:1" + "src": "24379:5:0" } ], - "id": 1322, + "id": 814, "name": "VariableDeclaration", - "src": "23717:12:1" + "src": "24379:12:0" } ], - "id": 1323, + "id": 815, "name": "ParameterList", - "src": "23716:14:1" + "src": "24378:14:0" }, { "children": [ @@ -47994,9 +47994,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1324, + "id": 816, "name": "Identifier", - "src": "23741:7:1" + "src": "24404:7:0" }, { "attributes": { @@ -48024,31 +48024,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1325, + "id": 817, "name": "Identifier", - "src": "23749:10:1" + "src": "24412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1326, + "id": 818, "name": "Identifier", - "src": "23760:6:1" + "src": "24423:6:0" } ], - "id": 1327, + "id": 819, "name": "FunctionCall", - "src": "23749:18:1" + "src": "24412:18:0" }, { "attributes": { @@ -48061,25 +48061,25 @@ "type": "literal_string \"Address: static call to non-contract\"", "value": "Address: static call to non-contract" }, - "id": 1328, + "id": 820, "name": "Literal", - "src": "23769:38:1" + "src": "24432:38:0" } ], - "id": 1329, + "id": 821, "name": "FunctionCall", - "src": "23741:67:1" + "src": "24404:67:0" } ], - "id": 1330, + "id": 822, "name": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "attributes": { "assignments": [ - 1332, - 1334 + 824, + 826 ] }, "children": [ @@ -48088,7 +48088,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48100,21 +48100,21 @@ "name": "bool", "type": "bool" }, - "id": 1331, + "id": 823, "name": "ElementaryTypeName", - "src": "23879:4:1" + "src": "24545:4:0" } ], - "id": 1332, + "id": 824, "name": "VariableDeclaration", - "src": "23879:12:1" + "src": "24545:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48126,14 +48126,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1333, + "id": 825, "name": "ElementaryTypeName", - "src": "23893:5:1" + "src": "24559:5:0" } ], - "id": 1334, + "id": 826, "name": "VariableDeclaration", - "src": "23893:23:1" + "src": "24559:23:0" }, { "attributes": { @@ -48171,45 +48171,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1335, + "id": 827, "name": "Identifier", - "src": "23920:6:1" + "src": "24586:6:0" } ], - "id": 1336, + "id": 828, "name": "MemberAccess", - "src": "23920:17:1" + "src": "24586:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1317, + "referencedDeclaration": 809, "type": "bytes memory", "value": "data" }, - "id": 1337, + "id": 829, "name": "Identifier", - "src": "23938:4:1" + "src": "24604:4:0" } ], - "id": 1338, + "id": 830, "name": "FunctionCall", - "src": "23920:23:1" + "src": "24586:23:0" } ], - "id": 1339, + "id": 831, "name": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "attributes": { - "functionReturnParameters": 1323 + "functionReturnParameters": 815 }, "children": [ { @@ -48246,72 +48246,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1340, + "id": 832, "name": "Identifier", - "src": "23960:17:1" + "src": "24627:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1332, + "referencedDeclaration": 824, "type": "bool", "value": "success" }, - "id": 1341, + "id": 833, "name": "Identifier", - "src": "23978:7:1" + "src": "24645:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1334, + "referencedDeclaration": 826, "type": "bytes memory", "value": "returndata" }, - "id": 1342, + "id": 834, "name": "Identifier", - "src": "23987:10:1" + "src": "24654:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 811, "type": "string memory", "value": "errorMessage" }, - "id": 1343, + "id": 835, "name": "Identifier", - "src": "23999:12:1" + "src": "24666:12:0" } ], - "id": 1344, + "id": 836, "name": "FunctionCall", - "src": "23960:52:1" + "src": "24627:52:0" } ], - "id": 1345, + "id": 837, "name": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ], - "id": 1346, + "id": 838, "name": "Block", - "src": "23731:288:1" + "src": "24393:294:0" } ], - "id": 1347, + "id": 839, "name": "FunctionDefinition", - "src": "23603:416:1" + "src": "24265:422:0" }, { "attributes": { @@ -48322,7 +48322,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48332,9 +48332,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1348, + "id": 840, "name": "StructuredDocumentation", - "src": "24025:168:1" + "src": "24695:173:0" }, { "children": [ @@ -48343,7 +48343,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48356,21 +48356,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1349, + "id": 841, "name": "ElementaryTypeName", - "src": "24228:7:1" + "src": "24904:7:0" } ], - "id": 1350, + "id": 842, "name": "VariableDeclaration", - "src": "24228:14:1" + "src": "24904:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48382,19 +48382,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1351, + "id": 843, "name": "ElementaryTypeName", - "src": "24244:5:1" + "src": "24920:5:0" } ], - "id": 1352, + "id": 844, "name": "VariableDeclaration", - "src": "24244:17:1" + "src": "24920:17:0" } ], - "id": 1353, + "id": 845, "name": "ParameterList", - "src": "24227:35:1" + "src": "24903:35:0" }, { "children": [ @@ -48403,7 +48403,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48415,25 +48415,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1354, + "id": 846, "name": "ElementaryTypeName", - "src": "24281:5:1" + "src": "24957:5:0" } ], - "id": 1355, + "id": 847, "name": "VariableDeclaration", - "src": "24281:12:1" + "src": "24957:12:0" } ], - "id": 1356, + "id": 848, "name": "ParameterList", - "src": "24280:14:1" + "src": "24956:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1356 + "functionReturnParameters": 848 }, "children": [ { @@ -48468,42 +48468,42 @@ } ], "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, + "referencedDeclaration": 891, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionDelegateCall" }, - "id": 1357, + "id": 849, "name": "Identifier", - "src": "24312:20:1" + "src": "24989:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1350, + "referencedDeclaration": 842, "type": "address", "value": "target" }, - "id": 1358, + "id": 850, "name": "Identifier", - "src": "24333:6:1" + "src": "25010:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1352, + "referencedDeclaration": 844, "type": "bytes memory", "value": "data" }, - "id": 1359, + "id": 851, "name": "Identifier", - "src": "24341:4:1" + "src": "25018:4:0" }, { "attributes": { @@ -48516,29 +48516,29 @@ "type": "literal_string \"Address: low-level delegate call failed\"", "value": "Address: low-level delegate call failed" }, - "id": 1360, + "id": 852, "name": "Literal", - "src": "24347:41:1" + "src": "25024:41:0" } ], - "id": 1361, + "id": 853, "name": "FunctionCall", - "src": "24312:77:1" + "src": "24989:77:0" } ], - "id": 1362, + "id": 854, "name": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ], - "id": 1363, + "id": 855, "name": "Block", - "src": "24295:101:1" + "src": "24971:103:0" } ], - "id": 1364, + "id": 856, "name": "FunctionDefinition", - "src": "24198:198:1" + "src": "24874:200:0" }, { "attributes": { @@ -48549,7 +48549,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48559,9 +48559,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1365, + "id": 857, "name": "StructuredDocumentation", - "src": "24402:175:1" + "src": "25082:180:0" }, { "children": [ @@ -48570,7 +48570,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48583,21 +48583,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1366, + "id": 858, "name": "ElementaryTypeName", - "src": "24612:7:1" + "src": "25298:7:0" } ], - "id": 1367, + "id": 859, "name": "VariableDeclaration", - "src": "24612:14:1" + "src": "25298:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48609,21 +48609,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1368, + "id": 860, "name": "ElementaryTypeName", - "src": "24628:5:1" + "src": "25314:5:0" } ], - "id": 1369, + "id": 861, "name": "VariableDeclaration", - "src": "24628:17:1" + "src": "25314:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -48635,19 +48635,19 @@ "name": "string", "type": "string" }, - "id": 1370, + "id": 862, "name": "ElementaryTypeName", - "src": "24647:6:1" + "src": "25333:6:0" } ], - "id": 1371, + "id": 863, "name": "VariableDeclaration", - "src": "24647:26:1" + "src": "25333:26:0" } ], - "id": 1372, + "id": 864, "name": "ParameterList", - "src": "24611:63:1" + "src": "25297:63:0" }, { "children": [ @@ -48656,7 +48656,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48668,19 +48668,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1373, + "id": 865, "name": "ElementaryTypeName", - "src": "24693:5:1" + "src": "25379:5:0" } ], - "id": 1374, + "id": 866, "name": "VariableDeclaration", - "src": "24693:12:1" + "src": "25379:12:0" } ], - "id": 1375, + "id": 867, "name": "ParameterList", - "src": "24692:14:1" + "src": "25378:14:0" }, { "children": [ @@ -48721,9 +48721,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1376, + "id": 868, "name": "Identifier", - "src": "24717:7:1" + "src": "25404:7:0" }, { "attributes": { @@ -48751,31 +48751,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1377, + "id": 869, "name": "Identifier", - "src": "24725:10:1" + "src": "25412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1378, + "id": 870, "name": "Identifier", - "src": "24736:6:1" + "src": "25423:6:0" } ], - "id": 1379, + "id": 871, "name": "FunctionCall", - "src": "24725:18:1" + "src": "25412:18:0" }, { "attributes": { @@ -48788,25 +48788,25 @@ "type": "literal_string \"Address: delegate call to non-contract\"", "value": "Address: delegate call to non-contract" }, - "id": 1380, + "id": 872, "name": "Literal", - "src": "24745:40:1" + "src": "25432:40:0" } ], - "id": 1381, + "id": 873, "name": "FunctionCall", - "src": "24717:69:1" + "src": "25404:69:0" } ], - "id": 1382, + "id": 874, "name": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "attributes": { "assignments": [ - 1384, - 1386 + 876, + 878 ] }, "children": [ @@ -48815,7 +48815,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48827,21 +48827,21 @@ "name": "bool", "type": "bool" }, - "id": 1383, + "id": 875, "name": "ElementaryTypeName", - "src": "24857:4:1" + "src": "25547:4:0" } ], - "id": 1384, + "id": 876, "name": "VariableDeclaration", - "src": "24857:12:1" + "src": "25547:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48853,14 +48853,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1385, + "id": 877, "name": "ElementaryTypeName", - "src": "24871:5:1" + "src": "25561:5:0" } ], - "id": 1386, + "id": 878, "name": "VariableDeclaration", - "src": "24871:23:1" + "src": "25561:23:0" }, { "attributes": { @@ -48898,45 +48898,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1387, + "id": 879, "name": "Identifier", - "src": "24898:6:1" + "src": "25588:6:0" } ], - "id": 1388, + "id": 880, "name": "MemberAccess", - "src": "24898:19:1" + "src": "25588:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1369, + "referencedDeclaration": 861, "type": "bytes memory", "value": "data" }, - "id": 1389, + "id": 881, "name": "Identifier", - "src": "24918:4:1" + "src": "25608:4:0" } ], - "id": 1390, + "id": 882, "name": "FunctionCall", - "src": "24898:25:1" + "src": "25588:25:0" } ], - "id": 1391, + "id": 883, "name": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "attributes": { - "functionReturnParameters": 1375 + "functionReturnParameters": 867 }, "children": [ { @@ -48973,72 +48973,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1392, + "id": 884, "name": "Identifier", - "src": "24940:17:1" + "src": "25631:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1384, + "referencedDeclaration": 876, "type": "bool", "value": "success" }, - "id": 1393, + "id": 885, "name": "Identifier", - "src": "24958:7:1" + "src": "25649:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1386, + "referencedDeclaration": 878, "type": "bytes memory", "value": "returndata" }, - "id": 1394, + "id": 886, "name": "Identifier", - "src": "24967:10:1" + "src": "25658:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1371, + "referencedDeclaration": 863, "type": "string memory", "value": "errorMessage" }, - "id": 1395, + "id": 887, "name": "Identifier", - "src": "24979:12:1" + "src": "25670:12:0" } ], - "id": 1396, + "id": 888, "name": "FunctionCall", - "src": "24940:52:1" + "src": "25631:52:0" } ], - "id": 1397, + "id": 889, "name": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ], - "id": 1398, + "id": 890, "name": "Block", - "src": "24707:292:1" + "src": "25393:298:0" } ], - "id": 1399, + "id": 891, "name": "FunctionDefinition", - "src": "24582:417:1" + "src": "25268:423:0" }, { "attributes": { @@ -49049,7 +49049,7 @@ null ], "name": "_verifyCallResult", - "scope": 1430, + "scope": 922, "stateMutability": "pure", "virtual": false, "visibility": "private" @@ -49062,7 +49062,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49074,21 +49074,21 @@ "name": "bool", "type": "bool" }, - "id": 1400, + "id": 892, "name": "ElementaryTypeName", - "src": "25032:4:1" + "src": "25726:4:0" } ], - "id": 1401, + "id": 893, "name": "VariableDeclaration", - "src": "25032:12:1" + "src": "25726:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49100,21 +49100,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1402, + "id": 894, "name": "ElementaryTypeName", - "src": "25046:5:1" + "src": "25740:5:0" } ], - "id": 1403, + "id": 895, "name": "VariableDeclaration", - "src": "25046:23:1" + "src": "25740:23:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -49126,19 +49126,19 @@ "name": "string", "type": "string" }, - "id": 1404, + "id": 896, "name": "ElementaryTypeName", - "src": "25071:6:1" + "src": "25765:6:0" } ], - "id": 1405, + "id": 897, "name": "VariableDeclaration", - "src": "25071:26:1" + "src": "25765:26:0" } ], - "id": 1406, + "id": 898, "name": "ParameterList", - "src": "25031:67:1" + "src": "25725:67:0" }, { "children": [ @@ -49147,7 +49147,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49159,19 +49159,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1407, + "id": 899, "name": "ElementaryTypeName", - "src": "25120:5:1" + "src": "25814:5:0" } ], - "id": 1408, + "id": 900, "name": "VariableDeclaration", - "src": "25120:12:1" + "src": "25814:12:0" } ], - "id": 1409, + "id": 901, "name": "ParameterList", - "src": "25119:14:1" + "src": "25813:14:0" }, { "children": [ @@ -49182,19 +49182,19 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1401, + "referencedDeclaration": 893, "type": "bool", "value": "success" }, - "id": 1410, + "id": 902, "name": "Identifier", - "src": "25148:7:1" + "src": "25843:7:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1409 + "functionReturnParameters": 901 }, "children": [ { @@ -49202,23 +49202,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1411, + "id": 903, "name": "Identifier", - "src": "25178:10:1" + "src": "25874:10:0" } ], - "id": 1412, + "id": 904, "name": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ], - "id": 1413, + "id": 905, "name": "Block", - "src": "25157:42:1" + "src": "25852:44:0" }, { "children": [ @@ -49253,18 +49253,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1414, + "id": 906, "name": "Identifier", - "src": "25289:10:1" + "src": "25988:10:0" } ], - "id": 1415, + "id": 907, "name": "MemberAccess", - "src": "25289:17:1" + "src": "25988:17:0" }, { "attributes": { @@ -49277,14 +49277,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1416, + "id": 908, "name": "Literal", - "src": "25309:1:1" + "src": "26008:1:0" } ], - "id": 1417, + "id": 909, "name": "BinaryOperation", - "src": "25289:21:1" + "src": "25988:21:0" }, { "children": [ @@ -49293,31 +49293,31 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], "operations": "{\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n}" }, "children": [], - "id": 1418, + "id": 910, "name": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ], - "id": 1419, + "id": 911, "name": "Block", - "src": "25312:343:1" + "src": "26011:351:0" }, { "children": [ @@ -49354,67 +49354,67 @@ "type": "function (string memory) pure", "value": "revert" }, - "id": 1420, + "id": 912, "name": "Identifier", - "src": "25679:6:1" + "src": "26387:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1405, + "referencedDeclaration": 897, "type": "string memory", "value": "errorMessage" }, - "id": 1421, + "id": 913, "name": "Identifier", - "src": "25686:12:1" + "src": "26394:12:0" } ], - "id": 1422, + "id": 914, "name": "FunctionCall", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1423, + "id": 915, "name": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1424, + "id": 916, "name": "Block", - "src": "25661:53:1" + "src": "26368:55:0" } ], - "id": 1425, + "id": 917, "name": "IfStatement", - "src": "25285:429:1" + "src": "25984:439:0" } ], - "id": 1426, + "id": 918, "name": "Block", - "src": "25205:519:1" + "src": "25902:532:0" } ], - "id": 1427, + "id": 919, "name": "IfStatement", - "src": "25144:580:1" + "src": "25839:595:0" } ], - "id": 1428, + "id": 920, "name": "Block", - "src": "25134:596:1" + "src": "25828:613:0" } ], - "id": 1429, + "id": 921, "name": "FunctionDefinition", - "src": "25005:725:1" + "src": "25699:742:0" } ], - "id": 1430, + "id": 922, "name": "ContractDefinition", - "src": "18048:7684:1" + "src": "18579:7865:0" }, { "attributes": { @@ -49428,9 +49428,9 @@ ".0" ] }, - "id": 1431, + "id": 923, "name": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "attributes": { @@ -49444,25 +49444,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, - "id": 1432, + "id": 924, "name": "StructuredDocumentation", - "src": "25824:686:1" + "src": "26541:709:0" }, { "attributes": { "canonicalName": "EnumerableSet.Set", "name": "Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -49471,7 +49471,7 @@ "constant": false, "mutability": "mutable", "name": "_values", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "bytes32[]", @@ -49488,26 +49488,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1433, + "id": 925, "name": "ElementaryTypeName", - "src": "27033:7:1" + "src": "27786:7:0" } ], - "id": 1434, + "id": 926, "name": "ArrayTypeName", - "src": "27033:9:1" + "src": "27786:9:0" } ], - "id": 1435, + "id": 927, "name": "VariableDeclaration", - "src": "27033:17:1" + "src": "27786:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -49524,33 +49524,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1436, + "id": 928, "name": "ElementaryTypeName", - "src": "27193:7:1" + "src": "27950:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1437, + "id": 929, "name": "ElementaryTypeName", - "src": "27204:7:1" + "src": "27961:7:0" } ], - "id": 1438, + "id": 930, "name": "Mapping", - "src": "27184:28:1" + "src": "27941:28:0" } ], - "id": 1439, + "id": 931, "name": "VariableDeclaration", - "src": "27184:37:1" + "src": "27941:37:0" } ], - "id": 1440, + "id": 932, "name": "StructDefinition", - "src": "26979:249:1" + "src": "27730:256:0" }, { "attributes": { @@ -49561,7 +49561,7 @@ null ], "name": "_add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -49571,9 +49571,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1441, + "id": 933, "name": "StructuredDocumentation", - "src": "27234:159:1" + "src": "27994:164:0" }, { "children": [ @@ -49582,7 +49582,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -49592,24 +49592,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1442, + "id": 934, "name": "UserDefinedTypeName", - "src": "27412:3:1" + "src": "28178:3:0" } ], - "id": 1443, + "id": 935, "name": "VariableDeclaration", - "src": "27412:15:1" + "src": "28178:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -49621,19 +49621,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1444, + "id": 936, "name": "ElementaryTypeName", - "src": "27429:7:1" + "src": "28195:7:0" } ], - "id": 1445, + "id": 937, "name": "VariableDeclaration", - "src": "27429:13:1" + "src": "28195:13:0" } ], - "id": 1446, + "id": 938, "name": "ParameterList", - "src": "27411:32:1" + "src": "28177:32:0" }, { "children": [ @@ -49642,7 +49642,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49654,19 +49654,19 @@ "name": "bool", "type": "bool" }, - "id": 1447, + "id": 939, "name": "ElementaryTypeName", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1448, + "id": 940, "name": "VariableDeclaration", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1449, + "id": 941, "name": "ParameterList", - "src": "27460:6:1" + "src": "28226:6:0" }, { "children": [ @@ -49702,7 +49702,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -49713,49 +49713,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1450, + "id": 942, "name": "Identifier", - "src": "27482:9:1" + "src": "28249:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1451, + "id": 943, "name": "Identifier", - "src": "27492:3:1" + "src": "28259:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1452, + "id": 944, "name": "Identifier", - "src": "27497:5:1" + "src": "28264:5:0" } ], - "id": 1453, + "id": 945, "name": "FunctionCall", - "src": "27482:21:1" + "src": "28249:21:0" } ], - "id": 1454, + "id": 946, "name": "UnaryOperation", - "src": "27481:22:1" + "src": "28248:22:0" }, { "children": [ @@ -49799,7 +49799,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -49808,46 +49808,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1455, + "id": 947, "name": "Identifier", - "src": "27519:3:1" + "src": "28287:3:0" } ], - "id": 1458, + "id": 950, "name": "MemberAccess", - "src": "27519:11:1" + "src": "28287:11:0" } ], - "id": 1459, + "id": 951, "name": "MemberAccess", - "src": "27519:16:1" + "src": "28287:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1460, + "id": 952, "name": "Identifier", - "src": "27536:5:1" + "src": "28304:5:0" } ], - "id": 1461, + "id": 953, "name": "FunctionCall", - "src": "27519:23:1" + "src": "28287:23:0" } ], - "id": 1462, + "id": 954, "name": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "children": [ @@ -49877,7 +49877,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -49886,36 +49886,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1463, + "id": 955, "name": "Identifier", - "src": "27677:3:1" + "src": "28448:3:0" } ], - "id": 1466, + "id": 958, "name": "MemberAccess", - "src": "27677:12:1" + "src": "28448:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1465, + "id": 957, "name": "Identifier", - "src": "27690:5:1" + "src": "28461:5:0" } ], - "id": 1467, + "id": 959, "name": "IndexAccess", - "src": "27677:19:1" + "src": "28448:19:0" }, { "attributes": { @@ -49934,7 +49934,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -49943,37 +49943,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1468, + "id": 960, "name": "Identifier", - "src": "27699:3:1" + "src": "28470:3:0" } ], - "id": 1469, + "id": 961, "name": "MemberAccess", - "src": "27699:11:1" + "src": "28470:11:0" } ], - "id": 1470, + "id": 962, "name": "MemberAccess", - "src": "27699:18:1" + "src": "28470:18:0" } ], - "id": 1471, + "id": 963, "name": "Assignment", - "src": "27677:40:1" + "src": "28448:40:0" } ], - "id": 1472, + "id": 964, "name": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -49987,25 +49987,25 @@ "type": "bool", "value": "true" }, - "id": 1473, + "id": 965, "name": "Literal", - "src": "27738:4:1" + "src": "28510:4:0" } ], - "id": 1474, + "id": 966, "name": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ], - "id": 1475, + "id": 967, "name": "Block", - "src": "27505:248:1" + "src": "28272:254:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -50019,34 +50019,34 @@ "type": "bool", "value": "false" }, - "id": 1476, + "id": 968, "name": "Literal", - "src": "27780:5:1" + "src": "28554:5:0" } ], - "id": 1477, + "id": 969, "name": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ], - "id": 1478, + "id": 970, "name": "Block", - "src": "27759:37:1" + "src": "28532:39:0" } ], - "id": 1479, + "id": 971, "name": "IfStatement", - "src": "27477:319:1" + "src": "28244:327:0" } ], - "id": 1480, + "id": 972, "name": "Block", - "src": "27467:335:1" + "src": "28233:345:0" } ], - "id": 1481, + "id": 973, "name": "FunctionDefinition", - "src": "27398:404:1" + "src": "28164:414:0" }, { "attributes": { @@ -50057,7 +50057,7 @@ null ], "name": "_remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -50067,9 +50067,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1482, + "id": 974, "name": "StructuredDocumentation", - "src": "27808:157:1" + "src": "28586:162:0" }, { "children": [ @@ -50078,7 +50078,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -50088,24 +50088,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1483, + "id": 975, "name": "UserDefinedTypeName", - "src": "27987:3:1" + "src": "28771:3:0" } ], - "id": 1484, + "id": 976, "name": "VariableDeclaration", - "src": "27987:15:1" + "src": "28771:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50117,19 +50117,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1485, + "id": 977, "name": "ElementaryTypeName", - "src": "28004:7:1" + "src": "28788:7:0" } ], - "id": 1486, + "id": 978, "name": "VariableDeclaration", - "src": "28004:13:1" + "src": "28788:13:0" } ], - "id": 1487, + "id": 979, "name": "ParameterList", - "src": "27986:32:1" + "src": "28770:32:0" }, { "children": [ @@ -50138,7 +50138,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -50150,26 +50150,26 @@ "name": "bool", "type": "bool" }, - "id": 1488, + "id": 980, "name": "ElementaryTypeName", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1489, + "id": 981, "name": "VariableDeclaration", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1490, + "id": 982, "name": "ParameterList", - "src": "28035:6:1" + "src": "28819:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1492 + 984 ] }, "children": [ @@ -50178,7 +50178,7 @@ "constant": false, "mutability": "mutable", "name": "valueIndex", - "scope": 1560, + "scope": 1052, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50190,14 +50190,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1491, + "id": 983, "name": "ElementaryTypeName", - "src": "28152:7:1" + "src": "28938:7:0" } ], - "id": 1492, + "id": 984, "name": "VariableDeclaration", - "src": "28152:18:1" + "src": "28938:18:0" }, { "attributes": { @@ -50215,7 +50215,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50224,41 +50224,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1493, + "id": 985, "name": "Identifier", - "src": "28173:3:1" + "src": "28959:3:0" } ], - "id": 1494, + "id": 986, "name": "MemberAccess", - "src": "28173:12:1" + "src": "28959:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1495, + "id": 987, "name": "Identifier", - "src": "28186:5:1" + "src": "28972:5:0" } ], - "id": 1496, + "id": 988, "name": "IndexAccess", - "src": "28173:19:1" + "src": "28959:19:0" } ], - "id": 1497, + "id": 989, "name": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "children": [ @@ -50281,13 +50281,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1498, + "id": 990, "name": "Identifier", - "src": "28207:10:1" + "src": "28995:10:0" }, { "attributes": { @@ -50300,21 +50300,21 @@ "type": "int_const 0", "value": "0" }, - "id": 1499, + "id": 991, "name": "Literal", - "src": "28221:1:1" + "src": "29009:1:0" } ], - "id": 1500, + "id": 992, "name": "BinaryOperation", - "src": "28207:15:1" + "src": "28995:15:0" }, { "children": [ { "attributes": { "assignments": [ - 1502 + 994 ] }, "children": [ @@ -50323,7 +50323,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50335,14 +50335,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1501, + "id": 993, "name": "ElementaryTypeName", - "src": "28564:7:1" + "src": "29357:7:0" } ], - "id": 1502, + "id": 994, "name": "VariableDeclaration", - "src": "28564:21:1" + "src": "29357:21:0" }, { "attributes": { @@ -50363,13 +50363,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1503, + "id": 995, "name": "Identifier", - "src": "28588:10:1" + "src": "29381:10:0" }, { "attributes": { @@ -50382,24 +50382,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1504, + "id": 996, "name": "Literal", - "src": "28601:1:1" + "src": "29394:1:0" } ], - "id": 1505, + "id": 997, "name": "BinaryOperation", - "src": "28588:14:1" + "src": "29381:14:0" } ], - "id": 1506, + "id": 998, "name": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "attributes": { "assignments": [ - 1508 + 1000 ] }, "children": [ @@ -50408,7 +50408,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50420,14 +50420,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1507, + "id": 999, "name": "ElementaryTypeName", - "src": "28616:7:1" + "src": "29410:7:0" } ], - "id": 1508, + "id": 1000, "name": "VariableDeclaration", - "src": "28616:17:1" + "src": "29410:17:0" }, { "attributes": { @@ -50460,7 +50460,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50469,23 +50469,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1509, + "id": 1001, "name": "Identifier", - "src": "28636:3:1" + "src": "29430:3:0" } ], - "id": 1510, + "id": 1002, "name": "MemberAccess", - "src": "28636:11:1" + "src": "29430:11:0" } ], - "id": 1511, + "id": 1003, "name": "MemberAccess", - "src": "28636:18:1" + "src": "29430:18:0" }, { "attributes": { @@ -50498,24 +50498,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1512, + "id": 1004, "name": "Literal", - "src": "28657:1:1" + "src": "29451:1:0" } ], - "id": 1513, + "id": 1005, "name": "BinaryOperation", - "src": "28636:22:1" + "src": "29430:22:0" } ], - "id": 1514, + "id": 1006, "name": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "attributes": { "assignments": [ - 1516 + 1008 ] }, "children": [ @@ -50524,7 +50524,7 @@ "constant": false, "mutability": "mutable", "name": "lastvalue", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50536,14 +50536,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1515, + "id": 1007, "name": "ElementaryTypeName", - "src": "28898:7:1" + "src": "29697:7:0" } ], - "id": 1516, + "id": 1008, "name": "VariableDeclaration", - "src": "28898:17:1" + "src": "29697:17:0" }, { "attributes": { @@ -50561,7 +50561,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50570,41 +50570,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1517, + "id": 1009, "name": "Identifier", - "src": "28918:3:1" + "src": "29717:3:0" } ], - "id": 1518, + "id": 1010, "name": "MemberAccess", - "src": "28918:11:1" + "src": "29717:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1508, + "referencedDeclaration": 1000, "type": "uint256", "value": "lastIndex" }, - "id": 1519, + "id": 1011, "name": "Identifier", - "src": "28930:9:1" + "src": "29729:9:0" } ], - "id": 1520, + "id": 1012, "name": "IndexAccess", - "src": "28918:22:1" + "src": "29717:22:0" } ], - "id": 1521, + "id": 1013, "name": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "children": [ @@ -50634,7 +50634,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50643,59 +50643,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1522, + "id": 1014, "name": "Identifier", - "src": "29032:3:1" + "src": "29834:3:0" } ], - "id": 1525, + "id": 1017, "name": "MemberAccess", - "src": "29032:11:1" + "src": "29834:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1524, + "id": 1016, "name": "Identifier", - "src": "29044:13:1" + "src": "29846:13:0" } ], - "id": 1526, + "id": 1018, "name": "IndexAccess", - "src": "29032:26:1" + "src": "29834:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1527, + "id": 1019, "name": "Identifier", - "src": "29061:9:1" + "src": "29863:9:0" } ], - "id": 1528, + "id": 1020, "name": "Assignment", - "src": "29032:38:1" + "src": "29834:38:0" } ], - "id": 1529, + "id": 1021, "name": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "children": [ @@ -50725,7 +50725,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50734,36 +50734,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1530, + "id": 1022, "name": "Identifier", - "src": "29136:3:1" + "src": "29940:3:0" } ], - "id": 1533, + "id": 1025, "name": "MemberAccess", - "src": "29136:12:1" + "src": "29940:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1532, + "id": 1024, "name": "Identifier", - "src": "29149:9:1" + "src": "29953:9:0" } ], - "id": 1534, + "id": 1026, "name": "IndexAccess", - "src": "29136:23:1" + "src": "29940:23:0" }, { "attributes": { @@ -50784,13 +50784,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1535, + "id": 1027, "name": "Identifier", - "src": "29162:13:1" + "src": "29966:13:0" }, { "attributes": { @@ -50803,24 +50803,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1536, + "id": 1028, "name": "Literal", - "src": "29178:1:1" + "src": "29982:1:0" } ], - "id": 1537, + "id": 1029, "name": "BinaryOperation", - "src": "29162:17:1" + "src": "29966:17:0" } ], - "id": 1538, + "id": 1030, "name": "Assignment", - "src": "29136:43:1" + "src": "29940:43:0" } ], - "id": 1539, + "id": 1031, "name": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "children": [ @@ -50862,7 +50862,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50871,33 +50871,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1540, + "id": 1032, "name": "Identifier", - "src": "29285:3:1" + "src": "30092:3:0" } ], - "id": 1543, + "id": 1035, "name": "MemberAccess", - "src": "29285:11:1" + "src": "30092:11:0" } ], - "id": 1544, + "id": 1036, "name": "MemberAccess", - "src": "29285:15:1" + "src": "30092:15:0" } ], - "id": 1545, + "id": 1037, "name": "FunctionCall", - "src": "29285:17:1" + "src": "30092:17:0" } ], - "id": 1546, + "id": 1038, "name": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "children": [ @@ -50928,7 +50928,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50937,50 +50937,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1547, + "id": 1039, "name": "Identifier", - "src": "29377:3:1" + "src": "30187:3:0" } ], - "id": 1548, + "id": 1040, "name": "MemberAccess", - "src": "29377:12:1" + "src": "30187:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1549, + "id": 1041, "name": "Identifier", - "src": "29390:5:1" + "src": "30200:5:0" } ], - "id": 1550, + "id": 1042, "name": "IndexAccess", - "src": "29377:19:1" + "src": "30187:19:0" } ], - "id": 1551, + "id": 1043, "name": "UnaryOperation", - "src": "29370:26:1" + "src": "30180:26:0" } ], - "id": 1552, + "id": 1044, "name": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -50994,25 +50994,25 @@ "type": "bool", "value": "true" }, - "id": 1553, + "id": 1045, "name": "Literal", - "src": "29418:4:1" + "src": "30230:4:0" } ], - "id": 1554, + "id": 1046, "name": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ], - "id": 1555, + "id": 1047, "name": "Block", - "src": "28224:1209:1" + "src": "29012:1234:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -51026,34 +51026,34 @@ "type": "bool", "value": "false" }, - "id": 1556, + "id": 1048, "name": "Literal", - "src": "29460:5:1" + "src": "30274:5:0" } ], - "id": 1557, + "id": 1049, "name": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ], - "id": 1558, + "id": 1050, "name": "Block", - "src": "29439:37:1" + "src": "30252:39:0" } ], - "id": 1559, + "id": 1051, "name": "IfStatement", - "src": "28203:1273:1" + "src": "28991:1300:0" } ], - "id": 1560, + "id": 1052, "name": "Block", - "src": "28042:1440:1" + "src": "28826:1472:0" } ], - "id": 1561, + "id": 1053, "name": "FunctionDefinition", - "src": "27970:1512:1" + "src": "28754:1544:0" }, { "attributes": { @@ -51064,7 +51064,7 @@ null ], "name": "_contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51074,9 +51074,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1562, + "id": 1054, "name": "StructuredDocumentation", - "src": "29488:70:1" + "src": "30306:72:0" }, { "children": [ @@ -51085,7 +51085,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51095,24 +51095,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1563, + "id": 1055, "name": "UserDefinedTypeName", - "src": "29582:3:1" + "src": "30403:3:0" } ], - "id": 1564, + "id": 1056, "name": "VariableDeclaration", - "src": "29582:15:1" + "src": "30403:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51124,19 +51124,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1565, + "id": 1057, "name": "ElementaryTypeName", - "src": "29599:7:1" + "src": "30420:7:0" } ], - "id": 1566, + "id": 1058, "name": "VariableDeclaration", - "src": "29599:13:1" + "src": "30420:13:0" } ], - "id": 1567, + "id": 1059, "name": "ParameterList", - "src": "29581:32:1" + "src": "30402:32:0" }, { "children": [ @@ -51145,7 +51145,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51157,25 +51157,25 @@ "name": "bool", "type": "bool" }, - "id": 1568, + "id": 1060, "name": "ElementaryTypeName", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1569, + "id": 1061, "name": "VariableDeclaration", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1570, + "id": 1062, "name": "ParameterList", - "src": "29635:6:1" + "src": "30456:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1570 + "functionReturnParameters": 1062 }, "children": [ { @@ -51208,7 +51208,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -51217,36 +51217,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1564, + "referencedDeclaration": 1056, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1571, + "id": 1063, "name": "Identifier", - "src": "29659:3:1" + "src": "30481:3:0" } ], - "id": 1572, + "id": 1064, "name": "MemberAccess", - "src": "29659:12:1" + "src": "30481:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1566, + "referencedDeclaration": 1058, "type": "bytes32", "value": "value" }, - "id": 1573, + "id": 1065, "name": "Identifier", - "src": "29672:5:1" + "src": "30494:5:0" } ], - "id": 1574, + "id": 1066, "name": "IndexAccess", - "src": "29659:19:1" + "src": "30481:19:0" }, { "attributes": { @@ -51259,29 +51259,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1575, + "id": 1067, "name": "Literal", - "src": "29682:1:1" + "src": "30504:1:0" } ], - "id": 1576, + "id": 1068, "name": "BinaryOperation", - "src": "29659:24:1" + "src": "30481:24:0" } ], - "id": 1577, + "id": 1069, "name": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ], - "id": 1578, + "id": 1070, "name": "Block", - "src": "29642:48:1" + "src": "30463:50:0" } ], - "id": 1579, + "id": 1071, "name": "FunctionDefinition", - "src": "29563:127:1" + "src": "30384:129:0" }, { "attributes": { @@ -51292,7 +51292,7 @@ null ], "name": "_length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51302,9 +51302,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1580, + "id": 1072, "name": "StructuredDocumentation", - "src": "29696:70:1" + "src": "30521:72:0" }, { "children": [ @@ -51313,7 +51313,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51323,22 +51323,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1581, + "id": 1073, "name": "UserDefinedTypeName", - "src": "29788:3:1" + "src": "30616:3:0" } ], - "id": 1582, + "id": 1074, "name": "VariableDeclaration", - "src": "29788:15:1" + "src": "30616:15:0" } ], - "id": 1583, + "id": 1075, "name": "ParameterList", - "src": "29787:17:1" + "src": "30615:17:0" }, { "children": [ @@ -51347,7 +51347,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51359,25 +51359,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1584, + "id": 1076, "name": "ElementaryTypeName", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1585, + "id": 1077, "name": "VariableDeclaration", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1586, + "id": 1078, "name": "ParameterList", - "src": "29826:9:1" + "src": "30654:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1586 + "functionReturnParameters": 1078 }, "children": [ { @@ -51397,7 +51397,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51406,38 +51406,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1582, + "referencedDeclaration": 1074, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1587, + "id": 1079, "name": "Identifier", - "src": "29853:3:1" + "src": "30682:3:0" } ], - "id": 1588, + "id": 1080, "name": "MemberAccess", - "src": "29853:11:1" + "src": "30682:11:0" } ], - "id": 1589, + "id": 1081, "name": "MemberAccess", - "src": "29853:18:1" + "src": "30682:18:0" } ], - "id": 1590, + "id": 1082, "name": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ], - "id": 1591, + "id": 1083, "name": "Block", - "src": "29836:42:1" + "src": "30664:44:0" } ], - "id": 1592, + "id": 1084, "name": "FunctionDefinition", - "src": "29771:107:1" + "src": "30599:109:0" }, { "attributes": { @@ -51448,7 +51448,7 @@ null ], "name": "_at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51458,9 +51458,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1593, + "id": 1085, "name": "StructuredDocumentation", - "src": "29883:322:1" + "src": "30715:331:0" }, { "children": [ @@ -51469,7 +51469,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51479,24 +51479,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1594, + "id": 1086, "name": "UserDefinedTypeName", - "src": "30223:3:1" + "src": "31065:3:0" } ], - "id": 1595, + "id": 1087, "name": "VariableDeclaration", - "src": "30223:15:1" + "src": "31065:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51508,19 +51508,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1596, + "id": 1088, "name": "ElementaryTypeName", - "src": "30240:7:1" + "src": "31082:7:0" } ], - "id": 1597, + "id": 1089, "name": "VariableDeclaration", - "src": "30240:13:1" + "src": "31082:13:0" } ], - "id": 1598, + "id": 1090, "name": "ParameterList", - "src": "30222:32:1" + "src": "31064:32:0" }, { "children": [ @@ -51529,7 +51529,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51541,19 +51541,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1599, + "id": 1091, "name": "ElementaryTypeName", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1600, + "id": 1092, "name": "VariableDeclaration", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1601, + "id": 1093, "name": "ParameterList", - "src": "30276:9:1" + "src": "31118:9:0" }, { "children": [ @@ -51594,9 +51594,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1602, + "id": 1094, "name": "Identifier", - "src": "30296:7:1" + "src": "31139:7:0" }, { "attributes": { @@ -51629,7 +51629,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51638,41 +51638,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1603, + "id": 1095, "name": "Identifier", - "src": "30304:3:1" + "src": "31147:3:0" } ], - "id": 1604, + "id": 1096, "name": "MemberAccess", - "src": "30304:11:1" + "src": "31147:11:0" } ], - "id": 1605, + "id": 1097, "name": "MemberAccess", - "src": "30304:18:1" + "src": "31147:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1606, + "id": 1098, "name": "Identifier", - "src": "30325:5:1" + "src": "31168:5:0" } ], - "id": 1607, + "id": 1099, "name": "BinaryOperation", - "src": "30304:26:1" + "src": "31147:26:0" }, { "attributes": { @@ -51685,23 +51685,23 @@ "type": "literal_string \"EnumerableSet: index out of bounds\"", "value": "EnumerableSet: index out of bounds" }, - "id": 1608, + "id": 1100, "name": "Literal", - "src": "30332:36:1" + "src": "31175:36:0" } ], - "id": 1609, + "id": 1101, "name": "FunctionCall", - "src": "30296:73:1" + "src": "31139:73:0" } ], - "id": 1610, + "id": 1102, "name": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "attributes": { - "functionReturnParameters": 1601 + "functionReturnParameters": 1093 }, "children": [ { @@ -51720,7 +51720,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51729,57 +51729,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1611, + "id": 1103, "name": "Identifier", - "src": "30386:3:1" + "src": "31230:3:0" } ], - "id": 1612, + "id": 1104, "name": "MemberAccess", - "src": "30386:11:1" + "src": "31230:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1613, + "id": 1105, "name": "Identifier", - "src": "30398:5:1" + "src": "31242:5:0" } ], - "id": 1614, + "id": 1106, "name": "IndexAccess", - "src": "30386:18:1" + "src": "31230:18:0" } ], - "id": 1615, + "id": 1107, "name": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ], - "id": 1616, + "id": 1108, "name": "Block", - "src": "30286:125:1" + "src": "31128:128:0" } ], - "id": 1617, + "id": 1109, "name": "FunctionDefinition", - "src": "30210:201:1" + "src": "31052:204:0" }, { "attributes": { "canonicalName": "EnumerableSet.Bytes32Set", "name": "Bytes32Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -51788,7 +51788,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1620, + "scope": 1112, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -51798,22 +51798,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1618, + "id": 1110, "name": "UserDefinedTypeName", - "src": "30464:3:1" + "src": "31314:3:0" } ], - "id": 1619, + "id": 1111, "name": "VariableDeclaration", - "src": "30464:10:1" + "src": "31314:10:0" } ], - "id": 1620, + "id": 1112, "name": "StructDefinition", - "src": "30436:45:1" + "src": "31285:47:0" }, { "attributes": { @@ -51824,7 +51824,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -51834,9 +51834,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1621, + "id": 1113, "name": "StructuredDocumentation", - "src": "30487:159:1" + "src": "31340:164:0" }, { "children": [ @@ -51845,7 +51845,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -51855,24 +51855,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1622, + "id": 1114, "name": "UserDefinedTypeName", - "src": "30664:10:1" + "src": "31523:10:0" } ], - "id": 1623, + "id": 1115, "name": "VariableDeclaration", - "src": "30664:22:1" + "src": "31523:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51884,19 +51884,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1624, + "id": 1116, "name": "ElementaryTypeName", - "src": "30688:7:1" + "src": "31547:7:0" } ], - "id": 1625, + "id": 1117, "name": "VariableDeclaration", - "src": "30688:13:1" + "src": "31547:13:0" } ], - "id": 1626, + "id": 1118, "name": "ParameterList", - "src": "30663:39:1" + "src": "31522:39:0" }, { "children": [ @@ -51905,7 +51905,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51917,25 +51917,25 @@ "name": "bool", "type": "bool" }, - "id": 1627, + "id": 1119, "name": "ElementaryTypeName", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1628, + "id": 1120, "name": "VariableDeclaration", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1629, + "id": 1121, "name": "ParameterList", - "src": "30720:6:1" + "src": "31579:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1629 + "functionReturnParameters": 1121 }, "children": [ { @@ -51957,7 +51957,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -51968,13 +51968,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1630, + "id": 1122, "name": "Identifier", - "src": "30744:4:1" + "src": "31604:4:0" }, { "attributes": { @@ -51983,7 +51983,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -51992,51 +51992,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1623, + "referencedDeclaration": 1115, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1631, + "id": 1123, "name": "Identifier", - "src": "30749:3:1" + "src": "31609:3:0" } ], - "id": 1632, + "id": 1124, "name": "MemberAccess", - "src": "30749:10:1" + "src": "31609:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1625, + "referencedDeclaration": 1117, "type": "bytes32", "value": "value" }, - "id": 1633, + "id": 1125, "name": "Identifier", - "src": "30761:5:1" + "src": "31621:5:0" } ], - "id": 1634, + "id": 1126, "name": "FunctionCall", - "src": "30744:23:1" + "src": "31604:23:0" } ], - "id": 1635, + "id": 1127, "name": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ], - "id": 1636, + "id": 1128, "name": "Block", - "src": "30727:47:1" + "src": "31586:49:0" } ], - "id": 1637, + "id": 1129, "name": "FunctionDefinition", - "src": "30651:123:1" + "src": "31510:125:0" }, { "attributes": { @@ -52047,7 +52047,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52057,9 +52057,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1638, + "id": 1130, "name": "StructuredDocumentation", - "src": "30780:157:1" + "src": "31643:162:0" }, { "children": [ @@ -52068,7 +52068,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52078,24 +52078,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1639, + "id": 1131, "name": "UserDefinedTypeName", - "src": "30958:10:1" + "src": "31827:10:0" } ], - "id": 1640, + "id": 1132, "name": "VariableDeclaration", - "src": "30958:22:1" + "src": "31827:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52107,19 +52107,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1641, + "id": 1133, "name": "ElementaryTypeName", - "src": "30982:7:1" + "src": "31851:7:0" } ], - "id": 1642, + "id": 1134, "name": "VariableDeclaration", - "src": "30982:13:1" + "src": "31851:13:0" } ], - "id": 1643, + "id": 1135, "name": "ParameterList", - "src": "30957:39:1" + "src": "31826:39:0" }, { "children": [ @@ -52128,7 +52128,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52140,25 +52140,25 @@ "name": "bool", "type": "bool" }, - "id": 1644, + "id": 1136, "name": "ElementaryTypeName", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1645, + "id": 1137, "name": "VariableDeclaration", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1646, + "id": 1138, "name": "ParameterList", - "src": "31014:6:1" + "src": "31883:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1646 + "functionReturnParameters": 1138 }, "children": [ { @@ -52180,7 +52180,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52191,13 +52191,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1647, + "id": 1139, "name": "Identifier", - "src": "31038:7:1" + "src": "31908:7:0" }, { "attributes": { @@ -52206,7 +52206,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52215,51 +52215,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1640, + "referencedDeclaration": 1132, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1648, + "id": 1140, "name": "Identifier", - "src": "31046:3:1" + "src": "31916:3:0" } ], - "id": 1649, + "id": 1141, "name": "MemberAccess", - "src": "31046:10:1" + "src": "31916:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1642, + "referencedDeclaration": 1134, "type": "bytes32", "value": "value" }, - "id": 1650, + "id": 1142, "name": "Identifier", - "src": "31058:5:1" + "src": "31928:5:0" } ], - "id": 1651, + "id": 1143, "name": "FunctionCall", - "src": "31038:26:1" + "src": "31908:26:0" } ], - "id": 1652, + "id": 1144, "name": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ], - "id": 1653, + "id": 1145, "name": "Block", - "src": "31021:50:1" + "src": "31890:52:0" } ], - "id": 1654, + "id": 1146, "name": "FunctionDefinition", - "src": "30942:129:1" + "src": "31811:131:0" }, { "attributes": { @@ -52270,7 +52270,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52280,9 +52280,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1655, + "id": 1147, "name": "StructuredDocumentation", - "src": "31077:70:1" + "src": "31950:72:0" }, { "children": [ @@ -52291,7 +52291,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52301,24 +52301,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1656, + "id": 1148, "name": "UserDefinedTypeName", - "src": "31170:10:1" + "src": "32046:10:0" } ], - "id": 1657, + "id": 1149, "name": "VariableDeclaration", - "src": "31170:22:1" + "src": "32046:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52330,19 +52330,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1658, + "id": 1150, "name": "ElementaryTypeName", - "src": "31194:7:1" + "src": "32070:7:0" } ], - "id": 1659, + "id": 1151, "name": "VariableDeclaration", - "src": "31194:13:1" + "src": "32070:13:0" } ], - "id": 1660, + "id": 1152, "name": "ParameterList", - "src": "31169:39:1" + "src": "32045:39:0" }, { "children": [ @@ -52351,7 +52351,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52363,25 +52363,25 @@ "name": "bool", "type": "bool" }, - "id": 1661, + "id": 1153, "name": "ElementaryTypeName", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1662, + "id": 1154, "name": "VariableDeclaration", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1663, + "id": 1155, "name": "ParameterList", - "src": "31231:6:1" + "src": "32107:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1663 + "functionReturnParameters": 1155 }, "children": [ { @@ -52403,7 +52403,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52414,13 +52414,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1664, + "id": 1156, "name": "Identifier", - "src": "31255:9:1" + "src": "32132:9:0" }, { "attributes": { @@ -52429,7 +52429,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52438,51 +52438,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1657, + "referencedDeclaration": 1149, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1665, + "id": 1157, "name": "Identifier", - "src": "31265:3:1" + "src": "32142:3:0" } ], - "id": 1666, + "id": 1158, "name": "MemberAccess", - "src": "31265:10:1" + "src": "32142:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1659, + "referencedDeclaration": 1151, "type": "bytes32", "value": "value" }, - "id": 1667, + "id": 1159, "name": "Identifier", - "src": "31277:5:1" + "src": "32154:5:0" } ], - "id": 1668, + "id": 1160, "name": "FunctionCall", - "src": "31255:28:1" + "src": "32132:28:0" } ], - "id": 1669, + "id": 1161, "name": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ], - "id": 1670, + "id": 1162, "name": "Block", - "src": "31238:52:1" + "src": "32114:54:0" } ], - "id": 1671, + "id": 1163, "name": "FunctionDefinition", - "src": "31152:138:1" + "src": "32028:140:0" }, { "attributes": { @@ -52493,7 +52493,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52503,9 +52503,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1672, + "id": 1164, "name": "StructuredDocumentation", - "src": "31296:70:1" + "src": "32176:72:0" }, { "children": [ @@ -52514,7 +52514,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52524,22 +52524,22 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1673, + "id": 1165, "name": "UserDefinedTypeName", - "src": "31387:10:1" + "src": "32270:10:0" } ], - "id": 1674, + "id": 1166, "name": "VariableDeclaration", - "src": "31387:22:1" + "src": "32270:22:0" } ], - "id": 1675, + "id": 1167, "name": "ParameterList", - "src": "31386:24:1" + "src": "32269:24:0" }, { "children": [ @@ -52548,7 +52548,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52560,25 +52560,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1676, + "id": 1168, "name": "ElementaryTypeName", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1677, + "id": 1169, "name": "VariableDeclaration", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1678, + "id": 1170, "name": "ParameterList", - "src": "31433:9:1" + "src": "32316:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1678 + "functionReturnParameters": 1170 }, "children": [ { @@ -52600,20 +52600,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1679, + "id": 1171, "name": "Identifier", - "src": "31460:7:1" + "src": "32344:7:0" }, { "attributes": { @@ -52622,7 +52622,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52631,38 +52631,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1674, + "referencedDeclaration": 1166, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1680, + "id": 1172, "name": "Identifier", - "src": "31468:3:1" + "src": "32352:3:0" } ], - "id": 1681, + "id": 1173, "name": "MemberAccess", - "src": "31468:10:1" + "src": "32352:10:0" } ], - "id": 1682, + "id": 1174, "name": "FunctionCall", - "src": "31460:19:1" + "src": "32344:19:0" } ], - "id": 1683, + "id": 1175, "name": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ], - "id": 1684, + "id": 1176, "name": "Block", - "src": "31443:43:1" + "src": "32326:45:0" } ], - "id": 1685, + "id": 1177, "name": "FunctionDefinition", - "src": "31371:115:1" + "src": "32254:117:0" }, { "attributes": { @@ -52673,7 +52673,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52683,9 +52683,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1686, + "id": 1178, "name": "StructuredDocumentation", - "src": "31491:322:1" + "src": "32378:331:0" }, { "children": [ @@ -52694,7 +52694,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52704,24 +52704,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1687, + "id": 1179, "name": "UserDefinedTypeName", - "src": "31830:10:1" + "src": "32727:10:0" } ], - "id": 1688, + "id": 1180, "name": "VariableDeclaration", - "src": "31830:22:1" + "src": "32727:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52733,19 +52733,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1689, + "id": 1181, "name": "ElementaryTypeName", - "src": "31854:7:1" + "src": "32751:7:0" } ], - "id": 1690, + "id": 1182, "name": "VariableDeclaration", - "src": "31854:13:1" + "src": "32751:13:0" } ], - "id": 1691, + "id": 1183, "name": "ParameterList", - "src": "31829:39:1" + "src": "32726:39:0" }, { "children": [ @@ -52754,7 +52754,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52766,25 +52766,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1692, + "id": 1184, "name": "ElementaryTypeName", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1693, + "id": 1185, "name": "VariableDeclaration", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1694, + "id": 1186, "name": "ParameterList", - "src": "31891:9:1" + "src": "32788:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1694 + "functionReturnParameters": 1186 }, "children": [ { @@ -52806,7 +52806,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52817,13 +52817,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1695, + "id": 1187, "name": "Identifier", - "src": "31918:3:1" + "src": "32816:3:0" }, { "attributes": { @@ -52832,7 +52832,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52841,57 +52841,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1688, + "referencedDeclaration": 1180, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1696, + "id": 1188, "name": "Identifier", - "src": "31922:3:1" + "src": "32820:3:0" } ], - "id": 1697, + "id": 1189, "name": "MemberAccess", - "src": "31922:10:1" + "src": "32820:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1690, + "referencedDeclaration": 1182, "type": "uint256", "value": "index" }, - "id": 1698, + "id": 1190, "name": "Identifier", - "src": "31934:5:1" + "src": "32832:5:0" } ], - "id": 1699, + "id": 1191, "name": "FunctionCall", - "src": "31918:22:1" + "src": "32816:22:0" } ], - "id": 1700, + "id": 1192, "name": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ], - "id": 1701, + "id": 1193, "name": "Block", - "src": "31901:46:1" + "src": "32798:48:0" } ], - "id": 1702, + "id": 1194, "name": "FunctionDefinition", - "src": "31818:129:1" + "src": "32715:131:0" }, { "attributes": { "canonicalName": "EnumerableSet.AddressSet", "name": "AddressSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -52900,7 +52900,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1705, + "scope": 1197, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -52910,22 +52910,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1703, + "id": 1195, "name": "UserDefinedTypeName", - "src": "32000:3:1" + "src": "32904:3:0" } ], - "id": 1704, + "id": 1196, "name": "VariableDeclaration", - "src": "32000:10:1" + "src": "32904:10:0" } ], - "id": 1705, + "id": 1197, "name": "StructDefinition", - "src": "31972:45:1" + "src": "32875:47:0" }, { "attributes": { @@ -52936,7 +52936,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52946,9 +52946,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1706, + "id": 1198, "name": "StructuredDocumentation", - "src": "32023:159:1" + "src": "32930:164:0" }, { "children": [ @@ -52957,7 +52957,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -52967,24 +52967,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1707, + "id": 1199, "name": "UserDefinedTypeName", - "src": "32200:10:1" + "src": "33113:10:0" } ], - "id": 1708, + "id": 1200, "name": "VariableDeclaration", - "src": "32200:22:1" + "src": "33113:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -52997,19 +52997,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1709, + "id": 1201, "name": "ElementaryTypeName", - "src": "32224:7:1" + "src": "33137:7:0" } ], - "id": 1710, + "id": 1202, "name": "VariableDeclaration", - "src": "32224:13:1" + "src": "33137:13:0" } ], - "id": 1711, + "id": 1203, "name": "ParameterList", - "src": "32199:39:1" + "src": "33112:39:0" }, { "children": [ @@ -53018,7 +53018,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53030,25 +53030,25 @@ "name": "bool", "type": "bool" }, - "id": 1712, + "id": 1204, "name": "ElementaryTypeName", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1713, + "id": 1205, "name": "VariableDeclaration", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1714, + "id": 1206, "name": "ParameterList", - "src": "32256:6:1" + "src": "33169:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1714 + "functionReturnParameters": 1206 }, "children": [ { @@ -53070,7 +53070,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53081,13 +53081,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1715, + "id": 1207, "name": "Identifier", - "src": "32280:4:1" + "src": "33194:4:0" }, { "attributes": { @@ -53096,7 +53096,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53105,18 +53105,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1708, + "referencedDeclaration": 1200, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1716, + "id": 1208, "name": "Identifier", - "src": "32285:3:1" + "src": "33199:3:0" } ], - "id": 1717, + "id": 1209, "name": "MemberAccess", - "src": "32285:10:1" + "src": "33199:10:0" }, { "attributes": { @@ -53152,14 +53152,14 @@ "attributes": { "name": "bytes32" }, - "id": 1718, + "id": 1210, "name": "ElementaryTypeName", - "src": "32297:7:1" + "src": "33211:7:0" } ], - "id": 1719, + "id": 1211, "name": "ElementaryTypeNameExpression", - "src": "32297:7:1" + "src": "33211:7:0" }, { "attributes": { @@ -53195,14 +53195,14 @@ "attributes": { "name": "uint256" }, - "id": 1720, + "id": 1212, "name": "ElementaryTypeName", - "src": "32305:7:1" + "src": "33219:7:0" } ], - "id": 1721, + "id": 1213, "name": "ElementaryTypeNameExpression", - "src": "32305:7:1" + "src": "33219:7:0" }, { "attributes": { @@ -53238,62 +53238,62 @@ "attributes": { "name": "uint160" }, - "id": 1722, + "id": 1214, "name": "ElementaryTypeName", - "src": "32313:7:1" + "src": "33227:7:0" } ], - "id": 1723, + "id": 1215, "name": "ElementaryTypeNameExpression", - "src": "32313:7:1" + "src": "33227:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1710, + "referencedDeclaration": 1202, "type": "address", "value": "value" }, - "id": 1724, + "id": 1216, "name": "Identifier", - "src": "32321:5:1" + "src": "33235:5:0" } ], - "id": 1725, + "id": 1217, "name": "FunctionCall", - "src": "32313:14:1" + "src": "33227:14:0" } ], - "id": 1726, + "id": 1218, "name": "FunctionCall", - "src": "32305:23:1" + "src": "33219:23:0" } ], - "id": 1727, + "id": 1219, "name": "FunctionCall", - "src": "32297:32:1" + "src": "33211:32:0" } ], - "id": 1728, + "id": 1220, "name": "FunctionCall", - "src": "32280:50:1" + "src": "33194:50:0" } ], - "id": 1729, + "id": 1221, "name": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ], - "id": 1730, + "id": 1222, "name": "Block", - "src": "32263:74:1" + "src": "33176:76:0" } ], - "id": 1731, + "id": 1223, "name": "FunctionDefinition", - "src": "32187:150:1" + "src": "33100:152:0" }, { "attributes": { @@ -53304,7 +53304,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -53314,9 +53314,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1732, + "id": 1224, "name": "StructuredDocumentation", - "src": "32343:157:1" + "src": "33260:162:0" }, { "children": [ @@ -53325,7 +53325,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53335,24 +53335,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1733, + "id": 1225, "name": "UserDefinedTypeName", - "src": "32521:10:1" + "src": "33444:10:0" } ], - "id": 1734, + "id": 1226, "name": "VariableDeclaration", - "src": "32521:22:1" + "src": "33444:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53365,19 +53365,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1735, + "id": 1227, "name": "ElementaryTypeName", - "src": "32545:7:1" + "src": "33468:7:0" } ], - "id": 1736, + "id": 1228, "name": "VariableDeclaration", - "src": "32545:13:1" + "src": "33468:13:0" } ], - "id": 1737, + "id": 1229, "name": "ParameterList", - "src": "32520:39:1" + "src": "33443:39:0" }, { "children": [ @@ -53386,7 +53386,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53398,25 +53398,25 @@ "name": "bool", "type": "bool" }, - "id": 1738, + "id": 1230, "name": "ElementaryTypeName", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1739, + "id": 1231, "name": "VariableDeclaration", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1740, + "id": 1232, "name": "ParameterList", - "src": "32577:6:1" + "src": "33500:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1740 + "functionReturnParameters": 1232 }, "children": [ { @@ -53438,7 +53438,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53449,13 +53449,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1741, + "id": 1233, "name": "Identifier", - "src": "32601:7:1" + "src": "33525:7:0" }, { "attributes": { @@ -53464,7 +53464,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53473,18 +53473,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1734, + "referencedDeclaration": 1226, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1742, + "id": 1234, "name": "Identifier", - "src": "32609:3:1" + "src": "33533:3:0" } ], - "id": 1743, + "id": 1235, "name": "MemberAccess", - "src": "32609:10:1" + "src": "33533:10:0" }, { "attributes": { @@ -53520,14 +53520,14 @@ "attributes": { "name": "bytes32" }, - "id": 1744, + "id": 1236, "name": "ElementaryTypeName", - "src": "32621:7:1" + "src": "33545:7:0" } ], - "id": 1745, + "id": 1237, "name": "ElementaryTypeNameExpression", - "src": "32621:7:1" + "src": "33545:7:0" }, { "attributes": { @@ -53563,14 +53563,14 @@ "attributes": { "name": "uint256" }, - "id": 1746, + "id": 1238, "name": "ElementaryTypeName", - "src": "32629:7:1" + "src": "33553:7:0" } ], - "id": 1747, + "id": 1239, "name": "ElementaryTypeNameExpression", - "src": "32629:7:1" + "src": "33553:7:0" }, { "attributes": { @@ -53606,62 +53606,62 @@ "attributes": { "name": "uint160" }, - "id": 1748, + "id": 1240, "name": "ElementaryTypeName", - "src": "32637:7:1" + "src": "33561:7:0" } ], - "id": 1749, + "id": 1241, "name": "ElementaryTypeNameExpression", - "src": "32637:7:1" + "src": "33561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1736, + "referencedDeclaration": 1228, "type": "address", "value": "value" }, - "id": 1750, + "id": 1242, "name": "Identifier", - "src": "32645:5:1" + "src": "33569:5:0" } ], - "id": 1751, + "id": 1243, "name": "FunctionCall", - "src": "32637:14:1" + "src": "33561:14:0" } ], - "id": 1752, + "id": 1244, "name": "FunctionCall", - "src": "32629:23:1" + "src": "33553:23:0" } ], - "id": 1753, + "id": 1245, "name": "FunctionCall", - "src": "32621:32:1" + "src": "33545:32:0" } ], - "id": 1754, + "id": 1246, "name": "FunctionCall", - "src": "32601:53:1" + "src": "33525:53:0" } ], - "id": 1755, + "id": 1247, "name": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ], - "id": 1756, + "id": 1248, "name": "Block", - "src": "32584:77:1" + "src": "33507:79:0" } ], - "id": 1757, + "id": 1249, "name": "FunctionDefinition", - "src": "32505:156:1" + "src": "33428:158:0" }, { "attributes": { @@ -53672,7 +53672,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -53682,9 +53682,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1758, + "id": 1250, "name": "StructuredDocumentation", - "src": "32667:70:1" + "src": "33594:72:0" }, { "children": [ @@ -53693,7 +53693,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53703,24 +53703,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1759, + "id": 1251, "name": "UserDefinedTypeName", - "src": "32760:10:1" + "src": "33690:10:0" } ], - "id": 1760, + "id": 1252, "name": "VariableDeclaration", - "src": "32760:22:1" + "src": "33690:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53733,19 +53733,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1761, + "id": 1253, "name": "ElementaryTypeName", - "src": "32784:7:1" + "src": "33714:7:0" } ], - "id": 1762, + "id": 1254, "name": "VariableDeclaration", - "src": "32784:13:1" + "src": "33714:13:0" } ], - "id": 1763, + "id": 1255, "name": "ParameterList", - "src": "32759:39:1" + "src": "33689:39:0" }, { "children": [ @@ -53754,7 +53754,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53766,25 +53766,25 @@ "name": "bool", "type": "bool" }, - "id": 1764, + "id": 1256, "name": "ElementaryTypeName", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1765, + "id": 1257, "name": "VariableDeclaration", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1766, + "id": 1258, "name": "ParameterList", - "src": "32821:6:1" + "src": "33751:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1766 + "functionReturnParameters": 1258 }, "children": [ { @@ -53806,7 +53806,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53817,13 +53817,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1767, + "id": 1259, "name": "Identifier", - "src": "32845:9:1" + "src": "33776:9:0" }, { "attributes": { @@ -53832,7 +53832,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53841,18 +53841,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1760, + "referencedDeclaration": 1252, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1768, + "id": 1260, "name": "Identifier", - "src": "32855:3:1" + "src": "33786:3:0" } ], - "id": 1769, + "id": 1261, "name": "MemberAccess", - "src": "32855:10:1" + "src": "33786:10:0" }, { "attributes": { @@ -53888,14 +53888,14 @@ "attributes": { "name": "bytes32" }, - "id": 1770, + "id": 1262, "name": "ElementaryTypeName", - "src": "32867:7:1" + "src": "33798:7:0" } ], - "id": 1771, + "id": 1263, "name": "ElementaryTypeNameExpression", - "src": "32867:7:1" + "src": "33798:7:0" }, { "attributes": { @@ -53931,14 +53931,14 @@ "attributes": { "name": "uint256" }, - "id": 1772, + "id": 1264, "name": "ElementaryTypeName", - "src": "32875:7:1" + "src": "33806:7:0" } ], - "id": 1773, + "id": 1265, "name": "ElementaryTypeNameExpression", - "src": "32875:7:1" + "src": "33806:7:0" }, { "attributes": { @@ -53974,62 +53974,62 @@ "attributes": { "name": "uint160" }, - "id": 1774, + "id": 1266, "name": "ElementaryTypeName", - "src": "32883:7:1" + "src": "33814:7:0" } ], - "id": 1775, + "id": 1267, "name": "ElementaryTypeNameExpression", - "src": "32883:7:1" + "src": "33814:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1762, + "referencedDeclaration": 1254, "type": "address", "value": "value" }, - "id": 1776, + "id": 1268, "name": "Identifier", - "src": "32891:5:1" + "src": "33822:5:0" } ], - "id": 1777, + "id": 1269, "name": "FunctionCall", - "src": "32883:14:1" + "src": "33814:14:0" } ], - "id": 1778, + "id": 1270, "name": "FunctionCall", - "src": "32875:23:1" + "src": "33806:23:0" } ], - "id": 1779, + "id": 1271, "name": "FunctionCall", - "src": "32867:32:1" + "src": "33798:32:0" } ], - "id": 1780, + "id": 1272, "name": "FunctionCall", - "src": "32845:55:1" + "src": "33776:55:0" } ], - "id": 1781, + "id": 1273, "name": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ], - "id": 1782, + "id": 1274, "name": "Block", - "src": "32828:79:1" + "src": "33758:81:0" } ], - "id": 1783, + "id": 1275, "name": "FunctionDefinition", - "src": "32742:165:1" + "src": "33672:167:0" }, { "attributes": { @@ -54040,7 +54040,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54050,9 +54050,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1784, + "id": 1276, "name": "StructuredDocumentation", - "src": "32913:70:1" + "src": "33847:72:0" }, { "children": [ @@ -54061,7 +54061,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54071,22 +54071,22 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1785, + "id": 1277, "name": "UserDefinedTypeName", - "src": "33004:10:1" + "src": "33941:10:0" } ], - "id": 1786, + "id": 1278, "name": "VariableDeclaration", - "src": "33004:22:1" + "src": "33941:22:0" } ], - "id": 1787, + "id": 1279, "name": "ParameterList", - "src": "33003:24:1" + "src": "33940:24:0" }, { "children": [ @@ -54095,7 +54095,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54107,25 +54107,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1788, + "id": 1280, "name": "ElementaryTypeName", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1789, + "id": 1281, "name": "VariableDeclaration", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1790, + "id": 1282, "name": "ParameterList", - "src": "33050:9:1" + "src": "33987:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1790 + "functionReturnParameters": 1282 }, "children": [ { @@ -54147,20 +54147,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1791, + "id": 1283, "name": "Identifier", - "src": "33077:7:1" + "src": "34015:7:0" }, { "attributes": { @@ -54169,7 +54169,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54178,38 +54178,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1786, + "referencedDeclaration": 1278, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1792, + "id": 1284, "name": "Identifier", - "src": "33085:3:1" + "src": "34023:3:0" } ], - "id": 1793, + "id": 1285, "name": "MemberAccess", - "src": "33085:10:1" + "src": "34023:10:0" } ], - "id": 1794, + "id": 1286, "name": "FunctionCall", - "src": "33077:19:1" + "src": "34015:19:0" } ], - "id": 1795, + "id": 1287, "name": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ], - "id": 1796, + "id": 1288, "name": "Block", - "src": "33060:43:1" + "src": "33997:45:0" } ], - "id": 1797, + "id": 1289, "name": "FunctionDefinition", - "src": "32988:115:1" + "src": "33925:117:0" }, { "attributes": { @@ -54220,7 +54220,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54230,9 +54230,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1798, + "id": 1290, "name": "StructuredDocumentation", - "src": "33108:322:1" + "src": "34049:331:0" }, { "children": [ @@ -54241,7 +54241,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54251,24 +54251,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1799, + "id": 1291, "name": "UserDefinedTypeName", - "src": "33447:10:1" + "src": "34398:10:0" } ], - "id": 1800, + "id": 1292, "name": "VariableDeclaration", - "src": "33447:22:1" + "src": "34398:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54280,19 +54280,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1801, + "id": 1293, "name": "ElementaryTypeName", - "src": "33471:7:1" + "src": "34422:7:0" } ], - "id": 1802, + "id": 1294, "name": "VariableDeclaration", - "src": "33471:13:1" + "src": "34422:13:0" } ], - "id": 1803, + "id": 1295, "name": "ParameterList", - "src": "33446:39:1" + "src": "34397:39:0" }, { "children": [ @@ -54301,7 +54301,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -54314,25 +54314,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1804, + "id": 1296, "name": "ElementaryTypeName", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1805, + "id": 1297, "name": "VariableDeclaration", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1806, + "id": 1298, "name": "ParameterList", - "src": "33508:9:1" + "src": "34459:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1806 + "functionReturnParameters": 1298 }, "children": [ { @@ -54369,14 +54369,14 @@ "attributes": { "name": "address" }, - "id": 1807, + "id": 1299, "name": "ElementaryTypeName", - "src": "33535:7:1" + "src": "34487:7:0" } ], - "id": 1808, + "id": 1300, "name": "ElementaryTypeNameExpression", - "src": "33535:7:1" + "src": "34487:7:0" }, { "attributes": { @@ -54412,14 +54412,14 @@ "attributes": { "name": "uint160" }, - "id": 1809, + "id": 1301, "name": "ElementaryTypeName", - "src": "33543:7:1" + "src": "34495:7:0" } ], - "id": 1810, + "id": 1302, "name": "ElementaryTypeNameExpression", - "src": "33543:7:1" + "src": "34495:7:0" }, { "attributes": { @@ -54455,14 +54455,14 @@ "attributes": { "name": "uint256" }, - "id": 1811, + "id": 1303, "name": "ElementaryTypeName", - "src": "33551:7:1" + "src": "34503:7:0" } ], - "id": 1812, + "id": 1304, "name": "ElementaryTypeNameExpression", - "src": "33551:7:1" + "src": "34503:7:0" }, { "attributes": { @@ -54483,7 +54483,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54494,13 +54494,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1813, + "id": 1305, "name": "Identifier", - "src": "33559:3:1" + "src": "34511:3:0" }, { "attributes": { @@ -54509,7 +54509,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54518,72 +54518,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1800, + "referencedDeclaration": 1292, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1814, + "id": 1306, "name": "Identifier", - "src": "33563:3:1" + "src": "34515:3:0" } ], - "id": 1815, + "id": 1307, "name": "MemberAccess", - "src": "33563:10:1" + "src": "34515:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1802, + "referencedDeclaration": 1294, "type": "uint256", "value": "index" }, - "id": 1816, + "id": 1308, "name": "Identifier", - "src": "33575:5:1" + "src": "34527:5:0" } ], - "id": 1817, + "id": 1309, "name": "FunctionCall", - "src": "33559:22:1" + "src": "34511:22:0" } ], - "id": 1818, + "id": 1310, "name": "FunctionCall", - "src": "33551:31:1" + "src": "34503:31:0" } ], - "id": 1819, + "id": 1311, "name": "FunctionCall", - "src": "33543:40:1" + "src": "34495:40:0" } ], - "id": 1820, + "id": 1312, "name": "FunctionCall", - "src": "33535:49:1" + "src": "34487:49:0" } ], - "id": 1821, + "id": 1313, "name": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ], - "id": 1822, + "id": 1314, "name": "Block", - "src": "33518:73:1" + "src": "34469:75:0" } ], - "id": 1823, + "id": 1315, "name": "FunctionDefinition", - "src": "33435:156:1" + "src": "34386:158:0" }, { "attributes": { "canonicalName": "EnumerableSet.UintSet", "name": "UintSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -54592,7 +54592,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1826, + "scope": 1318, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -54602,22 +54602,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1824, + "id": 1316, "name": "UserDefinedTypeName", - "src": "33639:3:1" + "src": "34598:3:0" } ], - "id": 1825, + "id": 1317, "name": "VariableDeclaration", - "src": "33639:10:1" + "src": "34598:10:0" } ], - "id": 1826, + "id": 1318, "name": "StructDefinition", - "src": "33614:42:1" + "src": "34572:44:0" }, { "attributes": { @@ -54628,7 +54628,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -54638,9 +54638,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1827, + "id": 1319, "name": "StructuredDocumentation", - "src": "33662:159:1" + "src": "34624:164:0" }, { "children": [ @@ -54649,7 +54649,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -54659,24 +54659,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1828, + "id": 1320, "name": "UserDefinedTypeName", - "src": "33839:7:1" + "src": "34807:7:0" } ], - "id": 1829, + "id": 1321, "name": "VariableDeclaration", - "src": "33839:19:1" + "src": "34807:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54688,19 +54688,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1830, + "id": 1322, "name": "ElementaryTypeName", - "src": "33860:7:1" + "src": "34828:7:0" } ], - "id": 1831, + "id": 1323, "name": "VariableDeclaration", - "src": "33860:13:1" + "src": "34828:13:0" } ], - "id": 1832, + "id": 1324, "name": "ParameterList", - "src": "33838:36:1" + "src": "34806:36:0" }, { "children": [ @@ -54709,7 +54709,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -54721,25 +54721,25 @@ "name": "bool", "type": "bool" }, - "id": 1833, + "id": 1325, "name": "ElementaryTypeName", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1834, + "id": 1326, "name": "VariableDeclaration", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1835, + "id": 1327, "name": "ParameterList", - "src": "33892:6:1" + "src": "34860:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1835 + "functionReturnParameters": 1327 }, "children": [ { @@ -54761,7 +54761,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54772,13 +54772,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1836, + "id": 1328, "name": "Identifier", - "src": "33916:4:1" + "src": "34885:4:0" }, { "attributes": { @@ -54787,7 +54787,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54796,18 +54796,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1829, + "referencedDeclaration": 1321, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1837, + "id": 1329, "name": "Identifier", - "src": "33921:3:1" + "src": "34890:3:0" } ], - "id": 1838, + "id": 1330, "name": "MemberAccess", - "src": "33921:10:1" + "src": "34890:10:0" }, { "attributes": { @@ -54843,52 +54843,52 @@ "attributes": { "name": "bytes32" }, - "id": 1839, + "id": 1331, "name": "ElementaryTypeName", - "src": "33933:7:1" + "src": "34902:7:0" } ], - "id": 1840, + "id": 1332, "name": "ElementaryTypeNameExpression", - "src": "33933:7:1" + "src": "34902:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1831, + "referencedDeclaration": 1323, "type": "uint256", "value": "value" }, - "id": 1841, + "id": 1333, "name": "Identifier", - "src": "33941:5:1" + "src": "34910:5:0" } ], - "id": 1842, + "id": 1334, "name": "FunctionCall", - "src": "33933:14:1" + "src": "34902:14:0" } ], - "id": 1843, + "id": 1335, "name": "FunctionCall", - "src": "33916:32:1" + "src": "34885:32:0" } ], - "id": 1844, + "id": 1336, "name": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ], - "id": 1845, + "id": 1337, "name": "Block", - "src": "33899:56:1" + "src": "34867:58:0" } ], - "id": 1846, + "id": 1338, "name": "FunctionDefinition", - "src": "33826:129:1" + "src": "34794:131:0" }, { "attributes": { @@ -54899,7 +54899,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -54909,9 +54909,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1847, + "id": 1339, "name": "StructuredDocumentation", - "src": "33961:157:1" + "src": "34933:162:0" }, { "children": [ @@ -54920,7 +54920,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -54930,24 +54930,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1848, + "id": 1340, "name": "UserDefinedTypeName", - "src": "34139:7:1" + "src": "35117:7:0" } ], - "id": 1849, + "id": 1341, "name": "VariableDeclaration", - "src": "34139:19:1" + "src": "35117:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54959,19 +54959,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1850, + "id": 1342, "name": "ElementaryTypeName", - "src": "34160:7:1" + "src": "35138:7:0" } ], - "id": 1851, + "id": 1343, "name": "VariableDeclaration", - "src": "34160:13:1" + "src": "35138:13:0" } ], - "id": 1852, + "id": 1344, "name": "ParameterList", - "src": "34138:36:1" + "src": "35116:36:0" }, { "children": [ @@ -54980,7 +54980,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -54992,25 +54992,25 @@ "name": "bool", "type": "bool" }, - "id": 1853, + "id": 1345, "name": "ElementaryTypeName", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1854, + "id": 1346, "name": "VariableDeclaration", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1855, + "id": 1347, "name": "ParameterList", - "src": "34192:6:1" + "src": "35170:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1855 + "functionReturnParameters": 1347 }, "children": [ { @@ -55032,7 +55032,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55043,13 +55043,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1856, + "id": 1348, "name": "Identifier", - "src": "34216:7:1" + "src": "35195:7:0" }, { "attributes": { @@ -55058,7 +55058,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55067,18 +55067,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1849, + "referencedDeclaration": 1341, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1857, + "id": 1349, "name": "Identifier", - "src": "34224:3:1" + "src": "35203:3:0" } ], - "id": 1858, + "id": 1350, "name": "MemberAccess", - "src": "34224:10:1" + "src": "35203:10:0" }, { "attributes": { @@ -55114,52 +55114,52 @@ "attributes": { "name": "bytes32" }, - "id": 1859, + "id": 1351, "name": "ElementaryTypeName", - "src": "34236:7:1" + "src": "35215:7:0" } ], - "id": 1860, + "id": 1352, "name": "ElementaryTypeNameExpression", - "src": "34236:7:1" + "src": "35215:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1851, + "referencedDeclaration": 1343, "type": "uint256", "value": "value" }, - "id": 1861, + "id": 1353, "name": "Identifier", - "src": "34244:5:1" + "src": "35223:5:0" } ], - "id": 1862, + "id": 1354, "name": "FunctionCall", - "src": "34236:14:1" + "src": "35215:14:0" } ], - "id": 1863, + "id": 1355, "name": "FunctionCall", - "src": "34216:35:1" + "src": "35195:35:0" } ], - "id": 1864, + "id": 1356, "name": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ], - "id": 1865, + "id": 1357, "name": "Block", - "src": "34199:59:1" + "src": "35177:61:0" } ], - "id": 1866, + "id": 1358, "name": "FunctionDefinition", - "src": "34123:135:1" + "src": "35101:137:0" }, { "attributes": { @@ -55170,7 +55170,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55180,9 +55180,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1867, + "id": 1359, "name": "StructuredDocumentation", - "src": "34264:70:1" + "src": "35246:72:0" }, { "children": [ @@ -55191,7 +55191,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55201,24 +55201,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1868, + "id": 1360, "name": "UserDefinedTypeName", - "src": "34357:7:1" + "src": "35342:7:0" } ], - "id": 1869, + "id": 1361, "name": "VariableDeclaration", - "src": "34357:19:1" + "src": "35342:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55230,19 +55230,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1870, + "id": 1362, "name": "ElementaryTypeName", - "src": "34378:7:1" + "src": "35363:7:0" } ], - "id": 1871, + "id": 1363, "name": "VariableDeclaration", - "src": "34378:13:1" + "src": "35363:13:0" } ], - "id": 1872, + "id": 1364, "name": "ParameterList", - "src": "34356:36:1" + "src": "35341:36:0" }, { "children": [ @@ -55251,7 +55251,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55263,25 +55263,25 @@ "name": "bool", "type": "bool" }, - "id": 1873, + "id": 1365, "name": "ElementaryTypeName", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1874, + "id": 1366, "name": "VariableDeclaration", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1875, + "id": 1367, "name": "ParameterList", - "src": "34415:6:1" + "src": "35400:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1875 + "functionReturnParameters": 1367 }, "children": [ { @@ -55303,7 +55303,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55314,13 +55314,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1876, + "id": 1368, "name": "Identifier", - "src": "34439:9:1" + "src": "35425:9:0" }, { "attributes": { @@ -55329,7 +55329,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55338,18 +55338,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1869, + "referencedDeclaration": 1361, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1877, + "id": 1369, "name": "Identifier", - "src": "34449:3:1" + "src": "35435:3:0" } ], - "id": 1878, + "id": 1370, "name": "MemberAccess", - "src": "34449:10:1" + "src": "35435:10:0" }, { "attributes": { @@ -55385,52 +55385,52 @@ "attributes": { "name": "bytes32" }, - "id": 1879, + "id": 1371, "name": "ElementaryTypeName", - "src": "34461:7:1" + "src": "35447:7:0" } ], - "id": 1880, + "id": 1372, "name": "ElementaryTypeNameExpression", - "src": "34461:7:1" + "src": "35447:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1871, + "referencedDeclaration": 1363, "type": "uint256", "value": "value" }, - "id": 1881, + "id": 1373, "name": "Identifier", - "src": "34469:5:1" + "src": "35455:5:0" } ], - "id": 1882, + "id": 1374, "name": "FunctionCall", - "src": "34461:14:1" + "src": "35447:14:0" } ], - "id": 1883, + "id": 1375, "name": "FunctionCall", - "src": "34439:37:1" + "src": "35425:37:0" } ], - "id": 1884, + "id": 1376, "name": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ], - "id": 1885, + "id": 1377, "name": "Block", - "src": "34422:61:1" + "src": "35407:63:0" } ], - "id": 1886, + "id": 1378, "name": "FunctionDefinition", - "src": "34339:144:1" + "src": "35324:146:0" }, { "attributes": { @@ -55441,7 +55441,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55451,9 +55451,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1887, + "id": 1379, "name": "StructuredDocumentation", - "src": "34489:70:1" + "src": "35478:72:0" }, { "children": [ @@ -55462,7 +55462,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55472,22 +55472,22 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1888, + "id": 1380, "name": "UserDefinedTypeName", - "src": "34580:7:1" + "src": "35572:7:0" } ], - "id": 1889, + "id": 1381, "name": "VariableDeclaration", - "src": "34580:19:1" + "src": "35572:19:0" } ], - "id": 1890, + "id": 1382, "name": "ParameterList", - "src": "34579:21:1" + "src": "35571:21:0" }, { "children": [ @@ -55496,7 +55496,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55508,25 +55508,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1891, + "id": 1383, "name": "ElementaryTypeName", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1892, + "id": 1384, "name": "VariableDeclaration", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1893, + "id": 1385, "name": "ParameterList", - "src": "34623:9:1" + "src": "35615:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1893 + "functionReturnParameters": 1385 }, "children": [ { @@ -55548,20 +55548,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1894, + "id": 1386, "name": "Identifier", - "src": "34650:7:1" + "src": "35643:7:0" }, { "attributes": { @@ -55570,7 +55570,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55579,38 +55579,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1889, + "referencedDeclaration": 1381, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1895, + "id": 1387, "name": "Identifier", - "src": "34658:3:1" + "src": "35651:3:0" } ], - "id": 1896, + "id": 1388, "name": "MemberAccess", - "src": "34658:10:1" + "src": "35651:10:0" } ], - "id": 1897, + "id": 1389, "name": "FunctionCall", - "src": "34650:19:1" + "src": "35643:19:0" } ], - "id": 1898, + "id": 1390, "name": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ], - "id": 1899, + "id": 1391, "name": "Block", - "src": "34633:43:1" + "src": "35625:45:0" } ], - "id": 1900, + "id": 1392, "name": "FunctionDefinition", - "src": "34564:112:1" + "src": "35556:114:0" }, { "attributes": { @@ -55621,7 +55621,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55631,9 +55631,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1901, + "id": 1393, "name": "StructuredDocumentation", - "src": "34681:322:1" + "src": "35677:331:0" }, { "children": [ @@ -55642,7 +55642,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55652,24 +55652,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1902, + "id": 1394, "name": "UserDefinedTypeName", - "src": "35020:7:1" + "src": "36026:7:0" } ], - "id": 1903, + "id": 1395, "name": "VariableDeclaration", - "src": "35020:19:1" + "src": "36026:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55681,19 +55681,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1904, + "id": 1396, "name": "ElementaryTypeName", - "src": "35041:7:1" + "src": "36047:7:0" } ], - "id": 1905, + "id": 1397, "name": "VariableDeclaration", - "src": "35041:13:1" + "src": "36047:13:0" } ], - "id": 1906, + "id": 1398, "name": "ParameterList", - "src": "35019:36:1" + "src": "36025:36:0" }, { "children": [ @@ -55702,7 +55702,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55714,25 +55714,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1907, + "id": 1399, "name": "ElementaryTypeName", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1908, + "id": 1400, "name": "VariableDeclaration", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1909, + "id": 1401, "name": "ParameterList", - "src": "35078:9:1" + "src": "36084:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1909 + "functionReturnParameters": 1401 }, "children": [ { @@ -55769,14 +55769,14 @@ "attributes": { "name": "uint256" }, - "id": 1910, + "id": 1402, "name": "ElementaryTypeName", - "src": "35105:7:1" + "src": "36112:7:0" } ], - "id": 1911, + "id": 1403, "name": "ElementaryTypeNameExpression", - "src": "35105:7:1" + "src": "36112:7:0" }, { "attributes": { @@ -55797,7 +55797,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55808,13 +55808,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1912, + "id": 1404, "name": "Identifier", - "src": "35113:3:1" + "src": "36120:3:0" }, { "attributes": { @@ -55823,7 +55823,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55832,61 +55832,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1903, + "referencedDeclaration": 1395, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1913, + "id": 1405, "name": "Identifier", - "src": "35117:3:1" + "src": "36124:3:0" } ], - "id": 1914, + "id": 1406, "name": "MemberAccess", - "src": "35117:10:1" + "src": "36124:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1905, + "referencedDeclaration": 1397, "type": "uint256", "value": "index" }, - "id": 1915, + "id": 1407, "name": "Identifier", - "src": "35129:5:1" + "src": "36136:5:0" } ], - "id": 1916, + "id": 1408, "name": "FunctionCall", - "src": "35113:22:1" + "src": "36120:22:0" } ], - "id": 1917, + "id": 1409, "name": "FunctionCall", - "src": "35105:31:1" + "src": "36112:31:0" } ], - "id": 1918, + "id": 1410, "name": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ], - "id": 1919, + "id": 1411, "name": "Block", - "src": "35088:55:1" + "src": "36094:57:0" } ], - "id": 1920, + "id": 1412, "name": "FunctionDefinition", - "src": "35008:135:1" + "src": "36014:137:0" } ], - "id": 1921, + "id": 1413, "name": "ContractDefinition", - "src": "26511:8634:1" + "src": "27252:8902:0" }, { "attributes": { @@ -55900,9 +55900,9 @@ ".0" ] }, - "id": 1922, + "id": 1414, "name": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "attributes": { @@ -55916,25 +55916,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, - "id": 1923, + "id": 1415, "name": "StructuredDocumentation", - "src": "35237:705:1" + "src": "36251:728:0" }, { "attributes": { "canonicalName": "EnumerableMap.MapEntry", "name": "MapEntry", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -55943,7 +55943,7 @@ "constant": false, "mutability": "mutable", "name": "_key", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -55955,21 +55955,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1924, + "id": 1416, "name": "ElementaryTypeName", - "src": "36455:7:1" + "src": "37504:7:0" } ], - "id": 1925, + "id": 1417, "name": "VariableDeclaration", - "src": "36455:12:1" + "src": "37504:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_value", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -55981,25 +55981,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1926, + "id": 1418, "name": "ElementaryTypeName", - "src": "36477:7:1" + "src": "37527:7:0" } ], - "id": 1927, + "id": 1419, "name": "VariableDeclaration", - "src": "36477:14:1" + "src": "37527:14:0" } ], - "id": 1928, + "id": 1420, "name": "StructDefinition", - "src": "36429:69:1" + "src": "37477:72:0" }, { "attributes": { "canonicalName": "EnumerableMap.Map", "name": "Map", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -56008,7 +56008,7 @@ "constant": false, "mutability": "mutable", "name": "_entries", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.MapEntry[]", @@ -56023,29 +56023,29 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 1929, + "id": 1421, "name": "UserDefinedTypeName", - "src": "36567:8:1" + "src": "37622:8:0" } ], - "id": 1930, + "id": 1422, "name": "ArrayTypeName", - "src": "36567:10:1" + "src": "37622:10:0" } ], - "id": 1931, + "id": 1423, "name": "VariableDeclaration", - "src": "36567:19:1" + "src": "37622:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -56062,33 +56062,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1932, + "id": 1424, "name": "ElementaryTypeName", - "src": "36745:7:1" + "src": "37804:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1933, + "id": 1425, "name": "ElementaryTypeName", - "src": "36756:7:1" + "src": "37815:7:0" } ], - "id": 1934, + "id": 1426, "name": "Mapping", - "src": "36736:28:1" + "src": "37795:28:0" } ], - "id": 1935, + "id": 1427, "name": "VariableDeclaration", - "src": "36736:37:1" + "src": "37795:37:0" } ], - "id": 1936, + "id": 1428, "name": "StructDefinition", - "src": "36504:276:1" + "src": "37557:283:0" }, { "attributes": { @@ -56099,7 +56099,7 @@ null ], "name": "_set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56109,9 +56109,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1937, + "id": 1429, "name": "StructuredDocumentation", - "src": "36786:216:1" + "src": "37848:222:0" }, { "children": [ @@ -56120,7 +56120,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56130,24 +56130,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 1938, + "id": 1430, "name": "UserDefinedTypeName", - "src": "37021:3:1" + "src": "38090:3:0" } ], - "id": 1939, + "id": 1431, "name": "VariableDeclaration", - "src": "37021:15:1" + "src": "38090:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56159,21 +56159,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1940, + "id": 1432, "name": "ElementaryTypeName", - "src": "37038:7:1" + "src": "38107:7:0" } ], - "id": 1941, + "id": 1433, "name": "VariableDeclaration", - "src": "37038:11:1" + "src": "38107:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56185,19 +56185,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1942, + "id": 1434, "name": "ElementaryTypeName", - "src": "37051:7:1" + "src": "38120:7:0" } ], - "id": 1943, + "id": 1435, "name": "VariableDeclaration", - "src": "37051:13:1" + "src": "38120:13:0" } ], - "id": 1944, + "id": 1436, "name": "ParameterList", - "src": "37020:45:1" + "src": "38089:45:0" }, { "children": [ @@ -56206,7 +56206,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -56218,26 +56218,26 @@ "name": "bool", "type": "bool" }, - "id": 1945, + "id": 1437, "name": "ElementaryTypeName", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1946, + "id": 1438, "name": "VariableDeclaration", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1947, + "id": 1439, "name": "ParameterList", - "src": "37082:6:1" + "src": "38151:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1949 + 1441 ] }, "children": [ @@ -56246,7 +56246,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 1997, + "scope": 1489, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -56258,14 +56258,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1948, + "id": 1440, "name": "ElementaryTypeName", - "src": "37197:7:1" + "src": "38268:7:0" } ], - "id": 1949, + "id": 1441, "name": "VariableDeclaration", - "src": "37197:16:1" + "src": "38268:16:0" }, { "attributes": { @@ -56283,7 +56283,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56292,41 +56292,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1950, + "id": 1442, "name": "Identifier", - "src": "37216:3:1" + "src": "38287:3:0" } ], - "id": 1951, + "id": 1443, "name": "MemberAccess", - "src": "37216:12:1" + "src": "38287:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1952, + "id": 1444, "name": "Identifier", - "src": "37229:3:1" + "src": "38300:3:0" } ], - "id": 1953, + "id": 1445, "name": "IndexAccess", - "src": "37216:17:1" + "src": "38287:17:0" } ], - "id": 1954, + "id": 1446, "name": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "children": [ @@ -56349,13 +56349,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1955, + "id": 1447, "name": "Identifier", - "src": "37248:8:1" + "src": "38321:8:0" }, { "attributes": { @@ -56368,14 +56368,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1956, + "id": 1448, "name": "Literal", - "src": "37260:1:1" + "src": "38333:1:0" } ], - "id": 1957, + "id": 1449, "name": "BinaryOperation", - "src": "37248:13:1" + "src": "38321:13:0" }, { "children": [ @@ -56400,7 +56400,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], @@ -56419,7 +56419,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56428,23 +56428,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1958, + "id": 1450, "name": "Identifier", - "src": "37314:3:1" + "src": "38388:3:0" } ], - "id": 1961, + "id": 1453, "name": "MemberAccess", - "src": "37314:12:1" + "src": "38388:12:0" } ], - "id": 1962, + "id": 1454, "name": "MemberAccess", - "src": "37314:17:1" + "src": "38388:17:0" }, { "attributes": { @@ -56477,54 +56477,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "type(struct EnumerableMap.MapEntry storage pointer)", "value": "MapEntry" }, - "id": 1963, + "id": 1455, "name": "Identifier", - "src": "37332:8:1" + "src": "38406:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1964, + "id": 1456, "name": "Identifier", - "src": "37349:3:1" + "src": "38423:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1965, + "id": 1457, "name": "Identifier", - "src": "37362:5:1" + "src": "38436:5:0" } ], - "id": 1966, + "id": 1458, "name": "FunctionCall", - "src": "37332:38:1" + "src": "38406:38:0" } ], - "id": 1967, + "id": 1459, "name": "FunctionCall", - "src": "37314:57:1" + "src": "38388:57:0" } ], - "id": 1968, + "id": 1460, "name": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "children": [ @@ -56554,7 +56554,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56563,36 +56563,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1969, + "id": 1461, "name": "Identifier", - "src": "37506:3:1" + "src": "38583:3:0" } ], - "id": 1972, + "id": 1464, "name": "MemberAccess", - "src": "37506:12:1" + "src": "38583:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1971, + "id": 1463, "name": "Identifier", - "src": "37519:3:1" + "src": "38596:3:0" } ], - "id": 1973, + "id": 1465, "name": "IndexAccess", - "src": "37506:17:1" + "src": "38583:17:0" }, { "attributes": { @@ -56611,7 +56611,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56620,37 +56620,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1974, + "id": 1466, "name": "Identifier", - "src": "37526:3:1" + "src": "38603:3:0" } ], - "id": 1975, + "id": 1467, "name": "MemberAccess", - "src": "37526:12:1" + "src": "38603:12:0" } ], - "id": 1976, + "id": 1468, "name": "MemberAccess", - "src": "37526:19:1" + "src": "38603:19:0" } ], - "id": 1977, + "id": 1469, "name": "Assignment", - "src": "37506:39:1" + "src": "38583:39:0" } ], - "id": 1978, + "id": 1470, "name": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -56664,19 +56664,19 @@ "type": "bool", "value": "true" }, - "id": 1979, + "id": 1471, "name": "Literal", - "src": "37566:4:1" + "src": "38644:4:0" } ], - "id": 1980, + "id": 1472, "name": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ], - "id": 1981, + "id": 1473, "name": "Block", - "src": "37263:318:1" + "src": "38336:324:0" }, { "children": [ @@ -56699,7 +56699,7 @@ "isPure": false, "lValueRequested": true, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -56719,7 +56719,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56728,18 +56728,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1982, + "id": 1474, "name": "Identifier", - "src": "37601:3:1" + "src": "38681:3:0" } ], - "id": 1987, + "id": 1479, "name": "MemberAccess", - "src": "37601:12:1" + "src": "38681:12:0" }, { "attributes": { @@ -56760,13 +56760,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1984, + "id": 1476, "name": "Identifier", - "src": "37614:8:1" + "src": "38694:8:0" }, { "attributes": { @@ -56779,51 +56779,51 @@ "type": "int_const 1", "value": "1" }, - "id": 1985, + "id": 1477, "name": "Literal", - "src": "37625:1:1" + "src": "38705:1:0" } ], - "id": 1986, + "id": 1478, "name": "BinaryOperation", - "src": "37614:12:1" + "src": "38694:12:0" } ], - "id": 1988, + "id": 1480, "name": "IndexAccess", - "src": "37601:26:1" + "src": "38681:26:0" } ], - "id": 1989, + "id": 1481, "name": "MemberAccess", - "src": "37601:33:1" + "src": "38681:33:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1990, + "id": 1482, "name": "Identifier", - "src": "37637:5:1" + "src": "38717:5:0" } ], - "id": 1991, + "id": 1483, "name": "Assignment", - "src": "37601:41:1" + "src": "38681:41:0" } ], - "id": 1992, + "id": 1484, "name": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -56837,34 +56837,34 @@ "type": "bool", "value": "false" }, - "id": 1993, + "id": 1485, "name": "Literal", - "src": "37663:5:1" + "src": "38744:5:0" } ], - "id": 1994, + "id": 1486, "name": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ], - "id": 1995, + "id": 1487, "name": "Block", - "src": "37587:92:1" + "src": "38666:95:0" } ], - "id": 1996, + "id": 1488, "name": "IfStatement", - "src": "37244:435:1" + "src": "38317:444:0" } ], - "id": 1997, + "id": 1489, "name": "Block", - "src": "37089:596:1" + "src": "38158:610:0" } ], - "id": 1998, + "id": 1490, "name": "FunctionDefinition", - "src": "37007:678:1" + "src": "38076:692:0" }, { "attributes": { @@ -56875,7 +56875,7 @@ null ], "name": "_remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56885,9 +56885,9 @@ "attributes": { "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 1999, + "id": 1491, "name": "StructuredDocumentation", - "src": "37691:157:1" + "src": "38776:161:0" }, { "children": [ @@ -56896,7 +56896,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56906,24 +56906,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2000, + "id": 1492, "name": "UserDefinedTypeName", - "src": "37870:3:1" + "src": "38960:3:0" } ], - "id": 2001, + "id": 1493, "name": "VariableDeclaration", - "src": "37870:15:1" + "src": "38960:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56935,19 +56935,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2002, + "id": 1494, "name": "ElementaryTypeName", - "src": "37887:7:1" + "src": "38977:7:0" } ], - "id": 2003, + "id": 1495, "name": "VariableDeclaration", - "src": "37887:11:1" + "src": "38977:11:0" } ], - "id": 2004, + "id": 1496, "name": "ParameterList", - "src": "37869:30:1" + "src": "38959:30:0" }, { "children": [ @@ -56956,7 +56956,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -56968,26 +56968,26 @@ "name": "bool", "type": "bool" }, - "id": 2005, + "id": 1497, "name": "ElementaryTypeName", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2006, + "id": 1498, "name": "VariableDeclaration", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2007, + "id": 1499, "name": "ParameterList", - "src": "37916:6:1" + "src": "39006:6:0" }, { "children": [ { "attributes": { "assignments": [ - 2009 + 1501 ] }, "children": [ @@ -56996,7 +56996,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2078, + "scope": 1570, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57008,14 +57008,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2008, + "id": 1500, "name": "ElementaryTypeName", - "src": "38031:7:1" + "src": "39123:7:0" } ], - "id": 2009, + "id": 1501, "name": "VariableDeclaration", - "src": "38031:16:1" + "src": "39123:16:0" }, { "attributes": { @@ -57033,7 +57033,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57042,41 +57042,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2010, + "id": 1502, "name": "Identifier", - "src": "38050:3:1" + "src": "39142:3:0" } ], - "id": 2011, + "id": 1503, "name": "MemberAccess", - "src": "38050:12:1" + "src": "39142:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2012, + "id": 1504, "name": "Identifier", - "src": "38063:3:1" + "src": "39155:3:0" } ], - "id": 2013, + "id": 1505, "name": "IndexAccess", - "src": "38050:17:1" + "src": "39142:17:0" } ], - "id": 2014, + "id": 1506, "name": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "children": [ @@ -57099,13 +57099,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2015, + "id": 1507, "name": "Identifier", - "src": "38082:8:1" + "src": "39176:8:0" }, { "attributes": { @@ -57118,21 +57118,21 @@ "type": "int_const 0", "value": "0" }, - "id": 2016, + "id": 1508, "name": "Literal", - "src": "38094:1:1" + "src": "39188:1:0" } ], - "id": 2017, + "id": 1509, "name": "BinaryOperation", - "src": "38082:13:1" + "src": "39176:13:0" }, { "children": [ { "attributes": { "assignments": [ - 2019 + 1511 ] }, "children": [ @@ -57141,7 +57141,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57153,14 +57153,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2018, + "id": 1510, "name": "ElementaryTypeName", - "src": "38438:7:1" + "src": "39537:7:0" } ], - "id": 2019, + "id": 1511, "name": "VariableDeclaration", - "src": "38438:21:1" + "src": "39537:21:0" }, { "attributes": { @@ -57181,13 +57181,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2020, + "id": 1512, "name": "Identifier", - "src": "38462:8:1" + "src": "39561:8:0" }, { "attributes": { @@ -57200,24 +57200,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2021, + "id": 1513, "name": "Literal", - "src": "38473:1:1" + "src": "39572:1:0" } ], - "id": 2022, + "id": 1514, "name": "BinaryOperation", - "src": "38462:12:1" + "src": "39561:12:0" } ], - "id": 2023, + "id": 1515, "name": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "attributes": { "assignments": [ - 2025 + 1517 ] }, "children": [ @@ -57226,7 +57226,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57238,14 +57238,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2024, + "id": 1516, "name": "ElementaryTypeName", - "src": "38488:7:1" + "src": "39588:7:0" } ], - "id": 2025, + "id": 1517, "name": "VariableDeclaration", - "src": "38488:17:1" + "src": "39588:17:0" }, { "attributes": { @@ -57278,7 +57278,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57287,23 +57287,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2026, + "id": 1518, "name": "Identifier", - "src": "38508:3:1" + "src": "39608:3:0" } ], - "id": 2027, + "id": 1519, "name": "MemberAccess", - "src": "38508:12:1" + "src": "39608:12:0" } ], - "id": 2028, + "id": 1520, "name": "MemberAccess", - "src": "38508:19:1" + "src": "39608:19:0" }, { "attributes": { @@ -57316,24 +57316,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2029, + "id": 1521, "name": "Literal", - "src": "38530:1:1" + "src": "39630:1:0" } ], - "id": 2030, + "id": 1522, "name": "BinaryOperation", - "src": "38508:23:1" + "src": "39608:23:0" } ], - "id": 2031, + "id": 1523, "name": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "attributes": { "assignments": [ - 2033 + 1525 ] }, "children": [ @@ -57342,7 +57342,7 @@ "constant": false, "mutability": "mutable", "name": "lastEntry", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -57352,17 +57352,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2032, + "id": 1524, "name": "UserDefinedTypeName", - "src": "38771:8:1" + "src": "39876:8:0" } ], - "id": 2033, + "id": 1525, "name": "VariableDeclaration", - "src": "38771:26:1" + "src": "39876:26:0" }, { "attributes": { @@ -57380,7 +57380,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57389,41 +57389,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2034, + "id": 1526, "name": "Identifier", - "src": "38800:3:1" + "src": "39905:3:0" } ], - "id": 2035, + "id": 1527, "name": "MemberAccess", - "src": "38800:12:1" + "src": "39905:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2025, + "referencedDeclaration": 1517, "type": "uint256", "value": "lastIndex" }, - "id": 2036, + "id": 1528, "name": "Identifier", - "src": "38813:9:1" + "src": "39918:9:0" } ], - "id": 2037, + "id": 1529, "name": "IndexAccess", - "src": "38800:23:1" + "src": "39905:23:0" } ], - "id": 2038, + "id": 1530, "name": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "children": [ @@ -57453,7 +57453,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57462,59 +57462,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2039, + "id": 1531, "name": "Identifier", - "src": "38915:3:1" + "src": "40023:3:0" } ], - "id": 2042, + "id": 1534, "name": "MemberAccess", - "src": "38915:12:1" + "src": "40023:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2041, + "id": 1533, "name": "Identifier", - "src": "38928:13:1" + "src": "40036:13:0" } ], - "id": 2043, + "id": 1535, "name": "IndexAccess", - "src": "38915:27:1" + "src": "40023:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2044, + "id": 1536, "name": "Identifier", - "src": "38945:9:1" + "src": "40053:9:0" } ], - "id": 2045, + "id": 1537, "name": "Assignment", - "src": "38915:39:1" + "src": "40023:39:0" } ], - "id": 2046, + "id": 1538, "name": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "children": [ @@ -57544,7 +57544,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57553,18 +57553,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2047, + "id": 1539, "name": "Identifier", - "src": "39020:3:1" + "src": "40130:3:0" } ], - "id": 2051, + "id": 1543, "name": "MemberAccess", - "src": "39020:12:1" + "src": "40130:12:0" }, { "attributes": { @@ -57573,7 +57573,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -57582,23 +57582,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2049, + "id": 1541, "name": "Identifier", - "src": "39033:9:1" + "src": "40143:9:0" } ], - "id": 2050, + "id": 1542, "name": "MemberAccess", - "src": "39033:14:1" + "src": "40143:14:0" } ], - "id": 2052, + "id": 1544, "name": "IndexAccess", - "src": "39020:28:1" + "src": "40130:28:0" }, { "attributes": { @@ -57619,13 +57619,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2053, + "id": 1545, "name": "Identifier", - "src": "39051:13:1" + "src": "40161:13:0" }, { "attributes": { @@ -57638,24 +57638,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2054, + "id": 1546, "name": "Literal", - "src": "39067:1:1" + "src": "40177:1:0" } ], - "id": 2055, + "id": 1547, "name": "BinaryOperation", - "src": "39051:17:1" + "src": "40161:17:0" } ], - "id": 2056, + "id": 1548, "name": "Assignment", - "src": "39020:48:1" + "src": "40130:48:0" } ], - "id": 2057, + "id": 1549, "name": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "children": [ @@ -57697,7 +57697,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57706,33 +57706,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2058, + "id": 1550, "name": "Identifier", - "src": "39174:3:1" + "src": "40287:3:0" } ], - "id": 2061, + "id": 1553, "name": "MemberAccess", - "src": "39174:12:1" + "src": "40287:12:0" } ], - "id": 2062, + "id": 1554, "name": "MemberAccess", - "src": "39174:16:1" + "src": "40287:16:0" } ], - "id": 2063, + "id": 1555, "name": "FunctionCall", - "src": "39174:18:1" + "src": "40287:18:0" } ], - "id": 2064, + "id": 1556, "name": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "children": [ @@ -57763,7 +57763,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57772,50 +57772,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2065, + "id": 1557, "name": "Identifier", - "src": "39267:3:1" + "src": "40383:3:0" } ], - "id": 2066, + "id": 1558, "name": "MemberAccess", - "src": "39267:12:1" + "src": "40383:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2067, + "id": 1559, "name": "Identifier", - "src": "39280:3:1" + "src": "40396:3:0" } ], - "id": 2068, + "id": 1560, "name": "IndexAccess", - "src": "39267:17:1" + "src": "40383:17:0" } ], - "id": 2069, + "id": 1561, "name": "UnaryOperation", - "src": "39260:24:1" + "src": "40376:24:0" } ], - "id": 2070, + "id": 1562, "name": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -57829,25 +57829,25 @@ "type": "bool", "value": "true" }, - "id": 2071, + "id": 1563, "name": "Literal", - "src": "39306:4:1" + "src": "40424:4:0" } ], - "id": 2072, + "id": 1564, "name": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ], - "id": 2073, + "id": 1565, "name": "Block", - "src": "38097:1224:1" + "src": "39191:1249:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -57861,34 +57861,34 @@ "type": "bool", "value": "false" }, - "id": 2074, + "id": 1566, "name": "Literal", - "src": "39348:5:1" + "src": "40468:5:0" } ], - "id": 2075, + "id": 1567, "name": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ], - "id": 2076, + "id": 1568, "name": "Block", - "src": "39327:37:1" + "src": "40446:39:0" } ], - "id": 2077, + "id": 1569, "name": "IfStatement", - "src": "38078:1286:1" + "src": "39172:1313:0" } ], - "id": 2078, + "id": 1570, "name": "Block", - "src": "37923:1447:1" + "src": "39013:1479:0" } ], - "id": 2079, + "id": 1571, "name": "FunctionDefinition", - "src": "37853:1517:1" + "src": "38943:1549:0" }, { "attributes": { @@ -57899,7 +57899,7 @@ null ], "name": "_contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -57909,9 +57909,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2080, + "id": 1572, "name": "StructuredDocumentation", - "src": "39376:68:1" + "src": "40500:70:0" }, { "children": [ @@ -57920,7 +57920,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -57930,24 +57930,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2081, + "id": 1573, "name": "UserDefinedTypeName", - "src": "39468:3:1" + "src": "40595:3:0" } ], - "id": 2082, + "id": 1574, "name": "VariableDeclaration", - "src": "39468:15:1" + "src": "40595:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -57959,19 +57959,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2083, + "id": 1575, "name": "ElementaryTypeName", - "src": "39485:7:1" + "src": "40612:7:0" } ], - "id": 2084, + "id": 1576, "name": "VariableDeclaration", - "src": "39485:11:1" + "src": "40612:11:0" } ], - "id": 2085, + "id": 1577, "name": "ParameterList", - "src": "39467:30:1" + "src": "40594:30:0" }, { "children": [ @@ -57980,7 +57980,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -57992,25 +57992,25 @@ "name": "bool", "type": "bool" }, - "id": 2086, + "id": 1578, "name": "ElementaryTypeName", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2087, + "id": 1579, "name": "VariableDeclaration", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2088, + "id": 1580, "name": "ParameterList", - "src": "39519:6:1" + "src": "40646:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2088 + "functionReturnParameters": 1580 }, "children": [ { @@ -58043,7 +58043,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58052,36 +58052,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2082, + "referencedDeclaration": 1574, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2089, + "id": 1581, "name": "Identifier", - "src": "39543:3:1" + "src": "40671:3:0" } ], - "id": 2090, + "id": 1582, "name": "MemberAccess", - "src": "39543:12:1" + "src": "40671:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2084, + "referencedDeclaration": 1576, "type": "bytes32", "value": "key" }, - "id": 2091, + "id": 1583, "name": "Identifier", - "src": "39556:3:1" + "src": "40684:3:0" } ], - "id": 2092, + "id": 1584, "name": "IndexAccess", - "src": "39543:17:1" + "src": "40671:17:0" }, { "attributes": { @@ -58094,29 +58094,29 @@ "type": "int_const 0", "value": "0" }, - "id": 2093, + "id": 1585, "name": "Literal", - "src": "39564:1:1" + "src": "40692:1:0" } ], - "id": 2094, + "id": 1586, "name": "BinaryOperation", - "src": "39543:22:1" + "src": "40671:22:0" } ], - "id": 2095, + "id": 1587, "name": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ], - "id": 2096, + "id": 1588, "name": "Block", - "src": "39526:46:1" + "src": "40653:48:0" } ], - "id": 2097, + "id": 1589, "name": "FunctionDefinition", - "src": "39449:123:1" + "src": "40576:125:0" }, { "attributes": { @@ -58127,7 +58127,7 @@ null ], "name": "_length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58137,9 +58137,9 @@ "attributes": { "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2098, + "id": 1590, "name": "StructuredDocumentation", - "src": "39578:79:1" + "src": "40709:81:0" }, { "children": [ @@ -58148,7 +58148,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58158,22 +58158,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2099, + "id": 1591, "name": "UserDefinedTypeName", - "src": "39679:3:1" + "src": "40813:3:0" } ], - "id": 2100, + "id": 1592, "name": "VariableDeclaration", - "src": "39679:15:1" + "src": "40813:15:0" } ], - "id": 2101, + "id": 1593, "name": "ParameterList", - "src": "39678:17:1" + "src": "40812:17:0" }, { "children": [ @@ -58182,7 +58182,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58194,25 +58194,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2102, + "id": 1594, "name": "ElementaryTypeName", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2103, + "id": 1595, "name": "VariableDeclaration", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2104, + "id": 1596, "name": "ParameterList", - "src": "39717:9:1" + "src": "40851:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2104 + "functionReturnParameters": 1596 }, "children": [ { @@ -58232,7 +58232,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58241,38 +58241,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2100, + "referencedDeclaration": 1592, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2105, + "id": 1597, "name": "Identifier", - "src": "39744:3:1" + "src": "40879:3:0" } ], - "id": 2106, + "id": 1598, "name": "MemberAccess", - "src": "39744:12:1" + "src": "40879:12:0" } ], - "id": 2107, + "id": 1599, "name": "MemberAccess", - "src": "39744:19:1" + "src": "40879:19:0" } ], - "id": 2108, + "id": 1600, "name": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ], - "id": 2109, + "id": 1601, "name": "Block", - "src": "39727:43:1" + "src": "40861:45:0" } ], - "id": 2110, + "id": 1602, "name": "FunctionDefinition", - "src": "39662:108:1" + "src": "40796:110:0" }, { "attributes": { @@ -58283,7 +58283,7 @@ null ], "name": "_at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58293,9 +58293,9 @@ "attributes": { "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2111, + "id": 1603, "name": "StructuredDocumentation", - "src": "39775:333:1" + "src": "40913:342:0" }, { "children": [ @@ -58304,7 +58304,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58314,24 +58314,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2112, + "id": 1604, "name": "UserDefinedTypeName", - "src": "40126:3:1" + "src": "41274:3:0" } ], - "id": 2113, + "id": 1605, "name": "VariableDeclaration", - "src": "40126:15:1" + "src": "41274:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58343,19 +58343,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2114, + "id": 1606, "name": "ElementaryTypeName", - "src": "40143:7:1" + "src": "41291:7:0" } ], - "id": 2115, + "id": 1607, "name": "VariableDeclaration", - "src": "40143:13:1" + "src": "41291:13:0" } ], - "id": 2116, + "id": 1608, "name": "ParameterList", - "src": "40125:32:1" + "src": "41273:32:0" }, { "children": [ @@ -58364,7 +58364,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58376,21 +58376,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2117, + "id": 1609, "name": "ElementaryTypeName", - "src": "40180:7:1" + "src": "41328:7:0" } ], - "id": 2118, + "id": 1610, "name": "VariableDeclaration", - "src": "40180:7:1" + "src": "41328:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58402,19 +58402,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2119, + "id": 1611, "name": "ElementaryTypeName", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2120, + "id": 1612, "name": "VariableDeclaration", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2121, + "id": 1613, "name": "ParameterList", - "src": "40179:18:1" + "src": "41327:18:0" }, { "children": [ @@ -58455,9 +58455,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2122, + "id": 1614, "name": "Identifier", - "src": "40208:7:1" + "src": "41357:7:0" }, { "attributes": { @@ -58490,7 +58490,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58499,41 +58499,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2123, + "id": 1615, "name": "Identifier", - "src": "40216:3:1" + "src": "41365:3:0" } ], - "id": 2124, + "id": 1616, "name": "MemberAccess", - "src": "40216:12:1" + "src": "41365:12:0" } ], - "id": 2125, + "id": 1617, "name": "MemberAccess", - "src": "40216:19:1" + "src": "41365:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2126, + "id": 1618, "name": "Identifier", - "src": "40238:5:1" + "src": "41387:5:0" } ], - "id": 2127, + "id": 1619, "name": "BinaryOperation", - "src": "40216:27:1" + "src": "41365:27:0" }, { "attributes": { @@ -58546,24 +58546,24 @@ "type": "literal_string \"EnumerableMap: index out of bounds\"", "value": "EnumerableMap: index out of bounds" }, - "id": 2128, + "id": 1620, "name": "Literal", - "src": "40245:36:1" + "src": "41394:36:0" } ], - "id": 2129, + "id": 1621, "name": "FunctionCall", - "src": "40208:74:1" + "src": "41357:74:0" } ], - "id": 2130, + "id": 1622, "name": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "attributes": { "assignments": [ - 2132 + 1624 ] }, "children": [ @@ -58572,7 +58572,7 @@ "constant": false, "mutability": "mutable", "name": "entry", - "scope": 2144, + "scope": 1636, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -58582,17 +58582,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2131, + "id": 1623, "name": "UserDefinedTypeName", - "src": "40293:8:1" + "src": "41444:8:0" } ], - "id": 2132, + "id": 1624, "name": "VariableDeclaration", - "src": "40293:22:1" + "src": "41444:22:0" }, { "attributes": { @@ -58610,7 +58610,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58619,45 +58619,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2133, + "id": 1625, "name": "Identifier", - "src": "40318:3:1" + "src": "41469:3:0" } ], - "id": 2134, + "id": 1626, "name": "MemberAccess", - "src": "40318:12:1" + "src": "41469:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2135, + "id": 1627, "name": "Identifier", - "src": "40331:5:1" + "src": "41482:5:0" } ], - "id": 2136, + "id": 1628, "name": "IndexAccess", - "src": "40318:19:1" + "src": "41469:19:0" } ], - "id": 2137, + "id": 1629, "name": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "attributes": { - "functionReturnParameters": 2121 + "functionReturnParameters": 1613 }, "children": [ { @@ -58677,7 +58677,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -58686,18 +58686,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2138, + "id": 1630, "name": "Identifier", - "src": "40355:5:1" + "src": "41507:5:0" } ], - "id": 2139, + "id": 1631, "name": "MemberAccess", - "src": "40355:10:1" + "src": "41507:10:0" }, { "attributes": { @@ -58706,7 +58706,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -58715,38 +58715,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2140, + "id": 1632, "name": "Identifier", - "src": "40367:5:1" + "src": "41519:5:0" } ], - "id": 2141, + "id": 1633, "name": "MemberAccess", - "src": "40367:12:1" + "src": "41519:12:0" } ], - "id": 2142, + "id": 1634, "name": "TupleExpression", - "src": "40354:26:1" + "src": "41506:26:0" } ], - "id": 2143, + "id": 1635, "name": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ], - "id": 2144, + "id": 1636, "name": "Block", - "src": "40198:189:1" + "src": "41346:194:0" } ], - "id": 2145, + "id": 1637, "name": "FunctionDefinition", - "src": "40113:274:1" + "src": "41261:279:0" }, { "attributes": { @@ -58757,7 +58757,7 @@ null ], "name": "_tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58767,9 +58767,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2146, + "id": 1638, "name": "StructuredDocumentation", - "src": "40393:131:1" + "src": "41548:134:0" }, { "children": [ @@ -58778,7 +58778,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58788,24 +58788,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2147, + "id": 1639, "name": "UserDefinedTypeName", - "src": "40546:3:1" + "src": "41705:3:0" } ], - "id": 2148, + "id": 1640, "name": "VariableDeclaration", - "src": "40546:15:1" + "src": "41705:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58817,19 +58817,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2149, + "id": 1641, "name": "ElementaryTypeName", - "src": "40563:7:1" + "src": "41722:7:0" } ], - "id": 2150, + "id": 1642, "name": "VariableDeclaration", - "src": "40563:11:1" + "src": "41722:11:0" } ], - "id": 2151, + "id": 1643, "name": "ParameterList", - "src": "40545:30:1" + "src": "41704:30:0" }, { "children": [ @@ -58838,7 +58838,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -58850,21 +58850,21 @@ "name": "bool", "type": "bool" }, - "id": 2152, + "id": 1644, "name": "ElementaryTypeName", - "src": "40598:4:1" + "src": "41757:4:0" } ], - "id": 2153, + "id": 1645, "name": "VariableDeclaration", - "src": "40598:4:1" + "src": "41757:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58876,26 +58876,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2154, + "id": 1646, "name": "ElementaryTypeName", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2155, + "id": 1647, "name": "VariableDeclaration", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2156, + "id": 1648, "name": "ParameterList", - "src": "40597:15:1" + "src": "41756:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2158 + 1650 ] }, "children": [ @@ -58904,7 +58904,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2182, + "scope": 1674, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58916,14 +58916,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2157, + "id": 1649, "name": "ElementaryTypeName", - "src": "40623:7:1" + "src": "41783:7:0" } ], - "id": 2158, + "id": 1650, "name": "VariableDeclaration", - "src": "40623:16:1" + "src": "41783:16:0" }, { "attributes": { @@ -58941,7 +58941,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58950,41 +58950,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2159, + "id": 1651, "name": "Identifier", - "src": "40642:3:1" + "src": "41802:3:0" } ], - "id": 2160, + "id": 1652, "name": "MemberAccess", - "src": "40642:12:1" + "src": "41802:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2150, + "referencedDeclaration": 1642, "type": "bytes32", "value": "key" }, - "id": 2161, + "id": 1653, "name": "Identifier", - "src": "40655:3:1" + "src": "41815:3:0" } ], - "id": 2162, + "id": 1654, "name": "IndexAccess", - "src": "40642:17:1" + "src": "41802:17:0" } ], - "id": 2163, + "id": 1655, "name": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "attributes": {}, @@ -59008,13 +59008,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2164, + "id": 1656, "name": "Identifier", - "src": "40673:8:1" + "src": "41834:8:0" }, { "attributes": { @@ -59027,18 +59027,18 @@ "type": "int_const 0", "value": "0" }, - "id": 2165, + "id": 1657, "name": "Literal", - "src": "40685:1:1" + "src": "41846:1:0" } ], - "id": 2166, + "id": 1658, "name": "BinaryOperation", - "src": "40673:13:1" + "src": "41834:13:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59062,9 +59062,9 @@ "type": "bool", "value": "false" }, - "id": 2167, + "id": 1659, "name": "Literal", - "src": "40696:5:1" + "src": "41857:5:0" }, { "attributes": { @@ -59077,28 +59077,28 @@ "type": "int_const 0", "value": "0" }, - "id": 2168, + "id": 1660, "name": "Literal", - "src": "40703:1:1" + "src": "41864:1:0" } ], - "id": 2169, + "id": 1661, "name": "TupleExpression", - "src": "40695:10:1" + "src": "41856:10:0" } ], - "id": 2170, + "id": 1662, "name": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } ], - "id": 2171, + "id": 1663, "name": "IfStatement", - "src": "40669:36:1" + "src": "41830:36:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59122,9 +59122,9 @@ "type": "bool", "value": "true" }, - "id": 2172, + "id": 1664, "name": "Literal", - "src": "40759:4:1" + "src": "41921:4:0" }, { "attributes": { @@ -59133,7 +59133,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59153,7 +59153,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59162,18 +59162,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2173, + "id": 1665, "name": "Identifier", - "src": "40765:3:1" + "src": "41927:3:0" } ], - "id": 2174, + "id": 1666, "name": "MemberAccess", - "src": "40765:12:1" + "src": "41927:12:0" }, { "attributes": { @@ -59194,13 +59194,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2175, + "id": 1667, "name": "Identifier", - "src": "40778:8:1" + "src": "41940:8:0" }, { "attributes": { @@ -59213,44 +59213,44 @@ "type": "int_const 1", "value": "1" }, - "id": 2176, + "id": 1668, "name": "Literal", - "src": "40789:1:1" + "src": "41951:1:0" } ], - "id": 2177, + "id": 1669, "name": "BinaryOperation", - "src": "40778:12:1" + "src": "41940:12:0" } ], - "id": 2178, + "id": 1670, "name": "IndexAccess", - "src": "40765:26:1" + "src": "41927:26:0" } ], - "id": 2179, + "id": 1671, "name": "MemberAccess", - "src": "40765:33:1" + "src": "41927:33:0" } ], - "id": 2180, + "id": 1672, "name": "TupleExpression", - "src": "40758:41:1" + "src": "41920:41:0" } ], - "id": 2181, + "id": 1673, "name": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ], - "id": 2182, + "id": 1674, "name": "Block", - "src": "40613:220:1" + "src": "41772:224:0" } ], - "id": 2183, + "id": 1675, "name": "FunctionDefinition", - "src": "40529:304:1" + "src": "41688:308:0" }, { "attributes": { @@ -59261,7 +59261,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59271,9 +59271,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2184, + "id": 1676, "name": "StructuredDocumentation", - "src": "40839:141:1" + "src": "42004:147:0" }, { "children": [ @@ -59282,7 +59282,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59292,24 +59292,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2185, + "id": 1677, "name": "UserDefinedTypeName", - "src": "40999:3:1" + "src": "42171:3:0" } ], - "id": 2186, + "id": 1678, "name": "VariableDeclaration", - "src": "40999:15:1" + "src": "42171:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59321,19 +59321,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2187, + "id": 1679, "name": "ElementaryTypeName", - "src": "41016:7:1" + "src": "42188:7:0" } ], - "id": 2188, + "id": 1680, "name": "VariableDeclaration", - "src": "41016:11:1" + "src": "42188:11:0" } ], - "id": 2189, + "id": 1681, "name": "ParameterList", - "src": "40998:30:1" + "src": "42170:30:0" }, { "children": [ @@ -59342,7 +59342,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59354,26 +59354,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2190, + "id": 1682, "name": "ElementaryTypeName", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2191, + "id": 1683, "name": "VariableDeclaration", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2192, + "id": 1684, "name": "ParameterList", - "src": "41050:9:1" + "src": "42222:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2194 + 1686 ] }, "children": [ @@ -59382,7 +59382,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2215, + "scope": 1707, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59394,14 +59394,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2193, + "id": 1685, "name": "ElementaryTypeName", - "src": "41070:7:1" + "src": "42243:7:0" } ], - "id": 2194, + "id": 1686, "name": "VariableDeclaration", - "src": "41070:16:1" + "src": "42243:16:0" }, { "attributes": { @@ -59419,7 +59419,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59428,41 +59428,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2195, + "id": 1687, "name": "Identifier", - "src": "41089:3:1" + "src": "42262:3:0" } ], - "id": 2196, + "id": 1688, "name": "MemberAccess", - "src": "41089:12:1" + "src": "42262:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2188, + "referencedDeclaration": 1680, "type": "bytes32", "value": "key" }, - "id": 2197, + "id": 1689, "name": "Identifier", - "src": "41102:3:1" + "src": "42275:3:0" } ], - "id": 2198, + "id": 1690, "name": "IndexAccess", - "src": "41089:17:1" + "src": "42262:17:0" } ], - "id": 2199, + "id": 1691, "name": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "children": [ @@ -59501,9 +59501,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2200, + "id": 1692, "name": "Identifier", - "src": "41116:7:1" + "src": "42290:7:0" }, { "attributes": { @@ -59524,13 +59524,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2201, + "id": 1693, "name": "Identifier", - "src": "41124:8:1" + "src": "42298:8:0" }, { "attributes": { @@ -59543,14 +59543,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2202, + "id": 1694, "name": "Literal", - "src": "41136:1:1" + "src": "42310:1:0" } ], - "id": 2203, + "id": 1695, "name": "BinaryOperation", - "src": "41124:13:1" + "src": "42298:13:0" }, { "attributes": { @@ -59563,23 +59563,23 @@ "type": "literal_string \"EnumerableMap: nonexistent key\"", "value": "EnumerableMap: nonexistent key" }, - "id": 2204, + "id": 1696, "name": "Literal", - "src": "41139:32:1" + "src": "42313:32:0" } ], - "id": 2205, + "id": 1697, "name": "FunctionCall", - "src": "41116:56:1" + "src": "42290:56:0" } ], - "id": 2206, + "id": 1698, "name": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "attributes": { - "functionReturnParameters": 2192 + "functionReturnParameters": 1684 }, "children": [ { @@ -59589,7 +59589,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59609,7 +59609,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59618,18 +59618,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2207, + "id": 1699, "name": "Identifier", - "src": "41225:3:1" + "src": "42400:3:0" } ], - "id": 2208, + "id": 1700, "name": "MemberAccess", - "src": "41225:12:1" + "src": "42400:12:0" }, { "attributes": { @@ -59650,13 +59650,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2209, + "id": 1701, "name": "Identifier", - "src": "41238:8:1" + "src": "42413:8:0" }, { "attributes": { @@ -59669,39 +59669,39 @@ "type": "int_const 1", "value": "1" }, - "id": 2210, + "id": 1702, "name": "Literal", - "src": "41249:1:1" + "src": "42424:1:0" } ], - "id": 2211, + "id": 1703, "name": "BinaryOperation", - "src": "41238:12:1" + "src": "42413:12:0" } ], - "id": 2212, + "id": 1704, "name": "IndexAccess", - "src": "41225:26:1" + "src": "42400:26:0" } ], - "id": 2213, + "id": 1705, "name": "MemberAccess", - "src": "41225:33:1" + "src": "42400:33:0" } ], - "id": 2214, + "id": 1706, "name": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ], - "id": 2215, + "id": 1707, "name": "Block", - "src": "41060:232:1" + "src": "42232:236:0" } ], - "id": 2216, + "id": 1708, "name": "FunctionDefinition", - "src": "40985:307:1" + "src": "42157:311:0" }, { "attributes": { @@ -59712,7 +59712,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59722,9 +59722,9 @@ "attributes": { "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2217, + "id": 1709, "name": "StructuredDocumentation", - "src": "41298:271:1" + "src": "42476:276:0" }, { "children": [ @@ -59733,7 +59733,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59743,24 +59743,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2218, + "id": 1710, "name": "UserDefinedTypeName", - "src": "41588:3:1" + "src": "42772:3:0" } ], - "id": 2219, + "id": 1711, "name": "VariableDeclaration", - "src": "41588:15:1" + "src": "42772:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59772,21 +59772,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2220, + "id": 1712, "name": "ElementaryTypeName", - "src": "41605:7:1" + "src": "42789:7:0" } ], - "id": 2221, + "id": 1713, "name": "VariableDeclaration", - "src": "41605:11:1" + "src": "42789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -59798,19 +59798,19 @@ "name": "string", "type": "string" }, - "id": 2222, + "id": 1714, "name": "ElementaryTypeName", - "src": "41618:6:1" + "src": "42802:6:0" } ], - "id": 2223, + "id": 1715, "name": "VariableDeclaration", - "src": "41618:26:1" + "src": "42802:26:0" } ], - "id": 2224, + "id": 1716, "name": "ParameterList", - "src": "41587:58:1" + "src": "42771:58:0" }, { "children": [ @@ -59819,7 +59819,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59831,26 +59831,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2225, + "id": 1717, "name": "ElementaryTypeName", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2226, + "id": 1718, "name": "VariableDeclaration", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2227, + "id": 1719, "name": "ParameterList", - "src": "41667:9:1" + "src": "42851:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2229 + 1721 ] }, "children": [ @@ -59859,7 +59859,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2250, + "scope": 1742, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59871,14 +59871,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2228, + "id": 1720, "name": "ElementaryTypeName", - "src": "41687:7:1" + "src": "42872:7:0" } ], - "id": 2229, + "id": 1721, "name": "VariableDeclaration", - "src": "41687:16:1" + "src": "42872:16:0" }, { "attributes": { @@ -59896,7 +59896,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59905,41 +59905,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2230, + "id": 1722, "name": "Identifier", - "src": "41706:3:1" + "src": "42891:3:0" } ], - "id": 2231, + "id": 1723, "name": "MemberAccess", - "src": "41706:12:1" + "src": "42891:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2221, + "referencedDeclaration": 1713, "type": "bytes32", "value": "key" }, - "id": 2232, + "id": 1724, "name": "Identifier", - "src": "41719:3:1" + "src": "42904:3:0" } ], - "id": 2233, + "id": 1725, "name": "IndexAccess", - "src": "41706:17:1" + "src": "42891:17:0" } ], - "id": 2234, + "id": 1726, "name": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "children": [ @@ -59978,9 +59978,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2235, + "id": 1727, "name": "Identifier", - "src": "41733:7:1" + "src": "42919:7:0" }, { "attributes": { @@ -60001,13 +60001,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2236, + "id": 1728, "name": "Identifier", - "src": "41741:8:1" + "src": "42927:8:0" }, { "attributes": { @@ -60020,41 +60020,41 @@ "type": "int_const 0", "value": "0" }, - "id": 2237, + "id": 1729, "name": "Literal", - "src": "41753:1:1" + "src": "42939:1:0" } ], - "id": 2238, + "id": 1730, "name": "BinaryOperation", - "src": "41741:13:1" + "src": "42927:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2223, + "referencedDeclaration": 1715, "type": "string memory", "value": "errorMessage" }, - "id": 2239, + "id": 1731, "name": "Identifier", - "src": "41756:12:1" + "src": "42942:12:0" } ], - "id": 2240, + "id": 1732, "name": "FunctionCall", - "src": "41733:36:1" + "src": "42919:36:0" } ], - "id": 2241, + "id": 1733, "name": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "attributes": { - "functionReturnParameters": 2227 + "functionReturnParameters": 1719 }, "children": [ { @@ -60064,7 +60064,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -60084,7 +60084,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -60093,18 +60093,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2242, + "id": 1734, "name": "Identifier", - "src": "41822:3:1" + "src": "43009:3:0" } ], - "id": 2243, + "id": 1735, "name": "MemberAccess", - "src": "41822:12:1" + "src": "43009:12:0" }, { "attributes": { @@ -60125,13 +60125,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2244, + "id": 1736, "name": "Identifier", - "src": "41835:8:1" + "src": "43022:8:0" }, { "attributes": { @@ -60144,45 +60144,45 @@ "type": "int_const 1", "value": "1" }, - "id": 2245, + "id": 1737, "name": "Literal", - "src": "41846:1:1" + "src": "43033:1:0" } ], - "id": 2246, + "id": 1738, "name": "BinaryOperation", - "src": "41835:12:1" + "src": "43022:12:0" } ], - "id": 2247, + "id": 1739, "name": "IndexAccess", - "src": "41822:26:1" + "src": "43009:26:0" } ], - "id": 2248, + "id": 1740, "name": "MemberAccess", - "src": "41822:33:1" + "src": "43009:33:0" } ], - "id": 2249, + "id": 1741, "name": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ], - "id": 2250, + "id": 1742, "name": "Block", - "src": "41677:212:1" + "src": "42861:216:0" } ], - "id": 2251, + "id": 1743, "name": "FunctionDefinition", - "src": "41574:315:1" + "src": "42758:319:0" }, { "attributes": { "canonicalName": "EnumerableMap.UintToAddressMap", "name": "UintToAddressMap", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -60191,7 +60191,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 2254, + "scope": 1746, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.Map", @@ -60201,22 +60201,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2252, + "id": 1744, "name": "UserDefinedTypeName", - "src": "41954:3:1" + "src": "43147:3:0" } ], - "id": 2253, + "id": 1745, "name": "VariableDeclaration", - "src": "41954:10:1" + "src": "43147:10:0" } ], - "id": 2254, + "id": 1746, "name": "StructDefinition", - "src": "41920:51:1" + "src": "43112:53:0" }, { "attributes": { @@ -60227,7 +60227,7 @@ null ], "name": "set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60237,9 +60237,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2255, + "id": 1747, "name": "StructuredDocumentation", - "src": "41977:216:1" + "src": "43173:222:0" }, { "children": [ @@ -60248,7 +60248,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60258,24 +60258,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2256, + "id": 1748, "name": "UserDefinedTypeName", - "src": "42211:16:1" + "src": "43414:16:0" } ], - "id": 2257, + "id": 1749, "name": "VariableDeclaration", - "src": "42211:28:1" + "src": "43414:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60287,21 +60287,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2258, + "id": 1750, "name": "ElementaryTypeName", - "src": "42241:7:1" + "src": "43444:7:0" } ], - "id": 2259, + "id": 1751, "name": "VariableDeclaration", - "src": "42241:11:1" + "src": "43444:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -60314,19 +60314,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2260, + "id": 1752, "name": "ElementaryTypeName", - "src": "42254:7:1" + "src": "43457:7:0" } ], - "id": 2261, + "id": 1753, "name": "VariableDeclaration", - "src": "42254:13:1" + "src": "43457:13:0" } ], - "id": 2262, + "id": 1754, "name": "ParameterList", - "src": "42210:58:1" + "src": "43413:58:0" }, { "children": [ @@ -60335,7 +60335,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60347,25 +60347,25 @@ "name": "bool", "type": "bool" }, - "id": 2263, + "id": 1755, "name": "ElementaryTypeName", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2264, + "id": 1756, "name": "VariableDeclaration", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2265, + "id": 1757, "name": "ParameterList", - "src": "42286:6:1" + "src": "43489:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2265 + "functionReturnParameters": 1757 }, "children": [ { @@ -60387,7 +60387,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60402,13 +60402,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1998, + "referencedDeclaration": 1490, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)", "value": "_set" }, - "id": 2266, + "id": 1758, "name": "Identifier", - "src": "42310:4:1" + "src": "43514:4:0" }, { "attributes": { @@ -60417,7 +60417,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60426,18 +60426,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2257, + "referencedDeclaration": 1749, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2267, + "id": 1759, "name": "Identifier", - "src": "42315:3:1" + "src": "43519:3:0" } ], - "id": 2268, + "id": 1760, "name": "MemberAccess", - "src": "42315:10:1" + "src": "43519:10:0" }, { "attributes": { @@ -60473,32 +60473,32 @@ "attributes": { "name": "bytes32" }, - "id": 2269, + "id": 1761, "name": "ElementaryTypeName", - "src": "42327:7:1" + "src": "43531:7:0" } ], - "id": 2270, + "id": 1762, "name": "ElementaryTypeNameExpression", - "src": "42327:7:1" + "src": "43531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2259, + "referencedDeclaration": 1751, "type": "uint256", "value": "key" }, - "id": 2271, + "id": 1763, "name": "Identifier", - "src": "42335:3:1" + "src": "43539:3:0" } ], - "id": 2272, + "id": 1764, "name": "FunctionCall", - "src": "42327:12:1" + "src": "43531:12:0" }, { "attributes": { @@ -60534,14 +60534,14 @@ "attributes": { "name": "bytes32" }, - "id": 2273, + "id": 1765, "name": "ElementaryTypeName", - "src": "42341:7:1" + "src": "43545:7:0" } ], - "id": 2274, + "id": 1766, "name": "ElementaryTypeNameExpression", - "src": "42341:7:1" + "src": "43545:7:0" }, { "attributes": { @@ -60577,14 +60577,14 @@ "attributes": { "name": "uint256" }, - "id": 2275, + "id": 1767, "name": "ElementaryTypeName", - "src": "42349:7:1" + "src": "43553:7:0" } ], - "id": 2276, + "id": 1768, "name": "ElementaryTypeNameExpression", - "src": "42349:7:1" + "src": "43553:7:0" }, { "attributes": { @@ -60620,62 +60620,62 @@ "attributes": { "name": "uint160" }, - "id": 2277, + "id": 1769, "name": "ElementaryTypeName", - "src": "42357:7:1" + "src": "43561:7:0" } ], - "id": 2278, + "id": 1770, "name": "ElementaryTypeNameExpression", - "src": "42357:7:1" + "src": "43561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2261, + "referencedDeclaration": 1753, "type": "address", "value": "value" }, - "id": 2279, + "id": 1771, "name": "Identifier", - "src": "42365:5:1" + "src": "43569:5:0" } ], - "id": 2280, + "id": 1772, "name": "FunctionCall", - "src": "42357:14:1" + "src": "43561:14:0" } ], - "id": 2281, + "id": 1773, "name": "FunctionCall", - "src": "42349:23:1" + "src": "43553:23:0" } ], - "id": 2282, + "id": 1774, "name": "FunctionCall", - "src": "42341:32:1" + "src": "43545:32:0" } ], - "id": 2283, + "id": 1775, "name": "FunctionCall", - "src": "42310:64:1" + "src": "43514:64:0" } ], - "id": 2284, + "id": 1776, "name": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ], - "id": 2285, + "id": 1777, "name": "Block", - "src": "42293:88:1" + "src": "43496:90:0" } ], - "id": 2286, + "id": 1778, "name": "FunctionDefinition", - "src": "42198:183:1" + "src": "43401:185:0" }, { "attributes": { @@ -60686,7 +60686,7 @@ null ], "name": "remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60696,9 +60696,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2287, + "id": 1779, "name": "StructuredDocumentation", - "src": "42387:148:1" + "src": "43594:152:0" }, { "children": [ @@ -60707,7 +60707,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60717,24 +60717,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2288, + "id": 1780, "name": "UserDefinedTypeName", - "src": "42556:16:1" + "src": "43768:16:0" } ], - "id": 2289, + "id": 1781, "name": "VariableDeclaration", - "src": "42556:28:1" + "src": "43768:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60746,19 +60746,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2290, + "id": 1782, "name": "ElementaryTypeName", - "src": "42586:7:1" + "src": "43798:7:0" } ], - "id": 2291, + "id": 1783, "name": "VariableDeclaration", - "src": "42586:11:1" + "src": "43798:11:0" } ], - "id": 2292, + "id": 1784, "name": "ParameterList", - "src": "42555:43:1" + "src": "43767:43:0" }, { "children": [ @@ -60767,7 +60767,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60779,25 +60779,25 @@ "name": "bool", "type": "bool" }, - "id": 2293, + "id": 1785, "name": "ElementaryTypeName", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2294, + "id": 1786, "name": "VariableDeclaration", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2295, + "id": 1787, "name": "ParameterList", - "src": "42616:6:1" + "src": "43828:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2295 + "functionReturnParameters": 1787 }, "children": [ { @@ -60819,7 +60819,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60830,13 +60830,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2079, + "referencedDeclaration": 1571, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 2296, + "id": 1788, "name": "Identifier", - "src": "42640:7:1" + "src": "43853:7:0" }, { "attributes": { @@ -60845,7 +60845,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60854,18 +60854,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2289, + "referencedDeclaration": 1781, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2297, + "id": 1789, "name": "Identifier", - "src": "42648:3:1" + "src": "43861:3:0" } ], - "id": 2298, + "id": 1790, "name": "MemberAccess", - "src": "42648:10:1" + "src": "43861:10:0" }, { "attributes": { @@ -60901,52 +60901,52 @@ "attributes": { "name": "bytes32" }, - "id": 2299, + "id": 1791, "name": "ElementaryTypeName", - "src": "42660:7:1" + "src": "43873:7:0" } ], - "id": 2300, + "id": 1792, "name": "ElementaryTypeNameExpression", - "src": "42660:7:1" + "src": "43873:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2291, + "referencedDeclaration": 1783, "type": "uint256", "value": "key" }, - "id": 2301, + "id": 1793, "name": "Identifier", - "src": "42668:3:1" + "src": "43881:3:0" } ], - "id": 2302, + "id": 1794, "name": "FunctionCall", - "src": "42660:12:1" + "src": "43873:12:0" } ], - "id": 2303, + "id": 1795, "name": "FunctionCall", - "src": "42640:33:1" + "src": "43853:33:0" } ], - "id": 2304, + "id": 1796, "name": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ], - "id": 2305, + "id": 1797, "name": "Block", - "src": "42623:57:1" + "src": "43835:59:0" } ], - "id": 2306, + "id": 1798, "name": "FunctionDefinition", - "src": "42540:140:1" + "src": "43752:142:0" }, { "attributes": { @@ -60957,7 +60957,7 @@ null ], "name": "contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -60967,9 +60967,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2307, + "id": 1799, "name": "StructuredDocumentation", - "src": "42686:68:1" + "src": "43902:70:0" }, { "children": [ @@ -60978,7 +60978,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60988,24 +60988,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2308, + "id": 1800, "name": "UserDefinedTypeName", - "src": "42777:16:1" + "src": "43996:16:0" } ], - "id": 2309, + "id": 1801, "name": "VariableDeclaration", - "src": "42777:28:1" + "src": "43996:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61017,19 +61017,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2310, + "id": 1802, "name": "ElementaryTypeName", - "src": "42807:7:1" + "src": "44026:7:0" } ], - "id": 2311, + "id": 1803, "name": "VariableDeclaration", - "src": "42807:11:1" + "src": "44026:11:0" } ], - "id": 2312, + "id": 1804, "name": "ParameterList", - "src": "42776:43:1" + "src": "43995:43:0" }, { "children": [ @@ -61038,7 +61038,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -61050,25 +61050,25 @@ "name": "bool", "type": "bool" }, - "id": 2313, + "id": 1805, "name": "ElementaryTypeName", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2314, + "id": 1806, "name": "VariableDeclaration", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2315, + "id": 1807, "name": "ParameterList", - "src": "42842:6:1" + "src": "44061:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2315 + "functionReturnParameters": 1807 }, "children": [ { @@ -61090,7 +61090,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61101,13 +61101,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2097, + "referencedDeclaration": 1589, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 2316, + "id": 1808, "name": "Identifier", - "src": "42866:9:1" + "src": "44086:9:0" }, { "attributes": { @@ -61116,7 +61116,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61125,18 +61125,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2309, + "referencedDeclaration": 1801, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2317, + "id": 1809, "name": "Identifier", - "src": "42876:3:1" + "src": "44096:3:0" } ], - "id": 2318, + "id": 1810, "name": "MemberAccess", - "src": "42876:10:1" + "src": "44096:10:0" }, { "attributes": { @@ -61172,52 +61172,52 @@ "attributes": { "name": "bytes32" }, - "id": 2319, + "id": 1811, "name": "ElementaryTypeName", - "src": "42888:7:1" + "src": "44108:7:0" } ], - "id": 2320, + "id": 1812, "name": "ElementaryTypeNameExpression", - "src": "42888:7:1" + "src": "44108:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2311, + "referencedDeclaration": 1803, "type": "uint256", "value": "key" }, - "id": 2321, + "id": 1813, "name": "Identifier", - "src": "42896:3:1" + "src": "44116:3:0" } ], - "id": 2322, + "id": 1814, "name": "FunctionCall", - "src": "42888:12:1" + "src": "44108:12:0" } ], - "id": 2323, + "id": 1815, "name": "FunctionCall", - "src": "42866:35:1" + "src": "44086:35:0" } ], - "id": 2324, + "id": 1816, "name": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ], - "id": 2325, + "id": 1817, "name": "Block", - "src": "42849:59:1" + "src": "44068:61:0" } ], - "id": 2326, + "id": 1818, "name": "FunctionDefinition", - "src": "42759:149:1" + "src": "43978:151:0" }, { "attributes": { @@ -61228,7 +61228,7 @@ null ], "name": "length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61238,9 +61238,9 @@ "attributes": { "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2327, + "id": 1819, "name": "StructuredDocumentation", - "src": "42914:72:1" + "src": "44137:74:0" }, { "children": [ @@ -61249,7 +61249,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61259,22 +61259,22 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2328, + "id": 1820, "name": "UserDefinedTypeName", - "src": "43007:16:1" + "src": "44233:16:0" } ], - "id": 2329, + "id": 1821, "name": "VariableDeclaration", - "src": "43007:28:1" + "src": "44233:28:0" } ], - "id": 2330, + "id": 1822, "name": "ParameterList", - "src": "43006:30:1" + "src": "44232:30:0" }, { "children": [ @@ -61283,7 +61283,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61295,25 +61295,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2331, + "id": 1823, "name": "ElementaryTypeName", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2332, + "id": 1824, "name": "VariableDeclaration", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2333, + "id": 1825, "name": "ParameterList", - "src": "43059:9:1" + "src": "44285:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2333 + "functionReturnParameters": 1825 }, "children": [ { @@ -61335,20 +61335,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 2110, + "referencedDeclaration": 1602, "type": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)", "value": "_length" }, - "id": 2334, + "id": 1826, "name": "Identifier", - "src": "43086:7:1" + "src": "44313:7:0" }, { "attributes": { @@ -61357,7 +61357,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61366,38 +61366,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2329, + "referencedDeclaration": 1821, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2335, + "id": 1827, "name": "Identifier", - "src": "43094:3:1" + "src": "44321:3:0" } ], - "id": 2336, + "id": 1828, "name": "MemberAccess", - "src": "43094:10:1" + "src": "44321:10:0" } ], - "id": 2337, + "id": 1829, "name": "FunctionCall", - "src": "43086:19:1" + "src": "44313:19:0" } ], - "id": 2338, + "id": 1830, "name": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ], - "id": 2339, + "id": 1831, "name": "Block", - "src": "43069:43:1" + "src": "44295:45:0" } ], - "id": 2340, + "id": 1832, "name": "FunctionDefinition", - "src": "42991:121:1" + "src": "44217:123:0" }, { "attributes": { @@ -61408,7 +61408,7 @@ null ], "name": "at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61418,9 +61418,9 @@ "attributes": { "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2341, + "id": 1833, "name": "StructuredDocumentation", - "src": "43117:318:1" + "src": "44347:326:0" }, { "children": [ @@ -61429,7 +61429,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61439,24 +61439,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2342, + "id": 1834, "name": "UserDefinedTypeName", - "src": "43452:16:1" + "src": "44691:16:0" } ], - "id": 2343, + "id": 1835, "name": "VariableDeclaration", - "src": "43452:28:1" + "src": "44691:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61468,19 +61468,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2344, + "id": 1836, "name": "ElementaryTypeName", - "src": "43482:7:1" + "src": "44721:7:0" } ], - "id": 2345, + "id": 1837, "name": "VariableDeclaration", - "src": "43482:13:1" + "src": "44721:13:0" } ], - "id": 2346, + "id": 1838, "name": "ParameterList", - "src": "43451:45:1" + "src": "44690:45:0" }, { "children": [ @@ -61489,7 +61489,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61501,21 +61501,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2347, + "id": 1839, "name": "ElementaryTypeName", - "src": "43520:7:1" + "src": "44759:7:0" } ], - "id": 2348, + "id": 1840, "name": "VariableDeclaration", - "src": "43520:7:1" + "src": "44759:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -61528,27 +61528,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2349, + "id": 1841, "name": "ElementaryTypeName", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2350, + "id": 1842, "name": "VariableDeclaration", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2351, + "id": 1843, "name": "ParameterList", - "src": "43519:18:1" + "src": "44758:18:0" }, { "children": [ { "attributes": { "assignments": [ - 2353, - 2355 + 1845, + 1847 ] }, "children": [ @@ -61557,7 +61557,7 @@ "constant": false, "mutability": "mutable", "name": "key", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61569,21 +61569,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2352, + "id": 1844, "name": "ElementaryTypeName", - "src": "43549:7:1" + "src": "44789:7:0" } ], - "id": 2353, + "id": 1845, "name": "VariableDeclaration", - "src": "43549:11:1" + "src": "44789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61595,14 +61595,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2354, + "id": 1846, "name": "ElementaryTypeName", - "src": "43562:7:1" + "src": "44802:7:0" } ], - "id": 2355, + "id": 1847, "name": "VariableDeclaration", - "src": "43562:13:1" + "src": "44802:13:0" }, { "attributes": { @@ -61623,7 +61623,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61634,13 +61634,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2145, + "referencedDeclaration": 1637, "type": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)", "value": "_at" }, - "id": 2356, + "id": 1848, "name": "Identifier", - "src": "43579:3:1" + "src": "44819:3:0" }, { "attributes": { @@ -61649,7 +61649,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61658,45 +61658,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2343, + "referencedDeclaration": 1835, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2357, + "id": 1849, "name": "Identifier", - "src": "43583:3:1" + "src": "44823:3:0" } ], - "id": 2358, + "id": 1850, "name": "MemberAccess", - "src": "43583:10:1" + "src": "44823:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2345, + "referencedDeclaration": 1837, "type": "uint256", "value": "index" }, - "id": 2359, + "id": 1851, "name": "Identifier", - "src": "43595:5:1" + "src": "44835:5:0" } ], - "id": 2360, + "id": 1852, "name": "FunctionCall", - "src": "43579:22:1" + "src": "44819:22:0" } ], - "id": 2361, + "id": 1853, "name": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "attributes": { - "functionReturnParameters": 2351 + "functionReturnParameters": 1843 }, "children": [ { @@ -61743,32 +61743,32 @@ "attributes": { "name": "uint256" }, - "id": 2362, + "id": 1854, "name": "ElementaryTypeName", - "src": "43619:7:1" + "src": "44860:7:0" } ], - "id": 2363, + "id": 1855, "name": "ElementaryTypeNameExpression", - "src": "43619:7:1" + "src": "44860:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2353, + "referencedDeclaration": 1845, "type": "bytes32", "value": "key" }, - "id": 2364, + "id": 1856, "name": "Identifier", - "src": "43627:3:1" + "src": "44868:3:0" } ], - "id": 2365, + "id": 1857, "name": "FunctionCall", - "src": "43619:12:1" + "src": "44860:12:0" }, { "attributes": { @@ -61804,14 +61804,14 @@ "attributes": { "name": "address" }, - "id": 2366, + "id": 1858, "name": "ElementaryTypeName", - "src": "43633:7:1" + "src": "44874:7:0" } ], - "id": 2367, + "id": 1859, "name": "ElementaryTypeNameExpression", - "src": "43633:7:1" + "src": "44874:7:0" }, { "attributes": { @@ -61847,14 +61847,14 @@ "attributes": { "name": "uint160" }, - "id": 2368, + "id": 1860, "name": "ElementaryTypeName", - "src": "43641:7:1" + "src": "44882:7:0" } ], - "id": 2369, + "id": 1861, "name": "ElementaryTypeNameExpression", - "src": "43641:7:1" + "src": "44882:7:0" }, { "attributes": { @@ -61890,62 +61890,62 @@ "attributes": { "name": "uint256" }, - "id": 2370, + "id": 1862, "name": "ElementaryTypeName", - "src": "43649:7:1" + "src": "44890:7:0" } ], - "id": 2371, + "id": 1863, "name": "ElementaryTypeNameExpression", - "src": "43649:7:1" + "src": "44890:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2355, + "referencedDeclaration": 1847, "type": "bytes32", "value": "value" }, - "id": 2372, + "id": 1864, "name": "Identifier", - "src": "43657:5:1" + "src": "44898:5:0" } ], - "id": 2373, + "id": 1865, "name": "FunctionCall", - "src": "43649:14:1" + "src": "44890:14:0" } ], - "id": 2374, + "id": 1866, "name": "FunctionCall", - "src": "43641:23:1" + "src": "44882:23:0" } ], - "id": 2375, + "id": 1867, "name": "FunctionCall", - "src": "43633:32:1" + "src": "44874:32:0" } ], - "id": 2376, + "id": 1868, "name": "TupleExpression", - "src": "43618:48:1" + "src": "44859:48:0" } ], - "id": 2377, + "id": 1869, "name": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ], - "id": 2378, + "id": 1870, "name": "Block", - "src": "43538:135:1" + "src": "44777:138:0" } ], - "id": 2379, + "id": 1871, "name": "FunctionDefinition", - "src": "43440:233:1" + "src": "44679:236:0" }, { "attributes": { @@ -61956,7 +61956,7 @@ null ], "name": "tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61966,9 +61966,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2380, + "id": 1872, "name": "StructuredDocumentation", - "src": "43679:169:1" + "src": "44923:174:0" }, { "children": [ @@ -61977,7 +61977,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61987,24 +61987,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2381, + "id": 1873, "name": "UserDefinedTypeName", - "src": "43869:16:1" + "src": "45119:16:0" } ], - "id": 2382, + "id": 1874, "name": "VariableDeclaration", - "src": "43869:28:1" + "src": "45119:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62016,19 +62016,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2383, + "id": 1875, "name": "ElementaryTypeName", - "src": "43899:7:1" + "src": "45149:7:0" } ], - "id": 2384, + "id": 1876, "name": "VariableDeclaration", - "src": "43899:11:1" + "src": "45149:11:0" } ], - "id": 2385, + "id": 1877, "name": "ParameterList", - "src": "43868:43:1" + "src": "45118:43:0" }, { "children": [ @@ -62037,7 +62037,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62049,21 +62049,21 @@ "name": "bool", "type": "bool" }, - "id": 2386, + "id": 1878, "name": "ElementaryTypeName", - "src": "43935:4:1" + "src": "45185:4:0" } ], - "id": 2387, + "id": 1879, "name": "VariableDeclaration", - "src": "43935:4:1" + "src": "45185:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62076,27 +62076,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2388, + "id": 1880, "name": "ElementaryTypeName", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2389, + "id": 1881, "name": "VariableDeclaration", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2390, + "id": 1882, "name": "ParameterList", - "src": "43934:15:1" + "src": "45184:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2392, - 2394 + 1884, + 1886 ] }, "children": [ @@ -62105,7 +62105,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62117,21 +62117,21 @@ "name": "bool", "type": "bool" }, - "id": 2391, + "id": 1883, "name": "ElementaryTypeName", - "src": "43961:4:1" + "src": "45212:4:0" } ], - "id": 2392, + "id": 1884, "name": "VariableDeclaration", - "src": "43961:12:1" + "src": "45212:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -62143,14 +62143,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2393, + "id": 1885, "name": "ElementaryTypeName", - "src": "43975:7:1" + "src": "45226:7:0" } ], - "id": 2394, + "id": 1886, "name": "VariableDeclaration", - "src": "43975:13:1" + "src": "45226:13:0" }, { "attributes": { @@ -62171,7 +62171,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62182,13 +62182,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2183, + "referencedDeclaration": 1675, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)", "value": "_tryGet" }, - "id": 2395, + "id": 1887, "name": "Identifier", - "src": "43992:7:1" + "src": "45243:7:0" }, { "attributes": { @@ -62197,7 +62197,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62206,18 +62206,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2382, + "referencedDeclaration": 1874, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2396, + "id": 1888, "name": "Identifier", - "src": "44000:3:1" + "src": "45251:3:0" } ], - "id": 2397, + "id": 1889, "name": "MemberAccess", - "src": "44000:10:1" + "src": "45251:10:0" }, { "attributes": { @@ -62253,46 +62253,46 @@ "attributes": { "name": "bytes32" }, - "id": 2398, + "id": 1890, "name": "ElementaryTypeName", - "src": "44012:7:1" + "src": "45263:7:0" } ], - "id": 2399, + "id": 1891, "name": "ElementaryTypeNameExpression", - "src": "44012:7:1" + "src": "45263:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2384, + "referencedDeclaration": 1876, "type": "uint256", "value": "key" }, - "id": 2400, + "id": 1892, "name": "Identifier", - "src": "44020:3:1" + "src": "45271:3:0" } ], - "id": 2401, + "id": 1893, "name": "FunctionCall", - "src": "44012:12:1" + "src": "45263:12:0" } ], - "id": 2402, + "id": 1894, "name": "FunctionCall", - "src": "43992:33:1" + "src": "45243:33:0" } ], - "id": 2403, + "id": 1895, "name": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "attributes": { - "functionReturnParameters": 2390 + "functionReturnParameters": 1882 }, "children": [ { @@ -62310,13 +62310,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2392, + "referencedDeclaration": 1884, "type": "bool", "value": "success" }, - "id": 2404, + "id": 1896, "name": "Identifier", - "src": "44043:7:1" + "src": "45295:7:0" }, { "attributes": { @@ -62352,14 +62352,14 @@ "attributes": { "name": "address" }, - "id": 2405, + "id": 1897, "name": "ElementaryTypeName", - "src": "44052:7:1" + "src": "45304:7:0" } ], - "id": 2406, + "id": 1898, "name": "ElementaryTypeNameExpression", - "src": "44052:7:1" + "src": "45304:7:0" }, { "attributes": { @@ -62395,14 +62395,14 @@ "attributes": { "name": "uint160" }, - "id": 2407, + "id": 1899, "name": "ElementaryTypeName", - "src": "44060:7:1" + "src": "45312:7:0" } ], - "id": 2408, + "id": 1900, "name": "ElementaryTypeNameExpression", - "src": "44060:7:1" + "src": "45312:7:0" }, { "attributes": { @@ -62438,62 +62438,62 @@ "attributes": { "name": "uint256" }, - "id": 2409, + "id": 1901, "name": "ElementaryTypeName", - "src": "44068:7:1" + "src": "45320:7:0" } ], - "id": 2410, + "id": 1902, "name": "ElementaryTypeNameExpression", - "src": "44068:7:1" + "src": "45320:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2394, + "referencedDeclaration": 1886, "type": "bytes32", "value": "value" }, - "id": 2411, + "id": 1903, "name": "Identifier", - "src": "44076:5:1" + "src": "45328:5:0" } ], - "id": 2412, + "id": 1904, "name": "FunctionCall", - "src": "44068:14:1" + "src": "45320:14:0" } ], - "id": 2413, + "id": 1905, "name": "FunctionCall", - "src": "44060:23:1" + "src": "45312:23:0" } ], - "id": 2414, + "id": 1906, "name": "FunctionCall", - "src": "44052:32:1" + "src": "45304:32:0" } ], - "id": 2415, + "id": 1907, "name": "TupleExpression", - "src": "44042:43:1" + "src": "45294:43:0" } ], - "id": 2416, + "id": 1908, "name": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ], - "id": 2417, + "id": 1909, "name": "Block", - "src": "43950:142:1" + "src": "45200:145:0" } ], - "id": 2418, + "id": 1910, "name": "FunctionDefinition", - "src": "43853:239:1" + "src": "45103:242:0" }, { "attributes": { @@ -62504,7 +62504,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62514,9 +62514,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2419, + "id": 1911, "name": "StructuredDocumentation", - "src": "44098:141:1" + "src": "45353:147:0" }, { "children": [ @@ -62525,7 +62525,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62535,24 +62535,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2420, + "id": 1912, "name": "UserDefinedTypeName", - "src": "44257:16:1" + "src": "45519:16:0" } ], - "id": 2421, + "id": 1913, "name": "VariableDeclaration", - "src": "44257:28:1" + "src": "45519:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62564,19 +62564,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2422, + "id": 1914, "name": "ElementaryTypeName", - "src": "44287:7:1" + "src": "45549:7:0" } ], - "id": 2423, + "id": 1915, "name": "VariableDeclaration", - "src": "44287:11:1" + "src": "45549:11:0" } ], - "id": 2424, + "id": 1916, "name": "ParameterList", - "src": "44256:43:1" + "src": "45518:43:0" }, { "children": [ @@ -62585,7 +62585,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62598,25 +62598,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2425, + "id": 1917, "name": "ElementaryTypeName", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2426, + "id": 1918, "name": "VariableDeclaration", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2427, + "id": 1919, "name": "ParameterList", - "src": "44322:9:1" + "src": "45584:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2427 + "functionReturnParameters": 1919 }, "children": [ { @@ -62653,14 +62653,14 @@ "attributes": { "name": "address" }, - "id": 2428, + "id": 1920, "name": "ElementaryTypeName", - "src": "44349:7:1" + "src": "45612:7:0" } ], - "id": 2429, + "id": 1921, "name": "ElementaryTypeNameExpression", - "src": "44349:7:1" + "src": "45612:7:0" }, { "attributes": { @@ -62696,14 +62696,14 @@ "attributes": { "name": "uint160" }, - "id": 2430, + "id": 1922, "name": "ElementaryTypeName", - "src": "44357:7:1" + "src": "45620:7:0" } ], - "id": 2431, + "id": 1923, "name": "ElementaryTypeNameExpression", - "src": "44357:7:1" + "src": "45620:7:0" }, { "attributes": { @@ -62739,14 +62739,14 @@ "attributes": { "name": "uint256" }, - "id": 2432, + "id": 1924, "name": "ElementaryTypeName", - "src": "44365:7:1" + "src": "45628:7:0" } ], - "id": 2433, + "id": 1925, "name": "ElementaryTypeNameExpression", - "src": "44365:7:1" + "src": "45628:7:0" }, { "attributes": { @@ -62767,7 +62767,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62776,16 +62776,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, + "referencedDeclaration": 1708, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)", "value": "_get" }, - "id": 2434, + "id": 1926, "name": "Identifier", - "src": "44373:4:1" + "src": "45636:4:0" }, { "attributes": { @@ -62794,7 +62794,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62803,18 +62803,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2421, + "referencedDeclaration": 1913, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2435, + "id": 1927, "name": "Identifier", - "src": "44378:3:1" + "src": "45641:3:0" } ], - "id": 2436, + "id": 1928, "name": "MemberAccess", - "src": "44378:10:1" + "src": "45641:10:0" }, { "attributes": { @@ -62850,67 +62850,67 @@ "attributes": { "name": "bytes32" }, - "id": 2437, + "id": 1929, "name": "ElementaryTypeName", - "src": "44390:7:1" + "src": "45653:7:0" } ], - "id": 2438, + "id": 1930, "name": "ElementaryTypeNameExpression", - "src": "44390:7:1" + "src": "45653:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2423, + "referencedDeclaration": 1915, "type": "uint256", "value": "key" }, - "id": 2439, + "id": 1931, "name": "Identifier", - "src": "44398:3:1" + "src": "45661:3:0" } ], - "id": 2440, + "id": 1932, "name": "FunctionCall", - "src": "44390:12:1" + "src": "45653:12:0" } ], - "id": 2441, + "id": 1933, "name": "FunctionCall", - "src": "44373:30:1" + "src": "45636:30:0" } ], - "id": 2442, + "id": 1934, "name": "FunctionCall", - "src": "44365:39:1" + "src": "45628:39:0" } ], - "id": 2443, + "id": 1935, "name": "FunctionCall", - "src": "44357:48:1" + "src": "45620:48:0" } ], - "id": 2444, + "id": 1936, "name": "FunctionCall", - "src": "44349:57:1" + "src": "45612:57:0" } ], - "id": 2445, + "id": 1937, "name": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ], - "id": 2446, + "id": 1938, "name": "Block", - "src": "44332:81:1" + "src": "45594:83:0" } ], - "id": 2447, + "id": 1939, "name": "FunctionDefinition", - "src": "44244:169:1" + "src": "45506:171:0" }, { "attributes": { @@ -62921,7 +62921,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62931,9 +62931,9 @@ "attributes": { "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2448, + "id": 1940, "name": "StructuredDocumentation", - "src": "44419:269:1" + "src": "45685:274:0" }, { "children": [ @@ -62942,7 +62942,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62952,24 +62952,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2449, + "id": 1941, "name": "UserDefinedTypeName", - "src": "44706:16:1" + "src": "45978:16:0" } ], - "id": 2450, + "id": 1942, "name": "VariableDeclaration", - "src": "44706:28:1" + "src": "45978:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62981,21 +62981,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2451, + "id": 1943, "name": "ElementaryTypeName", - "src": "44736:7:1" + "src": "46008:7:0" } ], - "id": 2452, + "id": 1944, "name": "VariableDeclaration", - "src": "44736:11:1" + "src": "46008:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63007,19 +63007,19 @@ "name": "string", "type": "string" }, - "id": 2453, + "id": 1945, "name": "ElementaryTypeName", - "src": "44749:6:1" + "src": "46021:6:0" } ], - "id": 2454, + "id": 1946, "name": "VariableDeclaration", - "src": "44749:26:1" + "src": "46021:26:0" } ], - "id": 2455, + "id": 1947, "name": "ParameterList", - "src": "44705:71:1" + "src": "45977:71:0" }, { "children": [ @@ -63028,7 +63028,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -63041,25 +63041,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2456, + "id": 1948, "name": "ElementaryTypeName", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2457, + "id": 1949, "name": "VariableDeclaration", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2458, + "id": 1950, "name": "ParameterList", - "src": "44799:9:1" + "src": "46071:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2458 + "functionReturnParameters": 1950 }, "children": [ { @@ -63096,14 +63096,14 @@ "attributes": { "name": "address" }, - "id": 2459, + "id": 1951, "name": "ElementaryTypeName", - "src": "44826:7:1" + "src": "46099:7:0" } ], - "id": 2460, + "id": 1952, "name": "ElementaryTypeNameExpression", - "src": "44826:7:1" + "src": "46099:7:0" }, { "attributes": { @@ -63139,14 +63139,14 @@ "attributes": { "name": "uint160" }, - "id": 2461, + "id": 1953, "name": "ElementaryTypeName", - "src": "44834:7:1" + "src": "46107:7:0" } ], - "id": 2462, + "id": 1954, "name": "ElementaryTypeNameExpression", - "src": "44834:7:1" + "src": "46107:7:0" }, { "attributes": { @@ -63182,14 +63182,14 @@ "attributes": { "name": "uint256" }, - "id": 2463, + "id": 1955, "name": "ElementaryTypeName", - "src": "44842:7:1" + "src": "46115:7:0" } ], - "id": 2464, + "id": 1956, "name": "ElementaryTypeNameExpression", - "src": "44842:7:1" + "src": "46115:7:0" }, { "attributes": { @@ -63210,7 +63210,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -63223,16 +63223,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, + "referencedDeclaration": 1743, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)", "value": "_get" }, - "id": 2465, + "id": 1957, "name": "Identifier", - "src": "44850:4:1" + "src": "46123:4:0" }, { "attributes": { @@ -63241,7 +63241,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -63250,18 +63250,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2450, + "referencedDeclaration": 1942, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2466, + "id": 1958, "name": "Identifier", - "src": "44855:3:1" + "src": "46128:3:0" } ], - "id": 2467, + "id": 1959, "name": "MemberAccess", - "src": "44855:10:1" + "src": "46128:10:0" }, { "attributes": { @@ -63297,85 +63297,85 @@ "attributes": { "name": "bytes32" }, - "id": 2468, + "id": 1960, "name": "ElementaryTypeName", - "src": "44867:7:1" + "src": "46140:7:0" } ], - "id": 2469, + "id": 1961, "name": "ElementaryTypeNameExpression", - "src": "44867:7:1" + "src": "46140:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2452, + "referencedDeclaration": 1944, "type": "uint256", "value": "key" }, - "id": 2470, + "id": 1962, "name": "Identifier", - "src": "44875:3:1" + "src": "46148:3:0" } ], - "id": 2471, + "id": 1963, "name": "FunctionCall", - "src": "44867:12:1" + "src": "46140:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2454, + "referencedDeclaration": 1946, "type": "string memory", "value": "errorMessage" }, - "id": 2472, + "id": 1964, "name": "Identifier", - "src": "44881:12:1" + "src": "46154:12:0" } ], - "id": 2473, + "id": 1965, "name": "FunctionCall", - "src": "44850:44:1" + "src": "46123:44:0" } ], - "id": 2474, + "id": 1966, "name": "FunctionCall", - "src": "44842:53:1" + "src": "46115:53:0" } ], - "id": 2475, + "id": 1967, "name": "FunctionCall", - "src": "44834:62:1" + "src": "46107:62:0" } ], - "id": 2476, + "id": 1968, "name": "FunctionCall", - "src": "44826:71:1" + "src": "46099:71:0" } ], - "id": 2477, + "id": 1969, "name": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ], - "id": 2478, + "id": 1970, "name": "Block", - "src": "44809:95:1" + "src": "46081:97:0" } ], - "id": 2479, + "id": 1971, "name": "FunctionDefinition", - "src": "44693:211:1" + "src": "45965:213:0" } ], - "id": 2480, + "id": 1972, "name": "ContractDefinition", - "src": "35943:8963:1" + "src": "36981:9200:0" }, { "attributes": { @@ -63389,9 +63389,9 @@ ".0" ] }, - "id": 2481, + "id": 1973, "name": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "attributes": { @@ -63405,19 +63405,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev String operations." }, - "id": 2482, + "id": 1974, "name": "StructuredDocumentation", - "src": "44992:34:1" + "src": "46272:36:0" }, { "attributes": { @@ -63428,7 +63428,7 @@ null ], "name": "toString", - "scope": 2566, + "scope": 2058, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -63438,9 +63438,9 @@ "attributes": { "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2483, + "id": 1975, "name": "StructuredDocumentation", - "src": "45049:82:1" + "src": "46333:84:0" }, { "children": [ @@ -63449,7 +63449,7 @@ "constant": false, "mutability": "mutable", "name": "value", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63461,19 +63461,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2484, + "id": 1976, "name": "ElementaryTypeName", - "src": "45154:7:1" + "src": "46441:7:0" } ], - "id": 2485, + "id": 1977, "name": "VariableDeclaration", - "src": "45154:13:1" + "src": "46441:13:0" } ], - "id": 2486, + "id": 1978, "name": "ParameterList", - "src": "45153:15:1" + "src": "46440:15:0" }, { "children": [ @@ -63482,7 +63482,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63494,19 +63494,19 @@ "name": "string", "type": "string" }, - "id": 2487, + "id": 1979, "name": "ElementaryTypeName", - "src": "45192:6:1" + "src": "46479:6:0" } ], - "id": 2488, + "id": 1980, "name": "VariableDeclaration", - "src": "45192:13:1" + "src": "46479:13:0" } ], - "id": 2489, + "id": 1981, "name": "ParameterList", - "src": "45191:15:1" + "src": "46478:15:0" }, { "children": [ @@ -63532,13 +63532,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2490, + "id": 1982, "name": "Identifier", - "src": "45409:5:1" + "src": "46700:5:0" }, { "attributes": { @@ -63551,20 +63551,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2491, + "id": 1983, "name": "Literal", - "src": "45418:1:1" + "src": "46709:1:0" } ], - "id": 2492, + "id": 1984, "name": "BinaryOperation", - "src": "45409:10:1" + "src": "46700:10:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -63578,29 +63578,29 @@ "type": "literal_string \"0\"", "value": "0" }, - "id": 2493, + "id": 1985, "name": "Literal", - "src": "45442:3:1" + "src": "46734:3:0" } ], - "id": 2494, + "id": 1986, "name": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ], - "id": 2495, + "id": 1987, "name": "Block", - "src": "45421:35:1" + "src": "46712:37:0" } ], - "id": 2496, + "id": 1988, "name": "IfStatement", - "src": "45405:51:1" + "src": "46696:53:0" }, { "attributes": { "assignments": [ - 2498 + 1990 ] }, "children": [ @@ -63609,7 +63609,7 @@ "constant": false, "mutability": "mutable", "name": "temp", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63621,37 +63621,37 @@ "name": "uint256", "type": "uint256" }, - "id": 2497, + "id": 1989, "name": "ElementaryTypeName", - "src": "45465:7:1" + "src": "46759:7:0" } ], - "id": 2498, + "id": 1990, "name": "VariableDeclaration", - "src": "45465:12:1" + "src": "46759:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2499, + "id": 1991, "name": "Identifier", - "src": "45480:5:1" + "src": "46774:5:0" } ], - "id": 2500, + "id": 1992, "name": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "attributes": { "assignments": [ - 2502 + 1994 ] }, "children": [ @@ -63660,7 +63660,7 @@ "constant": false, "mutability": "mutable", "name": "digits", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63672,19 +63672,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2501, + "id": 1993, "name": "ElementaryTypeName", - "src": "45495:7:1" + "src": "46790:7:0" } ], - "id": 2502, + "id": 1994, "name": "VariableDeclaration", - "src": "45495:14:1" + "src": "46790:14:0" } ], - "id": 2503, + "id": 1995, "name": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "children": [ @@ -63707,13 +63707,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2504, + "id": 1996, "name": "Identifier", - "src": "45526:4:1" + "src": "46822:4:0" }, { "attributes": { @@ -63726,14 +63726,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2505, + "id": 1997, "name": "Literal", - "src": "45534:1:1" + "src": "46830:1:0" } ], - "id": 2506, + "id": 1998, "name": "BinaryOperation", - "src": "45526:9:1" + "src": "46822:9:0" }, { "children": [ @@ -63755,23 +63755,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2507, + "id": 1999, "name": "Identifier", - "src": "45551:6:1" + "src": "46848:6:0" } ], - "id": 2508, + "id": 2000, "name": "UnaryOperation", - "src": "45551:8:1" + "src": "46848:8:0" } ], - "id": 2509, + "id": 2001, "name": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "children": [ @@ -63790,13 +63790,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2510, + "id": 2002, "name": "Identifier", - "src": "45573:4:1" + "src": "46871:4:0" }, { "attributes": { @@ -63809,34 +63809,34 @@ "type": "int_const 10", "value": "10" }, - "id": 2511, + "id": 2003, "name": "Literal", - "src": "45581:2:1" + "src": "46879:2:0" } ], - "id": 2512, + "id": 2004, "name": "Assignment", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2513, + "id": 2005, "name": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2514, + "id": 2006, "name": "Block", - "src": "45537:57:1" + "src": "46833:60:0" } ], - "id": 2515, + "id": 2007, "name": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "attributes": { "assignments": [ - 2517 + 2009 ] }, "children": [ @@ -63845,7 +63845,7 @@ "constant": false, "mutability": "mutable", "name": "buffer", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -63857,14 +63857,14 @@ "name": "bytes", "type": "bytes" }, - "id": 2516, + "id": 2008, "name": "ElementaryTypeName", - "src": "45603:5:1" + "src": "46903:5:0" } ], - "id": 2517, + "id": 2009, "name": "VariableDeclaration", - "src": "45603:19:1" + "src": "46903:19:0" }, { "attributes": { @@ -63901,42 +63901,42 @@ "name": "bytes", "type": "bytes" }, - "id": 2518, + "id": 2010, "name": "ElementaryTypeName", - "src": "45629:5:1" + "src": "46929:5:0" } ], - "id": 2519, + "id": 2011, "name": "NewExpression", - "src": "45625:9:1" + "src": "46925:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2520, + "id": 2012, "name": "Identifier", - "src": "45635:6:1" + "src": "46935:6:0" } ], - "id": 2521, + "id": 2013, "name": "FunctionCall", - "src": "45625:17:1" + "src": "46925:17:0" } ], - "id": 2522, + "id": 2014, "name": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "attributes": { "assignments": [ - 2524 + 2016 ] }, "children": [ @@ -63945,7 +63945,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63957,14 +63957,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2523, + "id": 2015, "name": "ElementaryTypeName", - "src": "45652:7:1" + "src": "46953:7:0" } ], - "id": 2524, + "id": 2016, "name": "VariableDeclaration", - "src": "45652:13:1" + "src": "46953:13:0" }, { "attributes": { @@ -63985,13 +63985,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2525, + "id": 2017, "name": "Identifier", - "src": "45668:6:1" + "src": "46969:6:0" }, { "attributes": { @@ -64004,19 +64004,19 @@ "type": "int_const 1", "value": "1" }, - "id": 2526, + "id": 2018, "name": "Literal", - "src": "45677:1:1" + "src": "46978:1:0" } ], - "id": 2527, + "id": 2019, "name": "BinaryOperation", - "src": "45668:10:1" + "src": "46969:10:0" } ], - "id": 2528, + "id": 2020, "name": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "children": [ @@ -64035,36 +64035,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2529, + "id": 2021, "name": "Identifier", - "src": "45688:4:1" + "src": "46990:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2530, + "id": 2022, "name": "Identifier", - "src": "45695:5:1" + "src": "46997:5:0" } ], - "id": 2531, + "id": 2023, "name": "Assignment", - "src": "45688:12:1" + "src": "46990:12:0" } ], - "id": 2532, + "id": 2024, "name": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "children": [ @@ -64087,13 +64087,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2533, + "id": 2025, "name": "Identifier", - "src": "45717:4:1" + "src": "47020:4:0" }, { "attributes": { @@ -64106,14 +64106,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2534, + "id": 2026, "name": "Literal", - "src": "45725:1:1" + "src": "47028:1:0" } ], - "id": 2535, + "id": 2027, "name": "BinaryOperation", - "src": "45717:9:1" + "src": "47020:9:0" }, { "children": [ @@ -64143,13 +64143,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2536, + "id": 2028, "name": "Identifier", - "src": "45742:6:1" + "src": "47046:6:0" }, { "attributes": { @@ -64167,23 +64167,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2524, + "referencedDeclaration": 2016, "type": "uint256", "value": "index" }, - "id": 2537, + "id": 2029, "name": "Identifier", - "src": "45749:5:1" + "src": "47053:5:0" } ], - "id": 2538, + "id": 2030, "name": "UnaryOperation", - "src": "45749:7:1" + "src": "47053:7:0" } ], - "id": 2539, + "id": 2031, "name": "IndexAccess", - "src": "45742:15:1" + "src": "47046:15:0" }, { "attributes": { @@ -64219,14 +64219,14 @@ "attributes": { "name": "bytes1" }, - "id": 2540, + "id": 2032, "name": "ElementaryTypeName", - "src": "45760:6:1" + "src": "47064:6:0" } ], - "id": 2541, + "id": 2033, "name": "ElementaryTypeNameExpression", - "src": "45760:6:1" + "src": "47064:6:0" }, { "attributes": { @@ -64262,14 +64262,14 @@ "attributes": { "name": "uint8" }, - "id": 2542, + "id": 2034, "name": "ElementaryTypeName", - "src": "45767:5:1" + "src": "47071:5:0" } ], - "id": 2543, + "id": 2035, "name": "ElementaryTypeNameExpression", - "src": "45767:5:1" + "src": "47071:5:0" }, { "attributes": { @@ -64296,9 +64296,9 @@ "type": "int_const 48", "value": "48" }, - "id": 2544, + "id": 2036, "name": "Literal", - "src": "45773:2:1" + "src": "47077:2:0" }, { "attributes": { @@ -64319,13 +64319,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2545, + "id": 2037, "name": "Identifier", - "src": "45778:4:1" + "src": "47082:4:0" }, { "attributes": { @@ -64338,39 +64338,39 @@ "type": "int_const 10", "value": "10" }, - "id": 2546, + "id": 2038, "name": "Literal", - "src": "45785:2:1" + "src": "47089:2:0" } ], - "id": 2547, + "id": 2039, "name": "BinaryOperation", - "src": "45778:9:1" + "src": "47082:9:0" } ], - "id": 2548, + "id": 2040, "name": "BinaryOperation", - "src": "45773:14:1" + "src": "47077:14:0" } ], - "id": 2549, + "id": 2041, "name": "FunctionCall", - "src": "45767:21:1" + "src": "47071:21:0" } ], - "id": 2550, + "id": 2042, "name": "FunctionCall", - "src": "45760:29:1" + "src": "47064:29:0" } ], - "id": 2551, + "id": 2043, "name": "Assignment", - "src": "45742:47:1" + "src": "47046:47:0" } ], - "id": 2552, + "id": 2044, "name": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "children": [ @@ -64389,13 +64389,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2553, + "id": 2045, "name": "Identifier", - "src": "45803:4:1" + "src": "47108:4:0" }, { "attributes": { @@ -64408,33 +64408,33 @@ "type": "int_const 10", "value": "10" }, - "id": 2554, + "id": 2046, "name": "Literal", - "src": "45811:2:1" + "src": "47116:2:0" } ], - "id": 2555, + "id": 2047, "name": "Assignment", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2556, + "id": 2048, "name": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2557, + "id": 2049, "name": "Block", - "src": "45728:96:1" + "src": "47031:99:0" } ], - "id": 2558, + "id": 2050, "name": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -64471,52 +64471,52 @@ "attributes": { "name": "string" }, - "id": 2559, + "id": 2051, "name": "ElementaryTypeName", - "src": "45840:6:1" + "src": "47147:6:0" } ], - "id": 2560, + "id": 2052, "name": "ElementaryTypeNameExpression", - "src": "45840:6:1" + "src": "47147:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2561, + "id": 2053, "name": "Identifier", - "src": "45847:6:1" + "src": "47154:6:0" } ], - "id": 2562, + "id": 2054, "name": "FunctionCall", - "src": "45840:14:1" + "src": "47147:14:0" } ], - "id": 2563, + "id": 2055, "name": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ], - "id": 2564, + "id": 2056, "name": "Block", - "src": "45207:654:1" + "src": "46494:675:0" } ], - "id": 2565, + "id": 2057, "name": "FunctionDefinition", - "src": "45136:725:1" + "src": "46423:746:0" } ], - "id": 2566, + "id": 2058, "name": "ContractDefinition", - "src": "45027:836:1" + "src": "46310:862:0" }, { "attributes": { @@ -64530,43 +64530,43 @@ ".0" ] }, - "id": 2567, + "id": 2059, "name": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, - "id": 2568, + "id": 2060, "name": "StructuredDocumentation", - "src": "45955:124:1" + "src": "47269:127:0" }, { "attributes": {}, @@ -64574,17 +64574,17 @@ { "attributes": { "name": "Context", - "referencedDeclaration": 530, + "referencedDeclaration": 22, "type": "contract Context" }, - "id": 2569, + "id": 2061, "name": "UserDefinedTypeName", - "src": "46099:7:1" + "src": "47417:7:0" } ], - "id": 2570, + "id": 2062, "name": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "attributes": {}, @@ -64592,17 +64592,17 @@ { "attributes": { "name": "ERC165", - "referencedDeclaration": 781, + "referencedDeclaration": 273, "type": "contract ERC165" }, - "id": 2571, + "id": 2063, "name": "UserDefinedTypeName", - "src": "46108:6:1" + "src": "47426:6:0" } ], - "id": 2572, + "id": 2064, "name": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "attributes": {}, @@ -64610,17 +64610,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 2573, + "id": 2065, "name": "UserDefinedTypeName", - "src": "46116:7:1" + "src": "47434:7:0" } ], - "id": 2574, + "id": 2066, "name": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "attributes": {}, @@ -64628,17 +64628,17 @@ { "attributes": { "name": "IERC721Metadata", - "referencedDeclaration": 680, + "referencedDeclaration": 172, "type": "contract IERC721Metadata" }, - "id": 2575, + "id": 2067, "name": "UserDefinedTypeName", - "src": "46125:15:1" + "src": "47443:15:0" } ], - "id": 2576, + "id": 2068, "name": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "attributes": {}, @@ -64646,55 +64646,55 @@ { "attributes": { "name": "IERC721Enumerable", - "referencedDeclaration": 709, + "referencedDeclaration": 201, "type": "contract IERC721Enumerable" }, - "id": 2577, + "id": 2069, "name": "UserDefinedTypeName", - "src": "46142:17:1" + "src": "47460:17:0" } ], - "id": 2578, + "id": 2070, "name": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" }, { "children": [ { "attributes": { "name": "SafeMath", - "referencedDeclaration": 1135, + "referencedDeclaration": 627, "type": "library SafeMath" }, - "id": 2579, + "id": 2071, "name": "UserDefinedTypeName", - "src": "46172:8:1" + "src": "47491:8:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2580, + "id": 2072, "name": "ElementaryTypeName", - "src": "46185:7:1" + "src": "47504:7:0" } ], - "id": 2581, + "id": 2073, "name": "UsingForDirective", - "src": "46166:27:1" + "src": "47485:27:0" }, { "children": [ { "attributes": { "name": "Address", - "referencedDeclaration": 1430, + "referencedDeclaration": 922, "type": "library Address" }, - "id": 2582, + "id": 2074, "name": "UserDefinedTypeName", - "src": "46204:7:1" + "src": "47524:7:0" }, { "attributes": { @@ -64702,101 +64702,101 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2583, + "id": 2075, "name": "ElementaryTypeName", - "src": "46216:7:1" + "src": "47536:7:0" } ], - "id": 2584, + "id": 2076, "name": "UsingForDirective", - "src": "46198:26:1" + "src": "47518:26:0" }, { "children": [ { "attributes": { "name": "EnumerableSet", - "referencedDeclaration": 1921, + "referencedDeclaration": 1413, "type": "library EnumerableSet" }, - "id": 2585, + "id": 2077, "name": "UserDefinedTypeName", - "src": "46235:13:1" + "src": "47556:13:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2586, + "id": 2078, "name": "UserDefinedTypeName", - "src": "46253:21:1" + "src": "47574:21:0" } ], - "id": 2587, + "id": 2079, "name": "UsingForDirective", - "src": "46229:46:1" + "src": "47550:46:0" }, { "children": [ { "attributes": { "name": "EnumerableMap", - "referencedDeclaration": 2480, + "referencedDeclaration": 1972, "type": "library EnumerableMap" }, - "id": 2588, + "id": 2080, "name": "UserDefinedTypeName", - "src": "46286:13:1" + "src": "47608:13:0" }, { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2589, + "id": 2081, "name": "UserDefinedTypeName", - "src": "46304:30:1" + "src": "47626:30:0" } ], - "id": 2590, + "id": 2082, "name": "UsingForDirective", - "src": "46280:55:1" + "src": "47602:55:0" }, { "children": [ { "attributes": { "name": "Strings", - "referencedDeclaration": 2566, + "referencedDeclaration": 2058, "type": "library Strings" }, - "id": 2591, + "id": 2083, "name": "UserDefinedTypeName", - "src": "46346:7:1" + "src": "47669:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2592, + "id": 2084, "name": "ElementaryTypeName", - "src": "46358:7:1" + "src": "47681:7:0" } ], - "id": 2593, + "id": 2085, "name": "UsingForDirective", - "src": "46340:26:1" + "src": "47663:26:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_ERC721_RECEIVED", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -64808,9 +64808,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2594, + "id": 2086, "name": "ElementaryTypeName", - "src": "46544:6:1" + "src": "47871:6:0" }, { "attributes": { @@ -64823,21 +64823,21 @@ "type": "int_const 353073666", "value": "0x150b7a02" }, - "id": 2595, + "id": 2087, "name": "Literal", - "src": "46587:10:1" + "src": "47914:10:0" } ], - "id": 2596, + "id": 2088, "name": "VariableDeclaration", - "src": "46544:53:1" + "src": "47871:53:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_holderTokens", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => struct EnumerableSet.UintSet)", @@ -64854,36 +64854,36 @@ "name": "address", "type": "address" }, - "id": 2597, + "id": 2089, "name": "ElementaryTypeName", - "src": "46690:7:1" + "src": "48020:7:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2598, + "id": 2090, "name": "UserDefinedTypeName", - "src": "46701:21:1" + "src": "48031:21:0" } ], - "id": 2599, + "id": 2091, "name": "Mapping", - "src": "46681:42:1" + "src": "48011:42:0" } ], - "id": 2600, + "id": 2092, "name": "VariableDeclaration", - "src": "46681:64:1" + "src": "48011:64:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenOwners", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "struct EnumerableMap.UintToAddressMap", @@ -64893,24 +64893,24 @@ { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2601, + "id": 2093, "name": "UserDefinedTypeName", - "src": "46809:30:1" + "src": "48142:30:0" } ], - "id": 2602, + "id": 2094, "name": "VariableDeclaration", - "src": "46809:51:1" + "src": "48142:51:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => address)", @@ -64927,9 +64927,9 @@ "name": "uint256", "type": "uint256" }, - "id": 2603, + "id": 2095, "name": "ElementaryTypeName", - "src": "46925:7:1" + "src": "48261:7:0" }, { "attributes": { @@ -64937,26 +64937,26 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2604, + "id": 2096, "name": "ElementaryTypeName", - "src": "46936:7:1" + "src": "48272:7:0" } ], - "id": 2605, + "id": 2097, "name": "Mapping", - "src": "46916:28:1" + "src": "48252:28:0" } ], - "id": 2606, + "id": 2098, "name": "VariableDeclaration", - "src": "46916:52:1" + "src": "48252:52:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_operatorApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => mapping(address => bool))", @@ -64973,9 +64973,9 @@ "name": "address", "type": "address" }, - "id": 2607, + "id": 2099, "name": "ElementaryTypeName", - "src": "47032:7:1" + "src": "48371:7:0" }, { "attributes": { @@ -64987,40 +64987,40 @@ "name": "address", "type": "address" }, - "id": 2608, + "id": 2100, "name": "ElementaryTypeName", - "src": "47052:7:1" + "src": "48391:7:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 2609, + "id": 2101, "name": "ElementaryTypeName", - "src": "47063:4:1" + "src": "48402:4:0" } ], - "id": 2610, + "id": 2102, "name": "Mapping", - "src": "47043:25:1" + "src": "48382:25:0" } ], - "id": 2611, + "id": 2103, "name": "Mapping", - "src": "47023:46:1" + "src": "48362:46:0" } ], - "id": 2612, + "id": 2104, "name": "VariableDeclaration", - "src": "47023:73:1" + "src": "48362:73:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_name", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65032,21 +65032,21 @@ "name": "string", "type": "string" }, - "id": 2613, + "id": 2105, "name": "ElementaryTypeName", - "src": "47121:6:1" + "src": "48463:6:0" } ], - "id": 2614, + "id": 2106, "name": "VariableDeclaration", - "src": "47121:20:1" + "src": "48463:20:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_symbol", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65058,21 +65058,21 @@ "name": "string", "type": "string" }, - "id": 2615, + "id": 2107, "name": "ElementaryTypeName", - "src": "47168:6:1" + "src": "48513:6:0" } ], - "id": 2616, + "id": 2108, "name": "VariableDeclaration", - "src": "47168:22:1" + "src": "48513:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURIs", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => string)", @@ -65089,35 +65089,35 @@ "name": "uint256", "type": "uint256" }, - "id": 2617, + "id": 2109, "name": "ElementaryTypeName", - "src": "47245:7:1" + "src": "48593:7:0" }, { "attributes": { "name": "string", "type": "string" }, - "id": 2618, + "id": 2110, "name": "ElementaryTypeName", - "src": "47256:6:1" + "src": "48604:6:0" } ], - "id": 2619, + "id": 2111, "name": "Mapping", - "src": "47236:27:1" + "src": "48584:27:0" } ], - "id": 2620, + "id": 2112, "name": "VariableDeclaration", - "src": "47236:46:1" + "src": "48584:46:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_baseURI", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65129,21 +65129,21 @@ "name": "string", "type": "string" }, - "id": 2621, + "id": 2113, "name": "ElementaryTypeName", - "src": "47305:6:1" + "src": "48656:6:0" } ], - "id": 2622, + "id": 2114, "name": "VariableDeclaration", - "src": "47305:23:1" + "src": "48656:23:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65155,9 +65155,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2623, + "id": 2115, "name": "ElementaryTypeName", - "src": "48204:6:1" + "src": "49571:6:0" }, { "attributes": { @@ -65170,21 +65170,21 @@ "type": "int_const 2158778573", "value": "0x80ac58cd" }, - "id": 2624, + "id": 2116, "name": "Literal", - "src": "48251:10:1" + "src": "49618:10:0" } ], - "id": 2625, + "id": 2117, "name": "VariableDeclaration", - "src": "48204:57:1" + "src": "49571:57:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65196,9 +65196,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2626, + "id": 2118, "name": "ElementaryTypeName", - "src": "48527:6:1" + "src": "49903:6:0" }, { "attributes": { @@ -65211,21 +65211,21 @@ "type": "int_const 1532892063", "value": "0x5b5e139f" }, - "id": 2627, + "id": 2119, "name": "Literal", - "src": "48583:10:1" + "src": "49959:10:0" } ], - "id": 2628, + "id": 2120, "name": "VariableDeclaration", - "src": "48527:66:1" + "src": "49903:66:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65237,9 +65237,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2629, + "id": 2121, "name": "ElementaryTypeName", - "src": "48898:6:1" + "src": "50283:6:0" }, { "attributes": { @@ -65252,14 +65252,14 @@ "type": "int_const 2014223715", "value": "0x780e9d63" }, - "id": 2630, + "id": 2122, "name": "Literal", - "src": "48956:10:1" + "src": "50341:10:0" } ], - "id": 2631, + "id": 2123, "name": "VariableDeclaration", - "src": "48898:68:1" + "src": "50283:68:0" }, { "attributes": { @@ -65270,7 +65270,7 @@ null ], "name": "", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -65280,9 +65280,9 @@ "attributes": { "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2632, + "id": 2124, "name": "StructuredDocumentation", - "src": "48973:108:1" + "src": "50360:110:0" }, { "children": [ @@ -65291,7 +65291,7 @@ "constant": false, "mutability": "mutable", "name": "name_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65303,21 +65303,21 @@ "name": "string", "type": "string" }, - "id": 2633, + "id": 2125, "name": "ElementaryTypeName", - "src": "49099:6:1" + "src": "50489:6:0" } ], - "id": 2634, + "id": 2126, "name": "VariableDeclaration", - "src": "49099:19:1" + "src": "50489:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "symbol_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65329,19 +65329,19 @@ "name": "string", "type": "string" }, - "id": 2635, + "id": 2127, "name": "ElementaryTypeName", - "src": "49120:6:1" + "src": "50510:6:0" } ], - "id": 2636, + "id": 2128, "name": "VariableDeclaration", - "src": "49120:21:1" + "src": "50510:21:0" } ], - "id": 2637, + "id": 2129, "name": "ParameterList", - "src": "49098:44:1" + "src": "50488:44:0" }, { "attributes": { @@ -65350,9 +65350,9 @@ ] }, "children": [], - "id": 2638, + "id": 2130, "name": "ParameterList", - "src": "49143:0:1" + "src": "50533:0:0" }, { "children": [ @@ -65373,36 +65373,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2639, + "id": 2131, "name": "Identifier", - "src": "49153:5:1" + "src": "50544:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2634, + "referencedDeclaration": 2126, "type": "string memory", "value": "name_" }, - "id": 2640, + "id": 2132, "name": "Identifier", - "src": "49161:5:1" + "src": "50552:5:0" } ], - "id": 2641, + "id": 2133, "name": "Assignment", - "src": "49153:13:1" + "src": "50544:13:0" } ], - "id": 2642, + "id": 2134, "name": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "children": [ @@ -65421,36 +65421,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2643, + "id": 2135, "name": "Identifier", - "src": "49176:7:1" + "src": "50568:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2636, + "referencedDeclaration": 2128, "type": "string memory", "value": "symbol_" }, - "id": 2644, + "id": 2136, "name": "Identifier", - "src": "49186:7:1" + "src": "50578:7:0" } ], - "id": 2645, + "id": 2137, "name": "Assignment", - "src": "49176:17:1" + "src": "50568:17:0" } ], - "id": 2646, + "id": 2138, "name": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "children": [ @@ -65480,36 +65480,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2647, + "id": 2139, "name": "Identifier", - "src": "49281:18:1" + "src": "50676:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2625, + "referencedDeclaration": 2117, "type": "bytes4", "value": "_INTERFACE_ID_ERC721" }, - "id": 2648, + "id": 2140, "name": "Identifier", - "src": "49300:20:1" + "src": "50695:20:0" } ], - "id": 2649, + "id": 2141, "name": "FunctionCall", - "src": "49281:40:1" + "src": "50676:40:0" } ], - "id": 2650, + "id": 2142, "name": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "children": [ @@ -65539,36 +65539,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2651, + "id": 2143, "name": "Identifier", - "src": "49331:18:1" + "src": "50727:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2628, + "referencedDeclaration": 2120, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_METADATA" }, - "id": 2652, + "id": 2144, "name": "Identifier", - "src": "49350:29:1" + "src": "50746:29:0" } ], - "id": 2653, + "id": 2145, "name": "FunctionCall", - "src": "49331:49:1" + "src": "50727:49:0" } ], - "id": 2654, + "id": 2146, "name": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "children": [ @@ -65598,51 +65598,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2655, + "id": 2147, "name": "Identifier", - "src": "49390:18:1" + "src": "50787:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2631, + "referencedDeclaration": 2123, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_ENUMERABLE" }, - "id": 2656, + "id": 2148, "name": "Identifier", - "src": "49409:31:1" + "src": "50806:31:0" } ], - "id": 2657, + "id": 2149, "name": "FunctionCall", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2658, + "id": 2150, "name": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2659, + "id": 2151, "name": "Block", - "src": "49143:305:1" + "src": "50533:313:0" } ], - "id": 2660, + "id": 2152, "name": "FunctionDefinition", - "src": "49086:362:1" + "src": "50476:370:0" }, { "attributes": { "baseFunctions": [ - 580 + 72 ], "functionSelector": "70a08231", "implemented": true, @@ -65652,7 +65652,7 @@ null ], "name": "balanceOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -65662,9 +65662,9 @@ "attributes": { "text": " @dev See {IERC721-balanceOf}." }, - "id": 2661, + "id": 2153, "name": "StructuredDocumentation", - "src": "49454:48:1" + "src": "50854:50:0" }, { "attributes": { @@ -65672,9 +65672,9 @@ null ] }, - "id": 2665, + "id": 2157, "name": "OverrideSpecifier", - "src": "49561:8:1" + "src": "50964:8:0" }, { "children": [ @@ -65683,7 +65683,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -65696,19 +65696,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2662, + "id": 2154, "name": "ElementaryTypeName", - "src": "49526:7:1" + "src": "50929:7:0" } ], - "id": 2663, + "id": 2155, "name": "VariableDeclaration", - "src": "49526:13:1" + "src": "50929:13:0" } ], - "id": 2664, + "id": 2156, "name": "ParameterList", - "src": "49525:15:1" + "src": "50928:15:0" }, { "children": [ @@ -65717,7 +65717,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -65729,19 +65729,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2666, + "id": 2158, "name": "ElementaryTypeName", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2667, + "id": 2159, "name": "VariableDeclaration", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2668, + "id": 2160, "name": "ParameterList", - "src": "49578:9:1" + "src": "50981:9:0" }, { "children": [ @@ -65782,9 +65782,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2669, + "id": 2161, "name": "Identifier", - "src": "49598:7:1" + "src": "51002:7:0" }, { "attributes": { @@ -65805,13 +65805,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2670, + "id": 2162, "name": "Identifier", - "src": "49606:5:1" + "src": "51010:5:0" }, { "attributes": { @@ -65847,14 +65847,14 @@ "attributes": { "name": "address" }, - "id": 2671, + "id": 2163, "name": "ElementaryTypeName", - "src": "49615:7:1" + "src": "51019:7:0" } ], - "id": 2672, + "id": 2164, "name": "ElementaryTypeNameExpression", - "src": "49615:7:1" + "src": "51019:7:0" }, { "attributes": { @@ -65867,19 +65867,19 @@ "type": "int_const 0", "value": "0" }, - "id": 2673, + "id": 2165, "name": "Literal", - "src": "49623:1:1" + "src": "51027:1:0" } ], - "id": 2674, + "id": 2166, "name": "FunctionCall", - "src": "49615:10:1" + "src": "51019:10:0" } ], - "id": 2675, + "id": 2167, "name": "BinaryOperation", - "src": "49606:19:1" + "src": "51010:19:0" }, { "attributes": { @@ -65892,23 +65892,23 @@ "type": "literal_string \"ERC721: balance query for the zero address\"", "value": "ERC721: balance query for the zero address" }, - "id": 2676, + "id": 2168, "name": "Literal", - "src": "49627:44:1" + "src": "51031:44:0" } ], - "id": 2677, + "id": 2169, "name": "FunctionCall", - "src": "49598:74:1" + "src": "51002:74:0" } ], - "id": 2678, + "id": 2170, "name": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "attributes": { - "functionReturnParameters": 2668 + "functionReturnParameters": 2160 }, "children": [ { @@ -65939,7 +65939,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 1900, + "referencedDeclaration": 1392, "type": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" }, "children": [ @@ -65957,61 +65957,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2679, + "id": 2171, "name": "Identifier", - "src": "49689:13:1" + "src": "51094:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2680, + "id": 2172, "name": "Identifier", - "src": "49703:5:1" + "src": "51108:5:0" } ], - "id": 2681, + "id": 2173, "name": "IndexAccess", - "src": "49689:20:1" + "src": "51094:20:0" } ], - "id": 2682, + "id": 2174, "name": "MemberAccess", - "src": "49689:27:1" + "src": "51094:27:0" } ], - "id": 2683, + "id": 2175, "name": "FunctionCall", - "src": "49689:29:1" + "src": "51094:29:0" } ], - "id": 2684, + "id": 2176, "name": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ], - "id": 2685, + "id": 2177, "name": "Block", - "src": "49588:137:1" + "src": "50991:140:0" } ], - "id": 2686, + "id": 2178, "name": "FunctionDefinition", - "src": "49507:218:1" + "src": "50910:221:0" }, { "attributes": { "baseFunctions": [ - 588 + 80 ], "functionSelector": "6352211e", "implemented": true, @@ -66021,7 +66021,7 @@ null ], "name": "ownerOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66031,9 +66031,9 @@ "attributes": { "text": " @dev See {IERC721-ownerOf}." }, - "id": 2687, + "id": 2179, "name": "StructuredDocumentation", - "src": "49731:46:1" + "src": "51139:48:0" }, { "attributes": { @@ -66041,9 +66041,9 @@ null ] }, - "id": 2691, + "id": 2183, "name": "OverrideSpecifier", - "src": "49836:8:1" + "src": "51247:8:0" }, { "children": [ @@ -66052,7 +66052,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66064,19 +66064,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2688, + "id": 2180, "name": "ElementaryTypeName", - "src": "49799:7:1" + "src": "51210:7:0" } ], - "id": 2689, + "id": 2181, "name": "VariableDeclaration", - "src": "49799:15:1" + "src": "51210:15:0" } ], - "id": 2690, + "id": 2182, "name": "ParameterList", - "src": "49798:17:1" + "src": "51209:17:0" }, { "children": [ @@ -66085,7 +66085,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -66098,25 +66098,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2692, + "id": 2184, "name": "ElementaryTypeName", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2693, + "id": 2185, "name": "VariableDeclaration", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2694, + "id": 2186, "name": "ParameterList", - "src": "49853:9:1" + "src": "51264:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2694 + "functionReturnParameters": 2186 }, "children": [ { @@ -66151,7 +66151,7 @@ "isPure": false, "lValueRequested": false, "member_name": "get", - "referencedDeclaration": 2479, + "referencedDeclaration": 1971, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" }, "children": [ @@ -66160,31 +66160,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2695, + "id": 2187, "name": "Identifier", - "src": "49880:12:1" + "src": "51292:12:0" } ], - "id": 2696, + "id": 2188, "name": "MemberAccess", - "src": "49880:16:1" + "src": "51292:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2689, + "referencedDeclaration": 2181, "type": "uint256", "value": "tokenId" }, - "id": 2697, + "id": 2189, "name": "Identifier", - "src": "49897:7:1" + "src": "51309:7:0" }, { "attributes": { @@ -66197,34 +66197,34 @@ "type": "literal_string \"ERC721: owner query for nonexistent token\"", "value": "ERC721: owner query for nonexistent token" }, - "id": 2698, + "id": 2190, "name": "Literal", - "src": "49906:43:1" + "src": "51318:43:0" } ], - "id": 2699, + "id": 2191, "name": "FunctionCall", - "src": "49880:70:1" + "src": "51292:70:0" } ], - "id": 2700, + "id": 2192, "name": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ], - "id": 2701, + "id": 2193, "name": "Block", - "src": "49863:94:1" + "src": "51274:96:0" } ], - "id": 2702, + "id": 2194, "name": "FunctionDefinition", - "src": "49782:175:1" + "src": "51193:177:0" }, { "attributes": { "baseFunctions": [ - 665 + 157 ], "functionSelector": "06fdde03", "implemented": true, @@ -66234,7 +66234,7 @@ null ], "name": "name", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66244,9 +66244,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-name}." }, - "id": 2703, + "id": 2195, "name": "StructuredDocumentation", - "src": "49963:51:1" + "src": "51378:53:0" }, { "attributes": { @@ -66254,9 +66254,9 @@ null ] }, - "id": 2705, + "id": 2197, "name": "OverrideSpecifier", - "src": "50055:8:1" + "src": "51473:8:0" }, { "attributes": { @@ -66265,9 +66265,9 @@ ] }, "children": [], - "id": 2704, + "id": 2196, "name": "ParameterList", - "src": "50032:2:1" + "src": "51450:2:0" }, { "children": [ @@ -66276,7 +66276,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2712, + "scope": 2204, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66288,25 +66288,25 @@ "name": "string", "type": "string" }, - "id": 2706, + "id": 2198, "name": "ElementaryTypeName", - "src": "50073:6:1" + "src": "51491:6:0" } ], - "id": 2707, + "id": 2199, "name": "VariableDeclaration", - "src": "50073:13:1" + "src": "51491:13:0" } ], - "id": 2708, + "id": 2200, "name": "ParameterList", - "src": "50072:15:1" + "src": "51490:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2708 + "functionReturnParameters": 2200 }, "children": [ { @@ -66314,33 +66314,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2709, + "id": 2201, "name": "Identifier", - "src": "50105:5:1" + "src": "51524:5:0" } ], - "id": 2710, + "id": 2202, "name": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ], - "id": 2711, + "id": 2203, "name": "Block", - "src": "50088:29:1" + "src": "51506:31:0" } ], - "id": 2712, + "id": 2204, "name": "FunctionDefinition", - "src": "50019:98:1" + "src": "51437:100:0" }, { "attributes": { "baseFunctions": [ - 671 + 163 ], "functionSelector": "95d89b41", "implemented": true, @@ -66350,7 +66350,7 @@ null ], "name": "symbol", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66360,9 +66360,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-symbol}." }, - "id": 2713, + "id": 2205, "name": "StructuredDocumentation", - "src": "50123:53:1" + "src": "51545:55:0" }, { "attributes": { @@ -66370,9 +66370,9 @@ null ] }, - "id": 2715, + "id": 2207, "name": "OverrideSpecifier", - "src": "50219:8:1" + "src": "51644:8:0" }, { "attributes": { @@ -66381,9 +66381,9 @@ ] }, "children": [], - "id": 2714, + "id": 2206, "name": "ParameterList", - "src": "50196:2:1" + "src": "51621:2:0" }, { "children": [ @@ -66392,7 +66392,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2722, + "scope": 2214, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66404,25 +66404,25 @@ "name": "string", "type": "string" }, - "id": 2716, + "id": 2208, "name": "ElementaryTypeName", - "src": "50237:6:1" + "src": "51662:6:0" } ], - "id": 2717, + "id": 2209, "name": "VariableDeclaration", - "src": "50237:13:1" + "src": "51662:13:0" } ], - "id": 2718, + "id": 2210, "name": "ParameterList", - "src": "50236:15:1" + "src": "51661:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2718 + "functionReturnParameters": 2210 }, "children": [ { @@ -66430,33 +66430,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2719, + "id": 2211, "name": "Identifier", - "src": "50269:7:1" + "src": "51695:7:0" } ], - "id": 2720, + "id": 2212, "name": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ], - "id": 2721, + "id": 2213, "name": "Block", - "src": "50252:31:1" + "src": "51677:33:0" } ], - "id": 2722, + "id": 2214, "name": "FunctionDefinition", - "src": "50181:102:1" + "src": "51606:104:0" }, { "attributes": { "baseFunctions": [ - 679 + 171 ], "functionSelector": "c87b56dd", "implemented": true, @@ -66466,7 +66466,7 @@ null ], "name": "tokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66476,9 +66476,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-tokenURI}." }, - "id": 2723, + "id": 2215, "name": "StructuredDocumentation", - "src": "50289:55:1" + "src": "51718:57:0" }, { "attributes": { @@ -66486,9 +66486,9 @@ null ] }, - "id": 2727, + "id": 2219, "name": "OverrideSpecifier", - "src": "50404:8:1" + "src": "51836:8:0" }, { "children": [ @@ -66497,7 +66497,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66509,19 +66509,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2724, + "id": 2216, "name": "ElementaryTypeName", - "src": "50367:7:1" + "src": "51799:7:0" } ], - "id": 2725, + "id": 2217, "name": "VariableDeclaration", - "src": "50367:15:1" + "src": "51799:15:0" } ], - "id": 2726, + "id": 2218, "name": "ParameterList", - "src": "50366:17:1" + "src": "51798:17:0" }, { "children": [ @@ -66530,7 +66530,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66542,19 +66542,19 @@ "name": "string", "type": "string" }, - "id": 2728, + "id": 2220, "name": "ElementaryTypeName", - "src": "50422:6:1" + "src": "51854:6:0" } ], - "id": 2729, + "id": 2221, "name": "VariableDeclaration", - "src": "50422:13:1" + "src": "51854:13:0" } ], - "id": 2730, + "id": 2222, "name": "ParameterList", - "src": "50421:15:1" + "src": "51853:15:0" }, { "children": [ @@ -66595,9 +66595,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2731, + "id": 2223, "name": "Identifier", - "src": "50447:7:1" + "src": "51880:7:0" }, { "attributes": { @@ -66625,31 +66625,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2732, + "id": 2224, "name": "Identifier", - "src": "50455:7:1" + "src": "51888:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2733, + "id": 2225, "name": "Identifier", - "src": "50463:7:1" + "src": "51896:7:0" } ], - "id": 2734, + "id": 2226, "name": "FunctionCall", - "src": "50455:16:1" + "src": "51888:16:0" }, { "attributes": { @@ -66662,24 +66662,24 @@ "type": "literal_string \"ERC721Metadata: URI query for nonexistent token\"", "value": "ERC721Metadata: URI query for nonexistent token" }, - "id": 2735, + "id": 2227, "name": "Literal", - "src": "50473:49:1" + "src": "51906:49:0" } ], - "id": 2736, + "id": 2228, "name": "FunctionCall", - "src": "50447:76:1" + "src": "51880:76:0" } ], - "id": 2737, + "id": 2229, "name": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "attributes": { "assignments": [ - 2739 + 2231 ] }, "children": [ @@ -66688,7 +66688,7 @@ "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66700,14 +66700,14 @@ "name": "string", "type": "string" }, - "id": 2738, + "id": 2230, "name": "ElementaryTypeName", - "src": "50534:6:1" + "src": "51969:6:0" } ], - "id": 2739, + "id": 2231, "name": "VariableDeclaration", - "src": "50534:23:1" + "src": "51969:23:0" }, { "attributes": { @@ -66723,41 +66723,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 2740, + "id": 2232, "name": "Identifier", - "src": "50560:10:1" + "src": "51995:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2741, + "id": 2233, "name": "Identifier", - "src": "50571:7:1" + "src": "52006:7:0" } ], - "id": 2742, + "id": 2234, "name": "IndexAccess", - "src": "50560:19:1" + "src": "51995:19:0" } ], - "id": 2743, + "id": 2235, "name": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "attributes": { "assignments": [ - 2745 + 2237 ] }, "children": [ @@ -66766,7 +66766,7 @@ "constant": false, "mutability": "mutable", "name": "base", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66778,14 +66778,14 @@ "name": "string", "type": "string" }, - "id": 2744, + "id": 2236, "name": "ElementaryTypeName", - "src": "50589:6:1" + "src": "52025:6:0" } ], - "id": 2745, + "id": 2237, "name": "VariableDeclaration", - "src": "50589:18:1" + "src": "52025:18:0" }, { "attributes": { @@ -66813,23 +66813,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2799, + "referencedDeclaration": 2291, "type": "function () view returns (string memory)", "value": "baseURI" }, - "id": 2746, + "id": 2238, "name": "Identifier", - "src": "50610:7:1" + "src": "52046:7:0" } ], - "id": 2747, + "id": 2239, "name": "FunctionCall", - "src": "50610:9:1" + "src": "52046:9:0" } ], - "id": 2748, + "id": 2240, "name": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "attributes": {}, @@ -66892,37 +66892,37 @@ "attributes": { "name": "bytes" }, - "id": 2749, + "id": 2241, "name": "ElementaryTypeName", - "src": "50692:5:1" + "src": "52131:5:0" } ], - "id": 2750, + "id": 2242, "name": "ElementaryTypeNameExpression", - "src": "50692:5:1" + "src": "52131:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2751, + "id": 2243, "name": "Identifier", - "src": "50698:4:1" + "src": "52137:4:0" } ], - "id": 2752, + "id": 2244, "name": "FunctionCall", - "src": "50692:11:1" + "src": "52131:11:0" } ], - "id": 2753, + "id": 2245, "name": "MemberAccess", - "src": "50692:18:1" + "src": "52131:18:0" }, { "attributes": { @@ -66935,20 +66935,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2754, + "id": 2246, "name": "Literal", - "src": "50714:1:1" + "src": "52153:1:0" } ], - "id": 2755, + "id": 2247, "name": "BinaryOperation", - "src": "50692:23:1" + "src": "52131:23:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -66956,28 +66956,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2756, + "id": 2248, "name": "Identifier", - "src": "50738:9:1" + "src": "52178:9:0" } ], - "id": 2757, + "id": 2249, "name": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ], - "id": 2758, + "id": 2250, "name": "Block", - "src": "50717:41:1" + "src": "52156:43:0" } ], - "id": 2759, + "id": 2251, "name": "IfStatement", - "src": "50688:70:1" + "src": "52127:72:0" }, { "attributes": {}, @@ -67040,37 +67040,37 @@ "attributes": { "name": "bytes" }, - "id": 2760, + "id": 2252, "name": "ElementaryTypeName", - "src": "50860:5:1" + "src": "52303:5:0" } ], - "id": 2761, + "id": 2253, "name": "ElementaryTypeNameExpression", - "src": "50860:5:1" + "src": "52303:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2762, + "id": 2254, "name": "Identifier", - "src": "50866:9:1" + "src": "52309:9:0" } ], - "id": 2763, + "id": 2255, "name": "FunctionCall", - "src": "50860:16:1" + "src": "52303:16:0" } ], - "id": 2764, + "id": 2256, "name": "MemberAccess", - "src": "50860:23:1" + "src": "52303:23:0" }, { "attributes": { @@ -67083,20 +67083,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2765, + "id": 2257, "name": "Literal", - "src": "50886:1:1" + "src": "52329:1:0" } ], - "id": 2766, + "id": 2258, "name": "BinaryOperation", - "src": "50860:27:1" + "src": "52303:27:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67133,14 +67133,14 @@ "attributes": { "name": "string" }, - "id": 2767, + "id": 2259, "name": "ElementaryTypeName", - "src": "50910:6:1" + "src": "52354:6:0" } ], - "id": 2768, + "id": 2260, "name": "ElementaryTypeNameExpression", - "src": "50910:6:1" + "src": "52354:6:0" }, { "attributes": { @@ -67186,69 +67186,69 @@ "type": "abi", "value": "abi" }, - "id": 2769, + "id": 2261, "name": "Identifier", - "src": "50917:3:1" + "src": "52361:3:0" } ], - "id": 2770, + "id": 2262, "name": "MemberAccess", - "src": "50917:16:1" + "src": "52361:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2771, + "id": 2263, "name": "Identifier", - "src": "50934:4:1" + "src": "52378:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2772, + "id": 2264, "name": "Identifier", - "src": "50940:9:1" + "src": "52384:9:0" } ], - "id": 2773, + "id": 2265, "name": "FunctionCall", - "src": "50917:33:1" + "src": "52361:33:0" } ], - "id": 2774, + "id": 2266, "name": "FunctionCall", - "src": "50910:41:1" + "src": "52354:41:0" } ], - "id": 2775, + "id": 2267, "name": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ], - "id": 2776, + "id": 2268, "name": "Block", - "src": "50889:73:1" + "src": "52332:75:0" } ], - "id": 2777, + "id": 2269, "name": "IfStatement", - "src": "50856:106:1" + "src": "52299:108:0" }, { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67285,14 +67285,14 @@ "attributes": { "name": "string" }, - "id": 2778, + "id": 2270, "name": "ElementaryTypeName", - "src": "51068:6:1" + "src": "52515:6:0" } ], - "id": 2779, + "id": 2271, "name": "ElementaryTypeNameExpression", - "src": "51068:6:1" + "src": "52515:6:0" }, { "attributes": { @@ -67338,27 +67338,27 @@ "type": "abi", "value": "abi" }, - "id": 2780, + "id": 2272, "name": "Identifier", - "src": "51075:3:1" + "src": "52522:3:0" } ], - "id": 2781, + "id": 2273, "name": "MemberAccess", - "src": "51075:16:1" + "src": "52522:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2782, + "id": 2274, "name": "Identifier", - "src": "51092:4:1" + "src": "52539:4:0" }, { "attributes": { @@ -67388,7 +67388,7 @@ "isPure": false, "lValueRequested": false, "member_name": "toString", - "referencedDeclaration": 2565, + "referencedDeclaration": 2057, "type": "function (uint256) pure returns (string memory)" }, "children": [ @@ -67397,48 +67397,48 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2783, + "id": 2275, "name": "Identifier", - "src": "51098:7:1" + "src": "52545:7:0" } ], - "id": 2784, + "id": 2276, "name": "MemberAccess", - "src": "51098:16:1" + "src": "52545:16:0" } ], - "id": 2785, + "id": 2277, "name": "FunctionCall", - "src": "51098:18:1" + "src": "52545:18:0" } ], - "id": 2786, + "id": 2278, "name": "FunctionCall", - "src": "51075:42:1" + "src": "52522:42:0" } ], - "id": 2787, + "id": 2279, "name": "FunctionCall", - "src": "51068:50:1" + "src": "52515:50:0" } ], - "id": 2788, + "id": 2280, "name": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ], - "id": 2789, + "id": 2281, "name": "Block", - "src": "50437:688:1" + "src": "51869:704:0" } ], - "id": 2790, + "id": 2282, "name": "FunctionDefinition", - "src": "50349:776:1" + "src": "51781:792:0" }, { "attributes": { @@ -67450,7 +67450,7 @@ null ], "name": "baseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67460,9 +67460,9 @@ "attributes": { "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, - "id": 2791, + "id": 2283, "name": "StructuredDocumentation", - "src": "51131:221:1" + "src": "52581:225:0" }, { "attributes": { @@ -67471,9 +67471,9 @@ ] }, "children": [], - "id": 2792, + "id": 2284, "name": "ParameterList", - "src": "51373:2:1" + "src": "52828:2:0" }, { "children": [ @@ -67482,7 +67482,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2799, + "scope": 2291, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -67494,25 +67494,25 @@ "name": "string", "type": "string" }, - "id": 2793, + "id": 2285, "name": "ElementaryTypeName", - "src": "51405:6:1" + "src": "52860:6:0" } ], - "id": 2794, + "id": 2286, "name": "VariableDeclaration", - "src": "51405:13:1" + "src": "52860:13:0" } ], - "id": 2795, + "id": 2287, "name": "ParameterList", - "src": "51404:15:1" + "src": "52859:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2795 + "functionReturnParameters": 2287 }, "children": [ { @@ -67520,33 +67520,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 2796, + "id": 2288, "name": "Identifier", - "src": "51437:8:1" + "src": "52893:8:0" } ], - "id": 2797, + "id": 2289, "name": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ], - "id": 2798, + "id": 2290, "name": "Block", - "src": "51420:32:1" + "src": "52875:34:0" } ], - "id": 2799, + "id": 2291, "name": "FunctionDefinition", - "src": "51357:95:1" + "src": "52812:97:0" }, { "attributes": { "baseFunctions": [ - 700 + 192 ], "functionSelector": "2f745c59", "implemented": true, @@ -67556,7 +67556,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67566,9 +67566,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, - "id": 2800, + "id": 2292, "name": "StructuredDocumentation", - "src": "51458:68:1" + "src": "52917:70:0" }, { "attributes": { @@ -67576,9 +67576,9 @@ null ] }, - "id": 2806, + "id": 2298, "name": "OverrideSpecifier", - "src": "51610:8:1" + "src": "53072:8:0" }, { "children": [ @@ -67587,7 +67587,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -67600,21 +67600,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2801, + "id": 2293, "name": "ElementaryTypeName", - "src": "51560:7:1" + "src": "53022:7:0" } ], - "id": 2802, + "id": 2294, "name": "VariableDeclaration", - "src": "51560:13:1" + "src": "53022:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67626,19 +67626,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2803, + "id": 2295, "name": "ElementaryTypeName", - "src": "51575:7:1" + "src": "53037:7:0" } ], - "id": 2804, + "id": 2296, "name": "VariableDeclaration", - "src": "51575:13:1" + "src": "53037:13:0" } ], - "id": 2805, + "id": 2297, "name": "ParameterList", - "src": "51559:30:1" + "src": "53021:30:0" }, { "children": [ @@ -67647,7 +67647,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67659,25 +67659,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2807, + "id": 2299, "name": "ElementaryTypeName", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2808, + "id": 2300, "name": "VariableDeclaration", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2809, + "id": 2301, "name": "ParameterList", - "src": "51627:9:1" + "src": "53089:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2809 + "functionReturnParameters": 2301 }, "children": [ { @@ -67708,7 +67708,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 1920, + "referencedDeclaration": 1412, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" }, "children": [ @@ -67726,74 +67726,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2810, + "id": 2302, "name": "Identifier", - "src": "51654:13:1" + "src": "53117:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2802, + "referencedDeclaration": 2294, "type": "address", "value": "owner" }, - "id": 2811, + "id": 2303, "name": "Identifier", - "src": "51668:5:1" + "src": "53131:5:0" } ], - "id": 2812, + "id": 2304, "name": "IndexAccess", - "src": "51654:20:1" + "src": "53117:20:0" } ], - "id": 2813, + "id": 2305, "name": "MemberAccess", - "src": "51654:23:1" + "src": "53117:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2804, + "referencedDeclaration": 2296, "type": "uint256", "value": "index" }, - "id": 2814, + "id": 2306, "name": "Identifier", - "src": "51678:5:1" + "src": "53141:5:0" } ], - "id": 2815, + "id": 2307, "name": "FunctionCall", - "src": "51654:30:1" + "src": "53117:30:0" } ], - "id": 2816, + "id": 2308, "name": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ], - "id": 2817, + "id": 2309, "name": "Block", - "src": "51637:54:1" + "src": "53099:56:0" } ], - "id": 2818, + "id": 2310, "name": "FunctionDefinition", - "src": "51531:160:1" + "src": "52993:162:0" }, { "attributes": { "baseFunctions": [ - 690 + 182 ], "functionSelector": "18160ddd", "implemented": true, @@ -67803,7 +67803,7 @@ null ], "name": "totalSupply", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67813,9 +67813,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-totalSupply}." }, - "id": 2819, + "id": 2311, "name": "StructuredDocumentation", - "src": "51697:60:1" + "src": "53163:62:0" }, { "attributes": { @@ -67823,9 +67823,9 @@ null ] }, - "id": 2821, + "id": 2313, "name": "OverrideSpecifier", - "src": "51805:8:1" + "src": "53274:8:0" }, { "attributes": { @@ -67834,9 +67834,9 @@ ] }, "children": [], - "id": 2820, + "id": 2312, "name": "ParameterList", - "src": "51782:2:1" + "src": "53251:2:0" }, { "children": [ @@ -67845,7 +67845,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2830, + "scope": 2322, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67857,25 +67857,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2822, + "id": 2314, "name": "ElementaryTypeName", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2823, + "id": 2315, "name": "VariableDeclaration", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2824, + "id": 2316, "name": "ParameterList", - "src": "51822:9:1" + "src": "53291:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2824 + "functionReturnParameters": 2316 }, "children": [ { @@ -67906,7 +67906,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 2340, + "referencedDeclaration": 1832, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" }, "children": [ @@ -67915,43 +67915,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2825, + "id": 2317, "name": "Identifier", - "src": "51942:12:1" + "src": "53413:12:0" } ], - "id": 2826, + "id": 2318, "name": "MemberAccess", - "src": "51942:19:1" + "src": "53413:19:0" } ], - "id": 2827, + "id": 2319, "name": "FunctionCall", - "src": "51942:21:1" + "src": "53413:21:0" } ], - "id": 2828, + "id": 2320, "name": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ], - "id": 2829, + "id": 2321, "name": "Block", - "src": "51832:138:1" + "src": "53301:141:0" } ], - "id": 2830, + "id": 2322, "name": "FunctionDefinition", - "src": "51762:208:1" + "src": "53231:211:0" }, { "attributes": { "baseFunctions": [ - 708 + 200 ], "functionSelector": "4f6ccce7", "implemented": true, @@ -67961,7 +67961,7 @@ null ], "name": "tokenByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67971,9 +67971,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, - "id": 2831, + "id": 2323, "name": "StructuredDocumentation", - "src": "51976:61:1" + "src": "53450:63:0" }, { "attributes": { @@ -67981,9 +67981,9 @@ null ] }, - "id": 2835, + "id": 2327, "name": "OverrideSpecifier", - "src": "52099:8:1" + "src": "53576:8:0" }, { "children": [ @@ -67992,7 +67992,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68004,19 +68004,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2832, + "id": 2324, "name": "ElementaryTypeName", - "src": "52064:7:1" + "src": "53541:7:0" } ], - "id": 2833, + "id": 2325, "name": "VariableDeclaration", - "src": "52064:13:1" + "src": "53541:13:0" } ], - "id": 2834, + "id": 2326, "name": "ParameterList", - "src": "52063:15:1" + "src": "53540:15:0" }, { "children": [ @@ -68025,7 +68025,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68037,26 +68037,26 @@ "name": "uint256", "type": "uint256" }, - "id": 2836, + "id": 2328, "name": "ElementaryTypeName", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2837, + "id": 2329, "name": "VariableDeclaration", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2838, + "id": 2330, "name": "ParameterList", - "src": "52116:9:1" + "src": "53593:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2840, + 2332, null ] }, @@ -68066,7 +68066,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2848, + "scope": 2340, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68078,14 +68078,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2839, + "id": 2331, "name": "ElementaryTypeName", - "src": "52137:7:1" + "src": "53615:7:0" } ], - "id": 2840, + "id": 2332, "name": "VariableDeclaration", - "src": "52137:15:1" + "src": "53615:15:0" }, { "attributes": { @@ -68115,7 +68115,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 2379, + "referencedDeclaration": 1871, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" }, "children": [ @@ -68124,45 +68124,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2841, + "id": 2333, "name": "Identifier", - "src": "52158:12:1" + "src": "53636:12:0" } ], - "id": 2842, + "id": 2334, "name": "MemberAccess", - "src": "52158:15:1" + "src": "53636:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2833, + "referencedDeclaration": 2325, "type": "uint256", "value": "index" }, - "id": 2843, + "id": 2335, "name": "Identifier", - "src": "52174:5:1" + "src": "53652:5:0" } ], - "id": 2844, + "id": 2336, "name": "FunctionCall", - "src": "52158:22:1" + "src": "53636:22:0" } ], - "id": 2845, + "id": 2337, "name": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "attributes": { - "functionReturnParameters": 2838 + "functionReturnParameters": 2330 }, "children": [ { @@ -68170,33 +68170,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2840, + "referencedDeclaration": 2332, "type": "uint256", "value": "tokenId" }, - "id": 2846, + "id": 2338, "name": "Identifier", - "src": "52197:7:1" + "src": "53676:7:0" } ], - "id": 2847, + "id": 2339, "name": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ], - "id": 2848, + "id": 2340, "name": "Block", - "src": "52126:85:1" + "src": "53603:88:0" } ], - "id": 2849, + "id": 2341, "name": "FunctionDefinition", - "src": "52042:169:1" + "src": "53519:172:0" }, { "attributes": { "baseFunctions": [ - 616 + 108 ], "functionSelector": "095ea7b3", "implemented": true, @@ -68206,7 +68206,7 @@ null ], "name": "approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -68216,9 +68216,9 @@ "attributes": { "text": " @dev See {IERC721-approve}." }, - "id": 2850, + "id": 2342, "name": "StructuredDocumentation", - "src": "52217:46:1" + "src": "53699:48:0" }, { "attributes": { @@ -68226,9 +68226,9 @@ null ] }, - "id": 2856, + "id": 2348, "name": "OverrideSpecifier", - "src": "52329:8:1" + "src": "53814:8:0" }, { "children": [ @@ -68237,7 +68237,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68250,21 +68250,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2851, + "id": 2343, "name": "ElementaryTypeName", - "src": "52285:7:1" + "src": "53770:7:0" } ], - "id": 2852, + "id": 2344, "name": "VariableDeclaration", - "src": "52285:10:1" + "src": "53770:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68276,19 +68276,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2853, + "id": 2345, "name": "ElementaryTypeName", - "src": "52297:7:1" + "src": "53782:7:0" } ], - "id": 2854, + "id": 2346, "name": "VariableDeclaration", - "src": "52297:15:1" + "src": "53782:15:0" } ], - "id": 2855, + "id": 2347, "name": "ParameterList", - "src": "52284:29:1" + "src": "53769:29:0" }, { "attributes": { @@ -68297,16 +68297,16 @@ ] }, "children": [], - "id": 2857, + "id": 2349, "name": "ParameterList", - "src": "52338:0:1" + "src": "53823:0:0" }, { "children": [ { "attributes": { "assignments": [ - 2859 + 2351 ] }, "children": [ @@ -68315,7 +68315,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2892, + "scope": 2384, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68328,14 +68328,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2858, + "id": 2350, "name": "ElementaryTypeName", - "src": "52348:7:1" + "src": "53834:7:0" } ], - "id": 2859, + "id": 2351, "name": "VariableDeclaration", - "src": "52348:13:1" + "src": "53834:13:0" }, { "attributes": { @@ -68365,7 +68365,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -68374,41 +68374,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2860, + "id": 2352, "name": "Identifier", - "src": "52364:6:1" + "src": "53850:6:0" } ], - "id": 2861, + "id": 2353, "name": "MemberAccess", - "src": "52364:14:1" + "src": "53850:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2862, + "id": 2354, "name": "Identifier", - "src": "52379:7:1" + "src": "53865:7:0" } ], - "id": 2863, + "id": 2355, "name": "FunctionCall", - "src": "52364:23:1" + "src": "53850:23:0" } ], - "id": 2864, + "id": 2356, "name": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "children": [ @@ -68447,9 +68447,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2865, + "id": 2357, "name": "Identifier", - "src": "52397:7:1" + "src": "53884:7:0" }, { "attributes": { @@ -68470,31 +68470,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2866, + "id": 2358, "name": "Identifier", - "src": "52405:2:1" + "src": "53892:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2867, + "id": 2359, "name": "Identifier", - "src": "52411:5:1" + "src": "53898:5:0" } ], - "id": 2868, + "id": 2360, "name": "BinaryOperation", - "src": "52405:11:1" + "src": "53892:11:0" }, { "attributes": { @@ -68507,19 +68507,19 @@ "type": "literal_string \"ERC721: approval to current owner\"", "value": "ERC721: approval to current owner" }, - "id": 2869, + "id": 2361, "name": "Literal", - "src": "52418:35:1" + "src": "53905:35:0" } ], - "id": 2870, + "id": 2362, "name": "FunctionCall", - "src": "52397:57:1" + "src": "53884:57:0" } ], - "id": 2871, + "id": 2363, "name": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "children": [ @@ -68558,9 +68558,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2872, + "id": 2364, "name": "Identifier", - "src": "52465:7:1" + "src": "53954:7:0" }, { "attributes": { @@ -68616,36 +68616,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2873, + "id": 2365, "name": "Identifier", - "src": "52473:10:1" + "src": "53962:10:0" } ], - "id": 2874, + "id": 2366, "name": "FunctionCall", - "src": "52473:12:1" + "src": "53962:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2875, + "id": 2367, "name": "Identifier", - "src": "52489:5:1" + "src": "53978:5:0" } ], - "id": 2876, + "id": 2368, "name": "BinaryOperation", - "src": "52473:21:1" + "src": "53962:21:0" }, { "attributes": { @@ -68679,7 +68679,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -68688,31 +68688,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2877, + "id": 2369, "name": "Identifier", - "src": "52498:6:1" + "src": "53987:6:0" } ], - "id": 2878, + "id": 2370, "name": "MemberAccess", - "src": "52498:23:1" + "src": "53987:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2879, + "id": 2371, "name": "Identifier", - "src": "52522:5:1" + "src": "54011:5:0" }, { "attributes": { @@ -68740,28 +68740,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2880, + "id": 2372, "name": "Identifier", - "src": "52529:10:1" + "src": "54018:10:0" } ], - "id": 2881, + "id": 2373, "name": "FunctionCall", - "src": "52529:12:1" + "src": "54018:12:0" } ], - "id": 2882, + "id": 2374, "name": "FunctionCall", - "src": "52498:44:1" + "src": "53987:44:0" } ], - "id": 2883, + "id": 2375, "name": "BinaryOperation", - "src": "52473:69:1" + "src": "53962:69:0" }, { "attributes": { @@ -68774,19 +68774,19 @@ "type": "literal_string \"ERC721: approve caller is not owner nor approved for all\"", "value": "ERC721: approve caller is not owner nor approved for all" }, - "id": 2884, + "id": 2376, "name": "Literal", - "src": "52556:58:1" + "src": "54046:58:0" } ], - "id": 2885, + "id": 2377, "name": "FunctionCall", - "src": "52465:159:1" + "src": "53954:161:0" } ], - "id": 2886, + "id": 2378, "name": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "children": [ @@ -68820,64 +68820,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 2887, + "id": 2379, "name": "Identifier", - "src": "52635:8:1" + "src": "54128:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2888, + "id": 2380, "name": "Identifier", - "src": "52644:2:1" + "src": "54137:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2889, + "id": 2381, "name": "Identifier", - "src": "52648:7:1" + "src": "54141:7:0" } ], - "id": 2890, + "id": 2382, "name": "FunctionCall", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2891, + "id": 2383, "name": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2892, + "id": 2384, "name": "Block", - "src": "52338:325:1" + "src": "53823:334:0" } ], - "id": 2893, + "id": 2385, "name": "FunctionDefinition", - "src": "52268:395:1" + "src": "53753:404:0" }, { "attributes": { "baseFunctions": [ - 624 + 116 ], "functionSelector": "081812fc", "implemented": true, @@ -68887,7 +68887,7 @@ null ], "name": "getApproved", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -68897,9 +68897,9 @@ "attributes": { "text": " @dev See {IERC721-getApproved}." }, - "id": 2894, + "id": 2386, "name": "StructuredDocumentation", - "src": "52669:50:1" + "src": "54165:52:0" }, { "attributes": { @@ -68907,9 +68907,9 @@ null ] }, - "id": 2898, + "id": 2390, "name": "OverrideSpecifier", - "src": "52782:8:1" + "src": "54281:8:0" }, { "children": [ @@ -68918,7 +68918,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68930,19 +68930,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2895, + "id": 2387, "name": "ElementaryTypeName", - "src": "52745:7:1" + "src": "54244:7:0" } ], - "id": 2896, + "id": 2388, "name": "VariableDeclaration", - "src": "52745:15:1" + "src": "54244:15:0" } ], - "id": 2897, + "id": 2389, "name": "ParameterList", - "src": "52744:17:1" + "src": "54243:17:0" }, { "children": [ @@ -68951,7 +68951,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68964,19 +68964,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2899, + "id": 2391, "name": "ElementaryTypeName", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2900, + "id": 2392, "name": "VariableDeclaration", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2901, + "id": 2393, "name": "ParameterList", - "src": "52799:9:1" + "src": "54298:9:0" }, { "children": [ @@ -69017,9 +69017,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2902, + "id": 2394, "name": "Identifier", - "src": "52819:7:1" + "src": "54319:7:0" }, { "attributes": { @@ -69047,31 +69047,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2903, + "id": 2395, "name": "Identifier", - "src": "52827:7:1" + "src": "54327:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2904, + "id": 2396, "name": "Identifier", - "src": "52835:7:1" + "src": "54335:7:0" } ], - "id": 2905, + "id": 2397, "name": "FunctionCall", - "src": "52827:16:1" + "src": "54327:16:0" }, { "attributes": { @@ -69084,23 +69084,23 @@ "type": "literal_string \"ERC721: approved query for nonexistent token\"", "value": "ERC721: approved query for nonexistent token" }, - "id": 2906, + "id": 2398, "name": "Literal", - "src": "52845:46:1" + "src": "54345:46:0" } ], - "id": 2907, + "id": 2399, "name": "FunctionCall", - "src": "52819:73:1" + "src": "54319:73:0" } ], - "id": 2908, + "id": 2400, "name": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "attributes": { - "functionReturnParameters": 2901 + "functionReturnParameters": 2393 }, "children": [ { @@ -69117,51 +69117,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 2909, + "id": 2401, "name": "Identifier", - "src": "52910:15:1" + "src": "54412:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2910, + "id": 2402, "name": "Identifier", - "src": "52926:7:1" + "src": "54428:7:0" } ], - "id": 2911, + "id": 2403, "name": "IndexAccess", - "src": "52910:24:1" + "src": "54412:24:0" } ], - "id": 2912, + "id": 2404, "name": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ], - "id": 2913, + "id": 2405, "name": "Block", - "src": "52809:132:1" + "src": "54308:136:0" } ], - "id": 2914, + "id": 2406, "name": "FunctionDefinition", - "src": "52724:217:1" + "src": "54223:221:0" }, { "attributes": { "baseFunctions": [ - 632 + 124 ], "functionSelector": "a22cb465", "implemented": true, @@ -69171,7 +69171,7 @@ null ], "name": "setApprovalForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69181,9 +69181,9 @@ "attributes": { "text": " @dev See {IERC721-setApprovalForAll}." }, - "id": 2915, + "id": 2407, "name": "StructuredDocumentation", - "src": "52947:56:1" + "src": "54452:58:0" }, { "attributes": { @@ -69191,9 +69191,9 @@ null ] }, - "id": 2921, + "id": 2413, "name": "OverrideSpecifier", - "src": "53083:8:1" + "src": "54591:8:0" }, { "children": [ @@ -69202,7 +69202,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69215,21 +69215,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2916, + "id": 2408, "name": "ElementaryTypeName", - "src": "53035:7:1" + "src": "54543:7:0" } ], - "id": 2917, + "id": 2409, "name": "VariableDeclaration", - "src": "53035:16:1" + "src": "54543:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "approved", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69241,19 +69241,19 @@ "name": "bool", "type": "bool" }, - "id": 2918, + "id": 2410, "name": "ElementaryTypeName", - "src": "53053:4:1" + "src": "54561:4:0" } ], - "id": 2919, + "id": 2411, "name": "VariableDeclaration", - "src": "53053:13:1" + "src": "54561:13:0" } ], - "id": 2920, + "id": 2412, "name": "ParameterList", - "src": "53034:33:1" + "src": "54542:33:0" }, { "attributes": { @@ -69262,9 +69262,9 @@ ] }, "children": [], - "id": 2922, + "id": 2414, "name": "ParameterList", - "src": "53092:0:1" + "src": "54600:0:0" }, { "children": [ @@ -69305,9 +69305,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2923, + "id": 2415, "name": "Identifier", - "src": "53102:7:1" + "src": "54611:7:0" }, { "attributes": { @@ -69328,13 +69328,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2924, + "id": 2416, "name": "Identifier", - "src": "53110:8:1" + "src": "54619:8:0" }, { "attributes": { @@ -69362,23 +69362,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2925, + "id": 2417, "name": "Identifier", - "src": "53122:10:1" + "src": "54631:10:0" } ], - "id": 2926, + "id": 2418, "name": "FunctionCall", - "src": "53122:12:1" + "src": "54631:12:0" } ], - "id": 2927, + "id": 2419, "name": "BinaryOperation", - "src": "53110:24:1" + "src": "54619:24:0" }, { "attributes": { @@ -69391,19 +69391,19 @@ "type": "literal_string \"ERC721: approve to caller\"", "value": "ERC721: approve to caller" }, - "id": 2928, + "id": 2420, "name": "Literal", - "src": "53136:27:1" + "src": "54645:27:0" } ], - "id": 2929, + "id": 2421, "name": "FunctionCall", - "src": "53102:62:1" + "src": "54611:62:0" } ], - "id": 2930, + "id": 2422, "name": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "children": [ @@ -69440,13 +69440,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2931, + "id": 2423, "name": "Identifier", - "src": "53175:18:1" + "src": "54686:18:0" }, { "attributes": { @@ -69474,64 +69474,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2932, + "id": 2424, "name": "Identifier", - "src": "53194:10:1" + "src": "54705:10:0" } ], - "id": 2933, + "id": 2425, "name": "FunctionCall", - "src": "53194:12:1" + "src": "54705:12:0" } ], - "id": 2935, + "id": 2427, "name": "IndexAccess", - "src": "53175:32:1" + "src": "54686:32:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2934, + "id": 2426, "name": "Identifier", - "src": "53208:8:1" + "src": "54719:8:0" } ], - "id": 2936, + "id": 2428, "name": "IndexAccess", - "src": "53175:42:1" + "src": "54686:42:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2937, + "id": 2429, "name": "Identifier", - "src": "53220:8:1" + "src": "54731:8:0" } ], - "id": 2938, + "id": 2430, "name": "Assignment", - "src": "53175:53:1" + "src": "54686:53:0" } ], - "id": 2939, + "id": 2431, "name": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "children": [ @@ -69569,13 +69569,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 572, + "referencedDeclaration": 64, "type": "function (address,address,bool)", "value": "ApprovalForAll" }, - "id": 2940, + "id": 2432, "name": "Identifier", - "src": "53243:14:1" + "src": "54755:14:0" }, { "attributes": { @@ -69603,69 +69603,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2941, + "id": 2433, "name": "Identifier", - "src": "53258:10:1" + "src": "54770:10:0" } ], - "id": 2942, + "id": 2434, "name": "FunctionCall", - "src": "53258:12:1" + "src": "54770:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2943, + "id": 2435, "name": "Identifier", - "src": "53272:8:1" + "src": "54784:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2944, + "id": 2436, "name": "Identifier", - "src": "53282:8:1" + "src": "54794:8:0" } ], - "id": 2945, + "id": 2437, "name": "FunctionCall", - "src": "53243:48:1" + "src": "54755:48:0" } ], - "id": 2946, + "id": 2438, "name": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ], - "id": 2947, + "id": 2439, "name": "Block", - "src": "53092:206:1" + "src": "54600:211:0" } ], - "id": 2948, + "id": 2440, "name": "FunctionDefinition", - "src": "53008:290:1" + "src": "54516:295:0" }, { "attributes": { "baseFunctions": [ - 642 + 134 ], "functionSelector": "e985e9c5", "implemented": true, @@ -69675,7 +69675,7 @@ null ], "name": "isApprovedForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -69685,9 +69685,9 @@ "attributes": { "text": " @dev See {IERC721-isApprovedForAll}." }, - "id": 2949, + "id": 2441, "name": "StructuredDocumentation", - "src": "53304:55:1" + "src": "54819:57:0" }, { "attributes": { @@ -69695,9 +69695,9 @@ null ] }, - "id": 2955, + "id": 2447, "name": "OverrideSpecifier", - "src": "53443:8:1" + "src": "54961:8:0" }, { "children": [ @@ -69706,7 +69706,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69719,21 +69719,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2950, + "id": 2442, "name": "ElementaryTypeName", - "src": "53390:7:1" + "src": "54908:7:0" } ], - "id": 2951, + "id": 2443, "name": "VariableDeclaration", - "src": "53390:13:1" + "src": "54908:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69746,19 +69746,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2952, + "id": 2444, "name": "ElementaryTypeName", - "src": "53405:7:1" + "src": "54923:7:0" } ], - "id": 2953, + "id": 2445, "name": "VariableDeclaration", - "src": "53405:16:1" + "src": "54923:16:0" } ], - "id": 2954, + "id": 2446, "name": "ParameterList", - "src": "53389:33:1" + "src": "54907:33:0" }, { "children": [ @@ -69767,7 +69767,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69779,25 +69779,25 @@ "name": "bool", "type": "bool" }, - "id": 2956, + "id": 2448, "name": "ElementaryTypeName", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2957, + "id": 2449, "name": "VariableDeclaration", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2958, + "id": 2450, "name": "ParameterList", - "src": "53460:6:1" + "src": "54978:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2958 + "functionReturnParameters": 2450 }, "children": [ { @@ -69823,69 +69823,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2959, + "id": 2451, "name": "Identifier", - "src": "53484:18:1" + "src": "55003:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2951, + "referencedDeclaration": 2443, "type": "address", "value": "owner" }, - "id": 2960, + "id": 2452, "name": "Identifier", - "src": "53503:5:1" + "src": "55022:5:0" } ], - "id": 2961, + "id": 2453, "name": "IndexAccess", - "src": "53484:25:1" + "src": "55003:25:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2953, + "referencedDeclaration": 2445, "type": "address", "value": "operator" }, - "id": 2962, + "id": 2454, "name": "Identifier", - "src": "53510:8:1" + "src": "55029:8:0" } ], - "id": 2963, + "id": 2455, "name": "IndexAccess", - "src": "53484:35:1" + "src": "55003:35:0" } ], - "id": 2964, + "id": 2456, "name": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ], - "id": 2965, + "id": 2457, "name": "Block", - "src": "53467:59:1" + "src": "54985:61:0" } ], - "id": 2966, + "id": 2458, "name": "FunctionDefinition", - "src": "53364:162:1" + "src": "54882:164:0" }, { "attributes": { "baseFunctions": [ - 608 + 100 ], "functionSelector": "23b872dd", "implemented": true, @@ -69895,7 +69895,7 @@ null ], "name": "transferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69905,9 +69905,9 @@ "attributes": { "text": " @dev See {IERC721-transferFrom}." }, - "id": 2967, + "id": 2459, "name": "StructuredDocumentation", - "src": "53532:51:1" + "src": "55054:53:0" }, { "attributes": { @@ -69915,9 +69915,9 @@ null ] }, - "id": 2975, + "id": 2467, "name": "OverrideSpecifier", - "src": "53668:8:1" + "src": "55193:8:0" }, { "children": [ @@ -69926,7 +69926,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69939,21 +69939,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2968, + "id": 2460, "name": "ElementaryTypeName", - "src": "53610:7:1" + "src": "55135:7:0" } ], - "id": 2969, + "id": 2461, "name": "VariableDeclaration", - "src": "53610:12:1" + "src": "55135:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69966,21 +69966,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2970, + "id": 2462, "name": "ElementaryTypeName", - "src": "53624:7:1" + "src": "55149:7:0" } ], - "id": 2971, + "id": 2463, "name": "VariableDeclaration", - "src": "53624:10:1" + "src": "55149:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -69992,19 +69992,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2972, + "id": 2464, "name": "ElementaryTypeName", - "src": "53636:7:1" + "src": "55161:7:0" } ], - "id": 2973, + "id": 2465, "name": "VariableDeclaration", - "src": "53636:15:1" + "src": "55161:15:0" } ], - "id": 2974, + "id": 2466, "name": "ParameterList", - "src": "53609:43:1" + "src": "55134:43:0" }, { "attributes": { @@ -70013,9 +70013,9 @@ ] }, "children": [], - "id": 2976, + "id": 2468, "name": "ParameterList", - "src": "53677:0:1" + "src": "55202:0:0" }, { "children": [ @@ -70056,9 +70056,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2977, + "id": 2469, "name": "Identifier", - "src": "53739:7:1" + "src": "55266:7:0" }, { "attributes": { @@ -70090,13 +70090,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 2978, + "id": 2470, "name": "Identifier", - "src": "53747:18:1" + "src": "55274:18:0" }, { "attributes": { @@ -70124,36 +70124,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2979, + "id": 2471, "name": "Identifier", - "src": "53766:10:1" + "src": "55293:10:0" } ], - "id": 2980, + "id": 2472, "name": "FunctionCall", - "src": "53766:12:1" + "src": "55293:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2981, + "id": 2473, "name": "Identifier", - "src": "53780:7:1" + "src": "55307:7:0" } ], - "id": 2982, + "id": 2474, "name": "FunctionCall", - "src": "53747:41:1" + "src": "55274:41:0" }, { "attributes": { @@ -70166,19 +70166,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 2983, + "id": 2475, "name": "Literal", - "src": "53790:51:1" + "src": "55317:51:0" } ], - "id": 2984, + "id": 2476, "name": "FunctionCall", - "src": "53739:103:1" + "src": "55266:103:0" } ], - "id": 2985, + "id": 2477, "name": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "children": [ @@ -70216,77 +70216,77 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 2986, + "id": 2478, "name": "Identifier", - "src": "53853:9:1" + "src": "55382:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2969, + "referencedDeclaration": 2461, "type": "address", "value": "from" }, - "id": 2987, + "id": 2479, "name": "Identifier", - "src": "53863:4:1" + "src": "55392:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2971, + "referencedDeclaration": 2463, "type": "address", "value": "to" }, - "id": 2988, + "id": 2480, "name": "Identifier", - "src": "53869:2:1" + "src": "55398:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2989, + "id": 2481, "name": "Identifier", - "src": "53873:7:1" + "src": "55402:7:0" } ], - "id": 2990, + "id": 2482, "name": "FunctionCall", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2991, + "id": 2483, "name": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2992, + "id": 2484, "name": "Block", - "src": "53677:211:1" + "src": "55202:216:0" } ], - "id": 2993, + "id": 2485, "name": "FunctionDefinition", - "src": "53588:300:1" + "src": "55113:305:0" }, { "attributes": { "baseFunctions": [ - 598 + 90 ], "functionSelector": "42842e0e", "implemented": true, @@ -70296,7 +70296,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70306,9 +70306,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 2994, + "id": 2486, "name": "StructuredDocumentation", - "src": "53894:55:1" + "src": "55426:57:0" }, { "attributes": { @@ -70316,9 +70316,9 @@ null ] }, - "id": 3002, + "id": 2494, "name": "OverrideSpecifier", - "src": "54038:8:1" + "src": "55573:8:0" }, { "children": [ @@ -70327,7 +70327,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70340,21 +70340,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2995, + "id": 2487, "name": "ElementaryTypeName", - "src": "53980:7:1" + "src": "55515:7:0" } ], - "id": 2996, + "id": 2488, "name": "VariableDeclaration", - "src": "53980:12:1" + "src": "55515:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70367,21 +70367,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2997, + "id": 2489, "name": "ElementaryTypeName", - "src": "53994:7:1" + "src": "55529:7:0" } ], - "id": 2998, + "id": 2490, "name": "VariableDeclaration", - "src": "53994:10:1" + "src": "55529:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70393,19 +70393,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2999, + "id": 2491, "name": "ElementaryTypeName", - "src": "54006:7:1" + "src": "55541:7:0" } ], - "id": 3000, + "id": 2492, "name": "VariableDeclaration", - "src": "54006:15:1" + "src": "55541:15:0" } ], - "id": 3001, + "id": 2493, "name": "ParameterList", - "src": "53979:43:1" + "src": "55514:43:0" }, { "attributes": { @@ -70414,9 +70414,9 @@ ] }, "children": [], - "id": 3003, + "id": 2495, "name": "ParameterList", - "src": "54047:0:1" + "src": "55582:0:0" }, { "children": [ @@ -70458,55 +70458,55 @@ } ], "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, + "referencedDeclaration": 2534, "type": "function (address,address,uint256,bytes memory)", "value": "safeTransferFrom" }, - "id": 3004, + "id": 2496, "name": "Identifier", - "src": "54057:16:1" + "src": "55593:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2996, + "referencedDeclaration": 2488, "type": "address", "value": "from" }, - "id": 3005, + "id": 2497, "name": "Identifier", - "src": "54074:4:1" + "src": "55610:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2998, + "referencedDeclaration": 2490, "type": "address", "value": "to" }, - "id": 3006, + "id": 2498, "name": "Identifier", - "src": "54080:2:1" + "src": "55616:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3000, + "referencedDeclaration": 2492, "type": "uint256", "value": "tokenId" }, - "id": 3007, + "id": 2499, "name": "Identifier", - "src": "54084:7:1" + "src": "55620:7:0" }, { "attributes": { @@ -70519,34 +70519,34 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3008, + "id": 2500, "name": "Literal", - "src": "54093:2:1" + "src": "55629:2:0" } ], - "id": 3009, + "id": 2501, "name": "FunctionCall", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3010, + "id": 2502, "name": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3011, + "id": 2503, "name": "Block", - "src": "54047:56:1" + "src": "55582:58:0" } ], - "id": 3012, + "id": 2504, "name": "FunctionDefinition", - "src": "53954:149:1" + "src": "55489:151:0" }, { "attributes": { "baseFunctions": [ - 654 + 146 ], "functionSelector": "b88d4fde", "implemented": true, @@ -70556,7 +70556,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70566,9 +70566,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 3013, + "id": 2505, "name": "StructuredDocumentation", - "src": "54109:55:1" + "src": "55648:57:0" }, { "attributes": { @@ -70576,9 +70576,9 @@ null ] }, - "id": 3023, + "id": 2515, "name": "OverrideSpecifier", - "src": "54273:8:1" + "src": "55815:8:0" }, { "children": [ @@ -70587,7 +70587,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70600,21 +70600,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3014, + "id": 2506, "name": "ElementaryTypeName", - "src": "54195:7:1" + "src": "55737:7:0" } ], - "id": 3015, + "id": 2507, "name": "VariableDeclaration", - "src": "54195:12:1" + "src": "55737:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70627,21 +70627,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3016, + "id": 2508, "name": "ElementaryTypeName", - "src": "54209:7:1" + "src": "55751:7:0" } ], - "id": 3017, + "id": 2509, "name": "VariableDeclaration", - "src": "54209:10:1" + "src": "55751:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70653,21 +70653,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3018, + "id": 2510, "name": "ElementaryTypeName", - "src": "54221:7:1" + "src": "55763:7:0" } ], - "id": 3019, + "id": 2511, "name": "VariableDeclaration", - "src": "54221:15:1" + "src": "55763:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -70679,19 +70679,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3020, + "id": 2512, "name": "ElementaryTypeName", - "src": "54238:5:1" + "src": "55780:5:0" } ], - "id": 3021, + "id": 2513, "name": "VariableDeclaration", - "src": "54238:18:1" + "src": "55780:18:0" } ], - "id": 3022, + "id": 2514, "name": "ParameterList", - "src": "54194:63:1" + "src": "55736:63:0" }, { "attributes": { @@ -70700,9 +70700,9 @@ ] }, "children": [], - "id": 3024, + "id": 2516, "name": "ParameterList", - "src": "54282:0:1" + "src": "55824:0:0" }, { "children": [ @@ -70743,9 +70743,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3025, + "id": 2517, "name": "Identifier", - "src": "54292:7:1" + "src": "55835:7:0" }, { "attributes": { @@ -70777,13 +70777,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 3026, + "id": 2518, "name": "Identifier", - "src": "54300:18:1" + "src": "55843:18:0" }, { "attributes": { @@ -70811,36 +70811,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3027, + "id": 2519, "name": "Identifier", - "src": "54319:10:1" + "src": "55862:10:0" } ], - "id": 3028, + "id": 2520, "name": "FunctionCall", - "src": "54319:12:1" + "src": "55862:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3029, + "id": 2521, "name": "Identifier", - "src": "54333:7:1" + "src": "55876:7:0" } ], - "id": 3030, + "id": 2522, "name": "FunctionCall", - "src": "54300:41:1" + "src": "55843:41:0" }, { "attributes": { @@ -70853,19 +70853,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 3031, + "id": 2523, "name": "Literal", - "src": "54343:51:1" + "src": "55886:51:0" } ], - "id": 3032, + "id": 2524, "name": "FunctionCall", - "src": "54292:103:1" + "src": "55835:103:0" } ], - "id": 3033, + "id": 2525, "name": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "children": [ @@ -70907,85 +70907,85 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3071, + "referencedDeclaration": 2563, "type": "function (address,address,uint256,bytes memory)", "value": "_safeTransfer" }, - "id": 3034, + "id": 2526, "name": "Identifier", - "src": "54405:13:1" + "src": "55949:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3015, + "referencedDeclaration": 2507, "type": "address", "value": "from" }, - "id": 3035, + "id": 2527, "name": "Identifier", - "src": "54419:4:1" + "src": "55963:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3017, + "referencedDeclaration": 2509, "type": "address", "value": "to" }, - "id": 3036, + "id": 2528, "name": "Identifier", - "src": "54425:2:1" + "src": "55969:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3037, + "id": 2529, "name": "Identifier", - "src": "54429:7:1" + "src": "55973:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3021, + "referencedDeclaration": 2513, "type": "bytes memory", "value": "_data" }, - "id": 3038, + "id": 2530, "name": "Identifier", - "src": "54438:5:1" + "src": "55982:5:0" } ], - "id": 3039, + "id": 2531, "name": "FunctionCall", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3040, + "id": 2532, "name": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3041, + "id": 2533, "name": "Block", - "src": "54282:169:1" + "src": "55824:172:0" } ], - "id": 3042, + "id": 2534, "name": "FunctionDefinition", - "src": "54169:282:1" + "src": "55711:285:0" }, { "attributes": { @@ -70996,7 +70996,7 @@ null ], "name": "_safeTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -71006,9 +71006,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3043, + "id": 2535, "name": "StructuredDocumentation", - "src": "54457:851:1" + "src": "56004:868:0" }, { "children": [ @@ -71017,7 +71017,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71030,21 +71030,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3044, + "id": 2536, "name": "ElementaryTypeName", - "src": "55336:7:1" + "src": "56901:7:0" } ], - "id": 3045, + "id": 2537, "name": "VariableDeclaration", - "src": "55336:12:1" + "src": "56901:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71057,21 +71057,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3046, + "id": 2538, "name": "ElementaryTypeName", - "src": "55350:7:1" + "src": "56915:7:0" } ], - "id": 3047, + "id": 2539, "name": "VariableDeclaration", - "src": "55350:10:1" + "src": "56915:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71083,21 +71083,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3048, + "id": 2540, "name": "ElementaryTypeName", - "src": "55362:7:1" + "src": "56927:7:0" } ], - "id": 3049, + "id": 2541, "name": "VariableDeclaration", - "src": "55362:15:1" + "src": "56927:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -71109,19 +71109,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3050, + "id": 2542, "name": "ElementaryTypeName", - "src": "55379:5:1" + "src": "56944:5:0" } ], - "id": 3051, + "id": 2543, "name": "VariableDeclaration", - "src": "55379:18:1" + "src": "56944:18:0" } ], - "id": 3052, + "id": 2544, "name": "ParameterList", - "src": "55335:63:1" + "src": "56900:63:0" }, { "attributes": { @@ -71130,9 +71130,9 @@ ] }, "children": [], - "id": 3053, + "id": 2545, "name": "ParameterList", - "src": "55416:0:1" + "src": "56981:0:0" }, { "children": [ @@ -71172,62 +71172,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 3054, + "id": 2546, "name": "Identifier", - "src": "55426:9:1" + "src": "56992:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3055, + "id": 2547, "name": "Identifier", - "src": "55436:4:1" + "src": "57002:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3056, + "id": 2548, "name": "Identifier", - "src": "55442:2:1" + "src": "57008:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3057, + "id": 2549, "name": "Identifier", - "src": "55446:7:1" + "src": "57012:7:0" } ], - "id": 3058, + "id": 2550, "name": "FunctionCall", - "src": "55426:28:1" + "src": "56992:28:0" } ], - "id": 3059, + "id": 2551, "name": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "children": [ @@ -71266,9 +71266,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3060, + "id": 2552, "name": "Identifier", - "src": "55464:7:1" + "src": "57031:7:0" }, { "attributes": { @@ -71308,70 +71308,70 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3061, + "id": 2553, "name": "Identifier", - "src": "55472:22:1" + "src": "57039:22:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3062, + "id": 2554, "name": "Identifier", - "src": "55495:4:1" + "src": "57062:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3063, + "id": 2555, "name": "Identifier", - "src": "55501:2:1" + "src": "57068:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3064, + "id": 2556, "name": "Identifier", - "src": "55505:7:1" + "src": "57072:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3051, + "referencedDeclaration": 2543, "type": "bytes memory", "value": "_data" }, - "id": 3065, + "id": 2557, "name": "Identifier", - "src": "55514:5:1" + "src": "57081:5:0" } ], - "id": 3066, + "id": 2558, "name": "FunctionCall", - "src": "55472:48:1" + "src": "57039:48:0" }, { "attributes": { @@ -71384,29 +71384,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3067, + "id": 2559, "name": "Literal", - "src": "55522:52:1" + "src": "57089:52:0" } ], - "id": 3068, + "id": 2560, "name": "FunctionCall", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3069, + "id": 2561, "name": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3070, + "id": 2562, "name": "Block", - "src": "55416:166:1" + "src": "56981:169:0" } ], - "id": 3071, + "id": 2563, "name": "FunctionDefinition", - "src": "55313:269:1" + "src": "56878:272:0" }, { "attributes": { @@ -71417,7 +71417,7 @@ null ], "name": "_exists", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71427,9 +71427,9 @@ "attributes": { "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3072, + "id": 2564, "name": "StructuredDocumentation", - "src": "55588:292:1" + "src": "57158:299:0" }, { "children": [ @@ -71438,7 +71438,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71450,19 +71450,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3073, + "id": 2565, "name": "ElementaryTypeName", - "src": "55902:7:1" + "src": "57480:7:0" } ], - "id": 3074, + "id": 2566, "name": "VariableDeclaration", - "src": "55902:15:1" + "src": "57480:15:0" } ], - "id": 3075, + "id": 2567, "name": "ParameterList", - "src": "55901:17:1" + "src": "57479:17:0" }, { "children": [ @@ -71471,7 +71471,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71483,25 +71483,25 @@ "name": "bool", "type": "bool" }, - "id": 3076, + "id": 2568, "name": "ElementaryTypeName", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3077, + "id": 2569, "name": "VariableDeclaration", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3078, + "id": 2570, "name": "ParameterList", - "src": "55949:6:1" + "src": "57527:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3078 + "functionReturnParameters": 2570 }, "children": [ { @@ -71532,7 +71532,7 @@ "isPure": false, "lValueRequested": false, "member_name": "contains", - "referencedDeclaration": 2326, + "referencedDeclaration": 1818, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" }, "children": [ @@ -71541,51 +71541,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3079, + "id": 2571, "name": "Identifier", - "src": "55973:12:1" + "src": "57552:12:0" } ], - "id": 3080, + "id": 2572, "name": "MemberAccess", - "src": "55973:21:1" + "src": "57552:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3074, + "referencedDeclaration": 2566, "type": "uint256", "value": "tokenId" }, - "id": 3081, + "id": 2573, "name": "Identifier", - "src": "55995:7:1" + "src": "57574:7:0" } ], - "id": 3082, + "id": 2574, "name": "FunctionCall", - "src": "55973:30:1" + "src": "57552:30:0" } ], - "id": 3083, + "id": 2575, "name": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ], - "id": 3084, + "id": 2576, "name": "Block", - "src": "55956:54:1" + "src": "57534:56:0" } ], - "id": 3085, + "id": 2577, "name": "FunctionDefinition", - "src": "55885:125:1" + "src": "57463:127:0" }, { "attributes": { @@ -71596,7 +71596,7 @@ null ], "name": "_isApprovedOrOwner", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71606,9 +71606,9 @@ "attributes": { "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3086, + "id": 2578, "name": "StructuredDocumentation", - "src": "56016:147:1" + "src": "57598:153:0" }, { "children": [ @@ -71617,7 +71617,7 @@ "constant": false, "mutability": "mutable", "name": "spender", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71630,21 +71630,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3087, + "id": 2579, "name": "ElementaryTypeName", - "src": "56196:7:1" + "src": "57785:7:0" } ], - "id": 3088, + "id": 2580, "name": "VariableDeclaration", - "src": "56196:15:1" + "src": "57785:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71656,19 +71656,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3089, + "id": 2581, "name": "ElementaryTypeName", - "src": "56213:7:1" + "src": "57802:7:0" } ], - "id": 3090, + "id": 2582, "name": "VariableDeclaration", - "src": "56213:15:1" + "src": "57802:15:0" } ], - "id": 3091, + "id": 2583, "name": "ParameterList", - "src": "56195:34:1" + "src": "57784:34:0" }, { "children": [ @@ -71677,7 +71677,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71689,19 +71689,19 @@ "name": "bool", "type": "bool" }, - "id": 3092, + "id": 2584, "name": "ElementaryTypeName", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3093, + "id": 2585, "name": "VariableDeclaration", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3094, + "id": 2586, "name": "ParameterList", - "src": "56260:6:1" + "src": "57849:6:0" }, { "children": [ @@ -71742,9 +71742,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3095, + "id": 2587, "name": "Identifier", - "src": "56277:7:1" + "src": "57867:7:0" }, { "attributes": { @@ -71772,31 +71772,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3096, + "id": 2588, "name": "Identifier", - "src": "56285:7:1" + "src": "57875:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3097, + "id": 2589, "name": "Identifier", - "src": "56293:7:1" + "src": "57883:7:0" } ], - "id": 3098, + "id": 2590, "name": "FunctionCall", - "src": "56285:16:1" + "src": "57875:16:0" }, { "attributes": { @@ -71809,24 +71809,24 @@ "type": "literal_string \"ERC721: operator query for nonexistent token\"", "value": "ERC721: operator query for nonexistent token" }, - "id": 3099, + "id": 2591, "name": "Literal", - "src": "56303:46:1" + "src": "57893:46:0" } ], - "id": 3100, + "id": 2592, "name": "FunctionCall", - "src": "56277:73:1" + "src": "57867:73:0" } ], - "id": 3101, + "id": 2593, "name": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "attributes": { "assignments": [ - 3103 + 2595 ] }, "children": [ @@ -71835,7 +71835,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3126, + "scope": 2618, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71848,14 +71848,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3102, + "id": 2594, "name": "ElementaryTypeName", - "src": "56360:7:1" + "src": "57951:7:0" } ], - "id": 3103, + "id": 2595, "name": "VariableDeclaration", - "src": "56360:13:1" + "src": "57951:13:0" }, { "attributes": { @@ -71885,7 +71885,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -71894,45 +71894,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3104, + "id": 2596, "name": "Identifier", - "src": "56376:6:1" + "src": "57967:6:0" } ], - "id": 3105, + "id": 2597, "name": "MemberAccess", - "src": "56376:14:1" + "src": "57967:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3106, + "id": 2598, "name": "Identifier", - "src": "56391:7:1" + "src": "57982:7:0" } ], - "id": 3107, + "id": 2599, "name": "FunctionCall", - "src": "56376:23:1" + "src": "57967:23:0" } ], - "id": 3108, + "id": 2600, "name": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "attributes": { - "functionReturnParameters": 3094 + "functionReturnParameters": 2586 }, "children": [ { @@ -71992,31 +71992,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3109, + "id": 2601, "name": "Identifier", - "src": "56417:7:1" + "src": "58009:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3110, + "id": 2602, "name": "Identifier", - "src": "56428:5:1" + "src": "58020:5:0" } ], - "id": 3111, + "id": 2603, "name": "BinaryOperation", - "src": "56417:16:1" + "src": "58009:16:0" }, { "attributes": { @@ -72058,54 +72058,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2914, + "referencedDeclaration": 2406, "type": "function (uint256) view returns (address)", "value": "getApproved" }, - "id": 3112, + "id": 2604, "name": "Identifier", - "src": "56437:11:1" + "src": "58029:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3113, + "id": 2605, "name": "Identifier", - "src": "56449:7:1" + "src": "58041:7:0" } ], - "id": 3114, + "id": 2606, "name": "FunctionCall", - "src": "56437:20:1" + "src": "58029:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3115, + "id": 2607, "name": "Identifier", - "src": "56461:7:1" + "src": "58053:7:0" } ], - "id": 3116, + "id": 2608, "name": "BinaryOperation", - "src": "56437:31:1" + "src": "58029:31:0" } ], - "id": 3117, + "id": 2609, "name": "BinaryOperation", - "src": "56417:51:1" + "src": "58009:51:0" }, { "attributes": { @@ -72139,7 +72139,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -72148,74 +72148,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3118, + "id": 2610, "name": "Identifier", - "src": "56472:6:1" + "src": "58064:6:0" } ], - "id": 3119, + "id": 2611, "name": "MemberAccess", - "src": "56472:23:1" + "src": "58064:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3120, + "id": 2612, "name": "Identifier", - "src": "56496:5:1" + "src": "58088:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3121, + "id": 2613, "name": "Identifier", - "src": "56503:7:1" + "src": "58095:7:0" } ], - "id": 3122, + "id": 2614, "name": "FunctionCall", - "src": "56472:39:1" + "src": "58064:39:0" } ], - "id": 3123, + "id": 2615, "name": "BinaryOperation", - "src": "56417:94:1" + "src": "58009:94:0" } ], - "id": 3124, + "id": 2616, "name": "TupleExpression", - "src": "56416:96:1" + "src": "58008:96:0" } ], - "id": 3125, + "id": 2617, "name": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ], - "id": 3126, + "id": 2618, "name": "Block", - "src": "56267:252:1" + "src": "57856:256:0" } ], - "id": 3127, + "id": 2619, "name": "FunctionDefinition", - "src": "56168:351:1" + "src": "57757:355:0" }, { "attributes": { @@ -72226,7 +72226,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72236,9 +72236,9 @@ "attributes": { "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3128, + "id": 2620, "name": "StructuredDocumentation", - "src": "56525:320:1" + "src": "58120:329:0" }, { "children": [ @@ -72247,7 +72247,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72260,21 +72260,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3129, + "id": 2621, "name": "ElementaryTypeName", - "src": "56869:7:1" + "src": "58474:7:0" } ], - "id": 3130, + "id": 2622, "name": "VariableDeclaration", - "src": "56869:10:1" + "src": "58474:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72286,19 +72286,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3131, + "id": 2623, "name": "ElementaryTypeName", - "src": "56881:7:1" + "src": "58486:7:0" } ], - "id": 3132, + "id": 2624, "name": "VariableDeclaration", - "src": "56881:15:1" + "src": "58486:15:0" } ], - "id": 3133, + "id": 2625, "name": "ParameterList", - "src": "56868:29:1" + "src": "58473:29:0" }, { "attributes": { @@ -72307,9 +72307,9 @@ ] }, "children": [], - "id": 3134, + "id": 2626, "name": "ParameterList", - "src": "56915:0:1" + "src": "58520:0:0" }, { "children": [ @@ -72347,42 +72347,42 @@ } ], "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, + "referencedDeclaration": 2663, "type": "function (address,uint256,bytes memory)", "value": "_safeMint" }, - "id": 3135, + "id": 2627, "name": "Identifier", - "src": "56925:9:1" + "src": "58531:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3130, + "referencedDeclaration": 2622, "type": "address", "value": "to" }, - "id": 3136, + "id": 2628, "name": "Identifier", - "src": "56935:2:1" + "src": "58541:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3132, + "referencedDeclaration": 2624, "type": "uint256", "value": "tokenId" }, - "id": 3137, + "id": 2629, "name": "Identifier", - "src": "56939:7:1" + "src": "58545:7:0" }, { "attributes": { @@ -72395,29 +72395,29 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3138, + "id": 2630, "name": "Literal", - "src": "56948:2:1" + "src": "58554:2:0" } ], - "id": 3139, + "id": 2631, "name": "FunctionCall", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3140, + "id": 2632, "name": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3141, + "id": 2633, "name": "Block", - "src": "56915:43:1" + "src": "58520:45:0" } ], - "id": 3142, + "id": 2634, "name": "FunctionDefinition", - "src": "56850:108:1" + "src": "58455:110:0" }, { "attributes": { @@ -72428,7 +72428,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72438,9 +72438,9 @@ "attributes": { "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3143, + "id": 2635, "name": "StructuredDocumentation", - "src": "56964:210:1" + "src": "58573:213:0" }, { "children": [ @@ -72449,7 +72449,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72462,21 +72462,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3144, + "id": 2636, "name": "ElementaryTypeName", - "src": "57198:7:1" + "src": "58811:7:0" } ], - "id": 3145, + "id": 2637, "name": "VariableDeclaration", - "src": "57198:10:1" + "src": "58811:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72488,21 +72488,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3146, + "id": 2638, "name": "ElementaryTypeName", - "src": "57210:7:1" + "src": "58823:7:0" } ], - "id": 3147, + "id": 2639, "name": "VariableDeclaration", - "src": "57210:15:1" + "src": "58823:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -72514,19 +72514,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3148, + "id": 2640, "name": "ElementaryTypeName", - "src": "57227:5:1" + "src": "58840:5:0" } ], - "id": 3149, + "id": 2641, "name": "VariableDeclaration", - "src": "57227:18:1" + "src": "58840:18:0" } ], - "id": 3150, + "id": 2642, "name": "ParameterList", - "src": "57197:49:1" + "src": "58810:49:0" }, { "attributes": { @@ -72535,9 +72535,9 @@ ] }, "children": [], - "id": 3151, + "id": 2643, "name": "ParameterList", - "src": "57264:0:1" + "src": "58877:0:0" }, { "children": [ @@ -72573,49 +72573,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3230, + "referencedDeclaration": 2722, "type": "function (address,uint256)", "value": "_mint" }, - "id": 3152, + "id": 2644, "name": "Identifier", - "src": "57274:5:1" + "src": "58888:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3153, + "id": 2645, "name": "Identifier", - "src": "57280:2:1" + "src": "58894:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3154, + "id": 2646, "name": "Identifier", - "src": "57284:7:1" + "src": "58898:7:0" } ], - "id": 3155, + "id": 2647, "name": "FunctionCall", - "src": "57274:18:1" + "src": "58888:18:0" } ], - "id": 3156, + "id": 2648, "name": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "children": [ @@ -72654,9 +72654,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3157, + "id": 2649, "name": "Identifier", - "src": "57302:7:1" + "src": "58917:7:0" }, { "attributes": { @@ -72696,13 +72696,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3158, + "id": 2650, "name": "Identifier", - "src": "57310:22:1" + "src": "58925:22:0" }, { "attributes": { @@ -72738,14 +72738,14 @@ "attributes": { "name": "address" }, - "id": 3159, + "id": 2651, "name": "ElementaryTypeName", - "src": "57333:7:1" + "src": "58948:7:0" } ], - "id": 3160, + "id": 2652, "name": "ElementaryTypeNameExpression", - "src": "57333:7:1" + "src": "58948:7:0" }, { "attributes": { @@ -72758,58 +72758,58 @@ "type": "int_const 0", "value": "0" }, - "id": 3161, + "id": 2653, "name": "Literal", - "src": "57341:1:1" + "src": "58956:1:0" } ], - "id": 3162, + "id": 2654, "name": "FunctionCall", - "src": "57333:10:1" + "src": "58948:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3163, + "id": 2655, "name": "Identifier", - "src": "57345:2:1" + "src": "58960:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3164, + "id": 2656, "name": "Identifier", - "src": "57349:7:1" + "src": "58964:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3149, + "referencedDeclaration": 2641, "type": "bytes memory", "value": "_data" }, - "id": 3165, + "id": 2657, "name": "Identifier", - "src": "57358:5:1" + "src": "58973:5:0" } ], - "id": 3166, + "id": 2658, "name": "FunctionCall", - "src": "57310:54:1" + "src": "58925:54:0" }, { "attributes": { @@ -72822,29 +72822,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3167, + "id": 2659, "name": "Literal", - "src": "57366:52:1" + "src": "58981:52:0" } ], - "id": 3168, + "id": 2660, "name": "FunctionCall", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3169, + "id": 2661, "name": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3170, + "id": 2662, "name": "Block", - "src": "57264:162:1" + "src": "58877:165:0" } ], - "id": 3171, + "id": 2663, "name": "FunctionDefinition", - "src": "57179:247:1" + "src": "58792:250:0" }, { "attributes": { @@ -72855,7 +72855,7 @@ null ], "name": "_mint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72865,9 +72865,9 @@ "attributes": { "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3172, + "id": 2664, "name": "StructuredDocumentation", - "src": "57432:311:1" + "src": "59050:322:0" }, { "children": [ @@ -72876,7 +72876,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72889,21 +72889,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3173, + "id": 2665, "name": "ElementaryTypeName", - "src": "57763:7:1" + "src": "59393:7:0" } ], - "id": 3174, + "id": 2666, "name": "VariableDeclaration", - "src": "57763:10:1" + "src": "59393:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72915,19 +72915,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3175, + "id": 2667, "name": "ElementaryTypeName", - "src": "57775:7:1" + "src": "59405:7:0" } ], - "id": 3176, + "id": 2668, "name": "VariableDeclaration", - "src": "57775:15:1" + "src": "59405:15:0" } ], - "id": 3177, + "id": 2669, "name": "ParameterList", - "src": "57762:29:1" + "src": "59392:29:0" }, { "attributes": { @@ -72936,9 +72936,9 @@ ] }, "children": [], - "id": 3178, + "id": 2670, "name": "ParameterList", - "src": "57809:0:1" + "src": "59439:0:0" }, { "children": [ @@ -72979,9 +72979,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3179, + "id": 2671, "name": "Identifier", - "src": "57819:7:1" + "src": "59450:7:0" }, { "attributes": { @@ -73002,13 +73002,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3180, + "id": 2672, "name": "Identifier", - "src": "57827:2:1" + "src": "59458:2:0" }, { "attributes": { @@ -73044,14 +73044,14 @@ "attributes": { "name": "address" }, - "id": 3181, + "id": 2673, "name": "ElementaryTypeName", - "src": "57833:7:1" + "src": "59464:7:0" } ], - "id": 3182, + "id": 2674, "name": "ElementaryTypeNameExpression", - "src": "57833:7:1" + "src": "59464:7:0" }, { "attributes": { @@ -73064,19 +73064,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3183, + "id": 2675, "name": "Literal", - "src": "57841:1:1" + "src": "59472:1:0" } ], - "id": 3184, + "id": 2676, "name": "FunctionCall", - "src": "57833:10:1" + "src": "59464:10:0" } ], - "id": 3185, + "id": 2677, "name": "BinaryOperation", - "src": "57827:16:1" + "src": "59458:16:0" }, { "attributes": { @@ -73089,19 +73089,19 @@ "type": "literal_string \"ERC721: mint to the zero address\"", "value": "ERC721: mint to the zero address" }, - "id": 3186, + "id": 2678, "name": "Literal", - "src": "57845:34:1" + "src": "59476:34:0" } ], - "id": 3187, + "id": 2679, "name": "FunctionCall", - "src": "57819:61:1" + "src": "59450:61:0" } ], - "id": 3188, + "id": 2680, "name": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "children": [ @@ -73140,9 +73140,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3189, + "id": 2681, "name": "Identifier", - "src": "57890:7:1" + "src": "59522:7:0" }, { "attributes": { @@ -73181,36 +73181,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3190, + "id": 2682, "name": "Identifier", - "src": "57899:7:1" + "src": "59531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3191, + "id": 2683, "name": "Identifier", - "src": "57907:7:1" + "src": "59539:7:0" } ], - "id": 3192, + "id": 2684, "name": "FunctionCall", - "src": "57899:16:1" + "src": "59531:16:0" } ], - "id": 3193, + "id": 2685, "name": "UnaryOperation", - "src": "57898:17:1" + "src": "59530:17:0" }, { "attributes": { @@ -73223,19 +73223,19 @@ "type": "literal_string \"ERC721: token already minted\"", "value": "ERC721: token already minted" }, - "id": 3194, + "id": 2686, "name": "Literal", - "src": "57917:30:1" + "src": "59549:30:0" } ], - "id": 3195, + "id": 2687, "name": "FunctionCall", - "src": "57890:58:1" + "src": "59522:58:0" } ], - "id": 3196, + "id": 2688, "name": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "children": [ @@ -73273,13 +73273,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3197, + "id": 2689, "name": "Identifier", - "src": "57959:20:1" + "src": "59593:20:0" }, { "attributes": { @@ -73315,14 +73315,14 @@ "attributes": { "name": "address" }, - "id": 3198, + "id": 2690, "name": "ElementaryTypeName", - "src": "57980:7:1" + "src": "59614:7:0" } ], - "id": 3199, + "id": 2691, "name": "ElementaryTypeNameExpression", - "src": "57980:7:1" + "src": "59614:7:0" }, { "attributes": { @@ -73335,50 +73335,50 @@ "type": "int_const 0", "value": "0" }, - "id": 3200, + "id": 2692, "name": "Literal", - "src": "57988:1:1" + "src": "59622:1:0" } ], - "id": 3201, + "id": 2693, "name": "FunctionCall", - "src": "57980:10:1" + "src": "59614:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3202, + "id": 2694, "name": "Identifier", - "src": "57992:2:1" + "src": "59626:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3203, + "id": 2695, "name": "Identifier", - "src": "57996:7:1" + "src": "59630:7:0" } ], - "id": 3204, + "id": 2696, "name": "FunctionCall", - "src": "57959:45:1" + "src": "59593:45:0" } ], - "id": 3205, + "id": 2697, "name": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "children": [ @@ -73410,7 +73410,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -73428,59 +73428,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3206, + "id": 2698, "name": "Identifier", - "src": "58015:13:1" + "src": "59651:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3207, + "id": 2699, "name": "Identifier", - "src": "58029:2:1" + "src": "59665:2:0" } ], - "id": 3208, + "id": 2700, "name": "IndexAccess", - "src": "58015:17:1" + "src": "59651:17:0" } ], - "id": 3209, + "id": 2701, "name": "MemberAccess", - "src": "58015:21:1" + "src": "59651:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3210, + "id": 2702, "name": "Identifier", - "src": "58037:7:1" + "src": "59673:7:0" } ], - "id": 3211, + "id": 2703, "name": "FunctionCall", - "src": "58015:30:1" + "src": "59651:30:0" } ], - "id": 3212, + "id": 2704, "name": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "children": [ @@ -73516,7 +73516,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -73525,54 +73525,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3213, + "id": 2705, "name": "Identifier", - "src": "58056:12:1" + "src": "59694:12:0" } ], - "id": 3215, + "id": 2707, "name": "MemberAccess", - "src": "58056:16:1" + "src": "59694:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3216, + "id": 2708, "name": "Identifier", - "src": "58073:7:1" + "src": "59711:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3217, + "id": 2709, "name": "Identifier", - "src": "58082:2:1" + "src": "59720:2:0" } ], - "id": 3218, + "id": 2710, "name": "FunctionCall", - "src": "58056:29:1" + "src": "59694:29:0" } ], - "id": 3219, + "id": 2711, "name": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "children": [ @@ -73610,13 +73610,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3220, + "id": 2712, "name": "Identifier", - "src": "58101:8:1" + "src": "59741:8:0" }, { "attributes": { @@ -73652,14 +73652,14 @@ "attributes": { "name": "address" }, - "id": 3221, + "id": 2713, "name": "ElementaryTypeName", - "src": "58110:7:1" + "src": "59750:7:0" } ], - "id": 3222, + "id": 2714, "name": "ElementaryTypeNameExpression", - "src": "58110:7:1" + "src": "59750:7:0" }, { "attributes": { @@ -73672,60 +73672,60 @@ "type": "int_const 0", "value": "0" }, - "id": 3223, + "id": 2715, "name": "Literal", - "src": "58118:1:1" + "src": "59758:1:0" } ], - "id": 3224, + "id": 2716, "name": "FunctionCall", - "src": "58110:10:1" + "src": "59750:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3225, + "id": 2717, "name": "Identifier", - "src": "58122:2:1" + "src": "59762:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3226, + "id": 2718, "name": "Identifier", - "src": "58126:7:1" + "src": "59766:7:0" } ], - "id": 3227, + "id": 2719, "name": "FunctionCall", - "src": "58101:33:1" + "src": "59741:33:0" } ], - "id": 3228, + "id": 2720, "name": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ], - "id": 3229, + "id": 2721, "name": "Block", - "src": "57809:332:1" + "src": "59439:343:0" } ], - "id": 3230, + "id": 2722, "name": "FunctionDefinition", - "src": "57748:393:1" + "src": "59378:404:0" }, { "attributes": { @@ -73736,7 +73736,7 @@ null ], "name": "_burn", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -73746,9 +73746,9 @@ "attributes": { "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3231, + "id": 2723, "name": "StructuredDocumentation", - "src": "58147:206:1" + "src": "59790:215:0" }, { "children": [ @@ -73757,7 +73757,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3299, + "scope": 2791, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -73769,19 +73769,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3232, + "id": 2724, "name": "ElementaryTypeName", - "src": "58373:7:1" + "src": "60026:7:0" } ], - "id": 3233, + "id": 2725, "name": "VariableDeclaration", - "src": "58373:15:1" + "src": "60026:15:0" } ], - "id": 3234, + "id": 2726, "name": "ParameterList", - "src": "58372:17:1" + "src": "60025:17:0" }, { "attributes": { @@ -73790,16 +73790,16 @@ ] }, "children": [], - "id": 3235, + "id": 2727, "name": "ParameterList", - "src": "58407:0:1" + "src": "60060:0:0" }, { "children": [ { "attributes": { "assignments": [ - 3237 + 2729 ] }, "children": [ @@ -73808,7 +73808,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3298, + "scope": 2790, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -73821,14 +73821,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3236, + "id": 2728, "name": "ElementaryTypeName", - "src": "58417:7:1" + "src": "60071:7:0" } ], - "id": 3237, + "id": 2729, "name": "VariableDeclaration", - "src": "58417:13:1" + "src": "60071:13:0" }, { "attributes": { @@ -73858,7 +73858,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -73867,41 +73867,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3238, + "id": 2730, "name": "Identifier", - "src": "58433:6:1" + "src": "60087:6:0" } ], - "id": 3239, + "id": 2731, "name": "MemberAccess", - "src": "58433:14:1" + "src": "60087:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3240, + "id": 2732, "name": "Identifier", - "src": "58448:7:1" + "src": "60102:7:0" } ], - "id": 3241, + "id": 2733, "name": "FunctionCall", - "src": "58433:23:1" + "src": "60087:23:0" } ], - "id": 3242, + "id": 2734, "name": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "children": [ @@ -73939,26 +73939,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3243, + "id": 2735, "name": "Identifier", - "src": "58485:20:1" + "src": "60141:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3244, + "id": 2736, "name": "Identifier", - "src": "58506:5:1" + "src": "60162:5:0" }, { "attributes": { @@ -73994,14 +73994,14 @@ "attributes": { "name": "address" }, - "id": 3245, + "id": 2737, "name": "ElementaryTypeName", - "src": "58513:7:1" + "src": "60169:7:0" } ], - "id": 3246, + "id": 2738, "name": "ElementaryTypeNameExpression", - "src": "58513:7:1" + "src": "60169:7:0" }, { "attributes": { @@ -74014,37 +74014,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3247, + "id": 2739, "name": "Literal", - "src": "58521:1:1" + "src": "60177:1:0" } ], - "id": 3248, + "id": 2740, "name": "FunctionCall", - "src": "58513:10:1" + "src": "60169:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3249, + "id": 2741, "name": "Identifier", - "src": "58525:7:1" + "src": "60181:7:0" } ], - "id": 3250, + "id": 2742, "name": "FunctionCall", - "src": "58485:48:1" + "src": "60141:48:0" } ], - "id": 3251, + "id": 2743, "name": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "children": [ @@ -74078,13 +74078,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3252, + "id": 2744, "name": "Identifier", - "src": "58571:8:1" + "src": "60230:8:0" }, { "attributes": { @@ -74120,14 +74120,14 @@ "attributes": { "name": "address" }, - "id": 3253, + "id": 2745, "name": "ElementaryTypeName", - "src": "58580:7:1" + "src": "60239:7:0" } ], - "id": 3254, + "id": 2746, "name": "ElementaryTypeNameExpression", - "src": "58580:7:1" + "src": "60239:7:0" }, { "attributes": { @@ -74140,37 +74140,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3255, + "id": 2747, "name": "Literal", - "src": "58588:1:1" + "src": "60247:1:0" } ], - "id": 3256, + "id": 2748, "name": "FunctionCall", - "src": "58580:10:1" + "src": "60239:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3257, + "id": 2749, "name": "Identifier", - "src": "58592:7:1" + "src": "60251:7:0" } ], - "id": 3258, + "id": 2750, "name": "FunctionCall", - "src": "58571:29:1" + "src": "60230:29:0" } ], - "id": 3259, + "id": 2751, "name": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "attributes": {}, @@ -74233,14 +74233,14 @@ "attributes": { "name": "bytes" }, - "id": 3260, + "id": 2752, "name": "ElementaryTypeName", - "src": "58650:5:1" + "src": "60312:5:0" } ], - "id": 3261, + "id": 2753, "name": "ElementaryTypeNameExpression", - "src": "58650:5:1" + "src": "60312:5:0" }, { "attributes": { @@ -74256,41 +74256,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3262, + "id": 2754, "name": "Identifier", - "src": "58656:10:1" + "src": "60318:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3263, + "id": 2755, "name": "Identifier", - "src": "58667:7:1" + "src": "60329:7:0" } ], - "id": 3264, + "id": 2756, "name": "IndexAccess", - "src": "58656:19:1" + "src": "60318:19:0" } ], - "id": 3265, + "id": 2757, "name": "FunctionCall", - "src": "58650:26:1" + "src": "60312:26:0" } ], - "id": 3266, + "id": 2758, "name": "MemberAccess", - "src": "58650:33:1" + "src": "60312:33:0" }, { "attributes": { @@ -74303,14 +74303,14 @@ "type": "int_const 0", "value": "0" }, - "id": 3267, + "id": 2759, "name": "Literal", - "src": "58687:1:1" + "src": "60349:1:0" } ], - "id": 3268, + "id": 2760, "name": "BinaryOperation", - "src": "58650:38:1" + "src": "60312:38:0" }, { "children": [ @@ -74341,51 +74341,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3269, + "id": 2761, "name": "Identifier", - "src": "58711:10:1" + "src": "60374:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3270, + "id": 2762, "name": "Identifier", - "src": "58722:7:1" + "src": "60385:7:0" } ], - "id": 3271, + "id": 2763, "name": "IndexAccess", - "src": "58711:19:1" + "src": "60374:19:0" } ], - "id": 3272, + "id": 2764, "name": "UnaryOperation", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3273, + "id": 2765, "name": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3274, + "id": 2766, "name": "Block", - "src": "58690:51:1" + "src": "60352:53:0" } ], - "id": 3275, + "id": 2767, "name": "IfStatement", - "src": "58646:95:1" + "src": "60308:97:0" }, { "children": [ @@ -74417,7 +74417,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -74435,59 +74435,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3276, + "id": 2768, "name": "Identifier", - "src": "58751:13:1" + "src": "60417:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3277, + "id": 2769, "name": "Identifier", - "src": "58765:5:1" + "src": "60431:5:0" } ], - "id": 3278, + "id": 2770, "name": "IndexAccess", - "src": "58751:20:1" + "src": "60417:20:0" } ], - "id": 3279, + "id": 2771, "name": "MemberAccess", - "src": "58751:27:1" + "src": "60417:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3280, + "id": 2772, "name": "Identifier", - "src": "58779:7:1" + "src": "60445:7:0" } ], - "id": 3281, + "id": 2773, "name": "FunctionCall", - "src": "58751:36:1" + "src": "60417:36:0" } ], - "id": 3282, + "id": 2774, "name": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "children": [ @@ -74519,7 +74519,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 2306, + "referencedDeclaration": 1798, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" }, "children": [ @@ -74528,41 +74528,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3283, + "id": 2775, "name": "Identifier", - "src": "58798:12:1" + "src": "60466:12:0" } ], - "id": 3285, + "id": 2777, "name": "MemberAccess", - "src": "58798:19:1" + "src": "60466:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3286, + "id": 2778, "name": "Identifier", - "src": "58818:7:1" + "src": "60486:7:0" } ], - "id": 3287, + "id": 2779, "name": "FunctionCall", - "src": "58798:28:1" + "src": "60466:28:0" } ], - "id": 3288, + "id": 2780, "name": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "children": [ @@ -74600,26 +74600,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3289, + "id": 2781, "name": "Identifier", - "src": "58842:8:1" + "src": "60512:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3290, + "id": 2782, "name": "Identifier", - "src": "58851:5:1" + "src": "60521:5:0" }, { "attributes": { @@ -74655,14 +74655,14 @@ "attributes": { "name": "address" }, - "id": 3291, + "id": 2783, "name": "ElementaryTypeName", - "src": "58858:7:1" + "src": "60528:7:0" } ], - "id": 3292, + "id": 2784, "name": "ElementaryTypeNameExpression", - "src": "58858:7:1" + "src": "60528:7:0" }, { "attributes": { @@ -74675,47 +74675,47 @@ "type": "int_const 0", "value": "0" }, - "id": 3293, + "id": 2785, "name": "Literal", - "src": "58866:1:1" + "src": "60536:1:0" } ], - "id": 3294, + "id": 2786, "name": "FunctionCall", - "src": "58858:10:1" + "src": "60528:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3295, + "id": 2787, "name": "Identifier", - "src": "58870:7:1" + "src": "60540:7:0" } ], - "id": 3296, + "id": 2788, "name": "FunctionCall", - "src": "58842:36:1" + "src": "60512:36:0" } ], - "id": 3297, + "id": 2789, "name": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ], - "id": 3298, + "id": 2790, "name": "Block", - "src": "58407:478:1" + "src": "60060:496:0" } ], - "id": 3299, + "id": 2791, "name": "FunctionDefinition", - "src": "58358:527:1" + "src": "60011:545:0" }, { "attributes": { @@ -74726,7 +74726,7 @@ null ], "name": "_transfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -74736,9 +74736,9 @@ "attributes": { "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3300, + "id": 2792, "name": "StructuredDocumentation", - "src": "58891:313:1" + "src": "60564:323:0" }, { "children": [ @@ -74747,7 +74747,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74760,21 +74760,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3301, + "id": 2793, "name": "ElementaryTypeName", - "src": "59228:7:1" + "src": "60912:7:0" } ], - "id": 3302, + "id": 2794, "name": "VariableDeclaration", - "src": "59228:12:1" + "src": "60912:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74787,21 +74787,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3303, + "id": 2795, "name": "ElementaryTypeName", - "src": "59242:7:1" + "src": "60926:7:0" } ], - "id": 3304, + "id": 2796, "name": "VariableDeclaration", - "src": "59242:10:1" + "src": "60926:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -74813,19 +74813,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3305, + "id": 2797, "name": "ElementaryTypeName", - "src": "59254:7:1" + "src": "60938:7:0" } ], - "id": 3306, + "id": 2798, "name": "VariableDeclaration", - "src": "59254:15:1" + "src": "60938:15:0" } ], - "id": 3307, + "id": 2799, "name": "ParameterList", - "src": "59227:43:1" + "src": "60911:43:0" }, { "attributes": { @@ -74834,9 +74834,9 @@ ] }, "children": [], - "id": 3308, + "id": 2800, "name": "ParameterList", - "src": "59288:0:1" + "src": "60972:0:0" }, { "children": [ @@ -74877,9 +74877,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3309, + "id": 2801, "name": "Identifier", - "src": "59298:7:1" + "src": "60983:7:0" }, { "attributes": { @@ -74923,7 +74923,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -74932,54 +74932,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3310, + "id": 2802, "name": "Identifier", - "src": "59306:6:1" + "src": "60991:6:0" } ], - "id": 3311, + "id": 2803, "name": "MemberAccess", - "src": "59306:14:1" + "src": "60991:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3312, + "id": 2804, "name": "Identifier", - "src": "59321:7:1" + "src": "61006:7:0" } ], - "id": 3313, + "id": 2805, "name": "FunctionCall", - "src": "59306:23:1" + "src": "60991:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3314, + "id": 2806, "name": "Identifier", - "src": "59333:4:1" + "src": "61018:4:0" } ], - "id": 3315, + "id": 2807, "name": "BinaryOperation", - "src": "59306:31:1" + "src": "60991:31:0" }, { "attributes": { @@ -74992,19 +74992,19 @@ "type": "literal_string \"ERC721: transfer of token that is not own\"", "value": "ERC721: transfer of token that is not own" }, - "id": 3316, + "id": 2808, "name": "Literal", - "src": "59339:43:1" + "src": "61024:43:0" } ], - "id": 3317, + "id": 2809, "name": "FunctionCall", - "src": "59298:85:1" + "src": "60983:85:0" } ], - "id": 3318, + "id": 2810, "name": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "children": [ @@ -75043,9 +75043,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3319, + "id": 2811, "name": "Identifier", - "src": "59411:7:1" + "src": "61097:7:0" }, { "attributes": { @@ -75066,13 +75066,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3320, + "id": 2812, "name": "Identifier", - "src": "59419:2:1" + "src": "61105:2:0" }, { "attributes": { @@ -75108,14 +75108,14 @@ "attributes": { "name": "address" }, - "id": 3321, + "id": 2813, "name": "ElementaryTypeName", - "src": "59425:7:1" + "src": "61111:7:0" } ], - "id": 3322, + "id": 2814, "name": "ElementaryTypeNameExpression", - "src": "59425:7:1" + "src": "61111:7:0" }, { "attributes": { @@ -75128,19 +75128,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3323, + "id": 2815, "name": "Literal", - "src": "59433:1:1" + "src": "61119:1:0" } ], - "id": 3324, + "id": 2816, "name": "FunctionCall", - "src": "59425:10:1" + "src": "61111:10:0" } ], - "id": 3325, + "id": 2817, "name": "BinaryOperation", - "src": "59419:16:1" + "src": "61105:16:0" }, { "attributes": { @@ -75153,19 +75153,19 @@ "type": "literal_string \"ERC721: transfer to the zero address\"", "value": "ERC721: transfer to the zero address" }, - "id": 3326, + "id": 2818, "name": "Literal", - "src": "59437:38:1" + "src": "61123:38:0" } ], - "id": 3327, + "id": 2819, "name": "FunctionCall", - "src": "59411:65:1" + "src": "61097:65:0" } ], - "id": 3328, + "id": 2820, "name": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "children": [ @@ -75203,62 +75203,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3329, + "id": 2821, "name": "Identifier", - "src": "59487:20:1" + "src": "61175:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3330, + "id": 2822, "name": "Identifier", - "src": "59508:4:1" + "src": "61196:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3331, + "id": 2823, "name": "Identifier", - "src": "59514:2:1" + "src": "61202:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3332, + "id": 2824, "name": "Identifier", - "src": "59518:7:1" + "src": "61206:7:0" } ], - "id": 3333, + "id": 2825, "name": "FunctionCall", - "src": "59487:39:1" + "src": "61175:39:0" } ], - "id": 3334, + "id": 2826, "name": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "children": [ @@ -75292,13 +75292,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3335, + "id": 2827, "name": "Identifier", - "src": "59588:8:1" + "src": "61279:8:0" }, { "attributes": { @@ -75334,14 +75334,14 @@ "attributes": { "name": "address" }, - "id": 3336, + "id": 2828, "name": "ElementaryTypeName", - "src": "59597:7:1" + "src": "61288:7:0" } ], - "id": 3337, + "id": 2829, "name": "ElementaryTypeNameExpression", - "src": "59597:7:1" + "src": "61288:7:0" }, { "attributes": { @@ -75354,37 +75354,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3338, + "id": 2830, "name": "Literal", - "src": "59605:1:1" + "src": "61296:1:0" } ], - "id": 3339, + "id": 2831, "name": "FunctionCall", - "src": "59597:10:1" + "src": "61288:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3340, + "id": 2832, "name": "Identifier", - "src": "59609:7:1" + "src": "61300:7:0" } ], - "id": 3341, + "id": 2833, "name": "FunctionCall", - "src": "59588:29:1" + "src": "61279:29:0" } ], - "id": 3342, + "id": 2834, "name": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "children": [ @@ -75416,7 +75416,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75434,59 +75434,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3343, + "id": 2835, "name": "Identifier", - "src": "59628:13:1" + "src": "61321:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3344, + "id": 2836, "name": "Identifier", - "src": "59642:4:1" + "src": "61335:4:0" } ], - "id": 3345, + "id": 2837, "name": "IndexAccess", - "src": "59628:19:1" + "src": "61321:19:0" } ], - "id": 3346, + "id": 2838, "name": "MemberAccess", - "src": "59628:26:1" + "src": "61321:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3347, + "id": 2839, "name": "Identifier", - "src": "59655:7:1" + "src": "61348:7:0" } ], - "id": 3348, + "id": 2840, "name": "FunctionCall", - "src": "59628:35:1" + "src": "61321:35:0" } ], - "id": 3349, + "id": 2841, "name": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "children": [ @@ -75518,7 +75518,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75536,59 +75536,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3350, + "id": 2842, "name": "Identifier", - "src": "59673:13:1" + "src": "61367:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3351, + "id": 2843, "name": "Identifier", - "src": "59687:2:1" + "src": "61381:2:0" } ], - "id": 3352, + "id": 2844, "name": "IndexAccess", - "src": "59673:17:1" + "src": "61367:17:0" } ], - "id": 3353, + "id": 2845, "name": "MemberAccess", - "src": "59673:21:1" + "src": "61367:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3354, + "id": 2846, "name": "Identifier", - "src": "59695:7:1" + "src": "61389:7:0" } ], - "id": 3355, + "id": 2847, "name": "FunctionCall", - "src": "59673:30:1" + "src": "61367:30:0" } ], - "id": 3356, + "id": 2848, "name": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "children": [ @@ -75624,7 +75624,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -75633,54 +75633,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3357, + "id": 2849, "name": "Identifier", - "src": "59714:12:1" + "src": "61410:12:0" } ], - "id": 3359, + "id": 2851, "name": "MemberAccess", - "src": "59714:16:1" + "src": "61410:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3360, + "id": 2852, "name": "Identifier", - "src": "59731:7:1" + "src": "61427:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3361, + "id": 2853, "name": "Identifier", - "src": "59740:2:1" + "src": "61436:2:0" } ], - "id": 3362, + "id": 2854, "name": "FunctionCall", - "src": "59714:29:1" + "src": "61410:29:0" } ], - "id": 3363, + "id": 2855, "name": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "children": [ @@ -75718,72 +75718,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3364, + "id": 2856, "name": "Identifier", - "src": "59759:8:1" + "src": "61457:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3365, + "id": 2857, "name": "Identifier", - "src": "59768:4:1" + "src": "61466:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3366, + "id": 2858, "name": "Identifier", - "src": "59774:2:1" + "src": "61472:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3367, + "id": 2859, "name": "Identifier", - "src": "59778:7:1" + "src": "61476:7:0" } ], - "id": 3368, + "id": 2860, "name": "FunctionCall", - "src": "59759:27:1" + "src": "61457:27:0" } ], - "id": 3369, + "id": 2861, "name": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ], - "id": 3370, + "id": 2862, "name": "Block", - "src": "59288:505:1" + "src": "60972:520:0" } ], - "id": 3371, + "id": 2863, "name": "FunctionDefinition", - "src": "59209:584:1" + "src": "60893:599:0" }, { "attributes": { @@ -75794,7 +75794,7 @@ null ], "name": "_setTokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -75804,9 +75804,9 @@ "attributes": { "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3372, + "id": 2864, "name": "StructuredDocumentation", - "src": "59799:136:1" + "src": "61500:142:0" }, { "children": [ @@ -75815,7 +75815,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -75827,21 +75827,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3373, + "id": 2865, "name": "ElementaryTypeName", - "src": "59962:7:1" + "src": "61670:7:0" } ], - "id": 3374, + "id": 2866, "name": "VariableDeclaration", - "src": "59962:15:1" + "src": "61670:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -75853,19 +75853,19 @@ "name": "string", "type": "string" }, - "id": 3375, + "id": 2867, "name": "ElementaryTypeName", - "src": "59979:6:1" + "src": "61687:6:0" } ], - "id": 3376, + "id": 2868, "name": "VariableDeclaration", - "src": "59979:23:1" + "src": "61687:23:0" } ], - "id": 3377, + "id": 2869, "name": "ParameterList", - "src": "59961:42:1" + "src": "61669:42:0" }, { "attributes": { @@ -75874,9 +75874,9 @@ ] }, "children": [], - "id": 3378, + "id": 2870, "name": "ParameterList", - "src": "60021:0:1" + "src": "61729:0:0" }, { "children": [ @@ -75917,9 +75917,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3379, + "id": 2871, "name": "Identifier", - "src": "60031:7:1" + "src": "61740:7:0" }, { "attributes": { @@ -75947,31 +75947,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3380, + "id": 2872, "name": "Identifier", - "src": "60039:7:1" + "src": "61748:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3381, + "id": 2873, "name": "Identifier", - "src": "60047:7:1" + "src": "61756:7:0" } ], - "id": 3382, + "id": 2874, "name": "FunctionCall", - "src": "60039:16:1" + "src": "61748:16:0" }, { "attributes": { @@ -75984,19 +75984,19 @@ "type": "literal_string \"ERC721Metadata: URI set of nonexistent token\"", "value": "ERC721Metadata: URI set of nonexistent token" }, - "id": 3383, + "id": 2875, "name": "Literal", - "src": "60057:46:1" + "src": "61766:46:0" } ], - "id": 3384, + "id": 2876, "name": "FunctionCall", - "src": "60031:73:1" + "src": "61740:73:0" } ], - "id": 3385, + "id": 2877, "name": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "children": [ @@ -76024,64 +76024,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3386, + "id": 2878, "name": "Identifier", - "src": "60114:10:1" + "src": "61824:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3387, + "id": 2879, "name": "Identifier", - "src": "60125:7:1" + "src": "61835:7:0" } ], - "id": 3388, + "id": 2880, "name": "IndexAccess", - "src": "60114:19:1" + "src": "61824:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3376, + "referencedDeclaration": 2868, "type": "string memory", "value": "_tokenURI" }, - "id": 3389, + "id": 2881, "name": "Identifier", - "src": "60136:9:1" + "src": "61846:9:0" } ], - "id": 3390, + "id": 2882, "name": "Assignment", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3391, + "id": 2883, "name": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3392, + "id": 2884, "name": "Block", - "src": "60021:131:1" + "src": "61729:134:0" } ], - "id": 3393, + "id": 2885, "name": "FunctionDefinition", - "src": "59940:212:1" + "src": "61648:215:0" }, { "attributes": { @@ -76092,7 +76092,7 @@ null ], "name": "_setBaseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -76102,9 +76102,9 @@ "attributes": { "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3394, + "id": 2886, "name": "StructuredDocumentation", - "src": "60158:212:1" + "src": "61871:216:0" }, { "children": [ @@ -76113,7 +76113,7 @@ "constant": false, "mutability": "mutable", "name": "baseURI_", - "scope": 3404, + "scope": 2896, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -76125,19 +76125,19 @@ "name": "string", "type": "string" }, - "id": 3395, + "id": 2887, "name": "ElementaryTypeName", - "src": "60396:6:1" + "src": "62114:6:0" } ], - "id": 3396, + "id": 2888, "name": "VariableDeclaration", - "src": "60396:22:1" + "src": "62114:22:0" } ], - "id": 3397, + "id": 2889, "name": "ParameterList", - "src": "60395:24:1" + "src": "62113:24:0" }, { "attributes": { @@ -76146,9 +76146,9 @@ ] }, "children": [], - "id": 3398, + "id": 2890, "name": "ParameterList", - "src": "60437:0:1" + "src": "62155:0:0" }, { "children": [ @@ -76169,46 +76169,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 3399, + "id": 2891, "name": "Identifier", - "src": "60447:8:1" + "src": "62166:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3396, + "referencedDeclaration": 2888, "type": "string memory", "value": "baseURI_" }, - "id": 3400, + "id": 2892, "name": "Identifier", - "src": "60458:8:1" + "src": "62177:8:0" } ], - "id": 3401, + "id": 2893, "name": "Assignment", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3402, + "id": 2894, "name": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3403, + "id": 2895, "name": "Block", - "src": "60437:36:1" + "src": "62155:38:0" } ], - "id": 3404, + "id": 2896, "name": "FunctionDefinition", - "src": "60375:98:1" + "src": "62093:100:0" }, { "attributes": { @@ -76219,7 +76219,7 @@ null ], "name": "_checkOnERC721Received", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -76229,9 +76229,9 @@ "attributes": { "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3405, + "id": 2897, "name": "StructuredDocumentation", - "src": "60479:542:1" + "src": "62201:551:0" }, { "children": [ @@ -76240,7 +76240,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76253,21 +76253,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3406, + "id": 2898, "name": "ElementaryTypeName", - "src": "61058:7:1" + "src": "62790:7:0" } ], - "id": 3407, + "id": 2899, "name": "VariableDeclaration", - "src": "61058:12:1" + "src": "62790:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76280,21 +76280,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3408, + "id": 2900, "name": "ElementaryTypeName", - "src": "61072:7:1" + "src": "62804:7:0" } ], - "id": 3409, + "id": 2901, "name": "VariableDeclaration", - "src": "61072:10:1" + "src": "62804:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -76306,21 +76306,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3410, + "id": 2902, "name": "ElementaryTypeName", - "src": "61084:7:1" + "src": "62816:7:0" } ], - "id": 3411, + "id": 2903, "name": "VariableDeclaration", - "src": "61084:15:1" + "src": "62816:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76332,19 +76332,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3412, + "id": 2904, "name": "ElementaryTypeName", - "src": "61101:5:1" + "src": "62833:5:0" } ], - "id": 3413, + "id": 2905, "name": "VariableDeclaration", - "src": "61101:18:1" + "src": "62833:18:0" } ], - "id": 3414, + "id": 2906, "name": "ParameterList", - "src": "61057:63:1" + "src": "62789:63:0" }, { "children": [ @@ -76353,7 +76353,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -76365,19 +76365,19 @@ "name": "bool", "type": "bool" }, - "id": 3415, + "id": 2907, "name": "ElementaryTypeName", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3416, + "id": 2908, "name": "VariableDeclaration", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3417, + "id": 2909, "name": "ParameterList", - "src": "61145:6:1" + "src": "62878:6:0" }, { "children": [ @@ -76423,7 +76423,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isContract", - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)" }, "children": [ @@ -76432,34 +76432,34 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3418, + "id": 2910, "name": "Identifier", - "src": "61171:2:1" + "src": "62906:2:0" } ], - "id": 3419, + "id": 2911, "name": "MemberAccess", - "src": "61171:13:1" + "src": "62906:13:0" } ], - "id": 3420, + "id": 2912, "name": "FunctionCall", - "src": "61171:15:1" + "src": "62906:15:0" } ], - "id": 3421, + "id": 2913, "name": "UnaryOperation", - "src": "61170:16:1" + "src": "62905:16:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -76473,29 +76473,29 @@ "type": "bool", "value": "true" }, - "id": 3422, + "id": 2914, "name": "Literal", - "src": "61209:4:1" + "src": "62945:4:0" } ], - "id": 3423, + "id": 2915, "name": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ], - "id": 3424, + "id": 2916, "name": "Block", - "src": "61188:36:1" + "src": "62923:38:0" } ], - "id": 3425, + "id": 2917, "name": "IfStatement", - "src": "61166:58:1" + "src": "62901:60:0" }, { "attributes": { "assignments": [ - 3427 + 2919 ] }, "children": [ @@ -76504,7 +76504,7 @@ "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76516,14 +76516,14 @@ "name": "bytes", "type": "bytes" }, - "id": 3426, + "id": 2918, "name": "ElementaryTypeName", - "src": "61233:5:1" + "src": "62971:5:0" } ], - "id": 3427, + "id": 2919, "name": "VariableDeclaration", - "src": "61233:23:1" + "src": "62971:23:0" }, { "attributes": { @@ -76557,7 +76557,7 @@ "isPure": false, "lValueRequested": false, "member_name": "functionCall", - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)" }, "children": [ @@ -76566,18 +76566,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3428, + "id": 2920, "name": "Identifier", - "src": "61259:2:1" + "src": "62997:2:0" } ], - "id": 3429, + "id": 2921, "name": "MemberAccess", - "src": "61259:15:1" + "src": "62997:15:0" }, { "attributes": { @@ -76635,14 +76635,14 @@ "type": "abi", "value": "abi" }, - "id": 3430, + "id": 2922, "name": "Identifier", - "src": "61275:3:1" + "src": "63013:3:0" } ], - "id": 3431, + "id": 2923, "name": "MemberAccess", - "src": "61275:22:1" + "src": "63013:22:0" }, { "attributes": { @@ -76661,7 +76661,7 @@ "isPure": false, "lValueRequested": false, "member_name": "onERC721Received", - "referencedDeclaration": 725, + "referencedDeclaration": 217, "type": "function (address,address,uint256,bytes memory) external returns (bytes4)" }, "children": [ @@ -76691,41 +76691,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 726, + "referencedDeclaration": 218, "type": "type(contract IERC721Receiver)", "value": "IERC721Receiver" }, - "id": 3432, + "id": 2924, "name": "Identifier", - "src": "61311:15:1" + "src": "63050:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3433, + "id": 2925, "name": "Identifier", - "src": "61327:2:1" + "src": "63066:2:0" } ], - "id": 3434, + "id": 2926, "name": "FunctionCall", - "src": "61311:19:1" + "src": "63050:19:0" } ], - "id": 3435, + "id": 2927, "name": "MemberAccess", - "src": "61311:36:1" + "src": "63050:36:0" } ], - "id": 3436, + "id": 2928, "name": "MemberAccess", - "src": "61311:45:1" + "src": "63050:45:0" }, { "attributes": { @@ -76753,62 +76753,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3437, + "id": 2929, "name": "Identifier", - "src": "61370:10:1" + "src": "63110:10:0" } ], - "id": 3438, + "id": 2930, "name": "FunctionCall", - "src": "61370:12:1" + "src": "63110:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3407, + "referencedDeclaration": 2899, "type": "address", "value": "from" }, - "id": 3439, + "id": 2931, "name": "Identifier", - "src": "61396:4:1" + "src": "63137:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3411, + "referencedDeclaration": 2903, "type": "uint256", "value": "tokenId" }, - "id": 3440, + "id": 2932, "name": "Identifier", - "src": "61414:7:1" + "src": "63156:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3413, + "referencedDeclaration": 2905, "type": "bytes memory", "value": "_data" }, - "id": 3441, + "id": 2933, "name": "Identifier", - "src": "61435:5:1" + "src": "63178:5:0" } ], - "id": 3442, + "id": 2934, "name": "FunctionCall", - "src": "61275:175:1" + "src": "63013:181:0" }, { "attributes": { @@ -76821,24 +76821,24 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3443, + "id": 2935, "name": "Literal", - "src": "61452:52:1" + "src": "63196:52:0" } ], - "id": 3444, + "id": 2936, "name": "FunctionCall", - "src": "61259:246:1" + "src": "62997:252:0" } ], - "id": 3445, + "id": 2937, "name": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "attributes": { "assignments": [ - 3447 + 2939 ] }, "children": [ @@ -76847,7 +76847,7 @@ "constant": false, "mutability": "mutable", "name": "retval", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -76859,14 +76859,14 @@ "name": "bytes4", "type": "bytes4" }, - "id": 3446, + "id": 2938, "name": "ElementaryTypeName", - "src": "61515:6:1" + "src": "63260:6:0" } ], - "id": 3447, + "id": 2939, "name": "VariableDeclaration", - "src": "61515:13:1" + "src": "63260:13:0" }, { "attributes": { @@ -76912,27 +76912,27 @@ "type": "abi", "value": "abi" }, - "id": 3448, + "id": 2940, "name": "Identifier", - "src": "61531:3:1" + "src": "63276:3:0" } ], - "id": 3449, + "id": 2941, "name": "MemberAccess", - "src": "61531:10:1" + "src": "63276:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3427, + "referencedDeclaration": 2919, "type": "bytes memory", "value": "returndata" }, - "id": 3450, + "id": 2942, "name": "Identifier", - "src": "61542:10:1" + "src": "63287:10:0" }, { "attributes": { @@ -76957,33 +76957,33 @@ "attributes": { "name": "bytes4" }, - "id": 3451, + "id": 2943, "name": "ElementaryTypeName", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3452, + "id": 2944, "name": "ElementaryTypeNameExpression", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3453, + "id": 2945, "name": "TupleExpression", - "src": "61554:8:1" + "src": "63299:8:0" } ], - "id": 3454, + "id": 2946, "name": "FunctionCall", - "src": "61531:32:1" + "src": "63276:32:0" } ], - "id": 3455, + "id": 2947, "name": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -77015,51 +77015,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3447, + "referencedDeclaration": 2939, "type": "bytes4", "value": "retval" }, - "id": 3456, + "id": 2948, "name": "Identifier", - "src": "61581:6:1" + "src": "63327:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2596, + "referencedDeclaration": 2088, "type": "bytes4", "value": "_ERC721_RECEIVED" }, - "id": 3457, + "id": 2949, "name": "Identifier", - "src": "61591:16:1" + "src": "63337:16:0" } ], - "id": 3458, + "id": 2950, "name": "BinaryOperation", - "src": "61581:26:1" + "src": "63327:26:0" } ], - "id": 3459, + "id": 2951, "name": "TupleExpression", - "src": "61580:28:1" + "src": "63326:28:0" } ], - "id": 3460, + "id": 2952, "name": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ], - "id": 3461, + "id": 2953, "name": "Block", - "src": "61156:459:1" + "src": "62890:472:0" } ], - "id": 3462, + "id": 2954, "name": "FunctionDefinition", - "src": "61026:589:1" + "src": "62758:604:0" }, { "attributes": { @@ -77070,7 +77070,7 @@ null ], "name": "_approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77080,9 +77080,9 @@ "attributes": { "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3463, + "id": 2955, "name": "StructuredDocumentation", - "src": "61621:101:1" + "src": "63370:105:0" }, { "children": [ @@ -77091,7 +77091,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77104,21 +77104,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3464, + "id": 2956, "name": "ElementaryTypeName", - "src": "61745:7:1" + "src": "63499:7:0" } ], - "id": 3465, + "id": 2957, "name": "VariableDeclaration", - "src": "61745:10:1" + "src": "63499:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77130,19 +77130,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3466, + "id": 2958, "name": "ElementaryTypeName", - "src": "61757:7:1" + "src": "63511:7:0" } ], - "id": 3467, + "id": 2959, "name": "VariableDeclaration", - "src": "61757:15:1" + "src": "63511:15:0" } ], - "id": 3468, + "id": 2960, "name": "ParameterList", - "src": "61744:29:1" + "src": "63498:29:0" }, { "attributes": { @@ -77151,9 +77151,9 @@ ] }, "children": [], - "id": 3469, + "id": 2961, "name": "ParameterList", - "src": "61791:0:1" + "src": "63545:0:0" }, { "children": [ @@ -77183,54 +77183,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 3470, + "id": 2962, "name": "Identifier", - "src": "61801:15:1" + "src": "63556:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3471, + "id": 2963, "name": "Identifier", - "src": "61817:7:1" + "src": "63572:7:0" } ], - "id": 3472, + "id": 2964, "name": "IndexAccess", - "src": "61801:24:1" + "src": "63556:24:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3473, + "id": 2965, "name": "Identifier", - "src": "61828:2:1" + "src": "63583:2:0" } ], - "id": 3474, + "id": 2966, "name": "Assignment", - "src": "61801:29:1" + "src": "63556:29:0" } ], - "id": 3475, + "id": 2967, "name": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "children": [ @@ -77268,13 +77268,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 563, + "referencedDeclaration": 55, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 3476, + "id": 2968, "name": "Identifier", - "src": "61845:8:1" + "src": "63601:8:0" }, { "attributes": { @@ -77304,7 +77304,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -77313,82 +77313,82 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3477, + "id": 2969, "name": "Identifier", - "src": "61854:6:1" + "src": "63610:6:0" } ], - "id": 3478, + "id": 2970, "name": "MemberAccess", - "src": "61854:14:1" + "src": "63610:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3479, + "id": 2971, "name": "Identifier", - "src": "61869:7:1" + "src": "63625:7:0" } ], - "id": 3480, + "id": 2972, "name": "FunctionCall", - "src": "61854:23:1" + "src": "63610:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3481, + "id": 2973, "name": "Identifier", - "src": "61879:2:1" + "src": "63635:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3482, + "id": 2974, "name": "Identifier", - "src": "61883:7:1" + "src": "63639:7:0" } ], - "id": 3483, + "id": 2975, "name": "FunctionCall", - "src": "61845:46:1" + "src": "63601:46:0" } ], - "id": 3484, + "id": 2976, "name": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ], - "id": 3485, + "id": 2977, "name": "Block", - "src": "61791:125:1" + "src": "63545:128:0" } ], - "id": 3486, + "id": 2978, "name": "FunctionDefinition", - "src": "61727:189:1" + "src": "63481:192:0" }, { "attributes": { @@ -77399,7 +77399,7 @@ null ], "name": "_beforeTokenTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77409,9 +77409,9 @@ "attributes": { "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3487, + "id": 2979, "name": "StructuredDocumentation", - "src": "61922:585:1" + "src": "63681:599:0" }, { "children": [ @@ -77420,7 +77420,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77433,21 +77433,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3488, + "id": 2980, "name": "ElementaryTypeName", - "src": "62542:7:1" + "src": "64316:7:0" } ], - "id": 3489, + "id": 2981, "name": "VariableDeclaration", - "src": "62542:12:1" + "src": "64316:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77460,21 +77460,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3490, + "id": 2982, "name": "ElementaryTypeName", - "src": "62556:7:1" + "src": "64330:7:0" } ], - "id": 3491, + "id": 2983, "name": "VariableDeclaration", - "src": "62556:10:1" + "src": "64330:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77486,19 +77486,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3492, + "id": 2984, "name": "ElementaryTypeName", - "src": "62568:7:1" + "src": "64342:7:0" } ], - "id": 3493, + "id": 2985, "name": "VariableDeclaration", - "src": "62568:15:1" + "src": "64342:15:0" } ], - "id": 3494, + "id": 2986, "name": "ParameterList", - "src": "62541:43:1" + "src": "64315:43:0" }, { "attributes": { @@ -77507,9 +77507,9 @@ ] }, "children": [], - "id": 3495, + "id": 2987, "name": "ParameterList", - "src": "62602:0:1" + "src": "64376:0:0" }, { "attributes": { @@ -77518,32 +77518,32 @@ ] }, "children": [], - "id": 3496, + "id": 2988, "name": "Block", - "src": "62602:3:1" + "src": "64376:3:0" } ], - "id": 3497, + "id": 2989, "name": "FunctionDefinition", - "src": "62512:93:1" + "src": "64286:93:0" } ], - "id": 3498, + "id": 2990, "name": "ContractDefinition", - "src": "46080:16527:1" + "src": "47398:16984:0" } ], - "id": 3499, + "id": 2991, "name": "SourceUnit", - "src": "84:62524:1" + "src": "87:64297:0" }, "compiler": { "name": "solc", "version": "0.7.6+commit.7338295f.Emscripten.clang" }, "networks": {}, - "schemaVersion": "3.3.4", - "updatedAt": "2021-03-13T11:18:07.458Z", + "schemaVersion": "3.4.3", + "updatedAt": "2021-10-13T09:55:47.130Z", "devdoc": { "details": "Library for managing an enumerable variant of Solidity's https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`] type. Maps have the following properties: - Entries are added, removed, and checked for existence in constant time (O(1)). - Entries are enumerated in O(n). No guarantees are made on the ordering. ``` contract Example { // Add the library methods using EnumerableMap for EnumerableMap.UintToAddressMap; // Declare a set state variable EnumerableMap.UintToAddressMap private myMap; } ``` As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are supported.", "kind": "dev", diff --git a/src/abis/EnumerableSet.json b/src/abis/EnumerableSet.json index 64f4bf6..619a694 100644 --- a/src/abis/EnumerableSet.json +++ b/src/abis/EnumerableSet.json @@ -1,65 +1,65 @@ { "contractName": "EnumerableSet", "abi": [], - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Library for managing https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive types. Sets have the following properties: - Elements are added, removed, and checked for existence in constant time (O(1)). - Elements are enumerated in O(n). No guarantees are made on the ordering. ``` contract Example { // Add the library methods using EnumerableSet for EnumerableSet.AddressSet; // Declare a set state variable EnumerableSet.AddressSet private mySet; } ``` As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) and `uint256` (`UintSet`) are supported.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":\"EnumerableSet\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":{\"keccak256\":\"0xac9220652f9879c5fb3116025d59e8fbf6c2c3d149aed9f617b88edd31402044\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://48de100723de94a6590c6db5bae5098a93445194389c3f3eeb104c7239ef3044\",\"dweb:/ipfs/QmVHLEtfLqBqX7XQRHfLuuwtufRBFJFHfgY4zbFRpaZwXC\"]}},\"version\":1}", - "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200c94239323e429fc23696fbe3007fc80afae86638981544a880aa26104513a8c64736f6c63430007060033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea26469706673582212200c94239323e429fc23696fbe3007fc80afae86638981544a880aa26104513a8c64736f6c63430007060033", + "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Library for managing https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive types. Sets have the following properties: - Elements are added, removed, and checked for existence in constant time (O(1)). - Elements are enumerated in O(n). No guarantees are made on the ordering. ``` contract Example { // Add the library methods using EnumerableSet for EnumerableSet.AddressSet; // Declare a set state variable EnumerableSet.AddressSet private mySet; } ``` As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) and `uint256` (`UintSet`) are supported.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/src/contracts/ERC721.sol\":\"EnumerableSet\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/src/contracts/ERC721.sol\":{\"keccak256\":\"0xbbf5d35e3785428d14b29cf40a6a1f82d9275af46f6f80ec5f330615911aa767\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e5479e3deda288fc9c642c0449113673031cb9834a3507621d5bd7e292969e16\",\"dweb:/ipfs/QmcKjBg55emL46LCBPRw1Y79fz3aGiMiQXFeWcDpJisEgJ\"]}},\"version\":1}", + "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220572d079272ef6597319fea881fc13eaf3459a805d32749fac0dcb9e2e839901064736f6c63430007060033", + "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220572d079272ef6597319fea881fc13eaf3459a805d32749fac0dcb9e2e839901064736f6c63430007060033", "immutableReferences": {}, "generatedSources": [], "deployedGeneratedSources": [], - "sourceMap": "26511:8634:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "26511:8634:1:-:0;;;;;;;;", - "source": "// SPDX-License-Identifier: MIT\n\n// File: @openzeppelin/contracts/utils/Context.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/*\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with GSN meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n function _msgSender() internal view virtual returns (address payable) {\n return msg.sender;\n }\n\n function _msgData() internal view virtual returns (bytes memory) {\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\n return msg.data;\n }\n}\n\n// File: @openzeppelin/contracts/introspection/IERC165.sol\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n /**\n * @dev Returns true if this contract implements the interface defined by\n * `interfaceId`. See the corresponding\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n * to learn more about how these ids are created.\n *\n * This function call must use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n /**\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n */\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n */\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n */\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n /**\n * @dev Returns the number of tokens in ``owner``'s account.\n */\n function balanceOf(address owner) external view returns (uint256 balance);\n\n /**\n * @dev Returns the owner of the `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function ownerOf(uint256 tokenId) external view returns (address owner);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Transfers `tokenId` token from `from` to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n * The approval is cleared when the token is transferred.\n *\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n *\n * Requirements:\n *\n * - The caller must own the token or be an approved operator.\n * - `tokenId` must exist.\n *\n * Emits an {Approval} event.\n */\n function approve(address to, uint256 tokenId) external;\n\n /**\n * @dev Returns the account approved for `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function getApproved(uint256 tokenId) external view returns (address operator);\n\n /**\n * @dev Approve or remove `operator` as an operator for the caller.\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n *\n * Requirements:\n *\n * - The `operator` cannot be the caller.\n *\n * Emits an {ApprovalForAll} event.\n */\n function setApprovalForAll(address operator, bool _approved) external;\n\n /**\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n *\n * See {setApprovalForAll}\n */\n function isApprovedForAll(address owner, address operator) external view returns (bool);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n\n /**\n * @dev Returns the token collection name.\n */\n function name() external view returns (string memory);\n\n /**\n * @dev Returns the token collection symbol.\n */\n function symbol() external view returns (string memory);\n\n /**\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n */\n function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\n\n\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Enumerable is IERC721 {\n\n /**\n * @dev Returns the total amount of tokens stored by the contract.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\n\n /**\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n * Use along with {totalSupply} to enumerate all tokens.\n */\n function tokenByIndex(uint256 index) external view returns (uint256);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\n\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC721 asset contracts.\n */\ninterface IERC721Receiver {\n /**\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n * by `operator` from `from`, this function is called.\n *\n * It must return its Solidity selector to confirm the token transfer.\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n *\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\n */\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\n}\n\n// File: @openzeppelin/contracts/introspection/ERC165.sol\npragma solidity >=0.6.0 <0.8.0;\n\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts may inherit from this and call {_registerInterface} to declare\n * their support of an interface.\n */\nabstract contract ERC165 is IERC165 {\n /*\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\n */\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\n\n /**\n * @dev Mapping of interface ids to whether or not it's supported.\n */\n mapping(bytes4 => bool) private _supportedInterfaces;\n\n constructor () {\n // Derived contracts need only register support for their own interfaces,\n // we register support for ERC165 itself here\n _registerInterface(_INTERFACE_ID_ERC165);\n }\n\n /**\n * @dev See {IERC165-supportsInterface}.\n *\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n return _supportedInterfaces[interfaceId];\n }\n\n /**\n * @dev Registers the contract as an implementer of the interface defined by\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\n * registering its interface id is not required.\n *\n * See {IERC165-supportsInterface}.\n *\n * Requirements:\n *\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\n */\n function _registerInterface(bytes4 interfaceId) internal virtual {\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\n _supportedInterfaces[interfaceId] = true;\n }\n}\n\n// File: @openzeppelin/contracts/math/SafeMath.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\n * checks.\n *\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\n * in bugs, because programmers usually assume that an overflow raises an\n * error, which is the standard behavior in high level programming languages.\n * `SafeMath` restores this intuition by reverting the transaction when an\n * operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeMath {\n /**\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n uint256 c = a + b;\n if (c < a) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b > a) return (false, 0);\n return (true, a - b);\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n // benefit is lost if 'b' is also tested.\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n if (a == 0) return (true, 0);\n uint256 c = a * b;\n if (c / a != b) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a / b);\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a % b);\n }\n\n /**\n * @dev Returns the addition of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `+` operator.\n *\n * Requirements:\n *\n * - Addition cannot overflow.\n */\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a + b;\n require(c >= a, \"SafeMath: addition overflow\");\n return c;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting on\n * overflow (when the result is negative).\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b <= a, \"SafeMath: subtraction overflow\");\n return a - b;\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `*` operator.\n *\n * Requirements:\n *\n * - Multiplication cannot overflow.\n */\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) return 0;\n uint256 c = a * b;\n require(c / a == b, \"SafeMath: multiplication overflow\");\n return c;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting on\n * division by zero. The result is rounded towards zero.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: division by zero\");\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting when dividing by zero.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: modulo by zero\");\n return a % b;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n * overflow (when the result is negative).\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {trySub}.\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b <= a, errorMessage);\n return a - b;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\n * division by zero. The result is rounded towards zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryDiv}.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting with custom message when dividing by zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryMod}.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a % b;\n }\n}\n\n// File: @openzeppelin/contracts/utils/Address.sol\npragma solidity >=0.6.2 <0.8.0;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n /**\n * @dev Returns true if `account` is a contract.\n *\n * [IMPORTANT]\n * ====\n * It is unsafe to assume that an address for which this function returns\n * false is an externally-owned account (EOA) and not a contract.\n *\n * Among others, `isContract` will return false for the following\n * types of addresses:\n *\n * - an externally-owned account\n * - a contract in construction\n * - an address where a contract will be created\n * - an address where a contract lived, but was destroyed\n * ====\n */\n function isContract(address account) internal view returns (bool) {\n // This method relies on extcodesize, which returns 0 for contracts in\n // construction, since the code is only stored at the end of the\n // constructor execution.\n\n uint256 size;\n // solhint-disable-next-line no-inline-assembly\n assembly { size := extcodesize(account) }\n return size > 0;\n }\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\n (bool success, ) = recipient.call{ value: amount }(\"\");\n require(success, \"Address: unable to send value, recipient may have reverted\");\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain`call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason, it is bubbled up by this\n * function (like regular Solidity function calls).\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCall(target, data, \"Address: low-level call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n * `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n * with `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\n require(isContract(target), \"Address: call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\n require(isContract(target), \"Address: static call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.staticcall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n require(isContract(target), \"Address: delegate call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.delegatecall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\n if (success) {\n return returndata;\n } else {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n\n // solhint-disable-next-line no-inline-assembly\n assembly {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert(errorMessage);\n }\n }\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n * types.\n *\n * Sets have the following properties:\n *\n * - Elements are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableSet for EnumerableSet.AddressSet;\n *\n * // Declare a set state variable\n * EnumerableSet.AddressSet private mySet;\n * }\n * ```\n *\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n * and `uint256` (`UintSet`) are supported.\n */\nlibrary EnumerableSet {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Set type with\n // bytes32 values.\n // The Set implementation uses private functions, and user-facing\n // implementations (such as AddressSet) are just wrappers around the\n // underlying Set.\n // This means that we can only create new EnumerableSets for types that fit\n // in bytes32.\n\n struct Set {\n // Storage of set values\n bytes32[] _values;\n\n // Position of the value in the `values` array, plus 1 because index 0\n // means a value is not in the set.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function _add(Set storage set, bytes32 value) private returns (bool) {\n if (!_contains(set, value)) {\n set._values.push(value);\n // The value is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n set._indexes[value] = set._values.length;\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function _remove(Set storage set, bytes32 value) private returns (bool) {\n // We read and store the value's index to prevent multiple reads from the same storage slot\n uint256 valueIndex = set._indexes[value];\n\n if (valueIndex != 0) { // Equivalent to contains(set, value)\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\n // the array, and then remove the last element (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = valueIndex - 1;\n uint256 lastIndex = set._values.length - 1;\n\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n bytes32 lastvalue = set._values[lastIndex];\n\n // Move the last value to the index where the value to delete is\n set._values[toDeleteIndex] = lastvalue;\n // Update the index for the moved value\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved value was stored\n set._values.pop();\n\n // Delete the index for the deleted slot\n delete set._indexes[value];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\n return set._indexes[value] != 0;\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function _length(Set storage set) private view returns (uint256) {\n return set._values.length;\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\n return set._values[index];\n }\n\n // Bytes32Set\n\n struct Bytes32Set {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _add(set._inner, value);\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _remove(set._inner, value);\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\n return _contains(set._inner, value);\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(Bytes32Set storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\n return _at(set._inner, index);\n }\n\n // AddressSet\n\n struct AddressSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(AddressSet storage set, address value) internal returns (bool) {\n return _add(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(AddressSet storage set, address value) internal returns (bool) {\n return _remove(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(AddressSet storage set, address value) internal view returns (bool) {\n return _contains(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(AddressSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\n return address(uint160(uint256(_at(set._inner, index))));\n }\n\n\n // UintSet\n\n struct UintSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(UintSet storage set, uint256 value) internal returns (bool) {\n return _add(set._inner, bytes32(value));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\n return _remove(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\n return _contains(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function length(UintSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\n return uint256(_at(set._inner, index));\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing an enumerable variant of Solidity's\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n * type.\n *\n * Maps have the following properties:\n *\n * - Entries are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\n *\n * // Declare a set state variable\n * EnumerableMap.UintToAddressMap private myMap;\n * }\n * ```\n *\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n * supported.\n */\nlibrary EnumerableMap {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Map type with\n // bytes32 keys and values.\n // The Map implementation uses private functions, and user-facing\n // implementations (such as Uint256ToAddressMap) are just wrappers around\n // the underlying Map.\n // This means that we can only create new EnumerableMaps for types that fit\n // in bytes32.\n\n struct MapEntry {\n bytes32 _key;\n bytes32 _value;\n }\n\n struct Map {\n // Storage of map keys and values\n MapEntry[] _entries;\n\n // Position of the entry defined by a key in the `entries` array, plus 1\n // because index 0 means a key is not in the map.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\n map._entries.push(MapEntry({ _key: key, _value: value }));\n // The entry is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n map._indexes[key] = map._entries.length;\n return true;\n } else {\n map._entries[keyIndex - 1]._value = value;\n return false;\n }\n }\n\n /**\n * @dev Removes a key-value pair from a map. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function _remove(Map storage map, bytes32 key) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex != 0) { // Equivalent to contains(map, key)\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = keyIndex - 1;\n uint256 lastIndex = map._entries.length - 1;\n\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n MapEntry storage lastEntry = map._entries[lastIndex];\n\n // Move the last entry to the index where the entry to delete is\n map._entries[toDeleteIndex] = lastEntry;\n // Update the index for the moved entry\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved entry was stored\n map._entries.pop();\n\n // Delete the index for the deleted slot\n delete map._indexes[key];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\n return map._indexes[key] != 0;\n }\n\n /**\n * @dev Returns the number of key-value pairs in the map. O(1).\n */\n function _length(Map storage map) private view returns (uint256) {\n return map._entries.length;\n }\n\n /**\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\n *\n * Note that there are no guarantees on the ordering of entries inside the\n * array, and it may change when more entries are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\n\n MapEntry storage entry = map._entries[index];\n return (entry._key, entry._value);\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n */\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\n uint256 keyIndex = map._indexes[key];\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n /**\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {_tryGet}.\n */\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n // UintToAddressMap\n\n struct UintToAddressMap {\n Map _inner;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\n return _remove(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\n return _contains(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns the number of elements in the map. O(1).\n */\n function length(UintToAddressMap storage map) internal view returns (uint256) {\n return _length(map._inner);\n }\n\n /**\n * @dev Returns the element stored at position `index` in the set. O(1).\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\n (bytes32 key, bytes32 value) = _at(map._inner, index);\n return (uint256(key), address(uint160(uint256(value))));\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n *\n * _Available since v3.4._\n */\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\n return (success, address(uint160(uint256(value))));\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\n }\n\n /**\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryGet}.\n */\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\n }\n}\n\n// File: @openzeppelin/contracts/utils/Strings.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n /**\n * @dev Converts a `uint256` to its ASCII `string` representation.\n */\n function toString(uint256 value) internal pure returns (string memory) {\n // Inspired by OraclizeAPI's implementation - MIT licence\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\n\n if (value == 0) {\n return \"0\";\n }\n uint256 temp = value;\n uint256 digits;\n while (temp != 0) {\n digits++;\n temp /= 10;\n }\n bytes memory buffer = new bytes(digits);\n uint256 index = digits - 1;\n temp = value;\n while (temp != 0) {\n buffer[index--] = bytes1(uint8(48 + temp % 10));\n temp /= 10;\n }\n return string(buffer);\n }\n}\n\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 Non-Fungible Token Standard basic implementation\n * @dev see https://eips.ethereum.org/EIPS/eip-721\n */\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\n using SafeMath for uint256;\n using Address for address;\n using EnumerableSet for EnumerableSet.UintSet;\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n using Strings for uint256;\n\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\n\n // Mapping from holder address to their (enumerable) set of owned tokens\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\n\n // Enumerable mapping from token ids to their owners\n EnumerableMap.UintToAddressMap private _tokenOwners;\n\n // Mapping from token ID to approved address\n mapping (uint256 => address) private _tokenApprovals;\n\n // Mapping from owner to operator approvals\n mapping (address => mapping (address => bool)) private _operatorApprovals;\n\n // Token name\n string private _name;\n\n // Token symbol\n string private _symbol;\n\n // Optional mapping for token URIs\n mapping (uint256 => string) private _tokenURIs;\n\n // Base URI\n string private _baseURI;\n\n /*\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\n *\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\n */\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\n\n /*\n * bytes4(keccak256('name()')) == 0x06fdde03\n * bytes4(keccak256('symbol()')) == 0x95d89b41\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\n *\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\n */\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\n\n /*\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\n *\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\n */\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\n\n /**\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\n */\n constructor (string memory name_, string memory symbol_) {\n _name = name_;\n _symbol = symbol_;\n\n // register the supported interfaces to conform to ERC721 via ERC165\n _registerInterface(_INTERFACE_ID_ERC721);\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\n }\n\n /**\n * @dev See {IERC721-balanceOf}.\n */\n function balanceOf(address owner) public view virtual override returns (uint256) {\n require(owner != address(0), \"ERC721: balance query for the zero address\");\n return _holderTokens[owner].length();\n }\n\n /**\n * @dev See {IERC721-ownerOf}.\n */\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\n }\n\n /**\n * @dev See {IERC721Metadata-name}.\n */\n function name() public view virtual override returns (string memory) {\n return _name;\n }\n\n /**\n * @dev See {IERC721Metadata-symbol}.\n */\n function symbol() public view virtual override returns (string memory) {\n return _symbol;\n }\n\n /**\n * @dev See {IERC721Metadata-tokenURI}.\n */\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\n\n string memory _tokenURI = _tokenURIs[tokenId];\n string memory base = baseURI();\n\n // If there is no base URI, return the token URI.\n if (bytes(base).length == 0) {\n return _tokenURI;\n }\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\n if (bytes(_tokenURI).length > 0) {\n return string(abi.encodePacked(base, _tokenURI));\n }\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\n return string(abi.encodePacked(base, tokenId.toString()));\n }\n\n /**\n * @dev Returns the base URI set via {_setBaseURI}. This will be\n * automatically added as a prefix in {tokenURI} to each token's URI, or\n * to the token ID if no specific URI is set for that token ID.\n */\n function baseURI() public view virtual returns (string memory) {\n return _baseURI;\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\n return _holderTokens[owner].at(index);\n }\n\n /**\n * @dev See {IERC721Enumerable-totalSupply}.\n */\n function totalSupply() public view virtual override returns (uint256) {\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\n return _tokenOwners.length();\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenByIndex}.\n */\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\n (uint256 tokenId, ) = _tokenOwners.at(index);\n return tokenId;\n }\n\n /**\n * @dev See {IERC721-approve}.\n */\n function approve(address to, uint256 tokenId) public virtual override {\n address owner = ERC721.ownerOf(tokenId);\n require(to != owner, \"ERC721: approval to current owner\");\n\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\n \"ERC721: approve caller is not owner nor approved for all\"\n );\n\n _approve(to, tokenId);\n }\n\n /**\n * @dev See {IERC721-getApproved}.\n */\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\n\n return _tokenApprovals[tokenId];\n }\n\n /**\n * @dev See {IERC721-setApprovalForAll}.\n */\n function setApprovalForAll(address operator, bool approved) public virtual override {\n require(operator != _msgSender(), \"ERC721: approve to caller\");\n\n _operatorApprovals[_msgSender()][operator] = approved;\n emit ApprovalForAll(_msgSender(), operator, approved);\n }\n\n /**\n * @dev See {IERC721-isApprovedForAll}.\n */\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\n return _operatorApprovals[owner][operator];\n }\n\n /**\n * @dev See {IERC721-transferFrom}.\n */\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\n //solhint-disable-next-line max-line-length\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n\n _transfer(from, to, tokenId);\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\n safeTransferFrom(from, to, tokenId, \"\");\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n _safeTransfer(from, to, tokenId, _data);\n }\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\n *\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n * implement alternative mechanisms to perform token transfer, such as signature-based.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\n _transfer(from, to, tokenId);\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Returns whether `tokenId` exists.\n *\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n *\n * Tokens start existing when they are minted (`_mint`),\n * and stop existing when they are burned (`_burn`).\n */\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\n return _tokenOwners.contains(tokenId);\n }\n\n /**\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\n address owner = ERC721.ownerOf(tokenId);\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\n }\n\n /**\n * @dev Safely mints `tokenId` and transfers it to `to`.\n *\n * Requirements:\n d*\n * - `tokenId` must not exist.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeMint(address to, uint256 tokenId) internal virtual {\n _safeMint(to, tokenId, \"\");\n }\n\n /**\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n */\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\n _mint(to, tokenId);\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Mints `tokenId` and transfers it to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n *\n * Requirements:\n *\n * - `tokenId` must not exist.\n * - `to` cannot be the zero address.\n *\n * Emits a {Transfer} event.\n */\n function _mint(address to, uint256 tokenId) internal virtual {\n require(to != address(0), \"ERC721: mint to the zero address\");\n require(!_exists(tokenId), \"ERC721: token already minted\");\n\n _beforeTokenTransfer(address(0), to, tokenId);\n\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(address(0), to, tokenId);\n }\n\n /**\n * @dev Destroys `tokenId`.\n * The approval is cleared when the token is burned.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n *\n * Emits a {Transfer} event.\n */\n function _burn(uint256 tokenId) internal virtual {\n address owner = ERC721.ownerOf(tokenId); // internal owner\n\n _beforeTokenTransfer(owner, address(0), tokenId);\n\n // Clear approvals\n _approve(address(0), tokenId);\n\n // Clear metadata (if any)\n if (bytes(_tokenURIs[tokenId]).length != 0) {\n delete _tokenURIs[tokenId];\n }\n\n _holderTokens[owner].remove(tokenId);\n\n _tokenOwners.remove(tokenId);\n\n emit Transfer(owner, address(0), tokenId);\n }\n\n /**\n * @dev Transfers `tokenId` from `from` to `to`.\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n *\n * Requirements:\n *\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n *\n * Emits a {Transfer} event.\n */\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\n require(to != address(0), \"ERC721: transfer to the zero address\");\n\n _beforeTokenTransfer(from, to, tokenId);\n\n // Clear approvals from the previous owner\n _approve(address(0), tokenId);\n\n _holderTokens[from].remove(tokenId);\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(from, to, tokenId);\n }\n\n /**\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\n _tokenURIs[tokenId] = _tokenURI;\n }\n\n /**\n * @dev Internal function to set the base URI for all token IDs. It is\n * automatically added as a prefix to the value returned in {tokenURI},\n * or to the token ID if {tokenURI} is empty.\n */\n function _setBaseURI(string memory baseURI_) internal virtual {\n _baseURI = baseURI_;\n }\n\n /**\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n * The call is not executed if the target address is not a contract.\n *\n * @param from address representing the previous owner of the given token ID\n * @param to target address that will receive the tokens\n * @param tokenId uint256 ID of the token to be transferred\n * @param _data bytes optional data to send along with the call\n * @return bool whether the call correctly returned the expected magic value\n */\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\n private returns (bool)\n {\n if (!to.isContract()) {\n return true;\n }\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\n IERC721Receiver(to).onERC721Received.selector,\n _msgSender(),\n from,\n tokenId,\n _data\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\n bytes4 retval = abi.decode(returndata, (bytes4));\n return (retval == _ERC721_RECEIVED);\n }\n\n /**\n * @dev Approve `to` to operate on `tokenId`\n *\n * Emits an {Approval} event.\n */\n function _approve(address to, uint256 tokenId) internal virtual {\n _tokenApprovals[tokenId] = to;\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\n }\n\n /**\n * @dev Hook that is called before any token transfer. This includes minting\n * and burning.\n *\n * Calling conditions:\n *\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n * transferred to `to`.\n * - When `from` is zero, `tokenId` will be minted for `to`.\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n *\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n */\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\n}\n", - "sourcePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "sourceMap": "27252:8902:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", + "deployedSourceMap": "27252:8902:0:-:0;;;;;;;;", + "source": "// SPDX-License-Identifier: MIT\r\n\r\n// File: @openzeppelin/contracts/utils/Context.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/*\r\n * @dev Provides information about the current execution context, including the\r\n * sender of the transaction and its data. While these are generally available\r\n * via msg.sender and msg.data, they should not be accessed in such a direct\r\n * manner, since when dealing with GSN meta-transactions the account sending and\r\n * paying for execution may not be the actual sender (as far as an application\r\n * is concerned).\r\n *\r\n * This contract is only required for intermediate, library-like contracts.\r\n */\r\nabstract contract Context {\r\n function _msgSender() internal view virtual returns (address payable) {\r\n return msg.sender;\r\n }\r\n\r\n function _msgData() internal view virtual returns (bytes memory) {\r\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\r\n return msg.data;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/IERC165.sol\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Interface of the ERC165 standard, as defined in the\r\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\r\n *\r\n * Implementers can declare support of contract interfaces, which can then be\r\n * queried by others ({ERC165Checker}).\r\n *\r\n * For an implementation, see {ERC165}.\r\n */\r\ninterface IERC165 {\r\n /**\r\n * @dev Returns true if this contract implements the interface defined by\r\n * `interfaceId`. See the corresponding\r\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\r\n * to learn more about how these ids are created.\r\n *\r\n * This function call must use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Required interface of an ERC721 compliant contract.\r\n */\r\ninterface IERC721 is IERC165 {\r\n /**\r\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\r\n */\r\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\r\n */\r\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\r\n */\r\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\r\n\r\n /**\r\n * @dev Returns the number of tokens in ``owner``'s account.\r\n */\r\n function balanceOf(address owner) external view returns (uint256 balance);\r\n\r\n /**\r\n * @dev Returns the owner of the `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function ownerOf(uint256 tokenId) external view returns (address owner);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Transfers `tokenId` token from `from` to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\r\n * The approval is cleared when the token is transferred.\r\n *\r\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\r\n *\r\n * Requirements:\r\n *\r\n * - The caller must own the token or be an approved operator.\r\n * - `tokenId` must exist.\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function approve(address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Returns the account approved for `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function getApproved(uint256 tokenId) external view returns (address operator);\r\n\r\n /**\r\n * @dev Approve or remove `operator` as an operator for the caller.\r\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\r\n *\r\n * Requirements:\r\n *\r\n * - The `operator` cannot be the caller.\r\n *\r\n * Emits an {ApprovalForAll} event.\r\n */\r\n function setApprovalForAll(address operator, bool _approved) external;\r\n\r\n /**\r\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\r\n *\r\n * See {setApprovalForAll}\r\n */\r\n function isApprovedForAll(address owner, address operator) external view returns (bool);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Metadata is IERC721 {\r\n\r\n /**\r\n * @dev Returns the token collection name.\r\n */\r\n function name() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the token collection symbol.\r\n */\r\n function symbol() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\r\n */\r\n function tokenURI(uint256 tokenId) external view returns (string memory);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\r\n\r\n\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Enumerable is IERC721 {\r\n\r\n /**\r\n * @dev Returns the total amount of tokens stored by the contract.\r\n */\r\n function totalSupply() external view returns (uint256);\r\n\r\n /**\r\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\r\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\r\n\r\n /**\r\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\r\n * Use along with {totalSupply} to enumerate all tokens.\r\n */\r\n function tokenByIndex(uint256 index) external view returns (uint256);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\r\n\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 token receiver interface\r\n * @dev Interface for any contract that wants to support safeTransfers\r\n * from ERC721 asset contracts.\r\n */\r\ninterface IERC721Receiver {\r\n /**\r\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\r\n * by `operator` from `from`, this function is called.\r\n *\r\n * It must return its Solidity selector to confirm the token transfer.\r\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\r\n *\r\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\r\n */\r\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/ERC165.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Implementation of the {IERC165} interface.\r\n *\r\n * Contracts may inherit from this and call {_registerInterface} to declare\r\n * their support of an interface.\r\n */\r\nabstract contract ERC165 is IERC165 {\r\n /*\r\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\r\n\r\n /**\r\n * @dev Mapping of interface ids to whether or not it's supported.\r\n */\r\n mapping(bytes4 => bool) private _supportedInterfaces;\r\n\r\n constructor () {\r\n // Derived contracts need only register support for their own interfaces,\r\n // we register support for ERC165 itself here\r\n _registerInterface(_INTERFACE_ID_ERC165);\r\n }\r\n\r\n /**\r\n * @dev See {IERC165-supportsInterface}.\r\n *\r\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\r\n return _supportedInterfaces[interfaceId];\r\n }\r\n\r\n /**\r\n * @dev Registers the contract as an implementer of the interface defined by\r\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\r\n * registering its interface id is not required.\r\n *\r\n * See {IERC165-supportsInterface}.\r\n *\r\n * Requirements:\r\n *\r\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\r\n */\r\n function _registerInterface(bytes4 interfaceId) internal virtual {\r\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\r\n _supportedInterfaces[interfaceId] = true;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/math/SafeMath.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\r\n * checks.\r\n *\r\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\r\n * in bugs, because programmers usually assume that an overflow raises an\r\n * error, which is the standard behavior in high level programming languages.\r\n * `SafeMath` restores this intuition by reverting the transaction when an\r\n * operation overflows.\r\n *\r\n * Using this library instead of the unchecked operations eliminates an entire\r\n * class of bugs, so it's recommended to use it always.\r\n */\r\nlibrary SafeMath {\r\n /**\r\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n uint256 c = a + b;\r\n if (c < a) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b > a) return (false, 0);\r\n return (true, a - b);\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\r\n // benefit is lost if 'b' is also tested.\r\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\r\n if (a == 0) return (true, 0);\r\n uint256 c = a * b;\r\n if (c / a != b) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a / b);\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a % b);\r\n }\r\n\r\n /**\r\n * @dev Returns the addition of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `+` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Addition cannot overflow.\r\n */\r\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\r\n uint256 c = a + b;\r\n require(c >= a, \"SafeMath: addition overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting on\r\n * overflow (when the result is negative).\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b <= a, \"SafeMath: subtraction overflow\");\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `*` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Multiplication cannot overflow.\r\n */\r\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\r\n if (a == 0) return 0;\r\n uint256 c = a * b;\r\n require(c / a == b, \"SafeMath: multiplication overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: division by zero\");\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting when dividing by zero.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: modulo by zero\");\r\n return a % b;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\r\n * overflow (when the result is negative).\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {trySub}.\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b <= a, errorMessage);\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryDiv}.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting with custom message when dividing by zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryMod}.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a % b;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Address.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n/**\r\n * @dev Collection of functions related to the address type\r\n */\r\nlibrary Address {\r\n /**\r\n * @dev Returns true if `account` is a contract.\r\n *\r\n * [IMPORTANT]\r\n * ====\r\n * It is unsafe to assume that an address for which this function returns\r\n * false is an externally-owned account (EOA) and not a contract.\r\n *\r\n * Among others, `isContract` will return false for the following\r\n * types of addresses:\r\n *\r\n * - an externally-owned account\r\n * - a contract in construction\r\n * - an address where a contract will be created\r\n * - an address where a contract lived, but was destroyed\r\n * ====\r\n */\r\n function isContract(address account) internal view returns (bool) {\r\n // This method relies on extcodesize, which returns 0 for contracts in\r\n // construction, since the code is only stored at the end of the\r\n // constructor execution.\r\n\r\n uint256 size;\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly { size := extcodesize(account) }\r\n return size > 0;\r\n }\r\n\r\n /**\r\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\r\n * `recipient`, forwarding all available gas and reverting on errors.\r\n *\r\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\r\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\r\n * imposed by `transfer`, making them unable to receive funds via\r\n * `transfer`. {sendValue} removes this limitation.\r\n *\r\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\r\n *\r\n * IMPORTANT: because control is transferred to `recipient`, care must be\r\n * taken to not create reentrancy vulnerabilities. Consider using\r\n * {ReentrancyGuard} or the\r\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\r\n */\r\n function sendValue(address payable recipient, uint256 amount) internal {\r\n require(address(this).balance >= amount, \"Address: insufficient balance\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\r\n (bool success, ) = recipient.call{ value: amount }(\"\");\r\n require(success, \"Address: unable to send value, recipient may have reverted\");\r\n }\r\n\r\n /**\r\n * @dev Performs a Solidity function call using a low level `call`. A\r\n * plain`call` is an unsafe replacement for a function call: use this\r\n * function instead.\r\n *\r\n * If `target` reverts with a revert reason, it is bubbled up by this\r\n * function (like regular Solidity function calls).\r\n *\r\n * Returns the raw returned data. To convert to the expected return value,\r\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\r\n *\r\n * Requirements:\r\n *\r\n * - `target` must be a contract.\r\n * - calling `target` with `data` must not revert.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionCall(target, data, \"Address: low-level call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\r\n * `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, 0, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but also transferring `value` wei to `target`.\r\n *\r\n * Requirements:\r\n *\r\n * - the calling contract must have an ETH balance of at least `value`.\r\n * - the called Solidity function must be `payable`.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\r\n * with `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\r\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\r\n require(isContract(target), \"Address: call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\r\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\r\n require(isContract(target), \"Address: static call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.staticcall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n require(isContract(target), \"Address: delegate call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.delegatecall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\r\n if (success) {\r\n return returndata;\r\n } else {\r\n // Look for revert reason and bubble it up if present\r\n if (returndata.length > 0) {\r\n // The easiest way to bubble the revert reason is using memory via assembly\r\n\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n let returndata_size := mload(returndata)\r\n revert(add(32, returndata), returndata_size)\r\n }\r\n } else {\r\n revert(errorMessage);\r\n }\r\n }\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing\r\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\r\n * types.\r\n *\r\n * Sets have the following properties:\r\n *\r\n * - Elements are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableSet for EnumerableSet.AddressSet;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableSet.AddressSet private mySet;\r\n * }\r\n * ```\r\n *\r\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\r\n * and `uint256` (`UintSet`) are supported.\r\n */\r\nlibrary EnumerableSet {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Set type with\r\n // bytes32 values.\r\n // The Set implementation uses private functions, and user-facing\r\n // implementations (such as AddressSet) are just wrappers around the\r\n // underlying Set.\r\n // This means that we can only create new EnumerableSets for types that fit\r\n // in bytes32.\r\n\r\n struct Set {\r\n // Storage of set values\r\n bytes32[] _values;\r\n\r\n // Position of the value in the `values` array, plus 1 because index 0\r\n // means a value is not in the set.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function _add(Set storage set, bytes32 value) private returns (bool) {\r\n if (!_contains(set, value)) {\r\n set._values.push(value);\r\n // The value is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n set._indexes[value] = set._values.length;\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function _remove(Set storage set, bytes32 value) private returns (bool) {\r\n // We read and store the value's index to prevent multiple reads from the same storage slot\r\n uint256 valueIndex = set._indexes[value];\r\n\r\n if (valueIndex != 0) { // Equivalent to contains(set, value)\r\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\r\n // the array, and then remove the last element (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = valueIndex - 1;\r\n uint256 lastIndex = set._values.length - 1;\r\n\r\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n bytes32 lastvalue = set._values[lastIndex];\r\n\r\n // Move the last value to the index where the value to delete is\r\n set._values[toDeleteIndex] = lastvalue;\r\n // Update the index for the moved value\r\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved value was stored\r\n set._values.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete set._indexes[value];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\r\n return set._indexes[value] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function _length(Set storage set) private view returns (uint256) {\r\n return set._values.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\r\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\r\n return set._values[index];\r\n }\r\n\r\n // Bytes32Set\r\n\r\n struct Bytes32Set {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _add(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _remove(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\r\n return _contains(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(Bytes32Set storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\r\n return _at(set._inner, index);\r\n }\r\n\r\n // AddressSet\r\n\r\n struct AddressSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(AddressSet storage set, address value) internal returns (bool) {\r\n return _add(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(AddressSet storage set, address value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(AddressSet storage set, address value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(AddressSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\r\n return address(uint160(uint256(_at(set._inner, index))));\r\n }\r\n\r\n\r\n // UintSet\r\n\r\n struct UintSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _add(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function length(UintSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\r\n return uint256(_at(set._inner, index));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing an enumerable variant of Solidity's\r\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\r\n * type.\r\n *\r\n * Maps have the following properties:\r\n *\r\n * - Entries are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableMap.UintToAddressMap private myMap;\r\n * }\r\n * ```\r\n *\r\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\r\n * supported.\r\n */\r\nlibrary EnumerableMap {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Map type with\r\n // bytes32 keys and values.\r\n // The Map implementation uses private functions, and user-facing\r\n // implementations (such as Uint256ToAddressMap) are just wrappers around\r\n // the underlying Map.\r\n // This means that we can only create new EnumerableMaps for types that fit\r\n // in bytes32.\r\n\r\n struct MapEntry {\r\n bytes32 _key;\r\n bytes32 _value;\r\n }\r\n\r\n struct Map {\r\n // Storage of map keys and values\r\n MapEntry[] _entries;\r\n\r\n // Position of the entry defined by a key in the `entries` array, plus 1\r\n // because index 0 means a key is not in the map.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\r\n map._entries.push(MapEntry({ _key: key, _value: value }));\r\n // The entry is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n map._indexes[key] = map._entries.length;\r\n return true;\r\n } else {\r\n map._entries[keyIndex - 1]._value = value;\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a key-value pair from a map. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function _remove(Map storage map, bytes32 key) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex != 0) { // Equivalent to contains(map, key)\r\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\r\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = keyIndex - 1;\r\n uint256 lastIndex = map._entries.length - 1;\r\n\r\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n MapEntry storage lastEntry = map._entries[lastIndex];\r\n\r\n // Move the last entry to the index where the entry to delete is\r\n map._entries[toDeleteIndex] = lastEntry;\r\n // Update the index for the moved entry\r\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved entry was stored\r\n map._entries.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete map._indexes[key];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\r\n return map._indexes[key] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of key-value pairs in the map. O(1).\r\n */\r\n function _length(Map storage map) private view returns (uint256) {\r\n return map._entries.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of entries inside the\r\n * array, and it may change when more entries are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\r\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\r\n\r\n MapEntry storage entry = map._entries[index];\r\n return (entry._key, entry._value);\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n */\r\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\r\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {_tryGet}.\r\n */\r\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n // UintToAddressMap\r\n\r\n struct UintToAddressMap {\r\n Map _inner;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\r\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\r\n return _remove(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\r\n return _contains(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of elements in the map. O(1).\r\n */\r\n function length(UintToAddressMap storage map) internal view returns (uint256) {\r\n return _length(map._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the element stored at position `index` in the set. O(1).\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\r\n (bytes32 key, bytes32 value) = _at(map._inner, index);\r\n return (uint256(key), address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\r\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\r\n return (success, address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\r\n }\r\n\r\n /**\r\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryGet}.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Strings.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev String operations.\r\n */\r\nlibrary Strings {\r\n /**\r\n * @dev Converts a `uint256` to its ASCII `string` representation.\r\n */\r\n function toString(uint256 value) internal pure returns (string memory) {\r\n // Inspired by OraclizeAPI's implementation - MIT licence\r\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\r\n\r\n if (value == 0) {\r\n return \"0\";\r\n }\r\n uint256 temp = value;\r\n uint256 digits;\r\n while (temp != 0) {\r\n digits++;\r\n temp /= 10;\r\n }\r\n bytes memory buffer = new bytes(digits);\r\n uint256 index = digits - 1;\r\n temp = value;\r\n while (temp != 0) {\r\n buffer[index--] = bytes1(uint8(48 + temp % 10));\r\n temp /= 10;\r\n }\r\n return string(buffer);\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 Non-Fungible Token Standard basic implementation\r\n * @dev see https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\r\n using SafeMath for uint256;\r\n using Address for address;\r\n using EnumerableSet for EnumerableSet.UintSet;\r\n using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n using Strings for uint256;\r\n\r\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\r\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\r\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\r\n\r\n // Mapping from holder address to their (enumerable) set of owned tokens\r\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\r\n\r\n // Enumerable mapping from token ids to their owners\r\n EnumerableMap.UintToAddressMap private _tokenOwners;\r\n\r\n // Mapping from token ID to approved address\r\n mapping (uint256 => address) private _tokenApprovals;\r\n\r\n // Mapping from owner to operator approvals\r\n mapping (address => mapping (address => bool)) private _operatorApprovals;\r\n\r\n // Token name\r\n string private _name;\r\n\r\n // Token symbol\r\n string private _symbol;\r\n\r\n // Optional mapping for token URIs\r\n mapping (uint256 => string) private _tokenURIs;\r\n\r\n // Base URI\r\n string private _baseURI;\r\n\r\n /*\r\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\r\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\r\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\r\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\r\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\r\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\r\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\r\n *\r\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\r\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\r\n\r\n /*\r\n * bytes4(keccak256('name()')) == 0x06fdde03\r\n * bytes4(keccak256('symbol()')) == 0x95d89b41\r\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\r\n *\r\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\r\n\r\n /*\r\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\r\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\r\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\r\n *\r\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\r\n\r\n /**\r\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\r\n */\r\n constructor (string memory name_, string memory symbol_) {\r\n _name = name_;\r\n _symbol = symbol_;\r\n\r\n // register the supported interfaces to conform to ERC721 via ERC165\r\n _registerInterface(_INTERFACE_ID_ERC721);\r\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\r\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-balanceOf}.\r\n */\r\n function balanceOf(address owner) public view virtual override returns (uint256) {\r\n require(owner != address(0), \"ERC721: balance query for the zero address\");\r\n return _holderTokens[owner].length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-ownerOf}.\r\n */\r\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\r\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-name}.\r\n */\r\n function name() public view virtual override returns (string memory) {\r\n return _name;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-symbol}.\r\n */\r\n function symbol() public view virtual override returns (string memory) {\r\n return _symbol;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-tokenURI}.\r\n */\r\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\r\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\r\n\r\n string memory _tokenURI = _tokenURIs[tokenId];\r\n string memory base = baseURI();\r\n\r\n // If there is no base URI, return the token URI.\r\n if (bytes(base).length == 0) {\r\n return _tokenURI;\r\n }\r\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\r\n if (bytes(_tokenURI).length > 0) {\r\n return string(abi.encodePacked(base, _tokenURI));\r\n }\r\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\r\n return string(abi.encodePacked(base, tokenId.toString()));\r\n }\r\n\r\n /**\r\n * @dev Returns the base URI set via {_setBaseURI}. This will be\r\n * automatically added as a prefix in {tokenURI} to each token's URI, or\r\n * to the token ID if no specific URI is set for that token ID.\r\n */\r\n function baseURI() public view virtual returns (string memory) {\r\n return _baseURI;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\r\n return _holderTokens[owner].at(index);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-totalSupply}.\r\n */\r\n function totalSupply() public view virtual override returns (uint256) {\r\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\r\n return _tokenOwners.length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenByIndex}.\r\n */\r\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\r\n (uint256 tokenId, ) = _tokenOwners.at(index);\r\n return tokenId;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-approve}.\r\n */\r\n function approve(address to, uint256 tokenId) public virtual override {\r\n address owner = ERC721.ownerOf(tokenId);\r\n require(to != owner, \"ERC721: approval to current owner\");\r\n\r\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\r\n \"ERC721: approve caller is not owner nor approved for all\"\r\n );\r\n\r\n _approve(to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-getApproved}.\r\n */\r\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\r\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\r\n\r\n return _tokenApprovals[tokenId];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-setApprovalForAll}.\r\n */\r\n function setApprovalForAll(address operator, bool approved) public virtual override {\r\n require(operator != _msgSender(), \"ERC721: approve to caller\");\r\n\r\n _operatorApprovals[_msgSender()][operator] = approved;\r\n emit ApprovalForAll(_msgSender(), operator, approved);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-isApprovedForAll}.\r\n */\r\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\r\n return _operatorApprovals[owner][operator];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-transferFrom}.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n //solhint-disable-next-line max-line-length\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n\r\n _transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n safeTransferFrom(from, to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n _safeTransfer(from, to, tokenId, _data);\r\n }\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\r\n *\r\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\r\n * implement alternative mechanisms to perform token transfer, such as signature-based.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _transfer(from, to, tokenId);\r\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Returns whether `tokenId` exists.\r\n *\r\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\r\n *\r\n * Tokens start existing when they are minted (`_mint`),\r\n * and stop existing when they are burned (`_burn`).\r\n */\r\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\r\n return _tokenOwners.contains(tokenId);\r\n }\r\n\r\n /**\r\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\r\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\r\n address owner = ERC721.ownerOf(tokenId);\r\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\r\n }\r\n\r\n /**\r\n * @dev Safely mints `tokenId` and transfers it to `to`.\r\n *\r\n * Requirements:\r\n d*\r\n * - `tokenId` must not exist.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeMint(address to, uint256 tokenId) internal virtual {\r\n _safeMint(to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\r\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\r\n */\r\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _mint(to, tokenId);\r\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Mints `tokenId` and transfers it to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must not exist.\r\n * - `to` cannot be the zero address.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _mint(address to, uint256 tokenId) internal virtual {\r\n require(to != address(0), \"ERC721: mint to the zero address\");\r\n require(!_exists(tokenId), \"ERC721: token already minted\");\r\n\r\n _beforeTokenTransfer(address(0), to, tokenId);\r\n\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(address(0), to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Destroys `tokenId`.\r\n * The approval is cleared when the token is burned.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _burn(uint256 tokenId) internal virtual {\r\n address owner = ERC721.ownerOf(tokenId); // internal owner\r\n\r\n _beforeTokenTransfer(owner, address(0), tokenId);\r\n\r\n // Clear approvals\r\n _approve(address(0), tokenId);\r\n\r\n // Clear metadata (if any)\r\n if (bytes(_tokenURIs[tokenId]).length != 0) {\r\n delete _tokenURIs[tokenId];\r\n }\r\n\r\n _holderTokens[owner].remove(tokenId);\r\n\r\n _tokenOwners.remove(tokenId);\r\n\r\n emit Transfer(owner, address(0), tokenId);\r\n }\r\n\r\n /**\r\n * @dev Transfers `tokenId` from `from` to `to`.\r\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\r\n *\r\n * Requirements:\r\n *\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\r\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\r\n require(to != address(0), \"ERC721: transfer to the zero address\");\r\n\r\n _beforeTokenTransfer(from, to, tokenId);\r\n\r\n // Clear approvals from the previous owner\r\n _approve(address(0), tokenId);\r\n\r\n _holderTokens[from].remove(tokenId);\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\r\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\r\n _tokenURIs[tokenId] = _tokenURI;\r\n }\r\n\r\n /**\r\n * @dev Internal function to set the base URI for all token IDs. It is\r\n * automatically added as a prefix to the value returned in {tokenURI},\r\n * or to the token ID if {tokenURI} is empty.\r\n */\r\n function _setBaseURI(string memory baseURI_) internal virtual {\r\n _baseURI = baseURI_;\r\n }\r\n\r\n /**\r\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\r\n * The call is not executed if the target address is not a contract.\r\n *\r\n * @param from address representing the previous owner of the given token ID\r\n * @param to target address that will receive the tokens\r\n * @param tokenId uint256 ID of the token to be transferred\r\n * @param _data bytes optional data to send along with the call\r\n * @return bool whether the call correctly returned the expected magic value\r\n */\r\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\r\n private returns (bool)\r\n {\r\n if (!to.isContract()) {\r\n return true;\r\n }\r\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\r\n IERC721Receiver(to).onERC721Received.selector,\r\n _msgSender(),\r\n from,\r\n tokenId,\r\n _data\r\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n bytes4 retval = abi.decode(returndata, (bytes4));\r\n return (retval == _ERC721_RECEIVED);\r\n }\r\n\r\n /**\r\n * @dev Approve `to` to operate on `tokenId`\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function _approve(address to, uint256 tokenId) internal virtual {\r\n _tokenApprovals[tokenId] = to;\r\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\r\n }\r\n\r\n /**\r\n * @dev Hook that is called before any token transfer. This includes minting\r\n * and burning.\r\n *\r\n * Calling conditions:\r\n *\r\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\r\n * transferred to `to`.\r\n * - When `from` is zero, `tokenId` will be minted for `to`.\r\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n *\r\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\r\n */\r\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\r\n}\r\n", + "sourcePath": "C:\\Users\\Noahm\\cryptoboys-nft-marketplace\\src\\contracts\\ERC721.sol", "ast": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, - "id": 3499, + "id": 2991, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 509, + "id": 1, "literals": [ "solidity", ">=", @@ -70,7 +70,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "abstract": true, @@ -78,77 +78,77 @@ "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, - "id": 530, + "id": 22, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 517, + "id": 9, "nodeType": "Block", - "src": "719:34:1", + "src": "735:36:0", "statements": [ { "expression": { "expression": { - "id": 514, + "id": 6, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "736:3:1", + "src": "753:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 515, + "id": 7, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "736:10:1", + "src": "753:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 513, - "id": 516, + "functionReturnParameters": 5, + "id": 8, "nodeType": "Return", - "src": "729:17:1" + "src": "746:17:0" } ] }, - "id": 518, + "id": 10, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgSender", "nodeType": "FunctionDefinition", "parameters": { - "id": 510, + "id": 2, "nodeType": "ParameterList", "parameters": [], - "src": "668:2:1" + "src": "684:2:0" }, "returnParameters": { - "id": 513, + "id": 5, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 512, + "id": 4, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 518, - "src": "702:15:1", + "scope": 10, + "src": "718:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -156,10 +156,10 @@ "typeString": "address payable" }, "typeName": { - "id": 511, + "id": 3, "name": "address", "nodeType": "ElementaryTypeName", - "src": "702:15:1", + "src": "718:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -169,95 +169,95 @@ "visibility": "internal" } ], - "src": "701:17:1" + "src": "717:17:0" }, - "scope": 530, - "src": "649:104:1", + "scope": 22, + "src": "665:106:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 528, + "id": 20, "nodeType": "Block", - "src": "824:165:1", + "src": "844:168:0", "statements": [ { "expression": { - "id": 523, + "id": 15, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "834:4:1", + "src": "855:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 524, + "id": 16, "nodeType": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "expression": { "expression": { - "id": 525, + "id": 17, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "974:3:1", + "src": "996:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 526, + "id": 18, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "data", "nodeType": "MemberAccess", - "src": "974:8:1", + "src": "996:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" } }, - "functionReturnParameters": 522, - "id": 527, + "functionReturnParameters": 14, + "id": 19, "nodeType": "Return", - "src": "967:15:1" + "src": "989:15:0" } ] }, - "id": 529, + "id": 21, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgData", "nodeType": "FunctionDefinition", "parameters": { - "id": 519, + "id": 11, "nodeType": "ParameterList", "parameters": [], - "src": "776:2:1" + "src": "796:2:0" }, "returnParameters": { - "id": 522, + "id": 14, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 521, + "id": 13, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 529, - "src": "810:12:1", + "scope": 21, + "src": "830:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -265,10 +265,10 @@ "typeString": "bytes" }, "typeName": { - "id": 520, + "id": 12, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "810:5:1", + "src": "830:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -277,20 +277,20 @@ "visibility": "internal" } ], - "src": "809:14:1" + "src": "829:14:0" }, - "scope": 530, - "src": "759:230:1", + "scope": 22, + "src": "779:233:0", "stateMutability": "view", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "617:374:1" + "scope": 2991, + "src": "632:383:0" }, { - "id": 531, + "id": 23, "literals": [ "solidity", ">=", @@ -301,7 +301,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "abstract": false, @@ -309,45 +309,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 532, + "id": 24, "nodeType": "StructuredDocumentation", - "src": "1086:279:1", + "src": "1116:287:0", "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, "fullyImplemented": false, - "id": 541, + "id": 33, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 533, + "id": 25, "nodeType": "StructuredDocumentation", - "src": "1390:340:1", + "src": "1430:347:0", "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 540, + "id": 32, "implemented": false, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 536, + "id": 28, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 535, + "id": 27, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1762:18:1", + "scope": 32, + "src": "1810:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -355,10 +355,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 534, + "id": 26, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "1762:6:1", + "src": "1810:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -367,20 +367,20 @@ "visibility": "internal" } ], - "src": "1761:20:1" + "src": "1809:20:0" }, "returnParameters": { - "id": 539, + "id": 31, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 538, + "id": 30, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1805:4:1", + "scope": 32, + "src": "1853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -388,10 +388,10 @@ "typeString": "bool" }, "typeName": { - "id": 537, + "id": 29, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1805:4:1", + "src": "1853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -400,20 +400,20 @@ "visibility": "internal" } ], - "src": "1804:6:1" + "src": "1852:6:0" }, - "scope": 541, - "src": "1735:76:1", + "scope": 33, + "src": "1783:76:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1366:447:1" + "scope": 2991, + "src": "1405:457:0" }, { - "id": 542, + "id": 34, "literals": [ "solidity", ">=", @@ -424,43 +424,43 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 544, + "id": 36, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "1996:7:1", + "referencedDeclaration": 33, + "src": "2054:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 545, + "id": 37, "nodeType": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "documentation": { - "id": 543, + "id": 35, "nodeType": "StructuredDocumentation", - "src": "1907:67:1", + "src": "1962:69:0", "text": " @dev Required interface of an ERC721 compliant contract." }, "fullyImplemented": false, - "id": 655, + "id": 147, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", "nodeType": "ContractDefinition", @@ -468,27 +468,27 @@ { "anonymous": false, "documentation": { - "id": 546, + "id": 38, "nodeType": "StructuredDocumentation", - "src": "2010:88:1", + "src": "2069:90:0", "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 554, + "id": 46, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { - "id": 553, + "id": 45, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 548, + "id": 40, "indexed": true, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2118:20:1", + "scope": 46, + "src": "2180:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -496,10 +496,10 @@ "typeString": "address" }, "typeName": { - "id": 547, + "id": 39, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2118:7:1", + "src": "2180:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -510,13 +510,13 @@ }, { "constant": false, - "id": 550, + "id": 42, "indexed": true, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2140:18:1", + "scope": 46, + "src": "2202:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -524,10 +524,10 @@ "typeString": "address" }, "typeName": { - "id": 549, + "id": 41, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2140:7:1", + "src": "2202:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -538,13 +538,13 @@ }, { "constant": false, - "id": 552, + "id": 44, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2160:23:1", + "scope": 46, + "src": "2222:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -552,10 +552,10 @@ "typeString": "uint256" }, "typeName": { - "id": 551, + "id": 43, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2160:7:1", + "src": "2222:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -564,34 +564,34 @@ "visibility": "internal" } ], - "src": "2117:67:1" + "src": "2179:67:0" }, - "src": "2103:82:1" + "src": "2165:82:0" }, { "anonymous": false, "documentation": { - "id": 555, + "id": 47, "nodeType": "StructuredDocumentation", - "src": "2191:94:1", + "src": "2255:96:0", "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 563, + "id": 55, "name": "Approval", "nodeType": "EventDefinition", "parameters": { - "id": 562, + "id": 54, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 557, + "id": 49, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2305:21:1", + "scope": 55, + "src": "2372:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -599,10 +599,10 @@ "typeString": "address" }, "typeName": { - "id": 556, + "id": 48, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2305:7:1", + "src": "2372:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -613,13 +613,13 @@ }, { "constant": false, - "id": 559, + "id": 51, "indexed": true, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2328:24:1", + "scope": 55, + "src": "2395:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -627,10 +627,10 @@ "typeString": "address" }, "typeName": { - "id": 558, + "id": 50, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2328:7:1", + "src": "2395:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -641,13 +641,13 @@ }, { "constant": false, - "id": 561, + "id": 53, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2354:23:1", + "scope": 55, + "src": "2421:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -655,10 +655,10 @@ "typeString": "uint256" }, "typeName": { - "id": 560, + "id": 52, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2354:7:1", + "src": "2421:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -667,34 +667,34 @@ "visibility": "internal" } ], - "src": "2304:74:1" + "src": "2371:74:0" }, - "src": "2290:89:1" + "src": "2357:89:0" }, { "anonymous": false, "documentation": { - "id": 564, + "id": 56, "nodeType": "StructuredDocumentation", - "src": "2385:117:1", + "src": "2454:119:0", "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 572, + "id": 64, "name": "ApprovalForAll", "nodeType": "EventDefinition", "parameters": { - "id": 571, + "id": 63, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 566, + "id": 58, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2528:21:1", + "scope": 64, + "src": "2600:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -702,10 +702,10 @@ "typeString": "address" }, "typeName": { - "id": 565, + "id": 57, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2528:7:1", + "src": "2600:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -716,13 +716,13 @@ }, { "constant": false, - "id": 568, + "id": 60, "indexed": true, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2551:24:1", + "scope": 64, + "src": "2623:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -730,10 +730,10 @@ "typeString": "address" }, "typeName": { - "id": 567, + "id": 59, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2551:7:1", + "src": "2623:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -744,13 +744,13 @@ }, { "constant": false, - "id": 570, + "id": 62, "indexed": false, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2577:13:1", + "scope": 64, + "src": "2649:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -758,10 +758,10 @@ "typeString": "bool" }, "typeName": { - "id": 569, + "id": 61, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2577:4:1", + "src": "2649:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -770,36 +770,36 @@ "visibility": "internal" } ], - "src": "2527:64:1" + "src": "2599:64:0" }, - "src": "2507:85:1" + "src": "2579:85:0" }, { "documentation": { - "id": 573, + "id": 65, "nodeType": "StructuredDocumentation", - "src": "2598:76:1", + "src": "2672:78:0", "text": " @dev Returns the number of tokens in ``owner``'s account." }, "functionSelector": "70a08231", - "id": 580, + "id": 72, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 576, + "id": 68, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 575, + "id": 67, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2698:13:1", + "scope": 72, + "src": "2775:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -807,10 +807,10 @@ "typeString": "address" }, "typeName": { - "id": 574, + "id": 66, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2698:7:1", + "src": "2775:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -820,20 +820,20 @@ "visibility": "internal" } ], - "src": "2697:15:1" + "src": "2774:15:0" }, "returnParameters": { - "id": 579, + "id": 71, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 578, + "id": 70, "mutability": "mutable", "name": "balance", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2736:15:1", + "scope": 72, + "src": "2813:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -841,10 +841,10 @@ "typeString": "uint256" }, "typeName": { - "id": 577, + "id": 69, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2736:7:1", + "src": "2813:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -853,40 +853,40 @@ "visibility": "internal" } ], - "src": "2735:17:1" + "src": "2812:17:0" }, - "scope": 655, - "src": "2679:74:1", + "scope": 147, + "src": "2756:74:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 581, + "id": 73, "nodeType": "StructuredDocumentation", - "src": "2759:131:1", + "src": "2838:137:0", "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "6352211e", - "id": 588, + "id": 80, "implemented": false, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 584, + "id": 76, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 583, + "id": 75, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2912:15:1", + "scope": 80, + "src": "2998:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -894,10 +894,10 @@ "typeString": "uint256" }, "typeName": { - "id": 582, + "id": 74, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2912:7:1", + "src": "2998:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -906,20 +906,20 @@ "visibility": "internal" } ], - "src": "2911:17:1" + "src": "2997:17:0" }, "returnParameters": { - "id": 587, + "id": 79, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 586, + "id": 78, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2952:13:1", + "scope": 80, + "src": "3038:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -927,10 +927,10 @@ "typeString": "address" }, "typeName": { - "id": 585, + "id": 77, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2952:7:1", + "src": "3038:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -940,40 +940,40 @@ "visibility": "internal" } ], - "src": "2951:15:1" + "src": "3037:15:0" }, - "scope": 655, - "src": "2895:72:1", + "scope": 147, + "src": "2981:72:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 589, + "id": 81, "nodeType": "StructuredDocumentation", - "src": "2973:690:1", + "src": "3061:703:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "42842e0e", - "id": 598, + "id": 90, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 596, + "id": 88, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 591, + "id": 83, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3694:12:1", + "scope": 90, + "src": "3796:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -981,10 +981,10 @@ "typeString": "address" }, "typeName": { - "id": 590, + "id": 82, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3694:7:1", + "src": "3796:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -995,12 +995,12 @@ }, { "constant": false, - "id": 593, + "id": 85, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3708:10:1", + "scope": 90, + "src": "3810:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1008,10 +1008,10 @@ "typeString": "address" }, "typeName": { - "id": 592, + "id": 84, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3708:7:1", + "src": "3810:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1022,12 +1022,12 @@ }, { "constant": false, - "id": 595, + "id": 87, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3720:15:1", + "scope": 90, + "src": "3822:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1035,10 +1035,10 @@ "typeString": "uint256" }, "typeName": { - "id": 594, + "id": 86, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3720:7:1", + "src": "3822:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1047,46 +1047,46 @@ "visibility": "internal" } ], - "src": "3693:43:1" + "src": "3795:43:0" }, "returnParameters": { - "id": 597, + "id": 89, "nodeType": "ParameterList", "parameters": [], - "src": "3745:0:1" + "src": "3847:0:0" }, - "scope": 655, - "src": "3668:78:1", + "scope": 147, + "src": "3770:78:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 599, + "id": 91, "nodeType": "StructuredDocumentation", - "src": "3752:504:1", + "src": "3856:517:0", "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, "functionSelector": "23b872dd", - "id": 608, + "id": 100, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 606, + "id": 98, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 601, + "id": 93, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4283:12:1", + "scope": 100, + "src": "4401:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1094,10 +1094,10 @@ "typeString": "address" }, "typeName": { - "id": 600, + "id": 92, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4283:7:1", + "src": "4401:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1108,12 +1108,12 @@ }, { "constant": false, - "id": 603, + "id": 95, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4297:10:1", + "scope": 100, + "src": "4415:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1121,10 +1121,10 @@ "typeString": "address" }, "typeName": { - "id": 602, + "id": 94, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4297:7:1", + "src": "4415:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1135,12 +1135,12 @@ }, { "constant": false, - "id": 605, + "id": 97, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4309:15:1", + "scope": 100, + "src": "4427:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1148,10 +1148,10 @@ "typeString": "uint256" }, "typeName": { - "id": 604, + "id": 96, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4309:7:1", + "src": "4427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1160,46 +1160,46 @@ "visibility": "internal" } ], - "src": "4282:43:1" + "src": "4400:43:0" }, "returnParameters": { - "id": 607, + "id": 99, "nodeType": "ParameterList", "parameters": [], - "src": "4334:0:1" + "src": "4452:0:0" }, - "scope": 655, - "src": "4261:74:1", + "scope": 147, + "src": "4379:74:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 609, + "id": 101, "nodeType": "StructuredDocumentation", - "src": "4341:452:1", + "src": "4461:464:0", "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, "functionSelector": "095ea7b3", - "id": 616, + "id": 108, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 614, + "id": 106, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 611, + "id": 103, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4815:10:1", + "scope": 108, + "src": "4948:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1207,10 +1207,10 @@ "typeString": "address" }, "typeName": { - "id": 610, + "id": 102, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4815:7:1", + "src": "4948:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1221,12 +1221,12 @@ }, { "constant": false, - "id": 613, + "id": 105, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4827:15:1", + "scope": 108, + "src": "4960:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1234,10 +1234,10 @@ "typeString": "uint256" }, "typeName": { - "id": 612, + "id": 104, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4827:7:1", + "src": "4960:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1246,46 +1246,46 @@ "visibility": "internal" } ], - "src": "4814:29:1" + "src": "4947:29:0" }, "returnParameters": { - "id": 615, + "id": 107, "nodeType": "ParameterList", "parameters": [], - "src": "4852:0:1" + "src": "4985:0:0" }, - "scope": 655, - "src": "4798:55:1", + "scope": 147, + "src": "4931:55:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 617, + "id": 109, "nodeType": "StructuredDocumentation", - "src": "4859:139:1", + "src": "4994:145:0", "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "081812fc", - "id": 624, + "id": 116, "implemented": false, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "parameters": { - "id": 620, + "id": 112, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 619, + "id": 111, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5024:15:1", + "scope": 116, + "src": "5166:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1293,10 +1293,10 @@ "typeString": "uint256" }, "typeName": { - "id": 618, + "id": 110, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5024:7:1", + "src": "5166:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1305,20 +1305,20 @@ "visibility": "internal" } ], - "src": "5023:17:1" + "src": "5165:17:0" }, "returnParameters": { - "id": 623, + "id": 115, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 622, + "id": 114, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5064:16:1", + "scope": 116, + "src": "5206:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1326,10 +1326,10 @@ "typeString": "address" }, "typeName": { - "id": 621, + "id": 113, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5064:7:1", + "src": "5206:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1339,40 +1339,40 @@ "visibility": "internal" } ], - "src": "5063:18:1" + "src": "5205:18:0" }, - "scope": 655, - "src": "5003:79:1", + "scope": 147, + "src": "5145:79:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 625, + "id": 117, "nodeType": "StructuredDocumentation", - "src": "5088:309:1", + "src": "5232:318:0", "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, "functionSelector": "a22cb465", - "id": 632, + "id": 124, "implemented": false, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 630, + "id": 122, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 627, + "id": 119, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5429:16:1", + "scope": 124, + "src": "5583:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1380,10 +1380,10 @@ "typeString": "address" }, "typeName": { - "id": 626, + "id": 118, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5429:7:1", + "src": "5583:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1394,12 +1394,12 @@ }, { "constant": false, - "id": 629, + "id": 121, "mutability": "mutable", "name": "_approved", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5447:14:1", + "scope": 124, + "src": "5601:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1407,10 +1407,10 @@ "typeString": "bool" }, "typeName": { - "id": 628, + "id": 120, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5447:4:1", + "src": "5601:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1419,46 +1419,46 @@ "visibility": "internal" } ], - "src": "5428:34:1" + "src": "5582:34:0" }, "returnParameters": { - "id": 631, + "id": 123, "nodeType": "ParameterList", "parameters": [], - "src": "5471:0:1" + "src": "5625:0:0" }, - "scope": 655, - "src": "5402:70:1", + "scope": 147, + "src": "5556:70:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 633, + "id": 125, "nodeType": "StructuredDocumentation", - "src": "5478:138:1", + "src": "5634:142:0", "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, "functionSelector": "e985e9c5", - "id": 642, + "id": 134, "implemented": false, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 638, + "id": 130, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 635, + "id": 127, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5647:13:1", + "scope": 134, + "src": "5808:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1466,10 +1466,10 @@ "typeString": "address" }, "typeName": { - "id": 634, + "id": 126, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5647:7:1", + "src": "5808:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1480,12 +1480,12 @@ }, { "constant": false, - "id": 637, + "id": 129, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5662:16:1", + "scope": 134, + "src": "5823:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1493,10 +1493,10 @@ "typeString": "address" }, "typeName": { - "id": 636, + "id": 128, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5662:7:1", + "src": "5823:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1506,20 +1506,20 @@ "visibility": "internal" } ], - "src": "5646:33:1" + "src": "5807:33:0" }, "returnParameters": { - "id": 641, + "id": 133, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 640, + "id": 132, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5703:4:1", + "scope": 134, + "src": "5864:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1527,10 +1527,10 @@ "typeString": "bool" }, "typeName": { - "id": 639, + "id": 131, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5703:4:1", + "src": "5864:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1539,40 +1539,40 @@ "visibility": "internal" } ], - "src": "5702:6:1" + "src": "5863:6:0" }, - "scope": 655, - "src": "5621:88:1", + "scope": 147, + "src": "5782:88:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 643, + "id": 135, "nodeType": "StructuredDocumentation", - "src": "5715:568:1", + "src": "5878:580:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "b88d4fde", - "id": 654, + "id": 146, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 652, + "id": 144, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 645, + "id": 137, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6314:12:1", + "scope": 146, + "src": "6490:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1580,10 +1580,10 @@ "typeString": "address" }, "typeName": { - "id": 644, + "id": 136, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6314:7:1", + "src": "6490:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1594,12 +1594,12 @@ }, { "constant": false, - "id": 647, + "id": 139, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6328:10:1", + "scope": 146, + "src": "6504:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1607,10 +1607,10 @@ "typeString": "address" }, "typeName": { - "id": 646, + "id": 138, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6328:7:1", + "src": "6504:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1621,12 +1621,12 @@ }, { "constant": false, - "id": 649, + "id": 141, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6340:15:1", + "scope": 146, + "src": "6516:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1634,10 +1634,10 @@ "typeString": "uint256" }, "typeName": { - "id": 648, + "id": 140, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6340:7:1", + "src": "6516:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1647,12 +1647,12 @@ }, { "constant": false, - "id": 651, + "id": 143, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6357:19:1", + "scope": 146, + "src": "6533:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -1660,10 +1660,10 @@ "typeString": "bytes" }, "typeName": { - "id": 650, + "id": 142, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6357:5:1", + "src": "6533:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -1672,26 +1672,26 @@ "visibility": "internal" } ], - "src": "6313:64:1" + "src": "6489:64:0" }, "returnParameters": { - "id": 653, + "id": 145, "nodeType": "ParameterList", "parameters": [], - "src": "6386:0:1" + "src": "6562:0:0" }, - "scope": 655, - "src": "6288:99:1", + "scope": 147, + "src": "6464:99:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1975:4414:1" + "scope": 2991, + "src": "2033:4533:0" }, { - "id": 656, + "id": 148, "literals": [ "solidity", ">=", @@ -1702,81 +1702,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 658, + "id": 150, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "6654:7:1", + "referencedDeclaration": 147, + "src": "6841:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 659, + "id": 151, "nodeType": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 657, + "id": 149, "nodeType": "StructuredDocumentation", - "src": "6491:133:1", + "src": "6674:136:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 680, + "id": 172, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 660, + "id": 152, "nodeType": "StructuredDocumentation", - "src": "6669:58:1", + "src": "6858:60:0", "text": " @dev Returns the token collection name." }, "functionSelector": "06fdde03", - "id": 665, + "id": 157, "implemented": false, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "parameters": { - "id": 661, + "id": 153, "nodeType": "ParameterList", "parameters": [], - "src": "6745:2:1" + "src": "6937:2:0" }, "returnParameters": { - "id": 664, + "id": 156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 663, + "id": 155, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 665, - "src": "6771:13:1", + "scope": 157, + "src": "6963:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1784,10 +1784,10 @@ "typeString": "string" }, "typeName": { - "id": 662, + "id": 154, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6771:6:1", + "src": "6963:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1796,46 +1796,46 @@ "visibility": "internal" } ], - "src": "6770:15:1" + "src": "6962:15:0" }, - "scope": 680, - "src": "6732:54:1", + "scope": 172, + "src": "6924:54:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 666, + "id": 158, "nodeType": "StructuredDocumentation", - "src": "6792:60:1", + "src": "6986:62:0", "text": " @dev Returns the token collection symbol." }, "functionSelector": "95d89b41", - "id": 671, + "id": 163, "implemented": false, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "parameters": { - "id": 667, + "id": 159, "nodeType": "ParameterList", "parameters": [], - "src": "6872:2:1" + "src": "7069:2:0" }, "returnParameters": { - "id": 670, + "id": 162, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 669, + "id": 161, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 671, - "src": "6898:13:1", + "scope": 163, + "src": "7095:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1843,10 +1843,10 @@ "typeString": "string" }, "typeName": { - "id": 668, + "id": 160, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6898:6:1", + "src": "7095:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1855,40 +1855,40 @@ "visibility": "internal" } ], - "src": "6897:15:1" + "src": "7094:15:0" }, - "scope": 680, - "src": "6857:56:1", + "scope": 172, + "src": "7054:56:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 672, + "id": 164, "nodeType": "StructuredDocumentation", - "src": "6919:90:1", + "src": "7118:92:0", "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, "functionSelector": "c87b56dd", - "id": 679, + "id": 171, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 675, + "id": 167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 674, + "id": 166, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7032:15:1", + "scope": 171, + "src": "7234:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1896,10 +1896,10 @@ "typeString": "uint256" }, "typeName": { - "id": 673, + "id": 165, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7032:7:1", + "src": "7234:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1908,20 +1908,20 @@ "visibility": "internal" } ], - "src": "7031:17:1" + "src": "7233:17:0" }, "returnParameters": { - "id": 678, + "id": 170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 677, + "id": 169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7072:13:1", + "scope": 171, + "src": "7274:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1929,10 +1929,10 @@ "typeString": "string" }, "typeName": { - "id": 676, + "id": 168, "name": "string", "nodeType": "ElementaryTypeName", - "src": "7072:6:1", + "src": "7274:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1941,20 +1941,20 @@ "visibility": "internal" } ], - "src": "7071:15:1" + "src": "7273:15:0" }, - "scope": 680, - "src": "7014:73:1", + "scope": 172, + "src": "7216:73:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "6625:464:1" + "scope": 2991, + "src": "6812:480:0" }, { - "id": 681, + "id": 173, "literals": [ "solidity", ">=", @@ -1965,81 +1965,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 683, + "id": 175, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "7363:7:1", + "referencedDeclaration": 147, + "src": "7578:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 684, + "id": 176, "nodeType": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 682, + "id": 174, "nodeType": "StructuredDocumentation", - "src": "7195:136:1", + "src": "7406:139:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 709, + "id": 201, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 685, + "id": 177, "nodeType": "StructuredDocumentation", - "src": "7378:82:1", + "src": "7595:84:0", "text": " @dev Returns the total amount of tokens stored by the contract." }, "functionSelector": "18160ddd", - "id": 690, + "id": 182, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { - "id": 686, + "id": 178, "nodeType": "ParameterList", "parameters": [], - "src": "7485:2:1" + "src": "7705:2:0" }, "returnParameters": { - "id": 689, + "id": 181, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 688, + "id": 180, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 690, - "src": "7511:7:1", + "scope": 182, + "src": "7731:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2047,10 +2047,10 @@ "typeString": "uint256" }, "typeName": { - "id": 687, + "id": 179, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7511:7:1", + "src": "7731:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2059,40 +2059,40 @@ "visibility": "internal" } ], - "src": "7510:9:1" + "src": "7730:9:0" }, - "scope": 709, - "src": "7465:55:1", + "scope": 201, + "src": "7685:55:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 691, + "id": 183, "nodeType": "StructuredDocumentation", - "src": "7526:171:1", + "src": "7748:174:0", "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, "functionSelector": "2f745c59", - "id": 700, + "id": 192, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 696, + "id": 188, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 693, + "id": 185, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7731:13:1", + "scope": 192, + "src": "7957:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2100,10 +2100,10 @@ "typeString": "address" }, "typeName": { - "id": 692, + "id": 184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7731:7:1", + "src": "7957:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2114,12 +2114,12 @@ }, { "constant": false, - "id": 695, + "id": 187, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7746:13:1", + "scope": 192, + "src": "7972:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2127,10 +2127,10 @@ "typeString": "uint256" }, "typeName": { - "id": 694, + "id": 186, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7746:7:1", + "src": "7972:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2139,20 +2139,20 @@ "visibility": "internal" } ], - "src": "7730:30:1" + "src": "7956:30:0" }, "returnParameters": { - "id": 699, + "id": 191, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 698, + "id": 190, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7784:15:1", + "scope": 192, + "src": "8010:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2160,10 +2160,10 @@ "typeString": "uint256" }, "typeName": { - "id": 697, + "id": 189, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7784:7:1", + "src": "8010:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2172,40 +2172,40 @@ "visibility": "internal" } ], - "src": "7783:17:1" + "src": "8009:17:0" }, - "scope": 709, - "src": "7702:99:1", + "scope": 201, + "src": "7928:99:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 701, + "id": 193, "nodeType": "StructuredDocumentation", - "src": "7807:164:1", + "src": "8035:167:0", "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, "functionSelector": "4f6ccce7", - "id": 708, + "id": 200, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 704, + "id": 196, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 703, + "id": 195, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "7998:13:1", + "scope": 200, + "src": "8230:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2213,10 +2213,10 @@ "typeString": "uint256" }, "typeName": { - "id": 702, + "id": 194, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7998:7:1", + "src": "8230:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2225,20 +2225,20 @@ "visibility": "internal" } ], - "src": "7997:15:1" + "src": "8229:15:0" }, "returnParameters": { - "id": 707, + "id": 199, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 706, + "id": 198, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "8036:7:1", + "scope": 200, + "src": "8268:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2246,10 +2246,10 @@ "typeString": "uint256" }, "typeName": { - "id": 705, + "id": 197, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8036:7:1", + "src": "8268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2258,20 +2258,20 @@ "visibility": "internal" } ], - "src": "8035:9:1" + "src": "8267:9:0" }, - "scope": 709, - "src": "7976:69:1", + "scope": 201, + "src": "8208:69:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "7332:715:1" + "scope": 2991, + "src": "7547:733:0" }, { - "id": 710, + "id": 202, "literals": [ "solidity", ">=", @@ -2282,7 +2282,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "abstract": false, @@ -2290,45 +2290,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 711, + "id": 203, "nodeType": "StructuredDocumentation", - "src": "8150:152:1", + "src": "8390:156:0", "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, "fullyImplemented": false, - "id": 726, + "id": 218, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 712, + "id": 204, "nodeType": "StructuredDocumentation", - "src": "8335:485:1", + "src": "8581:493:0", "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, "functionSelector": "150b7a02", - "id": 725, + "id": 217, "implemented": false, "kind": "function", "modifiers": [], "name": "onERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 721, + "id": 213, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 714, + "id": 206, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8851:16:1", + "scope": 217, + "src": "9106:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2336,10 +2336,10 @@ "typeString": "address" }, "typeName": { - "id": 713, + "id": 205, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8851:7:1", + "src": "9106:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2350,12 +2350,12 @@ }, { "constant": false, - "id": 716, + "id": 208, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8869:12:1", + "scope": 217, + "src": "9124:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2363,10 +2363,10 @@ "typeString": "address" }, "typeName": { - "id": 715, + "id": 207, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8869:7:1", + "src": "9124:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2377,12 +2377,12 @@ }, { "constant": false, - "id": 718, + "id": 210, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8883:15:1", + "scope": 217, + "src": "9138:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2390,10 +2390,10 @@ "typeString": "uint256" }, "typeName": { - "id": 717, + "id": 209, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8883:7:1", + "src": "9138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2403,12 +2403,12 @@ }, { "constant": false, - "id": 720, + "id": 212, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8900:19:1", + "scope": 217, + "src": "9155:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -2416,10 +2416,10 @@ "typeString": "bytes" }, "typeName": { - "id": 719, + "id": 211, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8900:5:1", + "src": "9155:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2428,20 +2428,20 @@ "visibility": "internal" } ], - "src": "8850:70:1" + "src": "9105:70:0" }, "returnParameters": { - "id": 724, + "id": 216, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 723, + "id": 215, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8939:6:1", + "scope": 217, + "src": "9194:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2449,10 +2449,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 722, + "id": 214, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "8939:6:1", + "src": "9194:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2461,20 +2461,20 @@ "visibility": "internal" } ], - "src": "8938:8:1" + "src": "9193:8:0" }, - "scope": 726, - "src": "8825:122:1", + "scope": 218, + "src": "9080:122:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "8303:646:1" + "scope": 2991, + "src": "8548:657:0" }, { - "id": 727, + "id": 219, "literals": [ "solidity", ">=", @@ -2485,55 +2485,55 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "abstract": true, "baseContracts": [ { "baseName": { - "id": 729, + "id": 221, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "9243:7:1", + "referencedDeclaration": 33, + "src": "9511:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 730, + "id": 222, "nodeType": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "documentation": { - "id": 728, + "id": 220, "nodeType": "StructuredDocumentation", - "src": "9043:171:1", + "src": "9305:176:0", "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, "fullyImplemented": true, - "id": 781, + "id": 273, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", "nodeType": "ContractDefinition", "nodes": [ { "constant": true, - "id": 733, + "id": 225, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9340:57:1", + "scope": 273, + "src": "9612:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2541,10 +2541,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 731, + "id": 223, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9340:6:1", + "src": "9612:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2552,14 +2552,14 @@ }, "value": { "hexValue": "30783031666663396137", - "id": 732, + "id": 224, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9387:10:1", + "src": "9659:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_33540519_by_1", "typeString": "int_const 33540519" @@ -2571,17 +2571,17 @@ { "constant": false, "documentation": { - "id": 734, + "id": 226, "nodeType": "StructuredDocumentation", - "src": "9404:82:1", + "src": "9678:84:0", "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 738, + "id": 230, "mutability": "mutable", "name": "_supportedInterfaces", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9491:52:1", + "scope": 273, + "src": "9768:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2589,28 +2589,28 @@ "typeString": "mapping(bytes4 => bool)" }, "typeName": { - "id": 737, + "id": 229, "keyType": { - "id": 735, + "id": 227, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9499:6:1", + "src": "9776:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "nodeType": "Mapping", - "src": "9491:23:1", + "src": "9768:23:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" }, "valueType": { - "id": 736, + "id": 228, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9509:4:1", + "src": "9786:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2621,20 +2621,20 @@ }, { "body": { - "id": 745, + "id": 237, "nodeType": "Block", - "src": "9565:193:1", + "src": "9844:197:0", "statements": [ { "expression": { "arguments": [ { - "id": 742, + "id": 234, "name": "_INTERFACE_ID_ERC165", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 733, - "src": "9730:20:1", + "referencedDeclaration": 225, + "src": "10012:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2648,18 +2648,18 @@ "typeString": "bytes4" } ], - "id": 741, + "id": 233, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "9711:18:1", + "referencedDeclaration": 272, + "src": "9993:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 743, + "id": 235, "isConstant": false, "isLValue": false, "isPure": false, @@ -2667,74 +2667,74 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9711:40:1", + "src": "9993:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 744, + "id": 236, "nodeType": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ] }, - "id": 746, + "id": 238, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 739, + "id": 231, "nodeType": "ParameterList", "parameters": [], - "src": "9562:2:1" + "src": "9841:2:0" }, "returnParameters": { - "id": 740, + "id": 232, "nodeType": "ParameterList", "parameters": [], - "src": "9565:0:1" + "src": "9844:0:0" }, - "scope": 781, - "src": "9550:208:1", + "scope": 273, + "src": "9829:212:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "baseFunctions": [ - 540 + 32 ], "body": { - "id": 759, + "id": 251, "nodeType": "Block", - "src": "9999:57:1", + "src": "10289:59:0", "statements": [ { "expression": { "baseExpression": { - "id": 755, + "id": 247, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10016:20:1", + "referencedDeclaration": 230, + "src": "10307:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 757, + "id": 249, "indexExpression": { - "id": 756, + "id": 248, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 749, - "src": "10037:11:1", + "referencedDeclaration": 241, + "src": "10328:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2745,50 +2745,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10016:33:1", + "src": "10307:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 754, - "id": 758, + "functionReturnParameters": 246, + "id": 250, "nodeType": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ] }, "documentation": { - "id": 747, + "id": 239, "nodeType": "StructuredDocumentation", - "src": "9764:139:1", + "src": "10049:143:0", "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 760, + "id": 252, "implemented": true, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "overrides": { - "id": 751, + "id": 243, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "9975:8:1" + "src": "10265:8:0" }, "parameters": { - "id": 750, + "id": 242, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 749, + "id": 241, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9935:18:1", + "scope": 252, + "src": "10225:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2796,10 +2796,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 748, + "id": 240, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9935:6:1", + "src": "10225:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2808,20 +2808,20 @@ "visibility": "internal" } ], - "src": "9934:20:1" + "src": "10224:20:0" }, "returnParameters": { - "id": 754, + "id": 246, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 753, + "id": 245, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9993:4:1", + "scope": 252, + "src": "10283:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2829,10 +2829,10 @@ "typeString": "bool" }, "typeName": { - "id": 752, + "id": 244, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9993:4:1", + "src": "10283:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2841,19 +2841,19 @@ "visibility": "internal" } ], - "src": "9992:6:1" + "src": "10282:6:0" }, - "scope": 781, - "src": "9908:148:1", + "scope": 273, + "src": "10198:150:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 779, + "id": 271, "nodeType": "Block", - "src": "10515:133:1", + "src": "10820:136:0", "statements": [ { "expression": { @@ -2863,18 +2863,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 769, + "id": 261, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 767, + "id": 259, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10533:11:1", + "referencedDeclaration": 255, + "src": "10839:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2884,21 +2884,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30786666666666666666", - "id": 768, + "id": 260, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10548:10:1", + "src": "10854:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_4294967295_by_1", "typeString": "int_const 4294967295" }, "value": "0xffffffff" }, - "src": "10533:25:1", + "src": "10839:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2906,14 +2906,14 @@ }, { "hexValue": "4552433136353a20696e76616c696420696e74657266616365206964", - "id": 770, + "id": 262, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "10560:30:1", + "src": "10866:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_282912c0dfceceb28d77d0333f496b83948f9ba5b3154358a8b140b849289dee", "typeString": "literal_string \"ERC165: invalid interface id\"" @@ -2932,7 +2932,7 @@ "typeString": "literal_string \"ERC165: invalid interface id\"" } ], - "id": 766, + "id": 258, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -2940,13 +2940,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "10525:7:1", + "src": "10831:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 771, + "id": 263, "isConstant": false, "isLValue": false, "isPure": false, @@ -2954,45 +2954,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10525:66:1", + "src": "10831:66:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 772, + "id": 264, "nodeType": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "expression": { - "id": 777, + "id": 269, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 773, + "id": 265, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10601:20:1", + "referencedDeclaration": 230, + "src": "10908:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 775, + "id": 267, "indexExpression": { - "id": 774, + "id": 266, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10622:11:1", + "referencedDeclaration": 255, + "src": "10929:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3003,7 +3003,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "10601:33:1", + "src": "10908:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3013,56 +3013,56 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 776, + "id": 268, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "10637:4:1", + "src": "10944:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "10601:40:1", + "src": "10908:40:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 778, + "id": 270, "nodeType": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ] }, "documentation": { - "id": 761, + "id": 253, "nodeType": "StructuredDocumentation", - "src": "10062:383:1", + "src": "10356:393:0", "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 780, + "id": 272, "implemented": true, "kind": "function", "modifiers": [], "name": "_registerInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 764, + "id": 256, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 763, + "id": 255, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 780, - "src": "10478:18:1", + "scope": 272, + "src": "10783:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3070,10 +3070,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 762, + "id": 254, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "10478:6:1", + "src": "10783:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3082,26 +3082,26 @@ "visibility": "internal" } ], - "src": "10477:20:1" + "src": "10782:20:0" }, "returnParameters": { - "id": 765, + "id": 257, "nodeType": "ParameterList", "parameters": [], - "src": "10515:0:1" + "src": "10820:0:0" }, - "scope": 781, - "src": "10450:198:1", + "scope": 273, + "src": "10755:201:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "9215:1435:1" + "scope": 2991, + "src": "9483:1476:0" }, { - "id": 782, + "id": 274, "literals": [ "solidity", ">=", @@ -3112,7 +3112,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "abstract": false, @@ -3120,38 +3120,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 783, + "id": 275, "nodeType": "StructuredDocumentation", - "src": "10736:563:1", + "src": "11050:575:0", "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, "fullyImplemented": true, - "id": 1135, + "id": 627, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 813, + "id": 305, "nodeType": "Block", - "src": "11535:98:1", + "src": "11868:102:0", "statements": [ { "assignments": [ - 796 + 288 ], "declarations": [ { "constant": false, - "id": 796, + "id": 288, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 813, - "src": "11545:9:1", + "scope": 305, + "src": "11879:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3159,10 +3159,10 @@ "typeString": "uint256" }, "typeName": { - "id": 795, + "id": 287, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11545:7:1", + "src": "11879:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3171,24 +3171,24 @@ "visibility": "internal" } ], - "id": 800, + "id": 292, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 799, + "id": 291, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 797, + "id": 289, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11557:1:1", + "referencedDeclaration": 278, + "src": "11891:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3197,25 +3197,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 798, + "id": 290, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 788, - "src": "11561:1:1", + "referencedDeclaration": 280, + "src": "11895:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11557:5:1", + "src": "11891:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "condition": { @@ -3223,18 +3223,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 803, + "id": 295, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 801, + "id": 293, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11576:1:1", + "referencedDeclaration": 288, + "src": "11911:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3243,39 +3243,39 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 802, + "id": 294, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11580:1:1", + "referencedDeclaration": 278, + "src": "11915:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11576:5:1", + "src": "11911:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 808, + "id": 300, "nodeType": "IfStatement", - "src": "11572:28:1", + "src": "11907:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 804, + "id": 296, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11591:5:1", + "src": "11926:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3284,14 +3284,14 @@ }, { "hexValue": "30", - "id": 805, + "id": 297, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11598:1:1", + "src": "11933:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3299,23 +3299,23 @@ "value": "0" } ], - "id": 806, + "id": 298, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11590:10:1", + "src": "11925:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 794, - "id": 807, + "functionReturnParameters": 286, + "id": 299, "nodeType": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } }, { @@ -3323,14 +3323,14 @@ "components": [ { "hexValue": "74727565", - "id": 809, + "id": 301, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11618:4:1", + "src": "11954:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3338,62 +3338,62 @@ "value": "true" }, { - "id": 810, + "id": 302, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11624:1:1", + "referencedDeclaration": 288, + "src": "11960:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 811, + "id": 303, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11617:9:1", + "src": "11953:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 794, - "id": 812, + "functionReturnParameters": 286, + "id": 304, "nodeType": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ] }, "documentation": { - "id": 784, + "id": 276, "nodeType": "StructuredDocumentation", - "src": "11323:131:1", + "src": "11651:135:0", "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 814, + "id": 306, "implemented": true, "kind": "function", "modifiers": [], "name": "tryAdd", "nodeType": "FunctionDefinition", "parameters": { - "id": 789, + "id": 281, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 786, + "id": 278, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11475:9:1", + "scope": 306, + "src": "11808:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3401,10 +3401,10 @@ "typeString": "uint256" }, "typeName": { - "id": 785, + "id": 277, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11475:7:1", + "src": "11808:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3414,12 +3414,12 @@ }, { "constant": false, - "id": 788, + "id": 280, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11486:9:1", + "scope": 306, + "src": "11819:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3427,10 +3427,10 @@ "typeString": "uint256" }, "typeName": { - "id": 787, + "id": 279, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11486:7:1", + "src": "11819:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3439,20 +3439,20 @@ "visibility": "internal" } ], - "src": "11474:22:1" + "src": "11807:22:0" }, "returnParameters": { - "id": 794, + "id": 286, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 791, + "id": 283, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11520:4:1", + "scope": 306, + "src": "11853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3460,10 +3460,10 @@ "typeString": "bool" }, "typeName": { - "id": 790, + "id": 282, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11520:4:1", + "src": "11853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3473,12 +3473,12 @@ }, { "constant": false, - "id": 793, + "id": 285, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11526:7:1", + "scope": 306, + "src": "11859:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3486,10 +3486,10 @@ "typeString": "uint256" }, "typeName": { - "id": 792, + "id": 284, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11526:7:1", + "src": "11859:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3498,19 +3498,19 @@ "visibility": "internal" } ], - "src": "11519:15:1" + "src": "11852:15:0" }, - "scope": 1135, - "src": "11459:174:1", + "scope": 627, + "src": "11792:178:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 840, + "id": 332, "nodeType": "Block", - "src": "11855:75:1", + "src": "12199:78:0", "statements": [ { "condition": { @@ -3518,18 +3518,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 828, + "id": 320, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 826, + "id": 318, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11869:1:1", + "referencedDeclaration": 311, + "src": "12214:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3538,39 +3538,39 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 827, + "id": 319, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11873:1:1", + "referencedDeclaration": 309, + "src": "12218:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11869:5:1", + "src": "12214:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 833, + "id": 325, "nodeType": "IfStatement", - "src": "11865:28:1", + "src": "12210:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 829, + "id": 321, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11884:5:1", + "src": "12229:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3579,14 +3579,14 @@ }, { "hexValue": "30", - "id": 830, + "id": 322, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11891:1:1", + "src": "12236:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3594,23 +3594,23 @@ "value": "0" } ], - "id": 831, + "id": 323, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11883:10:1", + "src": "12228:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 825, - "id": 832, + "functionReturnParameters": 317, + "id": 324, "nodeType": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } }, { @@ -3618,14 +3618,14 @@ "components": [ { "hexValue": "74727565", - "id": 834, + "id": 326, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11911:4:1", + "src": "12257:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3637,18 +3637,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 837, + "id": 329, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 835, + "id": 327, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11917:1:1", + "referencedDeclaration": 309, + "src": "12263:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3657,68 +3657,68 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 836, + "id": 328, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11921:1:1", + "referencedDeclaration": 311, + "src": "12267:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11917:5:1", + "src": "12263:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 838, + "id": 330, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11910:13:1", + "src": "12256:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 825, - "id": 839, + "functionReturnParameters": 317, + "id": 331, "nodeType": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ] }, "documentation": { - "id": 815, + "id": 307, "nodeType": "StructuredDocumentation", - "src": "11639:135:1", + "src": "11978:139:0", "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 841, + "id": 333, "implemented": true, "kind": "function", "modifiers": [], "name": "trySub", "nodeType": "FunctionDefinition", "parameters": { - "id": 820, + "id": 312, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 817, + "id": 309, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11795:9:1", + "scope": 333, + "src": "12139:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3726,10 +3726,10 @@ "typeString": "uint256" }, "typeName": { - "id": 816, + "id": 308, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11795:7:1", + "src": "12139:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3739,12 +3739,12 @@ }, { "constant": false, - "id": 819, + "id": 311, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11806:9:1", + "scope": 333, + "src": "12150:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3752,10 +3752,10 @@ "typeString": "uint256" }, "typeName": { - "id": 818, + "id": 310, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11806:7:1", + "src": "12150:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3764,20 +3764,20 @@ "visibility": "internal" } ], - "src": "11794:22:1" + "src": "12138:22:0" }, "returnParameters": { - "id": 825, + "id": 317, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 822, + "id": 314, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11840:4:1", + "scope": 333, + "src": "12184:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3785,10 +3785,10 @@ "typeString": "bool" }, "typeName": { - "id": 821, + "id": 313, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11840:4:1", + "src": "12184:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3798,12 +3798,12 @@ }, { "constant": false, - "id": 824, + "id": 316, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11846:7:1", + "scope": 333, + "src": "12190:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3811,10 +3811,10 @@ "typeString": "uint256" }, "typeName": { - "id": 823, + "id": 315, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11846:7:1", + "src": "12190:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3823,19 +3823,19 @@ "visibility": "internal" } ], - "src": "11839:15:1" + "src": "12183:15:0" }, - "scope": 1135, - "src": "11779:151:1", + "scope": 627, + "src": "12123:154:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 881, + "id": 373, "nodeType": "Block", - "src": "12154:359:1", + "src": "12508:367:0", "statements": [ { "condition": { @@ -3843,18 +3843,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 855, + "id": 347, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 853, + "id": 345, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12386:1:1", + "referencedDeclaration": 336, + "src": "12744:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3864,42 +3864,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 854, + "id": 346, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12391:1:1", + "src": "12749:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12386:6:1", + "src": "12744:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 860, + "id": 352, "nodeType": "IfStatement", - "src": "12382:28:1", + "src": "12740:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "74727565", - "id": 856, + "id": 348, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12402:4:1", + "src": "12760:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3908,14 +3908,14 @@ }, { "hexValue": "30", - "id": 857, + "id": 349, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12408:1:1", + "src": "12766:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3923,38 +3923,38 @@ "value": "0" } ], - "id": 858, + "id": 350, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12401:9:1", + "src": "12759:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 859, + "functionReturnParameters": 344, + "id": 351, "nodeType": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } }, { "assignments": [ - 862 + 354 ], "declarations": [ { "constant": false, - "id": 862, + "id": 354, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 881, - "src": "12420:9:1", + "scope": 373, + "src": "12779:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3962,10 +3962,10 @@ "typeString": "uint256" }, "typeName": { - "id": 861, + "id": 353, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12420:7:1", + "src": "12779:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3974,24 +3974,24 @@ "visibility": "internal" } ], - "id": 866, + "id": 358, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 865, + "id": 357, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 863, + "id": 355, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12432:1:1", + "referencedDeclaration": 336, + "src": "12791:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4000,25 +4000,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 864, + "id": 356, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12436:1:1", + "referencedDeclaration": 338, + "src": "12795:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12432:5:1", + "src": "12791:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "condition": { @@ -4026,7 +4026,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 871, + "id": 363, "isConstant": false, "isLValue": false, "isPure": false, @@ -4036,18 +4036,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 869, + "id": 361, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 867, + "id": 359, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12451:1:1", + "referencedDeclaration": 354, + "src": "12811:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4056,18 +4056,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 868, + "id": 360, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12455:1:1", + "referencedDeclaration": 336, + "src": "12815:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:5:1", + "src": "12811:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4076,39 +4076,39 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 870, + "id": 362, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12460:1:1", + "referencedDeclaration": 338, + "src": "12820:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:10:1", + "src": "12811:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 876, + "id": 368, "nodeType": "IfStatement", - "src": "12447:33:1", + "src": "12807:33:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 872, + "id": 364, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12471:5:1", + "src": "12831:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4117,14 +4117,14 @@ }, { "hexValue": "30", - "id": 873, + "id": 365, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12478:1:1", + "src": "12838:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4132,23 +4132,23 @@ "value": "0" } ], - "id": 874, + "id": 366, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12470:10:1", + "src": "12830:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 875, + "functionReturnParameters": 344, + "id": 367, "nodeType": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } }, { @@ -4156,14 +4156,14 @@ "components": [ { "hexValue": "74727565", - "id": 877, + "id": 369, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12498:4:1", + "src": "12859:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4171,62 +4171,62 @@ "value": "true" }, { - "id": 878, + "id": 370, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12504:1:1", + "referencedDeclaration": 354, + "src": "12865:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 879, + "id": 371, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12497:9:1", + "src": "12858:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 852, - "id": 880, + "functionReturnParameters": 344, + "id": 372, "nodeType": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ] }, "documentation": { - "id": 842, + "id": 334, "nodeType": "StructuredDocumentation", - "src": "11936:137:1", + "src": "12285:141:0", "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 882, + "id": 374, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMul", "nodeType": "FunctionDefinition", "parameters": { - "id": 847, + "id": 339, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 844, + "id": 336, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12094:9:1", + "scope": 374, + "src": "12448:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4234,10 +4234,10 @@ "typeString": "uint256" }, "typeName": { - "id": 843, + "id": 335, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12094:7:1", + "src": "12448:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4247,12 +4247,12 @@ }, { "constant": false, - "id": 846, + "id": 338, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12105:9:1", + "scope": 374, + "src": "12459:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4260,10 +4260,10 @@ "typeString": "uint256" }, "typeName": { - "id": 845, + "id": 337, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12105:7:1", + "src": "12459:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4272,20 +4272,20 @@ "visibility": "internal" } ], - "src": "12093:22:1" + "src": "12447:22:0" }, "returnParameters": { - "id": 852, + "id": 344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 849, + "id": 341, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12139:4:1", + "scope": 374, + "src": "12493:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4293,10 +4293,10 @@ "typeString": "bool" }, "typeName": { - "id": 848, + "id": 340, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12139:4:1", + "src": "12493:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4306,12 +4306,12 @@ }, { "constant": false, - "id": 851, + "id": 343, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12145:7:1", + "scope": 374, + "src": "12499:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4319,10 +4319,10 @@ "typeString": "uint256" }, "typeName": { - "id": 850, + "id": 342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12145:7:1", + "src": "12499:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4331,19 +4331,19 @@ "visibility": "internal" } ], - "src": "12138:15:1" + "src": "12492:15:0" }, - "scope": 1135, - "src": "12078:435:1", + "scope": 627, + "src": "12432:443:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 908, + "id": 400, "nodeType": "Block", - "src": "12738:76:1", + "src": "13107:79:0", "statements": [ { "condition": { @@ -4351,18 +4351,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 896, + "id": 388, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 894, + "id": 386, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12752:1:1", + "referencedDeclaration": 379, + "src": "13122:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4372,42 +4372,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 895, + "id": 387, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12757:1:1", + "src": "13127:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12752:6:1", + "src": "13122:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 901, + "id": 393, "nodeType": "IfStatement", - "src": "12748:29:1", + "src": "13118:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 897, + "id": 389, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12768:5:1", + "src": "13138:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4416,14 +4416,14 @@ }, { "hexValue": "30", - "id": 898, + "id": 390, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12775:1:1", + "src": "13145:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4431,23 +4431,23 @@ "value": "0" } ], - "id": 899, + "id": 391, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12767:10:1", + "src": "13137:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 893, - "id": 900, + "functionReturnParameters": 385, + "id": 392, "nodeType": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } }, { @@ -4455,14 +4455,14 @@ "components": [ { "hexValue": "74727565", - "id": 902, + "id": 394, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12795:4:1", + "src": "13166:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4474,18 +4474,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 905, + "id": 397, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 903, + "id": 395, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 885, - "src": "12801:1:1", + "referencedDeclaration": 377, + "src": "13172:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4494,68 +4494,68 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 904, + "id": 396, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12805:1:1", + "referencedDeclaration": 379, + "src": "13176:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12801:5:1", + "src": "13172:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 906, + "id": 398, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12794:13:1", + "src": "13165:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 893, - "id": 907, + "functionReturnParameters": 385, + "id": 399, "nodeType": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ] }, "documentation": { - "id": 883, + "id": 375, "nodeType": "StructuredDocumentation", - "src": "12519:138:1", + "src": "12883:142:0", "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 909, + "id": 401, "implemented": true, "kind": "function", "modifiers": [], "name": "tryDiv", "nodeType": "FunctionDefinition", "parameters": { - "id": 888, + "id": 380, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 885, + "id": 377, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12678:9:1", + "scope": 401, + "src": "13047:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4563,10 +4563,10 @@ "typeString": "uint256" }, "typeName": { - "id": 884, + "id": 376, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12678:7:1", + "src": "13047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4576,12 +4576,12 @@ }, { "constant": false, - "id": 887, + "id": 379, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12689:9:1", + "scope": 401, + "src": "13058:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4589,10 +4589,10 @@ "typeString": "uint256" }, "typeName": { - "id": 886, + "id": 378, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12689:7:1", + "src": "13058:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4601,20 +4601,20 @@ "visibility": "internal" } ], - "src": "12677:22:1" + "src": "13046:22:0" }, "returnParameters": { - "id": 893, + "id": 385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 890, + "id": 382, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12723:4:1", + "scope": 401, + "src": "13092:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4622,10 +4622,10 @@ "typeString": "bool" }, "typeName": { - "id": 889, + "id": 381, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12723:4:1", + "src": "13092:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4635,12 +4635,12 @@ }, { "constant": false, - "id": 892, + "id": 384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12729:7:1", + "scope": 401, + "src": "13098:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4648,10 +4648,10 @@ "typeString": "uint256" }, "typeName": { - "id": 891, + "id": 383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12729:7:1", + "src": "13098:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4660,19 +4660,19 @@ "visibility": "internal" } ], - "src": "12722:15:1" + "src": "13091:15:0" }, - "scope": 1135, - "src": "12662:152:1", + "scope": 627, + "src": "13031:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 935, + "id": 427, "nodeType": "Block", - "src": "13049:76:1", + "src": "13428:79:0", "statements": [ { "condition": { @@ -4680,18 +4680,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 923, + "id": 415, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 921, + "id": 413, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13063:1:1", + "referencedDeclaration": 406, + "src": "13443:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4701,42 +4701,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 922, + "id": 414, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13068:1:1", + "src": "13448:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "13063:6:1", + "src": "13443:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 928, + "id": 420, "nodeType": "IfStatement", - "src": "13059:29:1", + "src": "13439:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 924, + "id": 416, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13079:5:1", + "src": "13459:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4745,14 +4745,14 @@ }, { "hexValue": "30", - "id": 925, + "id": 417, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13086:1:1", + "src": "13466:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4760,23 +4760,23 @@ "value": "0" } ], - "id": 926, + "id": 418, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13078:10:1", + "src": "13458:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 920, - "id": 927, + "functionReturnParameters": 412, + "id": 419, "nodeType": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } }, { @@ -4784,14 +4784,14 @@ "components": [ { "hexValue": "74727565", - "id": 929, + "id": 421, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13106:4:1", + "src": "13487:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4803,18 +4803,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 932, + "id": 424, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 930, + "id": 422, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 912, - "src": "13112:1:1", + "referencedDeclaration": 404, + "src": "13493:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4823,68 +4823,68 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 931, + "id": 423, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13116:1:1", + "referencedDeclaration": 406, + "src": "13497:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13112:5:1", + "src": "13493:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 933, + "id": 425, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13105:13:1", + "src": "13486:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 920, - "id": 934, + "functionReturnParameters": 412, + "id": 426, "nodeType": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ] }, "documentation": { - "id": 910, + "id": 402, "nodeType": "StructuredDocumentation", - "src": "12820:148:1", + "src": "13194:152:0", "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 936, + "id": 428, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMod", "nodeType": "FunctionDefinition", "parameters": { - "id": 915, + "id": 407, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 912, + "id": 404, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "12989:9:1", + "scope": 428, + "src": "13368:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4892,10 +4892,10 @@ "typeString": "uint256" }, "typeName": { - "id": 911, + "id": 403, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12989:7:1", + "src": "13368:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4905,12 +4905,12 @@ }, { "constant": false, - "id": 914, + "id": 406, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13000:9:1", + "scope": 428, + "src": "13379:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4918,10 +4918,10 @@ "typeString": "uint256" }, "typeName": { - "id": 913, + "id": 405, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13000:7:1", + "src": "13379:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4930,20 +4930,20 @@ "visibility": "internal" } ], - "src": "12988:22:1" + "src": "13367:22:0" }, "returnParameters": { - "id": 920, + "id": 412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 917, + "id": 409, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13034:4:1", + "scope": 428, + "src": "13413:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4951,10 +4951,10 @@ "typeString": "bool" }, "typeName": { - "id": 916, + "id": 408, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "13034:4:1", + "src": "13413:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4964,12 +4964,12 @@ }, { "constant": false, - "id": 919, + "id": 411, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13040:7:1", + "scope": 428, + "src": "13419:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4977,10 +4977,10 @@ "typeString": "uint256" }, "typeName": { - "id": 918, + "id": 410, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13040:7:1", + "src": "13419:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4989,33 +4989,33 @@ "visibility": "internal" } ], - "src": "13033:15:1" + "src": "13412:15:0" }, - "scope": 1135, - "src": "12973:152:1", + "scope": 627, + "src": "13352:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 961, + "id": 453, "nodeType": "Block", - "src": "13427:108:1", + "src": "13821:112:0", "statements": [ { "assignments": [ - 947 + 439 ], "declarations": [ { "constant": false, - "id": 947, + "id": 439, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 961, - "src": "13437:9:1", + "scope": 453, + "src": "13832:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5023,10 +5023,10 @@ "typeString": "uint256" }, "typeName": { - "id": 946, + "id": 438, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13437:7:1", + "src": "13832:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5035,24 +5035,24 @@ "visibility": "internal" } ], - "id": 951, + "id": 443, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 950, + "id": 442, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 948, + "id": 440, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13449:1:1", + "referencedDeclaration": 431, + "src": "13844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5061,25 +5061,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 949, + "id": 441, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 941, - "src": "13453:1:1", + "referencedDeclaration": 433, + "src": "13848:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13449:5:1", + "src": "13844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "expression": { @@ -5089,18 +5089,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 955, + "id": 447, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 953, + "id": 445, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13472:1:1", + "referencedDeclaration": 439, + "src": "13868:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5109,18 +5109,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 954, + "id": 446, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13477:1:1", + "referencedDeclaration": 431, + "src": "13873:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13472:6:1", + "src": "13868:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5128,14 +5128,14 @@ }, { "hexValue": "536166654d6174683a206164646974696f6e206f766572666c6f77", - "id": 956, + "id": 448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13480:29:1", + "src": "13876:29:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_30cc447bcc13b3e22b45cef0dd9b0b514842d836dd9b6eb384e20dedfb47723a", "typeString": "literal_string \"SafeMath: addition overflow\"" @@ -5154,7 +5154,7 @@ "typeString": "literal_string \"SafeMath: addition overflow\"" } ], - "id": 952, + "id": 444, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5162,13 +5162,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13464:7:1", + "src": "13860:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 957, + "id": 449, "isConstant": false, "isLValue": false, "isPure": false, @@ -5176,61 +5176,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13464:46:1", + "src": "13860:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 958, + "id": 450, "nodeType": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "expression": { - "id": 959, + "id": 451, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13527:1:1", + "referencedDeclaration": 439, + "src": "13924:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 945, - "id": 960, + "functionReturnParameters": 437, + "id": 452, "nodeType": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ] }, "documentation": { - "id": 937, + "id": 429, "nodeType": "StructuredDocumentation", - "src": "13131:224:1", + "src": "13515:233:0", "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 962, + "id": 454, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 942, + "id": 434, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 939, + "id": 431, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13373:9:1", + "scope": 454, + "src": "13767:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5238,10 +5238,10 @@ "typeString": "uint256" }, "typeName": { - "id": 938, + "id": 430, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13373:7:1", + "src": "13767:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5251,12 +5251,12 @@ }, { "constant": false, - "id": 941, + "id": 433, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13384:9:1", + "scope": 454, + "src": "13778:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5264,10 +5264,10 @@ "typeString": "uint256" }, "typeName": { - "id": 940, + "id": 432, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13384:7:1", + "src": "13778:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5276,20 +5276,20 @@ "visibility": "internal" } ], - "src": "13372:22:1" + "src": "13766:22:0" }, "returnParameters": { - "id": 945, + "id": 437, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 944, + "id": 436, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13418:7:1", + "scope": 454, + "src": "13812:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5297,10 +5297,10 @@ "typeString": "uint256" }, "typeName": { - "id": 943, + "id": 435, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13418:7:1", + "src": "13812:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5309,19 +5309,19 @@ "visibility": "internal" } ], - "src": "13417:9:1" + "src": "13811:9:0" }, - "scope": 1135, - "src": "13360:175:1", + "scope": 627, + "src": "13754:179:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 983, + "id": 475, "nodeType": "Block", - "src": "13873:88:1", + "src": "14283:91:0", "statements": [ { "expression": { @@ -5331,18 +5331,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 975, + "id": 467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 973, + "id": 465, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13891:1:1", + "referencedDeclaration": 459, + "src": "14302:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5351,18 +5351,18 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 974, + "id": 466, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13896:1:1", + "referencedDeclaration": 457, + "src": "14307:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13891:6:1", + "src": "14302:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5370,14 +5370,14 @@ }, { "hexValue": "536166654d6174683a207375627472616374696f6e206f766572666c6f77", - "id": 976, + "id": 468, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13899:32:1", + "src": "14310:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_50b058e9b5320e58880d88223c9801cd9eecdcf90323d5c2318bc1b6b916e862", "typeString": "literal_string \"SafeMath: subtraction overflow\"" @@ -5396,7 +5396,7 @@ "typeString": "literal_string \"SafeMath: subtraction overflow\"" } ], - "id": 972, + "id": 464, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5404,13 +5404,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13883:7:1", + "src": "14294:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 977, + "id": 469, "isConstant": false, "isLValue": false, "isPure": false, @@ -5418,16 +5418,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13883:49:1", + "src": "14294:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 978, + "id": 470, "nodeType": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "expression": { @@ -5435,18 +5435,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 981, + "id": 473, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 979, + "id": 471, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13949:1:1", + "referencedDeclaration": 457, + "src": "14361:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5455,54 +5455,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 980, + "id": 472, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13953:1:1", + "referencedDeclaration": 459, + "src": "14365:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13949:5:1", + "src": "14361:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 971, - "id": 982, + "functionReturnParameters": 463, + "id": 474, "nodeType": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ] }, "documentation": { - "id": 963, + "id": 455, "nodeType": "StructuredDocumentation", - "src": "13541:260:1", + "src": "13941:269:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 984, + "id": 476, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 968, + "id": 460, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 965, + "id": 457, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13819:9:1", + "scope": 476, + "src": "14229:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5510,10 +5510,10 @@ "typeString": "uint256" }, "typeName": { - "id": 964, + "id": 456, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13819:7:1", + "src": "14229:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5523,12 +5523,12 @@ }, { "constant": false, - "id": 967, + "id": 459, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13830:9:1", + "scope": 476, + "src": "14240:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5536,10 +5536,10 @@ "typeString": "uint256" }, "typeName": { - "id": 966, + "id": 458, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13830:7:1", + "src": "14240:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5548,20 +5548,20 @@ "visibility": "internal" } ], - "src": "13818:22:1" + "src": "14228:22:0" }, "returnParameters": { - "id": 971, + "id": 463, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 970, + "id": 462, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13864:7:1", + "scope": 476, + "src": "14274:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5569,10 +5569,10 @@ "typeString": "uint256" }, "typeName": { - "id": 969, + "id": 461, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13864:7:1", + "src": "14274:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5581,19 +5581,19 @@ "visibility": "internal" } ], - "src": "13863:9:1" + "src": "14273:9:0" }, - "scope": 1135, - "src": "13806:155:1", + "scope": 627, + "src": "14216:158:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1017, + "id": 509, "nodeType": "Block", - "src": "14275:148:1", + "src": "14700:153:0", "statements": [ { "condition": { @@ -5601,18 +5601,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 996, + "id": 488, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 994, + "id": 486, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14289:1:1", + "referencedDeclaration": 479, + "src": "14715:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5622,65 +5622,65 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 995, + "id": 487, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14294:1:1", + "src": "14720:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14289:6:1", + "src": "14715:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 999, + "id": 491, "nodeType": "IfStatement", - "src": "14285:20:1", + "src": "14711:20:0", "trueBody": { "expression": { "hexValue": "30", - "id": 997, + "id": 489, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14304:1:1", + "src": "14730:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "functionReturnParameters": 993, - "id": 998, + "functionReturnParameters": 485, + "id": 490, "nodeType": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } }, { "assignments": [ - 1001 + 493 ], "declarations": [ { "constant": false, - "id": 1001, + "id": 493, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 1017, - "src": "14315:9:1", + "scope": 509, + "src": "14742:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5688,10 +5688,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1000, + "id": 492, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14315:7:1", + "src": "14742:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5700,24 +5700,24 @@ "visibility": "internal" } ], - "id": 1005, + "id": 497, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1004, + "id": 496, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1002, + "id": 494, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14327:1:1", + "referencedDeclaration": 479, + "src": "14754:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5726,25 +5726,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 1003, + "id": 495, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14331:1:1", + "referencedDeclaration": 481, + "src": "14758:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14327:5:1", + "src": "14754:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "expression": { @@ -5754,7 +5754,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1011, + "id": 503, "isConstant": false, "isLValue": false, "isPure": false, @@ -5764,18 +5764,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1009, + "id": 501, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1007, + "id": 499, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14350:1:1", + "referencedDeclaration": 493, + "src": "14778:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5784,18 +5784,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1008, + "id": 500, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14354:1:1", + "referencedDeclaration": 479, + "src": "14782:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:5:1", + "src": "14778:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5804,18 +5804,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 1010, + "id": 502, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14359:1:1", + "referencedDeclaration": 481, + "src": "14787:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:10:1", + "src": "14778:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5823,14 +5823,14 @@ }, { "hexValue": "536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77", - "id": 1012, + "id": 504, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14362:35:1", + "src": "14790:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9113bb53c2876a3805b2c9242029423fc540a728243ce887ab24c82cf119fba3", "typeString": "literal_string \"SafeMath: multiplication overflow\"" @@ -5849,7 +5849,7 @@ "typeString": "literal_string \"SafeMath: multiplication overflow\"" } ], - "id": 1006, + "id": 498, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5857,13 +5857,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14342:7:1", + "src": "14770:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1013, + "id": 505, "isConstant": false, "isLValue": false, "isPure": false, @@ -5871,61 +5871,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14342:56:1", + "src": "14770:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1014, + "id": 506, "nodeType": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "expression": { - "id": 1015, + "id": 507, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14415:1:1", + "referencedDeclaration": 493, + "src": "14844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 993, - "id": 1016, + "functionReturnParameters": 485, + "id": 508, "nodeType": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ] }, "documentation": { - "id": 985, + "id": 477, "nodeType": "StructuredDocumentation", - "src": "13967:236:1", + "src": "14382:245:0", "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 1018, + "id": 510, "implemented": true, "kind": "function", "modifiers": [], "name": "mul", "nodeType": "FunctionDefinition", "parameters": { - "id": 990, + "id": 482, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 987, + "id": 479, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14221:9:1", + "scope": 510, + "src": "14646:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5933,10 +5933,10 @@ "typeString": "uint256" }, "typeName": { - "id": 986, + "id": 478, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14221:7:1", + "src": "14646:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5946,12 +5946,12 @@ }, { "constant": false, - "id": 989, + "id": 481, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14232:9:1", + "scope": 510, + "src": "14657:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5959,10 +5959,10 @@ "typeString": "uint256" }, "typeName": { - "id": 988, + "id": 480, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14232:7:1", + "src": "14657:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5971,20 +5971,20 @@ "visibility": "internal" } ], - "src": "14220:22:1" + "src": "14645:22:0" }, "returnParameters": { - "id": 993, + "id": 485, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 992, + "id": 484, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14266:7:1", + "scope": 510, + "src": "14691:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5992,10 +5992,10 @@ "typeString": "uint256" }, "typeName": { - "id": 991, + "id": 483, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14266:7:1", + "src": "14691:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6004,19 +6004,19 @@ "visibility": "internal" } ], - "src": "14265:9:1" + "src": "14690:9:0" }, - "scope": 1135, - "src": "14208:215:1", + "scope": 627, + "src": "14633:220:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1039, + "id": 531, "nodeType": "Block", - "src": "14954:83:1", + "src": "15398:86:0", "statements": [ { "expression": { @@ -6026,18 +6026,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1031, + "id": 523, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1029, + "id": 521, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "14972:1:1", + "referencedDeclaration": 515, + "src": "15417:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6047,21 +6047,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1030, + "id": 522, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14976:1:1", + "src": "15421:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14972:5:1", + "src": "15417:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6069,14 +6069,14 @@ }, { "hexValue": "536166654d6174683a206469766973696f6e206279207a65726f", - "id": 1032, + "id": 524, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14979:28:1", + "src": "15424:28:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5b7cc70dda4dc2143e5adb63bd5d1f349504f461dbdfd9bc76fac1f8ca6d019f", "typeString": "literal_string \"SafeMath: division by zero\"" @@ -6095,7 +6095,7 @@ "typeString": "literal_string \"SafeMath: division by zero\"" } ], - "id": 1028, + "id": 520, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6103,13 +6103,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14964:7:1", + "src": "15409:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1033, + "id": 525, "isConstant": false, "isLValue": false, "isPure": false, @@ -6117,16 +6117,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14964:44:1", + "src": "15409:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1034, + "id": 526, "nodeType": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "expression": { @@ -6134,18 +6134,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1037, + "id": 529, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1035, + "id": 527, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1021, - "src": "15025:1:1", + "referencedDeclaration": 513, + "src": "15471:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6154,54 +6154,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1036, + "id": 528, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "15029:1:1", + "referencedDeclaration": 515, + "src": "15475:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15025:5:1", + "src": "15471:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1027, - "id": 1038, + "functionReturnParameters": 519, + "id": 530, "nodeType": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ] }, "documentation": { - "id": 1019, + "id": 511, "nodeType": "StructuredDocumentation", - "src": "14429:453:1", + "src": "14861:464:0", "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1040, + "id": 532, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1024, + "id": 516, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1021, + "id": 513, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14900:9:1", + "scope": 532, + "src": "15344:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6209,10 +6209,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1020, + "id": 512, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14900:7:1", + "src": "15344:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6222,12 +6222,12 @@ }, { "constant": false, - "id": 1023, + "id": 515, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14911:9:1", + "scope": 532, + "src": "15355:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6235,10 +6235,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1022, + "id": 514, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14911:7:1", + "src": "15355:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6247,20 +6247,20 @@ "visibility": "internal" } ], - "src": "14899:22:1" + "src": "15343:22:0" }, "returnParameters": { - "id": 1027, + "id": 519, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1026, + "id": 518, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14945:7:1", + "scope": 532, + "src": "15389:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6268,10 +6268,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1025, + "id": 517, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14945:7:1", + "src": "15389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6280,19 +6280,19 @@ "visibility": "internal" } ], - "src": "14944:9:1" + "src": "15388:9:0" }, - "scope": 1135, - "src": "14887:150:1", + "scope": 627, + "src": "15331:153:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1061, + "id": 553, "nodeType": "Block", - "src": "15557:81:1", + "src": "16018:84:0", "statements": [ { "expression": { @@ -6302,18 +6302,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1053, + "id": 545, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1051, + "id": 543, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15575:1:1", + "referencedDeclaration": 537, + "src": "16037:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6323,21 +6323,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1052, + "id": 544, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15579:1:1", + "src": "16041:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "15575:5:1", + "src": "16037:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6345,14 +6345,14 @@ }, { "hexValue": "536166654d6174683a206d6f64756c6f206279207a65726f", - "id": 1054, + "id": 546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "15582:26:1", + "src": "16044:26:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_726e51f7b81fce0a68f5f214f445e275313b20b1633f08ce954ee39abf8d7832", "typeString": "literal_string \"SafeMath: modulo by zero\"" @@ -6371,7 +6371,7 @@ "typeString": "literal_string \"SafeMath: modulo by zero\"" } ], - "id": 1050, + "id": 542, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6379,13 +6379,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "15567:7:1", + "src": "16029:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1055, + "id": 547, "isConstant": false, "isLValue": false, "isPure": false, @@ -6393,16 +6393,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15567:42:1", + "src": "16029:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1056, + "id": 548, "nodeType": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "expression": { @@ -6410,18 +6410,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1059, + "id": 551, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1057, + "id": 549, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1043, - "src": "15626:1:1", + "referencedDeclaration": 535, + "src": "16089:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6430,54 +6430,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1058, + "id": 550, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15630:1:1", + "referencedDeclaration": 537, + "src": "16093:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15626:5:1", + "src": "16089:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1049, - "id": 1060, + "functionReturnParameters": 541, + "id": 552, "nodeType": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ] }, "documentation": { - "id": 1041, + "id": 533, "nodeType": "StructuredDocumentation", - "src": "15043:442:1", + "src": "15492:453:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1062, + "id": 554, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1046, + "id": 538, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1043, + "id": 535, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15503:9:1", + "scope": 554, + "src": "15964:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6485,10 +6485,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1042, + "id": 534, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15503:7:1", + "src": "15964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6498,12 +6498,12 @@ }, { "constant": false, - "id": 1045, + "id": 537, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15514:9:1", + "scope": 554, + "src": "15975:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6511,10 +6511,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1044, + "id": 536, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15514:7:1", + "src": "15975:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6523,20 +6523,20 @@ "visibility": "internal" } ], - "src": "15502:22:1" + "src": "15963:22:0" }, "returnParameters": { - "id": 1049, + "id": 541, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1048, + "id": 540, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15548:7:1", + "scope": 554, + "src": "16009:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6544,10 +6544,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1047, + "id": 539, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15548:7:1", + "src": "16009:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6556,19 +6556,19 @@ "visibility": "internal" } ], - "src": "15547:9:1" + "src": "16008:9:0" }, - "scope": 1135, - "src": "15490:148:1", + "scope": 627, + "src": "15951:151:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1085, + "id": 577, "nodeType": "Block", - "src": "16197:68:1", + "src": "16676:71:0", "statements": [ { "expression": { @@ -6578,18 +6578,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1077, + "id": 569, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1075, + "id": 567, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16215:1:1", + "referencedDeclaration": 559, + "src": "16695:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6598,30 +6598,30 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 1076, + "id": 568, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16220:1:1", + "referencedDeclaration": 557, + "src": "16700:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16215:6:1", + "src": "16695:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1078, + "id": 570, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1069, - "src": "16223:12:1", + "referencedDeclaration": 561, + "src": "16703:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6639,7 +6639,7 @@ "typeString": "string memory" } ], - "id": 1074, + "id": 566, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6647,13 +6647,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "16207:7:1", + "src": "16687:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1079, + "id": 571, "isConstant": false, "isLValue": false, "isPure": false, @@ -6661,16 +6661,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16207:29:1", + "src": "16687:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1080, + "id": 572, "nodeType": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "expression": { @@ -6678,18 +6678,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1083, + "id": 575, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1081, + "id": 573, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16253:1:1", + "referencedDeclaration": 557, + "src": "16734:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6698,54 +6698,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 1082, + "id": 574, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16257:1:1", + "referencedDeclaration": 559, + "src": "16738:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16253:5:1", + "src": "16734:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1073, - "id": 1084, + "functionReturnParameters": 565, + "id": 576, "nodeType": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ] }, "documentation": { - "id": 1063, + "id": 555, "nodeType": "StructuredDocumentation", - "src": "15644:453:1", + "src": "16110:465:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1086, + "id": 578, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 1070, + "id": 562, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1065, + "id": 557, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16115:9:1", + "scope": 578, + "src": "16594:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6753,10 +6753,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1064, + "id": 556, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16115:7:1", + "src": "16594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6766,12 +6766,12 @@ }, { "constant": false, - "id": 1067, + "id": 559, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16126:9:1", + "scope": 578, + "src": "16605:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6779,10 +6779,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1066, + "id": 558, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16126:7:1", + "src": "16605:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6792,12 +6792,12 @@ }, { "constant": false, - "id": 1069, + "id": 561, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16137:26:1", + "scope": 578, + "src": "16616:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -6805,10 +6805,10 @@ "typeString": "string" }, "typeName": { - "id": 1068, + "id": 560, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16137:6:1", + "src": "16616:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -6817,20 +6817,20 @@ "visibility": "internal" } ], - "src": "16114:50:1" + "src": "16593:50:0" }, "returnParameters": { - "id": 1073, + "id": 565, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1072, + "id": 564, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16188:7:1", + "scope": 578, + "src": "16667:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6838,10 +6838,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1071, + "id": 563, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16188:7:1", + "src": "16667:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6850,19 +6850,19 @@ "visibility": "internal" } ], - "src": "16187:9:1" + "src": "16666:9:0" }, - "scope": 1135, - "src": "16102:163:1", + "scope": 627, + "src": "16581:166:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1109, + "id": 601, "nodeType": "Block", - "src": "17017:67:1", + "src": "17516:70:0", "statements": [ { "expression": { @@ -6872,18 +6872,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1101, + "id": 593, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1099, + "id": 591, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17035:1:1", + "referencedDeclaration": 583, + "src": "17535:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6893,33 +6893,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1100, + "id": 592, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17039:1:1", + "src": "17539:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17035:5:1", + "src": "17535:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1102, + "id": 594, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1093, - "src": "17042:12:1", + "referencedDeclaration": 585, + "src": "17542:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6937,7 +6937,7 @@ "typeString": "string memory" } ], - "id": 1098, + "id": 590, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6945,13 +6945,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17027:7:1", + "src": "17527:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1103, + "id": 595, "isConstant": false, "isLValue": false, "isPure": false, @@ -6959,16 +6959,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17027:28:1", + "src": "17527:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1104, + "id": 596, "nodeType": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "expression": { @@ -6976,18 +6976,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1107, + "id": 599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1105, + "id": 597, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1089, - "src": "17072:1:1", + "referencedDeclaration": 581, + "src": "17573:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6996,54 +6996,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1106, + "id": 598, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17076:1:1", + "referencedDeclaration": 583, + "src": "17577:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17072:5:1", + "src": "17573:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1097, - "id": 1108, + "functionReturnParameters": 589, + "id": 600, "nodeType": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ] }, "documentation": { - "id": 1087, + "id": 579, "nodeType": "StructuredDocumentation", - "src": "16271:646:1", + "src": "16755:660:0", "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1110, + "id": 602, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1094, + "id": 586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1089, + "id": 581, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16935:9:1", + "scope": 602, + "src": "17434:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7051,10 +7051,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1088, + "id": 580, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16935:7:1", + "src": "17434:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7064,12 +7064,12 @@ }, { "constant": false, - "id": 1091, + "id": 583, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16946:9:1", + "scope": 602, + "src": "17445:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7077,10 +7077,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1090, + "id": 582, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16946:7:1", + "src": "17445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7090,12 +7090,12 @@ }, { "constant": false, - "id": 1093, + "id": 585, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16957:26:1", + "scope": 602, + "src": "17456:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7103,10 +7103,10 @@ "typeString": "string" }, "typeName": { - "id": 1092, + "id": 584, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16957:6:1", + "src": "17456:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7115,20 +7115,20 @@ "visibility": "internal" } ], - "src": "16934:50:1" + "src": "17433:50:0" }, "returnParameters": { - "id": 1097, + "id": 589, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1096, + "id": 588, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "17008:7:1", + "scope": 602, + "src": "17507:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7136,10 +7136,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1095, + "id": 587, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17008:7:1", + "src": "17507:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7148,19 +7148,19 @@ "visibility": "internal" } ], - "src": "17007:9:1" + "src": "17506:9:0" }, - "scope": 1135, - "src": "16922:162:1", + "scope": 627, + "src": "17421:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1133, + "id": 625, "nodeType": "Block", - "src": "17825:67:1", + "src": "18344:70:0", "statements": [ { "expression": { @@ -7170,18 +7170,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1125, + "id": 617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1123, + "id": 615, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17843:1:1", + "referencedDeclaration": 607, + "src": "18363:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7191,33 +7191,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1124, + "id": 616, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17847:1:1", + "src": "18367:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17843:5:1", + "src": "18363:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1126, + "id": 618, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1117, - "src": "17850:12:1", + "referencedDeclaration": 609, + "src": "18370:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7235,7 +7235,7 @@ "typeString": "string memory" } ], - "id": 1122, + "id": 614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7243,13 +7243,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17835:7:1", + "src": "18355:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1127, + "id": 619, "isConstant": false, "isLValue": false, "isPure": false, @@ -7257,16 +7257,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17835:28:1", + "src": "18355:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1128, + "id": 620, "nodeType": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "expression": { @@ -7274,18 +7274,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1131, + "id": 623, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1129, + "id": 621, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1113, - "src": "17880:1:1", + "referencedDeclaration": 605, + "src": "18401:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7294,54 +7294,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1130, + "id": 622, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17884:1:1", + "referencedDeclaration": 607, + "src": "18405:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17880:5:1", + "src": "18401:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1121, - "id": 1132, + "functionReturnParameters": 613, + "id": 624, "nodeType": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ] }, "documentation": { - "id": 1111, + "id": 603, "nodeType": "StructuredDocumentation", - "src": "17090:635:1", + "src": "17594:649:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1134, + "id": 626, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1118, + "id": 610, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1113, + "id": 605, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17743:9:1", + "scope": 626, + "src": "18262:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7349,10 +7349,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1112, + "id": 604, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17743:7:1", + "src": "18262:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7362,12 +7362,12 @@ }, { "constant": false, - "id": 1115, + "id": 607, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17754:9:1", + "scope": 626, + "src": "18273:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7375,10 +7375,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1114, + "id": 606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17754:7:1", + "src": "18273:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7388,12 +7388,12 @@ }, { "constant": false, - "id": 1117, + "id": 609, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17765:26:1", + "scope": 626, + "src": "18284:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7401,10 +7401,10 @@ "typeString": "string" }, "typeName": { - "id": 1116, + "id": 608, "name": "string", "nodeType": "ElementaryTypeName", - "src": "17765:6:1", + "src": "18284:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7413,20 +7413,20 @@ "visibility": "internal" } ], - "src": "17742:50:1" + "src": "18261:50:0" }, "returnParameters": { - "id": 1121, + "id": 613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1120, + "id": 612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17816:7:1", + "scope": 626, + "src": "18335:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7434,10 +7434,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1119, + "id": 611, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17816:7:1", + "src": "18335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7446,20 +7446,20 @@ "visibility": "internal" } ], - "src": "17815:9:1" + "src": "18334:9:0" }, - "scope": 1135, - "src": "17730:162:1", + "scope": 627, + "src": "18249:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "11300:6594:1" + "scope": 2991, + "src": "11627:6790:0" }, { - "id": 1136, + "id": 628, "literals": [ "solidity", ">=", @@ -7470,7 +7470,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "abstract": false, @@ -7478,38 +7478,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1137, + "id": 629, "nodeType": "StructuredDocumentation", - "src": "17980:67:1", + "src": "18508:69:0", "text": " @dev Collection of functions related to the address type" }, "fullyImplemented": true, - "id": 1430, + "id": 922, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1153, + "id": 645, "nodeType": "Block", - "src": "18706:347:1", + "src": "19255:356:0", "statements": [ { "assignments": [ - 1146 + 638 ], "declarations": [ { "constant": false, - "id": 1146, + "id": 638, "mutability": "mutable", "name": "size", "nodeType": "VariableDeclaration", - "scope": 1153, - "src": "18903:12:1", + "scope": 645, + "src": "19457:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7517,10 +7517,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1145, + "id": 637, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "18903:7:1", + "src": "19457:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7529,39 +7529,39 @@ "visibility": "internal" } ], - "id": 1147, + "id": 639, "nodeType": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "AST": { "nodeType": "YulBlock", - "src": "18990:32:1", + "src": "19546:32:0", "statements": [ { "nodeType": "YulAssignment", - "src": "18992:28:1", + "src": "19548:28:0", "value": { "arguments": [ { "name": "account", "nodeType": "YulIdentifier", - "src": "19012:7:1" + "src": "19568:7:0" } ], "functionName": { "name": "extcodesize", "nodeType": "YulIdentifier", - "src": "19000:11:1" + "src": "19556:11:0" }, "nodeType": "YulFunctionCall", - "src": "19000:20:1" + "src": "19556:20:0" }, "variableNames": [ { "name": "size", "nodeType": "YulIdentifier", - "src": "18992:4:1" + "src": "19548:4:0" } ] } @@ -7570,23 +7570,23 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], - "id": 1148, + "id": 640, "nodeType": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "expression": { @@ -7594,18 +7594,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1151, + "id": 643, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1149, + "id": 641, "name": "size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1146, - "src": "19038:4:1", + "referencedDeclaration": 638, + "src": "19595:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7615,57 +7615,57 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1150, + "id": 642, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19045:1:1", + "src": "19602:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "19038:8:1", + "src": "19595:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1144, - "id": 1152, + "functionReturnParameters": 636, + "id": 644, "nodeType": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ] }, "documentation": { - "id": 1138, + "id": 630, "nodeType": "StructuredDocumentation", - "src": "18070:565:1", + "src": "18602:581:0", "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1154, + "id": 646, "implemented": true, "kind": "function", "modifiers": [], "name": "isContract", "nodeType": "FunctionDefinition", "parameters": { - "id": 1141, + "id": 633, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1140, + "id": 632, "mutability": "mutable", "name": "account", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18660:15:1", + "scope": 646, + "src": "19209:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7673,10 +7673,10 @@ "typeString": "address" }, "typeName": { - "id": 1139, + "id": 631, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18660:7:1", + "src": "19209:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -7686,20 +7686,20 @@ "visibility": "internal" } ], - "src": "18659:17:1" + "src": "19208:17:0" }, "returnParameters": { - "id": 1144, + "id": 636, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1143, + "id": 635, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18700:4:1", + "scope": 646, + "src": "19249:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7707,10 +7707,10 @@ "typeString": "bool" }, "typeName": { - "id": 1142, + "id": 634, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "18700:4:1", + "src": "19249:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7719,19 +7719,19 @@ "visibility": "internal" } ], - "src": "18699:6:1" + "src": "19248:6:0" }, - "scope": 1430, - "src": "18640:413:1", + "scope": 922, + "src": "19189:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1187, + "id": 679, "nodeType": "Block", - "src": "20041:320:1", + "src": "20617:326:0", "statements": [ { "expression": { @@ -7741,7 +7741,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1169, + "id": 661, "isConstant": false, "isLValue": false, "isPure": false, @@ -7750,14 +7750,14 @@ "expression": { "arguments": [ { - "id": 1165, + "id": 657, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "20067:4:1", + "src": "20644:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -7765,30 +7765,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1164, + "id": 656, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1163, + "id": 655, "name": "address", "nodeType": "ElementaryTypeName", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": {} } }, - "id": 1166, + "id": 658, "isConstant": false, "isLValue": false, "isPure": false, @@ -7796,21 +7796,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20059:13:1", + "src": "20636:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1167, + "id": 659, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "20059:21:1", + "src": "20636:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7819,18 +7819,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1168, + "id": 660, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20084:6:1", + "referencedDeclaration": 651, + "src": "20661:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "20059:31:1", + "src": "20636:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7838,14 +7838,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e6365", - "id": 1170, + "id": 662, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20092:31:1", + "src": "20669:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9", "typeString": "literal_string \"Address: insufficient balance\"" @@ -7864,7 +7864,7 @@ "typeString": "literal_string \"Address: insufficient balance\"" } ], - "id": 1162, + "id": 654, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7872,13 +7872,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20051:7:1", + "src": "20628:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1171, + "id": 663, "isConstant": false, "isLValue": false, "isPure": false, @@ -7886,31 +7886,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20051:73:1", + "src": "20628:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1172, + "id": 664, "nodeType": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "assignments": [ - 1174, + 666, null ], "declarations": [ { "constant": false, - "id": 1174, + "id": 666, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1187, - "src": "20213:12:1", + "scope": 679, + "src": "20793:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7918,10 +7918,10 @@ "typeString": "bool" }, "typeName": { - "id": 1173, + "id": 665, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "20213:4:1", + "src": "20793:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7931,19 +7931,19 @@ }, null ], - "id": 1181, + "id": 673, "initialValue": { "arguments": [ { "hexValue": "", - "id": 1179, + "id": 671, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20263:2:1", + "src": "20843:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -7966,31 +7966,31 @@ } ], "expression": { - "id": 1175, + "id": 667, "name": "recipient", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1157, - "src": "20231:9:1", + "referencedDeclaration": 649, + "src": "20811:9:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 1176, + "id": 668, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "20231:14:1", + "src": "20811:14:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1178, + "id": 670, "isConstant": false, "isLValue": false, "isPure": false, @@ -8001,25 +8001,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1177, + "id": 669, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20254:6:1", + "referencedDeclaration": 651, + "src": "20834:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "20231:31:1", + "src": "20811:31:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1180, + "id": 672, "isConstant": false, "isLValue": false, "isPure": false, @@ -8027,7 +8027,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20231:35:1", + "src": "20811:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -8035,18 +8035,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "expression": { "arguments": [ { - "id": 1183, + "id": 675, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1174, - "src": "20284:7:1", + "referencedDeclaration": 666, + "src": "20865:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8054,14 +8054,14 @@ }, { "hexValue": "416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564", - "id": 1184, + "id": 676, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20293:60:1", + "src": "20874:60:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae", "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" @@ -8080,7 +8080,7 @@ "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" } ], - "id": 1182, + "id": 674, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -8088,13 +8088,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20276:7:1", + "src": "20857:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1185, + "id": 677, "isConstant": false, "isLValue": false, "isPure": false, @@ -8102,43 +8102,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20276:78:1", + "src": "20857:78:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1186, + "id": 678, "nodeType": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ] }, "documentation": { - "id": 1155, + "id": 647, "nodeType": "StructuredDocumentation", - "src": "19059:906:1", + "src": "19619:921:0", "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1188, + "id": 680, "implemented": true, "kind": "function", "modifiers": [], "name": "sendValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1160, + "id": 652, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1157, + "id": 649, "mutability": "mutable", "name": "recipient", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "19989:25:1", + "scope": 680, + "src": "20565:25:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8146,10 +8146,10 @@ "typeString": "address payable" }, "typeName": { - "id": 1156, + "id": 648, "name": "address", "nodeType": "ElementaryTypeName", - "src": "19989:15:1", + "src": "20565:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -8160,12 +8160,12 @@ }, { "constant": false, - "id": 1159, + "id": 651, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "20016:14:1", + "scope": 680, + "src": "20592:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8173,10 +8173,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1158, + "id": 650, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "20016:7:1", + "src": "20592:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8185,48 +8185,48 @@ "visibility": "internal" } ], - "src": "19988:43:1" + "src": "20564:43:0" }, "returnParameters": { - "id": 1161, + "id": 653, "nodeType": "ParameterList", "parameters": [], - "src": "20041:0:1" + "src": "20617:0:0" }, - "scope": 1430, - "src": "19970:391:1", + "scope": 922, + "src": "20546:397:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1204, + "id": 696, "nodeType": "Block", - "src": "21191:82:1", + "src": "21793:84:0", "statements": [ { "expression": { "arguments": [ { - "id": 1199, + "id": 691, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1191, - "src": "21219:6:1", + "referencedDeclaration": 683, + "src": "21822:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1200, + "id": 692, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1193, - "src": "21227:4:1", + "referencedDeclaration": 685, + "src": "21830:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8234,14 +8234,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564", - "id": 1201, + "id": 693, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "21233:32:1", + "src": "21836:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", "typeString": "literal_string \"Address: low-level call failed\"" @@ -8264,21 +8264,21 @@ "typeString": "literal_string \"Address: low-level call failed\"" } ], - "id": 1198, + "id": 690, "name": "functionCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, - "src": "21206:12:1", + "referencedDeclaration": 717, + "src": "21809:12:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1202, + "id": 694, "isConstant": false, "isLValue": false, "isPure": false, @@ -8286,44 +8286,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21206:60:1", + "src": "21809:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1197, - "id": 1203, + "functionReturnParameters": 689, + "id": 695, "nodeType": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ] }, "documentation": { - "id": 1189, + "id": 681, "nodeType": "StructuredDocumentation", - "src": "20367:730:1", + "src": "20951:747:0", "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1205, + "id": 697, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1194, + "id": 686, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1191, + "id": 683, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21124:14:1", + "scope": 697, + "src": "21726:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8331,10 +8331,10 @@ "typeString": "address" }, "typeName": { - "id": 1190, + "id": 682, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21124:7:1", + "src": "21726:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8345,12 +8345,12 @@ }, { "constant": false, - "id": 1193, + "id": 685, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21140:17:1", + "scope": 697, + "src": "21742:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8358,10 +8358,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1192, + "id": 684, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21140:5:1", + "src": "21742:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8370,20 +8370,20 @@ "visibility": "internal" } ], - "src": "21123:35:1" + "src": "21725:35:0" }, "returnParameters": { - "id": 1197, + "id": 689, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1196, + "id": 688, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21177:12:1", + "scope": 697, + "src": "21779:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8391,10 +8391,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1195, + "id": 687, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21177:5:1", + "src": "21779:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8403,42 +8403,42 @@ "visibility": "internal" } ], - "src": "21176:14:1" + "src": "21778:14:0" }, - "scope": 1430, - "src": "21102:171:1", + "scope": 922, + "src": "21704:173:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1224, + "id": 716, "nodeType": "Block", - "src": "21612:76:1", + "src": "22224:78:0", "statements": [ { "expression": { "arguments": [ { - "id": 1218, + "id": 710, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1208, - "src": "21651:6:1", + "referencedDeclaration": 700, + "src": "22264:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1219, + "id": 711, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1210, - "src": "21659:4:1", + "referencedDeclaration": 702, + "src": "22272:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8446,14 +8446,14 @@ }, { "hexValue": "30", - "id": 1220, + "id": 712, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "21665:1:1", + "src": "22278:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -8461,12 +8461,12 @@ "value": "0" }, { - "id": 1221, + "id": 713, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1212, - "src": "21668:12:1", + "referencedDeclaration": 704, + "src": "22281:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -8492,21 +8492,21 @@ "typeString": "string memory" } ], - "id": 1217, + "id": 709, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "21629:21:1", + "referencedDeclaration": 787, + "src": "22242:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1222, + "id": 714, "isConstant": false, "isLValue": false, "isPure": false, @@ -8514,44 +8514,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21629:52:1", + "src": "22242:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1216, - "id": 1223, + "functionReturnParameters": 708, + "id": 715, "nodeType": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ] }, "documentation": { - "id": 1206, + "id": 698, "nodeType": "StructuredDocumentation", - "src": "21279:211:1", + "src": "21885:216:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1225, + "id": 717, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1213, + "id": 705, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1208, + "id": 700, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21517:14:1", + "scope": 717, + "src": "22129:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8559,10 +8559,10 @@ "typeString": "address" }, "typeName": { - "id": 1207, + "id": 699, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21517:7:1", + "src": "22129:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8573,12 +8573,12 @@ }, { "constant": false, - "id": 1210, + "id": 702, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21533:17:1", + "scope": 717, + "src": "22145:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8586,10 +8586,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1209, + "id": 701, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21533:5:1", + "src": "22145:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8599,12 +8599,12 @@ }, { "constant": false, - "id": 1212, + "id": 704, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21552:26:1", + "scope": 717, + "src": "22164:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8612,10 +8612,10 @@ "typeString": "string" }, "typeName": { - "id": 1211, + "id": 703, "name": "string", "nodeType": "ElementaryTypeName", - "src": "21552:6:1", + "src": "22164:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -8624,20 +8624,20 @@ "visibility": "internal" } ], - "src": "21516:63:1" + "src": "22128:63:0" }, "returnParameters": { - "id": 1216, + "id": 708, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1215, + "id": 707, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21598:12:1", + "scope": 717, + "src": "22210:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8645,10 +8645,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1214, + "id": 706, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21598:5:1", + "src": "22210:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8657,54 +8657,54 @@ "visibility": "internal" } ], - "src": "21597:14:1" + "src": "22209:14:0" }, - "scope": 1430, - "src": "21495:193:1", + "scope": 922, + "src": "22107:195:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1244, + "id": 736, "nodeType": "Block", - "src": "22163:111:1", + "src": "22790:113:0", "statements": [ { "expression": { "arguments": [ { - "id": 1238, + "id": 730, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1228, - "src": "22202:6:1", + "referencedDeclaration": 720, + "src": "22830:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1239, + "id": 731, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1230, - "src": "22210:4:1", + "referencedDeclaration": 722, + "src": "22838:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1240, + "id": 732, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1232, - "src": "22216:5:1", + "referencedDeclaration": 724, + "src": "22844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8712,14 +8712,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564", - "id": 1241, + "id": 733, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22223:43:1", + "src": "22851:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc", "typeString": "literal_string \"Address: low-level call with value failed\"" @@ -8746,21 +8746,21 @@ "typeString": "literal_string \"Address: low-level call with value failed\"" } ], - "id": 1237, + "id": 729, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "22180:21:1", + "referencedDeclaration": 787, + "src": "22808:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1242, + "id": 734, "isConstant": false, "isLValue": false, "isPure": false, @@ -8768,44 +8768,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22180:87:1", + "src": "22808:87:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1236, - "id": 1243, + "functionReturnParameters": 728, + "id": 735, "nodeType": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ] }, "documentation": { - "id": 1226, + "id": 718, "nodeType": "StructuredDocumentation", - "src": "21694:351:1", + "src": "22310:361:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1245, + "id": 737, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1233, + "id": 725, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1228, + "id": 720, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22081:14:1", + "scope": 737, + "src": "22708:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8813,10 +8813,10 @@ "typeString": "address" }, "typeName": { - "id": 1227, + "id": 719, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22081:7:1", + "src": "22708:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8827,12 +8827,12 @@ }, { "constant": false, - "id": 1230, + "id": 722, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22097:17:1", + "scope": 737, + "src": "22724:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8840,10 +8840,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1229, + "id": 721, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22097:5:1", + "src": "22724:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8853,12 +8853,12 @@ }, { "constant": false, - "id": 1232, + "id": 724, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22116:13:1", + "scope": 737, + "src": "22743:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8866,10 +8866,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1231, + "id": 723, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22116:7:1", + "src": "22743:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8878,20 +8878,20 @@ "visibility": "internal" } ], - "src": "22080:50:1" + "src": "22707:50:0" }, "returnParameters": { - "id": 1236, + "id": 728, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1235, + "id": 727, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22149:12:1", + "scope": 737, + "src": "22776:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8899,10 +8899,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1234, + "id": 726, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22149:5:1", + "src": "22776:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8911,19 +8911,19 @@ "visibility": "internal" } ], - "src": "22148:14:1" + "src": "22775:14:0" }, - "scope": 1430, - "src": "22050:224:1", + "scope": 922, + "src": "22677:226:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1294, + "id": 786, "nodeType": "Block", - "src": "22663:382:1", + "src": "23300:389:0", "statements": [ { "expression": { @@ -8933,7 +8933,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1266, + "id": 758, "isConstant": false, "isLValue": false, "isPure": false, @@ -8942,14 +8942,14 @@ "expression": { "arguments": [ { - "id": 1262, + "id": 754, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "22689:4:1", + "src": "23327:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -8957,30 +8957,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1261, + "id": 753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1260, + "id": 752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": {} } }, - "id": 1263, + "id": 755, "isConstant": false, "isLValue": false, "isPure": false, @@ -8988,21 +8988,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22681:13:1", + "src": "23319:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1264, + "id": 756, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "22681:21:1", + "src": "23319:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9011,18 +9011,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1265, + "id": 757, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22706:5:1", + "referencedDeclaration": 744, + "src": "23344:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "22681:30:1", + "src": "23319:30:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9030,14 +9030,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c", - "id": 1267, + "id": 759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22713:40:1", + "src": "23351:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c", "typeString": "literal_string \"Address: insufficient balance for call\"" @@ -9056,7 +9056,7 @@ "typeString": "literal_string \"Address: insufficient balance for call\"" } ], - "id": 1259, + "id": 751, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9064,13 +9064,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22673:7:1", + "src": "23311:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1268, + "id": 760, "isConstant": false, "isLValue": false, "isPure": false, @@ -9078,16 +9078,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22673:81:1", + "src": "23311:81:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1269, + "id": 761, "nodeType": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "expression": { @@ -9095,12 +9095,12 @@ { "arguments": [ { - "id": 1272, + "id": 764, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22783:6:1", + "referencedDeclaration": 740, + "src": "23422:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9114,18 +9114,18 @@ "typeString": "address" } ], - "id": 1271, + "id": 763, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "22772:10:1", + "referencedDeclaration": 646, + "src": "23411:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1273, + "id": 765, "isConstant": false, "isLValue": false, "isPure": false, @@ -9133,7 +9133,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22772:18:1", + "src": "23411:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9142,14 +9142,14 @@ }, { "hexValue": "416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1274, + "id": 766, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22792:31:1", + "src": "23431:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad", "typeString": "literal_string \"Address: call to non-contract\"" @@ -9168,7 +9168,7 @@ "typeString": "literal_string \"Address: call to non-contract\"" } ], - "id": 1270, + "id": 762, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9176,13 +9176,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22764:7:1", + "src": "23403:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1275, + "id": 767, "isConstant": false, "isLValue": false, "isPure": false, @@ -9190,31 +9190,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22764:60:1", + "src": "23403:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1276, + "id": 768, "nodeType": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "assignments": [ - 1278, - 1280 + 770, + 772 ], "declarations": [ { "constant": false, - "id": 1278, + "id": 770, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22895:12:1", + "scope": 786, + "src": "23537:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9222,10 +9222,10 @@ "typeString": "bool" }, "typeName": { - "id": 1277, + "id": 769, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "22895:4:1", + "src": "23537:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9235,12 +9235,12 @@ }, { "constant": false, - "id": 1280, + "id": 772, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22909:23:1", + "scope": 786, + "src": "23551:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9248,10 +9248,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1279, + "id": 771, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22909:5:1", + "src": "23551:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9260,16 +9260,16 @@ "visibility": "internal" } ], - "id": 1287, + "id": 779, "initialValue": { "arguments": [ { - "id": 1285, + "id": 777, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1250, - "src": "22964:4:1", + "referencedDeclaration": 742, + "src": "23606:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9291,31 +9291,31 @@ } ], "expression": { - "id": 1281, + "id": 773, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22936:6:1", + "referencedDeclaration": 740, + "src": "23578:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1282, + "id": 774, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "22936:11:1", + "src": "23578:11:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1284, + "id": 776, "isConstant": false, "isLValue": false, "isPure": false, @@ -9326,25 +9326,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1283, + "id": 775, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22956:5:1", + "referencedDeclaration": 744, + "src": "23598:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "22936:27:1", + "src": "23578:27:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1286, + "id": 778, "isConstant": false, "isLValue": false, "isPure": false, @@ -9352,7 +9352,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22936:33:1", + "src": "23578:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -9360,42 +9360,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "expression": { "arguments": [ { - "id": 1289, + "id": 781, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1278, - "src": "23004:7:1", + "referencedDeclaration": 770, + "src": "23647:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1290, + "id": 782, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1280, - "src": "23013:10:1", + "referencedDeclaration": 772, + "src": "23656:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1291, + "id": 783, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1254, - "src": "23025:12:1", + "referencedDeclaration": 746, + "src": "23668:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -9417,18 +9417,18 @@ "typeString": "string memory" } ], - "id": 1288, + "id": 780, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "22986:17:1", + "referencedDeclaration": 921, + "src": "23629:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1292, + "id": 784, "isConstant": false, "isLValue": false, "isPure": false, @@ -9436,44 +9436,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22986:52:1", + "src": "23629:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1258, - "id": 1293, + "functionReturnParameters": 750, + "id": 785, "nodeType": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ] }, "documentation": { - "id": 1246, + "id": 738, "nodeType": "StructuredDocumentation", - "src": "22280:237:1", + "src": "22911:242:0", "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1295, + "id": 787, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1255, + "id": 747, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1248, + "id": 740, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22553:14:1", + "scope": 787, + "src": "23190:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9481,10 +9481,10 @@ "typeString": "address" }, "typeName": { - "id": 1247, + "id": 739, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22553:7:1", + "src": "23190:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9495,12 +9495,12 @@ }, { "constant": false, - "id": 1250, + "id": 742, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22569:17:1", + "scope": 787, + "src": "23206:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9508,10 +9508,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1249, + "id": 741, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22569:5:1", + "src": "23206:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9521,12 +9521,12 @@ }, { "constant": false, - "id": 1252, + "id": 744, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22588:13:1", + "scope": 787, + "src": "23225:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9534,10 +9534,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1251, + "id": 743, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22588:7:1", + "src": "23225:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9547,12 +9547,12 @@ }, { "constant": false, - "id": 1254, + "id": 746, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22603:26:1", + "scope": 787, + "src": "23240:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9560,10 +9560,10 @@ "typeString": "string" }, "typeName": { - "id": 1253, + "id": 745, "name": "string", "nodeType": "ElementaryTypeName", - "src": "22603:6:1", + "src": "23240:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -9572,20 +9572,20 @@ "visibility": "internal" } ], - "src": "22552:78:1" + "src": "23189:78:0" }, "returnParameters": { - "id": 1258, + "id": 750, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1257, + "id": 749, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22649:12:1", + "scope": 787, + "src": "23286:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9593,10 +9593,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1256, + "id": 748, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22649:5:1", + "src": "23286:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9605,42 +9605,42 @@ "visibility": "internal" } ], - "src": "22648:14:1" + "src": "23285:14:0" }, - "scope": 1430, - "src": "22522:523:1", + "scope": 922, + "src": "23159:530:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1311, + "id": 803, "nodeType": "Block", - "src": "23322:97:1", + "src": "23974:99:0", "statements": [ { "expression": { "arguments": [ { - "id": 1306, + "id": 798, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1298, - "src": "23358:6:1", + "referencedDeclaration": 790, + "src": "24011:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1307, + "id": 799, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1300, - "src": "23366:4:1", + "referencedDeclaration": 792, + "src": "24019:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9648,14 +9648,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564", - "id": 1308, + "id": 800, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23372:39:1", + "src": "24025:39:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0", "typeString": "literal_string \"Address: low-level static call failed\"" @@ -9678,21 +9678,21 @@ "typeString": "literal_string \"Address: low-level static call failed\"" } ], - "id": 1305, + "id": 797, "name": "functionStaticCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, - "src": "23339:18:1", + "referencedDeclaration": 839, + "src": "23992:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) view returns (bytes memory)" } }, - "id": 1309, + "id": 801, "isConstant": false, "isLValue": false, "isPure": false, @@ -9700,44 +9700,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23339:73:1", + "src": "23992:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1304, - "id": 1310, + "functionReturnParameters": 796, + "id": 802, "nodeType": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ] }, "documentation": { - "id": 1296, + "id": 788, "nodeType": "StructuredDocumentation", - "src": "23051:166:1", + "src": "23697:171:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1312, + "id": 804, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1301, + "id": 793, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1298, + "id": 790, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23250:14:1", + "scope": 804, + "src": "23902:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9745,10 +9745,10 @@ "typeString": "address" }, "typeName": { - "id": 1297, + "id": 789, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23250:7:1", + "src": "23902:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9759,12 +9759,12 @@ }, { "constant": false, - "id": 1300, + "id": 792, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23266:17:1", + "scope": 804, + "src": "23918:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9772,10 +9772,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1299, + "id": 791, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23266:5:1", + "src": "23918:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9784,20 +9784,20 @@ "visibility": "internal" } ], - "src": "23249:35:1" + "src": "23901:35:0" }, "returnParameters": { - "id": 1304, + "id": 796, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1303, + "id": 795, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23308:12:1", + "scope": 804, + "src": "23960:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9805,10 +9805,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1302, + "id": 794, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23308:5:1", + "src": "23960:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9817,19 +9817,19 @@ "visibility": "internal" } ], - "src": "23307:14:1" + "src": "23959:14:0" }, - "scope": 1430, - "src": "23222:197:1", + "scope": 922, + "src": "23874:199:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1346, + "id": 838, "nodeType": "Block", - "src": "23731:288:1", + "src": "24393:294:0", "statements": [ { "expression": { @@ -9837,12 +9837,12 @@ { "arguments": [ { - "id": 1326, + "id": 818, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23760:6:1", + "referencedDeclaration": 807, + "src": "24423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9856,18 +9856,18 @@ "typeString": "address" } ], - "id": 1325, + "id": 817, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "23749:10:1", + "referencedDeclaration": 646, + "src": "24412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1327, + "id": 819, "isConstant": false, "isLValue": false, "isPure": false, @@ -9875,7 +9875,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23749:18:1", + "src": "24412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9884,14 +9884,14 @@ }, { "hexValue": "416464726573733a207374617469632063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1328, + "id": 820, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23769:38:1", + "src": "24432:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c79cc78e4f16ce3933a42b84c73868f93bb4a59c031a0acf576679de98c608a9", "typeString": "literal_string \"Address: static call to non-contract\"" @@ -9910,7 +9910,7 @@ "typeString": "literal_string \"Address: static call to non-contract\"" } ], - "id": 1324, + "id": 816, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9918,13 +9918,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "23741:7:1", + "src": "24404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1329, + "id": 821, "isConstant": false, "isLValue": false, "isPure": false, @@ -9932,31 +9932,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23741:67:1", + "src": "24404:67:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1330, + "id": 822, "nodeType": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "assignments": [ - 1332, - 1334 + 824, + 826 ], "declarations": [ { "constant": false, - "id": 1332, + "id": 824, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23879:12:1", + "scope": 838, + "src": "24545:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9964,10 +9964,10 @@ "typeString": "bool" }, "typeName": { - "id": 1331, + "id": 823, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "23879:4:1", + "src": "24545:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9977,12 +9977,12 @@ }, { "constant": false, - "id": 1334, + "id": 826, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23893:23:1", + "scope": 838, + "src": "24559:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9990,10 +9990,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1333, + "id": 825, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23893:5:1", + "src": "24559:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10002,16 +10002,16 @@ "visibility": "internal" } ], - "id": 1339, + "id": 831, "initialValue": { "arguments": [ { - "id": 1337, + "id": 829, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1317, - "src": "23938:4:1", + "referencedDeclaration": 809, + "src": "24604:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10026,31 +10026,31 @@ } ], "expression": { - "id": 1335, + "id": 827, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23920:6:1", + "referencedDeclaration": 807, + "src": "24586:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1336, + "id": 828, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "staticcall", "nodeType": "MemberAccess", - "src": "23920:17:1", + "src": "24586:17:0", "typeDescriptions": { "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) view returns (bool,bytes memory)" } }, - "id": 1338, + "id": 830, "isConstant": false, "isLValue": false, "isPure": false, @@ -10058,7 +10058,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23920:23:1", + "src": "24586:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10066,42 +10066,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "expression": { "arguments": [ { - "id": 1341, + "id": 833, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "23978:7:1", + "referencedDeclaration": 824, + "src": "24645:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1342, + "id": 834, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1334, - "src": "23987:10:1", + "referencedDeclaration": 826, + "src": "24654:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1343, + "id": 835, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1319, - "src": "23999:12:1", + "referencedDeclaration": 811, + "src": "24666:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10123,18 +10123,18 @@ "typeString": "string memory" } ], - "id": 1340, + "id": 832, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "23960:17:1", + "referencedDeclaration": 921, + "src": "24627:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1344, + "id": 836, "isConstant": false, "isLValue": false, "isPure": false, @@ -10142,44 +10142,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23960:52:1", + "src": "24627:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1323, - "id": 1345, + "functionReturnParameters": 815, + "id": 837, "nodeType": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ] }, "documentation": { - "id": 1313, + "id": 805, "nodeType": "StructuredDocumentation", - "src": "23425:173:1", + "src": "24081:178:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1347, + "id": 839, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1320, + "id": 812, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1315, + "id": 807, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23631:14:1", + "scope": 839, + "src": "24293:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10187,10 +10187,10 @@ "typeString": "address" }, "typeName": { - "id": 1314, + "id": 806, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23631:7:1", + "src": "24293:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10201,12 +10201,12 @@ }, { "constant": false, - "id": 1317, + "id": 809, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23647:17:1", + "scope": 839, + "src": "24309:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10214,10 +10214,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1316, + "id": 808, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23647:5:1", + "src": "24309:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10227,12 +10227,12 @@ }, { "constant": false, - "id": 1319, + "id": 811, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23666:26:1", + "scope": 839, + "src": "24328:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10240,10 +10240,10 @@ "typeString": "string" }, "typeName": { - "id": 1318, + "id": 810, "name": "string", "nodeType": "ElementaryTypeName", - "src": "23666:6:1", + "src": "24328:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10252,20 +10252,20 @@ "visibility": "internal" } ], - "src": "23630:63:1" + "src": "24292:63:0" }, "returnParameters": { - "id": 1323, + "id": 815, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1322, + "id": 814, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23717:12:1", + "scope": 839, + "src": "24379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10273,10 +10273,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1321, + "id": 813, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23717:5:1", + "src": "24379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10285,42 +10285,42 @@ "visibility": "internal" } ], - "src": "23716:14:1" + "src": "24378:14:0" }, - "scope": 1430, - "src": "23603:416:1", + "scope": 922, + "src": "24265:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1363, + "id": 855, "nodeType": "Block", - "src": "24295:101:1", + "src": "24971:103:0", "statements": [ { "expression": { "arguments": [ { - "id": 1358, + "id": 850, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1350, - "src": "24333:6:1", + "referencedDeclaration": 842, + "src": "25010:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1359, + "id": 851, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1352, - "src": "24341:4:1", + "referencedDeclaration": 844, + "src": "25018:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10328,14 +10328,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564", - "id": 1360, + "id": 852, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24347:41:1", + "src": "25024:41:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398", "typeString": "literal_string \"Address: low-level delegate call failed\"" @@ -10358,21 +10358,21 @@ "typeString": "literal_string \"Address: low-level delegate call failed\"" } ], - "id": 1357, + "id": 849, "name": "functionDelegateCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, - "src": "24312:20:1", + "referencedDeclaration": 891, + "src": "24989:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1361, + "id": 853, "isConstant": false, "isLValue": false, "isPure": false, @@ -10380,44 +10380,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24312:77:1", + "src": "24989:77:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1356, - "id": 1362, + "functionReturnParameters": 848, + "id": 854, "nodeType": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ] }, "documentation": { - "id": 1348, + "id": 840, "nodeType": "StructuredDocumentation", - "src": "24025:168:1", + "src": "24695:173:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1364, + "id": 856, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1353, + "id": 845, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1350, + "id": 842, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24228:14:1", + "scope": 856, + "src": "24904:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10425,10 +10425,10 @@ "typeString": "address" }, "typeName": { - "id": 1349, + "id": 841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24228:7:1", + "src": "24904:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10439,12 +10439,12 @@ }, { "constant": false, - "id": 1352, + "id": 844, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24244:17:1", + "scope": 856, + "src": "24920:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10452,10 +10452,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1351, + "id": 843, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24244:5:1", + "src": "24920:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10464,20 +10464,20 @@ "visibility": "internal" } ], - "src": "24227:35:1" + "src": "24903:35:0" }, "returnParameters": { - "id": 1356, + "id": 848, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1355, + "id": 847, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24281:12:1", + "scope": 856, + "src": "24957:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10485,10 +10485,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1354, + "id": 846, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24281:5:1", + "src": "24957:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10497,19 +10497,19 @@ "visibility": "internal" } ], - "src": "24280:14:1" + "src": "24956:14:0" }, - "scope": 1430, - "src": "24198:198:1", + "scope": 922, + "src": "24874:200:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1398, + "id": 890, "nodeType": "Block", - "src": "24707:292:1", + "src": "25393:298:0", "statements": [ { "expression": { @@ -10517,12 +10517,12 @@ { "arguments": [ { - "id": 1378, + "id": 870, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24736:6:1", + "referencedDeclaration": 859, + "src": "25423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10536,18 +10536,18 @@ "typeString": "address" } ], - "id": 1377, + "id": 869, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "24725:10:1", + "referencedDeclaration": 646, + "src": "25412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1379, + "id": 871, "isConstant": false, "isLValue": false, "isPure": false, @@ -10555,7 +10555,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24725:18:1", + "src": "25412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10564,14 +10564,14 @@ }, { "hexValue": "416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1380, + "id": 872, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24745:40:1", + "src": "25432:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b94ded0918034cf8f896e19fa3cfdef1188cd569c577264a3622e49152f88520", "typeString": "literal_string \"Address: delegate call to non-contract\"" @@ -10590,7 +10590,7 @@ "typeString": "literal_string \"Address: delegate call to non-contract\"" } ], - "id": 1376, + "id": 868, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -10598,13 +10598,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "24717:7:1", + "src": "25404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1381, + "id": 873, "isConstant": false, "isLValue": false, "isPure": false, @@ -10612,31 +10612,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24717:69:1", + "src": "25404:69:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1382, + "id": 874, "nodeType": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "assignments": [ - 1384, - 1386 + 876, + 878 ], "declarations": [ { "constant": false, - "id": 1384, + "id": 876, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24857:12:1", + "scope": 890, + "src": "25547:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10644,10 +10644,10 @@ "typeString": "bool" }, "typeName": { - "id": 1383, + "id": 875, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "24857:4:1", + "src": "25547:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10657,12 +10657,12 @@ }, { "constant": false, - "id": 1386, + "id": 878, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24871:23:1", + "scope": 890, + "src": "25561:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10670,10 +10670,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1385, + "id": 877, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24871:5:1", + "src": "25561:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10682,16 +10682,16 @@ "visibility": "internal" } ], - "id": 1391, + "id": 883, "initialValue": { "arguments": [ { - "id": 1389, + "id": 881, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1369, - "src": "24918:4:1", + "referencedDeclaration": 861, + "src": "25608:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10706,31 +10706,31 @@ } ], "expression": { - "id": 1387, + "id": 879, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24898:6:1", + "referencedDeclaration": 859, + "src": "25588:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1388, + "id": 880, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "delegatecall", "nodeType": "MemberAccess", - "src": "24898:19:1", + "src": "25588:19:0", "typeDescriptions": { "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) returns (bool,bytes memory)" } }, - "id": 1390, + "id": 882, "isConstant": false, "isLValue": false, "isPure": false, @@ -10738,7 +10738,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24898:25:1", + "src": "25588:25:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10746,42 +10746,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "expression": { "arguments": [ { - "id": 1393, + "id": 885, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1384, - "src": "24958:7:1", + "referencedDeclaration": 876, + "src": "25649:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1394, + "id": 886, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1386, - "src": "24967:10:1", + "referencedDeclaration": 878, + "src": "25658:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1395, + "id": 887, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1371, - "src": "24979:12:1", + "referencedDeclaration": 863, + "src": "25670:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10803,18 +10803,18 @@ "typeString": "string memory" } ], - "id": 1392, + "id": 884, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "24940:17:1", + "referencedDeclaration": 921, + "src": "25631:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1396, + "id": 888, "isConstant": false, "isLValue": false, "isPure": false, @@ -10822,44 +10822,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24940:52:1", + "src": "25631:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1375, - "id": 1397, + "functionReturnParameters": 867, + "id": 889, "nodeType": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ] }, "documentation": { - "id": 1365, + "id": 857, "nodeType": "StructuredDocumentation", - "src": "24402:175:1", + "src": "25082:180:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1399, + "id": 891, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1372, + "id": 864, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1367, + "id": 859, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24612:14:1", + "scope": 891, + "src": "25298:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10867,10 +10867,10 @@ "typeString": "address" }, "typeName": { - "id": 1366, + "id": 858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24612:7:1", + "src": "25298:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10881,12 +10881,12 @@ }, { "constant": false, - "id": 1369, + "id": 861, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24628:17:1", + "scope": 891, + "src": "25314:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10894,10 +10894,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1368, + "id": 860, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24628:5:1", + "src": "25314:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10907,12 +10907,12 @@ }, { "constant": false, - "id": 1371, + "id": 863, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24647:26:1", + "scope": 891, + "src": "25333:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10920,10 +10920,10 @@ "typeString": "string" }, "typeName": { - "id": 1370, + "id": 862, "name": "string", "nodeType": "ElementaryTypeName", - "src": "24647:6:1", + "src": "25333:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10932,20 +10932,20 @@ "visibility": "internal" } ], - "src": "24611:63:1" + "src": "25297:63:0" }, "returnParameters": { - "id": 1375, + "id": 867, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1374, + "id": 866, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24693:12:1", + "scope": 891, + "src": "25379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10953,10 +10953,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1373, + "id": 865, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24693:5:1", + "src": "25379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10965,37 +10965,37 @@ "visibility": "internal" } ], - "src": "24692:14:1" + "src": "25378:14:0" }, - "scope": 1430, - "src": "24582:417:1", + "scope": 922, + "src": "25268:423:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1428, + "id": 920, "nodeType": "Block", - "src": "25134:596:1", + "src": "25828:613:0", "statements": [ { "condition": { - "id": 1410, + "id": 902, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1401, - "src": "25148:7:1", + "referencedDeclaration": 893, + "src": "25843:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1426, + "id": 918, "nodeType": "Block", - "src": "25205:519:1", + "src": "25902:532:0", "statements": [ { "condition": { @@ -11003,32 +11003,32 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1417, + "id": 909, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1414, + "id": 906, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25289:10:1", + "referencedDeclaration": 895, + "src": "25988:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1415, + "id": 907, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "25289:17:1", + "src": "25988:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11038,41 +11038,41 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1416, + "id": 908, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "25309:1:1", + "src": "26008:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "25289:21:1", + "src": "25988:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1424, + "id": 916, "nodeType": "Block", - "src": "25661:53:1", + "src": "26368:55:0", "statements": [ { "expression": { "arguments": [ { - "id": 1421, + "id": 913, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1405, - "src": "25686:12:1", + "referencedDeclaration": 897, + "src": "26394:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -11086,7 +11086,7 @@ "typeString": "string memory" } ], - "id": 1420, + "id": 912, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -11094,13 +11094,13 @@ 4294967277 ], "referencedDeclaration": 4294967277, - "src": "25679:6:1", + "src": "26387:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", "typeString": "function (string memory) pure" } }, - "id": 1422, + "id": 914, "isConstant": false, "isLValue": false, "isPure": false, @@ -11108,56 +11108,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "25679:20:1", + "src": "26387:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1423, + "id": 915, "nodeType": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ] }, - "id": 1425, + "id": 917, "nodeType": "IfStatement", - "src": "25285:429:1", + "src": "25984:439:0", "trueBody": { - "id": 1419, + "id": 911, "nodeType": "Block", - "src": "25312:343:1", + "src": "26011:351:0", "statements": [ { "AST": { "nodeType": "YulBlock", - "src": "25496:145:1", + "src": "26199:148:0", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "25518:40:1", + "src": "26222:40:0", "value": { "arguments": [ { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25547:10:1" + "src": "26251:10:0" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "25541:5:1" + "src": "26245:5:0" }, "nodeType": "YulFunctionCall", - "src": "25541:17:1" + "src": "26245:17:0" }, "variables": [ { "name": "returndata_size", "nodeType": "YulTypedName", - "src": "25522:15:1", + "src": "26226:15:0", "type": "" } ] @@ -11170,118 +11170,118 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "25590:2:1", + "src": "26295:2:0", "type": "", "value": "32" }, { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25594:10:1" + "src": "26299:10:0" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "25586:3:1" + "src": "26291:3:0" }, "nodeType": "YulFunctionCall", - "src": "25586:19:1" + "src": "26291:19:0" }, { "name": "returndata_size", "nodeType": "YulIdentifier", - "src": "25607:15:1" + "src": "26312:15:0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "25579:6:1" + "src": "26284:6:0" }, "nodeType": "YulFunctionCall", - "src": "25579:44:1" + "src": "26284:44:0" }, "nodeType": "YulExpressionStatement", - "src": "25579:44:1" + "src": "26284:44:0" } ] }, "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], - "id": 1418, + "id": 910, "nodeType": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ] } } ] }, - "id": 1427, + "id": 919, "nodeType": "IfStatement", - "src": "25144:580:1", + "src": "25839:595:0", "trueBody": { - "id": 1413, + "id": 905, "nodeType": "Block", - "src": "25157:42:1", + "src": "25852:44:0", "statements": [ { "expression": { - "id": 1411, + "id": 903, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25178:10:1", + "referencedDeclaration": 895, + "src": "25874:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1409, - "id": 1412, + "functionReturnParameters": 901, + "id": 904, "nodeType": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ] } } ] }, - "id": 1429, + "id": 921, "implemented": true, "kind": "function", "modifiers": [], "name": "_verifyCallResult", "nodeType": "FunctionDefinition", "parameters": { - "id": 1406, + "id": 898, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1401, + "id": 893, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25032:12:1", + "scope": 921, + "src": "25726:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11289,10 +11289,10 @@ "typeString": "bool" }, "typeName": { - "id": 1400, + "id": 892, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "25032:4:1", + "src": "25726:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11302,12 +11302,12 @@ }, { "constant": false, - "id": 1403, + "id": 895, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25046:23:1", + "scope": 921, + "src": "25740:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11315,10 +11315,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1402, + "id": 894, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25046:5:1", + "src": "25740:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11328,12 +11328,12 @@ }, { "constant": false, - "id": 1405, + "id": 897, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25071:26:1", + "scope": 921, + "src": "25765:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11341,10 +11341,10 @@ "typeString": "string" }, "typeName": { - "id": 1404, + "id": 896, "name": "string", "nodeType": "ElementaryTypeName", - "src": "25071:6:1", + "src": "25765:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11353,20 +11353,20 @@ "visibility": "internal" } ], - "src": "25031:67:1" + "src": "25725:67:0" }, "returnParameters": { - "id": 1409, + "id": 901, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1408, + "id": 900, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25120:12:1", + "scope": 921, + "src": "25814:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11374,10 +11374,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1407, + "id": 899, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25120:5:1", + "src": "25814:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11386,20 +11386,20 @@ "visibility": "internal" } ], - "src": "25119:14:1" + "src": "25813:14:0" }, - "scope": 1430, - "src": "25005:725:1", + "scope": 922, + "src": "25699:742:0", "stateMutability": "pure", "virtual": false, "visibility": "private" } ], - "scope": 3499, - "src": "18048:7684:1" + "scope": 2991, + "src": "18579:7865:0" }, { - "id": 1431, + "id": 923, "literals": [ "solidity", ">=", @@ -11410,7 +11410,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "abstract": false, @@ -11418,31 +11418,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1432, + "id": 924, "nodeType": "StructuredDocumentation", - "src": "25824:686:1", + "src": "26541:709:0", "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, "fullyImplemented": true, - "id": 1921, + "id": 1413, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableSet.Set", - "id": 1440, + "id": 932, "members": [ { "constant": false, - "id": 1435, + "id": 927, "mutability": "mutable", "name": "_values", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27033:17:1", + "scope": 932, + "src": "27786:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11451,18 +11451,18 @@ }, "typeName": { "baseType": { - "id": 1433, + "id": 925, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27033:7:1", + "src": "27786:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1434, + "id": 926, "nodeType": "ArrayTypeName", - "src": "27033:9:1", + "src": "27786:9:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", "typeString": "bytes32[]" @@ -11472,12 +11472,12 @@ }, { "constant": false, - "id": 1439, + "id": 931, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27184:37:1", + "scope": 932, + "src": "27941:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11485,28 +11485,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1438, + "id": 930, "keyType": { - "id": 1436, + "id": 928, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27193:7:1", + "src": "27950:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "27184:28:1", + "src": "27941:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1437, + "id": 929, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "27204:7:1", + "src": "27961:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11518,19 +11518,19 @@ ], "name": "Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "26979:249:1", + "scope": 1413, + "src": "27730:256:0", "visibility": "public" }, { "body": { - "id": 1480, + "id": 972, "nodeType": "Block", - "src": "27467:335:1", + "src": "28233:345:0", "statements": [ { "condition": { - "id": 1454, + "id": 946, "isConstant": false, "isLValue": false, "isPure": false, @@ -11538,28 +11538,28 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "27481:22:1", + "src": "28248:22:0", "subExpression": { "arguments": [ { - "id": 1451, + "id": 943, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27492:3:1", + "referencedDeclaration": 935, + "src": "28259:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, { - "id": 1452, + "id": 944, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27497:5:1", + "referencedDeclaration": 937, + "src": "28264:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11569,7 +11569,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -11577,18 +11577,18 @@ "typeString": "bytes32" } ], - "id": 1450, + "id": 942, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "27482:9:1", + "referencedDeclaration": 1071, + "src": "28249:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1453, + "id": 945, "isConstant": false, "isLValue": false, "isPure": false, @@ -11596,7 +11596,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27482:21:1", + "src": "28249:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -11609,52 +11609,52 @@ } }, "falseBody": { - "id": 1478, + "id": 970, "nodeType": "Block", - "src": "27759:37:1", + "src": "28532:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1476, + "id": 968, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27780:5:1", + "src": "28554:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1449, - "id": 1477, + "functionReturnParameters": 941, + "id": 969, "nodeType": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ] }, - "id": 1479, + "id": 971, "nodeType": "IfStatement", - "src": "27477:319:1", + "src": "28244:327:0", "trueBody": { - "id": 1475, + "id": 967, "nodeType": "Block", - "src": "27505:248:1", + "src": "28272:254:0", "statements": [ { "expression": { "arguments": [ { - "id": 1460, + "id": 952, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27536:5:1", + "referencedDeclaration": 937, + "src": "28304:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11670,45 +11670,45 @@ ], "expression": { "expression": { - "id": 1455, + "id": 947, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27519:3:1", + "referencedDeclaration": 935, + "src": "28287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1458, + "id": 950, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27519:11:1", + "referencedDeclaration": 927, + "src": "28287:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1459, + "id": 951, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "27519:16:1", + "src": "28287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_bytes32_$returns$__$", "typeString": "function (bytes32)" } }, - "id": 1461, + "id": 953, "isConstant": false, "isLValue": false, "isPure": false, @@ -11716,20 +11716,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27519:23:1", + "src": "28287:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1462, + "id": 954, "nodeType": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "expression": { - "id": 1471, + "id": 963, "isConstant": false, "isLValue": false, "isPure": false, @@ -11737,39 +11737,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1463, + "id": 955, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27677:3:1", + "referencedDeclaration": 935, + "src": "28448:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1466, + "id": 958, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "27677:12:1", + "referencedDeclaration": 931, + "src": "28448:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1467, + "id": 959, "indexExpression": { - "id": 1465, + "id": 957, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27690:5:1", + "referencedDeclaration": 937, + "src": "28461:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11780,7 +11780,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "27677:19:1", + "src": "28448:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11791,75 +11791,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1468, + "id": 960, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27699:3:1", + "referencedDeclaration": 935, + "src": "28470:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1469, + "id": 961, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27699:11:1", + "referencedDeclaration": 927, + "src": "28470:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1470, + "id": 962, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "27699:18:1", + "src": "28470:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "27677:40:1", + "src": "28448:40:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1472, + "id": 964, "nodeType": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "expression": { "hexValue": "74727565", - "id": 1473, + "id": 965, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27738:4:1", + "src": "28510:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1449, - "id": 1474, + "functionReturnParameters": 941, + "id": 966, "nodeType": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ] } @@ -11867,43 +11867,43 @@ ] }, "documentation": { - "id": 1441, + "id": 933, "nodeType": "StructuredDocumentation", - "src": "27234:159:1", + "src": "27994:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1481, + "id": 973, "implemented": true, "kind": "function", "modifiers": [], "name": "_add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1446, + "id": 938, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1443, + "id": 935, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27412:15:1", + "scope": 973, + "src": "28178:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1442, + "id": 934, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27412:3:1", + "referencedDeclaration": 932, + "src": "28178:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -11911,12 +11911,12 @@ }, { "constant": false, - "id": 1445, + "id": 937, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27429:13:1", + "scope": 973, + "src": "28195:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11924,10 +11924,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1444, + "id": 936, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27429:7:1", + "src": "28195:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11936,20 +11936,20 @@ "visibility": "internal" } ], - "src": "27411:32:1" + "src": "28177:32:0" }, "returnParameters": { - "id": 1449, + "id": 941, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1448, + "id": 940, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27461:4:1", + "scope": 973, + "src": "28227:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11957,10 +11957,10 @@ "typeString": "bool" }, "typeName": { - "id": 1447, + "id": 939, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "27461:4:1", + "src": "28227:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11969,33 +11969,33 @@ "visibility": "internal" } ], - "src": "27460:6:1" + "src": "28226:6:0" }, - "scope": 1921, - "src": "27398:404:1", + "scope": 1413, + "src": "28164:414:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1560, + "id": 1052, "nodeType": "Block", - "src": "28042:1440:1", + "src": "28826:1472:0", "statements": [ { "assignments": [ - 1492 + 984 ], "declarations": [ { "constant": false, - "id": 1492, + "id": 984, "mutability": "mutable", "name": "valueIndex", "nodeType": "VariableDeclaration", - "scope": 1560, - "src": "28152:18:1", + "scope": 1052, + "src": "28938:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12003,10 +12003,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1491, + "id": 983, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28152:7:1", + "src": "28938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12015,43 +12015,43 @@ "visibility": "internal" } ], - "id": 1497, + "id": 989, "initialValue": { "baseExpression": { "expression": { - "id": 1493, + "id": 985, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28173:3:1", + "referencedDeclaration": 976, + "src": "28959:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1494, + "id": 986, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "28173:12:1", + "referencedDeclaration": 931, + "src": "28959:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1496, + "id": 988, "indexExpression": { - "id": 1495, + "id": 987, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "28186:5:1", + "referencedDeclaration": 978, + "src": "28972:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12062,14 +12062,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28173:19:1", + "src": "28959:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "condition": { @@ -12077,18 +12077,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1500, + "id": 992, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1498, + "id": 990, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28207:10:1", + "referencedDeclaration": 984, + "src": "28995:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12098,76 +12098,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1499, + "id": 991, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28221:1:1", + "src": "29009:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "28207:15:1", + "src": "28995:15:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1558, + "id": 1050, "nodeType": "Block", - "src": "29439:37:1", + "src": "30252:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1556, + "id": 1048, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29460:5:1", + "src": "30274:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1490, - "id": 1557, + "functionReturnParameters": 982, + "id": 1049, "nodeType": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ] }, - "id": 1559, + "id": 1051, "nodeType": "IfStatement", - "src": "28203:1273:1", + "src": "28991:1300:0", "trueBody": { - "id": 1555, + "id": 1047, "nodeType": "Block", - "src": "28224:1209:1", + "src": "29012:1234:0", "statements": [ { "assignments": [ - 1502 + 994 ], "declarations": [ { "constant": false, - "id": 1502, + "id": 994, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28564:21:1", + "scope": 1047, + "src": "29357:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12175,10 +12175,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1501, + "id": 993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28564:7:1", + "src": "29357:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12187,24 +12187,24 @@ "visibility": "internal" } ], - "id": 1506, + "id": 998, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1505, + "id": 997, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1503, + "id": 995, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28588:10:1", + "referencedDeclaration": 984, + "src": "29381:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12214,42 +12214,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1504, + "id": 996, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28601:1:1", + "src": "29394:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28588:14:1", + "src": "29381:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "assignments": [ - 1508 + 1000 ], "declarations": [ { "constant": false, - "id": 1508, + "id": 1000, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28616:17:1", + "scope": 1047, + "src": "29410:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12257,10 +12257,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1507, + "id": 999, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28616:7:1", + "src": "29410:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12269,13 +12269,13 @@ "visibility": "internal" } ], - "id": 1514, + "id": 1006, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1513, + "id": 1005, "isConstant": false, "isLValue": false, "isPure": false, @@ -12283,39 +12283,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1509, + "id": 1001, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28636:3:1", + "referencedDeclaration": 976, + "src": "29430:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1510, + "id": 1002, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28636:11:1", + "referencedDeclaration": 927, + "src": "29430:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1511, + "id": 1003, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "28636:18:1", + "src": "29430:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12325,42 +12325,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1512, + "id": 1004, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28657:1:1", + "src": "29451:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28636:22:1", + "src": "29430:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "assignments": [ - 1516 + 1008 ], "declarations": [ { "constant": false, - "id": 1516, + "id": 1008, "mutability": "mutable", "name": "lastvalue", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28898:17:1", + "scope": 1047, + "src": "29697:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12368,10 +12368,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1515, + "id": 1007, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28898:7:1", + "src": "29697:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12380,43 +12380,43 @@ "visibility": "internal" } ], - "id": 1521, + "id": 1013, "initialValue": { "baseExpression": { "expression": { - "id": 1517, + "id": 1009, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28918:3:1", + "referencedDeclaration": 976, + "src": "29717:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1518, + "id": 1010, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28918:11:1", + "referencedDeclaration": 927, + "src": "29717:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1520, + "id": 1012, "indexExpression": { - "id": 1519, + "id": 1011, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1508, - "src": "28930:9:1", + "referencedDeclaration": 1000, + "src": "29729:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12427,18 +12427,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28918:22:1", + "src": "29717:22:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "expression": { - "id": 1528, + "id": 1020, "isConstant": false, "isLValue": false, "isPure": false, @@ -12446,39 +12446,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1522, + "id": 1014, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29032:3:1", + "referencedDeclaration": 976, + "src": "29834:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1525, + "id": 1017, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29032:11:1", + "referencedDeclaration": 927, + "src": "29834:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1526, + "id": 1018, "indexExpression": { - "id": 1524, + "id": 1016, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29044:13:1", + "referencedDeclaration": 994, + "src": "29846:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12489,7 +12489,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29032:26:1", + "src": "29834:26:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12498,30 +12498,30 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1527, + "id": 1019, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29061:9:1", + "referencedDeclaration": 1008, + "src": "29863:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "29032:38:1", + "src": "29834:38:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1529, + "id": 1021, "nodeType": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "expression": { - "id": 1538, + "id": 1030, "isConstant": false, "isLValue": false, "isPure": false, @@ -12529,39 +12529,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1530, + "id": 1022, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29136:3:1", + "referencedDeclaration": 976, + "src": "29940:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1533, + "id": 1025, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29136:12:1", + "referencedDeclaration": 931, + "src": "29940:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1534, + "id": 1026, "indexExpression": { - "id": 1532, + "id": 1024, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29149:9:1", + "referencedDeclaration": 1008, + "src": "29953:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12572,7 +12572,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29136:23:1", + "src": "29940:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12585,18 +12585,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1537, + "id": 1029, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1535, + "id": 1027, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29162:13:1", + "referencedDeclaration": 994, + "src": "29966:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12606,35 +12606,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 1536, + "id": 1028, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29178:1:1", + "src": "29982:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "29162:17:1", + "src": "29966:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "29136:43:1", + "src": "29940:43:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1539, + "id": 1031, "nodeType": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "expression": { @@ -12643,45 +12643,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 1540, + "id": 1032, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29285:3:1", + "referencedDeclaration": 976, + "src": "30092:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1543, + "id": 1035, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29285:11:1", + "referencedDeclaration": 927, + "src": "30092:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1544, + "id": 1036, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "29285:15:1", + "src": "30092:15:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 1545, + "id": 1037, "isConstant": false, "isLValue": false, "isPure": false, @@ -12689,20 +12689,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "29285:17:1", + "src": "30092:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1546, + "id": 1038, "nodeType": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "expression": { - "id": 1551, + "id": 1043, "isConstant": false, "isLValue": false, "isPure": false, @@ -12710,43 +12710,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "29370:26:1", + "src": "30180:26:0", "subExpression": { "baseExpression": { "expression": { - "id": 1547, + "id": 1039, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29377:3:1", + "referencedDeclaration": 976, + "src": "30187:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1548, + "id": 1040, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29377:12:1", + "referencedDeclaration": 931, + "src": "30187:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1550, + "id": 1042, "indexExpression": { - "id": 1549, + "id": 1041, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "29390:5:1", + "referencedDeclaration": 978, + "src": "30200:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12757,7 +12757,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29377:19:1", + "src": "30187:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12768,31 +12768,31 @@ "typeString": "tuple()" } }, - "id": 1552, + "id": 1044, "nodeType": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "expression": { "hexValue": "74727565", - "id": 1553, + "id": 1045, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29418:4:1", + "src": "30230:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1490, - "id": 1554, + "functionReturnParameters": 982, + "id": 1046, "nodeType": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ] } @@ -12800,43 +12800,43 @@ ] }, "documentation": { - "id": 1482, + "id": 974, "nodeType": "StructuredDocumentation", - "src": "27808:157:1", + "src": "28586:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1561, + "id": 1053, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1487, + "id": 979, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1484, + "id": 976, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "27987:15:1", + "scope": 1053, + "src": "28771:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1483, + "id": 975, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27987:3:1", + "referencedDeclaration": 932, + "src": "28771:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -12844,12 +12844,12 @@ }, { "constant": false, - "id": 1486, + "id": 978, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28004:13:1", + "scope": 1053, + "src": "28788:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12857,10 +12857,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1485, + "id": 977, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28004:7:1", + "src": "28788:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12869,20 +12869,20 @@ "visibility": "internal" } ], - "src": "27986:32:1" + "src": "28770:32:0" }, "returnParameters": { - "id": 1490, + "id": 982, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1489, + "id": 981, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28036:4:1", + "scope": 1053, + "src": "28820:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12890,10 +12890,10 @@ "typeString": "bool" }, "typeName": { - "id": 1488, + "id": 980, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "28036:4:1", + "src": "28820:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12902,19 +12902,19 @@ "visibility": "internal" } ], - "src": "28035:6:1" + "src": "28819:6:0" }, - "scope": 1921, - "src": "27970:1512:1", + "scope": 1413, + "src": "28754:1544:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1578, + "id": 1070, "nodeType": "Block", - "src": "29642:48:1", + "src": "30463:50:0", "statements": [ { "expression": { @@ -12922,7 +12922,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1576, + "id": 1068, "isConstant": false, "isLValue": false, "isPure": false, @@ -12930,39 +12930,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 1571, + "id": 1063, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1564, - "src": "29659:3:1", + "referencedDeclaration": 1056, + "src": "30481:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1572, + "id": 1064, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29659:12:1", + "referencedDeclaration": 931, + "src": "30481:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1574, + "id": 1066, "indexExpression": { - "id": 1573, + "id": 1065, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1566, - "src": "29672:5:1", + "referencedDeclaration": 1058, + "src": "30494:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12973,7 +12973,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "29659:19:1", + "src": "30481:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12983,71 +12983,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1575, + "id": 1067, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29682:1:1", + "src": "30504:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "29659:24:1", + "src": "30481:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1570, - "id": 1577, + "functionReturnParameters": 1062, + "id": 1069, "nodeType": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ] }, "documentation": { - "id": 1562, + "id": 1054, "nodeType": "StructuredDocumentation", - "src": "29488:70:1", + "src": "30306:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1579, + "id": 1071, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1567, + "id": 1059, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1564, + "id": 1056, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29582:15:1", + "scope": 1071, + "src": "30403:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1563, + "id": 1055, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29582:3:1", + "referencedDeclaration": 932, + "src": "30403:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13055,12 +13055,12 @@ }, { "constant": false, - "id": 1566, + "id": 1058, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29599:13:1", + "scope": 1071, + "src": "30420:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13068,10 +13068,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1565, + "id": 1057, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "29599:7:1", + "src": "30420:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13080,20 +13080,20 @@ "visibility": "internal" } ], - "src": "29581:32:1" + "src": "30402:32:0" }, "returnParameters": { - "id": 1570, + "id": 1062, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1569, + "id": 1061, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29636:4:1", + "scope": 1071, + "src": "30457:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13101,10 +13101,10 @@ "typeString": "bool" }, "typeName": { - "id": 1568, + "id": 1060, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "29636:4:1", + "src": "30457:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13113,127 +13113,127 @@ "visibility": "internal" } ], - "src": "29635:6:1" + "src": "30456:6:0" }, - "scope": 1921, - "src": "29563:127:1", + "scope": 1413, + "src": "30384:129:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1591, + "id": 1083, "nodeType": "Block", - "src": "29836:42:1", + "src": "30664:44:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 1587, + "id": 1079, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1582, - "src": "29853:3:1", + "referencedDeclaration": 1074, + "src": "30682:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1588, + "id": 1080, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29853:11:1", + "referencedDeclaration": 927, + "src": "30682:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1589, + "id": 1081, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "29853:18:1", + "src": "30682:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1586, - "id": 1590, + "functionReturnParameters": 1078, + "id": 1082, "nodeType": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ] }, "documentation": { - "id": 1580, + "id": 1072, "nodeType": "StructuredDocumentation", - "src": "29696:70:1", + "src": "30521:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1592, + "id": 1084, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1583, + "id": 1075, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1582, + "id": 1074, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29788:15:1", + "scope": 1084, + "src": "30616:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1581, + "id": 1073, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29788:3:1", + "referencedDeclaration": 932, + "src": "30616:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, "visibility": "internal" } ], - "src": "29787:17:1" + "src": "30615:17:0" }, "returnParameters": { - "id": 1586, + "id": 1078, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1585, + "id": 1077, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29827:7:1", + "scope": 1084, + "src": "30655:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13241,10 +13241,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1584, + "id": 1076, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "29827:7:1", + "src": "30655:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13253,19 +13253,19 @@ "visibility": "internal" } ], - "src": "29826:9:1" + "src": "30654:9:0" }, - "scope": 1921, - "src": "29771:107:1", + "scope": 1413, + "src": "30599:109:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1616, + "id": 1108, "nodeType": "Block", - "src": "30286:125:1", + "src": "31128:128:0", "statements": [ { "expression": { @@ -13275,7 +13275,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1607, + "id": 1099, "isConstant": false, "isLValue": false, "isPure": false, @@ -13283,39 +13283,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1603, + "id": 1095, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30304:3:1", + "referencedDeclaration": 1087, + "src": "31147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1604, + "id": 1096, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30304:11:1", + "referencedDeclaration": 927, + "src": "31147:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1605, + "id": 1097, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "30304:18:1", + "src": "31147:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13324,18 +13324,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 1606, + "id": 1098, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30325:5:1", + "referencedDeclaration": 1089, + "src": "31168:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "30304:26:1", + "src": "31147:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13343,14 +13343,14 @@ }, { "hexValue": "456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473", - "id": 1608, + "id": 1100, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "30332:36:1", + "src": "31175:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_045d6834e6193a687012a3ad777f612279e549b6945364d9d2324f48610d3cbb", "typeString": "literal_string \"EnumerableSet: index out of bounds\"" @@ -13369,7 +13369,7 @@ "typeString": "literal_string \"EnumerableSet: index out of bounds\"" } ], - "id": 1602, + "id": 1094, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -13377,13 +13377,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "30296:7:1", + "src": "31139:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1609, + "id": 1101, "isConstant": false, "isLValue": false, "isPure": false, @@ -13391,54 +13391,54 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30296:73:1", + "src": "31139:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1610, + "id": 1102, "nodeType": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "expression": { "baseExpression": { "expression": { - "id": 1611, + "id": 1103, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30386:3:1", + "referencedDeclaration": 1087, + "src": "31230:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1612, + "id": 1104, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30386:11:1", + "referencedDeclaration": 927, + "src": "31230:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1614, + "id": 1106, "indexExpression": { - "id": 1613, + "id": 1105, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30398:5:1", + "referencedDeclaration": 1089, + "src": "31242:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13449,57 +13449,57 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "30386:18:1", + "src": "31230:18:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1601, - "id": 1615, + "functionReturnParameters": 1093, + "id": 1107, "nodeType": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ] }, "documentation": { - "id": 1593, + "id": 1085, "nodeType": "StructuredDocumentation", - "src": "29883:322:1", + "src": "30715:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1617, + "id": 1109, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1598, + "id": 1090, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1595, + "id": 1087, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30223:15:1", + "scope": 1109, + "src": "31065:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1594, + "id": 1086, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30223:3:1", + "referencedDeclaration": 932, + "src": "31065:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13507,12 +13507,12 @@ }, { "constant": false, - "id": 1597, + "id": 1089, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30240:13:1", + "scope": 1109, + "src": "31082:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13520,10 +13520,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1596, + "id": 1088, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "30240:7:1", + "src": "31082:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13532,20 +13532,20 @@ "visibility": "internal" } ], - "src": "30222:32:1" + "src": "31064:32:0" }, "returnParameters": { - "id": 1601, + "id": 1093, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1600, + "id": 1092, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30277:7:1", + "scope": 1109, + "src": "31119:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13553,10 +13553,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1599, + "id": 1091, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30277:7:1", + "src": "31119:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13565,40 +13565,40 @@ "visibility": "internal" } ], - "src": "30276:9:1" + "src": "31118:9:0" }, - "scope": 1921, - "src": "30210:201:1", + "scope": 1413, + "src": "31052:204:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableSet.Bytes32Set", - "id": 1620, + "id": 1112, "members": [ { "constant": false, - "id": 1619, + "id": 1111, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1620, - "src": "30464:10:1", + "scope": 1112, + "src": "31314:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1618, + "id": 1110, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30464:3:1", + "referencedDeclaration": 932, + "src": "31314:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13607,53 +13607,53 @@ ], "name": "Bytes32Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "30436:45:1", + "scope": 1413, + "src": "31285:47:0", "visibility": "public" }, { "body": { - "id": 1636, + "id": 1128, "nodeType": "Block", - "src": "30727:47:1", + "src": "31586:49:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1631, + "id": 1123, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1623, - "src": "30749:3:1", + "referencedDeclaration": 1115, + "src": "31609:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1632, + "id": 1124, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "30749:10:1", + "referencedDeclaration": 1111, + "src": "31609:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1633, + "id": 1125, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "30761:5:1", + "referencedDeclaration": 1117, + "src": "31621:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13663,7 +13663,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -13671,18 +13671,18 @@ "typeString": "bytes32" } ], - "id": 1630, + "id": 1122, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "30744:4:1", + "referencedDeclaration": 973, + "src": "31604:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1634, + "id": 1126, "isConstant": false, "isLValue": false, "isPure": false, @@ -13690,58 +13690,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30744:23:1", + "src": "31604:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1629, - "id": 1635, + "functionReturnParameters": 1121, + "id": 1127, "nodeType": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ] }, "documentation": { - "id": 1621, + "id": 1113, "nodeType": "StructuredDocumentation", - "src": "30487:159:1", + "src": "31340:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1637, + "id": 1129, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1626, + "id": 1118, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1623, + "id": 1115, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30664:22:1", + "scope": 1129, + "src": "31523:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1622, + "id": 1114, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30664:10:1", + "referencedDeclaration": 1112, + "src": "31523:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -13749,12 +13749,12 @@ }, { "constant": false, - "id": 1625, + "id": 1117, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30688:13:1", + "scope": 1129, + "src": "31547:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13762,10 +13762,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1624, + "id": 1116, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30688:7:1", + "src": "31547:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13774,20 +13774,20 @@ "visibility": "internal" } ], - "src": "30663:39:1" + "src": "31522:39:0" }, "returnParameters": { - "id": 1629, + "id": 1121, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1628, + "id": 1120, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30721:4:1", + "scope": 1129, + "src": "31580:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13795,10 +13795,10 @@ "typeString": "bool" }, "typeName": { - "id": 1627, + "id": 1119, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "30721:4:1", + "src": "31580:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13807,57 +13807,57 @@ "visibility": "internal" } ], - "src": "30720:6:1" + "src": "31579:6:0" }, - "scope": 1921, - "src": "30651:123:1", + "scope": 1413, + "src": "31510:125:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1653, + "id": 1145, "nodeType": "Block", - "src": "31021:50:1", + "src": "31890:52:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1648, + "id": 1140, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1640, - "src": "31046:3:1", + "referencedDeclaration": 1132, + "src": "31916:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1649, + "id": 1141, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31046:10:1", + "referencedDeclaration": 1111, + "src": "31916:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1650, + "id": 1142, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1642, - "src": "31058:5:1", + "referencedDeclaration": 1134, + "src": "31928:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13867,7 +13867,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -13875,18 +13875,18 @@ "typeString": "bytes32" } ], - "id": 1647, + "id": 1139, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "31038:7:1", + "referencedDeclaration": 1053, + "src": "31908:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1651, + "id": 1143, "isConstant": false, "isLValue": false, "isPure": false, @@ -13894,58 +13894,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31038:26:1", + "src": "31908:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1646, - "id": 1652, + "functionReturnParameters": 1138, + "id": 1144, "nodeType": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ] }, "documentation": { - "id": 1638, + "id": 1130, "nodeType": "StructuredDocumentation", - "src": "30780:157:1", + "src": "31643:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1654, + "id": 1146, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1643, + "id": 1135, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1640, + "id": 1132, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30958:22:1", + "scope": 1146, + "src": "31827:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1639, + "id": 1131, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30958:10:1", + "referencedDeclaration": 1112, + "src": "31827:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -13953,12 +13953,12 @@ }, { "constant": false, - "id": 1642, + "id": 1134, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30982:13:1", + "scope": 1146, + "src": "31851:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13966,10 +13966,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1641, + "id": 1133, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30982:7:1", + "src": "31851:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13978,20 +13978,20 @@ "visibility": "internal" } ], - "src": "30957:39:1" + "src": "31826:39:0" }, "returnParameters": { - "id": 1646, + "id": 1138, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1645, + "id": 1137, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "31015:4:1", + "scope": 1146, + "src": "31884:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13999,10 +13999,10 @@ "typeString": "bool" }, "typeName": { - "id": 1644, + "id": 1136, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31015:4:1", + "src": "31884:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14011,57 +14011,57 @@ "visibility": "internal" } ], - "src": "31014:6:1" + "src": "31883:6:0" }, - "scope": 1921, - "src": "30942:129:1", + "scope": 1413, + "src": "31811:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1670, + "id": 1162, "nodeType": "Block", - "src": "31238:52:1", + "src": "32114:54:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1665, + "id": 1157, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "31265:3:1", + "referencedDeclaration": 1149, + "src": "32142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1666, + "id": 1158, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31265:10:1", + "referencedDeclaration": 1111, + "src": "32142:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1667, + "id": 1159, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1659, - "src": "31277:5:1", + "referencedDeclaration": 1151, + "src": "32154:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14071,7 +14071,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14079,18 +14079,18 @@ "typeString": "bytes32" } ], - "id": 1664, + "id": 1156, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "31255:9:1", + "referencedDeclaration": 1071, + "src": "32132:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1668, + "id": 1160, "isConstant": false, "isLValue": false, "isPure": false, @@ -14098,58 +14098,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31255:28:1", + "src": "32132:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1663, - "id": 1669, + "functionReturnParameters": 1155, + "id": 1161, "nodeType": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ] }, "documentation": { - "id": 1655, + "id": 1147, "nodeType": "StructuredDocumentation", - "src": "31077:70:1", + "src": "31950:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1671, + "id": 1163, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1660, + "id": 1152, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1657, + "id": 1149, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31170:22:1", + "scope": 1163, + "src": "32046:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1656, + "id": 1148, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31170:10:1", + "referencedDeclaration": 1112, + "src": "32046:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14157,12 +14157,12 @@ }, { "constant": false, - "id": 1659, + "id": 1151, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31194:13:1", + "scope": 1163, + "src": "32070:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14170,10 +14170,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1658, + "id": 1150, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31194:7:1", + "src": "32070:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14182,20 +14182,20 @@ "visibility": "internal" } ], - "src": "31169:39:1" + "src": "32045:39:0" }, "returnParameters": { - "id": 1663, + "id": 1155, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1662, + "id": 1154, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31232:4:1", + "scope": 1163, + "src": "32108:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14203,10 +14203,10 @@ "typeString": "bool" }, "typeName": { - "id": 1661, + "id": 1153, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31232:4:1", + "src": "32108:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14215,47 +14215,47 @@ "visibility": "internal" } ], - "src": "31231:6:1" + "src": "32107:6:0" }, - "scope": 1921, - "src": "31152:138:1", + "scope": 1413, + "src": "32028:140:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1684, + "id": 1176, "nodeType": "Block", - "src": "31443:43:1", + "src": "32326:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1680, + "id": 1172, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "31468:3:1", + "referencedDeclaration": 1166, + "src": "32352:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1681, + "id": 1173, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31468:10:1", + "referencedDeclaration": 1111, + "src": "32352:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -14263,22 +14263,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1679, + "id": 1171, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "31460:7:1", + "referencedDeclaration": 1084, + "src": "32344:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1682, + "id": 1174, "isConstant": false, "isLValue": false, "isPure": false, @@ -14286,78 +14286,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31460:19:1", + "src": "32344:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1678, - "id": 1683, + "functionReturnParameters": 1170, + "id": 1175, "nodeType": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ] }, "documentation": { - "id": 1672, + "id": 1164, "nodeType": "StructuredDocumentation", - "src": "31296:70:1", + "src": "32176:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1685, + "id": 1177, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1675, + "id": 1167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1674, + "id": 1166, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31387:22:1", + "scope": 1177, + "src": "32270:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1673, + "id": 1165, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31387:10:1", + "referencedDeclaration": 1112, + "src": "32270:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, "visibility": "internal" } ], - "src": "31386:24:1" + "src": "32269:24:0" }, "returnParameters": { - "id": 1678, + "id": 1170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1677, + "id": 1169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31434:7:1", + "scope": 1177, + "src": "32317:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14365,10 +14365,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1676, + "id": 1168, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31434:7:1", + "src": "32317:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14377,57 +14377,57 @@ "visibility": "internal" } ], - "src": "31433:9:1" + "src": "32316:9:0" }, - "scope": 1921, - "src": "31371:115:1", + "scope": 1413, + "src": "32254:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1701, + "id": 1193, "nodeType": "Block", - "src": "31901:46:1", + "src": "32798:48:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1696, + "id": 1188, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1688, - "src": "31922:3:1", + "referencedDeclaration": 1180, + "src": "32820:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1697, + "id": 1189, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31922:10:1", + "referencedDeclaration": 1111, + "src": "32820:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1698, + "id": 1190, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "31934:5:1", + "referencedDeclaration": 1182, + "src": "32832:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14437,7 +14437,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14445,18 +14445,18 @@ "typeString": "uint256" } ], - "id": 1695, + "id": 1187, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "31918:3:1", + "referencedDeclaration": 1109, + "src": "32816:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1699, + "id": 1191, "isConstant": false, "isLValue": false, "isPure": false, @@ -14464,58 +14464,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31918:22:1", + "src": "32816:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1694, - "id": 1700, + "functionReturnParameters": 1186, + "id": 1192, "nodeType": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ] }, "documentation": { - "id": 1686, + "id": 1178, "nodeType": "StructuredDocumentation", - "src": "31491:322:1", + "src": "32378:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1702, + "id": 1194, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1691, + "id": 1183, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1688, + "id": 1180, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31830:22:1", + "scope": 1194, + "src": "32727:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1687, + "id": 1179, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31830:10:1", + "referencedDeclaration": 1112, + "src": "32727:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14523,12 +14523,12 @@ }, { "constant": false, - "id": 1690, + "id": 1182, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31854:13:1", + "scope": 1194, + "src": "32751:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14536,10 +14536,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1689, + "id": 1181, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31854:7:1", + "src": "32751:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14548,20 +14548,20 @@ "visibility": "internal" } ], - "src": "31829:39:1" + "src": "32726:39:0" }, "returnParameters": { - "id": 1694, + "id": 1186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1693, + "id": 1185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31892:7:1", + "scope": 1194, + "src": "32789:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14569,10 +14569,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1692, + "id": 1184, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31892:7:1", + "src": "32789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14581,40 +14581,40 @@ "visibility": "internal" } ], - "src": "31891:9:1" + "src": "32788:9:0" }, - "scope": 1921, - "src": "31818:129:1", + "scope": 1413, + "src": "32715:131:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.AddressSet", - "id": 1705, + "id": 1197, "members": [ { "constant": false, - "id": 1704, + "id": 1196, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1705, - "src": "32000:10:1", + "scope": 1197, + "src": "32904:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1703, + "id": 1195, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "32000:3:1", + "referencedDeclaration": 932, + "src": "32904:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -14623,43 +14623,43 @@ ], "name": "AddressSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "31972:45:1", + "scope": 1413, + "src": "32875:47:0", "visibility": "public" }, { "body": { - "id": 1730, + "id": 1222, "nodeType": "Block", - "src": "32263:74:1", + "src": "33176:76:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1716, + "id": 1208, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1708, - "src": "32285:3:1", + "referencedDeclaration": 1200, + "src": "33199:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1717, + "id": 1209, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32285:10:1", + "referencedDeclaration": 1196, + "src": "33199:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -14670,12 +14670,12 @@ { "arguments": [ { - "id": 1724, + "id": 1216, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1710, - "src": "32321:5:1", + "referencedDeclaration": 1202, + "src": "33235:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14689,26 +14689,26 @@ "typeString": "address" } ], - "id": 1723, + "id": 1215, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1722, + "id": 1214, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": {} } }, - "id": 1725, + "id": 1217, "isConstant": false, "isLValue": false, "isPure": false, @@ -14716,7 +14716,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32313:14:1", + "src": "33227:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -14731,26 +14731,26 @@ "typeString": "uint160" } ], - "id": 1721, + "id": 1213, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1720, + "id": 1212, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": {} } }, - "id": 1726, + "id": 1218, "isConstant": false, "isLValue": false, "isPure": false, @@ -14758,7 +14758,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32305:23:1", + "src": "33219:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -14773,26 +14773,26 @@ "typeString": "uint256" } ], - "id": 1719, + "id": 1211, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1718, + "id": 1210, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": {} } }, - "id": 1727, + "id": 1219, "isConstant": false, "isLValue": false, "isPure": false, @@ -14800,7 +14800,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32297:32:1", + "src": "33211:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -14811,7 +14811,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14819,18 +14819,18 @@ "typeString": "bytes32" } ], - "id": 1715, + "id": 1207, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "32280:4:1", + "referencedDeclaration": 973, + "src": "33194:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1728, + "id": 1220, "isConstant": false, "isLValue": false, "isPure": false, @@ -14838,58 +14838,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32280:50:1", + "src": "33194:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1714, - "id": 1729, + "functionReturnParameters": 1206, + "id": 1221, "nodeType": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ] }, "documentation": { - "id": 1706, + "id": 1198, "nodeType": "StructuredDocumentation", - "src": "32023:159:1", + "src": "32930:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1731, + "id": 1223, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1711, + "id": 1203, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1708, + "id": 1200, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32200:22:1", + "scope": 1223, + "src": "33113:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1707, + "id": 1199, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32200:10:1", + "referencedDeclaration": 1197, + "src": "33113:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -14897,12 +14897,12 @@ }, { "constant": false, - "id": 1710, + "id": 1202, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32224:13:1", + "scope": 1223, + "src": "33137:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14910,10 +14910,10 @@ "typeString": "address" }, "typeName": { - "id": 1709, + "id": 1201, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32224:7:1", + "src": "33137:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -14923,20 +14923,20 @@ "visibility": "internal" } ], - "src": "32199:39:1" + "src": "33112:39:0" }, "returnParameters": { - "id": 1714, + "id": 1206, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1713, + "id": 1205, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32257:4:1", + "scope": 1223, + "src": "33170:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14944,10 +14944,10 @@ "typeString": "bool" }, "typeName": { - "id": 1712, + "id": 1204, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32257:4:1", + "src": "33170:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14956,47 +14956,47 @@ "visibility": "internal" } ], - "src": "32256:6:1" + "src": "33169:6:0" }, - "scope": 1921, - "src": "32187:150:1", + "scope": 1413, + "src": "33100:152:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1756, + "id": 1248, "nodeType": "Block", - "src": "32584:77:1", + "src": "33507:79:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1742, + "id": 1234, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1734, - "src": "32609:3:1", + "referencedDeclaration": 1226, + "src": "33533:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1743, + "id": 1235, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32609:10:1", + "referencedDeclaration": 1196, + "src": "33533:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15007,12 +15007,12 @@ { "arguments": [ { - "id": 1750, + "id": 1242, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1736, - "src": "32645:5:1", + "referencedDeclaration": 1228, + "src": "33569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15026,26 +15026,26 @@ "typeString": "address" } ], - "id": 1749, + "id": 1241, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1748, + "id": 1240, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": {} } }, - "id": 1751, + "id": 1243, "isConstant": false, "isLValue": false, "isPure": false, @@ -15053,7 +15053,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32637:14:1", + "src": "33561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15068,26 +15068,26 @@ "typeString": "uint160" } ], - "id": 1747, + "id": 1239, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1746, + "id": 1238, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": {} } }, - "id": 1752, + "id": 1244, "isConstant": false, "isLValue": false, "isPure": false, @@ -15095,7 +15095,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32629:23:1", + "src": "33553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15110,26 +15110,26 @@ "typeString": "uint256" } ], - "id": 1745, + "id": 1237, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1744, + "id": 1236, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": {} } }, - "id": 1753, + "id": 1245, "isConstant": false, "isLValue": false, "isPure": false, @@ -15137,7 +15137,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32621:32:1", + "src": "33545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15148,7 +15148,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15156,18 +15156,18 @@ "typeString": "bytes32" } ], - "id": 1741, + "id": 1233, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "32601:7:1", + "referencedDeclaration": 1053, + "src": "33525:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1754, + "id": 1246, "isConstant": false, "isLValue": false, "isPure": false, @@ -15175,58 +15175,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32601:53:1", + "src": "33525:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1740, - "id": 1755, + "functionReturnParameters": 1232, + "id": 1247, "nodeType": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ] }, "documentation": { - "id": 1732, + "id": 1224, "nodeType": "StructuredDocumentation", - "src": "32343:157:1", + "src": "33260:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1757, + "id": 1249, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1737, + "id": 1229, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1734, + "id": 1226, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32521:22:1", + "scope": 1249, + "src": "33444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1733, + "id": 1225, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32521:10:1", + "referencedDeclaration": 1197, + "src": "33444:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15234,12 +15234,12 @@ }, { "constant": false, - "id": 1736, + "id": 1228, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32545:13:1", + "scope": 1249, + "src": "33468:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15247,10 +15247,10 @@ "typeString": "address" }, "typeName": { - "id": 1735, + "id": 1227, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32545:7:1", + "src": "33468:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15260,20 +15260,20 @@ "visibility": "internal" } ], - "src": "32520:39:1" + "src": "33443:39:0" }, "returnParameters": { - "id": 1740, + "id": 1232, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1739, + "id": 1231, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32578:4:1", + "scope": 1249, + "src": "33501:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15281,10 +15281,10 @@ "typeString": "bool" }, "typeName": { - "id": 1738, + "id": 1230, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32578:4:1", + "src": "33501:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15293,47 +15293,47 @@ "visibility": "internal" } ], - "src": "32577:6:1" + "src": "33500:6:0" }, - "scope": 1921, - "src": "32505:156:1", + "scope": 1413, + "src": "33428:158:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1782, + "id": 1274, "nodeType": "Block", - "src": "32828:79:1", + "src": "33758:81:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1768, + "id": 1260, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1760, - "src": "32855:3:1", + "referencedDeclaration": 1252, + "src": "33786:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1769, + "id": 1261, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32855:10:1", + "referencedDeclaration": 1196, + "src": "33786:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15344,12 +15344,12 @@ { "arguments": [ { - "id": 1776, + "id": 1268, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1762, - "src": "32891:5:1", + "referencedDeclaration": 1254, + "src": "33822:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15363,26 +15363,26 @@ "typeString": "address" } ], - "id": 1775, + "id": 1267, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1774, + "id": 1266, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": {} } }, - "id": 1777, + "id": 1269, "isConstant": false, "isLValue": false, "isPure": false, @@ -15390,7 +15390,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32883:14:1", + "src": "33814:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15405,26 +15405,26 @@ "typeString": "uint160" } ], - "id": 1773, + "id": 1265, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1772, + "id": 1264, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": {} } }, - "id": 1778, + "id": 1270, "isConstant": false, "isLValue": false, "isPure": false, @@ -15432,7 +15432,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32875:23:1", + "src": "33806:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15447,26 +15447,26 @@ "typeString": "uint256" } ], - "id": 1771, + "id": 1263, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1770, + "id": 1262, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": {} } }, - "id": 1779, + "id": 1271, "isConstant": false, "isLValue": false, "isPure": false, @@ -15474,7 +15474,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32867:32:1", + "src": "33798:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15485,7 +15485,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15493,18 +15493,18 @@ "typeString": "bytes32" } ], - "id": 1767, + "id": 1259, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "32845:9:1", + "referencedDeclaration": 1071, + "src": "33776:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1780, + "id": 1272, "isConstant": false, "isLValue": false, "isPure": false, @@ -15512,58 +15512,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32845:55:1", + "src": "33776:55:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1766, - "id": 1781, + "functionReturnParameters": 1258, + "id": 1273, "nodeType": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ] }, "documentation": { - "id": 1758, + "id": 1250, "nodeType": "StructuredDocumentation", - "src": "32667:70:1", + "src": "33594:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1783, + "id": 1275, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1763, + "id": 1255, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1760, + "id": 1252, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32760:22:1", + "scope": 1275, + "src": "33690:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1759, + "id": 1251, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32760:10:1", + "referencedDeclaration": 1197, + "src": "33690:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15571,12 +15571,12 @@ }, { "constant": false, - "id": 1762, + "id": 1254, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32784:13:1", + "scope": 1275, + "src": "33714:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15584,10 +15584,10 @@ "typeString": "address" }, "typeName": { - "id": 1761, + "id": 1253, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32784:7:1", + "src": "33714:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15597,20 +15597,20 @@ "visibility": "internal" } ], - "src": "32759:39:1" + "src": "33689:39:0" }, "returnParameters": { - "id": 1766, + "id": 1258, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1765, + "id": 1257, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32822:4:1", + "scope": 1275, + "src": "33752:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15618,10 +15618,10 @@ "typeString": "bool" }, "typeName": { - "id": 1764, + "id": 1256, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32822:4:1", + "src": "33752:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15630,47 +15630,47 @@ "visibility": "internal" } ], - "src": "32821:6:1" + "src": "33751:6:0" }, - "scope": 1921, - "src": "32742:165:1", + "scope": 1413, + "src": "33672:167:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1796, + "id": 1288, "nodeType": "Block", - "src": "33060:43:1", + "src": "33997:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1792, + "id": 1284, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1786, - "src": "33085:3:1", + "referencedDeclaration": 1278, + "src": "34023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1793, + "id": 1285, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33085:10:1", + "referencedDeclaration": 1196, + "src": "34023:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -15678,22 +15678,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1791, + "id": 1283, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "33077:7:1", + "referencedDeclaration": 1084, + "src": "34015:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1794, + "id": 1286, "isConstant": false, "isLValue": false, "isPure": false, @@ -15701,78 +15701,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33077:19:1", + "src": "34015:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1790, - "id": 1795, + "functionReturnParameters": 1282, + "id": 1287, "nodeType": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ] }, "documentation": { - "id": 1784, + "id": 1276, "nodeType": "StructuredDocumentation", - "src": "32913:70:1", + "src": "33847:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1797, + "id": 1289, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1787, + "id": 1279, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1786, + "id": 1278, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33004:22:1", + "scope": 1289, + "src": "33941:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1785, + "id": 1277, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33004:10:1", + "referencedDeclaration": 1197, + "src": "33941:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, "visibility": "internal" } ], - "src": "33003:24:1" + "src": "33940:24:0" }, "returnParameters": { - "id": 1790, + "id": 1282, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1789, + "id": 1281, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33051:7:1", + "scope": 1289, + "src": "33988:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15780,10 +15780,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1788, + "id": 1280, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33051:7:1", + "src": "33988:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15792,19 +15792,19 @@ "visibility": "internal" } ], - "src": "33050:9:1" + "src": "33987:9:0" }, - "scope": 1921, - "src": "32988:115:1", + "scope": 1413, + "src": "33925:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1822, + "id": 1314, "nodeType": "Block", - "src": "33518:73:1", + "src": "34469:75:0", "statements": [ { "expression": { @@ -15817,38 +15817,38 @@ "arguments": [ { "expression": { - "id": 1814, + "id": 1306, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1800, - "src": "33563:3:1", + "referencedDeclaration": 1292, + "src": "34515:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1815, + "id": 1307, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33563:10:1", + "referencedDeclaration": 1196, + "src": "34515:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1816, + "id": 1308, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1802, - "src": "33575:5:1", + "referencedDeclaration": 1294, + "src": "34527:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15858,7 +15858,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15866,18 +15866,18 @@ "typeString": "uint256" } ], - "id": 1813, + "id": 1305, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "33559:3:1", + "referencedDeclaration": 1109, + "src": "34511:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1817, + "id": 1309, "isConstant": false, "isLValue": false, "isPure": false, @@ -15885,7 +15885,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33559:22:1", + "src": "34511:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15900,26 +15900,26 @@ "typeString": "bytes32" } ], - "id": 1812, + "id": 1304, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1811, + "id": 1303, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": {} } }, - "id": 1818, + "id": 1310, "isConstant": false, "isLValue": false, "isPure": false, @@ -15927,7 +15927,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33551:31:1", + "src": "34503:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15942,26 +15942,26 @@ "typeString": "uint256" } ], - "id": 1810, + "id": 1302, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1809, + "id": 1301, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": {} } }, - "id": 1819, + "id": 1311, "isConstant": false, "isLValue": false, "isPure": false, @@ -15969,7 +15969,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33543:40:1", + "src": "34495:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15984,26 +15984,26 @@ "typeString": "uint160" } ], - "id": 1808, + "id": 1300, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1807, + "id": 1299, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": {} } }, - "id": 1820, + "id": 1312, "isConstant": false, "isLValue": false, "isPure": false, @@ -16011,58 +16011,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33535:49:1", + "src": "34487:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 1806, - "id": 1821, + "functionReturnParameters": 1298, + "id": 1313, "nodeType": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ] }, "documentation": { - "id": 1798, + "id": 1290, "nodeType": "StructuredDocumentation", - "src": "33108:322:1", + "src": "34049:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1823, + "id": 1315, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1803, + "id": 1295, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1800, + "id": 1292, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33447:22:1", + "scope": 1315, + "src": "34398:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1799, + "id": 1291, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33447:10:1", + "referencedDeclaration": 1197, + "src": "34398:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -16070,12 +16070,12 @@ }, { "constant": false, - "id": 1802, + "id": 1294, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33471:13:1", + "scope": 1315, + "src": "34422:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16083,10 +16083,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1801, + "id": 1293, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33471:7:1", + "src": "34422:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16095,20 +16095,20 @@ "visibility": "internal" } ], - "src": "33446:39:1" + "src": "34397:39:0" }, "returnParameters": { - "id": 1806, + "id": 1298, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1805, + "id": 1297, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33509:7:1", + "scope": 1315, + "src": "34460:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16116,10 +16116,10 @@ "typeString": "address" }, "typeName": { - "id": 1804, + "id": 1296, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33509:7:1", + "src": "34460:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16129,40 +16129,40 @@ "visibility": "internal" } ], - "src": "33508:9:1" + "src": "34459:9:0" }, - "scope": 1921, - "src": "33435:156:1", + "scope": 1413, + "src": "34386:158:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.UintSet", - "id": 1826, + "id": 1318, "members": [ { "constant": false, - "id": 1825, + "id": 1317, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1826, - "src": "33639:10:1", + "scope": 1318, + "src": "34598:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1824, + "id": 1316, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "33639:3:1", + "referencedDeclaration": 932, + "src": "34598:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -16171,55 +16171,55 @@ ], "name": "UintSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "33614:42:1", + "scope": 1413, + "src": "34572:44:0", "visibility": "public" }, { "body": { - "id": 1845, + "id": 1337, "nodeType": "Block", - "src": "33899:56:1", + "src": "34867:58:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1837, + "id": 1329, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1829, - "src": "33921:3:1", + "referencedDeclaration": 1321, + "src": "34890:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1838, + "id": 1330, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "33921:10:1", + "referencedDeclaration": 1317, + "src": "34890:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1841, + "id": 1333, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1831, - "src": "33941:5:1", + "referencedDeclaration": 1323, + "src": "34910:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16233,26 +16233,26 @@ "typeString": "uint256" } ], - "id": 1840, + "id": 1332, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1839, + "id": 1331, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": {} } }, - "id": 1842, + "id": 1334, "isConstant": false, "isLValue": false, "isPure": false, @@ -16260,7 +16260,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33933:14:1", + "src": "34902:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16271,7 +16271,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16279,18 +16279,18 @@ "typeString": "bytes32" } ], - "id": 1836, + "id": 1328, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "33916:4:1", + "referencedDeclaration": 973, + "src": "34885:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1843, + "id": 1335, "isConstant": false, "isLValue": false, "isPure": false, @@ -16298,58 +16298,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33916:32:1", + "src": "34885:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1835, - "id": 1844, + "functionReturnParameters": 1327, + "id": 1336, "nodeType": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ] }, "documentation": { - "id": 1827, + "id": 1319, "nodeType": "StructuredDocumentation", - "src": "33662:159:1", + "src": "34624:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1846, + "id": 1338, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1832, + "id": 1324, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1829, + "id": 1321, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33839:19:1", + "scope": 1338, + "src": "34807:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1828, + "id": 1320, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "33839:7:1", + "referencedDeclaration": 1318, + "src": "34807:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16357,12 +16357,12 @@ }, { "constant": false, - "id": 1831, + "id": 1323, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33860:13:1", + "scope": 1338, + "src": "34828:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16370,10 +16370,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1830, + "id": 1322, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33860:7:1", + "src": "34828:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16382,20 +16382,20 @@ "visibility": "internal" } ], - "src": "33838:36:1" + "src": "34806:36:0" }, "returnParameters": { - "id": 1835, + "id": 1327, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1834, + "id": 1326, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33893:4:1", + "scope": 1338, + "src": "34861:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16403,10 +16403,10 @@ "typeString": "bool" }, "typeName": { - "id": 1833, + "id": 1325, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "33893:4:1", + "src": "34861:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16415,59 +16415,59 @@ "visibility": "internal" } ], - "src": "33892:6:1" + "src": "34860:6:0" }, - "scope": 1921, - "src": "33826:129:1", + "scope": 1413, + "src": "34794:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1865, + "id": 1357, "nodeType": "Block", - "src": "34199:59:1", + "src": "35177:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1857, + "id": 1349, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1849, - "src": "34224:3:1", + "referencedDeclaration": 1341, + "src": "35203:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1858, + "id": 1350, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34224:10:1", + "referencedDeclaration": 1317, + "src": "35203:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1861, + "id": 1353, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1851, - "src": "34244:5:1", + "referencedDeclaration": 1343, + "src": "35223:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16481,26 +16481,26 @@ "typeString": "uint256" } ], - "id": 1860, + "id": 1352, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1859, + "id": 1351, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": {} } }, - "id": 1862, + "id": 1354, "isConstant": false, "isLValue": false, "isPure": false, @@ -16508,7 +16508,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34236:14:1", + "src": "35215:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16519,7 +16519,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16527,18 +16527,18 @@ "typeString": "bytes32" } ], - "id": 1856, + "id": 1348, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "34216:7:1", + "referencedDeclaration": 1053, + "src": "35195:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1863, + "id": 1355, "isConstant": false, "isLValue": false, "isPure": false, @@ -16546,58 +16546,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34216:35:1", + "src": "35195:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1855, - "id": 1864, + "functionReturnParameters": 1347, + "id": 1356, "nodeType": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ] }, "documentation": { - "id": 1847, + "id": 1339, "nodeType": "StructuredDocumentation", - "src": "33961:157:1", + "src": "34933:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1866, + "id": 1358, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1852, + "id": 1344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1849, + "id": 1341, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34139:19:1", + "scope": 1358, + "src": "35117:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1848, + "id": 1340, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34139:7:1", + "referencedDeclaration": 1318, + "src": "35117:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16605,12 +16605,12 @@ }, { "constant": false, - "id": 1851, + "id": 1343, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34160:13:1", + "scope": 1358, + "src": "35138:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16618,10 +16618,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1850, + "id": 1342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34160:7:1", + "src": "35138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16630,20 +16630,20 @@ "visibility": "internal" } ], - "src": "34138:36:1" + "src": "35116:36:0" }, "returnParameters": { - "id": 1855, + "id": 1347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1854, + "id": 1346, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34193:4:1", + "scope": 1358, + "src": "35171:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16651,10 +16651,10 @@ "typeString": "bool" }, "typeName": { - "id": 1853, + "id": 1345, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34193:4:1", + "src": "35171:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16663,59 +16663,59 @@ "visibility": "internal" } ], - "src": "34192:6:1" + "src": "35170:6:0" }, - "scope": 1921, - "src": "34123:135:1", + "scope": 1413, + "src": "35101:137:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1885, + "id": 1377, "nodeType": "Block", - "src": "34422:61:1", + "src": "35407:63:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1877, + "id": 1369, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1869, - "src": "34449:3:1", + "referencedDeclaration": 1361, + "src": "35435:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1878, + "id": 1370, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34449:10:1", + "referencedDeclaration": 1317, + "src": "35435:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1881, + "id": 1373, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1871, - "src": "34469:5:1", + "referencedDeclaration": 1363, + "src": "35455:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16729,26 +16729,26 @@ "typeString": "uint256" } ], - "id": 1880, + "id": 1372, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1879, + "id": 1371, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": {} } }, - "id": 1882, + "id": 1374, "isConstant": false, "isLValue": false, "isPure": false, @@ -16756,7 +16756,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34461:14:1", + "src": "35447:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16767,7 +16767,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16775,18 +16775,18 @@ "typeString": "bytes32" } ], - "id": 1876, + "id": 1368, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "34439:9:1", + "referencedDeclaration": 1071, + "src": "35425:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1883, + "id": 1375, "isConstant": false, "isLValue": false, "isPure": false, @@ -16794,58 +16794,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34439:37:1", + "src": "35425:37:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1875, - "id": 1884, + "functionReturnParameters": 1367, + "id": 1376, "nodeType": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ] }, "documentation": { - "id": 1867, + "id": 1359, "nodeType": "StructuredDocumentation", - "src": "34264:70:1", + "src": "35246:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1886, + "id": 1378, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1872, + "id": 1364, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1869, + "id": 1361, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34357:19:1", + "scope": 1378, + "src": "35342:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1868, + "id": 1360, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34357:7:1", + "referencedDeclaration": 1318, + "src": "35342:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16853,12 +16853,12 @@ }, { "constant": false, - "id": 1871, + "id": 1363, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34378:13:1", + "scope": 1378, + "src": "35363:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16866,10 +16866,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1870, + "id": 1362, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34378:7:1", + "src": "35363:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16878,20 +16878,20 @@ "visibility": "internal" } ], - "src": "34356:36:1" + "src": "35341:36:0" }, "returnParameters": { - "id": 1875, + "id": 1367, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1874, + "id": 1366, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34416:4:1", + "scope": 1378, + "src": "35401:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16899,10 +16899,10 @@ "typeString": "bool" }, "typeName": { - "id": 1873, + "id": 1365, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34416:4:1", + "src": "35401:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16911,47 +16911,47 @@ "visibility": "internal" } ], - "src": "34415:6:1" + "src": "35400:6:0" }, - "scope": 1921, - "src": "34339:144:1", + "scope": 1413, + "src": "35324:146:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1899, + "id": 1391, "nodeType": "Block", - "src": "34633:43:1", + "src": "35625:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1895, + "id": 1387, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1889, - "src": "34658:3:1", + "referencedDeclaration": 1381, + "src": "35651:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1896, + "id": 1388, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34658:10:1", + "referencedDeclaration": 1317, + "src": "35651:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -16959,22 +16959,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1894, + "id": 1386, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "34650:7:1", + "referencedDeclaration": 1084, + "src": "35643:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1897, + "id": 1389, "isConstant": false, "isLValue": false, "isPure": false, @@ -16982,78 +16982,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34650:19:1", + "src": "35643:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1893, - "id": 1898, + "functionReturnParameters": 1385, + "id": 1390, "nodeType": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ] }, "documentation": { - "id": 1887, + "id": 1379, "nodeType": "StructuredDocumentation", - "src": "34489:70:1", + "src": "35478:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1900, + "id": 1392, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1890, + "id": 1382, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1889, + "id": 1381, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34580:19:1", + "scope": 1392, + "src": "35572:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1888, + "id": 1380, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34580:7:1", + "referencedDeclaration": 1318, + "src": "35572:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, "visibility": "internal" } ], - "src": "34579:21:1" + "src": "35571:21:0" }, "returnParameters": { - "id": 1893, + "id": 1385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1892, + "id": 1384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34624:7:1", + "scope": 1392, + "src": "35616:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17061,10 +17061,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1891, + "id": 1383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34624:7:1", + "src": "35616:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17073,19 +17073,19 @@ "visibility": "internal" } ], - "src": "34623:9:1" + "src": "35615:9:0" }, - "scope": 1921, - "src": "34564:112:1", + "scope": 1413, + "src": "35556:114:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1919, + "id": 1411, "nodeType": "Block", - "src": "35088:55:1", + "src": "36094:57:0", "statements": [ { "expression": { @@ -17094,38 +17094,38 @@ "arguments": [ { "expression": { - "id": 1913, + "id": 1405, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1903, - "src": "35117:3:1", + "referencedDeclaration": 1395, + "src": "36124:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1914, + "id": 1406, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "35117:10:1", + "referencedDeclaration": 1317, + "src": "36124:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1915, + "id": 1407, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1905, - "src": "35129:5:1", + "referencedDeclaration": 1397, + "src": "36136:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17135,7 +17135,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -17143,18 +17143,18 @@ "typeString": "uint256" } ], - "id": 1912, + "id": 1404, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "35113:3:1", + "referencedDeclaration": 1109, + "src": "36120:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1916, + "id": 1408, "isConstant": false, "isLValue": false, "isPure": false, @@ -17162,7 +17162,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35113:22:1", + "src": "36120:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -17177,26 +17177,26 @@ "typeString": "bytes32" } ], - "id": 1911, + "id": 1403, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1910, + "id": 1402, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": {} } }, - "id": 1917, + "id": 1409, "isConstant": false, "isLValue": false, "isPure": false, @@ -17204,58 +17204,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35105:31:1", + "src": "36112:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1909, - "id": 1918, + "functionReturnParameters": 1401, + "id": 1410, "nodeType": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ] }, "documentation": { - "id": 1901, + "id": 1393, "nodeType": "StructuredDocumentation", - "src": "34681:322:1", + "src": "35677:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1920, + "id": 1412, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1906, + "id": 1398, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1903, + "id": 1395, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35020:19:1", + "scope": 1412, + "src": "36026:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1902, + "id": 1394, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "35020:7:1", + "referencedDeclaration": 1318, + "src": "36026:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -17263,12 +17263,12 @@ }, { "constant": false, - "id": 1905, + "id": 1397, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35041:13:1", + "scope": 1412, + "src": "36047:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17276,10 +17276,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1904, + "id": 1396, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35041:7:1", + "src": "36047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17288,20 +17288,20 @@ "visibility": "internal" } ], - "src": "35019:36:1" + "src": "36025:36:0" }, "returnParameters": { - "id": 1909, + "id": 1401, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1908, + "id": 1400, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35079:7:1", + "scope": 1412, + "src": "36085:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17309,10 +17309,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1907, + "id": 1399, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35079:7:1", + "src": "36085:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17321,20 +17321,20 @@ "visibility": "internal" } ], - "src": "35078:9:1" + "src": "36084:9:0" }, - "scope": 1921, - "src": "35008:135:1", + "scope": 1413, + "src": "36014:137:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "26511:8634:1" + "scope": 2991, + "src": "27252:8902:0" }, { - "id": 1922, + "id": 1414, "literals": [ "solidity", ">=", @@ -17345,7 +17345,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "abstract": false, @@ -17353,31 +17353,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1923, + "id": 1415, "nodeType": "StructuredDocumentation", - "src": "35237:705:1", + "src": "36251:728:0", "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, "fullyImplemented": true, - "id": 2480, + "id": 1972, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableMap.MapEntry", - "id": 1928, + "id": 1420, "members": [ { "constant": false, - "id": 1925, + "id": 1417, "mutability": "mutable", "name": "_key", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36455:12:1", + "scope": 1420, + "src": "37504:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17385,10 +17385,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1924, + "id": 1416, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36455:7:1", + "src": "37504:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17398,12 +17398,12 @@ }, { "constant": false, - "id": 1927, + "id": 1419, "mutability": "mutable", "name": "_value", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36477:14:1", + "scope": 1420, + "src": "37527:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17411,10 +17411,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1926, + "id": 1418, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36477:7:1", + "src": "37527:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17425,45 +17425,45 @@ ], "name": "MapEntry", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36429:69:1", + "scope": 1972, + "src": "37477:72:0", "visibility": "public" }, { "canonicalName": "EnumerableMap.Map", - "id": 1936, + "id": 1428, "members": [ { "constant": false, - "id": 1931, + "id": 1423, "mutability": "mutable", "name": "_entries", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36567:19:1", + "scope": 1428, + "src": "37622:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" }, "typeName": { "baseType": { - "id": 1929, + "id": 1421, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "36567:8:1", + "referencedDeclaration": 1420, + "src": "37622:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, - "id": 1930, + "id": 1422, "nodeType": "ArrayTypeName", - "src": "36567:10:1", + "src": "37622:10:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" } }, @@ -17471,12 +17471,12 @@ }, { "constant": false, - "id": 1935, + "id": 1427, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36736:37:1", + "scope": 1428, + "src": "37795:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17484,28 +17484,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1934, + "id": 1426, "keyType": { - "id": 1932, + "id": 1424, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36745:7:1", + "src": "37804:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "36736:28:1", + "src": "37795:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1933, + "id": 1425, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "36756:7:1", + "src": "37815:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17517,29 +17517,29 @@ ], "name": "Map", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36504:276:1", + "scope": 1972, + "src": "37557:283:0", "visibility": "public" }, { "body": { - "id": 1997, + "id": 1489, "nodeType": "Block", - "src": "37089:596:1", + "src": "38158:610:0", "statements": [ { "assignments": [ - 1949 + 1441 ], "declarations": [ { "constant": false, - "id": 1949, + "id": 1441, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 1997, - "src": "37197:16:1", + "scope": 1489, + "src": "38268:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17547,10 +17547,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1948, + "id": 1440, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "37197:7:1", + "src": "38268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17559,43 +17559,43 @@ "visibility": "internal" } ], - "id": 1954, + "id": 1446, "initialValue": { "baseExpression": { "expression": { - "id": 1950, + "id": 1442, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37216:3:1", + "referencedDeclaration": 1431, + "src": "38287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1951, + "id": 1443, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37216:12:1", + "referencedDeclaration": 1427, + "src": "38287:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1953, + "id": 1445, "indexExpression": { - "id": 1952, + "id": 1444, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37229:3:1", + "referencedDeclaration": 1433, + "src": "38300:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17606,14 +17606,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37216:17:1", + "src": "38287:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "condition": { @@ -17621,18 +17621,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1957, + "id": 1449, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1955, + "id": 1447, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37248:8:1", + "referencedDeclaration": 1441, + "src": "38321:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17642,34 +17642,34 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 1956, + "id": 1448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37260:1:1", + "src": "38333:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "37248:13:1", + "src": "38321:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1995, + "id": 1487, "nodeType": "Block", - "src": "37587:92:1", + "src": "38666:95:0", "statements": [ { "expression": { - "id": 1991, + "id": 1483, "isConstant": false, "isLValue": false, "isPure": false, @@ -17678,49 +17678,49 @@ "expression": { "baseExpression": { "expression": { - "id": 1982, + "id": 1474, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37601:3:1", + "referencedDeclaration": 1431, + "src": "38681:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1987, + "id": 1479, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37601:12:1", + "referencedDeclaration": 1423, + "src": "38681:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1988, + "id": 1480, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1986, + "id": 1478, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1984, + "id": 1476, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37614:8:1", + "referencedDeclaration": 1441, + "src": "38694:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17730,21 +17730,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1985, + "id": 1477, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37625:1:1", + "src": "38705:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "37614:12:1", + "src": "38694:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17755,21 +17755,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37601:26:1", + "src": "38681:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 1989, + "id": 1481, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "37601:33:1", + "referencedDeclaration": 1419, + "src": "38681:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17778,58 +17778,58 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1990, + "id": 1482, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37637:5:1", + "referencedDeclaration": 1435, + "src": "38717:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "37601:41:1", + "src": "38681:41:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1992, + "id": 1484, "nodeType": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "expression": { "hexValue": "66616c7365", - "id": 1993, + "id": 1485, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37663:5:1", + "src": "38744:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1947, - "id": 1994, + "functionReturnParameters": 1439, + "id": 1486, "nodeType": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ] }, - "id": 1996, + "id": 1488, "nodeType": "IfStatement", - "src": "37244:435:1", + "src": "38317:444:0", "trueBody": { - "id": 1981, + "id": 1473, "nodeType": "Block", - "src": "37263:318:1", + "src": "38336:324:0", "statements": [ { "expression": { @@ -17837,24 +17837,24 @@ { "arguments": [ { - "id": 1964, + "id": 1456, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37349:3:1", + "referencedDeclaration": 1433, + "src": "38423:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, { - "id": 1965, + "id": 1457, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37362:5:1", + "referencedDeclaration": 1435, + "src": "38436:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17872,18 +17872,18 @@ "typeString": "bytes32" } ], - "id": 1963, + "id": 1455, "name": "MapEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1928, - "src": "37332:8:1", + "referencedDeclaration": 1420, + "src": "38406:8:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_MapEntry_$1928_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_MapEntry_$1420_storage_ptr_$", "typeString": "type(struct EnumerableMap.MapEntry storage pointer)" } }, - "id": 1966, + "id": 1458, "isConstant": false, "isLValue": false, "isPure": false, @@ -17894,10 +17894,10 @@ "_value" ], "nodeType": "FunctionCall", - "src": "37332:38:1", + "src": "38406:38:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } } @@ -17905,51 +17905,51 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], "expression": { "expression": { - "id": 1958, + "id": 1450, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37314:3:1", + "referencedDeclaration": 1431, + "src": "38388:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1961, + "id": 1453, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37314:12:1", + "referencedDeclaration": 1423, + "src": "38388:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1962, + "id": 1454, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "37314:17:1", + "src": "38388:17:0", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1928_storage_$returns$__$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1420_storage_$returns$__$", "typeString": "function (struct EnumerableMap.MapEntry storage ref)" } }, - "id": 1967, + "id": 1459, "isConstant": false, "isLValue": false, "isPure": false, @@ -17957,20 +17957,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "37314:57:1", + "src": "38388:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1968, + "id": 1460, "nodeType": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "expression": { - "id": 1977, + "id": 1469, "isConstant": false, "isLValue": false, "isPure": false, @@ -17978,39 +17978,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1969, + "id": 1461, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37506:3:1", + "referencedDeclaration": 1431, + "src": "38583:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1972, + "id": 1464, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37506:12:1", + "referencedDeclaration": 1427, + "src": "38583:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1973, + "id": 1465, "indexExpression": { - "id": 1971, + "id": 1463, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37519:3:1", + "referencedDeclaration": 1433, + "src": "38596:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18021,7 +18021,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "37506:17:1", + "src": "38583:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18032,75 +18032,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1974, + "id": 1466, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37526:3:1", + "referencedDeclaration": 1431, + "src": "38603:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1975, + "id": 1467, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37526:12:1", + "referencedDeclaration": 1423, + "src": "38603:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1976, + "id": 1468, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "37526:19:1", + "src": "38603:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "37506:39:1", + "src": "38583:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1978, + "id": 1470, "nodeType": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "expression": { "hexValue": "74727565", - "id": 1979, + "id": 1471, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37566:4:1", + "src": "38644:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1947, - "id": 1980, + "functionReturnParameters": 1439, + "id": 1472, "nodeType": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ] } @@ -18108,43 +18108,43 @@ ] }, "documentation": { - "id": 1937, + "id": 1429, "nodeType": "StructuredDocumentation", - "src": "36786:216:1", + "src": "37848:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1998, + "id": 1490, "implemented": true, "kind": "function", "modifiers": [], "name": "_set", "nodeType": "FunctionDefinition", "parameters": { - "id": 1944, + "id": 1436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1939, + "id": 1431, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37021:15:1", + "scope": 1490, + "src": "38090:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 1938, + "id": 1430, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37021:3:1", + "referencedDeclaration": 1428, + "src": "38090:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -18152,12 +18152,12 @@ }, { "constant": false, - "id": 1941, + "id": 1433, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37038:11:1", + "scope": 1490, + "src": "38107:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18165,10 +18165,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1940, + "id": 1432, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37038:7:1", + "src": "38107:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18178,12 +18178,12 @@ }, { "constant": false, - "id": 1943, + "id": 1435, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37051:13:1", + "scope": 1490, + "src": "38120:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18191,10 +18191,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1942, + "id": 1434, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37051:7:1", + "src": "38120:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18203,20 +18203,20 @@ "visibility": "internal" } ], - "src": "37020:45:1" + "src": "38089:45:0" }, "returnParameters": { - "id": 1947, + "id": 1439, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1946, + "id": 1438, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37083:4:1", + "scope": 1490, + "src": "38152:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18224,10 +18224,10 @@ "typeString": "bool" }, "typeName": { - "id": 1945, + "id": 1437, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37083:4:1", + "src": "38152:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -18236,33 +18236,33 @@ "visibility": "internal" } ], - "src": "37082:6:1" + "src": "38151:6:0" }, - "scope": 2480, - "src": "37007:678:1", + "scope": 1972, + "src": "38076:692:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2078, + "id": 1570, "nodeType": "Block", - "src": "37923:1447:1", + "src": "39013:1479:0", "statements": [ { "assignments": [ - 2009 + 1501 ], "declarations": [ { "constant": false, - "id": 2009, + "id": 1501, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2078, - "src": "38031:16:1", + "scope": 1570, + "src": "39123:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18270,10 +18270,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2008, + "id": 1500, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38031:7:1", + "src": "39123:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18282,43 +18282,43 @@ "visibility": "internal" } ], - "id": 2014, + "id": 1506, "initialValue": { "baseExpression": { "expression": { - "id": 2010, + "id": 1502, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38050:3:1", + "referencedDeclaration": 1493, + "src": "39142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2011, + "id": 1503, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "38050:12:1", + "referencedDeclaration": 1427, + "src": "39142:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2013, + "id": 1505, "indexExpression": { - "id": 2012, + "id": 1504, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "38063:3:1", + "referencedDeclaration": 1495, + "src": "39155:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18329,14 +18329,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38050:17:1", + "src": "39142:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "condition": { @@ -18344,18 +18344,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2017, + "id": 1509, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2015, + "id": 1507, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38082:8:1", + "referencedDeclaration": 1501, + "src": "39176:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18365,76 +18365,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2016, + "id": 1508, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38094:1:1", + "src": "39188:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "38082:13:1", + "src": "39176:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 2076, + "id": 1568, "nodeType": "Block", - "src": "39327:37:1", + "src": "40446:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 2074, + "id": 1566, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39348:5:1", + "src": "40468:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 2007, - "id": 2075, + "functionReturnParameters": 1499, + "id": 1567, "nodeType": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ] }, - "id": 2077, + "id": 1569, "nodeType": "IfStatement", - "src": "38078:1286:1", + "src": "39172:1313:0", "trueBody": { - "id": 2073, + "id": 1565, "nodeType": "Block", - "src": "38097:1224:1", + "src": "39191:1249:0", "statements": [ { "assignments": [ - 2019 + 1511 ], "declarations": [ { "constant": false, - "id": 2019, + "id": 1511, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38438:21:1", + "scope": 1565, + "src": "39537:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18442,10 +18442,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2018, + "id": 1510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38438:7:1", + "src": "39537:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18454,24 +18454,24 @@ "visibility": "internal" } ], - "id": 2023, + "id": 1515, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2022, + "id": 1514, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2020, + "id": 1512, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38462:8:1", + "referencedDeclaration": 1501, + "src": "39561:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18481,42 +18481,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2021, + "id": 1513, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38473:1:1", + "src": "39572:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38462:12:1", + "src": "39561:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "assignments": [ - 2025 + 1517 ], "declarations": [ { "constant": false, - "id": 2025, + "id": 1517, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38488:17:1", + "scope": 1565, + "src": "39588:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18524,10 +18524,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2024, + "id": 1516, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38488:7:1", + "src": "39588:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18536,13 +18536,13 @@ "visibility": "internal" } ], - "id": 2031, + "id": 1523, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2030, + "id": 1522, "isConstant": false, "isLValue": false, "isPure": false, @@ -18550,39 +18550,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2026, + "id": 1518, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38508:3:1", + "referencedDeclaration": 1493, + "src": "39608:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2027, + "id": 1519, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38508:12:1", + "referencedDeclaration": 1423, + "src": "39608:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2028, + "id": 1520, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "38508:19:1", + "src": "39608:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18592,99 +18592,99 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2029, + "id": 1521, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38530:1:1", + "src": "39630:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38508:23:1", + "src": "39608:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "assignments": [ - 2033 + 1525 ], "declarations": [ { "constant": false, - "id": 2033, + "id": 1525, "mutability": "mutable", "name": "lastEntry", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38771:26:1", + "scope": 1565, + "src": "39876:26:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2032, + "id": 1524, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "38771:8:1", + "referencedDeclaration": 1420, + "src": "39876:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2038, + "id": 1530, "initialValue": { "baseExpression": { "expression": { - "id": 2034, + "id": 1526, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38800:3:1", + "referencedDeclaration": 1493, + "src": "39905:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2035, + "id": 1527, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38800:12:1", + "referencedDeclaration": 1423, + "src": "39905:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2037, + "id": 1529, "indexExpression": { - "id": 2036, + "id": 1528, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "38813:9:1", + "referencedDeclaration": 1517, + "src": "39918:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18695,18 +18695,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38800:23:1", + "src": "39905:23:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "expression": { - "id": 2045, + "id": 1537, "isConstant": false, "isLValue": false, "isPure": false, @@ -18714,39 +18714,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2039, + "id": 1531, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38915:3:1", + "referencedDeclaration": 1493, + "src": "40023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2042, + "id": 1534, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38915:12:1", + "referencedDeclaration": 1423, + "src": "40023:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2043, + "id": 1535, "indexExpression": { - "id": 2041, + "id": 1533, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "38928:13:1", + "referencedDeclaration": 1511, + "src": "40036:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18757,39 +18757,39 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "38915:27:1", + "src": "40023:27:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2044, + "id": 1536, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "38945:9:1", + "referencedDeclaration": 1525, + "src": "40053:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "src": "38915:39:1", + "src": "40023:39:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2046, + "id": 1538, "nodeType": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "expression": { - "id": 2056, + "id": 1548, "isConstant": false, "isLValue": false, "isPure": false, @@ -18797,54 +18797,54 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2047, + "id": 1539, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39020:3:1", + "referencedDeclaration": 1493, + "src": "40130:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2051, + "id": 1543, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39020:12:1", + "referencedDeclaration": 1427, + "src": "40130:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2052, + "id": 1544, "indexExpression": { "expression": { - "id": 2049, + "id": 1541, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "39033:9:1", + "referencedDeclaration": 1525, + "src": "40143:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2050, + "id": 1542, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "39033:14:1", + "referencedDeclaration": 1417, + "src": "40143:14:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18855,7 +18855,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39020:28:1", + "src": "40130:28:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18868,18 +18868,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2055, + "id": 1547, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2053, + "id": 1545, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "39051:13:1", + "referencedDeclaration": 1511, + "src": "40161:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18889,35 +18889,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 2054, + "id": 1546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39067:1:1", + "src": "40177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "39051:17:1", + "src": "40161:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "39020:48:1", + "src": "40130:48:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2057, + "id": 1549, "nodeType": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "expression": { @@ -18926,45 +18926,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 2058, + "id": 1550, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39174:3:1", + "referencedDeclaration": 1493, + "src": "40287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2061, + "id": 1553, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39174:12:1", + "referencedDeclaration": 1423, + "src": "40287:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2062, + "id": 1554, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "39174:16:1", + "src": "40287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 2063, + "id": 1555, "isConstant": false, "isLValue": false, "isPure": false, @@ -18972,20 +18972,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "39174:18:1", + "src": "40287:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2064, + "id": 1556, "nodeType": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "expression": { - "id": 2069, + "id": 1561, "isConstant": false, "isLValue": false, "isPure": false, @@ -18993,43 +18993,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "39260:24:1", + "src": "40376:24:0", "subExpression": { "baseExpression": { "expression": { - "id": 2065, + "id": 1557, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39267:3:1", + "referencedDeclaration": 1493, + "src": "40383:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2066, + "id": 1558, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39267:12:1", + "referencedDeclaration": 1427, + "src": "40383:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2068, + "id": 1560, "indexExpression": { - "id": 2067, + "id": 1559, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "39280:3:1", + "referencedDeclaration": 1495, + "src": "40396:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19040,7 +19040,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39267:17:1", + "src": "40383:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19051,31 +19051,31 @@ "typeString": "tuple()" } }, - "id": 2070, + "id": 1562, "nodeType": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "expression": { "hexValue": "74727565", - "id": 2071, + "id": 1563, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39306:4:1", + "src": "40424:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 2007, - "id": 2072, + "functionReturnParameters": 1499, + "id": 1564, "nodeType": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ] } @@ -19083,43 +19083,43 @@ ] }, "documentation": { - "id": 1999, + "id": 1491, "nodeType": "StructuredDocumentation", - "src": "37691:157:1", + "src": "38776:161:0", "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2079, + "id": 1571, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2004, + "id": 1496, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2001, + "id": 1493, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37870:15:1", + "scope": 1571, + "src": "38960:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2000, + "id": 1492, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37870:3:1", + "referencedDeclaration": 1428, + "src": "38960:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19127,12 +19127,12 @@ }, { "constant": false, - "id": 2003, + "id": 1495, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37887:11:1", + "scope": 1571, + "src": "38977:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19140,10 +19140,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2002, + "id": 1494, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37887:7:1", + "src": "38977:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19152,20 +19152,20 @@ "visibility": "internal" } ], - "src": "37869:30:1" + "src": "38959:30:0" }, "returnParameters": { - "id": 2007, + "id": 1499, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2006, + "id": 1498, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37917:4:1", + "scope": 1571, + "src": "39007:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19173,10 +19173,10 @@ "typeString": "bool" }, "typeName": { - "id": 2005, + "id": 1497, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37917:4:1", + "src": "39007:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19185,19 +19185,19 @@ "visibility": "internal" } ], - "src": "37916:6:1" + "src": "39006:6:0" }, - "scope": 2480, - "src": "37853:1517:1", + "scope": 1972, + "src": "38943:1549:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2096, + "id": 1588, "nodeType": "Block", - "src": "39526:46:1", + "src": "40653:48:0", "statements": [ { "expression": { @@ -19205,7 +19205,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2094, + "id": 1586, "isConstant": false, "isLValue": false, "isPure": false, @@ -19213,39 +19213,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 2089, + "id": 1581, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2082, - "src": "39543:3:1", + "referencedDeclaration": 1574, + "src": "40671:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2090, + "id": 1582, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39543:12:1", + "referencedDeclaration": 1427, + "src": "40671:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2092, + "id": 1584, "indexExpression": { - "id": 2091, + "id": 1583, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2084, - "src": "39556:3:1", + "referencedDeclaration": 1576, + "src": "40684:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19256,7 +19256,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "39543:17:1", + "src": "40671:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19266,71 +19266,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2093, + "id": 1585, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39564:1:1", + "src": "40692:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "39543:22:1", + "src": "40671:22:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2088, - "id": 2095, + "functionReturnParameters": 1580, + "id": 1587, "nodeType": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ] }, "documentation": { - "id": 2080, + "id": 1572, "nodeType": "StructuredDocumentation", - "src": "39376:68:1", + "src": "40500:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2097, + "id": 1589, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2085, + "id": 1577, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2082, + "id": 1574, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39468:15:1", + "scope": 1589, + "src": "40595:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2081, + "id": 1573, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39468:3:1", + "referencedDeclaration": 1428, + "src": "40595:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19338,12 +19338,12 @@ }, { "constant": false, - "id": 2084, + "id": 1576, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39485:11:1", + "scope": 1589, + "src": "40612:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19351,10 +19351,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2083, + "id": 1575, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "39485:7:1", + "src": "40612:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19363,20 +19363,20 @@ "visibility": "internal" } ], - "src": "39467:30:1" + "src": "40594:30:0" }, "returnParameters": { - "id": 2088, + "id": 1580, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2087, + "id": 1579, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39520:4:1", + "scope": 1589, + "src": "40647:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19384,10 +19384,10 @@ "typeString": "bool" }, "typeName": { - "id": 2086, + "id": 1578, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "39520:4:1", + "src": "40647:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19396,127 +19396,127 @@ "visibility": "internal" } ], - "src": "39519:6:1" + "src": "40646:6:0" }, - "scope": 2480, - "src": "39449:123:1", + "scope": 1972, + "src": "40576:125:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2109, + "id": 1601, "nodeType": "Block", - "src": "39727:43:1", + "src": "40861:45:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 2105, + "id": 1597, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2100, - "src": "39744:3:1", + "referencedDeclaration": 1592, + "src": "40879:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2106, + "id": 1598, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39744:12:1", + "referencedDeclaration": 1423, + "src": "40879:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2107, + "id": 1599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "39744:19:1", + "src": "40879:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2104, - "id": 2108, + "functionReturnParameters": 1596, + "id": 1600, "nodeType": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ] }, "documentation": { - "id": 2098, + "id": 1590, "nodeType": "StructuredDocumentation", - "src": "39578:79:1", + "src": "40709:81:0", "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2110, + "id": 1602, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2101, + "id": 1593, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2100, + "id": 1592, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39679:15:1", + "scope": 1602, + "src": "40813:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2099, + "id": 1591, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39679:3:1", + "referencedDeclaration": 1428, + "src": "40813:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, "visibility": "internal" } ], - "src": "39678:17:1" + "src": "40812:17:0" }, "returnParameters": { - "id": 2104, + "id": 1596, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2103, + "id": 1595, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39718:7:1", + "scope": 1602, + "src": "40852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19524,10 +19524,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2102, + "id": 1594, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "39718:7:1", + "src": "40852:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19536,19 +19536,19 @@ "visibility": "internal" } ], - "src": "39717:9:1" + "src": "40851:9:0" }, - "scope": 2480, - "src": "39662:108:1", + "scope": 1972, + "src": "40796:110:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2144, + "id": 1636, "nodeType": "Block", - "src": "40198:189:1", + "src": "41346:194:0", "statements": [ { "expression": { @@ -19558,7 +19558,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2127, + "id": 1619, "isConstant": false, "isLValue": false, "isPure": false, @@ -19566,39 +19566,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2123, + "id": 1615, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40216:3:1", + "referencedDeclaration": 1605, + "src": "41365:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2124, + "id": 1616, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40216:12:1", + "referencedDeclaration": 1423, + "src": "41365:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2125, + "id": 1617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "40216:19:1", + "src": "41365:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19607,18 +19607,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 2126, + "id": 1618, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40238:5:1", + "referencedDeclaration": 1607, + "src": "41387:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "40216:27:1", + "src": "41365:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19626,14 +19626,14 @@ }, { "hexValue": "456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473", - "id": 2128, + "id": 1620, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "40245:36:1", + "src": "41394:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_86631030b9066a18616a068fc09fce83d18af4765cb1d2166fa475228f4db155", "typeString": "literal_string \"EnumerableMap: index out of bounds\"" @@ -19652,7 +19652,7 @@ "typeString": "literal_string \"EnumerableMap: index out of bounds\"" } ], - "id": 2122, + "id": 1614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -19660,13 +19660,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "40208:7:1", + "src": "41357:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2129, + "id": 1621, "isConstant": false, "isLValue": false, "isPure": false, @@ -19674,87 +19674,87 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "40208:74:1", + "src": "41357:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2130, + "id": 1622, "nodeType": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "assignments": [ - 2132 + 1624 ], "declarations": [ { "constant": false, - "id": 2132, + "id": 1624, "mutability": "mutable", "name": "entry", "nodeType": "VariableDeclaration", - "scope": 2144, - "src": "40293:22:1", + "scope": 1636, + "src": "41444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2131, + "id": 1623, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "40293:8:1", + "referencedDeclaration": 1420, + "src": "41444:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2137, + "id": 1629, "initialValue": { "baseExpression": { "expression": { - "id": 2133, + "id": 1625, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40318:3:1", + "referencedDeclaration": 1605, + "src": "41469:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2134, + "id": 1626, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40318:12:1", + "referencedDeclaration": 1423, + "src": "41469:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2136, + "id": 1628, "indexExpression": { - "id": 2135, + "id": 1627, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40331:5:1", + "referencedDeclaration": 1607, + "src": "41482:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19765,40 +19765,40 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40318:19:1", + "src": "41469:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "expression": { "components": [ { "expression": { - "id": 2138, + "id": 1630, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40355:5:1", + "referencedDeclaration": 1624, + "src": "41507:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2139, + "id": 1631, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "40355:10:1", + "referencedDeclaration": 1417, + "src": "41507:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19806,90 +19806,90 @@ }, { "expression": { - "id": 2140, + "id": 1632, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40367:5:1", + "referencedDeclaration": 1624, + "src": "41519:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2141, + "id": 1633, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40367:12:1", + "referencedDeclaration": 1419, + "src": "41519:12:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2142, + "id": 1634, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40354:26:1", + "src": "41506:26:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", "typeString": "tuple(bytes32,bytes32)" } }, - "functionReturnParameters": 2121, - "id": 2143, + "functionReturnParameters": 1613, + "id": 1635, "nodeType": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ] }, "documentation": { - "id": 2111, + "id": 1603, "nodeType": "StructuredDocumentation", - "src": "39775:333:1", + "src": "40913:342:0", "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2145, + "id": 1637, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2116, + "id": 1608, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2113, + "id": 1605, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40126:15:1", + "scope": 1637, + "src": "41274:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2112, + "id": 1604, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40126:3:1", + "referencedDeclaration": 1428, + "src": "41274:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19897,12 +19897,12 @@ }, { "constant": false, - "id": 2115, + "id": 1607, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40143:13:1", + "scope": 1637, + "src": "41291:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19910,10 +19910,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2114, + "id": 1606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40143:7:1", + "src": "41291:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19922,20 +19922,20 @@ "visibility": "internal" } ], - "src": "40125:32:1" + "src": "41273:32:0" }, "returnParameters": { - "id": 2121, + "id": 1613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2118, + "id": 1610, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40180:7:1", + "scope": 1637, + "src": "41328:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19943,10 +19943,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2117, + "id": 1609, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40180:7:1", + "src": "41328:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19956,12 +19956,12 @@ }, { "constant": false, - "id": 2120, + "id": 1612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40189:7:1", + "scope": 1637, + "src": "41337:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19969,10 +19969,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2119, + "id": 1611, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40189:7:1", + "src": "41337:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19981,33 +19981,33 @@ "visibility": "internal" } ], - "src": "40179:18:1" + "src": "41327:18:0" }, - "scope": 2480, - "src": "40113:274:1", + "scope": 1972, + "src": "41261:279:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2182, + "id": 1674, "nodeType": "Block", - "src": "40613:220:1", + "src": "41772:224:0", "statements": [ { "assignments": [ - 2158 + 1650 ], "declarations": [ { "constant": false, - "id": 2158, + "id": 1650, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2182, - "src": "40623:16:1", + "scope": 1674, + "src": "41783:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20015,10 +20015,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2157, + "id": 1649, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40623:7:1", + "src": "41783:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20027,43 +20027,43 @@ "visibility": "internal" } ], - "id": 2163, + "id": 1655, "initialValue": { "baseExpression": { "expression": { - "id": 2159, + "id": 1651, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40642:3:1", + "referencedDeclaration": 1640, + "src": "41802:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2160, + "id": 1652, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "40642:12:1", + "referencedDeclaration": 1427, + "src": "41802:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2162, + "id": 1654, "indexExpression": { - "id": 2161, + "id": 1653, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2150, - "src": "40655:3:1", + "referencedDeclaration": 1642, + "src": "41815:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20074,14 +20074,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40642:17:1", + "src": "41802:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "condition": { @@ -20089,18 +20089,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2166, + "id": 1658, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2164, + "id": 1656, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40673:8:1", + "referencedDeclaration": 1650, + "src": "41834:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20110,42 +20110,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2165, + "id": 1657, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40685:1:1", + "src": "41846:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "40673:13:1", + "src": "41834:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2171, + "id": 1663, "nodeType": "IfStatement", - "src": "40669:36:1", + "src": "41830:36:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 2167, + "id": 1659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40696:5:1", + "src": "41857:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20154,14 +20154,14 @@ }, { "hexValue": "30", - "id": 2168, + "id": 1660, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40703:1:1", + "src": "41864:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -20169,23 +20169,23 @@ "value": "0" } ], - "id": 2169, + "id": 1661, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40695:10:1", + "src": "41856:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 2156, - "id": 2170, + "functionReturnParameters": 1648, + "id": 1662, "nodeType": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } }, { @@ -20193,14 +20193,14 @@ "components": [ { "hexValue": "74727565", - "id": 2172, + "id": 1664, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40759:4:1", + "src": "41921:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20211,49 +20211,49 @@ "expression": { "baseExpression": { "expression": { - "id": 2173, + "id": 1665, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40765:3:1", + "referencedDeclaration": 1640, + "src": "41927:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2174, + "id": 1666, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40765:12:1", + "referencedDeclaration": 1423, + "src": "41927:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2178, + "id": 1670, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2177, + "id": 1669, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2175, + "id": 1667, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40778:8:1", + "referencedDeclaration": 1650, + "src": "41940:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20263,21 +20263,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2176, + "id": 1668, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40789:1:1", + "src": "41951:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "40778:12:1", + "src": "41940:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20288,85 +20288,85 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40765:26:1", + "src": "41927:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2179, + "id": 1671, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40765:33:1", + "referencedDeclaration": 1419, + "src": "41927:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2180, + "id": 1672, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40758:41:1", + "src": "41920:41:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", "typeString": "tuple(bool,bytes32)" } }, - "functionReturnParameters": 2156, - "id": 2181, + "functionReturnParameters": 1648, + "id": 1673, "nodeType": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ] }, "documentation": { - "id": 2146, + "id": 1638, "nodeType": "StructuredDocumentation", - "src": "40393:131:1", + "src": "41548:134:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2183, + "id": 1675, "implemented": true, "kind": "function", "modifiers": [], "name": "_tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2151, + "id": 1643, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2148, + "id": 1640, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40546:15:1", + "scope": 1675, + "src": "41705:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2147, + "id": 1639, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40546:3:1", + "referencedDeclaration": 1428, + "src": "41705:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20374,12 +20374,12 @@ }, { "constant": false, - "id": 2150, + "id": 1642, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40563:11:1", + "scope": 1675, + "src": "41722:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20387,10 +20387,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2149, + "id": 1641, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40563:7:1", + "src": "41722:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20399,20 +20399,20 @@ "visibility": "internal" } ], - "src": "40545:30:1" + "src": "41704:30:0" }, "returnParameters": { - "id": 2156, + "id": 1648, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2153, + "id": 1645, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40598:4:1", + "scope": 1675, + "src": "41757:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20420,10 +20420,10 @@ "typeString": "bool" }, "typeName": { - "id": 2152, + "id": 1644, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "40598:4:1", + "src": "41757:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20433,12 +20433,12 @@ }, { "constant": false, - "id": 2155, + "id": 1647, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40604:7:1", + "scope": 1675, + "src": "41763:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20446,10 +20446,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2154, + "id": 1646, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40604:7:1", + "src": "41763:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20458,33 +20458,33 @@ "visibility": "internal" } ], - "src": "40597:15:1" + "src": "41756:15:0" }, - "scope": 2480, - "src": "40529:304:1", + "scope": 1972, + "src": "41688:308:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2215, + "id": 1707, "nodeType": "Block", - "src": "41060:232:1", + "src": "42232:236:0", "statements": [ { "assignments": [ - 2194 + 1686 ], "declarations": [ { "constant": false, - "id": 2194, + "id": 1686, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2215, - "src": "41070:16:1", + "scope": 1707, + "src": "42243:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20492,10 +20492,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2193, + "id": 1685, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41070:7:1", + "src": "42243:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20504,43 +20504,43 @@ "visibility": "internal" } ], - "id": 2199, + "id": 1691, "initialValue": { "baseExpression": { "expression": { - "id": 2195, + "id": 1687, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41089:3:1", + "referencedDeclaration": 1678, + "src": "42262:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2196, + "id": 1688, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41089:12:1", + "referencedDeclaration": 1427, + "src": "42262:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2198, + "id": 1690, "indexExpression": { - "id": 2197, + "id": 1689, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2188, - "src": "41102:3:1", + "referencedDeclaration": 1680, + "src": "42275:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20551,14 +20551,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41089:17:1", + "src": "42262:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "expression": { @@ -20568,18 +20568,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2203, + "id": 1695, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2201, + "id": 1693, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41124:8:1", + "referencedDeclaration": 1686, + "src": "42298:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20589,21 +20589,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2202, + "id": 1694, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41136:1:1", + "src": "42310:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41124:13:1", + "src": "42298:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20611,14 +20611,14 @@ }, { "hexValue": "456e756d657261626c654d61703a206e6f6e6578697374656e74206b6579", - "id": 2204, + "id": 1696, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "41139:32:1", + "src": "42313:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_d3551e30d3095fd81287b88f7139bb09818e34280e85ee821994ebaebbed7072", "typeString": "literal_string \"EnumerableMap: nonexistent key\"" @@ -20637,7 +20637,7 @@ "typeString": "literal_string \"EnumerableMap: nonexistent key\"" } ], - "id": 2200, + "id": 1692, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -20645,13 +20645,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41116:7:1", + "src": "42290:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2205, + "id": 1697, "isConstant": false, "isLValue": false, "isPure": false, @@ -20659,65 +20659,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41116:56:1", + "src": "42290:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2206, + "id": 1698, "nodeType": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2207, + "id": 1699, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41225:3:1", + "referencedDeclaration": 1678, + "src": "42400:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2208, + "id": 1700, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41225:12:1", + "referencedDeclaration": 1423, + "src": "42400:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2212, + "id": 1704, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2211, + "id": 1703, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2209, + "id": 1701, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41238:8:1", + "referencedDeclaration": 1686, + "src": "42413:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20727,21 +20727,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2210, + "id": 1702, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41249:1:1", + "src": "42424:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41238:12:1", + "src": "42413:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20752,71 +20752,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41225:26:1", + "src": "42400:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2213, + "id": 1705, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41225:33:1", + "referencedDeclaration": 1419, + "src": "42400:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2192, - "id": 2214, + "functionReturnParameters": 1684, + "id": 1706, "nodeType": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ] }, "documentation": { - "id": 2184, + "id": 1676, "nodeType": "StructuredDocumentation", - "src": "40839:141:1", + "src": "42004:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2216, + "id": 1708, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2189, + "id": 1681, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2186, + "id": 1678, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "40999:15:1", + "scope": 1708, + "src": "42171:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2185, + "id": 1677, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40999:3:1", + "referencedDeclaration": 1428, + "src": "42171:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20824,12 +20824,12 @@ }, { "constant": false, - "id": 2188, + "id": 1680, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41016:11:1", + "scope": 1708, + "src": "42188:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20837,10 +20837,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2187, + "id": 1679, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41016:7:1", + "src": "42188:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20849,20 +20849,20 @@ "visibility": "internal" } ], - "src": "40998:30:1" + "src": "42170:30:0" }, "returnParameters": { - "id": 2192, + "id": 1684, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2191, + "id": 1683, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41051:7:1", + "scope": 1708, + "src": "42223:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20870,10 +20870,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2190, + "id": 1682, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41051:7:1", + "src": "42223:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20882,33 +20882,33 @@ "visibility": "internal" } ], - "src": "41050:9:1" + "src": "42222:9:0" }, - "scope": 2480, - "src": "40985:307:1", + "scope": 1972, + "src": "42157:311:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2250, + "id": 1742, "nodeType": "Block", - "src": "41677:212:1", + "src": "42861:216:0", "statements": [ { "assignments": [ - 2229 + 1721 ], "declarations": [ { "constant": false, - "id": 2229, + "id": 1721, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2250, - "src": "41687:16:1", + "scope": 1742, + "src": "42872:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20916,10 +20916,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2228, + "id": 1720, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41687:7:1", + "src": "42872:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20928,43 +20928,43 @@ "visibility": "internal" } ], - "id": 2234, + "id": 1726, "initialValue": { "baseExpression": { "expression": { - "id": 2230, + "id": 1722, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41706:3:1", + "referencedDeclaration": 1711, + "src": "42891:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2231, + "id": 1723, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41706:12:1", + "referencedDeclaration": 1427, + "src": "42891:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2233, + "id": 1725, "indexExpression": { - "id": 2232, + "id": 1724, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2221, - "src": "41719:3:1", + "referencedDeclaration": 1713, + "src": "42904:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20975,14 +20975,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41706:17:1", + "src": "42891:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "expression": { @@ -20992,18 +20992,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2238, + "id": 1730, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2236, + "id": 1728, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41741:8:1", + "referencedDeclaration": 1721, + "src": "42927:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21013,33 +21013,33 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2237, + "id": 1729, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41753:1:1", + "src": "42939:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41741:13:1", + "src": "42927:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 2239, + "id": 1731, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2223, - "src": "41756:12:1", + "referencedDeclaration": 1715, + "src": "42942:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -21057,7 +21057,7 @@ "typeString": "string memory" } ], - "id": 2235, + "id": 1727, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -21065,13 +21065,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41733:7:1", + "src": "42919:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2240, + "id": 1732, "isConstant": false, "isLValue": false, "isPure": false, @@ -21079,65 +21079,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41733:36:1", + "src": "42919:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2241, + "id": 1733, "nodeType": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2242, + "id": 1734, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41822:3:1", + "referencedDeclaration": 1711, + "src": "43009:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2243, + "id": 1735, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41822:12:1", + "referencedDeclaration": 1423, + "src": "43009:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2247, + "id": 1739, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2246, + "id": 1738, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2244, + "id": 1736, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41835:8:1", + "referencedDeclaration": 1721, + "src": "43022:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21147,21 +21147,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2245, + "id": 1737, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41846:1:1", + "src": "43033:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41835:12:1", + "src": "43022:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21172,71 +21172,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41822:26:1", + "src": "43009:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2248, + "id": 1740, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41822:33:1", + "referencedDeclaration": 1419, + "src": "43009:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2227, - "id": 2249, + "functionReturnParameters": 1719, + "id": 1741, "nodeType": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ] }, "documentation": { - "id": 2217, + "id": 1709, "nodeType": "StructuredDocumentation", - "src": "41298:271:1", + "src": "42476:276:0", "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2251, + "id": 1743, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2224, + "id": 1716, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2219, + "id": 1711, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41588:15:1", + "scope": 1743, + "src": "42772:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2218, + "id": 1710, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41588:3:1", + "referencedDeclaration": 1428, + "src": "42772:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21244,12 +21244,12 @@ }, { "constant": false, - "id": 2221, + "id": 1713, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41605:11:1", + "scope": 1743, + "src": "42789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21257,10 +21257,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2220, + "id": 1712, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41605:7:1", + "src": "42789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21270,12 +21270,12 @@ }, { "constant": false, - "id": 2223, + "id": 1715, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41618:26:1", + "scope": 1743, + "src": "42802:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -21283,10 +21283,10 @@ "typeString": "string" }, "typeName": { - "id": 2222, + "id": 1714, "name": "string", "nodeType": "ElementaryTypeName", - "src": "41618:6:1", + "src": "42802:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -21295,20 +21295,20 @@ "visibility": "internal" } ], - "src": "41587:58:1" + "src": "42771:58:0" }, "returnParameters": { - "id": 2227, + "id": 1719, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2226, + "id": 1718, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41668:7:1", + "scope": 1743, + "src": "42852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21316,10 +21316,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2225, + "id": 1717, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41668:7:1", + "src": "42852:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21328,40 +21328,40 @@ "visibility": "internal" } ], - "src": "41667:9:1" + "src": "42851:9:0" }, - "scope": 2480, - "src": "41574:315:1", + "scope": 1972, + "src": "42758:319:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableMap.UintToAddressMap", - "id": 2254, + "id": 1746, "members": [ { "constant": false, - "id": 2253, + "id": 1745, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 2254, - "src": "41954:10:1", + "scope": 1746, + "src": "43147:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2252, + "id": 1744, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41954:3:1", + "referencedDeclaration": 1428, + "src": "43147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21370,55 +21370,55 @@ ], "name": "UintToAddressMap", "nodeType": "StructDefinition", - "scope": 2480, - "src": "41920:51:1", + "scope": 1972, + "src": "43112:53:0", "visibility": "public" }, { "body": { - "id": 2285, + "id": 1777, "nodeType": "Block", - "src": "42293:88:1", + "src": "43496:90:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2267, + "id": 1759, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2257, - "src": "42315:3:1", + "referencedDeclaration": 1749, + "src": "43519:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2268, + "id": 1760, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42315:10:1", + "referencedDeclaration": 1745, + "src": "43519:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2271, + "id": 1763, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2259, - "src": "42335:3:1", + "referencedDeclaration": 1751, + "src": "43539:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21432,26 +21432,26 @@ "typeString": "uint256" } ], - "id": 2270, + "id": 1762, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2269, + "id": 1761, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": {} } }, - "id": 2272, + "id": 1764, "isConstant": false, "isLValue": false, "isPure": false, @@ -21459,7 +21459,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42327:12:1", + "src": "43531:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21473,12 +21473,12 @@ { "arguments": [ { - "id": 2279, + "id": 1771, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2261, - "src": "42365:5:1", + "referencedDeclaration": 1753, + "src": "43569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21492,26 +21492,26 @@ "typeString": "address" } ], - "id": 2278, + "id": 1770, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2277, + "id": 1769, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": {} } }, - "id": 2280, + "id": 1772, "isConstant": false, "isLValue": false, "isPure": false, @@ -21519,7 +21519,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42357:14:1", + "src": "43561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -21534,26 +21534,26 @@ "typeString": "uint160" } ], - "id": 2276, + "id": 1768, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2275, + "id": 1767, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": {} } }, - "id": 2281, + "id": 1773, "isConstant": false, "isLValue": false, "isPure": false, @@ -21561,7 +21561,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42349:23:1", + "src": "43553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -21576,26 +21576,26 @@ "typeString": "uint256" } ], - "id": 2274, + "id": 1766, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2273, + "id": 1765, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": {} } }, - "id": 2282, + "id": 1774, "isConstant": false, "isLValue": false, "isPure": false, @@ -21603,7 +21603,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42341:32:1", + "src": "43545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21614,7 +21614,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -21626,18 +21626,18 @@ "typeString": "bytes32" } ], - "id": 2266, + "id": 1758, "name": "_set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1998, - "src": "42310:4:1", + "referencedDeclaration": 1490, + "src": "43514:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)" } }, - "id": 2283, + "id": 1775, "isConstant": false, "isLValue": false, "isPure": false, @@ -21645,58 +21645,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42310:64:1", + "src": "43514:64:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2265, - "id": 2284, + "functionReturnParameters": 1757, + "id": 1776, "nodeType": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ] }, "documentation": { - "id": 2255, + "id": 1747, "nodeType": "StructuredDocumentation", - "src": "41977:216:1", + "src": "43173:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2286, + "id": 1778, "implemented": true, "kind": "function", "modifiers": [], "name": "set", "nodeType": "FunctionDefinition", "parameters": { - "id": 2262, + "id": 1754, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2257, + "id": 1749, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42211:28:1", + "scope": 1778, + "src": "43414:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2256, + "id": 1748, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42211:16:1", + "referencedDeclaration": 1746, + "src": "43414:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -21704,12 +21704,12 @@ }, { "constant": false, - "id": 2259, + "id": 1751, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42241:11:1", + "scope": 1778, + "src": "43444:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21717,10 +21717,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2258, + "id": 1750, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42241:7:1", + "src": "43444:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21730,12 +21730,12 @@ }, { "constant": false, - "id": 2261, + "id": 1753, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42254:13:1", + "scope": 1778, + "src": "43457:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21743,10 +21743,10 @@ "typeString": "address" }, "typeName": { - "id": 2260, + "id": 1752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "42254:7:1", + "src": "43457:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -21756,20 +21756,20 @@ "visibility": "internal" } ], - "src": "42210:58:1" + "src": "43413:58:0" }, "returnParameters": { - "id": 2265, + "id": 1757, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2264, + "id": 1756, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42287:4:1", + "scope": 1778, + "src": "43490:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21777,10 +21777,10 @@ "typeString": "bool" }, "typeName": { - "id": 2263, + "id": 1755, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42287:4:1", + "src": "43490:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -21789,59 +21789,59 @@ "visibility": "internal" } ], - "src": "42286:6:1" + "src": "43489:6:0" }, - "scope": 2480, - "src": "42198:183:1", + "scope": 1972, + "src": "43401:185:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2305, + "id": 1797, "nodeType": "Block", - "src": "42623:57:1", + "src": "43835:59:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2297, + "id": 1789, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2289, - "src": "42648:3:1", + "referencedDeclaration": 1781, + "src": "43861:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2298, + "id": 1790, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42648:10:1", + "referencedDeclaration": 1745, + "src": "43861:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2301, + "id": 1793, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2291, - "src": "42668:3:1", + "referencedDeclaration": 1783, + "src": "43881:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21855,26 +21855,26 @@ "typeString": "uint256" } ], - "id": 2300, + "id": 1792, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2299, + "id": 1791, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": {} } }, - "id": 2302, + "id": 1794, "isConstant": false, "isLValue": false, "isPure": false, @@ -21882,7 +21882,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42660:12:1", + "src": "43873:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21893,7 +21893,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -21901,18 +21901,18 @@ "typeString": "bytes32" } ], - "id": 2296, + "id": 1788, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2079, - "src": "42640:7:1", + "referencedDeclaration": 1571, + "src": "43853:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)" } }, - "id": 2303, + "id": 1795, "isConstant": false, "isLValue": false, "isPure": false, @@ -21920,58 +21920,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42640:33:1", + "src": "43853:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2295, - "id": 2304, + "functionReturnParameters": 1787, + "id": 1796, "nodeType": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ] }, "documentation": { - "id": 2287, + "id": 1779, "nodeType": "StructuredDocumentation", - "src": "42387:148:1", + "src": "43594:152:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2306, + "id": 1798, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2292, + "id": 1784, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2289, + "id": 1781, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42556:28:1", + "scope": 1798, + "src": "43768:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2288, + "id": 1780, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42556:16:1", + "referencedDeclaration": 1746, + "src": "43768:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -21979,12 +21979,12 @@ }, { "constant": false, - "id": 2291, + "id": 1783, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42586:11:1", + "scope": 1798, + "src": "43798:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21992,10 +21992,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2290, + "id": 1782, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42586:7:1", + "src": "43798:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22004,20 +22004,20 @@ "visibility": "internal" } ], - "src": "42555:43:1" + "src": "43767:43:0" }, "returnParameters": { - "id": 2295, + "id": 1787, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2294, + "id": 1786, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42617:4:1", + "scope": 1798, + "src": "43829:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22025,10 +22025,10 @@ "typeString": "bool" }, "typeName": { - "id": 2293, + "id": 1785, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42617:4:1", + "src": "43829:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22037,59 +22037,59 @@ "visibility": "internal" } ], - "src": "42616:6:1" + "src": "43828:6:0" }, - "scope": 2480, - "src": "42540:140:1", + "scope": 1972, + "src": "43752:142:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2325, + "id": 1817, "nodeType": "Block", - "src": "42849:59:1", + "src": "44068:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2317, + "id": 1809, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2309, - "src": "42876:3:1", + "referencedDeclaration": 1801, + "src": "44096:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2318, + "id": 1810, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42876:10:1", + "referencedDeclaration": 1745, + "src": "44096:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2321, + "id": 1813, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2311, - "src": "42896:3:1", + "referencedDeclaration": 1803, + "src": "44116:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22103,26 +22103,26 @@ "typeString": "uint256" } ], - "id": 2320, + "id": 1812, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2319, + "id": 1811, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": {} } }, - "id": 2322, + "id": 1814, "isConstant": false, "isLValue": false, "isPure": false, @@ -22130,7 +22130,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42888:12:1", + "src": "44108:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -22141,7 +22141,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22149,18 +22149,18 @@ "typeString": "bytes32" } ], - "id": 2316, + "id": 1808, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2097, - "src": "42866:9:1", + "referencedDeclaration": 1589, + "src": "44086:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)" } }, - "id": 2323, + "id": 1815, "isConstant": false, "isLValue": false, "isPure": false, @@ -22168,58 +22168,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42866:35:1", + "src": "44086:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2315, - "id": 2324, + "functionReturnParameters": 1807, + "id": 1816, "nodeType": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ] }, "documentation": { - "id": 2307, + "id": 1799, "nodeType": "StructuredDocumentation", - "src": "42686:68:1", + "src": "43902:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2326, + "id": 1818, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2312, + "id": 1804, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2309, + "id": 1801, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42777:28:1", + "scope": 1818, + "src": "43996:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2308, + "id": 1800, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42777:16:1", + "referencedDeclaration": 1746, + "src": "43996:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22227,12 +22227,12 @@ }, { "constant": false, - "id": 2311, + "id": 1803, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42807:11:1", + "scope": 1818, + "src": "44026:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22240,10 +22240,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2310, + "id": 1802, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42807:7:1", + "src": "44026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22252,20 +22252,20 @@ "visibility": "internal" } ], - "src": "42776:43:1" + "src": "43995:43:0" }, "returnParameters": { - "id": 2315, + "id": 1807, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2314, + "id": 1806, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42843:4:1", + "scope": 1818, + "src": "44062:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22273,10 +22273,10 @@ "typeString": "bool" }, "typeName": { - "id": 2313, + "id": 1805, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42843:4:1", + "src": "44062:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22285,47 +22285,47 @@ "visibility": "internal" } ], - "src": "42842:6:1" + "src": "44061:6:0" }, - "scope": 2480, - "src": "42759:149:1", + "scope": 1972, + "src": "43978:151:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2339, + "id": 1831, "nodeType": "Block", - "src": "43069:43:1", + "src": "44295:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2335, + "id": 1827, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2329, - "src": "43094:3:1", + "referencedDeclaration": 1821, + "src": "44321:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2336, + "id": 1828, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43094:10:1", + "referencedDeclaration": 1745, + "src": "44321:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } } @@ -22333,22 +22333,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], - "id": 2334, + "id": 1826, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2110, - "src": "43086:7:1", + "referencedDeclaration": 1602, + "src": "44313:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)" } }, - "id": 2337, + "id": 1829, "isConstant": false, "isLValue": false, "isPure": false, @@ -22356,78 +22356,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43086:19:1", + "src": "44313:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2333, - "id": 2338, + "functionReturnParameters": 1825, + "id": 1830, "nodeType": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ] }, "documentation": { - "id": 2327, + "id": 1819, "nodeType": "StructuredDocumentation", - "src": "42914:72:1", + "src": "44137:74:0", "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2340, + "id": 1832, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2330, + "id": 1822, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2329, + "id": 1821, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43007:28:1", + "scope": 1832, + "src": "44233:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2328, + "id": 1820, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43007:16:1", + "referencedDeclaration": 1746, + "src": "44233:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, "visibility": "internal" } ], - "src": "43006:30:1" + "src": "44232:30:0" }, "returnParameters": { - "id": 2333, + "id": 1825, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2332, + "id": 1824, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43060:7:1", + "scope": 1832, + "src": "44286:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22435,10 +22435,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2331, + "id": 1823, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43060:7:1", + "src": "44286:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22447,34 +22447,34 @@ "visibility": "internal" } ], - "src": "43059:9:1" + "src": "44285:9:0" }, - "scope": 2480, - "src": "42991:121:1", + "scope": 1972, + "src": "44217:123:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2378, + "id": 1870, "nodeType": "Block", - "src": "43538:135:1", + "src": "44777:138:0", "statements": [ { "assignments": [ - 2353, - 2355 + 1845, + 1847 ], "declarations": [ { "constant": false, - "id": 2353, + "id": 1845, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43549:11:1", + "scope": 1870, + "src": "44789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22482,10 +22482,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2352, + "id": 1844, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43549:7:1", + "src": "44789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22495,12 +22495,12 @@ }, { "constant": false, - "id": 2355, + "id": 1847, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43562:13:1", + "scope": 1870, + "src": "44802:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22508,10 +22508,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2354, + "id": 1846, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43562:7:1", + "src": "44802:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22520,43 +22520,43 @@ "visibility": "internal" } ], - "id": 2361, + "id": 1853, "initialValue": { "arguments": [ { "expression": { - "id": 2357, + "id": 1849, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2343, - "src": "43583:3:1", + "referencedDeclaration": 1835, + "src": "44823:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2358, + "id": 1850, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43583:10:1", + "referencedDeclaration": 1745, + "src": "44823:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { - "id": 2359, + "id": 1851, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2345, - "src": "43595:5:1", + "referencedDeclaration": 1837, + "src": "44835:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22566,7 +22566,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22574,18 +22574,18 @@ "typeString": "uint256" } ], - "id": 2356, + "id": 1848, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2145, - "src": "43579:3:1", + "referencedDeclaration": 1637, + "src": "44819:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)" } }, - "id": 2360, + "id": 1852, "isConstant": false, "isLValue": false, "isPure": false, @@ -22593,7 +22593,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43579:22:1", + "src": "44819:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", @@ -22601,7 +22601,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "expression": { @@ -22609,12 +22609,12 @@ { "arguments": [ { - "id": 2364, + "id": 1856, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2353, - "src": "43627:3:1", + "referencedDeclaration": 1845, + "src": "44868:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22628,26 +22628,26 @@ "typeString": "bytes32" } ], - "id": 2363, + "id": 1855, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2362, + "id": 1854, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": {} } }, - "id": 2365, + "id": 1857, "isConstant": false, "isLValue": false, "isPure": false, @@ -22655,7 +22655,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43619:12:1", + "src": "44860:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -22669,12 +22669,12 @@ { "arguments": [ { - "id": 2372, + "id": 1864, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2355, - "src": "43657:5:1", + "referencedDeclaration": 1847, + "src": "44898:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22688,26 +22688,26 @@ "typeString": "bytes32" } ], - "id": 2371, + "id": 1863, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2370, + "id": 1862, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": {} } }, - "id": 2373, + "id": 1865, "isConstant": false, "isLValue": false, "isPure": false, @@ -22715,7 +22715,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43649:14:1", + "src": "44890:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -22730,26 +22730,26 @@ "typeString": "uint256" } ], - "id": 2369, + "id": 1861, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2368, + "id": 1860, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": {} } }, - "id": 2374, + "id": 1866, "isConstant": false, "isLValue": false, "isPure": false, @@ -22757,7 +22757,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43641:23:1", + "src": "44882:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -22772,26 +22772,26 @@ "typeString": "uint160" } ], - "id": 2367, + "id": 1859, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2366, + "id": 1858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": {} } }, - "id": 2375, + "id": 1867, "isConstant": false, "isLValue": false, "isPure": false, @@ -22799,7 +22799,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43633:32:1", + "src": "44874:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -22807,64 +22807,64 @@ } } ], - "id": 2376, + "id": 1868, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "43618:48:1", + "src": "44859:48:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_payable_$", "typeString": "tuple(uint256,address payable)" } }, - "functionReturnParameters": 2351, - "id": 2377, + "functionReturnParameters": 1843, + "id": 1869, "nodeType": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ] }, "documentation": { - "id": 2341, + "id": 1833, "nodeType": "StructuredDocumentation", - "src": "43117:318:1", + "src": "44347:326:0", "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2379, + "id": 1871, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2346, + "id": 1838, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2343, + "id": 1835, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43452:28:1", + "scope": 1871, + "src": "44691:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2342, + "id": 1834, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43452:16:1", + "referencedDeclaration": 1746, + "src": "44691:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22872,12 +22872,12 @@ }, { "constant": false, - "id": 2345, + "id": 1837, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43482:13:1", + "scope": 1871, + "src": "44721:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22885,10 +22885,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2344, + "id": 1836, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43482:7:1", + "src": "44721:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22897,20 +22897,20 @@ "visibility": "internal" } ], - "src": "43451:45:1" + "src": "44690:45:0" }, "returnParameters": { - "id": 2351, + "id": 1843, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2348, + "id": 1840, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43520:7:1", + "scope": 1871, + "src": "44759:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22918,10 +22918,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2347, + "id": 1839, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43520:7:1", + "src": "44759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22931,12 +22931,12 @@ }, { "constant": false, - "id": 2350, + "id": 1842, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43529:7:1", + "scope": 1871, + "src": "44768:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22944,10 +22944,10 @@ "typeString": "address" }, "typeName": { - "id": 2349, + "id": 1841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43529:7:1", + "src": "44768:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -22957,34 +22957,34 @@ "visibility": "internal" } ], - "src": "43519:18:1" + "src": "44758:18:0" }, - "scope": 2480, - "src": "43440:233:1", + "scope": 1972, + "src": "44679:236:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2417, + "id": 1909, "nodeType": "Block", - "src": "43950:142:1", + "src": "45200:145:0", "statements": [ { "assignments": [ - 2392, - 2394 + 1884, + 1886 ], "declarations": [ { "constant": false, - "id": 2392, + "id": 1884, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43961:12:1", + "scope": 1909, + "src": "45212:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22992,10 +22992,10 @@ "typeString": "bool" }, "typeName": { - "id": 2391, + "id": 1883, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43961:4:1", + "src": "45212:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23005,12 +23005,12 @@ }, { "constant": false, - "id": 2394, + "id": 1886, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43975:13:1", + "scope": 1909, + "src": "45226:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23018,10 +23018,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2393, + "id": 1885, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43975:7:1", + "src": "45226:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23030,45 +23030,45 @@ "visibility": "internal" } ], - "id": 2403, + "id": 1895, "initialValue": { "arguments": [ { "expression": { - "id": 2396, + "id": 1888, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2382, - "src": "44000:3:1", + "referencedDeclaration": 1874, + "src": "45251:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2397, + "id": 1889, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44000:10:1", + "referencedDeclaration": 1745, + "src": "45251:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2400, + "id": 1892, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2384, - "src": "44020:3:1", + "referencedDeclaration": 1876, + "src": "45271:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23082,26 +23082,26 @@ "typeString": "uint256" } ], - "id": 2399, + "id": 1891, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2398, + "id": 1890, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": {} } }, - "id": 2401, + "id": 1893, "isConstant": false, "isLValue": false, "isPure": false, @@ -23109,7 +23109,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44012:12:1", + "src": "45263:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23120,7 +23120,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23128,18 +23128,18 @@ "typeString": "bytes32" } ], - "id": 2395, + "id": 1887, "name": "_tryGet", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2183, - "src": "43992:7:1", + "referencedDeclaration": 1675, + "src": "45243:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)" } }, - "id": 2402, + "id": 1894, "isConstant": false, "isLValue": false, "isPure": false, @@ -23147,7 +23147,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43992:33:1", + "src": "45243:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", @@ -23155,18 +23155,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "expression": { "components": [ { - "id": 2404, + "id": 1896, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2392, - "src": "44043:7:1", + "referencedDeclaration": 1884, + "src": "45295:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23179,12 +23179,12 @@ { "arguments": [ { - "id": 2411, + "id": 1903, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2394, - "src": "44076:5:1", + "referencedDeclaration": 1886, + "src": "45328:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23198,26 +23198,26 @@ "typeString": "bytes32" } ], - "id": 2410, + "id": 1902, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2409, + "id": 1901, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": {} } }, - "id": 2412, + "id": 1904, "isConstant": false, "isLValue": false, "isPure": false, @@ -23225,7 +23225,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44068:14:1", + "src": "45320:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23240,26 +23240,26 @@ "typeString": "uint256" } ], - "id": 2408, + "id": 1900, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2407, + "id": 1899, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": {} } }, - "id": 2413, + "id": 1905, "isConstant": false, "isLValue": false, "isPure": false, @@ -23267,7 +23267,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44060:23:1", + "src": "45312:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23282,26 +23282,26 @@ "typeString": "uint160" } ], - "id": 2406, + "id": 1898, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2405, + "id": 1897, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": {} } }, - "id": 2414, + "id": 1906, "isConstant": false, "isLValue": false, "isPure": false, @@ -23309,7 +23309,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44052:32:1", + "src": "45304:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -23317,64 +23317,64 @@ } } ], - "id": 2415, + "id": 1907, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "44042:43:1", + "src": "45294:43:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_address_payable_$", "typeString": "tuple(bool,address payable)" } }, - "functionReturnParameters": 2390, - "id": 2416, + "functionReturnParameters": 1882, + "id": 1908, "nodeType": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ] }, "documentation": { - "id": 2380, + "id": 1872, "nodeType": "StructuredDocumentation", - "src": "43679:169:1", + "src": "44923:174:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2418, + "id": 1910, "implemented": true, "kind": "function", "modifiers": [], "name": "tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2385, + "id": 1877, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2382, + "id": 1874, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43869:28:1", + "scope": 1910, + "src": "45119:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2381, + "id": 1873, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43869:16:1", + "referencedDeclaration": 1746, + "src": "45119:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23382,12 +23382,12 @@ }, { "constant": false, - "id": 2384, + "id": 1876, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43899:11:1", + "scope": 1910, + "src": "45149:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23395,10 +23395,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2383, + "id": 1875, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43899:7:1", + "src": "45149:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23407,20 +23407,20 @@ "visibility": "internal" } ], - "src": "43868:43:1" + "src": "45118:43:0" }, "returnParameters": { - "id": 2390, + "id": 1882, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2387, + "id": 1879, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43935:4:1", + "scope": 1910, + "src": "45185:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23428,10 +23428,10 @@ "typeString": "bool" }, "typeName": { - "id": 2386, + "id": 1878, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43935:4:1", + "src": "45185:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23441,12 +23441,12 @@ }, { "constant": false, - "id": 2389, + "id": 1881, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43941:7:1", + "scope": 1910, + "src": "45191:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23454,10 +23454,10 @@ "typeString": "address" }, "typeName": { - "id": 2388, + "id": 1880, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43941:7:1", + "src": "45191:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23467,19 +23467,19 @@ "visibility": "internal" } ], - "src": "43934:15:1" + "src": "45184:15:0" }, - "scope": 2480, - "src": "43853:239:1", + "scope": 1972, + "src": "45103:242:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2446, + "id": 1938, "nodeType": "Block", - "src": "44332:81:1", + "src": "45594:83:0", "statements": [ { "expression": { @@ -23492,40 +23492,40 @@ "arguments": [ { "expression": { - "id": 2435, + "id": 1927, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2421, - "src": "44378:3:1", + "referencedDeclaration": 1913, + "src": "45641:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2436, + "id": 1928, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44378:10:1", + "referencedDeclaration": 1745, + "src": "45641:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2439, + "id": 1931, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2423, - "src": "44398:3:1", + "referencedDeclaration": 1915, + "src": "45661:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23539,26 +23539,26 @@ "typeString": "uint256" } ], - "id": 2438, + "id": 1930, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2437, + "id": 1929, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": {} } }, - "id": 2440, + "id": 1932, "isConstant": false, "isLValue": false, "isPure": false, @@ -23566,7 +23566,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44390:12:1", + "src": "45653:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23577,7 +23577,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23585,21 +23585,21 @@ "typeString": "bytes32" } ], - "id": 2434, + "id": 1926, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, - "src": "44373:4:1", + "referencedDeclaration": 1708, + "src": "45636:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)" } }, - "id": 2441, + "id": 1933, "isConstant": false, "isLValue": false, "isPure": false, @@ -23607,7 +23607,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44373:30:1", + "src": "45636:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23622,26 +23622,26 @@ "typeString": "bytes32" } ], - "id": 2433, + "id": 1925, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2432, + "id": 1924, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": {} } }, - "id": 2442, + "id": 1934, "isConstant": false, "isLValue": false, "isPure": false, @@ -23649,7 +23649,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44365:39:1", + "src": "45628:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23664,26 +23664,26 @@ "typeString": "uint256" } ], - "id": 2431, + "id": 1923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2430, + "id": 1922, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": {} } }, - "id": 2443, + "id": 1935, "isConstant": false, "isLValue": false, "isPure": false, @@ -23691,7 +23691,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44357:48:1", + "src": "45620:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23706,26 +23706,26 @@ "typeString": "uint160" } ], - "id": 2429, + "id": 1921, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2428, + "id": 1920, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": {} } }, - "id": 2444, + "id": 1936, "isConstant": false, "isLValue": false, "isPure": false, @@ -23733,58 +23733,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44349:57:1", + "src": "45612:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2427, - "id": 2445, + "functionReturnParameters": 1919, + "id": 1937, "nodeType": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ] }, "documentation": { - "id": 2419, + "id": 1911, "nodeType": "StructuredDocumentation", - "src": "44098:141:1", + "src": "45353:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2447, + "id": 1939, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2424, + "id": 1916, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2421, + "id": 1913, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44257:28:1", + "scope": 1939, + "src": "45519:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2420, + "id": 1912, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44257:16:1", + "referencedDeclaration": 1746, + "src": "45519:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23792,12 +23792,12 @@ }, { "constant": false, - "id": 2423, + "id": 1915, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44287:11:1", + "scope": 1939, + "src": "45549:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23805,10 +23805,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2422, + "id": 1914, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44287:7:1", + "src": "45549:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23817,20 +23817,20 @@ "visibility": "internal" } ], - "src": "44256:43:1" + "src": "45518:43:0" }, "returnParameters": { - "id": 2427, + "id": 1919, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2426, + "id": 1918, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44323:7:1", + "scope": 1939, + "src": "45585:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23838,10 +23838,10 @@ "typeString": "address" }, "typeName": { - "id": 2425, + "id": 1917, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44323:7:1", + "src": "45585:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23851,19 +23851,19 @@ "visibility": "internal" } ], - "src": "44322:9:1" + "src": "45584:9:0" }, - "scope": 2480, - "src": "44244:169:1", + "scope": 1972, + "src": "45506:171:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2478, + "id": 1970, "nodeType": "Block", - "src": "44809:95:1", + "src": "46081:97:0", "statements": [ { "expression": { @@ -23876,40 +23876,40 @@ "arguments": [ { "expression": { - "id": 2466, + "id": 1958, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2450, - "src": "44855:3:1", + "referencedDeclaration": 1942, + "src": "46128:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2467, + "id": 1959, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44855:10:1", + "referencedDeclaration": 1745, + "src": "46128:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2470, + "id": 1962, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2452, - "src": "44875:3:1", + "referencedDeclaration": 1944, + "src": "46148:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23923,26 +23923,26 @@ "typeString": "uint256" } ], - "id": 2469, + "id": 1961, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2468, + "id": 1960, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": {} } }, - "id": 2471, + "id": 1963, "isConstant": false, "isLValue": false, "isPure": false, @@ -23950,7 +23950,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44867:12:1", + "src": "46140:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23958,12 +23958,12 @@ } }, { - "id": 2472, + "id": 1964, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2454, - "src": "44881:12:1", + "referencedDeclaration": 1946, + "src": "46154:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -23973,7 +23973,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23985,21 +23985,21 @@ "typeString": "string memory" } ], - "id": 2465, + "id": 1957, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, - "src": "44850:4:1", + "referencedDeclaration": 1743, + "src": "46123:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)" } }, - "id": 2473, + "id": 1965, "isConstant": false, "isLValue": false, "isPure": false, @@ -24007,7 +24007,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44850:44:1", + "src": "46123:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -24022,26 +24022,26 @@ "typeString": "bytes32" } ], - "id": 2464, + "id": 1956, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2463, + "id": 1955, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": {} } }, - "id": 2474, + "id": 1966, "isConstant": false, "isLValue": false, "isPure": false, @@ -24049,7 +24049,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44842:53:1", + "src": "46115:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -24064,26 +24064,26 @@ "typeString": "uint256" } ], - "id": 2462, + "id": 1954, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2461, + "id": 1953, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": {} } }, - "id": 2475, + "id": 1967, "isConstant": false, "isLValue": false, "isPure": false, @@ -24091,7 +24091,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44834:62:1", + "src": "46107:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -24106,26 +24106,26 @@ "typeString": "uint160" } ], - "id": 2460, + "id": 1952, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2459, + "id": 1951, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": {} } }, - "id": 2476, + "id": 1968, "isConstant": false, "isLValue": false, "isPure": false, @@ -24133,58 +24133,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44826:71:1", + "src": "46099:71:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2458, - "id": 2477, + "functionReturnParameters": 1950, + "id": 1969, "nodeType": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ] }, "documentation": { - "id": 2448, + "id": 1940, "nodeType": "StructuredDocumentation", - "src": "44419:269:1", + "src": "45685:274:0", "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2479, + "id": 1971, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2455, + "id": 1947, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2450, + "id": 1942, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44706:28:1", + "scope": 1971, + "src": "45978:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2449, + "id": 1941, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44706:16:1", + "referencedDeclaration": 1746, + "src": "45978:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -24192,12 +24192,12 @@ }, { "constant": false, - "id": 2452, + "id": 1944, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44736:11:1", + "scope": 1971, + "src": "46008:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24205,10 +24205,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2451, + "id": 1943, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44736:7:1", + "src": "46008:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24218,12 +24218,12 @@ }, { "constant": false, - "id": 2454, + "id": 1946, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44749:26:1", + "scope": 1971, + "src": "46021:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24231,10 +24231,10 @@ "typeString": "string" }, "typeName": { - "id": 2453, + "id": 1945, "name": "string", "nodeType": "ElementaryTypeName", - "src": "44749:6:1", + "src": "46021:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -24243,20 +24243,20 @@ "visibility": "internal" } ], - "src": "44705:71:1" + "src": "45977:71:0" }, "returnParameters": { - "id": 2458, + "id": 1950, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2457, + "id": 1949, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44800:7:1", + "scope": 1971, + "src": "46072:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24264,10 +24264,10 @@ "typeString": "address" }, "typeName": { - "id": 2456, + "id": 1948, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44800:7:1", + "src": "46072:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -24277,20 +24277,20 @@ "visibility": "internal" } ], - "src": "44799:9:1" + "src": "46071:9:0" }, - "scope": 2480, - "src": "44693:211:1", + "scope": 1972, + "src": "45965:213:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "35943:8963:1" + "scope": 2991, + "src": "36981:9200:0" }, { - "id": 2481, + "id": 1973, "literals": [ "solidity", ">=", @@ -24301,7 +24301,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "abstract": false, @@ -24309,24 +24309,24 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 2482, + "id": 1974, "nodeType": "StructuredDocumentation", - "src": "44992:34:1", + "src": "46272:36:0", "text": " @dev String operations." }, "fullyImplemented": true, - "id": 2566, + "id": 2058, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 2564, + "id": 2056, "nodeType": "Block", - "src": "45207:654:1", + "src": "46494:675:0", "statements": [ { "condition": { @@ -24334,18 +24334,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2492, + "id": 1984, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2490, + "id": 1982, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45409:5:1", + "referencedDeclaration": 1977, + "src": "46700:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24355,72 +24355,72 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2491, + "id": 1983, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45418:1:1", + "src": "46709:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45409:10:1", + "src": "46700:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2496, + "id": 1988, "nodeType": "IfStatement", - "src": "45405:51:1", + "src": "46696:53:0", "trueBody": { - "id": 2495, + "id": 1987, "nodeType": "Block", - "src": "45421:35:1", + "src": "46712:37:0", "statements": [ { "expression": { "hexValue": "30", - "id": 2493, + "id": 1985, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "45442:3:1", + "src": "46734:3:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", "typeString": "literal_string \"0\"" }, "value": "0" }, - "functionReturnParameters": 2489, - "id": 2494, + "functionReturnParameters": 1981, + "id": 1986, "nodeType": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ] } }, { "assignments": [ - 2498 + 1990 ], "declarations": [ { "constant": false, - "id": 2498, + "id": 1990, "mutability": "mutable", "name": "temp", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45465:12:1", + "scope": 2056, + "src": "46759:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24428,10 +24428,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2497, + "id": 1989, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45465:7:1", + "src": "46759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24440,35 +24440,35 @@ "visibility": "internal" } ], - "id": 2500, + "id": 1992, "initialValue": { - "id": 2499, + "id": 1991, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45480:5:1", + "referencedDeclaration": 1977, + "src": "46774:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "assignments": [ - 2502 + 1994 ], "declarations": [ { "constant": false, - "id": 2502, + "id": 1994, "mutability": "mutable", "name": "digits", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45495:14:1", + "scope": 2056, + "src": "46790:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24476,10 +24476,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2501, + "id": 1993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45495:7:1", + "src": "46790:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24488,19 +24488,19 @@ "visibility": "internal" } ], - "id": 2503, + "id": 1995, "nodeType": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "body": { - "id": 2514, + "id": 2006, "nodeType": "Block", - "src": "45537:57:1", + "src": "46833:60:0", "statements": [ { "expression": { - "id": 2508, + "id": 2000, "isConstant": false, "isLValue": false, "isPure": false, @@ -24508,14 +24508,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "45551:8:1", + "src": "46848:8:0", "subExpression": { - "id": 2507, + "id": 1999, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45551:6:1", + "referencedDeclaration": 1994, + "src": "46848:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24526,24 +24526,24 @@ "typeString": "uint256" } }, - "id": 2509, + "id": 2001, "nodeType": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "expression": { - "id": 2512, + "id": 2004, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2510, + "id": 2002, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45573:4:1", + "referencedDeclaration": 1990, + "src": "46871:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24553,29 +24553,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2511, + "id": 2003, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45581:2:1", + "src": "46879:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45573:10:1", + "src": "46871:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2513, + "id": 2005, "nodeType": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ] }, @@ -24584,18 +24584,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2506, + "id": 1998, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2504, + "id": 1996, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45526:4:1", + "referencedDeclaration": 1990, + "src": "46822:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24605,43 +24605,43 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2505, + "id": 1997, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45534:1:1", + "src": "46830:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45526:9:1", + "src": "46822:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2515, + "id": 2007, "nodeType": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "assignments": [ - 2517 + 2009 ], "declarations": [ { "constant": false, - "id": 2517, + "id": 2009, "mutability": "mutable", "name": "buffer", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45603:19:1", + "scope": 2056, + "src": "46903:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24649,10 +24649,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2516, + "id": 2008, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45603:5:1", + "src": "46903:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -24661,16 +24661,16 @@ "visibility": "internal" } ], - "id": 2522, + "id": 2014, "initialValue": { "arguments": [ { - "id": 2520, + "id": 2012, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45635:6:1", + "referencedDeclaration": 1994, + "src": "46935:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24684,29 +24684,29 @@ "typeString": "uint256" } ], - "id": 2519, + "id": 2011, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", - "src": "45625:9:1", + "src": "46925:9:0", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", "typeString": "function (uint256) pure returns (bytes memory)" }, "typeName": { - "id": 2518, + "id": 2010, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45629:5:1", + "src": "46929:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } } }, - "id": 2521, + "id": 2013, "isConstant": false, "isLValue": false, "isPure": false, @@ -24714,7 +24714,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45625:17:1", + "src": "46925:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -24722,21 +24722,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "assignments": [ - 2524 + 2016 ], "declarations": [ { "constant": false, - "id": 2524, + "id": 2016, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45652:13:1", + "scope": 2056, + "src": "46953:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24744,10 +24744,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2523, + "id": 2015, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45652:7:1", + "src": "46953:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24756,24 +24756,24 @@ "visibility": "internal" } ], - "id": 2528, + "id": 2020, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2527, + "id": 2019, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2525, + "id": 2017, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45668:6:1", + "referencedDeclaration": 1994, + "src": "46969:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24783,43 +24783,43 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2526, + "id": 2018, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45677:1:1", + "src": "46978:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "45668:10:1", + "src": "46969:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "expression": { - "id": 2531, + "id": 2023, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2529, + "id": 2021, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45688:4:1", + "referencedDeclaration": 1990, + "src": "46990:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24828,56 +24828,56 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2530, + "id": 2022, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45695:5:1", + "referencedDeclaration": 1977, + "src": "46997:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45688:12:1", + "src": "46990:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2532, + "id": 2024, "nodeType": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "body": { - "id": 2557, + "id": 2049, "nodeType": "Block", - "src": "45728:96:1", + "src": "47031:99:0", "statements": [ { "expression": { - "id": 2551, + "id": 2043, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2536, + "id": 2028, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45742:6:1", + "referencedDeclaration": 2009, + "src": "47046:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2539, + "id": 2031, "indexExpression": { - "id": 2538, + "id": 2030, "isConstant": false, "isLValue": false, "isPure": false, @@ -24885,14 +24885,14 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "45749:7:1", + "src": "47053:7:0", "subExpression": { - "id": 2537, + "id": 2029, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2524, - "src": "45749:5:1", + "referencedDeclaration": 2016, + "src": "47053:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24908,7 +24908,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "45742:15:1", + "src": "47046:15:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -24925,21 +24925,21 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2548, + "id": 2040, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "hexValue": "3438", - "id": 2544, + "id": 2036, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45773:2:1", + "src": "47077:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_48_by_1", "typeString": "int_const 48" @@ -24953,18 +24953,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2547, + "id": 2039, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2545, + "id": 2037, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45778:4:1", + "referencedDeclaration": 1990, + "src": "47082:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24974,27 +24974,27 @@ "operator": "%", "rightExpression": { "hexValue": "3130", - "id": 2546, + "id": 2038, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45785:2:1", + "src": "47089:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45778:9:1", + "src": "47082:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45773:14:1", + "src": "47077:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25008,26 +25008,26 @@ "typeString": "uint256" } ], - "id": 2543, + "id": 2035, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint8_$", "typeString": "type(uint8)" }, "typeName": { - "id": 2542, + "id": 2034, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": {} } }, - "id": 2549, + "id": 2041, "isConstant": false, "isLValue": false, "isPure": false, @@ -25035,7 +25035,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45767:21:1", + "src": "47071:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint8", @@ -25050,26 +25050,26 @@ "typeString": "uint8" } ], - "id": 2541, + "id": 2033, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": { - "id": 2540, + "id": 2032, "name": "bytes1", "nodeType": "ElementaryTypeName", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": {} } }, - "id": 2550, + "id": 2042, "isConstant": false, "isLValue": false, "isPure": false, @@ -25077,37 +25077,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45760:29:1", + "src": "47064:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "45742:47:1", + "src": "47046:47:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "id": 2552, + "id": 2044, "nodeType": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "expression": { - "id": 2555, + "id": 2047, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2553, + "id": 2045, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45803:4:1", + "referencedDeclaration": 1990, + "src": "47108:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25117,29 +25117,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2554, + "id": 2046, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45811:2:1", + "src": "47116:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45803:10:1", + "src": "47108:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2556, + "id": 2048, "nodeType": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ] }, @@ -25148,18 +25148,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2535, + "id": 2027, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2533, + "id": 2025, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45717:4:1", + "referencedDeclaration": 1990, + "src": "47020:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25169,40 +25169,40 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2534, + "id": 2026, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45725:1:1", + "src": "47028:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45717:9:1", + "src": "47020:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2558, + "id": 2050, "nodeType": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "expression": { "arguments": [ { - "id": 2561, + "id": 2053, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45847:6:1", + "referencedDeclaration": 2009, + "src": "47154:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -25216,26 +25216,26 @@ "typeString": "bytes memory" } ], - "id": 2560, + "id": 2052, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2559, + "id": 2051, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": {} } }, - "id": 2562, + "id": 2054, "isConstant": false, "isLValue": false, "isPure": false, @@ -25243,44 +25243,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45840:14:1", + "src": "47147:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2489, - "id": 2563, + "functionReturnParameters": 1981, + "id": 2055, "nodeType": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ] }, "documentation": { - "id": 2483, + "id": 1975, "nodeType": "StructuredDocumentation", - "src": "45049:82:1", + "src": "46333:84:0", "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2565, + "id": 2057, "implemented": true, "kind": "function", "modifiers": [], "name": "toString", "nodeType": "FunctionDefinition", "parameters": { - "id": 2486, + "id": 1978, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2485, + "id": 1977, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45154:13:1", + "scope": 2057, + "src": "46441:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25288,10 +25288,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2484, + "id": 1976, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45154:7:1", + "src": "46441:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25300,20 +25300,20 @@ "visibility": "internal" } ], - "src": "45153:15:1" + "src": "46440:15:0" }, "returnParameters": { - "id": 2489, + "id": 1981, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2488, + "id": 1980, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45192:13:1", + "scope": 2057, + "src": "46479:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -25321,10 +25321,10 @@ "typeString": "string" }, "typeName": { - "id": 2487, + "id": 1979, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45192:6:1", + "src": "46479:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25333,20 +25333,20 @@ "visibility": "internal" } ], - "src": "45191:15:1" + "src": "46478:15:0" }, - "scope": 2566, - "src": "45136:725:1", + "scope": 2058, + "src": "46423:746:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "45027:836:1" + "scope": 2991, + "src": "46310:862:0" }, { - "id": 2567, + "id": 2059, "literals": [ "solidity", ">=", @@ -25357,141 +25357,141 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 2569, + "id": 2061, "name": "Context", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 530, - "src": "46099:7:1", + "referencedDeclaration": 22, + "src": "47417:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 2570, + "id": 2062, "nodeType": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "baseName": { - "id": 2571, + "id": 2063, "name": "ERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 781, - "src": "46108:6:1", + "referencedDeclaration": 273, + "src": "47426:6:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC165_$781", + "typeIdentifier": "t_contract$_ERC165_$273", "typeString": "contract ERC165" } }, - "id": 2572, + "id": 2064, "nodeType": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "baseName": { - "id": 2573, + "id": 2065, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "46116:7:1", + "referencedDeclaration": 147, + "src": "47434:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 2574, + "id": 2066, "nodeType": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "baseName": { - "id": 2575, + "id": 2067, "name": "IERC721Metadata", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 680, - "src": "46125:15:1", + "referencedDeclaration": 172, + "src": "47443:15:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Metadata_$680", + "typeIdentifier": "t_contract$_IERC721Metadata_$172", "typeString": "contract IERC721Metadata" } }, - "id": 2576, + "id": 2068, "nodeType": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "baseName": { - "id": 2577, + "id": 2069, "name": "IERC721Enumerable", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 709, - "src": "46142:17:1", + "referencedDeclaration": 201, + "src": "47460:17:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Enumerable_$709", + "typeIdentifier": "t_contract$_IERC721Enumerable_$201", "typeString": "contract IERC721Enumerable" } }, - "id": 2578, + "id": 2070, "nodeType": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" } ], "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "documentation": { - "id": 2568, + "id": 2060, "nodeType": "StructuredDocumentation", - "src": "45955:124:1", + "src": "47269:127:0", "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": true, - "id": 3498, + "id": 2990, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", "nodeType": "ContractDefinition", "nodes": [ { - "id": 2581, + "id": 2073, "libraryName": { - "id": 2579, + "id": 2071, "name": "SafeMath", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1135, - "src": "46172:8:1", + "referencedDeclaration": 627, + "src": "47491:8:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$1135", + "typeIdentifier": "t_contract$_SafeMath_$627", "typeString": "library SafeMath" } }, "nodeType": "UsingForDirective", - "src": "46166:27:1", + "src": "47485:27:0", "typeName": { - "id": 2580, + "id": 2072, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46185:7:1", + "src": "47504:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25499,25 +25499,25 @@ } }, { - "id": 2584, + "id": 2076, "libraryName": { - "id": 2582, + "id": 2074, "name": "Address", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1430, - "src": "46204:7:1", + "referencedDeclaration": 922, + "src": "47524:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } }, "nodeType": "UsingForDirective", - "src": "46198:26:1", + "src": "47518:26:0", "typeName": { - "id": 2583, + "id": 2075, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46216:7:1", + "src": "47536:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25526,79 +25526,79 @@ } }, { - "id": 2587, + "id": 2079, "libraryName": { - "id": 2585, + "id": 2077, "name": "EnumerableSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1921, - "src": "46235:13:1", + "referencedDeclaration": 1413, + "src": "47556:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableSet_$1921", + "typeIdentifier": "t_contract$_EnumerableSet_$1413", "typeString": "library EnumerableSet" } }, "nodeType": "UsingForDirective", - "src": "46229:46:1", + "src": "47550:46:0", "typeName": { - "id": 2586, + "id": 2078, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46253:21:1", + "referencedDeclaration": 1318, + "src": "47574:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } }, { - "id": 2590, + "id": 2082, "libraryName": { - "id": 2588, + "id": 2080, "name": "EnumerableMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2480, - "src": "46286:13:1", + "referencedDeclaration": 1972, + "src": "47608:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableMap_$2480", + "typeIdentifier": "t_contract$_EnumerableMap_$1972", "typeString": "library EnumerableMap" } }, "nodeType": "UsingForDirective", - "src": "46280:55:1", + "src": "47602:55:0", "typeName": { - "id": 2589, + "id": 2081, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46304:30:1", + "referencedDeclaration": 1746, + "src": "47626:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } } }, { - "id": 2593, + "id": 2085, "libraryName": { - "id": 2591, + "id": 2083, "name": "Strings", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2566, - "src": "46346:7:1", + "referencedDeclaration": 2058, + "src": "47669:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Strings_$2566", + "typeIdentifier": "t_contract$_Strings_$2058", "typeString": "library Strings" } }, "nodeType": "UsingForDirective", - "src": "46340:26:1", + "src": "47663:26:0", "typeName": { - "id": 2592, + "id": 2084, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46358:7:1", + "src": "47681:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25607,12 +25607,12 @@ }, { "constant": true, - "id": 2596, + "id": 2088, "mutability": "constant", "name": "_ERC721_RECEIVED", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46544:53:1", + "scope": 2990, + "src": "47871:53:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25620,10 +25620,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2594, + "id": 2086, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "46544:6:1", + "src": "47871:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -25631,14 +25631,14 @@ }, "value": { "hexValue": "30783135306237613032", - "id": 2595, + "id": 2087, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "46587:10:1", + "src": "47914:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_353073666_by_1", "typeString": "int_const 353073666" @@ -25649,44 +25649,44 @@ }, { "constant": false, - "id": 2600, + "id": 2092, "mutability": "mutable", "name": "_holderTokens", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46681:64:1", + "scope": 2990, + "src": "48011:64:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "typeName": { - "id": 2599, + "id": 2091, "keyType": { - "id": 2597, + "id": 2089, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46690:7:1", + "src": "48020:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "46681:42:1", + "src": "48011:42:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "valueType": { - "id": 2598, + "id": 2090, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46701:21:1", + "referencedDeclaration": 1318, + "src": "48031:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } @@ -25695,26 +25695,26 @@ }, { "constant": false, - "id": 2602, + "id": 2094, "mutability": "mutable", "name": "_tokenOwners", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46809:51:1", + "scope": 2990, + "src": "48142:51:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2601, + "id": 2093, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46809:30:1", + "referencedDeclaration": 1746, + "src": "48142:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -25722,12 +25722,12 @@ }, { "constant": false, - "id": 2606, + "id": 2098, "mutability": "mutable", "name": "_tokenApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46916:52:1", + "scope": 2990, + "src": "48252:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25735,28 +25735,28 @@ "typeString": "mapping(uint256 => address)" }, "typeName": { - "id": 2605, + "id": 2097, "keyType": { - "id": 2603, + "id": 2095, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46925:7:1", + "src": "48261:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "46916:28:1", + "src": "48252:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" }, "valueType": { - "id": 2604, + "id": 2096, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46936:7:1", + "src": "48272:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25768,12 +25768,12 @@ }, { "constant": false, - "id": 2612, + "id": 2104, "mutability": "mutable", "name": "_operatorApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47023:73:1", + "scope": 2990, + "src": "48362:73:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25781,46 +25781,46 @@ "typeString": "mapping(address => mapping(address => bool))" }, "typeName": { - "id": 2611, + "id": 2103, "keyType": { - "id": 2607, + "id": 2099, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47032:7:1", + "src": "48371:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47023:46:1", + "src": "48362:46:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" }, "valueType": { - "id": 2610, + "id": 2102, "keyType": { - "id": 2608, + "id": 2100, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47052:7:1", + "src": "48391:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47043:25:1", + "src": "48382:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" }, "valueType": { - "id": 2609, + "id": 2101, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "47063:4:1", + "src": "48402:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -25832,12 +25832,12 @@ }, { "constant": false, - "id": 2614, + "id": 2106, "mutability": "mutable", "name": "_name", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47121:20:1", + "scope": 2990, + "src": "48463:20:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25845,10 +25845,10 @@ "typeString": "string" }, "typeName": { - "id": 2613, + "id": 2105, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47121:6:1", + "src": "48463:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25858,12 +25858,12 @@ }, { "constant": false, - "id": 2616, + "id": 2108, "mutability": "mutable", "name": "_symbol", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47168:22:1", + "scope": 2990, + "src": "48513:22:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25871,10 +25871,10 @@ "typeString": "string" }, "typeName": { - "id": 2615, + "id": 2107, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47168:6:1", + "src": "48513:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25884,12 +25884,12 @@ }, { "constant": false, - "id": 2620, + "id": 2112, "mutability": "mutable", "name": "_tokenURIs", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47236:46:1", + "scope": 2990, + "src": "48584:46:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25897,28 +25897,28 @@ "typeString": "mapping(uint256 => string)" }, "typeName": { - "id": 2619, + "id": 2111, "keyType": { - "id": 2617, + "id": 2109, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "47245:7:1", + "src": "48593:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "47236:27:1", + "src": "48584:27:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string)" }, "valueType": { - "id": 2618, + "id": 2110, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47256:6:1", + "src": "48604:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25929,12 +25929,12 @@ }, { "constant": false, - "id": 2622, + "id": 2114, "mutability": "mutable", "name": "_baseURI", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47305:23:1", + "scope": 2990, + "src": "48656:23:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25942,10 +25942,10 @@ "typeString": "string" }, "typeName": { - "id": 2621, + "id": 2113, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47305:6:1", + "src": "48656:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25955,12 +25955,12 @@ }, { "constant": true, - "id": 2625, + "id": 2117, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48204:57:1", + "scope": 2990, + "src": "49571:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25968,10 +25968,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2623, + "id": 2115, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48204:6:1", + "src": "49571:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -25979,14 +25979,14 @@ }, "value": { "hexValue": "30783830616335386364", - "id": 2624, + "id": 2116, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48251:10:1", + "src": "49618:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2158778573_by_1", "typeString": "int_const 2158778573" @@ -25997,12 +25997,12 @@ }, { "constant": true, - "id": 2628, + "id": 2120, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48527:66:1", + "scope": 2990, + "src": "49903:66:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26010,10 +26010,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2626, + "id": 2118, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48527:6:1", + "src": "49903:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26021,14 +26021,14 @@ }, "value": { "hexValue": "30783562356531333966", - "id": 2627, + "id": 2119, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48583:10:1", + "src": "49959:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_1532892063_by_1", "typeString": "int_const 1532892063" @@ -26039,12 +26039,12 @@ }, { "constant": true, - "id": 2631, + "id": 2123, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48898:68:1", + "scope": 2990, + "src": "50283:68:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26052,10 +26052,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2629, + "id": 2121, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48898:6:1", + "src": "50283:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26063,14 +26063,14 @@ }, "value": { "hexValue": "30783738306539643633", - "id": 2630, + "id": 2122, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48956:10:1", + "src": "50341:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2014223715_by_1", "typeString": "int_const 2014223715" @@ -26081,24 +26081,24 @@ }, { "body": { - "id": 2659, + "id": 2151, "nodeType": "Block", - "src": "49143:305:1", + "src": "50533:313:0", "statements": [ { "expression": { - "id": 2641, + "id": 2133, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2639, + "id": 2131, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "49153:5:1", + "referencedDeclaration": 2106, + "src": "50544:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26107,41 +26107,41 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2640, + "id": 2132, "name": "name_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2634, - "src": "49161:5:1", + "referencedDeclaration": 2126, + "src": "50552:5:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49153:13:1", + "src": "50544:13:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2642, + "id": 2134, "nodeType": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "expression": { - "id": 2645, + "id": 2137, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2643, + "id": 2135, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "49176:7:1", + "referencedDeclaration": 2108, + "src": "50568:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26150,37 +26150,37 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2644, + "id": 2136, "name": "symbol_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2636, - "src": "49186:7:1", + "referencedDeclaration": 2128, + "src": "50578:7:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49176:17:1", + "src": "50568:17:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2646, + "id": 2138, "nodeType": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "expression": { "arguments": [ { - "id": 2648, + "id": 2140, "name": "_INTERFACE_ID_ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2625, - "src": "49300:20:1", + "referencedDeclaration": 2117, + "src": "50695:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26194,18 +26194,18 @@ "typeString": "bytes4" } ], - "id": 2647, + "id": 2139, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49281:18:1", + "referencedDeclaration": 272, + "src": "50676:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2649, + "id": 2141, "isConstant": false, "isLValue": false, "isPure": false, @@ -26213,27 +26213,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49281:40:1", + "src": "50676:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2650, + "id": 2142, "nodeType": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "expression": { "arguments": [ { - "id": 2652, + "id": 2144, "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2628, - "src": "49350:29:1", + "referencedDeclaration": 2120, + "src": "50746:29:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26247,18 +26247,18 @@ "typeString": "bytes4" } ], - "id": 2651, + "id": 2143, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49331:18:1", + "referencedDeclaration": 272, + "src": "50727:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2653, + "id": 2145, "isConstant": false, "isLValue": false, "isPure": false, @@ -26266,27 +26266,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49331:49:1", + "src": "50727:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2654, + "id": 2146, "nodeType": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "expression": { "arguments": [ { - "id": 2656, + "id": 2148, "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2631, - "src": "49409:31:1", + "referencedDeclaration": 2123, + "src": "50806:31:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26300,18 +26300,18 @@ "typeString": "bytes4" } ], - "id": 2655, + "id": 2147, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49390:18:1", + "referencedDeclaration": 272, + "src": "50787:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2657, + "id": 2149, "isConstant": false, "isLValue": false, "isPure": false, @@ -26319,43 +26319,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49390:51:1", + "src": "50787:51:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2658, + "id": 2150, "nodeType": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ] }, "documentation": { - "id": 2632, + "id": 2124, "nodeType": "StructuredDocumentation", - "src": "48973:108:1", + "src": "50360:110:0", "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2660, + "id": 2152, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 2637, + "id": 2129, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2634, + "id": 2126, "mutability": "mutable", "name": "name_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49099:19:1", + "scope": 2152, + "src": "50489:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26363,10 +26363,10 @@ "typeString": "string" }, "typeName": { - "id": 2633, + "id": 2125, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49099:6:1", + "src": "50489:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26376,12 +26376,12 @@ }, { "constant": false, - "id": 2636, + "id": 2128, "mutability": "mutable", "name": "symbol_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49120:21:1", + "scope": 2152, + "src": "50510:21:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26389,10 +26389,10 @@ "typeString": "string" }, "typeName": { - "id": 2635, + "id": 2127, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49120:6:1", + "src": "50510:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26401,28 +26401,28 @@ "visibility": "internal" } ], - "src": "49098:44:1" + "src": "50488:44:0" }, "returnParameters": { - "id": 2638, + "id": 2130, "nodeType": "ParameterList", "parameters": [], - "src": "49143:0:1" + "src": "50533:0:0" }, - "scope": 3498, - "src": "49086:362:1", + "scope": 2990, + "src": "50476:370:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { "baseFunctions": [ - 580 + 72 ], "body": { - "id": 2685, + "id": 2177, "nodeType": "Block", - "src": "49588:137:1", + "src": "50991:140:0", "statements": [ { "expression": { @@ -26432,18 +26432,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2675, + "id": 2167, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2670, + "id": 2162, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49606:5:1", + "referencedDeclaration": 2155, + "src": "51010:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26455,14 +26455,14 @@ "arguments": [ { "hexValue": "30", - "id": 2673, + "id": 2165, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "49623:1:1", + "src": "51027:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -26477,26 +26477,26 @@ "typeString": "int_const 0" } ], - "id": 2672, + "id": 2164, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2671, + "id": 2163, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": {} } }, - "id": 2674, + "id": 2166, "isConstant": false, "isLValue": false, "isPure": true, @@ -26504,14 +26504,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49615:10:1", + "src": "51019:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "49606:19:1", + "src": "51010:19:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -26519,14 +26519,14 @@ }, { "hexValue": "4552433732313a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373", - "id": 2676, + "id": 2168, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49627:44:1", + "src": "51031:44:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7395d4d3901c50cdfcab223d072f9aa36241df5d883e62cbf147ee1b05a9e6ba", "typeString": "literal_string \"ERC721: balance query for the zero address\"" @@ -26545,7 +26545,7 @@ "typeString": "literal_string \"ERC721: balance query for the zero address\"" } ], - "id": 2669, + "id": 2161, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -26553,13 +26553,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "49598:7:1", + "src": "51002:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2677, + "id": 2169, "isConstant": false, "isLValue": false, "isPure": false, @@ -26567,16 +26567,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49598:74:1", + "src": "51002:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2678, + "id": 2170, "nodeType": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "expression": { @@ -26585,25 +26585,25 @@ "argumentTypes": [], "expression": { "baseExpression": { - "id": 2679, + "id": 2171, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "49689:13:1", + "referencedDeclaration": 2092, + "src": "51094:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2681, + "id": 2173, "indexExpression": { - "id": 2680, + "id": 2172, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49703:5:1", + "referencedDeclaration": 2155, + "src": "51108:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26614,27 +26614,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "49689:20:1", + "src": "51094:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2682, + "id": 2174, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 1900, - "src": "49689:27:1", + "referencedDeclaration": 1392, + "src": "51094:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" } }, - "id": 2683, + "id": 2175, "isConstant": false, "isLValue": false, "isPure": false, @@ -26642,51 +26642,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49689:29:1", + "src": "51094:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2668, - "id": 2684, + "functionReturnParameters": 2160, + "id": 2176, "nodeType": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ] }, "documentation": { - "id": 2661, + "id": 2153, "nodeType": "StructuredDocumentation", - "src": "49454:48:1", + "src": "50854:50:0", "text": " @dev See {IERC721-balanceOf}." }, "functionSelector": "70a08231", - "id": 2686, + "id": 2178, "implemented": true, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2665, + "id": 2157, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49561:8:1" + "src": "50964:8:0" }, "parameters": { - "id": 2664, + "id": 2156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2663, + "id": 2155, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49526:13:1", + "scope": 2178, + "src": "50929:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26694,10 +26694,10 @@ "typeString": "address" }, "typeName": { - "id": 2662, + "id": 2154, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49526:7:1", + "src": "50929:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26707,20 +26707,20 @@ "visibility": "internal" } ], - "src": "49525:15:1" + "src": "50928:15:0" }, "returnParameters": { - "id": 2668, + "id": 2160, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2667, + "id": 2159, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49579:7:1", + "scope": 2178, + "src": "50982:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26728,10 +26728,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2666, + "id": 2158, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49579:7:1", + "src": "50982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26740,33 +26740,33 @@ "visibility": "internal" } ], - "src": "49578:9:1" + "src": "50981:9:0" }, - "scope": 3498, - "src": "49507:218:1", + "scope": 2990, + "src": "50910:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 588 + 80 ], "body": { - "id": 2701, + "id": 2193, "nodeType": "Block", - "src": "49863:94:1", + "src": "51274:96:0", "statements": [ { "expression": { "arguments": [ { - "id": 2697, + "id": 2189, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2689, - "src": "49897:7:1", + "referencedDeclaration": 2181, + "src": "51309:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26774,14 +26774,14 @@ }, { "hexValue": "4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2698, + "id": 2190, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49906:43:1", + "src": "51318:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7481f3df2a424c0755a1ad2356614e9a5a358d461ea2eae1f89cb21cbad00397", "typeString": "literal_string \"ERC721: owner query for nonexistent token\"" @@ -26801,32 +26801,32 @@ } ], "expression": { - "id": 2695, + "id": 2187, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "49880:12:1", + "referencedDeclaration": 2094, + "src": "51292:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2696, + "id": 2188, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "get", "nodeType": "MemberAccess", - "referencedDeclaration": 2479, - "src": "49880:16:1", + "referencedDeclaration": 1971, + "src": "51292:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" } }, - "id": 2699, + "id": 2191, "isConstant": false, "isLValue": false, "isPure": false, @@ -26834,51 +26834,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49880:70:1", + "src": "51292:70:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2694, - "id": 2700, + "functionReturnParameters": 2186, + "id": 2192, "nodeType": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ] }, "documentation": { - "id": 2687, + "id": 2179, "nodeType": "StructuredDocumentation", - "src": "49731:46:1", + "src": "51139:48:0", "text": " @dev See {IERC721-ownerOf}." }, "functionSelector": "6352211e", - "id": 2702, + "id": 2194, "implemented": true, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2691, + "id": 2183, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49836:8:1" + "src": "51247:8:0" }, "parameters": { - "id": 2690, + "id": 2182, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2689, + "id": 2181, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49799:15:1", + "scope": 2194, + "src": "51210:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26886,10 +26886,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2688, + "id": 2180, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49799:7:1", + "src": "51210:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26898,20 +26898,20 @@ "visibility": "internal" } ], - "src": "49798:17:1" + "src": "51209:17:0" }, "returnParameters": { - "id": 2694, + "id": 2186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2693, + "id": 2185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49854:7:1", + "scope": 2194, + "src": "51265:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26919,10 +26919,10 @@ "typeString": "address" }, "typeName": { - "id": 2692, + "id": 2184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49854:7:1", + "src": "51265:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26932,80 +26932,80 @@ "visibility": "internal" } ], - "src": "49853:9:1" + "src": "51264:9:0" }, - "scope": 3498, - "src": "49782:175:1", + "scope": 2990, + "src": "51193:177:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 665 + 157 ], "body": { - "id": 2711, + "id": 2203, "nodeType": "Block", - "src": "50088:29:1", + "src": "51506:31:0", "statements": [ { "expression": { - "id": 2709, + "id": 2201, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "50105:5:1", + "referencedDeclaration": 2106, + "src": "51524:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2708, - "id": 2710, + "functionReturnParameters": 2200, + "id": 2202, "nodeType": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ] }, "documentation": { - "id": 2703, + "id": 2195, "nodeType": "StructuredDocumentation", - "src": "49963:51:1", + "src": "51378:53:0", "text": " @dev See {IERC721Metadata-name}." }, "functionSelector": "06fdde03", - "id": 2712, + "id": 2204, "implemented": true, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "overrides": { - "id": 2705, + "id": 2197, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50055:8:1" + "src": "51473:8:0" }, "parameters": { - "id": 2704, + "id": 2196, "nodeType": "ParameterList", "parameters": [], - "src": "50032:2:1" + "src": "51450:2:0" }, "returnParameters": { - "id": 2708, + "id": 2200, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2707, + "id": 2199, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2712, - "src": "50073:13:1", + "scope": 2204, + "src": "51491:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27013,10 +27013,10 @@ "typeString": "string" }, "typeName": { - "id": 2706, + "id": 2198, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50073:6:1", + "src": "51491:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27025,80 +27025,80 @@ "visibility": "internal" } ], - "src": "50072:15:1" + "src": "51490:15:0" }, - "scope": 3498, - "src": "50019:98:1", + "scope": 2990, + "src": "51437:100:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 671 + 163 ], "body": { - "id": 2721, + "id": 2213, "nodeType": "Block", - "src": "50252:31:1", + "src": "51677:33:0", "statements": [ { "expression": { - "id": 2719, + "id": 2211, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "50269:7:1", + "referencedDeclaration": 2108, + "src": "51695:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2718, - "id": 2720, + "functionReturnParameters": 2210, + "id": 2212, "nodeType": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ] }, "documentation": { - "id": 2713, + "id": 2205, "nodeType": "StructuredDocumentation", - "src": "50123:53:1", + "src": "51545:55:0", "text": " @dev See {IERC721Metadata-symbol}." }, "functionSelector": "95d89b41", - "id": 2722, + "id": 2214, "implemented": true, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "overrides": { - "id": 2715, + "id": 2207, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50219:8:1" + "src": "51644:8:0" }, "parameters": { - "id": 2714, + "id": 2206, "nodeType": "ParameterList", "parameters": [], - "src": "50196:2:1" + "src": "51621:2:0" }, "returnParameters": { - "id": 2718, + "id": 2210, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2717, + "id": 2209, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2722, - "src": "50237:13:1", + "scope": 2214, + "src": "51662:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27106,10 +27106,10 @@ "typeString": "string" }, "typeName": { - "id": 2716, + "id": 2208, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50237:6:1", + "src": "51662:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27118,22 +27118,22 @@ "visibility": "internal" } ], - "src": "50236:15:1" + "src": "51661:15:0" }, - "scope": 3498, - "src": "50181:102:1", + "scope": 2990, + "src": "51606:104:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 679 + 171 ], "body": { - "id": 2789, + "id": 2281, "nodeType": "Block", - "src": "50437:688:1", + "src": "51869:704:0", "statements": [ { "expression": { @@ -27141,12 +27141,12 @@ { "arguments": [ { - "id": 2733, + "id": 2225, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50463:7:1", + "referencedDeclaration": 2217, + "src": "51896:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27160,18 +27160,18 @@ "typeString": "uint256" } ], - "id": 2732, + "id": 2224, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "50455:7:1", + "referencedDeclaration": 2577, + "src": "51888:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2734, + "id": 2226, "isConstant": false, "isLValue": false, "isPure": false, @@ -27179,7 +27179,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50455:16:1", + "src": "51888:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -27188,14 +27188,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2735, + "id": 2227, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "50473:49:1", + "src": "51906:49:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a2d45c0fba603d40d82d590051761ca952d1ab9d78cca6d0d464d7b6e961a9cb", "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" @@ -27214,7 +27214,7 @@ "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" } ], - "id": 2731, + "id": 2223, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -27222,13 +27222,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "50447:7:1", + "src": "51880:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2736, + "id": 2228, "isConstant": false, "isLValue": false, "isPure": false, @@ -27236,30 +27236,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50447:76:1", + "src": "51880:76:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2737, + "id": 2229, "nodeType": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "assignments": [ - 2739 + 2231 ], "declarations": [ { "constant": false, - "id": 2739, + "id": 2231, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50534:23:1", + "scope": 2281, + "src": "51969:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27267,10 +27267,10 @@ "typeString": "string" }, "typeName": { - "id": 2738, + "id": 2230, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50534:6:1", + "src": "51969:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27279,28 +27279,28 @@ "visibility": "internal" } ], - "id": 2743, + "id": 2235, "initialValue": { "baseExpression": { - "id": 2740, + "id": 2232, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "50560:10:1", + "referencedDeclaration": 2112, + "src": "51995:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 2742, + "id": 2234, "indexExpression": { - "id": 2741, + "id": 2233, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50571:7:1", + "referencedDeclaration": 2217, + "src": "52006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27311,28 +27311,28 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "50560:19:1", + "src": "51995:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "assignments": [ - 2745 + 2237 ], "declarations": [ { "constant": false, - "id": 2745, + "id": 2237, "mutability": "mutable", "name": "base", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50589:18:1", + "scope": 2281, + "src": "52025:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27340,10 +27340,10 @@ "typeString": "string" }, "typeName": { - "id": 2744, + "id": 2236, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50589:6:1", + "src": "52025:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27352,23 +27352,23 @@ "visibility": "internal" } ], - "id": 2748, + "id": 2240, "initialValue": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2746, + "id": 2238, "name": "baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2799, - "src": "50610:7:1", + "referencedDeclaration": 2291, + "src": "52046:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_string_memory_ptr_$", "typeString": "function () view returns (string memory)" } }, - "id": 2747, + "id": 2239, "isConstant": false, "isLValue": false, "isPure": false, @@ -27376,7 +27376,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50610:9:1", + "src": "52046:9:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27384,7 +27384,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "condition": { @@ -27392,7 +27392,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2755, + "id": 2247, "isConstant": false, "isLValue": false, "isPure": false, @@ -27401,12 +27401,12 @@ "expression": { "arguments": [ { - "id": 2751, + "id": 2243, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50698:4:1", + "referencedDeclaration": 2237, + "src": "52137:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27420,26 +27420,26 @@ "typeString": "string memory" } ], - "id": 2750, + "id": 2242, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2749, + "id": 2241, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": {} } }, - "id": 2752, + "id": 2244, "isConstant": false, "isLValue": false, "isPure": false, @@ -27447,21 +27447,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50692:11:1", + "src": "52131:11:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2753, + "id": 2245, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50692:18:1", + "src": "52131:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27471,51 +27471,51 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2754, + "id": 2246, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50714:1:1", + "src": "52153:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50692:23:1", + "src": "52131:23:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2759, + "id": 2251, "nodeType": "IfStatement", - "src": "50688:70:1", + "src": "52127:72:0", "trueBody": { - "id": 2758, + "id": 2250, "nodeType": "Block", - "src": "50717:41:1", + "src": "52156:43:0", "statements": [ { "expression": { - "id": 2756, + "id": 2248, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50738:9:1", + "referencedDeclaration": 2231, + "src": "52178:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2757, + "functionReturnParameters": 2222, + "id": 2249, "nodeType": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ] } @@ -27526,7 +27526,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2766, + "id": 2258, "isConstant": false, "isLValue": false, "isPure": false, @@ -27535,12 +27535,12 @@ "expression": { "arguments": [ { - "id": 2762, + "id": 2254, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50866:9:1", + "referencedDeclaration": 2231, + "src": "52309:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27554,26 +27554,26 @@ "typeString": "string memory" } ], - "id": 2761, + "id": 2253, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2760, + "id": 2252, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": {} } }, - "id": 2763, + "id": 2255, "isConstant": false, "isLValue": false, "isPure": false, @@ -27581,21 +27581,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50860:16:1", + "src": "52303:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2764, + "id": 2256, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50860:23:1", + "src": "52303:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27605,33 +27605,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 2765, + "id": 2257, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50886:1:1", + "src": "52329:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50860:27:1", + "src": "52303:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2777, + "id": 2269, "nodeType": "IfStatement", - "src": "50856:106:1", + "src": "52299:108:0", "trueBody": { - "id": 2776, + "id": 2268, "nodeType": "Block", - "src": "50889:73:1", + "src": "52332:75:0", "statements": [ { "expression": { @@ -27639,24 +27639,24 @@ { "arguments": [ { - "id": 2771, + "id": 2263, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50934:4:1", + "referencedDeclaration": 2237, + "src": "52378:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, { - "id": 2772, + "id": 2264, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50940:9:1", + "referencedDeclaration": 2231, + "src": "52384:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27675,31 +27675,31 @@ } ], "expression": { - "id": 2769, + "id": 2261, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "50917:3:1", + "src": "52361:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2770, + "id": 2262, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "50917:16:1", + "src": "52361:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2773, + "id": 2265, "isConstant": false, "isLValue": false, "isPure": false, @@ -27707,7 +27707,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50917:33:1", + "src": "52361:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -27722,26 +27722,26 @@ "typeString": "bytes memory" } ], - "id": 2768, + "id": 2260, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2767, + "id": 2259, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": {} } }, - "id": 2774, + "id": 2266, "isConstant": false, "isLValue": false, "isPure": false, @@ -27749,17 +27749,17 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50910:41:1", + "src": "52354:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2775, + "functionReturnParameters": 2222, + "id": 2267, "nodeType": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ] } @@ -27770,12 +27770,12 @@ { "arguments": [ { - "id": 2782, + "id": 2274, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "51092:4:1", + "referencedDeclaration": 2237, + "src": "52539:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27786,32 +27786,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2783, + "id": 2275, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "51098:7:1", + "referencedDeclaration": 2217, + "src": "52545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2784, + "id": 2276, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toString", "nodeType": "MemberAccess", - "referencedDeclaration": 2565, - "src": "51098:16:1", + "referencedDeclaration": 2057, + "src": "52545:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$bound_to$_t_uint256_$", "typeString": "function (uint256) pure returns (string memory)" } }, - "id": 2785, + "id": 2277, "isConstant": false, "isLValue": false, "isPure": false, @@ -27819,7 +27819,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51098:18:1", + "src": "52545:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27839,31 +27839,31 @@ } ], "expression": { - "id": 2780, + "id": 2272, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "51075:3:1", + "src": "52522:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2781, + "id": 2273, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "51075:16:1", + "src": "52522:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2786, + "id": 2278, "isConstant": false, "isLValue": false, "isPure": false, @@ -27871,7 +27871,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51075:42:1", + "src": "52522:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -27886,26 +27886,26 @@ "typeString": "bytes memory" } ], - "id": 2779, + "id": 2271, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2778, + "id": 2270, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": {} } }, - "id": 2787, + "id": 2279, "isConstant": false, "isLValue": false, "isPure": false, @@ -27913,51 +27913,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51068:50:1", + "src": "52515:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2788, + "functionReturnParameters": 2222, + "id": 2280, "nodeType": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ] }, "documentation": { - "id": 2723, + "id": 2215, "nodeType": "StructuredDocumentation", - "src": "50289:55:1", + "src": "51718:57:0", "text": " @dev See {IERC721Metadata-tokenURI}." }, "functionSelector": "c87b56dd", - "id": 2790, + "id": 2282, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "overrides": { - "id": 2727, + "id": 2219, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50404:8:1" + "src": "51836:8:0" }, "parameters": { - "id": 2726, + "id": 2218, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2725, + "id": 2217, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50367:15:1", + "scope": 2282, + "src": "51799:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27965,10 +27965,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2724, + "id": 2216, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "50367:7:1", + "src": "51799:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27977,20 +27977,20 @@ "visibility": "internal" } ], - "src": "50366:17:1" + "src": "51798:17:0" }, "returnParameters": { - "id": 2730, + "id": 2222, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2729, + "id": 2221, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50422:13:1", + "scope": 2282, + "src": "51854:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27998,10 +27998,10 @@ "typeString": "string" }, "typeName": { - "id": 2728, + "id": 2220, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50422:6:1", + "src": "51854:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28010,71 +28010,71 @@ "visibility": "internal" } ], - "src": "50421:15:1" + "src": "51853:15:0" }, - "scope": 3498, - "src": "50349:776:1", + "scope": 2990, + "src": "51781:792:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 2798, + "id": 2290, "nodeType": "Block", - "src": "51420:32:1", + "src": "52875:34:0", "statements": [ { "expression": { - "id": 2796, + "id": 2288, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "51437:8:1", + "referencedDeclaration": 2114, + "src": "52893:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2795, - "id": 2797, + "functionReturnParameters": 2287, + "id": 2289, "nodeType": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ] }, "documentation": { - "id": 2791, + "id": 2283, "nodeType": "StructuredDocumentation", - "src": "51131:221:1", + "src": "52581:225:0", "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, "functionSelector": "6c0360eb", - "id": 2799, + "id": 2291, "implemented": true, "kind": "function", "modifiers": [], "name": "baseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 2792, + "id": 2284, "nodeType": "ParameterList", "parameters": [], - "src": "51373:2:1" + "src": "52828:2:0" }, "returnParameters": { - "id": 2795, + "id": 2287, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2794, + "id": 2286, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2799, - "src": "51405:13:1", + "scope": 2291, + "src": "52860:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -28082,10 +28082,10 @@ "typeString": "string" }, "typeName": { - "id": 2793, + "id": 2285, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51405:6:1", + "src": "52860:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28094,33 +28094,33 @@ "visibility": "internal" } ], - "src": "51404:15:1" + "src": "52859:15:0" }, - "scope": 3498, - "src": "51357:95:1", + "scope": 2990, + "src": "52812:97:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 700 + 192 ], "body": { - "id": 2817, + "id": 2309, "nodeType": "Block", - "src": "51637:54:1", + "src": "53099:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 2814, + "id": 2306, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2804, - "src": "51678:5:1", + "referencedDeclaration": 2296, + "src": "53141:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28136,25 +28136,25 @@ ], "expression": { "baseExpression": { - "id": 2810, + "id": 2302, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "51654:13:1", + "referencedDeclaration": 2092, + "src": "53117:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2812, + "id": 2304, "indexExpression": { - "id": 2811, + "id": 2303, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2802, - "src": "51668:5:1", + "referencedDeclaration": 2294, + "src": "53131:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28165,27 +28165,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "51654:20:1", + "src": "53117:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2813, + "id": 2305, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 1920, - "src": "51654:23:1", + "referencedDeclaration": 1412, + "src": "53117:23:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" } }, - "id": 2815, + "id": 2307, "isConstant": false, "isLValue": false, "isPure": false, @@ -28193,51 +28193,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51654:30:1", + "src": "53117:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2809, - "id": 2816, + "functionReturnParameters": 2301, + "id": 2308, "nodeType": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ] }, "documentation": { - "id": 2800, + "id": 2292, "nodeType": "StructuredDocumentation", - "src": "51458:68:1", + "src": "52917:70:0", "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, "functionSelector": "2f745c59", - "id": 2818, + "id": 2310, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2806, + "id": 2298, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51610:8:1" + "src": "53072:8:0" }, "parameters": { - "id": 2805, + "id": 2297, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2802, + "id": 2294, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51560:13:1", + "scope": 2310, + "src": "53022:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28245,10 +28245,10 @@ "typeString": "address" }, "typeName": { - "id": 2801, + "id": 2293, "name": "address", "nodeType": "ElementaryTypeName", - "src": "51560:7:1", + "src": "53022:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28259,12 +28259,12 @@ }, { "constant": false, - "id": 2804, + "id": 2296, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51575:13:1", + "scope": 2310, + "src": "53037:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28272,10 +28272,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2803, + "id": 2295, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51575:7:1", + "src": "53037:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28284,20 +28284,20 @@ "visibility": "internal" } ], - "src": "51559:30:1" + "src": "53021:30:0" }, "returnParameters": { - "id": 2809, + "id": 2301, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2808, + "id": 2300, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51628:7:1", + "scope": 2310, + "src": "53090:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28305,10 +28305,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2807, + "id": 2299, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51628:7:1", + "src": "53090:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28317,22 +28317,22 @@ "visibility": "internal" } ], - "src": "51627:9:1" + "src": "53089:9:0" }, - "scope": 3498, - "src": "51531:160:1", + "scope": 2990, + "src": "52993:162:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 690 + 182 ], "body": { - "id": 2829, + "id": 2321, "nodeType": "Block", - "src": "51832:138:1", + "src": "53301:141:0", "statements": [ { "expression": { @@ -28340,32 +28340,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2825, + "id": 2317, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "51942:12:1", + "referencedDeclaration": 2094, + "src": "53413:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2826, + "id": 2318, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 2340, - "src": "51942:19:1", + "referencedDeclaration": 1832, + "src": "53413:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" } }, - "id": 2827, + "id": 2319, "isConstant": false, "isLValue": false, "isPure": false, @@ -28373,57 +28373,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51942:21:1", + "src": "53413:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2824, - "id": 2828, + "functionReturnParameters": 2316, + "id": 2320, "nodeType": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ] }, "documentation": { - "id": 2819, + "id": 2311, "nodeType": "StructuredDocumentation", - "src": "51697:60:1", + "src": "53163:62:0", "text": " @dev See {IERC721Enumerable-totalSupply}." }, "functionSelector": "18160ddd", - "id": 2830, + "id": 2322, "implemented": true, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "overrides": { - "id": 2821, + "id": 2313, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51805:8:1" + "src": "53274:8:0" }, "parameters": { - "id": 2820, + "id": 2312, "nodeType": "ParameterList", "parameters": [], - "src": "51782:2:1" + "src": "53251:2:0" }, "returnParameters": { - "id": 2824, + "id": 2316, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2823, + "id": 2315, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2830, - "src": "51823:7:1", + "scope": 2322, + "src": "53292:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28431,10 +28431,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2822, + "id": 2314, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51823:7:1", + "src": "53292:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28443,37 +28443,37 @@ "visibility": "internal" } ], - "src": "51822:9:1" + "src": "53291:9:0" }, - "scope": 3498, - "src": "51762:208:1", + "scope": 2990, + "src": "53231:211:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 708 + 200 ], "body": { - "id": 2848, + "id": 2340, "nodeType": "Block", - "src": "52126:85:1", + "src": "53603:88:0", "statements": [ { "assignments": [ - 2840, + 2332, null ], "declarations": [ { "constant": false, - "id": 2840, + "id": 2332, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2848, - "src": "52137:15:1", + "scope": 2340, + "src": "53615:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28481,10 +28481,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2839, + "id": 2331, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52137:7:1", + "src": "53615:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28494,16 +28494,16 @@ }, null ], - "id": 2845, + "id": 2337, "initialValue": { "arguments": [ { - "id": 2843, + "id": 2335, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2833, - "src": "52174:5:1", + "referencedDeclaration": 2325, + "src": "53652:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28518,32 +28518,32 @@ } ], "expression": { - "id": 2841, + "id": 2333, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "52158:12:1", + "referencedDeclaration": 2094, + "src": "53636:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2842, + "id": 2334, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 2379, - "src": "52158:15:1", + "referencedDeclaration": 1871, + "src": "53636:15:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" } }, - "id": 2844, + "id": 2336, "isConstant": false, "isLValue": false, "isPure": false, @@ -28551,7 +28551,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52158:22:1", + "src": "53636:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_$", @@ -28559,59 +28559,59 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "expression": { - "id": 2846, + "id": 2338, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2840, - "src": "52197:7:1", + "referencedDeclaration": 2332, + "src": "53676:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2838, - "id": 2847, + "functionReturnParameters": 2330, + "id": 2339, "nodeType": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ] }, "documentation": { - "id": 2831, + "id": 2323, "nodeType": "StructuredDocumentation", - "src": "51976:61:1", + "src": "53450:63:0", "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, "functionSelector": "4f6ccce7", - "id": 2849, + "id": 2341, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2835, + "id": 2327, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52099:8:1" + "src": "53576:8:0" }, "parameters": { - "id": 2834, + "id": 2326, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2833, + "id": 2325, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52064:13:1", + "scope": 2341, + "src": "53541:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28619,10 +28619,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2832, + "id": 2324, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52064:7:1", + "src": "53541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28631,20 +28631,20 @@ "visibility": "internal" } ], - "src": "52063:15:1" + "src": "53540:15:0" }, "returnParameters": { - "id": 2838, + "id": 2330, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2837, + "id": 2329, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52117:7:1", + "scope": 2341, + "src": "53594:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28652,10 +28652,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2836, + "id": 2328, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52117:7:1", + "src": "53594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28664,36 +28664,36 @@ "visibility": "internal" } ], - "src": "52116:9:1" + "src": "53593:9:0" }, - "scope": 3498, - "src": "52042:169:1", + "scope": 2990, + "src": "53519:172:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 616 + 108 ], "body": { - "id": 2892, + "id": 2384, "nodeType": "Block", - "src": "52338:325:1", + "src": "53823:334:0", "statements": [ { "assignments": [ - 2859 + 2351 ], "declarations": [ { "constant": false, - "id": 2859, + "id": 2351, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2892, - "src": "52348:13:1", + "scope": 2384, + "src": "53834:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28701,10 +28701,10 @@ "typeString": "address" }, "typeName": { - "id": 2858, + "id": 2350, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52348:7:1", + "src": "53834:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28714,16 +28714,16 @@ "visibility": "internal" } ], - "id": 2864, + "id": 2356, "initialValue": { "arguments": [ { - "id": 2862, + "id": 2354, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52379:7:1", + "referencedDeclaration": 2346, + "src": "53865:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28738,32 +28738,32 @@ } ], "expression": { - "id": 2860, + "id": 2352, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52364:6:1", + "referencedDeclaration": 2990, + "src": "53850:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2861, + "id": 2353, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "52364:14:1", + "referencedDeclaration": 2194, + "src": "53850:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 2863, + "id": 2355, "isConstant": false, "isLValue": false, "isPure": false, @@ -28771,7 +28771,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52364:23:1", + "src": "53850:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -28779,7 +28779,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "expression": { @@ -28789,18 +28789,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2868, + "id": 2360, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2866, + "id": 2358, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52405:2:1", + "referencedDeclaration": 2344, + "src": "53892:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28809,18 +28809,18 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 2867, + "id": 2359, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52411:5:1", + "referencedDeclaration": 2351, + "src": "53898:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52405:11:1", + "src": "53892:11:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28828,14 +28828,14 @@ }, { "hexValue": "4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572", - "id": 2869, + "id": 2361, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52418:35:1", + "src": "53905:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942", "typeString": "literal_string \"ERC721: approval to current owner\"" @@ -28854,7 +28854,7 @@ "typeString": "literal_string \"ERC721: approval to current owner\"" } ], - "id": 2865, + "id": 2357, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -28862,13 +28862,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52397:7:1", + "src": "53884:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2870, + "id": 2362, "isConstant": false, "isLValue": false, "isPure": false, @@ -28876,16 +28876,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52397:57:1", + "src": "53884:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2871, + "id": 2363, "nodeType": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "expression": { @@ -28895,7 +28895,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 2883, + "id": 2375, "isConstant": false, "isLValue": false, "isPure": false, @@ -28905,7 +28905,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2876, + "id": 2368, "isConstant": false, "isLValue": false, "isPure": false, @@ -28914,18 +28914,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2873, + "id": 2365, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52473:10:1", + "referencedDeclaration": 10, + "src": "53962:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2874, + "id": 2366, "isConstant": false, "isLValue": false, "isPure": false, @@ -28933,7 +28933,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52473:12:1", + "src": "53962:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -28943,18 +28943,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 2875, + "id": 2367, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52489:5:1", + "referencedDeclaration": 2351, + "src": "53978:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52473:21:1", + "src": "53962:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28965,12 +28965,12 @@ "rightExpression": { "arguments": [ { - "id": 2879, + "id": 2371, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52522:5:1", + "referencedDeclaration": 2351, + "src": "54011:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28980,18 +28980,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2880, + "id": 2372, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52529:10:1", + "referencedDeclaration": 10, + "src": "54018:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2881, + "id": 2373, "isConstant": false, "isLValue": false, "isPure": false, @@ -28999,7 +28999,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52529:12:1", + "src": "54018:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29019,32 +29019,32 @@ } ], "expression": { - "id": 2877, + "id": 2369, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52498:6:1", + "referencedDeclaration": 2990, + "src": "53987:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2878, + "id": 2370, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "52498:23:1", + "referencedDeclaration": 2458, + "src": "53987:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 2882, + "id": 2374, "isConstant": false, "isLValue": false, "isPure": false, @@ -29052,14 +29052,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52498:44:1", + "src": "53987:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "52473:69:1", + "src": "53962:69:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29067,14 +29067,14 @@ }, { "hexValue": "4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c", - "id": 2884, + "id": 2376, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52556:58:1", + "src": "54046:58:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_6d83cef3e0cb19b8320a9c5feb26b56bbb08f152a8e61b12eca3302d8d68b23d", "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" @@ -29093,7 +29093,7 @@ "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" } ], - "id": 2872, + "id": 2364, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29101,13 +29101,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52465:7:1", + "src": "53954:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2885, + "id": 2377, "isConstant": false, "isLValue": false, "isPure": false, @@ -29115,39 +29115,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52465:159:1", + "src": "53954:161:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2886, + "id": 2378, "nodeType": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "expression": { "arguments": [ { - "id": 2888, + "id": 2380, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52644:2:1", + "referencedDeclaration": 2344, + "src": "54137:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2889, + "id": 2381, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52648:7:1", + "referencedDeclaration": 2346, + "src": "54141:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29165,18 +29165,18 @@ "typeString": "uint256" } ], - "id": 2887, + "id": 2379, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "52635:8:1", + "referencedDeclaration": 2978, + "src": "54128:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 2890, + "id": 2382, "isConstant": false, "isLValue": false, "isPure": false, @@ -29184,50 +29184,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52635:21:1", + "src": "54128:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2891, + "id": 2383, "nodeType": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ] }, "documentation": { - "id": 2850, + "id": 2342, "nodeType": "StructuredDocumentation", - "src": "52217:46:1", + "src": "53699:48:0", "text": " @dev See {IERC721-approve}." }, "functionSelector": "095ea7b3", - "id": 2893, + "id": 2385, "implemented": true, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "overrides": { - "id": 2856, + "id": 2348, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52329:8:1" + "src": "53814:8:0" }, "parameters": { - "id": 2855, + "id": 2347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2852, + "id": 2344, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52285:10:1", + "scope": 2385, + "src": "53770:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29235,10 +29235,10 @@ "typeString": "address" }, "typeName": { - "id": 2851, + "id": 2343, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52285:7:1", + "src": "53770:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29249,12 +29249,12 @@ }, { "constant": false, - "id": 2854, + "id": 2346, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52297:15:1", + "scope": 2385, + "src": "53782:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29262,10 +29262,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2853, + "id": 2345, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52297:7:1", + "src": "53782:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29274,28 +29274,28 @@ "visibility": "internal" } ], - "src": "52284:29:1" + "src": "53769:29:0" }, "returnParameters": { - "id": 2857, + "id": 2349, "nodeType": "ParameterList", "parameters": [], - "src": "52338:0:1" + "src": "53823:0:0" }, - "scope": 3498, - "src": "52268:395:1", + "scope": 2990, + "src": "53753:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 624 + 116 ], "body": { - "id": 2913, + "id": 2405, "nodeType": "Block", - "src": "52809:132:1", + "src": "54308:136:0", "statements": [ { "expression": { @@ -29303,12 +29303,12 @@ { "arguments": [ { - "id": 2904, + "id": 2396, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52835:7:1", + "referencedDeclaration": 2388, + "src": "54335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29322,18 +29322,18 @@ "typeString": "uint256" } ], - "id": 2903, + "id": 2395, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "52827:7:1", + "referencedDeclaration": 2577, + "src": "54327:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2905, + "id": 2397, "isConstant": false, "isLValue": false, "isPure": false, @@ -29341,7 +29341,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52827:16:1", + "src": "54327:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -29350,14 +29350,14 @@ }, { "hexValue": "4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2906, + "id": 2398, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52845:46:1", + "src": "54345:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9291e0f44949204f2e9b40e6be090924979d6047b2365868f4e9f027722eb89d", "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" @@ -29376,7 +29376,7 @@ "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" } ], - "id": 2902, + "id": 2394, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29384,13 +29384,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52819:7:1", + "src": "54319:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2907, + "id": 2399, "isConstant": false, "isLValue": false, "isPure": false, @@ -29398,39 +29398,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52819:73:1", + "src": "54319:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2908, + "id": 2400, "nodeType": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "expression": { "baseExpression": { - "id": 2909, + "id": 2401, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "52910:15:1", + "referencedDeclaration": 2098, + "src": "54412:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 2911, + "id": 2403, "indexExpression": { - "id": 2910, + "id": 2402, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52926:7:1", + "referencedDeclaration": 2388, + "src": "54428:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29441,50 +29441,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "52910:24:1", + "src": "54412:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2901, - "id": 2912, + "functionReturnParameters": 2393, + "id": 2404, "nodeType": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ] }, "documentation": { - "id": 2894, + "id": 2386, "nodeType": "StructuredDocumentation", - "src": "52669:50:1", + "src": "54165:52:0", "text": " @dev See {IERC721-getApproved}." }, "functionSelector": "081812fc", - "id": 2914, + "id": 2406, "implemented": true, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "overrides": { - "id": 2898, + "id": 2390, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52782:8:1" + "src": "54281:8:0" }, "parameters": { - "id": 2897, + "id": 2389, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2896, + "id": 2388, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52745:15:1", + "scope": 2406, + "src": "54244:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29492,10 +29492,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2895, + "id": 2387, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52745:7:1", + "src": "54244:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29504,20 +29504,20 @@ "visibility": "internal" } ], - "src": "52744:17:1" + "src": "54243:17:0" }, "returnParameters": { - "id": 2901, + "id": 2393, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2900, + "id": 2392, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52800:7:1", + "scope": 2406, + "src": "54299:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29525,10 +29525,10 @@ "typeString": "address" }, "typeName": { - "id": 2899, + "id": 2391, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52800:7:1", + "src": "54299:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29538,22 +29538,22 @@ "visibility": "internal" } ], - "src": "52799:9:1" + "src": "54298:9:0" }, - "scope": 3498, - "src": "52724:217:1", + "scope": 2990, + "src": "54223:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 632 + 124 ], "body": { - "id": 2947, + "id": 2439, "nodeType": "Block", - "src": "53092:206:1", + "src": "54600:211:0", "statements": [ { "expression": { @@ -29563,18 +29563,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2927, + "id": 2419, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2924, + "id": 2416, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53110:8:1", + "referencedDeclaration": 2409, + "src": "54619:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29586,18 +29586,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2925, + "id": 2417, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53122:10:1", + "referencedDeclaration": 10, + "src": "54631:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2926, + "id": 2418, "isConstant": false, "isLValue": false, "isPure": false, @@ -29605,14 +29605,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53122:12:1", + "src": "54631:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "53110:24:1", + "src": "54619:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29620,14 +29620,14 @@ }, { "hexValue": "4552433732313a20617070726f766520746f2063616c6c6572", - "id": 2928, + "id": 2420, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53136:27:1", + "src": "54645:27:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05", "typeString": "literal_string \"ERC721: approve to caller\"" @@ -29646,7 +29646,7 @@ "typeString": "literal_string \"ERC721: approve to caller\"" } ], - "id": 2923, + "id": 2415, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29654,13 +29654,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53102:7:1", + "src": "54611:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2929, + "id": 2421, "isConstant": false, "isLValue": false, "isPure": false, @@ -29668,20 +29668,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53102:62:1", + "src": "54611:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2930, + "id": 2422, "nodeType": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "expression": { - "id": 2938, + "id": 2430, "isConstant": false, "isLValue": false, "isPure": false, @@ -29689,34 +29689,34 @@ "leftHandSide": { "baseExpression": { "baseExpression": { - "id": 2931, + "id": 2423, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53175:18:1", + "referencedDeclaration": 2104, + "src": "54686:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2935, + "id": 2427, "indexExpression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2932, + "id": 2424, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53194:10:1", + "referencedDeclaration": 10, + "src": "54705:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2933, + "id": 2425, "isConstant": false, "isLValue": false, "isPure": false, @@ -29724,7 +29724,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53194:12:1", + "src": "54705:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29736,20 +29736,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53175:32:1", + "src": "54686:32:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2936, + "id": 2428, "indexExpression": { - "id": 2934, + "id": 2426, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53208:8:1", + "referencedDeclaration": 2409, + "src": "54719:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29760,7 +29760,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "53175:42:1", + "src": "54686:42:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29769,26 +29769,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2937, + "id": 2429, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53220:8:1", + "referencedDeclaration": 2411, + "src": "54731:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "53175:53:1", + "src": "54686:53:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2939, + "id": 2431, "nodeType": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "eventCall": { @@ -29797,18 +29797,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2941, + "id": 2433, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53258:10:1", + "referencedDeclaration": 10, + "src": "54770:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2942, + "id": 2434, "isConstant": false, "isLValue": false, "isPure": false, @@ -29816,7 +29816,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53258:12:1", + "src": "54770:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29824,24 +29824,24 @@ } }, { - "id": 2943, + "id": 2435, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53272:8:1", + "referencedDeclaration": 2409, + "src": "54784:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2944, + "id": 2436, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53282:8:1", + "referencedDeclaration": 2411, + "src": "54794:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29863,18 +29863,18 @@ "typeString": "bool" } ], - "id": 2940, + "id": 2432, "name": "ApprovalForAll", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 572, - "src": "53243:14:1", + "referencedDeclaration": 64, + "src": "54755:14:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", "typeString": "function (address,address,bool)" } }, - "id": 2945, + "id": 2437, "isConstant": false, "isLValue": false, "isPure": false, @@ -29882,50 +29882,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53243:48:1", + "src": "54755:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2946, + "id": 2438, "nodeType": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ] }, "documentation": { - "id": 2915, + "id": 2407, "nodeType": "StructuredDocumentation", - "src": "52947:56:1", + "src": "54452:58:0", "text": " @dev See {IERC721-setApprovalForAll}." }, "functionSelector": "a22cb465", - "id": 2948, + "id": 2440, "implemented": true, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2921, + "id": 2413, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53083:8:1" + "src": "54591:8:0" }, "parameters": { - "id": 2920, + "id": 2412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2917, + "id": 2409, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53035:16:1", + "scope": 2440, + "src": "54543:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29933,10 +29933,10 @@ "typeString": "address" }, "typeName": { - "id": 2916, + "id": 2408, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53035:7:1", + "src": "54543:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29947,12 +29947,12 @@ }, { "constant": false, - "id": 2919, + "id": 2411, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53053:13:1", + "scope": 2440, + "src": "54561:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29960,10 +29960,10 @@ "typeString": "bool" }, "typeName": { - "id": 2918, + "id": 2410, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53053:4:1", + "src": "54561:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29972,52 +29972,52 @@ "visibility": "internal" } ], - "src": "53034:33:1" + "src": "54542:33:0" }, "returnParameters": { - "id": 2922, + "id": 2414, "nodeType": "ParameterList", "parameters": [], - "src": "53092:0:1" + "src": "54600:0:0" }, - "scope": 3498, - "src": "53008:290:1", + "scope": 2990, + "src": "54516:295:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 642 + 134 ], "body": { - "id": 2965, + "id": 2457, "nodeType": "Block", - "src": "53467:59:1", + "src": "54985:61:0", "statements": [ { "expression": { "baseExpression": { "baseExpression": { - "id": 2959, + "id": 2451, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53484:18:1", + "referencedDeclaration": 2104, + "src": "55003:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2961, + "id": 2453, "indexExpression": { - "id": 2960, + "id": 2452, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2951, - "src": "53503:5:1", + "referencedDeclaration": 2443, + "src": "55022:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30028,20 +30028,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:25:1", + "src": "55003:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2963, + "id": 2455, "indexExpression": { - "id": 2962, + "id": 2454, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2953, - "src": "53510:8:1", + "referencedDeclaration": 2445, + "src": "55029:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30052,50 +30052,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:35:1", + "src": "55003:35:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2958, - "id": 2964, + "functionReturnParameters": 2450, + "id": 2456, "nodeType": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ] }, "documentation": { - "id": 2949, + "id": 2441, "nodeType": "StructuredDocumentation", - "src": "53304:55:1", + "src": "54819:57:0", "text": " @dev See {IERC721-isApprovedForAll}." }, "functionSelector": "e985e9c5", - "id": 2966, + "id": 2458, "implemented": true, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2955, + "id": 2447, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53443:8:1" + "src": "54961:8:0" }, "parameters": { - "id": 2954, + "id": 2446, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2951, + "id": 2443, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53390:13:1", + "scope": 2458, + "src": "54908:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30103,10 +30103,10 @@ "typeString": "address" }, "typeName": { - "id": 2950, + "id": 2442, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53390:7:1", + "src": "54908:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30117,12 +30117,12 @@ }, { "constant": false, - "id": 2953, + "id": 2445, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53405:16:1", + "scope": 2458, + "src": "54923:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30130,10 +30130,10 @@ "typeString": "address" }, "typeName": { - "id": 2952, + "id": 2444, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53405:7:1", + "src": "54923:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30143,20 +30143,20 @@ "visibility": "internal" } ], - "src": "53389:33:1" + "src": "54907:33:0" }, "returnParameters": { - "id": 2958, + "id": 2450, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2957, + "id": 2449, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53461:4:1", + "scope": 2458, + "src": "54979:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30164,10 +30164,10 @@ "typeString": "bool" }, "typeName": { - "id": 2956, + "id": 2448, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53461:4:1", + "src": "54979:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30176,22 +30176,22 @@ "visibility": "internal" } ], - "src": "53460:6:1" + "src": "54978:6:0" }, - "scope": 3498, - "src": "53364:162:1", + "scope": 2990, + "src": "54882:164:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 608 + 100 ], "body": { - "id": 2992, + "id": 2484, "nodeType": "Block", - "src": "53677:211:1", + "src": "55202:216:0", "statements": [ { "expression": { @@ -30202,18 +30202,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2979, + "id": 2471, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53766:10:1", + "referencedDeclaration": 10, + "src": "55293:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2980, + "id": 2472, "isConstant": false, "isLValue": false, "isPure": false, @@ -30221,7 +30221,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53766:12:1", + "src": "55293:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30229,12 +30229,12 @@ } }, { - "id": 2981, + "id": 2473, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53780:7:1", + "referencedDeclaration": 2465, + "src": "55307:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30252,18 +30252,18 @@ "typeString": "uint256" } ], - "id": 2978, + "id": 2470, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "53747:18:1", + "referencedDeclaration": 2619, + "src": "55274:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 2982, + "id": 2474, "isConstant": false, "isLValue": false, "isPure": false, @@ -30271,7 +30271,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53747:41:1", + "src": "55274:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30280,14 +30280,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 2983, + "id": 2475, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53790:51:1", + "src": "55317:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30306,7 +30306,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 2977, + "id": 2469, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30314,13 +30314,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53739:7:1", + "src": "55266:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2984, + "id": 2476, "isConstant": false, "isLValue": false, "isPure": false, @@ -30328,51 +30328,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53739:103:1", + "src": "55266:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2985, + "id": 2477, "nodeType": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "expression": { "arguments": [ { - "id": 2987, + "id": 2479, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2969, - "src": "53863:4:1", + "referencedDeclaration": 2461, + "src": "55392:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2988, + "id": 2480, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2971, - "src": "53869:2:1", + "referencedDeclaration": 2463, + "src": "55398:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2989, + "id": 2481, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53873:7:1", + "referencedDeclaration": 2465, + "src": "55402:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30394,18 +30394,18 @@ "typeString": "uint256" } ], - "id": 2986, + "id": 2478, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "53853:9:1", + "referencedDeclaration": 2863, + "src": "55382:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 2990, + "id": 2482, "isConstant": false, "isLValue": false, "isPure": false, @@ -30413,50 +30413,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53853:28:1", + "src": "55382:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2991, + "id": 2483, "nodeType": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ] }, "documentation": { - "id": 2967, + "id": 2459, "nodeType": "StructuredDocumentation", - "src": "53532:51:1", + "src": "55054:53:0", "text": " @dev See {IERC721-transferFrom}." }, "functionSelector": "23b872dd", - "id": 2993, + "id": 2485, "implemented": true, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 2975, + "id": 2467, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53668:8:1" + "src": "55193:8:0" }, "parameters": { - "id": 2974, + "id": 2466, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2969, + "id": 2461, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53610:12:1", + "scope": 2485, + "src": "55135:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30464,10 +30464,10 @@ "typeString": "address" }, "typeName": { - "id": 2968, + "id": 2460, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53610:7:1", + "src": "55135:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30478,12 +30478,12 @@ }, { "constant": false, - "id": 2971, + "id": 2463, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53624:10:1", + "scope": 2485, + "src": "55149:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30491,10 +30491,10 @@ "typeString": "address" }, "typeName": { - "id": 2970, + "id": 2462, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53624:7:1", + "src": "55149:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30505,12 +30505,12 @@ }, { "constant": false, - "id": 2973, + "id": 2465, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53636:15:1", + "scope": 2485, + "src": "55161:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30518,10 +30518,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2972, + "id": 2464, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "53636:7:1", + "src": "55161:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30530,63 +30530,63 @@ "visibility": "internal" } ], - "src": "53609:43:1" + "src": "55134:43:0" }, "returnParameters": { - "id": 2976, + "id": 2468, "nodeType": "ParameterList", "parameters": [], - "src": "53677:0:1" + "src": "55202:0:0" }, - "scope": 3498, - "src": "53588:300:1", + "scope": 2990, + "src": "55113:305:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 598 + 90 ], "body": { - "id": 3011, + "id": 2503, "nodeType": "Block", - "src": "54047:56:1", + "src": "55582:58:0", "statements": [ { "expression": { "arguments": [ { - "id": 3005, + "id": 2497, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2996, - "src": "54074:4:1", + "referencedDeclaration": 2488, + "src": "55610:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3006, + "id": 2498, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2998, - "src": "54080:2:1", + "referencedDeclaration": 2490, + "src": "55616:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3007, + "id": 2499, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3000, - "src": "54084:7:1", + "referencedDeclaration": 2492, + "src": "55620:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30594,14 +30594,14 @@ }, { "hexValue": "", - "id": 3008, + "id": 2500, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54093:2:1", + "src": "55629:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -30628,21 +30628,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3004, + "id": 2496, "name": "safeTransferFrom", "nodeType": "Identifier", "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, - "src": "54057:16:1", + "referencedDeclaration": 2534, + "src": "55593:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3009, + "id": 2501, "isConstant": false, "isLValue": false, "isPure": false, @@ -30650,50 +30650,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54057:39:1", + "src": "55593:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3010, + "id": 2502, "nodeType": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ] }, "documentation": { - "id": 2994, + "id": 2486, "nodeType": "StructuredDocumentation", - "src": "53894:55:1", + "src": "55426:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "42842e0e", - "id": 3012, + "id": 2504, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3002, + "id": 2494, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54038:8:1" + "src": "55573:8:0" }, "parameters": { - "id": 3001, + "id": 2493, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2996, + "id": 2488, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53980:12:1", + "scope": 2504, + "src": "55515:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30701,10 +30701,10 @@ "typeString": "address" }, "typeName": { - "id": 2995, + "id": 2487, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53980:7:1", + "src": "55515:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30715,12 +30715,12 @@ }, { "constant": false, - "id": 2998, + "id": 2490, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53994:10:1", + "scope": 2504, + "src": "55529:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30728,10 +30728,10 @@ "typeString": "address" }, "typeName": { - "id": 2997, + "id": 2489, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53994:7:1", + "src": "55529:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30742,12 +30742,12 @@ }, { "constant": false, - "id": 3000, + "id": 2492, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "54006:15:1", + "scope": 2504, + "src": "55541:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30755,10 +30755,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2999, + "id": 2491, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54006:7:1", + "src": "55541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30767,28 +30767,28 @@ "visibility": "internal" } ], - "src": "53979:43:1" + "src": "55514:43:0" }, "returnParameters": { - "id": 3003, + "id": 2495, "nodeType": "ParameterList", "parameters": [], - "src": "54047:0:1" + "src": "55582:0:0" }, - "scope": 3498, - "src": "53954:149:1", + "scope": 2990, + "src": "55489:151:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 654 + 146 ], "body": { - "id": 3041, + "id": 2533, "nodeType": "Block", - "src": "54282:169:1", + "src": "55824:172:0", "statements": [ { "expression": { @@ -30799,18 +30799,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3027, + "id": 2519, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "54319:10:1", + "referencedDeclaration": 10, + "src": "55862:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3028, + "id": 2520, "isConstant": false, "isLValue": false, "isPure": false, @@ -30818,7 +30818,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54319:12:1", + "src": "55862:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30826,12 +30826,12 @@ } }, { - "id": 3029, + "id": 2521, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54333:7:1", + "referencedDeclaration": 2511, + "src": "55876:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30849,18 +30849,18 @@ "typeString": "uint256" } ], - "id": 3026, + "id": 2518, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "54300:18:1", + "referencedDeclaration": 2619, + "src": "55843:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 3030, + "id": 2522, "isConstant": false, "isLValue": false, "isPure": false, @@ -30868,7 +30868,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54300:41:1", + "src": "55843:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30877,14 +30877,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 3031, + "id": 2523, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54343:51:1", + "src": "55886:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30903,7 +30903,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 3025, + "id": 2517, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30911,13 +30911,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "54292:7:1", + "src": "55835:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3032, + "id": 2524, "isConstant": false, "isLValue": false, "isPure": false, @@ -30925,63 +30925,63 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54292:103:1", + "src": "55835:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3033, + "id": 2525, "nodeType": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "expression": { "arguments": [ { - "id": 3035, + "id": 2527, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3015, - "src": "54419:4:1", + "referencedDeclaration": 2507, + "src": "55963:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3036, + "id": 2528, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3017, - "src": "54425:2:1", + "referencedDeclaration": 2509, + "src": "55969:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3037, + "id": 2529, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54429:7:1", + "referencedDeclaration": 2511, + "src": "55973:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3038, + "id": 2530, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3021, - "src": "54438:5:1", + "referencedDeclaration": 2513, + "src": "55982:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31007,18 +31007,18 @@ "typeString": "bytes memory" } ], - "id": 3034, + "id": 2526, "name": "_safeTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3071, - "src": "54405:13:1", + "referencedDeclaration": 2563, + "src": "55949:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3039, + "id": 2531, "isConstant": false, "isLValue": false, "isPure": false, @@ -31026,50 +31026,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54405:39:1", + "src": "55949:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3040, + "id": 2532, "nodeType": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ] }, "documentation": { - "id": 3013, + "id": 2505, "nodeType": "StructuredDocumentation", - "src": "54109:55:1", + "src": "55648:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "b88d4fde", - "id": 3042, + "id": 2534, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3023, + "id": 2515, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54273:8:1" + "src": "55815:8:0" }, "parameters": { - "id": 3022, + "id": 2514, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3015, + "id": 2507, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54195:12:1", + "scope": 2534, + "src": "55737:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31077,10 +31077,10 @@ "typeString": "address" }, "typeName": { - "id": 3014, + "id": 2506, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54195:7:1", + "src": "55737:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31091,12 +31091,12 @@ }, { "constant": false, - "id": 3017, + "id": 2509, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54209:10:1", + "scope": 2534, + "src": "55751:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31104,10 +31104,10 @@ "typeString": "address" }, "typeName": { - "id": 3016, + "id": 2508, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54209:7:1", + "src": "55751:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31118,12 +31118,12 @@ }, { "constant": false, - "id": 3019, + "id": 2511, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54221:15:1", + "scope": 2534, + "src": "55763:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31131,10 +31131,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3018, + "id": 2510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54221:7:1", + "src": "55763:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31144,12 +31144,12 @@ }, { "constant": false, - "id": 3021, + "id": 2513, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54238:18:1", + "scope": 2534, + "src": "55780:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31157,10 +31157,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3020, + "id": 2512, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "54238:5:1", + "src": "55780:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31169,60 +31169,60 @@ "visibility": "internal" } ], - "src": "54194:63:1" + "src": "55736:63:0" }, "returnParameters": { - "id": 3024, + "id": 2516, "nodeType": "ParameterList", "parameters": [], - "src": "54282:0:1" + "src": "55824:0:0" }, - "scope": 3498, - "src": "54169:282:1", + "scope": 2990, + "src": "55711:285:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "body": { - "id": 3070, + "id": 2562, "nodeType": "Block", - "src": "55416:166:1", + "src": "56981:169:0", "statements": [ { "expression": { "arguments": [ { - "id": 3055, + "id": 2547, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55436:4:1", + "referencedDeclaration": 2537, + "src": "57002:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3056, + "id": 2548, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55442:2:1", + "referencedDeclaration": 2539, + "src": "57008:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3057, + "id": 2549, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55446:7:1", + "referencedDeclaration": 2541, + "src": "57012:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31244,18 +31244,18 @@ "typeString": "uint256" } ], - "id": 3054, + "id": 2546, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "55426:9:1", + "referencedDeclaration": 2863, + "src": "56992:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3058, + "id": 2550, "isConstant": false, "isLValue": false, "isPure": false, @@ -31263,16 +31263,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55426:28:1", + "src": "56992:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3059, + "id": 2551, "nodeType": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "expression": { @@ -31280,48 +31280,48 @@ { "arguments": [ { - "id": 3062, + "id": 2554, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55495:4:1", + "referencedDeclaration": 2537, + "src": "57062:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3063, + "id": 2555, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55501:2:1", + "referencedDeclaration": 2539, + "src": "57068:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3064, + "id": 2556, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55505:7:1", + "referencedDeclaration": 2541, + "src": "57072:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3065, + "id": 2557, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3051, - "src": "55514:5:1", + "referencedDeclaration": 2543, + "src": "57081:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31347,18 +31347,18 @@ "typeString": "bytes memory" } ], - "id": 3061, + "id": 2553, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "55472:22:1", + "referencedDeclaration": 2954, + "src": "57039:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3066, + "id": 2558, "isConstant": false, "isLValue": false, "isPure": false, @@ -31366,7 +31366,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55472:48:1", + "src": "57039:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31375,14 +31375,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3067, + "id": 2559, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "55522:52:1", + "src": "57089:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -31401,7 +31401,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3060, + "id": 2552, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31409,13 +31409,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "55464:7:1", + "src": "57031:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3068, + "id": 2560, "isConstant": false, "isLValue": false, "isPure": false, @@ -31423,43 +31423,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55464:111:1", + "src": "57031:111:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3069, + "id": 2561, "nodeType": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ] }, "documentation": { - "id": 3043, + "id": 2535, "nodeType": "StructuredDocumentation", - "src": "54457:851:1", + "src": "56004:868:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3071, + "id": 2563, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3052, + "id": 2544, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3045, + "id": 2537, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55336:12:1", + "scope": 2563, + "src": "56901:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31467,10 +31467,10 @@ "typeString": "address" }, "typeName": { - "id": 3044, + "id": 2536, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55336:7:1", + "src": "56901:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31481,12 +31481,12 @@ }, { "constant": false, - "id": 3047, + "id": 2539, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55350:10:1", + "scope": 2563, + "src": "56915:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31494,10 +31494,10 @@ "typeString": "address" }, "typeName": { - "id": 3046, + "id": 2538, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55350:7:1", + "src": "56915:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31508,12 +31508,12 @@ }, { "constant": false, - "id": 3049, + "id": 2541, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55362:15:1", + "scope": 2563, + "src": "56927:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31521,10 +31521,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3048, + "id": 2540, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55362:7:1", + "src": "56927:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31534,12 +31534,12 @@ }, { "constant": false, - "id": 3051, + "id": 2543, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55379:18:1", + "scope": 2563, + "src": "56944:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31547,10 +31547,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3050, + "id": 2542, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "55379:5:1", + "src": "56944:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31559,36 +31559,36 @@ "visibility": "internal" } ], - "src": "55335:63:1" + "src": "56900:63:0" }, "returnParameters": { - "id": 3053, + "id": 2545, "nodeType": "ParameterList", "parameters": [], - "src": "55416:0:1" + "src": "56981:0:0" }, - "scope": 3498, - "src": "55313:269:1", + "scope": 2990, + "src": "56878:272:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3084, + "id": 2576, "nodeType": "Block", - "src": "55956:54:1", + "src": "57534:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 3081, + "id": 2573, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3074, - "src": "55995:7:1", + "referencedDeclaration": 2566, + "src": "57574:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31603,32 +31603,32 @@ } ], "expression": { - "id": 3079, + "id": 2571, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "55973:12:1", + "referencedDeclaration": 2094, + "src": "57552:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3080, + "id": 2572, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "contains", "nodeType": "MemberAccess", - "referencedDeclaration": 2326, - "src": "55973:21:1", + "referencedDeclaration": 1818, + "src": "57552:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" } }, - "id": 3082, + "id": 2574, "isConstant": false, "isLValue": false, "isPure": false, @@ -31636,44 +31636,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55973:30:1", + "src": "57552:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3078, - "id": 3083, + "functionReturnParameters": 2570, + "id": 2575, "nodeType": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ] }, "documentation": { - "id": 3072, + "id": 2564, "nodeType": "StructuredDocumentation", - "src": "55588:292:1", + "src": "57158:299:0", "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3085, + "id": 2577, "implemented": true, "kind": "function", "modifiers": [], "name": "_exists", "nodeType": "FunctionDefinition", "parameters": { - "id": 3075, + "id": 2567, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3074, + "id": 2566, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55902:15:1", + "scope": 2577, + "src": "57480:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31681,10 +31681,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3073, + "id": 2565, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55902:7:1", + "src": "57480:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31693,20 +31693,20 @@ "visibility": "internal" } ], - "src": "55901:17:1" + "src": "57479:17:0" }, "returnParameters": { - "id": 3078, + "id": 2570, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3077, + "id": 2569, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55950:4:1", + "scope": 2577, + "src": "57528:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31714,10 +31714,10 @@ "typeString": "bool" }, "typeName": { - "id": 3076, + "id": 2568, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "55950:4:1", + "src": "57528:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -31726,19 +31726,19 @@ "visibility": "internal" } ], - "src": "55949:6:1" + "src": "57527:6:0" }, - "scope": 3498, - "src": "55885:125:1", + "scope": 2990, + "src": "57463:127:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3126, + "id": 2618, "nodeType": "Block", - "src": "56267:252:1", + "src": "57856:256:0", "statements": [ { "expression": { @@ -31746,12 +31746,12 @@ { "arguments": [ { - "id": 3097, + "id": 2589, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56293:7:1", + "referencedDeclaration": 2582, + "src": "57883:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31765,18 +31765,18 @@ "typeString": "uint256" } ], - "id": 3096, + "id": 2588, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "56285:7:1", + "referencedDeclaration": 2577, + "src": "57875:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3098, + "id": 2590, "isConstant": false, "isLValue": false, "isPure": false, @@ -31784,7 +31784,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56285:16:1", + "src": "57875:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31793,14 +31793,14 @@ }, { "hexValue": "4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 3099, + "id": 2591, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56303:46:1", + "src": "57893:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5797d1ccb08b83980dd0c07ea40d8f6a64d35fff736a19bdd17522954cb0899c", "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" @@ -31819,7 +31819,7 @@ "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" } ], - "id": 3095, + "id": 2587, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31827,13 +31827,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "56277:7:1", + "src": "57867:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3100, + "id": 2592, "isConstant": false, "isLValue": false, "isPure": false, @@ -31841,30 +31841,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56277:73:1", + "src": "57867:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3101, + "id": 2593, "nodeType": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "assignments": [ - 3103 + 2595 ], "declarations": [ { "constant": false, - "id": 3103, + "id": 2595, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3126, - "src": "56360:13:1", + "scope": 2618, + "src": "57951:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31872,10 +31872,10 @@ "typeString": "address" }, "typeName": { - "id": 3102, + "id": 2594, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56360:7:1", + "src": "57951:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31885,16 +31885,16 @@ "visibility": "internal" } ], - "id": 3108, + "id": 2600, "initialValue": { "arguments": [ { - "id": 3106, + "id": 2598, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56391:7:1", + "referencedDeclaration": 2582, + "src": "57982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31909,32 +31909,32 @@ } ], "expression": { - "id": 3104, + "id": 2596, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56376:6:1", + "referencedDeclaration": 2990, + "src": "57967:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3105, + "id": 2597, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "56376:14:1", + "referencedDeclaration": 2194, + "src": "57967:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3107, + "id": 2599, "isConstant": false, "isLValue": false, "isPure": false, @@ -31942,7 +31942,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56376:23:1", + "src": "57967:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -31950,7 +31950,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "expression": { @@ -31960,7 +31960,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3123, + "id": 2615, "isConstant": false, "isLValue": false, "isPure": false, @@ -31970,7 +31970,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3117, + "id": 2609, "isConstant": false, "isLValue": false, "isPure": false, @@ -31980,18 +31980,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3111, + "id": 2603, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3109, + "id": 2601, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56417:7:1", + "referencedDeclaration": 2580, + "src": "58009:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32000,18 +32000,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3110, + "id": 2602, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56428:5:1", + "referencedDeclaration": 2595, + "src": "58020:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56417:16:1", + "src": "58009:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32024,7 +32024,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3116, + "id": 2608, "isConstant": false, "isLValue": false, "isPure": false, @@ -32032,12 +32032,12 @@ "leftExpression": { "arguments": [ { - "id": 3113, + "id": 2605, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56449:7:1", + "referencedDeclaration": 2582, + "src": "58041:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32051,18 +32051,18 @@ "typeString": "uint256" } ], - "id": 3112, + "id": 2604, "name": "getApproved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "56437:11:1", + "referencedDeclaration": 2406, + "src": "58029:11:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3114, + "id": 2606, "isConstant": false, "isLValue": false, "isPure": false, @@ -32070,7 +32070,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56437:20:1", + "src": "58029:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -32080,24 +32080,24 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3115, + "id": 2607, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56461:7:1", + "referencedDeclaration": 2580, + "src": "58053:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56437:31:1", + "src": "58029:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:51:1", + "src": "58009:51:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32108,24 +32108,24 @@ "rightExpression": { "arguments": [ { - "id": 3120, + "id": 2612, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56496:5:1", + "referencedDeclaration": 2595, + "src": "58088:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3121, + "id": 2613, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56503:7:1", + "referencedDeclaration": 2580, + "src": "58095:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32144,32 +32144,32 @@ } ], "expression": { - "id": 3118, + "id": 2610, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56472:6:1", + "referencedDeclaration": 2990, + "src": "58064:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3119, + "id": 2611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "56472:23:1", + "referencedDeclaration": 2458, + "src": "58064:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 3122, + "id": 2614, "isConstant": false, "isLValue": false, "isPure": false, @@ -32177,64 +32177,64 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56472:39:1", + "src": "58064:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:94:1", + "src": "58009:94:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3124, + "id": 2616, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "56416:96:1", + "src": "58008:96:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3094, - "id": 3125, + "functionReturnParameters": 2586, + "id": 2617, "nodeType": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ] }, "documentation": { - "id": 3086, + "id": 2578, "nodeType": "StructuredDocumentation", - "src": "56016:147:1", + "src": "57598:153:0", "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3127, + "id": 2619, "implemented": true, "kind": "function", "modifiers": [], "name": "_isApprovedOrOwner", "nodeType": "FunctionDefinition", "parameters": { - "id": 3091, + "id": 2583, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3088, + "id": 2580, "mutability": "mutable", "name": "spender", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56196:15:1", + "scope": 2619, + "src": "57785:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32242,10 +32242,10 @@ "typeString": "address" }, "typeName": { - "id": 3087, + "id": 2579, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56196:7:1", + "src": "57785:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32256,12 +32256,12 @@ }, { "constant": false, - "id": 3090, + "id": 2582, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56213:15:1", + "scope": 2619, + "src": "57802:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32269,10 +32269,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3089, + "id": 2581, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56213:7:1", + "src": "57802:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32281,20 +32281,20 @@ "visibility": "internal" } ], - "src": "56195:34:1" + "src": "57784:34:0" }, "returnParameters": { - "id": 3094, + "id": 2586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3093, + "id": 2585, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56261:4:1", + "scope": 2619, + "src": "57850:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32302,10 +32302,10 @@ "typeString": "bool" }, "typeName": { - "id": 3092, + "id": 2584, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "56261:4:1", + "src": "57850:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32314,42 +32314,42 @@ "visibility": "internal" } ], - "src": "56260:6:1" + "src": "57849:6:0" }, - "scope": 3498, - "src": "56168:351:1", + "scope": 2990, + "src": "57757:355:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3141, + "id": 2633, "nodeType": "Block", - "src": "56915:43:1", + "src": "58520:45:0", "statements": [ { "expression": { "arguments": [ { - "id": 3136, + "id": 2628, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3130, - "src": "56935:2:1", + "referencedDeclaration": 2622, + "src": "58541:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3137, + "id": 2629, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3132, - "src": "56939:7:1", + "referencedDeclaration": 2624, + "src": "58545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32357,14 +32357,14 @@ }, { "hexValue": "", - "id": 3138, + "id": 2630, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56948:2:1", + "src": "58554:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -32387,21 +32387,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3135, + "id": 2627, "name": "_safeMint", "nodeType": "Identifier", "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, - "src": "56925:9:1", + "referencedDeclaration": 2663, + "src": "58531:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,uint256,bytes memory)" } }, - "id": 3139, + "id": 2631, "isConstant": false, "isLValue": false, "isPure": false, @@ -32409,43 +32409,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56925:26:1", + "src": "58531:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3140, + "id": 2632, "nodeType": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ] }, "documentation": { - "id": 3128, + "id": 2620, "nodeType": "StructuredDocumentation", - "src": "56525:320:1", + "src": "58120:329:0", "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3142, + "id": 2634, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3133, + "id": 2625, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3130, + "id": 2622, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56869:10:1", + "scope": 2634, + "src": "58474:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32453,10 +32453,10 @@ "typeString": "address" }, "typeName": { - "id": 3129, + "id": 2621, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56869:7:1", + "src": "58474:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32467,12 +32467,12 @@ }, { "constant": false, - "id": 3132, + "id": 2624, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56881:15:1", + "scope": 2634, + "src": "58486:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32480,10 +32480,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3131, + "id": 2623, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56881:7:1", + "src": "58486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32492,48 +32492,48 @@ "visibility": "internal" } ], - "src": "56868:29:1" + "src": "58473:29:0" }, "returnParameters": { - "id": 3134, + "id": 2626, "nodeType": "ParameterList", "parameters": [], - "src": "56915:0:1" + "src": "58520:0:0" }, - "scope": 3498, - "src": "56850:108:1", + "scope": 2990, + "src": "58455:110:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3170, + "id": 2662, "nodeType": "Block", - "src": "57264:162:1", + "src": "58877:165:0", "statements": [ { "expression": { "arguments": [ { - "id": 3153, + "id": 2645, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57280:2:1", + "referencedDeclaration": 2637, + "src": "58894:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3154, + "id": 2646, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57284:7:1", + "referencedDeclaration": 2639, + "src": "58898:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32551,18 +32551,18 @@ "typeString": "uint256" } ], - "id": 3152, + "id": 2644, "name": "_mint", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3230, - "src": "57274:5:1", + "referencedDeclaration": 2722, + "src": "58888:5:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3155, + "id": 2647, "isConstant": false, "isLValue": false, "isPure": false, @@ -32570,16 +32570,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57274:18:1", + "src": "58888:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3156, + "id": 2648, "nodeType": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "expression": { @@ -32590,14 +32590,14 @@ "arguments": [ { "hexValue": "30", - "id": 3161, + "id": 2653, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57341:1:1", + "src": "58956:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -32612,26 +32612,26 @@ "typeString": "int_const 0" } ], - "id": 3160, + "id": 2652, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3159, + "id": 2651, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": {} } }, - "id": 3162, + "id": 2654, "isConstant": false, "isLValue": false, "isPure": true, @@ -32639,7 +32639,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57333:10:1", + "src": "58948:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -32647,36 +32647,36 @@ } }, { - "id": 3163, + "id": 2655, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57345:2:1", + "referencedDeclaration": 2637, + "src": "58960:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3164, + "id": 2656, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57349:7:1", + "referencedDeclaration": 2639, + "src": "58964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3165, + "id": 2657, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3149, - "src": "57358:5:1", + "referencedDeclaration": 2641, + "src": "58973:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -32702,18 +32702,18 @@ "typeString": "bytes memory" } ], - "id": 3158, + "id": 2650, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "57310:22:1", + "referencedDeclaration": 2954, + "src": "58925:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3166, + "id": 2658, "isConstant": false, "isLValue": false, "isPure": false, @@ -32721,7 +32721,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57310:54:1", + "src": "58925:54:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -32730,14 +32730,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3167, + "id": 2659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57366:52:1", + "src": "58981:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -32756,7 +32756,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3157, + "id": 2649, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -32764,13 +32764,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57302:7:1", + "src": "58917:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3168, + "id": 2660, "isConstant": false, "isLValue": false, "isPure": false, @@ -32778,43 +32778,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57302:117:1", + "src": "58917:117:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3169, + "id": 2661, "nodeType": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ] }, "documentation": { - "id": 3143, + "id": 2635, "nodeType": "StructuredDocumentation", - "src": "56964:210:1", + "src": "58573:213:0", "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3171, + "id": 2663, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3150, + "id": 2642, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3145, + "id": 2637, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57198:10:1", + "scope": 2663, + "src": "58811:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32822,10 +32822,10 @@ "typeString": "address" }, "typeName": { - "id": 3144, + "id": 2636, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57198:7:1", + "src": "58811:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32836,12 +32836,12 @@ }, { "constant": false, - "id": 3147, + "id": 2639, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57210:15:1", + "scope": 2663, + "src": "58823:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32849,10 +32849,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3146, + "id": 2638, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57210:7:1", + "src": "58823:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32862,12 +32862,12 @@ }, { "constant": false, - "id": 3149, + "id": 2641, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57227:18:1", + "scope": 2663, + "src": "58840:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -32875,10 +32875,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3148, + "id": 2640, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "57227:5:1", + "src": "58840:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -32887,25 +32887,25 @@ "visibility": "internal" } ], - "src": "57197:49:1" + "src": "58810:49:0" }, "returnParameters": { - "id": 3151, + "id": 2643, "nodeType": "ParameterList", "parameters": [], - "src": "57264:0:1" + "src": "58877:0:0" }, - "scope": 3498, - "src": "57179:247:1", + "scope": 2990, + "src": "58792:250:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3229, + "id": 2721, "nodeType": "Block", - "src": "57809:332:1", + "src": "59439:343:0", "statements": [ { "expression": { @@ -32915,18 +32915,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3185, + "id": 2677, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3180, + "id": 2672, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57827:2:1", + "referencedDeclaration": 2666, + "src": "59458:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32938,14 +32938,14 @@ "arguments": [ { "hexValue": "30", - "id": 3183, + "id": 2675, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57841:1:1", + "src": "59472:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -32960,26 +32960,26 @@ "typeString": "int_const 0" } ], - "id": 3182, + "id": 2674, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3181, + "id": 2673, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": {} } }, - "id": 3184, + "id": 2676, "isConstant": false, "isLValue": false, "isPure": true, @@ -32987,14 +32987,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57833:10:1", + "src": "59464:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "57827:16:1", + "src": "59458:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -33002,14 +33002,14 @@ }, { "hexValue": "4552433732313a206d696e7420746f20746865207a65726f2061646472657373", - "id": 3186, + "id": 2678, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57845:34:1", + "src": "59476:34:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6", "typeString": "literal_string \"ERC721: mint to the zero address\"" @@ -33028,7 +33028,7 @@ "typeString": "literal_string \"ERC721: mint to the zero address\"" } ], - "id": 3179, + "id": 2671, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33036,13 +33036,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57819:7:1", + "src": "59450:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3187, + "id": 2679, "isConstant": false, "isLValue": false, "isPure": false, @@ -33050,22 +33050,22 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57819:61:1", + "src": "59450:61:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3188, + "id": 2680, "nodeType": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "expression": { "arguments": [ { - "id": 3193, + "id": 2685, "isConstant": false, "isLValue": false, "isPure": false, @@ -33073,16 +33073,16 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "57898:17:1", + "src": "59530:17:0", "subExpression": { "arguments": [ { - "id": 3191, + "id": 2683, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57907:7:1", + "referencedDeclaration": 2668, + "src": "59539:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33096,18 +33096,18 @@ "typeString": "uint256" } ], - "id": 3190, + "id": 2682, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "57899:7:1", + "referencedDeclaration": 2577, + "src": "59531:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3192, + "id": 2684, "isConstant": false, "isLValue": false, "isPure": false, @@ -33115,7 +33115,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57899:16:1", + "src": "59531:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -33129,14 +33129,14 @@ }, { "hexValue": "4552433732313a20746f6b656e20616c7265616479206d696e746564", - "id": 3194, + "id": 2686, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57917:30:1", + "src": "59549:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57", "typeString": "literal_string \"ERC721: token already minted\"" @@ -33155,7 +33155,7 @@ "typeString": "literal_string \"ERC721: token already minted\"" } ], - "id": 3189, + "id": 2681, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33163,13 +33163,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57890:7:1", + "src": "59522:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3195, + "id": 2687, "isConstant": false, "isLValue": false, "isPure": false, @@ -33177,16 +33177,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57890:58:1", + "src": "59522:58:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3196, + "id": 2688, "nodeType": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "expression": { @@ -33195,14 +33195,14 @@ "arguments": [ { "hexValue": "30", - "id": 3200, + "id": 2692, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57988:1:1", + "src": "59622:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33217,26 +33217,26 @@ "typeString": "int_const 0" } ], - "id": 3199, + "id": 2691, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3198, + "id": 2690, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": {} } }, - "id": 3201, + "id": 2693, "isConstant": false, "isLValue": false, "isPure": true, @@ -33244,7 +33244,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57980:10:1", + "src": "59614:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33252,24 +33252,24 @@ } }, { - "id": 3202, + "id": 2694, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57992:2:1", + "referencedDeclaration": 2666, + "src": "59626:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3203, + "id": 2695, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57996:7:1", + "referencedDeclaration": 2668, + "src": "59630:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33291,18 +33291,18 @@ "typeString": "uint256" } ], - "id": 3197, + "id": 2689, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "57959:20:1", + "referencedDeclaration": 2989, + "src": "59593:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3204, + "id": 2696, "isConstant": false, "isLValue": false, "isPure": false, @@ -33310,27 +33310,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57959:45:1", + "src": "59593:45:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3205, + "id": 2697, "nodeType": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "expression": { "arguments": [ { - "id": 3210, + "id": 2702, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58037:7:1", + "referencedDeclaration": 2668, + "src": "59673:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33346,25 +33346,25 @@ ], "expression": { "baseExpression": { - "id": 3206, + "id": 2698, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58015:13:1", + "referencedDeclaration": 2092, + "src": "59651:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3208, + "id": 2700, "indexExpression": { - "id": 3207, + "id": 2699, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58029:2:1", + "referencedDeclaration": 2666, + "src": "59665:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33375,27 +33375,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58015:17:1", + "src": "59651:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3209, + "id": 2701, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "58015:21:1", + "referencedDeclaration": 1338, + "src": "59651:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3211, + "id": 2703, "isConstant": false, "isLValue": false, "isPure": false, @@ -33403,39 +33403,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58015:30:1", + "src": "59651:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3212, + "id": 2704, "nodeType": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "expression": { "arguments": [ { - "id": 3216, + "id": 2708, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58073:7:1", + "referencedDeclaration": 2668, + "src": "59711:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3217, + "id": 2709, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58082:2:1", + "referencedDeclaration": 2666, + "src": "59720:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33454,32 +33454,32 @@ } ], "expression": { - "id": 3213, + "id": 2705, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58056:12:1", + "referencedDeclaration": 2094, + "src": "59694:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3215, + "id": 2707, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "58056:16:1", + "referencedDeclaration": 1778, + "src": "59694:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3218, + "id": 2710, "isConstant": false, "isLValue": false, "isPure": false, @@ -33487,16 +33487,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58056:29:1", + "src": "59694:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3219, + "id": 2711, "nodeType": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "eventCall": { @@ -33505,14 +33505,14 @@ "arguments": [ { "hexValue": "30", - "id": 3223, + "id": 2715, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58118:1:1", + "src": "59758:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33527,26 +33527,26 @@ "typeString": "int_const 0" } ], - "id": 3222, + "id": 2714, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3221, + "id": 2713, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": {} } }, - "id": 3224, + "id": 2716, "isConstant": false, "isLValue": false, "isPure": true, @@ -33554,7 +33554,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58110:10:1", + "src": "59750:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33562,24 +33562,24 @@ } }, { - "id": 3225, + "id": 2717, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58122:2:1", + "referencedDeclaration": 2666, + "src": "59762:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3226, + "id": 2718, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58126:7:1", + "referencedDeclaration": 2668, + "src": "59766:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33601,18 +33601,18 @@ "typeString": "uint256" } ], - "id": 3220, + "id": 2712, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58101:8:1", + "referencedDeclaration": 46, + "src": "59741:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3227, + "id": 2719, "isConstant": false, "isLValue": false, "isPure": false, @@ -33620,43 +33620,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58101:33:1", + "src": "59741:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3228, + "id": 2720, "nodeType": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ] }, "documentation": { - "id": 3172, + "id": 2664, "nodeType": "StructuredDocumentation", - "src": "57432:311:1", + "src": "59050:322:0", "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3230, + "id": 2722, "implemented": true, "kind": "function", "modifiers": [], "name": "_mint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3177, + "id": 2669, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3174, + "id": 2666, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57763:10:1", + "scope": 2722, + "src": "59393:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33664,10 +33664,10 @@ "typeString": "address" }, "typeName": { - "id": 3173, + "id": 2665, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57763:7:1", + "src": "59393:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33678,12 +33678,12 @@ }, { "constant": false, - "id": 3176, + "id": 2668, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57775:15:1", + "scope": 2722, + "src": "59405:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33691,10 +33691,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3175, + "id": 2667, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57775:7:1", + "src": "59405:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33703,39 +33703,39 @@ "visibility": "internal" } ], - "src": "57762:29:1" + "src": "59392:29:0" }, "returnParameters": { - "id": 3178, + "id": 2670, "nodeType": "ParameterList", "parameters": [], - "src": "57809:0:1" + "src": "59439:0:0" }, - "scope": 3498, - "src": "57748:393:1", + "scope": 2990, + "src": "59378:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3298, + "id": 2790, "nodeType": "Block", - "src": "58407:478:1", + "src": "60060:496:0", "statements": [ { "assignments": [ - 3237 + 2729 ], "declarations": [ { "constant": false, - "id": 3237, + "id": 2729, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3298, - "src": "58417:13:1", + "scope": 2790, + "src": "60071:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33743,10 +33743,10 @@ "typeString": "address" }, "typeName": { - "id": 3236, + "id": 2728, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58417:7:1", + "src": "60071:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33756,16 +33756,16 @@ "visibility": "internal" } ], - "id": 3242, + "id": 2734, "initialValue": { "arguments": [ { - "id": 3240, + "id": 2732, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58448:7:1", + "referencedDeclaration": 2725, + "src": "60102:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33780,32 +33780,32 @@ } ], "expression": { - "id": 3238, + "id": 2730, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "58433:6:1", + "referencedDeclaration": 2990, + "src": "60087:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3239, + "id": 2731, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "58433:14:1", + "referencedDeclaration": 2194, + "src": "60087:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3241, + "id": 2733, "isConstant": false, "isLValue": false, "isPure": false, @@ -33813,7 +33813,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58433:23:1", + "src": "60087:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -33821,18 +33821,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "expression": { "arguments": [ { - "id": 3244, + "id": 2736, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58506:5:1", + "referencedDeclaration": 2729, + "src": "60162:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33842,14 +33842,14 @@ "arguments": [ { "hexValue": "30", - "id": 3247, + "id": 2739, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58521:1:1", + "src": "60177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33864,26 +33864,26 @@ "typeString": "int_const 0" } ], - "id": 3246, + "id": 2738, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3245, + "id": 2737, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": {} } }, - "id": 3248, + "id": 2740, "isConstant": false, "isLValue": false, "isPure": true, @@ -33891,7 +33891,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58513:10:1", + "src": "60169:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33899,12 +33899,12 @@ } }, { - "id": 3249, + "id": 2741, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58525:7:1", + "referencedDeclaration": 2725, + "src": "60181:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33926,18 +33926,18 @@ "typeString": "uint256" } ], - "id": 3243, + "id": 2735, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "58485:20:1", + "referencedDeclaration": 2989, + "src": "60141:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3250, + "id": 2742, "isConstant": false, "isLValue": false, "isPure": false, @@ -33945,16 +33945,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58485:48:1", + "src": "60141:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3251, + "id": 2743, "nodeType": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "expression": { @@ -33963,14 +33963,14 @@ "arguments": [ { "hexValue": "30", - "id": 3255, + "id": 2747, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58588:1:1", + "src": "60247:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33985,26 +33985,26 @@ "typeString": "int_const 0" } ], - "id": 3254, + "id": 2746, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3253, + "id": 2745, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": {} } }, - "id": 3256, + "id": 2748, "isConstant": false, "isLValue": false, "isPure": true, @@ -34012,7 +34012,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58580:10:1", + "src": "60239:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34020,12 +34020,12 @@ } }, { - "id": 3257, + "id": 2749, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58592:7:1", + "referencedDeclaration": 2725, + "src": "60251:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34043,18 +34043,18 @@ "typeString": "uint256" } ], - "id": 3252, + "id": 2744, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "58571:8:1", + "referencedDeclaration": 2978, + "src": "60230:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3258, + "id": 2750, "isConstant": false, "isLValue": false, "isPure": false, @@ -34062,16 +34062,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58571:29:1", + "src": "60230:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3259, + "id": 2751, "nodeType": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "condition": { @@ -34079,7 +34079,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3268, + "id": 2760, "isConstant": false, "isLValue": false, "isPure": false, @@ -34089,25 +34089,25 @@ "arguments": [ { "baseExpression": { - "id": 3262, + "id": 2754, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58656:10:1", + "referencedDeclaration": 2112, + "src": "60318:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3264, + "id": 2756, "indexExpression": { - "id": 3263, + "id": 2755, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58667:7:1", + "referencedDeclaration": 2725, + "src": "60329:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34118,7 +34118,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58656:19:1", + "src": "60318:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34132,26 +34132,26 @@ "typeString": "string storage ref" } ], - "id": 3261, + "id": 2753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 3260, + "id": 2752, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": {} } }, - "id": 3265, + "id": 2757, "isConstant": false, "isLValue": false, "isPure": false, @@ -34159,21 +34159,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58650:26:1", + "src": "60312:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes storage pointer" } }, - "id": 3266, + "id": 2758, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "58650:33:1", + "src": "60312:33:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34183,37 +34183,37 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 3267, + "id": 2759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58687:1:1", + "src": "60349:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "58650:38:1", + "src": "60312:38:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3275, + "id": 2767, "nodeType": "IfStatement", - "src": "58646:95:1", + "src": "60308:97:0", "trueBody": { - "id": 3274, + "id": 2766, "nodeType": "Block", - "src": "58690:51:1", + "src": "60352:53:0", "statements": [ { "expression": { - "id": 3272, + "id": 2764, "isConstant": false, "isLValue": false, "isPure": false, @@ -34221,28 +34221,28 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "58704:26:1", + "src": "60367:26:0", "subExpression": { "baseExpression": { - "id": 3269, + "id": 2761, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58711:10:1", + "referencedDeclaration": 2112, + "src": "60374:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3271, + "id": 2763, "indexExpression": { - "id": 3270, + "id": 2762, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58722:7:1", + "referencedDeclaration": 2725, + "src": "60385:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34253,7 +34253,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "58711:19:1", + "src": "60374:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34264,9 +34264,9 @@ "typeString": "tuple()" } }, - "id": 3273, + "id": 2765, "nodeType": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ] } @@ -34275,12 +34275,12 @@ "expression": { "arguments": [ { - "id": 3280, + "id": 2772, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58779:7:1", + "referencedDeclaration": 2725, + "src": "60445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34296,25 +34296,25 @@ ], "expression": { "baseExpression": { - "id": 3276, + "id": 2768, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58751:13:1", + "referencedDeclaration": 2092, + "src": "60417:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3278, + "id": 2770, "indexExpression": { - "id": 3277, + "id": 2769, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58765:5:1", + "referencedDeclaration": 2729, + "src": "60431:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34325,27 +34325,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58751:20:1", + "src": "60417:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3279, + "id": 2771, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "58751:27:1", + "referencedDeclaration": 1358, + "src": "60417:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3281, + "id": 2773, "isConstant": false, "isLValue": false, "isPure": false, @@ -34353,27 +34353,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58751:36:1", + "src": "60417:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3282, + "id": 2774, "nodeType": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "expression": { "arguments": [ { - "id": 3286, + "id": 2778, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58818:7:1", + "referencedDeclaration": 2725, + "src": "60486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34388,32 +34388,32 @@ } ], "expression": { - "id": 3283, + "id": 2775, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58798:12:1", + "referencedDeclaration": 2094, + "src": "60466:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3285, + "id": 2777, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 2306, - "src": "58798:19:1", + "referencedDeclaration": 1798, + "src": "60466:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" } }, - "id": 3287, + "id": 2779, "isConstant": false, "isLValue": false, "isPure": false, @@ -34421,27 +34421,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58798:28:1", + "src": "60466:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3288, + "id": 2780, "nodeType": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "eventCall": { "arguments": [ { - "id": 3290, + "id": 2782, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58851:5:1", + "referencedDeclaration": 2729, + "src": "60521:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34451,14 +34451,14 @@ "arguments": [ { "hexValue": "30", - "id": 3293, + "id": 2785, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58866:1:1", + "src": "60536:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34473,26 +34473,26 @@ "typeString": "int_const 0" } ], - "id": 3292, + "id": 2784, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3291, + "id": 2783, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": {} } }, - "id": 3294, + "id": 2786, "isConstant": false, "isLValue": false, "isPure": true, @@ -34500,7 +34500,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58858:10:1", + "src": "60528:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34508,12 +34508,12 @@ } }, { - "id": 3295, + "id": 2787, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58870:7:1", + "referencedDeclaration": 2725, + "src": "60540:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34535,18 +34535,18 @@ "typeString": "uint256" } ], - "id": 3289, + "id": 2781, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58842:8:1", + "referencedDeclaration": 46, + "src": "60512:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3296, + "id": 2788, "isConstant": false, "isLValue": false, "isPure": false, @@ -34554,43 +34554,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58842:36:1", + "src": "60512:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3297, + "id": 2789, "nodeType": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ] }, "documentation": { - "id": 3231, + "id": 2723, "nodeType": "StructuredDocumentation", - "src": "58147:206:1", + "src": "59790:215:0", "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3299, + "id": 2791, "implemented": true, "kind": "function", "modifiers": [], "name": "_burn", "nodeType": "FunctionDefinition", "parameters": { - "id": 3234, + "id": 2726, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3233, + "id": 2725, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3299, - "src": "58373:15:1", + "scope": 2791, + "src": "60026:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34598,10 +34598,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3232, + "id": 2724, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "58373:7:1", + "src": "60026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34610,25 +34610,25 @@ "visibility": "internal" } ], - "src": "58372:17:1" + "src": "60025:17:0" }, "returnParameters": { - "id": 3235, + "id": 2727, "nodeType": "ParameterList", "parameters": [], - "src": "58407:0:1" + "src": "60060:0:0" }, - "scope": 3498, - "src": "58358:527:1", + "scope": 2990, + "src": "60011:545:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3370, + "id": 2862, "nodeType": "Block", - "src": "59288:505:1", + "src": "60972:520:0", "statements": [ { "expression": { @@ -34638,7 +34638,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3315, + "id": 2807, "isConstant": false, "isLValue": false, "isPure": false, @@ -34646,12 +34646,12 @@ "leftExpression": { "arguments": [ { - "id": 3312, + "id": 2804, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59321:7:1", + "referencedDeclaration": 2798, + "src": "61006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34666,32 +34666,32 @@ } ], "expression": { - "id": 3310, + "id": 2802, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "59306:6:1", + "referencedDeclaration": 2990, + "src": "60991:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3311, + "id": 2803, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "59306:14:1", + "referencedDeclaration": 2194, + "src": "60991:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3313, + "id": 2805, "isConstant": false, "isLValue": false, "isPure": false, @@ -34699,7 +34699,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59306:23:1", + "src": "60991:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -34709,18 +34709,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3314, + "id": 2806, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59333:4:1", + "referencedDeclaration": 2794, + "src": "61018:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "59306:31:1", + "src": "60991:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34728,14 +34728,14 @@ }, { "hexValue": "4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e", - "id": 3316, + "id": 2808, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59339:43:1", + "src": "61024:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a01073130a885d6c1c1af6ac75fc3b1c4f9403c235362962bbf528e2bd87d950", "typeString": "literal_string \"ERC721: transfer of token that is not own\"" @@ -34754,7 +34754,7 @@ "typeString": "literal_string \"ERC721: transfer of token that is not own\"" } ], - "id": 3309, + "id": 2801, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -34762,13 +34762,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59298:7:1", + "src": "60983:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3317, + "id": 2809, "isConstant": false, "isLValue": false, "isPure": false, @@ -34776,16 +34776,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59298:85:1", + "src": "60983:85:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3318, + "id": 2810, "nodeType": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "expression": { @@ -34795,18 +34795,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3325, + "id": 2817, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3320, + "id": 2812, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59419:2:1", + "referencedDeclaration": 2796, + "src": "61105:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34818,14 +34818,14 @@ "arguments": [ { "hexValue": "30", - "id": 3323, + "id": 2815, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59433:1:1", + "src": "61119:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34840,26 +34840,26 @@ "typeString": "int_const 0" } ], - "id": 3322, + "id": 2814, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3321, + "id": 2813, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": {} } }, - "id": 3324, + "id": 2816, "isConstant": false, "isLValue": false, "isPure": true, @@ -34867,14 +34867,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59425:10:1", + "src": "61111:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "59419:16:1", + "src": "61105:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34882,14 +34882,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f20746865207a65726f2061646472657373", - "id": 3326, + "id": 2818, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59437:38:1", + "src": "61123:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4", "typeString": "literal_string \"ERC721: transfer to the zero address\"" @@ -34908,7 +34908,7 @@ "typeString": "literal_string \"ERC721: transfer to the zero address\"" } ], - "id": 3319, + "id": 2811, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -34916,13 +34916,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59411:7:1", + "src": "61097:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3327, + "id": 2819, "isConstant": false, "isLValue": false, "isPure": false, @@ -34930,51 +34930,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59411:65:1", + "src": "61097:65:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3328, + "id": 2820, "nodeType": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "expression": { "arguments": [ { - "id": 3330, + "id": 2822, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59508:4:1", + "referencedDeclaration": 2794, + "src": "61196:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3331, + "id": 2823, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59514:2:1", + "referencedDeclaration": 2796, + "src": "61202:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3332, + "id": 2824, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59518:7:1", + "referencedDeclaration": 2798, + "src": "61206:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34996,18 +34996,18 @@ "typeString": "uint256" } ], - "id": 3329, + "id": 2821, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "59487:20:1", + "referencedDeclaration": 2989, + "src": "61175:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3333, + "id": 2825, "isConstant": false, "isLValue": false, "isPure": false, @@ -35015,16 +35015,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59487:39:1", + "src": "61175:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3334, + "id": 2826, "nodeType": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "expression": { @@ -35033,14 +35033,14 @@ "arguments": [ { "hexValue": "30", - "id": 3338, + "id": 2830, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59605:1:1", + "src": "61296:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -35055,26 +35055,26 @@ "typeString": "int_const 0" } ], - "id": 3337, + "id": 2829, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3336, + "id": 2828, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": {} } }, - "id": 3339, + "id": 2831, "isConstant": false, "isLValue": false, "isPure": true, @@ -35082,7 +35082,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59597:10:1", + "src": "61288:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -35090,12 +35090,12 @@ } }, { - "id": 3340, + "id": 2832, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59609:7:1", + "referencedDeclaration": 2798, + "src": "61300:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35113,18 +35113,18 @@ "typeString": "uint256" } ], - "id": 3335, + "id": 2827, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "59588:8:1", + "referencedDeclaration": 2978, + "src": "61279:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3341, + "id": 2833, "isConstant": false, "isLValue": false, "isPure": false, @@ -35132,27 +35132,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59588:29:1", + "src": "61279:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3342, + "id": 2834, "nodeType": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "expression": { "arguments": [ { - "id": 3347, + "id": 2839, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59655:7:1", + "referencedDeclaration": 2798, + "src": "61348:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35168,25 +35168,25 @@ ], "expression": { "baseExpression": { - "id": 3343, + "id": 2835, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59628:13:1", + "referencedDeclaration": 2092, + "src": "61321:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3345, + "id": 2837, "indexExpression": { - "id": 3344, + "id": 2836, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59642:4:1", + "referencedDeclaration": 2794, + "src": "61335:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35197,27 +35197,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59628:19:1", + "src": "61321:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3346, + "id": 2838, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "59628:26:1", + "referencedDeclaration": 1358, + "src": "61321:26:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3348, + "id": 2840, "isConstant": false, "isLValue": false, "isPure": false, @@ -35225,27 +35225,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59628:35:1", + "src": "61321:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3349, + "id": 2841, "nodeType": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "expression": { "arguments": [ { - "id": 3354, + "id": 2846, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59695:7:1", + "referencedDeclaration": 2798, + "src": "61389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35261,25 +35261,25 @@ ], "expression": { "baseExpression": { - "id": 3350, + "id": 2842, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59673:13:1", + "referencedDeclaration": 2092, + "src": "61367:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3352, + "id": 2844, "indexExpression": { - "id": 3351, + "id": 2843, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59687:2:1", + "referencedDeclaration": 2796, + "src": "61381:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35290,27 +35290,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59673:17:1", + "src": "61367:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3353, + "id": 2845, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "59673:21:1", + "referencedDeclaration": 1338, + "src": "61367:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3355, + "id": 2847, "isConstant": false, "isLValue": false, "isPure": false, @@ -35318,39 +35318,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59673:30:1", + "src": "61367:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3356, + "id": 2848, "nodeType": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "expression": { "arguments": [ { - "id": 3360, + "id": 2852, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59731:7:1", + "referencedDeclaration": 2798, + "src": "61427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3361, + "id": 2853, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59740:2:1", + "referencedDeclaration": 2796, + "src": "61436:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35369,32 +35369,32 @@ } ], "expression": { - "id": 3357, + "id": 2849, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "59714:12:1", + "referencedDeclaration": 2094, + "src": "61410:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3359, + "id": 2851, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "59714:16:1", + "referencedDeclaration": 1778, + "src": "61410:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3362, + "id": 2854, "isConstant": false, "isLValue": false, "isPure": false, @@ -35402,51 +35402,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59714:29:1", + "src": "61410:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3363, + "id": 2855, "nodeType": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "eventCall": { "arguments": [ { - "id": 3365, + "id": 2857, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59768:4:1", + "referencedDeclaration": 2794, + "src": "61466:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3366, + "id": 2858, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59774:2:1", + "referencedDeclaration": 2796, + "src": "61472:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3367, + "id": 2859, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59778:7:1", + "referencedDeclaration": 2798, + "src": "61476:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35468,18 +35468,18 @@ "typeString": "uint256" } ], - "id": 3364, + "id": 2856, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "59759:8:1", + "referencedDeclaration": 46, + "src": "61457:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3368, + "id": 2860, "isConstant": false, "isLValue": false, "isPure": false, @@ -35487,43 +35487,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59759:27:1", + "src": "61457:27:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3369, + "id": 2861, "nodeType": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ] }, "documentation": { - "id": 3300, + "id": 2792, "nodeType": "StructuredDocumentation", - "src": "58891:313:1", + "src": "60564:323:0", "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3371, + "id": 2863, "implemented": true, "kind": "function", "modifiers": [], "name": "_transfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3307, + "id": 2799, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3302, + "id": 2794, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59228:12:1", + "scope": 2863, + "src": "60912:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35531,10 +35531,10 @@ "typeString": "address" }, "typeName": { - "id": 3301, + "id": 2793, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59228:7:1", + "src": "60912:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35545,12 +35545,12 @@ }, { "constant": false, - "id": 3304, + "id": 2796, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59242:10:1", + "scope": 2863, + "src": "60926:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35558,10 +35558,10 @@ "typeString": "address" }, "typeName": { - "id": 3303, + "id": 2795, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59242:7:1", + "src": "60926:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35572,12 +35572,12 @@ }, { "constant": false, - "id": 3306, + "id": 2798, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59254:15:1", + "scope": 2863, + "src": "60938:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35585,10 +35585,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3305, + "id": 2797, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59254:7:1", + "src": "60938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35597,25 +35597,25 @@ "visibility": "internal" } ], - "src": "59227:43:1" + "src": "60911:43:0" }, "returnParameters": { - "id": 3308, + "id": 2800, "nodeType": "ParameterList", "parameters": [], - "src": "59288:0:1" + "src": "60972:0:0" }, - "scope": 3498, - "src": "59209:584:1", + "scope": 2990, + "src": "60893:599:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3392, + "id": 2884, "nodeType": "Block", - "src": "60021:131:1", + "src": "61729:134:0", "statements": [ { "expression": { @@ -35623,12 +35623,12 @@ { "arguments": [ { - "id": 3381, + "id": 2873, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60047:7:1", + "referencedDeclaration": 2866, + "src": "61756:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35642,18 +35642,18 @@ "typeString": "uint256" } ], - "id": 3380, + "id": 2872, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "60039:7:1", + "referencedDeclaration": 2577, + "src": "61748:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3382, + "id": 2874, "isConstant": false, "isLValue": false, "isPure": false, @@ -35661,7 +35661,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60039:16:1", + "src": "61748:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -35670,14 +35670,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e", - "id": 3383, + "id": 2875, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "60057:46:1", + "src": "61766:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_94be4a260caaeac1b145f03ffa2e70bc612b64982d04f24073aaf3a5f9009978", "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" @@ -35696,7 +35696,7 @@ "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" } ], - "id": 3379, + "id": 2871, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -35704,13 +35704,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "60031:7:1", + "src": "61740:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3384, + "id": 2876, "isConstant": false, "isLValue": false, "isPure": false, @@ -35718,45 +35718,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60031:73:1", + "src": "61740:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3385, + "id": 2877, "nodeType": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "expression": { - "id": 3390, + "id": 2882, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3386, + "id": 2878, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "60114:10:1", + "referencedDeclaration": 2112, + "src": "61824:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3388, + "id": 2880, "indexExpression": { - "id": 3387, + "id": 2879, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60125:7:1", + "referencedDeclaration": 2866, + "src": "61835:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35767,7 +35767,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "60114:19:1", + "src": "61824:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -35776,53 +35776,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3389, + "id": 2881, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3376, - "src": "60136:9:1", + "referencedDeclaration": 2868, + "src": "61846:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60114:31:1", + "src": "61824:31:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3391, + "id": 2883, "nodeType": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ] }, "documentation": { - "id": 3372, + "id": 2864, "nodeType": "StructuredDocumentation", - "src": "59799:136:1", + "src": "61500:142:0", "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3393, + "id": 2885, "implemented": true, "kind": "function", "modifiers": [], "name": "_setTokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3377, + "id": 2869, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3374, + "id": 2866, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59962:15:1", + "scope": 2885, + "src": "61670:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35830,10 +35830,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3373, + "id": 2865, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59962:7:1", + "src": "61670:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35843,12 +35843,12 @@ }, { "constant": false, - "id": 3376, + "id": 2868, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59979:23:1", + "scope": 2885, + "src": "61687:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -35856,10 +35856,10 @@ "typeString": "string" }, "typeName": { - "id": 3375, + "id": 2867, "name": "string", "nodeType": "ElementaryTypeName", - "src": "59979:6:1", + "src": "61687:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -35868,40 +35868,40 @@ "visibility": "internal" } ], - "src": "59961:42:1" + "src": "61669:42:0" }, "returnParameters": { - "id": 3378, + "id": 2870, "nodeType": "ParameterList", "parameters": [], - "src": "60021:0:1" + "src": "61729:0:0" }, - "scope": 3498, - "src": "59940:212:1", + "scope": 2990, + "src": "61648:215:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3403, + "id": 2895, "nodeType": "Block", - "src": "60437:36:1", + "src": "62155:38:0", "statements": [ { "expression": { - "id": 3401, + "id": 2893, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 3399, + "id": 2891, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "60447:8:1", + "referencedDeclaration": 2114, + "src": "62166:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -35910,53 +35910,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3400, + "id": 2892, "name": "baseURI_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3396, - "src": "60458:8:1", + "referencedDeclaration": 2888, + "src": "62177:8:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60447:19:1", + "src": "62166:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3402, + "id": 2894, "nodeType": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ] }, "documentation": { - "id": 3394, + "id": 2886, "nodeType": "StructuredDocumentation", - "src": "60158:212:1", + "src": "61871:216:0", "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3404, + "id": 2896, "implemented": true, "kind": "function", "modifiers": [], "name": "_setBaseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3397, + "id": 2889, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3396, + "id": 2888, "mutability": "mutable", "name": "baseURI_", "nodeType": "VariableDeclaration", - "scope": 3404, - "src": "60396:22:1", + "scope": 2896, + "src": "62114:22:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -35964,10 +35964,10 @@ "typeString": "string" }, "typeName": { - "id": 3395, + "id": 2887, "name": "string", "nodeType": "ElementaryTypeName", - "src": "60396:6:1", + "src": "62114:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -35976,29 +35976,29 @@ "visibility": "internal" } ], - "src": "60395:24:1" + "src": "62113:24:0" }, "returnParameters": { - "id": 3398, + "id": 2890, "nodeType": "ParameterList", "parameters": [], - "src": "60437:0:1" + "src": "62155:0:0" }, - "scope": 3498, - "src": "60375:98:1", + "scope": 2990, + "src": "62093:100:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3461, + "id": 2953, "nodeType": "Block", - "src": "61156:459:1", + "src": "62890:472:0", "statements": [ { "condition": { - "id": 3421, + "id": 2913, "isConstant": false, "isLValue": false, "isPure": false, @@ -36006,38 +36006,38 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "61170:16:1", + "src": "62905:16:0", "subExpression": { "arguments": [], "expression": { "argumentTypes": [], "expression": { - "id": 3418, + "id": 2910, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61171:2:1", + "referencedDeclaration": 2901, + "src": "62906:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3419, + "id": 2911, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isContract", "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "61171:13:1", + "referencedDeclaration": 646, + "src": "62906:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$", "typeString": "function (address) view returns (bool)" } }, - "id": 3420, + "id": 2912, "isConstant": false, "isLValue": false, "isPure": false, @@ -36045,7 +36045,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61171:15:1", + "src": "62906:15:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -36057,52 +36057,52 @@ "typeString": "bool" } }, - "id": 3425, + "id": 2917, "nodeType": "IfStatement", - "src": "61166:58:1", + "src": "62901:60:0", "trueBody": { - "id": 3424, + "id": 2916, "nodeType": "Block", - "src": "61188:36:1", + "src": "62923:38:0", "statements": [ { "expression": { "hexValue": "74727565", - "id": 3422, + "id": 2914, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "61209:4:1", + "src": "62945:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 3417, - "id": 3423, + "functionReturnParameters": 2909, + "id": 2915, "nodeType": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ] } }, { "assignments": [ - 3427 + 2919 ], "declarations": [ { "constant": false, - "id": 3427, + "id": 2919, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61233:23:1", + "scope": 2953, + "src": "62971:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36110,10 +36110,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3426, + "id": 2918, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61233:5:1", + "src": "62971:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36122,7 +36122,7 @@ "visibility": "internal" } ], - "id": 3445, + "id": 2937, "initialValue": { "arguments": [ { @@ -36132,12 +36132,12 @@ "expression": { "arguments": [ { - "id": 3433, + "id": 2925, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61327:2:1", + "referencedDeclaration": 2901, + "src": "63066:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36151,18 +36151,18 @@ "typeString": "address" } ], - "id": 3432, + "id": 2924, "name": "IERC721Receiver", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 726, - "src": "61311:15:1", + "referencedDeclaration": 218, + "src": "63050:15:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$726_$", + "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$218_$", "typeString": "type(contract IERC721Receiver)" } }, - "id": 3434, + "id": 2926, "isConstant": false, "isLValue": false, "isPure": false, @@ -36170,35 +36170,35 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61311:19:1", + "src": "63050:19:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Receiver_$726", + "typeIdentifier": "t_contract$_IERC721Receiver_$218", "typeString": "contract IERC721Receiver" } }, - "id": 3435, + "id": 2927, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "onERC721Received", "nodeType": "MemberAccess", - "referencedDeclaration": 725, - "src": "61311:36:1", + "referencedDeclaration": 217, + "src": "63050:36:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", "typeString": "function (address,address,uint256,bytes memory) external returns (bytes4)" } }, - "id": 3436, + "id": 2928, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "selector", "nodeType": "MemberAccess", - "src": "61311:45:1", + "src": "63050:45:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36208,18 +36208,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3437, + "id": 2929, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "61370:10:1", + "referencedDeclaration": 10, + "src": "63110:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3438, + "id": 2930, "isConstant": false, "isLValue": false, "isPure": false, @@ -36227,7 +36227,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61370:12:1", + "src": "63110:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -36235,36 +36235,36 @@ } }, { - "id": 3439, + "id": 2931, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3407, - "src": "61396:4:1", + "referencedDeclaration": 2899, + "src": "63137:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3440, + "id": 2932, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3411, - "src": "61414:7:1", + "referencedDeclaration": 2903, + "src": "63156:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3441, + "id": 2933, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3413, - "src": "61435:5:1", + "referencedDeclaration": 2905, + "src": "63178:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36295,31 +36295,31 @@ } ], "expression": { - "id": 3430, + "id": 2922, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61275:3:1", + "src": "63013:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3431, + "id": 2923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodeWithSelector", "nodeType": "MemberAccess", - "src": "61275:22:1", + "src": "63013:22:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bytes4) pure returns (bytes memory)" } }, - "id": 3442, + "id": 2934, "isConstant": false, "isLValue": false, "isPure": false, @@ -36327,7 +36327,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61275:175:1", + "src": "63013:181:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36336,14 +36336,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3443, + "id": 2935, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "61452:52:1", + "src": "63196:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -36363,32 +36363,32 @@ } ], "expression": { - "id": 3428, + "id": 2920, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61259:2:1", + "referencedDeclaration": 2901, + "src": "62997:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3429, + "id": 2921, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "functionCall", "nodeType": "MemberAccess", - "referencedDeclaration": 1225, - "src": "61259:15:1", + "referencedDeclaration": 717, + "src": "62997:15:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$bound_to$_t_address_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 3444, + "id": 2936, "isConstant": false, "isLValue": false, "isPure": false, @@ -36396,7 +36396,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61259:246:1", + "src": "62997:252:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36404,21 +36404,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "assignments": [ - 3447 + 2939 ], "declarations": [ { "constant": false, - "id": 3447, + "id": 2939, "mutability": "mutable", "name": "retval", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61515:13:1", + "scope": 2953, + "src": "63260:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36426,10 +36426,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 3446, + "id": 2938, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61515:6:1", + "src": "63260:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36438,16 +36438,16 @@ "visibility": "internal" } ], - "id": 3455, + "id": 2947, "initialValue": { "arguments": [ { - "id": 3450, + "id": 2942, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3427, - "src": "61542:10:1", + "referencedDeclaration": 2919, + "src": "63287:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36456,34 +36456,34 @@ { "components": [ { - "id": 3452, + "id": 2944, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" }, "typeName": { - "id": 3451, + "id": 2943, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": {} } } ], - "id": 3453, + "id": 2945, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61554:8:1", + "src": "63299:8:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" @@ -36502,31 +36502,31 @@ } ], "expression": { - "id": 3448, + "id": 2940, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61531:3:1", + "src": "63276:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3449, + "id": 2941, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "decode", "nodeType": "MemberAccess", - "src": "61531:10:1", + "src": "63276:10:0", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 3454, + "id": 2946, "isConstant": false, "isLValue": false, "isPure": false, @@ -36534,7 +36534,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61531:32:1", + "src": "63276:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes4", @@ -36542,7 +36542,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "expression": { @@ -36552,18 +36552,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 3458, + "id": 2950, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3456, + "id": 2948, "name": "retval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3447, - "src": "61581:6:1", + "referencedDeclaration": 2939, + "src": "63327:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36572,68 +36572,68 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3457, + "id": 2949, "name": "_ERC721_RECEIVED", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2596, - "src": "61591:16:1", + "referencedDeclaration": 2088, + "src": "63337:16:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "src": "61581:26:1", + "src": "63327:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3459, + "id": 2951, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61580:28:1", + "src": "63326:28:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3417, - "id": 3460, + "functionReturnParameters": 2909, + "id": 2952, "nodeType": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ] }, "documentation": { - "id": 3405, + "id": 2897, "nodeType": "StructuredDocumentation", - "src": "60479:542:1", + "src": "62201:551:0", "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3462, + "id": 2954, "implemented": true, "kind": "function", "modifiers": [], "name": "_checkOnERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 3414, + "id": 2906, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3407, + "id": 2899, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61058:12:1", + "scope": 2954, + "src": "62790:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36641,10 +36641,10 @@ "typeString": "address" }, "typeName": { - "id": 3406, + "id": 2898, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61058:7:1", + "src": "62790:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36655,12 +36655,12 @@ }, { "constant": false, - "id": 3409, + "id": 2901, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61072:10:1", + "scope": 2954, + "src": "62804:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36668,10 +36668,10 @@ "typeString": "address" }, "typeName": { - "id": 3408, + "id": 2900, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61072:7:1", + "src": "62804:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36682,12 +36682,12 @@ }, { "constant": false, - "id": 3411, + "id": 2903, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61084:15:1", + "scope": 2954, + "src": "62816:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36695,10 +36695,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3410, + "id": 2902, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61084:7:1", + "src": "62816:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36708,12 +36708,12 @@ }, { "constant": false, - "id": 3413, + "id": 2905, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61101:18:1", + "scope": 2954, + "src": "62833:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36721,10 +36721,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3412, + "id": 2904, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61101:5:1", + "src": "62833:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36733,20 +36733,20 @@ "visibility": "internal" } ], - "src": "61057:63:1" + "src": "62789:63:0" }, "returnParameters": { - "id": 3417, + "id": 2909, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3416, + "id": 2908, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61146:4:1", + "scope": 2954, + "src": "62879:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36754,10 +36754,10 @@ "typeString": "bool" }, "typeName": { - "id": 3415, + "id": 2907, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "61146:4:1", + "src": "62879:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -36766,48 +36766,48 @@ "visibility": "internal" } ], - "src": "61145:6:1" + "src": "62878:6:0" }, - "scope": 3498, - "src": "61026:589:1", + "scope": 2990, + "src": "62758:604:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 3485, + "id": 2977, "nodeType": "Block", - "src": "61791:125:1", + "src": "63545:128:0", "statements": [ { "expression": { - "id": 3474, + "id": 2966, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3470, + "id": 2962, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "61801:15:1", + "referencedDeclaration": 2098, + "src": "63556:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 3472, + "id": 2964, "indexExpression": { - "id": 3471, + "id": 2963, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61817:7:1", + "referencedDeclaration": 2959, + "src": "63572:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36818,7 +36818,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "61801:24:1", + "src": "63556:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36827,26 +36827,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3473, + "id": 2965, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61828:2:1", + "referencedDeclaration": 2957, + "src": "63583:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "61801:29:1", + "src": "63556:29:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3475, + "id": 2967, "nodeType": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "eventCall": { @@ -36854,12 +36854,12 @@ { "arguments": [ { - "id": 3479, + "id": 2971, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61869:7:1", + "referencedDeclaration": 2959, + "src": "63625:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36874,32 +36874,32 @@ } ], "expression": { - "id": 3477, + "id": 2969, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "61854:6:1", + "referencedDeclaration": 2990, + "src": "63610:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3478, + "id": 2970, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "61854:14:1", + "referencedDeclaration": 2194, + "src": "63610:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3480, + "id": 2972, "isConstant": false, "isLValue": false, "isPure": false, @@ -36907,7 +36907,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61854:23:1", + "src": "63610:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -36915,24 +36915,24 @@ } }, { - "id": 3481, + "id": 2973, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61879:2:1", + "referencedDeclaration": 2957, + "src": "63635:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3482, + "id": 2974, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61883:7:1", + "referencedDeclaration": 2959, + "src": "63639:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36954,18 +36954,18 @@ "typeString": "uint256" } ], - "id": 3476, + "id": 2968, "name": "Approval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 563, - "src": "61845:8:1", + "referencedDeclaration": 55, + "src": "63601:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3483, + "id": 2975, "isConstant": false, "isLValue": false, "isPure": false, @@ -36973,43 +36973,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61845:46:1", + "src": "63601:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3484, + "id": 2976, "nodeType": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ] }, "documentation": { - "id": 3463, + "id": 2955, "nodeType": "StructuredDocumentation", - "src": "61621:101:1", + "src": "63370:105:0", "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3486, + "id": 2978, "implemented": true, "kind": "function", "modifiers": [], "name": "_approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 3468, + "id": 2960, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3465, + "id": 2957, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61745:10:1", + "scope": 2978, + "src": "63499:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37017,10 +37017,10 @@ "typeString": "address" }, "typeName": { - "id": 3464, + "id": 2956, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61745:7:1", + "src": "63499:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37031,12 +37031,12 @@ }, { "constant": false, - "id": 3467, + "id": 2959, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61757:15:1", + "scope": 2978, + "src": "63511:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37044,10 +37044,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3466, + "id": 2958, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61757:7:1", + "src": "63511:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37056,51 +37056,51 @@ "visibility": "internal" } ], - "src": "61744:29:1" + "src": "63498:29:0" }, "returnParameters": { - "id": 3469, + "id": 2961, "nodeType": "ParameterList", "parameters": [], - "src": "61791:0:1" + "src": "63545:0:0" }, - "scope": 3498, - "src": "61727:189:1", + "scope": 2990, + "src": "63481:192:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3496, + "id": 2988, "nodeType": "Block", - "src": "62602:3:1", + "src": "64376:3:0", "statements": [] }, "documentation": { - "id": 3487, + "id": 2979, "nodeType": "StructuredDocumentation", - "src": "61922:585:1", + "src": "63681:599:0", "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3497, + "id": 2989, "implemented": true, "kind": "function", "modifiers": [], "name": "_beforeTokenTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3494, + "id": 2986, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3489, + "id": 2981, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62542:12:1", + "scope": 2989, + "src": "64316:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37108,10 +37108,10 @@ "typeString": "address" }, "typeName": { - "id": 3488, + "id": 2980, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62542:7:1", + "src": "64316:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37122,12 +37122,12 @@ }, { "constant": false, - "id": 3491, + "id": 2983, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62556:10:1", + "scope": 2989, + "src": "64330:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37135,10 +37135,10 @@ "typeString": "address" }, "typeName": { - "id": 3490, + "id": 2982, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62556:7:1", + "src": "64330:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37149,12 +37149,12 @@ }, { "constant": false, - "id": 3493, + "id": 2985, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62568:15:1", + "scope": 2989, + "src": "64342:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37162,10 +37162,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3492, + "id": 2984, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "62568:7:1", + "src": "64342:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37174,69 +37174,69 @@ "visibility": "internal" } ], - "src": "62541:43:1" + "src": "64315:43:0" }, "returnParameters": { - "id": 3495, + "id": 2987, "nodeType": "ParameterList", "parameters": [], - "src": "62602:0:1" + "src": "64376:0:0" }, - "scope": 3498, - "src": "62512:93:1", + "scope": 2990, + "src": "64286:93:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "46080:16527:1" + "scope": 2991, + "src": "47398:16984:0" } ], - "src": "84:62524:1" + "src": "87:64297:0" }, "legacyAST": { "attributes": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, "license": "MIT" @@ -37254,9 +37254,9 @@ ".0" ] }, - "id": 509, + "id": 1, "name": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "attributes": { @@ -37270,10 +37270,10 @@ "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", - "scope": 3499 + "scope": 2991 }, "children": [ { @@ -37285,7 +37285,7 @@ null ], "name": "_msgSender", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37298,9 +37298,9 @@ ] }, "children": [], - "id": 510, + "id": 2, "name": "ParameterList", - "src": "668:2:1" + "src": "684:2:0" }, { "children": [ @@ -37309,7 +37309,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 518, + "scope": 10, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -37322,25 +37322,25 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 511, + "id": 3, "name": "ElementaryTypeName", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 512, + "id": 4, "name": "VariableDeclaration", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 513, + "id": 5, "name": "ParameterList", - "src": "701:17:1" + "src": "717:17:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 513 + "functionReturnParameters": 5 }, "children": [ { @@ -37362,29 +37362,29 @@ "type": "msg", "value": "msg" }, - "id": 514, + "id": 6, "name": "Identifier", - "src": "736:3:1" + "src": "753:3:0" } ], - "id": 515, + "id": 7, "name": "MemberAccess", - "src": "736:10:1" + "src": "753:10:0" } ], - "id": 516, + "id": 8, "name": "Return", - "src": "729:17:1" + "src": "746:17:0" } ], - "id": 517, + "id": 9, "name": "Block", - "src": "719:34:1" + "src": "735:36:0" } ], - "id": 518, + "id": 10, "name": "FunctionDefinition", - "src": "649:104:1" + "src": "665:106:0" }, { "attributes": { @@ -37395,7 +37395,7 @@ null ], "name": "_msgData", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37408,9 +37408,9 @@ ] }, "children": [], - "id": 519, + "id": 11, "name": "ParameterList", - "src": "776:2:1" + "src": "796:2:0" }, { "children": [ @@ -37419,7 +37419,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 529, + "scope": 21, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -37431,19 +37431,19 @@ "name": "bytes", "type": "bytes" }, - "id": 520, + "id": 12, "name": "ElementaryTypeName", - "src": "810:5:1" + "src": "830:5:0" } ], - "id": 521, + "id": 13, "name": "VariableDeclaration", - "src": "810:12:1" + "src": "830:12:0" } ], - "id": 522, + "id": 14, "name": "ParameterList", - "src": "809:14:1" + "src": "829:14:0" }, { "children": [ @@ -37458,18 +37458,18 @@ "type": "contract Context", "value": "this" }, - "id": 523, + "id": 15, "name": "Identifier", - "src": "834:4:1" + "src": "855:4:0" } ], - "id": 524, + "id": 16, "name": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "attributes": { - "functionReturnParameters": 522 + "functionReturnParameters": 14 }, "children": [ { @@ -37491,34 +37491,34 @@ "type": "msg", "value": "msg" }, - "id": 525, + "id": 17, "name": "Identifier", - "src": "974:3:1" + "src": "996:3:0" } ], - "id": 526, + "id": 18, "name": "MemberAccess", - "src": "974:8:1" + "src": "996:8:0" } ], - "id": 527, + "id": 19, "name": "Return", - "src": "967:15:1" + "src": "989:15:0" } ], - "id": 528, + "id": 20, "name": "Block", - "src": "824:165:1" + "src": "844:168:0" } ], - "id": 529, + "id": 21, "name": "FunctionDefinition", - "src": "759:230:1" + "src": "779:233:0" } ], - "id": 530, + "id": 22, "name": "ContractDefinition", - "src": "617:374:1" + "src": "632:383:0" }, { "attributes": { @@ -37532,9 +37532,9 @@ ".0" ] }, - "id": 531, + "id": 23, "name": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "attributes": { @@ -37548,19 +37548,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, - "id": 532, + "id": 24, "name": "StructuredDocumentation", - "src": "1086:279:1" + "src": "1116:287:0" }, { "attributes": { @@ -37572,7 +37572,7 @@ null ], "name": "supportsInterface", - "scope": 541, + "scope": 33, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -37582,9 +37582,9 @@ "attributes": { "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, - "id": 533, + "id": 25, "name": "StructuredDocumentation", - "src": "1390:340:1" + "src": "1430:347:0" }, { "children": [ @@ -37593,7 +37593,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -37605,19 +37605,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 534, + "id": 26, "name": "ElementaryTypeName", - "src": "1762:6:1" + "src": "1810:6:0" } ], - "id": 535, + "id": 27, "name": "VariableDeclaration", - "src": "1762:18:1" + "src": "1810:18:0" } ], - "id": 536, + "id": 28, "name": "ParameterList", - "src": "1761:20:1" + "src": "1809:20:0" }, { "children": [ @@ -37626,7 +37626,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -37638,29 +37638,29 @@ "name": "bool", "type": "bool" }, - "id": 537, + "id": 29, "name": "ElementaryTypeName", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 538, + "id": 30, "name": "VariableDeclaration", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 539, + "id": 31, "name": "ParameterList", - "src": "1804:6:1" + "src": "1852:6:0" } ], - "id": 540, + "id": 32, "name": "FunctionDefinition", - "src": "1735:76:1" + "src": "1783:76:0" } ], - "id": 541, + "id": 33, "name": "ContractDefinition", - "src": "1366:447:1" + "src": "1405:457:0" }, { "attributes": { @@ -37674,33 +37674,33 @@ ".0" ] }, - "id": 542, + "id": 34, "name": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Required interface of an ERC721 compliant contract." }, - "id": 543, + "id": 35, "name": "StructuredDocumentation", - "src": "1907:67:1" + "src": "1962:69:0" }, { "attributes": {}, @@ -37708,17 +37708,17 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 544, + "id": 36, "name": "UserDefinedTypeName", - "src": "1996:7:1" + "src": "2054:7:0" } ], - "id": 545, + "id": 37, "name": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" }, { "attributes": { @@ -37730,9 +37730,9 @@ "attributes": { "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 546, + "id": 38, "name": "StructuredDocumentation", - "src": "2010:88:1" + "src": "2069:90:0" }, { "children": [ @@ -37742,7 +37742,7 @@ "indexed": true, "mutability": "mutable", "name": "from", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37755,14 +37755,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 547, + "id": 39, "name": "ElementaryTypeName", - "src": "2118:7:1" + "src": "2180:7:0" } ], - "id": 548, + "id": 40, "name": "VariableDeclaration", - "src": "2118:20:1" + "src": "2180:20:0" }, { "attributes": { @@ -37770,7 +37770,7 @@ "indexed": true, "mutability": "mutable", "name": "to", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37783,14 +37783,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 549, + "id": 41, "name": "ElementaryTypeName", - "src": "2140:7:1" + "src": "2202:7:0" } ], - "id": 550, + "id": 42, "name": "VariableDeclaration", - "src": "2140:18:1" + "src": "2202:18:0" }, { "attributes": { @@ -37798,7 +37798,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -37810,24 +37810,24 @@ "name": "uint256", "type": "uint256" }, - "id": 551, + "id": 43, "name": "ElementaryTypeName", - "src": "2160:7:1" + "src": "2222:7:0" } ], - "id": 552, + "id": 44, "name": "VariableDeclaration", - "src": "2160:23:1" + "src": "2222:23:0" } ], - "id": 553, + "id": 45, "name": "ParameterList", - "src": "2117:67:1" + "src": "2179:67:0" } ], - "id": 554, + "id": 46, "name": "EventDefinition", - "src": "2103:82:1" + "src": "2165:82:0" }, { "attributes": { @@ -37839,9 +37839,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 555, + "id": 47, "name": "StructuredDocumentation", - "src": "2191:94:1" + "src": "2255:96:0" }, { "children": [ @@ -37851,7 +37851,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37864,14 +37864,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 556, + "id": 48, "name": "ElementaryTypeName", - "src": "2305:7:1" + "src": "2372:7:0" } ], - "id": 557, + "id": 49, "name": "VariableDeclaration", - "src": "2305:21:1" + "src": "2372:21:0" }, { "attributes": { @@ -37879,7 +37879,7 @@ "indexed": true, "mutability": "mutable", "name": "approved", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37892,14 +37892,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 558, + "id": 50, "name": "ElementaryTypeName", - "src": "2328:7:1" + "src": "2395:7:0" } ], - "id": 559, + "id": 51, "name": "VariableDeclaration", - "src": "2328:24:1" + "src": "2395:24:0" }, { "attributes": { @@ -37907,7 +37907,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -37919,24 +37919,24 @@ "name": "uint256", "type": "uint256" }, - "id": 560, + "id": 52, "name": "ElementaryTypeName", - "src": "2354:7:1" + "src": "2421:7:0" } ], - "id": 561, + "id": 53, "name": "VariableDeclaration", - "src": "2354:23:1" + "src": "2421:23:0" } ], - "id": 562, + "id": 54, "name": "ParameterList", - "src": "2304:74:1" + "src": "2371:74:0" } ], - "id": 563, + "id": 55, "name": "EventDefinition", - "src": "2290:89:1" + "src": "2357:89:0" }, { "attributes": { @@ -37948,9 +37948,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 564, + "id": 56, "name": "StructuredDocumentation", - "src": "2385:117:1" + "src": "2454:119:0" }, { "children": [ @@ -37960,7 +37960,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37973,14 +37973,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 565, + "id": 57, "name": "ElementaryTypeName", - "src": "2528:7:1" + "src": "2600:7:0" } ], - "id": 566, + "id": 58, "name": "VariableDeclaration", - "src": "2528:21:1" + "src": "2600:21:0" }, { "attributes": { @@ -37988,7 +37988,7 @@ "indexed": true, "mutability": "mutable", "name": "operator", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38001,14 +38001,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 567, + "id": 59, "name": "ElementaryTypeName", - "src": "2551:7:1" + "src": "2623:7:0" } ], - "id": 568, + "id": 60, "name": "VariableDeclaration", - "src": "2551:24:1" + "src": "2623:24:0" }, { "attributes": { @@ -38016,7 +38016,7 @@ "indexed": false, "mutability": "mutable", "name": "approved", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38028,24 +38028,24 @@ "name": "bool", "type": "bool" }, - "id": 569, + "id": 61, "name": "ElementaryTypeName", - "src": "2577:4:1" + "src": "2649:4:0" } ], - "id": 570, + "id": 62, "name": "VariableDeclaration", - "src": "2577:13:1" + "src": "2649:13:0" } ], - "id": 571, + "id": 63, "name": "ParameterList", - "src": "2527:64:1" + "src": "2599:64:0" } ], - "id": 572, + "id": 64, "name": "EventDefinition", - "src": "2507:85:1" + "src": "2579:85:0" }, { "attributes": { @@ -38057,7 +38057,7 @@ null ], "name": "balanceOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38067,9 +38067,9 @@ "attributes": { "text": " @dev Returns the number of tokens in ``owner``'s account." }, - "id": 573, + "id": 65, "name": "StructuredDocumentation", - "src": "2598:76:1" + "src": "2672:78:0" }, { "children": [ @@ -38078,7 +38078,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38091,19 +38091,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 574, + "id": 66, "name": "ElementaryTypeName", - "src": "2698:7:1" + "src": "2775:7:0" } ], - "id": 575, + "id": 67, "name": "VariableDeclaration", - "src": "2698:13:1" + "src": "2775:13:0" } ], - "id": 576, + "id": 68, "name": "ParameterList", - "src": "2697:15:1" + "src": "2774:15:0" }, { "children": [ @@ -38112,7 +38112,7 @@ "constant": false, "mutability": "mutable", "name": "balance", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38124,24 +38124,24 @@ "name": "uint256", "type": "uint256" }, - "id": 577, + "id": 69, "name": "ElementaryTypeName", - "src": "2736:7:1" + "src": "2813:7:0" } ], - "id": 578, + "id": 70, "name": "VariableDeclaration", - "src": "2736:15:1" + "src": "2813:15:0" } ], - "id": 579, + "id": 71, "name": "ParameterList", - "src": "2735:17:1" + "src": "2812:17:0" } ], - "id": 580, + "id": 72, "name": "FunctionDefinition", - "src": "2679:74:1" + "src": "2756:74:0" }, { "attributes": { @@ -38153,7 +38153,7 @@ null ], "name": "ownerOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38163,9 +38163,9 @@ "attributes": { "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 581, + "id": 73, "name": "StructuredDocumentation", - "src": "2759:131:1" + "src": "2838:137:0" }, { "children": [ @@ -38174,7 +38174,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38186,19 +38186,19 @@ "name": "uint256", "type": "uint256" }, - "id": 582, + "id": 74, "name": "ElementaryTypeName", - "src": "2912:7:1" + "src": "2998:7:0" } ], - "id": 583, + "id": 75, "name": "VariableDeclaration", - "src": "2912:15:1" + "src": "2998:15:0" } ], - "id": 584, + "id": 76, "name": "ParameterList", - "src": "2911:17:1" + "src": "2997:17:0" }, { "children": [ @@ -38207,7 +38207,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38220,24 +38220,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 585, + "id": 77, "name": "ElementaryTypeName", - "src": "2952:7:1" + "src": "3038:7:0" } ], - "id": 586, + "id": 78, "name": "VariableDeclaration", - "src": "2952:13:1" + "src": "3038:13:0" } ], - "id": 587, + "id": 79, "name": "ParameterList", - "src": "2951:15:1" + "src": "3037:15:0" } ], - "id": 588, + "id": 80, "name": "FunctionDefinition", - "src": "2895:72:1" + "src": "2981:72:0" }, { "attributes": { @@ -38249,7 +38249,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38259,9 +38259,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 589, + "id": 81, "name": "StructuredDocumentation", - "src": "2973:690:1" + "src": "3061:703:0" }, { "children": [ @@ -38270,7 +38270,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38283,21 +38283,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 590, + "id": 82, "name": "ElementaryTypeName", - "src": "3694:7:1" + "src": "3796:7:0" } ], - "id": 591, + "id": 83, "name": "VariableDeclaration", - "src": "3694:12:1" + "src": "3796:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38310,21 +38310,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 592, + "id": 84, "name": "ElementaryTypeName", - "src": "3708:7:1" + "src": "3810:7:0" } ], - "id": 593, + "id": 85, "name": "VariableDeclaration", - "src": "3708:10:1" + "src": "3810:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38336,19 +38336,19 @@ "name": "uint256", "type": "uint256" }, - "id": 594, + "id": 86, "name": "ElementaryTypeName", - "src": "3720:7:1" + "src": "3822:7:0" } ], - "id": 595, + "id": 87, "name": "VariableDeclaration", - "src": "3720:15:1" + "src": "3822:15:0" } ], - "id": 596, + "id": 88, "name": "ParameterList", - "src": "3693:43:1" + "src": "3795:43:0" }, { "attributes": { @@ -38357,14 +38357,14 @@ ] }, "children": [], - "id": 597, + "id": 89, "name": "ParameterList", - "src": "3745:0:1" + "src": "3847:0:0" } ], - "id": 598, + "id": 90, "name": "FunctionDefinition", - "src": "3668:78:1" + "src": "3770:78:0" }, { "attributes": { @@ -38376,7 +38376,7 @@ null ], "name": "transferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38386,9 +38386,9 @@ "attributes": { "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, - "id": 599, + "id": 91, "name": "StructuredDocumentation", - "src": "3752:504:1" + "src": "3856:517:0" }, { "children": [ @@ -38397,7 +38397,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38410,21 +38410,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 600, + "id": 92, "name": "ElementaryTypeName", - "src": "4283:7:1" + "src": "4401:7:0" } ], - "id": 601, + "id": 93, "name": "VariableDeclaration", - "src": "4283:12:1" + "src": "4401:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38437,21 +38437,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 602, + "id": 94, "name": "ElementaryTypeName", - "src": "4297:7:1" + "src": "4415:7:0" } ], - "id": 603, + "id": 95, "name": "VariableDeclaration", - "src": "4297:10:1" + "src": "4415:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38463,19 +38463,19 @@ "name": "uint256", "type": "uint256" }, - "id": 604, + "id": 96, "name": "ElementaryTypeName", - "src": "4309:7:1" + "src": "4427:7:0" } ], - "id": 605, + "id": 97, "name": "VariableDeclaration", - "src": "4309:15:1" + "src": "4427:15:0" } ], - "id": 606, + "id": 98, "name": "ParameterList", - "src": "4282:43:1" + "src": "4400:43:0" }, { "attributes": { @@ -38484,14 +38484,14 @@ ] }, "children": [], - "id": 607, + "id": 99, "name": "ParameterList", - "src": "4334:0:1" + "src": "4452:0:0" } ], - "id": 608, + "id": 100, "name": "FunctionDefinition", - "src": "4261:74:1" + "src": "4379:74:0" }, { "attributes": { @@ -38503,7 +38503,7 @@ null ], "name": "approve", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38513,9 +38513,9 @@ "attributes": { "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, - "id": 609, + "id": 101, "name": "StructuredDocumentation", - "src": "4341:452:1" + "src": "4461:464:0" }, { "children": [ @@ -38524,7 +38524,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38537,21 +38537,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 610, + "id": 102, "name": "ElementaryTypeName", - "src": "4815:7:1" + "src": "4948:7:0" } ], - "id": 611, + "id": 103, "name": "VariableDeclaration", - "src": "4815:10:1" + "src": "4948:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38563,19 +38563,19 @@ "name": "uint256", "type": "uint256" }, - "id": 612, + "id": 104, "name": "ElementaryTypeName", - "src": "4827:7:1" + "src": "4960:7:0" } ], - "id": 613, + "id": 105, "name": "VariableDeclaration", - "src": "4827:15:1" + "src": "4960:15:0" } ], - "id": 614, + "id": 106, "name": "ParameterList", - "src": "4814:29:1" + "src": "4947:29:0" }, { "attributes": { @@ -38584,14 +38584,14 @@ ] }, "children": [], - "id": 615, + "id": 107, "name": "ParameterList", - "src": "4852:0:1" + "src": "4985:0:0" } ], - "id": 616, + "id": 108, "name": "FunctionDefinition", - "src": "4798:55:1" + "src": "4931:55:0" }, { "attributes": { @@ -38603,7 +38603,7 @@ null ], "name": "getApproved", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38613,9 +38613,9 @@ "attributes": { "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 617, + "id": 109, "name": "StructuredDocumentation", - "src": "4859:139:1" + "src": "4994:145:0" }, { "children": [ @@ -38624,7 +38624,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38636,19 +38636,19 @@ "name": "uint256", "type": "uint256" }, - "id": 618, + "id": 110, "name": "ElementaryTypeName", - "src": "5024:7:1" + "src": "5166:7:0" } ], - "id": 619, + "id": 111, "name": "VariableDeclaration", - "src": "5024:15:1" + "src": "5166:15:0" } ], - "id": 620, + "id": 112, "name": "ParameterList", - "src": "5023:17:1" + "src": "5165:17:0" }, { "children": [ @@ -38657,7 +38657,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38670,24 +38670,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 621, + "id": 113, "name": "ElementaryTypeName", - "src": "5064:7:1" + "src": "5206:7:0" } ], - "id": 622, + "id": 114, "name": "VariableDeclaration", - "src": "5064:16:1" + "src": "5206:16:0" } ], - "id": 623, + "id": 115, "name": "ParameterList", - "src": "5063:18:1" + "src": "5205:18:0" } ], - "id": 624, + "id": 116, "name": "FunctionDefinition", - "src": "5003:79:1" + "src": "5145:79:0" }, { "attributes": { @@ -38699,7 +38699,7 @@ null ], "name": "setApprovalForAll", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38709,9 +38709,9 @@ "attributes": { "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, - "id": 625, + "id": 117, "name": "StructuredDocumentation", - "src": "5088:309:1" + "src": "5232:318:0" }, { "children": [ @@ -38720,7 +38720,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38733,21 +38733,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 626, + "id": 118, "name": "ElementaryTypeName", - "src": "5429:7:1" + "src": "5583:7:0" } ], - "id": 627, + "id": 119, "name": "VariableDeclaration", - "src": "5429:16:1" + "src": "5583:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_approved", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38759,19 +38759,19 @@ "name": "bool", "type": "bool" }, - "id": 628, + "id": 120, "name": "ElementaryTypeName", - "src": "5447:4:1" + "src": "5601:4:0" } ], - "id": 629, + "id": 121, "name": "VariableDeclaration", - "src": "5447:14:1" + "src": "5601:14:0" } ], - "id": 630, + "id": 122, "name": "ParameterList", - "src": "5428:34:1" + "src": "5582:34:0" }, { "attributes": { @@ -38780,14 +38780,14 @@ ] }, "children": [], - "id": 631, + "id": 123, "name": "ParameterList", - "src": "5471:0:1" + "src": "5625:0:0" } ], - "id": 632, + "id": 124, "name": "FunctionDefinition", - "src": "5402:70:1" + "src": "5556:70:0" }, { "attributes": { @@ -38799,7 +38799,7 @@ null ], "name": "isApprovedForAll", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38809,9 +38809,9 @@ "attributes": { "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, - "id": 633, + "id": 125, "name": "StructuredDocumentation", - "src": "5478:138:1" + "src": "5634:142:0" }, { "children": [ @@ -38820,7 +38820,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38833,21 +38833,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 634, + "id": 126, "name": "ElementaryTypeName", - "src": "5647:7:1" + "src": "5808:7:0" } ], - "id": 635, + "id": 127, "name": "VariableDeclaration", - "src": "5647:13:1" + "src": "5808:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38860,19 +38860,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 636, + "id": 128, "name": "ElementaryTypeName", - "src": "5662:7:1" + "src": "5823:7:0" } ], - "id": 637, + "id": 129, "name": "VariableDeclaration", - "src": "5662:16:1" + "src": "5823:16:0" } ], - "id": 638, + "id": 130, "name": "ParameterList", - "src": "5646:33:1" + "src": "5807:33:0" }, { "children": [ @@ -38881,7 +38881,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38893,24 +38893,24 @@ "name": "bool", "type": "bool" }, - "id": 639, + "id": 131, "name": "ElementaryTypeName", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 640, + "id": 132, "name": "VariableDeclaration", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 641, + "id": 133, "name": "ParameterList", - "src": "5702:6:1" + "src": "5863:6:0" } ], - "id": 642, + "id": 134, "name": "FunctionDefinition", - "src": "5621:88:1" + "src": "5782:88:0" }, { "attributes": { @@ -38922,7 +38922,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38932,9 +38932,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 643, + "id": 135, "name": "StructuredDocumentation", - "src": "5715:568:1" + "src": "5878:580:0" }, { "children": [ @@ -38943,7 +38943,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38956,21 +38956,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 644, + "id": 136, "name": "ElementaryTypeName", - "src": "6314:7:1" + "src": "6490:7:0" } ], - "id": 645, + "id": 137, "name": "VariableDeclaration", - "src": "6314:12:1" + "src": "6490:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38983,21 +38983,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 646, + "id": 138, "name": "ElementaryTypeName", - "src": "6328:7:1" + "src": "6504:7:0" } ], - "id": 647, + "id": 139, "name": "VariableDeclaration", - "src": "6328:10:1" + "src": "6504:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39009,21 +39009,21 @@ "name": "uint256", "type": "uint256" }, - "id": 648, + "id": 140, "name": "ElementaryTypeName", - "src": "6340:7:1" + "src": "6516:7:0" } ], - "id": 649, + "id": 141, "name": "VariableDeclaration", - "src": "6340:15:1" + "src": "6516:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39035,19 +39035,19 @@ "name": "bytes", "type": "bytes" }, - "id": 650, + "id": 142, "name": "ElementaryTypeName", - "src": "6357:5:1" + "src": "6533:5:0" } ], - "id": 651, + "id": 143, "name": "VariableDeclaration", - "src": "6357:19:1" + "src": "6533:19:0" } ], - "id": 652, + "id": 144, "name": "ParameterList", - "src": "6313:64:1" + "src": "6489:64:0" }, { "attributes": { @@ -39056,19 +39056,19 @@ ] }, "children": [], - "id": 653, + "id": 145, "name": "ParameterList", - "src": "6386:0:1" + "src": "6562:0:0" } ], - "id": 654, + "id": 146, "name": "FunctionDefinition", - "src": "6288:99:1" + "src": "6464:99:0" } ], - "id": 655, + "id": 147, "name": "ContractDefinition", - "src": "1975:4414:1" + "src": "2033:4533:0" }, { "attributes": { @@ -39082,35 +39082,35 @@ ".0" ] }, - "id": 656, + "id": 148, "name": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 657, + "id": 149, "name": "StructuredDocumentation", - "src": "6491:133:1" + "src": "6674:136:0" }, { "attributes": {}, @@ -39118,17 +39118,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 658, + "id": 150, "name": "UserDefinedTypeName", - "src": "6654:7:1" + "src": "6841:7:0" } ], - "id": 659, + "id": 151, "name": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" }, { "attributes": { @@ -39140,7 +39140,7 @@ null ], "name": "name", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39150,9 +39150,9 @@ "attributes": { "text": " @dev Returns the token collection name." }, - "id": 660, + "id": 152, "name": "StructuredDocumentation", - "src": "6669:58:1" + "src": "6858:60:0" }, { "attributes": { @@ -39161,9 +39161,9 @@ ] }, "children": [], - "id": 661, + "id": 153, "name": "ParameterList", - "src": "6745:2:1" + "src": "6937:2:0" }, { "children": [ @@ -39172,7 +39172,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 665, + "scope": 157, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39184,24 +39184,24 @@ "name": "string", "type": "string" }, - "id": 662, + "id": 154, "name": "ElementaryTypeName", - "src": "6771:6:1" + "src": "6963:6:0" } ], - "id": 663, + "id": 155, "name": "VariableDeclaration", - "src": "6771:13:1" + "src": "6963:13:0" } ], - "id": 664, + "id": 156, "name": "ParameterList", - "src": "6770:15:1" + "src": "6962:15:0" } ], - "id": 665, + "id": 157, "name": "FunctionDefinition", - "src": "6732:54:1" + "src": "6924:54:0" }, { "attributes": { @@ -39213,7 +39213,7 @@ null ], "name": "symbol", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39223,9 +39223,9 @@ "attributes": { "text": " @dev Returns the token collection symbol." }, - "id": 666, + "id": 158, "name": "StructuredDocumentation", - "src": "6792:60:1" + "src": "6986:62:0" }, { "attributes": { @@ -39234,9 +39234,9 @@ ] }, "children": [], - "id": 667, + "id": 159, "name": "ParameterList", - "src": "6872:2:1" + "src": "7069:2:0" }, { "children": [ @@ -39245,7 +39245,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 671, + "scope": 163, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39257,24 +39257,24 @@ "name": "string", "type": "string" }, - "id": 668, + "id": 160, "name": "ElementaryTypeName", - "src": "6898:6:1" + "src": "7095:6:0" } ], - "id": 669, + "id": 161, "name": "VariableDeclaration", - "src": "6898:13:1" + "src": "7095:13:0" } ], - "id": 670, + "id": 162, "name": "ParameterList", - "src": "6897:15:1" + "src": "7094:15:0" } ], - "id": 671, + "id": 163, "name": "FunctionDefinition", - "src": "6857:56:1" + "src": "7054:56:0" }, { "attributes": { @@ -39286,7 +39286,7 @@ null ], "name": "tokenURI", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39296,9 +39296,9 @@ "attributes": { "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, - "id": 672, + "id": 164, "name": "StructuredDocumentation", - "src": "6919:90:1" + "src": "7118:92:0" }, { "children": [ @@ -39307,7 +39307,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39319,19 +39319,19 @@ "name": "uint256", "type": "uint256" }, - "id": 673, + "id": 165, "name": "ElementaryTypeName", - "src": "7032:7:1" + "src": "7234:7:0" } ], - "id": 674, + "id": 166, "name": "VariableDeclaration", - "src": "7032:15:1" + "src": "7234:15:0" } ], - "id": 675, + "id": 167, "name": "ParameterList", - "src": "7031:17:1" + "src": "7233:17:0" }, { "children": [ @@ -39340,7 +39340,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39352,29 +39352,29 @@ "name": "string", "type": "string" }, - "id": 676, + "id": 168, "name": "ElementaryTypeName", - "src": "7072:6:1" + "src": "7274:6:0" } ], - "id": 677, + "id": 169, "name": "VariableDeclaration", - "src": "7072:13:1" + "src": "7274:13:0" } ], - "id": 678, + "id": 170, "name": "ParameterList", - "src": "7071:15:1" + "src": "7273:15:0" } ], - "id": 679, + "id": 171, "name": "FunctionDefinition", - "src": "7014:73:1" + "src": "7216:73:0" } ], - "id": 680, + "id": 172, "name": "ContractDefinition", - "src": "6625:464:1" + "src": "6812:480:0" }, { "attributes": { @@ -39388,35 +39388,35 @@ ".0" ] }, - "id": 681, + "id": 173, "name": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 682, + "id": 174, "name": "StructuredDocumentation", - "src": "7195:136:1" + "src": "7406:139:0" }, { "attributes": {}, @@ -39424,17 +39424,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 683, + "id": 175, "name": "UserDefinedTypeName", - "src": "7363:7:1" + "src": "7578:7:0" } ], - "id": 684, + "id": 176, "name": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" }, { "attributes": { @@ -39446,7 +39446,7 @@ null ], "name": "totalSupply", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39456,9 +39456,9 @@ "attributes": { "text": " @dev Returns the total amount of tokens stored by the contract." }, - "id": 685, + "id": 177, "name": "StructuredDocumentation", - "src": "7378:82:1" + "src": "7595:84:0" }, { "attributes": { @@ -39467,9 +39467,9 @@ ] }, "children": [], - "id": 686, + "id": 178, "name": "ParameterList", - "src": "7485:2:1" + "src": "7705:2:0" }, { "children": [ @@ -39478,7 +39478,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 690, + "scope": 182, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39490,24 +39490,24 @@ "name": "uint256", "type": "uint256" }, - "id": 687, + "id": 179, "name": "ElementaryTypeName", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 688, + "id": 180, "name": "VariableDeclaration", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 689, + "id": 181, "name": "ParameterList", - "src": "7510:9:1" + "src": "7730:9:0" } ], - "id": 690, + "id": 182, "name": "FunctionDefinition", - "src": "7465:55:1" + "src": "7685:55:0" }, { "attributes": { @@ -39519,7 +39519,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39529,9 +39529,9 @@ "attributes": { "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, - "id": 691, + "id": 183, "name": "StructuredDocumentation", - "src": "7526:171:1" + "src": "7748:174:0" }, { "children": [ @@ -39540,7 +39540,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39553,21 +39553,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 692, + "id": 184, "name": "ElementaryTypeName", - "src": "7731:7:1" + "src": "7957:7:0" } ], - "id": 693, + "id": 185, "name": "VariableDeclaration", - "src": "7731:13:1" + "src": "7957:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39579,19 +39579,19 @@ "name": "uint256", "type": "uint256" }, - "id": 694, + "id": 186, "name": "ElementaryTypeName", - "src": "7746:7:1" + "src": "7972:7:0" } ], - "id": 695, + "id": 187, "name": "VariableDeclaration", - "src": "7746:13:1" + "src": "7972:13:0" } ], - "id": 696, + "id": 188, "name": "ParameterList", - "src": "7730:30:1" + "src": "7956:30:0" }, { "children": [ @@ -39600,7 +39600,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39612,24 +39612,24 @@ "name": "uint256", "type": "uint256" }, - "id": 697, + "id": 189, "name": "ElementaryTypeName", - "src": "7784:7:1" + "src": "8010:7:0" } ], - "id": 698, + "id": 190, "name": "VariableDeclaration", - "src": "7784:15:1" + "src": "8010:15:0" } ], - "id": 699, + "id": 191, "name": "ParameterList", - "src": "7783:17:1" + "src": "8009:17:0" } ], - "id": 700, + "id": 192, "name": "FunctionDefinition", - "src": "7702:99:1" + "src": "7928:99:0" }, { "attributes": { @@ -39641,7 +39641,7 @@ null ], "name": "tokenByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39651,9 +39651,9 @@ "attributes": { "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, - "id": 701, + "id": 193, "name": "StructuredDocumentation", - "src": "7807:164:1" + "src": "8035:167:0" }, { "children": [ @@ -39662,7 +39662,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39674,19 +39674,19 @@ "name": "uint256", "type": "uint256" }, - "id": 702, + "id": 194, "name": "ElementaryTypeName", - "src": "7998:7:1" + "src": "8230:7:0" } ], - "id": 703, + "id": 195, "name": "VariableDeclaration", - "src": "7998:13:1" + "src": "8230:13:0" } ], - "id": 704, + "id": 196, "name": "ParameterList", - "src": "7997:15:1" + "src": "8229:15:0" }, { "children": [ @@ -39695,7 +39695,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39707,29 +39707,29 @@ "name": "uint256", "type": "uint256" }, - "id": 705, + "id": 197, "name": "ElementaryTypeName", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 706, + "id": 198, "name": "VariableDeclaration", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 707, + "id": 199, "name": "ParameterList", - "src": "8035:9:1" + "src": "8267:9:0" } ], - "id": 708, + "id": 200, "name": "FunctionDefinition", - "src": "7976:69:1" + "src": "8208:69:0" } ], - "id": 709, + "id": 201, "name": "ContractDefinition", - "src": "7332:715:1" + "src": "7547:733:0" }, { "attributes": { @@ -39743,9 +39743,9 @@ ".0" ] }, - "id": 710, + "id": 202, "name": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "attributes": { @@ -39759,19 +39759,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, - "id": 711, + "id": 203, "name": "StructuredDocumentation", - "src": "8150:152:1" + "src": "8390:156:0" }, { "attributes": { @@ -39783,7 +39783,7 @@ null ], "name": "onERC721Received", - "scope": 726, + "scope": 218, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -39793,9 +39793,9 @@ "attributes": { "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, - "id": 712, + "id": 204, "name": "StructuredDocumentation", - "src": "8335:485:1" + "src": "8581:493:0" }, { "children": [ @@ -39804,7 +39804,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39817,21 +39817,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 713, + "id": 205, "name": "ElementaryTypeName", - "src": "8851:7:1" + "src": "9106:7:0" } ], - "id": 714, + "id": 206, "name": "VariableDeclaration", - "src": "8851:16:1" + "src": "9106:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "from", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39844,21 +39844,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 715, + "id": 207, "name": "ElementaryTypeName", - "src": "8869:7:1" + "src": "9124:7:0" } ], - "id": 716, + "id": 208, "name": "VariableDeclaration", - "src": "8869:12:1" + "src": "9124:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39870,21 +39870,21 @@ "name": "uint256", "type": "uint256" }, - "id": 717, + "id": 209, "name": "ElementaryTypeName", - "src": "8883:7:1" + "src": "9138:7:0" } ], - "id": 718, + "id": 210, "name": "VariableDeclaration", - "src": "8883:15:1" + "src": "9138:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39896,19 +39896,19 @@ "name": "bytes", "type": "bytes" }, - "id": 719, + "id": 211, "name": "ElementaryTypeName", - "src": "8900:5:1" + "src": "9155:5:0" } ], - "id": 720, + "id": 212, "name": "VariableDeclaration", - "src": "8900:19:1" + "src": "9155:19:0" } ], - "id": 721, + "id": 213, "name": "ParameterList", - "src": "8850:70:1" + "src": "9105:70:0" }, { "children": [ @@ -39917,7 +39917,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -39929,29 +39929,29 @@ "name": "bytes4", "type": "bytes4" }, - "id": 722, + "id": 214, "name": "ElementaryTypeName", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 723, + "id": 215, "name": "VariableDeclaration", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 724, + "id": 216, "name": "ParameterList", - "src": "8938:8:1" + "src": "9193:8:0" } ], - "id": 725, + "id": 217, "name": "FunctionDefinition", - "src": "8825:122:1" + "src": "9080:122:0" } ], - "id": 726, + "id": 218, "name": "ContractDefinition", - "src": "8303:646:1" + "src": "8548:657:0" }, { "attributes": { @@ -39965,33 +39965,33 @@ ".0" ] }, - "id": 727, + "id": 219, "name": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "attributes": { "abstract": true, "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, - "id": 728, + "id": 220, "name": "StructuredDocumentation", - "src": "9043:171:1" + "src": "9305:176:0" }, { "attributes": {}, @@ -39999,24 +39999,24 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 729, + "id": 221, "name": "UserDefinedTypeName", - "src": "9243:7:1" + "src": "9511:7:0" } ], - "id": 730, + "id": 222, "name": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -40028,9 +40028,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 731, + "id": 223, "name": "ElementaryTypeName", - "src": "9340:6:1" + "src": "9612:6:0" }, { "attributes": { @@ -40043,21 +40043,21 @@ "type": "int_const 33540519", "value": "0x01ffc9a7" }, - "id": 732, + "id": 224, "name": "Literal", - "src": "9387:10:1" + "src": "9659:10:0" } ], - "id": 733, + "id": 225, "name": "VariableDeclaration", - "src": "9340:57:1" + "src": "9612:57:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_supportedInterfaces", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "mapping(bytes4 => bool)", @@ -40074,36 +40074,36 @@ "name": "bytes4", "type": "bytes4" }, - "id": 735, + "id": 227, "name": "ElementaryTypeName", - "src": "9499:6:1" + "src": "9776:6:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 736, + "id": 228, "name": "ElementaryTypeName", - "src": "9509:4:1" + "src": "9786:4:0" } ], - "id": 737, + "id": 229, "name": "Mapping", - "src": "9491:23:1" + "src": "9768:23:0" }, { "attributes": { "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 734, + "id": 226, "name": "StructuredDocumentation", - "src": "9404:82:1" + "src": "9678:84:0" } ], - "id": 738, + "id": 230, "name": "VariableDeclaration", - "src": "9491:52:1" + "src": "9768:52:0" }, { "attributes": { @@ -40114,7 +40114,7 @@ null ], "name": "", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -40127,9 +40127,9 @@ ] }, "children": [], - "id": 739, + "id": 231, "name": "ParameterList", - "src": "9562:2:1" + "src": "9841:2:0" }, { "attributes": { @@ -40138,9 +40138,9 @@ ] }, "children": [], - "id": 740, + "id": 232, "name": "ParameterList", - "src": "9565:0:1" + "src": "9844:0:0" }, { "children": [ @@ -40172,51 +40172,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 741, + "id": 233, "name": "Identifier", - "src": "9711:18:1" + "src": "9993:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 733, + "referencedDeclaration": 225, "type": "bytes4", "value": "_INTERFACE_ID_ERC165" }, - "id": 742, + "id": 234, "name": "Identifier", - "src": "9730:20:1" + "src": "10012:20:0" } ], - "id": 743, + "id": 235, "name": "FunctionCall", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 744, + "id": 236, "name": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 745, + "id": 237, "name": "Block", - "src": "9565:193:1" + "src": "9844:197:0" } ], - "id": 746, + "id": 238, "name": "FunctionDefinition", - "src": "9550:208:1" + "src": "9829:212:0" }, { "attributes": { "baseFunctions": [ - 540 + 32 ], "functionSelector": "01ffc9a7", "implemented": true, @@ -40226,7 +40226,7 @@ null ], "name": "supportsInterface", - "scope": 781, + "scope": 273, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -40236,9 +40236,9 @@ "attributes": { "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, - "id": 747, + "id": 239, "name": "StructuredDocumentation", - "src": "9764:139:1" + "src": "10049:143:0" }, { "attributes": { @@ -40246,9 +40246,9 @@ null ] }, - "id": 751, + "id": 243, "name": "OverrideSpecifier", - "src": "9975:8:1" + "src": "10265:8:0" }, { "children": [ @@ -40257,7 +40257,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40269,19 +40269,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 748, + "id": 240, "name": "ElementaryTypeName", - "src": "9935:6:1" + "src": "10225:6:0" } ], - "id": 749, + "id": 241, "name": "VariableDeclaration", - "src": "9935:18:1" + "src": "10225:18:0" } ], - "id": 750, + "id": 242, "name": "ParameterList", - "src": "9934:20:1" + "src": "10224:20:0" }, { "children": [ @@ -40290,7 +40290,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40302,25 +40302,25 @@ "name": "bool", "type": "bool" }, - "id": 752, + "id": 244, "name": "ElementaryTypeName", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 753, + "id": 245, "name": "VariableDeclaration", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 754, + "id": 246, "name": "ParameterList", - "src": "9992:6:1" + "src": "10282:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 754 + "functionReturnParameters": 246 }, "children": [ { @@ -40337,46 +40337,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 755, + "id": 247, "name": "Identifier", - "src": "10016:20:1" + "src": "10307:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 749, + "referencedDeclaration": 241, "type": "bytes4", "value": "interfaceId" }, - "id": 756, + "id": 248, "name": "Identifier", - "src": "10037:11:1" + "src": "10328:11:0" } ], - "id": 757, + "id": 249, "name": "IndexAccess", - "src": "10016:33:1" + "src": "10307:33:0" } ], - "id": 758, + "id": 250, "name": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ], - "id": 759, + "id": 251, "name": "Block", - "src": "9999:57:1" + "src": "10289:59:0" } ], - "id": 760, + "id": 252, "name": "FunctionDefinition", - "src": "9908:148:1" + "src": "10198:150:0" }, { "attributes": { @@ -40387,7 +40387,7 @@ null ], "name": "_registerInterface", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -40397,9 +40397,9 @@ "attributes": { "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 761, + "id": 253, "name": "StructuredDocumentation", - "src": "10062:383:1" + "src": "10356:393:0" }, { "children": [ @@ -40408,7 +40408,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 780, + "scope": 272, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40420,19 +40420,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 762, + "id": 254, "name": "ElementaryTypeName", - "src": "10478:6:1" + "src": "10783:6:0" } ], - "id": 763, + "id": 255, "name": "VariableDeclaration", - "src": "10478:18:1" + "src": "10783:18:0" } ], - "id": 764, + "id": 256, "name": "ParameterList", - "src": "10477:20:1" + "src": "10782:20:0" }, { "attributes": { @@ -40441,9 +40441,9 @@ ] }, "children": [], - "id": 765, + "id": 257, "name": "ParameterList", - "src": "10515:0:1" + "src": "10820:0:0" }, { "children": [ @@ -40484,9 +40484,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 766, + "id": 258, "name": "Identifier", - "src": "10525:7:1" + "src": "10831:7:0" }, { "attributes": { @@ -40507,13 +40507,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 767, + "id": 259, "name": "Identifier", - "src": "10533:11:1" + "src": "10839:11:0" }, { "attributes": { @@ -40526,14 +40526,14 @@ "type": "int_const 4294967295", "value": "0xffffffff" }, - "id": 768, + "id": 260, "name": "Literal", - "src": "10548:10:1" + "src": "10854:10:0" } ], - "id": 769, + "id": 261, "name": "BinaryOperation", - "src": "10533:25:1" + "src": "10839:25:0" }, { "attributes": { @@ -40546,19 +40546,19 @@ "type": "literal_string \"ERC165: invalid interface id\"", "value": "ERC165: invalid interface id" }, - "id": 770, + "id": 262, "name": "Literal", - "src": "10560:30:1" + "src": "10866:30:0" } ], - "id": 771, + "id": 263, "name": "FunctionCall", - "src": "10525:66:1" + "src": "10831:66:0" } ], - "id": 772, + "id": 264, "name": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "children": [ @@ -40586,31 +40586,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 773, + "id": 265, "name": "Identifier", - "src": "10601:20:1" + "src": "10908:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 774, + "id": 266, "name": "Identifier", - "src": "10622:11:1" + "src": "10929:11:0" } ], - "id": 775, + "id": 267, "name": "IndexAccess", - "src": "10601:33:1" + "src": "10908:33:0" }, { "attributes": { @@ -40623,34 +40623,34 @@ "type": "bool", "value": "true" }, - "id": 776, + "id": 268, "name": "Literal", - "src": "10637:4:1" + "src": "10944:4:0" } ], - "id": 777, + "id": 269, "name": "Assignment", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 778, + "id": 270, "name": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 779, + "id": 271, "name": "Block", - "src": "10515:133:1" + "src": "10820:136:0" } ], - "id": 780, + "id": 272, "name": "FunctionDefinition", - "src": "10450:198:1" + "src": "10755:201:0" } ], - "id": 781, + "id": 273, "name": "ContractDefinition", - "src": "9215:1435:1" + "src": "9483:1476:0" }, { "attributes": { @@ -40664,9 +40664,9 @@ ".0" ] }, - "id": 782, + "id": 274, "name": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "attributes": { @@ -40680,19 +40680,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, - "id": 783, + "id": 275, "name": "StructuredDocumentation", - "src": "10736:563:1" + "src": "11050:575:0" }, { "attributes": { @@ -40703,7 +40703,7 @@ null ], "name": "tryAdd", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -40713,9 +40713,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 784, + "id": 276, "name": "StructuredDocumentation", - "src": "11323:131:1" + "src": "11651:135:0" }, { "children": [ @@ -40724,7 +40724,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40736,21 +40736,21 @@ "name": "uint256", "type": "uint256" }, - "id": 785, + "id": 277, "name": "ElementaryTypeName", - "src": "11475:7:1" + "src": "11808:7:0" } ], - "id": 786, + "id": 278, "name": "VariableDeclaration", - "src": "11475:9:1" + "src": "11808:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40762,19 +40762,19 @@ "name": "uint256", "type": "uint256" }, - "id": 787, + "id": 279, "name": "ElementaryTypeName", - "src": "11486:7:1" + "src": "11819:7:0" } ], - "id": 788, + "id": 280, "name": "VariableDeclaration", - "src": "11486:9:1" + "src": "11819:9:0" } ], - "id": 789, + "id": 281, "name": "ParameterList", - "src": "11474:22:1" + "src": "11807:22:0" }, { "children": [ @@ -40783,7 +40783,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40795,21 +40795,21 @@ "name": "bool", "type": "bool" }, - "id": 790, + "id": 282, "name": "ElementaryTypeName", - "src": "11520:4:1" + "src": "11853:4:0" } ], - "id": 791, + "id": 283, "name": "VariableDeclaration", - "src": "11520:4:1" + "src": "11853:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40821,26 +40821,26 @@ "name": "uint256", "type": "uint256" }, - "id": 792, + "id": 284, "name": "ElementaryTypeName", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 793, + "id": 285, "name": "VariableDeclaration", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 794, + "id": 286, "name": "ParameterList", - "src": "11519:15:1" + "src": "11852:15:0" }, { "children": [ { "attributes": { "assignments": [ - 796 + 288 ] }, "children": [ @@ -40849,7 +40849,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 813, + "scope": 305, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40861,14 +40861,14 @@ "name": "uint256", "type": "uint256" }, - "id": 795, + "id": 287, "name": "ElementaryTypeName", - "src": "11545:7:1" + "src": "11879:7:0" } ], - "id": 796, + "id": 288, "name": "VariableDeclaration", - "src": "11545:9:1" + "src": "11879:9:0" }, { "attributes": { @@ -40889,36 +40889,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 797, + "id": 289, "name": "Identifier", - "src": "11557:1:1" + "src": "11891:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 280, "type": "uint256", "value": "b" }, - "id": 798, + "id": 290, "name": "Identifier", - "src": "11561:1:1" + "src": "11895:1:0" } ], - "id": 799, + "id": 291, "name": "BinaryOperation", - "src": "11557:5:1" + "src": "11891:5:0" } ], - "id": 800, + "id": 292, "name": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "attributes": {}, @@ -40942,35 +40942,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 801, + "id": 293, "name": "Identifier", - "src": "11576:1:1" + "src": "11911:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 802, + "id": 294, "name": "Identifier", - "src": "11580:1:1" + "src": "11915:1:0" } ], - "id": 803, + "id": 295, "name": "BinaryOperation", - "src": "11576:5:1" + "src": "11911:5:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -40994,9 +40994,9 @@ "type": "bool", "value": "false" }, - "id": 804, + "id": 296, "name": "Literal", - "src": "11591:5:1" + "src": "11926:5:0" }, { "attributes": { @@ -41009,28 +41009,28 @@ "type": "int_const 0", "value": "0" }, - "id": 805, + "id": 297, "name": "Literal", - "src": "11598:1:1" + "src": "11933:1:0" } ], - "id": 806, + "id": 298, "name": "TupleExpression", - "src": "11590:10:1" + "src": "11925:10:0" } ], - "id": 807, + "id": 299, "name": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } ], - "id": 808, + "id": 300, "name": "IfStatement", - "src": "11572:28:1" + "src": "11907:28:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -41054,42 +41054,42 @@ "type": "bool", "value": "true" }, - "id": 809, + "id": 301, "name": "Literal", - "src": "11618:4:1" + "src": "11954:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 810, + "id": 302, "name": "Identifier", - "src": "11624:1:1" + "src": "11960:1:0" } ], - "id": 811, + "id": 303, "name": "TupleExpression", - "src": "11617:9:1" + "src": "11953:9:0" } ], - "id": 812, + "id": 304, "name": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ], - "id": 813, + "id": 305, "name": "Block", - "src": "11535:98:1" + "src": "11868:102:0" } ], - "id": 814, + "id": 306, "name": "FunctionDefinition", - "src": "11459:174:1" + "src": "11792:178:0" }, { "attributes": { @@ -41100,7 +41100,7 @@ null ], "name": "trySub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41110,9 +41110,9 @@ "attributes": { "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 815, + "id": 307, "name": "StructuredDocumentation", - "src": "11639:135:1" + "src": "11978:139:0" }, { "children": [ @@ -41121,7 +41121,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41133,21 +41133,21 @@ "name": "uint256", "type": "uint256" }, - "id": 816, + "id": 308, "name": "ElementaryTypeName", - "src": "11795:7:1" + "src": "12139:7:0" } ], - "id": 817, + "id": 309, "name": "VariableDeclaration", - "src": "11795:9:1" + "src": "12139:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41159,19 +41159,19 @@ "name": "uint256", "type": "uint256" }, - "id": 818, + "id": 310, "name": "ElementaryTypeName", - "src": "11806:7:1" + "src": "12150:7:0" } ], - "id": 819, + "id": 311, "name": "VariableDeclaration", - "src": "11806:9:1" + "src": "12150:9:0" } ], - "id": 820, + "id": 312, "name": "ParameterList", - "src": "11794:22:1" + "src": "12138:22:0" }, { "children": [ @@ -41180,7 +41180,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41192,21 +41192,21 @@ "name": "bool", "type": "bool" }, - "id": 821, + "id": 313, "name": "ElementaryTypeName", - "src": "11840:4:1" + "src": "12184:4:0" } ], - "id": 822, + "id": 314, "name": "VariableDeclaration", - "src": "11840:4:1" + "src": "12184:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41218,19 +41218,19 @@ "name": "uint256", "type": "uint256" }, - "id": 823, + "id": 315, "name": "ElementaryTypeName", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 824, + "id": 316, "name": "VariableDeclaration", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 825, + "id": 317, "name": "ParameterList", - "src": "11839:15:1" + "src": "12183:15:0" }, { "children": [ @@ -41256,35 +41256,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 826, + "id": 318, "name": "Identifier", - "src": "11869:1:1" + "src": "12214:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 827, + "id": 319, "name": "Identifier", - "src": "11873:1:1" + "src": "12218:1:0" } ], - "id": 828, + "id": 320, "name": "BinaryOperation", - "src": "11869:5:1" + "src": "12214:5:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41308,9 +41308,9 @@ "type": "bool", "value": "false" }, - "id": 829, + "id": 321, "name": "Literal", - "src": "11884:5:1" + "src": "12229:5:0" }, { "attributes": { @@ -41323,28 +41323,28 @@ "type": "int_const 0", "value": "0" }, - "id": 830, + "id": 322, "name": "Literal", - "src": "11891:1:1" + "src": "12236:1:0" } ], - "id": 831, + "id": 323, "name": "TupleExpression", - "src": "11883:10:1" + "src": "12228:10:0" } ], - "id": 832, + "id": 324, "name": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } ], - "id": 833, + "id": 325, "name": "IfStatement", - "src": "11865:28:1" + "src": "12210:28:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41368,9 +41368,9 @@ "type": "bool", "value": "true" }, - "id": 834, + "id": 326, "name": "Literal", - "src": "11911:4:1" + "src": "12257:4:0" }, { "attributes": { @@ -41391,51 +41391,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 835, + "id": 327, "name": "Identifier", - "src": "11917:1:1" + "src": "12263:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 836, + "id": 328, "name": "Identifier", - "src": "11921:1:1" + "src": "12267:1:0" } ], - "id": 837, + "id": 329, "name": "BinaryOperation", - "src": "11917:5:1" + "src": "12263:5:0" } ], - "id": 838, + "id": 330, "name": "TupleExpression", - "src": "11910:13:1" + "src": "12256:13:0" } ], - "id": 839, + "id": 331, "name": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ], - "id": 840, + "id": 332, "name": "Block", - "src": "11855:75:1" + "src": "12199:78:0" } ], - "id": 841, + "id": 333, "name": "FunctionDefinition", - "src": "11779:151:1" + "src": "12123:154:0" }, { "attributes": { @@ -41446,7 +41446,7 @@ null ], "name": "tryMul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41456,9 +41456,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 842, + "id": 334, "name": "StructuredDocumentation", - "src": "11936:137:1" + "src": "12285:141:0" }, { "children": [ @@ -41467,7 +41467,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41479,21 +41479,21 @@ "name": "uint256", "type": "uint256" }, - "id": 843, + "id": 335, "name": "ElementaryTypeName", - "src": "12094:7:1" + "src": "12448:7:0" } ], - "id": 844, + "id": 336, "name": "VariableDeclaration", - "src": "12094:9:1" + "src": "12448:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41505,19 +41505,19 @@ "name": "uint256", "type": "uint256" }, - "id": 845, + "id": 337, "name": "ElementaryTypeName", - "src": "12105:7:1" + "src": "12459:7:0" } ], - "id": 846, + "id": 338, "name": "VariableDeclaration", - "src": "12105:9:1" + "src": "12459:9:0" } ], - "id": 847, + "id": 339, "name": "ParameterList", - "src": "12093:22:1" + "src": "12447:22:0" }, { "children": [ @@ -41526,7 +41526,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41538,21 +41538,21 @@ "name": "bool", "type": "bool" }, - "id": 848, + "id": 340, "name": "ElementaryTypeName", - "src": "12139:4:1" + "src": "12493:4:0" } ], - "id": 849, + "id": 341, "name": "VariableDeclaration", - "src": "12139:4:1" + "src": "12493:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41564,19 +41564,19 @@ "name": "uint256", "type": "uint256" }, - "id": 850, + "id": 342, "name": "ElementaryTypeName", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 851, + "id": 343, "name": "VariableDeclaration", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 852, + "id": 344, "name": "ParameterList", - "src": "12138:15:1" + "src": "12492:15:0" }, { "children": [ @@ -41602,13 +41602,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 853, + "id": 345, "name": "Identifier", - "src": "12386:1:1" + "src": "12744:1:0" }, { "attributes": { @@ -41621,18 +41621,18 @@ "type": "int_const 0", "value": "0" }, - "id": 854, + "id": 346, "name": "Literal", - "src": "12391:1:1" + "src": "12749:1:0" } ], - "id": 855, + "id": 347, "name": "BinaryOperation", - "src": "12386:6:1" + "src": "12744:6:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41656,9 +41656,9 @@ "type": "bool", "value": "true" }, - "id": 856, + "id": 348, "name": "Literal", - "src": "12402:4:1" + "src": "12760:4:0" }, { "attributes": { @@ -41671,29 +41671,29 @@ "type": "int_const 0", "value": "0" }, - "id": 857, + "id": 349, "name": "Literal", - "src": "12408:1:1" + "src": "12766:1:0" } ], - "id": 858, + "id": 350, "name": "TupleExpression", - "src": "12401:9:1" + "src": "12759:9:0" } ], - "id": 859, + "id": 351, "name": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } ], - "id": 860, + "id": 352, "name": "IfStatement", - "src": "12382:28:1" + "src": "12740:28:0" }, { "attributes": { "assignments": [ - 862 + 354 ] }, "children": [ @@ -41702,7 +41702,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 881, + "scope": 373, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41714,14 +41714,14 @@ "name": "uint256", "type": "uint256" }, - "id": 861, + "id": 353, "name": "ElementaryTypeName", - "src": "12420:7:1" + "src": "12779:7:0" } ], - "id": 862, + "id": 354, "name": "VariableDeclaration", - "src": "12420:9:1" + "src": "12779:9:0" }, { "attributes": { @@ -41742,36 +41742,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 863, + "id": 355, "name": "Identifier", - "src": "12432:1:1" + "src": "12791:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 864, + "id": 356, "name": "Identifier", - "src": "12436:1:1" + "src": "12795:1:0" } ], - "id": 865, + "id": 357, "name": "BinaryOperation", - "src": "12432:5:1" + "src": "12791:5:0" } ], - "id": 866, + "id": 358, "name": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "attributes": {}, @@ -41809,53 +41809,53 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 867, + "id": 359, "name": "Identifier", - "src": "12451:1:1" + "src": "12811:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 868, + "id": 360, "name": "Identifier", - "src": "12455:1:1" + "src": "12815:1:0" } ], - "id": 869, + "id": 361, "name": "BinaryOperation", - "src": "12451:5:1" + "src": "12811:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 870, + "id": 362, "name": "Identifier", - "src": "12460:1:1" + "src": "12820:1:0" } ], - "id": 871, + "id": 363, "name": "BinaryOperation", - "src": "12451:10:1" + "src": "12811:10:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41879,9 +41879,9 @@ "type": "bool", "value": "false" }, - "id": 872, + "id": 364, "name": "Literal", - "src": "12471:5:1" + "src": "12831:5:0" }, { "attributes": { @@ -41894,28 +41894,28 @@ "type": "int_const 0", "value": "0" }, - "id": 873, + "id": 365, "name": "Literal", - "src": "12478:1:1" + "src": "12838:1:0" } ], - "id": 874, + "id": 366, "name": "TupleExpression", - "src": "12470:10:1" + "src": "12830:10:0" } ], - "id": 875, + "id": 367, "name": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } ], - "id": 876, + "id": 368, "name": "IfStatement", - "src": "12447:33:1" + "src": "12807:33:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41939,42 +41939,42 @@ "type": "bool", "value": "true" }, - "id": 877, + "id": 369, "name": "Literal", - "src": "12498:4:1" + "src": "12859:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 878, + "id": 370, "name": "Identifier", - "src": "12504:1:1" + "src": "12865:1:0" } ], - "id": 879, + "id": 371, "name": "TupleExpression", - "src": "12497:9:1" + "src": "12858:9:0" } ], - "id": 880, + "id": 372, "name": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ], - "id": 881, + "id": 373, "name": "Block", - "src": "12154:359:1" + "src": "12508:367:0" } ], - "id": 882, + "id": 374, "name": "FunctionDefinition", - "src": "12078:435:1" + "src": "12432:443:0" }, { "attributes": { @@ -41985,7 +41985,7 @@ null ], "name": "tryDiv", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41995,9 +41995,9 @@ "attributes": { "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 883, + "id": 375, "name": "StructuredDocumentation", - "src": "12519:138:1" + "src": "12883:142:0" }, { "children": [ @@ -42006,7 +42006,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42018,21 +42018,21 @@ "name": "uint256", "type": "uint256" }, - "id": 884, + "id": 376, "name": "ElementaryTypeName", - "src": "12678:7:1" + "src": "13047:7:0" } ], - "id": 885, + "id": 377, "name": "VariableDeclaration", - "src": "12678:9:1" + "src": "13047:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42044,19 +42044,19 @@ "name": "uint256", "type": "uint256" }, - "id": 886, + "id": 378, "name": "ElementaryTypeName", - "src": "12689:7:1" + "src": "13058:7:0" } ], - "id": 887, + "id": 379, "name": "VariableDeclaration", - "src": "12689:9:1" + "src": "13058:9:0" } ], - "id": 888, + "id": 380, "name": "ParameterList", - "src": "12677:22:1" + "src": "13046:22:0" }, { "children": [ @@ -42065,7 +42065,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42077,21 +42077,21 @@ "name": "bool", "type": "bool" }, - "id": 889, + "id": 381, "name": "ElementaryTypeName", - "src": "12723:4:1" + "src": "13092:4:0" } ], - "id": 890, + "id": 382, "name": "VariableDeclaration", - "src": "12723:4:1" + "src": "13092:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42103,19 +42103,19 @@ "name": "uint256", "type": "uint256" }, - "id": 891, + "id": 383, "name": "ElementaryTypeName", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 892, + "id": 384, "name": "VariableDeclaration", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 893, + "id": 385, "name": "ParameterList", - "src": "12722:15:1" + "src": "13091:15:0" }, { "children": [ @@ -42141,13 +42141,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 894, + "id": 386, "name": "Identifier", - "src": "12752:1:1" + "src": "13122:1:0" }, { "attributes": { @@ -42160,18 +42160,18 @@ "type": "int_const 0", "value": "0" }, - "id": 895, + "id": 387, "name": "Literal", - "src": "12757:1:1" + "src": "13127:1:0" } ], - "id": 896, + "id": 388, "name": "BinaryOperation", - "src": "12752:6:1" + "src": "13122:6:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42195,9 +42195,9 @@ "type": "bool", "value": "false" }, - "id": 897, + "id": 389, "name": "Literal", - "src": "12768:5:1" + "src": "13138:5:0" }, { "attributes": { @@ -42210,28 +42210,28 @@ "type": "int_const 0", "value": "0" }, - "id": 898, + "id": 390, "name": "Literal", - "src": "12775:1:1" + "src": "13145:1:0" } ], - "id": 899, + "id": 391, "name": "TupleExpression", - "src": "12767:10:1" + "src": "13137:10:0" } ], - "id": 900, + "id": 392, "name": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } ], - "id": 901, + "id": 393, "name": "IfStatement", - "src": "12748:29:1" + "src": "13118:29:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42255,9 +42255,9 @@ "type": "bool", "value": "true" }, - "id": 902, + "id": 394, "name": "Literal", - "src": "12795:4:1" + "src": "13166:4:0" }, { "attributes": { @@ -42278,51 +42278,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 885, + "referencedDeclaration": 377, "type": "uint256", "value": "a" }, - "id": 903, + "id": 395, "name": "Identifier", - "src": "12801:1:1" + "src": "13172:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 904, + "id": 396, "name": "Identifier", - "src": "12805:1:1" + "src": "13176:1:0" } ], - "id": 905, + "id": 397, "name": "BinaryOperation", - "src": "12801:5:1" + "src": "13172:5:0" } ], - "id": 906, + "id": 398, "name": "TupleExpression", - "src": "12794:13:1" + "src": "13165:13:0" } ], - "id": 907, + "id": 399, "name": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ], - "id": 908, + "id": 400, "name": "Block", - "src": "12738:76:1" + "src": "13107:79:0" } ], - "id": 909, + "id": 401, "name": "FunctionDefinition", - "src": "12662:152:1" + "src": "13031:155:0" }, { "attributes": { @@ -42333,7 +42333,7 @@ null ], "name": "tryMod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42343,9 +42343,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 910, + "id": 402, "name": "StructuredDocumentation", - "src": "12820:148:1" + "src": "13194:152:0" }, { "children": [ @@ -42354,7 +42354,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42366,21 +42366,21 @@ "name": "uint256", "type": "uint256" }, - "id": 911, + "id": 403, "name": "ElementaryTypeName", - "src": "12989:7:1" + "src": "13368:7:0" } ], - "id": 912, + "id": 404, "name": "VariableDeclaration", - "src": "12989:9:1" + "src": "13368:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42392,19 +42392,19 @@ "name": "uint256", "type": "uint256" }, - "id": 913, + "id": 405, "name": "ElementaryTypeName", - "src": "13000:7:1" + "src": "13379:7:0" } ], - "id": 914, + "id": 406, "name": "VariableDeclaration", - "src": "13000:9:1" + "src": "13379:9:0" } ], - "id": 915, + "id": 407, "name": "ParameterList", - "src": "12988:22:1" + "src": "13367:22:0" }, { "children": [ @@ -42413,7 +42413,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42425,21 +42425,21 @@ "name": "bool", "type": "bool" }, - "id": 916, + "id": 408, "name": "ElementaryTypeName", - "src": "13034:4:1" + "src": "13413:4:0" } ], - "id": 917, + "id": 409, "name": "VariableDeclaration", - "src": "13034:4:1" + "src": "13413:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42451,19 +42451,19 @@ "name": "uint256", "type": "uint256" }, - "id": 918, + "id": 410, "name": "ElementaryTypeName", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 919, + "id": 411, "name": "VariableDeclaration", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 920, + "id": 412, "name": "ParameterList", - "src": "13033:15:1" + "src": "13412:15:0" }, { "children": [ @@ -42489,13 +42489,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 921, + "id": 413, "name": "Identifier", - "src": "13063:1:1" + "src": "13443:1:0" }, { "attributes": { @@ -42508,18 +42508,18 @@ "type": "int_const 0", "value": "0" }, - "id": 922, + "id": 414, "name": "Literal", - "src": "13068:1:1" + "src": "13448:1:0" } ], - "id": 923, + "id": 415, "name": "BinaryOperation", - "src": "13063:6:1" + "src": "13443:6:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42543,9 +42543,9 @@ "type": "bool", "value": "false" }, - "id": 924, + "id": 416, "name": "Literal", - "src": "13079:5:1" + "src": "13459:5:0" }, { "attributes": { @@ -42558,28 +42558,28 @@ "type": "int_const 0", "value": "0" }, - "id": 925, + "id": 417, "name": "Literal", - "src": "13086:1:1" + "src": "13466:1:0" } ], - "id": 926, + "id": 418, "name": "TupleExpression", - "src": "13078:10:1" + "src": "13458:10:0" } ], - "id": 927, + "id": 419, "name": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } ], - "id": 928, + "id": 420, "name": "IfStatement", - "src": "13059:29:1" + "src": "13439:29:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42603,9 +42603,9 @@ "type": "bool", "value": "true" }, - "id": 929, + "id": 421, "name": "Literal", - "src": "13106:4:1" + "src": "13487:4:0" }, { "attributes": { @@ -42626,51 +42626,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 912, + "referencedDeclaration": 404, "type": "uint256", "value": "a" }, - "id": 930, + "id": 422, "name": "Identifier", - "src": "13112:1:1" + "src": "13493:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 931, + "id": 423, "name": "Identifier", - "src": "13116:1:1" + "src": "13497:1:0" } ], - "id": 932, + "id": 424, "name": "BinaryOperation", - "src": "13112:5:1" + "src": "13493:5:0" } ], - "id": 933, + "id": 425, "name": "TupleExpression", - "src": "13105:13:1" + "src": "13486:13:0" } ], - "id": 934, + "id": 426, "name": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ], - "id": 935, + "id": 427, "name": "Block", - "src": "13049:76:1" + "src": "13428:79:0" } ], - "id": 936, + "id": 428, "name": "FunctionDefinition", - "src": "12973:152:1" + "src": "13352:155:0" }, { "attributes": { @@ -42681,7 +42681,7 @@ null ], "name": "add", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42691,9 +42691,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 937, + "id": 429, "name": "StructuredDocumentation", - "src": "13131:224:1" + "src": "13515:233:0" }, { "children": [ @@ -42702,7 +42702,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42714,21 +42714,21 @@ "name": "uint256", "type": "uint256" }, - "id": 938, + "id": 430, "name": "ElementaryTypeName", - "src": "13373:7:1" + "src": "13767:7:0" } ], - "id": 939, + "id": 431, "name": "VariableDeclaration", - "src": "13373:9:1" + "src": "13767:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42740,19 +42740,19 @@ "name": "uint256", "type": "uint256" }, - "id": 940, + "id": 432, "name": "ElementaryTypeName", - "src": "13384:7:1" + "src": "13778:7:0" } ], - "id": 941, + "id": 433, "name": "VariableDeclaration", - "src": "13384:9:1" + "src": "13778:9:0" } ], - "id": 942, + "id": 434, "name": "ParameterList", - "src": "13372:22:1" + "src": "13766:22:0" }, { "children": [ @@ -42761,7 +42761,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42773,26 +42773,26 @@ "name": "uint256", "type": "uint256" }, - "id": 943, + "id": 435, "name": "ElementaryTypeName", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 944, + "id": 436, "name": "VariableDeclaration", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 945, + "id": 437, "name": "ParameterList", - "src": "13417:9:1" + "src": "13811:9:0" }, { "children": [ { "attributes": { "assignments": [ - 947 + 439 ] }, "children": [ @@ -42801,7 +42801,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 961, + "scope": 453, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42813,14 +42813,14 @@ "name": "uint256", "type": "uint256" }, - "id": 946, + "id": 438, "name": "ElementaryTypeName", - "src": "13437:7:1" + "src": "13832:7:0" } ], - "id": 947, + "id": 439, "name": "VariableDeclaration", - "src": "13437:9:1" + "src": "13832:9:0" }, { "attributes": { @@ -42841,36 +42841,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 948, + "id": 440, "name": "Identifier", - "src": "13449:1:1" + "src": "13844:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 941, + "referencedDeclaration": 433, "type": "uint256", "value": "b" }, - "id": 949, + "id": 441, "name": "Identifier", - "src": "13453:1:1" + "src": "13848:1:0" } ], - "id": 950, + "id": 442, "name": "BinaryOperation", - "src": "13449:5:1" + "src": "13844:5:0" } ], - "id": 951, + "id": 443, "name": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "children": [ @@ -42909,9 +42909,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 952, + "id": 444, "name": "Identifier", - "src": "13464:7:1" + "src": "13860:7:0" }, { "attributes": { @@ -42932,31 +42932,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 953, + "id": 445, "name": "Identifier", - "src": "13472:1:1" + "src": "13868:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 954, + "id": 446, "name": "Identifier", - "src": "13477:1:1" + "src": "13873:1:0" } ], - "id": 955, + "id": 447, "name": "BinaryOperation", - "src": "13472:6:1" + "src": "13868:6:0" }, { "attributes": { @@ -42969,23 +42969,23 @@ "type": "literal_string \"SafeMath: addition overflow\"", "value": "SafeMath: addition overflow" }, - "id": 956, + "id": 448, "name": "Literal", - "src": "13480:29:1" + "src": "13876:29:0" } ], - "id": 957, + "id": 449, "name": "FunctionCall", - "src": "13464:46:1" + "src": "13860:46:0" } ], - "id": 958, + "id": 450, "name": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "attributes": { - "functionReturnParameters": 945 + "functionReturnParameters": 437 }, "children": [ { @@ -42993,28 +42993,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 959, + "id": 451, "name": "Identifier", - "src": "13527:1:1" + "src": "13924:1:0" } ], - "id": 960, + "id": 452, "name": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ], - "id": 961, + "id": 453, "name": "Block", - "src": "13427:108:1" + "src": "13821:112:0" } ], - "id": 962, + "id": 454, "name": "FunctionDefinition", - "src": "13360:175:1" + "src": "13754:179:0" }, { "attributes": { @@ -43025,7 +43025,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43035,9 +43035,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 963, + "id": 455, "name": "StructuredDocumentation", - "src": "13541:260:1" + "src": "13941:269:0" }, { "children": [ @@ -43046,7 +43046,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43058,21 +43058,21 @@ "name": "uint256", "type": "uint256" }, - "id": 964, + "id": 456, "name": "ElementaryTypeName", - "src": "13819:7:1" + "src": "14229:7:0" } ], - "id": 965, + "id": 457, "name": "VariableDeclaration", - "src": "13819:9:1" + "src": "14229:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43084,19 +43084,19 @@ "name": "uint256", "type": "uint256" }, - "id": 966, + "id": 458, "name": "ElementaryTypeName", - "src": "13830:7:1" + "src": "14240:7:0" } ], - "id": 967, + "id": 459, "name": "VariableDeclaration", - "src": "13830:9:1" + "src": "14240:9:0" } ], - "id": 968, + "id": 460, "name": "ParameterList", - "src": "13818:22:1" + "src": "14228:22:0" }, { "children": [ @@ -43105,7 +43105,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43117,19 +43117,19 @@ "name": "uint256", "type": "uint256" }, - "id": 969, + "id": 461, "name": "ElementaryTypeName", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 970, + "id": 462, "name": "VariableDeclaration", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 971, + "id": 463, "name": "ParameterList", - "src": "13863:9:1" + "src": "14273:9:0" }, { "children": [ @@ -43170,9 +43170,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 972, + "id": 464, "name": "Identifier", - "src": "13883:7:1" + "src": "14294:7:0" }, { "attributes": { @@ -43193,31 +43193,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 973, + "id": 465, "name": "Identifier", - "src": "13891:1:1" + "src": "14302:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 974, + "id": 466, "name": "Identifier", - "src": "13896:1:1" + "src": "14307:1:0" } ], - "id": 975, + "id": 467, "name": "BinaryOperation", - "src": "13891:6:1" + "src": "14302:6:0" }, { "attributes": { @@ -43230,23 +43230,23 @@ "type": "literal_string \"SafeMath: subtraction overflow\"", "value": "SafeMath: subtraction overflow" }, - "id": 976, + "id": 468, "name": "Literal", - "src": "13899:32:1" + "src": "14310:32:0" } ], - "id": 977, + "id": 469, "name": "FunctionCall", - "src": "13883:49:1" + "src": "14294:49:0" } ], - "id": 978, + "id": 470, "name": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "attributes": { - "functionReturnParameters": 971 + "functionReturnParameters": 463 }, "children": [ { @@ -43268,46 +43268,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 979, + "id": 471, "name": "Identifier", - "src": "13949:1:1" + "src": "14361:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 980, + "id": 472, "name": "Identifier", - "src": "13953:1:1" + "src": "14365:1:0" } ], - "id": 981, + "id": 473, "name": "BinaryOperation", - "src": "13949:5:1" + "src": "14361:5:0" } ], - "id": 982, + "id": 474, "name": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ], - "id": 983, + "id": 475, "name": "Block", - "src": "13873:88:1" + "src": "14283:91:0" } ], - "id": 984, + "id": 476, "name": "FunctionDefinition", - "src": "13806:155:1" + "src": "14216:158:0" }, { "attributes": { @@ -43318,7 +43318,7 @@ null ], "name": "mul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43328,9 +43328,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 985, + "id": 477, "name": "StructuredDocumentation", - "src": "13967:236:1" + "src": "14382:245:0" }, { "children": [ @@ -43339,7 +43339,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43351,21 +43351,21 @@ "name": "uint256", "type": "uint256" }, - "id": 986, + "id": 478, "name": "ElementaryTypeName", - "src": "14221:7:1" + "src": "14646:7:0" } ], - "id": 987, + "id": 479, "name": "VariableDeclaration", - "src": "14221:9:1" + "src": "14646:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43377,19 +43377,19 @@ "name": "uint256", "type": "uint256" }, - "id": 988, + "id": 480, "name": "ElementaryTypeName", - "src": "14232:7:1" + "src": "14657:7:0" } ], - "id": 989, + "id": 481, "name": "VariableDeclaration", - "src": "14232:9:1" + "src": "14657:9:0" } ], - "id": 990, + "id": 482, "name": "ParameterList", - "src": "14220:22:1" + "src": "14645:22:0" }, { "children": [ @@ -43398,7 +43398,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43410,19 +43410,19 @@ "name": "uint256", "type": "uint256" }, - "id": 991, + "id": 483, "name": "ElementaryTypeName", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 992, + "id": 484, "name": "VariableDeclaration", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 993, + "id": 485, "name": "ParameterList", - "src": "14265:9:1" + "src": "14690:9:0" }, { "children": [ @@ -43448,13 +43448,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 994, + "id": 486, "name": "Identifier", - "src": "14289:1:1" + "src": "14715:1:0" }, { "attributes": { @@ -43467,18 +43467,18 @@ "type": "int_const 0", "value": "0" }, - "id": 995, + "id": 487, "name": "Literal", - "src": "14294:1:1" + "src": "14720:1:0" } ], - "id": 996, + "id": 488, "name": "BinaryOperation", - "src": "14289:6:1" + "src": "14715:6:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43492,24 +43492,24 @@ "type": "int_const 0", "value": "0" }, - "id": 997, + "id": 489, "name": "Literal", - "src": "14304:1:1" + "src": "14730:1:0" } ], - "id": 998, + "id": 490, "name": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } ], - "id": 999, + "id": 491, "name": "IfStatement", - "src": "14285:20:1" + "src": "14711:20:0" }, { "attributes": { "assignments": [ - 1001 + 493 ] }, "children": [ @@ -43518,7 +43518,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 1017, + "scope": 509, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43530,14 +43530,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1000, + "id": 492, "name": "ElementaryTypeName", - "src": "14315:7:1" + "src": "14742:7:0" } ], - "id": 1001, + "id": 493, "name": "VariableDeclaration", - "src": "14315:9:1" + "src": "14742:9:0" }, { "attributes": { @@ -43558,36 +43558,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1002, + "id": 494, "name": "Identifier", - "src": "14327:1:1" + "src": "14754:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1003, + "id": 495, "name": "Identifier", - "src": "14331:1:1" + "src": "14758:1:0" } ], - "id": 1004, + "id": 496, "name": "BinaryOperation", - "src": "14327:5:1" + "src": "14754:5:0" } ], - "id": 1005, + "id": 497, "name": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "children": [ @@ -43626,9 +43626,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1006, + "id": 498, "name": "Identifier", - "src": "14342:7:1" + "src": "14770:7:0" }, { "attributes": { @@ -43663,49 +43663,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1007, + "id": 499, "name": "Identifier", - "src": "14350:1:1" + "src": "14778:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1008, + "id": 500, "name": "Identifier", - "src": "14354:1:1" + "src": "14782:1:0" } ], - "id": 1009, + "id": 501, "name": "BinaryOperation", - "src": "14350:5:1" + "src": "14778:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1010, + "id": 502, "name": "Identifier", - "src": "14359:1:1" + "src": "14787:1:0" } ], - "id": 1011, + "id": 503, "name": "BinaryOperation", - "src": "14350:10:1" + "src": "14778:10:0" }, { "attributes": { @@ -43718,23 +43718,23 @@ "type": "literal_string \"SafeMath: multiplication overflow\"", "value": "SafeMath: multiplication overflow" }, - "id": 1012, + "id": 504, "name": "Literal", - "src": "14362:35:1" + "src": "14790:35:0" } ], - "id": 1013, + "id": 505, "name": "FunctionCall", - "src": "14342:56:1" + "src": "14770:56:0" } ], - "id": 1014, + "id": 506, "name": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43742,28 +43742,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1015, + "id": 507, "name": "Identifier", - "src": "14415:1:1" + "src": "14844:1:0" } ], - "id": 1016, + "id": 508, "name": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ], - "id": 1017, + "id": 509, "name": "Block", - "src": "14275:148:1" + "src": "14700:153:0" } ], - "id": 1018, + "id": 510, "name": "FunctionDefinition", - "src": "14208:215:1" + "src": "14633:220:0" }, { "attributes": { @@ -43774,7 +43774,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43784,9 +43784,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1019, + "id": 511, "name": "StructuredDocumentation", - "src": "14429:453:1" + "src": "14861:464:0" }, { "children": [ @@ -43795,7 +43795,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43807,21 +43807,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1020, + "id": 512, "name": "ElementaryTypeName", - "src": "14900:7:1" + "src": "15344:7:0" } ], - "id": 1021, + "id": 513, "name": "VariableDeclaration", - "src": "14900:9:1" + "src": "15344:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43833,19 +43833,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1022, + "id": 514, "name": "ElementaryTypeName", - "src": "14911:7:1" + "src": "15355:7:0" } ], - "id": 1023, + "id": 515, "name": "VariableDeclaration", - "src": "14911:9:1" + "src": "15355:9:0" } ], - "id": 1024, + "id": 516, "name": "ParameterList", - "src": "14899:22:1" + "src": "15343:22:0" }, { "children": [ @@ -43854,7 +43854,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43866,19 +43866,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1025, + "id": 517, "name": "ElementaryTypeName", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1026, + "id": 518, "name": "VariableDeclaration", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1027, + "id": 519, "name": "ParameterList", - "src": "14944:9:1" + "src": "15388:9:0" }, { "children": [ @@ -43919,9 +43919,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1028, + "id": 520, "name": "Identifier", - "src": "14964:7:1" + "src": "15409:7:0" }, { "attributes": { @@ -43942,13 +43942,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1029, + "id": 521, "name": "Identifier", - "src": "14972:1:1" + "src": "15417:1:0" }, { "attributes": { @@ -43961,14 +43961,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1030, + "id": 522, "name": "Literal", - "src": "14976:1:1" + "src": "15421:1:0" } ], - "id": 1031, + "id": 523, "name": "BinaryOperation", - "src": "14972:5:1" + "src": "15417:5:0" }, { "attributes": { @@ -43981,23 +43981,23 @@ "type": "literal_string \"SafeMath: division by zero\"", "value": "SafeMath: division by zero" }, - "id": 1032, + "id": 524, "name": "Literal", - "src": "14979:28:1" + "src": "15424:28:0" } ], - "id": 1033, + "id": 525, "name": "FunctionCall", - "src": "14964:44:1" + "src": "15409:44:0" } ], - "id": 1034, + "id": 526, "name": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "attributes": { - "functionReturnParameters": 1027 + "functionReturnParameters": 519 }, "children": [ { @@ -44019,46 +44019,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1021, + "referencedDeclaration": 513, "type": "uint256", "value": "a" }, - "id": 1035, + "id": 527, "name": "Identifier", - "src": "15025:1:1" + "src": "15471:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1036, + "id": 528, "name": "Identifier", - "src": "15029:1:1" + "src": "15475:1:0" } ], - "id": 1037, + "id": 529, "name": "BinaryOperation", - "src": "15025:5:1" + "src": "15471:5:0" } ], - "id": 1038, + "id": 530, "name": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ], - "id": 1039, + "id": 531, "name": "Block", - "src": "14954:83:1" + "src": "15398:86:0" } ], - "id": 1040, + "id": 532, "name": "FunctionDefinition", - "src": "14887:150:1" + "src": "15331:153:0" }, { "attributes": { @@ -44069,7 +44069,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44079,9 +44079,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1041, + "id": 533, "name": "StructuredDocumentation", - "src": "15043:442:1" + "src": "15492:453:0" }, { "children": [ @@ -44090,7 +44090,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44102,21 +44102,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1042, + "id": 534, "name": "ElementaryTypeName", - "src": "15503:7:1" + "src": "15964:7:0" } ], - "id": 1043, + "id": 535, "name": "VariableDeclaration", - "src": "15503:9:1" + "src": "15964:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44128,19 +44128,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1044, + "id": 536, "name": "ElementaryTypeName", - "src": "15514:7:1" + "src": "15975:7:0" } ], - "id": 1045, + "id": 537, "name": "VariableDeclaration", - "src": "15514:9:1" + "src": "15975:9:0" } ], - "id": 1046, + "id": 538, "name": "ParameterList", - "src": "15502:22:1" + "src": "15963:22:0" }, { "children": [ @@ -44149,7 +44149,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44161,19 +44161,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1047, + "id": 539, "name": "ElementaryTypeName", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1048, + "id": 540, "name": "VariableDeclaration", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1049, + "id": 541, "name": "ParameterList", - "src": "15547:9:1" + "src": "16008:9:0" }, { "children": [ @@ -44214,9 +44214,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1050, + "id": 542, "name": "Identifier", - "src": "15567:7:1" + "src": "16029:7:0" }, { "attributes": { @@ -44237,13 +44237,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1051, + "id": 543, "name": "Identifier", - "src": "15575:1:1" + "src": "16037:1:0" }, { "attributes": { @@ -44256,14 +44256,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1052, + "id": 544, "name": "Literal", - "src": "15579:1:1" + "src": "16041:1:0" } ], - "id": 1053, + "id": 545, "name": "BinaryOperation", - "src": "15575:5:1" + "src": "16037:5:0" }, { "attributes": { @@ -44276,23 +44276,23 @@ "type": "literal_string \"SafeMath: modulo by zero\"", "value": "SafeMath: modulo by zero" }, - "id": 1054, + "id": 546, "name": "Literal", - "src": "15582:26:1" + "src": "16044:26:0" } ], - "id": 1055, + "id": 547, "name": "FunctionCall", - "src": "15567:42:1" + "src": "16029:42:0" } ], - "id": 1056, + "id": 548, "name": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "attributes": { - "functionReturnParameters": 1049 + "functionReturnParameters": 541 }, "children": [ { @@ -44314,46 +44314,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1043, + "referencedDeclaration": 535, "type": "uint256", "value": "a" }, - "id": 1057, + "id": 549, "name": "Identifier", - "src": "15626:1:1" + "src": "16089:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1058, + "id": 550, "name": "Identifier", - "src": "15630:1:1" + "src": "16093:1:0" } ], - "id": 1059, + "id": 551, "name": "BinaryOperation", - "src": "15626:5:1" + "src": "16089:5:0" } ], - "id": 1060, + "id": 552, "name": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ], - "id": 1061, + "id": 553, "name": "Block", - "src": "15557:81:1" + "src": "16018:84:0" } ], - "id": 1062, + "id": 554, "name": "FunctionDefinition", - "src": "15490:148:1" + "src": "15951:151:0" }, { "attributes": { @@ -44364,7 +44364,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44374,9 +44374,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1063, + "id": 555, "name": "StructuredDocumentation", - "src": "15644:453:1" + "src": "16110:465:0" }, { "children": [ @@ -44385,7 +44385,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44397,21 +44397,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1064, + "id": 556, "name": "ElementaryTypeName", - "src": "16115:7:1" + "src": "16594:7:0" } ], - "id": 1065, + "id": 557, "name": "VariableDeclaration", - "src": "16115:9:1" + "src": "16594:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44423,21 +44423,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1066, + "id": 558, "name": "ElementaryTypeName", - "src": "16126:7:1" + "src": "16605:7:0" } ], - "id": 1067, + "id": 559, "name": "VariableDeclaration", - "src": "16126:9:1" + "src": "16605:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44449,19 +44449,19 @@ "name": "string", "type": "string" }, - "id": 1068, + "id": 560, "name": "ElementaryTypeName", - "src": "16137:6:1" + "src": "16616:6:0" } ], - "id": 1069, + "id": 561, "name": "VariableDeclaration", - "src": "16137:26:1" + "src": "16616:26:0" } ], - "id": 1070, + "id": 562, "name": "ParameterList", - "src": "16114:50:1" + "src": "16593:50:0" }, { "children": [ @@ -44470,7 +44470,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44482,19 +44482,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1071, + "id": 563, "name": "ElementaryTypeName", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1072, + "id": 564, "name": "VariableDeclaration", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1073, + "id": 565, "name": "ParameterList", - "src": "16187:9:1" + "src": "16666:9:0" }, { "children": [ @@ -44535,9 +44535,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1074, + "id": 566, "name": "Identifier", - "src": "16207:7:1" + "src": "16687:7:0" }, { "attributes": { @@ -44558,58 +44558,58 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1075, + "id": 567, "name": "Identifier", - "src": "16215:1:1" + "src": "16695:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1076, + "id": 568, "name": "Identifier", - "src": "16220:1:1" + "src": "16700:1:0" } ], - "id": 1077, + "id": 569, "name": "BinaryOperation", - "src": "16215:6:1" + "src": "16695:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1069, + "referencedDeclaration": 561, "type": "string memory", "value": "errorMessage" }, - "id": 1078, + "id": 570, "name": "Identifier", - "src": "16223:12:1" + "src": "16703:12:0" } ], - "id": 1079, + "id": 571, "name": "FunctionCall", - "src": "16207:29:1" + "src": "16687:29:0" } ], - "id": 1080, + "id": 572, "name": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "attributes": { - "functionReturnParameters": 1073 + "functionReturnParameters": 565 }, "children": [ { @@ -44631,46 +44631,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1081, + "id": 573, "name": "Identifier", - "src": "16253:1:1" + "src": "16734:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1082, + "id": 574, "name": "Identifier", - "src": "16257:1:1" + "src": "16738:1:0" } ], - "id": 1083, + "id": 575, "name": "BinaryOperation", - "src": "16253:5:1" + "src": "16734:5:0" } ], - "id": 1084, + "id": 576, "name": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ], - "id": 1085, + "id": 577, "name": "Block", - "src": "16197:68:1" + "src": "16676:71:0" } ], - "id": 1086, + "id": 578, "name": "FunctionDefinition", - "src": "16102:163:1" + "src": "16581:166:0" }, { "attributes": { @@ -44681,7 +44681,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44691,9 +44691,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1087, + "id": 579, "name": "StructuredDocumentation", - "src": "16271:646:1" + "src": "16755:660:0" }, { "children": [ @@ -44702,7 +44702,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44714,21 +44714,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1088, + "id": 580, "name": "ElementaryTypeName", - "src": "16935:7:1" + "src": "17434:7:0" } ], - "id": 1089, + "id": 581, "name": "VariableDeclaration", - "src": "16935:9:1" + "src": "17434:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44740,21 +44740,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1090, + "id": 582, "name": "ElementaryTypeName", - "src": "16946:7:1" + "src": "17445:7:0" } ], - "id": 1091, + "id": 583, "name": "VariableDeclaration", - "src": "16946:9:1" + "src": "17445:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44766,19 +44766,19 @@ "name": "string", "type": "string" }, - "id": 1092, + "id": 584, "name": "ElementaryTypeName", - "src": "16957:6:1" + "src": "17456:6:0" } ], - "id": 1093, + "id": 585, "name": "VariableDeclaration", - "src": "16957:26:1" + "src": "17456:26:0" } ], - "id": 1094, + "id": 586, "name": "ParameterList", - "src": "16934:50:1" + "src": "17433:50:0" }, { "children": [ @@ -44787,7 +44787,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44799,19 +44799,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1095, + "id": 587, "name": "ElementaryTypeName", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1096, + "id": 588, "name": "VariableDeclaration", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1097, + "id": 589, "name": "ParameterList", - "src": "17007:9:1" + "src": "17506:9:0" }, { "children": [ @@ -44852,9 +44852,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1098, + "id": 590, "name": "Identifier", - "src": "17027:7:1" + "src": "17527:7:0" }, { "attributes": { @@ -44875,13 +44875,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1099, + "id": 591, "name": "Identifier", - "src": "17035:1:1" + "src": "17535:1:0" }, { "attributes": { @@ -44894,41 +44894,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1100, + "id": 592, "name": "Literal", - "src": "17039:1:1" + "src": "17539:1:0" } ], - "id": 1101, + "id": 593, "name": "BinaryOperation", - "src": "17035:5:1" + "src": "17535:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1093, + "referencedDeclaration": 585, "type": "string memory", "value": "errorMessage" }, - "id": 1102, + "id": 594, "name": "Identifier", - "src": "17042:12:1" + "src": "17542:12:0" } ], - "id": 1103, + "id": 595, "name": "FunctionCall", - "src": "17027:28:1" + "src": "17527:28:0" } ], - "id": 1104, + "id": 596, "name": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "attributes": { - "functionReturnParameters": 1097 + "functionReturnParameters": 589 }, "children": [ { @@ -44950,46 +44950,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1089, + "referencedDeclaration": 581, "type": "uint256", "value": "a" }, - "id": 1105, + "id": 597, "name": "Identifier", - "src": "17072:1:1" + "src": "17573:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1106, + "id": 598, "name": "Identifier", - "src": "17076:1:1" + "src": "17577:1:0" } ], - "id": 1107, + "id": 599, "name": "BinaryOperation", - "src": "17072:5:1" + "src": "17573:5:0" } ], - "id": 1108, + "id": 600, "name": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ], - "id": 1109, + "id": 601, "name": "Block", - "src": "17017:67:1" + "src": "17516:70:0" } ], - "id": 1110, + "id": 602, "name": "FunctionDefinition", - "src": "16922:162:1" + "src": "17421:165:0" }, { "attributes": { @@ -45000,7 +45000,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -45010,9 +45010,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1111, + "id": 603, "name": "StructuredDocumentation", - "src": "17090:635:1" + "src": "17594:649:0" }, { "children": [ @@ -45021,7 +45021,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45033,21 +45033,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1112, + "id": 604, "name": "ElementaryTypeName", - "src": "17743:7:1" + "src": "18262:7:0" } ], - "id": 1113, + "id": 605, "name": "VariableDeclaration", - "src": "17743:9:1" + "src": "18262:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45059,21 +45059,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1114, + "id": 606, "name": "ElementaryTypeName", - "src": "17754:7:1" + "src": "18273:7:0" } ], - "id": 1115, + "id": 607, "name": "VariableDeclaration", - "src": "17754:9:1" + "src": "18273:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -45085,19 +45085,19 @@ "name": "string", "type": "string" }, - "id": 1116, + "id": 608, "name": "ElementaryTypeName", - "src": "17765:6:1" + "src": "18284:6:0" } ], - "id": 1117, + "id": 609, "name": "VariableDeclaration", - "src": "17765:26:1" + "src": "18284:26:0" } ], - "id": 1118, + "id": 610, "name": "ParameterList", - "src": "17742:50:1" + "src": "18261:50:0" }, { "children": [ @@ -45106,7 +45106,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45118,19 +45118,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1119, + "id": 611, "name": "ElementaryTypeName", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1120, + "id": 612, "name": "VariableDeclaration", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1121, + "id": 613, "name": "ParameterList", - "src": "17815:9:1" + "src": "18334:9:0" }, { "children": [ @@ -45171,9 +45171,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1122, + "id": 614, "name": "Identifier", - "src": "17835:7:1" + "src": "18355:7:0" }, { "attributes": { @@ -45194,13 +45194,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1123, + "id": 615, "name": "Identifier", - "src": "17843:1:1" + "src": "18363:1:0" }, { "attributes": { @@ -45213,41 +45213,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1124, + "id": 616, "name": "Literal", - "src": "17847:1:1" + "src": "18367:1:0" } ], - "id": 1125, + "id": 617, "name": "BinaryOperation", - "src": "17843:5:1" + "src": "18363:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1117, + "referencedDeclaration": 609, "type": "string memory", "value": "errorMessage" }, - "id": 1126, + "id": 618, "name": "Identifier", - "src": "17850:12:1" + "src": "18370:12:0" } ], - "id": 1127, + "id": 619, "name": "FunctionCall", - "src": "17835:28:1" + "src": "18355:28:0" } ], - "id": 1128, + "id": 620, "name": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "attributes": { - "functionReturnParameters": 1121 + "functionReturnParameters": 613 }, "children": [ { @@ -45269,51 +45269,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1113, + "referencedDeclaration": 605, "type": "uint256", "value": "a" }, - "id": 1129, + "id": 621, "name": "Identifier", - "src": "17880:1:1" + "src": "18401:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1130, + "id": 622, "name": "Identifier", - "src": "17884:1:1" + "src": "18405:1:0" } ], - "id": 1131, + "id": 623, "name": "BinaryOperation", - "src": "17880:5:1" + "src": "18401:5:0" } ], - "id": 1132, + "id": 624, "name": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ], - "id": 1133, + "id": 625, "name": "Block", - "src": "17825:67:1" + "src": "18344:70:0" } ], - "id": 1134, + "id": 626, "name": "FunctionDefinition", - "src": "17730:162:1" + "src": "18249:165:0" } ], - "id": 1135, + "id": 627, "name": "ContractDefinition", - "src": "11300:6594:1" + "src": "11627:6790:0" }, { "attributes": { @@ -45327,9 +45327,9 @@ ".0" ] }, - "id": 1136, + "id": 628, "name": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "attributes": { @@ -45343,19 +45343,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Collection of functions related to the address type" }, - "id": 1137, + "id": 629, "name": "StructuredDocumentation", - "src": "17980:67:1" + "src": "18508:69:0" }, { "attributes": { @@ -45366,7 +45366,7 @@ null ], "name": "isContract", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -45376,9 +45376,9 @@ "attributes": { "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1138, + "id": 630, "name": "StructuredDocumentation", - "src": "18070:565:1" + "src": "18602:581:0" }, { "children": [ @@ -45387,7 +45387,7 @@ "constant": false, "mutability": "mutable", "name": "account", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -45400,19 +45400,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1139, + "id": 631, "name": "ElementaryTypeName", - "src": "18660:7:1" + "src": "19209:7:0" } ], - "id": 1140, + "id": 632, "name": "VariableDeclaration", - "src": "18660:15:1" + "src": "19209:15:0" } ], - "id": 1141, + "id": 633, "name": "ParameterList", - "src": "18659:17:1" + "src": "19208:17:0" }, { "children": [ @@ -45421,7 +45421,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45433,26 +45433,26 @@ "name": "bool", "type": "bool" }, - "id": 1142, + "id": 634, "name": "ElementaryTypeName", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1143, + "id": 635, "name": "VariableDeclaration", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1144, + "id": 636, "name": "ParameterList", - "src": "18699:6:1" + "src": "19248:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1146 + 638 ] }, "children": [ @@ -45461,7 +45461,7 @@ "constant": false, "mutability": "mutable", "name": "size", - "scope": 1153, + "scope": 645, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45473,49 +45473,49 @@ "name": "uint256", "type": "uint256" }, - "id": 1145, + "id": 637, "name": "ElementaryTypeName", - "src": "18903:7:1" + "src": "19457:7:0" } ], - "id": 1146, + "id": 638, "name": "VariableDeclaration", - "src": "18903:12:1" + "src": "19457:12:0" } ], - "id": 1147, + "id": 639, "name": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "attributes": { "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], "operations": "{ size := extcodesize(account) }" }, "children": [], - "id": 1148, + "id": 640, "name": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "attributes": { - "functionReturnParameters": 1144 + "functionReturnParameters": 636 }, "children": [ { @@ -45537,13 +45537,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1146, + "referencedDeclaration": 638, "type": "uint256", "value": "size" }, - "id": 1149, + "id": 641, "name": "Identifier", - "src": "19038:4:1" + "src": "19595:4:0" }, { "attributes": { @@ -45556,29 +45556,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1150, + "id": 642, "name": "Literal", - "src": "19045:1:1" + "src": "19602:1:0" } ], - "id": 1151, + "id": 643, "name": "BinaryOperation", - "src": "19038:8:1" + "src": "19595:8:0" } ], - "id": 1152, + "id": 644, "name": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ], - "id": 1153, + "id": 645, "name": "Block", - "src": "18706:347:1" + "src": "19255:356:0" } ], - "id": 1154, + "id": 646, "name": "FunctionDefinition", - "src": "18640:413:1" + "src": "19189:422:0" }, { "attributes": { @@ -45589,7 +45589,7 @@ null ], "name": "sendValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -45599,9 +45599,9 @@ "attributes": { "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1155, + "id": 647, "name": "StructuredDocumentation", - "src": "19059:906:1" + "src": "19619:921:0" }, { "children": [ @@ -45610,7 +45610,7 @@ "constant": false, "mutability": "mutable", "name": "recipient", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -45623,21 +45623,21 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 1156, + "id": 648, "name": "ElementaryTypeName", - "src": "19989:15:1" + "src": "20565:15:0" } ], - "id": 1157, + "id": 649, "name": "VariableDeclaration", - "src": "19989:25:1" + "src": "20565:25:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "amount", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45649,19 +45649,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1158, + "id": 650, "name": "ElementaryTypeName", - "src": "20016:7:1" + "src": "20592:7:0" } ], - "id": 1159, + "id": 651, "name": "VariableDeclaration", - "src": "20016:14:1" + "src": "20592:14:0" } ], - "id": 1160, + "id": 652, "name": "ParameterList", - "src": "19988:43:1" + "src": "20564:43:0" }, { "attributes": { @@ -45670,9 +45670,9 @@ ] }, "children": [], - "id": 1161, + "id": 653, "name": "ParameterList", - "src": "20041:0:1" + "src": "20617:0:0" }, { "children": [ @@ -45713,9 +45713,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1162, + "id": 654, "name": "Identifier", - "src": "20051:7:1" + "src": "20628:7:0" }, { "attributes": { @@ -45760,7 +45760,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -45775,14 +45775,14 @@ "attributes": { "name": "address" }, - "id": 1163, + "id": 655, "name": "ElementaryTypeName", - "src": "20059:7:1" + "src": "20636:7:0" } ], - "id": 1164, + "id": 656, "name": "ElementaryTypeNameExpression", - "src": "20059:7:1" + "src": "20636:7:0" }, { "attributes": { @@ -45793,37 +45793,37 @@ "type": "library Address", "value": "this" }, - "id": 1165, + "id": 657, "name": "Identifier", - "src": "20067:4:1" + "src": "20644:4:0" } ], - "id": 1166, + "id": 658, "name": "FunctionCall", - "src": "20059:13:1" + "src": "20636:13:0" } ], - "id": 1167, + "id": 659, "name": "MemberAccess", - "src": "20059:21:1" + "src": "20636:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1168, + "id": 660, "name": "Identifier", - "src": "20084:6:1" + "src": "20661:6:0" } ], - "id": 1169, + "id": 661, "name": "BinaryOperation", - "src": "20059:31:1" + "src": "20636:31:0" }, { "attributes": { @@ -45836,24 +45836,24 @@ "type": "literal_string \"Address: insufficient balance\"", "value": "Address: insufficient balance" }, - "id": 1170, + "id": 662, "name": "Literal", - "src": "20092:31:1" + "src": "20669:31:0" } ], - "id": 1171, + "id": 663, "name": "FunctionCall", - "src": "20051:73:1" + "src": "20628:73:0" } ], - "id": 1172, + "id": 664, "name": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "attributes": { "assignments": [ - 1174, + 666, null ] }, @@ -45863,7 +45863,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1187, + "scope": 679, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45875,14 +45875,14 @@ "name": "bool", "type": "bool" }, - "id": 1173, + "id": 665, "name": "ElementaryTypeName", - "src": "20213:4:1" + "src": "20793:4:0" } ], - "id": 1174, + "id": 666, "name": "VariableDeclaration", - "src": "20213:12:1" + "src": "20793:12:0" }, { "attributes": { @@ -45938,36 +45938,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1157, + "referencedDeclaration": 649, "type": "address payable", "value": "recipient" }, - "id": 1175, + "id": 667, "name": "Identifier", - "src": "20231:9:1" + "src": "20811:9:0" } ], - "id": 1176, + "id": 668, "name": "MemberAccess", - "src": "20231:14:1" + "src": "20811:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1177, + "id": 669, "name": "Identifier", - "src": "20254:6:1" + "src": "20834:6:0" } ], - "id": 1178, + "id": 670, "name": "FunctionCallOptions", - "src": "20231:31:1" + "src": "20811:31:0" }, { "attributes": { @@ -45980,19 +45980,19 @@ "type": "literal_string \"\"", "value": "" }, - "id": 1179, + "id": 671, "name": "Literal", - "src": "20263:2:1" + "src": "20843:2:0" } ], - "id": 1180, + "id": 672, "name": "FunctionCall", - "src": "20231:35:1" + "src": "20811:35:0" } ], - "id": 1181, + "id": 673, "name": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "children": [ @@ -46031,22 +46031,22 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1182, + "id": 674, "name": "Identifier", - "src": "20276:7:1" + "src": "20857:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 666, "type": "bool", "value": "success" }, - "id": 1183, + "id": 675, "name": "Identifier", - "src": "20284:7:1" + "src": "20865:7:0" }, { "attributes": { @@ -46059,29 +46059,29 @@ "type": "literal_string \"Address: unable to send value, recipient may have reverted\"", "value": "Address: unable to send value, recipient may have reverted" }, - "id": 1184, + "id": 676, "name": "Literal", - "src": "20293:60:1" + "src": "20874:60:0" } ], - "id": 1185, + "id": 677, "name": "FunctionCall", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1186, + "id": 678, "name": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1187, + "id": 679, "name": "Block", - "src": "20041:320:1" + "src": "20617:326:0" } ], - "id": 1188, + "id": 680, "name": "FunctionDefinition", - "src": "19970:391:1" + "src": "20546:397:0" }, { "attributes": { @@ -46092,7 +46092,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46102,9 +46102,9 @@ "attributes": { "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1189, + "id": 681, "name": "StructuredDocumentation", - "src": "20367:730:1" + "src": "20951:747:0" }, { "children": [ @@ -46113,7 +46113,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46126,21 +46126,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1190, + "id": 682, "name": "ElementaryTypeName", - "src": "21124:7:1" + "src": "21726:7:0" } ], - "id": 1191, + "id": 683, "name": "VariableDeclaration", - "src": "21124:14:1" + "src": "21726:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46152,19 +46152,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1192, + "id": 684, "name": "ElementaryTypeName", - "src": "21140:5:1" + "src": "21742:5:0" } ], - "id": 1193, + "id": 685, "name": "VariableDeclaration", - "src": "21140:17:1" + "src": "21742:17:0" } ], - "id": 1194, + "id": 686, "name": "ParameterList", - "src": "21123:35:1" + "src": "21725:35:0" }, { "children": [ @@ -46173,7 +46173,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46185,25 +46185,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1195, + "id": 687, "name": "ElementaryTypeName", - "src": "21177:5:1" + "src": "21779:5:0" } ], - "id": 1196, + "id": 688, "name": "VariableDeclaration", - "src": "21177:12:1" + "src": "21779:12:0" } ], - "id": 1197, + "id": 689, "name": "ParameterList", - "src": "21176:14:1" + "src": "21778:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1197 + "functionReturnParameters": 689 }, "children": [ { @@ -46238,42 +46238,42 @@ } ], "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionCall" }, - "id": 1198, + "id": 690, "name": "Identifier", - "src": "21206:12:1" + "src": "21809:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1191, + "referencedDeclaration": 683, "type": "address", "value": "target" }, - "id": 1199, + "id": 691, "name": "Identifier", - "src": "21219:6:1" + "src": "21822:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1193, + "referencedDeclaration": 685, "type": "bytes memory", "value": "data" }, - "id": 1200, + "id": 692, "name": "Identifier", - "src": "21227:4:1" + "src": "21830:4:0" }, { "attributes": { @@ -46286,29 +46286,29 @@ "type": "literal_string \"Address: low-level call failed\"", "value": "Address: low-level call failed" }, - "id": 1201, + "id": 693, "name": "Literal", - "src": "21233:32:1" + "src": "21836:32:0" } ], - "id": 1202, + "id": 694, "name": "FunctionCall", - "src": "21206:60:1" + "src": "21809:60:0" } ], - "id": 1203, + "id": 695, "name": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ], - "id": 1204, + "id": 696, "name": "Block", - "src": "21191:82:1" + "src": "21793:84:0" } ], - "id": 1205, + "id": 697, "name": "FunctionDefinition", - "src": "21102:171:1" + "src": "21704:173:0" }, { "attributes": { @@ -46319,7 +46319,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46329,9 +46329,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1206, + "id": 698, "name": "StructuredDocumentation", - "src": "21279:211:1" + "src": "21885:216:0" }, { "children": [ @@ -46340,7 +46340,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46353,21 +46353,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1207, + "id": 699, "name": "ElementaryTypeName", - "src": "21517:7:1" + "src": "22129:7:0" } ], - "id": 1208, + "id": 700, "name": "VariableDeclaration", - "src": "21517:14:1" + "src": "22129:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46379,21 +46379,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1209, + "id": 701, "name": "ElementaryTypeName", - "src": "21533:5:1" + "src": "22145:5:0" } ], - "id": 1210, + "id": 702, "name": "VariableDeclaration", - "src": "21533:17:1" + "src": "22145:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -46405,19 +46405,19 @@ "name": "string", "type": "string" }, - "id": 1211, + "id": 703, "name": "ElementaryTypeName", - "src": "21552:6:1" + "src": "22164:6:0" } ], - "id": 1212, + "id": 704, "name": "VariableDeclaration", - "src": "21552:26:1" + "src": "22164:26:0" } ], - "id": 1213, + "id": 705, "name": "ParameterList", - "src": "21516:63:1" + "src": "22128:63:0" }, { "children": [ @@ -46426,7 +46426,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46438,25 +46438,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1214, + "id": 706, "name": "ElementaryTypeName", - "src": "21598:5:1" + "src": "22210:5:0" } ], - "id": 1215, + "id": 707, "name": "VariableDeclaration", - "src": "21598:12:1" + "src": "22210:12:0" } ], - "id": 1216, + "id": 708, "name": "ParameterList", - "src": "21597:14:1" + "src": "22209:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1216 + "functionReturnParameters": 708 }, "children": [ { @@ -46495,42 +46495,42 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1217, + "id": 709, "name": "Identifier", - "src": "21629:21:1" + "src": "22242:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1208, + "referencedDeclaration": 700, "type": "address", "value": "target" }, - "id": 1218, + "id": 710, "name": "Identifier", - "src": "21651:6:1" + "src": "22264:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1210, + "referencedDeclaration": 702, "type": "bytes memory", "value": "data" }, - "id": 1219, + "id": 711, "name": "Identifier", - "src": "21659:4:1" + "src": "22272:4:0" }, { "attributes": { @@ -46543,42 +46543,42 @@ "type": "int_const 0", "value": "0" }, - "id": 1220, + "id": 712, "name": "Literal", - "src": "21665:1:1" + "src": "22278:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1212, + "referencedDeclaration": 704, "type": "string memory", "value": "errorMessage" }, - "id": 1221, + "id": 713, "name": "Identifier", - "src": "21668:12:1" + "src": "22281:12:0" } ], - "id": 1222, + "id": 714, "name": "FunctionCall", - "src": "21629:52:1" + "src": "22242:52:0" } ], - "id": 1223, + "id": 715, "name": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ], - "id": 1224, + "id": 716, "name": "Block", - "src": "21612:76:1" + "src": "22224:78:0" } ], - "id": 1225, + "id": 717, "name": "FunctionDefinition", - "src": "21495:193:1" + "src": "22107:195:0" }, { "attributes": { @@ -46589,7 +46589,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46599,9 +46599,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1226, + "id": 718, "name": "StructuredDocumentation", - "src": "21694:351:1" + "src": "22310:361:0" }, { "children": [ @@ -46610,7 +46610,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46623,21 +46623,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1227, + "id": 719, "name": "ElementaryTypeName", - "src": "22081:7:1" + "src": "22708:7:0" } ], - "id": 1228, + "id": 720, "name": "VariableDeclaration", - "src": "22081:14:1" + "src": "22708:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46649,21 +46649,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1229, + "id": 721, "name": "ElementaryTypeName", - "src": "22097:5:1" + "src": "22724:5:0" } ], - "id": 1230, + "id": 722, "name": "VariableDeclaration", - "src": "22097:17:1" + "src": "22724:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -46675,19 +46675,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1231, + "id": 723, "name": "ElementaryTypeName", - "src": "22116:7:1" + "src": "22743:7:0" } ], - "id": 1232, + "id": 724, "name": "VariableDeclaration", - "src": "22116:13:1" + "src": "22743:13:0" } ], - "id": 1233, + "id": 725, "name": "ParameterList", - "src": "22080:50:1" + "src": "22707:50:0" }, { "children": [ @@ -46696,7 +46696,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46708,25 +46708,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1234, + "id": 726, "name": "ElementaryTypeName", - "src": "22149:5:1" + "src": "22776:5:0" } ], - "id": 1235, + "id": 727, "name": "VariableDeclaration", - "src": "22149:12:1" + "src": "22776:12:0" } ], - "id": 1236, + "id": 728, "name": "ParameterList", - "src": "22148:14:1" + "src": "22775:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1236 + "functionReturnParameters": 728 }, "children": [ { @@ -46765,55 +46765,55 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1237, + "id": 729, "name": "Identifier", - "src": "22180:21:1" + "src": "22808:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 720, "type": "address", "value": "target" }, - "id": 1238, + "id": 730, "name": "Identifier", - "src": "22202:6:1" + "src": "22830:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 722, "type": "bytes memory", "value": "data" }, - "id": 1239, + "id": 731, "name": "Identifier", - "src": "22210:4:1" + "src": "22838:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1232, + "referencedDeclaration": 724, "type": "uint256", "value": "value" }, - "id": 1240, + "id": 732, "name": "Identifier", - "src": "22216:5:1" + "src": "22844:5:0" }, { "attributes": { @@ -46826,29 +46826,29 @@ "type": "literal_string \"Address: low-level call with value failed\"", "value": "Address: low-level call with value failed" }, - "id": 1241, + "id": 733, "name": "Literal", - "src": "22223:43:1" + "src": "22851:43:0" } ], - "id": 1242, + "id": 734, "name": "FunctionCall", - "src": "22180:87:1" + "src": "22808:87:0" } ], - "id": 1243, + "id": 735, "name": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ], - "id": 1244, + "id": 736, "name": "Block", - "src": "22163:111:1" + "src": "22790:113:0" } ], - "id": 1245, + "id": 737, "name": "FunctionDefinition", - "src": "22050:224:1" + "src": "22677:226:0" }, { "attributes": { @@ -46859,7 +46859,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46869,9 +46869,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1246, + "id": 738, "name": "StructuredDocumentation", - "src": "22280:237:1" + "src": "22911:242:0" }, { "children": [ @@ -46880,7 +46880,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46893,21 +46893,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1247, + "id": 739, "name": "ElementaryTypeName", - "src": "22553:7:1" + "src": "23190:7:0" } ], - "id": 1248, + "id": 740, "name": "VariableDeclaration", - "src": "22553:14:1" + "src": "23190:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46919,21 +46919,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1249, + "id": 741, "name": "ElementaryTypeName", - "src": "22569:5:1" + "src": "23206:5:0" } ], - "id": 1250, + "id": 742, "name": "VariableDeclaration", - "src": "22569:17:1" + "src": "23206:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -46945,21 +46945,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1251, + "id": 743, "name": "ElementaryTypeName", - "src": "22588:7:1" + "src": "23225:7:0" } ], - "id": 1252, + "id": 744, "name": "VariableDeclaration", - "src": "22588:13:1" + "src": "23225:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -46971,19 +46971,19 @@ "name": "string", "type": "string" }, - "id": 1253, + "id": 745, "name": "ElementaryTypeName", - "src": "22603:6:1" + "src": "23240:6:0" } ], - "id": 1254, + "id": 746, "name": "VariableDeclaration", - "src": "22603:26:1" + "src": "23240:26:0" } ], - "id": 1255, + "id": 747, "name": "ParameterList", - "src": "22552:78:1" + "src": "23189:78:0" }, { "children": [ @@ -46992,7 +46992,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47004,19 +47004,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1256, + "id": 748, "name": "ElementaryTypeName", - "src": "22649:5:1" + "src": "23286:5:0" } ], - "id": 1257, + "id": 749, "name": "VariableDeclaration", - "src": "22649:12:1" + "src": "23286:12:0" } ], - "id": 1258, + "id": 750, "name": "ParameterList", - "src": "22648:14:1" + "src": "23285:14:0" }, { "children": [ @@ -47057,9 +47057,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1259, + "id": 751, "name": "Identifier", - "src": "22673:7:1" + "src": "23311:7:0" }, { "attributes": { @@ -47104,7 +47104,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -47119,14 +47119,14 @@ "attributes": { "name": "address" }, - "id": 1260, + "id": 752, "name": "ElementaryTypeName", - "src": "22681:7:1" + "src": "23319:7:0" } ], - "id": 1261, + "id": 753, "name": "ElementaryTypeNameExpression", - "src": "22681:7:1" + "src": "23319:7:0" }, { "attributes": { @@ -47137,37 +47137,37 @@ "type": "library Address", "value": "this" }, - "id": 1262, + "id": 754, "name": "Identifier", - "src": "22689:4:1" + "src": "23327:4:0" } ], - "id": 1263, + "id": 755, "name": "FunctionCall", - "src": "22681:13:1" + "src": "23319:13:0" } ], - "id": 1264, + "id": 756, "name": "MemberAccess", - "src": "22681:21:1" + "src": "23319:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1265, + "id": 757, "name": "Identifier", - "src": "22706:5:1" + "src": "23344:5:0" } ], - "id": 1266, + "id": 758, "name": "BinaryOperation", - "src": "22681:30:1" + "src": "23319:30:0" }, { "attributes": { @@ -47180,19 +47180,19 @@ "type": "literal_string \"Address: insufficient balance for call\"", "value": "Address: insufficient balance for call" }, - "id": 1267, + "id": 759, "name": "Literal", - "src": "22713:40:1" + "src": "23351:40:0" } ], - "id": 1268, + "id": 760, "name": "FunctionCall", - "src": "22673:81:1" + "src": "23311:81:0" } ], - "id": 1269, + "id": 761, "name": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "children": [ @@ -47231,9 +47231,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1270, + "id": 762, "name": "Identifier", - "src": "22764:7:1" + "src": "23403:7:0" }, { "attributes": { @@ -47261,31 +47261,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1271, + "id": 763, "name": "Identifier", - "src": "22772:10:1" + "src": "23411:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1272, + "id": 764, "name": "Identifier", - "src": "22783:6:1" + "src": "23422:6:0" } ], - "id": 1273, + "id": 765, "name": "FunctionCall", - "src": "22772:18:1" + "src": "23411:18:0" }, { "attributes": { @@ -47298,25 +47298,25 @@ "type": "literal_string \"Address: call to non-contract\"", "value": "Address: call to non-contract" }, - "id": 1274, + "id": 766, "name": "Literal", - "src": "22792:31:1" + "src": "23431:31:0" } ], - "id": 1275, + "id": 767, "name": "FunctionCall", - "src": "22764:60:1" + "src": "23403:60:0" } ], - "id": 1276, + "id": 768, "name": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "attributes": { "assignments": [ - 1278, - 1280 + 770, + 772 ] }, "children": [ @@ -47325,7 +47325,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -47337,21 +47337,21 @@ "name": "bool", "type": "bool" }, - "id": 1277, + "id": 769, "name": "ElementaryTypeName", - "src": "22895:4:1" + "src": "23537:4:0" } ], - "id": 1278, + "id": 770, "name": "VariableDeclaration", - "src": "22895:12:1" + "src": "23537:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47363,14 +47363,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1279, + "id": 771, "name": "ElementaryTypeName", - "src": "22909:5:1" + "src": "23551:5:0" } ], - "id": 1280, + "id": 772, "name": "VariableDeclaration", - "src": "22909:23:1" + "src": "23551:23:0" }, { "attributes": { @@ -47426,63 +47426,63 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1281, + "id": 773, "name": "Identifier", - "src": "22936:6:1" + "src": "23578:6:0" } ], - "id": 1282, + "id": 774, "name": "MemberAccess", - "src": "22936:11:1" + "src": "23578:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1283, + "id": 775, "name": "Identifier", - "src": "22956:5:1" + "src": "23598:5:0" } ], - "id": 1284, + "id": 776, "name": "FunctionCallOptions", - "src": "22936:27:1" + "src": "23578:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1250, + "referencedDeclaration": 742, "type": "bytes memory", "value": "data" }, - "id": 1285, + "id": 777, "name": "Identifier", - "src": "22964:4:1" + "src": "23606:4:0" } ], - "id": 1286, + "id": 778, "name": "FunctionCall", - "src": "22936:33:1" + "src": "23578:33:0" } ], - "id": 1287, + "id": 779, "name": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "attributes": { - "functionReturnParameters": 1258 + "functionReturnParameters": 750 }, "children": [ { @@ -47519,72 +47519,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1288, + "id": 780, "name": "Identifier", - "src": "22986:17:1" + "src": "23629:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1278, + "referencedDeclaration": 770, "type": "bool", "value": "success" }, - "id": 1289, + "id": 781, "name": "Identifier", - "src": "23004:7:1" + "src": "23647:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1280, + "referencedDeclaration": 772, "type": "bytes memory", "value": "returndata" }, - "id": 1290, + "id": 782, "name": "Identifier", - "src": "23013:10:1" + "src": "23656:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 746, "type": "string memory", "value": "errorMessage" }, - "id": 1291, + "id": 783, "name": "Identifier", - "src": "23025:12:1" + "src": "23668:12:0" } ], - "id": 1292, + "id": 784, "name": "FunctionCall", - "src": "22986:52:1" + "src": "23629:52:0" } ], - "id": 1293, + "id": 785, "name": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ], - "id": 1294, + "id": 786, "name": "Block", - "src": "22663:382:1" + "src": "23300:389:0" } ], - "id": 1295, + "id": 787, "name": "FunctionDefinition", - "src": "22522:523:1" + "src": "23159:530:0" }, { "attributes": { @@ -47595,7 +47595,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -47605,9 +47605,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1296, + "id": 788, "name": "StructuredDocumentation", - "src": "23051:166:1" + "src": "23697:171:0" }, { "children": [ @@ -47616,7 +47616,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47629,21 +47629,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1297, + "id": 789, "name": "ElementaryTypeName", - "src": "23250:7:1" + "src": "23902:7:0" } ], - "id": 1298, + "id": 790, "name": "VariableDeclaration", - "src": "23250:14:1" + "src": "23902:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47655,19 +47655,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1299, + "id": 791, "name": "ElementaryTypeName", - "src": "23266:5:1" + "src": "23918:5:0" } ], - "id": 1300, + "id": 792, "name": "VariableDeclaration", - "src": "23266:17:1" + "src": "23918:17:0" } ], - "id": 1301, + "id": 793, "name": "ParameterList", - "src": "23249:35:1" + "src": "23901:35:0" }, { "children": [ @@ -47676,7 +47676,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47688,25 +47688,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1302, + "id": 794, "name": "ElementaryTypeName", - "src": "23308:5:1" + "src": "23960:5:0" } ], - "id": 1303, + "id": 795, "name": "VariableDeclaration", - "src": "23308:12:1" + "src": "23960:12:0" } ], - "id": 1304, + "id": 796, "name": "ParameterList", - "src": "23307:14:1" + "src": "23959:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1304 + "functionReturnParameters": 796 }, "children": [ { @@ -47741,42 +47741,42 @@ } ], "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, + "referencedDeclaration": 839, "type": "function (address,bytes memory,string memory) view returns (bytes memory)", "value": "functionStaticCall" }, - "id": 1305, + "id": 797, "name": "Identifier", - "src": "23339:18:1" + "src": "23992:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1298, + "referencedDeclaration": 790, "type": "address", "value": "target" }, - "id": 1306, + "id": 798, "name": "Identifier", - "src": "23358:6:1" + "src": "24011:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1300, + "referencedDeclaration": 792, "type": "bytes memory", "value": "data" }, - "id": 1307, + "id": 799, "name": "Identifier", - "src": "23366:4:1" + "src": "24019:4:0" }, { "attributes": { @@ -47789,29 +47789,29 @@ "type": "literal_string \"Address: low-level static call failed\"", "value": "Address: low-level static call failed" }, - "id": 1308, + "id": 800, "name": "Literal", - "src": "23372:39:1" + "src": "24025:39:0" } ], - "id": 1309, + "id": 801, "name": "FunctionCall", - "src": "23339:73:1" + "src": "23992:73:0" } ], - "id": 1310, + "id": 802, "name": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ], - "id": 1311, + "id": 803, "name": "Block", - "src": "23322:97:1" + "src": "23974:99:0" } ], - "id": 1312, + "id": 804, "name": "FunctionDefinition", - "src": "23222:197:1" + "src": "23874:199:0" }, { "attributes": { @@ -47822,7 +47822,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -47832,9 +47832,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1313, + "id": 805, "name": "StructuredDocumentation", - "src": "23425:173:1" + "src": "24081:178:0" }, { "children": [ @@ -47843,7 +47843,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47856,21 +47856,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1314, + "id": 806, "name": "ElementaryTypeName", - "src": "23631:7:1" + "src": "24293:7:0" } ], - "id": 1315, + "id": 807, "name": "VariableDeclaration", - "src": "23631:14:1" + "src": "24293:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47882,21 +47882,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1316, + "id": 808, "name": "ElementaryTypeName", - "src": "23647:5:1" + "src": "24309:5:0" } ], - "id": 1317, + "id": 809, "name": "VariableDeclaration", - "src": "23647:17:1" + "src": "24309:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -47908,19 +47908,19 @@ "name": "string", "type": "string" }, - "id": 1318, + "id": 810, "name": "ElementaryTypeName", - "src": "23666:6:1" + "src": "24328:6:0" } ], - "id": 1319, + "id": 811, "name": "VariableDeclaration", - "src": "23666:26:1" + "src": "24328:26:0" } ], - "id": 1320, + "id": 812, "name": "ParameterList", - "src": "23630:63:1" + "src": "24292:63:0" }, { "children": [ @@ -47929,7 +47929,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47941,19 +47941,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1321, + "id": 813, "name": "ElementaryTypeName", - "src": "23717:5:1" + "src": "24379:5:0" } ], - "id": 1322, + "id": 814, "name": "VariableDeclaration", - "src": "23717:12:1" + "src": "24379:12:0" } ], - "id": 1323, + "id": 815, "name": "ParameterList", - "src": "23716:14:1" + "src": "24378:14:0" }, { "children": [ @@ -47994,9 +47994,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1324, + "id": 816, "name": "Identifier", - "src": "23741:7:1" + "src": "24404:7:0" }, { "attributes": { @@ -48024,31 +48024,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1325, + "id": 817, "name": "Identifier", - "src": "23749:10:1" + "src": "24412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1326, + "id": 818, "name": "Identifier", - "src": "23760:6:1" + "src": "24423:6:0" } ], - "id": 1327, + "id": 819, "name": "FunctionCall", - "src": "23749:18:1" + "src": "24412:18:0" }, { "attributes": { @@ -48061,25 +48061,25 @@ "type": "literal_string \"Address: static call to non-contract\"", "value": "Address: static call to non-contract" }, - "id": 1328, + "id": 820, "name": "Literal", - "src": "23769:38:1" + "src": "24432:38:0" } ], - "id": 1329, + "id": 821, "name": "FunctionCall", - "src": "23741:67:1" + "src": "24404:67:0" } ], - "id": 1330, + "id": 822, "name": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "attributes": { "assignments": [ - 1332, - 1334 + 824, + 826 ] }, "children": [ @@ -48088,7 +48088,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48100,21 +48100,21 @@ "name": "bool", "type": "bool" }, - "id": 1331, + "id": 823, "name": "ElementaryTypeName", - "src": "23879:4:1" + "src": "24545:4:0" } ], - "id": 1332, + "id": 824, "name": "VariableDeclaration", - "src": "23879:12:1" + "src": "24545:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48126,14 +48126,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1333, + "id": 825, "name": "ElementaryTypeName", - "src": "23893:5:1" + "src": "24559:5:0" } ], - "id": 1334, + "id": 826, "name": "VariableDeclaration", - "src": "23893:23:1" + "src": "24559:23:0" }, { "attributes": { @@ -48171,45 +48171,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1335, + "id": 827, "name": "Identifier", - "src": "23920:6:1" + "src": "24586:6:0" } ], - "id": 1336, + "id": 828, "name": "MemberAccess", - "src": "23920:17:1" + "src": "24586:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1317, + "referencedDeclaration": 809, "type": "bytes memory", "value": "data" }, - "id": 1337, + "id": 829, "name": "Identifier", - "src": "23938:4:1" + "src": "24604:4:0" } ], - "id": 1338, + "id": 830, "name": "FunctionCall", - "src": "23920:23:1" + "src": "24586:23:0" } ], - "id": 1339, + "id": 831, "name": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "attributes": { - "functionReturnParameters": 1323 + "functionReturnParameters": 815 }, "children": [ { @@ -48246,72 +48246,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1340, + "id": 832, "name": "Identifier", - "src": "23960:17:1" + "src": "24627:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1332, + "referencedDeclaration": 824, "type": "bool", "value": "success" }, - "id": 1341, + "id": 833, "name": "Identifier", - "src": "23978:7:1" + "src": "24645:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1334, + "referencedDeclaration": 826, "type": "bytes memory", "value": "returndata" }, - "id": 1342, + "id": 834, "name": "Identifier", - "src": "23987:10:1" + "src": "24654:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 811, "type": "string memory", "value": "errorMessage" }, - "id": 1343, + "id": 835, "name": "Identifier", - "src": "23999:12:1" + "src": "24666:12:0" } ], - "id": 1344, + "id": 836, "name": "FunctionCall", - "src": "23960:52:1" + "src": "24627:52:0" } ], - "id": 1345, + "id": 837, "name": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ], - "id": 1346, + "id": 838, "name": "Block", - "src": "23731:288:1" + "src": "24393:294:0" } ], - "id": 1347, + "id": 839, "name": "FunctionDefinition", - "src": "23603:416:1" + "src": "24265:422:0" }, { "attributes": { @@ -48322,7 +48322,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48332,9 +48332,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1348, + "id": 840, "name": "StructuredDocumentation", - "src": "24025:168:1" + "src": "24695:173:0" }, { "children": [ @@ -48343,7 +48343,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48356,21 +48356,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1349, + "id": 841, "name": "ElementaryTypeName", - "src": "24228:7:1" + "src": "24904:7:0" } ], - "id": 1350, + "id": 842, "name": "VariableDeclaration", - "src": "24228:14:1" + "src": "24904:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48382,19 +48382,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1351, + "id": 843, "name": "ElementaryTypeName", - "src": "24244:5:1" + "src": "24920:5:0" } ], - "id": 1352, + "id": 844, "name": "VariableDeclaration", - "src": "24244:17:1" + "src": "24920:17:0" } ], - "id": 1353, + "id": 845, "name": "ParameterList", - "src": "24227:35:1" + "src": "24903:35:0" }, { "children": [ @@ -48403,7 +48403,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48415,25 +48415,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1354, + "id": 846, "name": "ElementaryTypeName", - "src": "24281:5:1" + "src": "24957:5:0" } ], - "id": 1355, + "id": 847, "name": "VariableDeclaration", - "src": "24281:12:1" + "src": "24957:12:0" } ], - "id": 1356, + "id": 848, "name": "ParameterList", - "src": "24280:14:1" + "src": "24956:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1356 + "functionReturnParameters": 848 }, "children": [ { @@ -48468,42 +48468,42 @@ } ], "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, + "referencedDeclaration": 891, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionDelegateCall" }, - "id": 1357, + "id": 849, "name": "Identifier", - "src": "24312:20:1" + "src": "24989:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1350, + "referencedDeclaration": 842, "type": "address", "value": "target" }, - "id": 1358, + "id": 850, "name": "Identifier", - "src": "24333:6:1" + "src": "25010:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1352, + "referencedDeclaration": 844, "type": "bytes memory", "value": "data" }, - "id": 1359, + "id": 851, "name": "Identifier", - "src": "24341:4:1" + "src": "25018:4:0" }, { "attributes": { @@ -48516,29 +48516,29 @@ "type": "literal_string \"Address: low-level delegate call failed\"", "value": "Address: low-level delegate call failed" }, - "id": 1360, + "id": 852, "name": "Literal", - "src": "24347:41:1" + "src": "25024:41:0" } ], - "id": 1361, + "id": 853, "name": "FunctionCall", - "src": "24312:77:1" + "src": "24989:77:0" } ], - "id": 1362, + "id": 854, "name": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ], - "id": 1363, + "id": 855, "name": "Block", - "src": "24295:101:1" + "src": "24971:103:0" } ], - "id": 1364, + "id": 856, "name": "FunctionDefinition", - "src": "24198:198:1" + "src": "24874:200:0" }, { "attributes": { @@ -48549,7 +48549,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48559,9 +48559,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1365, + "id": 857, "name": "StructuredDocumentation", - "src": "24402:175:1" + "src": "25082:180:0" }, { "children": [ @@ -48570,7 +48570,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48583,21 +48583,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1366, + "id": 858, "name": "ElementaryTypeName", - "src": "24612:7:1" + "src": "25298:7:0" } ], - "id": 1367, + "id": 859, "name": "VariableDeclaration", - "src": "24612:14:1" + "src": "25298:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48609,21 +48609,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1368, + "id": 860, "name": "ElementaryTypeName", - "src": "24628:5:1" + "src": "25314:5:0" } ], - "id": 1369, + "id": 861, "name": "VariableDeclaration", - "src": "24628:17:1" + "src": "25314:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -48635,19 +48635,19 @@ "name": "string", "type": "string" }, - "id": 1370, + "id": 862, "name": "ElementaryTypeName", - "src": "24647:6:1" + "src": "25333:6:0" } ], - "id": 1371, + "id": 863, "name": "VariableDeclaration", - "src": "24647:26:1" + "src": "25333:26:0" } ], - "id": 1372, + "id": 864, "name": "ParameterList", - "src": "24611:63:1" + "src": "25297:63:0" }, { "children": [ @@ -48656,7 +48656,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48668,19 +48668,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1373, + "id": 865, "name": "ElementaryTypeName", - "src": "24693:5:1" + "src": "25379:5:0" } ], - "id": 1374, + "id": 866, "name": "VariableDeclaration", - "src": "24693:12:1" + "src": "25379:12:0" } ], - "id": 1375, + "id": 867, "name": "ParameterList", - "src": "24692:14:1" + "src": "25378:14:0" }, { "children": [ @@ -48721,9 +48721,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1376, + "id": 868, "name": "Identifier", - "src": "24717:7:1" + "src": "25404:7:0" }, { "attributes": { @@ -48751,31 +48751,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1377, + "id": 869, "name": "Identifier", - "src": "24725:10:1" + "src": "25412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1378, + "id": 870, "name": "Identifier", - "src": "24736:6:1" + "src": "25423:6:0" } ], - "id": 1379, + "id": 871, "name": "FunctionCall", - "src": "24725:18:1" + "src": "25412:18:0" }, { "attributes": { @@ -48788,25 +48788,25 @@ "type": "literal_string \"Address: delegate call to non-contract\"", "value": "Address: delegate call to non-contract" }, - "id": 1380, + "id": 872, "name": "Literal", - "src": "24745:40:1" + "src": "25432:40:0" } ], - "id": 1381, + "id": 873, "name": "FunctionCall", - "src": "24717:69:1" + "src": "25404:69:0" } ], - "id": 1382, + "id": 874, "name": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "attributes": { "assignments": [ - 1384, - 1386 + 876, + 878 ] }, "children": [ @@ -48815,7 +48815,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48827,21 +48827,21 @@ "name": "bool", "type": "bool" }, - "id": 1383, + "id": 875, "name": "ElementaryTypeName", - "src": "24857:4:1" + "src": "25547:4:0" } ], - "id": 1384, + "id": 876, "name": "VariableDeclaration", - "src": "24857:12:1" + "src": "25547:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48853,14 +48853,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1385, + "id": 877, "name": "ElementaryTypeName", - "src": "24871:5:1" + "src": "25561:5:0" } ], - "id": 1386, + "id": 878, "name": "VariableDeclaration", - "src": "24871:23:1" + "src": "25561:23:0" }, { "attributes": { @@ -48898,45 +48898,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1387, + "id": 879, "name": "Identifier", - "src": "24898:6:1" + "src": "25588:6:0" } ], - "id": 1388, + "id": 880, "name": "MemberAccess", - "src": "24898:19:1" + "src": "25588:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1369, + "referencedDeclaration": 861, "type": "bytes memory", "value": "data" }, - "id": 1389, + "id": 881, "name": "Identifier", - "src": "24918:4:1" + "src": "25608:4:0" } ], - "id": 1390, + "id": 882, "name": "FunctionCall", - "src": "24898:25:1" + "src": "25588:25:0" } ], - "id": 1391, + "id": 883, "name": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "attributes": { - "functionReturnParameters": 1375 + "functionReturnParameters": 867 }, "children": [ { @@ -48973,72 +48973,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1392, + "id": 884, "name": "Identifier", - "src": "24940:17:1" + "src": "25631:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1384, + "referencedDeclaration": 876, "type": "bool", "value": "success" }, - "id": 1393, + "id": 885, "name": "Identifier", - "src": "24958:7:1" + "src": "25649:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1386, + "referencedDeclaration": 878, "type": "bytes memory", "value": "returndata" }, - "id": 1394, + "id": 886, "name": "Identifier", - "src": "24967:10:1" + "src": "25658:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1371, + "referencedDeclaration": 863, "type": "string memory", "value": "errorMessage" }, - "id": 1395, + "id": 887, "name": "Identifier", - "src": "24979:12:1" + "src": "25670:12:0" } ], - "id": 1396, + "id": 888, "name": "FunctionCall", - "src": "24940:52:1" + "src": "25631:52:0" } ], - "id": 1397, + "id": 889, "name": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ], - "id": 1398, + "id": 890, "name": "Block", - "src": "24707:292:1" + "src": "25393:298:0" } ], - "id": 1399, + "id": 891, "name": "FunctionDefinition", - "src": "24582:417:1" + "src": "25268:423:0" }, { "attributes": { @@ -49049,7 +49049,7 @@ null ], "name": "_verifyCallResult", - "scope": 1430, + "scope": 922, "stateMutability": "pure", "virtual": false, "visibility": "private" @@ -49062,7 +49062,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49074,21 +49074,21 @@ "name": "bool", "type": "bool" }, - "id": 1400, + "id": 892, "name": "ElementaryTypeName", - "src": "25032:4:1" + "src": "25726:4:0" } ], - "id": 1401, + "id": 893, "name": "VariableDeclaration", - "src": "25032:12:1" + "src": "25726:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49100,21 +49100,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1402, + "id": 894, "name": "ElementaryTypeName", - "src": "25046:5:1" + "src": "25740:5:0" } ], - "id": 1403, + "id": 895, "name": "VariableDeclaration", - "src": "25046:23:1" + "src": "25740:23:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -49126,19 +49126,19 @@ "name": "string", "type": "string" }, - "id": 1404, + "id": 896, "name": "ElementaryTypeName", - "src": "25071:6:1" + "src": "25765:6:0" } ], - "id": 1405, + "id": 897, "name": "VariableDeclaration", - "src": "25071:26:1" + "src": "25765:26:0" } ], - "id": 1406, + "id": 898, "name": "ParameterList", - "src": "25031:67:1" + "src": "25725:67:0" }, { "children": [ @@ -49147,7 +49147,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49159,19 +49159,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1407, + "id": 899, "name": "ElementaryTypeName", - "src": "25120:5:1" + "src": "25814:5:0" } ], - "id": 1408, + "id": 900, "name": "VariableDeclaration", - "src": "25120:12:1" + "src": "25814:12:0" } ], - "id": 1409, + "id": 901, "name": "ParameterList", - "src": "25119:14:1" + "src": "25813:14:0" }, { "children": [ @@ -49182,19 +49182,19 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1401, + "referencedDeclaration": 893, "type": "bool", "value": "success" }, - "id": 1410, + "id": 902, "name": "Identifier", - "src": "25148:7:1" + "src": "25843:7:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1409 + "functionReturnParameters": 901 }, "children": [ { @@ -49202,23 +49202,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1411, + "id": 903, "name": "Identifier", - "src": "25178:10:1" + "src": "25874:10:0" } ], - "id": 1412, + "id": 904, "name": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ], - "id": 1413, + "id": 905, "name": "Block", - "src": "25157:42:1" + "src": "25852:44:0" }, { "children": [ @@ -49253,18 +49253,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1414, + "id": 906, "name": "Identifier", - "src": "25289:10:1" + "src": "25988:10:0" } ], - "id": 1415, + "id": 907, "name": "MemberAccess", - "src": "25289:17:1" + "src": "25988:17:0" }, { "attributes": { @@ -49277,14 +49277,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1416, + "id": 908, "name": "Literal", - "src": "25309:1:1" + "src": "26008:1:0" } ], - "id": 1417, + "id": 909, "name": "BinaryOperation", - "src": "25289:21:1" + "src": "25988:21:0" }, { "children": [ @@ -49293,31 +49293,31 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], "operations": "{\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n}" }, "children": [], - "id": 1418, + "id": 910, "name": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ], - "id": 1419, + "id": 911, "name": "Block", - "src": "25312:343:1" + "src": "26011:351:0" }, { "children": [ @@ -49354,67 +49354,67 @@ "type": "function (string memory) pure", "value": "revert" }, - "id": 1420, + "id": 912, "name": "Identifier", - "src": "25679:6:1" + "src": "26387:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1405, + "referencedDeclaration": 897, "type": "string memory", "value": "errorMessage" }, - "id": 1421, + "id": 913, "name": "Identifier", - "src": "25686:12:1" + "src": "26394:12:0" } ], - "id": 1422, + "id": 914, "name": "FunctionCall", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1423, + "id": 915, "name": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1424, + "id": 916, "name": "Block", - "src": "25661:53:1" + "src": "26368:55:0" } ], - "id": 1425, + "id": 917, "name": "IfStatement", - "src": "25285:429:1" + "src": "25984:439:0" } ], - "id": 1426, + "id": 918, "name": "Block", - "src": "25205:519:1" + "src": "25902:532:0" } ], - "id": 1427, + "id": 919, "name": "IfStatement", - "src": "25144:580:1" + "src": "25839:595:0" } ], - "id": 1428, + "id": 920, "name": "Block", - "src": "25134:596:1" + "src": "25828:613:0" } ], - "id": 1429, + "id": 921, "name": "FunctionDefinition", - "src": "25005:725:1" + "src": "25699:742:0" } ], - "id": 1430, + "id": 922, "name": "ContractDefinition", - "src": "18048:7684:1" + "src": "18579:7865:0" }, { "attributes": { @@ -49428,9 +49428,9 @@ ".0" ] }, - "id": 1431, + "id": 923, "name": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "attributes": { @@ -49444,25 +49444,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, - "id": 1432, + "id": 924, "name": "StructuredDocumentation", - "src": "25824:686:1" + "src": "26541:709:0" }, { "attributes": { "canonicalName": "EnumerableSet.Set", "name": "Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -49471,7 +49471,7 @@ "constant": false, "mutability": "mutable", "name": "_values", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "bytes32[]", @@ -49488,26 +49488,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1433, + "id": 925, "name": "ElementaryTypeName", - "src": "27033:7:1" + "src": "27786:7:0" } ], - "id": 1434, + "id": 926, "name": "ArrayTypeName", - "src": "27033:9:1" + "src": "27786:9:0" } ], - "id": 1435, + "id": 927, "name": "VariableDeclaration", - "src": "27033:17:1" + "src": "27786:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -49524,33 +49524,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1436, + "id": 928, "name": "ElementaryTypeName", - "src": "27193:7:1" + "src": "27950:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1437, + "id": 929, "name": "ElementaryTypeName", - "src": "27204:7:1" + "src": "27961:7:0" } ], - "id": 1438, + "id": 930, "name": "Mapping", - "src": "27184:28:1" + "src": "27941:28:0" } ], - "id": 1439, + "id": 931, "name": "VariableDeclaration", - "src": "27184:37:1" + "src": "27941:37:0" } ], - "id": 1440, + "id": 932, "name": "StructDefinition", - "src": "26979:249:1" + "src": "27730:256:0" }, { "attributes": { @@ -49561,7 +49561,7 @@ null ], "name": "_add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -49571,9 +49571,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1441, + "id": 933, "name": "StructuredDocumentation", - "src": "27234:159:1" + "src": "27994:164:0" }, { "children": [ @@ -49582,7 +49582,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -49592,24 +49592,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1442, + "id": 934, "name": "UserDefinedTypeName", - "src": "27412:3:1" + "src": "28178:3:0" } ], - "id": 1443, + "id": 935, "name": "VariableDeclaration", - "src": "27412:15:1" + "src": "28178:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -49621,19 +49621,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1444, + "id": 936, "name": "ElementaryTypeName", - "src": "27429:7:1" + "src": "28195:7:0" } ], - "id": 1445, + "id": 937, "name": "VariableDeclaration", - "src": "27429:13:1" + "src": "28195:13:0" } ], - "id": 1446, + "id": 938, "name": "ParameterList", - "src": "27411:32:1" + "src": "28177:32:0" }, { "children": [ @@ -49642,7 +49642,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49654,19 +49654,19 @@ "name": "bool", "type": "bool" }, - "id": 1447, + "id": 939, "name": "ElementaryTypeName", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1448, + "id": 940, "name": "VariableDeclaration", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1449, + "id": 941, "name": "ParameterList", - "src": "27460:6:1" + "src": "28226:6:0" }, { "children": [ @@ -49702,7 +49702,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -49713,49 +49713,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1450, + "id": 942, "name": "Identifier", - "src": "27482:9:1" + "src": "28249:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1451, + "id": 943, "name": "Identifier", - "src": "27492:3:1" + "src": "28259:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1452, + "id": 944, "name": "Identifier", - "src": "27497:5:1" + "src": "28264:5:0" } ], - "id": 1453, + "id": 945, "name": "FunctionCall", - "src": "27482:21:1" + "src": "28249:21:0" } ], - "id": 1454, + "id": 946, "name": "UnaryOperation", - "src": "27481:22:1" + "src": "28248:22:0" }, { "children": [ @@ -49799,7 +49799,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -49808,46 +49808,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1455, + "id": 947, "name": "Identifier", - "src": "27519:3:1" + "src": "28287:3:0" } ], - "id": 1458, + "id": 950, "name": "MemberAccess", - "src": "27519:11:1" + "src": "28287:11:0" } ], - "id": 1459, + "id": 951, "name": "MemberAccess", - "src": "27519:16:1" + "src": "28287:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1460, + "id": 952, "name": "Identifier", - "src": "27536:5:1" + "src": "28304:5:0" } ], - "id": 1461, + "id": 953, "name": "FunctionCall", - "src": "27519:23:1" + "src": "28287:23:0" } ], - "id": 1462, + "id": 954, "name": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "children": [ @@ -49877,7 +49877,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -49886,36 +49886,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1463, + "id": 955, "name": "Identifier", - "src": "27677:3:1" + "src": "28448:3:0" } ], - "id": 1466, + "id": 958, "name": "MemberAccess", - "src": "27677:12:1" + "src": "28448:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1465, + "id": 957, "name": "Identifier", - "src": "27690:5:1" + "src": "28461:5:0" } ], - "id": 1467, + "id": 959, "name": "IndexAccess", - "src": "27677:19:1" + "src": "28448:19:0" }, { "attributes": { @@ -49934,7 +49934,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -49943,37 +49943,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1468, + "id": 960, "name": "Identifier", - "src": "27699:3:1" + "src": "28470:3:0" } ], - "id": 1469, + "id": 961, "name": "MemberAccess", - "src": "27699:11:1" + "src": "28470:11:0" } ], - "id": 1470, + "id": 962, "name": "MemberAccess", - "src": "27699:18:1" + "src": "28470:18:0" } ], - "id": 1471, + "id": 963, "name": "Assignment", - "src": "27677:40:1" + "src": "28448:40:0" } ], - "id": 1472, + "id": 964, "name": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -49987,25 +49987,25 @@ "type": "bool", "value": "true" }, - "id": 1473, + "id": 965, "name": "Literal", - "src": "27738:4:1" + "src": "28510:4:0" } ], - "id": 1474, + "id": 966, "name": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ], - "id": 1475, + "id": 967, "name": "Block", - "src": "27505:248:1" + "src": "28272:254:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -50019,34 +50019,34 @@ "type": "bool", "value": "false" }, - "id": 1476, + "id": 968, "name": "Literal", - "src": "27780:5:1" + "src": "28554:5:0" } ], - "id": 1477, + "id": 969, "name": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ], - "id": 1478, + "id": 970, "name": "Block", - "src": "27759:37:1" + "src": "28532:39:0" } ], - "id": 1479, + "id": 971, "name": "IfStatement", - "src": "27477:319:1" + "src": "28244:327:0" } ], - "id": 1480, + "id": 972, "name": "Block", - "src": "27467:335:1" + "src": "28233:345:0" } ], - "id": 1481, + "id": 973, "name": "FunctionDefinition", - "src": "27398:404:1" + "src": "28164:414:0" }, { "attributes": { @@ -50057,7 +50057,7 @@ null ], "name": "_remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -50067,9 +50067,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1482, + "id": 974, "name": "StructuredDocumentation", - "src": "27808:157:1" + "src": "28586:162:0" }, { "children": [ @@ -50078,7 +50078,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -50088,24 +50088,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1483, + "id": 975, "name": "UserDefinedTypeName", - "src": "27987:3:1" + "src": "28771:3:0" } ], - "id": 1484, + "id": 976, "name": "VariableDeclaration", - "src": "27987:15:1" + "src": "28771:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50117,19 +50117,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1485, + "id": 977, "name": "ElementaryTypeName", - "src": "28004:7:1" + "src": "28788:7:0" } ], - "id": 1486, + "id": 978, "name": "VariableDeclaration", - "src": "28004:13:1" + "src": "28788:13:0" } ], - "id": 1487, + "id": 979, "name": "ParameterList", - "src": "27986:32:1" + "src": "28770:32:0" }, { "children": [ @@ -50138,7 +50138,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -50150,26 +50150,26 @@ "name": "bool", "type": "bool" }, - "id": 1488, + "id": 980, "name": "ElementaryTypeName", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1489, + "id": 981, "name": "VariableDeclaration", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1490, + "id": 982, "name": "ParameterList", - "src": "28035:6:1" + "src": "28819:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1492 + 984 ] }, "children": [ @@ -50178,7 +50178,7 @@ "constant": false, "mutability": "mutable", "name": "valueIndex", - "scope": 1560, + "scope": 1052, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50190,14 +50190,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1491, + "id": 983, "name": "ElementaryTypeName", - "src": "28152:7:1" + "src": "28938:7:0" } ], - "id": 1492, + "id": 984, "name": "VariableDeclaration", - "src": "28152:18:1" + "src": "28938:18:0" }, { "attributes": { @@ -50215,7 +50215,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50224,41 +50224,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1493, + "id": 985, "name": "Identifier", - "src": "28173:3:1" + "src": "28959:3:0" } ], - "id": 1494, + "id": 986, "name": "MemberAccess", - "src": "28173:12:1" + "src": "28959:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1495, + "id": 987, "name": "Identifier", - "src": "28186:5:1" + "src": "28972:5:0" } ], - "id": 1496, + "id": 988, "name": "IndexAccess", - "src": "28173:19:1" + "src": "28959:19:0" } ], - "id": 1497, + "id": 989, "name": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "children": [ @@ -50281,13 +50281,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1498, + "id": 990, "name": "Identifier", - "src": "28207:10:1" + "src": "28995:10:0" }, { "attributes": { @@ -50300,21 +50300,21 @@ "type": "int_const 0", "value": "0" }, - "id": 1499, + "id": 991, "name": "Literal", - "src": "28221:1:1" + "src": "29009:1:0" } ], - "id": 1500, + "id": 992, "name": "BinaryOperation", - "src": "28207:15:1" + "src": "28995:15:0" }, { "children": [ { "attributes": { "assignments": [ - 1502 + 994 ] }, "children": [ @@ -50323,7 +50323,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50335,14 +50335,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1501, + "id": 993, "name": "ElementaryTypeName", - "src": "28564:7:1" + "src": "29357:7:0" } ], - "id": 1502, + "id": 994, "name": "VariableDeclaration", - "src": "28564:21:1" + "src": "29357:21:0" }, { "attributes": { @@ -50363,13 +50363,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1503, + "id": 995, "name": "Identifier", - "src": "28588:10:1" + "src": "29381:10:0" }, { "attributes": { @@ -50382,24 +50382,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1504, + "id": 996, "name": "Literal", - "src": "28601:1:1" + "src": "29394:1:0" } ], - "id": 1505, + "id": 997, "name": "BinaryOperation", - "src": "28588:14:1" + "src": "29381:14:0" } ], - "id": 1506, + "id": 998, "name": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "attributes": { "assignments": [ - 1508 + 1000 ] }, "children": [ @@ -50408,7 +50408,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50420,14 +50420,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1507, + "id": 999, "name": "ElementaryTypeName", - "src": "28616:7:1" + "src": "29410:7:0" } ], - "id": 1508, + "id": 1000, "name": "VariableDeclaration", - "src": "28616:17:1" + "src": "29410:17:0" }, { "attributes": { @@ -50460,7 +50460,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50469,23 +50469,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1509, + "id": 1001, "name": "Identifier", - "src": "28636:3:1" + "src": "29430:3:0" } ], - "id": 1510, + "id": 1002, "name": "MemberAccess", - "src": "28636:11:1" + "src": "29430:11:0" } ], - "id": 1511, + "id": 1003, "name": "MemberAccess", - "src": "28636:18:1" + "src": "29430:18:0" }, { "attributes": { @@ -50498,24 +50498,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1512, + "id": 1004, "name": "Literal", - "src": "28657:1:1" + "src": "29451:1:0" } ], - "id": 1513, + "id": 1005, "name": "BinaryOperation", - "src": "28636:22:1" + "src": "29430:22:0" } ], - "id": 1514, + "id": 1006, "name": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "attributes": { "assignments": [ - 1516 + 1008 ] }, "children": [ @@ -50524,7 +50524,7 @@ "constant": false, "mutability": "mutable", "name": "lastvalue", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50536,14 +50536,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1515, + "id": 1007, "name": "ElementaryTypeName", - "src": "28898:7:1" + "src": "29697:7:0" } ], - "id": 1516, + "id": 1008, "name": "VariableDeclaration", - "src": "28898:17:1" + "src": "29697:17:0" }, { "attributes": { @@ -50561,7 +50561,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50570,41 +50570,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1517, + "id": 1009, "name": "Identifier", - "src": "28918:3:1" + "src": "29717:3:0" } ], - "id": 1518, + "id": 1010, "name": "MemberAccess", - "src": "28918:11:1" + "src": "29717:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1508, + "referencedDeclaration": 1000, "type": "uint256", "value": "lastIndex" }, - "id": 1519, + "id": 1011, "name": "Identifier", - "src": "28930:9:1" + "src": "29729:9:0" } ], - "id": 1520, + "id": 1012, "name": "IndexAccess", - "src": "28918:22:1" + "src": "29717:22:0" } ], - "id": 1521, + "id": 1013, "name": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "children": [ @@ -50634,7 +50634,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50643,59 +50643,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1522, + "id": 1014, "name": "Identifier", - "src": "29032:3:1" + "src": "29834:3:0" } ], - "id": 1525, + "id": 1017, "name": "MemberAccess", - "src": "29032:11:1" + "src": "29834:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1524, + "id": 1016, "name": "Identifier", - "src": "29044:13:1" + "src": "29846:13:0" } ], - "id": 1526, + "id": 1018, "name": "IndexAccess", - "src": "29032:26:1" + "src": "29834:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1527, + "id": 1019, "name": "Identifier", - "src": "29061:9:1" + "src": "29863:9:0" } ], - "id": 1528, + "id": 1020, "name": "Assignment", - "src": "29032:38:1" + "src": "29834:38:0" } ], - "id": 1529, + "id": 1021, "name": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "children": [ @@ -50725,7 +50725,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50734,36 +50734,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1530, + "id": 1022, "name": "Identifier", - "src": "29136:3:1" + "src": "29940:3:0" } ], - "id": 1533, + "id": 1025, "name": "MemberAccess", - "src": "29136:12:1" + "src": "29940:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1532, + "id": 1024, "name": "Identifier", - "src": "29149:9:1" + "src": "29953:9:0" } ], - "id": 1534, + "id": 1026, "name": "IndexAccess", - "src": "29136:23:1" + "src": "29940:23:0" }, { "attributes": { @@ -50784,13 +50784,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1535, + "id": 1027, "name": "Identifier", - "src": "29162:13:1" + "src": "29966:13:0" }, { "attributes": { @@ -50803,24 +50803,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1536, + "id": 1028, "name": "Literal", - "src": "29178:1:1" + "src": "29982:1:0" } ], - "id": 1537, + "id": 1029, "name": "BinaryOperation", - "src": "29162:17:1" + "src": "29966:17:0" } ], - "id": 1538, + "id": 1030, "name": "Assignment", - "src": "29136:43:1" + "src": "29940:43:0" } ], - "id": 1539, + "id": 1031, "name": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "children": [ @@ -50862,7 +50862,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50871,33 +50871,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1540, + "id": 1032, "name": "Identifier", - "src": "29285:3:1" + "src": "30092:3:0" } ], - "id": 1543, + "id": 1035, "name": "MemberAccess", - "src": "29285:11:1" + "src": "30092:11:0" } ], - "id": 1544, + "id": 1036, "name": "MemberAccess", - "src": "29285:15:1" + "src": "30092:15:0" } ], - "id": 1545, + "id": 1037, "name": "FunctionCall", - "src": "29285:17:1" + "src": "30092:17:0" } ], - "id": 1546, + "id": 1038, "name": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "children": [ @@ -50928,7 +50928,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50937,50 +50937,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1547, + "id": 1039, "name": "Identifier", - "src": "29377:3:1" + "src": "30187:3:0" } ], - "id": 1548, + "id": 1040, "name": "MemberAccess", - "src": "29377:12:1" + "src": "30187:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1549, + "id": 1041, "name": "Identifier", - "src": "29390:5:1" + "src": "30200:5:0" } ], - "id": 1550, + "id": 1042, "name": "IndexAccess", - "src": "29377:19:1" + "src": "30187:19:0" } ], - "id": 1551, + "id": 1043, "name": "UnaryOperation", - "src": "29370:26:1" + "src": "30180:26:0" } ], - "id": 1552, + "id": 1044, "name": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -50994,25 +50994,25 @@ "type": "bool", "value": "true" }, - "id": 1553, + "id": 1045, "name": "Literal", - "src": "29418:4:1" + "src": "30230:4:0" } ], - "id": 1554, + "id": 1046, "name": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ], - "id": 1555, + "id": 1047, "name": "Block", - "src": "28224:1209:1" + "src": "29012:1234:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -51026,34 +51026,34 @@ "type": "bool", "value": "false" }, - "id": 1556, + "id": 1048, "name": "Literal", - "src": "29460:5:1" + "src": "30274:5:0" } ], - "id": 1557, + "id": 1049, "name": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ], - "id": 1558, + "id": 1050, "name": "Block", - "src": "29439:37:1" + "src": "30252:39:0" } ], - "id": 1559, + "id": 1051, "name": "IfStatement", - "src": "28203:1273:1" + "src": "28991:1300:0" } ], - "id": 1560, + "id": 1052, "name": "Block", - "src": "28042:1440:1" + "src": "28826:1472:0" } ], - "id": 1561, + "id": 1053, "name": "FunctionDefinition", - "src": "27970:1512:1" + "src": "28754:1544:0" }, { "attributes": { @@ -51064,7 +51064,7 @@ null ], "name": "_contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51074,9 +51074,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1562, + "id": 1054, "name": "StructuredDocumentation", - "src": "29488:70:1" + "src": "30306:72:0" }, { "children": [ @@ -51085,7 +51085,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51095,24 +51095,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1563, + "id": 1055, "name": "UserDefinedTypeName", - "src": "29582:3:1" + "src": "30403:3:0" } ], - "id": 1564, + "id": 1056, "name": "VariableDeclaration", - "src": "29582:15:1" + "src": "30403:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51124,19 +51124,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1565, + "id": 1057, "name": "ElementaryTypeName", - "src": "29599:7:1" + "src": "30420:7:0" } ], - "id": 1566, + "id": 1058, "name": "VariableDeclaration", - "src": "29599:13:1" + "src": "30420:13:0" } ], - "id": 1567, + "id": 1059, "name": "ParameterList", - "src": "29581:32:1" + "src": "30402:32:0" }, { "children": [ @@ -51145,7 +51145,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51157,25 +51157,25 @@ "name": "bool", "type": "bool" }, - "id": 1568, + "id": 1060, "name": "ElementaryTypeName", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1569, + "id": 1061, "name": "VariableDeclaration", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1570, + "id": 1062, "name": "ParameterList", - "src": "29635:6:1" + "src": "30456:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1570 + "functionReturnParameters": 1062 }, "children": [ { @@ -51208,7 +51208,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -51217,36 +51217,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1564, + "referencedDeclaration": 1056, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1571, + "id": 1063, "name": "Identifier", - "src": "29659:3:1" + "src": "30481:3:0" } ], - "id": 1572, + "id": 1064, "name": "MemberAccess", - "src": "29659:12:1" + "src": "30481:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1566, + "referencedDeclaration": 1058, "type": "bytes32", "value": "value" }, - "id": 1573, + "id": 1065, "name": "Identifier", - "src": "29672:5:1" + "src": "30494:5:0" } ], - "id": 1574, + "id": 1066, "name": "IndexAccess", - "src": "29659:19:1" + "src": "30481:19:0" }, { "attributes": { @@ -51259,29 +51259,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1575, + "id": 1067, "name": "Literal", - "src": "29682:1:1" + "src": "30504:1:0" } ], - "id": 1576, + "id": 1068, "name": "BinaryOperation", - "src": "29659:24:1" + "src": "30481:24:0" } ], - "id": 1577, + "id": 1069, "name": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ], - "id": 1578, + "id": 1070, "name": "Block", - "src": "29642:48:1" + "src": "30463:50:0" } ], - "id": 1579, + "id": 1071, "name": "FunctionDefinition", - "src": "29563:127:1" + "src": "30384:129:0" }, { "attributes": { @@ -51292,7 +51292,7 @@ null ], "name": "_length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51302,9 +51302,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1580, + "id": 1072, "name": "StructuredDocumentation", - "src": "29696:70:1" + "src": "30521:72:0" }, { "children": [ @@ -51313,7 +51313,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51323,22 +51323,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1581, + "id": 1073, "name": "UserDefinedTypeName", - "src": "29788:3:1" + "src": "30616:3:0" } ], - "id": 1582, + "id": 1074, "name": "VariableDeclaration", - "src": "29788:15:1" + "src": "30616:15:0" } ], - "id": 1583, + "id": 1075, "name": "ParameterList", - "src": "29787:17:1" + "src": "30615:17:0" }, { "children": [ @@ -51347,7 +51347,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51359,25 +51359,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1584, + "id": 1076, "name": "ElementaryTypeName", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1585, + "id": 1077, "name": "VariableDeclaration", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1586, + "id": 1078, "name": "ParameterList", - "src": "29826:9:1" + "src": "30654:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1586 + "functionReturnParameters": 1078 }, "children": [ { @@ -51397,7 +51397,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51406,38 +51406,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1582, + "referencedDeclaration": 1074, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1587, + "id": 1079, "name": "Identifier", - "src": "29853:3:1" + "src": "30682:3:0" } ], - "id": 1588, + "id": 1080, "name": "MemberAccess", - "src": "29853:11:1" + "src": "30682:11:0" } ], - "id": 1589, + "id": 1081, "name": "MemberAccess", - "src": "29853:18:1" + "src": "30682:18:0" } ], - "id": 1590, + "id": 1082, "name": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ], - "id": 1591, + "id": 1083, "name": "Block", - "src": "29836:42:1" + "src": "30664:44:0" } ], - "id": 1592, + "id": 1084, "name": "FunctionDefinition", - "src": "29771:107:1" + "src": "30599:109:0" }, { "attributes": { @@ -51448,7 +51448,7 @@ null ], "name": "_at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51458,9 +51458,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1593, + "id": 1085, "name": "StructuredDocumentation", - "src": "29883:322:1" + "src": "30715:331:0" }, { "children": [ @@ -51469,7 +51469,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51479,24 +51479,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1594, + "id": 1086, "name": "UserDefinedTypeName", - "src": "30223:3:1" + "src": "31065:3:0" } ], - "id": 1595, + "id": 1087, "name": "VariableDeclaration", - "src": "30223:15:1" + "src": "31065:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51508,19 +51508,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1596, + "id": 1088, "name": "ElementaryTypeName", - "src": "30240:7:1" + "src": "31082:7:0" } ], - "id": 1597, + "id": 1089, "name": "VariableDeclaration", - "src": "30240:13:1" + "src": "31082:13:0" } ], - "id": 1598, + "id": 1090, "name": "ParameterList", - "src": "30222:32:1" + "src": "31064:32:0" }, { "children": [ @@ -51529,7 +51529,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51541,19 +51541,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1599, + "id": 1091, "name": "ElementaryTypeName", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1600, + "id": 1092, "name": "VariableDeclaration", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1601, + "id": 1093, "name": "ParameterList", - "src": "30276:9:1" + "src": "31118:9:0" }, { "children": [ @@ -51594,9 +51594,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1602, + "id": 1094, "name": "Identifier", - "src": "30296:7:1" + "src": "31139:7:0" }, { "attributes": { @@ -51629,7 +51629,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51638,41 +51638,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1603, + "id": 1095, "name": "Identifier", - "src": "30304:3:1" + "src": "31147:3:0" } ], - "id": 1604, + "id": 1096, "name": "MemberAccess", - "src": "30304:11:1" + "src": "31147:11:0" } ], - "id": 1605, + "id": 1097, "name": "MemberAccess", - "src": "30304:18:1" + "src": "31147:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1606, + "id": 1098, "name": "Identifier", - "src": "30325:5:1" + "src": "31168:5:0" } ], - "id": 1607, + "id": 1099, "name": "BinaryOperation", - "src": "30304:26:1" + "src": "31147:26:0" }, { "attributes": { @@ -51685,23 +51685,23 @@ "type": "literal_string \"EnumerableSet: index out of bounds\"", "value": "EnumerableSet: index out of bounds" }, - "id": 1608, + "id": 1100, "name": "Literal", - "src": "30332:36:1" + "src": "31175:36:0" } ], - "id": 1609, + "id": 1101, "name": "FunctionCall", - "src": "30296:73:1" + "src": "31139:73:0" } ], - "id": 1610, + "id": 1102, "name": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "attributes": { - "functionReturnParameters": 1601 + "functionReturnParameters": 1093 }, "children": [ { @@ -51720,7 +51720,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51729,57 +51729,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1611, + "id": 1103, "name": "Identifier", - "src": "30386:3:1" + "src": "31230:3:0" } ], - "id": 1612, + "id": 1104, "name": "MemberAccess", - "src": "30386:11:1" + "src": "31230:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1613, + "id": 1105, "name": "Identifier", - "src": "30398:5:1" + "src": "31242:5:0" } ], - "id": 1614, + "id": 1106, "name": "IndexAccess", - "src": "30386:18:1" + "src": "31230:18:0" } ], - "id": 1615, + "id": 1107, "name": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ], - "id": 1616, + "id": 1108, "name": "Block", - "src": "30286:125:1" + "src": "31128:128:0" } ], - "id": 1617, + "id": 1109, "name": "FunctionDefinition", - "src": "30210:201:1" + "src": "31052:204:0" }, { "attributes": { "canonicalName": "EnumerableSet.Bytes32Set", "name": "Bytes32Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -51788,7 +51788,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1620, + "scope": 1112, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -51798,22 +51798,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1618, + "id": 1110, "name": "UserDefinedTypeName", - "src": "30464:3:1" + "src": "31314:3:0" } ], - "id": 1619, + "id": 1111, "name": "VariableDeclaration", - "src": "30464:10:1" + "src": "31314:10:0" } ], - "id": 1620, + "id": 1112, "name": "StructDefinition", - "src": "30436:45:1" + "src": "31285:47:0" }, { "attributes": { @@ -51824,7 +51824,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -51834,9 +51834,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1621, + "id": 1113, "name": "StructuredDocumentation", - "src": "30487:159:1" + "src": "31340:164:0" }, { "children": [ @@ -51845,7 +51845,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -51855,24 +51855,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1622, + "id": 1114, "name": "UserDefinedTypeName", - "src": "30664:10:1" + "src": "31523:10:0" } ], - "id": 1623, + "id": 1115, "name": "VariableDeclaration", - "src": "30664:22:1" + "src": "31523:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51884,19 +51884,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1624, + "id": 1116, "name": "ElementaryTypeName", - "src": "30688:7:1" + "src": "31547:7:0" } ], - "id": 1625, + "id": 1117, "name": "VariableDeclaration", - "src": "30688:13:1" + "src": "31547:13:0" } ], - "id": 1626, + "id": 1118, "name": "ParameterList", - "src": "30663:39:1" + "src": "31522:39:0" }, { "children": [ @@ -51905,7 +51905,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51917,25 +51917,25 @@ "name": "bool", "type": "bool" }, - "id": 1627, + "id": 1119, "name": "ElementaryTypeName", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1628, + "id": 1120, "name": "VariableDeclaration", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1629, + "id": 1121, "name": "ParameterList", - "src": "30720:6:1" + "src": "31579:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1629 + "functionReturnParameters": 1121 }, "children": [ { @@ -51957,7 +51957,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -51968,13 +51968,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1630, + "id": 1122, "name": "Identifier", - "src": "30744:4:1" + "src": "31604:4:0" }, { "attributes": { @@ -51983,7 +51983,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -51992,51 +51992,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1623, + "referencedDeclaration": 1115, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1631, + "id": 1123, "name": "Identifier", - "src": "30749:3:1" + "src": "31609:3:0" } ], - "id": 1632, + "id": 1124, "name": "MemberAccess", - "src": "30749:10:1" + "src": "31609:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1625, + "referencedDeclaration": 1117, "type": "bytes32", "value": "value" }, - "id": 1633, + "id": 1125, "name": "Identifier", - "src": "30761:5:1" + "src": "31621:5:0" } ], - "id": 1634, + "id": 1126, "name": "FunctionCall", - "src": "30744:23:1" + "src": "31604:23:0" } ], - "id": 1635, + "id": 1127, "name": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ], - "id": 1636, + "id": 1128, "name": "Block", - "src": "30727:47:1" + "src": "31586:49:0" } ], - "id": 1637, + "id": 1129, "name": "FunctionDefinition", - "src": "30651:123:1" + "src": "31510:125:0" }, { "attributes": { @@ -52047,7 +52047,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52057,9 +52057,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1638, + "id": 1130, "name": "StructuredDocumentation", - "src": "30780:157:1" + "src": "31643:162:0" }, { "children": [ @@ -52068,7 +52068,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52078,24 +52078,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1639, + "id": 1131, "name": "UserDefinedTypeName", - "src": "30958:10:1" + "src": "31827:10:0" } ], - "id": 1640, + "id": 1132, "name": "VariableDeclaration", - "src": "30958:22:1" + "src": "31827:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52107,19 +52107,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1641, + "id": 1133, "name": "ElementaryTypeName", - "src": "30982:7:1" + "src": "31851:7:0" } ], - "id": 1642, + "id": 1134, "name": "VariableDeclaration", - "src": "30982:13:1" + "src": "31851:13:0" } ], - "id": 1643, + "id": 1135, "name": "ParameterList", - "src": "30957:39:1" + "src": "31826:39:0" }, { "children": [ @@ -52128,7 +52128,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52140,25 +52140,25 @@ "name": "bool", "type": "bool" }, - "id": 1644, + "id": 1136, "name": "ElementaryTypeName", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1645, + "id": 1137, "name": "VariableDeclaration", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1646, + "id": 1138, "name": "ParameterList", - "src": "31014:6:1" + "src": "31883:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1646 + "functionReturnParameters": 1138 }, "children": [ { @@ -52180,7 +52180,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52191,13 +52191,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1647, + "id": 1139, "name": "Identifier", - "src": "31038:7:1" + "src": "31908:7:0" }, { "attributes": { @@ -52206,7 +52206,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52215,51 +52215,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1640, + "referencedDeclaration": 1132, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1648, + "id": 1140, "name": "Identifier", - "src": "31046:3:1" + "src": "31916:3:0" } ], - "id": 1649, + "id": 1141, "name": "MemberAccess", - "src": "31046:10:1" + "src": "31916:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1642, + "referencedDeclaration": 1134, "type": "bytes32", "value": "value" }, - "id": 1650, + "id": 1142, "name": "Identifier", - "src": "31058:5:1" + "src": "31928:5:0" } ], - "id": 1651, + "id": 1143, "name": "FunctionCall", - "src": "31038:26:1" + "src": "31908:26:0" } ], - "id": 1652, + "id": 1144, "name": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ], - "id": 1653, + "id": 1145, "name": "Block", - "src": "31021:50:1" + "src": "31890:52:0" } ], - "id": 1654, + "id": 1146, "name": "FunctionDefinition", - "src": "30942:129:1" + "src": "31811:131:0" }, { "attributes": { @@ -52270,7 +52270,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52280,9 +52280,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1655, + "id": 1147, "name": "StructuredDocumentation", - "src": "31077:70:1" + "src": "31950:72:0" }, { "children": [ @@ -52291,7 +52291,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52301,24 +52301,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1656, + "id": 1148, "name": "UserDefinedTypeName", - "src": "31170:10:1" + "src": "32046:10:0" } ], - "id": 1657, + "id": 1149, "name": "VariableDeclaration", - "src": "31170:22:1" + "src": "32046:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52330,19 +52330,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1658, + "id": 1150, "name": "ElementaryTypeName", - "src": "31194:7:1" + "src": "32070:7:0" } ], - "id": 1659, + "id": 1151, "name": "VariableDeclaration", - "src": "31194:13:1" + "src": "32070:13:0" } ], - "id": 1660, + "id": 1152, "name": "ParameterList", - "src": "31169:39:1" + "src": "32045:39:0" }, { "children": [ @@ -52351,7 +52351,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52363,25 +52363,25 @@ "name": "bool", "type": "bool" }, - "id": 1661, + "id": 1153, "name": "ElementaryTypeName", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1662, + "id": 1154, "name": "VariableDeclaration", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1663, + "id": 1155, "name": "ParameterList", - "src": "31231:6:1" + "src": "32107:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1663 + "functionReturnParameters": 1155 }, "children": [ { @@ -52403,7 +52403,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52414,13 +52414,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1664, + "id": 1156, "name": "Identifier", - "src": "31255:9:1" + "src": "32132:9:0" }, { "attributes": { @@ -52429,7 +52429,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52438,51 +52438,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1657, + "referencedDeclaration": 1149, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1665, + "id": 1157, "name": "Identifier", - "src": "31265:3:1" + "src": "32142:3:0" } ], - "id": 1666, + "id": 1158, "name": "MemberAccess", - "src": "31265:10:1" + "src": "32142:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1659, + "referencedDeclaration": 1151, "type": "bytes32", "value": "value" }, - "id": 1667, + "id": 1159, "name": "Identifier", - "src": "31277:5:1" + "src": "32154:5:0" } ], - "id": 1668, + "id": 1160, "name": "FunctionCall", - "src": "31255:28:1" + "src": "32132:28:0" } ], - "id": 1669, + "id": 1161, "name": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ], - "id": 1670, + "id": 1162, "name": "Block", - "src": "31238:52:1" + "src": "32114:54:0" } ], - "id": 1671, + "id": 1163, "name": "FunctionDefinition", - "src": "31152:138:1" + "src": "32028:140:0" }, { "attributes": { @@ -52493,7 +52493,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52503,9 +52503,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1672, + "id": 1164, "name": "StructuredDocumentation", - "src": "31296:70:1" + "src": "32176:72:0" }, { "children": [ @@ -52514,7 +52514,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52524,22 +52524,22 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1673, + "id": 1165, "name": "UserDefinedTypeName", - "src": "31387:10:1" + "src": "32270:10:0" } ], - "id": 1674, + "id": 1166, "name": "VariableDeclaration", - "src": "31387:22:1" + "src": "32270:22:0" } ], - "id": 1675, + "id": 1167, "name": "ParameterList", - "src": "31386:24:1" + "src": "32269:24:0" }, { "children": [ @@ -52548,7 +52548,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52560,25 +52560,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1676, + "id": 1168, "name": "ElementaryTypeName", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1677, + "id": 1169, "name": "VariableDeclaration", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1678, + "id": 1170, "name": "ParameterList", - "src": "31433:9:1" + "src": "32316:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1678 + "functionReturnParameters": 1170 }, "children": [ { @@ -52600,20 +52600,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1679, + "id": 1171, "name": "Identifier", - "src": "31460:7:1" + "src": "32344:7:0" }, { "attributes": { @@ -52622,7 +52622,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52631,38 +52631,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1674, + "referencedDeclaration": 1166, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1680, + "id": 1172, "name": "Identifier", - "src": "31468:3:1" + "src": "32352:3:0" } ], - "id": 1681, + "id": 1173, "name": "MemberAccess", - "src": "31468:10:1" + "src": "32352:10:0" } ], - "id": 1682, + "id": 1174, "name": "FunctionCall", - "src": "31460:19:1" + "src": "32344:19:0" } ], - "id": 1683, + "id": 1175, "name": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ], - "id": 1684, + "id": 1176, "name": "Block", - "src": "31443:43:1" + "src": "32326:45:0" } ], - "id": 1685, + "id": 1177, "name": "FunctionDefinition", - "src": "31371:115:1" + "src": "32254:117:0" }, { "attributes": { @@ -52673,7 +52673,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52683,9 +52683,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1686, + "id": 1178, "name": "StructuredDocumentation", - "src": "31491:322:1" + "src": "32378:331:0" }, { "children": [ @@ -52694,7 +52694,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52704,24 +52704,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1687, + "id": 1179, "name": "UserDefinedTypeName", - "src": "31830:10:1" + "src": "32727:10:0" } ], - "id": 1688, + "id": 1180, "name": "VariableDeclaration", - "src": "31830:22:1" + "src": "32727:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52733,19 +52733,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1689, + "id": 1181, "name": "ElementaryTypeName", - "src": "31854:7:1" + "src": "32751:7:0" } ], - "id": 1690, + "id": 1182, "name": "VariableDeclaration", - "src": "31854:13:1" + "src": "32751:13:0" } ], - "id": 1691, + "id": 1183, "name": "ParameterList", - "src": "31829:39:1" + "src": "32726:39:0" }, { "children": [ @@ -52754,7 +52754,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52766,25 +52766,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1692, + "id": 1184, "name": "ElementaryTypeName", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1693, + "id": 1185, "name": "VariableDeclaration", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1694, + "id": 1186, "name": "ParameterList", - "src": "31891:9:1" + "src": "32788:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1694 + "functionReturnParameters": 1186 }, "children": [ { @@ -52806,7 +52806,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52817,13 +52817,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1695, + "id": 1187, "name": "Identifier", - "src": "31918:3:1" + "src": "32816:3:0" }, { "attributes": { @@ -52832,7 +52832,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52841,57 +52841,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1688, + "referencedDeclaration": 1180, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1696, + "id": 1188, "name": "Identifier", - "src": "31922:3:1" + "src": "32820:3:0" } ], - "id": 1697, + "id": 1189, "name": "MemberAccess", - "src": "31922:10:1" + "src": "32820:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1690, + "referencedDeclaration": 1182, "type": "uint256", "value": "index" }, - "id": 1698, + "id": 1190, "name": "Identifier", - "src": "31934:5:1" + "src": "32832:5:0" } ], - "id": 1699, + "id": 1191, "name": "FunctionCall", - "src": "31918:22:1" + "src": "32816:22:0" } ], - "id": 1700, + "id": 1192, "name": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ], - "id": 1701, + "id": 1193, "name": "Block", - "src": "31901:46:1" + "src": "32798:48:0" } ], - "id": 1702, + "id": 1194, "name": "FunctionDefinition", - "src": "31818:129:1" + "src": "32715:131:0" }, { "attributes": { "canonicalName": "EnumerableSet.AddressSet", "name": "AddressSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -52900,7 +52900,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1705, + "scope": 1197, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -52910,22 +52910,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1703, + "id": 1195, "name": "UserDefinedTypeName", - "src": "32000:3:1" + "src": "32904:3:0" } ], - "id": 1704, + "id": 1196, "name": "VariableDeclaration", - "src": "32000:10:1" + "src": "32904:10:0" } ], - "id": 1705, + "id": 1197, "name": "StructDefinition", - "src": "31972:45:1" + "src": "32875:47:0" }, { "attributes": { @@ -52936,7 +52936,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52946,9 +52946,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1706, + "id": 1198, "name": "StructuredDocumentation", - "src": "32023:159:1" + "src": "32930:164:0" }, { "children": [ @@ -52957,7 +52957,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -52967,24 +52967,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1707, + "id": 1199, "name": "UserDefinedTypeName", - "src": "32200:10:1" + "src": "33113:10:0" } ], - "id": 1708, + "id": 1200, "name": "VariableDeclaration", - "src": "32200:22:1" + "src": "33113:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -52997,19 +52997,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1709, + "id": 1201, "name": "ElementaryTypeName", - "src": "32224:7:1" + "src": "33137:7:0" } ], - "id": 1710, + "id": 1202, "name": "VariableDeclaration", - "src": "32224:13:1" + "src": "33137:13:0" } ], - "id": 1711, + "id": 1203, "name": "ParameterList", - "src": "32199:39:1" + "src": "33112:39:0" }, { "children": [ @@ -53018,7 +53018,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53030,25 +53030,25 @@ "name": "bool", "type": "bool" }, - "id": 1712, + "id": 1204, "name": "ElementaryTypeName", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1713, + "id": 1205, "name": "VariableDeclaration", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1714, + "id": 1206, "name": "ParameterList", - "src": "32256:6:1" + "src": "33169:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1714 + "functionReturnParameters": 1206 }, "children": [ { @@ -53070,7 +53070,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53081,13 +53081,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1715, + "id": 1207, "name": "Identifier", - "src": "32280:4:1" + "src": "33194:4:0" }, { "attributes": { @@ -53096,7 +53096,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53105,18 +53105,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1708, + "referencedDeclaration": 1200, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1716, + "id": 1208, "name": "Identifier", - "src": "32285:3:1" + "src": "33199:3:0" } ], - "id": 1717, + "id": 1209, "name": "MemberAccess", - "src": "32285:10:1" + "src": "33199:10:0" }, { "attributes": { @@ -53152,14 +53152,14 @@ "attributes": { "name": "bytes32" }, - "id": 1718, + "id": 1210, "name": "ElementaryTypeName", - "src": "32297:7:1" + "src": "33211:7:0" } ], - "id": 1719, + "id": 1211, "name": "ElementaryTypeNameExpression", - "src": "32297:7:1" + "src": "33211:7:0" }, { "attributes": { @@ -53195,14 +53195,14 @@ "attributes": { "name": "uint256" }, - "id": 1720, + "id": 1212, "name": "ElementaryTypeName", - "src": "32305:7:1" + "src": "33219:7:0" } ], - "id": 1721, + "id": 1213, "name": "ElementaryTypeNameExpression", - "src": "32305:7:1" + "src": "33219:7:0" }, { "attributes": { @@ -53238,62 +53238,62 @@ "attributes": { "name": "uint160" }, - "id": 1722, + "id": 1214, "name": "ElementaryTypeName", - "src": "32313:7:1" + "src": "33227:7:0" } ], - "id": 1723, + "id": 1215, "name": "ElementaryTypeNameExpression", - "src": "32313:7:1" + "src": "33227:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1710, + "referencedDeclaration": 1202, "type": "address", "value": "value" }, - "id": 1724, + "id": 1216, "name": "Identifier", - "src": "32321:5:1" + "src": "33235:5:0" } ], - "id": 1725, + "id": 1217, "name": "FunctionCall", - "src": "32313:14:1" + "src": "33227:14:0" } ], - "id": 1726, + "id": 1218, "name": "FunctionCall", - "src": "32305:23:1" + "src": "33219:23:0" } ], - "id": 1727, + "id": 1219, "name": "FunctionCall", - "src": "32297:32:1" + "src": "33211:32:0" } ], - "id": 1728, + "id": 1220, "name": "FunctionCall", - "src": "32280:50:1" + "src": "33194:50:0" } ], - "id": 1729, + "id": 1221, "name": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ], - "id": 1730, + "id": 1222, "name": "Block", - "src": "32263:74:1" + "src": "33176:76:0" } ], - "id": 1731, + "id": 1223, "name": "FunctionDefinition", - "src": "32187:150:1" + "src": "33100:152:0" }, { "attributes": { @@ -53304,7 +53304,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -53314,9 +53314,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1732, + "id": 1224, "name": "StructuredDocumentation", - "src": "32343:157:1" + "src": "33260:162:0" }, { "children": [ @@ -53325,7 +53325,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53335,24 +53335,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1733, + "id": 1225, "name": "UserDefinedTypeName", - "src": "32521:10:1" + "src": "33444:10:0" } ], - "id": 1734, + "id": 1226, "name": "VariableDeclaration", - "src": "32521:22:1" + "src": "33444:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53365,19 +53365,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1735, + "id": 1227, "name": "ElementaryTypeName", - "src": "32545:7:1" + "src": "33468:7:0" } ], - "id": 1736, + "id": 1228, "name": "VariableDeclaration", - "src": "32545:13:1" + "src": "33468:13:0" } ], - "id": 1737, + "id": 1229, "name": "ParameterList", - "src": "32520:39:1" + "src": "33443:39:0" }, { "children": [ @@ -53386,7 +53386,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53398,25 +53398,25 @@ "name": "bool", "type": "bool" }, - "id": 1738, + "id": 1230, "name": "ElementaryTypeName", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1739, + "id": 1231, "name": "VariableDeclaration", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1740, + "id": 1232, "name": "ParameterList", - "src": "32577:6:1" + "src": "33500:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1740 + "functionReturnParameters": 1232 }, "children": [ { @@ -53438,7 +53438,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53449,13 +53449,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1741, + "id": 1233, "name": "Identifier", - "src": "32601:7:1" + "src": "33525:7:0" }, { "attributes": { @@ -53464,7 +53464,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53473,18 +53473,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1734, + "referencedDeclaration": 1226, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1742, + "id": 1234, "name": "Identifier", - "src": "32609:3:1" + "src": "33533:3:0" } ], - "id": 1743, + "id": 1235, "name": "MemberAccess", - "src": "32609:10:1" + "src": "33533:10:0" }, { "attributes": { @@ -53520,14 +53520,14 @@ "attributes": { "name": "bytes32" }, - "id": 1744, + "id": 1236, "name": "ElementaryTypeName", - "src": "32621:7:1" + "src": "33545:7:0" } ], - "id": 1745, + "id": 1237, "name": "ElementaryTypeNameExpression", - "src": "32621:7:1" + "src": "33545:7:0" }, { "attributes": { @@ -53563,14 +53563,14 @@ "attributes": { "name": "uint256" }, - "id": 1746, + "id": 1238, "name": "ElementaryTypeName", - "src": "32629:7:1" + "src": "33553:7:0" } ], - "id": 1747, + "id": 1239, "name": "ElementaryTypeNameExpression", - "src": "32629:7:1" + "src": "33553:7:0" }, { "attributes": { @@ -53606,62 +53606,62 @@ "attributes": { "name": "uint160" }, - "id": 1748, + "id": 1240, "name": "ElementaryTypeName", - "src": "32637:7:1" + "src": "33561:7:0" } ], - "id": 1749, + "id": 1241, "name": "ElementaryTypeNameExpression", - "src": "32637:7:1" + "src": "33561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1736, + "referencedDeclaration": 1228, "type": "address", "value": "value" }, - "id": 1750, + "id": 1242, "name": "Identifier", - "src": "32645:5:1" + "src": "33569:5:0" } ], - "id": 1751, + "id": 1243, "name": "FunctionCall", - "src": "32637:14:1" + "src": "33561:14:0" } ], - "id": 1752, + "id": 1244, "name": "FunctionCall", - "src": "32629:23:1" + "src": "33553:23:0" } ], - "id": 1753, + "id": 1245, "name": "FunctionCall", - "src": "32621:32:1" + "src": "33545:32:0" } ], - "id": 1754, + "id": 1246, "name": "FunctionCall", - "src": "32601:53:1" + "src": "33525:53:0" } ], - "id": 1755, + "id": 1247, "name": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ], - "id": 1756, + "id": 1248, "name": "Block", - "src": "32584:77:1" + "src": "33507:79:0" } ], - "id": 1757, + "id": 1249, "name": "FunctionDefinition", - "src": "32505:156:1" + "src": "33428:158:0" }, { "attributes": { @@ -53672,7 +53672,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -53682,9 +53682,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1758, + "id": 1250, "name": "StructuredDocumentation", - "src": "32667:70:1" + "src": "33594:72:0" }, { "children": [ @@ -53693,7 +53693,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53703,24 +53703,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1759, + "id": 1251, "name": "UserDefinedTypeName", - "src": "32760:10:1" + "src": "33690:10:0" } ], - "id": 1760, + "id": 1252, "name": "VariableDeclaration", - "src": "32760:22:1" + "src": "33690:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53733,19 +53733,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1761, + "id": 1253, "name": "ElementaryTypeName", - "src": "32784:7:1" + "src": "33714:7:0" } ], - "id": 1762, + "id": 1254, "name": "VariableDeclaration", - "src": "32784:13:1" + "src": "33714:13:0" } ], - "id": 1763, + "id": 1255, "name": "ParameterList", - "src": "32759:39:1" + "src": "33689:39:0" }, { "children": [ @@ -53754,7 +53754,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53766,25 +53766,25 @@ "name": "bool", "type": "bool" }, - "id": 1764, + "id": 1256, "name": "ElementaryTypeName", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1765, + "id": 1257, "name": "VariableDeclaration", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1766, + "id": 1258, "name": "ParameterList", - "src": "32821:6:1" + "src": "33751:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1766 + "functionReturnParameters": 1258 }, "children": [ { @@ -53806,7 +53806,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53817,13 +53817,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1767, + "id": 1259, "name": "Identifier", - "src": "32845:9:1" + "src": "33776:9:0" }, { "attributes": { @@ -53832,7 +53832,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53841,18 +53841,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1760, + "referencedDeclaration": 1252, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1768, + "id": 1260, "name": "Identifier", - "src": "32855:3:1" + "src": "33786:3:0" } ], - "id": 1769, + "id": 1261, "name": "MemberAccess", - "src": "32855:10:1" + "src": "33786:10:0" }, { "attributes": { @@ -53888,14 +53888,14 @@ "attributes": { "name": "bytes32" }, - "id": 1770, + "id": 1262, "name": "ElementaryTypeName", - "src": "32867:7:1" + "src": "33798:7:0" } ], - "id": 1771, + "id": 1263, "name": "ElementaryTypeNameExpression", - "src": "32867:7:1" + "src": "33798:7:0" }, { "attributes": { @@ -53931,14 +53931,14 @@ "attributes": { "name": "uint256" }, - "id": 1772, + "id": 1264, "name": "ElementaryTypeName", - "src": "32875:7:1" + "src": "33806:7:0" } ], - "id": 1773, + "id": 1265, "name": "ElementaryTypeNameExpression", - "src": "32875:7:1" + "src": "33806:7:0" }, { "attributes": { @@ -53974,62 +53974,62 @@ "attributes": { "name": "uint160" }, - "id": 1774, + "id": 1266, "name": "ElementaryTypeName", - "src": "32883:7:1" + "src": "33814:7:0" } ], - "id": 1775, + "id": 1267, "name": "ElementaryTypeNameExpression", - "src": "32883:7:1" + "src": "33814:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1762, + "referencedDeclaration": 1254, "type": "address", "value": "value" }, - "id": 1776, + "id": 1268, "name": "Identifier", - "src": "32891:5:1" + "src": "33822:5:0" } ], - "id": 1777, + "id": 1269, "name": "FunctionCall", - "src": "32883:14:1" + "src": "33814:14:0" } ], - "id": 1778, + "id": 1270, "name": "FunctionCall", - "src": "32875:23:1" + "src": "33806:23:0" } ], - "id": 1779, + "id": 1271, "name": "FunctionCall", - "src": "32867:32:1" + "src": "33798:32:0" } ], - "id": 1780, + "id": 1272, "name": "FunctionCall", - "src": "32845:55:1" + "src": "33776:55:0" } ], - "id": 1781, + "id": 1273, "name": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ], - "id": 1782, + "id": 1274, "name": "Block", - "src": "32828:79:1" + "src": "33758:81:0" } ], - "id": 1783, + "id": 1275, "name": "FunctionDefinition", - "src": "32742:165:1" + "src": "33672:167:0" }, { "attributes": { @@ -54040,7 +54040,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54050,9 +54050,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1784, + "id": 1276, "name": "StructuredDocumentation", - "src": "32913:70:1" + "src": "33847:72:0" }, { "children": [ @@ -54061,7 +54061,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54071,22 +54071,22 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1785, + "id": 1277, "name": "UserDefinedTypeName", - "src": "33004:10:1" + "src": "33941:10:0" } ], - "id": 1786, + "id": 1278, "name": "VariableDeclaration", - "src": "33004:22:1" + "src": "33941:22:0" } ], - "id": 1787, + "id": 1279, "name": "ParameterList", - "src": "33003:24:1" + "src": "33940:24:0" }, { "children": [ @@ -54095,7 +54095,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54107,25 +54107,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1788, + "id": 1280, "name": "ElementaryTypeName", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1789, + "id": 1281, "name": "VariableDeclaration", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1790, + "id": 1282, "name": "ParameterList", - "src": "33050:9:1" + "src": "33987:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1790 + "functionReturnParameters": 1282 }, "children": [ { @@ -54147,20 +54147,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1791, + "id": 1283, "name": "Identifier", - "src": "33077:7:1" + "src": "34015:7:0" }, { "attributes": { @@ -54169,7 +54169,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54178,38 +54178,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1786, + "referencedDeclaration": 1278, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1792, + "id": 1284, "name": "Identifier", - "src": "33085:3:1" + "src": "34023:3:0" } ], - "id": 1793, + "id": 1285, "name": "MemberAccess", - "src": "33085:10:1" + "src": "34023:10:0" } ], - "id": 1794, + "id": 1286, "name": "FunctionCall", - "src": "33077:19:1" + "src": "34015:19:0" } ], - "id": 1795, + "id": 1287, "name": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ], - "id": 1796, + "id": 1288, "name": "Block", - "src": "33060:43:1" + "src": "33997:45:0" } ], - "id": 1797, + "id": 1289, "name": "FunctionDefinition", - "src": "32988:115:1" + "src": "33925:117:0" }, { "attributes": { @@ -54220,7 +54220,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54230,9 +54230,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1798, + "id": 1290, "name": "StructuredDocumentation", - "src": "33108:322:1" + "src": "34049:331:0" }, { "children": [ @@ -54241,7 +54241,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54251,24 +54251,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1799, + "id": 1291, "name": "UserDefinedTypeName", - "src": "33447:10:1" + "src": "34398:10:0" } ], - "id": 1800, + "id": 1292, "name": "VariableDeclaration", - "src": "33447:22:1" + "src": "34398:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54280,19 +54280,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1801, + "id": 1293, "name": "ElementaryTypeName", - "src": "33471:7:1" + "src": "34422:7:0" } ], - "id": 1802, + "id": 1294, "name": "VariableDeclaration", - "src": "33471:13:1" + "src": "34422:13:0" } ], - "id": 1803, + "id": 1295, "name": "ParameterList", - "src": "33446:39:1" + "src": "34397:39:0" }, { "children": [ @@ -54301,7 +54301,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -54314,25 +54314,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1804, + "id": 1296, "name": "ElementaryTypeName", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1805, + "id": 1297, "name": "VariableDeclaration", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1806, + "id": 1298, "name": "ParameterList", - "src": "33508:9:1" + "src": "34459:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1806 + "functionReturnParameters": 1298 }, "children": [ { @@ -54369,14 +54369,14 @@ "attributes": { "name": "address" }, - "id": 1807, + "id": 1299, "name": "ElementaryTypeName", - "src": "33535:7:1" + "src": "34487:7:0" } ], - "id": 1808, + "id": 1300, "name": "ElementaryTypeNameExpression", - "src": "33535:7:1" + "src": "34487:7:0" }, { "attributes": { @@ -54412,14 +54412,14 @@ "attributes": { "name": "uint160" }, - "id": 1809, + "id": 1301, "name": "ElementaryTypeName", - "src": "33543:7:1" + "src": "34495:7:0" } ], - "id": 1810, + "id": 1302, "name": "ElementaryTypeNameExpression", - "src": "33543:7:1" + "src": "34495:7:0" }, { "attributes": { @@ -54455,14 +54455,14 @@ "attributes": { "name": "uint256" }, - "id": 1811, + "id": 1303, "name": "ElementaryTypeName", - "src": "33551:7:1" + "src": "34503:7:0" } ], - "id": 1812, + "id": 1304, "name": "ElementaryTypeNameExpression", - "src": "33551:7:1" + "src": "34503:7:0" }, { "attributes": { @@ -54483,7 +54483,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54494,13 +54494,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1813, + "id": 1305, "name": "Identifier", - "src": "33559:3:1" + "src": "34511:3:0" }, { "attributes": { @@ -54509,7 +54509,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54518,72 +54518,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1800, + "referencedDeclaration": 1292, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1814, + "id": 1306, "name": "Identifier", - "src": "33563:3:1" + "src": "34515:3:0" } ], - "id": 1815, + "id": 1307, "name": "MemberAccess", - "src": "33563:10:1" + "src": "34515:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1802, + "referencedDeclaration": 1294, "type": "uint256", "value": "index" }, - "id": 1816, + "id": 1308, "name": "Identifier", - "src": "33575:5:1" + "src": "34527:5:0" } ], - "id": 1817, + "id": 1309, "name": "FunctionCall", - "src": "33559:22:1" + "src": "34511:22:0" } ], - "id": 1818, + "id": 1310, "name": "FunctionCall", - "src": "33551:31:1" + "src": "34503:31:0" } ], - "id": 1819, + "id": 1311, "name": "FunctionCall", - "src": "33543:40:1" + "src": "34495:40:0" } ], - "id": 1820, + "id": 1312, "name": "FunctionCall", - "src": "33535:49:1" + "src": "34487:49:0" } ], - "id": 1821, + "id": 1313, "name": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ], - "id": 1822, + "id": 1314, "name": "Block", - "src": "33518:73:1" + "src": "34469:75:0" } ], - "id": 1823, + "id": 1315, "name": "FunctionDefinition", - "src": "33435:156:1" + "src": "34386:158:0" }, { "attributes": { "canonicalName": "EnumerableSet.UintSet", "name": "UintSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -54592,7 +54592,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1826, + "scope": 1318, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -54602,22 +54602,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1824, + "id": 1316, "name": "UserDefinedTypeName", - "src": "33639:3:1" + "src": "34598:3:0" } ], - "id": 1825, + "id": 1317, "name": "VariableDeclaration", - "src": "33639:10:1" + "src": "34598:10:0" } ], - "id": 1826, + "id": 1318, "name": "StructDefinition", - "src": "33614:42:1" + "src": "34572:44:0" }, { "attributes": { @@ -54628,7 +54628,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -54638,9 +54638,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1827, + "id": 1319, "name": "StructuredDocumentation", - "src": "33662:159:1" + "src": "34624:164:0" }, { "children": [ @@ -54649,7 +54649,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -54659,24 +54659,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1828, + "id": 1320, "name": "UserDefinedTypeName", - "src": "33839:7:1" + "src": "34807:7:0" } ], - "id": 1829, + "id": 1321, "name": "VariableDeclaration", - "src": "33839:19:1" + "src": "34807:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54688,19 +54688,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1830, + "id": 1322, "name": "ElementaryTypeName", - "src": "33860:7:1" + "src": "34828:7:0" } ], - "id": 1831, + "id": 1323, "name": "VariableDeclaration", - "src": "33860:13:1" + "src": "34828:13:0" } ], - "id": 1832, + "id": 1324, "name": "ParameterList", - "src": "33838:36:1" + "src": "34806:36:0" }, { "children": [ @@ -54709,7 +54709,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -54721,25 +54721,25 @@ "name": "bool", "type": "bool" }, - "id": 1833, + "id": 1325, "name": "ElementaryTypeName", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1834, + "id": 1326, "name": "VariableDeclaration", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1835, + "id": 1327, "name": "ParameterList", - "src": "33892:6:1" + "src": "34860:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1835 + "functionReturnParameters": 1327 }, "children": [ { @@ -54761,7 +54761,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54772,13 +54772,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1836, + "id": 1328, "name": "Identifier", - "src": "33916:4:1" + "src": "34885:4:0" }, { "attributes": { @@ -54787,7 +54787,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54796,18 +54796,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1829, + "referencedDeclaration": 1321, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1837, + "id": 1329, "name": "Identifier", - "src": "33921:3:1" + "src": "34890:3:0" } ], - "id": 1838, + "id": 1330, "name": "MemberAccess", - "src": "33921:10:1" + "src": "34890:10:0" }, { "attributes": { @@ -54843,52 +54843,52 @@ "attributes": { "name": "bytes32" }, - "id": 1839, + "id": 1331, "name": "ElementaryTypeName", - "src": "33933:7:1" + "src": "34902:7:0" } ], - "id": 1840, + "id": 1332, "name": "ElementaryTypeNameExpression", - "src": "33933:7:1" + "src": "34902:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1831, + "referencedDeclaration": 1323, "type": "uint256", "value": "value" }, - "id": 1841, + "id": 1333, "name": "Identifier", - "src": "33941:5:1" + "src": "34910:5:0" } ], - "id": 1842, + "id": 1334, "name": "FunctionCall", - "src": "33933:14:1" + "src": "34902:14:0" } ], - "id": 1843, + "id": 1335, "name": "FunctionCall", - "src": "33916:32:1" + "src": "34885:32:0" } ], - "id": 1844, + "id": 1336, "name": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ], - "id": 1845, + "id": 1337, "name": "Block", - "src": "33899:56:1" + "src": "34867:58:0" } ], - "id": 1846, + "id": 1338, "name": "FunctionDefinition", - "src": "33826:129:1" + "src": "34794:131:0" }, { "attributes": { @@ -54899,7 +54899,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -54909,9 +54909,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1847, + "id": 1339, "name": "StructuredDocumentation", - "src": "33961:157:1" + "src": "34933:162:0" }, { "children": [ @@ -54920,7 +54920,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -54930,24 +54930,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1848, + "id": 1340, "name": "UserDefinedTypeName", - "src": "34139:7:1" + "src": "35117:7:0" } ], - "id": 1849, + "id": 1341, "name": "VariableDeclaration", - "src": "34139:19:1" + "src": "35117:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54959,19 +54959,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1850, + "id": 1342, "name": "ElementaryTypeName", - "src": "34160:7:1" + "src": "35138:7:0" } ], - "id": 1851, + "id": 1343, "name": "VariableDeclaration", - "src": "34160:13:1" + "src": "35138:13:0" } ], - "id": 1852, + "id": 1344, "name": "ParameterList", - "src": "34138:36:1" + "src": "35116:36:0" }, { "children": [ @@ -54980,7 +54980,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -54992,25 +54992,25 @@ "name": "bool", "type": "bool" }, - "id": 1853, + "id": 1345, "name": "ElementaryTypeName", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1854, + "id": 1346, "name": "VariableDeclaration", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1855, + "id": 1347, "name": "ParameterList", - "src": "34192:6:1" + "src": "35170:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1855 + "functionReturnParameters": 1347 }, "children": [ { @@ -55032,7 +55032,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55043,13 +55043,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1856, + "id": 1348, "name": "Identifier", - "src": "34216:7:1" + "src": "35195:7:0" }, { "attributes": { @@ -55058,7 +55058,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55067,18 +55067,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1849, + "referencedDeclaration": 1341, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1857, + "id": 1349, "name": "Identifier", - "src": "34224:3:1" + "src": "35203:3:0" } ], - "id": 1858, + "id": 1350, "name": "MemberAccess", - "src": "34224:10:1" + "src": "35203:10:0" }, { "attributes": { @@ -55114,52 +55114,52 @@ "attributes": { "name": "bytes32" }, - "id": 1859, + "id": 1351, "name": "ElementaryTypeName", - "src": "34236:7:1" + "src": "35215:7:0" } ], - "id": 1860, + "id": 1352, "name": "ElementaryTypeNameExpression", - "src": "34236:7:1" + "src": "35215:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1851, + "referencedDeclaration": 1343, "type": "uint256", "value": "value" }, - "id": 1861, + "id": 1353, "name": "Identifier", - "src": "34244:5:1" + "src": "35223:5:0" } ], - "id": 1862, + "id": 1354, "name": "FunctionCall", - "src": "34236:14:1" + "src": "35215:14:0" } ], - "id": 1863, + "id": 1355, "name": "FunctionCall", - "src": "34216:35:1" + "src": "35195:35:0" } ], - "id": 1864, + "id": 1356, "name": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ], - "id": 1865, + "id": 1357, "name": "Block", - "src": "34199:59:1" + "src": "35177:61:0" } ], - "id": 1866, + "id": 1358, "name": "FunctionDefinition", - "src": "34123:135:1" + "src": "35101:137:0" }, { "attributes": { @@ -55170,7 +55170,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55180,9 +55180,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1867, + "id": 1359, "name": "StructuredDocumentation", - "src": "34264:70:1" + "src": "35246:72:0" }, { "children": [ @@ -55191,7 +55191,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55201,24 +55201,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1868, + "id": 1360, "name": "UserDefinedTypeName", - "src": "34357:7:1" + "src": "35342:7:0" } ], - "id": 1869, + "id": 1361, "name": "VariableDeclaration", - "src": "34357:19:1" + "src": "35342:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55230,19 +55230,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1870, + "id": 1362, "name": "ElementaryTypeName", - "src": "34378:7:1" + "src": "35363:7:0" } ], - "id": 1871, + "id": 1363, "name": "VariableDeclaration", - "src": "34378:13:1" + "src": "35363:13:0" } ], - "id": 1872, + "id": 1364, "name": "ParameterList", - "src": "34356:36:1" + "src": "35341:36:0" }, { "children": [ @@ -55251,7 +55251,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55263,25 +55263,25 @@ "name": "bool", "type": "bool" }, - "id": 1873, + "id": 1365, "name": "ElementaryTypeName", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1874, + "id": 1366, "name": "VariableDeclaration", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1875, + "id": 1367, "name": "ParameterList", - "src": "34415:6:1" + "src": "35400:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1875 + "functionReturnParameters": 1367 }, "children": [ { @@ -55303,7 +55303,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55314,13 +55314,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1876, + "id": 1368, "name": "Identifier", - "src": "34439:9:1" + "src": "35425:9:0" }, { "attributes": { @@ -55329,7 +55329,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55338,18 +55338,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1869, + "referencedDeclaration": 1361, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1877, + "id": 1369, "name": "Identifier", - "src": "34449:3:1" + "src": "35435:3:0" } ], - "id": 1878, + "id": 1370, "name": "MemberAccess", - "src": "34449:10:1" + "src": "35435:10:0" }, { "attributes": { @@ -55385,52 +55385,52 @@ "attributes": { "name": "bytes32" }, - "id": 1879, + "id": 1371, "name": "ElementaryTypeName", - "src": "34461:7:1" + "src": "35447:7:0" } ], - "id": 1880, + "id": 1372, "name": "ElementaryTypeNameExpression", - "src": "34461:7:1" + "src": "35447:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1871, + "referencedDeclaration": 1363, "type": "uint256", "value": "value" }, - "id": 1881, + "id": 1373, "name": "Identifier", - "src": "34469:5:1" + "src": "35455:5:0" } ], - "id": 1882, + "id": 1374, "name": "FunctionCall", - "src": "34461:14:1" + "src": "35447:14:0" } ], - "id": 1883, + "id": 1375, "name": "FunctionCall", - "src": "34439:37:1" + "src": "35425:37:0" } ], - "id": 1884, + "id": 1376, "name": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ], - "id": 1885, + "id": 1377, "name": "Block", - "src": "34422:61:1" + "src": "35407:63:0" } ], - "id": 1886, + "id": 1378, "name": "FunctionDefinition", - "src": "34339:144:1" + "src": "35324:146:0" }, { "attributes": { @@ -55441,7 +55441,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55451,9 +55451,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1887, + "id": 1379, "name": "StructuredDocumentation", - "src": "34489:70:1" + "src": "35478:72:0" }, { "children": [ @@ -55462,7 +55462,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55472,22 +55472,22 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1888, + "id": 1380, "name": "UserDefinedTypeName", - "src": "34580:7:1" + "src": "35572:7:0" } ], - "id": 1889, + "id": 1381, "name": "VariableDeclaration", - "src": "34580:19:1" + "src": "35572:19:0" } ], - "id": 1890, + "id": 1382, "name": "ParameterList", - "src": "34579:21:1" + "src": "35571:21:0" }, { "children": [ @@ -55496,7 +55496,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55508,25 +55508,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1891, + "id": 1383, "name": "ElementaryTypeName", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1892, + "id": 1384, "name": "VariableDeclaration", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1893, + "id": 1385, "name": "ParameterList", - "src": "34623:9:1" + "src": "35615:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1893 + "functionReturnParameters": 1385 }, "children": [ { @@ -55548,20 +55548,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1894, + "id": 1386, "name": "Identifier", - "src": "34650:7:1" + "src": "35643:7:0" }, { "attributes": { @@ -55570,7 +55570,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55579,38 +55579,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1889, + "referencedDeclaration": 1381, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1895, + "id": 1387, "name": "Identifier", - "src": "34658:3:1" + "src": "35651:3:0" } ], - "id": 1896, + "id": 1388, "name": "MemberAccess", - "src": "34658:10:1" + "src": "35651:10:0" } ], - "id": 1897, + "id": 1389, "name": "FunctionCall", - "src": "34650:19:1" + "src": "35643:19:0" } ], - "id": 1898, + "id": 1390, "name": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ], - "id": 1899, + "id": 1391, "name": "Block", - "src": "34633:43:1" + "src": "35625:45:0" } ], - "id": 1900, + "id": 1392, "name": "FunctionDefinition", - "src": "34564:112:1" + "src": "35556:114:0" }, { "attributes": { @@ -55621,7 +55621,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55631,9 +55631,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1901, + "id": 1393, "name": "StructuredDocumentation", - "src": "34681:322:1" + "src": "35677:331:0" }, { "children": [ @@ -55642,7 +55642,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55652,24 +55652,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1902, + "id": 1394, "name": "UserDefinedTypeName", - "src": "35020:7:1" + "src": "36026:7:0" } ], - "id": 1903, + "id": 1395, "name": "VariableDeclaration", - "src": "35020:19:1" + "src": "36026:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55681,19 +55681,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1904, + "id": 1396, "name": "ElementaryTypeName", - "src": "35041:7:1" + "src": "36047:7:0" } ], - "id": 1905, + "id": 1397, "name": "VariableDeclaration", - "src": "35041:13:1" + "src": "36047:13:0" } ], - "id": 1906, + "id": 1398, "name": "ParameterList", - "src": "35019:36:1" + "src": "36025:36:0" }, { "children": [ @@ -55702,7 +55702,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55714,25 +55714,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1907, + "id": 1399, "name": "ElementaryTypeName", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1908, + "id": 1400, "name": "VariableDeclaration", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1909, + "id": 1401, "name": "ParameterList", - "src": "35078:9:1" + "src": "36084:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1909 + "functionReturnParameters": 1401 }, "children": [ { @@ -55769,14 +55769,14 @@ "attributes": { "name": "uint256" }, - "id": 1910, + "id": 1402, "name": "ElementaryTypeName", - "src": "35105:7:1" + "src": "36112:7:0" } ], - "id": 1911, + "id": 1403, "name": "ElementaryTypeNameExpression", - "src": "35105:7:1" + "src": "36112:7:0" }, { "attributes": { @@ -55797,7 +55797,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55808,13 +55808,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1912, + "id": 1404, "name": "Identifier", - "src": "35113:3:1" + "src": "36120:3:0" }, { "attributes": { @@ -55823,7 +55823,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55832,61 +55832,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1903, + "referencedDeclaration": 1395, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1913, + "id": 1405, "name": "Identifier", - "src": "35117:3:1" + "src": "36124:3:0" } ], - "id": 1914, + "id": 1406, "name": "MemberAccess", - "src": "35117:10:1" + "src": "36124:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1905, + "referencedDeclaration": 1397, "type": "uint256", "value": "index" }, - "id": 1915, + "id": 1407, "name": "Identifier", - "src": "35129:5:1" + "src": "36136:5:0" } ], - "id": 1916, + "id": 1408, "name": "FunctionCall", - "src": "35113:22:1" + "src": "36120:22:0" } ], - "id": 1917, + "id": 1409, "name": "FunctionCall", - "src": "35105:31:1" + "src": "36112:31:0" } ], - "id": 1918, + "id": 1410, "name": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ], - "id": 1919, + "id": 1411, "name": "Block", - "src": "35088:55:1" + "src": "36094:57:0" } ], - "id": 1920, + "id": 1412, "name": "FunctionDefinition", - "src": "35008:135:1" + "src": "36014:137:0" } ], - "id": 1921, + "id": 1413, "name": "ContractDefinition", - "src": "26511:8634:1" + "src": "27252:8902:0" }, { "attributes": { @@ -55900,9 +55900,9 @@ ".0" ] }, - "id": 1922, + "id": 1414, "name": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "attributes": { @@ -55916,25 +55916,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, - "id": 1923, + "id": 1415, "name": "StructuredDocumentation", - "src": "35237:705:1" + "src": "36251:728:0" }, { "attributes": { "canonicalName": "EnumerableMap.MapEntry", "name": "MapEntry", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -55943,7 +55943,7 @@ "constant": false, "mutability": "mutable", "name": "_key", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -55955,21 +55955,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1924, + "id": 1416, "name": "ElementaryTypeName", - "src": "36455:7:1" + "src": "37504:7:0" } ], - "id": 1925, + "id": 1417, "name": "VariableDeclaration", - "src": "36455:12:1" + "src": "37504:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_value", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -55981,25 +55981,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1926, + "id": 1418, "name": "ElementaryTypeName", - "src": "36477:7:1" + "src": "37527:7:0" } ], - "id": 1927, + "id": 1419, "name": "VariableDeclaration", - "src": "36477:14:1" + "src": "37527:14:0" } ], - "id": 1928, + "id": 1420, "name": "StructDefinition", - "src": "36429:69:1" + "src": "37477:72:0" }, { "attributes": { "canonicalName": "EnumerableMap.Map", "name": "Map", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -56008,7 +56008,7 @@ "constant": false, "mutability": "mutable", "name": "_entries", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.MapEntry[]", @@ -56023,29 +56023,29 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 1929, + "id": 1421, "name": "UserDefinedTypeName", - "src": "36567:8:1" + "src": "37622:8:0" } ], - "id": 1930, + "id": 1422, "name": "ArrayTypeName", - "src": "36567:10:1" + "src": "37622:10:0" } ], - "id": 1931, + "id": 1423, "name": "VariableDeclaration", - "src": "36567:19:1" + "src": "37622:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -56062,33 +56062,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1932, + "id": 1424, "name": "ElementaryTypeName", - "src": "36745:7:1" + "src": "37804:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1933, + "id": 1425, "name": "ElementaryTypeName", - "src": "36756:7:1" + "src": "37815:7:0" } ], - "id": 1934, + "id": 1426, "name": "Mapping", - "src": "36736:28:1" + "src": "37795:28:0" } ], - "id": 1935, + "id": 1427, "name": "VariableDeclaration", - "src": "36736:37:1" + "src": "37795:37:0" } ], - "id": 1936, + "id": 1428, "name": "StructDefinition", - "src": "36504:276:1" + "src": "37557:283:0" }, { "attributes": { @@ -56099,7 +56099,7 @@ null ], "name": "_set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56109,9 +56109,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1937, + "id": 1429, "name": "StructuredDocumentation", - "src": "36786:216:1" + "src": "37848:222:0" }, { "children": [ @@ -56120,7 +56120,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56130,24 +56130,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 1938, + "id": 1430, "name": "UserDefinedTypeName", - "src": "37021:3:1" + "src": "38090:3:0" } ], - "id": 1939, + "id": 1431, "name": "VariableDeclaration", - "src": "37021:15:1" + "src": "38090:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56159,21 +56159,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1940, + "id": 1432, "name": "ElementaryTypeName", - "src": "37038:7:1" + "src": "38107:7:0" } ], - "id": 1941, + "id": 1433, "name": "VariableDeclaration", - "src": "37038:11:1" + "src": "38107:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56185,19 +56185,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1942, + "id": 1434, "name": "ElementaryTypeName", - "src": "37051:7:1" + "src": "38120:7:0" } ], - "id": 1943, + "id": 1435, "name": "VariableDeclaration", - "src": "37051:13:1" + "src": "38120:13:0" } ], - "id": 1944, + "id": 1436, "name": "ParameterList", - "src": "37020:45:1" + "src": "38089:45:0" }, { "children": [ @@ -56206,7 +56206,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -56218,26 +56218,26 @@ "name": "bool", "type": "bool" }, - "id": 1945, + "id": 1437, "name": "ElementaryTypeName", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1946, + "id": 1438, "name": "VariableDeclaration", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1947, + "id": 1439, "name": "ParameterList", - "src": "37082:6:1" + "src": "38151:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1949 + 1441 ] }, "children": [ @@ -56246,7 +56246,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 1997, + "scope": 1489, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -56258,14 +56258,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1948, + "id": 1440, "name": "ElementaryTypeName", - "src": "37197:7:1" + "src": "38268:7:0" } ], - "id": 1949, + "id": 1441, "name": "VariableDeclaration", - "src": "37197:16:1" + "src": "38268:16:0" }, { "attributes": { @@ -56283,7 +56283,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56292,41 +56292,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1950, + "id": 1442, "name": "Identifier", - "src": "37216:3:1" + "src": "38287:3:0" } ], - "id": 1951, + "id": 1443, "name": "MemberAccess", - "src": "37216:12:1" + "src": "38287:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1952, + "id": 1444, "name": "Identifier", - "src": "37229:3:1" + "src": "38300:3:0" } ], - "id": 1953, + "id": 1445, "name": "IndexAccess", - "src": "37216:17:1" + "src": "38287:17:0" } ], - "id": 1954, + "id": 1446, "name": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "children": [ @@ -56349,13 +56349,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1955, + "id": 1447, "name": "Identifier", - "src": "37248:8:1" + "src": "38321:8:0" }, { "attributes": { @@ -56368,14 +56368,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1956, + "id": 1448, "name": "Literal", - "src": "37260:1:1" + "src": "38333:1:0" } ], - "id": 1957, + "id": 1449, "name": "BinaryOperation", - "src": "37248:13:1" + "src": "38321:13:0" }, { "children": [ @@ -56400,7 +56400,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], @@ -56419,7 +56419,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56428,23 +56428,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1958, + "id": 1450, "name": "Identifier", - "src": "37314:3:1" + "src": "38388:3:0" } ], - "id": 1961, + "id": 1453, "name": "MemberAccess", - "src": "37314:12:1" + "src": "38388:12:0" } ], - "id": 1962, + "id": 1454, "name": "MemberAccess", - "src": "37314:17:1" + "src": "38388:17:0" }, { "attributes": { @@ -56477,54 +56477,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "type(struct EnumerableMap.MapEntry storage pointer)", "value": "MapEntry" }, - "id": 1963, + "id": 1455, "name": "Identifier", - "src": "37332:8:1" + "src": "38406:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1964, + "id": 1456, "name": "Identifier", - "src": "37349:3:1" + "src": "38423:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1965, + "id": 1457, "name": "Identifier", - "src": "37362:5:1" + "src": "38436:5:0" } ], - "id": 1966, + "id": 1458, "name": "FunctionCall", - "src": "37332:38:1" + "src": "38406:38:0" } ], - "id": 1967, + "id": 1459, "name": "FunctionCall", - "src": "37314:57:1" + "src": "38388:57:0" } ], - "id": 1968, + "id": 1460, "name": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "children": [ @@ -56554,7 +56554,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56563,36 +56563,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1969, + "id": 1461, "name": "Identifier", - "src": "37506:3:1" + "src": "38583:3:0" } ], - "id": 1972, + "id": 1464, "name": "MemberAccess", - "src": "37506:12:1" + "src": "38583:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1971, + "id": 1463, "name": "Identifier", - "src": "37519:3:1" + "src": "38596:3:0" } ], - "id": 1973, + "id": 1465, "name": "IndexAccess", - "src": "37506:17:1" + "src": "38583:17:0" }, { "attributes": { @@ -56611,7 +56611,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56620,37 +56620,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1974, + "id": 1466, "name": "Identifier", - "src": "37526:3:1" + "src": "38603:3:0" } ], - "id": 1975, + "id": 1467, "name": "MemberAccess", - "src": "37526:12:1" + "src": "38603:12:0" } ], - "id": 1976, + "id": 1468, "name": "MemberAccess", - "src": "37526:19:1" + "src": "38603:19:0" } ], - "id": 1977, + "id": 1469, "name": "Assignment", - "src": "37506:39:1" + "src": "38583:39:0" } ], - "id": 1978, + "id": 1470, "name": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -56664,19 +56664,19 @@ "type": "bool", "value": "true" }, - "id": 1979, + "id": 1471, "name": "Literal", - "src": "37566:4:1" + "src": "38644:4:0" } ], - "id": 1980, + "id": 1472, "name": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ], - "id": 1981, + "id": 1473, "name": "Block", - "src": "37263:318:1" + "src": "38336:324:0" }, { "children": [ @@ -56699,7 +56699,7 @@ "isPure": false, "lValueRequested": true, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -56719,7 +56719,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56728,18 +56728,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1982, + "id": 1474, "name": "Identifier", - "src": "37601:3:1" + "src": "38681:3:0" } ], - "id": 1987, + "id": 1479, "name": "MemberAccess", - "src": "37601:12:1" + "src": "38681:12:0" }, { "attributes": { @@ -56760,13 +56760,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1984, + "id": 1476, "name": "Identifier", - "src": "37614:8:1" + "src": "38694:8:0" }, { "attributes": { @@ -56779,51 +56779,51 @@ "type": "int_const 1", "value": "1" }, - "id": 1985, + "id": 1477, "name": "Literal", - "src": "37625:1:1" + "src": "38705:1:0" } ], - "id": 1986, + "id": 1478, "name": "BinaryOperation", - "src": "37614:12:1" + "src": "38694:12:0" } ], - "id": 1988, + "id": 1480, "name": "IndexAccess", - "src": "37601:26:1" + "src": "38681:26:0" } ], - "id": 1989, + "id": 1481, "name": "MemberAccess", - "src": "37601:33:1" + "src": "38681:33:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1990, + "id": 1482, "name": "Identifier", - "src": "37637:5:1" + "src": "38717:5:0" } ], - "id": 1991, + "id": 1483, "name": "Assignment", - "src": "37601:41:1" + "src": "38681:41:0" } ], - "id": 1992, + "id": 1484, "name": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -56837,34 +56837,34 @@ "type": "bool", "value": "false" }, - "id": 1993, + "id": 1485, "name": "Literal", - "src": "37663:5:1" + "src": "38744:5:0" } ], - "id": 1994, + "id": 1486, "name": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ], - "id": 1995, + "id": 1487, "name": "Block", - "src": "37587:92:1" + "src": "38666:95:0" } ], - "id": 1996, + "id": 1488, "name": "IfStatement", - "src": "37244:435:1" + "src": "38317:444:0" } ], - "id": 1997, + "id": 1489, "name": "Block", - "src": "37089:596:1" + "src": "38158:610:0" } ], - "id": 1998, + "id": 1490, "name": "FunctionDefinition", - "src": "37007:678:1" + "src": "38076:692:0" }, { "attributes": { @@ -56875,7 +56875,7 @@ null ], "name": "_remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56885,9 +56885,9 @@ "attributes": { "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 1999, + "id": 1491, "name": "StructuredDocumentation", - "src": "37691:157:1" + "src": "38776:161:0" }, { "children": [ @@ -56896,7 +56896,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56906,24 +56906,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2000, + "id": 1492, "name": "UserDefinedTypeName", - "src": "37870:3:1" + "src": "38960:3:0" } ], - "id": 2001, + "id": 1493, "name": "VariableDeclaration", - "src": "37870:15:1" + "src": "38960:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56935,19 +56935,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2002, + "id": 1494, "name": "ElementaryTypeName", - "src": "37887:7:1" + "src": "38977:7:0" } ], - "id": 2003, + "id": 1495, "name": "VariableDeclaration", - "src": "37887:11:1" + "src": "38977:11:0" } ], - "id": 2004, + "id": 1496, "name": "ParameterList", - "src": "37869:30:1" + "src": "38959:30:0" }, { "children": [ @@ -56956,7 +56956,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -56968,26 +56968,26 @@ "name": "bool", "type": "bool" }, - "id": 2005, + "id": 1497, "name": "ElementaryTypeName", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2006, + "id": 1498, "name": "VariableDeclaration", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2007, + "id": 1499, "name": "ParameterList", - "src": "37916:6:1" + "src": "39006:6:0" }, { "children": [ { "attributes": { "assignments": [ - 2009 + 1501 ] }, "children": [ @@ -56996,7 +56996,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2078, + "scope": 1570, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57008,14 +57008,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2008, + "id": 1500, "name": "ElementaryTypeName", - "src": "38031:7:1" + "src": "39123:7:0" } ], - "id": 2009, + "id": 1501, "name": "VariableDeclaration", - "src": "38031:16:1" + "src": "39123:16:0" }, { "attributes": { @@ -57033,7 +57033,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57042,41 +57042,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2010, + "id": 1502, "name": "Identifier", - "src": "38050:3:1" + "src": "39142:3:0" } ], - "id": 2011, + "id": 1503, "name": "MemberAccess", - "src": "38050:12:1" + "src": "39142:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2012, + "id": 1504, "name": "Identifier", - "src": "38063:3:1" + "src": "39155:3:0" } ], - "id": 2013, + "id": 1505, "name": "IndexAccess", - "src": "38050:17:1" + "src": "39142:17:0" } ], - "id": 2014, + "id": 1506, "name": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "children": [ @@ -57099,13 +57099,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2015, + "id": 1507, "name": "Identifier", - "src": "38082:8:1" + "src": "39176:8:0" }, { "attributes": { @@ -57118,21 +57118,21 @@ "type": "int_const 0", "value": "0" }, - "id": 2016, + "id": 1508, "name": "Literal", - "src": "38094:1:1" + "src": "39188:1:0" } ], - "id": 2017, + "id": 1509, "name": "BinaryOperation", - "src": "38082:13:1" + "src": "39176:13:0" }, { "children": [ { "attributes": { "assignments": [ - 2019 + 1511 ] }, "children": [ @@ -57141,7 +57141,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57153,14 +57153,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2018, + "id": 1510, "name": "ElementaryTypeName", - "src": "38438:7:1" + "src": "39537:7:0" } ], - "id": 2019, + "id": 1511, "name": "VariableDeclaration", - "src": "38438:21:1" + "src": "39537:21:0" }, { "attributes": { @@ -57181,13 +57181,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2020, + "id": 1512, "name": "Identifier", - "src": "38462:8:1" + "src": "39561:8:0" }, { "attributes": { @@ -57200,24 +57200,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2021, + "id": 1513, "name": "Literal", - "src": "38473:1:1" + "src": "39572:1:0" } ], - "id": 2022, + "id": 1514, "name": "BinaryOperation", - "src": "38462:12:1" + "src": "39561:12:0" } ], - "id": 2023, + "id": 1515, "name": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "attributes": { "assignments": [ - 2025 + 1517 ] }, "children": [ @@ -57226,7 +57226,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57238,14 +57238,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2024, + "id": 1516, "name": "ElementaryTypeName", - "src": "38488:7:1" + "src": "39588:7:0" } ], - "id": 2025, + "id": 1517, "name": "VariableDeclaration", - "src": "38488:17:1" + "src": "39588:17:0" }, { "attributes": { @@ -57278,7 +57278,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57287,23 +57287,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2026, + "id": 1518, "name": "Identifier", - "src": "38508:3:1" + "src": "39608:3:0" } ], - "id": 2027, + "id": 1519, "name": "MemberAccess", - "src": "38508:12:1" + "src": "39608:12:0" } ], - "id": 2028, + "id": 1520, "name": "MemberAccess", - "src": "38508:19:1" + "src": "39608:19:0" }, { "attributes": { @@ -57316,24 +57316,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2029, + "id": 1521, "name": "Literal", - "src": "38530:1:1" + "src": "39630:1:0" } ], - "id": 2030, + "id": 1522, "name": "BinaryOperation", - "src": "38508:23:1" + "src": "39608:23:0" } ], - "id": 2031, + "id": 1523, "name": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "attributes": { "assignments": [ - 2033 + 1525 ] }, "children": [ @@ -57342,7 +57342,7 @@ "constant": false, "mutability": "mutable", "name": "lastEntry", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -57352,17 +57352,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2032, + "id": 1524, "name": "UserDefinedTypeName", - "src": "38771:8:1" + "src": "39876:8:0" } ], - "id": 2033, + "id": 1525, "name": "VariableDeclaration", - "src": "38771:26:1" + "src": "39876:26:0" }, { "attributes": { @@ -57380,7 +57380,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57389,41 +57389,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2034, + "id": 1526, "name": "Identifier", - "src": "38800:3:1" + "src": "39905:3:0" } ], - "id": 2035, + "id": 1527, "name": "MemberAccess", - "src": "38800:12:1" + "src": "39905:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2025, + "referencedDeclaration": 1517, "type": "uint256", "value": "lastIndex" }, - "id": 2036, + "id": 1528, "name": "Identifier", - "src": "38813:9:1" + "src": "39918:9:0" } ], - "id": 2037, + "id": 1529, "name": "IndexAccess", - "src": "38800:23:1" + "src": "39905:23:0" } ], - "id": 2038, + "id": 1530, "name": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "children": [ @@ -57453,7 +57453,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57462,59 +57462,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2039, + "id": 1531, "name": "Identifier", - "src": "38915:3:1" + "src": "40023:3:0" } ], - "id": 2042, + "id": 1534, "name": "MemberAccess", - "src": "38915:12:1" + "src": "40023:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2041, + "id": 1533, "name": "Identifier", - "src": "38928:13:1" + "src": "40036:13:0" } ], - "id": 2043, + "id": 1535, "name": "IndexAccess", - "src": "38915:27:1" + "src": "40023:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2044, + "id": 1536, "name": "Identifier", - "src": "38945:9:1" + "src": "40053:9:0" } ], - "id": 2045, + "id": 1537, "name": "Assignment", - "src": "38915:39:1" + "src": "40023:39:0" } ], - "id": 2046, + "id": 1538, "name": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "children": [ @@ -57544,7 +57544,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57553,18 +57553,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2047, + "id": 1539, "name": "Identifier", - "src": "39020:3:1" + "src": "40130:3:0" } ], - "id": 2051, + "id": 1543, "name": "MemberAccess", - "src": "39020:12:1" + "src": "40130:12:0" }, { "attributes": { @@ -57573,7 +57573,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -57582,23 +57582,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2049, + "id": 1541, "name": "Identifier", - "src": "39033:9:1" + "src": "40143:9:0" } ], - "id": 2050, + "id": 1542, "name": "MemberAccess", - "src": "39033:14:1" + "src": "40143:14:0" } ], - "id": 2052, + "id": 1544, "name": "IndexAccess", - "src": "39020:28:1" + "src": "40130:28:0" }, { "attributes": { @@ -57619,13 +57619,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2053, + "id": 1545, "name": "Identifier", - "src": "39051:13:1" + "src": "40161:13:0" }, { "attributes": { @@ -57638,24 +57638,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2054, + "id": 1546, "name": "Literal", - "src": "39067:1:1" + "src": "40177:1:0" } ], - "id": 2055, + "id": 1547, "name": "BinaryOperation", - "src": "39051:17:1" + "src": "40161:17:0" } ], - "id": 2056, + "id": 1548, "name": "Assignment", - "src": "39020:48:1" + "src": "40130:48:0" } ], - "id": 2057, + "id": 1549, "name": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "children": [ @@ -57697,7 +57697,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57706,33 +57706,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2058, + "id": 1550, "name": "Identifier", - "src": "39174:3:1" + "src": "40287:3:0" } ], - "id": 2061, + "id": 1553, "name": "MemberAccess", - "src": "39174:12:1" + "src": "40287:12:0" } ], - "id": 2062, + "id": 1554, "name": "MemberAccess", - "src": "39174:16:1" + "src": "40287:16:0" } ], - "id": 2063, + "id": 1555, "name": "FunctionCall", - "src": "39174:18:1" + "src": "40287:18:0" } ], - "id": 2064, + "id": 1556, "name": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "children": [ @@ -57763,7 +57763,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57772,50 +57772,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2065, + "id": 1557, "name": "Identifier", - "src": "39267:3:1" + "src": "40383:3:0" } ], - "id": 2066, + "id": 1558, "name": "MemberAccess", - "src": "39267:12:1" + "src": "40383:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2067, + "id": 1559, "name": "Identifier", - "src": "39280:3:1" + "src": "40396:3:0" } ], - "id": 2068, + "id": 1560, "name": "IndexAccess", - "src": "39267:17:1" + "src": "40383:17:0" } ], - "id": 2069, + "id": 1561, "name": "UnaryOperation", - "src": "39260:24:1" + "src": "40376:24:0" } ], - "id": 2070, + "id": 1562, "name": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -57829,25 +57829,25 @@ "type": "bool", "value": "true" }, - "id": 2071, + "id": 1563, "name": "Literal", - "src": "39306:4:1" + "src": "40424:4:0" } ], - "id": 2072, + "id": 1564, "name": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ], - "id": 2073, + "id": 1565, "name": "Block", - "src": "38097:1224:1" + "src": "39191:1249:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -57861,34 +57861,34 @@ "type": "bool", "value": "false" }, - "id": 2074, + "id": 1566, "name": "Literal", - "src": "39348:5:1" + "src": "40468:5:0" } ], - "id": 2075, + "id": 1567, "name": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ], - "id": 2076, + "id": 1568, "name": "Block", - "src": "39327:37:1" + "src": "40446:39:0" } ], - "id": 2077, + "id": 1569, "name": "IfStatement", - "src": "38078:1286:1" + "src": "39172:1313:0" } ], - "id": 2078, + "id": 1570, "name": "Block", - "src": "37923:1447:1" + "src": "39013:1479:0" } ], - "id": 2079, + "id": 1571, "name": "FunctionDefinition", - "src": "37853:1517:1" + "src": "38943:1549:0" }, { "attributes": { @@ -57899,7 +57899,7 @@ null ], "name": "_contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -57909,9 +57909,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2080, + "id": 1572, "name": "StructuredDocumentation", - "src": "39376:68:1" + "src": "40500:70:0" }, { "children": [ @@ -57920,7 +57920,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -57930,24 +57930,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2081, + "id": 1573, "name": "UserDefinedTypeName", - "src": "39468:3:1" + "src": "40595:3:0" } ], - "id": 2082, + "id": 1574, "name": "VariableDeclaration", - "src": "39468:15:1" + "src": "40595:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -57959,19 +57959,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2083, + "id": 1575, "name": "ElementaryTypeName", - "src": "39485:7:1" + "src": "40612:7:0" } ], - "id": 2084, + "id": 1576, "name": "VariableDeclaration", - "src": "39485:11:1" + "src": "40612:11:0" } ], - "id": 2085, + "id": 1577, "name": "ParameterList", - "src": "39467:30:1" + "src": "40594:30:0" }, { "children": [ @@ -57980,7 +57980,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -57992,25 +57992,25 @@ "name": "bool", "type": "bool" }, - "id": 2086, + "id": 1578, "name": "ElementaryTypeName", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2087, + "id": 1579, "name": "VariableDeclaration", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2088, + "id": 1580, "name": "ParameterList", - "src": "39519:6:1" + "src": "40646:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2088 + "functionReturnParameters": 1580 }, "children": [ { @@ -58043,7 +58043,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58052,36 +58052,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2082, + "referencedDeclaration": 1574, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2089, + "id": 1581, "name": "Identifier", - "src": "39543:3:1" + "src": "40671:3:0" } ], - "id": 2090, + "id": 1582, "name": "MemberAccess", - "src": "39543:12:1" + "src": "40671:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2084, + "referencedDeclaration": 1576, "type": "bytes32", "value": "key" }, - "id": 2091, + "id": 1583, "name": "Identifier", - "src": "39556:3:1" + "src": "40684:3:0" } ], - "id": 2092, + "id": 1584, "name": "IndexAccess", - "src": "39543:17:1" + "src": "40671:17:0" }, { "attributes": { @@ -58094,29 +58094,29 @@ "type": "int_const 0", "value": "0" }, - "id": 2093, + "id": 1585, "name": "Literal", - "src": "39564:1:1" + "src": "40692:1:0" } ], - "id": 2094, + "id": 1586, "name": "BinaryOperation", - "src": "39543:22:1" + "src": "40671:22:0" } ], - "id": 2095, + "id": 1587, "name": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ], - "id": 2096, + "id": 1588, "name": "Block", - "src": "39526:46:1" + "src": "40653:48:0" } ], - "id": 2097, + "id": 1589, "name": "FunctionDefinition", - "src": "39449:123:1" + "src": "40576:125:0" }, { "attributes": { @@ -58127,7 +58127,7 @@ null ], "name": "_length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58137,9 +58137,9 @@ "attributes": { "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2098, + "id": 1590, "name": "StructuredDocumentation", - "src": "39578:79:1" + "src": "40709:81:0" }, { "children": [ @@ -58148,7 +58148,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58158,22 +58158,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2099, + "id": 1591, "name": "UserDefinedTypeName", - "src": "39679:3:1" + "src": "40813:3:0" } ], - "id": 2100, + "id": 1592, "name": "VariableDeclaration", - "src": "39679:15:1" + "src": "40813:15:0" } ], - "id": 2101, + "id": 1593, "name": "ParameterList", - "src": "39678:17:1" + "src": "40812:17:0" }, { "children": [ @@ -58182,7 +58182,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58194,25 +58194,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2102, + "id": 1594, "name": "ElementaryTypeName", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2103, + "id": 1595, "name": "VariableDeclaration", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2104, + "id": 1596, "name": "ParameterList", - "src": "39717:9:1" + "src": "40851:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2104 + "functionReturnParameters": 1596 }, "children": [ { @@ -58232,7 +58232,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58241,38 +58241,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2100, + "referencedDeclaration": 1592, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2105, + "id": 1597, "name": "Identifier", - "src": "39744:3:1" + "src": "40879:3:0" } ], - "id": 2106, + "id": 1598, "name": "MemberAccess", - "src": "39744:12:1" + "src": "40879:12:0" } ], - "id": 2107, + "id": 1599, "name": "MemberAccess", - "src": "39744:19:1" + "src": "40879:19:0" } ], - "id": 2108, + "id": 1600, "name": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ], - "id": 2109, + "id": 1601, "name": "Block", - "src": "39727:43:1" + "src": "40861:45:0" } ], - "id": 2110, + "id": 1602, "name": "FunctionDefinition", - "src": "39662:108:1" + "src": "40796:110:0" }, { "attributes": { @@ -58283,7 +58283,7 @@ null ], "name": "_at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58293,9 +58293,9 @@ "attributes": { "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2111, + "id": 1603, "name": "StructuredDocumentation", - "src": "39775:333:1" + "src": "40913:342:0" }, { "children": [ @@ -58304,7 +58304,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58314,24 +58314,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2112, + "id": 1604, "name": "UserDefinedTypeName", - "src": "40126:3:1" + "src": "41274:3:0" } ], - "id": 2113, + "id": 1605, "name": "VariableDeclaration", - "src": "40126:15:1" + "src": "41274:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58343,19 +58343,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2114, + "id": 1606, "name": "ElementaryTypeName", - "src": "40143:7:1" + "src": "41291:7:0" } ], - "id": 2115, + "id": 1607, "name": "VariableDeclaration", - "src": "40143:13:1" + "src": "41291:13:0" } ], - "id": 2116, + "id": 1608, "name": "ParameterList", - "src": "40125:32:1" + "src": "41273:32:0" }, { "children": [ @@ -58364,7 +58364,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58376,21 +58376,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2117, + "id": 1609, "name": "ElementaryTypeName", - "src": "40180:7:1" + "src": "41328:7:0" } ], - "id": 2118, + "id": 1610, "name": "VariableDeclaration", - "src": "40180:7:1" + "src": "41328:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58402,19 +58402,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2119, + "id": 1611, "name": "ElementaryTypeName", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2120, + "id": 1612, "name": "VariableDeclaration", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2121, + "id": 1613, "name": "ParameterList", - "src": "40179:18:1" + "src": "41327:18:0" }, { "children": [ @@ -58455,9 +58455,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2122, + "id": 1614, "name": "Identifier", - "src": "40208:7:1" + "src": "41357:7:0" }, { "attributes": { @@ -58490,7 +58490,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58499,41 +58499,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2123, + "id": 1615, "name": "Identifier", - "src": "40216:3:1" + "src": "41365:3:0" } ], - "id": 2124, + "id": 1616, "name": "MemberAccess", - "src": "40216:12:1" + "src": "41365:12:0" } ], - "id": 2125, + "id": 1617, "name": "MemberAccess", - "src": "40216:19:1" + "src": "41365:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2126, + "id": 1618, "name": "Identifier", - "src": "40238:5:1" + "src": "41387:5:0" } ], - "id": 2127, + "id": 1619, "name": "BinaryOperation", - "src": "40216:27:1" + "src": "41365:27:0" }, { "attributes": { @@ -58546,24 +58546,24 @@ "type": "literal_string \"EnumerableMap: index out of bounds\"", "value": "EnumerableMap: index out of bounds" }, - "id": 2128, + "id": 1620, "name": "Literal", - "src": "40245:36:1" + "src": "41394:36:0" } ], - "id": 2129, + "id": 1621, "name": "FunctionCall", - "src": "40208:74:1" + "src": "41357:74:0" } ], - "id": 2130, + "id": 1622, "name": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "attributes": { "assignments": [ - 2132 + 1624 ] }, "children": [ @@ -58572,7 +58572,7 @@ "constant": false, "mutability": "mutable", "name": "entry", - "scope": 2144, + "scope": 1636, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -58582,17 +58582,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2131, + "id": 1623, "name": "UserDefinedTypeName", - "src": "40293:8:1" + "src": "41444:8:0" } ], - "id": 2132, + "id": 1624, "name": "VariableDeclaration", - "src": "40293:22:1" + "src": "41444:22:0" }, { "attributes": { @@ -58610,7 +58610,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58619,45 +58619,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2133, + "id": 1625, "name": "Identifier", - "src": "40318:3:1" + "src": "41469:3:0" } ], - "id": 2134, + "id": 1626, "name": "MemberAccess", - "src": "40318:12:1" + "src": "41469:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2135, + "id": 1627, "name": "Identifier", - "src": "40331:5:1" + "src": "41482:5:0" } ], - "id": 2136, + "id": 1628, "name": "IndexAccess", - "src": "40318:19:1" + "src": "41469:19:0" } ], - "id": 2137, + "id": 1629, "name": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "attributes": { - "functionReturnParameters": 2121 + "functionReturnParameters": 1613 }, "children": [ { @@ -58677,7 +58677,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -58686,18 +58686,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2138, + "id": 1630, "name": "Identifier", - "src": "40355:5:1" + "src": "41507:5:0" } ], - "id": 2139, + "id": 1631, "name": "MemberAccess", - "src": "40355:10:1" + "src": "41507:10:0" }, { "attributes": { @@ -58706,7 +58706,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -58715,38 +58715,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2140, + "id": 1632, "name": "Identifier", - "src": "40367:5:1" + "src": "41519:5:0" } ], - "id": 2141, + "id": 1633, "name": "MemberAccess", - "src": "40367:12:1" + "src": "41519:12:0" } ], - "id": 2142, + "id": 1634, "name": "TupleExpression", - "src": "40354:26:1" + "src": "41506:26:0" } ], - "id": 2143, + "id": 1635, "name": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ], - "id": 2144, + "id": 1636, "name": "Block", - "src": "40198:189:1" + "src": "41346:194:0" } ], - "id": 2145, + "id": 1637, "name": "FunctionDefinition", - "src": "40113:274:1" + "src": "41261:279:0" }, { "attributes": { @@ -58757,7 +58757,7 @@ null ], "name": "_tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58767,9 +58767,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2146, + "id": 1638, "name": "StructuredDocumentation", - "src": "40393:131:1" + "src": "41548:134:0" }, { "children": [ @@ -58778,7 +58778,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58788,24 +58788,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2147, + "id": 1639, "name": "UserDefinedTypeName", - "src": "40546:3:1" + "src": "41705:3:0" } ], - "id": 2148, + "id": 1640, "name": "VariableDeclaration", - "src": "40546:15:1" + "src": "41705:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58817,19 +58817,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2149, + "id": 1641, "name": "ElementaryTypeName", - "src": "40563:7:1" + "src": "41722:7:0" } ], - "id": 2150, + "id": 1642, "name": "VariableDeclaration", - "src": "40563:11:1" + "src": "41722:11:0" } ], - "id": 2151, + "id": 1643, "name": "ParameterList", - "src": "40545:30:1" + "src": "41704:30:0" }, { "children": [ @@ -58838,7 +58838,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -58850,21 +58850,21 @@ "name": "bool", "type": "bool" }, - "id": 2152, + "id": 1644, "name": "ElementaryTypeName", - "src": "40598:4:1" + "src": "41757:4:0" } ], - "id": 2153, + "id": 1645, "name": "VariableDeclaration", - "src": "40598:4:1" + "src": "41757:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58876,26 +58876,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2154, + "id": 1646, "name": "ElementaryTypeName", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2155, + "id": 1647, "name": "VariableDeclaration", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2156, + "id": 1648, "name": "ParameterList", - "src": "40597:15:1" + "src": "41756:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2158 + 1650 ] }, "children": [ @@ -58904,7 +58904,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2182, + "scope": 1674, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58916,14 +58916,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2157, + "id": 1649, "name": "ElementaryTypeName", - "src": "40623:7:1" + "src": "41783:7:0" } ], - "id": 2158, + "id": 1650, "name": "VariableDeclaration", - "src": "40623:16:1" + "src": "41783:16:0" }, { "attributes": { @@ -58941,7 +58941,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58950,41 +58950,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2159, + "id": 1651, "name": "Identifier", - "src": "40642:3:1" + "src": "41802:3:0" } ], - "id": 2160, + "id": 1652, "name": "MemberAccess", - "src": "40642:12:1" + "src": "41802:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2150, + "referencedDeclaration": 1642, "type": "bytes32", "value": "key" }, - "id": 2161, + "id": 1653, "name": "Identifier", - "src": "40655:3:1" + "src": "41815:3:0" } ], - "id": 2162, + "id": 1654, "name": "IndexAccess", - "src": "40642:17:1" + "src": "41802:17:0" } ], - "id": 2163, + "id": 1655, "name": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "attributes": {}, @@ -59008,13 +59008,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2164, + "id": 1656, "name": "Identifier", - "src": "40673:8:1" + "src": "41834:8:0" }, { "attributes": { @@ -59027,18 +59027,18 @@ "type": "int_const 0", "value": "0" }, - "id": 2165, + "id": 1657, "name": "Literal", - "src": "40685:1:1" + "src": "41846:1:0" } ], - "id": 2166, + "id": 1658, "name": "BinaryOperation", - "src": "40673:13:1" + "src": "41834:13:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59062,9 +59062,9 @@ "type": "bool", "value": "false" }, - "id": 2167, + "id": 1659, "name": "Literal", - "src": "40696:5:1" + "src": "41857:5:0" }, { "attributes": { @@ -59077,28 +59077,28 @@ "type": "int_const 0", "value": "0" }, - "id": 2168, + "id": 1660, "name": "Literal", - "src": "40703:1:1" + "src": "41864:1:0" } ], - "id": 2169, + "id": 1661, "name": "TupleExpression", - "src": "40695:10:1" + "src": "41856:10:0" } ], - "id": 2170, + "id": 1662, "name": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } ], - "id": 2171, + "id": 1663, "name": "IfStatement", - "src": "40669:36:1" + "src": "41830:36:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59122,9 +59122,9 @@ "type": "bool", "value": "true" }, - "id": 2172, + "id": 1664, "name": "Literal", - "src": "40759:4:1" + "src": "41921:4:0" }, { "attributes": { @@ -59133,7 +59133,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59153,7 +59153,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59162,18 +59162,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2173, + "id": 1665, "name": "Identifier", - "src": "40765:3:1" + "src": "41927:3:0" } ], - "id": 2174, + "id": 1666, "name": "MemberAccess", - "src": "40765:12:1" + "src": "41927:12:0" }, { "attributes": { @@ -59194,13 +59194,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2175, + "id": 1667, "name": "Identifier", - "src": "40778:8:1" + "src": "41940:8:0" }, { "attributes": { @@ -59213,44 +59213,44 @@ "type": "int_const 1", "value": "1" }, - "id": 2176, + "id": 1668, "name": "Literal", - "src": "40789:1:1" + "src": "41951:1:0" } ], - "id": 2177, + "id": 1669, "name": "BinaryOperation", - "src": "40778:12:1" + "src": "41940:12:0" } ], - "id": 2178, + "id": 1670, "name": "IndexAccess", - "src": "40765:26:1" + "src": "41927:26:0" } ], - "id": 2179, + "id": 1671, "name": "MemberAccess", - "src": "40765:33:1" + "src": "41927:33:0" } ], - "id": 2180, + "id": 1672, "name": "TupleExpression", - "src": "40758:41:1" + "src": "41920:41:0" } ], - "id": 2181, + "id": 1673, "name": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ], - "id": 2182, + "id": 1674, "name": "Block", - "src": "40613:220:1" + "src": "41772:224:0" } ], - "id": 2183, + "id": 1675, "name": "FunctionDefinition", - "src": "40529:304:1" + "src": "41688:308:0" }, { "attributes": { @@ -59261,7 +59261,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59271,9 +59271,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2184, + "id": 1676, "name": "StructuredDocumentation", - "src": "40839:141:1" + "src": "42004:147:0" }, { "children": [ @@ -59282,7 +59282,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59292,24 +59292,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2185, + "id": 1677, "name": "UserDefinedTypeName", - "src": "40999:3:1" + "src": "42171:3:0" } ], - "id": 2186, + "id": 1678, "name": "VariableDeclaration", - "src": "40999:15:1" + "src": "42171:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59321,19 +59321,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2187, + "id": 1679, "name": "ElementaryTypeName", - "src": "41016:7:1" + "src": "42188:7:0" } ], - "id": 2188, + "id": 1680, "name": "VariableDeclaration", - "src": "41016:11:1" + "src": "42188:11:0" } ], - "id": 2189, + "id": 1681, "name": "ParameterList", - "src": "40998:30:1" + "src": "42170:30:0" }, { "children": [ @@ -59342,7 +59342,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59354,26 +59354,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2190, + "id": 1682, "name": "ElementaryTypeName", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2191, + "id": 1683, "name": "VariableDeclaration", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2192, + "id": 1684, "name": "ParameterList", - "src": "41050:9:1" + "src": "42222:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2194 + 1686 ] }, "children": [ @@ -59382,7 +59382,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2215, + "scope": 1707, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59394,14 +59394,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2193, + "id": 1685, "name": "ElementaryTypeName", - "src": "41070:7:1" + "src": "42243:7:0" } ], - "id": 2194, + "id": 1686, "name": "VariableDeclaration", - "src": "41070:16:1" + "src": "42243:16:0" }, { "attributes": { @@ -59419,7 +59419,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59428,41 +59428,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2195, + "id": 1687, "name": "Identifier", - "src": "41089:3:1" + "src": "42262:3:0" } ], - "id": 2196, + "id": 1688, "name": "MemberAccess", - "src": "41089:12:1" + "src": "42262:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2188, + "referencedDeclaration": 1680, "type": "bytes32", "value": "key" }, - "id": 2197, + "id": 1689, "name": "Identifier", - "src": "41102:3:1" + "src": "42275:3:0" } ], - "id": 2198, + "id": 1690, "name": "IndexAccess", - "src": "41089:17:1" + "src": "42262:17:0" } ], - "id": 2199, + "id": 1691, "name": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "children": [ @@ -59501,9 +59501,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2200, + "id": 1692, "name": "Identifier", - "src": "41116:7:1" + "src": "42290:7:0" }, { "attributes": { @@ -59524,13 +59524,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2201, + "id": 1693, "name": "Identifier", - "src": "41124:8:1" + "src": "42298:8:0" }, { "attributes": { @@ -59543,14 +59543,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2202, + "id": 1694, "name": "Literal", - "src": "41136:1:1" + "src": "42310:1:0" } ], - "id": 2203, + "id": 1695, "name": "BinaryOperation", - "src": "41124:13:1" + "src": "42298:13:0" }, { "attributes": { @@ -59563,23 +59563,23 @@ "type": "literal_string \"EnumerableMap: nonexistent key\"", "value": "EnumerableMap: nonexistent key" }, - "id": 2204, + "id": 1696, "name": "Literal", - "src": "41139:32:1" + "src": "42313:32:0" } ], - "id": 2205, + "id": 1697, "name": "FunctionCall", - "src": "41116:56:1" + "src": "42290:56:0" } ], - "id": 2206, + "id": 1698, "name": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "attributes": { - "functionReturnParameters": 2192 + "functionReturnParameters": 1684 }, "children": [ { @@ -59589,7 +59589,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59609,7 +59609,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59618,18 +59618,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2207, + "id": 1699, "name": "Identifier", - "src": "41225:3:1" + "src": "42400:3:0" } ], - "id": 2208, + "id": 1700, "name": "MemberAccess", - "src": "41225:12:1" + "src": "42400:12:0" }, { "attributes": { @@ -59650,13 +59650,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2209, + "id": 1701, "name": "Identifier", - "src": "41238:8:1" + "src": "42413:8:0" }, { "attributes": { @@ -59669,39 +59669,39 @@ "type": "int_const 1", "value": "1" }, - "id": 2210, + "id": 1702, "name": "Literal", - "src": "41249:1:1" + "src": "42424:1:0" } ], - "id": 2211, + "id": 1703, "name": "BinaryOperation", - "src": "41238:12:1" + "src": "42413:12:0" } ], - "id": 2212, + "id": 1704, "name": "IndexAccess", - "src": "41225:26:1" + "src": "42400:26:0" } ], - "id": 2213, + "id": 1705, "name": "MemberAccess", - "src": "41225:33:1" + "src": "42400:33:0" } ], - "id": 2214, + "id": 1706, "name": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ], - "id": 2215, + "id": 1707, "name": "Block", - "src": "41060:232:1" + "src": "42232:236:0" } ], - "id": 2216, + "id": 1708, "name": "FunctionDefinition", - "src": "40985:307:1" + "src": "42157:311:0" }, { "attributes": { @@ -59712,7 +59712,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59722,9 +59722,9 @@ "attributes": { "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2217, + "id": 1709, "name": "StructuredDocumentation", - "src": "41298:271:1" + "src": "42476:276:0" }, { "children": [ @@ -59733,7 +59733,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59743,24 +59743,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2218, + "id": 1710, "name": "UserDefinedTypeName", - "src": "41588:3:1" + "src": "42772:3:0" } ], - "id": 2219, + "id": 1711, "name": "VariableDeclaration", - "src": "41588:15:1" + "src": "42772:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59772,21 +59772,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2220, + "id": 1712, "name": "ElementaryTypeName", - "src": "41605:7:1" + "src": "42789:7:0" } ], - "id": 2221, + "id": 1713, "name": "VariableDeclaration", - "src": "41605:11:1" + "src": "42789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -59798,19 +59798,19 @@ "name": "string", "type": "string" }, - "id": 2222, + "id": 1714, "name": "ElementaryTypeName", - "src": "41618:6:1" + "src": "42802:6:0" } ], - "id": 2223, + "id": 1715, "name": "VariableDeclaration", - "src": "41618:26:1" + "src": "42802:26:0" } ], - "id": 2224, + "id": 1716, "name": "ParameterList", - "src": "41587:58:1" + "src": "42771:58:0" }, { "children": [ @@ -59819,7 +59819,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59831,26 +59831,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2225, + "id": 1717, "name": "ElementaryTypeName", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2226, + "id": 1718, "name": "VariableDeclaration", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2227, + "id": 1719, "name": "ParameterList", - "src": "41667:9:1" + "src": "42851:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2229 + 1721 ] }, "children": [ @@ -59859,7 +59859,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2250, + "scope": 1742, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59871,14 +59871,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2228, + "id": 1720, "name": "ElementaryTypeName", - "src": "41687:7:1" + "src": "42872:7:0" } ], - "id": 2229, + "id": 1721, "name": "VariableDeclaration", - "src": "41687:16:1" + "src": "42872:16:0" }, { "attributes": { @@ -59896,7 +59896,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59905,41 +59905,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2230, + "id": 1722, "name": "Identifier", - "src": "41706:3:1" + "src": "42891:3:0" } ], - "id": 2231, + "id": 1723, "name": "MemberAccess", - "src": "41706:12:1" + "src": "42891:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2221, + "referencedDeclaration": 1713, "type": "bytes32", "value": "key" }, - "id": 2232, + "id": 1724, "name": "Identifier", - "src": "41719:3:1" + "src": "42904:3:0" } ], - "id": 2233, + "id": 1725, "name": "IndexAccess", - "src": "41706:17:1" + "src": "42891:17:0" } ], - "id": 2234, + "id": 1726, "name": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "children": [ @@ -59978,9 +59978,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2235, + "id": 1727, "name": "Identifier", - "src": "41733:7:1" + "src": "42919:7:0" }, { "attributes": { @@ -60001,13 +60001,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2236, + "id": 1728, "name": "Identifier", - "src": "41741:8:1" + "src": "42927:8:0" }, { "attributes": { @@ -60020,41 +60020,41 @@ "type": "int_const 0", "value": "0" }, - "id": 2237, + "id": 1729, "name": "Literal", - "src": "41753:1:1" + "src": "42939:1:0" } ], - "id": 2238, + "id": 1730, "name": "BinaryOperation", - "src": "41741:13:1" + "src": "42927:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2223, + "referencedDeclaration": 1715, "type": "string memory", "value": "errorMessage" }, - "id": 2239, + "id": 1731, "name": "Identifier", - "src": "41756:12:1" + "src": "42942:12:0" } ], - "id": 2240, + "id": 1732, "name": "FunctionCall", - "src": "41733:36:1" + "src": "42919:36:0" } ], - "id": 2241, + "id": 1733, "name": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "attributes": { - "functionReturnParameters": 2227 + "functionReturnParameters": 1719 }, "children": [ { @@ -60064,7 +60064,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -60084,7 +60084,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -60093,18 +60093,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2242, + "id": 1734, "name": "Identifier", - "src": "41822:3:1" + "src": "43009:3:0" } ], - "id": 2243, + "id": 1735, "name": "MemberAccess", - "src": "41822:12:1" + "src": "43009:12:0" }, { "attributes": { @@ -60125,13 +60125,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2244, + "id": 1736, "name": "Identifier", - "src": "41835:8:1" + "src": "43022:8:0" }, { "attributes": { @@ -60144,45 +60144,45 @@ "type": "int_const 1", "value": "1" }, - "id": 2245, + "id": 1737, "name": "Literal", - "src": "41846:1:1" + "src": "43033:1:0" } ], - "id": 2246, + "id": 1738, "name": "BinaryOperation", - "src": "41835:12:1" + "src": "43022:12:0" } ], - "id": 2247, + "id": 1739, "name": "IndexAccess", - "src": "41822:26:1" + "src": "43009:26:0" } ], - "id": 2248, + "id": 1740, "name": "MemberAccess", - "src": "41822:33:1" + "src": "43009:33:0" } ], - "id": 2249, + "id": 1741, "name": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ], - "id": 2250, + "id": 1742, "name": "Block", - "src": "41677:212:1" + "src": "42861:216:0" } ], - "id": 2251, + "id": 1743, "name": "FunctionDefinition", - "src": "41574:315:1" + "src": "42758:319:0" }, { "attributes": { "canonicalName": "EnumerableMap.UintToAddressMap", "name": "UintToAddressMap", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -60191,7 +60191,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 2254, + "scope": 1746, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.Map", @@ -60201,22 +60201,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2252, + "id": 1744, "name": "UserDefinedTypeName", - "src": "41954:3:1" + "src": "43147:3:0" } ], - "id": 2253, + "id": 1745, "name": "VariableDeclaration", - "src": "41954:10:1" + "src": "43147:10:0" } ], - "id": 2254, + "id": 1746, "name": "StructDefinition", - "src": "41920:51:1" + "src": "43112:53:0" }, { "attributes": { @@ -60227,7 +60227,7 @@ null ], "name": "set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60237,9 +60237,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2255, + "id": 1747, "name": "StructuredDocumentation", - "src": "41977:216:1" + "src": "43173:222:0" }, { "children": [ @@ -60248,7 +60248,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60258,24 +60258,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2256, + "id": 1748, "name": "UserDefinedTypeName", - "src": "42211:16:1" + "src": "43414:16:0" } ], - "id": 2257, + "id": 1749, "name": "VariableDeclaration", - "src": "42211:28:1" + "src": "43414:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60287,21 +60287,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2258, + "id": 1750, "name": "ElementaryTypeName", - "src": "42241:7:1" + "src": "43444:7:0" } ], - "id": 2259, + "id": 1751, "name": "VariableDeclaration", - "src": "42241:11:1" + "src": "43444:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -60314,19 +60314,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2260, + "id": 1752, "name": "ElementaryTypeName", - "src": "42254:7:1" + "src": "43457:7:0" } ], - "id": 2261, + "id": 1753, "name": "VariableDeclaration", - "src": "42254:13:1" + "src": "43457:13:0" } ], - "id": 2262, + "id": 1754, "name": "ParameterList", - "src": "42210:58:1" + "src": "43413:58:0" }, { "children": [ @@ -60335,7 +60335,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60347,25 +60347,25 @@ "name": "bool", "type": "bool" }, - "id": 2263, + "id": 1755, "name": "ElementaryTypeName", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2264, + "id": 1756, "name": "VariableDeclaration", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2265, + "id": 1757, "name": "ParameterList", - "src": "42286:6:1" + "src": "43489:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2265 + "functionReturnParameters": 1757 }, "children": [ { @@ -60387,7 +60387,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60402,13 +60402,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1998, + "referencedDeclaration": 1490, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)", "value": "_set" }, - "id": 2266, + "id": 1758, "name": "Identifier", - "src": "42310:4:1" + "src": "43514:4:0" }, { "attributes": { @@ -60417,7 +60417,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60426,18 +60426,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2257, + "referencedDeclaration": 1749, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2267, + "id": 1759, "name": "Identifier", - "src": "42315:3:1" + "src": "43519:3:0" } ], - "id": 2268, + "id": 1760, "name": "MemberAccess", - "src": "42315:10:1" + "src": "43519:10:0" }, { "attributes": { @@ -60473,32 +60473,32 @@ "attributes": { "name": "bytes32" }, - "id": 2269, + "id": 1761, "name": "ElementaryTypeName", - "src": "42327:7:1" + "src": "43531:7:0" } ], - "id": 2270, + "id": 1762, "name": "ElementaryTypeNameExpression", - "src": "42327:7:1" + "src": "43531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2259, + "referencedDeclaration": 1751, "type": "uint256", "value": "key" }, - "id": 2271, + "id": 1763, "name": "Identifier", - "src": "42335:3:1" + "src": "43539:3:0" } ], - "id": 2272, + "id": 1764, "name": "FunctionCall", - "src": "42327:12:1" + "src": "43531:12:0" }, { "attributes": { @@ -60534,14 +60534,14 @@ "attributes": { "name": "bytes32" }, - "id": 2273, + "id": 1765, "name": "ElementaryTypeName", - "src": "42341:7:1" + "src": "43545:7:0" } ], - "id": 2274, + "id": 1766, "name": "ElementaryTypeNameExpression", - "src": "42341:7:1" + "src": "43545:7:0" }, { "attributes": { @@ -60577,14 +60577,14 @@ "attributes": { "name": "uint256" }, - "id": 2275, + "id": 1767, "name": "ElementaryTypeName", - "src": "42349:7:1" + "src": "43553:7:0" } ], - "id": 2276, + "id": 1768, "name": "ElementaryTypeNameExpression", - "src": "42349:7:1" + "src": "43553:7:0" }, { "attributes": { @@ -60620,62 +60620,62 @@ "attributes": { "name": "uint160" }, - "id": 2277, + "id": 1769, "name": "ElementaryTypeName", - "src": "42357:7:1" + "src": "43561:7:0" } ], - "id": 2278, + "id": 1770, "name": "ElementaryTypeNameExpression", - "src": "42357:7:1" + "src": "43561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2261, + "referencedDeclaration": 1753, "type": "address", "value": "value" }, - "id": 2279, + "id": 1771, "name": "Identifier", - "src": "42365:5:1" + "src": "43569:5:0" } ], - "id": 2280, + "id": 1772, "name": "FunctionCall", - "src": "42357:14:1" + "src": "43561:14:0" } ], - "id": 2281, + "id": 1773, "name": "FunctionCall", - "src": "42349:23:1" + "src": "43553:23:0" } ], - "id": 2282, + "id": 1774, "name": "FunctionCall", - "src": "42341:32:1" + "src": "43545:32:0" } ], - "id": 2283, + "id": 1775, "name": "FunctionCall", - "src": "42310:64:1" + "src": "43514:64:0" } ], - "id": 2284, + "id": 1776, "name": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ], - "id": 2285, + "id": 1777, "name": "Block", - "src": "42293:88:1" + "src": "43496:90:0" } ], - "id": 2286, + "id": 1778, "name": "FunctionDefinition", - "src": "42198:183:1" + "src": "43401:185:0" }, { "attributes": { @@ -60686,7 +60686,7 @@ null ], "name": "remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60696,9 +60696,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2287, + "id": 1779, "name": "StructuredDocumentation", - "src": "42387:148:1" + "src": "43594:152:0" }, { "children": [ @@ -60707,7 +60707,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60717,24 +60717,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2288, + "id": 1780, "name": "UserDefinedTypeName", - "src": "42556:16:1" + "src": "43768:16:0" } ], - "id": 2289, + "id": 1781, "name": "VariableDeclaration", - "src": "42556:28:1" + "src": "43768:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60746,19 +60746,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2290, + "id": 1782, "name": "ElementaryTypeName", - "src": "42586:7:1" + "src": "43798:7:0" } ], - "id": 2291, + "id": 1783, "name": "VariableDeclaration", - "src": "42586:11:1" + "src": "43798:11:0" } ], - "id": 2292, + "id": 1784, "name": "ParameterList", - "src": "42555:43:1" + "src": "43767:43:0" }, { "children": [ @@ -60767,7 +60767,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60779,25 +60779,25 @@ "name": "bool", "type": "bool" }, - "id": 2293, + "id": 1785, "name": "ElementaryTypeName", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2294, + "id": 1786, "name": "VariableDeclaration", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2295, + "id": 1787, "name": "ParameterList", - "src": "42616:6:1" + "src": "43828:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2295 + "functionReturnParameters": 1787 }, "children": [ { @@ -60819,7 +60819,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60830,13 +60830,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2079, + "referencedDeclaration": 1571, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 2296, + "id": 1788, "name": "Identifier", - "src": "42640:7:1" + "src": "43853:7:0" }, { "attributes": { @@ -60845,7 +60845,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60854,18 +60854,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2289, + "referencedDeclaration": 1781, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2297, + "id": 1789, "name": "Identifier", - "src": "42648:3:1" + "src": "43861:3:0" } ], - "id": 2298, + "id": 1790, "name": "MemberAccess", - "src": "42648:10:1" + "src": "43861:10:0" }, { "attributes": { @@ -60901,52 +60901,52 @@ "attributes": { "name": "bytes32" }, - "id": 2299, + "id": 1791, "name": "ElementaryTypeName", - "src": "42660:7:1" + "src": "43873:7:0" } ], - "id": 2300, + "id": 1792, "name": "ElementaryTypeNameExpression", - "src": "42660:7:1" + "src": "43873:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2291, + "referencedDeclaration": 1783, "type": "uint256", "value": "key" }, - "id": 2301, + "id": 1793, "name": "Identifier", - "src": "42668:3:1" + "src": "43881:3:0" } ], - "id": 2302, + "id": 1794, "name": "FunctionCall", - "src": "42660:12:1" + "src": "43873:12:0" } ], - "id": 2303, + "id": 1795, "name": "FunctionCall", - "src": "42640:33:1" + "src": "43853:33:0" } ], - "id": 2304, + "id": 1796, "name": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ], - "id": 2305, + "id": 1797, "name": "Block", - "src": "42623:57:1" + "src": "43835:59:0" } ], - "id": 2306, + "id": 1798, "name": "FunctionDefinition", - "src": "42540:140:1" + "src": "43752:142:0" }, { "attributes": { @@ -60957,7 +60957,7 @@ null ], "name": "contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -60967,9 +60967,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2307, + "id": 1799, "name": "StructuredDocumentation", - "src": "42686:68:1" + "src": "43902:70:0" }, { "children": [ @@ -60978,7 +60978,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60988,24 +60988,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2308, + "id": 1800, "name": "UserDefinedTypeName", - "src": "42777:16:1" + "src": "43996:16:0" } ], - "id": 2309, + "id": 1801, "name": "VariableDeclaration", - "src": "42777:28:1" + "src": "43996:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61017,19 +61017,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2310, + "id": 1802, "name": "ElementaryTypeName", - "src": "42807:7:1" + "src": "44026:7:0" } ], - "id": 2311, + "id": 1803, "name": "VariableDeclaration", - "src": "42807:11:1" + "src": "44026:11:0" } ], - "id": 2312, + "id": 1804, "name": "ParameterList", - "src": "42776:43:1" + "src": "43995:43:0" }, { "children": [ @@ -61038,7 +61038,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -61050,25 +61050,25 @@ "name": "bool", "type": "bool" }, - "id": 2313, + "id": 1805, "name": "ElementaryTypeName", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2314, + "id": 1806, "name": "VariableDeclaration", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2315, + "id": 1807, "name": "ParameterList", - "src": "42842:6:1" + "src": "44061:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2315 + "functionReturnParameters": 1807 }, "children": [ { @@ -61090,7 +61090,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61101,13 +61101,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2097, + "referencedDeclaration": 1589, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 2316, + "id": 1808, "name": "Identifier", - "src": "42866:9:1" + "src": "44086:9:0" }, { "attributes": { @@ -61116,7 +61116,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61125,18 +61125,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2309, + "referencedDeclaration": 1801, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2317, + "id": 1809, "name": "Identifier", - "src": "42876:3:1" + "src": "44096:3:0" } ], - "id": 2318, + "id": 1810, "name": "MemberAccess", - "src": "42876:10:1" + "src": "44096:10:0" }, { "attributes": { @@ -61172,52 +61172,52 @@ "attributes": { "name": "bytes32" }, - "id": 2319, + "id": 1811, "name": "ElementaryTypeName", - "src": "42888:7:1" + "src": "44108:7:0" } ], - "id": 2320, + "id": 1812, "name": "ElementaryTypeNameExpression", - "src": "42888:7:1" + "src": "44108:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2311, + "referencedDeclaration": 1803, "type": "uint256", "value": "key" }, - "id": 2321, + "id": 1813, "name": "Identifier", - "src": "42896:3:1" + "src": "44116:3:0" } ], - "id": 2322, + "id": 1814, "name": "FunctionCall", - "src": "42888:12:1" + "src": "44108:12:0" } ], - "id": 2323, + "id": 1815, "name": "FunctionCall", - "src": "42866:35:1" + "src": "44086:35:0" } ], - "id": 2324, + "id": 1816, "name": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ], - "id": 2325, + "id": 1817, "name": "Block", - "src": "42849:59:1" + "src": "44068:61:0" } ], - "id": 2326, + "id": 1818, "name": "FunctionDefinition", - "src": "42759:149:1" + "src": "43978:151:0" }, { "attributes": { @@ -61228,7 +61228,7 @@ null ], "name": "length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61238,9 +61238,9 @@ "attributes": { "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2327, + "id": 1819, "name": "StructuredDocumentation", - "src": "42914:72:1" + "src": "44137:74:0" }, { "children": [ @@ -61249,7 +61249,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61259,22 +61259,22 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2328, + "id": 1820, "name": "UserDefinedTypeName", - "src": "43007:16:1" + "src": "44233:16:0" } ], - "id": 2329, + "id": 1821, "name": "VariableDeclaration", - "src": "43007:28:1" + "src": "44233:28:0" } ], - "id": 2330, + "id": 1822, "name": "ParameterList", - "src": "43006:30:1" + "src": "44232:30:0" }, { "children": [ @@ -61283,7 +61283,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61295,25 +61295,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2331, + "id": 1823, "name": "ElementaryTypeName", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2332, + "id": 1824, "name": "VariableDeclaration", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2333, + "id": 1825, "name": "ParameterList", - "src": "43059:9:1" + "src": "44285:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2333 + "functionReturnParameters": 1825 }, "children": [ { @@ -61335,20 +61335,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 2110, + "referencedDeclaration": 1602, "type": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)", "value": "_length" }, - "id": 2334, + "id": 1826, "name": "Identifier", - "src": "43086:7:1" + "src": "44313:7:0" }, { "attributes": { @@ -61357,7 +61357,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61366,38 +61366,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2329, + "referencedDeclaration": 1821, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2335, + "id": 1827, "name": "Identifier", - "src": "43094:3:1" + "src": "44321:3:0" } ], - "id": 2336, + "id": 1828, "name": "MemberAccess", - "src": "43094:10:1" + "src": "44321:10:0" } ], - "id": 2337, + "id": 1829, "name": "FunctionCall", - "src": "43086:19:1" + "src": "44313:19:0" } ], - "id": 2338, + "id": 1830, "name": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ], - "id": 2339, + "id": 1831, "name": "Block", - "src": "43069:43:1" + "src": "44295:45:0" } ], - "id": 2340, + "id": 1832, "name": "FunctionDefinition", - "src": "42991:121:1" + "src": "44217:123:0" }, { "attributes": { @@ -61408,7 +61408,7 @@ null ], "name": "at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61418,9 +61418,9 @@ "attributes": { "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2341, + "id": 1833, "name": "StructuredDocumentation", - "src": "43117:318:1" + "src": "44347:326:0" }, { "children": [ @@ -61429,7 +61429,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61439,24 +61439,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2342, + "id": 1834, "name": "UserDefinedTypeName", - "src": "43452:16:1" + "src": "44691:16:0" } ], - "id": 2343, + "id": 1835, "name": "VariableDeclaration", - "src": "43452:28:1" + "src": "44691:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61468,19 +61468,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2344, + "id": 1836, "name": "ElementaryTypeName", - "src": "43482:7:1" + "src": "44721:7:0" } ], - "id": 2345, + "id": 1837, "name": "VariableDeclaration", - "src": "43482:13:1" + "src": "44721:13:0" } ], - "id": 2346, + "id": 1838, "name": "ParameterList", - "src": "43451:45:1" + "src": "44690:45:0" }, { "children": [ @@ -61489,7 +61489,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61501,21 +61501,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2347, + "id": 1839, "name": "ElementaryTypeName", - "src": "43520:7:1" + "src": "44759:7:0" } ], - "id": 2348, + "id": 1840, "name": "VariableDeclaration", - "src": "43520:7:1" + "src": "44759:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -61528,27 +61528,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2349, + "id": 1841, "name": "ElementaryTypeName", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2350, + "id": 1842, "name": "VariableDeclaration", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2351, + "id": 1843, "name": "ParameterList", - "src": "43519:18:1" + "src": "44758:18:0" }, { "children": [ { "attributes": { "assignments": [ - 2353, - 2355 + 1845, + 1847 ] }, "children": [ @@ -61557,7 +61557,7 @@ "constant": false, "mutability": "mutable", "name": "key", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61569,21 +61569,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2352, + "id": 1844, "name": "ElementaryTypeName", - "src": "43549:7:1" + "src": "44789:7:0" } ], - "id": 2353, + "id": 1845, "name": "VariableDeclaration", - "src": "43549:11:1" + "src": "44789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61595,14 +61595,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2354, + "id": 1846, "name": "ElementaryTypeName", - "src": "43562:7:1" + "src": "44802:7:0" } ], - "id": 2355, + "id": 1847, "name": "VariableDeclaration", - "src": "43562:13:1" + "src": "44802:13:0" }, { "attributes": { @@ -61623,7 +61623,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61634,13 +61634,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2145, + "referencedDeclaration": 1637, "type": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)", "value": "_at" }, - "id": 2356, + "id": 1848, "name": "Identifier", - "src": "43579:3:1" + "src": "44819:3:0" }, { "attributes": { @@ -61649,7 +61649,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61658,45 +61658,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2343, + "referencedDeclaration": 1835, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2357, + "id": 1849, "name": "Identifier", - "src": "43583:3:1" + "src": "44823:3:0" } ], - "id": 2358, + "id": 1850, "name": "MemberAccess", - "src": "43583:10:1" + "src": "44823:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2345, + "referencedDeclaration": 1837, "type": "uint256", "value": "index" }, - "id": 2359, + "id": 1851, "name": "Identifier", - "src": "43595:5:1" + "src": "44835:5:0" } ], - "id": 2360, + "id": 1852, "name": "FunctionCall", - "src": "43579:22:1" + "src": "44819:22:0" } ], - "id": 2361, + "id": 1853, "name": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "attributes": { - "functionReturnParameters": 2351 + "functionReturnParameters": 1843 }, "children": [ { @@ -61743,32 +61743,32 @@ "attributes": { "name": "uint256" }, - "id": 2362, + "id": 1854, "name": "ElementaryTypeName", - "src": "43619:7:1" + "src": "44860:7:0" } ], - "id": 2363, + "id": 1855, "name": "ElementaryTypeNameExpression", - "src": "43619:7:1" + "src": "44860:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2353, + "referencedDeclaration": 1845, "type": "bytes32", "value": "key" }, - "id": 2364, + "id": 1856, "name": "Identifier", - "src": "43627:3:1" + "src": "44868:3:0" } ], - "id": 2365, + "id": 1857, "name": "FunctionCall", - "src": "43619:12:1" + "src": "44860:12:0" }, { "attributes": { @@ -61804,14 +61804,14 @@ "attributes": { "name": "address" }, - "id": 2366, + "id": 1858, "name": "ElementaryTypeName", - "src": "43633:7:1" + "src": "44874:7:0" } ], - "id": 2367, + "id": 1859, "name": "ElementaryTypeNameExpression", - "src": "43633:7:1" + "src": "44874:7:0" }, { "attributes": { @@ -61847,14 +61847,14 @@ "attributes": { "name": "uint160" }, - "id": 2368, + "id": 1860, "name": "ElementaryTypeName", - "src": "43641:7:1" + "src": "44882:7:0" } ], - "id": 2369, + "id": 1861, "name": "ElementaryTypeNameExpression", - "src": "43641:7:1" + "src": "44882:7:0" }, { "attributes": { @@ -61890,62 +61890,62 @@ "attributes": { "name": "uint256" }, - "id": 2370, + "id": 1862, "name": "ElementaryTypeName", - "src": "43649:7:1" + "src": "44890:7:0" } ], - "id": 2371, + "id": 1863, "name": "ElementaryTypeNameExpression", - "src": "43649:7:1" + "src": "44890:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2355, + "referencedDeclaration": 1847, "type": "bytes32", "value": "value" }, - "id": 2372, + "id": 1864, "name": "Identifier", - "src": "43657:5:1" + "src": "44898:5:0" } ], - "id": 2373, + "id": 1865, "name": "FunctionCall", - "src": "43649:14:1" + "src": "44890:14:0" } ], - "id": 2374, + "id": 1866, "name": "FunctionCall", - "src": "43641:23:1" + "src": "44882:23:0" } ], - "id": 2375, + "id": 1867, "name": "FunctionCall", - "src": "43633:32:1" + "src": "44874:32:0" } ], - "id": 2376, + "id": 1868, "name": "TupleExpression", - "src": "43618:48:1" + "src": "44859:48:0" } ], - "id": 2377, + "id": 1869, "name": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ], - "id": 2378, + "id": 1870, "name": "Block", - "src": "43538:135:1" + "src": "44777:138:0" } ], - "id": 2379, + "id": 1871, "name": "FunctionDefinition", - "src": "43440:233:1" + "src": "44679:236:0" }, { "attributes": { @@ -61956,7 +61956,7 @@ null ], "name": "tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61966,9 +61966,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2380, + "id": 1872, "name": "StructuredDocumentation", - "src": "43679:169:1" + "src": "44923:174:0" }, { "children": [ @@ -61977,7 +61977,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61987,24 +61987,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2381, + "id": 1873, "name": "UserDefinedTypeName", - "src": "43869:16:1" + "src": "45119:16:0" } ], - "id": 2382, + "id": 1874, "name": "VariableDeclaration", - "src": "43869:28:1" + "src": "45119:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62016,19 +62016,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2383, + "id": 1875, "name": "ElementaryTypeName", - "src": "43899:7:1" + "src": "45149:7:0" } ], - "id": 2384, + "id": 1876, "name": "VariableDeclaration", - "src": "43899:11:1" + "src": "45149:11:0" } ], - "id": 2385, + "id": 1877, "name": "ParameterList", - "src": "43868:43:1" + "src": "45118:43:0" }, { "children": [ @@ -62037,7 +62037,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62049,21 +62049,21 @@ "name": "bool", "type": "bool" }, - "id": 2386, + "id": 1878, "name": "ElementaryTypeName", - "src": "43935:4:1" + "src": "45185:4:0" } ], - "id": 2387, + "id": 1879, "name": "VariableDeclaration", - "src": "43935:4:1" + "src": "45185:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62076,27 +62076,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2388, + "id": 1880, "name": "ElementaryTypeName", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2389, + "id": 1881, "name": "VariableDeclaration", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2390, + "id": 1882, "name": "ParameterList", - "src": "43934:15:1" + "src": "45184:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2392, - 2394 + 1884, + 1886 ] }, "children": [ @@ -62105,7 +62105,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62117,21 +62117,21 @@ "name": "bool", "type": "bool" }, - "id": 2391, + "id": 1883, "name": "ElementaryTypeName", - "src": "43961:4:1" + "src": "45212:4:0" } ], - "id": 2392, + "id": 1884, "name": "VariableDeclaration", - "src": "43961:12:1" + "src": "45212:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -62143,14 +62143,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2393, + "id": 1885, "name": "ElementaryTypeName", - "src": "43975:7:1" + "src": "45226:7:0" } ], - "id": 2394, + "id": 1886, "name": "VariableDeclaration", - "src": "43975:13:1" + "src": "45226:13:0" }, { "attributes": { @@ -62171,7 +62171,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62182,13 +62182,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2183, + "referencedDeclaration": 1675, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)", "value": "_tryGet" }, - "id": 2395, + "id": 1887, "name": "Identifier", - "src": "43992:7:1" + "src": "45243:7:0" }, { "attributes": { @@ -62197,7 +62197,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62206,18 +62206,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2382, + "referencedDeclaration": 1874, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2396, + "id": 1888, "name": "Identifier", - "src": "44000:3:1" + "src": "45251:3:0" } ], - "id": 2397, + "id": 1889, "name": "MemberAccess", - "src": "44000:10:1" + "src": "45251:10:0" }, { "attributes": { @@ -62253,46 +62253,46 @@ "attributes": { "name": "bytes32" }, - "id": 2398, + "id": 1890, "name": "ElementaryTypeName", - "src": "44012:7:1" + "src": "45263:7:0" } ], - "id": 2399, + "id": 1891, "name": "ElementaryTypeNameExpression", - "src": "44012:7:1" + "src": "45263:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2384, + "referencedDeclaration": 1876, "type": "uint256", "value": "key" }, - "id": 2400, + "id": 1892, "name": "Identifier", - "src": "44020:3:1" + "src": "45271:3:0" } ], - "id": 2401, + "id": 1893, "name": "FunctionCall", - "src": "44012:12:1" + "src": "45263:12:0" } ], - "id": 2402, + "id": 1894, "name": "FunctionCall", - "src": "43992:33:1" + "src": "45243:33:0" } ], - "id": 2403, + "id": 1895, "name": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "attributes": { - "functionReturnParameters": 2390 + "functionReturnParameters": 1882 }, "children": [ { @@ -62310,13 +62310,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2392, + "referencedDeclaration": 1884, "type": "bool", "value": "success" }, - "id": 2404, + "id": 1896, "name": "Identifier", - "src": "44043:7:1" + "src": "45295:7:0" }, { "attributes": { @@ -62352,14 +62352,14 @@ "attributes": { "name": "address" }, - "id": 2405, + "id": 1897, "name": "ElementaryTypeName", - "src": "44052:7:1" + "src": "45304:7:0" } ], - "id": 2406, + "id": 1898, "name": "ElementaryTypeNameExpression", - "src": "44052:7:1" + "src": "45304:7:0" }, { "attributes": { @@ -62395,14 +62395,14 @@ "attributes": { "name": "uint160" }, - "id": 2407, + "id": 1899, "name": "ElementaryTypeName", - "src": "44060:7:1" + "src": "45312:7:0" } ], - "id": 2408, + "id": 1900, "name": "ElementaryTypeNameExpression", - "src": "44060:7:1" + "src": "45312:7:0" }, { "attributes": { @@ -62438,62 +62438,62 @@ "attributes": { "name": "uint256" }, - "id": 2409, + "id": 1901, "name": "ElementaryTypeName", - "src": "44068:7:1" + "src": "45320:7:0" } ], - "id": 2410, + "id": 1902, "name": "ElementaryTypeNameExpression", - "src": "44068:7:1" + "src": "45320:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2394, + "referencedDeclaration": 1886, "type": "bytes32", "value": "value" }, - "id": 2411, + "id": 1903, "name": "Identifier", - "src": "44076:5:1" + "src": "45328:5:0" } ], - "id": 2412, + "id": 1904, "name": "FunctionCall", - "src": "44068:14:1" + "src": "45320:14:0" } ], - "id": 2413, + "id": 1905, "name": "FunctionCall", - "src": "44060:23:1" + "src": "45312:23:0" } ], - "id": 2414, + "id": 1906, "name": "FunctionCall", - "src": "44052:32:1" + "src": "45304:32:0" } ], - "id": 2415, + "id": 1907, "name": "TupleExpression", - "src": "44042:43:1" + "src": "45294:43:0" } ], - "id": 2416, + "id": 1908, "name": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ], - "id": 2417, + "id": 1909, "name": "Block", - "src": "43950:142:1" + "src": "45200:145:0" } ], - "id": 2418, + "id": 1910, "name": "FunctionDefinition", - "src": "43853:239:1" + "src": "45103:242:0" }, { "attributes": { @@ -62504,7 +62504,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62514,9 +62514,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2419, + "id": 1911, "name": "StructuredDocumentation", - "src": "44098:141:1" + "src": "45353:147:0" }, { "children": [ @@ -62525,7 +62525,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62535,24 +62535,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2420, + "id": 1912, "name": "UserDefinedTypeName", - "src": "44257:16:1" + "src": "45519:16:0" } ], - "id": 2421, + "id": 1913, "name": "VariableDeclaration", - "src": "44257:28:1" + "src": "45519:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62564,19 +62564,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2422, + "id": 1914, "name": "ElementaryTypeName", - "src": "44287:7:1" + "src": "45549:7:0" } ], - "id": 2423, + "id": 1915, "name": "VariableDeclaration", - "src": "44287:11:1" + "src": "45549:11:0" } ], - "id": 2424, + "id": 1916, "name": "ParameterList", - "src": "44256:43:1" + "src": "45518:43:0" }, { "children": [ @@ -62585,7 +62585,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62598,25 +62598,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2425, + "id": 1917, "name": "ElementaryTypeName", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2426, + "id": 1918, "name": "VariableDeclaration", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2427, + "id": 1919, "name": "ParameterList", - "src": "44322:9:1" + "src": "45584:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2427 + "functionReturnParameters": 1919 }, "children": [ { @@ -62653,14 +62653,14 @@ "attributes": { "name": "address" }, - "id": 2428, + "id": 1920, "name": "ElementaryTypeName", - "src": "44349:7:1" + "src": "45612:7:0" } ], - "id": 2429, + "id": 1921, "name": "ElementaryTypeNameExpression", - "src": "44349:7:1" + "src": "45612:7:0" }, { "attributes": { @@ -62696,14 +62696,14 @@ "attributes": { "name": "uint160" }, - "id": 2430, + "id": 1922, "name": "ElementaryTypeName", - "src": "44357:7:1" + "src": "45620:7:0" } ], - "id": 2431, + "id": 1923, "name": "ElementaryTypeNameExpression", - "src": "44357:7:1" + "src": "45620:7:0" }, { "attributes": { @@ -62739,14 +62739,14 @@ "attributes": { "name": "uint256" }, - "id": 2432, + "id": 1924, "name": "ElementaryTypeName", - "src": "44365:7:1" + "src": "45628:7:0" } ], - "id": 2433, + "id": 1925, "name": "ElementaryTypeNameExpression", - "src": "44365:7:1" + "src": "45628:7:0" }, { "attributes": { @@ -62767,7 +62767,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62776,16 +62776,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, + "referencedDeclaration": 1708, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)", "value": "_get" }, - "id": 2434, + "id": 1926, "name": "Identifier", - "src": "44373:4:1" + "src": "45636:4:0" }, { "attributes": { @@ -62794,7 +62794,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62803,18 +62803,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2421, + "referencedDeclaration": 1913, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2435, + "id": 1927, "name": "Identifier", - "src": "44378:3:1" + "src": "45641:3:0" } ], - "id": 2436, + "id": 1928, "name": "MemberAccess", - "src": "44378:10:1" + "src": "45641:10:0" }, { "attributes": { @@ -62850,67 +62850,67 @@ "attributes": { "name": "bytes32" }, - "id": 2437, + "id": 1929, "name": "ElementaryTypeName", - "src": "44390:7:1" + "src": "45653:7:0" } ], - "id": 2438, + "id": 1930, "name": "ElementaryTypeNameExpression", - "src": "44390:7:1" + "src": "45653:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2423, + "referencedDeclaration": 1915, "type": "uint256", "value": "key" }, - "id": 2439, + "id": 1931, "name": "Identifier", - "src": "44398:3:1" + "src": "45661:3:0" } ], - "id": 2440, + "id": 1932, "name": "FunctionCall", - "src": "44390:12:1" + "src": "45653:12:0" } ], - "id": 2441, + "id": 1933, "name": "FunctionCall", - "src": "44373:30:1" + "src": "45636:30:0" } ], - "id": 2442, + "id": 1934, "name": "FunctionCall", - "src": "44365:39:1" + "src": "45628:39:0" } ], - "id": 2443, + "id": 1935, "name": "FunctionCall", - "src": "44357:48:1" + "src": "45620:48:0" } ], - "id": 2444, + "id": 1936, "name": "FunctionCall", - "src": "44349:57:1" + "src": "45612:57:0" } ], - "id": 2445, + "id": 1937, "name": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ], - "id": 2446, + "id": 1938, "name": "Block", - "src": "44332:81:1" + "src": "45594:83:0" } ], - "id": 2447, + "id": 1939, "name": "FunctionDefinition", - "src": "44244:169:1" + "src": "45506:171:0" }, { "attributes": { @@ -62921,7 +62921,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62931,9 +62931,9 @@ "attributes": { "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2448, + "id": 1940, "name": "StructuredDocumentation", - "src": "44419:269:1" + "src": "45685:274:0" }, { "children": [ @@ -62942,7 +62942,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62952,24 +62952,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2449, + "id": 1941, "name": "UserDefinedTypeName", - "src": "44706:16:1" + "src": "45978:16:0" } ], - "id": 2450, + "id": 1942, "name": "VariableDeclaration", - "src": "44706:28:1" + "src": "45978:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62981,21 +62981,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2451, + "id": 1943, "name": "ElementaryTypeName", - "src": "44736:7:1" + "src": "46008:7:0" } ], - "id": 2452, + "id": 1944, "name": "VariableDeclaration", - "src": "44736:11:1" + "src": "46008:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63007,19 +63007,19 @@ "name": "string", "type": "string" }, - "id": 2453, + "id": 1945, "name": "ElementaryTypeName", - "src": "44749:6:1" + "src": "46021:6:0" } ], - "id": 2454, + "id": 1946, "name": "VariableDeclaration", - "src": "44749:26:1" + "src": "46021:26:0" } ], - "id": 2455, + "id": 1947, "name": "ParameterList", - "src": "44705:71:1" + "src": "45977:71:0" }, { "children": [ @@ -63028,7 +63028,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -63041,25 +63041,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2456, + "id": 1948, "name": "ElementaryTypeName", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2457, + "id": 1949, "name": "VariableDeclaration", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2458, + "id": 1950, "name": "ParameterList", - "src": "44799:9:1" + "src": "46071:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2458 + "functionReturnParameters": 1950 }, "children": [ { @@ -63096,14 +63096,14 @@ "attributes": { "name": "address" }, - "id": 2459, + "id": 1951, "name": "ElementaryTypeName", - "src": "44826:7:1" + "src": "46099:7:0" } ], - "id": 2460, + "id": 1952, "name": "ElementaryTypeNameExpression", - "src": "44826:7:1" + "src": "46099:7:0" }, { "attributes": { @@ -63139,14 +63139,14 @@ "attributes": { "name": "uint160" }, - "id": 2461, + "id": 1953, "name": "ElementaryTypeName", - "src": "44834:7:1" + "src": "46107:7:0" } ], - "id": 2462, + "id": 1954, "name": "ElementaryTypeNameExpression", - "src": "44834:7:1" + "src": "46107:7:0" }, { "attributes": { @@ -63182,14 +63182,14 @@ "attributes": { "name": "uint256" }, - "id": 2463, + "id": 1955, "name": "ElementaryTypeName", - "src": "44842:7:1" + "src": "46115:7:0" } ], - "id": 2464, + "id": 1956, "name": "ElementaryTypeNameExpression", - "src": "44842:7:1" + "src": "46115:7:0" }, { "attributes": { @@ -63210,7 +63210,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -63223,16 +63223,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, + "referencedDeclaration": 1743, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)", "value": "_get" }, - "id": 2465, + "id": 1957, "name": "Identifier", - "src": "44850:4:1" + "src": "46123:4:0" }, { "attributes": { @@ -63241,7 +63241,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -63250,18 +63250,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2450, + "referencedDeclaration": 1942, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2466, + "id": 1958, "name": "Identifier", - "src": "44855:3:1" + "src": "46128:3:0" } ], - "id": 2467, + "id": 1959, "name": "MemberAccess", - "src": "44855:10:1" + "src": "46128:10:0" }, { "attributes": { @@ -63297,85 +63297,85 @@ "attributes": { "name": "bytes32" }, - "id": 2468, + "id": 1960, "name": "ElementaryTypeName", - "src": "44867:7:1" + "src": "46140:7:0" } ], - "id": 2469, + "id": 1961, "name": "ElementaryTypeNameExpression", - "src": "44867:7:1" + "src": "46140:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2452, + "referencedDeclaration": 1944, "type": "uint256", "value": "key" }, - "id": 2470, + "id": 1962, "name": "Identifier", - "src": "44875:3:1" + "src": "46148:3:0" } ], - "id": 2471, + "id": 1963, "name": "FunctionCall", - "src": "44867:12:1" + "src": "46140:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2454, + "referencedDeclaration": 1946, "type": "string memory", "value": "errorMessage" }, - "id": 2472, + "id": 1964, "name": "Identifier", - "src": "44881:12:1" + "src": "46154:12:0" } ], - "id": 2473, + "id": 1965, "name": "FunctionCall", - "src": "44850:44:1" + "src": "46123:44:0" } ], - "id": 2474, + "id": 1966, "name": "FunctionCall", - "src": "44842:53:1" + "src": "46115:53:0" } ], - "id": 2475, + "id": 1967, "name": "FunctionCall", - "src": "44834:62:1" + "src": "46107:62:0" } ], - "id": 2476, + "id": 1968, "name": "FunctionCall", - "src": "44826:71:1" + "src": "46099:71:0" } ], - "id": 2477, + "id": 1969, "name": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ], - "id": 2478, + "id": 1970, "name": "Block", - "src": "44809:95:1" + "src": "46081:97:0" } ], - "id": 2479, + "id": 1971, "name": "FunctionDefinition", - "src": "44693:211:1" + "src": "45965:213:0" } ], - "id": 2480, + "id": 1972, "name": "ContractDefinition", - "src": "35943:8963:1" + "src": "36981:9200:0" }, { "attributes": { @@ -63389,9 +63389,9 @@ ".0" ] }, - "id": 2481, + "id": 1973, "name": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "attributes": { @@ -63405,19 +63405,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev String operations." }, - "id": 2482, + "id": 1974, "name": "StructuredDocumentation", - "src": "44992:34:1" + "src": "46272:36:0" }, { "attributes": { @@ -63428,7 +63428,7 @@ null ], "name": "toString", - "scope": 2566, + "scope": 2058, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -63438,9 +63438,9 @@ "attributes": { "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2483, + "id": 1975, "name": "StructuredDocumentation", - "src": "45049:82:1" + "src": "46333:84:0" }, { "children": [ @@ -63449,7 +63449,7 @@ "constant": false, "mutability": "mutable", "name": "value", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63461,19 +63461,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2484, + "id": 1976, "name": "ElementaryTypeName", - "src": "45154:7:1" + "src": "46441:7:0" } ], - "id": 2485, + "id": 1977, "name": "VariableDeclaration", - "src": "45154:13:1" + "src": "46441:13:0" } ], - "id": 2486, + "id": 1978, "name": "ParameterList", - "src": "45153:15:1" + "src": "46440:15:0" }, { "children": [ @@ -63482,7 +63482,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63494,19 +63494,19 @@ "name": "string", "type": "string" }, - "id": 2487, + "id": 1979, "name": "ElementaryTypeName", - "src": "45192:6:1" + "src": "46479:6:0" } ], - "id": 2488, + "id": 1980, "name": "VariableDeclaration", - "src": "45192:13:1" + "src": "46479:13:0" } ], - "id": 2489, + "id": 1981, "name": "ParameterList", - "src": "45191:15:1" + "src": "46478:15:0" }, { "children": [ @@ -63532,13 +63532,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2490, + "id": 1982, "name": "Identifier", - "src": "45409:5:1" + "src": "46700:5:0" }, { "attributes": { @@ -63551,20 +63551,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2491, + "id": 1983, "name": "Literal", - "src": "45418:1:1" + "src": "46709:1:0" } ], - "id": 2492, + "id": 1984, "name": "BinaryOperation", - "src": "45409:10:1" + "src": "46700:10:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -63578,29 +63578,29 @@ "type": "literal_string \"0\"", "value": "0" }, - "id": 2493, + "id": 1985, "name": "Literal", - "src": "45442:3:1" + "src": "46734:3:0" } ], - "id": 2494, + "id": 1986, "name": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ], - "id": 2495, + "id": 1987, "name": "Block", - "src": "45421:35:1" + "src": "46712:37:0" } ], - "id": 2496, + "id": 1988, "name": "IfStatement", - "src": "45405:51:1" + "src": "46696:53:0" }, { "attributes": { "assignments": [ - 2498 + 1990 ] }, "children": [ @@ -63609,7 +63609,7 @@ "constant": false, "mutability": "mutable", "name": "temp", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63621,37 +63621,37 @@ "name": "uint256", "type": "uint256" }, - "id": 2497, + "id": 1989, "name": "ElementaryTypeName", - "src": "45465:7:1" + "src": "46759:7:0" } ], - "id": 2498, + "id": 1990, "name": "VariableDeclaration", - "src": "45465:12:1" + "src": "46759:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2499, + "id": 1991, "name": "Identifier", - "src": "45480:5:1" + "src": "46774:5:0" } ], - "id": 2500, + "id": 1992, "name": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "attributes": { "assignments": [ - 2502 + 1994 ] }, "children": [ @@ -63660,7 +63660,7 @@ "constant": false, "mutability": "mutable", "name": "digits", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63672,19 +63672,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2501, + "id": 1993, "name": "ElementaryTypeName", - "src": "45495:7:1" + "src": "46790:7:0" } ], - "id": 2502, + "id": 1994, "name": "VariableDeclaration", - "src": "45495:14:1" + "src": "46790:14:0" } ], - "id": 2503, + "id": 1995, "name": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "children": [ @@ -63707,13 +63707,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2504, + "id": 1996, "name": "Identifier", - "src": "45526:4:1" + "src": "46822:4:0" }, { "attributes": { @@ -63726,14 +63726,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2505, + "id": 1997, "name": "Literal", - "src": "45534:1:1" + "src": "46830:1:0" } ], - "id": 2506, + "id": 1998, "name": "BinaryOperation", - "src": "45526:9:1" + "src": "46822:9:0" }, { "children": [ @@ -63755,23 +63755,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2507, + "id": 1999, "name": "Identifier", - "src": "45551:6:1" + "src": "46848:6:0" } ], - "id": 2508, + "id": 2000, "name": "UnaryOperation", - "src": "45551:8:1" + "src": "46848:8:0" } ], - "id": 2509, + "id": 2001, "name": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "children": [ @@ -63790,13 +63790,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2510, + "id": 2002, "name": "Identifier", - "src": "45573:4:1" + "src": "46871:4:0" }, { "attributes": { @@ -63809,34 +63809,34 @@ "type": "int_const 10", "value": "10" }, - "id": 2511, + "id": 2003, "name": "Literal", - "src": "45581:2:1" + "src": "46879:2:0" } ], - "id": 2512, + "id": 2004, "name": "Assignment", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2513, + "id": 2005, "name": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2514, + "id": 2006, "name": "Block", - "src": "45537:57:1" + "src": "46833:60:0" } ], - "id": 2515, + "id": 2007, "name": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "attributes": { "assignments": [ - 2517 + 2009 ] }, "children": [ @@ -63845,7 +63845,7 @@ "constant": false, "mutability": "mutable", "name": "buffer", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -63857,14 +63857,14 @@ "name": "bytes", "type": "bytes" }, - "id": 2516, + "id": 2008, "name": "ElementaryTypeName", - "src": "45603:5:1" + "src": "46903:5:0" } ], - "id": 2517, + "id": 2009, "name": "VariableDeclaration", - "src": "45603:19:1" + "src": "46903:19:0" }, { "attributes": { @@ -63901,42 +63901,42 @@ "name": "bytes", "type": "bytes" }, - "id": 2518, + "id": 2010, "name": "ElementaryTypeName", - "src": "45629:5:1" + "src": "46929:5:0" } ], - "id": 2519, + "id": 2011, "name": "NewExpression", - "src": "45625:9:1" + "src": "46925:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2520, + "id": 2012, "name": "Identifier", - "src": "45635:6:1" + "src": "46935:6:0" } ], - "id": 2521, + "id": 2013, "name": "FunctionCall", - "src": "45625:17:1" + "src": "46925:17:0" } ], - "id": 2522, + "id": 2014, "name": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "attributes": { "assignments": [ - 2524 + 2016 ] }, "children": [ @@ -63945,7 +63945,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63957,14 +63957,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2523, + "id": 2015, "name": "ElementaryTypeName", - "src": "45652:7:1" + "src": "46953:7:0" } ], - "id": 2524, + "id": 2016, "name": "VariableDeclaration", - "src": "45652:13:1" + "src": "46953:13:0" }, { "attributes": { @@ -63985,13 +63985,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2525, + "id": 2017, "name": "Identifier", - "src": "45668:6:1" + "src": "46969:6:0" }, { "attributes": { @@ -64004,19 +64004,19 @@ "type": "int_const 1", "value": "1" }, - "id": 2526, + "id": 2018, "name": "Literal", - "src": "45677:1:1" + "src": "46978:1:0" } ], - "id": 2527, + "id": 2019, "name": "BinaryOperation", - "src": "45668:10:1" + "src": "46969:10:0" } ], - "id": 2528, + "id": 2020, "name": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "children": [ @@ -64035,36 +64035,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2529, + "id": 2021, "name": "Identifier", - "src": "45688:4:1" + "src": "46990:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2530, + "id": 2022, "name": "Identifier", - "src": "45695:5:1" + "src": "46997:5:0" } ], - "id": 2531, + "id": 2023, "name": "Assignment", - "src": "45688:12:1" + "src": "46990:12:0" } ], - "id": 2532, + "id": 2024, "name": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "children": [ @@ -64087,13 +64087,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2533, + "id": 2025, "name": "Identifier", - "src": "45717:4:1" + "src": "47020:4:0" }, { "attributes": { @@ -64106,14 +64106,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2534, + "id": 2026, "name": "Literal", - "src": "45725:1:1" + "src": "47028:1:0" } ], - "id": 2535, + "id": 2027, "name": "BinaryOperation", - "src": "45717:9:1" + "src": "47020:9:0" }, { "children": [ @@ -64143,13 +64143,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2536, + "id": 2028, "name": "Identifier", - "src": "45742:6:1" + "src": "47046:6:0" }, { "attributes": { @@ -64167,23 +64167,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2524, + "referencedDeclaration": 2016, "type": "uint256", "value": "index" }, - "id": 2537, + "id": 2029, "name": "Identifier", - "src": "45749:5:1" + "src": "47053:5:0" } ], - "id": 2538, + "id": 2030, "name": "UnaryOperation", - "src": "45749:7:1" + "src": "47053:7:0" } ], - "id": 2539, + "id": 2031, "name": "IndexAccess", - "src": "45742:15:1" + "src": "47046:15:0" }, { "attributes": { @@ -64219,14 +64219,14 @@ "attributes": { "name": "bytes1" }, - "id": 2540, + "id": 2032, "name": "ElementaryTypeName", - "src": "45760:6:1" + "src": "47064:6:0" } ], - "id": 2541, + "id": 2033, "name": "ElementaryTypeNameExpression", - "src": "45760:6:1" + "src": "47064:6:0" }, { "attributes": { @@ -64262,14 +64262,14 @@ "attributes": { "name": "uint8" }, - "id": 2542, + "id": 2034, "name": "ElementaryTypeName", - "src": "45767:5:1" + "src": "47071:5:0" } ], - "id": 2543, + "id": 2035, "name": "ElementaryTypeNameExpression", - "src": "45767:5:1" + "src": "47071:5:0" }, { "attributes": { @@ -64296,9 +64296,9 @@ "type": "int_const 48", "value": "48" }, - "id": 2544, + "id": 2036, "name": "Literal", - "src": "45773:2:1" + "src": "47077:2:0" }, { "attributes": { @@ -64319,13 +64319,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2545, + "id": 2037, "name": "Identifier", - "src": "45778:4:1" + "src": "47082:4:0" }, { "attributes": { @@ -64338,39 +64338,39 @@ "type": "int_const 10", "value": "10" }, - "id": 2546, + "id": 2038, "name": "Literal", - "src": "45785:2:1" + "src": "47089:2:0" } ], - "id": 2547, + "id": 2039, "name": "BinaryOperation", - "src": "45778:9:1" + "src": "47082:9:0" } ], - "id": 2548, + "id": 2040, "name": "BinaryOperation", - "src": "45773:14:1" + "src": "47077:14:0" } ], - "id": 2549, + "id": 2041, "name": "FunctionCall", - "src": "45767:21:1" + "src": "47071:21:0" } ], - "id": 2550, + "id": 2042, "name": "FunctionCall", - "src": "45760:29:1" + "src": "47064:29:0" } ], - "id": 2551, + "id": 2043, "name": "Assignment", - "src": "45742:47:1" + "src": "47046:47:0" } ], - "id": 2552, + "id": 2044, "name": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "children": [ @@ -64389,13 +64389,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2553, + "id": 2045, "name": "Identifier", - "src": "45803:4:1" + "src": "47108:4:0" }, { "attributes": { @@ -64408,33 +64408,33 @@ "type": "int_const 10", "value": "10" }, - "id": 2554, + "id": 2046, "name": "Literal", - "src": "45811:2:1" + "src": "47116:2:0" } ], - "id": 2555, + "id": 2047, "name": "Assignment", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2556, + "id": 2048, "name": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2557, + "id": 2049, "name": "Block", - "src": "45728:96:1" + "src": "47031:99:0" } ], - "id": 2558, + "id": 2050, "name": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -64471,52 +64471,52 @@ "attributes": { "name": "string" }, - "id": 2559, + "id": 2051, "name": "ElementaryTypeName", - "src": "45840:6:1" + "src": "47147:6:0" } ], - "id": 2560, + "id": 2052, "name": "ElementaryTypeNameExpression", - "src": "45840:6:1" + "src": "47147:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2561, + "id": 2053, "name": "Identifier", - "src": "45847:6:1" + "src": "47154:6:0" } ], - "id": 2562, + "id": 2054, "name": "FunctionCall", - "src": "45840:14:1" + "src": "47147:14:0" } ], - "id": 2563, + "id": 2055, "name": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ], - "id": 2564, + "id": 2056, "name": "Block", - "src": "45207:654:1" + "src": "46494:675:0" } ], - "id": 2565, + "id": 2057, "name": "FunctionDefinition", - "src": "45136:725:1" + "src": "46423:746:0" } ], - "id": 2566, + "id": 2058, "name": "ContractDefinition", - "src": "45027:836:1" + "src": "46310:862:0" }, { "attributes": { @@ -64530,43 +64530,43 @@ ".0" ] }, - "id": 2567, + "id": 2059, "name": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, - "id": 2568, + "id": 2060, "name": "StructuredDocumentation", - "src": "45955:124:1" + "src": "47269:127:0" }, { "attributes": {}, @@ -64574,17 +64574,17 @@ { "attributes": { "name": "Context", - "referencedDeclaration": 530, + "referencedDeclaration": 22, "type": "contract Context" }, - "id": 2569, + "id": 2061, "name": "UserDefinedTypeName", - "src": "46099:7:1" + "src": "47417:7:0" } ], - "id": 2570, + "id": 2062, "name": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "attributes": {}, @@ -64592,17 +64592,17 @@ { "attributes": { "name": "ERC165", - "referencedDeclaration": 781, + "referencedDeclaration": 273, "type": "contract ERC165" }, - "id": 2571, + "id": 2063, "name": "UserDefinedTypeName", - "src": "46108:6:1" + "src": "47426:6:0" } ], - "id": 2572, + "id": 2064, "name": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "attributes": {}, @@ -64610,17 +64610,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 2573, + "id": 2065, "name": "UserDefinedTypeName", - "src": "46116:7:1" + "src": "47434:7:0" } ], - "id": 2574, + "id": 2066, "name": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "attributes": {}, @@ -64628,17 +64628,17 @@ { "attributes": { "name": "IERC721Metadata", - "referencedDeclaration": 680, + "referencedDeclaration": 172, "type": "contract IERC721Metadata" }, - "id": 2575, + "id": 2067, "name": "UserDefinedTypeName", - "src": "46125:15:1" + "src": "47443:15:0" } ], - "id": 2576, + "id": 2068, "name": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "attributes": {}, @@ -64646,55 +64646,55 @@ { "attributes": { "name": "IERC721Enumerable", - "referencedDeclaration": 709, + "referencedDeclaration": 201, "type": "contract IERC721Enumerable" }, - "id": 2577, + "id": 2069, "name": "UserDefinedTypeName", - "src": "46142:17:1" + "src": "47460:17:0" } ], - "id": 2578, + "id": 2070, "name": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" }, { "children": [ { "attributes": { "name": "SafeMath", - "referencedDeclaration": 1135, + "referencedDeclaration": 627, "type": "library SafeMath" }, - "id": 2579, + "id": 2071, "name": "UserDefinedTypeName", - "src": "46172:8:1" + "src": "47491:8:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2580, + "id": 2072, "name": "ElementaryTypeName", - "src": "46185:7:1" + "src": "47504:7:0" } ], - "id": 2581, + "id": 2073, "name": "UsingForDirective", - "src": "46166:27:1" + "src": "47485:27:0" }, { "children": [ { "attributes": { "name": "Address", - "referencedDeclaration": 1430, + "referencedDeclaration": 922, "type": "library Address" }, - "id": 2582, + "id": 2074, "name": "UserDefinedTypeName", - "src": "46204:7:1" + "src": "47524:7:0" }, { "attributes": { @@ -64702,101 +64702,101 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2583, + "id": 2075, "name": "ElementaryTypeName", - "src": "46216:7:1" + "src": "47536:7:0" } ], - "id": 2584, + "id": 2076, "name": "UsingForDirective", - "src": "46198:26:1" + "src": "47518:26:0" }, { "children": [ { "attributes": { "name": "EnumerableSet", - "referencedDeclaration": 1921, + "referencedDeclaration": 1413, "type": "library EnumerableSet" }, - "id": 2585, + "id": 2077, "name": "UserDefinedTypeName", - "src": "46235:13:1" + "src": "47556:13:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2586, + "id": 2078, "name": "UserDefinedTypeName", - "src": "46253:21:1" + "src": "47574:21:0" } ], - "id": 2587, + "id": 2079, "name": "UsingForDirective", - "src": "46229:46:1" + "src": "47550:46:0" }, { "children": [ { "attributes": { "name": "EnumerableMap", - "referencedDeclaration": 2480, + "referencedDeclaration": 1972, "type": "library EnumerableMap" }, - "id": 2588, + "id": 2080, "name": "UserDefinedTypeName", - "src": "46286:13:1" + "src": "47608:13:0" }, { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2589, + "id": 2081, "name": "UserDefinedTypeName", - "src": "46304:30:1" + "src": "47626:30:0" } ], - "id": 2590, + "id": 2082, "name": "UsingForDirective", - "src": "46280:55:1" + "src": "47602:55:0" }, { "children": [ { "attributes": { "name": "Strings", - "referencedDeclaration": 2566, + "referencedDeclaration": 2058, "type": "library Strings" }, - "id": 2591, + "id": 2083, "name": "UserDefinedTypeName", - "src": "46346:7:1" + "src": "47669:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2592, + "id": 2084, "name": "ElementaryTypeName", - "src": "46358:7:1" + "src": "47681:7:0" } ], - "id": 2593, + "id": 2085, "name": "UsingForDirective", - "src": "46340:26:1" + "src": "47663:26:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_ERC721_RECEIVED", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -64808,9 +64808,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2594, + "id": 2086, "name": "ElementaryTypeName", - "src": "46544:6:1" + "src": "47871:6:0" }, { "attributes": { @@ -64823,21 +64823,21 @@ "type": "int_const 353073666", "value": "0x150b7a02" }, - "id": 2595, + "id": 2087, "name": "Literal", - "src": "46587:10:1" + "src": "47914:10:0" } ], - "id": 2596, + "id": 2088, "name": "VariableDeclaration", - "src": "46544:53:1" + "src": "47871:53:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_holderTokens", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => struct EnumerableSet.UintSet)", @@ -64854,36 +64854,36 @@ "name": "address", "type": "address" }, - "id": 2597, + "id": 2089, "name": "ElementaryTypeName", - "src": "46690:7:1" + "src": "48020:7:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2598, + "id": 2090, "name": "UserDefinedTypeName", - "src": "46701:21:1" + "src": "48031:21:0" } ], - "id": 2599, + "id": 2091, "name": "Mapping", - "src": "46681:42:1" + "src": "48011:42:0" } ], - "id": 2600, + "id": 2092, "name": "VariableDeclaration", - "src": "46681:64:1" + "src": "48011:64:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenOwners", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "struct EnumerableMap.UintToAddressMap", @@ -64893,24 +64893,24 @@ { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2601, + "id": 2093, "name": "UserDefinedTypeName", - "src": "46809:30:1" + "src": "48142:30:0" } ], - "id": 2602, + "id": 2094, "name": "VariableDeclaration", - "src": "46809:51:1" + "src": "48142:51:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => address)", @@ -64927,9 +64927,9 @@ "name": "uint256", "type": "uint256" }, - "id": 2603, + "id": 2095, "name": "ElementaryTypeName", - "src": "46925:7:1" + "src": "48261:7:0" }, { "attributes": { @@ -64937,26 +64937,26 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2604, + "id": 2096, "name": "ElementaryTypeName", - "src": "46936:7:1" + "src": "48272:7:0" } ], - "id": 2605, + "id": 2097, "name": "Mapping", - "src": "46916:28:1" + "src": "48252:28:0" } ], - "id": 2606, + "id": 2098, "name": "VariableDeclaration", - "src": "46916:52:1" + "src": "48252:52:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_operatorApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => mapping(address => bool))", @@ -64973,9 +64973,9 @@ "name": "address", "type": "address" }, - "id": 2607, + "id": 2099, "name": "ElementaryTypeName", - "src": "47032:7:1" + "src": "48371:7:0" }, { "attributes": { @@ -64987,40 +64987,40 @@ "name": "address", "type": "address" }, - "id": 2608, + "id": 2100, "name": "ElementaryTypeName", - "src": "47052:7:1" + "src": "48391:7:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 2609, + "id": 2101, "name": "ElementaryTypeName", - "src": "47063:4:1" + "src": "48402:4:0" } ], - "id": 2610, + "id": 2102, "name": "Mapping", - "src": "47043:25:1" + "src": "48382:25:0" } ], - "id": 2611, + "id": 2103, "name": "Mapping", - "src": "47023:46:1" + "src": "48362:46:0" } ], - "id": 2612, + "id": 2104, "name": "VariableDeclaration", - "src": "47023:73:1" + "src": "48362:73:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_name", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65032,21 +65032,21 @@ "name": "string", "type": "string" }, - "id": 2613, + "id": 2105, "name": "ElementaryTypeName", - "src": "47121:6:1" + "src": "48463:6:0" } ], - "id": 2614, + "id": 2106, "name": "VariableDeclaration", - "src": "47121:20:1" + "src": "48463:20:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_symbol", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65058,21 +65058,21 @@ "name": "string", "type": "string" }, - "id": 2615, + "id": 2107, "name": "ElementaryTypeName", - "src": "47168:6:1" + "src": "48513:6:0" } ], - "id": 2616, + "id": 2108, "name": "VariableDeclaration", - "src": "47168:22:1" + "src": "48513:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURIs", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => string)", @@ -65089,35 +65089,35 @@ "name": "uint256", "type": "uint256" }, - "id": 2617, + "id": 2109, "name": "ElementaryTypeName", - "src": "47245:7:1" + "src": "48593:7:0" }, { "attributes": { "name": "string", "type": "string" }, - "id": 2618, + "id": 2110, "name": "ElementaryTypeName", - "src": "47256:6:1" + "src": "48604:6:0" } ], - "id": 2619, + "id": 2111, "name": "Mapping", - "src": "47236:27:1" + "src": "48584:27:0" } ], - "id": 2620, + "id": 2112, "name": "VariableDeclaration", - "src": "47236:46:1" + "src": "48584:46:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_baseURI", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65129,21 +65129,21 @@ "name": "string", "type": "string" }, - "id": 2621, + "id": 2113, "name": "ElementaryTypeName", - "src": "47305:6:1" + "src": "48656:6:0" } ], - "id": 2622, + "id": 2114, "name": "VariableDeclaration", - "src": "47305:23:1" + "src": "48656:23:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65155,9 +65155,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2623, + "id": 2115, "name": "ElementaryTypeName", - "src": "48204:6:1" + "src": "49571:6:0" }, { "attributes": { @@ -65170,21 +65170,21 @@ "type": "int_const 2158778573", "value": "0x80ac58cd" }, - "id": 2624, + "id": 2116, "name": "Literal", - "src": "48251:10:1" + "src": "49618:10:0" } ], - "id": 2625, + "id": 2117, "name": "VariableDeclaration", - "src": "48204:57:1" + "src": "49571:57:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65196,9 +65196,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2626, + "id": 2118, "name": "ElementaryTypeName", - "src": "48527:6:1" + "src": "49903:6:0" }, { "attributes": { @@ -65211,21 +65211,21 @@ "type": "int_const 1532892063", "value": "0x5b5e139f" }, - "id": 2627, + "id": 2119, "name": "Literal", - "src": "48583:10:1" + "src": "49959:10:0" } ], - "id": 2628, + "id": 2120, "name": "VariableDeclaration", - "src": "48527:66:1" + "src": "49903:66:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65237,9 +65237,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2629, + "id": 2121, "name": "ElementaryTypeName", - "src": "48898:6:1" + "src": "50283:6:0" }, { "attributes": { @@ -65252,14 +65252,14 @@ "type": "int_const 2014223715", "value": "0x780e9d63" }, - "id": 2630, + "id": 2122, "name": "Literal", - "src": "48956:10:1" + "src": "50341:10:0" } ], - "id": 2631, + "id": 2123, "name": "VariableDeclaration", - "src": "48898:68:1" + "src": "50283:68:0" }, { "attributes": { @@ -65270,7 +65270,7 @@ null ], "name": "", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -65280,9 +65280,9 @@ "attributes": { "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2632, + "id": 2124, "name": "StructuredDocumentation", - "src": "48973:108:1" + "src": "50360:110:0" }, { "children": [ @@ -65291,7 +65291,7 @@ "constant": false, "mutability": "mutable", "name": "name_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65303,21 +65303,21 @@ "name": "string", "type": "string" }, - "id": 2633, + "id": 2125, "name": "ElementaryTypeName", - "src": "49099:6:1" + "src": "50489:6:0" } ], - "id": 2634, + "id": 2126, "name": "VariableDeclaration", - "src": "49099:19:1" + "src": "50489:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "symbol_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65329,19 +65329,19 @@ "name": "string", "type": "string" }, - "id": 2635, + "id": 2127, "name": "ElementaryTypeName", - "src": "49120:6:1" + "src": "50510:6:0" } ], - "id": 2636, + "id": 2128, "name": "VariableDeclaration", - "src": "49120:21:1" + "src": "50510:21:0" } ], - "id": 2637, + "id": 2129, "name": "ParameterList", - "src": "49098:44:1" + "src": "50488:44:0" }, { "attributes": { @@ -65350,9 +65350,9 @@ ] }, "children": [], - "id": 2638, + "id": 2130, "name": "ParameterList", - "src": "49143:0:1" + "src": "50533:0:0" }, { "children": [ @@ -65373,36 +65373,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2639, + "id": 2131, "name": "Identifier", - "src": "49153:5:1" + "src": "50544:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2634, + "referencedDeclaration": 2126, "type": "string memory", "value": "name_" }, - "id": 2640, + "id": 2132, "name": "Identifier", - "src": "49161:5:1" + "src": "50552:5:0" } ], - "id": 2641, + "id": 2133, "name": "Assignment", - "src": "49153:13:1" + "src": "50544:13:0" } ], - "id": 2642, + "id": 2134, "name": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "children": [ @@ -65421,36 +65421,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2643, + "id": 2135, "name": "Identifier", - "src": "49176:7:1" + "src": "50568:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2636, + "referencedDeclaration": 2128, "type": "string memory", "value": "symbol_" }, - "id": 2644, + "id": 2136, "name": "Identifier", - "src": "49186:7:1" + "src": "50578:7:0" } ], - "id": 2645, + "id": 2137, "name": "Assignment", - "src": "49176:17:1" + "src": "50568:17:0" } ], - "id": 2646, + "id": 2138, "name": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "children": [ @@ -65480,36 +65480,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2647, + "id": 2139, "name": "Identifier", - "src": "49281:18:1" + "src": "50676:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2625, + "referencedDeclaration": 2117, "type": "bytes4", "value": "_INTERFACE_ID_ERC721" }, - "id": 2648, + "id": 2140, "name": "Identifier", - "src": "49300:20:1" + "src": "50695:20:0" } ], - "id": 2649, + "id": 2141, "name": "FunctionCall", - "src": "49281:40:1" + "src": "50676:40:0" } ], - "id": 2650, + "id": 2142, "name": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "children": [ @@ -65539,36 +65539,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2651, + "id": 2143, "name": "Identifier", - "src": "49331:18:1" + "src": "50727:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2628, + "referencedDeclaration": 2120, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_METADATA" }, - "id": 2652, + "id": 2144, "name": "Identifier", - "src": "49350:29:1" + "src": "50746:29:0" } ], - "id": 2653, + "id": 2145, "name": "FunctionCall", - "src": "49331:49:1" + "src": "50727:49:0" } ], - "id": 2654, + "id": 2146, "name": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "children": [ @@ -65598,51 +65598,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2655, + "id": 2147, "name": "Identifier", - "src": "49390:18:1" + "src": "50787:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2631, + "referencedDeclaration": 2123, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_ENUMERABLE" }, - "id": 2656, + "id": 2148, "name": "Identifier", - "src": "49409:31:1" + "src": "50806:31:0" } ], - "id": 2657, + "id": 2149, "name": "FunctionCall", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2658, + "id": 2150, "name": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2659, + "id": 2151, "name": "Block", - "src": "49143:305:1" + "src": "50533:313:0" } ], - "id": 2660, + "id": 2152, "name": "FunctionDefinition", - "src": "49086:362:1" + "src": "50476:370:0" }, { "attributes": { "baseFunctions": [ - 580 + 72 ], "functionSelector": "70a08231", "implemented": true, @@ -65652,7 +65652,7 @@ null ], "name": "balanceOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -65662,9 +65662,9 @@ "attributes": { "text": " @dev See {IERC721-balanceOf}." }, - "id": 2661, + "id": 2153, "name": "StructuredDocumentation", - "src": "49454:48:1" + "src": "50854:50:0" }, { "attributes": { @@ -65672,9 +65672,9 @@ null ] }, - "id": 2665, + "id": 2157, "name": "OverrideSpecifier", - "src": "49561:8:1" + "src": "50964:8:0" }, { "children": [ @@ -65683,7 +65683,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -65696,19 +65696,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2662, + "id": 2154, "name": "ElementaryTypeName", - "src": "49526:7:1" + "src": "50929:7:0" } ], - "id": 2663, + "id": 2155, "name": "VariableDeclaration", - "src": "49526:13:1" + "src": "50929:13:0" } ], - "id": 2664, + "id": 2156, "name": "ParameterList", - "src": "49525:15:1" + "src": "50928:15:0" }, { "children": [ @@ -65717,7 +65717,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -65729,19 +65729,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2666, + "id": 2158, "name": "ElementaryTypeName", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2667, + "id": 2159, "name": "VariableDeclaration", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2668, + "id": 2160, "name": "ParameterList", - "src": "49578:9:1" + "src": "50981:9:0" }, { "children": [ @@ -65782,9 +65782,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2669, + "id": 2161, "name": "Identifier", - "src": "49598:7:1" + "src": "51002:7:0" }, { "attributes": { @@ -65805,13 +65805,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2670, + "id": 2162, "name": "Identifier", - "src": "49606:5:1" + "src": "51010:5:0" }, { "attributes": { @@ -65847,14 +65847,14 @@ "attributes": { "name": "address" }, - "id": 2671, + "id": 2163, "name": "ElementaryTypeName", - "src": "49615:7:1" + "src": "51019:7:0" } ], - "id": 2672, + "id": 2164, "name": "ElementaryTypeNameExpression", - "src": "49615:7:1" + "src": "51019:7:0" }, { "attributes": { @@ -65867,19 +65867,19 @@ "type": "int_const 0", "value": "0" }, - "id": 2673, + "id": 2165, "name": "Literal", - "src": "49623:1:1" + "src": "51027:1:0" } ], - "id": 2674, + "id": 2166, "name": "FunctionCall", - "src": "49615:10:1" + "src": "51019:10:0" } ], - "id": 2675, + "id": 2167, "name": "BinaryOperation", - "src": "49606:19:1" + "src": "51010:19:0" }, { "attributes": { @@ -65892,23 +65892,23 @@ "type": "literal_string \"ERC721: balance query for the zero address\"", "value": "ERC721: balance query for the zero address" }, - "id": 2676, + "id": 2168, "name": "Literal", - "src": "49627:44:1" + "src": "51031:44:0" } ], - "id": 2677, + "id": 2169, "name": "FunctionCall", - "src": "49598:74:1" + "src": "51002:74:0" } ], - "id": 2678, + "id": 2170, "name": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "attributes": { - "functionReturnParameters": 2668 + "functionReturnParameters": 2160 }, "children": [ { @@ -65939,7 +65939,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 1900, + "referencedDeclaration": 1392, "type": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" }, "children": [ @@ -65957,61 +65957,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2679, + "id": 2171, "name": "Identifier", - "src": "49689:13:1" + "src": "51094:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2680, + "id": 2172, "name": "Identifier", - "src": "49703:5:1" + "src": "51108:5:0" } ], - "id": 2681, + "id": 2173, "name": "IndexAccess", - "src": "49689:20:1" + "src": "51094:20:0" } ], - "id": 2682, + "id": 2174, "name": "MemberAccess", - "src": "49689:27:1" + "src": "51094:27:0" } ], - "id": 2683, + "id": 2175, "name": "FunctionCall", - "src": "49689:29:1" + "src": "51094:29:0" } ], - "id": 2684, + "id": 2176, "name": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ], - "id": 2685, + "id": 2177, "name": "Block", - "src": "49588:137:1" + "src": "50991:140:0" } ], - "id": 2686, + "id": 2178, "name": "FunctionDefinition", - "src": "49507:218:1" + "src": "50910:221:0" }, { "attributes": { "baseFunctions": [ - 588 + 80 ], "functionSelector": "6352211e", "implemented": true, @@ -66021,7 +66021,7 @@ null ], "name": "ownerOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66031,9 +66031,9 @@ "attributes": { "text": " @dev See {IERC721-ownerOf}." }, - "id": 2687, + "id": 2179, "name": "StructuredDocumentation", - "src": "49731:46:1" + "src": "51139:48:0" }, { "attributes": { @@ -66041,9 +66041,9 @@ null ] }, - "id": 2691, + "id": 2183, "name": "OverrideSpecifier", - "src": "49836:8:1" + "src": "51247:8:0" }, { "children": [ @@ -66052,7 +66052,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66064,19 +66064,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2688, + "id": 2180, "name": "ElementaryTypeName", - "src": "49799:7:1" + "src": "51210:7:0" } ], - "id": 2689, + "id": 2181, "name": "VariableDeclaration", - "src": "49799:15:1" + "src": "51210:15:0" } ], - "id": 2690, + "id": 2182, "name": "ParameterList", - "src": "49798:17:1" + "src": "51209:17:0" }, { "children": [ @@ -66085,7 +66085,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -66098,25 +66098,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2692, + "id": 2184, "name": "ElementaryTypeName", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2693, + "id": 2185, "name": "VariableDeclaration", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2694, + "id": 2186, "name": "ParameterList", - "src": "49853:9:1" + "src": "51264:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2694 + "functionReturnParameters": 2186 }, "children": [ { @@ -66151,7 +66151,7 @@ "isPure": false, "lValueRequested": false, "member_name": "get", - "referencedDeclaration": 2479, + "referencedDeclaration": 1971, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" }, "children": [ @@ -66160,31 +66160,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2695, + "id": 2187, "name": "Identifier", - "src": "49880:12:1" + "src": "51292:12:0" } ], - "id": 2696, + "id": 2188, "name": "MemberAccess", - "src": "49880:16:1" + "src": "51292:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2689, + "referencedDeclaration": 2181, "type": "uint256", "value": "tokenId" }, - "id": 2697, + "id": 2189, "name": "Identifier", - "src": "49897:7:1" + "src": "51309:7:0" }, { "attributes": { @@ -66197,34 +66197,34 @@ "type": "literal_string \"ERC721: owner query for nonexistent token\"", "value": "ERC721: owner query for nonexistent token" }, - "id": 2698, + "id": 2190, "name": "Literal", - "src": "49906:43:1" + "src": "51318:43:0" } ], - "id": 2699, + "id": 2191, "name": "FunctionCall", - "src": "49880:70:1" + "src": "51292:70:0" } ], - "id": 2700, + "id": 2192, "name": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ], - "id": 2701, + "id": 2193, "name": "Block", - "src": "49863:94:1" + "src": "51274:96:0" } ], - "id": 2702, + "id": 2194, "name": "FunctionDefinition", - "src": "49782:175:1" + "src": "51193:177:0" }, { "attributes": { "baseFunctions": [ - 665 + 157 ], "functionSelector": "06fdde03", "implemented": true, @@ -66234,7 +66234,7 @@ null ], "name": "name", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66244,9 +66244,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-name}." }, - "id": 2703, + "id": 2195, "name": "StructuredDocumentation", - "src": "49963:51:1" + "src": "51378:53:0" }, { "attributes": { @@ -66254,9 +66254,9 @@ null ] }, - "id": 2705, + "id": 2197, "name": "OverrideSpecifier", - "src": "50055:8:1" + "src": "51473:8:0" }, { "attributes": { @@ -66265,9 +66265,9 @@ ] }, "children": [], - "id": 2704, + "id": 2196, "name": "ParameterList", - "src": "50032:2:1" + "src": "51450:2:0" }, { "children": [ @@ -66276,7 +66276,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2712, + "scope": 2204, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66288,25 +66288,25 @@ "name": "string", "type": "string" }, - "id": 2706, + "id": 2198, "name": "ElementaryTypeName", - "src": "50073:6:1" + "src": "51491:6:0" } ], - "id": 2707, + "id": 2199, "name": "VariableDeclaration", - "src": "50073:13:1" + "src": "51491:13:0" } ], - "id": 2708, + "id": 2200, "name": "ParameterList", - "src": "50072:15:1" + "src": "51490:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2708 + "functionReturnParameters": 2200 }, "children": [ { @@ -66314,33 +66314,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2709, + "id": 2201, "name": "Identifier", - "src": "50105:5:1" + "src": "51524:5:0" } ], - "id": 2710, + "id": 2202, "name": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ], - "id": 2711, + "id": 2203, "name": "Block", - "src": "50088:29:1" + "src": "51506:31:0" } ], - "id": 2712, + "id": 2204, "name": "FunctionDefinition", - "src": "50019:98:1" + "src": "51437:100:0" }, { "attributes": { "baseFunctions": [ - 671 + 163 ], "functionSelector": "95d89b41", "implemented": true, @@ -66350,7 +66350,7 @@ null ], "name": "symbol", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66360,9 +66360,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-symbol}." }, - "id": 2713, + "id": 2205, "name": "StructuredDocumentation", - "src": "50123:53:1" + "src": "51545:55:0" }, { "attributes": { @@ -66370,9 +66370,9 @@ null ] }, - "id": 2715, + "id": 2207, "name": "OverrideSpecifier", - "src": "50219:8:1" + "src": "51644:8:0" }, { "attributes": { @@ -66381,9 +66381,9 @@ ] }, "children": [], - "id": 2714, + "id": 2206, "name": "ParameterList", - "src": "50196:2:1" + "src": "51621:2:0" }, { "children": [ @@ -66392,7 +66392,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2722, + "scope": 2214, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66404,25 +66404,25 @@ "name": "string", "type": "string" }, - "id": 2716, + "id": 2208, "name": "ElementaryTypeName", - "src": "50237:6:1" + "src": "51662:6:0" } ], - "id": 2717, + "id": 2209, "name": "VariableDeclaration", - "src": "50237:13:1" + "src": "51662:13:0" } ], - "id": 2718, + "id": 2210, "name": "ParameterList", - "src": "50236:15:1" + "src": "51661:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2718 + "functionReturnParameters": 2210 }, "children": [ { @@ -66430,33 +66430,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2719, + "id": 2211, "name": "Identifier", - "src": "50269:7:1" + "src": "51695:7:0" } ], - "id": 2720, + "id": 2212, "name": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ], - "id": 2721, + "id": 2213, "name": "Block", - "src": "50252:31:1" + "src": "51677:33:0" } ], - "id": 2722, + "id": 2214, "name": "FunctionDefinition", - "src": "50181:102:1" + "src": "51606:104:0" }, { "attributes": { "baseFunctions": [ - 679 + 171 ], "functionSelector": "c87b56dd", "implemented": true, @@ -66466,7 +66466,7 @@ null ], "name": "tokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66476,9 +66476,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-tokenURI}." }, - "id": 2723, + "id": 2215, "name": "StructuredDocumentation", - "src": "50289:55:1" + "src": "51718:57:0" }, { "attributes": { @@ -66486,9 +66486,9 @@ null ] }, - "id": 2727, + "id": 2219, "name": "OverrideSpecifier", - "src": "50404:8:1" + "src": "51836:8:0" }, { "children": [ @@ -66497,7 +66497,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66509,19 +66509,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2724, + "id": 2216, "name": "ElementaryTypeName", - "src": "50367:7:1" + "src": "51799:7:0" } ], - "id": 2725, + "id": 2217, "name": "VariableDeclaration", - "src": "50367:15:1" + "src": "51799:15:0" } ], - "id": 2726, + "id": 2218, "name": "ParameterList", - "src": "50366:17:1" + "src": "51798:17:0" }, { "children": [ @@ -66530,7 +66530,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66542,19 +66542,19 @@ "name": "string", "type": "string" }, - "id": 2728, + "id": 2220, "name": "ElementaryTypeName", - "src": "50422:6:1" + "src": "51854:6:0" } ], - "id": 2729, + "id": 2221, "name": "VariableDeclaration", - "src": "50422:13:1" + "src": "51854:13:0" } ], - "id": 2730, + "id": 2222, "name": "ParameterList", - "src": "50421:15:1" + "src": "51853:15:0" }, { "children": [ @@ -66595,9 +66595,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2731, + "id": 2223, "name": "Identifier", - "src": "50447:7:1" + "src": "51880:7:0" }, { "attributes": { @@ -66625,31 +66625,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2732, + "id": 2224, "name": "Identifier", - "src": "50455:7:1" + "src": "51888:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2733, + "id": 2225, "name": "Identifier", - "src": "50463:7:1" + "src": "51896:7:0" } ], - "id": 2734, + "id": 2226, "name": "FunctionCall", - "src": "50455:16:1" + "src": "51888:16:0" }, { "attributes": { @@ -66662,24 +66662,24 @@ "type": "literal_string \"ERC721Metadata: URI query for nonexistent token\"", "value": "ERC721Metadata: URI query for nonexistent token" }, - "id": 2735, + "id": 2227, "name": "Literal", - "src": "50473:49:1" + "src": "51906:49:0" } ], - "id": 2736, + "id": 2228, "name": "FunctionCall", - "src": "50447:76:1" + "src": "51880:76:0" } ], - "id": 2737, + "id": 2229, "name": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "attributes": { "assignments": [ - 2739 + 2231 ] }, "children": [ @@ -66688,7 +66688,7 @@ "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66700,14 +66700,14 @@ "name": "string", "type": "string" }, - "id": 2738, + "id": 2230, "name": "ElementaryTypeName", - "src": "50534:6:1" + "src": "51969:6:0" } ], - "id": 2739, + "id": 2231, "name": "VariableDeclaration", - "src": "50534:23:1" + "src": "51969:23:0" }, { "attributes": { @@ -66723,41 +66723,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 2740, + "id": 2232, "name": "Identifier", - "src": "50560:10:1" + "src": "51995:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2741, + "id": 2233, "name": "Identifier", - "src": "50571:7:1" + "src": "52006:7:0" } ], - "id": 2742, + "id": 2234, "name": "IndexAccess", - "src": "50560:19:1" + "src": "51995:19:0" } ], - "id": 2743, + "id": 2235, "name": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "attributes": { "assignments": [ - 2745 + 2237 ] }, "children": [ @@ -66766,7 +66766,7 @@ "constant": false, "mutability": "mutable", "name": "base", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66778,14 +66778,14 @@ "name": "string", "type": "string" }, - "id": 2744, + "id": 2236, "name": "ElementaryTypeName", - "src": "50589:6:1" + "src": "52025:6:0" } ], - "id": 2745, + "id": 2237, "name": "VariableDeclaration", - "src": "50589:18:1" + "src": "52025:18:0" }, { "attributes": { @@ -66813,23 +66813,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2799, + "referencedDeclaration": 2291, "type": "function () view returns (string memory)", "value": "baseURI" }, - "id": 2746, + "id": 2238, "name": "Identifier", - "src": "50610:7:1" + "src": "52046:7:0" } ], - "id": 2747, + "id": 2239, "name": "FunctionCall", - "src": "50610:9:1" + "src": "52046:9:0" } ], - "id": 2748, + "id": 2240, "name": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "attributes": {}, @@ -66892,37 +66892,37 @@ "attributes": { "name": "bytes" }, - "id": 2749, + "id": 2241, "name": "ElementaryTypeName", - "src": "50692:5:1" + "src": "52131:5:0" } ], - "id": 2750, + "id": 2242, "name": "ElementaryTypeNameExpression", - "src": "50692:5:1" + "src": "52131:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2751, + "id": 2243, "name": "Identifier", - "src": "50698:4:1" + "src": "52137:4:0" } ], - "id": 2752, + "id": 2244, "name": "FunctionCall", - "src": "50692:11:1" + "src": "52131:11:0" } ], - "id": 2753, + "id": 2245, "name": "MemberAccess", - "src": "50692:18:1" + "src": "52131:18:0" }, { "attributes": { @@ -66935,20 +66935,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2754, + "id": 2246, "name": "Literal", - "src": "50714:1:1" + "src": "52153:1:0" } ], - "id": 2755, + "id": 2247, "name": "BinaryOperation", - "src": "50692:23:1" + "src": "52131:23:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -66956,28 +66956,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2756, + "id": 2248, "name": "Identifier", - "src": "50738:9:1" + "src": "52178:9:0" } ], - "id": 2757, + "id": 2249, "name": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ], - "id": 2758, + "id": 2250, "name": "Block", - "src": "50717:41:1" + "src": "52156:43:0" } ], - "id": 2759, + "id": 2251, "name": "IfStatement", - "src": "50688:70:1" + "src": "52127:72:0" }, { "attributes": {}, @@ -67040,37 +67040,37 @@ "attributes": { "name": "bytes" }, - "id": 2760, + "id": 2252, "name": "ElementaryTypeName", - "src": "50860:5:1" + "src": "52303:5:0" } ], - "id": 2761, + "id": 2253, "name": "ElementaryTypeNameExpression", - "src": "50860:5:1" + "src": "52303:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2762, + "id": 2254, "name": "Identifier", - "src": "50866:9:1" + "src": "52309:9:0" } ], - "id": 2763, + "id": 2255, "name": "FunctionCall", - "src": "50860:16:1" + "src": "52303:16:0" } ], - "id": 2764, + "id": 2256, "name": "MemberAccess", - "src": "50860:23:1" + "src": "52303:23:0" }, { "attributes": { @@ -67083,20 +67083,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2765, + "id": 2257, "name": "Literal", - "src": "50886:1:1" + "src": "52329:1:0" } ], - "id": 2766, + "id": 2258, "name": "BinaryOperation", - "src": "50860:27:1" + "src": "52303:27:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67133,14 +67133,14 @@ "attributes": { "name": "string" }, - "id": 2767, + "id": 2259, "name": "ElementaryTypeName", - "src": "50910:6:1" + "src": "52354:6:0" } ], - "id": 2768, + "id": 2260, "name": "ElementaryTypeNameExpression", - "src": "50910:6:1" + "src": "52354:6:0" }, { "attributes": { @@ -67186,69 +67186,69 @@ "type": "abi", "value": "abi" }, - "id": 2769, + "id": 2261, "name": "Identifier", - "src": "50917:3:1" + "src": "52361:3:0" } ], - "id": 2770, + "id": 2262, "name": "MemberAccess", - "src": "50917:16:1" + "src": "52361:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2771, + "id": 2263, "name": "Identifier", - "src": "50934:4:1" + "src": "52378:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2772, + "id": 2264, "name": "Identifier", - "src": "50940:9:1" + "src": "52384:9:0" } ], - "id": 2773, + "id": 2265, "name": "FunctionCall", - "src": "50917:33:1" + "src": "52361:33:0" } ], - "id": 2774, + "id": 2266, "name": "FunctionCall", - "src": "50910:41:1" + "src": "52354:41:0" } ], - "id": 2775, + "id": 2267, "name": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ], - "id": 2776, + "id": 2268, "name": "Block", - "src": "50889:73:1" + "src": "52332:75:0" } ], - "id": 2777, + "id": 2269, "name": "IfStatement", - "src": "50856:106:1" + "src": "52299:108:0" }, { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67285,14 +67285,14 @@ "attributes": { "name": "string" }, - "id": 2778, + "id": 2270, "name": "ElementaryTypeName", - "src": "51068:6:1" + "src": "52515:6:0" } ], - "id": 2779, + "id": 2271, "name": "ElementaryTypeNameExpression", - "src": "51068:6:1" + "src": "52515:6:0" }, { "attributes": { @@ -67338,27 +67338,27 @@ "type": "abi", "value": "abi" }, - "id": 2780, + "id": 2272, "name": "Identifier", - "src": "51075:3:1" + "src": "52522:3:0" } ], - "id": 2781, + "id": 2273, "name": "MemberAccess", - "src": "51075:16:1" + "src": "52522:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2782, + "id": 2274, "name": "Identifier", - "src": "51092:4:1" + "src": "52539:4:0" }, { "attributes": { @@ -67388,7 +67388,7 @@ "isPure": false, "lValueRequested": false, "member_name": "toString", - "referencedDeclaration": 2565, + "referencedDeclaration": 2057, "type": "function (uint256) pure returns (string memory)" }, "children": [ @@ -67397,48 +67397,48 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2783, + "id": 2275, "name": "Identifier", - "src": "51098:7:1" + "src": "52545:7:0" } ], - "id": 2784, + "id": 2276, "name": "MemberAccess", - "src": "51098:16:1" + "src": "52545:16:0" } ], - "id": 2785, + "id": 2277, "name": "FunctionCall", - "src": "51098:18:1" + "src": "52545:18:0" } ], - "id": 2786, + "id": 2278, "name": "FunctionCall", - "src": "51075:42:1" + "src": "52522:42:0" } ], - "id": 2787, + "id": 2279, "name": "FunctionCall", - "src": "51068:50:1" + "src": "52515:50:0" } ], - "id": 2788, + "id": 2280, "name": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ], - "id": 2789, + "id": 2281, "name": "Block", - "src": "50437:688:1" + "src": "51869:704:0" } ], - "id": 2790, + "id": 2282, "name": "FunctionDefinition", - "src": "50349:776:1" + "src": "51781:792:0" }, { "attributes": { @@ -67450,7 +67450,7 @@ null ], "name": "baseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67460,9 +67460,9 @@ "attributes": { "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, - "id": 2791, + "id": 2283, "name": "StructuredDocumentation", - "src": "51131:221:1" + "src": "52581:225:0" }, { "attributes": { @@ -67471,9 +67471,9 @@ ] }, "children": [], - "id": 2792, + "id": 2284, "name": "ParameterList", - "src": "51373:2:1" + "src": "52828:2:0" }, { "children": [ @@ -67482,7 +67482,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2799, + "scope": 2291, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -67494,25 +67494,25 @@ "name": "string", "type": "string" }, - "id": 2793, + "id": 2285, "name": "ElementaryTypeName", - "src": "51405:6:1" + "src": "52860:6:0" } ], - "id": 2794, + "id": 2286, "name": "VariableDeclaration", - "src": "51405:13:1" + "src": "52860:13:0" } ], - "id": 2795, + "id": 2287, "name": "ParameterList", - "src": "51404:15:1" + "src": "52859:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2795 + "functionReturnParameters": 2287 }, "children": [ { @@ -67520,33 +67520,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 2796, + "id": 2288, "name": "Identifier", - "src": "51437:8:1" + "src": "52893:8:0" } ], - "id": 2797, + "id": 2289, "name": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ], - "id": 2798, + "id": 2290, "name": "Block", - "src": "51420:32:1" + "src": "52875:34:0" } ], - "id": 2799, + "id": 2291, "name": "FunctionDefinition", - "src": "51357:95:1" + "src": "52812:97:0" }, { "attributes": { "baseFunctions": [ - 700 + 192 ], "functionSelector": "2f745c59", "implemented": true, @@ -67556,7 +67556,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67566,9 +67566,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, - "id": 2800, + "id": 2292, "name": "StructuredDocumentation", - "src": "51458:68:1" + "src": "52917:70:0" }, { "attributes": { @@ -67576,9 +67576,9 @@ null ] }, - "id": 2806, + "id": 2298, "name": "OverrideSpecifier", - "src": "51610:8:1" + "src": "53072:8:0" }, { "children": [ @@ -67587,7 +67587,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -67600,21 +67600,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2801, + "id": 2293, "name": "ElementaryTypeName", - "src": "51560:7:1" + "src": "53022:7:0" } ], - "id": 2802, + "id": 2294, "name": "VariableDeclaration", - "src": "51560:13:1" + "src": "53022:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67626,19 +67626,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2803, + "id": 2295, "name": "ElementaryTypeName", - "src": "51575:7:1" + "src": "53037:7:0" } ], - "id": 2804, + "id": 2296, "name": "VariableDeclaration", - "src": "51575:13:1" + "src": "53037:13:0" } ], - "id": 2805, + "id": 2297, "name": "ParameterList", - "src": "51559:30:1" + "src": "53021:30:0" }, { "children": [ @@ -67647,7 +67647,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67659,25 +67659,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2807, + "id": 2299, "name": "ElementaryTypeName", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2808, + "id": 2300, "name": "VariableDeclaration", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2809, + "id": 2301, "name": "ParameterList", - "src": "51627:9:1" + "src": "53089:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2809 + "functionReturnParameters": 2301 }, "children": [ { @@ -67708,7 +67708,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 1920, + "referencedDeclaration": 1412, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" }, "children": [ @@ -67726,74 +67726,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2810, + "id": 2302, "name": "Identifier", - "src": "51654:13:1" + "src": "53117:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2802, + "referencedDeclaration": 2294, "type": "address", "value": "owner" }, - "id": 2811, + "id": 2303, "name": "Identifier", - "src": "51668:5:1" + "src": "53131:5:0" } ], - "id": 2812, + "id": 2304, "name": "IndexAccess", - "src": "51654:20:1" + "src": "53117:20:0" } ], - "id": 2813, + "id": 2305, "name": "MemberAccess", - "src": "51654:23:1" + "src": "53117:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2804, + "referencedDeclaration": 2296, "type": "uint256", "value": "index" }, - "id": 2814, + "id": 2306, "name": "Identifier", - "src": "51678:5:1" + "src": "53141:5:0" } ], - "id": 2815, + "id": 2307, "name": "FunctionCall", - "src": "51654:30:1" + "src": "53117:30:0" } ], - "id": 2816, + "id": 2308, "name": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ], - "id": 2817, + "id": 2309, "name": "Block", - "src": "51637:54:1" + "src": "53099:56:0" } ], - "id": 2818, + "id": 2310, "name": "FunctionDefinition", - "src": "51531:160:1" + "src": "52993:162:0" }, { "attributes": { "baseFunctions": [ - 690 + 182 ], "functionSelector": "18160ddd", "implemented": true, @@ -67803,7 +67803,7 @@ null ], "name": "totalSupply", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67813,9 +67813,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-totalSupply}." }, - "id": 2819, + "id": 2311, "name": "StructuredDocumentation", - "src": "51697:60:1" + "src": "53163:62:0" }, { "attributes": { @@ -67823,9 +67823,9 @@ null ] }, - "id": 2821, + "id": 2313, "name": "OverrideSpecifier", - "src": "51805:8:1" + "src": "53274:8:0" }, { "attributes": { @@ -67834,9 +67834,9 @@ ] }, "children": [], - "id": 2820, + "id": 2312, "name": "ParameterList", - "src": "51782:2:1" + "src": "53251:2:0" }, { "children": [ @@ -67845,7 +67845,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2830, + "scope": 2322, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67857,25 +67857,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2822, + "id": 2314, "name": "ElementaryTypeName", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2823, + "id": 2315, "name": "VariableDeclaration", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2824, + "id": 2316, "name": "ParameterList", - "src": "51822:9:1" + "src": "53291:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2824 + "functionReturnParameters": 2316 }, "children": [ { @@ -67906,7 +67906,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 2340, + "referencedDeclaration": 1832, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" }, "children": [ @@ -67915,43 +67915,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2825, + "id": 2317, "name": "Identifier", - "src": "51942:12:1" + "src": "53413:12:0" } ], - "id": 2826, + "id": 2318, "name": "MemberAccess", - "src": "51942:19:1" + "src": "53413:19:0" } ], - "id": 2827, + "id": 2319, "name": "FunctionCall", - "src": "51942:21:1" + "src": "53413:21:0" } ], - "id": 2828, + "id": 2320, "name": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ], - "id": 2829, + "id": 2321, "name": "Block", - "src": "51832:138:1" + "src": "53301:141:0" } ], - "id": 2830, + "id": 2322, "name": "FunctionDefinition", - "src": "51762:208:1" + "src": "53231:211:0" }, { "attributes": { "baseFunctions": [ - 708 + 200 ], "functionSelector": "4f6ccce7", "implemented": true, @@ -67961,7 +67961,7 @@ null ], "name": "tokenByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67971,9 +67971,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, - "id": 2831, + "id": 2323, "name": "StructuredDocumentation", - "src": "51976:61:1" + "src": "53450:63:0" }, { "attributes": { @@ -67981,9 +67981,9 @@ null ] }, - "id": 2835, + "id": 2327, "name": "OverrideSpecifier", - "src": "52099:8:1" + "src": "53576:8:0" }, { "children": [ @@ -67992,7 +67992,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68004,19 +68004,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2832, + "id": 2324, "name": "ElementaryTypeName", - "src": "52064:7:1" + "src": "53541:7:0" } ], - "id": 2833, + "id": 2325, "name": "VariableDeclaration", - "src": "52064:13:1" + "src": "53541:13:0" } ], - "id": 2834, + "id": 2326, "name": "ParameterList", - "src": "52063:15:1" + "src": "53540:15:0" }, { "children": [ @@ -68025,7 +68025,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68037,26 +68037,26 @@ "name": "uint256", "type": "uint256" }, - "id": 2836, + "id": 2328, "name": "ElementaryTypeName", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2837, + "id": 2329, "name": "VariableDeclaration", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2838, + "id": 2330, "name": "ParameterList", - "src": "52116:9:1" + "src": "53593:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2840, + 2332, null ] }, @@ -68066,7 +68066,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2848, + "scope": 2340, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68078,14 +68078,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2839, + "id": 2331, "name": "ElementaryTypeName", - "src": "52137:7:1" + "src": "53615:7:0" } ], - "id": 2840, + "id": 2332, "name": "VariableDeclaration", - "src": "52137:15:1" + "src": "53615:15:0" }, { "attributes": { @@ -68115,7 +68115,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 2379, + "referencedDeclaration": 1871, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" }, "children": [ @@ -68124,45 +68124,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2841, + "id": 2333, "name": "Identifier", - "src": "52158:12:1" + "src": "53636:12:0" } ], - "id": 2842, + "id": 2334, "name": "MemberAccess", - "src": "52158:15:1" + "src": "53636:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2833, + "referencedDeclaration": 2325, "type": "uint256", "value": "index" }, - "id": 2843, + "id": 2335, "name": "Identifier", - "src": "52174:5:1" + "src": "53652:5:0" } ], - "id": 2844, + "id": 2336, "name": "FunctionCall", - "src": "52158:22:1" + "src": "53636:22:0" } ], - "id": 2845, + "id": 2337, "name": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "attributes": { - "functionReturnParameters": 2838 + "functionReturnParameters": 2330 }, "children": [ { @@ -68170,33 +68170,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2840, + "referencedDeclaration": 2332, "type": "uint256", "value": "tokenId" }, - "id": 2846, + "id": 2338, "name": "Identifier", - "src": "52197:7:1" + "src": "53676:7:0" } ], - "id": 2847, + "id": 2339, "name": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ], - "id": 2848, + "id": 2340, "name": "Block", - "src": "52126:85:1" + "src": "53603:88:0" } ], - "id": 2849, + "id": 2341, "name": "FunctionDefinition", - "src": "52042:169:1" + "src": "53519:172:0" }, { "attributes": { "baseFunctions": [ - 616 + 108 ], "functionSelector": "095ea7b3", "implemented": true, @@ -68206,7 +68206,7 @@ null ], "name": "approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -68216,9 +68216,9 @@ "attributes": { "text": " @dev See {IERC721-approve}." }, - "id": 2850, + "id": 2342, "name": "StructuredDocumentation", - "src": "52217:46:1" + "src": "53699:48:0" }, { "attributes": { @@ -68226,9 +68226,9 @@ null ] }, - "id": 2856, + "id": 2348, "name": "OverrideSpecifier", - "src": "52329:8:1" + "src": "53814:8:0" }, { "children": [ @@ -68237,7 +68237,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68250,21 +68250,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2851, + "id": 2343, "name": "ElementaryTypeName", - "src": "52285:7:1" + "src": "53770:7:0" } ], - "id": 2852, + "id": 2344, "name": "VariableDeclaration", - "src": "52285:10:1" + "src": "53770:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68276,19 +68276,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2853, + "id": 2345, "name": "ElementaryTypeName", - "src": "52297:7:1" + "src": "53782:7:0" } ], - "id": 2854, + "id": 2346, "name": "VariableDeclaration", - "src": "52297:15:1" + "src": "53782:15:0" } ], - "id": 2855, + "id": 2347, "name": "ParameterList", - "src": "52284:29:1" + "src": "53769:29:0" }, { "attributes": { @@ -68297,16 +68297,16 @@ ] }, "children": [], - "id": 2857, + "id": 2349, "name": "ParameterList", - "src": "52338:0:1" + "src": "53823:0:0" }, { "children": [ { "attributes": { "assignments": [ - 2859 + 2351 ] }, "children": [ @@ -68315,7 +68315,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2892, + "scope": 2384, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68328,14 +68328,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2858, + "id": 2350, "name": "ElementaryTypeName", - "src": "52348:7:1" + "src": "53834:7:0" } ], - "id": 2859, + "id": 2351, "name": "VariableDeclaration", - "src": "52348:13:1" + "src": "53834:13:0" }, { "attributes": { @@ -68365,7 +68365,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -68374,41 +68374,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2860, + "id": 2352, "name": "Identifier", - "src": "52364:6:1" + "src": "53850:6:0" } ], - "id": 2861, + "id": 2353, "name": "MemberAccess", - "src": "52364:14:1" + "src": "53850:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2862, + "id": 2354, "name": "Identifier", - "src": "52379:7:1" + "src": "53865:7:0" } ], - "id": 2863, + "id": 2355, "name": "FunctionCall", - "src": "52364:23:1" + "src": "53850:23:0" } ], - "id": 2864, + "id": 2356, "name": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "children": [ @@ -68447,9 +68447,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2865, + "id": 2357, "name": "Identifier", - "src": "52397:7:1" + "src": "53884:7:0" }, { "attributes": { @@ -68470,31 +68470,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2866, + "id": 2358, "name": "Identifier", - "src": "52405:2:1" + "src": "53892:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2867, + "id": 2359, "name": "Identifier", - "src": "52411:5:1" + "src": "53898:5:0" } ], - "id": 2868, + "id": 2360, "name": "BinaryOperation", - "src": "52405:11:1" + "src": "53892:11:0" }, { "attributes": { @@ -68507,19 +68507,19 @@ "type": "literal_string \"ERC721: approval to current owner\"", "value": "ERC721: approval to current owner" }, - "id": 2869, + "id": 2361, "name": "Literal", - "src": "52418:35:1" + "src": "53905:35:0" } ], - "id": 2870, + "id": 2362, "name": "FunctionCall", - "src": "52397:57:1" + "src": "53884:57:0" } ], - "id": 2871, + "id": 2363, "name": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "children": [ @@ -68558,9 +68558,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2872, + "id": 2364, "name": "Identifier", - "src": "52465:7:1" + "src": "53954:7:0" }, { "attributes": { @@ -68616,36 +68616,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2873, + "id": 2365, "name": "Identifier", - "src": "52473:10:1" + "src": "53962:10:0" } ], - "id": 2874, + "id": 2366, "name": "FunctionCall", - "src": "52473:12:1" + "src": "53962:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2875, + "id": 2367, "name": "Identifier", - "src": "52489:5:1" + "src": "53978:5:0" } ], - "id": 2876, + "id": 2368, "name": "BinaryOperation", - "src": "52473:21:1" + "src": "53962:21:0" }, { "attributes": { @@ -68679,7 +68679,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -68688,31 +68688,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2877, + "id": 2369, "name": "Identifier", - "src": "52498:6:1" + "src": "53987:6:0" } ], - "id": 2878, + "id": 2370, "name": "MemberAccess", - "src": "52498:23:1" + "src": "53987:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2879, + "id": 2371, "name": "Identifier", - "src": "52522:5:1" + "src": "54011:5:0" }, { "attributes": { @@ -68740,28 +68740,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2880, + "id": 2372, "name": "Identifier", - "src": "52529:10:1" + "src": "54018:10:0" } ], - "id": 2881, + "id": 2373, "name": "FunctionCall", - "src": "52529:12:1" + "src": "54018:12:0" } ], - "id": 2882, + "id": 2374, "name": "FunctionCall", - "src": "52498:44:1" + "src": "53987:44:0" } ], - "id": 2883, + "id": 2375, "name": "BinaryOperation", - "src": "52473:69:1" + "src": "53962:69:0" }, { "attributes": { @@ -68774,19 +68774,19 @@ "type": "literal_string \"ERC721: approve caller is not owner nor approved for all\"", "value": "ERC721: approve caller is not owner nor approved for all" }, - "id": 2884, + "id": 2376, "name": "Literal", - "src": "52556:58:1" + "src": "54046:58:0" } ], - "id": 2885, + "id": 2377, "name": "FunctionCall", - "src": "52465:159:1" + "src": "53954:161:0" } ], - "id": 2886, + "id": 2378, "name": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "children": [ @@ -68820,64 +68820,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 2887, + "id": 2379, "name": "Identifier", - "src": "52635:8:1" + "src": "54128:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2888, + "id": 2380, "name": "Identifier", - "src": "52644:2:1" + "src": "54137:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2889, + "id": 2381, "name": "Identifier", - "src": "52648:7:1" + "src": "54141:7:0" } ], - "id": 2890, + "id": 2382, "name": "FunctionCall", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2891, + "id": 2383, "name": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2892, + "id": 2384, "name": "Block", - "src": "52338:325:1" + "src": "53823:334:0" } ], - "id": 2893, + "id": 2385, "name": "FunctionDefinition", - "src": "52268:395:1" + "src": "53753:404:0" }, { "attributes": { "baseFunctions": [ - 624 + 116 ], "functionSelector": "081812fc", "implemented": true, @@ -68887,7 +68887,7 @@ null ], "name": "getApproved", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -68897,9 +68897,9 @@ "attributes": { "text": " @dev See {IERC721-getApproved}." }, - "id": 2894, + "id": 2386, "name": "StructuredDocumentation", - "src": "52669:50:1" + "src": "54165:52:0" }, { "attributes": { @@ -68907,9 +68907,9 @@ null ] }, - "id": 2898, + "id": 2390, "name": "OverrideSpecifier", - "src": "52782:8:1" + "src": "54281:8:0" }, { "children": [ @@ -68918,7 +68918,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68930,19 +68930,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2895, + "id": 2387, "name": "ElementaryTypeName", - "src": "52745:7:1" + "src": "54244:7:0" } ], - "id": 2896, + "id": 2388, "name": "VariableDeclaration", - "src": "52745:15:1" + "src": "54244:15:0" } ], - "id": 2897, + "id": 2389, "name": "ParameterList", - "src": "52744:17:1" + "src": "54243:17:0" }, { "children": [ @@ -68951,7 +68951,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68964,19 +68964,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2899, + "id": 2391, "name": "ElementaryTypeName", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2900, + "id": 2392, "name": "VariableDeclaration", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2901, + "id": 2393, "name": "ParameterList", - "src": "52799:9:1" + "src": "54298:9:0" }, { "children": [ @@ -69017,9 +69017,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2902, + "id": 2394, "name": "Identifier", - "src": "52819:7:1" + "src": "54319:7:0" }, { "attributes": { @@ -69047,31 +69047,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2903, + "id": 2395, "name": "Identifier", - "src": "52827:7:1" + "src": "54327:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2904, + "id": 2396, "name": "Identifier", - "src": "52835:7:1" + "src": "54335:7:0" } ], - "id": 2905, + "id": 2397, "name": "FunctionCall", - "src": "52827:16:1" + "src": "54327:16:0" }, { "attributes": { @@ -69084,23 +69084,23 @@ "type": "literal_string \"ERC721: approved query for nonexistent token\"", "value": "ERC721: approved query for nonexistent token" }, - "id": 2906, + "id": 2398, "name": "Literal", - "src": "52845:46:1" + "src": "54345:46:0" } ], - "id": 2907, + "id": 2399, "name": "FunctionCall", - "src": "52819:73:1" + "src": "54319:73:0" } ], - "id": 2908, + "id": 2400, "name": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "attributes": { - "functionReturnParameters": 2901 + "functionReturnParameters": 2393 }, "children": [ { @@ -69117,51 +69117,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 2909, + "id": 2401, "name": "Identifier", - "src": "52910:15:1" + "src": "54412:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2910, + "id": 2402, "name": "Identifier", - "src": "52926:7:1" + "src": "54428:7:0" } ], - "id": 2911, + "id": 2403, "name": "IndexAccess", - "src": "52910:24:1" + "src": "54412:24:0" } ], - "id": 2912, + "id": 2404, "name": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ], - "id": 2913, + "id": 2405, "name": "Block", - "src": "52809:132:1" + "src": "54308:136:0" } ], - "id": 2914, + "id": 2406, "name": "FunctionDefinition", - "src": "52724:217:1" + "src": "54223:221:0" }, { "attributes": { "baseFunctions": [ - 632 + 124 ], "functionSelector": "a22cb465", "implemented": true, @@ -69171,7 +69171,7 @@ null ], "name": "setApprovalForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69181,9 +69181,9 @@ "attributes": { "text": " @dev See {IERC721-setApprovalForAll}." }, - "id": 2915, + "id": 2407, "name": "StructuredDocumentation", - "src": "52947:56:1" + "src": "54452:58:0" }, { "attributes": { @@ -69191,9 +69191,9 @@ null ] }, - "id": 2921, + "id": 2413, "name": "OverrideSpecifier", - "src": "53083:8:1" + "src": "54591:8:0" }, { "children": [ @@ -69202,7 +69202,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69215,21 +69215,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2916, + "id": 2408, "name": "ElementaryTypeName", - "src": "53035:7:1" + "src": "54543:7:0" } ], - "id": 2917, + "id": 2409, "name": "VariableDeclaration", - "src": "53035:16:1" + "src": "54543:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "approved", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69241,19 +69241,19 @@ "name": "bool", "type": "bool" }, - "id": 2918, + "id": 2410, "name": "ElementaryTypeName", - "src": "53053:4:1" + "src": "54561:4:0" } ], - "id": 2919, + "id": 2411, "name": "VariableDeclaration", - "src": "53053:13:1" + "src": "54561:13:0" } ], - "id": 2920, + "id": 2412, "name": "ParameterList", - "src": "53034:33:1" + "src": "54542:33:0" }, { "attributes": { @@ -69262,9 +69262,9 @@ ] }, "children": [], - "id": 2922, + "id": 2414, "name": "ParameterList", - "src": "53092:0:1" + "src": "54600:0:0" }, { "children": [ @@ -69305,9 +69305,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2923, + "id": 2415, "name": "Identifier", - "src": "53102:7:1" + "src": "54611:7:0" }, { "attributes": { @@ -69328,13 +69328,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2924, + "id": 2416, "name": "Identifier", - "src": "53110:8:1" + "src": "54619:8:0" }, { "attributes": { @@ -69362,23 +69362,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2925, + "id": 2417, "name": "Identifier", - "src": "53122:10:1" + "src": "54631:10:0" } ], - "id": 2926, + "id": 2418, "name": "FunctionCall", - "src": "53122:12:1" + "src": "54631:12:0" } ], - "id": 2927, + "id": 2419, "name": "BinaryOperation", - "src": "53110:24:1" + "src": "54619:24:0" }, { "attributes": { @@ -69391,19 +69391,19 @@ "type": "literal_string \"ERC721: approve to caller\"", "value": "ERC721: approve to caller" }, - "id": 2928, + "id": 2420, "name": "Literal", - "src": "53136:27:1" + "src": "54645:27:0" } ], - "id": 2929, + "id": 2421, "name": "FunctionCall", - "src": "53102:62:1" + "src": "54611:62:0" } ], - "id": 2930, + "id": 2422, "name": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "children": [ @@ -69440,13 +69440,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2931, + "id": 2423, "name": "Identifier", - "src": "53175:18:1" + "src": "54686:18:0" }, { "attributes": { @@ -69474,64 +69474,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2932, + "id": 2424, "name": "Identifier", - "src": "53194:10:1" + "src": "54705:10:0" } ], - "id": 2933, + "id": 2425, "name": "FunctionCall", - "src": "53194:12:1" + "src": "54705:12:0" } ], - "id": 2935, + "id": 2427, "name": "IndexAccess", - "src": "53175:32:1" + "src": "54686:32:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2934, + "id": 2426, "name": "Identifier", - "src": "53208:8:1" + "src": "54719:8:0" } ], - "id": 2936, + "id": 2428, "name": "IndexAccess", - "src": "53175:42:1" + "src": "54686:42:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2937, + "id": 2429, "name": "Identifier", - "src": "53220:8:1" + "src": "54731:8:0" } ], - "id": 2938, + "id": 2430, "name": "Assignment", - "src": "53175:53:1" + "src": "54686:53:0" } ], - "id": 2939, + "id": 2431, "name": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "children": [ @@ -69569,13 +69569,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 572, + "referencedDeclaration": 64, "type": "function (address,address,bool)", "value": "ApprovalForAll" }, - "id": 2940, + "id": 2432, "name": "Identifier", - "src": "53243:14:1" + "src": "54755:14:0" }, { "attributes": { @@ -69603,69 +69603,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2941, + "id": 2433, "name": "Identifier", - "src": "53258:10:1" + "src": "54770:10:0" } ], - "id": 2942, + "id": 2434, "name": "FunctionCall", - "src": "53258:12:1" + "src": "54770:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2943, + "id": 2435, "name": "Identifier", - "src": "53272:8:1" + "src": "54784:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2944, + "id": 2436, "name": "Identifier", - "src": "53282:8:1" + "src": "54794:8:0" } ], - "id": 2945, + "id": 2437, "name": "FunctionCall", - "src": "53243:48:1" + "src": "54755:48:0" } ], - "id": 2946, + "id": 2438, "name": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ], - "id": 2947, + "id": 2439, "name": "Block", - "src": "53092:206:1" + "src": "54600:211:0" } ], - "id": 2948, + "id": 2440, "name": "FunctionDefinition", - "src": "53008:290:1" + "src": "54516:295:0" }, { "attributes": { "baseFunctions": [ - 642 + 134 ], "functionSelector": "e985e9c5", "implemented": true, @@ -69675,7 +69675,7 @@ null ], "name": "isApprovedForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -69685,9 +69685,9 @@ "attributes": { "text": " @dev See {IERC721-isApprovedForAll}." }, - "id": 2949, + "id": 2441, "name": "StructuredDocumentation", - "src": "53304:55:1" + "src": "54819:57:0" }, { "attributes": { @@ -69695,9 +69695,9 @@ null ] }, - "id": 2955, + "id": 2447, "name": "OverrideSpecifier", - "src": "53443:8:1" + "src": "54961:8:0" }, { "children": [ @@ -69706,7 +69706,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69719,21 +69719,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2950, + "id": 2442, "name": "ElementaryTypeName", - "src": "53390:7:1" + "src": "54908:7:0" } ], - "id": 2951, + "id": 2443, "name": "VariableDeclaration", - "src": "53390:13:1" + "src": "54908:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69746,19 +69746,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2952, + "id": 2444, "name": "ElementaryTypeName", - "src": "53405:7:1" + "src": "54923:7:0" } ], - "id": 2953, + "id": 2445, "name": "VariableDeclaration", - "src": "53405:16:1" + "src": "54923:16:0" } ], - "id": 2954, + "id": 2446, "name": "ParameterList", - "src": "53389:33:1" + "src": "54907:33:0" }, { "children": [ @@ -69767,7 +69767,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69779,25 +69779,25 @@ "name": "bool", "type": "bool" }, - "id": 2956, + "id": 2448, "name": "ElementaryTypeName", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2957, + "id": 2449, "name": "VariableDeclaration", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2958, + "id": 2450, "name": "ParameterList", - "src": "53460:6:1" + "src": "54978:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2958 + "functionReturnParameters": 2450 }, "children": [ { @@ -69823,69 +69823,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2959, + "id": 2451, "name": "Identifier", - "src": "53484:18:1" + "src": "55003:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2951, + "referencedDeclaration": 2443, "type": "address", "value": "owner" }, - "id": 2960, + "id": 2452, "name": "Identifier", - "src": "53503:5:1" + "src": "55022:5:0" } ], - "id": 2961, + "id": 2453, "name": "IndexAccess", - "src": "53484:25:1" + "src": "55003:25:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2953, + "referencedDeclaration": 2445, "type": "address", "value": "operator" }, - "id": 2962, + "id": 2454, "name": "Identifier", - "src": "53510:8:1" + "src": "55029:8:0" } ], - "id": 2963, + "id": 2455, "name": "IndexAccess", - "src": "53484:35:1" + "src": "55003:35:0" } ], - "id": 2964, + "id": 2456, "name": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ], - "id": 2965, + "id": 2457, "name": "Block", - "src": "53467:59:1" + "src": "54985:61:0" } ], - "id": 2966, + "id": 2458, "name": "FunctionDefinition", - "src": "53364:162:1" + "src": "54882:164:0" }, { "attributes": { "baseFunctions": [ - 608 + 100 ], "functionSelector": "23b872dd", "implemented": true, @@ -69895,7 +69895,7 @@ null ], "name": "transferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69905,9 +69905,9 @@ "attributes": { "text": " @dev See {IERC721-transferFrom}." }, - "id": 2967, + "id": 2459, "name": "StructuredDocumentation", - "src": "53532:51:1" + "src": "55054:53:0" }, { "attributes": { @@ -69915,9 +69915,9 @@ null ] }, - "id": 2975, + "id": 2467, "name": "OverrideSpecifier", - "src": "53668:8:1" + "src": "55193:8:0" }, { "children": [ @@ -69926,7 +69926,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69939,21 +69939,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2968, + "id": 2460, "name": "ElementaryTypeName", - "src": "53610:7:1" + "src": "55135:7:0" } ], - "id": 2969, + "id": 2461, "name": "VariableDeclaration", - "src": "53610:12:1" + "src": "55135:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69966,21 +69966,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2970, + "id": 2462, "name": "ElementaryTypeName", - "src": "53624:7:1" + "src": "55149:7:0" } ], - "id": 2971, + "id": 2463, "name": "VariableDeclaration", - "src": "53624:10:1" + "src": "55149:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -69992,19 +69992,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2972, + "id": 2464, "name": "ElementaryTypeName", - "src": "53636:7:1" + "src": "55161:7:0" } ], - "id": 2973, + "id": 2465, "name": "VariableDeclaration", - "src": "53636:15:1" + "src": "55161:15:0" } ], - "id": 2974, + "id": 2466, "name": "ParameterList", - "src": "53609:43:1" + "src": "55134:43:0" }, { "attributes": { @@ -70013,9 +70013,9 @@ ] }, "children": [], - "id": 2976, + "id": 2468, "name": "ParameterList", - "src": "53677:0:1" + "src": "55202:0:0" }, { "children": [ @@ -70056,9 +70056,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2977, + "id": 2469, "name": "Identifier", - "src": "53739:7:1" + "src": "55266:7:0" }, { "attributes": { @@ -70090,13 +70090,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 2978, + "id": 2470, "name": "Identifier", - "src": "53747:18:1" + "src": "55274:18:0" }, { "attributes": { @@ -70124,36 +70124,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2979, + "id": 2471, "name": "Identifier", - "src": "53766:10:1" + "src": "55293:10:0" } ], - "id": 2980, + "id": 2472, "name": "FunctionCall", - "src": "53766:12:1" + "src": "55293:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2981, + "id": 2473, "name": "Identifier", - "src": "53780:7:1" + "src": "55307:7:0" } ], - "id": 2982, + "id": 2474, "name": "FunctionCall", - "src": "53747:41:1" + "src": "55274:41:0" }, { "attributes": { @@ -70166,19 +70166,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 2983, + "id": 2475, "name": "Literal", - "src": "53790:51:1" + "src": "55317:51:0" } ], - "id": 2984, + "id": 2476, "name": "FunctionCall", - "src": "53739:103:1" + "src": "55266:103:0" } ], - "id": 2985, + "id": 2477, "name": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "children": [ @@ -70216,77 +70216,77 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 2986, + "id": 2478, "name": "Identifier", - "src": "53853:9:1" + "src": "55382:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2969, + "referencedDeclaration": 2461, "type": "address", "value": "from" }, - "id": 2987, + "id": 2479, "name": "Identifier", - "src": "53863:4:1" + "src": "55392:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2971, + "referencedDeclaration": 2463, "type": "address", "value": "to" }, - "id": 2988, + "id": 2480, "name": "Identifier", - "src": "53869:2:1" + "src": "55398:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2989, + "id": 2481, "name": "Identifier", - "src": "53873:7:1" + "src": "55402:7:0" } ], - "id": 2990, + "id": 2482, "name": "FunctionCall", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2991, + "id": 2483, "name": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2992, + "id": 2484, "name": "Block", - "src": "53677:211:1" + "src": "55202:216:0" } ], - "id": 2993, + "id": 2485, "name": "FunctionDefinition", - "src": "53588:300:1" + "src": "55113:305:0" }, { "attributes": { "baseFunctions": [ - 598 + 90 ], "functionSelector": "42842e0e", "implemented": true, @@ -70296,7 +70296,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70306,9 +70306,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 2994, + "id": 2486, "name": "StructuredDocumentation", - "src": "53894:55:1" + "src": "55426:57:0" }, { "attributes": { @@ -70316,9 +70316,9 @@ null ] }, - "id": 3002, + "id": 2494, "name": "OverrideSpecifier", - "src": "54038:8:1" + "src": "55573:8:0" }, { "children": [ @@ -70327,7 +70327,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70340,21 +70340,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2995, + "id": 2487, "name": "ElementaryTypeName", - "src": "53980:7:1" + "src": "55515:7:0" } ], - "id": 2996, + "id": 2488, "name": "VariableDeclaration", - "src": "53980:12:1" + "src": "55515:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70367,21 +70367,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2997, + "id": 2489, "name": "ElementaryTypeName", - "src": "53994:7:1" + "src": "55529:7:0" } ], - "id": 2998, + "id": 2490, "name": "VariableDeclaration", - "src": "53994:10:1" + "src": "55529:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70393,19 +70393,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2999, + "id": 2491, "name": "ElementaryTypeName", - "src": "54006:7:1" + "src": "55541:7:0" } ], - "id": 3000, + "id": 2492, "name": "VariableDeclaration", - "src": "54006:15:1" + "src": "55541:15:0" } ], - "id": 3001, + "id": 2493, "name": "ParameterList", - "src": "53979:43:1" + "src": "55514:43:0" }, { "attributes": { @@ -70414,9 +70414,9 @@ ] }, "children": [], - "id": 3003, + "id": 2495, "name": "ParameterList", - "src": "54047:0:1" + "src": "55582:0:0" }, { "children": [ @@ -70458,55 +70458,55 @@ } ], "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, + "referencedDeclaration": 2534, "type": "function (address,address,uint256,bytes memory)", "value": "safeTransferFrom" }, - "id": 3004, + "id": 2496, "name": "Identifier", - "src": "54057:16:1" + "src": "55593:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2996, + "referencedDeclaration": 2488, "type": "address", "value": "from" }, - "id": 3005, + "id": 2497, "name": "Identifier", - "src": "54074:4:1" + "src": "55610:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2998, + "referencedDeclaration": 2490, "type": "address", "value": "to" }, - "id": 3006, + "id": 2498, "name": "Identifier", - "src": "54080:2:1" + "src": "55616:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3000, + "referencedDeclaration": 2492, "type": "uint256", "value": "tokenId" }, - "id": 3007, + "id": 2499, "name": "Identifier", - "src": "54084:7:1" + "src": "55620:7:0" }, { "attributes": { @@ -70519,34 +70519,34 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3008, + "id": 2500, "name": "Literal", - "src": "54093:2:1" + "src": "55629:2:0" } ], - "id": 3009, + "id": 2501, "name": "FunctionCall", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3010, + "id": 2502, "name": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3011, + "id": 2503, "name": "Block", - "src": "54047:56:1" + "src": "55582:58:0" } ], - "id": 3012, + "id": 2504, "name": "FunctionDefinition", - "src": "53954:149:1" + "src": "55489:151:0" }, { "attributes": { "baseFunctions": [ - 654 + 146 ], "functionSelector": "b88d4fde", "implemented": true, @@ -70556,7 +70556,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70566,9 +70566,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 3013, + "id": 2505, "name": "StructuredDocumentation", - "src": "54109:55:1" + "src": "55648:57:0" }, { "attributes": { @@ -70576,9 +70576,9 @@ null ] }, - "id": 3023, + "id": 2515, "name": "OverrideSpecifier", - "src": "54273:8:1" + "src": "55815:8:0" }, { "children": [ @@ -70587,7 +70587,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70600,21 +70600,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3014, + "id": 2506, "name": "ElementaryTypeName", - "src": "54195:7:1" + "src": "55737:7:0" } ], - "id": 3015, + "id": 2507, "name": "VariableDeclaration", - "src": "54195:12:1" + "src": "55737:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70627,21 +70627,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3016, + "id": 2508, "name": "ElementaryTypeName", - "src": "54209:7:1" + "src": "55751:7:0" } ], - "id": 3017, + "id": 2509, "name": "VariableDeclaration", - "src": "54209:10:1" + "src": "55751:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70653,21 +70653,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3018, + "id": 2510, "name": "ElementaryTypeName", - "src": "54221:7:1" + "src": "55763:7:0" } ], - "id": 3019, + "id": 2511, "name": "VariableDeclaration", - "src": "54221:15:1" + "src": "55763:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -70679,19 +70679,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3020, + "id": 2512, "name": "ElementaryTypeName", - "src": "54238:5:1" + "src": "55780:5:0" } ], - "id": 3021, + "id": 2513, "name": "VariableDeclaration", - "src": "54238:18:1" + "src": "55780:18:0" } ], - "id": 3022, + "id": 2514, "name": "ParameterList", - "src": "54194:63:1" + "src": "55736:63:0" }, { "attributes": { @@ -70700,9 +70700,9 @@ ] }, "children": [], - "id": 3024, + "id": 2516, "name": "ParameterList", - "src": "54282:0:1" + "src": "55824:0:0" }, { "children": [ @@ -70743,9 +70743,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3025, + "id": 2517, "name": "Identifier", - "src": "54292:7:1" + "src": "55835:7:0" }, { "attributes": { @@ -70777,13 +70777,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 3026, + "id": 2518, "name": "Identifier", - "src": "54300:18:1" + "src": "55843:18:0" }, { "attributes": { @@ -70811,36 +70811,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3027, + "id": 2519, "name": "Identifier", - "src": "54319:10:1" + "src": "55862:10:0" } ], - "id": 3028, + "id": 2520, "name": "FunctionCall", - "src": "54319:12:1" + "src": "55862:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3029, + "id": 2521, "name": "Identifier", - "src": "54333:7:1" + "src": "55876:7:0" } ], - "id": 3030, + "id": 2522, "name": "FunctionCall", - "src": "54300:41:1" + "src": "55843:41:0" }, { "attributes": { @@ -70853,19 +70853,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 3031, + "id": 2523, "name": "Literal", - "src": "54343:51:1" + "src": "55886:51:0" } ], - "id": 3032, + "id": 2524, "name": "FunctionCall", - "src": "54292:103:1" + "src": "55835:103:0" } ], - "id": 3033, + "id": 2525, "name": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "children": [ @@ -70907,85 +70907,85 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3071, + "referencedDeclaration": 2563, "type": "function (address,address,uint256,bytes memory)", "value": "_safeTransfer" }, - "id": 3034, + "id": 2526, "name": "Identifier", - "src": "54405:13:1" + "src": "55949:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3015, + "referencedDeclaration": 2507, "type": "address", "value": "from" }, - "id": 3035, + "id": 2527, "name": "Identifier", - "src": "54419:4:1" + "src": "55963:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3017, + "referencedDeclaration": 2509, "type": "address", "value": "to" }, - "id": 3036, + "id": 2528, "name": "Identifier", - "src": "54425:2:1" + "src": "55969:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3037, + "id": 2529, "name": "Identifier", - "src": "54429:7:1" + "src": "55973:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3021, + "referencedDeclaration": 2513, "type": "bytes memory", "value": "_data" }, - "id": 3038, + "id": 2530, "name": "Identifier", - "src": "54438:5:1" + "src": "55982:5:0" } ], - "id": 3039, + "id": 2531, "name": "FunctionCall", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3040, + "id": 2532, "name": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3041, + "id": 2533, "name": "Block", - "src": "54282:169:1" + "src": "55824:172:0" } ], - "id": 3042, + "id": 2534, "name": "FunctionDefinition", - "src": "54169:282:1" + "src": "55711:285:0" }, { "attributes": { @@ -70996,7 +70996,7 @@ null ], "name": "_safeTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -71006,9 +71006,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3043, + "id": 2535, "name": "StructuredDocumentation", - "src": "54457:851:1" + "src": "56004:868:0" }, { "children": [ @@ -71017,7 +71017,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71030,21 +71030,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3044, + "id": 2536, "name": "ElementaryTypeName", - "src": "55336:7:1" + "src": "56901:7:0" } ], - "id": 3045, + "id": 2537, "name": "VariableDeclaration", - "src": "55336:12:1" + "src": "56901:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71057,21 +71057,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3046, + "id": 2538, "name": "ElementaryTypeName", - "src": "55350:7:1" + "src": "56915:7:0" } ], - "id": 3047, + "id": 2539, "name": "VariableDeclaration", - "src": "55350:10:1" + "src": "56915:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71083,21 +71083,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3048, + "id": 2540, "name": "ElementaryTypeName", - "src": "55362:7:1" + "src": "56927:7:0" } ], - "id": 3049, + "id": 2541, "name": "VariableDeclaration", - "src": "55362:15:1" + "src": "56927:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -71109,19 +71109,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3050, + "id": 2542, "name": "ElementaryTypeName", - "src": "55379:5:1" + "src": "56944:5:0" } ], - "id": 3051, + "id": 2543, "name": "VariableDeclaration", - "src": "55379:18:1" + "src": "56944:18:0" } ], - "id": 3052, + "id": 2544, "name": "ParameterList", - "src": "55335:63:1" + "src": "56900:63:0" }, { "attributes": { @@ -71130,9 +71130,9 @@ ] }, "children": [], - "id": 3053, + "id": 2545, "name": "ParameterList", - "src": "55416:0:1" + "src": "56981:0:0" }, { "children": [ @@ -71172,62 +71172,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 3054, + "id": 2546, "name": "Identifier", - "src": "55426:9:1" + "src": "56992:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3055, + "id": 2547, "name": "Identifier", - "src": "55436:4:1" + "src": "57002:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3056, + "id": 2548, "name": "Identifier", - "src": "55442:2:1" + "src": "57008:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3057, + "id": 2549, "name": "Identifier", - "src": "55446:7:1" + "src": "57012:7:0" } ], - "id": 3058, + "id": 2550, "name": "FunctionCall", - "src": "55426:28:1" + "src": "56992:28:0" } ], - "id": 3059, + "id": 2551, "name": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "children": [ @@ -71266,9 +71266,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3060, + "id": 2552, "name": "Identifier", - "src": "55464:7:1" + "src": "57031:7:0" }, { "attributes": { @@ -71308,70 +71308,70 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3061, + "id": 2553, "name": "Identifier", - "src": "55472:22:1" + "src": "57039:22:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3062, + "id": 2554, "name": "Identifier", - "src": "55495:4:1" + "src": "57062:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3063, + "id": 2555, "name": "Identifier", - "src": "55501:2:1" + "src": "57068:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3064, + "id": 2556, "name": "Identifier", - "src": "55505:7:1" + "src": "57072:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3051, + "referencedDeclaration": 2543, "type": "bytes memory", "value": "_data" }, - "id": 3065, + "id": 2557, "name": "Identifier", - "src": "55514:5:1" + "src": "57081:5:0" } ], - "id": 3066, + "id": 2558, "name": "FunctionCall", - "src": "55472:48:1" + "src": "57039:48:0" }, { "attributes": { @@ -71384,29 +71384,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3067, + "id": 2559, "name": "Literal", - "src": "55522:52:1" + "src": "57089:52:0" } ], - "id": 3068, + "id": 2560, "name": "FunctionCall", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3069, + "id": 2561, "name": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3070, + "id": 2562, "name": "Block", - "src": "55416:166:1" + "src": "56981:169:0" } ], - "id": 3071, + "id": 2563, "name": "FunctionDefinition", - "src": "55313:269:1" + "src": "56878:272:0" }, { "attributes": { @@ -71417,7 +71417,7 @@ null ], "name": "_exists", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71427,9 +71427,9 @@ "attributes": { "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3072, + "id": 2564, "name": "StructuredDocumentation", - "src": "55588:292:1" + "src": "57158:299:0" }, { "children": [ @@ -71438,7 +71438,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71450,19 +71450,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3073, + "id": 2565, "name": "ElementaryTypeName", - "src": "55902:7:1" + "src": "57480:7:0" } ], - "id": 3074, + "id": 2566, "name": "VariableDeclaration", - "src": "55902:15:1" + "src": "57480:15:0" } ], - "id": 3075, + "id": 2567, "name": "ParameterList", - "src": "55901:17:1" + "src": "57479:17:0" }, { "children": [ @@ -71471,7 +71471,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71483,25 +71483,25 @@ "name": "bool", "type": "bool" }, - "id": 3076, + "id": 2568, "name": "ElementaryTypeName", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3077, + "id": 2569, "name": "VariableDeclaration", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3078, + "id": 2570, "name": "ParameterList", - "src": "55949:6:1" + "src": "57527:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3078 + "functionReturnParameters": 2570 }, "children": [ { @@ -71532,7 +71532,7 @@ "isPure": false, "lValueRequested": false, "member_name": "contains", - "referencedDeclaration": 2326, + "referencedDeclaration": 1818, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" }, "children": [ @@ -71541,51 +71541,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3079, + "id": 2571, "name": "Identifier", - "src": "55973:12:1" + "src": "57552:12:0" } ], - "id": 3080, + "id": 2572, "name": "MemberAccess", - "src": "55973:21:1" + "src": "57552:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3074, + "referencedDeclaration": 2566, "type": "uint256", "value": "tokenId" }, - "id": 3081, + "id": 2573, "name": "Identifier", - "src": "55995:7:1" + "src": "57574:7:0" } ], - "id": 3082, + "id": 2574, "name": "FunctionCall", - "src": "55973:30:1" + "src": "57552:30:0" } ], - "id": 3083, + "id": 2575, "name": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ], - "id": 3084, + "id": 2576, "name": "Block", - "src": "55956:54:1" + "src": "57534:56:0" } ], - "id": 3085, + "id": 2577, "name": "FunctionDefinition", - "src": "55885:125:1" + "src": "57463:127:0" }, { "attributes": { @@ -71596,7 +71596,7 @@ null ], "name": "_isApprovedOrOwner", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71606,9 +71606,9 @@ "attributes": { "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3086, + "id": 2578, "name": "StructuredDocumentation", - "src": "56016:147:1" + "src": "57598:153:0" }, { "children": [ @@ -71617,7 +71617,7 @@ "constant": false, "mutability": "mutable", "name": "spender", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71630,21 +71630,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3087, + "id": 2579, "name": "ElementaryTypeName", - "src": "56196:7:1" + "src": "57785:7:0" } ], - "id": 3088, + "id": 2580, "name": "VariableDeclaration", - "src": "56196:15:1" + "src": "57785:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71656,19 +71656,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3089, + "id": 2581, "name": "ElementaryTypeName", - "src": "56213:7:1" + "src": "57802:7:0" } ], - "id": 3090, + "id": 2582, "name": "VariableDeclaration", - "src": "56213:15:1" + "src": "57802:15:0" } ], - "id": 3091, + "id": 2583, "name": "ParameterList", - "src": "56195:34:1" + "src": "57784:34:0" }, { "children": [ @@ -71677,7 +71677,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71689,19 +71689,19 @@ "name": "bool", "type": "bool" }, - "id": 3092, + "id": 2584, "name": "ElementaryTypeName", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3093, + "id": 2585, "name": "VariableDeclaration", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3094, + "id": 2586, "name": "ParameterList", - "src": "56260:6:1" + "src": "57849:6:0" }, { "children": [ @@ -71742,9 +71742,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3095, + "id": 2587, "name": "Identifier", - "src": "56277:7:1" + "src": "57867:7:0" }, { "attributes": { @@ -71772,31 +71772,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3096, + "id": 2588, "name": "Identifier", - "src": "56285:7:1" + "src": "57875:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3097, + "id": 2589, "name": "Identifier", - "src": "56293:7:1" + "src": "57883:7:0" } ], - "id": 3098, + "id": 2590, "name": "FunctionCall", - "src": "56285:16:1" + "src": "57875:16:0" }, { "attributes": { @@ -71809,24 +71809,24 @@ "type": "literal_string \"ERC721: operator query for nonexistent token\"", "value": "ERC721: operator query for nonexistent token" }, - "id": 3099, + "id": 2591, "name": "Literal", - "src": "56303:46:1" + "src": "57893:46:0" } ], - "id": 3100, + "id": 2592, "name": "FunctionCall", - "src": "56277:73:1" + "src": "57867:73:0" } ], - "id": 3101, + "id": 2593, "name": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "attributes": { "assignments": [ - 3103 + 2595 ] }, "children": [ @@ -71835,7 +71835,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3126, + "scope": 2618, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71848,14 +71848,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3102, + "id": 2594, "name": "ElementaryTypeName", - "src": "56360:7:1" + "src": "57951:7:0" } ], - "id": 3103, + "id": 2595, "name": "VariableDeclaration", - "src": "56360:13:1" + "src": "57951:13:0" }, { "attributes": { @@ -71885,7 +71885,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -71894,45 +71894,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3104, + "id": 2596, "name": "Identifier", - "src": "56376:6:1" + "src": "57967:6:0" } ], - "id": 3105, + "id": 2597, "name": "MemberAccess", - "src": "56376:14:1" + "src": "57967:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3106, + "id": 2598, "name": "Identifier", - "src": "56391:7:1" + "src": "57982:7:0" } ], - "id": 3107, + "id": 2599, "name": "FunctionCall", - "src": "56376:23:1" + "src": "57967:23:0" } ], - "id": 3108, + "id": 2600, "name": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "attributes": { - "functionReturnParameters": 3094 + "functionReturnParameters": 2586 }, "children": [ { @@ -71992,31 +71992,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3109, + "id": 2601, "name": "Identifier", - "src": "56417:7:1" + "src": "58009:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3110, + "id": 2602, "name": "Identifier", - "src": "56428:5:1" + "src": "58020:5:0" } ], - "id": 3111, + "id": 2603, "name": "BinaryOperation", - "src": "56417:16:1" + "src": "58009:16:0" }, { "attributes": { @@ -72058,54 +72058,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2914, + "referencedDeclaration": 2406, "type": "function (uint256) view returns (address)", "value": "getApproved" }, - "id": 3112, + "id": 2604, "name": "Identifier", - "src": "56437:11:1" + "src": "58029:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3113, + "id": 2605, "name": "Identifier", - "src": "56449:7:1" + "src": "58041:7:0" } ], - "id": 3114, + "id": 2606, "name": "FunctionCall", - "src": "56437:20:1" + "src": "58029:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3115, + "id": 2607, "name": "Identifier", - "src": "56461:7:1" + "src": "58053:7:0" } ], - "id": 3116, + "id": 2608, "name": "BinaryOperation", - "src": "56437:31:1" + "src": "58029:31:0" } ], - "id": 3117, + "id": 2609, "name": "BinaryOperation", - "src": "56417:51:1" + "src": "58009:51:0" }, { "attributes": { @@ -72139,7 +72139,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -72148,74 +72148,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3118, + "id": 2610, "name": "Identifier", - "src": "56472:6:1" + "src": "58064:6:0" } ], - "id": 3119, + "id": 2611, "name": "MemberAccess", - "src": "56472:23:1" + "src": "58064:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3120, + "id": 2612, "name": "Identifier", - "src": "56496:5:1" + "src": "58088:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3121, + "id": 2613, "name": "Identifier", - "src": "56503:7:1" + "src": "58095:7:0" } ], - "id": 3122, + "id": 2614, "name": "FunctionCall", - "src": "56472:39:1" + "src": "58064:39:0" } ], - "id": 3123, + "id": 2615, "name": "BinaryOperation", - "src": "56417:94:1" + "src": "58009:94:0" } ], - "id": 3124, + "id": 2616, "name": "TupleExpression", - "src": "56416:96:1" + "src": "58008:96:0" } ], - "id": 3125, + "id": 2617, "name": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ], - "id": 3126, + "id": 2618, "name": "Block", - "src": "56267:252:1" + "src": "57856:256:0" } ], - "id": 3127, + "id": 2619, "name": "FunctionDefinition", - "src": "56168:351:1" + "src": "57757:355:0" }, { "attributes": { @@ -72226,7 +72226,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72236,9 +72236,9 @@ "attributes": { "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3128, + "id": 2620, "name": "StructuredDocumentation", - "src": "56525:320:1" + "src": "58120:329:0" }, { "children": [ @@ -72247,7 +72247,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72260,21 +72260,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3129, + "id": 2621, "name": "ElementaryTypeName", - "src": "56869:7:1" + "src": "58474:7:0" } ], - "id": 3130, + "id": 2622, "name": "VariableDeclaration", - "src": "56869:10:1" + "src": "58474:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72286,19 +72286,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3131, + "id": 2623, "name": "ElementaryTypeName", - "src": "56881:7:1" + "src": "58486:7:0" } ], - "id": 3132, + "id": 2624, "name": "VariableDeclaration", - "src": "56881:15:1" + "src": "58486:15:0" } ], - "id": 3133, + "id": 2625, "name": "ParameterList", - "src": "56868:29:1" + "src": "58473:29:0" }, { "attributes": { @@ -72307,9 +72307,9 @@ ] }, "children": [], - "id": 3134, + "id": 2626, "name": "ParameterList", - "src": "56915:0:1" + "src": "58520:0:0" }, { "children": [ @@ -72347,42 +72347,42 @@ } ], "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, + "referencedDeclaration": 2663, "type": "function (address,uint256,bytes memory)", "value": "_safeMint" }, - "id": 3135, + "id": 2627, "name": "Identifier", - "src": "56925:9:1" + "src": "58531:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3130, + "referencedDeclaration": 2622, "type": "address", "value": "to" }, - "id": 3136, + "id": 2628, "name": "Identifier", - "src": "56935:2:1" + "src": "58541:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3132, + "referencedDeclaration": 2624, "type": "uint256", "value": "tokenId" }, - "id": 3137, + "id": 2629, "name": "Identifier", - "src": "56939:7:1" + "src": "58545:7:0" }, { "attributes": { @@ -72395,29 +72395,29 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3138, + "id": 2630, "name": "Literal", - "src": "56948:2:1" + "src": "58554:2:0" } ], - "id": 3139, + "id": 2631, "name": "FunctionCall", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3140, + "id": 2632, "name": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3141, + "id": 2633, "name": "Block", - "src": "56915:43:1" + "src": "58520:45:0" } ], - "id": 3142, + "id": 2634, "name": "FunctionDefinition", - "src": "56850:108:1" + "src": "58455:110:0" }, { "attributes": { @@ -72428,7 +72428,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72438,9 +72438,9 @@ "attributes": { "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3143, + "id": 2635, "name": "StructuredDocumentation", - "src": "56964:210:1" + "src": "58573:213:0" }, { "children": [ @@ -72449,7 +72449,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72462,21 +72462,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3144, + "id": 2636, "name": "ElementaryTypeName", - "src": "57198:7:1" + "src": "58811:7:0" } ], - "id": 3145, + "id": 2637, "name": "VariableDeclaration", - "src": "57198:10:1" + "src": "58811:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72488,21 +72488,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3146, + "id": 2638, "name": "ElementaryTypeName", - "src": "57210:7:1" + "src": "58823:7:0" } ], - "id": 3147, + "id": 2639, "name": "VariableDeclaration", - "src": "57210:15:1" + "src": "58823:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -72514,19 +72514,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3148, + "id": 2640, "name": "ElementaryTypeName", - "src": "57227:5:1" + "src": "58840:5:0" } ], - "id": 3149, + "id": 2641, "name": "VariableDeclaration", - "src": "57227:18:1" + "src": "58840:18:0" } ], - "id": 3150, + "id": 2642, "name": "ParameterList", - "src": "57197:49:1" + "src": "58810:49:0" }, { "attributes": { @@ -72535,9 +72535,9 @@ ] }, "children": [], - "id": 3151, + "id": 2643, "name": "ParameterList", - "src": "57264:0:1" + "src": "58877:0:0" }, { "children": [ @@ -72573,49 +72573,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3230, + "referencedDeclaration": 2722, "type": "function (address,uint256)", "value": "_mint" }, - "id": 3152, + "id": 2644, "name": "Identifier", - "src": "57274:5:1" + "src": "58888:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3153, + "id": 2645, "name": "Identifier", - "src": "57280:2:1" + "src": "58894:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3154, + "id": 2646, "name": "Identifier", - "src": "57284:7:1" + "src": "58898:7:0" } ], - "id": 3155, + "id": 2647, "name": "FunctionCall", - "src": "57274:18:1" + "src": "58888:18:0" } ], - "id": 3156, + "id": 2648, "name": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "children": [ @@ -72654,9 +72654,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3157, + "id": 2649, "name": "Identifier", - "src": "57302:7:1" + "src": "58917:7:0" }, { "attributes": { @@ -72696,13 +72696,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3158, + "id": 2650, "name": "Identifier", - "src": "57310:22:1" + "src": "58925:22:0" }, { "attributes": { @@ -72738,14 +72738,14 @@ "attributes": { "name": "address" }, - "id": 3159, + "id": 2651, "name": "ElementaryTypeName", - "src": "57333:7:1" + "src": "58948:7:0" } ], - "id": 3160, + "id": 2652, "name": "ElementaryTypeNameExpression", - "src": "57333:7:1" + "src": "58948:7:0" }, { "attributes": { @@ -72758,58 +72758,58 @@ "type": "int_const 0", "value": "0" }, - "id": 3161, + "id": 2653, "name": "Literal", - "src": "57341:1:1" + "src": "58956:1:0" } ], - "id": 3162, + "id": 2654, "name": "FunctionCall", - "src": "57333:10:1" + "src": "58948:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3163, + "id": 2655, "name": "Identifier", - "src": "57345:2:1" + "src": "58960:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3164, + "id": 2656, "name": "Identifier", - "src": "57349:7:1" + "src": "58964:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3149, + "referencedDeclaration": 2641, "type": "bytes memory", "value": "_data" }, - "id": 3165, + "id": 2657, "name": "Identifier", - "src": "57358:5:1" + "src": "58973:5:0" } ], - "id": 3166, + "id": 2658, "name": "FunctionCall", - "src": "57310:54:1" + "src": "58925:54:0" }, { "attributes": { @@ -72822,29 +72822,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3167, + "id": 2659, "name": "Literal", - "src": "57366:52:1" + "src": "58981:52:0" } ], - "id": 3168, + "id": 2660, "name": "FunctionCall", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3169, + "id": 2661, "name": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3170, + "id": 2662, "name": "Block", - "src": "57264:162:1" + "src": "58877:165:0" } ], - "id": 3171, + "id": 2663, "name": "FunctionDefinition", - "src": "57179:247:1" + "src": "58792:250:0" }, { "attributes": { @@ -72855,7 +72855,7 @@ null ], "name": "_mint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72865,9 +72865,9 @@ "attributes": { "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3172, + "id": 2664, "name": "StructuredDocumentation", - "src": "57432:311:1" + "src": "59050:322:0" }, { "children": [ @@ -72876,7 +72876,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72889,21 +72889,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3173, + "id": 2665, "name": "ElementaryTypeName", - "src": "57763:7:1" + "src": "59393:7:0" } ], - "id": 3174, + "id": 2666, "name": "VariableDeclaration", - "src": "57763:10:1" + "src": "59393:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72915,19 +72915,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3175, + "id": 2667, "name": "ElementaryTypeName", - "src": "57775:7:1" + "src": "59405:7:0" } ], - "id": 3176, + "id": 2668, "name": "VariableDeclaration", - "src": "57775:15:1" + "src": "59405:15:0" } ], - "id": 3177, + "id": 2669, "name": "ParameterList", - "src": "57762:29:1" + "src": "59392:29:0" }, { "attributes": { @@ -72936,9 +72936,9 @@ ] }, "children": [], - "id": 3178, + "id": 2670, "name": "ParameterList", - "src": "57809:0:1" + "src": "59439:0:0" }, { "children": [ @@ -72979,9 +72979,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3179, + "id": 2671, "name": "Identifier", - "src": "57819:7:1" + "src": "59450:7:0" }, { "attributes": { @@ -73002,13 +73002,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3180, + "id": 2672, "name": "Identifier", - "src": "57827:2:1" + "src": "59458:2:0" }, { "attributes": { @@ -73044,14 +73044,14 @@ "attributes": { "name": "address" }, - "id": 3181, + "id": 2673, "name": "ElementaryTypeName", - "src": "57833:7:1" + "src": "59464:7:0" } ], - "id": 3182, + "id": 2674, "name": "ElementaryTypeNameExpression", - "src": "57833:7:1" + "src": "59464:7:0" }, { "attributes": { @@ -73064,19 +73064,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3183, + "id": 2675, "name": "Literal", - "src": "57841:1:1" + "src": "59472:1:0" } ], - "id": 3184, + "id": 2676, "name": "FunctionCall", - "src": "57833:10:1" + "src": "59464:10:0" } ], - "id": 3185, + "id": 2677, "name": "BinaryOperation", - "src": "57827:16:1" + "src": "59458:16:0" }, { "attributes": { @@ -73089,19 +73089,19 @@ "type": "literal_string \"ERC721: mint to the zero address\"", "value": "ERC721: mint to the zero address" }, - "id": 3186, + "id": 2678, "name": "Literal", - "src": "57845:34:1" + "src": "59476:34:0" } ], - "id": 3187, + "id": 2679, "name": "FunctionCall", - "src": "57819:61:1" + "src": "59450:61:0" } ], - "id": 3188, + "id": 2680, "name": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "children": [ @@ -73140,9 +73140,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3189, + "id": 2681, "name": "Identifier", - "src": "57890:7:1" + "src": "59522:7:0" }, { "attributes": { @@ -73181,36 +73181,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3190, + "id": 2682, "name": "Identifier", - "src": "57899:7:1" + "src": "59531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3191, + "id": 2683, "name": "Identifier", - "src": "57907:7:1" + "src": "59539:7:0" } ], - "id": 3192, + "id": 2684, "name": "FunctionCall", - "src": "57899:16:1" + "src": "59531:16:0" } ], - "id": 3193, + "id": 2685, "name": "UnaryOperation", - "src": "57898:17:1" + "src": "59530:17:0" }, { "attributes": { @@ -73223,19 +73223,19 @@ "type": "literal_string \"ERC721: token already minted\"", "value": "ERC721: token already minted" }, - "id": 3194, + "id": 2686, "name": "Literal", - "src": "57917:30:1" + "src": "59549:30:0" } ], - "id": 3195, + "id": 2687, "name": "FunctionCall", - "src": "57890:58:1" + "src": "59522:58:0" } ], - "id": 3196, + "id": 2688, "name": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "children": [ @@ -73273,13 +73273,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3197, + "id": 2689, "name": "Identifier", - "src": "57959:20:1" + "src": "59593:20:0" }, { "attributes": { @@ -73315,14 +73315,14 @@ "attributes": { "name": "address" }, - "id": 3198, + "id": 2690, "name": "ElementaryTypeName", - "src": "57980:7:1" + "src": "59614:7:0" } ], - "id": 3199, + "id": 2691, "name": "ElementaryTypeNameExpression", - "src": "57980:7:1" + "src": "59614:7:0" }, { "attributes": { @@ -73335,50 +73335,50 @@ "type": "int_const 0", "value": "0" }, - "id": 3200, + "id": 2692, "name": "Literal", - "src": "57988:1:1" + "src": "59622:1:0" } ], - "id": 3201, + "id": 2693, "name": "FunctionCall", - "src": "57980:10:1" + "src": "59614:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3202, + "id": 2694, "name": "Identifier", - "src": "57992:2:1" + "src": "59626:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3203, + "id": 2695, "name": "Identifier", - "src": "57996:7:1" + "src": "59630:7:0" } ], - "id": 3204, + "id": 2696, "name": "FunctionCall", - "src": "57959:45:1" + "src": "59593:45:0" } ], - "id": 3205, + "id": 2697, "name": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "children": [ @@ -73410,7 +73410,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -73428,59 +73428,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3206, + "id": 2698, "name": "Identifier", - "src": "58015:13:1" + "src": "59651:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3207, + "id": 2699, "name": "Identifier", - "src": "58029:2:1" + "src": "59665:2:0" } ], - "id": 3208, + "id": 2700, "name": "IndexAccess", - "src": "58015:17:1" + "src": "59651:17:0" } ], - "id": 3209, + "id": 2701, "name": "MemberAccess", - "src": "58015:21:1" + "src": "59651:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3210, + "id": 2702, "name": "Identifier", - "src": "58037:7:1" + "src": "59673:7:0" } ], - "id": 3211, + "id": 2703, "name": "FunctionCall", - "src": "58015:30:1" + "src": "59651:30:0" } ], - "id": 3212, + "id": 2704, "name": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "children": [ @@ -73516,7 +73516,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -73525,54 +73525,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3213, + "id": 2705, "name": "Identifier", - "src": "58056:12:1" + "src": "59694:12:0" } ], - "id": 3215, + "id": 2707, "name": "MemberAccess", - "src": "58056:16:1" + "src": "59694:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3216, + "id": 2708, "name": "Identifier", - "src": "58073:7:1" + "src": "59711:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3217, + "id": 2709, "name": "Identifier", - "src": "58082:2:1" + "src": "59720:2:0" } ], - "id": 3218, + "id": 2710, "name": "FunctionCall", - "src": "58056:29:1" + "src": "59694:29:0" } ], - "id": 3219, + "id": 2711, "name": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "children": [ @@ -73610,13 +73610,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3220, + "id": 2712, "name": "Identifier", - "src": "58101:8:1" + "src": "59741:8:0" }, { "attributes": { @@ -73652,14 +73652,14 @@ "attributes": { "name": "address" }, - "id": 3221, + "id": 2713, "name": "ElementaryTypeName", - "src": "58110:7:1" + "src": "59750:7:0" } ], - "id": 3222, + "id": 2714, "name": "ElementaryTypeNameExpression", - "src": "58110:7:1" + "src": "59750:7:0" }, { "attributes": { @@ -73672,60 +73672,60 @@ "type": "int_const 0", "value": "0" }, - "id": 3223, + "id": 2715, "name": "Literal", - "src": "58118:1:1" + "src": "59758:1:0" } ], - "id": 3224, + "id": 2716, "name": "FunctionCall", - "src": "58110:10:1" + "src": "59750:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3225, + "id": 2717, "name": "Identifier", - "src": "58122:2:1" + "src": "59762:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3226, + "id": 2718, "name": "Identifier", - "src": "58126:7:1" + "src": "59766:7:0" } ], - "id": 3227, + "id": 2719, "name": "FunctionCall", - "src": "58101:33:1" + "src": "59741:33:0" } ], - "id": 3228, + "id": 2720, "name": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ], - "id": 3229, + "id": 2721, "name": "Block", - "src": "57809:332:1" + "src": "59439:343:0" } ], - "id": 3230, + "id": 2722, "name": "FunctionDefinition", - "src": "57748:393:1" + "src": "59378:404:0" }, { "attributes": { @@ -73736,7 +73736,7 @@ null ], "name": "_burn", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -73746,9 +73746,9 @@ "attributes": { "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3231, + "id": 2723, "name": "StructuredDocumentation", - "src": "58147:206:1" + "src": "59790:215:0" }, { "children": [ @@ -73757,7 +73757,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3299, + "scope": 2791, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -73769,19 +73769,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3232, + "id": 2724, "name": "ElementaryTypeName", - "src": "58373:7:1" + "src": "60026:7:0" } ], - "id": 3233, + "id": 2725, "name": "VariableDeclaration", - "src": "58373:15:1" + "src": "60026:15:0" } ], - "id": 3234, + "id": 2726, "name": "ParameterList", - "src": "58372:17:1" + "src": "60025:17:0" }, { "attributes": { @@ -73790,16 +73790,16 @@ ] }, "children": [], - "id": 3235, + "id": 2727, "name": "ParameterList", - "src": "58407:0:1" + "src": "60060:0:0" }, { "children": [ { "attributes": { "assignments": [ - 3237 + 2729 ] }, "children": [ @@ -73808,7 +73808,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3298, + "scope": 2790, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -73821,14 +73821,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3236, + "id": 2728, "name": "ElementaryTypeName", - "src": "58417:7:1" + "src": "60071:7:0" } ], - "id": 3237, + "id": 2729, "name": "VariableDeclaration", - "src": "58417:13:1" + "src": "60071:13:0" }, { "attributes": { @@ -73858,7 +73858,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -73867,41 +73867,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3238, + "id": 2730, "name": "Identifier", - "src": "58433:6:1" + "src": "60087:6:0" } ], - "id": 3239, + "id": 2731, "name": "MemberAccess", - "src": "58433:14:1" + "src": "60087:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3240, + "id": 2732, "name": "Identifier", - "src": "58448:7:1" + "src": "60102:7:0" } ], - "id": 3241, + "id": 2733, "name": "FunctionCall", - "src": "58433:23:1" + "src": "60087:23:0" } ], - "id": 3242, + "id": 2734, "name": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "children": [ @@ -73939,26 +73939,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3243, + "id": 2735, "name": "Identifier", - "src": "58485:20:1" + "src": "60141:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3244, + "id": 2736, "name": "Identifier", - "src": "58506:5:1" + "src": "60162:5:0" }, { "attributes": { @@ -73994,14 +73994,14 @@ "attributes": { "name": "address" }, - "id": 3245, + "id": 2737, "name": "ElementaryTypeName", - "src": "58513:7:1" + "src": "60169:7:0" } ], - "id": 3246, + "id": 2738, "name": "ElementaryTypeNameExpression", - "src": "58513:7:1" + "src": "60169:7:0" }, { "attributes": { @@ -74014,37 +74014,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3247, + "id": 2739, "name": "Literal", - "src": "58521:1:1" + "src": "60177:1:0" } ], - "id": 3248, + "id": 2740, "name": "FunctionCall", - "src": "58513:10:1" + "src": "60169:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3249, + "id": 2741, "name": "Identifier", - "src": "58525:7:1" + "src": "60181:7:0" } ], - "id": 3250, + "id": 2742, "name": "FunctionCall", - "src": "58485:48:1" + "src": "60141:48:0" } ], - "id": 3251, + "id": 2743, "name": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "children": [ @@ -74078,13 +74078,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3252, + "id": 2744, "name": "Identifier", - "src": "58571:8:1" + "src": "60230:8:0" }, { "attributes": { @@ -74120,14 +74120,14 @@ "attributes": { "name": "address" }, - "id": 3253, + "id": 2745, "name": "ElementaryTypeName", - "src": "58580:7:1" + "src": "60239:7:0" } ], - "id": 3254, + "id": 2746, "name": "ElementaryTypeNameExpression", - "src": "58580:7:1" + "src": "60239:7:0" }, { "attributes": { @@ -74140,37 +74140,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3255, + "id": 2747, "name": "Literal", - "src": "58588:1:1" + "src": "60247:1:0" } ], - "id": 3256, + "id": 2748, "name": "FunctionCall", - "src": "58580:10:1" + "src": "60239:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3257, + "id": 2749, "name": "Identifier", - "src": "58592:7:1" + "src": "60251:7:0" } ], - "id": 3258, + "id": 2750, "name": "FunctionCall", - "src": "58571:29:1" + "src": "60230:29:0" } ], - "id": 3259, + "id": 2751, "name": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "attributes": {}, @@ -74233,14 +74233,14 @@ "attributes": { "name": "bytes" }, - "id": 3260, + "id": 2752, "name": "ElementaryTypeName", - "src": "58650:5:1" + "src": "60312:5:0" } ], - "id": 3261, + "id": 2753, "name": "ElementaryTypeNameExpression", - "src": "58650:5:1" + "src": "60312:5:0" }, { "attributes": { @@ -74256,41 +74256,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3262, + "id": 2754, "name": "Identifier", - "src": "58656:10:1" + "src": "60318:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3263, + "id": 2755, "name": "Identifier", - "src": "58667:7:1" + "src": "60329:7:0" } ], - "id": 3264, + "id": 2756, "name": "IndexAccess", - "src": "58656:19:1" + "src": "60318:19:0" } ], - "id": 3265, + "id": 2757, "name": "FunctionCall", - "src": "58650:26:1" + "src": "60312:26:0" } ], - "id": 3266, + "id": 2758, "name": "MemberAccess", - "src": "58650:33:1" + "src": "60312:33:0" }, { "attributes": { @@ -74303,14 +74303,14 @@ "type": "int_const 0", "value": "0" }, - "id": 3267, + "id": 2759, "name": "Literal", - "src": "58687:1:1" + "src": "60349:1:0" } ], - "id": 3268, + "id": 2760, "name": "BinaryOperation", - "src": "58650:38:1" + "src": "60312:38:0" }, { "children": [ @@ -74341,51 +74341,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3269, + "id": 2761, "name": "Identifier", - "src": "58711:10:1" + "src": "60374:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3270, + "id": 2762, "name": "Identifier", - "src": "58722:7:1" + "src": "60385:7:0" } ], - "id": 3271, + "id": 2763, "name": "IndexAccess", - "src": "58711:19:1" + "src": "60374:19:0" } ], - "id": 3272, + "id": 2764, "name": "UnaryOperation", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3273, + "id": 2765, "name": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3274, + "id": 2766, "name": "Block", - "src": "58690:51:1" + "src": "60352:53:0" } ], - "id": 3275, + "id": 2767, "name": "IfStatement", - "src": "58646:95:1" + "src": "60308:97:0" }, { "children": [ @@ -74417,7 +74417,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -74435,59 +74435,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3276, + "id": 2768, "name": "Identifier", - "src": "58751:13:1" + "src": "60417:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3277, + "id": 2769, "name": "Identifier", - "src": "58765:5:1" + "src": "60431:5:0" } ], - "id": 3278, + "id": 2770, "name": "IndexAccess", - "src": "58751:20:1" + "src": "60417:20:0" } ], - "id": 3279, + "id": 2771, "name": "MemberAccess", - "src": "58751:27:1" + "src": "60417:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3280, + "id": 2772, "name": "Identifier", - "src": "58779:7:1" + "src": "60445:7:0" } ], - "id": 3281, + "id": 2773, "name": "FunctionCall", - "src": "58751:36:1" + "src": "60417:36:0" } ], - "id": 3282, + "id": 2774, "name": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "children": [ @@ -74519,7 +74519,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 2306, + "referencedDeclaration": 1798, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" }, "children": [ @@ -74528,41 +74528,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3283, + "id": 2775, "name": "Identifier", - "src": "58798:12:1" + "src": "60466:12:0" } ], - "id": 3285, + "id": 2777, "name": "MemberAccess", - "src": "58798:19:1" + "src": "60466:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3286, + "id": 2778, "name": "Identifier", - "src": "58818:7:1" + "src": "60486:7:0" } ], - "id": 3287, + "id": 2779, "name": "FunctionCall", - "src": "58798:28:1" + "src": "60466:28:0" } ], - "id": 3288, + "id": 2780, "name": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "children": [ @@ -74600,26 +74600,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3289, + "id": 2781, "name": "Identifier", - "src": "58842:8:1" + "src": "60512:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3290, + "id": 2782, "name": "Identifier", - "src": "58851:5:1" + "src": "60521:5:0" }, { "attributes": { @@ -74655,14 +74655,14 @@ "attributes": { "name": "address" }, - "id": 3291, + "id": 2783, "name": "ElementaryTypeName", - "src": "58858:7:1" + "src": "60528:7:0" } ], - "id": 3292, + "id": 2784, "name": "ElementaryTypeNameExpression", - "src": "58858:7:1" + "src": "60528:7:0" }, { "attributes": { @@ -74675,47 +74675,47 @@ "type": "int_const 0", "value": "0" }, - "id": 3293, + "id": 2785, "name": "Literal", - "src": "58866:1:1" + "src": "60536:1:0" } ], - "id": 3294, + "id": 2786, "name": "FunctionCall", - "src": "58858:10:1" + "src": "60528:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3295, + "id": 2787, "name": "Identifier", - "src": "58870:7:1" + "src": "60540:7:0" } ], - "id": 3296, + "id": 2788, "name": "FunctionCall", - "src": "58842:36:1" + "src": "60512:36:0" } ], - "id": 3297, + "id": 2789, "name": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ], - "id": 3298, + "id": 2790, "name": "Block", - "src": "58407:478:1" + "src": "60060:496:0" } ], - "id": 3299, + "id": 2791, "name": "FunctionDefinition", - "src": "58358:527:1" + "src": "60011:545:0" }, { "attributes": { @@ -74726,7 +74726,7 @@ null ], "name": "_transfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -74736,9 +74736,9 @@ "attributes": { "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3300, + "id": 2792, "name": "StructuredDocumentation", - "src": "58891:313:1" + "src": "60564:323:0" }, { "children": [ @@ -74747,7 +74747,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74760,21 +74760,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3301, + "id": 2793, "name": "ElementaryTypeName", - "src": "59228:7:1" + "src": "60912:7:0" } ], - "id": 3302, + "id": 2794, "name": "VariableDeclaration", - "src": "59228:12:1" + "src": "60912:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74787,21 +74787,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3303, + "id": 2795, "name": "ElementaryTypeName", - "src": "59242:7:1" + "src": "60926:7:0" } ], - "id": 3304, + "id": 2796, "name": "VariableDeclaration", - "src": "59242:10:1" + "src": "60926:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -74813,19 +74813,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3305, + "id": 2797, "name": "ElementaryTypeName", - "src": "59254:7:1" + "src": "60938:7:0" } ], - "id": 3306, + "id": 2798, "name": "VariableDeclaration", - "src": "59254:15:1" + "src": "60938:15:0" } ], - "id": 3307, + "id": 2799, "name": "ParameterList", - "src": "59227:43:1" + "src": "60911:43:0" }, { "attributes": { @@ -74834,9 +74834,9 @@ ] }, "children": [], - "id": 3308, + "id": 2800, "name": "ParameterList", - "src": "59288:0:1" + "src": "60972:0:0" }, { "children": [ @@ -74877,9 +74877,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3309, + "id": 2801, "name": "Identifier", - "src": "59298:7:1" + "src": "60983:7:0" }, { "attributes": { @@ -74923,7 +74923,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -74932,54 +74932,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3310, + "id": 2802, "name": "Identifier", - "src": "59306:6:1" + "src": "60991:6:0" } ], - "id": 3311, + "id": 2803, "name": "MemberAccess", - "src": "59306:14:1" + "src": "60991:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3312, + "id": 2804, "name": "Identifier", - "src": "59321:7:1" + "src": "61006:7:0" } ], - "id": 3313, + "id": 2805, "name": "FunctionCall", - "src": "59306:23:1" + "src": "60991:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3314, + "id": 2806, "name": "Identifier", - "src": "59333:4:1" + "src": "61018:4:0" } ], - "id": 3315, + "id": 2807, "name": "BinaryOperation", - "src": "59306:31:1" + "src": "60991:31:0" }, { "attributes": { @@ -74992,19 +74992,19 @@ "type": "literal_string \"ERC721: transfer of token that is not own\"", "value": "ERC721: transfer of token that is not own" }, - "id": 3316, + "id": 2808, "name": "Literal", - "src": "59339:43:1" + "src": "61024:43:0" } ], - "id": 3317, + "id": 2809, "name": "FunctionCall", - "src": "59298:85:1" + "src": "60983:85:0" } ], - "id": 3318, + "id": 2810, "name": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "children": [ @@ -75043,9 +75043,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3319, + "id": 2811, "name": "Identifier", - "src": "59411:7:1" + "src": "61097:7:0" }, { "attributes": { @@ -75066,13 +75066,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3320, + "id": 2812, "name": "Identifier", - "src": "59419:2:1" + "src": "61105:2:0" }, { "attributes": { @@ -75108,14 +75108,14 @@ "attributes": { "name": "address" }, - "id": 3321, + "id": 2813, "name": "ElementaryTypeName", - "src": "59425:7:1" + "src": "61111:7:0" } ], - "id": 3322, + "id": 2814, "name": "ElementaryTypeNameExpression", - "src": "59425:7:1" + "src": "61111:7:0" }, { "attributes": { @@ -75128,19 +75128,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3323, + "id": 2815, "name": "Literal", - "src": "59433:1:1" + "src": "61119:1:0" } ], - "id": 3324, + "id": 2816, "name": "FunctionCall", - "src": "59425:10:1" + "src": "61111:10:0" } ], - "id": 3325, + "id": 2817, "name": "BinaryOperation", - "src": "59419:16:1" + "src": "61105:16:0" }, { "attributes": { @@ -75153,19 +75153,19 @@ "type": "literal_string \"ERC721: transfer to the zero address\"", "value": "ERC721: transfer to the zero address" }, - "id": 3326, + "id": 2818, "name": "Literal", - "src": "59437:38:1" + "src": "61123:38:0" } ], - "id": 3327, + "id": 2819, "name": "FunctionCall", - "src": "59411:65:1" + "src": "61097:65:0" } ], - "id": 3328, + "id": 2820, "name": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "children": [ @@ -75203,62 +75203,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3329, + "id": 2821, "name": "Identifier", - "src": "59487:20:1" + "src": "61175:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3330, + "id": 2822, "name": "Identifier", - "src": "59508:4:1" + "src": "61196:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3331, + "id": 2823, "name": "Identifier", - "src": "59514:2:1" + "src": "61202:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3332, + "id": 2824, "name": "Identifier", - "src": "59518:7:1" + "src": "61206:7:0" } ], - "id": 3333, + "id": 2825, "name": "FunctionCall", - "src": "59487:39:1" + "src": "61175:39:0" } ], - "id": 3334, + "id": 2826, "name": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "children": [ @@ -75292,13 +75292,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3335, + "id": 2827, "name": "Identifier", - "src": "59588:8:1" + "src": "61279:8:0" }, { "attributes": { @@ -75334,14 +75334,14 @@ "attributes": { "name": "address" }, - "id": 3336, + "id": 2828, "name": "ElementaryTypeName", - "src": "59597:7:1" + "src": "61288:7:0" } ], - "id": 3337, + "id": 2829, "name": "ElementaryTypeNameExpression", - "src": "59597:7:1" + "src": "61288:7:0" }, { "attributes": { @@ -75354,37 +75354,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3338, + "id": 2830, "name": "Literal", - "src": "59605:1:1" + "src": "61296:1:0" } ], - "id": 3339, + "id": 2831, "name": "FunctionCall", - "src": "59597:10:1" + "src": "61288:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3340, + "id": 2832, "name": "Identifier", - "src": "59609:7:1" + "src": "61300:7:0" } ], - "id": 3341, + "id": 2833, "name": "FunctionCall", - "src": "59588:29:1" + "src": "61279:29:0" } ], - "id": 3342, + "id": 2834, "name": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "children": [ @@ -75416,7 +75416,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75434,59 +75434,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3343, + "id": 2835, "name": "Identifier", - "src": "59628:13:1" + "src": "61321:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3344, + "id": 2836, "name": "Identifier", - "src": "59642:4:1" + "src": "61335:4:0" } ], - "id": 3345, + "id": 2837, "name": "IndexAccess", - "src": "59628:19:1" + "src": "61321:19:0" } ], - "id": 3346, + "id": 2838, "name": "MemberAccess", - "src": "59628:26:1" + "src": "61321:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3347, + "id": 2839, "name": "Identifier", - "src": "59655:7:1" + "src": "61348:7:0" } ], - "id": 3348, + "id": 2840, "name": "FunctionCall", - "src": "59628:35:1" + "src": "61321:35:0" } ], - "id": 3349, + "id": 2841, "name": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "children": [ @@ -75518,7 +75518,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75536,59 +75536,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3350, + "id": 2842, "name": "Identifier", - "src": "59673:13:1" + "src": "61367:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3351, + "id": 2843, "name": "Identifier", - "src": "59687:2:1" + "src": "61381:2:0" } ], - "id": 3352, + "id": 2844, "name": "IndexAccess", - "src": "59673:17:1" + "src": "61367:17:0" } ], - "id": 3353, + "id": 2845, "name": "MemberAccess", - "src": "59673:21:1" + "src": "61367:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3354, + "id": 2846, "name": "Identifier", - "src": "59695:7:1" + "src": "61389:7:0" } ], - "id": 3355, + "id": 2847, "name": "FunctionCall", - "src": "59673:30:1" + "src": "61367:30:0" } ], - "id": 3356, + "id": 2848, "name": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "children": [ @@ -75624,7 +75624,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -75633,54 +75633,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3357, + "id": 2849, "name": "Identifier", - "src": "59714:12:1" + "src": "61410:12:0" } ], - "id": 3359, + "id": 2851, "name": "MemberAccess", - "src": "59714:16:1" + "src": "61410:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3360, + "id": 2852, "name": "Identifier", - "src": "59731:7:1" + "src": "61427:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3361, + "id": 2853, "name": "Identifier", - "src": "59740:2:1" + "src": "61436:2:0" } ], - "id": 3362, + "id": 2854, "name": "FunctionCall", - "src": "59714:29:1" + "src": "61410:29:0" } ], - "id": 3363, + "id": 2855, "name": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "children": [ @@ -75718,72 +75718,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3364, + "id": 2856, "name": "Identifier", - "src": "59759:8:1" + "src": "61457:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3365, + "id": 2857, "name": "Identifier", - "src": "59768:4:1" + "src": "61466:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3366, + "id": 2858, "name": "Identifier", - "src": "59774:2:1" + "src": "61472:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3367, + "id": 2859, "name": "Identifier", - "src": "59778:7:1" + "src": "61476:7:0" } ], - "id": 3368, + "id": 2860, "name": "FunctionCall", - "src": "59759:27:1" + "src": "61457:27:0" } ], - "id": 3369, + "id": 2861, "name": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ], - "id": 3370, + "id": 2862, "name": "Block", - "src": "59288:505:1" + "src": "60972:520:0" } ], - "id": 3371, + "id": 2863, "name": "FunctionDefinition", - "src": "59209:584:1" + "src": "60893:599:0" }, { "attributes": { @@ -75794,7 +75794,7 @@ null ], "name": "_setTokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -75804,9 +75804,9 @@ "attributes": { "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3372, + "id": 2864, "name": "StructuredDocumentation", - "src": "59799:136:1" + "src": "61500:142:0" }, { "children": [ @@ -75815,7 +75815,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -75827,21 +75827,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3373, + "id": 2865, "name": "ElementaryTypeName", - "src": "59962:7:1" + "src": "61670:7:0" } ], - "id": 3374, + "id": 2866, "name": "VariableDeclaration", - "src": "59962:15:1" + "src": "61670:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -75853,19 +75853,19 @@ "name": "string", "type": "string" }, - "id": 3375, + "id": 2867, "name": "ElementaryTypeName", - "src": "59979:6:1" + "src": "61687:6:0" } ], - "id": 3376, + "id": 2868, "name": "VariableDeclaration", - "src": "59979:23:1" + "src": "61687:23:0" } ], - "id": 3377, + "id": 2869, "name": "ParameterList", - "src": "59961:42:1" + "src": "61669:42:0" }, { "attributes": { @@ -75874,9 +75874,9 @@ ] }, "children": [], - "id": 3378, + "id": 2870, "name": "ParameterList", - "src": "60021:0:1" + "src": "61729:0:0" }, { "children": [ @@ -75917,9 +75917,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3379, + "id": 2871, "name": "Identifier", - "src": "60031:7:1" + "src": "61740:7:0" }, { "attributes": { @@ -75947,31 +75947,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3380, + "id": 2872, "name": "Identifier", - "src": "60039:7:1" + "src": "61748:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3381, + "id": 2873, "name": "Identifier", - "src": "60047:7:1" + "src": "61756:7:0" } ], - "id": 3382, + "id": 2874, "name": "FunctionCall", - "src": "60039:16:1" + "src": "61748:16:0" }, { "attributes": { @@ -75984,19 +75984,19 @@ "type": "literal_string \"ERC721Metadata: URI set of nonexistent token\"", "value": "ERC721Metadata: URI set of nonexistent token" }, - "id": 3383, + "id": 2875, "name": "Literal", - "src": "60057:46:1" + "src": "61766:46:0" } ], - "id": 3384, + "id": 2876, "name": "FunctionCall", - "src": "60031:73:1" + "src": "61740:73:0" } ], - "id": 3385, + "id": 2877, "name": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "children": [ @@ -76024,64 +76024,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3386, + "id": 2878, "name": "Identifier", - "src": "60114:10:1" + "src": "61824:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3387, + "id": 2879, "name": "Identifier", - "src": "60125:7:1" + "src": "61835:7:0" } ], - "id": 3388, + "id": 2880, "name": "IndexAccess", - "src": "60114:19:1" + "src": "61824:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3376, + "referencedDeclaration": 2868, "type": "string memory", "value": "_tokenURI" }, - "id": 3389, + "id": 2881, "name": "Identifier", - "src": "60136:9:1" + "src": "61846:9:0" } ], - "id": 3390, + "id": 2882, "name": "Assignment", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3391, + "id": 2883, "name": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3392, + "id": 2884, "name": "Block", - "src": "60021:131:1" + "src": "61729:134:0" } ], - "id": 3393, + "id": 2885, "name": "FunctionDefinition", - "src": "59940:212:1" + "src": "61648:215:0" }, { "attributes": { @@ -76092,7 +76092,7 @@ null ], "name": "_setBaseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -76102,9 +76102,9 @@ "attributes": { "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3394, + "id": 2886, "name": "StructuredDocumentation", - "src": "60158:212:1" + "src": "61871:216:0" }, { "children": [ @@ -76113,7 +76113,7 @@ "constant": false, "mutability": "mutable", "name": "baseURI_", - "scope": 3404, + "scope": 2896, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -76125,19 +76125,19 @@ "name": "string", "type": "string" }, - "id": 3395, + "id": 2887, "name": "ElementaryTypeName", - "src": "60396:6:1" + "src": "62114:6:0" } ], - "id": 3396, + "id": 2888, "name": "VariableDeclaration", - "src": "60396:22:1" + "src": "62114:22:0" } ], - "id": 3397, + "id": 2889, "name": "ParameterList", - "src": "60395:24:1" + "src": "62113:24:0" }, { "attributes": { @@ -76146,9 +76146,9 @@ ] }, "children": [], - "id": 3398, + "id": 2890, "name": "ParameterList", - "src": "60437:0:1" + "src": "62155:0:0" }, { "children": [ @@ -76169,46 +76169,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 3399, + "id": 2891, "name": "Identifier", - "src": "60447:8:1" + "src": "62166:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3396, + "referencedDeclaration": 2888, "type": "string memory", "value": "baseURI_" }, - "id": 3400, + "id": 2892, "name": "Identifier", - "src": "60458:8:1" + "src": "62177:8:0" } ], - "id": 3401, + "id": 2893, "name": "Assignment", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3402, + "id": 2894, "name": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3403, + "id": 2895, "name": "Block", - "src": "60437:36:1" + "src": "62155:38:0" } ], - "id": 3404, + "id": 2896, "name": "FunctionDefinition", - "src": "60375:98:1" + "src": "62093:100:0" }, { "attributes": { @@ -76219,7 +76219,7 @@ null ], "name": "_checkOnERC721Received", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -76229,9 +76229,9 @@ "attributes": { "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3405, + "id": 2897, "name": "StructuredDocumentation", - "src": "60479:542:1" + "src": "62201:551:0" }, { "children": [ @@ -76240,7 +76240,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76253,21 +76253,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3406, + "id": 2898, "name": "ElementaryTypeName", - "src": "61058:7:1" + "src": "62790:7:0" } ], - "id": 3407, + "id": 2899, "name": "VariableDeclaration", - "src": "61058:12:1" + "src": "62790:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76280,21 +76280,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3408, + "id": 2900, "name": "ElementaryTypeName", - "src": "61072:7:1" + "src": "62804:7:0" } ], - "id": 3409, + "id": 2901, "name": "VariableDeclaration", - "src": "61072:10:1" + "src": "62804:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -76306,21 +76306,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3410, + "id": 2902, "name": "ElementaryTypeName", - "src": "61084:7:1" + "src": "62816:7:0" } ], - "id": 3411, + "id": 2903, "name": "VariableDeclaration", - "src": "61084:15:1" + "src": "62816:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76332,19 +76332,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3412, + "id": 2904, "name": "ElementaryTypeName", - "src": "61101:5:1" + "src": "62833:5:0" } ], - "id": 3413, + "id": 2905, "name": "VariableDeclaration", - "src": "61101:18:1" + "src": "62833:18:0" } ], - "id": 3414, + "id": 2906, "name": "ParameterList", - "src": "61057:63:1" + "src": "62789:63:0" }, { "children": [ @@ -76353,7 +76353,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -76365,19 +76365,19 @@ "name": "bool", "type": "bool" }, - "id": 3415, + "id": 2907, "name": "ElementaryTypeName", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3416, + "id": 2908, "name": "VariableDeclaration", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3417, + "id": 2909, "name": "ParameterList", - "src": "61145:6:1" + "src": "62878:6:0" }, { "children": [ @@ -76423,7 +76423,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isContract", - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)" }, "children": [ @@ -76432,34 +76432,34 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3418, + "id": 2910, "name": "Identifier", - "src": "61171:2:1" + "src": "62906:2:0" } ], - "id": 3419, + "id": 2911, "name": "MemberAccess", - "src": "61171:13:1" + "src": "62906:13:0" } ], - "id": 3420, + "id": 2912, "name": "FunctionCall", - "src": "61171:15:1" + "src": "62906:15:0" } ], - "id": 3421, + "id": 2913, "name": "UnaryOperation", - "src": "61170:16:1" + "src": "62905:16:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -76473,29 +76473,29 @@ "type": "bool", "value": "true" }, - "id": 3422, + "id": 2914, "name": "Literal", - "src": "61209:4:1" + "src": "62945:4:0" } ], - "id": 3423, + "id": 2915, "name": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ], - "id": 3424, + "id": 2916, "name": "Block", - "src": "61188:36:1" + "src": "62923:38:0" } ], - "id": 3425, + "id": 2917, "name": "IfStatement", - "src": "61166:58:1" + "src": "62901:60:0" }, { "attributes": { "assignments": [ - 3427 + 2919 ] }, "children": [ @@ -76504,7 +76504,7 @@ "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76516,14 +76516,14 @@ "name": "bytes", "type": "bytes" }, - "id": 3426, + "id": 2918, "name": "ElementaryTypeName", - "src": "61233:5:1" + "src": "62971:5:0" } ], - "id": 3427, + "id": 2919, "name": "VariableDeclaration", - "src": "61233:23:1" + "src": "62971:23:0" }, { "attributes": { @@ -76557,7 +76557,7 @@ "isPure": false, "lValueRequested": false, "member_name": "functionCall", - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)" }, "children": [ @@ -76566,18 +76566,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3428, + "id": 2920, "name": "Identifier", - "src": "61259:2:1" + "src": "62997:2:0" } ], - "id": 3429, + "id": 2921, "name": "MemberAccess", - "src": "61259:15:1" + "src": "62997:15:0" }, { "attributes": { @@ -76635,14 +76635,14 @@ "type": "abi", "value": "abi" }, - "id": 3430, + "id": 2922, "name": "Identifier", - "src": "61275:3:1" + "src": "63013:3:0" } ], - "id": 3431, + "id": 2923, "name": "MemberAccess", - "src": "61275:22:1" + "src": "63013:22:0" }, { "attributes": { @@ -76661,7 +76661,7 @@ "isPure": false, "lValueRequested": false, "member_name": "onERC721Received", - "referencedDeclaration": 725, + "referencedDeclaration": 217, "type": "function (address,address,uint256,bytes memory) external returns (bytes4)" }, "children": [ @@ -76691,41 +76691,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 726, + "referencedDeclaration": 218, "type": "type(contract IERC721Receiver)", "value": "IERC721Receiver" }, - "id": 3432, + "id": 2924, "name": "Identifier", - "src": "61311:15:1" + "src": "63050:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3433, + "id": 2925, "name": "Identifier", - "src": "61327:2:1" + "src": "63066:2:0" } ], - "id": 3434, + "id": 2926, "name": "FunctionCall", - "src": "61311:19:1" + "src": "63050:19:0" } ], - "id": 3435, + "id": 2927, "name": "MemberAccess", - "src": "61311:36:1" + "src": "63050:36:0" } ], - "id": 3436, + "id": 2928, "name": "MemberAccess", - "src": "61311:45:1" + "src": "63050:45:0" }, { "attributes": { @@ -76753,62 +76753,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3437, + "id": 2929, "name": "Identifier", - "src": "61370:10:1" + "src": "63110:10:0" } ], - "id": 3438, + "id": 2930, "name": "FunctionCall", - "src": "61370:12:1" + "src": "63110:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3407, + "referencedDeclaration": 2899, "type": "address", "value": "from" }, - "id": 3439, + "id": 2931, "name": "Identifier", - "src": "61396:4:1" + "src": "63137:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3411, + "referencedDeclaration": 2903, "type": "uint256", "value": "tokenId" }, - "id": 3440, + "id": 2932, "name": "Identifier", - "src": "61414:7:1" + "src": "63156:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3413, + "referencedDeclaration": 2905, "type": "bytes memory", "value": "_data" }, - "id": 3441, + "id": 2933, "name": "Identifier", - "src": "61435:5:1" + "src": "63178:5:0" } ], - "id": 3442, + "id": 2934, "name": "FunctionCall", - "src": "61275:175:1" + "src": "63013:181:0" }, { "attributes": { @@ -76821,24 +76821,24 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3443, + "id": 2935, "name": "Literal", - "src": "61452:52:1" + "src": "63196:52:0" } ], - "id": 3444, + "id": 2936, "name": "FunctionCall", - "src": "61259:246:1" + "src": "62997:252:0" } ], - "id": 3445, + "id": 2937, "name": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "attributes": { "assignments": [ - 3447 + 2939 ] }, "children": [ @@ -76847,7 +76847,7 @@ "constant": false, "mutability": "mutable", "name": "retval", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -76859,14 +76859,14 @@ "name": "bytes4", "type": "bytes4" }, - "id": 3446, + "id": 2938, "name": "ElementaryTypeName", - "src": "61515:6:1" + "src": "63260:6:0" } ], - "id": 3447, + "id": 2939, "name": "VariableDeclaration", - "src": "61515:13:1" + "src": "63260:13:0" }, { "attributes": { @@ -76912,27 +76912,27 @@ "type": "abi", "value": "abi" }, - "id": 3448, + "id": 2940, "name": "Identifier", - "src": "61531:3:1" + "src": "63276:3:0" } ], - "id": 3449, + "id": 2941, "name": "MemberAccess", - "src": "61531:10:1" + "src": "63276:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3427, + "referencedDeclaration": 2919, "type": "bytes memory", "value": "returndata" }, - "id": 3450, + "id": 2942, "name": "Identifier", - "src": "61542:10:1" + "src": "63287:10:0" }, { "attributes": { @@ -76957,33 +76957,33 @@ "attributes": { "name": "bytes4" }, - "id": 3451, + "id": 2943, "name": "ElementaryTypeName", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3452, + "id": 2944, "name": "ElementaryTypeNameExpression", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3453, + "id": 2945, "name": "TupleExpression", - "src": "61554:8:1" + "src": "63299:8:0" } ], - "id": 3454, + "id": 2946, "name": "FunctionCall", - "src": "61531:32:1" + "src": "63276:32:0" } ], - "id": 3455, + "id": 2947, "name": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -77015,51 +77015,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3447, + "referencedDeclaration": 2939, "type": "bytes4", "value": "retval" }, - "id": 3456, + "id": 2948, "name": "Identifier", - "src": "61581:6:1" + "src": "63327:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2596, + "referencedDeclaration": 2088, "type": "bytes4", "value": "_ERC721_RECEIVED" }, - "id": 3457, + "id": 2949, "name": "Identifier", - "src": "61591:16:1" + "src": "63337:16:0" } ], - "id": 3458, + "id": 2950, "name": "BinaryOperation", - "src": "61581:26:1" + "src": "63327:26:0" } ], - "id": 3459, + "id": 2951, "name": "TupleExpression", - "src": "61580:28:1" + "src": "63326:28:0" } ], - "id": 3460, + "id": 2952, "name": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ], - "id": 3461, + "id": 2953, "name": "Block", - "src": "61156:459:1" + "src": "62890:472:0" } ], - "id": 3462, + "id": 2954, "name": "FunctionDefinition", - "src": "61026:589:1" + "src": "62758:604:0" }, { "attributes": { @@ -77070,7 +77070,7 @@ null ], "name": "_approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77080,9 +77080,9 @@ "attributes": { "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3463, + "id": 2955, "name": "StructuredDocumentation", - "src": "61621:101:1" + "src": "63370:105:0" }, { "children": [ @@ -77091,7 +77091,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77104,21 +77104,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3464, + "id": 2956, "name": "ElementaryTypeName", - "src": "61745:7:1" + "src": "63499:7:0" } ], - "id": 3465, + "id": 2957, "name": "VariableDeclaration", - "src": "61745:10:1" + "src": "63499:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77130,19 +77130,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3466, + "id": 2958, "name": "ElementaryTypeName", - "src": "61757:7:1" + "src": "63511:7:0" } ], - "id": 3467, + "id": 2959, "name": "VariableDeclaration", - "src": "61757:15:1" + "src": "63511:15:0" } ], - "id": 3468, + "id": 2960, "name": "ParameterList", - "src": "61744:29:1" + "src": "63498:29:0" }, { "attributes": { @@ -77151,9 +77151,9 @@ ] }, "children": [], - "id": 3469, + "id": 2961, "name": "ParameterList", - "src": "61791:0:1" + "src": "63545:0:0" }, { "children": [ @@ -77183,54 +77183,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 3470, + "id": 2962, "name": "Identifier", - "src": "61801:15:1" + "src": "63556:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3471, + "id": 2963, "name": "Identifier", - "src": "61817:7:1" + "src": "63572:7:0" } ], - "id": 3472, + "id": 2964, "name": "IndexAccess", - "src": "61801:24:1" + "src": "63556:24:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3473, + "id": 2965, "name": "Identifier", - "src": "61828:2:1" + "src": "63583:2:0" } ], - "id": 3474, + "id": 2966, "name": "Assignment", - "src": "61801:29:1" + "src": "63556:29:0" } ], - "id": 3475, + "id": 2967, "name": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "children": [ @@ -77268,13 +77268,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 563, + "referencedDeclaration": 55, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 3476, + "id": 2968, "name": "Identifier", - "src": "61845:8:1" + "src": "63601:8:0" }, { "attributes": { @@ -77304,7 +77304,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -77313,82 +77313,82 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3477, + "id": 2969, "name": "Identifier", - "src": "61854:6:1" + "src": "63610:6:0" } ], - "id": 3478, + "id": 2970, "name": "MemberAccess", - "src": "61854:14:1" + "src": "63610:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3479, + "id": 2971, "name": "Identifier", - "src": "61869:7:1" + "src": "63625:7:0" } ], - "id": 3480, + "id": 2972, "name": "FunctionCall", - "src": "61854:23:1" + "src": "63610:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3481, + "id": 2973, "name": "Identifier", - "src": "61879:2:1" + "src": "63635:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3482, + "id": 2974, "name": "Identifier", - "src": "61883:7:1" + "src": "63639:7:0" } ], - "id": 3483, + "id": 2975, "name": "FunctionCall", - "src": "61845:46:1" + "src": "63601:46:0" } ], - "id": 3484, + "id": 2976, "name": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ], - "id": 3485, + "id": 2977, "name": "Block", - "src": "61791:125:1" + "src": "63545:128:0" } ], - "id": 3486, + "id": 2978, "name": "FunctionDefinition", - "src": "61727:189:1" + "src": "63481:192:0" }, { "attributes": { @@ -77399,7 +77399,7 @@ null ], "name": "_beforeTokenTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77409,9 +77409,9 @@ "attributes": { "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3487, + "id": 2979, "name": "StructuredDocumentation", - "src": "61922:585:1" + "src": "63681:599:0" }, { "children": [ @@ -77420,7 +77420,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77433,21 +77433,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3488, + "id": 2980, "name": "ElementaryTypeName", - "src": "62542:7:1" + "src": "64316:7:0" } ], - "id": 3489, + "id": 2981, "name": "VariableDeclaration", - "src": "62542:12:1" + "src": "64316:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77460,21 +77460,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3490, + "id": 2982, "name": "ElementaryTypeName", - "src": "62556:7:1" + "src": "64330:7:0" } ], - "id": 3491, + "id": 2983, "name": "VariableDeclaration", - "src": "62556:10:1" + "src": "64330:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77486,19 +77486,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3492, + "id": 2984, "name": "ElementaryTypeName", - "src": "62568:7:1" + "src": "64342:7:0" } ], - "id": 3493, + "id": 2985, "name": "VariableDeclaration", - "src": "62568:15:1" + "src": "64342:15:0" } ], - "id": 3494, + "id": 2986, "name": "ParameterList", - "src": "62541:43:1" + "src": "64315:43:0" }, { "attributes": { @@ -77507,9 +77507,9 @@ ] }, "children": [], - "id": 3495, + "id": 2987, "name": "ParameterList", - "src": "62602:0:1" + "src": "64376:0:0" }, { "attributes": { @@ -77518,32 +77518,32 @@ ] }, "children": [], - "id": 3496, + "id": 2988, "name": "Block", - "src": "62602:3:1" + "src": "64376:3:0" } ], - "id": 3497, + "id": 2989, "name": "FunctionDefinition", - "src": "62512:93:1" + "src": "64286:93:0" } ], - "id": 3498, + "id": 2990, "name": "ContractDefinition", - "src": "46080:16527:1" + "src": "47398:16984:0" } ], - "id": 3499, + "id": 2991, "name": "SourceUnit", - "src": "84:62524:1" + "src": "87:64297:0" }, "compiler": { "name": "solc", "version": "0.7.6+commit.7338295f.Emscripten.clang" }, "networks": {}, - "schemaVersion": "3.3.4", - "updatedAt": "2021-03-13T11:18:07.589Z", + "schemaVersion": "3.4.3", + "updatedAt": "2021-10-13T09:55:47.248Z", "devdoc": { "details": "Library for managing https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive types. Sets have the following properties: - Elements are added, removed, and checked for existence in constant time (O(1)). - Elements are enumerated in O(n). No guarantees are made on the ordering. ``` contract Example { // Add the library methods using EnumerableSet for EnumerableSet.AddressSet; // Declare a set state variable EnumerableSet.AddressSet private mySet; } ``` As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) and `uint256` (`UintSet`) are supported.", "kind": "dev", diff --git a/src/abis/IERC165.json b/src/abis/IERC165.json index 583acf7..74a6c69 100644 --- a/src/abis/IERC165.json +++ b/src/abis/IERC165.json @@ -21,7 +21,7 @@ "type": "function" } ], - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[EIP]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.\",\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":\"IERC165\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":{\"keccak256\":\"0xac9220652f9879c5fb3116025d59e8fbf6c2c3d149aed9f617b88edd31402044\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://48de100723de94a6590c6db5bae5098a93445194389c3f3eeb104c7239ef3044\",\"dweb:/ipfs/QmVHLEtfLqBqX7XQRHfLuuwtufRBFJFHfgY4zbFRpaZwXC\"]}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface of the ERC165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[EIP]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.\",\"kind\":\"dev\",\"methods\":{\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/src/contracts/ERC721.sol\":\"IERC165\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/src/contracts/ERC721.sol\":{\"keccak256\":\"0xbbf5d35e3785428d14b29cf40a6a1f82d9275af46f6f80ec5f330615911aa767\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e5479e3deda288fc9c642c0449113673031cb9834a3507621d5bd7e292969e16\",\"dweb:/ipfs/QmcKjBg55emL46LCBPRw1Y79fz3aGiMiQXFeWcDpJisEgJ\"]}},\"version\":1}", "bytecode": "0x", "deployedBytecode": "0x", "immutableReferences": {}, @@ -29,57 +29,57 @@ "deployedGeneratedSources": [], "sourceMap": "", "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: MIT\n\n// File: @openzeppelin/contracts/utils/Context.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/*\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with GSN meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n function _msgSender() internal view virtual returns (address payable) {\n return msg.sender;\n }\n\n function _msgData() internal view virtual returns (bytes memory) {\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\n return msg.data;\n }\n}\n\n// File: @openzeppelin/contracts/introspection/IERC165.sol\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n /**\n * @dev Returns true if this contract implements the interface defined by\n * `interfaceId`. See the corresponding\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n * to learn more about how these ids are created.\n *\n * This function call must use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n /**\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n */\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n */\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n */\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n /**\n * @dev Returns the number of tokens in ``owner``'s account.\n */\n function balanceOf(address owner) external view returns (uint256 balance);\n\n /**\n * @dev Returns the owner of the `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function ownerOf(uint256 tokenId) external view returns (address owner);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Transfers `tokenId` token from `from` to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n * The approval is cleared when the token is transferred.\n *\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n *\n * Requirements:\n *\n * - The caller must own the token or be an approved operator.\n * - `tokenId` must exist.\n *\n * Emits an {Approval} event.\n */\n function approve(address to, uint256 tokenId) external;\n\n /**\n * @dev Returns the account approved for `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function getApproved(uint256 tokenId) external view returns (address operator);\n\n /**\n * @dev Approve or remove `operator` as an operator for the caller.\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n *\n * Requirements:\n *\n * - The `operator` cannot be the caller.\n *\n * Emits an {ApprovalForAll} event.\n */\n function setApprovalForAll(address operator, bool _approved) external;\n\n /**\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n *\n * See {setApprovalForAll}\n */\n function isApprovedForAll(address owner, address operator) external view returns (bool);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n\n /**\n * @dev Returns the token collection name.\n */\n function name() external view returns (string memory);\n\n /**\n * @dev Returns the token collection symbol.\n */\n function symbol() external view returns (string memory);\n\n /**\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n */\n function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\n\n\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Enumerable is IERC721 {\n\n /**\n * @dev Returns the total amount of tokens stored by the contract.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\n\n /**\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n * Use along with {totalSupply} to enumerate all tokens.\n */\n function tokenByIndex(uint256 index) external view returns (uint256);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\n\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC721 asset contracts.\n */\ninterface IERC721Receiver {\n /**\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n * by `operator` from `from`, this function is called.\n *\n * It must return its Solidity selector to confirm the token transfer.\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n *\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\n */\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\n}\n\n// File: @openzeppelin/contracts/introspection/ERC165.sol\npragma solidity >=0.6.0 <0.8.0;\n\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts may inherit from this and call {_registerInterface} to declare\n * their support of an interface.\n */\nabstract contract ERC165 is IERC165 {\n /*\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\n */\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\n\n /**\n * @dev Mapping of interface ids to whether or not it's supported.\n */\n mapping(bytes4 => bool) private _supportedInterfaces;\n\n constructor () {\n // Derived contracts need only register support for their own interfaces,\n // we register support for ERC165 itself here\n _registerInterface(_INTERFACE_ID_ERC165);\n }\n\n /**\n * @dev See {IERC165-supportsInterface}.\n *\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n return _supportedInterfaces[interfaceId];\n }\n\n /**\n * @dev Registers the contract as an implementer of the interface defined by\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\n * registering its interface id is not required.\n *\n * See {IERC165-supportsInterface}.\n *\n * Requirements:\n *\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\n */\n function _registerInterface(bytes4 interfaceId) internal virtual {\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\n _supportedInterfaces[interfaceId] = true;\n }\n}\n\n// File: @openzeppelin/contracts/math/SafeMath.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\n * checks.\n *\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\n * in bugs, because programmers usually assume that an overflow raises an\n * error, which is the standard behavior in high level programming languages.\n * `SafeMath` restores this intuition by reverting the transaction when an\n * operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeMath {\n /**\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n uint256 c = a + b;\n if (c < a) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b > a) return (false, 0);\n return (true, a - b);\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n // benefit is lost if 'b' is also tested.\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n if (a == 0) return (true, 0);\n uint256 c = a * b;\n if (c / a != b) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a / b);\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a % b);\n }\n\n /**\n * @dev Returns the addition of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `+` operator.\n *\n * Requirements:\n *\n * - Addition cannot overflow.\n */\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a + b;\n require(c >= a, \"SafeMath: addition overflow\");\n return c;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting on\n * overflow (when the result is negative).\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b <= a, \"SafeMath: subtraction overflow\");\n return a - b;\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `*` operator.\n *\n * Requirements:\n *\n * - Multiplication cannot overflow.\n */\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) return 0;\n uint256 c = a * b;\n require(c / a == b, \"SafeMath: multiplication overflow\");\n return c;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting on\n * division by zero. The result is rounded towards zero.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: division by zero\");\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting when dividing by zero.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: modulo by zero\");\n return a % b;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n * overflow (when the result is negative).\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {trySub}.\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b <= a, errorMessage);\n return a - b;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\n * division by zero. The result is rounded towards zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryDiv}.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting with custom message when dividing by zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryMod}.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a % b;\n }\n}\n\n// File: @openzeppelin/contracts/utils/Address.sol\npragma solidity >=0.6.2 <0.8.0;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n /**\n * @dev Returns true if `account` is a contract.\n *\n * [IMPORTANT]\n * ====\n * It is unsafe to assume that an address for which this function returns\n * false is an externally-owned account (EOA) and not a contract.\n *\n * Among others, `isContract` will return false for the following\n * types of addresses:\n *\n * - an externally-owned account\n * - a contract in construction\n * - an address where a contract will be created\n * - an address where a contract lived, but was destroyed\n * ====\n */\n function isContract(address account) internal view returns (bool) {\n // This method relies on extcodesize, which returns 0 for contracts in\n // construction, since the code is only stored at the end of the\n // constructor execution.\n\n uint256 size;\n // solhint-disable-next-line no-inline-assembly\n assembly { size := extcodesize(account) }\n return size > 0;\n }\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\n (bool success, ) = recipient.call{ value: amount }(\"\");\n require(success, \"Address: unable to send value, recipient may have reverted\");\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain`call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason, it is bubbled up by this\n * function (like regular Solidity function calls).\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCall(target, data, \"Address: low-level call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n * `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n * with `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\n require(isContract(target), \"Address: call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\n require(isContract(target), \"Address: static call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.staticcall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n require(isContract(target), \"Address: delegate call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.delegatecall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\n if (success) {\n return returndata;\n } else {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n\n // solhint-disable-next-line no-inline-assembly\n assembly {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert(errorMessage);\n }\n }\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n * types.\n *\n * Sets have the following properties:\n *\n * - Elements are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableSet for EnumerableSet.AddressSet;\n *\n * // Declare a set state variable\n * EnumerableSet.AddressSet private mySet;\n * }\n * ```\n *\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n * and `uint256` (`UintSet`) are supported.\n */\nlibrary EnumerableSet {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Set type with\n // bytes32 values.\n // The Set implementation uses private functions, and user-facing\n // implementations (such as AddressSet) are just wrappers around the\n // underlying Set.\n // This means that we can only create new EnumerableSets for types that fit\n // in bytes32.\n\n struct Set {\n // Storage of set values\n bytes32[] _values;\n\n // Position of the value in the `values` array, plus 1 because index 0\n // means a value is not in the set.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function _add(Set storage set, bytes32 value) private returns (bool) {\n if (!_contains(set, value)) {\n set._values.push(value);\n // The value is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n set._indexes[value] = set._values.length;\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function _remove(Set storage set, bytes32 value) private returns (bool) {\n // We read and store the value's index to prevent multiple reads from the same storage slot\n uint256 valueIndex = set._indexes[value];\n\n if (valueIndex != 0) { // Equivalent to contains(set, value)\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\n // the array, and then remove the last element (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = valueIndex - 1;\n uint256 lastIndex = set._values.length - 1;\n\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n bytes32 lastvalue = set._values[lastIndex];\n\n // Move the last value to the index where the value to delete is\n set._values[toDeleteIndex] = lastvalue;\n // Update the index for the moved value\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved value was stored\n set._values.pop();\n\n // Delete the index for the deleted slot\n delete set._indexes[value];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\n return set._indexes[value] != 0;\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function _length(Set storage set) private view returns (uint256) {\n return set._values.length;\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\n return set._values[index];\n }\n\n // Bytes32Set\n\n struct Bytes32Set {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _add(set._inner, value);\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _remove(set._inner, value);\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\n return _contains(set._inner, value);\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(Bytes32Set storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\n return _at(set._inner, index);\n }\n\n // AddressSet\n\n struct AddressSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(AddressSet storage set, address value) internal returns (bool) {\n return _add(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(AddressSet storage set, address value) internal returns (bool) {\n return _remove(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(AddressSet storage set, address value) internal view returns (bool) {\n return _contains(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(AddressSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\n return address(uint160(uint256(_at(set._inner, index))));\n }\n\n\n // UintSet\n\n struct UintSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(UintSet storage set, uint256 value) internal returns (bool) {\n return _add(set._inner, bytes32(value));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\n return _remove(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\n return _contains(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function length(UintSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\n return uint256(_at(set._inner, index));\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing an enumerable variant of Solidity's\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n * type.\n *\n * Maps have the following properties:\n *\n * - Entries are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\n *\n * // Declare a set state variable\n * EnumerableMap.UintToAddressMap private myMap;\n * }\n * ```\n *\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n * supported.\n */\nlibrary EnumerableMap {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Map type with\n // bytes32 keys and values.\n // The Map implementation uses private functions, and user-facing\n // implementations (such as Uint256ToAddressMap) are just wrappers around\n // the underlying Map.\n // This means that we can only create new EnumerableMaps for types that fit\n // in bytes32.\n\n struct MapEntry {\n bytes32 _key;\n bytes32 _value;\n }\n\n struct Map {\n // Storage of map keys and values\n MapEntry[] _entries;\n\n // Position of the entry defined by a key in the `entries` array, plus 1\n // because index 0 means a key is not in the map.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\n map._entries.push(MapEntry({ _key: key, _value: value }));\n // The entry is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n map._indexes[key] = map._entries.length;\n return true;\n } else {\n map._entries[keyIndex - 1]._value = value;\n return false;\n }\n }\n\n /**\n * @dev Removes a key-value pair from a map. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function _remove(Map storage map, bytes32 key) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex != 0) { // Equivalent to contains(map, key)\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = keyIndex - 1;\n uint256 lastIndex = map._entries.length - 1;\n\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n MapEntry storage lastEntry = map._entries[lastIndex];\n\n // Move the last entry to the index where the entry to delete is\n map._entries[toDeleteIndex] = lastEntry;\n // Update the index for the moved entry\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved entry was stored\n map._entries.pop();\n\n // Delete the index for the deleted slot\n delete map._indexes[key];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\n return map._indexes[key] != 0;\n }\n\n /**\n * @dev Returns the number of key-value pairs in the map. O(1).\n */\n function _length(Map storage map) private view returns (uint256) {\n return map._entries.length;\n }\n\n /**\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\n *\n * Note that there are no guarantees on the ordering of entries inside the\n * array, and it may change when more entries are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\n\n MapEntry storage entry = map._entries[index];\n return (entry._key, entry._value);\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n */\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\n uint256 keyIndex = map._indexes[key];\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n /**\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {_tryGet}.\n */\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n // UintToAddressMap\n\n struct UintToAddressMap {\n Map _inner;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\n return _remove(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\n return _contains(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns the number of elements in the map. O(1).\n */\n function length(UintToAddressMap storage map) internal view returns (uint256) {\n return _length(map._inner);\n }\n\n /**\n * @dev Returns the element stored at position `index` in the set. O(1).\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\n (bytes32 key, bytes32 value) = _at(map._inner, index);\n return (uint256(key), address(uint160(uint256(value))));\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n *\n * _Available since v3.4._\n */\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\n return (success, address(uint160(uint256(value))));\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\n }\n\n /**\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryGet}.\n */\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\n }\n}\n\n// File: @openzeppelin/contracts/utils/Strings.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n /**\n * @dev Converts a `uint256` to its ASCII `string` representation.\n */\n function toString(uint256 value) internal pure returns (string memory) {\n // Inspired by OraclizeAPI's implementation - MIT licence\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\n\n if (value == 0) {\n return \"0\";\n }\n uint256 temp = value;\n uint256 digits;\n while (temp != 0) {\n digits++;\n temp /= 10;\n }\n bytes memory buffer = new bytes(digits);\n uint256 index = digits - 1;\n temp = value;\n while (temp != 0) {\n buffer[index--] = bytes1(uint8(48 + temp % 10));\n temp /= 10;\n }\n return string(buffer);\n }\n}\n\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 Non-Fungible Token Standard basic implementation\n * @dev see https://eips.ethereum.org/EIPS/eip-721\n */\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\n using SafeMath for uint256;\n using Address for address;\n using EnumerableSet for EnumerableSet.UintSet;\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n using Strings for uint256;\n\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\n\n // Mapping from holder address to their (enumerable) set of owned tokens\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\n\n // Enumerable mapping from token ids to their owners\n EnumerableMap.UintToAddressMap private _tokenOwners;\n\n // Mapping from token ID to approved address\n mapping (uint256 => address) private _tokenApprovals;\n\n // Mapping from owner to operator approvals\n mapping (address => mapping (address => bool)) private _operatorApprovals;\n\n // Token name\n string private _name;\n\n // Token symbol\n string private _symbol;\n\n // Optional mapping for token URIs\n mapping (uint256 => string) private _tokenURIs;\n\n // Base URI\n string private _baseURI;\n\n /*\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\n *\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\n */\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\n\n /*\n * bytes4(keccak256('name()')) == 0x06fdde03\n * bytes4(keccak256('symbol()')) == 0x95d89b41\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\n *\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\n */\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\n\n /*\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\n *\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\n */\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\n\n /**\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\n */\n constructor (string memory name_, string memory symbol_) {\n _name = name_;\n _symbol = symbol_;\n\n // register the supported interfaces to conform to ERC721 via ERC165\n _registerInterface(_INTERFACE_ID_ERC721);\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\n }\n\n /**\n * @dev See {IERC721-balanceOf}.\n */\n function balanceOf(address owner) public view virtual override returns (uint256) {\n require(owner != address(0), \"ERC721: balance query for the zero address\");\n return _holderTokens[owner].length();\n }\n\n /**\n * @dev See {IERC721-ownerOf}.\n */\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\n }\n\n /**\n * @dev See {IERC721Metadata-name}.\n */\n function name() public view virtual override returns (string memory) {\n return _name;\n }\n\n /**\n * @dev See {IERC721Metadata-symbol}.\n */\n function symbol() public view virtual override returns (string memory) {\n return _symbol;\n }\n\n /**\n * @dev See {IERC721Metadata-tokenURI}.\n */\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\n\n string memory _tokenURI = _tokenURIs[tokenId];\n string memory base = baseURI();\n\n // If there is no base URI, return the token URI.\n if (bytes(base).length == 0) {\n return _tokenURI;\n }\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\n if (bytes(_tokenURI).length > 0) {\n return string(abi.encodePacked(base, _tokenURI));\n }\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\n return string(abi.encodePacked(base, tokenId.toString()));\n }\n\n /**\n * @dev Returns the base URI set via {_setBaseURI}. This will be\n * automatically added as a prefix in {tokenURI} to each token's URI, or\n * to the token ID if no specific URI is set for that token ID.\n */\n function baseURI() public view virtual returns (string memory) {\n return _baseURI;\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\n return _holderTokens[owner].at(index);\n }\n\n /**\n * @dev See {IERC721Enumerable-totalSupply}.\n */\n function totalSupply() public view virtual override returns (uint256) {\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\n return _tokenOwners.length();\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenByIndex}.\n */\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\n (uint256 tokenId, ) = _tokenOwners.at(index);\n return tokenId;\n }\n\n /**\n * @dev See {IERC721-approve}.\n */\n function approve(address to, uint256 tokenId) public virtual override {\n address owner = ERC721.ownerOf(tokenId);\n require(to != owner, \"ERC721: approval to current owner\");\n\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\n \"ERC721: approve caller is not owner nor approved for all\"\n );\n\n _approve(to, tokenId);\n }\n\n /**\n * @dev See {IERC721-getApproved}.\n */\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\n\n return _tokenApprovals[tokenId];\n }\n\n /**\n * @dev See {IERC721-setApprovalForAll}.\n */\n function setApprovalForAll(address operator, bool approved) public virtual override {\n require(operator != _msgSender(), \"ERC721: approve to caller\");\n\n _operatorApprovals[_msgSender()][operator] = approved;\n emit ApprovalForAll(_msgSender(), operator, approved);\n }\n\n /**\n * @dev See {IERC721-isApprovedForAll}.\n */\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\n return _operatorApprovals[owner][operator];\n }\n\n /**\n * @dev See {IERC721-transferFrom}.\n */\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\n //solhint-disable-next-line max-line-length\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n\n _transfer(from, to, tokenId);\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\n safeTransferFrom(from, to, tokenId, \"\");\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n _safeTransfer(from, to, tokenId, _data);\n }\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\n *\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n * implement alternative mechanisms to perform token transfer, such as signature-based.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\n _transfer(from, to, tokenId);\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Returns whether `tokenId` exists.\n *\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n *\n * Tokens start existing when they are minted (`_mint`),\n * and stop existing when they are burned (`_burn`).\n */\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\n return _tokenOwners.contains(tokenId);\n }\n\n /**\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\n address owner = ERC721.ownerOf(tokenId);\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\n }\n\n /**\n * @dev Safely mints `tokenId` and transfers it to `to`.\n *\n * Requirements:\n d*\n * - `tokenId` must not exist.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeMint(address to, uint256 tokenId) internal virtual {\n _safeMint(to, tokenId, \"\");\n }\n\n /**\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n */\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\n _mint(to, tokenId);\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Mints `tokenId` and transfers it to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n *\n * Requirements:\n *\n * - `tokenId` must not exist.\n * - `to` cannot be the zero address.\n *\n * Emits a {Transfer} event.\n */\n function _mint(address to, uint256 tokenId) internal virtual {\n require(to != address(0), \"ERC721: mint to the zero address\");\n require(!_exists(tokenId), \"ERC721: token already minted\");\n\n _beforeTokenTransfer(address(0), to, tokenId);\n\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(address(0), to, tokenId);\n }\n\n /**\n * @dev Destroys `tokenId`.\n * The approval is cleared when the token is burned.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n *\n * Emits a {Transfer} event.\n */\n function _burn(uint256 tokenId) internal virtual {\n address owner = ERC721.ownerOf(tokenId); // internal owner\n\n _beforeTokenTransfer(owner, address(0), tokenId);\n\n // Clear approvals\n _approve(address(0), tokenId);\n\n // Clear metadata (if any)\n if (bytes(_tokenURIs[tokenId]).length != 0) {\n delete _tokenURIs[tokenId];\n }\n\n _holderTokens[owner].remove(tokenId);\n\n _tokenOwners.remove(tokenId);\n\n emit Transfer(owner, address(0), tokenId);\n }\n\n /**\n * @dev Transfers `tokenId` from `from` to `to`.\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n *\n * Requirements:\n *\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n *\n * Emits a {Transfer} event.\n */\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\n require(to != address(0), \"ERC721: transfer to the zero address\");\n\n _beforeTokenTransfer(from, to, tokenId);\n\n // Clear approvals from the previous owner\n _approve(address(0), tokenId);\n\n _holderTokens[from].remove(tokenId);\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(from, to, tokenId);\n }\n\n /**\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\n _tokenURIs[tokenId] = _tokenURI;\n }\n\n /**\n * @dev Internal function to set the base URI for all token IDs. It is\n * automatically added as a prefix to the value returned in {tokenURI},\n * or to the token ID if {tokenURI} is empty.\n */\n function _setBaseURI(string memory baseURI_) internal virtual {\n _baseURI = baseURI_;\n }\n\n /**\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n * The call is not executed if the target address is not a contract.\n *\n * @param from address representing the previous owner of the given token ID\n * @param to target address that will receive the tokens\n * @param tokenId uint256 ID of the token to be transferred\n * @param _data bytes optional data to send along with the call\n * @return bool whether the call correctly returned the expected magic value\n */\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\n private returns (bool)\n {\n if (!to.isContract()) {\n return true;\n }\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\n IERC721Receiver(to).onERC721Received.selector,\n _msgSender(),\n from,\n tokenId,\n _data\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\n bytes4 retval = abi.decode(returndata, (bytes4));\n return (retval == _ERC721_RECEIVED);\n }\n\n /**\n * @dev Approve `to` to operate on `tokenId`\n *\n * Emits an {Approval} event.\n */\n function _approve(address to, uint256 tokenId) internal virtual {\n _tokenApprovals[tokenId] = to;\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\n }\n\n /**\n * @dev Hook that is called before any token transfer. This includes minting\n * and burning.\n *\n * Calling conditions:\n *\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n * transferred to `to`.\n * - When `from` is zero, `tokenId` will be minted for `to`.\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n *\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n */\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\n}\n", - "sourcePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "source": "// SPDX-License-Identifier: MIT\r\n\r\n// File: @openzeppelin/contracts/utils/Context.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/*\r\n * @dev Provides information about the current execution context, including the\r\n * sender of the transaction and its data. While these are generally available\r\n * via msg.sender and msg.data, they should not be accessed in such a direct\r\n * manner, since when dealing with GSN meta-transactions the account sending and\r\n * paying for execution may not be the actual sender (as far as an application\r\n * is concerned).\r\n *\r\n * This contract is only required for intermediate, library-like contracts.\r\n */\r\nabstract contract Context {\r\n function _msgSender() internal view virtual returns (address payable) {\r\n return msg.sender;\r\n }\r\n\r\n function _msgData() internal view virtual returns (bytes memory) {\r\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\r\n return msg.data;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/IERC165.sol\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Interface of the ERC165 standard, as defined in the\r\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\r\n *\r\n * Implementers can declare support of contract interfaces, which can then be\r\n * queried by others ({ERC165Checker}).\r\n *\r\n * For an implementation, see {ERC165}.\r\n */\r\ninterface IERC165 {\r\n /**\r\n * @dev Returns true if this contract implements the interface defined by\r\n * `interfaceId`. See the corresponding\r\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\r\n * to learn more about how these ids are created.\r\n *\r\n * This function call must use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Required interface of an ERC721 compliant contract.\r\n */\r\ninterface IERC721 is IERC165 {\r\n /**\r\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\r\n */\r\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\r\n */\r\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\r\n */\r\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\r\n\r\n /**\r\n * @dev Returns the number of tokens in ``owner``'s account.\r\n */\r\n function balanceOf(address owner) external view returns (uint256 balance);\r\n\r\n /**\r\n * @dev Returns the owner of the `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function ownerOf(uint256 tokenId) external view returns (address owner);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Transfers `tokenId` token from `from` to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\r\n * The approval is cleared when the token is transferred.\r\n *\r\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\r\n *\r\n * Requirements:\r\n *\r\n * - The caller must own the token or be an approved operator.\r\n * - `tokenId` must exist.\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function approve(address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Returns the account approved for `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function getApproved(uint256 tokenId) external view returns (address operator);\r\n\r\n /**\r\n * @dev Approve or remove `operator` as an operator for the caller.\r\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\r\n *\r\n * Requirements:\r\n *\r\n * - The `operator` cannot be the caller.\r\n *\r\n * Emits an {ApprovalForAll} event.\r\n */\r\n function setApprovalForAll(address operator, bool _approved) external;\r\n\r\n /**\r\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\r\n *\r\n * See {setApprovalForAll}\r\n */\r\n function isApprovedForAll(address owner, address operator) external view returns (bool);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Metadata is IERC721 {\r\n\r\n /**\r\n * @dev Returns the token collection name.\r\n */\r\n function name() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the token collection symbol.\r\n */\r\n function symbol() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\r\n */\r\n function tokenURI(uint256 tokenId) external view returns (string memory);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\r\n\r\n\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Enumerable is IERC721 {\r\n\r\n /**\r\n * @dev Returns the total amount of tokens stored by the contract.\r\n */\r\n function totalSupply() external view returns (uint256);\r\n\r\n /**\r\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\r\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\r\n\r\n /**\r\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\r\n * Use along with {totalSupply} to enumerate all tokens.\r\n */\r\n function tokenByIndex(uint256 index) external view returns (uint256);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\r\n\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 token receiver interface\r\n * @dev Interface for any contract that wants to support safeTransfers\r\n * from ERC721 asset contracts.\r\n */\r\ninterface IERC721Receiver {\r\n /**\r\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\r\n * by `operator` from `from`, this function is called.\r\n *\r\n * It must return its Solidity selector to confirm the token transfer.\r\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\r\n *\r\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\r\n */\r\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/ERC165.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Implementation of the {IERC165} interface.\r\n *\r\n * Contracts may inherit from this and call {_registerInterface} to declare\r\n * their support of an interface.\r\n */\r\nabstract contract ERC165 is IERC165 {\r\n /*\r\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\r\n\r\n /**\r\n * @dev Mapping of interface ids to whether or not it's supported.\r\n */\r\n mapping(bytes4 => bool) private _supportedInterfaces;\r\n\r\n constructor () {\r\n // Derived contracts need only register support for their own interfaces,\r\n // we register support for ERC165 itself here\r\n _registerInterface(_INTERFACE_ID_ERC165);\r\n }\r\n\r\n /**\r\n * @dev See {IERC165-supportsInterface}.\r\n *\r\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\r\n return _supportedInterfaces[interfaceId];\r\n }\r\n\r\n /**\r\n * @dev Registers the contract as an implementer of the interface defined by\r\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\r\n * registering its interface id is not required.\r\n *\r\n * See {IERC165-supportsInterface}.\r\n *\r\n * Requirements:\r\n *\r\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\r\n */\r\n function _registerInterface(bytes4 interfaceId) internal virtual {\r\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\r\n _supportedInterfaces[interfaceId] = true;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/math/SafeMath.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\r\n * checks.\r\n *\r\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\r\n * in bugs, because programmers usually assume that an overflow raises an\r\n * error, which is the standard behavior in high level programming languages.\r\n * `SafeMath` restores this intuition by reverting the transaction when an\r\n * operation overflows.\r\n *\r\n * Using this library instead of the unchecked operations eliminates an entire\r\n * class of bugs, so it's recommended to use it always.\r\n */\r\nlibrary SafeMath {\r\n /**\r\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n uint256 c = a + b;\r\n if (c < a) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b > a) return (false, 0);\r\n return (true, a - b);\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\r\n // benefit is lost if 'b' is also tested.\r\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\r\n if (a == 0) return (true, 0);\r\n uint256 c = a * b;\r\n if (c / a != b) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a / b);\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a % b);\r\n }\r\n\r\n /**\r\n * @dev Returns the addition of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `+` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Addition cannot overflow.\r\n */\r\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\r\n uint256 c = a + b;\r\n require(c >= a, \"SafeMath: addition overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting on\r\n * overflow (when the result is negative).\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b <= a, \"SafeMath: subtraction overflow\");\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `*` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Multiplication cannot overflow.\r\n */\r\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\r\n if (a == 0) return 0;\r\n uint256 c = a * b;\r\n require(c / a == b, \"SafeMath: multiplication overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: division by zero\");\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting when dividing by zero.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: modulo by zero\");\r\n return a % b;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\r\n * overflow (when the result is negative).\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {trySub}.\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b <= a, errorMessage);\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryDiv}.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting with custom message when dividing by zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryMod}.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a % b;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Address.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n/**\r\n * @dev Collection of functions related to the address type\r\n */\r\nlibrary Address {\r\n /**\r\n * @dev Returns true if `account` is a contract.\r\n *\r\n * [IMPORTANT]\r\n * ====\r\n * It is unsafe to assume that an address for which this function returns\r\n * false is an externally-owned account (EOA) and not a contract.\r\n *\r\n * Among others, `isContract` will return false for the following\r\n * types of addresses:\r\n *\r\n * - an externally-owned account\r\n * - a contract in construction\r\n * - an address where a contract will be created\r\n * - an address where a contract lived, but was destroyed\r\n * ====\r\n */\r\n function isContract(address account) internal view returns (bool) {\r\n // This method relies on extcodesize, which returns 0 for contracts in\r\n // construction, since the code is only stored at the end of the\r\n // constructor execution.\r\n\r\n uint256 size;\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly { size := extcodesize(account) }\r\n return size > 0;\r\n }\r\n\r\n /**\r\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\r\n * `recipient`, forwarding all available gas and reverting on errors.\r\n *\r\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\r\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\r\n * imposed by `transfer`, making them unable to receive funds via\r\n * `transfer`. {sendValue} removes this limitation.\r\n *\r\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\r\n *\r\n * IMPORTANT: because control is transferred to `recipient`, care must be\r\n * taken to not create reentrancy vulnerabilities. Consider using\r\n * {ReentrancyGuard} or the\r\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\r\n */\r\n function sendValue(address payable recipient, uint256 amount) internal {\r\n require(address(this).balance >= amount, \"Address: insufficient balance\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\r\n (bool success, ) = recipient.call{ value: amount }(\"\");\r\n require(success, \"Address: unable to send value, recipient may have reverted\");\r\n }\r\n\r\n /**\r\n * @dev Performs a Solidity function call using a low level `call`. A\r\n * plain`call` is an unsafe replacement for a function call: use this\r\n * function instead.\r\n *\r\n * If `target` reverts with a revert reason, it is bubbled up by this\r\n * function (like regular Solidity function calls).\r\n *\r\n * Returns the raw returned data. To convert to the expected return value,\r\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\r\n *\r\n * Requirements:\r\n *\r\n * - `target` must be a contract.\r\n * - calling `target` with `data` must not revert.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionCall(target, data, \"Address: low-level call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\r\n * `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, 0, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but also transferring `value` wei to `target`.\r\n *\r\n * Requirements:\r\n *\r\n * - the calling contract must have an ETH balance of at least `value`.\r\n * - the called Solidity function must be `payable`.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\r\n * with `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\r\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\r\n require(isContract(target), \"Address: call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\r\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\r\n require(isContract(target), \"Address: static call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.staticcall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n require(isContract(target), \"Address: delegate call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.delegatecall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\r\n if (success) {\r\n return returndata;\r\n } else {\r\n // Look for revert reason and bubble it up if present\r\n if (returndata.length > 0) {\r\n // The easiest way to bubble the revert reason is using memory via assembly\r\n\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n let returndata_size := mload(returndata)\r\n revert(add(32, returndata), returndata_size)\r\n }\r\n } else {\r\n revert(errorMessage);\r\n }\r\n }\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing\r\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\r\n * types.\r\n *\r\n * Sets have the following properties:\r\n *\r\n * - Elements are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableSet for EnumerableSet.AddressSet;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableSet.AddressSet private mySet;\r\n * }\r\n * ```\r\n *\r\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\r\n * and `uint256` (`UintSet`) are supported.\r\n */\r\nlibrary EnumerableSet {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Set type with\r\n // bytes32 values.\r\n // The Set implementation uses private functions, and user-facing\r\n // implementations (such as AddressSet) are just wrappers around the\r\n // underlying Set.\r\n // This means that we can only create new EnumerableSets for types that fit\r\n // in bytes32.\r\n\r\n struct Set {\r\n // Storage of set values\r\n bytes32[] _values;\r\n\r\n // Position of the value in the `values` array, plus 1 because index 0\r\n // means a value is not in the set.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function _add(Set storage set, bytes32 value) private returns (bool) {\r\n if (!_contains(set, value)) {\r\n set._values.push(value);\r\n // The value is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n set._indexes[value] = set._values.length;\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function _remove(Set storage set, bytes32 value) private returns (bool) {\r\n // We read and store the value's index to prevent multiple reads from the same storage slot\r\n uint256 valueIndex = set._indexes[value];\r\n\r\n if (valueIndex != 0) { // Equivalent to contains(set, value)\r\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\r\n // the array, and then remove the last element (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = valueIndex - 1;\r\n uint256 lastIndex = set._values.length - 1;\r\n\r\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n bytes32 lastvalue = set._values[lastIndex];\r\n\r\n // Move the last value to the index where the value to delete is\r\n set._values[toDeleteIndex] = lastvalue;\r\n // Update the index for the moved value\r\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved value was stored\r\n set._values.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete set._indexes[value];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\r\n return set._indexes[value] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function _length(Set storage set) private view returns (uint256) {\r\n return set._values.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\r\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\r\n return set._values[index];\r\n }\r\n\r\n // Bytes32Set\r\n\r\n struct Bytes32Set {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _add(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _remove(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\r\n return _contains(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(Bytes32Set storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\r\n return _at(set._inner, index);\r\n }\r\n\r\n // AddressSet\r\n\r\n struct AddressSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(AddressSet storage set, address value) internal returns (bool) {\r\n return _add(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(AddressSet storage set, address value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(AddressSet storage set, address value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(AddressSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\r\n return address(uint160(uint256(_at(set._inner, index))));\r\n }\r\n\r\n\r\n // UintSet\r\n\r\n struct UintSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _add(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function length(UintSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\r\n return uint256(_at(set._inner, index));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing an enumerable variant of Solidity's\r\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\r\n * type.\r\n *\r\n * Maps have the following properties:\r\n *\r\n * - Entries are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableMap.UintToAddressMap private myMap;\r\n * }\r\n * ```\r\n *\r\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\r\n * supported.\r\n */\r\nlibrary EnumerableMap {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Map type with\r\n // bytes32 keys and values.\r\n // The Map implementation uses private functions, and user-facing\r\n // implementations (such as Uint256ToAddressMap) are just wrappers around\r\n // the underlying Map.\r\n // This means that we can only create new EnumerableMaps for types that fit\r\n // in bytes32.\r\n\r\n struct MapEntry {\r\n bytes32 _key;\r\n bytes32 _value;\r\n }\r\n\r\n struct Map {\r\n // Storage of map keys and values\r\n MapEntry[] _entries;\r\n\r\n // Position of the entry defined by a key in the `entries` array, plus 1\r\n // because index 0 means a key is not in the map.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\r\n map._entries.push(MapEntry({ _key: key, _value: value }));\r\n // The entry is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n map._indexes[key] = map._entries.length;\r\n return true;\r\n } else {\r\n map._entries[keyIndex - 1]._value = value;\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a key-value pair from a map. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function _remove(Map storage map, bytes32 key) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex != 0) { // Equivalent to contains(map, key)\r\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\r\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = keyIndex - 1;\r\n uint256 lastIndex = map._entries.length - 1;\r\n\r\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n MapEntry storage lastEntry = map._entries[lastIndex];\r\n\r\n // Move the last entry to the index where the entry to delete is\r\n map._entries[toDeleteIndex] = lastEntry;\r\n // Update the index for the moved entry\r\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved entry was stored\r\n map._entries.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete map._indexes[key];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\r\n return map._indexes[key] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of key-value pairs in the map. O(1).\r\n */\r\n function _length(Map storage map) private view returns (uint256) {\r\n return map._entries.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of entries inside the\r\n * array, and it may change when more entries are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\r\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\r\n\r\n MapEntry storage entry = map._entries[index];\r\n return (entry._key, entry._value);\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n */\r\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\r\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {_tryGet}.\r\n */\r\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n // UintToAddressMap\r\n\r\n struct UintToAddressMap {\r\n Map _inner;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\r\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\r\n return _remove(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\r\n return _contains(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of elements in the map. O(1).\r\n */\r\n function length(UintToAddressMap storage map) internal view returns (uint256) {\r\n return _length(map._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the element stored at position `index` in the set. O(1).\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\r\n (bytes32 key, bytes32 value) = _at(map._inner, index);\r\n return (uint256(key), address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\r\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\r\n return (success, address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\r\n }\r\n\r\n /**\r\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryGet}.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Strings.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev String operations.\r\n */\r\nlibrary Strings {\r\n /**\r\n * @dev Converts a `uint256` to its ASCII `string` representation.\r\n */\r\n function toString(uint256 value) internal pure returns (string memory) {\r\n // Inspired by OraclizeAPI's implementation - MIT licence\r\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\r\n\r\n if (value == 0) {\r\n return \"0\";\r\n }\r\n uint256 temp = value;\r\n uint256 digits;\r\n while (temp != 0) {\r\n digits++;\r\n temp /= 10;\r\n }\r\n bytes memory buffer = new bytes(digits);\r\n uint256 index = digits - 1;\r\n temp = value;\r\n while (temp != 0) {\r\n buffer[index--] = bytes1(uint8(48 + temp % 10));\r\n temp /= 10;\r\n }\r\n return string(buffer);\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 Non-Fungible Token Standard basic implementation\r\n * @dev see https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\r\n using SafeMath for uint256;\r\n using Address for address;\r\n using EnumerableSet for EnumerableSet.UintSet;\r\n using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n using Strings for uint256;\r\n\r\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\r\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\r\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\r\n\r\n // Mapping from holder address to their (enumerable) set of owned tokens\r\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\r\n\r\n // Enumerable mapping from token ids to their owners\r\n EnumerableMap.UintToAddressMap private _tokenOwners;\r\n\r\n // Mapping from token ID to approved address\r\n mapping (uint256 => address) private _tokenApprovals;\r\n\r\n // Mapping from owner to operator approvals\r\n mapping (address => mapping (address => bool)) private _operatorApprovals;\r\n\r\n // Token name\r\n string private _name;\r\n\r\n // Token symbol\r\n string private _symbol;\r\n\r\n // Optional mapping for token URIs\r\n mapping (uint256 => string) private _tokenURIs;\r\n\r\n // Base URI\r\n string private _baseURI;\r\n\r\n /*\r\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\r\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\r\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\r\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\r\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\r\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\r\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\r\n *\r\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\r\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\r\n\r\n /*\r\n * bytes4(keccak256('name()')) == 0x06fdde03\r\n * bytes4(keccak256('symbol()')) == 0x95d89b41\r\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\r\n *\r\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\r\n\r\n /*\r\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\r\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\r\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\r\n *\r\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\r\n\r\n /**\r\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\r\n */\r\n constructor (string memory name_, string memory symbol_) {\r\n _name = name_;\r\n _symbol = symbol_;\r\n\r\n // register the supported interfaces to conform to ERC721 via ERC165\r\n _registerInterface(_INTERFACE_ID_ERC721);\r\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\r\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-balanceOf}.\r\n */\r\n function balanceOf(address owner) public view virtual override returns (uint256) {\r\n require(owner != address(0), \"ERC721: balance query for the zero address\");\r\n return _holderTokens[owner].length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-ownerOf}.\r\n */\r\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\r\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-name}.\r\n */\r\n function name() public view virtual override returns (string memory) {\r\n return _name;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-symbol}.\r\n */\r\n function symbol() public view virtual override returns (string memory) {\r\n return _symbol;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-tokenURI}.\r\n */\r\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\r\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\r\n\r\n string memory _tokenURI = _tokenURIs[tokenId];\r\n string memory base = baseURI();\r\n\r\n // If there is no base URI, return the token URI.\r\n if (bytes(base).length == 0) {\r\n return _tokenURI;\r\n }\r\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\r\n if (bytes(_tokenURI).length > 0) {\r\n return string(abi.encodePacked(base, _tokenURI));\r\n }\r\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\r\n return string(abi.encodePacked(base, tokenId.toString()));\r\n }\r\n\r\n /**\r\n * @dev Returns the base URI set via {_setBaseURI}. This will be\r\n * automatically added as a prefix in {tokenURI} to each token's URI, or\r\n * to the token ID if no specific URI is set for that token ID.\r\n */\r\n function baseURI() public view virtual returns (string memory) {\r\n return _baseURI;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\r\n return _holderTokens[owner].at(index);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-totalSupply}.\r\n */\r\n function totalSupply() public view virtual override returns (uint256) {\r\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\r\n return _tokenOwners.length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenByIndex}.\r\n */\r\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\r\n (uint256 tokenId, ) = _tokenOwners.at(index);\r\n return tokenId;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-approve}.\r\n */\r\n function approve(address to, uint256 tokenId) public virtual override {\r\n address owner = ERC721.ownerOf(tokenId);\r\n require(to != owner, \"ERC721: approval to current owner\");\r\n\r\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\r\n \"ERC721: approve caller is not owner nor approved for all\"\r\n );\r\n\r\n _approve(to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-getApproved}.\r\n */\r\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\r\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\r\n\r\n return _tokenApprovals[tokenId];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-setApprovalForAll}.\r\n */\r\n function setApprovalForAll(address operator, bool approved) public virtual override {\r\n require(operator != _msgSender(), \"ERC721: approve to caller\");\r\n\r\n _operatorApprovals[_msgSender()][operator] = approved;\r\n emit ApprovalForAll(_msgSender(), operator, approved);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-isApprovedForAll}.\r\n */\r\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\r\n return _operatorApprovals[owner][operator];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-transferFrom}.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n //solhint-disable-next-line max-line-length\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n\r\n _transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n safeTransferFrom(from, to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n _safeTransfer(from, to, tokenId, _data);\r\n }\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\r\n *\r\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\r\n * implement alternative mechanisms to perform token transfer, such as signature-based.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _transfer(from, to, tokenId);\r\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Returns whether `tokenId` exists.\r\n *\r\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\r\n *\r\n * Tokens start existing when they are minted (`_mint`),\r\n * and stop existing when they are burned (`_burn`).\r\n */\r\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\r\n return _tokenOwners.contains(tokenId);\r\n }\r\n\r\n /**\r\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\r\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\r\n address owner = ERC721.ownerOf(tokenId);\r\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\r\n }\r\n\r\n /**\r\n * @dev Safely mints `tokenId` and transfers it to `to`.\r\n *\r\n * Requirements:\r\n d*\r\n * - `tokenId` must not exist.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeMint(address to, uint256 tokenId) internal virtual {\r\n _safeMint(to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\r\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\r\n */\r\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _mint(to, tokenId);\r\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Mints `tokenId` and transfers it to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must not exist.\r\n * - `to` cannot be the zero address.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _mint(address to, uint256 tokenId) internal virtual {\r\n require(to != address(0), \"ERC721: mint to the zero address\");\r\n require(!_exists(tokenId), \"ERC721: token already minted\");\r\n\r\n _beforeTokenTransfer(address(0), to, tokenId);\r\n\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(address(0), to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Destroys `tokenId`.\r\n * The approval is cleared when the token is burned.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _burn(uint256 tokenId) internal virtual {\r\n address owner = ERC721.ownerOf(tokenId); // internal owner\r\n\r\n _beforeTokenTransfer(owner, address(0), tokenId);\r\n\r\n // Clear approvals\r\n _approve(address(0), tokenId);\r\n\r\n // Clear metadata (if any)\r\n if (bytes(_tokenURIs[tokenId]).length != 0) {\r\n delete _tokenURIs[tokenId];\r\n }\r\n\r\n _holderTokens[owner].remove(tokenId);\r\n\r\n _tokenOwners.remove(tokenId);\r\n\r\n emit Transfer(owner, address(0), tokenId);\r\n }\r\n\r\n /**\r\n * @dev Transfers `tokenId` from `from` to `to`.\r\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\r\n *\r\n * Requirements:\r\n *\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\r\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\r\n require(to != address(0), \"ERC721: transfer to the zero address\");\r\n\r\n _beforeTokenTransfer(from, to, tokenId);\r\n\r\n // Clear approvals from the previous owner\r\n _approve(address(0), tokenId);\r\n\r\n _holderTokens[from].remove(tokenId);\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\r\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\r\n _tokenURIs[tokenId] = _tokenURI;\r\n }\r\n\r\n /**\r\n * @dev Internal function to set the base URI for all token IDs. It is\r\n * automatically added as a prefix to the value returned in {tokenURI},\r\n * or to the token ID if {tokenURI} is empty.\r\n */\r\n function _setBaseURI(string memory baseURI_) internal virtual {\r\n _baseURI = baseURI_;\r\n }\r\n\r\n /**\r\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\r\n * The call is not executed if the target address is not a contract.\r\n *\r\n * @param from address representing the previous owner of the given token ID\r\n * @param to target address that will receive the tokens\r\n * @param tokenId uint256 ID of the token to be transferred\r\n * @param _data bytes optional data to send along with the call\r\n * @return bool whether the call correctly returned the expected magic value\r\n */\r\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\r\n private returns (bool)\r\n {\r\n if (!to.isContract()) {\r\n return true;\r\n }\r\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\r\n IERC721Receiver(to).onERC721Received.selector,\r\n _msgSender(),\r\n from,\r\n tokenId,\r\n _data\r\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n bytes4 retval = abi.decode(returndata, (bytes4));\r\n return (retval == _ERC721_RECEIVED);\r\n }\r\n\r\n /**\r\n * @dev Approve `to` to operate on `tokenId`\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function _approve(address to, uint256 tokenId) internal virtual {\r\n _tokenApprovals[tokenId] = to;\r\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\r\n }\r\n\r\n /**\r\n * @dev Hook that is called before any token transfer. This includes minting\r\n * and burning.\r\n *\r\n * Calling conditions:\r\n *\r\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\r\n * transferred to `to`.\r\n * - When `from` is zero, `tokenId` will be minted for `to`.\r\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n *\r\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\r\n */\r\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\r\n}\r\n", + "sourcePath": "C:\\Users\\Noahm\\cryptoboys-nft-marketplace\\src\\contracts\\ERC721.sol", "ast": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, - "id": 3499, + "id": 2991, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 509, + "id": 1, "literals": [ "solidity", ">=", @@ -90,7 +90,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "abstract": true, @@ -98,77 +98,77 @@ "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, - "id": 530, + "id": 22, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 517, + "id": 9, "nodeType": "Block", - "src": "719:34:1", + "src": "735:36:0", "statements": [ { "expression": { "expression": { - "id": 514, + "id": 6, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "736:3:1", + "src": "753:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 515, + "id": 7, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "736:10:1", + "src": "753:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 513, - "id": 516, + "functionReturnParameters": 5, + "id": 8, "nodeType": "Return", - "src": "729:17:1" + "src": "746:17:0" } ] }, - "id": 518, + "id": 10, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgSender", "nodeType": "FunctionDefinition", "parameters": { - "id": 510, + "id": 2, "nodeType": "ParameterList", "parameters": [], - "src": "668:2:1" + "src": "684:2:0" }, "returnParameters": { - "id": 513, + "id": 5, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 512, + "id": 4, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 518, - "src": "702:15:1", + "scope": 10, + "src": "718:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -176,10 +176,10 @@ "typeString": "address payable" }, "typeName": { - "id": 511, + "id": 3, "name": "address", "nodeType": "ElementaryTypeName", - "src": "702:15:1", + "src": "718:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -189,95 +189,95 @@ "visibility": "internal" } ], - "src": "701:17:1" + "src": "717:17:0" }, - "scope": 530, - "src": "649:104:1", + "scope": 22, + "src": "665:106:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 528, + "id": 20, "nodeType": "Block", - "src": "824:165:1", + "src": "844:168:0", "statements": [ { "expression": { - "id": 523, + "id": 15, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "834:4:1", + "src": "855:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 524, + "id": 16, "nodeType": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "expression": { "expression": { - "id": 525, + "id": 17, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "974:3:1", + "src": "996:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 526, + "id": 18, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "data", "nodeType": "MemberAccess", - "src": "974:8:1", + "src": "996:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" } }, - "functionReturnParameters": 522, - "id": 527, + "functionReturnParameters": 14, + "id": 19, "nodeType": "Return", - "src": "967:15:1" + "src": "989:15:0" } ] }, - "id": 529, + "id": 21, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgData", "nodeType": "FunctionDefinition", "parameters": { - "id": 519, + "id": 11, "nodeType": "ParameterList", "parameters": [], - "src": "776:2:1" + "src": "796:2:0" }, "returnParameters": { - "id": 522, + "id": 14, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 521, + "id": 13, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 529, - "src": "810:12:1", + "scope": 21, + "src": "830:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -285,10 +285,10 @@ "typeString": "bytes" }, "typeName": { - "id": 520, + "id": 12, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "810:5:1", + "src": "830:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -297,20 +297,20 @@ "visibility": "internal" } ], - "src": "809:14:1" + "src": "829:14:0" }, - "scope": 530, - "src": "759:230:1", + "scope": 22, + "src": "779:233:0", "stateMutability": "view", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "617:374:1" + "scope": 2991, + "src": "632:383:0" }, { - "id": 531, + "id": 23, "literals": [ "solidity", ">=", @@ -321,7 +321,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "abstract": false, @@ -329,45 +329,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 532, + "id": 24, "nodeType": "StructuredDocumentation", - "src": "1086:279:1", + "src": "1116:287:0", "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, "fullyImplemented": false, - "id": 541, + "id": 33, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 533, + "id": 25, "nodeType": "StructuredDocumentation", - "src": "1390:340:1", + "src": "1430:347:0", "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 540, + "id": 32, "implemented": false, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 536, + "id": 28, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 535, + "id": 27, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1762:18:1", + "scope": 32, + "src": "1810:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -375,10 +375,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 534, + "id": 26, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "1762:6:1", + "src": "1810:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -387,20 +387,20 @@ "visibility": "internal" } ], - "src": "1761:20:1" + "src": "1809:20:0" }, "returnParameters": { - "id": 539, + "id": 31, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 538, + "id": 30, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1805:4:1", + "scope": 32, + "src": "1853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -408,10 +408,10 @@ "typeString": "bool" }, "typeName": { - "id": 537, + "id": 29, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1805:4:1", + "src": "1853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -420,20 +420,20 @@ "visibility": "internal" } ], - "src": "1804:6:1" + "src": "1852:6:0" }, - "scope": 541, - "src": "1735:76:1", + "scope": 33, + "src": "1783:76:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1366:447:1" + "scope": 2991, + "src": "1405:457:0" }, { - "id": 542, + "id": 34, "literals": [ "solidity", ">=", @@ -444,43 +444,43 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 544, + "id": 36, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "1996:7:1", + "referencedDeclaration": 33, + "src": "2054:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 545, + "id": 37, "nodeType": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "documentation": { - "id": 543, + "id": 35, "nodeType": "StructuredDocumentation", - "src": "1907:67:1", + "src": "1962:69:0", "text": " @dev Required interface of an ERC721 compliant contract." }, "fullyImplemented": false, - "id": 655, + "id": 147, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", "nodeType": "ContractDefinition", @@ -488,27 +488,27 @@ { "anonymous": false, "documentation": { - "id": 546, + "id": 38, "nodeType": "StructuredDocumentation", - "src": "2010:88:1", + "src": "2069:90:0", "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 554, + "id": 46, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { - "id": 553, + "id": 45, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 548, + "id": 40, "indexed": true, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2118:20:1", + "scope": 46, + "src": "2180:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -516,10 +516,10 @@ "typeString": "address" }, "typeName": { - "id": 547, + "id": 39, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2118:7:1", + "src": "2180:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -530,13 +530,13 @@ }, { "constant": false, - "id": 550, + "id": 42, "indexed": true, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2140:18:1", + "scope": 46, + "src": "2202:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -544,10 +544,10 @@ "typeString": "address" }, "typeName": { - "id": 549, + "id": 41, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2140:7:1", + "src": "2202:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -558,13 +558,13 @@ }, { "constant": false, - "id": 552, + "id": 44, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2160:23:1", + "scope": 46, + "src": "2222:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -572,10 +572,10 @@ "typeString": "uint256" }, "typeName": { - "id": 551, + "id": 43, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2160:7:1", + "src": "2222:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -584,34 +584,34 @@ "visibility": "internal" } ], - "src": "2117:67:1" + "src": "2179:67:0" }, - "src": "2103:82:1" + "src": "2165:82:0" }, { "anonymous": false, "documentation": { - "id": 555, + "id": 47, "nodeType": "StructuredDocumentation", - "src": "2191:94:1", + "src": "2255:96:0", "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 563, + "id": 55, "name": "Approval", "nodeType": "EventDefinition", "parameters": { - "id": 562, + "id": 54, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 557, + "id": 49, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2305:21:1", + "scope": 55, + "src": "2372:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -619,10 +619,10 @@ "typeString": "address" }, "typeName": { - "id": 556, + "id": 48, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2305:7:1", + "src": "2372:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -633,13 +633,13 @@ }, { "constant": false, - "id": 559, + "id": 51, "indexed": true, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2328:24:1", + "scope": 55, + "src": "2395:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -647,10 +647,10 @@ "typeString": "address" }, "typeName": { - "id": 558, + "id": 50, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2328:7:1", + "src": "2395:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -661,13 +661,13 @@ }, { "constant": false, - "id": 561, + "id": 53, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2354:23:1", + "scope": 55, + "src": "2421:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -675,10 +675,10 @@ "typeString": "uint256" }, "typeName": { - "id": 560, + "id": 52, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2354:7:1", + "src": "2421:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -687,34 +687,34 @@ "visibility": "internal" } ], - "src": "2304:74:1" + "src": "2371:74:0" }, - "src": "2290:89:1" + "src": "2357:89:0" }, { "anonymous": false, "documentation": { - "id": 564, + "id": 56, "nodeType": "StructuredDocumentation", - "src": "2385:117:1", + "src": "2454:119:0", "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 572, + "id": 64, "name": "ApprovalForAll", "nodeType": "EventDefinition", "parameters": { - "id": 571, + "id": 63, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 566, + "id": 58, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2528:21:1", + "scope": 64, + "src": "2600:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -722,10 +722,10 @@ "typeString": "address" }, "typeName": { - "id": 565, + "id": 57, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2528:7:1", + "src": "2600:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -736,13 +736,13 @@ }, { "constant": false, - "id": 568, + "id": 60, "indexed": true, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2551:24:1", + "scope": 64, + "src": "2623:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -750,10 +750,10 @@ "typeString": "address" }, "typeName": { - "id": 567, + "id": 59, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2551:7:1", + "src": "2623:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -764,13 +764,13 @@ }, { "constant": false, - "id": 570, + "id": 62, "indexed": false, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2577:13:1", + "scope": 64, + "src": "2649:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -778,10 +778,10 @@ "typeString": "bool" }, "typeName": { - "id": 569, + "id": 61, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2577:4:1", + "src": "2649:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -790,36 +790,36 @@ "visibility": "internal" } ], - "src": "2527:64:1" + "src": "2599:64:0" }, - "src": "2507:85:1" + "src": "2579:85:0" }, { "documentation": { - "id": 573, + "id": 65, "nodeType": "StructuredDocumentation", - "src": "2598:76:1", + "src": "2672:78:0", "text": " @dev Returns the number of tokens in ``owner``'s account." }, "functionSelector": "70a08231", - "id": 580, + "id": 72, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 576, + "id": 68, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 575, + "id": 67, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2698:13:1", + "scope": 72, + "src": "2775:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -827,10 +827,10 @@ "typeString": "address" }, "typeName": { - "id": 574, + "id": 66, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2698:7:1", + "src": "2775:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -840,20 +840,20 @@ "visibility": "internal" } ], - "src": "2697:15:1" + "src": "2774:15:0" }, "returnParameters": { - "id": 579, + "id": 71, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 578, + "id": 70, "mutability": "mutable", "name": "balance", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2736:15:1", + "scope": 72, + "src": "2813:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -861,10 +861,10 @@ "typeString": "uint256" }, "typeName": { - "id": 577, + "id": 69, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2736:7:1", + "src": "2813:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -873,40 +873,40 @@ "visibility": "internal" } ], - "src": "2735:17:1" + "src": "2812:17:0" }, - "scope": 655, - "src": "2679:74:1", + "scope": 147, + "src": "2756:74:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 581, + "id": 73, "nodeType": "StructuredDocumentation", - "src": "2759:131:1", + "src": "2838:137:0", "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "6352211e", - "id": 588, + "id": 80, "implemented": false, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 584, + "id": 76, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 583, + "id": 75, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2912:15:1", + "scope": 80, + "src": "2998:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -914,10 +914,10 @@ "typeString": "uint256" }, "typeName": { - "id": 582, + "id": 74, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2912:7:1", + "src": "2998:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -926,20 +926,20 @@ "visibility": "internal" } ], - "src": "2911:17:1" + "src": "2997:17:0" }, "returnParameters": { - "id": 587, + "id": 79, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 586, + "id": 78, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2952:13:1", + "scope": 80, + "src": "3038:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -947,10 +947,10 @@ "typeString": "address" }, "typeName": { - "id": 585, + "id": 77, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2952:7:1", + "src": "3038:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -960,40 +960,40 @@ "visibility": "internal" } ], - "src": "2951:15:1" + "src": "3037:15:0" }, - "scope": 655, - "src": "2895:72:1", + "scope": 147, + "src": "2981:72:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 589, + "id": 81, "nodeType": "StructuredDocumentation", - "src": "2973:690:1", + "src": "3061:703:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "42842e0e", - "id": 598, + "id": 90, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 596, + "id": 88, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 591, + "id": 83, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3694:12:1", + "scope": 90, + "src": "3796:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1001,10 +1001,10 @@ "typeString": "address" }, "typeName": { - "id": 590, + "id": 82, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3694:7:1", + "src": "3796:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1015,12 +1015,12 @@ }, { "constant": false, - "id": 593, + "id": 85, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3708:10:1", + "scope": 90, + "src": "3810:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1028,10 +1028,10 @@ "typeString": "address" }, "typeName": { - "id": 592, + "id": 84, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3708:7:1", + "src": "3810:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1042,12 +1042,12 @@ }, { "constant": false, - "id": 595, + "id": 87, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3720:15:1", + "scope": 90, + "src": "3822:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1055,10 +1055,10 @@ "typeString": "uint256" }, "typeName": { - "id": 594, + "id": 86, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3720:7:1", + "src": "3822:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1067,46 +1067,46 @@ "visibility": "internal" } ], - "src": "3693:43:1" + "src": "3795:43:0" }, "returnParameters": { - "id": 597, + "id": 89, "nodeType": "ParameterList", "parameters": [], - "src": "3745:0:1" + "src": "3847:0:0" }, - "scope": 655, - "src": "3668:78:1", + "scope": 147, + "src": "3770:78:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 599, + "id": 91, "nodeType": "StructuredDocumentation", - "src": "3752:504:1", + "src": "3856:517:0", "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, "functionSelector": "23b872dd", - "id": 608, + "id": 100, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 606, + "id": 98, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 601, + "id": 93, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4283:12:1", + "scope": 100, + "src": "4401:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1114,10 +1114,10 @@ "typeString": "address" }, "typeName": { - "id": 600, + "id": 92, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4283:7:1", + "src": "4401:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1128,12 +1128,12 @@ }, { "constant": false, - "id": 603, + "id": 95, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4297:10:1", + "scope": 100, + "src": "4415:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1141,10 +1141,10 @@ "typeString": "address" }, "typeName": { - "id": 602, + "id": 94, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4297:7:1", + "src": "4415:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1155,12 +1155,12 @@ }, { "constant": false, - "id": 605, + "id": 97, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4309:15:1", + "scope": 100, + "src": "4427:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1168,10 +1168,10 @@ "typeString": "uint256" }, "typeName": { - "id": 604, + "id": 96, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4309:7:1", + "src": "4427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1180,46 +1180,46 @@ "visibility": "internal" } ], - "src": "4282:43:1" + "src": "4400:43:0" }, "returnParameters": { - "id": 607, + "id": 99, "nodeType": "ParameterList", "parameters": [], - "src": "4334:0:1" + "src": "4452:0:0" }, - "scope": 655, - "src": "4261:74:1", + "scope": 147, + "src": "4379:74:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 609, + "id": 101, "nodeType": "StructuredDocumentation", - "src": "4341:452:1", + "src": "4461:464:0", "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, "functionSelector": "095ea7b3", - "id": 616, + "id": 108, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 614, + "id": 106, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 611, + "id": 103, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4815:10:1", + "scope": 108, + "src": "4948:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1227,10 +1227,10 @@ "typeString": "address" }, "typeName": { - "id": 610, + "id": 102, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4815:7:1", + "src": "4948:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1241,12 +1241,12 @@ }, { "constant": false, - "id": 613, + "id": 105, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4827:15:1", + "scope": 108, + "src": "4960:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1254,10 +1254,10 @@ "typeString": "uint256" }, "typeName": { - "id": 612, + "id": 104, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4827:7:1", + "src": "4960:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1266,46 +1266,46 @@ "visibility": "internal" } ], - "src": "4814:29:1" + "src": "4947:29:0" }, "returnParameters": { - "id": 615, + "id": 107, "nodeType": "ParameterList", "parameters": [], - "src": "4852:0:1" + "src": "4985:0:0" }, - "scope": 655, - "src": "4798:55:1", + "scope": 147, + "src": "4931:55:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 617, + "id": 109, "nodeType": "StructuredDocumentation", - "src": "4859:139:1", + "src": "4994:145:0", "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "081812fc", - "id": 624, + "id": 116, "implemented": false, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "parameters": { - "id": 620, + "id": 112, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 619, + "id": 111, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5024:15:1", + "scope": 116, + "src": "5166:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1313,10 +1313,10 @@ "typeString": "uint256" }, "typeName": { - "id": 618, + "id": 110, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5024:7:1", + "src": "5166:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1325,20 +1325,20 @@ "visibility": "internal" } ], - "src": "5023:17:1" + "src": "5165:17:0" }, "returnParameters": { - "id": 623, + "id": 115, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 622, + "id": 114, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5064:16:1", + "scope": 116, + "src": "5206:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1346,10 +1346,10 @@ "typeString": "address" }, "typeName": { - "id": 621, + "id": 113, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5064:7:1", + "src": "5206:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1359,40 +1359,40 @@ "visibility": "internal" } ], - "src": "5063:18:1" + "src": "5205:18:0" }, - "scope": 655, - "src": "5003:79:1", + "scope": 147, + "src": "5145:79:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 625, + "id": 117, "nodeType": "StructuredDocumentation", - "src": "5088:309:1", + "src": "5232:318:0", "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, "functionSelector": "a22cb465", - "id": 632, + "id": 124, "implemented": false, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 630, + "id": 122, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 627, + "id": 119, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5429:16:1", + "scope": 124, + "src": "5583:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1400,10 +1400,10 @@ "typeString": "address" }, "typeName": { - "id": 626, + "id": 118, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5429:7:1", + "src": "5583:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1414,12 +1414,12 @@ }, { "constant": false, - "id": 629, + "id": 121, "mutability": "mutable", "name": "_approved", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5447:14:1", + "scope": 124, + "src": "5601:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1427,10 +1427,10 @@ "typeString": "bool" }, "typeName": { - "id": 628, + "id": 120, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5447:4:1", + "src": "5601:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1439,46 +1439,46 @@ "visibility": "internal" } ], - "src": "5428:34:1" + "src": "5582:34:0" }, "returnParameters": { - "id": 631, + "id": 123, "nodeType": "ParameterList", "parameters": [], - "src": "5471:0:1" + "src": "5625:0:0" }, - "scope": 655, - "src": "5402:70:1", + "scope": 147, + "src": "5556:70:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 633, + "id": 125, "nodeType": "StructuredDocumentation", - "src": "5478:138:1", + "src": "5634:142:0", "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, "functionSelector": "e985e9c5", - "id": 642, + "id": 134, "implemented": false, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 638, + "id": 130, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 635, + "id": 127, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5647:13:1", + "scope": 134, + "src": "5808:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1486,10 +1486,10 @@ "typeString": "address" }, "typeName": { - "id": 634, + "id": 126, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5647:7:1", + "src": "5808:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1500,12 +1500,12 @@ }, { "constant": false, - "id": 637, + "id": 129, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5662:16:1", + "scope": 134, + "src": "5823:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1513,10 +1513,10 @@ "typeString": "address" }, "typeName": { - "id": 636, + "id": 128, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5662:7:1", + "src": "5823:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1526,20 +1526,20 @@ "visibility": "internal" } ], - "src": "5646:33:1" + "src": "5807:33:0" }, "returnParameters": { - "id": 641, + "id": 133, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 640, + "id": 132, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5703:4:1", + "scope": 134, + "src": "5864:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1547,10 +1547,10 @@ "typeString": "bool" }, "typeName": { - "id": 639, + "id": 131, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5703:4:1", + "src": "5864:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1559,40 +1559,40 @@ "visibility": "internal" } ], - "src": "5702:6:1" + "src": "5863:6:0" }, - "scope": 655, - "src": "5621:88:1", + "scope": 147, + "src": "5782:88:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 643, + "id": 135, "nodeType": "StructuredDocumentation", - "src": "5715:568:1", + "src": "5878:580:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "b88d4fde", - "id": 654, + "id": 146, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 652, + "id": 144, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 645, + "id": 137, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6314:12:1", + "scope": 146, + "src": "6490:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1600,10 +1600,10 @@ "typeString": "address" }, "typeName": { - "id": 644, + "id": 136, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6314:7:1", + "src": "6490:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1614,12 +1614,12 @@ }, { "constant": false, - "id": 647, + "id": 139, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6328:10:1", + "scope": 146, + "src": "6504:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1627,10 +1627,10 @@ "typeString": "address" }, "typeName": { - "id": 646, + "id": 138, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6328:7:1", + "src": "6504:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1641,12 +1641,12 @@ }, { "constant": false, - "id": 649, + "id": 141, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6340:15:1", + "scope": 146, + "src": "6516:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1654,10 +1654,10 @@ "typeString": "uint256" }, "typeName": { - "id": 648, + "id": 140, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6340:7:1", + "src": "6516:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1667,12 +1667,12 @@ }, { "constant": false, - "id": 651, + "id": 143, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6357:19:1", + "scope": 146, + "src": "6533:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -1680,10 +1680,10 @@ "typeString": "bytes" }, "typeName": { - "id": 650, + "id": 142, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6357:5:1", + "src": "6533:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -1692,26 +1692,26 @@ "visibility": "internal" } ], - "src": "6313:64:1" + "src": "6489:64:0" }, "returnParameters": { - "id": 653, + "id": 145, "nodeType": "ParameterList", "parameters": [], - "src": "6386:0:1" + "src": "6562:0:0" }, - "scope": 655, - "src": "6288:99:1", + "scope": 147, + "src": "6464:99:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1975:4414:1" + "scope": 2991, + "src": "2033:4533:0" }, { - "id": 656, + "id": 148, "literals": [ "solidity", ">=", @@ -1722,81 +1722,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 658, + "id": 150, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "6654:7:1", + "referencedDeclaration": 147, + "src": "6841:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 659, + "id": 151, "nodeType": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 657, + "id": 149, "nodeType": "StructuredDocumentation", - "src": "6491:133:1", + "src": "6674:136:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 680, + "id": 172, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 660, + "id": 152, "nodeType": "StructuredDocumentation", - "src": "6669:58:1", + "src": "6858:60:0", "text": " @dev Returns the token collection name." }, "functionSelector": "06fdde03", - "id": 665, + "id": 157, "implemented": false, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "parameters": { - "id": 661, + "id": 153, "nodeType": "ParameterList", "parameters": [], - "src": "6745:2:1" + "src": "6937:2:0" }, "returnParameters": { - "id": 664, + "id": 156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 663, + "id": 155, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 665, - "src": "6771:13:1", + "scope": 157, + "src": "6963:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1804,10 +1804,10 @@ "typeString": "string" }, "typeName": { - "id": 662, + "id": 154, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6771:6:1", + "src": "6963:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1816,46 +1816,46 @@ "visibility": "internal" } ], - "src": "6770:15:1" + "src": "6962:15:0" }, - "scope": 680, - "src": "6732:54:1", + "scope": 172, + "src": "6924:54:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 666, + "id": 158, "nodeType": "StructuredDocumentation", - "src": "6792:60:1", + "src": "6986:62:0", "text": " @dev Returns the token collection symbol." }, "functionSelector": "95d89b41", - "id": 671, + "id": 163, "implemented": false, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "parameters": { - "id": 667, + "id": 159, "nodeType": "ParameterList", "parameters": [], - "src": "6872:2:1" + "src": "7069:2:0" }, "returnParameters": { - "id": 670, + "id": 162, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 669, + "id": 161, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 671, - "src": "6898:13:1", + "scope": 163, + "src": "7095:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1863,10 +1863,10 @@ "typeString": "string" }, "typeName": { - "id": 668, + "id": 160, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6898:6:1", + "src": "7095:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1875,40 +1875,40 @@ "visibility": "internal" } ], - "src": "6897:15:1" + "src": "7094:15:0" }, - "scope": 680, - "src": "6857:56:1", + "scope": 172, + "src": "7054:56:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 672, + "id": 164, "nodeType": "StructuredDocumentation", - "src": "6919:90:1", + "src": "7118:92:0", "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, "functionSelector": "c87b56dd", - "id": 679, + "id": 171, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 675, + "id": 167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 674, + "id": 166, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7032:15:1", + "scope": 171, + "src": "7234:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1916,10 +1916,10 @@ "typeString": "uint256" }, "typeName": { - "id": 673, + "id": 165, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7032:7:1", + "src": "7234:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1928,20 +1928,20 @@ "visibility": "internal" } ], - "src": "7031:17:1" + "src": "7233:17:0" }, "returnParameters": { - "id": 678, + "id": 170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 677, + "id": 169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7072:13:1", + "scope": 171, + "src": "7274:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1949,10 +1949,10 @@ "typeString": "string" }, "typeName": { - "id": 676, + "id": 168, "name": "string", "nodeType": "ElementaryTypeName", - "src": "7072:6:1", + "src": "7274:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1961,20 +1961,20 @@ "visibility": "internal" } ], - "src": "7071:15:1" + "src": "7273:15:0" }, - "scope": 680, - "src": "7014:73:1", + "scope": 172, + "src": "7216:73:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "6625:464:1" + "scope": 2991, + "src": "6812:480:0" }, { - "id": 681, + "id": 173, "literals": [ "solidity", ">=", @@ -1985,81 +1985,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 683, + "id": 175, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "7363:7:1", + "referencedDeclaration": 147, + "src": "7578:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 684, + "id": 176, "nodeType": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 682, + "id": 174, "nodeType": "StructuredDocumentation", - "src": "7195:136:1", + "src": "7406:139:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 709, + "id": 201, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 685, + "id": 177, "nodeType": "StructuredDocumentation", - "src": "7378:82:1", + "src": "7595:84:0", "text": " @dev Returns the total amount of tokens stored by the contract." }, "functionSelector": "18160ddd", - "id": 690, + "id": 182, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { - "id": 686, + "id": 178, "nodeType": "ParameterList", "parameters": [], - "src": "7485:2:1" + "src": "7705:2:0" }, "returnParameters": { - "id": 689, + "id": 181, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 688, + "id": 180, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 690, - "src": "7511:7:1", + "scope": 182, + "src": "7731:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2067,10 +2067,10 @@ "typeString": "uint256" }, "typeName": { - "id": 687, + "id": 179, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7511:7:1", + "src": "7731:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2079,40 +2079,40 @@ "visibility": "internal" } ], - "src": "7510:9:1" + "src": "7730:9:0" }, - "scope": 709, - "src": "7465:55:1", + "scope": 201, + "src": "7685:55:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 691, + "id": 183, "nodeType": "StructuredDocumentation", - "src": "7526:171:1", + "src": "7748:174:0", "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, "functionSelector": "2f745c59", - "id": 700, + "id": 192, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 696, + "id": 188, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 693, + "id": 185, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7731:13:1", + "scope": 192, + "src": "7957:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2120,10 +2120,10 @@ "typeString": "address" }, "typeName": { - "id": 692, + "id": 184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7731:7:1", + "src": "7957:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2134,12 +2134,12 @@ }, { "constant": false, - "id": 695, + "id": 187, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7746:13:1", + "scope": 192, + "src": "7972:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2147,10 +2147,10 @@ "typeString": "uint256" }, "typeName": { - "id": 694, + "id": 186, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7746:7:1", + "src": "7972:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2159,20 +2159,20 @@ "visibility": "internal" } ], - "src": "7730:30:1" + "src": "7956:30:0" }, "returnParameters": { - "id": 699, + "id": 191, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 698, + "id": 190, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7784:15:1", + "scope": 192, + "src": "8010:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2180,10 +2180,10 @@ "typeString": "uint256" }, "typeName": { - "id": 697, + "id": 189, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7784:7:1", + "src": "8010:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2192,40 +2192,40 @@ "visibility": "internal" } ], - "src": "7783:17:1" + "src": "8009:17:0" }, - "scope": 709, - "src": "7702:99:1", + "scope": 201, + "src": "7928:99:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 701, + "id": 193, "nodeType": "StructuredDocumentation", - "src": "7807:164:1", + "src": "8035:167:0", "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, "functionSelector": "4f6ccce7", - "id": 708, + "id": 200, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 704, + "id": 196, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 703, + "id": 195, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "7998:13:1", + "scope": 200, + "src": "8230:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2233,10 +2233,10 @@ "typeString": "uint256" }, "typeName": { - "id": 702, + "id": 194, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7998:7:1", + "src": "8230:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2245,20 +2245,20 @@ "visibility": "internal" } ], - "src": "7997:15:1" + "src": "8229:15:0" }, "returnParameters": { - "id": 707, + "id": 199, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 706, + "id": 198, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "8036:7:1", + "scope": 200, + "src": "8268:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2266,10 +2266,10 @@ "typeString": "uint256" }, "typeName": { - "id": 705, + "id": 197, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8036:7:1", + "src": "8268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2278,20 +2278,20 @@ "visibility": "internal" } ], - "src": "8035:9:1" + "src": "8267:9:0" }, - "scope": 709, - "src": "7976:69:1", + "scope": 201, + "src": "8208:69:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "7332:715:1" + "scope": 2991, + "src": "7547:733:0" }, { - "id": 710, + "id": 202, "literals": [ "solidity", ">=", @@ -2302,7 +2302,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "abstract": false, @@ -2310,45 +2310,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 711, + "id": 203, "nodeType": "StructuredDocumentation", - "src": "8150:152:1", + "src": "8390:156:0", "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, "fullyImplemented": false, - "id": 726, + "id": 218, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 712, + "id": 204, "nodeType": "StructuredDocumentation", - "src": "8335:485:1", + "src": "8581:493:0", "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, "functionSelector": "150b7a02", - "id": 725, + "id": 217, "implemented": false, "kind": "function", "modifiers": [], "name": "onERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 721, + "id": 213, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 714, + "id": 206, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8851:16:1", + "scope": 217, + "src": "9106:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2356,10 +2356,10 @@ "typeString": "address" }, "typeName": { - "id": 713, + "id": 205, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8851:7:1", + "src": "9106:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2370,12 +2370,12 @@ }, { "constant": false, - "id": 716, + "id": 208, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8869:12:1", + "scope": 217, + "src": "9124:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2383,10 +2383,10 @@ "typeString": "address" }, "typeName": { - "id": 715, + "id": 207, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8869:7:1", + "src": "9124:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2397,12 +2397,12 @@ }, { "constant": false, - "id": 718, + "id": 210, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8883:15:1", + "scope": 217, + "src": "9138:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2410,10 +2410,10 @@ "typeString": "uint256" }, "typeName": { - "id": 717, + "id": 209, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8883:7:1", + "src": "9138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2423,12 +2423,12 @@ }, { "constant": false, - "id": 720, + "id": 212, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8900:19:1", + "scope": 217, + "src": "9155:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -2436,10 +2436,10 @@ "typeString": "bytes" }, "typeName": { - "id": 719, + "id": 211, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8900:5:1", + "src": "9155:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2448,20 +2448,20 @@ "visibility": "internal" } ], - "src": "8850:70:1" + "src": "9105:70:0" }, "returnParameters": { - "id": 724, + "id": 216, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 723, + "id": 215, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8939:6:1", + "scope": 217, + "src": "9194:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2469,10 +2469,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 722, + "id": 214, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "8939:6:1", + "src": "9194:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2481,20 +2481,20 @@ "visibility": "internal" } ], - "src": "8938:8:1" + "src": "9193:8:0" }, - "scope": 726, - "src": "8825:122:1", + "scope": 218, + "src": "9080:122:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "8303:646:1" + "scope": 2991, + "src": "8548:657:0" }, { - "id": 727, + "id": 219, "literals": [ "solidity", ">=", @@ -2505,55 +2505,55 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "abstract": true, "baseContracts": [ { "baseName": { - "id": 729, + "id": 221, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "9243:7:1", + "referencedDeclaration": 33, + "src": "9511:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 730, + "id": 222, "nodeType": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "documentation": { - "id": 728, + "id": 220, "nodeType": "StructuredDocumentation", - "src": "9043:171:1", + "src": "9305:176:0", "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, "fullyImplemented": true, - "id": 781, + "id": 273, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", "nodeType": "ContractDefinition", "nodes": [ { "constant": true, - "id": 733, + "id": 225, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9340:57:1", + "scope": 273, + "src": "9612:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2561,10 +2561,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 731, + "id": 223, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9340:6:1", + "src": "9612:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2572,14 +2572,14 @@ }, "value": { "hexValue": "30783031666663396137", - "id": 732, + "id": 224, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9387:10:1", + "src": "9659:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_33540519_by_1", "typeString": "int_const 33540519" @@ -2591,17 +2591,17 @@ { "constant": false, "documentation": { - "id": 734, + "id": 226, "nodeType": "StructuredDocumentation", - "src": "9404:82:1", + "src": "9678:84:0", "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 738, + "id": 230, "mutability": "mutable", "name": "_supportedInterfaces", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9491:52:1", + "scope": 273, + "src": "9768:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2609,28 +2609,28 @@ "typeString": "mapping(bytes4 => bool)" }, "typeName": { - "id": 737, + "id": 229, "keyType": { - "id": 735, + "id": 227, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9499:6:1", + "src": "9776:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "nodeType": "Mapping", - "src": "9491:23:1", + "src": "9768:23:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" }, "valueType": { - "id": 736, + "id": 228, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9509:4:1", + "src": "9786:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2641,20 +2641,20 @@ }, { "body": { - "id": 745, + "id": 237, "nodeType": "Block", - "src": "9565:193:1", + "src": "9844:197:0", "statements": [ { "expression": { "arguments": [ { - "id": 742, + "id": 234, "name": "_INTERFACE_ID_ERC165", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 733, - "src": "9730:20:1", + "referencedDeclaration": 225, + "src": "10012:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2668,18 +2668,18 @@ "typeString": "bytes4" } ], - "id": 741, + "id": 233, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "9711:18:1", + "referencedDeclaration": 272, + "src": "9993:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 743, + "id": 235, "isConstant": false, "isLValue": false, "isPure": false, @@ -2687,74 +2687,74 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9711:40:1", + "src": "9993:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 744, + "id": 236, "nodeType": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ] }, - "id": 746, + "id": 238, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 739, + "id": 231, "nodeType": "ParameterList", "parameters": [], - "src": "9562:2:1" + "src": "9841:2:0" }, "returnParameters": { - "id": 740, + "id": 232, "nodeType": "ParameterList", "parameters": [], - "src": "9565:0:1" + "src": "9844:0:0" }, - "scope": 781, - "src": "9550:208:1", + "scope": 273, + "src": "9829:212:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "baseFunctions": [ - 540 + 32 ], "body": { - "id": 759, + "id": 251, "nodeType": "Block", - "src": "9999:57:1", + "src": "10289:59:0", "statements": [ { "expression": { "baseExpression": { - "id": 755, + "id": 247, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10016:20:1", + "referencedDeclaration": 230, + "src": "10307:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 757, + "id": 249, "indexExpression": { - "id": 756, + "id": 248, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 749, - "src": "10037:11:1", + "referencedDeclaration": 241, + "src": "10328:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2765,50 +2765,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10016:33:1", + "src": "10307:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 754, - "id": 758, + "functionReturnParameters": 246, + "id": 250, "nodeType": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ] }, "documentation": { - "id": 747, + "id": 239, "nodeType": "StructuredDocumentation", - "src": "9764:139:1", + "src": "10049:143:0", "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 760, + "id": 252, "implemented": true, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "overrides": { - "id": 751, + "id": 243, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "9975:8:1" + "src": "10265:8:0" }, "parameters": { - "id": 750, + "id": 242, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 749, + "id": 241, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9935:18:1", + "scope": 252, + "src": "10225:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2816,10 +2816,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 748, + "id": 240, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9935:6:1", + "src": "10225:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2828,20 +2828,20 @@ "visibility": "internal" } ], - "src": "9934:20:1" + "src": "10224:20:0" }, "returnParameters": { - "id": 754, + "id": 246, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 753, + "id": 245, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9993:4:1", + "scope": 252, + "src": "10283:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2849,10 +2849,10 @@ "typeString": "bool" }, "typeName": { - "id": 752, + "id": 244, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9993:4:1", + "src": "10283:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2861,19 +2861,19 @@ "visibility": "internal" } ], - "src": "9992:6:1" + "src": "10282:6:0" }, - "scope": 781, - "src": "9908:148:1", + "scope": 273, + "src": "10198:150:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 779, + "id": 271, "nodeType": "Block", - "src": "10515:133:1", + "src": "10820:136:0", "statements": [ { "expression": { @@ -2883,18 +2883,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 769, + "id": 261, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 767, + "id": 259, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10533:11:1", + "referencedDeclaration": 255, + "src": "10839:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2904,21 +2904,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30786666666666666666", - "id": 768, + "id": 260, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10548:10:1", + "src": "10854:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_4294967295_by_1", "typeString": "int_const 4294967295" }, "value": "0xffffffff" }, - "src": "10533:25:1", + "src": "10839:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2926,14 +2926,14 @@ }, { "hexValue": "4552433136353a20696e76616c696420696e74657266616365206964", - "id": 770, + "id": 262, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "10560:30:1", + "src": "10866:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_282912c0dfceceb28d77d0333f496b83948f9ba5b3154358a8b140b849289dee", "typeString": "literal_string \"ERC165: invalid interface id\"" @@ -2952,7 +2952,7 @@ "typeString": "literal_string \"ERC165: invalid interface id\"" } ], - "id": 766, + "id": 258, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -2960,13 +2960,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "10525:7:1", + "src": "10831:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 771, + "id": 263, "isConstant": false, "isLValue": false, "isPure": false, @@ -2974,45 +2974,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10525:66:1", + "src": "10831:66:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 772, + "id": 264, "nodeType": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "expression": { - "id": 777, + "id": 269, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 773, + "id": 265, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10601:20:1", + "referencedDeclaration": 230, + "src": "10908:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 775, + "id": 267, "indexExpression": { - "id": 774, + "id": 266, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10622:11:1", + "referencedDeclaration": 255, + "src": "10929:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3023,7 +3023,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "10601:33:1", + "src": "10908:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3033,56 +3033,56 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 776, + "id": 268, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "10637:4:1", + "src": "10944:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "10601:40:1", + "src": "10908:40:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 778, + "id": 270, "nodeType": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ] }, "documentation": { - "id": 761, + "id": 253, "nodeType": "StructuredDocumentation", - "src": "10062:383:1", + "src": "10356:393:0", "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 780, + "id": 272, "implemented": true, "kind": "function", "modifiers": [], "name": "_registerInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 764, + "id": 256, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 763, + "id": 255, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 780, - "src": "10478:18:1", + "scope": 272, + "src": "10783:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3090,10 +3090,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 762, + "id": 254, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "10478:6:1", + "src": "10783:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3102,26 +3102,26 @@ "visibility": "internal" } ], - "src": "10477:20:1" + "src": "10782:20:0" }, "returnParameters": { - "id": 765, + "id": 257, "nodeType": "ParameterList", "parameters": [], - "src": "10515:0:1" + "src": "10820:0:0" }, - "scope": 781, - "src": "10450:198:1", + "scope": 273, + "src": "10755:201:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "9215:1435:1" + "scope": 2991, + "src": "9483:1476:0" }, { - "id": 782, + "id": 274, "literals": [ "solidity", ">=", @@ -3132,7 +3132,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "abstract": false, @@ -3140,38 +3140,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 783, + "id": 275, "nodeType": "StructuredDocumentation", - "src": "10736:563:1", + "src": "11050:575:0", "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, "fullyImplemented": true, - "id": 1135, + "id": 627, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 813, + "id": 305, "nodeType": "Block", - "src": "11535:98:1", + "src": "11868:102:0", "statements": [ { "assignments": [ - 796 + 288 ], "declarations": [ { "constant": false, - "id": 796, + "id": 288, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 813, - "src": "11545:9:1", + "scope": 305, + "src": "11879:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3179,10 +3179,10 @@ "typeString": "uint256" }, "typeName": { - "id": 795, + "id": 287, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11545:7:1", + "src": "11879:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3191,24 +3191,24 @@ "visibility": "internal" } ], - "id": 800, + "id": 292, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 799, + "id": 291, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 797, + "id": 289, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11557:1:1", + "referencedDeclaration": 278, + "src": "11891:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3217,25 +3217,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 798, + "id": 290, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 788, - "src": "11561:1:1", + "referencedDeclaration": 280, + "src": "11895:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11557:5:1", + "src": "11891:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "condition": { @@ -3243,18 +3243,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 803, + "id": 295, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 801, + "id": 293, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11576:1:1", + "referencedDeclaration": 288, + "src": "11911:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3263,39 +3263,39 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 802, + "id": 294, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11580:1:1", + "referencedDeclaration": 278, + "src": "11915:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11576:5:1", + "src": "11911:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 808, + "id": 300, "nodeType": "IfStatement", - "src": "11572:28:1", + "src": "11907:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 804, + "id": 296, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11591:5:1", + "src": "11926:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3304,14 +3304,14 @@ }, { "hexValue": "30", - "id": 805, + "id": 297, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11598:1:1", + "src": "11933:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3319,23 +3319,23 @@ "value": "0" } ], - "id": 806, + "id": 298, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11590:10:1", + "src": "11925:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 794, - "id": 807, + "functionReturnParameters": 286, + "id": 299, "nodeType": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } }, { @@ -3343,14 +3343,14 @@ "components": [ { "hexValue": "74727565", - "id": 809, + "id": 301, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11618:4:1", + "src": "11954:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3358,62 +3358,62 @@ "value": "true" }, { - "id": 810, + "id": 302, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11624:1:1", + "referencedDeclaration": 288, + "src": "11960:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 811, + "id": 303, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11617:9:1", + "src": "11953:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 794, - "id": 812, + "functionReturnParameters": 286, + "id": 304, "nodeType": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ] }, "documentation": { - "id": 784, + "id": 276, "nodeType": "StructuredDocumentation", - "src": "11323:131:1", + "src": "11651:135:0", "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 814, + "id": 306, "implemented": true, "kind": "function", "modifiers": [], "name": "tryAdd", "nodeType": "FunctionDefinition", "parameters": { - "id": 789, + "id": 281, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 786, + "id": 278, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11475:9:1", + "scope": 306, + "src": "11808:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3421,10 +3421,10 @@ "typeString": "uint256" }, "typeName": { - "id": 785, + "id": 277, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11475:7:1", + "src": "11808:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3434,12 +3434,12 @@ }, { "constant": false, - "id": 788, + "id": 280, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11486:9:1", + "scope": 306, + "src": "11819:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3447,10 +3447,10 @@ "typeString": "uint256" }, "typeName": { - "id": 787, + "id": 279, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11486:7:1", + "src": "11819:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3459,20 +3459,20 @@ "visibility": "internal" } ], - "src": "11474:22:1" + "src": "11807:22:0" }, "returnParameters": { - "id": 794, + "id": 286, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 791, + "id": 283, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11520:4:1", + "scope": 306, + "src": "11853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3480,10 +3480,10 @@ "typeString": "bool" }, "typeName": { - "id": 790, + "id": 282, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11520:4:1", + "src": "11853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3493,12 +3493,12 @@ }, { "constant": false, - "id": 793, + "id": 285, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11526:7:1", + "scope": 306, + "src": "11859:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3506,10 +3506,10 @@ "typeString": "uint256" }, "typeName": { - "id": 792, + "id": 284, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11526:7:1", + "src": "11859:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3518,19 +3518,19 @@ "visibility": "internal" } ], - "src": "11519:15:1" + "src": "11852:15:0" }, - "scope": 1135, - "src": "11459:174:1", + "scope": 627, + "src": "11792:178:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 840, + "id": 332, "nodeType": "Block", - "src": "11855:75:1", + "src": "12199:78:0", "statements": [ { "condition": { @@ -3538,18 +3538,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 828, + "id": 320, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 826, + "id": 318, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11869:1:1", + "referencedDeclaration": 311, + "src": "12214:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3558,39 +3558,39 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 827, + "id": 319, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11873:1:1", + "referencedDeclaration": 309, + "src": "12218:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11869:5:1", + "src": "12214:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 833, + "id": 325, "nodeType": "IfStatement", - "src": "11865:28:1", + "src": "12210:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 829, + "id": 321, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11884:5:1", + "src": "12229:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3599,14 +3599,14 @@ }, { "hexValue": "30", - "id": 830, + "id": 322, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11891:1:1", + "src": "12236:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3614,23 +3614,23 @@ "value": "0" } ], - "id": 831, + "id": 323, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11883:10:1", + "src": "12228:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 825, - "id": 832, + "functionReturnParameters": 317, + "id": 324, "nodeType": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } }, { @@ -3638,14 +3638,14 @@ "components": [ { "hexValue": "74727565", - "id": 834, + "id": 326, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11911:4:1", + "src": "12257:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3657,18 +3657,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 837, + "id": 329, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 835, + "id": 327, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11917:1:1", + "referencedDeclaration": 309, + "src": "12263:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3677,68 +3677,68 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 836, + "id": 328, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11921:1:1", + "referencedDeclaration": 311, + "src": "12267:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11917:5:1", + "src": "12263:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 838, + "id": 330, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11910:13:1", + "src": "12256:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 825, - "id": 839, + "functionReturnParameters": 317, + "id": 331, "nodeType": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ] }, "documentation": { - "id": 815, + "id": 307, "nodeType": "StructuredDocumentation", - "src": "11639:135:1", + "src": "11978:139:0", "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 841, + "id": 333, "implemented": true, "kind": "function", "modifiers": [], "name": "trySub", "nodeType": "FunctionDefinition", "parameters": { - "id": 820, + "id": 312, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 817, + "id": 309, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11795:9:1", + "scope": 333, + "src": "12139:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3746,10 +3746,10 @@ "typeString": "uint256" }, "typeName": { - "id": 816, + "id": 308, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11795:7:1", + "src": "12139:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3759,12 +3759,12 @@ }, { "constant": false, - "id": 819, + "id": 311, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11806:9:1", + "scope": 333, + "src": "12150:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3772,10 +3772,10 @@ "typeString": "uint256" }, "typeName": { - "id": 818, + "id": 310, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11806:7:1", + "src": "12150:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3784,20 +3784,20 @@ "visibility": "internal" } ], - "src": "11794:22:1" + "src": "12138:22:0" }, "returnParameters": { - "id": 825, + "id": 317, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 822, + "id": 314, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11840:4:1", + "scope": 333, + "src": "12184:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3805,10 +3805,10 @@ "typeString": "bool" }, "typeName": { - "id": 821, + "id": 313, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11840:4:1", + "src": "12184:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3818,12 +3818,12 @@ }, { "constant": false, - "id": 824, + "id": 316, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11846:7:1", + "scope": 333, + "src": "12190:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3831,10 +3831,10 @@ "typeString": "uint256" }, "typeName": { - "id": 823, + "id": 315, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11846:7:1", + "src": "12190:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3843,19 +3843,19 @@ "visibility": "internal" } ], - "src": "11839:15:1" + "src": "12183:15:0" }, - "scope": 1135, - "src": "11779:151:1", + "scope": 627, + "src": "12123:154:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 881, + "id": 373, "nodeType": "Block", - "src": "12154:359:1", + "src": "12508:367:0", "statements": [ { "condition": { @@ -3863,18 +3863,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 855, + "id": 347, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 853, + "id": 345, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12386:1:1", + "referencedDeclaration": 336, + "src": "12744:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3884,42 +3884,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 854, + "id": 346, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12391:1:1", + "src": "12749:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12386:6:1", + "src": "12744:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 860, + "id": 352, "nodeType": "IfStatement", - "src": "12382:28:1", + "src": "12740:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "74727565", - "id": 856, + "id": 348, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12402:4:1", + "src": "12760:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3928,14 +3928,14 @@ }, { "hexValue": "30", - "id": 857, + "id": 349, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12408:1:1", + "src": "12766:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3943,38 +3943,38 @@ "value": "0" } ], - "id": 858, + "id": 350, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12401:9:1", + "src": "12759:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 859, + "functionReturnParameters": 344, + "id": 351, "nodeType": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } }, { "assignments": [ - 862 + 354 ], "declarations": [ { "constant": false, - "id": 862, + "id": 354, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 881, - "src": "12420:9:1", + "scope": 373, + "src": "12779:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3982,10 +3982,10 @@ "typeString": "uint256" }, "typeName": { - "id": 861, + "id": 353, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12420:7:1", + "src": "12779:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3994,24 +3994,24 @@ "visibility": "internal" } ], - "id": 866, + "id": 358, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 865, + "id": 357, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 863, + "id": 355, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12432:1:1", + "referencedDeclaration": 336, + "src": "12791:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4020,25 +4020,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 864, + "id": 356, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12436:1:1", + "referencedDeclaration": 338, + "src": "12795:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12432:5:1", + "src": "12791:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "condition": { @@ -4046,7 +4046,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 871, + "id": 363, "isConstant": false, "isLValue": false, "isPure": false, @@ -4056,18 +4056,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 869, + "id": 361, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 867, + "id": 359, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12451:1:1", + "referencedDeclaration": 354, + "src": "12811:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4076,18 +4076,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 868, + "id": 360, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12455:1:1", + "referencedDeclaration": 336, + "src": "12815:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:5:1", + "src": "12811:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4096,39 +4096,39 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 870, + "id": 362, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12460:1:1", + "referencedDeclaration": 338, + "src": "12820:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:10:1", + "src": "12811:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 876, + "id": 368, "nodeType": "IfStatement", - "src": "12447:33:1", + "src": "12807:33:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 872, + "id": 364, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12471:5:1", + "src": "12831:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4137,14 +4137,14 @@ }, { "hexValue": "30", - "id": 873, + "id": 365, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12478:1:1", + "src": "12838:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4152,23 +4152,23 @@ "value": "0" } ], - "id": 874, + "id": 366, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12470:10:1", + "src": "12830:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 875, + "functionReturnParameters": 344, + "id": 367, "nodeType": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } }, { @@ -4176,14 +4176,14 @@ "components": [ { "hexValue": "74727565", - "id": 877, + "id": 369, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12498:4:1", + "src": "12859:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4191,62 +4191,62 @@ "value": "true" }, { - "id": 878, + "id": 370, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12504:1:1", + "referencedDeclaration": 354, + "src": "12865:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 879, + "id": 371, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12497:9:1", + "src": "12858:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 852, - "id": 880, + "functionReturnParameters": 344, + "id": 372, "nodeType": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ] }, "documentation": { - "id": 842, + "id": 334, "nodeType": "StructuredDocumentation", - "src": "11936:137:1", + "src": "12285:141:0", "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 882, + "id": 374, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMul", "nodeType": "FunctionDefinition", "parameters": { - "id": 847, + "id": 339, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 844, + "id": 336, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12094:9:1", + "scope": 374, + "src": "12448:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4254,10 +4254,10 @@ "typeString": "uint256" }, "typeName": { - "id": 843, + "id": 335, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12094:7:1", + "src": "12448:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4267,12 +4267,12 @@ }, { "constant": false, - "id": 846, + "id": 338, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12105:9:1", + "scope": 374, + "src": "12459:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4280,10 +4280,10 @@ "typeString": "uint256" }, "typeName": { - "id": 845, + "id": 337, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12105:7:1", + "src": "12459:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4292,20 +4292,20 @@ "visibility": "internal" } ], - "src": "12093:22:1" + "src": "12447:22:0" }, "returnParameters": { - "id": 852, + "id": 344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 849, + "id": 341, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12139:4:1", + "scope": 374, + "src": "12493:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4313,10 +4313,10 @@ "typeString": "bool" }, "typeName": { - "id": 848, + "id": 340, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12139:4:1", + "src": "12493:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4326,12 +4326,12 @@ }, { "constant": false, - "id": 851, + "id": 343, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12145:7:1", + "scope": 374, + "src": "12499:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4339,10 +4339,10 @@ "typeString": "uint256" }, "typeName": { - "id": 850, + "id": 342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12145:7:1", + "src": "12499:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4351,19 +4351,19 @@ "visibility": "internal" } ], - "src": "12138:15:1" + "src": "12492:15:0" }, - "scope": 1135, - "src": "12078:435:1", + "scope": 627, + "src": "12432:443:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 908, + "id": 400, "nodeType": "Block", - "src": "12738:76:1", + "src": "13107:79:0", "statements": [ { "condition": { @@ -4371,18 +4371,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 896, + "id": 388, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 894, + "id": 386, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12752:1:1", + "referencedDeclaration": 379, + "src": "13122:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4392,42 +4392,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 895, + "id": 387, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12757:1:1", + "src": "13127:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12752:6:1", + "src": "13122:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 901, + "id": 393, "nodeType": "IfStatement", - "src": "12748:29:1", + "src": "13118:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 897, + "id": 389, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12768:5:1", + "src": "13138:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4436,14 +4436,14 @@ }, { "hexValue": "30", - "id": 898, + "id": 390, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12775:1:1", + "src": "13145:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4451,23 +4451,23 @@ "value": "0" } ], - "id": 899, + "id": 391, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12767:10:1", + "src": "13137:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 893, - "id": 900, + "functionReturnParameters": 385, + "id": 392, "nodeType": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } }, { @@ -4475,14 +4475,14 @@ "components": [ { "hexValue": "74727565", - "id": 902, + "id": 394, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12795:4:1", + "src": "13166:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4494,18 +4494,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 905, + "id": 397, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 903, + "id": 395, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 885, - "src": "12801:1:1", + "referencedDeclaration": 377, + "src": "13172:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4514,68 +4514,68 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 904, + "id": 396, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12805:1:1", + "referencedDeclaration": 379, + "src": "13176:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12801:5:1", + "src": "13172:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 906, + "id": 398, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12794:13:1", + "src": "13165:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 893, - "id": 907, + "functionReturnParameters": 385, + "id": 399, "nodeType": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ] }, "documentation": { - "id": 883, + "id": 375, "nodeType": "StructuredDocumentation", - "src": "12519:138:1", + "src": "12883:142:0", "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 909, + "id": 401, "implemented": true, "kind": "function", "modifiers": [], "name": "tryDiv", "nodeType": "FunctionDefinition", "parameters": { - "id": 888, + "id": 380, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 885, + "id": 377, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12678:9:1", + "scope": 401, + "src": "13047:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4583,10 +4583,10 @@ "typeString": "uint256" }, "typeName": { - "id": 884, + "id": 376, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12678:7:1", + "src": "13047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4596,12 +4596,12 @@ }, { "constant": false, - "id": 887, + "id": 379, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12689:9:1", + "scope": 401, + "src": "13058:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4609,10 +4609,10 @@ "typeString": "uint256" }, "typeName": { - "id": 886, + "id": 378, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12689:7:1", + "src": "13058:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4621,20 +4621,20 @@ "visibility": "internal" } ], - "src": "12677:22:1" + "src": "13046:22:0" }, "returnParameters": { - "id": 893, + "id": 385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 890, + "id": 382, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12723:4:1", + "scope": 401, + "src": "13092:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4642,10 +4642,10 @@ "typeString": "bool" }, "typeName": { - "id": 889, + "id": 381, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12723:4:1", + "src": "13092:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4655,12 +4655,12 @@ }, { "constant": false, - "id": 892, + "id": 384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12729:7:1", + "scope": 401, + "src": "13098:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4668,10 +4668,10 @@ "typeString": "uint256" }, "typeName": { - "id": 891, + "id": 383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12729:7:1", + "src": "13098:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4680,19 +4680,19 @@ "visibility": "internal" } ], - "src": "12722:15:1" + "src": "13091:15:0" }, - "scope": 1135, - "src": "12662:152:1", + "scope": 627, + "src": "13031:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 935, + "id": 427, "nodeType": "Block", - "src": "13049:76:1", + "src": "13428:79:0", "statements": [ { "condition": { @@ -4700,18 +4700,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 923, + "id": 415, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 921, + "id": 413, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13063:1:1", + "referencedDeclaration": 406, + "src": "13443:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4721,42 +4721,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 922, + "id": 414, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13068:1:1", + "src": "13448:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "13063:6:1", + "src": "13443:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 928, + "id": 420, "nodeType": "IfStatement", - "src": "13059:29:1", + "src": "13439:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 924, + "id": 416, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13079:5:1", + "src": "13459:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4765,14 +4765,14 @@ }, { "hexValue": "30", - "id": 925, + "id": 417, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13086:1:1", + "src": "13466:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4780,23 +4780,23 @@ "value": "0" } ], - "id": 926, + "id": 418, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13078:10:1", + "src": "13458:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 920, - "id": 927, + "functionReturnParameters": 412, + "id": 419, "nodeType": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } }, { @@ -4804,14 +4804,14 @@ "components": [ { "hexValue": "74727565", - "id": 929, + "id": 421, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13106:4:1", + "src": "13487:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4823,18 +4823,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 932, + "id": 424, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 930, + "id": 422, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 912, - "src": "13112:1:1", + "referencedDeclaration": 404, + "src": "13493:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4843,68 +4843,68 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 931, + "id": 423, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13116:1:1", + "referencedDeclaration": 406, + "src": "13497:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13112:5:1", + "src": "13493:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 933, + "id": 425, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13105:13:1", + "src": "13486:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 920, - "id": 934, + "functionReturnParameters": 412, + "id": 426, "nodeType": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ] }, "documentation": { - "id": 910, + "id": 402, "nodeType": "StructuredDocumentation", - "src": "12820:148:1", + "src": "13194:152:0", "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 936, + "id": 428, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMod", "nodeType": "FunctionDefinition", "parameters": { - "id": 915, + "id": 407, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 912, + "id": 404, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "12989:9:1", + "scope": 428, + "src": "13368:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4912,10 +4912,10 @@ "typeString": "uint256" }, "typeName": { - "id": 911, + "id": 403, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12989:7:1", + "src": "13368:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4925,12 +4925,12 @@ }, { "constant": false, - "id": 914, + "id": 406, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13000:9:1", + "scope": 428, + "src": "13379:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4938,10 +4938,10 @@ "typeString": "uint256" }, "typeName": { - "id": 913, + "id": 405, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13000:7:1", + "src": "13379:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4950,20 +4950,20 @@ "visibility": "internal" } ], - "src": "12988:22:1" + "src": "13367:22:0" }, "returnParameters": { - "id": 920, + "id": 412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 917, + "id": 409, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13034:4:1", + "scope": 428, + "src": "13413:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4971,10 +4971,10 @@ "typeString": "bool" }, "typeName": { - "id": 916, + "id": 408, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "13034:4:1", + "src": "13413:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4984,12 +4984,12 @@ }, { "constant": false, - "id": 919, + "id": 411, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13040:7:1", + "scope": 428, + "src": "13419:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4997,10 +4997,10 @@ "typeString": "uint256" }, "typeName": { - "id": 918, + "id": 410, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13040:7:1", + "src": "13419:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5009,33 +5009,33 @@ "visibility": "internal" } ], - "src": "13033:15:1" + "src": "13412:15:0" }, - "scope": 1135, - "src": "12973:152:1", + "scope": 627, + "src": "13352:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 961, + "id": 453, "nodeType": "Block", - "src": "13427:108:1", + "src": "13821:112:0", "statements": [ { "assignments": [ - 947 + 439 ], "declarations": [ { "constant": false, - "id": 947, + "id": 439, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 961, - "src": "13437:9:1", + "scope": 453, + "src": "13832:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5043,10 +5043,10 @@ "typeString": "uint256" }, "typeName": { - "id": 946, + "id": 438, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13437:7:1", + "src": "13832:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5055,24 +5055,24 @@ "visibility": "internal" } ], - "id": 951, + "id": 443, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 950, + "id": 442, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 948, + "id": 440, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13449:1:1", + "referencedDeclaration": 431, + "src": "13844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5081,25 +5081,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 949, + "id": 441, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 941, - "src": "13453:1:1", + "referencedDeclaration": 433, + "src": "13848:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13449:5:1", + "src": "13844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "expression": { @@ -5109,18 +5109,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 955, + "id": 447, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 953, + "id": 445, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13472:1:1", + "referencedDeclaration": 439, + "src": "13868:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5129,18 +5129,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 954, + "id": 446, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13477:1:1", + "referencedDeclaration": 431, + "src": "13873:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13472:6:1", + "src": "13868:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5148,14 +5148,14 @@ }, { "hexValue": "536166654d6174683a206164646974696f6e206f766572666c6f77", - "id": 956, + "id": 448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13480:29:1", + "src": "13876:29:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_30cc447bcc13b3e22b45cef0dd9b0b514842d836dd9b6eb384e20dedfb47723a", "typeString": "literal_string \"SafeMath: addition overflow\"" @@ -5174,7 +5174,7 @@ "typeString": "literal_string \"SafeMath: addition overflow\"" } ], - "id": 952, + "id": 444, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5182,13 +5182,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13464:7:1", + "src": "13860:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 957, + "id": 449, "isConstant": false, "isLValue": false, "isPure": false, @@ -5196,61 +5196,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13464:46:1", + "src": "13860:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 958, + "id": 450, "nodeType": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "expression": { - "id": 959, + "id": 451, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13527:1:1", + "referencedDeclaration": 439, + "src": "13924:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 945, - "id": 960, + "functionReturnParameters": 437, + "id": 452, "nodeType": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ] }, "documentation": { - "id": 937, + "id": 429, "nodeType": "StructuredDocumentation", - "src": "13131:224:1", + "src": "13515:233:0", "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 962, + "id": 454, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 942, + "id": 434, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 939, + "id": 431, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13373:9:1", + "scope": 454, + "src": "13767:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5258,10 +5258,10 @@ "typeString": "uint256" }, "typeName": { - "id": 938, + "id": 430, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13373:7:1", + "src": "13767:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5271,12 +5271,12 @@ }, { "constant": false, - "id": 941, + "id": 433, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13384:9:1", + "scope": 454, + "src": "13778:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5284,10 +5284,10 @@ "typeString": "uint256" }, "typeName": { - "id": 940, + "id": 432, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13384:7:1", + "src": "13778:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5296,20 +5296,20 @@ "visibility": "internal" } ], - "src": "13372:22:1" + "src": "13766:22:0" }, "returnParameters": { - "id": 945, + "id": 437, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 944, + "id": 436, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13418:7:1", + "scope": 454, + "src": "13812:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5317,10 +5317,10 @@ "typeString": "uint256" }, "typeName": { - "id": 943, + "id": 435, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13418:7:1", + "src": "13812:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5329,19 +5329,19 @@ "visibility": "internal" } ], - "src": "13417:9:1" + "src": "13811:9:0" }, - "scope": 1135, - "src": "13360:175:1", + "scope": 627, + "src": "13754:179:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 983, + "id": 475, "nodeType": "Block", - "src": "13873:88:1", + "src": "14283:91:0", "statements": [ { "expression": { @@ -5351,18 +5351,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 975, + "id": 467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 973, + "id": 465, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13891:1:1", + "referencedDeclaration": 459, + "src": "14302:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5371,18 +5371,18 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 974, + "id": 466, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13896:1:1", + "referencedDeclaration": 457, + "src": "14307:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13891:6:1", + "src": "14302:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5390,14 +5390,14 @@ }, { "hexValue": "536166654d6174683a207375627472616374696f6e206f766572666c6f77", - "id": 976, + "id": 468, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13899:32:1", + "src": "14310:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_50b058e9b5320e58880d88223c9801cd9eecdcf90323d5c2318bc1b6b916e862", "typeString": "literal_string \"SafeMath: subtraction overflow\"" @@ -5416,7 +5416,7 @@ "typeString": "literal_string \"SafeMath: subtraction overflow\"" } ], - "id": 972, + "id": 464, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5424,13 +5424,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13883:7:1", + "src": "14294:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 977, + "id": 469, "isConstant": false, "isLValue": false, "isPure": false, @@ -5438,16 +5438,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13883:49:1", + "src": "14294:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 978, + "id": 470, "nodeType": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "expression": { @@ -5455,18 +5455,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 981, + "id": 473, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 979, + "id": 471, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13949:1:1", + "referencedDeclaration": 457, + "src": "14361:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5475,54 +5475,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 980, + "id": 472, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13953:1:1", + "referencedDeclaration": 459, + "src": "14365:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13949:5:1", + "src": "14361:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 971, - "id": 982, + "functionReturnParameters": 463, + "id": 474, "nodeType": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ] }, "documentation": { - "id": 963, + "id": 455, "nodeType": "StructuredDocumentation", - "src": "13541:260:1", + "src": "13941:269:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 984, + "id": 476, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 968, + "id": 460, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 965, + "id": 457, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13819:9:1", + "scope": 476, + "src": "14229:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5530,10 +5530,10 @@ "typeString": "uint256" }, "typeName": { - "id": 964, + "id": 456, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13819:7:1", + "src": "14229:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5543,12 +5543,12 @@ }, { "constant": false, - "id": 967, + "id": 459, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13830:9:1", + "scope": 476, + "src": "14240:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5556,10 +5556,10 @@ "typeString": "uint256" }, "typeName": { - "id": 966, + "id": 458, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13830:7:1", + "src": "14240:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5568,20 +5568,20 @@ "visibility": "internal" } ], - "src": "13818:22:1" + "src": "14228:22:0" }, "returnParameters": { - "id": 971, + "id": 463, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 970, + "id": 462, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13864:7:1", + "scope": 476, + "src": "14274:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5589,10 +5589,10 @@ "typeString": "uint256" }, "typeName": { - "id": 969, + "id": 461, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13864:7:1", + "src": "14274:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5601,19 +5601,19 @@ "visibility": "internal" } ], - "src": "13863:9:1" + "src": "14273:9:0" }, - "scope": 1135, - "src": "13806:155:1", + "scope": 627, + "src": "14216:158:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1017, + "id": 509, "nodeType": "Block", - "src": "14275:148:1", + "src": "14700:153:0", "statements": [ { "condition": { @@ -5621,18 +5621,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 996, + "id": 488, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 994, + "id": 486, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14289:1:1", + "referencedDeclaration": 479, + "src": "14715:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5642,65 +5642,65 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 995, + "id": 487, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14294:1:1", + "src": "14720:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14289:6:1", + "src": "14715:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 999, + "id": 491, "nodeType": "IfStatement", - "src": "14285:20:1", + "src": "14711:20:0", "trueBody": { "expression": { "hexValue": "30", - "id": 997, + "id": 489, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14304:1:1", + "src": "14730:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "functionReturnParameters": 993, - "id": 998, + "functionReturnParameters": 485, + "id": 490, "nodeType": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } }, { "assignments": [ - 1001 + 493 ], "declarations": [ { "constant": false, - "id": 1001, + "id": 493, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 1017, - "src": "14315:9:1", + "scope": 509, + "src": "14742:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5708,10 +5708,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1000, + "id": 492, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14315:7:1", + "src": "14742:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5720,24 +5720,24 @@ "visibility": "internal" } ], - "id": 1005, + "id": 497, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1004, + "id": 496, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1002, + "id": 494, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14327:1:1", + "referencedDeclaration": 479, + "src": "14754:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5746,25 +5746,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 1003, + "id": 495, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14331:1:1", + "referencedDeclaration": 481, + "src": "14758:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14327:5:1", + "src": "14754:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "expression": { @@ -5774,7 +5774,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1011, + "id": 503, "isConstant": false, "isLValue": false, "isPure": false, @@ -5784,18 +5784,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1009, + "id": 501, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1007, + "id": 499, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14350:1:1", + "referencedDeclaration": 493, + "src": "14778:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5804,18 +5804,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1008, + "id": 500, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14354:1:1", + "referencedDeclaration": 479, + "src": "14782:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:5:1", + "src": "14778:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5824,18 +5824,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 1010, + "id": 502, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14359:1:1", + "referencedDeclaration": 481, + "src": "14787:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:10:1", + "src": "14778:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5843,14 +5843,14 @@ }, { "hexValue": "536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77", - "id": 1012, + "id": 504, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14362:35:1", + "src": "14790:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9113bb53c2876a3805b2c9242029423fc540a728243ce887ab24c82cf119fba3", "typeString": "literal_string \"SafeMath: multiplication overflow\"" @@ -5869,7 +5869,7 @@ "typeString": "literal_string \"SafeMath: multiplication overflow\"" } ], - "id": 1006, + "id": 498, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5877,13 +5877,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14342:7:1", + "src": "14770:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1013, + "id": 505, "isConstant": false, "isLValue": false, "isPure": false, @@ -5891,61 +5891,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14342:56:1", + "src": "14770:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1014, + "id": 506, "nodeType": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "expression": { - "id": 1015, + "id": 507, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14415:1:1", + "referencedDeclaration": 493, + "src": "14844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 993, - "id": 1016, + "functionReturnParameters": 485, + "id": 508, "nodeType": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ] }, "documentation": { - "id": 985, + "id": 477, "nodeType": "StructuredDocumentation", - "src": "13967:236:1", + "src": "14382:245:0", "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 1018, + "id": 510, "implemented": true, "kind": "function", "modifiers": [], "name": "mul", "nodeType": "FunctionDefinition", "parameters": { - "id": 990, + "id": 482, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 987, + "id": 479, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14221:9:1", + "scope": 510, + "src": "14646:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5953,10 +5953,10 @@ "typeString": "uint256" }, "typeName": { - "id": 986, + "id": 478, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14221:7:1", + "src": "14646:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5966,12 +5966,12 @@ }, { "constant": false, - "id": 989, + "id": 481, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14232:9:1", + "scope": 510, + "src": "14657:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5979,10 +5979,10 @@ "typeString": "uint256" }, "typeName": { - "id": 988, + "id": 480, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14232:7:1", + "src": "14657:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5991,20 +5991,20 @@ "visibility": "internal" } ], - "src": "14220:22:1" + "src": "14645:22:0" }, "returnParameters": { - "id": 993, + "id": 485, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 992, + "id": 484, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14266:7:1", + "scope": 510, + "src": "14691:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6012,10 +6012,10 @@ "typeString": "uint256" }, "typeName": { - "id": 991, + "id": 483, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14266:7:1", + "src": "14691:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6024,19 +6024,19 @@ "visibility": "internal" } ], - "src": "14265:9:1" + "src": "14690:9:0" }, - "scope": 1135, - "src": "14208:215:1", + "scope": 627, + "src": "14633:220:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1039, + "id": 531, "nodeType": "Block", - "src": "14954:83:1", + "src": "15398:86:0", "statements": [ { "expression": { @@ -6046,18 +6046,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1031, + "id": 523, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1029, + "id": 521, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "14972:1:1", + "referencedDeclaration": 515, + "src": "15417:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6067,21 +6067,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1030, + "id": 522, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14976:1:1", + "src": "15421:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14972:5:1", + "src": "15417:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6089,14 +6089,14 @@ }, { "hexValue": "536166654d6174683a206469766973696f6e206279207a65726f", - "id": 1032, + "id": 524, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14979:28:1", + "src": "15424:28:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5b7cc70dda4dc2143e5adb63bd5d1f349504f461dbdfd9bc76fac1f8ca6d019f", "typeString": "literal_string \"SafeMath: division by zero\"" @@ -6115,7 +6115,7 @@ "typeString": "literal_string \"SafeMath: division by zero\"" } ], - "id": 1028, + "id": 520, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6123,13 +6123,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14964:7:1", + "src": "15409:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1033, + "id": 525, "isConstant": false, "isLValue": false, "isPure": false, @@ -6137,16 +6137,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14964:44:1", + "src": "15409:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1034, + "id": 526, "nodeType": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "expression": { @@ -6154,18 +6154,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1037, + "id": 529, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1035, + "id": 527, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1021, - "src": "15025:1:1", + "referencedDeclaration": 513, + "src": "15471:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6174,54 +6174,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1036, + "id": 528, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "15029:1:1", + "referencedDeclaration": 515, + "src": "15475:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15025:5:1", + "src": "15471:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1027, - "id": 1038, + "functionReturnParameters": 519, + "id": 530, "nodeType": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ] }, "documentation": { - "id": 1019, + "id": 511, "nodeType": "StructuredDocumentation", - "src": "14429:453:1", + "src": "14861:464:0", "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1040, + "id": 532, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1024, + "id": 516, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1021, + "id": 513, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14900:9:1", + "scope": 532, + "src": "15344:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6229,10 +6229,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1020, + "id": 512, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14900:7:1", + "src": "15344:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6242,12 +6242,12 @@ }, { "constant": false, - "id": 1023, + "id": 515, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14911:9:1", + "scope": 532, + "src": "15355:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6255,10 +6255,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1022, + "id": 514, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14911:7:1", + "src": "15355:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6267,20 +6267,20 @@ "visibility": "internal" } ], - "src": "14899:22:1" + "src": "15343:22:0" }, "returnParameters": { - "id": 1027, + "id": 519, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1026, + "id": 518, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14945:7:1", + "scope": 532, + "src": "15389:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6288,10 +6288,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1025, + "id": 517, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14945:7:1", + "src": "15389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6300,19 +6300,19 @@ "visibility": "internal" } ], - "src": "14944:9:1" + "src": "15388:9:0" }, - "scope": 1135, - "src": "14887:150:1", + "scope": 627, + "src": "15331:153:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1061, + "id": 553, "nodeType": "Block", - "src": "15557:81:1", + "src": "16018:84:0", "statements": [ { "expression": { @@ -6322,18 +6322,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1053, + "id": 545, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1051, + "id": 543, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15575:1:1", + "referencedDeclaration": 537, + "src": "16037:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6343,21 +6343,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1052, + "id": 544, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15579:1:1", + "src": "16041:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "15575:5:1", + "src": "16037:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6365,14 +6365,14 @@ }, { "hexValue": "536166654d6174683a206d6f64756c6f206279207a65726f", - "id": 1054, + "id": 546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "15582:26:1", + "src": "16044:26:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_726e51f7b81fce0a68f5f214f445e275313b20b1633f08ce954ee39abf8d7832", "typeString": "literal_string \"SafeMath: modulo by zero\"" @@ -6391,7 +6391,7 @@ "typeString": "literal_string \"SafeMath: modulo by zero\"" } ], - "id": 1050, + "id": 542, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6399,13 +6399,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "15567:7:1", + "src": "16029:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1055, + "id": 547, "isConstant": false, "isLValue": false, "isPure": false, @@ -6413,16 +6413,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15567:42:1", + "src": "16029:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1056, + "id": 548, "nodeType": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "expression": { @@ -6430,18 +6430,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1059, + "id": 551, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1057, + "id": 549, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1043, - "src": "15626:1:1", + "referencedDeclaration": 535, + "src": "16089:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6450,54 +6450,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1058, + "id": 550, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15630:1:1", + "referencedDeclaration": 537, + "src": "16093:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15626:5:1", + "src": "16089:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1049, - "id": 1060, + "functionReturnParameters": 541, + "id": 552, "nodeType": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ] }, "documentation": { - "id": 1041, + "id": 533, "nodeType": "StructuredDocumentation", - "src": "15043:442:1", + "src": "15492:453:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1062, + "id": 554, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1046, + "id": 538, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1043, + "id": 535, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15503:9:1", + "scope": 554, + "src": "15964:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6505,10 +6505,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1042, + "id": 534, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15503:7:1", + "src": "15964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6518,12 +6518,12 @@ }, { "constant": false, - "id": 1045, + "id": 537, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15514:9:1", + "scope": 554, + "src": "15975:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6531,10 +6531,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1044, + "id": 536, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15514:7:1", + "src": "15975:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6543,20 +6543,20 @@ "visibility": "internal" } ], - "src": "15502:22:1" + "src": "15963:22:0" }, "returnParameters": { - "id": 1049, + "id": 541, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1048, + "id": 540, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15548:7:1", + "scope": 554, + "src": "16009:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6564,10 +6564,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1047, + "id": 539, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15548:7:1", + "src": "16009:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6576,19 +6576,19 @@ "visibility": "internal" } ], - "src": "15547:9:1" + "src": "16008:9:0" }, - "scope": 1135, - "src": "15490:148:1", + "scope": 627, + "src": "15951:151:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1085, + "id": 577, "nodeType": "Block", - "src": "16197:68:1", + "src": "16676:71:0", "statements": [ { "expression": { @@ -6598,18 +6598,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1077, + "id": 569, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1075, + "id": 567, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16215:1:1", + "referencedDeclaration": 559, + "src": "16695:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6618,30 +6618,30 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 1076, + "id": 568, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16220:1:1", + "referencedDeclaration": 557, + "src": "16700:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16215:6:1", + "src": "16695:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1078, + "id": 570, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1069, - "src": "16223:12:1", + "referencedDeclaration": 561, + "src": "16703:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6659,7 +6659,7 @@ "typeString": "string memory" } ], - "id": 1074, + "id": 566, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6667,13 +6667,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "16207:7:1", + "src": "16687:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1079, + "id": 571, "isConstant": false, "isLValue": false, "isPure": false, @@ -6681,16 +6681,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16207:29:1", + "src": "16687:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1080, + "id": 572, "nodeType": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "expression": { @@ -6698,18 +6698,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1083, + "id": 575, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1081, + "id": 573, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16253:1:1", + "referencedDeclaration": 557, + "src": "16734:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6718,54 +6718,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 1082, + "id": 574, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16257:1:1", + "referencedDeclaration": 559, + "src": "16738:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16253:5:1", + "src": "16734:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1073, - "id": 1084, + "functionReturnParameters": 565, + "id": 576, "nodeType": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ] }, "documentation": { - "id": 1063, + "id": 555, "nodeType": "StructuredDocumentation", - "src": "15644:453:1", + "src": "16110:465:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1086, + "id": 578, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 1070, + "id": 562, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1065, + "id": 557, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16115:9:1", + "scope": 578, + "src": "16594:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6773,10 +6773,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1064, + "id": 556, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16115:7:1", + "src": "16594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6786,12 +6786,12 @@ }, { "constant": false, - "id": 1067, + "id": 559, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16126:9:1", + "scope": 578, + "src": "16605:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6799,10 +6799,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1066, + "id": 558, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16126:7:1", + "src": "16605:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6812,12 +6812,12 @@ }, { "constant": false, - "id": 1069, + "id": 561, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16137:26:1", + "scope": 578, + "src": "16616:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -6825,10 +6825,10 @@ "typeString": "string" }, "typeName": { - "id": 1068, + "id": 560, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16137:6:1", + "src": "16616:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -6837,20 +6837,20 @@ "visibility": "internal" } ], - "src": "16114:50:1" + "src": "16593:50:0" }, "returnParameters": { - "id": 1073, + "id": 565, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1072, + "id": 564, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16188:7:1", + "scope": 578, + "src": "16667:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6858,10 +6858,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1071, + "id": 563, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16188:7:1", + "src": "16667:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6870,19 +6870,19 @@ "visibility": "internal" } ], - "src": "16187:9:1" + "src": "16666:9:0" }, - "scope": 1135, - "src": "16102:163:1", + "scope": 627, + "src": "16581:166:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1109, + "id": 601, "nodeType": "Block", - "src": "17017:67:1", + "src": "17516:70:0", "statements": [ { "expression": { @@ -6892,18 +6892,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1101, + "id": 593, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1099, + "id": 591, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17035:1:1", + "referencedDeclaration": 583, + "src": "17535:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6913,33 +6913,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1100, + "id": 592, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17039:1:1", + "src": "17539:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17035:5:1", + "src": "17535:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1102, + "id": 594, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1093, - "src": "17042:12:1", + "referencedDeclaration": 585, + "src": "17542:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6957,7 +6957,7 @@ "typeString": "string memory" } ], - "id": 1098, + "id": 590, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6965,13 +6965,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17027:7:1", + "src": "17527:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1103, + "id": 595, "isConstant": false, "isLValue": false, "isPure": false, @@ -6979,16 +6979,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17027:28:1", + "src": "17527:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1104, + "id": 596, "nodeType": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "expression": { @@ -6996,18 +6996,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1107, + "id": 599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1105, + "id": 597, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1089, - "src": "17072:1:1", + "referencedDeclaration": 581, + "src": "17573:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7016,54 +7016,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1106, + "id": 598, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17076:1:1", + "referencedDeclaration": 583, + "src": "17577:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17072:5:1", + "src": "17573:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1097, - "id": 1108, + "functionReturnParameters": 589, + "id": 600, "nodeType": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ] }, "documentation": { - "id": 1087, + "id": 579, "nodeType": "StructuredDocumentation", - "src": "16271:646:1", + "src": "16755:660:0", "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1110, + "id": 602, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1094, + "id": 586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1089, + "id": 581, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16935:9:1", + "scope": 602, + "src": "17434:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7071,10 +7071,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1088, + "id": 580, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16935:7:1", + "src": "17434:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7084,12 +7084,12 @@ }, { "constant": false, - "id": 1091, + "id": 583, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16946:9:1", + "scope": 602, + "src": "17445:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7097,10 +7097,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1090, + "id": 582, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16946:7:1", + "src": "17445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7110,12 +7110,12 @@ }, { "constant": false, - "id": 1093, + "id": 585, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16957:26:1", + "scope": 602, + "src": "17456:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7123,10 +7123,10 @@ "typeString": "string" }, "typeName": { - "id": 1092, + "id": 584, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16957:6:1", + "src": "17456:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7135,20 +7135,20 @@ "visibility": "internal" } ], - "src": "16934:50:1" + "src": "17433:50:0" }, "returnParameters": { - "id": 1097, + "id": 589, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1096, + "id": 588, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "17008:7:1", + "scope": 602, + "src": "17507:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7156,10 +7156,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1095, + "id": 587, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17008:7:1", + "src": "17507:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7168,19 +7168,19 @@ "visibility": "internal" } ], - "src": "17007:9:1" + "src": "17506:9:0" }, - "scope": 1135, - "src": "16922:162:1", + "scope": 627, + "src": "17421:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1133, + "id": 625, "nodeType": "Block", - "src": "17825:67:1", + "src": "18344:70:0", "statements": [ { "expression": { @@ -7190,18 +7190,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1125, + "id": 617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1123, + "id": 615, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17843:1:1", + "referencedDeclaration": 607, + "src": "18363:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7211,33 +7211,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1124, + "id": 616, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17847:1:1", + "src": "18367:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17843:5:1", + "src": "18363:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1126, + "id": 618, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1117, - "src": "17850:12:1", + "referencedDeclaration": 609, + "src": "18370:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7255,7 +7255,7 @@ "typeString": "string memory" } ], - "id": 1122, + "id": 614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7263,13 +7263,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17835:7:1", + "src": "18355:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1127, + "id": 619, "isConstant": false, "isLValue": false, "isPure": false, @@ -7277,16 +7277,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17835:28:1", + "src": "18355:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1128, + "id": 620, "nodeType": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "expression": { @@ -7294,18 +7294,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1131, + "id": 623, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1129, + "id": 621, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1113, - "src": "17880:1:1", + "referencedDeclaration": 605, + "src": "18401:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7314,54 +7314,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1130, + "id": 622, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17884:1:1", + "referencedDeclaration": 607, + "src": "18405:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17880:5:1", + "src": "18401:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1121, - "id": 1132, + "functionReturnParameters": 613, + "id": 624, "nodeType": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ] }, "documentation": { - "id": 1111, + "id": 603, "nodeType": "StructuredDocumentation", - "src": "17090:635:1", + "src": "17594:649:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1134, + "id": 626, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1118, + "id": 610, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1113, + "id": 605, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17743:9:1", + "scope": 626, + "src": "18262:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7369,10 +7369,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1112, + "id": 604, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17743:7:1", + "src": "18262:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7382,12 +7382,12 @@ }, { "constant": false, - "id": 1115, + "id": 607, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17754:9:1", + "scope": 626, + "src": "18273:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7395,10 +7395,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1114, + "id": 606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17754:7:1", + "src": "18273:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7408,12 +7408,12 @@ }, { "constant": false, - "id": 1117, + "id": 609, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17765:26:1", + "scope": 626, + "src": "18284:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7421,10 +7421,10 @@ "typeString": "string" }, "typeName": { - "id": 1116, + "id": 608, "name": "string", "nodeType": "ElementaryTypeName", - "src": "17765:6:1", + "src": "18284:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7433,20 +7433,20 @@ "visibility": "internal" } ], - "src": "17742:50:1" + "src": "18261:50:0" }, "returnParameters": { - "id": 1121, + "id": 613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1120, + "id": 612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17816:7:1", + "scope": 626, + "src": "18335:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7454,10 +7454,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1119, + "id": 611, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17816:7:1", + "src": "18335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7466,20 +7466,20 @@ "visibility": "internal" } ], - "src": "17815:9:1" + "src": "18334:9:0" }, - "scope": 1135, - "src": "17730:162:1", + "scope": 627, + "src": "18249:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "11300:6594:1" + "scope": 2991, + "src": "11627:6790:0" }, { - "id": 1136, + "id": 628, "literals": [ "solidity", ">=", @@ -7490,7 +7490,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "abstract": false, @@ -7498,38 +7498,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1137, + "id": 629, "nodeType": "StructuredDocumentation", - "src": "17980:67:1", + "src": "18508:69:0", "text": " @dev Collection of functions related to the address type" }, "fullyImplemented": true, - "id": 1430, + "id": 922, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1153, + "id": 645, "nodeType": "Block", - "src": "18706:347:1", + "src": "19255:356:0", "statements": [ { "assignments": [ - 1146 + 638 ], "declarations": [ { "constant": false, - "id": 1146, + "id": 638, "mutability": "mutable", "name": "size", "nodeType": "VariableDeclaration", - "scope": 1153, - "src": "18903:12:1", + "scope": 645, + "src": "19457:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7537,10 +7537,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1145, + "id": 637, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "18903:7:1", + "src": "19457:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7549,39 +7549,39 @@ "visibility": "internal" } ], - "id": 1147, + "id": 639, "nodeType": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "AST": { "nodeType": "YulBlock", - "src": "18990:32:1", + "src": "19546:32:0", "statements": [ { "nodeType": "YulAssignment", - "src": "18992:28:1", + "src": "19548:28:0", "value": { "arguments": [ { "name": "account", "nodeType": "YulIdentifier", - "src": "19012:7:1" + "src": "19568:7:0" } ], "functionName": { "name": "extcodesize", "nodeType": "YulIdentifier", - "src": "19000:11:1" + "src": "19556:11:0" }, "nodeType": "YulFunctionCall", - "src": "19000:20:1" + "src": "19556:20:0" }, "variableNames": [ { "name": "size", "nodeType": "YulIdentifier", - "src": "18992:4:1" + "src": "19548:4:0" } ] } @@ -7590,23 +7590,23 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], - "id": 1148, + "id": 640, "nodeType": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "expression": { @@ -7614,18 +7614,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1151, + "id": 643, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1149, + "id": 641, "name": "size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1146, - "src": "19038:4:1", + "referencedDeclaration": 638, + "src": "19595:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7635,57 +7635,57 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1150, + "id": 642, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19045:1:1", + "src": "19602:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "19038:8:1", + "src": "19595:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1144, - "id": 1152, + "functionReturnParameters": 636, + "id": 644, "nodeType": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ] }, "documentation": { - "id": 1138, + "id": 630, "nodeType": "StructuredDocumentation", - "src": "18070:565:1", + "src": "18602:581:0", "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1154, + "id": 646, "implemented": true, "kind": "function", "modifiers": [], "name": "isContract", "nodeType": "FunctionDefinition", "parameters": { - "id": 1141, + "id": 633, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1140, + "id": 632, "mutability": "mutable", "name": "account", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18660:15:1", + "scope": 646, + "src": "19209:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7693,10 +7693,10 @@ "typeString": "address" }, "typeName": { - "id": 1139, + "id": 631, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18660:7:1", + "src": "19209:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -7706,20 +7706,20 @@ "visibility": "internal" } ], - "src": "18659:17:1" + "src": "19208:17:0" }, "returnParameters": { - "id": 1144, + "id": 636, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1143, + "id": 635, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18700:4:1", + "scope": 646, + "src": "19249:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7727,10 +7727,10 @@ "typeString": "bool" }, "typeName": { - "id": 1142, + "id": 634, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "18700:4:1", + "src": "19249:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7739,19 +7739,19 @@ "visibility": "internal" } ], - "src": "18699:6:1" + "src": "19248:6:0" }, - "scope": 1430, - "src": "18640:413:1", + "scope": 922, + "src": "19189:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1187, + "id": 679, "nodeType": "Block", - "src": "20041:320:1", + "src": "20617:326:0", "statements": [ { "expression": { @@ -7761,7 +7761,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1169, + "id": 661, "isConstant": false, "isLValue": false, "isPure": false, @@ -7770,14 +7770,14 @@ "expression": { "arguments": [ { - "id": 1165, + "id": 657, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "20067:4:1", + "src": "20644:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -7785,30 +7785,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1164, + "id": 656, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1163, + "id": 655, "name": "address", "nodeType": "ElementaryTypeName", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": {} } }, - "id": 1166, + "id": 658, "isConstant": false, "isLValue": false, "isPure": false, @@ -7816,21 +7816,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20059:13:1", + "src": "20636:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1167, + "id": 659, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "20059:21:1", + "src": "20636:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7839,18 +7839,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1168, + "id": 660, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20084:6:1", + "referencedDeclaration": 651, + "src": "20661:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "20059:31:1", + "src": "20636:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7858,14 +7858,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e6365", - "id": 1170, + "id": 662, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20092:31:1", + "src": "20669:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9", "typeString": "literal_string \"Address: insufficient balance\"" @@ -7884,7 +7884,7 @@ "typeString": "literal_string \"Address: insufficient balance\"" } ], - "id": 1162, + "id": 654, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7892,13 +7892,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20051:7:1", + "src": "20628:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1171, + "id": 663, "isConstant": false, "isLValue": false, "isPure": false, @@ -7906,31 +7906,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20051:73:1", + "src": "20628:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1172, + "id": 664, "nodeType": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "assignments": [ - 1174, + 666, null ], "declarations": [ { "constant": false, - "id": 1174, + "id": 666, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1187, - "src": "20213:12:1", + "scope": 679, + "src": "20793:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7938,10 +7938,10 @@ "typeString": "bool" }, "typeName": { - "id": 1173, + "id": 665, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "20213:4:1", + "src": "20793:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7951,19 +7951,19 @@ }, null ], - "id": 1181, + "id": 673, "initialValue": { "arguments": [ { "hexValue": "", - "id": 1179, + "id": 671, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20263:2:1", + "src": "20843:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -7986,31 +7986,31 @@ } ], "expression": { - "id": 1175, + "id": 667, "name": "recipient", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1157, - "src": "20231:9:1", + "referencedDeclaration": 649, + "src": "20811:9:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 1176, + "id": 668, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "20231:14:1", + "src": "20811:14:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1178, + "id": 670, "isConstant": false, "isLValue": false, "isPure": false, @@ -8021,25 +8021,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1177, + "id": 669, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20254:6:1", + "referencedDeclaration": 651, + "src": "20834:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "20231:31:1", + "src": "20811:31:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1180, + "id": 672, "isConstant": false, "isLValue": false, "isPure": false, @@ -8047,7 +8047,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20231:35:1", + "src": "20811:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -8055,18 +8055,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "expression": { "arguments": [ { - "id": 1183, + "id": 675, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1174, - "src": "20284:7:1", + "referencedDeclaration": 666, + "src": "20865:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8074,14 +8074,14 @@ }, { "hexValue": "416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564", - "id": 1184, + "id": 676, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20293:60:1", + "src": "20874:60:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae", "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" @@ -8100,7 +8100,7 @@ "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" } ], - "id": 1182, + "id": 674, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -8108,13 +8108,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20276:7:1", + "src": "20857:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1185, + "id": 677, "isConstant": false, "isLValue": false, "isPure": false, @@ -8122,43 +8122,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20276:78:1", + "src": "20857:78:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1186, + "id": 678, "nodeType": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ] }, "documentation": { - "id": 1155, + "id": 647, "nodeType": "StructuredDocumentation", - "src": "19059:906:1", + "src": "19619:921:0", "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1188, + "id": 680, "implemented": true, "kind": "function", "modifiers": [], "name": "sendValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1160, + "id": 652, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1157, + "id": 649, "mutability": "mutable", "name": "recipient", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "19989:25:1", + "scope": 680, + "src": "20565:25:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8166,10 +8166,10 @@ "typeString": "address payable" }, "typeName": { - "id": 1156, + "id": 648, "name": "address", "nodeType": "ElementaryTypeName", - "src": "19989:15:1", + "src": "20565:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -8180,12 +8180,12 @@ }, { "constant": false, - "id": 1159, + "id": 651, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "20016:14:1", + "scope": 680, + "src": "20592:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8193,10 +8193,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1158, + "id": 650, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "20016:7:1", + "src": "20592:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8205,48 +8205,48 @@ "visibility": "internal" } ], - "src": "19988:43:1" + "src": "20564:43:0" }, "returnParameters": { - "id": 1161, + "id": 653, "nodeType": "ParameterList", "parameters": [], - "src": "20041:0:1" + "src": "20617:0:0" }, - "scope": 1430, - "src": "19970:391:1", + "scope": 922, + "src": "20546:397:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1204, + "id": 696, "nodeType": "Block", - "src": "21191:82:1", + "src": "21793:84:0", "statements": [ { "expression": { "arguments": [ { - "id": 1199, + "id": 691, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1191, - "src": "21219:6:1", + "referencedDeclaration": 683, + "src": "21822:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1200, + "id": 692, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1193, - "src": "21227:4:1", + "referencedDeclaration": 685, + "src": "21830:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8254,14 +8254,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564", - "id": 1201, + "id": 693, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "21233:32:1", + "src": "21836:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", "typeString": "literal_string \"Address: low-level call failed\"" @@ -8284,21 +8284,21 @@ "typeString": "literal_string \"Address: low-level call failed\"" } ], - "id": 1198, + "id": 690, "name": "functionCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, - "src": "21206:12:1", + "referencedDeclaration": 717, + "src": "21809:12:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1202, + "id": 694, "isConstant": false, "isLValue": false, "isPure": false, @@ -8306,44 +8306,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21206:60:1", + "src": "21809:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1197, - "id": 1203, + "functionReturnParameters": 689, + "id": 695, "nodeType": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ] }, "documentation": { - "id": 1189, + "id": 681, "nodeType": "StructuredDocumentation", - "src": "20367:730:1", + "src": "20951:747:0", "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1205, + "id": 697, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1194, + "id": 686, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1191, + "id": 683, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21124:14:1", + "scope": 697, + "src": "21726:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8351,10 +8351,10 @@ "typeString": "address" }, "typeName": { - "id": 1190, + "id": 682, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21124:7:1", + "src": "21726:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8365,12 +8365,12 @@ }, { "constant": false, - "id": 1193, + "id": 685, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21140:17:1", + "scope": 697, + "src": "21742:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8378,10 +8378,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1192, + "id": 684, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21140:5:1", + "src": "21742:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8390,20 +8390,20 @@ "visibility": "internal" } ], - "src": "21123:35:1" + "src": "21725:35:0" }, "returnParameters": { - "id": 1197, + "id": 689, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1196, + "id": 688, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21177:12:1", + "scope": 697, + "src": "21779:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8411,10 +8411,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1195, + "id": 687, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21177:5:1", + "src": "21779:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8423,42 +8423,42 @@ "visibility": "internal" } ], - "src": "21176:14:1" + "src": "21778:14:0" }, - "scope": 1430, - "src": "21102:171:1", + "scope": 922, + "src": "21704:173:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1224, + "id": 716, "nodeType": "Block", - "src": "21612:76:1", + "src": "22224:78:0", "statements": [ { "expression": { "arguments": [ { - "id": 1218, + "id": 710, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1208, - "src": "21651:6:1", + "referencedDeclaration": 700, + "src": "22264:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1219, + "id": 711, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1210, - "src": "21659:4:1", + "referencedDeclaration": 702, + "src": "22272:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8466,14 +8466,14 @@ }, { "hexValue": "30", - "id": 1220, + "id": 712, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "21665:1:1", + "src": "22278:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -8481,12 +8481,12 @@ "value": "0" }, { - "id": 1221, + "id": 713, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1212, - "src": "21668:12:1", + "referencedDeclaration": 704, + "src": "22281:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -8512,21 +8512,21 @@ "typeString": "string memory" } ], - "id": 1217, + "id": 709, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "21629:21:1", + "referencedDeclaration": 787, + "src": "22242:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1222, + "id": 714, "isConstant": false, "isLValue": false, "isPure": false, @@ -8534,44 +8534,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21629:52:1", + "src": "22242:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1216, - "id": 1223, + "functionReturnParameters": 708, + "id": 715, "nodeType": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ] }, "documentation": { - "id": 1206, + "id": 698, "nodeType": "StructuredDocumentation", - "src": "21279:211:1", + "src": "21885:216:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1225, + "id": 717, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1213, + "id": 705, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1208, + "id": 700, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21517:14:1", + "scope": 717, + "src": "22129:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8579,10 +8579,10 @@ "typeString": "address" }, "typeName": { - "id": 1207, + "id": 699, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21517:7:1", + "src": "22129:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8593,12 +8593,12 @@ }, { "constant": false, - "id": 1210, + "id": 702, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21533:17:1", + "scope": 717, + "src": "22145:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8606,10 +8606,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1209, + "id": 701, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21533:5:1", + "src": "22145:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8619,12 +8619,12 @@ }, { "constant": false, - "id": 1212, + "id": 704, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21552:26:1", + "scope": 717, + "src": "22164:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8632,10 +8632,10 @@ "typeString": "string" }, "typeName": { - "id": 1211, + "id": 703, "name": "string", "nodeType": "ElementaryTypeName", - "src": "21552:6:1", + "src": "22164:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -8644,20 +8644,20 @@ "visibility": "internal" } ], - "src": "21516:63:1" + "src": "22128:63:0" }, "returnParameters": { - "id": 1216, + "id": 708, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1215, + "id": 707, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21598:12:1", + "scope": 717, + "src": "22210:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8665,10 +8665,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1214, + "id": 706, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21598:5:1", + "src": "22210:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8677,54 +8677,54 @@ "visibility": "internal" } ], - "src": "21597:14:1" + "src": "22209:14:0" }, - "scope": 1430, - "src": "21495:193:1", + "scope": 922, + "src": "22107:195:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1244, + "id": 736, "nodeType": "Block", - "src": "22163:111:1", + "src": "22790:113:0", "statements": [ { "expression": { "arguments": [ { - "id": 1238, + "id": 730, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1228, - "src": "22202:6:1", + "referencedDeclaration": 720, + "src": "22830:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1239, + "id": 731, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1230, - "src": "22210:4:1", + "referencedDeclaration": 722, + "src": "22838:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1240, + "id": 732, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1232, - "src": "22216:5:1", + "referencedDeclaration": 724, + "src": "22844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8732,14 +8732,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564", - "id": 1241, + "id": 733, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22223:43:1", + "src": "22851:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc", "typeString": "literal_string \"Address: low-level call with value failed\"" @@ -8766,21 +8766,21 @@ "typeString": "literal_string \"Address: low-level call with value failed\"" } ], - "id": 1237, + "id": 729, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "22180:21:1", + "referencedDeclaration": 787, + "src": "22808:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1242, + "id": 734, "isConstant": false, "isLValue": false, "isPure": false, @@ -8788,44 +8788,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22180:87:1", + "src": "22808:87:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1236, - "id": 1243, + "functionReturnParameters": 728, + "id": 735, "nodeType": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ] }, "documentation": { - "id": 1226, + "id": 718, "nodeType": "StructuredDocumentation", - "src": "21694:351:1", + "src": "22310:361:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1245, + "id": 737, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1233, + "id": 725, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1228, + "id": 720, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22081:14:1", + "scope": 737, + "src": "22708:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8833,10 +8833,10 @@ "typeString": "address" }, "typeName": { - "id": 1227, + "id": 719, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22081:7:1", + "src": "22708:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8847,12 +8847,12 @@ }, { "constant": false, - "id": 1230, + "id": 722, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22097:17:1", + "scope": 737, + "src": "22724:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8860,10 +8860,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1229, + "id": 721, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22097:5:1", + "src": "22724:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8873,12 +8873,12 @@ }, { "constant": false, - "id": 1232, + "id": 724, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22116:13:1", + "scope": 737, + "src": "22743:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8886,10 +8886,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1231, + "id": 723, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22116:7:1", + "src": "22743:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8898,20 +8898,20 @@ "visibility": "internal" } ], - "src": "22080:50:1" + "src": "22707:50:0" }, "returnParameters": { - "id": 1236, + "id": 728, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1235, + "id": 727, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22149:12:1", + "scope": 737, + "src": "22776:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8919,10 +8919,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1234, + "id": 726, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22149:5:1", + "src": "22776:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8931,19 +8931,19 @@ "visibility": "internal" } ], - "src": "22148:14:1" + "src": "22775:14:0" }, - "scope": 1430, - "src": "22050:224:1", + "scope": 922, + "src": "22677:226:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1294, + "id": 786, "nodeType": "Block", - "src": "22663:382:1", + "src": "23300:389:0", "statements": [ { "expression": { @@ -8953,7 +8953,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1266, + "id": 758, "isConstant": false, "isLValue": false, "isPure": false, @@ -8962,14 +8962,14 @@ "expression": { "arguments": [ { - "id": 1262, + "id": 754, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "22689:4:1", + "src": "23327:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -8977,30 +8977,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1261, + "id": 753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1260, + "id": 752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": {} } }, - "id": 1263, + "id": 755, "isConstant": false, "isLValue": false, "isPure": false, @@ -9008,21 +9008,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22681:13:1", + "src": "23319:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1264, + "id": 756, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "22681:21:1", + "src": "23319:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9031,18 +9031,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1265, + "id": 757, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22706:5:1", + "referencedDeclaration": 744, + "src": "23344:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "22681:30:1", + "src": "23319:30:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9050,14 +9050,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c", - "id": 1267, + "id": 759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22713:40:1", + "src": "23351:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c", "typeString": "literal_string \"Address: insufficient balance for call\"" @@ -9076,7 +9076,7 @@ "typeString": "literal_string \"Address: insufficient balance for call\"" } ], - "id": 1259, + "id": 751, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9084,13 +9084,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22673:7:1", + "src": "23311:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1268, + "id": 760, "isConstant": false, "isLValue": false, "isPure": false, @@ -9098,16 +9098,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22673:81:1", + "src": "23311:81:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1269, + "id": 761, "nodeType": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "expression": { @@ -9115,12 +9115,12 @@ { "arguments": [ { - "id": 1272, + "id": 764, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22783:6:1", + "referencedDeclaration": 740, + "src": "23422:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9134,18 +9134,18 @@ "typeString": "address" } ], - "id": 1271, + "id": 763, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "22772:10:1", + "referencedDeclaration": 646, + "src": "23411:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1273, + "id": 765, "isConstant": false, "isLValue": false, "isPure": false, @@ -9153,7 +9153,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22772:18:1", + "src": "23411:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9162,14 +9162,14 @@ }, { "hexValue": "416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1274, + "id": 766, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22792:31:1", + "src": "23431:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad", "typeString": "literal_string \"Address: call to non-contract\"" @@ -9188,7 +9188,7 @@ "typeString": "literal_string \"Address: call to non-contract\"" } ], - "id": 1270, + "id": 762, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9196,13 +9196,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22764:7:1", + "src": "23403:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1275, + "id": 767, "isConstant": false, "isLValue": false, "isPure": false, @@ -9210,31 +9210,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22764:60:1", + "src": "23403:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1276, + "id": 768, "nodeType": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "assignments": [ - 1278, - 1280 + 770, + 772 ], "declarations": [ { "constant": false, - "id": 1278, + "id": 770, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22895:12:1", + "scope": 786, + "src": "23537:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9242,10 +9242,10 @@ "typeString": "bool" }, "typeName": { - "id": 1277, + "id": 769, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "22895:4:1", + "src": "23537:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9255,12 +9255,12 @@ }, { "constant": false, - "id": 1280, + "id": 772, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22909:23:1", + "scope": 786, + "src": "23551:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9268,10 +9268,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1279, + "id": 771, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22909:5:1", + "src": "23551:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9280,16 +9280,16 @@ "visibility": "internal" } ], - "id": 1287, + "id": 779, "initialValue": { "arguments": [ { - "id": 1285, + "id": 777, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1250, - "src": "22964:4:1", + "referencedDeclaration": 742, + "src": "23606:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9311,31 +9311,31 @@ } ], "expression": { - "id": 1281, + "id": 773, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22936:6:1", + "referencedDeclaration": 740, + "src": "23578:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1282, + "id": 774, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "22936:11:1", + "src": "23578:11:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1284, + "id": 776, "isConstant": false, "isLValue": false, "isPure": false, @@ -9346,25 +9346,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1283, + "id": 775, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22956:5:1", + "referencedDeclaration": 744, + "src": "23598:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "22936:27:1", + "src": "23578:27:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1286, + "id": 778, "isConstant": false, "isLValue": false, "isPure": false, @@ -9372,7 +9372,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22936:33:1", + "src": "23578:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -9380,42 +9380,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "expression": { "arguments": [ { - "id": 1289, + "id": 781, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1278, - "src": "23004:7:1", + "referencedDeclaration": 770, + "src": "23647:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1290, + "id": 782, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1280, - "src": "23013:10:1", + "referencedDeclaration": 772, + "src": "23656:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1291, + "id": 783, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1254, - "src": "23025:12:1", + "referencedDeclaration": 746, + "src": "23668:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -9437,18 +9437,18 @@ "typeString": "string memory" } ], - "id": 1288, + "id": 780, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "22986:17:1", + "referencedDeclaration": 921, + "src": "23629:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1292, + "id": 784, "isConstant": false, "isLValue": false, "isPure": false, @@ -9456,44 +9456,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22986:52:1", + "src": "23629:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1258, - "id": 1293, + "functionReturnParameters": 750, + "id": 785, "nodeType": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ] }, "documentation": { - "id": 1246, + "id": 738, "nodeType": "StructuredDocumentation", - "src": "22280:237:1", + "src": "22911:242:0", "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1295, + "id": 787, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1255, + "id": 747, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1248, + "id": 740, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22553:14:1", + "scope": 787, + "src": "23190:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9501,10 +9501,10 @@ "typeString": "address" }, "typeName": { - "id": 1247, + "id": 739, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22553:7:1", + "src": "23190:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9515,12 +9515,12 @@ }, { "constant": false, - "id": 1250, + "id": 742, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22569:17:1", + "scope": 787, + "src": "23206:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9528,10 +9528,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1249, + "id": 741, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22569:5:1", + "src": "23206:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9541,12 +9541,12 @@ }, { "constant": false, - "id": 1252, + "id": 744, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22588:13:1", + "scope": 787, + "src": "23225:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9554,10 +9554,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1251, + "id": 743, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22588:7:1", + "src": "23225:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9567,12 +9567,12 @@ }, { "constant": false, - "id": 1254, + "id": 746, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22603:26:1", + "scope": 787, + "src": "23240:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9580,10 +9580,10 @@ "typeString": "string" }, "typeName": { - "id": 1253, + "id": 745, "name": "string", "nodeType": "ElementaryTypeName", - "src": "22603:6:1", + "src": "23240:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -9592,20 +9592,20 @@ "visibility": "internal" } ], - "src": "22552:78:1" + "src": "23189:78:0" }, "returnParameters": { - "id": 1258, + "id": 750, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1257, + "id": 749, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22649:12:1", + "scope": 787, + "src": "23286:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9613,10 +9613,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1256, + "id": 748, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22649:5:1", + "src": "23286:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9625,42 +9625,42 @@ "visibility": "internal" } ], - "src": "22648:14:1" + "src": "23285:14:0" }, - "scope": 1430, - "src": "22522:523:1", + "scope": 922, + "src": "23159:530:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1311, + "id": 803, "nodeType": "Block", - "src": "23322:97:1", + "src": "23974:99:0", "statements": [ { "expression": { "arguments": [ { - "id": 1306, + "id": 798, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1298, - "src": "23358:6:1", + "referencedDeclaration": 790, + "src": "24011:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1307, + "id": 799, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1300, - "src": "23366:4:1", + "referencedDeclaration": 792, + "src": "24019:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9668,14 +9668,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564", - "id": 1308, + "id": 800, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23372:39:1", + "src": "24025:39:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0", "typeString": "literal_string \"Address: low-level static call failed\"" @@ -9698,21 +9698,21 @@ "typeString": "literal_string \"Address: low-level static call failed\"" } ], - "id": 1305, + "id": 797, "name": "functionStaticCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, - "src": "23339:18:1", + "referencedDeclaration": 839, + "src": "23992:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) view returns (bytes memory)" } }, - "id": 1309, + "id": 801, "isConstant": false, "isLValue": false, "isPure": false, @@ -9720,44 +9720,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23339:73:1", + "src": "23992:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1304, - "id": 1310, + "functionReturnParameters": 796, + "id": 802, "nodeType": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ] }, "documentation": { - "id": 1296, + "id": 788, "nodeType": "StructuredDocumentation", - "src": "23051:166:1", + "src": "23697:171:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1312, + "id": 804, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1301, + "id": 793, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1298, + "id": 790, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23250:14:1", + "scope": 804, + "src": "23902:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9765,10 +9765,10 @@ "typeString": "address" }, "typeName": { - "id": 1297, + "id": 789, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23250:7:1", + "src": "23902:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9779,12 +9779,12 @@ }, { "constant": false, - "id": 1300, + "id": 792, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23266:17:1", + "scope": 804, + "src": "23918:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9792,10 +9792,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1299, + "id": 791, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23266:5:1", + "src": "23918:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9804,20 +9804,20 @@ "visibility": "internal" } ], - "src": "23249:35:1" + "src": "23901:35:0" }, "returnParameters": { - "id": 1304, + "id": 796, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1303, + "id": 795, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23308:12:1", + "scope": 804, + "src": "23960:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9825,10 +9825,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1302, + "id": 794, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23308:5:1", + "src": "23960:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9837,19 +9837,19 @@ "visibility": "internal" } ], - "src": "23307:14:1" + "src": "23959:14:0" }, - "scope": 1430, - "src": "23222:197:1", + "scope": 922, + "src": "23874:199:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1346, + "id": 838, "nodeType": "Block", - "src": "23731:288:1", + "src": "24393:294:0", "statements": [ { "expression": { @@ -9857,12 +9857,12 @@ { "arguments": [ { - "id": 1326, + "id": 818, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23760:6:1", + "referencedDeclaration": 807, + "src": "24423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9876,18 +9876,18 @@ "typeString": "address" } ], - "id": 1325, + "id": 817, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "23749:10:1", + "referencedDeclaration": 646, + "src": "24412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1327, + "id": 819, "isConstant": false, "isLValue": false, "isPure": false, @@ -9895,7 +9895,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23749:18:1", + "src": "24412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9904,14 +9904,14 @@ }, { "hexValue": "416464726573733a207374617469632063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1328, + "id": 820, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23769:38:1", + "src": "24432:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c79cc78e4f16ce3933a42b84c73868f93bb4a59c031a0acf576679de98c608a9", "typeString": "literal_string \"Address: static call to non-contract\"" @@ -9930,7 +9930,7 @@ "typeString": "literal_string \"Address: static call to non-contract\"" } ], - "id": 1324, + "id": 816, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9938,13 +9938,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "23741:7:1", + "src": "24404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1329, + "id": 821, "isConstant": false, "isLValue": false, "isPure": false, @@ -9952,31 +9952,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23741:67:1", + "src": "24404:67:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1330, + "id": 822, "nodeType": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "assignments": [ - 1332, - 1334 + 824, + 826 ], "declarations": [ { "constant": false, - "id": 1332, + "id": 824, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23879:12:1", + "scope": 838, + "src": "24545:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9984,10 +9984,10 @@ "typeString": "bool" }, "typeName": { - "id": 1331, + "id": 823, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "23879:4:1", + "src": "24545:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9997,12 +9997,12 @@ }, { "constant": false, - "id": 1334, + "id": 826, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23893:23:1", + "scope": 838, + "src": "24559:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10010,10 +10010,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1333, + "id": 825, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23893:5:1", + "src": "24559:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10022,16 +10022,16 @@ "visibility": "internal" } ], - "id": 1339, + "id": 831, "initialValue": { "arguments": [ { - "id": 1337, + "id": 829, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1317, - "src": "23938:4:1", + "referencedDeclaration": 809, + "src": "24604:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10046,31 +10046,31 @@ } ], "expression": { - "id": 1335, + "id": 827, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23920:6:1", + "referencedDeclaration": 807, + "src": "24586:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1336, + "id": 828, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "staticcall", "nodeType": "MemberAccess", - "src": "23920:17:1", + "src": "24586:17:0", "typeDescriptions": { "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) view returns (bool,bytes memory)" } }, - "id": 1338, + "id": 830, "isConstant": false, "isLValue": false, "isPure": false, @@ -10078,7 +10078,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23920:23:1", + "src": "24586:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10086,42 +10086,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "expression": { "arguments": [ { - "id": 1341, + "id": 833, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "23978:7:1", + "referencedDeclaration": 824, + "src": "24645:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1342, + "id": 834, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1334, - "src": "23987:10:1", + "referencedDeclaration": 826, + "src": "24654:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1343, + "id": 835, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1319, - "src": "23999:12:1", + "referencedDeclaration": 811, + "src": "24666:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10143,18 +10143,18 @@ "typeString": "string memory" } ], - "id": 1340, + "id": 832, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "23960:17:1", + "referencedDeclaration": 921, + "src": "24627:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1344, + "id": 836, "isConstant": false, "isLValue": false, "isPure": false, @@ -10162,44 +10162,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23960:52:1", + "src": "24627:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1323, - "id": 1345, + "functionReturnParameters": 815, + "id": 837, "nodeType": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ] }, "documentation": { - "id": 1313, + "id": 805, "nodeType": "StructuredDocumentation", - "src": "23425:173:1", + "src": "24081:178:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1347, + "id": 839, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1320, + "id": 812, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1315, + "id": 807, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23631:14:1", + "scope": 839, + "src": "24293:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10207,10 +10207,10 @@ "typeString": "address" }, "typeName": { - "id": 1314, + "id": 806, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23631:7:1", + "src": "24293:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10221,12 +10221,12 @@ }, { "constant": false, - "id": 1317, + "id": 809, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23647:17:1", + "scope": 839, + "src": "24309:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10234,10 +10234,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1316, + "id": 808, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23647:5:1", + "src": "24309:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10247,12 +10247,12 @@ }, { "constant": false, - "id": 1319, + "id": 811, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23666:26:1", + "scope": 839, + "src": "24328:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10260,10 +10260,10 @@ "typeString": "string" }, "typeName": { - "id": 1318, + "id": 810, "name": "string", "nodeType": "ElementaryTypeName", - "src": "23666:6:1", + "src": "24328:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10272,20 +10272,20 @@ "visibility": "internal" } ], - "src": "23630:63:1" + "src": "24292:63:0" }, "returnParameters": { - "id": 1323, + "id": 815, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1322, + "id": 814, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23717:12:1", + "scope": 839, + "src": "24379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10293,10 +10293,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1321, + "id": 813, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23717:5:1", + "src": "24379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10305,42 +10305,42 @@ "visibility": "internal" } ], - "src": "23716:14:1" + "src": "24378:14:0" }, - "scope": 1430, - "src": "23603:416:1", + "scope": 922, + "src": "24265:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1363, + "id": 855, "nodeType": "Block", - "src": "24295:101:1", + "src": "24971:103:0", "statements": [ { "expression": { "arguments": [ { - "id": 1358, + "id": 850, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1350, - "src": "24333:6:1", + "referencedDeclaration": 842, + "src": "25010:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1359, + "id": 851, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1352, - "src": "24341:4:1", + "referencedDeclaration": 844, + "src": "25018:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10348,14 +10348,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564", - "id": 1360, + "id": 852, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24347:41:1", + "src": "25024:41:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398", "typeString": "literal_string \"Address: low-level delegate call failed\"" @@ -10378,21 +10378,21 @@ "typeString": "literal_string \"Address: low-level delegate call failed\"" } ], - "id": 1357, + "id": 849, "name": "functionDelegateCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, - "src": "24312:20:1", + "referencedDeclaration": 891, + "src": "24989:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1361, + "id": 853, "isConstant": false, "isLValue": false, "isPure": false, @@ -10400,44 +10400,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24312:77:1", + "src": "24989:77:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1356, - "id": 1362, + "functionReturnParameters": 848, + "id": 854, "nodeType": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ] }, "documentation": { - "id": 1348, + "id": 840, "nodeType": "StructuredDocumentation", - "src": "24025:168:1", + "src": "24695:173:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1364, + "id": 856, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1353, + "id": 845, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1350, + "id": 842, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24228:14:1", + "scope": 856, + "src": "24904:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10445,10 +10445,10 @@ "typeString": "address" }, "typeName": { - "id": 1349, + "id": 841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24228:7:1", + "src": "24904:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10459,12 +10459,12 @@ }, { "constant": false, - "id": 1352, + "id": 844, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24244:17:1", + "scope": 856, + "src": "24920:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10472,10 +10472,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1351, + "id": 843, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24244:5:1", + "src": "24920:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10484,20 +10484,20 @@ "visibility": "internal" } ], - "src": "24227:35:1" + "src": "24903:35:0" }, "returnParameters": { - "id": 1356, + "id": 848, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1355, + "id": 847, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24281:12:1", + "scope": 856, + "src": "24957:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10505,10 +10505,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1354, + "id": 846, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24281:5:1", + "src": "24957:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10517,19 +10517,19 @@ "visibility": "internal" } ], - "src": "24280:14:1" + "src": "24956:14:0" }, - "scope": 1430, - "src": "24198:198:1", + "scope": 922, + "src": "24874:200:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1398, + "id": 890, "nodeType": "Block", - "src": "24707:292:1", + "src": "25393:298:0", "statements": [ { "expression": { @@ -10537,12 +10537,12 @@ { "arguments": [ { - "id": 1378, + "id": 870, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24736:6:1", + "referencedDeclaration": 859, + "src": "25423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10556,18 +10556,18 @@ "typeString": "address" } ], - "id": 1377, + "id": 869, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "24725:10:1", + "referencedDeclaration": 646, + "src": "25412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1379, + "id": 871, "isConstant": false, "isLValue": false, "isPure": false, @@ -10575,7 +10575,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24725:18:1", + "src": "25412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10584,14 +10584,14 @@ }, { "hexValue": "416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1380, + "id": 872, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24745:40:1", + "src": "25432:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b94ded0918034cf8f896e19fa3cfdef1188cd569c577264a3622e49152f88520", "typeString": "literal_string \"Address: delegate call to non-contract\"" @@ -10610,7 +10610,7 @@ "typeString": "literal_string \"Address: delegate call to non-contract\"" } ], - "id": 1376, + "id": 868, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -10618,13 +10618,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "24717:7:1", + "src": "25404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1381, + "id": 873, "isConstant": false, "isLValue": false, "isPure": false, @@ -10632,31 +10632,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24717:69:1", + "src": "25404:69:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1382, + "id": 874, "nodeType": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "assignments": [ - 1384, - 1386 + 876, + 878 ], "declarations": [ { "constant": false, - "id": 1384, + "id": 876, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24857:12:1", + "scope": 890, + "src": "25547:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10664,10 +10664,10 @@ "typeString": "bool" }, "typeName": { - "id": 1383, + "id": 875, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "24857:4:1", + "src": "25547:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10677,12 +10677,12 @@ }, { "constant": false, - "id": 1386, + "id": 878, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24871:23:1", + "scope": 890, + "src": "25561:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10690,10 +10690,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1385, + "id": 877, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24871:5:1", + "src": "25561:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10702,16 +10702,16 @@ "visibility": "internal" } ], - "id": 1391, + "id": 883, "initialValue": { "arguments": [ { - "id": 1389, + "id": 881, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1369, - "src": "24918:4:1", + "referencedDeclaration": 861, + "src": "25608:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10726,31 +10726,31 @@ } ], "expression": { - "id": 1387, + "id": 879, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24898:6:1", + "referencedDeclaration": 859, + "src": "25588:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1388, + "id": 880, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "delegatecall", "nodeType": "MemberAccess", - "src": "24898:19:1", + "src": "25588:19:0", "typeDescriptions": { "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) returns (bool,bytes memory)" } }, - "id": 1390, + "id": 882, "isConstant": false, "isLValue": false, "isPure": false, @@ -10758,7 +10758,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24898:25:1", + "src": "25588:25:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10766,42 +10766,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "expression": { "arguments": [ { - "id": 1393, + "id": 885, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1384, - "src": "24958:7:1", + "referencedDeclaration": 876, + "src": "25649:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1394, + "id": 886, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1386, - "src": "24967:10:1", + "referencedDeclaration": 878, + "src": "25658:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1395, + "id": 887, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1371, - "src": "24979:12:1", + "referencedDeclaration": 863, + "src": "25670:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10823,18 +10823,18 @@ "typeString": "string memory" } ], - "id": 1392, + "id": 884, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "24940:17:1", + "referencedDeclaration": 921, + "src": "25631:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1396, + "id": 888, "isConstant": false, "isLValue": false, "isPure": false, @@ -10842,44 +10842,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24940:52:1", + "src": "25631:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1375, - "id": 1397, + "functionReturnParameters": 867, + "id": 889, "nodeType": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ] }, "documentation": { - "id": 1365, + "id": 857, "nodeType": "StructuredDocumentation", - "src": "24402:175:1", + "src": "25082:180:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1399, + "id": 891, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1372, + "id": 864, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1367, + "id": 859, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24612:14:1", + "scope": 891, + "src": "25298:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10887,10 +10887,10 @@ "typeString": "address" }, "typeName": { - "id": 1366, + "id": 858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24612:7:1", + "src": "25298:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10901,12 +10901,12 @@ }, { "constant": false, - "id": 1369, + "id": 861, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24628:17:1", + "scope": 891, + "src": "25314:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10914,10 +10914,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1368, + "id": 860, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24628:5:1", + "src": "25314:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10927,12 +10927,12 @@ }, { "constant": false, - "id": 1371, + "id": 863, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24647:26:1", + "scope": 891, + "src": "25333:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10940,10 +10940,10 @@ "typeString": "string" }, "typeName": { - "id": 1370, + "id": 862, "name": "string", "nodeType": "ElementaryTypeName", - "src": "24647:6:1", + "src": "25333:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10952,20 +10952,20 @@ "visibility": "internal" } ], - "src": "24611:63:1" + "src": "25297:63:0" }, "returnParameters": { - "id": 1375, + "id": 867, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1374, + "id": 866, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24693:12:1", + "scope": 891, + "src": "25379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10973,10 +10973,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1373, + "id": 865, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24693:5:1", + "src": "25379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10985,37 +10985,37 @@ "visibility": "internal" } ], - "src": "24692:14:1" + "src": "25378:14:0" }, - "scope": 1430, - "src": "24582:417:1", + "scope": 922, + "src": "25268:423:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1428, + "id": 920, "nodeType": "Block", - "src": "25134:596:1", + "src": "25828:613:0", "statements": [ { "condition": { - "id": 1410, + "id": 902, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1401, - "src": "25148:7:1", + "referencedDeclaration": 893, + "src": "25843:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1426, + "id": 918, "nodeType": "Block", - "src": "25205:519:1", + "src": "25902:532:0", "statements": [ { "condition": { @@ -11023,32 +11023,32 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1417, + "id": 909, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1414, + "id": 906, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25289:10:1", + "referencedDeclaration": 895, + "src": "25988:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1415, + "id": 907, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "25289:17:1", + "src": "25988:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11058,41 +11058,41 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1416, + "id": 908, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "25309:1:1", + "src": "26008:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "25289:21:1", + "src": "25988:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1424, + "id": 916, "nodeType": "Block", - "src": "25661:53:1", + "src": "26368:55:0", "statements": [ { "expression": { "arguments": [ { - "id": 1421, + "id": 913, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1405, - "src": "25686:12:1", + "referencedDeclaration": 897, + "src": "26394:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -11106,7 +11106,7 @@ "typeString": "string memory" } ], - "id": 1420, + "id": 912, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -11114,13 +11114,13 @@ 4294967277 ], "referencedDeclaration": 4294967277, - "src": "25679:6:1", + "src": "26387:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", "typeString": "function (string memory) pure" } }, - "id": 1422, + "id": 914, "isConstant": false, "isLValue": false, "isPure": false, @@ -11128,56 +11128,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "25679:20:1", + "src": "26387:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1423, + "id": 915, "nodeType": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ] }, - "id": 1425, + "id": 917, "nodeType": "IfStatement", - "src": "25285:429:1", + "src": "25984:439:0", "trueBody": { - "id": 1419, + "id": 911, "nodeType": "Block", - "src": "25312:343:1", + "src": "26011:351:0", "statements": [ { "AST": { "nodeType": "YulBlock", - "src": "25496:145:1", + "src": "26199:148:0", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "25518:40:1", + "src": "26222:40:0", "value": { "arguments": [ { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25547:10:1" + "src": "26251:10:0" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "25541:5:1" + "src": "26245:5:0" }, "nodeType": "YulFunctionCall", - "src": "25541:17:1" + "src": "26245:17:0" }, "variables": [ { "name": "returndata_size", "nodeType": "YulTypedName", - "src": "25522:15:1", + "src": "26226:15:0", "type": "" } ] @@ -11190,118 +11190,118 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "25590:2:1", + "src": "26295:2:0", "type": "", "value": "32" }, { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25594:10:1" + "src": "26299:10:0" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "25586:3:1" + "src": "26291:3:0" }, "nodeType": "YulFunctionCall", - "src": "25586:19:1" + "src": "26291:19:0" }, { "name": "returndata_size", "nodeType": "YulIdentifier", - "src": "25607:15:1" + "src": "26312:15:0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "25579:6:1" + "src": "26284:6:0" }, "nodeType": "YulFunctionCall", - "src": "25579:44:1" + "src": "26284:44:0" }, "nodeType": "YulExpressionStatement", - "src": "25579:44:1" + "src": "26284:44:0" } ] }, "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], - "id": 1418, + "id": 910, "nodeType": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ] } } ] }, - "id": 1427, + "id": 919, "nodeType": "IfStatement", - "src": "25144:580:1", + "src": "25839:595:0", "trueBody": { - "id": 1413, + "id": 905, "nodeType": "Block", - "src": "25157:42:1", + "src": "25852:44:0", "statements": [ { "expression": { - "id": 1411, + "id": 903, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25178:10:1", + "referencedDeclaration": 895, + "src": "25874:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1409, - "id": 1412, + "functionReturnParameters": 901, + "id": 904, "nodeType": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ] } } ] }, - "id": 1429, + "id": 921, "implemented": true, "kind": "function", "modifiers": [], "name": "_verifyCallResult", "nodeType": "FunctionDefinition", "parameters": { - "id": 1406, + "id": 898, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1401, + "id": 893, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25032:12:1", + "scope": 921, + "src": "25726:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11309,10 +11309,10 @@ "typeString": "bool" }, "typeName": { - "id": 1400, + "id": 892, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "25032:4:1", + "src": "25726:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11322,12 +11322,12 @@ }, { "constant": false, - "id": 1403, + "id": 895, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25046:23:1", + "scope": 921, + "src": "25740:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11335,10 +11335,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1402, + "id": 894, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25046:5:1", + "src": "25740:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11348,12 +11348,12 @@ }, { "constant": false, - "id": 1405, + "id": 897, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25071:26:1", + "scope": 921, + "src": "25765:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11361,10 +11361,10 @@ "typeString": "string" }, "typeName": { - "id": 1404, + "id": 896, "name": "string", "nodeType": "ElementaryTypeName", - "src": "25071:6:1", + "src": "25765:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11373,20 +11373,20 @@ "visibility": "internal" } ], - "src": "25031:67:1" + "src": "25725:67:0" }, "returnParameters": { - "id": 1409, + "id": 901, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1408, + "id": 900, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25120:12:1", + "scope": 921, + "src": "25814:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11394,10 +11394,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1407, + "id": 899, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25120:5:1", + "src": "25814:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11406,20 +11406,20 @@ "visibility": "internal" } ], - "src": "25119:14:1" + "src": "25813:14:0" }, - "scope": 1430, - "src": "25005:725:1", + "scope": 922, + "src": "25699:742:0", "stateMutability": "pure", "virtual": false, "visibility": "private" } ], - "scope": 3499, - "src": "18048:7684:1" + "scope": 2991, + "src": "18579:7865:0" }, { - "id": 1431, + "id": 923, "literals": [ "solidity", ">=", @@ -11430,7 +11430,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "abstract": false, @@ -11438,31 +11438,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1432, + "id": 924, "nodeType": "StructuredDocumentation", - "src": "25824:686:1", + "src": "26541:709:0", "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, "fullyImplemented": true, - "id": 1921, + "id": 1413, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableSet.Set", - "id": 1440, + "id": 932, "members": [ { "constant": false, - "id": 1435, + "id": 927, "mutability": "mutable", "name": "_values", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27033:17:1", + "scope": 932, + "src": "27786:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11471,18 +11471,18 @@ }, "typeName": { "baseType": { - "id": 1433, + "id": 925, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27033:7:1", + "src": "27786:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1434, + "id": 926, "nodeType": "ArrayTypeName", - "src": "27033:9:1", + "src": "27786:9:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", "typeString": "bytes32[]" @@ -11492,12 +11492,12 @@ }, { "constant": false, - "id": 1439, + "id": 931, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27184:37:1", + "scope": 932, + "src": "27941:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11505,28 +11505,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1438, + "id": 930, "keyType": { - "id": 1436, + "id": 928, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27193:7:1", + "src": "27950:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "27184:28:1", + "src": "27941:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1437, + "id": 929, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "27204:7:1", + "src": "27961:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11538,19 +11538,19 @@ ], "name": "Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "26979:249:1", + "scope": 1413, + "src": "27730:256:0", "visibility": "public" }, { "body": { - "id": 1480, + "id": 972, "nodeType": "Block", - "src": "27467:335:1", + "src": "28233:345:0", "statements": [ { "condition": { - "id": 1454, + "id": 946, "isConstant": false, "isLValue": false, "isPure": false, @@ -11558,28 +11558,28 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "27481:22:1", + "src": "28248:22:0", "subExpression": { "arguments": [ { - "id": 1451, + "id": 943, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27492:3:1", + "referencedDeclaration": 935, + "src": "28259:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, { - "id": 1452, + "id": 944, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27497:5:1", + "referencedDeclaration": 937, + "src": "28264:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11589,7 +11589,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -11597,18 +11597,18 @@ "typeString": "bytes32" } ], - "id": 1450, + "id": 942, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "27482:9:1", + "referencedDeclaration": 1071, + "src": "28249:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1453, + "id": 945, "isConstant": false, "isLValue": false, "isPure": false, @@ -11616,7 +11616,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27482:21:1", + "src": "28249:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -11629,52 +11629,52 @@ } }, "falseBody": { - "id": 1478, + "id": 970, "nodeType": "Block", - "src": "27759:37:1", + "src": "28532:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1476, + "id": 968, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27780:5:1", + "src": "28554:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1449, - "id": 1477, + "functionReturnParameters": 941, + "id": 969, "nodeType": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ] }, - "id": 1479, + "id": 971, "nodeType": "IfStatement", - "src": "27477:319:1", + "src": "28244:327:0", "trueBody": { - "id": 1475, + "id": 967, "nodeType": "Block", - "src": "27505:248:1", + "src": "28272:254:0", "statements": [ { "expression": { "arguments": [ { - "id": 1460, + "id": 952, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27536:5:1", + "referencedDeclaration": 937, + "src": "28304:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11690,45 +11690,45 @@ ], "expression": { "expression": { - "id": 1455, + "id": 947, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27519:3:1", + "referencedDeclaration": 935, + "src": "28287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1458, + "id": 950, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27519:11:1", + "referencedDeclaration": 927, + "src": "28287:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1459, + "id": 951, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "27519:16:1", + "src": "28287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_bytes32_$returns$__$", "typeString": "function (bytes32)" } }, - "id": 1461, + "id": 953, "isConstant": false, "isLValue": false, "isPure": false, @@ -11736,20 +11736,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27519:23:1", + "src": "28287:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1462, + "id": 954, "nodeType": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "expression": { - "id": 1471, + "id": 963, "isConstant": false, "isLValue": false, "isPure": false, @@ -11757,39 +11757,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1463, + "id": 955, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27677:3:1", + "referencedDeclaration": 935, + "src": "28448:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1466, + "id": 958, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "27677:12:1", + "referencedDeclaration": 931, + "src": "28448:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1467, + "id": 959, "indexExpression": { - "id": 1465, + "id": 957, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27690:5:1", + "referencedDeclaration": 937, + "src": "28461:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11800,7 +11800,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "27677:19:1", + "src": "28448:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11811,75 +11811,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1468, + "id": 960, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27699:3:1", + "referencedDeclaration": 935, + "src": "28470:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1469, + "id": 961, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27699:11:1", + "referencedDeclaration": 927, + "src": "28470:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1470, + "id": 962, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "27699:18:1", + "src": "28470:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "27677:40:1", + "src": "28448:40:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1472, + "id": 964, "nodeType": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "expression": { "hexValue": "74727565", - "id": 1473, + "id": 965, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27738:4:1", + "src": "28510:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1449, - "id": 1474, + "functionReturnParameters": 941, + "id": 966, "nodeType": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ] } @@ -11887,43 +11887,43 @@ ] }, "documentation": { - "id": 1441, + "id": 933, "nodeType": "StructuredDocumentation", - "src": "27234:159:1", + "src": "27994:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1481, + "id": 973, "implemented": true, "kind": "function", "modifiers": [], "name": "_add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1446, + "id": 938, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1443, + "id": 935, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27412:15:1", + "scope": 973, + "src": "28178:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1442, + "id": 934, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27412:3:1", + "referencedDeclaration": 932, + "src": "28178:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -11931,12 +11931,12 @@ }, { "constant": false, - "id": 1445, + "id": 937, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27429:13:1", + "scope": 973, + "src": "28195:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11944,10 +11944,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1444, + "id": 936, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27429:7:1", + "src": "28195:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11956,20 +11956,20 @@ "visibility": "internal" } ], - "src": "27411:32:1" + "src": "28177:32:0" }, "returnParameters": { - "id": 1449, + "id": 941, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1448, + "id": 940, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27461:4:1", + "scope": 973, + "src": "28227:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11977,10 +11977,10 @@ "typeString": "bool" }, "typeName": { - "id": 1447, + "id": 939, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "27461:4:1", + "src": "28227:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11989,33 +11989,33 @@ "visibility": "internal" } ], - "src": "27460:6:1" + "src": "28226:6:0" }, - "scope": 1921, - "src": "27398:404:1", + "scope": 1413, + "src": "28164:414:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1560, + "id": 1052, "nodeType": "Block", - "src": "28042:1440:1", + "src": "28826:1472:0", "statements": [ { "assignments": [ - 1492 + 984 ], "declarations": [ { "constant": false, - "id": 1492, + "id": 984, "mutability": "mutable", "name": "valueIndex", "nodeType": "VariableDeclaration", - "scope": 1560, - "src": "28152:18:1", + "scope": 1052, + "src": "28938:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12023,10 +12023,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1491, + "id": 983, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28152:7:1", + "src": "28938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12035,43 +12035,43 @@ "visibility": "internal" } ], - "id": 1497, + "id": 989, "initialValue": { "baseExpression": { "expression": { - "id": 1493, + "id": 985, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28173:3:1", + "referencedDeclaration": 976, + "src": "28959:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1494, + "id": 986, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "28173:12:1", + "referencedDeclaration": 931, + "src": "28959:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1496, + "id": 988, "indexExpression": { - "id": 1495, + "id": 987, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "28186:5:1", + "referencedDeclaration": 978, + "src": "28972:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12082,14 +12082,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28173:19:1", + "src": "28959:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "condition": { @@ -12097,18 +12097,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1500, + "id": 992, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1498, + "id": 990, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28207:10:1", + "referencedDeclaration": 984, + "src": "28995:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12118,76 +12118,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1499, + "id": 991, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28221:1:1", + "src": "29009:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "28207:15:1", + "src": "28995:15:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1558, + "id": 1050, "nodeType": "Block", - "src": "29439:37:1", + "src": "30252:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1556, + "id": 1048, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29460:5:1", + "src": "30274:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1490, - "id": 1557, + "functionReturnParameters": 982, + "id": 1049, "nodeType": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ] }, - "id": 1559, + "id": 1051, "nodeType": "IfStatement", - "src": "28203:1273:1", + "src": "28991:1300:0", "trueBody": { - "id": 1555, + "id": 1047, "nodeType": "Block", - "src": "28224:1209:1", + "src": "29012:1234:0", "statements": [ { "assignments": [ - 1502 + 994 ], "declarations": [ { "constant": false, - "id": 1502, + "id": 994, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28564:21:1", + "scope": 1047, + "src": "29357:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12195,10 +12195,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1501, + "id": 993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28564:7:1", + "src": "29357:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12207,24 +12207,24 @@ "visibility": "internal" } ], - "id": 1506, + "id": 998, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1505, + "id": 997, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1503, + "id": 995, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28588:10:1", + "referencedDeclaration": 984, + "src": "29381:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12234,42 +12234,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1504, + "id": 996, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28601:1:1", + "src": "29394:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28588:14:1", + "src": "29381:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "assignments": [ - 1508 + 1000 ], "declarations": [ { "constant": false, - "id": 1508, + "id": 1000, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28616:17:1", + "scope": 1047, + "src": "29410:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12277,10 +12277,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1507, + "id": 999, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28616:7:1", + "src": "29410:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12289,13 +12289,13 @@ "visibility": "internal" } ], - "id": 1514, + "id": 1006, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1513, + "id": 1005, "isConstant": false, "isLValue": false, "isPure": false, @@ -12303,39 +12303,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1509, + "id": 1001, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28636:3:1", + "referencedDeclaration": 976, + "src": "29430:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1510, + "id": 1002, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28636:11:1", + "referencedDeclaration": 927, + "src": "29430:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1511, + "id": 1003, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "28636:18:1", + "src": "29430:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12345,42 +12345,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1512, + "id": 1004, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28657:1:1", + "src": "29451:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28636:22:1", + "src": "29430:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "assignments": [ - 1516 + 1008 ], "declarations": [ { "constant": false, - "id": 1516, + "id": 1008, "mutability": "mutable", "name": "lastvalue", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28898:17:1", + "scope": 1047, + "src": "29697:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12388,10 +12388,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1515, + "id": 1007, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28898:7:1", + "src": "29697:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12400,43 +12400,43 @@ "visibility": "internal" } ], - "id": 1521, + "id": 1013, "initialValue": { "baseExpression": { "expression": { - "id": 1517, + "id": 1009, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28918:3:1", + "referencedDeclaration": 976, + "src": "29717:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1518, + "id": 1010, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28918:11:1", + "referencedDeclaration": 927, + "src": "29717:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1520, + "id": 1012, "indexExpression": { - "id": 1519, + "id": 1011, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1508, - "src": "28930:9:1", + "referencedDeclaration": 1000, + "src": "29729:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12447,18 +12447,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28918:22:1", + "src": "29717:22:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "expression": { - "id": 1528, + "id": 1020, "isConstant": false, "isLValue": false, "isPure": false, @@ -12466,39 +12466,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1522, + "id": 1014, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29032:3:1", + "referencedDeclaration": 976, + "src": "29834:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1525, + "id": 1017, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29032:11:1", + "referencedDeclaration": 927, + "src": "29834:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1526, + "id": 1018, "indexExpression": { - "id": 1524, + "id": 1016, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29044:13:1", + "referencedDeclaration": 994, + "src": "29846:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12509,7 +12509,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29032:26:1", + "src": "29834:26:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12518,30 +12518,30 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1527, + "id": 1019, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29061:9:1", + "referencedDeclaration": 1008, + "src": "29863:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "29032:38:1", + "src": "29834:38:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1529, + "id": 1021, "nodeType": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "expression": { - "id": 1538, + "id": 1030, "isConstant": false, "isLValue": false, "isPure": false, @@ -12549,39 +12549,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1530, + "id": 1022, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29136:3:1", + "referencedDeclaration": 976, + "src": "29940:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1533, + "id": 1025, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29136:12:1", + "referencedDeclaration": 931, + "src": "29940:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1534, + "id": 1026, "indexExpression": { - "id": 1532, + "id": 1024, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29149:9:1", + "referencedDeclaration": 1008, + "src": "29953:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12592,7 +12592,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29136:23:1", + "src": "29940:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12605,18 +12605,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1537, + "id": 1029, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1535, + "id": 1027, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29162:13:1", + "referencedDeclaration": 994, + "src": "29966:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12626,35 +12626,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 1536, + "id": 1028, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29178:1:1", + "src": "29982:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "29162:17:1", + "src": "29966:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "29136:43:1", + "src": "29940:43:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1539, + "id": 1031, "nodeType": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "expression": { @@ -12663,45 +12663,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 1540, + "id": 1032, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29285:3:1", + "referencedDeclaration": 976, + "src": "30092:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1543, + "id": 1035, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29285:11:1", + "referencedDeclaration": 927, + "src": "30092:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1544, + "id": 1036, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "29285:15:1", + "src": "30092:15:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 1545, + "id": 1037, "isConstant": false, "isLValue": false, "isPure": false, @@ -12709,20 +12709,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "29285:17:1", + "src": "30092:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1546, + "id": 1038, "nodeType": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "expression": { - "id": 1551, + "id": 1043, "isConstant": false, "isLValue": false, "isPure": false, @@ -12730,43 +12730,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "29370:26:1", + "src": "30180:26:0", "subExpression": { "baseExpression": { "expression": { - "id": 1547, + "id": 1039, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29377:3:1", + "referencedDeclaration": 976, + "src": "30187:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1548, + "id": 1040, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29377:12:1", + "referencedDeclaration": 931, + "src": "30187:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1550, + "id": 1042, "indexExpression": { - "id": 1549, + "id": 1041, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "29390:5:1", + "referencedDeclaration": 978, + "src": "30200:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12777,7 +12777,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29377:19:1", + "src": "30187:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12788,31 +12788,31 @@ "typeString": "tuple()" } }, - "id": 1552, + "id": 1044, "nodeType": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "expression": { "hexValue": "74727565", - "id": 1553, + "id": 1045, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29418:4:1", + "src": "30230:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1490, - "id": 1554, + "functionReturnParameters": 982, + "id": 1046, "nodeType": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ] } @@ -12820,43 +12820,43 @@ ] }, "documentation": { - "id": 1482, + "id": 974, "nodeType": "StructuredDocumentation", - "src": "27808:157:1", + "src": "28586:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1561, + "id": 1053, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1487, + "id": 979, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1484, + "id": 976, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "27987:15:1", + "scope": 1053, + "src": "28771:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1483, + "id": 975, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27987:3:1", + "referencedDeclaration": 932, + "src": "28771:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -12864,12 +12864,12 @@ }, { "constant": false, - "id": 1486, + "id": 978, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28004:13:1", + "scope": 1053, + "src": "28788:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12877,10 +12877,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1485, + "id": 977, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28004:7:1", + "src": "28788:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12889,20 +12889,20 @@ "visibility": "internal" } ], - "src": "27986:32:1" + "src": "28770:32:0" }, "returnParameters": { - "id": 1490, + "id": 982, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1489, + "id": 981, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28036:4:1", + "scope": 1053, + "src": "28820:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12910,10 +12910,10 @@ "typeString": "bool" }, "typeName": { - "id": 1488, + "id": 980, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "28036:4:1", + "src": "28820:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12922,19 +12922,19 @@ "visibility": "internal" } ], - "src": "28035:6:1" + "src": "28819:6:0" }, - "scope": 1921, - "src": "27970:1512:1", + "scope": 1413, + "src": "28754:1544:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1578, + "id": 1070, "nodeType": "Block", - "src": "29642:48:1", + "src": "30463:50:0", "statements": [ { "expression": { @@ -12942,7 +12942,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1576, + "id": 1068, "isConstant": false, "isLValue": false, "isPure": false, @@ -12950,39 +12950,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 1571, + "id": 1063, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1564, - "src": "29659:3:1", + "referencedDeclaration": 1056, + "src": "30481:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1572, + "id": 1064, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29659:12:1", + "referencedDeclaration": 931, + "src": "30481:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1574, + "id": 1066, "indexExpression": { - "id": 1573, + "id": 1065, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1566, - "src": "29672:5:1", + "referencedDeclaration": 1058, + "src": "30494:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12993,7 +12993,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "29659:19:1", + "src": "30481:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13003,71 +13003,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1575, + "id": 1067, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29682:1:1", + "src": "30504:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "29659:24:1", + "src": "30481:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1570, - "id": 1577, + "functionReturnParameters": 1062, + "id": 1069, "nodeType": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ] }, "documentation": { - "id": 1562, + "id": 1054, "nodeType": "StructuredDocumentation", - "src": "29488:70:1", + "src": "30306:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1579, + "id": 1071, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1567, + "id": 1059, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1564, + "id": 1056, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29582:15:1", + "scope": 1071, + "src": "30403:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1563, + "id": 1055, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29582:3:1", + "referencedDeclaration": 932, + "src": "30403:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13075,12 +13075,12 @@ }, { "constant": false, - "id": 1566, + "id": 1058, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29599:13:1", + "scope": 1071, + "src": "30420:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13088,10 +13088,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1565, + "id": 1057, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "29599:7:1", + "src": "30420:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13100,20 +13100,20 @@ "visibility": "internal" } ], - "src": "29581:32:1" + "src": "30402:32:0" }, "returnParameters": { - "id": 1570, + "id": 1062, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1569, + "id": 1061, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29636:4:1", + "scope": 1071, + "src": "30457:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13121,10 +13121,10 @@ "typeString": "bool" }, "typeName": { - "id": 1568, + "id": 1060, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "29636:4:1", + "src": "30457:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13133,127 +13133,127 @@ "visibility": "internal" } ], - "src": "29635:6:1" + "src": "30456:6:0" }, - "scope": 1921, - "src": "29563:127:1", + "scope": 1413, + "src": "30384:129:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1591, + "id": 1083, "nodeType": "Block", - "src": "29836:42:1", + "src": "30664:44:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 1587, + "id": 1079, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1582, - "src": "29853:3:1", + "referencedDeclaration": 1074, + "src": "30682:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1588, + "id": 1080, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29853:11:1", + "referencedDeclaration": 927, + "src": "30682:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1589, + "id": 1081, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "29853:18:1", + "src": "30682:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1586, - "id": 1590, + "functionReturnParameters": 1078, + "id": 1082, "nodeType": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ] }, "documentation": { - "id": 1580, + "id": 1072, "nodeType": "StructuredDocumentation", - "src": "29696:70:1", + "src": "30521:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1592, + "id": 1084, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1583, + "id": 1075, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1582, + "id": 1074, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29788:15:1", + "scope": 1084, + "src": "30616:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1581, + "id": 1073, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29788:3:1", + "referencedDeclaration": 932, + "src": "30616:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, "visibility": "internal" } ], - "src": "29787:17:1" + "src": "30615:17:0" }, "returnParameters": { - "id": 1586, + "id": 1078, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1585, + "id": 1077, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29827:7:1", + "scope": 1084, + "src": "30655:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13261,10 +13261,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1584, + "id": 1076, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "29827:7:1", + "src": "30655:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13273,19 +13273,19 @@ "visibility": "internal" } ], - "src": "29826:9:1" + "src": "30654:9:0" }, - "scope": 1921, - "src": "29771:107:1", + "scope": 1413, + "src": "30599:109:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1616, + "id": 1108, "nodeType": "Block", - "src": "30286:125:1", + "src": "31128:128:0", "statements": [ { "expression": { @@ -13295,7 +13295,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1607, + "id": 1099, "isConstant": false, "isLValue": false, "isPure": false, @@ -13303,39 +13303,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1603, + "id": 1095, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30304:3:1", + "referencedDeclaration": 1087, + "src": "31147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1604, + "id": 1096, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30304:11:1", + "referencedDeclaration": 927, + "src": "31147:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1605, + "id": 1097, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "30304:18:1", + "src": "31147:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13344,18 +13344,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 1606, + "id": 1098, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30325:5:1", + "referencedDeclaration": 1089, + "src": "31168:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "30304:26:1", + "src": "31147:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13363,14 +13363,14 @@ }, { "hexValue": "456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473", - "id": 1608, + "id": 1100, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "30332:36:1", + "src": "31175:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_045d6834e6193a687012a3ad777f612279e549b6945364d9d2324f48610d3cbb", "typeString": "literal_string \"EnumerableSet: index out of bounds\"" @@ -13389,7 +13389,7 @@ "typeString": "literal_string \"EnumerableSet: index out of bounds\"" } ], - "id": 1602, + "id": 1094, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -13397,13 +13397,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "30296:7:1", + "src": "31139:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1609, + "id": 1101, "isConstant": false, "isLValue": false, "isPure": false, @@ -13411,54 +13411,54 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30296:73:1", + "src": "31139:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1610, + "id": 1102, "nodeType": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "expression": { "baseExpression": { "expression": { - "id": 1611, + "id": 1103, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30386:3:1", + "referencedDeclaration": 1087, + "src": "31230:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1612, + "id": 1104, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30386:11:1", + "referencedDeclaration": 927, + "src": "31230:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1614, + "id": 1106, "indexExpression": { - "id": 1613, + "id": 1105, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30398:5:1", + "referencedDeclaration": 1089, + "src": "31242:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13469,57 +13469,57 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "30386:18:1", + "src": "31230:18:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1601, - "id": 1615, + "functionReturnParameters": 1093, + "id": 1107, "nodeType": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ] }, "documentation": { - "id": 1593, + "id": 1085, "nodeType": "StructuredDocumentation", - "src": "29883:322:1", + "src": "30715:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1617, + "id": 1109, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1598, + "id": 1090, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1595, + "id": 1087, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30223:15:1", + "scope": 1109, + "src": "31065:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1594, + "id": 1086, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30223:3:1", + "referencedDeclaration": 932, + "src": "31065:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13527,12 +13527,12 @@ }, { "constant": false, - "id": 1597, + "id": 1089, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30240:13:1", + "scope": 1109, + "src": "31082:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13540,10 +13540,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1596, + "id": 1088, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "30240:7:1", + "src": "31082:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13552,20 +13552,20 @@ "visibility": "internal" } ], - "src": "30222:32:1" + "src": "31064:32:0" }, "returnParameters": { - "id": 1601, + "id": 1093, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1600, + "id": 1092, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30277:7:1", + "scope": 1109, + "src": "31119:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13573,10 +13573,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1599, + "id": 1091, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30277:7:1", + "src": "31119:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13585,40 +13585,40 @@ "visibility": "internal" } ], - "src": "30276:9:1" + "src": "31118:9:0" }, - "scope": 1921, - "src": "30210:201:1", + "scope": 1413, + "src": "31052:204:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableSet.Bytes32Set", - "id": 1620, + "id": 1112, "members": [ { "constant": false, - "id": 1619, + "id": 1111, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1620, - "src": "30464:10:1", + "scope": 1112, + "src": "31314:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1618, + "id": 1110, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30464:3:1", + "referencedDeclaration": 932, + "src": "31314:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13627,53 +13627,53 @@ ], "name": "Bytes32Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "30436:45:1", + "scope": 1413, + "src": "31285:47:0", "visibility": "public" }, { "body": { - "id": 1636, + "id": 1128, "nodeType": "Block", - "src": "30727:47:1", + "src": "31586:49:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1631, + "id": 1123, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1623, - "src": "30749:3:1", + "referencedDeclaration": 1115, + "src": "31609:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1632, + "id": 1124, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "30749:10:1", + "referencedDeclaration": 1111, + "src": "31609:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1633, + "id": 1125, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "30761:5:1", + "referencedDeclaration": 1117, + "src": "31621:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13683,7 +13683,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -13691,18 +13691,18 @@ "typeString": "bytes32" } ], - "id": 1630, + "id": 1122, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "30744:4:1", + "referencedDeclaration": 973, + "src": "31604:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1634, + "id": 1126, "isConstant": false, "isLValue": false, "isPure": false, @@ -13710,58 +13710,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30744:23:1", + "src": "31604:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1629, - "id": 1635, + "functionReturnParameters": 1121, + "id": 1127, "nodeType": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ] }, "documentation": { - "id": 1621, + "id": 1113, "nodeType": "StructuredDocumentation", - "src": "30487:159:1", + "src": "31340:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1637, + "id": 1129, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1626, + "id": 1118, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1623, + "id": 1115, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30664:22:1", + "scope": 1129, + "src": "31523:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1622, + "id": 1114, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30664:10:1", + "referencedDeclaration": 1112, + "src": "31523:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -13769,12 +13769,12 @@ }, { "constant": false, - "id": 1625, + "id": 1117, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30688:13:1", + "scope": 1129, + "src": "31547:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13782,10 +13782,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1624, + "id": 1116, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30688:7:1", + "src": "31547:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13794,20 +13794,20 @@ "visibility": "internal" } ], - "src": "30663:39:1" + "src": "31522:39:0" }, "returnParameters": { - "id": 1629, + "id": 1121, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1628, + "id": 1120, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30721:4:1", + "scope": 1129, + "src": "31580:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13815,10 +13815,10 @@ "typeString": "bool" }, "typeName": { - "id": 1627, + "id": 1119, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "30721:4:1", + "src": "31580:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13827,57 +13827,57 @@ "visibility": "internal" } ], - "src": "30720:6:1" + "src": "31579:6:0" }, - "scope": 1921, - "src": "30651:123:1", + "scope": 1413, + "src": "31510:125:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1653, + "id": 1145, "nodeType": "Block", - "src": "31021:50:1", + "src": "31890:52:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1648, + "id": 1140, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1640, - "src": "31046:3:1", + "referencedDeclaration": 1132, + "src": "31916:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1649, + "id": 1141, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31046:10:1", + "referencedDeclaration": 1111, + "src": "31916:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1650, + "id": 1142, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1642, - "src": "31058:5:1", + "referencedDeclaration": 1134, + "src": "31928:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13887,7 +13887,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -13895,18 +13895,18 @@ "typeString": "bytes32" } ], - "id": 1647, + "id": 1139, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "31038:7:1", + "referencedDeclaration": 1053, + "src": "31908:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1651, + "id": 1143, "isConstant": false, "isLValue": false, "isPure": false, @@ -13914,58 +13914,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31038:26:1", + "src": "31908:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1646, - "id": 1652, + "functionReturnParameters": 1138, + "id": 1144, "nodeType": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ] }, "documentation": { - "id": 1638, + "id": 1130, "nodeType": "StructuredDocumentation", - "src": "30780:157:1", + "src": "31643:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1654, + "id": 1146, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1643, + "id": 1135, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1640, + "id": 1132, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30958:22:1", + "scope": 1146, + "src": "31827:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1639, + "id": 1131, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30958:10:1", + "referencedDeclaration": 1112, + "src": "31827:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -13973,12 +13973,12 @@ }, { "constant": false, - "id": 1642, + "id": 1134, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30982:13:1", + "scope": 1146, + "src": "31851:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13986,10 +13986,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1641, + "id": 1133, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30982:7:1", + "src": "31851:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13998,20 +13998,20 @@ "visibility": "internal" } ], - "src": "30957:39:1" + "src": "31826:39:0" }, "returnParameters": { - "id": 1646, + "id": 1138, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1645, + "id": 1137, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "31015:4:1", + "scope": 1146, + "src": "31884:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14019,10 +14019,10 @@ "typeString": "bool" }, "typeName": { - "id": 1644, + "id": 1136, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31015:4:1", + "src": "31884:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14031,57 +14031,57 @@ "visibility": "internal" } ], - "src": "31014:6:1" + "src": "31883:6:0" }, - "scope": 1921, - "src": "30942:129:1", + "scope": 1413, + "src": "31811:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1670, + "id": 1162, "nodeType": "Block", - "src": "31238:52:1", + "src": "32114:54:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1665, + "id": 1157, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "31265:3:1", + "referencedDeclaration": 1149, + "src": "32142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1666, + "id": 1158, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31265:10:1", + "referencedDeclaration": 1111, + "src": "32142:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1667, + "id": 1159, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1659, - "src": "31277:5:1", + "referencedDeclaration": 1151, + "src": "32154:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14091,7 +14091,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14099,18 +14099,18 @@ "typeString": "bytes32" } ], - "id": 1664, + "id": 1156, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "31255:9:1", + "referencedDeclaration": 1071, + "src": "32132:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1668, + "id": 1160, "isConstant": false, "isLValue": false, "isPure": false, @@ -14118,58 +14118,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31255:28:1", + "src": "32132:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1663, - "id": 1669, + "functionReturnParameters": 1155, + "id": 1161, "nodeType": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ] }, "documentation": { - "id": 1655, + "id": 1147, "nodeType": "StructuredDocumentation", - "src": "31077:70:1", + "src": "31950:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1671, + "id": 1163, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1660, + "id": 1152, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1657, + "id": 1149, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31170:22:1", + "scope": 1163, + "src": "32046:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1656, + "id": 1148, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31170:10:1", + "referencedDeclaration": 1112, + "src": "32046:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14177,12 +14177,12 @@ }, { "constant": false, - "id": 1659, + "id": 1151, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31194:13:1", + "scope": 1163, + "src": "32070:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14190,10 +14190,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1658, + "id": 1150, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31194:7:1", + "src": "32070:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14202,20 +14202,20 @@ "visibility": "internal" } ], - "src": "31169:39:1" + "src": "32045:39:0" }, "returnParameters": { - "id": 1663, + "id": 1155, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1662, + "id": 1154, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31232:4:1", + "scope": 1163, + "src": "32108:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14223,10 +14223,10 @@ "typeString": "bool" }, "typeName": { - "id": 1661, + "id": 1153, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31232:4:1", + "src": "32108:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14235,47 +14235,47 @@ "visibility": "internal" } ], - "src": "31231:6:1" + "src": "32107:6:0" }, - "scope": 1921, - "src": "31152:138:1", + "scope": 1413, + "src": "32028:140:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1684, + "id": 1176, "nodeType": "Block", - "src": "31443:43:1", + "src": "32326:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1680, + "id": 1172, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "31468:3:1", + "referencedDeclaration": 1166, + "src": "32352:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1681, + "id": 1173, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31468:10:1", + "referencedDeclaration": 1111, + "src": "32352:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -14283,22 +14283,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1679, + "id": 1171, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "31460:7:1", + "referencedDeclaration": 1084, + "src": "32344:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1682, + "id": 1174, "isConstant": false, "isLValue": false, "isPure": false, @@ -14306,78 +14306,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31460:19:1", + "src": "32344:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1678, - "id": 1683, + "functionReturnParameters": 1170, + "id": 1175, "nodeType": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ] }, "documentation": { - "id": 1672, + "id": 1164, "nodeType": "StructuredDocumentation", - "src": "31296:70:1", + "src": "32176:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1685, + "id": 1177, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1675, + "id": 1167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1674, + "id": 1166, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31387:22:1", + "scope": 1177, + "src": "32270:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1673, + "id": 1165, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31387:10:1", + "referencedDeclaration": 1112, + "src": "32270:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, "visibility": "internal" } ], - "src": "31386:24:1" + "src": "32269:24:0" }, "returnParameters": { - "id": 1678, + "id": 1170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1677, + "id": 1169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31434:7:1", + "scope": 1177, + "src": "32317:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14385,10 +14385,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1676, + "id": 1168, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31434:7:1", + "src": "32317:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14397,57 +14397,57 @@ "visibility": "internal" } ], - "src": "31433:9:1" + "src": "32316:9:0" }, - "scope": 1921, - "src": "31371:115:1", + "scope": 1413, + "src": "32254:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1701, + "id": 1193, "nodeType": "Block", - "src": "31901:46:1", + "src": "32798:48:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1696, + "id": 1188, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1688, - "src": "31922:3:1", + "referencedDeclaration": 1180, + "src": "32820:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1697, + "id": 1189, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31922:10:1", + "referencedDeclaration": 1111, + "src": "32820:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1698, + "id": 1190, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "31934:5:1", + "referencedDeclaration": 1182, + "src": "32832:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14457,7 +14457,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14465,18 +14465,18 @@ "typeString": "uint256" } ], - "id": 1695, + "id": 1187, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "31918:3:1", + "referencedDeclaration": 1109, + "src": "32816:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1699, + "id": 1191, "isConstant": false, "isLValue": false, "isPure": false, @@ -14484,58 +14484,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31918:22:1", + "src": "32816:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1694, - "id": 1700, + "functionReturnParameters": 1186, + "id": 1192, "nodeType": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ] }, "documentation": { - "id": 1686, + "id": 1178, "nodeType": "StructuredDocumentation", - "src": "31491:322:1", + "src": "32378:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1702, + "id": 1194, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1691, + "id": 1183, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1688, + "id": 1180, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31830:22:1", + "scope": 1194, + "src": "32727:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1687, + "id": 1179, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31830:10:1", + "referencedDeclaration": 1112, + "src": "32727:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14543,12 +14543,12 @@ }, { "constant": false, - "id": 1690, + "id": 1182, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31854:13:1", + "scope": 1194, + "src": "32751:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14556,10 +14556,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1689, + "id": 1181, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31854:7:1", + "src": "32751:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14568,20 +14568,20 @@ "visibility": "internal" } ], - "src": "31829:39:1" + "src": "32726:39:0" }, "returnParameters": { - "id": 1694, + "id": 1186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1693, + "id": 1185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31892:7:1", + "scope": 1194, + "src": "32789:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14589,10 +14589,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1692, + "id": 1184, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31892:7:1", + "src": "32789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14601,40 +14601,40 @@ "visibility": "internal" } ], - "src": "31891:9:1" + "src": "32788:9:0" }, - "scope": 1921, - "src": "31818:129:1", + "scope": 1413, + "src": "32715:131:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.AddressSet", - "id": 1705, + "id": 1197, "members": [ { "constant": false, - "id": 1704, + "id": 1196, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1705, - "src": "32000:10:1", + "scope": 1197, + "src": "32904:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1703, + "id": 1195, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "32000:3:1", + "referencedDeclaration": 932, + "src": "32904:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -14643,43 +14643,43 @@ ], "name": "AddressSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "31972:45:1", + "scope": 1413, + "src": "32875:47:0", "visibility": "public" }, { "body": { - "id": 1730, + "id": 1222, "nodeType": "Block", - "src": "32263:74:1", + "src": "33176:76:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1716, + "id": 1208, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1708, - "src": "32285:3:1", + "referencedDeclaration": 1200, + "src": "33199:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1717, + "id": 1209, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32285:10:1", + "referencedDeclaration": 1196, + "src": "33199:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -14690,12 +14690,12 @@ { "arguments": [ { - "id": 1724, + "id": 1216, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1710, - "src": "32321:5:1", + "referencedDeclaration": 1202, + "src": "33235:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14709,26 +14709,26 @@ "typeString": "address" } ], - "id": 1723, + "id": 1215, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1722, + "id": 1214, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": {} } }, - "id": 1725, + "id": 1217, "isConstant": false, "isLValue": false, "isPure": false, @@ -14736,7 +14736,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32313:14:1", + "src": "33227:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -14751,26 +14751,26 @@ "typeString": "uint160" } ], - "id": 1721, + "id": 1213, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1720, + "id": 1212, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": {} } }, - "id": 1726, + "id": 1218, "isConstant": false, "isLValue": false, "isPure": false, @@ -14778,7 +14778,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32305:23:1", + "src": "33219:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -14793,26 +14793,26 @@ "typeString": "uint256" } ], - "id": 1719, + "id": 1211, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1718, + "id": 1210, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": {} } }, - "id": 1727, + "id": 1219, "isConstant": false, "isLValue": false, "isPure": false, @@ -14820,7 +14820,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32297:32:1", + "src": "33211:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -14831,7 +14831,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14839,18 +14839,18 @@ "typeString": "bytes32" } ], - "id": 1715, + "id": 1207, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "32280:4:1", + "referencedDeclaration": 973, + "src": "33194:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1728, + "id": 1220, "isConstant": false, "isLValue": false, "isPure": false, @@ -14858,58 +14858,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32280:50:1", + "src": "33194:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1714, - "id": 1729, + "functionReturnParameters": 1206, + "id": 1221, "nodeType": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ] }, "documentation": { - "id": 1706, + "id": 1198, "nodeType": "StructuredDocumentation", - "src": "32023:159:1", + "src": "32930:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1731, + "id": 1223, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1711, + "id": 1203, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1708, + "id": 1200, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32200:22:1", + "scope": 1223, + "src": "33113:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1707, + "id": 1199, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32200:10:1", + "referencedDeclaration": 1197, + "src": "33113:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -14917,12 +14917,12 @@ }, { "constant": false, - "id": 1710, + "id": 1202, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32224:13:1", + "scope": 1223, + "src": "33137:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14930,10 +14930,10 @@ "typeString": "address" }, "typeName": { - "id": 1709, + "id": 1201, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32224:7:1", + "src": "33137:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -14943,20 +14943,20 @@ "visibility": "internal" } ], - "src": "32199:39:1" + "src": "33112:39:0" }, "returnParameters": { - "id": 1714, + "id": 1206, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1713, + "id": 1205, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32257:4:1", + "scope": 1223, + "src": "33170:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14964,10 +14964,10 @@ "typeString": "bool" }, "typeName": { - "id": 1712, + "id": 1204, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32257:4:1", + "src": "33170:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14976,47 +14976,47 @@ "visibility": "internal" } ], - "src": "32256:6:1" + "src": "33169:6:0" }, - "scope": 1921, - "src": "32187:150:1", + "scope": 1413, + "src": "33100:152:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1756, + "id": 1248, "nodeType": "Block", - "src": "32584:77:1", + "src": "33507:79:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1742, + "id": 1234, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1734, - "src": "32609:3:1", + "referencedDeclaration": 1226, + "src": "33533:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1743, + "id": 1235, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32609:10:1", + "referencedDeclaration": 1196, + "src": "33533:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15027,12 +15027,12 @@ { "arguments": [ { - "id": 1750, + "id": 1242, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1736, - "src": "32645:5:1", + "referencedDeclaration": 1228, + "src": "33569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15046,26 +15046,26 @@ "typeString": "address" } ], - "id": 1749, + "id": 1241, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1748, + "id": 1240, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": {} } }, - "id": 1751, + "id": 1243, "isConstant": false, "isLValue": false, "isPure": false, @@ -15073,7 +15073,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32637:14:1", + "src": "33561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15088,26 +15088,26 @@ "typeString": "uint160" } ], - "id": 1747, + "id": 1239, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1746, + "id": 1238, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": {} } }, - "id": 1752, + "id": 1244, "isConstant": false, "isLValue": false, "isPure": false, @@ -15115,7 +15115,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32629:23:1", + "src": "33553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15130,26 +15130,26 @@ "typeString": "uint256" } ], - "id": 1745, + "id": 1237, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1744, + "id": 1236, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": {} } }, - "id": 1753, + "id": 1245, "isConstant": false, "isLValue": false, "isPure": false, @@ -15157,7 +15157,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32621:32:1", + "src": "33545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15168,7 +15168,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15176,18 +15176,18 @@ "typeString": "bytes32" } ], - "id": 1741, + "id": 1233, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "32601:7:1", + "referencedDeclaration": 1053, + "src": "33525:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1754, + "id": 1246, "isConstant": false, "isLValue": false, "isPure": false, @@ -15195,58 +15195,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32601:53:1", + "src": "33525:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1740, - "id": 1755, + "functionReturnParameters": 1232, + "id": 1247, "nodeType": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ] }, "documentation": { - "id": 1732, + "id": 1224, "nodeType": "StructuredDocumentation", - "src": "32343:157:1", + "src": "33260:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1757, + "id": 1249, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1737, + "id": 1229, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1734, + "id": 1226, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32521:22:1", + "scope": 1249, + "src": "33444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1733, + "id": 1225, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32521:10:1", + "referencedDeclaration": 1197, + "src": "33444:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15254,12 +15254,12 @@ }, { "constant": false, - "id": 1736, + "id": 1228, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32545:13:1", + "scope": 1249, + "src": "33468:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15267,10 +15267,10 @@ "typeString": "address" }, "typeName": { - "id": 1735, + "id": 1227, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32545:7:1", + "src": "33468:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15280,20 +15280,20 @@ "visibility": "internal" } ], - "src": "32520:39:1" + "src": "33443:39:0" }, "returnParameters": { - "id": 1740, + "id": 1232, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1739, + "id": 1231, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32578:4:1", + "scope": 1249, + "src": "33501:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15301,10 +15301,10 @@ "typeString": "bool" }, "typeName": { - "id": 1738, + "id": 1230, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32578:4:1", + "src": "33501:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15313,47 +15313,47 @@ "visibility": "internal" } ], - "src": "32577:6:1" + "src": "33500:6:0" }, - "scope": 1921, - "src": "32505:156:1", + "scope": 1413, + "src": "33428:158:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1782, + "id": 1274, "nodeType": "Block", - "src": "32828:79:1", + "src": "33758:81:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1768, + "id": 1260, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1760, - "src": "32855:3:1", + "referencedDeclaration": 1252, + "src": "33786:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1769, + "id": 1261, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32855:10:1", + "referencedDeclaration": 1196, + "src": "33786:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15364,12 +15364,12 @@ { "arguments": [ { - "id": 1776, + "id": 1268, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1762, - "src": "32891:5:1", + "referencedDeclaration": 1254, + "src": "33822:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15383,26 +15383,26 @@ "typeString": "address" } ], - "id": 1775, + "id": 1267, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1774, + "id": 1266, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": {} } }, - "id": 1777, + "id": 1269, "isConstant": false, "isLValue": false, "isPure": false, @@ -15410,7 +15410,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32883:14:1", + "src": "33814:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15425,26 +15425,26 @@ "typeString": "uint160" } ], - "id": 1773, + "id": 1265, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1772, + "id": 1264, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": {} } }, - "id": 1778, + "id": 1270, "isConstant": false, "isLValue": false, "isPure": false, @@ -15452,7 +15452,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32875:23:1", + "src": "33806:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15467,26 +15467,26 @@ "typeString": "uint256" } ], - "id": 1771, + "id": 1263, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1770, + "id": 1262, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": {} } }, - "id": 1779, + "id": 1271, "isConstant": false, "isLValue": false, "isPure": false, @@ -15494,7 +15494,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32867:32:1", + "src": "33798:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15505,7 +15505,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15513,18 +15513,18 @@ "typeString": "bytes32" } ], - "id": 1767, + "id": 1259, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "32845:9:1", + "referencedDeclaration": 1071, + "src": "33776:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1780, + "id": 1272, "isConstant": false, "isLValue": false, "isPure": false, @@ -15532,58 +15532,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32845:55:1", + "src": "33776:55:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1766, - "id": 1781, + "functionReturnParameters": 1258, + "id": 1273, "nodeType": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ] }, "documentation": { - "id": 1758, + "id": 1250, "nodeType": "StructuredDocumentation", - "src": "32667:70:1", + "src": "33594:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1783, + "id": 1275, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1763, + "id": 1255, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1760, + "id": 1252, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32760:22:1", + "scope": 1275, + "src": "33690:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1759, + "id": 1251, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32760:10:1", + "referencedDeclaration": 1197, + "src": "33690:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15591,12 +15591,12 @@ }, { "constant": false, - "id": 1762, + "id": 1254, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32784:13:1", + "scope": 1275, + "src": "33714:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15604,10 +15604,10 @@ "typeString": "address" }, "typeName": { - "id": 1761, + "id": 1253, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32784:7:1", + "src": "33714:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15617,20 +15617,20 @@ "visibility": "internal" } ], - "src": "32759:39:1" + "src": "33689:39:0" }, "returnParameters": { - "id": 1766, + "id": 1258, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1765, + "id": 1257, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32822:4:1", + "scope": 1275, + "src": "33752:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15638,10 +15638,10 @@ "typeString": "bool" }, "typeName": { - "id": 1764, + "id": 1256, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32822:4:1", + "src": "33752:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15650,47 +15650,47 @@ "visibility": "internal" } ], - "src": "32821:6:1" + "src": "33751:6:0" }, - "scope": 1921, - "src": "32742:165:1", + "scope": 1413, + "src": "33672:167:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1796, + "id": 1288, "nodeType": "Block", - "src": "33060:43:1", + "src": "33997:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1792, + "id": 1284, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1786, - "src": "33085:3:1", + "referencedDeclaration": 1278, + "src": "34023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1793, + "id": 1285, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33085:10:1", + "referencedDeclaration": 1196, + "src": "34023:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -15698,22 +15698,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1791, + "id": 1283, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "33077:7:1", + "referencedDeclaration": 1084, + "src": "34015:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1794, + "id": 1286, "isConstant": false, "isLValue": false, "isPure": false, @@ -15721,78 +15721,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33077:19:1", + "src": "34015:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1790, - "id": 1795, + "functionReturnParameters": 1282, + "id": 1287, "nodeType": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ] }, "documentation": { - "id": 1784, + "id": 1276, "nodeType": "StructuredDocumentation", - "src": "32913:70:1", + "src": "33847:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1797, + "id": 1289, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1787, + "id": 1279, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1786, + "id": 1278, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33004:22:1", + "scope": 1289, + "src": "33941:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1785, + "id": 1277, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33004:10:1", + "referencedDeclaration": 1197, + "src": "33941:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, "visibility": "internal" } ], - "src": "33003:24:1" + "src": "33940:24:0" }, "returnParameters": { - "id": 1790, + "id": 1282, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1789, + "id": 1281, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33051:7:1", + "scope": 1289, + "src": "33988:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15800,10 +15800,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1788, + "id": 1280, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33051:7:1", + "src": "33988:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15812,19 +15812,19 @@ "visibility": "internal" } ], - "src": "33050:9:1" + "src": "33987:9:0" }, - "scope": 1921, - "src": "32988:115:1", + "scope": 1413, + "src": "33925:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1822, + "id": 1314, "nodeType": "Block", - "src": "33518:73:1", + "src": "34469:75:0", "statements": [ { "expression": { @@ -15837,38 +15837,38 @@ "arguments": [ { "expression": { - "id": 1814, + "id": 1306, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1800, - "src": "33563:3:1", + "referencedDeclaration": 1292, + "src": "34515:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1815, + "id": 1307, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33563:10:1", + "referencedDeclaration": 1196, + "src": "34515:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1816, + "id": 1308, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1802, - "src": "33575:5:1", + "referencedDeclaration": 1294, + "src": "34527:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15878,7 +15878,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15886,18 +15886,18 @@ "typeString": "uint256" } ], - "id": 1813, + "id": 1305, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "33559:3:1", + "referencedDeclaration": 1109, + "src": "34511:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1817, + "id": 1309, "isConstant": false, "isLValue": false, "isPure": false, @@ -15905,7 +15905,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33559:22:1", + "src": "34511:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15920,26 +15920,26 @@ "typeString": "bytes32" } ], - "id": 1812, + "id": 1304, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1811, + "id": 1303, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": {} } }, - "id": 1818, + "id": 1310, "isConstant": false, "isLValue": false, "isPure": false, @@ -15947,7 +15947,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33551:31:1", + "src": "34503:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15962,26 +15962,26 @@ "typeString": "uint256" } ], - "id": 1810, + "id": 1302, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1809, + "id": 1301, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": {} } }, - "id": 1819, + "id": 1311, "isConstant": false, "isLValue": false, "isPure": false, @@ -15989,7 +15989,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33543:40:1", + "src": "34495:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -16004,26 +16004,26 @@ "typeString": "uint160" } ], - "id": 1808, + "id": 1300, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1807, + "id": 1299, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": {} } }, - "id": 1820, + "id": 1312, "isConstant": false, "isLValue": false, "isPure": false, @@ -16031,58 +16031,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33535:49:1", + "src": "34487:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 1806, - "id": 1821, + "functionReturnParameters": 1298, + "id": 1313, "nodeType": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ] }, "documentation": { - "id": 1798, + "id": 1290, "nodeType": "StructuredDocumentation", - "src": "33108:322:1", + "src": "34049:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1823, + "id": 1315, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1803, + "id": 1295, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1800, + "id": 1292, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33447:22:1", + "scope": 1315, + "src": "34398:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1799, + "id": 1291, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33447:10:1", + "referencedDeclaration": 1197, + "src": "34398:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -16090,12 +16090,12 @@ }, { "constant": false, - "id": 1802, + "id": 1294, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33471:13:1", + "scope": 1315, + "src": "34422:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16103,10 +16103,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1801, + "id": 1293, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33471:7:1", + "src": "34422:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16115,20 +16115,20 @@ "visibility": "internal" } ], - "src": "33446:39:1" + "src": "34397:39:0" }, "returnParameters": { - "id": 1806, + "id": 1298, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1805, + "id": 1297, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33509:7:1", + "scope": 1315, + "src": "34460:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16136,10 +16136,10 @@ "typeString": "address" }, "typeName": { - "id": 1804, + "id": 1296, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33509:7:1", + "src": "34460:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16149,40 +16149,40 @@ "visibility": "internal" } ], - "src": "33508:9:1" + "src": "34459:9:0" }, - "scope": 1921, - "src": "33435:156:1", + "scope": 1413, + "src": "34386:158:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.UintSet", - "id": 1826, + "id": 1318, "members": [ { "constant": false, - "id": 1825, + "id": 1317, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1826, - "src": "33639:10:1", + "scope": 1318, + "src": "34598:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1824, + "id": 1316, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "33639:3:1", + "referencedDeclaration": 932, + "src": "34598:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -16191,55 +16191,55 @@ ], "name": "UintSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "33614:42:1", + "scope": 1413, + "src": "34572:44:0", "visibility": "public" }, { "body": { - "id": 1845, + "id": 1337, "nodeType": "Block", - "src": "33899:56:1", + "src": "34867:58:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1837, + "id": 1329, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1829, - "src": "33921:3:1", + "referencedDeclaration": 1321, + "src": "34890:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1838, + "id": 1330, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "33921:10:1", + "referencedDeclaration": 1317, + "src": "34890:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1841, + "id": 1333, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1831, - "src": "33941:5:1", + "referencedDeclaration": 1323, + "src": "34910:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16253,26 +16253,26 @@ "typeString": "uint256" } ], - "id": 1840, + "id": 1332, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1839, + "id": 1331, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": {} } }, - "id": 1842, + "id": 1334, "isConstant": false, "isLValue": false, "isPure": false, @@ -16280,7 +16280,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33933:14:1", + "src": "34902:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16291,7 +16291,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16299,18 +16299,18 @@ "typeString": "bytes32" } ], - "id": 1836, + "id": 1328, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "33916:4:1", + "referencedDeclaration": 973, + "src": "34885:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1843, + "id": 1335, "isConstant": false, "isLValue": false, "isPure": false, @@ -16318,58 +16318,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33916:32:1", + "src": "34885:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1835, - "id": 1844, + "functionReturnParameters": 1327, + "id": 1336, "nodeType": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ] }, "documentation": { - "id": 1827, + "id": 1319, "nodeType": "StructuredDocumentation", - "src": "33662:159:1", + "src": "34624:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1846, + "id": 1338, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1832, + "id": 1324, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1829, + "id": 1321, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33839:19:1", + "scope": 1338, + "src": "34807:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1828, + "id": 1320, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "33839:7:1", + "referencedDeclaration": 1318, + "src": "34807:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16377,12 +16377,12 @@ }, { "constant": false, - "id": 1831, + "id": 1323, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33860:13:1", + "scope": 1338, + "src": "34828:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16390,10 +16390,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1830, + "id": 1322, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33860:7:1", + "src": "34828:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16402,20 +16402,20 @@ "visibility": "internal" } ], - "src": "33838:36:1" + "src": "34806:36:0" }, "returnParameters": { - "id": 1835, + "id": 1327, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1834, + "id": 1326, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33893:4:1", + "scope": 1338, + "src": "34861:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16423,10 +16423,10 @@ "typeString": "bool" }, "typeName": { - "id": 1833, + "id": 1325, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "33893:4:1", + "src": "34861:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16435,59 +16435,59 @@ "visibility": "internal" } ], - "src": "33892:6:1" + "src": "34860:6:0" }, - "scope": 1921, - "src": "33826:129:1", + "scope": 1413, + "src": "34794:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1865, + "id": 1357, "nodeType": "Block", - "src": "34199:59:1", + "src": "35177:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1857, + "id": 1349, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1849, - "src": "34224:3:1", + "referencedDeclaration": 1341, + "src": "35203:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1858, + "id": 1350, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34224:10:1", + "referencedDeclaration": 1317, + "src": "35203:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1861, + "id": 1353, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1851, - "src": "34244:5:1", + "referencedDeclaration": 1343, + "src": "35223:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16501,26 +16501,26 @@ "typeString": "uint256" } ], - "id": 1860, + "id": 1352, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1859, + "id": 1351, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": {} } }, - "id": 1862, + "id": 1354, "isConstant": false, "isLValue": false, "isPure": false, @@ -16528,7 +16528,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34236:14:1", + "src": "35215:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16539,7 +16539,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16547,18 +16547,18 @@ "typeString": "bytes32" } ], - "id": 1856, + "id": 1348, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "34216:7:1", + "referencedDeclaration": 1053, + "src": "35195:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1863, + "id": 1355, "isConstant": false, "isLValue": false, "isPure": false, @@ -16566,58 +16566,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34216:35:1", + "src": "35195:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1855, - "id": 1864, + "functionReturnParameters": 1347, + "id": 1356, "nodeType": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ] }, "documentation": { - "id": 1847, + "id": 1339, "nodeType": "StructuredDocumentation", - "src": "33961:157:1", + "src": "34933:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1866, + "id": 1358, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1852, + "id": 1344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1849, + "id": 1341, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34139:19:1", + "scope": 1358, + "src": "35117:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1848, + "id": 1340, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34139:7:1", + "referencedDeclaration": 1318, + "src": "35117:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16625,12 +16625,12 @@ }, { "constant": false, - "id": 1851, + "id": 1343, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34160:13:1", + "scope": 1358, + "src": "35138:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16638,10 +16638,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1850, + "id": 1342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34160:7:1", + "src": "35138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16650,20 +16650,20 @@ "visibility": "internal" } ], - "src": "34138:36:1" + "src": "35116:36:0" }, "returnParameters": { - "id": 1855, + "id": 1347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1854, + "id": 1346, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34193:4:1", + "scope": 1358, + "src": "35171:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16671,10 +16671,10 @@ "typeString": "bool" }, "typeName": { - "id": 1853, + "id": 1345, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34193:4:1", + "src": "35171:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16683,59 +16683,59 @@ "visibility": "internal" } ], - "src": "34192:6:1" + "src": "35170:6:0" }, - "scope": 1921, - "src": "34123:135:1", + "scope": 1413, + "src": "35101:137:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1885, + "id": 1377, "nodeType": "Block", - "src": "34422:61:1", + "src": "35407:63:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1877, + "id": 1369, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1869, - "src": "34449:3:1", + "referencedDeclaration": 1361, + "src": "35435:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1878, + "id": 1370, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34449:10:1", + "referencedDeclaration": 1317, + "src": "35435:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1881, + "id": 1373, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1871, - "src": "34469:5:1", + "referencedDeclaration": 1363, + "src": "35455:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16749,26 +16749,26 @@ "typeString": "uint256" } ], - "id": 1880, + "id": 1372, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1879, + "id": 1371, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": {} } }, - "id": 1882, + "id": 1374, "isConstant": false, "isLValue": false, "isPure": false, @@ -16776,7 +16776,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34461:14:1", + "src": "35447:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16787,7 +16787,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16795,18 +16795,18 @@ "typeString": "bytes32" } ], - "id": 1876, + "id": 1368, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "34439:9:1", + "referencedDeclaration": 1071, + "src": "35425:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1883, + "id": 1375, "isConstant": false, "isLValue": false, "isPure": false, @@ -16814,58 +16814,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34439:37:1", + "src": "35425:37:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1875, - "id": 1884, + "functionReturnParameters": 1367, + "id": 1376, "nodeType": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ] }, "documentation": { - "id": 1867, + "id": 1359, "nodeType": "StructuredDocumentation", - "src": "34264:70:1", + "src": "35246:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1886, + "id": 1378, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1872, + "id": 1364, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1869, + "id": 1361, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34357:19:1", + "scope": 1378, + "src": "35342:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1868, + "id": 1360, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34357:7:1", + "referencedDeclaration": 1318, + "src": "35342:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16873,12 +16873,12 @@ }, { "constant": false, - "id": 1871, + "id": 1363, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34378:13:1", + "scope": 1378, + "src": "35363:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16886,10 +16886,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1870, + "id": 1362, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34378:7:1", + "src": "35363:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16898,20 +16898,20 @@ "visibility": "internal" } ], - "src": "34356:36:1" + "src": "35341:36:0" }, "returnParameters": { - "id": 1875, + "id": 1367, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1874, + "id": 1366, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34416:4:1", + "scope": 1378, + "src": "35401:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16919,10 +16919,10 @@ "typeString": "bool" }, "typeName": { - "id": 1873, + "id": 1365, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34416:4:1", + "src": "35401:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16931,47 +16931,47 @@ "visibility": "internal" } ], - "src": "34415:6:1" + "src": "35400:6:0" }, - "scope": 1921, - "src": "34339:144:1", + "scope": 1413, + "src": "35324:146:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1899, + "id": 1391, "nodeType": "Block", - "src": "34633:43:1", + "src": "35625:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1895, + "id": 1387, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1889, - "src": "34658:3:1", + "referencedDeclaration": 1381, + "src": "35651:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1896, + "id": 1388, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34658:10:1", + "referencedDeclaration": 1317, + "src": "35651:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -16979,22 +16979,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1894, + "id": 1386, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "34650:7:1", + "referencedDeclaration": 1084, + "src": "35643:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1897, + "id": 1389, "isConstant": false, "isLValue": false, "isPure": false, @@ -17002,78 +17002,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34650:19:1", + "src": "35643:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1893, - "id": 1898, + "functionReturnParameters": 1385, + "id": 1390, "nodeType": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ] }, "documentation": { - "id": 1887, + "id": 1379, "nodeType": "StructuredDocumentation", - "src": "34489:70:1", + "src": "35478:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1900, + "id": 1392, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1890, + "id": 1382, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1889, + "id": 1381, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34580:19:1", + "scope": 1392, + "src": "35572:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1888, + "id": 1380, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34580:7:1", + "referencedDeclaration": 1318, + "src": "35572:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, "visibility": "internal" } ], - "src": "34579:21:1" + "src": "35571:21:0" }, "returnParameters": { - "id": 1893, + "id": 1385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1892, + "id": 1384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34624:7:1", + "scope": 1392, + "src": "35616:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17081,10 +17081,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1891, + "id": 1383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34624:7:1", + "src": "35616:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17093,19 +17093,19 @@ "visibility": "internal" } ], - "src": "34623:9:1" + "src": "35615:9:0" }, - "scope": 1921, - "src": "34564:112:1", + "scope": 1413, + "src": "35556:114:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1919, + "id": 1411, "nodeType": "Block", - "src": "35088:55:1", + "src": "36094:57:0", "statements": [ { "expression": { @@ -17114,38 +17114,38 @@ "arguments": [ { "expression": { - "id": 1913, + "id": 1405, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1903, - "src": "35117:3:1", + "referencedDeclaration": 1395, + "src": "36124:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1914, + "id": 1406, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "35117:10:1", + "referencedDeclaration": 1317, + "src": "36124:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1915, + "id": 1407, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1905, - "src": "35129:5:1", + "referencedDeclaration": 1397, + "src": "36136:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17155,7 +17155,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -17163,18 +17163,18 @@ "typeString": "uint256" } ], - "id": 1912, + "id": 1404, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "35113:3:1", + "referencedDeclaration": 1109, + "src": "36120:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1916, + "id": 1408, "isConstant": false, "isLValue": false, "isPure": false, @@ -17182,7 +17182,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35113:22:1", + "src": "36120:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -17197,26 +17197,26 @@ "typeString": "bytes32" } ], - "id": 1911, + "id": 1403, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1910, + "id": 1402, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": {} } }, - "id": 1917, + "id": 1409, "isConstant": false, "isLValue": false, "isPure": false, @@ -17224,58 +17224,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35105:31:1", + "src": "36112:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1909, - "id": 1918, + "functionReturnParameters": 1401, + "id": 1410, "nodeType": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ] }, "documentation": { - "id": 1901, + "id": 1393, "nodeType": "StructuredDocumentation", - "src": "34681:322:1", + "src": "35677:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1920, + "id": 1412, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1906, + "id": 1398, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1903, + "id": 1395, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35020:19:1", + "scope": 1412, + "src": "36026:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1902, + "id": 1394, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "35020:7:1", + "referencedDeclaration": 1318, + "src": "36026:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -17283,12 +17283,12 @@ }, { "constant": false, - "id": 1905, + "id": 1397, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35041:13:1", + "scope": 1412, + "src": "36047:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17296,10 +17296,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1904, + "id": 1396, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35041:7:1", + "src": "36047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17308,20 +17308,20 @@ "visibility": "internal" } ], - "src": "35019:36:1" + "src": "36025:36:0" }, "returnParameters": { - "id": 1909, + "id": 1401, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1908, + "id": 1400, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35079:7:1", + "scope": 1412, + "src": "36085:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17329,10 +17329,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1907, + "id": 1399, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35079:7:1", + "src": "36085:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17341,20 +17341,20 @@ "visibility": "internal" } ], - "src": "35078:9:1" + "src": "36084:9:0" }, - "scope": 1921, - "src": "35008:135:1", + "scope": 1413, + "src": "36014:137:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "26511:8634:1" + "scope": 2991, + "src": "27252:8902:0" }, { - "id": 1922, + "id": 1414, "literals": [ "solidity", ">=", @@ -17365,7 +17365,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "abstract": false, @@ -17373,31 +17373,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1923, + "id": 1415, "nodeType": "StructuredDocumentation", - "src": "35237:705:1", + "src": "36251:728:0", "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, "fullyImplemented": true, - "id": 2480, + "id": 1972, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableMap.MapEntry", - "id": 1928, + "id": 1420, "members": [ { "constant": false, - "id": 1925, + "id": 1417, "mutability": "mutable", "name": "_key", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36455:12:1", + "scope": 1420, + "src": "37504:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17405,10 +17405,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1924, + "id": 1416, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36455:7:1", + "src": "37504:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17418,12 +17418,12 @@ }, { "constant": false, - "id": 1927, + "id": 1419, "mutability": "mutable", "name": "_value", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36477:14:1", + "scope": 1420, + "src": "37527:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17431,10 +17431,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1926, + "id": 1418, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36477:7:1", + "src": "37527:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17445,45 +17445,45 @@ ], "name": "MapEntry", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36429:69:1", + "scope": 1972, + "src": "37477:72:0", "visibility": "public" }, { "canonicalName": "EnumerableMap.Map", - "id": 1936, + "id": 1428, "members": [ { "constant": false, - "id": 1931, + "id": 1423, "mutability": "mutable", "name": "_entries", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36567:19:1", + "scope": 1428, + "src": "37622:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" }, "typeName": { "baseType": { - "id": 1929, + "id": 1421, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "36567:8:1", + "referencedDeclaration": 1420, + "src": "37622:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, - "id": 1930, + "id": 1422, "nodeType": "ArrayTypeName", - "src": "36567:10:1", + "src": "37622:10:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" } }, @@ -17491,12 +17491,12 @@ }, { "constant": false, - "id": 1935, + "id": 1427, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36736:37:1", + "scope": 1428, + "src": "37795:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17504,28 +17504,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1934, + "id": 1426, "keyType": { - "id": 1932, + "id": 1424, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36745:7:1", + "src": "37804:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "36736:28:1", + "src": "37795:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1933, + "id": 1425, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "36756:7:1", + "src": "37815:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17537,29 +17537,29 @@ ], "name": "Map", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36504:276:1", + "scope": 1972, + "src": "37557:283:0", "visibility": "public" }, { "body": { - "id": 1997, + "id": 1489, "nodeType": "Block", - "src": "37089:596:1", + "src": "38158:610:0", "statements": [ { "assignments": [ - 1949 + 1441 ], "declarations": [ { "constant": false, - "id": 1949, + "id": 1441, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 1997, - "src": "37197:16:1", + "scope": 1489, + "src": "38268:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17567,10 +17567,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1948, + "id": 1440, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "37197:7:1", + "src": "38268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17579,43 +17579,43 @@ "visibility": "internal" } ], - "id": 1954, + "id": 1446, "initialValue": { "baseExpression": { "expression": { - "id": 1950, + "id": 1442, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37216:3:1", + "referencedDeclaration": 1431, + "src": "38287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1951, + "id": 1443, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37216:12:1", + "referencedDeclaration": 1427, + "src": "38287:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1953, + "id": 1445, "indexExpression": { - "id": 1952, + "id": 1444, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37229:3:1", + "referencedDeclaration": 1433, + "src": "38300:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17626,14 +17626,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37216:17:1", + "src": "38287:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "condition": { @@ -17641,18 +17641,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1957, + "id": 1449, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1955, + "id": 1447, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37248:8:1", + "referencedDeclaration": 1441, + "src": "38321:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17662,34 +17662,34 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 1956, + "id": 1448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37260:1:1", + "src": "38333:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "37248:13:1", + "src": "38321:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1995, + "id": 1487, "nodeType": "Block", - "src": "37587:92:1", + "src": "38666:95:0", "statements": [ { "expression": { - "id": 1991, + "id": 1483, "isConstant": false, "isLValue": false, "isPure": false, @@ -17698,49 +17698,49 @@ "expression": { "baseExpression": { "expression": { - "id": 1982, + "id": 1474, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37601:3:1", + "referencedDeclaration": 1431, + "src": "38681:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1987, + "id": 1479, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37601:12:1", + "referencedDeclaration": 1423, + "src": "38681:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1988, + "id": 1480, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1986, + "id": 1478, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1984, + "id": 1476, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37614:8:1", + "referencedDeclaration": 1441, + "src": "38694:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17750,21 +17750,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1985, + "id": 1477, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37625:1:1", + "src": "38705:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "37614:12:1", + "src": "38694:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17775,21 +17775,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37601:26:1", + "src": "38681:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 1989, + "id": 1481, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "37601:33:1", + "referencedDeclaration": 1419, + "src": "38681:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17798,58 +17798,58 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1990, + "id": 1482, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37637:5:1", + "referencedDeclaration": 1435, + "src": "38717:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "37601:41:1", + "src": "38681:41:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1992, + "id": 1484, "nodeType": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "expression": { "hexValue": "66616c7365", - "id": 1993, + "id": 1485, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37663:5:1", + "src": "38744:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1947, - "id": 1994, + "functionReturnParameters": 1439, + "id": 1486, "nodeType": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ] }, - "id": 1996, + "id": 1488, "nodeType": "IfStatement", - "src": "37244:435:1", + "src": "38317:444:0", "trueBody": { - "id": 1981, + "id": 1473, "nodeType": "Block", - "src": "37263:318:1", + "src": "38336:324:0", "statements": [ { "expression": { @@ -17857,24 +17857,24 @@ { "arguments": [ { - "id": 1964, + "id": 1456, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37349:3:1", + "referencedDeclaration": 1433, + "src": "38423:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, { - "id": 1965, + "id": 1457, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37362:5:1", + "referencedDeclaration": 1435, + "src": "38436:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17892,18 +17892,18 @@ "typeString": "bytes32" } ], - "id": 1963, + "id": 1455, "name": "MapEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1928, - "src": "37332:8:1", + "referencedDeclaration": 1420, + "src": "38406:8:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_MapEntry_$1928_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_MapEntry_$1420_storage_ptr_$", "typeString": "type(struct EnumerableMap.MapEntry storage pointer)" } }, - "id": 1966, + "id": 1458, "isConstant": false, "isLValue": false, "isPure": false, @@ -17914,10 +17914,10 @@ "_value" ], "nodeType": "FunctionCall", - "src": "37332:38:1", + "src": "38406:38:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } } @@ -17925,51 +17925,51 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], "expression": { "expression": { - "id": 1958, + "id": 1450, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37314:3:1", + "referencedDeclaration": 1431, + "src": "38388:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1961, + "id": 1453, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37314:12:1", + "referencedDeclaration": 1423, + "src": "38388:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1962, + "id": 1454, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "37314:17:1", + "src": "38388:17:0", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1928_storage_$returns$__$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1420_storage_$returns$__$", "typeString": "function (struct EnumerableMap.MapEntry storage ref)" } }, - "id": 1967, + "id": 1459, "isConstant": false, "isLValue": false, "isPure": false, @@ -17977,20 +17977,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "37314:57:1", + "src": "38388:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1968, + "id": 1460, "nodeType": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "expression": { - "id": 1977, + "id": 1469, "isConstant": false, "isLValue": false, "isPure": false, @@ -17998,39 +17998,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1969, + "id": 1461, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37506:3:1", + "referencedDeclaration": 1431, + "src": "38583:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1972, + "id": 1464, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37506:12:1", + "referencedDeclaration": 1427, + "src": "38583:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1973, + "id": 1465, "indexExpression": { - "id": 1971, + "id": 1463, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37519:3:1", + "referencedDeclaration": 1433, + "src": "38596:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18041,7 +18041,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "37506:17:1", + "src": "38583:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18052,75 +18052,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1974, + "id": 1466, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37526:3:1", + "referencedDeclaration": 1431, + "src": "38603:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1975, + "id": 1467, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37526:12:1", + "referencedDeclaration": 1423, + "src": "38603:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1976, + "id": 1468, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "37526:19:1", + "src": "38603:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "37506:39:1", + "src": "38583:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1978, + "id": 1470, "nodeType": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "expression": { "hexValue": "74727565", - "id": 1979, + "id": 1471, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37566:4:1", + "src": "38644:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1947, - "id": 1980, + "functionReturnParameters": 1439, + "id": 1472, "nodeType": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ] } @@ -18128,43 +18128,43 @@ ] }, "documentation": { - "id": 1937, + "id": 1429, "nodeType": "StructuredDocumentation", - "src": "36786:216:1", + "src": "37848:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1998, + "id": 1490, "implemented": true, "kind": "function", "modifiers": [], "name": "_set", "nodeType": "FunctionDefinition", "parameters": { - "id": 1944, + "id": 1436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1939, + "id": 1431, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37021:15:1", + "scope": 1490, + "src": "38090:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 1938, + "id": 1430, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37021:3:1", + "referencedDeclaration": 1428, + "src": "38090:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -18172,12 +18172,12 @@ }, { "constant": false, - "id": 1941, + "id": 1433, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37038:11:1", + "scope": 1490, + "src": "38107:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18185,10 +18185,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1940, + "id": 1432, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37038:7:1", + "src": "38107:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18198,12 +18198,12 @@ }, { "constant": false, - "id": 1943, + "id": 1435, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37051:13:1", + "scope": 1490, + "src": "38120:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18211,10 +18211,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1942, + "id": 1434, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37051:7:1", + "src": "38120:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18223,20 +18223,20 @@ "visibility": "internal" } ], - "src": "37020:45:1" + "src": "38089:45:0" }, "returnParameters": { - "id": 1947, + "id": 1439, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1946, + "id": 1438, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37083:4:1", + "scope": 1490, + "src": "38152:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18244,10 +18244,10 @@ "typeString": "bool" }, "typeName": { - "id": 1945, + "id": 1437, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37083:4:1", + "src": "38152:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -18256,33 +18256,33 @@ "visibility": "internal" } ], - "src": "37082:6:1" + "src": "38151:6:0" }, - "scope": 2480, - "src": "37007:678:1", + "scope": 1972, + "src": "38076:692:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2078, + "id": 1570, "nodeType": "Block", - "src": "37923:1447:1", + "src": "39013:1479:0", "statements": [ { "assignments": [ - 2009 + 1501 ], "declarations": [ { "constant": false, - "id": 2009, + "id": 1501, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2078, - "src": "38031:16:1", + "scope": 1570, + "src": "39123:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18290,10 +18290,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2008, + "id": 1500, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38031:7:1", + "src": "39123:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18302,43 +18302,43 @@ "visibility": "internal" } ], - "id": 2014, + "id": 1506, "initialValue": { "baseExpression": { "expression": { - "id": 2010, + "id": 1502, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38050:3:1", + "referencedDeclaration": 1493, + "src": "39142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2011, + "id": 1503, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "38050:12:1", + "referencedDeclaration": 1427, + "src": "39142:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2013, + "id": 1505, "indexExpression": { - "id": 2012, + "id": 1504, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "38063:3:1", + "referencedDeclaration": 1495, + "src": "39155:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18349,14 +18349,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38050:17:1", + "src": "39142:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "condition": { @@ -18364,18 +18364,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2017, + "id": 1509, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2015, + "id": 1507, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38082:8:1", + "referencedDeclaration": 1501, + "src": "39176:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18385,76 +18385,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2016, + "id": 1508, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38094:1:1", + "src": "39188:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "38082:13:1", + "src": "39176:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 2076, + "id": 1568, "nodeType": "Block", - "src": "39327:37:1", + "src": "40446:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 2074, + "id": 1566, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39348:5:1", + "src": "40468:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 2007, - "id": 2075, + "functionReturnParameters": 1499, + "id": 1567, "nodeType": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ] }, - "id": 2077, + "id": 1569, "nodeType": "IfStatement", - "src": "38078:1286:1", + "src": "39172:1313:0", "trueBody": { - "id": 2073, + "id": 1565, "nodeType": "Block", - "src": "38097:1224:1", + "src": "39191:1249:0", "statements": [ { "assignments": [ - 2019 + 1511 ], "declarations": [ { "constant": false, - "id": 2019, + "id": 1511, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38438:21:1", + "scope": 1565, + "src": "39537:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18462,10 +18462,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2018, + "id": 1510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38438:7:1", + "src": "39537:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18474,24 +18474,24 @@ "visibility": "internal" } ], - "id": 2023, + "id": 1515, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2022, + "id": 1514, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2020, + "id": 1512, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38462:8:1", + "referencedDeclaration": 1501, + "src": "39561:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18501,42 +18501,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2021, + "id": 1513, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38473:1:1", + "src": "39572:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38462:12:1", + "src": "39561:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "assignments": [ - 2025 + 1517 ], "declarations": [ { "constant": false, - "id": 2025, + "id": 1517, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38488:17:1", + "scope": 1565, + "src": "39588:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18544,10 +18544,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2024, + "id": 1516, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38488:7:1", + "src": "39588:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18556,13 +18556,13 @@ "visibility": "internal" } ], - "id": 2031, + "id": 1523, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2030, + "id": 1522, "isConstant": false, "isLValue": false, "isPure": false, @@ -18570,39 +18570,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2026, + "id": 1518, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38508:3:1", + "referencedDeclaration": 1493, + "src": "39608:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2027, + "id": 1519, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38508:12:1", + "referencedDeclaration": 1423, + "src": "39608:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2028, + "id": 1520, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "38508:19:1", + "src": "39608:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18612,99 +18612,99 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2029, + "id": 1521, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38530:1:1", + "src": "39630:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38508:23:1", + "src": "39608:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "assignments": [ - 2033 + 1525 ], "declarations": [ { "constant": false, - "id": 2033, + "id": 1525, "mutability": "mutable", "name": "lastEntry", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38771:26:1", + "scope": 1565, + "src": "39876:26:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2032, + "id": 1524, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "38771:8:1", + "referencedDeclaration": 1420, + "src": "39876:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2038, + "id": 1530, "initialValue": { "baseExpression": { "expression": { - "id": 2034, + "id": 1526, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38800:3:1", + "referencedDeclaration": 1493, + "src": "39905:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2035, + "id": 1527, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38800:12:1", + "referencedDeclaration": 1423, + "src": "39905:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2037, + "id": 1529, "indexExpression": { - "id": 2036, + "id": 1528, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "38813:9:1", + "referencedDeclaration": 1517, + "src": "39918:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18715,18 +18715,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38800:23:1", + "src": "39905:23:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "expression": { - "id": 2045, + "id": 1537, "isConstant": false, "isLValue": false, "isPure": false, @@ -18734,39 +18734,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2039, + "id": 1531, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38915:3:1", + "referencedDeclaration": 1493, + "src": "40023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2042, + "id": 1534, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38915:12:1", + "referencedDeclaration": 1423, + "src": "40023:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2043, + "id": 1535, "indexExpression": { - "id": 2041, + "id": 1533, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "38928:13:1", + "referencedDeclaration": 1511, + "src": "40036:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18777,39 +18777,39 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "38915:27:1", + "src": "40023:27:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2044, + "id": 1536, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "38945:9:1", + "referencedDeclaration": 1525, + "src": "40053:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "src": "38915:39:1", + "src": "40023:39:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2046, + "id": 1538, "nodeType": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "expression": { - "id": 2056, + "id": 1548, "isConstant": false, "isLValue": false, "isPure": false, @@ -18817,54 +18817,54 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2047, + "id": 1539, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39020:3:1", + "referencedDeclaration": 1493, + "src": "40130:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2051, + "id": 1543, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39020:12:1", + "referencedDeclaration": 1427, + "src": "40130:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2052, + "id": 1544, "indexExpression": { "expression": { - "id": 2049, + "id": 1541, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "39033:9:1", + "referencedDeclaration": 1525, + "src": "40143:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2050, + "id": 1542, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "39033:14:1", + "referencedDeclaration": 1417, + "src": "40143:14:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18875,7 +18875,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39020:28:1", + "src": "40130:28:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18888,18 +18888,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2055, + "id": 1547, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2053, + "id": 1545, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "39051:13:1", + "referencedDeclaration": 1511, + "src": "40161:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18909,35 +18909,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 2054, + "id": 1546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39067:1:1", + "src": "40177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "39051:17:1", + "src": "40161:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "39020:48:1", + "src": "40130:48:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2057, + "id": 1549, "nodeType": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "expression": { @@ -18946,45 +18946,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 2058, + "id": 1550, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39174:3:1", + "referencedDeclaration": 1493, + "src": "40287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2061, + "id": 1553, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39174:12:1", + "referencedDeclaration": 1423, + "src": "40287:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2062, + "id": 1554, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "39174:16:1", + "src": "40287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 2063, + "id": 1555, "isConstant": false, "isLValue": false, "isPure": false, @@ -18992,20 +18992,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "39174:18:1", + "src": "40287:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2064, + "id": 1556, "nodeType": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "expression": { - "id": 2069, + "id": 1561, "isConstant": false, "isLValue": false, "isPure": false, @@ -19013,43 +19013,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "39260:24:1", + "src": "40376:24:0", "subExpression": { "baseExpression": { "expression": { - "id": 2065, + "id": 1557, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39267:3:1", + "referencedDeclaration": 1493, + "src": "40383:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2066, + "id": 1558, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39267:12:1", + "referencedDeclaration": 1427, + "src": "40383:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2068, + "id": 1560, "indexExpression": { - "id": 2067, + "id": 1559, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "39280:3:1", + "referencedDeclaration": 1495, + "src": "40396:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19060,7 +19060,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39267:17:1", + "src": "40383:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19071,31 +19071,31 @@ "typeString": "tuple()" } }, - "id": 2070, + "id": 1562, "nodeType": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "expression": { "hexValue": "74727565", - "id": 2071, + "id": 1563, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39306:4:1", + "src": "40424:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 2007, - "id": 2072, + "functionReturnParameters": 1499, + "id": 1564, "nodeType": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ] } @@ -19103,43 +19103,43 @@ ] }, "documentation": { - "id": 1999, + "id": 1491, "nodeType": "StructuredDocumentation", - "src": "37691:157:1", + "src": "38776:161:0", "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2079, + "id": 1571, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2004, + "id": 1496, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2001, + "id": 1493, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37870:15:1", + "scope": 1571, + "src": "38960:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2000, + "id": 1492, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37870:3:1", + "referencedDeclaration": 1428, + "src": "38960:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19147,12 +19147,12 @@ }, { "constant": false, - "id": 2003, + "id": 1495, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37887:11:1", + "scope": 1571, + "src": "38977:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19160,10 +19160,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2002, + "id": 1494, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37887:7:1", + "src": "38977:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19172,20 +19172,20 @@ "visibility": "internal" } ], - "src": "37869:30:1" + "src": "38959:30:0" }, "returnParameters": { - "id": 2007, + "id": 1499, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2006, + "id": 1498, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37917:4:1", + "scope": 1571, + "src": "39007:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19193,10 +19193,10 @@ "typeString": "bool" }, "typeName": { - "id": 2005, + "id": 1497, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37917:4:1", + "src": "39007:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19205,19 +19205,19 @@ "visibility": "internal" } ], - "src": "37916:6:1" + "src": "39006:6:0" }, - "scope": 2480, - "src": "37853:1517:1", + "scope": 1972, + "src": "38943:1549:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2096, + "id": 1588, "nodeType": "Block", - "src": "39526:46:1", + "src": "40653:48:0", "statements": [ { "expression": { @@ -19225,7 +19225,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2094, + "id": 1586, "isConstant": false, "isLValue": false, "isPure": false, @@ -19233,39 +19233,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 2089, + "id": 1581, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2082, - "src": "39543:3:1", + "referencedDeclaration": 1574, + "src": "40671:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2090, + "id": 1582, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39543:12:1", + "referencedDeclaration": 1427, + "src": "40671:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2092, + "id": 1584, "indexExpression": { - "id": 2091, + "id": 1583, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2084, - "src": "39556:3:1", + "referencedDeclaration": 1576, + "src": "40684:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19276,7 +19276,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "39543:17:1", + "src": "40671:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19286,71 +19286,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2093, + "id": 1585, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39564:1:1", + "src": "40692:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "39543:22:1", + "src": "40671:22:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2088, - "id": 2095, + "functionReturnParameters": 1580, + "id": 1587, "nodeType": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ] }, "documentation": { - "id": 2080, + "id": 1572, "nodeType": "StructuredDocumentation", - "src": "39376:68:1", + "src": "40500:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2097, + "id": 1589, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2085, + "id": 1577, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2082, + "id": 1574, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39468:15:1", + "scope": 1589, + "src": "40595:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2081, + "id": 1573, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39468:3:1", + "referencedDeclaration": 1428, + "src": "40595:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19358,12 +19358,12 @@ }, { "constant": false, - "id": 2084, + "id": 1576, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39485:11:1", + "scope": 1589, + "src": "40612:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19371,10 +19371,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2083, + "id": 1575, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "39485:7:1", + "src": "40612:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19383,20 +19383,20 @@ "visibility": "internal" } ], - "src": "39467:30:1" + "src": "40594:30:0" }, "returnParameters": { - "id": 2088, + "id": 1580, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2087, + "id": 1579, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39520:4:1", + "scope": 1589, + "src": "40647:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19404,10 +19404,10 @@ "typeString": "bool" }, "typeName": { - "id": 2086, + "id": 1578, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "39520:4:1", + "src": "40647:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19416,127 +19416,127 @@ "visibility": "internal" } ], - "src": "39519:6:1" + "src": "40646:6:0" }, - "scope": 2480, - "src": "39449:123:1", + "scope": 1972, + "src": "40576:125:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2109, + "id": 1601, "nodeType": "Block", - "src": "39727:43:1", + "src": "40861:45:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 2105, + "id": 1597, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2100, - "src": "39744:3:1", + "referencedDeclaration": 1592, + "src": "40879:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2106, + "id": 1598, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39744:12:1", + "referencedDeclaration": 1423, + "src": "40879:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2107, + "id": 1599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "39744:19:1", + "src": "40879:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2104, - "id": 2108, + "functionReturnParameters": 1596, + "id": 1600, "nodeType": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ] }, "documentation": { - "id": 2098, + "id": 1590, "nodeType": "StructuredDocumentation", - "src": "39578:79:1", + "src": "40709:81:0", "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2110, + "id": 1602, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2101, + "id": 1593, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2100, + "id": 1592, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39679:15:1", + "scope": 1602, + "src": "40813:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2099, + "id": 1591, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39679:3:1", + "referencedDeclaration": 1428, + "src": "40813:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, "visibility": "internal" } ], - "src": "39678:17:1" + "src": "40812:17:0" }, "returnParameters": { - "id": 2104, + "id": 1596, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2103, + "id": 1595, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39718:7:1", + "scope": 1602, + "src": "40852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19544,10 +19544,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2102, + "id": 1594, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "39718:7:1", + "src": "40852:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19556,19 +19556,19 @@ "visibility": "internal" } ], - "src": "39717:9:1" + "src": "40851:9:0" }, - "scope": 2480, - "src": "39662:108:1", + "scope": 1972, + "src": "40796:110:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2144, + "id": 1636, "nodeType": "Block", - "src": "40198:189:1", + "src": "41346:194:0", "statements": [ { "expression": { @@ -19578,7 +19578,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2127, + "id": 1619, "isConstant": false, "isLValue": false, "isPure": false, @@ -19586,39 +19586,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2123, + "id": 1615, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40216:3:1", + "referencedDeclaration": 1605, + "src": "41365:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2124, + "id": 1616, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40216:12:1", + "referencedDeclaration": 1423, + "src": "41365:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2125, + "id": 1617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "40216:19:1", + "src": "41365:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19627,18 +19627,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 2126, + "id": 1618, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40238:5:1", + "referencedDeclaration": 1607, + "src": "41387:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "40216:27:1", + "src": "41365:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19646,14 +19646,14 @@ }, { "hexValue": "456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473", - "id": 2128, + "id": 1620, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "40245:36:1", + "src": "41394:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_86631030b9066a18616a068fc09fce83d18af4765cb1d2166fa475228f4db155", "typeString": "literal_string \"EnumerableMap: index out of bounds\"" @@ -19672,7 +19672,7 @@ "typeString": "literal_string \"EnumerableMap: index out of bounds\"" } ], - "id": 2122, + "id": 1614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -19680,13 +19680,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "40208:7:1", + "src": "41357:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2129, + "id": 1621, "isConstant": false, "isLValue": false, "isPure": false, @@ -19694,87 +19694,87 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "40208:74:1", + "src": "41357:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2130, + "id": 1622, "nodeType": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "assignments": [ - 2132 + 1624 ], "declarations": [ { "constant": false, - "id": 2132, + "id": 1624, "mutability": "mutable", "name": "entry", "nodeType": "VariableDeclaration", - "scope": 2144, - "src": "40293:22:1", + "scope": 1636, + "src": "41444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2131, + "id": 1623, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "40293:8:1", + "referencedDeclaration": 1420, + "src": "41444:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2137, + "id": 1629, "initialValue": { "baseExpression": { "expression": { - "id": 2133, + "id": 1625, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40318:3:1", + "referencedDeclaration": 1605, + "src": "41469:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2134, + "id": 1626, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40318:12:1", + "referencedDeclaration": 1423, + "src": "41469:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2136, + "id": 1628, "indexExpression": { - "id": 2135, + "id": 1627, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40331:5:1", + "referencedDeclaration": 1607, + "src": "41482:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19785,40 +19785,40 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40318:19:1", + "src": "41469:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "expression": { "components": [ { "expression": { - "id": 2138, + "id": 1630, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40355:5:1", + "referencedDeclaration": 1624, + "src": "41507:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2139, + "id": 1631, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "40355:10:1", + "referencedDeclaration": 1417, + "src": "41507:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19826,90 +19826,90 @@ }, { "expression": { - "id": 2140, + "id": 1632, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40367:5:1", + "referencedDeclaration": 1624, + "src": "41519:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2141, + "id": 1633, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40367:12:1", + "referencedDeclaration": 1419, + "src": "41519:12:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2142, + "id": 1634, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40354:26:1", + "src": "41506:26:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", "typeString": "tuple(bytes32,bytes32)" } }, - "functionReturnParameters": 2121, - "id": 2143, + "functionReturnParameters": 1613, + "id": 1635, "nodeType": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ] }, "documentation": { - "id": 2111, + "id": 1603, "nodeType": "StructuredDocumentation", - "src": "39775:333:1", + "src": "40913:342:0", "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2145, + "id": 1637, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2116, + "id": 1608, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2113, + "id": 1605, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40126:15:1", + "scope": 1637, + "src": "41274:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2112, + "id": 1604, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40126:3:1", + "referencedDeclaration": 1428, + "src": "41274:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19917,12 +19917,12 @@ }, { "constant": false, - "id": 2115, + "id": 1607, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40143:13:1", + "scope": 1637, + "src": "41291:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19930,10 +19930,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2114, + "id": 1606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40143:7:1", + "src": "41291:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19942,20 +19942,20 @@ "visibility": "internal" } ], - "src": "40125:32:1" + "src": "41273:32:0" }, "returnParameters": { - "id": 2121, + "id": 1613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2118, + "id": 1610, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40180:7:1", + "scope": 1637, + "src": "41328:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19963,10 +19963,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2117, + "id": 1609, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40180:7:1", + "src": "41328:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19976,12 +19976,12 @@ }, { "constant": false, - "id": 2120, + "id": 1612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40189:7:1", + "scope": 1637, + "src": "41337:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19989,10 +19989,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2119, + "id": 1611, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40189:7:1", + "src": "41337:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20001,33 +20001,33 @@ "visibility": "internal" } ], - "src": "40179:18:1" + "src": "41327:18:0" }, - "scope": 2480, - "src": "40113:274:1", + "scope": 1972, + "src": "41261:279:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2182, + "id": 1674, "nodeType": "Block", - "src": "40613:220:1", + "src": "41772:224:0", "statements": [ { "assignments": [ - 2158 + 1650 ], "declarations": [ { "constant": false, - "id": 2158, + "id": 1650, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2182, - "src": "40623:16:1", + "scope": 1674, + "src": "41783:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20035,10 +20035,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2157, + "id": 1649, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40623:7:1", + "src": "41783:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20047,43 +20047,43 @@ "visibility": "internal" } ], - "id": 2163, + "id": 1655, "initialValue": { "baseExpression": { "expression": { - "id": 2159, + "id": 1651, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40642:3:1", + "referencedDeclaration": 1640, + "src": "41802:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2160, + "id": 1652, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "40642:12:1", + "referencedDeclaration": 1427, + "src": "41802:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2162, + "id": 1654, "indexExpression": { - "id": 2161, + "id": 1653, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2150, - "src": "40655:3:1", + "referencedDeclaration": 1642, + "src": "41815:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20094,14 +20094,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40642:17:1", + "src": "41802:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "condition": { @@ -20109,18 +20109,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2166, + "id": 1658, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2164, + "id": 1656, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40673:8:1", + "referencedDeclaration": 1650, + "src": "41834:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20130,42 +20130,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2165, + "id": 1657, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40685:1:1", + "src": "41846:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "40673:13:1", + "src": "41834:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2171, + "id": 1663, "nodeType": "IfStatement", - "src": "40669:36:1", + "src": "41830:36:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 2167, + "id": 1659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40696:5:1", + "src": "41857:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20174,14 +20174,14 @@ }, { "hexValue": "30", - "id": 2168, + "id": 1660, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40703:1:1", + "src": "41864:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -20189,23 +20189,23 @@ "value": "0" } ], - "id": 2169, + "id": 1661, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40695:10:1", + "src": "41856:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 2156, - "id": 2170, + "functionReturnParameters": 1648, + "id": 1662, "nodeType": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } }, { @@ -20213,14 +20213,14 @@ "components": [ { "hexValue": "74727565", - "id": 2172, + "id": 1664, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40759:4:1", + "src": "41921:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20231,49 +20231,49 @@ "expression": { "baseExpression": { "expression": { - "id": 2173, + "id": 1665, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40765:3:1", + "referencedDeclaration": 1640, + "src": "41927:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2174, + "id": 1666, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40765:12:1", + "referencedDeclaration": 1423, + "src": "41927:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2178, + "id": 1670, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2177, + "id": 1669, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2175, + "id": 1667, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40778:8:1", + "referencedDeclaration": 1650, + "src": "41940:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20283,21 +20283,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2176, + "id": 1668, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40789:1:1", + "src": "41951:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "40778:12:1", + "src": "41940:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20308,85 +20308,85 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40765:26:1", + "src": "41927:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2179, + "id": 1671, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40765:33:1", + "referencedDeclaration": 1419, + "src": "41927:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2180, + "id": 1672, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40758:41:1", + "src": "41920:41:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", "typeString": "tuple(bool,bytes32)" } }, - "functionReturnParameters": 2156, - "id": 2181, + "functionReturnParameters": 1648, + "id": 1673, "nodeType": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ] }, "documentation": { - "id": 2146, + "id": 1638, "nodeType": "StructuredDocumentation", - "src": "40393:131:1", + "src": "41548:134:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2183, + "id": 1675, "implemented": true, "kind": "function", "modifiers": [], "name": "_tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2151, + "id": 1643, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2148, + "id": 1640, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40546:15:1", + "scope": 1675, + "src": "41705:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2147, + "id": 1639, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40546:3:1", + "referencedDeclaration": 1428, + "src": "41705:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20394,12 +20394,12 @@ }, { "constant": false, - "id": 2150, + "id": 1642, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40563:11:1", + "scope": 1675, + "src": "41722:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20407,10 +20407,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2149, + "id": 1641, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40563:7:1", + "src": "41722:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20419,20 +20419,20 @@ "visibility": "internal" } ], - "src": "40545:30:1" + "src": "41704:30:0" }, "returnParameters": { - "id": 2156, + "id": 1648, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2153, + "id": 1645, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40598:4:1", + "scope": 1675, + "src": "41757:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20440,10 +20440,10 @@ "typeString": "bool" }, "typeName": { - "id": 2152, + "id": 1644, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "40598:4:1", + "src": "41757:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20453,12 +20453,12 @@ }, { "constant": false, - "id": 2155, + "id": 1647, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40604:7:1", + "scope": 1675, + "src": "41763:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20466,10 +20466,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2154, + "id": 1646, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40604:7:1", + "src": "41763:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20478,33 +20478,33 @@ "visibility": "internal" } ], - "src": "40597:15:1" + "src": "41756:15:0" }, - "scope": 2480, - "src": "40529:304:1", + "scope": 1972, + "src": "41688:308:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2215, + "id": 1707, "nodeType": "Block", - "src": "41060:232:1", + "src": "42232:236:0", "statements": [ { "assignments": [ - 2194 + 1686 ], "declarations": [ { "constant": false, - "id": 2194, + "id": 1686, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2215, - "src": "41070:16:1", + "scope": 1707, + "src": "42243:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20512,10 +20512,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2193, + "id": 1685, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41070:7:1", + "src": "42243:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20524,43 +20524,43 @@ "visibility": "internal" } ], - "id": 2199, + "id": 1691, "initialValue": { "baseExpression": { "expression": { - "id": 2195, + "id": 1687, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41089:3:1", + "referencedDeclaration": 1678, + "src": "42262:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2196, + "id": 1688, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41089:12:1", + "referencedDeclaration": 1427, + "src": "42262:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2198, + "id": 1690, "indexExpression": { - "id": 2197, + "id": 1689, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2188, - "src": "41102:3:1", + "referencedDeclaration": 1680, + "src": "42275:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20571,14 +20571,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41089:17:1", + "src": "42262:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "expression": { @@ -20588,18 +20588,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2203, + "id": 1695, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2201, + "id": 1693, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41124:8:1", + "referencedDeclaration": 1686, + "src": "42298:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20609,21 +20609,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2202, + "id": 1694, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41136:1:1", + "src": "42310:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41124:13:1", + "src": "42298:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20631,14 +20631,14 @@ }, { "hexValue": "456e756d657261626c654d61703a206e6f6e6578697374656e74206b6579", - "id": 2204, + "id": 1696, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "41139:32:1", + "src": "42313:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_d3551e30d3095fd81287b88f7139bb09818e34280e85ee821994ebaebbed7072", "typeString": "literal_string \"EnumerableMap: nonexistent key\"" @@ -20657,7 +20657,7 @@ "typeString": "literal_string \"EnumerableMap: nonexistent key\"" } ], - "id": 2200, + "id": 1692, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -20665,13 +20665,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41116:7:1", + "src": "42290:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2205, + "id": 1697, "isConstant": false, "isLValue": false, "isPure": false, @@ -20679,65 +20679,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41116:56:1", + "src": "42290:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2206, + "id": 1698, "nodeType": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2207, + "id": 1699, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41225:3:1", + "referencedDeclaration": 1678, + "src": "42400:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2208, + "id": 1700, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41225:12:1", + "referencedDeclaration": 1423, + "src": "42400:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2212, + "id": 1704, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2211, + "id": 1703, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2209, + "id": 1701, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41238:8:1", + "referencedDeclaration": 1686, + "src": "42413:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20747,21 +20747,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2210, + "id": 1702, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41249:1:1", + "src": "42424:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41238:12:1", + "src": "42413:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20772,71 +20772,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41225:26:1", + "src": "42400:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2213, + "id": 1705, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41225:33:1", + "referencedDeclaration": 1419, + "src": "42400:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2192, - "id": 2214, + "functionReturnParameters": 1684, + "id": 1706, "nodeType": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ] }, "documentation": { - "id": 2184, + "id": 1676, "nodeType": "StructuredDocumentation", - "src": "40839:141:1", + "src": "42004:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2216, + "id": 1708, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2189, + "id": 1681, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2186, + "id": 1678, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "40999:15:1", + "scope": 1708, + "src": "42171:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2185, + "id": 1677, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40999:3:1", + "referencedDeclaration": 1428, + "src": "42171:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20844,12 +20844,12 @@ }, { "constant": false, - "id": 2188, + "id": 1680, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41016:11:1", + "scope": 1708, + "src": "42188:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20857,10 +20857,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2187, + "id": 1679, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41016:7:1", + "src": "42188:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20869,20 +20869,20 @@ "visibility": "internal" } ], - "src": "40998:30:1" + "src": "42170:30:0" }, "returnParameters": { - "id": 2192, + "id": 1684, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2191, + "id": 1683, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41051:7:1", + "scope": 1708, + "src": "42223:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20890,10 +20890,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2190, + "id": 1682, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41051:7:1", + "src": "42223:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20902,33 +20902,33 @@ "visibility": "internal" } ], - "src": "41050:9:1" + "src": "42222:9:0" }, - "scope": 2480, - "src": "40985:307:1", + "scope": 1972, + "src": "42157:311:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2250, + "id": 1742, "nodeType": "Block", - "src": "41677:212:1", + "src": "42861:216:0", "statements": [ { "assignments": [ - 2229 + 1721 ], "declarations": [ { "constant": false, - "id": 2229, + "id": 1721, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2250, - "src": "41687:16:1", + "scope": 1742, + "src": "42872:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20936,10 +20936,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2228, + "id": 1720, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41687:7:1", + "src": "42872:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20948,43 +20948,43 @@ "visibility": "internal" } ], - "id": 2234, + "id": 1726, "initialValue": { "baseExpression": { "expression": { - "id": 2230, + "id": 1722, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41706:3:1", + "referencedDeclaration": 1711, + "src": "42891:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2231, + "id": 1723, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41706:12:1", + "referencedDeclaration": 1427, + "src": "42891:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2233, + "id": 1725, "indexExpression": { - "id": 2232, + "id": 1724, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2221, - "src": "41719:3:1", + "referencedDeclaration": 1713, + "src": "42904:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20995,14 +20995,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41706:17:1", + "src": "42891:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "expression": { @@ -21012,18 +21012,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2238, + "id": 1730, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2236, + "id": 1728, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41741:8:1", + "referencedDeclaration": 1721, + "src": "42927:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21033,33 +21033,33 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2237, + "id": 1729, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41753:1:1", + "src": "42939:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41741:13:1", + "src": "42927:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 2239, + "id": 1731, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2223, - "src": "41756:12:1", + "referencedDeclaration": 1715, + "src": "42942:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -21077,7 +21077,7 @@ "typeString": "string memory" } ], - "id": 2235, + "id": 1727, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -21085,13 +21085,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41733:7:1", + "src": "42919:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2240, + "id": 1732, "isConstant": false, "isLValue": false, "isPure": false, @@ -21099,65 +21099,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41733:36:1", + "src": "42919:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2241, + "id": 1733, "nodeType": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2242, + "id": 1734, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41822:3:1", + "referencedDeclaration": 1711, + "src": "43009:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2243, + "id": 1735, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41822:12:1", + "referencedDeclaration": 1423, + "src": "43009:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2247, + "id": 1739, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2246, + "id": 1738, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2244, + "id": 1736, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41835:8:1", + "referencedDeclaration": 1721, + "src": "43022:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21167,21 +21167,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2245, + "id": 1737, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41846:1:1", + "src": "43033:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41835:12:1", + "src": "43022:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21192,71 +21192,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41822:26:1", + "src": "43009:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2248, + "id": 1740, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41822:33:1", + "referencedDeclaration": 1419, + "src": "43009:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2227, - "id": 2249, + "functionReturnParameters": 1719, + "id": 1741, "nodeType": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ] }, "documentation": { - "id": 2217, + "id": 1709, "nodeType": "StructuredDocumentation", - "src": "41298:271:1", + "src": "42476:276:0", "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2251, + "id": 1743, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2224, + "id": 1716, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2219, + "id": 1711, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41588:15:1", + "scope": 1743, + "src": "42772:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2218, + "id": 1710, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41588:3:1", + "referencedDeclaration": 1428, + "src": "42772:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21264,12 +21264,12 @@ }, { "constant": false, - "id": 2221, + "id": 1713, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41605:11:1", + "scope": 1743, + "src": "42789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21277,10 +21277,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2220, + "id": 1712, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41605:7:1", + "src": "42789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21290,12 +21290,12 @@ }, { "constant": false, - "id": 2223, + "id": 1715, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41618:26:1", + "scope": 1743, + "src": "42802:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -21303,10 +21303,10 @@ "typeString": "string" }, "typeName": { - "id": 2222, + "id": 1714, "name": "string", "nodeType": "ElementaryTypeName", - "src": "41618:6:1", + "src": "42802:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -21315,20 +21315,20 @@ "visibility": "internal" } ], - "src": "41587:58:1" + "src": "42771:58:0" }, "returnParameters": { - "id": 2227, + "id": 1719, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2226, + "id": 1718, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41668:7:1", + "scope": 1743, + "src": "42852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21336,10 +21336,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2225, + "id": 1717, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41668:7:1", + "src": "42852:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21348,40 +21348,40 @@ "visibility": "internal" } ], - "src": "41667:9:1" + "src": "42851:9:0" }, - "scope": 2480, - "src": "41574:315:1", + "scope": 1972, + "src": "42758:319:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableMap.UintToAddressMap", - "id": 2254, + "id": 1746, "members": [ { "constant": false, - "id": 2253, + "id": 1745, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 2254, - "src": "41954:10:1", + "scope": 1746, + "src": "43147:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2252, + "id": 1744, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41954:3:1", + "referencedDeclaration": 1428, + "src": "43147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21390,55 +21390,55 @@ ], "name": "UintToAddressMap", "nodeType": "StructDefinition", - "scope": 2480, - "src": "41920:51:1", + "scope": 1972, + "src": "43112:53:0", "visibility": "public" }, { "body": { - "id": 2285, + "id": 1777, "nodeType": "Block", - "src": "42293:88:1", + "src": "43496:90:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2267, + "id": 1759, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2257, - "src": "42315:3:1", + "referencedDeclaration": 1749, + "src": "43519:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2268, + "id": 1760, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42315:10:1", + "referencedDeclaration": 1745, + "src": "43519:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2271, + "id": 1763, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2259, - "src": "42335:3:1", + "referencedDeclaration": 1751, + "src": "43539:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21452,26 +21452,26 @@ "typeString": "uint256" } ], - "id": 2270, + "id": 1762, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2269, + "id": 1761, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": {} } }, - "id": 2272, + "id": 1764, "isConstant": false, "isLValue": false, "isPure": false, @@ -21479,7 +21479,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42327:12:1", + "src": "43531:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21493,12 +21493,12 @@ { "arguments": [ { - "id": 2279, + "id": 1771, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2261, - "src": "42365:5:1", + "referencedDeclaration": 1753, + "src": "43569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21512,26 +21512,26 @@ "typeString": "address" } ], - "id": 2278, + "id": 1770, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2277, + "id": 1769, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": {} } }, - "id": 2280, + "id": 1772, "isConstant": false, "isLValue": false, "isPure": false, @@ -21539,7 +21539,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42357:14:1", + "src": "43561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -21554,26 +21554,26 @@ "typeString": "uint160" } ], - "id": 2276, + "id": 1768, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2275, + "id": 1767, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": {} } }, - "id": 2281, + "id": 1773, "isConstant": false, "isLValue": false, "isPure": false, @@ -21581,7 +21581,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42349:23:1", + "src": "43553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -21596,26 +21596,26 @@ "typeString": "uint256" } ], - "id": 2274, + "id": 1766, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2273, + "id": 1765, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": {} } }, - "id": 2282, + "id": 1774, "isConstant": false, "isLValue": false, "isPure": false, @@ -21623,7 +21623,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42341:32:1", + "src": "43545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21634,7 +21634,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -21646,18 +21646,18 @@ "typeString": "bytes32" } ], - "id": 2266, + "id": 1758, "name": "_set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1998, - "src": "42310:4:1", + "referencedDeclaration": 1490, + "src": "43514:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)" } }, - "id": 2283, + "id": 1775, "isConstant": false, "isLValue": false, "isPure": false, @@ -21665,58 +21665,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42310:64:1", + "src": "43514:64:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2265, - "id": 2284, + "functionReturnParameters": 1757, + "id": 1776, "nodeType": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ] }, "documentation": { - "id": 2255, + "id": 1747, "nodeType": "StructuredDocumentation", - "src": "41977:216:1", + "src": "43173:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2286, + "id": 1778, "implemented": true, "kind": "function", "modifiers": [], "name": "set", "nodeType": "FunctionDefinition", "parameters": { - "id": 2262, + "id": 1754, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2257, + "id": 1749, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42211:28:1", + "scope": 1778, + "src": "43414:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2256, + "id": 1748, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42211:16:1", + "referencedDeclaration": 1746, + "src": "43414:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -21724,12 +21724,12 @@ }, { "constant": false, - "id": 2259, + "id": 1751, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42241:11:1", + "scope": 1778, + "src": "43444:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21737,10 +21737,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2258, + "id": 1750, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42241:7:1", + "src": "43444:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21750,12 +21750,12 @@ }, { "constant": false, - "id": 2261, + "id": 1753, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42254:13:1", + "scope": 1778, + "src": "43457:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21763,10 +21763,10 @@ "typeString": "address" }, "typeName": { - "id": 2260, + "id": 1752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "42254:7:1", + "src": "43457:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -21776,20 +21776,20 @@ "visibility": "internal" } ], - "src": "42210:58:1" + "src": "43413:58:0" }, "returnParameters": { - "id": 2265, + "id": 1757, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2264, + "id": 1756, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42287:4:1", + "scope": 1778, + "src": "43490:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21797,10 +21797,10 @@ "typeString": "bool" }, "typeName": { - "id": 2263, + "id": 1755, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42287:4:1", + "src": "43490:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -21809,59 +21809,59 @@ "visibility": "internal" } ], - "src": "42286:6:1" + "src": "43489:6:0" }, - "scope": 2480, - "src": "42198:183:1", + "scope": 1972, + "src": "43401:185:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2305, + "id": 1797, "nodeType": "Block", - "src": "42623:57:1", + "src": "43835:59:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2297, + "id": 1789, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2289, - "src": "42648:3:1", + "referencedDeclaration": 1781, + "src": "43861:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2298, + "id": 1790, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42648:10:1", + "referencedDeclaration": 1745, + "src": "43861:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2301, + "id": 1793, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2291, - "src": "42668:3:1", + "referencedDeclaration": 1783, + "src": "43881:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21875,26 +21875,26 @@ "typeString": "uint256" } ], - "id": 2300, + "id": 1792, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2299, + "id": 1791, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": {} } }, - "id": 2302, + "id": 1794, "isConstant": false, "isLValue": false, "isPure": false, @@ -21902,7 +21902,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42660:12:1", + "src": "43873:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21913,7 +21913,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -21921,18 +21921,18 @@ "typeString": "bytes32" } ], - "id": 2296, + "id": 1788, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2079, - "src": "42640:7:1", + "referencedDeclaration": 1571, + "src": "43853:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)" } }, - "id": 2303, + "id": 1795, "isConstant": false, "isLValue": false, "isPure": false, @@ -21940,58 +21940,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42640:33:1", + "src": "43853:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2295, - "id": 2304, + "functionReturnParameters": 1787, + "id": 1796, "nodeType": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ] }, "documentation": { - "id": 2287, + "id": 1779, "nodeType": "StructuredDocumentation", - "src": "42387:148:1", + "src": "43594:152:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2306, + "id": 1798, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2292, + "id": 1784, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2289, + "id": 1781, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42556:28:1", + "scope": 1798, + "src": "43768:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2288, + "id": 1780, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42556:16:1", + "referencedDeclaration": 1746, + "src": "43768:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -21999,12 +21999,12 @@ }, { "constant": false, - "id": 2291, + "id": 1783, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42586:11:1", + "scope": 1798, + "src": "43798:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22012,10 +22012,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2290, + "id": 1782, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42586:7:1", + "src": "43798:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22024,20 +22024,20 @@ "visibility": "internal" } ], - "src": "42555:43:1" + "src": "43767:43:0" }, "returnParameters": { - "id": 2295, + "id": 1787, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2294, + "id": 1786, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42617:4:1", + "scope": 1798, + "src": "43829:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22045,10 +22045,10 @@ "typeString": "bool" }, "typeName": { - "id": 2293, + "id": 1785, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42617:4:1", + "src": "43829:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22057,59 +22057,59 @@ "visibility": "internal" } ], - "src": "42616:6:1" + "src": "43828:6:0" }, - "scope": 2480, - "src": "42540:140:1", + "scope": 1972, + "src": "43752:142:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2325, + "id": 1817, "nodeType": "Block", - "src": "42849:59:1", + "src": "44068:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2317, + "id": 1809, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2309, - "src": "42876:3:1", + "referencedDeclaration": 1801, + "src": "44096:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2318, + "id": 1810, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42876:10:1", + "referencedDeclaration": 1745, + "src": "44096:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2321, + "id": 1813, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2311, - "src": "42896:3:1", + "referencedDeclaration": 1803, + "src": "44116:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22123,26 +22123,26 @@ "typeString": "uint256" } ], - "id": 2320, + "id": 1812, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2319, + "id": 1811, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": {} } }, - "id": 2322, + "id": 1814, "isConstant": false, "isLValue": false, "isPure": false, @@ -22150,7 +22150,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42888:12:1", + "src": "44108:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -22161,7 +22161,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22169,18 +22169,18 @@ "typeString": "bytes32" } ], - "id": 2316, + "id": 1808, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2097, - "src": "42866:9:1", + "referencedDeclaration": 1589, + "src": "44086:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)" } }, - "id": 2323, + "id": 1815, "isConstant": false, "isLValue": false, "isPure": false, @@ -22188,58 +22188,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42866:35:1", + "src": "44086:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2315, - "id": 2324, + "functionReturnParameters": 1807, + "id": 1816, "nodeType": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ] }, "documentation": { - "id": 2307, + "id": 1799, "nodeType": "StructuredDocumentation", - "src": "42686:68:1", + "src": "43902:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2326, + "id": 1818, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2312, + "id": 1804, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2309, + "id": 1801, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42777:28:1", + "scope": 1818, + "src": "43996:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2308, + "id": 1800, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42777:16:1", + "referencedDeclaration": 1746, + "src": "43996:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22247,12 +22247,12 @@ }, { "constant": false, - "id": 2311, + "id": 1803, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42807:11:1", + "scope": 1818, + "src": "44026:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22260,10 +22260,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2310, + "id": 1802, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42807:7:1", + "src": "44026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22272,20 +22272,20 @@ "visibility": "internal" } ], - "src": "42776:43:1" + "src": "43995:43:0" }, "returnParameters": { - "id": 2315, + "id": 1807, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2314, + "id": 1806, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42843:4:1", + "scope": 1818, + "src": "44062:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22293,10 +22293,10 @@ "typeString": "bool" }, "typeName": { - "id": 2313, + "id": 1805, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42843:4:1", + "src": "44062:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22305,47 +22305,47 @@ "visibility": "internal" } ], - "src": "42842:6:1" + "src": "44061:6:0" }, - "scope": 2480, - "src": "42759:149:1", + "scope": 1972, + "src": "43978:151:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2339, + "id": 1831, "nodeType": "Block", - "src": "43069:43:1", + "src": "44295:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2335, + "id": 1827, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2329, - "src": "43094:3:1", + "referencedDeclaration": 1821, + "src": "44321:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2336, + "id": 1828, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43094:10:1", + "referencedDeclaration": 1745, + "src": "44321:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } } @@ -22353,22 +22353,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], - "id": 2334, + "id": 1826, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2110, - "src": "43086:7:1", + "referencedDeclaration": 1602, + "src": "44313:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)" } }, - "id": 2337, + "id": 1829, "isConstant": false, "isLValue": false, "isPure": false, @@ -22376,78 +22376,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43086:19:1", + "src": "44313:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2333, - "id": 2338, + "functionReturnParameters": 1825, + "id": 1830, "nodeType": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ] }, "documentation": { - "id": 2327, + "id": 1819, "nodeType": "StructuredDocumentation", - "src": "42914:72:1", + "src": "44137:74:0", "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2340, + "id": 1832, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2330, + "id": 1822, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2329, + "id": 1821, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43007:28:1", + "scope": 1832, + "src": "44233:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2328, + "id": 1820, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43007:16:1", + "referencedDeclaration": 1746, + "src": "44233:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, "visibility": "internal" } ], - "src": "43006:30:1" + "src": "44232:30:0" }, "returnParameters": { - "id": 2333, + "id": 1825, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2332, + "id": 1824, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43060:7:1", + "scope": 1832, + "src": "44286:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22455,10 +22455,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2331, + "id": 1823, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43060:7:1", + "src": "44286:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22467,34 +22467,34 @@ "visibility": "internal" } ], - "src": "43059:9:1" + "src": "44285:9:0" }, - "scope": 2480, - "src": "42991:121:1", + "scope": 1972, + "src": "44217:123:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2378, + "id": 1870, "nodeType": "Block", - "src": "43538:135:1", + "src": "44777:138:0", "statements": [ { "assignments": [ - 2353, - 2355 + 1845, + 1847 ], "declarations": [ { "constant": false, - "id": 2353, + "id": 1845, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43549:11:1", + "scope": 1870, + "src": "44789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22502,10 +22502,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2352, + "id": 1844, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43549:7:1", + "src": "44789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22515,12 +22515,12 @@ }, { "constant": false, - "id": 2355, + "id": 1847, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43562:13:1", + "scope": 1870, + "src": "44802:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22528,10 +22528,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2354, + "id": 1846, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43562:7:1", + "src": "44802:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22540,43 +22540,43 @@ "visibility": "internal" } ], - "id": 2361, + "id": 1853, "initialValue": { "arguments": [ { "expression": { - "id": 2357, + "id": 1849, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2343, - "src": "43583:3:1", + "referencedDeclaration": 1835, + "src": "44823:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2358, + "id": 1850, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43583:10:1", + "referencedDeclaration": 1745, + "src": "44823:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { - "id": 2359, + "id": 1851, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2345, - "src": "43595:5:1", + "referencedDeclaration": 1837, + "src": "44835:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22586,7 +22586,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22594,18 +22594,18 @@ "typeString": "uint256" } ], - "id": 2356, + "id": 1848, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2145, - "src": "43579:3:1", + "referencedDeclaration": 1637, + "src": "44819:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)" } }, - "id": 2360, + "id": 1852, "isConstant": false, "isLValue": false, "isPure": false, @@ -22613,7 +22613,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43579:22:1", + "src": "44819:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", @@ -22621,7 +22621,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "expression": { @@ -22629,12 +22629,12 @@ { "arguments": [ { - "id": 2364, + "id": 1856, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2353, - "src": "43627:3:1", + "referencedDeclaration": 1845, + "src": "44868:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22648,26 +22648,26 @@ "typeString": "bytes32" } ], - "id": 2363, + "id": 1855, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2362, + "id": 1854, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": {} } }, - "id": 2365, + "id": 1857, "isConstant": false, "isLValue": false, "isPure": false, @@ -22675,7 +22675,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43619:12:1", + "src": "44860:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -22689,12 +22689,12 @@ { "arguments": [ { - "id": 2372, + "id": 1864, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2355, - "src": "43657:5:1", + "referencedDeclaration": 1847, + "src": "44898:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22708,26 +22708,26 @@ "typeString": "bytes32" } ], - "id": 2371, + "id": 1863, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2370, + "id": 1862, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": {} } }, - "id": 2373, + "id": 1865, "isConstant": false, "isLValue": false, "isPure": false, @@ -22735,7 +22735,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43649:14:1", + "src": "44890:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -22750,26 +22750,26 @@ "typeString": "uint256" } ], - "id": 2369, + "id": 1861, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2368, + "id": 1860, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": {} } }, - "id": 2374, + "id": 1866, "isConstant": false, "isLValue": false, "isPure": false, @@ -22777,7 +22777,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43641:23:1", + "src": "44882:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -22792,26 +22792,26 @@ "typeString": "uint160" } ], - "id": 2367, + "id": 1859, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2366, + "id": 1858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": {} } }, - "id": 2375, + "id": 1867, "isConstant": false, "isLValue": false, "isPure": false, @@ -22819,7 +22819,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43633:32:1", + "src": "44874:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -22827,64 +22827,64 @@ } } ], - "id": 2376, + "id": 1868, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "43618:48:1", + "src": "44859:48:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_payable_$", "typeString": "tuple(uint256,address payable)" } }, - "functionReturnParameters": 2351, - "id": 2377, + "functionReturnParameters": 1843, + "id": 1869, "nodeType": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ] }, "documentation": { - "id": 2341, + "id": 1833, "nodeType": "StructuredDocumentation", - "src": "43117:318:1", + "src": "44347:326:0", "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2379, + "id": 1871, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2346, + "id": 1838, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2343, + "id": 1835, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43452:28:1", + "scope": 1871, + "src": "44691:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2342, + "id": 1834, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43452:16:1", + "referencedDeclaration": 1746, + "src": "44691:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22892,12 +22892,12 @@ }, { "constant": false, - "id": 2345, + "id": 1837, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43482:13:1", + "scope": 1871, + "src": "44721:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22905,10 +22905,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2344, + "id": 1836, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43482:7:1", + "src": "44721:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22917,20 +22917,20 @@ "visibility": "internal" } ], - "src": "43451:45:1" + "src": "44690:45:0" }, "returnParameters": { - "id": 2351, + "id": 1843, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2348, + "id": 1840, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43520:7:1", + "scope": 1871, + "src": "44759:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22938,10 +22938,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2347, + "id": 1839, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43520:7:1", + "src": "44759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22951,12 +22951,12 @@ }, { "constant": false, - "id": 2350, + "id": 1842, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43529:7:1", + "scope": 1871, + "src": "44768:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22964,10 +22964,10 @@ "typeString": "address" }, "typeName": { - "id": 2349, + "id": 1841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43529:7:1", + "src": "44768:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -22977,34 +22977,34 @@ "visibility": "internal" } ], - "src": "43519:18:1" + "src": "44758:18:0" }, - "scope": 2480, - "src": "43440:233:1", + "scope": 1972, + "src": "44679:236:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2417, + "id": 1909, "nodeType": "Block", - "src": "43950:142:1", + "src": "45200:145:0", "statements": [ { "assignments": [ - 2392, - 2394 + 1884, + 1886 ], "declarations": [ { "constant": false, - "id": 2392, + "id": 1884, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43961:12:1", + "scope": 1909, + "src": "45212:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23012,10 +23012,10 @@ "typeString": "bool" }, "typeName": { - "id": 2391, + "id": 1883, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43961:4:1", + "src": "45212:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23025,12 +23025,12 @@ }, { "constant": false, - "id": 2394, + "id": 1886, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43975:13:1", + "scope": 1909, + "src": "45226:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23038,10 +23038,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2393, + "id": 1885, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43975:7:1", + "src": "45226:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23050,45 +23050,45 @@ "visibility": "internal" } ], - "id": 2403, + "id": 1895, "initialValue": { "arguments": [ { "expression": { - "id": 2396, + "id": 1888, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2382, - "src": "44000:3:1", + "referencedDeclaration": 1874, + "src": "45251:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2397, + "id": 1889, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44000:10:1", + "referencedDeclaration": 1745, + "src": "45251:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2400, + "id": 1892, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2384, - "src": "44020:3:1", + "referencedDeclaration": 1876, + "src": "45271:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23102,26 +23102,26 @@ "typeString": "uint256" } ], - "id": 2399, + "id": 1891, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2398, + "id": 1890, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": {} } }, - "id": 2401, + "id": 1893, "isConstant": false, "isLValue": false, "isPure": false, @@ -23129,7 +23129,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44012:12:1", + "src": "45263:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23140,7 +23140,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23148,18 +23148,18 @@ "typeString": "bytes32" } ], - "id": 2395, + "id": 1887, "name": "_tryGet", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2183, - "src": "43992:7:1", + "referencedDeclaration": 1675, + "src": "45243:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)" } }, - "id": 2402, + "id": 1894, "isConstant": false, "isLValue": false, "isPure": false, @@ -23167,7 +23167,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43992:33:1", + "src": "45243:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", @@ -23175,18 +23175,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "expression": { "components": [ { - "id": 2404, + "id": 1896, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2392, - "src": "44043:7:1", + "referencedDeclaration": 1884, + "src": "45295:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23199,12 +23199,12 @@ { "arguments": [ { - "id": 2411, + "id": 1903, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2394, - "src": "44076:5:1", + "referencedDeclaration": 1886, + "src": "45328:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23218,26 +23218,26 @@ "typeString": "bytes32" } ], - "id": 2410, + "id": 1902, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2409, + "id": 1901, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": {} } }, - "id": 2412, + "id": 1904, "isConstant": false, "isLValue": false, "isPure": false, @@ -23245,7 +23245,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44068:14:1", + "src": "45320:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23260,26 +23260,26 @@ "typeString": "uint256" } ], - "id": 2408, + "id": 1900, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2407, + "id": 1899, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": {} } }, - "id": 2413, + "id": 1905, "isConstant": false, "isLValue": false, "isPure": false, @@ -23287,7 +23287,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44060:23:1", + "src": "45312:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23302,26 +23302,26 @@ "typeString": "uint160" } ], - "id": 2406, + "id": 1898, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2405, + "id": 1897, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": {} } }, - "id": 2414, + "id": 1906, "isConstant": false, "isLValue": false, "isPure": false, @@ -23329,7 +23329,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44052:32:1", + "src": "45304:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -23337,64 +23337,64 @@ } } ], - "id": 2415, + "id": 1907, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "44042:43:1", + "src": "45294:43:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_address_payable_$", "typeString": "tuple(bool,address payable)" } }, - "functionReturnParameters": 2390, - "id": 2416, + "functionReturnParameters": 1882, + "id": 1908, "nodeType": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ] }, "documentation": { - "id": 2380, + "id": 1872, "nodeType": "StructuredDocumentation", - "src": "43679:169:1", + "src": "44923:174:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2418, + "id": 1910, "implemented": true, "kind": "function", "modifiers": [], "name": "tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2385, + "id": 1877, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2382, + "id": 1874, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43869:28:1", + "scope": 1910, + "src": "45119:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2381, + "id": 1873, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43869:16:1", + "referencedDeclaration": 1746, + "src": "45119:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23402,12 +23402,12 @@ }, { "constant": false, - "id": 2384, + "id": 1876, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43899:11:1", + "scope": 1910, + "src": "45149:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23415,10 +23415,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2383, + "id": 1875, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43899:7:1", + "src": "45149:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23427,20 +23427,20 @@ "visibility": "internal" } ], - "src": "43868:43:1" + "src": "45118:43:0" }, "returnParameters": { - "id": 2390, + "id": 1882, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2387, + "id": 1879, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43935:4:1", + "scope": 1910, + "src": "45185:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23448,10 +23448,10 @@ "typeString": "bool" }, "typeName": { - "id": 2386, + "id": 1878, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43935:4:1", + "src": "45185:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23461,12 +23461,12 @@ }, { "constant": false, - "id": 2389, + "id": 1881, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43941:7:1", + "scope": 1910, + "src": "45191:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23474,10 +23474,10 @@ "typeString": "address" }, "typeName": { - "id": 2388, + "id": 1880, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43941:7:1", + "src": "45191:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23487,19 +23487,19 @@ "visibility": "internal" } ], - "src": "43934:15:1" + "src": "45184:15:0" }, - "scope": 2480, - "src": "43853:239:1", + "scope": 1972, + "src": "45103:242:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2446, + "id": 1938, "nodeType": "Block", - "src": "44332:81:1", + "src": "45594:83:0", "statements": [ { "expression": { @@ -23512,40 +23512,40 @@ "arguments": [ { "expression": { - "id": 2435, + "id": 1927, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2421, - "src": "44378:3:1", + "referencedDeclaration": 1913, + "src": "45641:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2436, + "id": 1928, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44378:10:1", + "referencedDeclaration": 1745, + "src": "45641:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2439, + "id": 1931, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2423, - "src": "44398:3:1", + "referencedDeclaration": 1915, + "src": "45661:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23559,26 +23559,26 @@ "typeString": "uint256" } ], - "id": 2438, + "id": 1930, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2437, + "id": 1929, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": {} } }, - "id": 2440, + "id": 1932, "isConstant": false, "isLValue": false, "isPure": false, @@ -23586,7 +23586,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44390:12:1", + "src": "45653:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23597,7 +23597,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23605,21 +23605,21 @@ "typeString": "bytes32" } ], - "id": 2434, + "id": 1926, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, - "src": "44373:4:1", + "referencedDeclaration": 1708, + "src": "45636:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)" } }, - "id": 2441, + "id": 1933, "isConstant": false, "isLValue": false, "isPure": false, @@ -23627,7 +23627,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44373:30:1", + "src": "45636:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23642,26 +23642,26 @@ "typeString": "bytes32" } ], - "id": 2433, + "id": 1925, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2432, + "id": 1924, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": {} } }, - "id": 2442, + "id": 1934, "isConstant": false, "isLValue": false, "isPure": false, @@ -23669,7 +23669,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44365:39:1", + "src": "45628:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23684,26 +23684,26 @@ "typeString": "uint256" } ], - "id": 2431, + "id": 1923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2430, + "id": 1922, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": {} } }, - "id": 2443, + "id": 1935, "isConstant": false, "isLValue": false, "isPure": false, @@ -23711,7 +23711,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44357:48:1", + "src": "45620:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23726,26 +23726,26 @@ "typeString": "uint160" } ], - "id": 2429, + "id": 1921, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2428, + "id": 1920, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": {} } }, - "id": 2444, + "id": 1936, "isConstant": false, "isLValue": false, "isPure": false, @@ -23753,58 +23753,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44349:57:1", + "src": "45612:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2427, - "id": 2445, + "functionReturnParameters": 1919, + "id": 1937, "nodeType": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ] }, "documentation": { - "id": 2419, + "id": 1911, "nodeType": "StructuredDocumentation", - "src": "44098:141:1", + "src": "45353:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2447, + "id": 1939, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2424, + "id": 1916, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2421, + "id": 1913, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44257:28:1", + "scope": 1939, + "src": "45519:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2420, + "id": 1912, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44257:16:1", + "referencedDeclaration": 1746, + "src": "45519:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23812,12 +23812,12 @@ }, { "constant": false, - "id": 2423, + "id": 1915, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44287:11:1", + "scope": 1939, + "src": "45549:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23825,10 +23825,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2422, + "id": 1914, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44287:7:1", + "src": "45549:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23837,20 +23837,20 @@ "visibility": "internal" } ], - "src": "44256:43:1" + "src": "45518:43:0" }, "returnParameters": { - "id": 2427, + "id": 1919, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2426, + "id": 1918, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44323:7:1", + "scope": 1939, + "src": "45585:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23858,10 +23858,10 @@ "typeString": "address" }, "typeName": { - "id": 2425, + "id": 1917, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44323:7:1", + "src": "45585:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23871,19 +23871,19 @@ "visibility": "internal" } ], - "src": "44322:9:1" + "src": "45584:9:0" }, - "scope": 2480, - "src": "44244:169:1", + "scope": 1972, + "src": "45506:171:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2478, + "id": 1970, "nodeType": "Block", - "src": "44809:95:1", + "src": "46081:97:0", "statements": [ { "expression": { @@ -23896,40 +23896,40 @@ "arguments": [ { "expression": { - "id": 2466, + "id": 1958, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2450, - "src": "44855:3:1", + "referencedDeclaration": 1942, + "src": "46128:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2467, + "id": 1959, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44855:10:1", + "referencedDeclaration": 1745, + "src": "46128:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2470, + "id": 1962, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2452, - "src": "44875:3:1", + "referencedDeclaration": 1944, + "src": "46148:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23943,26 +23943,26 @@ "typeString": "uint256" } ], - "id": 2469, + "id": 1961, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2468, + "id": 1960, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": {} } }, - "id": 2471, + "id": 1963, "isConstant": false, "isLValue": false, "isPure": false, @@ -23970,7 +23970,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44867:12:1", + "src": "46140:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23978,12 +23978,12 @@ } }, { - "id": 2472, + "id": 1964, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2454, - "src": "44881:12:1", + "referencedDeclaration": 1946, + "src": "46154:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -23993,7 +23993,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -24005,21 +24005,21 @@ "typeString": "string memory" } ], - "id": 2465, + "id": 1957, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, - "src": "44850:4:1", + "referencedDeclaration": 1743, + "src": "46123:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)" } }, - "id": 2473, + "id": 1965, "isConstant": false, "isLValue": false, "isPure": false, @@ -24027,7 +24027,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44850:44:1", + "src": "46123:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -24042,26 +24042,26 @@ "typeString": "bytes32" } ], - "id": 2464, + "id": 1956, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2463, + "id": 1955, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": {} } }, - "id": 2474, + "id": 1966, "isConstant": false, "isLValue": false, "isPure": false, @@ -24069,7 +24069,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44842:53:1", + "src": "46115:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -24084,26 +24084,26 @@ "typeString": "uint256" } ], - "id": 2462, + "id": 1954, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2461, + "id": 1953, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": {} } }, - "id": 2475, + "id": 1967, "isConstant": false, "isLValue": false, "isPure": false, @@ -24111,7 +24111,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44834:62:1", + "src": "46107:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -24126,26 +24126,26 @@ "typeString": "uint160" } ], - "id": 2460, + "id": 1952, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2459, + "id": 1951, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": {} } }, - "id": 2476, + "id": 1968, "isConstant": false, "isLValue": false, "isPure": false, @@ -24153,58 +24153,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44826:71:1", + "src": "46099:71:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2458, - "id": 2477, + "functionReturnParameters": 1950, + "id": 1969, "nodeType": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ] }, "documentation": { - "id": 2448, + "id": 1940, "nodeType": "StructuredDocumentation", - "src": "44419:269:1", + "src": "45685:274:0", "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2479, + "id": 1971, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2455, + "id": 1947, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2450, + "id": 1942, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44706:28:1", + "scope": 1971, + "src": "45978:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2449, + "id": 1941, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44706:16:1", + "referencedDeclaration": 1746, + "src": "45978:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -24212,12 +24212,12 @@ }, { "constant": false, - "id": 2452, + "id": 1944, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44736:11:1", + "scope": 1971, + "src": "46008:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24225,10 +24225,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2451, + "id": 1943, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44736:7:1", + "src": "46008:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24238,12 +24238,12 @@ }, { "constant": false, - "id": 2454, + "id": 1946, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44749:26:1", + "scope": 1971, + "src": "46021:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24251,10 +24251,10 @@ "typeString": "string" }, "typeName": { - "id": 2453, + "id": 1945, "name": "string", "nodeType": "ElementaryTypeName", - "src": "44749:6:1", + "src": "46021:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -24263,20 +24263,20 @@ "visibility": "internal" } ], - "src": "44705:71:1" + "src": "45977:71:0" }, "returnParameters": { - "id": 2458, + "id": 1950, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2457, + "id": 1949, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44800:7:1", + "scope": 1971, + "src": "46072:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24284,10 +24284,10 @@ "typeString": "address" }, "typeName": { - "id": 2456, + "id": 1948, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44800:7:1", + "src": "46072:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -24297,20 +24297,20 @@ "visibility": "internal" } ], - "src": "44799:9:1" + "src": "46071:9:0" }, - "scope": 2480, - "src": "44693:211:1", + "scope": 1972, + "src": "45965:213:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "35943:8963:1" + "scope": 2991, + "src": "36981:9200:0" }, { - "id": 2481, + "id": 1973, "literals": [ "solidity", ">=", @@ -24321,7 +24321,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "abstract": false, @@ -24329,24 +24329,24 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 2482, + "id": 1974, "nodeType": "StructuredDocumentation", - "src": "44992:34:1", + "src": "46272:36:0", "text": " @dev String operations." }, "fullyImplemented": true, - "id": 2566, + "id": 2058, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 2564, + "id": 2056, "nodeType": "Block", - "src": "45207:654:1", + "src": "46494:675:0", "statements": [ { "condition": { @@ -24354,18 +24354,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2492, + "id": 1984, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2490, + "id": 1982, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45409:5:1", + "referencedDeclaration": 1977, + "src": "46700:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24375,72 +24375,72 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2491, + "id": 1983, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45418:1:1", + "src": "46709:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45409:10:1", + "src": "46700:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2496, + "id": 1988, "nodeType": "IfStatement", - "src": "45405:51:1", + "src": "46696:53:0", "trueBody": { - "id": 2495, + "id": 1987, "nodeType": "Block", - "src": "45421:35:1", + "src": "46712:37:0", "statements": [ { "expression": { "hexValue": "30", - "id": 2493, + "id": 1985, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "45442:3:1", + "src": "46734:3:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", "typeString": "literal_string \"0\"" }, "value": "0" }, - "functionReturnParameters": 2489, - "id": 2494, + "functionReturnParameters": 1981, + "id": 1986, "nodeType": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ] } }, { "assignments": [ - 2498 + 1990 ], "declarations": [ { "constant": false, - "id": 2498, + "id": 1990, "mutability": "mutable", "name": "temp", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45465:12:1", + "scope": 2056, + "src": "46759:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24448,10 +24448,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2497, + "id": 1989, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45465:7:1", + "src": "46759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24460,35 +24460,35 @@ "visibility": "internal" } ], - "id": 2500, + "id": 1992, "initialValue": { - "id": 2499, + "id": 1991, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45480:5:1", + "referencedDeclaration": 1977, + "src": "46774:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "assignments": [ - 2502 + 1994 ], "declarations": [ { "constant": false, - "id": 2502, + "id": 1994, "mutability": "mutable", "name": "digits", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45495:14:1", + "scope": 2056, + "src": "46790:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24496,10 +24496,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2501, + "id": 1993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45495:7:1", + "src": "46790:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24508,19 +24508,19 @@ "visibility": "internal" } ], - "id": 2503, + "id": 1995, "nodeType": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "body": { - "id": 2514, + "id": 2006, "nodeType": "Block", - "src": "45537:57:1", + "src": "46833:60:0", "statements": [ { "expression": { - "id": 2508, + "id": 2000, "isConstant": false, "isLValue": false, "isPure": false, @@ -24528,14 +24528,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "45551:8:1", + "src": "46848:8:0", "subExpression": { - "id": 2507, + "id": 1999, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45551:6:1", + "referencedDeclaration": 1994, + "src": "46848:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24546,24 +24546,24 @@ "typeString": "uint256" } }, - "id": 2509, + "id": 2001, "nodeType": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "expression": { - "id": 2512, + "id": 2004, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2510, + "id": 2002, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45573:4:1", + "referencedDeclaration": 1990, + "src": "46871:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24573,29 +24573,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2511, + "id": 2003, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45581:2:1", + "src": "46879:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45573:10:1", + "src": "46871:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2513, + "id": 2005, "nodeType": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ] }, @@ -24604,18 +24604,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2506, + "id": 1998, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2504, + "id": 1996, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45526:4:1", + "referencedDeclaration": 1990, + "src": "46822:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24625,43 +24625,43 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2505, + "id": 1997, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45534:1:1", + "src": "46830:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45526:9:1", + "src": "46822:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2515, + "id": 2007, "nodeType": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "assignments": [ - 2517 + 2009 ], "declarations": [ { "constant": false, - "id": 2517, + "id": 2009, "mutability": "mutable", "name": "buffer", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45603:19:1", + "scope": 2056, + "src": "46903:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24669,10 +24669,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2516, + "id": 2008, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45603:5:1", + "src": "46903:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -24681,16 +24681,16 @@ "visibility": "internal" } ], - "id": 2522, + "id": 2014, "initialValue": { "arguments": [ { - "id": 2520, + "id": 2012, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45635:6:1", + "referencedDeclaration": 1994, + "src": "46935:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24704,29 +24704,29 @@ "typeString": "uint256" } ], - "id": 2519, + "id": 2011, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", - "src": "45625:9:1", + "src": "46925:9:0", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", "typeString": "function (uint256) pure returns (bytes memory)" }, "typeName": { - "id": 2518, + "id": 2010, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45629:5:1", + "src": "46929:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } } }, - "id": 2521, + "id": 2013, "isConstant": false, "isLValue": false, "isPure": false, @@ -24734,7 +24734,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45625:17:1", + "src": "46925:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -24742,21 +24742,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "assignments": [ - 2524 + 2016 ], "declarations": [ { "constant": false, - "id": 2524, + "id": 2016, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45652:13:1", + "scope": 2056, + "src": "46953:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24764,10 +24764,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2523, + "id": 2015, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45652:7:1", + "src": "46953:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24776,24 +24776,24 @@ "visibility": "internal" } ], - "id": 2528, + "id": 2020, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2527, + "id": 2019, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2525, + "id": 2017, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45668:6:1", + "referencedDeclaration": 1994, + "src": "46969:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24803,43 +24803,43 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2526, + "id": 2018, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45677:1:1", + "src": "46978:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "45668:10:1", + "src": "46969:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "expression": { - "id": 2531, + "id": 2023, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2529, + "id": 2021, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45688:4:1", + "referencedDeclaration": 1990, + "src": "46990:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24848,56 +24848,56 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2530, + "id": 2022, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45695:5:1", + "referencedDeclaration": 1977, + "src": "46997:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45688:12:1", + "src": "46990:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2532, + "id": 2024, "nodeType": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "body": { - "id": 2557, + "id": 2049, "nodeType": "Block", - "src": "45728:96:1", + "src": "47031:99:0", "statements": [ { "expression": { - "id": 2551, + "id": 2043, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2536, + "id": 2028, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45742:6:1", + "referencedDeclaration": 2009, + "src": "47046:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2539, + "id": 2031, "indexExpression": { - "id": 2538, + "id": 2030, "isConstant": false, "isLValue": false, "isPure": false, @@ -24905,14 +24905,14 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "45749:7:1", + "src": "47053:7:0", "subExpression": { - "id": 2537, + "id": 2029, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2524, - "src": "45749:5:1", + "referencedDeclaration": 2016, + "src": "47053:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24928,7 +24928,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "45742:15:1", + "src": "47046:15:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -24945,21 +24945,21 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2548, + "id": 2040, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "hexValue": "3438", - "id": 2544, + "id": 2036, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45773:2:1", + "src": "47077:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_48_by_1", "typeString": "int_const 48" @@ -24973,18 +24973,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2547, + "id": 2039, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2545, + "id": 2037, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45778:4:1", + "referencedDeclaration": 1990, + "src": "47082:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24994,27 +24994,27 @@ "operator": "%", "rightExpression": { "hexValue": "3130", - "id": 2546, + "id": 2038, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45785:2:1", + "src": "47089:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45778:9:1", + "src": "47082:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45773:14:1", + "src": "47077:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25028,26 +25028,26 @@ "typeString": "uint256" } ], - "id": 2543, + "id": 2035, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint8_$", "typeString": "type(uint8)" }, "typeName": { - "id": 2542, + "id": 2034, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": {} } }, - "id": 2549, + "id": 2041, "isConstant": false, "isLValue": false, "isPure": false, @@ -25055,7 +25055,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45767:21:1", + "src": "47071:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint8", @@ -25070,26 +25070,26 @@ "typeString": "uint8" } ], - "id": 2541, + "id": 2033, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": { - "id": 2540, + "id": 2032, "name": "bytes1", "nodeType": "ElementaryTypeName", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": {} } }, - "id": 2550, + "id": 2042, "isConstant": false, "isLValue": false, "isPure": false, @@ -25097,37 +25097,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45760:29:1", + "src": "47064:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "45742:47:1", + "src": "47046:47:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "id": 2552, + "id": 2044, "nodeType": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "expression": { - "id": 2555, + "id": 2047, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2553, + "id": 2045, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45803:4:1", + "referencedDeclaration": 1990, + "src": "47108:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25137,29 +25137,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2554, + "id": 2046, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45811:2:1", + "src": "47116:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45803:10:1", + "src": "47108:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2556, + "id": 2048, "nodeType": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ] }, @@ -25168,18 +25168,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2535, + "id": 2027, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2533, + "id": 2025, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45717:4:1", + "referencedDeclaration": 1990, + "src": "47020:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25189,40 +25189,40 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2534, + "id": 2026, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45725:1:1", + "src": "47028:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45717:9:1", + "src": "47020:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2558, + "id": 2050, "nodeType": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "expression": { "arguments": [ { - "id": 2561, + "id": 2053, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45847:6:1", + "referencedDeclaration": 2009, + "src": "47154:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -25236,26 +25236,26 @@ "typeString": "bytes memory" } ], - "id": 2560, + "id": 2052, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2559, + "id": 2051, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": {} } }, - "id": 2562, + "id": 2054, "isConstant": false, "isLValue": false, "isPure": false, @@ -25263,44 +25263,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45840:14:1", + "src": "47147:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2489, - "id": 2563, + "functionReturnParameters": 1981, + "id": 2055, "nodeType": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ] }, "documentation": { - "id": 2483, + "id": 1975, "nodeType": "StructuredDocumentation", - "src": "45049:82:1", + "src": "46333:84:0", "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2565, + "id": 2057, "implemented": true, "kind": "function", "modifiers": [], "name": "toString", "nodeType": "FunctionDefinition", "parameters": { - "id": 2486, + "id": 1978, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2485, + "id": 1977, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45154:13:1", + "scope": 2057, + "src": "46441:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25308,10 +25308,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2484, + "id": 1976, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45154:7:1", + "src": "46441:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25320,20 +25320,20 @@ "visibility": "internal" } ], - "src": "45153:15:1" + "src": "46440:15:0" }, "returnParameters": { - "id": 2489, + "id": 1981, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2488, + "id": 1980, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45192:13:1", + "scope": 2057, + "src": "46479:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -25341,10 +25341,10 @@ "typeString": "string" }, "typeName": { - "id": 2487, + "id": 1979, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45192:6:1", + "src": "46479:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25353,20 +25353,20 @@ "visibility": "internal" } ], - "src": "45191:15:1" + "src": "46478:15:0" }, - "scope": 2566, - "src": "45136:725:1", + "scope": 2058, + "src": "46423:746:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "45027:836:1" + "scope": 2991, + "src": "46310:862:0" }, { - "id": 2567, + "id": 2059, "literals": [ "solidity", ">=", @@ -25377,141 +25377,141 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 2569, + "id": 2061, "name": "Context", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 530, - "src": "46099:7:1", + "referencedDeclaration": 22, + "src": "47417:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 2570, + "id": 2062, "nodeType": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "baseName": { - "id": 2571, + "id": 2063, "name": "ERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 781, - "src": "46108:6:1", + "referencedDeclaration": 273, + "src": "47426:6:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC165_$781", + "typeIdentifier": "t_contract$_ERC165_$273", "typeString": "contract ERC165" } }, - "id": 2572, + "id": 2064, "nodeType": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "baseName": { - "id": 2573, + "id": 2065, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "46116:7:1", + "referencedDeclaration": 147, + "src": "47434:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 2574, + "id": 2066, "nodeType": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "baseName": { - "id": 2575, + "id": 2067, "name": "IERC721Metadata", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 680, - "src": "46125:15:1", + "referencedDeclaration": 172, + "src": "47443:15:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Metadata_$680", + "typeIdentifier": "t_contract$_IERC721Metadata_$172", "typeString": "contract IERC721Metadata" } }, - "id": 2576, + "id": 2068, "nodeType": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "baseName": { - "id": 2577, + "id": 2069, "name": "IERC721Enumerable", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 709, - "src": "46142:17:1", + "referencedDeclaration": 201, + "src": "47460:17:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Enumerable_$709", + "typeIdentifier": "t_contract$_IERC721Enumerable_$201", "typeString": "contract IERC721Enumerable" } }, - "id": 2578, + "id": 2070, "nodeType": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" } ], "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "documentation": { - "id": 2568, + "id": 2060, "nodeType": "StructuredDocumentation", - "src": "45955:124:1", + "src": "47269:127:0", "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": true, - "id": 3498, + "id": 2990, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", "nodeType": "ContractDefinition", "nodes": [ { - "id": 2581, + "id": 2073, "libraryName": { - "id": 2579, + "id": 2071, "name": "SafeMath", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1135, - "src": "46172:8:1", + "referencedDeclaration": 627, + "src": "47491:8:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$1135", + "typeIdentifier": "t_contract$_SafeMath_$627", "typeString": "library SafeMath" } }, "nodeType": "UsingForDirective", - "src": "46166:27:1", + "src": "47485:27:0", "typeName": { - "id": 2580, + "id": 2072, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46185:7:1", + "src": "47504:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25519,25 +25519,25 @@ } }, { - "id": 2584, + "id": 2076, "libraryName": { - "id": 2582, + "id": 2074, "name": "Address", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1430, - "src": "46204:7:1", + "referencedDeclaration": 922, + "src": "47524:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } }, "nodeType": "UsingForDirective", - "src": "46198:26:1", + "src": "47518:26:0", "typeName": { - "id": 2583, + "id": 2075, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46216:7:1", + "src": "47536:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25546,79 +25546,79 @@ } }, { - "id": 2587, + "id": 2079, "libraryName": { - "id": 2585, + "id": 2077, "name": "EnumerableSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1921, - "src": "46235:13:1", + "referencedDeclaration": 1413, + "src": "47556:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableSet_$1921", + "typeIdentifier": "t_contract$_EnumerableSet_$1413", "typeString": "library EnumerableSet" } }, "nodeType": "UsingForDirective", - "src": "46229:46:1", + "src": "47550:46:0", "typeName": { - "id": 2586, + "id": 2078, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46253:21:1", + "referencedDeclaration": 1318, + "src": "47574:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } }, { - "id": 2590, + "id": 2082, "libraryName": { - "id": 2588, + "id": 2080, "name": "EnumerableMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2480, - "src": "46286:13:1", + "referencedDeclaration": 1972, + "src": "47608:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableMap_$2480", + "typeIdentifier": "t_contract$_EnumerableMap_$1972", "typeString": "library EnumerableMap" } }, "nodeType": "UsingForDirective", - "src": "46280:55:1", + "src": "47602:55:0", "typeName": { - "id": 2589, + "id": 2081, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46304:30:1", + "referencedDeclaration": 1746, + "src": "47626:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } } }, { - "id": 2593, + "id": 2085, "libraryName": { - "id": 2591, + "id": 2083, "name": "Strings", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2566, - "src": "46346:7:1", + "referencedDeclaration": 2058, + "src": "47669:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Strings_$2566", + "typeIdentifier": "t_contract$_Strings_$2058", "typeString": "library Strings" } }, "nodeType": "UsingForDirective", - "src": "46340:26:1", + "src": "47663:26:0", "typeName": { - "id": 2592, + "id": 2084, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46358:7:1", + "src": "47681:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25627,12 +25627,12 @@ }, { "constant": true, - "id": 2596, + "id": 2088, "mutability": "constant", "name": "_ERC721_RECEIVED", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46544:53:1", + "scope": 2990, + "src": "47871:53:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25640,10 +25640,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2594, + "id": 2086, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "46544:6:1", + "src": "47871:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -25651,14 +25651,14 @@ }, "value": { "hexValue": "30783135306237613032", - "id": 2595, + "id": 2087, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "46587:10:1", + "src": "47914:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_353073666_by_1", "typeString": "int_const 353073666" @@ -25669,44 +25669,44 @@ }, { "constant": false, - "id": 2600, + "id": 2092, "mutability": "mutable", "name": "_holderTokens", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46681:64:1", + "scope": 2990, + "src": "48011:64:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "typeName": { - "id": 2599, + "id": 2091, "keyType": { - "id": 2597, + "id": 2089, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46690:7:1", + "src": "48020:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "46681:42:1", + "src": "48011:42:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "valueType": { - "id": 2598, + "id": 2090, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46701:21:1", + "referencedDeclaration": 1318, + "src": "48031:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } @@ -25715,26 +25715,26 @@ }, { "constant": false, - "id": 2602, + "id": 2094, "mutability": "mutable", "name": "_tokenOwners", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46809:51:1", + "scope": 2990, + "src": "48142:51:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2601, + "id": 2093, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46809:30:1", + "referencedDeclaration": 1746, + "src": "48142:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -25742,12 +25742,12 @@ }, { "constant": false, - "id": 2606, + "id": 2098, "mutability": "mutable", "name": "_tokenApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46916:52:1", + "scope": 2990, + "src": "48252:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25755,28 +25755,28 @@ "typeString": "mapping(uint256 => address)" }, "typeName": { - "id": 2605, + "id": 2097, "keyType": { - "id": 2603, + "id": 2095, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46925:7:1", + "src": "48261:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "46916:28:1", + "src": "48252:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" }, "valueType": { - "id": 2604, + "id": 2096, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46936:7:1", + "src": "48272:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25788,12 +25788,12 @@ }, { "constant": false, - "id": 2612, + "id": 2104, "mutability": "mutable", "name": "_operatorApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47023:73:1", + "scope": 2990, + "src": "48362:73:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25801,46 +25801,46 @@ "typeString": "mapping(address => mapping(address => bool))" }, "typeName": { - "id": 2611, + "id": 2103, "keyType": { - "id": 2607, + "id": 2099, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47032:7:1", + "src": "48371:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47023:46:1", + "src": "48362:46:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" }, "valueType": { - "id": 2610, + "id": 2102, "keyType": { - "id": 2608, + "id": 2100, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47052:7:1", + "src": "48391:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47043:25:1", + "src": "48382:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" }, "valueType": { - "id": 2609, + "id": 2101, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "47063:4:1", + "src": "48402:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -25852,12 +25852,12 @@ }, { "constant": false, - "id": 2614, + "id": 2106, "mutability": "mutable", "name": "_name", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47121:20:1", + "scope": 2990, + "src": "48463:20:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25865,10 +25865,10 @@ "typeString": "string" }, "typeName": { - "id": 2613, + "id": 2105, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47121:6:1", + "src": "48463:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25878,12 +25878,12 @@ }, { "constant": false, - "id": 2616, + "id": 2108, "mutability": "mutable", "name": "_symbol", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47168:22:1", + "scope": 2990, + "src": "48513:22:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25891,10 +25891,10 @@ "typeString": "string" }, "typeName": { - "id": 2615, + "id": 2107, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47168:6:1", + "src": "48513:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25904,12 +25904,12 @@ }, { "constant": false, - "id": 2620, + "id": 2112, "mutability": "mutable", "name": "_tokenURIs", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47236:46:1", + "scope": 2990, + "src": "48584:46:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25917,28 +25917,28 @@ "typeString": "mapping(uint256 => string)" }, "typeName": { - "id": 2619, + "id": 2111, "keyType": { - "id": 2617, + "id": 2109, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "47245:7:1", + "src": "48593:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "47236:27:1", + "src": "48584:27:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string)" }, "valueType": { - "id": 2618, + "id": 2110, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47256:6:1", + "src": "48604:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25949,12 +25949,12 @@ }, { "constant": false, - "id": 2622, + "id": 2114, "mutability": "mutable", "name": "_baseURI", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47305:23:1", + "scope": 2990, + "src": "48656:23:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25962,10 +25962,10 @@ "typeString": "string" }, "typeName": { - "id": 2621, + "id": 2113, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47305:6:1", + "src": "48656:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25975,12 +25975,12 @@ }, { "constant": true, - "id": 2625, + "id": 2117, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48204:57:1", + "scope": 2990, + "src": "49571:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25988,10 +25988,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2623, + "id": 2115, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48204:6:1", + "src": "49571:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -25999,14 +25999,14 @@ }, "value": { "hexValue": "30783830616335386364", - "id": 2624, + "id": 2116, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48251:10:1", + "src": "49618:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2158778573_by_1", "typeString": "int_const 2158778573" @@ -26017,12 +26017,12 @@ }, { "constant": true, - "id": 2628, + "id": 2120, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48527:66:1", + "scope": 2990, + "src": "49903:66:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26030,10 +26030,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2626, + "id": 2118, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48527:6:1", + "src": "49903:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26041,14 +26041,14 @@ }, "value": { "hexValue": "30783562356531333966", - "id": 2627, + "id": 2119, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48583:10:1", + "src": "49959:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_1532892063_by_1", "typeString": "int_const 1532892063" @@ -26059,12 +26059,12 @@ }, { "constant": true, - "id": 2631, + "id": 2123, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48898:68:1", + "scope": 2990, + "src": "50283:68:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26072,10 +26072,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2629, + "id": 2121, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48898:6:1", + "src": "50283:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26083,14 +26083,14 @@ }, "value": { "hexValue": "30783738306539643633", - "id": 2630, + "id": 2122, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48956:10:1", + "src": "50341:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2014223715_by_1", "typeString": "int_const 2014223715" @@ -26101,24 +26101,24 @@ }, { "body": { - "id": 2659, + "id": 2151, "nodeType": "Block", - "src": "49143:305:1", + "src": "50533:313:0", "statements": [ { "expression": { - "id": 2641, + "id": 2133, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2639, + "id": 2131, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "49153:5:1", + "referencedDeclaration": 2106, + "src": "50544:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26127,41 +26127,41 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2640, + "id": 2132, "name": "name_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2634, - "src": "49161:5:1", + "referencedDeclaration": 2126, + "src": "50552:5:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49153:13:1", + "src": "50544:13:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2642, + "id": 2134, "nodeType": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "expression": { - "id": 2645, + "id": 2137, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2643, + "id": 2135, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "49176:7:1", + "referencedDeclaration": 2108, + "src": "50568:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26170,37 +26170,37 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2644, + "id": 2136, "name": "symbol_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2636, - "src": "49186:7:1", + "referencedDeclaration": 2128, + "src": "50578:7:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49176:17:1", + "src": "50568:17:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2646, + "id": 2138, "nodeType": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "expression": { "arguments": [ { - "id": 2648, + "id": 2140, "name": "_INTERFACE_ID_ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2625, - "src": "49300:20:1", + "referencedDeclaration": 2117, + "src": "50695:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26214,18 +26214,18 @@ "typeString": "bytes4" } ], - "id": 2647, + "id": 2139, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49281:18:1", + "referencedDeclaration": 272, + "src": "50676:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2649, + "id": 2141, "isConstant": false, "isLValue": false, "isPure": false, @@ -26233,27 +26233,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49281:40:1", + "src": "50676:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2650, + "id": 2142, "nodeType": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "expression": { "arguments": [ { - "id": 2652, + "id": 2144, "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2628, - "src": "49350:29:1", + "referencedDeclaration": 2120, + "src": "50746:29:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26267,18 +26267,18 @@ "typeString": "bytes4" } ], - "id": 2651, + "id": 2143, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49331:18:1", + "referencedDeclaration": 272, + "src": "50727:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2653, + "id": 2145, "isConstant": false, "isLValue": false, "isPure": false, @@ -26286,27 +26286,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49331:49:1", + "src": "50727:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2654, + "id": 2146, "nodeType": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "expression": { "arguments": [ { - "id": 2656, + "id": 2148, "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2631, - "src": "49409:31:1", + "referencedDeclaration": 2123, + "src": "50806:31:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26320,18 +26320,18 @@ "typeString": "bytes4" } ], - "id": 2655, + "id": 2147, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49390:18:1", + "referencedDeclaration": 272, + "src": "50787:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2657, + "id": 2149, "isConstant": false, "isLValue": false, "isPure": false, @@ -26339,43 +26339,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49390:51:1", + "src": "50787:51:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2658, + "id": 2150, "nodeType": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ] }, "documentation": { - "id": 2632, + "id": 2124, "nodeType": "StructuredDocumentation", - "src": "48973:108:1", + "src": "50360:110:0", "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2660, + "id": 2152, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 2637, + "id": 2129, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2634, + "id": 2126, "mutability": "mutable", "name": "name_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49099:19:1", + "scope": 2152, + "src": "50489:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26383,10 +26383,10 @@ "typeString": "string" }, "typeName": { - "id": 2633, + "id": 2125, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49099:6:1", + "src": "50489:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26396,12 +26396,12 @@ }, { "constant": false, - "id": 2636, + "id": 2128, "mutability": "mutable", "name": "symbol_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49120:21:1", + "scope": 2152, + "src": "50510:21:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26409,10 +26409,10 @@ "typeString": "string" }, "typeName": { - "id": 2635, + "id": 2127, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49120:6:1", + "src": "50510:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26421,28 +26421,28 @@ "visibility": "internal" } ], - "src": "49098:44:1" + "src": "50488:44:0" }, "returnParameters": { - "id": 2638, + "id": 2130, "nodeType": "ParameterList", "parameters": [], - "src": "49143:0:1" + "src": "50533:0:0" }, - "scope": 3498, - "src": "49086:362:1", + "scope": 2990, + "src": "50476:370:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { "baseFunctions": [ - 580 + 72 ], "body": { - "id": 2685, + "id": 2177, "nodeType": "Block", - "src": "49588:137:1", + "src": "50991:140:0", "statements": [ { "expression": { @@ -26452,18 +26452,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2675, + "id": 2167, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2670, + "id": 2162, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49606:5:1", + "referencedDeclaration": 2155, + "src": "51010:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26475,14 +26475,14 @@ "arguments": [ { "hexValue": "30", - "id": 2673, + "id": 2165, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "49623:1:1", + "src": "51027:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -26497,26 +26497,26 @@ "typeString": "int_const 0" } ], - "id": 2672, + "id": 2164, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2671, + "id": 2163, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": {} } }, - "id": 2674, + "id": 2166, "isConstant": false, "isLValue": false, "isPure": true, @@ -26524,14 +26524,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49615:10:1", + "src": "51019:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "49606:19:1", + "src": "51010:19:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -26539,14 +26539,14 @@ }, { "hexValue": "4552433732313a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373", - "id": 2676, + "id": 2168, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49627:44:1", + "src": "51031:44:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7395d4d3901c50cdfcab223d072f9aa36241df5d883e62cbf147ee1b05a9e6ba", "typeString": "literal_string \"ERC721: balance query for the zero address\"" @@ -26565,7 +26565,7 @@ "typeString": "literal_string \"ERC721: balance query for the zero address\"" } ], - "id": 2669, + "id": 2161, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -26573,13 +26573,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "49598:7:1", + "src": "51002:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2677, + "id": 2169, "isConstant": false, "isLValue": false, "isPure": false, @@ -26587,16 +26587,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49598:74:1", + "src": "51002:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2678, + "id": 2170, "nodeType": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "expression": { @@ -26605,25 +26605,25 @@ "argumentTypes": [], "expression": { "baseExpression": { - "id": 2679, + "id": 2171, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "49689:13:1", + "referencedDeclaration": 2092, + "src": "51094:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2681, + "id": 2173, "indexExpression": { - "id": 2680, + "id": 2172, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49703:5:1", + "referencedDeclaration": 2155, + "src": "51108:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26634,27 +26634,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "49689:20:1", + "src": "51094:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2682, + "id": 2174, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 1900, - "src": "49689:27:1", + "referencedDeclaration": 1392, + "src": "51094:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" } }, - "id": 2683, + "id": 2175, "isConstant": false, "isLValue": false, "isPure": false, @@ -26662,51 +26662,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49689:29:1", + "src": "51094:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2668, - "id": 2684, + "functionReturnParameters": 2160, + "id": 2176, "nodeType": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ] }, "documentation": { - "id": 2661, + "id": 2153, "nodeType": "StructuredDocumentation", - "src": "49454:48:1", + "src": "50854:50:0", "text": " @dev See {IERC721-balanceOf}." }, "functionSelector": "70a08231", - "id": 2686, + "id": 2178, "implemented": true, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2665, + "id": 2157, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49561:8:1" + "src": "50964:8:0" }, "parameters": { - "id": 2664, + "id": 2156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2663, + "id": 2155, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49526:13:1", + "scope": 2178, + "src": "50929:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26714,10 +26714,10 @@ "typeString": "address" }, "typeName": { - "id": 2662, + "id": 2154, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49526:7:1", + "src": "50929:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26727,20 +26727,20 @@ "visibility": "internal" } ], - "src": "49525:15:1" + "src": "50928:15:0" }, "returnParameters": { - "id": 2668, + "id": 2160, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2667, + "id": 2159, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49579:7:1", + "scope": 2178, + "src": "50982:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26748,10 +26748,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2666, + "id": 2158, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49579:7:1", + "src": "50982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26760,33 +26760,33 @@ "visibility": "internal" } ], - "src": "49578:9:1" + "src": "50981:9:0" }, - "scope": 3498, - "src": "49507:218:1", + "scope": 2990, + "src": "50910:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 588 + 80 ], "body": { - "id": 2701, + "id": 2193, "nodeType": "Block", - "src": "49863:94:1", + "src": "51274:96:0", "statements": [ { "expression": { "arguments": [ { - "id": 2697, + "id": 2189, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2689, - "src": "49897:7:1", + "referencedDeclaration": 2181, + "src": "51309:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26794,14 +26794,14 @@ }, { "hexValue": "4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2698, + "id": 2190, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49906:43:1", + "src": "51318:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7481f3df2a424c0755a1ad2356614e9a5a358d461ea2eae1f89cb21cbad00397", "typeString": "literal_string \"ERC721: owner query for nonexistent token\"" @@ -26821,32 +26821,32 @@ } ], "expression": { - "id": 2695, + "id": 2187, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "49880:12:1", + "referencedDeclaration": 2094, + "src": "51292:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2696, + "id": 2188, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "get", "nodeType": "MemberAccess", - "referencedDeclaration": 2479, - "src": "49880:16:1", + "referencedDeclaration": 1971, + "src": "51292:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" } }, - "id": 2699, + "id": 2191, "isConstant": false, "isLValue": false, "isPure": false, @@ -26854,51 +26854,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49880:70:1", + "src": "51292:70:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2694, - "id": 2700, + "functionReturnParameters": 2186, + "id": 2192, "nodeType": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ] }, "documentation": { - "id": 2687, + "id": 2179, "nodeType": "StructuredDocumentation", - "src": "49731:46:1", + "src": "51139:48:0", "text": " @dev See {IERC721-ownerOf}." }, "functionSelector": "6352211e", - "id": 2702, + "id": 2194, "implemented": true, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2691, + "id": 2183, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49836:8:1" + "src": "51247:8:0" }, "parameters": { - "id": 2690, + "id": 2182, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2689, + "id": 2181, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49799:15:1", + "scope": 2194, + "src": "51210:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26906,10 +26906,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2688, + "id": 2180, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49799:7:1", + "src": "51210:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26918,20 +26918,20 @@ "visibility": "internal" } ], - "src": "49798:17:1" + "src": "51209:17:0" }, "returnParameters": { - "id": 2694, + "id": 2186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2693, + "id": 2185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49854:7:1", + "scope": 2194, + "src": "51265:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26939,10 +26939,10 @@ "typeString": "address" }, "typeName": { - "id": 2692, + "id": 2184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49854:7:1", + "src": "51265:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26952,80 +26952,80 @@ "visibility": "internal" } ], - "src": "49853:9:1" + "src": "51264:9:0" }, - "scope": 3498, - "src": "49782:175:1", + "scope": 2990, + "src": "51193:177:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 665 + 157 ], "body": { - "id": 2711, + "id": 2203, "nodeType": "Block", - "src": "50088:29:1", + "src": "51506:31:0", "statements": [ { "expression": { - "id": 2709, + "id": 2201, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "50105:5:1", + "referencedDeclaration": 2106, + "src": "51524:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2708, - "id": 2710, + "functionReturnParameters": 2200, + "id": 2202, "nodeType": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ] }, "documentation": { - "id": 2703, + "id": 2195, "nodeType": "StructuredDocumentation", - "src": "49963:51:1", + "src": "51378:53:0", "text": " @dev See {IERC721Metadata-name}." }, "functionSelector": "06fdde03", - "id": 2712, + "id": 2204, "implemented": true, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "overrides": { - "id": 2705, + "id": 2197, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50055:8:1" + "src": "51473:8:0" }, "parameters": { - "id": 2704, + "id": 2196, "nodeType": "ParameterList", "parameters": [], - "src": "50032:2:1" + "src": "51450:2:0" }, "returnParameters": { - "id": 2708, + "id": 2200, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2707, + "id": 2199, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2712, - "src": "50073:13:1", + "scope": 2204, + "src": "51491:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27033,10 +27033,10 @@ "typeString": "string" }, "typeName": { - "id": 2706, + "id": 2198, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50073:6:1", + "src": "51491:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27045,80 +27045,80 @@ "visibility": "internal" } ], - "src": "50072:15:1" + "src": "51490:15:0" }, - "scope": 3498, - "src": "50019:98:1", + "scope": 2990, + "src": "51437:100:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 671 + 163 ], "body": { - "id": 2721, + "id": 2213, "nodeType": "Block", - "src": "50252:31:1", + "src": "51677:33:0", "statements": [ { "expression": { - "id": 2719, + "id": 2211, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "50269:7:1", + "referencedDeclaration": 2108, + "src": "51695:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2718, - "id": 2720, + "functionReturnParameters": 2210, + "id": 2212, "nodeType": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ] }, "documentation": { - "id": 2713, + "id": 2205, "nodeType": "StructuredDocumentation", - "src": "50123:53:1", + "src": "51545:55:0", "text": " @dev See {IERC721Metadata-symbol}." }, "functionSelector": "95d89b41", - "id": 2722, + "id": 2214, "implemented": true, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "overrides": { - "id": 2715, + "id": 2207, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50219:8:1" + "src": "51644:8:0" }, "parameters": { - "id": 2714, + "id": 2206, "nodeType": "ParameterList", "parameters": [], - "src": "50196:2:1" + "src": "51621:2:0" }, "returnParameters": { - "id": 2718, + "id": 2210, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2717, + "id": 2209, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2722, - "src": "50237:13:1", + "scope": 2214, + "src": "51662:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27126,10 +27126,10 @@ "typeString": "string" }, "typeName": { - "id": 2716, + "id": 2208, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50237:6:1", + "src": "51662:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27138,22 +27138,22 @@ "visibility": "internal" } ], - "src": "50236:15:1" + "src": "51661:15:0" }, - "scope": 3498, - "src": "50181:102:1", + "scope": 2990, + "src": "51606:104:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 679 + 171 ], "body": { - "id": 2789, + "id": 2281, "nodeType": "Block", - "src": "50437:688:1", + "src": "51869:704:0", "statements": [ { "expression": { @@ -27161,12 +27161,12 @@ { "arguments": [ { - "id": 2733, + "id": 2225, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50463:7:1", + "referencedDeclaration": 2217, + "src": "51896:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27180,18 +27180,18 @@ "typeString": "uint256" } ], - "id": 2732, + "id": 2224, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "50455:7:1", + "referencedDeclaration": 2577, + "src": "51888:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2734, + "id": 2226, "isConstant": false, "isLValue": false, "isPure": false, @@ -27199,7 +27199,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50455:16:1", + "src": "51888:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -27208,14 +27208,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2735, + "id": 2227, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "50473:49:1", + "src": "51906:49:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a2d45c0fba603d40d82d590051761ca952d1ab9d78cca6d0d464d7b6e961a9cb", "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" @@ -27234,7 +27234,7 @@ "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" } ], - "id": 2731, + "id": 2223, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -27242,13 +27242,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "50447:7:1", + "src": "51880:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2736, + "id": 2228, "isConstant": false, "isLValue": false, "isPure": false, @@ -27256,30 +27256,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50447:76:1", + "src": "51880:76:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2737, + "id": 2229, "nodeType": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "assignments": [ - 2739 + 2231 ], "declarations": [ { "constant": false, - "id": 2739, + "id": 2231, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50534:23:1", + "scope": 2281, + "src": "51969:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27287,10 +27287,10 @@ "typeString": "string" }, "typeName": { - "id": 2738, + "id": 2230, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50534:6:1", + "src": "51969:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27299,28 +27299,28 @@ "visibility": "internal" } ], - "id": 2743, + "id": 2235, "initialValue": { "baseExpression": { - "id": 2740, + "id": 2232, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "50560:10:1", + "referencedDeclaration": 2112, + "src": "51995:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 2742, + "id": 2234, "indexExpression": { - "id": 2741, + "id": 2233, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50571:7:1", + "referencedDeclaration": 2217, + "src": "52006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27331,28 +27331,28 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "50560:19:1", + "src": "51995:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "assignments": [ - 2745 + 2237 ], "declarations": [ { "constant": false, - "id": 2745, + "id": 2237, "mutability": "mutable", "name": "base", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50589:18:1", + "scope": 2281, + "src": "52025:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27360,10 +27360,10 @@ "typeString": "string" }, "typeName": { - "id": 2744, + "id": 2236, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50589:6:1", + "src": "52025:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27372,23 +27372,23 @@ "visibility": "internal" } ], - "id": 2748, + "id": 2240, "initialValue": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2746, + "id": 2238, "name": "baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2799, - "src": "50610:7:1", + "referencedDeclaration": 2291, + "src": "52046:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_string_memory_ptr_$", "typeString": "function () view returns (string memory)" } }, - "id": 2747, + "id": 2239, "isConstant": false, "isLValue": false, "isPure": false, @@ -27396,7 +27396,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50610:9:1", + "src": "52046:9:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27404,7 +27404,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "condition": { @@ -27412,7 +27412,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2755, + "id": 2247, "isConstant": false, "isLValue": false, "isPure": false, @@ -27421,12 +27421,12 @@ "expression": { "arguments": [ { - "id": 2751, + "id": 2243, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50698:4:1", + "referencedDeclaration": 2237, + "src": "52137:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27440,26 +27440,26 @@ "typeString": "string memory" } ], - "id": 2750, + "id": 2242, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2749, + "id": 2241, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": {} } }, - "id": 2752, + "id": 2244, "isConstant": false, "isLValue": false, "isPure": false, @@ -27467,21 +27467,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50692:11:1", + "src": "52131:11:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2753, + "id": 2245, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50692:18:1", + "src": "52131:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27491,51 +27491,51 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2754, + "id": 2246, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50714:1:1", + "src": "52153:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50692:23:1", + "src": "52131:23:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2759, + "id": 2251, "nodeType": "IfStatement", - "src": "50688:70:1", + "src": "52127:72:0", "trueBody": { - "id": 2758, + "id": 2250, "nodeType": "Block", - "src": "50717:41:1", + "src": "52156:43:0", "statements": [ { "expression": { - "id": 2756, + "id": 2248, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50738:9:1", + "referencedDeclaration": 2231, + "src": "52178:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2757, + "functionReturnParameters": 2222, + "id": 2249, "nodeType": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ] } @@ -27546,7 +27546,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2766, + "id": 2258, "isConstant": false, "isLValue": false, "isPure": false, @@ -27555,12 +27555,12 @@ "expression": { "arguments": [ { - "id": 2762, + "id": 2254, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50866:9:1", + "referencedDeclaration": 2231, + "src": "52309:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27574,26 +27574,26 @@ "typeString": "string memory" } ], - "id": 2761, + "id": 2253, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2760, + "id": 2252, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": {} } }, - "id": 2763, + "id": 2255, "isConstant": false, "isLValue": false, "isPure": false, @@ -27601,21 +27601,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50860:16:1", + "src": "52303:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2764, + "id": 2256, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50860:23:1", + "src": "52303:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27625,33 +27625,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 2765, + "id": 2257, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50886:1:1", + "src": "52329:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50860:27:1", + "src": "52303:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2777, + "id": 2269, "nodeType": "IfStatement", - "src": "50856:106:1", + "src": "52299:108:0", "trueBody": { - "id": 2776, + "id": 2268, "nodeType": "Block", - "src": "50889:73:1", + "src": "52332:75:0", "statements": [ { "expression": { @@ -27659,24 +27659,24 @@ { "arguments": [ { - "id": 2771, + "id": 2263, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50934:4:1", + "referencedDeclaration": 2237, + "src": "52378:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, { - "id": 2772, + "id": 2264, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50940:9:1", + "referencedDeclaration": 2231, + "src": "52384:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27695,31 +27695,31 @@ } ], "expression": { - "id": 2769, + "id": 2261, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "50917:3:1", + "src": "52361:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2770, + "id": 2262, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "50917:16:1", + "src": "52361:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2773, + "id": 2265, "isConstant": false, "isLValue": false, "isPure": false, @@ -27727,7 +27727,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50917:33:1", + "src": "52361:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -27742,26 +27742,26 @@ "typeString": "bytes memory" } ], - "id": 2768, + "id": 2260, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2767, + "id": 2259, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": {} } }, - "id": 2774, + "id": 2266, "isConstant": false, "isLValue": false, "isPure": false, @@ -27769,17 +27769,17 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50910:41:1", + "src": "52354:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2775, + "functionReturnParameters": 2222, + "id": 2267, "nodeType": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ] } @@ -27790,12 +27790,12 @@ { "arguments": [ { - "id": 2782, + "id": 2274, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "51092:4:1", + "referencedDeclaration": 2237, + "src": "52539:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27806,32 +27806,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2783, + "id": 2275, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "51098:7:1", + "referencedDeclaration": 2217, + "src": "52545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2784, + "id": 2276, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toString", "nodeType": "MemberAccess", - "referencedDeclaration": 2565, - "src": "51098:16:1", + "referencedDeclaration": 2057, + "src": "52545:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$bound_to$_t_uint256_$", "typeString": "function (uint256) pure returns (string memory)" } }, - "id": 2785, + "id": 2277, "isConstant": false, "isLValue": false, "isPure": false, @@ -27839,7 +27839,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51098:18:1", + "src": "52545:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27859,31 +27859,31 @@ } ], "expression": { - "id": 2780, + "id": 2272, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "51075:3:1", + "src": "52522:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2781, + "id": 2273, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "51075:16:1", + "src": "52522:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2786, + "id": 2278, "isConstant": false, "isLValue": false, "isPure": false, @@ -27891,7 +27891,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51075:42:1", + "src": "52522:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -27906,26 +27906,26 @@ "typeString": "bytes memory" } ], - "id": 2779, + "id": 2271, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2778, + "id": 2270, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": {} } }, - "id": 2787, + "id": 2279, "isConstant": false, "isLValue": false, "isPure": false, @@ -27933,51 +27933,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51068:50:1", + "src": "52515:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2788, + "functionReturnParameters": 2222, + "id": 2280, "nodeType": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ] }, "documentation": { - "id": 2723, + "id": 2215, "nodeType": "StructuredDocumentation", - "src": "50289:55:1", + "src": "51718:57:0", "text": " @dev See {IERC721Metadata-tokenURI}." }, "functionSelector": "c87b56dd", - "id": 2790, + "id": 2282, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "overrides": { - "id": 2727, + "id": 2219, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50404:8:1" + "src": "51836:8:0" }, "parameters": { - "id": 2726, + "id": 2218, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2725, + "id": 2217, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50367:15:1", + "scope": 2282, + "src": "51799:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27985,10 +27985,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2724, + "id": 2216, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "50367:7:1", + "src": "51799:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27997,20 +27997,20 @@ "visibility": "internal" } ], - "src": "50366:17:1" + "src": "51798:17:0" }, "returnParameters": { - "id": 2730, + "id": 2222, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2729, + "id": 2221, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50422:13:1", + "scope": 2282, + "src": "51854:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -28018,10 +28018,10 @@ "typeString": "string" }, "typeName": { - "id": 2728, + "id": 2220, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50422:6:1", + "src": "51854:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28030,71 +28030,71 @@ "visibility": "internal" } ], - "src": "50421:15:1" + "src": "51853:15:0" }, - "scope": 3498, - "src": "50349:776:1", + "scope": 2990, + "src": "51781:792:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 2798, + "id": 2290, "nodeType": "Block", - "src": "51420:32:1", + "src": "52875:34:0", "statements": [ { "expression": { - "id": 2796, + "id": 2288, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "51437:8:1", + "referencedDeclaration": 2114, + "src": "52893:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2795, - "id": 2797, + "functionReturnParameters": 2287, + "id": 2289, "nodeType": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ] }, "documentation": { - "id": 2791, + "id": 2283, "nodeType": "StructuredDocumentation", - "src": "51131:221:1", + "src": "52581:225:0", "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, "functionSelector": "6c0360eb", - "id": 2799, + "id": 2291, "implemented": true, "kind": "function", "modifiers": [], "name": "baseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 2792, + "id": 2284, "nodeType": "ParameterList", "parameters": [], - "src": "51373:2:1" + "src": "52828:2:0" }, "returnParameters": { - "id": 2795, + "id": 2287, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2794, + "id": 2286, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2799, - "src": "51405:13:1", + "scope": 2291, + "src": "52860:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -28102,10 +28102,10 @@ "typeString": "string" }, "typeName": { - "id": 2793, + "id": 2285, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51405:6:1", + "src": "52860:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28114,33 +28114,33 @@ "visibility": "internal" } ], - "src": "51404:15:1" + "src": "52859:15:0" }, - "scope": 3498, - "src": "51357:95:1", + "scope": 2990, + "src": "52812:97:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 700 + 192 ], "body": { - "id": 2817, + "id": 2309, "nodeType": "Block", - "src": "51637:54:1", + "src": "53099:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 2814, + "id": 2306, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2804, - "src": "51678:5:1", + "referencedDeclaration": 2296, + "src": "53141:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28156,25 +28156,25 @@ ], "expression": { "baseExpression": { - "id": 2810, + "id": 2302, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "51654:13:1", + "referencedDeclaration": 2092, + "src": "53117:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2812, + "id": 2304, "indexExpression": { - "id": 2811, + "id": 2303, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2802, - "src": "51668:5:1", + "referencedDeclaration": 2294, + "src": "53131:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28185,27 +28185,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "51654:20:1", + "src": "53117:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2813, + "id": 2305, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 1920, - "src": "51654:23:1", + "referencedDeclaration": 1412, + "src": "53117:23:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" } }, - "id": 2815, + "id": 2307, "isConstant": false, "isLValue": false, "isPure": false, @@ -28213,51 +28213,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51654:30:1", + "src": "53117:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2809, - "id": 2816, + "functionReturnParameters": 2301, + "id": 2308, "nodeType": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ] }, "documentation": { - "id": 2800, + "id": 2292, "nodeType": "StructuredDocumentation", - "src": "51458:68:1", + "src": "52917:70:0", "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, "functionSelector": "2f745c59", - "id": 2818, + "id": 2310, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2806, + "id": 2298, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51610:8:1" + "src": "53072:8:0" }, "parameters": { - "id": 2805, + "id": 2297, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2802, + "id": 2294, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51560:13:1", + "scope": 2310, + "src": "53022:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28265,10 +28265,10 @@ "typeString": "address" }, "typeName": { - "id": 2801, + "id": 2293, "name": "address", "nodeType": "ElementaryTypeName", - "src": "51560:7:1", + "src": "53022:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28279,12 +28279,12 @@ }, { "constant": false, - "id": 2804, + "id": 2296, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51575:13:1", + "scope": 2310, + "src": "53037:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28292,10 +28292,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2803, + "id": 2295, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51575:7:1", + "src": "53037:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28304,20 +28304,20 @@ "visibility": "internal" } ], - "src": "51559:30:1" + "src": "53021:30:0" }, "returnParameters": { - "id": 2809, + "id": 2301, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2808, + "id": 2300, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51628:7:1", + "scope": 2310, + "src": "53090:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28325,10 +28325,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2807, + "id": 2299, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51628:7:1", + "src": "53090:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28337,22 +28337,22 @@ "visibility": "internal" } ], - "src": "51627:9:1" + "src": "53089:9:0" }, - "scope": 3498, - "src": "51531:160:1", + "scope": 2990, + "src": "52993:162:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 690 + 182 ], "body": { - "id": 2829, + "id": 2321, "nodeType": "Block", - "src": "51832:138:1", + "src": "53301:141:0", "statements": [ { "expression": { @@ -28360,32 +28360,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2825, + "id": 2317, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "51942:12:1", + "referencedDeclaration": 2094, + "src": "53413:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2826, + "id": 2318, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 2340, - "src": "51942:19:1", + "referencedDeclaration": 1832, + "src": "53413:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" } }, - "id": 2827, + "id": 2319, "isConstant": false, "isLValue": false, "isPure": false, @@ -28393,57 +28393,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51942:21:1", + "src": "53413:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2824, - "id": 2828, + "functionReturnParameters": 2316, + "id": 2320, "nodeType": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ] }, "documentation": { - "id": 2819, + "id": 2311, "nodeType": "StructuredDocumentation", - "src": "51697:60:1", + "src": "53163:62:0", "text": " @dev See {IERC721Enumerable-totalSupply}." }, "functionSelector": "18160ddd", - "id": 2830, + "id": 2322, "implemented": true, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "overrides": { - "id": 2821, + "id": 2313, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51805:8:1" + "src": "53274:8:0" }, "parameters": { - "id": 2820, + "id": 2312, "nodeType": "ParameterList", "parameters": [], - "src": "51782:2:1" + "src": "53251:2:0" }, "returnParameters": { - "id": 2824, + "id": 2316, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2823, + "id": 2315, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2830, - "src": "51823:7:1", + "scope": 2322, + "src": "53292:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28451,10 +28451,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2822, + "id": 2314, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51823:7:1", + "src": "53292:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28463,37 +28463,37 @@ "visibility": "internal" } ], - "src": "51822:9:1" + "src": "53291:9:0" }, - "scope": 3498, - "src": "51762:208:1", + "scope": 2990, + "src": "53231:211:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 708 + 200 ], "body": { - "id": 2848, + "id": 2340, "nodeType": "Block", - "src": "52126:85:1", + "src": "53603:88:0", "statements": [ { "assignments": [ - 2840, + 2332, null ], "declarations": [ { "constant": false, - "id": 2840, + "id": 2332, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2848, - "src": "52137:15:1", + "scope": 2340, + "src": "53615:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28501,10 +28501,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2839, + "id": 2331, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52137:7:1", + "src": "53615:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28514,16 +28514,16 @@ }, null ], - "id": 2845, + "id": 2337, "initialValue": { "arguments": [ { - "id": 2843, + "id": 2335, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2833, - "src": "52174:5:1", + "referencedDeclaration": 2325, + "src": "53652:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28538,32 +28538,32 @@ } ], "expression": { - "id": 2841, + "id": 2333, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "52158:12:1", + "referencedDeclaration": 2094, + "src": "53636:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2842, + "id": 2334, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 2379, - "src": "52158:15:1", + "referencedDeclaration": 1871, + "src": "53636:15:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" } }, - "id": 2844, + "id": 2336, "isConstant": false, "isLValue": false, "isPure": false, @@ -28571,7 +28571,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52158:22:1", + "src": "53636:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_$", @@ -28579,59 +28579,59 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "expression": { - "id": 2846, + "id": 2338, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2840, - "src": "52197:7:1", + "referencedDeclaration": 2332, + "src": "53676:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2838, - "id": 2847, + "functionReturnParameters": 2330, + "id": 2339, "nodeType": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ] }, "documentation": { - "id": 2831, + "id": 2323, "nodeType": "StructuredDocumentation", - "src": "51976:61:1", + "src": "53450:63:0", "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, "functionSelector": "4f6ccce7", - "id": 2849, + "id": 2341, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2835, + "id": 2327, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52099:8:1" + "src": "53576:8:0" }, "parameters": { - "id": 2834, + "id": 2326, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2833, + "id": 2325, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52064:13:1", + "scope": 2341, + "src": "53541:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28639,10 +28639,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2832, + "id": 2324, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52064:7:1", + "src": "53541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28651,20 +28651,20 @@ "visibility": "internal" } ], - "src": "52063:15:1" + "src": "53540:15:0" }, "returnParameters": { - "id": 2838, + "id": 2330, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2837, + "id": 2329, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52117:7:1", + "scope": 2341, + "src": "53594:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28672,10 +28672,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2836, + "id": 2328, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52117:7:1", + "src": "53594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28684,36 +28684,36 @@ "visibility": "internal" } ], - "src": "52116:9:1" + "src": "53593:9:0" }, - "scope": 3498, - "src": "52042:169:1", + "scope": 2990, + "src": "53519:172:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 616 + 108 ], "body": { - "id": 2892, + "id": 2384, "nodeType": "Block", - "src": "52338:325:1", + "src": "53823:334:0", "statements": [ { "assignments": [ - 2859 + 2351 ], "declarations": [ { "constant": false, - "id": 2859, + "id": 2351, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2892, - "src": "52348:13:1", + "scope": 2384, + "src": "53834:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28721,10 +28721,10 @@ "typeString": "address" }, "typeName": { - "id": 2858, + "id": 2350, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52348:7:1", + "src": "53834:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28734,16 +28734,16 @@ "visibility": "internal" } ], - "id": 2864, + "id": 2356, "initialValue": { "arguments": [ { - "id": 2862, + "id": 2354, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52379:7:1", + "referencedDeclaration": 2346, + "src": "53865:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28758,32 +28758,32 @@ } ], "expression": { - "id": 2860, + "id": 2352, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52364:6:1", + "referencedDeclaration": 2990, + "src": "53850:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2861, + "id": 2353, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "52364:14:1", + "referencedDeclaration": 2194, + "src": "53850:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 2863, + "id": 2355, "isConstant": false, "isLValue": false, "isPure": false, @@ -28791,7 +28791,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52364:23:1", + "src": "53850:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -28799,7 +28799,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "expression": { @@ -28809,18 +28809,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2868, + "id": 2360, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2866, + "id": 2358, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52405:2:1", + "referencedDeclaration": 2344, + "src": "53892:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28829,18 +28829,18 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 2867, + "id": 2359, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52411:5:1", + "referencedDeclaration": 2351, + "src": "53898:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52405:11:1", + "src": "53892:11:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28848,14 +28848,14 @@ }, { "hexValue": "4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572", - "id": 2869, + "id": 2361, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52418:35:1", + "src": "53905:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942", "typeString": "literal_string \"ERC721: approval to current owner\"" @@ -28874,7 +28874,7 @@ "typeString": "literal_string \"ERC721: approval to current owner\"" } ], - "id": 2865, + "id": 2357, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -28882,13 +28882,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52397:7:1", + "src": "53884:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2870, + "id": 2362, "isConstant": false, "isLValue": false, "isPure": false, @@ -28896,16 +28896,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52397:57:1", + "src": "53884:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2871, + "id": 2363, "nodeType": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "expression": { @@ -28915,7 +28915,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 2883, + "id": 2375, "isConstant": false, "isLValue": false, "isPure": false, @@ -28925,7 +28925,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2876, + "id": 2368, "isConstant": false, "isLValue": false, "isPure": false, @@ -28934,18 +28934,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2873, + "id": 2365, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52473:10:1", + "referencedDeclaration": 10, + "src": "53962:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2874, + "id": 2366, "isConstant": false, "isLValue": false, "isPure": false, @@ -28953,7 +28953,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52473:12:1", + "src": "53962:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -28963,18 +28963,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 2875, + "id": 2367, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52489:5:1", + "referencedDeclaration": 2351, + "src": "53978:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52473:21:1", + "src": "53962:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28985,12 +28985,12 @@ "rightExpression": { "arguments": [ { - "id": 2879, + "id": 2371, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52522:5:1", + "referencedDeclaration": 2351, + "src": "54011:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29000,18 +29000,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2880, + "id": 2372, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52529:10:1", + "referencedDeclaration": 10, + "src": "54018:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2881, + "id": 2373, "isConstant": false, "isLValue": false, "isPure": false, @@ -29019,7 +29019,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52529:12:1", + "src": "54018:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29039,32 +29039,32 @@ } ], "expression": { - "id": 2877, + "id": 2369, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52498:6:1", + "referencedDeclaration": 2990, + "src": "53987:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2878, + "id": 2370, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "52498:23:1", + "referencedDeclaration": 2458, + "src": "53987:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 2882, + "id": 2374, "isConstant": false, "isLValue": false, "isPure": false, @@ -29072,14 +29072,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52498:44:1", + "src": "53987:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "52473:69:1", + "src": "53962:69:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29087,14 +29087,14 @@ }, { "hexValue": "4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c", - "id": 2884, + "id": 2376, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52556:58:1", + "src": "54046:58:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_6d83cef3e0cb19b8320a9c5feb26b56bbb08f152a8e61b12eca3302d8d68b23d", "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" @@ -29113,7 +29113,7 @@ "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" } ], - "id": 2872, + "id": 2364, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29121,13 +29121,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52465:7:1", + "src": "53954:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2885, + "id": 2377, "isConstant": false, "isLValue": false, "isPure": false, @@ -29135,39 +29135,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52465:159:1", + "src": "53954:161:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2886, + "id": 2378, "nodeType": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "expression": { "arguments": [ { - "id": 2888, + "id": 2380, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52644:2:1", + "referencedDeclaration": 2344, + "src": "54137:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2889, + "id": 2381, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52648:7:1", + "referencedDeclaration": 2346, + "src": "54141:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29185,18 +29185,18 @@ "typeString": "uint256" } ], - "id": 2887, + "id": 2379, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "52635:8:1", + "referencedDeclaration": 2978, + "src": "54128:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 2890, + "id": 2382, "isConstant": false, "isLValue": false, "isPure": false, @@ -29204,50 +29204,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52635:21:1", + "src": "54128:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2891, + "id": 2383, "nodeType": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ] }, "documentation": { - "id": 2850, + "id": 2342, "nodeType": "StructuredDocumentation", - "src": "52217:46:1", + "src": "53699:48:0", "text": " @dev See {IERC721-approve}." }, "functionSelector": "095ea7b3", - "id": 2893, + "id": 2385, "implemented": true, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "overrides": { - "id": 2856, + "id": 2348, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52329:8:1" + "src": "53814:8:0" }, "parameters": { - "id": 2855, + "id": 2347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2852, + "id": 2344, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52285:10:1", + "scope": 2385, + "src": "53770:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29255,10 +29255,10 @@ "typeString": "address" }, "typeName": { - "id": 2851, + "id": 2343, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52285:7:1", + "src": "53770:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29269,12 +29269,12 @@ }, { "constant": false, - "id": 2854, + "id": 2346, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52297:15:1", + "scope": 2385, + "src": "53782:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29282,10 +29282,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2853, + "id": 2345, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52297:7:1", + "src": "53782:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29294,28 +29294,28 @@ "visibility": "internal" } ], - "src": "52284:29:1" + "src": "53769:29:0" }, "returnParameters": { - "id": 2857, + "id": 2349, "nodeType": "ParameterList", "parameters": [], - "src": "52338:0:1" + "src": "53823:0:0" }, - "scope": 3498, - "src": "52268:395:1", + "scope": 2990, + "src": "53753:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 624 + 116 ], "body": { - "id": 2913, + "id": 2405, "nodeType": "Block", - "src": "52809:132:1", + "src": "54308:136:0", "statements": [ { "expression": { @@ -29323,12 +29323,12 @@ { "arguments": [ { - "id": 2904, + "id": 2396, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52835:7:1", + "referencedDeclaration": 2388, + "src": "54335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29342,18 +29342,18 @@ "typeString": "uint256" } ], - "id": 2903, + "id": 2395, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "52827:7:1", + "referencedDeclaration": 2577, + "src": "54327:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2905, + "id": 2397, "isConstant": false, "isLValue": false, "isPure": false, @@ -29361,7 +29361,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52827:16:1", + "src": "54327:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -29370,14 +29370,14 @@ }, { "hexValue": "4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2906, + "id": 2398, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52845:46:1", + "src": "54345:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9291e0f44949204f2e9b40e6be090924979d6047b2365868f4e9f027722eb89d", "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" @@ -29396,7 +29396,7 @@ "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" } ], - "id": 2902, + "id": 2394, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29404,13 +29404,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52819:7:1", + "src": "54319:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2907, + "id": 2399, "isConstant": false, "isLValue": false, "isPure": false, @@ -29418,39 +29418,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52819:73:1", + "src": "54319:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2908, + "id": 2400, "nodeType": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "expression": { "baseExpression": { - "id": 2909, + "id": 2401, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "52910:15:1", + "referencedDeclaration": 2098, + "src": "54412:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 2911, + "id": 2403, "indexExpression": { - "id": 2910, + "id": 2402, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52926:7:1", + "referencedDeclaration": 2388, + "src": "54428:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29461,50 +29461,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "52910:24:1", + "src": "54412:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2901, - "id": 2912, + "functionReturnParameters": 2393, + "id": 2404, "nodeType": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ] }, "documentation": { - "id": 2894, + "id": 2386, "nodeType": "StructuredDocumentation", - "src": "52669:50:1", + "src": "54165:52:0", "text": " @dev See {IERC721-getApproved}." }, "functionSelector": "081812fc", - "id": 2914, + "id": 2406, "implemented": true, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "overrides": { - "id": 2898, + "id": 2390, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52782:8:1" + "src": "54281:8:0" }, "parameters": { - "id": 2897, + "id": 2389, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2896, + "id": 2388, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52745:15:1", + "scope": 2406, + "src": "54244:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29512,10 +29512,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2895, + "id": 2387, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52745:7:1", + "src": "54244:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29524,20 +29524,20 @@ "visibility": "internal" } ], - "src": "52744:17:1" + "src": "54243:17:0" }, "returnParameters": { - "id": 2901, + "id": 2393, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2900, + "id": 2392, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52800:7:1", + "scope": 2406, + "src": "54299:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29545,10 +29545,10 @@ "typeString": "address" }, "typeName": { - "id": 2899, + "id": 2391, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52800:7:1", + "src": "54299:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29558,22 +29558,22 @@ "visibility": "internal" } ], - "src": "52799:9:1" + "src": "54298:9:0" }, - "scope": 3498, - "src": "52724:217:1", + "scope": 2990, + "src": "54223:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 632 + 124 ], "body": { - "id": 2947, + "id": 2439, "nodeType": "Block", - "src": "53092:206:1", + "src": "54600:211:0", "statements": [ { "expression": { @@ -29583,18 +29583,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2927, + "id": 2419, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2924, + "id": 2416, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53110:8:1", + "referencedDeclaration": 2409, + "src": "54619:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29606,18 +29606,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2925, + "id": 2417, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53122:10:1", + "referencedDeclaration": 10, + "src": "54631:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2926, + "id": 2418, "isConstant": false, "isLValue": false, "isPure": false, @@ -29625,14 +29625,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53122:12:1", + "src": "54631:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "53110:24:1", + "src": "54619:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29640,14 +29640,14 @@ }, { "hexValue": "4552433732313a20617070726f766520746f2063616c6c6572", - "id": 2928, + "id": 2420, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53136:27:1", + "src": "54645:27:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05", "typeString": "literal_string \"ERC721: approve to caller\"" @@ -29666,7 +29666,7 @@ "typeString": "literal_string \"ERC721: approve to caller\"" } ], - "id": 2923, + "id": 2415, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29674,13 +29674,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53102:7:1", + "src": "54611:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2929, + "id": 2421, "isConstant": false, "isLValue": false, "isPure": false, @@ -29688,20 +29688,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53102:62:1", + "src": "54611:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2930, + "id": 2422, "nodeType": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "expression": { - "id": 2938, + "id": 2430, "isConstant": false, "isLValue": false, "isPure": false, @@ -29709,34 +29709,34 @@ "leftHandSide": { "baseExpression": { "baseExpression": { - "id": 2931, + "id": 2423, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53175:18:1", + "referencedDeclaration": 2104, + "src": "54686:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2935, + "id": 2427, "indexExpression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2932, + "id": 2424, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53194:10:1", + "referencedDeclaration": 10, + "src": "54705:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2933, + "id": 2425, "isConstant": false, "isLValue": false, "isPure": false, @@ -29744,7 +29744,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53194:12:1", + "src": "54705:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29756,20 +29756,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53175:32:1", + "src": "54686:32:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2936, + "id": 2428, "indexExpression": { - "id": 2934, + "id": 2426, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53208:8:1", + "referencedDeclaration": 2409, + "src": "54719:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29780,7 +29780,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "53175:42:1", + "src": "54686:42:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29789,26 +29789,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2937, + "id": 2429, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53220:8:1", + "referencedDeclaration": 2411, + "src": "54731:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "53175:53:1", + "src": "54686:53:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2939, + "id": 2431, "nodeType": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "eventCall": { @@ -29817,18 +29817,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2941, + "id": 2433, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53258:10:1", + "referencedDeclaration": 10, + "src": "54770:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2942, + "id": 2434, "isConstant": false, "isLValue": false, "isPure": false, @@ -29836,7 +29836,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53258:12:1", + "src": "54770:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29844,24 +29844,24 @@ } }, { - "id": 2943, + "id": 2435, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53272:8:1", + "referencedDeclaration": 2409, + "src": "54784:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2944, + "id": 2436, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53282:8:1", + "referencedDeclaration": 2411, + "src": "54794:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29883,18 +29883,18 @@ "typeString": "bool" } ], - "id": 2940, + "id": 2432, "name": "ApprovalForAll", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 572, - "src": "53243:14:1", + "referencedDeclaration": 64, + "src": "54755:14:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", "typeString": "function (address,address,bool)" } }, - "id": 2945, + "id": 2437, "isConstant": false, "isLValue": false, "isPure": false, @@ -29902,50 +29902,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53243:48:1", + "src": "54755:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2946, + "id": 2438, "nodeType": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ] }, "documentation": { - "id": 2915, + "id": 2407, "nodeType": "StructuredDocumentation", - "src": "52947:56:1", + "src": "54452:58:0", "text": " @dev See {IERC721-setApprovalForAll}." }, "functionSelector": "a22cb465", - "id": 2948, + "id": 2440, "implemented": true, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2921, + "id": 2413, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53083:8:1" + "src": "54591:8:0" }, "parameters": { - "id": 2920, + "id": 2412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2917, + "id": 2409, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53035:16:1", + "scope": 2440, + "src": "54543:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29953,10 +29953,10 @@ "typeString": "address" }, "typeName": { - "id": 2916, + "id": 2408, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53035:7:1", + "src": "54543:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29967,12 +29967,12 @@ }, { "constant": false, - "id": 2919, + "id": 2411, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53053:13:1", + "scope": 2440, + "src": "54561:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29980,10 +29980,10 @@ "typeString": "bool" }, "typeName": { - "id": 2918, + "id": 2410, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53053:4:1", + "src": "54561:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29992,52 +29992,52 @@ "visibility": "internal" } ], - "src": "53034:33:1" + "src": "54542:33:0" }, "returnParameters": { - "id": 2922, + "id": 2414, "nodeType": "ParameterList", "parameters": [], - "src": "53092:0:1" + "src": "54600:0:0" }, - "scope": 3498, - "src": "53008:290:1", + "scope": 2990, + "src": "54516:295:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 642 + 134 ], "body": { - "id": 2965, + "id": 2457, "nodeType": "Block", - "src": "53467:59:1", + "src": "54985:61:0", "statements": [ { "expression": { "baseExpression": { "baseExpression": { - "id": 2959, + "id": 2451, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53484:18:1", + "referencedDeclaration": 2104, + "src": "55003:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2961, + "id": 2453, "indexExpression": { - "id": 2960, + "id": 2452, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2951, - "src": "53503:5:1", + "referencedDeclaration": 2443, + "src": "55022:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30048,20 +30048,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:25:1", + "src": "55003:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2963, + "id": 2455, "indexExpression": { - "id": 2962, + "id": 2454, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2953, - "src": "53510:8:1", + "referencedDeclaration": 2445, + "src": "55029:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30072,50 +30072,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:35:1", + "src": "55003:35:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2958, - "id": 2964, + "functionReturnParameters": 2450, + "id": 2456, "nodeType": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ] }, "documentation": { - "id": 2949, + "id": 2441, "nodeType": "StructuredDocumentation", - "src": "53304:55:1", + "src": "54819:57:0", "text": " @dev See {IERC721-isApprovedForAll}." }, "functionSelector": "e985e9c5", - "id": 2966, + "id": 2458, "implemented": true, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2955, + "id": 2447, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53443:8:1" + "src": "54961:8:0" }, "parameters": { - "id": 2954, + "id": 2446, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2951, + "id": 2443, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53390:13:1", + "scope": 2458, + "src": "54908:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30123,10 +30123,10 @@ "typeString": "address" }, "typeName": { - "id": 2950, + "id": 2442, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53390:7:1", + "src": "54908:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30137,12 +30137,12 @@ }, { "constant": false, - "id": 2953, + "id": 2445, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53405:16:1", + "scope": 2458, + "src": "54923:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30150,10 +30150,10 @@ "typeString": "address" }, "typeName": { - "id": 2952, + "id": 2444, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53405:7:1", + "src": "54923:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30163,20 +30163,20 @@ "visibility": "internal" } ], - "src": "53389:33:1" + "src": "54907:33:0" }, "returnParameters": { - "id": 2958, + "id": 2450, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2957, + "id": 2449, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53461:4:1", + "scope": 2458, + "src": "54979:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30184,10 +30184,10 @@ "typeString": "bool" }, "typeName": { - "id": 2956, + "id": 2448, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53461:4:1", + "src": "54979:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30196,22 +30196,22 @@ "visibility": "internal" } ], - "src": "53460:6:1" + "src": "54978:6:0" }, - "scope": 3498, - "src": "53364:162:1", + "scope": 2990, + "src": "54882:164:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 608 + 100 ], "body": { - "id": 2992, + "id": 2484, "nodeType": "Block", - "src": "53677:211:1", + "src": "55202:216:0", "statements": [ { "expression": { @@ -30222,18 +30222,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2979, + "id": 2471, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53766:10:1", + "referencedDeclaration": 10, + "src": "55293:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2980, + "id": 2472, "isConstant": false, "isLValue": false, "isPure": false, @@ -30241,7 +30241,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53766:12:1", + "src": "55293:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30249,12 +30249,12 @@ } }, { - "id": 2981, + "id": 2473, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53780:7:1", + "referencedDeclaration": 2465, + "src": "55307:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30272,18 +30272,18 @@ "typeString": "uint256" } ], - "id": 2978, + "id": 2470, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "53747:18:1", + "referencedDeclaration": 2619, + "src": "55274:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 2982, + "id": 2474, "isConstant": false, "isLValue": false, "isPure": false, @@ -30291,7 +30291,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53747:41:1", + "src": "55274:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30300,14 +30300,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 2983, + "id": 2475, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53790:51:1", + "src": "55317:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30326,7 +30326,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 2977, + "id": 2469, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30334,13 +30334,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53739:7:1", + "src": "55266:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2984, + "id": 2476, "isConstant": false, "isLValue": false, "isPure": false, @@ -30348,51 +30348,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53739:103:1", + "src": "55266:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2985, + "id": 2477, "nodeType": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "expression": { "arguments": [ { - "id": 2987, + "id": 2479, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2969, - "src": "53863:4:1", + "referencedDeclaration": 2461, + "src": "55392:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2988, + "id": 2480, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2971, - "src": "53869:2:1", + "referencedDeclaration": 2463, + "src": "55398:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2989, + "id": 2481, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53873:7:1", + "referencedDeclaration": 2465, + "src": "55402:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30414,18 +30414,18 @@ "typeString": "uint256" } ], - "id": 2986, + "id": 2478, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "53853:9:1", + "referencedDeclaration": 2863, + "src": "55382:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 2990, + "id": 2482, "isConstant": false, "isLValue": false, "isPure": false, @@ -30433,50 +30433,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53853:28:1", + "src": "55382:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2991, + "id": 2483, "nodeType": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ] }, "documentation": { - "id": 2967, + "id": 2459, "nodeType": "StructuredDocumentation", - "src": "53532:51:1", + "src": "55054:53:0", "text": " @dev See {IERC721-transferFrom}." }, "functionSelector": "23b872dd", - "id": 2993, + "id": 2485, "implemented": true, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 2975, + "id": 2467, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53668:8:1" + "src": "55193:8:0" }, "parameters": { - "id": 2974, + "id": 2466, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2969, + "id": 2461, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53610:12:1", + "scope": 2485, + "src": "55135:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30484,10 +30484,10 @@ "typeString": "address" }, "typeName": { - "id": 2968, + "id": 2460, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53610:7:1", + "src": "55135:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30498,12 +30498,12 @@ }, { "constant": false, - "id": 2971, + "id": 2463, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53624:10:1", + "scope": 2485, + "src": "55149:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30511,10 +30511,10 @@ "typeString": "address" }, "typeName": { - "id": 2970, + "id": 2462, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53624:7:1", + "src": "55149:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30525,12 +30525,12 @@ }, { "constant": false, - "id": 2973, + "id": 2465, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53636:15:1", + "scope": 2485, + "src": "55161:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30538,10 +30538,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2972, + "id": 2464, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "53636:7:1", + "src": "55161:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30550,63 +30550,63 @@ "visibility": "internal" } ], - "src": "53609:43:1" + "src": "55134:43:0" }, "returnParameters": { - "id": 2976, + "id": 2468, "nodeType": "ParameterList", "parameters": [], - "src": "53677:0:1" + "src": "55202:0:0" }, - "scope": 3498, - "src": "53588:300:1", + "scope": 2990, + "src": "55113:305:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 598 + 90 ], "body": { - "id": 3011, + "id": 2503, "nodeType": "Block", - "src": "54047:56:1", + "src": "55582:58:0", "statements": [ { "expression": { "arguments": [ { - "id": 3005, + "id": 2497, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2996, - "src": "54074:4:1", + "referencedDeclaration": 2488, + "src": "55610:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3006, + "id": 2498, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2998, - "src": "54080:2:1", + "referencedDeclaration": 2490, + "src": "55616:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3007, + "id": 2499, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3000, - "src": "54084:7:1", + "referencedDeclaration": 2492, + "src": "55620:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30614,14 +30614,14 @@ }, { "hexValue": "", - "id": 3008, + "id": 2500, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54093:2:1", + "src": "55629:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -30648,21 +30648,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3004, + "id": 2496, "name": "safeTransferFrom", "nodeType": "Identifier", "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, - "src": "54057:16:1", + "referencedDeclaration": 2534, + "src": "55593:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3009, + "id": 2501, "isConstant": false, "isLValue": false, "isPure": false, @@ -30670,50 +30670,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54057:39:1", + "src": "55593:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3010, + "id": 2502, "nodeType": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ] }, "documentation": { - "id": 2994, + "id": 2486, "nodeType": "StructuredDocumentation", - "src": "53894:55:1", + "src": "55426:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "42842e0e", - "id": 3012, + "id": 2504, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3002, + "id": 2494, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54038:8:1" + "src": "55573:8:0" }, "parameters": { - "id": 3001, + "id": 2493, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2996, + "id": 2488, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53980:12:1", + "scope": 2504, + "src": "55515:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30721,10 +30721,10 @@ "typeString": "address" }, "typeName": { - "id": 2995, + "id": 2487, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53980:7:1", + "src": "55515:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30735,12 +30735,12 @@ }, { "constant": false, - "id": 2998, + "id": 2490, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53994:10:1", + "scope": 2504, + "src": "55529:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30748,10 +30748,10 @@ "typeString": "address" }, "typeName": { - "id": 2997, + "id": 2489, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53994:7:1", + "src": "55529:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30762,12 +30762,12 @@ }, { "constant": false, - "id": 3000, + "id": 2492, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "54006:15:1", + "scope": 2504, + "src": "55541:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30775,10 +30775,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2999, + "id": 2491, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54006:7:1", + "src": "55541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30787,28 +30787,28 @@ "visibility": "internal" } ], - "src": "53979:43:1" + "src": "55514:43:0" }, "returnParameters": { - "id": 3003, + "id": 2495, "nodeType": "ParameterList", "parameters": [], - "src": "54047:0:1" + "src": "55582:0:0" }, - "scope": 3498, - "src": "53954:149:1", + "scope": 2990, + "src": "55489:151:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 654 + 146 ], "body": { - "id": 3041, + "id": 2533, "nodeType": "Block", - "src": "54282:169:1", + "src": "55824:172:0", "statements": [ { "expression": { @@ -30819,18 +30819,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3027, + "id": 2519, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "54319:10:1", + "referencedDeclaration": 10, + "src": "55862:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3028, + "id": 2520, "isConstant": false, "isLValue": false, "isPure": false, @@ -30838,7 +30838,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54319:12:1", + "src": "55862:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30846,12 +30846,12 @@ } }, { - "id": 3029, + "id": 2521, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54333:7:1", + "referencedDeclaration": 2511, + "src": "55876:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30869,18 +30869,18 @@ "typeString": "uint256" } ], - "id": 3026, + "id": 2518, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "54300:18:1", + "referencedDeclaration": 2619, + "src": "55843:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 3030, + "id": 2522, "isConstant": false, "isLValue": false, "isPure": false, @@ -30888,7 +30888,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54300:41:1", + "src": "55843:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30897,14 +30897,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 3031, + "id": 2523, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54343:51:1", + "src": "55886:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30923,7 +30923,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 3025, + "id": 2517, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30931,13 +30931,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "54292:7:1", + "src": "55835:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3032, + "id": 2524, "isConstant": false, "isLValue": false, "isPure": false, @@ -30945,63 +30945,63 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54292:103:1", + "src": "55835:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3033, + "id": 2525, "nodeType": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "expression": { "arguments": [ { - "id": 3035, + "id": 2527, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3015, - "src": "54419:4:1", + "referencedDeclaration": 2507, + "src": "55963:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3036, + "id": 2528, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3017, - "src": "54425:2:1", + "referencedDeclaration": 2509, + "src": "55969:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3037, + "id": 2529, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54429:7:1", + "referencedDeclaration": 2511, + "src": "55973:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3038, + "id": 2530, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3021, - "src": "54438:5:1", + "referencedDeclaration": 2513, + "src": "55982:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31027,18 +31027,18 @@ "typeString": "bytes memory" } ], - "id": 3034, + "id": 2526, "name": "_safeTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3071, - "src": "54405:13:1", + "referencedDeclaration": 2563, + "src": "55949:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3039, + "id": 2531, "isConstant": false, "isLValue": false, "isPure": false, @@ -31046,50 +31046,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54405:39:1", + "src": "55949:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3040, + "id": 2532, "nodeType": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ] }, "documentation": { - "id": 3013, + "id": 2505, "nodeType": "StructuredDocumentation", - "src": "54109:55:1", + "src": "55648:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "b88d4fde", - "id": 3042, + "id": 2534, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3023, + "id": 2515, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54273:8:1" + "src": "55815:8:0" }, "parameters": { - "id": 3022, + "id": 2514, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3015, + "id": 2507, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54195:12:1", + "scope": 2534, + "src": "55737:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31097,10 +31097,10 @@ "typeString": "address" }, "typeName": { - "id": 3014, + "id": 2506, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54195:7:1", + "src": "55737:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31111,12 +31111,12 @@ }, { "constant": false, - "id": 3017, + "id": 2509, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54209:10:1", + "scope": 2534, + "src": "55751:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31124,10 +31124,10 @@ "typeString": "address" }, "typeName": { - "id": 3016, + "id": 2508, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54209:7:1", + "src": "55751:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31138,12 +31138,12 @@ }, { "constant": false, - "id": 3019, + "id": 2511, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54221:15:1", + "scope": 2534, + "src": "55763:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31151,10 +31151,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3018, + "id": 2510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54221:7:1", + "src": "55763:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31164,12 +31164,12 @@ }, { "constant": false, - "id": 3021, + "id": 2513, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54238:18:1", + "scope": 2534, + "src": "55780:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31177,10 +31177,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3020, + "id": 2512, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "54238:5:1", + "src": "55780:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31189,60 +31189,60 @@ "visibility": "internal" } ], - "src": "54194:63:1" + "src": "55736:63:0" }, "returnParameters": { - "id": 3024, + "id": 2516, "nodeType": "ParameterList", "parameters": [], - "src": "54282:0:1" + "src": "55824:0:0" }, - "scope": 3498, - "src": "54169:282:1", + "scope": 2990, + "src": "55711:285:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "body": { - "id": 3070, + "id": 2562, "nodeType": "Block", - "src": "55416:166:1", + "src": "56981:169:0", "statements": [ { "expression": { "arguments": [ { - "id": 3055, + "id": 2547, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55436:4:1", + "referencedDeclaration": 2537, + "src": "57002:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3056, + "id": 2548, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55442:2:1", + "referencedDeclaration": 2539, + "src": "57008:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3057, + "id": 2549, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55446:7:1", + "referencedDeclaration": 2541, + "src": "57012:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31264,18 +31264,18 @@ "typeString": "uint256" } ], - "id": 3054, + "id": 2546, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "55426:9:1", + "referencedDeclaration": 2863, + "src": "56992:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3058, + "id": 2550, "isConstant": false, "isLValue": false, "isPure": false, @@ -31283,16 +31283,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55426:28:1", + "src": "56992:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3059, + "id": 2551, "nodeType": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "expression": { @@ -31300,48 +31300,48 @@ { "arguments": [ { - "id": 3062, + "id": 2554, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55495:4:1", + "referencedDeclaration": 2537, + "src": "57062:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3063, + "id": 2555, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55501:2:1", + "referencedDeclaration": 2539, + "src": "57068:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3064, + "id": 2556, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55505:7:1", + "referencedDeclaration": 2541, + "src": "57072:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3065, + "id": 2557, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3051, - "src": "55514:5:1", + "referencedDeclaration": 2543, + "src": "57081:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31367,18 +31367,18 @@ "typeString": "bytes memory" } ], - "id": 3061, + "id": 2553, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "55472:22:1", + "referencedDeclaration": 2954, + "src": "57039:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3066, + "id": 2558, "isConstant": false, "isLValue": false, "isPure": false, @@ -31386,7 +31386,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55472:48:1", + "src": "57039:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31395,14 +31395,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3067, + "id": 2559, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "55522:52:1", + "src": "57089:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -31421,7 +31421,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3060, + "id": 2552, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31429,13 +31429,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "55464:7:1", + "src": "57031:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3068, + "id": 2560, "isConstant": false, "isLValue": false, "isPure": false, @@ -31443,43 +31443,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55464:111:1", + "src": "57031:111:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3069, + "id": 2561, "nodeType": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ] }, "documentation": { - "id": 3043, + "id": 2535, "nodeType": "StructuredDocumentation", - "src": "54457:851:1", + "src": "56004:868:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3071, + "id": 2563, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3052, + "id": 2544, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3045, + "id": 2537, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55336:12:1", + "scope": 2563, + "src": "56901:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31487,10 +31487,10 @@ "typeString": "address" }, "typeName": { - "id": 3044, + "id": 2536, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55336:7:1", + "src": "56901:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31501,12 +31501,12 @@ }, { "constant": false, - "id": 3047, + "id": 2539, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55350:10:1", + "scope": 2563, + "src": "56915:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31514,10 +31514,10 @@ "typeString": "address" }, "typeName": { - "id": 3046, + "id": 2538, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55350:7:1", + "src": "56915:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31528,12 +31528,12 @@ }, { "constant": false, - "id": 3049, + "id": 2541, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55362:15:1", + "scope": 2563, + "src": "56927:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31541,10 +31541,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3048, + "id": 2540, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55362:7:1", + "src": "56927:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31554,12 +31554,12 @@ }, { "constant": false, - "id": 3051, + "id": 2543, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55379:18:1", + "scope": 2563, + "src": "56944:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31567,10 +31567,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3050, + "id": 2542, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "55379:5:1", + "src": "56944:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31579,36 +31579,36 @@ "visibility": "internal" } ], - "src": "55335:63:1" + "src": "56900:63:0" }, "returnParameters": { - "id": 3053, + "id": 2545, "nodeType": "ParameterList", "parameters": [], - "src": "55416:0:1" + "src": "56981:0:0" }, - "scope": 3498, - "src": "55313:269:1", + "scope": 2990, + "src": "56878:272:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3084, + "id": 2576, "nodeType": "Block", - "src": "55956:54:1", + "src": "57534:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 3081, + "id": 2573, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3074, - "src": "55995:7:1", + "referencedDeclaration": 2566, + "src": "57574:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31623,32 +31623,32 @@ } ], "expression": { - "id": 3079, + "id": 2571, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "55973:12:1", + "referencedDeclaration": 2094, + "src": "57552:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3080, + "id": 2572, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "contains", "nodeType": "MemberAccess", - "referencedDeclaration": 2326, - "src": "55973:21:1", + "referencedDeclaration": 1818, + "src": "57552:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" } }, - "id": 3082, + "id": 2574, "isConstant": false, "isLValue": false, "isPure": false, @@ -31656,44 +31656,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55973:30:1", + "src": "57552:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3078, - "id": 3083, + "functionReturnParameters": 2570, + "id": 2575, "nodeType": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ] }, "documentation": { - "id": 3072, + "id": 2564, "nodeType": "StructuredDocumentation", - "src": "55588:292:1", + "src": "57158:299:0", "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3085, + "id": 2577, "implemented": true, "kind": "function", "modifiers": [], "name": "_exists", "nodeType": "FunctionDefinition", "parameters": { - "id": 3075, + "id": 2567, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3074, + "id": 2566, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55902:15:1", + "scope": 2577, + "src": "57480:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31701,10 +31701,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3073, + "id": 2565, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55902:7:1", + "src": "57480:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31713,20 +31713,20 @@ "visibility": "internal" } ], - "src": "55901:17:1" + "src": "57479:17:0" }, "returnParameters": { - "id": 3078, + "id": 2570, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3077, + "id": 2569, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55950:4:1", + "scope": 2577, + "src": "57528:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31734,10 +31734,10 @@ "typeString": "bool" }, "typeName": { - "id": 3076, + "id": 2568, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "55950:4:1", + "src": "57528:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -31746,19 +31746,19 @@ "visibility": "internal" } ], - "src": "55949:6:1" + "src": "57527:6:0" }, - "scope": 3498, - "src": "55885:125:1", + "scope": 2990, + "src": "57463:127:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3126, + "id": 2618, "nodeType": "Block", - "src": "56267:252:1", + "src": "57856:256:0", "statements": [ { "expression": { @@ -31766,12 +31766,12 @@ { "arguments": [ { - "id": 3097, + "id": 2589, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56293:7:1", + "referencedDeclaration": 2582, + "src": "57883:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31785,18 +31785,18 @@ "typeString": "uint256" } ], - "id": 3096, + "id": 2588, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "56285:7:1", + "referencedDeclaration": 2577, + "src": "57875:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3098, + "id": 2590, "isConstant": false, "isLValue": false, "isPure": false, @@ -31804,7 +31804,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56285:16:1", + "src": "57875:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31813,14 +31813,14 @@ }, { "hexValue": "4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 3099, + "id": 2591, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56303:46:1", + "src": "57893:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5797d1ccb08b83980dd0c07ea40d8f6a64d35fff736a19bdd17522954cb0899c", "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" @@ -31839,7 +31839,7 @@ "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" } ], - "id": 3095, + "id": 2587, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31847,13 +31847,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "56277:7:1", + "src": "57867:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3100, + "id": 2592, "isConstant": false, "isLValue": false, "isPure": false, @@ -31861,30 +31861,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56277:73:1", + "src": "57867:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3101, + "id": 2593, "nodeType": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "assignments": [ - 3103 + 2595 ], "declarations": [ { "constant": false, - "id": 3103, + "id": 2595, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3126, - "src": "56360:13:1", + "scope": 2618, + "src": "57951:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31892,10 +31892,10 @@ "typeString": "address" }, "typeName": { - "id": 3102, + "id": 2594, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56360:7:1", + "src": "57951:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31905,16 +31905,16 @@ "visibility": "internal" } ], - "id": 3108, + "id": 2600, "initialValue": { "arguments": [ { - "id": 3106, + "id": 2598, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56391:7:1", + "referencedDeclaration": 2582, + "src": "57982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31929,32 +31929,32 @@ } ], "expression": { - "id": 3104, + "id": 2596, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56376:6:1", + "referencedDeclaration": 2990, + "src": "57967:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3105, + "id": 2597, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "56376:14:1", + "referencedDeclaration": 2194, + "src": "57967:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3107, + "id": 2599, "isConstant": false, "isLValue": false, "isPure": false, @@ -31962,7 +31962,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56376:23:1", + "src": "57967:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -31970,7 +31970,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "expression": { @@ -31980,7 +31980,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3123, + "id": 2615, "isConstant": false, "isLValue": false, "isPure": false, @@ -31990,7 +31990,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3117, + "id": 2609, "isConstant": false, "isLValue": false, "isPure": false, @@ -32000,18 +32000,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3111, + "id": 2603, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3109, + "id": 2601, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56417:7:1", + "referencedDeclaration": 2580, + "src": "58009:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32020,18 +32020,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3110, + "id": 2602, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56428:5:1", + "referencedDeclaration": 2595, + "src": "58020:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56417:16:1", + "src": "58009:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32044,7 +32044,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3116, + "id": 2608, "isConstant": false, "isLValue": false, "isPure": false, @@ -32052,12 +32052,12 @@ "leftExpression": { "arguments": [ { - "id": 3113, + "id": 2605, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56449:7:1", + "referencedDeclaration": 2582, + "src": "58041:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32071,18 +32071,18 @@ "typeString": "uint256" } ], - "id": 3112, + "id": 2604, "name": "getApproved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "56437:11:1", + "referencedDeclaration": 2406, + "src": "58029:11:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3114, + "id": 2606, "isConstant": false, "isLValue": false, "isPure": false, @@ -32090,7 +32090,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56437:20:1", + "src": "58029:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -32100,24 +32100,24 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3115, + "id": 2607, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56461:7:1", + "referencedDeclaration": 2580, + "src": "58053:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56437:31:1", + "src": "58029:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:51:1", + "src": "58009:51:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32128,24 +32128,24 @@ "rightExpression": { "arguments": [ { - "id": 3120, + "id": 2612, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56496:5:1", + "referencedDeclaration": 2595, + "src": "58088:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3121, + "id": 2613, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56503:7:1", + "referencedDeclaration": 2580, + "src": "58095:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32164,32 +32164,32 @@ } ], "expression": { - "id": 3118, + "id": 2610, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56472:6:1", + "referencedDeclaration": 2990, + "src": "58064:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3119, + "id": 2611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "56472:23:1", + "referencedDeclaration": 2458, + "src": "58064:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 3122, + "id": 2614, "isConstant": false, "isLValue": false, "isPure": false, @@ -32197,64 +32197,64 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56472:39:1", + "src": "58064:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:94:1", + "src": "58009:94:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3124, + "id": 2616, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "56416:96:1", + "src": "58008:96:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3094, - "id": 3125, + "functionReturnParameters": 2586, + "id": 2617, "nodeType": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ] }, "documentation": { - "id": 3086, + "id": 2578, "nodeType": "StructuredDocumentation", - "src": "56016:147:1", + "src": "57598:153:0", "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3127, + "id": 2619, "implemented": true, "kind": "function", "modifiers": [], "name": "_isApprovedOrOwner", "nodeType": "FunctionDefinition", "parameters": { - "id": 3091, + "id": 2583, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3088, + "id": 2580, "mutability": "mutable", "name": "spender", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56196:15:1", + "scope": 2619, + "src": "57785:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32262,10 +32262,10 @@ "typeString": "address" }, "typeName": { - "id": 3087, + "id": 2579, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56196:7:1", + "src": "57785:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32276,12 +32276,12 @@ }, { "constant": false, - "id": 3090, + "id": 2582, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56213:15:1", + "scope": 2619, + "src": "57802:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32289,10 +32289,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3089, + "id": 2581, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56213:7:1", + "src": "57802:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32301,20 +32301,20 @@ "visibility": "internal" } ], - "src": "56195:34:1" + "src": "57784:34:0" }, "returnParameters": { - "id": 3094, + "id": 2586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3093, + "id": 2585, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56261:4:1", + "scope": 2619, + "src": "57850:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32322,10 +32322,10 @@ "typeString": "bool" }, "typeName": { - "id": 3092, + "id": 2584, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "56261:4:1", + "src": "57850:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32334,42 +32334,42 @@ "visibility": "internal" } ], - "src": "56260:6:1" + "src": "57849:6:0" }, - "scope": 3498, - "src": "56168:351:1", + "scope": 2990, + "src": "57757:355:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3141, + "id": 2633, "nodeType": "Block", - "src": "56915:43:1", + "src": "58520:45:0", "statements": [ { "expression": { "arguments": [ { - "id": 3136, + "id": 2628, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3130, - "src": "56935:2:1", + "referencedDeclaration": 2622, + "src": "58541:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3137, + "id": 2629, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3132, - "src": "56939:7:1", + "referencedDeclaration": 2624, + "src": "58545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32377,14 +32377,14 @@ }, { "hexValue": "", - "id": 3138, + "id": 2630, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56948:2:1", + "src": "58554:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -32407,21 +32407,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3135, + "id": 2627, "name": "_safeMint", "nodeType": "Identifier", "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, - "src": "56925:9:1", + "referencedDeclaration": 2663, + "src": "58531:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,uint256,bytes memory)" } }, - "id": 3139, + "id": 2631, "isConstant": false, "isLValue": false, "isPure": false, @@ -32429,43 +32429,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56925:26:1", + "src": "58531:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3140, + "id": 2632, "nodeType": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ] }, "documentation": { - "id": 3128, + "id": 2620, "nodeType": "StructuredDocumentation", - "src": "56525:320:1", + "src": "58120:329:0", "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3142, + "id": 2634, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3133, + "id": 2625, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3130, + "id": 2622, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56869:10:1", + "scope": 2634, + "src": "58474:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32473,10 +32473,10 @@ "typeString": "address" }, "typeName": { - "id": 3129, + "id": 2621, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56869:7:1", + "src": "58474:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32487,12 +32487,12 @@ }, { "constant": false, - "id": 3132, + "id": 2624, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56881:15:1", + "scope": 2634, + "src": "58486:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32500,10 +32500,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3131, + "id": 2623, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56881:7:1", + "src": "58486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32512,48 +32512,48 @@ "visibility": "internal" } ], - "src": "56868:29:1" + "src": "58473:29:0" }, "returnParameters": { - "id": 3134, + "id": 2626, "nodeType": "ParameterList", "parameters": [], - "src": "56915:0:1" + "src": "58520:0:0" }, - "scope": 3498, - "src": "56850:108:1", + "scope": 2990, + "src": "58455:110:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3170, + "id": 2662, "nodeType": "Block", - "src": "57264:162:1", + "src": "58877:165:0", "statements": [ { "expression": { "arguments": [ { - "id": 3153, + "id": 2645, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57280:2:1", + "referencedDeclaration": 2637, + "src": "58894:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3154, + "id": 2646, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57284:7:1", + "referencedDeclaration": 2639, + "src": "58898:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32571,18 +32571,18 @@ "typeString": "uint256" } ], - "id": 3152, + "id": 2644, "name": "_mint", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3230, - "src": "57274:5:1", + "referencedDeclaration": 2722, + "src": "58888:5:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3155, + "id": 2647, "isConstant": false, "isLValue": false, "isPure": false, @@ -32590,16 +32590,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57274:18:1", + "src": "58888:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3156, + "id": 2648, "nodeType": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "expression": { @@ -32610,14 +32610,14 @@ "arguments": [ { "hexValue": "30", - "id": 3161, + "id": 2653, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57341:1:1", + "src": "58956:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -32632,26 +32632,26 @@ "typeString": "int_const 0" } ], - "id": 3160, + "id": 2652, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3159, + "id": 2651, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": {} } }, - "id": 3162, + "id": 2654, "isConstant": false, "isLValue": false, "isPure": true, @@ -32659,7 +32659,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57333:10:1", + "src": "58948:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -32667,36 +32667,36 @@ } }, { - "id": 3163, + "id": 2655, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57345:2:1", + "referencedDeclaration": 2637, + "src": "58960:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3164, + "id": 2656, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57349:7:1", + "referencedDeclaration": 2639, + "src": "58964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3165, + "id": 2657, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3149, - "src": "57358:5:1", + "referencedDeclaration": 2641, + "src": "58973:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -32722,18 +32722,18 @@ "typeString": "bytes memory" } ], - "id": 3158, + "id": 2650, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "57310:22:1", + "referencedDeclaration": 2954, + "src": "58925:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3166, + "id": 2658, "isConstant": false, "isLValue": false, "isPure": false, @@ -32741,7 +32741,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57310:54:1", + "src": "58925:54:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -32750,14 +32750,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3167, + "id": 2659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57366:52:1", + "src": "58981:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -32776,7 +32776,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3157, + "id": 2649, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -32784,13 +32784,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57302:7:1", + "src": "58917:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3168, + "id": 2660, "isConstant": false, "isLValue": false, "isPure": false, @@ -32798,43 +32798,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57302:117:1", + "src": "58917:117:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3169, + "id": 2661, "nodeType": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ] }, "documentation": { - "id": 3143, + "id": 2635, "nodeType": "StructuredDocumentation", - "src": "56964:210:1", + "src": "58573:213:0", "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3171, + "id": 2663, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3150, + "id": 2642, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3145, + "id": 2637, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57198:10:1", + "scope": 2663, + "src": "58811:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32842,10 +32842,10 @@ "typeString": "address" }, "typeName": { - "id": 3144, + "id": 2636, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57198:7:1", + "src": "58811:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32856,12 +32856,12 @@ }, { "constant": false, - "id": 3147, + "id": 2639, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57210:15:1", + "scope": 2663, + "src": "58823:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32869,10 +32869,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3146, + "id": 2638, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57210:7:1", + "src": "58823:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32882,12 +32882,12 @@ }, { "constant": false, - "id": 3149, + "id": 2641, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57227:18:1", + "scope": 2663, + "src": "58840:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -32895,10 +32895,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3148, + "id": 2640, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "57227:5:1", + "src": "58840:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -32907,25 +32907,25 @@ "visibility": "internal" } ], - "src": "57197:49:1" + "src": "58810:49:0" }, "returnParameters": { - "id": 3151, + "id": 2643, "nodeType": "ParameterList", "parameters": [], - "src": "57264:0:1" + "src": "58877:0:0" }, - "scope": 3498, - "src": "57179:247:1", + "scope": 2990, + "src": "58792:250:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3229, + "id": 2721, "nodeType": "Block", - "src": "57809:332:1", + "src": "59439:343:0", "statements": [ { "expression": { @@ -32935,18 +32935,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3185, + "id": 2677, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3180, + "id": 2672, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57827:2:1", + "referencedDeclaration": 2666, + "src": "59458:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32958,14 +32958,14 @@ "arguments": [ { "hexValue": "30", - "id": 3183, + "id": 2675, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57841:1:1", + "src": "59472:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -32980,26 +32980,26 @@ "typeString": "int_const 0" } ], - "id": 3182, + "id": 2674, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3181, + "id": 2673, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": {} } }, - "id": 3184, + "id": 2676, "isConstant": false, "isLValue": false, "isPure": true, @@ -33007,14 +33007,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57833:10:1", + "src": "59464:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "57827:16:1", + "src": "59458:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -33022,14 +33022,14 @@ }, { "hexValue": "4552433732313a206d696e7420746f20746865207a65726f2061646472657373", - "id": 3186, + "id": 2678, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57845:34:1", + "src": "59476:34:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6", "typeString": "literal_string \"ERC721: mint to the zero address\"" @@ -33048,7 +33048,7 @@ "typeString": "literal_string \"ERC721: mint to the zero address\"" } ], - "id": 3179, + "id": 2671, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33056,13 +33056,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57819:7:1", + "src": "59450:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3187, + "id": 2679, "isConstant": false, "isLValue": false, "isPure": false, @@ -33070,22 +33070,22 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57819:61:1", + "src": "59450:61:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3188, + "id": 2680, "nodeType": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "expression": { "arguments": [ { - "id": 3193, + "id": 2685, "isConstant": false, "isLValue": false, "isPure": false, @@ -33093,16 +33093,16 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "57898:17:1", + "src": "59530:17:0", "subExpression": { "arguments": [ { - "id": 3191, + "id": 2683, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57907:7:1", + "referencedDeclaration": 2668, + "src": "59539:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33116,18 +33116,18 @@ "typeString": "uint256" } ], - "id": 3190, + "id": 2682, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "57899:7:1", + "referencedDeclaration": 2577, + "src": "59531:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3192, + "id": 2684, "isConstant": false, "isLValue": false, "isPure": false, @@ -33135,7 +33135,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57899:16:1", + "src": "59531:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -33149,14 +33149,14 @@ }, { "hexValue": "4552433732313a20746f6b656e20616c7265616479206d696e746564", - "id": 3194, + "id": 2686, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57917:30:1", + "src": "59549:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57", "typeString": "literal_string \"ERC721: token already minted\"" @@ -33175,7 +33175,7 @@ "typeString": "literal_string \"ERC721: token already minted\"" } ], - "id": 3189, + "id": 2681, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33183,13 +33183,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57890:7:1", + "src": "59522:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3195, + "id": 2687, "isConstant": false, "isLValue": false, "isPure": false, @@ -33197,16 +33197,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57890:58:1", + "src": "59522:58:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3196, + "id": 2688, "nodeType": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "expression": { @@ -33215,14 +33215,14 @@ "arguments": [ { "hexValue": "30", - "id": 3200, + "id": 2692, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57988:1:1", + "src": "59622:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33237,26 +33237,26 @@ "typeString": "int_const 0" } ], - "id": 3199, + "id": 2691, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3198, + "id": 2690, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": {} } }, - "id": 3201, + "id": 2693, "isConstant": false, "isLValue": false, "isPure": true, @@ -33264,7 +33264,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57980:10:1", + "src": "59614:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33272,24 +33272,24 @@ } }, { - "id": 3202, + "id": 2694, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57992:2:1", + "referencedDeclaration": 2666, + "src": "59626:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3203, + "id": 2695, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57996:7:1", + "referencedDeclaration": 2668, + "src": "59630:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33311,18 +33311,18 @@ "typeString": "uint256" } ], - "id": 3197, + "id": 2689, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "57959:20:1", + "referencedDeclaration": 2989, + "src": "59593:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3204, + "id": 2696, "isConstant": false, "isLValue": false, "isPure": false, @@ -33330,27 +33330,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57959:45:1", + "src": "59593:45:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3205, + "id": 2697, "nodeType": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "expression": { "arguments": [ { - "id": 3210, + "id": 2702, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58037:7:1", + "referencedDeclaration": 2668, + "src": "59673:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33366,25 +33366,25 @@ ], "expression": { "baseExpression": { - "id": 3206, + "id": 2698, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58015:13:1", + "referencedDeclaration": 2092, + "src": "59651:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3208, + "id": 2700, "indexExpression": { - "id": 3207, + "id": 2699, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58029:2:1", + "referencedDeclaration": 2666, + "src": "59665:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33395,27 +33395,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58015:17:1", + "src": "59651:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3209, + "id": 2701, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "58015:21:1", + "referencedDeclaration": 1338, + "src": "59651:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3211, + "id": 2703, "isConstant": false, "isLValue": false, "isPure": false, @@ -33423,39 +33423,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58015:30:1", + "src": "59651:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3212, + "id": 2704, "nodeType": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "expression": { "arguments": [ { - "id": 3216, + "id": 2708, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58073:7:1", + "referencedDeclaration": 2668, + "src": "59711:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3217, + "id": 2709, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58082:2:1", + "referencedDeclaration": 2666, + "src": "59720:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33474,32 +33474,32 @@ } ], "expression": { - "id": 3213, + "id": 2705, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58056:12:1", + "referencedDeclaration": 2094, + "src": "59694:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3215, + "id": 2707, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "58056:16:1", + "referencedDeclaration": 1778, + "src": "59694:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3218, + "id": 2710, "isConstant": false, "isLValue": false, "isPure": false, @@ -33507,16 +33507,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58056:29:1", + "src": "59694:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3219, + "id": 2711, "nodeType": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "eventCall": { @@ -33525,14 +33525,14 @@ "arguments": [ { "hexValue": "30", - "id": 3223, + "id": 2715, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58118:1:1", + "src": "59758:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33547,26 +33547,26 @@ "typeString": "int_const 0" } ], - "id": 3222, + "id": 2714, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3221, + "id": 2713, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": {} } }, - "id": 3224, + "id": 2716, "isConstant": false, "isLValue": false, "isPure": true, @@ -33574,7 +33574,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58110:10:1", + "src": "59750:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33582,24 +33582,24 @@ } }, { - "id": 3225, + "id": 2717, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58122:2:1", + "referencedDeclaration": 2666, + "src": "59762:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3226, + "id": 2718, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58126:7:1", + "referencedDeclaration": 2668, + "src": "59766:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33621,18 +33621,18 @@ "typeString": "uint256" } ], - "id": 3220, + "id": 2712, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58101:8:1", + "referencedDeclaration": 46, + "src": "59741:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3227, + "id": 2719, "isConstant": false, "isLValue": false, "isPure": false, @@ -33640,43 +33640,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58101:33:1", + "src": "59741:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3228, + "id": 2720, "nodeType": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ] }, "documentation": { - "id": 3172, + "id": 2664, "nodeType": "StructuredDocumentation", - "src": "57432:311:1", + "src": "59050:322:0", "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3230, + "id": 2722, "implemented": true, "kind": "function", "modifiers": [], "name": "_mint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3177, + "id": 2669, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3174, + "id": 2666, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57763:10:1", + "scope": 2722, + "src": "59393:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33684,10 +33684,10 @@ "typeString": "address" }, "typeName": { - "id": 3173, + "id": 2665, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57763:7:1", + "src": "59393:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33698,12 +33698,12 @@ }, { "constant": false, - "id": 3176, + "id": 2668, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57775:15:1", + "scope": 2722, + "src": "59405:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33711,10 +33711,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3175, + "id": 2667, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57775:7:1", + "src": "59405:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33723,39 +33723,39 @@ "visibility": "internal" } ], - "src": "57762:29:1" + "src": "59392:29:0" }, "returnParameters": { - "id": 3178, + "id": 2670, "nodeType": "ParameterList", "parameters": [], - "src": "57809:0:1" + "src": "59439:0:0" }, - "scope": 3498, - "src": "57748:393:1", + "scope": 2990, + "src": "59378:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3298, + "id": 2790, "nodeType": "Block", - "src": "58407:478:1", + "src": "60060:496:0", "statements": [ { "assignments": [ - 3237 + 2729 ], "declarations": [ { "constant": false, - "id": 3237, + "id": 2729, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3298, - "src": "58417:13:1", + "scope": 2790, + "src": "60071:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33763,10 +33763,10 @@ "typeString": "address" }, "typeName": { - "id": 3236, + "id": 2728, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58417:7:1", + "src": "60071:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33776,16 +33776,16 @@ "visibility": "internal" } ], - "id": 3242, + "id": 2734, "initialValue": { "arguments": [ { - "id": 3240, + "id": 2732, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58448:7:1", + "referencedDeclaration": 2725, + "src": "60102:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33800,32 +33800,32 @@ } ], "expression": { - "id": 3238, + "id": 2730, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "58433:6:1", + "referencedDeclaration": 2990, + "src": "60087:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3239, + "id": 2731, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "58433:14:1", + "referencedDeclaration": 2194, + "src": "60087:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3241, + "id": 2733, "isConstant": false, "isLValue": false, "isPure": false, @@ -33833,7 +33833,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58433:23:1", + "src": "60087:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -33841,18 +33841,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "expression": { "arguments": [ { - "id": 3244, + "id": 2736, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58506:5:1", + "referencedDeclaration": 2729, + "src": "60162:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33862,14 +33862,14 @@ "arguments": [ { "hexValue": "30", - "id": 3247, + "id": 2739, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58521:1:1", + "src": "60177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33884,26 +33884,26 @@ "typeString": "int_const 0" } ], - "id": 3246, + "id": 2738, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3245, + "id": 2737, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": {} } }, - "id": 3248, + "id": 2740, "isConstant": false, "isLValue": false, "isPure": true, @@ -33911,7 +33911,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58513:10:1", + "src": "60169:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33919,12 +33919,12 @@ } }, { - "id": 3249, + "id": 2741, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58525:7:1", + "referencedDeclaration": 2725, + "src": "60181:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33946,18 +33946,18 @@ "typeString": "uint256" } ], - "id": 3243, + "id": 2735, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "58485:20:1", + "referencedDeclaration": 2989, + "src": "60141:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3250, + "id": 2742, "isConstant": false, "isLValue": false, "isPure": false, @@ -33965,16 +33965,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58485:48:1", + "src": "60141:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3251, + "id": 2743, "nodeType": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "expression": { @@ -33983,14 +33983,14 @@ "arguments": [ { "hexValue": "30", - "id": 3255, + "id": 2747, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58588:1:1", + "src": "60247:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34005,26 +34005,26 @@ "typeString": "int_const 0" } ], - "id": 3254, + "id": 2746, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3253, + "id": 2745, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": {} } }, - "id": 3256, + "id": 2748, "isConstant": false, "isLValue": false, "isPure": true, @@ -34032,7 +34032,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58580:10:1", + "src": "60239:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34040,12 +34040,12 @@ } }, { - "id": 3257, + "id": 2749, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58592:7:1", + "referencedDeclaration": 2725, + "src": "60251:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34063,18 +34063,18 @@ "typeString": "uint256" } ], - "id": 3252, + "id": 2744, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "58571:8:1", + "referencedDeclaration": 2978, + "src": "60230:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3258, + "id": 2750, "isConstant": false, "isLValue": false, "isPure": false, @@ -34082,16 +34082,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58571:29:1", + "src": "60230:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3259, + "id": 2751, "nodeType": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "condition": { @@ -34099,7 +34099,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3268, + "id": 2760, "isConstant": false, "isLValue": false, "isPure": false, @@ -34109,25 +34109,25 @@ "arguments": [ { "baseExpression": { - "id": 3262, + "id": 2754, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58656:10:1", + "referencedDeclaration": 2112, + "src": "60318:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3264, + "id": 2756, "indexExpression": { - "id": 3263, + "id": 2755, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58667:7:1", + "referencedDeclaration": 2725, + "src": "60329:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34138,7 +34138,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58656:19:1", + "src": "60318:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34152,26 +34152,26 @@ "typeString": "string storage ref" } ], - "id": 3261, + "id": 2753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 3260, + "id": 2752, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": {} } }, - "id": 3265, + "id": 2757, "isConstant": false, "isLValue": false, "isPure": false, @@ -34179,21 +34179,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58650:26:1", + "src": "60312:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes storage pointer" } }, - "id": 3266, + "id": 2758, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "58650:33:1", + "src": "60312:33:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34203,37 +34203,37 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 3267, + "id": 2759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58687:1:1", + "src": "60349:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "58650:38:1", + "src": "60312:38:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3275, + "id": 2767, "nodeType": "IfStatement", - "src": "58646:95:1", + "src": "60308:97:0", "trueBody": { - "id": 3274, + "id": 2766, "nodeType": "Block", - "src": "58690:51:1", + "src": "60352:53:0", "statements": [ { "expression": { - "id": 3272, + "id": 2764, "isConstant": false, "isLValue": false, "isPure": false, @@ -34241,28 +34241,28 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "58704:26:1", + "src": "60367:26:0", "subExpression": { "baseExpression": { - "id": 3269, + "id": 2761, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58711:10:1", + "referencedDeclaration": 2112, + "src": "60374:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3271, + "id": 2763, "indexExpression": { - "id": 3270, + "id": 2762, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58722:7:1", + "referencedDeclaration": 2725, + "src": "60385:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34273,7 +34273,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "58711:19:1", + "src": "60374:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34284,9 +34284,9 @@ "typeString": "tuple()" } }, - "id": 3273, + "id": 2765, "nodeType": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ] } @@ -34295,12 +34295,12 @@ "expression": { "arguments": [ { - "id": 3280, + "id": 2772, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58779:7:1", + "referencedDeclaration": 2725, + "src": "60445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34316,25 +34316,25 @@ ], "expression": { "baseExpression": { - "id": 3276, + "id": 2768, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58751:13:1", + "referencedDeclaration": 2092, + "src": "60417:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3278, + "id": 2770, "indexExpression": { - "id": 3277, + "id": 2769, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58765:5:1", + "referencedDeclaration": 2729, + "src": "60431:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34345,27 +34345,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58751:20:1", + "src": "60417:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3279, + "id": 2771, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "58751:27:1", + "referencedDeclaration": 1358, + "src": "60417:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3281, + "id": 2773, "isConstant": false, "isLValue": false, "isPure": false, @@ -34373,27 +34373,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58751:36:1", + "src": "60417:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3282, + "id": 2774, "nodeType": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "expression": { "arguments": [ { - "id": 3286, + "id": 2778, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58818:7:1", + "referencedDeclaration": 2725, + "src": "60486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34408,32 +34408,32 @@ } ], "expression": { - "id": 3283, + "id": 2775, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58798:12:1", + "referencedDeclaration": 2094, + "src": "60466:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3285, + "id": 2777, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 2306, - "src": "58798:19:1", + "referencedDeclaration": 1798, + "src": "60466:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" } }, - "id": 3287, + "id": 2779, "isConstant": false, "isLValue": false, "isPure": false, @@ -34441,27 +34441,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58798:28:1", + "src": "60466:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3288, + "id": 2780, "nodeType": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "eventCall": { "arguments": [ { - "id": 3290, + "id": 2782, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58851:5:1", + "referencedDeclaration": 2729, + "src": "60521:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34471,14 +34471,14 @@ "arguments": [ { "hexValue": "30", - "id": 3293, + "id": 2785, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58866:1:1", + "src": "60536:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34493,26 +34493,26 @@ "typeString": "int_const 0" } ], - "id": 3292, + "id": 2784, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3291, + "id": 2783, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": {} } }, - "id": 3294, + "id": 2786, "isConstant": false, "isLValue": false, "isPure": true, @@ -34520,7 +34520,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58858:10:1", + "src": "60528:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34528,12 +34528,12 @@ } }, { - "id": 3295, + "id": 2787, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58870:7:1", + "referencedDeclaration": 2725, + "src": "60540:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34555,18 +34555,18 @@ "typeString": "uint256" } ], - "id": 3289, + "id": 2781, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58842:8:1", + "referencedDeclaration": 46, + "src": "60512:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3296, + "id": 2788, "isConstant": false, "isLValue": false, "isPure": false, @@ -34574,43 +34574,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58842:36:1", + "src": "60512:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3297, + "id": 2789, "nodeType": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ] }, "documentation": { - "id": 3231, + "id": 2723, "nodeType": "StructuredDocumentation", - "src": "58147:206:1", + "src": "59790:215:0", "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3299, + "id": 2791, "implemented": true, "kind": "function", "modifiers": [], "name": "_burn", "nodeType": "FunctionDefinition", "parameters": { - "id": 3234, + "id": 2726, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3233, + "id": 2725, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3299, - "src": "58373:15:1", + "scope": 2791, + "src": "60026:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34618,10 +34618,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3232, + "id": 2724, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "58373:7:1", + "src": "60026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34630,25 +34630,25 @@ "visibility": "internal" } ], - "src": "58372:17:1" + "src": "60025:17:0" }, "returnParameters": { - "id": 3235, + "id": 2727, "nodeType": "ParameterList", "parameters": [], - "src": "58407:0:1" + "src": "60060:0:0" }, - "scope": 3498, - "src": "58358:527:1", + "scope": 2990, + "src": "60011:545:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3370, + "id": 2862, "nodeType": "Block", - "src": "59288:505:1", + "src": "60972:520:0", "statements": [ { "expression": { @@ -34658,7 +34658,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3315, + "id": 2807, "isConstant": false, "isLValue": false, "isPure": false, @@ -34666,12 +34666,12 @@ "leftExpression": { "arguments": [ { - "id": 3312, + "id": 2804, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59321:7:1", + "referencedDeclaration": 2798, + "src": "61006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34686,32 +34686,32 @@ } ], "expression": { - "id": 3310, + "id": 2802, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "59306:6:1", + "referencedDeclaration": 2990, + "src": "60991:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3311, + "id": 2803, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "59306:14:1", + "referencedDeclaration": 2194, + "src": "60991:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3313, + "id": 2805, "isConstant": false, "isLValue": false, "isPure": false, @@ -34719,7 +34719,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59306:23:1", + "src": "60991:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -34729,18 +34729,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3314, + "id": 2806, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59333:4:1", + "referencedDeclaration": 2794, + "src": "61018:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "59306:31:1", + "src": "60991:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34748,14 +34748,14 @@ }, { "hexValue": "4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e", - "id": 3316, + "id": 2808, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59339:43:1", + "src": "61024:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a01073130a885d6c1c1af6ac75fc3b1c4f9403c235362962bbf528e2bd87d950", "typeString": "literal_string \"ERC721: transfer of token that is not own\"" @@ -34774,7 +34774,7 @@ "typeString": "literal_string \"ERC721: transfer of token that is not own\"" } ], - "id": 3309, + "id": 2801, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -34782,13 +34782,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59298:7:1", + "src": "60983:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3317, + "id": 2809, "isConstant": false, "isLValue": false, "isPure": false, @@ -34796,16 +34796,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59298:85:1", + "src": "60983:85:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3318, + "id": 2810, "nodeType": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "expression": { @@ -34815,18 +34815,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3325, + "id": 2817, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3320, + "id": 2812, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59419:2:1", + "referencedDeclaration": 2796, + "src": "61105:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34838,14 +34838,14 @@ "arguments": [ { "hexValue": "30", - "id": 3323, + "id": 2815, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59433:1:1", + "src": "61119:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34860,26 +34860,26 @@ "typeString": "int_const 0" } ], - "id": 3322, + "id": 2814, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3321, + "id": 2813, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": {} } }, - "id": 3324, + "id": 2816, "isConstant": false, "isLValue": false, "isPure": true, @@ -34887,14 +34887,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59425:10:1", + "src": "61111:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "59419:16:1", + "src": "61105:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34902,14 +34902,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f20746865207a65726f2061646472657373", - "id": 3326, + "id": 2818, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59437:38:1", + "src": "61123:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4", "typeString": "literal_string \"ERC721: transfer to the zero address\"" @@ -34928,7 +34928,7 @@ "typeString": "literal_string \"ERC721: transfer to the zero address\"" } ], - "id": 3319, + "id": 2811, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -34936,13 +34936,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59411:7:1", + "src": "61097:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3327, + "id": 2819, "isConstant": false, "isLValue": false, "isPure": false, @@ -34950,51 +34950,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59411:65:1", + "src": "61097:65:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3328, + "id": 2820, "nodeType": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "expression": { "arguments": [ { - "id": 3330, + "id": 2822, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59508:4:1", + "referencedDeclaration": 2794, + "src": "61196:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3331, + "id": 2823, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59514:2:1", + "referencedDeclaration": 2796, + "src": "61202:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3332, + "id": 2824, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59518:7:1", + "referencedDeclaration": 2798, + "src": "61206:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35016,18 +35016,18 @@ "typeString": "uint256" } ], - "id": 3329, + "id": 2821, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "59487:20:1", + "referencedDeclaration": 2989, + "src": "61175:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3333, + "id": 2825, "isConstant": false, "isLValue": false, "isPure": false, @@ -35035,16 +35035,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59487:39:1", + "src": "61175:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3334, + "id": 2826, "nodeType": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "expression": { @@ -35053,14 +35053,14 @@ "arguments": [ { "hexValue": "30", - "id": 3338, + "id": 2830, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59605:1:1", + "src": "61296:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -35075,26 +35075,26 @@ "typeString": "int_const 0" } ], - "id": 3337, + "id": 2829, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3336, + "id": 2828, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": {} } }, - "id": 3339, + "id": 2831, "isConstant": false, "isLValue": false, "isPure": true, @@ -35102,7 +35102,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59597:10:1", + "src": "61288:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -35110,12 +35110,12 @@ } }, { - "id": 3340, + "id": 2832, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59609:7:1", + "referencedDeclaration": 2798, + "src": "61300:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35133,18 +35133,18 @@ "typeString": "uint256" } ], - "id": 3335, + "id": 2827, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "59588:8:1", + "referencedDeclaration": 2978, + "src": "61279:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3341, + "id": 2833, "isConstant": false, "isLValue": false, "isPure": false, @@ -35152,27 +35152,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59588:29:1", + "src": "61279:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3342, + "id": 2834, "nodeType": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "expression": { "arguments": [ { - "id": 3347, + "id": 2839, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59655:7:1", + "referencedDeclaration": 2798, + "src": "61348:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35188,25 +35188,25 @@ ], "expression": { "baseExpression": { - "id": 3343, + "id": 2835, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59628:13:1", + "referencedDeclaration": 2092, + "src": "61321:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3345, + "id": 2837, "indexExpression": { - "id": 3344, + "id": 2836, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59642:4:1", + "referencedDeclaration": 2794, + "src": "61335:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35217,27 +35217,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59628:19:1", + "src": "61321:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3346, + "id": 2838, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "59628:26:1", + "referencedDeclaration": 1358, + "src": "61321:26:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3348, + "id": 2840, "isConstant": false, "isLValue": false, "isPure": false, @@ -35245,27 +35245,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59628:35:1", + "src": "61321:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3349, + "id": 2841, "nodeType": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "expression": { "arguments": [ { - "id": 3354, + "id": 2846, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59695:7:1", + "referencedDeclaration": 2798, + "src": "61389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35281,25 +35281,25 @@ ], "expression": { "baseExpression": { - "id": 3350, + "id": 2842, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59673:13:1", + "referencedDeclaration": 2092, + "src": "61367:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3352, + "id": 2844, "indexExpression": { - "id": 3351, + "id": 2843, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59687:2:1", + "referencedDeclaration": 2796, + "src": "61381:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35310,27 +35310,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59673:17:1", + "src": "61367:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3353, + "id": 2845, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "59673:21:1", + "referencedDeclaration": 1338, + "src": "61367:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3355, + "id": 2847, "isConstant": false, "isLValue": false, "isPure": false, @@ -35338,39 +35338,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59673:30:1", + "src": "61367:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3356, + "id": 2848, "nodeType": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "expression": { "arguments": [ { - "id": 3360, + "id": 2852, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59731:7:1", + "referencedDeclaration": 2798, + "src": "61427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3361, + "id": 2853, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59740:2:1", + "referencedDeclaration": 2796, + "src": "61436:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35389,32 +35389,32 @@ } ], "expression": { - "id": 3357, + "id": 2849, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "59714:12:1", + "referencedDeclaration": 2094, + "src": "61410:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3359, + "id": 2851, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "59714:16:1", + "referencedDeclaration": 1778, + "src": "61410:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3362, + "id": 2854, "isConstant": false, "isLValue": false, "isPure": false, @@ -35422,51 +35422,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59714:29:1", + "src": "61410:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3363, + "id": 2855, "nodeType": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "eventCall": { "arguments": [ { - "id": 3365, + "id": 2857, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59768:4:1", + "referencedDeclaration": 2794, + "src": "61466:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3366, + "id": 2858, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59774:2:1", + "referencedDeclaration": 2796, + "src": "61472:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3367, + "id": 2859, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59778:7:1", + "referencedDeclaration": 2798, + "src": "61476:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35488,18 +35488,18 @@ "typeString": "uint256" } ], - "id": 3364, + "id": 2856, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "59759:8:1", + "referencedDeclaration": 46, + "src": "61457:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3368, + "id": 2860, "isConstant": false, "isLValue": false, "isPure": false, @@ -35507,43 +35507,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59759:27:1", + "src": "61457:27:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3369, + "id": 2861, "nodeType": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ] }, "documentation": { - "id": 3300, + "id": 2792, "nodeType": "StructuredDocumentation", - "src": "58891:313:1", + "src": "60564:323:0", "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3371, + "id": 2863, "implemented": true, "kind": "function", "modifiers": [], "name": "_transfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3307, + "id": 2799, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3302, + "id": 2794, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59228:12:1", + "scope": 2863, + "src": "60912:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35551,10 +35551,10 @@ "typeString": "address" }, "typeName": { - "id": 3301, + "id": 2793, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59228:7:1", + "src": "60912:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35565,12 +35565,12 @@ }, { "constant": false, - "id": 3304, + "id": 2796, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59242:10:1", + "scope": 2863, + "src": "60926:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35578,10 +35578,10 @@ "typeString": "address" }, "typeName": { - "id": 3303, + "id": 2795, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59242:7:1", + "src": "60926:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35592,12 +35592,12 @@ }, { "constant": false, - "id": 3306, + "id": 2798, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59254:15:1", + "scope": 2863, + "src": "60938:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35605,10 +35605,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3305, + "id": 2797, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59254:7:1", + "src": "60938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35617,25 +35617,25 @@ "visibility": "internal" } ], - "src": "59227:43:1" + "src": "60911:43:0" }, "returnParameters": { - "id": 3308, + "id": 2800, "nodeType": "ParameterList", "parameters": [], - "src": "59288:0:1" + "src": "60972:0:0" }, - "scope": 3498, - "src": "59209:584:1", + "scope": 2990, + "src": "60893:599:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3392, + "id": 2884, "nodeType": "Block", - "src": "60021:131:1", + "src": "61729:134:0", "statements": [ { "expression": { @@ -35643,12 +35643,12 @@ { "arguments": [ { - "id": 3381, + "id": 2873, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60047:7:1", + "referencedDeclaration": 2866, + "src": "61756:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35662,18 +35662,18 @@ "typeString": "uint256" } ], - "id": 3380, + "id": 2872, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "60039:7:1", + "referencedDeclaration": 2577, + "src": "61748:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3382, + "id": 2874, "isConstant": false, "isLValue": false, "isPure": false, @@ -35681,7 +35681,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60039:16:1", + "src": "61748:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -35690,14 +35690,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e", - "id": 3383, + "id": 2875, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "60057:46:1", + "src": "61766:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_94be4a260caaeac1b145f03ffa2e70bc612b64982d04f24073aaf3a5f9009978", "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" @@ -35716,7 +35716,7 @@ "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" } ], - "id": 3379, + "id": 2871, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -35724,13 +35724,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "60031:7:1", + "src": "61740:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3384, + "id": 2876, "isConstant": false, "isLValue": false, "isPure": false, @@ -35738,45 +35738,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60031:73:1", + "src": "61740:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3385, + "id": 2877, "nodeType": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "expression": { - "id": 3390, + "id": 2882, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3386, + "id": 2878, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "60114:10:1", + "referencedDeclaration": 2112, + "src": "61824:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3388, + "id": 2880, "indexExpression": { - "id": 3387, + "id": 2879, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60125:7:1", + "referencedDeclaration": 2866, + "src": "61835:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35787,7 +35787,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "60114:19:1", + "src": "61824:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -35796,53 +35796,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3389, + "id": 2881, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3376, - "src": "60136:9:1", + "referencedDeclaration": 2868, + "src": "61846:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60114:31:1", + "src": "61824:31:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3391, + "id": 2883, "nodeType": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ] }, "documentation": { - "id": 3372, + "id": 2864, "nodeType": "StructuredDocumentation", - "src": "59799:136:1", + "src": "61500:142:0", "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3393, + "id": 2885, "implemented": true, "kind": "function", "modifiers": [], "name": "_setTokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3377, + "id": 2869, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3374, + "id": 2866, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59962:15:1", + "scope": 2885, + "src": "61670:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35850,10 +35850,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3373, + "id": 2865, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59962:7:1", + "src": "61670:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35863,12 +35863,12 @@ }, { "constant": false, - "id": 3376, + "id": 2868, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59979:23:1", + "scope": 2885, + "src": "61687:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -35876,10 +35876,10 @@ "typeString": "string" }, "typeName": { - "id": 3375, + "id": 2867, "name": "string", "nodeType": "ElementaryTypeName", - "src": "59979:6:1", + "src": "61687:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -35888,40 +35888,40 @@ "visibility": "internal" } ], - "src": "59961:42:1" + "src": "61669:42:0" }, "returnParameters": { - "id": 3378, + "id": 2870, "nodeType": "ParameterList", "parameters": [], - "src": "60021:0:1" + "src": "61729:0:0" }, - "scope": 3498, - "src": "59940:212:1", + "scope": 2990, + "src": "61648:215:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3403, + "id": 2895, "nodeType": "Block", - "src": "60437:36:1", + "src": "62155:38:0", "statements": [ { "expression": { - "id": 3401, + "id": 2893, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 3399, + "id": 2891, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "60447:8:1", + "referencedDeclaration": 2114, + "src": "62166:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -35930,53 +35930,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3400, + "id": 2892, "name": "baseURI_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3396, - "src": "60458:8:1", + "referencedDeclaration": 2888, + "src": "62177:8:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60447:19:1", + "src": "62166:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3402, + "id": 2894, "nodeType": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ] }, "documentation": { - "id": 3394, + "id": 2886, "nodeType": "StructuredDocumentation", - "src": "60158:212:1", + "src": "61871:216:0", "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3404, + "id": 2896, "implemented": true, "kind": "function", "modifiers": [], "name": "_setBaseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3397, + "id": 2889, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3396, + "id": 2888, "mutability": "mutable", "name": "baseURI_", "nodeType": "VariableDeclaration", - "scope": 3404, - "src": "60396:22:1", + "scope": 2896, + "src": "62114:22:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -35984,10 +35984,10 @@ "typeString": "string" }, "typeName": { - "id": 3395, + "id": 2887, "name": "string", "nodeType": "ElementaryTypeName", - "src": "60396:6:1", + "src": "62114:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -35996,29 +35996,29 @@ "visibility": "internal" } ], - "src": "60395:24:1" + "src": "62113:24:0" }, "returnParameters": { - "id": 3398, + "id": 2890, "nodeType": "ParameterList", "parameters": [], - "src": "60437:0:1" + "src": "62155:0:0" }, - "scope": 3498, - "src": "60375:98:1", + "scope": 2990, + "src": "62093:100:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3461, + "id": 2953, "nodeType": "Block", - "src": "61156:459:1", + "src": "62890:472:0", "statements": [ { "condition": { - "id": 3421, + "id": 2913, "isConstant": false, "isLValue": false, "isPure": false, @@ -36026,38 +36026,38 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "61170:16:1", + "src": "62905:16:0", "subExpression": { "arguments": [], "expression": { "argumentTypes": [], "expression": { - "id": 3418, + "id": 2910, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61171:2:1", + "referencedDeclaration": 2901, + "src": "62906:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3419, + "id": 2911, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isContract", "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "61171:13:1", + "referencedDeclaration": 646, + "src": "62906:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$", "typeString": "function (address) view returns (bool)" } }, - "id": 3420, + "id": 2912, "isConstant": false, "isLValue": false, "isPure": false, @@ -36065,7 +36065,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61171:15:1", + "src": "62906:15:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -36077,52 +36077,52 @@ "typeString": "bool" } }, - "id": 3425, + "id": 2917, "nodeType": "IfStatement", - "src": "61166:58:1", + "src": "62901:60:0", "trueBody": { - "id": 3424, + "id": 2916, "nodeType": "Block", - "src": "61188:36:1", + "src": "62923:38:0", "statements": [ { "expression": { "hexValue": "74727565", - "id": 3422, + "id": 2914, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "61209:4:1", + "src": "62945:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 3417, - "id": 3423, + "functionReturnParameters": 2909, + "id": 2915, "nodeType": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ] } }, { "assignments": [ - 3427 + 2919 ], "declarations": [ { "constant": false, - "id": 3427, + "id": 2919, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61233:23:1", + "scope": 2953, + "src": "62971:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36130,10 +36130,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3426, + "id": 2918, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61233:5:1", + "src": "62971:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36142,7 +36142,7 @@ "visibility": "internal" } ], - "id": 3445, + "id": 2937, "initialValue": { "arguments": [ { @@ -36152,12 +36152,12 @@ "expression": { "arguments": [ { - "id": 3433, + "id": 2925, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61327:2:1", + "referencedDeclaration": 2901, + "src": "63066:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36171,18 +36171,18 @@ "typeString": "address" } ], - "id": 3432, + "id": 2924, "name": "IERC721Receiver", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 726, - "src": "61311:15:1", + "referencedDeclaration": 218, + "src": "63050:15:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$726_$", + "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$218_$", "typeString": "type(contract IERC721Receiver)" } }, - "id": 3434, + "id": 2926, "isConstant": false, "isLValue": false, "isPure": false, @@ -36190,35 +36190,35 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61311:19:1", + "src": "63050:19:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Receiver_$726", + "typeIdentifier": "t_contract$_IERC721Receiver_$218", "typeString": "contract IERC721Receiver" } }, - "id": 3435, + "id": 2927, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "onERC721Received", "nodeType": "MemberAccess", - "referencedDeclaration": 725, - "src": "61311:36:1", + "referencedDeclaration": 217, + "src": "63050:36:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", "typeString": "function (address,address,uint256,bytes memory) external returns (bytes4)" } }, - "id": 3436, + "id": 2928, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "selector", "nodeType": "MemberAccess", - "src": "61311:45:1", + "src": "63050:45:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36228,18 +36228,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3437, + "id": 2929, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "61370:10:1", + "referencedDeclaration": 10, + "src": "63110:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3438, + "id": 2930, "isConstant": false, "isLValue": false, "isPure": false, @@ -36247,7 +36247,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61370:12:1", + "src": "63110:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -36255,36 +36255,36 @@ } }, { - "id": 3439, + "id": 2931, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3407, - "src": "61396:4:1", + "referencedDeclaration": 2899, + "src": "63137:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3440, + "id": 2932, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3411, - "src": "61414:7:1", + "referencedDeclaration": 2903, + "src": "63156:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3441, + "id": 2933, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3413, - "src": "61435:5:1", + "referencedDeclaration": 2905, + "src": "63178:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36315,31 +36315,31 @@ } ], "expression": { - "id": 3430, + "id": 2922, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61275:3:1", + "src": "63013:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3431, + "id": 2923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodeWithSelector", "nodeType": "MemberAccess", - "src": "61275:22:1", + "src": "63013:22:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bytes4) pure returns (bytes memory)" } }, - "id": 3442, + "id": 2934, "isConstant": false, "isLValue": false, "isPure": false, @@ -36347,7 +36347,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61275:175:1", + "src": "63013:181:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36356,14 +36356,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3443, + "id": 2935, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "61452:52:1", + "src": "63196:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -36383,32 +36383,32 @@ } ], "expression": { - "id": 3428, + "id": 2920, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61259:2:1", + "referencedDeclaration": 2901, + "src": "62997:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3429, + "id": 2921, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "functionCall", "nodeType": "MemberAccess", - "referencedDeclaration": 1225, - "src": "61259:15:1", + "referencedDeclaration": 717, + "src": "62997:15:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$bound_to$_t_address_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 3444, + "id": 2936, "isConstant": false, "isLValue": false, "isPure": false, @@ -36416,7 +36416,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61259:246:1", + "src": "62997:252:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36424,21 +36424,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "assignments": [ - 3447 + 2939 ], "declarations": [ { "constant": false, - "id": 3447, + "id": 2939, "mutability": "mutable", "name": "retval", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61515:13:1", + "scope": 2953, + "src": "63260:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36446,10 +36446,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 3446, + "id": 2938, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61515:6:1", + "src": "63260:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36458,16 +36458,16 @@ "visibility": "internal" } ], - "id": 3455, + "id": 2947, "initialValue": { "arguments": [ { - "id": 3450, + "id": 2942, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3427, - "src": "61542:10:1", + "referencedDeclaration": 2919, + "src": "63287:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36476,34 +36476,34 @@ { "components": [ { - "id": 3452, + "id": 2944, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" }, "typeName": { - "id": 3451, + "id": 2943, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": {} } } ], - "id": 3453, + "id": 2945, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61554:8:1", + "src": "63299:8:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" @@ -36522,31 +36522,31 @@ } ], "expression": { - "id": 3448, + "id": 2940, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61531:3:1", + "src": "63276:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3449, + "id": 2941, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "decode", "nodeType": "MemberAccess", - "src": "61531:10:1", + "src": "63276:10:0", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 3454, + "id": 2946, "isConstant": false, "isLValue": false, "isPure": false, @@ -36554,7 +36554,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61531:32:1", + "src": "63276:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes4", @@ -36562,7 +36562,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "expression": { @@ -36572,18 +36572,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 3458, + "id": 2950, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3456, + "id": 2948, "name": "retval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3447, - "src": "61581:6:1", + "referencedDeclaration": 2939, + "src": "63327:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36592,68 +36592,68 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3457, + "id": 2949, "name": "_ERC721_RECEIVED", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2596, - "src": "61591:16:1", + "referencedDeclaration": 2088, + "src": "63337:16:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "src": "61581:26:1", + "src": "63327:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3459, + "id": 2951, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61580:28:1", + "src": "63326:28:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3417, - "id": 3460, + "functionReturnParameters": 2909, + "id": 2952, "nodeType": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ] }, "documentation": { - "id": 3405, + "id": 2897, "nodeType": "StructuredDocumentation", - "src": "60479:542:1", + "src": "62201:551:0", "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3462, + "id": 2954, "implemented": true, "kind": "function", "modifiers": [], "name": "_checkOnERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 3414, + "id": 2906, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3407, + "id": 2899, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61058:12:1", + "scope": 2954, + "src": "62790:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36661,10 +36661,10 @@ "typeString": "address" }, "typeName": { - "id": 3406, + "id": 2898, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61058:7:1", + "src": "62790:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36675,12 +36675,12 @@ }, { "constant": false, - "id": 3409, + "id": 2901, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61072:10:1", + "scope": 2954, + "src": "62804:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36688,10 +36688,10 @@ "typeString": "address" }, "typeName": { - "id": 3408, + "id": 2900, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61072:7:1", + "src": "62804:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36702,12 +36702,12 @@ }, { "constant": false, - "id": 3411, + "id": 2903, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61084:15:1", + "scope": 2954, + "src": "62816:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36715,10 +36715,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3410, + "id": 2902, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61084:7:1", + "src": "62816:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36728,12 +36728,12 @@ }, { "constant": false, - "id": 3413, + "id": 2905, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61101:18:1", + "scope": 2954, + "src": "62833:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36741,10 +36741,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3412, + "id": 2904, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61101:5:1", + "src": "62833:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36753,20 +36753,20 @@ "visibility": "internal" } ], - "src": "61057:63:1" + "src": "62789:63:0" }, "returnParameters": { - "id": 3417, + "id": 2909, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3416, + "id": 2908, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61146:4:1", + "scope": 2954, + "src": "62879:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36774,10 +36774,10 @@ "typeString": "bool" }, "typeName": { - "id": 3415, + "id": 2907, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "61146:4:1", + "src": "62879:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -36786,48 +36786,48 @@ "visibility": "internal" } ], - "src": "61145:6:1" + "src": "62878:6:0" }, - "scope": 3498, - "src": "61026:589:1", + "scope": 2990, + "src": "62758:604:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 3485, + "id": 2977, "nodeType": "Block", - "src": "61791:125:1", + "src": "63545:128:0", "statements": [ { "expression": { - "id": 3474, + "id": 2966, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3470, + "id": 2962, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "61801:15:1", + "referencedDeclaration": 2098, + "src": "63556:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 3472, + "id": 2964, "indexExpression": { - "id": 3471, + "id": 2963, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61817:7:1", + "referencedDeclaration": 2959, + "src": "63572:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36838,7 +36838,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "61801:24:1", + "src": "63556:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36847,26 +36847,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3473, + "id": 2965, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61828:2:1", + "referencedDeclaration": 2957, + "src": "63583:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "61801:29:1", + "src": "63556:29:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3475, + "id": 2967, "nodeType": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "eventCall": { @@ -36874,12 +36874,12 @@ { "arguments": [ { - "id": 3479, + "id": 2971, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61869:7:1", + "referencedDeclaration": 2959, + "src": "63625:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36894,32 +36894,32 @@ } ], "expression": { - "id": 3477, + "id": 2969, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "61854:6:1", + "referencedDeclaration": 2990, + "src": "63610:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3478, + "id": 2970, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "61854:14:1", + "referencedDeclaration": 2194, + "src": "63610:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3480, + "id": 2972, "isConstant": false, "isLValue": false, "isPure": false, @@ -36927,7 +36927,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61854:23:1", + "src": "63610:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -36935,24 +36935,24 @@ } }, { - "id": 3481, + "id": 2973, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61879:2:1", + "referencedDeclaration": 2957, + "src": "63635:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3482, + "id": 2974, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61883:7:1", + "referencedDeclaration": 2959, + "src": "63639:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36974,18 +36974,18 @@ "typeString": "uint256" } ], - "id": 3476, + "id": 2968, "name": "Approval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 563, - "src": "61845:8:1", + "referencedDeclaration": 55, + "src": "63601:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3483, + "id": 2975, "isConstant": false, "isLValue": false, "isPure": false, @@ -36993,43 +36993,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61845:46:1", + "src": "63601:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3484, + "id": 2976, "nodeType": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ] }, "documentation": { - "id": 3463, + "id": 2955, "nodeType": "StructuredDocumentation", - "src": "61621:101:1", + "src": "63370:105:0", "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3486, + "id": 2978, "implemented": true, "kind": "function", "modifiers": [], "name": "_approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 3468, + "id": 2960, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3465, + "id": 2957, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61745:10:1", + "scope": 2978, + "src": "63499:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37037,10 +37037,10 @@ "typeString": "address" }, "typeName": { - "id": 3464, + "id": 2956, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61745:7:1", + "src": "63499:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37051,12 +37051,12 @@ }, { "constant": false, - "id": 3467, + "id": 2959, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61757:15:1", + "scope": 2978, + "src": "63511:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37064,10 +37064,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3466, + "id": 2958, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61757:7:1", + "src": "63511:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37076,51 +37076,51 @@ "visibility": "internal" } ], - "src": "61744:29:1" + "src": "63498:29:0" }, "returnParameters": { - "id": 3469, + "id": 2961, "nodeType": "ParameterList", "parameters": [], - "src": "61791:0:1" + "src": "63545:0:0" }, - "scope": 3498, - "src": "61727:189:1", + "scope": 2990, + "src": "63481:192:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3496, + "id": 2988, "nodeType": "Block", - "src": "62602:3:1", + "src": "64376:3:0", "statements": [] }, "documentation": { - "id": 3487, + "id": 2979, "nodeType": "StructuredDocumentation", - "src": "61922:585:1", + "src": "63681:599:0", "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3497, + "id": 2989, "implemented": true, "kind": "function", "modifiers": [], "name": "_beforeTokenTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3494, + "id": 2986, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3489, + "id": 2981, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62542:12:1", + "scope": 2989, + "src": "64316:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37128,10 +37128,10 @@ "typeString": "address" }, "typeName": { - "id": 3488, + "id": 2980, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62542:7:1", + "src": "64316:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37142,12 +37142,12 @@ }, { "constant": false, - "id": 3491, + "id": 2983, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62556:10:1", + "scope": 2989, + "src": "64330:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37155,10 +37155,10 @@ "typeString": "address" }, "typeName": { - "id": 3490, + "id": 2982, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62556:7:1", + "src": "64330:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37169,12 +37169,12 @@ }, { "constant": false, - "id": 3493, + "id": 2985, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62568:15:1", + "scope": 2989, + "src": "64342:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37182,10 +37182,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3492, + "id": 2984, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "62568:7:1", + "src": "64342:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37194,69 +37194,69 @@ "visibility": "internal" } ], - "src": "62541:43:1" + "src": "64315:43:0" }, "returnParameters": { - "id": 3495, + "id": 2987, "nodeType": "ParameterList", "parameters": [], - "src": "62602:0:1" + "src": "64376:0:0" }, - "scope": 3498, - "src": "62512:93:1", + "scope": 2990, + "src": "64286:93:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "46080:16527:1" + "scope": 2991, + "src": "47398:16984:0" } ], - "src": "84:62524:1" + "src": "87:64297:0" }, "legacyAST": { "attributes": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, "license": "MIT" @@ -37274,9 +37274,9 @@ ".0" ] }, - "id": 509, + "id": 1, "name": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "attributes": { @@ -37290,10 +37290,10 @@ "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", - "scope": 3499 + "scope": 2991 }, "children": [ { @@ -37305,7 +37305,7 @@ null ], "name": "_msgSender", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37318,9 +37318,9 @@ ] }, "children": [], - "id": 510, + "id": 2, "name": "ParameterList", - "src": "668:2:1" + "src": "684:2:0" }, { "children": [ @@ -37329,7 +37329,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 518, + "scope": 10, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -37342,25 +37342,25 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 511, + "id": 3, "name": "ElementaryTypeName", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 512, + "id": 4, "name": "VariableDeclaration", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 513, + "id": 5, "name": "ParameterList", - "src": "701:17:1" + "src": "717:17:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 513 + "functionReturnParameters": 5 }, "children": [ { @@ -37382,29 +37382,29 @@ "type": "msg", "value": "msg" }, - "id": 514, + "id": 6, "name": "Identifier", - "src": "736:3:1" + "src": "753:3:0" } ], - "id": 515, + "id": 7, "name": "MemberAccess", - "src": "736:10:1" + "src": "753:10:0" } ], - "id": 516, + "id": 8, "name": "Return", - "src": "729:17:1" + "src": "746:17:0" } ], - "id": 517, + "id": 9, "name": "Block", - "src": "719:34:1" + "src": "735:36:0" } ], - "id": 518, + "id": 10, "name": "FunctionDefinition", - "src": "649:104:1" + "src": "665:106:0" }, { "attributes": { @@ -37415,7 +37415,7 @@ null ], "name": "_msgData", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37428,9 +37428,9 @@ ] }, "children": [], - "id": 519, + "id": 11, "name": "ParameterList", - "src": "776:2:1" + "src": "796:2:0" }, { "children": [ @@ -37439,7 +37439,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 529, + "scope": 21, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -37451,19 +37451,19 @@ "name": "bytes", "type": "bytes" }, - "id": 520, + "id": 12, "name": "ElementaryTypeName", - "src": "810:5:1" + "src": "830:5:0" } ], - "id": 521, + "id": 13, "name": "VariableDeclaration", - "src": "810:12:1" + "src": "830:12:0" } ], - "id": 522, + "id": 14, "name": "ParameterList", - "src": "809:14:1" + "src": "829:14:0" }, { "children": [ @@ -37478,18 +37478,18 @@ "type": "contract Context", "value": "this" }, - "id": 523, + "id": 15, "name": "Identifier", - "src": "834:4:1" + "src": "855:4:0" } ], - "id": 524, + "id": 16, "name": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "attributes": { - "functionReturnParameters": 522 + "functionReturnParameters": 14 }, "children": [ { @@ -37511,34 +37511,34 @@ "type": "msg", "value": "msg" }, - "id": 525, + "id": 17, "name": "Identifier", - "src": "974:3:1" + "src": "996:3:0" } ], - "id": 526, + "id": 18, "name": "MemberAccess", - "src": "974:8:1" + "src": "996:8:0" } ], - "id": 527, + "id": 19, "name": "Return", - "src": "967:15:1" + "src": "989:15:0" } ], - "id": 528, + "id": 20, "name": "Block", - "src": "824:165:1" + "src": "844:168:0" } ], - "id": 529, + "id": 21, "name": "FunctionDefinition", - "src": "759:230:1" + "src": "779:233:0" } ], - "id": 530, + "id": 22, "name": "ContractDefinition", - "src": "617:374:1" + "src": "632:383:0" }, { "attributes": { @@ -37552,9 +37552,9 @@ ".0" ] }, - "id": 531, + "id": 23, "name": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "attributes": { @@ -37568,19 +37568,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, - "id": 532, + "id": 24, "name": "StructuredDocumentation", - "src": "1086:279:1" + "src": "1116:287:0" }, { "attributes": { @@ -37592,7 +37592,7 @@ null ], "name": "supportsInterface", - "scope": 541, + "scope": 33, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -37602,9 +37602,9 @@ "attributes": { "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, - "id": 533, + "id": 25, "name": "StructuredDocumentation", - "src": "1390:340:1" + "src": "1430:347:0" }, { "children": [ @@ -37613,7 +37613,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -37625,19 +37625,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 534, + "id": 26, "name": "ElementaryTypeName", - "src": "1762:6:1" + "src": "1810:6:0" } ], - "id": 535, + "id": 27, "name": "VariableDeclaration", - "src": "1762:18:1" + "src": "1810:18:0" } ], - "id": 536, + "id": 28, "name": "ParameterList", - "src": "1761:20:1" + "src": "1809:20:0" }, { "children": [ @@ -37646,7 +37646,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -37658,29 +37658,29 @@ "name": "bool", "type": "bool" }, - "id": 537, + "id": 29, "name": "ElementaryTypeName", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 538, + "id": 30, "name": "VariableDeclaration", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 539, + "id": 31, "name": "ParameterList", - "src": "1804:6:1" + "src": "1852:6:0" } ], - "id": 540, + "id": 32, "name": "FunctionDefinition", - "src": "1735:76:1" + "src": "1783:76:0" } ], - "id": 541, + "id": 33, "name": "ContractDefinition", - "src": "1366:447:1" + "src": "1405:457:0" }, { "attributes": { @@ -37694,33 +37694,33 @@ ".0" ] }, - "id": 542, + "id": 34, "name": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Required interface of an ERC721 compliant contract." }, - "id": 543, + "id": 35, "name": "StructuredDocumentation", - "src": "1907:67:1" + "src": "1962:69:0" }, { "attributes": {}, @@ -37728,17 +37728,17 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 544, + "id": 36, "name": "UserDefinedTypeName", - "src": "1996:7:1" + "src": "2054:7:0" } ], - "id": 545, + "id": 37, "name": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" }, { "attributes": { @@ -37750,9 +37750,9 @@ "attributes": { "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 546, + "id": 38, "name": "StructuredDocumentation", - "src": "2010:88:1" + "src": "2069:90:0" }, { "children": [ @@ -37762,7 +37762,7 @@ "indexed": true, "mutability": "mutable", "name": "from", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37775,14 +37775,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 547, + "id": 39, "name": "ElementaryTypeName", - "src": "2118:7:1" + "src": "2180:7:0" } ], - "id": 548, + "id": 40, "name": "VariableDeclaration", - "src": "2118:20:1" + "src": "2180:20:0" }, { "attributes": { @@ -37790,7 +37790,7 @@ "indexed": true, "mutability": "mutable", "name": "to", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37803,14 +37803,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 549, + "id": 41, "name": "ElementaryTypeName", - "src": "2140:7:1" + "src": "2202:7:0" } ], - "id": 550, + "id": 42, "name": "VariableDeclaration", - "src": "2140:18:1" + "src": "2202:18:0" }, { "attributes": { @@ -37818,7 +37818,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -37830,24 +37830,24 @@ "name": "uint256", "type": "uint256" }, - "id": 551, + "id": 43, "name": "ElementaryTypeName", - "src": "2160:7:1" + "src": "2222:7:0" } ], - "id": 552, + "id": 44, "name": "VariableDeclaration", - "src": "2160:23:1" + "src": "2222:23:0" } ], - "id": 553, + "id": 45, "name": "ParameterList", - "src": "2117:67:1" + "src": "2179:67:0" } ], - "id": 554, + "id": 46, "name": "EventDefinition", - "src": "2103:82:1" + "src": "2165:82:0" }, { "attributes": { @@ -37859,9 +37859,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 555, + "id": 47, "name": "StructuredDocumentation", - "src": "2191:94:1" + "src": "2255:96:0" }, { "children": [ @@ -37871,7 +37871,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37884,14 +37884,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 556, + "id": 48, "name": "ElementaryTypeName", - "src": "2305:7:1" + "src": "2372:7:0" } ], - "id": 557, + "id": 49, "name": "VariableDeclaration", - "src": "2305:21:1" + "src": "2372:21:0" }, { "attributes": { @@ -37899,7 +37899,7 @@ "indexed": true, "mutability": "mutable", "name": "approved", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37912,14 +37912,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 558, + "id": 50, "name": "ElementaryTypeName", - "src": "2328:7:1" + "src": "2395:7:0" } ], - "id": 559, + "id": 51, "name": "VariableDeclaration", - "src": "2328:24:1" + "src": "2395:24:0" }, { "attributes": { @@ -37927,7 +37927,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -37939,24 +37939,24 @@ "name": "uint256", "type": "uint256" }, - "id": 560, + "id": 52, "name": "ElementaryTypeName", - "src": "2354:7:1" + "src": "2421:7:0" } ], - "id": 561, + "id": 53, "name": "VariableDeclaration", - "src": "2354:23:1" + "src": "2421:23:0" } ], - "id": 562, + "id": 54, "name": "ParameterList", - "src": "2304:74:1" + "src": "2371:74:0" } ], - "id": 563, + "id": 55, "name": "EventDefinition", - "src": "2290:89:1" + "src": "2357:89:0" }, { "attributes": { @@ -37968,9 +37968,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 564, + "id": 56, "name": "StructuredDocumentation", - "src": "2385:117:1" + "src": "2454:119:0" }, { "children": [ @@ -37980,7 +37980,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37993,14 +37993,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 565, + "id": 57, "name": "ElementaryTypeName", - "src": "2528:7:1" + "src": "2600:7:0" } ], - "id": 566, + "id": 58, "name": "VariableDeclaration", - "src": "2528:21:1" + "src": "2600:21:0" }, { "attributes": { @@ -38008,7 +38008,7 @@ "indexed": true, "mutability": "mutable", "name": "operator", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38021,14 +38021,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 567, + "id": 59, "name": "ElementaryTypeName", - "src": "2551:7:1" + "src": "2623:7:0" } ], - "id": 568, + "id": 60, "name": "VariableDeclaration", - "src": "2551:24:1" + "src": "2623:24:0" }, { "attributes": { @@ -38036,7 +38036,7 @@ "indexed": false, "mutability": "mutable", "name": "approved", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38048,24 +38048,24 @@ "name": "bool", "type": "bool" }, - "id": 569, + "id": 61, "name": "ElementaryTypeName", - "src": "2577:4:1" + "src": "2649:4:0" } ], - "id": 570, + "id": 62, "name": "VariableDeclaration", - "src": "2577:13:1" + "src": "2649:13:0" } ], - "id": 571, + "id": 63, "name": "ParameterList", - "src": "2527:64:1" + "src": "2599:64:0" } ], - "id": 572, + "id": 64, "name": "EventDefinition", - "src": "2507:85:1" + "src": "2579:85:0" }, { "attributes": { @@ -38077,7 +38077,7 @@ null ], "name": "balanceOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38087,9 +38087,9 @@ "attributes": { "text": " @dev Returns the number of tokens in ``owner``'s account." }, - "id": 573, + "id": 65, "name": "StructuredDocumentation", - "src": "2598:76:1" + "src": "2672:78:0" }, { "children": [ @@ -38098,7 +38098,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38111,19 +38111,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 574, + "id": 66, "name": "ElementaryTypeName", - "src": "2698:7:1" + "src": "2775:7:0" } ], - "id": 575, + "id": 67, "name": "VariableDeclaration", - "src": "2698:13:1" + "src": "2775:13:0" } ], - "id": 576, + "id": 68, "name": "ParameterList", - "src": "2697:15:1" + "src": "2774:15:0" }, { "children": [ @@ -38132,7 +38132,7 @@ "constant": false, "mutability": "mutable", "name": "balance", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38144,24 +38144,24 @@ "name": "uint256", "type": "uint256" }, - "id": 577, + "id": 69, "name": "ElementaryTypeName", - "src": "2736:7:1" + "src": "2813:7:0" } ], - "id": 578, + "id": 70, "name": "VariableDeclaration", - "src": "2736:15:1" + "src": "2813:15:0" } ], - "id": 579, + "id": 71, "name": "ParameterList", - "src": "2735:17:1" + "src": "2812:17:0" } ], - "id": 580, + "id": 72, "name": "FunctionDefinition", - "src": "2679:74:1" + "src": "2756:74:0" }, { "attributes": { @@ -38173,7 +38173,7 @@ null ], "name": "ownerOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38183,9 +38183,9 @@ "attributes": { "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 581, + "id": 73, "name": "StructuredDocumentation", - "src": "2759:131:1" + "src": "2838:137:0" }, { "children": [ @@ -38194,7 +38194,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38206,19 +38206,19 @@ "name": "uint256", "type": "uint256" }, - "id": 582, + "id": 74, "name": "ElementaryTypeName", - "src": "2912:7:1" + "src": "2998:7:0" } ], - "id": 583, + "id": 75, "name": "VariableDeclaration", - "src": "2912:15:1" + "src": "2998:15:0" } ], - "id": 584, + "id": 76, "name": "ParameterList", - "src": "2911:17:1" + "src": "2997:17:0" }, { "children": [ @@ -38227,7 +38227,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38240,24 +38240,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 585, + "id": 77, "name": "ElementaryTypeName", - "src": "2952:7:1" + "src": "3038:7:0" } ], - "id": 586, + "id": 78, "name": "VariableDeclaration", - "src": "2952:13:1" + "src": "3038:13:0" } ], - "id": 587, + "id": 79, "name": "ParameterList", - "src": "2951:15:1" + "src": "3037:15:0" } ], - "id": 588, + "id": 80, "name": "FunctionDefinition", - "src": "2895:72:1" + "src": "2981:72:0" }, { "attributes": { @@ -38269,7 +38269,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38279,9 +38279,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 589, + "id": 81, "name": "StructuredDocumentation", - "src": "2973:690:1" + "src": "3061:703:0" }, { "children": [ @@ -38290,7 +38290,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38303,21 +38303,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 590, + "id": 82, "name": "ElementaryTypeName", - "src": "3694:7:1" + "src": "3796:7:0" } ], - "id": 591, + "id": 83, "name": "VariableDeclaration", - "src": "3694:12:1" + "src": "3796:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38330,21 +38330,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 592, + "id": 84, "name": "ElementaryTypeName", - "src": "3708:7:1" + "src": "3810:7:0" } ], - "id": 593, + "id": 85, "name": "VariableDeclaration", - "src": "3708:10:1" + "src": "3810:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38356,19 +38356,19 @@ "name": "uint256", "type": "uint256" }, - "id": 594, + "id": 86, "name": "ElementaryTypeName", - "src": "3720:7:1" + "src": "3822:7:0" } ], - "id": 595, + "id": 87, "name": "VariableDeclaration", - "src": "3720:15:1" + "src": "3822:15:0" } ], - "id": 596, + "id": 88, "name": "ParameterList", - "src": "3693:43:1" + "src": "3795:43:0" }, { "attributes": { @@ -38377,14 +38377,14 @@ ] }, "children": [], - "id": 597, + "id": 89, "name": "ParameterList", - "src": "3745:0:1" + "src": "3847:0:0" } ], - "id": 598, + "id": 90, "name": "FunctionDefinition", - "src": "3668:78:1" + "src": "3770:78:0" }, { "attributes": { @@ -38396,7 +38396,7 @@ null ], "name": "transferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38406,9 +38406,9 @@ "attributes": { "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, - "id": 599, + "id": 91, "name": "StructuredDocumentation", - "src": "3752:504:1" + "src": "3856:517:0" }, { "children": [ @@ -38417,7 +38417,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38430,21 +38430,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 600, + "id": 92, "name": "ElementaryTypeName", - "src": "4283:7:1" + "src": "4401:7:0" } ], - "id": 601, + "id": 93, "name": "VariableDeclaration", - "src": "4283:12:1" + "src": "4401:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38457,21 +38457,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 602, + "id": 94, "name": "ElementaryTypeName", - "src": "4297:7:1" + "src": "4415:7:0" } ], - "id": 603, + "id": 95, "name": "VariableDeclaration", - "src": "4297:10:1" + "src": "4415:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38483,19 +38483,19 @@ "name": "uint256", "type": "uint256" }, - "id": 604, + "id": 96, "name": "ElementaryTypeName", - "src": "4309:7:1" + "src": "4427:7:0" } ], - "id": 605, + "id": 97, "name": "VariableDeclaration", - "src": "4309:15:1" + "src": "4427:15:0" } ], - "id": 606, + "id": 98, "name": "ParameterList", - "src": "4282:43:1" + "src": "4400:43:0" }, { "attributes": { @@ -38504,14 +38504,14 @@ ] }, "children": [], - "id": 607, + "id": 99, "name": "ParameterList", - "src": "4334:0:1" + "src": "4452:0:0" } ], - "id": 608, + "id": 100, "name": "FunctionDefinition", - "src": "4261:74:1" + "src": "4379:74:0" }, { "attributes": { @@ -38523,7 +38523,7 @@ null ], "name": "approve", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38533,9 +38533,9 @@ "attributes": { "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, - "id": 609, + "id": 101, "name": "StructuredDocumentation", - "src": "4341:452:1" + "src": "4461:464:0" }, { "children": [ @@ -38544,7 +38544,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38557,21 +38557,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 610, + "id": 102, "name": "ElementaryTypeName", - "src": "4815:7:1" + "src": "4948:7:0" } ], - "id": 611, + "id": 103, "name": "VariableDeclaration", - "src": "4815:10:1" + "src": "4948:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38583,19 +38583,19 @@ "name": "uint256", "type": "uint256" }, - "id": 612, + "id": 104, "name": "ElementaryTypeName", - "src": "4827:7:1" + "src": "4960:7:0" } ], - "id": 613, + "id": 105, "name": "VariableDeclaration", - "src": "4827:15:1" + "src": "4960:15:0" } ], - "id": 614, + "id": 106, "name": "ParameterList", - "src": "4814:29:1" + "src": "4947:29:0" }, { "attributes": { @@ -38604,14 +38604,14 @@ ] }, "children": [], - "id": 615, + "id": 107, "name": "ParameterList", - "src": "4852:0:1" + "src": "4985:0:0" } ], - "id": 616, + "id": 108, "name": "FunctionDefinition", - "src": "4798:55:1" + "src": "4931:55:0" }, { "attributes": { @@ -38623,7 +38623,7 @@ null ], "name": "getApproved", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38633,9 +38633,9 @@ "attributes": { "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 617, + "id": 109, "name": "StructuredDocumentation", - "src": "4859:139:1" + "src": "4994:145:0" }, { "children": [ @@ -38644,7 +38644,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38656,19 +38656,19 @@ "name": "uint256", "type": "uint256" }, - "id": 618, + "id": 110, "name": "ElementaryTypeName", - "src": "5024:7:1" + "src": "5166:7:0" } ], - "id": 619, + "id": 111, "name": "VariableDeclaration", - "src": "5024:15:1" + "src": "5166:15:0" } ], - "id": 620, + "id": 112, "name": "ParameterList", - "src": "5023:17:1" + "src": "5165:17:0" }, { "children": [ @@ -38677,7 +38677,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38690,24 +38690,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 621, + "id": 113, "name": "ElementaryTypeName", - "src": "5064:7:1" + "src": "5206:7:0" } ], - "id": 622, + "id": 114, "name": "VariableDeclaration", - "src": "5064:16:1" + "src": "5206:16:0" } ], - "id": 623, + "id": 115, "name": "ParameterList", - "src": "5063:18:1" + "src": "5205:18:0" } ], - "id": 624, + "id": 116, "name": "FunctionDefinition", - "src": "5003:79:1" + "src": "5145:79:0" }, { "attributes": { @@ -38719,7 +38719,7 @@ null ], "name": "setApprovalForAll", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38729,9 +38729,9 @@ "attributes": { "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, - "id": 625, + "id": 117, "name": "StructuredDocumentation", - "src": "5088:309:1" + "src": "5232:318:0" }, { "children": [ @@ -38740,7 +38740,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38753,21 +38753,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 626, + "id": 118, "name": "ElementaryTypeName", - "src": "5429:7:1" + "src": "5583:7:0" } ], - "id": 627, + "id": 119, "name": "VariableDeclaration", - "src": "5429:16:1" + "src": "5583:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_approved", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38779,19 +38779,19 @@ "name": "bool", "type": "bool" }, - "id": 628, + "id": 120, "name": "ElementaryTypeName", - "src": "5447:4:1" + "src": "5601:4:0" } ], - "id": 629, + "id": 121, "name": "VariableDeclaration", - "src": "5447:14:1" + "src": "5601:14:0" } ], - "id": 630, + "id": 122, "name": "ParameterList", - "src": "5428:34:1" + "src": "5582:34:0" }, { "attributes": { @@ -38800,14 +38800,14 @@ ] }, "children": [], - "id": 631, + "id": 123, "name": "ParameterList", - "src": "5471:0:1" + "src": "5625:0:0" } ], - "id": 632, + "id": 124, "name": "FunctionDefinition", - "src": "5402:70:1" + "src": "5556:70:0" }, { "attributes": { @@ -38819,7 +38819,7 @@ null ], "name": "isApprovedForAll", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38829,9 +38829,9 @@ "attributes": { "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, - "id": 633, + "id": 125, "name": "StructuredDocumentation", - "src": "5478:138:1" + "src": "5634:142:0" }, { "children": [ @@ -38840,7 +38840,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38853,21 +38853,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 634, + "id": 126, "name": "ElementaryTypeName", - "src": "5647:7:1" + "src": "5808:7:0" } ], - "id": 635, + "id": 127, "name": "VariableDeclaration", - "src": "5647:13:1" + "src": "5808:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38880,19 +38880,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 636, + "id": 128, "name": "ElementaryTypeName", - "src": "5662:7:1" + "src": "5823:7:0" } ], - "id": 637, + "id": 129, "name": "VariableDeclaration", - "src": "5662:16:1" + "src": "5823:16:0" } ], - "id": 638, + "id": 130, "name": "ParameterList", - "src": "5646:33:1" + "src": "5807:33:0" }, { "children": [ @@ -38901,7 +38901,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38913,24 +38913,24 @@ "name": "bool", "type": "bool" }, - "id": 639, + "id": 131, "name": "ElementaryTypeName", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 640, + "id": 132, "name": "VariableDeclaration", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 641, + "id": 133, "name": "ParameterList", - "src": "5702:6:1" + "src": "5863:6:0" } ], - "id": 642, + "id": 134, "name": "FunctionDefinition", - "src": "5621:88:1" + "src": "5782:88:0" }, { "attributes": { @@ -38942,7 +38942,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38952,9 +38952,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 643, + "id": 135, "name": "StructuredDocumentation", - "src": "5715:568:1" + "src": "5878:580:0" }, { "children": [ @@ -38963,7 +38963,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38976,21 +38976,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 644, + "id": 136, "name": "ElementaryTypeName", - "src": "6314:7:1" + "src": "6490:7:0" } ], - "id": 645, + "id": 137, "name": "VariableDeclaration", - "src": "6314:12:1" + "src": "6490:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39003,21 +39003,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 646, + "id": 138, "name": "ElementaryTypeName", - "src": "6328:7:1" + "src": "6504:7:0" } ], - "id": 647, + "id": 139, "name": "VariableDeclaration", - "src": "6328:10:1" + "src": "6504:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39029,21 +39029,21 @@ "name": "uint256", "type": "uint256" }, - "id": 648, + "id": 140, "name": "ElementaryTypeName", - "src": "6340:7:1" + "src": "6516:7:0" } ], - "id": 649, + "id": 141, "name": "VariableDeclaration", - "src": "6340:15:1" + "src": "6516:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39055,19 +39055,19 @@ "name": "bytes", "type": "bytes" }, - "id": 650, + "id": 142, "name": "ElementaryTypeName", - "src": "6357:5:1" + "src": "6533:5:0" } ], - "id": 651, + "id": 143, "name": "VariableDeclaration", - "src": "6357:19:1" + "src": "6533:19:0" } ], - "id": 652, + "id": 144, "name": "ParameterList", - "src": "6313:64:1" + "src": "6489:64:0" }, { "attributes": { @@ -39076,19 +39076,19 @@ ] }, "children": [], - "id": 653, + "id": 145, "name": "ParameterList", - "src": "6386:0:1" + "src": "6562:0:0" } ], - "id": 654, + "id": 146, "name": "FunctionDefinition", - "src": "6288:99:1" + "src": "6464:99:0" } ], - "id": 655, + "id": 147, "name": "ContractDefinition", - "src": "1975:4414:1" + "src": "2033:4533:0" }, { "attributes": { @@ -39102,35 +39102,35 @@ ".0" ] }, - "id": 656, + "id": 148, "name": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 657, + "id": 149, "name": "StructuredDocumentation", - "src": "6491:133:1" + "src": "6674:136:0" }, { "attributes": {}, @@ -39138,17 +39138,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 658, + "id": 150, "name": "UserDefinedTypeName", - "src": "6654:7:1" + "src": "6841:7:0" } ], - "id": 659, + "id": 151, "name": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" }, { "attributes": { @@ -39160,7 +39160,7 @@ null ], "name": "name", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39170,9 +39170,9 @@ "attributes": { "text": " @dev Returns the token collection name." }, - "id": 660, + "id": 152, "name": "StructuredDocumentation", - "src": "6669:58:1" + "src": "6858:60:0" }, { "attributes": { @@ -39181,9 +39181,9 @@ ] }, "children": [], - "id": 661, + "id": 153, "name": "ParameterList", - "src": "6745:2:1" + "src": "6937:2:0" }, { "children": [ @@ -39192,7 +39192,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 665, + "scope": 157, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39204,24 +39204,24 @@ "name": "string", "type": "string" }, - "id": 662, + "id": 154, "name": "ElementaryTypeName", - "src": "6771:6:1" + "src": "6963:6:0" } ], - "id": 663, + "id": 155, "name": "VariableDeclaration", - "src": "6771:13:1" + "src": "6963:13:0" } ], - "id": 664, + "id": 156, "name": "ParameterList", - "src": "6770:15:1" + "src": "6962:15:0" } ], - "id": 665, + "id": 157, "name": "FunctionDefinition", - "src": "6732:54:1" + "src": "6924:54:0" }, { "attributes": { @@ -39233,7 +39233,7 @@ null ], "name": "symbol", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39243,9 +39243,9 @@ "attributes": { "text": " @dev Returns the token collection symbol." }, - "id": 666, + "id": 158, "name": "StructuredDocumentation", - "src": "6792:60:1" + "src": "6986:62:0" }, { "attributes": { @@ -39254,9 +39254,9 @@ ] }, "children": [], - "id": 667, + "id": 159, "name": "ParameterList", - "src": "6872:2:1" + "src": "7069:2:0" }, { "children": [ @@ -39265,7 +39265,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 671, + "scope": 163, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39277,24 +39277,24 @@ "name": "string", "type": "string" }, - "id": 668, + "id": 160, "name": "ElementaryTypeName", - "src": "6898:6:1" + "src": "7095:6:0" } ], - "id": 669, + "id": 161, "name": "VariableDeclaration", - "src": "6898:13:1" + "src": "7095:13:0" } ], - "id": 670, + "id": 162, "name": "ParameterList", - "src": "6897:15:1" + "src": "7094:15:0" } ], - "id": 671, + "id": 163, "name": "FunctionDefinition", - "src": "6857:56:1" + "src": "7054:56:0" }, { "attributes": { @@ -39306,7 +39306,7 @@ null ], "name": "tokenURI", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39316,9 +39316,9 @@ "attributes": { "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, - "id": 672, + "id": 164, "name": "StructuredDocumentation", - "src": "6919:90:1" + "src": "7118:92:0" }, { "children": [ @@ -39327,7 +39327,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39339,19 +39339,19 @@ "name": "uint256", "type": "uint256" }, - "id": 673, + "id": 165, "name": "ElementaryTypeName", - "src": "7032:7:1" + "src": "7234:7:0" } ], - "id": 674, + "id": 166, "name": "VariableDeclaration", - "src": "7032:15:1" + "src": "7234:15:0" } ], - "id": 675, + "id": 167, "name": "ParameterList", - "src": "7031:17:1" + "src": "7233:17:0" }, { "children": [ @@ -39360,7 +39360,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39372,29 +39372,29 @@ "name": "string", "type": "string" }, - "id": 676, + "id": 168, "name": "ElementaryTypeName", - "src": "7072:6:1" + "src": "7274:6:0" } ], - "id": 677, + "id": 169, "name": "VariableDeclaration", - "src": "7072:13:1" + "src": "7274:13:0" } ], - "id": 678, + "id": 170, "name": "ParameterList", - "src": "7071:15:1" + "src": "7273:15:0" } ], - "id": 679, + "id": 171, "name": "FunctionDefinition", - "src": "7014:73:1" + "src": "7216:73:0" } ], - "id": 680, + "id": 172, "name": "ContractDefinition", - "src": "6625:464:1" + "src": "6812:480:0" }, { "attributes": { @@ -39408,35 +39408,35 @@ ".0" ] }, - "id": 681, + "id": 173, "name": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 682, + "id": 174, "name": "StructuredDocumentation", - "src": "7195:136:1" + "src": "7406:139:0" }, { "attributes": {}, @@ -39444,17 +39444,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 683, + "id": 175, "name": "UserDefinedTypeName", - "src": "7363:7:1" + "src": "7578:7:0" } ], - "id": 684, + "id": 176, "name": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" }, { "attributes": { @@ -39466,7 +39466,7 @@ null ], "name": "totalSupply", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39476,9 +39476,9 @@ "attributes": { "text": " @dev Returns the total amount of tokens stored by the contract." }, - "id": 685, + "id": 177, "name": "StructuredDocumentation", - "src": "7378:82:1" + "src": "7595:84:0" }, { "attributes": { @@ -39487,9 +39487,9 @@ ] }, "children": [], - "id": 686, + "id": 178, "name": "ParameterList", - "src": "7485:2:1" + "src": "7705:2:0" }, { "children": [ @@ -39498,7 +39498,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 690, + "scope": 182, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39510,24 +39510,24 @@ "name": "uint256", "type": "uint256" }, - "id": 687, + "id": 179, "name": "ElementaryTypeName", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 688, + "id": 180, "name": "VariableDeclaration", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 689, + "id": 181, "name": "ParameterList", - "src": "7510:9:1" + "src": "7730:9:0" } ], - "id": 690, + "id": 182, "name": "FunctionDefinition", - "src": "7465:55:1" + "src": "7685:55:0" }, { "attributes": { @@ -39539,7 +39539,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39549,9 +39549,9 @@ "attributes": { "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, - "id": 691, + "id": 183, "name": "StructuredDocumentation", - "src": "7526:171:1" + "src": "7748:174:0" }, { "children": [ @@ -39560,7 +39560,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39573,21 +39573,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 692, + "id": 184, "name": "ElementaryTypeName", - "src": "7731:7:1" + "src": "7957:7:0" } ], - "id": 693, + "id": 185, "name": "VariableDeclaration", - "src": "7731:13:1" + "src": "7957:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39599,19 +39599,19 @@ "name": "uint256", "type": "uint256" }, - "id": 694, + "id": 186, "name": "ElementaryTypeName", - "src": "7746:7:1" + "src": "7972:7:0" } ], - "id": 695, + "id": 187, "name": "VariableDeclaration", - "src": "7746:13:1" + "src": "7972:13:0" } ], - "id": 696, + "id": 188, "name": "ParameterList", - "src": "7730:30:1" + "src": "7956:30:0" }, { "children": [ @@ -39620,7 +39620,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39632,24 +39632,24 @@ "name": "uint256", "type": "uint256" }, - "id": 697, + "id": 189, "name": "ElementaryTypeName", - "src": "7784:7:1" + "src": "8010:7:0" } ], - "id": 698, + "id": 190, "name": "VariableDeclaration", - "src": "7784:15:1" + "src": "8010:15:0" } ], - "id": 699, + "id": 191, "name": "ParameterList", - "src": "7783:17:1" + "src": "8009:17:0" } ], - "id": 700, + "id": 192, "name": "FunctionDefinition", - "src": "7702:99:1" + "src": "7928:99:0" }, { "attributes": { @@ -39661,7 +39661,7 @@ null ], "name": "tokenByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39671,9 +39671,9 @@ "attributes": { "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, - "id": 701, + "id": 193, "name": "StructuredDocumentation", - "src": "7807:164:1" + "src": "8035:167:0" }, { "children": [ @@ -39682,7 +39682,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39694,19 +39694,19 @@ "name": "uint256", "type": "uint256" }, - "id": 702, + "id": 194, "name": "ElementaryTypeName", - "src": "7998:7:1" + "src": "8230:7:0" } ], - "id": 703, + "id": 195, "name": "VariableDeclaration", - "src": "7998:13:1" + "src": "8230:13:0" } ], - "id": 704, + "id": 196, "name": "ParameterList", - "src": "7997:15:1" + "src": "8229:15:0" }, { "children": [ @@ -39715,7 +39715,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39727,29 +39727,29 @@ "name": "uint256", "type": "uint256" }, - "id": 705, + "id": 197, "name": "ElementaryTypeName", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 706, + "id": 198, "name": "VariableDeclaration", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 707, + "id": 199, "name": "ParameterList", - "src": "8035:9:1" + "src": "8267:9:0" } ], - "id": 708, + "id": 200, "name": "FunctionDefinition", - "src": "7976:69:1" + "src": "8208:69:0" } ], - "id": 709, + "id": 201, "name": "ContractDefinition", - "src": "7332:715:1" + "src": "7547:733:0" }, { "attributes": { @@ -39763,9 +39763,9 @@ ".0" ] }, - "id": 710, + "id": 202, "name": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "attributes": { @@ -39779,19 +39779,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, - "id": 711, + "id": 203, "name": "StructuredDocumentation", - "src": "8150:152:1" + "src": "8390:156:0" }, { "attributes": { @@ -39803,7 +39803,7 @@ null ], "name": "onERC721Received", - "scope": 726, + "scope": 218, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -39813,9 +39813,9 @@ "attributes": { "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, - "id": 712, + "id": 204, "name": "StructuredDocumentation", - "src": "8335:485:1" + "src": "8581:493:0" }, { "children": [ @@ -39824,7 +39824,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39837,21 +39837,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 713, + "id": 205, "name": "ElementaryTypeName", - "src": "8851:7:1" + "src": "9106:7:0" } ], - "id": 714, + "id": 206, "name": "VariableDeclaration", - "src": "8851:16:1" + "src": "9106:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "from", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39864,21 +39864,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 715, + "id": 207, "name": "ElementaryTypeName", - "src": "8869:7:1" + "src": "9124:7:0" } ], - "id": 716, + "id": 208, "name": "VariableDeclaration", - "src": "8869:12:1" + "src": "9124:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39890,21 +39890,21 @@ "name": "uint256", "type": "uint256" }, - "id": 717, + "id": 209, "name": "ElementaryTypeName", - "src": "8883:7:1" + "src": "9138:7:0" } ], - "id": 718, + "id": 210, "name": "VariableDeclaration", - "src": "8883:15:1" + "src": "9138:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39916,19 +39916,19 @@ "name": "bytes", "type": "bytes" }, - "id": 719, + "id": 211, "name": "ElementaryTypeName", - "src": "8900:5:1" + "src": "9155:5:0" } ], - "id": 720, + "id": 212, "name": "VariableDeclaration", - "src": "8900:19:1" + "src": "9155:19:0" } ], - "id": 721, + "id": 213, "name": "ParameterList", - "src": "8850:70:1" + "src": "9105:70:0" }, { "children": [ @@ -39937,7 +39937,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -39949,29 +39949,29 @@ "name": "bytes4", "type": "bytes4" }, - "id": 722, + "id": 214, "name": "ElementaryTypeName", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 723, + "id": 215, "name": "VariableDeclaration", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 724, + "id": 216, "name": "ParameterList", - "src": "8938:8:1" + "src": "9193:8:0" } ], - "id": 725, + "id": 217, "name": "FunctionDefinition", - "src": "8825:122:1" + "src": "9080:122:0" } ], - "id": 726, + "id": 218, "name": "ContractDefinition", - "src": "8303:646:1" + "src": "8548:657:0" }, { "attributes": { @@ -39985,33 +39985,33 @@ ".0" ] }, - "id": 727, + "id": 219, "name": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "attributes": { "abstract": true, "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, - "id": 728, + "id": 220, "name": "StructuredDocumentation", - "src": "9043:171:1" + "src": "9305:176:0" }, { "attributes": {}, @@ -40019,24 +40019,24 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 729, + "id": 221, "name": "UserDefinedTypeName", - "src": "9243:7:1" + "src": "9511:7:0" } ], - "id": 730, + "id": 222, "name": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -40048,9 +40048,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 731, + "id": 223, "name": "ElementaryTypeName", - "src": "9340:6:1" + "src": "9612:6:0" }, { "attributes": { @@ -40063,21 +40063,21 @@ "type": "int_const 33540519", "value": "0x01ffc9a7" }, - "id": 732, + "id": 224, "name": "Literal", - "src": "9387:10:1" + "src": "9659:10:0" } ], - "id": 733, + "id": 225, "name": "VariableDeclaration", - "src": "9340:57:1" + "src": "9612:57:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_supportedInterfaces", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "mapping(bytes4 => bool)", @@ -40094,36 +40094,36 @@ "name": "bytes4", "type": "bytes4" }, - "id": 735, + "id": 227, "name": "ElementaryTypeName", - "src": "9499:6:1" + "src": "9776:6:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 736, + "id": 228, "name": "ElementaryTypeName", - "src": "9509:4:1" + "src": "9786:4:0" } ], - "id": 737, + "id": 229, "name": "Mapping", - "src": "9491:23:1" + "src": "9768:23:0" }, { "attributes": { "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 734, + "id": 226, "name": "StructuredDocumentation", - "src": "9404:82:1" + "src": "9678:84:0" } ], - "id": 738, + "id": 230, "name": "VariableDeclaration", - "src": "9491:52:1" + "src": "9768:52:0" }, { "attributes": { @@ -40134,7 +40134,7 @@ null ], "name": "", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -40147,9 +40147,9 @@ ] }, "children": [], - "id": 739, + "id": 231, "name": "ParameterList", - "src": "9562:2:1" + "src": "9841:2:0" }, { "attributes": { @@ -40158,9 +40158,9 @@ ] }, "children": [], - "id": 740, + "id": 232, "name": "ParameterList", - "src": "9565:0:1" + "src": "9844:0:0" }, { "children": [ @@ -40192,51 +40192,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 741, + "id": 233, "name": "Identifier", - "src": "9711:18:1" + "src": "9993:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 733, + "referencedDeclaration": 225, "type": "bytes4", "value": "_INTERFACE_ID_ERC165" }, - "id": 742, + "id": 234, "name": "Identifier", - "src": "9730:20:1" + "src": "10012:20:0" } ], - "id": 743, + "id": 235, "name": "FunctionCall", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 744, + "id": 236, "name": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 745, + "id": 237, "name": "Block", - "src": "9565:193:1" + "src": "9844:197:0" } ], - "id": 746, + "id": 238, "name": "FunctionDefinition", - "src": "9550:208:1" + "src": "9829:212:0" }, { "attributes": { "baseFunctions": [ - 540 + 32 ], "functionSelector": "01ffc9a7", "implemented": true, @@ -40246,7 +40246,7 @@ null ], "name": "supportsInterface", - "scope": 781, + "scope": 273, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -40256,9 +40256,9 @@ "attributes": { "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, - "id": 747, + "id": 239, "name": "StructuredDocumentation", - "src": "9764:139:1" + "src": "10049:143:0" }, { "attributes": { @@ -40266,9 +40266,9 @@ null ] }, - "id": 751, + "id": 243, "name": "OverrideSpecifier", - "src": "9975:8:1" + "src": "10265:8:0" }, { "children": [ @@ -40277,7 +40277,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40289,19 +40289,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 748, + "id": 240, "name": "ElementaryTypeName", - "src": "9935:6:1" + "src": "10225:6:0" } ], - "id": 749, + "id": 241, "name": "VariableDeclaration", - "src": "9935:18:1" + "src": "10225:18:0" } ], - "id": 750, + "id": 242, "name": "ParameterList", - "src": "9934:20:1" + "src": "10224:20:0" }, { "children": [ @@ -40310,7 +40310,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40322,25 +40322,25 @@ "name": "bool", "type": "bool" }, - "id": 752, + "id": 244, "name": "ElementaryTypeName", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 753, + "id": 245, "name": "VariableDeclaration", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 754, + "id": 246, "name": "ParameterList", - "src": "9992:6:1" + "src": "10282:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 754 + "functionReturnParameters": 246 }, "children": [ { @@ -40357,46 +40357,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 755, + "id": 247, "name": "Identifier", - "src": "10016:20:1" + "src": "10307:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 749, + "referencedDeclaration": 241, "type": "bytes4", "value": "interfaceId" }, - "id": 756, + "id": 248, "name": "Identifier", - "src": "10037:11:1" + "src": "10328:11:0" } ], - "id": 757, + "id": 249, "name": "IndexAccess", - "src": "10016:33:1" + "src": "10307:33:0" } ], - "id": 758, + "id": 250, "name": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ], - "id": 759, + "id": 251, "name": "Block", - "src": "9999:57:1" + "src": "10289:59:0" } ], - "id": 760, + "id": 252, "name": "FunctionDefinition", - "src": "9908:148:1" + "src": "10198:150:0" }, { "attributes": { @@ -40407,7 +40407,7 @@ null ], "name": "_registerInterface", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -40417,9 +40417,9 @@ "attributes": { "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 761, + "id": 253, "name": "StructuredDocumentation", - "src": "10062:383:1" + "src": "10356:393:0" }, { "children": [ @@ -40428,7 +40428,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 780, + "scope": 272, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40440,19 +40440,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 762, + "id": 254, "name": "ElementaryTypeName", - "src": "10478:6:1" + "src": "10783:6:0" } ], - "id": 763, + "id": 255, "name": "VariableDeclaration", - "src": "10478:18:1" + "src": "10783:18:0" } ], - "id": 764, + "id": 256, "name": "ParameterList", - "src": "10477:20:1" + "src": "10782:20:0" }, { "attributes": { @@ -40461,9 +40461,9 @@ ] }, "children": [], - "id": 765, + "id": 257, "name": "ParameterList", - "src": "10515:0:1" + "src": "10820:0:0" }, { "children": [ @@ -40504,9 +40504,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 766, + "id": 258, "name": "Identifier", - "src": "10525:7:1" + "src": "10831:7:0" }, { "attributes": { @@ -40527,13 +40527,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 767, + "id": 259, "name": "Identifier", - "src": "10533:11:1" + "src": "10839:11:0" }, { "attributes": { @@ -40546,14 +40546,14 @@ "type": "int_const 4294967295", "value": "0xffffffff" }, - "id": 768, + "id": 260, "name": "Literal", - "src": "10548:10:1" + "src": "10854:10:0" } ], - "id": 769, + "id": 261, "name": "BinaryOperation", - "src": "10533:25:1" + "src": "10839:25:0" }, { "attributes": { @@ -40566,19 +40566,19 @@ "type": "literal_string \"ERC165: invalid interface id\"", "value": "ERC165: invalid interface id" }, - "id": 770, + "id": 262, "name": "Literal", - "src": "10560:30:1" + "src": "10866:30:0" } ], - "id": 771, + "id": 263, "name": "FunctionCall", - "src": "10525:66:1" + "src": "10831:66:0" } ], - "id": 772, + "id": 264, "name": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "children": [ @@ -40606,31 +40606,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 773, + "id": 265, "name": "Identifier", - "src": "10601:20:1" + "src": "10908:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 774, + "id": 266, "name": "Identifier", - "src": "10622:11:1" + "src": "10929:11:0" } ], - "id": 775, + "id": 267, "name": "IndexAccess", - "src": "10601:33:1" + "src": "10908:33:0" }, { "attributes": { @@ -40643,34 +40643,34 @@ "type": "bool", "value": "true" }, - "id": 776, + "id": 268, "name": "Literal", - "src": "10637:4:1" + "src": "10944:4:0" } ], - "id": 777, + "id": 269, "name": "Assignment", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 778, + "id": 270, "name": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 779, + "id": 271, "name": "Block", - "src": "10515:133:1" + "src": "10820:136:0" } ], - "id": 780, + "id": 272, "name": "FunctionDefinition", - "src": "10450:198:1" + "src": "10755:201:0" } ], - "id": 781, + "id": 273, "name": "ContractDefinition", - "src": "9215:1435:1" + "src": "9483:1476:0" }, { "attributes": { @@ -40684,9 +40684,9 @@ ".0" ] }, - "id": 782, + "id": 274, "name": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "attributes": { @@ -40700,19 +40700,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, - "id": 783, + "id": 275, "name": "StructuredDocumentation", - "src": "10736:563:1" + "src": "11050:575:0" }, { "attributes": { @@ -40723,7 +40723,7 @@ null ], "name": "tryAdd", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -40733,9 +40733,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 784, + "id": 276, "name": "StructuredDocumentation", - "src": "11323:131:1" + "src": "11651:135:0" }, { "children": [ @@ -40744,7 +40744,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40756,21 +40756,21 @@ "name": "uint256", "type": "uint256" }, - "id": 785, + "id": 277, "name": "ElementaryTypeName", - "src": "11475:7:1" + "src": "11808:7:0" } ], - "id": 786, + "id": 278, "name": "VariableDeclaration", - "src": "11475:9:1" + "src": "11808:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40782,19 +40782,19 @@ "name": "uint256", "type": "uint256" }, - "id": 787, + "id": 279, "name": "ElementaryTypeName", - "src": "11486:7:1" + "src": "11819:7:0" } ], - "id": 788, + "id": 280, "name": "VariableDeclaration", - "src": "11486:9:1" + "src": "11819:9:0" } ], - "id": 789, + "id": 281, "name": "ParameterList", - "src": "11474:22:1" + "src": "11807:22:0" }, { "children": [ @@ -40803,7 +40803,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40815,21 +40815,21 @@ "name": "bool", "type": "bool" }, - "id": 790, + "id": 282, "name": "ElementaryTypeName", - "src": "11520:4:1" + "src": "11853:4:0" } ], - "id": 791, + "id": 283, "name": "VariableDeclaration", - "src": "11520:4:1" + "src": "11853:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40841,26 +40841,26 @@ "name": "uint256", "type": "uint256" }, - "id": 792, + "id": 284, "name": "ElementaryTypeName", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 793, + "id": 285, "name": "VariableDeclaration", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 794, + "id": 286, "name": "ParameterList", - "src": "11519:15:1" + "src": "11852:15:0" }, { "children": [ { "attributes": { "assignments": [ - 796 + 288 ] }, "children": [ @@ -40869,7 +40869,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 813, + "scope": 305, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40881,14 +40881,14 @@ "name": "uint256", "type": "uint256" }, - "id": 795, + "id": 287, "name": "ElementaryTypeName", - "src": "11545:7:1" + "src": "11879:7:0" } ], - "id": 796, + "id": 288, "name": "VariableDeclaration", - "src": "11545:9:1" + "src": "11879:9:0" }, { "attributes": { @@ -40909,36 +40909,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 797, + "id": 289, "name": "Identifier", - "src": "11557:1:1" + "src": "11891:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 280, "type": "uint256", "value": "b" }, - "id": 798, + "id": 290, "name": "Identifier", - "src": "11561:1:1" + "src": "11895:1:0" } ], - "id": 799, + "id": 291, "name": "BinaryOperation", - "src": "11557:5:1" + "src": "11891:5:0" } ], - "id": 800, + "id": 292, "name": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "attributes": {}, @@ -40962,35 +40962,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 801, + "id": 293, "name": "Identifier", - "src": "11576:1:1" + "src": "11911:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 802, + "id": 294, "name": "Identifier", - "src": "11580:1:1" + "src": "11915:1:0" } ], - "id": 803, + "id": 295, "name": "BinaryOperation", - "src": "11576:5:1" + "src": "11911:5:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -41014,9 +41014,9 @@ "type": "bool", "value": "false" }, - "id": 804, + "id": 296, "name": "Literal", - "src": "11591:5:1" + "src": "11926:5:0" }, { "attributes": { @@ -41029,28 +41029,28 @@ "type": "int_const 0", "value": "0" }, - "id": 805, + "id": 297, "name": "Literal", - "src": "11598:1:1" + "src": "11933:1:0" } ], - "id": 806, + "id": 298, "name": "TupleExpression", - "src": "11590:10:1" + "src": "11925:10:0" } ], - "id": 807, + "id": 299, "name": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } ], - "id": 808, + "id": 300, "name": "IfStatement", - "src": "11572:28:1" + "src": "11907:28:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -41074,42 +41074,42 @@ "type": "bool", "value": "true" }, - "id": 809, + "id": 301, "name": "Literal", - "src": "11618:4:1" + "src": "11954:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 810, + "id": 302, "name": "Identifier", - "src": "11624:1:1" + "src": "11960:1:0" } ], - "id": 811, + "id": 303, "name": "TupleExpression", - "src": "11617:9:1" + "src": "11953:9:0" } ], - "id": 812, + "id": 304, "name": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ], - "id": 813, + "id": 305, "name": "Block", - "src": "11535:98:1" + "src": "11868:102:0" } ], - "id": 814, + "id": 306, "name": "FunctionDefinition", - "src": "11459:174:1" + "src": "11792:178:0" }, { "attributes": { @@ -41120,7 +41120,7 @@ null ], "name": "trySub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41130,9 +41130,9 @@ "attributes": { "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 815, + "id": 307, "name": "StructuredDocumentation", - "src": "11639:135:1" + "src": "11978:139:0" }, { "children": [ @@ -41141,7 +41141,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41153,21 +41153,21 @@ "name": "uint256", "type": "uint256" }, - "id": 816, + "id": 308, "name": "ElementaryTypeName", - "src": "11795:7:1" + "src": "12139:7:0" } ], - "id": 817, + "id": 309, "name": "VariableDeclaration", - "src": "11795:9:1" + "src": "12139:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41179,19 +41179,19 @@ "name": "uint256", "type": "uint256" }, - "id": 818, + "id": 310, "name": "ElementaryTypeName", - "src": "11806:7:1" + "src": "12150:7:0" } ], - "id": 819, + "id": 311, "name": "VariableDeclaration", - "src": "11806:9:1" + "src": "12150:9:0" } ], - "id": 820, + "id": 312, "name": "ParameterList", - "src": "11794:22:1" + "src": "12138:22:0" }, { "children": [ @@ -41200,7 +41200,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41212,21 +41212,21 @@ "name": "bool", "type": "bool" }, - "id": 821, + "id": 313, "name": "ElementaryTypeName", - "src": "11840:4:1" + "src": "12184:4:0" } ], - "id": 822, + "id": 314, "name": "VariableDeclaration", - "src": "11840:4:1" + "src": "12184:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41238,19 +41238,19 @@ "name": "uint256", "type": "uint256" }, - "id": 823, + "id": 315, "name": "ElementaryTypeName", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 824, + "id": 316, "name": "VariableDeclaration", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 825, + "id": 317, "name": "ParameterList", - "src": "11839:15:1" + "src": "12183:15:0" }, { "children": [ @@ -41276,35 +41276,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 826, + "id": 318, "name": "Identifier", - "src": "11869:1:1" + "src": "12214:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 827, + "id": 319, "name": "Identifier", - "src": "11873:1:1" + "src": "12218:1:0" } ], - "id": 828, + "id": 320, "name": "BinaryOperation", - "src": "11869:5:1" + "src": "12214:5:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41328,9 +41328,9 @@ "type": "bool", "value": "false" }, - "id": 829, + "id": 321, "name": "Literal", - "src": "11884:5:1" + "src": "12229:5:0" }, { "attributes": { @@ -41343,28 +41343,28 @@ "type": "int_const 0", "value": "0" }, - "id": 830, + "id": 322, "name": "Literal", - "src": "11891:1:1" + "src": "12236:1:0" } ], - "id": 831, + "id": 323, "name": "TupleExpression", - "src": "11883:10:1" + "src": "12228:10:0" } ], - "id": 832, + "id": 324, "name": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } ], - "id": 833, + "id": 325, "name": "IfStatement", - "src": "11865:28:1" + "src": "12210:28:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41388,9 +41388,9 @@ "type": "bool", "value": "true" }, - "id": 834, + "id": 326, "name": "Literal", - "src": "11911:4:1" + "src": "12257:4:0" }, { "attributes": { @@ -41411,51 +41411,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 835, + "id": 327, "name": "Identifier", - "src": "11917:1:1" + "src": "12263:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 836, + "id": 328, "name": "Identifier", - "src": "11921:1:1" + "src": "12267:1:0" } ], - "id": 837, + "id": 329, "name": "BinaryOperation", - "src": "11917:5:1" + "src": "12263:5:0" } ], - "id": 838, + "id": 330, "name": "TupleExpression", - "src": "11910:13:1" + "src": "12256:13:0" } ], - "id": 839, + "id": 331, "name": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ], - "id": 840, + "id": 332, "name": "Block", - "src": "11855:75:1" + "src": "12199:78:0" } ], - "id": 841, + "id": 333, "name": "FunctionDefinition", - "src": "11779:151:1" + "src": "12123:154:0" }, { "attributes": { @@ -41466,7 +41466,7 @@ null ], "name": "tryMul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41476,9 +41476,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 842, + "id": 334, "name": "StructuredDocumentation", - "src": "11936:137:1" + "src": "12285:141:0" }, { "children": [ @@ -41487,7 +41487,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41499,21 +41499,21 @@ "name": "uint256", "type": "uint256" }, - "id": 843, + "id": 335, "name": "ElementaryTypeName", - "src": "12094:7:1" + "src": "12448:7:0" } ], - "id": 844, + "id": 336, "name": "VariableDeclaration", - "src": "12094:9:1" + "src": "12448:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41525,19 +41525,19 @@ "name": "uint256", "type": "uint256" }, - "id": 845, + "id": 337, "name": "ElementaryTypeName", - "src": "12105:7:1" + "src": "12459:7:0" } ], - "id": 846, + "id": 338, "name": "VariableDeclaration", - "src": "12105:9:1" + "src": "12459:9:0" } ], - "id": 847, + "id": 339, "name": "ParameterList", - "src": "12093:22:1" + "src": "12447:22:0" }, { "children": [ @@ -41546,7 +41546,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41558,21 +41558,21 @@ "name": "bool", "type": "bool" }, - "id": 848, + "id": 340, "name": "ElementaryTypeName", - "src": "12139:4:1" + "src": "12493:4:0" } ], - "id": 849, + "id": 341, "name": "VariableDeclaration", - "src": "12139:4:1" + "src": "12493:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41584,19 +41584,19 @@ "name": "uint256", "type": "uint256" }, - "id": 850, + "id": 342, "name": "ElementaryTypeName", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 851, + "id": 343, "name": "VariableDeclaration", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 852, + "id": 344, "name": "ParameterList", - "src": "12138:15:1" + "src": "12492:15:0" }, { "children": [ @@ -41622,13 +41622,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 853, + "id": 345, "name": "Identifier", - "src": "12386:1:1" + "src": "12744:1:0" }, { "attributes": { @@ -41641,18 +41641,18 @@ "type": "int_const 0", "value": "0" }, - "id": 854, + "id": 346, "name": "Literal", - "src": "12391:1:1" + "src": "12749:1:0" } ], - "id": 855, + "id": 347, "name": "BinaryOperation", - "src": "12386:6:1" + "src": "12744:6:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41676,9 +41676,9 @@ "type": "bool", "value": "true" }, - "id": 856, + "id": 348, "name": "Literal", - "src": "12402:4:1" + "src": "12760:4:0" }, { "attributes": { @@ -41691,29 +41691,29 @@ "type": "int_const 0", "value": "0" }, - "id": 857, + "id": 349, "name": "Literal", - "src": "12408:1:1" + "src": "12766:1:0" } ], - "id": 858, + "id": 350, "name": "TupleExpression", - "src": "12401:9:1" + "src": "12759:9:0" } ], - "id": 859, + "id": 351, "name": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } ], - "id": 860, + "id": 352, "name": "IfStatement", - "src": "12382:28:1" + "src": "12740:28:0" }, { "attributes": { "assignments": [ - 862 + 354 ] }, "children": [ @@ -41722,7 +41722,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 881, + "scope": 373, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41734,14 +41734,14 @@ "name": "uint256", "type": "uint256" }, - "id": 861, + "id": 353, "name": "ElementaryTypeName", - "src": "12420:7:1" + "src": "12779:7:0" } ], - "id": 862, + "id": 354, "name": "VariableDeclaration", - "src": "12420:9:1" + "src": "12779:9:0" }, { "attributes": { @@ -41762,36 +41762,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 863, + "id": 355, "name": "Identifier", - "src": "12432:1:1" + "src": "12791:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 864, + "id": 356, "name": "Identifier", - "src": "12436:1:1" + "src": "12795:1:0" } ], - "id": 865, + "id": 357, "name": "BinaryOperation", - "src": "12432:5:1" + "src": "12791:5:0" } ], - "id": 866, + "id": 358, "name": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "attributes": {}, @@ -41829,53 +41829,53 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 867, + "id": 359, "name": "Identifier", - "src": "12451:1:1" + "src": "12811:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 868, + "id": 360, "name": "Identifier", - "src": "12455:1:1" + "src": "12815:1:0" } ], - "id": 869, + "id": 361, "name": "BinaryOperation", - "src": "12451:5:1" + "src": "12811:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 870, + "id": 362, "name": "Identifier", - "src": "12460:1:1" + "src": "12820:1:0" } ], - "id": 871, + "id": 363, "name": "BinaryOperation", - "src": "12451:10:1" + "src": "12811:10:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41899,9 +41899,9 @@ "type": "bool", "value": "false" }, - "id": 872, + "id": 364, "name": "Literal", - "src": "12471:5:1" + "src": "12831:5:0" }, { "attributes": { @@ -41914,28 +41914,28 @@ "type": "int_const 0", "value": "0" }, - "id": 873, + "id": 365, "name": "Literal", - "src": "12478:1:1" + "src": "12838:1:0" } ], - "id": 874, + "id": 366, "name": "TupleExpression", - "src": "12470:10:1" + "src": "12830:10:0" } ], - "id": 875, + "id": 367, "name": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } ], - "id": 876, + "id": 368, "name": "IfStatement", - "src": "12447:33:1" + "src": "12807:33:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41959,42 +41959,42 @@ "type": "bool", "value": "true" }, - "id": 877, + "id": 369, "name": "Literal", - "src": "12498:4:1" + "src": "12859:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 878, + "id": 370, "name": "Identifier", - "src": "12504:1:1" + "src": "12865:1:0" } ], - "id": 879, + "id": 371, "name": "TupleExpression", - "src": "12497:9:1" + "src": "12858:9:0" } ], - "id": 880, + "id": 372, "name": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ], - "id": 881, + "id": 373, "name": "Block", - "src": "12154:359:1" + "src": "12508:367:0" } ], - "id": 882, + "id": 374, "name": "FunctionDefinition", - "src": "12078:435:1" + "src": "12432:443:0" }, { "attributes": { @@ -42005,7 +42005,7 @@ null ], "name": "tryDiv", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42015,9 +42015,9 @@ "attributes": { "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 883, + "id": 375, "name": "StructuredDocumentation", - "src": "12519:138:1" + "src": "12883:142:0" }, { "children": [ @@ -42026,7 +42026,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42038,21 +42038,21 @@ "name": "uint256", "type": "uint256" }, - "id": 884, + "id": 376, "name": "ElementaryTypeName", - "src": "12678:7:1" + "src": "13047:7:0" } ], - "id": 885, + "id": 377, "name": "VariableDeclaration", - "src": "12678:9:1" + "src": "13047:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42064,19 +42064,19 @@ "name": "uint256", "type": "uint256" }, - "id": 886, + "id": 378, "name": "ElementaryTypeName", - "src": "12689:7:1" + "src": "13058:7:0" } ], - "id": 887, + "id": 379, "name": "VariableDeclaration", - "src": "12689:9:1" + "src": "13058:9:0" } ], - "id": 888, + "id": 380, "name": "ParameterList", - "src": "12677:22:1" + "src": "13046:22:0" }, { "children": [ @@ -42085,7 +42085,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42097,21 +42097,21 @@ "name": "bool", "type": "bool" }, - "id": 889, + "id": 381, "name": "ElementaryTypeName", - "src": "12723:4:1" + "src": "13092:4:0" } ], - "id": 890, + "id": 382, "name": "VariableDeclaration", - "src": "12723:4:1" + "src": "13092:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42123,19 +42123,19 @@ "name": "uint256", "type": "uint256" }, - "id": 891, + "id": 383, "name": "ElementaryTypeName", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 892, + "id": 384, "name": "VariableDeclaration", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 893, + "id": 385, "name": "ParameterList", - "src": "12722:15:1" + "src": "13091:15:0" }, { "children": [ @@ -42161,13 +42161,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 894, + "id": 386, "name": "Identifier", - "src": "12752:1:1" + "src": "13122:1:0" }, { "attributes": { @@ -42180,18 +42180,18 @@ "type": "int_const 0", "value": "0" }, - "id": 895, + "id": 387, "name": "Literal", - "src": "12757:1:1" + "src": "13127:1:0" } ], - "id": 896, + "id": 388, "name": "BinaryOperation", - "src": "12752:6:1" + "src": "13122:6:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42215,9 +42215,9 @@ "type": "bool", "value": "false" }, - "id": 897, + "id": 389, "name": "Literal", - "src": "12768:5:1" + "src": "13138:5:0" }, { "attributes": { @@ -42230,28 +42230,28 @@ "type": "int_const 0", "value": "0" }, - "id": 898, + "id": 390, "name": "Literal", - "src": "12775:1:1" + "src": "13145:1:0" } ], - "id": 899, + "id": 391, "name": "TupleExpression", - "src": "12767:10:1" + "src": "13137:10:0" } ], - "id": 900, + "id": 392, "name": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } ], - "id": 901, + "id": 393, "name": "IfStatement", - "src": "12748:29:1" + "src": "13118:29:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42275,9 +42275,9 @@ "type": "bool", "value": "true" }, - "id": 902, + "id": 394, "name": "Literal", - "src": "12795:4:1" + "src": "13166:4:0" }, { "attributes": { @@ -42298,51 +42298,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 885, + "referencedDeclaration": 377, "type": "uint256", "value": "a" }, - "id": 903, + "id": 395, "name": "Identifier", - "src": "12801:1:1" + "src": "13172:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 904, + "id": 396, "name": "Identifier", - "src": "12805:1:1" + "src": "13176:1:0" } ], - "id": 905, + "id": 397, "name": "BinaryOperation", - "src": "12801:5:1" + "src": "13172:5:0" } ], - "id": 906, + "id": 398, "name": "TupleExpression", - "src": "12794:13:1" + "src": "13165:13:0" } ], - "id": 907, + "id": 399, "name": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ], - "id": 908, + "id": 400, "name": "Block", - "src": "12738:76:1" + "src": "13107:79:0" } ], - "id": 909, + "id": 401, "name": "FunctionDefinition", - "src": "12662:152:1" + "src": "13031:155:0" }, { "attributes": { @@ -42353,7 +42353,7 @@ null ], "name": "tryMod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42363,9 +42363,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 910, + "id": 402, "name": "StructuredDocumentation", - "src": "12820:148:1" + "src": "13194:152:0" }, { "children": [ @@ -42374,7 +42374,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42386,21 +42386,21 @@ "name": "uint256", "type": "uint256" }, - "id": 911, + "id": 403, "name": "ElementaryTypeName", - "src": "12989:7:1" + "src": "13368:7:0" } ], - "id": 912, + "id": 404, "name": "VariableDeclaration", - "src": "12989:9:1" + "src": "13368:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42412,19 +42412,19 @@ "name": "uint256", "type": "uint256" }, - "id": 913, + "id": 405, "name": "ElementaryTypeName", - "src": "13000:7:1" + "src": "13379:7:0" } ], - "id": 914, + "id": 406, "name": "VariableDeclaration", - "src": "13000:9:1" + "src": "13379:9:0" } ], - "id": 915, + "id": 407, "name": "ParameterList", - "src": "12988:22:1" + "src": "13367:22:0" }, { "children": [ @@ -42433,7 +42433,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42445,21 +42445,21 @@ "name": "bool", "type": "bool" }, - "id": 916, + "id": 408, "name": "ElementaryTypeName", - "src": "13034:4:1" + "src": "13413:4:0" } ], - "id": 917, + "id": 409, "name": "VariableDeclaration", - "src": "13034:4:1" + "src": "13413:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42471,19 +42471,19 @@ "name": "uint256", "type": "uint256" }, - "id": 918, + "id": 410, "name": "ElementaryTypeName", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 919, + "id": 411, "name": "VariableDeclaration", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 920, + "id": 412, "name": "ParameterList", - "src": "13033:15:1" + "src": "13412:15:0" }, { "children": [ @@ -42509,13 +42509,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 921, + "id": 413, "name": "Identifier", - "src": "13063:1:1" + "src": "13443:1:0" }, { "attributes": { @@ -42528,18 +42528,18 @@ "type": "int_const 0", "value": "0" }, - "id": 922, + "id": 414, "name": "Literal", - "src": "13068:1:1" + "src": "13448:1:0" } ], - "id": 923, + "id": 415, "name": "BinaryOperation", - "src": "13063:6:1" + "src": "13443:6:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42563,9 +42563,9 @@ "type": "bool", "value": "false" }, - "id": 924, + "id": 416, "name": "Literal", - "src": "13079:5:1" + "src": "13459:5:0" }, { "attributes": { @@ -42578,28 +42578,28 @@ "type": "int_const 0", "value": "0" }, - "id": 925, + "id": 417, "name": "Literal", - "src": "13086:1:1" + "src": "13466:1:0" } ], - "id": 926, + "id": 418, "name": "TupleExpression", - "src": "13078:10:1" + "src": "13458:10:0" } ], - "id": 927, + "id": 419, "name": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } ], - "id": 928, + "id": 420, "name": "IfStatement", - "src": "13059:29:1" + "src": "13439:29:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42623,9 +42623,9 @@ "type": "bool", "value": "true" }, - "id": 929, + "id": 421, "name": "Literal", - "src": "13106:4:1" + "src": "13487:4:0" }, { "attributes": { @@ -42646,51 +42646,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 912, + "referencedDeclaration": 404, "type": "uint256", "value": "a" }, - "id": 930, + "id": 422, "name": "Identifier", - "src": "13112:1:1" + "src": "13493:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 931, + "id": 423, "name": "Identifier", - "src": "13116:1:1" + "src": "13497:1:0" } ], - "id": 932, + "id": 424, "name": "BinaryOperation", - "src": "13112:5:1" + "src": "13493:5:0" } ], - "id": 933, + "id": 425, "name": "TupleExpression", - "src": "13105:13:1" + "src": "13486:13:0" } ], - "id": 934, + "id": 426, "name": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ], - "id": 935, + "id": 427, "name": "Block", - "src": "13049:76:1" + "src": "13428:79:0" } ], - "id": 936, + "id": 428, "name": "FunctionDefinition", - "src": "12973:152:1" + "src": "13352:155:0" }, { "attributes": { @@ -42701,7 +42701,7 @@ null ], "name": "add", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42711,9 +42711,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 937, + "id": 429, "name": "StructuredDocumentation", - "src": "13131:224:1" + "src": "13515:233:0" }, { "children": [ @@ -42722,7 +42722,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42734,21 +42734,21 @@ "name": "uint256", "type": "uint256" }, - "id": 938, + "id": 430, "name": "ElementaryTypeName", - "src": "13373:7:1" + "src": "13767:7:0" } ], - "id": 939, + "id": 431, "name": "VariableDeclaration", - "src": "13373:9:1" + "src": "13767:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42760,19 +42760,19 @@ "name": "uint256", "type": "uint256" }, - "id": 940, + "id": 432, "name": "ElementaryTypeName", - "src": "13384:7:1" + "src": "13778:7:0" } ], - "id": 941, + "id": 433, "name": "VariableDeclaration", - "src": "13384:9:1" + "src": "13778:9:0" } ], - "id": 942, + "id": 434, "name": "ParameterList", - "src": "13372:22:1" + "src": "13766:22:0" }, { "children": [ @@ -42781,7 +42781,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42793,26 +42793,26 @@ "name": "uint256", "type": "uint256" }, - "id": 943, + "id": 435, "name": "ElementaryTypeName", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 944, + "id": 436, "name": "VariableDeclaration", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 945, + "id": 437, "name": "ParameterList", - "src": "13417:9:1" + "src": "13811:9:0" }, { "children": [ { "attributes": { "assignments": [ - 947 + 439 ] }, "children": [ @@ -42821,7 +42821,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 961, + "scope": 453, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42833,14 +42833,14 @@ "name": "uint256", "type": "uint256" }, - "id": 946, + "id": 438, "name": "ElementaryTypeName", - "src": "13437:7:1" + "src": "13832:7:0" } ], - "id": 947, + "id": 439, "name": "VariableDeclaration", - "src": "13437:9:1" + "src": "13832:9:0" }, { "attributes": { @@ -42861,36 +42861,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 948, + "id": 440, "name": "Identifier", - "src": "13449:1:1" + "src": "13844:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 941, + "referencedDeclaration": 433, "type": "uint256", "value": "b" }, - "id": 949, + "id": 441, "name": "Identifier", - "src": "13453:1:1" + "src": "13848:1:0" } ], - "id": 950, + "id": 442, "name": "BinaryOperation", - "src": "13449:5:1" + "src": "13844:5:0" } ], - "id": 951, + "id": 443, "name": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "children": [ @@ -42929,9 +42929,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 952, + "id": 444, "name": "Identifier", - "src": "13464:7:1" + "src": "13860:7:0" }, { "attributes": { @@ -42952,31 +42952,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 953, + "id": 445, "name": "Identifier", - "src": "13472:1:1" + "src": "13868:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 954, + "id": 446, "name": "Identifier", - "src": "13477:1:1" + "src": "13873:1:0" } ], - "id": 955, + "id": 447, "name": "BinaryOperation", - "src": "13472:6:1" + "src": "13868:6:0" }, { "attributes": { @@ -42989,23 +42989,23 @@ "type": "literal_string \"SafeMath: addition overflow\"", "value": "SafeMath: addition overflow" }, - "id": 956, + "id": 448, "name": "Literal", - "src": "13480:29:1" + "src": "13876:29:0" } ], - "id": 957, + "id": 449, "name": "FunctionCall", - "src": "13464:46:1" + "src": "13860:46:0" } ], - "id": 958, + "id": 450, "name": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "attributes": { - "functionReturnParameters": 945 + "functionReturnParameters": 437 }, "children": [ { @@ -43013,28 +43013,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 959, + "id": 451, "name": "Identifier", - "src": "13527:1:1" + "src": "13924:1:0" } ], - "id": 960, + "id": 452, "name": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ], - "id": 961, + "id": 453, "name": "Block", - "src": "13427:108:1" + "src": "13821:112:0" } ], - "id": 962, + "id": 454, "name": "FunctionDefinition", - "src": "13360:175:1" + "src": "13754:179:0" }, { "attributes": { @@ -43045,7 +43045,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43055,9 +43055,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 963, + "id": 455, "name": "StructuredDocumentation", - "src": "13541:260:1" + "src": "13941:269:0" }, { "children": [ @@ -43066,7 +43066,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43078,21 +43078,21 @@ "name": "uint256", "type": "uint256" }, - "id": 964, + "id": 456, "name": "ElementaryTypeName", - "src": "13819:7:1" + "src": "14229:7:0" } ], - "id": 965, + "id": 457, "name": "VariableDeclaration", - "src": "13819:9:1" + "src": "14229:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43104,19 +43104,19 @@ "name": "uint256", "type": "uint256" }, - "id": 966, + "id": 458, "name": "ElementaryTypeName", - "src": "13830:7:1" + "src": "14240:7:0" } ], - "id": 967, + "id": 459, "name": "VariableDeclaration", - "src": "13830:9:1" + "src": "14240:9:0" } ], - "id": 968, + "id": 460, "name": "ParameterList", - "src": "13818:22:1" + "src": "14228:22:0" }, { "children": [ @@ -43125,7 +43125,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43137,19 +43137,19 @@ "name": "uint256", "type": "uint256" }, - "id": 969, + "id": 461, "name": "ElementaryTypeName", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 970, + "id": 462, "name": "VariableDeclaration", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 971, + "id": 463, "name": "ParameterList", - "src": "13863:9:1" + "src": "14273:9:0" }, { "children": [ @@ -43190,9 +43190,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 972, + "id": 464, "name": "Identifier", - "src": "13883:7:1" + "src": "14294:7:0" }, { "attributes": { @@ -43213,31 +43213,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 973, + "id": 465, "name": "Identifier", - "src": "13891:1:1" + "src": "14302:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 974, + "id": 466, "name": "Identifier", - "src": "13896:1:1" + "src": "14307:1:0" } ], - "id": 975, + "id": 467, "name": "BinaryOperation", - "src": "13891:6:1" + "src": "14302:6:0" }, { "attributes": { @@ -43250,23 +43250,23 @@ "type": "literal_string \"SafeMath: subtraction overflow\"", "value": "SafeMath: subtraction overflow" }, - "id": 976, + "id": 468, "name": "Literal", - "src": "13899:32:1" + "src": "14310:32:0" } ], - "id": 977, + "id": 469, "name": "FunctionCall", - "src": "13883:49:1" + "src": "14294:49:0" } ], - "id": 978, + "id": 470, "name": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "attributes": { - "functionReturnParameters": 971 + "functionReturnParameters": 463 }, "children": [ { @@ -43288,46 +43288,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 979, + "id": 471, "name": "Identifier", - "src": "13949:1:1" + "src": "14361:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 980, + "id": 472, "name": "Identifier", - "src": "13953:1:1" + "src": "14365:1:0" } ], - "id": 981, + "id": 473, "name": "BinaryOperation", - "src": "13949:5:1" + "src": "14361:5:0" } ], - "id": 982, + "id": 474, "name": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ], - "id": 983, + "id": 475, "name": "Block", - "src": "13873:88:1" + "src": "14283:91:0" } ], - "id": 984, + "id": 476, "name": "FunctionDefinition", - "src": "13806:155:1" + "src": "14216:158:0" }, { "attributes": { @@ -43338,7 +43338,7 @@ null ], "name": "mul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43348,9 +43348,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 985, + "id": 477, "name": "StructuredDocumentation", - "src": "13967:236:1" + "src": "14382:245:0" }, { "children": [ @@ -43359,7 +43359,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43371,21 +43371,21 @@ "name": "uint256", "type": "uint256" }, - "id": 986, + "id": 478, "name": "ElementaryTypeName", - "src": "14221:7:1" + "src": "14646:7:0" } ], - "id": 987, + "id": 479, "name": "VariableDeclaration", - "src": "14221:9:1" + "src": "14646:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43397,19 +43397,19 @@ "name": "uint256", "type": "uint256" }, - "id": 988, + "id": 480, "name": "ElementaryTypeName", - "src": "14232:7:1" + "src": "14657:7:0" } ], - "id": 989, + "id": 481, "name": "VariableDeclaration", - "src": "14232:9:1" + "src": "14657:9:0" } ], - "id": 990, + "id": 482, "name": "ParameterList", - "src": "14220:22:1" + "src": "14645:22:0" }, { "children": [ @@ -43418,7 +43418,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43430,19 +43430,19 @@ "name": "uint256", "type": "uint256" }, - "id": 991, + "id": 483, "name": "ElementaryTypeName", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 992, + "id": 484, "name": "VariableDeclaration", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 993, + "id": 485, "name": "ParameterList", - "src": "14265:9:1" + "src": "14690:9:0" }, { "children": [ @@ -43468,13 +43468,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 994, + "id": 486, "name": "Identifier", - "src": "14289:1:1" + "src": "14715:1:0" }, { "attributes": { @@ -43487,18 +43487,18 @@ "type": "int_const 0", "value": "0" }, - "id": 995, + "id": 487, "name": "Literal", - "src": "14294:1:1" + "src": "14720:1:0" } ], - "id": 996, + "id": 488, "name": "BinaryOperation", - "src": "14289:6:1" + "src": "14715:6:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43512,24 +43512,24 @@ "type": "int_const 0", "value": "0" }, - "id": 997, + "id": 489, "name": "Literal", - "src": "14304:1:1" + "src": "14730:1:0" } ], - "id": 998, + "id": 490, "name": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } ], - "id": 999, + "id": 491, "name": "IfStatement", - "src": "14285:20:1" + "src": "14711:20:0" }, { "attributes": { "assignments": [ - 1001 + 493 ] }, "children": [ @@ -43538,7 +43538,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 1017, + "scope": 509, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43550,14 +43550,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1000, + "id": 492, "name": "ElementaryTypeName", - "src": "14315:7:1" + "src": "14742:7:0" } ], - "id": 1001, + "id": 493, "name": "VariableDeclaration", - "src": "14315:9:1" + "src": "14742:9:0" }, { "attributes": { @@ -43578,36 +43578,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1002, + "id": 494, "name": "Identifier", - "src": "14327:1:1" + "src": "14754:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1003, + "id": 495, "name": "Identifier", - "src": "14331:1:1" + "src": "14758:1:0" } ], - "id": 1004, + "id": 496, "name": "BinaryOperation", - "src": "14327:5:1" + "src": "14754:5:0" } ], - "id": 1005, + "id": 497, "name": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "children": [ @@ -43646,9 +43646,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1006, + "id": 498, "name": "Identifier", - "src": "14342:7:1" + "src": "14770:7:0" }, { "attributes": { @@ -43683,49 +43683,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1007, + "id": 499, "name": "Identifier", - "src": "14350:1:1" + "src": "14778:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1008, + "id": 500, "name": "Identifier", - "src": "14354:1:1" + "src": "14782:1:0" } ], - "id": 1009, + "id": 501, "name": "BinaryOperation", - "src": "14350:5:1" + "src": "14778:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1010, + "id": 502, "name": "Identifier", - "src": "14359:1:1" + "src": "14787:1:0" } ], - "id": 1011, + "id": 503, "name": "BinaryOperation", - "src": "14350:10:1" + "src": "14778:10:0" }, { "attributes": { @@ -43738,23 +43738,23 @@ "type": "literal_string \"SafeMath: multiplication overflow\"", "value": "SafeMath: multiplication overflow" }, - "id": 1012, + "id": 504, "name": "Literal", - "src": "14362:35:1" + "src": "14790:35:0" } ], - "id": 1013, + "id": 505, "name": "FunctionCall", - "src": "14342:56:1" + "src": "14770:56:0" } ], - "id": 1014, + "id": 506, "name": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43762,28 +43762,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1015, + "id": 507, "name": "Identifier", - "src": "14415:1:1" + "src": "14844:1:0" } ], - "id": 1016, + "id": 508, "name": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ], - "id": 1017, + "id": 509, "name": "Block", - "src": "14275:148:1" + "src": "14700:153:0" } ], - "id": 1018, + "id": 510, "name": "FunctionDefinition", - "src": "14208:215:1" + "src": "14633:220:0" }, { "attributes": { @@ -43794,7 +43794,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43804,9 +43804,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1019, + "id": 511, "name": "StructuredDocumentation", - "src": "14429:453:1" + "src": "14861:464:0" }, { "children": [ @@ -43815,7 +43815,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43827,21 +43827,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1020, + "id": 512, "name": "ElementaryTypeName", - "src": "14900:7:1" + "src": "15344:7:0" } ], - "id": 1021, + "id": 513, "name": "VariableDeclaration", - "src": "14900:9:1" + "src": "15344:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43853,19 +43853,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1022, + "id": 514, "name": "ElementaryTypeName", - "src": "14911:7:1" + "src": "15355:7:0" } ], - "id": 1023, + "id": 515, "name": "VariableDeclaration", - "src": "14911:9:1" + "src": "15355:9:0" } ], - "id": 1024, + "id": 516, "name": "ParameterList", - "src": "14899:22:1" + "src": "15343:22:0" }, { "children": [ @@ -43874,7 +43874,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43886,19 +43886,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1025, + "id": 517, "name": "ElementaryTypeName", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1026, + "id": 518, "name": "VariableDeclaration", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1027, + "id": 519, "name": "ParameterList", - "src": "14944:9:1" + "src": "15388:9:0" }, { "children": [ @@ -43939,9 +43939,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1028, + "id": 520, "name": "Identifier", - "src": "14964:7:1" + "src": "15409:7:0" }, { "attributes": { @@ -43962,13 +43962,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1029, + "id": 521, "name": "Identifier", - "src": "14972:1:1" + "src": "15417:1:0" }, { "attributes": { @@ -43981,14 +43981,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1030, + "id": 522, "name": "Literal", - "src": "14976:1:1" + "src": "15421:1:0" } ], - "id": 1031, + "id": 523, "name": "BinaryOperation", - "src": "14972:5:1" + "src": "15417:5:0" }, { "attributes": { @@ -44001,23 +44001,23 @@ "type": "literal_string \"SafeMath: division by zero\"", "value": "SafeMath: division by zero" }, - "id": 1032, + "id": 524, "name": "Literal", - "src": "14979:28:1" + "src": "15424:28:0" } ], - "id": 1033, + "id": 525, "name": "FunctionCall", - "src": "14964:44:1" + "src": "15409:44:0" } ], - "id": 1034, + "id": 526, "name": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "attributes": { - "functionReturnParameters": 1027 + "functionReturnParameters": 519 }, "children": [ { @@ -44039,46 +44039,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1021, + "referencedDeclaration": 513, "type": "uint256", "value": "a" }, - "id": 1035, + "id": 527, "name": "Identifier", - "src": "15025:1:1" + "src": "15471:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1036, + "id": 528, "name": "Identifier", - "src": "15029:1:1" + "src": "15475:1:0" } ], - "id": 1037, + "id": 529, "name": "BinaryOperation", - "src": "15025:5:1" + "src": "15471:5:0" } ], - "id": 1038, + "id": 530, "name": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ], - "id": 1039, + "id": 531, "name": "Block", - "src": "14954:83:1" + "src": "15398:86:0" } ], - "id": 1040, + "id": 532, "name": "FunctionDefinition", - "src": "14887:150:1" + "src": "15331:153:0" }, { "attributes": { @@ -44089,7 +44089,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44099,9 +44099,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1041, + "id": 533, "name": "StructuredDocumentation", - "src": "15043:442:1" + "src": "15492:453:0" }, { "children": [ @@ -44110,7 +44110,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44122,21 +44122,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1042, + "id": 534, "name": "ElementaryTypeName", - "src": "15503:7:1" + "src": "15964:7:0" } ], - "id": 1043, + "id": 535, "name": "VariableDeclaration", - "src": "15503:9:1" + "src": "15964:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44148,19 +44148,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1044, + "id": 536, "name": "ElementaryTypeName", - "src": "15514:7:1" + "src": "15975:7:0" } ], - "id": 1045, + "id": 537, "name": "VariableDeclaration", - "src": "15514:9:1" + "src": "15975:9:0" } ], - "id": 1046, + "id": 538, "name": "ParameterList", - "src": "15502:22:1" + "src": "15963:22:0" }, { "children": [ @@ -44169,7 +44169,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44181,19 +44181,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1047, + "id": 539, "name": "ElementaryTypeName", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1048, + "id": 540, "name": "VariableDeclaration", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1049, + "id": 541, "name": "ParameterList", - "src": "15547:9:1" + "src": "16008:9:0" }, { "children": [ @@ -44234,9 +44234,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1050, + "id": 542, "name": "Identifier", - "src": "15567:7:1" + "src": "16029:7:0" }, { "attributes": { @@ -44257,13 +44257,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1051, + "id": 543, "name": "Identifier", - "src": "15575:1:1" + "src": "16037:1:0" }, { "attributes": { @@ -44276,14 +44276,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1052, + "id": 544, "name": "Literal", - "src": "15579:1:1" + "src": "16041:1:0" } ], - "id": 1053, + "id": 545, "name": "BinaryOperation", - "src": "15575:5:1" + "src": "16037:5:0" }, { "attributes": { @@ -44296,23 +44296,23 @@ "type": "literal_string \"SafeMath: modulo by zero\"", "value": "SafeMath: modulo by zero" }, - "id": 1054, + "id": 546, "name": "Literal", - "src": "15582:26:1" + "src": "16044:26:0" } ], - "id": 1055, + "id": 547, "name": "FunctionCall", - "src": "15567:42:1" + "src": "16029:42:0" } ], - "id": 1056, + "id": 548, "name": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "attributes": { - "functionReturnParameters": 1049 + "functionReturnParameters": 541 }, "children": [ { @@ -44334,46 +44334,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1043, + "referencedDeclaration": 535, "type": "uint256", "value": "a" }, - "id": 1057, + "id": 549, "name": "Identifier", - "src": "15626:1:1" + "src": "16089:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1058, + "id": 550, "name": "Identifier", - "src": "15630:1:1" + "src": "16093:1:0" } ], - "id": 1059, + "id": 551, "name": "BinaryOperation", - "src": "15626:5:1" + "src": "16089:5:0" } ], - "id": 1060, + "id": 552, "name": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ], - "id": 1061, + "id": 553, "name": "Block", - "src": "15557:81:1" + "src": "16018:84:0" } ], - "id": 1062, + "id": 554, "name": "FunctionDefinition", - "src": "15490:148:1" + "src": "15951:151:0" }, { "attributes": { @@ -44384,7 +44384,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44394,9 +44394,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1063, + "id": 555, "name": "StructuredDocumentation", - "src": "15644:453:1" + "src": "16110:465:0" }, { "children": [ @@ -44405,7 +44405,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44417,21 +44417,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1064, + "id": 556, "name": "ElementaryTypeName", - "src": "16115:7:1" + "src": "16594:7:0" } ], - "id": 1065, + "id": 557, "name": "VariableDeclaration", - "src": "16115:9:1" + "src": "16594:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44443,21 +44443,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1066, + "id": 558, "name": "ElementaryTypeName", - "src": "16126:7:1" + "src": "16605:7:0" } ], - "id": 1067, + "id": 559, "name": "VariableDeclaration", - "src": "16126:9:1" + "src": "16605:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44469,19 +44469,19 @@ "name": "string", "type": "string" }, - "id": 1068, + "id": 560, "name": "ElementaryTypeName", - "src": "16137:6:1" + "src": "16616:6:0" } ], - "id": 1069, + "id": 561, "name": "VariableDeclaration", - "src": "16137:26:1" + "src": "16616:26:0" } ], - "id": 1070, + "id": 562, "name": "ParameterList", - "src": "16114:50:1" + "src": "16593:50:0" }, { "children": [ @@ -44490,7 +44490,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44502,19 +44502,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1071, + "id": 563, "name": "ElementaryTypeName", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1072, + "id": 564, "name": "VariableDeclaration", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1073, + "id": 565, "name": "ParameterList", - "src": "16187:9:1" + "src": "16666:9:0" }, { "children": [ @@ -44555,9 +44555,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1074, + "id": 566, "name": "Identifier", - "src": "16207:7:1" + "src": "16687:7:0" }, { "attributes": { @@ -44578,58 +44578,58 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1075, + "id": 567, "name": "Identifier", - "src": "16215:1:1" + "src": "16695:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1076, + "id": 568, "name": "Identifier", - "src": "16220:1:1" + "src": "16700:1:0" } ], - "id": 1077, + "id": 569, "name": "BinaryOperation", - "src": "16215:6:1" + "src": "16695:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1069, + "referencedDeclaration": 561, "type": "string memory", "value": "errorMessage" }, - "id": 1078, + "id": 570, "name": "Identifier", - "src": "16223:12:1" + "src": "16703:12:0" } ], - "id": 1079, + "id": 571, "name": "FunctionCall", - "src": "16207:29:1" + "src": "16687:29:0" } ], - "id": 1080, + "id": 572, "name": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "attributes": { - "functionReturnParameters": 1073 + "functionReturnParameters": 565 }, "children": [ { @@ -44651,46 +44651,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1081, + "id": 573, "name": "Identifier", - "src": "16253:1:1" + "src": "16734:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1082, + "id": 574, "name": "Identifier", - "src": "16257:1:1" + "src": "16738:1:0" } ], - "id": 1083, + "id": 575, "name": "BinaryOperation", - "src": "16253:5:1" + "src": "16734:5:0" } ], - "id": 1084, + "id": 576, "name": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ], - "id": 1085, + "id": 577, "name": "Block", - "src": "16197:68:1" + "src": "16676:71:0" } ], - "id": 1086, + "id": 578, "name": "FunctionDefinition", - "src": "16102:163:1" + "src": "16581:166:0" }, { "attributes": { @@ -44701,7 +44701,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44711,9 +44711,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1087, + "id": 579, "name": "StructuredDocumentation", - "src": "16271:646:1" + "src": "16755:660:0" }, { "children": [ @@ -44722,7 +44722,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44734,21 +44734,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1088, + "id": 580, "name": "ElementaryTypeName", - "src": "16935:7:1" + "src": "17434:7:0" } ], - "id": 1089, + "id": 581, "name": "VariableDeclaration", - "src": "16935:9:1" + "src": "17434:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44760,21 +44760,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1090, + "id": 582, "name": "ElementaryTypeName", - "src": "16946:7:1" + "src": "17445:7:0" } ], - "id": 1091, + "id": 583, "name": "VariableDeclaration", - "src": "16946:9:1" + "src": "17445:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44786,19 +44786,19 @@ "name": "string", "type": "string" }, - "id": 1092, + "id": 584, "name": "ElementaryTypeName", - "src": "16957:6:1" + "src": "17456:6:0" } ], - "id": 1093, + "id": 585, "name": "VariableDeclaration", - "src": "16957:26:1" + "src": "17456:26:0" } ], - "id": 1094, + "id": 586, "name": "ParameterList", - "src": "16934:50:1" + "src": "17433:50:0" }, { "children": [ @@ -44807,7 +44807,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44819,19 +44819,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1095, + "id": 587, "name": "ElementaryTypeName", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1096, + "id": 588, "name": "VariableDeclaration", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1097, + "id": 589, "name": "ParameterList", - "src": "17007:9:1" + "src": "17506:9:0" }, { "children": [ @@ -44872,9 +44872,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1098, + "id": 590, "name": "Identifier", - "src": "17027:7:1" + "src": "17527:7:0" }, { "attributes": { @@ -44895,13 +44895,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1099, + "id": 591, "name": "Identifier", - "src": "17035:1:1" + "src": "17535:1:0" }, { "attributes": { @@ -44914,41 +44914,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1100, + "id": 592, "name": "Literal", - "src": "17039:1:1" + "src": "17539:1:0" } ], - "id": 1101, + "id": 593, "name": "BinaryOperation", - "src": "17035:5:1" + "src": "17535:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1093, + "referencedDeclaration": 585, "type": "string memory", "value": "errorMessage" }, - "id": 1102, + "id": 594, "name": "Identifier", - "src": "17042:12:1" + "src": "17542:12:0" } ], - "id": 1103, + "id": 595, "name": "FunctionCall", - "src": "17027:28:1" + "src": "17527:28:0" } ], - "id": 1104, + "id": 596, "name": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "attributes": { - "functionReturnParameters": 1097 + "functionReturnParameters": 589 }, "children": [ { @@ -44970,46 +44970,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1089, + "referencedDeclaration": 581, "type": "uint256", "value": "a" }, - "id": 1105, + "id": 597, "name": "Identifier", - "src": "17072:1:1" + "src": "17573:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1106, + "id": 598, "name": "Identifier", - "src": "17076:1:1" + "src": "17577:1:0" } ], - "id": 1107, + "id": 599, "name": "BinaryOperation", - "src": "17072:5:1" + "src": "17573:5:0" } ], - "id": 1108, + "id": 600, "name": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ], - "id": 1109, + "id": 601, "name": "Block", - "src": "17017:67:1" + "src": "17516:70:0" } ], - "id": 1110, + "id": 602, "name": "FunctionDefinition", - "src": "16922:162:1" + "src": "17421:165:0" }, { "attributes": { @@ -45020,7 +45020,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -45030,9 +45030,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1111, + "id": 603, "name": "StructuredDocumentation", - "src": "17090:635:1" + "src": "17594:649:0" }, { "children": [ @@ -45041,7 +45041,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45053,21 +45053,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1112, + "id": 604, "name": "ElementaryTypeName", - "src": "17743:7:1" + "src": "18262:7:0" } ], - "id": 1113, + "id": 605, "name": "VariableDeclaration", - "src": "17743:9:1" + "src": "18262:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45079,21 +45079,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1114, + "id": 606, "name": "ElementaryTypeName", - "src": "17754:7:1" + "src": "18273:7:0" } ], - "id": 1115, + "id": 607, "name": "VariableDeclaration", - "src": "17754:9:1" + "src": "18273:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -45105,19 +45105,19 @@ "name": "string", "type": "string" }, - "id": 1116, + "id": 608, "name": "ElementaryTypeName", - "src": "17765:6:1" + "src": "18284:6:0" } ], - "id": 1117, + "id": 609, "name": "VariableDeclaration", - "src": "17765:26:1" + "src": "18284:26:0" } ], - "id": 1118, + "id": 610, "name": "ParameterList", - "src": "17742:50:1" + "src": "18261:50:0" }, { "children": [ @@ -45126,7 +45126,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45138,19 +45138,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1119, + "id": 611, "name": "ElementaryTypeName", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1120, + "id": 612, "name": "VariableDeclaration", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1121, + "id": 613, "name": "ParameterList", - "src": "17815:9:1" + "src": "18334:9:0" }, { "children": [ @@ -45191,9 +45191,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1122, + "id": 614, "name": "Identifier", - "src": "17835:7:1" + "src": "18355:7:0" }, { "attributes": { @@ -45214,13 +45214,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1123, + "id": 615, "name": "Identifier", - "src": "17843:1:1" + "src": "18363:1:0" }, { "attributes": { @@ -45233,41 +45233,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1124, + "id": 616, "name": "Literal", - "src": "17847:1:1" + "src": "18367:1:0" } ], - "id": 1125, + "id": 617, "name": "BinaryOperation", - "src": "17843:5:1" + "src": "18363:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1117, + "referencedDeclaration": 609, "type": "string memory", "value": "errorMessage" }, - "id": 1126, + "id": 618, "name": "Identifier", - "src": "17850:12:1" + "src": "18370:12:0" } ], - "id": 1127, + "id": 619, "name": "FunctionCall", - "src": "17835:28:1" + "src": "18355:28:0" } ], - "id": 1128, + "id": 620, "name": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "attributes": { - "functionReturnParameters": 1121 + "functionReturnParameters": 613 }, "children": [ { @@ -45289,51 +45289,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1113, + "referencedDeclaration": 605, "type": "uint256", "value": "a" }, - "id": 1129, + "id": 621, "name": "Identifier", - "src": "17880:1:1" + "src": "18401:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1130, + "id": 622, "name": "Identifier", - "src": "17884:1:1" + "src": "18405:1:0" } ], - "id": 1131, + "id": 623, "name": "BinaryOperation", - "src": "17880:5:1" + "src": "18401:5:0" } ], - "id": 1132, + "id": 624, "name": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ], - "id": 1133, + "id": 625, "name": "Block", - "src": "17825:67:1" + "src": "18344:70:0" } ], - "id": 1134, + "id": 626, "name": "FunctionDefinition", - "src": "17730:162:1" + "src": "18249:165:0" } ], - "id": 1135, + "id": 627, "name": "ContractDefinition", - "src": "11300:6594:1" + "src": "11627:6790:0" }, { "attributes": { @@ -45347,9 +45347,9 @@ ".0" ] }, - "id": 1136, + "id": 628, "name": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "attributes": { @@ -45363,19 +45363,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Collection of functions related to the address type" }, - "id": 1137, + "id": 629, "name": "StructuredDocumentation", - "src": "17980:67:1" + "src": "18508:69:0" }, { "attributes": { @@ -45386,7 +45386,7 @@ null ], "name": "isContract", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -45396,9 +45396,9 @@ "attributes": { "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1138, + "id": 630, "name": "StructuredDocumentation", - "src": "18070:565:1" + "src": "18602:581:0" }, { "children": [ @@ -45407,7 +45407,7 @@ "constant": false, "mutability": "mutable", "name": "account", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -45420,19 +45420,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1139, + "id": 631, "name": "ElementaryTypeName", - "src": "18660:7:1" + "src": "19209:7:0" } ], - "id": 1140, + "id": 632, "name": "VariableDeclaration", - "src": "18660:15:1" + "src": "19209:15:0" } ], - "id": 1141, + "id": 633, "name": "ParameterList", - "src": "18659:17:1" + "src": "19208:17:0" }, { "children": [ @@ -45441,7 +45441,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45453,26 +45453,26 @@ "name": "bool", "type": "bool" }, - "id": 1142, + "id": 634, "name": "ElementaryTypeName", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1143, + "id": 635, "name": "VariableDeclaration", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1144, + "id": 636, "name": "ParameterList", - "src": "18699:6:1" + "src": "19248:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1146 + 638 ] }, "children": [ @@ -45481,7 +45481,7 @@ "constant": false, "mutability": "mutable", "name": "size", - "scope": 1153, + "scope": 645, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45493,49 +45493,49 @@ "name": "uint256", "type": "uint256" }, - "id": 1145, + "id": 637, "name": "ElementaryTypeName", - "src": "18903:7:1" + "src": "19457:7:0" } ], - "id": 1146, + "id": 638, "name": "VariableDeclaration", - "src": "18903:12:1" + "src": "19457:12:0" } ], - "id": 1147, + "id": 639, "name": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "attributes": { "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], "operations": "{ size := extcodesize(account) }" }, "children": [], - "id": 1148, + "id": 640, "name": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "attributes": { - "functionReturnParameters": 1144 + "functionReturnParameters": 636 }, "children": [ { @@ -45557,13 +45557,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1146, + "referencedDeclaration": 638, "type": "uint256", "value": "size" }, - "id": 1149, + "id": 641, "name": "Identifier", - "src": "19038:4:1" + "src": "19595:4:0" }, { "attributes": { @@ -45576,29 +45576,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1150, + "id": 642, "name": "Literal", - "src": "19045:1:1" + "src": "19602:1:0" } ], - "id": 1151, + "id": 643, "name": "BinaryOperation", - "src": "19038:8:1" + "src": "19595:8:0" } ], - "id": 1152, + "id": 644, "name": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ], - "id": 1153, + "id": 645, "name": "Block", - "src": "18706:347:1" + "src": "19255:356:0" } ], - "id": 1154, + "id": 646, "name": "FunctionDefinition", - "src": "18640:413:1" + "src": "19189:422:0" }, { "attributes": { @@ -45609,7 +45609,7 @@ null ], "name": "sendValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -45619,9 +45619,9 @@ "attributes": { "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1155, + "id": 647, "name": "StructuredDocumentation", - "src": "19059:906:1" + "src": "19619:921:0" }, { "children": [ @@ -45630,7 +45630,7 @@ "constant": false, "mutability": "mutable", "name": "recipient", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -45643,21 +45643,21 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 1156, + "id": 648, "name": "ElementaryTypeName", - "src": "19989:15:1" + "src": "20565:15:0" } ], - "id": 1157, + "id": 649, "name": "VariableDeclaration", - "src": "19989:25:1" + "src": "20565:25:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "amount", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45669,19 +45669,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1158, + "id": 650, "name": "ElementaryTypeName", - "src": "20016:7:1" + "src": "20592:7:0" } ], - "id": 1159, + "id": 651, "name": "VariableDeclaration", - "src": "20016:14:1" + "src": "20592:14:0" } ], - "id": 1160, + "id": 652, "name": "ParameterList", - "src": "19988:43:1" + "src": "20564:43:0" }, { "attributes": { @@ -45690,9 +45690,9 @@ ] }, "children": [], - "id": 1161, + "id": 653, "name": "ParameterList", - "src": "20041:0:1" + "src": "20617:0:0" }, { "children": [ @@ -45733,9 +45733,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1162, + "id": 654, "name": "Identifier", - "src": "20051:7:1" + "src": "20628:7:0" }, { "attributes": { @@ -45780,7 +45780,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -45795,14 +45795,14 @@ "attributes": { "name": "address" }, - "id": 1163, + "id": 655, "name": "ElementaryTypeName", - "src": "20059:7:1" + "src": "20636:7:0" } ], - "id": 1164, + "id": 656, "name": "ElementaryTypeNameExpression", - "src": "20059:7:1" + "src": "20636:7:0" }, { "attributes": { @@ -45813,37 +45813,37 @@ "type": "library Address", "value": "this" }, - "id": 1165, + "id": 657, "name": "Identifier", - "src": "20067:4:1" + "src": "20644:4:0" } ], - "id": 1166, + "id": 658, "name": "FunctionCall", - "src": "20059:13:1" + "src": "20636:13:0" } ], - "id": 1167, + "id": 659, "name": "MemberAccess", - "src": "20059:21:1" + "src": "20636:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1168, + "id": 660, "name": "Identifier", - "src": "20084:6:1" + "src": "20661:6:0" } ], - "id": 1169, + "id": 661, "name": "BinaryOperation", - "src": "20059:31:1" + "src": "20636:31:0" }, { "attributes": { @@ -45856,24 +45856,24 @@ "type": "literal_string \"Address: insufficient balance\"", "value": "Address: insufficient balance" }, - "id": 1170, + "id": 662, "name": "Literal", - "src": "20092:31:1" + "src": "20669:31:0" } ], - "id": 1171, + "id": 663, "name": "FunctionCall", - "src": "20051:73:1" + "src": "20628:73:0" } ], - "id": 1172, + "id": 664, "name": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "attributes": { "assignments": [ - 1174, + 666, null ] }, @@ -45883,7 +45883,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1187, + "scope": 679, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45895,14 +45895,14 @@ "name": "bool", "type": "bool" }, - "id": 1173, + "id": 665, "name": "ElementaryTypeName", - "src": "20213:4:1" + "src": "20793:4:0" } ], - "id": 1174, + "id": 666, "name": "VariableDeclaration", - "src": "20213:12:1" + "src": "20793:12:0" }, { "attributes": { @@ -45958,36 +45958,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1157, + "referencedDeclaration": 649, "type": "address payable", "value": "recipient" }, - "id": 1175, + "id": 667, "name": "Identifier", - "src": "20231:9:1" + "src": "20811:9:0" } ], - "id": 1176, + "id": 668, "name": "MemberAccess", - "src": "20231:14:1" + "src": "20811:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1177, + "id": 669, "name": "Identifier", - "src": "20254:6:1" + "src": "20834:6:0" } ], - "id": 1178, + "id": 670, "name": "FunctionCallOptions", - "src": "20231:31:1" + "src": "20811:31:0" }, { "attributes": { @@ -46000,19 +46000,19 @@ "type": "literal_string \"\"", "value": "" }, - "id": 1179, + "id": 671, "name": "Literal", - "src": "20263:2:1" + "src": "20843:2:0" } ], - "id": 1180, + "id": 672, "name": "FunctionCall", - "src": "20231:35:1" + "src": "20811:35:0" } ], - "id": 1181, + "id": 673, "name": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "children": [ @@ -46051,22 +46051,22 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1182, + "id": 674, "name": "Identifier", - "src": "20276:7:1" + "src": "20857:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 666, "type": "bool", "value": "success" }, - "id": 1183, + "id": 675, "name": "Identifier", - "src": "20284:7:1" + "src": "20865:7:0" }, { "attributes": { @@ -46079,29 +46079,29 @@ "type": "literal_string \"Address: unable to send value, recipient may have reverted\"", "value": "Address: unable to send value, recipient may have reverted" }, - "id": 1184, + "id": 676, "name": "Literal", - "src": "20293:60:1" + "src": "20874:60:0" } ], - "id": 1185, + "id": 677, "name": "FunctionCall", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1186, + "id": 678, "name": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1187, + "id": 679, "name": "Block", - "src": "20041:320:1" + "src": "20617:326:0" } ], - "id": 1188, + "id": 680, "name": "FunctionDefinition", - "src": "19970:391:1" + "src": "20546:397:0" }, { "attributes": { @@ -46112,7 +46112,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46122,9 +46122,9 @@ "attributes": { "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1189, + "id": 681, "name": "StructuredDocumentation", - "src": "20367:730:1" + "src": "20951:747:0" }, { "children": [ @@ -46133,7 +46133,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46146,21 +46146,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1190, + "id": 682, "name": "ElementaryTypeName", - "src": "21124:7:1" + "src": "21726:7:0" } ], - "id": 1191, + "id": 683, "name": "VariableDeclaration", - "src": "21124:14:1" + "src": "21726:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46172,19 +46172,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1192, + "id": 684, "name": "ElementaryTypeName", - "src": "21140:5:1" + "src": "21742:5:0" } ], - "id": 1193, + "id": 685, "name": "VariableDeclaration", - "src": "21140:17:1" + "src": "21742:17:0" } ], - "id": 1194, + "id": 686, "name": "ParameterList", - "src": "21123:35:1" + "src": "21725:35:0" }, { "children": [ @@ -46193,7 +46193,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46205,25 +46205,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1195, + "id": 687, "name": "ElementaryTypeName", - "src": "21177:5:1" + "src": "21779:5:0" } ], - "id": 1196, + "id": 688, "name": "VariableDeclaration", - "src": "21177:12:1" + "src": "21779:12:0" } ], - "id": 1197, + "id": 689, "name": "ParameterList", - "src": "21176:14:1" + "src": "21778:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1197 + "functionReturnParameters": 689 }, "children": [ { @@ -46258,42 +46258,42 @@ } ], "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionCall" }, - "id": 1198, + "id": 690, "name": "Identifier", - "src": "21206:12:1" + "src": "21809:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1191, + "referencedDeclaration": 683, "type": "address", "value": "target" }, - "id": 1199, + "id": 691, "name": "Identifier", - "src": "21219:6:1" + "src": "21822:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1193, + "referencedDeclaration": 685, "type": "bytes memory", "value": "data" }, - "id": 1200, + "id": 692, "name": "Identifier", - "src": "21227:4:1" + "src": "21830:4:0" }, { "attributes": { @@ -46306,29 +46306,29 @@ "type": "literal_string \"Address: low-level call failed\"", "value": "Address: low-level call failed" }, - "id": 1201, + "id": 693, "name": "Literal", - "src": "21233:32:1" + "src": "21836:32:0" } ], - "id": 1202, + "id": 694, "name": "FunctionCall", - "src": "21206:60:1" + "src": "21809:60:0" } ], - "id": 1203, + "id": 695, "name": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ], - "id": 1204, + "id": 696, "name": "Block", - "src": "21191:82:1" + "src": "21793:84:0" } ], - "id": 1205, + "id": 697, "name": "FunctionDefinition", - "src": "21102:171:1" + "src": "21704:173:0" }, { "attributes": { @@ -46339,7 +46339,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46349,9 +46349,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1206, + "id": 698, "name": "StructuredDocumentation", - "src": "21279:211:1" + "src": "21885:216:0" }, { "children": [ @@ -46360,7 +46360,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46373,21 +46373,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1207, + "id": 699, "name": "ElementaryTypeName", - "src": "21517:7:1" + "src": "22129:7:0" } ], - "id": 1208, + "id": 700, "name": "VariableDeclaration", - "src": "21517:14:1" + "src": "22129:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46399,21 +46399,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1209, + "id": 701, "name": "ElementaryTypeName", - "src": "21533:5:1" + "src": "22145:5:0" } ], - "id": 1210, + "id": 702, "name": "VariableDeclaration", - "src": "21533:17:1" + "src": "22145:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -46425,19 +46425,19 @@ "name": "string", "type": "string" }, - "id": 1211, + "id": 703, "name": "ElementaryTypeName", - "src": "21552:6:1" + "src": "22164:6:0" } ], - "id": 1212, + "id": 704, "name": "VariableDeclaration", - "src": "21552:26:1" + "src": "22164:26:0" } ], - "id": 1213, + "id": 705, "name": "ParameterList", - "src": "21516:63:1" + "src": "22128:63:0" }, { "children": [ @@ -46446,7 +46446,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46458,25 +46458,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1214, + "id": 706, "name": "ElementaryTypeName", - "src": "21598:5:1" + "src": "22210:5:0" } ], - "id": 1215, + "id": 707, "name": "VariableDeclaration", - "src": "21598:12:1" + "src": "22210:12:0" } ], - "id": 1216, + "id": 708, "name": "ParameterList", - "src": "21597:14:1" + "src": "22209:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1216 + "functionReturnParameters": 708 }, "children": [ { @@ -46515,42 +46515,42 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1217, + "id": 709, "name": "Identifier", - "src": "21629:21:1" + "src": "22242:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1208, + "referencedDeclaration": 700, "type": "address", "value": "target" }, - "id": 1218, + "id": 710, "name": "Identifier", - "src": "21651:6:1" + "src": "22264:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1210, + "referencedDeclaration": 702, "type": "bytes memory", "value": "data" }, - "id": 1219, + "id": 711, "name": "Identifier", - "src": "21659:4:1" + "src": "22272:4:0" }, { "attributes": { @@ -46563,42 +46563,42 @@ "type": "int_const 0", "value": "0" }, - "id": 1220, + "id": 712, "name": "Literal", - "src": "21665:1:1" + "src": "22278:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1212, + "referencedDeclaration": 704, "type": "string memory", "value": "errorMessage" }, - "id": 1221, + "id": 713, "name": "Identifier", - "src": "21668:12:1" + "src": "22281:12:0" } ], - "id": 1222, + "id": 714, "name": "FunctionCall", - "src": "21629:52:1" + "src": "22242:52:0" } ], - "id": 1223, + "id": 715, "name": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ], - "id": 1224, + "id": 716, "name": "Block", - "src": "21612:76:1" + "src": "22224:78:0" } ], - "id": 1225, + "id": 717, "name": "FunctionDefinition", - "src": "21495:193:1" + "src": "22107:195:0" }, { "attributes": { @@ -46609,7 +46609,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46619,9 +46619,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1226, + "id": 718, "name": "StructuredDocumentation", - "src": "21694:351:1" + "src": "22310:361:0" }, { "children": [ @@ -46630,7 +46630,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46643,21 +46643,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1227, + "id": 719, "name": "ElementaryTypeName", - "src": "22081:7:1" + "src": "22708:7:0" } ], - "id": 1228, + "id": 720, "name": "VariableDeclaration", - "src": "22081:14:1" + "src": "22708:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46669,21 +46669,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1229, + "id": 721, "name": "ElementaryTypeName", - "src": "22097:5:1" + "src": "22724:5:0" } ], - "id": 1230, + "id": 722, "name": "VariableDeclaration", - "src": "22097:17:1" + "src": "22724:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -46695,19 +46695,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1231, + "id": 723, "name": "ElementaryTypeName", - "src": "22116:7:1" + "src": "22743:7:0" } ], - "id": 1232, + "id": 724, "name": "VariableDeclaration", - "src": "22116:13:1" + "src": "22743:13:0" } ], - "id": 1233, + "id": 725, "name": "ParameterList", - "src": "22080:50:1" + "src": "22707:50:0" }, { "children": [ @@ -46716,7 +46716,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46728,25 +46728,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1234, + "id": 726, "name": "ElementaryTypeName", - "src": "22149:5:1" + "src": "22776:5:0" } ], - "id": 1235, + "id": 727, "name": "VariableDeclaration", - "src": "22149:12:1" + "src": "22776:12:0" } ], - "id": 1236, + "id": 728, "name": "ParameterList", - "src": "22148:14:1" + "src": "22775:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1236 + "functionReturnParameters": 728 }, "children": [ { @@ -46785,55 +46785,55 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1237, + "id": 729, "name": "Identifier", - "src": "22180:21:1" + "src": "22808:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 720, "type": "address", "value": "target" }, - "id": 1238, + "id": 730, "name": "Identifier", - "src": "22202:6:1" + "src": "22830:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 722, "type": "bytes memory", "value": "data" }, - "id": 1239, + "id": 731, "name": "Identifier", - "src": "22210:4:1" + "src": "22838:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1232, + "referencedDeclaration": 724, "type": "uint256", "value": "value" }, - "id": 1240, + "id": 732, "name": "Identifier", - "src": "22216:5:1" + "src": "22844:5:0" }, { "attributes": { @@ -46846,29 +46846,29 @@ "type": "literal_string \"Address: low-level call with value failed\"", "value": "Address: low-level call with value failed" }, - "id": 1241, + "id": 733, "name": "Literal", - "src": "22223:43:1" + "src": "22851:43:0" } ], - "id": 1242, + "id": 734, "name": "FunctionCall", - "src": "22180:87:1" + "src": "22808:87:0" } ], - "id": 1243, + "id": 735, "name": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ], - "id": 1244, + "id": 736, "name": "Block", - "src": "22163:111:1" + "src": "22790:113:0" } ], - "id": 1245, + "id": 737, "name": "FunctionDefinition", - "src": "22050:224:1" + "src": "22677:226:0" }, { "attributes": { @@ -46879,7 +46879,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46889,9 +46889,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1246, + "id": 738, "name": "StructuredDocumentation", - "src": "22280:237:1" + "src": "22911:242:0" }, { "children": [ @@ -46900,7 +46900,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46913,21 +46913,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1247, + "id": 739, "name": "ElementaryTypeName", - "src": "22553:7:1" + "src": "23190:7:0" } ], - "id": 1248, + "id": 740, "name": "VariableDeclaration", - "src": "22553:14:1" + "src": "23190:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46939,21 +46939,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1249, + "id": 741, "name": "ElementaryTypeName", - "src": "22569:5:1" + "src": "23206:5:0" } ], - "id": 1250, + "id": 742, "name": "VariableDeclaration", - "src": "22569:17:1" + "src": "23206:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -46965,21 +46965,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1251, + "id": 743, "name": "ElementaryTypeName", - "src": "22588:7:1" + "src": "23225:7:0" } ], - "id": 1252, + "id": 744, "name": "VariableDeclaration", - "src": "22588:13:1" + "src": "23225:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -46991,19 +46991,19 @@ "name": "string", "type": "string" }, - "id": 1253, + "id": 745, "name": "ElementaryTypeName", - "src": "22603:6:1" + "src": "23240:6:0" } ], - "id": 1254, + "id": 746, "name": "VariableDeclaration", - "src": "22603:26:1" + "src": "23240:26:0" } ], - "id": 1255, + "id": 747, "name": "ParameterList", - "src": "22552:78:1" + "src": "23189:78:0" }, { "children": [ @@ -47012,7 +47012,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47024,19 +47024,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1256, + "id": 748, "name": "ElementaryTypeName", - "src": "22649:5:1" + "src": "23286:5:0" } ], - "id": 1257, + "id": 749, "name": "VariableDeclaration", - "src": "22649:12:1" + "src": "23286:12:0" } ], - "id": 1258, + "id": 750, "name": "ParameterList", - "src": "22648:14:1" + "src": "23285:14:0" }, { "children": [ @@ -47077,9 +47077,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1259, + "id": 751, "name": "Identifier", - "src": "22673:7:1" + "src": "23311:7:0" }, { "attributes": { @@ -47124,7 +47124,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -47139,14 +47139,14 @@ "attributes": { "name": "address" }, - "id": 1260, + "id": 752, "name": "ElementaryTypeName", - "src": "22681:7:1" + "src": "23319:7:0" } ], - "id": 1261, + "id": 753, "name": "ElementaryTypeNameExpression", - "src": "22681:7:1" + "src": "23319:7:0" }, { "attributes": { @@ -47157,37 +47157,37 @@ "type": "library Address", "value": "this" }, - "id": 1262, + "id": 754, "name": "Identifier", - "src": "22689:4:1" + "src": "23327:4:0" } ], - "id": 1263, + "id": 755, "name": "FunctionCall", - "src": "22681:13:1" + "src": "23319:13:0" } ], - "id": 1264, + "id": 756, "name": "MemberAccess", - "src": "22681:21:1" + "src": "23319:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1265, + "id": 757, "name": "Identifier", - "src": "22706:5:1" + "src": "23344:5:0" } ], - "id": 1266, + "id": 758, "name": "BinaryOperation", - "src": "22681:30:1" + "src": "23319:30:0" }, { "attributes": { @@ -47200,19 +47200,19 @@ "type": "literal_string \"Address: insufficient balance for call\"", "value": "Address: insufficient balance for call" }, - "id": 1267, + "id": 759, "name": "Literal", - "src": "22713:40:1" + "src": "23351:40:0" } ], - "id": 1268, + "id": 760, "name": "FunctionCall", - "src": "22673:81:1" + "src": "23311:81:0" } ], - "id": 1269, + "id": 761, "name": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "children": [ @@ -47251,9 +47251,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1270, + "id": 762, "name": "Identifier", - "src": "22764:7:1" + "src": "23403:7:0" }, { "attributes": { @@ -47281,31 +47281,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1271, + "id": 763, "name": "Identifier", - "src": "22772:10:1" + "src": "23411:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1272, + "id": 764, "name": "Identifier", - "src": "22783:6:1" + "src": "23422:6:0" } ], - "id": 1273, + "id": 765, "name": "FunctionCall", - "src": "22772:18:1" + "src": "23411:18:0" }, { "attributes": { @@ -47318,25 +47318,25 @@ "type": "literal_string \"Address: call to non-contract\"", "value": "Address: call to non-contract" }, - "id": 1274, + "id": 766, "name": "Literal", - "src": "22792:31:1" + "src": "23431:31:0" } ], - "id": 1275, + "id": 767, "name": "FunctionCall", - "src": "22764:60:1" + "src": "23403:60:0" } ], - "id": 1276, + "id": 768, "name": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "attributes": { "assignments": [ - 1278, - 1280 + 770, + 772 ] }, "children": [ @@ -47345,7 +47345,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -47357,21 +47357,21 @@ "name": "bool", "type": "bool" }, - "id": 1277, + "id": 769, "name": "ElementaryTypeName", - "src": "22895:4:1" + "src": "23537:4:0" } ], - "id": 1278, + "id": 770, "name": "VariableDeclaration", - "src": "22895:12:1" + "src": "23537:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47383,14 +47383,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1279, + "id": 771, "name": "ElementaryTypeName", - "src": "22909:5:1" + "src": "23551:5:0" } ], - "id": 1280, + "id": 772, "name": "VariableDeclaration", - "src": "22909:23:1" + "src": "23551:23:0" }, { "attributes": { @@ -47446,63 +47446,63 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1281, + "id": 773, "name": "Identifier", - "src": "22936:6:1" + "src": "23578:6:0" } ], - "id": 1282, + "id": 774, "name": "MemberAccess", - "src": "22936:11:1" + "src": "23578:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1283, + "id": 775, "name": "Identifier", - "src": "22956:5:1" + "src": "23598:5:0" } ], - "id": 1284, + "id": 776, "name": "FunctionCallOptions", - "src": "22936:27:1" + "src": "23578:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1250, + "referencedDeclaration": 742, "type": "bytes memory", "value": "data" }, - "id": 1285, + "id": 777, "name": "Identifier", - "src": "22964:4:1" + "src": "23606:4:0" } ], - "id": 1286, + "id": 778, "name": "FunctionCall", - "src": "22936:33:1" + "src": "23578:33:0" } ], - "id": 1287, + "id": 779, "name": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "attributes": { - "functionReturnParameters": 1258 + "functionReturnParameters": 750 }, "children": [ { @@ -47539,72 +47539,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1288, + "id": 780, "name": "Identifier", - "src": "22986:17:1" + "src": "23629:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1278, + "referencedDeclaration": 770, "type": "bool", "value": "success" }, - "id": 1289, + "id": 781, "name": "Identifier", - "src": "23004:7:1" + "src": "23647:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1280, + "referencedDeclaration": 772, "type": "bytes memory", "value": "returndata" }, - "id": 1290, + "id": 782, "name": "Identifier", - "src": "23013:10:1" + "src": "23656:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 746, "type": "string memory", "value": "errorMessage" }, - "id": 1291, + "id": 783, "name": "Identifier", - "src": "23025:12:1" + "src": "23668:12:0" } ], - "id": 1292, + "id": 784, "name": "FunctionCall", - "src": "22986:52:1" + "src": "23629:52:0" } ], - "id": 1293, + "id": 785, "name": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ], - "id": 1294, + "id": 786, "name": "Block", - "src": "22663:382:1" + "src": "23300:389:0" } ], - "id": 1295, + "id": 787, "name": "FunctionDefinition", - "src": "22522:523:1" + "src": "23159:530:0" }, { "attributes": { @@ -47615,7 +47615,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -47625,9 +47625,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1296, + "id": 788, "name": "StructuredDocumentation", - "src": "23051:166:1" + "src": "23697:171:0" }, { "children": [ @@ -47636,7 +47636,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47649,21 +47649,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1297, + "id": 789, "name": "ElementaryTypeName", - "src": "23250:7:1" + "src": "23902:7:0" } ], - "id": 1298, + "id": 790, "name": "VariableDeclaration", - "src": "23250:14:1" + "src": "23902:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47675,19 +47675,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1299, + "id": 791, "name": "ElementaryTypeName", - "src": "23266:5:1" + "src": "23918:5:0" } ], - "id": 1300, + "id": 792, "name": "VariableDeclaration", - "src": "23266:17:1" + "src": "23918:17:0" } ], - "id": 1301, + "id": 793, "name": "ParameterList", - "src": "23249:35:1" + "src": "23901:35:0" }, { "children": [ @@ -47696,7 +47696,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47708,25 +47708,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1302, + "id": 794, "name": "ElementaryTypeName", - "src": "23308:5:1" + "src": "23960:5:0" } ], - "id": 1303, + "id": 795, "name": "VariableDeclaration", - "src": "23308:12:1" + "src": "23960:12:0" } ], - "id": 1304, + "id": 796, "name": "ParameterList", - "src": "23307:14:1" + "src": "23959:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1304 + "functionReturnParameters": 796 }, "children": [ { @@ -47761,42 +47761,42 @@ } ], "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, + "referencedDeclaration": 839, "type": "function (address,bytes memory,string memory) view returns (bytes memory)", "value": "functionStaticCall" }, - "id": 1305, + "id": 797, "name": "Identifier", - "src": "23339:18:1" + "src": "23992:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1298, + "referencedDeclaration": 790, "type": "address", "value": "target" }, - "id": 1306, + "id": 798, "name": "Identifier", - "src": "23358:6:1" + "src": "24011:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1300, + "referencedDeclaration": 792, "type": "bytes memory", "value": "data" }, - "id": 1307, + "id": 799, "name": "Identifier", - "src": "23366:4:1" + "src": "24019:4:0" }, { "attributes": { @@ -47809,29 +47809,29 @@ "type": "literal_string \"Address: low-level static call failed\"", "value": "Address: low-level static call failed" }, - "id": 1308, + "id": 800, "name": "Literal", - "src": "23372:39:1" + "src": "24025:39:0" } ], - "id": 1309, + "id": 801, "name": "FunctionCall", - "src": "23339:73:1" + "src": "23992:73:0" } ], - "id": 1310, + "id": 802, "name": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ], - "id": 1311, + "id": 803, "name": "Block", - "src": "23322:97:1" + "src": "23974:99:0" } ], - "id": 1312, + "id": 804, "name": "FunctionDefinition", - "src": "23222:197:1" + "src": "23874:199:0" }, { "attributes": { @@ -47842,7 +47842,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -47852,9 +47852,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1313, + "id": 805, "name": "StructuredDocumentation", - "src": "23425:173:1" + "src": "24081:178:0" }, { "children": [ @@ -47863,7 +47863,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47876,21 +47876,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1314, + "id": 806, "name": "ElementaryTypeName", - "src": "23631:7:1" + "src": "24293:7:0" } ], - "id": 1315, + "id": 807, "name": "VariableDeclaration", - "src": "23631:14:1" + "src": "24293:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47902,21 +47902,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1316, + "id": 808, "name": "ElementaryTypeName", - "src": "23647:5:1" + "src": "24309:5:0" } ], - "id": 1317, + "id": 809, "name": "VariableDeclaration", - "src": "23647:17:1" + "src": "24309:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -47928,19 +47928,19 @@ "name": "string", "type": "string" }, - "id": 1318, + "id": 810, "name": "ElementaryTypeName", - "src": "23666:6:1" + "src": "24328:6:0" } ], - "id": 1319, + "id": 811, "name": "VariableDeclaration", - "src": "23666:26:1" + "src": "24328:26:0" } ], - "id": 1320, + "id": 812, "name": "ParameterList", - "src": "23630:63:1" + "src": "24292:63:0" }, { "children": [ @@ -47949,7 +47949,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47961,19 +47961,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1321, + "id": 813, "name": "ElementaryTypeName", - "src": "23717:5:1" + "src": "24379:5:0" } ], - "id": 1322, + "id": 814, "name": "VariableDeclaration", - "src": "23717:12:1" + "src": "24379:12:0" } ], - "id": 1323, + "id": 815, "name": "ParameterList", - "src": "23716:14:1" + "src": "24378:14:0" }, { "children": [ @@ -48014,9 +48014,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1324, + "id": 816, "name": "Identifier", - "src": "23741:7:1" + "src": "24404:7:0" }, { "attributes": { @@ -48044,31 +48044,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1325, + "id": 817, "name": "Identifier", - "src": "23749:10:1" + "src": "24412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1326, + "id": 818, "name": "Identifier", - "src": "23760:6:1" + "src": "24423:6:0" } ], - "id": 1327, + "id": 819, "name": "FunctionCall", - "src": "23749:18:1" + "src": "24412:18:0" }, { "attributes": { @@ -48081,25 +48081,25 @@ "type": "literal_string \"Address: static call to non-contract\"", "value": "Address: static call to non-contract" }, - "id": 1328, + "id": 820, "name": "Literal", - "src": "23769:38:1" + "src": "24432:38:0" } ], - "id": 1329, + "id": 821, "name": "FunctionCall", - "src": "23741:67:1" + "src": "24404:67:0" } ], - "id": 1330, + "id": 822, "name": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "attributes": { "assignments": [ - 1332, - 1334 + 824, + 826 ] }, "children": [ @@ -48108,7 +48108,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48120,21 +48120,21 @@ "name": "bool", "type": "bool" }, - "id": 1331, + "id": 823, "name": "ElementaryTypeName", - "src": "23879:4:1" + "src": "24545:4:0" } ], - "id": 1332, + "id": 824, "name": "VariableDeclaration", - "src": "23879:12:1" + "src": "24545:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48146,14 +48146,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1333, + "id": 825, "name": "ElementaryTypeName", - "src": "23893:5:1" + "src": "24559:5:0" } ], - "id": 1334, + "id": 826, "name": "VariableDeclaration", - "src": "23893:23:1" + "src": "24559:23:0" }, { "attributes": { @@ -48191,45 +48191,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1335, + "id": 827, "name": "Identifier", - "src": "23920:6:1" + "src": "24586:6:0" } ], - "id": 1336, + "id": 828, "name": "MemberAccess", - "src": "23920:17:1" + "src": "24586:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1317, + "referencedDeclaration": 809, "type": "bytes memory", "value": "data" }, - "id": 1337, + "id": 829, "name": "Identifier", - "src": "23938:4:1" + "src": "24604:4:0" } ], - "id": 1338, + "id": 830, "name": "FunctionCall", - "src": "23920:23:1" + "src": "24586:23:0" } ], - "id": 1339, + "id": 831, "name": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "attributes": { - "functionReturnParameters": 1323 + "functionReturnParameters": 815 }, "children": [ { @@ -48266,72 +48266,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1340, + "id": 832, "name": "Identifier", - "src": "23960:17:1" + "src": "24627:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1332, + "referencedDeclaration": 824, "type": "bool", "value": "success" }, - "id": 1341, + "id": 833, "name": "Identifier", - "src": "23978:7:1" + "src": "24645:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1334, + "referencedDeclaration": 826, "type": "bytes memory", "value": "returndata" }, - "id": 1342, + "id": 834, "name": "Identifier", - "src": "23987:10:1" + "src": "24654:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 811, "type": "string memory", "value": "errorMessage" }, - "id": 1343, + "id": 835, "name": "Identifier", - "src": "23999:12:1" + "src": "24666:12:0" } ], - "id": 1344, + "id": 836, "name": "FunctionCall", - "src": "23960:52:1" + "src": "24627:52:0" } ], - "id": 1345, + "id": 837, "name": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ], - "id": 1346, + "id": 838, "name": "Block", - "src": "23731:288:1" + "src": "24393:294:0" } ], - "id": 1347, + "id": 839, "name": "FunctionDefinition", - "src": "23603:416:1" + "src": "24265:422:0" }, { "attributes": { @@ -48342,7 +48342,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48352,9 +48352,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1348, + "id": 840, "name": "StructuredDocumentation", - "src": "24025:168:1" + "src": "24695:173:0" }, { "children": [ @@ -48363,7 +48363,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48376,21 +48376,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1349, + "id": 841, "name": "ElementaryTypeName", - "src": "24228:7:1" + "src": "24904:7:0" } ], - "id": 1350, + "id": 842, "name": "VariableDeclaration", - "src": "24228:14:1" + "src": "24904:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48402,19 +48402,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1351, + "id": 843, "name": "ElementaryTypeName", - "src": "24244:5:1" + "src": "24920:5:0" } ], - "id": 1352, + "id": 844, "name": "VariableDeclaration", - "src": "24244:17:1" + "src": "24920:17:0" } ], - "id": 1353, + "id": 845, "name": "ParameterList", - "src": "24227:35:1" + "src": "24903:35:0" }, { "children": [ @@ -48423,7 +48423,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48435,25 +48435,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1354, + "id": 846, "name": "ElementaryTypeName", - "src": "24281:5:1" + "src": "24957:5:0" } ], - "id": 1355, + "id": 847, "name": "VariableDeclaration", - "src": "24281:12:1" + "src": "24957:12:0" } ], - "id": 1356, + "id": 848, "name": "ParameterList", - "src": "24280:14:1" + "src": "24956:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1356 + "functionReturnParameters": 848 }, "children": [ { @@ -48488,42 +48488,42 @@ } ], "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, + "referencedDeclaration": 891, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionDelegateCall" }, - "id": 1357, + "id": 849, "name": "Identifier", - "src": "24312:20:1" + "src": "24989:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1350, + "referencedDeclaration": 842, "type": "address", "value": "target" }, - "id": 1358, + "id": 850, "name": "Identifier", - "src": "24333:6:1" + "src": "25010:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1352, + "referencedDeclaration": 844, "type": "bytes memory", "value": "data" }, - "id": 1359, + "id": 851, "name": "Identifier", - "src": "24341:4:1" + "src": "25018:4:0" }, { "attributes": { @@ -48536,29 +48536,29 @@ "type": "literal_string \"Address: low-level delegate call failed\"", "value": "Address: low-level delegate call failed" }, - "id": 1360, + "id": 852, "name": "Literal", - "src": "24347:41:1" + "src": "25024:41:0" } ], - "id": 1361, + "id": 853, "name": "FunctionCall", - "src": "24312:77:1" + "src": "24989:77:0" } ], - "id": 1362, + "id": 854, "name": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ], - "id": 1363, + "id": 855, "name": "Block", - "src": "24295:101:1" + "src": "24971:103:0" } ], - "id": 1364, + "id": 856, "name": "FunctionDefinition", - "src": "24198:198:1" + "src": "24874:200:0" }, { "attributes": { @@ -48569,7 +48569,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48579,9 +48579,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1365, + "id": 857, "name": "StructuredDocumentation", - "src": "24402:175:1" + "src": "25082:180:0" }, { "children": [ @@ -48590,7 +48590,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48603,21 +48603,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1366, + "id": 858, "name": "ElementaryTypeName", - "src": "24612:7:1" + "src": "25298:7:0" } ], - "id": 1367, + "id": 859, "name": "VariableDeclaration", - "src": "24612:14:1" + "src": "25298:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48629,21 +48629,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1368, + "id": 860, "name": "ElementaryTypeName", - "src": "24628:5:1" + "src": "25314:5:0" } ], - "id": 1369, + "id": 861, "name": "VariableDeclaration", - "src": "24628:17:1" + "src": "25314:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -48655,19 +48655,19 @@ "name": "string", "type": "string" }, - "id": 1370, + "id": 862, "name": "ElementaryTypeName", - "src": "24647:6:1" + "src": "25333:6:0" } ], - "id": 1371, + "id": 863, "name": "VariableDeclaration", - "src": "24647:26:1" + "src": "25333:26:0" } ], - "id": 1372, + "id": 864, "name": "ParameterList", - "src": "24611:63:1" + "src": "25297:63:0" }, { "children": [ @@ -48676,7 +48676,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48688,19 +48688,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1373, + "id": 865, "name": "ElementaryTypeName", - "src": "24693:5:1" + "src": "25379:5:0" } ], - "id": 1374, + "id": 866, "name": "VariableDeclaration", - "src": "24693:12:1" + "src": "25379:12:0" } ], - "id": 1375, + "id": 867, "name": "ParameterList", - "src": "24692:14:1" + "src": "25378:14:0" }, { "children": [ @@ -48741,9 +48741,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1376, + "id": 868, "name": "Identifier", - "src": "24717:7:1" + "src": "25404:7:0" }, { "attributes": { @@ -48771,31 +48771,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1377, + "id": 869, "name": "Identifier", - "src": "24725:10:1" + "src": "25412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1378, + "id": 870, "name": "Identifier", - "src": "24736:6:1" + "src": "25423:6:0" } ], - "id": 1379, + "id": 871, "name": "FunctionCall", - "src": "24725:18:1" + "src": "25412:18:0" }, { "attributes": { @@ -48808,25 +48808,25 @@ "type": "literal_string \"Address: delegate call to non-contract\"", "value": "Address: delegate call to non-contract" }, - "id": 1380, + "id": 872, "name": "Literal", - "src": "24745:40:1" + "src": "25432:40:0" } ], - "id": 1381, + "id": 873, "name": "FunctionCall", - "src": "24717:69:1" + "src": "25404:69:0" } ], - "id": 1382, + "id": 874, "name": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "attributes": { "assignments": [ - 1384, - 1386 + 876, + 878 ] }, "children": [ @@ -48835,7 +48835,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48847,21 +48847,21 @@ "name": "bool", "type": "bool" }, - "id": 1383, + "id": 875, "name": "ElementaryTypeName", - "src": "24857:4:1" + "src": "25547:4:0" } ], - "id": 1384, + "id": 876, "name": "VariableDeclaration", - "src": "24857:12:1" + "src": "25547:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48873,14 +48873,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1385, + "id": 877, "name": "ElementaryTypeName", - "src": "24871:5:1" + "src": "25561:5:0" } ], - "id": 1386, + "id": 878, "name": "VariableDeclaration", - "src": "24871:23:1" + "src": "25561:23:0" }, { "attributes": { @@ -48918,45 +48918,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1387, + "id": 879, "name": "Identifier", - "src": "24898:6:1" + "src": "25588:6:0" } ], - "id": 1388, + "id": 880, "name": "MemberAccess", - "src": "24898:19:1" + "src": "25588:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1369, + "referencedDeclaration": 861, "type": "bytes memory", "value": "data" }, - "id": 1389, + "id": 881, "name": "Identifier", - "src": "24918:4:1" + "src": "25608:4:0" } ], - "id": 1390, + "id": 882, "name": "FunctionCall", - "src": "24898:25:1" + "src": "25588:25:0" } ], - "id": 1391, + "id": 883, "name": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "attributes": { - "functionReturnParameters": 1375 + "functionReturnParameters": 867 }, "children": [ { @@ -48993,72 +48993,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1392, + "id": 884, "name": "Identifier", - "src": "24940:17:1" + "src": "25631:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1384, + "referencedDeclaration": 876, "type": "bool", "value": "success" }, - "id": 1393, + "id": 885, "name": "Identifier", - "src": "24958:7:1" + "src": "25649:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1386, + "referencedDeclaration": 878, "type": "bytes memory", "value": "returndata" }, - "id": 1394, + "id": 886, "name": "Identifier", - "src": "24967:10:1" + "src": "25658:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1371, + "referencedDeclaration": 863, "type": "string memory", "value": "errorMessage" }, - "id": 1395, + "id": 887, "name": "Identifier", - "src": "24979:12:1" + "src": "25670:12:0" } ], - "id": 1396, + "id": 888, "name": "FunctionCall", - "src": "24940:52:1" + "src": "25631:52:0" } ], - "id": 1397, + "id": 889, "name": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ], - "id": 1398, + "id": 890, "name": "Block", - "src": "24707:292:1" + "src": "25393:298:0" } ], - "id": 1399, + "id": 891, "name": "FunctionDefinition", - "src": "24582:417:1" + "src": "25268:423:0" }, { "attributes": { @@ -49069,7 +49069,7 @@ null ], "name": "_verifyCallResult", - "scope": 1430, + "scope": 922, "stateMutability": "pure", "virtual": false, "visibility": "private" @@ -49082,7 +49082,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49094,21 +49094,21 @@ "name": "bool", "type": "bool" }, - "id": 1400, + "id": 892, "name": "ElementaryTypeName", - "src": "25032:4:1" + "src": "25726:4:0" } ], - "id": 1401, + "id": 893, "name": "VariableDeclaration", - "src": "25032:12:1" + "src": "25726:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49120,21 +49120,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1402, + "id": 894, "name": "ElementaryTypeName", - "src": "25046:5:1" + "src": "25740:5:0" } ], - "id": 1403, + "id": 895, "name": "VariableDeclaration", - "src": "25046:23:1" + "src": "25740:23:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -49146,19 +49146,19 @@ "name": "string", "type": "string" }, - "id": 1404, + "id": 896, "name": "ElementaryTypeName", - "src": "25071:6:1" + "src": "25765:6:0" } ], - "id": 1405, + "id": 897, "name": "VariableDeclaration", - "src": "25071:26:1" + "src": "25765:26:0" } ], - "id": 1406, + "id": 898, "name": "ParameterList", - "src": "25031:67:1" + "src": "25725:67:0" }, { "children": [ @@ -49167,7 +49167,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49179,19 +49179,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1407, + "id": 899, "name": "ElementaryTypeName", - "src": "25120:5:1" + "src": "25814:5:0" } ], - "id": 1408, + "id": 900, "name": "VariableDeclaration", - "src": "25120:12:1" + "src": "25814:12:0" } ], - "id": 1409, + "id": 901, "name": "ParameterList", - "src": "25119:14:1" + "src": "25813:14:0" }, { "children": [ @@ -49202,19 +49202,19 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1401, + "referencedDeclaration": 893, "type": "bool", "value": "success" }, - "id": 1410, + "id": 902, "name": "Identifier", - "src": "25148:7:1" + "src": "25843:7:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1409 + "functionReturnParameters": 901 }, "children": [ { @@ -49222,23 +49222,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1411, + "id": 903, "name": "Identifier", - "src": "25178:10:1" + "src": "25874:10:0" } ], - "id": 1412, + "id": 904, "name": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ], - "id": 1413, + "id": 905, "name": "Block", - "src": "25157:42:1" + "src": "25852:44:0" }, { "children": [ @@ -49273,18 +49273,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1414, + "id": 906, "name": "Identifier", - "src": "25289:10:1" + "src": "25988:10:0" } ], - "id": 1415, + "id": 907, "name": "MemberAccess", - "src": "25289:17:1" + "src": "25988:17:0" }, { "attributes": { @@ -49297,14 +49297,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1416, + "id": 908, "name": "Literal", - "src": "25309:1:1" + "src": "26008:1:0" } ], - "id": 1417, + "id": 909, "name": "BinaryOperation", - "src": "25289:21:1" + "src": "25988:21:0" }, { "children": [ @@ -49313,31 +49313,31 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], "operations": "{\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n}" }, "children": [], - "id": 1418, + "id": 910, "name": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ], - "id": 1419, + "id": 911, "name": "Block", - "src": "25312:343:1" + "src": "26011:351:0" }, { "children": [ @@ -49374,67 +49374,67 @@ "type": "function (string memory) pure", "value": "revert" }, - "id": 1420, + "id": 912, "name": "Identifier", - "src": "25679:6:1" + "src": "26387:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1405, + "referencedDeclaration": 897, "type": "string memory", "value": "errorMessage" }, - "id": 1421, + "id": 913, "name": "Identifier", - "src": "25686:12:1" + "src": "26394:12:0" } ], - "id": 1422, + "id": 914, "name": "FunctionCall", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1423, + "id": 915, "name": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1424, + "id": 916, "name": "Block", - "src": "25661:53:1" + "src": "26368:55:0" } ], - "id": 1425, + "id": 917, "name": "IfStatement", - "src": "25285:429:1" + "src": "25984:439:0" } ], - "id": 1426, + "id": 918, "name": "Block", - "src": "25205:519:1" + "src": "25902:532:0" } ], - "id": 1427, + "id": 919, "name": "IfStatement", - "src": "25144:580:1" + "src": "25839:595:0" } ], - "id": 1428, + "id": 920, "name": "Block", - "src": "25134:596:1" + "src": "25828:613:0" } ], - "id": 1429, + "id": 921, "name": "FunctionDefinition", - "src": "25005:725:1" + "src": "25699:742:0" } ], - "id": 1430, + "id": 922, "name": "ContractDefinition", - "src": "18048:7684:1" + "src": "18579:7865:0" }, { "attributes": { @@ -49448,9 +49448,9 @@ ".0" ] }, - "id": 1431, + "id": 923, "name": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "attributes": { @@ -49464,25 +49464,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, - "id": 1432, + "id": 924, "name": "StructuredDocumentation", - "src": "25824:686:1" + "src": "26541:709:0" }, { "attributes": { "canonicalName": "EnumerableSet.Set", "name": "Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -49491,7 +49491,7 @@ "constant": false, "mutability": "mutable", "name": "_values", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "bytes32[]", @@ -49508,26 +49508,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1433, + "id": 925, "name": "ElementaryTypeName", - "src": "27033:7:1" + "src": "27786:7:0" } ], - "id": 1434, + "id": 926, "name": "ArrayTypeName", - "src": "27033:9:1" + "src": "27786:9:0" } ], - "id": 1435, + "id": 927, "name": "VariableDeclaration", - "src": "27033:17:1" + "src": "27786:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -49544,33 +49544,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1436, + "id": 928, "name": "ElementaryTypeName", - "src": "27193:7:1" + "src": "27950:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1437, + "id": 929, "name": "ElementaryTypeName", - "src": "27204:7:1" + "src": "27961:7:0" } ], - "id": 1438, + "id": 930, "name": "Mapping", - "src": "27184:28:1" + "src": "27941:28:0" } ], - "id": 1439, + "id": 931, "name": "VariableDeclaration", - "src": "27184:37:1" + "src": "27941:37:0" } ], - "id": 1440, + "id": 932, "name": "StructDefinition", - "src": "26979:249:1" + "src": "27730:256:0" }, { "attributes": { @@ -49581,7 +49581,7 @@ null ], "name": "_add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -49591,9 +49591,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1441, + "id": 933, "name": "StructuredDocumentation", - "src": "27234:159:1" + "src": "27994:164:0" }, { "children": [ @@ -49602,7 +49602,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -49612,24 +49612,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1442, + "id": 934, "name": "UserDefinedTypeName", - "src": "27412:3:1" + "src": "28178:3:0" } ], - "id": 1443, + "id": 935, "name": "VariableDeclaration", - "src": "27412:15:1" + "src": "28178:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -49641,19 +49641,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1444, + "id": 936, "name": "ElementaryTypeName", - "src": "27429:7:1" + "src": "28195:7:0" } ], - "id": 1445, + "id": 937, "name": "VariableDeclaration", - "src": "27429:13:1" + "src": "28195:13:0" } ], - "id": 1446, + "id": 938, "name": "ParameterList", - "src": "27411:32:1" + "src": "28177:32:0" }, { "children": [ @@ -49662,7 +49662,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49674,19 +49674,19 @@ "name": "bool", "type": "bool" }, - "id": 1447, + "id": 939, "name": "ElementaryTypeName", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1448, + "id": 940, "name": "VariableDeclaration", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1449, + "id": 941, "name": "ParameterList", - "src": "27460:6:1" + "src": "28226:6:0" }, { "children": [ @@ -49722,7 +49722,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -49733,49 +49733,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1450, + "id": 942, "name": "Identifier", - "src": "27482:9:1" + "src": "28249:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1451, + "id": 943, "name": "Identifier", - "src": "27492:3:1" + "src": "28259:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1452, + "id": 944, "name": "Identifier", - "src": "27497:5:1" + "src": "28264:5:0" } ], - "id": 1453, + "id": 945, "name": "FunctionCall", - "src": "27482:21:1" + "src": "28249:21:0" } ], - "id": 1454, + "id": 946, "name": "UnaryOperation", - "src": "27481:22:1" + "src": "28248:22:0" }, { "children": [ @@ -49819,7 +49819,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -49828,46 +49828,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1455, + "id": 947, "name": "Identifier", - "src": "27519:3:1" + "src": "28287:3:0" } ], - "id": 1458, + "id": 950, "name": "MemberAccess", - "src": "27519:11:1" + "src": "28287:11:0" } ], - "id": 1459, + "id": 951, "name": "MemberAccess", - "src": "27519:16:1" + "src": "28287:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1460, + "id": 952, "name": "Identifier", - "src": "27536:5:1" + "src": "28304:5:0" } ], - "id": 1461, + "id": 953, "name": "FunctionCall", - "src": "27519:23:1" + "src": "28287:23:0" } ], - "id": 1462, + "id": 954, "name": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "children": [ @@ -49897,7 +49897,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -49906,36 +49906,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1463, + "id": 955, "name": "Identifier", - "src": "27677:3:1" + "src": "28448:3:0" } ], - "id": 1466, + "id": 958, "name": "MemberAccess", - "src": "27677:12:1" + "src": "28448:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1465, + "id": 957, "name": "Identifier", - "src": "27690:5:1" + "src": "28461:5:0" } ], - "id": 1467, + "id": 959, "name": "IndexAccess", - "src": "27677:19:1" + "src": "28448:19:0" }, { "attributes": { @@ -49954,7 +49954,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -49963,37 +49963,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1468, + "id": 960, "name": "Identifier", - "src": "27699:3:1" + "src": "28470:3:0" } ], - "id": 1469, + "id": 961, "name": "MemberAccess", - "src": "27699:11:1" + "src": "28470:11:0" } ], - "id": 1470, + "id": 962, "name": "MemberAccess", - "src": "27699:18:1" + "src": "28470:18:0" } ], - "id": 1471, + "id": 963, "name": "Assignment", - "src": "27677:40:1" + "src": "28448:40:0" } ], - "id": 1472, + "id": 964, "name": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -50007,25 +50007,25 @@ "type": "bool", "value": "true" }, - "id": 1473, + "id": 965, "name": "Literal", - "src": "27738:4:1" + "src": "28510:4:0" } ], - "id": 1474, + "id": 966, "name": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ], - "id": 1475, + "id": 967, "name": "Block", - "src": "27505:248:1" + "src": "28272:254:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -50039,34 +50039,34 @@ "type": "bool", "value": "false" }, - "id": 1476, + "id": 968, "name": "Literal", - "src": "27780:5:1" + "src": "28554:5:0" } ], - "id": 1477, + "id": 969, "name": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ], - "id": 1478, + "id": 970, "name": "Block", - "src": "27759:37:1" + "src": "28532:39:0" } ], - "id": 1479, + "id": 971, "name": "IfStatement", - "src": "27477:319:1" + "src": "28244:327:0" } ], - "id": 1480, + "id": 972, "name": "Block", - "src": "27467:335:1" + "src": "28233:345:0" } ], - "id": 1481, + "id": 973, "name": "FunctionDefinition", - "src": "27398:404:1" + "src": "28164:414:0" }, { "attributes": { @@ -50077,7 +50077,7 @@ null ], "name": "_remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -50087,9 +50087,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1482, + "id": 974, "name": "StructuredDocumentation", - "src": "27808:157:1" + "src": "28586:162:0" }, { "children": [ @@ -50098,7 +50098,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -50108,24 +50108,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1483, + "id": 975, "name": "UserDefinedTypeName", - "src": "27987:3:1" + "src": "28771:3:0" } ], - "id": 1484, + "id": 976, "name": "VariableDeclaration", - "src": "27987:15:1" + "src": "28771:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50137,19 +50137,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1485, + "id": 977, "name": "ElementaryTypeName", - "src": "28004:7:1" + "src": "28788:7:0" } ], - "id": 1486, + "id": 978, "name": "VariableDeclaration", - "src": "28004:13:1" + "src": "28788:13:0" } ], - "id": 1487, + "id": 979, "name": "ParameterList", - "src": "27986:32:1" + "src": "28770:32:0" }, { "children": [ @@ -50158,7 +50158,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -50170,26 +50170,26 @@ "name": "bool", "type": "bool" }, - "id": 1488, + "id": 980, "name": "ElementaryTypeName", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1489, + "id": 981, "name": "VariableDeclaration", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1490, + "id": 982, "name": "ParameterList", - "src": "28035:6:1" + "src": "28819:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1492 + 984 ] }, "children": [ @@ -50198,7 +50198,7 @@ "constant": false, "mutability": "mutable", "name": "valueIndex", - "scope": 1560, + "scope": 1052, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50210,14 +50210,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1491, + "id": 983, "name": "ElementaryTypeName", - "src": "28152:7:1" + "src": "28938:7:0" } ], - "id": 1492, + "id": 984, "name": "VariableDeclaration", - "src": "28152:18:1" + "src": "28938:18:0" }, { "attributes": { @@ -50235,7 +50235,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50244,41 +50244,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1493, + "id": 985, "name": "Identifier", - "src": "28173:3:1" + "src": "28959:3:0" } ], - "id": 1494, + "id": 986, "name": "MemberAccess", - "src": "28173:12:1" + "src": "28959:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1495, + "id": 987, "name": "Identifier", - "src": "28186:5:1" + "src": "28972:5:0" } ], - "id": 1496, + "id": 988, "name": "IndexAccess", - "src": "28173:19:1" + "src": "28959:19:0" } ], - "id": 1497, + "id": 989, "name": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "children": [ @@ -50301,13 +50301,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1498, + "id": 990, "name": "Identifier", - "src": "28207:10:1" + "src": "28995:10:0" }, { "attributes": { @@ -50320,21 +50320,21 @@ "type": "int_const 0", "value": "0" }, - "id": 1499, + "id": 991, "name": "Literal", - "src": "28221:1:1" + "src": "29009:1:0" } ], - "id": 1500, + "id": 992, "name": "BinaryOperation", - "src": "28207:15:1" + "src": "28995:15:0" }, { "children": [ { "attributes": { "assignments": [ - 1502 + 994 ] }, "children": [ @@ -50343,7 +50343,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50355,14 +50355,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1501, + "id": 993, "name": "ElementaryTypeName", - "src": "28564:7:1" + "src": "29357:7:0" } ], - "id": 1502, + "id": 994, "name": "VariableDeclaration", - "src": "28564:21:1" + "src": "29357:21:0" }, { "attributes": { @@ -50383,13 +50383,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1503, + "id": 995, "name": "Identifier", - "src": "28588:10:1" + "src": "29381:10:0" }, { "attributes": { @@ -50402,24 +50402,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1504, + "id": 996, "name": "Literal", - "src": "28601:1:1" + "src": "29394:1:0" } ], - "id": 1505, + "id": 997, "name": "BinaryOperation", - "src": "28588:14:1" + "src": "29381:14:0" } ], - "id": 1506, + "id": 998, "name": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "attributes": { "assignments": [ - 1508 + 1000 ] }, "children": [ @@ -50428,7 +50428,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50440,14 +50440,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1507, + "id": 999, "name": "ElementaryTypeName", - "src": "28616:7:1" + "src": "29410:7:0" } ], - "id": 1508, + "id": 1000, "name": "VariableDeclaration", - "src": "28616:17:1" + "src": "29410:17:0" }, { "attributes": { @@ -50480,7 +50480,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50489,23 +50489,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1509, + "id": 1001, "name": "Identifier", - "src": "28636:3:1" + "src": "29430:3:0" } ], - "id": 1510, + "id": 1002, "name": "MemberAccess", - "src": "28636:11:1" + "src": "29430:11:0" } ], - "id": 1511, + "id": 1003, "name": "MemberAccess", - "src": "28636:18:1" + "src": "29430:18:0" }, { "attributes": { @@ -50518,24 +50518,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1512, + "id": 1004, "name": "Literal", - "src": "28657:1:1" + "src": "29451:1:0" } ], - "id": 1513, + "id": 1005, "name": "BinaryOperation", - "src": "28636:22:1" + "src": "29430:22:0" } ], - "id": 1514, + "id": 1006, "name": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "attributes": { "assignments": [ - 1516 + 1008 ] }, "children": [ @@ -50544,7 +50544,7 @@ "constant": false, "mutability": "mutable", "name": "lastvalue", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50556,14 +50556,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1515, + "id": 1007, "name": "ElementaryTypeName", - "src": "28898:7:1" + "src": "29697:7:0" } ], - "id": 1516, + "id": 1008, "name": "VariableDeclaration", - "src": "28898:17:1" + "src": "29697:17:0" }, { "attributes": { @@ -50581,7 +50581,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50590,41 +50590,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1517, + "id": 1009, "name": "Identifier", - "src": "28918:3:1" + "src": "29717:3:0" } ], - "id": 1518, + "id": 1010, "name": "MemberAccess", - "src": "28918:11:1" + "src": "29717:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1508, + "referencedDeclaration": 1000, "type": "uint256", "value": "lastIndex" }, - "id": 1519, + "id": 1011, "name": "Identifier", - "src": "28930:9:1" + "src": "29729:9:0" } ], - "id": 1520, + "id": 1012, "name": "IndexAccess", - "src": "28918:22:1" + "src": "29717:22:0" } ], - "id": 1521, + "id": 1013, "name": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "children": [ @@ -50654,7 +50654,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50663,59 +50663,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1522, + "id": 1014, "name": "Identifier", - "src": "29032:3:1" + "src": "29834:3:0" } ], - "id": 1525, + "id": 1017, "name": "MemberAccess", - "src": "29032:11:1" + "src": "29834:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1524, + "id": 1016, "name": "Identifier", - "src": "29044:13:1" + "src": "29846:13:0" } ], - "id": 1526, + "id": 1018, "name": "IndexAccess", - "src": "29032:26:1" + "src": "29834:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1527, + "id": 1019, "name": "Identifier", - "src": "29061:9:1" + "src": "29863:9:0" } ], - "id": 1528, + "id": 1020, "name": "Assignment", - "src": "29032:38:1" + "src": "29834:38:0" } ], - "id": 1529, + "id": 1021, "name": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "children": [ @@ -50745,7 +50745,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50754,36 +50754,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1530, + "id": 1022, "name": "Identifier", - "src": "29136:3:1" + "src": "29940:3:0" } ], - "id": 1533, + "id": 1025, "name": "MemberAccess", - "src": "29136:12:1" + "src": "29940:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1532, + "id": 1024, "name": "Identifier", - "src": "29149:9:1" + "src": "29953:9:0" } ], - "id": 1534, + "id": 1026, "name": "IndexAccess", - "src": "29136:23:1" + "src": "29940:23:0" }, { "attributes": { @@ -50804,13 +50804,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1535, + "id": 1027, "name": "Identifier", - "src": "29162:13:1" + "src": "29966:13:0" }, { "attributes": { @@ -50823,24 +50823,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1536, + "id": 1028, "name": "Literal", - "src": "29178:1:1" + "src": "29982:1:0" } ], - "id": 1537, + "id": 1029, "name": "BinaryOperation", - "src": "29162:17:1" + "src": "29966:17:0" } ], - "id": 1538, + "id": 1030, "name": "Assignment", - "src": "29136:43:1" + "src": "29940:43:0" } ], - "id": 1539, + "id": 1031, "name": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "children": [ @@ -50882,7 +50882,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50891,33 +50891,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1540, + "id": 1032, "name": "Identifier", - "src": "29285:3:1" + "src": "30092:3:0" } ], - "id": 1543, + "id": 1035, "name": "MemberAccess", - "src": "29285:11:1" + "src": "30092:11:0" } ], - "id": 1544, + "id": 1036, "name": "MemberAccess", - "src": "29285:15:1" + "src": "30092:15:0" } ], - "id": 1545, + "id": 1037, "name": "FunctionCall", - "src": "29285:17:1" + "src": "30092:17:0" } ], - "id": 1546, + "id": 1038, "name": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "children": [ @@ -50948,7 +50948,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50957,50 +50957,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1547, + "id": 1039, "name": "Identifier", - "src": "29377:3:1" + "src": "30187:3:0" } ], - "id": 1548, + "id": 1040, "name": "MemberAccess", - "src": "29377:12:1" + "src": "30187:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1549, + "id": 1041, "name": "Identifier", - "src": "29390:5:1" + "src": "30200:5:0" } ], - "id": 1550, + "id": 1042, "name": "IndexAccess", - "src": "29377:19:1" + "src": "30187:19:0" } ], - "id": 1551, + "id": 1043, "name": "UnaryOperation", - "src": "29370:26:1" + "src": "30180:26:0" } ], - "id": 1552, + "id": 1044, "name": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -51014,25 +51014,25 @@ "type": "bool", "value": "true" }, - "id": 1553, + "id": 1045, "name": "Literal", - "src": "29418:4:1" + "src": "30230:4:0" } ], - "id": 1554, + "id": 1046, "name": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ], - "id": 1555, + "id": 1047, "name": "Block", - "src": "28224:1209:1" + "src": "29012:1234:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -51046,34 +51046,34 @@ "type": "bool", "value": "false" }, - "id": 1556, + "id": 1048, "name": "Literal", - "src": "29460:5:1" + "src": "30274:5:0" } ], - "id": 1557, + "id": 1049, "name": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ], - "id": 1558, + "id": 1050, "name": "Block", - "src": "29439:37:1" + "src": "30252:39:0" } ], - "id": 1559, + "id": 1051, "name": "IfStatement", - "src": "28203:1273:1" + "src": "28991:1300:0" } ], - "id": 1560, + "id": 1052, "name": "Block", - "src": "28042:1440:1" + "src": "28826:1472:0" } ], - "id": 1561, + "id": 1053, "name": "FunctionDefinition", - "src": "27970:1512:1" + "src": "28754:1544:0" }, { "attributes": { @@ -51084,7 +51084,7 @@ null ], "name": "_contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51094,9 +51094,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1562, + "id": 1054, "name": "StructuredDocumentation", - "src": "29488:70:1" + "src": "30306:72:0" }, { "children": [ @@ -51105,7 +51105,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51115,24 +51115,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1563, + "id": 1055, "name": "UserDefinedTypeName", - "src": "29582:3:1" + "src": "30403:3:0" } ], - "id": 1564, + "id": 1056, "name": "VariableDeclaration", - "src": "29582:15:1" + "src": "30403:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51144,19 +51144,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1565, + "id": 1057, "name": "ElementaryTypeName", - "src": "29599:7:1" + "src": "30420:7:0" } ], - "id": 1566, + "id": 1058, "name": "VariableDeclaration", - "src": "29599:13:1" + "src": "30420:13:0" } ], - "id": 1567, + "id": 1059, "name": "ParameterList", - "src": "29581:32:1" + "src": "30402:32:0" }, { "children": [ @@ -51165,7 +51165,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51177,25 +51177,25 @@ "name": "bool", "type": "bool" }, - "id": 1568, + "id": 1060, "name": "ElementaryTypeName", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1569, + "id": 1061, "name": "VariableDeclaration", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1570, + "id": 1062, "name": "ParameterList", - "src": "29635:6:1" + "src": "30456:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1570 + "functionReturnParameters": 1062 }, "children": [ { @@ -51228,7 +51228,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -51237,36 +51237,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1564, + "referencedDeclaration": 1056, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1571, + "id": 1063, "name": "Identifier", - "src": "29659:3:1" + "src": "30481:3:0" } ], - "id": 1572, + "id": 1064, "name": "MemberAccess", - "src": "29659:12:1" + "src": "30481:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1566, + "referencedDeclaration": 1058, "type": "bytes32", "value": "value" }, - "id": 1573, + "id": 1065, "name": "Identifier", - "src": "29672:5:1" + "src": "30494:5:0" } ], - "id": 1574, + "id": 1066, "name": "IndexAccess", - "src": "29659:19:1" + "src": "30481:19:0" }, { "attributes": { @@ -51279,29 +51279,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1575, + "id": 1067, "name": "Literal", - "src": "29682:1:1" + "src": "30504:1:0" } ], - "id": 1576, + "id": 1068, "name": "BinaryOperation", - "src": "29659:24:1" + "src": "30481:24:0" } ], - "id": 1577, + "id": 1069, "name": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ], - "id": 1578, + "id": 1070, "name": "Block", - "src": "29642:48:1" + "src": "30463:50:0" } ], - "id": 1579, + "id": 1071, "name": "FunctionDefinition", - "src": "29563:127:1" + "src": "30384:129:0" }, { "attributes": { @@ -51312,7 +51312,7 @@ null ], "name": "_length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51322,9 +51322,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1580, + "id": 1072, "name": "StructuredDocumentation", - "src": "29696:70:1" + "src": "30521:72:0" }, { "children": [ @@ -51333,7 +51333,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51343,22 +51343,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1581, + "id": 1073, "name": "UserDefinedTypeName", - "src": "29788:3:1" + "src": "30616:3:0" } ], - "id": 1582, + "id": 1074, "name": "VariableDeclaration", - "src": "29788:15:1" + "src": "30616:15:0" } ], - "id": 1583, + "id": 1075, "name": "ParameterList", - "src": "29787:17:1" + "src": "30615:17:0" }, { "children": [ @@ -51367,7 +51367,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51379,25 +51379,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1584, + "id": 1076, "name": "ElementaryTypeName", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1585, + "id": 1077, "name": "VariableDeclaration", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1586, + "id": 1078, "name": "ParameterList", - "src": "29826:9:1" + "src": "30654:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1586 + "functionReturnParameters": 1078 }, "children": [ { @@ -51417,7 +51417,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51426,38 +51426,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1582, + "referencedDeclaration": 1074, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1587, + "id": 1079, "name": "Identifier", - "src": "29853:3:1" + "src": "30682:3:0" } ], - "id": 1588, + "id": 1080, "name": "MemberAccess", - "src": "29853:11:1" + "src": "30682:11:0" } ], - "id": 1589, + "id": 1081, "name": "MemberAccess", - "src": "29853:18:1" + "src": "30682:18:0" } ], - "id": 1590, + "id": 1082, "name": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ], - "id": 1591, + "id": 1083, "name": "Block", - "src": "29836:42:1" + "src": "30664:44:0" } ], - "id": 1592, + "id": 1084, "name": "FunctionDefinition", - "src": "29771:107:1" + "src": "30599:109:0" }, { "attributes": { @@ -51468,7 +51468,7 @@ null ], "name": "_at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51478,9 +51478,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1593, + "id": 1085, "name": "StructuredDocumentation", - "src": "29883:322:1" + "src": "30715:331:0" }, { "children": [ @@ -51489,7 +51489,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51499,24 +51499,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1594, + "id": 1086, "name": "UserDefinedTypeName", - "src": "30223:3:1" + "src": "31065:3:0" } ], - "id": 1595, + "id": 1087, "name": "VariableDeclaration", - "src": "30223:15:1" + "src": "31065:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51528,19 +51528,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1596, + "id": 1088, "name": "ElementaryTypeName", - "src": "30240:7:1" + "src": "31082:7:0" } ], - "id": 1597, + "id": 1089, "name": "VariableDeclaration", - "src": "30240:13:1" + "src": "31082:13:0" } ], - "id": 1598, + "id": 1090, "name": "ParameterList", - "src": "30222:32:1" + "src": "31064:32:0" }, { "children": [ @@ -51549,7 +51549,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51561,19 +51561,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1599, + "id": 1091, "name": "ElementaryTypeName", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1600, + "id": 1092, "name": "VariableDeclaration", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1601, + "id": 1093, "name": "ParameterList", - "src": "30276:9:1" + "src": "31118:9:0" }, { "children": [ @@ -51614,9 +51614,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1602, + "id": 1094, "name": "Identifier", - "src": "30296:7:1" + "src": "31139:7:0" }, { "attributes": { @@ -51649,7 +51649,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51658,41 +51658,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1603, + "id": 1095, "name": "Identifier", - "src": "30304:3:1" + "src": "31147:3:0" } ], - "id": 1604, + "id": 1096, "name": "MemberAccess", - "src": "30304:11:1" + "src": "31147:11:0" } ], - "id": 1605, + "id": 1097, "name": "MemberAccess", - "src": "30304:18:1" + "src": "31147:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1606, + "id": 1098, "name": "Identifier", - "src": "30325:5:1" + "src": "31168:5:0" } ], - "id": 1607, + "id": 1099, "name": "BinaryOperation", - "src": "30304:26:1" + "src": "31147:26:0" }, { "attributes": { @@ -51705,23 +51705,23 @@ "type": "literal_string \"EnumerableSet: index out of bounds\"", "value": "EnumerableSet: index out of bounds" }, - "id": 1608, + "id": 1100, "name": "Literal", - "src": "30332:36:1" + "src": "31175:36:0" } ], - "id": 1609, + "id": 1101, "name": "FunctionCall", - "src": "30296:73:1" + "src": "31139:73:0" } ], - "id": 1610, + "id": 1102, "name": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "attributes": { - "functionReturnParameters": 1601 + "functionReturnParameters": 1093 }, "children": [ { @@ -51740,7 +51740,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51749,57 +51749,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1611, + "id": 1103, "name": "Identifier", - "src": "30386:3:1" + "src": "31230:3:0" } ], - "id": 1612, + "id": 1104, "name": "MemberAccess", - "src": "30386:11:1" + "src": "31230:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1613, + "id": 1105, "name": "Identifier", - "src": "30398:5:1" + "src": "31242:5:0" } ], - "id": 1614, + "id": 1106, "name": "IndexAccess", - "src": "30386:18:1" + "src": "31230:18:0" } ], - "id": 1615, + "id": 1107, "name": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ], - "id": 1616, + "id": 1108, "name": "Block", - "src": "30286:125:1" + "src": "31128:128:0" } ], - "id": 1617, + "id": 1109, "name": "FunctionDefinition", - "src": "30210:201:1" + "src": "31052:204:0" }, { "attributes": { "canonicalName": "EnumerableSet.Bytes32Set", "name": "Bytes32Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -51808,7 +51808,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1620, + "scope": 1112, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -51818,22 +51818,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1618, + "id": 1110, "name": "UserDefinedTypeName", - "src": "30464:3:1" + "src": "31314:3:0" } ], - "id": 1619, + "id": 1111, "name": "VariableDeclaration", - "src": "30464:10:1" + "src": "31314:10:0" } ], - "id": 1620, + "id": 1112, "name": "StructDefinition", - "src": "30436:45:1" + "src": "31285:47:0" }, { "attributes": { @@ -51844,7 +51844,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -51854,9 +51854,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1621, + "id": 1113, "name": "StructuredDocumentation", - "src": "30487:159:1" + "src": "31340:164:0" }, { "children": [ @@ -51865,7 +51865,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -51875,24 +51875,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1622, + "id": 1114, "name": "UserDefinedTypeName", - "src": "30664:10:1" + "src": "31523:10:0" } ], - "id": 1623, + "id": 1115, "name": "VariableDeclaration", - "src": "30664:22:1" + "src": "31523:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51904,19 +51904,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1624, + "id": 1116, "name": "ElementaryTypeName", - "src": "30688:7:1" + "src": "31547:7:0" } ], - "id": 1625, + "id": 1117, "name": "VariableDeclaration", - "src": "30688:13:1" + "src": "31547:13:0" } ], - "id": 1626, + "id": 1118, "name": "ParameterList", - "src": "30663:39:1" + "src": "31522:39:0" }, { "children": [ @@ -51925,7 +51925,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51937,25 +51937,25 @@ "name": "bool", "type": "bool" }, - "id": 1627, + "id": 1119, "name": "ElementaryTypeName", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1628, + "id": 1120, "name": "VariableDeclaration", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1629, + "id": 1121, "name": "ParameterList", - "src": "30720:6:1" + "src": "31579:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1629 + "functionReturnParameters": 1121 }, "children": [ { @@ -51977,7 +51977,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -51988,13 +51988,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1630, + "id": 1122, "name": "Identifier", - "src": "30744:4:1" + "src": "31604:4:0" }, { "attributes": { @@ -52003,7 +52003,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52012,51 +52012,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1623, + "referencedDeclaration": 1115, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1631, + "id": 1123, "name": "Identifier", - "src": "30749:3:1" + "src": "31609:3:0" } ], - "id": 1632, + "id": 1124, "name": "MemberAccess", - "src": "30749:10:1" + "src": "31609:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1625, + "referencedDeclaration": 1117, "type": "bytes32", "value": "value" }, - "id": 1633, + "id": 1125, "name": "Identifier", - "src": "30761:5:1" + "src": "31621:5:0" } ], - "id": 1634, + "id": 1126, "name": "FunctionCall", - "src": "30744:23:1" + "src": "31604:23:0" } ], - "id": 1635, + "id": 1127, "name": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ], - "id": 1636, + "id": 1128, "name": "Block", - "src": "30727:47:1" + "src": "31586:49:0" } ], - "id": 1637, + "id": 1129, "name": "FunctionDefinition", - "src": "30651:123:1" + "src": "31510:125:0" }, { "attributes": { @@ -52067,7 +52067,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52077,9 +52077,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1638, + "id": 1130, "name": "StructuredDocumentation", - "src": "30780:157:1" + "src": "31643:162:0" }, { "children": [ @@ -52088,7 +52088,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52098,24 +52098,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1639, + "id": 1131, "name": "UserDefinedTypeName", - "src": "30958:10:1" + "src": "31827:10:0" } ], - "id": 1640, + "id": 1132, "name": "VariableDeclaration", - "src": "30958:22:1" + "src": "31827:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52127,19 +52127,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1641, + "id": 1133, "name": "ElementaryTypeName", - "src": "30982:7:1" + "src": "31851:7:0" } ], - "id": 1642, + "id": 1134, "name": "VariableDeclaration", - "src": "30982:13:1" + "src": "31851:13:0" } ], - "id": 1643, + "id": 1135, "name": "ParameterList", - "src": "30957:39:1" + "src": "31826:39:0" }, { "children": [ @@ -52148,7 +52148,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52160,25 +52160,25 @@ "name": "bool", "type": "bool" }, - "id": 1644, + "id": 1136, "name": "ElementaryTypeName", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1645, + "id": 1137, "name": "VariableDeclaration", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1646, + "id": 1138, "name": "ParameterList", - "src": "31014:6:1" + "src": "31883:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1646 + "functionReturnParameters": 1138 }, "children": [ { @@ -52200,7 +52200,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52211,13 +52211,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1647, + "id": 1139, "name": "Identifier", - "src": "31038:7:1" + "src": "31908:7:0" }, { "attributes": { @@ -52226,7 +52226,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52235,51 +52235,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1640, + "referencedDeclaration": 1132, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1648, + "id": 1140, "name": "Identifier", - "src": "31046:3:1" + "src": "31916:3:0" } ], - "id": 1649, + "id": 1141, "name": "MemberAccess", - "src": "31046:10:1" + "src": "31916:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1642, + "referencedDeclaration": 1134, "type": "bytes32", "value": "value" }, - "id": 1650, + "id": 1142, "name": "Identifier", - "src": "31058:5:1" + "src": "31928:5:0" } ], - "id": 1651, + "id": 1143, "name": "FunctionCall", - "src": "31038:26:1" + "src": "31908:26:0" } ], - "id": 1652, + "id": 1144, "name": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ], - "id": 1653, + "id": 1145, "name": "Block", - "src": "31021:50:1" + "src": "31890:52:0" } ], - "id": 1654, + "id": 1146, "name": "FunctionDefinition", - "src": "30942:129:1" + "src": "31811:131:0" }, { "attributes": { @@ -52290,7 +52290,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52300,9 +52300,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1655, + "id": 1147, "name": "StructuredDocumentation", - "src": "31077:70:1" + "src": "31950:72:0" }, { "children": [ @@ -52311,7 +52311,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52321,24 +52321,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1656, + "id": 1148, "name": "UserDefinedTypeName", - "src": "31170:10:1" + "src": "32046:10:0" } ], - "id": 1657, + "id": 1149, "name": "VariableDeclaration", - "src": "31170:22:1" + "src": "32046:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52350,19 +52350,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1658, + "id": 1150, "name": "ElementaryTypeName", - "src": "31194:7:1" + "src": "32070:7:0" } ], - "id": 1659, + "id": 1151, "name": "VariableDeclaration", - "src": "31194:13:1" + "src": "32070:13:0" } ], - "id": 1660, + "id": 1152, "name": "ParameterList", - "src": "31169:39:1" + "src": "32045:39:0" }, { "children": [ @@ -52371,7 +52371,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52383,25 +52383,25 @@ "name": "bool", "type": "bool" }, - "id": 1661, + "id": 1153, "name": "ElementaryTypeName", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1662, + "id": 1154, "name": "VariableDeclaration", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1663, + "id": 1155, "name": "ParameterList", - "src": "31231:6:1" + "src": "32107:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1663 + "functionReturnParameters": 1155 }, "children": [ { @@ -52423,7 +52423,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52434,13 +52434,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1664, + "id": 1156, "name": "Identifier", - "src": "31255:9:1" + "src": "32132:9:0" }, { "attributes": { @@ -52449,7 +52449,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52458,51 +52458,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1657, + "referencedDeclaration": 1149, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1665, + "id": 1157, "name": "Identifier", - "src": "31265:3:1" + "src": "32142:3:0" } ], - "id": 1666, + "id": 1158, "name": "MemberAccess", - "src": "31265:10:1" + "src": "32142:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1659, + "referencedDeclaration": 1151, "type": "bytes32", "value": "value" }, - "id": 1667, + "id": 1159, "name": "Identifier", - "src": "31277:5:1" + "src": "32154:5:0" } ], - "id": 1668, + "id": 1160, "name": "FunctionCall", - "src": "31255:28:1" + "src": "32132:28:0" } ], - "id": 1669, + "id": 1161, "name": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ], - "id": 1670, + "id": 1162, "name": "Block", - "src": "31238:52:1" + "src": "32114:54:0" } ], - "id": 1671, + "id": 1163, "name": "FunctionDefinition", - "src": "31152:138:1" + "src": "32028:140:0" }, { "attributes": { @@ -52513,7 +52513,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52523,9 +52523,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1672, + "id": 1164, "name": "StructuredDocumentation", - "src": "31296:70:1" + "src": "32176:72:0" }, { "children": [ @@ -52534,7 +52534,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52544,22 +52544,22 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1673, + "id": 1165, "name": "UserDefinedTypeName", - "src": "31387:10:1" + "src": "32270:10:0" } ], - "id": 1674, + "id": 1166, "name": "VariableDeclaration", - "src": "31387:22:1" + "src": "32270:22:0" } ], - "id": 1675, + "id": 1167, "name": "ParameterList", - "src": "31386:24:1" + "src": "32269:24:0" }, { "children": [ @@ -52568,7 +52568,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52580,25 +52580,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1676, + "id": 1168, "name": "ElementaryTypeName", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1677, + "id": 1169, "name": "VariableDeclaration", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1678, + "id": 1170, "name": "ParameterList", - "src": "31433:9:1" + "src": "32316:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1678 + "functionReturnParameters": 1170 }, "children": [ { @@ -52620,20 +52620,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1679, + "id": 1171, "name": "Identifier", - "src": "31460:7:1" + "src": "32344:7:0" }, { "attributes": { @@ -52642,7 +52642,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52651,38 +52651,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1674, + "referencedDeclaration": 1166, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1680, + "id": 1172, "name": "Identifier", - "src": "31468:3:1" + "src": "32352:3:0" } ], - "id": 1681, + "id": 1173, "name": "MemberAccess", - "src": "31468:10:1" + "src": "32352:10:0" } ], - "id": 1682, + "id": 1174, "name": "FunctionCall", - "src": "31460:19:1" + "src": "32344:19:0" } ], - "id": 1683, + "id": 1175, "name": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ], - "id": 1684, + "id": 1176, "name": "Block", - "src": "31443:43:1" + "src": "32326:45:0" } ], - "id": 1685, + "id": 1177, "name": "FunctionDefinition", - "src": "31371:115:1" + "src": "32254:117:0" }, { "attributes": { @@ -52693,7 +52693,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52703,9 +52703,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1686, + "id": 1178, "name": "StructuredDocumentation", - "src": "31491:322:1" + "src": "32378:331:0" }, { "children": [ @@ -52714,7 +52714,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52724,24 +52724,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1687, + "id": 1179, "name": "UserDefinedTypeName", - "src": "31830:10:1" + "src": "32727:10:0" } ], - "id": 1688, + "id": 1180, "name": "VariableDeclaration", - "src": "31830:22:1" + "src": "32727:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52753,19 +52753,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1689, + "id": 1181, "name": "ElementaryTypeName", - "src": "31854:7:1" + "src": "32751:7:0" } ], - "id": 1690, + "id": 1182, "name": "VariableDeclaration", - "src": "31854:13:1" + "src": "32751:13:0" } ], - "id": 1691, + "id": 1183, "name": "ParameterList", - "src": "31829:39:1" + "src": "32726:39:0" }, { "children": [ @@ -52774,7 +52774,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52786,25 +52786,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1692, + "id": 1184, "name": "ElementaryTypeName", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1693, + "id": 1185, "name": "VariableDeclaration", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1694, + "id": 1186, "name": "ParameterList", - "src": "31891:9:1" + "src": "32788:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1694 + "functionReturnParameters": 1186 }, "children": [ { @@ -52826,7 +52826,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52837,13 +52837,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1695, + "id": 1187, "name": "Identifier", - "src": "31918:3:1" + "src": "32816:3:0" }, { "attributes": { @@ -52852,7 +52852,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52861,57 +52861,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1688, + "referencedDeclaration": 1180, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1696, + "id": 1188, "name": "Identifier", - "src": "31922:3:1" + "src": "32820:3:0" } ], - "id": 1697, + "id": 1189, "name": "MemberAccess", - "src": "31922:10:1" + "src": "32820:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1690, + "referencedDeclaration": 1182, "type": "uint256", "value": "index" }, - "id": 1698, + "id": 1190, "name": "Identifier", - "src": "31934:5:1" + "src": "32832:5:0" } ], - "id": 1699, + "id": 1191, "name": "FunctionCall", - "src": "31918:22:1" + "src": "32816:22:0" } ], - "id": 1700, + "id": 1192, "name": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ], - "id": 1701, + "id": 1193, "name": "Block", - "src": "31901:46:1" + "src": "32798:48:0" } ], - "id": 1702, + "id": 1194, "name": "FunctionDefinition", - "src": "31818:129:1" + "src": "32715:131:0" }, { "attributes": { "canonicalName": "EnumerableSet.AddressSet", "name": "AddressSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -52920,7 +52920,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1705, + "scope": 1197, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -52930,22 +52930,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1703, + "id": 1195, "name": "UserDefinedTypeName", - "src": "32000:3:1" + "src": "32904:3:0" } ], - "id": 1704, + "id": 1196, "name": "VariableDeclaration", - "src": "32000:10:1" + "src": "32904:10:0" } ], - "id": 1705, + "id": 1197, "name": "StructDefinition", - "src": "31972:45:1" + "src": "32875:47:0" }, { "attributes": { @@ -52956,7 +52956,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52966,9 +52966,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1706, + "id": 1198, "name": "StructuredDocumentation", - "src": "32023:159:1" + "src": "32930:164:0" }, { "children": [ @@ -52977,7 +52977,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -52987,24 +52987,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1707, + "id": 1199, "name": "UserDefinedTypeName", - "src": "32200:10:1" + "src": "33113:10:0" } ], - "id": 1708, + "id": 1200, "name": "VariableDeclaration", - "src": "32200:22:1" + "src": "33113:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53017,19 +53017,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1709, + "id": 1201, "name": "ElementaryTypeName", - "src": "32224:7:1" + "src": "33137:7:0" } ], - "id": 1710, + "id": 1202, "name": "VariableDeclaration", - "src": "32224:13:1" + "src": "33137:13:0" } ], - "id": 1711, + "id": 1203, "name": "ParameterList", - "src": "32199:39:1" + "src": "33112:39:0" }, { "children": [ @@ -53038,7 +53038,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53050,25 +53050,25 @@ "name": "bool", "type": "bool" }, - "id": 1712, + "id": 1204, "name": "ElementaryTypeName", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1713, + "id": 1205, "name": "VariableDeclaration", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1714, + "id": 1206, "name": "ParameterList", - "src": "32256:6:1" + "src": "33169:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1714 + "functionReturnParameters": 1206 }, "children": [ { @@ -53090,7 +53090,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53101,13 +53101,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1715, + "id": 1207, "name": "Identifier", - "src": "32280:4:1" + "src": "33194:4:0" }, { "attributes": { @@ -53116,7 +53116,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53125,18 +53125,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1708, + "referencedDeclaration": 1200, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1716, + "id": 1208, "name": "Identifier", - "src": "32285:3:1" + "src": "33199:3:0" } ], - "id": 1717, + "id": 1209, "name": "MemberAccess", - "src": "32285:10:1" + "src": "33199:10:0" }, { "attributes": { @@ -53172,14 +53172,14 @@ "attributes": { "name": "bytes32" }, - "id": 1718, + "id": 1210, "name": "ElementaryTypeName", - "src": "32297:7:1" + "src": "33211:7:0" } ], - "id": 1719, + "id": 1211, "name": "ElementaryTypeNameExpression", - "src": "32297:7:1" + "src": "33211:7:0" }, { "attributes": { @@ -53215,14 +53215,14 @@ "attributes": { "name": "uint256" }, - "id": 1720, + "id": 1212, "name": "ElementaryTypeName", - "src": "32305:7:1" + "src": "33219:7:0" } ], - "id": 1721, + "id": 1213, "name": "ElementaryTypeNameExpression", - "src": "32305:7:1" + "src": "33219:7:0" }, { "attributes": { @@ -53258,62 +53258,62 @@ "attributes": { "name": "uint160" }, - "id": 1722, + "id": 1214, "name": "ElementaryTypeName", - "src": "32313:7:1" + "src": "33227:7:0" } ], - "id": 1723, + "id": 1215, "name": "ElementaryTypeNameExpression", - "src": "32313:7:1" + "src": "33227:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1710, + "referencedDeclaration": 1202, "type": "address", "value": "value" }, - "id": 1724, + "id": 1216, "name": "Identifier", - "src": "32321:5:1" + "src": "33235:5:0" } ], - "id": 1725, + "id": 1217, "name": "FunctionCall", - "src": "32313:14:1" + "src": "33227:14:0" } ], - "id": 1726, + "id": 1218, "name": "FunctionCall", - "src": "32305:23:1" + "src": "33219:23:0" } ], - "id": 1727, + "id": 1219, "name": "FunctionCall", - "src": "32297:32:1" + "src": "33211:32:0" } ], - "id": 1728, + "id": 1220, "name": "FunctionCall", - "src": "32280:50:1" + "src": "33194:50:0" } ], - "id": 1729, + "id": 1221, "name": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ], - "id": 1730, + "id": 1222, "name": "Block", - "src": "32263:74:1" + "src": "33176:76:0" } ], - "id": 1731, + "id": 1223, "name": "FunctionDefinition", - "src": "32187:150:1" + "src": "33100:152:0" }, { "attributes": { @@ -53324,7 +53324,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -53334,9 +53334,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1732, + "id": 1224, "name": "StructuredDocumentation", - "src": "32343:157:1" + "src": "33260:162:0" }, { "children": [ @@ -53345,7 +53345,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53355,24 +53355,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1733, + "id": 1225, "name": "UserDefinedTypeName", - "src": "32521:10:1" + "src": "33444:10:0" } ], - "id": 1734, + "id": 1226, "name": "VariableDeclaration", - "src": "32521:22:1" + "src": "33444:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53385,19 +53385,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1735, + "id": 1227, "name": "ElementaryTypeName", - "src": "32545:7:1" + "src": "33468:7:0" } ], - "id": 1736, + "id": 1228, "name": "VariableDeclaration", - "src": "32545:13:1" + "src": "33468:13:0" } ], - "id": 1737, + "id": 1229, "name": "ParameterList", - "src": "32520:39:1" + "src": "33443:39:0" }, { "children": [ @@ -53406,7 +53406,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53418,25 +53418,25 @@ "name": "bool", "type": "bool" }, - "id": 1738, + "id": 1230, "name": "ElementaryTypeName", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1739, + "id": 1231, "name": "VariableDeclaration", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1740, + "id": 1232, "name": "ParameterList", - "src": "32577:6:1" + "src": "33500:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1740 + "functionReturnParameters": 1232 }, "children": [ { @@ -53458,7 +53458,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53469,13 +53469,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1741, + "id": 1233, "name": "Identifier", - "src": "32601:7:1" + "src": "33525:7:0" }, { "attributes": { @@ -53484,7 +53484,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53493,18 +53493,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1734, + "referencedDeclaration": 1226, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1742, + "id": 1234, "name": "Identifier", - "src": "32609:3:1" + "src": "33533:3:0" } ], - "id": 1743, + "id": 1235, "name": "MemberAccess", - "src": "32609:10:1" + "src": "33533:10:0" }, { "attributes": { @@ -53540,14 +53540,14 @@ "attributes": { "name": "bytes32" }, - "id": 1744, + "id": 1236, "name": "ElementaryTypeName", - "src": "32621:7:1" + "src": "33545:7:0" } ], - "id": 1745, + "id": 1237, "name": "ElementaryTypeNameExpression", - "src": "32621:7:1" + "src": "33545:7:0" }, { "attributes": { @@ -53583,14 +53583,14 @@ "attributes": { "name": "uint256" }, - "id": 1746, + "id": 1238, "name": "ElementaryTypeName", - "src": "32629:7:1" + "src": "33553:7:0" } ], - "id": 1747, + "id": 1239, "name": "ElementaryTypeNameExpression", - "src": "32629:7:1" + "src": "33553:7:0" }, { "attributes": { @@ -53626,62 +53626,62 @@ "attributes": { "name": "uint160" }, - "id": 1748, + "id": 1240, "name": "ElementaryTypeName", - "src": "32637:7:1" + "src": "33561:7:0" } ], - "id": 1749, + "id": 1241, "name": "ElementaryTypeNameExpression", - "src": "32637:7:1" + "src": "33561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1736, + "referencedDeclaration": 1228, "type": "address", "value": "value" }, - "id": 1750, + "id": 1242, "name": "Identifier", - "src": "32645:5:1" + "src": "33569:5:0" } ], - "id": 1751, + "id": 1243, "name": "FunctionCall", - "src": "32637:14:1" + "src": "33561:14:0" } ], - "id": 1752, + "id": 1244, "name": "FunctionCall", - "src": "32629:23:1" + "src": "33553:23:0" } ], - "id": 1753, + "id": 1245, "name": "FunctionCall", - "src": "32621:32:1" + "src": "33545:32:0" } ], - "id": 1754, + "id": 1246, "name": "FunctionCall", - "src": "32601:53:1" + "src": "33525:53:0" } ], - "id": 1755, + "id": 1247, "name": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ], - "id": 1756, + "id": 1248, "name": "Block", - "src": "32584:77:1" + "src": "33507:79:0" } ], - "id": 1757, + "id": 1249, "name": "FunctionDefinition", - "src": "32505:156:1" + "src": "33428:158:0" }, { "attributes": { @@ -53692,7 +53692,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -53702,9 +53702,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1758, + "id": 1250, "name": "StructuredDocumentation", - "src": "32667:70:1" + "src": "33594:72:0" }, { "children": [ @@ -53713,7 +53713,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53723,24 +53723,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1759, + "id": 1251, "name": "UserDefinedTypeName", - "src": "32760:10:1" + "src": "33690:10:0" } ], - "id": 1760, + "id": 1252, "name": "VariableDeclaration", - "src": "32760:22:1" + "src": "33690:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53753,19 +53753,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1761, + "id": 1253, "name": "ElementaryTypeName", - "src": "32784:7:1" + "src": "33714:7:0" } ], - "id": 1762, + "id": 1254, "name": "VariableDeclaration", - "src": "32784:13:1" + "src": "33714:13:0" } ], - "id": 1763, + "id": 1255, "name": "ParameterList", - "src": "32759:39:1" + "src": "33689:39:0" }, { "children": [ @@ -53774,7 +53774,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53786,25 +53786,25 @@ "name": "bool", "type": "bool" }, - "id": 1764, + "id": 1256, "name": "ElementaryTypeName", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1765, + "id": 1257, "name": "VariableDeclaration", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1766, + "id": 1258, "name": "ParameterList", - "src": "32821:6:1" + "src": "33751:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1766 + "functionReturnParameters": 1258 }, "children": [ { @@ -53826,7 +53826,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53837,13 +53837,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1767, + "id": 1259, "name": "Identifier", - "src": "32845:9:1" + "src": "33776:9:0" }, { "attributes": { @@ -53852,7 +53852,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53861,18 +53861,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1760, + "referencedDeclaration": 1252, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1768, + "id": 1260, "name": "Identifier", - "src": "32855:3:1" + "src": "33786:3:0" } ], - "id": 1769, + "id": 1261, "name": "MemberAccess", - "src": "32855:10:1" + "src": "33786:10:0" }, { "attributes": { @@ -53908,14 +53908,14 @@ "attributes": { "name": "bytes32" }, - "id": 1770, + "id": 1262, "name": "ElementaryTypeName", - "src": "32867:7:1" + "src": "33798:7:0" } ], - "id": 1771, + "id": 1263, "name": "ElementaryTypeNameExpression", - "src": "32867:7:1" + "src": "33798:7:0" }, { "attributes": { @@ -53951,14 +53951,14 @@ "attributes": { "name": "uint256" }, - "id": 1772, + "id": 1264, "name": "ElementaryTypeName", - "src": "32875:7:1" + "src": "33806:7:0" } ], - "id": 1773, + "id": 1265, "name": "ElementaryTypeNameExpression", - "src": "32875:7:1" + "src": "33806:7:0" }, { "attributes": { @@ -53994,62 +53994,62 @@ "attributes": { "name": "uint160" }, - "id": 1774, + "id": 1266, "name": "ElementaryTypeName", - "src": "32883:7:1" + "src": "33814:7:0" } ], - "id": 1775, + "id": 1267, "name": "ElementaryTypeNameExpression", - "src": "32883:7:1" + "src": "33814:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1762, + "referencedDeclaration": 1254, "type": "address", "value": "value" }, - "id": 1776, + "id": 1268, "name": "Identifier", - "src": "32891:5:1" + "src": "33822:5:0" } ], - "id": 1777, + "id": 1269, "name": "FunctionCall", - "src": "32883:14:1" + "src": "33814:14:0" } ], - "id": 1778, + "id": 1270, "name": "FunctionCall", - "src": "32875:23:1" + "src": "33806:23:0" } ], - "id": 1779, + "id": 1271, "name": "FunctionCall", - "src": "32867:32:1" + "src": "33798:32:0" } ], - "id": 1780, + "id": 1272, "name": "FunctionCall", - "src": "32845:55:1" + "src": "33776:55:0" } ], - "id": 1781, + "id": 1273, "name": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ], - "id": 1782, + "id": 1274, "name": "Block", - "src": "32828:79:1" + "src": "33758:81:0" } ], - "id": 1783, + "id": 1275, "name": "FunctionDefinition", - "src": "32742:165:1" + "src": "33672:167:0" }, { "attributes": { @@ -54060,7 +54060,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54070,9 +54070,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1784, + "id": 1276, "name": "StructuredDocumentation", - "src": "32913:70:1" + "src": "33847:72:0" }, { "children": [ @@ -54081,7 +54081,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54091,22 +54091,22 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1785, + "id": 1277, "name": "UserDefinedTypeName", - "src": "33004:10:1" + "src": "33941:10:0" } ], - "id": 1786, + "id": 1278, "name": "VariableDeclaration", - "src": "33004:22:1" + "src": "33941:22:0" } ], - "id": 1787, + "id": 1279, "name": "ParameterList", - "src": "33003:24:1" + "src": "33940:24:0" }, { "children": [ @@ -54115,7 +54115,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54127,25 +54127,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1788, + "id": 1280, "name": "ElementaryTypeName", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1789, + "id": 1281, "name": "VariableDeclaration", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1790, + "id": 1282, "name": "ParameterList", - "src": "33050:9:1" + "src": "33987:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1790 + "functionReturnParameters": 1282 }, "children": [ { @@ -54167,20 +54167,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1791, + "id": 1283, "name": "Identifier", - "src": "33077:7:1" + "src": "34015:7:0" }, { "attributes": { @@ -54189,7 +54189,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54198,38 +54198,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1786, + "referencedDeclaration": 1278, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1792, + "id": 1284, "name": "Identifier", - "src": "33085:3:1" + "src": "34023:3:0" } ], - "id": 1793, + "id": 1285, "name": "MemberAccess", - "src": "33085:10:1" + "src": "34023:10:0" } ], - "id": 1794, + "id": 1286, "name": "FunctionCall", - "src": "33077:19:1" + "src": "34015:19:0" } ], - "id": 1795, + "id": 1287, "name": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ], - "id": 1796, + "id": 1288, "name": "Block", - "src": "33060:43:1" + "src": "33997:45:0" } ], - "id": 1797, + "id": 1289, "name": "FunctionDefinition", - "src": "32988:115:1" + "src": "33925:117:0" }, { "attributes": { @@ -54240,7 +54240,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54250,9 +54250,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1798, + "id": 1290, "name": "StructuredDocumentation", - "src": "33108:322:1" + "src": "34049:331:0" }, { "children": [ @@ -54261,7 +54261,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54271,24 +54271,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1799, + "id": 1291, "name": "UserDefinedTypeName", - "src": "33447:10:1" + "src": "34398:10:0" } ], - "id": 1800, + "id": 1292, "name": "VariableDeclaration", - "src": "33447:22:1" + "src": "34398:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54300,19 +54300,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1801, + "id": 1293, "name": "ElementaryTypeName", - "src": "33471:7:1" + "src": "34422:7:0" } ], - "id": 1802, + "id": 1294, "name": "VariableDeclaration", - "src": "33471:13:1" + "src": "34422:13:0" } ], - "id": 1803, + "id": 1295, "name": "ParameterList", - "src": "33446:39:1" + "src": "34397:39:0" }, { "children": [ @@ -54321,7 +54321,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -54334,25 +54334,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1804, + "id": 1296, "name": "ElementaryTypeName", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1805, + "id": 1297, "name": "VariableDeclaration", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1806, + "id": 1298, "name": "ParameterList", - "src": "33508:9:1" + "src": "34459:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1806 + "functionReturnParameters": 1298 }, "children": [ { @@ -54389,14 +54389,14 @@ "attributes": { "name": "address" }, - "id": 1807, + "id": 1299, "name": "ElementaryTypeName", - "src": "33535:7:1" + "src": "34487:7:0" } ], - "id": 1808, + "id": 1300, "name": "ElementaryTypeNameExpression", - "src": "33535:7:1" + "src": "34487:7:0" }, { "attributes": { @@ -54432,14 +54432,14 @@ "attributes": { "name": "uint160" }, - "id": 1809, + "id": 1301, "name": "ElementaryTypeName", - "src": "33543:7:1" + "src": "34495:7:0" } ], - "id": 1810, + "id": 1302, "name": "ElementaryTypeNameExpression", - "src": "33543:7:1" + "src": "34495:7:0" }, { "attributes": { @@ -54475,14 +54475,14 @@ "attributes": { "name": "uint256" }, - "id": 1811, + "id": 1303, "name": "ElementaryTypeName", - "src": "33551:7:1" + "src": "34503:7:0" } ], - "id": 1812, + "id": 1304, "name": "ElementaryTypeNameExpression", - "src": "33551:7:1" + "src": "34503:7:0" }, { "attributes": { @@ -54503,7 +54503,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54514,13 +54514,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1813, + "id": 1305, "name": "Identifier", - "src": "33559:3:1" + "src": "34511:3:0" }, { "attributes": { @@ -54529,7 +54529,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54538,72 +54538,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1800, + "referencedDeclaration": 1292, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1814, + "id": 1306, "name": "Identifier", - "src": "33563:3:1" + "src": "34515:3:0" } ], - "id": 1815, + "id": 1307, "name": "MemberAccess", - "src": "33563:10:1" + "src": "34515:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1802, + "referencedDeclaration": 1294, "type": "uint256", "value": "index" }, - "id": 1816, + "id": 1308, "name": "Identifier", - "src": "33575:5:1" + "src": "34527:5:0" } ], - "id": 1817, + "id": 1309, "name": "FunctionCall", - "src": "33559:22:1" + "src": "34511:22:0" } ], - "id": 1818, + "id": 1310, "name": "FunctionCall", - "src": "33551:31:1" + "src": "34503:31:0" } ], - "id": 1819, + "id": 1311, "name": "FunctionCall", - "src": "33543:40:1" + "src": "34495:40:0" } ], - "id": 1820, + "id": 1312, "name": "FunctionCall", - "src": "33535:49:1" + "src": "34487:49:0" } ], - "id": 1821, + "id": 1313, "name": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ], - "id": 1822, + "id": 1314, "name": "Block", - "src": "33518:73:1" + "src": "34469:75:0" } ], - "id": 1823, + "id": 1315, "name": "FunctionDefinition", - "src": "33435:156:1" + "src": "34386:158:0" }, { "attributes": { "canonicalName": "EnumerableSet.UintSet", "name": "UintSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -54612,7 +54612,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1826, + "scope": 1318, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -54622,22 +54622,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1824, + "id": 1316, "name": "UserDefinedTypeName", - "src": "33639:3:1" + "src": "34598:3:0" } ], - "id": 1825, + "id": 1317, "name": "VariableDeclaration", - "src": "33639:10:1" + "src": "34598:10:0" } ], - "id": 1826, + "id": 1318, "name": "StructDefinition", - "src": "33614:42:1" + "src": "34572:44:0" }, { "attributes": { @@ -54648,7 +54648,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -54658,9 +54658,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1827, + "id": 1319, "name": "StructuredDocumentation", - "src": "33662:159:1" + "src": "34624:164:0" }, { "children": [ @@ -54669,7 +54669,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -54679,24 +54679,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1828, + "id": 1320, "name": "UserDefinedTypeName", - "src": "33839:7:1" + "src": "34807:7:0" } ], - "id": 1829, + "id": 1321, "name": "VariableDeclaration", - "src": "33839:19:1" + "src": "34807:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54708,19 +54708,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1830, + "id": 1322, "name": "ElementaryTypeName", - "src": "33860:7:1" + "src": "34828:7:0" } ], - "id": 1831, + "id": 1323, "name": "VariableDeclaration", - "src": "33860:13:1" + "src": "34828:13:0" } ], - "id": 1832, + "id": 1324, "name": "ParameterList", - "src": "33838:36:1" + "src": "34806:36:0" }, { "children": [ @@ -54729,7 +54729,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -54741,25 +54741,25 @@ "name": "bool", "type": "bool" }, - "id": 1833, + "id": 1325, "name": "ElementaryTypeName", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1834, + "id": 1326, "name": "VariableDeclaration", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1835, + "id": 1327, "name": "ParameterList", - "src": "33892:6:1" + "src": "34860:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1835 + "functionReturnParameters": 1327 }, "children": [ { @@ -54781,7 +54781,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54792,13 +54792,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1836, + "id": 1328, "name": "Identifier", - "src": "33916:4:1" + "src": "34885:4:0" }, { "attributes": { @@ -54807,7 +54807,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54816,18 +54816,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1829, + "referencedDeclaration": 1321, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1837, + "id": 1329, "name": "Identifier", - "src": "33921:3:1" + "src": "34890:3:0" } ], - "id": 1838, + "id": 1330, "name": "MemberAccess", - "src": "33921:10:1" + "src": "34890:10:0" }, { "attributes": { @@ -54863,52 +54863,52 @@ "attributes": { "name": "bytes32" }, - "id": 1839, + "id": 1331, "name": "ElementaryTypeName", - "src": "33933:7:1" + "src": "34902:7:0" } ], - "id": 1840, + "id": 1332, "name": "ElementaryTypeNameExpression", - "src": "33933:7:1" + "src": "34902:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1831, + "referencedDeclaration": 1323, "type": "uint256", "value": "value" }, - "id": 1841, + "id": 1333, "name": "Identifier", - "src": "33941:5:1" + "src": "34910:5:0" } ], - "id": 1842, + "id": 1334, "name": "FunctionCall", - "src": "33933:14:1" + "src": "34902:14:0" } ], - "id": 1843, + "id": 1335, "name": "FunctionCall", - "src": "33916:32:1" + "src": "34885:32:0" } ], - "id": 1844, + "id": 1336, "name": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ], - "id": 1845, + "id": 1337, "name": "Block", - "src": "33899:56:1" + "src": "34867:58:0" } ], - "id": 1846, + "id": 1338, "name": "FunctionDefinition", - "src": "33826:129:1" + "src": "34794:131:0" }, { "attributes": { @@ -54919,7 +54919,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -54929,9 +54929,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1847, + "id": 1339, "name": "StructuredDocumentation", - "src": "33961:157:1" + "src": "34933:162:0" }, { "children": [ @@ -54940,7 +54940,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -54950,24 +54950,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1848, + "id": 1340, "name": "UserDefinedTypeName", - "src": "34139:7:1" + "src": "35117:7:0" } ], - "id": 1849, + "id": 1341, "name": "VariableDeclaration", - "src": "34139:19:1" + "src": "35117:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54979,19 +54979,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1850, + "id": 1342, "name": "ElementaryTypeName", - "src": "34160:7:1" + "src": "35138:7:0" } ], - "id": 1851, + "id": 1343, "name": "VariableDeclaration", - "src": "34160:13:1" + "src": "35138:13:0" } ], - "id": 1852, + "id": 1344, "name": "ParameterList", - "src": "34138:36:1" + "src": "35116:36:0" }, { "children": [ @@ -55000,7 +55000,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55012,25 +55012,25 @@ "name": "bool", "type": "bool" }, - "id": 1853, + "id": 1345, "name": "ElementaryTypeName", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1854, + "id": 1346, "name": "VariableDeclaration", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1855, + "id": 1347, "name": "ParameterList", - "src": "34192:6:1" + "src": "35170:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1855 + "functionReturnParameters": 1347 }, "children": [ { @@ -55052,7 +55052,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55063,13 +55063,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1856, + "id": 1348, "name": "Identifier", - "src": "34216:7:1" + "src": "35195:7:0" }, { "attributes": { @@ -55078,7 +55078,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55087,18 +55087,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1849, + "referencedDeclaration": 1341, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1857, + "id": 1349, "name": "Identifier", - "src": "34224:3:1" + "src": "35203:3:0" } ], - "id": 1858, + "id": 1350, "name": "MemberAccess", - "src": "34224:10:1" + "src": "35203:10:0" }, { "attributes": { @@ -55134,52 +55134,52 @@ "attributes": { "name": "bytes32" }, - "id": 1859, + "id": 1351, "name": "ElementaryTypeName", - "src": "34236:7:1" + "src": "35215:7:0" } ], - "id": 1860, + "id": 1352, "name": "ElementaryTypeNameExpression", - "src": "34236:7:1" + "src": "35215:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1851, + "referencedDeclaration": 1343, "type": "uint256", "value": "value" }, - "id": 1861, + "id": 1353, "name": "Identifier", - "src": "34244:5:1" + "src": "35223:5:0" } ], - "id": 1862, + "id": 1354, "name": "FunctionCall", - "src": "34236:14:1" + "src": "35215:14:0" } ], - "id": 1863, + "id": 1355, "name": "FunctionCall", - "src": "34216:35:1" + "src": "35195:35:0" } ], - "id": 1864, + "id": 1356, "name": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ], - "id": 1865, + "id": 1357, "name": "Block", - "src": "34199:59:1" + "src": "35177:61:0" } ], - "id": 1866, + "id": 1358, "name": "FunctionDefinition", - "src": "34123:135:1" + "src": "35101:137:0" }, { "attributes": { @@ -55190,7 +55190,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55200,9 +55200,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1867, + "id": 1359, "name": "StructuredDocumentation", - "src": "34264:70:1" + "src": "35246:72:0" }, { "children": [ @@ -55211,7 +55211,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55221,24 +55221,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1868, + "id": 1360, "name": "UserDefinedTypeName", - "src": "34357:7:1" + "src": "35342:7:0" } ], - "id": 1869, + "id": 1361, "name": "VariableDeclaration", - "src": "34357:19:1" + "src": "35342:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55250,19 +55250,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1870, + "id": 1362, "name": "ElementaryTypeName", - "src": "34378:7:1" + "src": "35363:7:0" } ], - "id": 1871, + "id": 1363, "name": "VariableDeclaration", - "src": "34378:13:1" + "src": "35363:13:0" } ], - "id": 1872, + "id": 1364, "name": "ParameterList", - "src": "34356:36:1" + "src": "35341:36:0" }, { "children": [ @@ -55271,7 +55271,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55283,25 +55283,25 @@ "name": "bool", "type": "bool" }, - "id": 1873, + "id": 1365, "name": "ElementaryTypeName", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1874, + "id": 1366, "name": "VariableDeclaration", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1875, + "id": 1367, "name": "ParameterList", - "src": "34415:6:1" + "src": "35400:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1875 + "functionReturnParameters": 1367 }, "children": [ { @@ -55323,7 +55323,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55334,13 +55334,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1876, + "id": 1368, "name": "Identifier", - "src": "34439:9:1" + "src": "35425:9:0" }, { "attributes": { @@ -55349,7 +55349,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55358,18 +55358,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1869, + "referencedDeclaration": 1361, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1877, + "id": 1369, "name": "Identifier", - "src": "34449:3:1" + "src": "35435:3:0" } ], - "id": 1878, + "id": 1370, "name": "MemberAccess", - "src": "34449:10:1" + "src": "35435:10:0" }, { "attributes": { @@ -55405,52 +55405,52 @@ "attributes": { "name": "bytes32" }, - "id": 1879, + "id": 1371, "name": "ElementaryTypeName", - "src": "34461:7:1" + "src": "35447:7:0" } ], - "id": 1880, + "id": 1372, "name": "ElementaryTypeNameExpression", - "src": "34461:7:1" + "src": "35447:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1871, + "referencedDeclaration": 1363, "type": "uint256", "value": "value" }, - "id": 1881, + "id": 1373, "name": "Identifier", - "src": "34469:5:1" + "src": "35455:5:0" } ], - "id": 1882, + "id": 1374, "name": "FunctionCall", - "src": "34461:14:1" + "src": "35447:14:0" } ], - "id": 1883, + "id": 1375, "name": "FunctionCall", - "src": "34439:37:1" + "src": "35425:37:0" } ], - "id": 1884, + "id": 1376, "name": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ], - "id": 1885, + "id": 1377, "name": "Block", - "src": "34422:61:1" + "src": "35407:63:0" } ], - "id": 1886, + "id": 1378, "name": "FunctionDefinition", - "src": "34339:144:1" + "src": "35324:146:0" }, { "attributes": { @@ -55461,7 +55461,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55471,9 +55471,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1887, + "id": 1379, "name": "StructuredDocumentation", - "src": "34489:70:1" + "src": "35478:72:0" }, { "children": [ @@ -55482,7 +55482,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55492,22 +55492,22 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1888, + "id": 1380, "name": "UserDefinedTypeName", - "src": "34580:7:1" + "src": "35572:7:0" } ], - "id": 1889, + "id": 1381, "name": "VariableDeclaration", - "src": "34580:19:1" + "src": "35572:19:0" } ], - "id": 1890, + "id": 1382, "name": "ParameterList", - "src": "34579:21:1" + "src": "35571:21:0" }, { "children": [ @@ -55516,7 +55516,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55528,25 +55528,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1891, + "id": 1383, "name": "ElementaryTypeName", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1892, + "id": 1384, "name": "VariableDeclaration", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1893, + "id": 1385, "name": "ParameterList", - "src": "34623:9:1" + "src": "35615:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1893 + "functionReturnParameters": 1385 }, "children": [ { @@ -55568,20 +55568,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1894, + "id": 1386, "name": "Identifier", - "src": "34650:7:1" + "src": "35643:7:0" }, { "attributes": { @@ -55590,7 +55590,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55599,38 +55599,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1889, + "referencedDeclaration": 1381, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1895, + "id": 1387, "name": "Identifier", - "src": "34658:3:1" + "src": "35651:3:0" } ], - "id": 1896, + "id": 1388, "name": "MemberAccess", - "src": "34658:10:1" + "src": "35651:10:0" } ], - "id": 1897, + "id": 1389, "name": "FunctionCall", - "src": "34650:19:1" + "src": "35643:19:0" } ], - "id": 1898, + "id": 1390, "name": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ], - "id": 1899, + "id": 1391, "name": "Block", - "src": "34633:43:1" + "src": "35625:45:0" } ], - "id": 1900, + "id": 1392, "name": "FunctionDefinition", - "src": "34564:112:1" + "src": "35556:114:0" }, { "attributes": { @@ -55641,7 +55641,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55651,9 +55651,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1901, + "id": 1393, "name": "StructuredDocumentation", - "src": "34681:322:1" + "src": "35677:331:0" }, { "children": [ @@ -55662,7 +55662,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55672,24 +55672,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1902, + "id": 1394, "name": "UserDefinedTypeName", - "src": "35020:7:1" + "src": "36026:7:0" } ], - "id": 1903, + "id": 1395, "name": "VariableDeclaration", - "src": "35020:19:1" + "src": "36026:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55701,19 +55701,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1904, + "id": 1396, "name": "ElementaryTypeName", - "src": "35041:7:1" + "src": "36047:7:0" } ], - "id": 1905, + "id": 1397, "name": "VariableDeclaration", - "src": "35041:13:1" + "src": "36047:13:0" } ], - "id": 1906, + "id": 1398, "name": "ParameterList", - "src": "35019:36:1" + "src": "36025:36:0" }, { "children": [ @@ -55722,7 +55722,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55734,25 +55734,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1907, + "id": 1399, "name": "ElementaryTypeName", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1908, + "id": 1400, "name": "VariableDeclaration", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1909, + "id": 1401, "name": "ParameterList", - "src": "35078:9:1" + "src": "36084:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1909 + "functionReturnParameters": 1401 }, "children": [ { @@ -55789,14 +55789,14 @@ "attributes": { "name": "uint256" }, - "id": 1910, + "id": 1402, "name": "ElementaryTypeName", - "src": "35105:7:1" + "src": "36112:7:0" } ], - "id": 1911, + "id": 1403, "name": "ElementaryTypeNameExpression", - "src": "35105:7:1" + "src": "36112:7:0" }, { "attributes": { @@ -55817,7 +55817,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55828,13 +55828,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1912, + "id": 1404, "name": "Identifier", - "src": "35113:3:1" + "src": "36120:3:0" }, { "attributes": { @@ -55843,7 +55843,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55852,61 +55852,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1903, + "referencedDeclaration": 1395, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1913, + "id": 1405, "name": "Identifier", - "src": "35117:3:1" + "src": "36124:3:0" } ], - "id": 1914, + "id": 1406, "name": "MemberAccess", - "src": "35117:10:1" + "src": "36124:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1905, + "referencedDeclaration": 1397, "type": "uint256", "value": "index" }, - "id": 1915, + "id": 1407, "name": "Identifier", - "src": "35129:5:1" + "src": "36136:5:0" } ], - "id": 1916, + "id": 1408, "name": "FunctionCall", - "src": "35113:22:1" + "src": "36120:22:0" } ], - "id": 1917, + "id": 1409, "name": "FunctionCall", - "src": "35105:31:1" + "src": "36112:31:0" } ], - "id": 1918, + "id": 1410, "name": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ], - "id": 1919, + "id": 1411, "name": "Block", - "src": "35088:55:1" + "src": "36094:57:0" } ], - "id": 1920, + "id": 1412, "name": "FunctionDefinition", - "src": "35008:135:1" + "src": "36014:137:0" } ], - "id": 1921, + "id": 1413, "name": "ContractDefinition", - "src": "26511:8634:1" + "src": "27252:8902:0" }, { "attributes": { @@ -55920,9 +55920,9 @@ ".0" ] }, - "id": 1922, + "id": 1414, "name": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "attributes": { @@ -55936,25 +55936,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, - "id": 1923, + "id": 1415, "name": "StructuredDocumentation", - "src": "35237:705:1" + "src": "36251:728:0" }, { "attributes": { "canonicalName": "EnumerableMap.MapEntry", "name": "MapEntry", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -55963,7 +55963,7 @@ "constant": false, "mutability": "mutable", "name": "_key", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -55975,21 +55975,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1924, + "id": 1416, "name": "ElementaryTypeName", - "src": "36455:7:1" + "src": "37504:7:0" } ], - "id": 1925, + "id": 1417, "name": "VariableDeclaration", - "src": "36455:12:1" + "src": "37504:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_value", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56001,25 +56001,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1926, + "id": 1418, "name": "ElementaryTypeName", - "src": "36477:7:1" + "src": "37527:7:0" } ], - "id": 1927, + "id": 1419, "name": "VariableDeclaration", - "src": "36477:14:1" + "src": "37527:14:0" } ], - "id": 1928, + "id": 1420, "name": "StructDefinition", - "src": "36429:69:1" + "src": "37477:72:0" }, { "attributes": { "canonicalName": "EnumerableMap.Map", "name": "Map", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -56028,7 +56028,7 @@ "constant": false, "mutability": "mutable", "name": "_entries", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.MapEntry[]", @@ -56043,29 +56043,29 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 1929, + "id": 1421, "name": "UserDefinedTypeName", - "src": "36567:8:1" + "src": "37622:8:0" } ], - "id": 1930, + "id": 1422, "name": "ArrayTypeName", - "src": "36567:10:1" + "src": "37622:10:0" } ], - "id": 1931, + "id": 1423, "name": "VariableDeclaration", - "src": "36567:19:1" + "src": "37622:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -56082,33 +56082,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1932, + "id": 1424, "name": "ElementaryTypeName", - "src": "36745:7:1" + "src": "37804:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1933, + "id": 1425, "name": "ElementaryTypeName", - "src": "36756:7:1" + "src": "37815:7:0" } ], - "id": 1934, + "id": 1426, "name": "Mapping", - "src": "36736:28:1" + "src": "37795:28:0" } ], - "id": 1935, + "id": 1427, "name": "VariableDeclaration", - "src": "36736:37:1" + "src": "37795:37:0" } ], - "id": 1936, + "id": 1428, "name": "StructDefinition", - "src": "36504:276:1" + "src": "37557:283:0" }, { "attributes": { @@ -56119,7 +56119,7 @@ null ], "name": "_set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56129,9 +56129,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1937, + "id": 1429, "name": "StructuredDocumentation", - "src": "36786:216:1" + "src": "37848:222:0" }, { "children": [ @@ -56140,7 +56140,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56150,24 +56150,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 1938, + "id": 1430, "name": "UserDefinedTypeName", - "src": "37021:3:1" + "src": "38090:3:0" } ], - "id": 1939, + "id": 1431, "name": "VariableDeclaration", - "src": "37021:15:1" + "src": "38090:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56179,21 +56179,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1940, + "id": 1432, "name": "ElementaryTypeName", - "src": "37038:7:1" + "src": "38107:7:0" } ], - "id": 1941, + "id": 1433, "name": "VariableDeclaration", - "src": "37038:11:1" + "src": "38107:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56205,19 +56205,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1942, + "id": 1434, "name": "ElementaryTypeName", - "src": "37051:7:1" + "src": "38120:7:0" } ], - "id": 1943, + "id": 1435, "name": "VariableDeclaration", - "src": "37051:13:1" + "src": "38120:13:0" } ], - "id": 1944, + "id": 1436, "name": "ParameterList", - "src": "37020:45:1" + "src": "38089:45:0" }, { "children": [ @@ -56226,7 +56226,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -56238,26 +56238,26 @@ "name": "bool", "type": "bool" }, - "id": 1945, + "id": 1437, "name": "ElementaryTypeName", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1946, + "id": 1438, "name": "VariableDeclaration", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1947, + "id": 1439, "name": "ParameterList", - "src": "37082:6:1" + "src": "38151:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1949 + 1441 ] }, "children": [ @@ -56266,7 +56266,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 1997, + "scope": 1489, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -56278,14 +56278,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1948, + "id": 1440, "name": "ElementaryTypeName", - "src": "37197:7:1" + "src": "38268:7:0" } ], - "id": 1949, + "id": 1441, "name": "VariableDeclaration", - "src": "37197:16:1" + "src": "38268:16:0" }, { "attributes": { @@ -56303,7 +56303,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56312,41 +56312,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1950, + "id": 1442, "name": "Identifier", - "src": "37216:3:1" + "src": "38287:3:0" } ], - "id": 1951, + "id": 1443, "name": "MemberAccess", - "src": "37216:12:1" + "src": "38287:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1952, + "id": 1444, "name": "Identifier", - "src": "37229:3:1" + "src": "38300:3:0" } ], - "id": 1953, + "id": 1445, "name": "IndexAccess", - "src": "37216:17:1" + "src": "38287:17:0" } ], - "id": 1954, + "id": 1446, "name": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "children": [ @@ -56369,13 +56369,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1955, + "id": 1447, "name": "Identifier", - "src": "37248:8:1" + "src": "38321:8:0" }, { "attributes": { @@ -56388,14 +56388,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1956, + "id": 1448, "name": "Literal", - "src": "37260:1:1" + "src": "38333:1:0" } ], - "id": 1957, + "id": 1449, "name": "BinaryOperation", - "src": "37248:13:1" + "src": "38321:13:0" }, { "children": [ @@ -56420,7 +56420,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], @@ -56439,7 +56439,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56448,23 +56448,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1958, + "id": 1450, "name": "Identifier", - "src": "37314:3:1" + "src": "38388:3:0" } ], - "id": 1961, + "id": 1453, "name": "MemberAccess", - "src": "37314:12:1" + "src": "38388:12:0" } ], - "id": 1962, + "id": 1454, "name": "MemberAccess", - "src": "37314:17:1" + "src": "38388:17:0" }, { "attributes": { @@ -56497,54 +56497,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "type(struct EnumerableMap.MapEntry storage pointer)", "value": "MapEntry" }, - "id": 1963, + "id": 1455, "name": "Identifier", - "src": "37332:8:1" + "src": "38406:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1964, + "id": 1456, "name": "Identifier", - "src": "37349:3:1" + "src": "38423:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1965, + "id": 1457, "name": "Identifier", - "src": "37362:5:1" + "src": "38436:5:0" } ], - "id": 1966, + "id": 1458, "name": "FunctionCall", - "src": "37332:38:1" + "src": "38406:38:0" } ], - "id": 1967, + "id": 1459, "name": "FunctionCall", - "src": "37314:57:1" + "src": "38388:57:0" } ], - "id": 1968, + "id": 1460, "name": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "children": [ @@ -56574,7 +56574,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56583,36 +56583,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1969, + "id": 1461, "name": "Identifier", - "src": "37506:3:1" + "src": "38583:3:0" } ], - "id": 1972, + "id": 1464, "name": "MemberAccess", - "src": "37506:12:1" + "src": "38583:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1971, + "id": 1463, "name": "Identifier", - "src": "37519:3:1" + "src": "38596:3:0" } ], - "id": 1973, + "id": 1465, "name": "IndexAccess", - "src": "37506:17:1" + "src": "38583:17:0" }, { "attributes": { @@ -56631,7 +56631,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56640,37 +56640,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1974, + "id": 1466, "name": "Identifier", - "src": "37526:3:1" + "src": "38603:3:0" } ], - "id": 1975, + "id": 1467, "name": "MemberAccess", - "src": "37526:12:1" + "src": "38603:12:0" } ], - "id": 1976, + "id": 1468, "name": "MemberAccess", - "src": "37526:19:1" + "src": "38603:19:0" } ], - "id": 1977, + "id": 1469, "name": "Assignment", - "src": "37506:39:1" + "src": "38583:39:0" } ], - "id": 1978, + "id": 1470, "name": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -56684,19 +56684,19 @@ "type": "bool", "value": "true" }, - "id": 1979, + "id": 1471, "name": "Literal", - "src": "37566:4:1" + "src": "38644:4:0" } ], - "id": 1980, + "id": 1472, "name": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ], - "id": 1981, + "id": 1473, "name": "Block", - "src": "37263:318:1" + "src": "38336:324:0" }, { "children": [ @@ -56719,7 +56719,7 @@ "isPure": false, "lValueRequested": true, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -56739,7 +56739,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56748,18 +56748,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1982, + "id": 1474, "name": "Identifier", - "src": "37601:3:1" + "src": "38681:3:0" } ], - "id": 1987, + "id": 1479, "name": "MemberAccess", - "src": "37601:12:1" + "src": "38681:12:0" }, { "attributes": { @@ -56780,13 +56780,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1984, + "id": 1476, "name": "Identifier", - "src": "37614:8:1" + "src": "38694:8:0" }, { "attributes": { @@ -56799,51 +56799,51 @@ "type": "int_const 1", "value": "1" }, - "id": 1985, + "id": 1477, "name": "Literal", - "src": "37625:1:1" + "src": "38705:1:0" } ], - "id": 1986, + "id": 1478, "name": "BinaryOperation", - "src": "37614:12:1" + "src": "38694:12:0" } ], - "id": 1988, + "id": 1480, "name": "IndexAccess", - "src": "37601:26:1" + "src": "38681:26:0" } ], - "id": 1989, + "id": 1481, "name": "MemberAccess", - "src": "37601:33:1" + "src": "38681:33:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1990, + "id": 1482, "name": "Identifier", - "src": "37637:5:1" + "src": "38717:5:0" } ], - "id": 1991, + "id": 1483, "name": "Assignment", - "src": "37601:41:1" + "src": "38681:41:0" } ], - "id": 1992, + "id": 1484, "name": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -56857,34 +56857,34 @@ "type": "bool", "value": "false" }, - "id": 1993, + "id": 1485, "name": "Literal", - "src": "37663:5:1" + "src": "38744:5:0" } ], - "id": 1994, + "id": 1486, "name": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ], - "id": 1995, + "id": 1487, "name": "Block", - "src": "37587:92:1" + "src": "38666:95:0" } ], - "id": 1996, + "id": 1488, "name": "IfStatement", - "src": "37244:435:1" + "src": "38317:444:0" } ], - "id": 1997, + "id": 1489, "name": "Block", - "src": "37089:596:1" + "src": "38158:610:0" } ], - "id": 1998, + "id": 1490, "name": "FunctionDefinition", - "src": "37007:678:1" + "src": "38076:692:0" }, { "attributes": { @@ -56895,7 +56895,7 @@ null ], "name": "_remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56905,9 +56905,9 @@ "attributes": { "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 1999, + "id": 1491, "name": "StructuredDocumentation", - "src": "37691:157:1" + "src": "38776:161:0" }, { "children": [ @@ -56916,7 +56916,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56926,24 +56926,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2000, + "id": 1492, "name": "UserDefinedTypeName", - "src": "37870:3:1" + "src": "38960:3:0" } ], - "id": 2001, + "id": 1493, "name": "VariableDeclaration", - "src": "37870:15:1" + "src": "38960:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56955,19 +56955,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2002, + "id": 1494, "name": "ElementaryTypeName", - "src": "37887:7:1" + "src": "38977:7:0" } ], - "id": 2003, + "id": 1495, "name": "VariableDeclaration", - "src": "37887:11:1" + "src": "38977:11:0" } ], - "id": 2004, + "id": 1496, "name": "ParameterList", - "src": "37869:30:1" + "src": "38959:30:0" }, { "children": [ @@ -56976,7 +56976,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -56988,26 +56988,26 @@ "name": "bool", "type": "bool" }, - "id": 2005, + "id": 1497, "name": "ElementaryTypeName", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2006, + "id": 1498, "name": "VariableDeclaration", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2007, + "id": 1499, "name": "ParameterList", - "src": "37916:6:1" + "src": "39006:6:0" }, { "children": [ { "attributes": { "assignments": [ - 2009 + 1501 ] }, "children": [ @@ -57016,7 +57016,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2078, + "scope": 1570, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57028,14 +57028,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2008, + "id": 1500, "name": "ElementaryTypeName", - "src": "38031:7:1" + "src": "39123:7:0" } ], - "id": 2009, + "id": 1501, "name": "VariableDeclaration", - "src": "38031:16:1" + "src": "39123:16:0" }, { "attributes": { @@ -57053,7 +57053,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57062,41 +57062,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2010, + "id": 1502, "name": "Identifier", - "src": "38050:3:1" + "src": "39142:3:0" } ], - "id": 2011, + "id": 1503, "name": "MemberAccess", - "src": "38050:12:1" + "src": "39142:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2012, + "id": 1504, "name": "Identifier", - "src": "38063:3:1" + "src": "39155:3:0" } ], - "id": 2013, + "id": 1505, "name": "IndexAccess", - "src": "38050:17:1" + "src": "39142:17:0" } ], - "id": 2014, + "id": 1506, "name": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "children": [ @@ -57119,13 +57119,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2015, + "id": 1507, "name": "Identifier", - "src": "38082:8:1" + "src": "39176:8:0" }, { "attributes": { @@ -57138,21 +57138,21 @@ "type": "int_const 0", "value": "0" }, - "id": 2016, + "id": 1508, "name": "Literal", - "src": "38094:1:1" + "src": "39188:1:0" } ], - "id": 2017, + "id": 1509, "name": "BinaryOperation", - "src": "38082:13:1" + "src": "39176:13:0" }, { "children": [ { "attributes": { "assignments": [ - 2019 + 1511 ] }, "children": [ @@ -57161,7 +57161,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57173,14 +57173,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2018, + "id": 1510, "name": "ElementaryTypeName", - "src": "38438:7:1" + "src": "39537:7:0" } ], - "id": 2019, + "id": 1511, "name": "VariableDeclaration", - "src": "38438:21:1" + "src": "39537:21:0" }, { "attributes": { @@ -57201,13 +57201,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2020, + "id": 1512, "name": "Identifier", - "src": "38462:8:1" + "src": "39561:8:0" }, { "attributes": { @@ -57220,24 +57220,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2021, + "id": 1513, "name": "Literal", - "src": "38473:1:1" + "src": "39572:1:0" } ], - "id": 2022, + "id": 1514, "name": "BinaryOperation", - "src": "38462:12:1" + "src": "39561:12:0" } ], - "id": 2023, + "id": 1515, "name": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "attributes": { "assignments": [ - 2025 + 1517 ] }, "children": [ @@ -57246,7 +57246,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57258,14 +57258,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2024, + "id": 1516, "name": "ElementaryTypeName", - "src": "38488:7:1" + "src": "39588:7:0" } ], - "id": 2025, + "id": 1517, "name": "VariableDeclaration", - "src": "38488:17:1" + "src": "39588:17:0" }, { "attributes": { @@ -57298,7 +57298,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57307,23 +57307,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2026, + "id": 1518, "name": "Identifier", - "src": "38508:3:1" + "src": "39608:3:0" } ], - "id": 2027, + "id": 1519, "name": "MemberAccess", - "src": "38508:12:1" + "src": "39608:12:0" } ], - "id": 2028, + "id": 1520, "name": "MemberAccess", - "src": "38508:19:1" + "src": "39608:19:0" }, { "attributes": { @@ -57336,24 +57336,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2029, + "id": 1521, "name": "Literal", - "src": "38530:1:1" + "src": "39630:1:0" } ], - "id": 2030, + "id": 1522, "name": "BinaryOperation", - "src": "38508:23:1" + "src": "39608:23:0" } ], - "id": 2031, + "id": 1523, "name": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "attributes": { "assignments": [ - 2033 + 1525 ] }, "children": [ @@ -57362,7 +57362,7 @@ "constant": false, "mutability": "mutable", "name": "lastEntry", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -57372,17 +57372,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2032, + "id": 1524, "name": "UserDefinedTypeName", - "src": "38771:8:1" + "src": "39876:8:0" } ], - "id": 2033, + "id": 1525, "name": "VariableDeclaration", - "src": "38771:26:1" + "src": "39876:26:0" }, { "attributes": { @@ -57400,7 +57400,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57409,41 +57409,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2034, + "id": 1526, "name": "Identifier", - "src": "38800:3:1" + "src": "39905:3:0" } ], - "id": 2035, + "id": 1527, "name": "MemberAccess", - "src": "38800:12:1" + "src": "39905:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2025, + "referencedDeclaration": 1517, "type": "uint256", "value": "lastIndex" }, - "id": 2036, + "id": 1528, "name": "Identifier", - "src": "38813:9:1" + "src": "39918:9:0" } ], - "id": 2037, + "id": 1529, "name": "IndexAccess", - "src": "38800:23:1" + "src": "39905:23:0" } ], - "id": 2038, + "id": 1530, "name": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "children": [ @@ -57473,7 +57473,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57482,59 +57482,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2039, + "id": 1531, "name": "Identifier", - "src": "38915:3:1" + "src": "40023:3:0" } ], - "id": 2042, + "id": 1534, "name": "MemberAccess", - "src": "38915:12:1" + "src": "40023:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2041, + "id": 1533, "name": "Identifier", - "src": "38928:13:1" + "src": "40036:13:0" } ], - "id": 2043, + "id": 1535, "name": "IndexAccess", - "src": "38915:27:1" + "src": "40023:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2044, + "id": 1536, "name": "Identifier", - "src": "38945:9:1" + "src": "40053:9:0" } ], - "id": 2045, + "id": 1537, "name": "Assignment", - "src": "38915:39:1" + "src": "40023:39:0" } ], - "id": 2046, + "id": 1538, "name": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "children": [ @@ -57564,7 +57564,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57573,18 +57573,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2047, + "id": 1539, "name": "Identifier", - "src": "39020:3:1" + "src": "40130:3:0" } ], - "id": 2051, + "id": 1543, "name": "MemberAccess", - "src": "39020:12:1" + "src": "40130:12:0" }, { "attributes": { @@ -57593,7 +57593,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -57602,23 +57602,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2049, + "id": 1541, "name": "Identifier", - "src": "39033:9:1" + "src": "40143:9:0" } ], - "id": 2050, + "id": 1542, "name": "MemberAccess", - "src": "39033:14:1" + "src": "40143:14:0" } ], - "id": 2052, + "id": 1544, "name": "IndexAccess", - "src": "39020:28:1" + "src": "40130:28:0" }, { "attributes": { @@ -57639,13 +57639,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2053, + "id": 1545, "name": "Identifier", - "src": "39051:13:1" + "src": "40161:13:0" }, { "attributes": { @@ -57658,24 +57658,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2054, + "id": 1546, "name": "Literal", - "src": "39067:1:1" + "src": "40177:1:0" } ], - "id": 2055, + "id": 1547, "name": "BinaryOperation", - "src": "39051:17:1" + "src": "40161:17:0" } ], - "id": 2056, + "id": 1548, "name": "Assignment", - "src": "39020:48:1" + "src": "40130:48:0" } ], - "id": 2057, + "id": 1549, "name": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "children": [ @@ -57717,7 +57717,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57726,33 +57726,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2058, + "id": 1550, "name": "Identifier", - "src": "39174:3:1" + "src": "40287:3:0" } ], - "id": 2061, + "id": 1553, "name": "MemberAccess", - "src": "39174:12:1" + "src": "40287:12:0" } ], - "id": 2062, + "id": 1554, "name": "MemberAccess", - "src": "39174:16:1" + "src": "40287:16:0" } ], - "id": 2063, + "id": 1555, "name": "FunctionCall", - "src": "39174:18:1" + "src": "40287:18:0" } ], - "id": 2064, + "id": 1556, "name": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "children": [ @@ -57783,7 +57783,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57792,50 +57792,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2065, + "id": 1557, "name": "Identifier", - "src": "39267:3:1" + "src": "40383:3:0" } ], - "id": 2066, + "id": 1558, "name": "MemberAccess", - "src": "39267:12:1" + "src": "40383:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2067, + "id": 1559, "name": "Identifier", - "src": "39280:3:1" + "src": "40396:3:0" } ], - "id": 2068, + "id": 1560, "name": "IndexAccess", - "src": "39267:17:1" + "src": "40383:17:0" } ], - "id": 2069, + "id": 1561, "name": "UnaryOperation", - "src": "39260:24:1" + "src": "40376:24:0" } ], - "id": 2070, + "id": 1562, "name": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -57849,25 +57849,25 @@ "type": "bool", "value": "true" }, - "id": 2071, + "id": 1563, "name": "Literal", - "src": "39306:4:1" + "src": "40424:4:0" } ], - "id": 2072, + "id": 1564, "name": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ], - "id": 2073, + "id": 1565, "name": "Block", - "src": "38097:1224:1" + "src": "39191:1249:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -57881,34 +57881,34 @@ "type": "bool", "value": "false" }, - "id": 2074, + "id": 1566, "name": "Literal", - "src": "39348:5:1" + "src": "40468:5:0" } ], - "id": 2075, + "id": 1567, "name": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ], - "id": 2076, + "id": 1568, "name": "Block", - "src": "39327:37:1" + "src": "40446:39:0" } ], - "id": 2077, + "id": 1569, "name": "IfStatement", - "src": "38078:1286:1" + "src": "39172:1313:0" } ], - "id": 2078, + "id": 1570, "name": "Block", - "src": "37923:1447:1" + "src": "39013:1479:0" } ], - "id": 2079, + "id": 1571, "name": "FunctionDefinition", - "src": "37853:1517:1" + "src": "38943:1549:0" }, { "attributes": { @@ -57919,7 +57919,7 @@ null ], "name": "_contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -57929,9 +57929,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2080, + "id": 1572, "name": "StructuredDocumentation", - "src": "39376:68:1" + "src": "40500:70:0" }, { "children": [ @@ -57940,7 +57940,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -57950,24 +57950,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2081, + "id": 1573, "name": "UserDefinedTypeName", - "src": "39468:3:1" + "src": "40595:3:0" } ], - "id": 2082, + "id": 1574, "name": "VariableDeclaration", - "src": "39468:15:1" + "src": "40595:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -57979,19 +57979,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2083, + "id": 1575, "name": "ElementaryTypeName", - "src": "39485:7:1" + "src": "40612:7:0" } ], - "id": 2084, + "id": 1576, "name": "VariableDeclaration", - "src": "39485:11:1" + "src": "40612:11:0" } ], - "id": 2085, + "id": 1577, "name": "ParameterList", - "src": "39467:30:1" + "src": "40594:30:0" }, { "children": [ @@ -58000,7 +58000,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -58012,25 +58012,25 @@ "name": "bool", "type": "bool" }, - "id": 2086, + "id": 1578, "name": "ElementaryTypeName", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2087, + "id": 1579, "name": "VariableDeclaration", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2088, + "id": 1580, "name": "ParameterList", - "src": "39519:6:1" + "src": "40646:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2088 + "functionReturnParameters": 1580 }, "children": [ { @@ -58063,7 +58063,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58072,36 +58072,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2082, + "referencedDeclaration": 1574, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2089, + "id": 1581, "name": "Identifier", - "src": "39543:3:1" + "src": "40671:3:0" } ], - "id": 2090, + "id": 1582, "name": "MemberAccess", - "src": "39543:12:1" + "src": "40671:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2084, + "referencedDeclaration": 1576, "type": "bytes32", "value": "key" }, - "id": 2091, + "id": 1583, "name": "Identifier", - "src": "39556:3:1" + "src": "40684:3:0" } ], - "id": 2092, + "id": 1584, "name": "IndexAccess", - "src": "39543:17:1" + "src": "40671:17:0" }, { "attributes": { @@ -58114,29 +58114,29 @@ "type": "int_const 0", "value": "0" }, - "id": 2093, + "id": 1585, "name": "Literal", - "src": "39564:1:1" + "src": "40692:1:0" } ], - "id": 2094, + "id": 1586, "name": "BinaryOperation", - "src": "39543:22:1" + "src": "40671:22:0" } ], - "id": 2095, + "id": 1587, "name": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ], - "id": 2096, + "id": 1588, "name": "Block", - "src": "39526:46:1" + "src": "40653:48:0" } ], - "id": 2097, + "id": 1589, "name": "FunctionDefinition", - "src": "39449:123:1" + "src": "40576:125:0" }, { "attributes": { @@ -58147,7 +58147,7 @@ null ], "name": "_length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58157,9 +58157,9 @@ "attributes": { "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2098, + "id": 1590, "name": "StructuredDocumentation", - "src": "39578:79:1" + "src": "40709:81:0" }, { "children": [ @@ -58168,7 +58168,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58178,22 +58178,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2099, + "id": 1591, "name": "UserDefinedTypeName", - "src": "39679:3:1" + "src": "40813:3:0" } ], - "id": 2100, + "id": 1592, "name": "VariableDeclaration", - "src": "39679:15:1" + "src": "40813:15:0" } ], - "id": 2101, + "id": 1593, "name": "ParameterList", - "src": "39678:17:1" + "src": "40812:17:0" }, { "children": [ @@ -58202,7 +58202,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58214,25 +58214,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2102, + "id": 1594, "name": "ElementaryTypeName", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2103, + "id": 1595, "name": "VariableDeclaration", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2104, + "id": 1596, "name": "ParameterList", - "src": "39717:9:1" + "src": "40851:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2104 + "functionReturnParameters": 1596 }, "children": [ { @@ -58252,7 +58252,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58261,38 +58261,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2100, + "referencedDeclaration": 1592, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2105, + "id": 1597, "name": "Identifier", - "src": "39744:3:1" + "src": "40879:3:0" } ], - "id": 2106, + "id": 1598, "name": "MemberAccess", - "src": "39744:12:1" + "src": "40879:12:0" } ], - "id": 2107, + "id": 1599, "name": "MemberAccess", - "src": "39744:19:1" + "src": "40879:19:0" } ], - "id": 2108, + "id": 1600, "name": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ], - "id": 2109, + "id": 1601, "name": "Block", - "src": "39727:43:1" + "src": "40861:45:0" } ], - "id": 2110, + "id": 1602, "name": "FunctionDefinition", - "src": "39662:108:1" + "src": "40796:110:0" }, { "attributes": { @@ -58303,7 +58303,7 @@ null ], "name": "_at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58313,9 +58313,9 @@ "attributes": { "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2111, + "id": 1603, "name": "StructuredDocumentation", - "src": "39775:333:1" + "src": "40913:342:0" }, { "children": [ @@ -58324,7 +58324,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58334,24 +58334,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2112, + "id": 1604, "name": "UserDefinedTypeName", - "src": "40126:3:1" + "src": "41274:3:0" } ], - "id": 2113, + "id": 1605, "name": "VariableDeclaration", - "src": "40126:15:1" + "src": "41274:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58363,19 +58363,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2114, + "id": 1606, "name": "ElementaryTypeName", - "src": "40143:7:1" + "src": "41291:7:0" } ], - "id": 2115, + "id": 1607, "name": "VariableDeclaration", - "src": "40143:13:1" + "src": "41291:13:0" } ], - "id": 2116, + "id": 1608, "name": "ParameterList", - "src": "40125:32:1" + "src": "41273:32:0" }, { "children": [ @@ -58384,7 +58384,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58396,21 +58396,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2117, + "id": 1609, "name": "ElementaryTypeName", - "src": "40180:7:1" + "src": "41328:7:0" } ], - "id": 2118, + "id": 1610, "name": "VariableDeclaration", - "src": "40180:7:1" + "src": "41328:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58422,19 +58422,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2119, + "id": 1611, "name": "ElementaryTypeName", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2120, + "id": 1612, "name": "VariableDeclaration", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2121, + "id": 1613, "name": "ParameterList", - "src": "40179:18:1" + "src": "41327:18:0" }, { "children": [ @@ -58475,9 +58475,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2122, + "id": 1614, "name": "Identifier", - "src": "40208:7:1" + "src": "41357:7:0" }, { "attributes": { @@ -58510,7 +58510,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58519,41 +58519,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2123, + "id": 1615, "name": "Identifier", - "src": "40216:3:1" + "src": "41365:3:0" } ], - "id": 2124, + "id": 1616, "name": "MemberAccess", - "src": "40216:12:1" + "src": "41365:12:0" } ], - "id": 2125, + "id": 1617, "name": "MemberAccess", - "src": "40216:19:1" + "src": "41365:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2126, + "id": 1618, "name": "Identifier", - "src": "40238:5:1" + "src": "41387:5:0" } ], - "id": 2127, + "id": 1619, "name": "BinaryOperation", - "src": "40216:27:1" + "src": "41365:27:0" }, { "attributes": { @@ -58566,24 +58566,24 @@ "type": "literal_string \"EnumerableMap: index out of bounds\"", "value": "EnumerableMap: index out of bounds" }, - "id": 2128, + "id": 1620, "name": "Literal", - "src": "40245:36:1" + "src": "41394:36:0" } ], - "id": 2129, + "id": 1621, "name": "FunctionCall", - "src": "40208:74:1" + "src": "41357:74:0" } ], - "id": 2130, + "id": 1622, "name": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "attributes": { "assignments": [ - 2132 + 1624 ] }, "children": [ @@ -58592,7 +58592,7 @@ "constant": false, "mutability": "mutable", "name": "entry", - "scope": 2144, + "scope": 1636, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -58602,17 +58602,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2131, + "id": 1623, "name": "UserDefinedTypeName", - "src": "40293:8:1" + "src": "41444:8:0" } ], - "id": 2132, + "id": 1624, "name": "VariableDeclaration", - "src": "40293:22:1" + "src": "41444:22:0" }, { "attributes": { @@ -58630,7 +58630,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58639,45 +58639,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2133, + "id": 1625, "name": "Identifier", - "src": "40318:3:1" + "src": "41469:3:0" } ], - "id": 2134, + "id": 1626, "name": "MemberAccess", - "src": "40318:12:1" + "src": "41469:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2135, + "id": 1627, "name": "Identifier", - "src": "40331:5:1" + "src": "41482:5:0" } ], - "id": 2136, + "id": 1628, "name": "IndexAccess", - "src": "40318:19:1" + "src": "41469:19:0" } ], - "id": 2137, + "id": 1629, "name": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "attributes": { - "functionReturnParameters": 2121 + "functionReturnParameters": 1613 }, "children": [ { @@ -58697,7 +58697,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -58706,18 +58706,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2138, + "id": 1630, "name": "Identifier", - "src": "40355:5:1" + "src": "41507:5:0" } ], - "id": 2139, + "id": 1631, "name": "MemberAccess", - "src": "40355:10:1" + "src": "41507:10:0" }, { "attributes": { @@ -58726,7 +58726,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -58735,38 +58735,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2140, + "id": 1632, "name": "Identifier", - "src": "40367:5:1" + "src": "41519:5:0" } ], - "id": 2141, + "id": 1633, "name": "MemberAccess", - "src": "40367:12:1" + "src": "41519:12:0" } ], - "id": 2142, + "id": 1634, "name": "TupleExpression", - "src": "40354:26:1" + "src": "41506:26:0" } ], - "id": 2143, + "id": 1635, "name": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ], - "id": 2144, + "id": 1636, "name": "Block", - "src": "40198:189:1" + "src": "41346:194:0" } ], - "id": 2145, + "id": 1637, "name": "FunctionDefinition", - "src": "40113:274:1" + "src": "41261:279:0" }, { "attributes": { @@ -58777,7 +58777,7 @@ null ], "name": "_tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58787,9 +58787,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2146, + "id": 1638, "name": "StructuredDocumentation", - "src": "40393:131:1" + "src": "41548:134:0" }, { "children": [ @@ -58798,7 +58798,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58808,24 +58808,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2147, + "id": 1639, "name": "UserDefinedTypeName", - "src": "40546:3:1" + "src": "41705:3:0" } ], - "id": 2148, + "id": 1640, "name": "VariableDeclaration", - "src": "40546:15:1" + "src": "41705:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58837,19 +58837,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2149, + "id": 1641, "name": "ElementaryTypeName", - "src": "40563:7:1" + "src": "41722:7:0" } ], - "id": 2150, + "id": 1642, "name": "VariableDeclaration", - "src": "40563:11:1" + "src": "41722:11:0" } ], - "id": 2151, + "id": 1643, "name": "ParameterList", - "src": "40545:30:1" + "src": "41704:30:0" }, { "children": [ @@ -58858,7 +58858,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -58870,21 +58870,21 @@ "name": "bool", "type": "bool" }, - "id": 2152, + "id": 1644, "name": "ElementaryTypeName", - "src": "40598:4:1" + "src": "41757:4:0" } ], - "id": 2153, + "id": 1645, "name": "VariableDeclaration", - "src": "40598:4:1" + "src": "41757:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58896,26 +58896,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2154, + "id": 1646, "name": "ElementaryTypeName", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2155, + "id": 1647, "name": "VariableDeclaration", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2156, + "id": 1648, "name": "ParameterList", - "src": "40597:15:1" + "src": "41756:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2158 + 1650 ] }, "children": [ @@ -58924,7 +58924,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2182, + "scope": 1674, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58936,14 +58936,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2157, + "id": 1649, "name": "ElementaryTypeName", - "src": "40623:7:1" + "src": "41783:7:0" } ], - "id": 2158, + "id": 1650, "name": "VariableDeclaration", - "src": "40623:16:1" + "src": "41783:16:0" }, { "attributes": { @@ -58961,7 +58961,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58970,41 +58970,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2159, + "id": 1651, "name": "Identifier", - "src": "40642:3:1" + "src": "41802:3:0" } ], - "id": 2160, + "id": 1652, "name": "MemberAccess", - "src": "40642:12:1" + "src": "41802:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2150, + "referencedDeclaration": 1642, "type": "bytes32", "value": "key" }, - "id": 2161, + "id": 1653, "name": "Identifier", - "src": "40655:3:1" + "src": "41815:3:0" } ], - "id": 2162, + "id": 1654, "name": "IndexAccess", - "src": "40642:17:1" + "src": "41802:17:0" } ], - "id": 2163, + "id": 1655, "name": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "attributes": {}, @@ -59028,13 +59028,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2164, + "id": 1656, "name": "Identifier", - "src": "40673:8:1" + "src": "41834:8:0" }, { "attributes": { @@ -59047,18 +59047,18 @@ "type": "int_const 0", "value": "0" }, - "id": 2165, + "id": 1657, "name": "Literal", - "src": "40685:1:1" + "src": "41846:1:0" } ], - "id": 2166, + "id": 1658, "name": "BinaryOperation", - "src": "40673:13:1" + "src": "41834:13:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59082,9 +59082,9 @@ "type": "bool", "value": "false" }, - "id": 2167, + "id": 1659, "name": "Literal", - "src": "40696:5:1" + "src": "41857:5:0" }, { "attributes": { @@ -59097,28 +59097,28 @@ "type": "int_const 0", "value": "0" }, - "id": 2168, + "id": 1660, "name": "Literal", - "src": "40703:1:1" + "src": "41864:1:0" } ], - "id": 2169, + "id": 1661, "name": "TupleExpression", - "src": "40695:10:1" + "src": "41856:10:0" } ], - "id": 2170, + "id": 1662, "name": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } ], - "id": 2171, + "id": 1663, "name": "IfStatement", - "src": "40669:36:1" + "src": "41830:36:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59142,9 +59142,9 @@ "type": "bool", "value": "true" }, - "id": 2172, + "id": 1664, "name": "Literal", - "src": "40759:4:1" + "src": "41921:4:0" }, { "attributes": { @@ -59153,7 +59153,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59173,7 +59173,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59182,18 +59182,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2173, + "id": 1665, "name": "Identifier", - "src": "40765:3:1" + "src": "41927:3:0" } ], - "id": 2174, + "id": 1666, "name": "MemberAccess", - "src": "40765:12:1" + "src": "41927:12:0" }, { "attributes": { @@ -59214,13 +59214,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2175, + "id": 1667, "name": "Identifier", - "src": "40778:8:1" + "src": "41940:8:0" }, { "attributes": { @@ -59233,44 +59233,44 @@ "type": "int_const 1", "value": "1" }, - "id": 2176, + "id": 1668, "name": "Literal", - "src": "40789:1:1" + "src": "41951:1:0" } ], - "id": 2177, + "id": 1669, "name": "BinaryOperation", - "src": "40778:12:1" + "src": "41940:12:0" } ], - "id": 2178, + "id": 1670, "name": "IndexAccess", - "src": "40765:26:1" + "src": "41927:26:0" } ], - "id": 2179, + "id": 1671, "name": "MemberAccess", - "src": "40765:33:1" + "src": "41927:33:0" } ], - "id": 2180, + "id": 1672, "name": "TupleExpression", - "src": "40758:41:1" + "src": "41920:41:0" } ], - "id": 2181, + "id": 1673, "name": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ], - "id": 2182, + "id": 1674, "name": "Block", - "src": "40613:220:1" + "src": "41772:224:0" } ], - "id": 2183, + "id": 1675, "name": "FunctionDefinition", - "src": "40529:304:1" + "src": "41688:308:0" }, { "attributes": { @@ -59281,7 +59281,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59291,9 +59291,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2184, + "id": 1676, "name": "StructuredDocumentation", - "src": "40839:141:1" + "src": "42004:147:0" }, { "children": [ @@ -59302,7 +59302,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59312,24 +59312,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2185, + "id": 1677, "name": "UserDefinedTypeName", - "src": "40999:3:1" + "src": "42171:3:0" } ], - "id": 2186, + "id": 1678, "name": "VariableDeclaration", - "src": "40999:15:1" + "src": "42171:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59341,19 +59341,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2187, + "id": 1679, "name": "ElementaryTypeName", - "src": "41016:7:1" + "src": "42188:7:0" } ], - "id": 2188, + "id": 1680, "name": "VariableDeclaration", - "src": "41016:11:1" + "src": "42188:11:0" } ], - "id": 2189, + "id": 1681, "name": "ParameterList", - "src": "40998:30:1" + "src": "42170:30:0" }, { "children": [ @@ -59362,7 +59362,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59374,26 +59374,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2190, + "id": 1682, "name": "ElementaryTypeName", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2191, + "id": 1683, "name": "VariableDeclaration", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2192, + "id": 1684, "name": "ParameterList", - "src": "41050:9:1" + "src": "42222:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2194 + 1686 ] }, "children": [ @@ -59402,7 +59402,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2215, + "scope": 1707, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59414,14 +59414,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2193, + "id": 1685, "name": "ElementaryTypeName", - "src": "41070:7:1" + "src": "42243:7:0" } ], - "id": 2194, + "id": 1686, "name": "VariableDeclaration", - "src": "41070:16:1" + "src": "42243:16:0" }, { "attributes": { @@ -59439,7 +59439,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59448,41 +59448,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2195, + "id": 1687, "name": "Identifier", - "src": "41089:3:1" + "src": "42262:3:0" } ], - "id": 2196, + "id": 1688, "name": "MemberAccess", - "src": "41089:12:1" + "src": "42262:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2188, + "referencedDeclaration": 1680, "type": "bytes32", "value": "key" }, - "id": 2197, + "id": 1689, "name": "Identifier", - "src": "41102:3:1" + "src": "42275:3:0" } ], - "id": 2198, + "id": 1690, "name": "IndexAccess", - "src": "41089:17:1" + "src": "42262:17:0" } ], - "id": 2199, + "id": 1691, "name": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "children": [ @@ -59521,9 +59521,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2200, + "id": 1692, "name": "Identifier", - "src": "41116:7:1" + "src": "42290:7:0" }, { "attributes": { @@ -59544,13 +59544,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2201, + "id": 1693, "name": "Identifier", - "src": "41124:8:1" + "src": "42298:8:0" }, { "attributes": { @@ -59563,14 +59563,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2202, + "id": 1694, "name": "Literal", - "src": "41136:1:1" + "src": "42310:1:0" } ], - "id": 2203, + "id": 1695, "name": "BinaryOperation", - "src": "41124:13:1" + "src": "42298:13:0" }, { "attributes": { @@ -59583,23 +59583,23 @@ "type": "literal_string \"EnumerableMap: nonexistent key\"", "value": "EnumerableMap: nonexistent key" }, - "id": 2204, + "id": 1696, "name": "Literal", - "src": "41139:32:1" + "src": "42313:32:0" } ], - "id": 2205, + "id": 1697, "name": "FunctionCall", - "src": "41116:56:1" + "src": "42290:56:0" } ], - "id": 2206, + "id": 1698, "name": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "attributes": { - "functionReturnParameters": 2192 + "functionReturnParameters": 1684 }, "children": [ { @@ -59609,7 +59609,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59629,7 +59629,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59638,18 +59638,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2207, + "id": 1699, "name": "Identifier", - "src": "41225:3:1" + "src": "42400:3:0" } ], - "id": 2208, + "id": 1700, "name": "MemberAccess", - "src": "41225:12:1" + "src": "42400:12:0" }, { "attributes": { @@ -59670,13 +59670,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2209, + "id": 1701, "name": "Identifier", - "src": "41238:8:1" + "src": "42413:8:0" }, { "attributes": { @@ -59689,39 +59689,39 @@ "type": "int_const 1", "value": "1" }, - "id": 2210, + "id": 1702, "name": "Literal", - "src": "41249:1:1" + "src": "42424:1:0" } ], - "id": 2211, + "id": 1703, "name": "BinaryOperation", - "src": "41238:12:1" + "src": "42413:12:0" } ], - "id": 2212, + "id": 1704, "name": "IndexAccess", - "src": "41225:26:1" + "src": "42400:26:0" } ], - "id": 2213, + "id": 1705, "name": "MemberAccess", - "src": "41225:33:1" + "src": "42400:33:0" } ], - "id": 2214, + "id": 1706, "name": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ], - "id": 2215, + "id": 1707, "name": "Block", - "src": "41060:232:1" + "src": "42232:236:0" } ], - "id": 2216, + "id": 1708, "name": "FunctionDefinition", - "src": "40985:307:1" + "src": "42157:311:0" }, { "attributes": { @@ -59732,7 +59732,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59742,9 +59742,9 @@ "attributes": { "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2217, + "id": 1709, "name": "StructuredDocumentation", - "src": "41298:271:1" + "src": "42476:276:0" }, { "children": [ @@ -59753,7 +59753,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59763,24 +59763,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2218, + "id": 1710, "name": "UserDefinedTypeName", - "src": "41588:3:1" + "src": "42772:3:0" } ], - "id": 2219, + "id": 1711, "name": "VariableDeclaration", - "src": "41588:15:1" + "src": "42772:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59792,21 +59792,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2220, + "id": 1712, "name": "ElementaryTypeName", - "src": "41605:7:1" + "src": "42789:7:0" } ], - "id": 2221, + "id": 1713, "name": "VariableDeclaration", - "src": "41605:11:1" + "src": "42789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -59818,19 +59818,19 @@ "name": "string", "type": "string" }, - "id": 2222, + "id": 1714, "name": "ElementaryTypeName", - "src": "41618:6:1" + "src": "42802:6:0" } ], - "id": 2223, + "id": 1715, "name": "VariableDeclaration", - "src": "41618:26:1" + "src": "42802:26:0" } ], - "id": 2224, + "id": 1716, "name": "ParameterList", - "src": "41587:58:1" + "src": "42771:58:0" }, { "children": [ @@ -59839,7 +59839,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59851,26 +59851,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2225, + "id": 1717, "name": "ElementaryTypeName", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2226, + "id": 1718, "name": "VariableDeclaration", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2227, + "id": 1719, "name": "ParameterList", - "src": "41667:9:1" + "src": "42851:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2229 + 1721 ] }, "children": [ @@ -59879,7 +59879,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2250, + "scope": 1742, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59891,14 +59891,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2228, + "id": 1720, "name": "ElementaryTypeName", - "src": "41687:7:1" + "src": "42872:7:0" } ], - "id": 2229, + "id": 1721, "name": "VariableDeclaration", - "src": "41687:16:1" + "src": "42872:16:0" }, { "attributes": { @@ -59916,7 +59916,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59925,41 +59925,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2230, + "id": 1722, "name": "Identifier", - "src": "41706:3:1" + "src": "42891:3:0" } ], - "id": 2231, + "id": 1723, "name": "MemberAccess", - "src": "41706:12:1" + "src": "42891:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2221, + "referencedDeclaration": 1713, "type": "bytes32", "value": "key" }, - "id": 2232, + "id": 1724, "name": "Identifier", - "src": "41719:3:1" + "src": "42904:3:0" } ], - "id": 2233, + "id": 1725, "name": "IndexAccess", - "src": "41706:17:1" + "src": "42891:17:0" } ], - "id": 2234, + "id": 1726, "name": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "children": [ @@ -59998,9 +59998,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2235, + "id": 1727, "name": "Identifier", - "src": "41733:7:1" + "src": "42919:7:0" }, { "attributes": { @@ -60021,13 +60021,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2236, + "id": 1728, "name": "Identifier", - "src": "41741:8:1" + "src": "42927:8:0" }, { "attributes": { @@ -60040,41 +60040,41 @@ "type": "int_const 0", "value": "0" }, - "id": 2237, + "id": 1729, "name": "Literal", - "src": "41753:1:1" + "src": "42939:1:0" } ], - "id": 2238, + "id": 1730, "name": "BinaryOperation", - "src": "41741:13:1" + "src": "42927:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2223, + "referencedDeclaration": 1715, "type": "string memory", "value": "errorMessage" }, - "id": 2239, + "id": 1731, "name": "Identifier", - "src": "41756:12:1" + "src": "42942:12:0" } ], - "id": 2240, + "id": 1732, "name": "FunctionCall", - "src": "41733:36:1" + "src": "42919:36:0" } ], - "id": 2241, + "id": 1733, "name": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "attributes": { - "functionReturnParameters": 2227 + "functionReturnParameters": 1719 }, "children": [ { @@ -60084,7 +60084,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -60104,7 +60104,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -60113,18 +60113,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2242, + "id": 1734, "name": "Identifier", - "src": "41822:3:1" + "src": "43009:3:0" } ], - "id": 2243, + "id": 1735, "name": "MemberAccess", - "src": "41822:12:1" + "src": "43009:12:0" }, { "attributes": { @@ -60145,13 +60145,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2244, + "id": 1736, "name": "Identifier", - "src": "41835:8:1" + "src": "43022:8:0" }, { "attributes": { @@ -60164,45 +60164,45 @@ "type": "int_const 1", "value": "1" }, - "id": 2245, + "id": 1737, "name": "Literal", - "src": "41846:1:1" + "src": "43033:1:0" } ], - "id": 2246, + "id": 1738, "name": "BinaryOperation", - "src": "41835:12:1" + "src": "43022:12:0" } ], - "id": 2247, + "id": 1739, "name": "IndexAccess", - "src": "41822:26:1" + "src": "43009:26:0" } ], - "id": 2248, + "id": 1740, "name": "MemberAccess", - "src": "41822:33:1" + "src": "43009:33:0" } ], - "id": 2249, + "id": 1741, "name": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ], - "id": 2250, + "id": 1742, "name": "Block", - "src": "41677:212:1" + "src": "42861:216:0" } ], - "id": 2251, + "id": 1743, "name": "FunctionDefinition", - "src": "41574:315:1" + "src": "42758:319:0" }, { "attributes": { "canonicalName": "EnumerableMap.UintToAddressMap", "name": "UintToAddressMap", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -60211,7 +60211,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 2254, + "scope": 1746, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.Map", @@ -60221,22 +60221,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2252, + "id": 1744, "name": "UserDefinedTypeName", - "src": "41954:3:1" + "src": "43147:3:0" } ], - "id": 2253, + "id": 1745, "name": "VariableDeclaration", - "src": "41954:10:1" + "src": "43147:10:0" } ], - "id": 2254, + "id": 1746, "name": "StructDefinition", - "src": "41920:51:1" + "src": "43112:53:0" }, { "attributes": { @@ -60247,7 +60247,7 @@ null ], "name": "set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60257,9 +60257,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2255, + "id": 1747, "name": "StructuredDocumentation", - "src": "41977:216:1" + "src": "43173:222:0" }, { "children": [ @@ -60268,7 +60268,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60278,24 +60278,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2256, + "id": 1748, "name": "UserDefinedTypeName", - "src": "42211:16:1" + "src": "43414:16:0" } ], - "id": 2257, + "id": 1749, "name": "VariableDeclaration", - "src": "42211:28:1" + "src": "43414:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60307,21 +60307,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2258, + "id": 1750, "name": "ElementaryTypeName", - "src": "42241:7:1" + "src": "43444:7:0" } ], - "id": 2259, + "id": 1751, "name": "VariableDeclaration", - "src": "42241:11:1" + "src": "43444:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -60334,19 +60334,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2260, + "id": 1752, "name": "ElementaryTypeName", - "src": "42254:7:1" + "src": "43457:7:0" } ], - "id": 2261, + "id": 1753, "name": "VariableDeclaration", - "src": "42254:13:1" + "src": "43457:13:0" } ], - "id": 2262, + "id": 1754, "name": "ParameterList", - "src": "42210:58:1" + "src": "43413:58:0" }, { "children": [ @@ -60355,7 +60355,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60367,25 +60367,25 @@ "name": "bool", "type": "bool" }, - "id": 2263, + "id": 1755, "name": "ElementaryTypeName", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2264, + "id": 1756, "name": "VariableDeclaration", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2265, + "id": 1757, "name": "ParameterList", - "src": "42286:6:1" + "src": "43489:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2265 + "functionReturnParameters": 1757 }, "children": [ { @@ -60407,7 +60407,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60422,13 +60422,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1998, + "referencedDeclaration": 1490, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)", "value": "_set" }, - "id": 2266, + "id": 1758, "name": "Identifier", - "src": "42310:4:1" + "src": "43514:4:0" }, { "attributes": { @@ -60437,7 +60437,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60446,18 +60446,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2257, + "referencedDeclaration": 1749, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2267, + "id": 1759, "name": "Identifier", - "src": "42315:3:1" + "src": "43519:3:0" } ], - "id": 2268, + "id": 1760, "name": "MemberAccess", - "src": "42315:10:1" + "src": "43519:10:0" }, { "attributes": { @@ -60493,32 +60493,32 @@ "attributes": { "name": "bytes32" }, - "id": 2269, + "id": 1761, "name": "ElementaryTypeName", - "src": "42327:7:1" + "src": "43531:7:0" } ], - "id": 2270, + "id": 1762, "name": "ElementaryTypeNameExpression", - "src": "42327:7:1" + "src": "43531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2259, + "referencedDeclaration": 1751, "type": "uint256", "value": "key" }, - "id": 2271, + "id": 1763, "name": "Identifier", - "src": "42335:3:1" + "src": "43539:3:0" } ], - "id": 2272, + "id": 1764, "name": "FunctionCall", - "src": "42327:12:1" + "src": "43531:12:0" }, { "attributes": { @@ -60554,14 +60554,14 @@ "attributes": { "name": "bytes32" }, - "id": 2273, + "id": 1765, "name": "ElementaryTypeName", - "src": "42341:7:1" + "src": "43545:7:0" } ], - "id": 2274, + "id": 1766, "name": "ElementaryTypeNameExpression", - "src": "42341:7:1" + "src": "43545:7:0" }, { "attributes": { @@ -60597,14 +60597,14 @@ "attributes": { "name": "uint256" }, - "id": 2275, + "id": 1767, "name": "ElementaryTypeName", - "src": "42349:7:1" + "src": "43553:7:0" } ], - "id": 2276, + "id": 1768, "name": "ElementaryTypeNameExpression", - "src": "42349:7:1" + "src": "43553:7:0" }, { "attributes": { @@ -60640,62 +60640,62 @@ "attributes": { "name": "uint160" }, - "id": 2277, + "id": 1769, "name": "ElementaryTypeName", - "src": "42357:7:1" + "src": "43561:7:0" } ], - "id": 2278, + "id": 1770, "name": "ElementaryTypeNameExpression", - "src": "42357:7:1" + "src": "43561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2261, + "referencedDeclaration": 1753, "type": "address", "value": "value" }, - "id": 2279, + "id": 1771, "name": "Identifier", - "src": "42365:5:1" + "src": "43569:5:0" } ], - "id": 2280, + "id": 1772, "name": "FunctionCall", - "src": "42357:14:1" + "src": "43561:14:0" } ], - "id": 2281, + "id": 1773, "name": "FunctionCall", - "src": "42349:23:1" + "src": "43553:23:0" } ], - "id": 2282, + "id": 1774, "name": "FunctionCall", - "src": "42341:32:1" + "src": "43545:32:0" } ], - "id": 2283, + "id": 1775, "name": "FunctionCall", - "src": "42310:64:1" + "src": "43514:64:0" } ], - "id": 2284, + "id": 1776, "name": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ], - "id": 2285, + "id": 1777, "name": "Block", - "src": "42293:88:1" + "src": "43496:90:0" } ], - "id": 2286, + "id": 1778, "name": "FunctionDefinition", - "src": "42198:183:1" + "src": "43401:185:0" }, { "attributes": { @@ -60706,7 +60706,7 @@ null ], "name": "remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60716,9 +60716,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2287, + "id": 1779, "name": "StructuredDocumentation", - "src": "42387:148:1" + "src": "43594:152:0" }, { "children": [ @@ -60727,7 +60727,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60737,24 +60737,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2288, + "id": 1780, "name": "UserDefinedTypeName", - "src": "42556:16:1" + "src": "43768:16:0" } ], - "id": 2289, + "id": 1781, "name": "VariableDeclaration", - "src": "42556:28:1" + "src": "43768:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60766,19 +60766,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2290, + "id": 1782, "name": "ElementaryTypeName", - "src": "42586:7:1" + "src": "43798:7:0" } ], - "id": 2291, + "id": 1783, "name": "VariableDeclaration", - "src": "42586:11:1" + "src": "43798:11:0" } ], - "id": 2292, + "id": 1784, "name": "ParameterList", - "src": "42555:43:1" + "src": "43767:43:0" }, { "children": [ @@ -60787,7 +60787,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60799,25 +60799,25 @@ "name": "bool", "type": "bool" }, - "id": 2293, + "id": 1785, "name": "ElementaryTypeName", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2294, + "id": 1786, "name": "VariableDeclaration", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2295, + "id": 1787, "name": "ParameterList", - "src": "42616:6:1" + "src": "43828:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2295 + "functionReturnParameters": 1787 }, "children": [ { @@ -60839,7 +60839,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60850,13 +60850,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2079, + "referencedDeclaration": 1571, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 2296, + "id": 1788, "name": "Identifier", - "src": "42640:7:1" + "src": "43853:7:0" }, { "attributes": { @@ -60865,7 +60865,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60874,18 +60874,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2289, + "referencedDeclaration": 1781, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2297, + "id": 1789, "name": "Identifier", - "src": "42648:3:1" + "src": "43861:3:0" } ], - "id": 2298, + "id": 1790, "name": "MemberAccess", - "src": "42648:10:1" + "src": "43861:10:0" }, { "attributes": { @@ -60921,52 +60921,52 @@ "attributes": { "name": "bytes32" }, - "id": 2299, + "id": 1791, "name": "ElementaryTypeName", - "src": "42660:7:1" + "src": "43873:7:0" } ], - "id": 2300, + "id": 1792, "name": "ElementaryTypeNameExpression", - "src": "42660:7:1" + "src": "43873:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2291, + "referencedDeclaration": 1783, "type": "uint256", "value": "key" }, - "id": 2301, + "id": 1793, "name": "Identifier", - "src": "42668:3:1" + "src": "43881:3:0" } ], - "id": 2302, + "id": 1794, "name": "FunctionCall", - "src": "42660:12:1" + "src": "43873:12:0" } ], - "id": 2303, + "id": 1795, "name": "FunctionCall", - "src": "42640:33:1" + "src": "43853:33:0" } ], - "id": 2304, + "id": 1796, "name": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ], - "id": 2305, + "id": 1797, "name": "Block", - "src": "42623:57:1" + "src": "43835:59:0" } ], - "id": 2306, + "id": 1798, "name": "FunctionDefinition", - "src": "42540:140:1" + "src": "43752:142:0" }, { "attributes": { @@ -60977,7 +60977,7 @@ null ], "name": "contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -60987,9 +60987,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2307, + "id": 1799, "name": "StructuredDocumentation", - "src": "42686:68:1" + "src": "43902:70:0" }, { "children": [ @@ -60998,7 +60998,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61008,24 +61008,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2308, + "id": 1800, "name": "UserDefinedTypeName", - "src": "42777:16:1" + "src": "43996:16:0" } ], - "id": 2309, + "id": 1801, "name": "VariableDeclaration", - "src": "42777:28:1" + "src": "43996:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61037,19 +61037,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2310, + "id": 1802, "name": "ElementaryTypeName", - "src": "42807:7:1" + "src": "44026:7:0" } ], - "id": 2311, + "id": 1803, "name": "VariableDeclaration", - "src": "42807:11:1" + "src": "44026:11:0" } ], - "id": 2312, + "id": 1804, "name": "ParameterList", - "src": "42776:43:1" + "src": "43995:43:0" }, { "children": [ @@ -61058,7 +61058,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -61070,25 +61070,25 @@ "name": "bool", "type": "bool" }, - "id": 2313, + "id": 1805, "name": "ElementaryTypeName", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2314, + "id": 1806, "name": "VariableDeclaration", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2315, + "id": 1807, "name": "ParameterList", - "src": "42842:6:1" + "src": "44061:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2315 + "functionReturnParameters": 1807 }, "children": [ { @@ -61110,7 +61110,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61121,13 +61121,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2097, + "referencedDeclaration": 1589, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 2316, + "id": 1808, "name": "Identifier", - "src": "42866:9:1" + "src": "44086:9:0" }, { "attributes": { @@ -61136,7 +61136,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61145,18 +61145,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2309, + "referencedDeclaration": 1801, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2317, + "id": 1809, "name": "Identifier", - "src": "42876:3:1" + "src": "44096:3:0" } ], - "id": 2318, + "id": 1810, "name": "MemberAccess", - "src": "42876:10:1" + "src": "44096:10:0" }, { "attributes": { @@ -61192,52 +61192,52 @@ "attributes": { "name": "bytes32" }, - "id": 2319, + "id": 1811, "name": "ElementaryTypeName", - "src": "42888:7:1" + "src": "44108:7:0" } ], - "id": 2320, + "id": 1812, "name": "ElementaryTypeNameExpression", - "src": "42888:7:1" + "src": "44108:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2311, + "referencedDeclaration": 1803, "type": "uint256", "value": "key" }, - "id": 2321, + "id": 1813, "name": "Identifier", - "src": "42896:3:1" + "src": "44116:3:0" } ], - "id": 2322, + "id": 1814, "name": "FunctionCall", - "src": "42888:12:1" + "src": "44108:12:0" } ], - "id": 2323, + "id": 1815, "name": "FunctionCall", - "src": "42866:35:1" + "src": "44086:35:0" } ], - "id": 2324, + "id": 1816, "name": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ], - "id": 2325, + "id": 1817, "name": "Block", - "src": "42849:59:1" + "src": "44068:61:0" } ], - "id": 2326, + "id": 1818, "name": "FunctionDefinition", - "src": "42759:149:1" + "src": "43978:151:0" }, { "attributes": { @@ -61248,7 +61248,7 @@ null ], "name": "length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61258,9 +61258,9 @@ "attributes": { "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2327, + "id": 1819, "name": "StructuredDocumentation", - "src": "42914:72:1" + "src": "44137:74:0" }, { "children": [ @@ -61269,7 +61269,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61279,22 +61279,22 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2328, + "id": 1820, "name": "UserDefinedTypeName", - "src": "43007:16:1" + "src": "44233:16:0" } ], - "id": 2329, + "id": 1821, "name": "VariableDeclaration", - "src": "43007:28:1" + "src": "44233:28:0" } ], - "id": 2330, + "id": 1822, "name": "ParameterList", - "src": "43006:30:1" + "src": "44232:30:0" }, { "children": [ @@ -61303,7 +61303,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61315,25 +61315,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2331, + "id": 1823, "name": "ElementaryTypeName", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2332, + "id": 1824, "name": "VariableDeclaration", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2333, + "id": 1825, "name": "ParameterList", - "src": "43059:9:1" + "src": "44285:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2333 + "functionReturnParameters": 1825 }, "children": [ { @@ -61355,20 +61355,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 2110, + "referencedDeclaration": 1602, "type": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)", "value": "_length" }, - "id": 2334, + "id": 1826, "name": "Identifier", - "src": "43086:7:1" + "src": "44313:7:0" }, { "attributes": { @@ -61377,7 +61377,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61386,38 +61386,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2329, + "referencedDeclaration": 1821, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2335, + "id": 1827, "name": "Identifier", - "src": "43094:3:1" + "src": "44321:3:0" } ], - "id": 2336, + "id": 1828, "name": "MemberAccess", - "src": "43094:10:1" + "src": "44321:10:0" } ], - "id": 2337, + "id": 1829, "name": "FunctionCall", - "src": "43086:19:1" + "src": "44313:19:0" } ], - "id": 2338, + "id": 1830, "name": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ], - "id": 2339, + "id": 1831, "name": "Block", - "src": "43069:43:1" + "src": "44295:45:0" } ], - "id": 2340, + "id": 1832, "name": "FunctionDefinition", - "src": "42991:121:1" + "src": "44217:123:0" }, { "attributes": { @@ -61428,7 +61428,7 @@ null ], "name": "at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61438,9 +61438,9 @@ "attributes": { "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2341, + "id": 1833, "name": "StructuredDocumentation", - "src": "43117:318:1" + "src": "44347:326:0" }, { "children": [ @@ -61449,7 +61449,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61459,24 +61459,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2342, + "id": 1834, "name": "UserDefinedTypeName", - "src": "43452:16:1" + "src": "44691:16:0" } ], - "id": 2343, + "id": 1835, "name": "VariableDeclaration", - "src": "43452:28:1" + "src": "44691:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61488,19 +61488,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2344, + "id": 1836, "name": "ElementaryTypeName", - "src": "43482:7:1" + "src": "44721:7:0" } ], - "id": 2345, + "id": 1837, "name": "VariableDeclaration", - "src": "43482:13:1" + "src": "44721:13:0" } ], - "id": 2346, + "id": 1838, "name": "ParameterList", - "src": "43451:45:1" + "src": "44690:45:0" }, { "children": [ @@ -61509,7 +61509,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61521,21 +61521,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2347, + "id": 1839, "name": "ElementaryTypeName", - "src": "43520:7:1" + "src": "44759:7:0" } ], - "id": 2348, + "id": 1840, "name": "VariableDeclaration", - "src": "43520:7:1" + "src": "44759:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -61548,27 +61548,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2349, + "id": 1841, "name": "ElementaryTypeName", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2350, + "id": 1842, "name": "VariableDeclaration", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2351, + "id": 1843, "name": "ParameterList", - "src": "43519:18:1" + "src": "44758:18:0" }, { "children": [ { "attributes": { "assignments": [ - 2353, - 2355 + 1845, + 1847 ] }, "children": [ @@ -61577,7 +61577,7 @@ "constant": false, "mutability": "mutable", "name": "key", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61589,21 +61589,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2352, + "id": 1844, "name": "ElementaryTypeName", - "src": "43549:7:1" + "src": "44789:7:0" } ], - "id": 2353, + "id": 1845, "name": "VariableDeclaration", - "src": "43549:11:1" + "src": "44789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61615,14 +61615,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2354, + "id": 1846, "name": "ElementaryTypeName", - "src": "43562:7:1" + "src": "44802:7:0" } ], - "id": 2355, + "id": 1847, "name": "VariableDeclaration", - "src": "43562:13:1" + "src": "44802:13:0" }, { "attributes": { @@ -61643,7 +61643,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61654,13 +61654,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2145, + "referencedDeclaration": 1637, "type": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)", "value": "_at" }, - "id": 2356, + "id": 1848, "name": "Identifier", - "src": "43579:3:1" + "src": "44819:3:0" }, { "attributes": { @@ -61669,7 +61669,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61678,45 +61678,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2343, + "referencedDeclaration": 1835, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2357, + "id": 1849, "name": "Identifier", - "src": "43583:3:1" + "src": "44823:3:0" } ], - "id": 2358, + "id": 1850, "name": "MemberAccess", - "src": "43583:10:1" + "src": "44823:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2345, + "referencedDeclaration": 1837, "type": "uint256", "value": "index" }, - "id": 2359, + "id": 1851, "name": "Identifier", - "src": "43595:5:1" + "src": "44835:5:0" } ], - "id": 2360, + "id": 1852, "name": "FunctionCall", - "src": "43579:22:1" + "src": "44819:22:0" } ], - "id": 2361, + "id": 1853, "name": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "attributes": { - "functionReturnParameters": 2351 + "functionReturnParameters": 1843 }, "children": [ { @@ -61763,32 +61763,32 @@ "attributes": { "name": "uint256" }, - "id": 2362, + "id": 1854, "name": "ElementaryTypeName", - "src": "43619:7:1" + "src": "44860:7:0" } ], - "id": 2363, + "id": 1855, "name": "ElementaryTypeNameExpression", - "src": "43619:7:1" + "src": "44860:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2353, + "referencedDeclaration": 1845, "type": "bytes32", "value": "key" }, - "id": 2364, + "id": 1856, "name": "Identifier", - "src": "43627:3:1" + "src": "44868:3:0" } ], - "id": 2365, + "id": 1857, "name": "FunctionCall", - "src": "43619:12:1" + "src": "44860:12:0" }, { "attributes": { @@ -61824,14 +61824,14 @@ "attributes": { "name": "address" }, - "id": 2366, + "id": 1858, "name": "ElementaryTypeName", - "src": "43633:7:1" + "src": "44874:7:0" } ], - "id": 2367, + "id": 1859, "name": "ElementaryTypeNameExpression", - "src": "43633:7:1" + "src": "44874:7:0" }, { "attributes": { @@ -61867,14 +61867,14 @@ "attributes": { "name": "uint160" }, - "id": 2368, + "id": 1860, "name": "ElementaryTypeName", - "src": "43641:7:1" + "src": "44882:7:0" } ], - "id": 2369, + "id": 1861, "name": "ElementaryTypeNameExpression", - "src": "43641:7:1" + "src": "44882:7:0" }, { "attributes": { @@ -61910,62 +61910,62 @@ "attributes": { "name": "uint256" }, - "id": 2370, + "id": 1862, "name": "ElementaryTypeName", - "src": "43649:7:1" + "src": "44890:7:0" } ], - "id": 2371, + "id": 1863, "name": "ElementaryTypeNameExpression", - "src": "43649:7:1" + "src": "44890:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2355, + "referencedDeclaration": 1847, "type": "bytes32", "value": "value" }, - "id": 2372, + "id": 1864, "name": "Identifier", - "src": "43657:5:1" + "src": "44898:5:0" } ], - "id": 2373, + "id": 1865, "name": "FunctionCall", - "src": "43649:14:1" + "src": "44890:14:0" } ], - "id": 2374, + "id": 1866, "name": "FunctionCall", - "src": "43641:23:1" + "src": "44882:23:0" } ], - "id": 2375, + "id": 1867, "name": "FunctionCall", - "src": "43633:32:1" + "src": "44874:32:0" } ], - "id": 2376, + "id": 1868, "name": "TupleExpression", - "src": "43618:48:1" + "src": "44859:48:0" } ], - "id": 2377, + "id": 1869, "name": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ], - "id": 2378, + "id": 1870, "name": "Block", - "src": "43538:135:1" + "src": "44777:138:0" } ], - "id": 2379, + "id": 1871, "name": "FunctionDefinition", - "src": "43440:233:1" + "src": "44679:236:0" }, { "attributes": { @@ -61976,7 +61976,7 @@ null ], "name": "tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61986,9 +61986,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2380, + "id": 1872, "name": "StructuredDocumentation", - "src": "43679:169:1" + "src": "44923:174:0" }, { "children": [ @@ -61997,7 +61997,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62007,24 +62007,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2381, + "id": 1873, "name": "UserDefinedTypeName", - "src": "43869:16:1" + "src": "45119:16:0" } ], - "id": 2382, + "id": 1874, "name": "VariableDeclaration", - "src": "43869:28:1" + "src": "45119:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62036,19 +62036,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2383, + "id": 1875, "name": "ElementaryTypeName", - "src": "43899:7:1" + "src": "45149:7:0" } ], - "id": 2384, + "id": 1876, "name": "VariableDeclaration", - "src": "43899:11:1" + "src": "45149:11:0" } ], - "id": 2385, + "id": 1877, "name": "ParameterList", - "src": "43868:43:1" + "src": "45118:43:0" }, { "children": [ @@ -62057,7 +62057,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62069,21 +62069,21 @@ "name": "bool", "type": "bool" }, - "id": 2386, + "id": 1878, "name": "ElementaryTypeName", - "src": "43935:4:1" + "src": "45185:4:0" } ], - "id": 2387, + "id": 1879, "name": "VariableDeclaration", - "src": "43935:4:1" + "src": "45185:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62096,27 +62096,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2388, + "id": 1880, "name": "ElementaryTypeName", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2389, + "id": 1881, "name": "VariableDeclaration", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2390, + "id": 1882, "name": "ParameterList", - "src": "43934:15:1" + "src": "45184:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2392, - 2394 + 1884, + 1886 ] }, "children": [ @@ -62125,7 +62125,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62137,21 +62137,21 @@ "name": "bool", "type": "bool" }, - "id": 2391, + "id": 1883, "name": "ElementaryTypeName", - "src": "43961:4:1" + "src": "45212:4:0" } ], - "id": 2392, + "id": 1884, "name": "VariableDeclaration", - "src": "43961:12:1" + "src": "45212:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -62163,14 +62163,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2393, + "id": 1885, "name": "ElementaryTypeName", - "src": "43975:7:1" + "src": "45226:7:0" } ], - "id": 2394, + "id": 1886, "name": "VariableDeclaration", - "src": "43975:13:1" + "src": "45226:13:0" }, { "attributes": { @@ -62191,7 +62191,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62202,13 +62202,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2183, + "referencedDeclaration": 1675, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)", "value": "_tryGet" }, - "id": 2395, + "id": 1887, "name": "Identifier", - "src": "43992:7:1" + "src": "45243:7:0" }, { "attributes": { @@ -62217,7 +62217,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62226,18 +62226,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2382, + "referencedDeclaration": 1874, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2396, + "id": 1888, "name": "Identifier", - "src": "44000:3:1" + "src": "45251:3:0" } ], - "id": 2397, + "id": 1889, "name": "MemberAccess", - "src": "44000:10:1" + "src": "45251:10:0" }, { "attributes": { @@ -62273,46 +62273,46 @@ "attributes": { "name": "bytes32" }, - "id": 2398, + "id": 1890, "name": "ElementaryTypeName", - "src": "44012:7:1" + "src": "45263:7:0" } ], - "id": 2399, + "id": 1891, "name": "ElementaryTypeNameExpression", - "src": "44012:7:1" + "src": "45263:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2384, + "referencedDeclaration": 1876, "type": "uint256", "value": "key" }, - "id": 2400, + "id": 1892, "name": "Identifier", - "src": "44020:3:1" + "src": "45271:3:0" } ], - "id": 2401, + "id": 1893, "name": "FunctionCall", - "src": "44012:12:1" + "src": "45263:12:0" } ], - "id": 2402, + "id": 1894, "name": "FunctionCall", - "src": "43992:33:1" + "src": "45243:33:0" } ], - "id": 2403, + "id": 1895, "name": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "attributes": { - "functionReturnParameters": 2390 + "functionReturnParameters": 1882 }, "children": [ { @@ -62330,13 +62330,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2392, + "referencedDeclaration": 1884, "type": "bool", "value": "success" }, - "id": 2404, + "id": 1896, "name": "Identifier", - "src": "44043:7:1" + "src": "45295:7:0" }, { "attributes": { @@ -62372,14 +62372,14 @@ "attributes": { "name": "address" }, - "id": 2405, + "id": 1897, "name": "ElementaryTypeName", - "src": "44052:7:1" + "src": "45304:7:0" } ], - "id": 2406, + "id": 1898, "name": "ElementaryTypeNameExpression", - "src": "44052:7:1" + "src": "45304:7:0" }, { "attributes": { @@ -62415,14 +62415,14 @@ "attributes": { "name": "uint160" }, - "id": 2407, + "id": 1899, "name": "ElementaryTypeName", - "src": "44060:7:1" + "src": "45312:7:0" } ], - "id": 2408, + "id": 1900, "name": "ElementaryTypeNameExpression", - "src": "44060:7:1" + "src": "45312:7:0" }, { "attributes": { @@ -62458,62 +62458,62 @@ "attributes": { "name": "uint256" }, - "id": 2409, + "id": 1901, "name": "ElementaryTypeName", - "src": "44068:7:1" + "src": "45320:7:0" } ], - "id": 2410, + "id": 1902, "name": "ElementaryTypeNameExpression", - "src": "44068:7:1" + "src": "45320:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2394, + "referencedDeclaration": 1886, "type": "bytes32", "value": "value" }, - "id": 2411, + "id": 1903, "name": "Identifier", - "src": "44076:5:1" + "src": "45328:5:0" } ], - "id": 2412, + "id": 1904, "name": "FunctionCall", - "src": "44068:14:1" + "src": "45320:14:0" } ], - "id": 2413, + "id": 1905, "name": "FunctionCall", - "src": "44060:23:1" + "src": "45312:23:0" } ], - "id": 2414, + "id": 1906, "name": "FunctionCall", - "src": "44052:32:1" + "src": "45304:32:0" } ], - "id": 2415, + "id": 1907, "name": "TupleExpression", - "src": "44042:43:1" + "src": "45294:43:0" } ], - "id": 2416, + "id": 1908, "name": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ], - "id": 2417, + "id": 1909, "name": "Block", - "src": "43950:142:1" + "src": "45200:145:0" } ], - "id": 2418, + "id": 1910, "name": "FunctionDefinition", - "src": "43853:239:1" + "src": "45103:242:0" }, { "attributes": { @@ -62524,7 +62524,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62534,9 +62534,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2419, + "id": 1911, "name": "StructuredDocumentation", - "src": "44098:141:1" + "src": "45353:147:0" }, { "children": [ @@ -62545,7 +62545,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62555,24 +62555,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2420, + "id": 1912, "name": "UserDefinedTypeName", - "src": "44257:16:1" + "src": "45519:16:0" } ], - "id": 2421, + "id": 1913, "name": "VariableDeclaration", - "src": "44257:28:1" + "src": "45519:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62584,19 +62584,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2422, + "id": 1914, "name": "ElementaryTypeName", - "src": "44287:7:1" + "src": "45549:7:0" } ], - "id": 2423, + "id": 1915, "name": "VariableDeclaration", - "src": "44287:11:1" + "src": "45549:11:0" } ], - "id": 2424, + "id": 1916, "name": "ParameterList", - "src": "44256:43:1" + "src": "45518:43:0" }, { "children": [ @@ -62605,7 +62605,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62618,25 +62618,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2425, + "id": 1917, "name": "ElementaryTypeName", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2426, + "id": 1918, "name": "VariableDeclaration", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2427, + "id": 1919, "name": "ParameterList", - "src": "44322:9:1" + "src": "45584:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2427 + "functionReturnParameters": 1919 }, "children": [ { @@ -62673,14 +62673,14 @@ "attributes": { "name": "address" }, - "id": 2428, + "id": 1920, "name": "ElementaryTypeName", - "src": "44349:7:1" + "src": "45612:7:0" } ], - "id": 2429, + "id": 1921, "name": "ElementaryTypeNameExpression", - "src": "44349:7:1" + "src": "45612:7:0" }, { "attributes": { @@ -62716,14 +62716,14 @@ "attributes": { "name": "uint160" }, - "id": 2430, + "id": 1922, "name": "ElementaryTypeName", - "src": "44357:7:1" + "src": "45620:7:0" } ], - "id": 2431, + "id": 1923, "name": "ElementaryTypeNameExpression", - "src": "44357:7:1" + "src": "45620:7:0" }, { "attributes": { @@ -62759,14 +62759,14 @@ "attributes": { "name": "uint256" }, - "id": 2432, + "id": 1924, "name": "ElementaryTypeName", - "src": "44365:7:1" + "src": "45628:7:0" } ], - "id": 2433, + "id": 1925, "name": "ElementaryTypeNameExpression", - "src": "44365:7:1" + "src": "45628:7:0" }, { "attributes": { @@ -62787,7 +62787,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62796,16 +62796,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, + "referencedDeclaration": 1708, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)", "value": "_get" }, - "id": 2434, + "id": 1926, "name": "Identifier", - "src": "44373:4:1" + "src": "45636:4:0" }, { "attributes": { @@ -62814,7 +62814,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62823,18 +62823,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2421, + "referencedDeclaration": 1913, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2435, + "id": 1927, "name": "Identifier", - "src": "44378:3:1" + "src": "45641:3:0" } ], - "id": 2436, + "id": 1928, "name": "MemberAccess", - "src": "44378:10:1" + "src": "45641:10:0" }, { "attributes": { @@ -62870,67 +62870,67 @@ "attributes": { "name": "bytes32" }, - "id": 2437, + "id": 1929, "name": "ElementaryTypeName", - "src": "44390:7:1" + "src": "45653:7:0" } ], - "id": 2438, + "id": 1930, "name": "ElementaryTypeNameExpression", - "src": "44390:7:1" + "src": "45653:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2423, + "referencedDeclaration": 1915, "type": "uint256", "value": "key" }, - "id": 2439, + "id": 1931, "name": "Identifier", - "src": "44398:3:1" + "src": "45661:3:0" } ], - "id": 2440, + "id": 1932, "name": "FunctionCall", - "src": "44390:12:1" + "src": "45653:12:0" } ], - "id": 2441, + "id": 1933, "name": "FunctionCall", - "src": "44373:30:1" + "src": "45636:30:0" } ], - "id": 2442, + "id": 1934, "name": "FunctionCall", - "src": "44365:39:1" + "src": "45628:39:0" } ], - "id": 2443, + "id": 1935, "name": "FunctionCall", - "src": "44357:48:1" + "src": "45620:48:0" } ], - "id": 2444, + "id": 1936, "name": "FunctionCall", - "src": "44349:57:1" + "src": "45612:57:0" } ], - "id": 2445, + "id": 1937, "name": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ], - "id": 2446, + "id": 1938, "name": "Block", - "src": "44332:81:1" + "src": "45594:83:0" } ], - "id": 2447, + "id": 1939, "name": "FunctionDefinition", - "src": "44244:169:1" + "src": "45506:171:0" }, { "attributes": { @@ -62941,7 +62941,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62951,9 +62951,9 @@ "attributes": { "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2448, + "id": 1940, "name": "StructuredDocumentation", - "src": "44419:269:1" + "src": "45685:274:0" }, { "children": [ @@ -62962,7 +62962,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62972,24 +62972,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2449, + "id": 1941, "name": "UserDefinedTypeName", - "src": "44706:16:1" + "src": "45978:16:0" } ], - "id": 2450, + "id": 1942, "name": "VariableDeclaration", - "src": "44706:28:1" + "src": "45978:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63001,21 +63001,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2451, + "id": 1943, "name": "ElementaryTypeName", - "src": "44736:7:1" + "src": "46008:7:0" } ], - "id": 2452, + "id": 1944, "name": "VariableDeclaration", - "src": "44736:11:1" + "src": "46008:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63027,19 +63027,19 @@ "name": "string", "type": "string" }, - "id": 2453, + "id": 1945, "name": "ElementaryTypeName", - "src": "44749:6:1" + "src": "46021:6:0" } ], - "id": 2454, + "id": 1946, "name": "VariableDeclaration", - "src": "44749:26:1" + "src": "46021:26:0" } ], - "id": 2455, + "id": 1947, "name": "ParameterList", - "src": "44705:71:1" + "src": "45977:71:0" }, { "children": [ @@ -63048,7 +63048,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -63061,25 +63061,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2456, + "id": 1948, "name": "ElementaryTypeName", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2457, + "id": 1949, "name": "VariableDeclaration", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2458, + "id": 1950, "name": "ParameterList", - "src": "44799:9:1" + "src": "46071:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2458 + "functionReturnParameters": 1950 }, "children": [ { @@ -63116,14 +63116,14 @@ "attributes": { "name": "address" }, - "id": 2459, + "id": 1951, "name": "ElementaryTypeName", - "src": "44826:7:1" + "src": "46099:7:0" } ], - "id": 2460, + "id": 1952, "name": "ElementaryTypeNameExpression", - "src": "44826:7:1" + "src": "46099:7:0" }, { "attributes": { @@ -63159,14 +63159,14 @@ "attributes": { "name": "uint160" }, - "id": 2461, + "id": 1953, "name": "ElementaryTypeName", - "src": "44834:7:1" + "src": "46107:7:0" } ], - "id": 2462, + "id": 1954, "name": "ElementaryTypeNameExpression", - "src": "44834:7:1" + "src": "46107:7:0" }, { "attributes": { @@ -63202,14 +63202,14 @@ "attributes": { "name": "uint256" }, - "id": 2463, + "id": 1955, "name": "ElementaryTypeName", - "src": "44842:7:1" + "src": "46115:7:0" } ], - "id": 2464, + "id": 1956, "name": "ElementaryTypeNameExpression", - "src": "44842:7:1" + "src": "46115:7:0" }, { "attributes": { @@ -63230,7 +63230,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -63243,16 +63243,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, + "referencedDeclaration": 1743, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)", "value": "_get" }, - "id": 2465, + "id": 1957, "name": "Identifier", - "src": "44850:4:1" + "src": "46123:4:0" }, { "attributes": { @@ -63261,7 +63261,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -63270,18 +63270,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2450, + "referencedDeclaration": 1942, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2466, + "id": 1958, "name": "Identifier", - "src": "44855:3:1" + "src": "46128:3:0" } ], - "id": 2467, + "id": 1959, "name": "MemberAccess", - "src": "44855:10:1" + "src": "46128:10:0" }, { "attributes": { @@ -63317,85 +63317,85 @@ "attributes": { "name": "bytes32" }, - "id": 2468, + "id": 1960, "name": "ElementaryTypeName", - "src": "44867:7:1" + "src": "46140:7:0" } ], - "id": 2469, + "id": 1961, "name": "ElementaryTypeNameExpression", - "src": "44867:7:1" + "src": "46140:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2452, + "referencedDeclaration": 1944, "type": "uint256", "value": "key" }, - "id": 2470, + "id": 1962, "name": "Identifier", - "src": "44875:3:1" + "src": "46148:3:0" } ], - "id": 2471, + "id": 1963, "name": "FunctionCall", - "src": "44867:12:1" + "src": "46140:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2454, + "referencedDeclaration": 1946, "type": "string memory", "value": "errorMessage" }, - "id": 2472, + "id": 1964, "name": "Identifier", - "src": "44881:12:1" + "src": "46154:12:0" } ], - "id": 2473, + "id": 1965, "name": "FunctionCall", - "src": "44850:44:1" + "src": "46123:44:0" } ], - "id": 2474, + "id": 1966, "name": "FunctionCall", - "src": "44842:53:1" + "src": "46115:53:0" } ], - "id": 2475, + "id": 1967, "name": "FunctionCall", - "src": "44834:62:1" + "src": "46107:62:0" } ], - "id": 2476, + "id": 1968, "name": "FunctionCall", - "src": "44826:71:1" + "src": "46099:71:0" } ], - "id": 2477, + "id": 1969, "name": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ], - "id": 2478, + "id": 1970, "name": "Block", - "src": "44809:95:1" + "src": "46081:97:0" } ], - "id": 2479, + "id": 1971, "name": "FunctionDefinition", - "src": "44693:211:1" + "src": "45965:213:0" } ], - "id": 2480, + "id": 1972, "name": "ContractDefinition", - "src": "35943:8963:1" + "src": "36981:9200:0" }, { "attributes": { @@ -63409,9 +63409,9 @@ ".0" ] }, - "id": 2481, + "id": 1973, "name": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "attributes": { @@ -63425,19 +63425,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev String operations." }, - "id": 2482, + "id": 1974, "name": "StructuredDocumentation", - "src": "44992:34:1" + "src": "46272:36:0" }, { "attributes": { @@ -63448,7 +63448,7 @@ null ], "name": "toString", - "scope": 2566, + "scope": 2058, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -63458,9 +63458,9 @@ "attributes": { "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2483, + "id": 1975, "name": "StructuredDocumentation", - "src": "45049:82:1" + "src": "46333:84:0" }, { "children": [ @@ -63469,7 +63469,7 @@ "constant": false, "mutability": "mutable", "name": "value", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63481,19 +63481,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2484, + "id": 1976, "name": "ElementaryTypeName", - "src": "45154:7:1" + "src": "46441:7:0" } ], - "id": 2485, + "id": 1977, "name": "VariableDeclaration", - "src": "45154:13:1" + "src": "46441:13:0" } ], - "id": 2486, + "id": 1978, "name": "ParameterList", - "src": "45153:15:1" + "src": "46440:15:0" }, { "children": [ @@ -63502,7 +63502,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63514,19 +63514,19 @@ "name": "string", "type": "string" }, - "id": 2487, + "id": 1979, "name": "ElementaryTypeName", - "src": "45192:6:1" + "src": "46479:6:0" } ], - "id": 2488, + "id": 1980, "name": "VariableDeclaration", - "src": "45192:13:1" + "src": "46479:13:0" } ], - "id": 2489, + "id": 1981, "name": "ParameterList", - "src": "45191:15:1" + "src": "46478:15:0" }, { "children": [ @@ -63552,13 +63552,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2490, + "id": 1982, "name": "Identifier", - "src": "45409:5:1" + "src": "46700:5:0" }, { "attributes": { @@ -63571,20 +63571,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2491, + "id": 1983, "name": "Literal", - "src": "45418:1:1" + "src": "46709:1:0" } ], - "id": 2492, + "id": 1984, "name": "BinaryOperation", - "src": "45409:10:1" + "src": "46700:10:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -63598,29 +63598,29 @@ "type": "literal_string \"0\"", "value": "0" }, - "id": 2493, + "id": 1985, "name": "Literal", - "src": "45442:3:1" + "src": "46734:3:0" } ], - "id": 2494, + "id": 1986, "name": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ], - "id": 2495, + "id": 1987, "name": "Block", - "src": "45421:35:1" + "src": "46712:37:0" } ], - "id": 2496, + "id": 1988, "name": "IfStatement", - "src": "45405:51:1" + "src": "46696:53:0" }, { "attributes": { "assignments": [ - 2498 + 1990 ] }, "children": [ @@ -63629,7 +63629,7 @@ "constant": false, "mutability": "mutable", "name": "temp", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63641,37 +63641,37 @@ "name": "uint256", "type": "uint256" }, - "id": 2497, + "id": 1989, "name": "ElementaryTypeName", - "src": "45465:7:1" + "src": "46759:7:0" } ], - "id": 2498, + "id": 1990, "name": "VariableDeclaration", - "src": "45465:12:1" + "src": "46759:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2499, + "id": 1991, "name": "Identifier", - "src": "45480:5:1" + "src": "46774:5:0" } ], - "id": 2500, + "id": 1992, "name": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "attributes": { "assignments": [ - 2502 + 1994 ] }, "children": [ @@ -63680,7 +63680,7 @@ "constant": false, "mutability": "mutable", "name": "digits", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63692,19 +63692,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2501, + "id": 1993, "name": "ElementaryTypeName", - "src": "45495:7:1" + "src": "46790:7:0" } ], - "id": 2502, + "id": 1994, "name": "VariableDeclaration", - "src": "45495:14:1" + "src": "46790:14:0" } ], - "id": 2503, + "id": 1995, "name": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "children": [ @@ -63727,13 +63727,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2504, + "id": 1996, "name": "Identifier", - "src": "45526:4:1" + "src": "46822:4:0" }, { "attributes": { @@ -63746,14 +63746,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2505, + "id": 1997, "name": "Literal", - "src": "45534:1:1" + "src": "46830:1:0" } ], - "id": 2506, + "id": 1998, "name": "BinaryOperation", - "src": "45526:9:1" + "src": "46822:9:0" }, { "children": [ @@ -63775,23 +63775,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2507, + "id": 1999, "name": "Identifier", - "src": "45551:6:1" + "src": "46848:6:0" } ], - "id": 2508, + "id": 2000, "name": "UnaryOperation", - "src": "45551:8:1" + "src": "46848:8:0" } ], - "id": 2509, + "id": 2001, "name": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "children": [ @@ -63810,13 +63810,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2510, + "id": 2002, "name": "Identifier", - "src": "45573:4:1" + "src": "46871:4:0" }, { "attributes": { @@ -63829,34 +63829,34 @@ "type": "int_const 10", "value": "10" }, - "id": 2511, + "id": 2003, "name": "Literal", - "src": "45581:2:1" + "src": "46879:2:0" } ], - "id": 2512, + "id": 2004, "name": "Assignment", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2513, + "id": 2005, "name": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2514, + "id": 2006, "name": "Block", - "src": "45537:57:1" + "src": "46833:60:0" } ], - "id": 2515, + "id": 2007, "name": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "attributes": { "assignments": [ - 2517 + 2009 ] }, "children": [ @@ -63865,7 +63865,7 @@ "constant": false, "mutability": "mutable", "name": "buffer", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -63877,14 +63877,14 @@ "name": "bytes", "type": "bytes" }, - "id": 2516, + "id": 2008, "name": "ElementaryTypeName", - "src": "45603:5:1" + "src": "46903:5:0" } ], - "id": 2517, + "id": 2009, "name": "VariableDeclaration", - "src": "45603:19:1" + "src": "46903:19:0" }, { "attributes": { @@ -63921,42 +63921,42 @@ "name": "bytes", "type": "bytes" }, - "id": 2518, + "id": 2010, "name": "ElementaryTypeName", - "src": "45629:5:1" + "src": "46929:5:0" } ], - "id": 2519, + "id": 2011, "name": "NewExpression", - "src": "45625:9:1" + "src": "46925:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2520, + "id": 2012, "name": "Identifier", - "src": "45635:6:1" + "src": "46935:6:0" } ], - "id": 2521, + "id": 2013, "name": "FunctionCall", - "src": "45625:17:1" + "src": "46925:17:0" } ], - "id": 2522, + "id": 2014, "name": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "attributes": { "assignments": [ - 2524 + 2016 ] }, "children": [ @@ -63965,7 +63965,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63977,14 +63977,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2523, + "id": 2015, "name": "ElementaryTypeName", - "src": "45652:7:1" + "src": "46953:7:0" } ], - "id": 2524, + "id": 2016, "name": "VariableDeclaration", - "src": "45652:13:1" + "src": "46953:13:0" }, { "attributes": { @@ -64005,13 +64005,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2525, + "id": 2017, "name": "Identifier", - "src": "45668:6:1" + "src": "46969:6:0" }, { "attributes": { @@ -64024,19 +64024,19 @@ "type": "int_const 1", "value": "1" }, - "id": 2526, + "id": 2018, "name": "Literal", - "src": "45677:1:1" + "src": "46978:1:0" } ], - "id": 2527, + "id": 2019, "name": "BinaryOperation", - "src": "45668:10:1" + "src": "46969:10:0" } ], - "id": 2528, + "id": 2020, "name": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "children": [ @@ -64055,36 +64055,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2529, + "id": 2021, "name": "Identifier", - "src": "45688:4:1" + "src": "46990:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2530, + "id": 2022, "name": "Identifier", - "src": "45695:5:1" + "src": "46997:5:0" } ], - "id": 2531, + "id": 2023, "name": "Assignment", - "src": "45688:12:1" + "src": "46990:12:0" } ], - "id": 2532, + "id": 2024, "name": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "children": [ @@ -64107,13 +64107,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2533, + "id": 2025, "name": "Identifier", - "src": "45717:4:1" + "src": "47020:4:0" }, { "attributes": { @@ -64126,14 +64126,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2534, + "id": 2026, "name": "Literal", - "src": "45725:1:1" + "src": "47028:1:0" } ], - "id": 2535, + "id": 2027, "name": "BinaryOperation", - "src": "45717:9:1" + "src": "47020:9:0" }, { "children": [ @@ -64163,13 +64163,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2536, + "id": 2028, "name": "Identifier", - "src": "45742:6:1" + "src": "47046:6:0" }, { "attributes": { @@ -64187,23 +64187,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2524, + "referencedDeclaration": 2016, "type": "uint256", "value": "index" }, - "id": 2537, + "id": 2029, "name": "Identifier", - "src": "45749:5:1" + "src": "47053:5:0" } ], - "id": 2538, + "id": 2030, "name": "UnaryOperation", - "src": "45749:7:1" + "src": "47053:7:0" } ], - "id": 2539, + "id": 2031, "name": "IndexAccess", - "src": "45742:15:1" + "src": "47046:15:0" }, { "attributes": { @@ -64239,14 +64239,14 @@ "attributes": { "name": "bytes1" }, - "id": 2540, + "id": 2032, "name": "ElementaryTypeName", - "src": "45760:6:1" + "src": "47064:6:0" } ], - "id": 2541, + "id": 2033, "name": "ElementaryTypeNameExpression", - "src": "45760:6:1" + "src": "47064:6:0" }, { "attributes": { @@ -64282,14 +64282,14 @@ "attributes": { "name": "uint8" }, - "id": 2542, + "id": 2034, "name": "ElementaryTypeName", - "src": "45767:5:1" + "src": "47071:5:0" } ], - "id": 2543, + "id": 2035, "name": "ElementaryTypeNameExpression", - "src": "45767:5:1" + "src": "47071:5:0" }, { "attributes": { @@ -64316,9 +64316,9 @@ "type": "int_const 48", "value": "48" }, - "id": 2544, + "id": 2036, "name": "Literal", - "src": "45773:2:1" + "src": "47077:2:0" }, { "attributes": { @@ -64339,13 +64339,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2545, + "id": 2037, "name": "Identifier", - "src": "45778:4:1" + "src": "47082:4:0" }, { "attributes": { @@ -64358,39 +64358,39 @@ "type": "int_const 10", "value": "10" }, - "id": 2546, + "id": 2038, "name": "Literal", - "src": "45785:2:1" + "src": "47089:2:0" } ], - "id": 2547, + "id": 2039, "name": "BinaryOperation", - "src": "45778:9:1" + "src": "47082:9:0" } ], - "id": 2548, + "id": 2040, "name": "BinaryOperation", - "src": "45773:14:1" + "src": "47077:14:0" } ], - "id": 2549, + "id": 2041, "name": "FunctionCall", - "src": "45767:21:1" + "src": "47071:21:0" } ], - "id": 2550, + "id": 2042, "name": "FunctionCall", - "src": "45760:29:1" + "src": "47064:29:0" } ], - "id": 2551, + "id": 2043, "name": "Assignment", - "src": "45742:47:1" + "src": "47046:47:0" } ], - "id": 2552, + "id": 2044, "name": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "children": [ @@ -64409,13 +64409,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2553, + "id": 2045, "name": "Identifier", - "src": "45803:4:1" + "src": "47108:4:0" }, { "attributes": { @@ -64428,33 +64428,33 @@ "type": "int_const 10", "value": "10" }, - "id": 2554, + "id": 2046, "name": "Literal", - "src": "45811:2:1" + "src": "47116:2:0" } ], - "id": 2555, + "id": 2047, "name": "Assignment", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2556, + "id": 2048, "name": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2557, + "id": 2049, "name": "Block", - "src": "45728:96:1" + "src": "47031:99:0" } ], - "id": 2558, + "id": 2050, "name": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -64491,52 +64491,52 @@ "attributes": { "name": "string" }, - "id": 2559, + "id": 2051, "name": "ElementaryTypeName", - "src": "45840:6:1" + "src": "47147:6:0" } ], - "id": 2560, + "id": 2052, "name": "ElementaryTypeNameExpression", - "src": "45840:6:1" + "src": "47147:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2561, + "id": 2053, "name": "Identifier", - "src": "45847:6:1" + "src": "47154:6:0" } ], - "id": 2562, + "id": 2054, "name": "FunctionCall", - "src": "45840:14:1" + "src": "47147:14:0" } ], - "id": 2563, + "id": 2055, "name": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ], - "id": 2564, + "id": 2056, "name": "Block", - "src": "45207:654:1" + "src": "46494:675:0" } ], - "id": 2565, + "id": 2057, "name": "FunctionDefinition", - "src": "45136:725:1" + "src": "46423:746:0" } ], - "id": 2566, + "id": 2058, "name": "ContractDefinition", - "src": "45027:836:1" + "src": "46310:862:0" }, { "attributes": { @@ -64550,43 +64550,43 @@ ".0" ] }, - "id": 2567, + "id": 2059, "name": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, - "id": 2568, + "id": 2060, "name": "StructuredDocumentation", - "src": "45955:124:1" + "src": "47269:127:0" }, { "attributes": {}, @@ -64594,17 +64594,17 @@ { "attributes": { "name": "Context", - "referencedDeclaration": 530, + "referencedDeclaration": 22, "type": "contract Context" }, - "id": 2569, + "id": 2061, "name": "UserDefinedTypeName", - "src": "46099:7:1" + "src": "47417:7:0" } ], - "id": 2570, + "id": 2062, "name": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "attributes": {}, @@ -64612,17 +64612,17 @@ { "attributes": { "name": "ERC165", - "referencedDeclaration": 781, + "referencedDeclaration": 273, "type": "contract ERC165" }, - "id": 2571, + "id": 2063, "name": "UserDefinedTypeName", - "src": "46108:6:1" + "src": "47426:6:0" } ], - "id": 2572, + "id": 2064, "name": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "attributes": {}, @@ -64630,17 +64630,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 2573, + "id": 2065, "name": "UserDefinedTypeName", - "src": "46116:7:1" + "src": "47434:7:0" } ], - "id": 2574, + "id": 2066, "name": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "attributes": {}, @@ -64648,17 +64648,17 @@ { "attributes": { "name": "IERC721Metadata", - "referencedDeclaration": 680, + "referencedDeclaration": 172, "type": "contract IERC721Metadata" }, - "id": 2575, + "id": 2067, "name": "UserDefinedTypeName", - "src": "46125:15:1" + "src": "47443:15:0" } ], - "id": 2576, + "id": 2068, "name": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "attributes": {}, @@ -64666,55 +64666,55 @@ { "attributes": { "name": "IERC721Enumerable", - "referencedDeclaration": 709, + "referencedDeclaration": 201, "type": "contract IERC721Enumerable" }, - "id": 2577, + "id": 2069, "name": "UserDefinedTypeName", - "src": "46142:17:1" + "src": "47460:17:0" } ], - "id": 2578, + "id": 2070, "name": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" }, { "children": [ { "attributes": { "name": "SafeMath", - "referencedDeclaration": 1135, + "referencedDeclaration": 627, "type": "library SafeMath" }, - "id": 2579, + "id": 2071, "name": "UserDefinedTypeName", - "src": "46172:8:1" + "src": "47491:8:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2580, + "id": 2072, "name": "ElementaryTypeName", - "src": "46185:7:1" + "src": "47504:7:0" } ], - "id": 2581, + "id": 2073, "name": "UsingForDirective", - "src": "46166:27:1" + "src": "47485:27:0" }, { "children": [ { "attributes": { "name": "Address", - "referencedDeclaration": 1430, + "referencedDeclaration": 922, "type": "library Address" }, - "id": 2582, + "id": 2074, "name": "UserDefinedTypeName", - "src": "46204:7:1" + "src": "47524:7:0" }, { "attributes": { @@ -64722,101 +64722,101 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2583, + "id": 2075, "name": "ElementaryTypeName", - "src": "46216:7:1" + "src": "47536:7:0" } ], - "id": 2584, + "id": 2076, "name": "UsingForDirective", - "src": "46198:26:1" + "src": "47518:26:0" }, { "children": [ { "attributes": { "name": "EnumerableSet", - "referencedDeclaration": 1921, + "referencedDeclaration": 1413, "type": "library EnumerableSet" }, - "id": 2585, + "id": 2077, "name": "UserDefinedTypeName", - "src": "46235:13:1" + "src": "47556:13:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2586, + "id": 2078, "name": "UserDefinedTypeName", - "src": "46253:21:1" + "src": "47574:21:0" } ], - "id": 2587, + "id": 2079, "name": "UsingForDirective", - "src": "46229:46:1" + "src": "47550:46:0" }, { "children": [ { "attributes": { "name": "EnumerableMap", - "referencedDeclaration": 2480, + "referencedDeclaration": 1972, "type": "library EnumerableMap" }, - "id": 2588, + "id": 2080, "name": "UserDefinedTypeName", - "src": "46286:13:1" + "src": "47608:13:0" }, { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2589, + "id": 2081, "name": "UserDefinedTypeName", - "src": "46304:30:1" + "src": "47626:30:0" } ], - "id": 2590, + "id": 2082, "name": "UsingForDirective", - "src": "46280:55:1" + "src": "47602:55:0" }, { "children": [ { "attributes": { "name": "Strings", - "referencedDeclaration": 2566, + "referencedDeclaration": 2058, "type": "library Strings" }, - "id": 2591, + "id": 2083, "name": "UserDefinedTypeName", - "src": "46346:7:1" + "src": "47669:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2592, + "id": 2084, "name": "ElementaryTypeName", - "src": "46358:7:1" + "src": "47681:7:0" } ], - "id": 2593, + "id": 2085, "name": "UsingForDirective", - "src": "46340:26:1" + "src": "47663:26:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_ERC721_RECEIVED", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -64828,9 +64828,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2594, + "id": 2086, "name": "ElementaryTypeName", - "src": "46544:6:1" + "src": "47871:6:0" }, { "attributes": { @@ -64843,21 +64843,21 @@ "type": "int_const 353073666", "value": "0x150b7a02" }, - "id": 2595, + "id": 2087, "name": "Literal", - "src": "46587:10:1" + "src": "47914:10:0" } ], - "id": 2596, + "id": 2088, "name": "VariableDeclaration", - "src": "46544:53:1" + "src": "47871:53:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_holderTokens", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => struct EnumerableSet.UintSet)", @@ -64874,36 +64874,36 @@ "name": "address", "type": "address" }, - "id": 2597, + "id": 2089, "name": "ElementaryTypeName", - "src": "46690:7:1" + "src": "48020:7:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2598, + "id": 2090, "name": "UserDefinedTypeName", - "src": "46701:21:1" + "src": "48031:21:0" } ], - "id": 2599, + "id": 2091, "name": "Mapping", - "src": "46681:42:1" + "src": "48011:42:0" } ], - "id": 2600, + "id": 2092, "name": "VariableDeclaration", - "src": "46681:64:1" + "src": "48011:64:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenOwners", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "struct EnumerableMap.UintToAddressMap", @@ -64913,24 +64913,24 @@ { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2601, + "id": 2093, "name": "UserDefinedTypeName", - "src": "46809:30:1" + "src": "48142:30:0" } ], - "id": 2602, + "id": 2094, "name": "VariableDeclaration", - "src": "46809:51:1" + "src": "48142:51:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => address)", @@ -64947,9 +64947,9 @@ "name": "uint256", "type": "uint256" }, - "id": 2603, + "id": 2095, "name": "ElementaryTypeName", - "src": "46925:7:1" + "src": "48261:7:0" }, { "attributes": { @@ -64957,26 +64957,26 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2604, + "id": 2096, "name": "ElementaryTypeName", - "src": "46936:7:1" + "src": "48272:7:0" } ], - "id": 2605, + "id": 2097, "name": "Mapping", - "src": "46916:28:1" + "src": "48252:28:0" } ], - "id": 2606, + "id": 2098, "name": "VariableDeclaration", - "src": "46916:52:1" + "src": "48252:52:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_operatorApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => mapping(address => bool))", @@ -64993,9 +64993,9 @@ "name": "address", "type": "address" }, - "id": 2607, + "id": 2099, "name": "ElementaryTypeName", - "src": "47032:7:1" + "src": "48371:7:0" }, { "attributes": { @@ -65007,40 +65007,40 @@ "name": "address", "type": "address" }, - "id": 2608, + "id": 2100, "name": "ElementaryTypeName", - "src": "47052:7:1" + "src": "48391:7:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 2609, + "id": 2101, "name": "ElementaryTypeName", - "src": "47063:4:1" + "src": "48402:4:0" } ], - "id": 2610, + "id": 2102, "name": "Mapping", - "src": "47043:25:1" + "src": "48382:25:0" } ], - "id": 2611, + "id": 2103, "name": "Mapping", - "src": "47023:46:1" + "src": "48362:46:0" } ], - "id": 2612, + "id": 2104, "name": "VariableDeclaration", - "src": "47023:73:1" + "src": "48362:73:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_name", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65052,21 +65052,21 @@ "name": "string", "type": "string" }, - "id": 2613, + "id": 2105, "name": "ElementaryTypeName", - "src": "47121:6:1" + "src": "48463:6:0" } ], - "id": 2614, + "id": 2106, "name": "VariableDeclaration", - "src": "47121:20:1" + "src": "48463:20:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_symbol", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65078,21 +65078,21 @@ "name": "string", "type": "string" }, - "id": 2615, + "id": 2107, "name": "ElementaryTypeName", - "src": "47168:6:1" + "src": "48513:6:0" } ], - "id": 2616, + "id": 2108, "name": "VariableDeclaration", - "src": "47168:22:1" + "src": "48513:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURIs", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => string)", @@ -65109,35 +65109,35 @@ "name": "uint256", "type": "uint256" }, - "id": 2617, + "id": 2109, "name": "ElementaryTypeName", - "src": "47245:7:1" + "src": "48593:7:0" }, { "attributes": { "name": "string", "type": "string" }, - "id": 2618, + "id": 2110, "name": "ElementaryTypeName", - "src": "47256:6:1" + "src": "48604:6:0" } ], - "id": 2619, + "id": 2111, "name": "Mapping", - "src": "47236:27:1" + "src": "48584:27:0" } ], - "id": 2620, + "id": 2112, "name": "VariableDeclaration", - "src": "47236:46:1" + "src": "48584:46:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_baseURI", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65149,21 +65149,21 @@ "name": "string", "type": "string" }, - "id": 2621, + "id": 2113, "name": "ElementaryTypeName", - "src": "47305:6:1" + "src": "48656:6:0" } ], - "id": 2622, + "id": 2114, "name": "VariableDeclaration", - "src": "47305:23:1" + "src": "48656:23:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65175,9 +65175,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2623, + "id": 2115, "name": "ElementaryTypeName", - "src": "48204:6:1" + "src": "49571:6:0" }, { "attributes": { @@ -65190,21 +65190,21 @@ "type": "int_const 2158778573", "value": "0x80ac58cd" }, - "id": 2624, + "id": 2116, "name": "Literal", - "src": "48251:10:1" + "src": "49618:10:0" } ], - "id": 2625, + "id": 2117, "name": "VariableDeclaration", - "src": "48204:57:1" + "src": "49571:57:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65216,9 +65216,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2626, + "id": 2118, "name": "ElementaryTypeName", - "src": "48527:6:1" + "src": "49903:6:0" }, { "attributes": { @@ -65231,21 +65231,21 @@ "type": "int_const 1532892063", "value": "0x5b5e139f" }, - "id": 2627, + "id": 2119, "name": "Literal", - "src": "48583:10:1" + "src": "49959:10:0" } ], - "id": 2628, + "id": 2120, "name": "VariableDeclaration", - "src": "48527:66:1" + "src": "49903:66:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65257,9 +65257,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2629, + "id": 2121, "name": "ElementaryTypeName", - "src": "48898:6:1" + "src": "50283:6:0" }, { "attributes": { @@ -65272,14 +65272,14 @@ "type": "int_const 2014223715", "value": "0x780e9d63" }, - "id": 2630, + "id": 2122, "name": "Literal", - "src": "48956:10:1" + "src": "50341:10:0" } ], - "id": 2631, + "id": 2123, "name": "VariableDeclaration", - "src": "48898:68:1" + "src": "50283:68:0" }, { "attributes": { @@ -65290,7 +65290,7 @@ null ], "name": "", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -65300,9 +65300,9 @@ "attributes": { "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2632, + "id": 2124, "name": "StructuredDocumentation", - "src": "48973:108:1" + "src": "50360:110:0" }, { "children": [ @@ -65311,7 +65311,7 @@ "constant": false, "mutability": "mutable", "name": "name_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65323,21 +65323,21 @@ "name": "string", "type": "string" }, - "id": 2633, + "id": 2125, "name": "ElementaryTypeName", - "src": "49099:6:1" + "src": "50489:6:0" } ], - "id": 2634, + "id": 2126, "name": "VariableDeclaration", - "src": "49099:19:1" + "src": "50489:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "symbol_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65349,19 +65349,19 @@ "name": "string", "type": "string" }, - "id": 2635, + "id": 2127, "name": "ElementaryTypeName", - "src": "49120:6:1" + "src": "50510:6:0" } ], - "id": 2636, + "id": 2128, "name": "VariableDeclaration", - "src": "49120:21:1" + "src": "50510:21:0" } ], - "id": 2637, + "id": 2129, "name": "ParameterList", - "src": "49098:44:1" + "src": "50488:44:0" }, { "attributes": { @@ -65370,9 +65370,9 @@ ] }, "children": [], - "id": 2638, + "id": 2130, "name": "ParameterList", - "src": "49143:0:1" + "src": "50533:0:0" }, { "children": [ @@ -65393,36 +65393,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2639, + "id": 2131, "name": "Identifier", - "src": "49153:5:1" + "src": "50544:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2634, + "referencedDeclaration": 2126, "type": "string memory", "value": "name_" }, - "id": 2640, + "id": 2132, "name": "Identifier", - "src": "49161:5:1" + "src": "50552:5:0" } ], - "id": 2641, + "id": 2133, "name": "Assignment", - "src": "49153:13:1" + "src": "50544:13:0" } ], - "id": 2642, + "id": 2134, "name": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "children": [ @@ -65441,36 +65441,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2643, + "id": 2135, "name": "Identifier", - "src": "49176:7:1" + "src": "50568:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2636, + "referencedDeclaration": 2128, "type": "string memory", "value": "symbol_" }, - "id": 2644, + "id": 2136, "name": "Identifier", - "src": "49186:7:1" + "src": "50578:7:0" } ], - "id": 2645, + "id": 2137, "name": "Assignment", - "src": "49176:17:1" + "src": "50568:17:0" } ], - "id": 2646, + "id": 2138, "name": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "children": [ @@ -65500,36 +65500,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2647, + "id": 2139, "name": "Identifier", - "src": "49281:18:1" + "src": "50676:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2625, + "referencedDeclaration": 2117, "type": "bytes4", "value": "_INTERFACE_ID_ERC721" }, - "id": 2648, + "id": 2140, "name": "Identifier", - "src": "49300:20:1" + "src": "50695:20:0" } ], - "id": 2649, + "id": 2141, "name": "FunctionCall", - "src": "49281:40:1" + "src": "50676:40:0" } ], - "id": 2650, + "id": 2142, "name": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "children": [ @@ -65559,36 +65559,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2651, + "id": 2143, "name": "Identifier", - "src": "49331:18:1" + "src": "50727:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2628, + "referencedDeclaration": 2120, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_METADATA" }, - "id": 2652, + "id": 2144, "name": "Identifier", - "src": "49350:29:1" + "src": "50746:29:0" } ], - "id": 2653, + "id": 2145, "name": "FunctionCall", - "src": "49331:49:1" + "src": "50727:49:0" } ], - "id": 2654, + "id": 2146, "name": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "children": [ @@ -65618,51 +65618,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2655, + "id": 2147, "name": "Identifier", - "src": "49390:18:1" + "src": "50787:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2631, + "referencedDeclaration": 2123, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_ENUMERABLE" }, - "id": 2656, + "id": 2148, "name": "Identifier", - "src": "49409:31:1" + "src": "50806:31:0" } ], - "id": 2657, + "id": 2149, "name": "FunctionCall", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2658, + "id": 2150, "name": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2659, + "id": 2151, "name": "Block", - "src": "49143:305:1" + "src": "50533:313:0" } ], - "id": 2660, + "id": 2152, "name": "FunctionDefinition", - "src": "49086:362:1" + "src": "50476:370:0" }, { "attributes": { "baseFunctions": [ - 580 + 72 ], "functionSelector": "70a08231", "implemented": true, @@ -65672,7 +65672,7 @@ null ], "name": "balanceOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -65682,9 +65682,9 @@ "attributes": { "text": " @dev See {IERC721-balanceOf}." }, - "id": 2661, + "id": 2153, "name": "StructuredDocumentation", - "src": "49454:48:1" + "src": "50854:50:0" }, { "attributes": { @@ -65692,9 +65692,9 @@ null ] }, - "id": 2665, + "id": 2157, "name": "OverrideSpecifier", - "src": "49561:8:1" + "src": "50964:8:0" }, { "children": [ @@ -65703,7 +65703,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -65716,19 +65716,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2662, + "id": 2154, "name": "ElementaryTypeName", - "src": "49526:7:1" + "src": "50929:7:0" } ], - "id": 2663, + "id": 2155, "name": "VariableDeclaration", - "src": "49526:13:1" + "src": "50929:13:0" } ], - "id": 2664, + "id": 2156, "name": "ParameterList", - "src": "49525:15:1" + "src": "50928:15:0" }, { "children": [ @@ -65737,7 +65737,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -65749,19 +65749,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2666, + "id": 2158, "name": "ElementaryTypeName", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2667, + "id": 2159, "name": "VariableDeclaration", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2668, + "id": 2160, "name": "ParameterList", - "src": "49578:9:1" + "src": "50981:9:0" }, { "children": [ @@ -65802,9 +65802,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2669, + "id": 2161, "name": "Identifier", - "src": "49598:7:1" + "src": "51002:7:0" }, { "attributes": { @@ -65825,13 +65825,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2670, + "id": 2162, "name": "Identifier", - "src": "49606:5:1" + "src": "51010:5:0" }, { "attributes": { @@ -65867,14 +65867,14 @@ "attributes": { "name": "address" }, - "id": 2671, + "id": 2163, "name": "ElementaryTypeName", - "src": "49615:7:1" + "src": "51019:7:0" } ], - "id": 2672, + "id": 2164, "name": "ElementaryTypeNameExpression", - "src": "49615:7:1" + "src": "51019:7:0" }, { "attributes": { @@ -65887,19 +65887,19 @@ "type": "int_const 0", "value": "0" }, - "id": 2673, + "id": 2165, "name": "Literal", - "src": "49623:1:1" + "src": "51027:1:0" } ], - "id": 2674, + "id": 2166, "name": "FunctionCall", - "src": "49615:10:1" + "src": "51019:10:0" } ], - "id": 2675, + "id": 2167, "name": "BinaryOperation", - "src": "49606:19:1" + "src": "51010:19:0" }, { "attributes": { @@ -65912,23 +65912,23 @@ "type": "literal_string \"ERC721: balance query for the zero address\"", "value": "ERC721: balance query for the zero address" }, - "id": 2676, + "id": 2168, "name": "Literal", - "src": "49627:44:1" + "src": "51031:44:0" } ], - "id": 2677, + "id": 2169, "name": "FunctionCall", - "src": "49598:74:1" + "src": "51002:74:0" } ], - "id": 2678, + "id": 2170, "name": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "attributes": { - "functionReturnParameters": 2668 + "functionReturnParameters": 2160 }, "children": [ { @@ -65959,7 +65959,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 1900, + "referencedDeclaration": 1392, "type": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" }, "children": [ @@ -65977,61 +65977,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2679, + "id": 2171, "name": "Identifier", - "src": "49689:13:1" + "src": "51094:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2680, + "id": 2172, "name": "Identifier", - "src": "49703:5:1" + "src": "51108:5:0" } ], - "id": 2681, + "id": 2173, "name": "IndexAccess", - "src": "49689:20:1" + "src": "51094:20:0" } ], - "id": 2682, + "id": 2174, "name": "MemberAccess", - "src": "49689:27:1" + "src": "51094:27:0" } ], - "id": 2683, + "id": 2175, "name": "FunctionCall", - "src": "49689:29:1" + "src": "51094:29:0" } ], - "id": 2684, + "id": 2176, "name": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ], - "id": 2685, + "id": 2177, "name": "Block", - "src": "49588:137:1" + "src": "50991:140:0" } ], - "id": 2686, + "id": 2178, "name": "FunctionDefinition", - "src": "49507:218:1" + "src": "50910:221:0" }, { "attributes": { "baseFunctions": [ - 588 + 80 ], "functionSelector": "6352211e", "implemented": true, @@ -66041,7 +66041,7 @@ null ], "name": "ownerOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66051,9 +66051,9 @@ "attributes": { "text": " @dev See {IERC721-ownerOf}." }, - "id": 2687, + "id": 2179, "name": "StructuredDocumentation", - "src": "49731:46:1" + "src": "51139:48:0" }, { "attributes": { @@ -66061,9 +66061,9 @@ null ] }, - "id": 2691, + "id": 2183, "name": "OverrideSpecifier", - "src": "49836:8:1" + "src": "51247:8:0" }, { "children": [ @@ -66072,7 +66072,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66084,19 +66084,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2688, + "id": 2180, "name": "ElementaryTypeName", - "src": "49799:7:1" + "src": "51210:7:0" } ], - "id": 2689, + "id": 2181, "name": "VariableDeclaration", - "src": "49799:15:1" + "src": "51210:15:0" } ], - "id": 2690, + "id": 2182, "name": "ParameterList", - "src": "49798:17:1" + "src": "51209:17:0" }, { "children": [ @@ -66105,7 +66105,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -66118,25 +66118,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2692, + "id": 2184, "name": "ElementaryTypeName", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2693, + "id": 2185, "name": "VariableDeclaration", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2694, + "id": 2186, "name": "ParameterList", - "src": "49853:9:1" + "src": "51264:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2694 + "functionReturnParameters": 2186 }, "children": [ { @@ -66171,7 +66171,7 @@ "isPure": false, "lValueRequested": false, "member_name": "get", - "referencedDeclaration": 2479, + "referencedDeclaration": 1971, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" }, "children": [ @@ -66180,31 +66180,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2695, + "id": 2187, "name": "Identifier", - "src": "49880:12:1" + "src": "51292:12:0" } ], - "id": 2696, + "id": 2188, "name": "MemberAccess", - "src": "49880:16:1" + "src": "51292:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2689, + "referencedDeclaration": 2181, "type": "uint256", "value": "tokenId" }, - "id": 2697, + "id": 2189, "name": "Identifier", - "src": "49897:7:1" + "src": "51309:7:0" }, { "attributes": { @@ -66217,34 +66217,34 @@ "type": "literal_string \"ERC721: owner query for nonexistent token\"", "value": "ERC721: owner query for nonexistent token" }, - "id": 2698, + "id": 2190, "name": "Literal", - "src": "49906:43:1" + "src": "51318:43:0" } ], - "id": 2699, + "id": 2191, "name": "FunctionCall", - "src": "49880:70:1" + "src": "51292:70:0" } ], - "id": 2700, + "id": 2192, "name": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ], - "id": 2701, + "id": 2193, "name": "Block", - "src": "49863:94:1" + "src": "51274:96:0" } ], - "id": 2702, + "id": 2194, "name": "FunctionDefinition", - "src": "49782:175:1" + "src": "51193:177:0" }, { "attributes": { "baseFunctions": [ - 665 + 157 ], "functionSelector": "06fdde03", "implemented": true, @@ -66254,7 +66254,7 @@ null ], "name": "name", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66264,9 +66264,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-name}." }, - "id": 2703, + "id": 2195, "name": "StructuredDocumentation", - "src": "49963:51:1" + "src": "51378:53:0" }, { "attributes": { @@ -66274,9 +66274,9 @@ null ] }, - "id": 2705, + "id": 2197, "name": "OverrideSpecifier", - "src": "50055:8:1" + "src": "51473:8:0" }, { "attributes": { @@ -66285,9 +66285,9 @@ ] }, "children": [], - "id": 2704, + "id": 2196, "name": "ParameterList", - "src": "50032:2:1" + "src": "51450:2:0" }, { "children": [ @@ -66296,7 +66296,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2712, + "scope": 2204, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66308,25 +66308,25 @@ "name": "string", "type": "string" }, - "id": 2706, + "id": 2198, "name": "ElementaryTypeName", - "src": "50073:6:1" + "src": "51491:6:0" } ], - "id": 2707, + "id": 2199, "name": "VariableDeclaration", - "src": "50073:13:1" + "src": "51491:13:0" } ], - "id": 2708, + "id": 2200, "name": "ParameterList", - "src": "50072:15:1" + "src": "51490:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2708 + "functionReturnParameters": 2200 }, "children": [ { @@ -66334,33 +66334,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2709, + "id": 2201, "name": "Identifier", - "src": "50105:5:1" + "src": "51524:5:0" } ], - "id": 2710, + "id": 2202, "name": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ], - "id": 2711, + "id": 2203, "name": "Block", - "src": "50088:29:1" + "src": "51506:31:0" } ], - "id": 2712, + "id": 2204, "name": "FunctionDefinition", - "src": "50019:98:1" + "src": "51437:100:0" }, { "attributes": { "baseFunctions": [ - 671 + 163 ], "functionSelector": "95d89b41", "implemented": true, @@ -66370,7 +66370,7 @@ null ], "name": "symbol", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66380,9 +66380,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-symbol}." }, - "id": 2713, + "id": 2205, "name": "StructuredDocumentation", - "src": "50123:53:1" + "src": "51545:55:0" }, { "attributes": { @@ -66390,9 +66390,9 @@ null ] }, - "id": 2715, + "id": 2207, "name": "OverrideSpecifier", - "src": "50219:8:1" + "src": "51644:8:0" }, { "attributes": { @@ -66401,9 +66401,9 @@ ] }, "children": [], - "id": 2714, + "id": 2206, "name": "ParameterList", - "src": "50196:2:1" + "src": "51621:2:0" }, { "children": [ @@ -66412,7 +66412,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2722, + "scope": 2214, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66424,25 +66424,25 @@ "name": "string", "type": "string" }, - "id": 2716, + "id": 2208, "name": "ElementaryTypeName", - "src": "50237:6:1" + "src": "51662:6:0" } ], - "id": 2717, + "id": 2209, "name": "VariableDeclaration", - "src": "50237:13:1" + "src": "51662:13:0" } ], - "id": 2718, + "id": 2210, "name": "ParameterList", - "src": "50236:15:1" + "src": "51661:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2718 + "functionReturnParameters": 2210 }, "children": [ { @@ -66450,33 +66450,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2719, + "id": 2211, "name": "Identifier", - "src": "50269:7:1" + "src": "51695:7:0" } ], - "id": 2720, + "id": 2212, "name": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ], - "id": 2721, + "id": 2213, "name": "Block", - "src": "50252:31:1" + "src": "51677:33:0" } ], - "id": 2722, + "id": 2214, "name": "FunctionDefinition", - "src": "50181:102:1" + "src": "51606:104:0" }, { "attributes": { "baseFunctions": [ - 679 + 171 ], "functionSelector": "c87b56dd", "implemented": true, @@ -66486,7 +66486,7 @@ null ], "name": "tokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66496,9 +66496,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-tokenURI}." }, - "id": 2723, + "id": 2215, "name": "StructuredDocumentation", - "src": "50289:55:1" + "src": "51718:57:0" }, { "attributes": { @@ -66506,9 +66506,9 @@ null ] }, - "id": 2727, + "id": 2219, "name": "OverrideSpecifier", - "src": "50404:8:1" + "src": "51836:8:0" }, { "children": [ @@ -66517,7 +66517,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66529,19 +66529,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2724, + "id": 2216, "name": "ElementaryTypeName", - "src": "50367:7:1" + "src": "51799:7:0" } ], - "id": 2725, + "id": 2217, "name": "VariableDeclaration", - "src": "50367:15:1" + "src": "51799:15:0" } ], - "id": 2726, + "id": 2218, "name": "ParameterList", - "src": "50366:17:1" + "src": "51798:17:0" }, { "children": [ @@ -66550,7 +66550,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66562,19 +66562,19 @@ "name": "string", "type": "string" }, - "id": 2728, + "id": 2220, "name": "ElementaryTypeName", - "src": "50422:6:1" + "src": "51854:6:0" } ], - "id": 2729, + "id": 2221, "name": "VariableDeclaration", - "src": "50422:13:1" + "src": "51854:13:0" } ], - "id": 2730, + "id": 2222, "name": "ParameterList", - "src": "50421:15:1" + "src": "51853:15:0" }, { "children": [ @@ -66615,9 +66615,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2731, + "id": 2223, "name": "Identifier", - "src": "50447:7:1" + "src": "51880:7:0" }, { "attributes": { @@ -66645,31 +66645,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2732, + "id": 2224, "name": "Identifier", - "src": "50455:7:1" + "src": "51888:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2733, + "id": 2225, "name": "Identifier", - "src": "50463:7:1" + "src": "51896:7:0" } ], - "id": 2734, + "id": 2226, "name": "FunctionCall", - "src": "50455:16:1" + "src": "51888:16:0" }, { "attributes": { @@ -66682,24 +66682,24 @@ "type": "literal_string \"ERC721Metadata: URI query for nonexistent token\"", "value": "ERC721Metadata: URI query for nonexistent token" }, - "id": 2735, + "id": 2227, "name": "Literal", - "src": "50473:49:1" + "src": "51906:49:0" } ], - "id": 2736, + "id": 2228, "name": "FunctionCall", - "src": "50447:76:1" + "src": "51880:76:0" } ], - "id": 2737, + "id": 2229, "name": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "attributes": { "assignments": [ - 2739 + 2231 ] }, "children": [ @@ -66708,7 +66708,7 @@ "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66720,14 +66720,14 @@ "name": "string", "type": "string" }, - "id": 2738, + "id": 2230, "name": "ElementaryTypeName", - "src": "50534:6:1" + "src": "51969:6:0" } ], - "id": 2739, + "id": 2231, "name": "VariableDeclaration", - "src": "50534:23:1" + "src": "51969:23:0" }, { "attributes": { @@ -66743,41 +66743,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 2740, + "id": 2232, "name": "Identifier", - "src": "50560:10:1" + "src": "51995:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2741, + "id": 2233, "name": "Identifier", - "src": "50571:7:1" + "src": "52006:7:0" } ], - "id": 2742, + "id": 2234, "name": "IndexAccess", - "src": "50560:19:1" + "src": "51995:19:0" } ], - "id": 2743, + "id": 2235, "name": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "attributes": { "assignments": [ - 2745 + 2237 ] }, "children": [ @@ -66786,7 +66786,7 @@ "constant": false, "mutability": "mutable", "name": "base", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66798,14 +66798,14 @@ "name": "string", "type": "string" }, - "id": 2744, + "id": 2236, "name": "ElementaryTypeName", - "src": "50589:6:1" + "src": "52025:6:0" } ], - "id": 2745, + "id": 2237, "name": "VariableDeclaration", - "src": "50589:18:1" + "src": "52025:18:0" }, { "attributes": { @@ -66833,23 +66833,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2799, + "referencedDeclaration": 2291, "type": "function () view returns (string memory)", "value": "baseURI" }, - "id": 2746, + "id": 2238, "name": "Identifier", - "src": "50610:7:1" + "src": "52046:7:0" } ], - "id": 2747, + "id": 2239, "name": "FunctionCall", - "src": "50610:9:1" + "src": "52046:9:0" } ], - "id": 2748, + "id": 2240, "name": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "attributes": {}, @@ -66912,37 +66912,37 @@ "attributes": { "name": "bytes" }, - "id": 2749, + "id": 2241, "name": "ElementaryTypeName", - "src": "50692:5:1" + "src": "52131:5:0" } ], - "id": 2750, + "id": 2242, "name": "ElementaryTypeNameExpression", - "src": "50692:5:1" + "src": "52131:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2751, + "id": 2243, "name": "Identifier", - "src": "50698:4:1" + "src": "52137:4:0" } ], - "id": 2752, + "id": 2244, "name": "FunctionCall", - "src": "50692:11:1" + "src": "52131:11:0" } ], - "id": 2753, + "id": 2245, "name": "MemberAccess", - "src": "50692:18:1" + "src": "52131:18:0" }, { "attributes": { @@ -66955,20 +66955,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2754, + "id": 2246, "name": "Literal", - "src": "50714:1:1" + "src": "52153:1:0" } ], - "id": 2755, + "id": 2247, "name": "BinaryOperation", - "src": "50692:23:1" + "src": "52131:23:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -66976,28 +66976,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2756, + "id": 2248, "name": "Identifier", - "src": "50738:9:1" + "src": "52178:9:0" } ], - "id": 2757, + "id": 2249, "name": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ], - "id": 2758, + "id": 2250, "name": "Block", - "src": "50717:41:1" + "src": "52156:43:0" } ], - "id": 2759, + "id": 2251, "name": "IfStatement", - "src": "50688:70:1" + "src": "52127:72:0" }, { "attributes": {}, @@ -67060,37 +67060,37 @@ "attributes": { "name": "bytes" }, - "id": 2760, + "id": 2252, "name": "ElementaryTypeName", - "src": "50860:5:1" + "src": "52303:5:0" } ], - "id": 2761, + "id": 2253, "name": "ElementaryTypeNameExpression", - "src": "50860:5:1" + "src": "52303:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2762, + "id": 2254, "name": "Identifier", - "src": "50866:9:1" + "src": "52309:9:0" } ], - "id": 2763, + "id": 2255, "name": "FunctionCall", - "src": "50860:16:1" + "src": "52303:16:0" } ], - "id": 2764, + "id": 2256, "name": "MemberAccess", - "src": "50860:23:1" + "src": "52303:23:0" }, { "attributes": { @@ -67103,20 +67103,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2765, + "id": 2257, "name": "Literal", - "src": "50886:1:1" + "src": "52329:1:0" } ], - "id": 2766, + "id": 2258, "name": "BinaryOperation", - "src": "50860:27:1" + "src": "52303:27:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67153,14 +67153,14 @@ "attributes": { "name": "string" }, - "id": 2767, + "id": 2259, "name": "ElementaryTypeName", - "src": "50910:6:1" + "src": "52354:6:0" } ], - "id": 2768, + "id": 2260, "name": "ElementaryTypeNameExpression", - "src": "50910:6:1" + "src": "52354:6:0" }, { "attributes": { @@ -67206,69 +67206,69 @@ "type": "abi", "value": "abi" }, - "id": 2769, + "id": 2261, "name": "Identifier", - "src": "50917:3:1" + "src": "52361:3:0" } ], - "id": 2770, + "id": 2262, "name": "MemberAccess", - "src": "50917:16:1" + "src": "52361:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2771, + "id": 2263, "name": "Identifier", - "src": "50934:4:1" + "src": "52378:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2772, + "id": 2264, "name": "Identifier", - "src": "50940:9:1" + "src": "52384:9:0" } ], - "id": 2773, + "id": 2265, "name": "FunctionCall", - "src": "50917:33:1" + "src": "52361:33:0" } ], - "id": 2774, + "id": 2266, "name": "FunctionCall", - "src": "50910:41:1" + "src": "52354:41:0" } ], - "id": 2775, + "id": 2267, "name": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ], - "id": 2776, + "id": 2268, "name": "Block", - "src": "50889:73:1" + "src": "52332:75:0" } ], - "id": 2777, + "id": 2269, "name": "IfStatement", - "src": "50856:106:1" + "src": "52299:108:0" }, { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67305,14 +67305,14 @@ "attributes": { "name": "string" }, - "id": 2778, + "id": 2270, "name": "ElementaryTypeName", - "src": "51068:6:1" + "src": "52515:6:0" } ], - "id": 2779, + "id": 2271, "name": "ElementaryTypeNameExpression", - "src": "51068:6:1" + "src": "52515:6:0" }, { "attributes": { @@ -67358,27 +67358,27 @@ "type": "abi", "value": "abi" }, - "id": 2780, + "id": 2272, "name": "Identifier", - "src": "51075:3:1" + "src": "52522:3:0" } ], - "id": 2781, + "id": 2273, "name": "MemberAccess", - "src": "51075:16:1" + "src": "52522:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2782, + "id": 2274, "name": "Identifier", - "src": "51092:4:1" + "src": "52539:4:0" }, { "attributes": { @@ -67408,7 +67408,7 @@ "isPure": false, "lValueRequested": false, "member_name": "toString", - "referencedDeclaration": 2565, + "referencedDeclaration": 2057, "type": "function (uint256) pure returns (string memory)" }, "children": [ @@ -67417,48 +67417,48 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2783, + "id": 2275, "name": "Identifier", - "src": "51098:7:1" + "src": "52545:7:0" } ], - "id": 2784, + "id": 2276, "name": "MemberAccess", - "src": "51098:16:1" + "src": "52545:16:0" } ], - "id": 2785, + "id": 2277, "name": "FunctionCall", - "src": "51098:18:1" + "src": "52545:18:0" } ], - "id": 2786, + "id": 2278, "name": "FunctionCall", - "src": "51075:42:1" + "src": "52522:42:0" } ], - "id": 2787, + "id": 2279, "name": "FunctionCall", - "src": "51068:50:1" + "src": "52515:50:0" } ], - "id": 2788, + "id": 2280, "name": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ], - "id": 2789, + "id": 2281, "name": "Block", - "src": "50437:688:1" + "src": "51869:704:0" } ], - "id": 2790, + "id": 2282, "name": "FunctionDefinition", - "src": "50349:776:1" + "src": "51781:792:0" }, { "attributes": { @@ -67470,7 +67470,7 @@ null ], "name": "baseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67480,9 +67480,9 @@ "attributes": { "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, - "id": 2791, + "id": 2283, "name": "StructuredDocumentation", - "src": "51131:221:1" + "src": "52581:225:0" }, { "attributes": { @@ -67491,9 +67491,9 @@ ] }, "children": [], - "id": 2792, + "id": 2284, "name": "ParameterList", - "src": "51373:2:1" + "src": "52828:2:0" }, { "children": [ @@ -67502,7 +67502,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2799, + "scope": 2291, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -67514,25 +67514,25 @@ "name": "string", "type": "string" }, - "id": 2793, + "id": 2285, "name": "ElementaryTypeName", - "src": "51405:6:1" + "src": "52860:6:0" } ], - "id": 2794, + "id": 2286, "name": "VariableDeclaration", - "src": "51405:13:1" + "src": "52860:13:0" } ], - "id": 2795, + "id": 2287, "name": "ParameterList", - "src": "51404:15:1" + "src": "52859:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2795 + "functionReturnParameters": 2287 }, "children": [ { @@ -67540,33 +67540,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 2796, + "id": 2288, "name": "Identifier", - "src": "51437:8:1" + "src": "52893:8:0" } ], - "id": 2797, + "id": 2289, "name": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ], - "id": 2798, + "id": 2290, "name": "Block", - "src": "51420:32:1" + "src": "52875:34:0" } ], - "id": 2799, + "id": 2291, "name": "FunctionDefinition", - "src": "51357:95:1" + "src": "52812:97:0" }, { "attributes": { "baseFunctions": [ - 700 + 192 ], "functionSelector": "2f745c59", "implemented": true, @@ -67576,7 +67576,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67586,9 +67586,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, - "id": 2800, + "id": 2292, "name": "StructuredDocumentation", - "src": "51458:68:1" + "src": "52917:70:0" }, { "attributes": { @@ -67596,9 +67596,9 @@ null ] }, - "id": 2806, + "id": 2298, "name": "OverrideSpecifier", - "src": "51610:8:1" + "src": "53072:8:0" }, { "children": [ @@ -67607,7 +67607,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -67620,21 +67620,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2801, + "id": 2293, "name": "ElementaryTypeName", - "src": "51560:7:1" + "src": "53022:7:0" } ], - "id": 2802, + "id": 2294, "name": "VariableDeclaration", - "src": "51560:13:1" + "src": "53022:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67646,19 +67646,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2803, + "id": 2295, "name": "ElementaryTypeName", - "src": "51575:7:1" + "src": "53037:7:0" } ], - "id": 2804, + "id": 2296, "name": "VariableDeclaration", - "src": "51575:13:1" + "src": "53037:13:0" } ], - "id": 2805, + "id": 2297, "name": "ParameterList", - "src": "51559:30:1" + "src": "53021:30:0" }, { "children": [ @@ -67667,7 +67667,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67679,25 +67679,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2807, + "id": 2299, "name": "ElementaryTypeName", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2808, + "id": 2300, "name": "VariableDeclaration", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2809, + "id": 2301, "name": "ParameterList", - "src": "51627:9:1" + "src": "53089:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2809 + "functionReturnParameters": 2301 }, "children": [ { @@ -67728,7 +67728,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 1920, + "referencedDeclaration": 1412, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" }, "children": [ @@ -67746,74 +67746,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2810, + "id": 2302, "name": "Identifier", - "src": "51654:13:1" + "src": "53117:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2802, + "referencedDeclaration": 2294, "type": "address", "value": "owner" }, - "id": 2811, + "id": 2303, "name": "Identifier", - "src": "51668:5:1" + "src": "53131:5:0" } ], - "id": 2812, + "id": 2304, "name": "IndexAccess", - "src": "51654:20:1" + "src": "53117:20:0" } ], - "id": 2813, + "id": 2305, "name": "MemberAccess", - "src": "51654:23:1" + "src": "53117:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2804, + "referencedDeclaration": 2296, "type": "uint256", "value": "index" }, - "id": 2814, + "id": 2306, "name": "Identifier", - "src": "51678:5:1" + "src": "53141:5:0" } ], - "id": 2815, + "id": 2307, "name": "FunctionCall", - "src": "51654:30:1" + "src": "53117:30:0" } ], - "id": 2816, + "id": 2308, "name": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ], - "id": 2817, + "id": 2309, "name": "Block", - "src": "51637:54:1" + "src": "53099:56:0" } ], - "id": 2818, + "id": 2310, "name": "FunctionDefinition", - "src": "51531:160:1" + "src": "52993:162:0" }, { "attributes": { "baseFunctions": [ - 690 + 182 ], "functionSelector": "18160ddd", "implemented": true, @@ -67823,7 +67823,7 @@ null ], "name": "totalSupply", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67833,9 +67833,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-totalSupply}." }, - "id": 2819, + "id": 2311, "name": "StructuredDocumentation", - "src": "51697:60:1" + "src": "53163:62:0" }, { "attributes": { @@ -67843,9 +67843,9 @@ null ] }, - "id": 2821, + "id": 2313, "name": "OverrideSpecifier", - "src": "51805:8:1" + "src": "53274:8:0" }, { "attributes": { @@ -67854,9 +67854,9 @@ ] }, "children": [], - "id": 2820, + "id": 2312, "name": "ParameterList", - "src": "51782:2:1" + "src": "53251:2:0" }, { "children": [ @@ -67865,7 +67865,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2830, + "scope": 2322, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67877,25 +67877,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2822, + "id": 2314, "name": "ElementaryTypeName", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2823, + "id": 2315, "name": "VariableDeclaration", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2824, + "id": 2316, "name": "ParameterList", - "src": "51822:9:1" + "src": "53291:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2824 + "functionReturnParameters": 2316 }, "children": [ { @@ -67926,7 +67926,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 2340, + "referencedDeclaration": 1832, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" }, "children": [ @@ -67935,43 +67935,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2825, + "id": 2317, "name": "Identifier", - "src": "51942:12:1" + "src": "53413:12:0" } ], - "id": 2826, + "id": 2318, "name": "MemberAccess", - "src": "51942:19:1" + "src": "53413:19:0" } ], - "id": 2827, + "id": 2319, "name": "FunctionCall", - "src": "51942:21:1" + "src": "53413:21:0" } ], - "id": 2828, + "id": 2320, "name": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ], - "id": 2829, + "id": 2321, "name": "Block", - "src": "51832:138:1" + "src": "53301:141:0" } ], - "id": 2830, + "id": 2322, "name": "FunctionDefinition", - "src": "51762:208:1" + "src": "53231:211:0" }, { "attributes": { "baseFunctions": [ - 708 + 200 ], "functionSelector": "4f6ccce7", "implemented": true, @@ -67981,7 +67981,7 @@ null ], "name": "tokenByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67991,9 +67991,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, - "id": 2831, + "id": 2323, "name": "StructuredDocumentation", - "src": "51976:61:1" + "src": "53450:63:0" }, { "attributes": { @@ -68001,9 +68001,9 @@ null ] }, - "id": 2835, + "id": 2327, "name": "OverrideSpecifier", - "src": "52099:8:1" + "src": "53576:8:0" }, { "children": [ @@ -68012,7 +68012,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68024,19 +68024,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2832, + "id": 2324, "name": "ElementaryTypeName", - "src": "52064:7:1" + "src": "53541:7:0" } ], - "id": 2833, + "id": 2325, "name": "VariableDeclaration", - "src": "52064:13:1" + "src": "53541:13:0" } ], - "id": 2834, + "id": 2326, "name": "ParameterList", - "src": "52063:15:1" + "src": "53540:15:0" }, { "children": [ @@ -68045,7 +68045,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68057,26 +68057,26 @@ "name": "uint256", "type": "uint256" }, - "id": 2836, + "id": 2328, "name": "ElementaryTypeName", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2837, + "id": 2329, "name": "VariableDeclaration", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2838, + "id": 2330, "name": "ParameterList", - "src": "52116:9:1" + "src": "53593:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2840, + 2332, null ] }, @@ -68086,7 +68086,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2848, + "scope": 2340, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68098,14 +68098,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2839, + "id": 2331, "name": "ElementaryTypeName", - "src": "52137:7:1" + "src": "53615:7:0" } ], - "id": 2840, + "id": 2332, "name": "VariableDeclaration", - "src": "52137:15:1" + "src": "53615:15:0" }, { "attributes": { @@ -68135,7 +68135,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 2379, + "referencedDeclaration": 1871, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" }, "children": [ @@ -68144,45 +68144,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2841, + "id": 2333, "name": "Identifier", - "src": "52158:12:1" + "src": "53636:12:0" } ], - "id": 2842, + "id": 2334, "name": "MemberAccess", - "src": "52158:15:1" + "src": "53636:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2833, + "referencedDeclaration": 2325, "type": "uint256", "value": "index" }, - "id": 2843, + "id": 2335, "name": "Identifier", - "src": "52174:5:1" + "src": "53652:5:0" } ], - "id": 2844, + "id": 2336, "name": "FunctionCall", - "src": "52158:22:1" + "src": "53636:22:0" } ], - "id": 2845, + "id": 2337, "name": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "attributes": { - "functionReturnParameters": 2838 + "functionReturnParameters": 2330 }, "children": [ { @@ -68190,33 +68190,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2840, + "referencedDeclaration": 2332, "type": "uint256", "value": "tokenId" }, - "id": 2846, + "id": 2338, "name": "Identifier", - "src": "52197:7:1" + "src": "53676:7:0" } ], - "id": 2847, + "id": 2339, "name": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ], - "id": 2848, + "id": 2340, "name": "Block", - "src": "52126:85:1" + "src": "53603:88:0" } ], - "id": 2849, + "id": 2341, "name": "FunctionDefinition", - "src": "52042:169:1" + "src": "53519:172:0" }, { "attributes": { "baseFunctions": [ - 616 + 108 ], "functionSelector": "095ea7b3", "implemented": true, @@ -68226,7 +68226,7 @@ null ], "name": "approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -68236,9 +68236,9 @@ "attributes": { "text": " @dev See {IERC721-approve}." }, - "id": 2850, + "id": 2342, "name": "StructuredDocumentation", - "src": "52217:46:1" + "src": "53699:48:0" }, { "attributes": { @@ -68246,9 +68246,9 @@ null ] }, - "id": 2856, + "id": 2348, "name": "OverrideSpecifier", - "src": "52329:8:1" + "src": "53814:8:0" }, { "children": [ @@ -68257,7 +68257,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68270,21 +68270,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2851, + "id": 2343, "name": "ElementaryTypeName", - "src": "52285:7:1" + "src": "53770:7:0" } ], - "id": 2852, + "id": 2344, "name": "VariableDeclaration", - "src": "52285:10:1" + "src": "53770:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68296,19 +68296,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2853, + "id": 2345, "name": "ElementaryTypeName", - "src": "52297:7:1" + "src": "53782:7:0" } ], - "id": 2854, + "id": 2346, "name": "VariableDeclaration", - "src": "52297:15:1" + "src": "53782:15:0" } ], - "id": 2855, + "id": 2347, "name": "ParameterList", - "src": "52284:29:1" + "src": "53769:29:0" }, { "attributes": { @@ -68317,16 +68317,16 @@ ] }, "children": [], - "id": 2857, + "id": 2349, "name": "ParameterList", - "src": "52338:0:1" + "src": "53823:0:0" }, { "children": [ { "attributes": { "assignments": [ - 2859 + 2351 ] }, "children": [ @@ -68335,7 +68335,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2892, + "scope": 2384, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68348,14 +68348,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2858, + "id": 2350, "name": "ElementaryTypeName", - "src": "52348:7:1" + "src": "53834:7:0" } ], - "id": 2859, + "id": 2351, "name": "VariableDeclaration", - "src": "52348:13:1" + "src": "53834:13:0" }, { "attributes": { @@ -68385,7 +68385,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -68394,41 +68394,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2860, + "id": 2352, "name": "Identifier", - "src": "52364:6:1" + "src": "53850:6:0" } ], - "id": 2861, + "id": 2353, "name": "MemberAccess", - "src": "52364:14:1" + "src": "53850:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2862, + "id": 2354, "name": "Identifier", - "src": "52379:7:1" + "src": "53865:7:0" } ], - "id": 2863, + "id": 2355, "name": "FunctionCall", - "src": "52364:23:1" + "src": "53850:23:0" } ], - "id": 2864, + "id": 2356, "name": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "children": [ @@ -68467,9 +68467,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2865, + "id": 2357, "name": "Identifier", - "src": "52397:7:1" + "src": "53884:7:0" }, { "attributes": { @@ -68490,31 +68490,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2866, + "id": 2358, "name": "Identifier", - "src": "52405:2:1" + "src": "53892:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2867, + "id": 2359, "name": "Identifier", - "src": "52411:5:1" + "src": "53898:5:0" } ], - "id": 2868, + "id": 2360, "name": "BinaryOperation", - "src": "52405:11:1" + "src": "53892:11:0" }, { "attributes": { @@ -68527,19 +68527,19 @@ "type": "literal_string \"ERC721: approval to current owner\"", "value": "ERC721: approval to current owner" }, - "id": 2869, + "id": 2361, "name": "Literal", - "src": "52418:35:1" + "src": "53905:35:0" } ], - "id": 2870, + "id": 2362, "name": "FunctionCall", - "src": "52397:57:1" + "src": "53884:57:0" } ], - "id": 2871, + "id": 2363, "name": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "children": [ @@ -68578,9 +68578,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2872, + "id": 2364, "name": "Identifier", - "src": "52465:7:1" + "src": "53954:7:0" }, { "attributes": { @@ -68636,36 +68636,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2873, + "id": 2365, "name": "Identifier", - "src": "52473:10:1" + "src": "53962:10:0" } ], - "id": 2874, + "id": 2366, "name": "FunctionCall", - "src": "52473:12:1" + "src": "53962:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2875, + "id": 2367, "name": "Identifier", - "src": "52489:5:1" + "src": "53978:5:0" } ], - "id": 2876, + "id": 2368, "name": "BinaryOperation", - "src": "52473:21:1" + "src": "53962:21:0" }, { "attributes": { @@ -68699,7 +68699,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -68708,31 +68708,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2877, + "id": 2369, "name": "Identifier", - "src": "52498:6:1" + "src": "53987:6:0" } ], - "id": 2878, + "id": 2370, "name": "MemberAccess", - "src": "52498:23:1" + "src": "53987:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2879, + "id": 2371, "name": "Identifier", - "src": "52522:5:1" + "src": "54011:5:0" }, { "attributes": { @@ -68760,28 +68760,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2880, + "id": 2372, "name": "Identifier", - "src": "52529:10:1" + "src": "54018:10:0" } ], - "id": 2881, + "id": 2373, "name": "FunctionCall", - "src": "52529:12:1" + "src": "54018:12:0" } ], - "id": 2882, + "id": 2374, "name": "FunctionCall", - "src": "52498:44:1" + "src": "53987:44:0" } ], - "id": 2883, + "id": 2375, "name": "BinaryOperation", - "src": "52473:69:1" + "src": "53962:69:0" }, { "attributes": { @@ -68794,19 +68794,19 @@ "type": "literal_string \"ERC721: approve caller is not owner nor approved for all\"", "value": "ERC721: approve caller is not owner nor approved for all" }, - "id": 2884, + "id": 2376, "name": "Literal", - "src": "52556:58:1" + "src": "54046:58:0" } ], - "id": 2885, + "id": 2377, "name": "FunctionCall", - "src": "52465:159:1" + "src": "53954:161:0" } ], - "id": 2886, + "id": 2378, "name": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "children": [ @@ -68840,64 +68840,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 2887, + "id": 2379, "name": "Identifier", - "src": "52635:8:1" + "src": "54128:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2888, + "id": 2380, "name": "Identifier", - "src": "52644:2:1" + "src": "54137:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2889, + "id": 2381, "name": "Identifier", - "src": "52648:7:1" + "src": "54141:7:0" } ], - "id": 2890, + "id": 2382, "name": "FunctionCall", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2891, + "id": 2383, "name": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2892, + "id": 2384, "name": "Block", - "src": "52338:325:1" + "src": "53823:334:0" } ], - "id": 2893, + "id": 2385, "name": "FunctionDefinition", - "src": "52268:395:1" + "src": "53753:404:0" }, { "attributes": { "baseFunctions": [ - 624 + 116 ], "functionSelector": "081812fc", "implemented": true, @@ -68907,7 +68907,7 @@ null ], "name": "getApproved", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -68917,9 +68917,9 @@ "attributes": { "text": " @dev See {IERC721-getApproved}." }, - "id": 2894, + "id": 2386, "name": "StructuredDocumentation", - "src": "52669:50:1" + "src": "54165:52:0" }, { "attributes": { @@ -68927,9 +68927,9 @@ null ] }, - "id": 2898, + "id": 2390, "name": "OverrideSpecifier", - "src": "52782:8:1" + "src": "54281:8:0" }, { "children": [ @@ -68938,7 +68938,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68950,19 +68950,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2895, + "id": 2387, "name": "ElementaryTypeName", - "src": "52745:7:1" + "src": "54244:7:0" } ], - "id": 2896, + "id": 2388, "name": "VariableDeclaration", - "src": "52745:15:1" + "src": "54244:15:0" } ], - "id": 2897, + "id": 2389, "name": "ParameterList", - "src": "52744:17:1" + "src": "54243:17:0" }, { "children": [ @@ -68971,7 +68971,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68984,19 +68984,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2899, + "id": 2391, "name": "ElementaryTypeName", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2900, + "id": 2392, "name": "VariableDeclaration", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2901, + "id": 2393, "name": "ParameterList", - "src": "52799:9:1" + "src": "54298:9:0" }, { "children": [ @@ -69037,9 +69037,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2902, + "id": 2394, "name": "Identifier", - "src": "52819:7:1" + "src": "54319:7:0" }, { "attributes": { @@ -69067,31 +69067,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2903, + "id": 2395, "name": "Identifier", - "src": "52827:7:1" + "src": "54327:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2904, + "id": 2396, "name": "Identifier", - "src": "52835:7:1" + "src": "54335:7:0" } ], - "id": 2905, + "id": 2397, "name": "FunctionCall", - "src": "52827:16:1" + "src": "54327:16:0" }, { "attributes": { @@ -69104,23 +69104,23 @@ "type": "literal_string \"ERC721: approved query for nonexistent token\"", "value": "ERC721: approved query for nonexistent token" }, - "id": 2906, + "id": 2398, "name": "Literal", - "src": "52845:46:1" + "src": "54345:46:0" } ], - "id": 2907, + "id": 2399, "name": "FunctionCall", - "src": "52819:73:1" + "src": "54319:73:0" } ], - "id": 2908, + "id": 2400, "name": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "attributes": { - "functionReturnParameters": 2901 + "functionReturnParameters": 2393 }, "children": [ { @@ -69137,51 +69137,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 2909, + "id": 2401, "name": "Identifier", - "src": "52910:15:1" + "src": "54412:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2910, + "id": 2402, "name": "Identifier", - "src": "52926:7:1" + "src": "54428:7:0" } ], - "id": 2911, + "id": 2403, "name": "IndexAccess", - "src": "52910:24:1" + "src": "54412:24:0" } ], - "id": 2912, + "id": 2404, "name": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ], - "id": 2913, + "id": 2405, "name": "Block", - "src": "52809:132:1" + "src": "54308:136:0" } ], - "id": 2914, + "id": 2406, "name": "FunctionDefinition", - "src": "52724:217:1" + "src": "54223:221:0" }, { "attributes": { "baseFunctions": [ - 632 + 124 ], "functionSelector": "a22cb465", "implemented": true, @@ -69191,7 +69191,7 @@ null ], "name": "setApprovalForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69201,9 +69201,9 @@ "attributes": { "text": " @dev See {IERC721-setApprovalForAll}." }, - "id": 2915, + "id": 2407, "name": "StructuredDocumentation", - "src": "52947:56:1" + "src": "54452:58:0" }, { "attributes": { @@ -69211,9 +69211,9 @@ null ] }, - "id": 2921, + "id": 2413, "name": "OverrideSpecifier", - "src": "53083:8:1" + "src": "54591:8:0" }, { "children": [ @@ -69222,7 +69222,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69235,21 +69235,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2916, + "id": 2408, "name": "ElementaryTypeName", - "src": "53035:7:1" + "src": "54543:7:0" } ], - "id": 2917, + "id": 2409, "name": "VariableDeclaration", - "src": "53035:16:1" + "src": "54543:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "approved", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69261,19 +69261,19 @@ "name": "bool", "type": "bool" }, - "id": 2918, + "id": 2410, "name": "ElementaryTypeName", - "src": "53053:4:1" + "src": "54561:4:0" } ], - "id": 2919, + "id": 2411, "name": "VariableDeclaration", - "src": "53053:13:1" + "src": "54561:13:0" } ], - "id": 2920, + "id": 2412, "name": "ParameterList", - "src": "53034:33:1" + "src": "54542:33:0" }, { "attributes": { @@ -69282,9 +69282,9 @@ ] }, "children": [], - "id": 2922, + "id": 2414, "name": "ParameterList", - "src": "53092:0:1" + "src": "54600:0:0" }, { "children": [ @@ -69325,9 +69325,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2923, + "id": 2415, "name": "Identifier", - "src": "53102:7:1" + "src": "54611:7:0" }, { "attributes": { @@ -69348,13 +69348,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2924, + "id": 2416, "name": "Identifier", - "src": "53110:8:1" + "src": "54619:8:0" }, { "attributes": { @@ -69382,23 +69382,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2925, + "id": 2417, "name": "Identifier", - "src": "53122:10:1" + "src": "54631:10:0" } ], - "id": 2926, + "id": 2418, "name": "FunctionCall", - "src": "53122:12:1" + "src": "54631:12:0" } ], - "id": 2927, + "id": 2419, "name": "BinaryOperation", - "src": "53110:24:1" + "src": "54619:24:0" }, { "attributes": { @@ -69411,19 +69411,19 @@ "type": "literal_string \"ERC721: approve to caller\"", "value": "ERC721: approve to caller" }, - "id": 2928, + "id": 2420, "name": "Literal", - "src": "53136:27:1" + "src": "54645:27:0" } ], - "id": 2929, + "id": 2421, "name": "FunctionCall", - "src": "53102:62:1" + "src": "54611:62:0" } ], - "id": 2930, + "id": 2422, "name": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "children": [ @@ -69460,13 +69460,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2931, + "id": 2423, "name": "Identifier", - "src": "53175:18:1" + "src": "54686:18:0" }, { "attributes": { @@ -69494,64 +69494,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2932, + "id": 2424, "name": "Identifier", - "src": "53194:10:1" + "src": "54705:10:0" } ], - "id": 2933, + "id": 2425, "name": "FunctionCall", - "src": "53194:12:1" + "src": "54705:12:0" } ], - "id": 2935, + "id": 2427, "name": "IndexAccess", - "src": "53175:32:1" + "src": "54686:32:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2934, + "id": 2426, "name": "Identifier", - "src": "53208:8:1" + "src": "54719:8:0" } ], - "id": 2936, + "id": 2428, "name": "IndexAccess", - "src": "53175:42:1" + "src": "54686:42:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2937, + "id": 2429, "name": "Identifier", - "src": "53220:8:1" + "src": "54731:8:0" } ], - "id": 2938, + "id": 2430, "name": "Assignment", - "src": "53175:53:1" + "src": "54686:53:0" } ], - "id": 2939, + "id": 2431, "name": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "children": [ @@ -69589,13 +69589,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 572, + "referencedDeclaration": 64, "type": "function (address,address,bool)", "value": "ApprovalForAll" }, - "id": 2940, + "id": 2432, "name": "Identifier", - "src": "53243:14:1" + "src": "54755:14:0" }, { "attributes": { @@ -69623,69 +69623,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2941, + "id": 2433, "name": "Identifier", - "src": "53258:10:1" + "src": "54770:10:0" } ], - "id": 2942, + "id": 2434, "name": "FunctionCall", - "src": "53258:12:1" + "src": "54770:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2943, + "id": 2435, "name": "Identifier", - "src": "53272:8:1" + "src": "54784:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2944, + "id": 2436, "name": "Identifier", - "src": "53282:8:1" + "src": "54794:8:0" } ], - "id": 2945, + "id": 2437, "name": "FunctionCall", - "src": "53243:48:1" + "src": "54755:48:0" } ], - "id": 2946, + "id": 2438, "name": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ], - "id": 2947, + "id": 2439, "name": "Block", - "src": "53092:206:1" + "src": "54600:211:0" } ], - "id": 2948, + "id": 2440, "name": "FunctionDefinition", - "src": "53008:290:1" + "src": "54516:295:0" }, { "attributes": { "baseFunctions": [ - 642 + 134 ], "functionSelector": "e985e9c5", "implemented": true, @@ -69695,7 +69695,7 @@ null ], "name": "isApprovedForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -69705,9 +69705,9 @@ "attributes": { "text": " @dev See {IERC721-isApprovedForAll}." }, - "id": 2949, + "id": 2441, "name": "StructuredDocumentation", - "src": "53304:55:1" + "src": "54819:57:0" }, { "attributes": { @@ -69715,9 +69715,9 @@ null ] }, - "id": 2955, + "id": 2447, "name": "OverrideSpecifier", - "src": "53443:8:1" + "src": "54961:8:0" }, { "children": [ @@ -69726,7 +69726,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69739,21 +69739,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2950, + "id": 2442, "name": "ElementaryTypeName", - "src": "53390:7:1" + "src": "54908:7:0" } ], - "id": 2951, + "id": 2443, "name": "VariableDeclaration", - "src": "53390:13:1" + "src": "54908:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69766,19 +69766,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2952, + "id": 2444, "name": "ElementaryTypeName", - "src": "53405:7:1" + "src": "54923:7:0" } ], - "id": 2953, + "id": 2445, "name": "VariableDeclaration", - "src": "53405:16:1" + "src": "54923:16:0" } ], - "id": 2954, + "id": 2446, "name": "ParameterList", - "src": "53389:33:1" + "src": "54907:33:0" }, { "children": [ @@ -69787,7 +69787,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69799,25 +69799,25 @@ "name": "bool", "type": "bool" }, - "id": 2956, + "id": 2448, "name": "ElementaryTypeName", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2957, + "id": 2449, "name": "VariableDeclaration", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2958, + "id": 2450, "name": "ParameterList", - "src": "53460:6:1" + "src": "54978:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2958 + "functionReturnParameters": 2450 }, "children": [ { @@ -69843,69 +69843,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2959, + "id": 2451, "name": "Identifier", - "src": "53484:18:1" + "src": "55003:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2951, + "referencedDeclaration": 2443, "type": "address", "value": "owner" }, - "id": 2960, + "id": 2452, "name": "Identifier", - "src": "53503:5:1" + "src": "55022:5:0" } ], - "id": 2961, + "id": 2453, "name": "IndexAccess", - "src": "53484:25:1" + "src": "55003:25:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2953, + "referencedDeclaration": 2445, "type": "address", "value": "operator" }, - "id": 2962, + "id": 2454, "name": "Identifier", - "src": "53510:8:1" + "src": "55029:8:0" } ], - "id": 2963, + "id": 2455, "name": "IndexAccess", - "src": "53484:35:1" + "src": "55003:35:0" } ], - "id": 2964, + "id": 2456, "name": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ], - "id": 2965, + "id": 2457, "name": "Block", - "src": "53467:59:1" + "src": "54985:61:0" } ], - "id": 2966, + "id": 2458, "name": "FunctionDefinition", - "src": "53364:162:1" + "src": "54882:164:0" }, { "attributes": { "baseFunctions": [ - 608 + 100 ], "functionSelector": "23b872dd", "implemented": true, @@ -69915,7 +69915,7 @@ null ], "name": "transferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69925,9 +69925,9 @@ "attributes": { "text": " @dev See {IERC721-transferFrom}." }, - "id": 2967, + "id": 2459, "name": "StructuredDocumentation", - "src": "53532:51:1" + "src": "55054:53:0" }, { "attributes": { @@ -69935,9 +69935,9 @@ null ] }, - "id": 2975, + "id": 2467, "name": "OverrideSpecifier", - "src": "53668:8:1" + "src": "55193:8:0" }, { "children": [ @@ -69946,7 +69946,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69959,21 +69959,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2968, + "id": 2460, "name": "ElementaryTypeName", - "src": "53610:7:1" + "src": "55135:7:0" } ], - "id": 2969, + "id": 2461, "name": "VariableDeclaration", - "src": "53610:12:1" + "src": "55135:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69986,21 +69986,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2970, + "id": 2462, "name": "ElementaryTypeName", - "src": "53624:7:1" + "src": "55149:7:0" } ], - "id": 2971, + "id": 2463, "name": "VariableDeclaration", - "src": "53624:10:1" + "src": "55149:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70012,19 +70012,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2972, + "id": 2464, "name": "ElementaryTypeName", - "src": "53636:7:1" + "src": "55161:7:0" } ], - "id": 2973, + "id": 2465, "name": "VariableDeclaration", - "src": "53636:15:1" + "src": "55161:15:0" } ], - "id": 2974, + "id": 2466, "name": "ParameterList", - "src": "53609:43:1" + "src": "55134:43:0" }, { "attributes": { @@ -70033,9 +70033,9 @@ ] }, "children": [], - "id": 2976, + "id": 2468, "name": "ParameterList", - "src": "53677:0:1" + "src": "55202:0:0" }, { "children": [ @@ -70076,9 +70076,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2977, + "id": 2469, "name": "Identifier", - "src": "53739:7:1" + "src": "55266:7:0" }, { "attributes": { @@ -70110,13 +70110,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 2978, + "id": 2470, "name": "Identifier", - "src": "53747:18:1" + "src": "55274:18:0" }, { "attributes": { @@ -70144,36 +70144,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2979, + "id": 2471, "name": "Identifier", - "src": "53766:10:1" + "src": "55293:10:0" } ], - "id": 2980, + "id": 2472, "name": "FunctionCall", - "src": "53766:12:1" + "src": "55293:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2981, + "id": 2473, "name": "Identifier", - "src": "53780:7:1" + "src": "55307:7:0" } ], - "id": 2982, + "id": 2474, "name": "FunctionCall", - "src": "53747:41:1" + "src": "55274:41:0" }, { "attributes": { @@ -70186,19 +70186,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 2983, + "id": 2475, "name": "Literal", - "src": "53790:51:1" + "src": "55317:51:0" } ], - "id": 2984, + "id": 2476, "name": "FunctionCall", - "src": "53739:103:1" + "src": "55266:103:0" } ], - "id": 2985, + "id": 2477, "name": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "children": [ @@ -70236,77 +70236,77 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 2986, + "id": 2478, "name": "Identifier", - "src": "53853:9:1" + "src": "55382:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2969, + "referencedDeclaration": 2461, "type": "address", "value": "from" }, - "id": 2987, + "id": 2479, "name": "Identifier", - "src": "53863:4:1" + "src": "55392:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2971, + "referencedDeclaration": 2463, "type": "address", "value": "to" }, - "id": 2988, + "id": 2480, "name": "Identifier", - "src": "53869:2:1" + "src": "55398:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2989, + "id": 2481, "name": "Identifier", - "src": "53873:7:1" + "src": "55402:7:0" } ], - "id": 2990, + "id": 2482, "name": "FunctionCall", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2991, + "id": 2483, "name": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2992, + "id": 2484, "name": "Block", - "src": "53677:211:1" + "src": "55202:216:0" } ], - "id": 2993, + "id": 2485, "name": "FunctionDefinition", - "src": "53588:300:1" + "src": "55113:305:0" }, { "attributes": { "baseFunctions": [ - 598 + 90 ], "functionSelector": "42842e0e", "implemented": true, @@ -70316,7 +70316,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70326,9 +70326,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 2994, + "id": 2486, "name": "StructuredDocumentation", - "src": "53894:55:1" + "src": "55426:57:0" }, { "attributes": { @@ -70336,9 +70336,9 @@ null ] }, - "id": 3002, + "id": 2494, "name": "OverrideSpecifier", - "src": "54038:8:1" + "src": "55573:8:0" }, { "children": [ @@ -70347,7 +70347,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70360,21 +70360,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2995, + "id": 2487, "name": "ElementaryTypeName", - "src": "53980:7:1" + "src": "55515:7:0" } ], - "id": 2996, + "id": 2488, "name": "VariableDeclaration", - "src": "53980:12:1" + "src": "55515:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70387,21 +70387,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2997, + "id": 2489, "name": "ElementaryTypeName", - "src": "53994:7:1" + "src": "55529:7:0" } ], - "id": 2998, + "id": 2490, "name": "VariableDeclaration", - "src": "53994:10:1" + "src": "55529:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70413,19 +70413,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2999, + "id": 2491, "name": "ElementaryTypeName", - "src": "54006:7:1" + "src": "55541:7:0" } ], - "id": 3000, + "id": 2492, "name": "VariableDeclaration", - "src": "54006:15:1" + "src": "55541:15:0" } ], - "id": 3001, + "id": 2493, "name": "ParameterList", - "src": "53979:43:1" + "src": "55514:43:0" }, { "attributes": { @@ -70434,9 +70434,9 @@ ] }, "children": [], - "id": 3003, + "id": 2495, "name": "ParameterList", - "src": "54047:0:1" + "src": "55582:0:0" }, { "children": [ @@ -70478,55 +70478,55 @@ } ], "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, + "referencedDeclaration": 2534, "type": "function (address,address,uint256,bytes memory)", "value": "safeTransferFrom" }, - "id": 3004, + "id": 2496, "name": "Identifier", - "src": "54057:16:1" + "src": "55593:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2996, + "referencedDeclaration": 2488, "type": "address", "value": "from" }, - "id": 3005, + "id": 2497, "name": "Identifier", - "src": "54074:4:1" + "src": "55610:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2998, + "referencedDeclaration": 2490, "type": "address", "value": "to" }, - "id": 3006, + "id": 2498, "name": "Identifier", - "src": "54080:2:1" + "src": "55616:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3000, + "referencedDeclaration": 2492, "type": "uint256", "value": "tokenId" }, - "id": 3007, + "id": 2499, "name": "Identifier", - "src": "54084:7:1" + "src": "55620:7:0" }, { "attributes": { @@ -70539,34 +70539,34 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3008, + "id": 2500, "name": "Literal", - "src": "54093:2:1" + "src": "55629:2:0" } ], - "id": 3009, + "id": 2501, "name": "FunctionCall", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3010, + "id": 2502, "name": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3011, + "id": 2503, "name": "Block", - "src": "54047:56:1" + "src": "55582:58:0" } ], - "id": 3012, + "id": 2504, "name": "FunctionDefinition", - "src": "53954:149:1" + "src": "55489:151:0" }, { "attributes": { "baseFunctions": [ - 654 + 146 ], "functionSelector": "b88d4fde", "implemented": true, @@ -70576,7 +70576,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70586,9 +70586,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 3013, + "id": 2505, "name": "StructuredDocumentation", - "src": "54109:55:1" + "src": "55648:57:0" }, { "attributes": { @@ -70596,9 +70596,9 @@ null ] }, - "id": 3023, + "id": 2515, "name": "OverrideSpecifier", - "src": "54273:8:1" + "src": "55815:8:0" }, { "children": [ @@ -70607,7 +70607,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70620,21 +70620,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3014, + "id": 2506, "name": "ElementaryTypeName", - "src": "54195:7:1" + "src": "55737:7:0" } ], - "id": 3015, + "id": 2507, "name": "VariableDeclaration", - "src": "54195:12:1" + "src": "55737:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70647,21 +70647,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3016, + "id": 2508, "name": "ElementaryTypeName", - "src": "54209:7:1" + "src": "55751:7:0" } ], - "id": 3017, + "id": 2509, "name": "VariableDeclaration", - "src": "54209:10:1" + "src": "55751:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70673,21 +70673,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3018, + "id": 2510, "name": "ElementaryTypeName", - "src": "54221:7:1" + "src": "55763:7:0" } ], - "id": 3019, + "id": 2511, "name": "VariableDeclaration", - "src": "54221:15:1" + "src": "55763:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -70699,19 +70699,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3020, + "id": 2512, "name": "ElementaryTypeName", - "src": "54238:5:1" + "src": "55780:5:0" } ], - "id": 3021, + "id": 2513, "name": "VariableDeclaration", - "src": "54238:18:1" + "src": "55780:18:0" } ], - "id": 3022, + "id": 2514, "name": "ParameterList", - "src": "54194:63:1" + "src": "55736:63:0" }, { "attributes": { @@ -70720,9 +70720,9 @@ ] }, "children": [], - "id": 3024, + "id": 2516, "name": "ParameterList", - "src": "54282:0:1" + "src": "55824:0:0" }, { "children": [ @@ -70763,9 +70763,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3025, + "id": 2517, "name": "Identifier", - "src": "54292:7:1" + "src": "55835:7:0" }, { "attributes": { @@ -70797,13 +70797,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 3026, + "id": 2518, "name": "Identifier", - "src": "54300:18:1" + "src": "55843:18:0" }, { "attributes": { @@ -70831,36 +70831,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3027, + "id": 2519, "name": "Identifier", - "src": "54319:10:1" + "src": "55862:10:0" } ], - "id": 3028, + "id": 2520, "name": "FunctionCall", - "src": "54319:12:1" + "src": "55862:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3029, + "id": 2521, "name": "Identifier", - "src": "54333:7:1" + "src": "55876:7:0" } ], - "id": 3030, + "id": 2522, "name": "FunctionCall", - "src": "54300:41:1" + "src": "55843:41:0" }, { "attributes": { @@ -70873,19 +70873,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 3031, + "id": 2523, "name": "Literal", - "src": "54343:51:1" + "src": "55886:51:0" } ], - "id": 3032, + "id": 2524, "name": "FunctionCall", - "src": "54292:103:1" + "src": "55835:103:0" } ], - "id": 3033, + "id": 2525, "name": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "children": [ @@ -70927,85 +70927,85 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3071, + "referencedDeclaration": 2563, "type": "function (address,address,uint256,bytes memory)", "value": "_safeTransfer" }, - "id": 3034, + "id": 2526, "name": "Identifier", - "src": "54405:13:1" + "src": "55949:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3015, + "referencedDeclaration": 2507, "type": "address", "value": "from" }, - "id": 3035, + "id": 2527, "name": "Identifier", - "src": "54419:4:1" + "src": "55963:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3017, + "referencedDeclaration": 2509, "type": "address", "value": "to" }, - "id": 3036, + "id": 2528, "name": "Identifier", - "src": "54425:2:1" + "src": "55969:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3037, + "id": 2529, "name": "Identifier", - "src": "54429:7:1" + "src": "55973:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3021, + "referencedDeclaration": 2513, "type": "bytes memory", "value": "_data" }, - "id": 3038, + "id": 2530, "name": "Identifier", - "src": "54438:5:1" + "src": "55982:5:0" } ], - "id": 3039, + "id": 2531, "name": "FunctionCall", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3040, + "id": 2532, "name": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3041, + "id": 2533, "name": "Block", - "src": "54282:169:1" + "src": "55824:172:0" } ], - "id": 3042, + "id": 2534, "name": "FunctionDefinition", - "src": "54169:282:1" + "src": "55711:285:0" }, { "attributes": { @@ -71016,7 +71016,7 @@ null ], "name": "_safeTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -71026,9 +71026,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3043, + "id": 2535, "name": "StructuredDocumentation", - "src": "54457:851:1" + "src": "56004:868:0" }, { "children": [ @@ -71037,7 +71037,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71050,21 +71050,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3044, + "id": 2536, "name": "ElementaryTypeName", - "src": "55336:7:1" + "src": "56901:7:0" } ], - "id": 3045, + "id": 2537, "name": "VariableDeclaration", - "src": "55336:12:1" + "src": "56901:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71077,21 +71077,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3046, + "id": 2538, "name": "ElementaryTypeName", - "src": "55350:7:1" + "src": "56915:7:0" } ], - "id": 3047, + "id": 2539, "name": "VariableDeclaration", - "src": "55350:10:1" + "src": "56915:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71103,21 +71103,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3048, + "id": 2540, "name": "ElementaryTypeName", - "src": "55362:7:1" + "src": "56927:7:0" } ], - "id": 3049, + "id": 2541, "name": "VariableDeclaration", - "src": "55362:15:1" + "src": "56927:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -71129,19 +71129,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3050, + "id": 2542, "name": "ElementaryTypeName", - "src": "55379:5:1" + "src": "56944:5:0" } ], - "id": 3051, + "id": 2543, "name": "VariableDeclaration", - "src": "55379:18:1" + "src": "56944:18:0" } ], - "id": 3052, + "id": 2544, "name": "ParameterList", - "src": "55335:63:1" + "src": "56900:63:0" }, { "attributes": { @@ -71150,9 +71150,9 @@ ] }, "children": [], - "id": 3053, + "id": 2545, "name": "ParameterList", - "src": "55416:0:1" + "src": "56981:0:0" }, { "children": [ @@ -71192,62 +71192,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 3054, + "id": 2546, "name": "Identifier", - "src": "55426:9:1" + "src": "56992:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3055, + "id": 2547, "name": "Identifier", - "src": "55436:4:1" + "src": "57002:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3056, + "id": 2548, "name": "Identifier", - "src": "55442:2:1" + "src": "57008:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3057, + "id": 2549, "name": "Identifier", - "src": "55446:7:1" + "src": "57012:7:0" } ], - "id": 3058, + "id": 2550, "name": "FunctionCall", - "src": "55426:28:1" + "src": "56992:28:0" } ], - "id": 3059, + "id": 2551, "name": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "children": [ @@ -71286,9 +71286,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3060, + "id": 2552, "name": "Identifier", - "src": "55464:7:1" + "src": "57031:7:0" }, { "attributes": { @@ -71328,70 +71328,70 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3061, + "id": 2553, "name": "Identifier", - "src": "55472:22:1" + "src": "57039:22:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3062, + "id": 2554, "name": "Identifier", - "src": "55495:4:1" + "src": "57062:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3063, + "id": 2555, "name": "Identifier", - "src": "55501:2:1" + "src": "57068:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3064, + "id": 2556, "name": "Identifier", - "src": "55505:7:1" + "src": "57072:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3051, + "referencedDeclaration": 2543, "type": "bytes memory", "value": "_data" }, - "id": 3065, + "id": 2557, "name": "Identifier", - "src": "55514:5:1" + "src": "57081:5:0" } ], - "id": 3066, + "id": 2558, "name": "FunctionCall", - "src": "55472:48:1" + "src": "57039:48:0" }, { "attributes": { @@ -71404,29 +71404,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3067, + "id": 2559, "name": "Literal", - "src": "55522:52:1" + "src": "57089:52:0" } ], - "id": 3068, + "id": 2560, "name": "FunctionCall", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3069, + "id": 2561, "name": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3070, + "id": 2562, "name": "Block", - "src": "55416:166:1" + "src": "56981:169:0" } ], - "id": 3071, + "id": 2563, "name": "FunctionDefinition", - "src": "55313:269:1" + "src": "56878:272:0" }, { "attributes": { @@ -71437,7 +71437,7 @@ null ], "name": "_exists", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71447,9 +71447,9 @@ "attributes": { "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3072, + "id": 2564, "name": "StructuredDocumentation", - "src": "55588:292:1" + "src": "57158:299:0" }, { "children": [ @@ -71458,7 +71458,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71470,19 +71470,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3073, + "id": 2565, "name": "ElementaryTypeName", - "src": "55902:7:1" + "src": "57480:7:0" } ], - "id": 3074, + "id": 2566, "name": "VariableDeclaration", - "src": "55902:15:1" + "src": "57480:15:0" } ], - "id": 3075, + "id": 2567, "name": "ParameterList", - "src": "55901:17:1" + "src": "57479:17:0" }, { "children": [ @@ -71491,7 +71491,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71503,25 +71503,25 @@ "name": "bool", "type": "bool" }, - "id": 3076, + "id": 2568, "name": "ElementaryTypeName", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3077, + "id": 2569, "name": "VariableDeclaration", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3078, + "id": 2570, "name": "ParameterList", - "src": "55949:6:1" + "src": "57527:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3078 + "functionReturnParameters": 2570 }, "children": [ { @@ -71552,7 +71552,7 @@ "isPure": false, "lValueRequested": false, "member_name": "contains", - "referencedDeclaration": 2326, + "referencedDeclaration": 1818, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" }, "children": [ @@ -71561,51 +71561,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3079, + "id": 2571, "name": "Identifier", - "src": "55973:12:1" + "src": "57552:12:0" } ], - "id": 3080, + "id": 2572, "name": "MemberAccess", - "src": "55973:21:1" + "src": "57552:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3074, + "referencedDeclaration": 2566, "type": "uint256", "value": "tokenId" }, - "id": 3081, + "id": 2573, "name": "Identifier", - "src": "55995:7:1" + "src": "57574:7:0" } ], - "id": 3082, + "id": 2574, "name": "FunctionCall", - "src": "55973:30:1" + "src": "57552:30:0" } ], - "id": 3083, + "id": 2575, "name": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ], - "id": 3084, + "id": 2576, "name": "Block", - "src": "55956:54:1" + "src": "57534:56:0" } ], - "id": 3085, + "id": 2577, "name": "FunctionDefinition", - "src": "55885:125:1" + "src": "57463:127:0" }, { "attributes": { @@ -71616,7 +71616,7 @@ null ], "name": "_isApprovedOrOwner", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71626,9 +71626,9 @@ "attributes": { "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3086, + "id": 2578, "name": "StructuredDocumentation", - "src": "56016:147:1" + "src": "57598:153:0" }, { "children": [ @@ -71637,7 +71637,7 @@ "constant": false, "mutability": "mutable", "name": "spender", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71650,21 +71650,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3087, + "id": 2579, "name": "ElementaryTypeName", - "src": "56196:7:1" + "src": "57785:7:0" } ], - "id": 3088, + "id": 2580, "name": "VariableDeclaration", - "src": "56196:15:1" + "src": "57785:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71676,19 +71676,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3089, + "id": 2581, "name": "ElementaryTypeName", - "src": "56213:7:1" + "src": "57802:7:0" } ], - "id": 3090, + "id": 2582, "name": "VariableDeclaration", - "src": "56213:15:1" + "src": "57802:15:0" } ], - "id": 3091, + "id": 2583, "name": "ParameterList", - "src": "56195:34:1" + "src": "57784:34:0" }, { "children": [ @@ -71697,7 +71697,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71709,19 +71709,19 @@ "name": "bool", "type": "bool" }, - "id": 3092, + "id": 2584, "name": "ElementaryTypeName", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3093, + "id": 2585, "name": "VariableDeclaration", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3094, + "id": 2586, "name": "ParameterList", - "src": "56260:6:1" + "src": "57849:6:0" }, { "children": [ @@ -71762,9 +71762,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3095, + "id": 2587, "name": "Identifier", - "src": "56277:7:1" + "src": "57867:7:0" }, { "attributes": { @@ -71792,31 +71792,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3096, + "id": 2588, "name": "Identifier", - "src": "56285:7:1" + "src": "57875:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3097, + "id": 2589, "name": "Identifier", - "src": "56293:7:1" + "src": "57883:7:0" } ], - "id": 3098, + "id": 2590, "name": "FunctionCall", - "src": "56285:16:1" + "src": "57875:16:0" }, { "attributes": { @@ -71829,24 +71829,24 @@ "type": "literal_string \"ERC721: operator query for nonexistent token\"", "value": "ERC721: operator query for nonexistent token" }, - "id": 3099, + "id": 2591, "name": "Literal", - "src": "56303:46:1" + "src": "57893:46:0" } ], - "id": 3100, + "id": 2592, "name": "FunctionCall", - "src": "56277:73:1" + "src": "57867:73:0" } ], - "id": 3101, + "id": 2593, "name": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "attributes": { "assignments": [ - 3103 + 2595 ] }, "children": [ @@ -71855,7 +71855,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3126, + "scope": 2618, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71868,14 +71868,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3102, + "id": 2594, "name": "ElementaryTypeName", - "src": "56360:7:1" + "src": "57951:7:0" } ], - "id": 3103, + "id": 2595, "name": "VariableDeclaration", - "src": "56360:13:1" + "src": "57951:13:0" }, { "attributes": { @@ -71905,7 +71905,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -71914,45 +71914,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3104, + "id": 2596, "name": "Identifier", - "src": "56376:6:1" + "src": "57967:6:0" } ], - "id": 3105, + "id": 2597, "name": "MemberAccess", - "src": "56376:14:1" + "src": "57967:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3106, + "id": 2598, "name": "Identifier", - "src": "56391:7:1" + "src": "57982:7:0" } ], - "id": 3107, + "id": 2599, "name": "FunctionCall", - "src": "56376:23:1" + "src": "57967:23:0" } ], - "id": 3108, + "id": 2600, "name": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "attributes": { - "functionReturnParameters": 3094 + "functionReturnParameters": 2586 }, "children": [ { @@ -72012,31 +72012,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3109, + "id": 2601, "name": "Identifier", - "src": "56417:7:1" + "src": "58009:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3110, + "id": 2602, "name": "Identifier", - "src": "56428:5:1" + "src": "58020:5:0" } ], - "id": 3111, + "id": 2603, "name": "BinaryOperation", - "src": "56417:16:1" + "src": "58009:16:0" }, { "attributes": { @@ -72078,54 +72078,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2914, + "referencedDeclaration": 2406, "type": "function (uint256) view returns (address)", "value": "getApproved" }, - "id": 3112, + "id": 2604, "name": "Identifier", - "src": "56437:11:1" + "src": "58029:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3113, + "id": 2605, "name": "Identifier", - "src": "56449:7:1" + "src": "58041:7:0" } ], - "id": 3114, + "id": 2606, "name": "FunctionCall", - "src": "56437:20:1" + "src": "58029:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3115, + "id": 2607, "name": "Identifier", - "src": "56461:7:1" + "src": "58053:7:0" } ], - "id": 3116, + "id": 2608, "name": "BinaryOperation", - "src": "56437:31:1" + "src": "58029:31:0" } ], - "id": 3117, + "id": 2609, "name": "BinaryOperation", - "src": "56417:51:1" + "src": "58009:51:0" }, { "attributes": { @@ -72159,7 +72159,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -72168,74 +72168,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3118, + "id": 2610, "name": "Identifier", - "src": "56472:6:1" + "src": "58064:6:0" } ], - "id": 3119, + "id": 2611, "name": "MemberAccess", - "src": "56472:23:1" + "src": "58064:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3120, + "id": 2612, "name": "Identifier", - "src": "56496:5:1" + "src": "58088:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3121, + "id": 2613, "name": "Identifier", - "src": "56503:7:1" + "src": "58095:7:0" } ], - "id": 3122, + "id": 2614, "name": "FunctionCall", - "src": "56472:39:1" + "src": "58064:39:0" } ], - "id": 3123, + "id": 2615, "name": "BinaryOperation", - "src": "56417:94:1" + "src": "58009:94:0" } ], - "id": 3124, + "id": 2616, "name": "TupleExpression", - "src": "56416:96:1" + "src": "58008:96:0" } ], - "id": 3125, + "id": 2617, "name": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ], - "id": 3126, + "id": 2618, "name": "Block", - "src": "56267:252:1" + "src": "57856:256:0" } ], - "id": 3127, + "id": 2619, "name": "FunctionDefinition", - "src": "56168:351:1" + "src": "57757:355:0" }, { "attributes": { @@ -72246,7 +72246,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72256,9 +72256,9 @@ "attributes": { "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3128, + "id": 2620, "name": "StructuredDocumentation", - "src": "56525:320:1" + "src": "58120:329:0" }, { "children": [ @@ -72267,7 +72267,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72280,21 +72280,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3129, + "id": 2621, "name": "ElementaryTypeName", - "src": "56869:7:1" + "src": "58474:7:0" } ], - "id": 3130, + "id": 2622, "name": "VariableDeclaration", - "src": "56869:10:1" + "src": "58474:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72306,19 +72306,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3131, + "id": 2623, "name": "ElementaryTypeName", - "src": "56881:7:1" + "src": "58486:7:0" } ], - "id": 3132, + "id": 2624, "name": "VariableDeclaration", - "src": "56881:15:1" + "src": "58486:15:0" } ], - "id": 3133, + "id": 2625, "name": "ParameterList", - "src": "56868:29:1" + "src": "58473:29:0" }, { "attributes": { @@ -72327,9 +72327,9 @@ ] }, "children": [], - "id": 3134, + "id": 2626, "name": "ParameterList", - "src": "56915:0:1" + "src": "58520:0:0" }, { "children": [ @@ -72367,42 +72367,42 @@ } ], "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, + "referencedDeclaration": 2663, "type": "function (address,uint256,bytes memory)", "value": "_safeMint" }, - "id": 3135, + "id": 2627, "name": "Identifier", - "src": "56925:9:1" + "src": "58531:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3130, + "referencedDeclaration": 2622, "type": "address", "value": "to" }, - "id": 3136, + "id": 2628, "name": "Identifier", - "src": "56935:2:1" + "src": "58541:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3132, + "referencedDeclaration": 2624, "type": "uint256", "value": "tokenId" }, - "id": 3137, + "id": 2629, "name": "Identifier", - "src": "56939:7:1" + "src": "58545:7:0" }, { "attributes": { @@ -72415,29 +72415,29 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3138, + "id": 2630, "name": "Literal", - "src": "56948:2:1" + "src": "58554:2:0" } ], - "id": 3139, + "id": 2631, "name": "FunctionCall", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3140, + "id": 2632, "name": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3141, + "id": 2633, "name": "Block", - "src": "56915:43:1" + "src": "58520:45:0" } ], - "id": 3142, + "id": 2634, "name": "FunctionDefinition", - "src": "56850:108:1" + "src": "58455:110:0" }, { "attributes": { @@ -72448,7 +72448,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72458,9 +72458,9 @@ "attributes": { "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3143, + "id": 2635, "name": "StructuredDocumentation", - "src": "56964:210:1" + "src": "58573:213:0" }, { "children": [ @@ -72469,7 +72469,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72482,21 +72482,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3144, + "id": 2636, "name": "ElementaryTypeName", - "src": "57198:7:1" + "src": "58811:7:0" } ], - "id": 3145, + "id": 2637, "name": "VariableDeclaration", - "src": "57198:10:1" + "src": "58811:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72508,21 +72508,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3146, + "id": 2638, "name": "ElementaryTypeName", - "src": "57210:7:1" + "src": "58823:7:0" } ], - "id": 3147, + "id": 2639, "name": "VariableDeclaration", - "src": "57210:15:1" + "src": "58823:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -72534,19 +72534,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3148, + "id": 2640, "name": "ElementaryTypeName", - "src": "57227:5:1" + "src": "58840:5:0" } ], - "id": 3149, + "id": 2641, "name": "VariableDeclaration", - "src": "57227:18:1" + "src": "58840:18:0" } ], - "id": 3150, + "id": 2642, "name": "ParameterList", - "src": "57197:49:1" + "src": "58810:49:0" }, { "attributes": { @@ -72555,9 +72555,9 @@ ] }, "children": [], - "id": 3151, + "id": 2643, "name": "ParameterList", - "src": "57264:0:1" + "src": "58877:0:0" }, { "children": [ @@ -72593,49 +72593,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3230, + "referencedDeclaration": 2722, "type": "function (address,uint256)", "value": "_mint" }, - "id": 3152, + "id": 2644, "name": "Identifier", - "src": "57274:5:1" + "src": "58888:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3153, + "id": 2645, "name": "Identifier", - "src": "57280:2:1" + "src": "58894:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3154, + "id": 2646, "name": "Identifier", - "src": "57284:7:1" + "src": "58898:7:0" } ], - "id": 3155, + "id": 2647, "name": "FunctionCall", - "src": "57274:18:1" + "src": "58888:18:0" } ], - "id": 3156, + "id": 2648, "name": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "children": [ @@ -72674,9 +72674,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3157, + "id": 2649, "name": "Identifier", - "src": "57302:7:1" + "src": "58917:7:0" }, { "attributes": { @@ -72716,13 +72716,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3158, + "id": 2650, "name": "Identifier", - "src": "57310:22:1" + "src": "58925:22:0" }, { "attributes": { @@ -72758,14 +72758,14 @@ "attributes": { "name": "address" }, - "id": 3159, + "id": 2651, "name": "ElementaryTypeName", - "src": "57333:7:1" + "src": "58948:7:0" } ], - "id": 3160, + "id": 2652, "name": "ElementaryTypeNameExpression", - "src": "57333:7:1" + "src": "58948:7:0" }, { "attributes": { @@ -72778,58 +72778,58 @@ "type": "int_const 0", "value": "0" }, - "id": 3161, + "id": 2653, "name": "Literal", - "src": "57341:1:1" + "src": "58956:1:0" } ], - "id": 3162, + "id": 2654, "name": "FunctionCall", - "src": "57333:10:1" + "src": "58948:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3163, + "id": 2655, "name": "Identifier", - "src": "57345:2:1" + "src": "58960:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3164, + "id": 2656, "name": "Identifier", - "src": "57349:7:1" + "src": "58964:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3149, + "referencedDeclaration": 2641, "type": "bytes memory", "value": "_data" }, - "id": 3165, + "id": 2657, "name": "Identifier", - "src": "57358:5:1" + "src": "58973:5:0" } ], - "id": 3166, + "id": 2658, "name": "FunctionCall", - "src": "57310:54:1" + "src": "58925:54:0" }, { "attributes": { @@ -72842,29 +72842,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3167, + "id": 2659, "name": "Literal", - "src": "57366:52:1" + "src": "58981:52:0" } ], - "id": 3168, + "id": 2660, "name": "FunctionCall", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3169, + "id": 2661, "name": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3170, + "id": 2662, "name": "Block", - "src": "57264:162:1" + "src": "58877:165:0" } ], - "id": 3171, + "id": 2663, "name": "FunctionDefinition", - "src": "57179:247:1" + "src": "58792:250:0" }, { "attributes": { @@ -72875,7 +72875,7 @@ null ], "name": "_mint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72885,9 +72885,9 @@ "attributes": { "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3172, + "id": 2664, "name": "StructuredDocumentation", - "src": "57432:311:1" + "src": "59050:322:0" }, { "children": [ @@ -72896,7 +72896,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72909,21 +72909,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3173, + "id": 2665, "name": "ElementaryTypeName", - "src": "57763:7:1" + "src": "59393:7:0" } ], - "id": 3174, + "id": 2666, "name": "VariableDeclaration", - "src": "57763:10:1" + "src": "59393:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72935,19 +72935,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3175, + "id": 2667, "name": "ElementaryTypeName", - "src": "57775:7:1" + "src": "59405:7:0" } ], - "id": 3176, + "id": 2668, "name": "VariableDeclaration", - "src": "57775:15:1" + "src": "59405:15:0" } ], - "id": 3177, + "id": 2669, "name": "ParameterList", - "src": "57762:29:1" + "src": "59392:29:0" }, { "attributes": { @@ -72956,9 +72956,9 @@ ] }, "children": [], - "id": 3178, + "id": 2670, "name": "ParameterList", - "src": "57809:0:1" + "src": "59439:0:0" }, { "children": [ @@ -72999,9 +72999,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3179, + "id": 2671, "name": "Identifier", - "src": "57819:7:1" + "src": "59450:7:0" }, { "attributes": { @@ -73022,13 +73022,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3180, + "id": 2672, "name": "Identifier", - "src": "57827:2:1" + "src": "59458:2:0" }, { "attributes": { @@ -73064,14 +73064,14 @@ "attributes": { "name": "address" }, - "id": 3181, + "id": 2673, "name": "ElementaryTypeName", - "src": "57833:7:1" + "src": "59464:7:0" } ], - "id": 3182, + "id": 2674, "name": "ElementaryTypeNameExpression", - "src": "57833:7:1" + "src": "59464:7:0" }, { "attributes": { @@ -73084,19 +73084,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3183, + "id": 2675, "name": "Literal", - "src": "57841:1:1" + "src": "59472:1:0" } ], - "id": 3184, + "id": 2676, "name": "FunctionCall", - "src": "57833:10:1" + "src": "59464:10:0" } ], - "id": 3185, + "id": 2677, "name": "BinaryOperation", - "src": "57827:16:1" + "src": "59458:16:0" }, { "attributes": { @@ -73109,19 +73109,19 @@ "type": "literal_string \"ERC721: mint to the zero address\"", "value": "ERC721: mint to the zero address" }, - "id": 3186, + "id": 2678, "name": "Literal", - "src": "57845:34:1" + "src": "59476:34:0" } ], - "id": 3187, + "id": 2679, "name": "FunctionCall", - "src": "57819:61:1" + "src": "59450:61:0" } ], - "id": 3188, + "id": 2680, "name": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "children": [ @@ -73160,9 +73160,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3189, + "id": 2681, "name": "Identifier", - "src": "57890:7:1" + "src": "59522:7:0" }, { "attributes": { @@ -73201,36 +73201,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3190, + "id": 2682, "name": "Identifier", - "src": "57899:7:1" + "src": "59531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3191, + "id": 2683, "name": "Identifier", - "src": "57907:7:1" + "src": "59539:7:0" } ], - "id": 3192, + "id": 2684, "name": "FunctionCall", - "src": "57899:16:1" + "src": "59531:16:0" } ], - "id": 3193, + "id": 2685, "name": "UnaryOperation", - "src": "57898:17:1" + "src": "59530:17:0" }, { "attributes": { @@ -73243,19 +73243,19 @@ "type": "literal_string \"ERC721: token already minted\"", "value": "ERC721: token already minted" }, - "id": 3194, + "id": 2686, "name": "Literal", - "src": "57917:30:1" + "src": "59549:30:0" } ], - "id": 3195, + "id": 2687, "name": "FunctionCall", - "src": "57890:58:1" + "src": "59522:58:0" } ], - "id": 3196, + "id": 2688, "name": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "children": [ @@ -73293,13 +73293,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3197, + "id": 2689, "name": "Identifier", - "src": "57959:20:1" + "src": "59593:20:0" }, { "attributes": { @@ -73335,14 +73335,14 @@ "attributes": { "name": "address" }, - "id": 3198, + "id": 2690, "name": "ElementaryTypeName", - "src": "57980:7:1" + "src": "59614:7:0" } ], - "id": 3199, + "id": 2691, "name": "ElementaryTypeNameExpression", - "src": "57980:7:1" + "src": "59614:7:0" }, { "attributes": { @@ -73355,50 +73355,50 @@ "type": "int_const 0", "value": "0" }, - "id": 3200, + "id": 2692, "name": "Literal", - "src": "57988:1:1" + "src": "59622:1:0" } ], - "id": 3201, + "id": 2693, "name": "FunctionCall", - "src": "57980:10:1" + "src": "59614:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3202, + "id": 2694, "name": "Identifier", - "src": "57992:2:1" + "src": "59626:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3203, + "id": 2695, "name": "Identifier", - "src": "57996:7:1" + "src": "59630:7:0" } ], - "id": 3204, + "id": 2696, "name": "FunctionCall", - "src": "57959:45:1" + "src": "59593:45:0" } ], - "id": 3205, + "id": 2697, "name": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "children": [ @@ -73430,7 +73430,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -73448,59 +73448,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3206, + "id": 2698, "name": "Identifier", - "src": "58015:13:1" + "src": "59651:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3207, + "id": 2699, "name": "Identifier", - "src": "58029:2:1" + "src": "59665:2:0" } ], - "id": 3208, + "id": 2700, "name": "IndexAccess", - "src": "58015:17:1" + "src": "59651:17:0" } ], - "id": 3209, + "id": 2701, "name": "MemberAccess", - "src": "58015:21:1" + "src": "59651:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3210, + "id": 2702, "name": "Identifier", - "src": "58037:7:1" + "src": "59673:7:0" } ], - "id": 3211, + "id": 2703, "name": "FunctionCall", - "src": "58015:30:1" + "src": "59651:30:0" } ], - "id": 3212, + "id": 2704, "name": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "children": [ @@ -73536,7 +73536,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -73545,54 +73545,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3213, + "id": 2705, "name": "Identifier", - "src": "58056:12:1" + "src": "59694:12:0" } ], - "id": 3215, + "id": 2707, "name": "MemberAccess", - "src": "58056:16:1" + "src": "59694:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3216, + "id": 2708, "name": "Identifier", - "src": "58073:7:1" + "src": "59711:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3217, + "id": 2709, "name": "Identifier", - "src": "58082:2:1" + "src": "59720:2:0" } ], - "id": 3218, + "id": 2710, "name": "FunctionCall", - "src": "58056:29:1" + "src": "59694:29:0" } ], - "id": 3219, + "id": 2711, "name": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "children": [ @@ -73630,13 +73630,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3220, + "id": 2712, "name": "Identifier", - "src": "58101:8:1" + "src": "59741:8:0" }, { "attributes": { @@ -73672,14 +73672,14 @@ "attributes": { "name": "address" }, - "id": 3221, + "id": 2713, "name": "ElementaryTypeName", - "src": "58110:7:1" + "src": "59750:7:0" } ], - "id": 3222, + "id": 2714, "name": "ElementaryTypeNameExpression", - "src": "58110:7:1" + "src": "59750:7:0" }, { "attributes": { @@ -73692,60 +73692,60 @@ "type": "int_const 0", "value": "0" }, - "id": 3223, + "id": 2715, "name": "Literal", - "src": "58118:1:1" + "src": "59758:1:0" } ], - "id": 3224, + "id": 2716, "name": "FunctionCall", - "src": "58110:10:1" + "src": "59750:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3225, + "id": 2717, "name": "Identifier", - "src": "58122:2:1" + "src": "59762:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3226, + "id": 2718, "name": "Identifier", - "src": "58126:7:1" + "src": "59766:7:0" } ], - "id": 3227, + "id": 2719, "name": "FunctionCall", - "src": "58101:33:1" + "src": "59741:33:0" } ], - "id": 3228, + "id": 2720, "name": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ], - "id": 3229, + "id": 2721, "name": "Block", - "src": "57809:332:1" + "src": "59439:343:0" } ], - "id": 3230, + "id": 2722, "name": "FunctionDefinition", - "src": "57748:393:1" + "src": "59378:404:0" }, { "attributes": { @@ -73756,7 +73756,7 @@ null ], "name": "_burn", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -73766,9 +73766,9 @@ "attributes": { "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3231, + "id": 2723, "name": "StructuredDocumentation", - "src": "58147:206:1" + "src": "59790:215:0" }, { "children": [ @@ -73777,7 +73777,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3299, + "scope": 2791, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -73789,19 +73789,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3232, + "id": 2724, "name": "ElementaryTypeName", - "src": "58373:7:1" + "src": "60026:7:0" } ], - "id": 3233, + "id": 2725, "name": "VariableDeclaration", - "src": "58373:15:1" + "src": "60026:15:0" } ], - "id": 3234, + "id": 2726, "name": "ParameterList", - "src": "58372:17:1" + "src": "60025:17:0" }, { "attributes": { @@ -73810,16 +73810,16 @@ ] }, "children": [], - "id": 3235, + "id": 2727, "name": "ParameterList", - "src": "58407:0:1" + "src": "60060:0:0" }, { "children": [ { "attributes": { "assignments": [ - 3237 + 2729 ] }, "children": [ @@ -73828,7 +73828,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3298, + "scope": 2790, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -73841,14 +73841,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3236, + "id": 2728, "name": "ElementaryTypeName", - "src": "58417:7:1" + "src": "60071:7:0" } ], - "id": 3237, + "id": 2729, "name": "VariableDeclaration", - "src": "58417:13:1" + "src": "60071:13:0" }, { "attributes": { @@ -73878,7 +73878,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -73887,41 +73887,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3238, + "id": 2730, "name": "Identifier", - "src": "58433:6:1" + "src": "60087:6:0" } ], - "id": 3239, + "id": 2731, "name": "MemberAccess", - "src": "58433:14:1" + "src": "60087:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3240, + "id": 2732, "name": "Identifier", - "src": "58448:7:1" + "src": "60102:7:0" } ], - "id": 3241, + "id": 2733, "name": "FunctionCall", - "src": "58433:23:1" + "src": "60087:23:0" } ], - "id": 3242, + "id": 2734, "name": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "children": [ @@ -73959,26 +73959,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3243, + "id": 2735, "name": "Identifier", - "src": "58485:20:1" + "src": "60141:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3244, + "id": 2736, "name": "Identifier", - "src": "58506:5:1" + "src": "60162:5:0" }, { "attributes": { @@ -74014,14 +74014,14 @@ "attributes": { "name": "address" }, - "id": 3245, + "id": 2737, "name": "ElementaryTypeName", - "src": "58513:7:1" + "src": "60169:7:0" } ], - "id": 3246, + "id": 2738, "name": "ElementaryTypeNameExpression", - "src": "58513:7:1" + "src": "60169:7:0" }, { "attributes": { @@ -74034,37 +74034,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3247, + "id": 2739, "name": "Literal", - "src": "58521:1:1" + "src": "60177:1:0" } ], - "id": 3248, + "id": 2740, "name": "FunctionCall", - "src": "58513:10:1" + "src": "60169:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3249, + "id": 2741, "name": "Identifier", - "src": "58525:7:1" + "src": "60181:7:0" } ], - "id": 3250, + "id": 2742, "name": "FunctionCall", - "src": "58485:48:1" + "src": "60141:48:0" } ], - "id": 3251, + "id": 2743, "name": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "children": [ @@ -74098,13 +74098,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3252, + "id": 2744, "name": "Identifier", - "src": "58571:8:1" + "src": "60230:8:0" }, { "attributes": { @@ -74140,14 +74140,14 @@ "attributes": { "name": "address" }, - "id": 3253, + "id": 2745, "name": "ElementaryTypeName", - "src": "58580:7:1" + "src": "60239:7:0" } ], - "id": 3254, + "id": 2746, "name": "ElementaryTypeNameExpression", - "src": "58580:7:1" + "src": "60239:7:0" }, { "attributes": { @@ -74160,37 +74160,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3255, + "id": 2747, "name": "Literal", - "src": "58588:1:1" + "src": "60247:1:0" } ], - "id": 3256, + "id": 2748, "name": "FunctionCall", - "src": "58580:10:1" + "src": "60239:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3257, + "id": 2749, "name": "Identifier", - "src": "58592:7:1" + "src": "60251:7:0" } ], - "id": 3258, + "id": 2750, "name": "FunctionCall", - "src": "58571:29:1" + "src": "60230:29:0" } ], - "id": 3259, + "id": 2751, "name": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "attributes": {}, @@ -74253,14 +74253,14 @@ "attributes": { "name": "bytes" }, - "id": 3260, + "id": 2752, "name": "ElementaryTypeName", - "src": "58650:5:1" + "src": "60312:5:0" } ], - "id": 3261, + "id": 2753, "name": "ElementaryTypeNameExpression", - "src": "58650:5:1" + "src": "60312:5:0" }, { "attributes": { @@ -74276,41 +74276,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3262, + "id": 2754, "name": "Identifier", - "src": "58656:10:1" + "src": "60318:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3263, + "id": 2755, "name": "Identifier", - "src": "58667:7:1" + "src": "60329:7:0" } ], - "id": 3264, + "id": 2756, "name": "IndexAccess", - "src": "58656:19:1" + "src": "60318:19:0" } ], - "id": 3265, + "id": 2757, "name": "FunctionCall", - "src": "58650:26:1" + "src": "60312:26:0" } ], - "id": 3266, + "id": 2758, "name": "MemberAccess", - "src": "58650:33:1" + "src": "60312:33:0" }, { "attributes": { @@ -74323,14 +74323,14 @@ "type": "int_const 0", "value": "0" }, - "id": 3267, + "id": 2759, "name": "Literal", - "src": "58687:1:1" + "src": "60349:1:0" } ], - "id": 3268, + "id": 2760, "name": "BinaryOperation", - "src": "58650:38:1" + "src": "60312:38:0" }, { "children": [ @@ -74361,51 +74361,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3269, + "id": 2761, "name": "Identifier", - "src": "58711:10:1" + "src": "60374:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3270, + "id": 2762, "name": "Identifier", - "src": "58722:7:1" + "src": "60385:7:0" } ], - "id": 3271, + "id": 2763, "name": "IndexAccess", - "src": "58711:19:1" + "src": "60374:19:0" } ], - "id": 3272, + "id": 2764, "name": "UnaryOperation", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3273, + "id": 2765, "name": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3274, + "id": 2766, "name": "Block", - "src": "58690:51:1" + "src": "60352:53:0" } ], - "id": 3275, + "id": 2767, "name": "IfStatement", - "src": "58646:95:1" + "src": "60308:97:0" }, { "children": [ @@ -74437,7 +74437,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -74455,59 +74455,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3276, + "id": 2768, "name": "Identifier", - "src": "58751:13:1" + "src": "60417:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3277, + "id": 2769, "name": "Identifier", - "src": "58765:5:1" + "src": "60431:5:0" } ], - "id": 3278, + "id": 2770, "name": "IndexAccess", - "src": "58751:20:1" + "src": "60417:20:0" } ], - "id": 3279, + "id": 2771, "name": "MemberAccess", - "src": "58751:27:1" + "src": "60417:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3280, + "id": 2772, "name": "Identifier", - "src": "58779:7:1" + "src": "60445:7:0" } ], - "id": 3281, + "id": 2773, "name": "FunctionCall", - "src": "58751:36:1" + "src": "60417:36:0" } ], - "id": 3282, + "id": 2774, "name": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "children": [ @@ -74539,7 +74539,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 2306, + "referencedDeclaration": 1798, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" }, "children": [ @@ -74548,41 +74548,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3283, + "id": 2775, "name": "Identifier", - "src": "58798:12:1" + "src": "60466:12:0" } ], - "id": 3285, + "id": 2777, "name": "MemberAccess", - "src": "58798:19:1" + "src": "60466:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3286, + "id": 2778, "name": "Identifier", - "src": "58818:7:1" + "src": "60486:7:0" } ], - "id": 3287, + "id": 2779, "name": "FunctionCall", - "src": "58798:28:1" + "src": "60466:28:0" } ], - "id": 3288, + "id": 2780, "name": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "children": [ @@ -74620,26 +74620,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3289, + "id": 2781, "name": "Identifier", - "src": "58842:8:1" + "src": "60512:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3290, + "id": 2782, "name": "Identifier", - "src": "58851:5:1" + "src": "60521:5:0" }, { "attributes": { @@ -74675,14 +74675,14 @@ "attributes": { "name": "address" }, - "id": 3291, + "id": 2783, "name": "ElementaryTypeName", - "src": "58858:7:1" + "src": "60528:7:0" } ], - "id": 3292, + "id": 2784, "name": "ElementaryTypeNameExpression", - "src": "58858:7:1" + "src": "60528:7:0" }, { "attributes": { @@ -74695,47 +74695,47 @@ "type": "int_const 0", "value": "0" }, - "id": 3293, + "id": 2785, "name": "Literal", - "src": "58866:1:1" + "src": "60536:1:0" } ], - "id": 3294, + "id": 2786, "name": "FunctionCall", - "src": "58858:10:1" + "src": "60528:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3295, + "id": 2787, "name": "Identifier", - "src": "58870:7:1" + "src": "60540:7:0" } ], - "id": 3296, + "id": 2788, "name": "FunctionCall", - "src": "58842:36:1" + "src": "60512:36:0" } ], - "id": 3297, + "id": 2789, "name": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ], - "id": 3298, + "id": 2790, "name": "Block", - "src": "58407:478:1" + "src": "60060:496:0" } ], - "id": 3299, + "id": 2791, "name": "FunctionDefinition", - "src": "58358:527:1" + "src": "60011:545:0" }, { "attributes": { @@ -74746,7 +74746,7 @@ null ], "name": "_transfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -74756,9 +74756,9 @@ "attributes": { "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3300, + "id": 2792, "name": "StructuredDocumentation", - "src": "58891:313:1" + "src": "60564:323:0" }, { "children": [ @@ -74767,7 +74767,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74780,21 +74780,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3301, + "id": 2793, "name": "ElementaryTypeName", - "src": "59228:7:1" + "src": "60912:7:0" } ], - "id": 3302, + "id": 2794, "name": "VariableDeclaration", - "src": "59228:12:1" + "src": "60912:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74807,21 +74807,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3303, + "id": 2795, "name": "ElementaryTypeName", - "src": "59242:7:1" + "src": "60926:7:0" } ], - "id": 3304, + "id": 2796, "name": "VariableDeclaration", - "src": "59242:10:1" + "src": "60926:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -74833,19 +74833,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3305, + "id": 2797, "name": "ElementaryTypeName", - "src": "59254:7:1" + "src": "60938:7:0" } ], - "id": 3306, + "id": 2798, "name": "VariableDeclaration", - "src": "59254:15:1" + "src": "60938:15:0" } ], - "id": 3307, + "id": 2799, "name": "ParameterList", - "src": "59227:43:1" + "src": "60911:43:0" }, { "attributes": { @@ -74854,9 +74854,9 @@ ] }, "children": [], - "id": 3308, + "id": 2800, "name": "ParameterList", - "src": "59288:0:1" + "src": "60972:0:0" }, { "children": [ @@ -74897,9 +74897,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3309, + "id": 2801, "name": "Identifier", - "src": "59298:7:1" + "src": "60983:7:0" }, { "attributes": { @@ -74943,7 +74943,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -74952,54 +74952,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3310, + "id": 2802, "name": "Identifier", - "src": "59306:6:1" + "src": "60991:6:0" } ], - "id": 3311, + "id": 2803, "name": "MemberAccess", - "src": "59306:14:1" + "src": "60991:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3312, + "id": 2804, "name": "Identifier", - "src": "59321:7:1" + "src": "61006:7:0" } ], - "id": 3313, + "id": 2805, "name": "FunctionCall", - "src": "59306:23:1" + "src": "60991:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3314, + "id": 2806, "name": "Identifier", - "src": "59333:4:1" + "src": "61018:4:0" } ], - "id": 3315, + "id": 2807, "name": "BinaryOperation", - "src": "59306:31:1" + "src": "60991:31:0" }, { "attributes": { @@ -75012,19 +75012,19 @@ "type": "literal_string \"ERC721: transfer of token that is not own\"", "value": "ERC721: transfer of token that is not own" }, - "id": 3316, + "id": 2808, "name": "Literal", - "src": "59339:43:1" + "src": "61024:43:0" } ], - "id": 3317, + "id": 2809, "name": "FunctionCall", - "src": "59298:85:1" + "src": "60983:85:0" } ], - "id": 3318, + "id": 2810, "name": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "children": [ @@ -75063,9 +75063,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3319, + "id": 2811, "name": "Identifier", - "src": "59411:7:1" + "src": "61097:7:0" }, { "attributes": { @@ -75086,13 +75086,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3320, + "id": 2812, "name": "Identifier", - "src": "59419:2:1" + "src": "61105:2:0" }, { "attributes": { @@ -75128,14 +75128,14 @@ "attributes": { "name": "address" }, - "id": 3321, + "id": 2813, "name": "ElementaryTypeName", - "src": "59425:7:1" + "src": "61111:7:0" } ], - "id": 3322, + "id": 2814, "name": "ElementaryTypeNameExpression", - "src": "59425:7:1" + "src": "61111:7:0" }, { "attributes": { @@ -75148,19 +75148,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3323, + "id": 2815, "name": "Literal", - "src": "59433:1:1" + "src": "61119:1:0" } ], - "id": 3324, + "id": 2816, "name": "FunctionCall", - "src": "59425:10:1" + "src": "61111:10:0" } ], - "id": 3325, + "id": 2817, "name": "BinaryOperation", - "src": "59419:16:1" + "src": "61105:16:0" }, { "attributes": { @@ -75173,19 +75173,19 @@ "type": "literal_string \"ERC721: transfer to the zero address\"", "value": "ERC721: transfer to the zero address" }, - "id": 3326, + "id": 2818, "name": "Literal", - "src": "59437:38:1" + "src": "61123:38:0" } ], - "id": 3327, + "id": 2819, "name": "FunctionCall", - "src": "59411:65:1" + "src": "61097:65:0" } ], - "id": 3328, + "id": 2820, "name": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "children": [ @@ -75223,62 +75223,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3329, + "id": 2821, "name": "Identifier", - "src": "59487:20:1" + "src": "61175:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3330, + "id": 2822, "name": "Identifier", - "src": "59508:4:1" + "src": "61196:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3331, + "id": 2823, "name": "Identifier", - "src": "59514:2:1" + "src": "61202:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3332, + "id": 2824, "name": "Identifier", - "src": "59518:7:1" + "src": "61206:7:0" } ], - "id": 3333, + "id": 2825, "name": "FunctionCall", - "src": "59487:39:1" + "src": "61175:39:0" } ], - "id": 3334, + "id": 2826, "name": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "children": [ @@ -75312,13 +75312,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3335, + "id": 2827, "name": "Identifier", - "src": "59588:8:1" + "src": "61279:8:0" }, { "attributes": { @@ -75354,14 +75354,14 @@ "attributes": { "name": "address" }, - "id": 3336, + "id": 2828, "name": "ElementaryTypeName", - "src": "59597:7:1" + "src": "61288:7:0" } ], - "id": 3337, + "id": 2829, "name": "ElementaryTypeNameExpression", - "src": "59597:7:1" + "src": "61288:7:0" }, { "attributes": { @@ -75374,37 +75374,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3338, + "id": 2830, "name": "Literal", - "src": "59605:1:1" + "src": "61296:1:0" } ], - "id": 3339, + "id": 2831, "name": "FunctionCall", - "src": "59597:10:1" + "src": "61288:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3340, + "id": 2832, "name": "Identifier", - "src": "59609:7:1" + "src": "61300:7:0" } ], - "id": 3341, + "id": 2833, "name": "FunctionCall", - "src": "59588:29:1" + "src": "61279:29:0" } ], - "id": 3342, + "id": 2834, "name": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "children": [ @@ -75436,7 +75436,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75454,59 +75454,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3343, + "id": 2835, "name": "Identifier", - "src": "59628:13:1" + "src": "61321:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3344, + "id": 2836, "name": "Identifier", - "src": "59642:4:1" + "src": "61335:4:0" } ], - "id": 3345, + "id": 2837, "name": "IndexAccess", - "src": "59628:19:1" + "src": "61321:19:0" } ], - "id": 3346, + "id": 2838, "name": "MemberAccess", - "src": "59628:26:1" + "src": "61321:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3347, + "id": 2839, "name": "Identifier", - "src": "59655:7:1" + "src": "61348:7:0" } ], - "id": 3348, + "id": 2840, "name": "FunctionCall", - "src": "59628:35:1" + "src": "61321:35:0" } ], - "id": 3349, + "id": 2841, "name": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "children": [ @@ -75538,7 +75538,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75556,59 +75556,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3350, + "id": 2842, "name": "Identifier", - "src": "59673:13:1" + "src": "61367:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3351, + "id": 2843, "name": "Identifier", - "src": "59687:2:1" + "src": "61381:2:0" } ], - "id": 3352, + "id": 2844, "name": "IndexAccess", - "src": "59673:17:1" + "src": "61367:17:0" } ], - "id": 3353, + "id": 2845, "name": "MemberAccess", - "src": "59673:21:1" + "src": "61367:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3354, + "id": 2846, "name": "Identifier", - "src": "59695:7:1" + "src": "61389:7:0" } ], - "id": 3355, + "id": 2847, "name": "FunctionCall", - "src": "59673:30:1" + "src": "61367:30:0" } ], - "id": 3356, + "id": 2848, "name": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "children": [ @@ -75644,7 +75644,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -75653,54 +75653,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3357, + "id": 2849, "name": "Identifier", - "src": "59714:12:1" + "src": "61410:12:0" } ], - "id": 3359, + "id": 2851, "name": "MemberAccess", - "src": "59714:16:1" + "src": "61410:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3360, + "id": 2852, "name": "Identifier", - "src": "59731:7:1" + "src": "61427:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3361, + "id": 2853, "name": "Identifier", - "src": "59740:2:1" + "src": "61436:2:0" } ], - "id": 3362, + "id": 2854, "name": "FunctionCall", - "src": "59714:29:1" + "src": "61410:29:0" } ], - "id": 3363, + "id": 2855, "name": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "children": [ @@ -75738,72 +75738,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3364, + "id": 2856, "name": "Identifier", - "src": "59759:8:1" + "src": "61457:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3365, + "id": 2857, "name": "Identifier", - "src": "59768:4:1" + "src": "61466:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3366, + "id": 2858, "name": "Identifier", - "src": "59774:2:1" + "src": "61472:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3367, + "id": 2859, "name": "Identifier", - "src": "59778:7:1" + "src": "61476:7:0" } ], - "id": 3368, + "id": 2860, "name": "FunctionCall", - "src": "59759:27:1" + "src": "61457:27:0" } ], - "id": 3369, + "id": 2861, "name": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ], - "id": 3370, + "id": 2862, "name": "Block", - "src": "59288:505:1" + "src": "60972:520:0" } ], - "id": 3371, + "id": 2863, "name": "FunctionDefinition", - "src": "59209:584:1" + "src": "60893:599:0" }, { "attributes": { @@ -75814,7 +75814,7 @@ null ], "name": "_setTokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -75824,9 +75824,9 @@ "attributes": { "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3372, + "id": 2864, "name": "StructuredDocumentation", - "src": "59799:136:1" + "src": "61500:142:0" }, { "children": [ @@ -75835,7 +75835,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -75847,21 +75847,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3373, + "id": 2865, "name": "ElementaryTypeName", - "src": "59962:7:1" + "src": "61670:7:0" } ], - "id": 3374, + "id": 2866, "name": "VariableDeclaration", - "src": "59962:15:1" + "src": "61670:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -75873,19 +75873,19 @@ "name": "string", "type": "string" }, - "id": 3375, + "id": 2867, "name": "ElementaryTypeName", - "src": "59979:6:1" + "src": "61687:6:0" } ], - "id": 3376, + "id": 2868, "name": "VariableDeclaration", - "src": "59979:23:1" + "src": "61687:23:0" } ], - "id": 3377, + "id": 2869, "name": "ParameterList", - "src": "59961:42:1" + "src": "61669:42:0" }, { "attributes": { @@ -75894,9 +75894,9 @@ ] }, "children": [], - "id": 3378, + "id": 2870, "name": "ParameterList", - "src": "60021:0:1" + "src": "61729:0:0" }, { "children": [ @@ -75937,9 +75937,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3379, + "id": 2871, "name": "Identifier", - "src": "60031:7:1" + "src": "61740:7:0" }, { "attributes": { @@ -75967,31 +75967,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3380, + "id": 2872, "name": "Identifier", - "src": "60039:7:1" + "src": "61748:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3381, + "id": 2873, "name": "Identifier", - "src": "60047:7:1" + "src": "61756:7:0" } ], - "id": 3382, + "id": 2874, "name": "FunctionCall", - "src": "60039:16:1" + "src": "61748:16:0" }, { "attributes": { @@ -76004,19 +76004,19 @@ "type": "literal_string \"ERC721Metadata: URI set of nonexistent token\"", "value": "ERC721Metadata: URI set of nonexistent token" }, - "id": 3383, + "id": 2875, "name": "Literal", - "src": "60057:46:1" + "src": "61766:46:0" } ], - "id": 3384, + "id": 2876, "name": "FunctionCall", - "src": "60031:73:1" + "src": "61740:73:0" } ], - "id": 3385, + "id": 2877, "name": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "children": [ @@ -76044,64 +76044,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3386, + "id": 2878, "name": "Identifier", - "src": "60114:10:1" + "src": "61824:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3387, + "id": 2879, "name": "Identifier", - "src": "60125:7:1" + "src": "61835:7:0" } ], - "id": 3388, + "id": 2880, "name": "IndexAccess", - "src": "60114:19:1" + "src": "61824:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3376, + "referencedDeclaration": 2868, "type": "string memory", "value": "_tokenURI" }, - "id": 3389, + "id": 2881, "name": "Identifier", - "src": "60136:9:1" + "src": "61846:9:0" } ], - "id": 3390, + "id": 2882, "name": "Assignment", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3391, + "id": 2883, "name": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3392, + "id": 2884, "name": "Block", - "src": "60021:131:1" + "src": "61729:134:0" } ], - "id": 3393, + "id": 2885, "name": "FunctionDefinition", - "src": "59940:212:1" + "src": "61648:215:0" }, { "attributes": { @@ -76112,7 +76112,7 @@ null ], "name": "_setBaseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -76122,9 +76122,9 @@ "attributes": { "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3394, + "id": 2886, "name": "StructuredDocumentation", - "src": "60158:212:1" + "src": "61871:216:0" }, { "children": [ @@ -76133,7 +76133,7 @@ "constant": false, "mutability": "mutable", "name": "baseURI_", - "scope": 3404, + "scope": 2896, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -76145,19 +76145,19 @@ "name": "string", "type": "string" }, - "id": 3395, + "id": 2887, "name": "ElementaryTypeName", - "src": "60396:6:1" + "src": "62114:6:0" } ], - "id": 3396, + "id": 2888, "name": "VariableDeclaration", - "src": "60396:22:1" + "src": "62114:22:0" } ], - "id": 3397, + "id": 2889, "name": "ParameterList", - "src": "60395:24:1" + "src": "62113:24:0" }, { "attributes": { @@ -76166,9 +76166,9 @@ ] }, "children": [], - "id": 3398, + "id": 2890, "name": "ParameterList", - "src": "60437:0:1" + "src": "62155:0:0" }, { "children": [ @@ -76189,46 +76189,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 3399, + "id": 2891, "name": "Identifier", - "src": "60447:8:1" + "src": "62166:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3396, + "referencedDeclaration": 2888, "type": "string memory", "value": "baseURI_" }, - "id": 3400, + "id": 2892, "name": "Identifier", - "src": "60458:8:1" + "src": "62177:8:0" } ], - "id": 3401, + "id": 2893, "name": "Assignment", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3402, + "id": 2894, "name": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3403, + "id": 2895, "name": "Block", - "src": "60437:36:1" + "src": "62155:38:0" } ], - "id": 3404, + "id": 2896, "name": "FunctionDefinition", - "src": "60375:98:1" + "src": "62093:100:0" }, { "attributes": { @@ -76239,7 +76239,7 @@ null ], "name": "_checkOnERC721Received", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -76249,9 +76249,9 @@ "attributes": { "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3405, + "id": 2897, "name": "StructuredDocumentation", - "src": "60479:542:1" + "src": "62201:551:0" }, { "children": [ @@ -76260,7 +76260,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76273,21 +76273,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3406, + "id": 2898, "name": "ElementaryTypeName", - "src": "61058:7:1" + "src": "62790:7:0" } ], - "id": 3407, + "id": 2899, "name": "VariableDeclaration", - "src": "61058:12:1" + "src": "62790:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76300,21 +76300,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3408, + "id": 2900, "name": "ElementaryTypeName", - "src": "61072:7:1" + "src": "62804:7:0" } ], - "id": 3409, + "id": 2901, "name": "VariableDeclaration", - "src": "61072:10:1" + "src": "62804:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -76326,21 +76326,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3410, + "id": 2902, "name": "ElementaryTypeName", - "src": "61084:7:1" + "src": "62816:7:0" } ], - "id": 3411, + "id": 2903, "name": "VariableDeclaration", - "src": "61084:15:1" + "src": "62816:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76352,19 +76352,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3412, + "id": 2904, "name": "ElementaryTypeName", - "src": "61101:5:1" + "src": "62833:5:0" } ], - "id": 3413, + "id": 2905, "name": "VariableDeclaration", - "src": "61101:18:1" + "src": "62833:18:0" } ], - "id": 3414, + "id": 2906, "name": "ParameterList", - "src": "61057:63:1" + "src": "62789:63:0" }, { "children": [ @@ -76373,7 +76373,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -76385,19 +76385,19 @@ "name": "bool", "type": "bool" }, - "id": 3415, + "id": 2907, "name": "ElementaryTypeName", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3416, + "id": 2908, "name": "VariableDeclaration", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3417, + "id": 2909, "name": "ParameterList", - "src": "61145:6:1" + "src": "62878:6:0" }, { "children": [ @@ -76443,7 +76443,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isContract", - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)" }, "children": [ @@ -76452,34 +76452,34 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3418, + "id": 2910, "name": "Identifier", - "src": "61171:2:1" + "src": "62906:2:0" } ], - "id": 3419, + "id": 2911, "name": "MemberAccess", - "src": "61171:13:1" + "src": "62906:13:0" } ], - "id": 3420, + "id": 2912, "name": "FunctionCall", - "src": "61171:15:1" + "src": "62906:15:0" } ], - "id": 3421, + "id": 2913, "name": "UnaryOperation", - "src": "61170:16:1" + "src": "62905:16:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -76493,29 +76493,29 @@ "type": "bool", "value": "true" }, - "id": 3422, + "id": 2914, "name": "Literal", - "src": "61209:4:1" + "src": "62945:4:0" } ], - "id": 3423, + "id": 2915, "name": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ], - "id": 3424, + "id": 2916, "name": "Block", - "src": "61188:36:1" + "src": "62923:38:0" } ], - "id": 3425, + "id": 2917, "name": "IfStatement", - "src": "61166:58:1" + "src": "62901:60:0" }, { "attributes": { "assignments": [ - 3427 + 2919 ] }, "children": [ @@ -76524,7 +76524,7 @@ "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76536,14 +76536,14 @@ "name": "bytes", "type": "bytes" }, - "id": 3426, + "id": 2918, "name": "ElementaryTypeName", - "src": "61233:5:1" + "src": "62971:5:0" } ], - "id": 3427, + "id": 2919, "name": "VariableDeclaration", - "src": "61233:23:1" + "src": "62971:23:0" }, { "attributes": { @@ -76577,7 +76577,7 @@ "isPure": false, "lValueRequested": false, "member_name": "functionCall", - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)" }, "children": [ @@ -76586,18 +76586,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3428, + "id": 2920, "name": "Identifier", - "src": "61259:2:1" + "src": "62997:2:0" } ], - "id": 3429, + "id": 2921, "name": "MemberAccess", - "src": "61259:15:1" + "src": "62997:15:0" }, { "attributes": { @@ -76655,14 +76655,14 @@ "type": "abi", "value": "abi" }, - "id": 3430, + "id": 2922, "name": "Identifier", - "src": "61275:3:1" + "src": "63013:3:0" } ], - "id": 3431, + "id": 2923, "name": "MemberAccess", - "src": "61275:22:1" + "src": "63013:22:0" }, { "attributes": { @@ -76681,7 +76681,7 @@ "isPure": false, "lValueRequested": false, "member_name": "onERC721Received", - "referencedDeclaration": 725, + "referencedDeclaration": 217, "type": "function (address,address,uint256,bytes memory) external returns (bytes4)" }, "children": [ @@ -76711,41 +76711,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 726, + "referencedDeclaration": 218, "type": "type(contract IERC721Receiver)", "value": "IERC721Receiver" }, - "id": 3432, + "id": 2924, "name": "Identifier", - "src": "61311:15:1" + "src": "63050:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3433, + "id": 2925, "name": "Identifier", - "src": "61327:2:1" + "src": "63066:2:0" } ], - "id": 3434, + "id": 2926, "name": "FunctionCall", - "src": "61311:19:1" + "src": "63050:19:0" } ], - "id": 3435, + "id": 2927, "name": "MemberAccess", - "src": "61311:36:1" + "src": "63050:36:0" } ], - "id": 3436, + "id": 2928, "name": "MemberAccess", - "src": "61311:45:1" + "src": "63050:45:0" }, { "attributes": { @@ -76773,62 +76773,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3437, + "id": 2929, "name": "Identifier", - "src": "61370:10:1" + "src": "63110:10:0" } ], - "id": 3438, + "id": 2930, "name": "FunctionCall", - "src": "61370:12:1" + "src": "63110:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3407, + "referencedDeclaration": 2899, "type": "address", "value": "from" }, - "id": 3439, + "id": 2931, "name": "Identifier", - "src": "61396:4:1" + "src": "63137:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3411, + "referencedDeclaration": 2903, "type": "uint256", "value": "tokenId" }, - "id": 3440, + "id": 2932, "name": "Identifier", - "src": "61414:7:1" + "src": "63156:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3413, + "referencedDeclaration": 2905, "type": "bytes memory", "value": "_data" }, - "id": 3441, + "id": 2933, "name": "Identifier", - "src": "61435:5:1" + "src": "63178:5:0" } ], - "id": 3442, + "id": 2934, "name": "FunctionCall", - "src": "61275:175:1" + "src": "63013:181:0" }, { "attributes": { @@ -76841,24 +76841,24 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3443, + "id": 2935, "name": "Literal", - "src": "61452:52:1" + "src": "63196:52:0" } ], - "id": 3444, + "id": 2936, "name": "FunctionCall", - "src": "61259:246:1" + "src": "62997:252:0" } ], - "id": 3445, + "id": 2937, "name": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "attributes": { "assignments": [ - 3447 + 2939 ] }, "children": [ @@ -76867,7 +76867,7 @@ "constant": false, "mutability": "mutable", "name": "retval", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -76879,14 +76879,14 @@ "name": "bytes4", "type": "bytes4" }, - "id": 3446, + "id": 2938, "name": "ElementaryTypeName", - "src": "61515:6:1" + "src": "63260:6:0" } ], - "id": 3447, + "id": 2939, "name": "VariableDeclaration", - "src": "61515:13:1" + "src": "63260:13:0" }, { "attributes": { @@ -76932,27 +76932,27 @@ "type": "abi", "value": "abi" }, - "id": 3448, + "id": 2940, "name": "Identifier", - "src": "61531:3:1" + "src": "63276:3:0" } ], - "id": 3449, + "id": 2941, "name": "MemberAccess", - "src": "61531:10:1" + "src": "63276:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3427, + "referencedDeclaration": 2919, "type": "bytes memory", "value": "returndata" }, - "id": 3450, + "id": 2942, "name": "Identifier", - "src": "61542:10:1" + "src": "63287:10:0" }, { "attributes": { @@ -76977,33 +76977,33 @@ "attributes": { "name": "bytes4" }, - "id": 3451, + "id": 2943, "name": "ElementaryTypeName", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3452, + "id": 2944, "name": "ElementaryTypeNameExpression", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3453, + "id": 2945, "name": "TupleExpression", - "src": "61554:8:1" + "src": "63299:8:0" } ], - "id": 3454, + "id": 2946, "name": "FunctionCall", - "src": "61531:32:1" + "src": "63276:32:0" } ], - "id": 3455, + "id": 2947, "name": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -77035,51 +77035,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3447, + "referencedDeclaration": 2939, "type": "bytes4", "value": "retval" }, - "id": 3456, + "id": 2948, "name": "Identifier", - "src": "61581:6:1" + "src": "63327:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2596, + "referencedDeclaration": 2088, "type": "bytes4", "value": "_ERC721_RECEIVED" }, - "id": 3457, + "id": 2949, "name": "Identifier", - "src": "61591:16:1" + "src": "63337:16:0" } ], - "id": 3458, + "id": 2950, "name": "BinaryOperation", - "src": "61581:26:1" + "src": "63327:26:0" } ], - "id": 3459, + "id": 2951, "name": "TupleExpression", - "src": "61580:28:1" + "src": "63326:28:0" } ], - "id": 3460, + "id": 2952, "name": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ], - "id": 3461, + "id": 2953, "name": "Block", - "src": "61156:459:1" + "src": "62890:472:0" } ], - "id": 3462, + "id": 2954, "name": "FunctionDefinition", - "src": "61026:589:1" + "src": "62758:604:0" }, { "attributes": { @@ -77090,7 +77090,7 @@ null ], "name": "_approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77100,9 +77100,9 @@ "attributes": { "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3463, + "id": 2955, "name": "StructuredDocumentation", - "src": "61621:101:1" + "src": "63370:105:0" }, { "children": [ @@ -77111,7 +77111,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77124,21 +77124,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3464, + "id": 2956, "name": "ElementaryTypeName", - "src": "61745:7:1" + "src": "63499:7:0" } ], - "id": 3465, + "id": 2957, "name": "VariableDeclaration", - "src": "61745:10:1" + "src": "63499:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77150,19 +77150,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3466, + "id": 2958, "name": "ElementaryTypeName", - "src": "61757:7:1" + "src": "63511:7:0" } ], - "id": 3467, + "id": 2959, "name": "VariableDeclaration", - "src": "61757:15:1" + "src": "63511:15:0" } ], - "id": 3468, + "id": 2960, "name": "ParameterList", - "src": "61744:29:1" + "src": "63498:29:0" }, { "attributes": { @@ -77171,9 +77171,9 @@ ] }, "children": [], - "id": 3469, + "id": 2961, "name": "ParameterList", - "src": "61791:0:1" + "src": "63545:0:0" }, { "children": [ @@ -77203,54 +77203,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 3470, + "id": 2962, "name": "Identifier", - "src": "61801:15:1" + "src": "63556:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3471, + "id": 2963, "name": "Identifier", - "src": "61817:7:1" + "src": "63572:7:0" } ], - "id": 3472, + "id": 2964, "name": "IndexAccess", - "src": "61801:24:1" + "src": "63556:24:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3473, + "id": 2965, "name": "Identifier", - "src": "61828:2:1" + "src": "63583:2:0" } ], - "id": 3474, + "id": 2966, "name": "Assignment", - "src": "61801:29:1" + "src": "63556:29:0" } ], - "id": 3475, + "id": 2967, "name": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "children": [ @@ -77288,13 +77288,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 563, + "referencedDeclaration": 55, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 3476, + "id": 2968, "name": "Identifier", - "src": "61845:8:1" + "src": "63601:8:0" }, { "attributes": { @@ -77324,7 +77324,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -77333,82 +77333,82 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3477, + "id": 2969, "name": "Identifier", - "src": "61854:6:1" + "src": "63610:6:0" } ], - "id": 3478, + "id": 2970, "name": "MemberAccess", - "src": "61854:14:1" + "src": "63610:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3479, + "id": 2971, "name": "Identifier", - "src": "61869:7:1" + "src": "63625:7:0" } ], - "id": 3480, + "id": 2972, "name": "FunctionCall", - "src": "61854:23:1" + "src": "63610:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3481, + "id": 2973, "name": "Identifier", - "src": "61879:2:1" + "src": "63635:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3482, + "id": 2974, "name": "Identifier", - "src": "61883:7:1" + "src": "63639:7:0" } ], - "id": 3483, + "id": 2975, "name": "FunctionCall", - "src": "61845:46:1" + "src": "63601:46:0" } ], - "id": 3484, + "id": 2976, "name": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ], - "id": 3485, + "id": 2977, "name": "Block", - "src": "61791:125:1" + "src": "63545:128:0" } ], - "id": 3486, + "id": 2978, "name": "FunctionDefinition", - "src": "61727:189:1" + "src": "63481:192:0" }, { "attributes": { @@ -77419,7 +77419,7 @@ null ], "name": "_beforeTokenTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77429,9 +77429,9 @@ "attributes": { "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3487, + "id": 2979, "name": "StructuredDocumentation", - "src": "61922:585:1" + "src": "63681:599:0" }, { "children": [ @@ -77440,7 +77440,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77453,21 +77453,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3488, + "id": 2980, "name": "ElementaryTypeName", - "src": "62542:7:1" + "src": "64316:7:0" } ], - "id": 3489, + "id": 2981, "name": "VariableDeclaration", - "src": "62542:12:1" + "src": "64316:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77480,21 +77480,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3490, + "id": 2982, "name": "ElementaryTypeName", - "src": "62556:7:1" + "src": "64330:7:0" } ], - "id": 3491, + "id": 2983, "name": "VariableDeclaration", - "src": "62556:10:1" + "src": "64330:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77506,19 +77506,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3492, + "id": 2984, "name": "ElementaryTypeName", - "src": "62568:7:1" + "src": "64342:7:0" } ], - "id": 3493, + "id": 2985, "name": "VariableDeclaration", - "src": "62568:15:1" + "src": "64342:15:0" } ], - "id": 3494, + "id": 2986, "name": "ParameterList", - "src": "62541:43:1" + "src": "64315:43:0" }, { "attributes": { @@ -77527,9 +77527,9 @@ ] }, "children": [], - "id": 3495, + "id": 2987, "name": "ParameterList", - "src": "62602:0:1" + "src": "64376:0:0" }, { "attributes": { @@ -77538,32 +77538,32 @@ ] }, "children": [], - "id": 3496, + "id": 2988, "name": "Block", - "src": "62602:3:1" + "src": "64376:3:0" } ], - "id": 3497, + "id": 2989, "name": "FunctionDefinition", - "src": "62512:93:1" + "src": "64286:93:0" } ], - "id": 3498, + "id": 2990, "name": "ContractDefinition", - "src": "46080:16527:1" + "src": "47398:16984:0" } ], - "id": 3499, + "id": 2991, "name": "SourceUnit", - "src": "84:62524:1" + "src": "87:64297:0" }, "compiler": { "name": "solc", "version": "0.7.6+commit.7338295f.Emscripten.clang" }, "networks": {}, - "schemaVersion": "3.3.4", - "updatedAt": "2021-03-13T11:18:07.741Z", + "schemaVersion": "3.4.3", + "updatedAt": "2021-10-13T09:55:47.354Z", "devdoc": { "details": "Interface of the ERC165 standard, as defined in the https://eips.ethereum.org/EIPS/eip-165[EIP]. Implementers can declare support of contract interfaces, which can then be queried by others ({ERC165Checker}). For an implementation, see {ERC165}.", "kind": "dev", diff --git a/src/abis/IERC721.json b/src/abis/IERC721.json index 4a7b2c2..9278eca 100644 --- a/src/abis/IERC721.json +++ b/src/abis/IERC721.json @@ -287,7 +287,7 @@ "type": "function" } ], - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"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\":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\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"},{\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"}],\"devdoc\":{\"details\":\"Required interface of an ERC721 compliant contract.\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when `owner` enables `approved` to manage the `tokenId` token.\"},\"ApprovalForAll(address,address,bool)\":{\"details\":\"Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `tokenId` token is transferred from `from` to `to`.\"}},\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":\"IERC721\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":{\"keccak256\":\"0xac9220652f9879c5fb3116025d59e8fbf6c2c3d149aed9f617b88edd31402044\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://48de100723de94a6590c6db5bae5098a93445194389c3f3eeb104c7239ef3044\",\"dweb:/ipfs/QmVHLEtfLqBqX7XQRHfLuuwtufRBFJFHfgY4zbFRpaZwXC\"]}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"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\":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\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"},{\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"}],\"devdoc\":{\"details\":\"Required interface of an ERC721 compliant contract.\",\"events\":{\"Approval(address,address,uint256)\":{\"details\":\"Emitted when `owner` enables `approved` to manage the `tokenId` token.\"},\"ApprovalForAll(address,address,bool)\":{\"details\":\"Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\"},\"Transfer(address,address,uint256)\":{\"details\":\"Emitted when `tokenId` token is transferred from `from` to `to`.\"}},\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/src/contracts/ERC721.sol\":\"IERC721\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/src/contracts/ERC721.sol\":{\"keccak256\":\"0xbbf5d35e3785428d14b29cf40a6a1f82d9275af46f6f80ec5f330615911aa767\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e5479e3deda288fc9c642c0449113673031cb9834a3507621d5bd7e292969e16\",\"dweb:/ipfs/QmcKjBg55emL46LCBPRw1Y79fz3aGiMiQXFeWcDpJisEgJ\"]}},\"version\":1}", "bytecode": "0x", "deployedBytecode": "0x", "immutableReferences": {}, @@ -295,57 +295,57 @@ "deployedGeneratedSources": [], "sourceMap": "", "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: MIT\n\n// File: @openzeppelin/contracts/utils/Context.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/*\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with GSN meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n function _msgSender() internal view virtual returns (address payable) {\n return msg.sender;\n }\n\n function _msgData() internal view virtual returns (bytes memory) {\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\n return msg.data;\n }\n}\n\n// File: @openzeppelin/contracts/introspection/IERC165.sol\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n /**\n * @dev Returns true if this contract implements the interface defined by\n * `interfaceId`. See the corresponding\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n * to learn more about how these ids are created.\n *\n * This function call must use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n /**\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n */\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n */\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n */\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n /**\n * @dev Returns the number of tokens in ``owner``'s account.\n */\n function balanceOf(address owner) external view returns (uint256 balance);\n\n /**\n * @dev Returns the owner of the `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function ownerOf(uint256 tokenId) external view returns (address owner);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Transfers `tokenId` token from `from` to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n * The approval is cleared when the token is transferred.\n *\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n *\n * Requirements:\n *\n * - The caller must own the token or be an approved operator.\n * - `tokenId` must exist.\n *\n * Emits an {Approval} event.\n */\n function approve(address to, uint256 tokenId) external;\n\n /**\n * @dev Returns the account approved for `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function getApproved(uint256 tokenId) external view returns (address operator);\n\n /**\n * @dev Approve or remove `operator` as an operator for the caller.\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n *\n * Requirements:\n *\n * - The `operator` cannot be the caller.\n *\n * Emits an {ApprovalForAll} event.\n */\n function setApprovalForAll(address operator, bool _approved) external;\n\n /**\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n *\n * See {setApprovalForAll}\n */\n function isApprovedForAll(address owner, address operator) external view returns (bool);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n\n /**\n * @dev Returns the token collection name.\n */\n function name() external view returns (string memory);\n\n /**\n * @dev Returns the token collection symbol.\n */\n function symbol() external view returns (string memory);\n\n /**\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n */\n function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\n\n\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Enumerable is IERC721 {\n\n /**\n * @dev Returns the total amount of tokens stored by the contract.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\n\n /**\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n * Use along with {totalSupply} to enumerate all tokens.\n */\n function tokenByIndex(uint256 index) external view returns (uint256);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\n\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC721 asset contracts.\n */\ninterface IERC721Receiver {\n /**\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n * by `operator` from `from`, this function is called.\n *\n * It must return its Solidity selector to confirm the token transfer.\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n *\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\n */\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\n}\n\n// File: @openzeppelin/contracts/introspection/ERC165.sol\npragma solidity >=0.6.0 <0.8.0;\n\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts may inherit from this and call {_registerInterface} to declare\n * their support of an interface.\n */\nabstract contract ERC165 is IERC165 {\n /*\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\n */\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\n\n /**\n * @dev Mapping of interface ids to whether or not it's supported.\n */\n mapping(bytes4 => bool) private _supportedInterfaces;\n\n constructor () {\n // Derived contracts need only register support for their own interfaces,\n // we register support for ERC165 itself here\n _registerInterface(_INTERFACE_ID_ERC165);\n }\n\n /**\n * @dev See {IERC165-supportsInterface}.\n *\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n return _supportedInterfaces[interfaceId];\n }\n\n /**\n * @dev Registers the contract as an implementer of the interface defined by\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\n * registering its interface id is not required.\n *\n * See {IERC165-supportsInterface}.\n *\n * Requirements:\n *\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\n */\n function _registerInterface(bytes4 interfaceId) internal virtual {\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\n _supportedInterfaces[interfaceId] = true;\n }\n}\n\n// File: @openzeppelin/contracts/math/SafeMath.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\n * checks.\n *\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\n * in bugs, because programmers usually assume that an overflow raises an\n * error, which is the standard behavior in high level programming languages.\n * `SafeMath` restores this intuition by reverting the transaction when an\n * operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeMath {\n /**\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n uint256 c = a + b;\n if (c < a) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b > a) return (false, 0);\n return (true, a - b);\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n // benefit is lost if 'b' is also tested.\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n if (a == 0) return (true, 0);\n uint256 c = a * b;\n if (c / a != b) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a / b);\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a % b);\n }\n\n /**\n * @dev Returns the addition of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `+` operator.\n *\n * Requirements:\n *\n * - Addition cannot overflow.\n */\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a + b;\n require(c >= a, \"SafeMath: addition overflow\");\n return c;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting on\n * overflow (when the result is negative).\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b <= a, \"SafeMath: subtraction overflow\");\n return a - b;\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `*` operator.\n *\n * Requirements:\n *\n * - Multiplication cannot overflow.\n */\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) return 0;\n uint256 c = a * b;\n require(c / a == b, \"SafeMath: multiplication overflow\");\n return c;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting on\n * division by zero. The result is rounded towards zero.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: division by zero\");\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting when dividing by zero.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: modulo by zero\");\n return a % b;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n * overflow (when the result is negative).\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {trySub}.\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b <= a, errorMessage);\n return a - b;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\n * division by zero. The result is rounded towards zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryDiv}.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting with custom message when dividing by zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryMod}.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a % b;\n }\n}\n\n// File: @openzeppelin/contracts/utils/Address.sol\npragma solidity >=0.6.2 <0.8.0;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n /**\n * @dev Returns true if `account` is a contract.\n *\n * [IMPORTANT]\n * ====\n * It is unsafe to assume that an address for which this function returns\n * false is an externally-owned account (EOA) and not a contract.\n *\n * Among others, `isContract` will return false for the following\n * types of addresses:\n *\n * - an externally-owned account\n * - a contract in construction\n * - an address where a contract will be created\n * - an address where a contract lived, but was destroyed\n * ====\n */\n function isContract(address account) internal view returns (bool) {\n // This method relies on extcodesize, which returns 0 for contracts in\n // construction, since the code is only stored at the end of the\n // constructor execution.\n\n uint256 size;\n // solhint-disable-next-line no-inline-assembly\n assembly { size := extcodesize(account) }\n return size > 0;\n }\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\n (bool success, ) = recipient.call{ value: amount }(\"\");\n require(success, \"Address: unable to send value, recipient may have reverted\");\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain`call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason, it is bubbled up by this\n * function (like regular Solidity function calls).\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCall(target, data, \"Address: low-level call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n * `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n * with `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\n require(isContract(target), \"Address: call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\n require(isContract(target), \"Address: static call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.staticcall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n require(isContract(target), \"Address: delegate call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.delegatecall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\n if (success) {\n return returndata;\n } else {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n\n // solhint-disable-next-line no-inline-assembly\n assembly {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert(errorMessage);\n }\n }\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n * types.\n *\n * Sets have the following properties:\n *\n * - Elements are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableSet for EnumerableSet.AddressSet;\n *\n * // Declare a set state variable\n * EnumerableSet.AddressSet private mySet;\n * }\n * ```\n *\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n * and `uint256` (`UintSet`) are supported.\n */\nlibrary EnumerableSet {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Set type with\n // bytes32 values.\n // The Set implementation uses private functions, and user-facing\n // implementations (such as AddressSet) are just wrappers around the\n // underlying Set.\n // This means that we can only create new EnumerableSets for types that fit\n // in bytes32.\n\n struct Set {\n // Storage of set values\n bytes32[] _values;\n\n // Position of the value in the `values` array, plus 1 because index 0\n // means a value is not in the set.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function _add(Set storage set, bytes32 value) private returns (bool) {\n if (!_contains(set, value)) {\n set._values.push(value);\n // The value is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n set._indexes[value] = set._values.length;\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function _remove(Set storage set, bytes32 value) private returns (bool) {\n // We read and store the value's index to prevent multiple reads from the same storage slot\n uint256 valueIndex = set._indexes[value];\n\n if (valueIndex != 0) { // Equivalent to contains(set, value)\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\n // the array, and then remove the last element (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = valueIndex - 1;\n uint256 lastIndex = set._values.length - 1;\n\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n bytes32 lastvalue = set._values[lastIndex];\n\n // Move the last value to the index where the value to delete is\n set._values[toDeleteIndex] = lastvalue;\n // Update the index for the moved value\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved value was stored\n set._values.pop();\n\n // Delete the index for the deleted slot\n delete set._indexes[value];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\n return set._indexes[value] != 0;\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function _length(Set storage set) private view returns (uint256) {\n return set._values.length;\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\n return set._values[index];\n }\n\n // Bytes32Set\n\n struct Bytes32Set {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _add(set._inner, value);\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _remove(set._inner, value);\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\n return _contains(set._inner, value);\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(Bytes32Set storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\n return _at(set._inner, index);\n }\n\n // AddressSet\n\n struct AddressSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(AddressSet storage set, address value) internal returns (bool) {\n return _add(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(AddressSet storage set, address value) internal returns (bool) {\n return _remove(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(AddressSet storage set, address value) internal view returns (bool) {\n return _contains(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(AddressSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\n return address(uint160(uint256(_at(set._inner, index))));\n }\n\n\n // UintSet\n\n struct UintSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(UintSet storage set, uint256 value) internal returns (bool) {\n return _add(set._inner, bytes32(value));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\n return _remove(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\n return _contains(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function length(UintSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\n return uint256(_at(set._inner, index));\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing an enumerable variant of Solidity's\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n * type.\n *\n * Maps have the following properties:\n *\n * - Entries are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\n *\n * // Declare a set state variable\n * EnumerableMap.UintToAddressMap private myMap;\n * }\n * ```\n *\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n * supported.\n */\nlibrary EnumerableMap {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Map type with\n // bytes32 keys and values.\n // The Map implementation uses private functions, and user-facing\n // implementations (such as Uint256ToAddressMap) are just wrappers around\n // the underlying Map.\n // This means that we can only create new EnumerableMaps for types that fit\n // in bytes32.\n\n struct MapEntry {\n bytes32 _key;\n bytes32 _value;\n }\n\n struct Map {\n // Storage of map keys and values\n MapEntry[] _entries;\n\n // Position of the entry defined by a key in the `entries` array, plus 1\n // because index 0 means a key is not in the map.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\n map._entries.push(MapEntry({ _key: key, _value: value }));\n // The entry is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n map._indexes[key] = map._entries.length;\n return true;\n } else {\n map._entries[keyIndex - 1]._value = value;\n return false;\n }\n }\n\n /**\n * @dev Removes a key-value pair from a map. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function _remove(Map storage map, bytes32 key) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex != 0) { // Equivalent to contains(map, key)\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = keyIndex - 1;\n uint256 lastIndex = map._entries.length - 1;\n\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n MapEntry storage lastEntry = map._entries[lastIndex];\n\n // Move the last entry to the index where the entry to delete is\n map._entries[toDeleteIndex] = lastEntry;\n // Update the index for the moved entry\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved entry was stored\n map._entries.pop();\n\n // Delete the index for the deleted slot\n delete map._indexes[key];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\n return map._indexes[key] != 0;\n }\n\n /**\n * @dev Returns the number of key-value pairs in the map. O(1).\n */\n function _length(Map storage map) private view returns (uint256) {\n return map._entries.length;\n }\n\n /**\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\n *\n * Note that there are no guarantees on the ordering of entries inside the\n * array, and it may change when more entries are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\n\n MapEntry storage entry = map._entries[index];\n return (entry._key, entry._value);\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n */\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\n uint256 keyIndex = map._indexes[key];\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n /**\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {_tryGet}.\n */\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n // UintToAddressMap\n\n struct UintToAddressMap {\n Map _inner;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\n return _remove(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\n return _contains(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns the number of elements in the map. O(1).\n */\n function length(UintToAddressMap storage map) internal view returns (uint256) {\n return _length(map._inner);\n }\n\n /**\n * @dev Returns the element stored at position `index` in the set. O(1).\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\n (bytes32 key, bytes32 value) = _at(map._inner, index);\n return (uint256(key), address(uint160(uint256(value))));\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n *\n * _Available since v3.4._\n */\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\n return (success, address(uint160(uint256(value))));\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\n }\n\n /**\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryGet}.\n */\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\n }\n}\n\n// File: @openzeppelin/contracts/utils/Strings.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n /**\n * @dev Converts a `uint256` to its ASCII `string` representation.\n */\n function toString(uint256 value) internal pure returns (string memory) {\n // Inspired by OraclizeAPI's implementation - MIT licence\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\n\n if (value == 0) {\n return \"0\";\n }\n uint256 temp = value;\n uint256 digits;\n while (temp != 0) {\n digits++;\n temp /= 10;\n }\n bytes memory buffer = new bytes(digits);\n uint256 index = digits - 1;\n temp = value;\n while (temp != 0) {\n buffer[index--] = bytes1(uint8(48 + temp % 10));\n temp /= 10;\n }\n return string(buffer);\n }\n}\n\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 Non-Fungible Token Standard basic implementation\n * @dev see https://eips.ethereum.org/EIPS/eip-721\n */\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\n using SafeMath for uint256;\n using Address for address;\n using EnumerableSet for EnumerableSet.UintSet;\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n using Strings for uint256;\n\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\n\n // Mapping from holder address to their (enumerable) set of owned tokens\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\n\n // Enumerable mapping from token ids to their owners\n EnumerableMap.UintToAddressMap private _tokenOwners;\n\n // Mapping from token ID to approved address\n mapping (uint256 => address) private _tokenApprovals;\n\n // Mapping from owner to operator approvals\n mapping (address => mapping (address => bool)) private _operatorApprovals;\n\n // Token name\n string private _name;\n\n // Token symbol\n string private _symbol;\n\n // Optional mapping for token URIs\n mapping (uint256 => string) private _tokenURIs;\n\n // Base URI\n string private _baseURI;\n\n /*\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\n *\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\n */\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\n\n /*\n * bytes4(keccak256('name()')) == 0x06fdde03\n * bytes4(keccak256('symbol()')) == 0x95d89b41\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\n *\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\n */\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\n\n /*\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\n *\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\n */\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\n\n /**\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\n */\n constructor (string memory name_, string memory symbol_) {\n _name = name_;\n _symbol = symbol_;\n\n // register the supported interfaces to conform to ERC721 via ERC165\n _registerInterface(_INTERFACE_ID_ERC721);\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\n }\n\n /**\n * @dev See {IERC721-balanceOf}.\n */\n function balanceOf(address owner) public view virtual override returns (uint256) {\n require(owner != address(0), \"ERC721: balance query for the zero address\");\n return _holderTokens[owner].length();\n }\n\n /**\n * @dev See {IERC721-ownerOf}.\n */\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\n }\n\n /**\n * @dev See {IERC721Metadata-name}.\n */\n function name() public view virtual override returns (string memory) {\n return _name;\n }\n\n /**\n * @dev See {IERC721Metadata-symbol}.\n */\n function symbol() public view virtual override returns (string memory) {\n return _symbol;\n }\n\n /**\n * @dev See {IERC721Metadata-tokenURI}.\n */\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\n\n string memory _tokenURI = _tokenURIs[tokenId];\n string memory base = baseURI();\n\n // If there is no base URI, return the token URI.\n if (bytes(base).length == 0) {\n return _tokenURI;\n }\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\n if (bytes(_tokenURI).length > 0) {\n return string(abi.encodePacked(base, _tokenURI));\n }\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\n return string(abi.encodePacked(base, tokenId.toString()));\n }\n\n /**\n * @dev Returns the base URI set via {_setBaseURI}. This will be\n * automatically added as a prefix in {tokenURI} to each token's URI, or\n * to the token ID if no specific URI is set for that token ID.\n */\n function baseURI() public view virtual returns (string memory) {\n return _baseURI;\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\n return _holderTokens[owner].at(index);\n }\n\n /**\n * @dev See {IERC721Enumerable-totalSupply}.\n */\n function totalSupply() public view virtual override returns (uint256) {\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\n return _tokenOwners.length();\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenByIndex}.\n */\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\n (uint256 tokenId, ) = _tokenOwners.at(index);\n return tokenId;\n }\n\n /**\n * @dev See {IERC721-approve}.\n */\n function approve(address to, uint256 tokenId) public virtual override {\n address owner = ERC721.ownerOf(tokenId);\n require(to != owner, \"ERC721: approval to current owner\");\n\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\n \"ERC721: approve caller is not owner nor approved for all\"\n );\n\n _approve(to, tokenId);\n }\n\n /**\n * @dev See {IERC721-getApproved}.\n */\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\n\n return _tokenApprovals[tokenId];\n }\n\n /**\n * @dev See {IERC721-setApprovalForAll}.\n */\n function setApprovalForAll(address operator, bool approved) public virtual override {\n require(operator != _msgSender(), \"ERC721: approve to caller\");\n\n _operatorApprovals[_msgSender()][operator] = approved;\n emit ApprovalForAll(_msgSender(), operator, approved);\n }\n\n /**\n * @dev See {IERC721-isApprovedForAll}.\n */\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\n return _operatorApprovals[owner][operator];\n }\n\n /**\n * @dev See {IERC721-transferFrom}.\n */\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\n //solhint-disable-next-line max-line-length\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n\n _transfer(from, to, tokenId);\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\n safeTransferFrom(from, to, tokenId, \"\");\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n _safeTransfer(from, to, tokenId, _data);\n }\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\n *\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n * implement alternative mechanisms to perform token transfer, such as signature-based.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\n _transfer(from, to, tokenId);\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Returns whether `tokenId` exists.\n *\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n *\n * Tokens start existing when they are minted (`_mint`),\n * and stop existing when they are burned (`_burn`).\n */\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\n return _tokenOwners.contains(tokenId);\n }\n\n /**\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\n address owner = ERC721.ownerOf(tokenId);\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\n }\n\n /**\n * @dev Safely mints `tokenId` and transfers it to `to`.\n *\n * Requirements:\n d*\n * - `tokenId` must not exist.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeMint(address to, uint256 tokenId) internal virtual {\n _safeMint(to, tokenId, \"\");\n }\n\n /**\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n */\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\n _mint(to, tokenId);\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Mints `tokenId` and transfers it to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n *\n * Requirements:\n *\n * - `tokenId` must not exist.\n * - `to` cannot be the zero address.\n *\n * Emits a {Transfer} event.\n */\n function _mint(address to, uint256 tokenId) internal virtual {\n require(to != address(0), \"ERC721: mint to the zero address\");\n require(!_exists(tokenId), \"ERC721: token already minted\");\n\n _beforeTokenTransfer(address(0), to, tokenId);\n\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(address(0), to, tokenId);\n }\n\n /**\n * @dev Destroys `tokenId`.\n * The approval is cleared when the token is burned.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n *\n * Emits a {Transfer} event.\n */\n function _burn(uint256 tokenId) internal virtual {\n address owner = ERC721.ownerOf(tokenId); // internal owner\n\n _beforeTokenTransfer(owner, address(0), tokenId);\n\n // Clear approvals\n _approve(address(0), tokenId);\n\n // Clear metadata (if any)\n if (bytes(_tokenURIs[tokenId]).length != 0) {\n delete _tokenURIs[tokenId];\n }\n\n _holderTokens[owner].remove(tokenId);\n\n _tokenOwners.remove(tokenId);\n\n emit Transfer(owner, address(0), tokenId);\n }\n\n /**\n * @dev Transfers `tokenId` from `from` to `to`.\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n *\n * Requirements:\n *\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n *\n * Emits a {Transfer} event.\n */\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\n require(to != address(0), \"ERC721: transfer to the zero address\");\n\n _beforeTokenTransfer(from, to, tokenId);\n\n // Clear approvals from the previous owner\n _approve(address(0), tokenId);\n\n _holderTokens[from].remove(tokenId);\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(from, to, tokenId);\n }\n\n /**\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\n _tokenURIs[tokenId] = _tokenURI;\n }\n\n /**\n * @dev Internal function to set the base URI for all token IDs. It is\n * automatically added as a prefix to the value returned in {tokenURI},\n * or to the token ID if {tokenURI} is empty.\n */\n function _setBaseURI(string memory baseURI_) internal virtual {\n _baseURI = baseURI_;\n }\n\n /**\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n * The call is not executed if the target address is not a contract.\n *\n * @param from address representing the previous owner of the given token ID\n * @param to target address that will receive the tokens\n * @param tokenId uint256 ID of the token to be transferred\n * @param _data bytes optional data to send along with the call\n * @return bool whether the call correctly returned the expected magic value\n */\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\n private returns (bool)\n {\n if (!to.isContract()) {\n return true;\n }\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\n IERC721Receiver(to).onERC721Received.selector,\n _msgSender(),\n from,\n tokenId,\n _data\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\n bytes4 retval = abi.decode(returndata, (bytes4));\n return (retval == _ERC721_RECEIVED);\n }\n\n /**\n * @dev Approve `to` to operate on `tokenId`\n *\n * Emits an {Approval} event.\n */\n function _approve(address to, uint256 tokenId) internal virtual {\n _tokenApprovals[tokenId] = to;\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\n }\n\n /**\n * @dev Hook that is called before any token transfer. This includes minting\n * and burning.\n *\n * Calling conditions:\n *\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n * transferred to `to`.\n * - When `from` is zero, `tokenId` will be minted for `to`.\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n *\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n */\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\n}\n", - "sourcePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "source": "// SPDX-License-Identifier: MIT\r\n\r\n// File: @openzeppelin/contracts/utils/Context.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/*\r\n * @dev Provides information about the current execution context, including the\r\n * sender of the transaction and its data. While these are generally available\r\n * via msg.sender and msg.data, they should not be accessed in such a direct\r\n * manner, since when dealing with GSN meta-transactions the account sending and\r\n * paying for execution may not be the actual sender (as far as an application\r\n * is concerned).\r\n *\r\n * This contract is only required for intermediate, library-like contracts.\r\n */\r\nabstract contract Context {\r\n function _msgSender() internal view virtual returns (address payable) {\r\n return msg.sender;\r\n }\r\n\r\n function _msgData() internal view virtual returns (bytes memory) {\r\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\r\n return msg.data;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/IERC165.sol\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Interface of the ERC165 standard, as defined in the\r\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\r\n *\r\n * Implementers can declare support of contract interfaces, which can then be\r\n * queried by others ({ERC165Checker}).\r\n *\r\n * For an implementation, see {ERC165}.\r\n */\r\ninterface IERC165 {\r\n /**\r\n * @dev Returns true if this contract implements the interface defined by\r\n * `interfaceId`. See the corresponding\r\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\r\n * to learn more about how these ids are created.\r\n *\r\n * This function call must use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Required interface of an ERC721 compliant contract.\r\n */\r\ninterface IERC721 is IERC165 {\r\n /**\r\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\r\n */\r\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\r\n */\r\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\r\n */\r\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\r\n\r\n /**\r\n * @dev Returns the number of tokens in ``owner``'s account.\r\n */\r\n function balanceOf(address owner) external view returns (uint256 balance);\r\n\r\n /**\r\n * @dev Returns the owner of the `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function ownerOf(uint256 tokenId) external view returns (address owner);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Transfers `tokenId` token from `from` to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\r\n * The approval is cleared when the token is transferred.\r\n *\r\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\r\n *\r\n * Requirements:\r\n *\r\n * - The caller must own the token or be an approved operator.\r\n * - `tokenId` must exist.\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function approve(address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Returns the account approved for `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function getApproved(uint256 tokenId) external view returns (address operator);\r\n\r\n /**\r\n * @dev Approve or remove `operator` as an operator for the caller.\r\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\r\n *\r\n * Requirements:\r\n *\r\n * - The `operator` cannot be the caller.\r\n *\r\n * Emits an {ApprovalForAll} event.\r\n */\r\n function setApprovalForAll(address operator, bool _approved) external;\r\n\r\n /**\r\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\r\n *\r\n * See {setApprovalForAll}\r\n */\r\n function isApprovedForAll(address owner, address operator) external view returns (bool);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Metadata is IERC721 {\r\n\r\n /**\r\n * @dev Returns the token collection name.\r\n */\r\n function name() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the token collection symbol.\r\n */\r\n function symbol() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\r\n */\r\n function tokenURI(uint256 tokenId) external view returns (string memory);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\r\n\r\n\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Enumerable is IERC721 {\r\n\r\n /**\r\n * @dev Returns the total amount of tokens stored by the contract.\r\n */\r\n function totalSupply() external view returns (uint256);\r\n\r\n /**\r\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\r\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\r\n\r\n /**\r\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\r\n * Use along with {totalSupply} to enumerate all tokens.\r\n */\r\n function tokenByIndex(uint256 index) external view returns (uint256);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\r\n\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 token receiver interface\r\n * @dev Interface for any contract that wants to support safeTransfers\r\n * from ERC721 asset contracts.\r\n */\r\ninterface IERC721Receiver {\r\n /**\r\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\r\n * by `operator` from `from`, this function is called.\r\n *\r\n * It must return its Solidity selector to confirm the token transfer.\r\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\r\n *\r\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\r\n */\r\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/ERC165.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Implementation of the {IERC165} interface.\r\n *\r\n * Contracts may inherit from this and call {_registerInterface} to declare\r\n * their support of an interface.\r\n */\r\nabstract contract ERC165 is IERC165 {\r\n /*\r\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\r\n\r\n /**\r\n * @dev Mapping of interface ids to whether or not it's supported.\r\n */\r\n mapping(bytes4 => bool) private _supportedInterfaces;\r\n\r\n constructor () {\r\n // Derived contracts need only register support for their own interfaces,\r\n // we register support for ERC165 itself here\r\n _registerInterface(_INTERFACE_ID_ERC165);\r\n }\r\n\r\n /**\r\n * @dev See {IERC165-supportsInterface}.\r\n *\r\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\r\n return _supportedInterfaces[interfaceId];\r\n }\r\n\r\n /**\r\n * @dev Registers the contract as an implementer of the interface defined by\r\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\r\n * registering its interface id is not required.\r\n *\r\n * See {IERC165-supportsInterface}.\r\n *\r\n * Requirements:\r\n *\r\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\r\n */\r\n function _registerInterface(bytes4 interfaceId) internal virtual {\r\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\r\n _supportedInterfaces[interfaceId] = true;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/math/SafeMath.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\r\n * checks.\r\n *\r\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\r\n * in bugs, because programmers usually assume that an overflow raises an\r\n * error, which is the standard behavior in high level programming languages.\r\n * `SafeMath` restores this intuition by reverting the transaction when an\r\n * operation overflows.\r\n *\r\n * Using this library instead of the unchecked operations eliminates an entire\r\n * class of bugs, so it's recommended to use it always.\r\n */\r\nlibrary SafeMath {\r\n /**\r\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n uint256 c = a + b;\r\n if (c < a) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b > a) return (false, 0);\r\n return (true, a - b);\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\r\n // benefit is lost if 'b' is also tested.\r\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\r\n if (a == 0) return (true, 0);\r\n uint256 c = a * b;\r\n if (c / a != b) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a / b);\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a % b);\r\n }\r\n\r\n /**\r\n * @dev Returns the addition of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `+` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Addition cannot overflow.\r\n */\r\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\r\n uint256 c = a + b;\r\n require(c >= a, \"SafeMath: addition overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting on\r\n * overflow (when the result is negative).\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b <= a, \"SafeMath: subtraction overflow\");\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `*` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Multiplication cannot overflow.\r\n */\r\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\r\n if (a == 0) return 0;\r\n uint256 c = a * b;\r\n require(c / a == b, \"SafeMath: multiplication overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: division by zero\");\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting when dividing by zero.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: modulo by zero\");\r\n return a % b;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\r\n * overflow (when the result is negative).\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {trySub}.\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b <= a, errorMessage);\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryDiv}.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting with custom message when dividing by zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryMod}.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a % b;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Address.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n/**\r\n * @dev Collection of functions related to the address type\r\n */\r\nlibrary Address {\r\n /**\r\n * @dev Returns true if `account` is a contract.\r\n *\r\n * [IMPORTANT]\r\n * ====\r\n * It is unsafe to assume that an address for which this function returns\r\n * false is an externally-owned account (EOA) and not a contract.\r\n *\r\n * Among others, `isContract` will return false for the following\r\n * types of addresses:\r\n *\r\n * - an externally-owned account\r\n * - a contract in construction\r\n * - an address where a contract will be created\r\n * - an address where a contract lived, but was destroyed\r\n * ====\r\n */\r\n function isContract(address account) internal view returns (bool) {\r\n // This method relies on extcodesize, which returns 0 for contracts in\r\n // construction, since the code is only stored at the end of the\r\n // constructor execution.\r\n\r\n uint256 size;\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly { size := extcodesize(account) }\r\n return size > 0;\r\n }\r\n\r\n /**\r\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\r\n * `recipient`, forwarding all available gas and reverting on errors.\r\n *\r\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\r\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\r\n * imposed by `transfer`, making them unable to receive funds via\r\n * `transfer`. {sendValue} removes this limitation.\r\n *\r\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\r\n *\r\n * IMPORTANT: because control is transferred to `recipient`, care must be\r\n * taken to not create reentrancy vulnerabilities. Consider using\r\n * {ReentrancyGuard} or the\r\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\r\n */\r\n function sendValue(address payable recipient, uint256 amount) internal {\r\n require(address(this).balance >= amount, \"Address: insufficient balance\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\r\n (bool success, ) = recipient.call{ value: amount }(\"\");\r\n require(success, \"Address: unable to send value, recipient may have reverted\");\r\n }\r\n\r\n /**\r\n * @dev Performs a Solidity function call using a low level `call`. A\r\n * plain`call` is an unsafe replacement for a function call: use this\r\n * function instead.\r\n *\r\n * If `target` reverts with a revert reason, it is bubbled up by this\r\n * function (like regular Solidity function calls).\r\n *\r\n * Returns the raw returned data. To convert to the expected return value,\r\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\r\n *\r\n * Requirements:\r\n *\r\n * - `target` must be a contract.\r\n * - calling `target` with `data` must not revert.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionCall(target, data, \"Address: low-level call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\r\n * `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, 0, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but also transferring `value` wei to `target`.\r\n *\r\n * Requirements:\r\n *\r\n * - the calling contract must have an ETH balance of at least `value`.\r\n * - the called Solidity function must be `payable`.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\r\n * with `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\r\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\r\n require(isContract(target), \"Address: call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\r\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\r\n require(isContract(target), \"Address: static call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.staticcall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n require(isContract(target), \"Address: delegate call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.delegatecall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\r\n if (success) {\r\n return returndata;\r\n } else {\r\n // Look for revert reason and bubble it up if present\r\n if (returndata.length > 0) {\r\n // The easiest way to bubble the revert reason is using memory via assembly\r\n\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n let returndata_size := mload(returndata)\r\n revert(add(32, returndata), returndata_size)\r\n }\r\n } else {\r\n revert(errorMessage);\r\n }\r\n }\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing\r\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\r\n * types.\r\n *\r\n * Sets have the following properties:\r\n *\r\n * - Elements are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableSet for EnumerableSet.AddressSet;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableSet.AddressSet private mySet;\r\n * }\r\n * ```\r\n *\r\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\r\n * and `uint256` (`UintSet`) are supported.\r\n */\r\nlibrary EnumerableSet {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Set type with\r\n // bytes32 values.\r\n // The Set implementation uses private functions, and user-facing\r\n // implementations (such as AddressSet) are just wrappers around the\r\n // underlying Set.\r\n // This means that we can only create new EnumerableSets for types that fit\r\n // in bytes32.\r\n\r\n struct Set {\r\n // Storage of set values\r\n bytes32[] _values;\r\n\r\n // Position of the value in the `values` array, plus 1 because index 0\r\n // means a value is not in the set.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function _add(Set storage set, bytes32 value) private returns (bool) {\r\n if (!_contains(set, value)) {\r\n set._values.push(value);\r\n // The value is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n set._indexes[value] = set._values.length;\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function _remove(Set storage set, bytes32 value) private returns (bool) {\r\n // We read and store the value's index to prevent multiple reads from the same storage slot\r\n uint256 valueIndex = set._indexes[value];\r\n\r\n if (valueIndex != 0) { // Equivalent to contains(set, value)\r\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\r\n // the array, and then remove the last element (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = valueIndex - 1;\r\n uint256 lastIndex = set._values.length - 1;\r\n\r\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n bytes32 lastvalue = set._values[lastIndex];\r\n\r\n // Move the last value to the index where the value to delete is\r\n set._values[toDeleteIndex] = lastvalue;\r\n // Update the index for the moved value\r\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved value was stored\r\n set._values.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete set._indexes[value];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\r\n return set._indexes[value] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function _length(Set storage set) private view returns (uint256) {\r\n return set._values.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\r\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\r\n return set._values[index];\r\n }\r\n\r\n // Bytes32Set\r\n\r\n struct Bytes32Set {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _add(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _remove(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\r\n return _contains(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(Bytes32Set storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\r\n return _at(set._inner, index);\r\n }\r\n\r\n // AddressSet\r\n\r\n struct AddressSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(AddressSet storage set, address value) internal returns (bool) {\r\n return _add(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(AddressSet storage set, address value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(AddressSet storage set, address value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(AddressSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\r\n return address(uint160(uint256(_at(set._inner, index))));\r\n }\r\n\r\n\r\n // UintSet\r\n\r\n struct UintSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _add(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function length(UintSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\r\n return uint256(_at(set._inner, index));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing an enumerable variant of Solidity's\r\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\r\n * type.\r\n *\r\n * Maps have the following properties:\r\n *\r\n * - Entries are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableMap.UintToAddressMap private myMap;\r\n * }\r\n * ```\r\n *\r\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\r\n * supported.\r\n */\r\nlibrary EnumerableMap {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Map type with\r\n // bytes32 keys and values.\r\n // The Map implementation uses private functions, and user-facing\r\n // implementations (such as Uint256ToAddressMap) are just wrappers around\r\n // the underlying Map.\r\n // This means that we can only create new EnumerableMaps for types that fit\r\n // in bytes32.\r\n\r\n struct MapEntry {\r\n bytes32 _key;\r\n bytes32 _value;\r\n }\r\n\r\n struct Map {\r\n // Storage of map keys and values\r\n MapEntry[] _entries;\r\n\r\n // Position of the entry defined by a key in the `entries` array, plus 1\r\n // because index 0 means a key is not in the map.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\r\n map._entries.push(MapEntry({ _key: key, _value: value }));\r\n // The entry is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n map._indexes[key] = map._entries.length;\r\n return true;\r\n } else {\r\n map._entries[keyIndex - 1]._value = value;\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a key-value pair from a map. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function _remove(Map storage map, bytes32 key) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex != 0) { // Equivalent to contains(map, key)\r\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\r\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = keyIndex - 1;\r\n uint256 lastIndex = map._entries.length - 1;\r\n\r\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n MapEntry storage lastEntry = map._entries[lastIndex];\r\n\r\n // Move the last entry to the index where the entry to delete is\r\n map._entries[toDeleteIndex] = lastEntry;\r\n // Update the index for the moved entry\r\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved entry was stored\r\n map._entries.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete map._indexes[key];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\r\n return map._indexes[key] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of key-value pairs in the map. O(1).\r\n */\r\n function _length(Map storage map) private view returns (uint256) {\r\n return map._entries.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of entries inside the\r\n * array, and it may change when more entries are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\r\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\r\n\r\n MapEntry storage entry = map._entries[index];\r\n return (entry._key, entry._value);\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n */\r\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\r\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {_tryGet}.\r\n */\r\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n // UintToAddressMap\r\n\r\n struct UintToAddressMap {\r\n Map _inner;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\r\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\r\n return _remove(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\r\n return _contains(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of elements in the map. O(1).\r\n */\r\n function length(UintToAddressMap storage map) internal view returns (uint256) {\r\n return _length(map._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the element stored at position `index` in the set. O(1).\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\r\n (bytes32 key, bytes32 value) = _at(map._inner, index);\r\n return (uint256(key), address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\r\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\r\n return (success, address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\r\n }\r\n\r\n /**\r\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryGet}.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Strings.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev String operations.\r\n */\r\nlibrary Strings {\r\n /**\r\n * @dev Converts a `uint256` to its ASCII `string` representation.\r\n */\r\n function toString(uint256 value) internal pure returns (string memory) {\r\n // Inspired by OraclizeAPI's implementation - MIT licence\r\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\r\n\r\n if (value == 0) {\r\n return \"0\";\r\n }\r\n uint256 temp = value;\r\n uint256 digits;\r\n while (temp != 0) {\r\n digits++;\r\n temp /= 10;\r\n }\r\n bytes memory buffer = new bytes(digits);\r\n uint256 index = digits - 1;\r\n temp = value;\r\n while (temp != 0) {\r\n buffer[index--] = bytes1(uint8(48 + temp % 10));\r\n temp /= 10;\r\n }\r\n return string(buffer);\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 Non-Fungible Token Standard basic implementation\r\n * @dev see https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\r\n using SafeMath for uint256;\r\n using Address for address;\r\n using EnumerableSet for EnumerableSet.UintSet;\r\n using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n using Strings for uint256;\r\n\r\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\r\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\r\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\r\n\r\n // Mapping from holder address to their (enumerable) set of owned tokens\r\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\r\n\r\n // Enumerable mapping from token ids to their owners\r\n EnumerableMap.UintToAddressMap private _tokenOwners;\r\n\r\n // Mapping from token ID to approved address\r\n mapping (uint256 => address) private _tokenApprovals;\r\n\r\n // Mapping from owner to operator approvals\r\n mapping (address => mapping (address => bool)) private _operatorApprovals;\r\n\r\n // Token name\r\n string private _name;\r\n\r\n // Token symbol\r\n string private _symbol;\r\n\r\n // Optional mapping for token URIs\r\n mapping (uint256 => string) private _tokenURIs;\r\n\r\n // Base URI\r\n string private _baseURI;\r\n\r\n /*\r\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\r\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\r\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\r\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\r\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\r\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\r\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\r\n *\r\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\r\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\r\n\r\n /*\r\n * bytes4(keccak256('name()')) == 0x06fdde03\r\n * bytes4(keccak256('symbol()')) == 0x95d89b41\r\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\r\n *\r\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\r\n\r\n /*\r\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\r\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\r\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\r\n *\r\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\r\n\r\n /**\r\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\r\n */\r\n constructor (string memory name_, string memory symbol_) {\r\n _name = name_;\r\n _symbol = symbol_;\r\n\r\n // register the supported interfaces to conform to ERC721 via ERC165\r\n _registerInterface(_INTERFACE_ID_ERC721);\r\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\r\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-balanceOf}.\r\n */\r\n function balanceOf(address owner) public view virtual override returns (uint256) {\r\n require(owner != address(0), \"ERC721: balance query for the zero address\");\r\n return _holderTokens[owner].length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-ownerOf}.\r\n */\r\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\r\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-name}.\r\n */\r\n function name() public view virtual override returns (string memory) {\r\n return _name;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-symbol}.\r\n */\r\n function symbol() public view virtual override returns (string memory) {\r\n return _symbol;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-tokenURI}.\r\n */\r\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\r\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\r\n\r\n string memory _tokenURI = _tokenURIs[tokenId];\r\n string memory base = baseURI();\r\n\r\n // If there is no base URI, return the token URI.\r\n if (bytes(base).length == 0) {\r\n return _tokenURI;\r\n }\r\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\r\n if (bytes(_tokenURI).length > 0) {\r\n return string(abi.encodePacked(base, _tokenURI));\r\n }\r\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\r\n return string(abi.encodePacked(base, tokenId.toString()));\r\n }\r\n\r\n /**\r\n * @dev Returns the base URI set via {_setBaseURI}. This will be\r\n * automatically added as a prefix in {tokenURI} to each token's URI, or\r\n * to the token ID if no specific URI is set for that token ID.\r\n */\r\n function baseURI() public view virtual returns (string memory) {\r\n return _baseURI;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\r\n return _holderTokens[owner].at(index);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-totalSupply}.\r\n */\r\n function totalSupply() public view virtual override returns (uint256) {\r\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\r\n return _tokenOwners.length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenByIndex}.\r\n */\r\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\r\n (uint256 tokenId, ) = _tokenOwners.at(index);\r\n return tokenId;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-approve}.\r\n */\r\n function approve(address to, uint256 tokenId) public virtual override {\r\n address owner = ERC721.ownerOf(tokenId);\r\n require(to != owner, \"ERC721: approval to current owner\");\r\n\r\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\r\n \"ERC721: approve caller is not owner nor approved for all\"\r\n );\r\n\r\n _approve(to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-getApproved}.\r\n */\r\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\r\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\r\n\r\n return _tokenApprovals[tokenId];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-setApprovalForAll}.\r\n */\r\n function setApprovalForAll(address operator, bool approved) public virtual override {\r\n require(operator != _msgSender(), \"ERC721: approve to caller\");\r\n\r\n _operatorApprovals[_msgSender()][operator] = approved;\r\n emit ApprovalForAll(_msgSender(), operator, approved);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-isApprovedForAll}.\r\n */\r\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\r\n return _operatorApprovals[owner][operator];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-transferFrom}.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n //solhint-disable-next-line max-line-length\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n\r\n _transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n safeTransferFrom(from, to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n _safeTransfer(from, to, tokenId, _data);\r\n }\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\r\n *\r\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\r\n * implement alternative mechanisms to perform token transfer, such as signature-based.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _transfer(from, to, tokenId);\r\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Returns whether `tokenId` exists.\r\n *\r\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\r\n *\r\n * Tokens start existing when they are minted (`_mint`),\r\n * and stop existing when they are burned (`_burn`).\r\n */\r\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\r\n return _tokenOwners.contains(tokenId);\r\n }\r\n\r\n /**\r\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\r\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\r\n address owner = ERC721.ownerOf(tokenId);\r\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\r\n }\r\n\r\n /**\r\n * @dev Safely mints `tokenId` and transfers it to `to`.\r\n *\r\n * Requirements:\r\n d*\r\n * - `tokenId` must not exist.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeMint(address to, uint256 tokenId) internal virtual {\r\n _safeMint(to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\r\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\r\n */\r\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _mint(to, tokenId);\r\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Mints `tokenId` and transfers it to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must not exist.\r\n * - `to` cannot be the zero address.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _mint(address to, uint256 tokenId) internal virtual {\r\n require(to != address(0), \"ERC721: mint to the zero address\");\r\n require(!_exists(tokenId), \"ERC721: token already minted\");\r\n\r\n _beforeTokenTransfer(address(0), to, tokenId);\r\n\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(address(0), to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Destroys `tokenId`.\r\n * The approval is cleared when the token is burned.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _burn(uint256 tokenId) internal virtual {\r\n address owner = ERC721.ownerOf(tokenId); // internal owner\r\n\r\n _beforeTokenTransfer(owner, address(0), tokenId);\r\n\r\n // Clear approvals\r\n _approve(address(0), tokenId);\r\n\r\n // Clear metadata (if any)\r\n if (bytes(_tokenURIs[tokenId]).length != 0) {\r\n delete _tokenURIs[tokenId];\r\n }\r\n\r\n _holderTokens[owner].remove(tokenId);\r\n\r\n _tokenOwners.remove(tokenId);\r\n\r\n emit Transfer(owner, address(0), tokenId);\r\n }\r\n\r\n /**\r\n * @dev Transfers `tokenId` from `from` to `to`.\r\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\r\n *\r\n * Requirements:\r\n *\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\r\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\r\n require(to != address(0), \"ERC721: transfer to the zero address\");\r\n\r\n _beforeTokenTransfer(from, to, tokenId);\r\n\r\n // Clear approvals from the previous owner\r\n _approve(address(0), tokenId);\r\n\r\n _holderTokens[from].remove(tokenId);\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\r\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\r\n _tokenURIs[tokenId] = _tokenURI;\r\n }\r\n\r\n /**\r\n * @dev Internal function to set the base URI for all token IDs. It is\r\n * automatically added as a prefix to the value returned in {tokenURI},\r\n * or to the token ID if {tokenURI} is empty.\r\n */\r\n function _setBaseURI(string memory baseURI_) internal virtual {\r\n _baseURI = baseURI_;\r\n }\r\n\r\n /**\r\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\r\n * The call is not executed if the target address is not a contract.\r\n *\r\n * @param from address representing the previous owner of the given token ID\r\n * @param to target address that will receive the tokens\r\n * @param tokenId uint256 ID of the token to be transferred\r\n * @param _data bytes optional data to send along with the call\r\n * @return bool whether the call correctly returned the expected magic value\r\n */\r\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\r\n private returns (bool)\r\n {\r\n if (!to.isContract()) {\r\n return true;\r\n }\r\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\r\n IERC721Receiver(to).onERC721Received.selector,\r\n _msgSender(),\r\n from,\r\n tokenId,\r\n _data\r\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n bytes4 retval = abi.decode(returndata, (bytes4));\r\n return (retval == _ERC721_RECEIVED);\r\n }\r\n\r\n /**\r\n * @dev Approve `to` to operate on `tokenId`\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function _approve(address to, uint256 tokenId) internal virtual {\r\n _tokenApprovals[tokenId] = to;\r\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\r\n }\r\n\r\n /**\r\n * @dev Hook that is called before any token transfer. This includes minting\r\n * and burning.\r\n *\r\n * Calling conditions:\r\n *\r\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\r\n * transferred to `to`.\r\n * - When `from` is zero, `tokenId` will be minted for `to`.\r\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n *\r\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\r\n */\r\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\r\n}\r\n", + "sourcePath": "C:\\Users\\Noahm\\cryptoboys-nft-marketplace\\src\\contracts\\ERC721.sol", "ast": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, - "id": 3499, + "id": 2991, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 509, + "id": 1, "literals": [ "solidity", ">=", @@ -356,7 +356,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "abstract": true, @@ -364,77 +364,77 @@ "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, - "id": 530, + "id": 22, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 517, + "id": 9, "nodeType": "Block", - "src": "719:34:1", + "src": "735:36:0", "statements": [ { "expression": { "expression": { - "id": 514, + "id": 6, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "736:3:1", + "src": "753:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 515, + "id": 7, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "736:10:1", + "src": "753:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 513, - "id": 516, + "functionReturnParameters": 5, + "id": 8, "nodeType": "Return", - "src": "729:17:1" + "src": "746:17:0" } ] }, - "id": 518, + "id": 10, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgSender", "nodeType": "FunctionDefinition", "parameters": { - "id": 510, + "id": 2, "nodeType": "ParameterList", "parameters": [], - "src": "668:2:1" + "src": "684:2:0" }, "returnParameters": { - "id": 513, + "id": 5, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 512, + "id": 4, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 518, - "src": "702:15:1", + "scope": 10, + "src": "718:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -442,10 +442,10 @@ "typeString": "address payable" }, "typeName": { - "id": 511, + "id": 3, "name": "address", "nodeType": "ElementaryTypeName", - "src": "702:15:1", + "src": "718:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -455,95 +455,95 @@ "visibility": "internal" } ], - "src": "701:17:1" + "src": "717:17:0" }, - "scope": 530, - "src": "649:104:1", + "scope": 22, + "src": "665:106:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 528, + "id": 20, "nodeType": "Block", - "src": "824:165:1", + "src": "844:168:0", "statements": [ { "expression": { - "id": 523, + "id": 15, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "834:4:1", + "src": "855:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 524, + "id": 16, "nodeType": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "expression": { "expression": { - "id": 525, + "id": 17, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "974:3:1", + "src": "996:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 526, + "id": 18, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "data", "nodeType": "MemberAccess", - "src": "974:8:1", + "src": "996:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" } }, - "functionReturnParameters": 522, - "id": 527, + "functionReturnParameters": 14, + "id": 19, "nodeType": "Return", - "src": "967:15:1" + "src": "989:15:0" } ] }, - "id": 529, + "id": 21, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgData", "nodeType": "FunctionDefinition", "parameters": { - "id": 519, + "id": 11, "nodeType": "ParameterList", "parameters": [], - "src": "776:2:1" + "src": "796:2:0" }, "returnParameters": { - "id": 522, + "id": 14, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 521, + "id": 13, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 529, - "src": "810:12:1", + "scope": 21, + "src": "830:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -551,10 +551,10 @@ "typeString": "bytes" }, "typeName": { - "id": 520, + "id": 12, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "810:5:1", + "src": "830:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -563,20 +563,20 @@ "visibility": "internal" } ], - "src": "809:14:1" + "src": "829:14:0" }, - "scope": 530, - "src": "759:230:1", + "scope": 22, + "src": "779:233:0", "stateMutability": "view", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "617:374:1" + "scope": 2991, + "src": "632:383:0" }, { - "id": 531, + "id": 23, "literals": [ "solidity", ">=", @@ -587,7 +587,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "abstract": false, @@ -595,45 +595,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 532, + "id": 24, "nodeType": "StructuredDocumentation", - "src": "1086:279:1", + "src": "1116:287:0", "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, "fullyImplemented": false, - "id": 541, + "id": 33, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 533, + "id": 25, "nodeType": "StructuredDocumentation", - "src": "1390:340:1", + "src": "1430:347:0", "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 540, + "id": 32, "implemented": false, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 536, + "id": 28, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 535, + "id": 27, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1762:18:1", + "scope": 32, + "src": "1810:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -641,10 +641,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 534, + "id": 26, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "1762:6:1", + "src": "1810:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -653,20 +653,20 @@ "visibility": "internal" } ], - "src": "1761:20:1" + "src": "1809:20:0" }, "returnParameters": { - "id": 539, + "id": 31, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 538, + "id": 30, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1805:4:1", + "scope": 32, + "src": "1853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -674,10 +674,10 @@ "typeString": "bool" }, "typeName": { - "id": 537, + "id": 29, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1805:4:1", + "src": "1853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -686,20 +686,20 @@ "visibility": "internal" } ], - "src": "1804:6:1" + "src": "1852:6:0" }, - "scope": 541, - "src": "1735:76:1", + "scope": 33, + "src": "1783:76:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1366:447:1" + "scope": 2991, + "src": "1405:457:0" }, { - "id": 542, + "id": 34, "literals": [ "solidity", ">=", @@ -710,43 +710,43 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 544, + "id": 36, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "1996:7:1", + "referencedDeclaration": 33, + "src": "2054:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 545, + "id": 37, "nodeType": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "documentation": { - "id": 543, + "id": 35, "nodeType": "StructuredDocumentation", - "src": "1907:67:1", + "src": "1962:69:0", "text": " @dev Required interface of an ERC721 compliant contract." }, "fullyImplemented": false, - "id": 655, + "id": 147, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", "nodeType": "ContractDefinition", @@ -754,27 +754,27 @@ { "anonymous": false, "documentation": { - "id": 546, + "id": 38, "nodeType": "StructuredDocumentation", - "src": "2010:88:1", + "src": "2069:90:0", "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 554, + "id": 46, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { - "id": 553, + "id": 45, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 548, + "id": 40, "indexed": true, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2118:20:1", + "scope": 46, + "src": "2180:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -782,10 +782,10 @@ "typeString": "address" }, "typeName": { - "id": 547, + "id": 39, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2118:7:1", + "src": "2180:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -796,13 +796,13 @@ }, { "constant": false, - "id": 550, + "id": 42, "indexed": true, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2140:18:1", + "scope": 46, + "src": "2202:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -810,10 +810,10 @@ "typeString": "address" }, "typeName": { - "id": 549, + "id": 41, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2140:7:1", + "src": "2202:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -824,13 +824,13 @@ }, { "constant": false, - "id": 552, + "id": 44, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2160:23:1", + "scope": 46, + "src": "2222:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -838,10 +838,10 @@ "typeString": "uint256" }, "typeName": { - "id": 551, + "id": 43, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2160:7:1", + "src": "2222:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -850,34 +850,34 @@ "visibility": "internal" } ], - "src": "2117:67:1" + "src": "2179:67:0" }, - "src": "2103:82:1" + "src": "2165:82:0" }, { "anonymous": false, "documentation": { - "id": 555, + "id": 47, "nodeType": "StructuredDocumentation", - "src": "2191:94:1", + "src": "2255:96:0", "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 563, + "id": 55, "name": "Approval", "nodeType": "EventDefinition", "parameters": { - "id": 562, + "id": 54, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 557, + "id": 49, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2305:21:1", + "scope": 55, + "src": "2372:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -885,10 +885,10 @@ "typeString": "address" }, "typeName": { - "id": 556, + "id": 48, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2305:7:1", + "src": "2372:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -899,13 +899,13 @@ }, { "constant": false, - "id": 559, + "id": 51, "indexed": true, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2328:24:1", + "scope": 55, + "src": "2395:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -913,10 +913,10 @@ "typeString": "address" }, "typeName": { - "id": 558, + "id": 50, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2328:7:1", + "src": "2395:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -927,13 +927,13 @@ }, { "constant": false, - "id": 561, + "id": 53, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2354:23:1", + "scope": 55, + "src": "2421:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -941,10 +941,10 @@ "typeString": "uint256" }, "typeName": { - "id": 560, + "id": 52, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2354:7:1", + "src": "2421:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -953,34 +953,34 @@ "visibility": "internal" } ], - "src": "2304:74:1" + "src": "2371:74:0" }, - "src": "2290:89:1" + "src": "2357:89:0" }, { "anonymous": false, "documentation": { - "id": 564, + "id": 56, "nodeType": "StructuredDocumentation", - "src": "2385:117:1", + "src": "2454:119:0", "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 572, + "id": 64, "name": "ApprovalForAll", "nodeType": "EventDefinition", "parameters": { - "id": 571, + "id": 63, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 566, + "id": 58, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2528:21:1", + "scope": 64, + "src": "2600:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -988,10 +988,10 @@ "typeString": "address" }, "typeName": { - "id": 565, + "id": 57, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2528:7:1", + "src": "2600:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1002,13 +1002,13 @@ }, { "constant": false, - "id": 568, + "id": 60, "indexed": true, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2551:24:1", + "scope": 64, + "src": "2623:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1016,10 +1016,10 @@ "typeString": "address" }, "typeName": { - "id": 567, + "id": 59, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2551:7:1", + "src": "2623:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1030,13 +1030,13 @@ }, { "constant": false, - "id": 570, + "id": 62, "indexed": false, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2577:13:1", + "scope": 64, + "src": "2649:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1044,10 +1044,10 @@ "typeString": "bool" }, "typeName": { - "id": 569, + "id": 61, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2577:4:1", + "src": "2649:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1056,36 +1056,36 @@ "visibility": "internal" } ], - "src": "2527:64:1" + "src": "2599:64:0" }, - "src": "2507:85:1" + "src": "2579:85:0" }, { "documentation": { - "id": 573, + "id": 65, "nodeType": "StructuredDocumentation", - "src": "2598:76:1", + "src": "2672:78:0", "text": " @dev Returns the number of tokens in ``owner``'s account." }, "functionSelector": "70a08231", - "id": 580, + "id": 72, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 576, + "id": 68, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 575, + "id": 67, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2698:13:1", + "scope": 72, + "src": "2775:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1093,10 +1093,10 @@ "typeString": "address" }, "typeName": { - "id": 574, + "id": 66, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2698:7:1", + "src": "2775:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1106,20 +1106,20 @@ "visibility": "internal" } ], - "src": "2697:15:1" + "src": "2774:15:0" }, "returnParameters": { - "id": 579, + "id": 71, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 578, + "id": 70, "mutability": "mutable", "name": "balance", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2736:15:1", + "scope": 72, + "src": "2813:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1127,10 +1127,10 @@ "typeString": "uint256" }, "typeName": { - "id": 577, + "id": 69, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2736:7:1", + "src": "2813:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1139,40 +1139,40 @@ "visibility": "internal" } ], - "src": "2735:17:1" + "src": "2812:17:0" }, - "scope": 655, - "src": "2679:74:1", + "scope": 147, + "src": "2756:74:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 581, + "id": 73, "nodeType": "StructuredDocumentation", - "src": "2759:131:1", + "src": "2838:137:0", "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "6352211e", - "id": 588, + "id": 80, "implemented": false, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 584, + "id": 76, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 583, + "id": 75, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2912:15:1", + "scope": 80, + "src": "2998:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1180,10 +1180,10 @@ "typeString": "uint256" }, "typeName": { - "id": 582, + "id": 74, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2912:7:1", + "src": "2998:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1192,20 +1192,20 @@ "visibility": "internal" } ], - "src": "2911:17:1" + "src": "2997:17:0" }, "returnParameters": { - "id": 587, + "id": 79, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 586, + "id": 78, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2952:13:1", + "scope": 80, + "src": "3038:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1213,10 +1213,10 @@ "typeString": "address" }, "typeName": { - "id": 585, + "id": 77, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2952:7:1", + "src": "3038:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1226,40 +1226,40 @@ "visibility": "internal" } ], - "src": "2951:15:1" + "src": "3037:15:0" }, - "scope": 655, - "src": "2895:72:1", + "scope": 147, + "src": "2981:72:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 589, + "id": 81, "nodeType": "StructuredDocumentation", - "src": "2973:690:1", + "src": "3061:703:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "42842e0e", - "id": 598, + "id": 90, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 596, + "id": 88, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 591, + "id": 83, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3694:12:1", + "scope": 90, + "src": "3796:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1267,10 +1267,10 @@ "typeString": "address" }, "typeName": { - "id": 590, + "id": 82, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3694:7:1", + "src": "3796:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1281,12 +1281,12 @@ }, { "constant": false, - "id": 593, + "id": 85, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3708:10:1", + "scope": 90, + "src": "3810:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1294,10 +1294,10 @@ "typeString": "address" }, "typeName": { - "id": 592, + "id": 84, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3708:7:1", + "src": "3810:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1308,12 +1308,12 @@ }, { "constant": false, - "id": 595, + "id": 87, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3720:15:1", + "scope": 90, + "src": "3822:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1321,10 +1321,10 @@ "typeString": "uint256" }, "typeName": { - "id": 594, + "id": 86, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3720:7:1", + "src": "3822:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1333,46 +1333,46 @@ "visibility": "internal" } ], - "src": "3693:43:1" + "src": "3795:43:0" }, "returnParameters": { - "id": 597, + "id": 89, "nodeType": "ParameterList", "parameters": [], - "src": "3745:0:1" + "src": "3847:0:0" }, - "scope": 655, - "src": "3668:78:1", + "scope": 147, + "src": "3770:78:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 599, + "id": 91, "nodeType": "StructuredDocumentation", - "src": "3752:504:1", + "src": "3856:517:0", "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, "functionSelector": "23b872dd", - "id": 608, + "id": 100, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 606, + "id": 98, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 601, + "id": 93, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4283:12:1", + "scope": 100, + "src": "4401:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1380,10 +1380,10 @@ "typeString": "address" }, "typeName": { - "id": 600, + "id": 92, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4283:7:1", + "src": "4401:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1394,12 +1394,12 @@ }, { "constant": false, - "id": 603, + "id": 95, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4297:10:1", + "scope": 100, + "src": "4415:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1407,10 +1407,10 @@ "typeString": "address" }, "typeName": { - "id": 602, + "id": 94, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4297:7:1", + "src": "4415:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1421,12 +1421,12 @@ }, { "constant": false, - "id": 605, + "id": 97, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4309:15:1", + "scope": 100, + "src": "4427:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1434,10 +1434,10 @@ "typeString": "uint256" }, "typeName": { - "id": 604, + "id": 96, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4309:7:1", + "src": "4427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1446,46 +1446,46 @@ "visibility": "internal" } ], - "src": "4282:43:1" + "src": "4400:43:0" }, "returnParameters": { - "id": 607, + "id": 99, "nodeType": "ParameterList", "parameters": [], - "src": "4334:0:1" + "src": "4452:0:0" }, - "scope": 655, - "src": "4261:74:1", + "scope": 147, + "src": "4379:74:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 609, + "id": 101, "nodeType": "StructuredDocumentation", - "src": "4341:452:1", + "src": "4461:464:0", "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, "functionSelector": "095ea7b3", - "id": 616, + "id": 108, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 614, + "id": 106, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 611, + "id": 103, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4815:10:1", + "scope": 108, + "src": "4948:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1493,10 +1493,10 @@ "typeString": "address" }, "typeName": { - "id": 610, + "id": 102, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4815:7:1", + "src": "4948:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1507,12 +1507,12 @@ }, { "constant": false, - "id": 613, + "id": 105, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4827:15:1", + "scope": 108, + "src": "4960:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1520,10 +1520,10 @@ "typeString": "uint256" }, "typeName": { - "id": 612, + "id": 104, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4827:7:1", + "src": "4960:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1532,46 +1532,46 @@ "visibility": "internal" } ], - "src": "4814:29:1" + "src": "4947:29:0" }, "returnParameters": { - "id": 615, + "id": 107, "nodeType": "ParameterList", "parameters": [], - "src": "4852:0:1" + "src": "4985:0:0" }, - "scope": 655, - "src": "4798:55:1", + "scope": 147, + "src": "4931:55:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 617, + "id": 109, "nodeType": "StructuredDocumentation", - "src": "4859:139:1", + "src": "4994:145:0", "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "081812fc", - "id": 624, + "id": 116, "implemented": false, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "parameters": { - "id": 620, + "id": 112, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 619, + "id": 111, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5024:15:1", + "scope": 116, + "src": "5166:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1579,10 +1579,10 @@ "typeString": "uint256" }, "typeName": { - "id": 618, + "id": 110, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5024:7:1", + "src": "5166:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1591,20 +1591,20 @@ "visibility": "internal" } ], - "src": "5023:17:1" + "src": "5165:17:0" }, "returnParameters": { - "id": 623, + "id": 115, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 622, + "id": 114, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5064:16:1", + "scope": 116, + "src": "5206:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1612,10 +1612,10 @@ "typeString": "address" }, "typeName": { - "id": 621, + "id": 113, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5064:7:1", + "src": "5206:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1625,40 +1625,40 @@ "visibility": "internal" } ], - "src": "5063:18:1" + "src": "5205:18:0" }, - "scope": 655, - "src": "5003:79:1", + "scope": 147, + "src": "5145:79:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 625, + "id": 117, "nodeType": "StructuredDocumentation", - "src": "5088:309:1", + "src": "5232:318:0", "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, "functionSelector": "a22cb465", - "id": 632, + "id": 124, "implemented": false, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 630, + "id": 122, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 627, + "id": 119, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5429:16:1", + "scope": 124, + "src": "5583:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1666,10 +1666,10 @@ "typeString": "address" }, "typeName": { - "id": 626, + "id": 118, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5429:7:1", + "src": "5583:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1680,12 +1680,12 @@ }, { "constant": false, - "id": 629, + "id": 121, "mutability": "mutable", "name": "_approved", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5447:14:1", + "scope": 124, + "src": "5601:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1693,10 +1693,10 @@ "typeString": "bool" }, "typeName": { - "id": 628, + "id": 120, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5447:4:1", + "src": "5601:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1705,46 +1705,46 @@ "visibility": "internal" } ], - "src": "5428:34:1" + "src": "5582:34:0" }, "returnParameters": { - "id": 631, + "id": 123, "nodeType": "ParameterList", "parameters": [], - "src": "5471:0:1" + "src": "5625:0:0" }, - "scope": 655, - "src": "5402:70:1", + "scope": 147, + "src": "5556:70:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 633, + "id": 125, "nodeType": "StructuredDocumentation", - "src": "5478:138:1", + "src": "5634:142:0", "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, "functionSelector": "e985e9c5", - "id": 642, + "id": 134, "implemented": false, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 638, + "id": 130, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 635, + "id": 127, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5647:13:1", + "scope": 134, + "src": "5808:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1752,10 +1752,10 @@ "typeString": "address" }, "typeName": { - "id": 634, + "id": 126, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5647:7:1", + "src": "5808:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1766,12 +1766,12 @@ }, { "constant": false, - "id": 637, + "id": 129, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5662:16:1", + "scope": 134, + "src": "5823:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1779,10 +1779,10 @@ "typeString": "address" }, "typeName": { - "id": 636, + "id": 128, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5662:7:1", + "src": "5823:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1792,20 +1792,20 @@ "visibility": "internal" } ], - "src": "5646:33:1" + "src": "5807:33:0" }, "returnParameters": { - "id": 641, + "id": 133, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 640, + "id": 132, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5703:4:1", + "scope": 134, + "src": "5864:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1813,10 +1813,10 @@ "typeString": "bool" }, "typeName": { - "id": 639, + "id": 131, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5703:4:1", + "src": "5864:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1825,40 +1825,40 @@ "visibility": "internal" } ], - "src": "5702:6:1" + "src": "5863:6:0" }, - "scope": 655, - "src": "5621:88:1", + "scope": 147, + "src": "5782:88:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 643, + "id": 135, "nodeType": "StructuredDocumentation", - "src": "5715:568:1", + "src": "5878:580:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "b88d4fde", - "id": 654, + "id": 146, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 652, + "id": 144, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 645, + "id": 137, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6314:12:1", + "scope": 146, + "src": "6490:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1866,10 +1866,10 @@ "typeString": "address" }, "typeName": { - "id": 644, + "id": 136, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6314:7:1", + "src": "6490:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1880,12 +1880,12 @@ }, { "constant": false, - "id": 647, + "id": 139, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6328:10:1", + "scope": 146, + "src": "6504:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1893,10 +1893,10 @@ "typeString": "address" }, "typeName": { - "id": 646, + "id": 138, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6328:7:1", + "src": "6504:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1907,12 +1907,12 @@ }, { "constant": false, - "id": 649, + "id": 141, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6340:15:1", + "scope": 146, + "src": "6516:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1920,10 +1920,10 @@ "typeString": "uint256" }, "typeName": { - "id": 648, + "id": 140, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6340:7:1", + "src": "6516:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1933,12 +1933,12 @@ }, { "constant": false, - "id": 651, + "id": 143, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6357:19:1", + "scope": 146, + "src": "6533:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -1946,10 +1946,10 @@ "typeString": "bytes" }, "typeName": { - "id": 650, + "id": 142, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6357:5:1", + "src": "6533:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -1958,26 +1958,26 @@ "visibility": "internal" } ], - "src": "6313:64:1" + "src": "6489:64:0" }, "returnParameters": { - "id": 653, + "id": 145, "nodeType": "ParameterList", "parameters": [], - "src": "6386:0:1" + "src": "6562:0:0" }, - "scope": 655, - "src": "6288:99:1", + "scope": 147, + "src": "6464:99:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1975:4414:1" + "scope": 2991, + "src": "2033:4533:0" }, { - "id": 656, + "id": 148, "literals": [ "solidity", ">=", @@ -1988,81 +1988,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 658, + "id": 150, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "6654:7:1", + "referencedDeclaration": 147, + "src": "6841:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 659, + "id": 151, "nodeType": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 657, + "id": 149, "nodeType": "StructuredDocumentation", - "src": "6491:133:1", + "src": "6674:136:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 680, + "id": 172, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 660, + "id": 152, "nodeType": "StructuredDocumentation", - "src": "6669:58:1", + "src": "6858:60:0", "text": " @dev Returns the token collection name." }, "functionSelector": "06fdde03", - "id": 665, + "id": 157, "implemented": false, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "parameters": { - "id": 661, + "id": 153, "nodeType": "ParameterList", "parameters": [], - "src": "6745:2:1" + "src": "6937:2:0" }, "returnParameters": { - "id": 664, + "id": 156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 663, + "id": 155, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 665, - "src": "6771:13:1", + "scope": 157, + "src": "6963:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2070,10 +2070,10 @@ "typeString": "string" }, "typeName": { - "id": 662, + "id": 154, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6771:6:1", + "src": "6963:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -2082,46 +2082,46 @@ "visibility": "internal" } ], - "src": "6770:15:1" + "src": "6962:15:0" }, - "scope": 680, - "src": "6732:54:1", + "scope": 172, + "src": "6924:54:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 666, + "id": 158, "nodeType": "StructuredDocumentation", - "src": "6792:60:1", + "src": "6986:62:0", "text": " @dev Returns the token collection symbol." }, "functionSelector": "95d89b41", - "id": 671, + "id": 163, "implemented": false, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "parameters": { - "id": 667, + "id": 159, "nodeType": "ParameterList", "parameters": [], - "src": "6872:2:1" + "src": "7069:2:0" }, "returnParameters": { - "id": 670, + "id": 162, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 669, + "id": 161, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 671, - "src": "6898:13:1", + "scope": 163, + "src": "7095:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2129,10 +2129,10 @@ "typeString": "string" }, "typeName": { - "id": 668, + "id": 160, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6898:6:1", + "src": "7095:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -2141,40 +2141,40 @@ "visibility": "internal" } ], - "src": "6897:15:1" + "src": "7094:15:0" }, - "scope": 680, - "src": "6857:56:1", + "scope": 172, + "src": "7054:56:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 672, + "id": 164, "nodeType": "StructuredDocumentation", - "src": "6919:90:1", + "src": "7118:92:0", "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, "functionSelector": "c87b56dd", - "id": 679, + "id": 171, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 675, + "id": 167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 674, + "id": 166, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7032:15:1", + "scope": 171, + "src": "7234:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2182,10 +2182,10 @@ "typeString": "uint256" }, "typeName": { - "id": 673, + "id": 165, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7032:7:1", + "src": "7234:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2194,20 +2194,20 @@ "visibility": "internal" } ], - "src": "7031:17:1" + "src": "7233:17:0" }, "returnParameters": { - "id": 678, + "id": 170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 677, + "id": 169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7072:13:1", + "scope": 171, + "src": "7274:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2215,10 +2215,10 @@ "typeString": "string" }, "typeName": { - "id": 676, + "id": 168, "name": "string", "nodeType": "ElementaryTypeName", - "src": "7072:6:1", + "src": "7274:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -2227,20 +2227,20 @@ "visibility": "internal" } ], - "src": "7071:15:1" + "src": "7273:15:0" }, - "scope": 680, - "src": "7014:73:1", + "scope": 172, + "src": "7216:73:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "6625:464:1" + "scope": 2991, + "src": "6812:480:0" }, { - "id": 681, + "id": 173, "literals": [ "solidity", ">=", @@ -2251,81 +2251,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 683, + "id": 175, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "7363:7:1", + "referencedDeclaration": 147, + "src": "7578:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 684, + "id": 176, "nodeType": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 682, + "id": 174, "nodeType": "StructuredDocumentation", - "src": "7195:136:1", + "src": "7406:139:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 709, + "id": 201, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 685, + "id": 177, "nodeType": "StructuredDocumentation", - "src": "7378:82:1", + "src": "7595:84:0", "text": " @dev Returns the total amount of tokens stored by the contract." }, "functionSelector": "18160ddd", - "id": 690, + "id": 182, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { - "id": 686, + "id": 178, "nodeType": "ParameterList", "parameters": [], - "src": "7485:2:1" + "src": "7705:2:0" }, "returnParameters": { - "id": 689, + "id": 181, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 688, + "id": 180, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 690, - "src": "7511:7:1", + "scope": 182, + "src": "7731:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2333,10 +2333,10 @@ "typeString": "uint256" }, "typeName": { - "id": 687, + "id": 179, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7511:7:1", + "src": "7731:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2345,40 +2345,40 @@ "visibility": "internal" } ], - "src": "7510:9:1" + "src": "7730:9:0" }, - "scope": 709, - "src": "7465:55:1", + "scope": 201, + "src": "7685:55:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 691, + "id": 183, "nodeType": "StructuredDocumentation", - "src": "7526:171:1", + "src": "7748:174:0", "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, "functionSelector": "2f745c59", - "id": 700, + "id": 192, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 696, + "id": 188, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 693, + "id": 185, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7731:13:1", + "scope": 192, + "src": "7957:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2386,10 +2386,10 @@ "typeString": "address" }, "typeName": { - "id": 692, + "id": 184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7731:7:1", + "src": "7957:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2400,12 +2400,12 @@ }, { "constant": false, - "id": 695, + "id": 187, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7746:13:1", + "scope": 192, + "src": "7972:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2413,10 +2413,10 @@ "typeString": "uint256" }, "typeName": { - "id": 694, + "id": 186, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7746:7:1", + "src": "7972:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2425,20 +2425,20 @@ "visibility": "internal" } ], - "src": "7730:30:1" + "src": "7956:30:0" }, "returnParameters": { - "id": 699, + "id": 191, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 698, + "id": 190, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7784:15:1", + "scope": 192, + "src": "8010:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2446,10 +2446,10 @@ "typeString": "uint256" }, "typeName": { - "id": 697, + "id": 189, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7784:7:1", + "src": "8010:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2458,40 +2458,40 @@ "visibility": "internal" } ], - "src": "7783:17:1" + "src": "8009:17:0" }, - "scope": 709, - "src": "7702:99:1", + "scope": 201, + "src": "7928:99:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 701, + "id": 193, "nodeType": "StructuredDocumentation", - "src": "7807:164:1", + "src": "8035:167:0", "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, "functionSelector": "4f6ccce7", - "id": 708, + "id": 200, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 704, + "id": 196, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 703, + "id": 195, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "7998:13:1", + "scope": 200, + "src": "8230:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2499,10 +2499,10 @@ "typeString": "uint256" }, "typeName": { - "id": 702, + "id": 194, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7998:7:1", + "src": "8230:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2511,20 +2511,20 @@ "visibility": "internal" } ], - "src": "7997:15:1" + "src": "8229:15:0" }, "returnParameters": { - "id": 707, + "id": 199, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 706, + "id": 198, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "8036:7:1", + "scope": 200, + "src": "8268:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2532,10 +2532,10 @@ "typeString": "uint256" }, "typeName": { - "id": 705, + "id": 197, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8036:7:1", + "src": "8268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2544,20 +2544,20 @@ "visibility": "internal" } ], - "src": "8035:9:1" + "src": "8267:9:0" }, - "scope": 709, - "src": "7976:69:1", + "scope": 201, + "src": "8208:69:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "7332:715:1" + "scope": 2991, + "src": "7547:733:0" }, { - "id": 710, + "id": 202, "literals": [ "solidity", ">=", @@ -2568,7 +2568,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "abstract": false, @@ -2576,45 +2576,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 711, + "id": 203, "nodeType": "StructuredDocumentation", - "src": "8150:152:1", + "src": "8390:156:0", "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, "fullyImplemented": false, - "id": 726, + "id": 218, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 712, + "id": 204, "nodeType": "StructuredDocumentation", - "src": "8335:485:1", + "src": "8581:493:0", "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, "functionSelector": "150b7a02", - "id": 725, + "id": 217, "implemented": false, "kind": "function", "modifiers": [], "name": "onERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 721, + "id": 213, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 714, + "id": 206, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8851:16:1", + "scope": 217, + "src": "9106:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2622,10 +2622,10 @@ "typeString": "address" }, "typeName": { - "id": 713, + "id": 205, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8851:7:1", + "src": "9106:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2636,12 +2636,12 @@ }, { "constant": false, - "id": 716, + "id": 208, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8869:12:1", + "scope": 217, + "src": "9124:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2649,10 +2649,10 @@ "typeString": "address" }, "typeName": { - "id": 715, + "id": 207, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8869:7:1", + "src": "9124:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2663,12 +2663,12 @@ }, { "constant": false, - "id": 718, + "id": 210, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8883:15:1", + "scope": 217, + "src": "9138:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2676,10 +2676,10 @@ "typeString": "uint256" }, "typeName": { - "id": 717, + "id": 209, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8883:7:1", + "src": "9138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2689,12 +2689,12 @@ }, { "constant": false, - "id": 720, + "id": 212, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8900:19:1", + "scope": 217, + "src": "9155:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -2702,10 +2702,10 @@ "typeString": "bytes" }, "typeName": { - "id": 719, + "id": 211, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8900:5:1", + "src": "9155:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2714,20 +2714,20 @@ "visibility": "internal" } ], - "src": "8850:70:1" + "src": "9105:70:0" }, "returnParameters": { - "id": 724, + "id": 216, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 723, + "id": 215, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8939:6:1", + "scope": 217, + "src": "9194:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2735,10 +2735,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 722, + "id": 214, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "8939:6:1", + "src": "9194:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2747,20 +2747,20 @@ "visibility": "internal" } ], - "src": "8938:8:1" + "src": "9193:8:0" }, - "scope": 726, - "src": "8825:122:1", + "scope": 218, + "src": "9080:122:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "8303:646:1" + "scope": 2991, + "src": "8548:657:0" }, { - "id": 727, + "id": 219, "literals": [ "solidity", ">=", @@ -2771,55 +2771,55 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "abstract": true, "baseContracts": [ { "baseName": { - "id": 729, + "id": 221, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "9243:7:1", + "referencedDeclaration": 33, + "src": "9511:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 730, + "id": 222, "nodeType": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "documentation": { - "id": 728, + "id": 220, "nodeType": "StructuredDocumentation", - "src": "9043:171:1", + "src": "9305:176:0", "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, "fullyImplemented": true, - "id": 781, + "id": 273, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", "nodeType": "ContractDefinition", "nodes": [ { "constant": true, - "id": 733, + "id": 225, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9340:57:1", + "scope": 273, + "src": "9612:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2827,10 +2827,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 731, + "id": 223, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9340:6:1", + "src": "9612:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2838,14 +2838,14 @@ }, "value": { "hexValue": "30783031666663396137", - "id": 732, + "id": 224, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9387:10:1", + "src": "9659:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_33540519_by_1", "typeString": "int_const 33540519" @@ -2857,17 +2857,17 @@ { "constant": false, "documentation": { - "id": 734, + "id": 226, "nodeType": "StructuredDocumentation", - "src": "9404:82:1", + "src": "9678:84:0", "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 738, + "id": 230, "mutability": "mutable", "name": "_supportedInterfaces", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9491:52:1", + "scope": 273, + "src": "9768:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2875,28 +2875,28 @@ "typeString": "mapping(bytes4 => bool)" }, "typeName": { - "id": 737, + "id": 229, "keyType": { - "id": 735, + "id": 227, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9499:6:1", + "src": "9776:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "nodeType": "Mapping", - "src": "9491:23:1", + "src": "9768:23:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" }, "valueType": { - "id": 736, + "id": 228, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9509:4:1", + "src": "9786:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2907,20 +2907,20 @@ }, { "body": { - "id": 745, + "id": 237, "nodeType": "Block", - "src": "9565:193:1", + "src": "9844:197:0", "statements": [ { "expression": { "arguments": [ { - "id": 742, + "id": 234, "name": "_INTERFACE_ID_ERC165", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 733, - "src": "9730:20:1", + "referencedDeclaration": 225, + "src": "10012:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2934,18 +2934,18 @@ "typeString": "bytes4" } ], - "id": 741, + "id": 233, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "9711:18:1", + "referencedDeclaration": 272, + "src": "9993:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 743, + "id": 235, "isConstant": false, "isLValue": false, "isPure": false, @@ -2953,74 +2953,74 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9711:40:1", + "src": "9993:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 744, + "id": 236, "nodeType": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ] }, - "id": 746, + "id": 238, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 739, + "id": 231, "nodeType": "ParameterList", "parameters": [], - "src": "9562:2:1" + "src": "9841:2:0" }, "returnParameters": { - "id": 740, + "id": 232, "nodeType": "ParameterList", "parameters": [], - "src": "9565:0:1" + "src": "9844:0:0" }, - "scope": 781, - "src": "9550:208:1", + "scope": 273, + "src": "9829:212:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "baseFunctions": [ - 540 + 32 ], "body": { - "id": 759, + "id": 251, "nodeType": "Block", - "src": "9999:57:1", + "src": "10289:59:0", "statements": [ { "expression": { "baseExpression": { - "id": 755, + "id": 247, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10016:20:1", + "referencedDeclaration": 230, + "src": "10307:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 757, + "id": 249, "indexExpression": { - "id": 756, + "id": 248, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 749, - "src": "10037:11:1", + "referencedDeclaration": 241, + "src": "10328:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3031,50 +3031,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10016:33:1", + "src": "10307:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 754, - "id": 758, + "functionReturnParameters": 246, + "id": 250, "nodeType": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ] }, "documentation": { - "id": 747, + "id": 239, "nodeType": "StructuredDocumentation", - "src": "9764:139:1", + "src": "10049:143:0", "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 760, + "id": 252, "implemented": true, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "overrides": { - "id": 751, + "id": 243, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "9975:8:1" + "src": "10265:8:0" }, "parameters": { - "id": 750, + "id": 242, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 749, + "id": 241, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9935:18:1", + "scope": 252, + "src": "10225:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3082,10 +3082,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 748, + "id": 240, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9935:6:1", + "src": "10225:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3094,20 +3094,20 @@ "visibility": "internal" } ], - "src": "9934:20:1" + "src": "10224:20:0" }, "returnParameters": { - "id": 754, + "id": 246, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 753, + "id": 245, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9993:4:1", + "scope": 252, + "src": "10283:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3115,10 +3115,10 @@ "typeString": "bool" }, "typeName": { - "id": 752, + "id": 244, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9993:4:1", + "src": "10283:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3127,19 +3127,19 @@ "visibility": "internal" } ], - "src": "9992:6:1" + "src": "10282:6:0" }, - "scope": 781, - "src": "9908:148:1", + "scope": 273, + "src": "10198:150:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 779, + "id": 271, "nodeType": "Block", - "src": "10515:133:1", + "src": "10820:136:0", "statements": [ { "expression": { @@ -3149,18 +3149,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 769, + "id": 261, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 767, + "id": 259, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10533:11:1", + "referencedDeclaration": 255, + "src": "10839:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3170,21 +3170,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30786666666666666666", - "id": 768, + "id": 260, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10548:10:1", + "src": "10854:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_4294967295_by_1", "typeString": "int_const 4294967295" }, "value": "0xffffffff" }, - "src": "10533:25:1", + "src": "10839:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3192,14 +3192,14 @@ }, { "hexValue": "4552433136353a20696e76616c696420696e74657266616365206964", - "id": 770, + "id": 262, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "10560:30:1", + "src": "10866:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_282912c0dfceceb28d77d0333f496b83948f9ba5b3154358a8b140b849289dee", "typeString": "literal_string \"ERC165: invalid interface id\"" @@ -3218,7 +3218,7 @@ "typeString": "literal_string \"ERC165: invalid interface id\"" } ], - "id": 766, + "id": 258, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -3226,13 +3226,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "10525:7:1", + "src": "10831:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 771, + "id": 263, "isConstant": false, "isLValue": false, "isPure": false, @@ -3240,45 +3240,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10525:66:1", + "src": "10831:66:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 772, + "id": 264, "nodeType": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "expression": { - "id": 777, + "id": 269, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 773, + "id": 265, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10601:20:1", + "referencedDeclaration": 230, + "src": "10908:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 775, + "id": 267, "indexExpression": { - "id": 774, + "id": 266, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10622:11:1", + "referencedDeclaration": 255, + "src": "10929:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3289,7 +3289,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "10601:33:1", + "src": "10908:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3299,56 +3299,56 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 776, + "id": 268, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "10637:4:1", + "src": "10944:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "10601:40:1", + "src": "10908:40:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 778, + "id": 270, "nodeType": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ] }, "documentation": { - "id": 761, + "id": 253, "nodeType": "StructuredDocumentation", - "src": "10062:383:1", + "src": "10356:393:0", "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 780, + "id": 272, "implemented": true, "kind": "function", "modifiers": [], "name": "_registerInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 764, + "id": 256, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 763, + "id": 255, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 780, - "src": "10478:18:1", + "scope": 272, + "src": "10783:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3356,10 +3356,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 762, + "id": 254, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "10478:6:1", + "src": "10783:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3368,26 +3368,26 @@ "visibility": "internal" } ], - "src": "10477:20:1" + "src": "10782:20:0" }, "returnParameters": { - "id": 765, + "id": 257, "nodeType": "ParameterList", "parameters": [], - "src": "10515:0:1" + "src": "10820:0:0" }, - "scope": 781, - "src": "10450:198:1", + "scope": 273, + "src": "10755:201:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "9215:1435:1" + "scope": 2991, + "src": "9483:1476:0" }, { - "id": 782, + "id": 274, "literals": [ "solidity", ">=", @@ -3398,7 +3398,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "abstract": false, @@ -3406,38 +3406,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 783, + "id": 275, "nodeType": "StructuredDocumentation", - "src": "10736:563:1", + "src": "11050:575:0", "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, "fullyImplemented": true, - "id": 1135, + "id": 627, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 813, + "id": 305, "nodeType": "Block", - "src": "11535:98:1", + "src": "11868:102:0", "statements": [ { "assignments": [ - 796 + 288 ], "declarations": [ { "constant": false, - "id": 796, + "id": 288, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 813, - "src": "11545:9:1", + "scope": 305, + "src": "11879:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3445,10 +3445,10 @@ "typeString": "uint256" }, "typeName": { - "id": 795, + "id": 287, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11545:7:1", + "src": "11879:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3457,24 +3457,24 @@ "visibility": "internal" } ], - "id": 800, + "id": 292, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 799, + "id": 291, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 797, + "id": 289, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11557:1:1", + "referencedDeclaration": 278, + "src": "11891:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3483,25 +3483,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 798, + "id": 290, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 788, - "src": "11561:1:1", + "referencedDeclaration": 280, + "src": "11895:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11557:5:1", + "src": "11891:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "condition": { @@ -3509,18 +3509,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 803, + "id": 295, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 801, + "id": 293, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11576:1:1", + "referencedDeclaration": 288, + "src": "11911:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3529,39 +3529,39 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 802, + "id": 294, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11580:1:1", + "referencedDeclaration": 278, + "src": "11915:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11576:5:1", + "src": "11911:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 808, + "id": 300, "nodeType": "IfStatement", - "src": "11572:28:1", + "src": "11907:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 804, + "id": 296, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11591:5:1", + "src": "11926:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3570,14 +3570,14 @@ }, { "hexValue": "30", - "id": 805, + "id": 297, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11598:1:1", + "src": "11933:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3585,23 +3585,23 @@ "value": "0" } ], - "id": 806, + "id": 298, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11590:10:1", + "src": "11925:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 794, - "id": 807, + "functionReturnParameters": 286, + "id": 299, "nodeType": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } }, { @@ -3609,14 +3609,14 @@ "components": [ { "hexValue": "74727565", - "id": 809, + "id": 301, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11618:4:1", + "src": "11954:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3624,62 +3624,62 @@ "value": "true" }, { - "id": 810, + "id": 302, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11624:1:1", + "referencedDeclaration": 288, + "src": "11960:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 811, + "id": 303, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11617:9:1", + "src": "11953:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 794, - "id": 812, + "functionReturnParameters": 286, + "id": 304, "nodeType": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ] }, "documentation": { - "id": 784, + "id": 276, "nodeType": "StructuredDocumentation", - "src": "11323:131:1", + "src": "11651:135:0", "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 814, + "id": 306, "implemented": true, "kind": "function", "modifiers": [], "name": "tryAdd", "nodeType": "FunctionDefinition", "parameters": { - "id": 789, + "id": 281, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 786, + "id": 278, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11475:9:1", + "scope": 306, + "src": "11808:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3687,10 +3687,10 @@ "typeString": "uint256" }, "typeName": { - "id": 785, + "id": 277, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11475:7:1", + "src": "11808:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3700,12 +3700,12 @@ }, { "constant": false, - "id": 788, + "id": 280, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11486:9:1", + "scope": 306, + "src": "11819:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3713,10 +3713,10 @@ "typeString": "uint256" }, "typeName": { - "id": 787, + "id": 279, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11486:7:1", + "src": "11819:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3725,20 +3725,20 @@ "visibility": "internal" } ], - "src": "11474:22:1" + "src": "11807:22:0" }, "returnParameters": { - "id": 794, + "id": 286, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 791, + "id": 283, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11520:4:1", + "scope": 306, + "src": "11853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3746,10 +3746,10 @@ "typeString": "bool" }, "typeName": { - "id": 790, + "id": 282, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11520:4:1", + "src": "11853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3759,12 +3759,12 @@ }, { "constant": false, - "id": 793, + "id": 285, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11526:7:1", + "scope": 306, + "src": "11859:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3772,10 +3772,10 @@ "typeString": "uint256" }, "typeName": { - "id": 792, + "id": 284, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11526:7:1", + "src": "11859:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3784,19 +3784,19 @@ "visibility": "internal" } ], - "src": "11519:15:1" + "src": "11852:15:0" }, - "scope": 1135, - "src": "11459:174:1", + "scope": 627, + "src": "11792:178:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 840, + "id": 332, "nodeType": "Block", - "src": "11855:75:1", + "src": "12199:78:0", "statements": [ { "condition": { @@ -3804,18 +3804,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 828, + "id": 320, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 826, + "id": 318, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11869:1:1", + "referencedDeclaration": 311, + "src": "12214:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3824,39 +3824,39 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 827, + "id": 319, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11873:1:1", + "referencedDeclaration": 309, + "src": "12218:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11869:5:1", + "src": "12214:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 833, + "id": 325, "nodeType": "IfStatement", - "src": "11865:28:1", + "src": "12210:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 829, + "id": 321, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11884:5:1", + "src": "12229:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3865,14 +3865,14 @@ }, { "hexValue": "30", - "id": 830, + "id": 322, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11891:1:1", + "src": "12236:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3880,23 +3880,23 @@ "value": "0" } ], - "id": 831, + "id": 323, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11883:10:1", + "src": "12228:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 825, - "id": 832, + "functionReturnParameters": 317, + "id": 324, "nodeType": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } }, { @@ -3904,14 +3904,14 @@ "components": [ { "hexValue": "74727565", - "id": 834, + "id": 326, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11911:4:1", + "src": "12257:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3923,18 +3923,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 837, + "id": 329, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 835, + "id": 327, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11917:1:1", + "referencedDeclaration": 309, + "src": "12263:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3943,68 +3943,68 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 836, + "id": 328, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11921:1:1", + "referencedDeclaration": 311, + "src": "12267:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11917:5:1", + "src": "12263:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 838, + "id": 330, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11910:13:1", + "src": "12256:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 825, - "id": 839, + "functionReturnParameters": 317, + "id": 331, "nodeType": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ] }, "documentation": { - "id": 815, + "id": 307, "nodeType": "StructuredDocumentation", - "src": "11639:135:1", + "src": "11978:139:0", "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 841, + "id": 333, "implemented": true, "kind": "function", "modifiers": [], "name": "trySub", "nodeType": "FunctionDefinition", "parameters": { - "id": 820, + "id": 312, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 817, + "id": 309, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11795:9:1", + "scope": 333, + "src": "12139:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4012,10 +4012,10 @@ "typeString": "uint256" }, "typeName": { - "id": 816, + "id": 308, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11795:7:1", + "src": "12139:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4025,12 +4025,12 @@ }, { "constant": false, - "id": 819, + "id": 311, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11806:9:1", + "scope": 333, + "src": "12150:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4038,10 +4038,10 @@ "typeString": "uint256" }, "typeName": { - "id": 818, + "id": 310, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11806:7:1", + "src": "12150:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4050,20 +4050,20 @@ "visibility": "internal" } ], - "src": "11794:22:1" + "src": "12138:22:0" }, "returnParameters": { - "id": 825, + "id": 317, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 822, + "id": 314, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11840:4:1", + "scope": 333, + "src": "12184:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4071,10 +4071,10 @@ "typeString": "bool" }, "typeName": { - "id": 821, + "id": 313, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11840:4:1", + "src": "12184:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4084,12 +4084,12 @@ }, { "constant": false, - "id": 824, + "id": 316, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11846:7:1", + "scope": 333, + "src": "12190:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4097,10 +4097,10 @@ "typeString": "uint256" }, "typeName": { - "id": 823, + "id": 315, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11846:7:1", + "src": "12190:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4109,19 +4109,19 @@ "visibility": "internal" } ], - "src": "11839:15:1" + "src": "12183:15:0" }, - "scope": 1135, - "src": "11779:151:1", + "scope": 627, + "src": "12123:154:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 881, + "id": 373, "nodeType": "Block", - "src": "12154:359:1", + "src": "12508:367:0", "statements": [ { "condition": { @@ -4129,18 +4129,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 855, + "id": 347, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 853, + "id": 345, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12386:1:1", + "referencedDeclaration": 336, + "src": "12744:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4150,42 +4150,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 854, + "id": 346, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12391:1:1", + "src": "12749:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12386:6:1", + "src": "12744:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 860, + "id": 352, "nodeType": "IfStatement", - "src": "12382:28:1", + "src": "12740:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "74727565", - "id": 856, + "id": 348, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12402:4:1", + "src": "12760:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4194,14 +4194,14 @@ }, { "hexValue": "30", - "id": 857, + "id": 349, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12408:1:1", + "src": "12766:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4209,38 +4209,38 @@ "value": "0" } ], - "id": 858, + "id": 350, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12401:9:1", + "src": "12759:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 859, + "functionReturnParameters": 344, + "id": 351, "nodeType": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } }, { "assignments": [ - 862 + 354 ], "declarations": [ { "constant": false, - "id": 862, + "id": 354, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 881, - "src": "12420:9:1", + "scope": 373, + "src": "12779:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4248,10 +4248,10 @@ "typeString": "uint256" }, "typeName": { - "id": 861, + "id": 353, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12420:7:1", + "src": "12779:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4260,24 +4260,24 @@ "visibility": "internal" } ], - "id": 866, + "id": 358, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 865, + "id": 357, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 863, + "id": 355, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12432:1:1", + "referencedDeclaration": 336, + "src": "12791:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4286,25 +4286,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 864, + "id": 356, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12436:1:1", + "referencedDeclaration": 338, + "src": "12795:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12432:5:1", + "src": "12791:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "condition": { @@ -4312,7 +4312,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 871, + "id": 363, "isConstant": false, "isLValue": false, "isPure": false, @@ -4322,18 +4322,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 869, + "id": 361, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 867, + "id": 359, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12451:1:1", + "referencedDeclaration": 354, + "src": "12811:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4342,18 +4342,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 868, + "id": 360, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12455:1:1", + "referencedDeclaration": 336, + "src": "12815:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:5:1", + "src": "12811:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4362,39 +4362,39 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 870, + "id": 362, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12460:1:1", + "referencedDeclaration": 338, + "src": "12820:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:10:1", + "src": "12811:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 876, + "id": 368, "nodeType": "IfStatement", - "src": "12447:33:1", + "src": "12807:33:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 872, + "id": 364, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12471:5:1", + "src": "12831:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4403,14 +4403,14 @@ }, { "hexValue": "30", - "id": 873, + "id": 365, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12478:1:1", + "src": "12838:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4418,23 +4418,23 @@ "value": "0" } ], - "id": 874, + "id": 366, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12470:10:1", + "src": "12830:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 875, + "functionReturnParameters": 344, + "id": 367, "nodeType": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } }, { @@ -4442,14 +4442,14 @@ "components": [ { "hexValue": "74727565", - "id": 877, + "id": 369, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12498:4:1", + "src": "12859:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4457,62 +4457,62 @@ "value": "true" }, { - "id": 878, + "id": 370, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12504:1:1", + "referencedDeclaration": 354, + "src": "12865:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 879, + "id": 371, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12497:9:1", + "src": "12858:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 852, - "id": 880, + "functionReturnParameters": 344, + "id": 372, "nodeType": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ] }, "documentation": { - "id": 842, + "id": 334, "nodeType": "StructuredDocumentation", - "src": "11936:137:1", + "src": "12285:141:0", "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 882, + "id": 374, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMul", "nodeType": "FunctionDefinition", "parameters": { - "id": 847, + "id": 339, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 844, + "id": 336, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12094:9:1", + "scope": 374, + "src": "12448:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4520,10 +4520,10 @@ "typeString": "uint256" }, "typeName": { - "id": 843, + "id": 335, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12094:7:1", + "src": "12448:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4533,12 +4533,12 @@ }, { "constant": false, - "id": 846, + "id": 338, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12105:9:1", + "scope": 374, + "src": "12459:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4546,10 +4546,10 @@ "typeString": "uint256" }, "typeName": { - "id": 845, + "id": 337, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12105:7:1", + "src": "12459:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4558,20 +4558,20 @@ "visibility": "internal" } ], - "src": "12093:22:1" + "src": "12447:22:0" }, "returnParameters": { - "id": 852, + "id": 344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 849, + "id": 341, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12139:4:1", + "scope": 374, + "src": "12493:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4579,10 +4579,10 @@ "typeString": "bool" }, "typeName": { - "id": 848, + "id": 340, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12139:4:1", + "src": "12493:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4592,12 +4592,12 @@ }, { "constant": false, - "id": 851, + "id": 343, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12145:7:1", + "scope": 374, + "src": "12499:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4605,10 +4605,10 @@ "typeString": "uint256" }, "typeName": { - "id": 850, + "id": 342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12145:7:1", + "src": "12499:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4617,19 +4617,19 @@ "visibility": "internal" } ], - "src": "12138:15:1" + "src": "12492:15:0" }, - "scope": 1135, - "src": "12078:435:1", + "scope": 627, + "src": "12432:443:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 908, + "id": 400, "nodeType": "Block", - "src": "12738:76:1", + "src": "13107:79:0", "statements": [ { "condition": { @@ -4637,18 +4637,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 896, + "id": 388, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 894, + "id": 386, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12752:1:1", + "referencedDeclaration": 379, + "src": "13122:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4658,42 +4658,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 895, + "id": 387, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12757:1:1", + "src": "13127:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12752:6:1", + "src": "13122:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 901, + "id": 393, "nodeType": "IfStatement", - "src": "12748:29:1", + "src": "13118:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 897, + "id": 389, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12768:5:1", + "src": "13138:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4702,14 +4702,14 @@ }, { "hexValue": "30", - "id": 898, + "id": 390, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12775:1:1", + "src": "13145:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4717,23 +4717,23 @@ "value": "0" } ], - "id": 899, + "id": 391, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12767:10:1", + "src": "13137:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 893, - "id": 900, + "functionReturnParameters": 385, + "id": 392, "nodeType": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } }, { @@ -4741,14 +4741,14 @@ "components": [ { "hexValue": "74727565", - "id": 902, + "id": 394, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12795:4:1", + "src": "13166:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4760,18 +4760,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 905, + "id": 397, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 903, + "id": 395, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 885, - "src": "12801:1:1", + "referencedDeclaration": 377, + "src": "13172:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4780,68 +4780,68 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 904, + "id": 396, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12805:1:1", + "referencedDeclaration": 379, + "src": "13176:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12801:5:1", + "src": "13172:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 906, + "id": 398, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12794:13:1", + "src": "13165:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 893, - "id": 907, + "functionReturnParameters": 385, + "id": 399, "nodeType": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ] }, "documentation": { - "id": 883, + "id": 375, "nodeType": "StructuredDocumentation", - "src": "12519:138:1", + "src": "12883:142:0", "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 909, + "id": 401, "implemented": true, "kind": "function", "modifiers": [], "name": "tryDiv", "nodeType": "FunctionDefinition", "parameters": { - "id": 888, + "id": 380, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 885, + "id": 377, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12678:9:1", + "scope": 401, + "src": "13047:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4849,10 +4849,10 @@ "typeString": "uint256" }, "typeName": { - "id": 884, + "id": 376, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12678:7:1", + "src": "13047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4862,12 +4862,12 @@ }, { "constant": false, - "id": 887, + "id": 379, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12689:9:1", + "scope": 401, + "src": "13058:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4875,10 +4875,10 @@ "typeString": "uint256" }, "typeName": { - "id": 886, + "id": 378, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12689:7:1", + "src": "13058:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4887,20 +4887,20 @@ "visibility": "internal" } ], - "src": "12677:22:1" + "src": "13046:22:0" }, "returnParameters": { - "id": 893, + "id": 385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 890, + "id": 382, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12723:4:1", + "scope": 401, + "src": "13092:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4908,10 +4908,10 @@ "typeString": "bool" }, "typeName": { - "id": 889, + "id": 381, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12723:4:1", + "src": "13092:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4921,12 +4921,12 @@ }, { "constant": false, - "id": 892, + "id": 384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12729:7:1", + "scope": 401, + "src": "13098:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4934,10 +4934,10 @@ "typeString": "uint256" }, "typeName": { - "id": 891, + "id": 383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12729:7:1", + "src": "13098:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4946,19 +4946,19 @@ "visibility": "internal" } ], - "src": "12722:15:1" + "src": "13091:15:0" }, - "scope": 1135, - "src": "12662:152:1", + "scope": 627, + "src": "13031:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 935, + "id": 427, "nodeType": "Block", - "src": "13049:76:1", + "src": "13428:79:0", "statements": [ { "condition": { @@ -4966,18 +4966,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 923, + "id": 415, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 921, + "id": 413, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13063:1:1", + "referencedDeclaration": 406, + "src": "13443:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4987,42 +4987,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 922, + "id": 414, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13068:1:1", + "src": "13448:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "13063:6:1", + "src": "13443:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 928, + "id": 420, "nodeType": "IfStatement", - "src": "13059:29:1", + "src": "13439:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 924, + "id": 416, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13079:5:1", + "src": "13459:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5031,14 +5031,14 @@ }, { "hexValue": "30", - "id": 925, + "id": 417, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13086:1:1", + "src": "13466:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -5046,23 +5046,23 @@ "value": "0" } ], - "id": 926, + "id": 418, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13078:10:1", + "src": "13458:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 920, - "id": 927, + "functionReturnParameters": 412, + "id": 419, "nodeType": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } }, { @@ -5070,14 +5070,14 @@ "components": [ { "hexValue": "74727565", - "id": 929, + "id": 421, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13106:4:1", + "src": "13487:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5089,18 +5089,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 932, + "id": 424, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 930, + "id": 422, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 912, - "src": "13112:1:1", + "referencedDeclaration": 404, + "src": "13493:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5109,68 +5109,68 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 931, + "id": 423, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13116:1:1", + "referencedDeclaration": 406, + "src": "13497:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13112:5:1", + "src": "13493:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 933, + "id": 425, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13105:13:1", + "src": "13486:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 920, - "id": 934, + "functionReturnParameters": 412, + "id": 426, "nodeType": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ] }, "documentation": { - "id": 910, + "id": 402, "nodeType": "StructuredDocumentation", - "src": "12820:148:1", + "src": "13194:152:0", "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 936, + "id": 428, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMod", "nodeType": "FunctionDefinition", "parameters": { - "id": 915, + "id": 407, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 912, + "id": 404, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "12989:9:1", + "scope": 428, + "src": "13368:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5178,10 +5178,10 @@ "typeString": "uint256" }, "typeName": { - "id": 911, + "id": 403, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12989:7:1", + "src": "13368:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5191,12 +5191,12 @@ }, { "constant": false, - "id": 914, + "id": 406, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13000:9:1", + "scope": 428, + "src": "13379:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5204,10 +5204,10 @@ "typeString": "uint256" }, "typeName": { - "id": 913, + "id": 405, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13000:7:1", + "src": "13379:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5216,20 +5216,20 @@ "visibility": "internal" } ], - "src": "12988:22:1" + "src": "13367:22:0" }, "returnParameters": { - "id": 920, + "id": 412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 917, + "id": 409, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13034:4:1", + "scope": 428, + "src": "13413:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5237,10 +5237,10 @@ "typeString": "bool" }, "typeName": { - "id": 916, + "id": 408, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "13034:4:1", + "src": "13413:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5250,12 +5250,12 @@ }, { "constant": false, - "id": 919, + "id": 411, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13040:7:1", + "scope": 428, + "src": "13419:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5263,10 +5263,10 @@ "typeString": "uint256" }, "typeName": { - "id": 918, + "id": 410, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13040:7:1", + "src": "13419:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5275,33 +5275,33 @@ "visibility": "internal" } ], - "src": "13033:15:1" + "src": "13412:15:0" }, - "scope": 1135, - "src": "12973:152:1", + "scope": 627, + "src": "13352:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 961, + "id": 453, "nodeType": "Block", - "src": "13427:108:1", + "src": "13821:112:0", "statements": [ { "assignments": [ - 947 + 439 ], "declarations": [ { "constant": false, - "id": 947, + "id": 439, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 961, - "src": "13437:9:1", + "scope": 453, + "src": "13832:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5309,10 +5309,10 @@ "typeString": "uint256" }, "typeName": { - "id": 946, + "id": 438, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13437:7:1", + "src": "13832:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5321,24 +5321,24 @@ "visibility": "internal" } ], - "id": 951, + "id": 443, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 950, + "id": 442, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 948, + "id": 440, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13449:1:1", + "referencedDeclaration": 431, + "src": "13844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5347,25 +5347,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 949, + "id": 441, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 941, - "src": "13453:1:1", + "referencedDeclaration": 433, + "src": "13848:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13449:5:1", + "src": "13844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "expression": { @@ -5375,18 +5375,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 955, + "id": 447, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 953, + "id": 445, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13472:1:1", + "referencedDeclaration": 439, + "src": "13868:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5395,18 +5395,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 954, + "id": 446, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13477:1:1", + "referencedDeclaration": 431, + "src": "13873:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13472:6:1", + "src": "13868:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5414,14 +5414,14 @@ }, { "hexValue": "536166654d6174683a206164646974696f6e206f766572666c6f77", - "id": 956, + "id": 448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13480:29:1", + "src": "13876:29:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_30cc447bcc13b3e22b45cef0dd9b0b514842d836dd9b6eb384e20dedfb47723a", "typeString": "literal_string \"SafeMath: addition overflow\"" @@ -5440,7 +5440,7 @@ "typeString": "literal_string \"SafeMath: addition overflow\"" } ], - "id": 952, + "id": 444, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5448,13 +5448,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13464:7:1", + "src": "13860:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 957, + "id": 449, "isConstant": false, "isLValue": false, "isPure": false, @@ -5462,61 +5462,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13464:46:1", + "src": "13860:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 958, + "id": 450, "nodeType": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "expression": { - "id": 959, + "id": 451, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13527:1:1", + "referencedDeclaration": 439, + "src": "13924:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 945, - "id": 960, + "functionReturnParameters": 437, + "id": 452, "nodeType": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ] }, "documentation": { - "id": 937, + "id": 429, "nodeType": "StructuredDocumentation", - "src": "13131:224:1", + "src": "13515:233:0", "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 962, + "id": 454, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 942, + "id": 434, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 939, + "id": 431, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13373:9:1", + "scope": 454, + "src": "13767:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5524,10 +5524,10 @@ "typeString": "uint256" }, "typeName": { - "id": 938, + "id": 430, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13373:7:1", + "src": "13767:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5537,12 +5537,12 @@ }, { "constant": false, - "id": 941, + "id": 433, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13384:9:1", + "scope": 454, + "src": "13778:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5550,10 +5550,10 @@ "typeString": "uint256" }, "typeName": { - "id": 940, + "id": 432, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13384:7:1", + "src": "13778:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5562,20 +5562,20 @@ "visibility": "internal" } ], - "src": "13372:22:1" + "src": "13766:22:0" }, "returnParameters": { - "id": 945, + "id": 437, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 944, + "id": 436, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13418:7:1", + "scope": 454, + "src": "13812:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5583,10 +5583,10 @@ "typeString": "uint256" }, "typeName": { - "id": 943, + "id": 435, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13418:7:1", + "src": "13812:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5595,19 +5595,19 @@ "visibility": "internal" } ], - "src": "13417:9:1" + "src": "13811:9:0" }, - "scope": 1135, - "src": "13360:175:1", + "scope": 627, + "src": "13754:179:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 983, + "id": 475, "nodeType": "Block", - "src": "13873:88:1", + "src": "14283:91:0", "statements": [ { "expression": { @@ -5617,18 +5617,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 975, + "id": 467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 973, + "id": 465, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13891:1:1", + "referencedDeclaration": 459, + "src": "14302:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5637,18 +5637,18 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 974, + "id": 466, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13896:1:1", + "referencedDeclaration": 457, + "src": "14307:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13891:6:1", + "src": "14302:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5656,14 +5656,14 @@ }, { "hexValue": "536166654d6174683a207375627472616374696f6e206f766572666c6f77", - "id": 976, + "id": 468, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13899:32:1", + "src": "14310:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_50b058e9b5320e58880d88223c9801cd9eecdcf90323d5c2318bc1b6b916e862", "typeString": "literal_string \"SafeMath: subtraction overflow\"" @@ -5682,7 +5682,7 @@ "typeString": "literal_string \"SafeMath: subtraction overflow\"" } ], - "id": 972, + "id": 464, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5690,13 +5690,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13883:7:1", + "src": "14294:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 977, + "id": 469, "isConstant": false, "isLValue": false, "isPure": false, @@ -5704,16 +5704,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13883:49:1", + "src": "14294:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 978, + "id": 470, "nodeType": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "expression": { @@ -5721,18 +5721,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 981, + "id": 473, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 979, + "id": 471, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13949:1:1", + "referencedDeclaration": 457, + "src": "14361:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5741,54 +5741,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 980, + "id": 472, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13953:1:1", + "referencedDeclaration": 459, + "src": "14365:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13949:5:1", + "src": "14361:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 971, - "id": 982, + "functionReturnParameters": 463, + "id": 474, "nodeType": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ] }, "documentation": { - "id": 963, + "id": 455, "nodeType": "StructuredDocumentation", - "src": "13541:260:1", + "src": "13941:269:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 984, + "id": 476, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 968, + "id": 460, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 965, + "id": 457, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13819:9:1", + "scope": 476, + "src": "14229:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5796,10 +5796,10 @@ "typeString": "uint256" }, "typeName": { - "id": 964, + "id": 456, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13819:7:1", + "src": "14229:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5809,12 +5809,12 @@ }, { "constant": false, - "id": 967, + "id": 459, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13830:9:1", + "scope": 476, + "src": "14240:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5822,10 +5822,10 @@ "typeString": "uint256" }, "typeName": { - "id": 966, + "id": 458, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13830:7:1", + "src": "14240:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5834,20 +5834,20 @@ "visibility": "internal" } ], - "src": "13818:22:1" + "src": "14228:22:0" }, "returnParameters": { - "id": 971, + "id": 463, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 970, + "id": 462, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13864:7:1", + "scope": 476, + "src": "14274:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5855,10 +5855,10 @@ "typeString": "uint256" }, "typeName": { - "id": 969, + "id": 461, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13864:7:1", + "src": "14274:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5867,19 +5867,19 @@ "visibility": "internal" } ], - "src": "13863:9:1" + "src": "14273:9:0" }, - "scope": 1135, - "src": "13806:155:1", + "scope": 627, + "src": "14216:158:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1017, + "id": 509, "nodeType": "Block", - "src": "14275:148:1", + "src": "14700:153:0", "statements": [ { "condition": { @@ -5887,18 +5887,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 996, + "id": 488, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 994, + "id": 486, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14289:1:1", + "referencedDeclaration": 479, + "src": "14715:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5908,65 +5908,65 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 995, + "id": 487, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14294:1:1", + "src": "14720:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14289:6:1", + "src": "14715:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 999, + "id": 491, "nodeType": "IfStatement", - "src": "14285:20:1", + "src": "14711:20:0", "trueBody": { "expression": { "hexValue": "30", - "id": 997, + "id": 489, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14304:1:1", + "src": "14730:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "functionReturnParameters": 993, - "id": 998, + "functionReturnParameters": 485, + "id": 490, "nodeType": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } }, { "assignments": [ - 1001 + 493 ], "declarations": [ { "constant": false, - "id": 1001, + "id": 493, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 1017, - "src": "14315:9:1", + "scope": 509, + "src": "14742:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5974,10 +5974,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1000, + "id": 492, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14315:7:1", + "src": "14742:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5986,24 +5986,24 @@ "visibility": "internal" } ], - "id": 1005, + "id": 497, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1004, + "id": 496, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1002, + "id": 494, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14327:1:1", + "referencedDeclaration": 479, + "src": "14754:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6012,25 +6012,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 1003, + "id": 495, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14331:1:1", + "referencedDeclaration": 481, + "src": "14758:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14327:5:1", + "src": "14754:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "expression": { @@ -6040,7 +6040,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1011, + "id": 503, "isConstant": false, "isLValue": false, "isPure": false, @@ -6050,18 +6050,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1009, + "id": 501, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1007, + "id": 499, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14350:1:1", + "referencedDeclaration": 493, + "src": "14778:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6070,18 +6070,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1008, + "id": 500, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14354:1:1", + "referencedDeclaration": 479, + "src": "14782:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:5:1", + "src": "14778:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6090,18 +6090,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 1010, + "id": 502, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14359:1:1", + "referencedDeclaration": 481, + "src": "14787:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:10:1", + "src": "14778:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6109,14 +6109,14 @@ }, { "hexValue": "536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77", - "id": 1012, + "id": 504, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14362:35:1", + "src": "14790:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9113bb53c2876a3805b2c9242029423fc540a728243ce887ab24c82cf119fba3", "typeString": "literal_string \"SafeMath: multiplication overflow\"" @@ -6135,7 +6135,7 @@ "typeString": "literal_string \"SafeMath: multiplication overflow\"" } ], - "id": 1006, + "id": 498, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6143,13 +6143,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14342:7:1", + "src": "14770:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1013, + "id": 505, "isConstant": false, "isLValue": false, "isPure": false, @@ -6157,61 +6157,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14342:56:1", + "src": "14770:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1014, + "id": 506, "nodeType": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "expression": { - "id": 1015, + "id": 507, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14415:1:1", + "referencedDeclaration": 493, + "src": "14844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 993, - "id": 1016, + "functionReturnParameters": 485, + "id": 508, "nodeType": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ] }, "documentation": { - "id": 985, + "id": 477, "nodeType": "StructuredDocumentation", - "src": "13967:236:1", + "src": "14382:245:0", "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 1018, + "id": 510, "implemented": true, "kind": "function", "modifiers": [], "name": "mul", "nodeType": "FunctionDefinition", "parameters": { - "id": 990, + "id": 482, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 987, + "id": 479, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14221:9:1", + "scope": 510, + "src": "14646:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6219,10 +6219,10 @@ "typeString": "uint256" }, "typeName": { - "id": 986, + "id": 478, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14221:7:1", + "src": "14646:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6232,12 +6232,12 @@ }, { "constant": false, - "id": 989, + "id": 481, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14232:9:1", + "scope": 510, + "src": "14657:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6245,10 +6245,10 @@ "typeString": "uint256" }, "typeName": { - "id": 988, + "id": 480, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14232:7:1", + "src": "14657:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6257,20 +6257,20 @@ "visibility": "internal" } ], - "src": "14220:22:1" + "src": "14645:22:0" }, "returnParameters": { - "id": 993, + "id": 485, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 992, + "id": 484, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14266:7:1", + "scope": 510, + "src": "14691:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6278,10 +6278,10 @@ "typeString": "uint256" }, "typeName": { - "id": 991, + "id": 483, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14266:7:1", + "src": "14691:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6290,19 +6290,19 @@ "visibility": "internal" } ], - "src": "14265:9:1" + "src": "14690:9:0" }, - "scope": 1135, - "src": "14208:215:1", + "scope": 627, + "src": "14633:220:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1039, + "id": 531, "nodeType": "Block", - "src": "14954:83:1", + "src": "15398:86:0", "statements": [ { "expression": { @@ -6312,18 +6312,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1031, + "id": 523, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1029, + "id": 521, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "14972:1:1", + "referencedDeclaration": 515, + "src": "15417:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6333,21 +6333,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1030, + "id": 522, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14976:1:1", + "src": "15421:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14972:5:1", + "src": "15417:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6355,14 +6355,14 @@ }, { "hexValue": "536166654d6174683a206469766973696f6e206279207a65726f", - "id": 1032, + "id": 524, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14979:28:1", + "src": "15424:28:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5b7cc70dda4dc2143e5adb63bd5d1f349504f461dbdfd9bc76fac1f8ca6d019f", "typeString": "literal_string \"SafeMath: division by zero\"" @@ -6381,7 +6381,7 @@ "typeString": "literal_string \"SafeMath: division by zero\"" } ], - "id": 1028, + "id": 520, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6389,13 +6389,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14964:7:1", + "src": "15409:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1033, + "id": 525, "isConstant": false, "isLValue": false, "isPure": false, @@ -6403,16 +6403,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14964:44:1", + "src": "15409:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1034, + "id": 526, "nodeType": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "expression": { @@ -6420,18 +6420,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1037, + "id": 529, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1035, + "id": 527, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1021, - "src": "15025:1:1", + "referencedDeclaration": 513, + "src": "15471:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6440,54 +6440,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1036, + "id": 528, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "15029:1:1", + "referencedDeclaration": 515, + "src": "15475:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15025:5:1", + "src": "15471:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1027, - "id": 1038, + "functionReturnParameters": 519, + "id": 530, "nodeType": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ] }, "documentation": { - "id": 1019, + "id": 511, "nodeType": "StructuredDocumentation", - "src": "14429:453:1", + "src": "14861:464:0", "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1040, + "id": 532, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1024, + "id": 516, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1021, + "id": 513, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14900:9:1", + "scope": 532, + "src": "15344:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6495,10 +6495,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1020, + "id": 512, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14900:7:1", + "src": "15344:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6508,12 +6508,12 @@ }, { "constant": false, - "id": 1023, + "id": 515, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14911:9:1", + "scope": 532, + "src": "15355:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6521,10 +6521,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1022, + "id": 514, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14911:7:1", + "src": "15355:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6533,20 +6533,20 @@ "visibility": "internal" } ], - "src": "14899:22:1" + "src": "15343:22:0" }, "returnParameters": { - "id": 1027, + "id": 519, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1026, + "id": 518, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14945:7:1", + "scope": 532, + "src": "15389:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6554,10 +6554,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1025, + "id": 517, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14945:7:1", + "src": "15389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6566,19 +6566,19 @@ "visibility": "internal" } ], - "src": "14944:9:1" + "src": "15388:9:0" }, - "scope": 1135, - "src": "14887:150:1", + "scope": 627, + "src": "15331:153:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1061, + "id": 553, "nodeType": "Block", - "src": "15557:81:1", + "src": "16018:84:0", "statements": [ { "expression": { @@ -6588,18 +6588,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1053, + "id": 545, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1051, + "id": 543, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15575:1:1", + "referencedDeclaration": 537, + "src": "16037:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6609,21 +6609,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1052, + "id": 544, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15579:1:1", + "src": "16041:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "15575:5:1", + "src": "16037:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6631,14 +6631,14 @@ }, { "hexValue": "536166654d6174683a206d6f64756c6f206279207a65726f", - "id": 1054, + "id": 546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "15582:26:1", + "src": "16044:26:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_726e51f7b81fce0a68f5f214f445e275313b20b1633f08ce954ee39abf8d7832", "typeString": "literal_string \"SafeMath: modulo by zero\"" @@ -6657,7 +6657,7 @@ "typeString": "literal_string \"SafeMath: modulo by zero\"" } ], - "id": 1050, + "id": 542, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6665,13 +6665,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "15567:7:1", + "src": "16029:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1055, + "id": 547, "isConstant": false, "isLValue": false, "isPure": false, @@ -6679,16 +6679,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15567:42:1", + "src": "16029:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1056, + "id": 548, "nodeType": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "expression": { @@ -6696,18 +6696,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1059, + "id": 551, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1057, + "id": 549, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1043, - "src": "15626:1:1", + "referencedDeclaration": 535, + "src": "16089:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6716,54 +6716,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1058, + "id": 550, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15630:1:1", + "referencedDeclaration": 537, + "src": "16093:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15626:5:1", + "src": "16089:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1049, - "id": 1060, + "functionReturnParameters": 541, + "id": 552, "nodeType": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ] }, "documentation": { - "id": 1041, + "id": 533, "nodeType": "StructuredDocumentation", - "src": "15043:442:1", + "src": "15492:453:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1062, + "id": 554, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1046, + "id": 538, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1043, + "id": 535, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15503:9:1", + "scope": 554, + "src": "15964:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6771,10 +6771,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1042, + "id": 534, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15503:7:1", + "src": "15964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6784,12 +6784,12 @@ }, { "constant": false, - "id": 1045, + "id": 537, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15514:9:1", + "scope": 554, + "src": "15975:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6797,10 +6797,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1044, + "id": 536, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15514:7:1", + "src": "15975:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6809,20 +6809,20 @@ "visibility": "internal" } ], - "src": "15502:22:1" + "src": "15963:22:0" }, "returnParameters": { - "id": 1049, + "id": 541, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1048, + "id": 540, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15548:7:1", + "scope": 554, + "src": "16009:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6830,10 +6830,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1047, + "id": 539, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15548:7:1", + "src": "16009:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6842,19 +6842,19 @@ "visibility": "internal" } ], - "src": "15547:9:1" + "src": "16008:9:0" }, - "scope": 1135, - "src": "15490:148:1", + "scope": 627, + "src": "15951:151:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1085, + "id": 577, "nodeType": "Block", - "src": "16197:68:1", + "src": "16676:71:0", "statements": [ { "expression": { @@ -6864,18 +6864,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1077, + "id": 569, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1075, + "id": 567, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16215:1:1", + "referencedDeclaration": 559, + "src": "16695:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6884,30 +6884,30 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 1076, + "id": 568, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16220:1:1", + "referencedDeclaration": 557, + "src": "16700:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16215:6:1", + "src": "16695:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1078, + "id": 570, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1069, - "src": "16223:12:1", + "referencedDeclaration": 561, + "src": "16703:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6925,7 +6925,7 @@ "typeString": "string memory" } ], - "id": 1074, + "id": 566, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6933,13 +6933,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "16207:7:1", + "src": "16687:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1079, + "id": 571, "isConstant": false, "isLValue": false, "isPure": false, @@ -6947,16 +6947,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16207:29:1", + "src": "16687:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1080, + "id": 572, "nodeType": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "expression": { @@ -6964,18 +6964,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1083, + "id": 575, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1081, + "id": 573, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16253:1:1", + "referencedDeclaration": 557, + "src": "16734:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6984,54 +6984,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 1082, + "id": 574, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16257:1:1", + "referencedDeclaration": 559, + "src": "16738:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16253:5:1", + "src": "16734:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1073, - "id": 1084, + "functionReturnParameters": 565, + "id": 576, "nodeType": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ] }, "documentation": { - "id": 1063, + "id": 555, "nodeType": "StructuredDocumentation", - "src": "15644:453:1", + "src": "16110:465:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1086, + "id": 578, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 1070, + "id": 562, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1065, + "id": 557, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16115:9:1", + "scope": 578, + "src": "16594:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7039,10 +7039,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1064, + "id": 556, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16115:7:1", + "src": "16594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7052,12 +7052,12 @@ }, { "constant": false, - "id": 1067, + "id": 559, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16126:9:1", + "scope": 578, + "src": "16605:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7065,10 +7065,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1066, + "id": 558, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16126:7:1", + "src": "16605:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7078,12 +7078,12 @@ }, { "constant": false, - "id": 1069, + "id": 561, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16137:26:1", + "scope": 578, + "src": "16616:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7091,10 +7091,10 @@ "typeString": "string" }, "typeName": { - "id": 1068, + "id": 560, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16137:6:1", + "src": "16616:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7103,20 +7103,20 @@ "visibility": "internal" } ], - "src": "16114:50:1" + "src": "16593:50:0" }, "returnParameters": { - "id": 1073, + "id": 565, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1072, + "id": 564, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16188:7:1", + "scope": 578, + "src": "16667:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7124,10 +7124,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1071, + "id": 563, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16188:7:1", + "src": "16667:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7136,19 +7136,19 @@ "visibility": "internal" } ], - "src": "16187:9:1" + "src": "16666:9:0" }, - "scope": 1135, - "src": "16102:163:1", + "scope": 627, + "src": "16581:166:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1109, + "id": 601, "nodeType": "Block", - "src": "17017:67:1", + "src": "17516:70:0", "statements": [ { "expression": { @@ -7158,18 +7158,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1101, + "id": 593, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1099, + "id": 591, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17035:1:1", + "referencedDeclaration": 583, + "src": "17535:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7179,33 +7179,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1100, + "id": 592, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17039:1:1", + "src": "17539:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17035:5:1", + "src": "17535:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1102, + "id": 594, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1093, - "src": "17042:12:1", + "referencedDeclaration": 585, + "src": "17542:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7223,7 +7223,7 @@ "typeString": "string memory" } ], - "id": 1098, + "id": 590, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7231,13 +7231,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17027:7:1", + "src": "17527:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1103, + "id": 595, "isConstant": false, "isLValue": false, "isPure": false, @@ -7245,16 +7245,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17027:28:1", + "src": "17527:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1104, + "id": 596, "nodeType": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "expression": { @@ -7262,18 +7262,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1107, + "id": 599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1105, + "id": 597, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1089, - "src": "17072:1:1", + "referencedDeclaration": 581, + "src": "17573:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7282,54 +7282,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1106, + "id": 598, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17076:1:1", + "referencedDeclaration": 583, + "src": "17577:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17072:5:1", + "src": "17573:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1097, - "id": 1108, + "functionReturnParameters": 589, + "id": 600, "nodeType": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ] }, "documentation": { - "id": 1087, + "id": 579, "nodeType": "StructuredDocumentation", - "src": "16271:646:1", + "src": "16755:660:0", "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1110, + "id": 602, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1094, + "id": 586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1089, + "id": 581, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16935:9:1", + "scope": 602, + "src": "17434:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7337,10 +7337,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1088, + "id": 580, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16935:7:1", + "src": "17434:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7350,12 +7350,12 @@ }, { "constant": false, - "id": 1091, + "id": 583, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16946:9:1", + "scope": 602, + "src": "17445:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7363,10 +7363,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1090, + "id": 582, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16946:7:1", + "src": "17445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7376,12 +7376,12 @@ }, { "constant": false, - "id": 1093, + "id": 585, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16957:26:1", + "scope": 602, + "src": "17456:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7389,10 +7389,10 @@ "typeString": "string" }, "typeName": { - "id": 1092, + "id": 584, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16957:6:1", + "src": "17456:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7401,20 +7401,20 @@ "visibility": "internal" } ], - "src": "16934:50:1" + "src": "17433:50:0" }, "returnParameters": { - "id": 1097, + "id": 589, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1096, + "id": 588, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "17008:7:1", + "scope": 602, + "src": "17507:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7422,10 +7422,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1095, + "id": 587, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17008:7:1", + "src": "17507:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7434,19 +7434,19 @@ "visibility": "internal" } ], - "src": "17007:9:1" + "src": "17506:9:0" }, - "scope": 1135, - "src": "16922:162:1", + "scope": 627, + "src": "17421:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1133, + "id": 625, "nodeType": "Block", - "src": "17825:67:1", + "src": "18344:70:0", "statements": [ { "expression": { @@ -7456,18 +7456,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1125, + "id": 617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1123, + "id": 615, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17843:1:1", + "referencedDeclaration": 607, + "src": "18363:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7477,33 +7477,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1124, + "id": 616, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17847:1:1", + "src": "18367:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17843:5:1", + "src": "18363:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1126, + "id": 618, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1117, - "src": "17850:12:1", + "referencedDeclaration": 609, + "src": "18370:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7521,7 +7521,7 @@ "typeString": "string memory" } ], - "id": 1122, + "id": 614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7529,13 +7529,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17835:7:1", + "src": "18355:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1127, + "id": 619, "isConstant": false, "isLValue": false, "isPure": false, @@ -7543,16 +7543,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17835:28:1", + "src": "18355:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1128, + "id": 620, "nodeType": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "expression": { @@ -7560,18 +7560,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1131, + "id": 623, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1129, + "id": 621, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1113, - "src": "17880:1:1", + "referencedDeclaration": 605, + "src": "18401:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7580,54 +7580,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1130, + "id": 622, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17884:1:1", + "referencedDeclaration": 607, + "src": "18405:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17880:5:1", + "src": "18401:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1121, - "id": 1132, + "functionReturnParameters": 613, + "id": 624, "nodeType": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ] }, "documentation": { - "id": 1111, + "id": 603, "nodeType": "StructuredDocumentation", - "src": "17090:635:1", + "src": "17594:649:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1134, + "id": 626, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1118, + "id": 610, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1113, + "id": 605, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17743:9:1", + "scope": 626, + "src": "18262:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7635,10 +7635,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1112, + "id": 604, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17743:7:1", + "src": "18262:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7648,12 +7648,12 @@ }, { "constant": false, - "id": 1115, + "id": 607, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17754:9:1", + "scope": 626, + "src": "18273:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7661,10 +7661,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1114, + "id": 606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17754:7:1", + "src": "18273:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7674,12 +7674,12 @@ }, { "constant": false, - "id": 1117, + "id": 609, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17765:26:1", + "scope": 626, + "src": "18284:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7687,10 +7687,10 @@ "typeString": "string" }, "typeName": { - "id": 1116, + "id": 608, "name": "string", "nodeType": "ElementaryTypeName", - "src": "17765:6:1", + "src": "18284:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7699,20 +7699,20 @@ "visibility": "internal" } ], - "src": "17742:50:1" + "src": "18261:50:0" }, "returnParameters": { - "id": 1121, + "id": 613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1120, + "id": 612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17816:7:1", + "scope": 626, + "src": "18335:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7720,10 +7720,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1119, + "id": 611, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17816:7:1", + "src": "18335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7732,20 +7732,20 @@ "visibility": "internal" } ], - "src": "17815:9:1" + "src": "18334:9:0" }, - "scope": 1135, - "src": "17730:162:1", + "scope": 627, + "src": "18249:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "11300:6594:1" + "scope": 2991, + "src": "11627:6790:0" }, { - "id": 1136, + "id": 628, "literals": [ "solidity", ">=", @@ -7756,7 +7756,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "abstract": false, @@ -7764,38 +7764,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1137, + "id": 629, "nodeType": "StructuredDocumentation", - "src": "17980:67:1", + "src": "18508:69:0", "text": " @dev Collection of functions related to the address type" }, "fullyImplemented": true, - "id": 1430, + "id": 922, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1153, + "id": 645, "nodeType": "Block", - "src": "18706:347:1", + "src": "19255:356:0", "statements": [ { "assignments": [ - 1146 + 638 ], "declarations": [ { "constant": false, - "id": 1146, + "id": 638, "mutability": "mutable", "name": "size", "nodeType": "VariableDeclaration", - "scope": 1153, - "src": "18903:12:1", + "scope": 645, + "src": "19457:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7803,10 +7803,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1145, + "id": 637, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "18903:7:1", + "src": "19457:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7815,39 +7815,39 @@ "visibility": "internal" } ], - "id": 1147, + "id": 639, "nodeType": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "AST": { "nodeType": "YulBlock", - "src": "18990:32:1", + "src": "19546:32:0", "statements": [ { "nodeType": "YulAssignment", - "src": "18992:28:1", + "src": "19548:28:0", "value": { "arguments": [ { "name": "account", "nodeType": "YulIdentifier", - "src": "19012:7:1" + "src": "19568:7:0" } ], "functionName": { "name": "extcodesize", "nodeType": "YulIdentifier", - "src": "19000:11:1" + "src": "19556:11:0" }, "nodeType": "YulFunctionCall", - "src": "19000:20:1" + "src": "19556:20:0" }, "variableNames": [ { "name": "size", "nodeType": "YulIdentifier", - "src": "18992:4:1" + "src": "19548:4:0" } ] } @@ -7856,23 +7856,23 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], - "id": 1148, + "id": 640, "nodeType": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "expression": { @@ -7880,18 +7880,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1151, + "id": 643, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1149, + "id": 641, "name": "size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1146, - "src": "19038:4:1", + "referencedDeclaration": 638, + "src": "19595:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7901,57 +7901,57 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1150, + "id": 642, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19045:1:1", + "src": "19602:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "19038:8:1", + "src": "19595:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1144, - "id": 1152, + "functionReturnParameters": 636, + "id": 644, "nodeType": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ] }, "documentation": { - "id": 1138, + "id": 630, "nodeType": "StructuredDocumentation", - "src": "18070:565:1", + "src": "18602:581:0", "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1154, + "id": 646, "implemented": true, "kind": "function", "modifiers": [], "name": "isContract", "nodeType": "FunctionDefinition", "parameters": { - "id": 1141, + "id": 633, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1140, + "id": 632, "mutability": "mutable", "name": "account", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18660:15:1", + "scope": 646, + "src": "19209:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7959,10 +7959,10 @@ "typeString": "address" }, "typeName": { - "id": 1139, + "id": 631, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18660:7:1", + "src": "19209:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -7972,20 +7972,20 @@ "visibility": "internal" } ], - "src": "18659:17:1" + "src": "19208:17:0" }, "returnParameters": { - "id": 1144, + "id": 636, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1143, + "id": 635, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18700:4:1", + "scope": 646, + "src": "19249:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7993,10 +7993,10 @@ "typeString": "bool" }, "typeName": { - "id": 1142, + "id": 634, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "18700:4:1", + "src": "19249:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8005,19 +8005,19 @@ "visibility": "internal" } ], - "src": "18699:6:1" + "src": "19248:6:0" }, - "scope": 1430, - "src": "18640:413:1", + "scope": 922, + "src": "19189:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1187, + "id": 679, "nodeType": "Block", - "src": "20041:320:1", + "src": "20617:326:0", "statements": [ { "expression": { @@ -8027,7 +8027,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1169, + "id": 661, "isConstant": false, "isLValue": false, "isPure": false, @@ -8036,14 +8036,14 @@ "expression": { "arguments": [ { - "id": 1165, + "id": 657, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "20067:4:1", + "src": "20644:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -8051,30 +8051,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1164, + "id": 656, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1163, + "id": 655, "name": "address", "nodeType": "ElementaryTypeName", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": {} } }, - "id": 1166, + "id": 658, "isConstant": false, "isLValue": false, "isPure": false, @@ -8082,21 +8082,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20059:13:1", + "src": "20636:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1167, + "id": 659, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "20059:21:1", + "src": "20636:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8105,18 +8105,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1168, + "id": 660, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20084:6:1", + "referencedDeclaration": 651, + "src": "20661:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "20059:31:1", + "src": "20636:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8124,14 +8124,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e6365", - "id": 1170, + "id": 662, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20092:31:1", + "src": "20669:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9", "typeString": "literal_string \"Address: insufficient balance\"" @@ -8150,7 +8150,7 @@ "typeString": "literal_string \"Address: insufficient balance\"" } ], - "id": 1162, + "id": 654, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -8158,13 +8158,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20051:7:1", + "src": "20628:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1171, + "id": 663, "isConstant": false, "isLValue": false, "isPure": false, @@ -8172,31 +8172,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20051:73:1", + "src": "20628:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1172, + "id": 664, "nodeType": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "assignments": [ - 1174, + 666, null ], "declarations": [ { "constant": false, - "id": 1174, + "id": 666, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1187, - "src": "20213:12:1", + "scope": 679, + "src": "20793:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8204,10 +8204,10 @@ "typeString": "bool" }, "typeName": { - "id": 1173, + "id": 665, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "20213:4:1", + "src": "20793:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8217,19 +8217,19 @@ }, null ], - "id": 1181, + "id": 673, "initialValue": { "arguments": [ { "hexValue": "", - "id": 1179, + "id": 671, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20263:2:1", + "src": "20843:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -8252,31 +8252,31 @@ } ], "expression": { - "id": 1175, + "id": 667, "name": "recipient", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1157, - "src": "20231:9:1", + "referencedDeclaration": 649, + "src": "20811:9:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 1176, + "id": 668, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "20231:14:1", + "src": "20811:14:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1178, + "id": 670, "isConstant": false, "isLValue": false, "isPure": false, @@ -8287,25 +8287,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1177, + "id": 669, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20254:6:1", + "referencedDeclaration": 651, + "src": "20834:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "20231:31:1", + "src": "20811:31:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1180, + "id": 672, "isConstant": false, "isLValue": false, "isPure": false, @@ -8313,7 +8313,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20231:35:1", + "src": "20811:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -8321,18 +8321,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "expression": { "arguments": [ { - "id": 1183, + "id": 675, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1174, - "src": "20284:7:1", + "referencedDeclaration": 666, + "src": "20865:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8340,14 +8340,14 @@ }, { "hexValue": "416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564", - "id": 1184, + "id": 676, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20293:60:1", + "src": "20874:60:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae", "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" @@ -8366,7 +8366,7 @@ "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" } ], - "id": 1182, + "id": 674, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -8374,13 +8374,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20276:7:1", + "src": "20857:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1185, + "id": 677, "isConstant": false, "isLValue": false, "isPure": false, @@ -8388,43 +8388,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20276:78:1", + "src": "20857:78:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1186, + "id": 678, "nodeType": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ] }, "documentation": { - "id": 1155, + "id": 647, "nodeType": "StructuredDocumentation", - "src": "19059:906:1", + "src": "19619:921:0", "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1188, + "id": 680, "implemented": true, "kind": "function", "modifiers": [], "name": "sendValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1160, + "id": 652, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1157, + "id": 649, "mutability": "mutable", "name": "recipient", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "19989:25:1", + "scope": 680, + "src": "20565:25:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8432,10 +8432,10 @@ "typeString": "address payable" }, "typeName": { - "id": 1156, + "id": 648, "name": "address", "nodeType": "ElementaryTypeName", - "src": "19989:15:1", + "src": "20565:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -8446,12 +8446,12 @@ }, { "constant": false, - "id": 1159, + "id": 651, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "20016:14:1", + "scope": 680, + "src": "20592:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8459,10 +8459,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1158, + "id": 650, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "20016:7:1", + "src": "20592:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8471,48 +8471,48 @@ "visibility": "internal" } ], - "src": "19988:43:1" + "src": "20564:43:0" }, "returnParameters": { - "id": 1161, + "id": 653, "nodeType": "ParameterList", "parameters": [], - "src": "20041:0:1" + "src": "20617:0:0" }, - "scope": 1430, - "src": "19970:391:1", + "scope": 922, + "src": "20546:397:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1204, + "id": 696, "nodeType": "Block", - "src": "21191:82:1", + "src": "21793:84:0", "statements": [ { "expression": { "arguments": [ { - "id": 1199, + "id": 691, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1191, - "src": "21219:6:1", + "referencedDeclaration": 683, + "src": "21822:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1200, + "id": 692, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1193, - "src": "21227:4:1", + "referencedDeclaration": 685, + "src": "21830:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8520,14 +8520,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564", - "id": 1201, + "id": 693, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "21233:32:1", + "src": "21836:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", "typeString": "literal_string \"Address: low-level call failed\"" @@ -8550,21 +8550,21 @@ "typeString": "literal_string \"Address: low-level call failed\"" } ], - "id": 1198, + "id": 690, "name": "functionCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, - "src": "21206:12:1", + "referencedDeclaration": 717, + "src": "21809:12:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1202, + "id": 694, "isConstant": false, "isLValue": false, "isPure": false, @@ -8572,44 +8572,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21206:60:1", + "src": "21809:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1197, - "id": 1203, + "functionReturnParameters": 689, + "id": 695, "nodeType": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ] }, "documentation": { - "id": 1189, + "id": 681, "nodeType": "StructuredDocumentation", - "src": "20367:730:1", + "src": "20951:747:0", "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1205, + "id": 697, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1194, + "id": 686, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1191, + "id": 683, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21124:14:1", + "scope": 697, + "src": "21726:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8617,10 +8617,10 @@ "typeString": "address" }, "typeName": { - "id": 1190, + "id": 682, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21124:7:1", + "src": "21726:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8631,12 +8631,12 @@ }, { "constant": false, - "id": 1193, + "id": 685, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21140:17:1", + "scope": 697, + "src": "21742:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8644,10 +8644,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1192, + "id": 684, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21140:5:1", + "src": "21742:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8656,20 +8656,20 @@ "visibility": "internal" } ], - "src": "21123:35:1" + "src": "21725:35:0" }, "returnParameters": { - "id": 1197, + "id": 689, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1196, + "id": 688, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21177:12:1", + "scope": 697, + "src": "21779:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8677,10 +8677,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1195, + "id": 687, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21177:5:1", + "src": "21779:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8689,42 +8689,42 @@ "visibility": "internal" } ], - "src": "21176:14:1" + "src": "21778:14:0" }, - "scope": 1430, - "src": "21102:171:1", + "scope": 922, + "src": "21704:173:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1224, + "id": 716, "nodeType": "Block", - "src": "21612:76:1", + "src": "22224:78:0", "statements": [ { "expression": { "arguments": [ { - "id": 1218, + "id": 710, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1208, - "src": "21651:6:1", + "referencedDeclaration": 700, + "src": "22264:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1219, + "id": 711, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1210, - "src": "21659:4:1", + "referencedDeclaration": 702, + "src": "22272:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8732,14 +8732,14 @@ }, { "hexValue": "30", - "id": 1220, + "id": 712, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "21665:1:1", + "src": "22278:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -8747,12 +8747,12 @@ "value": "0" }, { - "id": 1221, + "id": 713, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1212, - "src": "21668:12:1", + "referencedDeclaration": 704, + "src": "22281:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -8778,21 +8778,21 @@ "typeString": "string memory" } ], - "id": 1217, + "id": 709, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "21629:21:1", + "referencedDeclaration": 787, + "src": "22242:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1222, + "id": 714, "isConstant": false, "isLValue": false, "isPure": false, @@ -8800,44 +8800,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21629:52:1", + "src": "22242:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1216, - "id": 1223, + "functionReturnParameters": 708, + "id": 715, "nodeType": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ] }, "documentation": { - "id": 1206, + "id": 698, "nodeType": "StructuredDocumentation", - "src": "21279:211:1", + "src": "21885:216:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1225, + "id": 717, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1213, + "id": 705, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1208, + "id": 700, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21517:14:1", + "scope": 717, + "src": "22129:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8845,10 +8845,10 @@ "typeString": "address" }, "typeName": { - "id": 1207, + "id": 699, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21517:7:1", + "src": "22129:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8859,12 +8859,12 @@ }, { "constant": false, - "id": 1210, + "id": 702, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21533:17:1", + "scope": 717, + "src": "22145:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8872,10 +8872,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1209, + "id": 701, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21533:5:1", + "src": "22145:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8885,12 +8885,12 @@ }, { "constant": false, - "id": 1212, + "id": 704, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21552:26:1", + "scope": 717, + "src": "22164:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8898,10 +8898,10 @@ "typeString": "string" }, "typeName": { - "id": 1211, + "id": 703, "name": "string", "nodeType": "ElementaryTypeName", - "src": "21552:6:1", + "src": "22164:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -8910,20 +8910,20 @@ "visibility": "internal" } ], - "src": "21516:63:1" + "src": "22128:63:0" }, "returnParameters": { - "id": 1216, + "id": 708, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1215, + "id": 707, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21598:12:1", + "scope": 717, + "src": "22210:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8931,10 +8931,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1214, + "id": 706, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21598:5:1", + "src": "22210:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8943,54 +8943,54 @@ "visibility": "internal" } ], - "src": "21597:14:1" + "src": "22209:14:0" }, - "scope": 1430, - "src": "21495:193:1", + "scope": 922, + "src": "22107:195:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1244, + "id": 736, "nodeType": "Block", - "src": "22163:111:1", + "src": "22790:113:0", "statements": [ { "expression": { "arguments": [ { - "id": 1238, + "id": 730, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1228, - "src": "22202:6:1", + "referencedDeclaration": 720, + "src": "22830:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1239, + "id": 731, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1230, - "src": "22210:4:1", + "referencedDeclaration": 722, + "src": "22838:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1240, + "id": 732, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1232, - "src": "22216:5:1", + "referencedDeclaration": 724, + "src": "22844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8998,14 +8998,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564", - "id": 1241, + "id": 733, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22223:43:1", + "src": "22851:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc", "typeString": "literal_string \"Address: low-level call with value failed\"" @@ -9032,21 +9032,21 @@ "typeString": "literal_string \"Address: low-level call with value failed\"" } ], - "id": 1237, + "id": 729, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "22180:21:1", + "referencedDeclaration": 787, + "src": "22808:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1242, + "id": 734, "isConstant": false, "isLValue": false, "isPure": false, @@ -9054,44 +9054,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22180:87:1", + "src": "22808:87:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1236, - "id": 1243, + "functionReturnParameters": 728, + "id": 735, "nodeType": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ] }, "documentation": { - "id": 1226, + "id": 718, "nodeType": "StructuredDocumentation", - "src": "21694:351:1", + "src": "22310:361:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1245, + "id": 737, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1233, + "id": 725, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1228, + "id": 720, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22081:14:1", + "scope": 737, + "src": "22708:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9099,10 +9099,10 @@ "typeString": "address" }, "typeName": { - "id": 1227, + "id": 719, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22081:7:1", + "src": "22708:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9113,12 +9113,12 @@ }, { "constant": false, - "id": 1230, + "id": 722, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22097:17:1", + "scope": 737, + "src": "22724:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9126,10 +9126,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1229, + "id": 721, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22097:5:1", + "src": "22724:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9139,12 +9139,12 @@ }, { "constant": false, - "id": 1232, + "id": 724, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22116:13:1", + "scope": 737, + "src": "22743:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9152,10 +9152,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1231, + "id": 723, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22116:7:1", + "src": "22743:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9164,20 +9164,20 @@ "visibility": "internal" } ], - "src": "22080:50:1" + "src": "22707:50:0" }, "returnParameters": { - "id": 1236, + "id": 728, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1235, + "id": 727, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22149:12:1", + "scope": 737, + "src": "22776:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9185,10 +9185,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1234, + "id": 726, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22149:5:1", + "src": "22776:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9197,19 +9197,19 @@ "visibility": "internal" } ], - "src": "22148:14:1" + "src": "22775:14:0" }, - "scope": 1430, - "src": "22050:224:1", + "scope": 922, + "src": "22677:226:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1294, + "id": 786, "nodeType": "Block", - "src": "22663:382:1", + "src": "23300:389:0", "statements": [ { "expression": { @@ -9219,7 +9219,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1266, + "id": 758, "isConstant": false, "isLValue": false, "isPure": false, @@ -9228,14 +9228,14 @@ "expression": { "arguments": [ { - "id": 1262, + "id": 754, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "22689:4:1", + "src": "23327:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -9243,30 +9243,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1261, + "id": 753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1260, + "id": 752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": {} } }, - "id": 1263, + "id": 755, "isConstant": false, "isLValue": false, "isPure": false, @@ -9274,21 +9274,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22681:13:1", + "src": "23319:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1264, + "id": 756, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "22681:21:1", + "src": "23319:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9297,18 +9297,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1265, + "id": 757, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22706:5:1", + "referencedDeclaration": 744, + "src": "23344:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "22681:30:1", + "src": "23319:30:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9316,14 +9316,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c", - "id": 1267, + "id": 759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22713:40:1", + "src": "23351:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c", "typeString": "literal_string \"Address: insufficient balance for call\"" @@ -9342,7 +9342,7 @@ "typeString": "literal_string \"Address: insufficient balance for call\"" } ], - "id": 1259, + "id": 751, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9350,13 +9350,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22673:7:1", + "src": "23311:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1268, + "id": 760, "isConstant": false, "isLValue": false, "isPure": false, @@ -9364,16 +9364,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22673:81:1", + "src": "23311:81:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1269, + "id": 761, "nodeType": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "expression": { @@ -9381,12 +9381,12 @@ { "arguments": [ { - "id": 1272, + "id": 764, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22783:6:1", + "referencedDeclaration": 740, + "src": "23422:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9400,18 +9400,18 @@ "typeString": "address" } ], - "id": 1271, + "id": 763, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "22772:10:1", + "referencedDeclaration": 646, + "src": "23411:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1273, + "id": 765, "isConstant": false, "isLValue": false, "isPure": false, @@ -9419,7 +9419,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22772:18:1", + "src": "23411:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9428,14 +9428,14 @@ }, { "hexValue": "416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1274, + "id": 766, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22792:31:1", + "src": "23431:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad", "typeString": "literal_string \"Address: call to non-contract\"" @@ -9454,7 +9454,7 @@ "typeString": "literal_string \"Address: call to non-contract\"" } ], - "id": 1270, + "id": 762, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9462,13 +9462,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22764:7:1", + "src": "23403:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1275, + "id": 767, "isConstant": false, "isLValue": false, "isPure": false, @@ -9476,31 +9476,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22764:60:1", + "src": "23403:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1276, + "id": 768, "nodeType": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "assignments": [ - 1278, - 1280 + 770, + 772 ], "declarations": [ { "constant": false, - "id": 1278, + "id": 770, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22895:12:1", + "scope": 786, + "src": "23537:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9508,10 +9508,10 @@ "typeString": "bool" }, "typeName": { - "id": 1277, + "id": 769, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "22895:4:1", + "src": "23537:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9521,12 +9521,12 @@ }, { "constant": false, - "id": 1280, + "id": 772, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22909:23:1", + "scope": 786, + "src": "23551:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9534,10 +9534,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1279, + "id": 771, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22909:5:1", + "src": "23551:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9546,16 +9546,16 @@ "visibility": "internal" } ], - "id": 1287, + "id": 779, "initialValue": { "arguments": [ { - "id": 1285, + "id": 777, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1250, - "src": "22964:4:1", + "referencedDeclaration": 742, + "src": "23606:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9577,31 +9577,31 @@ } ], "expression": { - "id": 1281, + "id": 773, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22936:6:1", + "referencedDeclaration": 740, + "src": "23578:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1282, + "id": 774, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "22936:11:1", + "src": "23578:11:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1284, + "id": 776, "isConstant": false, "isLValue": false, "isPure": false, @@ -9612,25 +9612,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1283, + "id": 775, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22956:5:1", + "referencedDeclaration": 744, + "src": "23598:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "22936:27:1", + "src": "23578:27:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1286, + "id": 778, "isConstant": false, "isLValue": false, "isPure": false, @@ -9638,7 +9638,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22936:33:1", + "src": "23578:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -9646,42 +9646,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "expression": { "arguments": [ { - "id": 1289, + "id": 781, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1278, - "src": "23004:7:1", + "referencedDeclaration": 770, + "src": "23647:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1290, + "id": 782, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1280, - "src": "23013:10:1", + "referencedDeclaration": 772, + "src": "23656:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1291, + "id": 783, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1254, - "src": "23025:12:1", + "referencedDeclaration": 746, + "src": "23668:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -9703,18 +9703,18 @@ "typeString": "string memory" } ], - "id": 1288, + "id": 780, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "22986:17:1", + "referencedDeclaration": 921, + "src": "23629:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1292, + "id": 784, "isConstant": false, "isLValue": false, "isPure": false, @@ -9722,44 +9722,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22986:52:1", + "src": "23629:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1258, - "id": 1293, + "functionReturnParameters": 750, + "id": 785, "nodeType": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ] }, "documentation": { - "id": 1246, + "id": 738, "nodeType": "StructuredDocumentation", - "src": "22280:237:1", + "src": "22911:242:0", "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1295, + "id": 787, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1255, + "id": 747, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1248, + "id": 740, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22553:14:1", + "scope": 787, + "src": "23190:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9767,10 +9767,10 @@ "typeString": "address" }, "typeName": { - "id": 1247, + "id": 739, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22553:7:1", + "src": "23190:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9781,12 +9781,12 @@ }, { "constant": false, - "id": 1250, + "id": 742, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22569:17:1", + "scope": 787, + "src": "23206:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9794,10 +9794,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1249, + "id": 741, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22569:5:1", + "src": "23206:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9807,12 +9807,12 @@ }, { "constant": false, - "id": 1252, + "id": 744, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22588:13:1", + "scope": 787, + "src": "23225:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9820,10 +9820,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1251, + "id": 743, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22588:7:1", + "src": "23225:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9833,12 +9833,12 @@ }, { "constant": false, - "id": 1254, + "id": 746, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22603:26:1", + "scope": 787, + "src": "23240:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9846,10 +9846,10 @@ "typeString": "string" }, "typeName": { - "id": 1253, + "id": 745, "name": "string", "nodeType": "ElementaryTypeName", - "src": "22603:6:1", + "src": "23240:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -9858,20 +9858,20 @@ "visibility": "internal" } ], - "src": "22552:78:1" + "src": "23189:78:0" }, "returnParameters": { - "id": 1258, + "id": 750, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1257, + "id": 749, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22649:12:1", + "scope": 787, + "src": "23286:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9879,10 +9879,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1256, + "id": 748, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22649:5:1", + "src": "23286:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9891,42 +9891,42 @@ "visibility": "internal" } ], - "src": "22648:14:1" + "src": "23285:14:0" }, - "scope": 1430, - "src": "22522:523:1", + "scope": 922, + "src": "23159:530:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1311, + "id": 803, "nodeType": "Block", - "src": "23322:97:1", + "src": "23974:99:0", "statements": [ { "expression": { "arguments": [ { - "id": 1306, + "id": 798, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1298, - "src": "23358:6:1", + "referencedDeclaration": 790, + "src": "24011:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1307, + "id": 799, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1300, - "src": "23366:4:1", + "referencedDeclaration": 792, + "src": "24019:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9934,14 +9934,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564", - "id": 1308, + "id": 800, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23372:39:1", + "src": "24025:39:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0", "typeString": "literal_string \"Address: low-level static call failed\"" @@ -9964,21 +9964,21 @@ "typeString": "literal_string \"Address: low-level static call failed\"" } ], - "id": 1305, + "id": 797, "name": "functionStaticCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, - "src": "23339:18:1", + "referencedDeclaration": 839, + "src": "23992:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) view returns (bytes memory)" } }, - "id": 1309, + "id": 801, "isConstant": false, "isLValue": false, "isPure": false, @@ -9986,44 +9986,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23339:73:1", + "src": "23992:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1304, - "id": 1310, + "functionReturnParameters": 796, + "id": 802, "nodeType": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ] }, "documentation": { - "id": 1296, + "id": 788, "nodeType": "StructuredDocumentation", - "src": "23051:166:1", + "src": "23697:171:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1312, + "id": 804, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1301, + "id": 793, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1298, + "id": 790, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23250:14:1", + "scope": 804, + "src": "23902:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10031,10 +10031,10 @@ "typeString": "address" }, "typeName": { - "id": 1297, + "id": 789, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23250:7:1", + "src": "23902:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10045,12 +10045,12 @@ }, { "constant": false, - "id": 1300, + "id": 792, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23266:17:1", + "scope": 804, + "src": "23918:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10058,10 +10058,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1299, + "id": 791, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23266:5:1", + "src": "23918:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10070,20 +10070,20 @@ "visibility": "internal" } ], - "src": "23249:35:1" + "src": "23901:35:0" }, "returnParameters": { - "id": 1304, + "id": 796, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1303, + "id": 795, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23308:12:1", + "scope": 804, + "src": "23960:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10091,10 +10091,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1302, + "id": 794, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23308:5:1", + "src": "23960:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10103,19 +10103,19 @@ "visibility": "internal" } ], - "src": "23307:14:1" + "src": "23959:14:0" }, - "scope": 1430, - "src": "23222:197:1", + "scope": 922, + "src": "23874:199:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1346, + "id": 838, "nodeType": "Block", - "src": "23731:288:1", + "src": "24393:294:0", "statements": [ { "expression": { @@ -10123,12 +10123,12 @@ { "arguments": [ { - "id": 1326, + "id": 818, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23760:6:1", + "referencedDeclaration": 807, + "src": "24423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10142,18 +10142,18 @@ "typeString": "address" } ], - "id": 1325, + "id": 817, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "23749:10:1", + "referencedDeclaration": 646, + "src": "24412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1327, + "id": 819, "isConstant": false, "isLValue": false, "isPure": false, @@ -10161,7 +10161,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23749:18:1", + "src": "24412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10170,14 +10170,14 @@ }, { "hexValue": "416464726573733a207374617469632063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1328, + "id": 820, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23769:38:1", + "src": "24432:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c79cc78e4f16ce3933a42b84c73868f93bb4a59c031a0acf576679de98c608a9", "typeString": "literal_string \"Address: static call to non-contract\"" @@ -10196,7 +10196,7 @@ "typeString": "literal_string \"Address: static call to non-contract\"" } ], - "id": 1324, + "id": 816, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -10204,13 +10204,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "23741:7:1", + "src": "24404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1329, + "id": 821, "isConstant": false, "isLValue": false, "isPure": false, @@ -10218,31 +10218,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23741:67:1", + "src": "24404:67:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1330, + "id": 822, "nodeType": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "assignments": [ - 1332, - 1334 + 824, + 826 ], "declarations": [ { "constant": false, - "id": 1332, + "id": 824, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23879:12:1", + "scope": 838, + "src": "24545:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10250,10 +10250,10 @@ "typeString": "bool" }, "typeName": { - "id": 1331, + "id": 823, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "23879:4:1", + "src": "24545:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10263,12 +10263,12 @@ }, { "constant": false, - "id": 1334, + "id": 826, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23893:23:1", + "scope": 838, + "src": "24559:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10276,10 +10276,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1333, + "id": 825, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23893:5:1", + "src": "24559:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10288,16 +10288,16 @@ "visibility": "internal" } ], - "id": 1339, + "id": 831, "initialValue": { "arguments": [ { - "id": 1337, + "id": 829, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1317, - "src": "23938:4:1", + "referencedDeclaration": 809, + "src": "24604:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10312,31 +10312,31 @@ } ], "expression": { - "id": 1335, + "id": 827, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23920:6:1", + "referencedDeclaration": 807, + "src": "24586:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1336, + "id": 828, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "staticcall", "nodeType": "MemberAccess", - "src": "23920:17:1", + "src": "24586:17:0", "typeDescriptions": { "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) view returns (bool,bytes memory)" } }, - "id": 1338, + "id": 830, "isConstant": false, "isLValue": false, "isPure": false, @@ -10344,7 +10344,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23920:23:1", + "src": "24586:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10352,42 +10352,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "expression": { "arguments": [ { - "id": 1341, + "id": 833, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "23978:7:1", + "referencedDeclaration": 824, + "src": "24645:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1342, + "id": 834, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1334, - "src": "23987:10:1", + "referencedDeclaration": 826, + "src": "24654:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1343, + "id": 835, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1319, - "src": "23999:12:1", + "referencedDeclaration": 811, + "src": "24666:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10409,18 +10409,18 @@ "typeString": "string memory" } ], - "id": 1340, + "id": 832, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "23960:17:1", + "referencedDeclaration": 921, + "src": "24627:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1344, + "id": 836, "isConstant": false, "isLValue": false, "isPure": false, @@ -10428,44 +10428,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23960:52:1", + "src": "24627:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1323, - "id": 1345, + "functionReturnParameters": 815, + "id": 837, "nodeType": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ] }, "documentation": { - "id": 1313, + "id": 805, "nodeType": "StructuredDocumentation", - "src": "23425:173:1", + "src": "24081:178:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1347, + "id": 839, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1320, + "id": 812, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1315, + "id": 807, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23631:14:1", + "scope": 839, + "src": "24293:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10473,10 +10473,10 @@ "typeString": "address" }, "typeName": { - "id": 1314, + "id": 806, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23631:7:1", + "src": "24293:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10487,12 +10487,12 @@ }, { "constant": false, - "id": 1317, + "id": 809, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23647:17:1", + "scope": 839, + "src": "24309:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10500,10 +10500,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1316, + "id": 808, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23647:5:1", + "src": "24309:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10513,12 +10513,12 @@ }, { "constant": false, - "id": 1319, + "id": 811, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23666:26:1", + "scope": 839, + "src": "24328:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10526,10 +10526,10 @@ "typeString": "string" }, "typeName": { - "id": 1318, + "id": 810, "name": "string", "nodeType": "ElementaryTypeName", - "src": "23666:6:1", + "src": "24328:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10538,20 +10538,20 @@ "visibility": "internal" } ], - "src": "23630:63:1" + "src": "24292:63:0" }, "returnParameters": { - "id": 1323, + "id": 815, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1322, + "id": 814, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23717:12:1", + "scope": 839, + "src": "24379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10559,10 +10559,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1321, + "id": 813, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23717:5:1", + "src": "24379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10571,42 +10571,42 @@ "visibility": "internal" } ], - "src": "23716:14:1" + "src": "24378:14:0" }, - "scope": 1430, - "src": "23603:416:1", + "scope": 922, + "src": "24265:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1363, + "id": 855, "nodeType": "Block", - "src": "24295:101:1", + "src": "24971:103:0", "statements": [ { "expression": { "arguments": [ { - "id": 1358, + "id": 850, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1350, - "src": "24333:6:1", + "referencedDeclaration": 842, + "src": "25010:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1359, + "id": 851, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1352, - "src": "24341:4:1", + "referencedDeclaration": 844, + "src": "25018:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10614,14 +10614,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564", - "id": 1360, + "id": 852, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24347:41:1", + "src": "25024:41:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398", "typeString": "literal_string \"Address: low-level delegate call failed\"" @@ -10644,21 +10644,21 @@ "typeString": "literal_string \"Address: low-level delegate call failed\"" } ], - "id": 1357, + "id": 849, "name": "functionDelegateCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, - "src": "24312:20:1", + "referencedDeclaration": 891, + "src": "24989:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1361, + "id": 853, "isConstant": false, "isLValue": false, "isPure": false, @@ -10666,44 +10666,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24312:77:1", + "src": "24989:77:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1356, - "id": 1362, + "functionReturnParameters": 848, + "id": 854, "nodeType": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ] }, "documentation": { - "id": 1348, + "id": 840, "nodeType": "StructuredDocumentation", - "src": "24025:168:1", + "src": "24695:173:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1364, + "id": 856, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1353, + "id": 845, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1350, + "id": 842, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24228:14:1", + "scope": 856, + "src": "24904:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10711,10 +10711,10 @@ "typeString": "address" }, "typeName": { - "id": 1349, + "id": 841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24228:7:1", + "src": "24904:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10725,12 +10725,12 @@ }, { "constant": false, - "id": 1352, + "id": 844, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24244:17:1", + "scope": 856, + "src": "24920:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10738,10 +10738,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1351, + "id": 843, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24244:5:1", + "src": "24920:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10750,20 +10750,20 @@ "visibility": "internal" } ], - "src": "24227:35:1" + "src": "24903:35:0" }, "returnParameters": { - "id": 1356, + "id": 848, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1355, + "id": 847, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24281:12:1", + "scope": 856, + "src": "24957:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10771,10 +10771,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1354, + "id": 846, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24281:5:1", + "src": "24957:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10783,19 +10783,19 @@ "visibility": "internal" } ], - "src": "24280:14:1" + "src": "24956:14:0" }, - "scope": 1430, - "src": "24198:198:1", + "scope": 922, + "src": "24874:200:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1398, + "id": 890, "nodeType": "Block", - "src": "24707:292:1", + "src": "25393:298:0", "statements": [ { "expression": { @@ -10803,12 +10803,12 @@ { "arguments": [ { - "id": 1378, + "id": 870, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24736:6:1", + "referencedDeclaration": 859, + "src": "25423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10822,18 +10822,18 @@ "typeString": "address" } ], - "id": 1377, + "id": 869, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "24725:10:1", + "referencedDeclaration": 646, + "src": "25412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1379, + "id": 871, "isConstant": false, "isLValue": false, "isPure": false, @@ -10841,7 +10841,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24725:18:1", + "src": "25412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10850,14 +10850,14 @@ }, { "hexValue": "416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1380, + "id": 872, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24745:40:1", + "src": "25432:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b94ded0918034cf8f896e19fa3cfdef1188cd569c577264a3622e49152f88520", "typeString": "literal_string \"Address: delegate call to non-contract\"" @@ -10876,7 +10876,7 @@ "typeString": "literal_string \"Address: delegate call to non-contract\"" } ], - "id": 1376, + "id": 868, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -10884,13 +10884,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "24717:7:1", + "src": "25404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1381, + "id": 873, "isConstant": false, "isLValue": false, "isPure": false, @@ -10898,31 +10898,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24717:69:1", + "src": "25404:69:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1382, + "id": 874, "nodeType": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "assignments": [ - 1384, - 1386 + 876, + 878 ], "declarations": [ { "constant": false, - "id": 1384, + "id": 876, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24857:12:1", + "scope": 890, + "src": "25547:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10930,10 +10930,10 @@ "typeString": "bool" }, "typeName": { - "id": 1383, + "id": 875, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "24857:4:1", + "src": "25547:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10943,12 +10943,12 @@ }, { "constant": false, - "id": 1386, + "id": 878, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24871:23:1", + "scope": 890, + "src": "25561:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10956,10 +10956,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1385, + "id": 877, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24871:5:1", + "src": "25561:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10968,16 +10968,16 @@ "visibility": "internal" } ], - "id": 1391, + "id": 883, "initialValue": { "arguments": [ { - "id": 1389, + "id": 881, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1369, - "src": "24918:4:1", + "referencedDeclaration": 861, + "src": "25608:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10992,31 +10992,31 @@ } ], "expression": { - "id": 1387, + "id": 879, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24898:6:1", + "referencedDeclaration": 859, + "src": "25588:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1388, + "id": 880, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "delegatecall", "nodeType": "MemberAccess", - "src": "24898:19:1", + "src": "25588:19:0", "typeDescriptions": { "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) returns (bool,bytes memory)" } }, - "id": 1390, + "id": 882, "isConstant": false, "isLValue": false, "isPure": false, @@ -11024,7 +11024,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24898:25:1", + "src": "25588:25:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -11032,42 +11032,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "expression": { "arguments": [ { - "id": 1393, + "id": 885, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1384, - "src": "24958:7:1", + "referencedDeclaration": 876, + "src": "25649:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1394, + "id": 886, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1386, - "src": "24967:10:1", + "referencedDeclaration": 878, + "src": "25658:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1395, + "id": 887, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1371, - "src": "24979:12:1", + "referencedDeclaration": 863, + "src": "25670:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -11089,18 +11089,18 @@ "typeString": "string memory" } ], - "id": 1392, + "id": 884, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "24940:17:1", + "referencedDeclaration": 921, + "src": "25631:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1396, + "id": 888, "isConstant": false, "isLValue": false, "isPure": false, @@ -11108,44 +11108,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24940:52:1", + "src": "25631:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1375, - "id": 1397, + "functionReturnParameters": 867, + "id": 889, "nodeType": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ] }, "documentation": { - "id": 1365, + "id": 857, "nodeType": "StructuredDocumentation", - "src": "24402:175:1", + "src": "25082:180:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1399, + "id": 891, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1372, + "id": 864, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1367, + "id": 859, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24612:14:1", + "scope": 891, + "src": "25298:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11153,10 +11153,10 @@ "typeString": "address" }, "typeName": { - "id": 1366, + "id": 858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24612:7:1", + "src": "25298:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -11167,12 +11167,12 @@ }, { "constant": false, - "id": 1369, + "id": 861, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24628:17:1", + "scope": 891, + "src": "25314:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11180,10 +11180,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1368, + "id": 860, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24628:5:1", + "src": "25314:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11193,12 +11193,12 @@ }, { "constant": false, - "id": 1371, + "id": 863, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24647:26:1", + "scope": 891, + "src": "25333:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11206,10 +11206,10 @@ "typeString": "string" }, "typeName": { - "id": 1370, + "id": 862, "name": "string", "nodeType": "ElementaryTypeName", - "src": "24647:6:1", + "src": "25333:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11218,20 +11218,20 @@ "visibility": "internal" } ], - "src": "24611:63:1" + "src": "25297:63:0" }, "returnParameters": { - "id": 1375, + "id": 867, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1374, + "id": 866, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24693:12:1", + "scope": 891, + "src": "25379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11239,10 +11239,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1373, + "id": 865, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24693:5:1", + "src": "25379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11251,37 +11251,37 @@ "visibility": "internal" } ], - "src": "24692:14:1" + "src": "25378:14:0" }, - "scope": 1430, - "src": "24582:417:1", + "scope": 922, + "src": "25268:423:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1428, + "id": 920, "nodeType": "Block", - "src": "25134:596:1", + "src": "25828:613:0", "statements": [ { "condition": { - "id": 1410, + "id": 902, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1401, - "src": "25148:7:1", + "referencedDeclaration": 893, + "src": "25843:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1426, + "id": 918, "nodeType": "Block", - "src": "25205:519:1", + "src": "25902:532:0", "statements": [ { "condition": { @@ -11289,32 +11289,32 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1417, + "id": 909, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1414, + "id": 906, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25289:10:1", + "referencedDeclaration": 895, + "src": "25988:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1415, + "id": 907, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "25289:17:1", + "src": "25988:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11324,41 +11324,41 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1416, + "id": 908, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "25309:1:1", + "src": "26008:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "25289:21:1", + "src": "25988:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1424, + "id": 916, "nodeType": "Block", - "src": "25661:53:1", + "src": "26368:55:0", "statements": [ { "expression": { "arguments": [ { - "id": 1421, + "id": 913, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1405, - "src": "25686:12:1", + "referencedDeclaration": 897, + "src": "26394:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -11372,7 +11372,7 @@ "typeString": "string memory" } ], - "id": 1420, + "id": 912, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -11380,13 +11380,13 @@ 4294967277 ], "referencedDeclaration": 4294967277, - "src": "25679:6:1", + "src": "26387:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", "typeString": "function (string memory) pure" } }, - "id": 1422, + "id": 914, "isConstant": false, "isLValue": false, "isPure": false, @@ -11394,56 +11394,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "25679:20:1", + "src": "26387:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1423, + "id": 915, "nodeType": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ] }, - "id": 1425, + "id": 917, "nodeType": "IfStatement", - "src": "25285:429:1", + "src": "25984:439:0", "trueBody": { - "id": 1419, + "id": 911, "nodeType": "Block", - "src": "25312:343:1", + "src": "26011:351:0", "statements": [ { "AST": { "nodeType": "YulBlock", - "src": "25496:145:1", + "src": "26199:148:0", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "25518:40:1", + "src": "26222:40:0", "value": { "arguments": [ { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25547:10:1" + "src": "26251:10:0" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "25541:5:1" + "src": "26245:5:0" }, "nodeType": "YulFunctionCall", - "src": "25541:17:1" + "src": "26245:17:0" }, "variables": [ { "name": "returndata_size", "nodeType": "YulTypedName", - "src": "25522:15:1", + "src": "26226:15:0", "type": "" } ] @@ -11456,118 +11456,118 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "25590:2:1", + "src": "26295:2:0", "type": "", "value": "32" }, { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25594:10:1" + "src": "26299:10:0" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "25586:3:1" + "src": "26291:3:0" }, "nodeType": "YulFunctionCall", - "src": "25586:19:1" + "src": "26291:19:0" }, { "name": "returndata_size", "nodeType": "YulIdentifier", - "src": "25607:15:1" + "src": "26312:15:0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "25579:6:1" + "src": "26284:6:0" }, "nodeType": "YulFunctionCall", - "src": "25579:44:1" + "src": "26284:44:0" }, "nodeType": "YulExpressionStatement", - "src": "25579:44:1" + "src": "26284:44:0" } ] }, "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], - "id": 1418, + "id": 910, "nodeType": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ] } } ] }, - "id": 1427, + "id": 919, "nodeType": "IfStatement", - "src": "25144:580:1", + "src": "25839:595:0", "trueBody": { - "id": 1413, + "id": 905, "nodeType": "Block", - "src": "25157:42:1", + "src": "25852:44:0", "statements": [ { "expression": { - "id": 1411, + "id": 903, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25178:10:1", + "referencedDeclaration": 895, + "src": "25874:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1409, - "id": 1412, + "functionReturnParameters": 901, + "id": 904, "nodeType": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ] } } ] }, - "id": 1429, + "id": 921, "implemented": true, "kind": "function", "modifiers": [], "name": "_verifyCallResult", "nodeType": "FunctionDefinition", "parameters": { - "id": 1406, + "id": 898, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1401, + "id": 893, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25032:12:1", + "scope": 921, + "src": "25726:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11575,10 +11575,10 @@ "typeString": "bool" }, "typeName": { - "id": 1400, + "id": 892, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "25032:4:1", + "src": "25726:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11588,12 +11588,12 @@ }, { "constant": false, - "id": 1403, + "id": 895, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25046:23:1", + "scope": 921, + "src": "25740:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11601,10 +11601,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1402, + "id": 894, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25046:5:1", + "src": "25740:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11614,12 +11614,12 @@ }, { "constant": false, - "id": 1405, + "id": 897, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25071:26:1", + "scope": 921, + "src": "25765:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11627,10 +11627,10 @@ "typeString": "string" }, "typeName": { - "id": 1404, + "id": 896, "name": "string", "nodeType": "ElementaryTypeName", - "src": "25071:6:1", + "src": "25765:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11639,20 +11639,20 @@ "visibility": "internal" } ], - "src": "25031:67:1" + "src": "25725:67:0" }, "returnParameters": { - "id": 1409, + "id": 901, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1408, + "id": 900, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25120:12:1", + "scope": 921, + "src": "25814:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11660,10 +11660,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1407, + "id": 899, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25120:5:1", + "src": "25814:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11672,20 +11672,20 @@ "visibility": "internal" } ], - "src": "25119:14:1" + "src": "25813:14:0" }, - "scope": 1430, - "src": "25005:725:1", + "scope": 922, + "src": "25699:742:0", "stateMutability": "pure", "virtual": false, "visibility": "private" } ], - "scope": 3499, - "src": "18048:7684:1" + "scope": 2991, + "src": "18579:7865:0" }, { - "id": 1431, + "id": 923, "literals": [ "solidity", ">=", @@ -11696,7 +11696,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "abstract": false, @@ -11704,31 +11704,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1432, + "id": 924, "nodeType": "StructuredDocumentation", - "src": "25824:686:1", + "src": "26541:709:0", "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, "fullyImplemented": true, - "id": 1921, + "id": 1413, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableSet.Set", - "id": 1440, + "id": 932, "members": [ { "constant": false, - "id": 1435, + "id": 927, "mutability": "mutable", "name": "_values", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27033:17:1", + "scope": 932, + "src": "27786:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11737,18 +11737,18 @@ }, "typeName": { "baseType": { - "id": 1433, + "id": 925, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27033:7:1", + "src": "27786:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1434, + "id": 926, "nodeType": "ArrayTypeName", - "src": "27033:9:1", + "src": "27786:9:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", "typeString": "bytes32[]" @@ -11758,12 +11758,12 @@ }, { "constant": false, - "id": 1439, + "id": 931, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27184:37:1", + "scope": 932, + "src": "27941:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11771,28 +11771,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1438, + "id": 930, "keyType": { - "id": 1436, + "id": 928, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27193:7:1", + "src": "27950:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "27184:28:1", + "src": "27941:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1437, + "id": 929, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "27204:7:1", + "src": "27961:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11804,19 +11804,19 @@ ], "name": "Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "26979:249:1", + "scope": 1413, + "src": "27730:256:0", "visibility": "public" }, { "body": { - "id": 1480, + "id": 972, "nodeType": "Block", - "src": "27467:335:1", + "src": "28233:345:0", "statements": [ { "condition": { - "id": 1454, + "id": 946, "isConstant": false, "isLValue": false, "isPure": false, @@ -11824,28 +11824,28 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "27481:22:1", + "src": "28248:22:0", "subExpression": { "arguments": [ { - "id": 1451, + "id": 943, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27492:3:1", + "referencedDeclaration": 935, + "src": "28259:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, { - "id": 1452, + "id": 944, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27497:5:1", + "referencedDeclaration": 937, + "src": "28264:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11855,7 +11855,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -11863,18 +11863,18 @@ "typeString": "bytes32" } ], - "id": 1450, + "id": 942, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "27482:9:1", + "referencedDeclaration": 1071, + "src": "28249:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1453, + "id": 945, "isConstant": false, "isLValue": false, "isPure": false, @@ -11882,7 +11882,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27482:21:1", + "src": "28249:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -11895,52 +11895,52 @@ } }, "falseBody": { - "id": 1478, + "id": 970, "nodeType": "Block", - "src": "27759:37:1", + "src": "28532:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1476, + "id": 968, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27780:5:1", + "src": "28554:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1449, - "id": 1477, + "functionReturnParameters": 941, + "id": 969, "nodeType": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ] }, - "id": 1479, + "id": 971, "nodeType": "IfStatement", - "src": "27477:319:1", + "src": "28244:327:0", "trueBody": { - "id": 1475, + "id": 967, "nodeType": "Block", - "src": "27505:248:1", + "src": "28272:254:0", "statements": [ { "expression": { "arguments": [ { - "id": 1460, + "id": 952, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27536:5:1", + "referencedDeclaration": 937, + "src": "28304:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11956,45 +11956,45 @@ ], "expression": { "expression": { - "id": 1455, + "id": 947, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27519:3:1", + "referencedDeclaration": 935, + "src": "28287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1458, + "id": 950, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27519:11:1", + "referencedDeclaration": 927, + "src": "28287:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1459, + "id": 951, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "27519:16:1", + "src": "28287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_bytes32_$returns$__$", "typeString": "function (bytes32)" } }, - "id": 1461, + "id": 953, "isConstant": false, "isLValue": false, "isPure": false, @@ -12002,20 +12002,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27519:23:1", + "src": "28287:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1462, + "id": 954, "nodeType": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "expression": { - "id": 1471, + "id": 963, "isConstant": false, "isLValue": false, "isPure": false, @@ -12023,39 +12023,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1463, + "id": 955, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27677:3:1", + "referencedDeclaration": 935, + "src": "28448:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1466, + "id": 958, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "27677:12:1", + "referencedDeclaration": 931, + "src": "28448:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1467, + "id": 959, "indexExpression": { - "id": 1465, + "id": 957, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27690:5:1", + "referencedDeclaration": 937, + "src": "28461:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12066,7 +12066,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "27677:19:1", + "src": "28448:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12077,75 +12077,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1468, + "id": 960, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27699:3:1", + "referencedDeclaration": 935, + "src": "28470:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1469, + "id": 961, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27699:11:1", + "referencedDeclaration": 927, + "src": "28470:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1470, + "id": 962, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "27699:18:1", + "src": "28470:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "27677:40:1", + "src": "28448:40:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1472, + "id": 964, "nodeType": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "expression": { "hexValue": "74727565", - "id": 1473, + "id": 965, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27738:4:1", + "src": "28510:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1449, - "id": 1474, + "functionReturnParameters": 941, + "id": 966, "nodeType": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ] } @@ -12153,43 +12153,43 @@ ] }, "documentation": { - "id": 1441, + "id": 933, "nodeType": "StructuredDocumentation", - "src": "27234:159:1", + "src": "27994:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1481, + "id": 973, "implemented": true, "kind": "function", "modifiers": [], "name": "_add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1446, + "id": 938, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1443, + "id": 935, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27412:15:1", + "scope": 973, + "src": "28178:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1442, + "id": 934, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27412:3:1", + "referencedDeclaration": 932, + "src": "28178:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -12197,12 +12197,12 @@ }, { "constant": false, - "id": 1445, + "id": 937, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27429:13:1", + "scope": 973, + "src": "28195:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12210,10 +12210,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1444, + "id": 936, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27429:7:1", + "src": "28195:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12222,20 +12222,20 @@ "visibility": "internal" } ], - "src": "27411:32:1" + "src": "28177:32:0" }, "returnParameters": { - "id": 1449, + "id": 941, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1448, + "id": 940, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27461:4:1", + "scope": 973, + "src": "28227:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12243,10 +12243,10 @@ "typeString": "bool" }, "typeName": { - "id": 1447, + "id": 939, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "27461:4:1", + "src": "28227:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12255,33 +12255,33 @@ "visibility": "internal" } ], - "src": "27460:6:1" + "src": "28226:6:0" }, - "scope": 1921, - "src": "27398:404:1", + "scope": 1413, + "src": "28164:414:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1560, + "id": 1052, "nodeType": "Block", - "src": "28042:1440:1", + "src": "28826:1472:0", "statements": [ { "assignments": [ - 1492 + 984 ], "declarations": [ { "constant": false, - "id": 1492, + "id": 984, "mutability": "mutable", "name": "valueIndex", "nodeType": "VariableDeclaration", - "scope": 1560, - "src": "28152:18:1", + "scope": 1052, + "src": "28938:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12289,10 +12289,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1491, + "id": 983, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28152:7:1", + "src": "28938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12301,43 +12301,43 @@ "visibility": "internal" } ], - "id": 1497, + "id": 989, "initialValue": { "baseExpression": { "expression": { - "id": 1493, + "id": 985, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28173:3:1", + "referencedDeclaration": 976, + "src": "28959:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1494, + "id": 986, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "28173:12:1", + "referencedDeclaration": 931, + "src": "28959:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1496, + "id": 988, "indexExpression": { - "id": 1495, + "id": 987, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "28186:5:1", + "referencedDeclaration": 978, + "src": "28972:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12348,14 +12348,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28173:19:1", + "src": "28959:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "condition": { @@ -12363,18 +12363,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1500, + "id": 992, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1498, + "id": 990, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28207:10:1", + "referencedDeclaration": 984, + "src": "28995:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12384,76 +12384,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1499, + "id": 991, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28221:1:1", + "src": "29009:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "28207:15:1", + "src": "28995:15:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1558, + "id": 1050, "nodeType": "Block", - "src": "29439:37:1", + "src": "30252:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1556, + "id": 1048, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29460:5:1", + "src": "30274:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1490, - "id": 1557, + "functionReturnParameters": 982, + "id": 1049, "nodeType": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ] }, - "id": 1559, + "id": 1051, "nodeType": "IfStatement", - "src": "28203:1273:1", + "src": "28991:1300:0", "trueBody": { - "id": 1555, + "id": 1047, "nodeType": "Block", - "src": "28224:1209:1", + "src": "29012:1234:0", "statements": [ { "assignments": [ - 1502 + 994 ], "declarations": [ { "constant": false, - "id": 1502, + "id": 994, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28564:21:1", + "scope": 1047, + "src": "29357:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12461,10 +12461,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1501, + "id": 993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28564:7:1", + "src": "29357:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12473,24 +12473,24 @@ "visibility": "internal" } ], - "id": 1506, + "id": 998, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1505, + "id": 997, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1503, + "id": 995, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28588:10:1", + "referencedDeclaration": 984, + "src": "29381:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12500,42 +12500,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1504, + "id": 996, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28601:1:1", + "src": "29394:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28588:14:1", + "src": "29381:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "assignments": [ - 1508 + 1000 ], "declarations": [ { "constant": false, - "id": 1508, + "id": 1000, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28616:17:1", + "scope": 1047, + "src": "29410:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12543,10 +12543,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1507, + "id": 999, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28616:7:1", + "src": "29410:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12555,13 +12555,13 @@ "visibility": "internal" } ], - "id": 1514, + "id": 1006, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1513, + "id": 1005, "isConstant": false, "isLValue": false, "isPure": false, @@ -12569,39 +12569,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1509, + "id": 1001, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28636:3:1", + "referencedDeclaration": 976, + "src": "29430:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1510, + "id": 1002, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28636:11:1", + "referencedDeclaration": 927, + "src": "29430:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1511, + "id": 1003, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "28636:18:1", + "src": "29430:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12611,42 +12611,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1512, + "id": 1004, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28657:1:1", + "src": "29451:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28636:22:1", + "src": "29430:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "assignments": [ - 1516 + 1008 ], "declarations": [ { "constant": false, - "id": 1516, + "id": 1008, "mutability": "mutable", "name": "lastvalue", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28898:17:1", + "scope": 1047, + "src": "29697:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12654,10 +12654,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1515, + "id": 1007, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28898:7:1", + "src": "29697:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12666,43 +12666,43 @@ "visibility": "internal" } ], - "id": 1521, + "id": 1013, "initialValue": { "baseExpression": { "expression": { - "id": 1517, + "id": 1009, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28918:3:1", + "referencedDeclaration": 976, + "src": "29717:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1518, + "id": 1010, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28918:11:1", + "referencedDeclaration": 927, + "src": "29717:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1520, + "id": 1012, "indexExpression": { - "id": 1519, + "id": 1011, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1508, - "src": "28930:9:1", + "referencedDeclaration": 1000, + "src": "29729:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12713,18 +12713,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28918:22:1", + "src": "29717:22:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "expression": { - "id": 1528, + "id": 1020, "isConstant": false, "isLValue": false, "isPure": false, @@ -12732,39 +12732,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1522, + "id": 1014, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29032:3:1", + "referencedDeclaration": 976, + "src": "29834:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1525, + "id": 1017, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29032:11:1", + "referencedDeclaration": 927, + "src": "29834:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1526, + "id": 1018, "indexExpression": { - "id": 1524, + "id": 1016, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29044:13:1", + "referencedDeclaration": 994, + "src": "29846:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12775,7 +12775,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29032:26:1", + "src": "29834:26:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12784,30 +12784,30 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1527, + "id": 1019, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29061:9:1", + "referencedDeclaration": 1008, + "src": "29863:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "29032:38:1", + "src": "29834:38:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1529, + "id": 1021, "nodeType": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "expression": { - "id": 1538, + "id": 1030, "isConstant": false, "isLValue": false, "isPure": false, @@ -12815,39 +12815,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1530, + "id": 1022, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29136:3:1", + "referencedDeclaration": 976, + "src": "29940:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1533, + "id": 1025, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29136:12:1", + "referencedDeclaration": 931, + "src": "29940:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1534, + "id": 1026, "indexExpression": { - "id": 1532, + "id": 1024, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29149:9:1", + "referencedDeclaration": 1008, + "src": "29953:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12858,7 +12858,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29136:23:1", + "src": "29940:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12871,18 +12871,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1537, + "id": 1029, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1535, + "id": 1027, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29162:13:1", + "referencedDeclaration": 994, + "src": "29966:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12892,35 +12892,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 1536, + "id": 1028, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29178:1:1", + "src": "29982:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "29162:17:1", + "src": "29966:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "29136:43:1", + "src": "29940:43:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1539, + "id": 1031, "nodeType": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "expression": { @@ -12929,45 +12929,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 1540, + "id": 1032, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29285:3:1", + "referencedDeclaration": 976, + "src": "30092:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1543, + "id": 1035, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29285:11:1", + "referencedDeclaration": 927, + "src": "30092:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1544, + "id": 1036, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "29285:15:1", + "src": "30092:15:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 1545, + "id": 1037, "isConstant": false, "isLValue": false, "isPure": false, @@ -12975,20 +12975,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "29285:17:1", + "src": "30092:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1546, + "id": 1038, "nodeType": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "expression": { - "id": 1551, + "id": 1043, "isConstant": false, "isLValue": false, "isPure": false, @@ -12996,43 +12996,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "29370:26:1", + "src": "30180:26:0", "subExpression": { "baseExpression": { "expression": { - "id": 1547, + "id": 1039, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29377:3:1", + "referencedDeclaration": 976, + "src": "30187:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1548, + "id": 1040, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29377:12:1", + "referencedDeclaration": 931, + "src": "30187:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1550, + "id": 1042, "indexExpression": { - "id": 1549, + "id": 1041, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "29390:5:1", + "referencedDeclaration": 978, + "src": "30200:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13043,7 +13043,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29377:19:1", + "src": "30187:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13054,31 +13054,31 @@ "typeString": "tuple()" } }, - "id": 1552, + "id": 1044, "nodeType": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "expression": { "hexValue": "74727565", - "id": 1553, + "id": 1045, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29418:4:1", + "src": "30230:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1490, - "id": 1554, + "functionReturnParameters": 982, + "id": 1046, "nodeType": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ] } @@ -13086,43 +13086,43 @@ ] }, "documentation": { - "id": 1482, + "id": 974, "nodeType": "StructuredDocumentation", - "src": "27808:157:1", + "src": "28586:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1561, + "id": 1053, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1487, + "id": 979, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1484, + "id": 976, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "27987:15:1", + "scope": 1053, + "src": "28771:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1483, + "id": 975, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27987:3:1", + "referencedDeclaration": 932, + "src": "28771:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13130,12 +13130,12 @@ }, { "constant": false, - "id": 1486, + "id": 978, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28004:13:1", + "scope": 1053, + "src": "28788:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13143,10 +13143,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1485, + "id": 977, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28004:7:1", + "src": "28788:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13155,20 +13155,20 @@ "visibility": "internal" } ], - "src": "27986:32:1" + "src": "28770:32:0" }, "returnParameters": { - "id": 1490, + "id": 982, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1489, + "id": 981, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28036:4:1", + "scope": 1053, + "src": "28820:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13176,10 +13176,10 @@ "typeString": "bool" }, "typeName": { - "id": 1488, + "id": 980, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "28036:4:1", + "src": "28820:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13188,19 +13188,19 @@ "visibility": "internal" } ], - "src": "28035:6:1" + "src": "28819:6:0" }, - "scope": 1921, - "src": "27970:1512:1", + "scope": 1413, + "src": "28754:1544:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1578, + "id": 1070, "nodeType": "Block", - "src": "29642:48:1", + "src": "30463:50:0", "statements": [ { "expression": { @@ -13208,7 +13208,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1576, + "id": 1068, "isConstant": false, "isLValue": false, "isPure": false, @@ -13216,39 +13216,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 1571, + "id": 1063, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1564, - "src": "29659:3:1", + "referencedDeclaration": 1056, + "src": "30481:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1572, + "id": 1064, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29659:12:1", + "referencedDeclaration": 931, + "src": "30481:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1574, + "id": 1066, "indexExpression": { - "id": 1573, + "id": 1065, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1566, - "src": "29672:5:1", + "referencedDeclaration": 1058, + "src": "30494:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13259,7 +13259,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "29659:19:1", + "src": "30481:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13269,71 +13269,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1575, + "id": 1067, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29682:1:1", + "src": "30504:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "29659:24:1", + "src": "30481:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1570, - "id": 1577, + "functionReturnParameters": 1062, + "id": 1069, "nodeType": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ] }, "documentation": { - "id": 1562, + "id": 1054, "nodeType": "StructuredDocumentation", - "src": "29488:70:1", + "src": "30306:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1579, + "id": 1071, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1567, + "id": 1059, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1564, + "id": 1056, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29582:15:1", + "scope": 1071, + "src": "30403:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1563, + "id": 1055, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29582:3:1", + "referencedDeclaration": 932, + "src": "30403:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13341,12 +13341,12 @@ }, { "constant": false, - "id": 1566, + "id": 1058, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29599:13:1", + "scope": 1071, + "src": "30420:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13354,10 +13354,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1565, + "id": 1057, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "29599:7:1", + "src": "30420:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13366,20 +13366,20 @@ "visibility": "internal" } ], - "src": "29581:32:1" + "src": "30402:32:0" }, "returnParameters": { - "id": 1570, + "id": 1062, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1569, + "id": 1061, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29636:4:1", + "scope": 1071, + "src": "30457:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13387,10 +13387,10 @@ "typeString": "bool" }, "typeName": { - "id": 1568, + "id": 1060, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "29636:4:1", + "src": "30457:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13399,127 +13399,127 @@ "visibility": "internal" } ], - "src": "29635:6:1" + "src": "30456:6:0" }, - "scope": 1921, - "src": "29563:127:1", + "scope": 1413, + "src": "30384:129:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1591, + "id": 1083, "nodeType": "Block", - "src": "29836:42:1", + "src": "30664:44:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 1587, + "id": 1079, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1582, - "src": "29853:3:1", + "referencedDeclaration": 1074, + "src": "30682:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1588, + "id": 1080, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29853:11:1", + "referencedDeclaration": 927, + "src": "30682:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1589, + "id": 1081, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "29853:18:1", + "src": "30682:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1586, - "id": 1590, + "functionReturnParameters": 1078, + "id": 1082, "nodeType": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ] }, "documentation": { - "id": 1580, + "id": 1072, "nodeType": "StructuredDocumentation", - "src": "29696:70:1", + "src": "30521:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1592, + "id": 1084, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1583, + "id": 1075, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1582, + "id": 1074, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29788:15:1", + "scope": 1084, + "src": "30616:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1581, + "id": 1073, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29788:3:1", + "referencedDeclaration": 932, + "src": "30616:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, "visibility": "internal" } ], - "src": "29787:17:1" + "src": "30615:17:0" }, "returnParameters": { - "id": 1586, + "id": 1078, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1585, + "id": 1077, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29827:7:1", + "scope": 1084, + "src": "30655:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13527,10 +13527,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1584, + "id": 1076, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "29827:7:1", + "src": "30655:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13539,19 +13539,19 @@ "visibility": "internal" } ], - "src": "29826:9:1" + "src": "30654:9:0" }, - "scope": 1921, - "src": "29771:107:1", + "scope": 1413, + "src": "30599:109:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1616, + "id": 1108, "nodeType": "Block", - "src": "30286:125:1", + "src": "31128:128:0", "statements": [ { "expression": { @@ -13561,7 +13561,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1607, + "id": 1099, "isConstant": false, "isLValue": false, "isPure": false, @@ -13569,39 +13569,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1603, + "id": 1095, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30304:3:1", + "referencedDeclaration": 1087, + "src": "31147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1604, + "id": 1096, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30304:11:1", + "referencedDeclaration": 927, + "src": "31147:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1605, + "id": 1097, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "30304:18:1", + "src": "31147:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13610,18 +13610,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 1606, + "id": 1098, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30325:5:1", + "referencedDeclaration": 1089, + "src": "31168:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "30304:26:1", + "src": "31147:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13629,14 +13629,14 @@ }, { "hexValue": "456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473", - "id": 1608, + "id": 1100, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "30332:36:1", + "src": "31175:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_045d6834e6193a687012a3ad777f612279e549b6945364d9d2324f48610d3cbb", "typeString": "literal_string \"EnumerableSet: index out of bounds\"" @@ -13655,7 +13655,7 @@ "typeString": "literal_string \"EnumerableSet: index out of bounds\"" } ], - "id": 1602, + "id": 1094, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -13663,13 +13663,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "30296:7:1", + "src": "31139:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1609, + "id": 1101, "isConstant": false, "isLValue": false, "isPure": false, @@ -13677,54 +13677,54 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30296:73:1", + "src": "31139:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1610, + "id": 1102, "nodeType": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "expression": { "baseExpression": { "expression": { - "id": 1611, + "id": 1103, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30386:3:1", + "referencedDeclaration": 1087, + "src": "31230:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1612, + "id": 1104, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30386:11:1", + "referencedDeclaration": 927, + "src": "31230:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1614, + "id": 1106, "indexExpression": { - "id": 1613, + "id": 1105, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30398:5:1", + "referencedDeclaration": 1089, + "src": "31242:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13735,57 +13735,57 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "30386:18:1", + "src": "31230:18:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1601, - "id": 1615, + "functionReturnParameters": 1093, + "id": 1107, "nodeType": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ] }, "documentation": { - "id": 1593, + "id": 1085, "nodeType": "StructuredDocumentation", - "src": "29883:322:1", + "src": "30715:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1617, + "id": 1109, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1598, + "id": 1090, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1595, + "id": 1087, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30223:15:1", + "scope": 1109, + "src": "31065:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1594, + "id": 1086, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30223:3:1", + "referencedDeclaration": 932, + "src": "31065:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13793,12 +13793,12 @@ }, { "constant": false, - "id": 1597, + "id": 1089, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30240:13:1", + "scope": 1109, + "src": "31082:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13806,10 +13806,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1596, + "id": 1088, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "30240:7:1", + "src": "31082:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13818,20 +13818,20 @@ "visibility": "internal" } ], - "src": "30222:32:1" + "src": "31064:32:0" }, "returnParameters": { - "id": 1601, + "id": 1093, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1600, + "id": 1092, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30277:7:1", + "scope": 1109, + "src": "31119:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13839,10 +13839,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1599, + "id": 1091, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30277:7:1", + "src": "31119:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13851,40 +13851,40 @@ "visibility": "internal" } ], - "src": "30276:9:1" + "src": "31118:9:0" }, - "scope": 1921, - "src": "30210:201:1", + "scope": 1413, + "src": "31052:204:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableSet.Bytes32Set", - "id": 1620, + "id": 1112, "members": [ { "constant": false, - "id": 1619, + "id": 1111, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1620, - "src": "30464:10:1", + "scope": 1112, + "src": "31314:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1618, + "id": 1110, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30464:3:1", + "referencedDeclaration": 932, + "src": "31314:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13893,53 +13893,53 @@ ], "name": "Bytes32Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "30436:45:1", + "scope": 1413, + "src": "31285:47:0", "visibility": "public" }, { "body": { - "id": 1636, + "id": 1128, "nodeType": "Block", - "src": "30727:47:1", + "src": "31586:49:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1631, + "id": 1123, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1623, - "src": "30749:3:1", + "referencedDeclaration": 1115, + "src": "31609:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1632, + "id": 1124, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "30749:10:1", + "referencedDeclaration": 1111, + "src": "31609:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1633, + "id": 1125, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "30761:5:1", + "referencedDeclaration": 1117, + "src": "31621:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13949,7 +13949,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -13957,18 +13957,18 @@ "typeString": "bytes32" } ], - "id": 1630, + "id": 1122, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "30744:4:1", + "referencedDeclaration": 973, + "src": "31604:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1634, + "id": 1126, "isConstant": false, "isLValue": false, "isPure": false, @@ -13976,58 +13976,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30744:23:1", + "src": "31604:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1629, - "id": 1635, + "functionReturnParameters": 1121, + "id": 1127, "nodeType": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ] }, "documentation": { - "id": 1621, + "id": 1113, "nodeType": "StructuredDocumentation", - "src": "30487:159:1", + "src": "31340:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1637, + "id": 1129, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1626, + "id": 1118, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1623, + "id": 1115, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30664:22:1", + "scope": 1129, + "src": "31523:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1622, + "id": 1114, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30664:10:1", + "referencedDeclaration": 1112, + "src": "31523:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14035,12 +14035,12 @@ }, { "constant": false, - "id": 1625, + "id": 1117, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30688:13:1", + "scope": 1129, + "src": "31547:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14048,10 +14048,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1624, + "id": 1116, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30688:7:1", + "src": "31547:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14060,20 +14060,20 @@ "visibility": "internal" } ], - "src": "30663:39:1" + "src": "31522:39:0" }, "returnParameters": { - "id": 1629, + "id": 1121, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1628, + "id": 1120, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30721:4:1", + "scope": 1129, + "src": "31580:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14081,10 +14081,10 @@ "typeString": "bool" }, "typeName": { - "id": 1627, + "id": 1119, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "30721:4:1", + "src": "31580:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14093,57 +14093,57 @@ "visibility": "internal" } ], - "src": "30720:6:1" + "src": "31579:6:0" }, - "scope": 1921, - "src": "30651:123:1", + "scope": 1413, + "src": "31510:125:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1653, + "id": 1145, "nodeType": "Block", - "src": "31021:50:1", + "src": "31890:52:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1648, + "id": 1140, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1640, - "src": "31046:3:1", + "referencedDeclaration": 1132, + "src": "31916:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1649, + "id": 1141, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31046:10:1", + "referencedDeclaration": 1111, + "src": "31916:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1650, + "id": 1142, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1642, - "src": "31058:5:1", + "referencedDeclaration": 1134, + "src": "31928:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14153,7 +14153,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14161,18 +14161,18 @@ "typeString": "bytes32" } ], - "id": 1647, + "id": 1139, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "31038:7:1", + "referencedDeclaration": 1053, + "src": "31908:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1651, + "id": 1143, "isConstant": false, "isLValue": false, "isPure": false, @@ -14180,58 +14180,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31038:26:1", + "src": "31908:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1646, - "id": 1652, + "functionReturnParameters": 1138, + "id": 1144, "nodeType": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ] }, "documentation": { - "id": 1638, + "id": 1130, "nodeType": "StructuredDocumentation", - "src": "30780:157:1", + "src": "31643:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1654, + "id": 1146, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1643, + "id": 1135, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1640, + "id": 1132, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30958:22:1", + "scope": 1146, + "src": "31827:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1639, + "id": 1131, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30958:10:1", + "referencedDeclaration": 1112, + "src": "31827:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14239,12 +14239,12 @@ }, { "constant": false, - "id": 1642, + "id": 1134, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30982:13:1", + "scope": 1146, + "src": "31851:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14252,10 +14252,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1641, + "id": 1133, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30982:7:1", + "src": "31851:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14264,20 +14264,20 @@ "visibility": "internal" } ], - "src": "30957:39:1" + "src": "31826:39:0" }, "returnParameters": { - "id": 1646, + "id": 1138, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1645, + "id": 1137, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "31015:4:1", + "scope": 1146, + "src": "31884:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14285,10 +14285,10 @@ "typeString": "bool" }, "typeName": { - "id": 1644, + "id": 1136, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31015:4:1", + "src": "31884:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14297,57 +14297,57 @@ "visibility": "internal" } ], - "src": "31014:6:1" + "src": "31883:6:0" }, - "scope": 1921, - "src": "30942:129:1", + "scope": 1413, + "src": "31811:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1670, + "id": 1162, "nodeType": "Block", - "src": "31238:52:1", + "src": "32114:54:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1665, + "id": 1157, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "31265:3:1", + "referencedDeclaration": 1149, + "src": "32142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1666, + "id": 1158, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31265:10:1", + "referencedDeclaration": 1111, + "src": "32142:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1667, + "id": 1159, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1659, - "src": "31277:5:1", + "referencedDeclaration": 1151, + "src": "32154:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14357,7 +14357,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14365,18 +14365,18 @@ "typeString": "bytes32" } ], - "id": 1664, + "id": 1156, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "31255:9:1", + "referencedDeclaration": 1071, + "src": "32132:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1668, + "id": 1160, "isConstant": false, "isLValue": false, "isPure": false, @@ -14384,58 +14384,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31255:28:1", + "src": "32132:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1663, - "id": 1669, + "functionReturnParameters": 1155, + "id": 1161, "nodeType": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ] }, "documentation": { - "id": 1655, + "id": 1147, "nodeType": "StructuredDocumentation", - "src": "31077:70:1", + "src": "31950:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1671, + "id": 1163, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1660, + "id": 1152, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1657, + "id": 1149, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31170:22:1", + "scope": 1163, + "src": "32046:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1656, + "id": 1148, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31170:10:1", + "referencedDeclaration": 1112, + "src": "32046:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14443,12 +14443,12 @@ }, { "constant": false, - "id": 1659, + "id": 1151, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31194:13:1", + "scope": 1163, + "src": "32070:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14456,10 +14456,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1658, + "id": 1150, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31194:7:1", + "src": "32070:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14468,20 +14468,20 @@ "visibility": "internal" } ], - "src": "31169:39:1" + "src": "32045:39:0" }, "returnParameters": { - "id": 1663, + "id": 1155, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1662, + "id": 1154, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31232:4:1", + "scope": 1163, + "src": "32108:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14489,10 +14489,10 @@ "typeString": "bool" }, "typeName": { - "id": 1661, + "id": 1153, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31232:4:1", + "src": "32108:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14501,47 +14501,47 @@ "visibility": "internal" } ], - "src": "31231:6:1" + "src": "32107:6:0" }, - "scope": 1921, - "src": "31152:138:1", + "scope": 1413, + "src": "32028:140:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1684, + "id": 1176, "nodeType": "Block", - "src": "31443:43:1", + "src": "32326:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1680, + "id": 1172, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "31468:3:1", + "referencedDeclaration": 1166, + "src": "32352:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1681, + "id": 1173, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31468:10:1", + "referencedDeclaration": 1111, + "src": "32352:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -14549,22 +14549,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1679, + "id": 1171, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "31460:7:1", + "referencedDeclaration": 1084, + "src": "32344:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1682, + "id": 1174, "isConstant": false, "isLValue": false, "isPure": false, @@ -14572,78 +14572,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31460:19:1", + "src": "32344:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1678, - "id": 1683, + "functionReturnParameters": 1170, + "id": 1175, "nodeType": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ] }, "documentation": { - "id": 1672, + "id": 1164, "nodeType": "StructuredDocumentation", - "src": "31296:70:1", + "src": "32176:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1685, + "id": 1177, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1675, + "id": 1167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1674, + "id": 1166, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31387:22:1", + "scope": 1177, + "src": "32270:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1673, + "id": 1165, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31387:10:1", + "referencedDeclaration": 1112, + "src": "32270:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, "visibility": "internal" } ], - "src": "31386:24:1" + "src": "32269:24:0" }, "returnParameters": { - "id": 1678, + "id": 1170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1677, + "id": 1169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31434:7:1", + "scope": 1177, + "src": "32317:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14651,10 +14651,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1676, + "id": 1168, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31434:7:1", + "src": "32317:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14663,57 +14663,57 @@ "visibility": "internal" } ], - "src": "31433:9:1" + "src": "32316:9:0" }, - "scope": 1921, - "src": "31371:115:1", + "scope": 1413, + "src": "32254:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1701, + "id": 1193, "nodeType": "Block", - "src": "31901:46:1", + "src": "32798:48:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1696, + "id": 1188, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1688, - "src": "31922:3:1", + "referencedDeclaration": 1180, + "src": "32820:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1697, + "id": 1189, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31922:10:1", + "referencedDeclaration": 1111, + "src": "32820:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1698, + "id": 1190, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "31934:5:1", + "referencedDeclaration": 1182, + "src": "32832:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14723,7 +14723,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14731,18 +14731,18 @@ "typeString": "uint256" } ], - "id": 1695, + "id": 1187, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "31918:3:1", + "referencedDeclaration": 1109, + "src": "32816:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1699, + "id": 1191, "isConstant": false, "isLValue": false, "isPure": false, @@ -14750,58 +14750,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31918:22:1", + "src": "32816:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1694, - "id": 1700, + "functionReturnParameters": 1186, + "id": 1192, "nodeType": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ] }, "documentation": { - "id": 1686, + "id": 1178, "nodeType": "StructuredDocumentation", - "src": "31491:322:1", + "src": "32378:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1702, + "id": 1194, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1691, + "id": 1183, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1688, + "id": 1180, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31830:22:1", + "scope": 1194, + "src": "32727:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1687, + "id": 1179, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31830:10:1", + "referencedDeclaration": 1112, + "src": "32727:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14809,12 +14809,12 @@ }, { "constant": false, - "id": 1690, + "id": 1182, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31854:13:1", + "scope": 1194, + "src": "32751:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14822,10 +14822,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1689, + "id": 1181, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31854:7:1", + "src": "32751:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14834,20 +14834,20 @@ "visibility": "internal" } ], - "src": "31829:39:1" + "src": "32726:39:0" }, "returnParameters": { - "id": 1694, + "id": 1186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1693, + "id": 1185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31892:7:1", + "scope": 1194, + "src": "32789:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14855,10 +14855,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1692, + "id": 1184, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31892:7:1", + "src": "32789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14867,40 +14867,40 @@ "visibility": "internal" } ], - "src": "31891:9:1" + "src": "32788:9:0" }, - "scope": 1921, - "src": "31818:129:1", + "scope": 1413, + "src": "32715:131:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.AddressSet", - "id": 1705, + "id": 1197, "members": [ { "constant": false, - "id": 1704, + "id": 1196, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1705, - "src": "32000:10:1", + "scope": 1197, + "src": "32904:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1703, + "id": 1195, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "32000:3:1", + "referencedDeclaration": 932, + "src": "32904:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -14909,43 +14909,43 @@ ], "name": "AddressSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "31972:45:1", + "scope": 1413, + "src": "32875:47:0", "visibility": "public" }, { "body": { - "id": 1730, + "id": 1222, "nodeType": "Block", - "src": "32263:74:1", + "src": "33176:76:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1716, + "id": 1208, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1708, - "src": "32285:3:1", + "referencedDeclaration": 1200, + "src": "33199:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1717, + "id": 1209, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32285:10:1", + "referencedDeclaration": 1196, + "src": "33199:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -14956,12 +14956,12 @@ { "arguments": [ { - "id": 1724, + "id": 1216, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1710, - "src": "32321:5:1", + "referencedDeclaration": 1202, + "src": "33235:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14975,26 +14975,26 @@ "typeString": "address" } ], - "id": 1723, + "id": 1215, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1722, + "id": 1214, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": {} } }, - "id": 1725, + "id": 1217, "isConstant": false, "isLValue": false, "isPure": false, @@ -15002,7 +15002,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32313:14:1", + "src": "33227:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15017,26 +15017,26 @@ "typeString": "uint160" } ], - "id": 1721, + "id": 1213, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1720, + "id": 1212, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": {} } }, - "id": 1726, + "id": 1218, "isConstant": false, "isLValue": false, "isPure": false, @@ -15044,7 +15044,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32305:23:1", + "src": "33219:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15059,26 +15059,26 @@ "typeString": "uint256" } ], - "id": 1719, + "id": 1211, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1718, + "id": 1210, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": {} } }, - "id": 1727, + "id": 1219, "isConstant": false, "isLValue": false, "isPure": false, @@ -15086,7 +15086,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32297:32:1", + "src": "33211:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15097,7 +15097,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15105,18 +15105,18 @@ "typeString": "bytes32" } ], - "id": 1715, + "id": 1207, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "32280:4:1", + "referencedDeclaration": 973, + "src": "33194:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1728, + "id": 1220, "isConstant": false, "isLValue": false, "isPure": false, @@ -15124,58 +15124,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32280:50:1", + "src": "33194:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1714, - "id": 1729, + "functionReturnParameters": 1206, + "id": 1221, "nodeType": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ] }, "documentation": { - "id": 1706, + "id": 1198, "nodeType": "StructuredDocumentation", - "src": "32023:159:1", + "src": "32930:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1731, + "id": 1223, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1711, + "id": 1203, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1708, + "id": 1200, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32200:22:1", + "scope": 1223, + "src": "33113:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1707, + "id": 1199, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32200:10:1", + "referencedDeclaration": 1197, + "src": "33113:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15183,12 +15183,12 @@ }, { "constant": false, - "id": 1710, + "id": 1202, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32224:13:1", + "scope": 1223, + "src": "33137:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15196,10 +15196,10 @@ "typeString": "address" }, "typeName": { - "id": 1709, + "id": 1201, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32224:7:1", + "src": "33137:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15209,20 +15209,20 @@ "visibility": "internal" } ], - "src": "32199:39:1" + "src": "33112:39:0" }, "returnParameters": { - "id": 1714, + "id": 1206, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1713, + "id": 1205, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32257:4:1", + "scope": 1223, + "src": "33170:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15230,10 +15230,10 @@ "typeString": "bool" }, "typeName": { - "id": 1712, + "id": 1204, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32257:4:1", + "src": "33170:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15242,47 +15242,47 @@ "visibility": "internal" } ], - "src": "32256:6:1" + "src": "33169:6:0" }, - "scope": 1921, - "src": "32187:150:1", + "scope": 1413, + "src": "33100:152:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1756, + "id": 1248, "nodeType": "Block", - "src": "32584:77:1", + "src": "33507:79:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1742, + "id": 1234, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1734, - "src": "32609:3:1", + "referencedDeclaration": 1226, + "src": "33533:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1743, + "id": 1235, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32609:10:1", + "referencedDeclaration": 1196, + "src": "33533:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15293,12 +15293,12 @@ { "arguments": [ { - "id": 1750, + "id": 1242, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1736, - "src": "32645:5:1", + "referencedDeclaration": 1228, + "src": "33569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15312,26 +15312,26 @@ "typeString": "address" } ], - "id": 1749, + "id": 1241, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1748, + "id": 1240, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": {} } }, - "id": 1751, + "id": 1243, "isConstant": false, "isLValue": false, "isPure": false, @@ -15339,7 +15339,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32637:14:1", + "src": "33561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15354,26 +15354,26 @@ "typeString": "uint160" } ], - "id": 1747, + "id": 1239, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1746, + "id": 1238, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": {} } }, - "id": 1752, + "id": 1244, "isConstant": false, "isLValue": false, "isPure": false, @@ -15381,7 +15381,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32629:23:1", + "src": "33553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15396,26 +15396,26 @@ "typeString": "uint256" } ], - "id": 1745, + "id": 1237, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1744, + "id": 1236, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": {} } }, - "id": 1753, + "id": 1245, "isConstant": false, "isLValue": false, "isPure": false, @@ -15423,7 +15423,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32621:32:1", + "src": "33545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15434,7 +15434,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15442,18 +15442,18 @@ "typeString": "bytes32" } ], - "id": 1741, + "id": 1233, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "32601:7:1", + "referencedDeclaration": 1053, + "src": "33525:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1754, + "id": 1246, "isConstant": false, "isLValue": false, "isPure": false, @@ -15461,58 +15461,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32601:53:1", + "src": "33525:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1740, - "id": 1755, + "functionReturnParameters": 1232, + "id": 1247, "nodeType": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ] }, "documentation": { - "id": 1732, + "id": 1224, "nodeType": "StructuredDocumentation", - "src": "32343:157:1", + "src": "33260:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1757, + "id": 1249, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1737, + "id": 1229, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1734, + "id": 1226, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32521:22:1", + "scope": 1249, + "src": "33444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1733, + "id": 1225, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32521:10:1", + "referencedDeclaration": 1197, + "src": "33444:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15520,12 +15520,12 @@ }, { "constant": false, - "id": 1736, + "id": 1228, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32545:13:1", + "scope": 1249, + "src": "33468:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15533,10 +15533,10 @@ "typeString": "address" }, "typeName": { - "id": 1735, + "id": 1227, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32545:7:1", + "src": "33468:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15546,20 +15546,20 @@ "visibility": "internal" } ], - "src": "32520:39:1" + "src": "33443:39:0" }, "returnParameters": { - "id": 1740, + "id": 1232, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1739, + "id": 1231, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32578:4:1", + "scope": 1249, + "src": "33501:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15567,10 +15567,10 @@ "typeString": "bool" }, "typeName": { - "id": 1738, + "id": 1230, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32578:4:1", + "src": "33501:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15579,47 +15579,47 @@ "visibility": "internal" } ], - "src": "32577:6:1" + "src": "33500:6:0" }, - "scope": 1921, - "src": "32505:156:1", + "scope": 1413, + "src": "33428:158:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1782, + "id": 1274, "nodeType": "Block", - "src": "32828:79:1", + "src": "33758:81:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1768, + "id": 1260, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1760, - "src": "32855:3:1", + "referencedDeclaration": 1252, + "src": "33786:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1769, + "id": 1261, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32855:10:1", + "referencedDeclaration": 1196, + "src": "33786:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15630,12 +15630,12 @@ { "arguments": [ { - "id": 1776, + "id": 1268, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1762, - "src": "32891:5:1", + "referencedDeclaration": 1254, + "src": "33822:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15649,26 +15649,26 @@ "typeString": "address" } ], - "id": 1775, + "id": 1267, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1774, + "id": 1266, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": {} } }, - "id": 1777, + "id": 1269, "isConstant": false, "isLValue": false, "isPure": false, @@ -15676,7 +15676,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32883:14:1", + "src": "33814:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15691,26 +15691,26 @@ "typeString": "uint160" } ], - "id": 1773, + "id": 1265, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1772, + "id": 1264, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": {} } }, - "id": 1778, + "id": 1270, "isConstant": false, "isLValue": false, "isPure": false, @@ -15718,7 +15718,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32875:23:1", + "src": "33806:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15733,26 +15733,26 @@ "typeString": "uint256" } ], - "id": 1771, + "id": 1263, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1770, + "id": 1262, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": {} } }, - "id": 1779, + "id": 1271, "isConstant": false, "isLValue": false, "isPure": false, @@ -15760,7 +15760,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32867:32:1", + "src": "33798:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15771,7 +15771,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15779,18 +15779,18 @@ "typeString": "bytes32" } ], - "id": 1767, + "id": 1259, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "32845:9:1", + "referencedDeclaration": 1071, + "src": "33776:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1780, + "id": 1272, "isConstant": false, "isLValue": false, "isPure": false, @@ -15798,58 +15798,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32845:55:1", + "src": "33776:55:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1766, - "id": 1781, + "functionReturnParameters": 1258, + "id": 1273, "nodeType": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ] }, "documentation": { - "id": 1758, + "id": 1250, "nodeType": "StructuredDocumentation", - "src": "32667:70:1", + "src": "33594:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1783, + "id": 1275, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1763, + "id": 1255, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1760, + "id": 1252, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32760:22:1", + "scope": 1275, + "src": "33690:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1759, + "id": 1251, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32760:10:1", + "referencedDeclaration": 1197, + "src": "33690:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15857,12 +15857,12 @@ }, { "constant": false, - "id": 1762, + "id": 1254, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32784:13:1", + "scope": 1275, + "src": "33714:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15870,10 +15870,10 @@ "typeString": "address" }, "typeName": { - "id": 1761, + "id": 1253, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32784:7:1", + "src": "33714:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15883,20 +15883,20 @@ "visibility": "internal" } ], - "src": "32759:39:1" + "src": "33689:39:0" }, "returnParameters": { - "id": 1766, + "id": 1258, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1765, + "id": 1257, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32822:4:1", + "scope": 1275, + "src": "33752:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15904,10 +15904,10 @@ "typeString": "bool" }, "typeName": { - "id": 1764, + "id": 1256, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32822:4:1", + "src": "33752:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15916,47 +15916,47 @@ "visibility": "internal" } ], - "src": "32821:6:1" + "src": "33751:6:0" }, - "scope": 1921, - "src": "32742:165:1", + "scope": 1413, + "src": "33672:167:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1796, + "id": 1288, "nodeType": "Block", - "src": "33060:43:1", + "src": "33997:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1792, + "id": 1284, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1786, - "src": "33085:3:1", + "referencedDeclaration": 1278, + "src": "34023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1793, + "id": 1285, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33085:10:1", + "referencedDeclaration": 1196, + "src": "34023:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -15964,22 +15964,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1791, + "id": 1283, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "33077:7:1", + "referencedDeclaration": 1084, + "src": "34015:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1794, + "id": 1286, "isConstant": false, "isLValue": false, "isPure": false, @@ -15987,78 +15987,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33077:19:1", + "src": "34015:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1790, - "id": 1795, + "functionReturnParameters": 1282, + "id": 1287, "nodeType": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ] }, "documentation": { - "id": 1784, + "id": 1276, "nodeType": "StructuredDocumentation", - "src": "32913:70:1", + "src": "33847:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1797, + "id": 1289, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1787, + "id": 1279, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1786, + "id": 1278, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33004:22:1", + "scope": 1289, + "src": "33941:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1785, + "id": 1277, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33004:10:1", + "referencedDeclaration": 1197, + "src": "33941:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, "visibility": "internal" } ], - "src": "33003:24:1" + "src": "33940:24:0" }, "returnParameters": { - "id": 1790, + "id": 1282, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1789, + "id": 1281, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33051:7:1", + "scope": 1289, + "src": "33988:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16066,10 +16066,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1788, + "id": 1280, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33051:7:1", + "src": "33988:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16078,19 +16078,19 @@ "visibility": "internal" } ], - "src": "33050:9:1" + "src": "33987:9:0" }, - "scope": 1921, - "src": "32988:115:1", + "scope": 1413, + "src": "33925:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1822, + "id": 1314, "nodeType": "Block", - "src": "33518:73:1", + "src": "34469:75:0", "statements": [ { "expression": { @@ -16103,38 +16103,38 @@ "arguments": [ { "expression": { - "id": 1814, + "id": 1306, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1800, - "src": "33563:3:1", + "referencedDeclaration": 1292, + "src": "34515:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1815, + "id": 1307, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33563:10:1", + "referencedDeclaration": 1196, + "src": "34515:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1816, + "id": 1308, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1802, - "src": "33575:5:1", + "referencedDeclaration": 1294, + "src": "34527:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16144,7 +16144,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16152,18 +16152,18 @@ "typeString": "uint256" } ], - "id": 1813, + "id": 1305, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "33559:3:1", + "referencedDeclaration": 1109, + "src": "34511:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1817, + "id": 1309, "isConstant": false, "isLValue": false, "isPure": false, @@ -16171,7 +16171,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33559:22:1", + "src": "34511:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16186,26 +16186,26 @@ "typeString": "bytes32" } ], - "id": 1812, + "id": 1304, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1811, + "id": 1303, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": {} } }, - "id": 1818, + "id": 1310, "isConstant": false, "isLValue": false, "isPure": false, @@ -16213,7 +16213,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33551:31:1", + "src": "34503:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -16228,26 +16228,26 @@ "typeString": "uint256" } ], - "id": 1810, + "id": 1302, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1809, + "id": 1301, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": {} } }, - "id": 1819, + "id": 1311, "isConstant": false, "isLValue": false, "isPure": false, @@ -16255,7 +16255,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33543:40:1", + "src": "34495:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -16270,26 +16270,26 @@ "typeString": "uint160" } ], - "id": 1808, + "id": 1300, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1807, + "id": 1299, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": {} } }, - "id": 1820, + "id": 1312, "isConstant": false, "isLValue": false, "isPure": false, @@ -16297,58 +16297,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33535:49:1", + "src": "34487:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 1806, - "id": 1821, + "functionReturnParameters": 1298, + "id": 1313, "nodeType": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ] }, "documentation": { - "id": 1798, + "id": 1290, "nodeType": "StructuredDocumentation", - "src": "33108:322:1", + "src": "34049:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1823, + "id": 1315, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1803, + "id": 1295, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1800, + "id": 1292, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33447:22:1", + "scope": 1315, + "src": "34398:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1799, + "id": 1291, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33447:10:1", + "referencedDeclaration": 1197, + "src": "34398:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -16356,12 +16356,12 @@ }, { "constant": false, - "id": 1802, + "id": 1294, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33471:13:1", + "scope": 1315, + "src": "34422:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16369,10 +16369,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1801, + "id": 1293, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33471:7:1", + "src": "34422:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16381,20 +16381,20 @@ "visibility": "internal" } ], - "src": "33446:39:1" + "src": "34397:39:0" }, "returnParameters": { - "id": 1806, + "id": 1298, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1805, + "id": 1297, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33509:7:1", + "scope": 1315, + "src": "34460:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16402,10 +16402,10 @@ "typeString": "address" }, "typeName": { - "id": 1804, + "id": 1296, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33509:7:1", + "src": "34460:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16415,40 +16415,40 @@ "visibility": "internal" } ], - "src": "33508:9:1" + "src": "34459:9:0" }, - "scope": 1921, - "src": "33435:156:1", + "scope": 1413, + "src": "34386:158:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.UintSet", - "id": 1826, + "id": 1318, "members": [ { "constant": false, - "id": 1825, + "id": 1317, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1826, - "src": "33639:10:1", + "scope": 1318, + "src": "34598:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1824, + "id": 1316, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "33639:3:1", + "referencedDeclaration": 932, + "src": "34598:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -16457,55 +16457,55 @@ ], "name": "UintSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "33614:42:1", + "scope": 1413, + "src": "34572:44:0", "visibility": "public" }, { "body": { - "id": 1845, + "id": 1337, "nodeType": "Block", - "src": "33899:56:1", + "src": "34867:58:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1837, + "id": 1329, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1829, - "src": "33921:3:1", + "referencedDeclaration": 1321, + "src": "34890:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1838, + "id": 1330, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "33921:10:1", + "referencedDeclaration": 1317, + "src": "34890:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1841, + "id": 1333, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1831, - "src": "33941:5:1", + "referencedDeclaration": 1323, + "src": "34910:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16519,26 +16519,26 @@ "typeString": "uint256" } ], - "id": 1840, + "id": 1332, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1839, + "id": 1331, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": {} } }, - "id": 1842, + "id": 1334, "isConstant": false, "isLValue": false, "isPure": false, @@ -16546,7 +16546,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33933:14:1", + "src": "34902:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16557,7 +16557,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16565,18 +16565,18 @@ "typeString": "bytes32" } ], - "id": 1836, + "id": 1328, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "33916:4:1", + "referencedDeclaration": 973, + "src": "34885:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1843, + "id": 1335, "isConstant": false, "isLValue": false, "isPure": false, @@ -16584,58 +16584,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33916:32:1", + "src": "34885:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1835, - "id": 1844, + "functionReturnParameters": 1327, + "id": 1336, "nodeType": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ] }, "documentation": { - "id": 1827, + "id": 1319, "nodeType": "StructuredDocumentation", - "src": "33662:159:1", + "src": "34624:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1846, + "id": 1338, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1832, + "id": 1324, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1829, + "id": 1321, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33839:19:1", + "scope": 1338, + "src": "34807:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1828, + "id": 1320, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "33839:7:1", + "referencedDeclaration": 1318, + "src": "34807:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16643,12 +16643,12 @@ }, { "constant": false, - "id": 1831, + "id": 1323, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33860:13:1", + "scope": 1338, + "src": "34828:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16656,10 +16656,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1830, + "id": 1322, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33860:7:1", + "src": "34828:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16668,20 +16668,20 @@ "visibility": "internal" } ], - "src": "33838:36:1" + "src": "34806:36:0" }, "returnParameters": { - "id": 1835, + "id": 1327, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1834, + "id": 1326, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33893:4:1", + "scope": 1338, + "src": "34861:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16689,10 +16689,10 @@ "typeString": "bool" }, "typeName": { - "id": 1833, + "id": 1325, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "33893:4:1", + "src": "34861:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16701,59 +16701,59 @@ "visibility": "internal" } ], - "src": "33892:6:1" + "src": "34860:6:0" }, - "scope": 1921, - "src": "33826:129:1", + "scope": 1413, + "src": "34794:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1865, + "id": 1357, "nodeType": "Block", - "src": "34199:59:1", + "src": "35177:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1857, + "id": 1349, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1849, - "src": "34224:3:1", + "referencedDeclaration": 1341, + "src": "35203:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1858, + "id": 1350, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34224:10:1", + "referencedDeclaration": 1317, + "src": "35203:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1861, + "id": 1353, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1851, - "src": "34244:5:1", + "referencedDeclaration": 1343, + "src": "35223:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16767,26 +16767,26 @@ "typeString": "uint256" } ], - "id": 1860, + "id": 1352, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1859, + "id": 1351, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": {} } }, - "id": 1862, + "id": 1354, "isConstant": false, "isLValue": false, "isPure": false, @@ -16794,7 +16794,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34236:14:1", + "src": "35215:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16805,7 +16805,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16813,18 +16813,18 @@ "typeString": "bytes32" } ], - "id": 1856, + "id": 1348, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "34216:7:1", + "referencedDeclaration": 1053, + "src": "35195:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1863, + "id": 1355, "isConstant": false, "isLValue": false, "isPure": false, @@ -16832,58 +16832,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34216:35:1", + "src": "35195:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1855, - "id": 1864, + "functionReturnParameters": 1347, + "id": 1356, "nodeType": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ] }, "documentation": { - "id": 1847, + "id": 1339, "nodeType": "StructuredDocumentation", - "src": "33961:157:1", + "src": "34933:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1866, + "id": 1358, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1852, + "id": 1344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1849, + "id": 1341, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34139:19:1", + "scope": 1358, + "src": "35117:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1848, + "id": 1340, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34139:7:1", + "referencedDeclaration": 1318, + "src": "35117:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16891,12 +16891,12 @@ }, { "constant": false, - "id": 1851, + "id": 1343, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34160:13:1", + "scope": 1358, + "src": "35138:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16904,10 +16904,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1850, + "id": 1342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34160:7:1", + "src": "35138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16916,20 +16916,20 @@ "visibility": "internal" } ], - "src": "34138:36:1" + "src": "35116:36:0" }, "returnParameters": { - "id": 1855, + "id": 1347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1854, + "id": 1346, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34193:4:1", + "scope": 1358, + "src": "35171:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16937,10 +16937,10 @@ "typeString": "bool" }, "typeName": { - "id": 1853, + "id": 1345, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34193:4:1", + "src": "35171:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16949,59 +16949,59 @@ "visibility": "internal" } ], - "src": "34192:6:1" + "src": "35170:6:0" }, - "scope": 1921, - "src": "34123:135:1", + "scope": 1413, + "src": "35101:137:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1885, + "id": 1377, "nodeType": "Block", - "src": "34422:61:1", + "src": "35407:63:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1877, + "id": 1369, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1869, - "src": "34449:3:1", + "referencedDeclaration": 1361, + "src": "35435:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1878, + "id": 1370, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34449:10:1", + "referencedDeclaration": 1317, + "src": "35435:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1881, + "id": 1373, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1871, - "src": "34469:5:1", + "referencedDeclaration": 1363, + "src": "35455:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17015,26 +17015,26 @@ "typeString": "uint256" } ], - "id": 1880, + "id": 1372, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1879, + "id": 1371, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": {} } }, - "id": 1882, + "id": 1374, "isConstant": false, "isLValue": false, "isPure": false, @@ -17042,7 +17042,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34461:14:1", + "src": "35447:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -17053,7 +17053,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -17061,18 +17061,18 @@ "typeString": "bytes32" } ], - "id": 1876, + "id": 1368, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "34439:9:1", + "referencedDeclaration": 1071, + "src": "35425:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1883, + "id": 1375, "isConstant": false, "isLValue": false, "isPure": false, @@ -17080,58 +17080,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34439:37:1", + "src": "35425:37:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1875, - "id": 1884, + "functionReturnParameters": 1367, + "id": 1376, "nodeType": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ] }, "documentation": { - "id": 1867, + "id": 1359, "nodeType": "StructuredDocumentation", - "src": "34264:70:1", + "src": "35246:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1886, + "id": 1378, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1872, + "id": 1364, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1869, + "id": 1361, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34357:19:1", + "scope": 1378, + "src": "35342:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1868, + "id": 1360, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34357:7:1", + "referencedDeclaration": 1318, + "src": "35342:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -17139,12 +17139,12 @@ }, { "constant": false, - "id": 1871, + "id": 1363, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34378:13:1", + "scope": 1378, + "src": "35363:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17152,10 +17152,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1870, + "id": 1362, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34378:7:1", + "src": "35363:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17164,20 +17164,20 @@ "visibility": "internal" } ], - "src": "34356:36:1" + "src": "35341:36:0" }, "returnParameters": { - "id": 1875, + "id": 1367, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1874, + "id": 1366, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34416:4:1", + "scope": 1378, + "src": "35401:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17185,10 +17185,10 @@ "typeString": "bool" }, "typeName": { - "id": 1873, + "id": 1365, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34416:4:1", + "src": "35401:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -17197,47 +17197,47 @@ "visibility": "internal" } ], - "src": "34415:6:1" + "src": "35400:6:0" }, - "scope": 1921, - "src": "34339:144:1", + "scope": 1413, + "src": "35324:146:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1899, + "id": 1391, "nodeType": "Block", - "src": "34633:43:1", + "src": "35625:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1895, + "id": 1387, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1889, - "src": "34658:3:1", + "referencedDeclaration": 1381, + "src": "35651:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1896, + "id": 1388, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34658:10:1", + "referencedDeclaration": 1317, + "src": "35651:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -17245,22 +17245,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1894, + "id": 1386, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "34650:7:1", + "referencedDeclaration": 1084, + "src": "35643:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1897, + "id": 1389, "isConstant": false, "isLValue": false, "isPure": false, @@ -17268,78 +17268,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34650:19:1", + "src": "35643:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1893, - "id": 1898, + "functionReturnParameters": 1385, + "id": 1390, "nodeType": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ] }, "documentation": { - "id": 1887, + "id": 1379, "nodeType": "StructuredDocumentation", - "src": "34489:70:1", + "src": "35478:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1900, + "id": 1392, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1890, + "id": 1382, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1889, + "id": 1381, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34580:19:1", + "scope": 1392, + "src": "35572:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1888, + "id": 1380, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34580:7:1", + "referencedDeclaration": 1318, + "src": "35572:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, "visibility": "internal" } ], - "src": "34579:21:1" + "src": "35571:21:0" }, "returnParameters": { - "id": 1893, + "id": 1385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1892, + "id": 1384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34624:7:1", + "scope": 1392, + "src": "35616:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17347,10 +17347,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1891, + "id": 1383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34624:7:1", + "src": "35616:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17359,19 +17359,19 @@ "visibility": "internal" } ], - "src": "34623:9:1" + "src": "35615:9:0" }, - "scope": 1921, - "src": "34564:112:1", + "scope": 1413, + "src": "35556:114:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1919, + "id": 1411, "nodeType": "Block", - "src": "35088:55:1", + "src": "36094:57:0", "statements": [ { "expression": { @@ -17380,38 +17380,38 @@ "arguments": [ { "expression": { - "id": 1913, + "id": 1405, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1903, - "src": "35117:3:1", + "referencedDeclaration": 1395, + "src": "36124:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1914, + "id": 1406, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "35117:10:1", + "referencedDeclaration": 1317, + "src": "36124:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1915, + "id": 1407, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1905, - "src": "35129:5:1", + "referencedDeclaration": 1397, + "src": "36136:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17421,7 +17421,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -17429,18 +17429,18 @@ "typeString": "uint256" } ], - "id": 1912, + "id": 1404, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "35113:3:1", + "referencedDeclaration": 1109, + "src": "36120:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1916, + "id": 1408, "isConstant": false, "isLValue": false, "isPure": false, @@ -17448,7 +17448,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35113:22:1", + "src": "36120:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -17463,26 +17463,26 @@ "typeString": "bytes32" } ], - "id": 1911, + "id": 1403, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1910, + "id": 1402, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": {} } }, - "id": 1917, + "id": 1409, "isConstant": false, "isLValue": false, "isPure": false, @@ -17490,58 +17490,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35105:31:1", + "src": "36112:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1909, - "id": 1918, + "functionReturnParameters": 1401, + "id": 1410, "nodeType": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ] }, "documentation": { - "id": 1901, + "id": 1393, "nodeType": "StructuredDocumentation", - "src": "34681:322:1", + "src": "35677:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1920, + "id": 1412, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1906, + "id": 1398, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1903, + "id": 1395, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35020:19:1", + "scope": 1412, + "src": "36026:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1902, + "id": 1394, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "35020:7:1", + "referencedDeclaration": 1318, + "src": "36026:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -17549,12 +17549,12 @@ }, { "constant": false, - "id": 1905, + "id": 1397, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35041:13:1", + "scope": 1412, + "src": "36047:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17562,10 +17562,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1904, + "id": 1396, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35041:7:1", + "src": "36047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17574,20 +17574,20 @@ "visibility": "internal" } ], - "src": "35019:36:1" + "src": "36025:36:0" }, "returnParameters": { - "id": 1909, + "id": 1401, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1908, + "id": 1400, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35079:7:1", + "scope": 1412, + "src": "36085:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17595,10 +17595,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1907, + "id": 1399, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35079:7:1", + "src": "36085:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17607,20 +17607,20 @@ "visibility": "internal" } ], - "src": "35078:9:1" + "src": "36084:9:0" }, - "scope": 1921, - "src": "35008:135:1", + "scope": 1413, + "src": "36014:137:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "26511:8634:1" + "scope": 2991, + "src": "27252:8902:0" }, { - "id": 1922, + "id": 1414, "literals": [ "solidity", ">=", @@ -17631,7 +17631,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "abstract": false, @@ -17639,31 +17639,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1923, + "id": 1415, "nodeType": "StructuredDocumentation", - "src": "35237:705:1", + "src": "36251:728:0", "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, "fullyImplemented": true, - "id": 2480, + "id": 1972, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableMap.MapEntry", - "id": 1928, + "id": 1420, "members": [ { "constant": false, - "id": 1925, + "id": 1417, "mutability": "mutable", "name": "_key", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36455:12:1", + "scope": 1420, + "src": "37504:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17671,10 +17671,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1924, + "id": 1416, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36455:7:1", + "src": "37504:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17684,12 +17684,12 @@ }, { "constant": false, - "id": 1927, + "id": 1419, "mutability": "mutable", "name": "_value", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36477:14:1", + "scope": 1420, + "src": "37527:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17697,10 +17697,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1926, + "id": 1418, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36477:7:1", + "src": "37527:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17711,45 +17711,45 @@ ], "name": "MapEntry", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36429:69:1", + "scope": 1972, + "src": "37477:72:0", "visibility": "public" }, { "canonicalName": "EnumerableMap.Map", - "id": 1936, + "id": 1428, "members": [ { "constant": false, - "id": 1931, + "id": 1423, "mutability": "mutable", "name": "_entries", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36567:19:1", + "scope": 1428, + "src": "37622:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" }, "typeName": { "baseType": { - "id": 1929, + "id": 1421, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "36567:8:1", + "referencedDeclaration": 1420, + "src": "37622:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, - "id": 1930, + "id": 1422, "nodeType": "ArrayTypeName", - "src": "36567:10:1", + "src": "37622:10:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" } }, @@ -17757,12 +17757,12 @@ }, { "constant": false, - "id": 1935, + "id": 1427, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36736:37:1", + "scope": 1428, + "src": "37795:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17770,28 +17770,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1934, + "id": 1426, "keyType": { - "id": 1932, + "id": 1424, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36745:7:1", + "src": "37804:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "36736:28:1", + "src": "37795:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1933, + "id": 1425, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "36756:7:1", + "src": "37815:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17803,29 +17803,29 @@ ], "name": "Map", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36504:276:1", + "scope": 1972, + "src": "37557:283:0", "visibility": "public" }, { "body": { - "id": 1997, + "id": 1489, "nodeType": "Block", - "src": "37089:596:1", + "src": "38158:610:0", "statements": [ { "assignments": [ - 1949 + 1441 ], "declarations": [ { "constant": false, - "id": 1949, + "id": 1441, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 1997, - "src": "37197:16:1", + "scope": 1489, + "src": "38268:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17833,10 +17833,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1948, + "id": 1440, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "37197:7:1", + "src": "38268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17845,43 +17845,43 @@ "visibility": "internal" } ], - "id": 1954, + "id": 1446, "initialValue": { "baseExpression": { "expression": { - "id": 1950, + "id": 1442, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37216:3:1", + "referencedDeclaration": 1431, + "src": "38287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1951, + "id": 1443, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37216:12:1", + "referencedDeclaration": 1427, + "src": "38287:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1953, + "id": 1445, "indexExpression": { - "id": 1952, + "id": 1444, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37229:3:1", + "referencedDeclaration": 1433, + "src": "38300:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17892,14 +17892,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37216:17:1", + "src": "38287:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "condition": { @@ -17907,18 +17907,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1957, + "id": 1449, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1955, + "id": 1447, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37248:8:1", + "referencedDeclaration": 1441, + "src": "38321:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17928,34 +17928,34 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 1956, + "id": 1448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37260:1:1", + "src": "38333:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "37248:13:1", + "src": "38321:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1995, + "id": 1487, "nodeType": "Block", - "src": "37587:92:1", + "src": "38666:95:0", "statements": [ { "expression": { - "id": 1991, + "id": 1483, "isConstant": false, "isLValue": false, "isPure": false, @@ -17964,49 +17964,49 @@ "expression": { "baseExpression": { "expression": { - "id": 1982, + "id": 1474, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37601:3:1", + "referencedDeclaration": 1431, + "src": "38681:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1987, + "id": 1479, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37601:12:1", + "referencedDeclaration": 1423, + "src": "38681:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1988, + "id": 1480, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1986, + "id": 1478, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1984, + "id": 1476, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37614:8:1", + "referencedDeclaration": 1441, + "src": "38694:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18016,21 +18016,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1985, + "id": 1477, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37625:1:1", + "src": "38705:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "37614:12:1", + "src": "38694:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18041,21 +18041,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37601:26:1", + "src": "38681:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 1989, + "id": 1481, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "37601:33:1", + "referencedDeclaration": 1419, + "src": "38681:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18064,58 +18064,58 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1990, + "id": 1482, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37637:5:1", + "referencedDeclaration": 1435, + "src": "38717:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "37601:41:1", + "src": "38681:41:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1992, + "id": 1484, "nodeType": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "expression": { "hexValue": "66616c7365", - "id": 1993, + "id": 1485, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37663:5:1", + "src": "38744:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1947, - "id": 1994, + "functionReturnParameters": 1439, + "id": 1486, "nodeType": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ] }, - "id": 1996, + "id": 1488, "nodeType": "IfStatement", - "src": "37244:435:1", + "src": "38317:444:0", "trueBody": { - "id": 1981, + "id": 1473, "nodeType": "Block", - "src": "37263:318:1", + "src": "38336:324:0", "statements": [ { "expression": { @@ -18123,24 +18123,24 @@ { "arguments": [ { - "id": 1964, + "id": 1456, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37349:3:1", + "referencedDeclaration": 1433, + "src": "38423:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, { - "id": 1965, + "id": 1457, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37362:5:1", + "referencedDeclaration": 1435, + "src": "38436:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18158,18 +18158,18 @@ "typeString": "bytes32" } ], - "id": 1963, + "id": 1455, "name": "MapEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1928, - "src": "37332:8:1", + "referencedDeclaration": 1420, + "src": "38406:8:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_MapEntry_$1928_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_MapEntry_$1420_storage_ptr_$", "typeString": "type(struct EnumerableMap.MapEntry storage pointer)" } }, - "id": 1966, + "id": 1458, "isConstant": false, "isLValue": false, "isPure": false, @@ -18180,10 +18180,10 @@ "_value" ], "nodeType": "FunctionCall", - "src": "37332:38:1", + "src": "38406:38:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } } @@ -18191,51 +18191,51 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], "expression": { "expression": { - "id": 1958, + "id": 1450, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37314:3:1", + "referencedDeclaration": 1431, + "src": "38388:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1961, + "id": 1453, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37314:12:1", + "referencedDeclaration": 1423, + "src": "38388:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1962, + "id": 1454, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "37314:17:1", + "src": "38388:17:0", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1928_storage_$returns$__$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1420_storage_$returns$__$", "typeString": "function (struct EnumerableMap.MapEntry storage ref)" } }, - "id": 1967, + "id": 1459, "isConstant": false, "isLValue": false, "isPure": false, @@ -18243,20 +18243,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "37314:57:1", + "src": "38388:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1968, + "id": 1460, "nodeType": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "expression": { - "id": 1977, + "id": 1469, "isConstant": false, "isLValue": false, "isPure": false, @@ -18264,39 +18264,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1969, + "id": 1461, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37506:3:1", + "referencedDeclaration": 1431, + "src": "38583:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1972, + "id": 1464, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37506:12:1", + "referencedDeclaration": 1427, + "src": "38583:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1973, + "id": 1465, "indexExpression": { - "id": 1971, + "id": 1463, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37519:3:1", + "referencedDeclaration": 1433, + "src": "38596:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18307,7 +18307,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "37506:17:1", + "src": "38583:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18318,75 +18318,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1974, + "id": 1466, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37526:3:1", + "referencedDeclaration": 1431, + "src": "38603:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1975, + "id": 1467, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37526:12:1", + "referencedDeclaration": 1423, + "src": "38603:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1976, + "id": 1468, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "37526:19:1", + "src": "38603:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "37506:39:1", + "src": "38583:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1978, + "id": 1470, "nodeType": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "expression": { "hexValue": "74727565", - "id": 1979, + "id": 1471, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37566:4:1", + "src": "38644:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1947, - "id": 1980, + "functionReturnParameters": 1439, + "id": 1472, "nodeType": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ] } @@ -18394,43 +18394,43 @@ ] }, "documentation": { - "id": 1937, + "id": 1429, "nodeType": "StructuredDocumentation", - "src": "36786:216:1", + "src": "37848:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1998, + "id": 1490, "implemented": true, "kind": "function", "modifiers": [], "name": "_set", "nodeType": "FunctionDefinition", "parameters": { - "id": 1944, + "id": 1436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1939, + "id": 1431, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37021:15:1", + "scope": 1490, + "src": "38090:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 1938, + "id": 1430, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37021:3:1", + "referencedDeclaration": 1428, + "src": "38090:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -18438,12 +18438,12 @@ }, { "constant": false, - "id": 1941, + "id": 1433, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37038:11:1", + "scope": 1490, + "src": "38107:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18451,10 +18451,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1940, + "id": 1432, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37038:7:1", + "src": "38107:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18464,12 +18464,12 @@ }, { "constant": false, - "id": 1943, + "id": 1435, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37051:13:1", + "scope": 1490, + "src": "38120:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18477,10 +18477,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1942, + "id": 1434, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37051:7:1", + "src": "38120:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18489,20 +18489,20 @@ "visibility": "internal" } ], - "src": "37020:45:1" + "src": "38089:45:0" }, "returnParameters": { - "id": 1947, + "id": 1439, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1946, + "id": 1438, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37083:4:1", + "scope": 1490, + "src": "38152:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18510,10 +18510,10 @@ "typeString": "bool" }, "typeName": { - "id": 1945, + "id": 1437, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37083:4:1", + "src": "38152:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -18522,33 +18522,33 @@ "visibility": "internal" } ], - "src": "37082:6:1" + "src": "38151:6:0" }, - "scope": 2480, - "src": "37007:678:1", + "scope": 1972, + "src": "38076:692:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2078, + "id": 1570, "nodeType": "Block", - "src": "37923:1447:1", + "src": "39013:1479:0", "statements": [ { "assignments": [ - 2009 + 1501 ], "declarations": [ { "constant": false, - "id": 2009, + "id": 1501, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2078, - "src": "38031:16:1", + "scope": 1570, + "src": "39123:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18556,10 +18556,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2008, + "id": 1500, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38031:7:1", + "src": "39123:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18568,43 +18568,43 @@ "visibility": "internal" } ], - "id": 2014, + "id": 1506, "initialValue": { "baseExpression": { "expression": { - "id": 2010, + "id": 1502, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38050:3:1", + "referencedDeclaration": 1493, + "src": "39142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2011, + "id": 1503, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "38050:12:1", + "referencedDeclaration": 1427, + "src": "39142:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2013, + "id": 1505, "indexExpression": { - "id": 2012, + "id": 1504, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "38063:3:1", + "referencedDeclaration": 1495, + "src": "39155:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18615,14 +18615,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38050:17:1", + "src": "39142:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "condition": { @@ -18630,18 +18630,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2017, + "id": 1509, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2015, + "id": 1507, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38082:8:1", + "referencedDeclaration": 1501, + "src": "39176:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18651,76 +18651,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2016, + "id": 1508, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38094:1:1", + "src": "39188:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "38082:13:1", + "src": "39176:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 2076, + "id": 1568, "nodeType": "Block", - "src": "39327:37:1", + "src": "40446:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 2074, + "id": 1566, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39348:5:1", + "src": "40468:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 2007, - "id": 2075, + "functionReturnParameters": 1499, + "id": 1567, "nodeType": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ] }, - "id": 2077, + "id": 1569, "nodeType": "IfStatement", - "src": "38078:1286:1", + "src": "39172:1313:0", "trueBody": { - "id": 2073, + "id": 1565, "nodeType": "Block", - "src": "38097:1224:1", + "src": "39191:1249:0", "statements": [ { "assignments": [ - 2019 + 1511 ], "declarations": [ { "constant": false, - "id": 2019, + "id": 1511, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38438:21:1", + "scope": 1565, + "src": "39537:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18728,10 +18728,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2018, + "id": 1510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38438:7:1", + "src": "39537:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18740,24 +18740,24 @@ "visibility": "internal" } ], - "id": 2023, + "id": 1515, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2022, + "id": 1514, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2020, + "id": 1512, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38462:8:1", + "referencedDeclaration": 1501, + "src": "39561:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18767,42 +18767,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2021, + "id": 1513, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38473:1:1", + "src": "39572:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38462:12:1", + "src": "39561:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "assignments": [ - 2025 + 1517 ], "declarations": [ { "constant": false, - "id": 2025, + "id": 1517, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38488:17:1", + "scope": 1565, + "src": "39588:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18810,10 +18810,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2024, + "id": 1516, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38488:7:1", + "src": "39588:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18822,13 +18822,13 @@ "visibility": "internal" } ], - "id": 2031, + "id": 1523, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2030, + "id": 1522, "isConstant": false, "isLValue": false, "isPure": false, @@ -18836,39 +18836,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2026, + "id": 1518, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38508:3:1", + "referencedDeclaration": 1493, + "src": "39608:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2027, + "id": 1519, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38508:12:1", + "referencedDeclaration": 1423, + "src": "39608:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2028, + "id": 1520, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "38508:19:1", + "src": "39608:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18878,99 +18878,99 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2029, + "id": 1521, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38530:1:1", + "src": "39630:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38508:23:1", + "src": "39608:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "assignments": [ - 2033 + 1525 ], "declarations": [ { "constant": false, - "id": 2033, + "id": 1525, "mutability": "mutable", "name": "lastEntry", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38771:26:1", + "scope": 1565, + "src": "39876:26:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2032, + "id": 1524, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "38771:8:1", + "referencedDeclaration": 1420, + "src": "39876:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2038, + "id": 1530, "initialValue": { "baseExpression": { "expression": { - "id": 2034, + "id": 1526, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38800:3:1", + "referencedDeclaration": 1493, + "src": "39905:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2035, + "id": 1527, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38800:12:1", + "referencedDeclaration": 1423, + "src": "39905:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2037, + "id": 1529, "indexExpression": { - "id": 2036, + "id": 1528, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "38813:9:1", + "referencedDeclaration": 1517, + "src": "39918:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18981,18 +18981,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38800:23:1", + "src": "39905:23:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "expression": { - "id": 2045, + "id": 1537, "isConstant": false, "isLValue": false, "isPure": false, @@ -19000,39 +19000,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2039, + "id": 1531, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38915:3:1", + "referencedDeclaration": 1493, + "src": "40023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2042, + "id": 1534, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38915:12:1", + "referencedDeclaration": 1423, + "src": "40023:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2043, + "id": 1535, "indexExpression": { - "id": 2041, + "id": 1533, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "38928:13:1", + "referencedDeclaration": 1511, + "src": "40036:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19043,39 +19043,39 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "38915:27:1", + "src": "40023:27:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2044, + "id": 1536, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "38945:9:1", + "referencedDeclaration": 1525, + "src": "40053:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "src": "38915:39:1", + "src": "40023:39:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2046, + "id": 1538, "nodeType": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "expression": { - "id": 2056, + "id": 1548, "isConstant": false, "isLValue": false, "isPure": false, @@ -19083,54 +19083,54 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2047, + "id": 1539, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39020:3:1", + "referencedDeclaration": 1493, + "src": "40130:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2051, + "id": 1543, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39020:12:1", + "referencedDeclaration": 1427, + "src": "40130:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2052, + "id": 1544, "indexExpression": { "expression": { - "id": 2049, + "id": 1541, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "39033:9:1", + "referencedDeclaration": 1525, + "src": "40143:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2050, + "id": 1542, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "39033:14:1", + "referencedDeclaration": 1417, + "src": "40143:14:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19141,7 +19141,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39020:28:1", + "src": "40130:28:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19154,18 +19154,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2055, + "id": 1547, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2053, + "id": 1545, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "39051:13:1", + "referencedDeclaration": 1511, + "src": "40161:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19175,35 +19175,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 2054, + "id": 1546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39067:1:1", + "src": "40177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "39051:17:1", + "src": "40161:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "39020:48:1", + "src": "40130:48:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2057, + "id": 1549, "nodeType": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "expression": { @@ -19212,45 +19212,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 2058, + "id": 1550, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39174:3:1", + "referencedDeclaration": 1493, + "src": "40287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2061, + "id": 1553, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39174:12:1", + "referencedDeclaration": 1423, + "src": "40287:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2062, + "id": 1554, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "39174:16:1", + "src": "40287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 2063, + "id": 1555, "isConstant": false, "isLValue": false, "isPure": false, @@ -19258,20 +19258,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "39174:18:1", + "src": "40287:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2064, + "id": 1556, "nodeType": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "expression": { - "id": 2069, + "id": 1561, "isConstant": false, "isLValue": false, "isPure": false, @@ -19279,43 +19279,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "39260:24:1", + "src": "40376:24:0", "subExpression": { "baseExpression": { "expression": { - "id": 2065, + "id": 1557, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39267:3:1", + "referencedDeclaration": 1493, + "src": "40383:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2066, + "id": 1558, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39267:12:1", + "referencedDeclaration": 1427, + "src": "40383:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2068, + "id": 1560, "indexExpression": { - "id": 2067, + "id": 1559, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "39280:3:1", + "referencedDeclaration": 1495, + "src": "40396:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19326,7 +19326,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39267:17:1", + "src": "40383:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19337,31 +19337,31 @@ "typeString": "tuple()" } }, - "id": 2070, + "id": 1562, "nodeType": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "expression": { "hexValue": "74727565", - "id": 2071, + "id": 1563, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39306:4:1", + "src": "40424:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 2007, - "id": 2072, + "functionReturnParameters": 1499, + "id": 1564, "nodeType": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ] } @@ -19369,43 +19369,43 @@ ] }, "documentation": { - "id": 1999, + "id": 1491, "nodeType": "StructuredDocumentation", - "src": "37691:157:1", + "src": "38776:161:0", "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2079, + "id": 1571, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2004, + "id": 1496, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2001, + "id": 1493, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37870:15:1", + "scope": 1571, + "src": "38960:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2000, + "id": 1492, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37870:3:1", + "referencedDeclaration": 1428, + "src": "38960:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19413,12 +19413,12 @@ }, { "constant": false, - "id": 2003, + "id": 1495, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37887:11:1", + "scope": 1571, + "src": "38977:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19426,10 +19426,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2002, + "id": 1494, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37887:7:1", + "src": "38977:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19438,20 +19438,20 @@ "visibility": "internal" } ], - "src": "37869:30:1" + "src": "38959:30:0" }, "returnParameters": { - "id": 2007, + "id": 1499, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2006, + "id": 1498, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37917:4:1", + "scope": 1571, + "src": "39007:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19459,10 +19459,10 @@ "typeString": "bool" }, "typeName": { - "id": 2005, + "id": 1497, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37917:4:1", + "src": "39007:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19471,19 +19471,19 @@ "visibility": "internal" } ], - "src": "37916:6:1" + "src": "39006:6:0" }, - "scope": 2480, - "src": "37853:1517:1", + "scope": 1972, + "src": "38943:1549:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2096, + "id": 1588, "nodeType": "Block", - "src": "39526:46:1", + "src": "40653:48:0", "statements": [ { "expression": { @@ -19491,7 +19491,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2094, + "id": 1586, "isConstant": false, "isLValue": false, "isPure": false, @@ -19499,39 +19499,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 2089, + "id": 1581, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2082, - "src": "39543:3:1", + "referencedDeclaration": 1574, + "src": "40671:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2090, + "id": 1582, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39543:12:1", + "referencedDeclaration": 1427, + "src": "40671:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2092, + "id": 1584, "indexExpression": { - "id": 2091, + "id": 1583, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2084, - "src": "39556:3:1", + "referencedDeclaration": 1576, + "src": "40684:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19542,7 +19542,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "39543:17:1", + "src": "40671:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19552,71 +19552,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2093, + "id": 1585, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39564:1:1", + "src": "40692:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "39543:22:1", + "src": "40671:22:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2088, - "id": 2095, + "functionReturnParameters": 1580, + "id": 1587, "nodeType": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ] }, "documentation": { - "id": 2080, + "id": 1572, "nodeType": "StructuredDocumentation", - "src": "39376:68:1", + "src": "40500:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2097, + "id": 1589, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2085, + "id": 1577, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2082, + "id": 1574, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39468:15:1", + "scope": 1589, + "src": "40595:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2081, + "id": 1573, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39468:3:1", + "referencedDeclaration": 1428, + "src": "40595:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19624,12 +19624,12 @@ }, { "constant": false, - "id": 2084, + "id": 1576, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39485:11:1", + "scope": 1589, + "src": "40612:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19637,10 +19637,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2083, + "id": 1575, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "39485:7:1", + "src": "40612:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19649,20 +19649,20 @@ "visibility": "internal" } ], - "src": "39467:30:1" + "src": "40594:30:0" }, "returnParameters": { - "id": 2088, + "id": 1580, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2087, + "id": 1579, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39520:4:1", + "scope": 1589, + "src": "40647:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19670,10 +19670,10 @@ "typeString": "bool" }, "typeName": { - "id": 2086, + "id": 1578, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "39520:4:1", + "src": "40647:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19682,127 +19682,127 @@ "visibility": "internal" } ], - "src": "39519:6:1" + "src": "40646:6:0" }, - "scope": 2480, - "src": "39449:123:1", + "scope": 1972, + "src": "40576:125:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2109, + "id": 1601, "nodeType": "Block", - "src": "39727:43:1", + "src": "40861:45:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 2105, + "id": 1597, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2100, - "src": "39744:3:1", + "referencedDeclaration": 1592, + "src": "40879:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2106, + "id": 1598, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39744:12:1", + "referencedDeclaration": 1423, + "src": "40879:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2107, + "id": 1599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "39744:19:1", + "src": "40879:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2104, - "id": 2108, + "functionReturnParameters": 1596, + "id": 1600, "nodeType": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ] }, "documentation": { - "id": 2098, + "id": 1590, "nodeType": "StructuredDocumentation", - "src": "39578:79:1", + "src": "40709:81:0", "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2110, + "id": 1602, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2101, + "id": 1593, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2100, + "id": 1592, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39679:15:1", + "scope": 1602, + "src": "40813:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2099, + "id": 1591, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39679:3:1", + "referencedDeclaration": 1428, + "src": "40813:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, "visibility": "internal" } ], - "src": "39678:17:1" + "src": "40812:17:0" }, "returnParameters": { - "id": 2104, + "id": 1596, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2103, + "id": 1595, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39718:7:1", + "scope": 1602, + "src": "40852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19810,10 +19810,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2102, + "id": 1594, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "39718:7:1", + "src": "40852:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19822,19 +19822,19 @@ "visibility": "internal" } ], - "src": "39717:9:1" + "src": "40851:9:0" }, - "scope": 2480, - "src": "39662:108:1", + "scope": 1972, + "src": "40796:110:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2144, + "id": 1636, "nodeType": "Block", - "src": "40198:189:1", + "src": "41346:194:0", "statements": [ { "expression": { @@ -19844,7 +19844,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2127, + "id": 1619, "isConstant": false, "isLValue": false, "isPure": false, @@ -19852,39 +19852,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2123, + "id": 1615, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40216:3:1", + "referencedDeclaration": 1605, + "src": "41365:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2124, + "id": 1616, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40216:12:1", + "referencedDeclaration": 1423, + "src": "41365:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2125, + "id": 1617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "40216:19:1", + "src": "41365:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19893,18 +19893,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 2126, + "id": 1618, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40238:5:1", + "referencedDeclaration": 1607, + "src": "41387:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "40216:27:1", + "src": "41365:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19912,14 +19912,14 @@ }, { "hexValue": "456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473", - "id": 2128, + "id": 1620, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "40245:36:1", + "src": "41394:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_86631030b9066a18616a068fc09fce83d18af4765cb1d2166fa475228f4db155", "typeString": "literal_string \"EnumerableMap: index out of bounds\"" @@ -19938,7 +19938,7 @@ "typeString": "literal_string \"EnumerableMap: index out of bounds\"" } ], - "id": 2122, + "id": 1614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -19946,13 +19946,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "40208:7:1", + "src": "41357:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2129, + "id": 1621, "isConstant": false, "isLValue": false, "isPure": false, @@ -19960,87 +19960,87 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "40208:74:1", + "src": "41357:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2130, + "id": 1622, "nodeType": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "assignments": [ - 2132 + 1624 ], "declarations": [ { "constant": false, - "id": 2132, + "id": 1624, "mutability": "mutable", "name": "entry", "nodeType": "VariableDeclaration", - "scope": 2144, - "src": "40293:22:1", + "scope": 1636, + "src": "41444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2131, + "id": 1623, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "40293:8:1", + "referencedDeclaration": 1420, + "src": "41444:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2137, + "id": 1629, "initialValue": { "baseExpression": { "expression": { - "id": 2133, + "id": 1625, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40318:3:1", + "referencedDeclaration": 1605, + "src": "41469:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2134, + "id": 1626, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40318:12:1", + "referencedDeclaration": 1423, + "src": "41469:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2136, + "id": 1628, "indexExpression": { - "id": 2135, + "id": 1627, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40331:5:1", + "referencedDeclaration": 1607, + "src": "41482:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20051,40 +20051,40 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40318:19:1", + "src": "41469:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "expression": { "components": [ { "expression": { - "id": 2138, + "id": 1630, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40355:5:1", + "referencedDeclaration": 1624, + "src": "41507:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2139, + "id": 1631, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "40355:10:1", + "referencedDeclaration": 1417, + "src": "41507:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20092,90 +20092,90 @@ }, { "expression": { - "id": 2140, + "id": 1632, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40367:5:1", + "referencedDeclaration": 1624, + "src": "41519:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2141, + "id": 1633, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40367:12:1", + "referencedDeclaration": 1419, + "src": "41519:12:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2142, + "id": 1634, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40354:26:1", + "src": "41506:26:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", "typeString": "tuple(bytes32,bytes32)" } }, - "functionReturnParameters": 2121, - "id": 2143, + "functionReturnParameters": 1613, + "id": 1635, "nodeType": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ] }, "documentation": { - "id": 2111, + "id": 1603, "nodeType": "StructuredDocumentation", - "src": "39775:333:1", + "src": "40913:342:0", "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2145, + "id": 1637, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2116, + "id": 1608, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2113, + "id": 1605, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40126:15:1", + "scope": 1637, + "src": "41274:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2112, + "id": 1604, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40126:3:1", + "referencedDeclaration": 1428, + "src": "41274:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20183,12 +20183,12 @@ }, { "constant": false, - "id": 2115, + "id": 1607, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40143:13:1", + "scope": 1637, + "src": "41291:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20196,10 +20196,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2114, + "id": 1606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40143:7:1", + "src": "41291:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20208,20 +20208,20 @@ "visibility": "internal" } ], - "src": "40125:32:1" + "src": "41273:32:0" }, "returnParameters": { - "id": 2121, + "id": 1613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2118, + "id": 1610, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40180:7:1", + "scope": 1637, + "src": "41328:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20229,10 +20229,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2117, + "id": 1609, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40180:7:1", + "src": "41328:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20242,12 +20242,12 @@ }, { "constant": false, - "id": 2120, + "id": 1612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40189:7:1", + "scope": 1637, + "src": "41337:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20255,10 +20255,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2119, + "id": 1611, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40189:7:1", + "src": "41337:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20267,33 +20267,33 @@ "visibility": "internal" } ], - "src": "40179:18:1" + "src": "41327:18:0" }, - "scope": 2480, - "src": "40113:274:1", + "scope": 1972, + "src": "41261:279:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2182, + "id": 1674, "nodeType": "Block", - "src": "40613:220:1", + "src": "41772:224:0", "statements": [ { "assignments": [ - 2158 + 1650 ], "declarations": [ { "constant": false, - "id": 2158, + "id": 1650, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2182, - "src": "40623:16:1", + "scope": 1674, + "src": "41783:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20301,10 +20301,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2157, + "id": 1649, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40623:7:1", + "src": "41783:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20313,43 +20313,43 @@ "visibility": "internal" } ], - "id": 2163, + "id": 1655, "initialValue": { "baseExpression": { "expression": { - "id": 2159, + "id": 1651, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40642:3:1", + "referencedDeclaration": 1640, + "src": "41802:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2160, + "id": 1652, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "40642:12:1", + "referencedDeclaration": 1427, + "src": "41802:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2162, + "id": 1654, "indexExpression": { - "id": 2161, + "id": 1653, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2150, - "src": "40655:3:1", + "referencedDeclaration": 1642, + "src": "41815:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20360,14 +20360,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40642:17:1", + "src": "41802:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "condition": { @@ -20375,18 +20375,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2166, + "id": 1658, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2164, + "id": 1656, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40673:8:1", + "referencedDeclaration": 1650, + "src": "41834:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20396,42 +20396,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2165, + "id": 1657, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40685:1:1", + "src": "41846:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "40673:13:1", + "src": "41834:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2171, + "id": 1663, "nodeType": "IfStatement", - "src": "40669:36:1", + "src": "41830:36:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 2167, + "id": 1659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40696:5:1", + "src": "41857:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20440,14 +20440,14 @@ }, { "hexValue": "30", - "id": 2168, + "id": 1660, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40703:1:1", + "src": "41864:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -20455,23 +20455,23 @@ "value": "0" } ], - "id": 2169, + "id": 1661, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40695:10:1", + "src": "41856:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 2156, - "id": 2170, + "functionReturnParameters": 1648, + "id": 1662, "nodeType": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } }, { @@ -20479,14 +20479,14 @@ "components": [ { "hexValue": "74727565", - "id": 2172, + "id": 1664, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40759:4:1", + "src": "41921:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20497,49 +20497,49 @@ "expression": { "baseExpression": { "expression": { - "id": 2173, + "id": 1665, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40765:3:1", + "referencedDeclaration": 1640, + "src": "41927:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2174, + "id": 1666, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40765:12:1", + "referencedDeclaration": 1423, + "src": "41927:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2178, + "id": 1670, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2177, + "id": 1669, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2175, + "id": 1667, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40778:8:1", + "referencedDeclaration": 1650, + "src": "41940:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20549,21 +20549,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2176, + "id": 1668, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40789:1:1", + "src": "41951:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "40778:12:1", + "src": "41940:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20574,85 +20574,85 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40765:26:1", + "src": "41927:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2179, + "id": 1671, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40765:33:1", + "referencedDeclaration": 1419, + "src": "41927:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2180, + "id": 1672, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40758:41:1", + "src": "41920:41:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", "typeString": "tuple(bool,bytes32)" } }, - "functionReturnParameters": 2156, - "id": 2181, + "functionReturnParameters": 1648, + "id": 1673, "nodeType": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ] }, "documentation": { - "id": 2146, + "id": 1638, "nodeType": "StructuredDocumentation", - "src": "40393:131:1", + "src": "41548:134:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2183, + "id": 1675, "implemented": true, "kind": "function", "modifiers": [], "name": "_tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2151, + "id": 1643, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2148, + "id": 1640, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40546:15:1", + "scope": 1675, + "src": "41705:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2147, + "id": 1639, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40546:3:1", + "referencedDeclaration": 1428, + "src": "41705:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20660,12 +20660,12 @@ }, { "constant": false, - "id": 2150, + "id": 1642, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40563:11:1", + "scope": 1675, + "src": "41722:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20673,10 +20673,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2149, + "id": 1641, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40563:7:1", + "src": "41722:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20685,20 +20685,20 @@ "visibility": "internal" } ], - "src": "40545:30:1" + "src": "41704:30:0" }, "returnParameters": { - "id": 2156, + "id": 1648, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2153, + "id": 1645, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40598:4:1", + "scope": 1675, + "src": "41757:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20706,10 +20706,10 @@ "typeString": "bool" }, "typeName": { - "id": 2152, + "id": 1644, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "40598:4:1", + "src": "41757:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20719,12 +20719,12 @@ }, { "constant": false, - "id": 2155, + "id": 1647, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40604:7:1", + "scope": 1675, + "src": "41763:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20732,10 +20732,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2154, + "id": 1646, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40604:7:1", + "src": "41763:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20744,33 +20744,33 @@ "visibility": "internal" } ], - "src": "40597:15:1" + "src": "41756:15:0" }, - "scope": 2480, - "src": "40529:304:1", + "scope": 1972, + "src": "41688:308:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2215, + "id": 1707, "nodeType": "Block", - "src": "41060:232:1", + "src": "42232:236:0", "statements": [ { "assignments": [ - 2194 + 1686 ], "declarations": [ { "constant": false, - "id": 2194, + "id": 1686, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2215, - "src": "41070:16:1", + "scope": 1707, + "src": "42243:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20778,10 +20778,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2193, + "id": 1685, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41070:7:1", + "src": "42243:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20790,43 +20790,43 @@ "visibility": "internal" } ], - "id": 2199, + "id": 1691, "initialValue": { "baseExpression": { "expression": { - "id": 2195, + "id": 1687, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41089:3:1", + "referencedDeclaration": 1678, + "src": "42262:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2196, + "id": 1688, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41089:12:1", + "referencedDeclaration": 1427, + "src": "42262:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2198, + "id": 1690, "indexExpression": { - "id": 2197, + "id": 1689, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2188, - "src": "41102:3:1", + "referencedDeclaration": 1680, + "src": "42275:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20837,14 +20837,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41089:17:1", + "src": "42262:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "expression": { @@ -20854,18 +20854,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2203, + "id": 1695, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2201, + "id": 1693, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41124:8:1", + "referencedDeclaration": 1686, + "src": "42298:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20875,21 +20875,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2202, + "id": 1694, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41136:1:1", + "src": "42310:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41124:13:1", + "src": "42298:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20897,14 +20897,14 @@ }, { "hexValue": "456e756d657261626c654d61703a206e6f6e6578697374656e74206b6579", - "id": 2204, + "id": 1696, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "41139:32:1", + "src": "42313:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_d3551e30d3095fd81287b88f7139bb09818e34280e85ee821994ebaebbed7072", "typeString": "literal_string \"EnumerableMap: nonexistent key\"" @@ -20923,7 +20923,7 @@ "typeString": "literal_string \"EnumerableMap: nonexistent key\"" } ], - "id": 2200, + "id": 1692, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -20931,13 +20931,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41116:7:1", + "src": "42290:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2205, + "id": 1697, "isConstant": false, "isLValue": false, "isPure": false, @@ -20945,65 +20945,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41116:56:1", + "src": "42290:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2206, + "id": 1698, "nodeType": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2207, + "id": 1699, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41225:3:1", + "referencedDeclaration": 1678, + "src": "42400:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2208, + "id": 1700, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41225:12:1", + "referencedDeclaration": 1423, + "src": "42400:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2212, + "id": 1704, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2211, + "id": 1703, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2209, + "id": 1701, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41238:8:1", + "referencedDeclaration": 1686, + "src": "42413:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21013,21 +21013,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2210, + "id": 1702, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41249:1:1", + "src": "42424:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41238:12:1", + "src": "42413:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21038,71 +21038,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41225:26:1", + "src": "42400:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2213, + "id": 1705, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41225:33:1", + "referencedDeclaration": 1419, + "src": "42400:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2192, - "id": 2214, + "functionReturnParameters": 1684, + "id": 1706, "nodeType": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ] }, "documentation": { - "id": 2184, + "id": 1676, "nodeType": "StructuredDocumentation", - "src": "40839:141:1", + "src": "42004:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2216, + "id": 1708, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2189, + "id": 1681, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2186, + "id": 1678, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "40999:15:1", + "scope": 1708, + "src": "42171:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2185, + "id": 1677, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40999:3:1", + "referencedDeclaration": 1428, + "src": "42171:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21110,12 +21110,12 @@ }, { "constant": false, - "id": 2188, + "id": 1680, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41016:11:1", + "scope": 1708, + "src": "42188:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21123,10 +21123,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2187, + "id": 1679, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41016:7:1", + "src": "42188:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21135,20 +21135,20 @@ "visibility": "internal" } ], - "src": "40998:30:1" + "src": "42170:30:0" }, "returnParameters": { - "id": 2192, + "id": 1684, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2191, + "id": 1683, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41051:7:1", + "scope": 1708, + "src": "42223:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21156,10 +21156,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2190, + "id": 1682, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41051:7:1", + "src": "42223:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21168,33 +21168,33 @@ "visibility": "internal" } ], - "src": "41050:9:1" + "src": "42222:9:0" }, - "scope": 2480, - "src": "40985:307:1", + "scope": 1972, + "src": "42157:311:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2250, + "id": 1742, "nodeType": "Block", - "src": "41677:212:1", + "src": "42861:216:0", "statements": [ { "assignments": [ - 2229 + 1721 ], "declarations": [ { "constant": false, - "id": 2229, + "id": 1721, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2250, - "src": "41687:16:1", + "scope": 1742, + "src": "42872:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21202,10 +21202,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2228, + "id": 1720, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41687:7:1", + "src": "42872:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21214,43 +21214,43 @@ "visibility": "internal" } ], - "id": 2234, + "id": 1726, "initialValue": { "baseExpression": { "expression": { - "id": 2230, + "id": 1722, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41706:3:1", + "referencedDeclaration": 1711, + "src": "42891:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2231, + "id": 1723, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41706:12:1", + "referencedDeclaration": 1427, + "src": "42891:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2233, + "id": 1725, "indexExpression": { - "id": 2232, + "id": 1724, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2221, - "src": "41719:3:1", + "referencedDeclaration": 1713, + "src": "42904:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21261,14 +21261,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41706:17:1", + "src": "42891:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "expression": { @@ -21278,18 +21278,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2238, + "id": 1730, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2236, + "id": 1728, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41741:8:1", + "referencedDeclaration": 1721, + "src": "42927:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21299,33 +21299,33 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2237, + "id": 1729, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41753:1:1", + "src": "42939:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41741:13:1", + "src": "42927:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 2239, + "id": 1731, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2223, - "src": "41756:12:1", + "referencedDeclaration": 1715, + "src": "42942:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -21343,7 +21343,7 @@ "typeString": "string memory" } ], - "id": 2235, + "id": 1727, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -21351,13 +21351,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41733:7:1", + "src": "42919:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2240, + "id": 1732, "isConstant": false, "isLValue": false, "isPure": false, @@ -21365,65 +21365,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41733:36:1", + "src": "42919:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2241, + "id": 1733, "nodeType": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2242, + "id": 1734, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41822:3:1", + "referencedDeclaration": 1711, + "src": "43009:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2243, + "id": 1735, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41822:12:1", + "referencedDeclaration": 1423, + "src": "43009:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2247, + "id": 1739, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2246, + "id": 1738, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2244, + "id": 1736, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41835:8:1", + "referencedDeclaration": 1721, + "src": "43022:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21433,21 +21433,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2245, + "id": 1737, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41846:1:1", + "src": "43033:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41835:12:1", + "src": "43022:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21458,71 +21458,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41822:26:1", + "src": "43009:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2248, + "id": 1740, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41822:33:1", + "referencedDeclaration": 1419, + "src": "43009:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2227, - "id": 2249, + "functionReturnParameters": 1719, + "id": 1741, "nodeType": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ] }, "documentation": { - "id": 2217, + "id": 1709, "nodeType": "StructuredDocumentation", - "src": "41298:271:1", + "src": "42476:276:0", "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2251, + "id": 1743, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2224, + "id": 1716, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2219, + "id": 1711, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41588:15:1", + "scope": 1743, + "src": "42772:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2218, + "id": 1710, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41588:3:1", + "referencedDeclaration": 1428, + "src": "42772:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21530,12 +21530,12 @@ }, { "constant": false, - "id": 2221, + "id": 1713, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41605:11:1", + "scope": 1743, + "src": "42789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21543,10 +21543,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2220, + "id": 1712, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41605:7:1", + "src": "42789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21556,12 +21556,12 @@ }, { "constant": false, - "id": 2223, + "id": 1715, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41618:26:1", + "scope": 1743, + "src": "42802:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -21569,10 +21569,10 @@ "typeString": "string" }, "typeName": { - "id": 2222, + "id": 1714, "name": "string", "nodeType": "ElementaryTypeName", - "src": "41618:6:1", + "src": "42802:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -21581,20 +21581,20 @@ "visibility": "internal" } ], - "src": "41587:58:1" + "src": "42771:58:0" }, "returnParameters": { - "id": 2227, + "id": 1719, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2226, + "id": 1718, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41668:7:1", + "scope": 1743, + "src": "42852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21602,10 +21602,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2225, + "id": 1717, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41668:7:1", + "src": "42852:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21614,40 +21614,40 @@ "visibility": "internal" } ], - "src": "41667:9:1" + "src": "42851:9:0" }, - "scope": 2480, - "src": "41574:315:1", + "scope": 1972, + "src": "42758:319:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableMap.UintToAddressMap", - "id": 2254, + "id": 1746, "members": [ { "constant": false, - "id": 2253, + "id": 1745, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 2254, - "src": "41954:10:1", + "scope": 1746, + "src": "43147:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2252, + "id": 1744, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41954:3:1", + "referencedDeclaration": 1428, + "src": "43147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21656,55 +21656,55 @@ ], "name": "UintToAddressMap", "nodeType": "StructDefinition", - "scope": 2480, - "src": "41920:51:1", + "scope": 1972, + "src": "43112:53:0", "visibility": "public" }, { "body": { - "id": 2285, + "id": 1777, "nodeType": "Block", - "src": "42293:88:1", + "src": "43496:90:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2267, + "id": 1759, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2257, - "src": "42315:3:1", + "referencedDeclaration": 1749, + "src": "43519:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2268, + "id": 1760, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42315:10:1", + "referencedDeclaration": 1745, + "src": "43519:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2271, + "id": 1763, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2259, - "src": "42335:3:1", + "referencedDeclaration": 1751, + "src": "43539:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21718,26 +21718,26 @@ "typeString": "uint256" } ], - "id": 2270, + "id": 1762, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2269, + "id": 1761, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": {} } }, - "id": 2272, + "id": 1764, "isConstant": false, "isLValue": false, "isPure": false, @@ -21745,7 +21745,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42327:12:1", + "src": "43531:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21759,12 +21759,12 @@ { "arguments": [ { - "id": 2279, + "id": 1771, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2261, - "src": "42365:5:1", + "referencedDeclaration": 1753, + "src": "43569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21778,26 +21778,26 @@ "typeString": "address" } ], - "id": 2278, + "id": 1770, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2277, + "id": 1769, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": {} } }, - "id": 2280, + "id": 1772, "isConstant": false, "isLValue": false, "isPure": false, @@ -21805,7 +21805,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42357:14:1", + "src": "43561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -21820,26 +21820,26 @@ "typeString": "uint160" } ], - "id": 2276, + "id": 1768, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2275, + "id": 1767, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": {} } }, - "id": 2281, + "id": 1773, "isConstant": false, "isLValue": false, "isPure": false, @@ -21847,7 +21847,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42349:23:1", + "src": "43553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -21862,26 +21862,26 @@ "typeString": "uint256" } ], - "id": 2274, + "id": 1766, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2273, + "id": 1765, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": {} } }, - "id": 2282, + "id": 1774, "isConstant": false, "isLValue": false, "isPure": false, @@ -21889,7 +21889,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42341:32:1", + "src": "43545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21900,7 +21900,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -21912,18 +21912,18 @@ "typeString": "bytes32" } ], - "id": 2266, + "id": 1758, "name": "_set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1998, - "src": "42310:4:1", + "referencedDeclaration": 1490, + "src": "43514:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)" } }, - "id": 2283, + "id": 1775, "isConstant": false, "isLValue": false, "isPure": false, @@ -21931,58 +21931,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42310:64:1", + "src": "43514:64:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2265, - "id": 2284, + "functionReturnParameters": 1757, + "id": 1776, "nodeType": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ] }, "documentation": { - "id": 2255, + "id": 1747, "nodeType": "StructuredDocumentation", - "src": "41977:216:1", + "src": "43173:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2286, + "id": 1778, "implemented": true, "kind": "function", "modifiers": [], "name": "set", "nodeType": "FunctionDefinition", "parameters": { - "id": 2262, + "id": 1754, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2257, + "id": 1749, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42211:28:1", + "scope": 1778, + "src": "43414:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2256, + "id": 1748, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42211:16:1", + "referencedDeclaration": 1746, + "src": "43414:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -21990,12 +21990,12 @@ }, { "constant": false, - "id": 2259, + "id": 1751, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42241:11:1", + "scope": 1778, + "src": "43444:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22003,10 +22003,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2258, + "id": 1750, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42241:7:1", + "src": "43444:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22016,12 +22016,12 @@ }, { "constant": false, - "id": 2261, + "id": 1753, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42254:13:1", + "scope": 1778, + "src": "43457:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22029,10 +22029,10 @@ "typeString": "address" }, "typeName": { - "id": 2260, + "id": 1752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "42254:7:1", + "src": "43457:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -22042,20 +22042,20 @@ "visibility": "internal" } ], - "src": "42210:58:1" + "src": "43413:58:0" }, "returnParameters": { - "id": 2265, + "id": 1757, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2264, + "id": 1756, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42287:4:1", + "scope": 1778, + "src": "43490:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22063,10 +22063,10 @@ "typeString": "bool" }, "typeName": { - "id": 2263, + "id": 1755, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42287:4:1", + "src": "43490:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22075,59 +22075,59 @@ "visibility": "internal" } ], - "src": "42286:6:1" + "src": "43489:6:0" }, - "scope": 2480, - "src": "42198:183:1", + "scope": 1972, + "src": "43401:185:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2305, + "id": 1797, "nodeType": "Block", - "src": "42623:57:1", + "src": "43835:59:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2297, + "id": 1789, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2289, - "src": "42648:3:1", + "referencedDeclaration": 1781, + "src": "43861:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2298, + "id": 1790, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42648:10:1", + "referencedDeclaration": 1745, + "src": "43861:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2301, + "id": 1793, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2291, - "src": "42668:3:1", + "referencedDeclaration": 1783, + "src": "43881:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22141,26 +22141,26 @@ "typeString": "uint256" } ], - "id": 2300, + "id": 1792, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2299, + "id": 1791, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": {} } }, - "id": 2302, + "id": 1794, "isConstant": false, "isLValue": false, "isPure": false, @@ -22168,7 +22168,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42660:12:1", + "src": "43873:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -22179,7 +22179,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22187,18 +22187,18 @@ "typeString": "bytes32" } ], - "id": 2296, + "id": 1788, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2079, - "src": "42640:7:1", + "referencedDeclaration": 1571, + "src": "43853:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)" } }, - "id": 2303, + "id": 1795, "isConstant": false, "isLValue": false, "isPure": false, @@ -22206,58 +22206,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42640:33:1", + "src": "43853:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2295, - "id": 2304, + "functionReturnParameters": 1787, + "id": 1796, "nodeType": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ] }, "documentation": { - "id": 2287, + "id": 1779, "nodeType": "StructuredDocumentation", - "src": "42387:148:1", + "src": "43594:152:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2306, + "id": 1798, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2292, + "id": 1784, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2289, + "id": 1781, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42556:28:1", + "scope": 1798, + "src": "43768:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2288, + "id": 1780, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42556:16:1", + "referencedDeclaration": 1746, + "src": "43768:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22265,12 +22265,12 @@ }, { "constant": false, - "id": 2291, + "id": 1783, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42586:11:1", + "scope": 1798, + "src": "43798:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22278,10 +22278,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2290, + "id": 1782, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42586:7:1", + "src": "43798:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22290,20 +22290,20 @@ "visibility": "internal" } ], - "src": "42555:43:1" + "src": "43767:43:0" }, "returnParameters": { - "id": 2295, + "id": 1787, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2294, + "id": 1786, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42617:4:1", + "scope": 1798, + "src": "43829:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22311,10 +22311,10 @@ "typeString": "bool" }, "typeName": { - "id": 2293, + "id": 1785, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42617:4:1", + "src": "43829:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22323,59 +22323,59 @@ "visibility": "internal" } ], - "src": "42616:6:1" + "src": "43828:6:0" }, - "scope": 2480, - "src": "42540:140:1", + "scope": 1972, + "src": "43752:142:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2325, + "id": 1817, "nodeType": "Block", - "src": "42849:59:1", + "src": "44068:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2317, + "id": 1809, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2309, - "src": "42876:3:1", + "referencedDeclaration": 1801, + "src": "44096:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2318, + "id": 1810, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42876:10:1", + "referencedDeclaration": 1745, + "src": "44096:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2321, + "id": 1813, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2311, - "src": "42896:3:1", + "referencedDeclaration": 1803, + "src": "44116:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22389,26 +22389,26 @@ "typeString": "uint256" } ], - "id": 2320, + "id": 1812, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2319, + "id": 1811, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": {} } }, - "id": 2322, + "id": 1814, "isConstant": false, "isLValue": false, "isPure": false, @@ -22416,7 +22416,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42888:12:1", + "src": "44108:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -22427,7 +22427,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22435,18 +22435,18 @@ "typeString": "bytes32" } ], - "id": 2316, + "id": 1808, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2097, - "src": "42866:9:1", + "referencedDeclaration": 1589, + "src": "44086:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)" } }, - "id": 2323, + "id": 1815, "isConstant": false, "isLValue": false, "isPure": false, @@ -22454,58 +22454,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42866:35:1", + "src": "44086:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2315, - "id": 2324, + "functionReturnParameters": 1807, + "id": 1816, "nodeType": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ] }, "documentation": { - "id": 2307, + "id": 1799, "nodeType": "StructuredDocumentation", - "src": "42686:68:1", + "src": "43902:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2326, + "id": 1818, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2312, + "id": 1804, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2309, + "id": 1801, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42777:28:1", + "scope": 1818, + "src": "43996:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2308, + "id": 1800, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42777:16:1", + "referencedDeclaration": 1746, + "src": "43996:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22513,12 +22513,12 @@ }, { "constant": false, - "id": 2311, + "id": 1803, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42807:11:1", + "scope": 1818, + "src": "44026:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22526,10 +22526,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2310, + "id": 1802, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42807:7:1", + "src": "44026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22538,20 +22538,20 @@ "visibility": "internal" } ], - "src": "42776:43:1" + "src": "43995:43:0" }, "returnParameters": { - "id": 2315, + "id": 1807, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2314, + "id": 1806, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42843:4:1", + "scope": 1818, + "src": "44062:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22559,10 +22559,10 @@ "typeString": "bool" }, "typeName": { - "id": 2313, + "id": 1805, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42843:4:1", + "src": "44062:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22571,47 +22571,47 @@ "visibility": "internal" } ], - "src": "42842:6:1" + "src": "44061:6:0" }, - "scope": 2480, - "src": "42759:149:1", + "scope": 1972, + "src": "43978:151:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2339, + "id": 1831, "nodeType": "Block", - "src": "43069:43:1", + "src": "44295:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2335, + "id": 1827, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2329, - "src": "43094:3:1", + "referencedDeclaration": 1821, + "src": "44321:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2336, + "id": 1828, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43094:10:1", + "referencedDeclaration": 1745, + "src": "44321:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } } @@ -22619,22 +22619,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], - "id": 2334, + "id": 1826, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2110, - "src": "43086:7:1", + "referencedDeclaration": 1602, + "src": "44313:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)" } }, - "id": 2337, + "id": 1829, "isConstant": false, "isLValue": false, "isPure": false, @@ -22642,78 +22642,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43086:19:1", + "src": "44313:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2333, - "id": 2338, + "functionReturnParameters": 1825, + "id": 1830, "nodeType": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ] }, "documentation": { - "id": 2327, + "id": 1819, "nodeType": "StructuredDocumentation", - "src": "42914:72:1", + "src": "44137:74:0", "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2340, + "id": 1832, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2330, + "id": 1822, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2329, + "id": 1821, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43007:28:1", + "scope": 1832, + "src": "44233:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2328, + "id": 1820, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43007:16:1", + "referencedDeclaration": 1746, + "src": "44233:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, "visibility": "internal" } ], - "src": "43006:30:1" + "src": "44232:30:0" }, "returnParameters": { - "id": 2333, + "id": 1825, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2332, + "id": 1824, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43060:7:1", + "scope": 1832, + "src": "44286:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22721,10 +22721,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2331, + "id": 1823, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43060:7:1", + "src": "44286:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22733,34 +22733,34 @@ "visibility": "internal" } ], - "src": "43059:9:1" + "src": "44285:9:0" }, - "scope": 2480, - "src": "42991:121:1", + "scope": 1972, + "src": "44217:123:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2378, + "id": 1870, "nodeType": "Block", - "src": "43538:135:1", + "src": "44777:138:0", "statements": [ { "assignments": [ - 2353, - 2355 + 1845, + 1847 ], "declarations": [ { "constant": false, - "id": 2353, + "id": 1845, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43549:11:1", + "scope": 1870, + "src": "44789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22768,10 +22768,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2352, + "id": 1844, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43549:7:1", + "src": "44789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22781,12 +22781,12 @@ }, { "constant": false, - "id": 2355, + "id": 1847, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43562:13:1", + "scope": 1870, + "src": "44802:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22794,10 +22794,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2354, + "id": 1846, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43562:7:1", + "src": "44802:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22806,43 +22806,43 @@ "visibility": "internal" } ], - "id": 2361, + "id": 1853, "initialValue": { "arguments": [ { "expression": { - "id": 2357, + "id": 1849, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2343, - "src": "43583:3:1", + "referencedDeclaration": 1835, + "src": "44823:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2358, + "id": 1850, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43583:10:1", + "referencedDeclaration": 1745, + "src": "44823:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { - "id": 2359, + "id": 1851, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2345, - "src": "43595:5:1", + "referencedDeclaration": 1837, + "src": "44835:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22852,7 +22852,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22860,18 +22860,18 @@ "typeString": "uint256" } ], - "id": 2356, + "id": 1848, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2145, - "src": "43579:3:1", + "referencedDeclaration": 1637, + "src": "44819:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)" } }, - "id": 2360, + "id": 1852, "isConstant": false, "isLValue": false, "isPure": false, @@ -22879,7 +22879,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43579:22:1", + "src": "44819:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", @@ -22887,7 +22887,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "expression": { @@ -22895,12 +22895,12 @@ { "arguments": [ { - "id": 2364, + "id": 1856, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2353, - "src": "43627:3:1", + "referencedDeclaration": 1845, + "src": "44868:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22914,26 +22914,26 @@ "typeString": "bytes32" } ], - "id": 2363, + "id": 1855, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2362, + "id": 1854, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": {} } }, - "id": 2365, + "id": 1857, "isConstant": false, "isLValue": false, "isPure": false, @@ -22941,7 +22941,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43619:12:1", + "src": "44860:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -22955,12 +22955,12 @@ { "arguments": [ { - "id": 2372, + "id": 1864, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2355, - "src": "43657:5:1", + "referencedDeclaration": 1847, + "src": "44898:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22974,26 +22974,26 @@ "typeString": "bytes32" } ], - "id": 2371, + "id": 1863, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2370, + "id": 1862, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": {} } }, - "id": 2373, + "id": 1865, "isConstant": false, "isLValue": false, "isPure": false, @@ -23001,7 +23001,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43649:14:1", + "src": "44890:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23016,26 +23016,26 @@ "typeString": "uint256" } ], - "id": 2369, + "id": 1861, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2368, + "id": 1860, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": {} } }, - "id": 2374, + "id": 1866, "isConstant": false, "isLValue": false, "isPure": false, @@ -23043,7 +23043,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43641:23:1", + "src": "44882:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23058,26 +23058,26 @@ "typeString": "uint160" } ], - "id": 2367, + "id": 1859, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2366, + "id": 1858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": {} } }, - "id": 2375, + "id": 1867, "isConstant": false, "isLValue": false, "isPure": false, @@ -23085,7 +23085,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43633:32:1", + "src": "44874:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -23093,64 +23093,64 @@ } } ], - "id": 2376, + "id": 1868, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "43618:48:1", + "src": "44859:48:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_payable_$", "typeString": "tuple(uint256,address payable)" } }, - "functionReturnParameters": 2351, - "id": 2377, + "functionReturnParameters": 1843, + "id": 1869, "nodeType": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ] }, "documentation": { - "id": 2341, + "id": 1833, "nodeType": "StructuredDocumentation", - "src": "43117:318:1", + "src": "44347:326:0", "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2379, + "id": 1871, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2346, + "id": 1838, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2343, + "id": 1835, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43452:28:1", + "scope": 1871, + "src": "44691:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2342, + "id": 1834, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43452:16:1", + "referencedDeclaration": 1746, + "src": "44691:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23158,12 +23158,12 @@ }, { "constant": false, - "id": 2345, + "id": 1837, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43482:13:1", + "scope": 1871, + "src": "44721:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23171,10 +23171,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2344, + "id": 1836, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43482:7:1", + "src": "44721:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23183,20 +23183,20 @@ "visibility": "internal" } ], - "src": "43451:45:1" + "src": "44690:45:0" }, "returnParameters": { - "id": 2351, + "id": 1843, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2348, + "id": 1840, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43520:7:1", + "scope": 1871, + "src": "44759:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23204,10 +23204,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2347, + "id": 1839, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43520:7:1", + "src": "44759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23217,12 +23217,12 @@ }, { "constant": false, - "id": 2350, + "id": 1842, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43529:7:1", + "scope": 1871, + "src": "44768:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23230,10 +23230,10 @@ "typeString": "address" }, "typeName": { - "id": 2349, + "id": 1841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43529:7:1", + "src": "44768:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23243,34 +23243,34 @@ "visibility": "internal" } ], - "src": "43519:18:1" + "src": "44758:18:0" }, - "scope": 2480, - "src": "43440:233:1", + "scope": 1972, + "src": "44679:236:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2417, + "id": 1909, "nodeType": "Block", - "src": "43950:142:1", + "src": "45200:145:0", "statements": [ { "assignments": [ - 2392, - 2394 + 1884, + 1886 ], "declarations": [ { "constant": false, - "id": 2392, + "id": 1884, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43961:12:1", + "scope": 1909, + "src": "45212:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23278,10 +23278,10 @@ "typeString": "bool" }, "typeName": { - "id": 2391, + "id": 1883, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43961:4:1", + "src": "45212:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23291,12 +23291,12 @@ }, { "constant": false, - "id": 2394, + "id": 1886, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43975:13:1", + "scope": 1909, + "src": "45226:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23304,10 +23304,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2393, + "id": 1885, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43975:7:1", + "src": "45226:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23316,45 +23316,45 @@ "visibility": "internal" } ], - "id": 2403, + "id": 1895, "initialValue": { "arguments": [ { "expression": { - "id": 2396, + "id": 1888, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2382, - "src": "44000:3:1", + "referencedDeclaration": 1874, + "src": "45251:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2397, + "id": 1889, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44000:10:1", + "referencedDeclaration": 1745, + "src": "45251:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2400, + "id": 1892, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2384, - "src": "44020:3:1", + "referencedDeclaration": 1876, + "src": "45271:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23368,26 +23368,26 @@ "typeString": "uint256" } ], - "id": 2399, + "id": 1891, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2398, + "id": 1890, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": {} } }, - "id": 2401, + "id": 1893, "isConstant": false, "isLValue": false, "isPure": false, @@ -23395,7 +23395,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44012:12:1", + "src": "45263:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23406,7 +23406,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23414,18 +23414,18 @@ "typeString": "bytes32" } ], - "id": 2395, + "id": 1887, "name": "_tryGet", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2183, - "src": "43992:7:1", + "referencedDeclaration": 1675, + "src": "45243:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)" } }, - "id": 2402, + "id": 1894, "isConstant": false, "isLValue": false, "isPure": false, @@ -23433,7 +23433,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43992:33:1", + "src": "45243:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", @@ -23441,18 +23441,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "expression": { "components": [ { - "id": 2404, + "id": 1896, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2392, - "src": "44043:7:1", + "referencedDeclaration": 1884, + "src": "45295:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23465,12 +23465,12 @@ { "arguments": [ { - "id": 2411, + "id": 1903, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2394, - "src": "44076:5:1", + "referencedDeclaration": 1886, + "src": "45328:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23484,26 +23484,26 @@ "typeString": "bytes32" } ], - "id": 2410, + "id": 1902, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2409, + "id": 1901, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": {} } }, - "id": 2412, + "id": 1904, "isConstant": false, "isLValue": false, "isPure": false, @@ -23511,7 +23511,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44068:14:1", + "src": "45320:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23526,26 +23526,26 @@ "typeString": "uint256" } ], - "id": 2408, + "id": 1900, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2407, + "id": 1899, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": {} } }, - "id": 2413, + "id": 1905, "isConstant": false, "isLValue": false, "isPure": false, @@ -23553,7 +23553,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44060:23:1", + "src": "45312:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23568,26 +23568,26 @@ "typeString": "uint160" } ], - "id": 2406, + "id": 1898, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2405, + "id": 1897, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": {} } }, - "id": 2414, + "id": 1906, "isConstant": false, "isLValue": false, "isPure": false, @@ -23595,7 +23595,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44052:32:1", + "src": "45304:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -23603,64 +23603,64 @@ } } ], - "id": 2415, + "id": 1907, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "44042:43:1", + "src": "45294:43:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_address_payable_$", "typeString": "tuple(bool,address payable)" } }, - "functionReturnParameters": 2390, - "id": 2416, + "functionReturnParameters": 1882, + "id": 1908, "nodeType": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ] }, "documentation": { - "id": 2380, + "id": 1872, "nodeType": "StructuredDocumentation", - "src": "43679:169:1", + "src": "44923:174:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2418, + "id": 1910, "implemented": true, "kind": "function", "modifiers": [], "name": "tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2385, + "id": 1877, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2382, + "id": 1874, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43869:28:1", + "scope": 1910, + "src": "45119:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2381, + "id": 1873, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43869:16:1", + "referencedDeclaration": 1746, + "src": "45119:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23668,12 +23668,12 @@ }, { "constant": false, - "id": 2384, + "id": 1876, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43899:11:1", + "scope": 1910, + "src": "45149:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23681,10 +23681,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2383, + "id": 1875, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43899:7:1", + "src": "45149:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23693,20 +23693,20 @@ "visibility": "internal" } ], - "src": "43868:43:1" + "src": "45118:43:0" }, "returnParameters": { - "id": 2390, + "id": 1882, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2387, + "id": 1879, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43935:4:1", + "scope": 1910, + "src": "45185:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23714,10 +23714,10 @@ "typeString": "bool" }, "typeName": { - "id": 2386, + "id": 1878, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43935:4:1", + "src": "45185:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23727,12 +23727,12 @@ }, { "constant": false, - "id": 2389, + "id": 1881, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43941:7:1", + "scope": 1910, + "src": "45191:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23740,10 +23740,10 @@ "typeString": "address" }, "typeName": { - "id": 2388, + "id": 1880, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43941:7:1", + "src": "45191:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23753,19 +23753,19 @@ "visibility": "internal" } ], - "src": "43934:15:1" + "src": "45184:15:0" }, - "scope": 2480, - "src": "43853:239:1", + "scope": 1972, + "src": "45103:242:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2446, + "id": 1938, "nodeType": "Block", - "src": "44332:81:1", + "src": "45594:83:0", "statements": [ { "expression": { @@ -23778,40 +23778,40 @@ "arguments": [ { "expression": { - "id": 2435, + "id": 1927, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2421, - "src": "44378:3:1", + "referencedDeclaration": 1913, + "src": "45641:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2436, + "id": 1928, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44378:10:1", + "referencedDeclaration": 1745, + "src": "45641:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2439, + "id": 1931, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2423, - "src": "44398:3:1", + "referencedDeclaration": 1915, + "src": "45661:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23825,26 +23825,26 @@ "typeString": "uint256" } ], - "id": 2438, + "id": 1930, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2437, + "id": 1929, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": {} } }, - "id": 2440, + "id": 1932, "isConstant": false, "isLValue": false, "isPure": false, @@ -23852,7 +23852,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44390:12:1", + "src": "45653:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23863,7 +23863,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23871,21 +23871,21 @@ "typeString": "bytes32" } ], - "id": 2434, + "id": 1926, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, - "src": "44373:4:1", + "referencedDeclaration": 1708, + "src": "45636:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)" } }, - "id": 2441, + "id": 1933, "isConstant": false, "isLValue": false, "isPure": false, @@ -23893,7 +23893,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44373:30:1", + "src": "45636:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23908,26 +23908,26 @@ "typeString": "bytes32" } ], - "id": 2433, + "id": 1925, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2432, + "id": 1924, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": {} } }, - "id": 2442, + "id": 1934, "isConstant": false, "isLValue": false, "isPure": false, @@ -23935,7 +23935,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44365:39:1", + "src": "45628:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23950,26 +23950,26 @@ "typeString": "uint256" } ], - "id": 2431, + "id": 1923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2430, + "id": 1922, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": {} } }, - "id": 2443, + "id": 1935, "isConstant": false, "isLValue": false, "isPure": false, @@ -23977,7 +23977,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44357:48:1", + "src": "45620:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23992,26 +23992,26 @@ "typeString": "uint160" } ], - "id": 2429, + "id": 1921, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2428, + "id": 1920, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": {} } }, - "id": 2444, + "id": 1936, "isConstant": false, "isLValue": false, "isPure": false, @@ -24019,58 +24019,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44349:57:1", + "src": "45612:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2427, - "id": 2445, + "functionReturnParameters": 1919, + "id": 1937, "nodeType": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ] }, "documentation": { - "id": 2419, + "id": 1911, "nodeType": "StructuredDocumentation", - "src": "44098:141:1", + "src": "45353:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2447, + "id": 1939, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2424, + "id": 1916, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2421, + "id": 1913, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44257:28:1", + "scope": 1939, + "src": "45519:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2420, + "id": 1912, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44257:16:1", + "referencedDeclaration": 1746, + "src": "45519:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -24078,12 +24078,12 @@ }, { "constant": false, - "id": 2423, + "id": 1915, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44287:11:1", + "scope": 1939, + "src": "45549:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24091,10 +24091,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2422, + "id": 1914, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44287:7:1", + "src": "45549:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24103,20 +24103,20 @@ "visibility": "internal" } ], - "src": "44256:43:1" + "src": "45518:43:0" }, "returnParameters": { - "id": 2427, + "id": 1919, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2426, + "id": 1918, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44323:7:1", + "scope": 1939, + "src": "45585:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24124,10 +24124,10 @@ "typeString": "address" }, "typeName": { - "id": 2425, + "id": 1917, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44323:7:1", + "src": "45585:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -24137,19 +24137,19 @@ "visibility": "internal" } ], - "src": "44322:9:1" + "src": "45584:9:0" }, - "scope": 2480, - "src": "44244:169:1", + "scope": 1972, + "src": "45506:171:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2478, + "id": 1970, "nodeType": "Block", - "src": "44809:95:1", + "src": "46081:97:0", "statements": [ { "expression": { @@ -24162,40 +24162,40 @@ "arguments": [ { "expression": { - "id": 2466, + "id": 1958, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2450, - "src": "44855:3:1", + "referencedDeclaration": 1942, + "src": "46128:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2467, + "id": 1959, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44855:10:1", + "referencedDeclaration": 1745, + "src": "46128:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2470, + "id": 1962, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2452, - "src": "44875:3:1", + "referencedDeclaration": 1944, + "src": "46148:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24209,26 +24209,26 @@ "typeString": "uint256" } ], - "id": 2469, + "id": 1961, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2468, + "id": 1960, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": {} } }, - "id": 2471, + "id": 1963, "isConstant": false, "isLValue": false, "isPure": false, @@ -24236,7 +24236,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44867:12:1", + "src": "46140:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -24244,12 +24244,12 @@ } }, { - "id": 2472, + "id": 1964, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2454, - "src": "44881:12:1", + "referencedDeclaration": 1946, + "src": "46154:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -24259,7 +24259,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -24271,21 +24271,21 @@ "typeString": "string memory" } ], - "id": 2465, + "id": 1957, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, - "src": "44850:4:1", + "referencedDeclaration": 1743, + "src": "46123:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)" } }, - "id": 2473, + "id": 1965, "isConstant": false, "isLValue": false, "isPure": false, @@ -24293,7 +24293,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44850:44:1", + "src": "46123:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -24308,26 +24308,26 @@ "typeString": "bytes32" } ], - "id": 2464, + "id": 1956, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2463, + "id": 1955, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": {} } }, - "id": 2474, + "id": 1966, "isConstant": false, "isLValue": false, "isPure": false, @@ -24335,7 +24335,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44842:53:1", + "src": "46115:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -24350,26 +24350,26 @@ "typeString": "uint256" } ], - "id": 2462, + "id": 1954, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2461, + "id": 1953, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": {} } }, - "id": 2475, + "id": 1967, "isConstant": false, "isLValue": false, "isPure": false, @@ -24377,7 +24377,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44834:62:1", + "src": "46107:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -24392,26 +24392,26 @@ "typeString": "uint160" } ], - "id": 2460, + "id": 1952, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2459, + "id": 1951, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": {} } }, - "id": 2476, + "id": 1968, "isConstant": false, "isLValue": false, "isPure": false, @@ -24419,58 +24419,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44826:71:1", + "src": "46099:71:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2458, - "id": 2477, + "functionReturnParameters": 1950, + "id": 1969, "nodeType": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ] }, "documentation": { - "id": 2448, + "id": 1940, "nodeType": "StructuredDocumentation", - "src": "44419:269:1", + "src": "45685:274:0", "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2479, + "id": 1971, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2455, + "id": 1947, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2450, + "id": 1942, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44706:28:1", + "scope": 1971, + "src": "45978:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2449, + "id": 1941, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44706:16:1", + "referencedDeclaration": 1746, + "src": "45978:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -24478,12 +24478,12 @@ }, { "constant": false, - "id": 2452, + "id": 1944, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44736:11:1", + "scope": 1971, + "src": "46008:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24491,10 +24491,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2451, + "id": 1943, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44736:7:1", + "src": "46008:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24504,12 +24504,12 @@ }, { "constant": false, - "id": 2454, + "id": 1946, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44749:26:1", + "scope": 1971, + "src": "46021:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24517,10 +24517,10 @@ "typeString": "string" }, "typeName": { - "id": 2453, + "id": 1945, "name": "string", "nodeType": "ElementaryTypeName", - "src": "44749:6:1", + "src": "46021:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -24529,20 +24529,20 @@ "visibility": "internal" } ], - "src": "44705:71:1" + "src": "45977:71:0" }, "returnParameters": { - "id": 2458, + "id": 1950, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2457, + "id": 1949, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44800:7:1", + "scope": 1971, + "src": "46072:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24550,10 +24550,10 @@ "typeString": "address" }, "typeName": { - "id": 2456, + "id": 1948, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44800:7:1", + "src": "46072:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -24563,20 +24563,20 @@ "visibility": "internal" } ], - "src": "44799:9:1" + "src": "46071:9:0" }, - "scope": 2480, - "src": "44693:211:1", + "scope": 1972, + "src": "45965:213:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "35943:8963:1" + "scope": 2991, + "src": "36981:9200:0" }, { - "id": 2481, + "id": 1973, "literals": [ "solidity", ">=", @@ -24587,7 +24587,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "abstract": false, @@ -24595,24 +24595,24 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 2482, + "id": 1974, "nodeType": "StructuredDocumentation", - "src": "44992:34:1", + "src": "46272:36:0", "text": " @dev String operations." }, "fullyImplemented": true, - "id": 2566, + "id": 2058, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 2564, + "id": 2056, "nodeType": "Block", - "src": "45207:654:1", + "src": "46494:675:0", "statements": [ { "condition": { @@ -24620,18 +24620,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2492, + "id": 1984, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2490, + "id": 1982, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45409:5:1", + "referencedDeclaration": 1977, + "src": "46700:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24641,72 +24641,72 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2491, + "id": 1983, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45418:1:1", + "src": "46709:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45409:10:1", + "src": "46700:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2496, + "id": 1988, "nodeType": "IfStatement", - "src": "45405:51:1", + "src": "46696:53:0", "trueBody": { - "id": 2495, + "id": 1987, "nodeType": "Block", - "src": "45421:35:1", + "src": "46712:37:0", "statements": [ { "expression": { "hexValue": "30", - "id": 2493, + "id": 1985, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "45442:3:1", + "src": "46734:3:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", "typeString": "literal_string \"0\"" }, "value": "0" }, - "functionReturnParameters": 2489, - "id": 2494, + "functionReturnParameters": 1981, + "id": 1986, "nodeType": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ] } }, { "assignments": [ - 2498 + 1990 ], "declarations": [ { "constant": false, - "id": 2498, + "id": 1990, "mutability": "mutable", "name": "temp", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45465:12:1", + "scope": 2056, + "src": "46759:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24714,10 +24714,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2497, + "id": 1989, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45465:7:1", + "src": "46759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24726,35 +24726,35 @@ "visibility": "internal" } ], - "id": 2500, + "id": 1992, "initialValue": { - "id": 2499, + "id": 1991, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45480:5:1", + "referencedDeclaration": 1977, + "src": "46774:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "assignments": [ - 2502 + 1994 ], "declarations": [ { "constant": false, - "id": 2502, + "id": 1994, "mutability": "mutable", "name": "digits", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45495:14:1", + "scope": 2056, + "src": "46790:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24762,10 +24762,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2501, + "id": 1993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45495:7:1", + "src": "46790:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24774,19 +24774,19 @@ "visibility": "internal" } ], - "id": 2503, + "id": 1995, "nodeType": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "body": { - "id": 2514, + "id": 2006, "nodeType": "Block", - "src": "45537:57:1", + "src": "46833:60:0", "statements": [ { "expression": { - "id": 2508, + "id": 2000, "isConstant": false, "isLValue": false, "isPure": false, @@ -24794,14 +24794,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "45551:8:1", + "src": "46848:8:0", "subExpression": { - "id": 2507, + "id": 1999, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45551:6:1", + "referencedDeclaration": 1994, + "src": "46848:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24812,24 +24812,24 @@ "typeString": "uint256" } }, - "id": 2509, + "id": 2001, "nodeType": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "expression": { - "id": 2512, + "id": 2004, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2510, + "id": 2002, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45573:4:1", + "referencedDeclaration": 1990, + "src": "46871:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24839,29 +24839,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2511, + "id": 2003, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45581:2:1", + "src": "46879:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45573:10:1", + "src": "46871:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2513, + "id": 2005, "nodeType": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ] }, @@ -24870,18 +24870,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2506, + "id": 1998, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2504, + "id": 1996, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45526:4:1", + "referencedDeclaration": 1990, + "src": "46822:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24891,43 +24891,43 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2505, + "id": 1997, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45534:1:1", + "src": "46830:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45526:9:1", + "src": "46822:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2515, + "id": 2007, "nodeType": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "assignments": [ - 2517 + 2009 ], "declarations": [ { "constant": false, - "id": 2517, + "id": 2009, "mutability": "mutable", "name": "buffer", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45603:19:1", + "scope": 2056, + "src": "46903:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24935,10 +24935,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2516, + "id": 2008, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45603:5:1", + "src": "46903:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -24947,16 +24947,16 @@ "visibility": "internal" } ], - "id": 2522, + "id": 2014, "initialValue": { "arguments": [ { - "id": 2520, + "id": 2012, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45635:6:1", + "referencedDeclaration": 1994, + "src": "46935:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24970,29 +24970,29 @@ "typeString": "uint256" } ], - "id": 2519, + "id": 2011, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", - "src": "45625:9:1", + "src": "46925:9:0", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", "typeString": "function (uint256) pure returns (bytes memory)" }, "typeName": { - "id": 2518, + "id": 2010, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45629:5:1", + "src": "46929:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } } }, - "id": 2521, + "id": 2013, "isConstant": false, "isLValue": false, "isPure": false, @@ -25000,7 +25000,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45625:17:1", + "src": "46925:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -25008,21 +25008,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "assignments": [ - 2524 + 2016 ], "declarations": [ { "constant": false, - "id": 2524, + "id": 2016, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45652:13:1", + "scope": 2056, + "src": "46953:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25030,10 +25030,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2523, + "id": 2015, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45652:7:1", + "src": "46953:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25042,24 +25042,24 @@ "visibility": "internal" } ], - "id": 2528, + "id": 2020, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2527, + "id": 2019, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2525, + "id": 2017, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45668:6:1", + "referencedDeclaration": 1994, + "src": "46969:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25069,43 +25069,43 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2526, + "id": 2018, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45677:1:1", + "src": "46978:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "45668:10:1", + "src": "46969:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "expression": { - "id": 2531, + "id": 2023, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2529, + "id": 2021, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45688:4:1", + "referencedDeclaration": 1990, + "src": "46990:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25114,56 +25114,56 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2530, + "id": 2022, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45695:5:1", + "referencedDeclaration": 1977, + "src": "46997:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45688:12:1", + "src": "46990:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2532, + "id": 2024, "nodeType": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "body": { - "id": 2557, + "id": 2049, "nodeType": "Block", - "src": "45728:96:1", + "src": "47031:99:0", "statements": [ { "expression": { - "id": 2551, + "id": 2043, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2536, + "id": 2028, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45742:6:1", + "referencedDeclaration": 2009, + "src": "47046:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2539, + "id": 2031, "indexExpression": { - "id": 2538, + "id": 2030, "isConstant": false, "isLValue": false, "isPure": false, @@ -25171,14 +25171,14 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "45749:7:1", + "src": "47053:7:0", "subExpression": { - "id": 2537, + "id": 2029, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2524, - "src": "45749:5:1", + "referencedDeclaration": 2016, + "src": "47053:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25194,7 +25194,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "45742:15:1", + "src": "47046:15:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -25211,21 +25211,21 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2548, + "id": 2040, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "hexValue": "3438", - "id": 2544, + "id": 2036, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45773:2:1", + "src": "47077:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_48_by_1", "typeString": "int_const 48" @@ -25239,18 +25239,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2547, + "id": 2039, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2545, + "id": 2037, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45778:4:1", + "referencedDeclaration": 1990, + "src": "47082:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25260,27 +25260,27 @@ "operator": "%", "rightExpression": { "hexValue": "3130", - "id": 2546, + "id": 2038, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45785:2:1", + "src": "47089:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45778:9:1", + "src": "47082:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45773:14:1", + "src": "47077:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25294,26 +25294,26 @@ "typeString": "uint256" } ], - "id": 2543, + "id": 2035, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint8_$", "typeString": "type(uint8)" }, "typeName": { - "id": 2542, + "id": 2034, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": {} } }, - "id": 2549, + "id": 2041, "isConstant": false, "isLValue": false, "isPure": false, @@ -25321,7 +25321,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45767:21:1", + "src": "47071:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint8", @@ -25336,26 +25336,26 @@ "typeString": "uint8" } ], - "id": 2541, + "id": 2033, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": { - "id": 2540, + "id": 2032, "name": "bytes1", "nodeType": "ElementaryTypeName", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": {} } }, - "id": 2550, + "id": 2042, "isConstant": false, "isLValue": false, "isPure": false, @@ -25363,37 +25363,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45760:29:1", + "src": "47064:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "45742:47:1", + "src": "47046:47:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "id": 2552, + "id": 2044, "nodeType": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "expression": { - "id": 2555, + "id": 2047, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2553, + "id": 2045, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45803:4:1", + "referencedDeclaration": 1990, + "src": "47108:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25403,29 +25403,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2554, + "id": 2046, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45811:2:1", + "src": "47116:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45803:10:1", + "src": "47108:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2556, + "id": 2048, "nodeType": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ] }, @@ -25434,18 +25434,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2535, + "id": 2027, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2533, + "id": 2025, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45717:4:1", + "referencedDeclaration": 1990, + "src": "47020:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25455,40 +25455,40 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2534, + "id": 2026, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45725:1:1", + "src": "47028:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45717:9:1", + "src": "47020:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2558, + "id": 2050, "nodeType": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "expression": { "arguments": [ { - "id": 2561, + "id": 2053, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45847:6:1", + "referencedDeclaration": 2009, + "src": "47154:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -25502,26 +25502,26 @@ "typeString": "bytes memory" } ], - "id": 2560, + "id": 2052, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2559, + "id": 2051, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": {} } }, - "id": 2562, + "id": 2054, "isConstant": false, "isLValue": false, "isPure": false, @@ -25529,44 +25529,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45840:14:1", + "src": "47147:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2489, - "id": 2563, + "functionReturnParameters": 1981, + "id": 2055, "nodeType": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ] }, "documentation": { - "id": 2483, + "id": 1975, "nodeType": "StructuredDocumentation", - "src": "45049:82:1", + "src": "46333:84:0", "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2565, + "id": 2057, "implemented": true, "kind": "function", "modifiers": [], "name": "toString", "nodeType": "FunctionDefinition", "parameters": { - "id": 2486, + "id": 1978, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2485, + "id": 1977, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45154:13:1", + "scope": 2057, + "src": "46441:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25574,10 +25574,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2484, + "id": 1976, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45154:7:1", + "src": "46441:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25586,20 +25586,20 @@ "visibility": "internal" } ], - "src": "45153:15:1" + "src": "46440:15:0" }, "returnParameters": { - "id": 2489, + "id": 1981, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2488, + "id": 1980, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45192:13:1", + "scope": 2057, + "src": "46479:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -25607,10 +25607,10 @@ "typeString": "string" }, "typeName": { - "id": 2487, + "id": 1979, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45192:6:1", + "src": "46479:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25619,20 +25619,20 @@ "visibility": "internal" } ], - "src": "45191:15:1" + "src": "46478:15:0" }, - "scope": 2566, - "src": "45136:725:1", + "scope": 2058, + "src": "46423:746:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "45027:836:1" + "scope": 2991, + "src": "46310:862:0" }, { - "id": 2567, + "id": 2059, "literals": [ "solidity", ">=", @@ -25643,141 +25643,141 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 2569, + "id": 2061, "name": "Context", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 530, - "src": "46099:7:1", + "referencedDeclaration": 22, + "src": "47417:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 2570, + "id": 2062, "nodeType": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "baseName": { - "id": 2571, + "id": 2063, "name": "ERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 781, - "src": "46108:6:1", + "referencedDeclaration": 273, + "src": "47426:6:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC165_$781", + "typeIdentifier": "t_contract$_ERC165_$273", "typeString": "contract ERC165" } }, - "id": 2572, + "id": 2064, "nodeType": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "baseName": { - "id": 2573, + "id": 2065, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "46116:7:1", + "referencedDeclaration": 147, + "src": "47434:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 2574, + "id": 2066, "nodeType": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "baseName": { - "id": 2575, + "id": 2067, "name": "IERC721Metadata", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 680, - "src": "46125:15:1", + "referencedDeclaration": 172, + "src": "47443:15:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Metadata_$680", + "typeIdentifier": "t_contract$_IERC721Metadata_$172", "typeString": "contract IERC721Metadata" } }, - "id": 2576, + "id": 2068, "nodeType": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "baseName": { - "id": 2577, + "id": 2069, "name": "IERC721Enumerable", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 709, - "src": "46142:17:1", + "referencedDeclaration": 201, + "src": "47460:17:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Enumerable_$709", + "typeIdentifier": "t_contract$_IERC721Enumerable_$201", "typeString": "contract IERC721Enumerable" } }, - "id": 2578, + "id": 2070, "nodeType": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" } ], "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "documentation": { - "id": 2568, + "id": 2060, "nodeType": "StructuredDocumentation", - "src": "45955:124:1", + "src": "47269:127:0", "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": true, - "id": 3498, + "id": 2990, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", "nodeType": "ContractDefinition", "nodes": [ { - "id": 2581, + "id": 2073, "libraryName": { - "id": 2579, + "id": 2071, "name": "SafeMath", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1135, - "src": "46172:8:1", + "referencedDeclaration": 627, + "src": "47491:8:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$1135", + "typeIdentifier": "t_contract$_SafeMath_$627", "typeString": "library SafeMath" } }, "nodeType": "UsingForDirective", - "src": "46166:27:1", + "src": "47485:27:0", "typeName": { - "id": 2580, + "id": 2072, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46185:7:1", + "src": "47504:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25785,25 +25785,25 @@ } }, { - "id": 2584, + "id": 2076, "libraryName": { - "id": 2582, + "id": 2074, "name": "Address", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1430, - "src": "46204:7:1", + "referencedDeclaration": 922, + "src": "47524:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } }, "nodeType": "UsingForDirective", - "src": "46198:26:1", + "src": "47518:26:0", "typeName": { - "id": 2583, + "id": 2075, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46216:7:1", + "src": "47536:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25812,79 +25812,79 @@ } }, { - "id": 2587, + "id": 2079, "libraryName": { - "id": 2585, + "id": 2077, "name": "EnumerableSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1921, - "src": "46235:13:1", + "referencedDeclaration": 1413, + "src": "47556:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableSet_$1921", + "typeIdentifier": "t_contract$_EnumerableSet_$1413", "typeString": "library EnumerableSet" } }, "nodeType": "UsingForDirective", - "src": "46229:46:1", + "src": "47550:46:0", "typeName": { - "id": 2586, + "id": 2078, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46253:21:1", + "referencedDeclaration": 1318, + "src": "47574:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } }, { - "id": 2590, + "id": 2082, "libraryName": { - "id": 2588, + "id": 2080, "name": "EnumerableMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2480, - "src": "46286:13:1", + "referencedDeclaration": 1972, + "src": "47608:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableMap_$2480", + "typeIdentifier": "t_contract$_EnumerableMap_$1972", "typeString": "library EnumerableMap" } }, "nodeType": "UsingForDirective", - "src": "46280:55:1", + "src": "47602:55:0", "typeName": { - "id": 2589, + "id": 2081, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46304:30:1", + "referencedDeclaration": 1746, + "src": "47626:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } } }, { - "id": 2593, + "id": 2085, "libraryName": { - "id": 2591, + "id": 2083, "name": "Strings", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2566, - "src": "46346:7:1", + "referencedDeclaration": 2058, + "src": "47669:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Strings_$2566", + "typeIdentifier": "t_contract$_Strings_$2058", "typeString": "library Strings" } }, "nodeType": "UsingForDirective", - "src": "46340:26:1", + "src": "47663:26:0", "typeName": { - "id": 2592, + "id": 2084, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46358:7:1", + "src": "47681:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25893,12 +25893,12 @@ }, { "constant": true, - "id": 2596, + "id": 2088, "mutability": "constant", "name": "_ERC721_RECEIVED", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46544:53:1", + "scope": 2990, + "src": "47871:53:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25906,10 +25906,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2594, + "id": 2086, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "46544:6:1", + "src": "47871:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -25917,14 +25917,14 @@ }, "value": { "hexValue": "30783135306237613032", - "id": 2595, + "id": 2087, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "46587:10:1", + "src": "47914:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_353073666_by_1", "typeString": "int_const 353073666" @@ -25935,44 +25935,44 @@ }, { "constant": false, - "id": 2600, + "id": 2092, "mutability": "mutable", "name": "_holderTokens", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46681:64:1", + "scope": 2990, + "src": "48011:64:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "typeName": { - "id": 2599, + "id": 2091, "keyType": { - "id": 2597, + "id": 2089, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46690:7:1", + "src": "48020:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "46681:42:1", + "src": "48011:42:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "valueType": { - "id": 2598, + "id": 2090, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46701:21:1", + "referencedDeclaration": 1318, + "src": "48031:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } @@ -25981,26 +25981,26 @@ }, { "constant": false, - "id": 2602, + "id": 2094, "mutability": "mutable", "name": "_tokenOwners", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46809:51:1", + "scope": 2990, + "src": "48142:51:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2601, + "id": 2093, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46809:30:1", + "referencedDeclaration": 1746, + "src": "48142:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -26008,12 +26008,12 @@ }, { "constant": false, - "id": 2606, + "id": 2098, "mutability": "mutable", "name": "_tokenApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46916:52:1", + "scope": 2990, + "src": "48252:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26021,28 +26021,28 @@ "typeString": "mapping(uint256 => address)" }, "typeName": { - "id": 2605, + "id": 2097, "keyType": { - "id": 2603, + "id": 2095, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46925:7:1", + "src": "48261:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "46916:28:1", + "src": "48252:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" }, "valueType": { - "id": 2604, + "id": 2096, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46936:7:1", + "src": "48272:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26054,12 +26054,12 @@ }, { "constant": false, - "id": 2612, + "id": 2104, "mutability": "mutable", "name": "_operatorApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47023:73:1", + "scope": 2990, + "src": "48362:73:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26067,46 +26067,46 @@ "typeString": "mapping(address => mapping(address => bool))" }, "typeName": { - "id": 2611, + "id": 2103, "keyType": { - "id": 2607, + "id": 2099, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47032:7:1", + "src": "48371:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47023:46:1", + "src": "48362:46:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" }, "valueType": { - "id": 2610, + "id": 2102, "keyType": { - "id": 2608, + "id": 2100, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47052:7:1", + "src": "48391:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47043:25:1", + "src": "48382:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" }, "valueType": { - "id": 2609, + "id": 2101, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "47063:4:1", + "src": "48402:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -26118,12 +26118,12 @@ }, { "constant": false, - "id": 2614, + "id": 2106, "mutability": "mutable", "name": "_name", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47121:20:1", + "scope": 2990, + "src": "48463:20:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26131,10 +26131,10 @@ "typeString": "string" }, "typeName": { - "id": 2613, + "id": 2105, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47121:6:1", + "src": "48463:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26144,12 +26144,12 @@ }, { "constant": false, - "id": 2616, + "id": 2108, "mutability": "mutable", "name": "_symbol", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47168:22:1", + "scope": 2990, + "src": "48513:22:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26157,10 +26157,10 @@ "typeString": "string" }, "typeName": { - "id": 2615, + "id": 2107, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47168:6:1", + "src": "48513:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26170,12 +26170,12 @@ }, { "constant": false, - "id": 2620, + "id": 2112, "mutability": "mutable", "name": "_tokenURIs", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47236:46:1", + "scope": 2990, + "src": "48584:46:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26183,28 +26183,28 @@ "typeString": "mapping(uint256 => string)" }, "typeName": { - "id": 2619, + "id": 2111, "keyType": { - "id": 2617, + "id": 2109, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "47245:7:1", + "src": "48593:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "47236:27:1", + "src": "48584:27:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string)" }, "valueType": { - "id": 2618, + "id": 2110, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47256:6:1", + "src": "48604:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26215,12 +26215,12 @@ }, { "constant": false, - "id": 2622, + "id": 2114, "mutability": "mutable", "name": "_baseURI", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47305:23:1", + "scope": 2990, + "src": "48656:23:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26228,10 +26228,10 @@ "typeString": "string" }, "typeName": { - "id": 2621, + "id": 2113, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47305:6:1", + "src": "48656:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26241,12 +26241,12 @@ }, { "constant": true, - "id": 2625, + "id": 2117, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48204:57:1", + "scope": 2990, + "src": "49571:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26254,10 +26254,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2623, + "id": 2115, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48204:6:1", + "src": "49571:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26265,14 +26265,14 @@ }, "value": { "hexValue": "30783830616335386364", - "id": 2624, + "id": 2116, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48251:10:1", + "src": "49618:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2158778573_by_1", "typeString": "int_const 2158778573" @@ -26283,12 +26283,12 @@ }, { "constant": true, - "id": 2628, + "id": 2120, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48527:66:1", + "scope": 2990, + "src": "49903:66:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26296,10 +26296,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2626, + "id": 2118, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48527:6:1", + "src": "49903:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26307,14 +26307,14 @@ }, "value": { "hexValue": "30783562356531333966", - "id": 2627, + "id": 2119, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48583:10:1", + "src": "49959:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_1532892063_by_1", "typeString": "int_const 1532892063" @@ -26325,12 +26325,12 @@ }, { "constant": true, - "id": 2631, + "id": 2123, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48898:68:1", + "scope": 2990, + "src": "50283:68:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26338,10 +26338,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2629, + "id": 2121, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48898:6:1", + "src": "50283:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26349,14 +26349,14 @@ }, "value": { "hexValue": "30783738306539643633", - "id": 2630, + "id": 2122, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48956:10:1", + "src": "50341:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2014223715_by_1", "typeString": "int_const 2014223715" @@ -26367,24 +26367,24 @@ }, { "body": { - "id": 2659, + "id": 2151, "nodeType": "Block", - "src": "49143:305:1", + "src": "50533:313:0", "statements": [ { "expression": { - "id": 2641, + "id": 2133, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2639, + "id": 2131, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "49153:5:1", + "referencedDeclaration": 2106, + "src": "50544:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26393,41 +26393,41 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2640, + "id": 2132, "name": "name_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2634, - "src": "49161:5:1", + "referencedDeclaration": 2126, + "src": "50552:5:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49153:13:1", + "src": "50544:13:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2642, + "id": 2134, "nodeType": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "expression": { - "id": 2645, + "id": 2137, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2643, + "id": 2135, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "49176:7:1", + "referencedDeclaration": 2108, + "src": "50568:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26436,37 +26436,37 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2644, + "id": 2136, "name": "symbol_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2636, - "src": "49186:7:1", + "referencedDeclaration": 2128, + "src": "50578:7:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49176:17:1", + "src": "50568:17:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2646, + "id": 2138, "nodeType": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "expression": { "arguments": [ { - "id": 2648, + "id": 2140, "name": "_INTERFACE_ID_ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2625, - "src": "49300:20:1", + "referencedDeclaration": 2117, + "src": "50695:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26480,18 +26480,18 @@ "typeString": "bytes4" } ], - "id": 2647, + "id": 2139, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49281:18:1", + "referencedDeclaration": 272, + "src": "50676:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2649, + "id": 2141, "isConstant": false, "isLValue": false, "isPure": false, @@ -26499,27 +26499,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49281:40:1", + "src": "50676:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2650, + "id": 2142, "nodeType": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "expression": { "arguments": [ { - "id": 2652, + "id": 2144, "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2628, - "src": "49350:29:1", + "referencedDeclaration": 2120, + "src": "50746:29:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26533,18 +26533,18 @@ "typeString": "bytes4" } ], - "id": 2651, + "id": 2143, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49331:18:1", + "referencedDeclaration": 272, + "src": "50727:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2653, + "id": 2145, "isConstant": false, "isLValue": false, "isPure": false, @@ -26552,27 +26552,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49331:49:1", + "src": "50727:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2654, + "id": 2146, "nodeType": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "expression": { "arguments": [ { - "id": 2656, + "id": 2148, "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2631, - "src": "49409:31:1", + "referencedDeclaration": 2123, + "src": "50806:31:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26586,18 +26586,18 @@ "typeString": "bytes4" } ], - "id": 2655, + "id": 2147, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49390:18:1", + "referencedDeclaration": 272, + "src": "50787:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2657, + "id": 2149, "isConstant": false, "isLValue": false, "isPure": false, @@ -26605,43 +26605,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49390:51:1", + "src": "50787:51:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2658, + "id": 2150, "nodeType": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ] }, "documentation": { - "id": 2632, + "id": 2124, "nodeType": "StructuredDocumentation", - "src": "48973:108:1", + "src": "50360:110:0", "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2660, + "id": 2152, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 2637, + "id": 2129, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2634, + "id": 2126, "mutability": "mutable", "name": "name_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49099:19:1", + "scope": 2152, + "src": "50489:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26649,10 +26649,10 @@ "typeString": "string" }, "typeName": { - "id": 2633, + "id": 2125, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49099:6:1", + "src": "50489:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26662,12 +26662,12 @@ }, { "constant": false, - "id": 2636, + "id": 2128, "mutability": "mutable", "name": "symbol_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49120:21:1", + "scope": 2152, + "src": "50510:21:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26675,10 +26675,10 @@ "typeString": "string" }, "typeName": { - "id": 2635, + "id": 2127, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49120:6:1", + "src": "50510:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26687,28 +26687,28 @@ "visibility": "internal" } ], - "src": "49098:44:1" + "src": "50488:44:0" }, "returnParameters": { - "id": 2638, + "id": 2130, "nodeType": "ParameterList", "parameters": [], - "src": "49143:0:1" + "src": "50533:0:0" }, - "scope": 3498, - "src": "49086:362:1", + "scope": 2990, + "src": "50476:370:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { "baseFunctions": [ - 580 + 72 ], "body": { - "id": 2685, + "id": 2177, "nodeType": "Block", - "src": "49588:137:1", + "src": "50991:140:0", "statements": [ { "expression": { @@ -26718,18 +26718,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2675, + "id": 2167, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2670, + "id": 2162, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49606:5:1", + "referencedDeclaration": 2155, + "src": "51010:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26741,14 +26741,14 @@ "arguments": [ { "hexValue": "30", - "id": 2673, + "id": 2165, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "49623:1:1", + "src": "51027:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -26763,26 +26763,26 @@ "typeString": "int_const 0" } ], - "id": 2672, + "id": 2164, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2671, + "id": 2163, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": {} } }, - "id": 2674, + "id": 2166, "isConstant": false, "isLValue": false, "isPure": true, @@ -26790,14 +26790,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49615:10:1", + "src": "51019:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "49606:19:1", + "src": "51010:19:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -26805,14 +26805,14 @@ }, { "hexValue": "4552433732313a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373", - "id": 2676, + "id": 2168, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49627:44:1", + "src": "51031:44:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7395d4d3901c50cdfcab223d072f9aa36241df5d883e62cbf147ee1b05a9e6ba", "typeString": "literal_string \"ERC721: balance query for the zero address\"" @@ -26831,7 +26831,7 @@ "typeString": "literal_string \"ERC721: balance query for the zero address\"" } ], - "id": 2669, + "id": 2161, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -26839,13 +26839,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "49598:7:1", + "src": "51002:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2677, + "id": 2169, "isConstant": false, "isLValue": false, "isPure": false, @@ -26853,16 +26853,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49598:74:1", + "src": "51002:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2678, + "id": 2170, "nodeType": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "expression": { @@ -26871,25 +26871,25 @@ "argumentTypes": [], "expression": { "baseExpression": { - "id": 2679, + "id": 2171, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "49689:13:1", + "referencedDeclaration": 2092, + "src": "51094:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2681, + "id": 2173, "indexExpression": { - "id": 2680, + "id": 2172, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49703:5:1", + "referencedDeclaration": 2155, + "src": "51108:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26900,27 +26900,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "49689:20:1", + "src": "51094:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2682, + "id": 2174, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 1900, - "src": "49689:27:1", + "referencedDeclaration": 1392, + "src": "51094:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" } }, - "id": 2683, + "id": 2175, "isConstant": false, "isLValue": false, "isPure": false, @@ -26928,51 +26928,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49689:29:1", + "src": "51094:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2668, - "id": 2684, + "functionReturnParameters": 2160, + "id": 2176, "nodeType": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ] }, "documentation": { - "id": 2661, + "id": 2153, "nodeType": "StructuredDocumentation", - "src": "49454:48:1", + "src": "50854:50:0", "text": " @dev See {IERC721-balanceOf}." }, "functionSelector": "70a08231", - "id": 2686, + "id": 2178, "implemented": true, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2665, + "id": 2157, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49561:8:1" + "src": "50964:8:0" }, "parameters": { - "id": 2664, + "id": 2156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2663, + "id": 2155, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49526:13:1", + "scope": 2178, + "src": "50929:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26980,10 +26980,10 @@ "typeString": "address" }, "typeName": { - "id": 2662, + "id": 2154, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49526:7:1", + "src": "50929:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26993,20 +26993,20 @@ "visibility": "internal" } ], - "src": "49525:15:1" + "src": "50928:15:0" }, "returnParameters": { - "id": 2668, + "id": 2160, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2667, + "id": 2159, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49579:7:1", + "scope": 2178, + "src": "50982:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27014,10 +27014,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2666, + "id": 2158, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49579:7:1", + "src": "50982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27026,33 +27026,33 @@ "visibility": "internal" } ], - "src": "49578:9:1" + "src": "50981:9:0" }, - "scope": 3498, - "src": "49507:218:1", + "scope": 2990, + "src": "50910:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 588 + 80 ], "body": { - "id": 2701, + "id": 2193, "nodeType": "Block", - "src": "49863:94:1", + "src": "51274:96:0", "statements": [ { "expression": { "arguments": [ { - "id": 2697, + "id": 2189, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2689, - "src": "49897:7:1", + "referencedDeclaration": 2181, + "src": "51309:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27060,14 +27060,14 @@ }, { "hexValue": "4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2698, + "id": 2190, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49906:43:1", + "src": "51318:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7481f3df2a424c0755a1ad2356614e9a5a358d461ea2eae1f89cb21cbad00397", "typeString": "literal_string \"ERC721: owner query for nonexistent token\"" @@ -27087,32 +27087,32 @@ } ], "expression": { - "id": 2695, + "id": 2187, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "49880:12:1", + "referencedDeclaration": 2094, + "src": "51292:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2696, + "id": 2188, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "get", "nodeType": "MemberAccess", - "referencedDeclaration": 2479, - "src": "49880:16:1", + "referencedDeclaration": 1971, + "src": "51292:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" } }, - "id": 2699, + "id": 2191, "isConstant": false, "isLValue": false, "isPure": false, @@ -27120,51 +27120,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49880:70:1", + "src": "51292:70:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2694, - "id": 2700, + "functionReturnParameters": 2186, + "id": 2192, "nodeType": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ] }, "documentation": { - "id": 2687, + "id": 2179, "nodeType": "StructuredDocumentation", - "src": "49731:46:1", + "src": "51139:48:0", "text": " @dev See {IERC721-ownerOf}." }, "functionSelector": "6352211e", - "id": 2702, + "id": 2194, "implemented": true, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2691, + "id": 2183, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49836:8:1" + "src": "51247:8:0" }, "parameters": { - "id": 2690, + "id": 2182, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2689, + "id": 2181, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49799:15:1", + "scope": 2194, + "src": "51210:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27172,10 +27172,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2688, + "id": 2180, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49799:7:1", + "src": "51210:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27184,20 +27184,20 @@ "visibility": "internal" } ], - "src": "49798:17:1" + "src": "51209:17:0" }, "returnParameters": { - "id": 2694, + "id": 2186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2693, + "id": 2185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49854:7:1", + "scope": 2194, + "src": "51265:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27205,10 +27205,10 @@ "typeString": "address" }, "typeName": { - "id": 2692, + "id": 2184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49854:7:1", + "src": "51265:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -27218,80 +27218,80 @@ "visibility": "internal" } ], - "src": "49853:9:1" + "src": "51264:9:0" }, - "scope": 3498, - "src": "49782:175:1", + "scope": 2990, + "src": "51193:177:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 665 + 157 ], "body": { - "id": 2711, + "id": 2203, "nodeType": "Block", - "src": "50088:29:1", + "src": "51506:31:0", "statements": [ { "expression": { - "id": 2709, + "id": 2201, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "50105:5:1", + "referencedDeclaration": 2106, + "src": "51524:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2708, - "id": 2710, + "functionReturnParameters": 2200, + "id": 2202, "nodeType": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ] }, "documentation": { - "id": 2703, + "id": 2195, "nodeType": "StructuredDocumentation", - "src": "49963:51:1", + "src": "51378:53:0", "text": " @dev See {IERC721Metadata-name}." }, "functionSelector": "06fdde03", - "id": 2712, + "id": 2204, "implemented": true, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "overrides": { - "id": 2705, + "id": 2197, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50055:8:1" + "src": "51473:8:0" }, "parameters": { - "id": 2704, + "id": 2196, "nodeType": "ParameterList", "parameters": [], - "src": "50032:2:1" + "src": "51450:2:0" }, "returnParameters": { - "id": 2708, + "id": 2200, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2707, + "id": 2199, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2712, - "src": "50073:13:1", + "scope": 2204, + "src": "51491:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27299,10 +27299,10 @@ "typeString": "string" }, "typeName": { - "id": 2706, + "id": 2198, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50073:6:1", + "src": "51491:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27311,80 +27311,80 @@ "visibility": "internal" } ], - "src": "50072:15:1" + "src": "51490:15:0" }, - "scope": 3498, - "src": "50019:98:1", + "scope": 2990, + "src": "51437:100:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 671 + 163 ], "body": { - "id": 2721, + "id": 2213, "nodeType": "Block", - "src": "50252:31:1", + "src": "51677:33:0", "statements": [ { "expression": { - "id": 2719, + "id": 2211, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "50269:7:1", + "referencedDeclaration": 2108, + "src": "51695:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2718, - "id": 2720, + "functionReturnParameters": 2210, + "id": 2212, "nodeType": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ] }, "documentation": { - "id": 2713, + "id": 2205, "nodeType": "StructuredDocumentation", - "src": "50123:53:1", + "src": "51545:55:0", "text": " @dev See {IERC721Metadata-symbol}." }, "functionSelector": "95d89b41", - "id": 2722, + "id": 2214, "implemented": true, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "overrides": { - "id": 2715, + "id": 2207, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50219:8:1" + "src": "51644:8:0" }, "parameters": { - "id": 2714, + "id": 2206, "nodeType": "ParameterList", "parameters": [], - "src": "50196:2:1" + "src": "51621:2:0" }, "returnParameters": { - "id": 2718, + "id": 2210, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2717, + "id": 2209, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2722, - "src": "50237:13:1", + "scope": 2214, + "src": "51662:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27392,10 +27392,10 @@ "typeString": "string" }, "typeName": { - "id": 2716, + "id": 2208, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50237:6:1", + "src": "51662:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27404,22 +27404,22 @@ "visibility": "internal" } ], - "src": "50236:15:1" + "src": "51661:15:0" }, - "scope": 3498, - "src": "50181:102:1", + "scope": 2990, + "src": "51606:104:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 679 + 171 ], "body": { - "id": 2789, + "id": 2281, "nodeType": "Block", - "src": "50437:688:1", + "src": "51869:704:0", "statements": [ { "expression": { @@ -27427,12 +27427,12 @@ { "arguments": [ { - "id": 2733, + "id": 2225, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50463:7:1", + "referencedDeclaration": 2217, + "src": "51896:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27446,18 +27446,18 @@ "typeString": "uint256" } ], - "id": 2732, + "id": 2224, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "50455:7:1", + "referencedDeclaration": 2577, + "src": "51888:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2734, + "id": 2226, "isConstant": false, "isLValue": false, "isPure": false, @@ -27465,7 +27465,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50455:16:1", + "src": "51888:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -27474,14 +27474,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2735, + "id": 2227, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "50473:49:1", + "src": "51906:49:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a2d45c0fba603d40d82d590051761ca952d1ab9d78cca6d0d464d7b6e961a9cb", "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" @@ -27500,7 +27500,7 @@ "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" } ], - "id": 2731, + "id": 2223, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -27508,13 +27508,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "50447:7:1", + "src": "51880:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2736, + "id": 2228, "isConstant": false, "isLValue": false, "isPure": false, @@ -27522,30 +27522,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50447:76:1", + "src": "51880:76:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2737, + "id": 2229, "nodeType": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "assignments": [ - 2739 + 2231 ], "declarations": [ { "constant": false, - "id": 2739, + "id": 2231, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50534:23:1", + "scope": 2281, + "src": "51969:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27553,10 +27553,10 @@ "typeString": "string" }, "typeName": { - "id": 2738, + "id": 2230, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50534:6:1", + "src": "51969:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27565,28 +27565,28 @@ "visibility": "internal" } ], - "id": 2743, + "id": 2235, "initialValue": { "baseExpression": { - "id": 2740, + "id": 2232, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "50560:10:1", + "referencedDeclaration": 2112, + "src": "51995:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 2742, + "id": 2234, "indexExpression": { - "id": 2741, + "id": 2233, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50571:7:1", + "referencedDeclaration": 2217, + "src": "52006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27597,28 +27597,28 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "50560:19:1", + "src": "51995:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "assignments": [ - 2745 + 2237 ], "declarations": [ { "constant": false, - "id": 2745, + "id": 2237, "mutability": "mutable", "name": "base", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50589:18:1", + "scope": 2281, + "src": "52025:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27626,10 +27626,10 @@ "typeString": "string" }, "typeName": { - "id": 2744, + "id": 2236, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50589:6:1", + "src": "52025:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27638,23 +27638,23 @@ "visibility": "internal" } ], - "id": 2748, + "id": 2240, "initialValue": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2746, + "id": 2238, "name": "baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2799, - "src": "50610:7:1", + "referencedDeclaration": 2291, + "src": "52046:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_string_memory_ptr_$", "typeString": "function () view returns (string memory)" } }, - "id": 2747, + "id": 2239, "isConstant": false, "isLValue": false, "isPure": false, @@ -27662,7 +27662,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50610:9:1", + "src": "52046:9:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27670,7 +27670,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "condition": { @@ -27678,7 +27678,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2755, + "id": 2247, "isConstant": false, "isLValue": false, "isPure": false, @@ -27687,12 +27687,12 @@ "expression": { "arguments": [ { - "id": 2751, + "id": 2243, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50698:4:1", + "referencedDeclaration": 2237, + "src": "52137:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27706,26 +27706,26 @@ "typeString": "string memory" } ], - "id": 2750, + "id": 2242, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2749, + "id": 2241, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": {} } }, - "id": 2752, + "id": 2244, "isConstant": false, "isLValue": false, "isPure": false, @@ -27733,21 +27733,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50692:11:1", + "src": "52131:11:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2753, + "id": 2245, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50692:18:1", + "src": "52131:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27757,51 +27757,51 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2754, + "id": 2246, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50714:1:1", + "src": "52153:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50692:23:1", + "src": "52131:23:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2759, + "id": 2251, "nodeType": "IfStatement", - "src": "50688:70:1", + "src": "52127:72:0", "trueBody": { - "id": 2758, + "id": 2250, "nodeType": "Block", - "src": "50717:41:1", + "src": "52156:43:0", "statements": [ { "expression": { - "id": 2756, + "id": 2248, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50738:9:1", + "referencedDeclaration": 2231, + "src": "52178:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2757, + "functionReturnParameters": 2222, + "id": 2249, "nodeType": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ] } @@ -27812,7 +27812,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2766, + "id": 2258, "isConstant": false, "isLValue": false, "isPure": false, @@ -27821,12 +27821,12 @@ "expression": { "arguments": [ { - "id": 2762, + "id": 2254, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50866:9:1", + "referencedDeclaration": 2231, + "src": "52309:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27840,26 +27840,26 @@ "typeString": "string memory" } ], - "id": 2761, + "id": 2253, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2760, + "id": 2252, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": {} } }, - "id": 2763, + "id": 2255, "isConstant": false, "isLValue": false, "isPure": false, @@ -27867,21 +27867,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50860:16:1", + "src": "52303:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2764, + "id": 2256, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50860:23:1", + "src": "52303:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27891,33 +27891,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 2765, + "id": 2257, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50886:1:1", + "src": "52329:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50860:27:1", + "src": "52303:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2777, + "id": 2269, "nodeType": "IfStatement", - "src": "50856:106:1", + "src": "52299:108:0", "trueBody": { - "id": 2776, + "id": 2268, "nodeType": "Block", - "src": "50889:73:1", + "src": "52332:75:0", "statements": [ { "expression": { @@ -27925,24 +27925,24 @@ { "arguments": [ { - "id": 2771, + "id": 2263, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50934:4:1", + "referencedDeclaration": 2237, + "src": "52378:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, { - "id": 2772, + "id": 2264, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50940:9:1", + "referencedDeclaration": 2231, + "src": "52384:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27961,31 +27961,31 @@ } ], "expression": { - "id": 2769, + "id": 2261, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "50917:3:1", + "src": "52361:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2770, + "id": 2262, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "50917:16:1", + "src": "52361:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2773, + "id": 2265, "isConstant": false, "isLValue": false, "isPure": false, @@ -27993,7 +27993,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50917:33:1", + "src": "52361:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -28008,26 +28008,26 @@ "typeString": "bytes memory" } ], - "id": 2768, + "id": 2260, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2767, + "id": 2259, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": {} } }, - "id": 2774, + "id": 2266, "isConstant": false, "isLValue": false, "isPure": false, @@ -28035,17 +28035,17 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50910:41:1", + "src": "52354:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2775, + "functionReturnParameters": 2222, + "id": 2267, "nodeType": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ] } @@ -28056,12 +28056,12 @@ { "arguments": [ { - "id": 2782, + "id": 2274, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "51092:4:1", + "referencedDeclaration": 2237, + "src": "52539:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -28072,32 +28072,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2783, + "id": 2275, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "51098:7:1", + "referencedDeclaration": 2217, + "src": "52545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2784, + "id": 2276, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toString", "nodeType": "MemberAccess", - "referencedDeclaration": 2565, - "src": "51098:16:1", + "referencedDeclaration": 2057, + "src": "52545:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$bound_to$_t_uint256_$", "typeString": "function (uint256) pure returns (string memory)" } }, - "id": 2785, + "id": 2277, "isConstant": false, "isLValue": false, "isPure": false, @@ -28105,7 +28105,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51098:18:1", + "src": "52545:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -28125,31 +28125,31 @@ } ], "expression": { - "id": 2780, + "id": 2272, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "51075:3:1", + "src": "52522:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2781, + "id": 2273, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "51075:16:1", + "src": "52522:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2786, + "id": 2278, "isConstant": false, "isLValue": false, "isPure": false, @@ -28157,7 +28157,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51075:42:1", + "src": "52522:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -28172,26 +28172,26 @@ "typeString": "bytes memory" } ], - "id": 2779, + "id": 2271, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2778, + "id": 2270, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": {} } }, - "id": 2787, + "id": 2279, "isConstant": false, "isLValue": false, "isPure": false, @@ -28199,51 +28199,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51068:50:1", + "src": "52515:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2788, + "functionReturnParameters": 2222, + "id": 2280, "nodeType": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ] }, "documentation": { - "id": 2723, + "id": 2215, "nodeType": "StructuredDocumentation", - "src": "50289:55:1", + "src": "51718:57:0", "text": " @dev See {IERC721Metadata-tokenURI}." }, "functionSelector": "c87b56dd", - "id": 2790, + "id": 2282, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "overrides": { - "id": 2727, + "id": 2219, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50404:8:1" + "src": "51836:8:0" }, "parameters": { - "id": 2726, + "id": 2218, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2725, + "id": 2217, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50367:15:1", + "scope": 2282, + "src": "51799:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28251,10 +28251,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2724, + "id": 2216, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "50367:7:1", + "src": "51799:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28263,20 +28263,20 @@ "visibility": "internal" } ], - "src": "50366:17:1" + "src": "51798:17:0" }, "returnParameters": { - "id": 2730, + "id": 2222, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2729, + "id": 2221, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50422:13:1", + "scope": 2282, + "src": "51854:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -28284,10 +28284,10 @@ "typeString": "string" }, "typeName": { - "id": 2728, + "id": 2220, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50422:6:1", + "src": "51854:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28296,71 +28296,71 @@ "visibility": "internal" } ], - "src": "50421:15:1" + "src": "51853:15:0" }, - "scope": 3498, - "src": "50349:776:1", + "scope": 2990, + "src": "51781:792:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 2798, + "id": 2290, "nodeType": "Block", - "src": "51420:32:1", + "src": "52875:34:0", "statements": [ { "expression": { - "id": 2796, + "id": 2288, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "51437:8:1", + "referencedDeclaration": 2114, + "src": "52893:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2795, - "id": 2797, + "functionReturnParameters": 2287, + "id": 2289, "nodeType": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ] }, "documentation": { - "id": 2791, + "id": 2283, "nodeType": "StructuredDocumentation", - "src": "51131:221:1", + "src": "52581:225:0", "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, "functionSelector": "6c0360eb", - "id": 2799, + "id": 2291, "implemented": true, "kind": "function", "modifiers": [], "name": "baseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 2792, + "id": 2284, "nodeType": "ParameterList", "parameters": [], - "src": "51373:2:1" + "src": "52828:2:0" }, "returnParameters": { - "id": 2795, + "id": 2287, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2794, + "id": 2286, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2799, - "src": "51405:13:1", + "scope": 2291, + "src": "52860:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -28368,10 +28368,10 @@ "typeString": "string" }, "typeName": { - "id": 2793, + "id": 2285, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51405:6:1", + "src": "52860:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28380,33 +28380,33 @@ "visibility": "internal" } ], - "src": "51404:15:1" + "src": "52859:15:0" }, - "scope": 3498, - "src": "51357:95:1", + "scope": 2990, + "src": "52812:97:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 700 + 192 ], "body": { - "id": 2817, + "id": 2309, "nodeType": "Block", - "src": "51637:54:1", + "src": "53099:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 2814, + "id": 2306, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2804, - "src": "51678:5:1", + "referencedDeclaration": 2296, + "src": "53141:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28422,25 +28422,25 @@ ], "expression": { "baseExpression": { - "id": 2810, + "id": 2302, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "51654:13:1", + "referencedDeclaration": 2092, + "src": "53117:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2812, + "id": 2304, "indexExpression": { - "id": 2811, + "id": 2303, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2802, - "src": "51668:5:1", + "referencedDeclaration": 2294, + "src": "53131:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28451,27 +28451,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "51654:20:1", + "src": "53117:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2813, + "id": 2305, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 1920, - "src": "51654:23:1", + "referencedDeclaration": 1412, + "src": "53117:23:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" } }, - "id": 2815, + "id": 2307, "isConstant": false, "isLValue": false, "isPure": false, @@ -28479,51 +28479,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51654:30:1", + "src": "53117:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2809, - "id": 2816, + "functionReturnParameters": 2301, + "id": 2308, "nodeType": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ] }, "documentation": { - "id": 2800, + "id": 2292, "nodeType": "StructuredDocumentation", - "src": "51458:68:1", + "src": "52917:70:0", "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, "functionSelector": "2f745c59", - "id": 2818, + "id": 2310, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2806, + "id": 2298, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51610:8:1" + "src": "53072:8:0" }, "parameters": { - "id": 2805, + "id": 2297, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2802, + "id": 2294, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51560:13:1", + "scope": 2310, + "src": "53022:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28531,10 +28531,10 @@ "typeString": "address" }, "typeName": { - "id": 2801, + "id": 2293, "name": "address", "nodeType": "ElementaryTypeName", - "src": "51560:7:1", + "src": "53022:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28545,12 +28545,12 @@ }, { "constant": false, - "id": 2804, + "id": 2296, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51575:13:1", + "scope": 2310, + "src": "53037:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28558,10 +28558,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2803, + "id": 2295, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51575:7:1", + "src": "53037:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28570,20 +28570,20 @@ "visibility": "internal" } ], - "src": "51559:30:1" + "src": "53021:30:0" }, "returnParameters": { - "id": 2809, + "id": 2301, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2808, + "id": 2300, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51628:7:1", + "scope": 2310, + "src": "53090:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28591,10 +28591,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2807, + "id": 2299, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51628:7:1", + "src": "53090:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28603,22 +28603,22 @@ "visibility": "internal" } ], - "src": "51627:9:1" + "src": "53089:9:0" }, - "scope": 3498, - "src": "51531:160:1", + "scope": 2990, + "src": "52993:162:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 690 + 182 ], "body": { - "id": 2829, + "id": 2321, "nodeType": "Block", - "src": "51832:138:1", + "src": "53301:141:0", "statements": [ { "expression": { @@ -28626,32 +28626,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2825, + "id": 2317, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "51942:12:1", + "referencedDeclaration": 2094, + "src": "53413:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2826, + "id": 2318, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 2340, - "src": "51942:19:1", + "referencedDeclaration": 1832, + "src": "53413:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" } }, - "id": 2827, + "id": 2319, "isConstant": false, "isLValue": false, "isPure": false, @@ -28659,57 +28659,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51942:21:1", + "src": "53413:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2824, - "id": 2828, + "functionReturnParameters": 2316, + "id": 2320, "nodeType": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ] }, "documentation": { - "id": 2819, + "id": 2311, "nodeType": "StructuredDocumentation", - "src": "51697:60:1", + "src": "53163:62:0", "text": " @dev See {IERC721Enumerable-totalSupply}." }, "functionSelector": "18160ddd", - "id": 2830, + "id": 2322, "implemented": true, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "overrides": { - "id": 2821, + "id": 2313, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51805:8:1" + "src": "53274:8:0" }, "parameters": { - "id": 2820, + "id": 2312, "nodeType": "ParameterList", "parameters": [], - "src": "51782:2:1" + "src": "53251:2:0" }, "returnParameters": { - "id": 2824, + "id": 2316, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2823, + "id": 2315, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2830, - "src": "51823:7:1", + "scope": 2322, + "src": "53292:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28717,10 +28717,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2822, + "id": 2314, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51823:7:1", + "src": "53292:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28729,37 +28729,37 @@ "visibility": "internal" } ], - "src": "51822:9:1" + "src": "53291:9:0" }, - "scope": 3498, - "src": "51762:208:1", + "scope": 2990, + "src": "53231:211:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 708 + 200 ], "body": { - "id": 2848, + "id": 2340, "nodeType": "Block", - "src": "52126:85:1", + "src": "53603:88:0", "statements": [ { "assignments": [ - 2840, + 2332, null ], "declarations": [ { "constant": false, - "id": 2840, + "id": 2332, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2848, - "src": "52137:15:1", + "scope": 2340, + "src": "53615:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28767,10 +28767,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2839, + "id": 2331, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52137:7:1", + "src": "53615:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28780,16 +28780,16 @@ }, null ], - "id": 2845, + "id": 2337, "initialValue": { "arguments": [ { - "id": 2843, + "id": 2335, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2833, - "src": "52174:5:1", + "referencedDeclaration": 2325, + "src": "53652:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28804,32 +28804,32 @@ } ], "expression": { - "id": 2841, + "id": 2333, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "52158:12:1", + "referencedDeclaration": 2094, + "src": "53636:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2842, + "id": 2334, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 2379, - "src": "52158:15:1", + "referencedDeclaration": 1871, + "src": "53636:15:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" } }, - "id": 2844, + "id": 2336, "isConstant": false, "isLValue": false, "isPure": false, @@ -28837,7 +28837,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52158:22:1", + "src": "53636:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_$", @@ -28845,59 +28845,59 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "expression": { - "id": 2846, + "id": 2338, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2840, - "src": "52197:7:1", + "referencedDeclaration": 2332, + "src": "53676:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2838, - "id": 2847, + "functionReturnParameters": 2330, + "id": 2339, "nodeType": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ] }, "documentation": { - "id": 2831, + "id": 2323, "nodeType": "StructuredDocumentation", - "src": "51976:61:1", + "src": "53450:63:0", "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, "functionSelector": "4f6ccce7", - "id": 2849, + "id": 2341, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2835, + "id": 2327, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52099:8:1" + "src": "53576:8:0" }, "parameters": { - "id": 2834, + "id": 2326, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2833, + "id": 2325, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52064:13:1", + "scope": 2341, + "src": "53541:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28905,10 +28905,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2832, + "id": 2324, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52064:7:1", + "src": "53541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28917,20 +28917,20 @@ "visibility": "internal" } ], - "src": "52063:15:1" + "src": "53540:15:0" }, "returnParameters": { - "id": 2838, + "id": 2330, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2837, + "id": 2329, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52117:7:1", + "scope": 2341, + "src": "53594:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28938,10 +28938,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2836, + "id": 2328, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52117:7:1", + "src": "53594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28950,36 +28950,36 @@ "visibility": "internal" } ], - "src": "52116:9:1" + "src": "53593:9:0" }, - "scope": 3498, - "src": "52042:169:1", + "scope": 2990, + "src": "53519:172:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 616 + 108 ], "body": { - "id": 2892, + "id": 2384, "nodeType": "Block", - "src": "52338:325:1", + "src": "53823:334:0", "statements": [ { "assignments": [ - 2859 + 2351 ], "declarations": [ { "constant": false, - "id": 2859, + "id": 2351, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2892, - "src": "52348:13:1", + "scope": 2384, + "src": "53834:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28987,10 +28987,10 @@ "typeString": "address" }, "typeName": { - "id": 2858, + "id": 2350, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52348:7:1", + "src": "53834:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29000,16 +29000,16 @@ "visibility": "internal" } ], - "id": 2864, + "id": 2356, "initialValue": { "arguments": [ { - "id": 2862, + "id": 2354, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52379:7:1", + "referencedDeclaration": 2346, + "src": "53865:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29024,32 +29024,32 @@ } ], "expression": { - "id": 2860, + "id": 2352, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52364:6:1", + "referencedDeclaration": 2990, + "src": "53850:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2861, + "id": 2353, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "52364:14:1", + "referencedDeclaration": 2194, + "src": "53850:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 2863, + "id": 2355, "isConstant": false, "isLValue": false, "isPure": false, @@ -29057,7 +29057,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52364:23:1", + "src": "53850:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -29065,7 +29065,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "expression": { @@ -29075,18 +29075,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2868, + "id": 2360, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2866, + "id": 2358, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52405:2:1", + "referencedDeclaration": 2344, + "src": "53892:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29095,18 +29095,18 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 2867, + "id": 2359, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52411:5:1", + "referencedDeclaration": 2351, + "src": "53898:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52405:11:1", + "src": "53892:11:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29114,14 +29114,14 @@ }, { "hexValue": "4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572", - "id": 2869, + "id": 2361, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52418:35:1", + "src": "53905:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942", "typeString": "literal_string \"ERC721: approval to current owner\"" @@ -29140,7 +29140,7 @@ "typeString": "literal_string \"ERC721: approval to current owner\"" } ], - "id": 2865, + "id": 2357, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29148,13 +29148,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52397:7:1", + "src": "53884:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2870, + "id": 2362, "isConstant": false, "isLValue": false, "isPure": false, @@ -29162,16 +29162,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52397:57:1", + "src": "53884:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2871, + "id": 2363, "nodeType": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "expression": { @@ -29181,7 +29181,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 2883, + "id": 2375, "isConstant": false, "isLValue": false, "isPure": false, @@ -29191,7 +29191,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2876, + "id": 2368, "isConstant": false, "isLValue": false, "isPure": false, @@ -29200,18 +29200,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2873, + "id": 2365, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52473:10:1", + "referencedDeclaration": 10, + "src": "53962:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2874, + "id": 2366, "isConstant": false, "isLValue": false, "isPure": false, @@ -29219,7 +29219,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52473:12:1", + "src": "53962:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29229,18 +29229,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 2875, + "id": 2367, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52489:5:1", + "referencedDeclaration": 2351, + "src": "53978:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52473:21:1", + "src": "53962:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29251,12 +29251,12 @@ "rightExpression": { "arguments": [ { - "id": 2879, + "id": 2371, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52522:5:1", + "referencedDeclaration": 2351, + "src": "54011:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29266,18 +29266,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2880, + "id": 2372, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52529:10:1", + "referencedDeclaration": 10, + "src": "54018:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2881, + "id": 2373, "isConstant": false, "isLValue": false, "isPure": false, @@ -29285,7 +29285,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52529:12:1", + "src": "54018:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29305,32 +29305,32 @@ } ], "expression": { - "id": 2877, + "id": 2369, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52498:6:1", + "referencedDeclaration": 2990, + "src": "53987:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2878, + "id": 2370, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "52498:23:1", + "referencedDeclaration": 2458, + "src": "53987:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 2882, + "id": 2374, "isConstant": false, "isLValue": false, "isPure": false, @@ -29338,14 +29338,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52498:44:1", + "src": "53987:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "52473:69:1", + "src": "53962:69:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29353,14 +29353,14 @@ }, { "hexValue": "4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c", - "id": 2884, + "id": 2376, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52556:58:1", + "src": "54046:58:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_6d83cef3e0cb19b8320a9c5feb26b56bbb08f152a8e61b12eca3302d8d68b23d", "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" @@ -29379,7 +29379,7 @@ "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" } ], - "id": 2872, + "id": 2364, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29387,13 +29387,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52465:7:1", + "src": "53954:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2885, + "id": 2377, "isConstant": false, "isLValue": false, "isPure": false, @@ -29401,39 +29401,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52465:159:1", + "src": "53954:161:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2886, + "id": 2378, "nodeType": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "expression": { "arguments": [ { - "id": 2888, + "id": 2380, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52644:2:1", + "referencedDeclaration": 2344, + "src": "54137:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2889, + "id": 2381, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52648:7:1", + "referencedDeclaration": 2346, + "src": "54141:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29451,18 +29451,18 @@ "typeString": "uint256" } ], - "id": 2887, + "id": 2379, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "52635:8:1", + "referencedDeclaration": 2978, + "src": "54128:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 2890, + "id": 2382, "isConstant": false, "isLValue": false, "isPure": false, @@ -29470,50 +29470,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52635:21:1", + "src": "54128:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2891, + "id": 2383, "nodeType": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ] }, "documentation": { - "id": 2850, + "id": 2342, "nodeType": "StructuredDocumentation", - "src": "52217:46:1", + "src": "53699:48:0", "text": " @dev See {IERC721-approve}." }, "functionSelector": "095ea7b3", - "id": 2893, + "id": 2385, "implemented": true, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "overrides": { - "id": 2856, + "id": 2348, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52329:8:1" + "src": "53814:8:0" }, "parameters": { - "id": 2855, + "id": 2347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2852, + "id": 2344, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52285:10:1", + "scope": 2385, + "src": "53770:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29521,10 +29521,10 @@ "typeString": "address" }, "typeName": { - "id": 2851, + "id": 2343, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52285:7:1", + "src": "53770:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29535,12 +29535,12 @@ }, { "constant": false, - "id": 2854, + "id": 2346, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52297:15:1", + "scope": 2385, + "src": "53782:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29548,10 +29548,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2853, + "id": 2345, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52297:7:1", + "src": "53782:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29560,28 +29560,28 @@ "visibility": "internal" } ], - "src": "52284:29:1" + "src": "53769:29:0" }, "returnParameters": { - "id": 2857, + "id": 2349, "nodeType": "ParameterList", "parameters": [], - "src": "52338:0:1" + "src": "53823:0:0" }, - "scope": 3498, - "src": "52268:395:1", + "scope": 2990, + "src": "53753:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 624 + 116 ], "body": { - "id": 2913, + "id": 2405, "nodeType": "Block", - "src": "52809:132:1", + "src": "54308:136:0", "statements": [ { "expression": { @@ -29589,12 +29589,12 @@ { "arguments": [ { - "id": 2904, + "id": 2396, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52835:7:1", + "referencedDeclaration": 2388, + "src": "54335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29608,18 +29608,18 @@ "typeString": "uint256" } ], - "id": 2903, + "id": 2395, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "52827:7:1", + "referencedDeclaration": 2577, + "src": "54327:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2905, + "id": 2397, "isConstant": false, "isLValue": false, "isPure": false, @@ -29627,7 +29627,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52827:16:1", + "src": "54327:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -29636,14 +29636,14 @@ }, { "hexValue": "4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2906, + "id": 2398, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52845:46:1", + "src": "54345:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9291e0f44949204f2e9b40e6be090924979d6047b2365868f4e9f027722eb89d", "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" @@ -29662,7 +29662,7 @@ "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" } ], - "id": 2902, + "id": 2394, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29670,13 +29670,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52819:7:1", + "src": "54319:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2907, + "id": 2399, "isConstant": false, "isLValue": false, "isPure": false, @@ -29684,39 +29684,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52819:73:1", + "src": "54319:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2908, + "id": 2400, "nodeType": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "expression": { "baseExpression": { - "id": 2909, + "id": 2401, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "52910:15:1", + "referencedDeclaration": 2098, + "src": "54412:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 2911, + "id": 2403, "indexExpression": { - "id": 2910, + "id": 2402, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52926:7:1", + "referencedDeclaration": 2388, + "src": "54428:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29727,50 +29727,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "52910:24:1", + "src": "54412:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2901, - "id": 2912, + "functionReturnParameters": 2393, + "id": 2404, "nodeType": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ] }, "documentation": { - "id": 2894, + "id": 2386, "nodeType": "StructuredDocumentation", - "src": "52669:50:1", + "src": "54165:52:0", "text": " @dev See {IERC721-getApproved}." }, "functionSelector": "081812fc", - "id": 2914, + "id": 2406, "implemented": true, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "overrides": { - "id": 2898, + "id": 2390, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52782:8:1" + "src": "54281:8:0" }, "parameters": { - "id": 2897, + "id": 2389, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2896, + "id": 2388, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52745:15:1", + "scope": 2406, + "src": "54244:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29778,10 +29778,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2895, + "id": 2387, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52745:7:1", + "src": "54244:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29790,20 +29790,20 @@ "visibility": "internal" } ], - "src": "52744:17:1" + "src": "54243:17:0" }, "returnParameters": { - "id": 2901, + "id": 2393, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2900, + "id": 2392, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52800:7:1", + "scope": 2406, + "src": "54299:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29811,10 +29811,10 @@ "typeString": "address" }, "typeName": { - "id": 2899, + "id": 2391, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52800:7:1", + "src": "54299:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29824,22 +29824,22 @@ "visibility": "internal" } ], - "src": "52799:9:1" + "src": "54298:9:0" }, - "scope": 3498, - "src": "52724:217:1", + "scope": 2990, + "src": "54223:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 632 + 124 ], "body": { - "id": 2947, + "id": 2439, "nodeType": "Block", - "src": "53092:206:1", + "src": "54600:211:0", "statements": [ { "expression": { @@ -29849,18 +29849,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2927, + "id": 2419, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2924, + "id": 2416, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53110:8:1", + "referencedDeclaration": 2409, + "src": "54619:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29872,18 +29872,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2925, + "id": 2417, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53122:10:1", + "referencedDeclaration": 10, + "src": "54631:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2926, + "id": 2418, "isConstant": false, "isLValue": false, "isPure": false, @@ -29891,14 +29891,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53122:12:1", + "src": "54631:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "53110:24:1", + "src": "54619:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29906,14 +29906,14 @@ }, { "hexValue": "4552433732313a20617070726f766520746f2063616c6c6572", - "id": 2928, + "id": 2420, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53136:27:1", + "src": "54645:27:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05", "typeString": "literal_string \"ERC721: approve to caller\"" @@ -29932,7 +29932,7 @@ "typeString": "literal_string \"ERC721: approve to caller\"" } ], - "id": 2923, + "id": 2415, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29940,13 +29940,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53102:7:1", + "src": "54611:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2929, + "id": 2421, "isConstant": false, "isLValue": false, "isPure": false, @@ -29954,20 +29954,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53102:62:1", + "src": "54611:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2930, + "id": 2422, "nodeType": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "expression": { - "id": 2938, + "id": 2430, "isConstant": false, "isLValue": false, "isPure": false, @@ -29975,34 +29975,34 @@ "leftHandSide": { "baseExpression": { "baseExpression": { - "id": 2931, + "id": 2423, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53175:18:1", + "referencedDeclaration": 2104, + "src": "54686:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2935, + "id": 2427, "indexExpression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2932, + "id": 2424, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53194:10:1", + "referencedDeclaration": 10, + "src": "54705:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2933, + "id": 2425, "isConstant": false, "isLValue": false, "isPure": false, @@ -30010,7 +30010,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53194:12:1", + "src": "54705:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30022,20 +30022,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53175:32:1", + "src": "54686:32:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2936, + "id": 2428, "indexExpression": { - "id": 2934, + "id": 2426, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53208:8:1", + "referencedDeclaration": 2409, + "src": "54719:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30046,7 +30046,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "53175:42:1", + "src": "54686:42:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30055,26 +30055,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2937, + "id": 2429, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53220:8:1", + "referencedDeclaration": 2411, + "src": "54731:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "53175:53:1", + "src": "54686:53:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2939, + "id": 2431, "nodeType": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "eventCall": { @@ -30083,18 +30083,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2941, + "id": 2433, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53258:10:1", + "referencedDeclaration": 10, + "src": "54770:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2942, + "id": 2434, "isConstant": false, "isLValue": false, "isPure": false, @@ -30102,7 +30102,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53258:12:1", + "src": "54770:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30110,24 +30110,24 @@ } }, { - "id": 2943, + "id": 2435, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53272:8:1", + "referencedDeclaration": 2409, + "src": "54784:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2944, + "id": 2436, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53282:8:1", + "referencedDeclaration": 2411, + "src": "54794:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30149,18 +30149,18 @@ "typeString": "bool" } ], - "id": 2940, + "id": 2432, "name": "ApprovalForAll", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 572, - "src": "53243:14:1", + "referencedDeclaration": 64, + "src": "54755:14:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", "typeString": "function (address,address,bool)" } }, - "id": 2945, + "id": 2437, "isConstant": false, "isLValue": false, "isPure": false, @@ -30168,50 +30168,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53243:48:1", + "src": "54755:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2946, + "id": 2438, "nodeType": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ] }, "documentation": { - "id": 2915, + "id": 2407, "nodeType": "StructuredDocumentation", - "src": "52947:56:1", + "src": "54452:58:0", "text": " @dev See {IERC721-setApprovalForAll}." }, "functionSelector": "a22cb465", - "id": 2948, + "id": 2440, "implemented": true, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2921, + "id": 2413, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53083:8:1" + "src": "54591:8:0" }, "parameters": { - "id": 2920, + "id": 2412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2917, + "id": 2409, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53035:16:1", + "scope": 2440, + "src": "54543:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30219,10 +30219,10 @@ "typeString": "address" }, "typeName": { - "id": 2916, + "id": 2408, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53035:7:1", + "src": "54543:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30233,12 +30233,12 @@ }, { "constant": false, - "id": 2919, + "id": 2411, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53053:13:1", + "scope": 2440, + "src": "54561:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30246,10 +30246,10 @@ "typeString": "bool" }, "typeName": { - "id": 2918, + "id": 2410, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53053:4:1", + "src": "54561:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30258,52 +30258,52 @@ "visibility": "internal" } ], - "src": "53034:33:1" + "src": "54542:33:0" }, "returnParameters": { - "id": 2922, + "id": 2414, "nodeType": "ParameterList", "parameters": [], - "src": "53092:0:1" + "src": "54600:0:0" }, - "scope": 3498, - "src": "53008:290:1", + "scope": 2990, + "src": "54516:295:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 642 + 134 ], "body": { - "id": 2965, + "id": 2457, "nodeType": "Block", - "src": "53467:59:1", + "src": "54985:61:0", "statements": [ { "expression": { "baseExpression": { "baseExpression": { - "id": 2959, + "id": 2451, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53484:18:1", + "referencedDeclaration": 2104, + "src": "55003:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2961, + "id": 2453, "indexExpression": { - "id": 2960, + "id": 2452, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2951, - "src": "53503:5:1", + "referencedDeclaration": 2443, + "src": "55022:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30314,20 +30314,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:25:1", + "src": "55003:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2963, + "id": 2455, "indexExpression": { - "id": 2962, + "id": 2454, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2953, - "src": "53510:8:1", + "referencedDeclaration": 2445, + "src": "55029:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30338,50 +30338,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:35:1", + "src": "55003:35:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2958, - "id": 2964, + "functionReturnParameters": 2450, + "id": 2456, "nodeType": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ] }, "documentation": { - "id": 2949, + "id": 2441, "nodeType": "StructuredDocumentation", - "src": "53304:55:1", + "src": "54819:57:0", "text": " @dev See {IERC721-isApprovedForAll}." }, "functionSelector": "e985e9c5", - "id": 2966, + "id": 2458, "implemented": true, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2955, + "id": 2447, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53443:8:1" + "src": "54961:8:0" }, "parameters": { - "id": 2954, + "id": 2446, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2951, + "id": 2443, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53390:13:1", + "scope": 2458, + "src": "54908:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30389,10 +30389,10 @@ "typeString": "address" }, "typeName": { - "id": 2950, + "id": 2442, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53390:7:1", + "src": "54908:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30403,12 +30403,12 @@ }, { "constant": false, - "id": 2953, + "id": 2445, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53405:16:1", + "scope": 2458, + "src": "54923:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30416,10 +30416,10 @@ "typeString": "address" }, "typeName": { - "id": 2952, + "id": 2444, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53405:7:1", + "src": "54923:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30429,20 +30429,20 @@ "visibility": "internal" } ], - "src": "53389:33:1" + "src": "54907:33:0" }, "returnParameters": { - "id": 2958, + "id": 2450, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2957, + "id": 2449, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53461:4:1", + "scope": 2458, + "src": "54979:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30450,10 +30450,10 @@ "typeString": "bool" }, "typeName": { - "id": 2956, + "id": 2448, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53461:4:1", + "src": "54979:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30462,22 +30462,22 @@ "visibility": "internal" } ], - "src": "53460:6:1" + "src": "54978:6:0" }, - "scope": 3498, - "src": "53364:162:1", + "scope": 2990, + "src": "54882:164:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 608 + 100 ], "body": { - "id": 2992, + "id": 2484, "nodeType": "Block", - "src": "53677:211:1", + "src": "55202:216:0", "statements": [ { "expression": { @@ -30488,18 +30488,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2979, + "id": 2471, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53766:10:1", + "referencedDeclaration": 10, + "src": "55293:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2980, + "id": 2472, "isConstant": false, "isLValue": false, "isPure": false, @@ -30507,7 +30507,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53766:12:1", + "src": "55293:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30515,12 +30515,12 @@ } }, { - "id": 2981, + "id": 2473, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53780:7:1", + "referencedDeclaration": 2465, + "src": "55307:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30538,18 +30538,18 @@ "typeString": "uint256" } ], - "id": 2978, + "id": 2470, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "53747:18:1", + "referencedDeclaration": 2619, + "src": "55274:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 2982, + "id": 2474, "isConstant": false, "isLValue": false, "isPure": false, @@ -30557,7 +30557,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53747:41:1", + "src": "55274:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30566,14 +30566,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 2983, + "id": 2475, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53790:51:1", + "src": "55317:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30592,7 +30592,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 2977, + "id": 2469, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30600,13 +30600,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53739:7:1", + "src": "55266:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2984, + "id": 2476, "isConstant": false, "isLValue": false, "isPure": false, @@ -30614,51 +30614,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53739:103:1", + "src": "55266:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2985, + "id": 2477, "nodeType": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "expression": { "arguments": [ { - "id": 2987, + "id": 2479, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2969, - "src": "53863:4:1", + "referencedDeclaration": 2461, + "src": "55392:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2988, + "id": 2480, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2971, - "src": "53869:2:1", + "referencedDeclaration": 2463, + "src": "55398:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2989, + "id": 2481, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53873:7:1", + "referencedDeclaration": 2465, + "src": "55402:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30680,18 +30680,18 @@ "typeString": "uint256" } ], - "id": 2986, + "id": 2478, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "53853:9:1", + "referencedDeclaration": 2863, + "src": "55382:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 2990, + "id": 2482, "isConstant": false, "isLValue": false, "isPure": false, @@ -30699,50 +30699,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53853:28:1", + "src": "55382:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2991, + "id": 2483, "nodeType": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ] }, "documentation": { - "id": 2967, + "id": 2459, "nodeType": "StructuredDocumentation", - "src": "53532:51:1", + "src": "55054:53:0", "text": " @dev See {IERC721-transferFrom}." }, "functionSelector": "23b872dd", - "id": 2993, + "id": 2485, "implemented": true, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 2975, + "id": 2467, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53668:8:1" + "src": "55193:8:0" }, "parameters": { - "id": 2974, + "id": 2466, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2969, + "id": 2461, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53610:12:1", + "scope": 2485, + "src": "55135:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30750,10 +30750,10 @@ "typeString": "address" }, "typeName": { - "id": 2968, + "id": 2460, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53610:7:1", + "src": "55135:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30764,12 +30764,12 @@ }, { "constant": false, - "id": 2971, + "id": 2463, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53624:10:1", + "scope": 2485, + "src": "55149:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30777,10 +30777,10 @@ "typeString": "address" }, "typeName": { - "id": 2970, + "id": 2462, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53624:7:1", + "src": "55149:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30791,12 +30791,12 @@ }, { "constant": false, - "id": 2973, + "id": 2465, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53636:15:1", + "scope": 2485, + "src": "55161:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30804,10 +30804,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2972, + "id": 2464, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "53636:7:1", + "src": "55161:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30816,63 +30816,63 @@ "visibility": "internal" } ], - "src": "53609:43:1" + "src": "55134:43:0" }, "returnParameters": { - "id": 2976, + "id": 2468, "nodeType": "ParameterList", "parameters": [], - "src": "53677:0:1" + "src": "55202:0:0" }, - "scope": 3498, - "src": "53588:300:1", + "scope": 2990, + "src": "55113:305:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 598 + 90 ], "body": { - "id": 3011, + "id": 2503, "nodeType": "Block", - "src": "54047:56:1", + "src": "55582:58:0", "statements": [ { "expression": { "arguments": [ { - "id": 3005, + "id": 2497, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2996, - "src": "54074:4:1", + "referencedDeclaration": 2488, + "src": "55610:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3006, + "id": 2498, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2998, - "src": "54080:2:1", + "referencedDeclaration": 2490, + "src": "55616:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3007, + "id": 2499, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3000, - "src": "54084:7:1", + "referencedDeclaration": 2492, + "src": "55620:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30880,14 +30880,14 @@ }, { "hexValue": "", - "id": 3008, + "id": 2500, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54093:2:1", + "src": "55629:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -30914,21 +30914,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3004, + "id": 2496, "name": "safeTransferFrom", "nodeType": "Identifier", "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, - "src": "54057:16:1", + "referencedDeclaration": 2534, + "src": "55593:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3009, + "id": 2501, "isConstant": false, "isLValue": false, "isPure": false, @@ -30936,50 +30936,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54057:39:1", + "src": "55593:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3010, + "id": 2502, "nodeType": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ] }, "documentation": { - "id": 2994, + "id": 2486, "nodeType": "StructuredDocumentation", - "src": "53894:55:1", + "src": "55426:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "42842e0e", - "id": 3012, + "id": 2504, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3002, + "id": 2494, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54038:8:1" + "src": "55573:8:0" }, "parameters": { - "id": 3001, + "id": 2493, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2996, + "id": 2488, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53980:12:1", + "scope": 2504, + "src": "55515:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30987,10 +30987,10 @@ "typeString": "address" }, "typeName": { - "id": 2995, + "id": 2487, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53980:7:1", + "src": "55515:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31001,12 +31001,12 @@ }, { "constant": false, - "id": 2998, + "id": 2490, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53994:10:1", + "scope": 2504, + "src": "55529:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31014,10 +31014,10 @@ "typeString": "address" }, "typeName": { - "id": 2997, + "id": 2489, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53994:7:1", + "src": "55529:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31028,12 +31028,12 @@ }, { "constant": false, - "id": 3000, + "id": 2492, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "54006:15:1", + "scope": 2504, + "src": "55541:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31041,10 +31041,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2999, + "id": 2491, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54006:7:1", + "src": "55541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31053,28 +31053,28 @@ "visibility": "internal" } ], - "src": "53979:43:1" + "src": "55514:43:0" }, "returnParameters": { - "id": 3003, + "id": 2495, "nodeType": "ParameterList", "parameters": [], - "src": "54047:0:1" + "src": "55582:0:0" }, - "scope": 3498, - "src": "53954:149:1", + "scope": 2990, + "src": "55489:151:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 654 + 146 ], "body": { - "id": 3041, + "id": 2533, "nodeType": "Block", - "src": "54282:169:1", + "src": "55824:172:0", "statements": [ { "expression": { @@ -31085,18 +31085,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3027, + "id": 2519, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "54319:10:1", + "referencedDeclaration": 10, + "src": "55862:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3028, + "id": 2520, "isConstant": false, "isLValue": false, "isPure": false, @@ -31104,7 +31104,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54319:12:1", + "src": "55862:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -31112,12 +31112,12 @@ } }, { - "id": 3029, + "id": 2521, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54333:7:1", + "referencedDeclaration": 2511, + "src": "55876:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31135,18 +31135,18 @@ "typeString": "uint256" } ], - "id": 3026, + "id": 2518, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "54300:18:1", + "referencedDeclaration": 2619, + "src": "55843:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 3030, + "id": 2522, "isConstant": false, "isLValue": false, "isPure": false, @@ -31154,7 +31154,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54300:41:1", + "src": "55843:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31163,14 +31163,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 3031, + "id": 2523, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54343:51:1", + "src": "55886:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -31189,7 +31189,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 3025, + "id": 2517, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31197,13 +31197,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "54292:7:1", + "src": "55835:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3032, + "id": 2524, "isConstant": false, "isLValue": false, "isPure": false, @@ -31211,63 +31211,63 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54292:103:1", + "src": "55835:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3033, + "id": 2525, "nodeType": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "expression": { "arguments": [ { - "id": 3035, + "id": 2527, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3015, - "src": "54419:4:1", + "referencedDeclaration": 2507, + "src": "55963:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3036, + "id": 2528, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3017, - "src": "54425:2:1", + "referencedDeclaration": 2509, + "src": "55969:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3037, + "id": 2529, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54429:7:1", + "referencedDeclaration": 2511, + "src": "55973:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3038, + "id": 2530, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3021, - "src": "54438:5:1", + "referencedDeclaration": 2513, + "src": "55982:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31293,18 +31293,18 @@ "typeString": "bytes memory" } ], - "id": 3034, + "id": 2526, "name": "_safeTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3071, - "src": "54405:13:1", + "referencedDeclaration": 2563, + "src": "55949:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3039, + "id": 2531, "isConstant": false, "isLValue": false, "isPure": false, @@ -31312,50 +31312,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54405:39:1", + "src": "55949:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3040, + "id": 2532, "nodeType": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ] }, "documentation": { - "id": 3013, + "id": 2505, "nodeType": "StructuredDocumentation", - "src": "54109:55:1", + "src": "55648:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "b88d4fde", - "id": 3042, + "id": 2534, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3023, + "id": 2515, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54273:8:1" + "src": "55815:8:0" }, "parameters": { - "id": 3022, + "id": 2514, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3015, + "id": 2507, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54195:12:1", + "scope": 2534, + "src": "55737:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31363,10 +31363,10 @@ "typeString": "address" }, "typeName": { - "id": 3014, + "id": 2506, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54195:7:1", + "src": "55737:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31377,12 +31377,12 @@ }, { "constant": false, - "id": 3017, + "id": 2509, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54209:10:1", + "scope": 2534, + "src": "55751:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31390,10 +31390,10 @@ "typeString": "address" }, "typeName": { - "id": 3016, + "id": 2508, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54209:7:1", + "src": "55751:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31404,12 +31404,12 @@ }, { "constant": false, - "id": 3019, + "id": 2511, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54221:15:1", + "scope": 2534, + "src": "55763:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31417,10 +31417,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3018, + "id": 2510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54221:7:1", + "src": "55763:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31430,12 +31430,12 @@ }, { "constant": false, - "id": 3021, + "id": 2513, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54238:18:1", + "scope": 2534, + "src": "55780:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31443,10 +31443,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3020, + "id": 2512, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "54238:5:1", + "src": "55780:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31455,60 +31455,60 @@ "visibility": "internal" } ], - "src": "54194:63:1" + "src": "55736:63:0" }, "returnParameters": { - "id": 3024, + "id": 2516, "nodeType": "ParameterList", "parameters": [], - "src": "54282:0:1" + "src": "55824:0:0" }, - "scope": 3498, - "src": "54169:282:1", + "scope": 2990, + "src": "55711:285:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "body": { - "id": 3070, + "id": 2562, "nodeType": "Block", - "src": "55416:166:1", + "src": "56981:169:0", "statements": [ { "expression": { "arguments": [ { - "id": 3055, + "id": 2547, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55436:4:1", + "referencedDeclaration": 2537, + "src": "57002:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3056, + "id": 2548, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55442:2:1", + "referencedDeclaration": 2539, + "src": "57008:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3057, + "id": 2549, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55446:7:1", + "referencedDeclaration": 2541, + "src": "57012:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31530,18 +31530,18 @@ "typeString": "uint256" } ], - "id": 3054, + "id": 2546, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "55426:9:1", + "referencedDeclaration": 2863, + "src": "56992:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3058, + "id": 2550, "isConstant": false, "isLValue": false, "isPure": false, @@ -31549,16 +31549,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55426:28:1", + "src": "56992:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3059, + "id": 2551, "nodeType": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "expression": { @@ -31566,48 +31566,48 @@ { "arguments": [ { - "id": 3062, + "id": 2554, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55495:4:1", + "referencedDeclaration": 2537, + "src": "57062:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3063, + "id": 2555, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55501:2:1", + "referencedDeclaration": 2539, + "src": "57068:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3064, + "id": 2556, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55505:7:1", + "referencedDeclaration": 2541, + "src": "57072:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3065, + "id": 2557, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3051, - "src": "55514:5:1", + "referencedDeclaration": 2543, + "src": "57081:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31633,18 +31633,18 @@ "typeString": "bytes memory" } ], - "id": 3061, + "id": 2553, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "55472:22:1", + "referencedDeclaration": 2954, + "src": "57039:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3066, + "id": 2558, "isConstant": false, "isLValue": false, "isPure": false, @@ -31652,7 +31652,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55472:48:1", + "src": "57039:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31661,14 +31661,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3067, + "id": 2559, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "55522:52:1", + "src": "57089:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -31687,7 +31687,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3060, + "id": 2552, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31695,13 +31695,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "55464:7:1", + "src": "57031:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3068, + "id": 2560, "isConstant": false, "isLValue": false, "isPure": false, @@ -31709,43 +31709,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55464:111:1", + "src": "57031:111:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3069, + "id": 2561, "nodeType": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ] }, "documentation": { - "id": 3043, + "id": 2535, "nodeType": "StructuredDocumentation", - "src": "54457:851:1", + "src": "56004:868:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3071, + "id": 2563, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3052, + "id": 2544, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3045, + "id": 2537, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55336:12:1", + "scope": 2563, + "src": "56901:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31753,10 +31753,10 @@ "typeString": "address" }, "typeName": { - "id": 3044, + "id": 2536, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55336:7:1", + "src": "56901:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31767,12 +31767,12 @@ }, { "constant": false, - "id": 3047, + "id": 2539, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55350:10:1", + "scope": 2563, + "src": "56915:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31780,10 +31780,10 @@ "typeString": "address" }, "typeName": { - "id": 3046, + "id": 2538, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55350:7:1", + "src": "56915:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31794,12 +31794,12 @@ }, { "constant": false, - "id": 3049, + "id": 2541, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55362:15:1", + "scope": 2563, + "src": "56927:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31807,10 +31807,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3048, + "id": 2540, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55362:7:1", + "src": "56927:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31820,12 +31820,12 @@ }, { "constant": false, - "id": 3051, + "id": 2543, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55379:18:1", + "scope": 2563, + "src": "56944:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31833,10 +31833,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3050, + "id": 2542, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "55379:5:1", + "src": "56944:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31845,36 +31845,36 @@ "visibility": "internal" } ], - "src": "55335:63:1" + "src": "56900:63:0" }, "returnParameters": { - "id": 3053, + "id": 2545, "nodeType": "ParameterList", "parameters": [], - "src": "55416:0:1" + "src": "56981:0:0" }, - "scope": 3498, - "src": "55313:269:1", + "scope": 2990, + "src": "56878:272:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3084, + "id": 2576, "nodeType": "Block", - "src": "55956:54:1", + "src": "57534:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 3081, + "id": 2573, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3074, - "src": "55995:7:1", + "referencedDeclaration": 2566, + "src": "57574:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31889,32 +31889,32 @@ } ], "expression": { - "id": 3079, + "id": 2571, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "55973:12:1", + "referencedDeclaration": 2094, + "src": "57552:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3080, + "id": 2572, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "contains", "nodeType": "MemberAccess", - "referencedDeclaration": 2326, - "src": "55973:21:1", + "referencedDeclaration": 1818, + "src": "57552:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" } }, - "id": 3082, + "id": 2574, "isConstant": false, "isLValue": false, "isPure": false, @@ -31922,44 +31922,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55973:30:1", + "src": "57552:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3078, - "id": 3083, + "functionReturnParameters": 2570, + "id": 2575, "nodeType": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ] }, "documentation": { - "id": 3072, + "id": 2564, "nodeType": "StructuredDocumentation", - "src": "55588:292:1", + "src": "57158:299:0", "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3085, + "id": 2577, "implemented": true, "kind": "function", "modifiers": [], "name": "_exists", "nodeType": "FunctionDefinition", "parameters": { - "id": 3075, + "id": 2567, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3074, + "id": 2566, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55902:15:1", + "scope": 2577, + "src": "57480:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31967,10 +31967,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3073, + "id": 2565, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55902:7:1", + "src": "57480:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31979,20 +31979,20 @@ "visibility": "internal" } ], - "src": "55901:17:1" + "src": "57479:17:0" }, "returnParameters": { - "id": 3078, + "id": 2570, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3077, + "id": 2569, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55950:4:1", + "scope": 2577, + "src": "57528:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32000,10 +32000,10 @@ "typeString": "bool" }, "typeName": { - "id": 3076, + "id": 2568, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "55950:4:1", + "src": "57528:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32012,19 +32012,19 @@ "visibility": "internal" } ], - "src": "55949:6:1" + "src": "57527:6:0" }, - "scope": 3498, - "src": "55885:125:1", + "scope": 2990, + "src": "57463:127:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3126, + "id": 2618, "nodeType": "Block", - "src": "56267:252:1", + "src": "57856:256:0", "statements": [ { "expression": { @@ -32032,12 +32032,12 @@ { "arguments": [ { - "id": 3097, + "id": 2589, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56293:7:1", + "referencedDeclaration": 2582, + "src": "57883:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32051,18 +32051,18 @@ "typeString": "uint256" } ], - "id": 3096, + "id": 2588, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "56285:7:1", + "referencedDeclaration": 2577, + "src": "57875:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3098, + "id": 2590, "isConstant": false, "isLValue": false, "isPure": false, @@ -32070,7 +32070,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56285:16:1", + "src": "57875:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -32079,14 +32079,14 @@ }, { "hexValue": "4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 3099, + "id": 2591, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56303:46:1", + "src": "57893:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5797d1ccb08b83980dd0c07ea40d8f6a64d35fff736a19bdd17522954cb0899c", "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" @@ -32105,7 +32105,7 @@ "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" } ], - "id": 3095, + "id": 2587, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -32113,13 +32113,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "56277:7:1", + "src": "57867:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3100, + "id": 2592, "isConstant": false, "isLValue": false, "isPure": false, @@ -32127,30 +32127,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56277:73:1", + "src": "57867:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3101, + "id": 2593, "nodeType": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "assignments": [ - 3103 + 2595 ], "declarations": [ { "constant": false, - "id": 3103, + "id": 2595, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3126, - "src": "56360:13:1", + "scope": 2618, + "src": "57951:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32158,10 +32158,10 @@ "typeString": "address" }, "typeName": { - "id": 3102, + "id": 2594, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56360:7:1", + "src": "57951:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32171,16 +32171,16 @@ "visibility": "internal" } ], - "id": 3108, + "id": 2600, "initialValue": { "arguments": [ { - "id": 3106, + "id": 2598, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56391:7:1", + "referencedDeclaration": 2582, + "src": "57982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32195,32 +32195,32 @@ } ], "expression": { - "id": 3104, + "id": 2596, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56376:6:1", + "referencedDeclaration": 2990, + "src": "57967:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3105, + "id": 2597, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "56376:14:1", + "referencedDeclaration": 2194, + "src": "57967:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3107, + "id": 2599, "isConstant": false, "isLValue": false, "isPure": false, @@ -32228,7 +32228,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56376:23:1", + "src": "57967:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -32236,7 +32236,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "expression": { @@ -32246,7 +32246,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3123, + "id": 2615, "isConstant": false, "isLValue": false, "isPure": false, @@ -32256,7 +32256,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3117, + "id": 2609, "isConstant": false, "isLValue": false, "isPure": false, @@ -32266,18 +32266,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3111, + "id": 2603, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3109, + "id": 2601, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56417:7:1", + "referencedDeclaration": 2580, + "src": "58009:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32286,18 +32286,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3110, + "id": 2602, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56428:5:1", + "referencedDeclaration": 2595, + "src": "58020:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56417:16:1", + "src": "58009:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32310,7 +32310,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3116, + "id": 2608, "isConstant": false, "isLValue": false, "isPure": false, @@ -32318,12 +32318,12 @@ "leftExpression": { "arguments": [ { - "id": 3113, + "id": 2605, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56449:7:1", + "referencedDeclaration": 2582, + "src": "58041:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32337,18 +32337,18 @@ "typeString": "uint256" } ], - "id": 3112, + "id": 2604, "name": "getApproved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "56437:11:1", + "referencedDeclaration": 2406, + "src": "58029:11:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3114, + "id": 2606, "isConstant": false, "isLValue": false, "isPure": false, @@ -32356,7 +32356,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56437:20:1", + "src": "58029:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -32366,24 +32366,24 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3115, + "id": 2607, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56461:7:1", + "referencedDeclaration": 2580, + "src": "58053:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56437:31:1", + "src": "58029:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:51:1", + "src": "58009:51:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32394,24 +32394,24 @@ "rightExpression": { "arguments": [ { - "id": 3120, + "id": 2612, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56496:5:1", + "referencedDeclaration": 2595, + "src": "58088:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3121, + "id": 2613, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56503:7:1", + "referencedDeclaration": 2580, + "src": "58095:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32430,32 +32430,32 @@ } ], "expression": { - "id": 3118, + "id": 2610, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56472:6:1", + "referencedDeclaration": 2990, + "src": "58064:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3119, + "id": 2611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "56472:23:1", + "referencedDeclaration": 2458, + "src": "58064:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 3122, + "id": 2614, "isConstant": false, "isLValue": false, "isPure": false, @@ -32463,64 +32463,64 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56472:39:1", + "src": "58064:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:94:1", + "src": "58009:94:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3124, + "id": 2616, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "56416:96:1", + "src": "58008:96:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3094, - "id": 3125, + "functionReturnParameters": 2586, + "id": 2617, "nodeType": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ] }, "documentation": { - "id": 3086, + "id": 2578, "nodeType": "StructuredDocumentation", - "src": "56016:147:1", + "src": "57598:153:0", "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3127, + "id": 2619, "implemented": true, "kind": "function", "modifiers": [], "name": "_isApprovedOrOwner", "nodeType": "FunctionDefinition", "parameters": { - "id": 3091, + "id": 2583, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3088, + "id": 2580, "mutability": "mutable", "name": "spender", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56196:15:1", + "scope": 2619, + "src": "57785:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32528,10 +32528,10 @@ "typeString": "address" }, "typeName": { - "id": 3087, + "id": 2579, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56196:7:1", + "src": "57785:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32542,12 +32542,12 @@ }, { "constant": false, - "id": 3090, + "id": 2582, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56213:15:1", + "scope": 2619, + "src": "57802:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32555,10 +32555,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3089, + "id": 2581, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56213:7:1", + "src": "57802:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32567,20 +32567,20 @@ "visibility": "internal" } ], - "src": "56195:34:1" + "src": "57784:34:0" }, "returnParameters": { - "id": 3094, + "id": 2586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3093, + "id": 2585, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56261:4:1", + "scope": 2619, + "src": "57850:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32588,10 +32588,10 @@ "typeString": "bool" }, "typeName": { - "id": 3092, + "id": 2584, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "56261:4:1", + "src": "57850:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32600,42 +32600,42 @@ "visibility": "internal" } ], - "src": "56260:6:1" + "src": "57849:6:0" }, - "scope": 3498, - "src": "56168:351:1", + "scope": 2990, + "src": "57757:355:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3141, + "id": 2633, "nodeType": "Block", - "src": "56915:43:1", + "src": "58520:45:0", "statements": [ { "expression": { "arguments": [ { - "id": 3136, + "id": 2628, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3130, - "src": "56935:2:1", + "referencedDeclaration": 2622, + "src": "58541:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3137, + "id": 2629, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3132, - "src": "56939:7:1", + "referencedDeclaration": 2624, + "src": "58545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32643,14 +32643,14 @@ }, { "hexValue": "", - "id": 3138, + "id": 2630, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56948:2:1", + "src": "58554:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -32673,21 +32673,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3135, + "id": 2627, "name": "_safeMint", "nodeType": "Identifier", "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, - "src": "56925:9:1", + "referencedDeclaration": 2663, + "src": "58531:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,uint256,bytes memory)" } }, - "id": 3139, + "id": 2631, "isConstant": false, "isLValue": false, "isPure": false, @@ -32695,43 +32695,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56925:26:1", + "src": "58531:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3140, + "id": 2632, "nodeType": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ] }, "documentation": { - "id": 3128, + "id": 2620, "nodeType": "StructuredDocumentation", - "src": "56525:320:1", + "src": "58120:329:0", "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3142, + "id": 2634, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3133, + "id": 2625, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3130, + "id": 2622, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56869:10:1", + "scope": 2634, + "src": "58474:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32739,10 +32739,10 @@ "typeString": "address" }, "typeName": { - "id": 3129, + "id": 2621, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56869:7:1", + "src": "58474:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32753,12 +32753,12 @@ }, { "constant": false, - "id": 3132, + "id": 2624, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56881:15:1", + "scope": 2634, + "src": "58486:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32766,10 +32766,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3131, + "id": 2623, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56881:7:1", + "src": "58486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32778,48 +32778,48 @@ "visibility": "internal" } ], - "src": "56868:29:1" + "src": "58473:29:0" }, "returnParameters": { - "id": 3134, + "id": 2626, "nodeType": "ParameterList", "parameters": [], - "src": "56915:0:1" + "src": "58520:0:0" }, - "scope": 3498, - "src": "56850:108:1", + "scope": 2990, + "src": "58455:110:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3170, + "id": 2662, "nodeType": "Block", - "src": "57264:162:1", + "src": "58877:165:0", "statements": [ { "expression": { "arguments": [ { - "id": 3153, + "id": 2645, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57280:2:1", + "referencedDeclaration": 2637, + "src": "58894:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3154, + "id": 2646, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57284:7:1", + "referencedDeclaration": 2639, + "src": "58898:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32837,18 +32837,18 @@ "typeString": "uint256" } ], - "id": 3152, + "id": 2644, "name": "_mint", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3230, - "src": "57274:5:1", + "referencedDeclaration": 2722, + "src": "58888:5:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3155, + "id": 2647, "isConstant": false, "isLValue": false, "isPure": false, @@ -32856,16 +32856,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57274:18:1", + "src": "58888:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3156, + "id": 2648, "nodeType": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "expression": { @@ -32876,14 +32876,14 @@ "arguments": [ { "hexValue": "30", - "id": 3161, + "id": 2653, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57341:1:1", + "src": "58956:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -32898,26 +32898,26 @@ "typeString": "int_const 0" } ], - "id": 3160, + "id": 2652, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3159, + "id": 2651, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": {} } }, - "id": 3162, + "id": 2654, "isConstant": false, "isLValue": false, "isPure": true, @@ -32925,7 +32925,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57333:10:1", + "src": "58948:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -32933,36 +32933,36 @@ } }, { - "id": 3163, + "id": 2655, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57345:2:1", + "referencedDeclaration": 2637, + "src": "58960:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3164, + "id": 2656, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57349:7:1", + "referencedDeclaration": 2639, + "src": "58964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3165, + "id": 2657, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3149, - "src": "57358:5:1", + "referencedDeclaration": 2641, + "src": "58973:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -32988,18 +32988,18 @@ "typeString": "bytes memory" } ], - "id": 3158, + "id": 2650, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "57310:22:1", + "referencedDeclaration": 2954, + "src": "58925:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3166, + "id": 2658, "isConstant": false, "isLValue": false, "isPure": false, @@ -33007,7 +33007,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57310:54:1", + "src": "58925:54:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -33016,14 +33016,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3167, + "id": 2659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57366:52:1", + "src": "58981:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -33042,7 +33042,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3157, + "id": 2649, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33050,13 +33050,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57302:7:1", + "src": "58917:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3168, + "id": 2660, "isConstant": false, "isLValue": false, "isPure": false, @@ -33064,43 +33064,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57302:117:1", + "src": "58917:117:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3169, + "id": 2661, "nodeType": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ] }, "documentation": { - "id": 3143, + "id": 2635, "nodeType": "StructuredDocumentation", - "src": "56964:210:1", + "src": "58573:213:0", "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3171, + "id": 2663, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3150, + "id": 2642, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3145, + "id": 2637, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57198:10:1", + "scope": 2663, + "src": "58811:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33108,10 +33108,10 @@ "typeString": "address" }, "typeName": { - "id": 3144, + "id": 2636, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57198:7:1", + "src": "58811:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33122,12 +33122,12 @@ }, { "constant": false, - "id": 3147, + "id": 2639, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57210:15:1", + "scope": 2663, + "src": "58823:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33135,10 +33135,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3146, + "id": 2638, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57210:7:1", + "src": "58823:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33148,12 +33148,12 @@ }, { "constant": false, - "id": 3149, + "id": 2641, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57227:18:1", + "scope": 2663, + "src": "58840:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -33161,10 +33161,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3148, + "id": 2640, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "57227:5:1", + "src": "58840:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -33173,25 +33173,25 @@ "visibility": "internal" } ], - "src": "57197:49:1" + "src": "58810:49:0" }, "returnParameters": { - "id": 3151, + "id": 2643, "nodeType": "ParameterList", "parameters": [], - "src": "57264:0:1" + "src": "58877:0:0" }, - "scope": 3498, - "src": "57179:247:1", + "scope": 2990, + "src": "58792:250:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3229, + "id": 2721, "nodeType": "Block", - "src": "57809:332:1", + "src": "59439:343:0", "statements": [ { "expression": { @@ -33201,18 +33201,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3185, + "id": 2677, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3180, + "id": 2672, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57827:2:1", + "referencedDeclaration": 2666, + "src": "59458:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33224,14 +33224,14 @@ "arguments": [ { "hexValue": "30", - "id": 3183, + "id": 2675, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57841:1:1", + "src": "59472:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33246,26 +33246,26 @@ "typeString": "int_const 0" } ], - "id": 3182, + "id": 2674, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3181, + "id": 2673, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": {} } }, - "id": 3184, + "id": 2676, "isConstant": false, "isLValue": false, "isPure": true, @@ -33273,14 +33273,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57833:10:1", + "src": "59464:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "57827:16:1", + "src": "59458:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -33288,14 +33288,14 @@ }, { "hexValue": "4552433732313a206d696e7420746f20746865207a65726f2061646472657373", - "id": 3186, + "id": 2678, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57845:34:1", + "src": "59476:34:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6", "typeString": "literal_string \"ERC721: mint to the zero address\"" @@ -33314,7 +33314,7 @@ "typeString": "literal_string \"ERC721: mint to the zero address\"" } ], - "id": 3179, + "id": 2671, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33322,13 +33322,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57819:7:1", + "src": "59450:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3187, + "id": 2679, "isConstant": false, "isLValue": false, "isPure": false, @@ -33336,22 +33336,22 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57819:61:1", + "src": "59450:61:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3188, + "id": 2680, "nodeType": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "expression": { "arguments": [ { - "id": 3193, + "id": 2685, "isConstant": false, "isLValue": false, "isPure": false, @@ -33359,16 +33359,16 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "57898:17:1", + "src": "59530:17:0", "subExpression": { "arguments": [ { - "id": 3191, + "id": 2683, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57907:7:1", + "referencedDeclaration": 2668, + "src": "59539:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33382,18 +33382,18 @@ "typeString": "uint256" } ], - "id": 3190, + "id": 2682, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "57899:7:1", + "referencedDeclaration": 2577, + "src": "59531:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3192, + "id": 2684, "isConstant": false, "isLValue": false, "isPure": false, @@ -33401,7 +33401,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57899:16:1", + "src": "59531:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -33415,14 +33415,14 @@ }, { "hexValue": "4552433732313a20746f6b656e20616c7265616479206d696e746564", - "id": 3194, + "id": 2686, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57917:30:1", + "src": "59549:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57", "typeString": "literal_string \"ERC721: token already minted\"" @@ -33441,7 +33441,7 @@ "typeString": "literal_string \"ERC721: token already minted\"" } ], - "id": 3189, + "id": 2681, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33449,13 +33449,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57890:7:1", + "src": "59522:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3195, + "id": 2687, "isConstant": false, "isLValue": false, "isPure": false, @@ -33463,16 +33463,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57890:58:1", + "src": "59522:58:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3196, + "id": 2688, "nodeType": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "expression": { @@ -33481,14 +33481,14 @@ "arguments": [ { "hexValue": "30", - "id": 3200, + "id": 2692, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57988:1:1", + "src": "59622:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33503,26 +33503,26 @@ "typeString": "int_const 0" } ], - "id": 3199, + "id": 2691, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3198, + "id": 2690, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": {} } }, - "id": 3201, + "id": 2693, "isConstant": false, "isLValue": false, "isPure": true, @@ -33530,7 +33530,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57980:10:1", + "src": "59614:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33538,24 +33538,24 @@ } }, { - "id": 3202, + "id": 2694, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57992:2:1", + "referencedDeclaration": 2666, + "src": "59626:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3203, + "id": 2695, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57996:7:1", + "referencedDeclaration": 2668, + "src": "59630:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33577,18 +33577,18 @@ "typeString": "uint256" } ], - "id": 3197, + "id": 2689, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "57959:20:1", + "referencedDeclaration": 2989, + "src": "59593:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3204, + "id": 2696, "isConstant": false, "isLValue": false, "isPure": false, @@ -33596,27 +33596,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57959:45:1", + "src": "59593:45:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3205, + "id": 2697, "nodeType": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "expression": { "arguments": [ { - "id": 3210, + "id": 2702, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58037:7:1", + "referencedDeclaration": 2668, + "src": "59673:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33632,25 +33632,25 @@ ], "expression": { "baseExpression": { - "id": 3206, + "id": 2698, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58015:13:1", + "referencedDeclaration": 2092, + "src": "59651:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3208, + "id": 2700, "indexExpression": { - "id": 3207, + "id": 2699, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58029:2:1", + "referencedDeclaration": 2666, + "src": "59665:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33661,27 +33661,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58015:17:1", + "src": "59651:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3209, + "id": 2701, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "58015:21:1", + "referencedDeclaration": 1338, + "src": "59651:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3211, + "id": 2703, "isConstant": false, "isLValue": false, "isPure": false, @@ -33689,39 +33689,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58015:30:1", + "src": "59651:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3212, + "id": 2704, "nodeType": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "expression": { "arguments": [ { - "id": 3216, + "id": 2708, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58073:7:1", + "referencedDeclaration": 2668, + "src": "59711:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3217, + "id": 2709, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58082:2:1", + "referencedDeclaration": 2666, + "src": "59720:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33740,32 +33740,32 @@ } ], "expression": { - "id": 3213, + "id": 2705, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58056:12:1", + "referencedDeclaration": 2094, + "src": "59694:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3215, + "id": 2707, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "58056:16:1", + "referencedDeclaration": 1778, + "src": "59694:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3218, + "id": 2710, "isConstant": false, "isLValue": false, "isPure": false, @@ -33773,16 +33773,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58056:29:1", + "src": "59694:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3219, + "id": 2711, "nodeType": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "eventCall": { @@ -33791,14 +33791,14 @@ "arguments": [ { "hexValue": "30", - "id": 3223, + "id": 2715, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58118:1:1", + "src": "59758:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33813,26 +33813,26 @@ "typeString": "int_const 0" } ], - "id": 3222, + "id": 2714, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3221, + "id": 2713, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": {} } }, - "id": 3224, + "id": 2716, "isConstant": false, "isLValue": false, "isPure": true, @@ -33840,7 +33840,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58110:10:1", + "src": "59750:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33848,24 +33848,24 @@ } }, { - "id": 3225, + "id": 2717, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58122:2:1", + "referencedDeclaration": 2666, + "src": "59762:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3226, + "id": 2718, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58126:7:1", + "referencedDeclaration": 2668, + "src": "59766:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33887,18 +33887,18 @@ "typeString": "uint256" } ], - "id": 3220, + "id": 2712, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58101:8:1", + "referencedDeclaration": 46, + "src": "59741:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3227, + "id": 2719, "isConstant": false, "isLValue": false, "isPure": false, @@ -33906,43 +33906,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58101:33:1", + "src": "59741:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3228, + "id": 2720, "nodeType": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ] }, "documentation": { - "id": 3172, + "id": 2664, "nodeType": "StructuredDocumentation", - "src": "57432:311:1", + "src": "59050:322:0", "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3230, + "id": 2722, "implemented": true, "kind": "function", "modifiers": [], "name": "_mint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3177, + "id": 2669, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3174, + "id": 2666, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57763:10:1", + "scope": 2722, + "src": "59393:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33950,10 +33950,10 @@ "typeString": "address" }, "typeName": { - "id": 3173, + "id": 2665, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57763:7:1", + "src": "59393:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33964,12 +33964,12 @@ }, { "constant": false, - "id": 3176, + "id": 2668, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57775:15:1", + "scope": 2722, + "src": "59405:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33977,10 +33977,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3175, + "id": 2667, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57775:7:1", + "src": "59405:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33989,39 +33989,39 @@ "visibility": "internal" } ], - "src": "57762:29:1" + "src": "59392:29:0" }, "returnParameters": { - "id": 3178, + "id": 2670, "nodeType": "ParameterList", "parameters": [], - "src": "57809:0:1" + "src": "59439:0:0" }, - "scope": 3498, - "src": "57748:393:1", + "scope": 2990, + "src": "59378:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3298, + "id": 2790, "nodeType": "Block", - "src": "58407:478:1", + "src": "60060:496:0", "statements": [ { "assignments": [ - 3237 + 2729 ], "declarations": [ { "constant": false, - "id": 3237, + "id": 2729, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3298, - "src": "58417:13:1", + "scope": 2790, + "src": "60071:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34029,10 +34029,10 @@ "typeString": "address" }, "typeName": { - "id": 3236, + "id": 2728, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58417:7:1", + "src": "60071:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -34042,16 +34042,16 @@ "visibility": "internal" } ], - "id": 3242, + "id": 2734, "initialValue": { "arguments": [ { - "id": 3240, + "id": 2732, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58448:7:1", + "referencedDeclaration": 2725, + "src": "60102:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34066,32 +34066,32 @@ } ], "expression": { - "id": 3238, + "id": 2730, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "58433:6:1", + "referencedDeclaration": 2990, + "src": "60087:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3239, + "id": 2731, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "58433:14:1", + "referencedDeclaration": 2194, + "src": "60087:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3241, + "id": 2733, "isConstant": false, "isLValue": false, "isPure": false, @@ -34099,7 +34099,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58433:23:1", + "src": "60087:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -34107,18 +34107,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "expression": { "arguments": [ { - "id": 3244, + "id": 2736, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58506:5:1", + "referencedDeclaration": 2729, + "src": "60162:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34128,14 +34128,14 @@ "arguments": [ { "hexValue": "30", - "id": 3247, + "id": 2739, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58521:1:1", + "src": "60177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34150,26 +34150,26 @@ "typeString": "int_const 0" } ], - "id": 3246, + "id": 2738, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3245, + "id": 2737, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": {} } }, - "id": 3248, + "id": 2740, "isConstant": false, "isLValue": false, "isPure": true, @@ -34177,7 +34177,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58513:10:1", + "src": "60169:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34185,12 +34185,12 @@ } }, { - "id": 3249, + "id": 2741, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58525:7:1", + "referencedDeclaration": 2725, + "src": "60181:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34212,18 +34212,18 @@ "typeString": "uint256" } ], - "id": 3243, + "id": 2735, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "58485:20:1", + "referencedDeclaration": 2989, + "src": "60141:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3250, + "id": 2742, "isConstant": false, "isLValue": false, "isPure": false, @@ -34231,16 +34231,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58485:48:1", + "src": "60141:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3251, + "id": 2743, "nodeType": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "expression": { @@ -34249,14 +34249,14 @@ "arguments": [ { "hexValue": "30", - "id": 3255, + "id": 2747, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58588:1:1", + "src": "60247:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34271,26 +34271,26 @@ "typeString": "int_const 0" } ], - "id": 3254, + "id": 2746, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3253, + "id": 2745, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": {} } }, - "id": 3256, + "id": 2748, "isConstant": false, "isLValue": false, "isPure": true, @@ -34298,7 +34298,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58580:10:1", + "src": "60239:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34306,12 +34306,12 @@ } }, { - "id": 3257, + "id": 2749, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58592:7:1", + "referencedDeclaration": 2725, + "src": "60251:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34329,18 +34329,18 @@ "typeString": "uint256" } ], - "id": 3252, + "id": 2744, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "58571:8:1", + "referencedDeclaration": 2978, + "src": "60230:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3258, + "id": 2750, "isConstant": false, "isLValue": false, "isPure": false, @@ -34348,16 +34348,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58571:29:1", + "src": "60230:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3259, + "id": 2751, "nodeType": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "condition": { @@ -34365,7 +34365,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3268, + "id": 2760, "isConstant": false, "isLValue": false, "isPure": false, @@ -34375,25 +34375,25 @@ "arguments": [ { "baseExpression": { - "id": 3262, + "id": 2754, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58656:10:1", + "referencedDeclaration": 2112, + "src": "60318:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3264, + "id": 2756, "indexExpression": { - "id": 3263, + "id": 2755, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58667:7:1", + "referencedDeclaration": 2725, + "src": "60329:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34404,7 +34404,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58656:19:1", + "src": "60318:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34418,26 +34418,26 @@ "typeString": "string storage ref" } ], - "id": 3261, + "id": 2753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 3260, + "id": 2752, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": {} } }, - "id": 3265, + "id": 2757, "isConstant": false, "isLValue": false, "isPure": false, @@ -34445,21 +34445,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58650:26:1", + "src": "60312:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes storage pointer" } }, - "id": 3266, + "id": 2758, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "58650:33:1", + "src": "60312:33:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34469,37 +34469,37 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 3267, + "id": 2759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58687:1:1", + "src": "60349:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "58650:38:1", + "src": "60312:38:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3275, + "id": 2767, "nodeType": "IfStatement", - "src": "58646:95:1", + "src": "60308:97:0", "trueBody": { - "id": 3274, + "id": 2766, "nodeType": "Block", - "src": "58690:51:1", + "src": "60352:53:0", "statements": [ { "expression": { - "id": 3272, + "id": 2764, "isConstant": false, "isLValue": false, "isPure": false, @@ -34507,28 +34507,28 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "58704:26:1", + "src": "60367:26:0", "subExpression": { "baseExpression": { - "id": 3269, + "id": 2761, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58711:10:1", + "referencedDeclaration": 2112, + "src": "60374:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3271, + "id": 2763, "indexExpression": { - "id": 3270, + "id": 2762, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58722:7:1", + "referencedDeclaration": 2725, + "src": "60385:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34539,7 +34539,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "58711:19:1", + "src": "60374:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34550,9 +34550,9 @@ "typeString": "tuple()" } }, - "id": 3273, + "id": 2765, "nodeType": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ] } @@ -34561,12 +34561,12 @@ "expression": { "arguments": [ { - "id": 3280, + "id": 2772, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58779:7:1", + "referencedDeclaration": 2725, + "src": "60445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34582,25 +34582,25 @@ ], "expression": { "baseExpression": { - "id": 3276, + "id": 2768, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58751:13:1", + "referencedDeclaration": 2092, + "src": "60417:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3278, + "id": 2770, "indexExpression": { - "id": 3277, + "id": 2769, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58765:5:1", + "referencedDeclaration": 2729, + "src": "60431:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34611,27 +34611,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58751:20:1", + "src": "60417:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3279, + "id": 2771, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "58751:27:1", + "referencedDeclaration": 1358, + "src": "60417:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3281, + "id": 2773, "isConstant": false, "isLValue": false, "isPure": false, @@ -34639,27 +34639,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58751:36:1", + "src": "60417:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3282, + "id": 2774, "nodeType": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "expression": { "arguments": [ { - "id": 3286, + "id": 2778, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58818:7:1", + "referencedDeclaration": 2725, + "src": "60486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34674,32 +34674,32 @@ } ], "expression": { - "id": 3283, + "id": 2775, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58798:12:1", + "referencedDeclaration": 2094, + "src": "60466:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3285, + "id": 2777, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 2306, - "src": "58798:19:1", + "referencedDeclaration": 1798, + "src": "60466:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" } }, - "id": 3287, + "id": 2779, "isConstant": false, "isLValue": false, "isPure": false, @@ -34707,27 +34707,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58798:28:1", + "src": "60466:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3288, + "id": 2780, "nodeType": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "eventCall": { "arguments": [ { - "id": 3290, + "id": 2782, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58851:5:1", + "referencedDeclaration": 2729, + "src": "60521:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34737,14 +34737,14 @@ "arguments": [ { "hexValue": "30", - "id": 3293, + "id": 2785, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58866:1:1", + "src": "60536:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34759,26 +34759,26 @@ "typeString": "int_const 0" } ], - "id": 3292, + "id": 2784, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3291, + "id": 2783, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": {} } }, - "id": 3294, + "id": 2786, "isConstant": false, "isLValue": false, "isPure": true, @@ -34786,7 +34786,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58858:10:1", + "src": "60528:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34794,12 +34794,12 @@ } }, { - "id": 3295, + "id": 2787, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58870:7:1", + "referencedDeclaration": 2725, + "src": "60540:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34821,18 +34821,18 @@ "typeString": "uint256" } ], - "id": 3289, + "id": 2781, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58842:8:1", + "referencedDeclaration": 46, + "src": "60512:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3296, + "id": 2788, "isConstant": false, "isLValue": false, "isPure": false, @@ -34840,43 +34840,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58842:36:1", + "src": "60512:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3297, + "id": 2789, "nodeType": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ] }, "documentation": { - "id": 3231, + "id": 2723, "nodeType": "StructuredDocumentation", - "src": "58147:206:1", + "src": "59790:215:0", "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3299, + "id": 2791, "implemented": true, "kind": "function", "modifiers": [], "name": "_burn", "nodeType": "FunctionDefinition", "parameters": { - "id": 3234, + "id": 2726, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3233, + "id": 2725, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3299, - "src": "58373:15:1", + "scope": 2791, + "src": "60026:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34884,10 +34884,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3232, + "id": 2724, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "58373:7:1", + "src": "60026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34896,25 +34896,25 @@ "visibility": "internal" } ], - "src": "58372:17:1" + "src": "60025:17:0" }, "returnParameters": { - "id": 3235, + "id": 2727, "nodeType": "ParameterList", "parameters": [], - "src": "58407:0:1" + "src": "60060:0:0" }, - "scope": 3498, - "src": "58358:527:1", + "scope": 2990, + "src": "60011:545:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3370, + "id": 2862, "nodeType": "Block", - "src": "59288:505:1", + "src": "60972:520:0", "statements": [ { "expression": { @@ -34924,7 +34924,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3315, + "id": 2807, "isConstant": false, "isLValue": false, "isPure": false, @@ -34932,12 +34932,12 @@ "leftExpression": { "arguments": [ { - "id": 3312, + "id": 2804, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59321:7:1", + "referencedDeclaration": 2798, + "src": "61006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34952,32 +34952,32 @@ } ], "expression": { - "id": 3310, + "id": 2802, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "59306:6:1", + "referencedDeclaration": 2990, + "src": "60991:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3311, + "id": 2803, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "59306:14:1", + "referencedDeclaration": 2194, + "src": "60991:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3313, + "id": 2805, "isConstant": false, "isLValue": false, "isPure": false, @@ -34985,7 +34985,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59306:23:1", + "src": "60991:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -34995,18 +34995,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3314, + "id": 2806, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59333:4:1", + "referencedDeclaration": 2794, + "src": "61018:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "59306:31:1", + "src": "60991:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -35014,14 +35014,14 @@ }, { "hexValue": "4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e", - "id": 3316, + "id": 2808, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59339:43:1", + "src": "61024:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a01073130a885d6c1c1af6ac75fc3b1c4f9403c235362962bbf528e2bd87d950", "typeString": "literal_string \"ERC721: transfer of token that is not own\"" @@ -35040,7 +35040,7 @@ "typeString": "literal_string \"ERC721: transfer of token that is not own\"" } ], - "id": 3309, + "id": 2801, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -35048,13 +35048,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59298:7:1", + "src": "60983:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3317, + "id": 2809, "isConstant": false, "isLValue": false, "isPure": false, @@ -35062,16 +35062,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59298:85:1", + "src": "60983:85:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3318, + "id": 2810, "nodeType": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "expression": { @@ -35081,18 +35081,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3325, + "id": 2817, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3320, + "id": 2812, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59419:2:1", + "referencedDeclaration": 2796, + "src": "61105:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35104,14 +35104,14 @@ "arguments": [ { "hexValue": "30", - "id": 3323, + "id": 2815, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59433:1:1", + "src": "61119:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -35126,26 +35126,26 @@ "typeString": "int_const 0" } ], - "id": 3322, + "id": 2814, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3321, + "id": 2813, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": {} } }, - "id": 3324, + "id": 2816, "isConstant": false, "isLValue": false, "isPure": true, @@ -35153,14 +35153,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59425:10:1", + "src": "61111:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "59419:16:1", + "src": "61105:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -35168,14 +35168,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f20746865207a65726f2061646472657373", - "id": 3326, + "id": 2818, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59437:38:1", + "src": "61123:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4", "typeString": "literal_string \"ERC721: transfer to the zero address\"" @@ -35194,7 +35194,7 @@ "typeString": "literal_string \"ERC721: transfer to the zero address\"" } ], - "id": 3319, + "id": 2811, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -35202,13 +35202,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59411:7:1", + "src": "61097:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3327, + "id": 2819, "isConstant": false, "isLValue": false, "isPure": false, @@ -35216,51 +35216,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59411:65:1", + "src": "61097:65:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3328, + "id": 2820, "nodeType": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "expression": { "arguments": [ { - "id": 3330, + "id": 2822, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59508:4:1", + "referencedDeclaration": 2794, + "src": "61196:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3331, + "id": 2823, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59514:2:1", + "referencedDeclaration": 2796, + "src": "61202:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3332, + "id": 2824, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59518:7:1", + "referencedDeclaration": 2798, + "src": "61206:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35282,18 +35282,18 @@ "typeString": "uint256" } ], - "id": 3329, + "id": 2821, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "59487:20:1", + "referencedDeclaration": 2989, + "src": "61175:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3333, + "id": 2825, "isConstant": false, "isLValue": false, "isPure": false, @@ -35301,16 +35301,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59487:39:1", + "src": "61175:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3334, + "id": 2826, "nodeType": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "expression": { @@ -35319,14 +35319,14 @@ "arguments": [ { "hexValue": "30", - "id": 3338, + "id": 2830, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59605:1:1", + "src": "61296:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -35341,26 +35341,26 @@ "typeString": "int_const 0" } ], - "id": 3337, + "id": 2829, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3336, + "id": 2828, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": {} } }, - "id": 3339, + "id": 2831, "isConstant": false, "isLValue": false, "isPure": true, @@ -35368,7 +35368,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59597:10:1", + "src": "61288:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -35376,12 +35376,12 @@ } }, { - "id": 3340, + "id": 2832, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59609:7:1", + "referencedDeclaration": 2798, + "src": "61300:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35399,18 +35399,18 @@ "typeString": "uint256" } ], - "id": 3335, + "id": 2827, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "59588:8:1", + "referencedDeclaration": 2978, + "src": "61279:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3341, + "id": 2833, "isConstant": false, "isLValue": false, "isPure": false, @@ -35418,27 +35418,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59588:29:1", + "src": "61279:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3342, + "id": 2834, "nodeType": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "expression": { "arguments": [ { - "id": 3347, + "id": 2839, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59655:7:1", + "referencedDeclaration": 2798, + "src": "61348:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35454,25 +35454,25 @@ ], "expression": { "baseExpression": { - "id": 3343, + "id": 2835, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59628:13:1", + "referencedDeclaration": 2092, + "src": "61321:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3345, + "id": 2837, "indexExpression": { - "id": 3344, + "id": 2836, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59642:4:1", + "referencedDeclaration": 2794, + "src": "61335:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35483,27 +35483,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59628:19:1", + "src": "61321:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3346, + "id": 2838, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "59628:26:1", + "referencedDeclaration": 1358, + "src": "61321:26:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3348, + "id": 2840, "isConstant": false, "isLValue": false, "isPure": false, @@ -35511,27 +35511,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59628:35:1", + "src": "61321:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3349, + "id": 2841, "nodeType": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "expression": { "arguments": [ { - "id": 3354, + "id": 2846, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59695:7:1", + "referencedDeclaration": 2798, + "src": "61389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35547,25 +35547,25 @@ ], "expression": { "baseExpression": { - "id": 3350, + "id": 2842, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59673:13:1", + "referencedDeclaration": 2092, + "src": "61367:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3352, + "id": 2844, "indexExpression": { - "id": 3351, + "id": 2843, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59687:2:1", + "referencedDeclaration": 2796, + "src": "61381:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35576,27 +35576,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59673:17:1", + "src": "61367:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3353, + "id": 2845, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "59673:21:1", + "referencedDeclaration": 1338, + "src": "61367:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3355, + "id": 2847, "isConstant": false, "isLValue": false, "isPure": false, @@ -35604,39 +35604,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59673:30:1", + "src": "61367:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3356, + "id": 2848, "nodeType": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "expression": { "arguments": [ { - "id": 3360, + "id": 2852, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59731:7:1", + "referencedDeclaration": 2798, + "src": "61427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3361, + "id": 2853, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59740:2:1", + "referencedDeclaration": 2796, + "src": "61436:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35655,32 +35655,32 @@ } ], "expression": { - "id": 3357, + "id": 2849, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "59714:12:1", + "referencedDeclaration": 2094, + "src": "61410:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3359, + "id": 2851, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "59714:16:1", + "referencedDeclaration": 1778, + "src": "61410:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3362, + "id": 2854, "isConstant": false, "isLValue": false, "isPure": false, @@ -35688,51 +35688,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59714:29:1", + "src": "61410:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3363, + "id": 2855, "nodeType": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "eventCall": { "arguments": [ { - "id": 3365, + "id": 2857, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59768:4:1", + "referencedDeclaration": 2794, + "src": "61466:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3366, + "id": 2858, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59774:2:1", + "referencedDeclaration": 2796, + "src": "61472:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3367, + "id": 2859, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59778:7:1", + "referencedDeclaration": 2798, + "src": "61476:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35754,18 +35754,18 @@ "typeString": "uint256" } ], - "id": 3364, + "id": 2856, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "59759:8:1", + "referencedDeclaration": 46, + "src": "61457:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3368, + "id": 2860, "isConstant": false, "isLValue": false, "isPure": false, @@ -35773,43 +35773,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59759:27:1", + "src": "61457:27:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3369, + "id": 2861, "nodeType": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ] }, "documentation": { - "id": 3300, + "id": 2792, "nodeType": "StructuredDocumentation", - "src": "58891:313:1", + "src": "60564:323:0", "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3371, + "id": 2863, "implemented": true, "kind": "function", "modifiers": [], "name": "_transfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3307, + "id": 2799, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3302, + "id": 2794, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59228:12:1", + "scope": 2863, + "src": "60912:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35817,10 +35817,10 @@ "typeString": "address" }, "typeName": { - "id": 3301, + "id": 2793, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59228:7:1", + "src": "60912:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35831,12 +35831,12 @@ }, { "constant": false, - "id": 3304, + "id": 2796, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59242:10:1", + "scope": 2863, + "src": "60926:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35844,10 +35844,10 @@ "typeString": "address" }, "typeName": { - "id": 3303, + "id": 2795, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59242:7:1", + "src": "60926:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35858,12 +35858,12 @@ }, { "constant": false, - "id": 3306, + "id": 2798, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59254:15:1", + "scope": 2863, + "src": "60938:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35871,10 +35871,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3305, + "id": 2797, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59254:7:1", + "src": "60938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35883,25 +35883,25 @@ "visibility": "internal" } ], - "src": "59227:43:1" + "src": "60911:43:0" }, "returnParameters": { - "id": 3308, + "id": 2800, "nodeType": "ParameterList", "parameters": [], - "src": "59288:0:1" + "src": "60972:0:0" }, - "scope": 3498, - "src": "59209:584:1", + "scope": 2990, + "src": "60893:599:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3392, + "id": 2884, "nodeType": "Block", - "src": "60021:131:1", + "src": "61729:134:0", "statements": [ { "expression": { @@ -35909,12 +35909,12 @@ { "arguments": [ { - "id": 3381, + "id": 2873, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60047:7:1", + "referencedDeclaration": 2866, + "src": "61756:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35928,18 +35928,18 @@ "typeString": "uint256" } ], - "id": 3380, + "id": 2872, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "60039:7:1", + "referencedDeclaration": 2577, + "src": "61748:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3382, + "id": 2874, "isConstant": false, "isLValue": false, "isPure": false, @@ -35947,7 +35947,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60039:16:1", + "src": "61748:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -35956,14 +35956,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e", - "id": 3383, + "id": 2875, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "60057:46:1", + "src": "61766:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_94be4a260caaeac1b145f03ffa2e70bc612b64982d04f24073aaf3a5f9009978", "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" @@ -35982,7 +35982,7 @@ "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" } ], - "id": 3379, + "id": 2871, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -35990,13 +35990,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "60031:7:1", + "src": "61740:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3384, + "id": 2876, "isConstant": false, "isLValue": false, "isPure": false, @@ -36004,45 +36004,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60031:73:1", + "src": "61740:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3385, + "id": 2877, "nodeType": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "expression": { - "id": 3390, + "id": 2882, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3386, + "id": 2878, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "60114:10:1", + "referencedDeclaration": 2112, + "src": "61824:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3388, + "id": 2880, "indexExpression": { - "id": 3387, + "id": 2879, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60125:7:1", + "referencedDeclaration": 2866, + "src": "61835:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36053,7 +36053,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "60114:19:1", + "src": "61824:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -36062,53 +36062,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3389, + "id": 2881, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3376, - "src": "60136:9:1", + "referencedDeclaration": 2868, + "src": "61846:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60114:31:1", + "src": "61824:31:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3391, + "id": 2883, "nodeType": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ] }, "documentation": { - "id": 3372, + "id": 2864, "nodeType": "StructuredDocumentation", - "src": "59799:136:1", + "src": "61500:142:0", "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3393, + "id": 2885, "implemented": true, "kind": "function", "modifiers": [], "name": "_setTokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3377, + "id": 2869, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3374, + "id": 2866, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59962:15:1", + "scope": 2885, + "src": "61670:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36116,10 +36116,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3373, + "id": 2865, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59962:7:1", + "src": "61670:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36129,12 +36129,12 @@ }, { "constant": false, - "id": 3376, + "id": 2868, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59979:23:1", + "scope": 2885, + "src": "61687:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36142,10 +36142,10 @@ "typeString": "string" }, "typeName": { - "id": 3375, + "id": 2867, "name": "string", "nodeType": "ElementaryTypeName", - "src": "59979:6:1", + "src": "61687:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -36154,40 +36154,40 @@ "visibility": "internal" } ], - "src": "59961:42:1" + "src": "61669:42:0" }, "returnParameters": { - "id": 3378, + "id": 2870, "nodeType": "ParameterList", "parameters": [], - "src": "60021:0:1" + "src": "61729:0:0" }, - "scope": 3498, - "src": "59940:212:1", + "scope": 2990, + "src": "61648:215:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3403, + "id": 2895, "nodeType": "Block", - "src": "60437:36:1", + "src": "62155:38:0", "statements": [ { "expression": { - "id": 3401, + "id": 2893, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 3399, + "id": 2891, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "60447:8:1", + "referencedDeclaration": 2114, + "src": "62166:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -36196,53 +36196,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3400, + "id": 2892, "name": "baseURI_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3396, - "src": "60458:8:1", + "referencedDeclaration": 2888, + "src": "62177:8:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60447:19:1", + "src": "62166:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3402, + "id": 2894, "nodeType": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ] }, "documentation": { - "id": 3394, + "id": 2886, "nodeType": "StructuredDocumentation", - "src": "60158:212:1", + "src": "61871:216:0", "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3404, + "id": 2896, "implemented": true, "kind": "function", "modifiers": [], "name": "_setBaseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3397, + "id": 2889, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3396, + "id": 2888, "mutability": "mutable", "name": "baseURI_", "nodeType": "VariableDeclaration", - "scope": 3404, - "src": "60396:22:1", + "scope": 2896, + "src": "62114:22:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36250,10 +36250,10 @@ "typeString": "string" }, "typeName": { - "id": 3395, + "id": 2887, "name": "string", "nodeType": "ElementaryTypeName", - "src": "60396:6:1", + "src": "62114:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -36262,29 +36262,29 @@ "visibility": "internal" } ], - "src": "60395:24:1" + "src": "62113:24:0" }, "returnParameters": { - "id": 3398, + "id": 2890, "nodeType": "ParameterList", "parameters": [], - "src": "60437:0:1" + "src": "62155:0:0" }, - "scope": 3498, - "src": "60375:98:1", + "scope": 2990, + "src": "62093:100:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3461, + "id": 2953, "nodeType": "Block", - "src": "61156:459:1", + "src": "62890:472:0", "statements": [ { "condition": { - "id": 3421, + "id": 2913, "isConstant": false, "isLValue": false, "isPure": false, @@ -36292,38 +36292,38 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "61170:16:1", + "src": "62905:16:0", "subExpression": { "arguments": [], "expression": { "argumentTypes": [], "expression": { - "id": 3418, + "id": 2910, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61171:2:1", + "referencedDeclaration": 2901, + "src": "62906:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3419, + "id": 2911, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isContract", "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "61171:13:1", + "referencedDeclaration": 646, + "src": "62906:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$", "typeString": "function (address) view returns (bool)" } }, - "id": 3420, + "id": 2912, "isConstant": false, "isLValue": false, "isPure": false, @@ -36331,7 +36331,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61171:15:1", + "src": "62906:15:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -36343,52 +36343,52 @@ "typeString": "bool" } }, - "id": 3425, + "id": 2917, "nodeType": "IfStatement", - "src": "61166:58:1", + "src": "62901:60:0", "trueBody": { - "id": 3424, + "id": 2916, "nodeType": "Block", - "src": "61188:36:1", + "src": "62923:38:0", "statements": [ { "expression": { "hexValue": "74727565", - "id": 3422, + "id": 2914, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "61209:4:1", + "src": "62945:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 3417, - "id": 3423, + "functionReturnParameters": 2909, + "id": 2915, "nodeType": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ] } }, { "assignments": [ - 3427 + 2919 ], "declarations": [ { "constant": false, - "id": 3427, + "id": 2919, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61233:23:1", + "scope": 2953, + "src": "62971:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36396,10 +36396,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3426, + "id": 2918, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61233:5:1", + "src": "62971:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36408,7 +36408,7 @@ "visibility": "internal" } ], - "id": 3445, + "id": 2937, "initialValue": { "arguments": [ { @@ -36418,12 +36418,12 @@ "expression": { "arguments": [ { - "id": 3433, + "id": 2925, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61327:2:1", + "referencedDeclaration": 2901, + "src": "63066:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36437,18 +36437,18 @@ "typeString": "address" } ], - "id": 3432, + "id": 2924, "name": "IERC721Receiver", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 726, - "src": "61311:15:1", + "referencedDeclaration": 218, + "src": "63050:15:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$726_$", + "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$218_$", "typeString": "type(contract IERC721Receiver)" } }, - "id": 3434, + "id": 2926, "isConstant": false, "isLValue": false, "isPure": false, @@ -36456,35 +36456,35 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61311:19:1", + "src": "63050:19:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Receiver_$726", + "typeIdentifier": "t_contract$_IERC721Receiver_$218", "typeString": "contract IERC721Receiver" } }, - "id": 3435, + "id": 2927, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "onERC721Received", "nodeType": "MemberAccess", - "referencedDeclaration": 725, - "src": "61311:36:1", + "referencedDeclaration": 217, + "src": "63050:36:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", "typeString": "function (address,address,uint256,bytes memory) external returns (bytes4)" } }, - "id": 3436, + "id": 2928, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "selector", "nodeType": "MemberAccess", - "src": "61311:45:1", + "src": "63050:45:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36494,18 +36494,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3437, + "id": 2929, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "61370:10:1", + "referencedDeclaration": 10, + "src": "63110:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3438, + "id": 2930, "isConstant": false, "isLValue": false, "isPure": false, @@ -36513,7 +36513,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61370:12:1", + "src": "63110:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -36521,36 +36521,36 @@ } }, { - "id": 3439, + "id": 2931, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3407, - "src": "61396:4:1", + "referencedDeclaration": 2899, + "src": "63137:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3440, + "id": 2932, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3411, - "src": "61414:7:1", + "referencedDeclaration": 2903, + "src": "63156:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3441, + "id": 2933, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3413, - "src": "61435:5:1", + "referencedDeclaration": 2905, + "src": "63178:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36581,31 +36581,31 @@ } ], "expression": { - "id": 3430, + "id": 2922, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61275:3:1", + "src": "63013:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3431, + "id": 2923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodeWithSelector", "nodeType": "MemberAccess", - "src": "61275:22:1", + "src": "63013:22:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bytes4) pure returns (bytes memory)" } }, - "id": 3442, + "id": 2934, "isConstant": false, "isLValue": false, "isPure": false, @@ -36613,7 +36613,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61275:175:1", + "src": "63013:181:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36622,14 +36622,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3443, + "id": 2935, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "61452:52:1", + "src": "63196:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -36649,32 +36649,32 @@ } ], "expression": { - "id": 3428, + "id": 2920, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61259:2:1", + "referencedDeclaration": 2901, + "src": "62997:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3429, + "id": 2921, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "functionCall", "nodeType": "MemberAccess", - "referencedDeclaration": 1225, - "src": "61259:15:1", + "referencedDeclaration": 717, + "src": "62997:15:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$bound_to$_t_address_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 3444, + "id": 2936, "isConstant": false, "isLValue": false, "isPure": false, @@ -36682,7 +36682,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61259:246:1", + "src": "62997:252:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36690,21 +36690,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "assignments": [ - 3447 + 2939 ], "declarations": [ { "constant": false, - "id": 3447, + "id": 2939, "mutability": "mutable", "name": "retval", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61515:13:1", + "scope": 2953, + "src": "63260:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36712,10 +36712,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 3446, + "id": 2938, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61515:6:1", + "src": "63260:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36724,16 +36724,16 @@ "visibility": "internal" } ], - "id": 3455, + "id": 2947, "initialValue": { "arguments": [ { - "id": 3450, + "id": 2942, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3427, - "src": "61542:10:1", + "referencedDeclaration": 2919, + "src": "63287:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36742,34 +36742,34 @@ { "components": [ { - "id": 3452, + "id": 2944, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" }, "typeName": { - "id": 3451, + "id": 2943, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": {} } } ], - "id": 3453, + "id": 2945, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61554:8:1", + "src": "63299:8:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" @@ -36788,31 +36788,31 @@ } ], "expression": { - "id": 3448, + "id": 2940, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61531:3:1", + "src": "63276:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3449, + "id": 2941, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "decode", "nodeType": "MemberAccess", - "src": "61531:10:1", + "src": "63276:10:0", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 3454, + "id": 2946, "isConstant": false, "isLValue": false, "isPure": false, @@ -36820,7 +36820,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61531:32:1", + "src": "63276:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes4", @@ -36828,7 +36828,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "expression": { @@ -36838,18 +36838,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 3458, + "id": 2950, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3456, + "id": 2948, "name": "retval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3447, - "src": "61581:6:1", + "referencedDeclaration": 2939, + "src": "63327:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36858,68 +36858,68 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3457, + "id": 2949, "name": "_ERC721_RECEIVED", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2596, - "src": "61591:16:1", + "referencedDeclaration": 2088, + "src": "63337:16:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "src": "61581:26:1", + "src": "63327:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3459, + "id": 2951, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61580:28:1", + "src": "63326:28:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3417, - "id": 3460, + "functionReturnParameters": 2909, + "id": 2952, "nodeType": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ] }, "documentation": { - "id": 3405, + "id": 2897, "nodeType": "StructuredDocumentation", - "src": "60479:542:1", + "src": "62201:551:0", "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3462, + "id": 2954, "implemented": true, "kind": "function", "modifiers": [], "name": "_checkOnERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 3414, + "id": 2906, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3407, + "id": 2899, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61058:12:1", + "scope": 2954, + "src": "62790:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36927,10 +36927,10 @@ "typeString": "address" }, "typeName": { - "id": 3406, + "id": 2898, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61058:7:1", + "src": "62790:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36941,12 +36941,12 @@ }, { "constant": false, - "id": 3409, + "id": 2901, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61072:10:1", + "scope": 2954, + "src": "62804:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36954,10 +36954,10 @@ "typeString": "address" }, "typeName": { - "id": 3408, + "id": 2900, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61072:7:1", + "src": "62804:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36968,12 +36968,12 @@ }, { "constant": false, - "id": 3411, + "id": 2903, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61084:15:1", + "scope": 2954, + "src": "62816:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36981,10 +36981,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3410, + "id": 2902, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61084:7:1", + "src": "62816:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36994,12 +36994,12 @@ }, { "constant": false, - "id": 3413, + "id": 2905, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61101:18:1", + "scope": 2954, + "src": "62833:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -37007,10 +37007,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3412, + "id": 2904, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61101:5:1", + "src": "62833:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -37019,20 +37019,20 @@ "visibility": "internal" } ], - "src": "61057:63:1" + "src": "62789:63:0" }, "returnParameters": { - "id": 3417, + "id": 2909, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3416, + "id": 2908, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61146:4:1", + "scope": 2954, + "src": "62879:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37040,10 +37040,10 @@ "typeString": "bool" }, "typeName": { - "id": 3415, + "id": 2907, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "61146:4:1", + "src": "62879:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -37052,48 +37052,48 @@ "visibility": "internal" } ], - "src": "61145:6:1" + "src": "62878:6:0" }, - "scope": 3498, - "src": "61026:589:1", + "scope": 2990, + "src": "62758:604:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 3485, + "id": 2977, "nodeType": "Block", - "src": "61791:125:1", + "src": "63545:128:0", "statements": [ { "expression": { - "id": 3474, + "id": 2966, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3470, + "id": 2962, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "61801:15:1", + "referencedDeclaration": 2098, + "src": "63556:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 3472, + "id": 2964, "indexExpression": { - "id": 3471, + "id": 2963, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61817:7:1", + "referencedDeclaration": 2959, + "src": "63572:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37104,7 +37104,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "61801:24:1", + "src": "63556:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -37113,26 +37113,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3473, + "id": 2965, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61828:2:1", + "referencedDeclaration": 2957, + "src": "63583:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "61801:29:1", + "src": "63556:29:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3475, + "id": 2967, "nodeType": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "eventCall": { @@ -37140,12 +37140,12 @@ { "arguments": [ { - "id": 3479, + "id": 2971, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61869:7:1", + "referencedDeclaration": 2959, + "src": "63625:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37160,32 +37160,32 @@ } ], "expression": { - "id": 3477, + "id": 2969, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "61854:6:1", + "referencedDeclaration": 2990, + "src": "63610:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3478, + "id": 2970, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "61854:14:1", + "referencedDeclaration": 2194, + "src": "63610:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3480, + "id": 2972, "isConstant": false, "isLValue": false, "isPure": false, @@ -37193,7 +37193,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61854:23:1", + "src": "63610:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -37201,24 +37201,24 @@ } }, { - "id": 3481, + "id": 2973, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61879:2:1", + "referencedDeclaration": 2957, + "src": "63635:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3482, + "id": 2974, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61883:7:1", + "referencedDeclaration": 2959, + "src": "63639:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37240,18 +37240,18 @@ "typeString": "uint256" } ], - "id": 3476, + "id": 2968, "name": "Approval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 563, - "src": "61845:8:1", + "referencedDeclaration": 55, + "src": "63601:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3483, + "id": 2975, "isConstant": false, "isLValue": false, "isPure": false, @@ -37259,43 +37259,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61845:46:1", + "src": "63601:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3484, + "id": 2976, "nodeType": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ] }, "documentation": { - "id": 3463, + "id": 2955, "nodeType": "StructuredDocumentation", - "src": "61621:101:1", + "src": "63370:105:0", "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3486, + "id": 2978, "implemented": true, "kind": "function", "modifiers": [], "name": "_approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 3468, + "id": 2960, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3465, + "id": 2957, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61745:10:1", + "scope": 2978, + "src": "63499:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37303,10 +37303,10 @@ "typeString": "address" }, "typeName": { - "id": 3464, + "id": 2956, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61745:7:1", + "src": "63499:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37317,12 +37317,12 @@ }, { "constant": false, - "id": 3467, + "id": 2959, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61757:15:1", + "scope": 2978, + "src": "63511:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37330,10 +37330,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3466, + "id": 2958, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61757:7:1", + "src": "63511:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37342,51 +37342,51 @@ "visibility": "internal" } ], - "src": "61744:29:1" + "src": "63498:29:0" }, "returnParameters": { - "id": 3469, + "id": 2961, "nodeType": "ParameterList", "parameters": [], - "src": "61791:0:1" + "src": "63545:0:0" }, - "scope": 3498, - "src": "61727:189:1", + "scope": 2990, + "src": "63481:192:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3496, + "id": 2988, "nodeType": "Block", - "src": "62602:3:1", + "src": "64376:3:0", "statements": [] }, "documentation": { - "id": 3487, + "id": 2979, "nodeType": "StructuredDocumentation", - "src": "61922:585:1", + "src": "63681:599:0", "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3497, + "id": 2989, "implemented": true, "kind": "function", "modifiers": [], "name": "_beforeTokenTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3494, + "id": 2986, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3489, + "id": 2981, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62542:12:1", + "scope": 2989, + "src": "64316:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37394,10 +37394,10 @@ "typeString": "address" }, "typeName": { - "id": 3488, + "id": 2980, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62542:7:1", + "src": "64316:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37408,12 +37408,12 @@ }, { "constant": false, - "id": 3491, + "id": 2983, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62556:10:1", + "scope": 2989, + "src": "64330:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37421,10 +37421,10 @@ "typeString": "address" }, "typeName": { - "id": 3490, + "id": 2982, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62556:7:1", + "src": "64330:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37435,12 +37435,12 @@ }, { "constant": false, - "id": 3493, + "id": 2985, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62568:15:1", + "scope": 2989, + "src": "64342:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37448,10 +37448,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3492, + "id": 2984, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "62568:7:1", + "src": "64342:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37460,69 +37460,69 @@ "visibility": "internal" } ], - "src": "62541:43:1" + "src": "64315:43:0" }, "returnParameters": { - "id": 3495, + "id": 2987, "nodeType": "ParameterList", "parameters": [], - "src": "62602:0:1" + "src": "64376:0:0" }, - "scope": 3498, - "src": "62512:93:1", + "scope": 2990, + "src": "64286:93:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "46080:16527:1" + "scope": 2991, + "src": "47398:16984:0" } ], - "src": "84:62524:1" + "src": "87:64297:0" }, "legacyAST": { "attributes": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, "license": "MIT" @@ -37540,9 +37540,9 @@ ".0" ] }, - "id": 509, + "id": 1, "name": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "attributes": { @@ -37556,10 +37556,10 @@ "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", - "scope": 3499 + "scope": 2991 }, "children": [ { @@ -37571,7 +37571,7 @@ null ], "name": "_msgSender", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37584,9 +37584,9 @@ ] }, "children": [], - "id": 510, + "id": 2, "name": "ParameterList", - "src": "668:2:1" + "src": "684:2:0" }, { "children": [ @@ -37595,7 +37595,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 518, + "scope": 10, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -37608,25 +37608,25 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 511, + "id": 3, "name": "ElementaryTypeName", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 512, + "id": 4, "name": "VariableDeclaration", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 513, + "id": 5, "name": "ParameterList", - "src": "701:17:1" + "src": "717:17:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 513 + "functionReturnParameters": 5 }, "children": [ { @@ -37648,29 +37648,29 @@ "type": "msg", "value": "msg" }, - "id": 514, + "id": 6, "name": "Identifier", - "src": "736:3:1" + "src": "753:3:0" } ], - "id": 515, + "id": 7, "name": "MemberAccess", - "src": "736:10:1" + "src": "753:10:0" } ], - "id": 516, + "id": 8, "name": "Return", - "src": "729:17:1" + "src": "746:17:0" } ], - "id": 517, + "id": 9, "name": "Block", - "src": "719:34:1" + "src": "735:36:0" } ], - "id": 518, + "id": 10, "name": "FunctionDefinition", - "src": "649:104:1" + "src": "665:106:0" }, { "attributes": { @@ -37681,7 +37681,7 @@ null ], "name": "_msgData", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37694,9 +37694,9 @@ ] }, "children": [], - "id": 519, + "id": 11, "name": "ParameterList", - "src": "776:2:1" + "src": "796:2:0" }, { "children": [ @@ -37705,7 +37705,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 529, + "scope": 21, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -37717,19 +37717,19 @@ "name": "bytes", "type": "bytes" }, - "id": 520, + "id": 12, "name": "ElementaryTypeName", - "src": "810:5:1" + "src": "830:5:0" } ], - "id": 521, + "id": 13, "name": "VariableDeclaration", - "src": "810:12:1" + "src": "830:12:0" } ], - "id": 522, + "id": 14, "name": "ParameterList", - "src": "809:14:1" + "src": "829:14:0" }, { "children": [ @@ -37744,18 +37744,18 @@ "type": "contract Context", "value": "this" }, - "id": 523, + "id": 15, "name": "Identifier", - "src": "834:4:1" + "src": "855:4:0" } ], - "id": 524, + "id": 16, "name": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "attributes": { - "functionReturnParameters": 522 + "functionReturnParameters": 14 }, "children": [ { @@ -37777,34 +37777,34 @@ "type": "msg", "value": "msg" }, - "id": 525, + "id": 17, "name": "Identifier", - "src": "974:3:1" + "src": "996:3:0" } ], - "id": 526, + "id": 18, "name": "MemberAccess", - "src": "974:8:1" + "src": "996:8:0" } ], - "id": 527, + "id": 19, "name": "Return", - "src": "967:15:1" + "src": "989:15:0" } ], - "id": 528, + "id": 20, "name": "Block", - "src": "824:165:1" + "src": "844:168:0" } ], - "id": 529, + "id": 21, "name": "FunctionDefinition", - "src": "759:230:1" + "src": "779:233:0" } ], - "id": 530, + "id": 22, "name": "ContractDefinition", - "src": "617:374:1" + "src": "632:383:0" }, { "attributes": { @@ -37818,9 +37818,9 @@ ".0" ] }, - "id": 531, + "id": 23, "name": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "attributes": { @@ -37834,19 +37834,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, - "id": 532, + "id": 24, "name": "StructuredDocumentation", - "src": "1086:279:1" + "src": "1116:287:0" }, { "attributes": { @@ -37858,7 +37858,7 @@ null ], "name": "supportsInterface", - "scope": 541, + "scope": 33, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -37868,9 +37868,9 @@ "attributes": { "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, - "id": 533, + "id": 25, "name": "StructuredDocumentation", - "src": "1390:340:1" + "src": "1430:347:0" }, { "children": [ @@ -37879,7 +37879,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -37891,19 +37891,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 534, + "id": 26, "name": "ElementaryTypeName", - "src": "1762:6:1" + "src": "1810:6:0" } ], - "id": 535, + "id": 27, "name": "VariableDeclaration", - "src": "1762:18:1" + "src": "1810:18:0" } ], - "id": 536, + "id": 28, "name": "ParameterList", - "src": "1761:20:1" + "src": "1809:20:0" }, { "children": [ @@ -37912,7 +37912,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -37924,29 +37924,29 @@ "name": "bool", "type": "bool" }, - "id": 537, + "id": 29, "name": "ElementaryTypeName", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 538, + "id": 30, "name": "VariableDeclaration", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 539, + "id": 31, "name": "ParameterList", - "src": "1804:6:1" + "src": "1852:6:0" } ], - "id": 540, + "id": 32, "name": "FunctionDefinition", - "src": "1735:76:1" + "src": "1783:76:0" } ], - "id": 541, + "id": 33, "name": "ContractDefinition", - "src": "1366:447:1" + "src": "1405:457:0" }, { "attributes": { @@ -37960,33 +37960,33 @@ ".0" ] }, - "id": 542, + "id": 34, "name": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Required interface of an ERC721 compliant contract." }, - "id": 543, + "id": 35, "name": "StructuredDocumentation", - "src": "1907:67:1" + "src": "1962:69:0" }, { "attributes": {}, @@ -37994,17 +37994,17 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 544, + "id": 36, "name": "UserDefinedTypeName", - "src": "1996:7:1" + "src": "2054:7:0" } ], - "id": 545, + "id": 37, "name": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" }, { "attributes": { @@ -38016,9 +38016,9 @@ "attributes": { "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 546, + "id": 38, "name": "StructuredDocumentation", - "src": "2010:88:1" + "src": "2069:90:0" }, { "children": [ @@ -38028,7 +38028,7 @@ "indexed": true, "mutability": "mutable", "name": "from", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38041,14 +38041,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 547, + "id": 39, "name": "ElementaryTypeName", - "src": "2118:7:1" + "src": "2180:7:0" } ], - "id": 548, + "id": 40, "name": "VariableDeclaration", - "src": "2118:20:1" + "src": "2180:20:0" }, { "attributes": { @@ -38056,7 +38056,7 @@ "indexed": true, "mutability": "mutable", "name": "to", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38069,14 +38069,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 549, + "id": 41, "name": "ElementaryTypeName", - "src": "2140:7:1" + "src": "2202:7:0" } ], - "id": 550, + "id": 42, "name": "VariableDeclaration", - "src": "2140:18:1" + "src": "2202:18:0" }, { "attributes": { @@ -38084,7 +38084,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38096,24 +38096,24 @@ "name": "uint256", "type": "uint256" }, - "id": 551, + "id": 43, "name": "ElementaryTypeName", - "src": "2160:7:1" + "src": "2222:7:0" } ], - "id": 552, + "id": 44, "name": "VariableDeclaration", - "src": "2160:23:1" + "src": "2222:23:0" } ], - "id": 553, + "id": 45, "name": "ParameterList", - "src": "2117:67:1" + "src": "2179:67:0" } ], - "id": 554, + "id": 46, "name": "EventDefinition", - "src": "2103:82:1" + "src": "2165:82:0" }, { "attributes": { @@ -38125,9 +38125,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 555, + "id": 47, "name": "StructuredDocumentation", - "src": "2191:94:1" + "src": "2255:96:0" }, { "children": [ @@ -38137,7 +38137,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38150,14 +38150,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 556, + "id": 48, "name": "ElementaryTypeName", - "src": "2305:7:1" + "src": "2372:7:0" } ], - "id": 557, + "id": 49, "name": "VariableDeclaration", - "src": "2305:21:1" + "src": "2372:21:0" }, { "attributes": { @@ -38165,7 +38165,7 @@ "indexed": true, "mutability": "mutable", "name": "approved", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38178,14 +38178,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 558, + "id": 50, "name": "ElementaryTypeName", - "src": "2328:7:1" + "src": "2395:7:0" } ], - "id": 559, + "id": 51, "name": "VariableDeclaration", - "src": "2328:24:1" + "src": "2395:24:0" }, { "attributes": { @@ -38193,7 +38193,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38205,24 +38205,24 @@ "name": "uint256", "type": "uint256" }, - "id": 560, + "id": 52, "name": "ElementaryTypeName", - "src": "2354:7:1" + "src": "2421:7:0" } ], - "id": 561, + "id": 53, "name": "VariableDeclaration", - "src": "2354:23:1" + "src": "2421:23:0" } ], - "id": 562, + "id": 54, "name": "ParameterList", - "src": "2304:74:1" + "src": "2371:74:0" } ], - "id": 563, + "id": 55, "name": "EventDefinition", - "src": "2290:89:1" + "src": "2357:89:0" }, { "attributes": { @@ -38234,9 +38234,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 564, + "id": 56, "name": "StructuredDocumentation", - "src": "2385:117:1" + "src": "2454:119:0" }, { "children": [ @@ -38246,7 +38246,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38259,14 +38259,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 565, + "id": 57, "name": "ElementaryTypeName", - "src": "2528:7:1" + "src": "2600:7:0" } ], - "id": 566, + "id": 58, "name": "VariableDeclaration", - "src": "2528:21:1" + "src": "2600:21:0" }, { "attributes": { @@ -38274,7 +38274,7 @@ "indexed": true, "mutability": "mutable", "name": "operator", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38287,14 +38287,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 567, + "id": 59, "name": "ElementaryTypeName", - "src": "2551:7:1" + "src": "2623:7:0" } ], - "id": 568, + "id": 60, "name": "VariableDeclaration", - "src": "2551:24:1" + "src": "2623:24:0" }, { "attributes": { @@ -38302,7 +38302,7 @@ "indexed": false, "mutability": "mutable", "name": "approved", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38314,24 +38314,24 @@ "name": "bool", "type": "bool" }, - "id": 569, + "id": 61, "name": "ElementaryTypeName", - "src": "2577:4:1" + "src": "2649:4:0" } ], - "id": 570, + "id": 62, "name": "VariableDeclaration", - "src": "2577:13:1" + "src": "2649:13:0" } ], - "id": 571, + "id": 63, "name": "ParameterList", - "src": "2527:64:1" + "src": "2599:64:0" } ], - "id": 572, + "id": 64, "name": "EventDefinition", - "src": "2507:85:1" + "src": "2579:85:0" }, { "attributes": { @@ -38343,7 +38343,7 @@ null ], "name": "balanceOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38353,9 +38353,9 @@ "attributes": { "text": " @dev Returns the number of tokens in ``owner``'s account." }, - "id": 573, + "id": 65, "name": "StructuredDocumentation", - "src": "2598:76:1" + "src": "2672:78:0" }, { "children": [ @@ -38364,7 +38364,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38377,19 +38377,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 574, + "id": 66, "name": "ElementaryTypeName", - "src": "2698:7:1" + "src": "2775:7:0" } ], - "id": 575, + "id": 67, "name": "VariableDeclaration", - "src": "2698:13:1" + "src": "2775:13:0" } ], - "id": 576, + "id": 68, "name": "ParameterList", - "src": "2697:15:1" + "src": "2774:15:0" }, { "children": [ @@ -38398,7 +38398,7 @@ "constant": false, "mutability": "mutable", "name": "balance", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38410,24 +38410,24 @@ "name": "uint256", "type": "uint256" }, - "id": 577, + "id": 69, "name": "ElementaryTypeName", - "src": "2736:7:1" + "src": "2813:7:0" } ], - "id": 578, + "id": 70, "name": "VariableDeclaration", - "src": "2736:15:1" + "src": "2813:15:0" } ], - "id": 579, + "id": 71, "name": "ParameterList", - "src": "2735:17:1" + "src": "2812:17:0" } ], - "id": 580, + "id": 72, "name": "FunctionDefinition", - "src": "2679:74:1" + "src": "2756:74:0" }, { "attributes": { @@ -38439,7 +38439,7 @@ null ], "name": "ownerOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38449,9 +38449,9 @@ "attributes": { "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 581, + "id": 73, "name": "StructuredDocumentation", - "src": "2759:131:1" + "src": "2838:137:0" }, { "children": [ @@ -38460,7 +38460,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38472,19 +38472,19 @@ "name": "uint256", "type": "uint256" }, - "id": 582, + "id": 74, "name": "ElementaryTypeName", - "src": "2912:7:1" + "src": "2998:7:0" } ], - "id": 583, + "id": 75, "name": "VariableDeclaration", - "src": "2912:15:1" + "src": "2998:15:0" } ], - "id": 584, + "id": 76, "name": "ParameterList", - "src": "2911:17:1" + "src": "2997:17:0" }, { "children": [ @@ -38493,7 +38493,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38506,24 +38506,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 585, + "id": 77, "name": "ElementaryTypeName", - "src": "2952:7:1" + "src": "3038:7:0" } ], - "id": 586, + "id": 78, "name": "VariableDeclaration", - "src": "2952:13:1" + "src": "3038:13:0" } ], - "id": 587, + "id": 79, "name": "ParameterList", - "src": "2951:15:1" + "src": "3037:15:0" } ], - "id": 588, + "id": 80, "name": "FunctionDefinition", - "src": "2895:72:1" + "src": "2981:72:0" }, { "attributes": { @@ -38535,7 +38535,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38545,9 +38545,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 589, + "id": 81, "name": "StructuredDocumentation", - "src": "2973:690:1" + "src": "3061:703:0" }, { "children": [ @@ -38556,7 +38556,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38569,21 +38569,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 590, + "id": 82, "name": "ElementaryTypeName", - "src": "3694:7:1" + "src": "3796:7:0" } ], - "id": 591, + "id": 83, "name": "VariableDeclaration", - "src": "3694:12:1" + "src": "3796:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38596,21 +38596,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 592, + "id": 84, "name": "ElementaryTypeName", - "src": "3708:7:1" + "src": "3810:7:0" } ], - "id": 593, + "id": 85, "name": "VariableDeclaration", - "src": "3708:10:1" + "src": "3810:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38622,19 +38622,19 @@ "name": "uint256", "type": "uint256" }, - "id": 594, + "id": 86, "name": "ElementaryTypeName", - "src": "3720:7:1" + "src": "3822:7:0" } ], - "id": 595, + "id": 87, "name": "VariableDeclaration", - "src": "3720:15:1" + "src": "3822:15:0" } ], - "id": 596, + "id": 88, "name": "ParameterList", - "src": "3693:43:1" + "src": "3795:43:0" }, { "attributes": { @@ -38643,14 +38643,14 @@ ] }, "children": [], - "id": 597, + "id": 89, "name": "ParameterList", - "src": "3745:0:1" + "src": "3847:0:0" } ], - "id": 598, + "id": 90, "name": "FunctionDefinition", - "src": "3668:78:1" + "src": "3770:78:0" }, { "attributes": { @@ -38662,7 +38662,7 @@ null ], "name": "transferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38672,9 +38672,9 @@ "attributes": { "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, - "id": 599, + "id": 91, "name": "StructuredDocumentation", - "src": "3752:504:1" + "src": "3856:517:0" }, { "children": [ @@ -38683,7 +38683,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38696,21 +38696,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 600, + "id": 92, "name": "ElementaryTypeName", - "src": "4283:7:1" + "src": "4401:7:0" } ], - "id": 601, + "id": 93, "name": "VariableDeclaration", - "src": "4283:12:1" + "src": "4401:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38723,21 +38723,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 602, + "id": 94, "name": "ElementaryTypeName", - "src": "4297:7:1" + "src": "4415:7:0" } ], - "id": 603, + "id": 95, "name": "VariableDeclaration", - "src": "4297:10:1" + "src": "4415:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38749,19 +38749,19 @@ "name": "uint256", "type": "uint256" }, - "id": 604, + "id": 96, "name": "ElementaryTypeName", - "src": "4309:7:1" + "src": "4427:7:0" } ], - "id": 605, + "id": 97, "name": "VariableDeclaration", - "src": "4309:15:1" + "src": "4427:15:0" } ], - "id": 606, + "id": 98, "name": "ParameterList", - "src": "4282:43:1" + "src": "4400:43:0" }, { "attributes": { @@ -38770,14 +38770,14 @@ ] }, "children": [], - "id": 607, + "id": 99, "name": "ParameterList", - "src": "4334:0:1" + "src": "4452:0:0" } ], - "id": 608, + "id": 100, "name": "FunctionDefinition", - "src": "4261:74:1" + "src": "4379:74:0" }, { "attributes": { @@ -38789,7 +38789,7 @@ null ], "name": "approve", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38799,9 +38799,9 @@ "attributes": { "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, - "id": 609, + "id": 101, "name": "StructuredDocumentation", - "src": "4341:452:1" + "src": "4461:464:0" }, { "children": [ @@ -38810,7 +38810,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38823,21 +38823,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 610, + "id": 102, "name": "ElementaryTypeName", - "src": "4815:7:1" + "src": "4948:7:0" } ], - "id": 611, + "id": 103, "name": "VariableDeclaration", - "src": "4815:10:1" + "src": "4948:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38849,19 +38849,19 @@ "name": "uint256", "type": "uint256" }, - "id": 612, + "id": 104, "name": "ElementaryTypeName", - "src": "4827:7:1" + "src": "4960:7:0" } ], - "id": 613, + "id": 105, "name": "VariableDeclaration", - "src": "4827:15:1" + "src": "4960:15:0" } ], - "id": 614, + "id": 106, "name": "ParameterList", - "src": "4814:29:1" + "src": "4947:29:0" }, { "attributes": { @@ -38870,14 +38870,14 @@ ] }, "children": [], - "id": 615, + "id": 107, "name": "ParameterList", - "src": "4852:0:1" + "src": "4985:0:0" } ], - "id": 616, + "id": 108, "name": "FunctionDefinition", - "src": "4798:55:1" + "src": "4931:55:0" }, { "attributes": { @@ -38889,7 +38889,7 @@ null ], "name": "getApproved", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38899,9 +38899,9 @@ "attributes": { "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 617, + "id": 109, "name": "StructuredDocumentation", - "src": "4859:139:1" + "src": "4994:145:0" }, { "children": [ @@ -38910,7 +38910,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38922,19 +38922,19 @@ "name": "uint256", "type": "uint256" }, - "id": 618, + "id": 110, "name": "ElementaryTypeName", - "src": "5024:7:1" + "src": "5166:7:0" } ], - "id": 619, + "id": 111, "name": "VariableDeclaration", - "src": "5024:15:1" + "src": "5166:15:0" } ], - "id": 620, + "id": 112, "name": "ParameterList", - "src": "5023:17:1" + "src": "5165:17:0" }, { "children": [ @@ -38943,7 +38943,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38956,24 +38956,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 621, + "id": 113, "name": "ElementaryTypeName", - "src": "5064:7:1" + "src": "5206:7:0" } ], - "id": 622, + "id": 114, "name": "VariableDeclaration", - "src": "5064:16:1" + "src": "5206:16:0" } ], - "id": 623, + "id": 115, "name": "ParameterList", - "src": "5063:18:1" + "src": "5205:18:0" } ], - "id": 624, + "id": 116, "name": "FunctionDefinition", - "src": "5003:79:1" + "src": "5145:79:0" }, { "attributes": { @@ -38985,7 +38985,7 @@ null ], "name": "setApprovalForAll", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38995,9 +38995,9 @@ "attributes": { "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, - "id": 625, + "id": 117, "name": "StructuredDocumentation", - "src": "5088:309:1" + "src": "5232:318:0" }, { "children": [ @@ -39006,7 +39006,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39019,21 +39019,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 626, + "id": 118, "name": "ElementaryTypeName", - "src": "5429:7:1" + "src": "5583:7:0" } ], - "id": 627, + "id": 119, "name": "VariableDeclaration", - "src": "5429:16:1" + "src": "5583:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_approved", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -39045,19 +39045,19 @@ "name": "bool", "type": "bool" }, - "id": 628, + "id": 120, "name": "ElementaryTypeName", - "src": "5447:4:1" + "src": "5601:4:0" } ], - "id": 629, + "id": 121, "name": "VariableDeclaration", - "src": "5447:14:1" + "src": "5601:14:0" } ], - "id": 630, + "id": 122, "name": "ParameterList", - "src": "5428:34:1" + "src": "5582:34:0" }, { "attributes": { @@ -39066,14 +39066,14 @@ ] }, "children": [], - "id": 631, + "id": 123, "name": "ParameterList", - "src": "5471:0:1" + "src": "5625:0:0" } ], - "id": 632, + "id": 124, "name": "FunctionDefinition", - "src": "5402:70:1" + "src": "5556:70:0" }, { "attributes": { @@ -39085,7 +39085,7 @@ null ], "name": "isApprovedForAll", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39095,9 +39095,9 @@ "attributes": { "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, - "id": 633, + "id": 125, "name": "StructuredDocumentation", - "src": "5478:138:1" + "src": "5634:142:0" }, { "children": [ @@ -39106,7 +39106,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39119,21 +39119,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 634, + "id": 126, "name": "ElementaryTypeName", - "src": "5647:7:1" + "src": "5808:7:0" } ], - "id": 635, + "id": 127, "name": "VariableDeclaration", - "src": "5647:13:1" + "src": "5808:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39146,19 +39146,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 636, + "id": 128, "name": "ElementaryTypeName", - "src": "5662:7:1" + "src": "5823:7:0" } ], - "id": 637, + "id": 129, "name": "VariableDeclaration", - "src": "5662:16:1" + "src": "5823:16:0" } ], - "id": 638, + "id": 130, "name": "ParameterList", - "src": "5646:33:1" + "src": "5807:33:0" }, { "children": [ @@ -39167,7 +39167,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -39179,24 +39179,24 @@ "name": "bool", "type": "bool" }, - "id": 639, + "id": 131, "name": "ElementaryTypeName", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 640, + "id": 132, "name": "VariableDeclaration", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 641, + "id": 133, "name": "ParameterList", - "src": "5702:6:1" + "src": "5863:6:0" } ], - "id": 642, + "id": 134, "name": "FunctionDefinition", - "src": "5621:88:1" + "src": "5782:88:0" }, { "attributes": { @@ -39208,7 +39208,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -39218,9 +39218,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 643, + "id": 135, "name": "StructuredDocumentation", - "src": "5715:568:1" + "src": "5878:580:0" }, { "children": [ @@ -39229,7 +39229,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39242,21 +39242,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 644, + "id": 136, "name": "ElementaryTypeName", - "src": "6314:7:1" + "src": "6490:7:0" } ], - "id": 645, + "id": 137, "name": "VariableDeclaration", - "src": "6314:12:1" + "src": "6490:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39269,21 +39269,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 646, + "id": 138, "name": "ElementaryTypeName", - "src": "6328:7:1" + "src": "6504:7:0" } ], - "id": 647, + "id": 139, "name": "VariableDeclaration", - "src": "6328:10:1" + "src": "6504:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39295,21 +39295,21 @@ "name": "uint256", "type": "uint256" }, - "id": 648, + "id": 140, "name": "ElementaryTypeName", - "src": "6340:7:1" + "src": "6516:7:0" } ], - "id": 649, + "id": 141, "name": "VariableDeclaration", - "src": "6340:15:1" + "src": "6516:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39321,19 +39321,19 @@ "name": "bytes", "type": "bytes" }, - "id": 650, + "id": 142, "name": "ElementaryTypeName", - "src": "6357:5:1" + "src": "6533:5:0" } ], - "id": 651, + "id": 143, "name": "VariableDeclaration", - "src": "6357:19:1" + "src": "6533:19:0" } ], - "id": 652, + "id": 144, "name": "ParameterList", - "src": "6313:64:1" + "src": "6489:64:0" }, { "attributes": { @@ -39342,19 +39342,19 @@ ] }, "children": [], - "id": 653, + "id": 145, "name": "ParameterList", - "src": "6386:0:1" + "src": "6562:0:0" } ], - "id": 654, + "id": 146, "name": "FunctionDefinition", - "src": "6288:99:1" + "src": "6464:99:0" } ], - "id": 655, + "id": 147, "name": "ContractDefinition", - "src": "1975:4414:1" + "src": "2033:4533:0" }, { "attributes": { @@ -39368,35 +39368,35 @@ ".0" ] }, - "id": 656, + "id": 148, "name": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 657, + "id": 149, "name": "StructuredDocumentation", - "src": "6491:133:1" + "src": "6674:136:0" }, { "attributes": {}, @@ -39404,17 +39404,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 658, + "id": 150, "name": "UserDefinedTypeName", - "src": "6654:7:1" + "src": "6841:7:0" } ], - "id": 659, + "id": 151, "name": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" }, { "attributes": { @@ -39426,7 +39426,7 @@ null ], "name": "name", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39436,9 +39436,9 @@ "attributes": { "text": " @dev Returns the token collection name." }, - "id": 660, + "id": 152, "name": "StructuredDocumentation", - "src": "6669:58:1" + "src": "6858:60:0" }, { "attributes": { @@ -39447,9 +39447,9 @@ ] }, "children": [], - "id": 661, + "id": 153, "name": "ParameterList", - "src": "6745:2:1" + "src": "6937:2:0" }, { "children": [ @@ -39458,7 +39458,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 665, + "scope": 157, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39470,24 +39470,24 @@ "name": "string", "type": "string" }, - "id": 662, + "id": 154, "name": "ElementaryTypeName", - "src": "6771:6:1" + "src": "6963:6:0" } ], - "id": 663, + "id": 155, "name": "VariableDeclaration", - "src": "6771:13:1" + "src": "6963:13:0" } ], - "id": 664, + "id": 156, "name": "ParameterList", - "src": "6770:15:1" + "src": "6962:15:0" } ], - "id": 665, + "id": 157, "name": "FunctionDefinition", - "src": "6732:54:1" + "src": "6924:54:0" }, { "attributes": { @@ -39499,7 +39499,7 @@ null ], "name": "symbol", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39509,9 +39509,9 @@ "attributes": { "text": " @dev Returns the token collection symbol." }, - "id": 666, + "id": 158, "name": "StructuredDocumentation", - "src": "6792:60:1" + "src": "6986:62:0" }, { "attributes": { @@ -39520,9 +39520,9 @@ ] }, "children": [], - "id": 667, + "id": 159, "name": "ParameterList", - "src": "6872:2:1" + "src": "7069:2:0" }, { "children": [ @@ -39531,7 +39531,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 671, + "scope": 163, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39543,24 +39543,24 @@ "name": "string", "type": "string" }, - "id": 668, + "id": 160, "name": "ElementaryTypeName", - "src": "6898:6:1" + "src": "7095:6:0" } ], - "id": 669, + "id": 161, "name": "VariableDeclaration", - "src": "6898:13:1" + "src": "7095:13:0" } ], - "id": 670, + "id": 162, "name": "ParameterList", - "src": "6897:15:1" + "src": "7094:15:0" } ], - "id": 671, + "id": 163, "name": "FunctionDefinition", - "src": "6857:56:1" + "src": "7054:56:0" }, { "attributes": { @@ -39572,7 +39572,7 @@ null ], "name": "tokenURI", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39582,9 +39582,9 @@ "attributes": { "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, - "id": 672, + "id": 164, "name": "StructuredDocumentation", - "src": "6919:90:1" + "src": "7118:92:0" }, { "children": [ @@ -39593,7 +39593,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39605,19 +39605,19 @@ "name": "uint256", "type": "uint256" }, - "id": 673, + "id": 165, "name": "ElementaryTypeName", - "src": "7032:7:1" + "src": "7234:7:0" } ], - "id": 674, + "id": 166, "name": "VariableDeclaration", - "src": "7032:15:1" + "src": "7234:15:0" } ], - "id": 675, + "id": 167, "name": "ParameterList", - "src": "7031:17:1" + "src": "7233:17:0" }, { "children": [ @@ -39626,7 +39626,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39638,29 +39638,29 @@ "name": "string", "type": "string" }, - "id": 676, + "id": 168, "name": "ElementaryTypeName", - "src": "7072:6:1" + "src": "7274:6:0" } ], - "id": 677, + "id": 169, "name": "VariableDeclaration", - "src": "7072:13:1" + "src": "7274:13:0" } ], - "id": 678, + "id": 170, "name": "ParameterList", - "src": "7071:15:1" + "src": "7273:15:0" } ], - "id": 679, + "id": 171, "name": "FunctionDefinition", - "src": "7014:73:1" + "src": "7216:73:0" } ], - "id": 680, + "id": 172, "name": "ContractDefinition", - "src": "6625:464:1" + "src": "6812:480:0" }, { "attributes": { @@ -39674,35 +39674,35 @@ ".0" ] }, - "id": 681, + "id": 173, "name": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 682, + "id": 174, "name": "StructuredDocumentation", - "src": "7195:136:1" + "src": "7406:139:0" }, { "attributes": {}, @@ -39710,17 +39710,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 683, + "id": 175, "name": "UserDefinedTypeName", - "src": "7363:7:1" + "src": "7578:7:0" } ], - "id": 684, + "id": 176, "name": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" }, { "attributes": { @@ -39732,7 +39732,7 @@ null ], "name": "totalSupply", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39742,9 +39742,9 @@ "attributes": { "text": " @dev Returns the total amount of tokens stored by the contract." }, - "id": 685, + "id": 177, "name": "StructuredDocumentation", - "src": "7378:82:1" + "src": "7595:84:0" }, { "attributes": { @@ -39753,9 +39753,9 @@ ] }, "children": [], - "id": 686, + "id": 178, "name": "ParameterList", - "src": "7485:2:1" + "src": "7705:2:0" }, { "children": [ @@ -39764,7 +39764,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 690, + "scope": 182, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39776,24 +39776,24 @@ "name": "uint256", "type": "uint256" }, - "id": 687, + "id": 179, "name": "ElementaryTypeName", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 688, + "id": 180, "name": "VariableDeclaration", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 689, + "id": 181, "name": "ParameterList", - "src": "7510:9:1" + "src": "7730:9:0" } ], - "id": 690, + "id": 182, "name": "FunctionDefinition", - "src": "7465:55:1" + "src": "7685:55:0" }, { "attributes": { @@ -39805,7 +39805,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39815,9 +39815,9 @@ "attributes": { "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, - "id": 691, + "id": 183, "name": "StructuredDocumentation", - "src": "7526:171:1" + "src": "7748:174:0" }, { "children": [ @@ -39826,7 +39826,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39839,21 +39839,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 692, + "id": 184, "name": "ElementaryTypeName", - "src": "7731:7:1" + "src": "7957:7:0" } ], - "id": 693, + "id": 185, "name": "VariableDeclaration", - "src": "7731:13:1" + "src": "7957:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39865,19 +39865,19 @@ "name": "uint256", "type": "uint256" }, - "id": 694, + "id": 186, "name": "ElementaryTypeName", - "src": "7746:7:1" + "src": "7972:7:0" } ], - "id": 695, + "id": 187, "name": "VariableDeclaration", - "src": "7746:13:1" + "src": "7972:13:0" } ], - "id": 696, + "id": 188, "name": "ParameterList", - "src": "7730:30:1" + "src": "7956:30:0" }, { "children": [ @@ -39886,7 +39886,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39898,24 +39898,24 @@ "name": "uint256", "type": "uint256" }, - "id": 697, + "id": 189, "name": "ElementaryTypeName", - "src": "7784:7:1" + "src": "8010:7:0" } ], - "id": 698, + "id": 190, "name": "VariableDeclaration", - "src": "7784:15:1" + "src": "8010:15:0" } ], - "id": 699, + "id": 191, "name": "ParameterList", - "src": "7783:17:1" + "src": "8009:17:0" } ], - "id": 700, + "id": 192, "name": "FunctionDefinition", - "src": "7702:99:1" + "src": "7928:99:0" }, { "attributes": { @@ -39927,7 +39927,7 @@ null ], "name": "tokenByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39937,9 +39937,9 @@ "attributes": { "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, - "id": 701, + "id": 193, "name": "StructuredDocumentation", - "src": "7807:164:1" + "src": "8035:167:0" }, { "children": [ @@ -39948,7 +39948,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39960,19 +39960,19 @@ "name": "uint256", "type": "uint256" }, - "id": 702, + "id": 194, "name": "ElementaryTypeName", - "src": "7998:7:1" + "src": "8230:7:0" } ], - "id": 703, + "id": 195, "name": "VariableDeclaration", - "src": "7998:13:1" + "src": "8230:13:0" } ], - "id": 704, + "id": 196, "name": "ParameterList", - "src": "7997:15:1" + "src": "8229:15:0" }, { "children": [ @@ -39981,7 +39981,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39993,29 +39993,29 @@ "name": "uint256", "type": "uint256" }, - "id": 705, + "id": 197, "name": "ElementaryTypeName", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 706, + "id": 198, "name": "VariableDeclaration", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 707, + "id": 199, "name": "ParameterList", - "src": "8035:9:1" + "src": "8267:9:0" } ], - "id": 708, + "id": 200, "name": "FunctionDefinition", - "src": "7976:69:1" + "src": "8208:69:0" } ], - "id": 709, + "id": 201, "name": "ContractDefinition", - "src": "7332:715:1" + "src": "7547:733:0" }, { "attributes": { @@ -40029,9 +40029,9 @@ ".0" ] }, - "id": 710, + "id": 202, "name": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "attributes": { @@ -40045,19 +40045,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, - "id": 711, + "id": 203, "name": "StructuredDocumentation", - "src": "8150:152:1" + "src": "8390:156:0" }, { "attributes": { @@ -40069,7 +40069,7 @@ null ], "name": "onERC721Received", - "scope": 726, + "scope": 218, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -40079,9 +40079,9 @@ "attributes": { "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, - "id": 712, + "id": 204, "name": "StructuredDocumentation", - "src": "8335:485:1" + "src": "8581:493:0" }, { "children": [ @@ -40090,7 +40090,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -40103,21 +40103,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 713, + "id": 205, "name": "ElementaryTypeName", - "src": "8851:7:1" + "src": "9106:7:0" } ], - "id": 714, + "id": 206, "name": "VariableDeclaration", - "src": "8851:16:1" + "src": "9106:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "from", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -40130,21 +40130,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 715, + "id": 207, "name": "ElementaryTypeName", - "src": "8869:7:1" + "src": "9124:7:0" } ], - "id": 716, + "id": 208, "name": "VariableDeclaration", - "src": "8869:12:1" + "src": "9124:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40156,21 +40156,21 @@ "name": "uint256", "type": "uint256" }, - "id": 717, + "id": 209, "name": "ElementaryTypeName", - "src": "8883:7:1" + "src": "9138:7:0" } ], - "id": 718, + "id": 210, "name": "VariableDeclaration", - "src": "8883:15:1" + "src": "9138:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -40182,19 +40182,19 @@ "name": "bytes", "type": "bytes" }, - "id": 719, + "id": 211, "name": "ElementaryTypeName", - "src": "8900:5:1" + "src": "9155:5:0" } ], - "id": 720, + "id": 212, "name": "VariableDeclaration", - "src": "8900:19:1" + "src": "9155:19:0" } ], - "id": 721, + "id": 213, "name": "ParameterList", - "src": "8850:70:1" + "src": "9105:70:0" }, { "children": [ @@ -40203,7 +40203,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40215,29 +40215,29 @@ "name": "bytes4", "type": "bytes4" }, - "id": 722, + "id": 214, "name": "ElementaryTypeName", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 723, + "id": 215, "name": "VariableDeclaration", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 724, + "id": 216, "name": "ParameterList", - "src": "8938:8:1" + "src": "9193:8:0" } ], - "id": 725, + "id": 217, "name": "FunctionDefinition", - "src": "8825:122:1" + "src": "9080:122:0" } ], - "id": 726, + "id": 218, "name": "ContractDefinition", - "src": "8303:646:1" + "src": "8548:657:0" }, { "attributes": { @@ -40251,33 +40251,33 @@ ".0" ] }, - "id": 727, + "id": 219, "name": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "attributes": { "abstract": true, "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, - "id": 728, + "id": 220, "name": "StructuredDocumentation", - "src": "9043:171:1" + "src": "9305:176:0" }, { "attributes": {}, @@ -40285,24 +40285,24 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 729, + "id": 221, "name": "UserDefinedTypeName", - "src": "9243:7:1" + "src": "9511:7:0" } ], - "id": 730, + "id": 222, "name": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -40314,9 +40314,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 731, + "id": 223, "name": "ElementaryTypeName", - "src": "9340:6:1" + "src": "9612:6:0" }, { "attributes": { @@ -40329,21 +40329,21 @@ "type": "int_const 33540519", "value": "0x01ffc9a7" }, - "id": 732, + "id": 224, "name": "Literal", - "src": "9387:10:1" + "src": "9659:10:0" } ], - "id": 733, + "id": 225, "name": "VariableDeclaration", - "src": "9340:57:1" + "src": "9612:57:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_supportedInterfaces", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "mapping(bytes4 => bool)", @@ -40360,36 +40360,36 @@ "name": "bytes4", "type": "bytes4" }, - "id": 735, + "id": 227, "name": "ElementaryTypeName", - "src": "9499:6:1" + "src": "9776:6:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 736, + "id": 228, "name": "ElementaryTypeName", - "src": "9509:4:1" + "src": "9786:4:0" } ], - "id": 737, + "id": 229, "name": "Mapping", - "src": "9491:23:1" + "src": "9768:23:0" }, { "attributes": { "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 734, + "id": 226, "name": "StructuredDocumentation", - "src": "9404:82:1" + "src": "9678:84:0" } ], - "id": 738, + "id": 230, "name": "VariableDeclaration", - "src": "9491:52:1" + "src": "9768:52:0" }, { "attributes": { @@ -40400,7 +40400,7 @@ null ], "name": "", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -40413,9 +40413,9 @@ ] }, "children": [], - "id": 739, + "id": 231, "name": "ParameterList", - "src": "9562:2:1" + "src": "9841:2:0" }, { "attributes": { @@ -40424,9 +40424,9 @@ ] }, "children": [], - "id": 740, + "id": 232, "name": "ParameterList", - "src": "9565:0:1" + "src": "9844:0:0" }, { "children": [ @@ -40458,51 +40458,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 741, + "id": 233, "name": "Identifier", - "src": "9711:18:1" + "src": "9993:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 733, + "referencedDeclaration": 225, "type": "bytes4", "value": "_INTERFACE_ID_ERC165" }, - "id": 742, + "id": 234, "name": "Identifier", - "src": "9730:20:1" + "src": "10012:20:0" } ], - "id": 743, + "id": 235, "name": "FunctionCall", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 744, + "id": 236, "name": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 745, + "id": 237, "name": "Block", - "src": "9565:193:1" + "src": "9844:197:0" } ], - "id": 746, + "id": 238, "name": "FunctionDefinition", - "src": "9550:208:1" + "src": "9829:212:0" }, { "attributes": { "baseFunctions": [ - 540 + 32 ], "functionSelector": "01ffc9a7", "implemented": true, @@ -40512,7 +40512,7 @@ null ], "name": "supportsInterface", - "scope": 781, + "scope": 273, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -40522,9 +40522,9 @@ "attributes": { "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, - "id": 747, + "id": 239, "name": "StructuredDocumentation", - "src": "9764:139:1" + "src": "10049:143:0" }, { "attributes": { @@ -40532,9 +40532,9 @@ null ] }, - "id": 751, + "id": 243, "name": "OverrideSpecifier", - "src": "9975:8:1" + "src": "10265:8:0" }, { "children": [ @@ -40543,7 +40543,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40555,19 +40555,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 748, + "id": 240, "name": "ElementaryTypeName", - "src": "9935:6:1" + "src": "10225:6:0" } ], - "id": 749, + "id": 241, "name": "VariableDeclaration", - "src": "9935:18:1" + "src": "10225:18:0" } ], - "id": 750, + "id": 242, "name": "ParameterList", - "src": "9934:20:1" + "src": "10224:20:0" }, { "children": [ @@ -40576,7 +40576,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40588,25 +40588,25 @@ "name": "bool", "type": "bool" }, - "id": 752, + "id": 244, "name": "ElementaryTypeName", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 753, + "id": 245, "name": "VariableDeclaration", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 754, + "id": 246, "name": "ParameterList", - "src": "9992:6:1" + "src": "10282:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 754 + "functionReturnParameters": 246 }, "children": [ { @@ -40623,46 +40623,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 755, + "id": 247, "name": "Identifier", - "src": "10016:20:1" + "src": "10307:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 749, + "referencedDeclaration": 241, "type": "bytes4", "value": "interfaceId" }, - "id": 756, + "id": 248, "name": "Identifier", - "src": "10037:11:1" + "src": "10328:11:0" } ], - "id": 757, + "id": 249, "name": "IndexAccess", - "src": "10016:33:1" + "src": "10307:33:0" } ], - "id": 758, + "id": 250, "name": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ], - "id": 759, + "id": 251, "name": "Block", - "src": "9999:57:1" + "src": "10289:59:0" } ], - "id": 760, + "id": 252, "name": "FunctionDefinition", - "src": "9908:148:1" + "src": "10198:150:0" }, { "attributes": { @@ -40673,7 +40673,7 @@ null ], "name": "_registerInterface", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -40683,9 +40683,9 @@ "attributes": { "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 761, + "id": 253, "name": "StructuredDocumentation", - "src": "10062:383:1" + "src": "10356:393:0" }, { "children": [ @@ -40694,7 +40694,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 780, + "scope": 272, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40706,19 +40706,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 762, + "id": 254, "name": "ElementaryTypeName", - "src": "10478:6:1" + "src": "10783:6:0" } ], - "id": 763, + "id": 255, "name": "VariableDeclaration", - "src": "10478:18:1" + "src": "10783:18:0" } ], - "id": 764, + "id": 256, "name": "ParameterList", - "src": "10477:20:1" + "src": "10782:20:0" }, { "attributes": { @@ -40727,9 +40727,9 @@ ] }, "children": [], - "id": 765, + "id": 257, "name": "ParameterList", - "src": "10515:0:1" + "src": "10820:0:0" }, { "children": [ @@ -40770,9 +40770,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 766, + "id": 258, "name": "Identifier", - "src": "10525:7:1" + "src": "10831:7:0" }, { "attributes": { @@ -40793,13 +40793,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 767, + "id": 259, "name": "Identifier", - "src": "10533:11:1" + "src": "10839:11:0" }, { "attributes": { @@ -40812,14 +40812,14 @@ "type": "int_const 4294967295", "value": "0xffffffff" }, - "id": 768, + "id": 260, "name": "Literal", - "src": "10548:10:1" + "src": "10854:10:0" } ], - "id": 769, + "id": 261, "name": "BinaryOperation", - "src": "10533:25:1" + "src": "10839:25:0" }, { "attributes": { @@ -40832,19 +40832,19 @@ "type": "literal_string \"ERC165: invalid interface id\"", "value": "ERC165: invalid interface id" }, - "id": 770, + "id": 262, "name": "Literal", - "src": "10560:30:1" + "src": "10866:30:0" } ], - "id": 771, + "id": 263, "name": "FunctionCall", - "src": "10525:66:1" + "src": "10831:66:0" } ], - "id": 772, + "id": 264, "name": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "children": [ @@ -40872,31 +40872,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 773, + "id": 265, "name": "Identifier", - "src": "10601:20:1" + "src": "10908:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 774, + "id": 266, "name": "Identifier", - "src": "10622:11:1" + "src": "10929:11:0" } ], - "id": 775, + "id": 267, "name": "IndexAccess", - "src": "10601:33:1" + "src": "10908:33:0" }, { "attributes": { @@ -40909,34 +40909,34 @@ "type": "bool", "value": "true" }, - "id": 776, + "id": 268, "name": "Literal", - "src": "10637:4:1" + "src": "10944:4:0" } ], - "id": 777, + "id": 269, "name": "Assignment", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 778, + "id": 270, "name": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 779, + "id": 271, "name": "Block", - "src": "10515:133:1" + "src": "10820:136:0" } ], - "id": 780, + "id": 272, "name": "FunctionDefinition", - "src": "10450:198:1" + "src": "10755:201:0" } ], - "id": 781, + "id": 273, "name": "ContractDefinition", - "src": "9215:1435:1" + "src": "9483:1476:0" }, { "attributes": { @@ -40950,9 +40950,9 @@ ".0" ] }, - "id": 782, + "id": 274, "name": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "attributes": { @@ -40966,19 +40966,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, - "id": 783, + "id": 275, "name": "StructuredDocumentation", - "src": "10736:563:1" + "src": "11050:575:0" }, { "attributes": { @@ -40989,7 +40989,7 @@ null ], "name": "tryAdd", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -40999,9 +40999,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 784, + "id": 276, "name": "StructuredDocumentation", - "src": "11323:131:1" + "src": "11651:135:0" }, { "children": [ @@ -41010,7 +41010,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41022,21 +41022,21 @@ "name": "uint256", "type": "uint256" }, - "id": 785, + "id": 277, "name": "ElementaryTypeName", - "src": "11475:7:1" + "src": "11808:7:0" } ], - "id": 786, + "id": 278, "name": "VariableDeclaration", - "src": "11475:9:1" + "src": "11808:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41048,19 +41048,19 @@ "name": "uint256", "type": "uint256" }, - "id": 787, + "id": 279, "name": "ElementaryTypeName", - "src": "11486:7:1" + "src": "11819:7:0" } ], - "id": 788, + "id": 280, "name": "VariableDeclaration", - "src": "11486:9:1" + "src": "11819:9:0" } ], - "id": 789, + "id": 281, "name": "ParameterList", - "src": "11474:22:1" + "src": "11807:22:0" }, { "children": [ @@ -41069,7 +41069,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41081,21 +41081,21 @@ "name": "bool", "type": "bool" }, - "id": 790, + "id": 282, "name": "ElementaryTypeName", - "src": "11520:4:1" + "src": "11853:4:0" } ], - "id": 791, + "id": 283, "name": "VariableDeclaration", - "src": "11520:4:1" + "src": "11853:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41107,26 +41107,26 @@ "name": "uint256", "type": "uint256" }, - "id": 792, + "id": 284, "name": "ElementaryTypeName", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 793, + "id": 285, "name": "VariableDeclaration", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 794, + "id": 286, "name": "ParameterList", - "src": "11519:15:1" + "src": "11852:15:0" }, { "children": [ { "attributes": { "assignments": [ - 796 + 288 ] }, "children": [ @@ -41135,7 +41135,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 813, + "scope": 305, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41147,14 +41147,14 @@ "name": "uint256", "type": "uint256" }, - "id": 795, + "id": 287, "name": "ElementaryTypeName", - "src": "11545:7:1" + "src": "11879:7:0" } ], - "id": 796, + "id": 288, "name": "VariableDeclaration", - "src": "11545:9:1" + "src": "11879:9:0" }, { "attributes": { @@ -41175,36 +41175,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 797, + "id": 289, "name": "Identifier", - "src": "11557:1:1" + "src": "11891:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 280, "type": "uint256", "value": "b" }, - "id": 798, + "id": 290, "name": "Identifier", - "src": "11561:1:1" + "src": "11895:1:0" } ], - "id": 799, + "id": 291, "name": "BinaryOperation", - "src": "11557:5:1" + "src": "11891:5:0" } ], - "id": 800, + "id": 292, "name": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "attributes": {}, @@ -41228,35 +41228,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 801, + "id": 293, "name": "Identifier", - "src": "11576:1:1" + "src": "11911:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 802, + "id": 294, "name": "Identifier", - "src": "11580:1:1" + "src": "11915:1:0" } ], - "id": 803, + "id": 295, "name": "BinaryOperation", - "src": "11576:5:1" + "src": "11911:5:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -41280,9 +41280,9 @@ "type": "bool", "value": "false" }, - "id": 804, + "id": 296, "name": "Literal", - "src": "11591:5:1" + "src": "11926:5:0" }, { "attributes": { @@ -41295,28 +41295,28 @@ "type": "int_const 0", "value": "0" }, - "id": 805, + "id": 297, "name": "Literal", - "src": "11598:1:1" + "src": "11933:1:0" } ], - "id": 806, + "id": 298, "name": "TupleExpression", - "src": "11590:10:1" + "src": "11925:10:0" } ], - "id": 807, + "id": 299, "name": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } ], - "id": 808, + "id": 300, "name": "IfStatement", - "src": "11572:28:1" + "src": "11907:28:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -41340,42 +41340,42 @@ "type": "bool", "value": "true" }, - "id": 809, + "id": 301, "name": "Literal", - "src": "11618:4:1" + "src": "11954:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 810, + "id": 302, "name": "Identifier", - "src": "11624:1:1" + "src": "11960:1:0" } ], - "id": 811, + "id": 303, "name": "TupleExpression", - "src": "11617:9:1" + "src": "11953:9:0" } ], - "id": 812, + "id": 304, "name": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ], - "id": 813, + "id": 305, "name": "Block", - "src": "11535:98:1" + "src": "11868:102:0" } ], - "id": 814, + "id": 306, "name": "FunctionDefinition", - "src": "11459:174:1" + "src": "11792:178:0" }, { "attributes": { @@ -41386,7 +41386,7 @@ null ], "name": "trySub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41396,9 +41396,9 @@ "attributes": { "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 815, + "id": 307, "name": "StructuredDocumentation", - "src": "11639:135:1" + "src": "11978:139:0" }, { "children": [ @@ -41407,7 +41407,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41419,21 +41419,21 @@ "name": "uint256", "type": "uint256" }, - "id": 816, + "id": 308, "name": "ElementaryTypeName", - "src": "11795:7:1" + "src": "12139:7:0" } ], - "id": 817, + "id": 309, "name": "VariableDeclaration", - "src": "11795:9:1" + "src": "12139:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41445,19 +41445,19 @@ "name": "uint256", "type": "uint256" }, - "id": 818, + "id": 310, "name": "ElementaryTypeName", - "src": "11806:7:1" + "src": "12150:7:0" } ], - "id": 819, + "id": 311, "name": "VariableDeclaration", - "src": "11806:9:1" + "src": "12150:9:0" } ], - "id": 820, + "id": 312, "name": "ParameterList", - "src": "11794:22:1" + "src": "12138:22:0" }, { "children": [ @@ -41466,7 +41466,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41478,21 +41478,21 @@ "name": "bool", "type": "bool" }, - "id": 821, + "id": 313, "name": "ElementaryTypeName", - "src": "11840:4:1" + "src": "12184:4:0" } ], - "id": 822, + "id": 314, "name": "VariableDeclaration", - "src": "11840:4:1" + "src": "12184:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41504,19 +41504,19 @@ "name": "uint256", "type": "uint256" }, - "id": 823, + "id": 315, "name": "ElementaryTypeName", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 824, + "id": 316, "name": "VariableDeclaration", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 825, + "id": 317, "name": "ParameterList", - "src": "11839:15:1" + "src": "12183:15:0" }, { "children": [ @@ -41542,35 +41542,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 826, + "id": 318, "name": "Identifier", - "src": "11869:1:1" + "src": "12214:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 827, + "id": 319, "name": "Identifier", - "src": "11873:1:1" + "src": "12218:1:0" } ], - "id": 828, + "id": 320, "name": "BinaryOperation", - "src": "11869:5:1" + "src": "12214:5:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41594,9 +41594,9 @@ "type": "bool", "value": "false" }, - "id": 829, + "id": 321, "name": "Literal", - "src": "11884:5:1" + "src": "12229:5:0" }, { "attributes": { @@ -41609,28 +41609,28 @@ "type": "int_const 0", "value": "0" }, - "id": 830, + "id": 322, "name": "Literal", - "src": "11891:1:1" + "src": "12236:1:0" } ], - "id": 831, + "id": 323, "name": "TupleExpression", - "src": "11883:10:1" + "src": "12228:10:0" } ], - "id": 832, + "id": 324, "name": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } ], - "id": 833, + "id": 325, "name": "IfStatement", - "src": "11865:28:1" + "src": "12210:28:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41654,9 +41654,9 @@ "type": "bool", "value": "true" }, - "id": 834, + "id": 326, "name": "Literal", - "src": "11911:4:1" + "src": "12257:4:0" }, { "attributes": { @@ -41677,51 +41677,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 835, + "id": 327, "name": "Identifier", - "src": "11917:1:1" + "src": "12263:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 836, + "id": 328, "name": "Identifier", - "src": "11921:1:1" + "src": "12267:1:0" } ], - "id": 837, + "id": 329, "name": "BinaryOperation", - "src": "11917:5:1" + "src": "12263:5:0" } ], - "id": 838, + "id": 330, "name": "TupleExpression", - "src": "11910:13:1" + "src": "12256:13:0" } ], - "id": 839, + "id": 331, "name": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ], - "id": 840, + "id": 332, "name": "Block", - "src": "11855:75:1" + "src": "12199:78:0" } ], - "id": 841, + "id": 333, "name": "FunctionDefinition", - "src": "11779:151:1" + "src": "12123:154:0" }, { "attributes": { @@ -41732,7 +41732,7 @@ null ], "name": "tryMul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41742,9 +41742,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 842, + "id": 334, "name": "StructuredDocumentation", - "src": "11936:137:1" + "src": "12285:141:0" }, { "children": [ @@ -41753,7 +41753,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41765,21 +41765,21 @@ "name": "uint256", "type": "uint256" }, - "id": 843, + "id": 335, "name": "ElementaryTypeName", - "src": "12094:7:1" + "src": "12448:7:0" } ], - "id": 844, + "id": 336, "name": "VariableDeclaration", - "src": "12094:9:1" + "src": "12448:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41791,19 +41791,19 @@ "name": "uint256", "type": "uint256" }, - "id": 845, + "id": 337, "name": "ElementaryTypeName", - "src": "12105:7:1" + "src": "12459:7:0" } ], - "id": 846, + "id": 338, "name": "VariableDeclaration", - "src": "12105:9:1" + "src": "12459:9:0" } ], - "id": 847, + "id": 339, "name": "ParameterList", - "src": "12093:22:1" + "src": "12447:22:0" }, { "children": [ @@ -41812,7 +41812,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41824,21 +41824,21 @@ "name": "bool", "type": "bool" }, - "id": 848, + "id": 340, "name": "ElementaryTypeName", - "src": "12139:4:1" + "src": "12493:4:0" } ], - "id": 849, + "id": 341, "name": "VariableDeclaration", - "src": "12139:4:1" + "src": "12493:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41850,19 +41850,19 @@ "name": "uint256", "type": "uint256" }, - "id": 850, + "id": 342, "name": "ElementaryTypeName", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 851, + "id": 343, "name": "VariableDeclaration", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 852, + "id": 344, "name": "ParameterList", - "src": "12138:15:1" + "src": "12492:15:0" }, { "children": [ @@ -41888,13 +41888,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 853, + "id": 345, "name": "Identifier", - "src": "12386:1:1" + "src": "12744:1:0" }, { "attributes": { @@ -41907,18 +41907,18 @@ "type": "int_const 0", "value": "0" }, - "id": 854, + "id": 346, "name": "Literal", - "src": "12391:1:1" + "src": "12749:1:0" } ], - "id": 855, + "id": 347, "name": "BinaryOperation", - "src": "12386:6:1" + "src": "12744:6:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41942,9 +41942,9 @@ "type": "bool", "value": "true" }, - "id": 856, + "id": 348, "name": "Literal", - "src": "12402:4:1" + "src": "12760:4:0" }, { "attributes": { @@ -41957,29 +41957,29 @@ "type": "int_const 0", "value": "0" }, - "id": 857, + "id": 349, "name": "Literal", - "src": "12408:1:1" + "src": "12766:1:0" } ], - "id": 858, + "id": 350, "name": "TupleExpression", - "src": "12401:9:1" + "src": "12759:9:0" } ], - "id": 859, + "id": 351, "name": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } ], - "id": 860, + "id": 352, "name": "IfStatement", - "src": "12382:28:1" + "src": "12740:28:0" }, { "attributes": { "assignments": [ - 862 + 354 ] }, "children": [ @@ -41988,7 +41988,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 881, + "scope": 373, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42000,14 +42000,14 @@ "name": "uint256", "type": "uint256" }, - "id": 861, + "id": 353, "name": "ElementaryTypeName", - "src": "12420:7:1" + "src": "12779:7:0" } ], - "id": 862, + "id": 354, "name": "VariableDeclaration", - "src": "12420:9:1" + "src": "12779:9:0" }, { "attributes": { @@ -42028,36 +42028,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 863, + "id": 355, "name": "Identifier", - "src": "12432:1:1" + "src": "12791:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 864, + "id": 356, "name": "Identifier", - "src": "12436:1:1" + "src": "12795:1:0" } ], - "id": 865, + "id": 357, "name": "BinaryOperation", - "src": "12432:5:1" + "src": "12791:5:0" } ], - "id": 866, + "id": 358, "name": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "attributes": {}, @@ -42095,53 +42095,53 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 867, + "id": 359, "name": "Identifier", - "src": "12451:1:1" + "src": "12811:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 868, + "id": 360, "name": "Identifier", - "src": "12455:1:1" + "src": "12815:1:0" } ], - "id": 869, + "id": 361, "name": "BinaryOperation", - "src": "12451:5:1" + "src": "12811:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 870, + "id": 362, "name": "Identifier", - "src": "12460:1:1" + "src": "12820:1:0" } ], - "id": 871, + "id": 363, "name": "BinaryOperation", - "src": "12451:10:1" + "src": "12811:10:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -42165,9 +42165,9 @@ "type": "bool", "value": "false" }, - "id": 872, + "id": 364, "name": "Literal", - "src": "12471:5:1" + "src": "12831:5:0" }, { "attributes": { @@ -42180,28 +42180,28 @@ "type": "int_const 0", "value": "0" }, - "id": 873, + "id": 365, "name": "Literal", - "src": "12478:1:1" + "src": "12838:1:0" } ], - "id": 874, + "id": 366, "name": "TupleExpression", - "src": "12470:10:1" + "src": "12830:10:0" } ], - "id": 875, + "id": 367, "name": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } ], - "id": 876, + "id": 368, "name": "IfStatement", - "src": "12447:33:1" + "src": "12807:33:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -42225,42 +42225,42 @@ "type": "bool", "value": "true" }, - "id": 877, + "id": 369, "name": "Literal", - "src": "12498:4:1" + "src": "12859:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 878, + "id": 370, "name": "Identifier", - "src": "12504:1:1" + "src": "12865:1:0" } ], - "id": 879, + "id": 371, "name": "TupleExpression", - "src": "12497:9:1" + "src": "12858:9:0" } ], - "id": 880, + "id": 372, "name": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ], - "id": 881, + "id": 373, "name": "Block", - "src": "12154:359:1" + "src": "12508:367:0" } ], - "id": 882, + "id": 374, "name": "FunctionDefinition", - "src": "12078:435:1" + "src": "12432:443:0" }, { "attributes": { @@ -42271,7 +42271,7 @@ null ], "name": "tryDiv", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42281,9 +42281,9 @@ "attributes": { "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 883, + "id": 375, "name": "StructuredDocumentation", - "src": "12519:138:1" + "src": "12883:142:0" }, { "children": [ @@ -42292,7 +42292,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42304,21 +42304,21 @@ "name": "uint256", "type": "uint256" }, - "id": 884, + "id": 376, "name": "ElementaryTypeName", - "src": "12678:7:1" + "src": "13047:7:0" } ], - "id": 885, + "id": 377, "name": "VariableDeclaration", - "src": "12678:9:1" + "src": "13047:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42330,19 +42330,19 @@ "name": "uint256", "type": "uint256" }, - "id": 886, + "id": 378, "name": "ElementaryTypeName", - "src": "12689:7:1" + "src": "13058:7:0" } ], - "id": 887, + "id": 379, "name": "VariableDeclaration", - "src": "12689:9:1" + "src": "13058:9:0" } ], - "id": 888, + "id": 380, "name": "ParameterList", - "src": "12677:22:1" + "src": "13046:22:0" }, { "children": [ @@ -42351,7 +42351,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42363,21 +42363,21 @@ "name": "bool", "type": "bool" }, - "id": 889, + "id": 381, "name": "ElementaryTypeName", - "src": "12723:4:1" + "src": "13092:4:0" } ], - "id": 890, + "id": 382, "name": "VariableDeclaration", - "src": "12723:4:1" + "src": "13092:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42389,19 +42389,19 @@ "name": "uint256", "type": "uint256" }, - "id": 891, + "id": 383, "name": "ElementaryTypeName", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 892, + "id": 384, "name": "VariableDeclaration", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 893, + "id": 385, "name": "ParameterList", - "src": "12722:15:1" + "src": "13091:15:0" }, { "children": [ @@ -42427,13 +42427,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 894, + "id": 386, "name": "Identifier", - "src": "12752:1:1" + "src": "13122:1:0" }, { "attributes": { @@ -42446,18 +42446,18 @@ "type": "int_const 0", "value": "0" }, - "id": 895, + "id": 387, "name": "Literal", - "src": "12757:1:1" + "src": "13127:1:0" } ], - "id": 896, + "id": 388, "name": "BinaryOperation", - "src": "12752:6:1" + "src": "13122:6:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42481,9 +42481,9 @@ "type": "bool", "value": "false" }, - "id": 897, + "id": 389, "name": "Literal", - "src": "12768:5:1" + "src": "13138:5:0" }, { "attributes": { @@ -42496,28 +42496,28 @@ "type": "int_const 0", "value": "0" }, - "id": 898, + "id": 390, "name": "Literal", - "src": "12775:1:1" + "src": "13145:1:0" } ], - "id": 899, + "id": 391, "name": "TupleExpression", - "src": "12767:10:1" + "src": "13137:10:0" } ], - "id": 900, + "id": 392, "name": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } ], - "id": 901, + "id": 393, "name": "IfStatement", - "src": "12748:29:1" + "src": "13118:29:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42541,9 +42541,9 @@ "type": "bool", "value": "true" }, - "id": 902, + "id": 394, "name": "Literal", - "src": "12795:4:1" + "src": "13166:4:0" }, { "attributes": { @@ -42564,51 +42564,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 885, + "referencedDeclaration": 377, "type": "uint256", "value": "a" }, - "id": 903, + "id": 395, "name": "Identifier", - "src": "12801:1:1" + "src": "13172:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 904, + "id": 396, "name": "Identifier", - "src": "12805:1:1" + "src": "13176:1:0" } ], - "id": 905, + "id": 397, "name": "BinaryOperation", - "src": "12801:5:1" + "src": "13172:5:0" } ], - "id": 906, + "id": 398, "name": "TupleExpression", - "src": "12794:13:1" + "src": "13165:13:0" } ], - "id": 907, + "id": 399, "name": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ], - "id": 908, + "id": 400, "name": "Block", - "src": "12738:76:1" + "src": "13107:79:0" } ], - "id": 909, + "id": 401, "name": "FunctionDefinition", - "src": "12662:152:1" + "src": "13031:155:0" }, { "attributes": { @@ -42619,7 +42619,7 @@ null ], "name": "tryMod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42629,9 +42629,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 910, + "id": 402, "name": "StructuredDocumentation", - "src": "12820:148:1" + "src": "13194:152:0" }, { "children": [ @@ -42640,7 +42640,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42652,21 +42652,21 @@ "name": "uint256", "type": "uint256" }, - "id": 911, + "id": 403, "name": "ElementaryTypeName", - "src": "12989:7:1" + "src": "13368:7:0" } ], - "id": 912, + "id": 404, "name": "VariableDeclaration", - "src": "12989:9:1" + "src": "13368:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42678,19 +42678,19 @@ "name": "uint256", "type": "uint256" }, - "id": 913, + "id": 405, "name": "ElementaryTypeName", - "src": "13000:7:1" + "src": "13379:7:0" } ], - "id": 914, + "id": 406, "name": "VariableDeclaration", - "src": "13000:9:1" + "src": "13379:9:0" } ], - "id": 915, + "id": 407, "name": "ParameterList", - "src": "12988:22:1" + "src": "13367:22:0" }, { "children": [ @@ -42699,7 +42699,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42711,21 +42711,21 @@ "name": "bool", "type": "bool" }, - "id": 916, + "id": 408, "name": "ElementaryTypeName", - "src": "13034:4:1" + "src": "13413:4:0" } ], - "id": 917, + "id": 409, "name": "VariableDeclaration", - "src": "13034:4:1" + "src": "13413:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42737,19 +42737,19 @@ "name": "uint256", "type": "uint256" }, - "id": 918, + "id": 410, "name": "ElementaryTypeName", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 919, + "id": 411, "name": "VariableDeclaration", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 920, + "id": 412, "name": "ParameterList", - "src": "13033:15:1" + "src": "13412:15:0" }, { "children": [ @@ -42775,13 +42775,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 921, + "id": 413, "name": "Identifier", - "src": "13063:1:1" + "src": "13443:1:0" }, { "attributes": { @@ -42794,18 +42794,18 @@ "type": "int_const 0", "value": "0" }, - "id": 922, + "id": 414, "name": "Literal", - "src": "13068:1:1" + "src": "13448:1:0" } ], - "id": 923, + "id": 415, "name": "BinaryOperation", - "src": "13063:6:1" + "src": "13443:6:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42829,9 +42829,9 @@ "type": "bool", "value": "false" }, - "id": 924, + "id": 416, "name": "Literal", - "src": "13079:5:1" + "src": "13459:5:0" }, { "attributes": { @@ -42844,28 +42844,28 @@ "type": "int_const 0", "value": "0" }, - "id": 925, + "id": 417, "name": "Literal", - "src": "13086:1:1" + "src": "13466:1:0" } ], - "id": 926, + "id": 418, "name": "TupleExpression", - "src": "13078:10:1" + "src": "13458:10:0" } ], - "id": 927, + "id": 419, "name": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } ], - "id": 928, + "id": 420, "name": "IfStatement", - "src": "13059:29:1" + "src": "13439:29:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42889,9 +42889,9 @@ "type": "bool", "value": "true" }, - "id": 929, + "id": 421, "name": "Literal", - "src": "13106:4:1" + "src": "13487:4:0" }, { "attributes": { @@ -42912,51 +42912,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 912, + "referencedDeclaration": 404, "type": "uint256", "value": "a" }, - "id": 930, + "id": 422, "name": "Identifier", - "src": "13112:1:1" + "src": "13493:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 931, + "id": 423, "name": "Identifier", - "src": "13116:1:1" + "src": "13497:1:0" } ], - "id": 932, + "id": 424, "name": "BinaryOperation", - "src": "13112:5:1" + "src": "13493:5:0" } ], - "id": 933, + "id": 425, "name": "TupleExpression", - "src": "13105:13:1" + "src": "13486:13:0" } ], - "id": 934, + "id": 426, "name": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ], - "id": 935, + "id": 427, "name": "Block", - "src": "13049:76:1" + "src": "13428:79:0" } ], - "id": 936, + "id": 428, "name": "FunctionDefinition", - "src": "12973:152:1" + "src": "13352:155:0" }, { "attributes": { @@ -42967,7 +42967,7 @@ null ], "name": "add", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42977,9 +42977,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 937, + "id": 429, "name": "StructuredDocumentation", - "src": "13131:224:1" + "src": "13515:233:0" }, { "children": [ @@ -42988,7 +42988,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43000,21 +43000,21 @@ "name": "uint256", "type": "uint256" }, - "id": 938, + "id": 430, "name": "ElementaryTypeName", - "src": "13373:7:1" + "src": "13767:7:0" } ], - "id": 939, + "id": 431, "name": "VariableDeclaration", - "src": "13373:9:1" + "src": "13767:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43026,19 +43026,19 @@ "name": "uint256", "type": "uint256" }, - "id": 940, + "id": 432, "name": "ElementaryTypeName", - "src": "13384:7:1" + "src": "13778:7:0" } ], - "id": 941, + "id": 433, "name": "VariableDeclaration", - "src": "13384:9:1" + "src": "13778:9:0" } ], - "id": 942, + "id": 434, "name": "ParameterList", - "src": "13372:22:1" + "src": "13766:22:0" }, { "children": [ @@ -43047,7 +43047,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43059,26 +43059,26 @@ "name": "uint256", "type": "uint256" }, - "id": 943, + "id": 435, "name": "ElementaryTypeName", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 944, + "id": 436, "name": "VariableDeclaration", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 945, + "id": 437, "name": "ParameterList", - "src": "13417:9:1" + "src": "13811:9:0" }, { "children": [ { "attributes": { "assignments": [ - 947 + 439 ] }, "children": [ @@ -43087,7 +43087,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 961, + "scope": 453, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43099,14 +43099,14 @@ "name": "uint256", "type": "uint256" }, - "id": 946, + "id": 438, "name": "ElementaryTypeName", - "src": "13437:7:1" + "src": "13832:7:0" } ], - "id": 947, + "id": 439, "name": "VariableDeclaration", - "src": "13437:9:1" + "src": "13832:9:0" }, { "attributes": { @@ -43127,36 +43127,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 948, + "id": 440, "name": "Identifier", - "src": "13449:1:1" + "src": "13844:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 941, + "referencedDeclaration": 433, "type": "uint256", "value": "b" }, - "id": 949, + "id": 441, "name": "Identifier", - "src": "13453:1:1" + "src": "13848:1:0" } ], - "id": 950, + "id": 442, "name": "BinaryOperation", - "src": "13449:5:1" + "src": "13844:5:0" } ], - "id": 951, + "id": 443, "name": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "children": [ @@ -43195,9 +43195,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 952, + "id": 444, "name": "Identifier", - "src": "13464:7:1" + "src": "13860:7:0" }, { "attributes": { @@ -43218,31 +43218,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 953, + "id": 445, "name": "Identifier", - "src": "13472:1:1" + "src": "13868:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 954, + "id": 446, "name": "Identifier", - "src": "13477:1:1" + "src": "13873:1:0" } ], - "id": 955, + "id": 447, "name": "BinaryOperation", - "src": "13472:6:1" + "src": "13868:6:0" }, { "attributes": { @@ -43255,23 +43255,23 @@ "type": "literal_string \"SafeMath: addition overflow\"", "value": "SafeMath: addition overflow" }, - "id": 956, + "id": 448, "name": "Literal", - "src": "13480:29:1" + "src": "13876:29:0" } ], - "id": 957, + "id": 449, "name": "FunctionCall", - "src": "13464:46:1" + "src": "13860:46:0" } ], - "id": 958, + "id": 450, "name": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "attributes": { - "functionReturnParameters": 945 + "functionReturnParameters": 437 }, "children": [ { @@ -43279,28 +43279,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 959, + "id": 451, "name": "Identifier", - "src": "13527:1:1" + "src": "13924:1:0" } ], - "id": 960, + "id": 452, "name": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ], - "id": 961, + "id": 453, "name": "Block", - "src": "13427:108:1" + "src": "13821:112:0" } ], - "id": 962, + "id": 454, "name": "FunctionDefinition", - "src": "13360:175:1" + "src": "13754:179:0" }, { "attributes": { @@ -43311,7 +43311,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43321,9 +43321,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 963, + "id": 455, "name": "StructuredDocumentation", - "src": "13541:260:1" + "src": "13941:269:0" }, { "children": [ @@ -43332,7 +43332,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43344,21 +43344,21 @@ "name": "uint256", "type": "uint256" }, - "id": 964, + "id": 456, "name": "ElementaryTypeName", - "src": "13819:7:1" + "src": "14229:7:0" } ], - "id": 965, + "id": 457, "name": "VariableDeclaration", - "src": "13819:9:1" + "src": "14229:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43370,19 +43370,19 @@ "name": "uint256", "type": "uint256" }, - "id": 966, + "id": 458, "name": "ElementaryTypeName", - "src": "13830:7:1" + "src": "14240:7:0" } ], - "id": 967, + "id": 459, "name": "VariableDeclaration", - "src": "13830:9:1" + "src": "14240:9:0" } ], - "id": 968, + "id": 460, "name": "ParameterList", - "src": "13818:22:1" + "src": "14228:22:0" }, { "children": [ @@ -43391,7 +43391,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43403,19 +43403,19 @@ "name": "uint256", "type": "uint256" }, - "id": 969, + "id": 461, "name": "ElementaryTypeName", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 970, + "id": 462, "name": "VariableDeclaration", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 971, + "id": 463, "name": "ParameterList", - "src": "13863:9:1" + "src": "14273:9:0" }, { "children": [ @@ -43456,9 +43456,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 972, + "id": 464, "name": "Identifier", - "src": "13883:7:1" + "src": "14294:7:0" }, { "attributes": { @@ -43479,31 +43479,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 973, + "id": 465, "name": "Identifier", - "src": "13891:1:1" + "src": "14302:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 974, + "id": 466, "name": "Identifier", - "src": "13896:1:1" + "src": "14307:1:0" } ], - "id": 975, + "id": 467, "name": "BinaryOperation", - "src": "13891:6:1" + "src": "14302:6:0" }, { "attributes": { @@ -43516,23 +43516,23 @@ "type": "literal_string \"SafeMath: subtraction overflow\"", "value": "SafeMath: subtraction overflow" }, - "id": 976, + "id": 468, "name": "Literal", - "src": "13899:32:1" + "src": "14310:32:0" } ], - "id": 977, + "id": 469, "name": "FunctionCall", - "src": "13883:49:1" + "src": "14294:49:0" } ], - "id": 978, + "id": 470, "name": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "attributes": { - "functionReturnParameters": 971 + "functionReturnParameters": 463 }, "children": [ { @@ -43554,46 +43554,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 979, + "id": 471, "name": "Identifier", - "src": "13949:1:1" + "src": "14361:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 980, + "id": 472, "name": "Identifier", - "src": "13953:1:1" + "src": "14365:1:0" } ], - "id": 981, + "id": 473, "name": "BinaryOperation", - "src": "13949:5:1" + "src": "14361:5:0" } ], - "id": 982, + "id": 474, "name": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ], - "id": 983, + "id": 475, "name": "Block", - "src": "13873:88:1" + "src": "14283:91:0" } ], - "id": 984, + "id": 476, "name": "FunctionDefinition", - "src": "13806:155:1" + "src": "14216:158:0" }, { "attributes": { @@ -43604,7 +43604,7 @@ null ], "name": "mul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43614,9 +43614,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 985, + "id": 477, "name": "StructuredDocumentation", - "src": "13967:236:1" + "src": "14382:245:0" }, { "children": [ @@ -43625,7 +43625,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43637,21 +43637,21 @@ "name": "uint256", "type": "uint256" }, - "id": 986, + "id": 478, "name": "ElementaryTypeName", - "src": "14221:7:1" + "src": "14646:7:0" } ], - "id": 987, + "id": 479, "name": "VariableDeclaration", - "src": "14221:9:1" + "src": "14646:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43663,19 +43663,19 @@ "name": "uint256", "type": "uint256" }, - "id": 988, + "id": 480, "name": "ElementaryTypeName", - "src": "14232:7:1" + "src": "14657:7:0" } ], - "id": 989, + "id": 481, "name": "VariableDeclaration", - "src": "14232:9:1" + "src": "14657:9:0" } ], - "id": 990, + "id": 482, "name": "ParameterList", - "src": "14220:22:1" + "src": "14645:22:0" }, { "children": [ @@ -43684,7 +43684,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43696,19 +43696,19 @@ "name": "uint256", "type": "uint256" }, - "id": 991, + "id": 483, "name": "ElementaryTypeName", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 992, + "id": 484, "name": "VariableDeclaration", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 993, + "id": 485, "name": "ParameterList", - "src": "14265:9:1" + "src": "14690:9:0" }, { "children": [ @@ -43734,13 +43734,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 994, + "id": 486, "name": "Identifier", - "src": "14289:1:1" + "src": "14715:1:0" }, { "attributes": { @@ -43753,18 +43753,18 @@ "type": "int_const 0", "value": "0" }, - "id": 995, + "id": 487, "name": "Literal", - "src": "14294:1:1" + "src": "14720:1:0" } ], - "id": 996, + "id": 488, "name": "BinaryOperation", - "src": "14289:6:1" + "src": "14715:6:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43778,24 +43778,24 @@ "type": "int_const 0", "value": "0" }, - "id": 997, + "id": 489, "name": "Literal", - "src": "14304:1:1" + "src": "14730:1:0" } ], - "id": 998, + "id": 490, "name": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } ], - "id": 999, + "id": 491, "name": "IfStatement", - "src": "14285:20:1" + "src": "14711:20:0" }, { "attributes": { "assignments": [ - 1001 + 493 ] }, "children": [ @@ -43804,7 +43804,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 1017, + "scope": 509, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43816,14 +43816,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1000, + "id": 492, "name": "ElementaryTypeName", - "src": "14315:7:1" + "src": "14742:7:0" } ], - "id": 1001, + "id": 493, "name": "VariableDeclaration", - "src": "14315:9:1" + "src": "14742:9:0" }, { "attributes": { @@ -43844,36 +43844,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1002, + "id": 494, "name": "Identifier", - "src": "14327:1:1" + "src": "14754:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1003, + "id": 495, "name": "Identifier", - "src": "14331:1:1" + "src": "14758:1:0" } ], - "id": 1004, + "id": 496, "name": "BinaryOperation", - "src": "14327:5:1" + "src": "14754:5:0" } ], - "id": 1005, + "id": 497, "name": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "children": [ @@ -43912,9 +43912,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1006, + "id": 498, "name": "Identifier", - "src": "14342:7:1" + "src": "14770:7:0" }, { "attributes": { @@ -43949,49 +43949,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1007, + "id": 499, "name": "Identifier", - "src": "14350:1:1" + "src": "14778:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1008, + "id": 500, "name": "Identifier", - "src": "14354:1:1" + "src": "14782:1:0" } ], - "id": 1009, + "id": 501, "name": "BinaryOperation", - "src": "14350:5:1" + "src": "14778:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1010, + "id": 502, "name": "Identifier", - "src": "14359:1:1" + "src": "14787:1:0" } ], - "id": 1011, + "id": 503, "name": "BinaryOperation", - "src": "14350:10:1" + "src": "14778:10:0" }, { "attributes": { @@ -44004,23 +44004,23 @@ "type": "literal_string \"SafeMath: multiplication overflow\"", "value": "SafeMath: multiplication overflow" }, - "id": 1012, + "id": 504, "name": "Literal", - "src": "14362:35:1" + "src": "14790:35:0" } ], - "id": 1013, + "id": 505, "name": "FunctionCall", - "src": "14342:56:1" + "src": "14770:56:0" } ], - "id": 1014, + "id": 506, "name": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -44028,28 +44028,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1015, + "id": 507, "name": "Identifier", - "src": "14415:1:1" + "src": "14844:1:0" } ], - "id": 1016, + "id": 508, "name": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ], - "id": 1017, + "id": 509, "name": "Block", - "src": "14275:148:1" + "src": "14700:153:0" } ], - "id": 1018, + "id": 510, "name": "FunctionDefinition", - "src": "14208:215:1" + "src": "14633:220:0" }, { "attributes": { @@ -44060,7 +44060,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44070,9 +44070,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1019, + "id": 511, "name": "StructuredDocumentation", - "src": "14429:453:1" + "src": "14861:464:0" }, { "children": [ @@ -44081,7 +44081,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44093,21 +44093,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1020, + "id": 512, "name": "ElementaryTypeName", - "src": "14900:7:1" + "src": "15344:7:0" } ], - "id": 1021, + "id": 513, "name": "VariableDeclaration", - "src": "14900:9:1" + "src": "15344:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44119,19 +44119,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1022, + "id": 514, "name": "ElementaryTypeName", - "src": "14911:7:1" + "src": "15355:7:0" } ], - "id": 1023, + "id": 515, "name": "VariableDeclaration", - "src": "14911:9:1" + "src": "15355:9:0" } ], - "id": 1024, + "id": 516, "name": "ParameterList", - "src": "14899:22:1" + "src": "15343:22:0" }, { "children": [ @@ -44140,7 +44140,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44152,19 +44152,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1025, + "id": 517, "name": "ElementaryTypeName", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1026, + "id": 518, "name": "VariableDeclaration", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1027, + "id": 519, "name": "ParameterList", - "src": "14944:9:1" + "src": "15388:9:0" }, { "children": [ @@ -44205,9 +44205,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1028, + "id": 520, "name": "Identifier", - "src": "14964:7:1" + "src": "15409:7:0" }, { "attributes": { @@ -44228,13 +44228,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1029, + "id": 521, "name": "Identifier", - "src": "14972:1:1" + "src": "15417:1:0" }, { "attributes": { @@ -44247,14 +44247,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1030, + "id": 522, "name": "Literal", - "src": "14976:1:1" + "src": "15421:1:0" } ], - "id": 1031, + "id": 523, "name": "BinaryOperation", - "src": "14972:5:1" + "src": "15417:5:0" }, { "attributes": { @@ -44267,23 +44267,23 @@ "type": "literal_string \"SafeMath: division by zero\"", "value": "SafeMath: division by zero" }, - "id": 1032, + "id": 524, "name": "Literal", - "src": "14979:28:1" + "src": "15424:28:0" } ], - "id": 1033, + "id": 525, "name": "FunctionCall", - "src": "14964:44:1" + "src": "15409:44:0" } ], - "id": 1034, + "id": 526, "name": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "attributes": { - "functionReturnParameters": 1027 + "functionReturnParameters": 519 }, "children": [ { @@ -44305,46 +44305,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1021, + "referencedDeclaration": 513, "type": "uint256", "value": "a" }, - "id": 1035, + "id": 527, "name": "Identifier", - "src": "15025:1:1" + "src": "15471:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1036, + "id": 528, "name": "Identifier", - "src": "15029:1:1" + "src": "15475:1:0" } ], - "id": 1037, + "id": 529, "name": "BinaryOperation", - "src": "15025:5:1" + "src": "15471:5:0" } ], - "id": 1038, + "id": 530, "name": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ], - "id": 1039, + "id": 531, "name": "Block", - "src": "14954:83:1" + "src": "15398:86:0" } ], - "id": 1040, + "id": 532, "name": "FunctionDefinition", - "src": "14887:150:1" + "src": "15331:153:0" }, { "attributes": { @@ -44355,7 +44355,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44365,9 +44365,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1041, + "id": 533, "name": "StructuredDocumentation", - "src": "15043:442:1" + "src": "15492:453:0" }, { "children": [ @@ -44376,7 +44376,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44388,21 +44388,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1042, + "id": 534, "name": "ElementaryTypeName", - "src": "15503:7:1" + "src": "15964:7:0" } ], - "id": 1043, + "id": 535, "name": "VariableDeclaration", - "src": "15503:9:1" + "src": "15964:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44414,19 +44414,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1044, + "id": 536, "name": "ElementaryTypeName", - "src": "15514:7:1" + "src": "15975:7:0" } ], - "id": 1045, + "id": 537, "name": "VariableDeclaration", - "src": "15514:9:1" + "src": "15975:9:0" } ], - "id": 1046, + "id": 538, "name": "ParameterList", - "src": "15502:22:1" + "src": "15963:22:0" }, { "children": [ @@ -44435,7 +44435,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44447,19 +44447,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1047, + "id": 539, "name": "ElementaryTypeName", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1048, + "id": 540, "name": "VariableDeclaration", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1049, + "id": 541, "name": "ParameterList", - "src": "15547:9:1" + "src": "16008:9:0" }, { "children": [ @@ -44500,9 +44500,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1050, + "id": 542, "name": "Identifier", - "src": "15567:7:1" + "src": "16029:7:0" }, { "attributes": { @@ -44523,13 +44523,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1051, + "id": 543, "name": "Identifier", - "src": "15575:1:1" + "src": "16037:1:0" }, { "attributes": { @@ -44542,14 +44542,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1052, + "id": 544, "name": "Literal", - "src": "15579:1:1" + "src": "16041:1:0" } ], - "id": 1053, + "id": 545, "name": "BinaryOperation", - "src": "15575:5:1" + "src": "16037:5:0" }, { "attributes": { @@ -44562,23 +44562,23 @@ "type": "literal_string \"SafeMath: modulo by zero\"", "value": "SafeMath: modulo by zero" }, - "id": 1054, + "id": 546, "name": "Literal", - "src": "15582:26:1" + "src": "16044:26:0" } ], - "id": 1055, + "id": 547, "name": "FunctionCall", - "src": "15567:42:1" + "src": "16029:42:0" } ], - "id": 1056, + "id": 548, "name": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "attributes": { - "functionReturnParameters": 1049 + "functionReturnParameters": 541 }, "children": [ { @@ -44600,46 +44600,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1043, + "referencedDeclaration": 535, "type": "uint256", "value": "a" }, - "id": 1057, + "id": 549, "name": "Identifier", - "src": "15626:1:1" + "src": "16089:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1058, + "id": 550, "name": "Identifier", - "src": "15630:1:1" + "src": "16093:1:0" } ], - "id": 1059, + "id": 551, "name": "BinaryOperation", - "src": "15626:5:1" + "src": "16089:5:0" } ], - "id": 1060, + "id": 552, "name": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ], - "id": 1061, + "id": 553, "name": "Block", - "src": "15557:81:1" + "src": "16018:84:0" } ], - "id": 1062, + "id": 554, "name": "FunctionDefinition", - "src": "15490:148:1" + "src": "15951:151:0" }, { "attributes": { @@ -44650,7 +44650,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44660,9 +44660,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1063, + "id": 555, "name": "StructuredDocumentation", - "src": "15644:453:1" + "src": "16110:465:0" }, { "children": [ @@ -44671,7 +44671,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44683,21 +44683,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1064, + "id": 556, "name": "ElementaryTypeName", - "src": "16115:7:1" + "src": "16594:7:0" } ], - "id": 1065, + "id": 557, "name": "VariableDeclaration", - "src": "16115:9:1" + "src": "16594:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44709,21 +44709,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1066, + "id": 558, "name": "ElementaryTypeName", - "src": "16126:7:1" + "src": "16605:7:0" } ], - "id": 1067, + "id": 559, "name": "VariableDeclaration", - "src": "16126:9:1" + "src": "16605:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44735,19 +44735,19 @@ "name": "string", "type": "string" }, - "id": 1068, + "id": 560, "name": "ElementaryTypeName", - "src": "16137:6:1" + "src": "16616:6:0" } ], - "id": 1069, + "id": 561, "name": "VariableDeclaration", - "src": "16137:26:1" + "src": "16616:26:0" } ], - "id": 1070, + "id": 562, "name": "ParameterList", - "src": "16114:50:1" + "src": "16593:50:0" }, { "children": [ @@ -44756,7 +44756,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44768,19 +44768,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1071, + "id": 563, "name": "ElementaryTypeName", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1072, + "id": 564, "name": "VariableDeclaration", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1073, + "id": 565, "name": "ParameterList", - "src": "16187:9:1" + "src": "16666:9:0" }, { "children": [ @@ -44821,9 +44821,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1074, + "id": 566, "name": "Identifier", - "src": "16207:7:1" + "src": "16687:7:0" }, { "attributes": { @@ -44844,58 +44844,58 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1075, + "id": 567, "name": "Identifier", - "src": "16215:1:1" + "src": "16695:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1076, + "id": 568, "name": "Identifier", - "src": "16220:1:1" + "src": "16700:1:0" } ], - "id": 1077, + "id": 569, "name": "BinaryOperation", - "src": "16215:6:1" + "src": "16695:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1069, + "referencedDeclaration": 561, "type": "string memory", "value": "errorMessage" }, - "id": 1078, + "id": 570, "name": "Identifier", - "src": "16223:12:1" + "src": "16703:12:0" } ], - "id": 1079, + "id": 571, "name": "FunctionCall", - "src": "16207:29:1" + "src": "16687:29:0" } ], - "id": 1080, + "id": 572, "name": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "attributes": { - "functionReturnParameters": 1073 + "functionReturnParameters": 565 }, "children": [ { @@ -44917,46 +44917,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1081, + "id": 573, "name": "Identifier", - "src": "16253:1:1" + "src": "16734:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1082, + "id": 574, "name": "Identifier", - "src": "16257:1:1" + "src": "16738:1:0" } ], - "id": 1083, + "id": 575, "name": "BinaryOperation", - "src": "16253:5:1" + "src": "16734:5:0" } ], - "id": 1084, + "id": 576, "name": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ], - "id": 1085, + "id": 577, "name": "Block", - "src": "16197:68:1" + "src": "16676:71:0" } ], - "id": 1086, + "id": 578, "name": "FunctionDefinition", - "src": "16102:163:1" + "src": "16581:166:0" }, { "attributes": { @@ -44967,7 +44967,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44977,9 +44977,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1087, + "id": 579, "name": "StructuredDocumentation", - "src": "16271:646:1" + "src": "16755:660:0" }, { "children": [ @@ -44988,7 +44988,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45000,21 +45000,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1088, + "id": 580, "name": "ElementaryTypeName", - "src": "16935:7:1" + "src": "17434:7:0" } ], - "id": 1089, + "id": 581, "name": "VariableDeclaration", - "src": "16935:9:1" + "src": "17434:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45026,21 +45026,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1090, + "id": 582, "name": "ElementaryTypeName", - "src": "16946:7:1" + "src": "17445:7:0" } ], - "id": 1091, + "id": 583, "name": "VariableDeclaration", - "src": "16946:9:1" + "src": "17445:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -45052,19 +45052,19 @@ "name": "string", "type": "string" }, - "id": 1092, + "id": 584, "name": "ElementaryTypeName", - "src": "16957:6:1" + "src": "17456:6:0" } ], - "id": 1093, + "id": 585, "name": "VariableDeclaration", - "src": "16957:26:1" + "src": "17456:26:0" } ], - "id": 1094, + "id": 586, "name": "ParameterList", - "src": "16934:50:1" + "src": "17433:50:0" }, { "children": [ @@ -45073,7 +45073,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45085,19 +45085,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1095, + "id": 587, "name": "ElementaryTypeName", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1096, + "id": 588, "name": "VariableDeclaration", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1097, + "id": 589, "name": "ParameterList", - "src": "17007:9:1" + "src": "17506:9:0" }, { "children": [ @@ -45138,9 +45138,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1098, + "id": 590, "name": "Identifier", - "src": "17027:7:1" + "src": "17527:7:0" }, { "attributes": { @@ -45161,13 +45161,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1099, + "id": 591, "name": "Identifier", - "src": "17035:1:1" + "src": "17535:1:0" }, { "attributes": { @@ -45180,41 +45180,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1100, + "id": 592, "name": "Literal", - "src": "17039:1:1" + "src": "17539:1:0" } ], - "id": 1101, + "id": 593, "name": "BinaryOperation", - "src": "17035:5:1" + "src": "17535:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1093, + "referencedDeclaration": 585, "type": "string memory", "value": "errorMessage" }, - "id": 1102, + "id": 594, "name": "Identifier", - "src": "17042:12:1" + "src": "17542:12:0" } ], - "id": 1103, + "id": 595, "name": "FunctionCall", - "src": "17027:28:1" + "src": "17527:28:0" } ], - "id": 1104, + "id": 596, "name": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "attributes": { - "functionReturnParameters": 1097 + "functionReturnParameters": 589 }, "children": [ { @@ -45236,46 +45236,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1089, + "referencedDeclaration": 581, "type": "uint256", "value": "a" }, - "id": 1105, + "id": 597, "name": "Identifier", - "src": "17072:1:1" + "src": "17573:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1106, + "id": 598, "name": "Identifier", - "src": "17076:1:1" + "src": "17577:1:0" } ], - "id": 1107, + "id": 599, "name": "BinaryOperation", - "src": "17072:5:1" + "src": "17573:5:0" } ], - "id": 1108, + "id": 600, "name": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ], - "id": 1109, + "id": 601, "name": "Block", - "src": "17017:67:1" + "src": "17516:70:0" } ], - "id": 1110, + "id": 602, "name": "FunctionDefinition", - "src": "16922:162:1" + "src": "17421:165:0" }, { "attributes": { @@ -45286,7 +45286,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -45296,9 +45296,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1111, + "id": 603, "name": "StructuredDocumentation", - "src": "17090:635:1" + "src": "17594:649:0" }, { "children": [ @@ -45307,7 +45307,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45319,21 +45319,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1112, + "id": 604, "name": "ElementaryTypeName", - "src": "17743:7:1" + "src": "18262:7:0" } ], - "id": 1113, + "id": 605, "name": "VariableDeclaration", - "src": "17743:9:1" + "src": "18262:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45345,21 +45345,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1114, + "id": 606, "name": "ElementaryTypeName", - "src": "17754:7:1" + "src": "18273:7:0" } ], - "id": 1115, + "id": 607, "name": "VariableDeclaration", - "src": "17754:9:1" + "src": "18273:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -45371,19 +45371,19 @@ "name": "string", "type": "string" }, - "id": 1116, + "id": 608, "name": "ElementaryTypeName", - "src": "17765:6:1" + "src": "18284:6:0" } ], - "id": 1117, + "id": 609, "name": "VariableDeclaration", - "src": "17765:26:1" + "src": "18284:26:0" } ], - "id": 1118, + "id": 610, "name": "ParameterList", - "src": "17742:50:1" + "src": "18261:50:0" }, { "children": [ @@ -45392,7 +45392,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45404,19 +45404,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1119, + "id": 611, "name": "ElementaryTypeName", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1120, + "id": 612, "name": "VariableDeclaration", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1121, + "id": 613, "name": "ParameterList", - "src": "17815:9:1" + "src": "18334:9:0" }, { "children": [ @@ -45457,9 +45457,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1122, + "id": 614, "name": "Identifier", - "src": "17835:7:1" + "src": "18355:7:0" }, { "attributes": { @@ -45480,13 +45480,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1123, + "id": 615, "name": "Identifier", - "src": "17843:1:1" + "src": "18363:1:0" }, { "attributes": { @@ -45499,41 +45499,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1124, + "id": 616, "name": "Literal", - "src": "17847:1:1" + "src": "18367:1:0" } ], - "id": 1125, + "id": 617, "name": "BinaryOperation", - "src": "17843:5:1" + "src": "18363:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1117, + "referencedDeclaration": 609, "type": "string memory", "value": "errorMessage" }, - "id": 1126, + "id": 618, "name": "Identifier", - "src": "17850:12:1" + "src": "18370:12:0" } ], - "id": 1127, + "id": 619, "name": "FunctionCall", - "src": "17835:28:1" + "src": "18355:28:0" } ], - "id": 1128, + "id": 620, "name": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "attributes": { - "functionReturnParameters": 1121 + "functionReturnParameters": 613 }, "children": [ { @@ -45555,51 +45555,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1113, + "referencedDeclaration": 605, "type": "uint256", "value": "a" }, - "id": 1129, + "id": 621, "name": "Identifier", - "src": "17880:1:1" + "src": "18401:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1130, + "id": 622, "name": "Identifier", - "src": "17884:1:1" + "src": "18405:1:0" } ], - "id": 1131, + "id": 623, "name": "BinaryOperation", - "src": "17880:5:1" + "src": "18401:5:0" } ], - "id": 1132, + "id": 624, "name": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ], - "id": 1133, + "id": 625, "name": "Block", - "src": "17825:67:1" + "src": "18344:70:0" } ], - "id": 1134, + "id": 626, "name": "FunctionDefinition", - "src": "17730:162:1" + "src": "18249:165:0" } ], - "id": 1135, + "id": 627, "name": "ContractDefinition", - "src": "11300:6594:1" + "src": "11627:6790:0" }, { "attributes": { @@ -45613,9 +45613,9 @@ ".0" ] }, - "id": 1136, + "id": 628, "name": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "attributes": { @@ -45629,19 +45629,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Collection of functions related to the address type" }, - "id": 1137, + "id": 629, "name": "StructuredDocumentation", - "src": "17980:67:1" + "src": "18508:69:0" }, { "attributes": { @@ -45652,7 +45652,7 @@ null ], "name": "isContract", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -45662,9 +45662,9 @@ "attributes": { "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1138, + "id": 630, "name": "StructuredDocumentation", - "src": "18070:565:1" + "src": "18602:581:0" }, { "children": [ @@ -45673,7 +45673,7 @@ "constant": false, "mutability": "mutable", "name": "account", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -45686,19 +45686,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1139, + "id": 631, "name": "ElementaryTypeName", - "src": "18660:7:1" + "src": "19209:7:0" } ], - "id": 1140, + "id": 632, "name": "VariableDeclaration", - "src": "18660:15:1" + "src": "19209:15:0" } ], - "id": 1141, + "id": 633, "name": "ParameterList", - "src": "18659:17:1" + "src": "19208:17:0" }, { "children": [ @@ -45707,7 +45707,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45719,26 +45719,26 @@ "name": "bool", "type": "bool" }, - "id": 1142, + "id": 634, "name": "ElementaryTypeName", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1143, + "id": 635, "name": "VariableDeclaration", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1144, + "id": 636, "name": "ParameterList", - "src": "18699:6:1" + "src": "19248:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1146 + 638 ] }, "children": [ @@ -45747,7 +45747,7 @@ "constant": false, "mutability": "mutable", "name": "size", - "scope": 1153, + "scope": 645, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45759,49 +45759,49 @@ "name": "uint256", "type": "uint256" }, - "id": 1145, + "id": 637, "name": "ElementaryTypeName", - "src": "18903:7:1" + "src": "19457:7:0" } ], - "id": 1146, + "id": 638, "name": "VariableDeclaration", - "src": "18903:12:1" + "src": "19457:12:0" } ], - "id": 1147, + "id": 639, "name": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "attributes": { "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], "operations": "{ size := extcodesize(account) }" }, "children": [], - "id": 1148, + "id": 640, "name": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "attributes": { - "functionReturnParameters": 1144 + "functionReturnParameters": 636 }, "children": [ { @@ -45823,13 +45823,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1146, + "referencedDeclaration": 638, "type": "uint256", "value": "size" }, - "id": 1149, + "id": 641, "name": "Identifier", - "src": "19038:4:1" + "src": "19595:4:0" }, { "attributes": { @@ -45842,29 +45842,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1150, + "id": 642, "name": "Literal", - "src": "19045:1:1" + "src": "19602:1:0" } ], - "id": 1151, + "id": 643, "name": "BinaryOperation", - "src": "19038:8:1" + "src": "19595:8:0" } ], - "id": 1152, + "id": 644, "name": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ], - "id": 1153, + "id": 645, "name": "Block", - "src": "18706:347:1" + "src": "19255:356:0" } ], - "id": 1154, + "id": 646, "name": "FunctionDefinition", - "src": "18640:413:1" + "src": "19189:422:0" }, { "attributes": { @@ -45875,7 +45875,7 @@ null ], "name": "sendValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -45885,9 +45885,9 @@ "attributes": { "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1155, + "id": 647, "name": "StructuredDocumentation", - "src": "19059:906:1" + "src": "19619:921:0" }, { "children": [ @@ -45896,7 +45896,7 @@ "constant": false, "mutability": "mutable", "name": "recipient", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -45909,21 +45909,21 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 1156, + "id": 648, "name": "ElementaryTypeName", - "src": "19989:15:1" + "src": "20565:15:0" } ], - "id": 1157, + "id": 649, "name": "VariableDeclaration", - "src": "19989:25:1" + "src": "20565:25:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "amount", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45935,19 +45935,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1158, + "id": 650, "name": "ElementaryTypeName", - "src": "20016:7:1" + "src": "20592:7:0" } ], - "id": 1159, + "id": 651, "name": "VariableDeclaration", - "src": "20016:14:1" + "src": "20592:14:0" } ], - "id": 1160, + "id": 652, "name": "ParameterList", - "src": "19988:43:1" + "src": "20564:43:0" }, { "attributes": { @@ -45956,9 +45956,9 @@ ] }, "children": [], - "id": 1161, + "id": 653, "name": "ParameterList", - "src": "20041:0:1" + "src": "20617:0:0" }, { "children": [ @@ -45999,9 +45999,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1162, + "id": 654, "name": "Identifier", - "src": "20051:7:1" + "src": "20628:7:0" }, { "attributes": { @@ -46046,7 +46046,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -46061,14 +46061,14 @@ "attributes": { "name": "address" }, - "id": 1163, + "id": 655, "name": "ElementaryTypeName", - "src": "20059:7:1" + "src": "20636:7:0" } ], - "id": 1164, + "id": 656, "name": "ElementaryTypeNameExpression", - "src": "20059:7:1" + "src": "20636:7:0" }, { "attributes": { @@ -46079,37 +46079,37 @@ "type": "library Address", "value": "this" }, - "id": 1165, + "id": 657, "name": "Identifier", - "src": "20067:4:1" + "src": "20644:4:0" } ], - "id": 1166, + "id": 658, "name": "FunctionCall", - "src": "20059:13:1" + "src": "20636:13:0" } ], - "id": 1167, + "id": 659, "name": "MemberAccess", - "src": "20059:21:1" + "src": "20636:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1168, + "id": 660, "name": "Identifier", - "src": "20084:6:1" + "src": "20661:6:0" } ], - "id": 1169, + "id": 661, "name": "BinaryOperation", - "src": "20059:31:1" + "src": "20636:31:0" }, { "attributes": { @@ -46122,24 +46122,24 @@ "type": "literal_string \"Address: insufficient balance\"", "value": "Address: insufficient balance" }, - "id": 1170, + "id": 662, "name": "Literal", - "src": "20092:31:1" + "src": "20669:31:0" } ], - "id": 1171, + "id": 663, "name": "FunctionCall", - "src": "20051:73:1" + "src": "20628:73:0" } ], - "id": 1172, + "id": 664, "name": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "attributes": { "assignments": [ - 1174, + 666, null ] }, @@ -46149,7 +46149,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1187, + "scope": 679, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -46161,14 +46161,14 @@ "name": "bool", "type": "bool" }, - "id": 1173, + "id": 665, "name": "ElementaryTypeName", - "src": "20213:4:1" + "src": "20793:4:0" } ], - "id": 1174, + "id": 666, "name": "VariableDeclaration", - "src": "20213:12:1" + "src": "20793:12:0" }, { "attributes": { @@ -46224,36 +46224,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1157, + "referencedDeclaration": 649, "type": "address payable", "value": "recipient" }, - "id": 1175, + "id": 667, "name": "Identifier", - "src": "20231:9:1" + "src": "20811:9:0" } ], - "id": 1176, + "id": 668, "name": "MemberAccess", - "src": "20231:14:1" + "src": "20811:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1177, + "id": 669, "name": "Identifier", - "src": "20254:6:1" + "src": "20834:6:0" } ], - "id": 1178, + "id": 670, "name": "FunctionCallOptions", - "src": "20231:31:1" + "src": "20811:31:0" }, { "attributes": { @@ -46266,19 +46266,19 @@ "type": "literal_string \"\"", "value": "" }, - "id": 1179, + "id": 671, "name": "Literal", - "src": "20263:2:1" + "src": "20843:2:0" } ], - "id": 1180, + "id": 672, "name": "FunctionCall", - "src": "20231:35:1" + "src": "20811:35:0" } ], - "id": 1181, + "id": 673, "name": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "children": [ @@ -46317,22 +46317,22 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1182, + "id": 674, "name": "Identifier", - "src": "20276:7:1" + "src": "20857:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 666, "type": "bool", "value": "success" }, - "id": 1183, + "id": 675, "name": "Identifier", - "src": "20284:7:1" + "src": "20865:7:0" }, { "attributes": { @@ -46345,29 +46345,29 @@ "type": "literal_string \"Address: unable to send value, recipient may have reverted\"", "value": "Address: unable to send value, recipient may have reverted" }, - "id": 1184, + "id": 676, "name": "Literal", - "src": "20293:60:1" + "src": "20874:60:0" } ], - "id": 1185, + "id": 677, "name": "FunctionCall", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1186, + "id": 678, "name": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1187, + "id": 679, "name": "Block", - "src": "20041:320:1" + "src": "20617:326:0" } ], - "id": 1188, + "id": 680, "name": "FunctionDefinition", - "src": "19970:391:1" + "src": "20546:397:0" }, { "attributes": { @@ -46378,7 +46378,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46388,9 +46388,9 @@ "attributes": { "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1189, + "id": 681, "name": "StructuredDocumentation", - "src": "20367:730:1" + "src": "20951:747:0" }, { "children": [ @@ -46399,7 +46399,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46412,21 +46412,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1190, + "id": 682, "name": "ElementaryTypeName", - "src": "21124:7:1" + "src": "21726:7:0" } ], - "id": 1191, + "id": 683, "name": "VariableDeclaration", - "src": "21124:14:1" + "src": "21726:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46438,19 +46438,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1192, + "id": 684, "name": "ElementaryTypeName", - "src": "21140:5:1" + "src": "21742:5:0" } ], - "id": 1193, + "id": 685, "name": "VariableDeclaration", - "src": "21140:17:1" + "src": "21742:17:0" } ], - "id": 1194, + "id": 686, "name": "ParameterList", - "src": "21123:35:1" + "src": "21725:35:0" }, { "children": [ @@ -46459,7 +46459,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46471,25 +46471,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1195, + "id": 687, "name": "ElementaryTypeName", - "src": "21177:5:1" + "src": "21779:5:0" } ], - "id": 1196, + "id": 688, "name": "VariableDeclaration", - "src": "21177:12:1" + "src": "21779:12:0" } ], - "id": 1197, + "id": 689, "name": "ParameterList", - "src": "21176:14:1" + "src": "21778:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1197 + "functionReturnParameters": 689 }, "children": [ { @@ -46524,42 +46524,42 @@ } ], "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionCall" }, - "id": 1198, + "id": 690, "name": "Identifier", - "src": "21206:12:1" + "src": "21809:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1191, + "referencedDeclaration": 683, "type": "address", "value": "target" }, - "id": 1199, + "id": 691, "name": "Identifier", - "src": "21219:6:1" + "src": "21822:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1193, + "referencedDeclaration": 685, "type": "bytes memory", "value": "data" }, - "id": 1200, + "id": 692, "name": "Identifier", - "src": "21227:4:1" + "src": "21830:4:0" }, { "attributes": { @@ -46572,29 +46572,29 @@ "type": "literal_string \"Address: low-level call failed\"", "value": "Address: low-level call failed" }, - "id": 1201, + "id": 693, "name": "Literal", - "src": "21233:32:1" + "src": "21836:32:0" } ], - "id": 1202, + "id": 694, "name": "FunctionCall", - "src": "21206:60:1" + "src": "21809:60:0" } ], - "id": 1203, + "id": 695, "name": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ], - "id": 1204, + "id": 696, "name": "Block", - "src": "21191:82:1" + "src": "21793:84:0" } ], - "id": 1205, + "id": 697, "name": "FunctionDefinition", - "src": "21102:171:1" + "src": "21704:173:0" }, { "attributes": { @@ -46605,7 +46605,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46615,9 +46615,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1206, + "id": 698, "name": "StructuredDocumentation", - "src": "21279:211:1" + "src": "21885:216:0" }, { "children": [ @@ -46626,7 +46626,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46639,21 +46639,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1207, + "id": 699, "name": "ElementaryTypeName", - "src": "21517:7:1" + "src": "22129:7:0" } ], - "id": 1208, + "id": 700, "name": "VariableDeclaration", - "src": "21517:14:1" + "src": "22129:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46665,21 +46665,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1209, + "id": 701, "name": "ElementaryTypeName", - "src": "21533:5:1" + "src": "22145:5:0" } ], - "id": 1210, + "id": 702, "name": "VariableDeclaration", - "src": "21533:17:1" + "src": "22145:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -46691,19 +46691,19 @@ "name": "string", "type": "string" }, - "id": 1211, + "id": 703, "name": "ElementaryTypeName", - "src": "21552:6:1" + "src": "22164:6:0" } ], - "id": 1212, + "id": 704, "name": "VariableDeclaration", - "src": "21552:26:1" + "src": "22164:26:0" } ], - "id": 1213, + "id": 705, "name": "ParameterList", - "src": "21516:63:1" + "src": "22128:63:0" }, { "children": [ @@ -46712,7 +46712,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46724,25 +46724,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1214, + "id": 706, "name": "ElementaryTypeName", - "src": "21598:5:1" + "src": "22210:5:0" } ], - "id": 1215, + "id": 707, "name": "VariableDeclaration", - "src": "21598:12:1" + "src": "22210:12:0" } ], - "id": 1216, + "id": 708, "name": "ParameterList", - "src": "21597:14:1" + "src": "22209:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1216 + "functionReturnParameters": 708 }, "children": [ { @@ -46781,42 +46781,42 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1217, + "id": 709, "name": "Identifier", - "src": "21629:21:1" + "src": "22242:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1208, + "referencedDeclaration": 700, "type": "address", "value": "target" }, - "id": 1218, + "id": 710, "name": "Identifier", - "src": "21651:6:1" + "src": "22264:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1210, + "referencedDeclaration": 702, "type": "bytes memory", "value": "data" }, - "id": 1219, + "id": 711, "name": "Identifier", - "src": "21659:4:1" + "src": "22272:4:0" }, { "attributes": { @@ -46829,42 +46829,42 @@ "type": "int_const 0", "value": "0" }, - "id": 1220, + "id": 712, "name": "Literal", - "src": "21665:1:1" + "src": "22278:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1212, + "referencedDeclaration": 704, "type": "string memory", "value": "errorMessage" }, - "id": 1221, + "id": 713, "name": "Identifier", - "src": "21668:12:1" + "src": "22281:12:0" } ], - "id": 1222, + "id": 714, "name": "FunctionCall", - "src": "21629:52:1" + "src": "22242:52:0" } ], - "id": 1223, + "id": 715, "name": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ], - "id": 1224, + "id": 716, "name": "Block", - "src": "21612:76:1" + "src": "22224:78:0" } ], - "id": 1225, + "id": 717, "name": "FunctionDefinition", - "src": "21495:193:1" + "src": "22107:195:0" }, { "attributes": { @@ -46875,7 +46875,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46885,9 +46885,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1226, + "id": 718, "name": "StructuredDocumentation", - "src": "21694:351:1" + "src": "22310:361:0" }, { "children": [ @@ -46896,7 +46896,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46909,21 +46909,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1227, + "id": 719, "name": "ElementaryTypeName", - "src": "22081:7:1" + "src": "22708:7:0" } ], - "id": 1228, + "id": 720, "name": "VariableDeclaration", - "src": "22081:14:1" + "src": "22708:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46935,21 +46935,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1229, + "id": 721, "name": "ElementaryTypeName", - "src": "22097:5:1" + "src": "22724:5:0" } ], - "id": 1230, + "id": 722, "name": "VariableDeclaration", - "src": "22097:17:1" + "src": "22724:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -46961,19 +46961,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1231, + "id": 723, "name": "ElementaryTypeName", - "src": "22116:7:1" + "src": "22743:7:0" } ], - "id": 1232, + "id": 724, "name": "VariableDeclaration", - "src": "22116:13:1" + "src": "22743:13:0" } ], - "id": 1233, + "id": 725, "name": "ParameterList", - "src": "22080:50:1" + "src": "22707:50:0" }, { "children": [ @@ -46982,7 +46982,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46994,25 +46994,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1234, + "id": 726, "name": "ElementaryTypeName", - "src": "22149:5:1" + "src": "22776:5:0" } ], - "id": 1235, + "id": 727, "name": "VariableDeclaration", - "src": "22149:12:1" + "src": "22776:12:0" } ], - "id": 1236, + "id": 728, "name": "ParameterList", - "src": "22148:14:1" + "src": "22775:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1236 + "functionReturnParameters": 728 }, "children": [ { @@ -47051,55 +47051,55 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1237, + "id": 729, "name": "Identifier", - "src": "22180:21:1" + "src": "22808:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 720, "type": "address", "value": "target" }, - "id": 1238, + "id": 730, "name": "Identifier", - "src": "22202:6:1" + "src": "22830:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 722, "type": "bytes memory", "value": "data" }, - "id": 1239, + "id": 731, "name": "Identifier", - "src": "22210:4:1" + "src": "22838:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1232, + "referencedDeclaration": 724, "type": "uint256", "value": "value" }, - "id": 1240, + "id": 732, "name": "Identifier", - "src": "22216:5:1" + "src": "22844:5:0" }, { "attributes": { @@ -47112,29 +47112,29 @@ "type": "literal_string \"Address: low-level call with value failed\"", "value": "Address: low-level call with value failed" }, - "id": 1241, + "id": 733, "name": "Literal", - "src": "22223:43:1" + "src": "22851:43:0" } ], - "id": 1242, + "id": 734, "name": "FunctionCall", - "src": "22180:87:1" + "src": "22808:87:0" } ], - "id": 1243, + "id": 735, "name": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ], - "id": 1244, + "id": 736, "name": "Block", - "src": "22163:111:1" + "src": "22790:113:0" } ], - "id": 1245, + "id": 737, "name": "FunctionDefinition", - "src": "22050:224:1" + "src": "22677:226:0" }, { "attributes": { @@ -47145,7 +47145,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -47155,9 +47155,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1246, + "id": 738, "name": "StructuredDocumentation", - "src": "22280:237:1" + "src": "22911:242:0" }, { "children": [ @@ -47166,7 +47166,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47179,21 +47179,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1247, + "id": 739, "name": "ElementaryTypeName", - "src": "22553:7:1" + "src": "23190:7:0" } ], - "id": 1248, + "id": 740, "name": "VariableDeclaration", - "src": "22553:14:1" + "src": "23190:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47205,21 +47205,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1249, + "id": 741, "name": "ElementaryTypeName", - "src": "22569:5:1" + "src": "23206:5:0" } ], - "id": 1250, + "id": 742, "name": "VariableDeclaration", - "src": "22569:17:1" + "src": "23206:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -47231,21 +47231,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1251, + "id": 743, "name": "ElementaryTypeName", - "src": "22588:7:1" + "src": "23225:7:0" } ], - "id": 1252, + "id": 744, "name": "VariableDeclaration", - "src": "22588:13:1" + "src": "23225:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -47257,19 +47257,19 @@ "name": "string", "type": "string" }, - "id": 1253, + "id": 745, "name": "ElementaryTypeName", - "src": "22603:6:1" + "src": "23240:6:0" } ], - "id": 1254, + "id": 746, "name": "VariableDeclaration", - "src": "22603:26:1" + "src": "23240:26:0" } ], - "id": 1255, + "id": 747, "name": "ParameterList", - "src": "22552:78:1" + "src": "23189:78:0" }, { "children": [ @@ -47278,7 +47278,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47290,19 +47290,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1256, + "id": 748, "name": "ElementaryTypeName", - "src": "22649:5:1" + "src": "23286:5:0" } ], - "id": 1257, + "id": 749, "name": "VariableDeclaration", - "src": "22649:12:1" + "src": "23286:12:0" } ], - "id": 1258, + "id": 750, "name": "ParameterList", - "src": "22648:14:1" + "src": "23285:14:0" }, { "children": [ @@ -47343,9 +47343,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1259, + "id": 751, "name": "Identifier", - "src": "22673:7:1" + "src": "23311:7:0" }, { "attributes": { @@ -47390,7 +47390,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -47405,14 +47405,14 @@ "attributes": { "name": "address" }, - "id": 1260, + "id": 752, "name": "ElementaryTypeName", - "src": "22681:7:1" + "src": "23319:7:0" } ], - "id": 1261, + "id": 753, "name": "ElementaryTypeNameExpression", - "src": "22681:7:1" + "src": "23319:7:0" }, { "attributes": { @@ -47423,37 +47423,37 @@ "type": "library Address", "value": "this" }, - "id": 1262, + "id": 754, "name": "Identifier", - "src": "22689:4:1" + "src": "23327:4:0" } ], - "id": 1263, + "id": 755, "name": "FunctionCall", - "src": "22681:13:1" + "src": "23319:13:0" } ], - "id": 1264, + "id": 756, "name": "MemberAccess", - "src": "22681:21:1" + "src": "23319:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1265, + "id": 757, "name": "Identifier", - "src": "22706:5:1" + "src": "23344:5:0" } ], - "id": 1266, + "id": 758, "name": "BinaryOperation", - "src": "22681:30:1" + "src": "23319:30:0" }, { "attributes": { @@ -47466,19 +47466,19 @@ "type": "literal_string \"Address: insufficient balance for call\"", "value": "Address: insufficient balance for call" }, - "id": 1267, + "id": 759, "name": "Literal", - "src": "22713:40:1" + "src": "23351:40:0" } ], - "id": 1268, + "id": 760, "name": "FunctionCall", - "src": "22673:81:1" + "src": "23311:81:0" } ], - "id": 1269, + "id": 761, "name": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "children": [ @@ -47517,9 +47517,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1270, + "id": 762, "name": "Identifier", - "src": "22764:7:1" + "src": "23403:7:0" }, { "attributes": { @@ -47547,31 +47547,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1271, + "id": 763, "name": "Identifier", - "src": "22772:10:1" + "src": "23411:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1272, + "id": 764, "name": "Identifier", - "src": "22783:6:1" + "src": "23422:6:0" } ], - "id": 1273, + "id": 765, "name": "FunctionCall", - "src": "22772:18:1" + "src": "23411:18:0" }, { "attributes": { @@ -47584,25 +47584,25 @@ "type": "literal_string \"Address: call to non-contract\"", "value": "Address: call to non-contract" }, - "id": 1274, + "id": 766, "name": "Literal", - "src": "22792:31:1" + "src": "23431:31:0" } ], - "id": 1275, + "id": 767, "name": "FunctionCall", - "src": "22764:60:1" + "src": "23403:60:0" } ], - "id": 1276, + "id": 768, "name": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "attributes": { "assignments": [ - 1278, - 1280 + 770, + 772 ] }, "children": [ @@ -47611,7 +47611,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -47623,21 +47623,21 @@ "name": "bool", "type": "bool" }, - "id": 1277, + "id": 769, "name": "ElementaryTypeName", - "src": "22895:4:1" + "src": "23537:4:0" } ], - "id": 1278, + "id": 770, "name": "VariableDeclaration", - "src": "22895:12:1" + "src": "23537:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47649,14 +47649,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1279, + "id": 771, "name": "ElementaryTypeName", - "src": "22909:5:1" + "src": "23551:5:0" } ], - "id": 1280, + "id": 772, "name": "VariableDeclaration", - "src": "22909:23:1" + "src": "23551:23:0" }, { "attributes": { @@ -47712,63 +47712,63 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1281, + "id": 773, "name": "Identifier", - "src": "22936:6:1" + "src": "23578:6:0" } ], - "id": 1282, + "id": 774, "name": "MemberAccess", - "src": "22936:11:1" + "src": "23578:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1283, + "id": 775, "name": "Identifier", - "src": "22956:5:1" + "src": "23598:5:0" } ], - "id": 1284, + "id": 776, "name": "FunctionCallOptions", - "src": "22936:27:1" + "src": "23578:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1250, + "referencedDeclaration": 742, "type": "bytes memory", "value": "data" }, - "id": 1285, + "id": 777, "name": "Identifier", - "src": "22964:4:1" + "src": "23606:4:0" } ], - "id": 1286, + "id": 778, "name": "FunctionCall", - "src": "22936:33:1" + "src": "23578:33:0" } ], - "id": 1287, + "id": 779, "name": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "attributes": { - "functionReturnParameters": 1258 + "functionReturnParameters": 750 }, "children": [ { @@ -47805,72 +47805,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1288, + "id": 780, "name": "Identifier", - "src": "22986:17:1" + "src": "23629:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1278, + "referencedDeclaration": 770, "type": "bool", "value": "success" }, - "id": 1289, + "id": 781, "name": "Identifier", - "src": "23004:7:1" + "src": "23647:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1280, + "referencedDeclaration": 772, "type": "bytes memory", "value": "returndata" }, - "id": 1290, + "id": 782, "name": "Identifier", - "src": "23013:10:1" + "src": "23656:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 746, "type": "string memory", "value": "errorMessage" }, - "id": 1291, + "id": 783, "name": "Identifier", - "src": "23025:12:1" + "src": "23668:12:0" } ], - "id": 1292, + "id": 784, "name": "FunctionCall", - "src": "22986:52:1" + "src": "23629:52:0" } ], - "id": 1293, + "id": 785, "name": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ], - "id": 1294, + "id": 786, "name": "Block", - "src": "22663:382:1" + "src": "23300:389:0" } ], - "id": 1295, + "id": 787, "name": "FunctionDefinition", - "src": "22522:523:1" + "src": "23159:530:0" }, { "attributes": { @@ -47881,7 +47881,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -47891,9 +47891,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1296, + "id": 788, "name": "StructuredDocumentation", - "src": "23051:166:1" + "src": "23697:171:0" }, { "children": [ @@ -47902,7 +47902,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47915,21 +47915,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1297, + "id": 789, "name": "ElementaryTypeName", - "src": "23250:7:1" + "src": "23902:7:0" } ], - "id": 1298, + "id": 790, "name": "VariableDeclaration", - "src": "23250:14:1" + "src": "23902:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47941,19 +47941,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1299, + "id": 791, "name": "ElementaryTypeName", - "src": "23266:5:1" + "src": "23918:5:0" } ], - "id": 1300, + "id": 792, "name": "VariableDeclaration", - "src": "23266:17:1" + "src": "23918:17:0" } ], - "id": 1301, + "id": 793, "name": "ParameterList", - "src": "23249:35:1" + "src": "23901:35:0" }, { "children": [ @@ -47962,7 +47962,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47974,25 +47974,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1302, + "id": 794, "name": "ElementaryTypeName", - "src": "23308:5:1" + "src": "23960:5:0" } ], - "id": 1303, + "id": 795, "name": "VariableDeclaration", - "src": "23308:12:1" + "src": "23960:12:0" } ], - "id": 1304, + "id": 796, "name": "ParameterList", - "src": "23307:14:1" + "src": "23959:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1304 + "functionReturnParameters": 796 }, "children": [ { @@ -48027,42 +48027,42 @@ } ], "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, + "referencedDeclaration": 839, "type": "function (address,bytes memory,string memory) view returns (bytes memory)", "value": "functionStaticCall" }, - "id": 1305, + "id": 797, "name": "Identifier", - "src": "23339:18:1" + "src": "23992:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1298, + "referencedDeclaration": 790, "type": "address", "value": "target" }, - "id": 1306, + "id": 798, "name": "Identifier", - "src": "23358:6:1" + "src": "24011:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1300, + "referencedDeclaration": 792, "type": "bytes memory", "value": "data" }, - "id": 1307, + "id": 799, "name": "Identifier", - "src": "23366:4:1" + "src": "24019:4:0" }, { "attributes": { @@ -48075,29 +48075,29 @@ "type": "literal_string \"Address: low-level static call failed\"", "value": "Address: low-level static call failed" }, - "id": 1308, + "id": 800, "name": "Literal", - "src": "23372:39:1" + "src": "24025:39:0" } ], - "id": 1309, + "id": 801, "name": "FunctionCall", - "src": "23339:73:1" + "src": "23992:73:0" } ], - "id": 1310, + "id": 802, "name": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ], - "id": 1311, + "id": 803, "name": "Block", - "src": "23322:97:1" + "src": "23974:99:0" } ], - "id": 1312, + "id": 804, "name": "FunctionDefinition", - "src": "23222:197:1" + "src": "23874:199:0" }, { "attributes": { @@ -48108,7 +48108,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -48118,9 +48118,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1313, + "id": 805, "name": "StructuredDocumentation", - "src": "23425:173:1" + "src": "24081:178:0" }, { "children": [ @@ -48129,7 +48129,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48142,21 +48142,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1314, + "id": 806, "name": "ElementaryTypeName", - "src": "23631:7:1" + "src": "24293:7:0" } ], - "id": 1315, + "id": 807, "name": "VariableDeclaration", - "src": "23631:14:1" + "src": "24293:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48168,21 +48168,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1316, + "id": 808, "name": "ElementaryTypeName", - "src": "23647:5:1" + "src": "24309:5:0" } ], - "id": 1317, + "id": 809, "name": "VariableDeclaration", - "src": "23647:17:1" + "src": "24309:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -48194,19 +48194,19 @@ "name": "string", "type": "string" }, - "id": 1318, + "id": 810, "name": "ElementaryTypeName", - "src": "23666:6:1" + "src": "24328:6:0" } ], - "id": 1319, + "id": 811, "name": "VariableDeclaration", - "src": "23666:26:1" + "src": "24328:26:0" } ], - "id": 1320, + "id": 812, "name": "ParameterList", - "src": "23630:63:1" + "src": "24292:63:0" }, { "children": [ @@ -48215,7 +48215,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48227,19 +48227,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1321, + "id": 813, "name": "ElementaryTypeName", - "src": "23717:5:1" + "src": "24379:5:0" } ], - "id": 1322, + "id": 814, "name": "VariableDeclaration", - "src": "23717:12:1" + "src": "24379:12:0" } ], - "id": 1323, + "id": 815, "name": "ParameterList", - "src": "23716:14:1" + "src": "24378:14:0" }, { "children": [ @@ -48280,9 +48280,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1324, + "id": 816, "name": "Identifier", - "src": "23741:7:1" + "src": "24404:7:0" }, { "attributes": { @@ -48310,31 +48310,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1325, + "id": 817, "name": "Identifier", - "src": "23749:10:1" + "src": "24412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1326, + "id": 818, "name": "Identifier", - "src": "23760:6:1" + "src": "24423:6:0" } ], - "id": 1327, + "id": 819, "name": "FunctionCall", - "src": "23749:18:1" + "src": "24412:18:0" }, { "attributes": { @@ -48347,25 +48347,25 @@ "type": "literal_string \"Address: static call to non-contract\"", "value": "Address: static call to non-contract" }, - "id": 1328, + "id": 820, "name": "Literal", - "src": "23769:38:1" + "src": "24432:38:0" } ], - "id": 1329, + "id": 821, "name": "FunctionCall", - "src": "23741:67:1" + "src": "24404:67:0" } ], - "id": 1330, + "id": 822, "name": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "attributes": { "assignments": [ - 1332, - 1334 + 824, + 826 ] }, "children": [ @@ -48374,7 +48374,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48386,21 +48386,21 @@ "name": "bool", "type": "bool" }, - "id": 1331, + "id": 823, "name": "ElementaryTypeName", - "src": "23879:4:1" + "src": "24545:4:0" } ], - "id": 1332, + "id": 824, "name": "VariableDeclaration", - "src": "23879:12:1" + "src": "24545:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48412,14 +48412,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1333, + "id": 825, "name": "ElementaryTypeName", - "src": "23893:5:1" + "src": "24559:5:0" } ], - "id": 1334, + "id": 826, "name": "VariableDeclaration", - "src": "23893:23:1" + "src": "24559:23:0" }, { "attributes": { @@ -48457,45 +48457,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1335, + "id": 827, "name": "Identifier", - "src": "23920:6:1" + "src": "24586:6:0" } ], - "id": 1336, + "id": 828, "name": "MemberAccess", - "src": "23920:17:1" + "src": "24586:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1317, + "referencedDeclaration": 809, "type": "bytes memory", "value": "data" }, - "id": 1337, + "id": 829, "name": "Identifier", - "src": "23938:4:1" + "src": "24604:4:0" } ], - "id": 1338, + "id": 830, "name": "FunctionCall", - "src": "23920:23:1" + "src": "24586:23:0" } ], - "id": 1339, + "id": 831, "name": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "attributes": { - "functionReturnParameters": 1323 + "functionReturnParameters": 815 }, "children": [ { @@ -48532,72 +48532,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1340, + "id": 832, "name": "Identifier", - "src": "23960:17:1" + "src": "24627:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1332, + "referencedDeclaration": 824, "type": "bool", "value": "success" }, - "id": 1341, + "id": 833, "name": "Identifier", - "src": "23978:7:1" + "src": "24645:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1334, + "referencedDeclaration": 826, "type": "bytes memory", "value": "returndata" }, - "id": 1342, + "id": 834, "name": "Identifier", - "src": "23987:10:1" + "src": "24654:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 811, "type": "string memory", "value": "errorMessage" }, - "id": 1343, + "id": 835, "name": "Identifier", - "src": "23999:12:1" + "src": "24666:12:0" } ], - "id": 1344, + "id": 836, "name": "FunctionCall", - "src": "23960:52:1" + "src": "24627:52:0" } ], - "id": 1345, + "id": 837, "name": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ], - "id": 1346, + "id": 838, "name": "Block", - "src": "23731:288:1" + "src": "24393:294:0" } ], - "id": 1347, + "id": 839, "name": "FunctionDefinition", - "src": "23603:416:1" + "src": "24265:422:0" }, { "attributes": { @@ -48608,7 +48608,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48618,9 +48618,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1348, + "id": 840, "name": "StructuredDocumentation", - "src": "24025:168:1" + "src": "24695:173:0" }, { "children": [ @@ -48629,7 +48629,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48642,21 +48642,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1349, + "id": 841, "name": "ElementaryTypeName", - "src": "24228:7:1" + "src": "24904:7:0" } ], - "id": 1350, + "id": 842, "name": "VariableDeclaration", - "src": "24228:14:1" + "src": "24904:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48668,19 +48668,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1351, + "id": 843, "name": "ElementaryTypeName", - "src": "24244:5:1" + "src": "24920:5:0" } ], - "id": 1352, + "id": 844, "name": "VariableDeclaration", - "src": "24244:17:1" + "src": "24920:17:0" } ], - "id": 1353, + "id": 845, "name": "ParameterList", - "src": "24227:35:1" + "src": "24903:35:0" }, { "children": [ @@ -48689,7 +48689,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48701,25 +48701,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1354, + "id": 846, "name": "ElementaryTypeName", - "src": "24281:5:1" + "src": "24957:5:0" } ], - "id": 1355, + "id": 847, "name": "VariableDeclaration", - "src": "24281:12:1" + "src": "24957:12:0" } ], - "id": 1356, + "id": 848, "name": "ParameterList", - "src": "24280:14:1" + "src": "24956:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1356 + "functionReturnParameters": 848 }, "children": [ { @@ -48754,42 +48754,42 @@ } ], "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, + "referencedDeclaration": 891, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionDelegateCall" }, - "id": 1357, + "id": 849, "name": "Identifier", - "src": "24312:20:1" + "src": "24989:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1350, + "referencedDeclaration": 842, "type": "address", "value": "target" }, - "id": 1358, + "id": 850, "name": "Identifier", - "src": "24333:6:1" + "src": "25010:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1352, + "referencedDeclaration": 844, "type": "bytes memory", "value": "data" }, - "id": 1359, + "id": 851, "name": "Identifier", - "src": "24341:4:1" + "src": "25018:4:0" }, { "attributes": { @@ -48802,29 +48802,29 @@ "type": "literal_string \"Address: low-level delegate call failed\"", "value": "Address: low-level delegate call failed" }, - "id": 1360, + "id": 852, "name": "Literal", - "src": "24347:41:1" + "src": "25024:41:0" } ], - "id": 1361, + "id": 853, "name": "FunctionCall", - "src": "24312:77:1" + "src": "24989:77:0" } ], - "id": 1362, + "id": 854, "name": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ], - "id": 1363, + "id": 855, "name": "Block", - "src": "24295:101:1" + "src": "24971:103:0" } ], - "id": 1364, + "id": 856, "name": "FunctionDefinition", - "src": "24198:198:1" + "src": "24874:200:0" }, { "attributes": { @@ -48835,7 +48835,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48845,9 +48845,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1365, + "id": 857, "name": "StructuredDocumentation", - "src": "24402:175:1" + "src": "25082:180:0" }, { "children": [ @@ -48856,7 +48856,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48869,21 +48869,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1366, + "id": 858, "name": "ElementaryTypeName", - "src": "24612:7:1" + "src": "25298:7:0" } ], - "id": 1367, + "id": 859, "name": "VariableDeclaration", - "src": "24612:14:1" + "src": "25298:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48895,21 +48895,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1368, + "id": 860, "name": "ElementaryTypeName", - "src": "24628:5:1" + "src": "25314:5:0" } ], - "id": 1369, + "id": 861, "name": "VariableDeclaration", - "src": "24628:17:1" + "src": "25314:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -48921,19 +48921,19 @@ "name": "string", "type": "string" }, - "id": 1370, + "id": 862, "name": "ElementaryTypeName", - "src": "24647:6:1" + "src": "25333:6:0" } ], - "id": 1371, + "id": 863, "name": "VariableDeclaration", - "src": "24647:26:1" + "src": "25333:26:0" } ], - "id": 1372, + "id": 864, "name": "ParameterList", - "src": "24611:63:1" + "src": "25297:63:0" }, { "children": [ @@ -48942,7 +48942,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48954,19 +48954,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1373, + "id": 865, "name": "ElementaryTypeName", - "src": "24693:5:1" + "src": "25379:5:0" } ], - "id": 1374, + "id": 866, "name": "VariableDeclaration", - "src": "24693:12:1" + "src": "25379:12:0" } ], - "id": 1375, + "id": 867, "name": "ParameterList", - "src": "24692:14:1" + "src": "25378:14:0" }, { "children": [ @@ -49007,9 +49007,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1376, + "id": 868, "name": "Identifier", - "src": "24717:7:1" + "src": "25404:7:0" }, { "attributes": { @@ -49037,31 +49037,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1377, + "id": 869, "name": "Identifier", - "src": "24725:10:1" + "src": "25412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1378, + "id": 870, "name": "Identifier", - "src": "24736:6:1" + "src": "25423:6:0" } ], - "id": 1379, + "id": 871, "name": "FunctionCall", - "src": "24725:18:1" + "src": "25412:18:0" }, { "attributes": { @@ -49074,25 +49074,25 @@ "type": "literal_string \"Address: delegate call to non-contract\"", "value": "Address: delegate call to non-contract" }, - "id": 1380, + "id": 872, "name": "Literal", - "src": "24745:40:1" + "src": "25432:40:0" } ], - "id": 1381, + "id": 873, "name": "FunctionCall", - "src": "24717:69:1" + "src": "25404:69:0" } ], - "id": 1382, + "id": 874, "name": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "attributes": { "assignments": [ - 1384, - 1386 + 876, + 878 ] }, "children": [ @@ -49101,7 +49101,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49113,21 +49113,21 @@ "name": "bool", "type": "bool" }, - "id": 1383, + "id": 875, "name": "ElementaryTypeName", - "src": "24857:4:1" + "src": "25547:4:0" } ], - "id": 1384, + "id": 876, "name": "VariableDeclaration", - "src": "24857:12:1" + "src": "25547:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49139,14 +49139,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1385, + "id": 877, "name": "ElementaryTypeName", - "src": "24871:5:1" + "src": "25561:5:0" } ], - "id": 1386, + "id": 878, "name": "VariableDeclaration", - "src": "24871:23:1" + "src": "25561:23:0" }, { "attributes": { @@ -49184,45 +49184,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1387, + "id": 879, "name": "Identifier", - "src": "24898:6:1" + "src": "25588:6:0" } ], - "id": 1388, + "id": 880, "name": "MemberAccess", - "src": "24898:19:1" + "src": "25588:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1369, + "referencedDeclaration": 861, "type": "bytes memory", "value": "data" }, - "id": 1389, + "id": 881, "name": "Identifier", - "src": "24918:4:1" + "src": "25608:4:0" } ], - "id": 1390, + "id": 882, "name": "FunctionCall", - "src": "24898:25:1" + "src": "25588:25:0" } ], - "id": 1391, + "id": 883, "name": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "attributes": { - "functionReturnParameters": 1375 + "functionReturnParameters": 867 }, "children": [ { @@ -49259,72 +49259,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1392, + "id": 884, "name": "Identifier", - "src": "24940:17:1" + "src": "25631:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1384, + "referencedDeclaration": 876, "type": "bool", "value": "success" }, - "id": 1393, + "id": 885, "name": "Identifier", - "src": "24958:7:1" + "src": "25649:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1386, + "referencedDeclaration": 878, "type": "bytes memory", "value": "returndata" }, - "id": 1394, + "id": 886, "name": "Identifier", - "src": "24967:10:1" + "src": "25658:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1371, + "referencedDeclaration": 863, "type": "string memory", "value": "errorMessage" }, - "id": 1395, + "id": 887, "name": "Identifier", - "src": "24979:12:1" + "src": "25670:12:0" } ], - "id": 1396, + "id": 888, "name": "FunctionCall", - "src": "24940:52:1" + "src": "25631:52:0" } ], - "id": 1397, + "id": 889, "name": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ], - "id": 1398, + "id": 890, "name": "Block", - "src": "24707:292:1" + "src": "25393:298:0" } ], - "id": 1399, + "id": 891, "name": "FunctionDefinition", - "src": "24582:417:1" + "src": "25268:423:0" }, { "attributes": { @@ -49335,7 +49335,7 @@ null ], "name": "_verifyCallResult", - "scope": 1430, + "scope": 922, "stateMutability": "pure", "virtual": false, "visibility": "private" @@ -49348,7 +49348,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49360,21 +49360,21 @@ "name": "bool", "type": "bool" }, - "id": 1400, + "id": 892, "name": "ElementaryTypeName", - "src": "25032:4:1" + "src": "25726:4:0" } ], - "id": 1401, + "id": 893, "name": "VariableDeclaration", - "src": "25032:12:1" + "src": "25726:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49386,21 +49386,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1402, + "id": 894, "name": "ElementaryTypeName", - "src": "25046:5:1" + "src": "25740:5:0" } ], - "id": 1403, + "id": 895, "name": "VariableDeclaration", - "src": "25046:23:1" + "src": "25740:23:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -49412,19 +49412,19 @@ "name": "string", "type": "string" }, - "id": 1404, + "id": 896, "name": "ElementaryTypeName", - "src": "25071:6:1" + "src": "25765:6:0" } ], - "id": 1405, + "id": 897, "name": "VariableDeclaration", - "src": "25071:26:1" + "src": "25765:26:0" } ], - "id": 1406, + "id": 898, "name": "ParameterList", - "src": "25031:67:1" + "src": "25725:67:0" }, { "children": [ @@ -49433,7 +49433,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49445,19 +49445,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1407, + "id": 899, "name": "ElementaryTypeName", - "src": "25120:5:1" + "src": "25814:5:0" } ], - "id": 1408, + "id": 900, "name": "VariableDeclaration", - "src": "25120:12:1" + "src": "25814:12:0" } ], - "id": 1409, + "id": 901, "name": "ParameterList", - "src": "25119:14:1" + "src": "25813:14:0" }, { "children": [ @@ -49468,19 +49468,19 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1401, + "referencedDeclaration": 893, "type": "bool", "value": "success" }, - "id": 1410, + "id": 902, "name": "Identifier", - "src": "25148:7:1" + "src": "25843:7:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1409 + "functionReturnParameters": 901 }, "children": [ { @@ -49488,23 +49488,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1411, + "id": 903, "name": "Identifier", - "src": "25178:10:1" + "src": "25874:10:0" } ], - "id": 1412, + "id": 904, "name": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ], - "id": 1413, + "id": 905, "name": "Block", - "src": "25157:42:1" + "src": "25852:44:0" }, { "children": [ @@ -49539,18 +49539,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1414, + "id": 906, "name": "Identifier", - "src": "25289:10:1" + "src": "25988:10:0" } ], - "id": 1415, + "id": 907, "name": "MemberAccess", - "src": "25289:17:1" + "src": "25988:17:0" }, { "attributes": { @@ -49563,14 +49563,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1416, + "id": 908, "name": "Literal", - "src": "25309:1:1" + "src": "26008:1:0" } ], - "id": 1417, + "id": 909, "name": "BinaryOperation", - "src": "25289:21:1" + "src": "25988:21:0" }, { "children": [ @@ -49579,31 +49579,31 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], "operations": "{\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n}" }, "children": [], - "id": 1418, + "id": 910, "name": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ], - "id": 1419, + "id": 911, "name": "Block", - "src": "25312:343:1" + "src": "26011:351:0" }, { "children": [ @@ -49640,67 +49640,67 @@ "type": "function (string memory) pure", "value": "revert" }, - "id": 1420, + "id": 912, "name": "Identifier", - "src": "25679:6:1" + "src": "26387:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1405, + "referencedDeclaration": 897, "type": "string memory", "value": "errorMessage" }, - "id": 1421, + "id": 913, "name": "Identifier", - "src": "25686:12:1" + "src": "26394:12:0" } ], - "id": 1422, + "id": 914, "name": "FunctionCall", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1423, + "id": 915, "name": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1424, + "id": 916, "name": "Block", - "src": "25661:53:1" + "src": "26368:55:0" } ], - "id": 1425, + "id": 917, "name": "IfStatement", - "src": "25285:429:1" + "src": "25984:439:0" } ], - "id": 1426, + "id": 918, "name": "Block", - "src": "25205:519:1" + "src": "25902:532:0" } ], - "id": 1427, + "id": 919, "name": "IfStatement", - "src": "25144:580:1" + "src": "25839:595:0" } ], - "id": 1428, + "id": 920, "name": "Block", - "src": "25134:596:1" + "src": "25828:613:0" } ], - "id": 1429, + "id": 921, "name": "FunctionDefinition", - "src": "25005:725:1" + "src": "25699:742:0" } ], - "id": 1430, + "id": 922, "name": "ContractDefinition", - "src": "18048:7684:1" + "src": "18579:7865:0" }, { "attributes": { @@ -49714,9 +49714,9 @@ ".0" ] }, - "id": 1431, + "id": 923, "name": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "attributes": { @@ -49730,25 +49730,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, - "id": 1432, + "id": 924, "name": "StructuredDocumentation", - "src": "25824:686:1" + "src": "26541:709:0" }, { "attributes": { "canonicalName": "EnumerableSet.Set", "name": "Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -49757,7 +49757,7 @@ "constant": false, "mutability": "mutable", "name": "_values", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "bytes32[]", @@ -49774,26 +49774,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1433, + "id": 925, "name": "ElementaryTypeName", - "src": "27033:7:1" + "src": "27786:7:0" } ], - "id": 1434, + "id": 926, "name": "ArrayTypeName", - "src": "27033:9:1" + "src": "27786:9:0" } ], - "id": 1435, + "id": 927, "name": "VariableDeclaration", - "src": "27033:17:1" + "src": "27786:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -49810,33 +49810,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1436, + "id": 928, "name": "ElementaryTypeName", - "src": "27193:7:1" + "src": "27950:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1437, + "id": 929, "name": "ElementaryTypeName", - "src": "27204:7:1" + "src": "27961:7:0" } ], - "id": 1438, + "id": 930, "name": "Mapping", - "src": "27184:28:1" + "src": "27941:28:0" } ], - "id": 1439, + "id": 931, "name": "VariableDeclaration", - "src": "27184:37:1" + "src": "27941:37:0" } ], - "id": 1440, + "id": 932, "name": "StructDefinition", - "src": "26979:249:1" + "src": "27730:256:0" }, { "attributes": { @@ -49847,7 +49847,7 @@ null ], "name": "_add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -49857,9 +49857,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1441, + "id": 933, "name": "StructuredDocumentation", - "src": "27234:159:1" + "src": "27994:164:0" }, { "children": [ @@ -49868,7 +49868,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -49878,24 +49878,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1442, + "id": 934, "name": "UserDefinedTypeName", - "src": "27412:3:1" + "src": "28178:3:0" } ], - "id": 1443, + "id": 935, "name": "VariableDeclaration", - "src": "27412:15:1" + "src": "28178:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -49907,19 +49907,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1444, + "id": 936, "name": "ElementaryTypeName", - "src": "27429:7:1" + "src": "28195:7:0" } ], - "id": 1445, + "id": 937, "name": "VariableDeclaration", - "src": "27429:13:1" + "src": "28195:13:0" } ], - "id": 1446, + "id": 938, "name": "ParameterList", - "src": "27411:32:1" + "src": "28177:32:0" }, { "children": [ @@ -49928,7 +49928,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49940,19 +49940,19 @@ "name": "bool", "type": "bool" }, - "id": 1447, + "id": 939, "name": "ElementaryTypeName", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1448, + "id": 940, "name": "VariableDeclaration", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1449, + "id": 941, "name": "ParameterList", - "src": "27460:6:1" + "src": "28226:6:0" }, { "children": [ @@ -49988,7 +49988,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -49999,49 +49999,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1450, + "id": 942, "name": "Identifier", - "src": "27482:9:1" + "src": "28249:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1451, + "id": 943, "name": "Identifier", - "src": "27492:3:1" + "src": "28259:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1452, + "id": 944, "name": "Identifier", - "src": "27497:5:1" + "src": "28264:5:0" } ], - "id": 1453, + "id": 945, "name": "FunctionCall", - "src": "27482:21:1" + "src": "28249:21:0" } ], - "id": 1454, + "id": 946, "name": "UnaryOperation", - "src": "27481:22:1" + "src": "28248:22:0" }, { "children": [ @@ -50085,7 +50085,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50094,46 +50094,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1455, + "id": 947, "name": "Identifier", - "src": "27519:3:1" + "src": "28287:3:0" } ], - "id": 1458, + "id": 950, "name": "MemberAccess", - "src": "27519:11:1" + "src": "28287:11:0" } ], - "id": 1459, + "id": 951, "name": "MemberAccess", - "src": "27519:16:1" + "src": "28287:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1460, + "id": 952, "name": "Identifier", - "src": "27536:5:1" + "src": "28304:5:0" } ], - "id": 1461, + "id": 953, "name": "FunctionCall", - "src": "27519:23:1" + "src": "28287:23:0" } ], - "id": 1462, + "id": 954, "name": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "children": [ @@ -50163,7 +50163,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50172,36 +50172,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1463, + "id": 955, "name": "Identifier", - "src": "27677:3:1" + "src": "28448:3:0" } ], - "id": 1466, + "id": 958, "name": "MemberAccess", - "src": "27677:12:1" + "src": "28448:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1465, + "id": 957, "name": "Identifier", - "src": "27690:5:1" + "src": "28461:5:0" } ], - "id": 1467, + "id": 959, "name": "IndexAccess", - "src": "27677:19:1" + "src": "28448:19:0" }, { "attributes": { @@ -50220,7 +50220,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50229,37 +50229,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1468, + "id": 960, "name": "Identifier", - "src": "27699:3:1" + "src": "28470:3:0" } ], - "id": 1469, + "id": 961, "name": "MemberAccess", - "src": "27699:11:1" + "src": "28470:11:0" } ], - "id": 1470, + "id": 962, "name": "MemberAccess", - "src": "27699:18:1" + "src": "28470:18:0" } ], - "id": 1471, + "id": 963, "name": "Assignment", - "src": "27677:40:1" + "src": "28448:40:0" } ], - "id": 1472, + "id": 964, "name": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -50273,25 +50273,25 @@ "type": "bool", "value": "true" }, - "id": 1473, + "id": 965, "name": "Literal", - "src": "27738:4:1" + "src": "28510:4:0" } ], - "id": 1474, + "id": 966, "name": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ], - "id": 1475, + "id": 967, "name": "Block", - "src": "27505:248:1" + "src": "28272:254:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -50305,34 +50305,34 @@ "type": "bool", "value": "false" }, - "id": 1476, + "id": 968, "name": "Literal", - "src": "27780:5:1" + "src": "28554:5:0" } ], - "id": 1477, + "id": 969, "name": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ], - "id": 1478, + "id": 970, "name": "Block", - "src": "27759:37:1" + "src": "28532:39:0" } ], - "id": 1479, + "id": 971, "name": "IfStatement", - "src": "27477:319:1" + "src": "28244:327:0" } ], - "id": 1480, + "id": 972, "name": "Block", - "src": "27467:335:1" + "src": "28233:345:0" } ], - "id": 1481, + "id": 973, "name": "FunctionDefinition", - "src": "27398:404:1" + "src": "28164:414:0" }, { "attributes": { @@ -50343,7 +50343,7 @@ null ], "name": "_remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -50353,9 +50353,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1482, + "id": 974, "name": "StructuredDocumentation", - "src": "27808:157:1" + "src": "28586:162:0" }, { "children": [ @@ -50364,7 +50364,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -50374,24 +50374,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1483, + "id": 975, "name": "UserDefinedTypeName", - "src": "27987:3:1" + "src": "28771:3:0" } ], - "id": 1484, + "id": 976, "name": "VariableDeclaration", - "src": "27987:15:1" + "src": "28771:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50403,19 +50403,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1485, + "id": 977, "name": "ElementaryTypeName", - "src": "28004:7:1" + "src": "28788:7:0" } ], - "id": 1486, + "id": 978, "name": "VariableDeclaration", - "src": "28004:13:1" + "src": "28788:13:0" } ], - "id": 1487, + "id": 979, "name": "ParameterList", - "src": "27986:32:1" + "src": "28770:32:0" }, { "children": [ @@ -50424,7 +50424,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -50436,26 +50436,26 @@ "name": "bool", "type": "bool" }, - "id": 1488, + "id": 980, "name": "ElementaryTypeName", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1489, + "id": 981, "name": "VariableDeclaration", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1490, + "id": 982, "name": "ParameterList", - "src": "28035:6:1" + "src": "28819:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1492 + 984 ] }, "children": [ @@ -50464,7 +50464,7 @@ "constant": false, "mutability": "mutable", "name": "valueIndex", - "scope": 1560, + "scope": 1052, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50476,14 +50476,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1491, + "id": 983, "name": "ElementaryTypeName", - "src": "28152:7:1" + "src": "28938:7:0" } ], - "id": 1492, + "id": 984, "name": "VariableDeclaration", - "src": "28152:18:1" + "src": "28938:18:0" }, { "attributes": { @@ -50501,7 +50501,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50510,41 +50510,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1493, + "id": 985, "name": "Identifier", - "src": "28173:3:1" + "src": "28959:3:0" } ], - "id": 1494, + "id": 986, "name": "MemberAccess", - "src": "28173:12:1" + "src": "28959:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1495, + "id": 987, "name": "Identifier", - "src": "28186:5:1" + "src": "28972:5:0" } ], - "id": 1496, + "id": 988, "name": "IndexAccess", - "src": "28173:19:1" + "src": "28959:19:0" } ], - "id": 1497, + "id": 989, "name": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "children": [ @@ -50567,13 +50567,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1498, + "id": 990, "name": "Identifier", - "src": "28207:10:1" + "src": "28995:10:0" }, { "attributes": { @@ -50586,21 +50586,21 @@ "type": "int_const 0", "value": "0" }, - "id": 1499, + "id": 991, "name": "Literal", - "src": "28221:1:1" + "src": "29009:1:0" } ], - "id": 1500, + "id": 992, "name": "BinaryOperation", - "src": "28207:15:1" + "src": "28995:15:0" }, { "children": [ { "attributes": { "assignments": [ - 1502 + 994 ] }, "children": [ @@ -50609,7 +50609,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50621,14 +50621,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1501, + "id": 993, "name": "ElementaryTypeName", - "src": "28564:7:1" + "src": "29357:7:0" } ], - "id": 1502, + "id": 994, "name": "VariableDeclaration", - "src": "28564:21:1" + "src": "29357:21:0" }, { "attributes": { @@ -50649,13 +50649,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1503, + "id": 995, "name": "Identifier", - "src": "28588:10:1" + "src": "29381:10:0" }, { "attributes": { @@ -50668,24 +50668,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1504, + "id": 996, "name": "Literal", - "src": "28601:1:1" + "src": "29394:1:0" } ], - "id": 1505, + "id": 997, "name": "BinaryOperation", - "src": "28588:14:1" + "src": "29381:14:0" } ], - "id": 1506, + "id": 998, "name": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "attributes": { "assignments": [ - 1508 + 1000 ] }, "children": [ @@ -50694,7 +50694,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50706,14 +50706,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1507, + "id": 999, "name": "ElementaryTypeName", - "src": "28616:7:1" + "src": "29410:7:0" } ], - "id": 1508, + "id": 1000, "name": "VariableDeclaration", - "src": "28616:17:1" + "src": "29410:17:0" }, { "attributes": { @@ -50746,7 +50746,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50755,23 +50755,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1509, + "id": 1001, "name": "Identifier", - "src": "28636:3:1" + "src": "29430:3:0" } ], - "id": 1510, + "id": 1002, "name": "MemberAccess", - "src": "28636:11:1" + "src": "29430:11:0" } ], - "id": 1511, + "id": 1003, "name": "MemberAccess", - "src": "28636:18:1" + "src": "29430:18:0" }, { "attributes": { @@ -50784,24 +50784,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1512, + "id": 1004, "name": "Literal", - "src": "28657:1:1" + "src": "29451:1:0" } ], - "id": 1513, + "id": 1005, "name": "BinaryOperation", - "src": "28636:22:1" + "src": "29430:22:0" } ], - "id": 1514, + "id": 1006, "name": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "attributes": { "assignments": [ - 1516 + 1008 ] }, "children": [ @@ -50810,7 +50810,7 @@ "constant": false, "mutability": "mutable", "name": "lastvalue", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50822,14 +50822,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1515, + "id": 1007, "name": "ElementaryTypeName", - "src": "28898:7:1" + "src": "29697:7:0" } ], - "id": 1516, + "id": 1008, "name": "VariableDeclaration", - "src": "28898:17:1" + "src": "29697:17:0" }, { "attributes": { @@ -50847,7 +50847,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50856,41 +50856,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1517, + "id": 1009, "name": "Identifier", - "src": "28918:3:1" + "src": "29717:3:0" } ], - "id": 1518, + "id": 1010, "name": "MemberAccess", - "src": "28918:11:1" + "src": "29717:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1508, + "referencedDeclaration": 1000, "type": "uint256", "value": "lastIndex" }, - "id": 1519, + "id": 1011, "name": "Identifier", - "src": "28930:9:1" + "src": "29729:9:0" } ], - "id": 1520, + "id": 1012, "name": "IndexAccess", - "src": "28918:22:1" + "src": "29717:22:0" } ], - "id": 1521, + "id": 1013, "name": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "children": [ @@ -50920,7 +50920,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50929,59 +50929,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1522, + "id": 1014, "name": "Identifier", - "src": "29032:3:1" + "src": "29834:3:0" } ], - "id": 1525, + "id": 1017, "name": "MemberAccess", - "src": "29032:11:1" + "src": "29834:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1524, + "id": 1016, "name": "Identifier", - "src": "29044:13:1" + "src": "29846:13:0" } ], - "id": 1526, + "id": 1018, "name": "IndexAccess", - "src": "29032:26:1" + "src": "29834:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1527, + "id": 1019, "name": "Identifier", - "src": "29061:9:1" + "src": "29863:9:0" } ], - "id": 1528, + "id": 1020, "name": "Assignment", - "src": "29032:38:1" + "src": "29834:38:0" } ], - "id": 1529, + "id": 1021, "name": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "children": [ @@ -51011,7 +51011,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -51020,36 +51020,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1530, + "id": 1022, "name": "Identifier", - "src": "29136:3:1" + "src": "29940:3:0" } ], - "id": 1533, + "id": 1025, "name": "MemberAccess", - "src": "29136:12:1" + "src": "29940:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1532, + "id": 1024, "name": "Identifier", - "src": "29149:9:1" + "src": "29953:9:0" } ], - "id": 1534, + "id": 1026, "name": "IndexAccess", - "src": "29136:23:1" + "src": "29940:23:0" }, { "attributes": { @@ -51070,13 +51070,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1535, + "id": 1027, "name": "Identifier", - "src": "29162:13:1" + "src": "29966:13:0" }, { "attributes": { @@ -51089,24 +51089,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1536, + "id": 1028, "name": "Literal", - "src": "29178:1:1" + "src": "29982:1:0" } ], - "id": 1537, + "id": 1029, "name": "BinaryOperation", - "src": "29162:17:1" + "src": "29966:17:0" } ], - "id": 1538, + "id": 1030, "name": "Assignment", - "src": "29136:43:1" + "src": "29940:43:0" } ], - "id": 1539, + "id": 1031, "name": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "children": [ @@ -51148,7 +51148,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51157,33 +51157,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1540, + "id": 1032, "name": "Identifier", - "src": "29285:3:1" + "src": "30092:3:0" } ], - "id": 1543, + "id": 1035, "name": "MemberAccess", - "src": "29285:11:1" + "src": "30092:11:0" } ], - "id": 1544, + "id": 1036, "name": "MemberAccess", - "src": "29285:15:1" + "src": "30092:15:0" } ], - "id": 1545, + "id": 1037, "name": "FunctionCall", - "src": "29285:17:1" + "src": "30092:17:0" } ], - "id": 1546, + "id": 1038, "name": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "children": [ @@ -51214,7 +51214,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -51223,50 +51223,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1547, + "id": 1039, "name": "Identifier", - "src": "29377:3:1" + "src": "30187:3:0" } ], - "id": 1548, + "id": 1040, "name": "MemberAccess", - "src": "29377:12:1" + "src": "30187:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1549, + "id": 1041, "name": "Identifier", - "src": "29390:5:1" + "src": "30200:5:0" } ], - "id": 1550, + "id": 1042, "name": "IndexAccess", - "src": "29377:19:1" + "src": "30187:19:0" } ], - "id": 1551, + "id": 1043, "name": "UnaryOperation", - "src": "29370:26:1" + "src": "30180:26:0" } ], - "id": 1552, + "id": 1044, "name": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -51280,25 +51280,25 @@ "type": "bool", "value": "true" }, - "id": 1553, + "id": 1045, "name": "Literal", - "src": "29418:4:1" + "src": "30230:4:0" } ], - "id": 1554, + "id": 1046, "name": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ], - "id": 1555, + "id": 1047, "name": "Block", - "src": "28224:1209:1" + "src": "29012:1234:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -51312,34 +51312,34 @@ "type": "bool", "value": "false" }, - "id": 1556, + "id": 1048, "name": "Literal", - "src": "29460:5:1" + "src": "30274:5:0" } ], - "id": 1557, + "id": 1049, "name": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ], - "id": 1558, + "id": 1050, "name": "Block", - "src": "29439:37:1" + "src": "30252:39:0" } ], - "id": 1559, + "id": 1051, "name": "IfStatement", - "src": "28203:1273:1" + "src": "28991:1300:0" } ], - "id": 1560, + "id": 1052, "name": "Block", - "src": "28042:1440:1" + "src": "28826:1472:0" } ], - "id": 1561, + "id": 1053, "name": "FunctionDefinition", - "src": "27970:1512:1" + "src": "28754:1544:0" }, { "attributes": { @@ -51350,7 +51350,7 @@ null ], "name": "_contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51360,9 +51360,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1562, + "id": 1054, "name": "StructuredDocumentation", - "src": "29488:70:1" + "src": "30306:72:0" }, { "children": [ @@ -51371,7 +51371,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51381,24 +51381,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1563, + "id": 1055, "name": "UserDefinedTypeName", - "src": "29582:3:1" + "src": "30403:3:0" } ], - "id": 1564, + "id": 1056, "name": "VariableDeclaration", - "src": "29582:15:1" + "src": "30403:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51410,19 +51410,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1565, + "id": 1057, "name": "ElementaryTypeName", - "src": "29599:7:1" + "src": "30420:7:0" } ], - "id": 1566, + "id": 1058, "name": "VariableDeclaration", - "src": "29599:13:1" + "src": "30420:13:0" } ], - "id": 1567, + "id": 1059, "name": "ParameterList", - "src": "29581:32:1" + "src": "30402:32:0" }, { "children": [ @@ -51431,7 +51431,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51443,25 +51443,25 @@ "name": "bool", "type": "bool" }, - "id": 1568, + "id": 1060, "name": "ElementaryTypeName", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1569, + "id": 1061, "name": "VariableDeclaration", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1570, + "id": 1062, "name": "ParameterList", - "src": "29635:6:1" + "src": "30456:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1570 + "functionReturnParameters": 1062 }, "children": [ { @@ -51494,7 +51494,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -51503,36 +51503,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1564, + "referencedDeclaration": 1056, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1571, + "id": 1063, "name": "Identifier", - "src": "29659:3:1" + "src": "30481:3:0" } ], - "id": 1572, + "id": 1064, "name": "MemberAccess", - "src": "29659:12:1" + "src": "30481:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1566, + "referencedDeclaration": 1058, "type": "bytes32", "value": "value" }, - "id": 1573, + "id": 1065, "name": "Identifier", - "src": "29672:5:1" + "src": "30494:5:0" } ], - "id": 1574, + "id": 1066, "name": "IndexAccess", - "src": "29659:19:1" + "src": "30481:19:0" }, { "attributes": { @@ -51545,29 +51545,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1575, + "id": 1067, "name": "Literal", - "src": "29682:1:1" + "src": "30504:1:0" } ], - "id": 1576, + "id": 1068, "name": "BinaryOperation", - "src": "29659:24:1" + "src": "30481:24:0" } ], - "id": 1577, + "id": 1069, "name": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ], - "id": 1578, + "id": 1070, "name": "Block", - "src": "29642:48:1" + "src": "30463:50:0" } ], - "id": 1579, + "id": 1071, "name": "FunctionDefinition", - "src": "29563:127:1" + "src": "30384:129:0" }, { "attributes": { @@ -51578,7 +51578,7 @@ null ], "name": "_length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51588,9 +51588,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1580, + "id": 1072, "name": "StructuredDocumentation", - "src": "29696:70:1" + "src": "30521:72:0" }, { "children": [ @@ -51599,7 +51599,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51609,22 +51609,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1581, + "id": 1073, "name": "UserDefinedTypeName", - "src": "29788:3:1" + "src": "30616:3:0" } ], - "id": 1582, + "id": 1074, "name": "VariableDeclaration", - "src": "29788:15:1" + "src": "30616:15:0" } ], - "id": 1583, + "id": 1075, "name": "ParameterList", - "src": "29787:17:1" + "src": "30615:17:0" }, { "children": [ @@ -51633,7 +51633,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51645,25 +51645,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1584, + "id": 1076, "name": "ElementaryTypeName", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1585, + "id": 1077, "name": "VariableDeclaration", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1586, + "id": 1078, "name": "ParameterList", - "src": "29826:9:1" + "src": "30654:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1586 + "functionReturnParameters": 1078 }, "children": [ { @@ -51683,7 +51683,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51692,38 +51692,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1582, + "referencedDeclaration": 1074, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1587, + "id": 1079, "name": "Identifier", - "src": "29853:3:1" + "src": "30682:3:0" } ], - "id": 1588, + "id": 1080, "name": "MemberAccess", - "src": "29853:11:1" + "src": "30682:11:0" } ], - "id": 1589, + "id": 1081, "name": "MemberAccess", - "src": "29853:18:1" + "src": "30682:18:0" } ], - "id": 1590, + "id": 1082, "name": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ], - "id": 1591, + "id": 1083, "name": "Block", - "src": "29836:42:1" + "src": "30664:44:0" } ], - "id": 1592, + "id": 1084, "name": "FunctionDefinition", - "src": "29771:107:1" + "src": "30599:109:0" }, { "attributes": { @@ -51734,7 +51734,7 @@ null ], "name": "_at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51744,9 +51744,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1593, + "id": 1085, "name": "StructuredDocumentation", - "src": "29883:322:1" + "src": "30715:331:0" }, { "children": [ @@ -51755,7 +51755,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51765,24 +51765,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1594, + "id": 1086, "name": "UserDefinedTypeName", - "src": "30223:3:1" + "src": "31065:3:0" } ], - "id": 1595, + "id": 1087, "name": "VariableDeclaration", - "src": "30223:15:1" + "src": "31065:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51794,19 +51794,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1596, + "id": 1088, "name": "ElementaryTypeName", - "src": "30240:7:1" + "src": "31082:7:0" } ], - "id": 1597, + "id": 1089, "name": "VariableDeclaration", - "src": "30240:13:1" + "src": "31082:13:0" } ], - "id": 1598, + "id": 1090, "name": "ParameterList", - "src": "30222:32:1" + "src": "31064:32:0" }, { "children": [ @@ -51815,7 +51815,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51827,19 +51827,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1599, + "id": 1091, "name": "ElementaryTypeName", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1600, + "id": 1092, "name": "VariableDeclaration", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1601, + "id": 1093, "name": "ParameterList", - "src": "30276:9:1" + "src": "31118:9:0" }, { "children": [ @@ -51880,9 +51880,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1602, + "id": 1094, "name": "Identifier", - "src": "30296:7:1" + "src": "31139:7:0" }, { "attributes": { @@ -51915,7 +51915,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51924,41 +51924,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1603, + "id": 1095, "name": "Identifier", - "src": "30304:3:1" + "src": "31147:3:0" } ], - "id": 1604, + "id": 1096, "name": "MemberAccess", - "src": "30304:11:1" + "src": "31147:11:0" } ], - "id": 1605, + "id": 1097, "name": "MemberAccess", - "src": "30304:18:1" + "src": "31147:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1606, + "id": 1098, "name": "Identifier", - "src": "30325:5:1" + "src": "31168:5:0" } ], - "id": 1607, + "id": 1099, "name": "BinaryOperation", - "src": "30304:26:1" + "src": "31147:26:0" }, { "attributes": { @@ -51971,23 +51971,23 @@ "type": "literal_string \"EnumerableSet: index out of bounds\"", "value": "EnumerableSet: index out of bounds" }, - "id": 1608, + "id": 1100, "name": "Literal", - "src": "30332:36:1" + "src": "31175:36:0" } ], - "id": 1609, + "id": 1101, "name": "FunctionCall", - "src": "30296:73:1" + "src": "31139:73:0" } ], - "id": 1610, + "id": 1102, "name": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "attributes": { - "functionReturnParameters": 1601 + "functionReturnParameters": 1093 }, "children": [ { @@ -52006,7 +52006,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -52015,57 +52015,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1611, + "id": 1103, "name": "Identifier", - "src": "30386:3:1" + "src": "31230:3:0" } ], - "id": 1612, + "id": 1104, "name": "MemberAccess", - "src": "30386:11:1" + "src": "31230:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1613, + "id": 1105, "name": "Identifier", - "src": "30398:5:1" + "src": "31242:5:0" } ], - "id": 1614, + "id": 1106, "name": "IndexAccess", - "src": "30386:18:1" + "src": "31230:18:0" } ], - "id": 1615, + "id": 1107, "name": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ], - "id": 1616, + "id": 1108, "name": "Block", - "src": "30286:125:1" + "src": "31128:128:0" } ], - "id": 1617, + "id": 1109, "name": "FunctionDefinition", - "src": "30210:201:1" + "src": "31052:204:0" }, { "attributes": { "canonicalName": "EnumerableSet.Bytes32Set", "name": "Bytes32Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -52074,7 +52074,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1620, + "scope": 1112, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -52084,22 +52084,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1618, + "id": 1110, "name": "UserDefinedTypeName", - "src": "30464:3:1" + "src": "31314:3:0" } ], - "id": 1619, + "id": 1111, "name": "VariableDeclaration", - "src": "30464:10:1" + "src": "31314:10:0" } ], - "id": 1620, + "id": 1112, "name": "StructDefinition", - "src": "30436:45:1" + "src": "31285:47:0" }, { "attributes": { @@ -52110,7 +52110,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52120,9 +52120,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1621, + "id": 1113, "name": "StructuredDocumentation", - "src": "30487:159:1" + "src": "31340:164:0" }, { "children": [ @@ -52131,7 +52131,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52141,24 +52141,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1622, + "id": 1114, "name": "UserDefinedTypeName", - "src": "30664:10:1" + "src": "31523:10:0" } ], - "id": 1623, + "id": 1115, "name": "VariableDeclaration", - "src": "30664:22:1" + "src": "31523:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52170,19 +52170,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1624, + "id": 1116, "name": "ElementaryTypeName", - "src": "30688:7:1" + "src": "31547:7:0" } ], - "id": 1625, + "id": 1117, "name": "VariableDeclaration", - "src": "30688:13:1" + "src": "31547:13:0" } ], - "id": 1626, + "id": 1118, "name": "ParameterList", - "src": "30663:39:1" + "src": "31522:39:0" }, { "children": [ @@ -52191,7 +52191,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52203,25 +52203,25 @@ "name": "bool", "type": "bool" }, - "id": 1627, + "id": 1119, "name": "ElementaryTypeName", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1628, + "id": 1120, "name": "VariableDeclaration", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1629, + "id": 1121, "name": "ParameterList", - "src": "30720:6:1" + "src": "31579:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1629 + "functionReturnParameters": 1121 }, "children": [ { @@ -52243,7 +52243,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52254,13 +52254,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1630, + "id": 1122, "name": "Identifier", - "src": "30744:4:1" + "src": "31604:4:0" }, { "attributes": { @@ -52269,7 +52269,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52278,51 +52278,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1623, + "referencedDeclaration": 1115, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1631, + "id": 1123, "name": "Identifier", - "src": "30749:3:1" + "src": "31609:3:0" } ], - "id": 1632, + "id": 1124, "name": "MemberAccess", - "src": "30749:10:1" + "src": "31609:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1625, + "referencedDeclaration": 1117, "type": "bytes32", "value": "value" }, - "id": 1633, + "id": 1125, "name": "Identifier", - "src": "30761:5:1" + "src": "31621:5:0" } ], - "id": 1634, + "id": 1126, "name": "FunctionCall", - "src": "30744:23:1" + "src": "31604:23:0" } ], - "id": 1635, + "id": 1127, "name": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ], - "id": 1636, + "id": 1128, "name": "Block", - "src": "30727:47:1" + "src": "31586:49:0" } ], - "id": 1637, + "id": 1129, "name": "FunctionDefinition", - "src": "30651:123:1" + "src": "31510:125:0" }, { "attributes": { @@ -52333,7 +52333,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52343,9 +52343,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1638, + "id": 1130, "name": "StructuredDocumentation", - "src": "30780:157:1" + "src": "31643:162:0" }, { "children": [ @@ -52354,7 +52354,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52364,24 +52364,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1639, + "id": 1131, "name": "UserDefinedTypeName", - "src": "30958:10:1" + "src": "31827:10:0" } ], - "id": 1640, + "id": 1132, "name": "VariableDeclaration", - "src": "30958:22:1" + "src": "31827:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52393,19 +52393,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1641, + "id": 1133, "name": "ElementaryTypeName", - "src": "30982:7:1" + "src": "31851:7:0" } ], - "id": 1642, + "id": 1134, "name": "VariableDeclaration", - "src": "30982:13:1" + "src": "31851:13:0" } ], - "id": 1643, + "id": 1135, "name": "ParameterList", - "src": "30957:39:1" + "src": "31826:39:0" }, { "children": [ @@ -52414,7 +52414,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52426,25 +52426,25 @@ "name": "bool", "type": "bool" }, - "id": 1644, + "id": 1136, "name": "ElementaryTypeName", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1645, + "id": 1137, "name": "VariableDeclaration", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1646, + "id": 1138, "name": "ParameterList", - "src": "31014:6:1" + "src": "31883:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1646 + "functionReturnParameters": 1138 }, "children": [ { @@ -52466,7 +52466,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52477,13 +52477,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1647, + "id": 1139, "name": "Identifier", - "src": "31038:7:1" + "src": "31908:7:0" }, { "attributes": { @@ -52492,7 +52492,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52501,51 +52501,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1640, + "referencedDeclaration": 1132, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1648, + "id": 1140, "name": "Identifier", - "src": "31046:3:1" + "src": "31916:3:0" } ], - "id": 1649, + "id": 1141, "name": "MemberAccess", - "src": "31046:10:1" + "src": "31916:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1642, + "referencedDeclaration": 1134, "type": "bytes32", "value": "value" }, - "id": 1650, + "id": 1142, "name": "Identifier", - "src": "31058:5:1" + "src": "31928:5:0" } ], - "id": 1651, + "id": 1143, "name": "FunctionCall", - "src": "31038:26:1" + "src": "31908:26:0" } ], - "id": 1652, + "id": 1144, "name": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ], - "id": 1653, + "id": 1145, "name": "Block", - "src": "31021:50:1" + "src": "31890:52:0" } ], - "id": 1654, + "id": 1146, "name": "FunctionDefinition", - "src": "30942:129:1" + "src": "31811:131:0" }, { "attributes": { @@ -52556,7 +52556,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52566,9 +52566,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1655, + "id": 1147, "name": "StructuredDocumentation", - "src": "31077:70:1" + "src": "31950:72:0" }, { "children": [ @@ -52577,7 +52577,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52587,24 +52587,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1656, + "id": 1148, "name": "UserDefinedTypeName", - "src": "31170:10:1" + "src": "32046:10:0" } ], - "id": 1657, + "id": 1149, "name": "VariableDeclaration", - "src": "31170:22:1" + "src": "32046:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52616,19 +52616,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1658, + "id": 1150, "name": "ElementaryTypeName", - "src": "31194:7:1" + "src": "32070:7:0" } ], - "id": 1659, + "id": 1151, "name": "VariableDeclaration", - "src": "31194:13:1" + "src": "32070:13:0" } ], - "id": 1660, + "id": 1152, "name": "ParameterList", - "src": "31169:39:1" + "src": "32045:39:0" }, { "children": [ @@ -52637,7 +52637,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52649,25 +52649,25 @@ "name": "bool", "type": "bool" }, - "id": 1661, + "id": 1153, "name": "ElementaryTypeName", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1662, + "id": 1154, "name": "VariableDeclaration", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1663, + "id": 1155, "name": "ParameterList", - "src": "31231:6:1" + "src": "32107:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1663 + "functionReturnParameters": 1155 }, "children": [ { @@ -52689,7 +52689,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52700,13 +52700,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1664, + "id": 1156, "name": "Identifier", - "src": "31255:9:1" + "src": "32132:9:0" }, { "attributes": { @@ -52715,7 +52715,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52724,51 +52724,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1657, + "referencedDeclaration": 1149, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1665, + "id": 1157, "name": "Identifier", - "src": "31265:3:1" + "src": "32142:3:0" } ], - "id": 1666, + "id": 1158, "name": "MemberAccess", - "src": "31265:10:1" + "src": "32142:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1659, + "referencedDeclaration": 1151, "type": "bytes32", "value": "value" }, - "id": 1667, + "id": 1159, "name": "Identifier", - "src": "31277:5:1" + "src": "32154:5:0" } ], - "id": 1668, + "id": 1160, "name": "FunctionCall", - "src": "31255:28:1" + "src": "32132:28:0" } ], - "id": 1669, + "id": 1161, "name": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ], - "id": 1670, + "id": 1162, "name": "Block", - "src": "31238:52:1" + "src": "32114:54:0" } ], - "id": 1671, + "id": 1163, "name": "FunctionDefinition", - "src": "31152:138:1" + "src": "32028:140:0" }, { "attributes": { @@ -52779,7 +52779,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52789,9 +52789,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1672, + "id": 1164, "name": "StructuredDocumentation", - "src": "31296:70:1" + "src": "32176:72:0" }, { "children": [ @@ -52800,7 +52800,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52810,22 +52810,22 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1673, + "id": 1165, "name": "UserDefinedTypeName", - "src": "31387:10:1" + "src": "32270:10:0" } ], - "id": 1674, + "id": 1166, "name": "VariableDeclaration", - "src": "31387:22:1" + "src": "32270:22:0" } ], - "id": 1675, + "id": 1167, "name": "ParameterList", - "src": "31386:24:1" + "src": "32269:24:0" }, { "children": [ @@ -52834,7 +52834,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52846,25 +52846,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1676, + "id": 1168, "name": "ElementaryTypeName", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1677, + "id": 1169, "name": "VariableDeclaration", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1678, + "id": 1170, "name": "ParameterList", - "src": "31433:9:1" + "src": "32316:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1678 + "functionReturnParameters": 1170 }, "children": [ { @@ -52886,20 +52886,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1679, + "id": 1171, "name": "Identifier", - "src": "31460:7:1" + "src": "32344:7:0" }, { "attributes": { @@ -52908,7 +52908,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52917,38 +52917,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1674, + "referencedDeclaration": 1166, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1680, + "id": 1172, "name": "Identifier", - "src": "31468:3:1" + "src": "32352:3:0" } ], - "id": 1681, + "id": 1173, "name": "MemberAccess", - "src": "31468:10:1" + "src": "32352:10:0" } ], - "id": 1682, + "id": 1174, "name": "FunctionCall", - "src": "31460:19:1" + "src": "32344:19:0" } ], - "id": 1683, + "id": 1175, "name": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ], - "id": 1684, + "id": 1176, "name": "Block", - "src": "31443:43:1" + "src": "32326:45:0" } ], - "id": 1685, + "id": 1177, "name": "FunctionDefinition", - "src": "31371:115:1" + "src": "32254:117:0" }, { "attributes": { @@ -52959,7 +52959,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52969,9 +52969,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1686, + "id": 1178, "name": "StructuredDocumentation", - "src": "31491:322:1" + "src": "32378:331:0" }, { "children": [ @@ -52980,7 +52980,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52990,24 +52990,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1687, + "id": 1179, "name": "UserDefinedTypeName", - "src": "31830:10:1" + "src": "32727:10:0" } ], - "id": 1688, + "id": 1180, "name": "VariableDeclaration", - "src": "31830:22:1" + "src": "32727:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -53019,19 +53019,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1689, + "id": 1181, "name": "ElementaryTypeName", - "src": "31854:7:1" + "src": "32751:7:0" } ], - "id": 1690, + "id": 1182, "name": "VariableDeclaration", - "src": "31854:13:1" + "src": "32751:13:0" } ], - "id": 1691, + "id": 1183, "name": "ParameterList", - "src": "31829:39:1" + "src": "32726:39:0" }, { "children": [ @@ -53040,7 +53040,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -53052,25 +53052,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1692, + "id": 1184, "name": "ElementaryTypeName", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1693, + "id": 1185, "name": "VariableDeclaration", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1694, + "id": 1186, "name": "ParameterList", - "src": "31891:9:1" + "src": "32788:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1694 + "functionReturnParameters": 1186 }, "children": [ { @@ -53092,7 +53092,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53103,13 +53103,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1695, + "id": 1187, "name": "Identifier", - "src": "31918:3:1" + "src": "32816:3:0" }, { "attributes": { @@ -53118,7 +53118,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53127,57 +53127,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1688, + "referencedDeclaration": 1180, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1696, + "id": 1188, "name": "Identifier", - "src": "31922:3:1" + "src": "32820:3:0" } ], - "id": 1697, + "id": 1189, "name": "MemberAccess", - "src": "31922:10:1" + "src": "32820:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1690, + "referencedDeclaration": 1182, "type": "uint256", "value": "index" }, - "id": 1698, + "id": 1190, "name": "Identifier", - "src": "31934:5:1" + "src": "32832:5:0" } ], - "id": 1699, + "id": 1191, "name": "FunctionCall", - "src": "31918:22:1" + "src": "32816:22:0" } ], - "id": 1700, + "id": 1192, "name": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ], - "id": 1701, + "id": 1193, "name": "Block", - "src": "31901:46:1" + "src": "32798:48:0" } ], - "id": 1702, + "id": 1194, "name": "FunctionDefinition", - "src": "31818:129:1" + "src": "32715:131:0" }, { "attributes": { "canonicalName": "EnumerableSet.AddressSet", "name": "AddressSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -53186,7 +53186,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1705, + "scope": 1197, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -53196,22 +53196,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1703, + "id": 1195, "name": "UserDefinedTypeName", - "src": "32000:3:1" + "src": "32904:3:0" } ], - "id": 1704, + "id": 1196, "name": "VariableDeclaration", - "src": "32000:10:1" + "src": "32904:10:0" } ], - "id": 1705, + "id": 1197, "name": "StructDefinition", - "src": "31972:45:1" + "src": "32875:47:0" }, { "attributes": { @@ -53222,7 +53222,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -53232,9 +53232,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1706, + "id": 1198, "name": "StructuredDocumentation", - "src": "32023:159:1" + "src": "32930:164:0" }, { "children": [ @@ -53243,7 +53243,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53253,24 +53253,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1707, + "id": 1199, "name": "UserDefinedTypeName", - "src": "32200:10:1" + "src": "33113:10:0" } ], - "id": 1708, + "id": 1200, "name": "VariableDeclaration", - "src": "32200:22:1" + "src": "33113:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53283,19 +53283,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1709, + "id": 1201, "name": "ElementaryTypeName", - "src": "32224:7:1" + "src": "33137:7:0" } ], - "id": 1710, + "id": 1202, "name": "VariableDeclaration", - "src": "32224:13:1" + "src": "33137:13:0" } ], - "id": 1711, + "id": 1203, "name": "ParameterList", - "src": "32199:39:1" + "src": "33112:39:0" }, { "children": [ @@ -53304,7 +53304,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53316,25 +53316,25 @@ "name": "bool", "type": "bool" }, - "id": 1712, + "id": 1204, "name": "ElementaryTypeName", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1713, + "id": 1205, "name": "VariableDeclaration", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1714, + "id": 1206, "name": "ParameterList", - "src": "32256:6:1" + "src": "33169:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1714 + "functionReturnParameters": 1206 }, "children": [ { @@ -53356,7 +53356,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53367,13 +53367,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1715, + "id": 1207, "name": "Identifier", - "src": "32280:4:1" + "src": "33194:4:0" }, { "attributes": { @@ -53382,7 +53382,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53391,18 +53391,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1708, + "referencedDeclaration": 1200, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1716, + "id": 1208, "name": "Identifier", - "src": "32285:3:1" + "src": "33199:3:0" } ], - "id": 1717, + "id": 1209, "name": "MemberAccess", - "src": "32285:10:1" + "src": "33199:10:0" }, { "attributes": { @@ -53438,14 +53438,14 @@ "attributes": { "name": "bytes32" }, - "id": 1718, + "id": 1210, "name": "ElementaryTypeName", - "src": "32297:7:1" + "src": "33211:7:0" } ], - "id": 1719, + "id": 1211, "name": "ElementaryTypeNameExpression", - "src": "32297:7:1" + "src": "33211:7:0" }, { "attributes": { @@ -53481,14 +53481,14 @@ "attributes": { "name": "uint256" }, - "id": 1720, + "id": 1212, "name": "ElementaryTypeName", - "src": "32305:7:1" + "src": "33219:7:0" } ], - "id": 1721, + "id": 1213, "name": "ElementaryTypeNameExpression", - "src": "32305:7:1" + "src": "33219:7:0" }, { "attributes": { @@ -53524,62 +53524,62 @@ "attributes": { "name": "uint160" }, - "id": 1722, + "id": 1214, "name": "ElementaryTypeName", - "src": "32313:7:1" + "src": "33227:7:0" } ], - "id": 1723, + "id": 1215, "name": "ElementaryTypeNameExpression", - "src": "32313:7:1" + "src": "33227:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1710, + "referencedDeclaration": 1202, "type": "address", "value": "value" }, - "id": 1724, + "id": 1216, "name": "Identifier", - "src": "32321:5:1" + "src": "33235:5:0" } ], - "id": 1725, + "id": 1217, "name": "FunctionCall", - "src": "32313:14:1" + "src": "33227:14:0" } ], - "id": 1726, + "id": 1218, "name": "FunctionCall", - "src": "32305:23:1" + "src": "33219:23:0" } ], - "id": 1727, + "id": 1219, "name": "FunctionCall", - "src": "32297:32:1" + "src": "33211:32:0" } ], - "id": 1728, + "id": 1220, "name": "FunctionCall", - "src": "32280:50:1" + "src": "33194:50:0" } ], - "id": 1729, + "id": 1221, "name": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ], - "id": 1730, + "id": 1222, "name": "Block", - "src": "32263:74:1" + "src": "33176:76:0" } ], - "id": 1731, + "id": 1223, "name": "FunctionDefinition", - "src": "32187:150:1" + "src": "33100:152:0" }, { "attributes": { @@ -53590,7 +53590,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -53600,9 +53600,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1732, + "id": 1224, "name": "StructuredDocumentation", - "src": "32343:157:1" + "src": "33260:162:0" }, { "children": [ @@ -53611,7 +53611,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53621,24 +53621,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1733, + "id": 1225, "name": "UserDefinedTypeName", - "src": "32521:10:1" + "src": "33444:10:0" } ], - "id": 1734, + "id": 1226, "name": "VariableDeclaration", - "src": "32521:22:1" + "src": "33444:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53651,19 +53651,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1735, + "id": 1227, "name": "ElementaryTypeName", - "src": "32545:7:1" + "src": "33468:7:0" } ], - "id": 1736, + "id": 1228, "name": "VariableDeclaration", - "src": "32545:13:1" + "src": "33468:13:0" } ], - "id": 1737, + "id": 1229, "name": "ParameterList", - "src": "32520:39:1" + "src": "33443:39:0" }, { "children": [ @@ -53672,7 +53672,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53684,25 +53684,25 @@ "name": "bool", "type": "bool" }, - "id": 1738, + "id": 1230, "name": "ElementaryTypeName", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1739, + "id": 1231, "name": "VariableDeclaration", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1740, + "id": 1232, "name": "ParameterList", - "src": "32577:6:1" + "src": "33500:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1740 + "functionReturnParameters": 1232 }, "children": [ { @@ -53724,7 +53724,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53735,13 +53735,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1741, + "id": 1233, "name": "Identifier", - "src": "32601:7:1" + "src": "33525:7:0" }, { "attributes": { @@ -53750,7 +53750,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53759,18 +53759,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1734, + "referencedDeclaration": 1226, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1742, + "id": 1234, "name": "Identifier", - "src": "32609:3:1" + "src": "33533:3:0" } ], - "id": 1743, + "id": 1235, "name": "MemberAccess", - "src": "32609:10:1" + "src": "33533:10:0" }, { "attributes": { @@ -53806,14 +53806,14 @@ "attributes": { "name": "bytes32" }, - "id": 1744, + "id": 1236, "name": "ElementaryTypeName", - "src": "32621:7:1" + "src": "33545:7:0" } ], - "id": 1745, + "id": 1237, "name": "ElementaryTypeNameExpression", - "src": "32621:7:1" + "src": "33545:7:0" }, { "attributes": { @@ -53849,14 +53849,14 @@ "attributes": { "name": "uint256" }, - "id": 1746, + "id": 1238, "name": "ElementaryTypeName", - "src": "32629:7:1" + "src": "33553:7:0" } ], - "id": 1747, + "id": 1239, "name": "ElementaryTypeNameExpression", - "src": "32629:7:1" + "src": "33553:7:0" }, { "attributes": { @@ -53892,62 +53892,62 @@ "attributes": { "name": "uint160" }, - "id": 1748, + "id": 1240, "name": "ElementaryTypeName", - "src": "32637:7:1" + "src": "33561:7:0" } ], - "id": 1749, + "id": 1241, "name": "ElementaryTypeNameExpression", - "src": "32637:7:1" + "src": "33561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1736, + "referencedDeclaration": 1228, "type": "address", "value": "value" }, - "id": 1750, + "id": 1242, "name": "Identifier", - "src": "32645:5:1" + "src": "33569:5:0" } ], - "id": 1751, + "id": 1243, "name": "FunctionCall", - "src": "32637:14:1" + "src": "33561:14:0" } ], - "id": 1752, + "id": 1244, "name": "FunctionCall", - "src": "32629:23:1" + "src": "33553:23:0" } ], - "id": 1753, + "id": 1245, "name": "FunctionCall", - "src": "32621:32:1" + "src": "33545:32:0" } ], - "id": 1754, + "id": 1246, "name": "FunctionCall", - "src": "32601:53:1" + "src": "33525:53:0" } ], - "id": 1755, + "id": 1247, "name": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ], - "id": 1756, + "id": 1248, "name": "Block", - "src": "32584:77:1" + "src": "33507:79:0" } ], - "id": 1757, + "id": 1249, "name": "FunctionDefinition", - "src": "32505:156:1" + "src": "33428:158:0" }, { "attributes": { @@ -53958,7 +53958,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -53968,9 +53968,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1758, + "id": 1250, "name": "StructuredDocumentation", - "src": "32667:70:1" + "src": "33594:72:0" }, { "children": [ @@ -53979,7 +53979,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53989,24 +53989,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1759, + "id": 1251, "name": "UserDefinedTypeName", - "src": "32760:10:1" + "src": "33690:10:0" } ], - "id": 1760, + "id": 1252, "name": "VariableDeclaration", - "src": "32760:22:1" + "src": "33690:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -54019,19 +54019,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1761, + "id": 1253, "name": "ElementaryTypeName", - "src": "32784:7:1" + "src": "33714:7:0" } ], - "id": 1762, + "id": 1254, "name": "VariableDeclaration", - "src": "32784:13:1" + "src": "33714:13:0" } ], - "id": 1763, + "id": 1255, "name": "ParameterList", - "src": "32759:39:1" + "src": "33689:39:0" }, { "children": [ @@ -54040,7 +54040,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -54052,25 +54052,25 @@ "name": "bool", "type": "bool" }, - "id": 1764, + "id": 1256, "name": "ElementaryTypeName", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1765, + "id": 1257, "name": "VariableDeclaration", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1766, + "id": 1258, "name": "ParameterList", - "src": "32821:6:1" + "src": "33751:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1766 + "functionReturnParameters": 1258 }, "children": [ { @@ -54092,7 +54092,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54103,13 +54103,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1767, + "id": 1259, "name": "Identifier", - "src": "32845:9:1" + "src": "33776:9:0" }, { "attributes": { @@ -54118,7 +54118,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54127,18 +54127,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1760, + "referencedDeclaration": 1252, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1768, + "id": 1260, "name": "Identifier", - "src": "32855:3:1" + "src": "33786:3:0" } ], - "id": 1769, + "id": 1261, "name": "MemberAccess", - "src": "32855:10:1" + "src": "33786:10:0" }, { "attributes": { @@ -54174,14 +54174,14 @@ "attributes": { "name": "bytes32" }, - "id": 1770, + "id": 1262, "name": "ElementaryTypeName", - "src": "32867:7:1" + "src": "33798:7:0" } ], - "id": 1771, + "id": 1263, "name": "ElementaryTypeNameExpression", - "src": "32867:7:1" + "src": "33798:7:0" }, { "attributes": { @@ -54217,14 +54217,14 @@ "attributes": { "name": "uint256" }, - "id": 1772, + "id": 1264, "name": "ElementaryTypeName", - "src": "32875:7:1" + "src": "33806:7:0" } ], - "id": 1773, + "id": 1265, "name": "ElementaryTypeNameExpression", - "src": "32875:7:1" + "src": "33806:7:0" }, { "attributes": { @@ -54260,62 +54260,62 @@ "attributes": { "name": "uint160" }, - "id": 1774, + "id": 1266, "name": "ElementaryTypeName", - "src": "32883:7:1" + "src": "33814:7:0" } ], - "id": 1775, + "id": 1267, "name": "ElementaryTypeNameExpression", - "src": "32883:7:1" + "src": "33814:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1762, + "referencedDeclaration": 1254, "type": "address", "value": "value" }, - "id": 1776, + "id": 1268, "name": "Identifier", - "src": "32891:5:1" + "src": "33822:5:0" } ], - "id": 1777, + "id": 1269, "name": "FunctionCall", - "src": "32883:14:1" + "src": "33814:14:0" } ], - "id": 1778, + "id": 1270, "name": "FunctionCall", - "src": "32875:23:1" + "src": "33806:23:0" } ], - "id": 1779, + "id": 1271, "name": "FunctionCall", - "src": "32867:32:1" + "src": "33798:32:0" } ], - "id": 1780, + "id": 1272, "name": "FunctionCall", - "src": "32845:55:1" + "src": "33776:55:0" } ], - "id": 1781, + "id": 1273, "name": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ], - "id": 1782, + "id": 1274, "name": "Block", - "src": "32828:79:1" + "src": "33758:81:0" } ], - "id": 1783, + "id": 1275, "name": "FunctionDefinition", - "src": "32742:165:1" + "src": "33672:167:0" }, { "attributes": { @@ -54326,7 +54326,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54336,9 +54336,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1784, + "id": 1276, "name": "StructuredDocumentation", - "src": "32913:70:1" + "src": "33847:72:0" }, { "children": [ @@ -54347,7 +54347,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54357,22 +54357,22 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1785, + "id": 1277, "name": "UserDefinedTypeName", - "src": "33004:10:1" + "src": "33941:10:0" } ], - "id": 1786, + "id": 1278, "name": "VariableDeclaration", - "src": "33004:22:1" + "src": "33941:22:0" } ], - "id": 1787, + "id": 1279, "name": "ParameterList", - "src": "33003:24:1" + "src": "33940:24:0" }, { "children": [ @@ -54381,7 +54381,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54393,25 +54393,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1788, + "id": 1280, "name": "ElementaryTypeName", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1789, + "id": 1281, "name": "VariableDeclaration", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1790, + "id": 1282, "name": "ParameterList", - "src": "33050:9:1" + "src": "33987:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1790 + "functionReturnParameters": 1282 }, "children": [ { @@ -54433,20 +54433,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1791, + "id": 1283, "name": "Identifier", - "src": "33077:7:1" + "src": "34015:7:0" }, { "attributes": { @@ -54455,7 +54455,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54464,38 +54464,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1786, + "referencedDeclaration": 1278, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1792, + "id": 1284, "name": "Identifier", - "src": "33085:3:1" + "src": "34023:3:0" } ], - "id": 1793, + "id": 1285, "name": "MemberAccess", - "src": "33085:10:1" + "src": "34023:10:0" } ], - "id": 1794, + "id": 1286, "name": "FunctionCall", - "src": "33077:19:1" + "src": "34015:19:0" } ], - "id": 1795, + "id": 1287, "name": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ], - "id": 1796, + "id": 1288, "name": "Block", - "src": "33060:43:1" + "src": "33997:45:0" } ], - "id": 1797, + "id": 1289, "name": "FunctionDefinition", - "src": "32988:115:1" + "src": "33925:117:0" }, { "attributes": { @@ -54506,7 +54506,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54516,9 +54516,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1798, + "id": 1290, "name": "StructuredDocumentation", - "src": "33108:322:1" + "src": "34049:331:0" }, { "children": [ @@ -54527,7 +54527,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54537,24 +54537,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1799, + "id": 1291, "name": "UserDefinedTypeName", - "src": "33447:10:1" + "src": "34398:10:0" } ], - "id": 1800, + "id": 1292, "name": "VariableDeclaration", - "src": "33447:22:1" + "src": "34398:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54566,19 +54566,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1801, + "id": 1293, "name": "ElementaryTypeName", - "src": "33471:7:1" + "src": "34422:7:0" } ], - "id": 1802, + "id": 1294, "name": "VariableDeclaration", - "src": "33471:13:1" + "src": "34422:13:0" } ], - "id": 1803, + "id": 1295, "name": "ParameterList", - "src": "33446:39:1" + "src": "34397:39:0" }, { "children": [ @@ -54587,7 +54587,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -54600,25 +54600,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1804, + "id": 1296, "name": "ElementaryTypeName", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1805, + "id": 1297, "name": "VariableDeclaration", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1806, + "id": 1298, "name": "ParameterList", - "src": "33508:9:1" + "src": "34459:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1806 + "functionReturnParameters": 1298 }, "children": [ { @@ -54655,14 +54655,14 @@ "attributes": { "name": "address" }, - "id": 1807, + "id": 1299, "name": "ElementaryTypeName", - "src": "33535:7:1" + "src": "34487:7:0" } ], - "id": 1808, + "id": 1300, "name": "ElementaryTypeNameExpression", - "src": "33535:7:1" + "src": "34487:7:0" }, { "attributes": { @@ -54698,14 +54698,14 @@ "attributes": { "name": "uint160" }, - "id": 1809, + "id": 1301, "name": "ElementaryTypeName", - "src": "33543:7:1" + "src": "34495:7:0" } ], - "id": 1810, + "id": 1302, "name": "ElementaryTypeNameExpression", - "src": "33543:7:1" + "src": "34495:7:0" }, { "attributes": { @@ -54741,14 +54741,14 @@ "attributes": { "name": "uint256" }, - "id": 1811, + "id": 1303, "name": "ElementaryTypeName", - "src": "33551:7:1" + "src": "34503:7:0" } ], - "id": 1812, + "id": 1304, "name": "ElementaryTypeNameExpression", - "src": "33551:7:1" + "src": "34503:7:0" }, { "attributes": { @@ -54769,7 +54769,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54780,13 +54780,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1813, + "id": 1305, "name": "Identifier", - "src": "33559:3:1" + "src": "34511:3:0" }, { "attributes": { @@ -54795,7 +54795,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54804,72 +54804,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1800, + "referencedDeclaration": 1292, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1814, + "id": 1306, "name": "Identifier", - "src": "33563:3:1" + "src": "34515:3:0" } ], - "id": 1815, + "id": 1307, "name": "MemberAccess", - "src": "33563:10:1" + "src": "34515:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1802, + "referencedDeclaration": 1294, "type": "uint256", "value": "index" }, - "id": 1816, + "id": 1308, "name": "Identifier", - "src": "33575:5:1" + "src": "34527:5:0" } ], - "id": 1817, + "id": 1309, "name": "FunctionCall", - "src": "33559:22:1" + "src": "34511:22:0" } ], - "id": 1818, + "id": 1310, "name": "FunctionCall", - "src": "33551:31:1" + "src": "34503:31:0" } ], - "id": 1819, + "id": 1311, "name": "FunctionCall", - "src": "33543:40:1" + "src": "34495:40:0" } ], - "id": 1820, + "id": 1312, "name": "FunctionCall", - "src": "33535:49:1" + "src": "34487:49:0" } ], - "id": 1821, + "id": 1313, "name": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ], - "id": 1822, + "id": 1314, "name": "Block", - "src": "33518:73:1" + "src": "34469:75:0" } ], - "id": 1823, + "id": 1315, "name": "FunctionDefinition", - "src": "33435:156:1" + "src": "34386:158:0" }, { "attributes": { "canonicalName": "EnumerableSet.UintSet", "name": "UintSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -54878,7 +54878,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1826, + "scope": 1318, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -54888,22 +54888,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1824, + "id": 1316, "name": "UserDefinedTypeName", - "src": "33639:3:1" + "src": "34598:3:0" } ], - "id": 1825, + "id": 1317, "name": "VariableDeclaration", - "src": "33639:10:1" + "src": "34598:10:0" } ], - "id": 1826, + "id": 1318, "name": "StructDefinition", - "src": "33614:42:1" + "src": "34572:44:0" }, { "attributes": { @@ -54914,7 +54914,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -54924,9 +54924,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1827, + "id": 1319, "name": "StructuredDocumentation", - "src": "33662:159:1" + "src": "34624:164:0" }, { "children": [ @@ -54935,7 +54935,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -54945,24 +54945,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1828, + "id": 1320, "name": "UserDefinedTypeName", - "src": "33839:7:1" + "src": "34807:7:0" } ], - "id": 1829, + "id": 1321, "name": "VariableDeclaration", - "src": "33839:19:1" + "src": "34807:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54974,19 +54974,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1830, + "id": 1322, "name": "ElementaryTypeName", - "src": "33860:7:1" + "src": "34828:7:0" } ], - "id": 1831, + "id": 1323, "name": "VariableDeclaration", - "src": "33860:13:1" + "src": "34828:13:0" } ], - "id": 1832, + "id": 1324, "name": "ParameterList", - "src": "33838:36:1" + "src": "34806:36:0" }, { "children": [ @@ -54995,7 +54995,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55007,25 +55007,25 @@ "name": "bool", "type": "bool" }, - "id": 1833, + "id": 1325, "name": "ElementaryTypeName", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1834, + "id": 1326, "name": "VariableDeclaration", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1835, + "id": 1327, "name": "ParameterList", - "src": "33892:6:1" + "src": "34860:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1835 + "functionReturnParameters": 1327 }, "children": [ { @@ -55047,7 +55047,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55058,13 +55058,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1836, + "id": 1328, "name": "Identifier", - "src": "33916:4:1" + "src": "34885:4:0" }, { "attributes": { @@ -55073,7 +55073,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55082,18 +55082,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1829, + "referencedDeclaration": 1321, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1837, + "id": 1329, "name": "Identifier", - "src": "33921:3:1" + "src": "34890:3:0" } ], - "id": 1838, + "id": 1330, "name": "MemberAccess", - "src": "33921:10:1" + "src": "34890:10:0" }, { "attributes": { @@ -55129,52 +55129,52 @@ "attributes": { "name": "bytes32" }, - "id": 1839, + "id": 1331, "name": "ElementaryTypeName", - "src": "33933:7:1" + "src": "34902:7:0" } ], - "id": 1840, + "id": 1332, "name": "ElementaryTypeNameExpression", - "src": "33933:7:1" + "src": "34902:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1831, + "referencedDeclaration": 1323, "type": "uint256", "value": "value" }, - "id": 1841, + "id": 1333, "name": "Identifier", - "src": "33941:5:1" + "src": "34910:5:0" } ], - "id": 1842, + "id": 1334, "name": "FunctionCall", - "src": "33933:14:1" + "src": "34902:14:0" } ], - "id": 1843, + "id": 1335, "name": "FunctionCall", - "src": "33916:32:1" + "src": "34885:32:0" } ], - "id": 1844, + "id": 1336, "name": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ], - "id": 1845, + "id": 1337, "name": "Block", - "src": "33899:56:1" + "src": "34867:58:0" } ], - "id": 1846, + "id": 1338, "name": "FunctionDefinition", - "src": "33826:129:1" + "src": "34794:131:0" }, { "attributes": { @@ -55185,7 +55185,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -55195,9 +55195,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1847, + "id": 1339, "name": "StructuredDocumentation", - "src": "33961:157:1" + "src": "34933:162:0" }, { "children": [ @@ -55206,7 +55206,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55216,24 +55216,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1848, + "id": 1340, "name": "UserDefinedTypeName", - "src": "34139:7:1" + "src": "35117:7:0" } ], - "id": 1849, + "id": 1341, "name": "VariableDeclaration", - "src": "34139:19:1" + "src": "35117:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55245,19 +55245,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1850, + "id": 1342, "name": "ElementaryTypeName", - "src": "34160:7:1" + "src": "35138:7:0" } ], - "id": 1851, + "id": 1343, "name": "VariableDeclaration", - "src": "34160:13:1" + "src": "35138:13:0" } ], - "id": 1852, + "id": 1344, "name": "ParameterList", - "src": "34138:36:1" + "src": "35116:36:0" }, { "children": [ @@ -55266,7 +55266,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55278,25 +55278,25 @@ "name": "bool", "type": "bool" }, - "id": 1853, + "id": 1345, "name": "ElementaryTypeName", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1854, + "id": 1346, "name": "VariableDeclaration", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1855, + "id": 1347, "name": "ParameterList", - "src": "34192:6:1" + "src": "35170:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1855 + "functionReturnParameters": 1347 }, "children": [ { @@ -55318,7 +55318,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55329,13 +55329,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1856, + "id": 1348, "name": "Identifier", - "src": "34216:7:1" + "src": "35195:7:0" }, { "attributes": { @@ -55344,7 +55344,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55353,18 +55353,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1849, + "referencedDeclaration": 1341, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1857, + "id": 1349, "name": "Identifier", - "src": "34224:3:1" + "src": "35203:3:0" } ], - "id": 1858, + "id": 1350, "name": "MemberAccess", - "src": "34224:10:1" + "src": "35203:10:0" }, { "attributes": { @@ -55400,52 +55400,52 @@ "attributes": { "name": "bytes32" }, - "id": 1859, + "id": 1351, "name": "ElementaryTypeName", - "src": "34236:7:1" + "src": "35215:7:0" } ], - "id": 1860, + "id": 1352, "name": "ElementaryTypeNameExpression", - "src": "34236:7:1" + "src": "35215:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1851, + "referencedDeclaration": 1343, "type": "uint256", "value": "value" }, - "id": 1861, + "id": 1353, "name": "Identifier", - "src": "34244:5:1" + "src": "35223:5:0" } ], - "id": 1862, + "id": 1354, "name": "FunctionCall", - "src": "34236:14:1" + "src": "35215:14:0" } ], - "id": 1863, + "id": 1355, "name": "FunctionCall", - "src": "34216:35:1" + "src": "35195:35:0" } ], - "id": 1864, + "id": 1356, "name": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ], - "id": 1865, + "id": 1357, "name": "Block", - "src": "34199:59:1" + "src": "35177:61:0" } ], - "id": 1866, + "id": 1358, "name": "FunctionDefinition", - "src": "34123:135:1" + "src": "35101:137:0" }, { "attributes": { @@ -55456,7 +55456,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55466,9 +55466,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1867, + "id": 1359, "name": "StructuredDocumentation", - "src": "34264:70:1" + "src": "35246:72:0" }, { "children": [ @@ -55477,7 +55477,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55487,24 +55487,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1868, + "id": 1360, "name": "UserDefinedTypeName", - "src": "34357:7:1" + "src": "35342:7:0" } ], - "id": 1869, + "id": 1361, "name": "VariableDeclaration", - "src": "34357:19:1" + "src": "35342:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55516,19 +55516,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1870, + "id": 1362, "name": "ElementaryTypeName", - "src": "34378:7:1" + "src": "35363:7:0" } ], - "id": 1871, + "id": 1363, "name": "VariableDeclaration", - "src": "34378:13:1" + "src": "35363:13:0" } ], - "id": 1872, + "id": 1364, "name": "ParameterList", - "src": "34356:36:1" + "src": "35341:36:0" }, { "children": [ @@ -55537,7 +55537,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55549,25 +55549,25 @@ "name": "bool", "type": "bool" }, - "id": 1873, + "id": 1365, "name": "ElementaryTypeName", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1874, + "id": 1366, "name": "VariableDeclaration", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1875, + "id": 1367, "name": "ParameterList", - "src": "34415:6:1" + "src": "35400:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1875 + "functionReturnParameters": 1367 }, "children": [ { @@ -55589,7 +55589,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55600,13 +55600,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1876, + "id": 1368, "name": "Identifier", - "src": "34439:9:1" + "src": "35425:9:0" }, { "attributes": { @@ -55615,7 +55615,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55624,18 +55624,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1869, + "referencedDeclaration": 1361, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1877, + "id": 1369, "name": "Identifier", - "src": "34449:3:1" + "src": "35435:3:0" } ], - "id": 1878, + "id": 1370, "name": "MemberAccess", - "src": "34449:10:1" + "src": "35435:10:0" }, { "attributes": { @@ -55671,52 +55671,52 @@ "attributes": { "name": "bytes32" }, - "id": 1879, + "id": 1371, "name": "ElementaryTypeName", - "src": "34461:7:1" + "src": "35447:7:0" } ], - "id": 1880, + "id": 1372, "name": "ElementaryTypeNameExpression", - "src": "34461:7:1" + "src": "35447:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1871, + "referencedDeclaration": 1363, "type": "uint256", "value": "value" }, - "id": 1881, + "id": 1373, "name": "Identifier", - "src": "34469:5:1" + "src": "35455:5:0" } ], - "id": 1882, + "id": 1374, "name": "FunctionCall", - "src": "34461:14:1" + "src": "35447:14:0" } ], - "id": 1883, + "id": 1375, "name": "FunctionCall", - "src": "34439:37:1" + "src": "35425:37:0" } ], - "id": 1884, + "id": 1376, "name": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ], - "id": 1885, + "id": 1377, "name": "Block", - "src": "34422:61:1" + "src": "35407:63:0" } ], - "id": 1886, + "id": 1378, "name": "FunctionDefinition", - "src": "34339:144:1" + "src": "35324:146:0" }, { "attributes": { @@ -55727,7 +55727,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55737,9 +55737,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1887, + "id": 1379, "name": "StructuredDocumentation", - "src": "34489:70:1" + "src": "35478:72:0" }, { "children": [ @@ -55748,7 +55748,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55758,22 +55758,22 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1888, + "id": 1380, "name": "UserDefinedTypeName", - "src": "34580:7:1" + "src": "35572:7:0" } ], - "id": 1889, + "id": 1381, "name": "VariableDeclaration", - "src": "34580:19:1" + "src": "35572:19:0" } ], - "id": 1890, + "id": 1382, "name": "ParameterList", - "src": "34579:21:1" + "src": "35571:21:0" }, { "children": [ @@ -55782,7 +55782,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55794,25 +55794,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1891, + "id": 1383, "name": "ElementaryTypeName", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1892, + "id": 1384, "name": "VariableDeclaration", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1893, + "id": 1385, "name": "ParameterList", - "src": "34623:9:1" + "src": "35615:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1893 + "functionReturnParameters": 1385 }, "children": [ { @@ -55834,20 +55834,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1894, + "id": 1386, "name": "Identifier", - "src": "34650:7:1" + "src": "35643:7:0" }, { "attributes": { @@ -55856,7 +55856,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55865,38 +55865,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1889, + "referencedDeclaration": 1381, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1895, + "id": 1387, "name": "Identifier", - "src": "34658:3:1" + "src": "35651:3:0" } ], - "id": 1896, + "id": 1388, "name": "MemberAccess", - "src": "34658:10:1" + "src": "35651:10:0" } ], - "id": 1897, + "id": 1389, "name": "FunctionCall", - "src": "34650:19:1" + "src": "35643:19:0" } ], - "id": 1898, + "id": 1390, "name": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ], - "id": 1899, + "id": 1391, "name": "Block", - "src": "34633:43:1" + "src": "35625:45:0" } ], - "id": 1900, + "id": 1392, "name": "FunctionDefinition", - "src": "34564:112:1" + "src": "35556:114:0" }, { "attributes": { @@ -55907,7 +55907,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55917,9 +55917,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1901, + "id": 1393, "name": "StructuredDocumentation", - "src": "34681:322:1" + "src": "35677:331:0" }, { "children": [ @@ -55928,7 +55928,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55938,24 +55938,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1902, + "id": 1394, "name": "UserDefinedTypeName", - "src": "35020:7:1" + "src": "36026:7:0" } ], - "id": 1903, + "id": 1395, "name": "VariableDeclaration", - "src": "35020:19:1" + "src": "36026:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55967,19 +55967,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1904, + "id": 1396, "name": "ElementaryTypeName", - "src": "35041:7:1" + "src": "36047:7:0" } ], - "id": 1905, + "id": 1397, "name": "VariableDeclaration", - "src": "35041:13:1" + "src": "36047:13:0" } ], - "id": 1906, + "id": 1398, "name": "ParameterList", - "src": "35019:36:1" + "src": "36025:36:0" }, { "children": [ @@ -55988,7 +55988,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -56000,25 +56000,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1907, + "id": 1399, "name": "ElementaryTypeName", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1908, + "id": 1400, "name": "VariableDeclaration", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1909, + "id": 1401, "name": "ParameterList", - "src": "35078:9:1" + "src": "36084:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1909 + "functionReturnParameters": 1401 }, "children": [ { @@ -56055,14 +56055,14 @@ "attributes": { "name": "uint256" }, - "id": 1910, + "id": 1402, "name": "ElementaryTypeName", - "src": "35105:7:1" + "src": "36112:7:0" } ], - "id": 1911, + "id": 1403, "name": "ElementaryTypeNameExpression", - "src": "35105:7:1" + "src": "36112:7:0" }, { "attributes": { @@ -56083,7 +56083,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -56094,13 +56094,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1912, + "id": 1404, "name": "Identifier", - "src": "35113:3:1" + "src": "36120:3:0" }, { "attributes": { @@ -56109,7 +56109,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -56118,61 +56118,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1903, + "referencedDeclaration": 1395, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1913, + "id": 1405, "name": "Identifier", - "src": "35117:3:1" + "src": "36124:3:0" } ], - "id": 1914, + "id": 1406, "name": "MemberAccess", - "src": "35117:10:1" + "src": "36124:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1905, + "referencedDeclaration": 1397, "type": "uint256", "value": "index" }, - "id": 1915, + "id": 1407, "name": "Identifier", - "src": "35129:5:1" + "src": "36136:5:0" } ], - "id": 1916, + "id": 1408, "name": "FunctionCall", - "src": "35113:22:1" + "src": "36120:22:0" } ], - "id": 1917, + "id": 1409, "name": "FunctionCall", - "src": "35105:31:1" + "src": "36112:31:0" } ], - "id": 1918, + "id": 1410, "name": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ], - "id": 1919, + "id": 1411, "name": "Block", - "src": "35088:55:1" + "src": "36094:57:0" } ], - "id": 1920, + "id": 1412, "name": "FunctionDefinition", - "src": "35008:135:1" + "src": "36014:137:0" } ], - "id": 1921, + "id": 1413, "name": "ContractDefinition", - "src": "26511:8634:1" + "src": "27252:8902:0" }, { "attributes": { @@ -56186,9 +56186,9 @@ ".0" ] }, - "id": 1922, + "id": 1414, "name": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "attributes": { @@ -56202,25 +56202,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, - "id": 1923, + "id": 1415, "name": "StructuredDocumentation", - "src": "35237:705:1" + "src": "36251:728:0" }, { "attributes": { "canonicalName": "EnumerableMap.MapEntry", "name": "MapEntry", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -56229,7 +56229,7 @@ "constant": false, "mutability": "mutable", "name": "_key", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56241,21 +56241,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1924, + "id": 1416, "name": "ElementaryTypeName", - "src": "36455:7:1" + "src": "37504:7:0" } ], - "id": 1925, + "id": 1417, "name": "VariableDeclaration", - "src": "36455:12:1" + "src": "37504:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_value", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56267,25 +56267,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1926, + "id": 1418, "name": "ElementaryTypeName", - "src": "36477:7:1" + "src": "37527:7:0" } ], - "id": 1927, + "id": 1419, "name": "VariableDeclaration", - "src": "36477:14:1" + "src": "37527:14:0" } ], - "id": 1928, + "id": 1420, "name": "StructDefinition", - "src": "36429:69:1" + "src": "37477:72:0" }, { "attributes": { "canonicalName": "EnumerableMap.Map", "name": "Map", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -56294,7 +56294,7 @@ "constant": false, "mutability": "mutable", "name": "_entries", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.MapEntry[]", @@ -56309,29 +56309,29 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 1929, + "id": 1421, "name": "UserDefinedTypeName", - "src": "36567:8:1" + "src": "37622:8:0" } ], - "id": 1930, + "id": 1422, "name": "ArrayTypeName", - "src": "36567:10:1" + "src": "37622:10:0" } ], - "id": 1931, + "id": 1423, "name": "VariableDeclaration", - "src": "36567:19:1" + "src": "37622:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -56348,33 +56348,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1932, + "id": 1424, "name": "ElementaryTypeName", - "src": "36745:7:1" + "src": "37804:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1933, + "id": 1425, "name": "ElementaryTypeName", - "src": "36756:7:1" + "src": "37815:7:0" } ], - "id": 1934, + "id": 1426, "name": "Mapping", - "src": "36736:28:1" + "src": "37795:28:0" } ], - "id": 1935, + "id": 1427, "name": "VariableDeclaration", - "src": "36736:37:1" + "src": "37795:37:0" } ], - "id": 1936, + "id": 1428, "name": "StructDefinition", - "src": "36504:276:1" + "src": "37557:283:0" }, { "attributes": { @@ -56385,7 +56385,7 @@ null ], "name": "_set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56395,9 +56395,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1937, + "id": 1429, "name": "StructuredDocumentation", - "src": "36786:216:1" + "src": "37848:222:0" }, { "children": [ @@ -56406,7 +56406,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56416,24 +56416,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 1938, + "id": 1430, "name": "UserDefinedTypeName", - "src": "37021:3:1" + "src": "38090:3:0" } ], - "id": 1939, + "id": 1431, "name": "VariableDeclaration", - "src": "37021:15:1" + "src": "38090:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56445,21 +56445,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1940, + "id": 1432, "name": "ElementaryTypeName", - "src": "37038:7:1" + "src": "38107:7:0" } ], - "id": 1941, + "id": 1433, "name": "VariableDeclaration", - "src": "37038:11:1" + "src": "38107:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56471,19 +56471,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1942, + "id": 1434, "name": "ElementaryTypeName", - "src": "37051:7:1" + "src": "38120:7:0" } ], - "id": 1943, + "id": 1435, "name": "VariableDeclaration", - "src": "37051:13:1" + "src": "38120:13:0" } ], - "id": 1944, + "id": 1436, "name": "ParameterList", - "src": "37020:45:1" + "src": "38089:45:0" }, { "children": [ @@ -56492,7 +56492,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -56504,26 +56504,26 @@ "name": "bool", "type": "bool" }, - "id": 1945, + "id": 1437, "name": "ElementaryTypeName", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1946, + "id": 1438, "name": "VariableDeclaration", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1947, + "id": 1439, "name": "ParameterList", - "src": "37082:6:1" + "src": "38151:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1949 + 1441 ] }, "children": [ @@ -56532,7 +56532,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 1997, + "scope": 1489, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -56544,14 +56544,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1948, + "id": 1440, "name": "ElementaryTypeName", - "src": "37197:7:1" + "src": "38268:7:0" } ], - "id": 1949, + "id": 1441, "name": "VariableDeclaration", - "src": "37197:16:1" + "src": "38268:16:0" }, { "attributes": { @@ -56569,7 +56569,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56578,41 +56578,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1950, + "id": 1442, "name": "Identifier", - "src": "37216:3:1" + "src": "38287:3:0" } ], - "id": 1951, + "id": 1443, "name": "MemberAccess", - "src": "37216:12:1" + "src": "38287:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1952, + "id": 1444, "name": "Identifier", - "src": "37229:3:1" + "src": "38300:3:0" } ], - "id": 1953, + "id": 1445, "name": "IndexAccess", - "src": "37216:17:1" + "src": "38287:17:0" } ], - "id": 1954, + "id": 1446, "name": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "children": [ @@ -56635,13 +56635,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1955, + "id": 1447, "name": "Identifier", - "src": "37248:8:1" + "src": "38321:8:0" }, { "attributes": { @@ -56654,14 +56654,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1956, + "id": 1448, "name": "Literal", - "src": "37260:1:1" + "src": "38333:1:0" } ], - "id": 1957, + "id": 1449, "name": "BinaryOperation", - "src": "37248:13:1" + "src": "38321:13:0" }, { "children": [ @@ -56686,7 +56686,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], @@ -56705,7 +56705,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56714,23 +56714,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1958, + "id": 1450, "name": "Identifier", - "src": "37314:3:1" + "src": "38388:3:0" } ], - "id": 1961, + "id": 1453, "name": "MemberAccess", - "src": "37314:12:1" + "src": "38388:12:0" } ], - "id": 1962, + "id": 1454, "name": "MemberAccess", - "src": "37314:17:1" + "src": "38388:17:0" }, { "attributes": { @@ -56763,54 +56763,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "type(struct EnumerableMap.MapEntry storage pointer)", "value": "MapEntry" }, - "id": 1963, + "id": 1455, "name": "Identifier", - "src": "37332:8:1" + "src": "38406:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1964, + "id": 1456, "name": "Identifier", - "src": "37349:3:1" + "src": "38423:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1965, + "id": 1457, "name": "Identifier", - "src": "37362:5:1" + "src": "38436:5:0" } ], - "id": 1966, + "id": 1458, "name": "FunctionCall", - "src": "37332:38:1" + "src": "38406:38:0" } ], - "id": 1967, + "id": 1459, "name": "FunctionCall", - "src": "37314:57:1" + "src": "38388:57:0" } ], - "id": 1968, + "id": 1460, "name": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "children": [ @@ -56840,7 +56840,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56849,36 +56849,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1969, + "id": 1461, "name": "Identifier", - "src": "37506:3:1" + "src": "38583:3:0" } ], - "id": 1972, + "id": 1464, "name": "MemberAccess", - "src": "37506:12:1" + "src": "38583:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1971, + "id": 1463, "name": "Identifier", - "src": "37519:3:1" + "src": "38596:3:0" } ], - "id": 1973, + "id": 1465, "name": "IndexAccess", - "src": "37506:17:1" + "src": "38583:17:0" }, { "attributes": { @@ -56897,7 +56897,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56906,37 +56906,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1974, + "id": 1466, "name": "Identifier", - "src": "37526:3:1" + "src": "38603:3:0" } ], - "id": 1975, + "id": 1467, "name": "MemberAccess", - "src": "37526:12:1" + "src": "38603:12:0" } ], - "id": 1976, + "id": 1468, "name": "MemberAccess", - "src": "37526:19:1" + "src": "38603:19:0" } ], - "id": 1977, + "id": 1469, "name": "Assignment", - "src": "37506:39:1" + "src": "38583:39:0" } ], - "id": 1978, + "id": 1470, "name": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -56950,19 +56950,19 @@ "type": "bool", "value": "true" }, - "id": 1979, + "id": 1471, "name": "Literal", - "src": "37566:4:1" + "src": "38644:4:0" } ], - "id": 1980, + "id": 1472, "name": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ], - "id": 1981, + "id": 1473, "name": "Block", - "src": "37263:318:1" + "src": "38336:324:0" }, { "children": [ @@ -56985,7 +56985,7 @@ "isPure": false, "lValueRequested": true, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -57005,7 +57005,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57014,18 +57014,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1982, + "id": 1474, "name": "Identifier", - "src": "37601:3:1" + "src": "38681:3:0" } ], - "id": 1987, + "id": 1479, "name": "MemberAccess", - "src": "37601:12:1" + "src": "38681:12:0" }, { "attributes": { @@ -57046,13 +57046,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1984, + "id": 1476, "name": "Identifier", - "src": "37614:8:1" + "src": "38694:8:0" }, { "attributes": { @@ -57065,51 +57065,51 @@ "type": "int_const 1", "value": "1" }, - "id": 1985, + "id": 1477, "name": "Literal", - "src": "37625:1:1" + "src": "38705:1:0" } ], - "id": 1986, + "id": 1478, "name": "BinaryOperation", - "src": "37614:12:1" + "src": "38694:12:0" } ], - "id": 1988, + "id": 1480, "name": "IndexAccess", - "src": "37601:26:1" + "src": "38681:26:0" } ], - "id": 1989, + "id": 1481, "name": "MemberAccess", - "src": "37601:33:1" + "src": "38681:33:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1990, + "id": 1482, "name": "Identifier", - "src": "37637:5:1" + "src": "38717:5:0" } ], - "id": 1991, + "id": 1483, "name": "Assignment", - "src": "37601:41:1" + "src": "38681:41:0" } ], - "id": 1992, + "id": 1484, "name": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -57123,34 +57123,34 @@ "type": "bool", "value": "false" }, - "id": 1993, + "id": 1485, "name": "Literal", - "src": "37663:5:1" + "src": "38744:5:0" } ], - "id": 1994, + "id": 1486, "name": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ], - "id": 1995, + "id": 1487, "name": "Block", - "src": "37587:92:1" + "src": "38666:95:0" } ], - "id": 1996, + "id": 1488, "name": "IfStatement", - "src": "37244:435:1" + "src": "38317:444:0" } ], - "id": 1997, + "id": 1489, "name": "Block", - "src": "37089:596:1" + "src": "38158:610:0" } ], - "id": 1998, + "id": 1490, "name": "FunctionDefinition", - "src": "37007:678:1" + "src": "38076:692:0" }, { "attributes": { @@ -57161,7 +57161,7 @@ null ], "name": "_remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -57171,9 +57171,9 @@ "attributes": { "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 1999, + "id": 1491, "name": "StructuredDocumentation", - "src": "37691:157:1" + "src": "38776:161:0" }, { "children": [ @@ -57182,7 +57182,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -57192,24 +57192,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2000, + "id": 1492, "name": "UserDefinedTypeName", - "src": "37870:3:1" + "src": "38960:3:0" } ], - "id": 2001, + "id": 1493, "name": "VariableDeclaration", - "src": "37870:15:1" + "src": "38960:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -57221,19 +57221,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2002, + "id": 1494, "name": "ElementaryTypeName", - "src": "37887:7:1" + "src": "38977:7:0" } ], - "id": 2003, + "id": 1495, "name": "VariableDeclaration", - "src": "37887:11:1" + "src": "38977:11:0" } ], - "id": 2004, + "id": 1496, "name": "ParameterList", - "src": "37869:30:1" + "src": "38959:30:0" }, { "children": [ @@ -57242,7 +57242,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -57254,26 +57254,26 @@ "name": "bool", "type": "bool" }, - "id": 2005, + "id": 1497, "name": "ElementaryTypeName", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2006, + "id": 1498, "name": "VariableDeclaration", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2007, + "id": 1499, "name": "ParameterList", - "src": "37916:6:1" + "src": "39006:6:0" }, { "children": [ { "attributes": { "assignments": [ - 2009 + 1501 ] }, "children": [ @@ -57282,7 +57282,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2078, + "scope": 1570, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57294,14 +57294,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2008, + "id": 1500, "name": "ElementaryTypeName", - "src": "38031:7:1" + "src": "39123:7:0" } ], - "id": 2009, + "id": 1501, "name": "VariableDeclaration", - "src": "38031:16:1" + "src": "39123:16:0" }, { "attributes": { @@ -57319,7 +57319,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57328,41 +57328,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2010, + "id": 1502, "name": "Identifier", - "src": "38050:3:1" + "src": "39142:3:0" } ], - "id": 2011, + "id": 1503, "name": "MemberAccess", - "src": "38050:12:1" + "src": "39142:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2012, + "id": 1504, "name": "Identifier", - "src": "38063:3:1" + "src": "39155:3:0" } ], - "id": 2013, + "id": 1505, "name": "IndexAccess", - "src": "38050:17:1" + "src": "39142:17:0" } ], - "id": 2014, + "id": 1506, "name": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "children": [ @@ -57385,13 +57385,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2015, + "id": 1507, "name": "Identifier", - "src": "38082:8:1" + "src": "39176:8:0" }, { "attributes": { @@ -57404,21 +57404,21 @@ "type": "int_const 0", "value": "0" }, - "id": 2016, + "id": 1508, "name": "Literal", - "src": "38094:1:1" + "src": "39188:1:0" } ], - "id": 2017, + "id": 1509, "name": "BinaryOperation", - "src": "38082:13:1" + "src": "39176:13:0" }, { "children": [ { "attributes": { "assignments": [ - 2019 + 1511 ] }, "children": [ @@ -57427,7 +57427,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57439,14 +57439,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2018, + "id": 1510, "name": "ElementaryTypeName", - "src": "38438:7:1" + "src": "39537:7:0" } ], - "id": 2019, + "id": 1511, "name": "VariableDeclaration", - "src": "38438:21:1" + "src": "39537:21:0" }, { "attributes": { @@ -57467,13 +57467,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2020, + "id": 1512, "name": "Identifier", - "src": "38462:8:1" + "src": "39561:8:0" }, { "attributes": { @@ -57486,24 +57486,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2021, + "id": 1513, "name": "Literal", - "src": "38473:1:1" + "src": "39572:1:0" } ], - "id": 2022, + "id": 1514, "name": "BinaryOperation", - "src": "38462:12:1" + "src": "39561:12:0" } ], - "id": 2023, + "id": 1515, "name": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "attributes": { "assignments": [ - 2025 + 1517 ] }, "children": [ @@ -57512,7 +57512,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57524,14 +57524,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2024, + "id": 1516, "name": "ElementaryTypeName", - "src": "38488:7:1" + "src": "39588:7:0" } ], - "id": 2025, + "id": 1517, "name": "VariableDeclaration", - "src": "38488:17:1" + "src": "39588:17:0" }, { "attributes": { @@ -57564,7 +57564,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57573,23 +57573,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2026, + "id": 1518, "name": "Identifier", - "src": "38508:3:1" + "src": "39608:3:0" } ], - "id": 2027, + "id": 1519, "name": "MemberAccess", - "src": "38508:12:1" + "src": "39608:12:0" } ], - "id": 2028, + "id": 1520, "name": "MemberAccess", - "src": "38508:19:1" + "src": "39608:19:0" }, { "attributes": { @@ -57602,24 +57602,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2029, + "id": 1521, "name": "Literal", - "src": "38530:1:1" + "src": "39630:1:0" } ], - "id": 2030, + "id": 1522, "name": "BinaryOperation", - "src": "38508:23:1" + "src": "39608:23:0" } ], - "id": 2031, + "id": 1523, "name": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "attributes": { "assignments": [ - 2033 + 1525 ] }, "children": [ @@ -57628,7 +57628,7 @@ "constant": false, "mutability": "mutable", "name": "lastEntry", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -57638,17 +57638,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2032, + "id": 1524, "name": "UserDefinedTypeName", - "src": "38771:8:1" + "src": "39876:8:0" } ], - "id": 2033, + "id": 1525, "name": "VariableDeclaration", - "src": "38771:26:1" + "src": "39876:26:0" }, { "attributes": { @@ -57666,7 +57666,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57675,41 +57675,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2034, + "id": 1526, "name": "Identifier", - "src": "38800:3:1" + "src": "39905:3:0" } ], - "id": 2035, + "id": 1527, "name": "MemberAccess", - "src": "38800:12:1" + "src": "39905:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2025, + "referencedDeclaration": 1517, "type": "uint256", "value": "lastIndex" }, - "id": 2036, + "id": 1528, "name": "Identifier", - "src": "38813:9:1" + "src": "39918:9:0" } ], - "id": 2037, + "id": 1529, "name": "IndexAccess", - "src": "38800:23:1" + "src": "39905:23:0" } ], - "id": 2038, + "id": 1530, "name": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "children": [ @@ -57739,7 +57739,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57748,59 +57748,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2039, + "id": 1531, "name": "Identifier", - "src": "38915:3:1" + "src": "40023:3:0" } ], - "id": 2042, + "id": 1534, "name": "MemberAccess", - "src": "38915:12:1" + "src": "40023:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2041, + "id": 1533, "name": "Identifier", - "src": "38928:13:1" + "src": "40036:13:0" } ], - "id": 2043, + "id": 1535, "name": "IndexAccess", - "src": "38915:27:1" + "src": "40023:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2044, + "id": 1536, "name": "Identifier", - "src": "38945:9:1" + "src": "40053:9:0" } ], - "id": 2045, + "id": 1537, "name": "Assignment", - "src": "38915:39:1" + "src": "40023:39:0" } ], - "id": 2046, + "id": 1538, "name": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "children": [ @@ -57830,7 +57830,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57839,18 +57839,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2047, + "id": 1539, "name": "Identifier", - "src": "39020:3:1" + "src": "40130:3:0" } ], - "id": 2051, + "id": 1543, "name": "MemberAccess", - "src": "39020:12:1" + "src": "40130:12:0" }, { "attributes": { @@ -57859,7 +57859,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -57868,23 +57868,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2049, + "id": 1541, "name": "Identifier", - "src": "39033:9:1" + "src": "40143:9:0" } ], - "id": 2050, + "id": 1542, "name": "MemberAccess", - "src": "39033:14:1" + "src": "40143:14:0" } ], - "id": 2052, + "id": 1544, "name": "IndexAccess", - "src": "39020:28:1" + "src": "40130:28:0" }, { "attributes": { @@ -57905,13 +57905,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2053, + "id": 1545, "name": "Identifier", - "src": "39051:13:1" + "src": "40161:13:0" }, { "attributes": { @@ -57924,24 +57924,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2054, + "id": 1546, "name": "Literal", - "src": "39067:1:1" + "src": "40177:1:0" } ], - "id": 2055, + "id": 1547, "name": "BinaryOperation", - "src": "39051:17:1" + "src": "40161:17:0" } ], - "id": 2056, + "id": 1548, "name": "Assignment", - "src": "39020:48:1" + "src": "40130:48:0" } ], - "id": 2057, + "id": 1549, "name": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "children": [ @@ -57983,7 +57983,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57992,33 +57992,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2058, + "id": 1550, "name": "Identifier", - "src": "39174:3:1" + "src": "40287:3:0" } ], - "id": 2061, + "id": 1553, "name": "MemberAccess", - "src": "39174:12:1" + "src": "40287:12:0" } ], - "id": 2062, + "id": 1554, "name": "MemberAccess", - "src": "39174:16:1" + "src": "40287:16:0" } ], - "id": 2063, + "id": 1555, "name": "FunctionCall", - "src": "39174:18:1" + "src": "40287:18:0" } ], - "id": 2064, + "id": 1556, "name": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "children": [ @@ -58049,7 +58049,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58058,50 +58058,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2065, + "id": 1557, "name": "Identifier", - "src": "39267:3:1" + "src": "40383:3:0" } ], - "id": 2066, + "id": 1558, "name": "MemberAccess", - "src": "39267:12:1" + "src": "40383:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2067, + "id": 1559, "name": "Identifier", - "src": "39280:3:1" + "src": "40396:3:0" } ], - "id": 2068, + "id": 1560, "name": "IndexAccess", - "src": "39267:17:1" + "src": "40383:17:0" } ], - "id": 2069, + "id": 1561, "name": "UnaryOperation", - "src": "39260:24:1" + "src": "40376:24:0" } ], - "id": 2070, + "id": 1562, "name": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -58115,25 +58115,25 @@ "type": "bool", "value": "true" }, - "id": 2071, + "id": 1563, "name": "Literal", - "src": "39306:4:1" + "src": "40424:4:0" } ], - "id": 2072, + "id": 1564, "name": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ], - "id": 2073, + "id": 1565, "name": "Block", - "src": "38097:1224:1" + "src": "39191:1249:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -58147,34 +58147,34 @@ "type": "bool", "value": "false" }, - "id": 2074, + "id": 1566, "name": "Literal", - "src": "39348:5:1" + "src": "40468:5:0" } ], - "id": 2075, + "id": 1567, "name": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ], - "id": 2076, + "id": 1568, "name": "Block", - "src": "39327:37:1" + "src": "40446:39:0" } ], - "id": 2077, + "id": 1569, "name": "IfStatement", - "src": "38078:1286:1" + "src": "39172:1313:0" } ], - "id": 2078, + "id": 1570, "name": "Block", - "src": "37923:1447:1" + "src": "39013:1479:0" } ], - "id": 2079, + "id": 1571, "name": "FunctionDefinition", - "src": "37853:1517:1" + "src": "38943:1549:0" }, { "attributes": { @@ -58185,7 +58185,7 @@ null ], "name": "_contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58195,9 +58195,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2080, + "id": 1572, "name": "StructuredDocumentation", - "src": "39376:68:1" + "src": "40500:70:0" }, { "children": [ @@ -58206,7 +58206,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58216,24 +58216,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2081, + "id": 1573, "name": "UserDefinedTypeName", - "src": "39468:3:1" + "src": "40595:3:0" } ], - "id": 2082, + "id": 1574, "name": "VariableDeclaration", - "src": "39468:15:1" + "src": "40595:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58245,19 +58245,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2083, + "id": 1575, "name": "ElementaryTypeName", - "src": "39485:7:1" + "src": "40612:7:0" } ], - "id": 2084, + "id": 1576, "name": "VariableDeclaration", - "src": "39485:11:1" + "src": "40612:11:0" } ], - "id": 2085, + "id": 1577, "name": "ParameterList", - "src": "39467:30:1" + "src": "40594:30:0" }, { "children": [ @@ -58266,7 +58266,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -58278,25 +58278,25 @@ "name": "bool", "type": "bool" }, - "id": 2086, + "id": 1578, "name": "ElementaryTypeName", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2087, + "id": 1579, "name": "VariableDeclaration", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2088, + "id": 1580, "name": "ParameterList", - "src": "39519:6:1" + "src": "40646:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2088 + "functionReturnParameters": 1580 }, "children": [ { @@ -58329,7 +58329,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58338,36 +58338,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2082, + "referencedDeclaration": 1574, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2089, + "id": 1581, "name": "Identifier", - "src": "39543:3:1" + "src": "40671:3:0" } ], - "id": 2090, + "id": 1582, "name": "MemberAccess", - "src": "39543:12:1" + "src": "40671:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2084, + "referencedDeclaration": 1576, "type": "bytes32", "value": "key" }, - "id": 2091, + "id": 1583, "name": "Identifier", - "src": "39556:3:1" + "src": "40684:3:0" } ], - "id": 2092, + "id": 1584, "name": "IndexAccess", - "src": "39543:17:1" + "src": "40671:17:0" }, { "attributes": { @@ -58380,29 +58380,29 @@ "type": "int_const 0", "value": "0" }, - "id": 2093, + "id": 1585, "name": "Literal", - "src": "39564:1:1" + "src": "40692:1:0" } ], - "id": 2094, + "id": 1586, "name": "BinaryOperation", - "src": "39543:22:1" + "src": "40671:22:0" } ], - "id": 2095, + "id": 1587, "name": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ], - "id": 2096, + "id": 1588, "name": "Block", - "src": "39526:46:1" + "src": "40653:48:0" } ], - "id": 2097, + "id": 1589, "name": "FunctionDefinition", - "src": "39449:123:1" + "src": "40576:125:0" }, { "attributes": { @@ -58413,7 +58413,7 @@ null ], "name": "_length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58423,9 +58423,9 @@ "attributes": { "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2098, + "id": 1590, "name": "StructuredDocumentation", - "src": "39578:79:1" + "src": "40709:81:0" }, { "children": [ @@ -58434,7 +58434,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58444,22 +58444,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2099, + "id": 1591, "name": "UserDefinedTypeName", - "src": "39679:3:1" + "src": "40813:3:0" } ], - "id": 2100, + "id": 1592, "name": "VariableDeclaration", - "src": "39679:15:1" + "src": "40813:15:0" } ], - "id": 2101, + "id": 1593, "name": "ParameterList", - "src": "39678:17:1" + "src": "40812:17:0" }, { "children": [ @@ -58468,7 +58468,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58480,25 +58480,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2102, + "id": 1594, "name": "ElementaryTypeName", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2103, + "id": 1595, "name": "VariableDeclaration", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2104, + "id": 1596, "name": "ParameterList", - "src": "39717:9:1" + "src": "40851:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2104 + "functionReturnParameters": 1596 }, "children": [ { @@ -58518,7 +58518,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58527,38 +58527,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2100, + "referencedDeclaration": 1592, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2105, + "id": 1597, "name": "Identifier", - "src": "39744:3:1" + "src": "40879:3:0" } ], - "id": 2106, + "id": 1598, "name": "MemberAccess", - "src": "39744:12:1" + "src": "40879:12:0" } ], - "id": 2107, + "id": 1599, "name": "MemberAccess", - "src": "39744:19:1" + "src": "40879:19:0" } ], - "id": 2108, + "id": 1600, "name": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ], - "id": 2109, + "id": 1601, "name": "Block", - "src": "39727:43:1" + "src": "40861:45:0" } ], - "id": 2110, + "id": 1602, "name": "FunctionDefinition", - "src": "39662:108:1" + "src": "40796:110:0" }, { "attributes": { @@ -58569,7 +58569,7 @@ null ], "name": "_at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58579,9 +58579,9 @@ "attributes": { "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2111, + "id": 1603, "name": "StructuredDocumentation", - "src": "39775:333:1" + "src": "40913:342:0" }, { "children": [ @@ -58590,7 +58590,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58600,24 +58600,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2112, + "id": 1604, "name": "UserDefinedTypeName", - "src": "40126:3:1" + "src": "41274:3:0" } ], - "id": 2113, + "id": 1605, "name": "VariableDeclaration", - "src": "40126:15:1" + "src": "41274:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58629,19 +58629,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2114, + "id": 1606, "name": "ElementaryTypeName", - "src": "40143:7:1" + "src": "41291:7:0" } ], - "id": 2115, + "id": 1607, "name": "VariableDeclaration", - "src": "40143:13:1" + "src": "41291:13:0" } ], - "id": 2116, + "id": 1608, "name": "ParameterList", - "src": "40125:32:1" + "src": "41273:32:0" }, { "children": [ @@ -58650,7 +58650,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58662,21 +58662,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2117, + "id": 1609, "name": "ElementaryTypeName", - "src": "40180:7:1" + "src": "41328:7:0" } ], - "id": 2118, + "id": 1610, "name": "VariableDeclaration", - "src": "40180:7:1" + "src": "41328:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58688,19 +58688,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2119, + "id": 1611, "name": "ElementaryTypeName", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2120, + "id": 1612, "name": "VariableDeclaration", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2121, + "id": 1613, "name": "ParameterList", - "src": "40179:18:1" + "src": "41327:18:0" }, { "children": [ @@ -58741,9 +58741,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2122, + "id": 1614, "name": "Identifier", - "src": "40208:7:1" + "src": "41357:7:0" }, { "attributes": { @@ -58776,7 +58776,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58785,41 +58785,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2123, + "id": 1615, "name": "Identifier", - "src": "40216:3:1" + "src": "41365:3:0" } ], - "id": 2124, + "id": 1616, "name": "MemberAccess", - "src": "40216:12:1" + "src": "41365:12:0" } ], - "id": 2125, + "id": 1617, "name": "MemberAccess", - "src": "40216:19:1" + "src": "41365:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2126, + "id": 1618, "name": "Identifier", - "src": "40238:5:1" + "src": "41387:5:0" } ], - "id": 2127, + "id": 1619, "name": "BinaryOperation", - "src": "40216:27:1" + "src": "41365:27:0" }, { "attributes": { @@ -58832,24 +58832,24 @@ "type": "literal_string \"EnumerableMap: index out of bounds\"", "value": "EnumerableMap: index out of bounds" }, - "id": 2128, + "id": 1620, "name": "Literal", - "src": "40245:36:1" + "src": "41394:36:0" } ], - "id": 2129, + "id": 1621, "name": "FunctionCall", - "src": "40208:74:1" + "src": "41357:74:0" } ], - "id": 2130, + "id": 1622, "name": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "attributes": { "assignments": [ - 2132 + 1624 ] }, "children": [ @@ -58858,7 +58858,7 @@ "constant": false, "mutability": "mutable", "name": "entry", - "scope": 2144, + "scope": 1636, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -58868,17 +58868,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2131, + "id": 1623, "name": "UserDefinedTypeName", - "src": "40293:8:1" + "src": "41444:8:0" } ], - "id": 2132, + "id": 1624, "name": "VariableDeclaration", - "src": "40293:22:1" + "src": "41444:22:0" }, { "attributes": { @@ -58896,7 +58896,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58905,45 +58905,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2133, + "id": 1625, "name": "Identifier", - "src": "40318:3:1" + "src": "41469:3:0" } ], - "id": 2134, + "id": 1626, "name": "MemberAccess", - "src": "40318:12:1" + "src": "41469:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2135, + "id": 1627, "name": "Identifier", - "src": "40331:5:1" + "src": "41482:5:0" } ], - "id": 2136, + "id": 1628, "name": "IndexAccess", - "src": "40318:19:1" + "src": "41469:19:0" } ], - "id": 2137, + "id": 1629, "name": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "attributes": { - "functionReturnParameters": 2121 + "functionReturnParameters": 1613 }, "children": [ { @@ -58963,7 +58963,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -58972,18 +58972,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2138, + "id": 1630, "name": "Identifier", - "src": "40355:5:1" + "src": "41507:5:0" } ], - "id": 2139, + "id": 1631, "name": "MemberAccess", - "src": "40355:10:1" + "src": "41507:10:0" }, { "attributes": { @@ -58992,7 +58992,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59001,38 +59001,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2140, + "id": 1632, "name": "Identifier", - "src": "40367:5:1" + "src": "41519:5:0" } ], - "id": 2141, + "id": 1633, "name": "MemberAccess", - "src": "40367:12:1" + "src": "41519:12:0" } ], - "id": 2142, + "id": 1634, "name": "TupleExpression", - "src": "40354:26:1" + "src": "41506:26:0" } ], - "id": 2143, + "id": 1635, "name": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ], - "id": 2144, + "id": 1636, "name": "Block", - "src": "40198:189:1" + "src": "41346:194:0" } ], - "id": 2145, + "id": 1637, "name": "FunctionDefinition", - "src": "40113:274:1" + "src": "41261:279:0" }, { "attributes": { @@ -59043,7 +59043,7 @@ null ], "name": "_tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59053,9 +59053,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2146, + "id": 1638, "name": "StructuredDocumentation", - "src": "40393:131:1" + "src": "41548:134:0" }, { "children": [ @@ -59064,7 +59064,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59074,24 +59074,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2147, + "id": 1639, "name": "UserDefinedTypeName", - "src": "40546:3:1" + "src": "41705:3:0" } ], - "id": 2148, + "id": 1640, "name": "VariableDeclaration", - "src": "40546:15:1" + "src": "41705:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59103,19 +59103,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2149, + "id": 1641, "name": "ElementaryTypeName", - "src": "40563:7:1" + "src": "41722:7:0" } ], - "id": 2150, + "id": 1642, "name": "VariableDeclaration", - "src": "40563:11:1" + "src": "41722:11:0" } ], - "id": 2151, + "id": 1643, "name": "ParameterList", - "src": "40545:30:1" + "src": "41704:30:0" }, { "children": [ @@ -59124,7 +59124,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -59136,21 +59136,21 @@ "name": "bool", "type": "bool" }, - "id": 2152, + "id": 1644, "name": "ElementaryTypeName", - "src": "40598:4:1" + "src": "41757:4:0" } ], - "id": 2153, + "id": 1645, "name": "VariableDeclaration", - "src": "40598:4:1" + "src": "41757:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59162,26 +59162,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2154, + "id": 1646, "name": "ElementaryTypeName", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2155, + "id": 1647, "name": "VariableDeclaration", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2156, + "id": 1648, "name": "ParameterList", - "src": "40597:15:1" + "src": "41756:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2158 + 1650 ] }, "children": [ @@ -59190,7 +59190,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2182, + "scope": 1674, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59202,14 +59202,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2157, + "id": 1649, "name": "ElementaryTypeName", - "src": "40623:7:1" + "src": "41783:7:0" } ], - "id": 2158, + "id": 1650, "name": "VariableDeclaration", - "src": "40623:16:1" + "src": "41783:16:0" }, { "attributes": { @@ -59227,7 +59227,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59236,41 +59236,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2159, + "id": 1651, "name": "Identifier", - "src": "40642:3:1" + "src": "41802:3:0" } ], - "id": 2160, + "id": 1652, "name": "MemberAccess", - "src": "40642:12:1" + "src": "41802:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2150, + "referencedDeclaration": 1642, "type": "bytes32", "value": "key" }, - "id": 2161, + "id": 1653, "name": "Identifier", - "src": "40655:3:1" + "src": "41815:3:0" } ], - "id": 2162, + "id": 1654, "name": "IndexAccess", - "src": "40642:17:1" + "src": "41802:17:0" } ], - "id": 2163, + "id": 1655, "name": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "attributes": {}, @@ -59294,13 +59294,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2164, + "id": 1656, "name": "Identifier", - "src": "40673:8:1" + "src": "41834:8:0" }, { "attributes": { @@ -59313,18 +59313,18 @@ "type": "int_const 0", "value": "0" }, - "id": 2165, + "id": 1657, "name": "Literal", - "src": "40685:1:1" + "src": "41846:1:0" } ], - "id": 2166, + "id": 1658, "name": "BinaryOperation", - "src": "40673:13:1" + "src": "41834:13:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59348,9 +59348,9 @@ "type": "bool", "value": "false" }, - "id": 2167, + "id": 1659, "name": "Literal", - "src": "40696:5:1" + "src": "41857:5:0" }, { "attributes": { @@ -59363,28 +59363,28 @@ "type": "int_const 0", "value": "0" }, - "id": 2168, + "id": 1660, "name": "Literal", - "src": "40703:1:1" + "src": "41864:1:0" } ], - "id": 2169, + "id": 1661, "name": "TupleExpression", - "src": "40695:10:1" + "src": "41856:10:0" } ], - "id": 2170, + "id": 1662, "name": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } ], - "id": 2171, + "id": 1663, "name": "IfStatement", - "src": "40669:36:1" + "src": "41830:36:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59408,9 +59408,9 @@ "type": "bool", "value": "true" }, - "id": 2172, + "id": 1664, "name": "Literal", - "src": "40759:4:1" + "src": "41921:4:0" }, { "attributes": { @@ -59419,7 +59419,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59439,7 +59439,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59448,18 +59448,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2173, + "id": 1665, "name": "Identifier", - "src": "40765:3:1" + "src": "41927:3:0" } ], - "id": 2174, + "id": 1666, "name": "MemberAccess", - "src": "40765:12:1" + "src": "41927:12:0" }, { "attributes": { @@ -59480,13 +59480,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2175, + "id": 1667, "name": "Identifier", - "src": "40778:8:1" + "src": "41940:8:0" }, { "attributes": { @@ -59499,44 +59499,44 @@ "type": "int_const 1", "value": "1" }, - "id": 2176, + "id": 1668, "name": "Literal", - "src": "40789:1:1" + "src": "41951:1:0" } ], - "id": 2177, + "id": 1669, "name": "BinaryOperation", - "src": "40778:12:1" + "src": "41940:12:0" } ], - "id": 2178, + "id": 1670, "name": "IndexAccess", - "src": "40765:26:1" + "src": "41927:26:0" } ], - "id": 2179, + "id": 1671, "name": "MemberAccess", - "src": "40765:33:1" + "src": "41927:33:0" } ], - "id": 2180, + "id": 1672, "name": "TupleExpression", - "src": "40758:41:1" + "src": "41920:41:0" } ], - "id": 2181, + "id": 1673, "name": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ], - "id": 2182, + "id": 1674, "name": "Block", - "src": "40613:220:1" + "src": "41772:224:0" } ], - "id": 2183, + "id": 1675, "name": "FunctionDefinition", - "src": "40529:304:1" + "src": "41688:308:0" }, { "attributes": { @@ -59547,7 +59547,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59557,9 +59557,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2184, + "id": 1676, "name": "StructuredDocumentation", - "src": "40839:141:1" + "src": "42004:147:0" }, { "children": [ @@ -59568,7 +59568,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59578,24 +59578,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2185, + "id": 1677, "name": "UserDefinedTypeName", - "src": "40999:3:1" + "src": "42171:3:0" } ], - "id": 2186, + "id": 1678, "name": "VariableDeclaration", - "src": "40999:15:1" + "src": "42171:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59607,19 +59607,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2187, + "id": 1679, "name": "ElementaryTypeName", - "src": "41016:7:1" + "src": "42188:7:0" } ], - "id": 2188, + "id": 1680, "name": "VariableDeclaration", - "src": "41016:11:1" + "src": "42188:11:0" } ], - "id": 2189, + "id": 1681, "name": "ParameterList", - "src": "40998:30:1" + "src": "42170:30:0" }, { "children": [ @@ -59628,7 +59628,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59640,26 +59640,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2190, + "id": 1682, "name": "ElementaryTypeName", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2191, + "id": 1683, "name": "VariableDeclaration", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2192, + "id": 1684, "name": "ParameterList", - "src": "41050:9:1" + "src": "42222:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2194 + 1686 ] }, "children": [ @@ -59668,7 +59668,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2215, + "scope": 1707, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59680,14 +59680,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2193, + "id": 1685, "name": "ElementaryTypeName", - "src": "41070:7:1" + "src": "42243:7:0" } ], - "id": 2194, + "id": 1686, "name": "VariableDeclaration", - "src": "41070:16:1" + "src": "42243:16:0" }, { "attributes": { @@ -59705,7 +59705,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59714,41 +59714,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2195, + "id": 1687, "name": "Identifier", - "src": "41089:3:1" + "src": "42262:3:0" } ], - "id": 2196, + "id": 1688, "name": "MemberAccess", - "src": "41089:12:1" + "src": "42262:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2188, + "referencedDeclaration": 1680, "type": "bytes32", "value": "key" }, - "id": 2197, + "id": 1689, "name": "Identifier", - "src": "41102:3:1" + "src": "42275:3:0" } ], - "id": 2198, + "id": 1690, "name": "IndexAccess", - "src": "41089:17:1" + "src": "42262:17:0" } ], - "id": 2199, + "id": 1691, "name": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "children": [ @@ -59787,9 +59787,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2200, + "id": 1692, "name": "Identifier", - "src": "41116:7:1" + "src": "42290:7:0" }, { "attributes": { @@ -59810,13 +59810,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2201, + "id": 1693, "name": "Identifier", - "src": "41124:8:1" + "src": "42298:8:0" }, { "attributes": { @@ -59829,14 +59829,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2202, + "id": 1694, "name": "Literal", - "src": "41136:1:1" + "src": "42310:1:0" } ], - "id": 2203, + "id": 1695, "name": "BinaryOperation", - "src": "41124:13:1" + "src": "42298:13:0" }, { "attributes": { @@ -59849,23 +59849,23 @@ "type": "literal_string \"EnumerableMap: nonexistent key\"", "value": "EnumerableMap: nonexistent key" }, - "id": 2204, + "id": 1696, "name": "Literal", - "src": "41139:32:1" + "src": "42313:32:0" } ], - "id": 2205, + "id": 1697, "name": "FunctionCall", - "src": "41116:56:1" + "src": "42290:56:0" } ], - "id": 2206, + "id": 1698, "name": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "attributes": { - "functionReturnParameters": 2192 + "functionReturnParameters": 1684 }, "children": [ { @@ -59875,7 +59875,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59895,7 +59895,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59904,18 +59904,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2207, + "id": 1699, "name": "Identifier", - "src": "41225:3:1" + "src": "42400:3:0" } ], - "id": 2208, + "id": 1700, "name": "MemberAccess", - "src": "41225:12:1" + "src": "42400:12:0" }, { "attributes": { @@ -59936,13 +59936,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2209, + "id": 1701, "name": "Identifier", - "src": "41238:8:1" + "src": "42413:8:0" }, { "attributes": { @@ -59955,39 +59955,39 @@ "type": "int_const 1", "value": "1" }, - "id": 2210, + "id": 1702, "name": "Literal", - "src": "41249:1:1" + "src": "42424:1:0" } ], - "id": 2211, + "id": 1703, "name": "BinaryOperation", - "src": "41238:12:1" + "src": "42413:12:0" } ], - "id": 2212, + "id": 1704, "name": "IndexAccess", - "src": "41225:26:1" + "src": "42400:26:0" } ], - "id": 2213, + "id": 1705, "name": "MemberAccess", - "src": "41225:33:1" + "src": "42400:33:0" } ], - "id": 2214, + "id": 1706, "name": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ], - "id": 2215, + "id": 1707, "name": "Block", - "src": "41060:232:1" + "src": "42232:236:0" } ], - "id": 2216, + "id": 1708, "name": "FunctionDefinition", - "src": "40985:307:1" + "src": "42157:311:0" }, { "attributes": { @@ -59998,7 +59998,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -60008,9 +60008,9 @@ "attributes": { "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2217, + "id": 1709, "name": "StructuredDocumentation", - "src": "41298:271:1" + "src": "42476:276:0" }, { "children": [ @@ -60019,7 +60019,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -60029,24 +60029,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2218, + "id": 1710, "name": "UserDefinedTypeName", - "src": "41588:3:1" + "src": "42772:3:0" } ], - "id": 2219, + "id": 1711, "name": "VariableDeclaration", - "src": "41588:15:1" + "src": "42772:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -60058,21 +60058,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2220, + "id": 1712, "name": "ElementaryTypeName", - "src": "41605:7:1" + "src": "42789:7:0" } ], - "id": 2221, + "id": 1713, "name": "VariableDeclaration", - "src": "41605:11:1" + "src": "42789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -60084,19 +60084,19 @@ "name": "string", "type": "string" }, - "id": 2222, + "id": 1714, "name": "ElementaryTypeName", - "src": "41618:6:1" + "src": "42802:6:0" } ], - "id": 2223, + "id": 1715, "name": "VariableDeclaration", - "src": "41618:26:1" + "src": "42802:26:0" } ], - "id": 2224, + "id": 1716, "name": "ParameterList", - "src": "41587:58:1" + "src": "42771:58:0" }, { "children": [ @@ -60105,7 +60105,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -60117,26 +60117,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2225, + "id": 1717, "name": "ElementaryTypeName", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2226, + "id": 1718, "name": "VariableDeclaration", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2227, + "id": 1719, "name": "ParameterList", - "src": "41667:9:1" + "src": "42851:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2229 + 1721 ] }, "children": [ @@ -60145,7 +60145,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2250, + "scope": 1742, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60157,14 +60157,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2228, + "id": 1720, "name": "ElementaryTypeName", - "src": "41687:7:1" + "src": "42872:7:0" } ], - "id": 2229, + "id": 1721, "name": "VariableDeclaration", - "src": "41687:16:1" + "src": "42872:16:0" }, { "attributes": { @@ -60182,7 +60182,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -60191,41 +60191,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2230, + "id": 1722, "name": "Identifier", - "src": "41706:3:1" + "src": "42891:3:0" } ], - "id": 2231, + "id": 1723, "name": "MemberAccess", - "src": "41706:12:1" + "src": "42891:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2221, + "referencedDeclaration": 1713, "type": "bytes32", "value": "key" }, - "id": 2232, + "id": 1724, "name": "Identifier", - "src": "41719:3:1" + "src": "42904:3:0" } ], - "id": 2233, + "id": 1725, "name": "IndexAccess", - "src": "41706:17:1" + "src": "42891:17:0" } ], - "id": 2234, + "id": 1726, "name": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "children": [ @@ -60264,9 +60264,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2235, + "id": 1727, "name": "Identifier", - "src": "41733:7:1" + "src": "42919:7:0" }, { "attributes": { @@ -60287,13 +60287,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2236, + "id": 1728, "name": "Identifier", - "src": "41741:8:1" + "src": "42927:8:0" }, { "attributes": { @@ -60306,41 +60306,41 @@ "type": "int_const 0", "value": "0" }, - "id": 2237, + "id": 1729, "name": "Literal", - "src": "41753:1:1" + "src": "42939:1:0" } ], - "id": 2238, + "id": 1730, "name": "BinaryOperation", - "src": "41741:13:1" + "src": "42927:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2223, + "referencedDeclaration": 1715, "type": "string memory", "value": "errorMessage" }, - "id": 2239, + "id": 1731, "name": "Identifier", - "src": "41756:12:1" + "src": "42942:12:0" } ], - "id": 2240, + "id": 1732, "name": "FunctionCall", - "src": "41733:36:1" + "src": "42919:36:0" } ], - "id": 2241, + "id": 1733, "name": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "attributes": { - "functionReturnParameters": 2227 + "functionReturnParameters": 1719 }, "children": [ { @@ -60350,7 +60350,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -60370,7 +60370,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -60379,18 +60379,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2242, + "id": 1734, "name": "Identifier", - "src": "41822:3:1" + "src": "43009:3:0" } ], - "id": 2243, + "id": 1735, "name": "MemberAccess", - "src": "41822:12:1" + "src": "43009:12:0" }, { "attributes": { @@ -60411,13 +60411,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2244, + "id": 1736, "name": "Identifier", - "src": "41835:8:1" + "src": "43022:8:0" }, { "attributes": { @@ -60430,45 +60430,45 @@ "type": "int_const 1", "value": "1" }, - "id": 2245, + "id": 1737, "name": "Literal", - "src": "41846:1:1" + "src": "43033:1:0" } ], - "id": 2246, + "id": 1738, "name": "BinaryOperation", - "src": "41835:12:1" + "src": "43022:12:0" } ], - "id": 2247, + "id": 1739, "name": "IndexAccess", - "src": "41822:26:1" + "src": "43009:26:0" } ], - "id": 2248, + "id": 1740, "name": "MemberAccess", - "src": "41822:33:1" + "src": "43009:33:0" } ], - "id": 2249, + "id": 1741, "name": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ], - "id": 2250, + "id": 1742, "name": "Block", - "src": "41677:212:1" + "src": "42861:216:0" } ], - "id": 2251, + "id": 1743, "name": "FunctionDefinition", - "src": "41574:315:1" + "src": "42758:319:0" }, { "attributes": { "canonicalName": "EnumerableMap.UintToAddressMap", "name": "UintToAddressMap", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -60477,7 +60477,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 2254, + "scope": 1746, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.Map", @@ -60487,22 +60487,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2252, + "id": 1744, "name": "UserDefinedTypeName", - "src": "41954:3:1" + "src": "43147:3:0" } ], - "id": 2253, + "id": 1745, "name": "VariableDeclaration", - "src": "41954:10:1" + "src": "43147:10:0" } ], - "id": 2254, + "id": 1746, "name": "StructDefinition", - "src": "41920:51:1" + "src": "43112:53:0" }, { "attributes": { @@ -60513,7 +60513,7 @@ null ], "name": "set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60523,9 +60523,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2255, + "id": 1747, "name": "StructuredDocumentation", - "src": "41977:216:1" + "src": "43173:222:0" }, { "children": [ @@ -60534,7 +60534,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60544,24 +60544,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2256, + "id": 1748, "name": "UserDefinedTypeName", - "src": "42211:16:1" + "src": "43414:16:0" } ], - "id": 2257, + "id": 1749, "name": "VariableDeclaration", - "src": "42211:28:1" + "src": "43414:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60573,21 +60573,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2258, + "id": 1750, "name": "ElementaryTypeName", - "src": "42241:7:1" + "src": "43444:7:0" } ], - "id": 2259, + "id": 1751, "name": "VariableDeclaration", - "src": "42241:11:1" + "src": "43444:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -60600,19 +60600,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2260, + "id": 1752, "name": "ElementaryTypeName", - "src": "42254:7:1" + "src": "43457:7:0" } ], - "id": 2261, + "id": 1753, "name": "VariableDeclaration", - "src": "42254:13:1" + "src": "43457:13:0" } ], - "id": 2262, + "id": 1754, "name": "ParameterList", - "src": "42210:58:1" + "src": "43413:58:0" }, { "children": [ @@ -60621,7 +60621,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60633,25 +60633,25 @@ "name": "bool", "type": "bool" }, - "id": 2263, + "id": 1755, "name": "ElementaryTypeName", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2264, + "id": 1756, "name": "VariableDeclaration", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2265, + "id": 1757, "name": "ParameterList", - "src": "42286:6:1" + "src": "43489:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2265 + "functionReturnParameters": 1757 }, "children": [ { @@ -60673,7 +60673,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60688,13 +60688,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1998, + "referencedDeclaration": 1490, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)", "value": "_set" }, - "id": 2266, + "id": 1758, "name": "Identifier", - "src": "42310:4:1" + "src": "43514:4:0" }, { "attributes": { @@ -60703,7 +60703,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60712,18 +60712,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2257, + "referencedDeclaration": 1749, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2267, + "id": 1759, "name": "Identifier", - "src": "42315:3:1" + "src": "43519:3:0" } ], - "id": 2268, + "id": 1760, "name": "MemberAccess", - "src": "42315:10:1" + "src": "43519:10:0" }, { "attributes": { @@ -60759,32 +60759,32 @@ "attributes": { "name": "bytes32" }, - "id": 2269, + "id": 1761, "name": "ElementaryTypeName", - "src": "42327:7:1" + "src": "43531:7:0" } ], - "id": 2270, + "id": 1762, "name": "ElementaryTypeNameExpression", - "src": "42327:7:1" + "src": "43531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2259, + "referencedDeclaration": 1751, "type": "uint256", "value": "key" }, - "id": 2271, + "id": 1763, "name": "Identifier", - "src": "42335:3:1" + "src": "43539:3:0" } ], - "id": 2272, + "id": 1764, "name": "FunctionCall", - "src": "42327:12:1" + "src": "43531:12:0" }, { "attributes": { @@ -60820,14 +60820,14 @@ "attributes": { "name": "bytes32" }, - "id": 2273, + "id": 1765, "name": "ElementaryTypeName", - "src": "42341:7:1" + "src": "43545:7:0" } ], - "id": 2274, + "id": 1766, "name": "ElementaryTypeNameExpression", - "src": "42341:7:1" + "src": "43545:7:0" }, { "attributes": { @@ -60863,14 +60863,14 @@ "attributes": { "name": "uint256" }, - "id": 2275, + "id": 1767, "name": "ElementaryTypeName", - "src": "42349:7:1" + "src": "43553:7:0" } ], - "id": 2276, + "id": 1768, "name": "ElementaryTypeNameExpression", - "src": "42349:7:1" + "src": "43553:7:0" }, { "attributes": { @@ -60906,62 +60906,62 @@ "attributes": { "name": "uint160" }, - "id": 2277, + "id": 1769, "name": "ElementaryTypeName", - "src": "42357:7:1" + "src": "43561:7:0" } ], - "id": 2278, + "id": 1770, "name": "ElementaryTypeNameExpression", - "src": "42357:7:1" + "src": "43561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2261, + "referencedDeclaration": 1753, "type": "address", "value": "value" }, - "id": 2279, + "id": 1771, "name": "Identifier", - "src": "42365:5:1" + "src": "43569:5:0" } ], - "id": 2280, + "id": 1772, "name": "FunctionCall", - "src": "42357:14:1" + "src": "43561:14:0" } ], - "id": 2281, + "id": 1773, "name": "FunctionCall", - "src": "42349:23:1" + "src": "43553:23:0" } ], - "id": 2282, + "id": 1774, "name": "FunctionCall", - "src": "42341:32:1" + "src": "43545:32:0" } ], - "id": 2283, + "id": 1775, "name": "FunctionCall", - "src": "42310:64:1" + "src": "43514:64:0" } ], - "id": 2284, + "id": 1776, "name": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ], - "id": 2285, + "id": 1777, "name": "Block", - "src": "42293:88:1" + "src": "43496:90:0" } ], - "id": 2286, + "id": 1778, "name": "FunctionDefinition", - "src": "42198:183:1" + "src": "43401:185:0" }, { "attributes": { @@ -60972,7 +60972,7 @@ null ], "name": "remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60982,9 +60982,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2287, + "id": 1779, "name": "StructuredDocumentation", - "src": "42387:148:1" + "src": "43594:152:0" }, { "children": [ @@ -60993,7 +60993,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61003,24 +61003,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2288, + "id": 1780, "name": "UserDefinedTypeName", - "src": "42556:16:1" + "src": "43768:16:0" } ], - "id": 2289, + "id": 1781, "name": "VariableDeclaration", - "src": "42556:28:1" + "src": "43768:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61032,19 +61032,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2290, + "id": 1782, "name": "ElementaryTypeName", - "src": "42586:7:1" + "src": "43798:7:0" } ], - "id": 2291, + "id": 1783, "name": "VariableDeclaration", - "src": "42586:11:1" + "src": "43798:11:0" } ], - "id": 2292, + "id": 1784, "name": "ParameterList", - "src": "42555:43:1" + "src": "43767:43:0" }, { "children": [ @@ -61053,7 +61053,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -61065,25 +61065,25 @@ "name": "bool", "type": "bool" }, - "id": 2293, + "id": 1785, "name": "ElementaryTypeName", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2294, + "id": 1786, "name": "VariableDeclaration", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2295, + "id": 1787, "name": "ParameterList", - "src": "42616:6:1" + "src": "43828:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2295 + "functionReturnParameters": 1787 }, "children": [ { @@ -61105,7 +61105,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61116,13 +61116,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2079, + "referencedDeclaration": 1571, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 2296, + "id": 1788, "name": "Identifier", - "src": "42640:7:1" + "src": "43853:7:0" }, { "attributes": { @@ -61131,7 +61131,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61140,18 +61140,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2289, + "referencedDeclaration": 1781, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2297, + "id": 1789, "name": "Identifier", - "src": "42648:3:1" + "src": "43861:3:0" } ], - "id": 2298, + "id": 1790, "name": "MemberAccess", - "src": "42648:10:1" + "src": "43861:10:0" }, { "attributes": { @@ -61187,52 +61187,52 @@ "attributes": { "name": "bytes32" }, - "id": 2299, + "id": 1791, "name": "ElementaryTypeName", - "src": "42660:7:1" + "src": "43873:7:0" } ], - "id": 2300, + "id": 1792, "name": "ElementaryTypeNameExpression", - "src": "42660:7:1" + "src": "43873:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2291, + "referencedDeclaration": 1783, "type": "uint256", "value": "key" }, - "id": 2301, + "id": 1793, "name": "Identifier", - "src": "42668:3:1" + "src": "43881:3:0" } ], - "id": 2302, + "id": 1794, "name": "FunctionCall", - "src": "42660:12:1" + "src": "43873:12:0" } ], - "id": 2303, + "id": 1795, "name": "FunctionCall", - "src": "42640:33:1" + "src": "43853:33:0" } ], - "id": 2304, + "id": 1796, "name": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ], - "id": 2305, + "id": 1797, "name": "Block", - "src": "42623:57:1" + "src": "43835:59:0" } ], - "id": 2306, + "id": 1798, "name": "FunctionDefinition", - "src": "42540:140:1" + "src": "43752:142:0" }, { "attributes": { @@ -61243,7 +61243,7 @@ null ], "name": "contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61253,9 +61253,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2307, + "id": 1799, "name": "StructuredDocumentation", - "src": "42686:68:1" + "src": "43902:70:0" }, { "children": [ @@ -61264,7 +61264,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61274,24 +61274,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2308, + "id": 1800, "name": "UserDefinedTypeName", - "src": "42777:16:1" + "src": "43996:16:0" } ], - "id": 2309, + "id": 1801, "name": "VariableDeclaration", - "src": "42777:28:1" + "src": "43996:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61303,19 +61303,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2310, + "id": 1802, "name": "ElementaryTypeName", - "src": "42807:7:1" + "src": "44026:7:0" } ], - "id": 2311, + "id": 1803, "name": "VariableDeclaration", - "src": "42807:11:1" + "src": "44026:11:0" } ], - "id": 2312, + "id": 1804, "name": "ParameterList", - "src": "42776:43:1" + "src": "43995:43:0" }, { "children": [ @@ -61324,7 +61324,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -61336,25 +61336,25 @@ "name": "bool", "type": "bool" }, - "id": 2313, + "id": 1805, "name": "ElementaryTypeName", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2314, + "id": 1806, "name": "VariableDeclaration", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2315, + "id": 1807, "name": "ParameterList", - "src": "42842:6:1" + "src": "44061:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2315 + "functionReturnParameters": 1807 }, "children": [ { @@ -61376,7 +61376,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61387,13 +61387,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2097, + "referencedDeclaration": 1589, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 2316, + "id": 1808, "name": "Identifier", - "src": "42866:9:1" + "src": "44086:9:0" }, { "attributes": { @@ -61402,7 +61402,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61411,18 +61411,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2309, + "referencedDeclaration": 1801, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2317, + "id": 1809, "name": "Identifier", - "src": "42876:3:1" + "src": "44096:3:0" } ], - "id": 2318, + "id": 1810, "name": "MemberAccess", - "src": "42876:10:1" + "src": "44096:10:0" }, { "attributes": { @@ -61458,52 +61458,52 @@ "attributes": { "name": "bytes32" }, - "id": 2319, + "id": 1811, "name": "ElementaryTypeName", - "src": "42888:7:1" + "src": "44108:7:0" } ], - "id": 2320, + "id": 1812, "name": "ElementaryTypeNameExpression", - "src": "42888:7:1" + "src": "44108:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2311, + "referencedDeclaration": 1803, "type": "uint256", "value": "key" }, - "id": 2321, + "id": 1813, "name": "Identifier", - "src": "42896:3:1" + "src": "44116:3:0" } ], - "id": 2322, + "id": 1814, "name": "FunctionCall", - "src": "42888:12:1" + "src": "44108:12:0" } ], - "id": 2323, + "id": 1815, "name": "FunctionCall", - "src": "42866:35:1" + "src": "44086:35:0" } ], - "id": 2324, + "id": 1816, "name": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ], - "id": 2325, + "id": 1817, "name": "Block", - "src": "42849:59:1" + "src": "44068:61:0" } ], - "id": 2326, + "id": 1818, "name": "FunctionDefinition", - "src": "42759:149:1" + "src": "43978:151:0" }, { "attributes": { @@ -61514,7 +61514,7 @@ null ], "name": "length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61524,9 +61524,9 @@ "attributes": { "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2327, + "id": 1819, "name": "StructuredDocumentation", - "src": "42914:72:1" + "src": "44137:74:0" }, { "children": [ @@ -61535,7 +61535,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61545,22 +61545,22 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2328, + "id": 1820, "name": "UserDefinedTypeName", - "src": "43007:16:1" + "src": "44233:16:0" } ], - "id": 2329, + "id": 1821, "name": "VariableDeclaration", - "src": "43007:28:1" + "src": "44233:28:0" } ], - "id": 2330, + "id": 1822, "name": "ParameterList", - "src": "43006:30:1" + "src": "44232:30:0" }, { "children": [ @@ -61569,7 +61569,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61581,25 +61581,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2331, + "id": 1823, "name": "ElementaryTypeName", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2332, + "id": 1824, "name": "VariableDeclaration", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2333, + "id": 1825, "name": "ParameterList", - "src": "43059:9:1" + "src": "44285:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2333 + "functionReturnParameters": 1825 }, "children": [ { @@ -61621,20 +61621,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 2110, + "referencedDeclaration": 1602, "type": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)", "value": "_length" }, - "id": 2334, + "id": 1826, "name": "Identifier", - "src": "43086:7:1" + "src": "44313:7:0" }, { "attributes": { @@ -61643,7 +61643,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61652,38 +61652,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2329, + "referencedDeclaration": 1821, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2335, + "id": 1827, "name": "Identifier", - "src": "43094:3:1" + "src": "44321:3:0" } ], - "id": 2336, + "id": 1828, "name": "MemberAccess", - "src": "43094:10:1" + "src": "44321:10:0" } ], - "id": 2337, + "id": 1829, "name": "FunctionCall", - "src": "43086:19:1" + "src": "44313:19:0" } ], - "id": 2338, + "id": 1830, "name": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ], - "id": 2339, + "id": 1831, "name": "Block", - "src": "43069:43:1" + "src": "44295:45:0" } ], - "id": 2340, + "id": 1832, "name": "FunctionDefinition", - "src": "42991:121:1" + "src": "44217:123:0" }, { "attributes": { @@ -61694,7 +61694,7 @@ null ], "name": "at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61704,9 +61704,9 @@ "attributes": { "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2341, + "id": 1833, "name": "StructuredDocumentation", - "src": "43117:318:1" + "src": "44347:326:0" }, { "children": [ @@ -61715,7 +61715,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61725,24 +61725,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2342, + "id": 1834, "name": "UserDefinedTypeName", - "src": "43452:16:1" + "src": "44691:16:0" } ], - "id": 2343, + "id": 1835, "name": "VariableDeclaration", - "src": "43452:28:1" + "src": "44691:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61754,19 +61754,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2344, + "id": 1836, "name": "ElementaryTypeName", - "src": "43482:7:1" + "src": "44721:7:0" } ], - "id": 2345, + "id": 1837, "name": "VariableDeclaration", - "src": "43482:13:1" + "src": "44721:13:0" } ], - "id": 2346, + "id": 1838, "name": "ParameterList", - "src": "43451:45:1" + "src": "44690:45:0" }, { "children": [ @@ -61775,7 +61775,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61787,21 +61787,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2347, + "id": 1839, "name": "ElementaryTypeName", - "src": "43520:7:1" + "src": "44759:7:0" } ], - "id": 2348, + "id": 1840, "name": "VariableDeclaration", - "src": "43520:7:1" + "src": "44759:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -61814,27 +61814,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2349, + "id": 1841, "name": "ElementaryTypeName", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2350, + "id": 1842, "name": "VariableDeclaration", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2351, + "id": 1843, "name": "ParameterList", - "src": "43519:18:1" + "src": "44758:18:0" }, { "children": [ { "attributes": { "assignments": [ - 2353, - 2355 + 1845, + 1847 ] }, "children": [ @@ -61843,7 +61843,7 @@ "constant": false, "mutability": "mutable", "name": "key", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61855,21 +61855,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2352, + "id": 1844, "name": "ElementaryTypeName", - "src": "43549:7:1" + "src": "44789:7:0" } ], - "id": 2353, + "id": 1845, "name": "VariableDeclaration", - "src": "43549:11:1" + "src": "44789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61881,14 +61881,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2354, + "id": 1846, "name": "ElementaryTypeName", - "src": "43562:7:1" + "src": "44802:7:0" } ], - "id": 2355, + "id": 1847, "name": "VariableDeclaration", - "src": "43562:13:1" + "src": "44802:13:0" }, { "attributes": { @@ -61909,7 +61909,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61920,13 +61920,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2145, + "referencedDeclaration": 1637, "type": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)", "value": "_at" }, - "id": 2356, + "id": 1848, "name": "Identifier", - "src": "43579:3:1" + "src": "44819:3:0" }, { "attributes": { @@ -61935,7 +61935,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61944,45 +61944,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2343, + "referencedDeclaration": 1835, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2357, + "id": 1849, "name": "Identifier", - "src": "43583:3:1" + "src": "44823:3:0" } ], - "id": 2358, + "id": 1850, "name": "MemberAccess", - "src": "43583:10:1" + "src": "44823:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2345, + "referencedDeclaration": 1837, "type": "uint256", "value": "index" }, - "id": 2359, + "id": 1851, "name": "Identifier", - "src": "43595:5:1" + "src": "44835:5:0" } ], - "id": 2360, + "id": 1852, "name": "FunctionCall", - "src": "43579:22:1" + "src": "44819:22:0" } ], - "id": 2361, + "id": 1853, "name": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "attributes": { - "functionReturnParameters": 2351 + "functionReturnParameters": 1843 }, "children": [ { @@ -62029,32 +62029,32 @@ "attributes": { "name": "uint256" }, - "id": 2362, + "id": 1854, "name": "ElementaryTypeName", - "src": "43619:7:1" + "src": "44860:7:0" } ], - "id": 2363, + "id": 1855, "name": "ElementaryTypeNameExpression", - "src": "43619:7:1" + "src": "44860:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2353, + "referencedDeclaration": 1845, "type": "bytes32", "value": "key" }, - "id": 2364, + "id": 1856, "name": "Identifier", - "src": "43627:3:1" + "src": "44868:3:0" } ], - "id": 2365, + "id": 1857, "name": "FunctionCall", - "src": "43619:12:1" + "src": "44860:12:0" }, { "attributes": { @@ -62090,14 +62090,14 @@ "attributes": { "name": "address" }, - "id": 2366, + "id": 1858, "name": "ElementaryTypeName", - "src": "43633:7:1" + "src": "44874:7:0" } ], - "id": 2367, + "id": 1859, "name": "ElementaryTypeNameExpression", - "src": "43633:7:1" + "src": "44874:7:0" }, { "attributes": { @@ -62133,14 +62133,14 @@ "attributes": { "name": "uint160" }, - "id": 2368, + "id": 1860, "name": "ElementaryTypeName", - "src": "43641:7:1" + "src": "44882:7:0" } ], - "id": 2369, + "id": 1861, "name": "ElementaryTypeNameExpression", - "src": "43641:7:1" + "src": "44882:7:0" }, { "attributes": { @@ -62176,62 +62176,62 @@ "attributes": { "name": "uint256" }, - "id": 2370, + "id": 1862, "name": "ElementaryTypeName", - "src": "43649:7:1" + "src": "44890:7:0" } ], - "id": 2371, + "id": 1863, "name": "ElementaryTypeNameExpression", - "src": "43649:7:1" + "src": "44890:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2355, + "referencedDeclaration": 1847, "type": "bytes32", "value": "value" }, - "id": 2372, + "id": 1864, "name": "Identifier", - "src": "43657:5:1" + "src": "44898:5:0" } ], - "id": 2373, + "id": 1865, "name": "FunctionCall", - "src": "43649:14:1" + "src": "44890:14:0" } ], - "id": 2374, + "id": 1866, "name": "FunctionCall", - "src": "43641:23:1" + "src": "44882:23:0" } ], - "id": 2375, + "id": 1867, "name": "FunctionCall", - "src": "43633:32:1" + "src": "44874:32:0" } ], - "id": 2376, + "id": 1868, "name": "TupleExpression", - "src": "43618:48:1" + "src": "44859:48:0" } ], - "id": 2377, + "id": 1869, "name": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ], - "id": 2378, + "id": 1870, "name": "Block", - "src": "43538:135:1" + "src": "44777:138:0" } ], - "id": 2379, + "id": 1871, "name": "FunctionDefinition", - "src": "43440:233:1" + "src": "44679:236:0" }, { "attributes": { @@ -62242,7 +62242,7 @@ null ], "name": "tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62252,9 +62252,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2380, + "id": 1872, "name": "StructuredDocumentation", - "src": "43679:169:1" + "src": "44923:174:0" }, { "children": [ @@ -62263,7 +62263,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62273,24 +62273,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2381, + "id": 1873, "name": "UserDefinedTypeName", - "src": "43869:16:1" + "src": "45119:16:0" } ], - "id": 2382, + "id": 1874, "name": "VariableDeclaration", - "src": "43869:28:1" + "src": "45119:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62302,19 +62302,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2383, + "id": 1875, "name": "ElementaryTypeName", - "src": "43899:7:1" + "src": "45149:7:0" } ], - "id": 2384, + "id": 1876, "name": "VariableDeclaration", - "src": "43899:11:1" + "src": "45149:11:0" } ], - "id": 2385, + "id": 1877, "name": "ParameterList", - "src": "43868:43:1" + "src": "45118:43:0" }, { "children": [ @@ -62323,7 +62323,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62335,21 +62335,21 @@ "name": "bool", "type": "bool" }, - "id": 2386, + "id": 1878, "name": "ElementaryTypeName", - "src": "43935:4:1" + "src": "45185:4:0" } ], - "id": 2387, + "id": 1879, "name": "VariableDeclaration", - "src": "43935:4:1" + "src": "45185:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62362,27 +62362,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2388, + "id": 1880, "name": "ElementaryTypeName", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2389, + "id": 1881, "name": "VariableDeclaration", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2390, + "id": 1882, "name": "ParameterList", - "src": "43934:15:1" + "src": "45184:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2392, - 2394 + 1884, + 1886 ] }, "children": [ @@ -62391,7 +62391,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62403,21 +62403,21 @@ "name": "bool", "type": "bool" }, - "id": 2391, + "id": 1883, "name": "ElementaryTypeName", - "src": "43961:4:1" + "src": "45212:4:0" } ], - "id": 2392, + "id": 1884, "name": "VariableDeclaration", - "src": "43961:12:1" + "src": "45212:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -62429,14 +62429,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2393, + "id": 1885, "name": "ElementaryTypeName", - "src": "43975:7:1" + "src": "45226:7:0" } ], - "id": 2394, + "id": 1886, "name": "VariableDeclaration", - "src": "43975:13:1" + "src": "45226:13:0" }, { "attributes": { @@ -62457,7 +62457,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62468,13 +62468,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2183, + "referencedDeclaration": 1675, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)", "value": "_tryGet" }, - "id": 2395, + "id": 1887, "name": "Identifier", - "src": "43992:7:1" + "src": "45243:7:0" }, { "attributes": { @@ -62483,7 +62483,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62492,18 +62492,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2382, + "referencedDeclaration": 1874, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2396, + "id": 1888, "name": "Identifier", - "src": "44000:3:1" + "src": "45251:3:0" } ], - "id": 2397, + "id": 1889, "name": "MemberAccess", - "src": "44000:10:1" + "src": "45251:10:0" }, { "attributes": { @@ -62539,46 +62539,46 @@ "attributes": { "name": "bytes32" }, - "id": 2398, + "id": 1890, "name": "ElementaryTypeName", - "src": "44012:7:1" + "src": "45263:7:0" } ], - "id": 2399, + "id": 1891, "name": "ElementaryTypeNameExpression", - "src": "44012:7:1" + "src": "45263:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2384, + "referencedDeclaration": 1876, "type": "uint256", "value": "key" }, - "id": 2400, + "id": 1892, "name": "Identifier", - "src": "44020:3:1" + "src": "45271:3:0" } ], - "id": 2401, + "id": 1893, "name": "FunctionCall", - "src": "44012:12:1" + "src": "45263:12:0" } ], - "id": 2402, + "id": 1894, "name": "FunctionCall", - "src": "43992:33:1" + "src": "45243:33:0" } ], - "id": 2403, + "id": 1895, "name": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "attributes": { - "functionReturnParameters": 2390 + "functionReturnParameters": 1882 }, "children": [ { @@ -62596,13 +62596,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2392, + "referencedDeclaration": 1884, "type": "bool", "value": "success" }, - "id": 2404, + "id": 1896, "name": "Identifier", - "src": "44043:7:1" + "src": "45295:7:0" }, { "attributes": { @@ -62638,14 +62638,14 @@ "attributes": { "name": "address" }, - "id": 2405, + "id": 1897, "name": "ElementaryTypeName", - "src": "44052:7:1" + "src": "45304:7:0" } ], - "id": 2406, + "id": 1898, "name": "ElementaryTypeNameExpression", - "src": "44052:7:1" + "src": "45304:7:0" }, { "attributes": { @@ -62681,14 +62681,14 @@ "attributes": { "name": "uint160" }, - "id": 2407, + "id": 1899, "name": "ElementaryTypeName", - "src": "44060:7:1" + "src": "45312:7:0" } ], - "id": 2408, + "id": 1900, "name": "ElementaryTypeNameExpression", - "src": "44060:7:1" + "src": "45312:7:0" }, { "attributes": { @@ -62724,62 +62724,62 @@ "attributes": { "name": "uint256" }, - "id": 2409, + "id": 1901, "name": "ElementaryTypeName", - "src": "44068:7:1" + "src": "45320:7:0" } ], - "id": 2410, + "id": 1902, "name": "ElementaryTypeNameExpression", - "src": "44068:7:1" + "src": "45320:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2394, + "referencedDeclaration": 1886, "type": "bytes32", "value": "value" }, - "id": 2411, + "id": 1903, "name": "Identifier", - "src": "44076:5:1" + "src": "45328:5:0" } ], - "id": 2412, + "id": 1904, "name": "FunctionCall", - "src": "44068:14:1" + "src": "45320:14:0" } ], - "id": 2413, + "id": 1905, "name": "FunctionCall", - "src": "44060:23:1" + "src": "45312:23:0" } ], - "id": 2414, + "id": 1906, "name": "FunctionCall", - "src": "44052:32:1" + "src": "45304:32:0" } ], - "id": 2415, + "id": 1907, "name": "TupleExpression", - "src": "44042:43:1" + "src": "45294:43:0" } ], - "id": 2416, + "id": 1908, "name": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ], - "id": 2417, + "id": 1909, "name": "Block", - "src": "43950:142:1" + "src": "45200:145:0" } ], - "id": 2418, + "id": 1910, "name": "FunctionDefinition", - "src": "43853:239:1" + "src": "45103:242:0" }, { "attributes": { @@ -62790,7 +62790,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62800,9 +62800,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2419, + "id": 1911, "name": "StructuredDocumentation", - "src": "44098:141:1" + "src": "45353:147:0" }, { "children": [ @@ -62811,7 +62811,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62821,24 +62821,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2420, + "id": 1912, "name": "UserDefinedTypeName", - "src": "44257:16:1" + "src": "45519:16:0" } ], - "id": 2421, + "id": 1913, "name": "VariableDeclaration", - "src": "44257:28:1" + "src": "45519:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62850,19 +62850,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2422, + "id": 1914, "name": "ElementaryTypeName", - "src": "44287:7:1" + "src": "45549:7:0" } ], - "id": 2423, + "id": 1915, "name": "VariableDeclaration", - "src": "44287:11:1" + "src": "45549:11:0" } ], - "id": 2424, + "id": 1916, "name": "ParameterList", - "src": "44256:43:1" + "src": "45518:43:0" }, { "children": [ @@ -62871,7 +62871,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62884,25 +62884,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2425, + "id": 1917, "name": "ElementaryTypeName", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2426, + "id": 1918, "name": "VariableDeclaration", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2427, + "id": 1919, "name": "ParameterList", - "src": "44322:9:1" + "src": "45584:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2427 + "functionReturnParameters": 1919 }, "children": [ { @@ -62939,14 +62939,14 @@ "attributes": { "name": "address" }, - "id": 2428, + "id": 1920, "name": "ElementaryTypeName", - "src": "44349:7:1" + "src": "45612:7:0" } ], - "id": 2429, + "id": 1921, "name": "ElementaryTypeNameExpression", - "src": "44349:7:1" + "src": "45612:7:0" }, { "attributes": { @@ -62982,14 +62982,14 @@ "attributes": { "name": "uint160" }, - "id": 2430, + "id": 1922, "name": "ElementaryTypeName", - "src": "44357:7:1" + "src": "45620:7:0" } ], - "id": 2431, + "id": 1923, "name": "ElementaryTypeNameExpression", - "src": "44357:7:1" + "src": "45620:7:0" }, { "attributes": { @@ -63025,14 +63025,14 @@ "attributes": { "name": "uint256" }, - "id": 2432, + "id": 1924, "name": "ElementaryTypeName", - "src": "44365:7:1" + "src": "45628:7:0" } ], - "id": 2433, + "id": 1925, "name": "ElementaryTypeNameExpression", - "src": "44365:7:1" + "src": "45628:7:0" }, { "attributes": { @@ -63053,7 +63053,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -63062,16 +63062,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, + "referencedDeclaration": 1708, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)", "value": "_get" }, - "id": 2434, + "id": 1926, "name": "Identifier", - "src": "44373:4:1" + "src": "45636:4:0" }, { "attributes": { @@ -63080,7 +63080,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -63089,18 +63089,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2421, + "referencedDeclaration": 1913, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2435, + "id": 1927, "name": "Identifier", - "src": "44378:3:1" + "src": "45641:3:0" } ], - "id": 2436, + "id": 1928, "name": "MemberAccess", - "src": "44378:10:1" + "src": "45641:10:0" }, { "attributes": { @@ -63136,67 +63136,67 @@ "attributes": { "name": "bytes32" }, - "id": 2437, + "id": 1929, "name": "ElementaryTypeName", - "src": "44390:7:1" + "src": "45653:7:0" } ], - "id": 2438, + "id": 1930, "name": "ElementaryTypeNameExpression", - "src": "44390:7:1" + "src": "45653:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2423, + "referencedDeclaration": 1915, "type": "uint256", "value": "key" }, - "id": 2439, + "id": 1931, "name": "Identifier", - "src": "44398:3:1" + "src": "45661:3:0" } ], - "id": 2440, + "id": 1932, "name": "FunctionCall", - "src": "44390:12:1" + "src": "45653:12:0" } ], - "id": 2441, + "id": 1933, "name": "FunctionCall", - "src": "44373:30:1" + "src": "45636:30:0" } ], - "id": 2442, + "id": 1934, "name": "FunctionCall", - "src": "44365:39:1" + "src": "45628:39:0" } ], - "id": 2443, + "id": 1935, "name": "FunctionCall", - "src": "44357:48:1" + "src": "45620:48:0" } ], - "id": 2444, + "id": 1936, "name": "FunctionCall", - "src": "44349:57:1" + "src": "45612:57:0" } ], - "id": 2445, + "id": 1937, "name": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ], - "id": 2446, + "id": 1938, "name": "Block", - "src": "44332:81:1" + "src": "45594:83:0" } ], - "id": 2447, + "id": 1939, "name": "FunctionDefinition", - "src": "44244:169:1" + "src": "45506:171:0" }, { "attributes": { @@ -63207,7 +63207,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -63217,9 +63217,9 @@ "attributes": { "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2448, + "id": 1940, "name": "StructuredDocumentation", - "src": "44419:269:1" + "src": "45685:274:0" }, { "children": [ @@ -63228,7 +63228,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -63238,24 +63238,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2449, + "id": 1941, "name": "UserDefinedTypeName", - "src": "44706:16:1" + "src": "45978:16:0" } ], - "id": 2450, + "id": 1942, "name": "VariableDeclaration", - "src": "44706:28:1" + "src": "45978:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63267,21 +63267,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2451, + "id": 1943, "name": "ElementaryTypeName", - "src": "44736:7:1" + "src": "46008:7:0" } ], - "id": 2452, + "id": 1944, "name": "VariableDeclaration", - "src": "44736:11:1" + "src": "46008:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63293,19 +63293,19 @@ "name": "string", "type": "string" }, - "id": 2453, + "id": 1945, "name": "ElementaryTypeName", - "src": "44749:6:1" + "src": "46021:6:0" } ], - "id": 2454, + "id": 1946, "name": "VariableDeclaration", - "src": "44749:26:1" + "src": "46021:26:0" } ], - "id": 2455, + "id": 1947, "name": "ParameterList", - "src": "44705:71:1" + "src": "45977:71:0" }, { "children": [ @@ -63314,7 +63314,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -63327,25 +63327,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2456, + "id": 1948, "name": "ElementaryTypeName", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2457, + "id": 1949, "name": "VariableDeclaration", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2458, + "id": 1950, "name": "ParameterList", - "src": "44799:9:1" + "src": "46071:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2458 + "functionReturnParameters": 1950 }, "children": [ { @@ -63382,14 +63382,14 @@ "attributes": { "name": "address" }, - "id": 2459, + "id": 1951, "name": "ElementaryTypeName", - "src": "44826:7:1" + "src": "46099:7:0" } ], - "id": 2460, + "id": 1952, "name": "ElementaryTypeNameExpression", - "src": "44826:7:1" + "src": "46099:7:0" }, { "attributes": { @@ -63425,14 +63425,14 @@ "attributes": { "name": "uint160" }, - "id": 2461, + "id": 1953, "name": "ElementaryTypeName", - "src": "44834:7:1" + "src": "46107:7:0" } ], - "id": 2462, + "id": 1954, "name": "ElementaryTypeNameExpression", - "src": "44834:7:1" + "src": "46107:7:0" }, { "attributes": { @@ -63468,14 +63468,14 @@ "attributes": { "name": "uint256" }, - "id": 2463, + "id": 1955, "name": "ElementaryTypeName", - "src": "44842:7:1" + "src": "46115:7:0" } ], - "id": 2464, + "id": 1956, "name": "ElementaryTypeNameExpression", - "src": "44842:7:1" + "src": "46115:7:0" }, { "attributes": { @@ -63496,7 +63496,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -63509,16 +63509,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, + "referencedDeclaration": 1743, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)", "value": "_get" }, - "id": 2465, + "id": 1957, "name": "Identifier", - "src": "44850:4:1" + "src": "46123:4:0" }, { "attributes": { @@ -63527,7 +63527,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -63536,18 +63536,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2450, + "referencedDeclaration": 1942, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2466, + "id": 1958, "name": "Identifier", - "src": "44855:3:1" + "src": "46128:3:0" } ], - "id": 2467, + "id": 1959, "name": "MemberAccess", - "src": "44855:10:1" + "src": "46128:10:0" }, { "attributes": { @@ -63583,85 +63583,85 @@ "attributes": { "name": "bytes32" }, - "id": 2468, + "id": 1960, "name": "ElementaryTypeName", - "src": "44867:7:1" + "src": "46140:7:0" } ], - "id": 2469, + "id": 1961, "name": "ElementaryTypeNameExpression", - "src": "44867:7:1" + "src": "46140:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2452, + "referencedDeclaration": 1944, "type": "uint256", "value": "key" }, - "id": 2470, + "id": 1962, "name": "Identifier", - "src": "44875:3:1" + "src": "46148:3:0" } ], - "id": 2471, + "id": 1963, "name": "FunctionCall", - "src": "44867:12:1" + "src": "46140:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2454, + "referencedDeclaration": 1946, "type": "string memory", "value": "errorMessage" }, - "id": 2472, + "id": 1964, "name": "Identifier", - "src": "44881:12:1" + "src": "46154:12:0" } ], - "id": 2473, + "id": 1965, "name": "FunctionCall", - "src": "44850:44:1" + "src": "46123:44:0" } ], - "id": 2474, + "id": 1966, "name": "FunctionCall", - "src": "44842:53:1" + "src": "46115:53:0" } ], - "id": 2475, + "id": 1967, "name": "FunctionCall", - "src": "44834:62:1" + "src": "46107:62:0" } ], - "id": 2476, + "id": 1968, "name": "FunctionCall", - "src": "44826:71:1" + "src": "46099:71:0" } ], - "id": 2477, + "id": 1969, "name": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ], - "id": 2478, + "id": 1970, "name": "Block", - "src": "44809:95:1" + "src": "46081:97:0" } ], - "id": 2479, + "id": 1971, "name": "FunctionDefinition", - "src": "44693:211:1" + "src": "45965:213:0" } ], - "id": 2480, + "id": 1972, "name": "ContractDefinition", - "src": "35943:8963:1" + "src": "36981:9200:0" }, { "attributes": { @@ -63675,9 +63675,9 @@ ".0" ] }, - "id": 2481, + "id": 1973, "name": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "attributes": { @@ -63691,19 +63691,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev String operations." }, - "id": 2482, + "id": 1974, "name": "StructuredDocumentation", - "src": "44992:34:1" + "src": "46272:36:0" }, { "attributes": { @@ -63714,7 +63714,7 @@ null ], "name": "toString", - "scope": 2566, + "scope": 2058, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -63724,9 +63724,9 @@ "attributes": { "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2483, + "id": 1975, "name": "StructuredDocumentation", - "src": "45049:82:1" + "src": "46333:84:0" }, { "children": [ @@ -63735,7 +63735,7 @@ "constant": false, "mutability": "mutable", "name": "value", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63747,19 +63747,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2484, + "id": 1976, "name": "ElementaryTypeName", - "src": "45154:7:1" + "src": "46441:7:0" } ], - "id": 2485, + "id": 1977, "name": "VariableDeclaration", - "src": "45154:13:1" + "src": "46441:13:0" } ], - "id": 2486, + "id": 1978, "name": "ParameterList", - "src": "45153:15:1" + "src": "46440:15:0" }, { "children": [ @@ -63768,7 +63768,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63780,19 +63780,19 @@ "name": "string", "type": "string" }, - "id": 2487, + "id": 1979, "name": "ElementaryTypeName", - "src": "45192:6:1" + "src": "46479:6:0" } ], - "id": 2488, + "id": 1980, "name": "VariableDeclaration", - "src": "45192:13:1" + "src": "46479:13:0" } ], - "id": 2489, + "id": 1981, "name": "ParameterList", - "src": "45191:15:1" + "src": "46478:15:0" }, { "children": [ @@ -63818,13 +63818,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2490, + "id": 1982, "name": "Identifier", - "src": "45409:5:1" + "src": "46700:5:0" }, { "attributes": { @@ -63837,20 +63837,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2491, + "id": 1983, "name": "Literal", - "src": "45418:1:1" + "src": "46709:1:0" } ], - "id": 2492, + "id": 1984, "name": "BinaryOperation", - "src": "45409:10:1" + "src": "46700:10:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -63864,29 +63864,29 @@ "type": "literal_string \"0\"", "value": "0" }, - "id": 2493, + "id": 1985, "name": "Literal", - "src": "45442:3:1" + "src": "46734:3:0" } ], - "id": 2494, + "id": 1986, "name": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ], - "id": 2495, + "id": 1987, "name": "Block", - "src": "45421:35:1" + "src": "46712:37:0" } ], - "id": 2496, + "id": 1988, "name": "IfStatement", - "src": "45405:51:1" + "src": "46696:53:0" }, { "attributes": { "assignments": [ - 2498 + 1990 ] }, "children": [ @@ -63895,7 +63895,7 @@ "constant": false, "mutability": "mutable", "name": "temp", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63907,37 +63907,37 @@ "name": "uint256", "type": "uint256" }, - "id": 2497, + "id": 1989, "name": "ElementaryTypeName", - "src": "45465:7:1" + "src": "46759:7:0" } ], - "id": 2498, + "id": 1990, "name": "VariableDeclaration", - "src": "45465:12:1" + "src": "46759:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2499, + "id": 1991, "name": "Identifier", - "src": "45480:5:1" + "src": "46774:5:0" } ], - "id": 2500, + "id": 1992, "name": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "attributes": { "assignments": [ - 2502 + 1994 ] }, "children": [ @@ -63946,7 +63946,7 @@ "constant": false, "mutability": "mutable", "name": "digits", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63958,19 +63958,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2501, + "id": 1993, "name": "ElementaryTypeName", - "src": "45495:7:1" + "src": "46790:7:0" } ], - "id": 2502, + "id": 1994, "name": "VariableDeclaration", - "src": "45495:14:1" + "src": "46790:14:0" } ], - "id": 2503, + "id": 1995, "name": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "children": [ @@ -63993,13 +63993,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2504, + "id": 1996, "name": "Identifier", - "src": "45526:4:1" + "src": "46822:4:0" }, { "attributes": { @@ -64012,14 +64012,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2505, + "id": 1997, "name": "Literal", - "src": "45534:1:1" + "src": "46830:1:0" } ], - "id": 2506, + "id": 1998, "name": "BinaryOperation", - "src": "45526:9:1" + "src": "46822:9:0" }, { "children": [ @@ -64041,23 +64041,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2507, + "id": 1999, "name": "Identifier", - "src": "45551:6:1" + "src": "46848:6:0" } ], - "id": 2508, + "id": 2000, "name": "UnaryOperation", - "src": "45551:8:1" + "src": "46848:8:0" } ], - "id": 2509, + "id": 2001, "name": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "children": [ @@ -64076,13 +64076,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2510, + "id": 2002, "name": "Identifier", - "src": "45573:4:1" + "src": "46871:4:0" }, { "attributes": { @@ -64095,34 +64095,34 @@ "type": "int_const 10", "value": "10" }, - "id": 2511, + "id": 2003, "name": "Literal", - "src": "45581:2:1" + "src": "46879:2:0" } ], - "id": 2512, + "id": 2004, "name": "Assignment", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2513, + "id": 2005, "name": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2514, + "id": 2006, "name": "Block", - "src": "45537:57:1" + "src": "46833:60:0" } ], - "id": 2515, + "id": 2007, "name": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "attributes": { "assignments": [ - 2517 + 2009 ] }, "children": [ @@ -64131,7 +64131,7 @@ "constant": false, "mutability": "mutable", "name": "buffer", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -64143,14 +64143,14 @@ "name": "bytes", "type": "bytes" }, - "id": 2516, + "id": 2008, "name": "ElementaryTypeName", - "src": "45603:5:1" + "src": "46903:5:0" } ], - "id": 2517, + "id": 2009, "name": "VariableDeclaration", - "src": "45603:19:1" + "src": "46903:19:0" }, { "attributes": { @@ -64187,42 +64187,42 @@ "name": "bytes", "type": "bytes" }, - "id": 2518, + "id": 2010, "name": "ElementaryTypeName", - "src": "45629:5:1" + "src": "46929:5:0" } ], - "id": 2519, + "id": 2011, "name": "NewExpression", - "src": "45625:9:1" + "src": "46925:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2520, + "id": 2012, "name": "Identifier", - "src": "45635:6:1" + "src": "46935:6:0" } ], - "id": 2521, + "id": 2013, "name": "FunctionCall", - "src": "45625:17:1" + "src": "46925:17:0" } ], - "id": 2522, + "id": 2014, "name": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "attributes": { "assignments": [ - 2524 + 2016 ] }, "children": [ @@ -64231,7 +64231,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -64243,14 +64243,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2523, + "id": 2015, "name": "ElementaryTypeName", - "src": "45652:7:1" + "src": "46953:7:0" } ], - "id": 2524, + "id": 2016, "name": "VariableDeclaration", - "src": "45652:13:1" + "src": "46953:13:0" }, { "attributes": { @@ -64271,13 +64271,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2525, + "id": 2017, "name": "Identifier", - "src": "45668:6:1" + "src": "46969:6:0" }, { "attributes": { @@ -64290,19 +64290,19 @@ "type": "int_const 1", "value": "1" }, - "id": 2526, + "id": 2018, "name": "Literal", - "src": "45677:1:1" + "src": "46978:1:0" } ], - "id": 2527, + "id": 2019, "name": "BinaryOperation", - "src": "45668:10:1" + "src": "46969:10:0" } ], - "id": 2528, + "id": 2020, "name": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "children": [ @@ -64321,36 +64321,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2529, + "id": 2021, "name": "Identifier", - "src": "45688:4:1" + "src": "46990:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2530, + "id": 2022, "name": "Identifier", - "src": "45695:5:1" + "src": "46997:5:0" } ], - "id": 2531, + "id": 2023, "name": "Assignment", - "src": "45688:12:1" + "src": "46990:12:0" } ], - "id": 2532, + "id": 2024, "name": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "children": [ @@ -64373,13 +64373,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2533, + "id": 2025, "name": "Identifier", - "src": "45717:4:1" + "src": "47020:4:0" }, { "attributes": { @@ -64392,14 +64392,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2534, + "id": 2026, "name": "Literal", - "src": "45725:1:1" + "src": "47028:1:0" } ], - "id": 2535, + "id": 2027, "name": "BinaryOperation", - "src": "45717:9:1" + "src": "47020:9:0" }, { "children": [ @@ -64429,13 +64429,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2536, + "id": 2028, "name": "Identifier", - "src": "45742:6:1" + "src": "47046:6:0" }, { "attributes": { @@ -64453,23 +64453,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2524, + "referencedDeclaration": 2016, "type": "uint256", "value": "index" }, - "id": 2537, + "id": 2029, "name": "Identifier", - "src": "45749:5:1" + "src": "47053:5:0" } ], - "id": 2538, + "id": 2030, "name": "UnaryOperation", - "src": "45749:7:1" + "src": "47053:7:0" } ], - "id": 2539, + "id": 2031, "name": "IndexAccess", - "src": "45742:15:1" + "src": "47046:15:0" }, { "attributes": { @@ -64505,14 +64505,14 @@ "attributes": { "name": "bytes1" }, - "id": 2540, + "id": 2032, "name": "ElementaryTypeName", - "src": "45760:6:1" + "src": "47064:6:0" } ], - "id": 2541, + "id": 2033, "name": "ElementaryTypeNameExpression", - "src": "45760:6:1" + "src": "47064:6:0" }, { "attributes": { @@ -64548,14 +64548,14 @@ "attributes": { "name": "uint8" }, - "id": 2542, + "id": 2034, "name": "ElementaryTypeName", - "src": "45767:5:1" + "src": "47071:5:0" } ], - "id": 2543, + "id": 2035, "name": "ElementaryTypeNameExpression", - "src": "45767:5:1" + "src": "47071:5:0" }, { "attributes": { @@ -64582,9 +64582,9 @@ "type": "int_const 48", "value": "48" }, - "id": 2544, + "id": 2036, "name": "Literal", - "src": "45773:2:1" + "src": "47077:2:0" }, { "attributes": { @@ -64605,13 +64605,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2545, + "id": 2037, "name": "Identifier", - "src": "45778:4:1" + "src": "47082:4:0" }, { "attributes": { @@ -64624,39 +64624,39 @@ "type": "int_const 10", "value": "10" }, - "id": 2546, + "id": 2038, "name": "Literal", - "src": "45785:2:1" + "src": "47089:2:0" } ], - "id": 2547, + "id": 2039, "name": "BinaryOperation", - "src": "45778:9:1" + "src": "47082:9:0" } ], - "id": 2548, + "id": 2040, "name": "BinaryOperation", - "src": "45773:14:1" + "src": "47077:14:0" } ], - "id": 2549, + "id": 2041, "name": "FunctionCall", - "src": "45767:21:1" + "src": "47071:21:0" } ], - "id": 2550, + "id": 2042, "name": "FunctionCall", - "src": "45760:29:1" + "src": "47064:29:0" } ], - "id": 2551, + "id": 2043, "name": "Assignment", - "src": "45742:47:1" + "src": "47046:47:0" } ], - "id": 2552, + "id": 2044, "name": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "children": [ @@ -64675,13 +64675,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2553, + "id": 2045, "name": "Identifier", - "src": "45803:4:1" + "src": "47108:4:0" }, { "attributes": { @@ -64694,33 +64694,33 @@ "type": "int_const 10", "value": "10" }, - "id": 2554, + "id": 2046, "name": "Literal", - "src": "45811:2:1" + "src": "47116:2:0" } ], - "id": 2555, + "id": 2047, "name": "Assignment", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2556, + "id": 2048, "name": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2557, + "id": 2049, "name": "Block", - "src": "45728:96:1" + "src": "47031:99:0" } ], - "id": 2558, + "id": 2050, "name": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -64757,52 +64757,52 @@ "attributes": { "name": "string" }, - "id": 2559, + "id": 2051, "name": "ElementaryTypeName", - "src": "45840:6:1" + "src": "47147:6:0" } ], - "id": 2560, + "id": 2052, "name": "ElementaryTypeNameExpression", - "src": "45840:6:1" + "src": "47147:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2561, + "id": 2053, "name": "Identifier", - "src": "45847:6:1" + "src": "47154:6:0" } ], - "id": 2562, + "id": 2054, "name": "FunctionCall", - "src": "45840:14:1" + "src": "47147:14:0" } ], - "id": 2563, + "id": 2055, "name": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ], - "id": 2564, + "id": 2056, "name": "Block", - "src": "45207:654:1" + "src": "46494:675:0" } ], - "id": 2565, + "id": 2057, "name": "FunctionDefinition", - "src": "45136:725:1" + "src": "46423:746:0" } ], - "id": 2566, + "id": 2058, "name": "ContractDefinition", - "src": "45027:836:1" + "src": "46310:862:0" }, { "attributes": { @@ -64816,43 +64816,43 @@ ".0" ] }, - "id": 2567, + "id": 2059, "name": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, - "id": 2568, + "id": 2060, "name": "StructuredDocumentation", - "src": "45955:124:1" + "src": "47269:127:0" }, { "attributes": {}, @@ -64860,17 +64860,17 @@ { "attributes": { "name": "Context", - "referencedDeclaration": 530, + "referencedDeclaration": 22, "type": "contract Context" }, - "id": 2569, + "id": 2061, "name": "UserDefinedTypeName", - "src": "46099:7:1" + "src": "47417:7:0" } ], - "id": 2570, + "id": 2062, "name": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "attributes": {}, @@ -64878,17 +64878,17 @@ { "attributes": { "name": "ERC165", - "referencedDeclaration": 781, + "referencedDeclaration": 273, "type": "contract ERC165" }, - "id": 2571, + "id": 2063, "name": "UserDefinedTypeName", - "src": "46108:6:1" + "src": "47426:6:0" } ], - "id": 2572, + "id": 2064, "name": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "attributes": {}, @@ -64896,17 +64896,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 2573, + "id": 2065, "name": "UserDefinedTypeName", - "src": "46116:7:1" + "src": "47434:7:0" } ], - "id": 2574, + "id": 2066, "name": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "attributes": {}, @@ -64914,17 +64914,17 @@ { "attributes": { "name": "IERC721Metadata", - "referencedDeclaration": 680, + "referencedDeclaration": 172, "type": "contract IERC721Metadata" }, - "id": 2575, + "id": 2067, "name": "UserDefinedTypeName", - "src": "46125:15:1" + "src": "47443:15:0" } ], - "id": 2576, + "id": 2068, "name": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "attributes": {}, @@ -64932,55 +64932,55 @@ { "attributes": { "name": "IERC721Enumerable", - "referencedDeclaration": 709, + "referencedDeclaration": 201, "type": "contract IERC721Enumerable" }, - "id": 2577, + "id": 2069, "name": "UserDefinedTypeName", - "src": "46142:17:1" + "src": "47460:17:0" } ], - "id": 2578, + "id": 2070, "name": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" }, { "children": [ { "attributes": { "name": "SafeMath", - "referencedDeclaration": 1135, + "referencedDeclaration": 627, "type": "library SafeMath" }, - "id": 2579, + "id": 2071, "name": "UserDefinedTypeName", - "src": "46172:8:1" + "src": "47491:8:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2580, + "id": 2072, "name": "ElementaryTypeName", - "src": "46185:7:1" + "src": "47504:7:0" } ], - "id": 2581, + "id": 2073, "name": "UsingForDirective", - "src": "46166:27:1" + "src": "47485:27:0" }, { "children": [ { "attributes": { "name": "Address", - "referencedDeclaration": 1430, + "referencedDeclaration": 922, "type": "library Address" }, - "id": 2582, + "id": 2074, "name": "UserDefinedTypeName", - "src": "46204:7:1" + "src": "47524:7:0" }, { "attributes": { @@ -64988,101 +64988,101 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2583, + "id": 2075, "name": "ElementaryTypeName", - "src": "46216:7:1" + "src": "47536:7:0" } ], - "id": 2584, + "id": 2076, "name": "UsingForDirective", - "src": "46198:26:1" + "src": "47518:26:0" }, { "children": [ { "attributes": { "name": "EnumerableSet", - "referencedDeclaration": 1921, + "referencedDeclaration": 1413, "type": "library EnumerableSet" }, - "id": 2585, + "id": 2077, "name": "UserDefinedTypeName", - "src": "46235:13:1" + "src": "47556:13:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2586, + "id": 2078, "name": "UserDefinedTypeName", - "src": "46253:21:1" + "src": "47574:21:0" } ], - "id": 2587, + "id": 2079, "name": "UsingForDirective", - "src": "46229:46:1" + "src": "47550:46:0" }, { "children": [ { "attributes": { "name": "EnumerableMap", - "referencedDeclaration": 2480, + "referencedDeclaration": 1972, "type": "library EnumerableMap" }, - "id": 2588, + "id": 2080, "name": "UserDefinedTypeName", - "src": "46286:13:1" + "src": "47608:13:0" }, { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2589, + "id": 2081, "name": "UserDefinedTypeName", - "src": "46304:30:1" + "src": "47626:30:0" } ], - "id": 2590, + "id": 2082, "name": "UsingForDirective", - "src": "46280:55:1" + "src": "47602:55:0" }, { "children": [ { "attributes": { "name": "Strings", - "referencedDeclaration": 2566, + "referencedDeclaration": 2058, "type": "library Strings" }, - "id": 2591, + "id": 2083, "name": "UserDefinedTypeName", - "src": "46346:7:1" + "src": "47669:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2592, + "id": 2084, "name": "ElementaryTypeName", - "src": "46358:7:1" + "src": "47681:7:0" } ], - "id": 2593, + "id": 2085, "name": "UsingForDirective", - "src": "46340:26:1" + "src": "47663:26:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_ERC721_RECEIVED", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65094,9 +65094,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2594, + "id": 2086, "name": "ElementaryTypeName", - "src": "46544:6:1" + "src": "47871:6:0" }, { "attributes": { @@ -65109,21 +65109,21 @@ "type": "int_const 353073666", "value": "0x150b7a02" }, - "id": 2595, + "id": 2087, "name": "Literal", - "src": "46587:10:1" + "src": "47914:10:0" } ], - "id": 2596, + "id": 2088, "name": "VariableDeclaration", - "src": "46544:53:1" + "src": "47871:53:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_holderTokens", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => struct EnumerableSet.UintSet)", @@ -65140,36 +65140,36 @@ "name": "address", "type": "address" }, - "id": 2597, + "id": 2089, "name": "ElementaryTypeName", - "src": "46690:7:1" + "src": "48020:7:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2598, + "id": 2090, "name": "UserDefinedTypeName", - "src": "46701:21:1" + "src": "48031:21:0" } ], - "id": 2599, + "id": 2091, "name": "Mapping", - "src": "46681:42:1" + "src": "48011:42:0" } ], - "id": 2600, + "id": 2092, "name": "VariableDeclaration", - "src": "46681:64:1" + "src": "48011:64:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenOwners", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "struct EnumerableMap.UintToAddressMap", @@ -65179,24 +65179,24 @@ { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2601, + "id": 2093, "name": "UserDefinedTypeName", - "src": "46809:30:1" + "src": "48142:30:0" } ], - "id": 2602, + "id": 2094, "name": "VariableDeclaration", - "src": "46809:51:1" + "src": "48142:51:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => address)", @@ -65213,9 +65213,9 @@ "name": "uint256", "type": "uint256" }, - "id": 2603, + "id": 2095, "name": "ElementaryTypeName", - "src": "46925:7:1" + "src": "48261:7:0" }, { "attributes": { @@ -65223,26 +65223,26 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2604, + "id": 2096, "name": "ElementaryTypeName", - "src": "46936:7:1" + "src": "48272:7:0" } ], - "id": 2605, + "id": 2097, "name": "Mapping", - "src": "46916:28:1" + "src": "48252:28:0" } ], - "id": 2606, + "id": 2098, "name": "VariableDeclaration", - "src": "46916:52:1" + "src": "48252:52:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_operatorApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => mapping(address => bool))", @@ -65259,9 +65259,9 @@ "name": "address", "type": "address" }, - "id": 2607, + "id": 2099, "name": "ElementaryTypeName", - "src": "47032:7:1" + "src": "48371:7:0" }, { "attributes": { @@ -65273,40 +65273,40 @@ "name": "address", "type": "address" }, - "id": 2608, + "id": 2100, "name": "ElementaryTypeName", - "src": "47052:7:1" + "src": "48391:7:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 2609, + "id": 2101, "name": "ElementaryTypeName", - "src": "47063:4:1" + "src": "48402:4:0" } ], - "id": 2610, + "id": 2102, "name": "Mapping", - "src": "47043:25:1" + "src": "48382:25:0" } ], - "id": 2611, + "id": 2103, "name": "Mapping", - "src": "47023:46:1" + "src": "48362:46:0" } ], - "id": 2612, + "id": 2104, "name": "VariableDeclaration", - "src": "47023:73:1" + "src": "48362:73:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_name", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65318,21 +65318,21 @@ "name": "string", "type": "string" }, - "id": 2613, + "id": 2105, "name": "ElementaryTypeName", - "src": "47121:6:1" + "src": "48463:6:0" } ], - "id": 2614, + "id": 2106, "name": "VariableDeclaration", - "src": "47121:20:1" + "src": "48463:20:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_symbol", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65344,21 +65344,21 @@ "name": "string", "type": "string" }, - "id": 2615, + "id": 2107, "name": "ElementaryTypeName", - "src": "47168:6:1" + "src": "48513:6:0" } ], - "id": 2616, + "id": 2108, "name": "VariableDeclaration", - "src": "47168:22:1" + "src": "48513:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURIs", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => string)", @@ -65375,35 +65375,35 @@ "name": "uint256", "type": "uint256" }, - "id": 2617, + "id": 2109, "name": "ElementaryTypeName", - "src": "47245:7:1" + "src": "48593:7:0" }, { "attributes": { "name": "string", "type": "string" }, - "id": 2618, + "id": 2110, "name": "ElementaryTypeName", - "src": "47256:6:1" + "src": "48604:6:0" } ], - "id": 2619, + "id": 2111, "name": "Mapping", - "src": "47236:27:1" + "src": "48584:27:0" } ], - "id": 2620, + "id": 2112, "name": "VariableDeclaration", - "src": "47236:46:1" + "src": "48584:46:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_baseURI", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65415,21 +65415,21 @@ "name": "string", "type": "string" }, - "id": 2621, + "id": 2113, "name": "ElementaryTypeName", - "src": "47305:6:1" + "src": "48656:6:0" } ], - "id": 2622, + "id": 2114, "name": "VariableDeclaration", - "src": "47305:23:1" + "src": "48656:23:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65441,9 +65441,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2623, + "id": 2115, "name": "ElementaryTypeName", - "src": "48204:6:1" + "src": "49571:6:0" }, { "attributes": { @@ -65456,21 +65456,21 @@ "type": "int_const 2158778573", "value": "0x80ac58cd" }, - "id": 2624, + "id": 2116, "name": "Literal", - "src": "48251:10:1" + "src": "49618:10:0" } ], - "id": 2625, + "id": 2117, "name": "VariableDeclaration", - "src": "48204:57:1" + "src": "49571:57:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65482,9 +65482,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2626, + "id": 2118, "name": "ElementaryTypeName", - "src": "48527:6:1" + "src": "49903:6:0" }, { "attributes": { @@ -65497,21 +65497,21 @@ "type": "int_const 1532892063", "value": "0x5b5e139f" }, - "id": 2627, + "id": 2119, "name": "Literal", - "src": "48583:10:1" + "src": "49959:10:0" } ], - "id": 2628, + "id": 2120, "name": "VariableDeclaration", - "src": "48527:66:1" + "src": "49903:66:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65523,9 +65523,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2629, + "id": 2121, "name": "ElementaryTypeName", - "src": "48898:6:1" + "src": "50283:6:0" }, { "attributes": { @@ -65538,14 +65538,14 @@ "type": "int_const 2014223715", "value": "0x780e9d63" }, - "id": 2630, + "id": 2122, "name": "Literal", - "src": "48956:10:1" + "src": "50341:10:0" } ], - "id": 2631, + "id": 2123, "name": "VariableDeclaration", - "src": "48898:68:1" + "src": "50283:68:0" }, { "attributes": { @@ -65556,7 +65556,7 @@ null ], "name": "", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -65566,9 +65566,9 @@ "attributes": { "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2632, + "id": 2124, "name": "StructuredDocumentation", - "src": "48973:108:1" + "src": "50360:110:0" }, { "children": [ @@ -65577,7 +65577,7 @@ "constant": false, "mutability": "mutable", "name": "name_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65589,21 +65589,21 @@ "name": "string", "type": "string" }, - "id": 2633, + "id": 2125, "name": "ElementaryTypeName", - "src": "49099:6:1" + "src": "50489:6:0" } ], - "id": 2634, + "id": 2126, "name": "VariableDeclaration", - "src": "49099:19:1" + "src": "50489:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "symbol_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65615,19 +65615,19 @@ "name": "string", "type": "string" }, - "id": 2635, + "id": 2127, "name": "ElementaryTypeName", - "src": "49120:6:1" + "src": "50510:6:0" } ], - "id": 2636, + "id": 2128, "name": "VariableDeclaration", - "src": "49120:21:1" + "src": "50510:21:0" } ], - "id": 2637, + "id": 2129, "name": "ParameterList", - "src": "49098:44:1" + "src": "50488:44:0" }, { "attributes": { @@ -65636,9 +65636,9 @@ ] }, "children": [], - "id": 2638, + "id": 2130, "name": "ParameterList", - "src": "49143:0:1" + "src": "50533:0:0" }, { "children": [ @@ -65659,36 +65659,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2639, + "id": 2131, "name": "Identifier", - "src": "49153:5:1" + "src": "50544:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2634, + "referencedDeclaration": 2126, "type": "string memory", "value": "name_" }, - "id": 2640, + "id": 2132, "name": "Identifier", - "src": "49161:5:1" + "src": "50552:5:0" } ], - "id": 2641, + "id": 2133, "name": "Assignment", - "src": "49153:13:1" + "src": "50544:13:0" } ], - "id": 2642, + "id": 2134, "name": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "children": [ @@ -65707,36 +65707,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2643, + "id": 2135, "name": "Identifier", - "src": "49176:7:1" + "src": "50568:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2636, + "referencedDeclaration": 2128, "type": "string memory", "value": "symbol_" }, - "id": 2644, + "id": 2136, "name": "Identifier", - "src": "49186:7:1" + "src": "50578:7:0" } ], - "id": 2645, + "id": 2137, "name": "Assignment", - "src": "49176:17:1" + "src": "50568:17:0" } ], - "id": 2646, + "id": 2138, "name": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "children": [ @@ -65766,36 +65766,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2647, + "id": 2139, "name": "Identifier", - "src": "49281:18:1" + "src": "50676:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2625, + "referencedDeclaration": 2117, "type": "bytes4", "value": "_INTERFACE_ID_ERC721" }, - "id": 2648, + "id": 2140, "name": "Identifier", - "src": "49300:20:1" + "src": "50695:20:0" } ], - "id": 2649, + "id": 2141, "name": "FunctionCall", - "src": "49281:40:1" + "src": "50676:40:0" } ], - "id": 2650, + "id": 2142, "name": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "children": [ @@ -65825,36 +65825,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2651, + "id": 2143, "name": "Identifier", - "src": "49331:18:1" + "src": "50727:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2628, + "referencedDeclaration": 2120, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_METADATA" }, - "id": 2652, + "id": 2144, "name": "Identifier", - "src": "49350:29:1" + "src": "50746:29:0" } ], - "id": 2653, + "id": 2145, "name": "FunctionCall", - "src": "49331:49:1" + "src": "50727:49:0" } ], - "id": 2654, + "id": 2146, "name": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "children": [ @@ -65884,51 +65884,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2655, + "id": 2147, "name": "Identifier", - "src": "49390:18:1" + "src": "50787:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2631, + "referencedDeclaration": 2123, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_ENUMERABLE" }, - "id": 2656, + "id": 2148, "name": "Identifier", - "src": "49409:31:1" + "src": "50806:31:0" } ], - "id": 2657, + "id": 2149, "name": "FunctionCall", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2658, + "id": 2150, "name": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2659, + "id": 2151, "name": "Block", - "src": "49143:305:1" + "src": "50533:313:0" } ], - "id": 2660, + "id": 2152, "name": "FunctionDefinition", - "src": "49086:362:1" + "src": "50476:370:0" }, { "attributes": { "baseFunctions": [ - 580 + 72 ], "functionSelector": "70a08231", "implemented": true, @@ -65938,7 +65938,7 @@ null ], "name": "balanceOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -65948,9 +65948,9 @@ "attributes": { "text": " @dev See {IERC721-balanceOf}." }, - "id": 2661, + "id": 2153, "name": "StructuredDocumentation", - "src": "49454:48:1" + "src": "50854:50:0" }, { "attributes": { @@ -65958,9 +65958,9 @@ null ] }, - "id": 2665, + "id": 2157, "name": "OverrideSpecifier", - "src": "49561:8:1" + "src": "50964:8:0" }, { "children": [ @@ -65969,7 +65969,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -65982,19 +65982,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2662, + "id": 2154, "name": "ElementaryTypeName", - "src": "49526:7:1" + "src": "50929:7:0" } ], - "id": 2663, + "id": 2155, "name": "VariableDeclaration", - "src": "49526:13:1" + "src": "50929:13:0" } ], - "id": 2664, + "id": 2156, "name": "ParameterList", - "src": "49525:15:1" + "src": "50928:15:0" }, { "children": [ @@ -66003,7 +66003,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66015,19 +66015,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2666, + "id": 2158, "name": "ElementaryTypeName", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2667, + "id": 2159, "name": "VariableDeclaration", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2668, + "id": 2160, "name": "ParameterList", - "src": "49578:9:1" + "src": "50981:9:0" }, { "children": [ @@ -66068,9 +66068,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2669, + "id": 2161, "name": "Identifier", - "src": "49598:7:1" + "src": "51002:7:0" }, { "attributes": { @@ -66091,13 +66091,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2670, + "id": 2162, "name": "Identifier", - "src": "49606:5:1" + "src": "51010:5:0" }, { "attributes": { @@ -66133,14 +66133,14 @@ "attributes": { "name": "address" }, - "id": 2671, + "id": 2163, "name": "ElementaryTypeName", - "src": "49615:7:1" + "src": "51019:7:0" } ], - "id": 2672, + "id": 2164, "name": "ElementaryTypeNameExpression", - "src": "49615:7:1" + "src": "51019:7:0" }, { "attributes": { @@ -66153,19 +66153,19 @@ "type": "int_const 0", "value": "0" }, - "id": 2673, + "id": 2165, "name": "Literal", - "src": "49623:1:1" + "src": "51027:1:0" } ], - "id": 2674, + "id": 2166, "name": "FunctionCall", - "src": "49615:10:1" + "src": "51019:10:0" } ], - "id": 2675, + "id": 2167, "name": "BinaryOperation", - "src": "49606:19:1" + "src": "51010:19:0" }, { "attributes": { @@ -66178,23 +66178,23 @@ "type": "literal_string \"ERC721: balance query for the zero address\"", "value": "ERC721: balance query for the zero address" }, - "id": 2676, + "id": 2168, "name": "Literal", - "src": "49627:44:1" + "src": "51031:44:0" } ], - "id": 2677, + "id": 2169, "name": "FunctionCall", - "src": "49598:74:1" + "src": "51002:74:0" } ], - "id": 2678, + "id": 2170, "name": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "attributes": { - "functionReturnParameters": 2668 + "functionReturnParameters": 2160 }, "children": [ { @@ -66225,7 +66225,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 1900, + "referencedDeclaration": 1392, "type": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" }, "children": [ @@ -66243,61 +66243,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2679, + "id": 2171, "name": "Identifier", - "src": "49689:13:1" + "src": "51094:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2680, + "id": 2172, "name": "Identifier", - "src": "49703:5:1" + "src": "51108:5:0" } ], - "id": 2681, + "id": 2173, "name": "IndexAccess", - "src": "49689:20:1" + "src": "51094:20:0" } ], - "id": 2682, + "id": 2174, "name": "MemberAccess", - "src": "49689:27:1" + "src": "51094:27:0" } ], - "id": 2683, + "id": 2175, "name": "FunctionCall", - "src": "49689:29:1" + "src": "51094:29:0" } ], - "id": 2684, + "id": 2176, "name": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ], - "id": 2685, + "id": 2177, "name": "Block", - "src": "49588:137:1" + "src": "50991:140:0" } ], - "id": 2686, + "id": 2178, "name": "FunctionDefinition", - "src": "49507:218:1" + "src": "50910:221:0" }, { "attributes": { "baseFunctions": [ - 588 + 80 ], "functionSelector": "6352211e", "implemented": true, @@ -66307,7 +66307,7 @@ null ], "name": "ownerOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66317,9 +66317,9 @@ "attributes": { "text": " @dev See {IERC721-ownerOf}." }, - "id": 2687, + "id": 2179, "name": "StructuredDocumentation", - "src": "49731:46:1" + "src": "51139:48:0" }, { "attributes": { @@ -66327,9 +66327,9 @@ null ] }, - "id": 2691, + "id": 2183, "name": "OverrideSpecifier", - "src": "49836:8:1" + "src": "51247:8:0" }, { "children": [ @@ -66338,7 +66338,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66350,19 +66350,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2688, + "id": 2180, "name": "ElementaryTypeName", - "src": "49799:7:1" + "src": "51210:7:0" } ], - "id": 2689, + "id": 2181, "name": "VariableDeclaration", - "src": "49799:15:1" + "src": "51210:15:0" } ], - "id": 2690, + "id": 2182, "name": "ParameterList", - "src": "49798:17:1" + "src": "51209:17:0" }, { "children": [ @@ -66371,7 +66371,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -66384,25 +66384,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2692, + "id": 2184, "name": "ElementaryTypeName", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2693, + "id": 2185, "name": "VariableDeclaration", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2694, + "id": 2186, "name": "ParameterList", - "src": "49853:9:1" + "src": "51264:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2694 + "functionReturnParameters": 2186 }, "children": [ { @@ -66437,7 +66437,7 @@ "isPure": false, "lValueRequested": false, "member_name": "get", - "referencedDeclaration": 2479, + "referencedDeclaration": 1971, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" }, "children": [ @@ -66446,31 +66446,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2695, + "id": 2187, "name": "Identifier", - "src": "49880:12:1" + "src": "51292:12:0" } ], - "id": 2696, + "id": 2188, "name": "MemberAccess", - "src": "49880:16:1" + "src": "51292:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2689, + "referencedDeclaration": 2181, "type": "uint256", "value": "tokenId" }, - "id": 2697, + "id": 2189, "name": "Identifier", - "src": "49897:7:1" + "src": "51309:7:0" }, { "attributes": { @@ -66483,34 +66483,34 @@ "type": "literal_string \"ERC721: owner query for nonexistent token\"", "value": "ERC721: owner query for nonexistent token" }, - "id": 2698, + "id": 2190, "name": "Literal", - "src": "49906:43:1" + "src": "51318:43:0" } ], - "id": 2699, + "id": 2191, "name": "FunctionCall", - "src": "49880:70:1" + "src": "51292:70:0" } ], - "id": 2700, + "id": 2192, "name": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ], - "id": 2701, + "id": 2193, "name": "Block", - "src": "49863:94:1" + "src": "51274:96:0" } ], - "id": 2702, + "id": 2194, "name": "FunctionDefinition", - "src": "49782:175:1" + "src": "51193:177:0" }, { "attributes": { "baseFunctions": [ - 665 + 157 ], "functionSelector": "06fdde03", "implemented": true, @@ -66520,7 +66520,7 @@ null ], "name": "name", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66530,9 +66530,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-name}." }, - "id": 2703, + "id": 2195, "name": "StructuredDocumentation", - "src": "49963:51:1" + "src": "51378:53:0" }, { "attributes": { @@ -66540,9 +66540,9 @@ null ] }, - "id": 2705, + "id": 2197, "name": "OverrideSpecifier", - "src": "50055:8:1" + "src": "51473:8:0" }, { "attributes": { @@ -66551,9 +66551,9 @@ ] }, "children": [], - "id": 2704, + "id": 2196, "name": "ParameterList", - "src": "50032:2:1" + "src": "51450:2:0" }, { "children": [ @@ -66562,7 +66562,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2712, + "scope": 2204, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66574,25 +66574,25 @@ "name": "string", "type": "string" }, - "id": 2706, + "id": 2198, "name": "ElementaryTypeName", - "src": "50073:6:1" + "src": "51491:6:0" } ], - "id": 2707, + "id": 2199, "name": "VariableDeclaration", - "src": "50073:13:1" + "src": "51491:13:0" } ], - "id": 2708, + "id": 2200, "name": "ParameterList", - "src": "50072:15:1" + "src": "51490:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2708 + "functionReturnParameters": 2200 }, "children": [ { @@ -66600,33 +66600,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2709, + "id": 2201, "name": "Identifier", - "src": "50105:5:1" + "src": "51524:5:0" } ], - "id": 2710, + "id": 2202, "name": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ], - "id": 2711, + "id": 2203, "name": "Block", - "src": "50088:29:1" + "src": "51506:31:0" } ], - "id": 2712, + "id": 2204, "name": "FunctionDefinition", - "src": "50019:98:1" + "src": "51437:100:0" }, { "attributes": { "baseFunctions": [ - 671 + 163 ], "functionSelector": "95d89b41", "implemented": true, @@ -66636,7 +66636,7 @@ null ], "name": "symbol", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66646,9 +66646,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-symbol}." }, - "id": 2713, + "id": 2205, "name": "StructuredDocumentation", - "src": "50123:53:1" + "src": "51545:55:0" }, { "attributes": { @@ -66656,9 +66656,9 @@ null ] }, - "id": 2715, + "id": 2207, "name": "OverrideSpecifier", - "src": "50219:8:1" + "src": "51644:8:0" }, { "attributes": { @@ -66667,9 +66667,9 @@ ] }, "children": [], - "id": 2714, + "id": 2206, "name": "ParameterList", - "src": "50196:2:1" + "src": "51621:2:0" }, { "children": [ @@ -66678,7 +66678,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2722, + "scope": 2214, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66690,25 +66690,25 @@ "name": "string", "type": "string" }, - "id": 2716, + "id": 2208, "name": "ElementaryTypeName", - "src": "50237:6:1" + "src": "51662:6:0" } ], - "id": 2717, + "id": 2209, "name": "VariableDeclaration", - "src": "50237:13:1" + "src": "51662:13:0" } ], - "id": 2718, + "id": 2210, "name": "ParameterList", - "src": "50236:15:1" + "src": "51661:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2718 + "functionReturnParameters": 2210 }, "children": [ { @@ -66716,33 +66716,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2719, + "id": 2211, "name": "Identifier", - "src": "50269:7:1" + "src": "51695:7:0" } ], - "id": 2720, + "id": 2212, "name": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ], - "id": 2721, + "id": 2213, "name": "Block", - "src": "50252:31:1" + "src": "51677:33:0" } ], - "id": 2722, + "id": 2214, "name": "FunctionDefinition", - "src": "50181:102:1" + "src": "51606:104:0" }, { "attributes": { "baseFunctions": [ - 679 + 171 ], "functionSelector": "c87b56dd", "implemented": true, @@ -66752,7 +66752,7 @@ null ], "name": "tokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66762,9 +66762,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-tokenURI}." }, - "id": 2723, + "id": 2215, "name": "StructuredDocumentation", - "src": "50289:55:1" + "src": "51718:57:0" }, { "attributes": { @@ -66772,9 +66772,9 @@ null ] }, - "id": 2727, + "id": 2219, "name": "OverrideSpecifier", - "src": "50404:8:1" + "src": "51836:8:0" }, { "children": [ @@ -66783,7 +66783,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66795,19 +66795,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2724, + "id": 2216, "name": "ElementaryTypeName", - "src": "50367:7:1" + "src": "51799:7:0" } ], - "id": 2725, + "id": 2217, "name": "VariableDeclaration", - "src": "50367:15:1" + "src": "51799:15:0" } ], - "id": 2726, + "id": 2218, "name": "ParameterList", - "src": "50366:17:1" + "src": "51798:17:0" }, { "children": [ @@ -66816,7 +66816,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66828,19 +66828,19 @@ "name": "string", "type": "string" }, - "id": 2728, + "id": 2220, "name": "ElementaryTypeName", - "src": "50422:6:1" + "src": "51854:6:0" } ], - "id": 2729, + "id": 2221, "name": "VariableDeclaration", - "src": "50422:13:1" + "src": "51854:13:0" } ], - "id": 2730, + "id": 2222, "name": "ParameterList", - "src": "50421:15:1" + "src": "51853:15:0" }, { "children": [ @@ -66881,9 +66881,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2731, + "id": 2223, "name": "Identifier", - "src": "50447:7:1" + "src": "51880:7:0" }, { "attributes": { @@ -66911,31 +66911,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2732, + "id": 2224, "name": "Identifier", - "src": "50455:7:1" + "src": "51888:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2733, + "id": 2225, "name": "Identifier", - "src": "50463:7:1" + "src": "51896:7:0" } ], - "id": 2734, + "id": 2226, "name": "FunctionCall", - "src": "50455:16:1" + "src": "51888:16:0" }, { "attributes": { @@ -66948,24 +66948,24 @@ "type": "literal_string \"ERC721Metadata: URI query for nonexistent token\"", "value": "ERC721Metadata: URI query for nonexistent token" }, - "id": 2735, + "id": 2227, "name": "Literal", - "src": "50473:49:1" + "src": "51906:49:0" } ], - "id": 2736, + "id": 2228, "name": "FunctionCall", - "src": "50447:76:1" + "src": "51880:76:0" } ], - "id": 2737, + "id": 2229, "name": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "attributes": { "assignments": [ - 2739 + 2231 ] }, "children": [ @@ -66974,7 +66974,7 @@ "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66986,14 +66986,14 @@ "name": "string", "type": "string" }, - "id": 2738, + "id": 2230, "name": "ElementaryTypeName", - "src": "50534:6:1" + "src": "51969:6:0" } ], - "id": 2739, + "id": 2231, "name": "VariableDeclaration", - "src": "50534:23:1" + "src": "51969:23:0" }, { "attributes": { @@ -67009,41 +67009,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 2740, + "id": 2232, "name": "Identifier", - "src": "50560:10:1" + "src": "51995:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2741, + "id": 2233, "name": "Identifier", - "src": "50571:7:1" + "src": "52006:7:0" } ], - "id": 2742, + "id": 2234, "name": "IndexAccess", - "src": "50560:19:1" + "src": "51995:19:0" } ], - "id": 2743, + "id": 2235, "name": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "attributes": { "assignments": [ - 2745 + 2237 ] }, "children": [ @@ -67052,7 +67052,7 @@ "constant": false, "mutability": "mutable", "name": "base", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -67064,14 +67064,14 @@ "name": "string", "type": "string" }, - "id": 2744, + "id": 2236, "name": "ElementaryTypeName", - "src": "50589:6:1" + "src": "52025:6:0" } ], - "id": 2745, + "id": 2237, "name": "VariableDeclaration", - "src": "50589:18:1" + "src": "52025:18:0" }, { "attributes": { @@ -67099,23 +67099,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2799, + "referencedDeclaration": 2291, "type": "function () view returns (string memory)", "value": "baseURI" }, - "id": 2746, + "id": 2238, "name": "Identifier", - "src": "50610:7:1" + "src": "52046:7:0" } ], - "id": 2747, + "id": 2239, "name": "FunctionCall", - "src": "50610:9:1" + "src": "52046:9:0" } ], - "id": 2748, + "id": 2240, "name": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "attributes": {}, @@ -67178,37 +67178,37 @@ "attributes": { "name": "bytes" }, - "id": 2749, + "id": 2241, "name": "ElementaryTypeName", - "src": "50692:5:1" + "src": "52131:5:0" } ], - "id": 2750, + "id": 2242, "name": "ElementaryTypeNameExpression", - "src": "50692:5:1" + "src": "52131:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2751, + "id": 2243, "name": "Identifier", - "src": "50698:4:1" + "src": "52137:4:0" } ], - "id": 2752, + "id": 2244, "name": "FunctionCall", - "src": "50692:11:1" + "src": "52131:11:0" } ], - "id": 2753, + "id": 2245, "name": "MemberAccess", - "src": "50692:18:1" + "src": "52131:18:0" }, { "attributes": { @@ -67221,20 +67221,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2754, + "id": 2246, "name": "Literal", - "src": "50714:1:1" + "src": "52153:1:0" } ], - "id": 2755, + "id": 2247, "name": "BinaryOperation", - "src": "50692:23:1" + "src": "52131:23:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67242,28 +67242,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2756, + "id": 2248, "name": "Identifier", - "src": "50738:9:1" + "src": "52178:9:0" } ], - "id": 2757, + "id": 2249, "name": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ], - "id": 2758, + "id": 2250, "name": "Block", - "src": "50717:41:1" + "src": "52156:43:0" } ], - "id": 2759, + "id": 2251, "name": "IfStatement", - "src": "50688:70:1" + "src": "52127:72:0" }, { "attributes": {}, @@ -67326,37 +67326,37 @@ "attributes": { "name": "bytes" }, - "id": 2760, + "id": 2252, "name": "ElementaryTypeName", - "src": "50860:5:1" + "src": "52303:5:0" } ], - "id": 2761, + "id": 2253, "name": "ElementaryTypeNameExpression", - "src": "50860:5:1" + "src": "52303:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2762, + "id": 2254, "name": "Identifier", - "src": "50866:9:1" + "src": "52309:9:0" } ], - "id": 2763, + "id": 2255, "name": "FunctionCall", - "src": "50860:16:1" + "src": "52303:16:0" } ], - "id": 2764, + "id": 2256, "name": "MemberAccess", - "src": "50860:23:1" + "src": "52303:23:0" }, { "attributes": { @@ -67369,20 +67369,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2765, + "id": 2257, "name": "Literal", - "src": "50886:1:1" + "src": "52329:1:0" } ], - "id": 2766, + "id": 2258, "name": "BinaryOperation", - "src": "50860:27:1" + "src": "52303:27:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67419,14 +67419,14 @@ "attributes": { "name": "string" }, - "id": 2767, + "id": 2259, "name": "ElementaryTypeName", - "src": "50910:6:1" + "src": "52354:6:0" } ], - "id": 2768, + "id": 2260, "name": "ElementaryTypeNameExpression", - "src": "50910:6:1" + "src": "52354:6:0" }, { "attributes": { @@ -67472,69 +67472,69 @@ "type": "abi", "value": "abi" }, - "id": 2769, + "id": 2261, "name": "Identifier", - "src": "50917:3:1" + "src": "52361:3:0" } ], - "id": 2770, + "id": 2262, "name": "MemberAccess", - "src": "50917:16:1" + "src": "52361:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2771, + "id": 2263, "name": "Identifier", - "src": "50934:4:1" + "src": "52378:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2772, + "id": 2264, "name": "Identifier", - "src": "50940:9:1" + "src": "52384:9:0" } ], - "id": 2773, + "id": 2265, "name": "FunctionCall", - "src": "50917:33:1" + "src": "52361:33:0" } ], - "id": 2774, + "id": 2266, "name": "FunctionCall", - "src": "50910:41:1" + "src": "52354:41:0" } ], - "id": 2775, + "id": 2267, "name": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ], - "id": 2776, + "id": 2268, "name": "Block", - "src": "50889:73:1" + "src": "52332:75:0" } ], - "id": 2777, + "id": 2269, "name": "IfStatement", - "src": "50856:106:1" + "src": "52299:108:0" }, { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67571,14 +67571,14 @@ "attributes": { "name": "string" }, - "id": 2778, + "id": 2270, "name": "ElementaryTypeName", - "src": "51068:6:1" + "src": "52515:6:0" } ], - "id": 2779, + "id": 2271, "name": "ElementaryTypeNameExpression", - "src": "51068:6:1" + "src": "52515:6:0" }, { "attributes": { @@ -67624,27 +67624,27 @@ "type": "abi", "value": "abi" }, - "id": 2780, + "id": 2272, "name": "Identifier", - "src": "51075:3:1" + "src": "52522:3:0" } ], - "id": 2781, + "id": 2273, "name": "MemberAccess", - "src": "51075:16:1" + "src": "52522:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2782, + "id": 2274, "name": "Identifier", - "src": "51092:4:1" + "src": "52539:4:0" }, { "attributes": { @@ -67674,7 +67674,7 @@ "isPure": false, "lValueRequested": false, "member_name": "toString", - "referencedDeclaration": 2565, + "referencedDeclaration": 2057, "type": "function (uint256) pure returns (string memory)" }, "children": [ @@ -67683,48 +67683,48 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2783, + "id": 2275, "name": "Identifier", - "src": "51098:7:1" + "src": "52545:7:0" } ], - "id": 2784, + "id": 2276, "name": "MemberAccess", - "src": "51098:16:1" + "src": "52545:16:0" } ], - "id": 2785, + "id": 2277, "name": "FunctionCall", - "src": "51098:18:1" + "src": "52545:18:0" } ], - "id": 2786, + "id": 2278, "name": "FunctionCall", - "src": "51075:42:1" + "src": "52522:42:0" } ], - "id": 2787, + "id": 2279, "name": "FunctionCall", - "src": "51068:50:1" + "src": "52515:50:0" } ], - "id": 2788, + "id": 2280, "name": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ], - "id": 2789, + "id": 2281, "name": "Block", - "src": "50437:688:1" + "src": "51869:704:0" } ], - "id": 2790, + "id": 2282, "name": "FunctionDefinition", - "src": "50349:776:1" + "src": "51781:792:0" }, { "attributes": { @@ -67736,7 +67736,7 @@ null ], "name": "baseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67746,9 +67746,9 @@ "attributes": { "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, - "id": 2791, + "id": 2283, "name": "StructuredDocumentation", - "src": "51131:221:1" + "src": "52581:225:0" }, { "attributes": { @@ -67757,9 +67757,9 @@ ] }, "children": [], - "id": 2792, + "id": 2284, "name": "ParameterList", - "src": "51373:2:1" + "src": "52828:2:0" }, { "children": [ @@ -67768,7 +67768,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2799, + "scope": 2291, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -67780,25 +67780,25 @@ "name": "string", "type": "string" }, - "id": 2793, + "id": 2285, "name": "ElementaryTypeName", - "src": "51405:6:1" + "src": "52860:6:0" } ], - "id": 2794, + "id": 2286, "name": "VariableDeclaration", - "src": "51405:13:1" + "src": "52860:13:0" } ], - "id": 2795, + "id": 2287, "name": "ParameterList", - "src": "51404:15:1" + "src": "52859:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2795 + "functionReturnParameters": 2287 }, "children": [ { @@ -67806,33 +67806,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 2796, + "id": 2288, "name": "Identifier", - "src": "51437:8:1" + "src": "52893:8:0" } ], - "id": 2797, + "id": 2289, "name": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ], - "id": 2798, + "id": 2290, "name": "Block", - "src": "51420:32:1" + "src": "52875:34:0" } ], - "id": 2799, + "id": 2291, "name": "FunctionDefinition", - "src": "51357:95:1" + "src": "52812:97:0" }, { "attributes": { "baseFunctions": [ - 700 + 192 ], "functionSelector": "2f745c59", "implemented": true, @@ -67842,7 +67842,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67852,9 +67852,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, - "id": 2800, + "id": 2292, "name": "StructuredDocumentation", - "src": "51458:68:1" + "src": "52917:70:0" }, { "attributes": { @@ -67862,9 +67862,9 @@ null ] }, - "id": 2806, + "id": 2298, "name": "OverrideSpecifier", - "src": "51610:8:1" + "src": "53072:8:0" }, { "children": [ @@ -67873,7 +67873,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -67886,21 +67886,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2801, + "id": 2293, "name": "ElementaryTypeName", - "src": "51560:7:1" + "src": "53022:7:0" } ], - "id": 2802, + "id": 2294, "name": "VariableDeclaration", - "src": "51560:13:1" + "src": "53022:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67912,19 +67912,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2803, + "id": 2295, "name": "ElementaryTypeName", - "src": "51575:7:1" + "src": "53037:7:0" } ], - "id": 2804, + "id": 2296, "name": "VariableDeclaration", - "src": "51575:13:1" + "src": "53037:13:0" } ], - "id": 2805, + "id": 2297, "name": "ParameterList", - "src": "51559:30:1" + "src": "53021:30:0" }, { "children": [ @@ -67933,7 +67933,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67945,25 +67945,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2807, + "id": 2299, "name": "ElementaryTypeName", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2808, + "id": 2300, "name": "VariableDeclaration", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2809, + "id": 2301, "name": "ParameterList", - "src": "51627:9:1" + "src": "53089:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2809 + "functionReturnParameters": 2301 }, "children": [ { @@ -67994,7 +67994,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 1920, + "referencedDeclaration": 1412, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" }, "children": [ @@ -68012,74 +68012,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2810, + "id": 2302, "name": "Identifier", - "src": "51654:13:1" + "src": "53117:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2802, + "referencedDeclaration": 2294, "type": "address", "value": "owner" }, - "id": 2811, + "id": 2303, "name": "Identifier", - "src": "51668:5:1" + "src": "53131:5:0" } ], - "id": 2812, + "id": 2304, "name": "IndexAccess", - "src": "51654:20:1" + "src": "53117:20:0" } ], - "id": 2813, + "id": 2305, "name": "MemberAccess", - "src": "51654:23:1" + "src": "53117:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2804, + "referencedDeclaration": 2296, "type": "uint256", "value": "index" }, - "id": 2814, + "id": 2306, "name": "Identifier", - "src": "51678:5:1" + "src": "53141:5:0" } ], - "id": 2815, + "id": 2307, "name": "FunctionCall", - "src": "51654:30:1" + "src": "53117:30:0" } ], - "id": 2816, + "id": 2308, "name": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ], - "id": 2817, + "id": 2309, "name": "Block", - "src": "51637:54:1" + "src": "53099:56:0" } ], - "id": 2818, + "id": 2310, "name": "FunctionDefinition", - "src": "51531:160:1" + "src": "52993:162:0" }, { "attributes": { "baseFunctions": [ - 690 + 182 ], "functionSelector": "18160ddd", "implemented": true, @@ -68089,7 +68089,7 @@ null ], "name": "totalSupply", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -68099,9 +68099,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-totalSupply}." }, - "id": 2819, + "id": 2311, "name": "StructuredDocumentation", - "src": "51697:60:1" + "src": "53163:62:0" }, { "attributes": { @@ -68109,9 +68109,9 @@ null ] }, - "id": 2821, + "id": 2313, "name": "OverrideSpecifier", - "src": "51805:8:1" + "src": "53274:8:0" }, { "attributes": { @@ -68120,9 +68120,9 @@ ] }, "children": [], - "id": 2820, + "id": 2312, "name": "ParameterList", - "src": "51782:2:1" + "src": "53251:2:0" }, { "children": [ @@ -68131,7 +68131,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2830, + "scope": 2322, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68143,25 +68143,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2822, + "id": 2314, "name": "ElementaryTypeName", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2823, + "id": 2315, "name": "VariableDeclaration", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2824, + "id": 2316, "name": "ParameterList", - "src": "51822:9:1" + "src": "53291:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2824 + "functionReturnParameters": 2316 }, "children": [ { @@ -68192,7 +68192,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 2340, + "referencedDeclaration": 1832, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" }, "children": [ @@ -68201,43 +68201,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2825, + "id": 2317, "name": "Identifier", - "src": "51942:12:1" + "src": "53413:12:0" } ], - "id": 2826, + "id": 2318, "name": "MemberAccess", - "src": "51942:19:1" + "src": "53413:19:0" } ], - "id": 2827, + "id": 2319, "name": "FunctionCall", - "src": "51942:21:1" + "src": "53413:21:0" } ], - "id": 2828, + "id": 2320, "name": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ], - "id": 2829, + "id": 2321, "name": "Block", - "src": "51832:138:1" + "src": "53301:141:0" } ], - "id": 2830, + "id": 2322, "name": "FunctionDefinition", - "src": "51762:208:1" + "src": "53231:211:0" }, { "attributes": { "baseFunctions": [ - 708 + 200 ], "functionSelector": "4f6ccce7", "implemented": true, @@ -68247,7 +68247,7 @@ null ], "name": "tokenByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -68257,9 +68257,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, - "id": 2831, + "id": 2323, "name": "StructuredDocumentation", - "src": "51976:61:1" + "src": "53450:63:0" }, { "attributes": { @@ -68267,9 +68267,9 @@ null ] }, - "id": 2835, + "id": 2327, "name": "OverrideSpecifier", - "src": "52099:8:1" + "src": "53576:8:0" }, { "children": [ @@ -68278,7 +68278,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68290,19 +68290,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2832, + "id": 2324, "name": "ElementaryTypeName", - "src": "52064:7:1" + "src": "53541:7:0" } ], - "id": 2833, + "id": 2325, "name": "VariableDeclaration", - "src": "52064:13:1" + "src": "53541:13:0" } ], - "id": 2834, + "id": 2326, "name": "ParameterList", - "src": "52063:15:1" + "src": "53540:15:0" }, { "children": [ @@ -68311,7 +68311,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68323,26 +68323,26 @@ "name": "uint256", "type": "uint256" }, - "id": 2836, + "id": 2328, "name": "ElementaryTypeName", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2837, + "id": 2329, "name": "VariableDeclaration", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2838, + "id": 2330, "name": "ParameterList", - "src": "52116:9:1" + "src": "53593:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2840, + 2332, null ] }, @@ -68352,7 +68352,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2848, + "scope": 2340, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68364,14 +68364,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2839, + "id": 2331, "name": "ElementaryTypeName", - "src": "52137:7:1" + "src": "53615:7:0" } ], - "id": 2840, + "id": 2332, "name": "VariableDeclaration", - "src": "52137:15:1" + "src": "53615:15:0" }, { "attributes": { @@ -68401,7 +68401,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 2379, + "referencedDeclaration": 1871, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" }, "children": [ @@ -68410,45 +68410,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2841, + "id": 2333, "name": "Identifier", - "src": "52158:12:1" + "src": "53636:12:0" } ], - "id": 2842, + "id": 2334, "name": "MemberAccess", - "src": "52158:15:1" + "src": "53636:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2833, + "referencedDeclaration": 2325, "type": "uint256", "value": "index" }, - "id": 2843, + "id": 2335, "name": "Identifier", - "src": "52174:5:1" + "src": "53652:5:0" } ], - "id": 2844, + "id": 2336, "name": "FunctionCall", - "src": "52158:22:1" + "src": "53636:22:0" } ], - "id": 2845, + "id": 2337, "name": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "attributes": { - "functionReturnParameters": 2838 + "functionReturnParameters": 2330 }, "children": [ { @@ -68456,33 +68456,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2840, + "referencedDeclaration": 2332, "type": "uint256", "value": "tokenId" }, - "id": 2846, + "id": 2338, "name": "Identifier", - "src": "52197:7:1" + "src": "53676:7:0" } ], - "id": 2847, + "id": 2339, "name": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ], - "id": 2848, + "id": 2340, "name": "Block", - "src": "52126:85:1" + "src": "53603:88:0" } ], - "id": 2849, + "id": 2341, "name": "FunctionDefinition", - "src": "52042:169:1" + "src": "53519:172:0" }, { "attributes": { "baseFunctions": [ - 616 + 108 ], "functionSelector": "095ea7b3", "implemented": true, @@ -68492,7 +68492,7 @@ null ], "name": "approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -68502,9 +68502,9 @@ "attributes": { "text": " @dev See {IERC721-approve}." }, - "id": 2850, + "id": 2342, "name": "StructuredDocumentation", - "src": "52217:46:1" + "src": "53699:48:0" }, { "attributes": { @@ -68512,9 +68512,9 @@ null ] }, - "id": 2856, + "id": 2348, "name": "OverrideSpecifier", - "src": "52329:8:1" + "src": "53814:8:0" }, { "children": [ @@ -68523,7 +68523,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68536,21 +68536,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2851, + "id": 2343, "name": "ElementaryTypeName", - "src": "52285:7:1" + "src": "53770:7:0" } ], - "id": 2852, + "id": 2344, "name": "VariableDeclaration", - "src": "52285:10:1" + "src": "53770:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68562,19 +68562,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2853, + "id": 2345, "name": "ElementaryTypeName", - "src": "52297:7:1" + "src": "53782:7:0" } ], - "id": 2854, + "id": 2346, "name": "VariableDeclaration", - "src": "52297:15:1" + "src": "53782:15:0" } ], - "id": 2855, + "id": 2347, "name": "ParameterList", - "src": "52284:29:1" + "src": "53769:29:0" }, { "attributes": { @@ -68583,16 +68583,16 @@ ] }, "children": [], - "id": 2857, + "id": 2349, "name": "ParameterList", - "src": "52338:0:1" + "src": "53823:0:0" }, { "children": [ { "attributes": { "assignments": [ - 2859 + 2351 ] }, "children": [ @@ -68601,7 +68601,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2892, + "scope": 2384, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68614,14 +68614,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2858, + "id": 2350, "name": "ElementaryTypeName", - "src": "52348:7:1" + "src": "53834:7:0" } ], - "id": 2859, + "id": 2351, "name": "VariableDeclaration", - "src": "52348:13:1" + "src": "53834:13:0" }, { "attributes": { @@ -68651,7 +68651,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -68660,41 +68660,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2860, + "id": 2352, "name": "Identifier", - "src": "52364:6:1" + "src": "53850:6:0" } ], - "id": 2861, + "id": 2353, "name": "MemberAccess", - "src": "52364:14:1" + "src": "53850:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2862, + "id": 2354, "name": "Identifier", - "src": "52379:7:1" + "src": "53865:7:0" } ], - "id": 2863, + "id": 2355, "name": "FunctionCall", - "src": "52364:23:1" + "src": "53850:23:0" } ], - "id": 2864, + "id": 2356, "name": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "children": [ @@ -68733,9 +68733,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2865, + "id": 2357, "name": "Identifier", - "src": "52397:7:1" + "src": "53884:7:0" }, { "attributes": { @@ -68756,31 +68756,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2866, + "id": 2358, "name": "Identifier", - "src": "52405:2:1" + "src": "53892:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2867, + "id": 2359, "name": "Identifier", - "src": "52411:5:1" + "src": "53898:5:0" } ], - "id": 2868, + "id": 2360, "name": "BinaryOperation", - "src": "52405:11:1" + "src": "53892:11:0" }, { "attributes": { @@ -68793,19 +68793,19 @@ "type": "literal_string \"ERC721: approval to current owner\"", "value": "ERC721: approval to current owner" }, - "id": 2869, + "id": 2361, "name": "Literal", - "src": "52418:35:1" + "src": "53905:35:0" } ], - "id": 2870, + "id": 2362, "name": "FunctionCall", - "src": "52397:57:1" + "src": "53884:57:0" } ], - "id": 2871, + "id": 2363, "name": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "children": [ @@ -68844,9 +68844,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2872, + "id": 2364, "name": "Identifier", - "src": "52465:7:1" + "src": "53954:7:0" }, { "attributes": { @@ -68902,36 +68902,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2873, + "id": 2365, "name": "Identifier", - "src": "52473:10:1" + "src": "53962:10:0" } ], - "id": 2874, + "id": 2366, "name": "FunctionCall", - "src": "52473:12:1" + "src": "53962:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2875, + "id": 2367, "name": "Identifier", - "src": "52489:5:1" + "src": "53978:5:0" } ], - "id": 2876, + "id": 2368, "name": "BinaryOperation", - "src": "52473:21:1" + "src": "53962:21:0" }, { "attributes": { @@ -68965,7 +68965,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -68974,31 +68974,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2877, + "id": 2369, "name": "Identifier", - "src": "52498:6:1" + "src": "53987:6:0" } ], - "id": 2878, + "id": 2370, "name": "MemberAccess", - "src": "52498:23:1" + "src": "53987:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2879, + "id": 2371, "name": "Identifier", - "src": "52522:5:1" + "src": "54011:5:0" }, { "attributes": { @@ -69026,28 +69026,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2880, + "id": 2372, "name": "Identifier", - "src": "52529:10:1" + "src": "54018:10:0" } ], - "id": 2881, + "id": 2373, "name": "FunctionCall", - "src": "52529:12:1" + "src": "54018:12:0" } ], - "id": 2882, + "id": 2374, "name": "FunctionCall", - "src": "52498:44:1" + "src": "53987:44:0" } ], - "id": 2883, + "id": 2375, "name": "BinaryOperation", - "src": "52473:69:1" + "src": "53962:69:0" }, { "attributes": { @@ -69060,19 +69060,19 @@ "type": "literal_string \"ERC721: approve caller is not owner nor approved for all\"", "value": "ERC721: approve caller is not owner nor approved for all" }, - "id": 2884, + "id": 2376, "name": "Literal", - "src": "52556:58:1" + "src": "54046:58:0" } ], - "id": 2885, + "id": 2377, "name": "FunctionCall", - "src": "52465:159:1" + "src": "53954:161:0" } ], - "id": 2886, + "id": 2378, "name": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "children": [ @@ -69106,64 +69106,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 2887, + "id": 2379, "name": "Identifier", - "src": "52635:8:1" + "src": "54128:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2888, + "id": 2380, "name": "Identifier", - "src": "52644:2:1" + "src": "54137:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2889, + "id": 2381, "name": "Identifier", - "src": "52648:7:1" + "src": "54141:7:0" } ], - "id": 2890, + "id": 2382, "name": "FunctionCall", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2891, + "id": 2383, "name": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2892, + "id": 2384, "name": "Block", - "src": "52338:325:1" + "src": "53823:334:0" } ], - "id": 2893, + "id": 2385, "name": "FunctionDefinition", - "src": "52268:395:1" + "src": "53753:404:0" }, { "attributes": { "baseFunctions": [ - 624 + 116 ], "functionSelector": "081812fc", "implemented": true, @@ -69173,7 +69173,7 @@ null ], "name": "getApproved", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -69183,9 +69183,9 @@ "attributes": { "text": " @dev See {IERC721-getApproved}." }, - "id": 2894, + "id": 2386, "name": "StructuredDocumentation", - "src": "52669:50:1" + "src": "54165:52:0" }, { "attributes": { @@ -69193,9 +69193,9 @@ null ] }, - "id": 2898, + "id": 2390, "name": "OverrideSpecifier", - "src": "52782:8:1" + "src": "54281:8:0" }, { "children": [ @@ -69204,7 +69204,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -69216,19 +69216,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2895, + "id": 2387, "name": "ElementaryTypeName", - "src": "52745:7:1" + "src": "54244:7:0" } ], - "id": 2896, + "id": 2388, "name": "VariableDeclaration", - "src": "52745:15:1" + "src": "54244:15:0" } ], - "id": 2897, + "id": 2389, "name": "ParameterList", - "src": "52744:17:1" + "src": "54243:17:0" }, { "children": [ @@ -69237,7 +69237,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69250,19 +69250,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2899, + "id": 2391, "name": "ElementaryTypeName", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2900, + "id": 2392, "name": "VariableDeclaration", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2901, + "id": 2393, "name": "ParameterList", - "src": "52799:9:1" + "src": "54298:9:0" }, { "children": [ @@ -69303,9 +69303,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2902, + "id": 2394, "name": "Identifier", - "src": "52819:7:1" + "src": "54319:7:0" }, { "attributes": { @@ -69333,31 +69333,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2903, + "id": 2395, "name": "Identifier", - "src": "52827:7:1" + "src": "54327:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2904, + "id": 2396, "name": "Identifier", - "src": "52835:7:1" + "src": "54335:7:0" } ], - "id": 2905, + "id": 2397, "name": "FunctionCall", - "src": "52827:16:1" + "src": "54327:16:0" }, { "attributes": { @@ -69370,23 +69370,23 @@ "type": "literal_string \"ERC721: approved query for nonexistent token\"", "value": "ERC721: approved query for nonexistent token" }, - "id": 2906, + "id": 2398, "name": "Literal", - "src": "52845:46:1" + "src": "54345:46:0" } ], - "id": 2907, + "id": 2399, "name": "FunctionCall", - "src": "52819:73:1" + "src": "54319:73:0" } ], - "id": 2908, + "id": 2400, "name": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "attributes": { - "functionReturnParameters": 2901 + "functionReturnParameters": 2393 }, "children": [ { @@ -69403,51 +69403,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 2909, + "id": 2401, "name": "Identifier", - "src": "52910:15:1" + "src": "54412:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2910, + "id": 2402, "name": "Identifier", - "src": "52926:7:1" + "src": "54428:7:0" } ], - "id": 2911, + "id": 2403, "name": "IndexAccess", - "src": "52910:24:1" + "src": "54412:24:0" } ], - "id": 2912, + "id": 2404, "name": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ], - "id": 2913, + "id": 2405, "name": "Block", - "src": "52809:132:1" + "src": "54308:136:0" } ], - "id": 2914, + "id": 2406, "name": "FunctionDefinition", - "src": "52724:217:1" + "src": "54223:221:0" }, { "attributes": { "baseFunctions": [ - 632 + 124 ], "functionSelector": "a22cb465", "implemented": true, @@ -69457,7 +69457,7 @@ null ], "name": "setApprovalForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69467,9 +69467,9 @@ "attributes": { "text": " @dev See {IERC721-setApprovalForAll}." }, - "id": 2915, + "id": 2407, "name": "StructuredDocumentation", - "src": "52947:56:1" + "src": "54452:58:0" }, { "attributes": { @@ -69477,9 +69477,9 @@ null ] }, - "id": 2921, + "id": 2413, "name": "OverrideSpecifier", - "src": "53083:8:1" + "src": "54591:8:0" }, { "children": [ @@ -69488,7 +69488,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69501,21 +69501,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2916, + "id": 2408, "name": "ElementaryTypeName", - "src": "53035:7:1" + "src": "54543:7:0" } ], - "id": 2917, + "id": 2409, "name": "VariableDeclaration", - "src": "53035:16:1" + "src": "54543:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "approved", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69527,19 +69527,19 @@ "name": "bool", "type": "bool" }, - "id": 2918, + "id": 2410, "name": "ElementaryTypeName", - "src": "53053:4:1" + "src": "54561:4:0" } ], - "id": 2919, + "id": 2411, "name": "VariableDeclaration", - "src": "53053:13:1" + "src": "54561:13:0" } ], - "id": 2920, + "id": 2412, "name": "ParameterList", - "src": "53034:33:1" + "src": "54542:33:0" }, { "attributes": { @@ -69548,9 +69548,9 @@ ] }, "children": [], - "id": 2922, + "id": 2414, "name": "ParameterList", - "src": "53092:0:1" + "src": "54600:0:0" }, { "children": [ @@ -69591,9 +69591,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2923, + "id": 2415, "name": "Identifier", - "src": "53102:7:1" + "src": "54611:7:0" }, { "attributes": { @@ -69614,13 +69614,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2924, + "id": 2416, "name": "Identifier", - "src": "53110:8:1" + "src": "54619:8:0" }, { "attributes": { @@ -69648,23 +69648,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2925, + "id": 2417, "name": "Identifier", - "src": "53122:10:1" + "src": "54631:10:0" } ], - "id": 2926, + "id": 2418, "name": "FunctionCall", - "src": "53122:12:1" + "src": "54631:12:0" } ], - "id": 2927, + "id": 2419, "name": "BinaryOperation", - "src": "53110:24:1" + "src": "54619:24:0" }, { "attributes": { @@ -69677,19 +69677,19 @@ "type": "literal_string \"ERC721: approve to caller\"", "value": "ERC721: approve to caller" }, - "id": 2928, + "id": 2420, "name": "Literal", - "src": "53136:27:1" + "src": "54645:27:0" } ], - "id": 2929, + "id": 2421, "name": "FunctionCall", - "src": "53102:62:1" + "src": "54611:62:0" } ], - "id": 2930, + "id": 2422, "name": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "children": [ @@ -69726,13 +69726,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2931, + "id": 2423, "name": "Identifier", - "src": "53175:18:1" + "src": "54686:18:0" }, { "attributes": { @@ -69760,64 +69760,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2932, + "id": 2424, "name": "Identifier", - "src": "53194:10:1" + "src": "54705:10:0" } ], - "id": 2933, + "id": 2425, "name": "FunctionCall", - "src": "53194:12:1" + "src": "54705:12:0" } ], - "id": 2935, + "id": 2427, "name": "IndexAccess", - "src": "53175:32:1" + "src": "54686:32:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2934, + "id": 2426, "name": "Identifier", - "src": "53208:8:1" + "src": "54719:8:0" } ], - "id": 2936, + "id": 2428, "name": "IndexAccess", - "src": "53175:42:1" + "src": "54686:42:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2937, + "id": 2429, "name": "Identifier", - "src": "53220:8:1" + "src": "54731:8:0" } ], - "id": 2938, + "id": 2430, "name": "Assignment", - "src": "53175:53:1" + "src": "54686:53:0" } ], - "id": 2939, + "id": 2431, "name": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "children": [ @@ -69855,13 +69855,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 572, + "referencedDeclaration": 64, "type": "function (address,address,bool)", "value": "ApprovalForAll" }, - "id": 2940, + "id": 2432, "name": "Identifier", - "src": "53243:14:1" + "src": "54755:14:0" }, { "attributes": { @@ -69889,69 +69889,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2941, + "id": 2433, "name": "Identifier", - "src": "53258:10:1" + "src": "54770:10:0" } ], - "id": 2942, + "id": 2434, "name": "FunctionCall", - "src": "53258:12:1" + "src": "54770:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2943, + "id": 2435, "name": "Identifier", - "src": "53272:8:1" + "src": "54784:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2944, + "id": 2436, "name": "Identifier", - "src": "53282:8:1" + "src": "54794:8:0" } ], - "id": 2945, + "id": 2437, "name": "FunctionCall", - "src": "53243:48:1" + "src": "54755:48:0" } ], - "id": 2946, + "id": 2438, "name": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ], - "id": 2947, + "id": 2439, "name": "Block", - "src": "53092:206:1" + "src": "54600:211:0" } ], - "id": 2948, + "id": 2440, "name": "FunctionDefinition", - "src": "53008:290:1" + "src": "54516:295:0" }, { "attributes": { "baseFunctions": [ - 642 + 134 ], "functionSelector": "e985e9c5", "implemented": true, @@ -69961,7 +69961,7 @@ null ], "name": "isApprovedForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -69971,9 +69971,9 @@ "attributes": { "text": " @dev See {IERC721-isApprovedForAll}." }, - "id": 2949, + "id": 2441, "name": "StructuredDocumentation", - "src": "53304:55:1" + "src": "54819:57:0" }, { "attributes": { @@ -69981,9 +69981,9 @@ null ] }, - "id": 2955, + "id": 2447, "name": "OverrideSpecifier", - "src": "53443:8:1" + "src": "54961:8:0" }, { "children": [ @@ -69992,7 +69992,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70005,21 +70005,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2950, + "id": 2442, "name": "ElementaryTypeName", - "src": "53390:7:1" + "src": "54908:7:0" } ], - "id": 2951, + "id": 2443, "name": "VariableDeclaration", - "src": "53390:13:1" + "src": "54908:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70032,19 +70032,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2952, + "id": 2444, "name": "ElementaryTypeName", - "src": "53405:7:1" + "src": "54923:7:0" } ], - "id": 2953, + "id": 2445, "name": "VariableDeclaration", - "src": "53405:16:1" + "src": "54923:16:0" } ], - "id": 2954, + "id": 2446, "name": "ParameterList", - "src": "53389:33:1" + "src": "54907:33:0" }, { "children": [ @@ -70053,7 +70053,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -70065,25 +70065,25 @@ "name": "bool", "type": "bool" }, - "id": 2956, + "id": 2448, "name": "ElementaryTypeName", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2957, + "id": 2449, "name": "VariableDeclaration", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2958, + "id": 2450, "name": "ParameterList", - "src": "53460:6:1" + "src": "54978:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2958 + "functionReturnParameters": 2450 }, "children": [ { @@ -70109,69 +70109,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2959, + "id": 2451, "name": "Identifier", - "src": "53484:18:1" + "src": "55003:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2951, + "referencedDeclaration": 2443, "type": "address", "value": "owner" }, - "id": 2960, + "id": 2452, "name": "Identifier", - "src": "53503:5:1" + "src": "55022:5:0" } ], - "id": 2961, + "id": 2453, "name": "IndexAccess", - "src": "53484:25:1" + "src": "55003:25:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2953, + "referencedDeclaration": 2445, "type": "address", "value": "operator" }, - "id": 2962, + "id": 2454, "name": "Identifier", - "src": "53510:8:1" + "src": "55029:8:0" } ], - "id": 2963, + "id": 2455, "name": "IndexAccess", - "src": "53484:35:1" + "src": "55003:35:0" } ], - "id": 2964, + "id": 2456, "name": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ], - "id": 2965, + "id": 2457, "name": "Block", - "src": "53467:59:1" + "src": "54985:61:0" } ], - "id": 2966, + "id": 2458, "name": "FunctionDefinition", - "src": "53364:162:1" + "src": "54882:164:0" }, { "attributes": { "baseFunctions": [ - 608 + 100 ], "functionSelector": "23b872dd", "implemented": true, @@ -70181,7 +70181,7 @@ null ], "name": "transferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70191,9 +70191,9 @@ "attributes": { "text": " @dev See {IERC721-transferFrom}." }, - "id": 2967, + "id": 2459, "name": "StructuredDocumentation", - "src": "53532:51:1" + "src": "55054:53:0" }, { "attributes": { @@ -70201,9 +70201,9 @@ null ] }, - "id": 2975, + "id": 2467, "name": "OverrideSpecifier", - "src": "53668:8:1" + "src": "55193:8:0" }, { "children": [ @@ -70212,7 +70212,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70225,21 +70225,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2968, + "id": 2460, "name": "ElementaryTypeName", - "src": "53610:7:1" + "src": "55135:7:0" } ], - "id": 2969, + "id": 2461, "name": "VariableDeclaration", - "src": "53610:12:1" + "src": "55135:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70252,21 +70252,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2970, + "id": 2462, "name": "ElementaryTypeName", - "src": "53624:7:1" + "src": "55149:7:0" } ], - "id": 2971, + "id": 2463, "name": "VariableDeclaration", - "src": "53624:10:1" + "src": "55149:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70278,19 +70278,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2972, + "id": 2464, "name": "ElementaryTypeName", - "src": "53636:7:1" + "src": "55161:7:0" } ], - "id": 2973, + "id": 2465, "name": "VariableDeclaration", - "src": "53636:15:1" + "src": "55161:15:0" } ], - "id": 2974, + "id": 2466, "name": "ParameterList", - "src": "53609:43:1" + "src": "55134:43:0" }, { "attributes": { @@ -70299,9 +70299,9 @@ ] }, "children": [], - "id": 2976, + "id": 2468, "name": "ParameterList", - "src": "53677:0:1" + "src": "55202:0:0" }, { "children": [ @@ -70342,9 +70342,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2977, + "id": 2469, "name": "Identifier", - "src": "53739:7:1" + "src": "55266:7:0" }, { "attributes": { @@ -70376,13 +70376,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 2978, + "id": 2470, "name": "Identifier", - "src": "53747:18:1" + "src": "55274:18:0" }, { "attributes": { @@ -70410,36 +70410,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2979, + "id": 2471, "name": "Identifier", - "src": "53766:10:1" + "src": "55293:10:0" } ], - "id": 2980, + "id": 2472, "name": "FunctionCall", - "src": "53766:12:1" + "src": "55293:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2981, + "id": 2473, "name": "Identifier", - "src": "53780:7:1" + "src": "55307:7:0" } ], - "id": 2982, + "id": 2474, "name": "FunctionCall", - "src": "53747:41:1" + "src": "55274:41:0" }, { "attributes": { @@ -70452,19 +70452,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 2983, + "id": 2475, "name": "Literal", - "src": "53790:51:1" + "src": "55317:51:0" } ], - "id": 2984, + "id": 2476, "name": "FunctionCall", - "src": "53739:103:1" + "src": "55266:103:0" } ], - "id": 2985, + "id": 2477, "name": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "children": [ @@ -70502,77 +70502,77 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 2986, + "id": 2478, "name": "Identifier", - "src": "53853:9:1" + "src": "55382:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2969, + "referencedDeclaration": 2461, "type": "address", "value": "from" }, - "id": 2987, + "id": 2479, "name": "Identifier", - "src": "53863:4:1" + "src": "55392:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2971, + "referencedDeclaration": 2463, "type": "address", "value": "to" }, - "id": 2988, + "id": 2480, "name": "Identifier", - "src": "53869:2:1" + "src": "55398:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2989, + "id": 2481, "name": "Identifier", - "src": "53873:7:1" + "src": "55402:7:0" } ], - "id": 2990, + "id": 2482, "name": "FunctionCall", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2991, + "id": 2483, "name": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2992, + "id": 2484, "name": "Block", - "src": "53677:211:1" + "src": "55202:216:0" } ], - "id": 2993, + "id": 2485, "name": "FunctionDefinition", - "src": "53588:300:1" + "src": "55113:305:0" }, { "attributes": { "baseFunctions": [ - 598 + 90 ], "functionSelector": "42842e0e", "implemented": true, @@ -70582,7 +70582,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70592,9 +70592,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 2994, + "id": 2486, "name": "StructuredDocumentation", - "src": "53894:55:1" + "src": "55426:57:0" }, { "attributes": { @@ -70602,9 +70602,9 @@ null ] }, - "id": 3002, + "id": 2494, "name": "OverrideSpecifier", - "src": "54038:8:1" + "src": "55573:8:0" }, { "children": [ @@ -70613,7 +70613,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70626,21 +70626,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2995, + "id": 2487, "name": "ElementaryTypeName", - "src": "53980:7:1" + "src": "55515:7:0" } ], - "id": 2996, + "id": 2488, "name": "VariableDeclaration", - "src": "53980:12:1" + "src": "55515:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70653,21 +70653,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2997, + "id": 2489, "name": "ElementaryTypeName", - "src": "53994:7:1" + "src": "55529:7:0" } ], - "id": 2998, + "id": 2490, "name": "VariableDeclaration", - "src": "53994:10:1" + "src": "55529:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70679,19 +70679,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2999, + "id": 2491, "name": "ElementaryTypeName", - "src": "54006:7:1" + "src": "55541:7:0" } ], - "id": 3000, + "id": 2492, "name": "VariableDeclaration", - "src": "54006:15:1" + "src": "55541:15:0" } ], - "id": 3001, + "id": 2493, "name": "ParameterList", - "src": "53979:43:1" + "src": "55514:43:0" }, { "attributes": { @@ -70700,9 +70700,9 @@ ] }, "children": [], - "id": 3003, + "id": 2495, "name": "ParameterList", - "src": "54047:0:1" + "src": "55582:0:0" }, { "children": [ @@ -70744,55 +70744,55 @@ } ], "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, + "referencedDeclaration": 2534, "type": "function (address,address,uint256,bytes memory)", "value": "safeTransferFrom" }, - "id": 3004, + "id": 2496, "name": "Identifier", - "src": "54057:16:1" + "src": "55593:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2996, + "referencedDeclaration": 2488, "type": "address", "value": "from" }, - "id": 3005, + "id": 2497, "name": "Identifier", - "src": "54074:4:1" + "src": "55610:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2998, + "referencedDeclaration": 2490, "type": "address", "value": "to" }, - "id": 3006, + "id": 2498, "name": "Identifier", - "src": "54080:2:1" + "src": "55616:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3000, + "referencedDeclaration": 2492, "type": "uint256", "value": "tokenId" }, - "id": 3007, + "id": 2499, "name": "Identifier", - "src": "54084:7:1" + "src": "55620:7:0" }, { "attributes": { @@ -70805,34 +70805,34 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3008, + "id": 2500, "name": "Literal", - "src": "54093:2:1" + "src": "55629:2:0" } ], - "id": 3009, + "id": 2501, "name": "FunctionCall", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3010, + "id": 2502, "name": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3011, + "id": 2503, "name": "Block", - "src": "54047:56:1" + "src": "55582:58:0" } ], - "id": 3012, + "id": 2504, "name": "FunctionDefinition", - "src": "53954:149:1" + "src": "55489:151:0" }, { "attributes": { "baseFunctions": [ - 654 + 146 ], "functionSelector": "b88d4fde", "implemented": true, @@ -70842,7 +70842,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70852,9 +70852,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 3013, + "id": 2505, "name": "StructuredDocumentation", - "src": "54109:55:1" + "src": "55648:57:0" }, { "attributes": { @@ -70862,9 +70862,9 @@ null ] }, - "id": 3023, + "id": 2515, "name": "OverrideSpecifier", - "src": "54273:8:1" + "src": "55815:8:0" }, { "children": [ @@ -70873,7 +70873,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70886,21 +70886,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3014, + "id": 2506, "name": "ElementaryTypeName", - "src": "54195:7:1" + "src": "55737:7:0" } ], - "id": 3015, + "id": 2507, "name": "VariableDeclaration", - "src": "54195:12:1" + "src": "55737:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70913,21 +70913,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3016, + "id": 2508, "name": "ElementaryTypeName", - "src": "54209:7:1" + "src": "55751:7:0" } ], - "id": 3017, + "id": 2509, "name": "VariableDeclaration", - "src": "54209:10:1" + "src": "55751:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70939,21 +70939,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3018, + "id": 2510, "name": "ElementaryTypeName", - "src": "54221:7:1" + "src": "55763:7:0" } ], - "id": 3019, + "id": 2511, "name": "VariableDeclaration", - "src": "54221:15:1" + "src": "55763:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -70965,19 +70965,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3020, + "id": 2512, "name": "ElementaryTypeName", - "src": "54238:5:1" + "src": "55780:5:0" } ], - "id": 3021, + "id": 2513, "name": "VariableDeclaration", - "src": "54238:18:1" + "src": "55780:18:0" } ], - "id": 3022, + "id": 2514, "name": "ParameterList", - "src": "54194:63:1" + "src": "55736:63:0" }, { "attributes": { @@ -70986,9 +70986,9 @@ ] }, "children": [], - "id": 3024, + "id": 2516, "name": "ParameterList", - "src": "54282:0:1" + "src": "55824:0:0" }, { "children": [ @@ -71029,9 +71029,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3025, + "id": 2517, "name": "Identifier", - "src": "54292:7:1" + "src": "55835:7:0" }, { "attributes": { @@ -71063,13 +71063,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 3026, + "id": 2518, "name": "Identifier", - "src": "54300:18:1" + "src": "55843:18:0" }, { "attributes": { @@ -71097,36 +71097,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3027, + "id": 2519, "name": "Identifier", - "src": "54319:10:1" + "src": "55862:10:0" } ], - "id": 3028, + "id": 2520, "name": "FunctionCall", - "src": "54319:12:1" + "src": "55862:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3029, + "id": 2521, "name": "Identifier", - "src": "54333:7:1" + "src": "55876:7:0" } ], - "id": 3030, + "id": 2522, "name": "FunctionCall", - "src": "54300:41:1" + "src": "55843:41:0" }, { "attributes": { @@ -71139,19 +71139,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 3031, + "id": 2523, "name": "Literal", - "src": "54343:51:1" + "src": "55886:51:0" } ], - "id": 3032, + "id": 2524, "name": "FunctionCall", - "src": "54292:103:1" + "src": "55835:103:0" } ], - "id": 3033, + "id": 2525, "name": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "children": [ @@ -71193,85 +71193,85 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3071, + "referencedDeclaration": 2563, "type": "function (address,address,uint256,bytes memory)", "value": "_safeTransfer" }, - "id": 3034, + "id": 2526, "name": "Identifier", - "src": "54405:13:1" + "src": "55949:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3015, + "referencedDeclaration": 2507, "type": "address", "value": "from" }, - "id": 3035, + "id": 2527, "name": "Identifier", - "src": "54419:4:1" + "src": "55963:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3017, + "referencedDeclaration": 2509, "type": "address", "value": "to" }, - "id": 3036, + "id": 2528, "name": "Identifier", - "src": "54425:2:1" + "src": "55969:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3037, + "id": 2529, "name": "Identifier", - "src": "54429:7:1" + "src": "55973:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3021, + "referencedDeclaration": 2513, "type": "bytes memory", "value": "_data" }, - "id": 3038, + "id": 2530, "name": "Identifier", - "src": "54438:5:1" + "src": "55982:5:0" } ], - "id": 3039, + "id": 2531, "name": "FunctionCall", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3040, + "id": 2532, "name": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3041, + "id": 2533, "name": "Block", - "src": "54282:169:1" + "src": "55824:172:0" } ], - "id": 3042, + "id": 2534, "name": "FunctionDefinition", - "src": "54169:282:1" + "src": "55711:285:0" }, { "attributes": { @@ -71282,7 +71282,7 @@ null ], "name": "_safeTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -71292,9 +71292,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3043, + "id": 2535, "name": "StructuredDocumentation", - "src": "54457:851:1" + "src": "56004:868:0" }, { "children": [ @@ -71303,7 +71303,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71316,21 +71316,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3044, + "id": 2536, "name": "ElementaryTypeName", - "src": "55336:7:1" + "src": "56901:7:0" } ], - "id": 3045, + "id": 2537, "name": "VariableDeclaration", - "src": "55336:12:1" + "src": "56901:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71343,21 +71343,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3046, + "id": 2538, "name": "ElementaryTypeName", - "src": "55350:7:1" + "src": "56915:7:0" } ], - "id": 3047, + "id": 2539, "name": "VariableDeclaration", - "src": "55350:10:1" + "src": "56915:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71369,21 +71369,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3048, + "id": 2540, "name": "ElementaryTypeName", - "src": "55362:7:1" + "src": "56927:7:0" } ], - "id": 3049, + "id": 2541, "name": "VariableDeclaration", - "src": "55362:15:1" + "src": "56927:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -71395,19 +71395,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3050, + "id": 2542, "name": "ElementaryTypeName", - "src": "55379:5:1" + "src": "56944:5:0" } ], - "id": 3051, + "id": 2543, "name": "VariableDeclaration", - "src": "55379:18:1" + "src": "56944:18:0" } ], - "id": 3052, + "id": 2544, "name": "ParameterList", - "src": "55335:63:1" + "src": "56900:63:0" }, { "attributes": { @@ -71416,9 +71416,9 @@ ] }, "children": [], - "id": 3053, + "id": 2545, "name": "ParameterList", - "src": "55416:0:1" + "src": "56981:0:0" }, { "children": [ @@ -71458,62 +71458,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 3054, + "id": 2546, "name": "Identifier", - "src": "55426:9:1" + "src": "56992:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3055, + "id": 2547, "name": "Identifier", - "src": "55436:4:1" + "src": "57002:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3056, + "id": 2548, "name": "Identifier", - "src": "55442:2:1" + "src": "57008:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3057, + "id": 2549, "name": "Identifier", - "src": "55446:7:1" + "src": "57012:7:0" } ], - "id": 3058, + "id": 2550, "name": "FunctionCall", - "src": "55426:28:1" + "src": "56992:28:0" } ], - "id": 3059, + "id": 2551, "name": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "children": [ @@ -71552,9 +71552,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3060, + "id": 2552, "name": "Identifier", - "src": "55464:7:1" + "src": "57031:7:0" }, { "attributes": { @@ -71594,70 +71594,70 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3061, + "id": 2553, "name": "Identifier", - "src": "55472:22:1" + "src": "57039:22:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3062, + "id": 2554, "name": "Identifier", - "src": "55495:4:1" + "src": "57062:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3063, + "id": 2555, "name": "Identifier", - "src": "55501:2:1" + "src": "57068:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3064, + "id": 2556, "name": "Identifier", - "src": "55505:7:1" + "src": "57072:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3051, + "referencedDeclaration": 2543, "type": "bytes memory", "value": "_data" }, - "id": 3065, + "id": 2557, "name": "Identifier", - "src": "55514:5:1" + "src": "57081:5:0" } ], - "id": 3066, + "id": 2558, "name": "FunctionCall", - "src": "55472:48:1" + "src": "57039:48:0" }, { "attributes": { @@ -71670,29 +71670,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3067, + "id": 2559, "name": "Literal", - "src": "55522:52:1" + "src": "57089:52:0" } ], - "id": 3068, + "id": 2560, "name": "FunctionCall", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3069, + "id": 2561, "name": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3070, + "id": 2562, "name": "Block", - "src": "55416:166:1" + "src": "56981:169:0" } ], - "id": 3071, + "id": 2563, "name": "FunctionDefinition", - "src": "55313:269:1" + "src": "56878:272:0" }, { "attributes": { @@ -71703,7 +71703,7 @@ null ], "name": "_exists", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71713,9 +71713,9 @@ "attributes": { "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3072, + "id": 2564, "name": "StructuredDocumentation", - "src": "55588:292:1" + "src": "57158:299:0" }, { "children": [ @@ -71724,7 +71724,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71736,19 +71736,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3073, + "id": 2565, "name": "ElementaryTypeName", - "src": "55902:7:1" + "src": "57480:7:0" } ], - "id": 3074, + "id": 2566, "name": "VariableDeclaration", - "src": "55902:15:1" + "src": "57480:15:0" } ], - "id": 3075, + "id": 2567, "name": "ParameterList", - "src": "55901:17:1" + "src": "57479:17:0" }, { "children": [ @@ -71757,7 +71757,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71769,25 +71769,25 @@ "name": "bool", "type": "bool" }, - "id": 3076, + "id": 2568, "name": "ElementaryTypeName", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3077, + "id": 2569, "name": "VariableDeclaration", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3078, + "id": 2570, "name": "ParameterList", - "src": "55949:6:1" + "src": "57527:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3078 + "functionReturnParameters": 2570 }, "children": [ { @@ -71818,7 +71818,7 @@ "isPure": false, "lValueRequested": false, "member_name": "contains", - "referencedDeclaration": 2326, + "referencedDeclaration": 1818, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" }, "children": [ @@ -71827,51 +71827,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3079, + "id": 2571, "name": "Identifier", - "src": "55973:12:1" + "src": "57552:12:0" } ], - "id": 3080, + "id": 2572, "name": "MemberAccess", - "src": "55973:21:1" + "src": "57552:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3074, + "referencedDeclaration": 2566, "type": "uint256", "value": "tokenId" }, - "id": 3081, + "id": 2573, "name": "Identifier", - "src": "55995:7:1" + "src": "57574:7:0" } ], - "id": 3082, + "id": 2574, "name": "FunctionCall", - "src": "55973:30:1" + "src": "57552:30:0" } ], - "id": 3083, + "id": 2575, "name": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ], - "id": 3084, + "id": 2576, "name": "Block", - "src": "55956:54:1" + "src": "57534:56:0" } ], - "id": 3085, + "id": 2577, "name": "FunctionDefinition", - "src": "55885:125:1" + "src": "57463:127:0" }, { "attributes": { @@ -71882,7 +71882,7 @@ null ], "name": "_isApprovedOrOwner", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71892,9 +71892,9 @@ "attributes": { "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3086, + "id": 2578, "name": "StructuredDocumentation", - "src": "56016:147:1" + "src": "57598:153:0" }, { "children": [ @@ -71903,7 +71903,7 @@ "constant": false, "mutability": "mutable", "name": "spender", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71916,21 +71916,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3087, + "id": 2579, "name": "ElementaryTypeName", - "src": "56196:7:1" + "src": "57785:7:0" } ], - "id": 3088, + "id": 2580, "name": "VariableDeclaration", - "src": "56196:15:1" + "src": "57785:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71942,19 +71942,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3089, + "id": 2581, "name": "ElementaryTypeName", - "src": "56213:7:1" + "src": "57802:7:0" } ], - "id": 3090, + "id": 2582, "name": "VariableDeclaration", - "src": "56213:15:1" + "src": "57802:15:0" } ], - "id": 3091, + "id": 2583, "name": "ParameterList", - "src": "56195:34:1" + "src": "57784:34:0" }, { "children": [ @@ -71963,7 +71963,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71975,19 +71975,19 @@ "name": "bool", "type": "bool" }, - "id": 3092, + "id": 2584, "name": "ElementaryTypeName", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3093, + "id": 2585, "name": "VariableDeclaration", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3094, + "id": 2586, "name": "ParameterList", - "src": "56260:6:1" + "src": "57849:6:0" }, { "children": [ @@ -72028,9 +72028,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3095, + "id": 2587, "name": "Identifier", - "src": "56277:7:1" + "src": "57867:7:0" }, { "attributes": { @@ -72058,31 +72058,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3096, + "id": 2588, "name": "Identifier", - "src": "56285:7:1" + "src": "57875:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3097, + "id": 2589, "name": "Identifier", - "src": "56293:7:1" + "src": "57883:7:0" } ], - "id": 3098, + "id": 2590, "name": "FunctionCall", - "src": "56285:16:1" + "src": "57875:16:0" }, { "attributes": { @@ -72095,24 +72095,24 @@ "type": "literal_string \"ERC721: operator query for nonexistent token\"", "value": "ERC721: operator query for nonexistent token" }, - "id": 3099, + "id": 2591, "name": "Literal", - "src": "56303:46:1" + "src": "57893:46:0" } ], - "id": 3100, + "id": 2592, "name": "FunctionCall", - "src": "56277:73:1" + "src": "57867:73:0" } ], - "id": 3101, + "id": 2593, "name": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "attributes": { "assignments": [ - 3103 + 2595 ] }, "children": [ @@ -72121,7 +72121,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3126, + "scope": 2618, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72134,14 +72134,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3102, + "id": 2594, "name": "ElementaryTypeName", - "src": "56360:7:1" + "src": "57951:7:0" } ], - "id": 3103, + "id": 2595, "name": "VariableDeclaration", - "src": "56360:13:1" + "src": "57951:13:0" }, { "attributes": { @@ -72171,7 +72171,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -72180,45 +72180,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3104, + "id": 2596, "name": "Identifier", - "src": "56376:6:1" + "src": "57967:6:0" } ], - "id": 3105, + "id": 2597, "name": "MemberAccess", - "src": "56376:14:1" + "src": "57967:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3106, + "id": 2598, "name": "Identifier", - "src": "56391:7:1" + "src": "57982:7:0" } ], - "id": 3107, + "id": 2599, "name": "FunctionCall", - "src": "56376:23:1" + "src": "57967:23:0" } ], - "id": 3108, + "id": 2600, "name": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "attributes": { - "functionReturnParameters": 3094 + "functionReturnParameters": 2586 }, "children": [ { @@ -72278,31 +72278,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3109, + "id": 2601, "name": "Identifier", - "src": "56417:7:1" + "src": "58009:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3110, + "id": 2602, "name": "Identifier", - "src": "56428:5:1" + "src": "58020:5:0" } ], - "id": 3111, + "id": 2603, "name": "BinaryOperation", - "src": "56417:16:1" + "src": "58009:16:0" }, { "attributes": { @@ -72344,54 +72344,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2914, + "referencedDeclaration": 2406, "type": "function (uint256) view returns (address)", "value": "getApproved" }, - "id": 3112, + "id": 2604, "name": "Identifier", - "src": "56437:11:1" + "src": "58029:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3113, + "id": 2605, "name": "Identifier", - "src": "56449:7:1" + "src": "58041:7:0" } ], - "id": 3114, + "id": 2606, "name": "FunctionCall", - "src": "56437:20:1" + "src": "58029:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3115, + "id": 2607, "name": "Identifier", - "src": "56461:7:1" + "src": "58053:7:0" } ], - "id": 3116, + "id": 2608, "name": "BinaryOperation", - "src": "56437:31:1" + "src": "58029:31:0" } ], - "id": 3117, + "id": 2609, "name": "BinaryOperation", - "src": "56417:51:1" + "src": "58009:51:0" }, { "attributes": { @@ -72425,7 +72425,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -72434,74 +72434,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3118, + "id": 2610, "name": "Identifier", - "src": "56472:6:1" + "src": "58064:6:0" } ], - "id": 3119, + "id": 2611, "name": "MemberAccess", - "src": "56472:23:1" + "src": "58064:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3120, + "id": 2612, "name": "Identifier", - "src": "56496:5:1" + "src": "58088:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3121, + "id": 2613, "name": "Identifier", - "src": "56503:7:1" + "src": "58095:7:0" } ], - "id": 3122, + "id": 2614, "name": "FunctionCall", - "src": "56472:39:1" + "src": "58064:39:0" } ], - "id": 3123, + "id": 2615, "name": "BinaryOperation", - "src": "56417:94:1" + "src": "58009:94:0" } ], - "id": 3124, + "id": 2616, "name": "TupleExpression", - "src": "56416:96:1" + "src": "58008:96:0" } ], - "id": 3125, + "id": 2617, "name": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ], - "id": 3126, + "id": 2618, "name": "Block", - "src": "56267:252:1" + "src": "57856:256:0" } ], - "id": 3127, + "id": 2619, "name": "FunctionDefinition", - "src": "56168:351:1" + "src": "57757:355:0" }, { "attributes": { @@ -72512,7 +72512,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72522,9 +72522,9 @@ "attributes": { "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3128, + "id": 2620, "name": "StructuredDocumentation", - "src": "56525:320:1" + "src": "58120:329:0" }, { "children": [ @@ -72533,7 +72533,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72546,21 +72546,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3129, + "id": 2621, "name": "ElementaryTypeName", - "src": "56869:7:1" + "src": "58474:7:0" } ], - "id": 3130, + "id": 2622, "name": "VariableDeclaration", - "src": "56869:10:1" + "src": "58474:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72572,19 +72572,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3131, + "id": 2623, "name": "ElementaryTypeName", - "src": "56881:7:1" + "src": "58486:7:0" } ], - "id": 3132, + "id": 2624, "name": "VariableDeclaration", - "src": "56881:15:1" + "src": "58486:15:0" } ], - "id": 3133, + "id": 2625, "name": "ParameterList", - "src": "56868:29:1" + "src": "58473:29:0" }, { "attributes": { @@ -72593,9 +72593,9 @@ ] }, "children": [], - "id": 3134, + "id": 2626, "name": "ParameterList", - "src": "56915:0:1" + "src": "58520:0:0" }, { "children": [ @@ -72633,42 +72633,42 @@ } ], "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, + "referencedDeclaration": 2663, "type": "function (address,uint256,bytes memory)", "value": "_safeMint" }, - "id": 3135, + "id": 2627, "name": "Identifier", - "src": "56925:9:1" + "src": "58531:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3130, + "referencedDeclaration": 2622, "type": "address", "value": "to" }, - "id": 3136, + "id": 2628, "name": "Identifier", - "src": "56935:2:1" + "src": "58541:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3132, + "referencedDeclaration": 2624, "type": "uint256", "value": "tokenId" }, - "id": 3137, + "id": 2629, "name": "Identifier", - "src": "56939:7:1" + "src": "58545:7:0" }, { "attributes": { @@ -72681,29 +72681,29 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3138, + "id": 2630, "name": "Literal", - "src": "56948:2:1" + "src": "58554:2:0" } ], - "id": 3139, + "id": 2631, "name": "FunctionCall", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3140, + "id": 2632, "name": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3141, + "id": 2633, "name": "Block", - "src": "56915:43:1" + "src": "58520:45:0" } ], - "id": 3142, + "id": 2634, "name": "FunctionDefinition", - "src": "56850:108:1" + "src": "58455:110:0" }, { "attributes": { @@ -72714,7 +72714,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72724,9 +72724,9 @@ "attributes": { "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3143, + "id": 2635, "name": "StructuredDocumentation", - "src": "56964:210:1" + "src": "58573:213:0" }, { "children": [ @@ -72735,7 +72735,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72748,21 +72748,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3144, + "id": 2636, "name": "ElementaryTypeName", - "src": "57198:7:1" + "src": "58811:7:0" } ], - "id": 3145, + "id": 2637, "name": "VariableDeclaration", - "src": "57198:10:1" + "src": "58811:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72774,21 +72774,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3146, + "id": 2638, "name": "ElementaryTypeName", - "src": "57210:7:1" + "src": "58823:7:0" } ], - "id": 3147, + "id": 2639, "name": "VariableDeclaration", - "src": "57210:15:1" + "src": "58823:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -72800,19 +72800,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3148, + "id": 2640, "name": "ElementaryTypeName", - "src": "57227:5:1" + "src": "58840:5:0" } ], - "id": 3149, + "id": 2641, "name": "VariableDeclaration", - "src": "57227:18:1" + "src": "58840:18:0" } ], - "id": 3150, + "id": 2642, "name": "ParameterList", - "src": "57197:49:1" + "src": "58810:49:0" }, { "attributes": { @@ -72821,9 +72821,9 @@ ] }, "children": [], - "id": 3151, + "id": 2643, "name": "ParameterList", - "src": "57264:0:1" + "src": "58877:0:0" }, { "children": [ @@ -72859,49 +72859,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3230, + "referencedDeclaration": 2722, "type": "function (address,uint256)", "value": "_mint" }, - "id": 3152, + "id": 2644, "name": "Identifier", - "src": "57274:5:1" + "src": "58888:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3153, + "id": 2645, "name": "Identifier", - "src": "57280:2:1" + "src": "58894:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3154, + "id": 2646, "name": "Identifier", - "src": "57284:7:1" + "src": "58898:7:0" } ], - "id": 3155, + "id": 2647, "name": "FunctionCall", - "src": "57274:18:1" + "src": "58888:18:0" } ], - "id": 3156, + "id": 2648, "name": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "children": [ @@ -72940,9 +72940,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3157, + "id": 2649, "name": "Identifier", - "src": "57302:7:1" + "src": "58917:7:0" }, { "attributes": { @@ -72982,13 +72982,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3158, + "id": 2650, "name": "Identifier", - "src": "57310:22:1" + "src": "58925:22:0" }, { "attributes": { @@ -73024,14 +73024,14 @@ "attributes": { "name": "address" }, - "id": 3159, + "id": 2651, "name": "ElementaryTypeName", - "src": "57333:7:1" + "src": "58948:7:0" } ], - "id": 3160, + "id": 2652, "name": "ElementaryTypeNameExpression", - "src": "57333:7:1" + "src": "58948:7:0" }, { "attributes": { @@ -73044,58 +73044,58 @@ "type": "int_const 0", "value": "0" }, - "id": 3161, + "id": 2653, "name": "Literal", - "src": "57341:1:1" + "src": "58956:1:0" } ], - "id": 3162, + "id": 2654, "name": "FunctionCall", - "src": "57333:10:1" + "src": "58948:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3163, + "id": 2655, "name": "Identifier", - "src": "57345:2:1" + "src": "58960:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3164, + "id": 2656, "name": "Identifier", - "src": "57349:7:1" + "src": "58964:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3149, + "referencedDeclaration": 2641, "type": "bytes memory", "value": "_data" }, - "id": 3165, + "id": 2657, "name": "Identifier", - "src": "57358:5:1" + "src": "58973:5:0" } ], - "id": 3166, + "id": 2658, "name": "FunctionCall", - "src": "57310:54:1" + "src": "58925:54:0" }, { "attributes": { @@ -73108,29 +73108,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3167, + "id": 2659, "name": "Literal", - "src": "57366:52:1" + "src": "58981:52:0" } ], - "id": 3168, + "id": 2660, "name": "FunctionCall", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3169, + "id": 2661, "name": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3170, + "id": 2662, "name": "Block", - "src": "57264:162:1" + "src": "58877:165:0" } ], - "id": 3171, + "id": 2663, "name": "FunctionDefinition", - "src": "57179:247:1" + "src": "58792:250:0" }, { "attributes": { @@ -73141,7 +73141,7 @@ null ], "name": "_mint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -73151,9 +73151,9 @@ "attributes": { "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3172, + "id": 2664, "name": "StructuredDocumentation", - "src": "57432:311:1" + "src": "59050:322:0" }, { "children": [ @@ -73162,7 +73162,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -73175,21 +73175,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3173, + "id": 2665, "name": "ElementaryTypeName", - "src": "57763:7:1" + "src": "59393:7:0" } ], - "id": 3174, + "id": 2666, "name": "VariableDeclaration", - "src": "57763:10:1" + "src": "59393:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -73201,19 +73201,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3175, + "id": 2667, "name": "ElementaryTypeName", - "src": "57775:7:1" + "src": "59405:7:0" } ], - "id": 3176, + "id": 2668, "name": "VariableDeclaration", - "src": "57775:15:1" + "src": "59405:15:0" } ], - "id": 3177, + "id": 2669, "name": "ParameterList", - "src": "57762:29:1" + "src": "59392:29:0" }, { "attributes": { @@ -73222,9 +73222,9 @@ ] }, "children": [], - "id": 3178, + "id": 2670, "name": "ParameterList", - "src": "57809:0:1" + "src": "59439:0:0" }, { "children": [ @@ -73265,9 +73265,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3179, + "id": 2671, "name": "Identifier", - "src": "57819:7:1" + "src": "59450:7:0" }, { "attributes": { @@ -73288,13 +73288,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3180, + "id": 2672, "name": "Identifier", - "src": "57827:2:1" + "src": "59458:2:0" }, { "attributes": { @@ -73330,14 +73330,14 @@ "attributes": { "name": "address" }, - "id": 3181, + "id": 2673, "name": "ElementaryTypeName", - "src": "57833:7:1" + "src": "59464:7:0" } ], - "id": 3182, + "id": 2674, "name": "ElementaryTypeNameExpression", - "src": "57833:7:1" + "src": "59464:7:0" }, { "attributes": { @@ -73350,19 +73350,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3183, + "id": 2675, "name": "Literal", - "src": "57841:1:1" + "src": "59472:1:0" } ], - "id": 3184, + "id": 2676, "name": "FunctionCall", - "src": "57833:10:1" + "src": "59464:10:0" } ], - "id": 3185, + "id": 2677, "name": "BinaryOperation", - "src": "57827:16:1" + "src": "59458:16:0" }, { "attributes": { @@ -73375,19 +73375,19 @@ "type": "literal_string \"ERC721: mint to the zero address\"", "value": "ERC721: mint to the zero address" }, - "id": 3186, + "id": 2678, "name": "Literal", - "src": "57845:34:1" + "src": "59476:34:0" } ], - "id": 3187, + "id": 2679, "name": "FunctionCall", - "src": "57819:61:1" + "src": "59450:61:0" } ], - "id": 3188, + "id": 2680, "name": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "children": [ @@ -73426,9 +73426,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3189, + "id": 2681, "name": "Identifier", - "src": "57890:7:1" + "src": "59522:7:0" }, { "attributes": { @@ -73467,36 +73467,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3190, + "id": 2682, "name": "Identifier", - "src": "57899:7:1" + "src": "59531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3191, + "id": 2683, "name": "Identifier", - "src": "57907:7:1" + "src": "59539:7:0" } ], - "id": 3192, + "id": 2684, "name": "FunctionCall", - "src": "57899:16:1" + "src": "59531:16:0" } ], - "id": 3193, + "id": 2685, "name": "UnaryOperation", - "src": "57898:17:1" + "src": "59530:17:0" }, { "attributes": { @@ -73509,19 +73509,19 @@ "type": "literal_string \"ERC721: token already minted\"", "value": "ERC721: token already minted" }, - "id": 3194, + "id": 2686, "name": "Literal", - "src": "57917:30:1" + "src": "59549:30:0" } ], - "id": 3195, + "id": 2687, "name": "FunctionCall", - "src": "57890:58:1" + "src": "59522:58:0" } ], - "id": 3196, + "id": 2688, "name": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "children": [ @@ -73559,13 +73559,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3197, + "id": 2689, "name": "Identifier", - "src": "57959:20:1" + "src": "59593:20:0" }, { "attributes": { @@ -73601,14 +73601,14 @@ "attributes": { "name": "address" }, - "id": 3198, + "id": 2690, "name": "ElementaryTypeName", - "src": "57980:7:1" + "src": "59614:7:0" } ], - "id": 3199, + "id": 2691, "name": "ElementaryTypeNameExpression", - "src": "57980:7:1" + "src": "59614:7:0" }, { "attributes": { @@ -73621,50 +73621,50 @@ "type": "int_const 0", "value": "0" }, - "id": 3200, + "id": 2692, "name": "Literal", - "src": "57988:1:1" + "src": "59622:1:0" } ], - "id": 3201, + "id": 2693, "name": "FunctionCall", - "src": "57980:10:1" + "src": "59614:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3202, + "id": 2694, "name": "Identifier", - "src": "57992:2:1" + "src": "59626:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3203, + "id": 2695, "name": "Identifier", - "src": "57996:7:1" + "src": "59630:7:0" } ], - "id": 3204, + "id": 2696, "name": "FunctionCall", - "src": "57959:45:1" + "src": "59593:45:0" } ], - "id": 3205, + "id": 2697, "name": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "children": [ @@ -73696,7 +73696,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -73714,59 +73714,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3206, + "id": 2698, "name": "Identifier", - "src": "58015:13:1" + "src": "59651:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3207, + "id": 2699, "name": "Identifier", - "src": "58029:2:1" + "src": "59665:2:0" } ], - "id": 3208, + "id": 2700, "name": "IndexAccess", - "src": "58015:17:1" + "src": "59651:17:0" } ], - "id": 3209, + "id": 2701, "name": "MemberAccess", - "src": "58015:21:1" + "src": "59651:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3210, + "id": 2702, "name": "Identifier", - "src": "58037:7:1" + "src": "59673:7:0" } ], - "id": 3211, + "id": 2703, "name": "FunctionCall", - "src": "58015:30:1" + "src": "59651:30:0" } ], - "id": 3212, + "id": 2704, "name": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "children": [ @@ -73802,7 +73802,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -73811,54 +73811,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3213, + "id": 2705, "name": "Identifier", - "src": "58056:12:1" + "src": "59694:12:0" } ], - "id": 3215, + "id": 2707, "name": "MemberAccess", - "src": "58056:16:1" + "src": "59694:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3216, + "id": 2708, "name": "Identifier", - "src": "58073:7:1" + "src": "59711:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3217, + "id": 2709, "name": "Identifier", - "src": "58082:2:1" + "src": "59720:2:0" } ], - "id": 3218, + "id": 2710, "name": "FunctionCall", - "src": "58056:29:1" + "src": "59694:29:0" } ], - "id": 3219, + "id": 2711, "name": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "children": [ @@ -73896,13 +73896,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3220, + "id": 2712, "name": "Identifier", - "src": "58101:8:1" + "src": "59741:8:0" }, { "attributes": { @@ -73938,14 +73938,14 @@ "attributes": { "name": "address" }, - "id": 3221, + "id": 2713, "name": "ElementaryTypeName", - "src": "58110:7:1" + "src": "59750:7:0" } ], - "id": 3222, + "id": 2714, "name": "ElementaryTypeNameExpression", - "src": "58110:7:1" + "src": "59750:7:0" }, { "attributes": { @@ -73958,60 +73958,60 @@ "type": "int_const 0", "value": "0" }, - "id": 3223, + "id": 2715, "name": "Literal", - "src": "58118:1:1" + "src": "59758:1:0" } ], - "id": 3224, + "id": 2716, "name": "FunctionCall", - "src": "58110:10:1" + "src": "59750:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3225, + "id": 2717, "name": "Identifier", - "src": "58122:2:1" + "src": "59762:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3226, + "id": 2718, "name": "Identifier", - "src": "58126:7:1" + "src": "59766:7:0" } ], - "id": 3227, + "id": 2719, "name": "FunctionCall", - "src": "58101:33:1" + "src": "59741:33:0" } ], - "id": 3228, + "id": 2720, "name": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ], - "id": 3229, + "id": 2721, "name": "Block", - "src": "57809:332:1" + "src": "59439:343:0" } ], - "id": 3230, + "id": 2722, "name": "FunctionDefinition", - "src": "57748:393:1" + "src": "59378:404:0" }, { "attributes": { @@ -74022,7 +74022,7 @@ null ], "name": "_burn", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -74032,9 +74032,9 @@ "attributes": { "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3231, + "id": 2723, "name": "StructuredDocumentation", - "src": "58147:206:1" + "src": "59790:215:0" }, { "children": [ @@ -74043,7 +74043,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3299, + "scope": 2791, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -74055,19 +74055,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3232, + "id": 2724, "name": "ElementaryTypeName", - "src": "58373:7:1" + "src": "60026:7:0" } ], - "id": 3233, + "id": 2725, "name": "VariableDeclaration", - "src": "58373:15:1" + "src": "60026:15:0" } ], - "id": 3234, + "id": 2726, "name": "ParameterList", - "src": "58372:17:1" + "src": "60025:17:0" }, { "attributes": { @@ -74076,16 +74076,16 @@ ] }, "children": [], - "id": 3235, + "id": 2727, "name": "ParameterList", - "src": "58407:0:1" + "src": "60060:0:0" }, { "children": [ { "attributes": { "assignments": [ - 3237 + 2729 ] }, "children": [ @@ -74094,7 +74094,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3298, + "scope": 2790, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74107,14 +74107,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3236, + "id": 2728, "name": "ElementaryTypeName", - "src": "58417:7:1" + "src": "60071:7:0" } ], - "id": 3237, + "id": 2729, "name": "VariableDeclaration", - "src": "58417:13:1" + "src": "60071:13:0" }, { "attributes": { @@ -74144,7 +74144,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -74153,41 +74153,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3238, + "id": 2730, "name": "Identifier", - "src": "58433:6:1" + "src": "60087:6:0" } ], - "id": 3239, + "id": 2731, "name": "MemberAccess", - "src": "58433:14:1" + "src": "60087:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3240, + "id": 2732, "name": "Identifier", - "src": "58448:7:1" + "src": "60102:7:0" } ], - "id": 3241, + "id": 2733, "name": "FunctionCall", - "src": "58433:23:1" + "src": "60087:23:0" } ], - "id": 3242, + "id": 2734, "name": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "children": [ @@ -74225,26 +74225,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3243, + "id": 2735, "name": "Identifier", - "src": "58485:20:1" + "src": "60141:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3244, + "id": 2736, "name": "Identifier", - "src": "58506:5:1" + "src": "60162:5:0" }, { "attributes": { @@ -74280,14 +74280,14 @@ "attributes": { "name": "address" }, - "id": 3245, + "id": 2737, "name": "ElementaryTypeName", - "src": "58513:7:1" + "src": "60169:7:0" } ], - "id": 3246, + "id": 2738, "name": "ElementaryTypeNameExpression", - "src": "58513:7:1" + "src": "60169:7:0" }, { "attributes": { @@ -74300,37 +74300,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3247, + "id": 2739, "name": "Literal", - "src": "58521:1:1" + "src": "60177:1:0" } ], - "id": 3248, + "id": 2740, "name": "FunctionCall", - "src": "58513:10:1" + "src": "60169:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3249, + "id": 2741, "name": "Identifier", - "src": "58525:7:1" + "src": "60181:7:0" } ], - "id": 3250, + "id": 2742, "name": "FunctionCall", - "src": "58485:48:1" + "src": "60141:48:0" } ], - "id": 3251, + "id": 2743, "name": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "children": [ @@ -74364,13 +74364,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3252, + "id": 2744, "name": "Identifier", - "src": "58571:8:1" + "src": "60230:8:0" }, { "attributes": { @@ -74406,14 +74406,14 @@ "attributes": { "name": "address" }, - "id": 3253, + "id": 2745, "name": "ElementaryTypeName", - "src": "58580:7:1" + "src": "60239:7:0" } ], - "id": 3254, + "id": 2746, "name": "ElementaryTypeNameExpression", - "src": "58580:7:1" + "src": "60239:7:0" }, { "attributes": { @@ -74426,37 +74426,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3255, + "id": 2747, "name": "Literal", - "src": "58588:1:1" + "src": "60247:1:0" } ], - "id": 3256, + "id": 2748, "name": "FunctionCall", - "src": "58580:10:1" + "src": "60239:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3257, + "id": 2749, "name": "Identifier", - "src": "58592:7:1" + "src": "60251:7:0" } ], - "id": 3258, + "id": 2750, "name": "FunctionCall", - "src": "58571:29:1" + "src": "60230:29:0" } ], - "id": 3259, + "id": 2751, "name": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "attributes": {}, @@ -74519,14 +74519,14 @@ "attributes": { "name": "bytes" }, - "id": 3260, + "id": 2752, "name": "ElementaryTypeName", - "src": "58650:5:1" + "src": "60312:5:0" } ], - "id": 3261, + "id": 2753, "name": "ElementaryTypeNameExpression", - "src": "58650:5:1" + "src": "60312:5:0" }, { "attributes": { @@ -74542,41 +74542,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3262, + "id": 2754, "name": "Identifier", - "src": "58656:10:1" + "src": "60318:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3263, + "id": 2755, "name": "Identifier", - "src": "58667:7:1" + "src": "60329:7:0" } ], - "id": 3264, + "id": 2756, "name": "IndexAccess", - "src": "58656:19:1" + "src": "60318:19:0" } ], - "id": 3265, + "id": 2757, "name": "FunctionCall", - "src": "58650:26:1" + "src": "60312:26:0" } ], - "id": 3266, + "id": 2758, "name": "MemberAccess", - "src": "58650:33:1" + "src": "60312:33:0" }, { "attributes": { @@ -74589,14 +74589,14 @@ "type": "int_const 0", "value": "0" }, - "id": 3267, + "id": 2759, "name": "Literal", - "src": "58687:1:1" + "src": "60349:1:0" } ], - "id": 3268, + "id": 2760, "name": "BinaryOperation", - "src": "58650:38:1" + "src": "60312:38:0" }, { "children": [ @@ -74627,51 +74627,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3269, + "id": 2761, "name": "Identifier", - "src": "58711:10:1" + "src": "60374:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3270, + "id": 2762, "name": "Identifier", - "src": "58722:7:1" + "src": "60385:7:0" } ], - "id": 3271, + "id": 2763, "name": "IndexAccess", - "src": "58711:19:1" + "src": "60374:19:0" } ], - "id": 3272, + "id": 2764, "name": "UnaryOperation", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3273, + "id": 2765, "name": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3274, + "id": 2766, "name": "Block", - "src": "58690:51:1" + "src": "60352:53:0" } ], - "id": 3275, + "id": 2767, "name": "IfStatement", - "src": "58646:95:1" + "src": "60308:97:0" }, { "children": [ @@ -74703,7 +74703,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -74721,59 +74721,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3276, + "id": 2768, "name": "Identifier", - "src": "58751:13:1" + "src": "60417:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3277, + "id": 2769, "name": "Identifier", - "src": "58765:5:1" + "src": "60431:5:0" } ], - "id": 3278, + "id": 2770, "name": "IndexAccess", - "src": "58751:20:1" + "src": "60417:20:0" } ], - "id": 3279, + "id": 2771, "name": "MemberAccess", - "src": "58751:27:1" + "src": "60417:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3280, + "id": 2772, "name": "Identifier", - "src": "58779:7:1" + "src": "60445:7:0" } ], - "id": 3281, + "id": 2773, "name": "FunctionCall", - "src": "58751:36:1" + "src": "60417:36:0" } ], - "id": 3282, + "id": 2774, "name": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "children": [ @@ -74805,7 +74805,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 2306, + "referencedDeclaration": 1798, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" }, "children": [ @@ -74814,41 +74814,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3283, + "id": 2775, "name": "Identifier", - "src": "58798:12:1" + "src": "60466:12:0" } ], - "id": 3285, + "id": 2777, "name": "MemberAccess", - "src": "58798:19:1" + "src": "60466:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3286, + "id": 2778, "name": "Identifier", - "src": "58818:7:1" + "src": "60486:7:0" } ], - "id": 3287, + "id": 2779, "name": "FunctionCall", - "src": "58798:28:1" + "src": "60466:28:0" } ], - "id": 3288, + "id": 2780, "name": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "children": [ @@ -74886,26 +74886,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3289, + "id": 2781, "name": "Identifier", - "src": "58842:8:1" + "src": "60512:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3290, + "id": 2782, "name": "Identifier", - "src": "58851:5:1" + "src": "60521:5:0" }, { "attributes": { @@ -74941,14 +74941,14 @@ "attributes": { "name": "address" }, - "id": 3291, + "id": 2783, "name": "ElementaryTypeName", - "src": "58858:7:1" + "src": "60528:7:0" } ], - "id": 3292, + "id": 2784, "name": "ElementaryTypeNameExpression", - "src": "58858:7:1" + "src": "60528:7:0" }, { "attributes": { @@ -74961,47 +74961,47 @@ "type": "int_const 0", "value": "0" }, - "id": 3293, + "id": 2785, "name": "Literal", - "src": "58866:1:1" + "src": "60536:1:0" } ], - "id": 3294, + "id": 2786, "name": "FunctionCall", - "src": "58858:10:1" + "src": "60528:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3295, + "id": 2787, "name": "Identifier", - "src": "58870:7:1" + "src": "60540:7:0" } ], - "id": 3296, + "id": 2788, "name": "FunctionCall", - "src": "58842:36:1" + "src": "60512:36:0" } ], - "id": 3297, + "id": 2789, "name": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ], - "id": 3298, + "id": 2790, "name": "Block", - "src": "58407:478:1" + "src": "60060:496:0" } ], - "id": 3299, + "id": 2791, "name": "FunctionDefinition", - "src": "58358:527:1" + "src": "60011:545:0" }, { "attributes": { @@ -75012,7 +75012,7 @@ null ], "name": "_transfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -75022,9 +75022,9 @@ "attributes": { "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3300, + "id": 2792, "name": "StructuredDocumentation", - "src": "58891:313:1" + "src": "60564:323:0" }, { "children": [ @@ -75033,7 +75033,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -75046,21 +75046,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3301, + "id": 2793, "name": "ElementaryTypeName", - "src": "59228:7:1" + "src": "60912:7:0" } ], - "id": 3302, + "id": 2794, "name": "VariableDeclaration", - "src": "59228:12:1" + "src": "60912:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -75073,21 +75073,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3303, + "id": 2795, "name": "ElementaryTypeName", - "src": "59242:7:1" + "src": "60926:7:0" } ], - "id": 3304, + "id": 2796, "name": "VariableDeclaration", - "src": "59242:10:1" + "src": "60926:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -75099,19 +75099,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3305, + "id": 2797, "name": "ElementaryTypeName", - "src": "59254:7:1" + "src": "60938:7:0" } ], - "id": 3306, + "id": 2798, "name": "VariableDeclaration", - "src": "59254:15:1" + "src": "60938:15:0" } ], - "id": 3307, + "id": 2799, "name": "ParameterList", - "src": "59227:43:1" + "src": "60911:43:0" }, { "attributes": { @@ -75120,9 +75120,9 @@ ] }, "children": [], - "id": 3308, + "id": 2800, "name": "ParameterList", - "src": "59288:0:1" + "src": "60972:0:0" }, { "children": [ @@ -75163,9 +75163,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3309, + "id": 2801, "name": "Identifier", - "src": "59298:7:1" + "src": "60983:7:0" }, { "attributes": { @@ -75209,7 +75209,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -75218,54 +75218,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3310, + "id": 2802, "name": "Identifier", - "src": "59306:6:1" + "src": "60991:6:0" } ], - "id": 3311, + "id": 2803, "name": "MemberAccess", - "src": "59306:14:1" + "src": "60991:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3312, + "id": 2804, "name": "Identifier", - "src": "59321:7:1" + "src": "61006:7:0" } ], - "id": 3313, + "id": 2805, "name": "FunctionCall", - "src": "59306:23:1" + "src": "60991:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3314, + "id": 2806, "name": "Identifier", - "src": "59333:4:1" + "src": "61018:4:0" } ], - "id": 3315, + "id": 2807, "name": "BinaryOperation", - "src": "59306:31:1" + "src": "60991:31:0" }, { "attributes": { @@ -75278,19 +75278,19 @@ "type": "literal_string \"ERC721: transfer of token that is not own\"", "value": "ERC721: transfer of token that is not own" }, - "id": 3316, + "id": 2808, "name": "Literal", - "src": "59339:43:1" + "src": "61024:43:0" } ], - "id": 3317, + "id": 2809, "name": "FunctionCall", - "src": "59298:85:1" + "src": "60983:85:0" } ], - "id": 3318, + "id": 2810, "name": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "children": [ @@ -75329,9 +75329,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3319, + "id": 2811, "name": "Identifier", - "src": "59411:7:1" + "src": "61097:7:0" }, { "attributes": { @@ -75352,13 +75352,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3320, + "id": 2812, "name": "Identifier", - "src": "59419:2:1" + "src": "61105:2:0" }, { "attributes": { @@ -75394,14 +75394,14 @@ "attributes": { "name": "address" }, - "id": 3321, + "id": 2813, "name": "ElementaryTypeName", - "src": "59425:7:1" + "src": "61111:7:0" } ], - "id": 3322, + "id": 2814, "name": "ElementaryTypeNameExpression", - "src": "59425:7:1" + "src": "61111:7:0" }, { "attributes": { @@ -75414,19 +75414,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3323, + "id": 2815, "name": "Literal", - "src": "59433:1:1" + "src": "61119:1:0" } ], - "id": 3324, + "id": 2816, "name": "FunctionCall", - "src": "59425:10:1" + "src": "61111:10:0" } ], - "id": 3325, + "id": 2817, "name": "BinaryOperation", - "src": "59419:16:1" + "src": "61105:16:0" }, { "attributes": { @@ -75439,19 +75439,19 @@ "type": "literal_string \"ERC721: transfer to the zero address\"", "value": "ERC721: transfer to the zero address" }, - "id": 3326, + "id": 2818, "name": "Literal", - "src": "59437:38:1" + "src": "61123:38:0" } ], - "id": 3327, + "id": 2819, "name": "FunctionCall", - "src": "59411:65:1" + "src": "61097:65:0" } ], - "id": 3328, + "id": 2820, "name": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "children": [ @@ -75489,62 +75489,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3329, + "id": 2821, "name": "Identifier", - "src": "59487:20:1" + "src": "61175:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3330, + "id": 2822, "name": "Identifier", - "src": "59508:4:1" + "src": "61196:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3331, + "id": 2823, "name": "Identifier", - "src": "59514:2:1" + "src": "61202:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3332, + "id": 2824, "name": "Identifier", - "src": "59518:7:1" + "src": "61206:7:0" } ], - "id": 3333, + "id": 2825, "name": "FunctionCall", - "src": "59487:39:1" + "src": "61175:39:0" } ], - "id": 3334, + "id": 2826, "name": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "children": [ @@ -75578,13 +75578,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3335, + "id": 2827, "name": "Identifier", - "src": "59588:8:1" + "src": "61279:8:0" }, { "attributes": { @@ -75620,14 +75620,14 @@ "attributes": { "name": "address" }, - "id": 3336, + "id": 2828, "name": "ElementaryTypeName", - "src": "59597:7:1" + "src": "61288:7:0" } ], - "id": 3337, + "id": 2829, "name": "ElementaryTypeNameExpression", - "src": "59597:7:1" + "src": "61288:7:0" }, { "attributes": { @@ -75640,37 +75640,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3338, + "id": 2830, "name": "Literal", - "src": "59605:1:1" + "src": "61296:1:0" } ], - "id": 3339, + "id": 2831, "name": "FunctionCall", - "src": "59597:10:1" + "src": "61288:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3340, + "id": 2832, "name": "Identifier", - "src": "59609:7:1" + "src": "61300:7:0" } ], - "id": 3341, + "id": 2833, "name": "FunctionCall", - "src": "59588:29:1" + "src": "61279:29:0" } ], - "id": 3342, + "id": 2834, "name": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "children": [ @@ -75702,7 +75702,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75720,59 +75720,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3343, + "id": 2835, "name": "Identifier", - "src": "59628:13:1" + "src": "61321:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3344, + "id": 2836, "name": "Identifier", - "src": "59642:4:1" + "src": "61335:4:0" } ], - "id": 3345, + "id": 2837, "name": "IndexAccess", - "src": "59628:19:1" + "src": "61321:19:0" } ], - "id": 3346, + "id": 2838, "name": "MemberAccess", - "src": "59628:26:1" + "src": "61321:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3347, + "id": 2839, "name": "Identifier", - "src": "59655:7:1" + "src": "61348:7:0" } ], - "id": 3348, + "id": 2840, "name": "FunctionCall", - "src": "59628:35:1" + "src": "61321:35:0" } ], - "id": 3349, + "id": 2841, "name": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "children": [ @@ -75804,7 +75804,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75822,59 +75822,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3350, + "id": 2842, "name": "Identifier", - "src": "59673:13:1" + "src": "61367:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3351, + "id": 2843, "name": "Identifier", - "src": "59687:2:1" + "src": "61381:2:0" } ], - "id": 3352, + "id": 2844, "name": "IndexAccess", - "src": "59673:17:1" + "src": "61367:17:0" } ], - "id": 3353, + "id": 2845, "name": "MemberAccess", - "src": "59673:21:1" + "src": "61367:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3354, + "id": 2846, "name": "Identifier", - "src": "59695:7:1" + "src": "61389:7:0" } ], - "id": 3355, + "id": 2847, "name": "FunctionCall", - "src": "59673:30:1" + "src": "61367:30:0" } ], - "id": 3356, + "id": 2848, "name": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "children": [ @@ -75910,7 +75910,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -75919,54 +75919,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3357, + "id": 2849, "name": "Identifier", - "src": "59714:12:1" + "src": "61410:12:0" } ], - "id": 3359, + "id": 2851, "name": "MemberAccess", - "src": "59714:16:1" + "src": "61410:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3360, + "id": 2852, "name": "Identifier", - "src": "59731:7:1" + "src": "61427:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3361, + "id": 2853, "name": "Identifier", - "src": "59740:2:1" + "src": "61436:2:0" } ], - "id": 3362, + "id": 2854, "name": "FunctionCall", - "src": "59714:29:1" + "src": "61410:29:0" } ], - "id": 3363, + "id": 2855, "name": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "children": [ @@ -76004,72 +76004,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3364, + "id": 2856, "name": "Identifier", - "src": "59759:8:1" + "src": "61457:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3365, + "id": 2857, "name": "Identifier", - "src": "59768:4:1" + "src": "61466:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3366, + "id": 2858, "name": "Identifier", - "src": "59774:2:1" + "src": "61472:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3367, + "id": 2859, "name": "Identifier", - "src": "59778:7:1" + "src": "61476:7:0" } ], - "id": 3368, + "id": 2860, "name": "FunctionCall", - "src": "59759:27:1" + "src": "61457:27:0" } ], - "id": 3369, + "id": 2861, "name": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ], - "id": 3370, + "id": 2862, "name": "Block", - "src": "59288:505:1" + "src": "60972:520:0" } ], - "id": 3371, + "id": 2863, "name": "FunctionDefinition", - "src": "59209:584:1" + "src": "60893:599:0" }, { "attributes": { @@ -76080,7 +76080,7 @@ null ], "name": "_setTokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -76090,9 +76090,9 @@ "attributes": { "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3372, + "id": 2864, "name": "StructuredDocumentation", - "src": "59799:136:1" + "src": "61500:142:0" }, { "children": [ @@ -76101,7 +76101,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -76113,21 +76113,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3373, + "id": 2865, "name": "ElementaryTypeName", - "src": "59962:7:1" + "src": "61670:7:0" } ], - "id": 3374, + "id": 2866, "name": "VariableDeclaration", - "src": "59962:15:1" + "src": "61670:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -76139,19 +76139,19 @@ "name": "string", "type": "string" }, - "id": 3375, + "id": 2867, "name": "ElementaryTypeName", - "src": "59979:6:1" + "src": "61687:6:0" } ], - "id": 3376, + "id": 2868, "name": "VariableDeclaration", - "src": "59979:23:1" + "src": "61687:23:0" } ], - "id": 3377, + "id": 2869, "name": "ParameterList", - "src": "59961:42:1" + "src": "61669:42:0" }, { "attributes": { @@ -76160,9 +76160,9 @@ ] }, "children": [], - "id": 3378, + "id": 2870, "name": "ParameterList", - "src": "60021:0:1" + "src": "61729:0:0" }, { "children": [ @@ -76203,9 +76203,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3379, + "id": 2871, "name": "Identifier", - "src": "60031:7:1" + "src": "61740:7:0" }, { "attributes": { @@ -76233,31 +76233,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3380, + "id": 2872, "name": "Identifier", - "src": "60039:7:1" + "src": "61748:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3381, + "id": 2873, "name": "Identifier", - "src": "60047:7:1" + "src": "61756:7:0" } ], - "id": 3382, + "id": 2874, "name": "FunctionCall", - "src": "60039:16:1" + "src": "61748:16:0" }, { "attributes": { @@ -76270,19 +76270,19 @@ "type": "literal_string \"ERC721Metadata: URI set of nonexistent token\"", "value": "ERC721Metadata: URI set of nonexistent token" }, - "id": 3383, + "id": 2875, "name": "Literal", - "src": "60057:46:1" + "src": "61766:46:0" } ], - "id": 3384, + "id": 2876, "name": "FunctionCall", - "src": "60031:73:1" + "src": "61740:73:0" } ], - "id": 3385, + "id": 2877, "name": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "children": [ @@ -76310,64 +76310,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3386, + "id": 2878, "name": "Identifier", - "src": "60114:10:1" + "src": "61824:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3387, + "id": 2879, "name": "Identifier", - "src": "60125:7:1" + "src": "61835:7:0" } ], - "id": 3388, + "id": 2880, "name": "IndexAccess", - "src": "60114:19:1" + "src": "61824:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3376, + "referencedDeclaration": 2868, "type": "string memory", "value": "_tokenURI" }, - "id": 3389, + "id": 2881, "name": "Identifier", - "src": "60136:9:1" + "src": "61846:9:0" } ], - "id": 3390, + "id": 2882, "name": "Assignment", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3391, + "id": 2883, "name": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3392, + "id": 2884, "name": "Block", - "src": "60021:131:1" + "src": "61729:134:0" } ], - "id": 3393, + "id": 2885, "name": "FunctionDefinition", - "src": "59940:212:1" + "src": "61648:215:0" }, { "attributes": { @@ -76378,7 +76378,7 @@ null ], "name": "_setBaseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -76388,9 +76388,9 @@ "attributes": { "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3394, + "id": 2886, "name": "StructuredDocumentation", - "src": "60158:212:1" + "src": "61871:216:0" }, { "children": [ @@ -76399,7 +76399,7 @@ "constant": false, "mutability": "mutable", "name": "baseURI_", - "scope": 3404, + "scope": 2896, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -76411,19 +76411,19 @@ "name": "string", "type": "string" }, - "id": 3395, + "id": 2887, "name": "ElementaryTypeName", - "src": "60396:6:1" + "src": "62114:6:0" } ], - "id": 3396, + "id": 2888, "name": "VariableDeclaration", - "src": "60396:22:1" + "src": "62114:22:0" } ], - "id": 3397, + "id": 2889, "name": "ParameterList", - "src": "60395:24:1" + "src": "62113:24:0" }, { "attributes": { @@ -76432,9 +76432,9 @@ ] }, "children": [], - "id": 3398, + "id": 2890, "name": "ParameterList", - "src": "60437:0:1" + "src": "62155:0:0" }, { "children": [ @@ -76455,46 +76455,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 3399, + "id": 2891, "name": "Identifier", - "src": "60447:8:1" + "src": "62166:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3396, + "referencedDeclaration": 2888, "type": "string memory", "value": "baseURI_" }, - "id": 3400, + "id": 2892, "name": "Identifier", - "src": "60458:8:1" + "src": "62177:8:0" } ], - "id": 3401, + "id": 2893, "name": "Assignment", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3402, + "id": 2894, "name": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3403, + "id": 2895, "name": "Block", - "src": "60437:36:1" + "src": "62155:38:0" } ], - "id": 3404, + "id": 2896, "name": "FunctionDefinition", - "src": "60375:98:1" + "src": "62093:100:0" }, { "attributes": { @@ -76505,7 +76505,7 @@ null ], "name": "_checkOnERC721Received", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -76515,9 +76515,9 @@ "attributes": { "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3405, + "id": 2897, "name": "StructuredDocumentation", - "src": "60479:542:1" + "src": "62201:551:0" }, { "children": [ @@ -76526,7 +76526,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76539,21 +76539,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3406, + "id": 2898, "name": "ElementaryTypeName", - "src": "61058:7:1" + "src": "62790:7:0" } ], - "id": 3407, + "id": 2899, "name": "VariableDeclaration", - "src": "61058:12:1" + "src": "62790:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76566,21 +76566,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3408, + "id": 2900, "name": "ElementaryTypeName", - "src": "61072:7:1" + "src": "62804:7:0" } ], - "id": 3409, + "id": 2901, "name": "VariableDeclaration", - "src": "61072:10:1" + "src": "62804:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -76592,21 +76592,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3410, + "id": 2902, "name": "ElementaryTypeName", - "src": "61084:7:1" + "src": "62816:7:0" } ], - "id": 3411, + "id": 2903, "name": "VariableDeclaration", - "src": "61084:15:1" + "src": "62816:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76618,19 +76618,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3412, + "id": 2904, "name": "ElementaryTypeName", - "src": "61101:5:1" + "src": "62833:5:0" } ], - "id": 3413, + "id": 2905, "name": "VariableDeclaration", - "src": "61101:18:1" + "src": "62833:18:0" } ], - "id": 3414, + "id": 2906, "name": "ParameterList", - "src": "61057:63:1" + "src": "62789:63:0" }, { "children": [ @@ -76639,7 +76639,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -76651,19 +76651,19 @@ "name": "bool", "type": "bool" }, - "id": 3415, + "id": 2907, "name": "ElementaryTypeName", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3416, + "id": 2908, "name": "VariableDeclaration", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3417, + "id": 2909, "name": "ParameterList", - "src": "61145:6:1" + "src": "62878:6:0" }, { "children": [ @@ -76709,7 +76709,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isContract", - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)" }, "children": [ @@ -76718,34 +76718,34 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3418, + "id": 2910, "name": "Identifier", - "src": "61171:2:1" + "src": "62906:2:0" } ], - "id": 3419, + "id": 2911, "name": "MemberAccess", - "src": "61171:13:1" + "src": "62906:13:0" } ], - "id": 3420, + "id": 2912, "name": "FunctionCall", - "src": "61171:15:1" + "src": "62906:15:0" } ], - "id": 3421, + "id": 2913, "name": "UnaryOperation", - "src": "61170:16:1" + "src": "62905:16:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -76759,29 +76759,29 @@ "type": "bool", "value": "true" }, - "id": 3422, + "id": 2914, "name": "Literal", - "src": "61209:4:1" + "src": "62945:4:0" } ], - "id": 3423, + "id": 2915, "name": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ], - "id": 3424, + "id": 2916, "name": "Block", - "src": "61188:36:1" + "src": "62923:38:0" } ], - "id": 3425, + "id": 2917, "name": "IfStatement", - "src": "61166:58:1" + "src": "62901:60:0" }, { "attributes": { "assignments": [ - 3427 + 2919 ] }, "children": [ @@ -76790,7 +76790,7 @@ "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76802,14 +76802,14 @@ "name": "bytes", "type": "bytes" }, - "id": 3426, + "id": 2918, "name": "ElementaryTypeName", - "src": "61233:5:1" + "src": "62971:5:0" } ], - "id": 3427, + "id": 2919, "name": "VariableDeclaration", - "src": "61233:23:1" + "src": "62971:23:0" }, { "attributes": { @@ -76843,7 +76843,7 @@ "isPure": false, "lValueRequested": false, "member_name": "functionCall", - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)" }, "children": [ @@ -76852,18 +76852,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3428, + "id": 2920, "name": "Identifier", - "src": "61259:2:1" + "src": "62997:2:0" } ], - "id": 3429, + "id": 2921, "name": "MemberAccess", - "src": "61259:15:1" + "src": "62997:15:0" }, { "attributes": { @@ -76921,14 +76921,14 @@ "type": "abi", "value": "abi" }, - "id": 3430, + "id": 2922, "name": "Identifier", - "src": "61275:3:1" + "src": "63013:3:0" } ], - "id": 3431, + "id": 2923, "name": "MemberAccess", - "src": "61275:22:1" + "src": "63013:22:0" }, { "attributes": { @@ -76947,7 +76947,7 @@ "isPure": false, "lValueRequested": false, "member_name": "onERC721Received", - "referencedDeclaration": 725, + "referencedDeclaration": 217, "type": "function (address,address,uint256,bytes memory) external returns (bytes4)" }, "children": [ @@ -76977,41 +76977,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 726, + "referencedDeclaration": 218, "type": "type(contract IERC721Receiver)", "value": "IERC721Receiver" }, - "id": 3432, + "id": 2924, "name": "Identifier", - "src": "61311:15:1" + "src": "63050:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3433, + "id": 2925, "name": "Identifier", - "src": "61327:2:1" + "src": "63066:2:0" } ], - "id": 3434, + "id": 2926, "name": "FunctionCall", - "src": "61311:19:1" + "src": "63050:19:0" } ], - "id": 3435, + "id": 2927, "name": "MemberAccess", - "src": "61311:36:1" + "src": "63050:36:0" } ], - "id": 3436, + "id": 2928, "name": "MemberAccess", - "src": "61311:45:1" + "src": "63050:45:0" }, { "attributes": { @@ -77039,62 +77039,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3437, + "id": 2929, "name": "Identifier", - "src": "61370:10:1" + "src": "63110:10:0" } ], - "id": 3438, + "id": 2930, "name": "FunctionCall", - "src": "61370:12:1" + "src": "63110:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3407, + "referencedDeclaration": 2899, "type": "address", "value": "from" }, - "id": 3439, + "id": 2931, "name": "Identifier", - "src": "61396:4:1" + "src": "63137:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3411, + "referencedDeclaration": 2903, "type": "uint256", "value": "tokenId" }, - "id": 3440, + "id": 2932, "name": "Identifier", - "src": "61414:7:1" + "src": "63156:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3413, + "referencedDeclaration": 2905, "type": "bytes memory", "value": "_data" }, - "id": 3441, + "id": 2933, "name": "Identifier", - "src": "61435:5:1" + "src": "63178:5:0" } ], - "id": 3442, + "id": 2934, "name": "FunctionCall", - "src": "61275:175:1" + "src": "63013:181:0" }, { "attributes": { @@ -77107,24 +77107,24 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3443, + "id": 2935, "name": "Literal", - "src": "61452:52:1" + "src": "63196:52:0" } ], - "id": 3444, + "id": 2936, "name": "FunctionCall", - "src": "61259:246:1" + "src": "62997:252:0" } ], - "id": 3445, + "id": 2937, "name": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "attributes": { "assignments": [ - 3447 + 2939 ] }, "children": [ @@ -77133,7 +77133,7 @@ "constant": false, "mutability": "mutable", "name": "retval", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -77145,14 +77145,14 @@ "name": "bytes4", "type": "bytes4" }, - "id": 3446, + "id": 2938, "name": "ElementaryTypeName", - "src": "61515:6:1" + "src": "63260:6:0" } ], - "id": 3447, + "id": 2939, "name": "VariableDeclaration", - "src": "61515:13:1" + "src": "63260:13:0" }, { "attributes": { @@ -77198,27 +77198,27 @@ "type": "abi", "value": "abi" }, - "id": 3448, + "id": 2940, "name": "Identifier", - "src": "61531:3:1" + "src": "63276:3:0" } ], - "id": 3449, + "id": 2941, "name": "MemberAccess", - "src": "61531:10:1" + "src": "63276:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3427, + "referencedDeclaration": 2919, "type": "bytes memory", "value": "returndata" }, - "id": 3450, + "id": 2942, "name": "Identifier", - "src": "61542:10:1" + "src": "63287:10:0" }, { "attributes": { @@ -77243,33 +77243,33 @@ "attributes": { "name": "bytes4" }, - "id": 3451, + "id": 2943, "name": "ElementaryTypeName", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3452, + "id": 2944, "name": "ElementaryTypeNameExpression", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3453, + "id": 2945, "name": "TupleExpression", - "src": "61554:8:1" + "src": "63299:8:0" } ], - "id": 3454, + "id": 2946, "name": "FunctionCall", - "src": "61531:32:1" + "src": "63276:32:0" } ], - "id": 3455, + "id": 2947, "name": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -77301,51 +77301,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3447, + "referencedDeclaration": 2939, "type": "bytes4", "value": "retval" }, - "id": 3456, + "id": 2948, "name": "Identifier", - "src": "61581:6:1" + "src": "63327:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2596, + "referencedDeclaration": 2088, "type": "bytes4", "value": "_ERC721_RECEIVED" }, - "id": 3457, + "id": 2949, "name": "Identifier", - "src": "61591:16:1" + "src": "63337:16:0" } ], - "id": 3458, + "id": 2950, "name": "BinaryOperation", - "src": "61581:26:1" + "src": "63327:26:0" } ], - "id": 3459, + "id": 2951, "name": "TupleExpression", - "src": "61580:28:1" + "src": "63326:28:0" } ], - "id": 3460, + "id": 2952, "name": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ], - "id": 3461, + "id": 2953, "name": "Block", - "src": "61156:459:1" + "src": "62890:472:0" } ], - "id": 3462, + "id": 2954, "name": "FunctionDefinition", - "src": "61026:589:1" + "src": "62758:604:0" }, { "attributes": { @@ -77356,7 +77356,7 @@ null ], "name": "_approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77366,9 +77366,9 @@ "attributes": { "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3463, + "id": 2955, "name": "StructuredDocumentation", - "src": "61621:101:1" + "src": "63370:105:0" }, { "children": [ @@ -77377,7 +77377,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77390,21 +77390,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3464, + "id": 2956, "name": "ElementaryTypeName", - "src": "61745:7:1" + "src": "63499:7:0" } ], - "id": 3465, + "id": 2957, "name": "VariableDeclaration", - "src": "61745:10:1" + "src": "63499:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77416,19 +77416,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3466, + "id": 2958, "name": "ElementaryTypeName", - "src": "61757:7:1" + "src": "63511:7:0" } ], - "id": 3467, + "id": 2959, "name": "VariableDeclaration", - "src": "61757:15:1" + "src": "63511:15:0" } ], - "id": 3468, + "id": 2960, "name": "ParameterList", - "src": "61744:29:1" + "src": "63498:29:0" }, { "attributes": { @@ -77437,9 +77437,9 @@ ] }, "children": [], - "id": 3469, + "id": 2961, "name": "ParameterList", - "src": "61791:0:1" + "src": "63545:0:0" }, { "children": [ @@ -77469,54 +77469,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 3470, + "id": 2962, "name": "Identifier", - "src": "61801:15:1" + "src": "63556:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3471, + "id": 2963, "name": "Identifier", - "src": "61817:7:1" + "src": "63572:7:0" } ], - "id": 3472, + "id": 2964, "name": "IndexAccess", - "src": "61801:24:1" + "src": "63556:24:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3473, + "id": 2965, "name": "Identifier", - "src": "61828:2:1" + "src": "63583:2:0" } ], - "id": 3474, + "id": 2966, "name": "Assignment", - "src": "61801:29:1" + "src": "63556:29:0" } ], - "id": 3475, + "id": 2967, "name": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "children": [ @@ -77554,13 +77554,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 563, + "referencedDeclaration": 55, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 3476, + "id": 2968, "name": "Identifier", - "src": "61845:8:1" + "src": "63601:8:0" }, { "attributes": { @@ -77590,7 +77590,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -77599,82 +77599,82 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3477, + "id": 2969, "name": "Identifier", - "src": "61854:6:1" + "src": "63610:6:0" } ], - "id": 3478, + "id": 2970, "name": "MemberAccess", - "src": "61854:14:1" + "src": "63610:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3479, + "id": 2971, "name": "Identifier", - "src": "61869:7:1" + "src": "63625:7:0" } ], - "id": 3480, + "id": 2972, "name": "FunctionCall", - "src": "61854:23:1" + "src": "63610:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3481, + "id": 2973, "name": "Identifier", - "src": "61879:2:1" + "src": "63635:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3482, + "id": 2974, "name": "Identifier", - "src": "61883:7:1" + "src": "63639:7:0" } ], - "id": 3483, + "id": 2975, "name": "FunctionCall", - "src": "61845:46:1" + "src": "63601:46:0" } ], - "id": 3484, + "id": 2976, "name": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ], - "id": 3485, + "id": 2977, "name": "Block", - "src": "61791:125:1" + "src": "63545:128:0" } ], - "id": 3486, + "id": 2978, "name": "FunctionDefinition", - "src": "61727:189:1" + "src": "63481:192:0" }, { "attributes": { @@ -77685,7 +77685,7 @@ null ], "name": "_beforeTokenTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77695,9 +77695,9 @@ "attributes": { "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3487, + "id": 2979, "name": "StructuredDocumentation", - "src": "61922:585:1" + "src": "63681:599:0" }, { "children": [ @@ -77706,7 +77706,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77719,21 +77719,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3488, + "id": 2980, "name": "ElementaryTypeName", - "src": "62542:7:1" + "src": "64316:7:0" } ], - "id": 3489, + "id": 2981, "name": "VariableDeclaration", - "src": "62542:12:1" + "src": "64316:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77746,21 +77746,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3490, + "id": 2982, "name": "ElementaryTypeName", - "src": "62556:7:1" + "src": "64330:7:0" } ], - "id": 3491, + "id": 2983, "name": "VariableDeclaration", - "src": "62556:10:1" + "src": "64330:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77772,19 +77772,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3492, + "id": 2984, "name": "ElementaryTypeName", - "src": "62568:7:1" + "src": "64342:7:0" } ], - "id": 3493, + "id": 2985, "name": "VariableDeclaration", - "src": "62568:15:1" + "src": "64342:15:0" } ], - "id": 3494, + "id": 2986, "name": "ParameterList", - "src": "62541:43:1" + "src": "64315:43:0" }, { "attributes": { @@ -77793,9 +77793,9 @@ ] }, "children": [], - "id": 3495, + "id": 2987, "name": "ParameterList", - "src": "62602:0:1" + "src": "64376:0:0" }, { "attributes": { @@ -77804,32 +77804,32 @@ ] }, "children": [], - "id": 3496, + "id": 2988, "name": "Block", - "src": "62602:3:1" + "src": "64376:3:0" } ], - "id": 3497, + "id": 2989, "name": "FunctionDefinition", - "src": "62512:93:1" + "src": "64286:93:0" } ], - "id": 3498, + "id": 2990, "name": "ContractDefinition", - "src": "46080:16527:1" + "src": "47398:16984:0" } ], - "id": 3499, + "id": 2991, "name": "SourceUnit", - "src": "84:62524:1" + "src": "87:64297:0" }, "compiler": { "name": "solc", "version": "0.7.6+commit.7338295f.Emscripten.clang" }, "networks": {}, - "schemaVersion": "3.3.4", - "updatedAt": "2021-03-13T11:18:07.872Z", + "schemaVersion": "3.4.3", + "updatedAt": "2021-10-13T09:55:47.449Z", "devdoc": { "details": "Required interface of an ERC721 compliant contract.", "events": { diff --git a/src/abis/IERC721Enumerable.json b/src/abis/IERC721Enumerable.json index d0ee0dd..f74e3fd 100644 --- a/src/abis/IERC721Enumerable.json +++ b/src/abis/IERC721Enumerable.json @@ -343,7 +343,7 @@ "type": "function" } ], - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"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\":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\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"},{\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"}],\"devdoc\":{\"details\":\"See https://eips.ethereum.org/EIPS/eip-721\",\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"},\"tokenByIndex(uint256)\":{\"details\":\"Returns a token ID at a given `index` of all the tokens stored by the contract. Use along with {totalSupply} to enumerate all tokens.\"},\"tokenOfOwnerByIndex(address,uint256)\":{\"details\":\"Returns a token ID owned by `owner` at a given `index` of its token list. Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\"},\"totalSupply()\":{\"details\":\"Returns the total amount of tokens stored by the contract.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"}},\"title\":\"ERC-721 Non-Fungible Token Standard, optional enumeration extension\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":\"IERC721Enumerable\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":{\"keccak256\":\"0xac9220652f9879c5fb3116025d59e8fbf6c2c3d149aed9f617b88edd31402044\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://48de100723de94a6590c6db5bae5098a93445194389c3f3eeb104c7239ef3044\",\"dweb:/ipfs/QmVHLEtfLqBqX7XQRHfLuuwtufRBFJFHfgY4zbFRpaZwXC\"]}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"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\":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\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"},{\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"}],\"devdoc\":{\"details\":\"See https://eips.ethereum.org/EIPS/eip-721\",\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"},\"tokenByIndex(uint256)\":{\"details\":\"Returns a token ID at a given `index` of all the tokens stored by the contract. Use along with {totalSupply} to enumerate all tokens.\"},\"tokenOfOwnerByIndex(address,uint256)\":{\"details\":\"Returns a token ID owned by `owner` at a given `index` of its token list. Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\"},\"totalSupply()\":{\"details\":\"Returns the total amount of tokens stored by the contract.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"}},\"title\":\"ERC-721 Non-Fungible Token Standard, optional enumeration extension\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/src/contracts/ERC721.sol\":\"IERC721Enumerable\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/src/contracts/ERC721.sol\":{\"keccak256\":\"0xbbf5d35e3785428d14b29cf40a6a1f82d9275af46f6f80ec5f330615911aa767\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e5479e3deda288fc9c642c0449113673031cb9834a3507621d5bd7e292969e16\",\"dweb:/ipfs/QmcKjBg55emL46LCBPRw1Y79fz3aGiMiQXFeWcDpJisEgJ\"]}},\"version\":1}", "bytecode": "0x", "deployedBytecode": "0x", "immutableReferences": {}, @@ -351,57 +351,57 @@ "deployedGeneratedSources": [], "sourceMap": "", "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: MIT\n\n// File: @openzeppelin/contracts/utils/Context.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/*\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with GSN meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n function _msgSender() internal view virtual returns (address payable) {\n return msg.sender;\n }\n\n function _msgData() internal view virtual returns (bytes memory) {\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\n return msg.data;\n }\n}\n\n// File: @openzeppelin/contracts/introspection/IERC165.sol\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n /**\n * @dev Returns true if this contract implements the interface defined by\n * `interfaceId`. See the corresponding\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n * to learn more about how these ids are created.\n *\n * This function call must use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n /**\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n */\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n */\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n */\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n /**\n * @dev Returns the number of tokens in ``owner``'s account.\n */\n function balanceOf(address owner) external view returns (uint256 balance);\n\n /**\n * @dev Returns the owner of the `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function ownerOf(uint256 tokenId) external view returns (address owner);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Transfers `tokenId` token from `from` to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n * The approval is cleared when the token is transferred.\n *\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n *\n * Requirements:\n *\n * - The caller must own the token or be an approved operator.\n * - `tokenId` must exist.\n *\n * Emits an {Approval} event.\n */\n function approve(address to, uint256 tokenId) external;\n\n /**\n * @dev Returns the account approved for `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function getApproved(uint256 tokenId) external view returns (address operator);\n\n /**\n * @dev Approve or remove `operator` as an operator for the caller.\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n *\n * Requirements:\n *\n * - The `operator` cannot be the caller.\n *\n * Emits an {ApprovalForAll} event.\n */\n function setApprovalForAll(address operator, bool _approved) external;\n\n /**\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n *\n * See {setApprovalForAll}\n */\n function isApprovedForAll(address owner, address operator) external view returns (bool);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n\n /**\n * @dev Returns the token collection name.\n */\n function name() external view returns (string memory);\n\n /**\n * @dev Returns the token collection symbol.\n */\n function symbol() external view returns (string memory);\n\n /**\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n */\n function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\n\n\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Enumerable is IERC721 {\n\n /**\n * @dev Returns the total amount of tokens stored by the contract.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\n\n /**\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n * Use along with {totalSupply} to enumerate all tokens.\n */\n function tokenByIndex(uint256 index) external view returns (uint256);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\n\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC721 asset contracts.\n */\ninterface IERC721Receiver {\n /**\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n * by `operator` from `from`, this function is called.\n *\n * It must return its Solidity selector to confirm the token transfer.\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n *\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\n */\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\n}\n\n// File: @openzeppelin/contracts/introspection/ERC165.sol\npragma solidity >=0.6.0 <0.8.0;\n\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts may inherit from this and call {_registerInterface} to declare\n * their support of an interface.\n */\nabstract contract ERC165 is IERC165 {\n /*\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\n */\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\n\n /**\n * @dev Mapping of interface ids to whether or not it's supported.\n */\n mapping(bytes4 => bool) private _supportedInterfaces;\n\n constructor () {\n // Derived contracts need only register support for their own interfaces,\n // we register support for ERC165 itself here\n _registerInterface(_INTERFACE_ID_ERC165);\n }\n\n /**\n * @dev See {IERC165-supportsInterface}.\n *\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n return _supportedInterfaces[interfaceId];\n }\n\n /**\n * @dev Registers the contract as an implementer of the interface defined by\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\n * registering its interface id is not required.\n *\n * See {IERC165-supportsInterface}.\n *\n * Requirements:\n *\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\n */\n function _registerInterface(bytes4 interfaceId) internal virtual {\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\n _supportedInterfaces[interfaceId] = true;\n }\n}\n\n// File: @openzeppelin/contracts/math/SafeMath.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\n * checks.\n *\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\n * in bugs, because programmers usually assume that an overflow raises an\n * error, which is the standard behavior in high level programming languages.\n * `SafeMath` restores this intuition by reverting the transaction when an\n * operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeMath {\n /**\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n uint256 c = a + b;\n if (c < a) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b > a) return (false, 0);\n return (true, a - b);\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n // benefit is lost if 'b' is also tested.\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n if (a == 0) return (true, 0);\n uint256 c = a * b;\n if (c / a != b) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a / b);\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a % b);\n }\n\n /**\n * @dev Returns the addition of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `+` operator.\n *\n * Requirements:\n *\n * - Addition cannot overflow.\n */\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a + b;\n require(c >= a, \"SafeMath: addition overflow\");\n return c;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting on\n * overflow (when the result is negative).\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b <= a, \"SafeMath: subtraction overflow\");\n return a - b;\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `*` operator.\n *\n * Requirements:\n *\n * - Multiplication cannot overflow.\n */\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) return 0;\n uint256 c = a * b;\n require(c / a == b, \"SafeMath: multiplication overflow\");\n return c;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting on\n * division by zero. The result is rounded towards zero.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: division by zero\");\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting when dividing by zero.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: modulo by zero\");\n return a % b;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n * overflow (when the result is negative).\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {trySub}.\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b <= a, errorMessage);\n return a - b;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\n * division by zero. The result is rounded towards zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryDiv}.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting with custom message when dividing by zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryMod}.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a % b;\n }\n}\n\n// File: @openzeppelin/contracts/utils/Address.sol\npragma solidity >=0.6.2 <0.8.0;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n /**\n * @dev Returns true if `account` is a contract.\n *\n * [IMPORTANT]\n * ====\n * It is unsafe to assume that an address for which this function returns\n * false is an externally-owned account (EOA) and not a contract.\n *\n * Among others, `isContract` will return false for the following\n * types of addresses:\n *\n * - an externally-owned account\n * - a contract in construction\n * - an address where a contract will be created\n * - an address where a contract lived, but was destroyed\n * ====\n */\n function isContract(address account) internal view returns (bool) {\n // This method relies on extcodesize, which returns 0 for contracts in\n // construction, since the code is only stored at the end of the\n // constructor execution.\n\n uint256 size;\n // solhint-disable-next-line no-inline-assembly\n assembly { size := extcodesize(account) }\n return size > 0;\n }\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\n (bool success, ) = recipient.call{ value: amount }(\"\");\n require(success, \"Address: unable to send value, recipient may have reverted\");\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain`call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason, it is bubbled up by this\n * function (like regular Solidity function calls).\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCall(target, data, \"Address: low-level call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n * `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n * with `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\n require(isContract(target), \"Address: call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\n require(isContract(target), \"Address: static call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.staticcall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n require(isContract(target), \"Address: delegate call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.delegatecall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\n if (success) {\n return returndata;\n } else {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n\n // solhint-disable-next-line no-inline-assembly\n assembly {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert(errorMessage);\n }\n }\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n * types.\n *\n * Sets have the following properties:\n *\n * - Elements are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableSet for EnumerableSet.AddressSet;\n *\n * // Declare a set state variable\n * EnumerableSet.AddressSet private mySet;\n * }\n * ```\n *\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n * and `uint256` (`UintSet`) are supported.\n */\nlibrary EnumerableSet {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Set type with\n // bytes32 values.\n // The Set implementation uses private functions, and user-facing\n // implementations (such as AddressSet) are just wrappers around the\n // underlying Set.\n // This means that we can only create new EnumerableSets for types that fit\n // in bytes32.\n\n struct Set {\n // Storage of set values\n bytes32[] _values;\n\n // Position of the value in the `values` array, plus 1 because index 0\n // means a value is not in the set.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function _add(Set storage set, bytes32 value) private returns (bool) {\n if (!_contains(set, value)) {\n set._values.push(value);\n // The value is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n set._indexes[value] = set._values.length;\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function _remove(Set storage set, bytes32 value) private returns (bool) {\n // We read and store the value's index to prevent multiple reads from the same storage slot\n uint256 valueIndex = set._indexes[value];\n\n if (valueIndex != 0) { // Equivalent to contains(set, value)\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\n // the array, and then remove the last element (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = valueIndex - 1;\n uint256 lastIndex = set._values.length - 1;\n\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n bytes32 lastvalue = set._values[lastIndex];\n\n // Move the last value to the index where the value to delete is\n set._values[toDeleteIndex] = lastvalue;\n // Update the index for the moved value\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved value was stored\n set._values.pop();\n\n // Delete the index for the deleted slot\n delete set._indexes[value];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\n return set._indexes[value] != 0;\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function _length(Set storage set) private view returns (uint256) {\n return set._values.length;\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\n return set._values[index];\n }\n\n // Bytes32Set\n\n struct Bytes32Set {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _add(set._inner, value);\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _remove(set._inner, value);\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\n return _contains(set._inner, value);\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(Bytes32Set storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\n return _at(set._inner, index);\n }\n\n // AddressSet\n\n struct AddressSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(AddressSet storage set, address value) internal returns (bool) {\n return _add(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(AddressSet storage set, address value) internal returns (bool) {\n return _remove(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(AddressSet storage set, address value) internal view returns (bool) {\n return _contains(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(AddressSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\n return address(uint160(uint256(_at(set._inner, index))));\n }\n\n\n // UintSet\n\n struct UintSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(UintSet storage set, uint256 value) internal returns (bool) {\n return _add(set._inner, bytes32(value));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\n return _remove(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\n return _contains(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function length(UintSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\n return uint256(_at(set._inner, index));\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing an enumerable variant of Solidity's\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n * type.\n *\n * Maps have the following properties:\n *\n * - Entries are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\n *\n * // Declare a set state variable\n * EnumerableMap.UintToAddressMap private myMap;\n * }\n * ```\n *\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n * supported.\n */\nlibrary EnumerableMap {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Map type with\n // bytes32 keys and values.\n // The Map implementation uses private functions, and user-facing\n // implementations (such as Uint256ToAddressMap) are just wrappers around\n // the underlying Map.\n // This means that we can only create new EnumerableMaps for types that fit\n // in bytes32.\n\n struct MapEntry {\n bytes32 _key;\n bytes32 _value;\n }\n\n struct Map {\n // Storage of map keys and values\n MapEntry[] _entries;\n\n // Position of the entry defined by a key in the `entries` array, plus 1\n // because index 0 means a key is not in the map.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\n map._entries.push(MapEntry({ _key: key, _value: value }));\n // The entry is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n map._indexes[key] = map._entries.length;\n return true;\n } else {\n map._entries[keyIndex - 1]._value = value;\n return false;\n }\n }\n\n /**\n * @dev Removes a key-value pair from a map. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function _remove(Map storage map, bytes32 key) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex != 0) { // Equivalent to contains(map, key)\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = keyIndex - 1;\n uint256 lastIndex = map._entries.length - 1;\n\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n MapEntry storage lastEntry = map._entries[lastIndex];\n\n // Move the last entry to the index where the entry to delete is\n map._entries[toDeleteIndex] = lastEntry;\n // Update the index for the moved entry\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved entry was stored\n map._entries.pop();\n\n // Delete the index for the deleted slot\n delete map._indexes[key];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\n return map._indexes[key] != 0;\n }\n\n /**\n * @dev Returns the number of key-value pairs in the map. O(1).\n */\n function _length(Map storage map) private view returns (uint256) {\n return map._entries.length;\n }\n\n /**\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\n *\n * Note that there are no guarantees on the ordering of entries inside the\n * array, and it may change when more entries are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\n\n MapEntry storage entry = map._entries[index];\n return (entry._key, entry._value);\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n */\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\n uint256 keyIndex = map._indexes[key];\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n /**\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {_tryGet}.\n */\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n // UintToAddressMap\n\n struct UintToAddressMap {\n Map _inner;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\n return _remove(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\n return _contains(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns the number of elements in the map. O(1).\n */\n function length(UintToAddressMap storage map) internal view returns (uint256) {\n return _length(map._inner);\n }\n\n /**\n * @dev Returns the element stored at position `index` in the set. O(1).\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\n (bytes32 key, bytes32 value) = _at(map._inner, index);\n return (uint256(key), address(uint160(uint256(value))));\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n *\n * _Available since v3.4._\n */\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\n return (success, address(uint160(uint256(value))));\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\n }\n\n /**\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryGet}.\n */\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\n }\n}\n\n// File: @openzeppelin/contracts/utils/Strings.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n /**\n * @dev Converts a `uint256` to its ASCII `string` representation.\n */\n function toString(uint256 value) internal pure returns (string memory) {\n // Inspired by OraclizeAPI's implementation - MIT licence\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\n\n if (value == 0) {\n return \"0\";\n }\n uint256 temp = value;\n uint256 digits;\n while (temp != 0) {\n digits++;\n temp /= 10;\n }\n bytes memory buffer = new bytes(digits);\n uint256 index = digits - 1;\n temp = value;\n while (temp != 0) {\n buffer[index--] = bytes1(uint8(48 + temp % 10));\n temp /= 10;\n }\n return string(buffer);\n }\n}\n\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 Non-Fungible Token Standard basic implementation\n * @dev see https://eips.ethereum.org/EIPS/eip-721\n */\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\n using SafeMath for uint256;\n using Address for address;\n using EnumerableSet for EnumerableSet.UintSet;\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n using Strings for uint256;\n\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\n\n // Mapping from holder address to their (enumerable) set of owned tokens\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\n\n // Enumerable mapping from token ids to their owners\n EnumerableMap.UintToAddressMap private _tokenOwners;\n\n // Mapping from token ID to approved address\n mapping (uint256 => address) private _tokenApprovals;\n\n // Mapping from owner to operator approvals\n mapping (address => mapping (address => bool)) private _operatorApprovals;\n\n // Token name\n string private _name;\n\n // Token symbol\n string private _symbol;\n\n // Optional mapping for token URIs\n mapping (uint256 => string) private _tokenURIs;\n\n // Base URI\n string private _baseURI;\n\n /*\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\n *\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\n */\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\n\n /*\n * bytes4(keccak256('name()')) == 0x06fdde03\n * bytes4(keccak256('symbol()')) == 0x95d89b41\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\n *\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\n */\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\n\n /*\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\n *\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\n */\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\n\n /**\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\n */\n constructor (string memory name_, string memory symbol_) {\n _name = name_;\n _symbol = symbol_;\n\n // register the supported interfaces to conform to ERC721 via ERC165\n _registerInterface(_INTERFACE_ID_ERC721);\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\n }\n\n /**\n * @dev See {IERC721-balanceOf}.\n */\n function balanceOf(address owner) public view virtual override returns (uint256) {\n require(owner != address(0), \"ERC721: balance query for the zero address\");\n return _holderTokens[owner].length();\n }\n\n /**\n * @dev See {IERC721-ownerOf}.\n */\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\n }\n\n /**\n * @dev See {IERC721Metadata-name}.\n */\n function name() public view virtual override returns (string memory) {\n return _name;\n }\n\n /**\n * @dev See {IERC721Metadata-symbol}.\n */\n function symbol() public view virtual override returns (string memory) {\n return _symbol;\n }\n\n /**\n * @dev See {IERC721Metadata-tokenURI}.\n */\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\n\n string memory _tokenURI = _tokenURIs[tokenId];\n string memory base = baseURI();\n\n // If there is no base URI, return the token URI.\n if (bytes(base).length == 0) {\n return _tokenURI;\n }\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\n if (bytes(_tokenURI).length > 0) {\n return string(abi.encodePacked(base, _tokenURI));\n }\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\n return string(abi.encodePacked(base, tokenId.toString()));\n }\n\n /**\n * @dev Returns the base URI set via {_setBaseURI}. This will be\n * automatically added as a prefix in {tokenURI} to each token's URI, or\n * to the token ID if no specific URI is set for that token ID.\n */\n function baseURI() public view virtual returns (string memory) {\n return _baseURI;\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\n return _holderTokens[owner].at(index);\n }\n\n /**\n * @dev See {IERC721Enumerable-totalSupply}.\n */\n function totalSupply() public view virtual override returns (uint256) {\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\n return _tokenOwners.length();\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenByIndex}.\n */\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\n (uint256 tokenId, ) = _tokenOwners.at(index);\n return tokenId;\n }\n\n /**\n * @dev See {IERC721-approve}.\n */\n function approve(address to, uint256 tokenId) public virtual override {\n address owner = ERC721.ownerOf(tokenId);\n require(to != owner, \"ERC721: approval to current owner\");\n\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\n \"ERC721: approve caller is not owner nor approved for all\"\n );\n\n _approve(to, tokenId);\n }\n\n /**\n * @dev See {IERC721-getApproved}.\n */\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\n\n return _tokenApprovals[tokenId];\n }\n\n /**\n * @dev See {IERC721-setApprovalForAll}.\n */\n function setApprovalForAll(address operator, bool approved) public virtual override {\n require(operator != _msgSender(), \"ERC721: approve to caller\");\n\n _operatorApprovals[_msgSender()][operator] = approved;\n emit ApprovalForAll(_msgSender(), operator, approved);\n }\n\n /**\n * @dev See {IERC721-isApprovedForAll}.\n */\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\n return _operatorApprovals[owner][operator];\n }\n\n /**\n * @dev See {IERC721-transferFrom}.\n */\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\n //solhint-disable-next-line max-line-length\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n\n _transfer(from, to, tokenId);\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\n safeTransferFrom(from, to, tokenId, \"\");\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n _safeTransfer(from, to, tokenId, _data);\n }\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\n *\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n * implement alternative mechanisms to perform token transfer, such as signature-based.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\n _transfer(from, to, tokenId);\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Returns whether `tokenId` exists.\n *\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n *\n * Tokens start existing when they are minted (`_mint`),\n * and stop existing when they are burned (`_burn`).\n */\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\n return _tokenOwners.contains(tokenId);\n }\n\n /**\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\n address owner = ERC721.ownerOf(tokenId);\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\n }\n\n /**\n * @dev Safely mints `tokenId` and transfers it to `to`.\n *\n * Requirements:\n d*\n * - `tokenId` must not exist.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeMint(address to, uint256 tokenId) internal virtual {\n _safeMint(to, tokenId, \"\");\n }\n\n /**\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n */\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\n _mint(to, tokenId);\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Mints `tokenId` and transfers it to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n *\n * Requirements:\n *\n * - `tokenId` must not exist.\n * - `to` cannot be the zero address.\n *\n * Emits a {Transfer} event.\n */\n function _mint(address to, uint256 tokenId) internal virtual {\n require(to != address(0), \"ERC721: mint to the zero address\");\n require(!_exists(tokenId), \"ERC721: token already minted\");\n\n _beforeTokenTransfer(address(0), to, tokenId);\n\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(address(0), to, tokenId);\n }\n\n /**\n * @dev Destroys `tokenId`.\n * The approval is cleared when the token is burned.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n *\n * Emits a {Transfer} event.\n */\n function _burn(uint256 tokenId) internal virtual {\n address owner = ERC721.ownerOf(tokenId); // internal owner\n\n _beforeTokenTransfer(owner, address(0), tokenId);\n\n // Clear approvals\n _approve(address(0), tokenId);\n\n // Clear metadata (if any)\n if (bytes(_tokenURIs[tokenId]).length != 0) {\n delete _tokenURIs[tokenId];\n }\n\n _holderTokens[owner].remove(tokenId);\n\n _tokenOwners.remove(tokenId);\n\n emit Transfer(owner, address(0), tokenId);\n }\n\n /**\n * @dev Transfers `tokenId` from `from` to `to`.\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n *\n * Requirements:\n *\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n *\n * Emits a {Transfer} event.\n */\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\n require(to != address(0), \"ERC721: transfer to the zero address\");\n\n _beforeTokenTransfer(from, to, tokenId);\n\n // Clear approvals from the previous owner\n _approve(address(0), tokenId);\n\n _holderTokens[from].remove(tokenId);\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(from, to, tokenId);\n }\n\n /**\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\n _tokenURIs[tokenId] = _tokenURI;\n }\n\n /**\n * @dev Internal function to set the base URI for all token IDs. It is\n * automatically added as a prefix to the value returned in {tokenURI},\n * or to the token ID if {tokenURI} is empty.\n */\n function _setBaseURI(string memory baseURI_) internal virtual {\n _baseURI = baseURI_;\n }\n\n /**\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n * The call is not executed if the target address is not a contract.\n *\n * @param from address representing the previous owner of the given token ID\n * @param to target address that will receive the tokens\n * @param tokenId uint256 ID of the token to be transferred\n * @param _data bytes optional data to send along with the call\n * @return bool whether the call correctly returned the expected magic value\n */\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\n private returns (bool)\n {\n if (!to.isContract()) {\n return true;\n }\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\n IERC721Receiver(to).onERC721Received.selector,\n _msgSender(),\n from,\n tokenId,\n _data\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\n bytes4 retval = abi.decode(returndata, (bytes4));\n return (retval == _ERC721_RECEIVED);\n }\n\n /**\n * @dev Approve `to` to operate on `tokenId`\n *\n * Emits an {Approval} event.\n */\n function _approve(address to, uint256 tokenId) internal virtual {\n _tokenApprovals[tokenId] = to;\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\n }\n\n /**\n * @dev Hook that is called before any token transfer. This includes minting\n * and burning.\n *\n * Calling conditions:\n *\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n * transferred to `to`.\n * - When `from` is zero, `tokenId` will be minted for `to`.\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n *\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n */\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\n}\n", - "sourcePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "source": "// SPDX-License-Identifier: MIT\r\n\r\n// File: @openzeppelin/contracts/utils/Context.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/*\r\n * @dev Provides information about the current execution context, including the\r\n * sender of the transaction and its data. While these are generally available\r\n * via msg.sender and msg.data, they should not be accessed in such a direct\r\n * manner, since when dealing with GSN meta-transactions the account sending and\r\n * paying for execution may not be the actual sender (as far as an application\r\n * is concerned).\r\n *\r\n * This contract is only required for intermediate, library-like contracts.\r\n */\r\nabstract contract Context {\r\n function _msgSender() internal view virtual returns (address payable) {\r\n return msg.sender;\r\n }\r\n\r\n function _msgData() internal view virtual returns (bytes memory) {\r\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\r\n return msg.data;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/IERC165.sol\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Interface of the ERC165 standard, as defined in the\r\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\r\n *\r\n * Implementers can declare support of contract interfaces, which can then be\r\n * queried by others ({ERC165Checker}).\r\n *\r\n * For an implementation, see {ERC165}.\r\n */\r\ninterface IERC165 {\r\n /**\r\n * @dev Returns true if this contract implements the interface defined by\r\n * `interfaceId`. See the corresponding\r\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\r\n * to learn more about how these ids are created.\r\n *\r\n * This function call must use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Required interface of an ERC721 compliant contract.\r\n */\r\ninterface IERC721 is IERC165 {\r\n /**\r\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\r\n */\r\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\r\n */\r\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\r\n */\r\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\r\n\r\n /**\r\n * @dev Returns the number of tokens in ``owner``'s account.\r\n */\r\n function balanceOf(address owner) external view returns (uint256 balance);\r\n\r\n /**\r\n * @dev Returns the owner of the `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function ownerOf(uint256 tokenId) external view returns (address owner);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Transfers `tokenId` token from `from` to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\r\n * The approval is cleared when the token is transferred.\r\n *\r\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\r\n *\r\n * Requirements:\r\n *\r\n * - The caller must own the token or be an approved operator.\r\n * - `tokenId` must exist.\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function approve(address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Returns the account approved for `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function getApproved(uint256 tokenId) external view returns (address operator);\r\n\r\n /**\r\n * @dev Approve or remove `operator` as an operator for the caller.\r\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\r\n *\r\n * Requirements:\r\n *\r\n * - The `operator` cannot be the caller.\r\n *\r\n * Emits an {ApprovalForAll} event.\r\n */\r\n function setApprovalForAll(address operator, bool _approved) external;\r\n\r\n /**\r\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\r\n *\r\n * See {setApprovalForAll}\r\n */\r\n function isApprovedForAll(address owner, address operator) external view returns (bool);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Metadata is IERC721 {\r\n\r\n /**\r\n * @dev Returns the token collection name.\r\n */\r\n function name() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the token collection symbol.\r\n */\r\n function symbol() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\r\n */\r\n function tokenURI(uint256 tokenId) external view returns (string memory);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\r\n\r\n\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Enumerable is IERC721 {\r\n\r\n /**\r\n * @dev Returns the total amount of tokens stored by the contract.\r\n */\r\n function totalSupply() external view returns (uint256);\r\n\r\n /**\r\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\r\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\r\n\r\n /**\r\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\r\n * Use along with {totalSupply} to enumerate all tokens.\r\n */\r\n function tokenByIndex(uint256 index) external view returns (uint256);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\r\n\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 token receiver interface\r\n * @dev Interface for any contract that wants to support safeTransfers\r\n * from ERC721 asset contracts.\r\n */\r\ninterface IERC721Receiver {\r\n /**\r\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\r\n * by `operator` from `from`, this function is called.\r\n *\r\n * It must return its Solidity selector to confirm the token transfer.\r\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\r\n *\r\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\r\n */\r\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/ERC165.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Implementation of the {IERC165} interface.\r\n *\r\n * Contracts may inherit from this and call {_registerInterface} to declare\r\n * their support of an interface.\r\n */\r\nabstract contract ERC165 is IERC165 {\r\n /*\r\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\r\n\r\n /**\r\n * @dev Mapping of interface ids to whether or not it's supported.\r\n */\r\n mapping(bytes4 => bool) private _supportedInterfaces;\r\n\r\n constructor () {\r\n // Derived contracts need only register support for their own interfaces,\r\n // we register support for ERC165 itself here\r\n _registerInterface(_INTERFACE_ID_ERC165);\r\n }\r\n\r\n /**\r\n * @dev See {IERC165-supportsInterface}.\r\n *\r\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\r\n return _supportedInterfaces[interfaceId];\r\n }\r\n\r\n /**\r\n * @dev Registers the contract as an implementer of the interface defined by\r\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\r\n * registering its interface id is not required.\r\n *\r\n * See {IERC165-supportsInterface}.\r\n *\r\n * Requirements:\r\n *\r\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\r\n */\r\n function _registerInterface(bytes4 interfaceId) internal virtual {\r\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\r\n _supportedInterfaces[interfaceId] = true;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/math/SafeMath.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\r\n * checks.\r\n *\r\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\r\n * in bugs, because programmers usually assume that an overflow raises an\r\n * error, which is the standard behavior in high level programming languages.\r\n * `SafeMath` restores this intuition by reverting the transaction when an\r\n * operation overflows.\r\n *\r\n * Using this library instead of the unchecked operations eliminates an entire\r\n * class of bugs, so it's recommended to use it always.\r\n */\r\nlibrary SafeMath {\r\n /**\r\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n uint256 c = a + b;\r\n if (c < a) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b > a) return (false, 0);\r\n return (true, a - b);\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\r\n // benefit is lost if 'b' is also tested.\r\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\r\n if (a == 0) return (true, 0);\r\n uint256 c = a * b;\r\n if (c / a != b) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a / b);\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a % b);\r\n }\r\n\r\n /**\r\n * @dev Returns the addition of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `+` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Addition cannot overflow.\r\n */\r\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\r\n uint256 c = a + b;\r\n require(c >= a, \"SafeMath: addition overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting on\r\n * overflow (when the result is negative).\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b <= a, \"SafeMath: subtraction overflow\");\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `*` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Multiplication cannot overflow.\r\n */\r\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\r\n if (a == 0) return 0;\r\n uint256 c = a * b;\r\n require(c / a == b, \"SafeMath: multiplication overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: division by zero\");\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting when dividing by zero.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: modulo by zero\");\r\n return a % b;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\r\n * overflow (when the result is negative).\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {trySub}.\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b <= a, errorMessage);\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryDiv}.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting with custom message when dividing by zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryMod}.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a % b;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Address.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n/**\r\n * @dev Collection of functions related to the address type\r\n */\r\nlibrary Address {\r\n /**\r\n * @dev Returns true if `account` is a contract.\r\n *\r\n * [IMPORTANT]\r\n * ====\r\n * It is unsafe to assume that an address for which this function returns\r\n * false is an externally-owned account (EOA) and not a contract.\r\n *\r\n * Among others, `isContract` will return false for the following\r\n * types of addresses:\r\n *\r\n * - an externally-owned account\r\n * - a contract in construction\r\n * - an address where a contract will be created\r\n * - an address where a contract lived, but was destroyed\r\n * ====\r\n */\r\n function isContract(address account) internal view returns (bool) {\r\n // This method relies on extcodesize, which returns 0 for contracts in\r\n // construction, since the code is only stored at the end of the\r\n // constructor execution.\r\n\r\n uint256 size;\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly { size := extcodesize(account) }\r\n return size > 0;\r\n }\r\n\r\n /**\r\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\r\n * `recipient`, forwarding all available gas and reverting on errors.\r\n *\r\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\r\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\r\n * imposed by `transfer`, making them unable to receive funds via\r\n * `transfer`. {sendValue} removes this limitation.\r\n *\r\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\r\n *\r\n * IMPORTANT: because control is transferred to `recipient`, care must be\r\n * taken to not create reentrancy vulnerabilities. Consider using\r\n * {ReentrancyGuard} or the\r\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\r\n */\r\n function sendValue(address payable recipient, uint256 amount) internal {\r\n require(address(this).balance >= amount, \"Address: insufficient balance\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\r\n (bool success, ) = recipient.call{ value: amount }(\"\");\r\n require(success, \"Address: unable to send value, recipient may have reverted\");\r\n }\r\n\r\n /**\r\n * @dev Performs a Solidity function call using a low level `call`. A\r\n * plain`call` is an unsafe replacement for a function call: use this\r\n * function instead.\r\n *\r\n * If `target` reverts with a revert reason, it is bubbled up by this\r\n * function (like regular Solidity function calls).\r\n *\r\n * Returns the raw returned data. To convert to the expected return value,\r\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\r\n *\r\n * Requirements:\r\n *\r\n * - `target` must be a contract.\r\n * - calling `target` with `data` must not revert.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionCall(target, data, \"Address: low-level call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\r\n * `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, 0, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but also transferring `value` wei to `target`.\r\n *\r\n * Requirements:\r\n *\r\n * - the calling contract must have an ETH balance of at least `value`.\r\n * - the called Solidity function must be `payable`.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\r\n * with `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\r\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\r\n require(isContract(target), \"Address: call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\r\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\r\n require(isContract(target), \"Address: static call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.staticcall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n require(isContract(target), \"Address: delegate call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.delegatecall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\r\n if (success) {\r\n return returndata;\r\n } else {\r\n // Look for revert reason and bubble it up if present\r\n if (returndata.length > 0) {\r\n // The easiest way to bubble the revert reason is using memory via assembly\r\n\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n let returndata_size := mload(returndata)\r\n revert(add(32, returndata), returndata_size)\r\n }\r\n } else {\r\n revert(errorMessage);\r\n }\r\n }\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing\r\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\r\n * types.\r\n *\r\n * Sets have the following properties:\r\n *\r\n * - Elements are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableSet for EnumerableSet.AddressSet;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableSet.AddressSet private mySet;\r\n * }\r\n * ```\r\n *\r\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\r\n * and `uint256` (`UintSet`) are supported.\r\n */\r\nlibrary EnumerableSet {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Set type with\r\n // bytes32 values.\r\n // The Set implementation uses private functions, and user-facing\r\n // implementations (such as AddressSet) are just wrappers around the\r\n // underlying Set.\r\n // This means that we can only create new EnumerableSets for types that fit\r\n // in bytes32.\r\n\r\n struct Set {\r\n // Storage of set values\r\n bytes32[] _values;\r\n\r\n // Position of the value in the `values` array, plus 1 because index 0\r\n // means a value is not in the set.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function _add(Set storage set, bytes32 value) private returns (bool) {\r\n if (!_contains(set, value)) {\r\n set._values.push(value);\r\n // The value is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n set._indexes[value] = set._values.length;\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function _remove(Set storage set, bytes32 value) private returns (bool) {\r\n // We read and store the value's index to prevent multiple reads from the same storage slot\r\n uint256 valueIndex = set._indexes[value];\r\n\r\n if (valueIndex != 0) { // Equivalent to contains(set, value)\r\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\r\n // the array, and then remove the last element (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = valueIndex - 1;\r\n uint256 lastIndex = set._values.length - 1;\r\n\r\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n bytes32 lastvalue = set._values[lastIndex];\r\n\r\n // Move the last value to the index where the value to delete is\r\n set._values[toDeleteIndex] = lastvalue;\r\n // Update the index for the moved value\r\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved value was stored\r\n set._values.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete set._indexes[value];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\r\n return set._indexes[value] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function _length(Set storage set) private view returns (uint256) {\r\n return set._values.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\r\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\r\n return set._values[index];\r\n }\r\n\r\n // Bytes32Set\r\n\r\n struct Bytes32Set {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _add(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _remove(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\r\n return _contains(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(Bytes32Set storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\r\n return _at(set._inner, index);\r\n }\r\n\r\n // AddressSet\r\n\r\n struct AddressSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(AddressSet storage set, address value) internal returns (bool) {\r\n return _add(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(AddressSet storage set, address value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(AddressSet storage set, address value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(AddressSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\r\n return address(uint160(uint256(_at(set._inner, index))));\r\n }\r\n\r\n\r\n // UintSet\r\n\r\n struct UintSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _add(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function length(UintSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\r\n return uint256(_at(set._inner, index));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing an enumerable variant of Solidity's\r\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\r\n * type.\r\n *\r\n * Maps have the following properties:\r\n *\r\n * - Entries are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableMap.UintToAddressMap private myMap;\r\n * }\r\n * ```\r\n *\r\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\r\n * supported.\r\n */\r\nlibrary EnumerableMap {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Map type with\r\n // bytes32 keys and values.\r\n // The Map implementation uses private functions, and user-facing\r\n // implementations (such as Uint256ToAddressMap) are just wrappers around\r\n // the underlying Map.\r\n // This means that we can only create new EnumerableMaps for types that fit\r\n // in bytes32.\r\n\r\n struct MapEntry {\r\n bytes32 _key;\r\n bytes32 _value;\r\n }\r\n\r\n struct Map {\r\n // Storage of map keys and values\r\n MapEntry[] _entries;\r\n\r\n // Position of the entry defined by a key in the `entries` array, plus 1\r\n // because index 0 means a key is not in the map.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\r\n map._entries.push(MapEntry({ _key: key, _value: value }));\r\n // The entry is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n map._indexes[key] = map._entries.length;\r\n return true;\r\n } else {\r\n map._entries[keyIndex - 1]._value = value;\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a key-value pair from a map. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function _remove(Map storage map, bytes32 key) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex != 0) { // Equivalent to contains(map, key)\r\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\r\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = keyIndex - 1;\r\n uint256 lastIndex = map._entries.length - 1;\r\n\r\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n MapEntry storage lastEntry = map._entries[lastIndex];\r\n\r\n // Move the last entry to the index where the entry to delete is\r\n map._entries[toDeleteIndex] = lastEntry;\r\n // Update the index for the moved entry\r\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved entry was stored\r\n map._entries.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete map._indexes[key];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\r\n return map._indexes[key] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of key-value pairs in the map. O(1).\r\n */\r\n function _length(Map storage map) private view returns (uint256) {\r\n return map._entries.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of entries inside the\r\n * array, and it may change when more entries are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\r\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\r\n\r\n MapEntry storage entry = map._entries[index];\r\n return (entry._key, entry._value);\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n */\r\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\r\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {_tryGet}.\r\n */\r\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n // UintToAddressMap\r\n\r\n struct UintToAddressMap {\r\n Map _inner;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\r\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\r\n return _remove(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\r\n return _contains(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of elements in the map. O(1).\r\n */\r\n function length(UintToAddressMap storage map) internal view returns (uint256) {\r\n return _length(map._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the element stored at position `index` in the set. O(1).\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\r\n (bytes32 key, bytes32 value) = _at(map._inner, index);\r\n return (uint256(key), address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\r\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\r\n return (success, address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\r\n }\r\n\r\n /**\r\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryGet}.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Strings.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev String operations.\r\n */\r\nlibrary Strings {\r\n /**\r\n * @dev Converts a `uint256` to its ASCII `string` representation.\r\n */\r\n function toString(uint256 value) internal pure returns (string memory) {\r\n // Inspired by OraclizeAPI's implementation - MIT licence\r\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\r\n\r\n if (value == 0) {\r\n return \"0\";\r\n }\r\n uint256 temp = value;\r\n uint256 digits;\r\n while (temp != 0) {\r\n digits++;\r\n temp /= 10;\r\n }\r\n bytes memory buffer = new bytes(digits);\r\n uint256 index = digits - 1;\r\n temp = value;\r\n while (temp != 0) {\r\n buffer[index--] = bytes1(uint8(48 + temp % 10));\r\n temp /= 10;\r\n }\r\n return string(buffer);\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 Non-Fungible Token Standard basic implementation\r\n * @dev see https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\r\n using SafeMath for uint256;\r\n using Address for address;\r\n using EnumerableSet for EnumerableSet.UintSet;\r\n using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n using Strings for uint256;\r\n\r\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\r\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\r\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\r\n\r\n // Mapping from holder address to their (enumerable) set of owned tokens\r\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\r\n\r\n // Enumerable mapping from token ids to their owners\r\n EnumerableMap.UintToAddressMap private _tokenOwners;\r\n\r\n // Mapping from token ID to approved address\r\n mapping (uint256 => address) private _tokenApprovals;\r\n\r\n // Mapping from owner to operator approvals\r\n mapping (address => mapping (address => bool)) private _operatorApprovals;\r\n\r\n // Token name\r\n string private _name;\r\n\r\n // Token symbol\r\n string private _symbol;\r\n\r\n // Optional mapping for token URIs\r\n mapping (uint256 => string) private _tokenURIs;\r\n\r\n // Base URI\r\n string private _baseURI;\r\n\r\n /*\r\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\r\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\r\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\r\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\r\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\r\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\r\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\r\n *\r\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\r\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\r\n\r\n /*\r\n * bytes4(keccak256('name()')) == 0x06fdde03\r\n * bytes4(keccak256('symbol()')) == 0x95d89b41\r\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\r\n *\r\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\r\n\r\n /*\r\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\r\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\r\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\r\n *\r\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\r\n\r\n /**\r\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\r\n */\r\n constructor (string memory name_, string memory symbol_) {\r\n _name = name_;\r\n _symbol = symbol_;\r\n\r\n // register the supported interfaces to conform to ERC721 via ERC165\r\n _registerInterface(_INTERFACE_ID_ERC721);\r\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\r\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-balanceOf}.\r\n */\r\n function balanceOf(address owner) public view virtual override returns (uint256) {\r\n require(owner != address(0), \"ERC721: balance query for the zero address\");\r\n return _holderTokens[owner].length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-ownerOf}.\r\n */\r\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\r\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-name}.\r\n */\r\n function name() public view virtual override returns (string memory) {\r\n return _name;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-symbol}.\r\n */\r\n function symbol() public view virtual override returns (string memory) {\r\n return _symbol;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-tokenURI}.\r\n */\r\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\r\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\r\n\r\n string memory _tokenURI = _tokenURIs[tokenId];\r\n string memory base = baseURI();\r\n\r\n // If there is no base URI, return the token URI.\r\n if (bytes(base).length == 0) {\r\n return _tokenURI;\r\n }\r\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\r\n if (bytes(_tokenURI).length > 0) {\r\n return string(abi.encodePacked(base, _tokenURI));\r\n }\r\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\r\n return string(abi.encodePacked(base, tokenId.toString()));\r\n }\r\n\r\n /**\r\n * @dev Returns the base URI set via {_setBaseURI}. This will be\r\n * automatically added as a prefix in {tokenURI} to each token's URI, or\r\n * to the token ID if no specific URI is set for that token ID.\r\n */\r\n function baseURI() public view virtual returns (string memory) {\r\n return _baseURI;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\r\n return _holderTokens[owner].at(index);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-totalSupply}.\r\n */\r\n function totalSupply() public view virtual override returns (uint256) {\r\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\r\n return _tokenOwners.length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenByIndex}.\r\n */\r\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\r\n (uint256 tokenId, ) = _tokenOwners.at(index);\r\n return tokenId;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-approve}.\r\n */\r\n function approve(address to, uint256 tokenId) public virtual override {\r\n address owner = ERC721.ownerOf(tokenId);\r\n require(to != owner, \"ERC721: approval to current owner\");\r\n\r\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\r\n \"ERC721: approve caller is not owner nor approved for all\"\r\n );\r\n\r\n _approve(to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-getApproved}.\r\n */\r\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\r\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\r\n\r\n return _tokenApprovals[tokenId];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-setApprovalForAll}.\r\n */\r\n function setApprovalForAll(address operator, bool approved) public virtual override {\r\n require(operator != _msgSender(), \"ERC721: approve to caller\");\r\n\r\n _operatorApprovals[_msgSender()][operator] = approved;\r\n emit ApprovalForAll(_msgSender(), operator, approved);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-isApprovedForAll}.\r\n */\r\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\r\n return _operatorApprovals[owner][operator];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-transferFrom}.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n //solhint-disable-next-line max-line-length\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n\r\n _transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n safeTransferFrom(from, to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n _safeTransfer(from, to, tokenId, _data);\r\n }\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\r\n *\r\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\r\n * implement alternative mechanisms to perform token transfer, such as signature-based.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _transfer(from, to, tokenId);\r\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Returns whether `tokenId` exists.\r\n *\r\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\r\n *\r\n * Tokens start existing when they are minted (`_mint`),\r\n * and stop existing when they are burned (`_burn`).\r\n */\r\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\r\n return _tokenOwners.contains(tokenId);\r\n }\r\n\r\n /**\r\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\r\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\r\n address owner = ERC721.ownerOf(tokenId);\r\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\r\n }\r\n\r\n /**\r\n * @dev Safely mints `tokenId` and transfers it to `to`.\r\n *\r\n * Requirements:\r\n d*\r\n * - `tokenId` must not exist.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeMint(address to, uint256 tokenId) internal virtual {\r\n _safeMint(to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\r\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\r\n */\r\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _mint(to, tokenId);\r\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Mints `tokenId` and transfers it to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must not exist.\r\n * - `to` cannot be the zero address.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _mint(address to, uint256 tokenId) internal virtual {\r\n require(to != address(0), \"ERC721: mint to the zero address\");\r\n require(!_exists(tokenId), \"ERC721: token already minted\");\r\n\r\n _beforeTokenTransfer(address(0), to, tokenId);\r\n\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(address(0), to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Destroys `tokenId`.\r\n * The approval is cleared when the token is burned.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _burn(uint256 tokenId) internal virtual {\r\n address owner = ERC721.ownerOf(tokenId); // internal owner\r\n\r\n _beforeTokenTransfer(owner, address(0), tokenId);\r\n\r\n // Clear approvals\r\n _approve(address(0), tokenId);\r\n\r\n // Clear metadata (if any)\r\n if (bytes(_tokenURIs[tokenId]).length != 0) {\r\n delete _tokenURIs[tokenId];\r\n }\r\n\r\n _holderTokens[owner].remove(tokenId);\r\n\r\n _tokenOwners.remove(tokenId);\r\n\r\n emit Transfer(owner, address(0), tokenId);\r\n }\r\n\r\n /**\r\n * @dev Transfers `tokenId` from `from` to `to`.\r\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\r\n *\r\n * Requirements:\r\n *\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\r\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\r\n require(to != address(0), \"ERC721: transfer to the zero address\");\r\n\r\n _beforeTokenTransfer(from, to, tokenId);\r\n\r\n // Clear approvals from the previous owner\r\n _approve(address(0), tokenId);\r\n\r\n _holderTokens[from].remove(tokenId);\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\r\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\r\n _tokenURIs[tokenId] = _tokenURI;\r\n }\r\n\r\n /**\r\n * @dev Internal function to set the base URI for all token IDs. It is\r\n * automatically added as a prefix to the value returned in {tokenURI},\r\n * or to the token ID if {tokenURI} is empty.\r\n */\r\n function _setBaseURI(string memory baseURI_) internal virtual {\r\n _baseURI = baseURI_;\r\n }\r\n\r\n /**\r\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\r\n * The call is not executed if the target address is not a contract.\r\n *\r\n * @param from address representing the previous owner of the given token ID\r\n * @param to target address that will receive the tokens\r\n * @param tokenId uint256 ID of the token to be transferred\r\n * @param _data bytes optional data to send along with the call\r\n * @return bool whether the call correctly returned the expected magic value\r\n */\r\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\r\n private returns (bool)\r\n {\r\n if (!to.isContract()) {\r\n return true;\r\n }\r\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\r\n IERC721Receiver(to).onERC721Received.selector,\r\n _msgSender(),\r\n from,\r\n tokenId,\r\n _data\r\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n bytes4 retval = abi.decode(returndata, (bytes4));\r\n return (retval == _ERC721_RECEIVED);\r\n }\r\n\r\n /**\r\n * @dev Approve `to` to operate on `tokenId`\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function _approve(address to, uint256 tokenId) internal virtual {\r\n _tokenApprovals[tokenId] = to;\r\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\r\n }\r\n\r\n /**\r\n * @dev Hook that is called before any token transfer. This includes minting\r\n * and burning.\r\n *\r\n * Calling conditions:\r\n *\r\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\r\n * transferred to `to`.\r\n * - When `from` is zero, `tokenId` will be minted for `to`.\r\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n *\r\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\r\n */\r\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\r\n}\r\n", + "sourcePath": "C:\\Users\\Noahm\\cryptoboys-nft-marketplace\\src\\contracts\\ERC721.sol", "ast": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, - "id": 3499, + "id": 2991, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 509, + "id": 1, "literals": [ "solidity", ">=", @@ -412,7 +412,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "abstract": true, @@ -420,77 +420,77 @@ "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, - "id": 530, + "id": 22, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 517, + "id": 9, "nodeType": "Block", - "src": "719:34:1", + "src": "735:36:0", "statements": [ { "expression": { "expression": { - "id": 514, + "id": 6, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "736:3:1", + "src": "753:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 515, + "id": 7, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "736:10:1", + "src": "753:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 513, - "id": 516, + "functionReturnParameters": 5, + "id": 8, "nodeType": "Return", - "src": "729:17:1" + "src": "746:17:0" } ] }, - "id": 518, + "id": 10, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgSender", "nodeType": "FunctionDefinition", "parameters": { - "id": 510, + "id": 2, "nodeType": "ParameterList", "parameters": [], - "src": "668:2:1" + "src": "684:2:0" }, "returnParameters": { - "id": 513, + "id": 5, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 512, + "id": 4, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 518, - "src": "702:15:1", + "scope": 10, + "src": "718:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -498,10 +498,10 @@ "typeString": "address payable" }, "typeName": { - "id": 511, + "id": 3, "name": "address", "nodeType": "ElementaryTypeName", - "src": "702:15:1", + "src": "718:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -511,95 +511,95 @@ "visibility": "internal" } ], - "src": "701:17:1" + "src": "717:17:0" }, - "scope": 530, - "src": "649:104:1", + "scope": 22, + "src": "665:106:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 528, + "id": 20, "nodeType": "Block", - "src": "824:165:1", + "src": "844:168:0", "statements": [ { "expression": { - "id": 523, + "id": 15, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "834:4:1", + "src": "855:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 524, + "id": 16, "nodeType": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "expression": { "expression": { - "id": 525, + "id": 17, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "974:3:1", + "src": "996:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 526, + "id": 18, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "data", "nodeType": "MemberAccess", - "src": "974:8:1", + "src": "996:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" } }, - "functionReturnParameters": 522, - "id": 527, + "functionReturnParameters": 14, + "id": 19, "nodeType": "Return", - "src": "967:15:1" + "src": "989:15:0" } ] }, - "id": 529, + "id": 21, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgData", "nodeType": "FunctionDefinition", "parameters": { - "id": 519, + "id": 11, "nodeType": "ParameterList", "parameters": [], - "src": "776:2:1" + "src": "796:2:0" }, "returnParameters": { - "id": 522, + "id": 14, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 521, + "id": 13, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 529, - "src": "810:12:1", + "scope": 21, + "src": "830:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -607,10 +607,10 @@ "typeString": "bytes" }, "typeName": { - "id": 520, + "id": 12, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "810:5:1", + "src": "830:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -619,20 +619,20 @@ "visibility": "internal" } ], - "src": "809:14:1" + "src": "829:14:0" }, - "scope": 530, - "src": "759:230:1", + "scope": 22, + "src": "779:233:0", "stateMutability": "view", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "617:374:1" + "scope": 2991, + "src": "632:383:0" }, { - "id": 531, + "id": 23, "literals": [ "solidity", ">=", @@ -643,7 +643,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "abstract": false, @@ -651,45 +651,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 532, + "id": 24, "nodeType": "StructuredDocumentation", - "src": "1086:279:1", + "src": "1116:287:0", "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, "fullyImplemented": false, - "id": 541, + "id": 33, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 533, + "id": 25, "nodeType": "StructuredDocumentation", - "src": "1390:340:1", + "src": "1430:347:0", "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 540, + "id": 32, "implemented": false, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 536, + "id": 28, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 535, + "id": 27, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1762:18:1", + "scope": 32, + "src": "1810:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -697,10 +697,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 534, + "id": 26, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "1762:6:1", + "src": "1810:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -709,20 +709,20 @@ "visibility": "internal" } ], - "src": "1761:20:1" + "src": "1809:20:0" }, "returnParameters": { - "id": 539, + "id": 31, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 538, + "id": 30, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1805:4:1", + "scope": 32, + "src": "1853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -730,10 +730,10 @@ "typeString": "bool" }, "typeName": { - "id": 537, + "id": 29, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1805:4:1", + "src": "1853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -742,20 +742,20 @@ "visibility": "internal" } ], - "src": "1804:6:1" + "src": "1852:6:0" }, - "scope": 541, - "src": "1735:76:1", + "scope": 33, + "src": "1783:76:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1366:447:1" + "scope": 2991, + "src": "1405:457:0" }, { - "id": 542, + "id": 34, "literals": [ "solidity", ">=", @@ -766,43 +766,43 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 544, + "id": 36, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "1996:7:1", + "referencedDeclaration": 33, + "src": "2054:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 545, + "id": 37, "nodeType": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "documentation": { - "id": 543, + "id": 35, "nodeType": "StructuredDocumentation", - "src": "1907:67:1", + "src": "1962:69:0", "text": " @dev Required interface of an ERC721 compliant contract." }, "fullyImplemented": false, - "id": 655, + "id": 147, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", "nodeType": "ContractDefinition", @@ -810,27 +810,27 @@ { "anonymous": false, "documentation": { - "id": 546, + "id": 38, "nodeType": "StructuredDocumentation", - "src": "2010:88:1", + "src": "2069:90:0", "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 554, + "id": 46, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { - "id": 553, + "id": 45, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 548, + "id": 40, "indexed": true, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2118:20:1", + "scope": 46, + "src": "2180:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -838,10 +838,10 @@ "typeString": "address" }, "typeName": { - "id": 547, + "id": 39, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2118:7:1", + "src": "2180:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -852,13 +852,13 @@ }, { "constant": false, - "id": 550, + "id": 42, "indexed": true, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2140:18:1", + "scope": 46, + "src": "2202:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -866,10 +866,10 @@ "typeString": "address" }, "typeName": { - "id": 549, + "id": 41, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2140:7:1", + "src": "2202:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -880,13 +880,13 @@ }, { "constant": false, - "id": 552, + "id": 44, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2160:23:1", + "scope": 46, + "src": "2222:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -894,10 +894,10 @@ "typeString": "uint256" }, "typeName": { - "id": 551, + "id": 43, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2160:7:1", + "src": "2222:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -906,34 +906,34 @@ "visibility": "internal" } ], - "src": "2117:67:1" + "src": "2179:67:0" }, - "src": "2103:82:1" + "src": "2165:82:0" }, { "anonymous": false, "documentation": { - "id": 555, + "id": 47, "nodeType": "StructuredDocumentation", - "src": "2191:94:1", + "src": "2255:96:0", "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 563, + "id": 55, "name": "Approval", "nodeType": "EventDefinition", "parameters": { - "id": 562, + "id": 54, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 557, + "id": 49, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2305:21:1", + "scope": 55, + "src": "2372:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -941,10 +941,10 @@ "typeString": "address" }, "typeName": { - "id": 556, + "id": 48, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2305:7:1", + "src": "2372:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -955,13 +955,13 @@ }, { "constant": false, - "id": 559, + "id": 51, "indexed": true, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2328:24:1", + "scope": 55, + "src": "2395:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -969,10 +969,10 @@ "typeString": "address" }, "typeName": { - "id": 558, + "id": 50, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2328:7:1", + "src": "2395:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -983,13 +983,13 @@ }, { "constant": false, - "id": 561, + "id": 53, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2354:23:1", + "scope": 55, + "src": "2421:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -997,10 +997,10 @@ "typeString": "uint256" }, "typeName": { - "id": 560, + "id": 52, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2354:7:1", + "src": "2421:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1009,34 +1009,34 @@ "visibility": "internal" } ], - "src": "2304:74:1" + "src": "2371:74:0" }, - "src": "2290:89:1" + "src": "2357:89:0" }, { "anonymous": false, "documentation": { - "id": 564, + "id": 56, "nodeType": "StructuredDocumentation", - "src": "2385:117:1", + "src": "2454:119:0", "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 572, + "id": 64, "name": "ApprovalForAll", "nodeType": "EventDefinition", "parameters": { - "id": 571, + "id": 63, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 566, + "id": 58, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2528:21:1", + "scope": 64, + "src": "2600:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1044,10 +1044,10 @@ "typeString": "address" }, "typeName": { - "id": 565, + "id": 57, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2528:7:1", + "src": "2600:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1058,13 +1058,13 @@ }, { "constant": false, - "id": 568, + "id": 60, "indexed": true, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2551:24:1", + "scope": 64, + "src": "2623:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1072,10 +1072,10 @@ "typeString": "address" }, "typeName": { - "id": 567, + "id": 59, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2551:7:1", + "src": "2623:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1086,13 +1086,13 @@ }, { "constant": false, - "id": 570, + "id": 62, "indexed": false, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2577:13:1", + "scope": 64, + "src": "2649:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1100,10 +1100,10 @@ "typeString": "bool" }, "typeName": { - "id": 569, + "id": 61, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2577:4:1", + "src": "2649:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1112,36 +1112,36 @@ "visibility": "internal" } ], - "src": "2527:64:1" + "src": "2599:64:0" }, - "src": "2507:85:1" + "src": "2579:85:0" }, { "documentation": { - "id": 573, + "id": 65, "nodeType": "StructuredDocumentation", - "src": "2598:76:1", + "src": "2672:78:0", "text": " @dev Returns the number of tokens in ``owner``'s account." }, "functionSelector": "70a08231", - "id": 580, + "id": 72, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 576, + "id": 68, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 575, + "id": 67, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2698:13:1", + "scope": 72, + "src": "2775:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1149,10 +1149,10 @@ "typeString": "address" }, "typeName": { - "id": 574, + "id": 66, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2698:7:1", + "src": "2775:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1162,20 +1162,20 @@ "visibility": "internal" } ], - "src": "2697:15:1" + "src": "2774:15:0" }, "returnParameters": { - "id": 579, + "id": 71, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 578, + "id": 70, "mutability": "mutable", "name": "balance", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2736:15:1", + "scope": 72, + "src": "2813:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1183,10 +1183,10 @@ "typeString": "uint256" }, "typeName": { - "id": 577, + "id": 69, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2736:7:1", + "src": "2813:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1195,40 +1195,40 @@ "visibility": "internal" } ], - "src": "2735:17:1" + "src": "2812:17:0" }, - "scope": 655, - "src": "2679:74:1", + "scope": 147, + "src": "2756:74:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 581, + "id": 73, "nodeType": "StructuredDocumentation", - "src": "2759:131:1", + "src": "2838:137:0", "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "6352211e", - "id": 588, + "id": 80, "implemented": false, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 584, + "id": 76, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 583, + "id": 75, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2912:15:1", + "scope": 80, + "src": "2998:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1236,10 +1236,10 @@ "typeString": "uint256" }, "typeName": { - "id": 582, + "id": 74, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2912:7:1", + "src": "2998:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1248,20 +1248,20 @@ "visibility": "internal" } ], - "src": "2911:17:1" + "src": "2997:17:0" }, "returnParameters": { - "id": 587, + "id": 79, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 586, + "id": 78, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2952:13:1", + "scope": 80, + "src": "3038:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1269,10 +1269,10 @@ "typeString": "address" }, "typeName": { - "id": 585, + "id": 77, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2952:7:1", + "src": "3038:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1282,40 +1282,40 @@ "visibility": "internal" } ], - "src": "2951:15:1" + "src": "3037:15:0" }, - "scope": 655, - "src": "2895:72:1", + "scope": 147, + "src": "2981:72:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 589, + "id": 81, "nodeType": "StructuredDocumentation", - "src": "2973:690:1", + "src": "3061:703:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "42842e0e", - "id": 598, + "id": 90, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 596, + "id": 88, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 591, + "id": 83, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3694:12:1", + "scope": 90, + "src": "3796:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1323,10 +1323,10 @@ "typeString": "address" }, "typeName": { - "id": 590, + "id": 82, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3694:7:1", + "src": "3796:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1337,12 +1337,12 @@ }, { "constant": false, - "id": 593, + "id": 85, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3708:10:1", + "scope": 90, + "src": "3810:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1350,10 +1350,10 @@ "typeString": "address" }, "typeName": { - "id": 592, + "id": 84, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3708:7:1", + "src": "3810:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1364,12 +1364,12 @@ }, { "constant": false, - "id": 595, + "id": 87, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3720:15:1", + "scope": 90, + "src": "3822:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1377,10 +1377,10 @@ "typeString": "uint256" }, "typeName": { - "id": 594, + "id": 86, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3720:7:1", + "src": "3822:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1389,46 +1389,46 @@ "visibility": "internal" } ], - "src": "3693:43:1" + "src": "3795:43:0" }, "returnParameters": { - "id": 597, + "id": 89, "nodeType": "ParameterList", "parameters": [], - "src": "3745:0:1" + "src": "3847:0:0" }, - "scope": 655, - "src": "3668:78:1", + "scope": 147, + "src": "3770:78:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 599, + "id": 91, "nodeType": "StructuredDocumentation", - "src": "3752:504:1", + "src": "3856:517:0", "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, "functionSelector": "23b872dd", - "id": 608, + "id": 100, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 606, + "id": 98, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 601, + "id": 93, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4283:12:1", + "scope": 100, + "src": "4401:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1436,10 +1436,10 @@ "typeString": "address" }, "typeName": { - "id": 600, + "id": 92, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4283:7:1", + "src": "4401:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1450,12 +1450,12 @@ }, { "constant": false, - "id": 603, + "id": 95, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4297:10:1", + "scope": 100, + "src": "4415:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1463,10 +1463,10 @@ "typeString": "address" }, "typeName": { - "id": 602, + "id": 94, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4297:7:1", + "src": "4415:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1477,12 +1477,12 @@ }, { "constant": false, - "id": 605, + "id": 97, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4309:15:1", + "scope": 100, + "src": "4427:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1490,10 +1490,10 @@ "typeString": "uint256" }, "typeName": { - "id": 604, + "id": 96, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4309:7:1", + "src": "4427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1502,46 +1502,46 @@ "visibility": "internal" } ], - "src": "4282:43:1" + "src": "4400:43:0" }, "returnParameters": { - "id": 607, + "id": 99, "nodeType": "ParameterList", "parameters": [], - "src": "4334:0:1" + "src": "4452:0:0" }, - "scope": 655, - "src": "4261:74:1", + "scope": 147, + "src": "4379:74:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 609, + "id": 101, "nodeType": "StructuredDocumentation", - "src": "4341:452:1", + "src": "4461:464:0", "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, "functionSelector": "095ea7b3", - "id": 616, + "id": 108, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 614, + "id": 106, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 611, + "id": 103, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4815:10:1", + "scope": 108, + "src": "4948:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1549,10 +1549,10 @@ "typeString": "address" }, "typeName": { - "id": 610, + "id": 102, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4815:7:1", + "src": "4948:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1563,12 +1563,12 @@ }, { "constant": false, - "id": 613, + "id": 105, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4827:15:1", + "scope": 108, + "src": "4960:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1576,10 +1576,10 @@ "typeString": "uint256" }, "typeName": { - "id": 612, + "id": 104, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4827:7:1", + "src": "4960:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1588,46 +1588,46 @@ "visibility": "internal" } ], - "src": "4814:29:1" + "src": "4947:29:0" }, "returnParameters": { - "id": 615, + "id": 107, "nodeType": "ParameterList", "parameters": [], - "src": "4852:0:1" + "src": "4985:0:0" }, - "scope": 655, - "src": "4798:55:1", + "scope": 147, + "src": "4931:55:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 617, + "id": 109, "nodeType": "StructuredDocumentation", - "src": "4859:139:1", + "src": "4994:145:0", "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "081812fc", - "id": 624, + "id": 116, "implemented": false, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "parameters": { - "id": 620, + "id": 112, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 619, + "id": 111, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5024:15:1", + "scope": 116, + "src": "5166:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1635,10 +1635,10 @@ "typeString": "uint256" }, "typeName": { - "id": 618, + "id": 110, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5024:7:1", + "src": "5166:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1647,20 +1647,20 @@ "visibility": "internal" } ], - "src": "5023:17:1" + "src": "5165:17:0" }, "returnParameters": { - "id": 623, + "id": 115, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 622, + "id": 114, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5064:16:1", + "scope": 116, + "src": "5206:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1668,10 +1668,10 @@ "typeString": "address" }, "typeName": { - "id": 621, + "id": 113, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5064:7:1", + "src": "5206:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1681,40 +1681,40 @@ "visibility": "internal" } ], - "src": "5063:18:1" + "src": "5205:18:0" }, - "scope": 655, - "src": "5003:79:1", + "scope": 147, + "src": "5145:79:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 625, + "id": 117, "nodeType": "StructuredDocumentation", - "src": "5088:309:1", + "src": "5232:318:0", "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, "functionSelector": "a22cb465", - "id": 632, + "id": 124, "implemented": false, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 630, + "id": 122, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 627, + "id": 119, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5429:16:1", + "scope": 124, + "src": "5583:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1722,10 +1722,10 @@ "typeString": "address" }, "typeName": { - "id": 626, + "id": 118, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5429:7:1", + "src": "5583:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1736,12 +1736,12 @@ }, { "constant": false, - "id": 629, + "id": 121, "mutability": "mutable", "name": "_approved", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5447:14:1", + "scope": 124, + "src": "5601:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1749,10 +1749,10 @@ "typeString": "bool" }, "typeName": { - "id": 628, + "id": 120, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5447:4:1", + "src": "5601:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1761,46 +1761,46 @@ "visibility": "internal" } ], - "src": "5428:34:1" + "src": "5582:34:0" }, "returnParameters": { - "id": 631, + "id": 123, "nodeType": "ParameterList", "parameters": [], - "src": "5471:0:1" + "src": "5625:0:0" }, - "scope": 655, - "src": "5402:70:1", + "scope": 147, + "src": "5556:70:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 633, + "id": 125, "nodeType": "StructuredDocumentation", - "src": "5478:138:1", + "src": "5634:142:0", "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, "functionSelector": "e985e9c5", - "id": 642, + "id": 134, "implemented": false, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 638, + "id": 130, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 635, + "id": 127, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5647:13:1", + "scope": 134, + "src": "5808:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1808,10 +1808,10 @@ "typeString": "address" }, "typeName": { - "id": 634, + "id": 126, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5647:7:1", + "src": "5808:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1822,12 +1822,12 @@ }, { "constant": false, - "id": 637, + "id": 129, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5662:16:1", + "scope": 134, + "src": "5823:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1835,10 +1835,10 @@ "typeString": "address" }, "typeName": { - "id": 636, + "id": 128, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5662:7:1", + "src": "5823:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1848,20 +1848,20 @@ "visibility": "internal" } ], - "src": "5646:33:1" + "src": "5807:33:0" }, "returnParameters": { - "id": 641, + "id": 133, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 640, + "id": 132, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5703:4:1", + "scope": 134, + "src": "5864:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1869,10 +1869,10 @@ "typeString": "bool" }, "typeName": { - "id": 639, + "id": 131, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5703:4:1", + "src": "5864:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1881,40 +1881,40 @@ "visibility": "internal" } ], - "src": "5702:6:1" + "src": "5863:6:0" }, - "scope": 655, - "src": "5621:88:1", + "scope": 147, + "src": "5782:88:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 643, + "id": 135, "nodeType": "StructuredDocumentation", - "src": "5715:568:1", + "src": "5878:580:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "b88d4fde", - "id": 654, + "id": 146, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 652, + "id": 144, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 645, + "id": 137, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6314:12:1", + "scope": 146, + "src": "6490:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1922,10 +1922,10 @@ "typeString": "address" }, "typeName": { - "id": 644, + "id": 136, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6314:7:1", + "src": "6490:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1936,12 +1936,12 @@ }, { "constant": false, - "id": 647, + "id": 139, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6328:10:1", + "scope": 146, + "src": "6504:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1949,10 +1949,10 @@ "typeString": "address" }, "typeName": { - "id": 646, + "id": 138, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6328:7:1", + "src": "6504:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1963,12 +1963,12 @@ }, { "constant": false, - "id": 649, + "id": 141, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6340:15:1", + "scope": 146, + "src": "6516:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1976,10 +1976,10 @@ "typeString": "uint256" }, "typeName": { - "id": 648, + "id": 140, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6340:7:1", + "src": "6516:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1989,12 +1989,12 @@ }, { "constant": false, - "id": 651, + "id": 143, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6357:19:1", + "scope": 146, + "src": "6533:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -2002,10 +2002,10 @@ "typeString": "bytes" }, "typeName": { - "id": 650, + "id": 142, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6357:5:1", + "src": "6533:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2014,26 +2014,26 @@ "visibility": "internal" } ], - "src": "6313:64:1" + "src": "6489:64:0" }, "returnParameters": { - "id": 653, + "id": 145, "nodeType": "ParameterList", "parameters": [], - "src": "6386:0:1" + "src": "6562:0:0" }, - "scope": 655, - "src": "6288:99:1", + "scope": 147, + "src": "6464:99:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1975:4414:1" + "scope": 2991, + "src": "2033:4533:0" }, { - "id": 656, + "id": 148, "literals": [ "solidity", ">=", @@ -2044,81 +2044,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 658, + "id": 150, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "6654:7:1", + "referencedDeclaration": 147, + "src": "6841:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 659, + "id": 151, "nodeType": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 657, + "id": 149, "nodeType": "StructuredDocumentation", - "src": "6491:133:1", + "src": "6674:136:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 680, + "id": 172, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 660, + "id": 152, "nodeType": "StructuredDocumentation", - "src": "6669:58:1", + "src": "6858:60:0", "text": " @dev Returns the token collection name." }, "functionSelector": "06fdde03", - "id": 665, + "id": 157, "implemented": false, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "parameters": { - "id": 661, + "id": 153, "nodeType": "ParameterList", "parameters": [], - "src": "6745:2:1" + "src": "6937:2:0" }, "returnParameters": { - "id": 664, + "id": 156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 663, + "id": 155, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 665, - "src": "6771:13:1", + "scope": 157, + "src": "6963:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2126,10 +2126,10 @@ "typeString": "string" }, "typeName": { - "id": 662, + "id": 154, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6771:6:1", + "src": "6963:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -2138,46 +2138,46 @@ "visibility": "internal" } ], - "src": "6770:15:1" + "src": "6962:15:0" }, - "scope": 680, - "src": "6732:54:1", + "scope": 172, + "src": "6924:54:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 666, + "id": 158, "nodeType": "StructuredDocumentation", - "src": "6792:60:1", + "src": "6986:62:0", "text": " @dev Returns the token collection symbol." }, "functionSelector": "95d89b41", - "id": 671, + "id": 163, "implemented": false, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "parameters": { - "id": 667, + "id": 159, "nodeType": "ParameterList", "parameters": [], - "src": "6872:2:1" + "src": "7069:2:0" }, "returnParameters": { - "id": 670, + "id": 162, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 669, + "id": 161, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 671, - "src": "6898:13:1", + "scope": 163, + "src": "7095:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2185,10 +2185,10 @@ "typeString": "string" }, "typeName": { - "id": 668, + "id": 160, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6898:6:1", + "src": "7095:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -2197,40 +2197,40 @@ "visibility": "internal" } ], - "src": "6897:15:1" + "src": "7094:15:0" }, - "scope": 680, - "src": "6857:56:1", + "scope": 172, + "src": "7054:56:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 672, + "id": 164, "nodeType": "StructuredDocumentation", - "src": "6919:90:1", + "src": "7118:92:0", "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, "functionSelector": "c87b56dd", - "id": 679, + "id": 171, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 675, + "id": 167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 674, + "id": 166, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7032:15:1", + "scope": 171, + "src": "7234:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2238,10 +2238,10 @@ "typeString": "uint256" }, "typeName": { - "id": 673, + "id": 165, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7032:7:1", + "src": "7234:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2250,20 +2250,20 @@ "visibility": "internal" } ], - "src": "7031:17:1" + "src": "7233:17:0" }, "returnParameters": { - "id": 678, + "id": 170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 677, + "id": 169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7072:13:1", + "scope": 171, + "src": "7274:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2271,10 +2271,10 @@ "typeString": "string" }, "typeName": { - "id": 676, + "id": 168, "name": "string", "nodeType": "ElementaryTypeName", - "src": "7072:6:1", + "src": "7274:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -2283,20 +2283,20 @@ "visibility": "internal" } ], - "src": "7071:15:1" + "src": "7273:15:0" }, - "scope": 680, - "src": "7014:73:1", + "scope": 172, + "src": "7216:73:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "6625:464:1" + "scope": 2991, + "src": "6812:480:0" }, { - "id": 681, + "id": 173, "literals": [ "solidity", ">=", @@ -2307,81 +2307,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 683, + "id": 175, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "7363:7:1", + "referencedDeclaration": 147, + "src": "7578:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 684, + "id": 176, "nodeType": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 682, + "id": 174, "nodeType": "StructuredDocumentation", - "src": "7195:136:1", + "src": "7406:139:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 709, + "id": 201, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 685, + "id": 177, "nodeType": "StructuredDocumentation", - "src": "7378:82:1", + "src": "7595:84:0", "text": " @dev Returns the total amount of tokens stored by the contract." }, "functionSelector": "18160ddd", - "id": 690, + "id": 182, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { - "id": 686, + "id": 178, "nodeType": "ParameterList", "parameters": [], - "src": "7485:2:1" + "src": "7705:2:0" }, "returnParameters": { - "id": 689, + "id": 181, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 688, + "id": 180, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 690, - "src": "7511:7:1", + "scope": 182, + "src": "7731:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2389,10 +2389,10 @@ "typeString": "uint256" }, "typeName": { - "id": 687, + "id": 179, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7511:7:1", + "src": "7731:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2401,40 +2401,40 @@ "visibility": "internal" } ], - "src": "7510:9:1" + "src": "7730:9:0" }, - "scope": 709, - "src": "7465:55:1", + "scope": 201, + "src": "7685:55:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 691, + "id": 183, "nodeType": "StructuredDocumentation", - "src": "7526:171:1", + "src": "7748:174:0", "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, "functionSelector": "2f745c59", - "id": 700, + "id": 192, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 696, + "id": 188, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 693, + "id": 185, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7731:13:1", + "scope": 192, + "src": "7957:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2442,10 +2442,10 @@ "typeString": "address" }, "typeName": { - "id": 692, + "id": 184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7731:7:1", + "src": "7957:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2456,12 +2456,12 @@ }, { "constant": false, - "id": 695, + "id": 187, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7746:13:1", + "scope": 192, + "src": "7972:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2469,10 +2469,10 @@ "typeString": "uint256" }, "typeName": { - "id": 694, + "id": 186, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7746:7:1", + "src": "7972:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2481,20 +2481,20 @@ "visibility": "internal" } ], - "src": "7730:30:1" + "src": "7956:30:0" }, "returnParameters": { - "id": 699, + "id": 191, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 698, + "id": 190, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7784:15:1", + "scope": 192, + "src": "8010:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2502,10 +2502,10 @@ "typeString": "uint256" }, "typeName": { - "id": 697, + "id": 189, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7784:7:1", + "src": "8010:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2514,40 +2514,40 @@ "visibility": "internal" } ], - "src": "7783:17:1" + "src": "8009:17:0" }, - "scope": 709, - "src": "7702:99:1", + "scope": 201, + "src": "7928:99:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 701, + "id": 193, "nodeType": "StructuredDocumentation", - "src": "7807:164:1", + "src": "8035:167:0", "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, "functionSelector": "4f6ccce7", - "id": 708, + "id": 200, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 704, + "id": 196, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 703, + "id": 195, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "7998:13:1", + "scope": 200, + "src": "8230:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2555,10 +2555,10 @@ "typeString": "uint256" }, "typeName": { - "id": 702, + "id": 194, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7998:7:1", + "src": "8230:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2567,20 +2567,20 @@ "visibility": "internal" } ], - "src": "7997:15:1" + "src": "8229:15:0" }, "returnParameters": { - "id": 707, + "id": 199, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 706, + "id": 198, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "8036:7:1", + "scope": 200, + "src": "8268:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2588,10 +2588,10 @@ "typeString": "uint256" }, "typeName": { - "id": 705, + "id": 197, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8036:7:1", + "src": "8268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2600,20 +2600,20 @@ "visibility": "internal" } ], - "src": "8035:9:1" + "src": "8267:9:0" }, - "scope": 709, - "src": "7976:69:1", + "scope": 201, + "src": "8208:69:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "7332:715:1" + "scope": 2991, + "src": "7547:733:0" }, { - "id": 710, + "id": 202, "literals": [ "solidity", ">=", @@ -2624,7 +2624,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "abstract": false, @@ -2632,45 +2632,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 711, + "id": 203, "nodeType": "StructuredDocumentation", - "src": "8150:152:1", + "src": "8390:156:0", "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, "fullyImplemented": false, - "id": 726, + "id": 218, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 712, + "id": 204, "nodeType": "StructuredDocumentation", - "src": "8335:485:1", + "src": "8581:493:0", "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, "functionSelector": "150b7a02", - "id": 725, + "id": 217, "implemented": false, "kind": "function", "modifiers": [], "name": "onERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 721, + "id": 213, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 714, + "id": 206, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8851:16:1", + "scope": 217, + "src": "9106:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2678,10 +2678,10 @@ "typeString": "address" }, "typeName": { - "id": 713, + "id": 205, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8851:7:1", + "src": "9106:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2692,12 +2692,12 @@ }, { "constant": false, - "id": 716, + "id": 208, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8869:12:1", + "scope": 217, + "src": "9124:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2705,10 +2705,10 @@ "typeString": "address" }, "typeName": { - "id": 715, + "id": 207, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8869:7:1", + "src": "9124:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2719,12 +2719,12 @@ }, { "constant": false, - "id": 718, + "id": 210, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8883:15:1", + "scope": 217, + "src": "9138:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2732,10 +2732,10 @@ "typeString": "uint256" }, "typeName": { - "id": 717, + "id": 209, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8883:7:1", + "src": "9138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2745,12 +2745,12 @@ }, { "constant": false, - "id": 720, + "id": 212, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8900:19:1", + "scope": 217, + "src": "9155:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -2758,10 +2758,10 @@ "typeString": "bytes" }, "typeName": { - "id": 719, + "id": 211, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8900:5:1", + "src": "9155:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2770,20 +2770,20 @@ "visibility": "internal" } ], - "src": "8850:70:1" + "src": "9105:70:0" }, "returnParameters": { - "id": 724, + "id": 216, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 723, + "id": 215, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8939:6:1", + "scope": 217, + "src": "9194:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2791,10 +2791,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 722, + "id": 214, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "8939:6:1", + "src": "9194:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2803,20 +2803,20 @@ "visibility": "internal" } ], - "src": "8938:8:1" + "src": "9193:8:0" }, - "scope": 726, - "src": "8825:122:1", + "scope": 218, + "src": "9080:122:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "8303:646:1" + "scope": 2991, + "src": "8548:657:0" }, { - "id": 727, + "id": 219, "literals": [ "solidity", ">=", @@ -2827,55 +2827,55 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "abstract": true, "baseContracts": [ { "baseName": { - "id": 729, + "id": 221, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "9243:7:1", + "referencedDeclaration": 33, + "src": "9511:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 730, + "id": 222, "nodeType": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "documentation": { - "id": 728, + "id": 220, "nodeType": "StructuredDocumentation", - "src": "9043:171:1", + "src": "9305:176:0", "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, "fullyImplemented": true, - "id": 781, + "id": 273, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", "nodeType": "ContractDefinition", "nodes": [ { "constant": true, - "id": 733, + "id": 225, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9340:57:1", + "scope": 273, + "src": "9612:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2883,10 +2883,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 731, + "id": 223, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9340:6:1", + "src": "9612:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2894,14 +2894,14 @@ }, "value": { "hexValue": "30783031666663396137", - "id": 732, + "id": 224, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9387:10:1", + "src": "9659:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_33540519_by_1", "typeString": "int_const 33540519" @@ -2913,17 +2913,17 @@ { "constant": false, "documentation": { - "id": 734, + "id": 226, "nodeType": "StructuredDocumentation", - "src": "9404:82:1", + "src": "9678:84:0", "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 738, + "id": 230, "mutability": "mutable", "name": "_supportedInterfaces", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9491:52:1", + "scope": 273, + "src": "9768:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2931,28 +2931,28 @@ "typeString": "mapping(bytes4 => bool)" }, "typeName": { - "id": 737, + "id": 229, "keyType": { - "id": 735, + "id": 227, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9499:6:1", + "src": "9776:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "nodeType": "Mapping", - "src": "9491:23:1", + "src": "9768:23:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" }, "valueType": { - "id": 736, + "id": 228, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9509:4:1", + "src": "9786:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2963,20 +2963,20 @@ }, { "body": { - "id": 745, + "id": 237, "nodeType": "Block", - "src": "9565:193:1", + "src": "9844:197:0", "statements": [ { "expression": { "arguments": [ { - "id": 742, + "id": 234, "name": "_INTERFACE_ID_ERC165", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 733, - "src": "9730:20:1", + "referencedDeclaration": 225, + "src": "10012:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2990,18 +2990,18 @@ "typeString": "bytes4" } ], - "id": 741, + "id": 233, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "9711:18:1", + "referencedDeclaration": 272, + "src": "9993:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 743, + "id": 235, "isConstant": false, "isLValue": false, "isPure": false, @@ -3009,74 +3009,74 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9711:40:1", + "src": "9993:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 744, + "id": 236, "nodeType": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ] }, - "id": 746, + "id": 238, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 739, + "id": 231, "nodeType": "ParameterList", "parameters": [], - "src": "9562:2:1" + "src": "9841:2:0" }, "returnParameters": { - "id": 740, + "id": 232, "nodeType": "ParameterList", "parameters": [], - "src": "9565:0:1" + "src": "9844:0:0" }, - "scope": 781, - "src": "9550:208:1", + "scope": 273, + "src": "9829:212:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "baseFunctions": [ - 540 + 32 ], "body": { - "id": 759, + "id": 251, "nodeType": "Block", - "src": "9999:57:1", + "src": "10289:59:0", "statements": [ { "expression": { "baseExpression": { - "id": 755, + "id": 247, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10016:20:1", + "referencedDeclaration": 230, + "src": "10307:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 757, + "id": 249, "indexExpression": { - "id": 756, + "id": 248, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 749, - "src": "10037:11:1", + "referencedDeclaration": 241, + "src": "10328:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3087,50 +3087,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10016:33:1", + "src": "10307:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 754, - "id": 758, + "functionReturnParameters": 246, + "id": 250, "nodeType": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ] }, "documentation": { - "id": 747, + "id": 239, "nodeType": "StructuredDocumentation", - "src": "9764:139:1", + "src": "10049:143:0", "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 760, + "id": 252, "implemented": true, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "overrides": { - "id": 751, + "id": 243, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "9975:8:1" + "src": "10265:8:0" }, "parameters": { - "id": 750, + "id": 242, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 749, + "id": 241, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9935:18:1", + "scope": 252, + "src": "10225:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3138,10 +3138,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 748, + "id": 240, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9935:6:1", + "src": "10225:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3150,20 +3150,20 @@ "visibility": "internal" } ], - "src": "9934:20:1" + "src": "10224:20:0" }, "returnParameters": { - "id": 754, + "id": 246, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 753, + "id": 245, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9993:4:1", + "scope": 252, + "src": "10283:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3171,10 +3171,10 @@ "typeString": "bool" }, "typeName": { - "id": 752, + "id": 244, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9993:4:1", + "src": "10283:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3183,19 +3183,19 @@ "visibility": "internal" } ], - "src": "9992:6:1" + "src": "10282:6:0" }, - "scope": 781, - "src": "9908:148:1", + "scope": 273, + "src": "10198:150:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 779, + "id": 271, "nodeType": "Block", - "src": "10515:133:1", + "src": "10820:136:0", "statements": [ { "expression": { @@ -3205,18 +3205,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 769, + "id": 261, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 767, + "id": 259, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10533:11:1", + "referencedDeclaration": 255, + "src": "10839:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3226,21 +3226,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30786666666666666666", - "id": 768, + "id": 260, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10548:10:1", + "src": "10854:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_4294967295_by_1", "typeString": "int_const 4294967295" }, "value": "0xffffffff" }, - "src": "10533:25:1", + "src": "10839:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3248,14 +3248,14 @@ }, { "hexValue": "4552433136353a20696e76616c696420696e74657266616365206964", - "id": 770, + "id": 262, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "10560:30:1", + "src": "10866:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_282912c0dfceceb28d77d0333f496b83948f9ba5b3154358a8b140b849289dee", "typeString": "literal_string \"ERC165: invalid interface id\"" @@ -3274,7 +3274,7 @@ "typeString": "literal_string \"ERC165: invalid interface id\"" } ], - "id": 766, + "id": 258, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -3282,13 +3282,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "10525:7:1", + "src": "10831:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 771, + "id": 263, "isConstant": false, "isLValue": false, "isPure": false, @@ -3296,45 +3296,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10525:66:1", + "src": "10831:66:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 772, + "id": 264, "nodeType": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "expression": { - "id": 777, + "id": 269, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 773, + "id": 265, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10601:20:1", + "referencedDeclaration": 230, + "src": "10908:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 775, + "id": 267, "indexExpression": { - "id": 774, + "id": 266, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10622:11:1", + "referencedDeclaration": 255, + "src": "10929:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3345,7 +3345,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "10601:33:1", + "src": "10908:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3355,56 +3355,56 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 776, + "id": 268, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "10637:4:1", + "src": "10944:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "10601:40:1", + "src": "10908:40:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 778, + "id": 270, "nodeType": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ] }, "documentation": { - "id": 761, + "id": 253, "nodeType": "StructuredDocumentation", - "src": "10062:383:1", + "src": "10356:393:0", "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 780, + "id": 272, "implemented": true, "kind": "function", "modifiers": [], "name": "_registerInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 764, + "id": 256, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 763, + "id": 255, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 780, - "src": "10478:18:1", + "scope": 272, + "src": "10783:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3412,10 +3412,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 762, + "id": 254, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "10478:6:1", + "src": "10783:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3424,26 +3424,26 @@ "visibility": "internal" } ], - "src": "10477:20:1" + "src": "10782:20:0" }, "returnParameters": { - "id": 765, + "id": 257, "nodeType": "ParameterList", "parameters": [], - "src": "10515:0:1" + "src": "10820:0:0" }, - "scope": 781, - "src": "10450:198:1", + "scope": 273, + "src": "10755:201:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "9215:1435:1" + "scope": 2991, + "src": "9483:1476:0" }, { - "id": 782, + "id": 274, "literals": [ "solidity", ">=", @@ -3454,7 +3454,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "abstract": false, @@ -3462,38 +3462,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 783, + "id": 275, "nodeType": "StructuredDocumentation", - "src": "10736:563:1", + "src": "11050:575:0", "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, "fullyImplemented": true, - "id": 1135, + "id": 627, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 813, + "id": 305, "nodeType": "Block", - "src": "11535:98:1", + "src": "11868:102:0", "statements": [ { "assignments": [ - 796 + 288 ], "declarations": [ { "constant": false, - "id": 796, + "id": 288, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 813, - "src": "11545:9:1", + "scope": 305, + "src": "11879:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3501,10 +3501,10 @@ "typeString": "uint256" }, "typeName": { - "id": 795, + "id": 287, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11545:7:1", + "src": "11879:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3513,24 +3513,24 @@ "visibility": "internal" } ], - "id": 800, + "id": 292, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 799, + "id": 291, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 797, + "id": 289, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11557:1:1", + "referencedDeclaration": 278, + "src": "11891:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3539,25 +3539,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 798, + "id": 290, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 788, - "src": "11561:1:1", + "referencedDeclaration": 280, + "src": "11895:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11557:5:1", + "src": "11891:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "condition": { @@ -3565,18 +3565,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 803, + "id": 295, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 801, + "id": 293, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11576:1:1", + "referencedDeclaration": 288, + "src": "11911:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3585,39 +3585,39 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 802, + "id": 294, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11580:1:1", + "referencedDeclaration": 278, + "src": "11915:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11576:5:1", + "src": "11911:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 808, + "id": 300, "nodeType": "IfStatement", - "src": "11572:28:1", + "src": "11907:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 804, + "id": 296, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11591:5:1", + "src": "11926:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3626,14 +3626,14 @@ }, { "hexValue": "30", - "id": 805, + "id": 297, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11598:1:1", + "src": "11933:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3641,23 +3641,23 @@ "value": "0" } ], - "id": 806, + "id": 298, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11590:10:1", + "src": "11925:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 794, - "id": 807, + "functionReturnParameters": 286, + "id": 299, "nodeType": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } }, { @@ -3665,14 +3665,14 @@ "components": [ { "hexValue": "74727565", - "id": 809, + "id": 301, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11618:4:1", + "src": "11954:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3680,62 +3680,62 @@ "value": "true" }, { - "id": 810, + "id": 302, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11624:1:1", + "referencedDeclaration": 288, + "src": "11960:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 811, + "id": 303, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11617:9:1", + "src": "11953:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 794, - "id": 812, + "functionReturnParameters": 286, + "id": 304, "nodeType": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ] }, "documentation": { - "id": 784, + "id": 276, "nodeType": "StructuredDocumentation", - "src": "11323:131:1", + "src": "11651:135:0", "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 814, + "id": 306, "implemented": true, "kind": "function", "modifiers": [], "name": "tryAdd", "nodeType": "FunctionDefinition", "parameters": { - "id": 789, + "id": 281, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 786, + "id": 278, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11475:9:1", + "scope": 306, + "src": "11808:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3743,10 +3743,10 @@ "typeString": "uint256" }, "typeName": { - "id": 785, + "id": 277, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11475:7:1", + "src": "11808:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3756,12 +3756,12 @@ }, { "constant": false, - "id": 788, + "id": 280, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11486:9:1", + "scope": 306, + "src": "11819:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3769,10 +3769,10 @@ "typeString": "uint256" }, "typeName": { - "id": 787, + "id": 279, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11486:7:1", + "src": "11819:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3781,20 +3781,20 @@ "visibility": "internal" } ], - "src": "11474:22:1" + "src": "11807:22:0" }, "returnParameters": { - "id": 794, + "id": 286, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 791, + "id": 283, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11520:4:1", + "scope": 306, + "src": "11853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3802,10 +3802,10 @@ "typeString": "bool" }, "typeName": { - "id": 790, + "id": 282, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11520:4:1", + "src": "11853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3815,12 +3815,12 @@ }, { "constant": false, - "id": 793, + "id": 285, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11526:7:1", + "scope": 306, + "src": "11859:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3828,10 +3828,10 @@ "typeString": "uint256" }, "typeName": { - "id": 792, + "id": 284, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11526:7:1", + "src": "11859:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3840,19 +3840,19 @@ "visibility": "internal" } ], - "src": "11519:15:1" + "src": "11852:15:0" }, - "scope": 1135, - "src": "11459:174:1", + "scope": 627, + "src": "11792:178:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 840, + "id": 332, "nodeType": "Block", - "src": "11855:75:1", + "src": "12199:78:0", "statements": [ { "condition": { @@ -3860,18 +3860,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 828, + "id": 320, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 826, + "id": 318, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11869:1:1", + "referencedDeclaration": 311, + "src": "12214:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3880,39 +3880,39 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 827, + "id": 319, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11873:1:1", + "referencedDeclaration": 309, + "src": "12218:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11869:5:1", + "src": "12214:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 833, + "id": 325, "nodeType": "IfStatement", - "src": "11865:28:1", + "src": "12210:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 829, + "id": 321, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11884:5:1", + "src": "12229:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3921,14 +3921,14 @@ }, { "hexValue": "30", - "id": 830, + "id": 322, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11891:1:1", + "src": "12236:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3936,23 +3936,23 @@ "value": "0" } ], - "id": 831, + "id": 323, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11883:10:1", + "src": "12228:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 825, - "id": 832, + "functionReturnParameters": 317, + "id": 324, "nodeType": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } }, { @@ -3960,14 +3960,14 @@ "components": [ { "hexValue": "74727565", - "id": 834, + "id": 326, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11911:4:1", + "src": "12257:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3979,18 +3979,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 837, + "id": 329, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 835, + "id": 327, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11917:1:1", + "referencedDeclaration": 309, + "src": "12263:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3999,68 +3999,68 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 836, + "id": 328, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11921:1:1", + "referencedDeclaration": 311, + "src": "12267:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11917:5:1", + "src": "12263:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 838, + "id": 330, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11910:13:1", + "src": "12256:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 825, - "id": 839, + "functionReturnParameters": 317, + "id": 331, "nodeType": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ] }, "documentation": { - "id": 815, + "id": 307, "nodeType": "StructuredDocumentation", - "src": "11639:135:1", + "src": "11978:139:0", "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 841, + "id": 333, "implemented": true, "kind": "function", "modifiers": [], "name": "trySub", "nodeType": "FunctionDefinition", "parameters": { - "id": 820, + "id": 312, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 817, + "id": 309, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11795:9:1", + "scope": 333, + "src": "12139:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4068,10 +4068,10 @@ "typeString": "uint256" }, "typeName": { - "id": 816, + "id": 308, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11795:7:1", + "src": "12139:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4081,12 +4081,12 @@ }, { "constant": false, - "id": 819, + "id": 311, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11806:9:1", + "scope": 333, + "src": "12150:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4094,10 +4094,10 @@ "typeString": "uint256" }, "typeName": { - "id": 818, + "id": 310, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11806:7:1", + "src": "12150:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4106,20 +4106,20 @@ "visibility": "internal" } ], - "src": "11794:22:1" + "src": "12138:22:0" }, "returnParameters": { - "id": 825, + "id": 317, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 822, + "id": 314, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11840:4:1", + "scope": 333, + "src": "12184:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4127,10 +4127,10 @@ "typeString": "bool" }, "typeName": { - "id": 821, + "id": 313, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11840:4:1", + "src": "12184:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4140,12 +4140,12 @@ }, { "constant": false, - "id": 824, + "id": 316, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11846:7:1", + "scope": 333, + "src": "12190:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4153,10 +4153,10 @@ "typeString": "uint256" }, "typeName": { - "id": 823, + "id": 315, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11846:7:1", + "src": "12190:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4165,19 +4165,19 @@ "visibility": "internal" } ], - "src": "11839:15:1" + "src": "12183:15:0" }, - "scope": 1135, - "src": "11779:151:1", + "scope": 627, + "src": "12123:154:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 881, + "id": 373, "nodeType": "Block", - "src": "12154:359:1", + "src": "12508:367:0", "statements": [ { "condition": { @@ -4185,18 +4185,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 855, + "id": 347, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 853, + "id": 345, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12386:1:1", + "referencedDeclaration": 336, + "src": "12744:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4206,42 +4206,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 854, + "id": 346, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12391:1:1", + "src": "12749:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12386:6:1", + "src": "12744:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 860, + "id": 352, "nodeType": "IfStatement", - "src": "12382:28:1", + "src": "12740:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "74727565", - "id": 856, + "id": 348, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12402:4:1", + "src": "12760:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4250,14 +4250,14 @@ }, { "hexValue": "30", - "id": 857, + "id": 349, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12408:1:1", + "src": "12766:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4265,38 +4265,38 @@ "value": "0" } ], - "id": 858, + "id": 350, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12401:9:1", + "src": "12759:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 859, + "functionReturnParameters": 344, + "id": 351, "nodeType": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } }, { "assignments": [ - 862 + 354 ], "declarations": [ { "constant": false, - "id": 862, + "id": 354, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 881, - "src": "12420:9:1", + "scope": 373, + "src": "12779:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4304,10 +4304,10 @@ "typeString": "uint256" }, "typeName": { - "id": 861, + "id": 353, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12420:7:1", + "src": "12779:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4316,24 +4316,24 @@ "visibility": "internal" } ], - "id": 866, + "id": 358, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 865, + "id": 357, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 863, + "id": 355, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12432:1:1", + "referencedDeclaration": 336, + "src": "12791:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4342,25 +4342,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 864, + "id": 356, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12436:1:1", + "referencedDeclaration": 338, + "src": "12795:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12432:5:1", + "src": "12791:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "condition": { @@ -4368,7 +4368,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 871, + "id": 363, "isConstant": false, "isLValue": false, "isPure": false, @@ -4378,18 +4378,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 869, + "id": 361, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 867, + "id": 359, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12451:1:1", + "referencedDeclaration": 354, + "src": "12811:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4398,18 +4398,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 868, + "id": 360, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12455:1:1", + "referencedDeclaration": 336, + "src": "12815:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:5:1", + "src": "12811:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4418,39 +4418,39 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 870, + "id": 362, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12460:1:1", + "referencedDeclaration": 338, + "src": "12820:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:10:1", + "src": "12811:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 876, + "id": 368, "nodeType": "IfStatement", - "src": "12447:33:1", + "src": "12807:33:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 872, + "id": 364, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12471:5:1", + "src": "12831:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4459,14 +4459,14 @@ }, { "hexValue": "30", - "id": 873, + "id": 365, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12478:1:1", + "src": "12838:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4474,23 +4474,23 @@ "value": "0" } ], - "id": 874, + "id": 366, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12470:10:1", + "src": "12830:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 875, + "functionReturnParameters": 344, + "id": 367, "nodeType": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } }, { @@ -4498,14 +4498,14 @@ "components": [ { "hexValue": "74727565", - "id": 877, + "id": 369, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12498:4:1", + "src": "12859:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4513,62 +4513,62 @@ "value": "true" }, { - "id": 878, + "id": 370, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12504:1:1", + "referencedDeclaration": 354, + "src": "12865:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 879, + "id": 371, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12497:9:1", + "src": "12858:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 852, - "id": 880, + "functionReturnParameters": 344, + "id": 372, "nodeType": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ] }, "documentation": { - "id": 842, + "id": 334, "nodeType": "StructuredDocumentation", - "src": "11936:137:1", + "src": "12285:141:0", "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 882, + "id": 374, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMul", "nodeType": "FunctionDefinition", "parameters": { - "id": 847, + "id": 339, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 844, + "id": 336, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12094:9:1", + "scope": 374, + "src": "12448:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4576,10 +4576,10 @@ "typeString": "uint256" }, "typeName": { - "id": 843, + "id": 335, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12094:7:1", + "src": "12448:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4589,12 +4589,12 @@ }, { "constant": false, - "id": 846, + "id": 338, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12105:9:1", + "scope": 374, + "src": "12459:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4602,10 +4602,10 @@ "typeString": "uint256" }, "typeName": { - "id": 845, + "id": 337, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12105:7:1", + "src": "12459:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4614,20 +4614,20 @@ "visibility": "internal" } ], - "src": "12093:22:1" + "src": "12447:22:0" }, "returnParameters": { - "id": 852, + "id": 344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 849, + "id": 341, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12139:4:1", + "scope": 374, + "src": "12493:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4635,10 +4635,10 @@ "typeString": "bool" }, "typeName": { - "id": 848, + "id": 340, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12139:4:1", + "src": "12493:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4648,12 +4648,12 @@ }, { "constant": false, - "id": 851, + "id": 343, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12145:7:1", + "scope": 374, + "src": "12499:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4661,10 +4661,10 @@ "typeString": "uint256" }, "typeName": { - "id": 850, + "id": 342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12145:7:1", + "src": "12499:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4673,19 +4673,19 @@ "visibility": "internal" } ], - "src": "12138:15:1" + "src": "12492:15:0" }, - "scope": 1135, - "src": "12078:435:1", + "scope": 627, + "src": "12432:443:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 908, + "id": 400, "nodeType": "Block", - "src": "12738:76:1", + "src": "13107:79:0", "statements": [ { "condition": { @@ -4693,18 +4693,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 896, + "id": 388, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 894, + "id": 386, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12752:1:1", + "referencedDeclaration": 379, + "src": "13122:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4714,42 +4714,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 895, + "id": 387, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12757:1:1", + "src": "13127:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12752:6:1", + "src": "13122:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 901, + "id": 393, "nodeType": "IfStatement", - "src": "12748:29:1", + "src": "13118:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 897, + "id": 389, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12768:5:1", + "src": "13138:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4758,14 +4758,14 @@ }, { "hexValue": "30", - "id": 898, + "id": 390, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12775:1:1", + "src": "13145:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4773,23 +4773,23 @@ "value": "0" } ], - "id": 899, + "id": 391, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12767:10:1", + "src": "13137:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 893, - "id": 900, + "functionReturnParameters": 385, + "id": 392, "nodeType": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } }, { @@ -4797,14 +4797,14 @@ "components": [ { "hexValue": "74727565", - "id": 902, + "id": 394, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12795:4:1", + "src": "13166:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4816,18 +4816,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 905, + "id": 397, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 903, + "id": 395, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 885, - "src": "12801:1:1", + "referencedDeclaration": 377, + "src": "13172:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4836,68 +4836,68 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 904, + "id": 396, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12805:1:1", + "referencedDeclaration": 379, + "src": "13176:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12801:5:1", + "src": "13172:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 906, + "id": 398, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12794:13:1", + "src": "13165:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 893, - "id": 907, + "functionReturnParameters": 385, + "id": 399, "nodeType": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ] }, "documentation": { - "id": 883, + "id": 375, "nodeType": "StructuredDocumentation", - "src": "12519:138:1", + "src": "12883:142:0", "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 909, + "id": 401, "implemented": true, "kind": "function", "modifiers": [], "name": "tryDiv", "nodeType": "FunctionDefinition", "parameters": { - "id": 888, + "id": 380, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 885, + "id": 377, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12678:9:1", + "scope": 401, + "src": "13047:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4905,10 +4905,10 @@ "typeString": "uint256" }, "typeName": { - "id": 884, + "id": 376, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12678:7:1", + "src": "13047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4918,12 +4918,12 @@ }, { "constant": false, - "id": 887, + "id": 379, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12689:9:1", + "scope": 401, + "src": "13058:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4931,10 +4931,10 @@ "typeString": "uint256" }, "typeName": { - "id": 886, + "id": 378, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12689:7:1", + "src": "13058:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4943,20 +4943,20 @@ "visibility": "internal" } ], - "src": "12677:22:1" + "src": "13046:22:0" }, "returnParameters": { - "id": 893, + "id": 385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 890, + "id": 382, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12723:4:1", + "scope": 401, + "src": "13092:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4964,10 +4964,10 @@ "typeString": "bool" }, "typeName": { - "id": 889, + "id": 381, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12723:4:1", + "src": "13092:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4977,12 +4977,12 @@ }, { "constant": false, - "id": 892, + "id": 384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12729:7:1", + "scope": 401, + "src": "13098:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4990,10 +4990,10 @@ "typeString": "uint256" }, "typeName": { - "id": 891, + "id": 383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12729:7:1", + "src": "13098:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5002,19 +5002,19 @@ "visibility": "internal" } ], - "src": "12722:15:1" + "src": "13091:15:0" }, - "scope": 1135, - "src": "12662:152:1", + "scope": 627, + "src": "13031:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 935, + "id": 427, "nodeType": "Block", - "src": "13049:76:1", + "src": "13428:79:0", "statements": [ { "condition": { @@ -5022,18 +5022,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 923, + "id": 415, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 921, + "id": 413, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13063:1:1", + "referencedDeclaration": 406, + "src": "13443:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5043,42 +5043,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 922, + "id": 414, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13068:1:1", + "src": "13448:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "13063:6:1", + "src": "13443:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 928, + "id": 420, "nodeType": "IfStatement", - "src": "13059:29:1", + "src": "13439:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 924, + "id": 416, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13079:5:1", + "src": "13459:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5087,14 +5087,14 @@ }, { "hexValue": "30", - "id": 925, + "id": 417, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13086:1:1", + "src": "13466:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -5102,23 +5102,23 @@ "value": "0" } ], - "id": 926, + "id": 418, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13078:10:1", + "src": "13458:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 920, - "id": 927, + "functionReturnParameters": 412, + "id": 419, "nodeType": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } }, { @@ -5126,14 +5126,14 @@ "components": [ { "hexValue": "74727565", - "id": 929, + "id": 421, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13106:4:1", + "src": "13487:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5145,18 +5145,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 932, + "id": 424, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 930, + "id": 422, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 912, - "src": "13112:1:1", + "referencedDeclaration": 404, + "src": "13493:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5165,68 +5165,68 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 931, + "id": 423, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13116:1:1", + "referencedDeclaration": 406, + "src": "13497:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13112:5:1", + "src": "13493:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 933, + "id": 425, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13105:13:1", + "src": "13486:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 920, - "id": 934, + "functionReturnParameters": 412, + "id": 426, "nodeType": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ] }, "documentation": { - "id": 910, + "id": 402, "nodeType": "StructuredDocumentation", - "src": "12820:148:1", + "src": "13194:152:0", "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 936, + "id": 428, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMod", "nodeType": "FunctionDefinition", "parameters": { - "id": 915, + "id": 407, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 912, + "id": 404, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "12989:9:1", + "scope": 428, + "src": "13368:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5234,10 +5234,10 @@ "typeString": "uint256" }, "typeName": { - "id": 911, + "id": 403, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12989:7:1", + "src": "13368:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5247,12 +5247,12 @@ }, { "constant": false, - "id": 914, + "id": 406, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13000:9:1", + "scope": 428, + "src": "13379:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5260,10 +5260,10 @@ "typeString": "uint256" }, "typeName": { - "id": 913, + "id": 405, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13000:7:1", + "src": "13379:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5272,20 +5272,20 @@ "visibility": "internal" } ], - "src": "12988:22:1" + "src": "13367:22:0" }, "returnParameters": { - "id": 920, + "id": 412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 917, + "id": 409, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13034:4:1", + "scope": 428, + "src": "13413:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5293,10 +5293,10 @@ "typeString": "bool" }, "typeName": { - "id": 916, + "id": 408, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "13034:4:1", + "src": "13413:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5306,12 +5306,12 @@ }, { "constant": false, - "id": 919, + "id": 411, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13040:7:1", + "scope": 428, + "src": "13419:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5319,10 +5319,10 @@ "typeString": "uint256" }, "typeName": { - "id": 918, + "id": 410, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13040:7:1", + "src": "13419:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5331,33 +5331,33 @@ "visibility": "internal" } ], - "src": "13033:15:1" + "src": "13412:15:0" }, - "scope": 1135, - "src": "12973:152:1", + "scope": 627, + "src": "13352:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 961, + "id": 453, "nodeType": "Block", - "src": "13427:108:1", + "src": "13821:112:0", "statements": [ { "assignments": [ - 947 + 439 ], "declarations": [ { "constant": false, - "id": 947, + "id": 439, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 961, - "src": "13437:9:1", + "scope": 453, + "src": "13832:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5365,10 +5365,10 @@ "typeString": "uint256" }, "typeName": { - "id": 946, + "id": 438, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13437:7:1", + "src": "13832:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5377,24 +5377,24 @@ "visibility": "internal" } ], - "id": 951, + "id": 443, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 950, + "id": 442, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 948, + "id": 440, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13449:1:1", + "referencedDeclaration": 431, + "src": "13844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5403,25 +5403,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 949, + "id": 441, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 941, - "src": "13453:1:1", + "referencedDeclaration": 433, + "src": "13848:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13449:5:1", + "src": "13844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "expression": { @@ -5431,18 +5431,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 955, + "id": 447, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 953, + "id": 445, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13472:1:1", + "referencedDeclaration": 439, + "src": "13868:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5451,18 +5451,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 954, + "id": 446, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13477:1:1", + "referencedDeclaration": 431, + "src": "13873:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13472:6:1", + "src": "13868:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5470,14 +5470,14 @@ }, { "hexValue": "536166654d6174683a206164646974696f6e206f766572666c6f77", - "id": 956, + "id": 448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13480:29:1", + "src": "13876:29:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_30cc447bcc13b3e22b45cef0dd9b0b514842d836dd9b6eb384e20dedfb47723a", "typeString": "literal_string \"SafeMath: addition overflow\"" @@ -5496,7 +5496,7 @@ "typeString": "literal_string \"SafeMath: addition overflow\"" } ], - "id": 952, + "id": 444, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5504,13 +5504,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13464:7:1", + "src": "13860:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 957, + "id": 449, "isConstant": false, "isLValue": false, "isPure": false, @@ -5518,61 +5518,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13464:46:1", + "src": "13860:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 958, + "id": 450, "nodeType": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "expression": { - "id": 959, + "id": 451, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13527:1:1", + "referencedDeclaration": 439, + "src": "13924:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 945, - "id": 960, + "functionReturnParameters": 437, + "id": 452, "nodeType": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ] }, "documentation": { - "id": 937, + "id": 429, "nodeType": "StructuredDocumentation", - "src": "13131:224:1", + "src": "13515:233:0", "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 962, + "id": 454, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 942, + "id": 434, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 939, + "id": 431, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13373:9:1", + "scope": 454, + "src": "13767:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5580,10 +5580,10 @@ "typeString": "uint256" }, "typeName": { - "id": 938, + "id": 430, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13373:7:1", + "src": "13767:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5593,12 +5593,12 @@ }, { "constant": false, - "id": 941, + "id": 433, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13384:9:1", + "scope": 454, + "src": "13778:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5606,10 +5606,10 @@ "typeString": "uint256" }, "typeName": { - "id": 940, + "id": 432, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13384:7:1", + "src": "13778:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5618,20 +5618,20 @@ "visibility": "internal" } ], - "src": "13372:22:1" + "src": "13766:22:0" }, "returnParameters": { - "id": 945, + "id": 437, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 944, + "id": 436, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13418:7:1", + "scope": 454, + "src": "13812:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5639,10 +5639,10 @@ "typeString": "uint256" }, "typeName": { - "id": 943, + "id": 435, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13418:7:1", + "src": "13812:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5651,19 +5651,19 @@ "visibility": "internal" } ], - "src": "13417:9:1" + "src": "13811:9:0" }, - "scope": 1135, - "src": "13360:175:1", + "scope": 627, + "src": "13754:179:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 983, + "id": 475, "nodeType": "Block", - "src": "13873:88:1", + "src": "14283:91:0", "statements": [ { "expression": { @@ -5673,18 +5673,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 975, + "id": 467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 973, + "id": 465, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13891:1:1", + "referencedDeclaration": 459, + "src": "14302:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5693,18 +5693,18 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 974, + "id": 466, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13896:1:1", + "referencedDeclaration": 457, + "src": "14307:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13891:6:1", + "src": "14302:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5712,14 +5712,14 @@ }, { "hexValue": "536166654d6174683a207375627472616374696f6e206f766572666c6f77", - "id": 976, + "id": 468, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13899:32:1", + "src": "14310:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_50b058e9b5320e58880d88223c9801cd9eecdcf90323d5c2318bc1b6b916e862", "typeString": "literal_string \"SafeMath: subtraction overflow\"" @@ -5738,7 +5738,7 @@ "typeString": "literal_string \"SafeMath: subtraction overflow\"" } ], - "id": 972, + "id": 464, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5746,13 +5746,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13883:7:1", + "src": "14294:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 977, + "id": 469, "isConstant": false, "isLValue": false, "isPure": false, @@ -5760,16 +5760,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13883:49:1", + "src": "14294:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 978, + "id": 470, "nodeType": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "expression": { @@ -5777,18 +5777,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 981, + "id": 473, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 979, + "id": 471, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13949:1:1", + "referencedDeclaration": 457, + "src": "14361:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5797,54 +5797,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 980, + "id": 472, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13953:1:1", + "referencedDeclaration": 459, + "src": "14365:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13949:5:1", + "src": "14361:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 971, - "id": 982, + "functionReturnParameters": 463, + "id": 474, "nodeType": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ] }, "documentation": { - "id": 963, + "id": 455, "nodeType": "StructuredDocumentation", - "src": "13541:260:1", + "src": "13941:269:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 984, + "id": 476, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 968, + "id": 460, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 965, + "id": 457, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13819:9:1", + "scope": 476, + "src": "14229:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5852,10 +5852,10 @@ "typeString": "uint256" }, "typeName": { - "id": 964, + "id": 456, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13819:7:1", + "src": "14229:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5865,12 +5865,12 @@ }, { "constant": false, - "id": 967, + "id": 459, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13830:9:1", + "scope": 476, + "src": "14240:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5878,10 +5878,10 @@ "typeString": "uint256" }, "typeName": { - "id": 966, + "id": 458, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13830:7:1", + "src": "14240:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5890,20 +5890,20 @@ "visibility": "internal" } ], - "src": "13818:22:1" + "src": "14228:22:0" }, "returnParameters": { - "id": 971, + "id": 463, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 970, + "id": 462, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13864:7:1", + "scope": 476, + "src": "14274:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5911,10 +5911,10 @@ "typeString": "uint256" }, "typeName": { - "id": 969, + "id": 461, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13864:7:1", + "src": "14274:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5923,19 +5923,19 @@ "visibility": "internal" } ], - "src": "13863:9:1" + "src": "14273:9:0" }, - "scope": 1135, - "src": "13806:155:1", + "scope": 627, + "src": "14216:158:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1017, + "id": 509, "nodeType": "Block", - "src": "14275:148:1", + "src": "14700:153:0", "statements": [ { "condition": { @@ -5943,18 +5943,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 996, + "id": 488, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 994, + "id": 486, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14289:1:1", + "referencedDeclaration": 479, + "src": "14715:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5964,65 +5964,65 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 995, + "id": 487, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14294:1:1", + "src": "14720:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14289:6:1", + "src": "14715:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 999, + "id": 491, "nodeType": "IfStatement", - "src": "14285:20:1", + "src": "14711:20:0", "trueBody": { "expression": { "hexValue": "30", - "id": 997, + "id": 489, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14304:1:1", + "src": "14730:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "functionReturnParameters": 993, - "id": 998, + "functionReturnParameters": 485, + "id": 490, "nodeType": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } }, { "assignments": [ - 1001 + 493 ], "declarations": [ { "constant": false, - "id": 1001, + "id": 493, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 1017, - "src": "14315:9:1", + "scope": 509, + "src": "14742:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6030,10 +6030,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1000, + "id": 492, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14315:7:1", + "src": "14742:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6042,24 +6042,24 @@ "visibility": "internal" } ], - "id": 1005, + "id": 497, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1004, + "id": 496, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1002, + "id": 494, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14327:1:1", + "referencedDeclaration": 479, + "src": "14754:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6068,25 +6068,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 1003, + "id": 495, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14331:1:1", + "referencedDeclaration": 481, + "src": "14758:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14327:5:1", + "src": "14754:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "expression": { @@ -6096,7 +6096,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1011, + "id": 503, "isConstant": false, "isLValue": false, "isPure": false, @@ -6106,18 +6106,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1009, + "id": 501, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1007, + "id": 499, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14350:1:1", + "referencedDeclaration": 493, + "src": "14778:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6126,18 +6126,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1008, + "id": 500, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14354:1:1", + "referencedDeclaration": 479, + "src": "14782:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:5:1", + "src": "14778:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6146,18 +6146,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 1010, + "id": 502, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14359:1:1", + "referencedDeclaration": 481, + "src": "14787:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:10:1", + "src": "14778:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6165,14 +6165,14 @@ }, { "hexValue": "536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77", - "id": 1012, + "id": 504, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14362:35:1", + "src": "14790:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9113bb53c2876a3805b2c9242029423fc540a728243ce887ab24c82cf119fba3", "typeString": "literal_string \"SafeMath: multiplication overflow\"" @@ -6191,7 +6191,7 @@ "typeString": "literal_string \"SafeMath: multiplication overflow\"" } ], - "id": 1006, + "id": 498, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6199,13 +6199,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14342:7:1", + "src": "14770:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1013, + "id": 505, "isConstant": false, "isLValue": false, "isPure": false, @@ -6213,61 +6213,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14342:56:1", + "src": "14770:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1014, + "id": 506, "nodeType": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "expression": { - "id": 1015, + "id": 507, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14415:1:1", + "referencedDeclaration": 493, + "src": "14844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 993, - "id": 1016, + "functionReturnParameters": 485, + "id": 508, "nodeType": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ] }, "documentation": { - "id": 985, + "id": 477, "nodeType": "StructuredDocumentation", - "src": "13967:236:1", + "src": "14382:245:0", "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 1018, + "id": 510, "implemented": true, "kind": "function", "modifiers": [], "name": "mul", "nodeType": "FunctionDefinition", "parameters": { - "id": 990, + "id": 482, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 987, + "id": 479, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14221:9:1", + "scope": 510, + "src": "14646:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6275,10 +6275,10 @@ "typeString": "uint256" }, "typeName": { - "id": 986, + "id": 478, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14221:7:1", + "src": "14646:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6288,12 +6288,12 @@ }, { "constant": false, - "id": 989, + "id": 481, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14232:9:1", + "scope": 510, + "src": "14657:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6301,10 +6301,10 @@ "typeString": "uint256" }, "typeName": { - "id": 988, + "id": 480, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14232:7:1", + "src": "14657:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6313,20 +6313,20 @@ "visibility": "internal" } ], - "src": "14220:22:1" + "src": "14645:22:0" }, "returnParameters": { - "id": 993, + "id": 485, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 992, + "id": 484, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14266:7:1", + "scope": 510, + "src": "14691:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6334,10 +6334,10 @@ "typeString": "uint256" }, "typeName": { - "id": 991, + "id": 483, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14266:7:1", + "src": "14691:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6346,19 +6346,19 @@ "visibility": "internal" } ], - "src": "14265:9:1" + "src": "14690:9:0" }, - "scope": 1135, - "src": "14208:215:1", + "scope": 627, + "src": "14633:220:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1039, + "id": 531, "nodeType": "Block", - "src": "14954:83:1", + "src": "15398:86:0", "statements": [ { "expression": { @@ -6368,18 +6368,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1031, + "id": 523, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1029, + "id": 521, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "14972:1:1", + "referencedDeclaration": 515, + "src": "15417:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6389,21 +6389,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1030, + "id": 522, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14976:1:1", + "src": "15421:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14972:5:1", + "src": "15417:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6411,14 +6411,14 @@ }, { "hexValue": "536166654d6174683a206469766973696f6e206279207a65726f", - "id": 1032, + "id": 524, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14979:28:1", + "src": "15424:28:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5b7cc70dda4dc2143e5adb63bd5d1f349504f461dbdfd9bc76fac1f8ca6d019f", "typeString": "literal_string \"SafeMath: division by zero\"" @@ -6437,7 +6437,7 @@ "typeString": "literal_string \"SafeMath: division by zero\"" } ], - "id": 1028, + "id": 520, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6445,13 +6445,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14964:7:1", + "src": "15409:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1033, + "id": 525, "isConstant": false, "isLValue": false, "isPure": false, @@ -6459,16 +6459,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14964:44:1", + "src": "15409:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1034, + "id": 526, "nodeType": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "expression": { @@ -6476,18 +6476,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1037, + "id": 529, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1035, + "id": 527, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1021, - "src": "15025:1:1", + "referencedDeclaration": 513, + "src": "15471:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6496,54 +6496,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1036, + "id": 528, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "15029:1:1", + "referencedDeclaration": 515, + "src": "15475:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15025:5:1", + "src": "15471:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1027, - "id": 1038, + "functionReturnParameters": 519, + "id": 530, "nodeType": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ] }, "documentation": { - "id": 1019, + "id": 511, "nodeType": "StructuredDocumentation", - "src": "14429:453:1", + "src": "14861:464:0", "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1040, + "id": 532, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1024, + "id": 516, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1021, + "id": 513, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14900:9:1", + "scope": 532, + "src": "15344:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6551,10 +6551,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1020, + "id": 512, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14900:7:1", + "src": "15344:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6564,12 +6564,12 @@ }, { "constant": false, - "id": 1023, + "id": 515, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14911:9:1", + "scope": 532, + "src": "15355:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6577,10 +6577,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1022, + "id": 514, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14911:7:1", + "src": "15355:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6589,20 +6589,20 @@ "visibility": "internal" } ], - "src": "14899:22:1" + "src": "15343:22:0" }, "returnParameters": { - "id": 1027, + "id": 519, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1026, + "id": 518, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14945:7:1", + "scope": 532, + "src": "15389:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6610,10 +6610,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1025, + "id": 517, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14945:7:1", + "src": "15389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6622,19 +6622,19 @@ "visibility": "internal" } ], - "src": "14944:9:1" + "src": "15388:9:0" }, - "scope": 1135, - "src": "14887:150:1", + "scope": 627, + "src": "15331:153:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1061, + "id": 553, "nodeType": "Block", - "src": "15557:81:1", + "src": "16018:84:0", "statements": [ { "expression": { @@ -6644,18 +6644,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1053, + "id": 545, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1051, + "id": 543, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15575:1:1", + "referencedDeclaration": 537, + "src": "16037:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6665,21 +6665,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1052, + "id": 544, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15579:1:1", + "src": "16041:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "15575:5:1", + "src": "16037:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6687,14 +6687,14 @@ }, { "hexValue": "536166654d6174683a206d6f64756c6f206279207a65726f", - "id": 1054, + "id": 546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "15582:26:1", + "src": "16044:26:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_726e51f7b81fce0a68f5f214f445e275313b20b1633f08ce954ee39abf8d7832", "typeString": "literal_string \"SafeMath: modulo by zero\"" @@ -6713,7 +6713,7 @@ "typeString": "literal_string \"SafeMath: modulo by zero\"" } ], - "id": 1050, + "id": 542, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6721,13 +6721,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "15567:7:1", + "src": "16029:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1055, + "id": 547, "isConstant": false, "isLValue": false, "isPure": false, @@ -6735,16 +6735,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15567:42:1", + "src": "16029:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1056, + "id": 548, "nodeType": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "expression": { @@ -6752,18 +6752,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1059, + "id": 551, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1057, + "id": 549, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1043, - "src": "15626:1:1", + "referencedDeclaration": 535, + "src": "16089:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6772,54 +6772,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1058, + "id": 550, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15630:1:1", + "referencedDeclaration": 537, + "src": "16093:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15626:5:1", + "src": "16089:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1049, - "id": 1060, + "functionReturnParameters": 541, + "id": 552, "nodeType": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ] }, "documentation": { - "id": 1041, + "id": 533, "nodeType": "StructuredDocumentation", - "src": "15043:442:1", + "src": "15492:453:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1062, + "id": 554, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1046, + "id": 538, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1043, + "id": 535, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15503:9:1", + "scope": 554, + "src": "15964:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6827,10 +6827,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1042, + "id": 534, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15503:7:1", + "src": "15964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6840,12 +6840,12 @@ }, { "constant": false, - "id": 1045, + "id": 537, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15514:9:1", + "scope": 554, + "src": "15975:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6853,10 +6853,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1044, + "id": 536, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15514:7:1", + "src": "15975:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6865,20 +6865,20 @@ "visibility": "internal" } ], - "src": "15502:22:1" + "src": "15963:22:0" }, "returnParameters": { - "id": 1049, + "id": 541, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1048, + "id": 540, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15548:7:1", + "scope": 554, + "src": "16009:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6886,10 +6886,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1047, + "id": 539, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15548:7:1", + "src": "16009:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6898,19 +6898,19 @@ "visibility": "internal" } ], - "src": "15547:9:1" + "src": "16008:9:0" }, - "scope": 1135, - "src": "15490:148:1", + "scope": 627, + "src": "15951:151:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1085, + "id": 577, "nodeType": "Block", - "src": "16197:68:1", + "src": "16676:71:0", "statements": [ { "expression": { @@ -6920,18 +6920,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1077, + "id": 569, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1075, + "id": 567, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16215:1:1", + "referencedDeclaration": 559, + "src": "16695:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6940,30 +6940,30 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 1076, + "id": 568, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16220:1:1", + "referencedDeclaration": 557, + "src": "16700:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16215:6:1", + "src": "16695:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1078, + "id": 570, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1069, - "src": "16223:12:1", + "referencedDeclaration": 561, + "src": "16703:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6981,7 +6981,7 @@ "typeString": "string memory" } ], - "id": 1074, + "id": 566, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6989,13 +6989,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "16207:7:1", + "src": "16687:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1079, + "id": 571, "isConstant": false, "isLValue": false, "isPure": false, @@ -7003,16 +7003,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16207:29:1", + "src": "16687:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1080, + "id": 572, "nodeType": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "expression": { @@ -7020,18 +7020,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1083, + "id": 575, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1081, + "id": 573, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16253:1:1", + "referencedDeclaration": 557, + "src": "16734:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7040,54 +7040,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 1082, + "id": 574, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16257:1:1", + "referencedDeclaration": 559, + "src": "16738:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16253:5:1", + "src": "16734:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1073, - "id": 1084, + "functionReturnParameters": 565, + "id": 576, "nodeType": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ] }, "documentation": { - "id": 1063, + "id": 555, "nodeType": "StructuredDocumentation", - "src": "15644:453:1", + "src": "16110:465:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1086, + "id": 578, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 1070, + "id": 562, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1065, + "id": 557, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16115:9:1", + "scope": 578, + "src": "16594:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7095,10 +7095,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1064, + "id": 556, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16115:7:1", + "src": "16594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7108,12 +7108,12 @@ }, { "constant": false, - "id": 1067, + "id": 559, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16126:9:1", + "scope": 578, + "src": "16605:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7121,10 +7121,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1066, + "id": 558, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16126:7:1", + "src": "16605:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7134,12 +7134,12 @@ }, { "constant": false, - "id": 1069, + "id": 561, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16137:26:1", + "scope": 578, + "src": "16616:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7147,10 +7147,10 @@ "typeString": "string" }, "typeName": { - "id": 1068, + "id": 560, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16137:6:1", + "src": "16616:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7159,20 +7159,20 @@ "visibility": "internal" } ], - "src": "16114:50:1" + "src": "16593:50:0" }, "returnParameters": { - "id": 1073, + "id": 565, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1072, + "id": 564, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16188:7:1", + "scope": 578, + "src": "16667:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7180,10 +7180,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1071, + "id": 563, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16188:7:1", + "src": "16667:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7192,19 +7192,19 @@ "visibility": "internal" } ], - "src": "16187:9:1" + "src": "16666:9:0" }, - "scope": 1135, - "src": "16102:163:1", + "scope": 627, + "src": "16581:166:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1109, + "id": 601, "nodeType": "Block", - "src": "17017:67:1", + "src": "17516:70:0", "statements": [ { "expression": { @@ -7214,18 +7214,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1101, + "id": 593, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1099, + "id": 591, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17035:1:1", + "referencedDeclaration": 583, + "src": "17535:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7235,33 +7235,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1100, + "id": 592, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17039:1:1", + "src": "17539:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17035:5:1", + "src": "17535:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1102, + "id": 594, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1093, - "src": "17042:12:1", + "referencedDeclaration": 585, + "src": "17542:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7279,7 +7279,7 @@ "typeString": "string memory" } ], - "id": 1098, + "id": 590, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7287,13 +7287,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17027:7:1", + "src": "17527:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1103, + "id": 595, "isConstant": false, "isLValue": false, "isPure": false, @@ -7301,16 +7301,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17027:28:1", + "src": "17527:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1104, + "id": 596, "nodeType": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "expression": { @@ -7318,18 +7318,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1107, + "id": 599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1105, + "id": 597, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1089, - "src": "17072:1:1", + "referencedDeclaration": 581, + "src": "17573:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7338,54 +7338,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1106, + "id": 598, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17076:1:1", + "referencedDeclaration": 583, + "src": "17577:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17072:5:1", + "src": "17573:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1097, - "id": 1108, + "functionReturnParameters": 589, + "id": 600, "nodeType": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ] }, "documentation": { - "id": 1087, + "id": 579, "nodeType": "StructuredDocumentation", - "src": "16271:646:1", + "src": "16755:660:0", "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1110, + "id": 602, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1094, + "id": 586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1089, + "id": 581, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16935:9:1", + "scope": 602, + "src": "17434:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7393,10 +7393,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1088, + "id": 580, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16935:7:1", + "src": "17434:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7406,12 +7406,12 @@ }, { "constant": false, - "id": 1091, + "id": 583, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16946:9:1", + "scope": 602, + "src": "17445:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7419,10 +7419,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1090, + "id": 582, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16946:7:1", + "src": "17445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7432,12 +7432,12 @@ }, { "constant": false, - "id": 1093, + "id": 585, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16957:26:1", + "scope": 602, + "src": "17456:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7445,10 +7445,10 @@ "typeString": "string" }, "typeName": { - "id": 1092, + "id": 584, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16957:6:1", + "src": "17456:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7457,20 +7457,20 @@ "visibility": "internal" } ], - "src": "16934:50:1" + "src": "17433:50:0" }, "returnParameters": { - "id": 1097, + "id": 589, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1096, + "id": 588, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "17008:7:1", + "scope": 602, + "src": "17507:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7478,10 +7478,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1095, + "id": 587, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17008:7:1", + "src": "17507:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7490,19 +7490,19 @@ "visibility": "internal" } ], - "src": "17007:9:1" + "src": "17506:9:0" }, - "scope": 1135, - "src": "16922:162:1", + "scope": 627, + "src": "17421:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1133, + "id": 625, "nodeType": "Block", - "src": "17825:67:1", + "src": "18344:70:0", "statements": [ { "expression": { @@ -7512,18 +7512,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1125, + "id": 617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1123, + "id": 615, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17843:1:1", + "referencedDeclaration": 607, + "src": "18363:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7533,33 +7533,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1124, + "id": 616, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17847:1:1", + "src": "18367:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17843:5:1", + "src": "18363:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1126, + "id": 618, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1117, - "src": "17850:12:1", + "referencedDeclaration": 609, + "src": "18370:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7577,7 +7577,7 @@ "typeString": "string memory" } ], - "id": 1122, + "id": 614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7585,13 +7585,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17835:7:1", + "src": "18355:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1127, + "id": 619, "isConstant": false, "isLValue": false, "isPure": false, @@ -7599,16 +7599,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17835:28:1", + "src": "18355:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1128, + "id": 620, "nodeType": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "expression": { @@ -7616,18 +7616,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1131, + "id": 623, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1129, + "id": 621, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1113, - "src": "17880:1:1", + "referencedDeclaration": 605, + "src": "18401:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7636,54 +7636,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1130, + "id": 622, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17884:1:1", + "referencedDeclaration": 607, + "src": "18405:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17880:5:1", + "src": "18401:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1121, - "id": 1132, + "functionReturnParameters": 613, + "id": 624, "nodeType": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ] }, "documentation": { - "id": 1111, + "id": 603, "nodeType": "StructuredDocumentation", - "src": "17090:635:1", + "src": "17594:649:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1134, + "id": 626, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1118, + "id": 610, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1113, + "id": 605, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17743:9:1", + "scope": 626, + "src": "18262:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7691,10 +7691,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1112, + "id": 604, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17743:7:1", + "src": "18262:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7704,12 +7704,12 @@ }, { "constant": false, - "id": 1115, + "id": 607, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17754:9:1", + "scope": 626, + "src": "18273:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7717,10 +7717,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1114, + "id": 606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17754:7:1", + "src": "18273:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7730,12 +7730,12 @@ }, { "constant": false, - "id": 1117, + "id": 609, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17765:26:1", + "scope": 626, + "src": "18284:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7743,10 +7743,10 @@ "typeString": "string" }, "typeName": { - "id": 1116, + "id": 608, "name": "string", "nodeType": "ElementaryTypeName", - "src": "17765:6:1", + "src": "18284:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7755,20 +7755,20 @@ "visibility": "internal" } ], - "src": "17742:50:1" + "src": "18261:50:0" }, "returnParameters": { - "id": 1121, + "id": 613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1120, + "id": 612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17816:7:1", + "scope": 626, + "src": "18335:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7776,10 +7776,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1119, + "id": 611, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17816:7:1", + "src": "18335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7788,20 +7788,20 @@ "visibility": "internal" } ], - "src": "17815:9:1" + "src": "18334:9:0" }, - "scope": 1135, - "src": "17730:162:1", + "scope": 627, + "src": "18249:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "11300:6594:1" + "scope": 2991, + "src": "11627:6790:0" }, { - "id": 1136, + "id": 628, "literals": [ "solidity", ">=", @@ -7812,7 +7812,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "abstract": false, @@ -7820,38 +7820,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1137, + "id": 629, "nodeType": "StructuredDocumentation", - "src": "17980:67:1", + "src": "18508:69:0", "text": " @dev Collection of functions related to the address type" }, "fullyImplemented": true, - "id": 1430, + "id": 922, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1153, + "id": 645, "nodeType": "Block", - "src": "18706:347:1", + "src": "19255:356:0", "statements": [ { "assignments": [ - 1146 + 638 ], "declarations": [ { "constant": false, - "id": 1146, + "id": 638, "mutability": "mutable", "name": "size", "nodeType": "VariableDeclaration", - "scope": 1153, - "src": "18903:12:1", + "scope": 645, + "src": "19457:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7859,10 +7859,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1145, + "id": 637, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "18903:7:1", + "src": "19457:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7871,39 +7871,39 @@ "visibility": "internal" } ], - "id": 1147, + "id": 639, "nodeType": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "AST": { "nodeType": "YulBlock", - "src": "18990:32:1", + "src": "19546:32:0", "statements": [ { "nodeType": "YulAssignment", - "src": "18992:28:1", + "src": "19548:28:0", "value": { "arguments": [ { "name": "account", "nodeType": "YulIdentifier", - "src": "19012:7:1" + "src": "19568:7:0" } ], "functionName": { "name": "extcodesize", "nodeType": "YulIdentifier", - "src": "19000:11:1" + "src": "19556:11:0" }, "nodeType": "YulFunctionCall", - "src": "19000:20:1" + "src": "19556:20:0" }, "variableNames": [ { "name": "size", "nodeType": "YulIdentifier", - "src": "18992:4:1" + "src": "19548:4:0" } ] } @@ -7912,23 +7912,23 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], - "id": 1148, + "id": 640, "nodeType": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "expression": { @@ -7936,18 +7936,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1151, + "id": 643, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1149, + "id": 641, "name": "size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1146, - "src": "19038:4:1", + "referencedDeclaration": 638, + "src": "19595:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7957,57 +7957,57 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1150, + "id": 642, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19045:1:1", + "src": "19602:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "19038:8:1", + "src": "19595:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1144, - "id": 1152, + "functionReturnParameters": 636, + "id": 644, "nodeType": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ] }, "documentation": { - "id": 1138, + "id": 630, "nodeType": "StructuredDocumentation", - "src": "18070:565:1", + "src": "18602:581:0", "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1154, + "id": 646, "implemented": true, "kind": "function", "modifiers": [], "name": "isContract", "nodeType": "FunctionDefinition", "parameters": { - "id": 1141, + "id": 633, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1140, + "id": 632, "mutability": "mutable", "name": "account", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18660:15:1", + "scope": 646, + "src": "19209:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8015,10 +8015,10 @@ "typeString": "address" }, "typeName": { - "id": 1139, + "id": 631, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18660:7:1", + "src": "19209:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8028,20 +8028,20 @@ "visibility": "internal" } ], - "src": "18659:17:1" + "src": "19208:17:0" }, "returnParameters": { - "id": 1144, + "id": 636, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1143, + "id": 635, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18700:4:1", + "scope": 646, + "src": "19249:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8049,10 +8049,10 @@ "typeString": "bool" }, "typeName": { - "id": 1142, + "id": 634, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "18700:4:1", + "src": "19249:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8061,19 +8061,19 @@ "visibility": "internal" } ], - "src": "18699:6:1" + "src": "19248:6:0" }, - "scope": 1430, - "src": "18640:413:1", + "scope": 922, + "src": "19189:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1187, + "id": 679, "nodeType": "Block", - "src": "20041:320:1", + "src": "20617:326:0", "statements": [ { "expression": { @@ -8083,7 +8083,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1169, + "id": 661, "isConstant": false, "isLValue": false, "isPure": false, @@ -8092,14 +8092,14 @@ "expression": { "arguments": [ { - "id": 1165, + "id": 657, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "20067:4:1", + "src": "20644:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -8107,30 +8107,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1164, + "id": 656, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1163, + "id": 655, "name": "address", "nodeType": "ElementaryTypeName", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": {} } }, - "id": 1166, + "id": 658, "isConstant": false, "isLValue": false, "isPure": false, @@ -8138,21 +8138,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20059:13:1", + "src": "20636:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1167, + "id": 659, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "20059:21:1", + "src": "20636:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8161,18 +8161,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1168, + "id": 660, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20084:6:1", + "referencedDeclaration": 651, + "src": "20661:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "20059:31:1", + "src": "20636:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8180,14 +8180,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e6365", - "id": 1170, + "id": 662, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20092:31:1", + "src": "20669:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9", "typeString": "literal_string \"Address: insufficient balance\"" @@ -8206,7 +8206,7 @@ "typeString": "literal_string \"Address: insufficient balance\"" } ], - "id": 1162, + "id": 654, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -8214,13 +8214,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20051:7:1", + "src": "20628:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1171, + "id": 663, "isConstant": false, "isLValue": false, "isPure": false, @@ -8228,31 +8228,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20051:73:1", + "src": "20628:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1172, + "id": 664, "nodeType": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "assignments": [ - 1174, + 666, null ], "declarations": [ { "constant": false, - "id": 1174, + "id": 666, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1187, - "src": "20213:12:1", + "scope": 679, + "src": "20793:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8260,10 +8260,10 @@ "typeString": "bool" }, "typeName": { - "id": 1173, + "id": 665, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "20213:4:1", + "src": "20793:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8273,19 +8273,19 @@ }, null ], - "id": 1181, + "id": 673, "initialValue": { "arguments": [ { "hexValue": "", - "id": 1179, + "id": 671, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20263:2:1", + "src": "20843:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -8308,31 +8308,31 @@ } ], "expression": { - "id": 1175, + "id": 667, "name": "recipient", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1157, - "src": "20231:9:1", + "referencedDeclaration": 649, + "src": "20811:9:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 1176, + "id": 668, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "20231:14:1", + "src": "20811:14:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1178, + "id": 670, "isConstant": false, "isLValue": false, "isPure": false, @@ -8343,25 +8343,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1177, + "id": 669, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20254:6:1", + "referencedDeclaration": 651, + "src": "20834:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "20231:31:1", + "src": "20811:31:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1180, + "id": 672, "isConstant": false, "isLValue": false, "isPure": false, @@ -8369,7 +8369,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20231:35:1", + "src": "20811:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -8377,18 +8377,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "expression": { "arguments": [ { - "id": 1183, + "id": 675, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1174, - "src": "20284:7:1", + "referencedDeclaration": 666, + "src": "20865:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8396,14 +8396,14 @@ }, { "hexValue": "416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564", - "id": 1184, + "id": 676, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20293:60:1", + "src": "20874:60:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae", "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" @@ -8422,7 +8422,7 @@ "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" } ], - "id": 1182, + "id": 674, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -8430,13 +8430,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20276:7:1", + "src": "20857:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1185, + "id": 677, "isConstant": false, "isLValue": false, "isPure": false, @@ -8444,43 +8444,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20276:78:1", + "src": "20857:78:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1186, + "id": 678, "nodeType": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ] }, "documentation": { - "id": 1155, + "id": 647, "nodeType": "StructuredDocumentation", - "src": "19059:906:1", + "src": "19619:921:0", "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1188, + "id": 680, "implemented": true, "kind": "function", "modifiers": [], "name": "sendValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1160, + "id": 652, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1157, + "id": 649, "mutability": "mutable", "name": "recipient", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "19989:25:1", + "scope": 680, + "src": "20565:25:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8488,10 +8488,10 @@ "typeString": "address payable" }, "typeName": { - "id": 1156, + "id": 648, "name": "address", "nodeType": "ElementaryTypeName", - "src": "19989:15:1", + "src": "20565:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -8502,12 +8502,12 @@ }, { "constant": false, - "id": 1159, + "id": 651, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "20016:14:1", + "scope": 680, + "src": "20592:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8515,10 +8515,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1158, + "id": 650, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "20016:7:1", + "src": "20592:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8527,48 +8527,48 @@ "visibility": "internal" } ], - "src": "19988:43:1" + "src": "20564:43:0" }, "returnParameters": { - "id": 1161, + "id": 653, "nodeType": "ParameterList", "parameters": [], - "src": "20041:0:1" + "src": "20617:0:0" }, - "scope": 1430, - "src": "19970:391:1", + "scope": 922, + "src": "20546:397:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1204, + "id": 696, "nodeType": "Block", - "src": "21191:82:1", + "src": "21793:84:0", "statements": [ { "expression": { "arguments": [ { - "id": 1199, + "id": 691, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1191, - "src": "21219:6:1", + "referencedDeclaration": 683, + "src": "21822:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1200, + "id": 692, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1193, - "src": "21227:4:1", + "referencedDeclaration": 685, + "src": "21830:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8576,14 +8576,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564", - "id": 1201, + "id": 693, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "21233:32:1", + "src": "21836:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", "typeString": "literal_string \"Address: low-level call failed\"" @@ -8606,21 +8606,21 @@ "typeString": "literal_string \"Address: low-level call failed\"" } ], - "id": 1198, + "id": 690, "name": "functionCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, - "src": "21206:12:1", + "referencedDeclaration": 717, + "src": "21809:12:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1202, + "id": 694, "isConstant": false, "isLValue": false, "isPure": false, @@ -8628,44 +8628,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21206:60:1", + "src": "21809:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1197, - "id": 1203, + "functionReturnParameters": 689, + "id": 695, "nodeType": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ] }, "documentation": { - "id": 1189, + "id": 681, "nodeType": "StructuredDocumentation", - "src": "20367:730:1", + "src": "20951:747:0", "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1205, + "id": 697, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1194, + "id": 686, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1191, + "id": 683, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21124:14:1", + "scope": 697, + "src": "21726:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8673,10 +8673,10 @@ "typeString": "address" }, "typeName": { - "id": 1190, + "id": 682, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21124:7:1", + "src": "21726:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8687,12 +8687,12 @@ }, { "constant": false, - "id": 1193, + "id": 685, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21140:17:1", + "scope": 697, + "src": "21742:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8700,10 +8700,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1192, + "id": 684, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21140:5:1", + "src": "21742:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8712,20 +8712,20 @@ "visibility": "internal" } ], - "src": "21123:35:1" + "src": "21725:35:0" }, "returnParameters": { - "id": 1197, + "id": 689, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1196, + "id": 688, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21177:12:1", + "scope": 697, + "src": "21779:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8733,10 +8733,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1195, + "id": 687, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21177:5:1", + "src": "21779:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8745,42 +8745,42 @@ "visibility": "internal" } ], - "src": "21176:14:1" + "src": "21778:14:0" }, - "scope": 1430, - "src": "21102:171:1", + "scope": 922, + "src": "21704:173:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1224, + "id": 716, "nodeType": "Block", - "src": "21612:76:1", + "src": "22224:78:0", "statements": [ { "expression": { "arguments": [ { - "id": 1218, + "id": 710, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1208, - "src": "21651:6:1", + "referencedDeclaration": 700, + "src": "22264:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1219, + "id": 711, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1210, - "src": "21659:4:1", + "referencedDeclaration": 702, + "src": "22272:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8788,14 +8788,14 @@ }, { "hexValue": "30", - "id": 1220, + "id": 712, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "21665:1:1", + "src": "22278:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -8803,12 +8803,12 @@ "value": "0" }, { - "id": 1221, + "id": 713, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1212, - "src": "21668:12:1", + "referencedDeclaration": 704, + "src": "22281:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -8834,21 +8834,21 @@ "typeString": "string memory" } ], - "id": 1217, + "id": 709, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "21629:21:1", + "referencedDeclaration": 787, + "src": "22242:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1222, + "id": 714, "isConstant": false, "isLValue": false, "isPure": false, @@ -8856,44 +8856,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21629:52:1", + "src": "22242:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1216, - "id": 1223, + "functionReturnParameters": 708, + "id": 715, "nodeType": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ] }, "documentation": { - "id": 1206, + "id": 698, "nodeType": "StructuredDocumentation", - "src": "21279:211:1", + "src": "21885:216:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1225, + "id": 717, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1213, + "id": 705, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1208, + "id": 700, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21517:14:1", + "scope": 717, + "src": "22129:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8901,10 +8901,10 @@ "typeString": "address" }, "typeName": { - "id": 1207, + "id": 699, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21517:7:1", + "src": "22129:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8915,12 +8915,12 @@ }, { "constant": false, - "id": 1210, + "id": 702, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21533:17:1", + "scope": 717, + "src": "22145:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8928,10 +8928,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1209, + "id": 701, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21533:5:1", + "src": "22145:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8941,12 +8941,12 @@ }, { "constant": false, - "id": 1212, + "id": 704, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21552:26:1", + "scope": 717, + "src": "22164:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8954,10 +8954,10 @@ "typeString": "string" }, "typeName": { - "id": 1211, + "id": 703, "name": "string", "nodeType": "ElementaryTypeName", - "src": "21552:6:1", + "src": "22164:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -8966,20 +8966,20 @@ "visibility": "internal" } ], - "src": "21516:63:1" + "src": "22128:63:0" }, "returnParameters": { - "id": 1216, + "id": 708, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1215, + "id": 707, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21598:12:1", + "scope": 717, + "src": "22210:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8987,10 +8987,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1214, + "id": 706, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21598:5:1", + "src": "22210:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8999,54 +8999,54 @@ "visibility": "internal" } ], - "src": "21597:14:1" + "src": "22209:14:0" }, - "scope": 1430, - "src": "21495:193:1", + "scope": 922, + "src": "22107:195:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1244, + "id": 736, "nodeType": "Block", - "src": "22163:111:1", + "src": "22790:113:0", "statements": [ { "expression": { "arguments": [ { - "id": 1238, + "id": 730, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1228, - "src": "22202:6:1", + "referencedDeclaration": 720, + "src": "22830:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1239, + "id": 731, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1230, - "src": "22210:4:1", + "referencedDeclaration": 722, + "src": "22838:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1240, + "id": 732, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1232, - "src": "22216:5:1", + "referencedDeclaration": 724, + "src": "22844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9054,14 +9054,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564", - "id": 1241, + "id": 733, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22223:43:1", + "src": "22851:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc", "typeString": "literal_string \"Address: low-level call with value failed\"" @@ -9088,21 +9088,21 @@ "typeString": "literal_string \"Address: low-level call with value failed\"" } ], - "id": 1237, + "id": 729, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "22180:21:1", + "referencedDeclaration": 787, + "src": "22808:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1242, + "id": 734, "isConstant": false, "isLValue": false, "isPure": false, @@ -9110,44 +9110,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22180:87:1", + "src": "22808:87:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1236, - "id": 1243, + "functionReturnParameters": 728, + "id": 735, "nodeType": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ] }, "documentation": { - "id": 1226, + "id": 718, "nodeType": "StructuredDocumentation", - "src": "21694:351:1", + "src": "22310:361:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1245, + "id": 737, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1233, + "id": 725, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1228, + "id": 720, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22081:14:1", + "scope": 737, + "src": "22708:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9155,10 +9155,10 @@ "typeString": "address" }, "typeName": { - "id": 1227, + "id": 719, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22081:7:1", + "src": "22708:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9169,12 +9169,12 @@ }, { "constant": false, - "id": 1230, + "id": 722, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22097:17:1", + "scope": 737, + "src": "22724:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9182,10 +9182,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1229, + "id": 721, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22097:5:1", + "src": "22724:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9195,12 +9195,12 @@ }, { "constant": false, - "id": 1232, + "id": 724, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22116:13:1", + "scope": 737, + "src": "22743:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9208,10 +9208,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1231, + "id": 723, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22116:7:1", + "src": "22743:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9220,20 +9220,20 @@ "visibility": "internal" } ], - "src": "22080:50:1" + "src": "22707:50:0" }, "returnParameters": { - "id": 1236, + "id": 728, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1235, + "id": 727, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22149:12:1", + "scope": 737, + "src": "22776:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9241,10 +9241,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1234, + "id": 726, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22149:5:1", + "src": "22776:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9253,19 +9253,19 @@ "visibility": "internal" } ], - "src": "22148:14:1" + "src": "22775:14:0" }, - "scope": 1430, - "src": "22050:224:1", + "scope": 922, + "src": "22677:226:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1294, + "id": 786, "nodeType": "Block", - "src": "22663:382:1", + "src": "23300:389:0", "statements": [ { "expression": { @@ -9275,7 +9275,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1266, + "id": 758, "isConstant": false, "isLValue": false, "isPure": false, @@ -9284,14 +9284,14 @@ "expression": { "arguments": [ { - "id": 1262, + "id": 754, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "22689:4:1", + "src": "23327:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -9299,30 +9299,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1261, + "id": 753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1260, + "id": 752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": {} } }, - "id": 1263, + "id": 755, "isConstant": false, "isLValue": false, "isPure": false, @@ -9330,21 +9330,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22681:13:1", + "src": "23319:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1264, + "id": 756, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "22681:21:1", + "src": "23319:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9353,18 +9353,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1265, + "id": 757, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22706:5:1", + "referencedDeclaration": 744, + "src": "23344:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "22681:30:1", + "src": "23319:30:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9372,14 +9372,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c", - "id": 1267, + "id": 759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22713:40:1", + "src": "23351:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c", "typeString": "literal_string \"Address: insufficient balance for call\"" @@ -9398,7 +9398,7 @@ "typeString": "literal_string \"Address: insufficient balance for call\"" } ], - "id": 1259, + "id": 751, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9406,13 +9406,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22673:7:1", + "src": "23311:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1268, + "id": 760, "isConstant": false, "isLValue": false, "isPure": false, @@ -9420,16 +9420,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22673:81:1", + "src": "23311:81:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1269, + "id": 761, "nodeType": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "expression": { @@ -9437,12 +9437,12 @@ { "arguments": [ { - "id": 1272, + "id": 764, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22783:6:1", + "referencedDeclaration": 740, + "src": "23422:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9456,18 +9456,18 @@ "typeString": "address" } ], - "id": 1271, + "id": 763, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "22772:10:1", + "referencedDeclaration": 646, + "src": "23411:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1273, + "id": 765, "isConstant": false, "isLValue": false, "isPure": false, @@ -9475,7 +9475,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22772:18:1", + "src": "23411:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9484,14 +9484,14 @@ }, { "hexValue": "416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1274, + "id": 766, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22792:31:1", + "src": "23431:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad", "typeString": "literal_string \"Address: call to non-contract\"" @@ -9510,7 +9510,7 @@ "typeString": "literal_string \"Address: call to non-contract\"" } ], - "id": 1270, + "id": 762, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9518,13 +9518,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22764:7:1", + "src": "23403:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1275, + "id": 767, "isConstant": false, "isLValue": false, "isPure": false, @@ -9532,31 +9532,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22764:60:1", + "src": "23403:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1276, + "id": 768, "nodeType": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "assignments": [ - 1278, - 1280 + 770, + 772 ], "declarations": [ { "constant": false, - "id": 1278, + "id": 770, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22895:12:1", + "scope": 786, + "src": "23537:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9564,10 +9564,10 @@ "typeString": "bool" }, "typeName": { - "id": 1277, + "id": 769, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "22895:4:1", + "src": "23537:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9577,12 +9577,12 @@ }, { "constant": false, - "id": 1280, + "id": 772, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22909:23:1", + "scope": 786, + "src": "23551:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9590,10 +9590,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1279, + "id": 771, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22909:5:1", + "src": "23551:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9602,16 +9602,16 @@ "visibility": "internal" } ], - "id": 1287, + "id": 779, "initialValue": { "arguments": [ { - "id": 1285, + "id": 777, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1250, - "src": "22964:4:1", + "referencedDeclaration": 742, + "src": "23606:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9633,31 +9633,31 @@ } ], "expression": { - "id": 1281, + "id": 773, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22936:6:1", + "referencedDeclaration": 740, + "src": "23578:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1282, + "id": 774, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "22936:11:1", + "src": "23578:11:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1284, + "id": 776, "isConstant": false, "isLValue": false, "isPure": false, @@ -9668,25 +9668,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1283, + "id": 775, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22956:5:1", + "referencedDeclaration": 744, + "src": "23598:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "22936:27:1", + "src": "23578:27:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1286, + "id": 778, "isConstant": false, "isLValue": false, "isPure": false, @@ -9694,7 +9694,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22936:33:1", + "src": "23578:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -9702,42 +9702,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "expression": { "arguments": [ { - "id": 1289, + "id": 781, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1278, - "src": "23004:7:1", + "referencedDeclaration": 770, + "src": "23647:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1290, + "id": 782, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1280, - "src": "23013:10:1", + "referencedDeclaration": 772, + "src": "23656:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1291, + "id": 783, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1254, - "src": "23025:12:1", + "referencedDeclaration": 746, + "src": "23668:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -9759,18 +9759,18 @@ "typeString": "string memory" } ], - "id": 1288, + "id": 780, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "22986:17:1", + "referencedDeclaration": 921, + "src": "23629:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1292, + "id": 784, "isConstant": false, "isLValue": false, "isPure": false, @@ -9778,44 +9778,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22986:52:1", + "src": "23629:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1258, - "id": 1293, + "functionReturnParameters": 750, + "id": 785, "nodeType": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ] }, "documentation": { - "id": 1246, + "id": 738, "nodeType": "StructuredDocumentation", - "src": "22280:237:1", + "src": "22911:242:0", "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1295, + "id": 787, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1255, + "id": 747, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1248, + "id": 740, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22553:14:1", + "scope": 787, + "src": "23190:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9823,10 +9823,10 @@ "typeString": "address" }, "typeName": { - "id": 1247, + "id": 739, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22553:7:1", + "src": "23190:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9837,12 +9837,12 @@ }, { "constant": false, - "id": 1250, + "id": 742, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22569:17:1", + "scope": 787, + "src": "23206:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9850,10 +9850,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1249, + "id": 741, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22569:5:1", + "src": "23206:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9863,12 +9863,12 @@ }, { "constant": false, - "id": 1252, + "id": 744, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22588:13:1", + "scope": 787, + "src": "23225:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9876,10 +9876,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1251, + "id": 743, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22588:7:1", + "src": "23225:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9889,12 +9889,12 @@ }, { "constant": false, - "id": 1254, + "id": 746, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22603:26:1", + "scope": 787, + "src": "23240:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9902,10 +9902,10 @@ "typeString": "string" }, "typeName": { - "id": 1253, + "id": 745, "name": "string", "nodeType": "ElementaryTypeName", - "src": "22603:6:1", + "src": "23240:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -9914,20 +9914,20 @@ "visibility": "internal" } ], - "src": "22552:78:1" + "src": "23189:78:0" }, "returnParameters": { - "id": 1258, + "id": 750, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1257, + "id": 749, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22649:12:1", + "scope": 787, + "src": "23286:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9935,10 +9935,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1256, + "id": 748, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22649:5:1", + "src": "23286:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9947,42 +9947,42 @@ "visibility": "internal" } ], - "src": "22648:14:1" + "src": "23285:14:0" }, - "scope": 1430, - "src": "22522:523:1", + "scope": 922, + "src": "23159:530:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1311, + "id": 803, "nodeType": "Block", - "src": "23322:97:1", + "src": "23974:99:0", "statements": [ { "expression": { "arguments": [ { - "id": 1306, + "id": 798, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1298, - "src": "23358:6:1", + "referencedDeclaration": 790, + "src": "24011:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1307, + "id": 799, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1300, - "src": "23366:4:1", + "referencedDeclaration": 792, + "src": "24019:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9990,14 +9990,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564", - "id": 1308, + "id": 800, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23372:39:1", + "src": "24025:39:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0", "typeString": "literal_string \"Address: low-level static call failed\"" @@ -10020,21 +10020,21 @@ "typeString": "literal_string \"Address: low-level static call failed\"" } ], - "id": 1305, + "id": 797, "name": "functionStaticCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, - "src": "23339:18:1", + "referencedDeclaration": 839, + "src": "23992:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) view returns (bytes memory)" } }, - "id": 1309, + "id": 801, "isConstant": false, "isLValue": false, "isPure": false, @@ -10042,44 +10042,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23339:73:1", + "src": "23992:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1304, - "id": 1310, + "functionReturnParameters": 796, + "id": 802, "nodeType": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ] }, "documentation": { - "id": 1296, + "id": 788, "nodeType": "StructuredDocumentation", - "src": "23051:166:1", + "src": "23697:171:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1312, + "id": 804, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1301, + "id": 793, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1298, + "id": 790, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23250:14:1", + "scope": 804, + "src": "23902:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10087,10 +10087,10 @@ "typeString": "address" }, "typeName": { - "id": 1297, + "id": 789, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23250:7:1", + "src": "23902:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10101,12 +10101,12 @@ }, { "constant": false, - "id": 1300, + "id": 792, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23266:17:1", + "scope": 804, + "src": "23918:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10114,10 +10114,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1299, + "id": 791, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23266:5:1", + "src": "23918:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10126,20 +10126,20 @@ "visibility": "internal" } ], - "src": "23249:35:1" + "src": "23901:35:0" }, "returnParameters": { - "id": 1304, + "id": 796, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1303, + "id": 795, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23308:12:1", + "scope": 804, + "src": "23960:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10147,10 +10147,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1302, + "id": 794, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23308:5:1", + "src": "23960:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10159,19 +10159,19 @@ "visibility": "internal" } ], - "src": "23307:14:1" + "src": "23959:14:0" }, - "scope": 1430, - "src": "23222:197:1", + "scope": 922, + "src": "23874:199:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1346, + "id": 838, "nodeType": "Block", - "src": "23731:288:1", + "src": "24393:294:0", "statements": [ { "expression": { @@ -10179,12 +10179,12 @@ { "arguments": [ { - "id": 1326, + "id": 818, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23760:6:1", + "referencedDeclaration": 807, + "src": "24423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10198,18 +10198,18 @@ "typeString": "address" } ], - "id": 1325, + "id": 817, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "23749:10:1", + "referencedDeclaration": 646, + "src": "24412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1327, + "id": 819, "isConstant": false, "isLValue": false, "isPure": false, @@ -10217,7 +10217,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23749:18:1", + "src": "24412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10226,14 +10226,14 @@ }, { "hexValue": "416464726573733a207374617469632063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1328, + "id": 820, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23769:38:1", + "src": "24432:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c79cc78e4f16ce3933a42b84c73868f93bb4a59c031a0acf576679de98c608a9", "typeString": "literal_string \"Address: static call to non-contract\"" @@ -10252,7 +10252,7 @@ "typeString": "literal_string \"Address: static call to non-contract\"" } ], - "id": 1324, + "id": 816, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -10260,13 +10260,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "23741:7:1", + "src": "24404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1329, + "id": 821, "isConstant": false, "isLValue": false, "isPure": false, @@ -10274,31 +10274,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23741:67:1", + "src": "24404:67:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1330, + "id": 822, "nodeType": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "assignments": [ - 1332, - 1334 + 824, + 826 ], "declarations": [ { "constant": false, - "id": 1332, + "id": 824, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23879:12:1", + "scope": 838, + "src": "24545:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10306,10 +10306,10 @@ "typeString": "bool" }, "typeName": { - "id": 1331, + "id": 823, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "23879:4:1", + "src": "24545:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10319,12 +10319,12 @@ }, { "constant": false, - "id": 1334, + "id": 826, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23893:23:1", + "scope": 838, + "src": "24559:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10332,10 +10332,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1333, + "id": 825, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23893:5:1", + "src": "24559:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10344,16 +10344,16 @@ "visibility": "internal" } ], - "id": 1339, + "id": 831, "initialValue": { "arguments": [ { - "id": 1337, + "id": 829, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1317, - "src": "23938:4:1", + "referencedDeclaration": 809, + "src": "24604:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10368,31 +10368,31 @@ } ], "expression": { - "id": 1335, + "id": 827, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23920:6:1", + "referencedDeclaration": 807, + "src": "24586:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1336, + "id": 828, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "staticcall", "nodeType": "MemberAccess", - "src": "23920:17:1", + "src": "24586:17:0", "typeDescriptions": { "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) view returns (bool,bytes memory)" } }, - "id": 1338, + "id": 830, "isConstant": false, "isLValue": false, "isPure": false, @@ -10400,7 +10400,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23920:23:1", + "src": "24586:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10408,42 +10408,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "expression": { "arguments": [ { - "id": 1341, + "id": 833, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "23978:7:1", + "referencedDeclaration": 824, + "src": "24645:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1342, + "id": 834, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1334, - "src": "23987:10:1", + "referencedDeclaration": 826, + "src": "24654:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1343, + "id": 835, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1319, - "src": "23999:12:1", + "referencedDeclaration": 811, + "src": "24666:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10465,18 +10465,18 @@ "typeString": "string memory" } ], - "id": 1340, + "id": 832, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "23960:17:1", + "referencedDeclaration": 921, + "src": "24627:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1344, + "id": 836, "isConstant": false, "isLValue": false, "isPure": false, @@ -10484,44 +10484,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23960:52:1", + "src": "24627:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1323, - "id": 1345, + "functionReturnParameters": 815, + "id": 837, "nodeType": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ] }, "documentation": { - "id": 1313, + "id": 805, "nodeType": "StructuredDocumentation", - "src": "23425:173:1", + "src": "24081:178:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1347, + "id": 839, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1320, + "id": 812, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1315, + "id": 807, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23631:14:1", + "scope": 839, + "src": "24293:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10529,10 +10529,10 @@ "typeString": "address" }, "typeName": { - "id": 1314, + "id": 806, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23631:7:1", + "src": "24293:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10543,12 +10543,12 @@ }, { "constant": false, - "id": 1317, + "id": 809, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23647:17:1", + "scope": 839, + "src": "24309:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10556,10 +10556,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1316, + "id": 808, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23647:5:1", + "src": "24309:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10569,12 +10569,12 @@ }, { "constant": false, - "id": 1319, + "id": 811, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23666:26:1", + "scope": 839, + "src": "24328:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10582,10 +10582,10 @@ "typeString": "string" }, "typeName": { - "id": 1318, + "id": 810, "name": "string", "nodeType": "ElementaryTypeName", - "src": "23666:6:1", + "src": "24328:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10594,20 +10594,20 @@ "visibility": "internal" } ], - "src": "23630:63:1" + "src": "24292:63:0" }, "returnParameters": { - "id": 1323, + "id": 815, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1322, + "id": 814, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23717:12:1", + "scope": 839, + "src": "24379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10615,10 +10615,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1321, + "id": 813, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23717:5:1", + "src": "24379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10627,42 +10627,42 @@ "visibility": "internal" } ], - "src": "23716:14:1" + "src": "24378:14:0" }, - "scope": 1430, - "src": "23603:416:1", + "scope": 922, + "src": "24265:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1363, + "id": 855, "nodeType": "Block", - "src": "24295:101:1", + "src": "24971:103:0", "statements": [ { "expression": { "arguments": [ { - "id": 1358, + "id": 850, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1350, - "src": "24333:6:1", + "referencedDeclaration": 842, + "src": "25010:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1359, + "id": 851, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1352, - "src": "24341:4:1", + "referencedDeclaration": 844, + "src": "25018:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10670,14 +10670,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564", - "id": 1360, + "id": 852, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24347:41:1", + "src": "25024:41:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398", "typeString": "literal_string \"Address: low-level delegate call failed\"" @@ -10700,21 +10700,21 @@ "typeString": "literal_string \"Address: low-level delegate call failed\"" } ], - "id": 1357, + "id": 849, "name": "functionDelegateCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, - "src": "24312:20:1", + "referencedDeclaration": 891, + "src": "24989:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1361, + "id": 853, "isConstant": false, "isLValue": false, "isPure": false, @@ -10722,44 +10722,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24312:77:1", + "src": "24989:77:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1356, - "id": 1362, + "functionReturnParameters": 848, + "id": 854, "nodeType": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ] }, "documentation": { - "id": 1348, + "id": 840, "nodeType": "StructuredDocumentation", - "src": "24025:168:1", + "src": "24695:173:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1364, + "id": 856, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1353, + "id": 845, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1350, + "id": 842, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24228:14:1", + "scope": 856, + "src": "24904:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10767,10 +10767,10 @@ "typeString": "address" }, "typeName": { - "id": 1349, + "id": 841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24228:7:1", + "src": "24904:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10781,12 +10781,12 @@ }, { "constant": false, - "id": 1352, + "id": 844, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24244:17:1", + "scope": 856, + "src": "24920:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10794,10 +10794,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1351, + "id": 843, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24244:5:1", + "src": "24920:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10806,20 +10806,20 @@ "visibility": "internal" } ], - "src": "24227:35:1" + "src": "24903:35:0" }, "returnParameters": { - "id": 1356, + "id": 848, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1355, + "id": 847, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24281:12:1", + "scope": 856, + "src": "24957:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10827,10 +10827,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1354, + "id": 846, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24281:5:1", + "src": "24957:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10839,19 +10839,19 @@ "visibility": "internal" } ], - "src": "24280:14:1" + "src": "24956:14:0" }, - "scope": 1430, - "src": "24198:198:1", + "scope": 922, + "src": "24874:200:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1398, + "id": 890, "nodeType": "Block", - "src": "24707:292:1", + "src": "25393:298:0", "statements": [ { "expression": { @@ -10859,12 +10859,12 @@ { "arguments": [ { - "id": 1378, + "id": 870, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24736:6:1", + "referencedDeclaration": 859, + "src": "25423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10878,18 +10878,18 @@ "typeString": "address" } ], - "id": 1377, + "id": 869, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "24725:10:1", + "referencedDeclaration": 646, + "src": "25412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1379, + "id": 871, "isConstant": false, "isLValue": false, "isPure": false, @@ -10897,7 +10897,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24725:18:1", + "src": "25412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10906,14 +10906,14 @@ }, { "hexValue": "416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1380, + "id": 872, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24745:40:1", + "src": "25432:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b94ded0918034cf8f896e19fa3cfdef1188cd569c577264a3622e49152f88520", "typeString": "literal_string \"Address: delegate call to non-contract\"" @@ -10932,7 +10932,7 @@ "typeString": "literal_string \"Address: delegate call to non-contract\"" } ], - "id": 1376, + "id": 868, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -10940,13 +10940,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "24717:7:1", + "src": "25404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1381, + "id": 873, "isConstant": false, "isLValue": false, "isPure": false, @@ -10954,31 +10954,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24717:69:1", + "src": "25404:69:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1382, + "id": 874, "nodeType": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "assignments": [ - 1384, - 1386 + 876, + 878 ], "declarations": [ { "constant": false, - "id": 1384, + "id": 876, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24857:12:1", + "scope": 890, + "src": "25547:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10986,10 +10986,10 @@ "typeString": "bool" }, "typeName": { - "id": 1383, + "id": 875, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "24857:4:1", + "src": "25547:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10999,12 +10999,12 @@ }, { "constant": false, - "id": 1386, + "id": 878, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24871:23:1", + "scope": 890, + "src": "25561:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11012,10 +11012,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1385, + "id": 877, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24871:5:1", + "src": "25561:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11024,16 +11024,16 @@ "visibility": "internal" } ], - "id": 1391, + "id": 883, "initialValue": { "arguments": [ { - "id": 1389, + "id": 881, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1369, - "src": "24918:4:1", + "referencedDeclaration": 861, + "src": "25608:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -11048,31 +11048,31 @@ } ], "expression": { - "id": 1387, + "id": 879, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24898:6:1", + "referencedDeclaration": 859, + "src": "25588:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1388, + "id": 880, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "delegatecall", "nodeType": "MemberAccess", - "src": "24898:19:1", + "src": "25588:19:0", "typeDescriptions": { "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) returns (bool,bytes memory)" } }, - "id": 1390, + "id": 882, "isConstant": false, "isLValue": false, "isPure": false, @@ -11080,7 +11080,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24898:25:1", + "src": "25588:25:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -11088,42 +11088,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "expression": { "arguments": [ { - "id": 1393, + "id": 885, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1384, - "src": "24958:7:1", + "referencedDeclaration": 876, + "src": "25649:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1394, + "id": 886, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1386, - "src": "24967:10:1", + "referencedDeclaration": 878, + "src": "25658:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1395, + "id": 887, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1371, - "src": "24979:12:1", + "referencedDeclaration": 863, + "src": "25670:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -11145,18 +11145,18 @@ "typeString": "string memory" } ], - "id": 1392, + "id": 884, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "24940:17:1", + "referencedDeclaration": 921, + "src": "25631:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1396, + "id": 888, "isConstant": false, "isLValue": false, "isPure": false, @@ -11164,44 +11164,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24940:52:1", + "src": "25631:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1375, - "id": 1397, + "functionReturnParameters": 867, + "id": 889, "nodeType": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ] }, "documentation": { - "id": 1365, + "id": 857, "nodeType": "StructuredDocumentation", - "src": "24402:175:1", + "src": "25082:180:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1399, + "id": 891, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1372, + "id": 864, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1367, + "id": 859, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24612:14:1", + "scope": 891, + "src": "25298:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11209,10 +11209,10 @@ "typeString": "address" }, "typeName": { - "id": 1366, + "id": 858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24612:7:1", + "src": "25298:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -11223,12 +11223,12 @@ }, { "constant": false, - "id": 1369, + "id": 861, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24628:17:1", + "scope": 891, + "src": "25314:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11236,10 +11236,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1368, + "id": 860, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24628:5:1", + "src": "25314:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11249,12 +11249,12 @@ }, { "constant": false, - "id": 1371, + "id": 863, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24647:26:1", + "scope": 891, + "src": "25333:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11262,10 +11262,10 @@ "typeString": "string" }, "typeName": { - "id": 1370, + "id": 862, "name": "string", "nodeType": "ElementaryTypeName", - "src": "24647:6:1", + "src": "25333:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11274,20 +11274,20 @@ "visibility": "internal" } ], - "src": "24611:63:1" + "src": "25297:63:0" }, "returnParameters": { - "id": 1375, + "id": 867, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1374, + "id": 866, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24693:12:1", + "scope": 891, + "src": "25379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11295,10 +11295,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1373, + "id": 865, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24693:5:1", + "src": "25379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11307,37 +11307,37 @@ "visibility": "internal" } ], - "src": "24692:14:1" + "src": "25378:14:0" }, - "scope": 1430, - "src": "24582:417:1", + "scope": 922, + "src": "25268:423:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1428, + "id": 920, "nodeType": "Block", - "src": "25134:596:1", + "src": "25828:613:0", "statements": [ { "condition": { - "id": 1410, + "id": 902, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1401, - "src": "25148:7:1", + "referencedDeclaration": 893, + "src": "25843:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1426, + "id": 918, "nodeType": "Block", - "src": "25205:519:1", + "src": "25902:532:0", "statements": [ { "condition": { @@ -11345,32 +11345,32 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1417, + "id": 909, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1414, + "id": 906, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25289:10:1", + "referencedDeclaration": 895, + "src": "25988:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1415, + "id": 907, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "25289:17:1", + "src": "25988:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11380,41 +11380,41 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1416, + "id": 908, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "25309:1:1", + "src": "26008:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "25289:21:1", + "src": "25988:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1424, + "id": 916, "nodeType": "Block", - "src": "25661:53:1", + "src": "26368:55:0", "statements": [ { "expression": { "arguments": [ { - "id": 1421, + "id": 913, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1405, - "src": "25686:12:1", + "referencedDeclaration": 897, + "src": "26394:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -11428,7 +11428,7 @@ "typeString": "string memory" } ], - "id": 1420, + "id": 912, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -11436,13 +11436,13 @@ 4294967277 ], "referencedDeclaration": 4294967277, - "src": "25679:6:1", + "src": "26387:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", "typeString": "function (string memory) pure" } }, - "id": 1422, + "id": 914, "isConstant": false, "isLValue": false, "isPure": false, @@ -11450,56 +11450,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "25679:20:1", + "src": "26387:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1423, + "id": 915, "nodeType": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ] }, - "id": 1425, + "id": 917, "nodeType": "IfStatement", - "src": "25285:429:1", + "src": "25984:439:0", "trueBody": { - "id": 1419, + "id": 911, "nodeType": "Block", - "src": "25312:343:1", + "src": "26011:351:0", "statements": [ { "AST": { "nodeType": "YulBlock", - "src": "25496:145:1", + "src": "26199:148:0", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "25518:40:1", + "src": "26222:40:0", "value": { "arguments": [ { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25547:10:1" + "src": "26251:10:0" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "25541:5:1" + "src": "26245:5:0" }, "nodeType": "YulFunctionCall", - "src": "25541:17:1" + "src": "26245:17:0" }, "variables": [ { "name": "returndata_size", "nodeType": "YulTypedName", - "src": "25522:15:1", + "src": "26226:15:0", "type": "" } ] @@ -11512,118 +11512,118 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "25590:2:1", + "src": "26295:2:0", "type": "", "value": "32" }, { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25594:10:1" + "src": "26299:10:0" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "25586:3:1" + "src": "26291:3:0" }, "nodeType": "YulFunctionCall", - "src": "25586:19:1" + "src": "26291:19:0" }, { "name": "returndata_size", "nodeType": "YulIdentifier", - "src": "25607:15:1" + "src": "26312:15:0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "25579:6:1" + "src": "26284:6:0" }, "nodeType": "YulFunctionCall", - "src": "25579:44:1" + "src": "26284:44:0" }, "nodeType": "YulExpressionStatement", - "src": "25579:44:1" + "src": "26284:44:0" } ] }, "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], - "id": 1418, + "id": 910, "nodeType": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ] } } ] }, - "id": 1427, + "id": 919, "nodeType": "IfStatement", - "src": "25144:580:1", + "src": "25839:595:0", "trueBody": { - "id": 1413, + "id": 905, "nodeType": "Block", - "src": "25157:42:1", + "src": "25852:44:0", "statements": [ { "expression": { - "id": 1411, + "id": 903, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25178:10:1", + "referencedDeclaration": 895, + "src": "25874:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1409, - "id": 1412, + "functionReturnParameters": 901, + "id": 904, "nodeType": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ] } } ] }, - "id": 1429, + "id": 921, "implemented": true, "kind": "function", "modifiers": [], "name": "_verifyCallResult", "nodeType": "FunctionDefinition", "parameters": { - "id": 1406, + "id": 898, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1401, + "id": 893, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25032:12:1", + "scope": 921, + "src": "25726:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11631,10 +11631,10 @@ "typeString": "bool" }, "typeName": { - "id": 1400, + "id": 892, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "25032:4:1", + "src": "25726:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11644,12 +11644,12 @@ }, { "constant": false, - "id": 1403, + "id": 895, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25046:23:1", + "scope": 921, + "src": "25740:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11657,10 +11657,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1402, + "id": 894, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25046:5:1", + "src": "25740:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11670,12 +11670,12 @@ }, { "constant": false, - "id": 1405, + "id": 897, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25071:26:1", + "scope": 921, + "src": "25765:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11683,10 +11683,10 @@ "typeString": "string" }, "typeName": { - "id": 1404, + "id": 896, "name": "string", "nodeType": "ElementaryTypeName", - "src": "25071:6:1", + "src": "25765:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11695,20 +11695,20 @@ "visibility": "internal" } ], - "src": "25031:67:1" + "src": "25725:67:0" }, "returnParameters": { - "id": 1409, + "id": 901, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1408, + "id": 900, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25120:12:1", + "scope": 921, + "src": "25814:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11716,10 +11716,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1407, + "id": 899, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25120:5:1", + "src": "25814:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11728,20 +11728,20 @@ "visibility": "internal" } ], - "src": "25119:14:1" + "src": "25813:14:0" }, - "scope": 1430, - "src": "25005:725:1", + "scope": 922, + "src": "25699:742:0", "stateMutability": "pure", "virtual": false, "visibility": "private" } ], - "scope": 3499, - "src": "18048:7684:1" + "scope": 2991, + "src": "18579:7865:0" }, { - "id": 1431, + "id": 923, "literals": [ "solidity", ">=", @@ -11752,7 +11752,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "abstract": false, @@ -11760,31 +11760,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1432, + "id": 924, "nodeType": "StructuredDocumentation", - "src": "25824:686:1", + "src": "26541:709:0", "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, "fullyImplemented": true, - "id": 1921, + "id": 1413, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableSet.Set", - "id": 1440, + "id": 932, "members": [ { "constant": false, - "id": 1435, + "id": 927, "mutability": "mutable", "name": "_values", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27033:17:1", + "scope": 932, + "src": "27786:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11793,18 +11793,18 @@ }, "typeName": { "baseType": { - "id": 1433, + "id": 925, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27033:7:1", + "src": "27786:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1434, + "id": 926, "nodeType": "ArrayTypeName", - "src": "27033:9:1", + "src": "27786:9:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", "typeString": "bytes32[]" @@ -11814,12 +11814,12 @@ }, { "constant": false, - "id": 1439, + "id": 931, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27184:37:1", + "scope": 932, + "src": "27941:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11827,28 +11827,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1438, + "id": 930, "keyType": { - "id": 1436, + "id": 928, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27193:7:1", + "src": "27950:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "27184:28:1", + "src": "27941:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1437, + "id": 929, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "27204:7:1", + "src": "27961:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11860,19 +11860,19 @@ ], "name": "Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "26979:249:1", + "scope": 1413, + "src": "27730:256:0", "visibility": "public" }, { "body": { - "id": 1480, + "id": 972, "nodeType": "Block", - "src": "27467:335:1", + "src": "28233:345:0", "statements": [ { "condition": { - "id": 1454, + "id": 946, "isConstant": false, "isLValue": false, "isPure": false, @@ -11880,28 +11880,28 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "27481:22:1", + "src": "28248:22:0", "subExpression": { "arguments": [ { - "id": 1451, + "id": 943, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27492:3:1", + "referencedDeclaration": 935, + "src": "28259:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, { - "id": 1452, + "id": 944, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27497:5:1", + "referencedDeclaration": 937, + "src": "28264:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11911,7 +11911,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -11919,18 +11919,18 @@ "typeString": "bytes32" } ], - "id": 1450, + "id": 942, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "27482:9:1", + "referencedDeclaration": 1071, + "src": "28249:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1453, + "id": 945, "isConstant": false, "isLValue": false, "isPure": false, @@ -11938,7 +11938,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27482:21:1", + "src": "28249:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -11951,52 +11951,52 @@ } }, "falseBody": { - "id": 1478, + "id": 970, "nodeType": "Block", - "src": "27759:37:1", + "src": "28532:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1476, + "id": 968, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27780:5:1", + "src": "28554:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1449, - "id": 1477, + "functionReturnParameters": 941, + "id": 969, "nodeType": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ] }, - "id": 1479, + "id": 971, "nodeType": "IfStatement", - "src": "27477:319:1", + "src": "28244:327:0", "trueBody": { - "id": 1475, + "id": 967, "nodeType": "Block", - "src": "27505:248:1", + "src": "28272:254:0", "statements": [ { "expression": { "arguments": [ { - "id": 1460, + "id": 952, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27536:5:1", + "referencedDeclaration": 937, + "src": "28304:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12012,45 +12012,45 @@ ], "expression": { "expression": { - "id": 1455, + "id": 947, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27519:3:1", + "referencedDeclaration": 935, + "src": "28287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1458, + "id": 950, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27519:11:1", + "referencedDeclaration": 927, + "src": "28287:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1459, + "id": 951, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "27519:16:1", + "src": "28287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_bytes32_$returns$__$", "typeString": "function (bytes32)" } }, - "id": 1461, + "id": 953, "isConstant": false, "isLValue": false, "isPure": false, @@ -12058,20 +12058,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27519:23:1", + "src": "28287:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1462, + "id": 954, "nodeType": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "expression": { - "id": 1471, + "id": 963, "isConstant": false, "isLValue": false, "isPure": false, @@ -12079,39 +12079,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1463, + "id": 955, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27677:3:1", + "referencedDeclaration": 935, + "src": "28448:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1466, + "id": 958, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "27677:12:1", + "referencedDeclaration": 931, + "src": "28448:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1467, + "id": 959, "indexExpression": { - "id": 1465, + "id": 957, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27690:5:1", + "referencedDeclaration": 937, + "src": "28461:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12122,7 +12122,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "27677:19:1", + "src": "28448:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12133,75 +12133,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1468, + "id": 960, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27699:3:1", + "referencedDeclaration": 935, + "src": "28470:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1469, + "id": 961, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27699:11:1", + "referencedDeclaration": 927, + "src": "28470:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1470, + "id": 962, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "27699:18:1", + "src": "28470:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "27677:40:1", + "src": "28448:40:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1472, + "id": 964, "nodeType": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "expression": { "hexValue": "74727565", - "id": 1473, + "id": 965, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27738:4:1", + "src": "28510:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1449, - "id": 1474, + "functionReturnParameters": 941, + "id": 966, "nodeType": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ] } @@ -12209,43 +12209,43 @@ ] }, "documentation": { - "id": 1441, + "id": 933, "nodeType": "StructuredDocumentation", - "src": "27234:159:1", + "src": "27994:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1481, + "id": 973, "implemented": true, "kind": "function", "modifiers": [], "name": "_add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1446, + "id": 938, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1443, + "id": 935, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27412:15:1", + "scope": 973, + "src": "28178:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1442, + "id": 934, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27412:3:1", + "referencedDeclaration": 932, + "src": "28178:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -12253,12 +12253,12 @@ }, { "constant": false, - "id": 1445, + "id": 937, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27429:13:1", + "scope": 973, + "src": "28195:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12266,10 +12266,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1444, + "id": 936, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27429:7:1", + "src": "28195:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12278,20 +12278,20 @@ "visibility": "internal" } ], - "src": "27411:32:1" + "src": "28177:32:0" }, "returnParameters": { - "id": 1449, + "id": 941, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1448, + "id": 940, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27461:4:1", + "scope": 973, + "src": "28227:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12299,10 +12299,10 @@ "typeString": "bool" }, "typeName": { - "id": 1447, + "id": 939, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "27461:4:1", + "src": "28227:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12311,33 +12311,33 @@ "visibility": "internal" } ], - "src": "27460:6:1" + "src": "28226:6:0" }, - "scope": 1921, - "src": "27398:404:1", + "scope": 1413, + "src": "28164:414:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1560, + "id": 1052, "nodeType": "Block", - "src": "28042:1440:1", + "src": "28826:1472:0", "statements": [ { "assignments": [ - 1492 + 984 ], "declarations": [ { "constant": false, - "id": 1492, + "id": 984, "mutability": "mutable", "name": "valueIndex", "nodeType": "VariableDeclaration", - "scope": 1560, - "src": "28152:18:1", + "scope": 1052, + "src": "28938:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12345,10 +12345,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1491, + "id": 983, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28152:7:1", + "src": "28938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12357,43 +12357,43 @@ "visibility": "internal" } ], - "id": 1497, + "id": 989, "initialValue": { "baseExpression": { "expression": { - "id": 1493, + "id": 985, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28173:3:1", + "referencedDeclaration": 976, + "src": "28959:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1494, + "id": 986, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "28173:12:1", + "referencedDeclaration": 931, + "src": "28959:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1496, + "id": 988, "indexExpression": { - "id": 1495, + "id": 987, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "28186:5:1", + "referencedDeclaration": 978, + "src": "28972:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12404,14 +12404,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28173:19:1", + "src": "28959:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "condition": { @@ -12419,18 +12419,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1500, + "id": 992, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1498, + "id": 990, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28207:10:1", + "referencedDeclaration": 984, + "src": "28995:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12440,76 +12440,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1499, + "id": 991, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28221:1:1", + "src": "29009:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "28207:15:1", + "src": "28995:15:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1558, + "id": 1050, "nodeType": "Block", - "src": "29439:37:1", + "src": "30252:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1556, + "id": 1048, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29460:5:1", + "src": "30274:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1490, - "id": 1557, + "functionReturnParameters": 982, + "id": 1049, "nodeType": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ] }, - "id": 1559, + "id": 1051, "nodeType": "IfStatement", - "src": "28203:1273:1", + "src": "28991:1300:0", "trueBody": { - "id": 1555, + "id": 1047, "nodeType": "Block", - "src": "28224:1209:1", + "src": "29012:1234:0", "statements": [ { "assignments": [ - 1502 + 994 ], "declarations": [ { "constant": false, - "id": 1502, + "id": 994, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28564:21:1", + "scope": 1047, + "src": "29357:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12517,10 +12517,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1501, + "id": 993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28564:7:1", + "src": "29357:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12529,24 +12529,24 @@ "visibility": "internal" } ], - "id": 1506, + "id": 998, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1505, + "id": 997, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1503, + "id": 995, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28588:10:1", + "referencedDeclaration": 984, + "src": "29381:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12556,42 +12556,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1504, + "id": 996, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28601:1:1", + "src": "29394:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28588:14:1", + "src": "29381:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "assignments": [ - 1508 + 1000 ], "declarations": [ { "constant": false, - "id": 1508, + "id": 1000, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28616:17:1", + "scope": 1047, + "src": "29410:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12599,10 +12599,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1507, + "id": 999, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28616:7:1", + "src": "29410:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12611,13 +12611,13 @@ "visibility": "internal" } ], - "id": 1514, + "id": 1006, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1513, + "id": 1005, "isConstant": false, "isLValue": false, "isPure": false, @@ -12625,39 +12625,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1509, + "id": 1001, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28636:3:1", + "referencedDeclaration": 976, + "src": "29430:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1510, + "id": 1002, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28636:11:1", + "referencedDeclaration": 927, + "src": "29430:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1511, + "id": 1003, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "28636:18:1", + "src": "29430:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12667,42 +12667,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1512, + "id": 1004, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28657:1:1", + "src": "29451:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28636:22:1", + "src": "29430:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "assignments": [ - 1516 + 1008 ], "declarations": [ { "constant": false, - "id": 1516, + "id": 1008, "mutability": "mutable", "name": "lastvalue", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28898:17:1", + "scope": 1047, + "src": "29697:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12710,10 +12710,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1515, + "id": 1007, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28898:7:1", + "src": "29697:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12722,43 +12722,43 @@ "visibility": "internal" } ], - "id": 1521, + "id": 1013, "initialValue": { "baseExpression": { "expression": { - "id": 1517, + "id": 1009, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28918:3:1", + "referencedDeclaration": 976, + "src": "29717:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1518, + "id": 1010, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28918:11:1", + "referencedDeclaration": 927, + "src": "29717:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1520, + "id": 1012, "indexExpression": { - "id": 1519, + "id": 1011, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1508, - "src": "28930:9:1", + "referencedDeclaration": 1000, + "src": "29729:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12769,18 +12769,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28918:22:1", + "src": "29717:22:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "expression": { - "id": 1528, + "id": 1020, "isConstant": false, "isLValue": false, "isPure": false, @@ -12788,39 +12788,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1522, + "id": 1014, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29032:3:1", + "referencedDeclaration": 976, + "src": "29834:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1525, + "id": 1017, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29032:11:1", + "referencedDeclaration": 927, + "src": "29834:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1526, + "id": 1018, "indexExpression": { - "id": 1524, + "id": 1016, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29044:13:1", + "referencedDeclaration": 994, + "src": "29846:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12831,7 +12831,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29032:26:1", + "src": "29834:26:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12840,30 +12840,30 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1527, + "id": 1019, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29061:9:1", + "referencedDeclaration": 1008, + "src": "29863:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "29032:38:1", + "src": "29834:38:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1529, + "id": 1021, "nodeType": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "expression": { - "id": 1538, + "id": 1030, "isConstant": false, "isLValue": false, "isPure": false, @@ -12871,39 +12871,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1530, + "id": 1022, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29136:3:1", + "referencedDeclaration": 976, + "src": "29940:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1533, + "id": 1025, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29136:12:1", + "referencedDeclaration": 931, + "src": "29940:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1534, + "id": 1026, "indexExpression": { - "id": 1532, + "id": 1024, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29149:9:1", + "referencedDeclaration": 1008, + "src": "29953:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12914,7 +12914,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29136:23:1", + "src": "29940:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12927,18 +12927,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1537, + "id": 1029, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1535, + "id": 1027, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29162:13:1", + "referencedDeclaration": 994, + "src": "29966:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12948,35 +12948,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 1536, + "id": 1028, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29178:1:1", + "src": "29982:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "29162:17:1", + "src": "29966:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "29136:43:1", + "src": "29940:43:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1539, + "id": 1031, "nodeType": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "expression": { @@ -12985,45 +12985,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 1540, + "id": 1032, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29285:3:1", + "referencedDeclaration": 976, + "src": "30092:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1543, + "id": 1035, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29285:11:1", + "referencedDeclaration": 927, + "src": "30092:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1544, + "id": 1036, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "29285:15:1", + "src": "30092:15:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 1545, + "id": 1037, "isConstant": false, "isLValue": false, "isPure": false, @@ -13031,20 +13031,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "29285:17:1", + "src": "30092:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1546, + "id": 1038, "nodeType": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "expression": { - "id": 1551, + "id": 1043, "isConstant": false, "isLValue": false, "isPure": false, @@ -13052,43 +13052,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "29370:26:1", + "src": "30180:26:0", "subExpression": { "baseExpression": { "expression": { - "id": 1547, + "id": 1039, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29377:3:1", + "referencedDeclaration": 976, + "src": "30187:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1548, + "id": 1040, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29377:12:1", + "referencedDeclaration": 931, + "src": "30187:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1550, + "id": 1042, "indexExpression": { - "id": 1549, + "id": 1041, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "29390:5:1", + "referencedDeclaration": 978, + "src": "30200:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13099,7 +13099,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29377:19:1", + "src": "30187:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13110,31 +13110,31 @@ "typeString": "tuple()" } }, - "id": 1552, + "id": 1044, "nodeType": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "expression": { "hexValue": "74727565", - "id": 1553, + "id": 1045, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29418:4:1", + "src": "30230:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1490, - "id": 1554, + "functionReturnParameters": 982, + "id": 1046, "nodeType": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ] } @@ -13142,43 +13142,43 @@ ] }, "documentation": { - "id": 1482, + "id": 974, "nodeType": "StructuredDocumentation", - "src": "27808:157:1", + "src": "28586:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1561, + "id": 1053, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1487, + "id": 979, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1484, + "id": 976, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "27987:15:1", + "scope": 1053, + "src": "28771:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1483, + "id": 975, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27987:3:1", + "referencedDeclaration": 932, + "src": "28771:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13186,12 +13186,12 @@ }, { "constant": false, - "id": 1486, + "id": 978, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28004:13:1", + "scope": 1053, + "src": "28788:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13199,10 +13199,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1485, + "id": 977, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28004:7:1", + "src": "28788:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13211,20 +13211,20 @@ "visibility": "internal" } ], - "src": "27986:32:1" + "src": "28770:32:0" }, "returnParameters": { - "id": 1490, + "id": 982, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1489, + "id": 981, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28036:4:1", + "scope": 1053, + "src": "28820:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13232,10 +13232,10 @@ "typeString": "bool" }, "typeName": { - "id": 1488, + "id": 980, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "28036:4:1", + "src": "28820:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13244,19 +13244,19 @@ "visibility": "internal" } ], - "src": "28035:6:1" + "src": "28819:6:0" }, - "scope": 1921, - "src": "27970:1512:1", + "scope": 1413, + "src": "28754:1544:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1578, + "id": 1070, "nodeType": "Block", - "src": "29642:48:1", + "src": "30463:50:0", "statements": [ { "expression": { @@ -13264,7 +13264,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1576, + "id": 1068, "isConstant": false, "isLValue": false, "isPure": false, @@ -13272,39 +13272,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 1571, + "id": 1063, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1564, - "src": "29659:3:1", + "referencedDeclaration": 1056, + "src": "30481:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1572, + "id": 1064, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29659:12:1", + "referencedDeclaration": 931, + "src": "30481:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1574, + "id": 1066, "indexExpression": { - "id": 1573, + "id": 1065, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1566, - "src": "29672:5:1", + "referencedDeclaration": 1058, + "src": "30494:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13315,7 +13315,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "29659:19:1", + "src": "30481:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13325,71 +13325,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1575, + "id": 1067, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29682:1:1", + "src": "30504:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "29659:24:1", + "src": "30481:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1570, - "id": 1577, + "functionReturnParameters": 1062, + "id": 1069, "nodeType": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ] }, "documentation": { - "id": 1562, + "id": 1054, "nodeType": "StructuredDocumentation", - "src": "29488:70:1", + "src": "30306:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1579, + "id": 1071, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1567, + "id": 1059, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1564, + "id": 1056, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29582:15:1", + "scope": 1071, + "src": "30403:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1563, + "id": 1055, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29582:3:1", + "referencedDeclaration": 932, + "src": "30403:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13397,12 +13397,12 @@ }, { "constant": false, - "id": 1566, + "id": 1058, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29599:13:1", + "scope": 1071, + "src": "30420:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13410,10 +13410,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1565, + "id": 1057, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "29599:7:1", + "src": "30420:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13422,20 +13422,20 @@ "visibility": "internal" } ], - "src": "29581:32:1" + "src": "30402:32:0" }, "returnParameters": { - "id": 1570, + "id": 1062, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1569, + "id": 1061, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29636:4:1", + "scope": 1071, + "src": "30457:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13443,10 +13443,10 @@ "typeString": "bool" }, "typeName": { - "id": 1568, + "id": 1060, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "29636:4:1", + "src": "30457:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13455,127 +13455,127 @@ "visibility": "internal" } ], - "src": "29635:6:1" + "src": "30456:6:0" }, - "scope": 1921, - "src": "29563:127:1", + "scope": 1413, + "src": "30384:129:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1591, + "id": 1083, "nodeType": "Block", - "src": "29836:42:1", + "src": "30664:44:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 1587, + "id": 1079, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1582, - "src": "29853:3:1", + "referencedDeclaration": 1074, + "src": "30682:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1588, + "id": 1080, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29853:11:1", + "referencedDeclaration": 927, + "src": "30682:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1589, + "id": 1081, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "29853:18:1", + "src": "30682:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1586, - "id": 1590, + "functionReturnParameters": 1078, + "id": 1082, "nodeType": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ] }, "documentation": { - "id": 1580, + "id": 1072, "nodeType": "StructuredDocumentation", - "src": "29696:70:1", + "src": "30521:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1592, + "id": 1084, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1583, + "id": 1075, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1582, + "id": 1074, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29788:15:1", + "scope": 1084, + "src": "30616:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1581, + "id": 1073, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29788:3:1", + "referencedDeclaration": 932, + "src": "30616:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, "visibility": "internal" } ], - "src": "29787:17:1" + "src": "30615:17:0" }, "returnParameters": { - "id": 1586, + "id": 1078, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1585, + "id": 1077, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29827:7:1", + "scope": 1084, + "src": "30655:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13583,10 +13583,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1584, + "id": 1076, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "29827:7:1", + "src": "30655:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13595,19 +13595,19 @@ "visibility": "internal" } ], - "src": "29826:9:1" + "src": "30654:9:0" }, - "scope": 1921, - "src": "29771:107:1", + "scope": 1413, + "src": "30599:109:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1616, + "id": 1108, "nodeType": "Block", - "src": "30286:125:1", + "src": "31128:128:0", "statements": [ { "expression": { @@ -13617,7 +13617,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1607, + "id": 1099, "isConstant": false, "isLValue": false, "isPure": false, @@ -13625,39 +13625,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1603, + "id": 1095, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30304:3:1", + "referencedDeclaration": 1087, + "src": "31147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1604, + "id": 1096, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30304:11:1", + "referencedDeclaration": 927, + "src": "31147:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1605, + "id": 1097, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "30304:18:1", + "src": "31147:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13666,18 +13666,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 1606, + "id": 1098, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30325:5:1", + "referencedDeclaration": 1089, + "src": "31168:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "30304:26:1", + "src": "31147:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13685,14 +13685,14 @@ }, { "hexValue": "456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473", - "id": 1608, + "id": 1100, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "30332:36:1", + "src": "31175:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_045d6834e6193a687012a3ad777f612279e549b6945364d9d2324f48610d3cbb", "typeString": "literal_string \"EnumerableSet: index out of bounds\"" @@ -13711,7 +13711,7 @@ "typeString": "literal_string \"EnumerableSet: index out of bounds\"" } ], - "id": 1602, + "id": 1094, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -13719,13 +13719,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "30296:7:1", + "src": "31139:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1609, + "id": 1101, "isConstant": false, "isLValue": false, "isPure": false, @@ -13733,54 +13733,54 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30296:73:1", + "src": "31139:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1610, + "id": 1102, "nodeType": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "expression": { "baseExpression": { "expression": { - "id": 1611, + "id": 1103, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30386:3:1", + "referencedDeclaration": 1087, + "src": "31230:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1612, + "id": 1104, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30386:11:1", + "referencedDeclaration": 927, + "src": "31230:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1614, + "id": 1106, "indexExpression": { - "id": 1613, + "id": 1105, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30398:5:1", + "referencedDeclaration": 1089, + "src": "31242:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13791,57 +13791,57 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "30386:18:1", + "src": "31230:18:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1601, - "id": 1615, + "functionReturnParameters": 1093, + "id": 1107, "nodeType": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ] }, "documentation": { - "id": 1593, + "id": 1085, "nodeType": "StructuredDocumentation", - "src": "29883:322:1", + "src": "30715:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1617, + "id": 1109, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1598, + "id": 1090, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1595, + "id": 1087, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30223:15:1", + "scope": 1109, + "src": "31065:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1594, + "id": 1086, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30223:3:1", + "referencedDeclaration": 932, + "src": "31065:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13849,12 +13849,12 @@ }, { "constant": false, - "id": 1597, + "id": 1089, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30240:13:1", + "scope": 1109, + "src": "31082:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13862,10 +13862,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1596, + "id": 1088, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "30240:7:1", + "src": "31082:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13874,20 +13874,20 @@ "visibility": "internal" } ], - "src": "30222:32:1" + "src": "31064:32:0" }, "returnParameters": { - "id": 1601, + "id": 1093, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1600, + "id": 1092, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30277:7:1", + "scope": 1109, + "src": "31119:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13895,10 +13895,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1599, + "id": 1091, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30277:7:1", + "src": "31119:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13907,40 +13907,40 @@ "visibility": "internal" } ], - "src": "30276:9:1" + "src": "31118:9:0" }, - "scope": 1921, - "src": "30210:201:1", + "scope": 1413, + "src": "31052:204:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableSet.Bytes32Set", - "id": 1620, + "id": 1112, "members": [ { "constant": false, - "id": 1619, + "id": 1111, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1620, - "src": "30464:10:1", + "scope": 1112, + "src": "31314:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1618, + "id": 1110, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30464:3:1", + "referencedDeclaration": 932, + "src": "31314:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13949,53 +13949,53 @@ ], "name": "Bytes32Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "30436:45:1", + "scope": 1413, + "src": "31285:47:0", "visibility": "public" }, { "body": { - "id": 1636, + "id": 1128, "nodeType": "Block", - "src": "30727:47:1", + "src": "31586:49:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1631, + "id": 1123, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1623, - "src": "30749:3:1", + "referencedDeclaration": 1115, + "src": "31609:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1632, + "id": 1124, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "30749:10:1", + "referencedDeclaration": 1111, + "src": "31609:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1633, + "id": 1125, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "30761:5:1", + "referencedDeclaration": 1117, + "src": "31621:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14005,7 +14005,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14013,18 +14013,18 @@ "typeString": "bytes32" } ], - "id": 1630, + "id": 1122, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "30744:4:1", + "referencedDeclaration": 973, + "src": "31604:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1634, + "id": 1126, "isConstant": false, "isLValue": false, "isPure": false, @@ -14032,58 +14032,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30744:23:1", + "src": "31604:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1629, - "id": 1635, + "functionReturnParameters": 1121, + "id": 1127, "nodeType": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ] }, "documentation": { - "id": 1621, + "id": 1113, "nodeType": "StructuredDocumentation", - "src": "30487:159:1", + "src": "31340:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1637, + "id": 1129, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1626, + "id": 1118, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1623, + "id": 1115, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30664:22:1", + "scope": 1129, + "src": "31523:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1622, + "id": 1114, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30664:10:1", + "referencedDeclaration": 1112, + "src": "31523:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14091,12 +14091,12 @@ }, { "constant": false, - "id": 1625, + "id": 1117, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30688:13:1", + "scope": 1129, + "src": "31547:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14104,10 +14104,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1624, + "id": 1116, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30688:7:1", + "src": "31547:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14116,20 +14116,20 @@ "visibility": "internal" } ], - "src": "30663:39:1" + "src": "31522:39:0" }, "returnParameters": { - "id": 1629, + "id": 1121, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1628, + "id": 1120, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30721:4:1", + "scope": 1129, + "src": "31580:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14137,10 +14137,10 @@ "typeString": "bool" }, "typeName": { - "id": 1627, + "id": 1119, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "30721:4:1", + "src": "31580:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14149,57 +14149,57 @@ "visibility": "internal" } ], - "src": "30720:6:1" + "src": "31579:6:0" }, - "scope": 1921, - "src": "30651:123:1", + "scope": 1413, + "src": "31510:125:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1653, + "id": 1145, "nodeType": "Block", - "src": "31021:50:1", + "src": "31890:52:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1648, + "id": 1140, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1640, - "src": "31046:3:1", + "referencedDeclaration": 1132, + "src": "31916:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1649, + "id": 1141, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31046:10:1", + "referencedDeclaration": 1111, + "src": "31916:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1650, + "id": 1142, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1642, - "src": "31058:5:1", + "referencedDeclaration": 1134, + "src": "31928:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14209,7 +14209,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14217,18 +14217,18 @@ "typeString": "bytes32" } ], - "id": 1647, + "id": 1139, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "31038:7:1", + "referencedDeclaration": 1053, + "src": "31908:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1651, + "id": 1143, "isConstant": false, "isLValue": false, "isPure": false, @@ -14236,58 +14236,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31038:26:1", + "src": "31908:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1646, - "id": 1652, + "functionReturnParameters": 1138, + "id": 1144, "nodeType": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ] }, "documentation": { - "id": 1638, + "id": 1130, "nodeType": "StructuredDocumentation", - "src": "30780:157:1", + "src": "31643:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1654, + "id": 1146, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1643, + "id": 1135, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1640, + "id": 1132, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30958:22:1", + "scope": 1146, + "src": "31827:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1639, + "id": 1131, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30958:10:1", + "referencedDeclaration": 1112, + "src": "31827:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14295,12 +14295,12 @@ }, { "constant": false, - "id": 1642, + "id": 1134, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30982:13:1", + "scope": 1146, + "src": "31851:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14308,10 +14308,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1641, + "id": 1133, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30982:7:1", + "src": "31851:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14320,20 +14320,20 @@ "visibility": "internal" } ], - "src": "30957:39:1" + "src": "31826:39:0" }, "returnParameters": { - "id": 1646, + "id": 1138, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1645, + "id": 1137, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "31015:4:1", + "scope": 1146, + "src": "31884:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14341,10 +14341,10 @@ "typeString": "bool" }, "typeName": { - "id": 1644, + "id": 1136, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31015:4:1", + "src": "31884:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14353,57 +14353,57 @@ "visibility": "internal" } ], - "src": "31014:6:1" + "src": "31883:6:0" }, - "scope": 1921, - "src": "30942:129:1", + "scope": 1413, + "src": "31811:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1670, + "id": 1162, "nodeType": "Block", - "src": "31238:52:1", + "src": "32114:54:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1665, + "id": 1157, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "31265:3:1", + "referencedDeclaration": 1149, + "src": "32142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1666, + "id": 1158, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31265:10:1", + "referencedDeclaration": 1111, + "src": "32142:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1667, + "id": 1159, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1659, - "src": "31277:5:1", + "referencedDeclaration": 1151, + "src": "32154:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14413,7 +14413,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14421,18 +14421,18 @@ "typeString": "bytes32" } ], - "id": 1664, + "id": 1156, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "31255:9:1", + "referencedDeclaration": 1071, + "src": "32132:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1668, + "id": 1160, "isConstant": false, "isLValue": false, "isPure": false, @@ -14440,58 +14440,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31255:28:1", + "src": "32132:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1663, - "id": 1669, + "functionReturnParameters": 1155, + "id": 1161, "nodeType": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ] }, "documentation": { - "id": 1655, + "id": 1147, "nodeType": "StructuredDocumentation", - "src": "31077:70:1", + "src": "31950:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1671, + "id": 1163, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1660, + "id": 1152, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1657, + "id": 1149, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31170:22:1", + "scope": 1163, + "src": "32046:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1656, + "id": 1148, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31170:10:1", + "referencedDeclaration": 1112, + "src": "32046:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14499,12 +14499,12 @@ }, { "constant": false, - "id": 1659, + "id": 1151, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31194:13:1", + "scope": 1163, + "src": "32070:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14512,10 +14512,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1658, + "id": 1150, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31194:7:1", + "src": "32070:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14524,20 +14524,20 @@ "visibility": "internal" } ], - "src": "31169:39:1" + "src": "32045:39:0" }, "returnParameters": { - "id": 1663, + "id": 1155, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1662, + "id": 1154, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31232:4:1", + "scope": 1163, + "src": "32108:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14545,10 +14545,10 @@ "typeString": "bool" }, "typeName": { - "id": 1661, + "id": 1153, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31232:4:1", + "src": "32108:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14557,47 +14557,47 @@ "visibility": "internal" } ], - "src": "31231:6:1" + "src": "32107:6:0" }, - "scope": 1921, - "src": "31152:138:1", + "scope": 1413, + "src": "32028:140:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1684, + "id": 1176, "nodeType": "Block", - "src": "31443:43:1", + "src": "32326:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1680, + "id": 1172, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "31468:3:1", + "referencedDeclaration": 1166, + "src": "32352:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1681, + "id": 1173, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31468:10:1", + "referencedDeclaration": 1111, + "src": "32352:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -14605,22 +14605,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1679, + "id": 1171, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "31460:7:1", + "referencedDeclaration": 1084, + "src": "32344:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1682, + "id": 1174, "isConstant": false, "isLValue": false, "isPure": false, @@ -14628,78 +14628,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31460:19:1", + "src": "32344:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1678, - "id": 1683, + "functionReturnParameters": 1170, + "id": 1175, "nodeType": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ] }, "documentation": { - "id": 1672, + "id": 1164, "nodeType": "StructuredDocumentation", - "src": "31296:70:1", + "src": "32176:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1685, + "id": 1177, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1675, + "id": 1167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1674, + "id": 1166, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31387:22:1", + "scope": 1177, + "src": "32270:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1673, + "id": 1165, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31387:10:1", + "referencedDeclaration": 1112, + "src": "32270:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, "visibility": "internal" } ], - "src": "31386:24:1" + "src": "32269:24:0" }, "returnParameters": { - "id": 1678, + "id": 1170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1677, + "id": 1169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31434:7:1", + "scope": 1177, + "src": "32317:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14707,10 +14707,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1676, + "id": 1168, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31434:7:1", + "src": "32317:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14719,57 +14719,57 @@ "visibility": "internal" } ], - "src": "31433:9:1" + "src": "32316:9:0" }, - "scope": 1921, - "src": "31371:115:1", + "scope": 1413, + "src": "32254:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1701, + "id": 1193, "nodeType": "Block", - "src": "31901:46:1", + "src": "32798:48:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1696, + "id": 1188, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1688, - "src": "31922:3:1", + "referencedDeclaration": 1180, + "src": "32820:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1697, + "id": 1189, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31922:10:1", + "referencedDeclaration": 1111, + "src": "32820:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1698, + "id": 1190, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "31934:5:1", + "referencedDeclaration": 1182, + "src": "32832:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14779,7 +14779,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14787,18 +14787,18 @@ "typeString": "uint256" } ], - "id": 1695, + "id": 1187, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "31918:3:1", + "referencedDeclaration": 1109, + "src": "32816:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1699, + "id": 1191, "isConstant": false, "isLValue": false, "isPure": false, @@ -14806,58 +14806,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31918:22:1", + "src": "32816:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1694, - "id": 1700, + "functionReturnParameters": 1186, + "id": 1192, "nodeType": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ] }, "documentation": { - "id": 1686, + "id": 1178, "nodeType": "StructuredDocumentation", - "src": "31491:322:1", + "src": "32378:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1702, + "id": 1194, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1691, + "id": 1183, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1688, + "id": 1180, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31830:22:1", + "scope": 1194, + "src": "32727:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1687, + "id": 1179, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31830:10:1", + "referencedDeclaration": 1112, + "src": "32727:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14865,12 +14865,12 @@ }, { "constant": false, - "id": 1690, + "id": 1182, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31854:13:1", + "scope": 1194, + "src": "32751:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14878,10 +14878,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1689, + "id": 1181, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31854:7:1", + "src": "32751:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14890,20 +14890,20 @@ "visibility": "internal" } ], - "src": "31829:39:1" + "src": "32726:39:0" }, "returnParameters": { - "id": 1694, + "id": 1186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1693, + "id": 1185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31892:7:1", + "scope": 1194, + "src": "32789:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14911,10 +14911,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1692, + "id": 1184, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31892:7:1", + "src": "32789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14923,40 +14923,40 @@ "visibility": "internal" } ], - "src": "31891:9:1" + "src": "32788:9:0" }, - "scope": 1921, - "src": "31818:129:1", + "scope": 1413, + "src": "32715:131:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.AddressSet", - "id": 1705, + "id": 1197, "members": [ { "constant": false, - "id": 1704, + "id": 1196, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1705, - "src": "32000:10:1", + "scope": 1197, + "src": "32904:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1703, + "id": 1195, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "32000:3:1", + "referencedDeclaration": 932, + "src": "32904:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -14965,43 +14965,43 @@ ], "name": "AddressSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "31972:45:1", + "scope": 1413, + "src": "32875:47:0", "visibility": "public" }, { "body": { - "id": 1730, + "id": 1222, "nodeType": "Block", - "src": "32263:74:1", + "src": "33176:76:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1716, + "id": 1208, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1708, - "src": "32285:3:1", + "referencedDeclaration": 1200, + "src": "33199:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1717, + "id": 1209, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32285:10:1", + "referencedDeclaration": 1196, + "src": "33199:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15012,12 +15012,12 @@ { "arguments": [ { - "id": 1724, + "id": 1216, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1710, - "src": "32321:5:1", + "referencedDeclaration": 1202, + "src": "33235:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15031,26 +15031,26 @@ "typeString": "address" } ], - "id": 1723, + "id": 1215, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1722, + "id": 1214, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": {} } }, - "id": 1725, + "id": 1217, "isConstant": false, "isLValue": false, "isPure": false, @@ -15058,7 +15058,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32313:14:1", + "src": "33227:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15073,26 +15073,26 @@ "typeString": "uint160" } ], - "id": 1721, + "id": 1213, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1720, + "id": 1212, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": {} } }, - "id": 1726, + "id": 1218, "isConstant": false, "isLValue": false, "isPure": false, @@ -15100,7 +15100,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32305:23:1", + "src": "33219:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15115,26 +15115,26 @@ "typeString": "uint256" } ], - "id": 1719, + "id": 1211, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1718, + "id": 1210, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": {} } }, - "id": 1727, + "id": 1219, "isConstant": false, "isLValue": false, "isPure": false, @@ -15142,7 +15142,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32297:32:1", + "src": "33211:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15153,7 +15153,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15161,18 +15161,18 @@ "typeString": "bytes32" } ], - "id": 1715, + "id": 1207, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "32280:4:1", + "referencedDeclaration": 973, + "src": "33194:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1728, + "id": 1220, "isConstant": false, "isLValue": false, "isPure": false, @@ -15180,58 +15180,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32280:50:1", + "src": "33194:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1714, - "id": 1729, + "functionReturnParameters": 1206, + "id": 1221, "nodeType": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ] }, "documentation": { - "id": 1706, + "id": 1198, "nodeType": "StructuredDocumentation", - "src": "32023:159:1", + "src": "32930:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1731, + "id": 1223, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1711, + "id": 1203, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1708, + "id": 1200, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32200:22:1", + "scope": 1223, + "src": "33113:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1707, + "id": 1199, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32200:10:1", + "referencedDeclaration": 1197, + "src": "33113:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15239,12 +15239,12 @@ }, { "constant": false, - "id": 1710, + "id": 1202, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32224:13:1", + "scope": 1223, + "src": "33137:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15252,10 +15252,10 @@ "typeString": "address" }, "typeName": { - "id": 1709, + "id": 1201, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32224:7:1", + "src": "33137:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15265,20 +15265,20 @@ "visibility": "internal" } ], - "src": "32199:39:1" + "src": "33112:39:0" }, "returnParameters": { - "id": 1714, + "id": 1206, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1713, + "id": 1205, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32257:4:1", + "scope": 1223, + "src": "33170:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15286,10 +15286,10 @@ "typeString": "bool" }, "typeName": { - "id": 1712, + "id": 1204, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32257:4:1", + "src": "33170:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15298,47 +15298,47 @@ "visibility": "internal" } ], - "src": "32256:6:1" + "src": "33169:6:0" }, - "scope": 1921, - "src": "32187:150:1", + "scope": 1413, + "src": "33100:152:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1756, + "id": 1248, "nodeType": "Block", - "src": "32584:77:1", + "src": "33507:79:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1742, + "id": 1234, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1734, - "src": "32609:3:1", + "referencedDeclaration": 1226, + "src": "33533:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1743, + "id": 1235, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32609:10:1", + "referencedDeclaration": 1196, + "src": "33533:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15349,12 +15349,12 @@ { "arguments": [ { - "id": 1750, + "id": 1242, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1736, - "src": "32645:5:1", + "referencedDeclaration": 1228, + "src": "33569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15368,26 +15368,26 @@ "typeString": "address" } ], - "id": 1749, + "id": 1241, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1748, + "id": 1240, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": {} } }, - "id": 1751, + "id": 1243, "isConstant": false, "isLValue": false, "isPure": false, @@ -15395,7 +15395,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32637:14:1", + "src": "33561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15410,26 +15410,26 @@ "typeString": "uint160" } ], - "id": 1747, + "id": 1239, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1746, + "id": 1238, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": {} } }, - "id": 1752, + "id": 1244, "isConstant": false, "isLValue": false, "isPure": false, @@ -15437,7 +15437,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32629:23:1", + "src": "33553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15452,26 +15452,26 @@ "typeString": "uint256" } ], - "id": 1745, + "id": 1237, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1744, + "id": 1236, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": {} } }, - "id": 1753, + "id": 1245, "isConstant": false, "isLValue": false, "isPure": false, @@ -15479,7 +15479,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32621:32:1", + "src": "33545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15490,7 +15490,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15498,18 +15498,18 @@ "typeString": "bytes32" } ], - "id": 1741, + "id": 1233, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "32601:7:1", + "referencedDeclaration": 1053, + "src": "33525:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1754, + "id": 1246, "isConstant": false, "isLValue": false, "isPure": false, @@ -15517,58 +15517,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32601:53:1", + "src": "33525:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1740, - "id": 1755, + "functionReturnParameters": 1232, + "id": 1247, "nodeType": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ] }, "documentation": { - "id": 1732, + "id": 1224, "nodeType": "StructuredDocumentation", - "src": "32343:157:1", + "src": "33260:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1757, + "id": 1249, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1737, + "id": 1229, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1734, + "id": 1226, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32521:22:1", + "scope": 1249, + "src": "33444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1733, + "id": 1225, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32521:10:1", + "referencedDeclaration": 1197, + "src": "33444:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15576,12 +15576,12 @@ }, { "constant": false, - "id": 1736, + "id": 1228, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32545:13:1", + "scope": 1249, + "src": "33468:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15589,10 +15589,10 @@ "typeString": "address" }, "typeName": { - "id": 1735, + "id": 1227, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32545:7:1", + "src": "33468:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15602,20 +15602,20 @@ "visibility": "internal" } ], - "src": "32520:39:1" + "src": "33443:39:0" }, "returnParameters": { - "id": 1740, + "id": 1232, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1739, + "id": 1231, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32578:4:1", + "scope": 1249, + "src": "33501:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15623,10 +15623,10 @@ "typeString": "bool" }, "typeName": { - "id": 1738, + "id": 1230, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32578:4:1", + "src": "33501:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15635,47 +15635,47 @@ "visibility": "internal" } ], - "src": "32577:6:1" + "src": "33500:6:0" }, - "scope": 1921, - "src": "32505:156:1", + "scope": 1413, + "src": "33428:158:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1782, + "id": 1274, "nodeType": "Block", - "src": "32828:79:1", + "src": "33758:81:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1768, + "id": 1260, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1760, - "src": "32855:3:1", + "referencedDeclaration": 1252, + "src": "33786:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1769, + "id": 1261, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32855:10:1", + "referencedDeclaration": 1196, + "src": "33786:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15686,12 +15686,12 @@ { "arguments": [ { - "id": 1776, + "id": 1268, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1762, - "src": "32891:5:1", + "referencedDeclaration": 1254, + "src": "33822:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15705,26 +15705,26 @@ "typeString": "address" } ], - "id": 1775, + "id": 1267, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1774, + "id": 1266, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": {} } }, - "id": 1777, + "id": 1269, "isConstant": false, "isLValue": false, "isPure": false, @@ -15732,7 +15732,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32883:14:1", + "src": "33814:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15747,26 +15747,26 @@ "typeString": "uint160" } ], - "id": 1773, + "id": 1265, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1772, + "id": 1264, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": {} } }, - "id": 1778, + "id": 1270, "isConstant": false, "isLValue": false, "isPure": false, @@ -15774,7 +15774,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32875:23:1", + "src": "33806:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15789,26 +15789,26 @@ "typeString": "uint256" } ], - "id": 1771, + "id": 1263, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1770, + "id": 1262, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": {} } }, - "id": 1779, + "id": 1271, "isConstant": false, "isLValue": false, "isPure": false, @@ -15816,7 +15816,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32867:32:1", + "src": "33798:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15827,7 +15827,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15835,18 +15835,18 @@ "typeString": "bytes32" } ], - "id": 1767, + "id": 1259, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "32845:9:1", + "referencedDeclaration": 1071, + "src": "33776:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1780, + "id": 1272, "isConstant": false, "isLValue": false, "isPure": false, @@ -15854,58 +15854,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32845:55:1", + "src": "33776:55:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1766, - "id": 1781, + "functionReturnParameters": 1258, + "id": 1273, "nodeType": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ] }, "documentation": { - "id": 1758, + "id": 1250, "nodeType": "StructuredDocumentation", - "src": "32667:70:1", + "src": "33594:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1783, + "id": 1275, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1763, + "id": 1255, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1760, + "id": 1252, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32760:22:1", + "scope": 1275, + "src": "33690:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1759, + "id": 1251, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32760:10:1", + "referencedDeclaration": 1197, + "src": "33690:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15913,12 +15913,12 @@ }, { "constant": false, - "id": 1762, + "id": 1254, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32784:13:1", + "scope": 1275, + "src": "33714:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15926,10 +15926,10 @@ "typeString": "address" }, "typeName": { - "id": 1761, + "id": 1253, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32784:7:1", + "src": "33714:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15939,20 +15939,20 @@ "visibility": "internal" } ], - "src": "32759:39:1" + "src": "33689:39:0" }, "returnParameters": { - "id": 1766, + "id": 1258, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1765, + "id": 1257, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32822:4:1", + "scope": 1275, + "src": "33752:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15960,10 +15960,10 @@ "typeString": "bool" }, "typeName": { - "id": 1764, + "id": 1256, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32822:4:1", + "src": "33752:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15972,47 +15972,47 @@ "visibility": "internal" } ], - "src": "32821:6:1" + "src": "33751:6:0" }, - "scope": 1921, - "src": "32742:165:1", + "scope": 1413, + "src": "33672:167:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1796, + "id": 1288, "nodeType": "Block", - "src": "33060:43:1", + "src": "33997:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1792, + "id": 1284, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1786, - "src": "33085:3:1", + "referencedDeclaration": 1278, + "src": "34023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1793, + "id": 1285, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33085:10:1", + "referencedDeclaration": 1196, + "src": "34023:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -16020,22 +16020,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1791, + "id": 1283, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "33077:7:1", + "referencedDeclaration": 1084, + "src": "34015:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1794, + "id": 1286, "isConstant": false, "isLValue": false, "isPure": false, @@ -16043,78 +16043,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33077:19:1", + "src": "34015:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1790, - "id": 1795, + "functionReturnParameters": 1282, + "id": 1287, "nodeType": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ] }, "documentation": { - "id": 1784, + "id": 1276, "nodeType": "StructuredDocumentation", - "src": "32913:70:1", + "src": "33847:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1797, + "id": 1289, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1787, + "id": 1279, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1786, + "id": 1278, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33004:22:1", + "scope": 1289, + "src": "33941:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1785, + "id": 1277, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33004:10:1", + "referencedDeclaration": 1197, + "src": "33941:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, "visibility": "internal" } ], - "src": "33003:24:1" + "src": "33940:24:0" }, "returnParameters": { - "id": 1790, + "id": 1282, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1789, + "id": 1281, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33051:7:1", + "scope": 1289, + "src": "33988:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16122,10 +16122,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1788, + "id": 1280, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33051:7:1", + "src": "33988:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16134,19 +16134,19 @@ "visibility": "internal" } ], - "src": "33050:9:1" + "src": "33987:9:0" }, - "scope": 1921, - "src": "32988:115:1", + "scope": 1413, + "src": "33925:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1822, + "id": 1314, "nodeType": "Block", - "src": "33518:73:1", + "src": "34469:75:0", "statements": [ { "expression": { @@ -16159,38 +16159,38 @@ "arguments": [ { "expression": { - "id": 1814, + "id": 1306, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1800, - "src": "33563:3:1", + "referencedDeclaration": 1292, + "src": "34515:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1815, + "id": 1307, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33563:10:1", + "referencedDeclaration": 1196, + "src": "34515:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1816, + "id": 1308, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1802, - "src": "33575:5:1", + "referencedDeclaration": 1294, + "src": "34527:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16200,7 +16200,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16208,18 +16208,18 @@ "typeString": "uint256" } ], - "id": 1813, + "id": 1305, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "33559:3:1", + "referencedDeclaration": 1109, + "src": "34511:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1817, + "id": 1309, "isConstant": false, "isLValue": false, "isPure": false, @@ -16227,7 +16227,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33559:22:1", + "src": "34511:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16242,26 +16242,26 @@ "typeString": "bytes32" } ], - "id": 1812, + "id": 1304, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1811, + "id": 1303, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": {} } }, - "id": 1818, + "id": 1310, "isConstant": false, "isLValue": false, "isPure": false, @@ -16269,7 +16269,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33551:31:1", + "src": "34503:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -16284,26 +16284,26 @@ "typeString": "uint256" } ], - "id": 1810, + "id": 1302, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1809, + "id": 1301, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": {} } }, - "id": 1819, + "id": 1311, "isConstant": false, "isLValue": false, "isPure": false, @@ -16311,7 +16311,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33543:40:1", + "src": "34495:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -16326,26 +16326,26 @@ "typeString": "uint160" } ], - "id": 1808, + "id": 1300, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1807, + "id": 1299, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": {} } }, - "id": 1820, + "id": 1312, "isConstant": false, "isLValue": false, "isPure": false, @@ -16353,58 +16353,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33535:49:1", + "src": "34487:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 1806, - "id": 1821, + "functionReturnParameters": 1298, + "id": 1313, "nodeType": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ] }, "documentation": { - "id": 1798, + "id": 1290, "nodeType": "StructuredDocumentation", - "src": "33108:322:1", + "src": "34049:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1823, + "id": 1315, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1803, + "id": 1295, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1800, + "id": 1292, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33447:22:1", + "scope": 1315, + "src": "34398:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1799, + "id": 1291, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33447:10:1", + "referencedDeclaration": 1197, + "src": "34398:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -16412,12 +16412,12 @@ }, { "constant": false, - "id": 1802, + "id": 1294, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33471:13:1", + "scope": 1315, + "src": "34422:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16425,10 +16425,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1801, + "id": 1293, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33471:7:1", + "src": "34422:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16437,20 +16437,20 @@ "visibility": "internal" } ], - "src": "33446:39:1" + "src": "34397:39:0" }, "returnParameters": { - "id": 1806, + "id": 1298, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1805, + "id": 1297, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33509:7:1", + "scope": 1315, + "src": "34460:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16458,10 +16458,10 @@ "typeString": "address" }, "typeName": { - "id": 1804, + "id": 1296, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33509:7:1", + "src": "34460:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16471,40 +16471,40 @@ "visibility": "internal" } ], - "src": "33508:9:1" + "src": "34459:9:0" }, - "scope": 1921, - "src": "33435:156:1", + "scope": 1413, + "src": "34386:158:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.UintSet", - "id": 1826, + "id": 1318, "members": [ { "constant": false, - "id": 1825, + "id": 1317, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1826, - "src": "33639:10:1", + "scope": 1318, + "src": "34598:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1824, + "id": 1316, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "33639:3:1", + "referencedDeclaration": 932, + "src": "34598:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -16513,55 +16513,55 @@ ], "name": "UintSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "33614:42:1", + "scope": 1413, + "src": "34572:44:0", "visibility": "public" }, { "body": { - "id": 1845, + "id": 1337, "nodeType": "Block", - "src": "33899:56:1", + "src": "34867:58:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1837, + "id": 1329, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1829, - "src": "33921:3:1", + "referencedDeclaration": 1321, + "src": "34890:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1838, + "id": 1330, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "33921:10:1", + "referencedDeclaration": 1317, + "src": "34890:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1841, + "id": 1333, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1831, - "src": "33941:5:1", + "referencedDeclaration": 1323, + "src": "34910:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16575,26 +16575,26 @@ "typeString": "uint256" } ], - "id": 1840, + "id": 1332, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1839, + "id": 1331, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": {} } }, - "id": 1842, + "id": 1334, "isConstant": false, "isLValue": false, "isPure": false, @@ -16602,7 +16602,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33933:14:1", + "src": "34902:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16613,7 +16613,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16621,18 +16621,18 @@ "typeString": "bytes32" } ], - "id": 1836, + "id": 1328, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "33916:4:1", + "referencedDeclaration": 973, + "src": "34885:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1843, + "id": 1335, "isConstant": false, "isLValue": false, "isPure": false, @@ -16640,58 +16640,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33916:32:1", + "src": "34885:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1835, - "id": 1844, + "functionReturnParameters": 1327, + "id": 1336, "nodeType": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ] }, "documentation": { - "id": 1827, + "id": 1319, "nodeType": "StructuredDocumentation", - "src": "33662:159:1", + "src": "34624:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1846, + "id": 1338, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1832, + "id": 1324, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1829, + "id": 1321, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33839:19:1", + "scope": 1338, + "src": "34807:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1828, + "id": 1320, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "33839:7:1", + "referencedDeclaration": 1318, + "src": "34807:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16699,12 +16699,12 @@ }, { "constant": false, - "id": 1831, + "id": 1323, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33860:13:1", + "scope": 1338, + "src": "34828:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16712,10 +16712,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1830, + "id": 1322, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33860:7:1", + "src": "34828:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16724,20 +16724,20 @@ "visibility": "internal" } ], - "src": "33838:36:1" + "src": "34806:36:0" }, "returnParameters": { - "id": 1835, + "id": 1327, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1834, + "id": 1326, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33893:4:1", + "scope": 1338, + "src": "34861:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16745,10 +16745,10 @@ "typeString": "bool" }, "typeName": { - "id": 1833, + "id": 1325, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "33893:4:1", + "src": "34861:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16757,59 +16757,59 @@ "visibility": "internal" } ], - "src": "33892:6:1" + "src": "34860:6:0" }, - "scope": 1921, - "src": "33826:129:1", + "scope": 1413, + "src": "34794:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1865, + "id": 1357, "nodeType": "Block", - "src": "34199:59:1", + "src": "35177:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1857, + "id": 1349, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1849, - "src": "34224:3:1", + "referencedDeclaration": 1341, + "src": "35203:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1858, + "id": 1350, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34224:10:1", + "referencedDeclaration": 1317, + "src": "35203:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1861, + "id": 1353, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1851, - "src": "34244:5:1", + "referencedDeclaration": 1343, + "src": "35223:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16823,26 +16823,26 @@ "typeString": "uint256" } ], - "id": 1860, + "id": 1352, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1859, + "id": 1351, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": {} } }, - "id": 1862, + "id": 1354, "isConstant": false, "isLValue": false, "isPure": false, @@ -16850,7 +16850,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34236:14:1", + "src": "35215:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16861,7 +16861,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16869,18 +16869,18 @@ "typeString": "bytes32" } ], - "id": 1856, + "id": 1348, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "34216:7:1", + "referencedDeclaration": 1053, + "src": "35195:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1863, + "id": 1355, "isConstant": false, "isLValue": false, "isPure": false, @@ -16888,58 +16888,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34216:35:1", + "src": "35195:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1855, - "id": 1864, + "functionReturnParameters": 1347, + "id": 1356, "nodeType": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ] }, "documentation": { - "id": 1847, + "id": 1339, "nodeType": "StructuredDocumentation", - "src": "33961:157:1", + "src": "34933:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1866, + "id": 1358, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1852, + "id": 1344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1849, + "id": 1341, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34139:19:1", + "scope": 1358, + "src": "35117:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1848, + "id": 1340, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34139:7:1", + "referencedDeclaration": 1318, + "src": "35117:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16947,12 +16947,12 @@ }, { "constant": false, - "id": 1851, + "id": 1343, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34160:13:1", + "scope": 1358, + "src": "35138:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16960,10 +16960,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1850, + "id": 1342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34160:7:1", + "src": "35138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16972,20 +16972,20 @@ "visibility": "internal" } ], - "src": "34138:36:1" + "src": "35116:36:0" }, "returnParameters": { - "id": 1855, + "id": 1347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1854, + "id": 1346, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34193:4:1", + "scope": 1358, + "src": "35171:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16993,10 +16993,10 @@ "typeString": "bool" }, "typeName": { - "id": 1853, + "id": 1345, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34193:4:1", + "src": "35171:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -17005,59 +17005,59 @@ "visibility": "internal" } ], - "src": "34192:6:1" + "src": "35170:6:0" }, - "scope": 1921, - "src": "34123:135:1", + "scope": 1413, + "src": "35101:137:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1885, + "id": 1377, "nodeType": "Block", - "src": "34422:61:1", + "src": "35407:63:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1877, + "id": 1369, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1869, - "src": "34449:3:1", + "referencedDeclaration": 1361, + "src": "35435:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1878, + "id": 1370, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34449:10:1", + "referencedDeclaration": 1317, + "src": "35435:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1881, + "id": 1373, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1871, - "src": "34469:5:1", + "referencedDeclaration": 1363, + "src": "35455:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17071,26 +17071,26 @@ "typeString": "uint256" } ], - "id": 1880, + "id": 1372, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1879, + "id": 1371, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": {} } }, - "id": 1882, + "id": 1374, "isConstant": false, "isLValue": false, "isPure": false, @@ -17098,7 +17098,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34461:14:1", + "src": "35447:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -17109,7 +17109,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -17117,18 +17117,18 @@ "typeString": "bytes32" } ], - "id": 1876, + "id": 1368, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "34439:9:1", + "referencedDeclaration": 1071, + "src": "35425:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1883, + "id": 1375, "isConstant": false, "isLValue": false, "isPure": false, @@ -17136,58 +17136,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34439:37:1", + "src": "35425:37:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1875, - "id": 1884, + "functionReturnParameters": 1367, + "id": 1376, "nodeType": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ] }, "documentation": { - "id": 1867, + "id": 1359, "nodeType": "StructuredDocumentation", - "src": "34264:70:1", + "src": "35246:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1886, + "id": 1378, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1872, + "id": 1364, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1869, + "id": 1361, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34357:19:1", + "scope": 1378, + "src": "35342:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1868, + "id": 1360, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34357:7:1", + "referencedDeclaration": 1318, + "src": "35342:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -17195,12 +17195,12 @@ }, { "constant": false, - "id": 1871, + "id": 1363, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34378:13:1", + "scope": 1378, + "src": "35363:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17208,10 +17208,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1870, + "id": 1362, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34378:7:1", + "src": "35363:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17220,20 +17220,20 @@ "visibility": "internal" } ], - "src": "34356:36:1" + "src": "35341:36:0" }, "returnParameters": { - "id": 1875, + "id": 1367, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1874, + "id": 1366, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34416:4:1", + "scope": 1378, + "src": "35401:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17241,10 +17241,10 @@ "typeString": "bool" }, "typeName": { - "id": 1873, + "id": 1365, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34416:4:1", + "src": "35401:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -17253,47 +17253,47 @@ "visibility": "internal" } ], - "src": "34415:6:1" + "src": "35400:6:0" }, - "scope": 1921, - "src": "34339:144:1", + "scope": 1413, + "src": "35324:146:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1899, + "id": 1391, "nodeType": "Block", - "src": "34633:43:1", + "src": "35625:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1895, + "id": 1387, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1889, - "src": "34658:3:1", + "referencedDeclaration": 1381, + "src": "35651:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1896, + "id": 1388, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34658:10:1", + "referencedDeclaration": 1317, + "src": "35651:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -17301,22 +17301,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1894, + "id": 1386, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "34650:7:1", + "referencedDeclaration": 1084, + "src": "35643:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1897, + "id": 1389, "isConstant": false, "isLValue": false, "isPure": false, @@ -17324,78 +17324,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34650:19:1", + "src": "35643:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1893, - "id": 1898, + "functionReturnParameters": 1385, + "id": 1390, "nodeType": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ] }, "documentation": { - "id": 1887, + "id": 1379, "nodeType": "StructuredDocumentation", - "src": "34489:70:1", + "src": "35478:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1900, + "id": 1392, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1890, + "id": 1382, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1889, + "id": 1381, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34580:19:1", + "scope": 1392, + "src": "35572:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1888, + "id": 1380, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34580:7:1", + "referencedDeclaration": 1318, + "src": "35572:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, "visibility": "internal" } ], - "src": "34579:21:1" + "src": "35571:21:0" }, "returnParameters": { - "id": 1893, + "id": 1385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1892, + "id": 1384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34624:7:1", + "scope": 1392, + "src": "35616:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17403,10 +17403,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1891, + "id": 1383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34624:7:1", + "src": "35616:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17415,19 +17415,19 @@ "visibility": "internal" } ], - "src": "34623:9:1" + "src": "35615:9:0" }, - "scope": 1921, - "src": "34564:112:1", + "scope": 1413, + "src": "35556:114:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1919, + "id": 1411, "nodeType": "Block", - "src": "35088:55:1", + "src": "36094:57:0", "statements": [ { "expression": { @@ -17436,38 +17436,38 @@ "arguments": [ { "expression": { - "id": 1913, + "id": 1405, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1903, - "src": "35117:3:1", + "referencedDeclaration": 1395, + "src": "36124:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1914, + "id": 1406, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "35117:10:1", + "referencedDeclaration": 1317, + "src": "36124:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1915, + "id": 1407, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1905, - "src": "35129:5:1", + "referencedDeclaration": 1397, + "src": "36136:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17477,7 +17477,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -17485,18 +17485,18 @@ "typeString": "uint256" } ], - "id": 1912, + "id": 1404, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "35113:3:1", + "referencedDeclaration": 1109, + "src": "36120:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1916, + "id": 1408, "isConstant": false, "isLValue": false, "isPure": false, @@ -17504,7 +17504,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35113:22:1", + "src": "36120:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -17519,26 +17519,26 @@ "typeString": "bytes32" } ], - "id": 1911, + "id": 1403, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1910, + "id": 1402, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": {} } }, - "id": 1917, + "id": 1409, "isConstant": false, "isLValue": false, "isPure": false, @@ -17546,58 +17546,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35105:31:1", + "src": "36112:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1909, - "id": 1918, + "functionReturnParameters": 1401, + "id": 1410, "nodeType": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ] }, "documentation": { - "id": 1901, + "id": 1393, "nodeType": "StructuredDocumentation", - "src": "34681:322:1", + "src": "35677:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1920, + "id": 1412, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1906, + "id": 1398, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1903, + "id": 1395, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35020:19:1", + "scope": 1412, + "src": "36026:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1902, + "id": 1394, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "35020:7:1", + "referencedDeclaration": 1318, + "src": "36026:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -17605,12 +17605,12 @@ }, { "constant": false, - "id": 1905, + "id": 1397, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35041:13:1", + "scope": 1412, + "src": "36047:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17618,10 +17618,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1904, + "id": 1396, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35041:7:1", + "src": "36047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17630,20 +17630,20 @@ "visibility": "internal" } ], - "src": "35019:36:1" + "src": "36025:36:0" }, "returnParameters": { - "id": 1909, + "id": 1401, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1908, + "id": 1400, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35079:7:1", + "scope": 1412, + "src": "36085:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17651,10 +17651,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1907, + "id": 1399, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35079:7:1", + "src": "36085:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17663,20 +17663,20 @@ "visibility": "internal" } ], - "src": "35078:9:1" + "src": "36084:9:0" }, - "scope": 1921, - "src": "35008:135:1", + "scope": 1413, + "src": "36014:137:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "26511:8634:1" + "scope": 2991, + "src": "27252:8902:0" }, { - "id": 1922, + "id": 1414, "literals": [ "solidity", ">=", @@ -17687,7 +17687,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "abstract": false, @@ -17695,31 +17695,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1923, + "id": 1415, "nodeType": "StructuredDocumentation", - "src": "35237:705:1", + "src": "36251:728:0", "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, "fullyImplemented": true, - "id": 2480, + "id": 1972, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableMap.MapEntry", - "id": 1928, + "id": 1420, "members": [ { "constant": false, - "id": 1925, + "id": 1417, "mutability": "mutable", "name": "_key", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36455:12:1", + "scope": 1420, + "src": "37504:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17727,10 +17727,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1924, + "id": 1416, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36455:7:1", + "src": "37504:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17740,12 +17740,12 @@ }, { "constant": false, - "id": 1927, + "id": 1419, "mutability": "mutable", "name": "_value", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36477:14:1", + "scope": 1420, + "src": "37527:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17753,10 +17753,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1926, + "id": 1418, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36477:7:1", + "src": "37527:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17767,45 +17767,45 @@ ], "name": "MapEntry", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36429:69:1", + "scope": 1972, + "src": "37477:72:0", "visibility": "public" }, { "canonicalName": "EnumerableMap.Map", - "id": 1936, + "id": 1428, "members": [ { "constant": false, - "id": 1931, + "id": 1423, "mutability": "mutable", "name": "_entries", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36567:19:1", + "scope": 1428, + "src": "37622:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" }, "typeName": { "baseType": { - "id": 1929, + "id": 1421, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "36567:8:1", + "referencedDeclaration": 1420, + "src": "37622:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, - "id": 1930, + "id": 1422, "nodeType": "ArrayTypeName", - "src": "36567:10:1", + "src": "37622:10:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" } }, @@ -17813,12 +17813,12 @@ }, { "constant": false, - "id": 1935, + "id": 1427, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36736:37:1", + "scope": 1428, + "src": "37795:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17826,28 +17826,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1934, + "id": 1426, "keyType": { - "id": 1932, + "id": 1424, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36745:7:1", + "src": "37804:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "36736:28:1", + "src": "37795:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1933, + "id": 1425, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "36756:7:1", + "src": "37815:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17859,29 +17859,29 @@ ], "name": "Map", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36504:276:1", + "scope": 1972, + "src": "37557:283:0", "visibility": "public" }, { "body": { - "id": 1997, + "id": 1489, "nodeType": "Block", - "src": "37089:596:1", + "src": "38158:610:0", "statements": [ { "assignments": [ - 1949 + 1441 ], "declarations": [ { "constant": false, - "id": 1949, + "id": 1441, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 1997, - "src": "37197:16:1", + "scope": 1489, + "src": "38268:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17889,10 +17889,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1948, + "id": 1440, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "37197:7:1", + "src": "38268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17901,43 +17901,43 @@ "visibility": "internal" } ], - "id": 1954, + "id": 1446, "initialValue": { "baseExpression": { "expression": { - "id": 1950, + "id": 1442, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37216:3:1", + "referencedDeclaration": 1431, + "src": "38287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1951, + "id": 1443, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37216:12:1", + "referencedDeclaration": 1427, + "src": "38287:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1953, + "id": 1445, "indexExpression": { - "id": 1952, + "id": 1444, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37229:3:1", + "referencedDeclaration": 1433, + "src": "38300:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17948,14 +17948,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37216:17:1", + "src": "38287:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "condition": { @@ -17963,18 +17963,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1957, + "id": 1449, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1955, + "id": 1447, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37248:8:1", + "referencedDeclaration": 1441, + "src": "38321:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17984,34 +17984,34 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 1956, + "id": 1448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37260:1:1", + "src": "38333:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "37248:13:1", + "src": "38321:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1995, + "id": 1487, "nodeType": "Block", - "src": "37587:92:1", + "src": "38666:95:0", "statements": [ { "expression": { - "id": 1991, + "id": 1483, "isConstant": false, "isLValue": false, "isPure": false, @@ -18020,49 +18020,49 @@ "expression": { "baseExpression": { "expression": { - "id": 1982, + "id": 1474, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37601:3:1", + "referencedDeclaration": 1431, + "src": "38681:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1987, + "id": 1479, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37601:12:1", + "referencedDeclaration": 1423, + "src": "38681:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1988, + "id": 1480, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1986, + "id": 1478, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1984, + "id": 1476, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37614:8:1", + "referencedDeclaration": 1441, + "src": "38694:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18072,21 +18072,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1985, + "id": 1477, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37625:1:1", + "src": "38705:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "37614:12:1", + "src": "38694:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18097,21 +18097,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37601:26:1", + "src": "38681:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 1989, + "id": 1481, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "37601:33:1", + "referencedDeclaration": 1419, + "src": "38681:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18120,58 +18120,58 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1990, + "id": 1482, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37637:5:1", + "referencedDeclaration": 1435, + "src": "38717:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "37601:41:1", + "src": "38681:41:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1992, + "id": 1484, "nodeType": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "expression": { "hexValue": "66616c7365", - "id": 1993, + "id": 1485, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37663:5:1", + "src": "38744:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1947, - "id": 1994, + "functionReturnParameters": 1439, + "id": 1486, "nodeType": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ] }, - "id": 1996, + "id": 1488, "nodeType": "IfStatement", - "src": "37244:435:1", + "src": "38317:444:0", "trueBody": { - "id": 1981, + "id": 1473, "nodeType": "Block", - "src": "37263:318:1", + "src": "38336:324:0", "statements": [ { "expression": { @@ -18179,24 +18179,24 @@ { "arguments": [ { - "id": 1964, + "id": 1456, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37349:3:1", + "referencedDeclaration": 1433, + "src": "38423:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, { - "id": 1965, + "id": 1457, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37362:5:1", + "referencedDeclaration": 1435, + "src": "38436:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18214,18 +18214,18 @@ "typeString": "bytes32" } ], - "id": 1963, + "id": 1455, "name": "MapEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1928, - "src": "37332:8:1", + "referencedDeclaration": 1420, + "src": "38406:8:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_MapEntry_$1928_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_MapEntry_$1420_storage_ptr_$", "typeString": "type(struct EnumerableMap.MapEntry storage pointer)" } }, - "id": 1966, + "id": 1458, "isConstant": false, "isLValue": false, "isPure": false, @@ -18236,10 +18236,10 @@ "_value" ], "nodeType": "FunctionCall", - "src": "37332:38:1", + "src": "38406:38:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } } @@ -18247,51 +18247,51 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], "expression": { "expression": { - "id": 1958, + "id": 1450, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37314:3:1", + "referencedDeclaration": 1431, + "src": "38388:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1961, + "id": 1453, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37314:12:1", + "referencedDeclaration": 1423, + "src": "38388:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1962, + "id": 1454, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "37314:17:1", + "src": "38388:17:0", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1928_storage_$returns$__$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1420_storage_$returns$__$", "typeString": "function (struct EnumerableMap.MapEntry storage ref)" } }, - "id": 1967, + "id": 1459, "isConstant": false, "isLValue": false, "isPure": false, @@ -18299,20 +18299,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "37314:57:1", + "src": "38388:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1968, + "id": 1460, "nodeType": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "expression": { - "id": 1977, + "id": 1469, "isConstant": false, "isLValue": false, "isPure": false, @@ -18320,39 +18320,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1969, + "id": 1461, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37506:3:1", + "referencedDeclaration": 1431, + "src": "38583:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1972, + "id": 1464, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37506:12:1", + "referencedDeclaration": 1427, + "src": "38583:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1973, + "id": 1465, "indexExpression": { - "id": 1971, + "id": 1463, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37519:3:1", + "referencedDeclaration": 1433, + "src": "38596:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18363,7 +18363,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "37506:17:1", + "src": "38583:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18374,75 +18374,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1974, + "id": 1466, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37526:3:1", + "referencedDeclaration": 1431, + "src": "38603:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1975, + "id": 1467, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37526:12:1", + "referencedDeclaration": 1423, + "src": "38603:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1976, + "id": 1468, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "37526:19:1", + "src": "38603:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "37506:39:1", + "src": "38583:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1978, + "id": 1470, "nodeType": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "expression": { "hexValue": "74727565", - "id": 1979, + "id": 1471, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37566:4:1", + "src": "38644:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1947, - "id": 1980, + "functionReturnParameters": 1439, + "id": 1472, "nodeType": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ] } @@ -18450,43 +18450,43 @@ ] }, "documentation": { - "id": 1937, + "id": 1429, "nodeType": "StructuredDocumentation", - "src": "36786:216:1", + "src": "37848:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1998, + "id": 1490, "implemented": true, "kind": "function", "modifiers": [], "name": "_set", "nodeType": "FunctionDefinition", "parameters": { - "id": 1944, + "id": 1436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1939, + "id": 1431, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37021:15:1", + "scope": 1490, + "src": "38090:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 1938, + "id": 1430, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37021:3:1", + "referencedDeclaration": 1428, + "src": "38090:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -18494,12 +18494,12 @@ }, { "constant": false, - "id": 1941, + "id": 1433, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37038:11:1", + "scope": 1490, + "src": "38107:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18507,10 +18507,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1940, + "id": 1432, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37038:7:1", + "src": "38107:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18520,12 +18520,12 @@ }, { "constant": false, - "id": 1943, + "id": 1435, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37051:13:1", + "scope": 1490, + "src": "38120:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18533,10 +18533,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1942, + "id": 1434, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37051:7:1", + "src": "38120:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18545,20 +18545,20 @@ "visibility": "internal" } ], - "src": "37020:45:1" + "src": "38089:45:0" }, "returnParameters": { - "id": 1947, + "id": 1439, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1946, + "id": 1438, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37083:4:1", + "scope": 1490, + "src": "38152:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18566,10 +18566,10 @@ "typeString": "bool" }, "typeName": { - "id": 1945, + "id": 1437, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37083:4:1", + "src": "38152:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -18578,33 +18578,33 @@ "visibility": "internal" } ], - "src": "37082:6:1" + "src": "38151:6:0" }, - "scope": 2480, - "src": "37007:678:1", + "scope": 1972, + "src": "38076:692:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2078, + "id": 1570, "nodeType": "Block", - "src": "37923:1447:1", + "src": "39013:1479:0", "statements": [ { "assignments": [ - 2009 + 1501 ], "declarations": [ { "constant": false, - "id": 2009, + "id": 1501, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2078, - "src": "38031:16:1", + "scope": 1570, + "src": "39123:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18612,10 +18612,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2008, + "id": 1500, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38031:7:1", + "src": "39123:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18624,43 +18624,43 @@ "visibility": "internal" } ], - "id": 2014, + "id": 1506, "initialValue": { "baseExpression": { "expression": { - "id": 2010, + "id": 1502, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38050:3:1", + "referencedDeclaration": 1493, + "src": "39142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2011, + "id": 1503, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "38050:12:1", + "referencedDeclaration": 1427, + "src": "39142:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2013, + "id": 1505, "indexExpression": { - "id": 2012, + "id": 1504, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "38063:3:1", + "referencedDeclaration": 1495, + "src": "39155:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18671,14 +18671,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38050:17:1", + "src": "39142:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "condition": { @@ -18686,18 +18686,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2017, + "id": 1509, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2015, + "id": 1507, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38082:8:1", + "referencedDeclaration": 1501, + "src": "39176:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18707,76 +18707,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2016, + "id": 1508, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38094:1:1", + "src": "39188:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "38082:13:1", + "src": "39176:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 2076, + "id": 1568, "nodeType": "Block", - "src": "39327:37:1", + "src": "40446:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 2074, + "id": 1566, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39348:5:1", + "src": "40468:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 2007, - "id": 2075, + "functionReturnParameters": 1499, + "id": 1567, "nodeType": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ] }, - "id": 2077, + "id": 1569, "nodeType": "IfStatement", - "src": "38078:1286:1", + "src": "39172:1313:0", "trueBody": { - "id": 2073, + "id": 1565, "nodeType": "Block", - "src": "38097:1224:1", + "src": "39191:1249:0", "statements": [ { "assignments": [ - 2019 + 1511 ], "declarations": [ { "constant": false, - "id": 2019, + "id": 1511, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38438:21:1", + "scope": 1565, + "src": "39537:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18784,10 +18784,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2018, + "id": 1510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38438:7:1", + "src": "39537:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18796,24 +18796,24 @@ "visibility": "internal" } ], - "id": 2023, + "id": 1515, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2022, + "id": 1514, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2020, + "id": 1512, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38462:8:1", + "referencedDeclaration": 1501, + "src": "39561:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18823,42 +18823,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2021, + "id": 1513, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38473:1:1", + "src": "39572:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38462:12:1", + "src": "39561:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "assignments": [ - 2025 + 1517 ], "declarations": [ { "constant": false, - "id": 2025, + "id": 1517, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38488:17:1", + "scope": 1565, + "src": "39588:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18866,10 +18866,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2024, + "id": 1516, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38488:7:1", + "src": "39588:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18878,13 +18878,13 @@ "visibility": "internal" } ], - "id": 2031, + "id": 1523, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2030, + "id": 1522, "isConstant": false, "isLValue": false, "isPure": false, @@ -18892,39 +18892,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2026, + "id": 1518, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38508:3:1", + "referencedDeclaration": 1493, + "src": "39608:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2027, + "id": 1519, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38508:12:1", + "referencedDeclaration": 1423, + "src": "39608:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2028, + "id": 1520, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "38508:19:1", + "src": "39608:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18934,99 +18934,99 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2029, + "id": 1521, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38530:1:1", + "src": "39630:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38508:23:1", + "src": "39608:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "assignments": [ - 2033 + 1525 ], "declarations": [ { "constant": false, - "id": 2033, + "id": 1525, "mutability": "mutable", "name": "lastEntry", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38771:26:1", + "scope": 1565, + "src": "39876:26:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2032, + "id": 1524, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "38771:8:1", + "referencedDeclaration": 1420, + "src": "39876:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2038, + "id": 1530, "initialValue": { "baseExpression": { "expression": { - "id": 2034, + "id": 1526, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38800:3:1", + "referencedDeclaration": 1493, + "src": "39905:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2035, + "id": 1527, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38800:12:1", + "referencedDeclaration": 1423, + "src": "39905:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2037, + "id": 1529, "indexExpression": { - "id": 2036, + "id": 1528, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "38813:9:1", + "referencedDeclaration": 1517, + "src": "39918:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19037,18 +19037,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38800:23:1", + "src": "39905:23:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "expression": { - "id": 2045, + "id": 1537, "isConstant": false, "isLValue": false, "isPure": false, @@ -19056,39 +19056,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2039, + "id": 1531, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38915:3:1", + "referencedDeclaration": 1493, + "src": "40023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2042, + "id": 1534, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38915:12:1", + "referencedDeclaration": 1423, + "src": "40023:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2043, + "id": 1535, "indexExpression": { - "id": 2041, + "id": 1533, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "38928:13:1", + "referencedDeclaration": 1511, + "src": "40036:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19099,39 +19099,39 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "38915:27:1", + "src": "40023:27:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2044, + "id": 1536, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "38945:9:1", + "referencedDeclaration": 1525, + "src": "40053:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "src": "38915:39:1", + "src": "40023:39:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2046, + "id": 1538, "nodeType": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "expression": { - "id": 2056, + "id": 1548, "isConstant": false, "isLValue": false, "isPure": false, @@ -19139,54 +19139,54 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2047, + "id": 1539, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39020:3:1", + "referencedDeclaration": 1493, + "src": "40130:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2051, + "id": 1543, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39020:12:1", + "referencedDeclaration": 1427, + "src": "40130:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2052, + "id": 1544, "indexExpression": { "expression": { - "id": 2049, + "id": 1541, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "39033:9:1", + "referencedDeclaration": 1525, + "src": "40143:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2050, + "id": 1542, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "39033:14:1", + "referencedDeclaration": 1417, + "src": "40143:14:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19197,7 +19197,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39020:28:1", + "src": "40130:28:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19210,18 +19210,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2055, + "id": 1547, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2053, + "id": 1545, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "39051:13:1", + "referencedDeclaration": 1511, + "src": "40161:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19231,35 +19231,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 2054, + "id": 1546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39067:1:1", + "src": "40177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "39051:17:1", + "src": "40161:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "39020:48:1", + "src": "40130:48:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2057, + "id": 1549, "nodeType": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "expression": { @@ -19268,45 +19268,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 2058, + "id": 1550, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39174:3:1", + "referencedDeclaration": 1493, + "src": "40287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2061, + "id": 1553, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39174:12:1", + "referencedDeclaration": 1423, + "src": "40287:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2062, + "id": 1554, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "39174:16:1", + "src": "40287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 2063, + "id": 1555, "isConstant": false, "isLValue": false, "isPure": false, @@ -19314,20 +19314,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "39174:18:1", + "src": "40287:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2064, + "id": 1556, "nodeType": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "expression": { - "id": 2069, + "id": 1561, "isConstant": false, "isLValue": false, "isPure": false, @@ -19335,43 +19335,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "39260:24:1", + "src": "40376:24:0", "subExpression": { "baseExpression": { "expression": { - "id": 2065, + "id": 1557, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39267:3:1", + "referencedDeclaration": 1493, + "src": "40383:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2066, + "id": 1558, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39267:12:1", + "referencedDeclaration": 1427, + "src": "40383:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2068, + "id": 1560, "indexExpression": { - "id": 2067, + "id": 1559, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "39280:3:1", + "referencedDeclaration": 1495, + "src": "40396:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19382,7 +19382,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39267:17:1", + "src": "40383:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19393,31 +19393,31 @@ "typeString": "tuple()" } }, - "id": 2070, + "id": 1562, "nodeType": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "expression": { "hexValue": "74727565", - "id": 2071, + "id": 1563, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39306:4:1", + "src": "40424:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 2007, - "id": 2072, + "functionReturnParameters": 1499, + "id": 1564, "nodeType": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ] } @@ -19425,43 +19425,43 @@ ] }, "documentation": { - "id": 1999, + "id": 1491, "nodeType": "StructuredDocumentation", - "src": "37691:157:1", + "src": "38776:161:0", "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2079, + "id": 1571, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2004, + "id": 1496, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2001, + "id": 1493, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37870:15:1", + "scope": 1571, + "src": "38960:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2000, + "id": 1492, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37870:3:1", + "referencedDeclaration": 1428, + "src": "38960:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19469,12 +19469,12 @@ }, { "constant": false, - "id": 2003, + "id": 1495, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37887:11:1", + "scope": 1571, + "src": "38977:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19482,10 +19482,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2002, + "id": 1494, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37887:7:1", + "src": "38977:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19494,20 +19494,20 @@ "visibility": "internal" } ], - "src": "37869:30:1" + "src": "38959:30:0" }, "returnParameters": { - "id": 2007, + "id": 1499, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2006, + "id": 1498, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37917:4:1", + "scope": 1571, + "src": "39007:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19515,10 +19515,10 @@ "typeString": "bool" }, "typeName": { - "id": 2005, + "id": 1497, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37917:4:1", + "src": "39007:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19527,19 +19527,19 @@ "visibility": "internal" } ], - "src": "37916:6:1" + "src": "39006:6:0" }, - "scope": 2480, - "src": "37853:1517:1", + "scope": 1972, + "src": "38943:1549:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2096, + "id": 1588, "nodeType": "Block", - "src": "39526:46:1", + "src": "40653:48:0", "statements": [ { "expression": { @@ -19547,7 +19547,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2094, + "id": 1586, "isConstant": false, "isLValue": false, "isPure": false, @@ -19555,39 +19555,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 2089, + "id": 1581, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2082, - "src": "39543:3:1", + "referencedDeclaration": 1574, + "src": "40671:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2090, + "id": 1582, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39543:12:1", + "referencedDeclaration": 1427, + "src": "40671:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2092, + "id": 1584, "indexExpression": { - "id": 2091, + "id": 1583, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2084, - "src": "39556:3:1", + "referencedDeclaration": 1576, + "src": "40684:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19598,7 +19598,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "39543:17:1", + "src": "40671:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19608,71 +19608,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2093, + "id": 1585, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39564:1:1", + "src": "40692:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "39543:22:1", + "src": "40671:22:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2088, - "id": 2095, + "functionReturnParameters": 1580, + "id": 1587, "nodeType": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ] }, "documentation": { - "id": 2080, + "id": 1572, "nodeType": "StructuredDocumentation", - "src": "39376:68:1", + "src": "40500:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2097, + "id": 1589, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2085, + "id": 1577, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2082, + "id": 1574, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39468:15:1", + "scope": 1589, + "src": "40595:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2081, + "id": 1573, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39468:3:1", + "referencedDeclaration": 1428, + "src": "40595:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19680,12 +19680,12 @@ }, { "constant": false, - "id": 2084, + "id": 1576, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39485:11:1", + "scope": 1589, + "src": "40612:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19693,10 +19693,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2083, + "id": 1575, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "39485:7:1", + "src": "40612:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19705,20 +19705,20 @@ "visibility": "internal" } ], - "src": "39467:30:1" + "src": "40594:30:0" }, "returnParameters": { - "id": 2088, + "id": 1580, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2087, + "id": 1579, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39520:4:1", + "scope": 1589, + "src": "40647:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19726,10 +19726,10 @@ "typeString": "bool" }, "typeName": { - "id": 2086, + "id": 1578, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "39520:4:1", + "src": "40647:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19738,127 +19738,127 @@ "visibility": "internal" } ], - "src": "39519:6:1" + "src": "40646:6:0" }, - "scope": 2480, - "src": "39449:123:1", + "scope": 1972, + "src": "40576:125:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2109, + "id": 1601, "nodeType": "Block", - "src": "39727:43:1", + "src": "40861:45:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 2105, + "id": 1597, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2100, - "src": "39744:3:1", + "referencedDeclaration": 1592, + "src": "40879:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2106, + "id": 1598, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39744:12:1", + "referencedDeclaration": 1423, + "src": "40879:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2107, + "id": 1599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "39744:19:1", + "src": "40879:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2104, - "id": 2108, + "functionReturnParameters": 1596, + "id": 1600, "nodeType": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ] }, "documentation": { - "id": 2098, + "id": 1590, "nodeType": "StructuredDocumentation", - "src": "39578:79:1", + "src": "40709:81:0", "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2110, + "id": 1602, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2101, + "id": 1593, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2100, + "id": 1592, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39679:15:1", + "scope": 1602, + "src": "40813:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2099, + "id": 1591, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39679:3:1", + "referencedDeclaration": 1428, + "src": "40813:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, "visibility": "internal" } ], - "src": "39678:17:1" + "src": "40812:17:0" }, "returnParameters": { - "id": 2104, + "id": 1596, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2103, + "id": 1595, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39718:7:1", + "scope": 1602, + "src": "40852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19866,10 +19866,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2102, + "id": 1594, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "39718:7:1", + "src": "40852:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19878,19 +19878,19 @@ "visibility": "internal" } ], - "src": "39717:9:1" + "src": "40851:9:0" }, - "scope": 2480, - "src": "39662:108:1", + "scope": 1972, + "src": "40796:110:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2144, + "id": 1636, "nodeType": "Block", - "src": "40198:189:1", + "src": "41346:194:0", "statements": [ { "expression": { @@ -19900,7 +19900,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2127, + "id": 1619, "isConstant": false, "isLValue": false, "isPure": false, @@ -19908,39 +19908,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2123, + "id": 1615, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40216:3:1", + "referencedDeclaration": 1605, + "src": "41365:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2124, + "id": 1616, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40216:12:1", + "referencedDeclaration": 1423, + "src": "41365:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2125, + "id": 1617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "40216:19:1", + "src": "41365:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19949,18 +19949,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 2126, + "id": 1618, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40238:5:1", + "referencedDeclaration": 1607, + "src": "41387:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "40216:27:1", + "src": "41365:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19968,14 +19968,14 @@ }, { "hexValue": "456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473", - "id": 2128, + "id": 1620, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "40245:36:1", + "src": "41394:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_86631030b9066a18616a068fc09fce83d18af4765cb1d2166fa475228f4db155", "typeString": "literal_string \"EnumerableMap: index out of bounds\"" @@ -19994,7 +19994,7 @@ "typeString": "literal_string \"EnumerableMap: index out of bounds\"" } ], - "id": 2122, + "id": 1614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -20002,13 +20002,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "40208:7:1", + "src": "41357:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2129, + "id": 1621, "isConstant": false, "isLValue": false, "isPure": false, @@ -20016,87 +20016,87 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "40208:74:1", + "src": "41357:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2130, + "id": 1622, "nodeType": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "assignments": [ - 2132 + 1624 ], "declarations": [ { "constant": false, - "id": 2132, + "id": 1624, "mutability": "mutable", "name": "entry", "nodeType": "VariableDeclaration", - "scope": 2144, - "src": "40293:22:1", + "scope": 1636, + "src": "41444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2131, + "id": 1623, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "40293:8:1", + "referencedDeclaration": 1420, + "src": "41444:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2137, + "id": 1629, "initialValue": { "baseExpression": { "expression": { - "id": 2133, + "id": 1625, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40318:3:1", + "referencedDeclaration": 1605, + "src": "41469:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2134, + "id": 1626, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40318:12:1", + "referencedDeclaration": 1423, + "src": "41469:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2136, + "id": 1628, "indexExpression": { - "id": 2135, + "id": 1627, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40331:5:1", + "referencedDeclaration": 1607, + "src": "41482:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20107,40 +20107,40 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40318:19:1", + "src": "41469:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "expression": { "components": [ { "expression": { - "id": 2138, + "id": 1630, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40355:5:1", + "referencedDeclaration": 1624, + "src": "41507:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2139, + "id": 1631, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "40355:10:1", + "referencedDeclaration": 1417, + "src": "41507:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20148,90 +20148,90 @@ }, { "expression": { - "id": 2140, + "id": 1632, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40367:5:1", + "referencedDeclaration": 1624, + "src": "41519:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2141, + "id": 1633, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40367:12:1", + "referencedDeclaration": 1419, + "src": "41519:12:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2142, + "id": 1634, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40354:26:1", + "src": "41506:26:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", "typeString": "tuple(bytes32,bytes32)" } }, - "functionReturnParameters": 2121, - "id": 2143, + "functionReturnParameters": 1613, + "id": 1635, "nodeType": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ] }, "documentation": { - "id": 2111, + "id": 1603, "nodeType": "StructuredDocumentation", - "src": "39775:333:1", + "src": "40913:342:0", "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2145, + "id": 1637, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2116, + "id": 1608, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2113, + "id": 1605, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40126:15:1", + "scope": 1637, + "src": "41274:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2112, + "id": 1604, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40126:3:1", + "referencedDeclaration": 1428, + "src": "41274:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20239,12 +20239,12 @@ }, { "constant": false, - "id": 2115, + "id": 1607, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40143:13:1", + "scope": 1637, + "src": "41291:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20252,10 +20252,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2114, + "id": 1606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40143:7:1", + "src": "41291:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20264,20 +20264,20 @@ "visibility": "internal" } ], - "src": "40125:32:1" + "src": "41273:32:0" }, "returnParameters": { - "id": 2121, + "id": 1613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2118, + "id": 1610, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40180:7:1", + "scope": 1637, + "src": "41328:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20285,10 +20285,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2117, + "id": 1609, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40180:7:1", + "src": "41328:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20298,12 +20298,12 @@ }, { "constant": false, - "id": 2120, + "id": 1612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40189:7:1", + "scope": 1637, + "src": "41337:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20311,10 +20311,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2119, + "id": 1611, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40189:7:1", + "src": "41337:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20323,33 +20323,33 @@ "visibility": "internal" } ], - "src": "40179:18:1" + "src": "41327:18:0" }, - "scope": 2480, - "src": "40113:274:1", + "scope": 1972, + "src": "41261:279:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2182, + "id": 1674, "nodeType": "Block", - "src": "40613:220:1", + "src": "41772:224:0", "statements": [ { "assignments": [ - 2158 + 1650 ], "declarations": [ { "constant": false, - "id": 2158, + "id": 1650, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2182, - "src": "40623:16:1", + "scope": 1674, + "src": "41783:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20357,10 +20357,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2157, + "id": 1649, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40623:7:1", + "src": "41783:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20369,43 +20369,43 @@ "visibility": "internal" } ], - "id": 2163, + "id": 1655, "initialValue": { "baseExpression": { "expression": { - "id": 2159, + "id": 1651, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40642:3:1", + "referencedDeclaration": 1640, + "src": "41802:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2160, + "id": 1652, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "40642:12:1", + "referencedDeclaration": 1427, + "src": "41802:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2162, + "id": 1654, "indexExpression": { - "id": 2161, + "id": 1653, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2150, - "src": "40655:3:1", + "referencedDeclaration": 1642, + "src": "41815:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20416,14 +20416,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40642:17:1", + "src": "41802:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "condition": { @@ -20431,18 +20431,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2166, + "id": 1658, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2164, + "id": 1656, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40673:8:1", + "referencedDeclaration": 1650, + "src": "41834:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20452,42 +20452,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2165, + "id": 1657, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40685:1:1", + "src": "41846:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "40673:13:1", + "src": "41834:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2171, + "id": 1663, "nodeType": "IfStatement", - "src": "40669:36:1", + "src": "41830:36:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 2167, + "id": 1659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40696:5:1", + "src": "41857:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20496,14 +20496,14 @@ }, { "hexValue": "30", - "id": 2168, + "id": 1660, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40703:1:1", + "src": "41864:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -20511,23 +20511,23 @@ "value": "0" } ], - "id": 2169, + "id": 1661, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40695:10:1", + "src": "41856:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 2156, - "id": 2170, + "functionReturnParameters": 1648, + "id": 1662, "nodeType": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } }, { @@ -20535,14 +20535,14 @@ "components": [ { "hexValue": "74727565", - "id": 2172, + "id": 1664, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40759:4:1", + "src": "41921:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20553,49 +20553,49 @@ "expression": { "baseExpression": { "expression": { - "id": 2173, + "id": 1665, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40765:3:1", + "referencedDeclaration": 1640, + "src": "41927:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2174, + "id": 1666, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40765:12:1", + "referencedDeclaration": 1423, + "src": "41927:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2178, + "id": 1670, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2177, + "id": 1669, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2175, + "id": 1667, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40778:8:1", + "referencedDeclaration": 1650, + "src": "41940:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20605,21 +20605,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2176, + "id": 1668, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40789:1:1", + "src": "41951:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "40778:12:1", + "src": "41940:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20630,85 +20630,85 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40765:26:1", + "src": "41927:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2179, + "id": 1671, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40765:33:1", + "referencedDeclaration": 1419, + "src": "41927:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2180, + "id": 1672, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40758:41:1", + "src": "41920:41:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", "typeString": "tuple(bool,bytes32)" } }, - "functionReturnParameters": 2156, - "id": 2181, + "functionReturnParameters": 1648, + "id": 1673, "nodeType": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ] }, "documentation": { - "id": 2146, + "id": 1638, "nodeType": "StructuredDocumentation", - "src": "40393:131:1", + "src": "41548:134:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2183, + "id": 1675, "implemented": true, "kind": "function", "modifiers": [], "name": "_tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2151, + "id": 1643, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2148, + "id": 1640, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40546:15:1", + "scope": 1675, + "src": "41705:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2147, + "id": 1639, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40546:3:1", + "referencedDeclaration": 1428, + "src": "41705:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20716,12 +20716,12 @@ }, { "constant": false, - "id": 2150, + "id": 1642, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40563:11:1", + "scope": 1675, + "src": "41722:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20729,10 +20729,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2149, + "id": 1641, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40563:7:1", + "src": "41722:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20741,20 +20741,20 @@ "visibility": "internal" } ], - "src": "40545:30:1" + "src": "41704:30:0" }, "returnParameters": { - "id": 2156, + "id": 1648, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2153, + "id": 1645, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40598:4:1", + "scope": 1675, + "src": "41757:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20762,10 +20762,10 @@ "typeString": "bool" }, "typeName": { - "id": 2152, + "id": 1644, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "40598:4:1", + "src": "41757:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20775,12 +20775,12 @@ }, { "constant": false, - "id": 2155, + "id": 1647, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40604:7:1", + "scope": 1675, + "src": "41763:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20788,10 +20788,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2154, + "id": 1646, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40604:7:1", + "src": "41763:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20800,33 +20800,33 @@ "visibility": "internal" } ], - "src": "40597:15:1" + "src": "41756:15:0" }, - "scope": 2480, - "src": "40529:304:1", + "scope": 1972, + "src": "41688:308:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2215, + "id": 1707, "nodeType": "Block", - "src": "41060:232:1", + "src": "42232:236:0", "statements": [ { "assignments": [ - 2194 + 1686 ], "declarations": [ { "constant": false, - "id": 2194, + "id": 1686, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2215, - "src": "41070:16:1", + "scope": 1707, + "src": "42243:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20834,10 +20834,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2193, + "id": 1685, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41070:7:1", + "src": "42243:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20846,43 +20846,43 @@ "visibility": "internal" } ], - "id": 2199, + "id": 1691, "initialValue": { "baseExpression": { "expression": { - "id": 2195, + "id": 1687, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41089:3:1", + "referencedDeclaration": 1678, + "src": "42262:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2196, + "id": 1688, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41089:12:1", + "referencedDeclaration": 1427, + "src": "42262:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2198, + "id": 1690, "indexExpression": { - "id": 2197, + "id": 1689, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2188, - "src": "41102:3:1", + "referencedDeclaration": 1680, + "src": "42275:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20893,14 +20893,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41089:17:1", + "src": "42262:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "expression": { @@ -20910,18 +20910,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2203, + "id": 1695, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2201, + "id": 1693, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41124:8:1", + "referencedDeclaration": 1686, + "src": "42298:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20931,21 +20931,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2202, + "id": 1694, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41136:1:1", + "src": "42310:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41124:13:1", + "src": "42298:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20953,14 +20953,14 @@ }, { "hexValue": "456e756d657261626c654d61703a206e6f6e6578697374656e74206b6579", - "id": 2204, + "id": 1696, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "41139:32:1", + "src": "42313:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_d3551e30d3095fd81287b88f7139bb09818e34280e85ee821994ebaebbed7072", "typeString": "literal_string \"EnumerableMap: nonexistent key\"" @@ -20979,7 +20979,7 @@ "typeString": "literal_string \"EnumerableMap: nonexistent key\"" } ], - "id": 2200, + "id": 1692, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -20987,13 +20987,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41116:7:1", + "src": "42290:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2205, + "id": 1697, "isConstant": false, "isLValue": false, "isPure": false, @@ -21001,65 +21001,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41116:56:1", + "src": "42290:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2206, + "id": 1698, "nodeType": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2207, + "id": 1699, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41225:3:1", + "referencedDeclaration": 1678, + "src": "42400:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2208, + "id": 1700, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41225:12:1", + "referencedDeclaration": 1423, + "src": "42400:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2212, + "id": 1704, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2211, + "id": 1703, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2209, + "id": 1701, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41238:8:1", + "referencedDeclaration": 1686, + "src": "42413:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21069,21 +21069,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2210, + "id": 1702, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41249:1:1", + "src": "42424:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41238:12:1", + "src": "42413:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21094,71 +21094,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41225:26:1", + "src": "42400:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2213, + "id": 1705, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41225:33:1", + "referencedDeclaration": 1419, + "src": "42400:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2192, - "id": 2214, + "functionReturnParameters": 1684, + "id": 1706, "nodeType": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ] }, "documentation": { - "id": 2184, + "id": 1676, "nodeType": "StructuredDocumentation", - "src": "40839:141:1", + "src": "42004:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2216, + "id": 1708, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2189, + "id": 1681, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2186, + "id": 1678, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "40999:15:1", + "scope": 1708, + "src": "42171:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2185, + "id": 1677, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40999:3:1", + "referencedDeclaration": 1428, + "src": "42171:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21166,12 +21166,12 @@ }, { "constant": false, - "id": 2188, + "id": 1680, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41016:11:1", + "scope": 1708, + "src": "42188:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21179,10 +21179,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2187, + "id": 1679, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41016:7:1", + "src": "42188:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21191,20 +21191,20 @@ "visibility": "internal" } ], - "src": "40998:30:1" + "src": "42170:30:0" }, "returnParameters": { - "id": 2192, + "id": 1684, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2191, + "id": 1683, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41051:7:1", + "scope": 1708, + "src": "42223:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21212,10 +21212,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2190, + "id": 1682, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41051:7:1", + "src": "42223:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21224,33 +21224,33 @@ "visibility": "internal" } ], - "src": "41050:9:1" + "src": "42222:9:0" }, - "scope": 2480, - "src": "40985:307:1", + "scope": 1972, + "src": "42157:311:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2250, + "id": 1742, "nodeType": "Block", - "src": "41677:212:1", + "src": "42861:216:0", "statements": [ { "assignments": [ - 2229 + 1721 ], "declarations": [ { "constant": false, - "id": 2229, + "id": 1721, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2250, - "src": "41687:16:1", + "scope": 1742, + "src": "42872:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21258,10 +21258,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2228, + "id": 1720, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41687:7:1", + "src": "42872:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21270,43 +21270,43 @@ "visibility": "internal" } ], - "id": 2234, + "id": 1726, "initialValue": { "baseExpression": { "expression": { - "id": 2230, + "id": 1722, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41706:3:1", + "referencedDeclaration": 1711, + "src": "42891:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2231, + "id": 1723, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41706:12:1", + "referencedDeclaration": 1427, + "src": "42891:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2233, + "id": 1725, "indexExpression": { - "id": 2232, + "id": 1724, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2221, - "src": "41719:3:1", + "referencedDeclaration": 1713, + "src": "42904:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21317,14 +21317,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41706:17:1", + "src": "42891:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "expression": { @@ -21334,18 +21334,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2238, + "id": 1730, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2236, + "id": 1728, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41741:8:1", + "referencedDeclaration": 1721, + "src": "42927:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21355,33 +21355,33 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2237, + "id": 1729, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41753:1:1", + "src": "42939:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41741:13:1", + "src": "42927:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 2239, + "id": 1731, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2223, - "src": "41756:12:1", + "referencedDeclaration": 1715, + "src": "42942:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -21399,7 +21399,7 @@ "typeString": "string memory" } ], - "id": 2235, + "id": 1727, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -21407,13 +21407,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41733:7:1", + "src": "42919:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2240, + "id": 1732, "isConstant": false, "isLValue": false, "isPure": false, @@ -21421,65 +21421,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41733:36:1", + "src": "42919:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2241, + "id": 1733, "nodeType": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2242, + "id": 1734, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41822:3:1", + "referencedDeclaration": 1711, + "src": "43009:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2243, + "id": 1735, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41822:12:1", + "referencedDeclaration": 1423, + "src": "43009:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2247, + "id": 1739, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2246, + "id": 1738, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2244, + "id": 1736, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41835:8:1", + "referencedDeclaration": 1721, + "src": "43022:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21489,21 +21489,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2245, + "id": 1737, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41846:1:1", + "src": "43033:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41835:12:1", + "src": "43022:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21514,71 +21514,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41822:26:1", + "src": "43009:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2248, + "id": 1740, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41822:33:1", + "referencedDeclaration": 1419, + "src": "43009:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2227, - "id": 2249, + "functionReturnParameters": 1719, + "id": 1741, "nodeType": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ] }, "documentation": { - "id": 2217, + "id": 1709, "nodeType": "StructuredDocumentation", - "src": "41298:271:1", + "src": "42476:276:0", "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2251, + "id": 1743, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2224, + "id": 1716, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2219, + "id": 1711, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41588:15:1", + "scope": 1743, + "src": "42772:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2218, + "id": 1710, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41588:3:1", + "referencedDeclaration": 1428, + "src": "42772:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21586,12 +21586,12 @@ }, { "constant": false, - "id": 2221, + "id": 1713, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41605:11:1", + "scope": 1743, + "src": "42789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21599,10 +21599,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2220, + "id": 1712, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41605:7:1", + "src": "42789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21612,12 +21612,12 @@ }, { "constant": false, - "id": 2223, + "id": 1715, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41618:26:1", + "scope": 1743, + "src": "42802:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -21625,10 +21625,10 @@ "typeString": "string" }, "typeName": { - "id": 2222, + "id": 1714, "name": "string", "nodeType": "ElementaryTypeName", - "src": "41618:6:1", + "src": "42802:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -21637,20 +21637,20 @@ "visibility": "internal" } ], - "src": "41587:58:1" + "src": "42771:58:0" }, "returnParameters": { - "id": 2227, + "id": 1719, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2226, + "id": 1718, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41668:7:1", + "scope": 1743, + "src": "42852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21658,10 +21658,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2225, + "id": 1717, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41668:7:1", + "src": "42852:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21670,40 +21670,40 @@ "visibility": "internal" } ], - "src": "41667:9:1" + "src": "42851:9:0" }, - "scope": 2480, - "src": "41574:315:1", + "scope": 1972, + "src": "42758:319:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableMap.UintToAddressMap", - "id": 2254, + "id": 1746, "members": [ { "constant": false, - "id": 2253, + "id": 1745, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 2254, - "src": "41954:10:1", + "scope": 1746, + "src": "43147:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2252, + "id": 1744, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41954:3:1", + "referencedDeclaration": 1428, + "src": "43147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21712,55 +21712,55 @@ ], "name": "UintToAddressMap", "nodeType": "StructDefinition", - "scope": 2480, - "src": "41920:51:1", + "scope": 1972, + "src": "43112:53:0", "visibility": "public" }, { "body": { - "id": 2285, + "id": 1777, "nodeType": "Block", - "src": "42293:88:1", + "src": "43496:90:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2267, + "id": 1759, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2257, - "src": "42315:3:1", + "referencedDeclaration": 1749, + "src": "43519:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2268, + "id": 1760, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42315:10:1", + "referencedDeclaration": 1745, + "src": "43519:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2271, + "id": 1763, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2259, - "src": "42335:3:1", + "referencedDeclaration": 1751, + "src": "43539:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21774,26 +21774,26 @@ "typeString": "uint256" } ], - "id": 2270, + "id": 1762, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2269, + "id": 1761, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": {} } }, - "id": 2272, + "id": 1764, "isConstant": false, "isLValue": false, "isPure": false, @@ -21801,7 +21801,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42327:12:1", + "src": "43531:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21815,12 +21815,12 @@ { "arguments": [ { - "id": 2279, + "id": 1771, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2261, - "src": "42365:5:1", + "referencedDeclaration": 1753, + "src": "43569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21834,26 +21834,26 @@ "typeString": "address" } ], - "id": 2278, + "id": 1770, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2277, + "id": 1769, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": {} } }, - "id": 2280, + "id": 1772, "isConstant": false, "isLValue": false, "isPure": false, @@ -21861,7 +21861,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42357:14:1", + "src": "43561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -21876,26 +21876,26 @@ "typeString": "uint160" } ], - "id": 2276, + "id": 1768, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2275, + "id": 1767, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": {} } }, - "id": 2281, + "id": 1773, "isConstant": false, "isLValue": false, "isPure": false, @@ -21903,7 +21903,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42349:23:1", + "src": "43553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -21918,26 +21918,26 @@ "typeString": "uint256" } ], - "id": 2274, + "id": 1766, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2273, + "id": 1765, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": {} } }, - "id": 2282, + "id": 1774, "isConstant": false, "isLValue": false, "isPure": false, @@ -21945,7 +21945,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42341:32:1", + "src": "43545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21956,7 +21956,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -21968,18 +21968,18 @@ "typeString": "bytes32" } ], - "id": 2266, + "id": 1758, "name": "_set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1998, - "src": "42310:4:1", + "referencedDeclaration": 1490, + "src": "43514:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)" } }, - "id": 2283, + "id": 1775, "isConstant": false, "isLValue": false, "isPure": false, @@ -21987,58 +21987,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42310:64:1", + "src": "43514:64:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2265, - "id": 2284, + "functionReturnParameters": 1757, + "id": 1776, "nodeType": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ] }, "documentation": { - "id": 2255, + "id": 1747, "nodeType": "StructuredDocumentation", - "src": "41977:216:1", + "src": "43173:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2286, + "id": 1778, "implemented": true, "kind": "function", "modifiers": [], "name": "set", "nodeType": "FunctionDefinition", "parameters": { - "id": 2262, + "id": 1754, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2257, + "id": 1749, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42211:28:1", + "scope": 1778, + "src": "43414:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2256, + "id": 1748, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42211:16:1", + "referencedDeclaration": 1746, + "src": "43414:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22046,12 +22046,12 @@ }, { "constant": false, - "id": 2259, + "id": 1751, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42241:11:1", + "scope": 1778, + "src": "43444:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22059,10 +22059,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2258, + "id": 1750, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42241:7:1", + "src": "43444:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22072,12 +22072,12 @@ }, { "constant": false, - "id": 2261, + "id": 1753, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42254:13:1", + "scope": 1778, + "src": "43457:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22085,10 +22085,10 @@ "typeString": "address" }, "typeName": { - "id": 2260, + "id": 1752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "42254:7:1", + "src": "43457:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -22098,20 +22098,20 @@ "visibility": "internal" } ], - "src": "42210:58:1" + "src": "43413:58:0" }, "returnParameters": { - "id": 2265, + "id": 1757, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2264, + "id": 1756, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42287:4:1", + "scope": 1778, + "src": "43490:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22119,10 +22119,10 @@ "typeString": "bool" }, "typeName": { - "id": 2263, + "id": 1755, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42287:4:1", + "src": "43490:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22131,59 +22131,59 @@ "visibility": "internal" } ], - "src": "42286:6:1" + "src": "43489:6:0" }, - "scope": 2480, - "src": "42198:183:1", + "scope": 1972, + "src": "43401:185:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2305, + "id": 1797, "nodeType": "Block", - "src": "42623:57:1", + "src": "43835:59:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2297, + "id": 1789, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2289, - "src": "42648:3:1", + "referencedDeclaration": 1781, + "src": "43861:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2298, + "id": 1790, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42648:10:1", + "referencedDeclaration": 1745, + "src": "43861:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2301, + "id": 1793, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2291, - "src": "42668:3:1", + "referencedDeclaration": 1783, + "src": "43881:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22197,26 +22197,26 @@ "typeString": "uint256" } ], - "id": 2300, + "id": 1792, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2299, + "id": 1791, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": {} } }, - "id": 2302, + "id": 1794, "isConstant": false, "isLValue": false, "isPure": false, @@ -22224,7 +22224,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42660:12:1", + "src": "43873:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -22235,7 +22235,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22243,18 +22243,18 @@ "typeString": "bytes32" } ], - "id": 2296, + "id": 1788, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2079, - "src": "42640:7:1", + "referencedDeclaration": 1571, + "src": "43853:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)" } }, - "id": 2303, + "id": 1795, "isConstant": false, "isLValue": false, "isPure": false, @@ -22262,58 +22262,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42640:33:1", + "src": "43853:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2295, - "id": 2304, + "functionReturnParameters": 1787, + "id": 1796, "nodeType": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ] }, "documentation": { - "id": 2287, + "id": 1779, "nodeType": "StructuredDocumentation", - "src": "42387:148:1", + "src": "43594:152:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2306, + "id": 1798, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2292, + "id": 1784, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2289, + "id": 1781, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42556:28:1", + "scope": 1798, + "src": "43768:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2288, + "id": 1780, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42556:16:1", + "referencedDeclaration": 1746, + "src": "43768:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22321,12 +22321,12 @@ }, { "constant": false, - "id": 2291, + "id": 1783, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42586:11:1", + "scope": 1798, + "src": "43798:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22334,10 +22334,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2290, + "id": 1782, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42586:7:1", + "src": "43798:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22346,20 +22346,20 @@ "visibility": "internal" } ], - "src": "42555:43:1" + "src": "43767:43:0" }, "returnParameters": { - "id": 2295, + "id": 1787, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2294, + "id": 1786, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42617:4:1", + "scope": 1798, + "src": "43829:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22367,10 +22367,10 @@ "typeString": "bool" }, "typeName": { - "id": 2293, + "id": 1785, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42617:4:1", + "src": "43829:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22379,59 +22379,59 @@ "visibility": "internal" } ], - "src": "42616:6:1" + "src": "43828:6:0" }, - "scope": 2480, - "src": "42540:140:1", + "scope": 1972, + "src": "43752:142:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2325, + "id": 1817, "nodeType": "Block", - "src": "42849:59:1", + "src": "44068:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2317, + "id": 1809, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2309, - "src": "42876:3:1", + "referencedDeclaration": 1801, + "src": "44096:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2318, + "id": 1810, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42876:10:1", + "referencedDeclaration": 1745, + "src": "44096:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2321, + "id": 1813, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2311, - "src": "42896:3:1", + "referencedDeclaration": 1803, + "src": "44116:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22445,26 +22445,26 @@ "typeString": "uint256" } ], - "id": 2320, + "id": 1812, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2319, + "id": 1811, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": {} } }, - "id": 2322, + "id": 1814, "isConstant": false, "isLValue": false, "isPure": false, @@ -22472,7 +22472,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42888:12:1", + "src": "44108:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -22483,7 +22483,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22491,18 +22491,18 @@ "typeString": "bytes32" } ], - "id": 2316, + "id": 1808, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2097, - "src": "42866:9:1", + "referencedDeclaration": 1589, + "src": "44086:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)" } }, - "id": 2323, + "id": 1815, "isConstant": false, "isLValue": false, "isPure": false, @@ -22510,58 +22510,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42866:35:1", + "src": "44086:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2315, - "id": 2324, + "functionReturnParameters": 1807, + "id": 1816, "nodeType": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ] }, "documentation": { - "id": 2307, + "id": 1799, "nodeType": "StructuredDocumentation", - "src": "42686:68:1", + "src": "43902:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2326, + "id": 1818, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2312, + "id": 1804, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2309, + "id": 1801, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42777:28:1", + "scope": 1818, + "src": "43996:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2308, + "id": 1800, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42777:16:1", + "referencedDeclaration": 1746, + "src": "43996:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22569,12 +22569,12 @@ }, { "constant": false, - "id": 2311, + "id": 1803, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42807:11:1", + "scope": 1818, + "src": "44026:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22582,10 +22582,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2310, + "id": 1802, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42807:7:1", + "src": "44026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22594,20 +22594,20 @@ "visibility": "internal" } ], - "src": "42776:43:1" + "src": "43995:43:0" }, "returnParameters": { - "id": 2315, + "id": 1807, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2314, + "id": 1806, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42843:4:1", + "scope": 1818, + "src": "44062:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22615,10 +22615,10 @@ "typeString": "bool" }, "typeName": { - "id": 2313, + "id": 1805, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42843:4:1", + "src": "44062:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22627,47 +22627,47 @@ "visibility": "internal" } ], - "src": "42842:6:1" + "src": "44061:6:0" }, - "scope": 2480, - "src": "42759:149:1", + "scope": 1972, + "src": "43978:151:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2339, + "id": 1831, "nodeType": "Block", - "src": "43069:43:1", + "src": "44295:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2335, + "id": 1827, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2329, - "src": "43094:3:1", + "referencedDeclaration": 1821, + "src": "44321:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2336, + "id": 1828, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43094:10:1", + "referencedDeclaration": 1745, + "src": "44321:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } } @@ -22675,22 +22675,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], - "id": 2334, + "id": 1826, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2110, - "src": "43086:7:1", + "referencedDeclaration": 1602, + "src": "44313:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)" } }, - "id": 2337, + "id": 1829, "isConstant": false, "isLValue": false, "isPure": false, @@ -22698,78 +22698,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43086:19:1", + "src": "44313:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2333, - "id": 2338, + "functionReturnParameters": 1825, + "id": 1830, "nodeType": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ] }, "documentation": { - "id": 2327, + "id": 1819, "nodeType": "StructuredDocumentation", - "src": "42914:72:1", + "src": "44137:74:0", "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2340, + "id": 1832, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2330, + "id": 1822, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2329, + "id": 1821, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43007:28:1", + "scope": 1832, + "src": "44233:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2328, + "id": 1820, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43007:16:1", + "referencedDeclaration": 1746, + "src": "44233:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, "visibility": "internal" } ], - "src": "43006:30:1" + "src": "44232:30:0" }, "returnParameters": { - "id": 2333, + "id": 1825, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2332, + "id": 1824, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43060:7:1", + "scope": 1832, + "src": "44286:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22777,10 +22777,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2331, + "id": 1823, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43060:7:1", + "src": "44286:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22789,34 +22789,34 @@ "visibility": "internal" } ], - "src": "43059:9:1" + "src": "44285:9:0" }, - "scope": 2480, - "src": "42991:121:1", + "scope": 1972, + "src": "44217:123:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2378, + "id": 1870, "nodeType": "Block", - "src": "43538:135:1", + "src": "44777:138:0", "statements": [ { "assignments": [ - 2353, - 2355 + 1845, + 1847 ], "declarations": [ { "constant": false, - "id": 2353, + "id": 1845, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43549:11:1", + "scope": 1870, + "src": "44789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22824,10 +22824,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2352, + "id": 1844, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43549:7:1", + "src": "44789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22837,12 +22837,12 @@ }, { "constant": false, - "id": 2355, + "id": 1847, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43562:13:1", + "scope": 1870, + "src": "44802:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22850,10 +22850,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2354, + "id": 1846, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43562:7:1", + "src": "44802:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22862,43 +22862,43 @@ "visibility": "internal" } ], - "id": 2361, + "id": 1853, "initialValue": { "arguments": [ { "expression": { - "id": 2357, + "id": 1849, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2343, - "src": "43583:3:1", + "referencedDeclaration": 1835, + "src": "44823:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2358, + "id": 1850, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43583:10:1", + "referencedDeclaration": 1745, + "src": "44823:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { - "id": 2359, + "id": 1851, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2345, - "src": "43595:5:1", + "referencedDeclaration": 1837, + "src": "44835:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22908,7 +22908,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22916,18 +22916,18 @@ "typeString": "uint256" } ], - "id": 2356, + "id": 1848, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2145, - "src": "43579:3:1", + "referencedDeclaration": 1637, + "src": "44819:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)" } }, - "id": 2360, + "id": 1852, "isConstant": false, "isLValue": false, "isPure": false, @@ -22935,7 +22935,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43579:22:1", + "src": "44819:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", @@ -22943,7 +22943,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "expression": { @@ -22951,12 +22951,12 @@ { "arguments": [ { - "id": 2364, + "id": 1856, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2353, - "src": "43627:3:1", + "referencedDeclaration": 1845, + "src": "44868:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22970,26 +22970,26 @@ "typeString": "bytes32" } ], - "id": 2363, + "id": 1855, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2362, + "id": 1854, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": {} } }, - "id": 2365, + "id": 1857, "isConstant": false, "isLValue": false, "isPure": false, @@ -22997,7 +22997,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43619:12:1", + "src": "44860:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23011,12 +23011,12 @@ { "arguments": [ { - "id": 2372, + "id": 1864, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2355, - "src": "43657:5:1", + "referencedDeclaration": 1847, + "src": "44898:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23030,26 +23030,26 @@ "typeString": "bytes32" } ], - "id": 2371, + "id": 1863, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2370, + "id": 1862, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": {} } }, - "id": 2373, + "id": 1865, "isConstant": false, "isLValue": false, "isPure": false, @@ -23057,7 +23057,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43649:14:1", + "src": "44890:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23072,26 +23072,26 @@ "typeString": "uint256" } ], - "id": 2369, + "id": 1861, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2368, + "id": 1860, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": {} } }, - "id": 2374, + "id": 1866, "isConstant": false, "isLValue": false, "isPure": false, @@ -23099,7 +23099,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43641:23:1", + "src": "44882:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23114,26 +23114,26 @@ "typeString": "uint160" } ], - "id": 2367, + "id": 1859, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2366, + "id": 1858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": {} } }, - "id": 2375, + "id": 1867, "isConstant": false, "isLValue": false, "isPure": false, @@ -23141,7 +23141,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43633:32:1", + "src": "44874:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -23149,64 +23149,64 @@ } } ], - "id": 2376, + "id": 1868, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "43618:48:1", + "src": "44859:48:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_payable_$", "typeString": "tuple(uint256,address payable)" } }, - "functionReturnParameters": 2351, - "id": 2377, + "functionReturnParameters": 1843, + "id": 1869, "nodeType": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ] }, "documentation": { - "id": 2341, + "id": 1833, "nodeType": "StructuredDocumentation", - "src": "43117:318:1", + "src": "44347:326:0", "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2379, + "id": 1871, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2346, + "id": 1838, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2343, + "id": 1835, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43452:28:1", + "scope": 1871, + "src": "44691:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2342, + "id": 1834, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43452:16:1", + "referencedDeclaration": 1746, + "src": "44691:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23214,12 +23214,12 @@ }, { "constant": false, - "id": 2345, + "id": 1837, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43482:13:1", + "scope": 1871, + "src": "44721:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23227,10 +23227,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2344, + "id": 1836, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43482:7:1", + "src": "44721:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23239,20 +23239,20 @@ "visibility": "internal" } ], - "src": "43451:45:1" + "src": "44690:45:0" }, "returnParameters": { - "id": 2351, + "id": 1843, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2348, + "id": 1840, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43520:7:1", + "scope": 1871, + "src": "44759:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23260,10 +23260,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2347, + "id": 1839, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43520:7:1", + "src": "44759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23273,12 +23273,12 @@ }, { "constant": false, - "id": 2350, + "id": 1842, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43529:7:1", + "scope": 1871, + "src": "44768:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23286,10 +23286,10 @@ "typeString": "address" }, "typeName": { - "id": 2349, + "id": 1841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43529:7:1", + "src": "44768:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23299,34 +23299,34 @@ "visibility": "internal" } ], - "src": "43519:18:1" + "src": "44758:18:0" }, - "scope": 2480, - "src": "43440:233:1", + "scope": 1972, + "src": "44679:236:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2417, + "id": 1909, "nodeType": "Block", - "src": "43950:142:1", + "src": "45200:145:0", "statements": [ { "assignments": [ - 2392, - 2394 + 1884, + 1886 ], "declarations": [ { "constant": false, - "id": 2392, + "id": 1884, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43961:12:1", + "scope": 1909, + "src": "45212:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23334,10 +23334,10 @@ "typeString": "bool" }, "typeName": { - "id": 2391, + "id": 1883, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43961:4:1", + "src": "45212:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23347,12 +23347,12 @@ }, { "constant": false, - "id": 2394, + "id": 1886, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43975:13:1", + "scope": 1909, + "src": "45226:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23360,10 +23360,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2393, + "id": 1885, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43975:7:1", + "src": "45226:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23372,45 +23372,45 @@ "visibility": "internal" } ], - "id": 2403, + "id": 1895, "initialValue": { "arguments": [ { "expression": { - "id": 2396, + "id": 1888, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2382, - "src": "44000:3:1", + "referencedDeclaration": 1874, + "src": "45251:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2397, + "id": 1889, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44000:10:1", + "referencedDeclaration": 1745, + "src": "45251:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2400, + "id": 1892, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2384, - "src": "44020:3:1", + "referencedDeclaration": 1876, + "src": "45271:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23424,26 +23424,26 @@ "typeString": "uint256" } ], - "id": 2399, + "id": 1891, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2398, + "id": 1890, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": {} } }, - "id": 2401, + "id": 1893, "isConstant": false, "isLValue": false, "isPure": false, @@ -23451,7 +23451,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44012:12:1", + "src": "45263:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23462,7 +23462,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23470,18 +23470,18 @@ "typeString": "bytes32" } ], - "id": 2395, + "id": 1887, "name": "_tryGet", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2183, - "src": "43992:7:1", + "referencedDeclaration": 1675, + "src": "45243:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)" } }, - "id": 2402, + "id": 1894, "isConstant": false, "isLValue": false, "isPure": false, @@ -23489,7 +23489,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43992:33:1", + "src": "45243:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", @@ -23497,18 +23497,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "expression": { "components": [ { - "id": 2404, + "id": 1896, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2392, - "src": "44043:7:1", + "referencedDeclaration": 1884, + "src": "45295:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23521,12 +23521,12 @@ { "arguments": [ { - "id": 2411, + "id": 1903, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2394, - "src": "44076:5:1", + "referencedDeclaration": 1886, + "src": "45328:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23540,26 +23540,26 @@ "typeString": "bytes32" } ], - "id": 2410, + "id": 1902, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2409, + "id": 1901, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": {} } }, - "id": 2412, + "id": 1904, "isConstant": false, "isLValue": false, "isPure": false, @@ -23567,7 +23567,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44068:14:1", + "src": "45320:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23582,26 +23582,26 @@ "typeString": "uint256" } ], - "id": 2408, + "id": 1900, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2407, + "id": 1899, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": {} } }, - "id": 2413, + "id": 1905, "isConstant": false, "isLValue": false, "isPure": false, @@ -23609,7 +23609,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44060:23:1", + "src": "45312:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23624,26 +23624,26 @@ "typeString": "uint160" } ], - "id": 2406, + "id": 1898, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2405, + "id": 1897, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": {} } }, - "id": 2414, + "id": 1906, "isConstant": false, "isLValue": false, "isPure": false, @@ -23651,7 +23651,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44052:32:1", + "src": "45304:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -23659,64 +23659,64 @@ } } ], - "id": 2415, + "id": 1907, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "44042:43:1", + "src": "45294:43:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_address_payable_$", "typeString": "tuple(bool,address payable)" } }, - "functionReturnParameters": 2390, - "id": 2416, + "functionReturnParameters": 1882, + "id": 1908, "nodeType": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ] }, "documentation": { - "id": 2380, + "id": 1872, "nodeType": "StructuredDocumentation", - "src": "43679:169:1", + "src": "44923:174:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2418, + "id": 1910, "implemented": true, "kind": "function", "modifiers": [], "name": "tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2385, + "id": 1877, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2382, + "id": 1874, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43869:28:1", + "scope": 1910, + "src": "45119:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2381, + "id": 1873, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43869:16:1", + "referencedDeclaration": 1746, + "src": "45119:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23724,12 +23724,12 @@ }, { "constant": false, - "id": 2384, + "id": 1876, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43899:11:1", + "scope": 1910, + "src": "45149:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23737,10 +23737,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2383, + "id": 1875, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43899:7:1", + "src": "45149:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23749,20 +23749,20 @@ "visibility": "internal" } ], - "src": "43868:43:1" + "src": "45118:43:0" }, "returnParameters": { - "id": 2390, + "id": 1882, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2387, + "id": 1879, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43935:4:1", + "scope": 1910, + "src": "45185:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23770,10 +23770,10 @@ "typeString": "bool" }, "typeName": { - "id": 2386, + "id": 1878, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43935:4:1", + "src": "45185:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23783,12 +23783,12 @@ }, { "constant": false, - "id": 2389, + "id": 1881, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43941:7:1", + "scope": 1910, + "src": "45191:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23796,10 +23796,10 @@ "typeString": "address" }, "typeName": { - "id": 2388, + "id": 1880, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43941:7:1", + "src": "45191:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23809,19 +23809,19 @@ "visibility": "internal" } ], - "src": "43934:15:1" + "src": "45184:15:0" }, - "scope": 2480, - "src": "43853:239:1", + "scope": 1972, + "src": "45103:242:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2446, + "id": 1938, "nodeType": "Block", - "src": "44332:81:1", + "src": "45594:83:0", "statements": [ { "expression": { @@ -23834,40 +23834,40 @@ "arguments": [ { "expression": { - "id": 2435, + "id": 1927, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2421, - "src": "44378:3:1", + "referencedDeclaration": 1913, + "src": "45641:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2436, + "id": 1928, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44378:10:1", + "referencedDeclaration": 1745, + "src": "45641:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2439, + "id": 1931, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2423, - "src": "44398:3:1", + "referencedDeclaration": 1915, + "src": "45661:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23881,26 +23881,26 @@ "typeString": "uint256" } ], - "id": 2438, + "id": 1930, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2437, + "id": 1929, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": {} } }, - "id": 2440, + "id": 1932, "isConstant": false, "isLValue": false, "isPure": false, @@ -23908,7 +23908,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44390:12:1", + "src": "45653:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23919,7 +23919,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23927,21 +23927,21 @@ "typeString": "bytes32" } ], - "id": 2434, + "id": 1926, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, - "src": "44373:4:1", + "referencedDeclaration": 1708, + "src": "45636:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)" } }, - "id": 2441, + "id": 1933, "isConstant": false, "isLValue": false, "isPure": false, @@ -23949,7 +23949,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44373:30:1", + "src": "45636:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23964,26 +23964,26 @@ "typeString": "bytes32" } ], - "id": 2433, + "id": 1925, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2432, + "id": 1924, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": {} } }, - "id": 2442, + "id": 1934, "isConstant": false, "isLValue": false, "isPure": false, @@ -23991,7 +23991,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44365:39:1", + "src": "45628:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -24006,26 +24006,26 @@ "typeString": "uint256" } ], - "id": 2431, + "id": 1923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2430, + "id": 1922, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": {} } }, - "id": 2443, + "id": 1935, "isConstant": false, "isLValue": false, "isPure": false, @@ -24033,7 +24033,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44357:48:1", + "src": "45620:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -24048,26 +24048,26 @@ "typeString": "uint160" } ], - "id": 2429, + "id": 1921, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2428, + "id": 1920, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": {} } }, - "id": 2444, + "id": 1936, "isConstant": false, "isLValue": false, "isPure": false, @@ -24075,58 +24075,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44349:57:1", + "src": "45612:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2427, - "id": 2445, + "functionReturnParameters": 1919, + "id": 1937, "nodeType": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ] }, "documentation": { - "id": 2419, + "id": 1911, "nodeType": "StructuredDocumentation", - "src": "44098:141:1", + "src": "45353:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2447, + "id": 1939, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2424, + "id": 1916, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2421, + "id": 1913, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44257:28:1", + "scope": 1939, + "src": "45519:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2420, + "id": 1912, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44257:16:1", + "referencedDeclaration": 1746, + "src": "45519:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -24134,12 +24134,12 @@ }, { "constant": false, - "id": 2423, + "id": 1915, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44287:11:1", + "scope": 1939, + "src": "45549:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24147,10 +24147,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2422, + "id": 1914, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44287:7:1", + "src": "45549:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24159,20 +24159,20 @@ "visibility": "internal" } ], - "src": "44256:43:1" + "src": "45518:43:0" }, "returnParameters": { - "id": 2427, + "id": 1919, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2426, + "id": 1918, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44323:7:1", + "scope": 1939, + "src": "45585:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24180,10 +24180,10 @@ "typeString": "address" }, "typeName": { - "id": 2425, + "id": 1917, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44323:7:1", + "src": "45585:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -24193,19 +24193,19 @@ "visibility": "internal" } ], - "src": "44322:9:1" + "src": "45584:9:0" }, - "scope": 2480, - "src": "44244:169:1", + "scope": 1972, + "src": "45506:171:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2478, + "id": 1970, "nodeType": "Block", - "src": "44809:95:1", + "src": "46081:97:0", "statements": [ { "expression": { @@ -24218,40 +24218,40 @@ "arguments": [ { "expression": { - "id": 2466, + "id": 1958, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2450, - "src": "44855:3:1", + "referencedDeclaration": 1942, + "src": "46128:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2467, + "id": 1959, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44855:10:1", + "referencedDeclaration": 1745, + "src": "46128:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2470, + "id": 1962, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2452, - "src": "44875:3:1", + "referencedDeclaration": 1944, + "src": "46148:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24265,26 +24265,26 @@ "typeString": "uint256" } ], - "id": 2469, + "id": 1961, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2468, + "id": 1960, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": {} } }, - "id": 2471, + "id": 1963, "isConstant": false, "isLValue": false, "isPure": false, @@ -24292,7 +24292,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44867:12:1", + "src": "46140:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -24300,12 +24300,12 @@ } }, { - "id": 2472, + "id": 1964, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2454, - "src": "44881:12:1", + "referencedDeclaration": 1946, + "src": "46154:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -24315,7 +24315,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -24327,21 +24327,21 @@ "typeString": "string memory" } ], - "id": 2465, + "id": 1957, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, - "src": "44850:4:1", + "referencedDeclaration": 1743, + "src": "46123:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)" } }, - "id": 2473, + "id": 1965, "isConstant": false, "isLValue": false, "isPure": false, @@ -24349,7 +24349,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44850:44:1", + "src": "46123:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -24364,26 +24364,26 @@ "typeString": "bytes32" } ], - "id": 2464, + "id": 1956, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2463, + "id": 1955, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": {} } }, - "id": 2474, + "id": 1966, "isConstant": false, "isLValue": false, "isPure": false, @@ -24391,7 +24391,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44842:53:1", + "src": "46115:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -24406,26 +24406,26 @@ "typeString": "uint256" } ], - "id": 2462, + "id": 1954, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2461, + "id": 1953, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": {} } }, - "id": 2475, + "id": 1967, "isConstant": false, "isLValue": false, "isPure": false, @@ -24433,7 +24433,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44834:62:1", + "src": "46107:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -24448,26 +24448,26 @@ "typeString": "uint160" } ], - "id": 2460, + "id": 1952, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2459, + "id": 1951, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": {} } }, - "id": 2476, + "id": 1968, "isConstant": false, "isLValue": false, "isPure": false, @@ -24475,58 +24475,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44826:71:1", + "src": "46099:71:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2458, - "id": 2477, + "functionReturnParameters": 1950, + "id": 1969, "nodeType": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ] }, "documentation": { - "id": 2448, + "id": 1940, "nodeType": "StructuredDocumentation", - "src": "44419:269:1", + "src": "45685:274:0", "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2479, + "id": 1971, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2455, + "id": 1947, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2450, + "id": 1942, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44706:28:1", + "scope": 1971, + "src": "45978:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2449, + "id": 1941, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44706:16:1", + "referencedDeclaration": 1746, + "src": "45978:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -24534,12 +24534,12 @@ }, { "constant": false, - "id": 2452, + "id": 1944, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44736:11:1", + "scope": 1971, + "src": "46008:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24547,10 +24547,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2451, + "id": 1943, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44736:7:1", + "src": "46008:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24560,12 +24560,12 @@ }, { "constant": false, - "id": 2454, + "id": 1946, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44749:26:1", + "scope": 1971, + "src": "46021:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24573,10 +24573,10 @@ "typeString": "string" }, "typeName": { - "id": 2453, + "id": 1945, "name": "string", "nodeType": "ElementaryTypeName", - "src": "44749:6:1", + "src": "46021:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -24585,20 +24585,20 @@ "visibility": "internal" } ], - "src": "44705:71:1" + "src": "45977:71:0" }, "returnParameters": { - "id": 2458, + "id": 1950, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2457, + "id": 1949, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44800:7:1", + "scope": 1971, + "src": "46072:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24606,10 +24606,10 @@ "typeString": "address" }, "typeName": { - "id": 2456, + "id": 1948, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44800:7:1", + "src": "46072:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -24619,20 +24619,20 @@ "visibility": "internal" } ], - "src": "44799:9:1" + "src": "46071:9:0" }, - "scope": 2480, - "src": "44693:211:1", + "scope": 1972, + "src": "45965:213:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "35943:8963:1" + "scope": 2991, + "src": "36981:9200:0" }, { - "id": 2481, + "id": 1973, "literals": [ "solidity", ">=", @@ -24643,7 +24643,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "abstract": false, @@ -24651,24 +24651,24 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 2482, + "id": 1974, "nodeType": "StructuredDocumentation", - "src": "44992:34:1", + "src": "46272:36:0", "text": " @dev String operations." }, "fullyImplemented": true, - "id": 2566, + "id": 2058, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 2564, + "id": 2056, "nodeType": "Block", - "src": "45207:654:1", + "src": "46494:675:0", "statements": [ { "condition": { @@ -24676,18 +24676,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2492, + "id": 1984, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2490, + "id": 1982, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45409:5:1", + "referencedDeclaration": 1977, + "src": "46700:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24697,72 +24697,72 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2491, + "id": 1983, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45418:1:1", + "src": "46709:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45409:10:1", + "src": "46700:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2496, + "id": 1988, "nodeType": "IfStatement", - "src": "45405:51:1", + "src": "46696:53:0", "trueBody": { - "id": 2495, + "id": 1987, "nodeType": "Block", - "src": "45421:35:1", + "src": "46712:37:0", "statements": [ { "expression": { "hexValue": "30", - "id": 2493, + "id": 1985, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "45442:3:1", + "src": "46734:3:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", "typeString": "literal_string \"0\"" }, "value": "0" }, - "functionReturnParameters": 2489, - "id": 2494, + "functionReturnParameters": 1981, + "id": 1986, "nodeType": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ] } }, { "assignments": [ - 2498 + 1990 ], "declarations": [ { "constant": false, - "id": 2498, + "id": 1990, "mutability": "mutable", "name": "temp", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45465:12:1", + "scope": 2056, + "src": "46759:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24770,10 +24770,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2497, + "id": 1989, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45465:7:1", + "src": "46759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24782,35 +24782,35 @@ "visibility": "internal" } ], - "id": 2500, + "id": 1992, "initialValue": { - "id": 2499, + "id": 1991, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45480:5:1", + "referencedDeclaration": 1977, + "src": "46774:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "assignments": [ - 2502 + 1994 ], "declarations": [ { "constant": false, - "id": 2502, + "id": 1994, "mutability": "mutable", "name": "digits", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45495:14:1", + "scope": 2056, + "src": "46790:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24818,10 +24818,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2501, + "id": 1993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45495:7:1", + "src": "46790:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24830,19 +24830,19 @@ "visibility": "internal" } ], - "id": 2503, + "id": 1995, "nodeType": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "body": { - "id": 2514, + "id": 2006, "nodeType": "Block", - "src": "45537:57:1", + "src": "46833:60:0", "statements": [ { "expression": { - "id": 2508, + "id": 2000, "isConstant": false, "isLValue": false, "isPure": false, @@ -24850,14 +24850,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "45551:8:1", + "src": "46848:8:0", "subExpression": { - "id": 2507, + "id": 1999, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45551:6:1", + "referencedDeclaration": 1994, + "src": "46848:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24868,24 +24868,24 @@ "typeString": "uint256" } }, - "id": 2509, + "id": 2001, "nodeType": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "expression": { - "id": 2512, + "id": 2004, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2510, + "id": 2002, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45573:4:1", + "referencedDeclaration": 1990, + "src": "46871:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24895,29 +24895,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2511, + "id": 2003, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45581:2:1", + "src": "46879:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45573:10:1", + "src": "46871:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2513, + "id": 2005, "nodeType": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ] }, @@ -24926,18 +24926,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2506, + "id": 1998, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2504, + "id": 1996, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45526:4:1", + "referencedDeclaration": 1990, + "src": "46822:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24947,43 +24947,43 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2505, + "id": 1997, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45534:1:1", + "src": "46830:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45526:9:1", + "src": "46822:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2515, + "id": 2007, "nodeType": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "assignments": [ - 2517 + 2009 ], "declarations": [ { "constant": false, - "id": 2517, + "id": 2009, "mutability": "mutable", "name": "buffer", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45603:19:1", + "scope": 2056, + "src": "46903:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24991,10 +24991,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2516, + "id": 2008, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45603:5:1", + "src": "46903:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -25003,16 +25003,16 @@ "visibility": "internal" } ], - "id": 2522, + "id": 2014, "initialValue": { "arguments": [ { - "id": 2520, + "id": 2012, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45635:6:1", + "referencedDeclaration": 1994, + "src": "46935:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25026,29 +25026,29 @@ "typeString": "uint256" } ], - "id": 2519, + "id": 2011, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", - "src": "45625:9:1", + "src": "46925:9:0", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", "typeString": "function (uint256) pure returns (bytes memory)" }, "typeName": { - "id": 2518, + "id": 2010, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45629:5:1", + "src": "46929:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } } }, - "id": 2521, + "id": 2013, "isConstant": false, "isLValue": false, "isPure": false, @@ -25056,7 +25056,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45625:17:1", + "src": "46925:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -25064,21 +25064,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "assignments": [ - 2524 + 2016 ], "declarations": [ { "constant": false, - "id": 2524, + "id": 2016, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45652:13:1", + "scope": 2056, + "src": "46953:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25086,10 +25086,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2523, + "id": 2015, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45652:7:1", + "src": "46953:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25098,24 +25098,24 @@ "visibility": "internal" } ], - "id": 2528, + "id": 2020, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2527, + "id": 2019, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2525, + "id": 2017, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45668:6:1", + "referencedDeclaration": 1994, + "src": "46969:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25125,43 +25125,43 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2526, + "id": 2018, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45677:1:1", + "src": "46978:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "45668:10:1", + "src": "46969:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "expression": { - "id": 2531, + "id": 2023, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2529, + "id": 2021, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45688:4:1", + "referencedDeclaration": 1990, + "src": "46990:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25170,56 +25170,56 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2530, + "id": 2022, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45695:5:1", + "referencedDeclaration": 1977, + "src": "46997:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45688:12:1", + "src": "46990:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2532, + "id": 2024, "nodeType": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "body": { - "id": 2557, + "id": 2049, "nodeType": "Block", - "src": "45728:96:1", + "src": "47031:99:0", "statements": [ { "expression": { - "id": 2551, + "id": 2043, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2536, + "id": 2028, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45742:6:1", + "referencedDeclaration": 2009, + "src": "47046:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2539, + "id": 2031, "indexExpression": { - "id": 2538, + "id": 2030, "isConstant": false, "isLValue": false, "isPure": false, @@ -25227,14 +25227,14 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "45749:7:1", + "src": "47053:7:0", "subExpression": { - "id": 2537, + "id": 2029, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2524, - "src": "45749:5:1", + "referencedDeclaration": 2016, + "src": "47053:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25250,7 +25250,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "45742:15:1", + "src": "47046:15:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -25267,21 +25267,21 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2548, + "id": 2040, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "hexValue": "3438", - "id": 2544, + "id": 2036, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45773:2:1", + "src": "47077:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_48_by_1", "typeString": "int_const 48" @@ -25295,18 +25295,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2547, + "id": 2039, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2545, + "id": 2037, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45778:4:1", + "referencedDeclaration": 1990, + "src": "47082:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25316,27 +25316,27 @@ "operator": "%", "rightExpression": { "hexValue": "3130", - "id": 2546, + "id": 2038, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45785:2:1", + "src": "47089:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45778:9:1", + "src": "47082:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45773:14:1", + "src": "47077:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25350,26 +25350,26 @@ "typeString": "uint256" } ], - "id": 2543, + "id": 2035, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint8_$", "typeString": "type(uint8)" }, "typeName": { - "id": 2542, + "id": 2034, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": {} } }, - "id": 2549, + "id": 2041, "isConstant": false, "isLValue": false, "isPure": false, @@ -25377,7 +25377,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45767:21:1", + "src": "47071:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint8", @@ -25392,26 +25392,26 @@ "typeString": "uint8" } ], - "id": 2541, + "id": 2033, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": { - "id": 2540, + "id": 2032, "name": "bytes1", "nodeType": "ElementaryTypeName", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": {} } }, - "id": 2550, + "id": 2042, "isConstant": false, "isLValue": false, "isPure": false, @@ -25419,37 +25419,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45760:29:1", + "src": "47064:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "45742:47:1", + "src": "47046:47:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "id": 2552, + "id": 2044, "nodeType": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "expression": { - "id": 2555, + "id": 2047, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2553, + "id": 2045, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45803:4:1", + "referencedDeclaration": 1990, + "src": "47108:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25459,29 +25459,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2554, + "id": 2046, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45811:2:1", + "src": "47116:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45803:10:1", + "src": "47108:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2556, + "id": 2048, "nodeType": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ] }, @@ -25490,18 +25490,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2535, + "id": 2027, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2533, + "id": 2025, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45717:4:1", + "referencedDeclaration": 1990, + "src": "47020:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25511,40 +25511,40 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2534, + "id": 2026, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45725:1:1", + "src": "47028:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45717:9:1", + "src": "47020:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2558, + "id": 2050, "nodeType": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "expression": { "arguments": [ { - "id": 2561, + "id": 2053, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45847:6:1", + "referencedDeclaration": 2009, + "src": "47154:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -25558,26 +25558,26 @@ "typeString": "bytes memory" } ], - "id": 2560, + "id": 2052, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2559, + "id": 2051, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": {} } }, - "id": 2562, + "id": 2054, "isConstant": false, "isLValue": false, "isPure": false, @@ -25585,44 +25585,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45840:14:1", + "src": "47147:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2489, - "id": 2563, + "functionReturnParameters": 1981, + "id": 2055, "nodeType": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ] }, "documentation": { - "id": 2483, + "id": 1975, "nodeType": "StructuredDocumentation", - "src": "45049:82:1", + "src": "46333:84:0", "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2565, + "id": 2057, "implemented": true, "kind": "function", "modifiers": [], "name": "toString", "nodeType": "FunctionDefinition", "parameters": { - "id": 2486, + "id": 1978, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2485, + "id": 1977, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45154:13:1", + "scope": 2057, + "src": "46441:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25630,10 +25630,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2484, + "id": 1976, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45154:7:1", + "src": "46441:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25642,20 +25642,20 @@ "visibility": "internal" } ], - "src": "45153:15:1" + "src": "46440:15:0" }, "returnParameters": { - "id": 2489, + "id": 1981, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2488, + "id": 1980, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45192:13:1", + "scope": 2057, + "src": "46479:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -25663,10 +25663,10 @@ "typeString": "string" }, "typeName": { - "id": 2487, + "id": 1979, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45192:6:1", + "src": "46479:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25675,20 +25675,20 @@ "visibility": "internal" } ], - "src": "45191:15:1" + "src": "46478:15:0" }, - "scope": 2566, - "src": "45136:725:1", + "scope": 2058, + "src": "46423:746:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "45027:836:1" + "scope": 2991, + "src": "46310:862:0" }, { - "id": 2567, + "id": 2059, "literals": [ "solidity", ">=", @@ -25699,141 +25699,141 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 2569, + "id": 2061, "name": "Context", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 530, - "src": "46099:7:1", + "referencedDeclaration": 22, + "src": "47417:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 2570, + "id": 2062, "nodeType": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "baseName": { - "id": 2571, + "id": 2063, "name": "ERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 781, - "src": "46108:6:1", + "referencedDeclaration": 273, + "src": "47426:6:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC165_$781", + "typeIdentifier": "t_contract$_ERC165_$273", "typeString": "contract ERC165" } }, - "id": 2572, + "id": 2064, "nodeType": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "baseName": { - "id": 2573, + "id": 2065, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "46116:7:1", + "referencedDeclaration": 147, + "src": "47434:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 2574, + "id": 2066, "nodeType": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "baseName": { - "id": 2575, + "id": 2067, "name": "IERC721Metadata", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 680, - "src": "46125:15:1", + "referencedDeclaration": 172, + "src": "47443:15:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Metadata_$680", + "typeIdentifier": "t_contract$_IERC721Metadata_$172", "typeString": "contract IERC721Metadata" } }, - "id": 2576, + "id": 2068, "nodeType": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "baseName": { - "id": 2577, + "id": 2069, "name": "IERC721Enumerable", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 709, - "src": "46142:17:1", + "referencedDeclaration": 201, + "src": "47460:17:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Enumerable_$709", + "typeIdentifier": "t_contract$_IERC721Enumerable_$201", "typeString": "contract IERC721Enumerable" } }, - "id": 2578, + "id": 2070, "nodeType": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" } ], "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "documentation": { - "id": 2568, + "id": 2060, "nodeType": "StructuredDocumentation", - "src": "45955:124:1", + "src": "47269:127:0", "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": true, - "id": 3498, + "id": 2990, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", "nodeType": "ContractDefinition", "nodes": [ { - "id": 2581, + "id": 2073, "libraryName": { - "id": 2579, + "id": 2071, "name": "SafeMath", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1135, - "src": "46172:8:1", + "referencedDeclaration": 627, + "src": "47491:8:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$1135", + "typeIdentifier": "t_contract$_SafeMath_$627", "typeString": "library SafeMath" } }, "nodeType": "UsingForDirective", - "src": "46166:27:1", + "src": "47485:27:0", "typeName": { - "id": 2580, + "id": 2072, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46185:7:1", + "src": "47504:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25841,25 +25841,25 @@ } }, { - "id": 2584, + "id": 2076, "libraryName": { - "id": 2582, + "id": 2074, "name": "Address", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1430, - "src": "46204:7:1", + "referencedDeclaration": 922, + "src": "47524:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } }, "nodeType": "UsingForDirective", - "src": "46198:26:1", + "src": "47518:26:0", "typeName": { - "id": 2583, + "id": 2075, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46216:7:1", + "src": "47536:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25868,79 +25868,79 @@ } }, { - "id": 2587, + "id": 2079, "libraryName": { - "id": 2585, + "id": 2077, "name": "EnumerableSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1921, - "src": "46235:13:1", + "referencedDeclaration": 1413, + "src": "47556:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableSet_$1921", + "typeIdentifier": "t_contract$_EnumerableSet_$1413", "typeString": "library EnumerableSet" } }, "nodeType": "UsingForDirective", - "src": "46229:46:1", + "src": "47550:46:0", "typeName": { - "id": 2586, + "id": 2078, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46253:21:1", + "referencedDeclaration": 1318, + "src": "47574:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } }, { - "id": 2590, + "id": 2082, "libraryName": { - "id": 2588, + "id": 2080, "name": "EnumerableMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2480, - "src": "46286:13:1", + "referencedDeclaration": 1972, + "src": "47608:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableMap_$2480", + "typeIdentifier": "t_contract$_EnumerableMap_$1972", "typeString": "library EnumerableMap" } }, "nodeType": "UsingForDirective", - "src": "46280:55:1", + "src": "47602:55:0", "typeName": { - "id": 2589, + "id": 2081, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46304:30:1", + "referencedDeclaration": 1746, + "src": "47626:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } } }, { - "id": 2593, + "id": 2085, "libraryName": { - "id": 2591, + "id": 2083, "name": "Strings", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2566, - "src": "46346:7:1", + "referencedDeclaration": 2058, + "src": "47669:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Strings_$2566", + "typeIdentifier": "t_contract$_Strings_$2058", "typeString": "library Strings" } }, "nodeType": "UsingForDirective", - "src": "46340:26:1", + "src": "47663:26:0", "typeName": { - "id": 2592, + "id": 2084, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46358:7:1", + "src": "47681:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25949,12 +25949,12 @@ }, { "constant": true, - "id": 2596, + "id": 2088, "mutability": "constant", "name": "_ERC721_RECEIVED", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46544:53:1", + "scope": 2990, + "src": "47871:53:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25962,10 +25962,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2594, + "id": 2086, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "46544:6:1", + "src": "47871:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -25973,14 +25973,14 @@ }, "value": { "hexValue": "30783135306237613032", - "id": 2595, + "id": 2087, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "46587:10:1", + "src": "47914:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_353073666_by_1", "typeString": "int_const 353073666" @@ -25991,44 +25991,44 @@ }, { "constant": false, - "id": 2600, + "id": 2092, "mutability": "mutable", "name": "_holderTokens", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46681:64:1", + "scope": 2990, + "src": "48011:64:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "typeName": { - "id": 2599, + "id": 2091, "keyType": { - "id": 2597, + "id": 2089, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46690:7:1", + "src": "48020:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "46681:42:1", + "src": "48011:42:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "valueType": { - "id": 2598, + "id": 2090, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46701:21:1", + "referencedDeclaration": 1318, + "src": "48031:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } @@ -26037,26 +26037,26 @@ }, { "constant": false, - "id": 2602, + "id": 2094, "mutability": "mutable", "name": "_tokenOwners", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46809:51:1", + "scope": 2990, + "src": "48142:51:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2601, + "id": 2093, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46809:30:1", + "referencedDeclaration": 1746, + "src": "48142:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -26064,12 +26064,12 @@ }, { "constant": false, - "id": 2606, + "id": 2098, "mutability": "mutable", "name": "_tokenApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46916:52:1", + "scope": 2990, + "src": "48252:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26077,28 +26077,28 @@ "typeString": "mapping(uint256 => address)" }, "typeName": { - "id": 2605, + "id": 2097, "keyType": { - "id": 2603, + "id": 2095, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46925:7:1", + "src": "48261:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "46916:28:1", + "src": "48252:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" }, "valueType": { - "id": 2604, + "id": 2096, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46936:7:1", + "src": "48272:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26110,12 +26110,12 @@ }, { "constant": false, - "id": 2612, + "id": 2104, "mutability": "mutable", "name": "_operatorApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47023:73:1", + "scope": 2990, + "src": "48362:73:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26123,46 +26123,46 @@ "typeString": "mapping(address => mapping(address => bool))" }, "typeName": { - "id": 2611, + "id": 2103, "keyType": { - "id": 2607, + "id": 2099, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47032:7:1", + "src": "48371:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47023:46:1", + "src": "48362:46:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" }, "valueType": { - "id": 2610, + "id": 2102, "keyType": { - "id": 2608, + "id": 2100, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47052:7:1", + "src": "48391:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47043:25:1", + "src": "48382:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" }, "valueType": { - "id": 2609, + "id": 2101, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "47063:4:1", + "src": "48402:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -26174,12 +26174,12 @@ }, { "constant": false, - "id": 2614, + "id": 2106, "mutability": "mutable", "name": "_name", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47121:20:1", + "scope": 2990, + "src": "48463:20:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26187,10 +26187,10 @@ "typeString": "string" }, "typeName": { - "id": 2613, + "id": 2105, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47121:6:1", + "src": "48463:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26200,12 +26200,12 @@ }, { "constant": false, - "id": 2616, + "id": 2108, "mutability": "mutable", "name": "_symbol", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47168:22:1", + "scope": 2990, + "src": "48513:22:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26213,10 +26213,10 @@ "typeString": "string" }, "typeName": { - "id": 2615, + "id": 2107, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47168:6:1", + "src": "48513:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26226,12 +26226,12 @@ }, { "constant": false, - "id": 2620, + "id": 2112, "mutability": "mutable", "name": "_tokenURIs", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47236:46:1", + "scope": 2990, + "src": "48584:46:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26239,28 +26239,28 @@ "typeString": "mapping(uint256 => string)" }, "typeName": { - "id": 2619, + "id": 2111, "keyType": { - "id": 2617, + "id": 2109, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "47245:7:1", + "src": "48593:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "47236:27:1", + "src": "48584:27:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string)" }, "valueType": { - "id": 2618, + "id": 2110, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47256:6:1", + "src": "48604:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26271,12 +26271,12 @@ }, { "constant": false, - "id": 2622, + "id": 2114, "mutability": "mutable", "name": "_baseURI", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47305:23:1", + "scope": 2990, + "src": "48656:23:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26284,10 +26284,10 @@ "typeString": "string" }, "typeName": { - "id": 2621, + "id": 2113, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47305:6:1", + "src": "48656:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26297,12 +26297,12 @@ }, { "constant": true, - "id": 2625, + "id": 2117, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48204:57:1", + "scope": 2990, + "src": "49571:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26310,10 +26310,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2623, + "id": 2115, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48204:6:1", + "src": "49571:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26321,14 +26321,14 @@ }, "value": { "hexValue": "30783830616335386364", - "id": 2624, + "id": 2116, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48251:10:1", + "src": "49618:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2158778573_by_1", "typeString": "int_const 2158778573" @@ -26339,12 +26339,12 @@ }, { "constant": true, - "id": 2628, + "id": 2120, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48527:66:1", + "scope": 2990, + "src": "49903:66:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26352,10 +26352,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2626, + "id": 2118, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48527:6:1", + "src": "49903:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26363,14 +26363,14 @@ }, "value": { "hexValue": "30783562356531333966", - "id": 2627, + "id": 2119, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48583:10:1", + "src": "49959:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_1532892063_by_1", "typeString": "int_const 1532892063" @@ -26381,12 +26381,12 @@ }, { "constant": true, - "id": 2631, + "id": 2123, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48898:68:1", + "scope": 2990, + "src": "50283:68:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26394,10 +26394,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2629, + "id": 2121, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48898:6:1", + "src": "50283:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26405,14 +26405,14 @@ }, "value": { "hexValue": "30783738306539643633", - "id": 2630, + "id": 2122, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48956:10:1", + "src": "50341:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2014223715_by_1", "typeString": "int_const 2014223715" @@ -26423,24 +26423,24 @@ }, { "body": { - "id": 2659, + "id": 2151, "nodeType": "Block", - "src": "49143:305:1", + "src": "50533:313:0", "statements": [ { "expression": { - "id": 2641, + "id": 2133, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2639, + "id": 2131, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "49153:5:1", + "referencedDeclaration": 2106, + "src": "50544:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26449,41 +26449,41 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2640, + "id": 2132, "name": "name_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2634, - "src": "49161:5:1", + "referencedDeclaration": 2126, + "src": "50552:5:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49153:13:1", + "src": "50544:13:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2642, + "id": 2134, "nodeType": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "expression": { - "id": 2645, + "id": 2137, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2643, + "id": 2135, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "49176:7:1", + "referencedDeclaration": 2108, + "src": "50568:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26492,37 +26492,37 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2644, + "id": 2136, "name": "symbol_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2636, - "src": "49186:7:1", + "referencedDeclaration": 2128, + "src": "50578:7:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49176:17:1", + "src": "50568:17:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2646, + "id": 2138, "nodeType": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "expression": { "arguments": [ { - "id": 2648, + "id": 2140, "name": "_INTERFACE_ID_ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2625, - "src": "49300:20:1", + "referencedDeclaration": 2117, + "src": "50695:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26536,18 +26536,18 @@ "typeString": "bytes4" } ], - "id": 2647, + "id": 2139, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49281:18:1", + "referencedDeclaration": 272, + "src": "50676:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2649, + "id": 2141, "isConstant": false, "isLValue": false, "isPure": false, @@ -26555,27 +26555,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49281:40:1", + "src": "50676:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2650, + "id": 2142, "nodeType": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "expression": { "arguments": [ { - "id": 2652, + "id": 2144, "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2628, - "src": "49350:29:1", + "referencedDeclaration": 2120, + "src": "50746:29:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26589,18 +26589,18 @@ "typeString": "bytes4" } ], - "id": 2651, + "id": 2143, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49331:18:1", + "referencedDeclaration": 272, + "src": "50727:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2653, + "id": 2145, "isConstant": false, "isLValue": false, "isPure": false, @@ -26608,27 +26608,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49331:49:1", + "src": "50727:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2654, + "id": 2146, "nodeType": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "expression": { "arguments": [ { - "id": 2656, + "id": 2148, "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2631, - "src": "49409:31:1", + "referencedDeclaration": 2123, + "src": "50806:31:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26642,18 +26642,18 @@ "typeString": "bytes4" } ], - "id": 2655, + "id": 2147, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49390:18:1", + "referencedDeclaration": 272, + "src": "50787:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2657, + "id": 2149, "isConstant": false, "isLValue": false, "isPure": false, @@ -26661,43 +26661,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49390:51:1", + "src": "50787:51:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2658, + "id": 2150, "nodeType": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ] }, "documentation": { - "id": 2632, + "id": 2124, "nodeType": "StructuredDocumentation", - "src": "48973:108:1", + "src": "50360:110:0", "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2660, + "id": 2152, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 2637, + "id": 2129, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2634, + "id": 2126, "mutability": "mutable", "name": "name_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49099:19:1", + "scope": 2152, + "src": "50489:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26705,10 +26705,10 @@ "typeString": "string" }, "typeName": { - "id": 2633, + "id": 2125, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49099:6:1", + "src": "50489:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26718,12 +26718,12 @@ }, { "constant": false, - "id": 2636, + "id": 2128, "mutability": "mutable", "name": "symbol_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49120:21:1", + "scope": 2152, + "src": "50510:21:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26731,10 +26731,10 @@ "typeString": "string" }, "typeName": { - "id": 2635, + "id": 2127, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49120:6:1", + "src": "50510:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26743,28 +26743,28 @@ "visibility": "internal" } ], - "src": "49098:44:1" + "src": "50488:44:0" }, "returnParameters": { - "id": 2638, + "id": 2130, "nodeType": "ParameterList", "parameters": [], - "src": "49143:0:1" + "src": "50533:0:0" }, - "scope": 3498, - "src": "49086:362:1", + "scope": 2990, + "src": "50476:370:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { "baseFunctions": [ - 580 + 72 ], "body": { - "id": 2685, + "id": 2177, "nodeType": "Block", - "src": "49588:137:1", + "src": "50991:140:0", "statements": [ { "expression": { @@ -26774,18 +26774,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2675, + "id": 2167, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2670, + "id": 2162, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49606:5:1", + "referencedDeclaration": 2155, + "src": "51010:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26797,14 +26797,14 @@ "arguments": [ { "hexValue": "30", - "id": 2673, + "id": 2165, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "49623:1:1", + "src": "51027:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -26819,26 +26819,26 @@ "typeString": "int_const 0" } ], - "id": 2672, + "id": 2164, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2671, + "id": 2163, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": {} } }, - "id": 2674, + "id": 2166, "isConstant": false, "isLValue": false, "isPure": true, @@ -26846,14 +26846,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49615:10:1", + "src": "51019:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "49606:19:1", + "src": "51010:19:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -26861,14 +26861,14 @@ }, { "hexValue": "4552433732313a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373", - "id": 2676, + "id": 2168, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49627:44:1", + "src": "51031:44:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7395d4d3901c50cdfcab223d072f9aa36241df5d883e62cbf147ee1b05a9e6ba", "typeString": "literal_string \"ERC721: balance query for the zero address\"" @@ -26887,7 +26887,7 @@ "typeString": "literal_string \"ERC721: balance query for the zero address\"" } ], - "id": 2669, + "id": 2161, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -26895,13 +26895,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "49598:7:1", + "src": "51002:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2677, + "id": 2169, "isConstant": false, "isLValue": false, "isPure": false, @@ -26909,16 +26909,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49598:74:1", + "src": "51002:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2678, + "id": 2170, "nodeType": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "expression": { @@ -26927,25 +26927,25 @@ "argumentTypes": [], "expression": { "baseExpression": { - "id": 2679, + "id": 2171, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "49689:13:1", + "referencedDeclaration": 2092, + "src": "51094:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2681, + "id": 2173, "indexExpression": { - "id": 2680, + "id": 2172, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49703:5:1", + "referencedDeclaration": 2155, + "src": "51108:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26956,27 +26956,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "49689:20:1", + "src": "51094:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2682, + "id": 2174, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 1900, - "src": "49689:27:1", + "referencedDeclaration": 1392, + "src": "51094:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" } }, - "id": 2683, + "id": 2175, "isConstant": false, "isLValue": false, "isPure": false, @@ -26984,51 +26984,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49689:29:1", + "src": "51094:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2668, - "id": 2684, + "functionReturnParameters": 2160, + "id": 2176, "nodeType": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ] }, "documentation": { - "id": 2661, + "id": 2153, "nodeType": "StructuredDocumentation", - "src": "49454:48:1", + "src": "50854:50:0", "text": " @dev See {IERC721-balanceOf}." }, "functionSelector": "70a08231", - "id": 2686, + "id": 2178, "implemented": true, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2665, + "id": 2157, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49561:8:1" + "src": "50964:8:0" }, "parameters": { - "id": 2664, + "id": 2156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2663, + "id": 2155, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49526:13:1", + "scope": 2178, + "src": "50929:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27036,10 +27036,10 @@ "typeString": "address" }, "typeName": { - "id": 2662, + "id": 2154, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49526:7:1", + "src": "50929:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -27049,20 +27049,20 @@ "visibility": "internal" } ], - "src": "49525:15:1" + "src": "50928:15:0" }, "returnParameters": { - "id": 2668, + "id": 2160, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2667, + "id": 2159, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49579:7:1", + "scope": 2178, + "src": "50982:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27070,10 +27070,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2666, + "id": 2158, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49579:7:1", + "src": "50982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27082,33 +27082,33 @@ "visibility": "internal" } ], - "src": "49578:9:1" + "src": "50981:9:0" }, - "scope": 3498, - "src": "49507:218:1", + "scope": 2990, + "src": "50910:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 588 + 80 ], "body": { - "id": 2701, + "id": 2193, "nodeType": "Block", - "src": "49863:94:1", + "src": "51274:96:0", "statements": [ { "expression": { "arguments": [ { - "id": 2697, + "id": 2189, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2689, - "src": "49897:7:1", + "referencedDeclaration": 2181, + "src": "51309:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27116,14 +27116,14 @@ }, { "hexValue": "4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2698, + "id": 2190, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49906:43:1", + "src": "51318:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7481f3df2a424c0755a1ad2356614e9a5a358d461ea2eae1f89cb21cbad00397", "typeString": "literal_string \"ERC721: owner query for nonexistent token\"" @@ -27143,32 +27143,32 @@ } ], "expression": { - "id": 2695, + "id": 2187, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "49880:12:1", + "referencedDeclaration": 2094, + "src": "51292:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2696, + "id": 2188, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "get", "nodeType": "MemberAccess", - "referencedDeclaration": 2479, - "src": "49880:16:1", + "referencedDeclaration": 1971, + "src": "51292:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" } }, - "id": 2699, + "id": 2191, "isConstant": false, "isLValue": false, "isPure": false, @@ -27176,51 +27176,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49880:70:1", + "src": "51292:70:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2694, - "id": 2700, + "functionReturnParameters": 2186, + "id": 2192, "nodeType": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ] }, "documentation": { - "id": 2687, + "id": 2179, "nodeType": "StructuredDocumentation", - "src": "49731:46:1", + "src": "51139:48:0", "text": " @dev See {IERC721-ownerOf}." }, "functionSelector": "6352211e", - "id": 2702, + "id": 2194, "implemented": true, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2691, + "id": 2183, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49836:8:1" + "src": "51247:8:0" }, "parameters": { - "id": 2690, + "id": 2182, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2689, + "id": 2181, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49799:15:1", + "scope": 2194, + "src": "51210:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27228,10 +27228,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2688, + "id": 2180, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49799:7:1", + "src": "51210:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27240,20 +27240,20 @@ "visibility": "internal" } ], - "src": "49798:17:1" + "src": "51209:17:0" }, "returnParameters": { - "id": 2694, + "id": 2186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2693, + "id": 2185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49854:7:1", + "scope": 2194, + "src": "51265:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27261,10 +27261,10 @@ "typeString": "address" }, "typeName": { - "id": 2692, + "id": 2184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49854:7:1", + "src": "51265:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -27274,80 +27274,80 @@ "visibility": "internal" } ], - "src": "49853:9:1" + "src": "51264:9:0" }, - "scope": 3498, - "src": "49782:175:1", + "scope": 2990, + "src": "51193:177:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 665 + 157 ], "body": { - "id": 2711, + "id": 2203, "nodeType": "Block", - "src": "50088:29:1", + "src": "51506:31:0", "statements": [ { "expression": { - "id": 2709, + "id": 2201, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "50105:5:1", + "referencedDeclaration": 2106, + "src": "51524:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2708, - "id": 2710, + "functionReturnParameters": 2200, + "id": 2202, "nodeType": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ] }, "documentation": { - "id": 2703, + "id": 2195, "nodeType": "StructuredDocumentation", - "src": "49963:51:1", + "src": "51378:53:0", "text": " @dev See {IERC721Metadata-name}." }, "functionSelector": "06fdde03", - "id": 2712, + "id": 2204, "implemented": true, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "overrides": { - "id": 2705, + "id": 2197, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50055:8:1" + "src": "51473:8:0" }, "parameters": { - "id": 2704, + "id": 2196, "nodeType": "ParameterList", "parameters": [], - "src": "50032:2:1" + "src": "51450:2:0" }, "returnParameters": { - "id": 2708, + "id": 2200, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2707, + "id": 2199, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2712, - "src": "50073:13:1", + "scope": 2204, + "src": "51491:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27355,10 +27355,10 @@ "typeString": "string" }, "typeName": { - "id": 2706, + "id": 2198, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50073:6:1", + "src": "51491:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27367,80 +27367,80 @@ "visibility": "internal" } ], - "src": "50072:15:1" + "src": "51490:15:0" }, - "scope": 3498, - "src": "50019:98:1", + "scope": 2990, + "src": "51437:100:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 671 + 163 ], "body": { - "id": 2721, + "id": 2213, "nodeType": "Block", - "src": "50252:31:1", + "src": "51677:33:0", "statements": [ { "expression": { - "id": 2719, + "id": 2211, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "50269:7:1", + "referencedDeclaration": 2108, + "src": "51695:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2718, - "id": 2720, + "functionReturnParameters": 2210, + "id": 2212, "nodeType": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ] }, "documentation": { - "id": 2713, + "id": 2205, "nodeType": "StructuredDocumentation", - "src": "50123:53:1", + "src": "51545:55:0", "text": " @dev See {IERC721Metadata-symbol}." }, "functionSelector": "95d89b41", - "id": 2722, + "id": 2214, "implemented": true, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "overrides": { - "id": 2715, + "id": 2207, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50219:8:1" + "src": "51644:8:0" }, "parameters": { - "id": 2714, + "id": 2206, "nodeType": "ParameterList", "parameters": [], - "src": "50196:2:1" + "src": "51621:2:0" }, "returnParameters": { - "id": 2718, + "id": 2210, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2717, + "id": 2209, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2722, - "src": "50237:13:1", + "scope": 2214, + "src": "51662:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27448,10 +27448,10 @@ "typeString": "string" }, "typeName": { - "id": 2716, + "id": 2208, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50237:6:1", + "src": "51662:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27460,22 +27460,22 @@ "visibility": "internal" } ], - "src": "50236:15:1" + "src": "51661:15:0" }, - "scope": 3498, - "src": "50181:102:1", + "scope": 2990, + "src": "51606:104:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 679 + 171 ], "body": { - "id": 2789, + "id": 2281, "nodeType": "Block", - "src": "50437:688:1", + "src": "51869:704:0", "statements": [ { "expression": { @@ -27483,12 +27483,12 @@ { "arguments": [ { - "id": 2733, + "id": 2225, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50463:7:1", + "referencedDeclaration": 2217, + "src": "51896:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27502,18 +27502,18 @@ "typeString": "uint256" } ], - "id": 2732, + "id": 2224, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "50455:7:1", + "referencedDeclaration": 2577, + "src": "51888:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2734, + "id": 2226, "isConstant": false, "isLValue": false, "isPure": false, @@ -27521,7 +27521,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50455:16:1", + "src": "51888:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -27530,14 +27530,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2735, + "id": 2227, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "50473:49:1", + "src": "51906:49:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a2d45c0fba603d40d82d590051761ca952d1ab9d78cca6d0d464d7b6e961a9cb", "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" @@ -27556,7 +27556,7 @@ "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" } ], - "id": 2731, + "id": 2223, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -27564,13 +27564,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "50447:7:1", + "src": "51880:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2736, + "id": 2228, "isConstant": false, "isLValue": false, "isPure": false, @@ -27578,30 +27578,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50447:76:1", + "src": "51880:76:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2737, + "id": 2229, "nodeType": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "assignments": [ - 2739 + 2231 ], "declarations": [ { "constant": false, - "id": 2739, + "id": 2231, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50534:23:1", + "scope": 2281, + "src": "51969:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27609,10 +27609,10 @@ "typeString": "string" }, "typeName": { - "id": 2738, + "id": 2230, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50534:6:1", + "src": "51969:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27621,28 +27621,28 @@ "visibility": "internal" } ], - "id": 2743, + "id": 2235, "initialValue": { "baseExpression": { - "id": 2740, + "id": 2232, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "50560:10:1", + "referencedDeclaration": 2112, + "src": "51995:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 2742, + "id": 2234, "indexExpression": { - "id": 2741, + "id": 2233, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50571:7:1", + "referencedDeclaration": 2217, + "src": "52006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27653,28 +27653,28 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "50560:19:1", + "src": "51995:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "assignments": [ - 2745 + 2237 ], "declarations": [ { "constant": false, - "id": 2745, + "id": 2237, "mutability": "mutable", "name": "base", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50589:18:1", + "scope": 2281, + "src": "52025:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27682,10 +27682,10 @@ "typeString": "string" }, "typeName": { - "id": 2744, + "id": 2236, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50589:6:1", + "src": "52025:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27694,23 +27694,23 @@ "visibility": "internal" } ], - "id": 2748, + "id": 2240, "initialValue": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2746, + "id": 2238, "name": "baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2799, - "src": "50610:7:1", + "referencedDeclaration": 2291, + "src": "52046:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_string_memory_ptr_$", "typeString": "function () view returns (string memory)" } }, - "id": 2747, + "id": 2239, "isConstant": false, "isLValue": false, "isPure": false, @@ -27718,7 +27718,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50610:9:1", + "src": "52046:9:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27726,7 +27726,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "condition": { @@ -27734,7 +27734,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2755, + "id": 2247, "isConstant": false, "isLValue": false, "isPure": false, @@ -27743,12 +27743,12 @@ "expression": { "arguments": [ { - "id": 2751, + "id": 2243, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50698:4:1", + "referencedDeclaration": 2237, + "src": "52137:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27762,26 +27762,26 @@ "typeString": "string memory" } ], - "id": 2750, + "id": 2242, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2749, + "id": 2241, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": {} } }, - "id": 2752, + "id": 2244, "isConstant": false, "isLValue": false, "isPure": false, @@ -27789,21 +27789,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50692:11:1", + "src": "52131:11:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2753, + "id": 2245, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50692:18:1", + "src": "52131:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27813,51 +27813,51 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2754, + "id": 2246, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50714:1:1", + "src": "52153:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50692:23:1", + "src": "52131:23:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2759, + "id": 2251, "nodeType": "IfStatement", - "src": "50688:70:1", + "src": "52127:72:0", "trueBody": { - "id": 2758, + "id": 2250, "nodeType": "Block", - "src": "50717:41:1", + "src": "52156:43:0", "statements": [ { "expression": { - "id": 2756, + "id": 2248, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50738:9:1", + "referencedDeclaration": 2231, + "src": "52178:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2757, + "functionReturnParameters": 2222, + "id": 2249, "nodeType": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ] } @@ -27868,7 +27868,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2766, + "id": 2258, "isConstant": false, "isLValue": false, "isPure": false, @@ -27877,12 +27877,12 @@ "expression": { "arguments": [ { - "id": 2762, + "id": 2254, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50866:9:1", + "referencedDeclaration": 2231, + "src": "52309:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27896,26 +27896,26 @@ "typeString": "string memory" } ], - "id": 2761, + "id": 2253, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2760, + "id": 2252, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": {} } }, - "id": 2763, + "id": 2255, "isConstant": false, "isLValue": false, "isPure": false, @@ -27923,21 +27923,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50860:16:1", + "src": "52303:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2764, + "id": 2256, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50860:23:1", + "src": "52303:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27947,33 +27947,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 2765, + "id": 2257, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50886:1:1", + "src": "52329:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50860:27:1", + "src": "52303:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2777, + "id": 2269, "nodeType": "IfStatement", - "src": "50856:106:1", + "src": "52299:108:0", "trueBody": { - "id": 2776, + "id": 2268, "nodeType": "Block", - "src": "50889:73:1", + "src": "52332:75:0", "statements": [ { "expression": { @@ -27981,24 +27981,24 @@ { "arguments": [ { - "id": 2771, + "id": 2263, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50934:4:1", + "referencedDeclaration": 2237, + "src": "52378:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, { - "id": 2772, + "id": 2264, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50940:9:1", + "referencedDeclaration": 2231, + "src": "52384:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -28017,31 +28017,31 @@ } ], "expression": { - "id": 2769, + "id": 2261, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "50917:3:1", + "src": "52361:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2770, + "id": 2262, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "50917:16:1", + "src": "52361:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2773, + "id": 2265, "isConstant": false, "isLValue": false, "isPure": false, @@ -28049,7 +28049,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50917:33:1", + "src": "52361:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -28064,26 +28064,26 @@ "typeString": "bytes memory" } ], - "id": 2768, + "id": 2260, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2767, + "id": 2259, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": {} } }, - "id": 2774, + "id": 2266, "isConstant": false, "isLValue": false, "isPure": false, @@ -28091,17 +28091,17 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50910:41:1", + "src": "52354:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2775, + "functionReturnParameters": 2222, + "id": 2267, "nodeType": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ] } @@ -28112,12 +28112,12 @@ { "arguments": [ { - "id": 2782, + "id": 2274, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "51092:4:1", + "referencedDeclaration": 2237, + "src": "52539:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -28128,32 +28128,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2783, + "id": 2275, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "51098:7:1", + "referencedDeclaration": 2217, + "src": "52545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2784, + "id": 2276, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toString", "nodeType": "MemberAccess", - "referencedDeclaration": 2565, - "src": "51098:16:1", + "referencedDeclaration": 2057, + "src": "52545:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$bound_to$_t_uint256_$", "typeString": "function (uint256) pure returns (string memory)" } }, - "id": 2785, + "id": 2277, "isConstant": false, "isLValue": false, "isPure": false, @@ -28161,7 +28161,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51098:18:1", + "src": "52545:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -28181,31 +28181,31 @@ } ], "expression": { - "id": 2780, + "id": 2272, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "51075:3:1", + "src": "52522:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2781, + "id": 2273, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "51075:16:1", + "src": "52522:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2786, + "id": 2278, "isConstant": false, "isLValue": false, "isPure": false, @@ -28213,7 +28213,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51075:42:1", + "src": "52522:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -28228,26 +28228,26 @@ "typeString": "bytes memory" } ], - "id": 2779, + "id": 2271, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2778, + "id": 2270, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": {} } }, - "id": 2787, + "id": 2279, "isConstant": false, "isLValue": false, "isPure": false, @@ -28255,51 +28255,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51068:50:1", + "src": "52515:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2788, + "functionReturnParameters": 2222, + "id": 2280, "nodeType": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ] }, "documentation": { - "id": 2723, + "id": 2215, "nodeType": "StructuredDocumentation", - "src": "50289:55:1", + "src": "51718:57:0", "text": " @dev See {IERC721Metadata-tokenURI}." }, "functionSelector": "c87b56dd", - "id": 2790, + "id": 2282, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "overrides": { - "id": 2727, + "id": 2219, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50404:8:1" + "src": "51836:8:0" }, "parameters": { - "id": 2726, + "id": 2218, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2725, + "id": 2217, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50367:15:1", + "scope": 2282, + "src": "51799:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28307,10 +28307,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2724, + "id": 2216, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "50367:7:1", + "src": "51799:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28319,20 +28319,20 @@ "visibility": "internal" } ], - "src": "50366:17:1" + "src": "51798:17:0" }, "returnParameters": { - "id": 2730, + "id": 2222, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2729, + "id": 2221, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50422:13:1", + "scope": 2282, + "src": "51854:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -28340,10 +28340,10 @@ "typeString": "string" }, "typeName": { - "id": 2728, + "id": 2220, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50422:6:1", + "src": "51854:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28352,71 +28352,71 @@ "visibility": "internal" } ], - "src": "50421:15:1" + "src": "51853:15:0" }, - "scope": 3498, - "src": "50349:776:1", + "scope": 2990, + "src": "51781:792:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 2798, + "id": 2290, "nodeType": "Block", - "src": "51420:32:1", + "src": "52875:34:0", "statements": [ { "expression": { - "id": 2796, + "id": 2288, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "51437:8:1", + "referencedDeclaration": 2114, + "src": "52893:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2795, - "id": 2797, + "functionReturnParameters": 2287, + "id": 2289, "nodeType": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ] }, "documentation": { - "id": 2791, + "id": 2283, "nodeType": "StructuredDocumentation", - "src": "51131:221:1", + "src": "52581:225:0", "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, "functionSelector": "6c0360eb", - "id": 2799, + "id": 2291, "implemented": true, "kind": "function", "modifiers": [], "name": "baseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 2792, + "id": 2284, "nodeType": "ParameterList", "parameters": [], - "src": "51373:2:1" + "src": "52828:2:0" }, "returnParameters": { - "id": 2795, + "id": 2287, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2794, + "id": 2286, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2799, - "src": "51405:13:1", + "scope": 2291, + "src": "52860:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -28424,10 +28424,10 @@ "typeString": "string" }, "typeName": { - "id": 2793, + "id": 2285, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51405:6:1", + "src": "52860:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28436,33 +28436,33 @@ "visibility": "internal" } ], - "src": "51404:15:1" + "src": "52859:15:0" }, - "scope": 3498, - "src": "51357:95:1", + "scope": 2990, + "src": "52812:97:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 700 + 192 ], "body": { - "id": 2817, + "id": 2309, "nodeType": "Block", - "src": "51637:54:1", + "src": "53099:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 2814, + "id": 2306, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2804, - "src": "51678:5:1", + "referencedDeclaration": 2296, + "src": "53141:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28478,25 +28478,25 @@ ], "expression": { "baseExpression": { - "id": 2810, + "id": 2302, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "51654:13:1", + "referencedDeclaration": 2092, + "src": "53117:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2812, + "id": 2304, "indexExpression": { - "id": 2811, + "id": 2303, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2802, - "src": "51668:5:1", + "referencedDeclaration": 2294, + "src": "53131:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28507,27 +28507,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "51654:20:1", + "src": "53117:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2813, + "id": 2305, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 1920, - "src": "51654:23:1", + "referencedDeclaration": 1412, + "src": "53117:23:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" } }, - "id": 2815, + "id": 2307, "isConstant": false, "isLValue": false, "isPure": false, @@ -28535,51 +28535,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51654:30:1", + "src": "53117:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2809, - "id": 2816, + "functionReturnParameters": 2301, + "id": 2308, "nodeType": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ] }, "documentation": { - "id": 2800, + "id": 2292, "nodeType": "StructuredDocumentation", - "src": "51458:68:1", + "src": "52917:70:0", "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, "functionSelector": "2f745c59", - "id": 2818, + "id": 2310, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2806, + "id": 2298, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51610:8:1" + "src": "53072:8:0" }, "parameters": { - "id": 2805, + "id": 2297, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2802, + "id": 2294, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51560:13:1", + "scope": 2310, + "src": "53022:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28587,10 +28587,10 @@ "typeString": "address" }, "typeName": { - "id": 2801, + "id": 2293, "name": "address", "nodeType": "ElementaryTypeName", - "src": "51560:7:1", + "src": "53022:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28601,12 +28601,12 @@ }, { "constant": false, - "id": 2804, + "id": 2296, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51575:13:1", + "scope": 2310, + "src": "53037:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28614,10 +28614,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2803, + "id": 2295, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51575:7:1", + "src": "53037:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28626,20 +28626,20 @@ "visibility": "internal" } ], - "src": "51559:30:1" + "src": "53021:30:0" }, "returnParameters": { - "id": 2809, + "id": 2301, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2808, + "id": 2300, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51628:7:1", + "scope": 2310, + "src": "53090:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28647,10 +28647,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2807, + "id": 2299, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51628:7:1", + "src": "53090:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28659,22 +28659,22 @@ "visibility": "internal" } ], - "src": "51627:9:1" + "src": "53089:9:0" }, - "scope": 3498, - "src": "51531:160:1", + "scope": 2990, + "src": "52993:162:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 690 + 182 ], "body": { - "id": 2829, + "id": 2321, "nodeType": "Block", - "src": "51832:138:1", + "src": "53301:141:0", "statements": [ { "expression": { @@ -28682,32 +28682,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2825, + "id": 2317, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "51942:12:1", + "referencedDeclaration": 2094, + "src": "53413:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2826, + "id": 2318, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 2340, - "src": "51942:19:1", + "referencedDeclaration": 1832, + "src": "53413:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" } }, - "id": 2827, + "id": 2319, "isConstant": false, "isLValue": false, "isPure": false, @@ -28715,57 +28715,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51942:21:1", + "src": "53413:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2824, - "id": 2828, + "functionReturnParameters": 2316, + "id": 2320, "nodeType": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ] }, "documentation": { - "id": 2819, + "id": 2311, "nodeType": "StructuredDocumentation", - "src": "51697:60:1", + "src": "53163:62:0", "text": " @dev See {IERC721Enumerable-totalSupply}." }, "functionSelector": "18160ddd", - "id": 2830, + "id": 2322, "implemented": true, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "overrides": { - "id": 2821, + "id": 2313, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51805:8:1" + "src": "53274:8:0" }, "parameters": { - "id": 2820, + "id": 2312, "nodeType": "ParameterList", "parameters": [], - "src": "51782:2:1" + "src": "53251:2:0" }, "returnParameters": { - "id": 2824, + "id": 2316, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2823, + "id": 2315, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2830, - "src": "51823:7:1", + "scope": 2322, + "src": "53292:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28773,10 +28773,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2822, + "id": 2314, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51823:7:1", + "src": "53292:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28785,37 +28785,37 @@ "visibility": "internal" } ], - "src": "51822:9:1" + "src": "53291:9:0" }, - "scope": 3498, - "src": "51762:208:1", + "scope": 2990, + "src": "53231:211:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 708 + 200 ], "body": { - "id": 2848, + "id": 2340, "nodeType": "Block", - "src": "52126:85:1", + "src": "53603:88:0", "statements": [ { "assignments": [ - 2840, + 2332, null ], "declarations": [ { "constant": false, - "id": 2840, + "id": 2332, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2848, - "src": "52137:15:1", + "scope": 2340, + "src": "53615:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28823,10 +28823,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2839, + "id": 2331, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52137:7:1", + "src": "53615:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28836,16 +28836,16 @@ }, null ], - "id": 2845, + "id": 2337, "initialValue": { "arguments": [ { - "id": 2843, + "id": 2335, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2833, - "src": "52174:5:1", + "referencedDeclaration": 2325, + "src": "53652:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28860,32 +28860,32 @@ } ], "expression": { - "id": 2841, + "id": 2333, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "52158:12:1", + "referencedDeclaration": 2094, + "src": "53636:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2842, + "id": 2334, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 2379, - "src": "52158:15:1", + "referencedDeclaration": 1871, + "src": "53636:15:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" } }, - "id": 2844, + "id": 2336, "isConstant": false, "isLValue": false, "isPure": false, @@ -28893,7 +28893,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52158:22:1", + "src": "53636:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_$", @@ -28901,59 +28901,59 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "expression": { - "id": 2846, + "id": 2338, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2840, - "src": "52197:7:1", + "referencedDeclaration": 2332, + "src": "53676:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2838, - "id": 2847, + "functionReturnParameters": 2330, + "id": 2339, "nodeType": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ] }, "documentation": { - "id": 2831, + "id": 2323, "nodeType": "StructuredDocumentation", - "src": "51976:61:1", + "src": "53450:63:0", "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, "functionSelector": "4f6ccce7", - "id": 2849, + "id": 2341, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2835, + "id": 2327, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52099:8:1" + "src": "53576:8:0" }, "parameters": { - "id": 2834, + "id": 2326, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2833, + "id": 2325, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52064:13:1", + "scope": 2341, + "src": "53541:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28961,10 +28961,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2832, + "id": 2324, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52064:7:1", + "src": "53541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28973,20 +28973,20 @@ "visibility": "internal" } ], - "src": "52063:15:1" + "src": "53540:15:0" }, "returnParameters": { - "id": 2838, + "id": 2330, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2837, + "id": 2329, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52117:7:1", + "scope": 2341, + "src": "53594:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28994,10 +28994,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2836, + "id": 2328, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52117:7:1", + "src": "53594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29006,36 +29006,36 @@ "visibility": "internal" } ], - "src": "52116:9:1" + "src": "53593:9:0" }, - "scope": 3498, - "src": "52042:169:1", + "scope": 2990, + "src": "53519:172:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 616 + 108 ], "body": { - "id": 2892, + "id": 2384, "nodeType": "Block", - "src": "52338:325:1", + "src": "53823:334:0", "statements": [ { "assignments": [ - 2859 + 2351 ], "declarations": [ { "constant": false, - "id": 2859, + "id": 2351, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2892, - "src": "52348:13:1", + "scope": 2384, + "src": "53834:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29043,10 +29043,10 @@ "typeString": "address" }, "typeName": { - "id": 2858, + "id": 2350, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52348:7:1", + "src": "53834:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29056,16 +29056,16 @@ "visibility": "internal" } ], - "id": 2864, + "id": 2356, "initialValue": { "arguments": [ { - "id": 2862, + "id": 2354, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52379:7:1", + "referencedDeclaration": 2346, + "src": "53865:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29080,32 +29080,32 @@ } ], "expression": { - "id": 2860, + "id": 2352, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52364:6:1", + "referencedDeclaration": 2990, + "src": "53850:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2861, + "id": 2353, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "52364:14:1", + "referencedDeclaration": 2194, + "src": "53850:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 2863, + "id": 2355, "isConstant": false, "isLValue": false, "isPure": false, @@ -29113,7 +29113,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52364:23:1", + "src": "53850:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -29121,7 +29121,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "expression": { @@ -29131,18 +29131,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2868, + "id": 2360, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2866, + "id": 2358, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52405:2:1", + "referencedDeclaration": 2344, + "src": "53892:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29151,18 +29151,18 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 2867, + "id": 2359, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52411:5:1", + "referencedDeclaration": 2351, + "src": "53898:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52405:11:1", + "src": "53892:11:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29170,14 +29170,14 @@ }, { "hexValue": "4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572", - "id": 2869, + "id": 2361, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52418:35:1", + "src": "53905:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942", "typeString": "literal_string \"ERC721: approval to current owner\"" @@ -29196,7 +29196,7 @@ "typeString": "literal_string \"ERC721: approval to current owner\"" } ], - "id": 2865, + "id": 2357, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29204,13 +29204,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52397:7:1", + "src": "53884:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2870, + "id": 2362, "isConstant": false, "isLValue": false, "isPure": false, @@ -29218,16 +29218,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52397:57:1", + "src": "53884:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2871, + "id": 2363, "nodeType": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "expression": { @@ -29237,7 +29237,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 2883, + "id": 2375, "isConstant": false, "isLValue": false, "isPure": false, @@ -29247,7 +29247,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2876, + "id": 2368, "isConstant": false, "isLValue": false, "isPure": false, @@ -29256,18 +29256,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2873, + "id": 2365, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52473:10:1", + "referencedDeclaration": 10, + "src": "53962:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2874, + "id": 2366, "isConstant": false, "isLValue": false, "isPure": false, @@ -29275,7 +29275,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52473:12:1", + "src": "53962:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29285,18 +29285,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 2875, + "id": 2367, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52489:5:1", + "referencedDeclaration": 2351, + "src": "53978:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52473:21:1", + "src": "53962:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29307,12 +29307,12 @@ "rightExpression": { "arguments": [ { - "id": 2879, + "id": 2371, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52522:5:1", + "referencedDeclaration": 2351, + "src": "54011:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29322,18 +29322,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2880, + "id": 2372, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52529:10:1", + "referencedDeclaration": 10, + "src": "54018:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2881, + "id": 2373, "isConstant": false, "isLValue": false, "isPure": false, @@ -29341,7 +29341,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52529:12:1", + "src": "54018:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29361,32 +29361,32 @@ } ], "expression": { - "id": 2877, + "id": 2369, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52498:6:1", + "referencedDeclaration": 2990, + "src": "53987:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2878, + "id": 2370, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "52498:23:1", + "referencedDeclaration": 2458, + "src": "53987:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 2882, + "id": 2374, "isConstant": false, "isLValue": false, "isPure": false, @@ -29394,14 +29394,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52498:44:1", + "src": "53987:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "52473:69:1", + "src": "53962:69:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29409,14 +29409,14 @@ }, { "hexValue": "4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c", - "id": 2884, + "id": 2376, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52556:58:1", + "src": "54046:58:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_6d83cef3e0cb19b8320a9c5feb26b56bbb08f152a8e61b12eca3302d8d68b23d", "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" @@ -29435,7 +29435,7 @@ "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" } ], - "id": 2872, + "id": 2364, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29443,13 +29443,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52465:7:1", + "src": "53954:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2885, + "id": 2377, "isConstant": false, "isLValue": false, "isPure": false, @@ -29457,39 +29457,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52465:159:1", + "src": "53954:161:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2886, + "id": 2378, "nodeType": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "expression": { "arguments": [ { - "id": 2888, + "id": 2380, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52644:2:1", + "referencedDeclaration": 2344, + "src": "54137:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2889, + "id": 2381, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52648:7:1", + "referencedDeclaration": 2346, + "src": "54141:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29507,18 +29507,18 @@ "typeString": "uint256" } ], - "id": 2887, + "id": 2379, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "52635:8:1", + "referencedDeclaration": 2978, + "src": "54128:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 2890, + "id": 2382, "isConstant": false, "isLValue": false, "isPure": false, @@ -29526,50 +29526,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52635:21:1", + "src": "54128:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2891, + "id": 2383, "nodeType": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ] }, "documentation": { - "id": 2850, + "id": 2342, "nodeType": "StructuredDocumentation", - "src": "52217:46:1", + "src": "53699:48:0", "text": " @dev See {IERC721-approve}." }, "functionSelector": "095ea7b3", - "id": 2893, + "id": 2385, "implemented": true, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "overrides": { - "id": 2856, + "id": 2348, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52329:8:1" + "src": "53814:8:0" }, "parameters": { - "id": 2855, + "id": 2347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2852, + "id": 2344, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52285:10:1", + "scope": 2385, + "src": "53770:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29577,10 +29577,10 @@ "typeString": "address" }, "typeName": { - "id": 2851, + "id": 2343, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52285:7:1", + "src": "53770:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29591,12 +29591,12 @@ }, { "constant": false, - "id": 2854, + "id": 2346, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52297:15:1", + "scope": 2385, + "src": "53782:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29604,10 +29604,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2853, + "id": 2345, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52297:7:1", + "src": "53782:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29616,28 +29616,28 @@ "visibility": "internal" } ], - "src": "52284:29:1" + "src": "53769:29:0" }, "returnParameters": { - "id": 2857, + "id": 2349, "nodeType": "ParameterList", "parameters": [], - "src": "52338:0:1" + "src": "53823:0:0" }, - "scope": 3498, - "src": "52268:395:1", + "scope": 2990, + "src": "53753:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 624 + 116 ], "body": { - "id": 2913, + "id": 2405, "nodeType": "Block", - "src": "52809:132:1", + "src": "54308:136:0", "statements": [ { "expression": { @@ -29645,12 +29645,12 @@ { "arguments": [ { - "id": 2904, + "id": 2396, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52835:7:1", + "referencedDeclaration": 2388, + "src": "54335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29664,18 +29664,18 @@ "typeString": "uint256" } ], - "id": 2903, + "id": 2395, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "52827:7:1", + "referencedDeclaration": 2577, + "src": "54327:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2905, + "id": 2397, "isConstant": false, "isLValue": false, "isPure": false, @@ -29683,7 +29683,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52827:16:1", + "src": "54327:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -29692,14 +29692,14 @@ }, { "hexValue": "4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2906, + "id": 2398, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52845:46:1", + "src": "54345:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9291e0f44949204f2e9b40e6be090924979d6047b2365868f4e9f027722eb89d", "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" @@ -29718,7 +29718,7 @@ "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" } ], - "id": 2902, + "id": 2394, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29726,13 +29726,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52819:7:1", + "src": "54319:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2907, + "id": 2399, "isConstant": false, "isLValue": false, "isPure": false, @@ -29740,39 +29740,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52819:73:1", + "src": "54319:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2908, + "id": 2400, "nodeType": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "expression": { "baseExpression": { - "id": 2909, + "id": 2401, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "52910:15:1", + "referencedDeclaration": 2098, + "src": "54412:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 2911, + "id": 2403, "indexExpression": { - "id": 2910, + "id": 2402, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52926:7:1", + "referencedDeclaration": 2388, + "src": "54428:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29783,50 +29783,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "52910:24:1", + "src": "54412:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2901, - "id": 2912, + "functionReturnParameters": 2393, + "id": 2404, "nodeType": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ] }, "documentation": { - "id": 2894, + "id": 2386, "nodeType": "StructuredDocumentation", - "src": "52669:50:1", + "src": "54165:52:0", "text": " @dev See {IERC721-getApproved}." }, "functionSelector": "081812fc", - "id": 2914, + "id": 2406, "implemented": true, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "overrides": { - "id": 2898, + "id": 2390, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52782:8:1" + "src": "54281:8:0" }, "parameters": { - "id": 2897, + "id": 2389, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2896, + "id": 2388, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52745:15:1", + "scope": 2406, + "src": "54244:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29834,10 +29834,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2895, + "id": 2387, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52745:7:1", + "src": "54244:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29846,20 +29846,20 @@ "visibility": "internal" } ], - "src": "52744:17:1" + "src": "54243:17:0" }, "returnParameters": { - "id": 2901, + "id": 2393, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2900, + "id": 2392, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52800:7:1", + "scope": 2406, + "src": "54299:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29867,10 +29867,10 @@ "typeString": "address" }, "typeName": { - "id": 2899, + "id": 2391, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52800:7:1", + "src": "54299:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29880,22 +29880,22 @@ "visibility": "internal" } ], - "src": "52799:9:1" + "src": "54298:9:0" }, - "scope": 3498, - "src": "52724:217:1", + "scope": 2990, + "src": "54223:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 632 + 124 ], "body": { - "id": 2947, + "id": 2439, "nodeType": "Block", - "src": "53092:206:1", + "src": "54600:211:0", "statements": [ { "expression": { @@ -29905,18 +29905,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2927, + "id": 2419, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2924, + "id": 2416, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53110:8:1", + "referencedDeclaration": 2409, + "src": "54619:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29928,18 +29928,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2925, + "id": 2417, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53122:10:1", + "referencedDeclaration": 10, + "src": "54631:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2926, + "id": 2418, "isConstant": false, "isLValue": false, "isPure": false, @@ -29947,14 +29947,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53122:12:1", + "src": "54631:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "53110:24:1", + "src": "54619:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29962,14 +29962,14 @@ }, { "hexValue": "4552433732313a20617070726f766520746f2063616c6c6572", - "id": 2928, + "id": 2420, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53136:27:1", + "src": "54645:27:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05", "typeString": "literal_string \"ERC721: approve to caller\"" @@ -29988,7 +29988,7 @@ "typeString": "literal_string \"ERC721: approve to caller\"" } ], - "id": 2923, + "id": 2415, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29996,13 +29996,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53102:7:1", + "src": "54611:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2929, + "id": 2421, "isConstant": false, "isLValue": false, "isPure": false, @@ -30010,20 +30010,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53102:62:1", + "src": "54611:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2930, + "id": 2422, "nodeType": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "expression": { - "id": 2938, + "id": 2430, "isConstant": false, "isLValue": false, "isPure": false, @@ -30031,34 +30031,34 @@ "leftHandSide": { "baseExpression": { "baseExpression": { - "id": 2931, + "id": 2423, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53175:18:1", + "referencedDeclaration": 2104, + "src": "54686:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2935, + "id": 2427, "indexExpression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2932, + "id": 2424, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53194:10:1", + "referencedDeclaration": 10, + "src": "54705:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2933, + "id": 2425, "isConstant": false, "isLValue": false, "isPure": false, @@ -30066,7 +30066,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53194:12:1", + "src": "54705:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30078,20 +30078,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53175:32:1", + "src": "54686:32:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2936, + "id": 2428, "indexExpression": { - "id": 2934, + "id": 2426, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53208:8:1", + "referencedDeclaration": 2409, + "src": "54719:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30102,7 +30102,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "53175:42:1", + "src": "54686:42:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30111,26 +30111,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2937, + "id": 2429, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53220:8:1", + "referencedDeclaration": 2411, + "src": "54731:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "53175:53:1", + "src": "54686:53:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2939, + "id": 2431, "nodeType": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "eventCall": { @@ -30139,18 +30139,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2941, + "id": 2433, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53258:10:1", + "referencedDeclaration": 10, + "src": "54770:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2942, + "id": 2434, "isConstant": false, "isLValue": false, "isPure": false, @@ -30158,7 +30158,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53258:12:1", + "src": "54770:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30166,24 +30166,24 @@ } }, { - "id": 2943, + "id": 2435, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53272:8:1", + "referencedDeclaration": 2409, + "src": "54784:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2944, + "id": 2436, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53282:8:1", + "referencedDeclaration": 2411, + "src": "54794:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30205,18 +30205,18 @@ "typeString": "bool" } ], - "id": 2940, + "id": 2432, "name": "ApprovalForAll", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 572, - "src": "53243:14:1", + "referencedDeclaration": 64, + "src": "54755:14:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", "typeString": "function (address,address,bool)" } }, - "id": 2945, + "id": 2437, "isConstant": false, "isLValue": false, "isPure": false, @@ -30224,50 +30224,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53243:48:1", + "src": "54755:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2946, + "id": 2438, "nodeType": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ] }, "documentation": { - "id": 2915, + "id": 2407, "nodeType": "StructuredDocumentation", - "src": "52947:56:1", + "src": "54452:58:0", "text": " @dev See {IERC721-setApprovalForAll}." }, "functionSelector": "a22cb465", - "id": 2948, + "id": 2440, "implemented": true, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2921, + "id": 2413, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53083:8:1" + "src": "54591:8:0" }, "parameters": { - "id": 2920, + "id": 2412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2917, + "id": 2409, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53035:16:1", + "scope": 2440, + "src": "54543:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30275,10 +30275,10 @@ "typeString": "address" }, "typeName": { - "id": 2916, + "id": 2408, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53035:7:1", + "src": "54543:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30289,12 +30289,12 @@ }, { "constant": false, - "id": 2919, + "id": 2411, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53053:13:1", + "scope": 2440, + "src": "54561:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30302,10 +30302,10 @@ "typeString": "bool" }, "typeName": { - "id": 2918, + "id": 2410, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53053:4:1", + "src": "54561:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30314,52 +30314,52 @@ "visibility": "internal" } ], - "src": "53034:33:1" + "src": "54542:33:0" }, "returnParameters": { - "id": 2922, + "id": 2414, "nodeType": "ParameterList", "parameters": [], - "src": "53092:0:1" + "src": "54600:0:0" }, - "scope": 3498, - "src": "53008:290:1", + "scope": 2990, + "src": "54516:295:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 642 + 134 ], "body": { - "id": 2965, + "id": 2457, "nodeType": "Block", - "src": "53467:59:1", + "src": "54985:61:0", "statements": [ { "expression": { "baseExpression": { "baseExpression": { - "id": 2959, + "id": 2451, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53484:18:1", + "referencedDeclaration": 2104, + "src": "55003:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2961, + "id": 2453, "indexExpression": { - "id": 2960, + "id": 2452, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2951, - "src": "53503:5:1", + "referencedDeclaration": 2443, + "src": "55022:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30370,20 +30370,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:25:1", + "src": "55003:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2963, + "id": 2455, "indexExpression": { - "id": 2962, + "id": 2454, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2953, - "src": "53510:8:1", + "referencedDeclaration": 2445, + "src": "55029:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30394,50 +30394,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:35:1", + "src": "55003:35:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2958, - "id": 2964, + "functionReturnParameters": 2450, + "id": 2456, "nodeType": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ] }, "documentation": { - "id": 2949, + "id": 2441, "nodeType": "StructuredDocumentation", - "src": "53304:55:1", + "src": "54819:57:0", "text": " @dev See {IERC721-isApprovedForAll}." }, "functionSelector": "e985e9c5", - "id": 2966, + "id": 2458, "implemented": true, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2955, + "id": 2447, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53443:8:1" + "src": "54961:8:0" }, "parameters": { - "id": 2954, + "id": 2446, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2951, + "id": 2443, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53390:13:1", + "scope": 2458, + "src": "54908:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30445,10 +30445,10 @@ "typeString": "address" }, "typeName": { - "id": 2950, + "id": 2442, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53390:7:1", + "src": "54908:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30459,12 +30459,12 @@ }, { "constant": false, - "id": 2953, + "id": 2445, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53405:16:1", + "scope": 2458, + "src": "54923:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30472,10 +30472,10 @@ "typeString": "address" }, "typeName": { - "id": 2952, + "id": 2444, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53405:7:1", + "src": "54923:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30485,20 +30485,20 @@ "visibility": "internal" } ], - "src": "53389:33:1" + "src": "54907:33:0" }, "returnParameters": { - "id": 2958, + "id": 2450, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2957, + "id": 2449, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53461:4:1", + "scope": 2458, + "src": "54979:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30506,10 +30506,10 @@ "typeString": "bool" }, "typeName": { - "id": 2956, + "id": 2448, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53461:4:1", + "src": "54979:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30518,22 +30518,22 @@ "visibility": "internal" } ], - "src": "53460:6:1" + "src": "54978:6:0" }, - "scope": 3498, - "src": "53364:162:1", + "scope": 2990, + "src": "54882:164:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 608 + 100 ], "body": { - "id": 2992, + "id": 2484, "nodeType": "Block", - "src": "53677:211:1", + "src": "55202:216:0", "statements": [ { "expression": { @@ -30544,18 +30544,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2979, + "id": 2471, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53766:10:1", + "referencedDeclaration": 10, + "src": "55293:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2980, + "id": 2472, "isConstant": false, "isLValue": false, "isPure": false, @@ -30563,7 +30563,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53766:12:1", + "src": "55293:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30571,12 +30571,12 @@ } }, { - "id": 2981, + "id": 2473, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53780:7:1", + "referencedDeclaration": 2465, + "src": "55307:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30594,18 +30594,18 @@ "typeString": "uint256" } ], - "id": 2978, + "id": 2470, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "53747:18:1", + "referencedDeclaration": 2619, + "src": "55274:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 2982, + "id": 2474, "isConstant": false, "isLValue": false, "isPure": false, @@ -30613,7 +30613,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53747:41:1", + "src": "55274:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30622,14 +30622,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 2983, + "id": 2475, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53790:51:1", + "src": "55317:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30648,7 +30648,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 2977, + "id": 2469, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30656,13 +30656,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53739:7:1", + "src": "55266:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2984, + "id": 2476, "isConstant": false, "isLValue": false, "isPure": false, @@ -30670,51 +30670,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53739:103:1", + "src": "55266:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2985, + "id": 2477, "nodeType": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "expression": { "arguments": [ { - "id": 2987, + "id": 2479, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2969, - "src": "53863:4:1", + "referencedDeclaration": 2461, + "src": "55392:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2988, + "id": 2480, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2971, - "src": "53869:2:1", + "referencedDeclaration": 2463, + "src": "55398:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2989, + "id": 2481, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53873:7:1", + "referencedDeclaration": 2465, + "src": "55402:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30736,18 +30736,18 @@ "typeString": "uint256" } ], - "id": 2986, + "id": 2478, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "53853:9:1", + "referencedDeclaration": 2863, + "src": "55382:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 2990, + "id": 2482, "isConstant": false, "isLValue": false, "isPure": false, @@ -30755,50 +30755,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53853:28:1", + "src": "55382:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2991, + "id": 2483, "nodeType": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ] }, "documentation": { - "id": 2967, + "id": 2459, "nodeType": "StructuredDocumentation", - "src": "53532:51:1", + "src": "55054:53:0", "text": " @dev See {IERC721-transferFrom}." }, "functionSelector": "23b872dd", - "id": 2993, + "id": 2485, "implemented": true, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 2975, + "id": 2467, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53668:8:1" + "src": "55193:8:0" }, "parameters": { - "id": 2974, + "id": 2466, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2969, + "id": 2461, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53610:12:1", + "scope": 2485, + "src": "55135:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30806,10 +30806,10 @@ "typeString": "address" }, "typeName": { - "id": 2968, + "id": 2460, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53610:7:1", + "src": "55135:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30820,12 +30820,12 @@ }, { "constant": false, - "id": 2971, + "id": 2463, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53624:10:1", + "scope": 2485, + "src": "55149:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30833,10 +30833,10 @@ "typeString": "address" }, "typeName": { - "id": 2970, + "id": 2462, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53624:7:1", + "src": "55149:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30847,12 +30847,12 @@ }, { "constant": false, - "id": 2973, + "id": 2465, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53636:15:1", + "scope": 2485, + "src": "55161:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30860,10 +30860,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2972, + "id": 2464, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "53636:7:1", + "src": "55161:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30872,63 +30872,63 @@ "visibility": "internal" } ], - "src": "53609:43:1" + "src": "55134:43:0" }, "returnParameters": { - "id": 2976, + "id": 2468, "nodeType": "ParameterList", "parameters": [], - "src": "53677:0:1" + "src": "55202:0:0" }, - "scope": 3498, - "src": "53588:300:1", + "scope": 2990, + "src": "55113:305:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 598 + 90 ], "body": { - "id": 3011, + "id": 2503, "nodeType": "Block", - "src": "54047:56:1", + "src": "55582:58:0", "statements": [ { "expression": { "arguments": [ { - "id": 3005, + "id": 2497, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2996, - "src": "54074:4:1", + "referencedDeclaration": 2488, + "src": "55610:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3006, + "id": 2498, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2998, - "src": "54080:2:1", + "referencedDeclaration": 2490, + "src": "55616:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3007, + "id": 2499, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3000, - "src": "54084:7:1", + "referencedDeclaration": 2492, + "src": "55620:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30936,14 +30936,14 @@ }, { "hexValue": "", - "id": 3008, + "id": 2500, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54093:2:1", + "src": "55629:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -30970,21 +30970,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3004, + "id": 2496, "name": "safeTransferFrom", "nodeType": "Identifier", "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, - "src": "54057:16:1", + "referencedDeclaration": 2534, + "src": "55593:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3009, + "id": 2501, "isConstant": false, "isLValue": false, "isPure": false, @@ -30992,50 +30992,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54057:39:1", + "src": "55593:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3010, + "id": 2502, "nodeType": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ] }, "documentation": { - "id": 2994, + "id": 2486, "nodeType": "StructuredDocumentation", - "src": "53894:55:1", + "src": "55426:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "42842e0e", - "id": 3012, + "id": 2504, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3002, + "id": 2494, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54038:8:1" + "src": "55573:8:0" }, "parameters": { - "id": 3001, + "id": 2493, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2996, + "id": 2488, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53980:12:1", + "scope": 2504, + "src": "55515:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31043,10 +31043,10 @@ "typeString": "address" }, "typeName": { - "id": 2995, + "id": 2487, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53980:7:1", + "src": "55515:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31057,12 +31057,12 @@ }, { "constant": false, - "id": 2998, + "id": 2490, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53994:10:1", + "scope": 2504, + "src": "55529:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31070,10 +31070,10 @@ "typeString": "address" }, "typeName": { - "id": 2997, + "id": 2489, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53994:7:1", + "src": "55529:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31084,12 +31084,12 @@ }, { "constant": false, - "id": 3000, + "id": 2492, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "54006:15:1", + "scope": 2504, + "src": "55541:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31097,10 +31097,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2999, + "id": 2491, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54006:7:1", + "src": "55541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31109,28 +31109,28 @@ "visibility": "internal" } ], - "src": "53979:43:1" + "src": "55514:43:0" }, "returnParameters": { - "id": 3003, + "id": 2495, "nodeType": "ParameterList", "parameters": [], - "src": "54047:0:1" + "src": "55582:0:0" }, - "scope": 3498, - "src": "53954:149:1", + "scope": 2990, + "src": "55489:151:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 654 + 146 ], "body": { - "id": 3041, + "id": 2533, "nodeType": "Block", - "src": "54282:169:1", + "src": "55824:172:0", "statements": [ { "expression": { @@ -31141,18 +31141,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3027, + "id": 2519, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "54319:10:1", + "referencedDeclaration": 10, + "src": "55862:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3028, + "id": 2520, "isConstant": false, "isLValue": false, "isPure": false, @@ -31160,7 +31160,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54319:12:1", + "src": "55862:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -31168,12 +31168,12 @@ } }, { - "id": 3029, + "id": 2521, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54333:7:1", + "referencedDeclaration": 2511, + "src": "55876:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31191,18 +31191,18 @@ "typeString": "uint256" } ], - "id": 3026, + "id": 2518, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "54300:18:1", + "referencedDeclaration": 2619, + "src": "55843:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 3030, + "id": 2522, "isConstant": false, "isLValue": false, "isPure": false, @@ -31210,7 +31210,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54300:41:1", + "src": "55843:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31219,14 +31219,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 3031, + "id": 2523, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54343:51:1", + "src": "55886:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -31245,7 +31245,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 3025, + "id": 2517, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31253,13 +31253,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "54292:7:1", + "src": "55835:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3032, + "id": 2524, "isConstant": false, "isLValue": false, "isPure": false, @@ -31267,63 +31267,63 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54292:103:1", + "src": "55835:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3033, + "id": 2525, "nodeType": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "expression": { "arguments": [ { - "id": 3035, + "id": 2527, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3015, - "src": "54419:4:1", + "referencedDeclaration": 2507, + "src": "55963:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3036, + "id": 2528, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3017, - "src": "54425:2:1", + "referencedDeclaration": 2509, + "src": "55969:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3037, + "id": 2529, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54429:7:1", + "referencedDeclaration": 2511, + "src": "55973:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3038, + "id": 2530, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3021, - "src": "54438:5:1", + "referencedDeclaration": 2513, + "src": "55982:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31349,18 +31349,18 @@ "typeString": "bytes memory" } ], - "id": 3034, + "id": 2526, "name": "_safeTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3071, - "src": "54405:13:1", + "referencedDeclaration": 2563, + "src": "55949:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3039, + "id": 2531, "isConstant": false, "isLValue": false, "isPure": false, @@ -31368,50 +31368,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54405:39:1", + "src": "55949:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3040, + "id": 2532, "nodeType": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ] }, "documentation": { - "id": 3013, + "id": 2505, "nodeType": "StructuredDocumentation", - "src": "54109:55:1", + "src": "55648:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "b88d4fde", - "id": 3042, + "id": 2534, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3023, + "id": 2515, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54273:8:1" + "src": "55815:8:0" }, "parameters": { - "id": 3022, + "id": 2514, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3015, + "id": 2507, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54195:12:1", + "scope": 2534, + "src": "55737:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31419,10 +31419,10 @@ "typeString": "address" }, "typeName": { - "id": 3014, + "id": 2506, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54195:7:1", + "src": "55737:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31433,12 +31433,12 @@ }, { "constant": false, - "id": 3017, + "id": 2509, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54209:10:1", + "scope": 2534, + "src": "55751:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31446,10 +31446,10 @@ "typeString": "address" }, "typeName": { - "id": 3016, + "id": 2508, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54209:7:1", + "src": "55751:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31460,12 +31460,12 @@ }, { "constant": false, - "id": 3019, + "id": 2511, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54221:15:1", + "scope": 2534, + "src": "55763:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31473,10 +31473,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3018, + "id": 2510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54221:7:1", + "src": "55763:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31486,12 +31486,12 @@ }, { "constant": false, - "id": 3021, + "id": 2513, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54238:18:1", + "scope": 2534, + "src": "55780:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31499,10 +31499,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3020, + "id": 2512, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "54238:5:1", + "src": "55780:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31511,60 +31511,60 @@ "visibility": "internal" } ], - "src": "54194:63:1" + "src": "55736:63:0" }, "returnParameters": { - "id": 3024, + "id": 2516, "nodeType": "ParameterList", "parameters": [], - "src": "54282:0:1" + "src": "55824:0:0" }, - "scope": 3498, - "src": "54169:282:1", + "scope": 2990, + "src": "55711:285:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "body": { - "id": 3070, + "id": 2562, "nodeType": "Block", - "src": "55416:166:1", + "src": "56981:169:0", "statements": [ { "expression": { "arguments": [ { - "id": 3055, + "id": 2547, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55436:4:1", + "referencedDeclaration": 2537, + "src": "57002:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3056, + "id": 2548, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55442:2:1", + "referencedDeclaration": 2539, + "src": "57008:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3057, + "id": 2549, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55446:7:1", + "referencedDeclaration": 2541, + "src": "57012:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31586,18 +31586,18 @@ "typeString": "uint256" } ], - "id": 3054, + "id": 2546, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "55426:9:1", + "referencedDeclaration": 2863, + "src": "56992:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3058, + "id": 2550, "isConstant": false, "isLValue": false, "isPure": false, @@ -31605,16 +31605,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55426:28:1", + "src": "56992:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3059, + "id": 2551, "nodeType": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "expression": { @@ -31622,48 +31622,48 @@ { "arguments": [ { - "id": 3062, + "id": 2554, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55495:4:1", + "referencedDeclaration": 2537, + "src": "57062:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3063, + "id": 2555, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55501:2:1", + "referencedDeclaration": 2539, + "src": "57068:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3064, + "id": 2556, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55505:7:1", + "referencedDeclaration": 2541, + "src": "57072:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3065, + "id": 2557, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3051, - "src": "55514:5:1", + "referencedDeclaration": 2543, + "src": "57081:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31689,18 +31689,18 @@ "typeString": "bytes memory" } ], - "id": 3061, + "id": 2553, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "55472:22:1", + "referencedDeclaration": 2954, + "src": "57039:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3066, + "id": 2558, "isConstant": false, "isLValue": false, "isPure": false, @@ -31708,7 +31708,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55472:48:1", + "src": "57039:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31717,14 +31717,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3067, + "id": 2559, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "55522:52:1", + "src": "57089:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -31743,7 +31743,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3060, + "id": 2552, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31751,13 +31751,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "55464:7:1", + "src": "57031:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3068, + "id": 2560, "isConstant": false, "isLValue": false, "isPure": false, @@ -31765,43 +31765,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55464:111:1", + "src": "57031:111:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3069, + "id": 2561, "nodeType": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ] }, "documentation": { - "id": 3043, + "id": 2535, "nodeType": "StructuredDocumentation", - "src": "54457:851:1", + "src": "56004:868:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3071, + "id": 2563, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3052, + "id": 2544, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3045, + "id": 2537, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55336:12:1", + "scope": 2563, + "src": "56901:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31809,10 +31809,10 @@ "typeString": "address" }, "typeName": { - "id": 3044, + "id": 2536, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55336:7:1", + "src": "56901:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31823,12 +31823,12 @@ }, { "constant": false, - "id": 3047, + "id": 2539, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55350:10:1", + "scope": 2563, + "src": "56915:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31836,10 +31836,10 @@ "typeString": "address" }, "typeName": { - "id": 3046, + "id": 2538, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55350:7:1", + "src": "56915:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31850,12 +31850,12 @@ }, { "constant": false, - "id": 3049, + "id": 2541, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55362:15:1", + "scope": 2563, + "src": "56927:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31863,10 +31863,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3048, + "id": 2540, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55362:7:1", + "src": "56927:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31876,12 +31876,12 @@ }, { "constant": false, - "id": 3051, + "id": 2543, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55379:18:1", + "scope": 2563, + "src": "56944:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31889,10 +31889,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3050, + "id": 2542, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "55379:5:1", + "src": "56944:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31901,36 +31901,36 @@ "visibility": "internal" } ], - "src": "55335:63:1" + "src": "56900:63:0" }, "returnParameters": { - "id": 3053, + "id": 2545, "nodeType": "ParameterList", "parameters": [], - "src": "55416:0:1" + "src": "56981:0:0" }, - "scope": 3498, - "src": "55313:269:1", + "scope": 2990, + "src": "56878:272:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3084, + "id": 2576, "nodeType": "Block", - "src": "55956:54:1", + "src": "57534:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 3081, + "id": 2573, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3074, - "src": "55995:7:1", + "referencedDeclaration": 2566, + "src": "57574:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31945,32 +31945,32 @@ } ], "expression": { - "id": 3079, + "id": 2571, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "55973:12:1", + "referencedDeclaration": 2094, + "src": "57552:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3080, + "id": 2572, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "contains", "nodeType": "MemberAccess", - "referencedDeclaration": 2326, - "src": "55973:21:1", + "referencedDeclaration": 1818, + "src": "57552:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" } }, - "id": 3082, + "id": 2574, "isConstant": false, "isLValue": false, "isPure": false, @@ -31978,44 +31978,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55973:30:1", + "src": "57552:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3078, - "id": 3083, + "functionReturnParameters": 2570, + "id": 2575, "nodeType": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ] }, "documentation": { - "id": 3072, + "id": 2564, "nodeType": "StructuredDocumentation", - "src": "55588:292:1", + "src": "57158:299:0", "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3085, + "id": 2577, "implemented": true, "kind": "function", "modifiers": [], "name": "_exists", "nodeType": "FunctionDefinition", "parameters": { - "id": 3075, + "id": 2567, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3074, + "id": 2566, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55902:15:1", + "scope": 2577, + "src": "57480:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32023,10 +32023,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3073, + "id": 2565, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55902:7:1", + "src": "57480:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32035,20 +32035,20 @@ "visibility": "internal" } ], - "src": "55901:17:1" + "src": "57479:17:0" }, "returnParameters": { - "id": 3078, + "id": 2570, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3077, + "id": 2569, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55950:4:1", + "scope": 2577, + "src": "57528:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32056,10 +32056,10 @@ "typeString": "bool" }, "typeName": { - "id": 3076, + "id": 2568, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "55950:4:1", + "src": "57528:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32068,19 +32068,19 @@ "visibility": "internal" } ], - "src": "55949:6:1" + "src": "57527:6:0" }, - "scope": 3498, - "src": "55885:125:1", + "scope": 2990, + "src": "57463:127:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3126, + "id": 2618, "nodeType": "Block", - "src": "56267:252:1", + "src": "57856:256:0", "statements": [ { "expression": { @@ -32088,12 +32088,12 @@ { "arguments": [ { - "id": 3097, + "id": 2589, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56293:7:1", + "referencedDeclaration": 2582, + "src": "57883:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32107,18 +32107,18 @@ "typeString": "uint256" } ], - "id": 3096, + "id": 2588, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "56285:7:1", + "referencedDeclaration": 2577, + "src": "57875:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3098, + "id": 2590, "isConstant": false, "isLValue": false, "isPure": false, @@ -32126,7 +32126,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56285:16:1", + "src": "57875:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -32135,14 +32135,14 @@ }, { "hexValue": "4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 3099, + "id": 2591, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56303:46:1", + "src": "57893:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5797d1ccb08b83980dd0c07ea40d8f6a64d35fff736a19bdd17522954cb0899c", "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" @@ -32161,7 +32161,7 @@ "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" } ], - "id": 3095, + "id": 2587, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -32169,13 +32169,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "56277:7:1", + "src": "57867:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3100, + "id": 2592, "isConstant": false, "isLValue": false, "isPure": false, @@ -32183,30 +32183,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56277:73:1", + "src": "57867:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3101, + "id": 2593, "nodeType": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "assignments": [ - 3103 + 2595 ], "declarations": [ { "constant": false, - "id": 3103, + "id": 2595, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3126, - "src": "56360:13:1", + "scope": 2618, + "src": "57951:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32214,10 +32214,10 @@ "typeString": "address" }, "typeName": { - "id": 3102, + "id": 2594, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56360:7:1", + "src": "57951:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32227,16 +32227,16 @@ "visibility": "internal" } ], - "id": 3108, + "id": 2600, "initialValue": { "arguments": [ { - "id": 3106, + "id": 2598, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56391:7:1", + "referencedDeclaration": 2582, + "src": "57982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32251,32 +32251,32 @@ } ], "expression": { - "id": 3104, + "id": 2596, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56376:6:1", + "referencedDeclaration": 2990, + "src": "57967:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3105, + "id": 2597, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "56376:14:1", + "referencedDeclaration": 2194, + "src": "57967:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3107, + "id": 2599, "isConstant": false, "isLValue": false, "isPure": false, @@ -32284,7 +32284,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56376:23:1", + "src": "57967:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -32292,7 +32292,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "expression": { @@ -32302,7 +32302,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3123, + "id": 2615, "isConstant": false, "isLValue": false, "isPure": false, @@ -32312,7 +32312,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3117, + "id": 2609, "isConstant": false, "isLValue": false, "isPure": false, @@ -32322,18 +32322,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3111, + "id": 2603, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3109, + "id": 2601, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56417:7:1", + "referencedDeclaration": 2580, + "src": "58009:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32342,18 +32342,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3110, + "id": 2602, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56428:5:1", + "referencedDeclaration": 2595, + "src": "58020:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56417:16:1", + "src": "58009:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32366,7 +32366,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3116, + "id": 2608, "isConstant": false, "isLValue": false, "isPure": false, @@ -32374,12 +32374,12 @@ "leftExpression": { "arguments": [ { - "id": 3113, + "id": 2605, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56449:7:1", + "referencedDeclaration": 2582, + "src": "58041:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32393,18 +32393,18 @@ "typeString": "uint256" } ], - "id": 3112, + "id": 2604, "name": "getApproved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "56437:11:1", + "referencedDeclaration": 2406, + "src": "58029:11:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3114, + "id": 2606, "isConstant": false, "isLValue": false, "isPure": false, @@ -32412,7 +32412,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56437:20:1", + "src": "58029:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -32422,24 +32422,24 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3115, + "id": 2607, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56461:7:1", + "referencedDeclaration": 2580, + "src": "58053:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56437:31:1", + "src": "58029:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:51:1", + "src": "58009:51:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32450,24 +32450,24 @@ "rightExpression": { "arguments": [ { - "id": 3120, + "id": 2612, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56496:5:1", + "referencedDeclaration": 2595, + "src": "58088:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3121, + "id": 2613, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56503:7:1", + "referencedDeclaration": 2580, + "src": "58095:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32486,32 +32486,32 @@ } ], "expression": { - "id": 3118, + "id": 2610, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56472:6:1", + "referencedDeclaration": 2990, + "src": "58064:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3119, + "id": 2611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "56472:23:1", + "referencedDeclaration": 2458, + "src": "58064:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 3122, + "id": 2614, "isConstant": false, "isLValue": false, "isPure": false, @@ -32519,64 +32519,64 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56472:39:1", + "src": "58064:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:94:1", + "src": "58009:94:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3124, + "id": 2616, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "56416:96:1", + "src": "58008:96:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3094, - "id": 3125, + "functionReturnParameters": 2586, + "id": 2617, "nodeType": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ] }, "documentation": { - "id": 3086, + "id": 2578, "nodeType": "StructuredDocumentation", - "src": "56016:147:1", + "src": "57598:153:0", "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3127, + "id": 2619, "implemented": true, "kind": "function", "modifiers": [], "name": "_isApprovedOrOwner", "nodeType": "FunctionDefinition", "parameters": { - "id": 3091, + "id": 2583, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3088, + "id": 2580, "mutability": "mutable", "name": "spender", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56196:15:1", + "scope": 2619, + "src": "57785:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32584,10 +32584,10 @@ "typeString": "address" }, "typeName": { - "id": 3087, + "id": 2579, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56196:7:1", + "src": "57785:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32598,12 +32598,12 @@ }, { "constant": false, - "id": 3090, + "id": 2582, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56213:15:1", + "scope": 2619, + "src": "57802:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32611,10 +32611,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3089, + "id": 2581, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56213:7:1", + "src": "57802:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32623,20 +32623,20 @@ "visibility": "internal" } ], - "src": "56195:34:1" + "src": "57784:34:0" }, "returnParameters": { - "id": 3094, + "id": 2586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3093, + "id": 2585, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56261:4:1", + "scope": 2619, + "src": "57850:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32644,10 +32644,10 @@ "typeString": "bool" }, "typeName": { - "id": 3092, + "id": 2584, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "56261:4:1", + "src": "57850:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32656,42 +32656,42 @@ "visibility": "internal" } ], - "src": "56260:6:1" + "src": "57849:6:0" }, - "scope": 3498, - "src": "56168:351:1", + "scope": 2990, + "src": "57757:355:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3141, + "id": 2633, "nodeType": "Block", - "src": "56915:43:1", + "src": "58520:45:0", "statements": [ { "expression": { "arguments": [ { - "id": 3136, + "id": 2628, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3130, - "src": "56935:2:1", + "referencedDeclaration": 2622, + "src": "58541:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3137, + "id": 2629, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3132, - "src": "56939:7:1", + "referencedDeclaration": 2624, + "src": "58545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32699,14 +32699,14 @@ }, { "hexValue": "", - "id": 3138, + "id": 2630, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56948:2:1", + "src": "58554:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -32729,21 +32729,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3135, + "id": 2627, "name": "_safeMint", "nodeType": "Identifier", "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, - "src": "56925:9:1", + "referencedDeclaration": 2663, + "src": "58531:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,uint256,bytes memory)" } }, - "id": 3139, + "id": 2631, "isConstant": false, "isLValue": false, "isPure": false, @@ -32751,43 +32751,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56925:26:1", + "src": "58531:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3140, + "id": 2632, "nodeType": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ] }, "documentation": { - "id": 3128, + "id": 2620, "nodeType": "StructuredDocumentation", - "src": "56525:320:1", + "src": "58120:329:0", "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3142, + "id": 2634, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3133, + "id": 2625, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3130, + "id": 2622, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56869:10:1", + "scope": 2634, + "src": "58474:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32795,10 +32795,10 @@ "typeString": "address" }, "typeName": { - "id": 3129, + "id": 2621, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56869:7:1", + "src": "58474:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32809,12 +32809,12 @@ }, { "constant": false, - "id": 3132, + "id": 2624, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56881:15:1", + "scope": 2634, + "src": "58486:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32822,10 +32822,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3131, + "id": 2623, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56881:7:1", + "src": "58486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32834,48 +32834,48 @@ "visibility": "internal" } ], - "src": "56868:29:1" + "src": "58473:29:0" }, "returnParameters": { - "id": 3134, + "id": 2626, "nodeType": "ParameterList", "parameters": [], - "src": "56915:0:1" + "src": "58520:0:0" }, - "scope": 3498, - "src": "56850:108:1", + "scope": 2990, + "src": "58455:110:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3170, + "id": 2662, "nodeType": "Block", - "src": "57264:162:1", + "src": "58877:165:0", "statements": [ { "expression": { "arguments": [ { - "id": 3153, + "id": 2645, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57280:2:1", + "referencedDeclaration": 2637, + "src": "58894:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3154, + "id": 2646, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57284:7:1", + "referencedDeclaration": 2639, + "src": "58898:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32893,18 +32893,18 @@ "typeString": "uint256" } ], - "id": 3152, + "id": 2644, "name": "_mint", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3230, - "src": "57274:5:1", + "referencedDeclaration": 2722, + "src": "58888:5:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3155, + "id": 2647, "isConstant": false, "isLValue": false, "isPure": false, @@ -32912,16 +32912,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57274:18:1", + "src": "58888:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3156, + "id": 2648, "nodeType": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "expression": { @@ -32932,14 +32932,14 @@ "arguments": [ { "hexValue": "30", - "id": 3161, + "id": 2653, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57341:1:1", + "src": "58956:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -32954,26 +32954,26 @@ "typeString": "int_const 0" } ], - "id": 3160, + "id": 2652, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3159, + "id": 2651, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": {} } }, - "id": 3162, + "id": 2654, "isConstant": false, "isLValue": false, "isPure": true, @@ -32981,7 +32981,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57333:10:1", + "src": "58948:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -32989,36 +32989,36 @@ } }, { - "id": 3163, + "id": 2655, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57345:2:1", + "referencedDeclaration": 2637, + "src": "58960:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3164, + "id": 2656, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57349:7:1", + "referencedDeclaration": 2639, + "src": "58964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3165, + "id": 2657, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3149, - "src": "57358:5:1", + "referencedDeclaration": 2641, + "src": "58973:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -33044,18 +33044,18 @@ "typeString": "bytes memory" } ], - "id": 3158, + "id": 2650, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "57310:22:1", + "referencedDeclaration": 2954, + "src": "58925:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3166, + "id": 2658, "isConstant": false, "isLValue": false, "isPure": false, @@ -33063,7 +33063,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57310:54:1", + "src": "58925:54:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -33072,14 +33072,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3167, + "id": 2659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57366:52:1", + "src": "58981:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -33098,7 +33098,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3157, + "id": 2649, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33106,13 +33106,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57302:7:1", + "src": "58917:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3168, + "id": 2660, "isConstant": false, "isLValue": false, "isPure": false, @@ -33120,43 +33120,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57302:117:1", + "src": "58917:117:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3169, + "id": 2661, "nodeType": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ] }, "documentation": { - "id": 3143, + "id": 2635, "nodeType": "StructuredDocumentation", - "src": "56964:210:1", + "src": "58573:213:0", "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3171, + "id": 2663, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3150, + "id": 2642, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3145, + "id": 2637, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57198:10:1", + "scope": 2663, + "src": "58811:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33164,10 +33164,10 @@ "typeString": "address" }, "typeName": { - "id": 3144, + "id": 2636, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57198:7:1", + "src": "58811:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33178,12 +33178,12 @@ }, { "constant": false, - "id": 3147, + "id": 2639, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57210:15:1", + "scope": 2663, + "src": "58823:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33191,10 +33191,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3146, + "id": 2638, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57210:7:1", + "src": "58823:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33204,12 +33204,12 @@ }, { "constant": false, - "id": 3149, + "id": 2641, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57227:18:1", + "scope": 2663, + "src": "58840:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -33217,10 +33217,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3148, + "id": 2640, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "57227:5:1", + "src": "58840:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -33229,25 +33229,25 @@ "visibility": "internal" } ], - "src": "57197:49:1" + "src": "58810:49:0" }, "returnParameters": { - "id": 3151, + "id": 2643, "nodeType": "ParameterList", "parameters": [], - "src": "57264:0:1" + "src": "58877:0:0" }, - "scope": 3498, - "src": "57179:247:1", + "scope": 2990, + "src": "58792:250:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3229, + "id": 2721, "nodeType": "Block", - "src": "57809:332:1", + "src": "59439:343:0", "statements": [ { "expression": { @@ -33257,18 +33257,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3185, + "id": 2677, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3180, + "id": 2672, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57827:2:1", + "referencedDeclaration": 2666, + "src": "59458:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33280,14 +33280,14 @@ "arguments": [ { "hexValue": "30", - "id": 3183, + "id": 2675, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57841:1:1", + "src": "59472:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33302,26 +33302,26 @@ "typeString": "int_const 0" } ], - "id": 3182, + "id": 2674, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3181, + "id": 2673, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": {} } }, - "id": 3184, + "id": 2676, "isConstant": false, "isLValue": false, "isPure": true, @@ -33329,14 +33329,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57833:10:1", + "src": "59464:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "57827:16:1", + "src": "59458:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -33344,14 +33344,14 @@ }, { "hexValue": "4552433732313a206d696e7420746f20746865207a65726f2061646472657373", - "id": 3186, + "id": 2678, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57845:34:1", + "src": "59476:34:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6", "typeString": "literal_string \"ERC721: mint to the zero address\"" @@ -33370,7 +33370,7 @@ "typeString": "literal_string \"ERC721: mint to the zero address\"" } ], - "id": 3179, + "id": 2671, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33378,13 +33378,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57819:7:1", + "src": "59450:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3187, + "id": 2679, "isConstant": false, "isLValue": false, "isPure": false, @@ -33392,22 +33392,22 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57819:61:1", + "src": "59450:61:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3188, + "id": 2680, "nodeType": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "expression": { "arguments": [ { - "id": 3193, + "id": 2685, "isConstant": false, "isLValue": false, "isPure": false, @@ -33415,16 +33415,16 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "57898:17:1", + "src": "59530:17:0", "subExpression": { "arguments": [ { - "id": 3191, + "id": 2683, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57907:7:1", + "referencedDeclaration": 2668, + "src": "59539:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33438,18 +33438,18 @@ "typeString": "uint256" } ], - "id": 3190, + "id": 2682, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "57899:7:1", + "referencedDeclaration": 2577, + "src": "59531:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3192, + "id": 2684, "isConstant": false, "isLValue": false, "isPure": false, @@ -33457,7 +33457,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57899:16:1", + "src": "59531:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -33471,14 +33471,14 @@ }, { "hexValue": "4552433732313a20746f6b656e20616c7265616479206d696e746564", - "id": 3194, + "id": 2686, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57917:30:1", + "src": "59549:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57", "typeString": "literal_string \"ERC721: token already minted\"" @@ -33497,7 +33497,7 @@ "typeString": "literal_string \"ERC721: token already minted\"" } ], - "id": 3189, + "id": 2681, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33505,13 +33505,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57890:7:1", + "src": "59522:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3195, + "id": 2687, "isConstant": false, "isLValue": false, "isPure": false, @@ -33519,16 +33519,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57890:58:1", + "src": "59522:58:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3196, + "id": 2688, "nodeType": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "expression": { @@ -33537,14 +33537,14 @@ "arguments": [ { "hexValue": "30", - "id": 3200, + "id": 2692, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57988:1:1", + "src": "59622:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33559,26 +33559,26 @@ "typeString": "int_const 0" } ], - "id": 3199, + "id": 2691, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3198, + "id": 2690, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": {} } }, - "id": 3201, + "id": 2693, "isConstant": false, "isLValue": false, "isPure": true, @@ -33586,7 +33586,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57980:10:1", + "src": "59614:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33594,24 +33594,24 @@ } }, { - "id": 3202, + "id": 2694, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57992:2:1", + "referencedDeclaration": 2666, + "src": "59626:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3203, + "id": 2695, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57996:7:1", + "referencedDeclaration": 2668, + "src": "59630:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33633,18 +33633,18 @@ "typeString": "uint256" } ], - "id": 3197, + "id": 2689, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "57959:20:1", + "referencedDeclaration": 2989, + "src": "59593:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3204, + "id": 2696, "isConstant": false, "isLValue": false, "isPure": false, @@ -33652,27 +33652,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57959:45:1", + "src": "59593:45:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3205, + "id": 2697, "nodeType": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "expression": { "arguments": [ { - "id": 3210, + "id": 2702, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58037:7:1", + "referencedDeclaration": 2668, + "src": "59673:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33688,25 +33688,25 @@ ], "expression": { "baseExpression": { - "id": 3206, + "id": 2698, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58015:13:1", + "referencedDeclaration": 2092, + "src": "59651:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3208, + "id": 2700, "indexExpression": { - "id": 3207, + "id": 2699, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58029:2:1", + "referencedDeclaration": 2666, + "src": "59665:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33717,27 +33717,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58015:17:1", + "src": "59651:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3209, + "id": 2701, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "58015:21:1", + "referencedDeclaration": 1338, + "src": "59651:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3211, + "id": 2703, "isConstant": false, "isLValue": false, "isPure": false, @@ -33745,39 +33745,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58015:30:1", + "src": "59651:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3212, + "id": 2704, "nodeType": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "expression": { "arguments": [ { - "id": 3216, + "id": 2708, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58073:7:1", + "referencedDeclaration": 2668, + "src": "59711:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3217, + "id": 2709, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58082:2:1", + "referencedDeclaration": 2666, + "src": "59720:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33796,32 +33796,32 @@ } ], "expression": { - "id": 3213, + "id": 2705, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58056:12:1", + "referencedDeclaration": 2094, + "src": "59694:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3215, + "id": 2707, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "58056:16:1", + "referencedDeclaration": 1778, + "src": "59694:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3218, + "id": 2710, "isConstant": false, "isLValue": false, "isPure": false, @@ -33829,16 +33829,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58056:29:1", + "src": "59694:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3219, + "id": 2711, "nodeType": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "eventCall": { @@ -33847,14 +33847,14 @@ "arguments": [ { "hexValue": "30", - "id": 3223, + "id": 2715, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58118:1:1", + "src": "59758:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33869,26 +33869,26 @@ "typeString": "int_const 0" } ], - "id": 3222, + "id": 2714, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3221, + "id": 2713, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": {} } }, - "id": 3224, + "id": 2716, "isConstant": false, "isLValue": false, "isPure": true, @@ -33896,7 +33896,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58110:10:1", + "src": "59750:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33904,24 +33904,24 @@ } }, { - "id": 3225, + "id": 2717, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58122:2:1", + "referencedDeclaration": 2666, + "src": "59762:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3226, + "id": 2718, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58126:7:1", + "referencedDeclaration": 2668, + "src": "59766:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33943,18 +33943,18 @@ "typeString": "uint256" } ], - "id": 3220, + "id": 2712, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58101:8:1", + "referencedDeclaration": 46, + "src": "59741:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3227, + "id": 2719, "isConstant": false, "isLValue": false, "isPure": false, @@ -33962,43 +33962,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58101:33:1", + "src": "59741:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3228, + "id": 2720, "nodeType": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ] }, "documentation": { - "id": 3172, + "id": 2664, "nodeType": "StructuredDocumentation", - "src": "57432:311:1", + "src": "59050:322:0", "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3230, + "id": 2722, "implemented": true, "kind": "function", "modifiers": [], "name": "_mint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3177, + "id": 2669, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3174, + "id": 2666, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57763:10:1", + "scope": 2722, + "src": "59393:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34006,10 +34006,10 @@ "typeString": "address" }, "typeName": { - "id": 3173, + "id": 2665, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57763:7:1", + "src": "59393:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -34020,12 +34020,12 @@ }, { "constant": false, - "id": 3176, + "id": 2668, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57775:15:1", + "scope": 2722, + "src": "59405:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34033,10 +34033,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3175, + "id": 2667, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57775:7:1", + "src": "59405:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34045,39 +34045,39 @@ "visibility": "internal" } ], - "src": "57762:29:1" + "src": "59392:29:0" }, "returnParameters": { - "id": 3178, + "id": 2670, "nodeType": "ParameterList", "parameters": [], - "src": "57809:0:1" + "src": "59439:0:0" }, - "scope": 3498, - "src": "57748:393:1", + "scope": 2990, + "src": "59378:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3298, + "id": 2790, "nodeType": "Block", - "src": "58407:478:1", + "src": "60060:496:0", "statements": [ { "assignments": [ - 3237 + 2729 ], "declarations": [ { "constant": false, - "id": 3237, + "id": 2729, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3298, - "src": "58417:13:1", + "scope": 2790, + "src": "60071:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34085,10 +34085,10 @@ "typeString": "address" }, "typeName": { - "id": 3236, + "id": 2728, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58417:7:1", + "src": "60071:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -34098,16 +34098,16 @@ "visibility": "internal" } ], - "id": 3242, + "id": 2734, "initialValue": { "arguments": [ { - "id": 3240, + "id": 2732, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58448:7:1", + "referencedDeclaration": 2725, + "src": "60102:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34122,32 +34122,32 @@ } ], "expression": { - "id": 3238, + "id": 2730, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "58433:6:1", + "referencedDeclaration": 2990, + "src": "60087:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3239, + "id": 2731, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "58433:14:1", + "referencedDeclaration": 2194, + "src": "60087:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3241, + "id": 2733, "isConstant": false, "isLValue": false, "isPure": false, @@ -34155,7 +34155,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58433:23:1", + "src": "60087:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -34163,18 +34163,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "expression": { "arguments": [ { - "id": 3244, + "id": 2736, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58506:5:1", + "referencedDeclaration": 2729, + "src": "60162:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34184,14 +34184,14 @@ "arguments": [ { "hexValue": "30", - "id": 3247, + "id": 2739, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58521:1:1", + "src": "60177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34206,26 +34206,26 @@ "typeString": "int_const 0" } ], - "id": 3246, + "id": 2738, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3245, + "id": 2737, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": {} } }, - "id": 3248, + "id": 2740, "isConstant": false, "isLValue": false, "isPure": true, @@ -34233,7 +34233,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58513:10:1", + "src": "60169:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34241,12 +34241,12 @@ } }, { - "id": 3249, + "id": 2741, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58525:7:1", + "referencedDeclaration": 2725, + "src": "60181:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34268,18 +34268,18 @@ "typeString": "uint256" } ], - "id": 3243, + "id": 2735, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "58485:20:1", + "referencedDeclaration": 2989, + "src": "60141:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3250, + "id": 2742, "isConstant": false, "isLValue": false, "isPure": false, @@ -34287,16 +34287,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58485:48:1", + "src": "60141:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3251, + "id": 2743, "nodeType": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "expression": { @@ -34305,14 +34305,14 @@ "arguments": [ { "hexValue": "30", - "id": 3255, + "id": 2747, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58588:1:1", + "src": "60247:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34327,26 +34327,26 @@ "typeString": "int_const 0" } ], - "id": 3254, + "id": 2746, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3253, + "id": 2745, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": {} } }, - "id": 3256, + "id": 2748, "isConstant": false, "isLValue": false, "isPure": true, @@ -34354,7 +34354,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58580:10:1", + "src": "60239:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34362,12 +34362,12 @@ } }, { - "id": 3257, + "id": 2749, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58592:7:1", + "referencedDeclaration": 2725, + "src": "60251:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34385,18 +34385,18 @@ "typeString": "uint256" } ], - "id": 3252, + "id": 2744, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "58571:8:1", + "referencedDeclaration": 2978, + "src": "60230:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3258, + "id": 2750, "isConstant": false, "isLValue": false, "isPure": false, @@ -34404,16 +34404,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58571:29:1", + "src": "60230:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3259, + "id": 2751, "nodeType": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "condition": { @@ -34421,7 +34421,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3268, + "id": 2760, "isConstant": false, "isLValue": false, "isPure": false, @@ -34431,25 +34431,25 @@ "arguments": [ { "baseExpression": { - "id": 3262, + "id": 2754, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58656:10:1", + "referencedDeclaration": 2112, + "src": "60318:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3264, + "id": 2756, "indexExpression": { - "id": 3263, + "id": 2755, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58667:7:1", + "referencedDeclaration": 2725, + "src": "60329:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34460,7 +34460,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58656:19:1", + "src": "60318:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34474,26 +34474,26 @@ "typeString": "string storage ref" } ], - "id": 3261, + "id": 2753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 3260, + "id": 2752, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": {} } }, - "id": 3265, + "id": 2757, "isConstant": false, "isLValue": false, "isPure": false, @@ -34501,21 +34501,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58650:26:1", + "src": "60312:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes storage pointer" } }, - "id": 3266, + "id": 2758, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "58650:33:1", + "src": "60312:33:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34525,37 +34525,37 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 3267, + "id": 2759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58687:1:1", + "src": "60349:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "58650:38:1", + "src": "60312:38:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3275, + "id": 2767, "nodeType": "IfStatement", - "src": "58646:95:1", + "src": "60308:97:0", "trueBody": { - "id": 3274, + "id": 2766, "nodeType": "Block", - "src": "58690:51:1", + "src": "60352:53:0", "statements": [ { "expression": { - "id": 3272, + "id": 2764, "isConstant": false, "isLValue": false, "isPure": false, @@ -34563,28 +34563,28 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "58704:26:1", + "src": "60367:26:0", "subExpression": { "baseExpression": { - "id": 3269, + "id": 2761, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58711:10:1", + "referencedDeclaration": 2112, + "src": "60374:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3271, + "id": 2763, "indexExpression": { - "id": 3270, + "id": 2762, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58722:7:1", + "referencedDeclaration": 2725, + "src": "60385:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34595,7 +34595,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "58711:19:1", + "src": "60374:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34606,9 +34606,9 @@ "typeString": "tuple()" } }, - "id": 3273, + "id": 2765, "nodeType": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ] } @@ -34617,12 +34617,12 @@ "expression": { "arguments": [ { - "id": 3280, + "id": 2772, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58779:7:1", + "referencedDeclaration": 2725, + "src": "60445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34638,25 +34638,25 @@ ], "expression": { "baseExpression": { - "id": 3276, + "id": 2768, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58751:13:1", + "referencedDeclaration": 2092, + "src": "60417:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3278, + "id": 2770, "indexExpression": { - "id": 3277, + "id": 2769, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58765:5:1", + "referencedDeclaration": 2729, + "src": "60431:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34667,27 +34667,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58751:20:1", + "src": "60417:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3279, + "id": 2771, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "58751:27:1", + "referencedDeclaration": 1358, + "src": "60417:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3281, + "id": 2773, "isConstant": false, "isLValue": false, "isPure": false, @@ -34695,27 +34695,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58751:36:1", + "src": "60417:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3282, + "id": 2774, "nodeType": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "expression": { "arguments": [ { - "id": 3286, + "id": 2778, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58818:7:1", + "referencedDeclaration": 2725, + "src": "60486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34730,32 +34730,32 @@ } ], "expression": { - "id": 3283, + "id": 2775, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58798:12:1", + "referencedDeclaration": 2094, + "src": "60466:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3285, + "id": 2777, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 2306, - "src": "58798:19:1", + "referencedDeclaration": 1798, + "src": "60466:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" } }, - "id": 3287, + "id": 2779, "isConstant": false, "isLValue": false, "isPure": false, @@ -34763,27 +34763,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58798:28:1", + "src": "60466:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3288, + "id": 2780, "nodeType": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "eventCall": { "arguments": [ { - "id": 3290, + "id": 2782, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58851:5:1", + "referencedDeclaration": 2729, + "src": "60521:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34793,14 +34793,14 @@ "arguments": [ { "hexValue": "30", - "id": 3293, + "id": 2785, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58866:1:1", + "src": "60536:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34815,26 +34815,26 @@ "typeString": "int_const 0" } ], - "id": 3292, + "id": 2784, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3291, + "id": 2783, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": {} } }, - "id": 3294, + "id": 2786, "isConstant": false, "isLValue": false, "isPure": true, @@ -34842,7 +34842,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58858:10:1", + "src": "60528:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34850,12 +34850,12 @@ } }, { - "id": 3295, + "id": 2787, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58870:7:1", + "referencedDeclaration": 2725, + "src": "60540:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34877,18 +34877,18 @@ "typeString": "uint256" } ], - "id": 3289, + "id": 2781, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58842:8:1", + "referencedDeclaration": 46, + "src": "60512:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3296, + "id": 2788, "isConstant": false, "isLValue": false, "isPure": false, @@ -34896,43 +34896,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58842:36:1", + "src": "60512:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3297, + "id": 2789, "nodeType": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ] }, "documentation": { - "id": 3231, + "id": 2723, "nodeType": "StructuredDocumentation", - "src": "58147:206:1", + "src": "59790:215:0", "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3299, + "id": 2791, "implemented": true, "kind": "function", "modifiers": [], "name": "_burn", "nodeType": "FunctionDefinition", "parameters": { - "id": 3234, + "id": 2726, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3233, + "id": 2725, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3299, - "src": "58373:15:1", + "scope": 2791, + "src": "60026:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34940,10 +34940,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3232, + "id": 2724, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "58373:7:1", + "src": "60026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34952,25 +34952,25 @@ "visibility": "internal" } ], - "src": "58372:17:1" + "src": "60025:17:0" }, "returnParameters": { - "id": 3235, + "id": 2727, "nodeType": "ParameterList", "parameters": [], - "src": "58407:0:1" + "src": "60060:0:0" }, - "scope": 3498, - "src": "58358:527:1", + "scope": 2990, + "src": "60011:545:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3370, + "id": 2862, "nodeType": "Block", - "src": "59288:505:1", + "src": "60972:520:0", "statements": [ { "expression": { @@ -34980,7 +34980,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3315, + "id": 2807, "isConstant": false, "isLValue": false, "isPure": false, @@ -34988,12 +34988,12 @@ "leftExpression": { "arguments": [ { - "id": 3312, + "id": 2804, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59321:7:1", + "referencedDeclaration": 2798, + "src": "61006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35008,32 +35008,32 @@ } ], "expression": { - "id": 3310, + "id": 2802, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "59306:6:1", + "referencedDeclaration": 2990, + "src": "60991:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3311, + "id": 2803, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "59306:14:1", + "referencedDeclaration": 2194, + "src": "60991:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3313, + "id": 2805, "isConstant": false, "isLValue": false, "isPure": false, @@ -35041,7 +35041,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59306:23:1", + "src": "60991:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -35051,18 +35051,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3314, + "id": 2806, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59333:4:1", + "referencedDeclaration": 2794, + "src": "61018:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "59306:31:1", + "src": "60991:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -35070,14 +35070,14 @@ }, { "hexValue": "4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e", - "id": 3316, + "id": 2808, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59339:43:1", + "src": "61024:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a01073130a885d6c1c1af6ac75fc3b1c4f9403c235362962bbf528e2bd87d950", "typeString": "literal_string \"ERC721: transfer of token that is not own\"" @@ -35096,7 +35096,7 @@ "typeString": "literal_string \"ERC721: transfer of token that is not own\"" } ], - "id": 3309, + "id": 2801, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -35104,13 +35104,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59298:7:1", + "src": "60983:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3317, + "id": 2809, "isConstant": false, "isLValue": false, "isPure": false, @@ -35118,16 +35118,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59298:85:1", + "src": "60983:85:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3318, + "id": 2810, "nodeType": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "expression": { @@ -35137,18 +35137,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3325, + "id": 2817, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3320, + "id": 2812, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59419:2:1", + "referencedDeclaration": 2796, + "src": "61105:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35160,14 +35160,14 @@ "arguments": [ { "hexValue": "30", - "id": 3323, + "id": 2815, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59433:1:1", + "src": "61119:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -35182,26 +35182,26 @@ "typeString": "int_const 0" } ], - "id": 3322, + "id": 2814, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3321, + "id": 2813, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": {} } }, - "id": 3324, + "id": 2816, "isConstant": false, "isLValue": false, "isPure": true, @@ -35209,14 +35209,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59425:10:1", + "src": "61111:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "59419:16:1", + "src": "61105:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -35224,14 +35224,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f20746865207a65726f2061646472657373", - "id": 3326, + "id": 2818, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59437:38:1", + "src": "61123:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4", "typeString": "literal_string \"ERC721: transfer to the zero address\"" @@ -35250,7 +35250,7 @@ "typeString": "literal_string \"ERC721: transfer to the zero address\"" } ], - "id": 3319, + "id": 2811, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -35258,13 +35258,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59411:7:1", + "src": "61097:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3327, + "id": 2819, "isConstant": false, "isLValue": false, "isPure": false, @@ -35272,51 +35272,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59411:65:1", + "src": "61097:65:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3328, + "id": 2820, "nodeType": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "expression": { "arguments": [ { - "id": 3330, + "id": 2822, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59508:4:1", + "referencedDeclaration": 2794, + "src": "61196:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3331, + "id": 2823, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59514:2:1", + "referencedDeclaration": 2796, + "src": "61202:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3332, + "id": 2824, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59518:7:1", + "referencedDeclaration": 2798, + "src": "61206:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35338,18 +35338,18 @@ "typeString": "uint256" } ], - "id": 3329, + "id": 2821, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "59487:20:1", + "referencedDeclaration": 2989, + "src": "61175:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3333, + "id": 2825, "isConstant": false, "isLValue": false, "isPure": false, @@ -35357,16 +35357,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59487:39:1", + "src": "61175:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3334, + "id": 2826, "nodeType": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "expression": { @@ -35375,14 +35375,14 @@ "arguments": [ { "hexValue": "30", - "id": 3338, + "id": 2830, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59605:1:1", + "src": "61296:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -35397,26 +35397,26 @@ "typeString": "int_const 0" } ], - "id": 3337, + "id": 2829, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3336, + "id": 2828, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": {} } }, - "id": 3339, + "id": 2831, "isConstant": false, "isLValue": false, "isPure": true, @@ -35424,7 +35424,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59597:10:1", + "src": "61288:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -35432,12 +35432,12 @@ } }, { - "id": 3340, + "id": 2832, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59609:7:1", + "referencedDeclaration": 2798, + "src": "61300:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35455,18 +35455,18 @@ "typeString": "uint256" } ], - "id": 3335, + "id": 2827, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "59588:8:1", + "referencedDeclaration": 2978, + "src": "61279:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3341, + "id": 2833, "isConstant": false, "isLValue": false, "isPure": false, @@ -35474,27 +35474,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59588:29:1", + "src": "61279:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3342, + "id": 2834, "nodeType": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "expression": { "arguments": [ { - "id": 3347, + "id": 2839, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59655:7:1", + "referencedDeclaration": 2798, + "src": "61348:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35510,25 +35510,25 @@ ], "expression": { "baseExpression": { - "id": 3343, + "id": 2835, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59628:13:1", + "referencedDeclaration": 2092, + "src": "61321:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3345, + "id": 2837, "indexExpression": { - "id": 3344, + "id": 2836, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59642:4:1", + "referencedDeclaration": 2794, + "src": "61335:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35539,27 +35539,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59628:19:1", + "src": "61321:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3346, + "id": 2838, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "59628:26:1", + "referencedDeclaration": 1358, + "src": "61321:26:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3348, + "id": 2840, "isConstant": false, "isLValue": false, "isPure": false, @@ -35567,27 +35567,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59628:35:1", + "src": "61321:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3349, + "id": 2841, "nodeType": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "expression": { "arguments": [ { - "id": 3354, + "id": 2846, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59695:7:1", + "referencedDeclaration": 2798, + "src": "61389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35603,25 +35603,25 @@ ], "expression": { "baseExpression": { - "id": 3350, + "id": 2842, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59673:13:1", + "referencedDeclaration": 2092, + "src": "61367:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3352, + "id": 2844, "indexExpression": { - "id": 3351, + "id": 2843, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59687:2:1", + "referencedDeclaration": 2796, + "src": "61381:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35632,27 +35632,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59673:17:1", + "src": "61367:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3353, + "id": 2845, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "59673:21:1", + "referencedDeclaration": 1338, + "src": "61367:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3355, + "id": 2847, "isConstant": false, "isLValue": false, "isPure": false, @@ -35660,39 +35660,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59673:30:1", + "src": "61367:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3356, + "id": 2848, "nodeType": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "expression": { "arguments": [ { - "id": 3360, + "id": 2852, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59731:7:1", + "referencedDeclaration": 2798, + "src": "61427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3361, + "id": 2853, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59740:2:1", + "referencedDeclaration": 2796, + "src": "61436:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35711,32 +35711,32 @@ } ], "expression": { - "id": 3357, + "id": 2849, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "59714:12:1", + "referencedDeclaration": 2094, + "src": "61410:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3359, + "id": 2851, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "59714:16:1", + "referencedDeclaration": 1778, + "src": "61410:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3362, + "id": 2854, "isConstant": false, "isLValue": false, "isPure": false, @@ -35744,51 +35744,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59714:29:1", + "src": "61410:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3363, + "id": 2855, "nodeType": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "eventCall": { "arguments": [ { - "id": 3365, + "id": 2857, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59768:4:1", + "referencedDeclaration": 2794, + "src": "61466:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3366, + "id": 2858, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59774:2:1", + "referencedDeclaration": 2796, + "src": "61472:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3367, + "id": 2859, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59778:7:1", + "referencedDeclaration": 2798, + "src": "61476:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35810,18 +35810,18 @@ "typeString": "uint256" } ], - "id": 3364, + "id": 2856, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "59759:8:1", + "referencedDeclaration": 46, + "src": "61457:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3368, + "id": 2860, "isConstant": false, "isLValue": false, "isPure": false, @@ -35829,43 +35829,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59759:27:1", + "src": "61457:27:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3369, + "id": 2861, "nodeType": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ] }, "documentation": { - "id": 3300, + "id": 2792, "nodeType": "StructuredDocumentation", - "src": "58891:313:1", + "src": "60564:323:0", "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3371, + "id": 2863, "implemented": true, "kind": "function", "modifiers": [], "name": "_transfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3307, + "id": 2799, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3302, + "id": 2794, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59228:12:1", + "scope": 2863, + "src": "60912:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35873,10 +35873,10 @@ "typeString": "address" }, "typeName": { - "id": 3301, + "id": 2793, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59228:7:1", + "src": "60912:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35887,12 +35887,12 @@ }, { "constant": false, - "id": 3304, + "id": 2796, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59242:10:1", + "scope": 2863, + "src": "60926:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35900,10 +35900,10 @@ "typeString": "address" }, "typeName": { - "id": 3303, + "id": 2795, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59242:7:1", + "src": "60926:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35914,12 +35914,12 @@ }, { "constant": false, - "id": 3306, + "id": 2798, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59254:15:1", + "scope": 2863, + "src": "60938:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35927,10 +35927,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3305, + "id": 2797, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59254:7:1", + "src": "60938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35939,25 +35939,25 @@ "visibility": "internal" } ], - "src": "59227:43:1" + "src": "60911:43:0" }, "returnParameters": { - "id": 3308, + "id": 2800, "nodeType": "ParameterList", "parameters": [], - "src": "59288:0:1" + "src": "60972:0:0" }, - "scope": 3498, - "src": "59209:584:1", + "scope": 2990, + "src": "60893:599:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3392, + "id": 2884, "nodeType": "Block", - "src": "60021:131:1", + "src": "61729:134:0", "statements": [ { "expression": { @@ -35965,12 +35965,12 @@ { "arguments": [ { - "id": 3381, + "id": 2873, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60047:7:1", + "referencedDeclaration": 2866, + "src": "61756:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35984,18 +35984,18 @@ "typeString": "uint256" } ], - "id": 3380, + "id": 2872, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "60039:7:1", + "referencedDeclaration": 2577, + "src": "61748:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3382, + "id": 2874, "isConstant": false, "isLValue": false, "isPure": false, @@ -36003,7 +36003,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60039:16:1", + "src": "61748:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -36012,14 +36012,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e", - "id": 3383, + "id": 2875, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "60057:46:1", + "src": "61766:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_94be4a260caaeac1b145f03ffa2e70bc612b64982d04f24073aaf3a5f9009978", "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" @@ -36038,7 +36038,7 @@ "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" } ], - "id": 3379, + "id": 2871, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -36046,13 +36046,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "60031:7:1", + "src": "61740:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3384, + "id": 2876, "isConstant": false, "isLValue": false, "isPure": false, @@ -36060,45 +36060,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60031:73:1", + "src": "61740:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3385, + "id": 2877, "nodeType": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "expression": { - "id": 3390, + "id": 2882, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3386, + "id": 2878, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "60114:10:1", + "referencedDeclaration": 2112, + "src": "61824:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3388, + "id": 2880, "indexExpression": { - "id": 3387, + "id": 2879, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60125:7:1", + "referencedDeclaration": 2866, + "src": "61835:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36109,7 +36109,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "60114:19:1", + "src": "61824:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -36118,53 +36118,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3389, + "id": 2881, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3376, - "src": "60136:9:1", + "referencedDeclaration": 2868, + "src": "61846:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60114:31:1", + "src": "61824:31:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3391, + "id": 2883, "nodeType": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ] }, "documentation": { - "id": 3372, + "id": 2864, "nodeType": "StructuredDocumentation", - "src": "59799:136:1", + "src": "61500:142:0", "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3393, + "id": 2885, "implemented": true, "kind": "function", "modifiers": [], "name": "_setTokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3377, + "id": 2869, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3374, + "id": 2866, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59962:15:1", + "scope": 2885, + "src": "61670:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36172,10 +36172,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3373, + "id": 2865, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59962:7:1", + "src": "61670:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36185,12 +36185,12 @@ }, { "constant": false, - "id": 3376, + "id": 2868, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59979:23:1", + "scope": 2885, + "src": "61687:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36198,10 +36198,10 @@ "typeString": "string" }, "typeName": { - "id": 3375, + "id": 2867, "name": "string", "nodeType": "ElementaryTypeName", - "src": "59979:6:1", + "src": "61687:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -36210,40 +36210,40 @@ "visibility": "internal" } ], - "src": "59961:42:1" + "src": "61669:42:0" }, "returnParameters": { - "id": 3378, + "id": 2870, "nodeType": "ParameterList", "parameters": [], - "src": "60021:0:1" + "src": "61729:0:0" }, - "scope": 3498, - "src": "59940:212:1", + "scope": 2990, + "src": "61648:215:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3403, + "id": 2895, "nodeType": "Block", - "src": "60437:36:1", + "src": "62155:38:0", "statements": [ { "expression": { - "id": 3401, + "id": 2893, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 3399, + "id": 2891, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "60447:8:1", + "referencedDeclaration": 2114, + "src": "62166:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -36252,53 +36252,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3400, + "id": 2892, "name": "baseURI_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3396, - "src": "60458:8:1", + "referencedDeclaration": 2888, + "src": "62177:8:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60447:19:1", + "src": "62166:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3402, + "id": 2894, "nodeType": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ] }, "documentation": { - "id": 3394, + "id": 2886, "nodeType": "StructuredDocumentation", - "src": "60158:212:1", + "src": "61871:216:0", "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3404, + "id": 2896, "implemented": true, "kind": "function", "modifiers": [], "name": "_setBaseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3397, + "id": 2889, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3396, + "id": 2888, "mutability": "mutable", "name": "baseURI_", "nodeType": "VariableDeclaration", - "scope": 3404, - "src": "60396:22:1", + "scope": 2896, + "src": "62114:22:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36306,10 +36306,10 @@ "typeString": "string" }, "typeName": { - "id": 3395, + "id": 2887, "name": "string", "nodeType": "ElementaryTypeName", - "src": "60396:6:1", + "src": "62114:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -36318,29 +36318,29 @@ "visibility": "internal" } ], - "src": "60395:24:1" + "src": "62113:24:0" }, "returnParameters": { - "id": 3398, + "id": 2890, "nodeType": "ParameterList", "parameters": [], - "src": "60437:0:1" + "src": "62155:0:0" }, - "scope": 3498, - "src": "60375:98:1", + "scope": 2990, + "src": "62093:100:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3461, + "id": 2953, "nodeType": "Block", - "src": "61156:459:1", + "src": "62890:472:0", "statements": [ { "condition": { - "id": 3421, + "id": 2913, "isConstant": false, "isLValue": false, "isPure": false, @@ -36348,38 +36348,38 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "61170:16:1", + "src": "62905:16:0", "subExpression": { "arguments": [], "expression": { "argumentTypes": [], "expression": { - "id": 3418, + "id": 2910, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61171:2:1", + "referencedDeclaration": 2901, + "src": "62906:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3419, + "id": 2911, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isContract", "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "61171:13:1", + "referencedDeclaration": 646, + "src": "62906:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$", "typeString": "function (address) view returns (bool)" } }, - "id": 3420, + "id": 2912, "isConstant": false, "isLValue": false, "isPure": false, @@ -36387,7 +36387,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61171:15:1", + "src": "62906:15:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -36399,52 +36399,52 @@ "typeString": "bool" } }, - "id": 3425, + "id": 2917, "nodeType": "IfStatement", - "src": "61166:58:1", + "src": "62901:60:0", "trueBody": { - "id": 3424, + "id": 2916, "nodeType": "Block", - "src": "61188:36:1", + "src": "62923:38:0", "statements": [ { "expression": { "hexValue": "74727565", - "id": 3422, + "id": 2914, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "61209:4:1", + "src": "62945:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 3417, - "id": 3423, + "functionReturnParameters": 2909, + "id": 2915, "nodeType": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ] } }, { "assignments": [ - 3427 + 2919 ], "declarations": [ { "constant": false, - "id": 3427, + "id": 2919, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61233:23:1", + "scope": 2953, + "src": "62971:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36452,10 +36452,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3426, + "id": 2918, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61233:5:1", + "src": "62971:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36464,7 +36464,7 @@ "visibility": "internal" } ], - "id": 3445, + "id": 2937, "initialValue": { "arguments": [ { @@ -36474,12 +36474,12 @@ "expression": { "arguments": [ { - "id": 3433, + "id": 2925, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61327:2:1", + "referencedDeclaration": 2901, + "src": "63066:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36493,18 +36493,18 @@ "typeString": "address" } ], - "id": 3432, + "id": 2924, "name": "IERC721Receiver", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 726, - "src": "61311:15:1", + "referencedDeclaration": 218, + "src": "63050:15:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$726_$", + "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$218_$", "typeString": "type(contract IERC721Receiver)" } }, - "id": 3434, + "id": 2926, "isConstant": false, "isLValue": false, "isPure": false, @@ -36512,35 +36512,35 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61311:19:1", + "src": "63050:19:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Receiver_$726", + "typeIdentifier": "t_contract$_IERC721Receiver_$218", "typeString": "contract IERC721Receiver" } }, - "id": 3435, + "id": 2927, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "onERC721Received", "nodeType": "MemberAccess", - "referencedDeclaration": 725, - "src": "61311:36:1", + "referencedDeclaration": 217, + "src": "63050:36:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", "typeString": "function (address,address,uint256,bytes memory) external returns (bytes4)" } }, - "id": 3436, + "id": 2928, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "selector", "nodeType": "MemberAccess", - "src": "61311:45:1", + "src": "63050:45:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36550,18 +36550,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3437, + "id": 2929, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "61370:10:1", + "referencedDeclaration": 10, + "src": "63110:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3438, + "id": 2930, "isConstant": false, "isLValue": false, "isPure": false, @@ -36569,7 +36569,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61370:12:1", + "src": "63110:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -36577,36 +36577,36 @@ } }, { - "id": 3439, + "id": 2931, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3407, - "src": "61396:4:1", + "referencedDeclaration": 2899, + "src": "63137:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3440, + "id": 2932, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3411, - "src": "61414:7:1", + "referencedDeclaration": 2903, + "src": "63156:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3441, + "id": 2933, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3413, - "src": "61435:5:1", + "referencedDeclaration": 2905, + "src": "63178:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36637,31 +36637,31 @@ } ], "expression": { - "id": 3430, + "id": 2922, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61275:3:1", + "src": "63013:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3431, + "id": 2923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodeWithSelector", "nodeType": "MemberAccess", - "src": "61275:22:1", + "src": "63013:22:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bytes4) pure returns (bytes memory)" } }, - "id": 3442, + "id": 2934, "isConstant": false, "isLValue": false, "isPure": false, @@ -36669,7 +36669,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61275:175:1", + "src": "63013:181:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36678,14 +36678,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3443, + "id": 2935, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "61452:52:1", + "src": "63196:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -36705,32 +36705,32 @@ } ], "expression": { - "id": 3428, + "id": 2920, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61259:2:1", + "referencedDeclaration": 2901, + "src": "62997:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3429, + "id": 2921, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "functionCall", "nodeType": "MemberAccess", - "referencedDeclaration": 1225, - "src": "61259:15:1", + "referencedDeclaration": 717, + "src": "62997:15:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$bound_to$_t_address_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 3444, + "id": 2936, "isConstant": false, "isLValue": false, "isPure": false, @@ -36738,7 +36738,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61259:246:1", + "src": "62997:252:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36746,21 +36746,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "assignments": [ - 3447 + 2939 ], "declarations": [ { "constant": false, - "id": 3447, + "id": 2939, "mutability": "mutable", "name": "retval", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61515:13:1", + "scope": 2953, + "src": "63260:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36768,10 +36768,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 3446, + "id": 2938, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61515:6:1", + "src": "63260:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36780,16 +36780,16 @@ "visibility": "internal" } ], - "id": 3455, + "id": 2947, "initialValue": { "arguments": [ { - "id": 3450, + "id": 2942, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3427, - "src": "61542:10:1", + "referencedDeclaration": 2919, + "src": "63287:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36798,34 +36798,34 @@ { "components": [ { - "id": 3452, + "id": 2944, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" }, "typeName": { - "id": 3451, + "id": 2943, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": {} } } ], - "id": 3453, + "id": 2945, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61554:8:1", + "src": "63299:8:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" @@ -36844,31 +36844,31 @@ } ], "expression": { - "id": 3448, + "id": 2940, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61531:3:1", + "src": "63276:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3449, + "id": 2941, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "decode", "nodeType": "MemberAccess", - "src": "61531:10:1", + "src": "63276:10:0", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 3454, + "id": 2946, "isConstant": false, "isLValue": false, "isPure": false, @@ -36876,7 +36876,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61531:32:1", + "src": "63276:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes4", @@ -36884,7 +36884,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "expression": { @@ -36894,18 +36894,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 3458, + "id": 2950, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3456, + "id": 2948, "name": "retval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3447, - "src": "61581:6:1", + "referencedDeclaration": 2939, + "src": "63327:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36914,68 +36914,68 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3457, + "id": 2949, "name": "_ERC721_RECEIVED", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2596, - "src": "61591:16:1", + "referencedDeclaration": 2088, + "src": "63337:16:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "src": "61581:26:1", + "src": "63327:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3459, + "id": 2951, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61580:28:1", + "src": "63326:28:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3417, - "id": 3460, + "functionReturnParameters": 2909, + "id": 2952, "nodeType": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ] }, "documentation": { - "id": 3405, + "id": 2897, "nodeType": "StructuredDocumentation", - "src": "60479:542:1", + "src": "62201:551:0", "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3462, + "id": 2954, "implemented": true, "kind": "function", "modifiers": [], "name": "_checkOnERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 3414, + "id": 2906, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3407, + "id": 2899, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61058:12:1", + "scope": 2954, + "src": "62790:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36983,10 +36983,10 @@ "typeString": "address" }, "typeName": { - "id": 3406, + "id": 2898, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61058:7:1", + "src": "62790:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36997,12 +36997,12 @@ }, { "constant": false, - "id": 3409, + "id": 2901, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61072:10:1", + "scope": 2954, + "src": "62804:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37010,10 +37010,10 @@ "typeString": "address" }, "typeName": { - "id": 3408, + "id": 2900, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61072:7:1", + "src": "62804:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37024,12 +37024,12 @@ }, { "constant": false, - "id": 3411, + "id": 2903, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61084:15:1", + "scope": 2954, + "src": "62816:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37037,10 +37037,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3410, + "id": 2902, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61084:7:1", + "src": "62816:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37050,12 +37050,12 @@ }, { "constant": false, - "id": 3413, + "id": 2905, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61101:18:1", + "scope": 2954, + "src": "62833:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -37063,10 +37063,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3412, + "id": 2904, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61101:5:1", + "src": "62833:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -37075,20 +37075,20 @@ "visibility": "internal" } ], - "src": "61057:63:1" + "src": "62789:63:0" }, "returnParameters": { - "id": 3417, + "id": 2909, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3416, + "id": 2908, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61146:4:1", + "scope": 2954, + "src": "62879:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37096,10 +37096,10 @@ "typeString": "bool" }, "typeName": { - "id": 3415, + "id": 2907, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "61146:4:1", + "src": "62879:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -37108,48 +37108,48 @@ "visibility": "internal" } ], - "src": "61145:6:1" + "src": "62878:6:0" }, - "scope": 3498, - "src": "61026:589:1", + "scope": 2990, + "src": "62758:604:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 3485, + "id": 2977, "nodeType": "Block", - "src": "61791:125:1", + "src": "63545:128:0", "statements": [ { "expression": { - "id": 3474, + "id": 2966, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3470, + "id": 2962, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "61801:15:1", + "referencedDeclaration": 2098, + "src": "63556:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 3472, + "id": 2964, "indexExpression": { - "id": 3471, + "id": 2963, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61817:7:1", + "referencedDeclaration": 2959, + "src": "63572:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37160,7 +37160,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "61801:24:1", + "src": "63556:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -37169,26 +37169,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3473, + "id": 2965, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61828:2:1", + "referencedDeclaration": 2957, + "src": "63583:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "61801:29:1", + "src": "63556:29:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3475, + "id": 2967, "nodeType": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "eventCall": { @@ -37196,12 +37196,12 @@ { "arguments": [ { - "id": 3479, + "id": 2971, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61869:7:1", + "referencedDeclaration": 2959, + "src": "63625:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37216,32 +37216,32 @@ } ], "expression": { - "id": 3477, + "id": 2969, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "61854:6:1", + "referencedDeclaration": 2990, + "src": "63610:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3478, + "id": 2970, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "61854:14:1", + "referencedDeclaration": 2194, + "src": "63610:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3480, + "id": 2972, "isConstant": false, "isLValue": false, "isPure": false, @@ -37249,7 +37249,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61854:23:1", + "src": "63610:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -37257,24 +37257,24 @@ } }, { - "id": 3481, + "id": 2973, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61879:2:1", + "referencedDeclaration": 2957, + "src": "63635:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3482, + "id": 2974, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61883:7:1", + "referencedDeclaration": 2959, + "src": "63639:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37296,18 +37296,18 @@ "typeString": "uint256" } ], - "id": 3476, + "id": 2968, "name": "Approval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 563, - "src": "61845:8:1", + "referencedDeclaration": 55, + "src": "63601:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3483, + "id": 2975, "isConstant": false, "isLValue": false, "isPure": false, @@ -37315,43 +37315,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61845:46:1", + "src": "63601:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3484, + "id": 2976, "nodeType": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ] }, "documentation": { - "id": 3463, + "id": 2955, "nodeType": "StructuredDocumentation", - "src": "61621:101:1", + "src": "63370:105:0", "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3486, + "id": 2978, "implemented": true, "kind": "function", "modifiers": [], "name": "_approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 3468, + "id": 2960, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3465, + "id": 2957, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61745:10:1", + "scope": 2978, + "src": "63499:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37359,10 +37359,10 @@ "typeString": "address" }, "typeName": { - "id": 3464, + "id": 2956, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61745:7:1", + "src": "63499:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37373,12 +37373,12 @@ }, { "constant": false, - "id": 3467, + "id": 2959, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61757:15:1", + "scope": 2978, + "src": "63511:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37386,10 +37386,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3466, + "id": 2958, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61757:7:1", + "src": "63511:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37398,51 +37398,51 @@ "visibility": "internal" } ], - "src": "61744:29:1" + "src": "63498:29:0" }, "returnParameters": { - "id": 3469, + "id": 2961, "nodeType": "ParameterList", "parameters": [], - "src": "61791:0:1" + "src": "63545:0:0" }, - "scope": 3498, - "src": "61727:189:1", + "scope": 2990, + "src": "63481:192:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3496, + "id": 2988, "nodeType": "Block", - "src": "62602:3:1", + "src": "64376:3:0", "statements": [] }, "documentation": { - "id": 3487, + "id": 2979, "nodeType": "StructuredDocumentation", - "src": "61922:585:1", + "src": "63681:599:0", "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3497, + "id": 2989, "implemented": true, "kind": "function", "modifiers": [], "name": "_beforeTokenTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3494, + "id": 2986, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3489, + "id": 2981, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62542:12:1", + "scope": 2989, + "src": "64316:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37450,10 +37450,10 @@ "typeString": "address" }, "typeName": { - "id": 3488, + "id": 2980, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62542:7:1", + "src": "64316:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37464,12 +37464,12 @@ }, { "constant": false, - "id": 3491, + "id": 2983, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62556:10:1", + "scope": 2989, + "src": "64330:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37477,10 +37477,10 @@ "typeString": "address" }, "typeName": { - "id": 3490, + "id": 2982, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62556:7:1", + "src": "64330:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37491,12 +37491,12 @@ }, { "constant": false, - "id": 3493, + "id": 2985, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62568:15:1", + "scope": 2989, + "src": "64342:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37504,10 +37504,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3492, + "id": 2984, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "62568:7:1", + "src": "64342:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37516,69 +37516,69 @@ "visibility": "internal" } ], - "src": "62541:43:1" + "src": "64315:43:0" }, "returnParameters": { - "id": 3495, + "id": 2987, "nodeType": "ParameterList", "parameters": [], - "src": "62602:0:1" + "src": "64376:0:0" }, - "scope": 3498, - "src": "62512:93:1", + "scope": 2990, + "src": "64286:93:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "46080:16527:1" + "scope": 2991, + "src": "47398:16984:0" } ], - "src": "84:62524:1" + "src": "87:64297:0" }, "legacyAST": { "attributes": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, "license": "MIT" @@ -37596,9 +37596,9 @@ ".0" ] }, - "id": 509, + "id": 1, "name": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "attributes": { @@ -37612,10 +37612,10 @@ "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", - "scope": 3499 + "scope": 2991 }, "children": [ { @@ -37627,7 +37627,7 @@ null ], "name": "_msgSender", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37640,9 +37640,9 @@ ] }, "children": [], - "id": 510, + "id": 2, "name": "ParameterList", - "src": "668:2:1" + "src": "684:2:0" }, { "children": [ @@ -37651,7 +37651,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 518, + "scope": 10, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -37664,25 +37664,25 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 511, + "id": 3, "name": "ElementaryTypeName", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 512, + "id": 4, "name": "VariableDeclaration", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 513, + "id": 5, "name": "ParameterList", - "src": "701:17:1" + "src": "717:17:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 513 + "functionReturnParameters": 5 }, "children": [ { @@ -37704,29 +37704,29 @@ "type": "msg", "value": "msg" }, - "id": 514, + "id": 6, "name": "Identifier", - "src": "736:3:1" + "src": "753:3:0" } ], - "id": 515, + "id": 7, "name": "MemberAccess", - "src": "736:10:1" + "src": "753:10:0" } ], - "id": 516, + "id": 8, "name": "Return", - "src": "729:17:1" + "src": "746:17:0" } ], - "id": 517, + "id": 9, "name": "Block", - "src": "719:34:1" + "src": "735:36:0" } ], - "id": 518, + "id": 10, "name": "FunctionDefinition", - "src": "649:104:1" + "src": "665:106:0" }, { "attributes": { @@ -37737,7 +37737,7 @@ null ], "name": "_msgData", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37750,9 +37750,9 @@ ] }, "children": [], - "id": 519, + "id": 11, "name": "ParameterList", - "src": "776:2:1" + "src": "796:2:0" }, { "children": [ @@ -37761,7 +37761,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 529, + "scope": 21, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -37773,19 +37773,19 @@ "name": "bytes", "type": "bytes" }, - "id": 520, + "id": 12, "name": "ElementaryTypeName", - "src": "810:5:1" + "src": "830:5:0" } ], - "id": 521, + "id": 13, "name": "VariableDeclaration", - "src": "810:12:1" + "src": "830:12:0" } ], - "id": 522, + "id": 14, "name": "ParameterList", - "src": "809:14:1" + "src": "829:14:0" }, { "children": [ @@ -37800,18 +37800,18 @@ "type": "contract Context", "value": "this" }, - "id": 523, + "id": 15, "name": "Identifier", - "src": "834:4:1" + "src": "855:4:0" } ], - "id": 524, + "id": 16, "name": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "attributes": { - "functionReturnParameters": 522 + "functionReturnParameters": 14 }, "children": [ { @@ -37833,34 +37833,34 @@ "type": "msg", "value": "msg" }, - "id": 525, + "id": 17, "name": "Identifier", - "src": "974:3:1" + "src": "996:3:0" } ], - "id": 526, + "id": 18, "name": "MemberAccess", - "src": "974:8:1" + "src": "996:8:0" } ], - "id": 527, + "id": 19, "name": "Return", - "src": "967:15:1" + "src": "989:15:0" } ], - "id": 528, + "id": 20, "name": "Block", - "src": "824:165:1" + "src": "844:168:0" } ], - "id": 529, + "id": 21, "name": "FunctionDefinition", - "src": "759:230:1" + "src": "779:233:0" } ], - "id": 530, + "id": 22, "name": "ContractDefinition", - "src": "617:374:1" + "src": "632:383:0" }, { "attributes": { @@ -37874,9 +37874,9 @@ ".0" ] }, - "id": 531, + "id": 23, "name": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "attributes": { @@ -37890,19 +37890,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, - "id": 532, + "id": 24, "name": "StructuredDocumentation", - "src": "1086:279:1" + "src": "1116:287:0" }, { "attributes": { @@ -37914,7 +37914,7 @@ null ], "name": "supportsInterface", - "scope": 541, + "scope": 33, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -37924,9 +37924,9 @@ "attributes": { "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, - "id": 533, + "id": 25, "name": "StructuredDocumentation", - "src": "1390:340:1" + "src": "1430:347:0" }, { "children": [ @@ -37935,7 +37935,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -37947,19 +37947,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 534, + "id": 26, "name": "ElementaryTypeName", - "src": "1762:6:1" + "src": "1810:6:0" } ], - "id": 535, + "id": 27, "name": "VariableDeclaration", - "src": "1762:18:1" + "src": "1810:18:0" } ], - "id": 536, + "id": 28, "name": "ParameterList", - "src": "1761:20:1" + "src": "1809:20:0" }, { "children": [ @@ -37968,7 +37968,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -37980,29 +37980,29 @@ "name": "bool", "type": "bool" }, - "id": 537, + "id": 29, "name": "ElementaryTypeName", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 538, + "id": 30, "name": "VariableDeclaration", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 539, + "id": 31, "name": "ParameterList", - "src": "1804:6:1" + "src": "1852:6:0" } ], - "id": 540, + "id": 32, "name": "FunctionDefinition", - "src": "1735:76:1" + "src": "1783:76:0" } ], - "id": 541, + "id": 33, "name": "ContractDefinition", - "src": "1366:447:1" + "src": "1405:457:0" }, { "attributes": { @@ -38016,33 +38016,33 @@ ".0" ] }, - "id": 542, + "id": 34, "name": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Required interface of an ERC721 compliant contract." }, - "id": 543, + "id": 35, "name": "StructuredDocumentation", - "src": "1907:67:1" + "src": "1962:69:0" }, { "attributes": {}, @@ -38050,17 +38050,17 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 544, + "id": 36, "name": "UserDefinedTypeName", - "src": "1996:7:1" + "src": "2054:7:0" } ], - "id": 545, + "id": 37, "name": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" }, { "attributes": { @@ -38072,9 +38072,9 @@ "attributes": { "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 546, + "id": 38, "name": "StructuredDocumentation", - "src": "2010:88:1" + "src": "2069:90:0" }, { "children": [ @@ -38084,7 +38084,7 @@ "indexed": true, "mutability": "mutable", "name": "from", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38097,14 +38097,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 547, + "id": 39, "name": "ElementaryTypeName", - "src": "2118:7:1" + "src": "2180:7:0" } ], - "id": 548, + "id": 40, "name": "VariableDeclaration", - "src": "2118:20:1" + "src": "2180:20:0" }, { "attributes": { @@ -38112,7 +38112,7 @@ "indexed": true, "mutability": "mutable", "name": "to", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38125,14 +38125,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 549, + "id": 41, "name": "ElementaryTypeName", - "src": "2140:7:1" + "src": "2202:7:0" } ], - "id": 550, + "id": 42, "name": "VariableDeclaration", - "src": "2140:18:1" + "src": "2202:18:0" }, { "attributes": { @@ -38140,7 +38140,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38152,24 +38152,24 @@ "name": "uint256", "type": "uint256" }, - "id": 551, + "id": 43, "name": "ElementaryTypeName", - "src": "2160:7:1" + "src": "2222:7:0" } ], - "id": 552, + "id": 44, "name": "VariableDeclaration", - "src": "2160:23:1" + "src": "2222:23:0" } ], - "id": 553, + "id": 45, "name": "ParameterList", - "src": "2117:67:1" + "src": "2179:67:0" } ], - "id": 554, + "id": 46, "name": "EventDefinition", - "src": "2103:82:1" + "src": "2165:82:0" }, { "attributes": { @@ -38181,9 +38181,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 555, + "id": 47, "name": "StructuredDocumentation", - "src": "2191:94:1" + "src": "2255:96:0" }, { "children": [ @@ -38193,7 +38193,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38206,14 +38206,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 556, + "id": 48, "name": "ElementaryTypeName", - "src": "2305:7:1" + "src": "2372:7:0" } ], - "id": 557, + "id": 49, "name": "VariableDeclaration", - "src": "2305:21:1" + "src": "2372:21:0" }, { "attributes": { @@ -38221,7 +38221,7 @@ "indexed": true, "mutability": "mutable", "name": "approved", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38234,14 +38234,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 558, + "id": 50, "name": "ElementaryTypeName", - "src": "2328:7:1" + "src": "2395:7:0" } ], - "id": 559, + "id": 51, "name": "VariableDeclaration", - "src": "2328:24:1" + "src": "2395:24:0" }, { "attributes": { @@ -38249,7 +38249,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38261,24 +38261,24 @@ "name": "uint256", "type": "uint256" }, - "id": 560, + "id": 52, "name": "ElementaryTypeName", - "src": "2354:7:1" + "src": "2421:7:0" } ], - "id": 561, + "id": 53, "name": "VariableDeclaration", - "src": "2354:23:1" + "src": "2421:23:0" } ], - "id": 562, + "id": 54, "name": "ParameterList", - "src": "2304:74:1" + "src": "2371:74:0" } ], - "id": 563, + "id": 55, "name": "EventDefinition", - "src": "2290:89:1" + "src": "2357:89:0" }, { "attributes": { @@ -38290,9 +38290,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 564, + "id": 56, "name": "StructuredDocumentation", - "src": "2385:117:1" + "src": "2454:119:0" }, { "children": [ @@ -38302,7 +38302,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38315,14 +38315,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 565, + "id": 57, "name": "ElementaryTypeName", - "src": "2528:7:1" + "src": "2600:7:0" } ], - "id": 566, + "id": 58, "name": "VariableDeclaration", - "src": "2528:21:1" + "src": "2600:21:0" }, { "attributes": { @@ -38330,7 +38330,7 @@ "indexed": true, "mutability": "mutable", "name": "operator", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38343,14 +38343,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 567, + "id": 59, "name": "ElementaryTypeName", - "src": "2551:7:1" + "src": "2623:7:0" } ], - "id": 568, + "id": 60, "name": "VariableDeclaration", - "src": "2551:24:1" + "src": "2623:24:0" }, { "attributes": { @@ -38358,7 +38358,7 @@ "indexed": false, "mutability": "mutable", "name": "approved", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38370,24 +38370,24 @@ "name": "bool", "type": "bool" }, - "id": 569, + "id": 61, "name": "ElementaryTypeName", - "src": "2577:4:1" + "src": "2649:4:0" } ], - "id": 570, + "id": 62, "name": "VariableDeclaration", - "src": "2577:13:1" + "src": "2649:13:0" } ], - "id": 571, + "id": 63, "name": "ParameterList", - "src": "2527:64:1" + "src": "2599:64:0" } ], - "id": 572, + "id": 64, "name": "EventDefinition", - "src": "2507:85:1" + "src": "2579:85:0" }, { "attributes": { @@ -38399,7 +38399,7 @@ null ], "name": "balanceOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38409,9 +38409,9 @@ "attributes": { "text": " @dev Returns the number of tokens in ``owner``'s account." }, - "id": 573, + "id": 65, "name": "StructuredDocumentation", - "src": "2598:76:1" + "src": "2672:78:0" }, { "children": [ @@ -38420,7 +38420,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38433,19 +38433,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 574, + "id": 66, "name": "ElementaryTypeName", - "src": "2698:7:1" + "src": "2775:7:0" } ], - "id": 575, + "id": 67, "name": "VariableDeclaration", - "src": "2698:13:1" + "src": "2775:13:0" } ], - "id": 576, + "id": 68, "name": "ParameterList", - "src": "2697:15:1" + "src": "2774:15:0" }, { "children": [ @@ -38454,7 +38454,7 @@ "constant": false, "mutability": "mutable", "name": "balance", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38466,24 +38466,24 @@ "name": "uint256", "type": "uint256" }, - "id": 577, + "id": 69, "name": "ElementaryTypeName", - "src": "2736:7:1" + "src": "2813:7:0" } ], - "id": 578, + "id": 70, "name": "VariableDeclaration", - "src": "2736:15:1" + "src": "2813:15:0" } ], - "id": 579, + "id": 71, "name": "ParameterList", - "src": "2735:17:1" + "src": "2812:17:0" } ], - "id": 580, + "id": 72, "name": "FunctionDefinition", - "src": "2679:74:1" + "src": "2756:74:0" }, { "attributes": { @@ -38495,7 +38495,7 @@ null ], "name": "ownerOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38505,9 +38505,9 @@ "attributes": { "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 581, + "id": 73, "name": "StructuredDocumentation", - "src": "2759:131:1" + "src": "2838:137:0" }, { "children": [ @@ -38516,7 +38516,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38528,19 +38528,19 @@ "name": "uint256", "type": "uint256" }, - "id": 582, + "id": 74, "name": "ElementaryTypeName", - "src": "2912:7:1" + "src": "2998:7:0" } ], - "id": 583, + "id": 75, "name": "VariableDeclaration", - "src": "2912:15:1" + "src": "2998:15:0" } ], - "id": 584, + "id": 76, "name": "ParameterList", - "src": "2911:17:1" + "src": "2997:17:0" }, { "children": [ @@ -38549,7 +38549,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38562,24 +38562,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 585, + "id": 77, "name": "ElementaryTypeName", - "src": "2952:7:1" + "src": "3038:7:0" } ], - "id": 586, + "id": 78, "name": "VariableDeclaration", - "src": "2952:13:1" + "src": "3038:13:0" } ], - "id": 587, + "id": 79, "name": "ParameterList", - "src": "2951:15:1" + "src": "3037:15:0" } ], - "id": 588, + "id": 80, "name": "FunctionDefinition", - "src": "2895:72:1" + "src": "2981:72:0" }, { "attributes": { @@ -38591,7 +38591,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38601,9 +38601,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 589, + "id": 81, "name": "StructuredDocumentation", - "src": "2973:690:1" + "src": "3061:703:0" }, { "children": [ @@ -38612,7 +38612,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38625,21 +38625,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 590, + "id": 82, "name": "ElementaryTypeName", - "src": "3694:7:1" + "src": "3796:7:0" } ], - "id": 591, + "id": 83, "name": "VariableDeclaration", - "src": "3694:12:1" + "src": "3796:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38652,21 +38652,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 592, + "id": 84, "name": "ElementaryTypeName", - "src": "3708:7:1" + "src": "3810:7:0" } ], - "id": 593, + "id": 85, "name": "VariableDeclaration", - "src": "3708:10:1" + "src": "3810:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38678,19 +38678,19 @@ "name": "uint256", "type": "uint256" }, - "id": 594, + "id": 86, "name": "ElementaryTypeName", - "src": "3720:7:1" + "src": "3822:7:0" } ], - "id": 595, + "id": 87, "name": "VariableDeclaration", - "src": "3720:15:1" + "src": "3822:15:0" } ], - "id": 596, + "id": 88, "name": "ParameterList", - "src": "3693:43:1" + "src": "3795:43:0" }, { "attributes": { @@ -38699,14 +38699,14 @@ ] }, "children": [], - "id": 597, + "id": 89, "name": "ParameterList", - "src": "3745:0:1" + "src": "3847:0:0" } ], - "id": 598, + "id": 90, "name": "FunctionDefinition", - "src": "3668:78:1" + "src": "3770:78:0" }, { "attributes": { @@ -38718,7 +38718,7 @@ null ], "name": "transferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38728,9 +38728,9 @@ "attributes": { "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, - "id": 599, + "id": 91, "name": "StructuredDocumentation", - "src": "3752:504:1" + "src": "3856:517:0" }, { "children": [ @@ -38739,7 +38739,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38752,21 +38752,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 600, + "id": 92, "name": "ElementaryTypeName", - "src": "4283:7:1" + "src": "4401:7:0" } ], - "id": 601, + "id": 93, "name": "VariableDeclaration", - "src": "4283:12:1" + "src": "4401:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38779,21 +38779,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 602, + "id": 94, "name": "ElementaryTypeName", - "src": "4297:7:1" + "src": "4415:7:0" } ], - "id": 603, + "id": 95, "name": "VariableDeclaration", - "src": "4297:10:1" + "src": "4415:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38805,19 +38805,19 @@ "name": "uint256", "type": "uint256" }, - "id": 604, + "id": 96, "name": "ElementaryTypeName", - "src": "4309:7:1" + "src": "4427:7:0" } ], - "id": 605, + "id": 97, "name": "VariableDeclaration", - "src": "4309:15:1" + "src": "4427:15:0" } ], - "id": 606, + "id": 98, "name": "ParameterList", - "src": "4282:43:1" + "src": "4400:43:0" }, { "attributes": { @@ -38826,14 +38826,14 @@ ] }, "children": [], - "id": 607, + "id": 99, "name": "ParameterList", - "src": "4334:0:1" + "src": "4452:0:0" } ], - "id": 608, + "id": 100, "name": "FunctionDefinition", - "src": "4261:74:1" + "src": "4379:74:0" }, { "attributes": { @@ -38845,7 +38845,7 @@ null ], "name": "approve", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38855,9 +38855,9 @@ "attributes": { "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, - "id": 609, + "id": 101, "name": "StructuredDocumentation", - "src": "4341:452:1" + "src": "4461:464:0" }, { "children": [ @@ -38866,7 +38866,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38879,21 +38879,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 610, + "id": 102, "name": "ElementaryTypeName", - "src": "4815:7:1" + "src": "4948:7:0" } ], - "id": 611, + "id": 103, "name": "VariableDeclaration", - "src": "4815:10:1" + "src": "4948:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38905,19 +38905,19 @@ "name": "uint256", "type": "uint256" }, - "id": 612, + "id": 104, "name": "ElementaryTypeName", - "src": "4827:7:1" + "src": "4960:7:0" } ], - "id": 613, + "id": 105, "name": "VariableDeclaration", - "src": "4827:15:1" + "src": "4960:15:0" } ], - "id": 614, + "id": 106, "name": "ParameterList", - "src": "4814:29:1" + "src": "4947:29:0" }, { "attributes": { @@ -38926,14 +38926,14 @@ ] }, "children": [], - "id": 615, + "id": 107, "name": "ParameterList", - "src": "4852:0:1" + "src": "4985:0:0" } ], - "id": 616, + "id": 108, "name": "FunctionDefinition", - "src": "4798:55:1" + "src": "4931:55:0" }, { "attributes": { @@ -38945,7 +38945,7 @@ null ], "name": "getApproved", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38955,9 +38955,9 @@ "attributes": { "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 617, + "id": 109, "name": "StructuredDocumentation", - "src": "4859:139:1" + "src": "4994:145:0" }, { "children": [ @@ -38966,7 +38966,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38978,19 +38978,19 @@ "name": "uint256", "type": "uint256" }, - "id": 618, + "id": 110, "name": "ElementaryTypeName", - "src": "5024:7:1" + "src": "5166:7:0" } ], - "id": 619, + "id": 111, "name": "VariableDeclaration", - "src": "5024:15:1" + "src": "5166:15:0" } ], - "id": 620, + "id": 112, "name": "ParameterList", - "src": "5023:17:1" + "src": "5165:17:0" }, { "children": [ @@ -38999,7 +38999,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39012,24 +39012,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 621, + "id": 113, "name": "ElementaryTypeName", - "src": "5064:7:1" + "src": "5206:7:0" } ], - "id": 622, + "id": 114, "name": "VariableDeclaration", - "src": "5064:16:1" + "src": "5206:16:0" } ], - "id": 623, + "id": 115, "name": "ParameterList", - "src": "5063:18:1" + "src": "5205:18:0" } ], - "id": 624, + "id": 116, "name": "FunctionDefinition", - "src": "5003:79:1" + "src": "5145:79:0" }, { "attributes": { @@ -39041,7 +39041,7 @@ null ], "name": "setApprovalForAll", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -39051,9 +39051,9 @@ "attributes": { "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, - "id": 625, + "id": 117, "name": "StructuredDocumentation", - "src": "5088:309:1" + "src": "5232:318:0" }, { "children": [ @@ -39062,7 +39062,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39075,21 +39075,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 626, + "id": 118, "name": "ElementaryTypeName", - "src": "5429:7:1" + "src": "5583:7:0" } ], - "id": 627, + "id": 119, "name": "VariableDeclaration", - "src": "5429:16:1" + "src": "5583:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_approved", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -39101,19 +39101,19 @@ "name": "bool", "type": "bool" }, - "id": 628, + "id": 120, "name": "ElementaryTypeName", - "src": "5447:4:1" + "src": "5601:4:0" } ], - "id": 629, + "id": 121, "name": "VariableDeclaration", - "src": "5447:14:1" + "src": "5601:14:0" } ], - "id": 630, + "id": 122, "name": "ParameterList", - "src": "5428:34:1" + "src": "5582:34:0" }, { "attributes": { @@ -39122,14 +39122,14 @@ ] }, "children": [], - "id": 631, + "id": 123, "name": "ParameterList", - "src": "5471:0:1" + "src": "5625:0:0" } ], - "id": 632, + "id": 124, "name": "FunctionDefinition", - "src": "5402:70:1" + "src": "5556:70:0" }, { "attributes": { @@ -39141,7 +39141,7 @@ null ], "name": "isApprovedForAll", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39151,9 +39151,9 @@ "attributes": { "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, - "id": 633, + "id": 125, "name": "StructuredDocumentation", - "src": "5478:138:1" + "src": "5634:142:0" }, { "children": [ @@ -39162,7 +39162,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39175,21 +39175,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 634, + "id": 126, "name": "ElementaryTypeName", - "src": "5647:7:1" + "src": "5808:7:0" } ], - "id": 635, + "id": 127, "name": "VariableDeclaration", - "src": "5647:13:1" + "src": "5808:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39202,19 +39202,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 636, + "id": 128, "name": "ElementaryTypeName", - "src": "5662:7:1" + "src": "5823:7:0" } ], - "id": 637, + "id": 129, "name": "VariableDeclaration", - "src": "5662:16:1" + "src": "5823:16:0" } ], - "id": 638, + "id": 130, "name": "ParameterList", - "src": "5646:33:1" + "src": "5807:33:0" }, { "children": [ @@ -39223,7 +39223,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -39235,24 +39235,24 @@ "name": "bool", "type": "bool" }, - "id": 639, + "id": 131, "name": "ElementaryTypeName", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 640, + "id": 132, "name": "VariableDeclaration", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 641, + "id": 133, "name": "ParameterList", - "src": "5702:6:1" + "src": "5863:6:0" } ], - "id": 642, + "id": 134, "name": "FunctionDefinition", - "src": "5621:88:1" + "src": "5782:88:0" }, { "attributes": { @@ -39264,7 +39264,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -39274,9 +39274,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 643, + "id": 135, "name": "StructuredDocumentation", - "src": "5715:568:1" + "src": "5878:580:0" }, { "children": [ @@ -39285,7 +39285,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39298,21 +39298,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 644, + "id": 136, "name": "ElementaryTypeName", - "src": "6314:7:1" + "src": "6490:7:0" } ], - "id": 645, + "id": 137, "name": "VariableDeclaration", - "src": "6314:12:1" + "src": "6490:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39325,21 +39325,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 646, + "id": 138, "name": "ElementaryTypeName", - "src": "6328:7:1" + "src": "6504:7:0" } ], - "id": 647, + "id": 139, "name": "VariableDeclaration", - "src": "6328:10:1" + "src": "6504:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39351,21 +39351,21 @@ "name": "uint256", "type": "uint256" }, - "id": 648, + "id": 140, "name": "ElementaryTypeName", - "src": "6340:7:1" + "src": "6516:7:0" } ], - "id": 649, + "id": 141, "name": "VariableDeclaration", - "src": "6340:15:1" + "src": "6516:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39377,19 +39377,19 @@ "name": "bytes", "type": "bytes" }, - "id": 650, + "id": 142, "name": "ElementaryTypeName", - "src": "6357:5:1" + "src": "6533:5:0" } ], - "id": 651, + "id": 143, "name": "VariableDeclaration", - "src": "6357:19:1" + "src": "6533:19:0" } ], - "id": 652, + "id": 144, "name": "ParameterList", - "src": "6313:64:1" + "src": "6489:64:0" }, { "attributes": { @@ -39398,19 +39398,19 @@ ] }, "children": [], - "id": 653, + "id": 145, "name": "ParameterList", - "src": "6386:0:1" + "src": "6562:0:0" } ], - "id": 654, + "id": 146, "name": "FunctionDefinition", - "src": "6288:99:1" + "src": "6464:99:0" } ], - "id": 655, + "id": 147, "name": "ContractDefinition", - "src": "1975:4414:1" + "src": "2033:4533:0" }, { "attributes": { @@ -39424,35 +39424,35 @@ ".0" ] }, - "id": 656, + "id": 148, "name": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 657, + "id": 149, "name": "StructuredDocumentation", - "src": "6491:133:1" + "src": "6674:136:0" }, { "attributes": {}, @@ -39460,17 +39460,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 658, + "id": 150, "name": "UserDefinedTypeName", - "src": "6654:7:1" + "src": "6841:7:0" } ], - "id": 659, + "id": 151, "name": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" }, { "attributes": { @@ -39482,7 +39482,7 @@ null ], "name": "name", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39492,9 +39492,9 @@ "attributes": { "text": " @dev Returns the token collection name." }, - "id": 660, + "id": 152, "name": "StructuredDocumentation", - "src": "6669:58:1" + "src": "6858:60:0" }, { "attributes": { @@ -39503,9 +39503,9 @@ ] }, "children": [], - "id": 661, + "id": 153, "name": "ParameterList", - "src": "6745:2:1" + "src": "6937:2:0" }, { "children": [ @@ -39514,7 +39514,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 665, + "scope": 157, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39526,24 +39526,24 @@ "name": "string", "type": "string" }, - "id": 662, + "id": 154, "name": "ElementaryTypeName", - "src": "6771:6:1" + "src": "6963:6:0" } ], - "id": 663, + "id": 155, "name": "VariableDeclaration", - "src": "6771:13:1" + "src": "6963:13:0" } ], - "id": 664, + "id": 156, "name": "ParameterList", - "src": "6770:15:1" + "src": "6962:15:0" } ], - "id": 665, + "id": 157, "name": "FunctionDefinition", - "src": "6732:54:1" + "src": "6924:54:0" }, { "attributes": { @@ -39555,7 +39555,7 @@ null ], "name": "symbol", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39565,9 +39565,9 @@ "attributes": { "text": " @dev Returns the token collection symbol." }, - "id": 666, + "id": 158, "name": "StructuredDocumentation", - "src": "6792:60:1" + "src": "6986:62:0" }, { "attributes": { @@ -39576,9 +39576,9 @@ ] }, "children": [], - "id": 667, + "id": 159, "name": "ParameterList", - "src": "6872:2:1" + "src": "7069:2:0" }, { "children": [ @@ -39587,7 +39587,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 671, + "scope": 163, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39599,24 +39599,24 @@ "name": "string", "type": "string" }, - "id": 668, + "id": 160, "name": "ElementaryTypeName", - "src": "6898:6:1" + "src": "7095:6:0" } ], - "id": 669, + "id": 161, "name": "VariableDeclaration", - "src": "6898:13:1" + "src": "7095:13:0" } ], - "id": 670, + "id": 162, "name": "ParameterList", - "src": "6897:15:1" + "src": "7094:15:0" } ], - "id": 671, + "id": 163, "name": "FunctionDefinition", - "src": "6857:56:1" + "src": "7054:56:0" }, { "attributes": { @@ -39628,7 +39628,7 @@ null ], "name": "tokenURI", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39638,9 +39638,9 @@ "attributes": { "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, - "id": 672, + "id": 164, "name": "StructuredDocumentation", - "src": "6919:90:1" + "src": "7118:92:0" }, { "children": [ @@ -39649,7 +39649,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39661,19 +39661,19 @@ "name": "uint256", "type": "uint256" }, - "id": 673, + "id": 165, "name": "ElementaryTypeName", - "src": "7032:7:1" + "src": "7234:7:0" } ], - "id": 674, + "id": 166, "name": "VariableDeclaration", - "src": "7032:15:1" + "src": "7234:15:0" } ], - "id": 675, + "id": 167, "name": "ParameterList", - "src": "7031:17:1" + "src": "7233:17:0" }, { "children": [ @@ -39682,7 +39682,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39694,29 +39694,29 @@ "name": "string", "type": "string" }, - "id": 676, + "id": 168, "name": "ElementaryTypeName", - "src": "7072:6:1" + "src": "7274:6:0" } ], - "id": 677, + "id": 169, "name": "VariableDeclaration", - "src": "7072:13:1" + "src": "7274:13:0" } ], - "id": 678, + "id": 170, "name": "ParameterList", - "src": "7071:15:1" + "src": "7273:15:0" } ], - "id": 679, + "id": 171, "name": "FunctionDefinition", - "src": "7014:73:1" + "src": "7216:73:0" } ], - "id": 680, + "id": 172, "name": "ContractDefinition", - "src": "6625:464:1" + "src": "6812:480:0" }, { "attributes": { @@ -39730,35 +39730,35 @@ ".0" ] }, - "id": 681, + "id": 173, "name": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 682, + "id": 174, "name": "StructuredDocumentation", - "src": "7195:136:1" + "src": "7406:139:0" }, { "attributes": {}, @@ -39766,17 +39766,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 683, + "id": 175, "name": "UserDefinedTypeName", - "src": "7363:7:1" + "src": "7578:7:0" } ], - "id": 684, + "id": 176, "name": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" }, { "attributes": { @@ -39788,7 +39788,7 @@ null ], "name": "totalSupply", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39798,9 +39798,9 @@ "attributes": { "text": " @dev Returns the total amount of tokens stored by the contract." }, - "id": 685, + "id": 177, "name": "StructuredDocumentation", - "src": "7378:82:1" + "src": "7595:84:0" }, { "attributes": { @@ -39809,9 +39809,9 @@ ] }, "children": [], - "id": 686, + "id": 178, "name": "ParameterList", - "src": "7485:2:1" + "src": "7705:2:0" }, { "children": [ @@ -39820,7 +39820,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 690, + "scope": 182, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39832,24 +39832,24 @@ "name": "uint256", "type": "uint256" }, - "id": 687, + "id": 179, "name": "ElementaryTypeName", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 688, + "id": 180, "name": "VariableDeclaration", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 689, + "id": 181, "name": "ParameterList", - "src": "7510:9:1" + "src": "7730:9:0" } ], - "id": 690, + "id": 182, "name": "FunctionDefinition", - "src": "7465:55:1" + "src": "7685:55:0" }, { "attributes": { @@ -39861,7 +39861,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39871,9 +39871,9 @@ "attributes": { "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, - "id": 691, + "id": 183, "name": "StructuredDocumentation", - "src": "7526:171:1" + "src": "7748:174:0" }, { "children": [ @@ -39882,7 +39882,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39895,21 +39895,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 692, + "id": 184, "name": "ElementaryTypeName", - "src": "7731:7:1" + "src": "7957:7:0" } ], - "id": 693, + "id": 185, "name": "VariableDeclaration", - "src": "7731:13:1" + "src": "7957:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39921,19 +39921,19 @@ "name": "uint256", "type": "uint256" }, - "id": 694, + "id": 186, "name": "ElementaryTypeName", - "src": "7746:7:1" + "src": "7972:7:0" } ], - "id": 695, + "id": 187, "name": "VariableDeclaration", - "src": "7746:13:1" + "src": "7972:13:0" } ], - "id": 696, + "id": 188, "name": "ParameterList", - "src": "7730:30:1" + "src": "7956:30:0" }, { "children": [ @@ -39942,7 +39942,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39954,24 +39954,24 @@ "name": "uint256", "type": "uint256" }, - "id": 697, + "id": 189, "name": "ElementaryTypeName", - "src": "7784:7:1" + "src": "8010:7:0" } ], - "id": 698, + "id": 190, "name": "VariableDeclaration", - "src": "7784:15:1" + "src": "8010:15:0" } ], - "id": 699, + "id": 191, "name": "ParameterList", - "src": "7783:17:1" + "src": "8009:17:0" } ], - "id": 700, + "id": 192, "name": "FunctionDefinition", - "src": "7702:99:1" + "src": "7928:99:0" }, { "attributes": { @@ -39983,7 +39983,7 @@ null ], "name": "tokenByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39993,9 +39993,9 @@ "attributes": { "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, - "id": 701, + "id": 193, "name": "StructuredDocumentation", - "src": "7807:164:1" + "src": "8035:167:0" }, { "children": [ @@ -40004,7 +40004,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40016,19 +40016,19 @@ "name": "uint256", "type": "uint256" }, - "id": 702, + "id": 194, "name": "ElementaryTypeName", - "src": "7998:7:1" + "src": "8230:7:0" } ], - "id": 703, + "id": 195, "name": "VariableDeclaration", - "src": "7998:13:1" + "src": "8230:13:0" } ], - "id": 704, + "id": 196, "name": "ParameterList", - "src": "7997:15:1" + "src": "8229:15:0" }, { "children": [ @@ -40037,7 +40037,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40049,29 +40049,29 @@ "name": "uint256", "type": "uint256" }, - "id": 705, + "id": 197, "name": "ElementaryTypeName", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 706, + "id": 198, "name": "VariableDeclaration", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 707, + "id": 199, "name": "ParameterList", - "src": "8035:9:1" + "src": "8267:9:0" } ], - "id": 708, + "id": 200, "name": "FunctionDefinition", - "src": "7976:69:1" + "src": "8208:69:0" } ], - "id": 709, + "id": 201, "name": "ContractDefinition", - "src": "7332:715:1" + "src": "7547:733:0" }, { "attributes": { @@ -40085,9 +40085,9 @@ ".0" ] }, - "id": 710, + "id": 202, "name": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "attributes": { @@ -40101,19 +40101,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, - "id": 711, + "id": 203, "name": "StructuredDocumentation", - "src": "8150:152:1" + "src": "8390:156:0" }, { "attributes": { @@ -40125,7 +40125,7 @@ null ], "name": "onERC721Received", - "scope": 726, + "scope": 218, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -40135,9 +40135,9 @@ "attributes": { "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, - "id": 712, + "id": 204, "name": "StructuredDocumentation", - "src": "8335:485:1" + "src": "8581:493:0" }, { "children": [ @@ -40146,7 +40146,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -40159,21 +40159,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 713, + "id": 205, "name": "ElementaryTypeName", - "src": "8851:7:1" + "src": "9106:7:0" } ], - "id": 714, + "id": 206, "name": "VariableDeclaration", - "src": "8851:16:1" + "src": "9106:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "from", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -40186,21 +40186,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 715, + "id": 207, "name": "ElementaryTypeName", - "src": "8869:7:1" + "src": "9124:7:0" } ], - "id": 716, + "id": 208, "name": "VariableDeclaration", - "src": "8869:12:1" + "src": "9124:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40212,21 +40212,21 @@ "name": "uint256", "type": "uint256" }, - "id": 717, + "id": 209, "name": "ElementaryTypeName", - "src": "8883:7:1" + "src": "9138:7:0" } ], - "id": 718, + "id": 210, "name": "VariableDeclaration", - "src": "8883:15:1" + "src": "9138:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -40238,19 +40238,19 @@ "name": "bytes", "type": "bytes" }, - "id": 719, + "id": 211, "name": "ElementaryTypeName", - "src": "8900:5:1" + "src": "9155:5:0" } ], - "id": 720, + "id": 212, "name": "VariableDeclaration", - "src": "8900:19:1" + "src": "9155:19:0" } ], - "id": 721, + "id": 213, "name": "ParameterList", - "src": "8850:70:1" + "src": "9105:70:0" }, { "children": [ @@ -40259,7 +40259,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40271,29 +40271,29 @@ "name": "bytes4", "type": "bytes4" }, - "id": 722, + "id": 214, "name": "ElementaryTypeName", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 723, + "id": 215, "name": "VariableDeclaration", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 724, + "id": 216, "name": "ParameterList", - "src": "8938:8:1" + "src": "9193:8:0" } ], - "id": 725, + "id": 217, "name": "FunctionDefinition", - "src": "8825:122:1" + "src": "9080:122:0" } ], - "id": 726, + "id": 218, "name": "ContractDefinition", - "src": "8303:646:1" + "src": "8548:657:0" }, { "attributes": { @@ -40307,33 +40307,33 @@ ".0" ] }, - "id": 727, + "id": 219, "name": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "attributes": { "abstract": true, "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, - "id": 728, + "id": 220, "name": "StructuredDocumentation", - "src": "9043:171:1" + "src": "9305:176:0" }, { "attributes": {}, @@ -40341,24 +40341,24 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 729, + "id": 221, "name": "UserDefinedTypeName", - "src": "9243:7:1" + "src": "9511:7:0" } ], - "id": 730, + "id": 222, "name": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -40370,9 +40370,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 731, + "id": 223, "name": "ElementaryTypeName", - "src": "9340:6:1" + "src": "9612:6:0" }, { "attributes": { @@ -40385,21 +40385,21 @@ "type": "int_const 33540519", "value": "0x01ffc9a7" }, - "id": 732, + "id": 224, "name": "Literal", - "src": "9387:10:1" + "src": "9659:10:0" } ], - "id": 733, + "id": 225, "name": "VariableDeclaration", - "src": "9340:57:1" + "src": "9612:57:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_supportedInterfaces", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "mapping(bytes4 => bool)", @@ -40416,36 +40416,36 @@ "name": "bytes4", "type": "bytes4" }, - "id": 735, + "id": 227, "name": "ElementaryTypeName", - "src": "9499:6:1" + "src": "9776:6:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 736, + "id": 228, "name": "ElementaryTypeName", - "src": "9509:4:1" + "src": "9786:4:0" } ], - "id": 737, + "id": 229, "name": "Mapping", - "src": "9491:23:1" + "src": "9768:23:0" }, { "attributes": { "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 734, + "id": 226, "name": "StructuredDocumentation", - "src": "9404:82:1" + "src": "9678:84:0" } ], - "id": 738, + "id": 230, "name": "VariableDeclaration", - "src": "9491:52:1" + "src": "9768:52:0" }, { "attributes": { @@ -40456,7 +40456,7 @@ null ], "name": "", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -40469,9 +40469,9 @@ ] }, "children": [], - "id": 739, + "id": 231, "name": "ParameterList", - "src": "9562:2:1" + "src": "9841:2:0" }, { "attributes": { @@ -40480,9 +40480,9 @@ ] }, "children": [], - "id": 740, + "id": 232, "name": "ParameterList", - "src": "9565:0:1" + "src": "9844:0:0" }, { "children": [ @@ -40514,51 +40514,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 741, + "id": 233, "name": "Identifier", - "src": "9711:18:1" + "src": "9993:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 733, + "referencedDeclaration": 225, "type": "bytes4", "value": "_INTERFACE_ID_ERC165" }, - "id": 742, + "id": 234, "name": "Identifier", - "src": "9730:20:1" + "src": "10012:20:0" } ], - "id": 743, + "id": 235, "name": "FunctionCall", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 744, + "id": 236, "name": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 745, + "id": 237, "name": "Block", - "src": "9565:193:1" + "src": "9844:197:0" } ], - "id": 746, + "id": 238, "name": "FunctionDefinition", - "src": "9550:208:1" + "src": "9829:212:0" }, { "attributes": { "baseFunctions": [ - 540 + 32 ], "functionSelector": "01ffc9a7", "implemented": true, @@ -40568,7 +40568,7 @@ null ], "name": "supportsInterface", - "scope": 781, + "scope": 273, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -40578,9 +40578,9 @@ "attributes": { "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, - "id": 747, + "id": 239, "name": "StructuredDocumentation", - "src": "9764:139:1" + "src": "10049:143:0" }, { "attributes": { @@ -40588,9 +40588,9 @@ null ] }, - "id": 751, + "id": 243, "name": "OverrideSpecifier", - "src": "9975:8:1" + "src": "10265:8:0" }, { "children": [ @@ -40599,7 +40599,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40611,19 +40611,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 748, + "id": 240, "name": "ElementaryTypeName", - "src": "9935:6:1" + "src": "10225:6:0" } ], - "id": 749, + "id": 241, "name": "VariableDeclaration", - "src": "9935:18:1" + "src": "10225:18:0" } ], - "id": 750, + "id": 242, "name": "ParameterList", - "src": "9934:20:1" + "src": "10224:20:0" }, { "children": [ @@ -40632,7 +40632,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40644,25 +40644,25 @@ "name": "bool", "type": "bool" }, - "id": 752, + "id": 244, "name": "ElementaryTypeName", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 753, + "id": 245, "name": "VariableDeclaration", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 754, + "id": 246, "name": "ParameterList", - "src": "9992:6:1" + "src": "10282:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 754 + "functionReturnParameters": 246 }, "children": [ { @@ -40679,46 +40679,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 755, + "id": 247, "name": "Identifier", - "src": "10016:20:1" + "src": "10307:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 749, + "referencedDeclaration": 241, "type": "bytes4", "value": "interfaceId" }, - "id": 756, + "id": 248, "name": "Identifier", - "src": "10037:11:1" + "src": "10328:11:0" } ], - "id": 757, + "id": 249, "name": "IndexAccess", - "src": "10016:33:1" + "src": "10307:33:0" } ], - "id": 758, + "id": 250, "name": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ], - "id": 759, + "id": 251, "name": "Block", - "src": "9999:57:1" + "src": "10289:59:0" } ], - "id": 760, + "id": 252, "name": "FunctionDefinition", - "src": "9908:148:1" + "src": "10198:150:0" }, { "attributes": { @@ -40729,7 +40729,7 @@ null ], "name": "_registerInterface", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -40739,9 +40739,9 @@ "attributes": { "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 761, + "id": 253, "name": "StructuredDocumentation", - "src": "10062:383:1" + "src": "10356:393:0" }, { "children": [ @@ -40750,7 +40750,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 780, + "scope": 272, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40762,19 +40762,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 762, + "id": 254, "name": "ElementaryTypeName", - "src": "10478:6:1" + "src": "10783:6:0" } ], - "id": 763, + "id": 255, "name": "VariableDeclaration", - "src": "10478:18:1" + "src": "10783:18:0" } ], - "id": 764, + "id": 256, "name": "ParameterList", - "src": "10477:20:1" + "src": "10782:20:0" }, { "attributes": { @@ -40783,9 +40783,9 @@ ] }, "children": [], - "id": 765, + "id": 257, "name": "ParameterList", - "src": "10515:0:1" + "src": "10820:0:0" }, { "children": [ @@ -40826,9 +40826,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 766, + "id": 258, "name": "Identifier", - "src": "10525:7:1" + "src": "10831:7:0" }, { "attributes": { @@ -40849,13 +40849,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 767, + "id": 259, "name": "Identifier", - "src": "10533:11:1" + "src": "10839:11:0" }, { "attributes": { @@ -40868,14 +40868,14 @@ "type": "int_const 4294967295", "value": "0xffffffff" }, - "id": 768, + "id": 260, "name": "Literal", - "src": "10548:10:1" + "src": "10854:10:0" } ], - "id": 769, + "id": 261, "name": "BinaryOperation", - "src": "10533:25:1" + "src": "10839:25:0" }, { "attributes": { @@ -40888,19 +40888,19 @@ "type": "literal_string \"ERC165: invalid interface id\"", "value": "ERC165: invalid interface id" }, - "id": 770, + "id": 262, "name": "Literal", - "src": "10560:30:1" + "src": "10866:30:0" } ], - "id": 771, + "id": 263, "name": "FunctionCall", - "src": "10525:66:1" + "src": "10831:66:0" } ], - "id": 772, + "id": 264, "name": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "children": [ @@ -40928,31 +40928,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 773, + "id": 265, "name": "Identifier", - "src": "10601:20:1" + "src": "10908:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 774, + "id": 266, "name": "Identifier", - "src": "10622:11:1" + "src": "10929:11:0" } ], - "id": 775, + "id": 267, "name": "IndexAccess", - "src": "10601:33:1" + "src": "10908:33:0" }, { "attributes": { @@ -40965,34 +40965,34 @@ "type": "bool", "value": "true" }, - "id": 776, + "id": 268, "name": "Literal", - "src": "10637:4:1" + "src": "10944:4:0" } ], - "id": 777, + "id": 269, "name": "Assignment", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 778, + "id": 270, "name": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 779, + "id": 271, "name": "Block", - "src": "10515:133:1" + "src": "10820:136:0" } ], - "id": 780, + "id": 272, "name": "FunctionDefinition", - "src": "10450:198:1" + "src": "10755:201:0" } ], - "id": 781, + "id": 273, "name": "ContractDefinition", - "src": "9215:1435:1" + "src": "9483:1476:0" }, { "attributes": { @@ -41006,9 +41006,9 @@ ".0" ] }, - "id": 782, + "id": 274, "name": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "attributes": { @@ -41022,19 +41022,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, - "id": 783, + "id": 275, "name": "StructuredDocumentation", - "src": "10736:563:1" + "src": "11050:575:0" }, { "attributes": { @@ -41045,7 +41045,7 @@ null ], "name": "tryAdd", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41055,9 +41055,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 784, + "id": 276, "name": "StructuredDocumentation", - "src": "11323:131:1" + "src": "11651:135:0" }, { "children": [ @@ -41066,7 +41066,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41078,21 +41078,21 @@ "name": "uint256", "type": "uint256" }, - "id": 785, + "id": 277, "name": "ElementaryTypeName", - "src": "11475:7:1" + "src": "11808:7:0" } ], - "id": 786, + "id": 278, "name": "VariableDeclaration", - "src": "11475:9:1" + "src": "11808:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41104,19 +41104,19 @@ "name": "uint256", "type": "uint256" }, - "id": 787, + "id": 279, "name": "ElementaryTypeName", - "src": "11486:7:1" + "src": "11819:7:0" } ], - "id": 788, + "id": 280, "name": "VariableDeclaration", - "src": "11486:9:1" + "src": "11819:9:0" } ], - "id": 789, + "id": 281, "name": "ParameterList", - "src": "11474:22:1" + "src": "11807:22:0" }, { "children": [ @@ -41125,7 +41125,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41137,21 +41137,21 @@ "name": "bool", "type": "bool" }, - "id": 790, + "id": 282, "name": "ElementaryTypeName", - "src": "11520:4:1" + "src": "11853:4:0" } ], - "id": 791, + "id": 283, "name": "VariableDeclaration", - "src": "11520:4:1" + "src": "11853:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41163,26 +41163,26 @@ "name": "uint256", "type": "uint256" }, - "id": 792, + "id": 284, "name": "ElementaryTypeName", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 793, + "id": 285, "name": "VariableDeclaration", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 794, + "id": 286, "name": "ParameterList", - "src": "11519:15:1" + "src": "11852:15:0" }, { "children": [ { "attributes": { "assignments": [ - 796 + 288 ] }, "children": [ @@ -41191,7 +41191,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 813, + "scope": 305, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41203,14 +41203,14 @@ "name": "uint256", "type": "uint256" }, - "id": 795, + "id": 287, "name": "ElementaryTypeName", - "src": "11545:7:1" + "src": "11879:7:0" } ], - "id": 796, + "id": 288, "name": "VariableDeclaration", - "src": "11545:9:1" + "src": "11879:9:0" }, { "attributes": { @@ -41231,36 +41231,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 797, + "id": 289, "name": "Identifier", - "src": "11557:1:1" + "src": "11891:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 280, "type": "uint256", "value": "b" }, - "id": 798, + "id": 290, "name": "Identifier", - "src": "11561:1:1" + "src": "11895:1:0" } ], - "id": 799, + "id": 291, "name": "BinaryOperation", - "src": "11557:5:1" + "src": "11891:5:0" } ], - "id": 800, + "id": 292, "name": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "attributes": {}, @@ -41284,35 +41284,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 801, + "id": 293, "name": "Identifier", - "src": "11576:1:1" + "src": "11911:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 802, + "id": 294, "name": "Identifier", - "src": "11580:1:1" + "src": "11915:1:0" } ], - "id": 803, + "id": 295, "name": "BinaryOperation", - "src": "11576:5:1" + "src": "11911:5:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -41336,9 +41336,9 @@ "type": "bool", "value": "false" }, - "id": 804, + "id": 296, "name": "Literal", - "src": "11591:5:1" + "src": "11926:5:0" }, { "attributes": { @@ -41351,28 +41351,28 @@ "type": "int_const 0", "value": "0" }, - "id": 805, + "id": 297, "name": "Literal", - "src": "11598:1:1" + "src": "11933:1:0" } ], - "id": 806, + "id": 298, "name": "TupleExpression", - "src": "11590:10:1" + "src": "11925:10:0" } ], - "id": 807, + "id": 299, "name": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } ], - "id": 808, + "id": 300, "name": "IfStatement", - "src": "11572:28:1" + "src": "11907:28:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -41396,42 +41396,42 @@ "type": "bool", "value": "true" }, - "id": 809, + "id": 301, "name": "Literal", - "src": "11618:4:1" + "src": "11954:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 810, + "id": 302, "name": "Identifier", - "src": "11624:1:1" + "src": "11960:1:0" } ], - "id": 811, + "id": 303, "name": "TupleExpression", - "src": "11617:9:1" + "src": "11953:9:0" } ], - "id": 812, + "id": 304, "name": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ], - "id": 813, + "id": 305, "name": "Block", - "src": "11535:98:1" + "src": "11868:102:0" } ], - "id": 814, + "id": 306, "name": "FunctionDefinition", - "src": "11459:174:1" + "src": "11792:178:0" }, { "attributes": { @@ -41442,7 +41442,7 @@ null ], "name": "trySub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41452,9 +41452,9 @@ "attributes": { "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 815, + "id": 307, "name": "StructuredDocumentation", - "src": "11639:135:1" + "src": "11978:139:0" }, { "children": [ @@ -41463,7 +41463,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41475,21 +41475,21 @@ "name": "uint256", "type": "uint256" }, - "id": 816, + "id": 308, "name": "ElementaryTypeName", - "src": "11795:7:1" + "src": "12139:7:0" } ], - "id": 817, + "id": 309, "name": "VariableDeclaration", - "src": "11795:9:1" + "src": "12139:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41501,19 +41501,19 @@ "name": "uint256", "type": "uint256" }, - "id": 818, + "id": 310, "name": "ElementaryTypeName", - "src": "11806:7:1" + "src": "12150:7:0" } ], - "id": 819, + "id": 311, "name": "VariableDeclaration", - "src": "11806:9:1" + "src": "12150:9:0" } ], - "id": 820, + "id": 312, "name": "ParameterList", - "src": "11794:22:1" + "src": "12138:22:0" }, { "children": [ @@ -41522,7 +41522,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41534,21 +41534,21 @@ "name": "bool", "type": "bool" }, - "id": 821, + "id": 313, "name": "ElementaryTypeName", - "src": "11840:4:1" + "src": "12184:4:0" } ], - "id": 822, + "id": 314, "name": "VariableDeclaration", - "src": "11840:4:1" + "src": "12184:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41560,19 +41560,19 @@ "name": "uint256", "type": "uint256" }, - "id": 823, + "id": 315, "name": "ElementaryTypeName", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 824, + "id": 316, "name": "VariableDeclaration", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 825, + "id": 317, "name": "ParameterList", - "src": "11839:15:1" + "src": "12183:15:0" }, { "children": [ @@ -41598,35 +41598,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 826, + "id": 318, "name": "Identifier", - "src": "11869:1:1" + "src": "12214:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 827, + "id": 319, "name": "Identifier", - "src": "11873:1:1" + "src": "12218:1:0" } ], - "id": 828, + "id": 320, "name": "BinaryOperation", - "src": "11869:5:1" + "src": "12214:5:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41650,9 +41650,9 @@ "type": "bool", "value": "false" }, - "id": 829, + "id": 321, "name": "Literal", - "src": "11884:5:1" + "src": "12229:5:0" }, { "attributes": { @@ -41665,28 +41665,28 @@ "type": "int_const 0", "value": "0" }, - "id": 830, + "id": 322, "name": "Literal", - "src": "11891:1:1" + "src": "12236:1:0" } ], - "id": 831, + "id": 323, "name": "TupleExpression", - "src": "11883:10:1" + "src": "12228:10:0" } ], - "id": 832, + "id": 324, "name": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } ], - "id": 833, + "id": 325, "name": "IfStatement", - "src": "11865:28:1" + "src": "12210:28:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41710,9 +41710,9 @@ "type": "bool", "value": "true" }, - "id": 834, + "id": 326, "name": "Literal", - "src": "11911:4:1" + "src": "12257:4:0" }, { "attributes": { @@ -41733,51 +41733,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 835, + "id": 327, "name": "Identifier", - "src": "11917:1:1" + "src": "12263:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 836, + "id": 328, "name": "Identifier", - "src": "11921:1:1" + "src": "12267:1:0" } ], - "id": 837, + "id": 329, "name": "BinaryOperation", - "src": "11917:5:1" + "src": "12263:5:0" } ], - "id": 838, + "id": 330, "name": "TupleExpression", - "src": "11910:13:1" + "src": "12256:13:0" } ], - "id": 839, + "id": 331, "name": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ], - "id": 840, + "id": 332, "name": "Block", - "src": "11855:75:1" + "src": "12199:78:0" } ], - "id": 841, + "id": 333, "name": "FunctionDefinition", - "src": "11779:151:1" + "src": "12123:154:0" }, { "attributes": { @@ -41788,7 +41788,7 @@ null ], "name": "tryMul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41798,9 +41798,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 842, + "id": 334, "name": "StructuredDocumentation", - "src": "11936:137:1" + "src": "12285:141:0" }, { "children": [ @@ -41809,7 +41809,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41821,21 +41821,21 @@ "name": "uint256", "type": "uint256" }, - "id": 843, + "id": 335, "name": "ElementaryTypeName", - "src": "12094:7:1" + "src": "12448:7:0" } ], - "id": 844, + "id": 336, "name": "VariableDeclaration", - "src": "12094:9:1" + "src": "12448:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41847,19 +41847,19 @@ "name": "uint256", "type": "uint256" }, - "id": 845, + "id": 337, "name": "ElementaryTypeName", - "src": "12105:7:1" + "src": "12459:7:0" } ], - "id": 846, + "id": 338, "name": "VariableDeclaration", - "src": "12105:9:1" + "src": "12459:9:0" } ], - "id": 847, + "id": 339, "name": "ParameterList", - "src": "12093:22:1" + "src": "12447:22:0" }, { "children": [ @@ -41868,7 +41868,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41880,21 +41880,21 @@ "name": "bool", "type": "bool" }, - "id": 848, + "id": 340, "name": "ElementaryTypeName", - "src": "12139:4:1" + "src": "12493:4:0" } ], - "id": 849, + "id": 341, "name": "VariableDeclaration", - "src": "12139:4:1" + "src": "12493:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41906,19 +41906,19 @@ "name": "uint256", "type": "uint256" }, - "id": 850, + "id": 342, "name": "ElementaryTypeName", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 851, + "id": 343, "name": "VariableDeclaration", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 852, + "id": 344, "name": "ParameterList", - "src": "12138:15:1" + "src": "12492:15:0" }, { "children": [ @@ -41944,13 +41944,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 853, + "id": 345, "name": "Identifier", - "src": "12386:1:1" + "src": "12744:1:0" }, { "attributes": { @@ -41963,18 +41963,18 @@ "type": "int_const 0", "value": "0" }, - "id": 854, + "id": 346, "name": "Literal", - "src": "12391:1:1" + "src": "12749:1:0" } ], - "id": 855, + "id": 347, "name": "BinaryOperation", - "src": "12386:6:1" + "src": "12744:6:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41998,9 +41998,9 @@ "type": "bool", "value": "true" }, - "id": 856, + "id": 348, "name": "Literal", - "src": "12402:4:1" + "src": "12760:4:0" }, { "attributes": { @@ -42013,29 +42013,29 @@ "type": "int_const 0", "value": "0" }, - "id": 857, + "id": 349, "name": "Literal", - "src": "12408:1:1" + "src": "12766:1:0" } ], - "id": 858, + "id": 350, "name": "TupleExpression", - "src": "12401:9:1" + "src": "12759:9:0" } ], - "id": 859, + "id": 351, "name": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } ], - "id": 860, + "id": 352, "name": "IfStatement", - "src": "12382:28:1" + "src": "12740:28:0" }, { "attributes": { "assignments": [ - 862 + 354 ] }, "children": [ @@ -42044,7 +42044,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 881, + "scope": 373, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42056,14 +42056,14 @@ "name": "uint256", "type": "uint256" }, - "id": 861, + "id": 353, "name": "ElementaryTypeName", - "src": "12420:7:1" + "src": "12779:7:0" } ], - "id": 862, + "id": 354, "name": "VariableDeclaration", - "src": "12420:9:1" + "src": "12779:9:0" }, { "attributes": { @@ -42084,36 +42084,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 863, + "id": 355, "name": "Identifier", - "src": "12432:1:1" + "src": "12791:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 864, + "id": 356, "name": "Identifier", - "src": "12436:1:1" + "src": "12795:1:0" } ], - "id": 865, + "id": 357, "name": "BinaryOperation", - "src": "12432:5:1" + "src": "12791:5:0" } ], - "id": 866, + "id": 358, "name": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "attributes": {}, @@ -42151,53 +42151,53 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 867, + "id": 359, "name": "Identifier", - "src": "12451:1:1" + "src": "12811:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 868, + "id": 360, "name": "Identifier", - "src": "12455:1:1" + "src": "12815:1:0" } ], - "id": 869, + "id": 361, "name": "BinaryOperation", - "src": "12451:5:1" + "src": "12811:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 870, + "id": 362, "name": "Identifier", - "src": "12460:1:1" + "src": "12820:1:0" } ], - "id": 871, + "id": 363, "name": "BinaryOperation", - "src": "12451:10:1" + "src": "12811:10:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -42221,9 +42221,9 @@ "type": "bool", "value": "false" }, - "id": 872, + "id": 364, "name": "Literal", - "src": "12471:5:1" + "src": "12831:5:0" }, { "attributes": { @@ -42236,28 +42236,28 @@ "type": "int_const 0", "value": "0" }, - "id": 873, + "id": 365, "name": "Literal", - "src": "12478:1:1" + "src": "12838:1:0" } ], - "id": 874, + "id": 366, "name": "TupleExpression", - "src": "12470:10:1" + "src": "12830:10:0" } ], - "id": 875, + "id": 367, "name": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } ], - "id": 876, + "id": 368, "name": "IfStatement", - "src": "12447:33:1" + "src": "12807:33:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -42281,42 +42281,42 @@ "type": "bool", "value": "true" }, - "id": 877, + "id": 369, "name": "Literal", - "src": "12498:4:1" + "src": "12859:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 878, + "id": 370, "name": "Identifier", - "src": "12504:1:1" + "src": "12865:1:0" } ], - "id": 879, + "id": 371, "name": "TupleExpression", - "src": "12497:9:1" + "src": "12858:9:0" } ], - "id": 880, + "id": 372, "name": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ], - "id": 881, + "id": 373, "name": "Block", - "src": "12154:359:1" + "src": "12508:367:0" } ], - "id": 882, + "id": 374, "name": "FunctionDefinition", - "src": "12078:435:1" + "src": "12432:443:0" }, { "attributes": { @@ -42327,7 +42327,7 @@ null ], "name": "tryDiv", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42337,9 +42337,9 @@ "attributes": { "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 883, + "id": 375, "name": "StructuredDocumentation", - "src": "12519:138:1" + "src": "12883:142:0" }, { "children": [ @@ -42348,7 +42348,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42360,21 +42360,21 @@ "name": "uint256", "type": "uint256" }, - "id": 884, + "id": 376, "name": "ElementaryTypeName", - "src": "12678:7:1" + "src": "13047:7:0" } ], - "id": 885, + "id": 377, "name": "VariableDeclaration", - "src": "12678:9:1" + "src": "13047:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42386,19 +42386,19 @@ "name": "uint256", "type": "uint256" }, - "id": 886, + "id": 378, "name": "ElementaryTypeName", - "src": "12689:7:1" + "src": "13058:7:0" } ], - "id": 887, + "id": 379, "name": "VariableDeclaration", - "src": "12689:9:1" + "src": "13058:9:0" } ], - "id": 888, + "id": 380, "name": "ParameterList", - "src": "12677:22:1" + "src": "13046:22:0" }, { "children": [ @@ -42407,7 +42407,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42419,21 +42419,21 @@ "name": "bool", "type": "bool" }, - "id": 889, + "id": 381, "name": "ElementaryTypeName", - "src": "12723:4:1" + "src": "13092:4:0" } ], - "id": 890, + "id": 382, "name": "VariableDeclaration", - "src": "12723:4:1" + "src": "13092:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42445,19 +42445,19 @@ "name": "uint256", "type": "uint256" }, - "id": 891, + "id": 383, "name": "ElementaryTypeName", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 892, + "id": 384, "name": "VariableDeclaration", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 893, + "id": 385, "name": "ParameterList", - "src": "12722:15:1" + "src": "13091:15:0" }, { "children": [ @@ -42483,13 +42483,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 894, + "id": 386, "name": "Identifier", - "src": "12752:1:1" + "src": "13122:1:0" }, { "attributes": { @@ -42502,18 +42502,18 @@ "type": "int_const 0", "value": "0" }, - "id": 895, + "id": 387, "name": "Literal", - "src": "12757:1:1" + "src": "13127:1:0" } ], - "id": 896, + "id": 388, "name": "BinaryOperation", - "src": "12752:6:1" + "src": "13122:6:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42537,9 +42537,9 @@ "type": "bool", "value": "false" }, - "id": 897, + "id": 389, "name": "Literal", - "src": "12768:5:1" + "src": "13138:5:0" }, { "attributes": { @@ -42552,28 +42552,28 @@ "type": "int_const 0", "value": "0" }, - "id": 898, + "id": 390, "name": "Literal", - "src": "12775:1:1" + "src": "13145:1:0" } ], - "id": 899, + "id": 391, "name": "TupleExpression", - "src": "12767:10:1" + "src": "13137:10:0" } ], - "id": 900, + "id": 392, "name": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } ], - "id": 901, + "id": 393, "name": "IfStatement", - "src": "12748:29:1" + "src": "13118:29:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42597,9 +42597,9 @@ "type": "bool", "value": "true" }, - "id": 902, + "id": 394, "name": "Literal", - "src": "12795:4:1" + "src": "13166:4:0" }, { "attributes": { @@ -42620,51 +42620,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 885, + "referencedDeclaration": 377, "type": "uint256", "value": "a" }, - "id": 903, + "id": 395, "name": "Identifier", - "src": "12801:1:1" + "src": "13172:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 904, + "id": 396, "name": "Identifier", - "src": "12805:1:1" + "src": "13176:1:0" } ], - "id": 905, + "id": 397, "name": "BinaryOperation", - "src": "12801:5:1" + "src": "13172:5:0" } ], - "id": 906, + "id": 398, "name": "TupleExpression", - "src": "12794:13:1" + "src": "13165:13:0" } ], - "id": 907, + "id": 399, "name": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ], - "id": 908, + "id": 400, "name": "Block", - "src": "12738:76:1" + "src": "13107:79:0" } ], - "id": 909, + "id": 401, "name": "FunctionDefinition", - "src": "12662:152:1" + "src": "13031:155:0" }, { "attributes": { @@ -42675,7 +42675,7 @@ null ], "name": "tryMod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42685,9 +42685,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 910, + "id": 402, "name": "StructuredDocumentation", - "src": "12820:148:1" + "src": "13194:152:0" }, { "children": [ @@ -42696,7 +42696,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42708,21 +42708,21 @@ "name": "uint256", "type": "uint256" }, - "id": 911, + "id": 403, "name": "ElementaryTypeName", - "src": "12989:7:1" + "src": "13368:7:0" } ], - "id": 912, + "id": 404, "name": "VariableDeclaration", - "src": "12989:9:1" + "src": "13368:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42734,19 +42734,19 @@ "name": "uint256", "type": "uint256" }, - "id": 913, + "id": 405, "name": "ElementaryTypeName", - "src": "13000:7:1" + "src": "13379:7:0" } ], - "id": 914, + "id": 406, "name": "VariableDeclaration", - "src": "13000:9:1" + "src": "13379:9:0" } ], - "id": 915, + "id": 407, "name": "ParameterList", - "src": "12988:22:1" + "src": "13367:22:0" }, { "children": [ @@ -42755,7 +42755,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42767,21 +42767,21 @@ "name": "bool", "type": "bool" }, - "id": 916, + "id": 408, "name": "ElementaryTypeName", - "src": "13034:4:1" + "src": "13413:4:0" } ], - "id": 917, + "id": 409, "name": "VariableDeclaration", - "src": "13034:4:1" + "src": "13413:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42793,19 +42793,19 @@ "name": "uint256", "type": "uint256" }, - "id": 918, + "id": 410, "name": "ElementaryTypeName", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 919, + "id": 411, "name": "VariableDeclaration", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 920, + "id": 412, "name": "ParameterList", - "src": "13033:15:1" + "src": "13412:15:0" }, { "children": [ @@ -42831,13 +42831,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 921, + "id": 413, "name": "Identifier", - "src": "13063:1:1" + "src": "13443:1:0" }, { "attributes": { @@ -42850,18 +42850,18 @@ "type": "int_const 0", "value": "0" }, - "id": 922, + "id": 414, "name": "Literal", - "src": "13068:1:1" + "src": "13448:1:0" } ], - "id": 923, + "id": 415, "name": "BinaryOperation", - "src": "13063:6:1" + "src": "13443:6:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42885,9 +42885,9 @@ "type": "bool", "value": "false" }, - "id": 924, + "id": 416, "name": "Literal", - "src": "13079:5:1" + "src": "13459:5:0" }, { "attributes": { @@ -42900,28 +42900,28 @@ "type": "int_const 0", "value": "0" }, - "id": 925, + "id": 417, "name": "Literal", - "src": "13086:1:1" + "src": "13466:1:0" } ], - "id": 926, + "id": 418, "name": "TupleExpression", - "src": "13078:10:1" + "src": "13458:10:0" } ], - "id": 927, + "id": 419, "name": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } ], - "id": 928, + "id": 420, "name": "IfStatement", - "src": "13059:29:1" + "src": "13439:29:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42945,9 +42945,9 @@ "type": "bool", "value": "true" }, - "id": 929, + "id": 421, "name": "Literal", - "src": "13106:4:1" + "src": "13487:4:0" }, { "attributes": { @@ -42968,51 +42968,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 912, + "referencedDeclaration": 404, "type": "uint256", "value": "a" }, - "id": 930, + "id": 422, "name": "Identifier", - "src": "13112:1:1" + "src": "13493:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 931, + "id": 423, "name": "Identifier", - "src": "13116:1:1" + "src": "13497:1:0" } ], - "id": 932, + "id": 424, "name": "BinaryOperation", - "src": "13112:5:1" + "src": "13493:5:0" } ], - "id": 933, + "id": 425, "name": "TupleExpression", - "src": "13105:13:1" + "src": "13486:13:0" } ], - "id": 934, + "id": 426, "name": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ], - "id": 935, + "id": 427, "name": "Block", - "src": "13049:76:1" + "src": "13428:79:0" } ], - "id": 936, + "id": 428, "name": "FunctionDefinition", - "src": "12973:152:1" + "src": "13352:155:0" }, { "attributes": { @@ -43023,7 +43023,7 @@ null ], "name": "add", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43033,9 +43033,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 937, + "id": 429, "name": "StructuredDocumentation", - "src": "13131:224:1" + "src": "13515:233:0" }, { "children": [ @@ -43044,7 +43044,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43056,21 +43056,21 @@ "name": "uint256", "type": "uint256" }, - "id": 938, + "id": 430, "name": "ElementaryTypeName", - "src": "13373:7:1" + "src": "13767:7:0" } ], - "id": 939, + "id": 431, "name": "VariableDeclaration", - "src": "13373:9:1" + "src": "13767:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43082,19 +43082,19 @@ "name": "uint256", "type": "uint256" }, - "id": 940, + "id": 432, "name": "ElementaryTypeName", - "src": "13384:7:1" + "src": "13778:7:0" } ], - "id": 941, + "id": 433, "name": "VariableDeclaration", - "src": "13384:9:1" + "src": "13778:9:0" } ], - "id": 942, + "id": 434, "name": "ParameterList", - "src": "13372:22:1" + "src": "13766:22:0" }, { "children": [ @@ -43103,7 +43103,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43115,26 +43115,26 @@ "name": "uint256", "type": "uint256" }, - "id": 943, + "id": 435, "name": "ElementaryTypeName", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 944, + "id": 436, "name": "VariableDeclaration", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 945, + "id": 437, "name": "ParameterList", - "src": "13417:9:1" + "src": "13811:9:0" }, { "children": [ { "attributes": { "assignments": [ - 947 + 439 ] }, "children": [ @@ -43143,7 +43143,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 961, + "scope": 453, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43155,14 +43155,14 @@ "name": "uint256", "type": "uint256" }, - "id": 946, + "id": 438, "name": "ElementaryTypeName", - "src": "13437:7:1" + "src": "13832:7:0" } ], - "id": 947, + "id": 439, "name": "VariableDeclaration", - "src": "13437:9:1" + "src": "13832:9:0" }, { "attributes": { @@ -43183,36 +43183,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 948, + "id": 440, "name": "Identifier", - "src": "13449:1:1" + "src": "13844:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 941, + "referencedDeclaration": 433, "type": "uint256", "value": "b" }, - "id": 949, + "id": 441, "name": "Identifier", - "src": "13453:1:1" + "src": "13848:1:0" } ], - "id": 950, + "id": 442, "name": "BinaryOperation", - "src": "13449:5:1" + "src": "13844:5:0" } ], - "id": 951, + "id": 443, "name": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "children": [ @@ -43251,9 +43251,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 952, + "id": 444, "name": "Identifier", - "src": "13464:7:1" + "src": "13860:7:0" }, { "attributes": { @@ -43274,31 +43274,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 953, + "id": 445, "name": "Identifier", - "src": "13472:1:1" + "src": "13868:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 954, + "id": 446, "name": "Identifier", - "src": "13477:1:1" + "src": "13873:1:0" } ], - "id": 955, + "id": 447, "name": "BinaryOperation", - "src": "13472:6:1" + "src": "13868:6:0" }, { "attributes": { @@ -43311,23 +43311,23 @@ "type": "literal_string \"SafeMath: addition overflow\"", "value": "SafeMath: addition overflow" }, - "id": 956, + "id": 448, "name": "Literal", - "src": "13480:29:1" + "src": "13876:29:0" } ], - "id": 957, + "id": 449, "name": "FunctionCall", - "src": "13464:46:1" + "src": "13860:46:0" } ], - "id": 958, + "id": 450, "name": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "attributes": { - "functionReturnParameters": 945 + "functionReturnParameters": 437 }, "children": [ { @@ -43335,28 +43335,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 959, + "id": 451, "name": "Identifier", - "src": "13527:1:1" + "src": "13924:1:0" } ], - "id": 960, + "id": 452, "name": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ], - "id": 961, + "id": 453, "name": "Block", - "src": "13427:108:1" + "src": "13821:112:0" } ], - "id": 962, + "id": 454, "name": "FunctionDefinition", - "src": "13360:175:1" + "src": "13754:179:0" }, { "attributes": { @@ -43367,7 +43367,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43377,9 +43377,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 963, + "id": 455, "name": "StructuredDocumentation", - "src": "13541:260:1" + "src": "13941:269:0" }, { "children": [ @@ -43388,7 +43388,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43400,21 +43400,21 @@ "name": "uint256", "type": "uint256" }, - "id": 964, + "id": 456, "name": "ElementaryTypeName", - "src": "13819:7:1" + "src": "14229:7:0" } ], - "id": 965, + "id": 457, "name": "VariableDeclaration", - "src": "13819:9:1" + "src": "14229:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43426,19 +43426,19 @@ "name": "uint256", "type": "uint256" }, - "id": 966, + "id": 458, "name": "ElementaryTypeName", - "src": "13830:7:1" + "src": "14240:7:0" } ], - "id": 967, + "id": 459, "name": "VariableDeclaration", - "src": "13830:9:1" + "src": "14240:9:0" } ], - "id": 968, + "id": 460, "name": "ParameterList", - "src": "13818:22:1" + "src": "14228:22:0" }, { "children": [ @@ -43447,7 +43447,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43459,19 +43459,19 @@ "name": "uint256", "type": "uint256" }, - "id": 969, + "id": 461, "name": "ElementaryTypeName", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 970, + "id": 462, "name": "VariableDeclaration", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 971, + "id": 463, "name": "ParameterList", - "src": "13863:9:1" + "src": "14273:9:0" }, { "children": [ @@ -43512,9 +43512,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 972, + "id": 464, "name": "Identifier", - "src": "13883:7:1" + "src": "14294:7:0" }, { "attributes": { @@ -43535,31 +43535,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 973, + "id": 465, "name": "Identifier", - "src": "13891:1:1" + "src": "14302:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 974, + "id": 466, "name": "Identifier", - "src": "13896:1:1" + "src": "14307:1:0" } ], - "id": 975, + "id": 467, "name": "BinaryOperation", - "src": "13891:6:1" + "src": "14302:6:0" }, { "attributes": { @@ -43572,23 +43572,23 @@ "type": "literal_string \"SafeMath: subtraction overflow\"", "value": "SafeMath: subtraction overflow" }, - "id": 976, + "id": 468, "name": "Literal", - "src": "13899:32:1" + "src": "14310:32:0" } ], - "id": 977, + "id": 469, "name": "FunctionCall", - "src": "13883:49:1" + "src": "14294:49:0" } ], - "id": 978, + "id": 470, "name": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "attributes": { - "functionReturnParameters": 971 + "functionReturnParameters": 463 }, "children": [ { @@ -43610,46 +43610,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 979, + "id": 471, "name": "Identifier", - "src": "13949:1:1" + "src": "14361:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 980, + "id": 472, "name": "Identifier", - "src": "13953:1:1" + "src": "14365:1:0" } ], - "id": 981, + "id": 473, "name": "BinaryOperation", - "src": "13949:5:1" + "src": "14361:5:0" } ], - "id": 982, + "id": 474, "name": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ], - "id": 983, + "id": 475, "name": "Block", - "src": "13873:88:1" + "src": "14283:91:0" } ], - "id": 984, + "id": 476, "name": "FunctionDefinition", - "src": "13806:155:1" + "src": "14216:158:0" }, { "attributes": { @@ -43660,7 +43660,7 @@ null ], "name": "mul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43670,9 +43670,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 985, + "id": 477, "name": "StructuredDocumentation", - "src": "13967:236:1" + "src": "14382:245:0" }, { "children": [ @@ -43681,7 +43681,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43693,21 +43693,21 @@ "name": "uint256", "type": "uint256" }, - "id": 986, + "id": 478, "name": "ElementaryTypeName", - "src": "14221:7:1" + "src": "14646:7:0" } ], - "id": 987, + "id": 479, "name": "VariableDeclaration", - "src": "14221:9:1" + "src": "14646:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43719,19 +43719,19 @@ "name": "uint256", "type": "uint256" }, - "id": 988, + "id": 480, "name": "ElementaryTypeName", - "src": "14232:7:1" + "src": "14657:7:0" } ], - "id": 989, + "id": 481, "name": "VariableDeclaration", - "src": "14232:9:1" + "src": "14657:9:0" } ], - "id": 990, + "id": 482, "name": "ParameterList", - "src": "14220:22:1" + "src": "14645:22:0" }, { "children": [ @@ -43740,7 +43740,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43752,19 +43752,19 @@ "name": "uint256", "type": "uint256" }, - "id": 991, + "id": 483, "name": "ElementaryTypeName", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 992, + "id": 484, "name": "VariableDeclaration", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 993, + "id": 485, "name": "ParameterList", - "src": "14265:9:1" + "src": "14690:9:0" }, { "children": [ @@ -43790,13 +43790,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 994, + "id": 486, "name": "Identifier", - "src": "14289:1:1" + "src": "14715:1:0" }, { "attributes": { @@ -43809,18 +43809,18 @@ "type": "int_const 0", "value": "0" }, - "id": 995, + "id": 487, "name": "Literal", - "src": "14294:1:1" + "src": "14720:1:0" } ], - "id": 996, + "id": 488, "name": "BinaryOperation", - "src": "14289:6:1" + "src": "14715:6:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43834,24 +43834,24 @@ "type": "int_const 0", "value": "0" }, - "id": 997, + "id": 489, "name": "Literal", - "src": "14304:1:1" + "src": "14730:1:0" } ], - "id": 998, + "id": 490, "name": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } ], - "id": 999, + "id": 491, "name": "IfStatement", - "src": "14285:20:1" + "src": "14711:20:0" }, { "attributes": { "assignments": [ - 1001 + 493 ] }, "children": [ @@ -43860,7 +43860,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 1017, + "scope": 509, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43872,14 +43872,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1000, + "id": 492, "name": "ElementaryTypeName", - "src": "14315:7:1" + "src": "14742:7:0" } ], - "id": 1001, + "id": 493, "name": "VariableDeclaration", - "src": "14315:9:1" + "src": "14742:9:0" }, { "attributes": { @@ -43900,36 +43900,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1002, + "id": 494, "name": "Identifier", - "src": "14327:1:1" + "src": "14754:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1003, + "id": 495, "name": "Identifier", - "src": "14331:1:1" + "src": "14758:1:0" } ], - "id": 1004, + "id": 496, "name": "BinaryOperation", - "src": "14327:5:1" + "src": "14754:5:0" } ], - "id": 1005, + "id": 497, "name": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "children": [ @@ -43968,9 +43968,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1006, + "id": 498, "name": "Identifier", - "src": "14342:7:1" + "src": "14770:7:0" }, { "attributes": { @@ -44005,49 +44005,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1007, + "id": 499, "name": "Identifier", - "src": "14350:1:1" + "src": "14778:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1008, + "id": 500, "name": "Identifier", - "src": "14354:1:1" + "src": "14782:1:0" } ], - "id": 1009, + "id": 501, "name": "BinaryOperation", - "src": "14350:5:1" + "src": "14778:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1010, + "id": 502, "name": "Identifier", - "src": "14359:1:1" + "src": "14787:1:0" } ], - "id": 1011, + "id": 503, "name": "BinaryOperation", - "src": "14350:10:1" + "src": "14778:10:0" }, { "attributes": { @@ -44060,23 +44060,23 @@ "type": "literal_string \"SafeMath: multiplication overflow\"", "value": "SafeMath: multiplication overflow" }, - "id": 1012, + "id": 504, "name": "Literal", - "src": "14362:35:1" + "src": "14790:35:0" } ], - "id": 1013, + "id": 505, "name": "FunctionCall", - "src": "14342:56:1" + "src": "14770:56:0" } ], - "id": 1014, + "id": 506, "name": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -44084,28 +44084,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1015, + "id": 507, "name": "Identifier", - "src": "14415:1:1" + "src": "14844:1:0" } ], - "id": 1016, + "id": 508, "name": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ], - "id": 1017, + "id": 509, "name": "Block", - "src": "14275:148:1" + "src": "14700:153:0" } ], - "id": 1018, + "id": 510, "name": "FunctionDefinition", - "src": "14208:215:1" + "src": "14633:220:0" }, { "attributes": { @@ -44116,7 +44116,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44126,9 +44126,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1019, + "id": 511, "name": "StructuredDocumentation", - "src": "14429:453:1" + "src": "14861:464:0" }, { "children": [ @@ -44137,7 +44137,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44149,21 +44149,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1020, + "id": 512, "name": "ElementaryTypeName", - "src": "14900:7:1" + "src": "15344:7:0" } ], - "id": 1021, + "id": 513, "name": "VariableDeclaration", - "src": "14900:9:1" + "src": "15344:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44175,19 +44175,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1022, + "id": 514, "name": "ElementaryTypeName", - "src": "14911:7:1" + "src": "15355:7:0" } ], - "id": 1023, + "id": 515, "name": "VariableDeclaration", - "src": "14911:9:1" + "src": "15355:9:0" } ], - "id": 1024, + "id": 516, "name": "ParameterList", - "src": "14899:22:1" + "src": "15343:22:0" }, { "children": [ @@ -44196,7 +44196,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44208,19 +44208,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1025, + "id": 517, "name": "ElementaryTypeName", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1026, + "id": 518, "name": "VariableDeclaration", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1027, + "id": 519, "name": "ParameterList", - "src": "14944:9:1" + "src": "15388:9:0" }, { "children": [ @@ -44261,9 +44261,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1028, + "id": 520, "name": "Identifier", - "src": "14964:7:1" + "src": "15409:7:0" }, { "attributes": { @@ -44284,13 +44284,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1029, + "id": 521, "name": "Identifier", - "src": "14972:1:1" + "src": "15417:1:0" }, { "attributes": { @@ -44303,14 +44303,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1030, + "id": 522, "name": "Literal", - "src": "14976:1:1" + "src": "15421:1:0" } ], - "id": 1031, + "id": 523, "name": "BinaryOperation", - "src": "14972:5:1" + "src": "15417:5:0" }, { "attributes": { @@ -44323,23 +44323,23 @@ "type": "literal_string \"SafeMath: division by zero\"", "value": "SafeMath: division by zero" }, - "id": 1032, + "id": 524, "name": "Literal", - "src": "14979:28:1" + "src": "15424:28:0" } ], - "id": 1033, + "id": 525, "name": "FunctionCall", - "src": "14964:44:1" + "src": "15409:44:0" } ], - "id": 1034, + "id": 526, "name": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "attributes": { - "functionReturnParameters": 1027 + "functionReturnParameters": 519 }, "children": [ { @@ -44361,46 +44361,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1021, + "referencedDeclaration": 513, "type": "uint256", "value": "a" }, - "id": 1035, + "id": 527, "name": "Identifier", - "src": "15025:1:1" + "src": "15471:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1036, + "id": 528, "name": "Identifier", - "src": "15029:1:1" + "src": "15475:1:0" } ], - "id": 1037, + "id": 529, "name": "BinaryOperation", - "src": "15025:5:1" + "src": "15471:5:0" } ], - "id": 1038, + "id": 530, "name": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ], - "id": 1039, + "id": 531, "name": "Block", - "src": "14954:83:1" + "src": "15398:86:0" } ], - "id": 1040, + "id": 532, "name": "FunctionDefinition", - "src": "14887:150:1" + "src": "15331:153:0" }, { "attributes": { @@ -44411,7 +44411,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44421,9 +44421,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1041, + "id": 533, "name": "StructuredDocumentation", - "src": "15043:442:1" + "src": "15492:453:0" }, { "children": [ @@ -44432,7 +44432,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44444,21 +44444,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1042, + "id": 534, "name": "ElementaryTypeName", - "src": "15503:7:1" + "src": "15964:7:0" } ], - "id": 1043, + "id": 535, "name": "VariableDeclaration", - "src": "15503:9:1" + "src": "15964:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44470,19 +44470,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1044, + "id": 536, "name": "ElementaryTypeName", - "src": "15514:7:1" + "src": "15975:7:0" } ], - "id": 1045, + "id": 537, "name": "VariableDeclaration", - "src": "15514:9:1" + "src": "15975:9:0" } ], - "id": 1046, + "id": 538, "name": "ParameterList", - "src": "15502:22:1" + "src": "15963:22:0" }, { "children": [ @@ -44491,7 +44491,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44503,19 +44503,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1047, + "id": 539, "name": "ElementaryTypeName", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1048, + "id": 540, "name": "VariableDeclaration", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1049, + "id": 541, "name": "ParameterList", - "src": "15547:9:1" + "src": "16008:9:0" }, { "children": [ @@ -44556,9 +44556,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1050, + "id": 542, "name": "Identifier", - "src": "15567:7:1" + "src": "16029:7:0" }, { "attributes": { @@ -44579,13 +44579,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1051, + "id": 543, "name": "Identifier", - "src": "15575:1:1" + "src": "16037:1:0" }, { "attributes": { @@ -44598,14 +44598,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1052, + "id": 544, "name": "Literal", - "src": "15579:1:1" + "src": "16041:1:0" } ], - "id": 1053, + "id": 545, "name": "BinaryOperation", - "src": "15575:5:1" + "src": "16037:5:0" }, { "attributes": { @@ -44618,23 +44618,23 @@ "type": "literal_string \"SafeMath: modulo by zero\"", "value": "SafeMath: modulo by zero" }, - "id": 1054, + "id": 546, "name": "Literal", - "src": "15582:26:1" + "src": "16044:26:0" } ], - "id": 1055, + "id": 547, "name": "FunctionCall", - "src": "15567:42:1" + "src": "16029:42:0" } ], - "id": 1056, + "id": 548, "name": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "attributes": { - "functionReturnParameters": 1049 + "functionReturnParameters": 541 }, "children": [ { @@ -44656,46 +44656,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1043, + "referencedDeclaration": 535, "type": "uint256", "value": "a" }, - "id": 1057, + "id": 549, "name": "Identifier", - "src": "15626:1:1" + "src": "16089:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1058, + "id": 550, "name": "Identifier", - "src": "15630:1:1" + "src": "16093:1:0" } ], - "id": 1059, + "id": 551, "name": "BinaryOperation", - "src": "15626:5:1" + "src": "16089:5:0" } ], - "id": 1060, + "id": 552, "name": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ], - "id": 1061, + "id": 553, "name": "Block", - "src": "15557:81:1" + "src": "16018:84:0" } ], - "id": 1062, + "id": 554, "name": "FunctionDefinition", - "src": "15490:148:1" + "src": "15951:151:0" }, { "attributes": { @@ -44706,7 +44706,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44716,9 +44716,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1063, + "id": 555, "name": "StructuredDocumentation", - "src": "15644:453:1" + "src": "16110:465:0" }, { "children": [ @@ -44727,7 +44727,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44739,21 +44739,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1064, + "id": 556, "name": "ElementaryTypeName", - "src": "16115:7:1" + "src": "16594:7:0" } ], - "id": 1065, + "id": 557, "name": "VariableDeclaration", - "src": "16115:9:1" + "src": "16594:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44765,21 +44765,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1066, + "id": 558, "name": "ElementaryTypeName", - "src": "16126:7:1" + "src": "16605:7:0" } ], - "id": 1067, + "id": 559, "name": "VariableDeclaration", - "src": "16126:9:1" + "src": "16605:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44791,19 +44791,19 @@ "name": "string", "type": "string" }, - "id": 1068, + "id": 560, "name": "ElementaryTypeName", - "src": "16137:6:1" + "src": "16616:6:0" } ], - "id": 1069, + "id": 561, "name": "VariableDeclaration", - "src": "16137:26:1" + "src": "16616:26:0" } ], - "id": 1070, + "id": 562, "name": "ParameterList", - "src": "16114:50:1" + "src": "16593:50:0" }, { "children": [ @@ -44812,7 +44812,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44824,19 +44824,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1071, + "id": 563, "name": "ElementaryTypeName", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1072, + "id": 564, "name": "VariableDeclaration", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1073, + "id": 565, "name": "ParameterList", - "src": "16187:9:1" + "src": "16666:9:0" }, { "children": [ @@ -44877,9 +44877,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1074, + "id": 566, "name": "Identifier", - "src": "16207:7:1" + "src": "16687:7:0" }, { "attributes": { @@ -44900,58 +44900,58 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1075, + "id": 567, "name": "Identifier", - "src": "16215:1:1" + "src": "16695:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1076, + "id": 568, "name": "Identifier", - "src": "16220:1:1" + "src": "16700:1:0" } ], - "id": 1077, + "id": 569, "name": "BinaryOperation", - "src": "16215:6:1" + "src": "16695:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1069, + "referencedDeclaration": 561, "type": "string memory", "value": "errorMessage" }, - "id": 1078, + "id": 570, "name": "Identifier", - "src": "16223:12:1" + "src": "16703:12:0" } ], - "id": 1079, + "id": 571, "name": "FunctionCall", - "src": "16207:29:1" + "src": "16687:29:0" } ], - "id": 1080, + "id": 572, "name": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "attributes": { - "functionReturnParameters": 1073 + "functionReturnParameters": 565 }, "children": [ { @@ -44973,46 +44973,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1081, + "id": 573, "name": "Identifier", - "src": "16253:1:1" + "src": "16734:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1082, + "id": 574, "name": "Identifier", - "src": "16257:1:1" + "src": "16738:1:0" } ], - "id": 1083, + "id": 575, "name": "BinaryOperation", - "src": "16253:5:1" + "src": "16734:5:0" } ], - "id": 1084, + "id": 576, "name": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ], - "id": 1085, + "id": 577, "name": "Block", - "src": "16197:68:1" + "src": "16676:71:0" } ], - "id": 1086, + "id": 578, "name": "FunctionDefinition", - "src": "16102:163:1" + "src": "16581:166:0" }, { "attributes": { @@ -45023,7 +45023,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -45033,9 +45033,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1087, + "id": 579, "name": "StructuredDocumentation", - "src": "16271:646:1" + "src": "16755:660:0" }, { "children": [ @@ -45044,7 +45044,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45056,21 +45056,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1088, + "id": 580, "name": "ElementaryTypeName", - "src": "16935:7:1" + "src": "17434:7:0" } ], - "id": 1089, + "id": 581, "name": "VariableDeclaration", - "src": "16935:9:1" + "src": "17434:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45082,21 +45082,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1090, + "id": 582, "name": "ElementaryTypeName", - "src": "16946:7:1" + "src": "17445:7:0" } ], - "id": 1091, + "id": 583, "name": "VariableDeclaration", - "src": "16946:9:1" + "src": "17445:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -45108,19 +45108,19 @@ "name": "string", "type": "string" }, - "id": 1092, + "id": 584, "name": "ElementaryTypeName", - "src": "16957:6:1" + "src": "17456:6:0" } ], - "id": 1093, + "id": 585, "name": "VariableDeclaration", - "src": "16957:26:1" + "src": "17456:26:0" } ], - "id": 1094, + "id": 586, "name": "ParameterList", - "src": "16934:50:1" + "src": "17433:50:0" }, { "children": [ @@ -45129,7 +45129,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45141,19 +45141,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1095, + "id": 587, "name": "ElementaryTypeName", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1096, + "id": 588, "name": "VariableDeclaration", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1097, + "id": 589, "name": "ParameterList", - "src": "17007:9:1" + "src": "17506:9:0" }, { "children": [ @@ -45194,9 +45194,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1098, + "id": 590, "name": "Identifier", - "src": "17027:7:1" + "src": "17527:7:0" }, { "attributes": { @@ -45217,13 +45217,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1099, + "id": 591, "name": "Identifier", - "src": "17035:1:1" + "src": "17535:1:0" }, { "attributes": { @@ -45236,41 +45236,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1100, + "id": 592, "name": "Literal", - "src": "17039:1:1" + "src": "17539:1:0" } ], - "id": 1101, + "id": 593, "name": "BinaryOperation", - "src": "17035:5:1" + "src": "17535:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1093, + "referencedDeclaration": 585, "type": "string memory", "value": "errorMessage" }, - "id": 1102, + "id": 594, "name": "Identifier", - "src": "17042:12:1" + "src": "17542:12:0" } ], - "id": 1103, + "id": 595, "name": "FunctionCall", - "src": "17027:28:1" + "src": "17527:28:0" } ], - "id": 1104, + "id": 596, "name": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "attributes": { - "functionReturnParameters": 1097 + "functionReturnParameters": 589 }, "children": [ { @@ -45292,46 +45292,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1089, + "referencedDeclaration": 581, "type": "uint256", "value": "a" }, - "id": 1105, + "id": 597, "name": "Identifier", - "src": "17072:1:1" + "src": "17573:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1106, + "id": 598, "name": "Identifier", - "src": "17076:1:1" + "src": "17577:1:0" } ], - "id": 1107, + "id": 599, "name": "BinaryOperation", - "src": "17072:5:1" + "src": "17573:5:0" } ], - "id": 1108, + "id": 600, "name": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ], - "id": 1109, + "id": 601, "name": "Block", - "src": "17017:67:1" + "src": "17516:70:0" } ], - "id": 1110, + "id": 602, "name": "FunctionDefinition", - "src": "16922:162:1" + "src": "17421:165:0" }, { "attributes": { @@ -45342,7 +45342,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -45352,9 +45352,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1111, + "id": 603, "name": "StructuredDocumentation", - "src": "17090:635:1" + "src": "17594:649:0" }, { "children": [ @@ -45363,7 +45363,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45375,21 +45375,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1112, + "id": 604, "name": "ElementaryTypeName", - "src": "17743:7:1" + "src": "18262:7:0" } ], - "id": 1113, + "id": 605, "name": "VariableDeclaration", - "src": "17743:9:1" + "src": "18262:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45401,21 +45401,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1114, + "id": 606, "name": "ElementaryTypeName", - "src": "17754:7:1" + "src": "18273:7:0" } ], - "id": 1115, + "id": 607, "name": "VariableDeclaration", - "src": "17754:9:1" + "src": "18273:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -45427,19 +45427,19 @@ "name": "string", "type": "string" }, - "id": 1116, + "id": 608, "name": "ElementaryTypeName", - "src": "17765:6:1" + "src": "18284:6:0" } ], - "id": 1117, + "id": 609, "name": "VariableDeclaration", - "src": "17765:26:1" + "src": "18284:26:0" } ], - "id": 1118, + "id": 610, "name": "ParameterList", - "src": "17742:50:1" + "src": "18261:50:0" }, { "children": [ @@ -45448,7 +45448,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45460,19 +45460,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1119, + "id": 611, "name": "ElementaryTypeName", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1120, + "id": 612, "name": "VariableDeclaration", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1121, + "id": 613, "name": "ParameterList", - "src": "17815:9:1" + "src": "18334:9:0" }, { "children": [ @@ -45513,9 +45513,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1122, + "id": 614, "name": "Identifier", - "src": "17835:7:1" + "src": "18355:7:0" }, { "attributes": { @@ -45536,13 +45536,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1123, + "id": 615, "name": "Identifier", - "src": "17843:1:1" + "src": "18363:1:0" }, { "attributes": { @@ -45555,41 +45555,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1124, + "id": 616, "name": "Literal", - "src": "17847:1:1" + "src": "18367:1:0" } ], - "id": 1125, + "id": 617, "name": "BinaryOperation", - "src": "17843:5:1" + "src": "18363:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1117, + "referencedDeclaration": 609, "type": "string memory", "value": "errorMessage" }, - "id": 1126, + "id": 618, "name": "Identifier", - "src": "17850:12:1" + "src": "18370:12:0" } ], - "id": 1127, + "id": 619, "name": "FunctionCall", - "src": "17835:28:1" + "src": "18355:28:0" } ], - "id": 1128, + "id": 620, "name": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "attributes": { - "functionReturnParameters": 1121 + "functionReturnParameters": 613 }, "children": [ { @@ -45611,51 +45611,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1113, + "referencedDeclaration": 605, "type": "uint256", "value": "a" }, - "id": 1129, + "id": 621, "name": "Identifier", - "src": "17880:1:1" + "src": "18401:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1130, + "id": 622, "name": "Identifier", - "src": "17884:1:1" + "src": "18405:1:0" } ], - "id": 1131, + "id": 623, "name": "BinaryOperation", - "src": "17880:5:1" + "src": "18401:5:0" } ], - "id": 1132, + "id": 624, "name": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ], - "id": 1133, + "id": 625, "name": "Block", - "src": "17825:67:1" + "src": "18344:70:0" } ], - "id": 1134, + "id": 626, "name": "FunctionDefinition", - "src": "17730:162:1" + "src": "18249:165:0" } ], - "id": 1135, + "id": 627, "name": "ContractDefinition", - "src": "11300:6594:1" + "src": "11627:6790:0" }, { "attributes": { @@ -45669,9 +45669,9 @@ ".0" ] }, - "id": 1136, + "id": 628, "name": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "attributes": { @@ -45685,19 +45685,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Collection of functions related to the address type" }, - "id": 1137, + "id": 629, "name": "StructuredDocumentation", - "src": "17980:67:1" + "src": "18508:69:0" }, { "attributes": { @@ -45708,7 +45708,7 @@ null ], "name": "isContract", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -45718,9 +45718,9 @@ "attributes": { "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1138, + "id": 630, "name": "StructuredDocumentation", - "src": "18070:565:1" + "src": "18602:581:0" }, { "children": [ @@ -45729,7 +45729,7 @@ "constant": false, "mutability": "mutable", "name": "account", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -45742,19 +45742,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1139, + "id": 631, "name": "ElementaryTypeName", - "src": "18660:7:1" + "src": "19209:7:0" } ], - "id": 1140, + "id": 632, "name": "VariableDeclaration", - "src": "18660:15:1" + "src": "19209:15:0" } ], - "id": 1141, + "id": 633, "name": "ParameterList", - "src": "18659:17:1" + "src": "19208:17:0" }, { "children": [ @@ -45763,7 +45763,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45775,26 +45775,26 @@ "name": "bool", "type": "bool" }, - "id": 1142, + "id": 634, "name": "ElementaryTypeName", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1143, + "id": 635, "name": "VariableDeclaration", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1144, + "id": 636, "name": "ParameterList", - "src": "18699:6:1" + "src": "19248:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1146 + 638 ] }, "children": [ @@ -45803,7 +45803,7 @@ "constant": false, "mutability": "mutable", "name": "size", - "scope": 1153, + "scope": 645, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45815,49 +45815,49 @@ "name": "uint256", "type": "uint256" }, - "id": 1145, + "id": 637, "name": "ElementaryTypeName", - "src": "18903:7:1" + "src": "19457:7:0" } ], - "id": 1146, + "id": 638, "name": "VariableDeclaration", - "src": "18903:12:1" + "src": "19457:12:0" } ], - "id": 1147, + "id": 639, "name": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "attributes": { "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], "operations": "{ size := extcodesize(account) }" }, "children": [], - "id": 1148, + "id": 640, "name": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "attributes": { - "functionReturnParameters": 1144 + "functionReturnParameters": 636 }, "children": [ { @@ -45879,13 +45879,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1146, + "referencedDeclaration": 638, "type": "uint256", "value": "size" }, - "id": 1149, + "id": 641, "name": "Identifier", - "src": "19038:4:1" + "src": "19595:4:0" }, { "attributes": { @@ -45898,29 +45898,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1150, + "id": 642, "name": "Literal", - "src": "19045:1:1" + "src": "19602:1:0" } ], - "id": 1151, + "id": 643, "name": "BinaryOperation", - "src": "19038:8:1" + "src": "19595:8:0" } ], - "id": 1152, + "id": 644, "name": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ], - "id": 1153, + "id": 645, "name": "Block", - "src": "18706:347:1" + "src": "19255:356:0" } ], - "id": 1154, + "id": 646, "name": "FunctionDefinition", - "src": "18640:413:1" + "src": "19189:422:0" }, { "attributes": { @@ -45931,7 +45931,7 @@ null ], "name": "sendValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -45941,9 +45941,9 @@ "attributes": { "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1155, + "id": 647, "name": "StructuredDocumentation", - "src": "19059:906:1" + "src": "19619:921:0" }, { "children": [ @@ -45952,7 +45952,7 @@ "constant": false, "mutability": "mutable", "name": "recipient", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -45965,21 +45965,21 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 1156, + "id": 648, "name": "ElementaryTypeName", - "src": "19989:15:1" + "src": "20565:15:0" } ], - "id": 1157, + "id": 649, "name": "VariableDeclaration", - "src": "19989:25:1" + "src": "20565:25:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "amount", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45991,19 +45991,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1158, + "id": 650, "name": "ElementaryTypeName", - "src": "20016:7:1" + "src": "20592:7:0" } ], - "id": 1159, + "id": 651, "name": "VariableDeclaration", - "src": "20016:14:1" + "src": "20592:14:0" } ], - "id": 1160, + "id": 652, "name": "ParameterList", - "src": "19988:43:1" + "src": "20564:43:0" }, { "attributes": { @@ -46012,9 +46012,9 @@ ] }, "children": [], - "id": 1161, + "id": 653, "name": "ParameterList", - "src": "20041:0:1" + "src": "20617:0:0" }, { "children": [ @@ -46055,9 +46055,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1162, + "id": 654, "name": "Identifier", - "src": "20051:7:1" + "src": "20628:7:0" }, { "attributes": { @@ -46102,7 +46102,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -46117,14 +46117,14 @@ "attributes": { "name": "address" }, - "id": 1163, + "id": 655, "name": "ElementaryTypeName", - "src": "20059:7:1" + "src": "20636:7:0" } ], - "id": 1164, + "id": 656, "name": "ElementaryTypeNameExpression", - "src": "20059:7:1" + "src": "20636:7:0" }, { "attributes": { @@ -46135,37 +46135,37 @@ "type": "library Address", "value": "this" }, - "id": 1165, + "id": 657, "name": "Identifier", - "src": "20067:4:1" + "src": "20644:4:0" } ], - "id": 1166, + "id": 658, "name": "FunctionCall", - "src": "20059:13:1" + "src": "20636:13:0" } ], - "id": 1167, + "id": 659, "name": "MemberAccess", - "src": "20059:21:1" + "src": "20636:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1168, + "id": 660, "name": "Identifier", - "src": "20084:6:1" + "src": "20661:6:0" } ], - "id": 1169, + "id": 661, "name": "BinaryOperation", - "src": "20059:31:1" + "src": "20636:31:0" }, { "attributes": { @@ -46178,24 +46178,24 @@ "type": "literal_string \"Address: insufficient balance\"", "value": "Address: insufficient balance" }, - "id": 1170, + "id": 662, "name": "Literal", - "src": "20092:31:1" + "src": "20669:31:0" } ], - "id": 1171, + "id": 663, "name": "FunctionCall", - "src": "20051:73:1" + "src": "20628:73:0" } ], - "id": 1172, + "id": 664, "name": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "attributes": { "assignments": [ - 1174, + 666, null ] }, @@ -46205,7 +46205,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1187, + "scope": 679, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -46217,14 +46217,14 @@ "name": "bool", "type": "bool" }, - "id": 1173, + "id": 665, "name": "ElementaryTypeName", - "src": "20213:4:1" + "src": "20793:4:0" } ], - "id": 1174, + "id": 666, "name": "VariableDeclaration", - "src": "20213:12:1" + "src": "20793:12:0" }, { "attributes": { @@ -46280,36 +46280,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1157, + "referencedDeclaration": 649, "type": "address payable", "value": "recipient" }, - "id": 1175, + "id": 667, "name": "Identifier", - "src": "20231:9:1" + "src": "20811:9:0" } ], - "id": 1176, + "id": 668, "name": "MemberAccess", - "src": "20231:14:1" + "src": "20811:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1177, + "id": 669, "name": "Identifier", - "src": "20254:6:1" + "src": "20834:6:0" } ], - "id": 1178, + "id": 670, "name": "FunctionCallOptions", - "src": "20231:31:1" + "src": "20811:31:0" }, { "attributes": { @@ -46322,19 +46322,19 @@ "type": "literal_string \"\"", "value": "" }, - "id": 1179, + "id": 671, "name": "Literal", - "src": "20263:2:1" + "src": "20843:2:0" } ], - "id": 1180, + "id": 672, "name": "FunctionCall", - "src": "20231:35:1" + "src": "20811:35:0" } ], - "id": 1181, + "id": 673, "name": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "children": [ @@ -46373,22 +46373,22 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1182, + "id": 674, "name": "Identifier", - "src": "20276:7:1" + "src": "20857:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 666, "type": "bool", "value": "success" }, - "id": 1183, + "id": 675, "name": "Identifier", - "src": "20284:7:1" + "src": "20865:7:0" }, { "attributes": { @@ -46401,29 +46401,29 @@ "type": "literal_string \"Address: unable to send value, recipient may have reverted\"", "value": "Address: unable to send value, recipient may have reverted" }, - "id": 1184, + "id": 676, "name": "Literal", - "src": "20293:60:1" + "src": "20874:60:0" } ], - "id": 1185, + "id": 677, "name": "FunctionCall", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1186, + "id": 678, "name": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1187, + "id": 679, "name": "Block", - "src": "20041:320:1" + "src": "20617:326:0" } ], - "id": 1188, + "id": 680, "name": "FunctionDefinition", - "src": "19970:391:1" + "src": "20546:397:0" }, { "attributes": { @@ -46434,7 +46434,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46444,9 +46444,9 @@ "attributes": { "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1189, + "id": 681, "name": "StructuredDocumentation", - "src": "20367:730:1" + "src": "20951:747:0" }, { "children": [ @@ -46455,7 +46455,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46468,21 +46468,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1190, + "id": 682, "name": "ElementaryTypeName", - "src": "21124:7:1" + "src": "21726:7:0" } ], - "id": 1191, + "id": 683, "name": "VariableDeclaration", - "src": "21124:14:1" + "src": "21726:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46494,19 +46494,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1192, + "id": 684, "name": "ElementaryTypeName", - "src": "21140:5:1" + "src": "21742:5:0" } ], - "id": 1193, + "id": 685, "name": "VariableDeclaration", - "src": "21140:17:1" + "src": "21742:17:0" } ], - "id": 1194, + "id": 686, "name": "ParameterList", - "src": "21123:35:1" + "src": "21725:35:0" }, { "children": [ @@ -46515,7 +46515,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46527,25 +46527,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1195, + "id": 687, "name": "ElementaryTypeName", - "src": "21177:5:1" + "src": "21779:5:0" } ], - "id": 1196, + "id": 688, "name": "VariableDeclaration", - "src": "21177:12:1" + "src": "21779:12:0" } ], - "id": 1197, + "id": 689, "name": "ParameterList", - "src": "21176:14:1" + "src": "21778:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1197 + "functionReturnParameters": 689 }, "children": [ { @@ -46580,42 +46580,42 @@ } ], "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionCall" }, - "id": 1198, + "id": 690, "name": "Identifier", - "src": "21206:12:1" + "src": "21809:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1191, + "referencedDeclaration": 683, "type": "address", "value": "target" }, - "id": 1199, + "id": 691, "name": "Identifier", - "src": "21219:6:1" + "src": "21822:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1193, + "referencedDeclaration": 685, "type": "bytes memory", "value": "data" }, - "id": 1200, + "id": 692, "name": "Identifier", - "src": "21227:4:1" + "src": "21830:4:0" }, { "attributes": { @@ -46628,29 +46628,29 @@ "type": "literal_string \"Address: low-level call failed\"", "value": "Address: low-level call failed" }, - "id": 1201, + "id": 693, "name": "Literal", - "src": "21233:32:1" + "src": "21836:32:0" } ], - "id": 1202, + "id": 694, "name": "FunctionCall", - "src": "21206:60:1" + "src": "21809:60:0" } ], - "id": 1203, + "id": 695, "name": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ], - "id": 1204, + "id": 696, "name": "Block", - "src": "21191:82:1" + "src": "21793:84:0" } ], - "id": 1205, + "id": 697, "name": "FunctionDefinition", - "src": "21102:171:1" + "src": "21704:173:0" }, { "attributes": { @@ -46661,7 +46661,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46671,9 +46671,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1206, + "id": 698, "name": "StructuredDocumentation", - "src": "21279:211:1" + "src": "21885:216:0" }, { "children": [ @@ -46682,7 +46682,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46695,21 +46695,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1207, + "id": 699, "name": "ElementaryTypeName", - "src": "21517:7:1" + "src": "22129:7:0" } ], - "id": 1208, + "id": 700, "name": "VariableDeclaration", - "src": "21517:14:1" + "src": "22129:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46721,21 +46721,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1209, + "id": 701, "name": "ElementaryTypeName", - "src": "21533:5:1" + "src": "22145:5:0" } ], - "id": 1210, + "id": 702, "name": "VariableDeclaration", - "src": "21533:17:1" + "src": "22145:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -46747,19 +46747,19 @@ "name": "string", "type": "string" }, - "id": 1211, + "id": 703, "name": "ElementaryTypeName", - "src": "21552:6:1" + "src": "22164:6:0" } ], - "id": 1212, + "id": 704, "name": "VariableDeclaration", - "src": "21552:26:1" + "src": "22164:26:0" } ], - "id": 1213, + "id": 705, "name": "ParameterList", - "src": "21516:63:1" + "src": "22128:63:0" }, { "children": [ @@ -46768,7 +46768,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46780,25 +46780,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1214, + "id": 706, "name": "ElementaryTypeName", - "src": "21598:5:1" + "src": "22210:5:0" } ], - "id": 1215, + "id": 707, "name": "VariableDeclaration", - "src": "21598:12:1" + "src": "22210:12:0" } ], - "id": 1216, + "id": 708, "name": "ParameterList", - "src": "21597:14:1" + "src": "22209:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1216 + "functionReturnParameters": 708 }, "children": [ { @@ -46837,42 +46837,42 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1217, + "id": 709, "name": "Identifier", - "src": "21629:21:1" + "src": "22242:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1208, + "referencedDeclaration": 700, "type": "address", "value": "target" }, - "id": 1218, + "id": 710, "name": "Identifier", - "src": "21651:6:1" + "src": "22264:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1210, + "referencedDeclaration": 702, "type": "bytes memory", "value": "data" }, - "id": 1219, + "id": 711, "name": "Identifier", - "src": "21659:4:1" + "src": "22272:4:0" }, { "attributes": { @@ -46885,42 +46885,42 @@ "type": "int_const 0", "value": "0" }, - "id": 1220, + "id": 712, "name": "Literal", - "src": "21665:1:1" + "src": "22278:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1212, + "referencedDeclaration": 704, "type": "string memory", "value": "errorMessage" }, - "id": 1221, + "id": 713, "name": "Identifier", - "src": "21668:12:1" + "src": "22281:12:0" } ], - "id": 1222, + "id": 714, "name": "FunctionCall", - "src": "21629:52:1" + "src": "22242:52:0" } ], - "id": 1223, + "id": 715, "name": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ], - "id": 1224, + "id": 716, "name": "Block", - "src": "21612:76:1" + "src": "22224:78:0" } ], - "id": 1225, + "id": 717, "name": "FunctionDefinition", - "src": "21495:193:1" + "src": "22107:195:0" }, { "attributes": { @@ -46931,7 +46931,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46941,9 +46941,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1226, + "id": 718, "name": "StructuredDocumentation", - "src": "21694:351:1" + "src": "22310:361:0" }, { "children": [ @@ -46952,7 +46952,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46965,21 +46965,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1227, + "id": 719, "name": "ElementaryTypeName", - "src": "22081:7:1" + "src": "22708:7:0" } ], - "id": 1228, + "id": 720, "name": "VariableDeclaration", - "src": "22081:14:1" + "src": "22708:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46991,21 +46991,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1229, + "id": 721, "name": "ElementaryTypeName", - "src": "22097:5:1" + "src": "22724:5:0" } ], - "id": 1230, + "id": 722, "name": "VariableDeclaration", - "src": "22097:17:1" + "src": "22724:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -47017,19 +47017,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1231, + "id": 723, "name": "ElementaryTypeName", - "src": "22116:7:1" + "src": "22743:7:0" } ], - "id": 1232, + "id": 724, "name": "VariableDeclaration", - "src": "22116:13:1" + "src": "22743:13:0" } ], - "id": 1233, + "id": 725, "name": "ParameterList", - "src": "22080:50:1" + "src": "22707:50:0" }, { "children": [ @@ -47038,7 +47038,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47050,25 +47050,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1234, + "id": 726, "name": "ElementaryTypeName", - "src": "22149:5:1" + "src": "22776:5:0" } ], - "id": 1235, + "id": 727, "name": "VariableDeclaration", - "src": "22149:12:1" + "src": "22776:12:0" } ], - "id": 1236, + "id": 728, "name": "ParameterList", - "src": "22148:14:1" + "src": "22775:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1236 + "functionReturnParameters": 728 }, "children": [ { @@ -47107,55 +47107,55 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1237, + "id": 729, "name": "Identifier", - "src": "22180:21:1" + "src": "22808:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 720, "type": "address", "value": "target" }, - "id": 1238, + "id": 730, "name": "Identifier", - "src": "22202:6:1" + "src": "22830:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 722, "type": "bytes memory", "value": "data" }, - "id": 1239, + "id": 731, "name": "Identifier", - "src": "22210:4:1" + "src": "22838:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1232, + "referencedDeclaration": 724, "type": "uint256", "value": "value" }, - "id": 1240, + "id": 732, "name": "Identifier", - "src": "22216:5:1" + "src": "22844:5:0" }, { "attributes": { @@ -47168,29 +47168,29 @@ "type": "literal_string \"Address: low-level call with value failed\"", "value": "Address: low-level call with value failed" }, - "id": 1241, + "id": 733, "name": "Literal", - "src": "22223:43:1" + "src": "22851:43:0" } ], - "id": 1242, + "id": 734, "name": "FunctionCall", - "src": "22180:87:1" + "src": "22808:87:0" } ], - "id": 1243, + "id": 735, "name": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ], - "id": 1244, + "id": 736, "name": "Block", - "src": "22163:111:1" + "src": "22790:113:0" } ], - "id": 1245, + "id": 737, "name": "FunctionDefinition", - "src": "22050:224:1" + "src": "22677:226:0" }, { "attributes": { @@ -47201,7 +47201,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -47211,9 +47211,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1246, + "id": 738, "name": "StructuredDocumentation", - "src": "22280:237:1" + "src": "22911:242:0" }, { "children": [ @@ -47222,7 +47222,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47235,21 +47235,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1247, + "id": 739, "name": "ElementaryTypeName", - "src": "22553:7:1" + "src": "23190:7:0" } ], - "id": 1248, + "id": 740, "name": "VariableDeclaration", - "src": "22553:14:1" + "src": "23190:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47261,21 +47261,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1249, + "id": 741, "name": "ElementaryTypeName", - "src": "22569:5:1" + "src": "23206:5:0" } ], - "id": 1250, + "id": 742, "name": "VariableDeclaration", - "src": "22569:17:1" + "src": "23206:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -47287,21 +47287,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1251, + "id": 743, "name": "ElementaryTypeName", - "src": "22588:7:1" + "src": "23225:7:0" } ], - "id": 1252, + "id": 744, "name": "VariableDeclaration", - "src": "22588:13:1" + "src": "23225:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -47313,19 +47313,19 @@ "name": "string", "type": "string" }, - "id": 1253, + "id": 745, "name": "ElementaryTypeName", - "src": "22603:6:1" + "src": "23240:6:0" } ], - "id": 1254, + "id": 746, "name": "VariableDeclaration", - "src": "22603:26:1" + "src": "23240:26:0" } ], - "id": 1255, + "id": 747, "name": "ParameterList", - "src": "22552:78:1" + "src": "23189:78:0" }, { "children": [ @@ -47334,7 +47334,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47346,19 +47346,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1256, + "id": 748, "name": "ElementaryTypeName", - "src": "22649:5:1" + "src": "23286:5:0" } ], - "id": 1257, + "id": 749, "name": "VariableDeclaration", - "src": "22649:12:1" + "src": "23286:12:0" } ], - "id": 1258, + "id": 750, "name": "ParameterList", - "src": "22648:14:1" + "src": "23285:14:0" }, { "children": [ @@ -47399,9 +47399,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1259, + "id": 751, "name": "Identifier", - "src": "22673:7:1" + "src": "23311:7:0" }, { "attributes": { @@ -47446,7 +47446,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -47461,14 +47461,14 @@ "attributes": { "name": "address" }, - "id": 1260, + "id": 752, "name": "ElementaryTypeName", - "src": "22681:7:1" + "src": "23319:7:0" } ], - "id": 1261, + "id": 753, "name": "ElementaryTypeNameExpression", - "src": "22681:7:1" + "src": "23319:7:0" }, { "attributes": { @@ -47479,37 +47479,37 @@ "type": "library Address", "value": "this" }, - "id": 1262, + "id": 754, "name": "Identifier", - "src": "22689:4:1" + "src": "23327:4:0" } ], - "id": 1263, + "id": 755, "name": "FunctionCall", - "src": "22681:13:1" + "src": "23319:13:0" } ], - "id": 1264, + "id": 756, "name": "MemberAccess", - "src": "22681:21:1" + "src": "23319:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1265, + "id": 757, "name": "Identifier", - "src": "22706:5:1" + "src": "23344:5:0" } ], - "id": 1266, + "id": 758, "name": "BinaryOperation", - "src": "22681:30:1" + "src": "23319:30:0" }, { "attributes": { @@ -47522,19 +47522,19 @@ "type": "literal_string \"Address: insufficient balance for call\"", "value": "Address: insufficient balance for call" }, - "id": 1267, + "id": 759, "name": "Literal", - "src": "22713:40:1" + "src": "23351:40:0" } ], - "id": 1268, + "id": 760, "name": "FunctionCall", - "src": "22673:81:1" + "src": "23311:81:0" } ], - "id": 1269, + "id": 761, "name": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "children": [ @@ -47573,9 +47573,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1270, + "id": 762, "name": "Identifier", - "src": "22764:7:1" + "src": "23403:7:0" }, { "attributes": { @@ -47603,31 +47603,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1271, + "id": 763, "name": "Identifier", - "src": "22772:10:1" + "src": "23411:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1272, + "id": 764, "name": "Identifier", - "src": "22783:6:1" + "src": "23422:6:0" } ], - "id": 1273, + "id": 765, "name": "FunctionCall", - "src": "22772:18:1" + "src": "23411:18:0" }, { "attributes": { @@ -47640,25 +47640,25 @@ "type": "literal_string \"Address: call to non-contract\"", "value": "Address: call to non-contract" }, - "id": 1274, + "id": 766, "name": "Literal", - "src": "22792:31:1" + "src": "23431:31:0" } ], - "id": 1275, + "id": 767, "name": "FunctionCall", - "src": "22764:60:1" + "src": "23403:60:0" } ], - "id": 1276, + "id": 768, "name": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "attributes": { "assignments": [ - 1278, - 1280 + 770, + 772 ] }, "children": [ @@ -47667,7 +47667,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -47679,21 +47679,21 @@ "name": "bool", "type": "bool" }, - "id": 1277, + "id": 769, "name": "ElementaryTypeName", - "src": "22895:4:1" + "src": "23537:4:0" } ], - "id": 1278, + "id": 770, "name": "VariableDeclaration", - "src": "22895:12:1" + "src": "23537:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47705,14 +47705,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1279, + "id": 771, "name": "ElementaryTypeName", - "src": "22909:5:1" + "src": "23551:5:0" } ], - "id": 1280, + "id": 772, "name": "VariableDeclaration", - "src": "22909:23:1" + "src": "23551:23:0" }, { "attributes": { @@ -47768,63 +47768,63 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1281, + "id": 773, "name": "Identifier", - "src": "22936:6:1" + "src": "23578:6:0" } ], - "id": 1282, + "id": 774, "name": "MemberAccess", - "src": "22936:11:1" + "src": "23578:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1283, + "id": 775, "name": "Identifier", - "src": "22956:5:1" + "src": "23598:5:0" } ], - "id": 1284, + "id": 776, "name": "FunctionCallOptions", - "src": "22936:27:1" + "src": "23578:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1250, + "referencedDeclaration": 742, "type": "bytes memory", "value": "data" }, - "id": 1285, + "id": 777, "name": "Identifier", - "src": "22964:4:1" + "src": "23606:4:0" } ], - "id": 1286, + "id": 778, "name": "FunctionCall", - "src": "22936:33:1" + "src": "23578:33:0" } ], - "id": 1287, + "id": 779, "name": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "attributes": { - "functionReturnParameters": 1258 + "functionReturnParameters": 750 }, "children": [ { @@ -47861,72 +47861,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1288, + "id": 780, "name": "Identifier", - "src": "22986:17:1" + "src": "23629:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1278, + "referencedDeclaration": 770, "type": "bool", "value": "success" }, - "id": 1289, + "id": 781, "name": "Identifier", - "src": "23004:7:1" + "src": "23647:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1280, + "referencedDeclaration": 772, "type": "bytes memory", "value": "returndata" }, - "id": 1290, + "id": 782, "name": "Identifier", - "src": "23013:10:1" + "src": "23656:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 746, "type": "string memory", "value": "errorMessage" }, - "id": 1291, + "id": 783, "name": "Identifier", - "src": "23025:12:1" + "src": "23668:12:0" } ], - "id": 1292, + "id": 784, "name": "FunctionCall", - "src": "22986:52:1" + "src": "23629:52:0" } ], - "id": 1293, + "id": 785, "name": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ], - "id": 1294, + "id": 786, "name": "Block", - "src": "22663:382:1" + "src": "23300:389:0" } ], - "id": 1295, + "id": 787, "name": "FunctionDefinition", - "src": "22522:523:1" + "src": "23159:530:0" }, { "attributes": { @@ -47937,7 +47937,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -47947,9 +47947,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1296, + "id": 788, "name": "StructuredDocumentation", - "src": "23051:166:1" + "src": "23697:171:0" }, { "children": [ @@ -47958,7 +47958,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47971,21 +47971,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1297, + "id": 789, "name": "ElementaryTypeName", - "src": "23250:7:1" + "src": "23902:7:0" } ], - "id": 1298, + "id": 790, "name": "VariableDeclaration", - "src": "23250:14:1" + "src": "23902:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47997,19 +47997,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1299, + "id": 791, "name": "ElementaryTypeName", - "src": "23266:5:1" + "src": "23918:5:0" } ], - "id": 1300, + "id": 792, "name": "VariableDeclaration", - "src": "23266:17:1" + "src": "23918:17:0" } ], - "id": 1301, + "id": 793, "name": "ParameterList", - "src": "23249:35:1" + "src": "23901:35:0" }, { "children": [ @@ -48018,7 +48018,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48030,25 +48030,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1302, + "id": 794, "name": "ElementaryTypeName", - "src": "23308:5:1" + "src": "23960:5:0" } ], - "id": 1303, + "id": 795, "name": "VariableDeclaration", - "src": "23308:12:1" + "src": "23960:12:0" } ], - "id": 1304, + "id": 796, "name": "ParameterList", - "src": "23307:14:1" + "src": "23959:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1304 + "functionReturnParameters": 796 }, "children": [ { @@ -48083,42 +48083,42 @@ } ], "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, + "referencedDeclaration": 839, "type": "function (address,bytes memory,string memory) view returns (bytes memory)", "value": "functionStaticCall" }, - "id": 1305, + "id": 797, "name": "Identifier", - "src": "23339:18:1" + "src": "23992:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1298, + "referencedDeclaration": 790, "type": "address", "value": "target" }, - "id": 1306, + "id": 798, "name": "Identifier", - "src": "23358:6:1" + "src": "24011:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1300, + "referencedDeclaration": 792, "type": "bytes memory", "value": "data" }, - "id": 1307, + "id": 799, "name": "Identifier", - "src": "23366:4:1" + "src": "24019:4:0" }, { "attributes": { @@ -48131,29 +48131,29 @@ "type": "literal_string \"Address: low-level static call failed\"", "value": "Address: low-level static call failed" }, - "id": 1308, + "id": 800, "name": "Literal", - "src": "23372:39:1" + "src": "24025:39:0" } ], - "id": 1309, + "id": 801, "name": "FunctionCall", - "src": "23339:73:1" + "src": "23992:73:0" } ], - "id": 1310, + "id": 802, "name": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ], - "id": 1311, + "id": 803, "name": "Block", - "src": "23322:97:1" + "src": "23974:99:0" } ], - "id": 1312, + "id": 804, "name": "FunctionDefinition", - "src": "23222:197:1" + "src": "23874:199:0" }, { "attributes": { @@ -48164,7 +48164,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -48174,9 +48174,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1313, + "id": 805, "name": "StructuredDocumentation", - "src": "23425:173:1" + "src": "24081:178:0" }, { "children": [ @@ -48185,7 +48185,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48198,21 +48198,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1314, + "id": 806, "name": "ElementaryTypeName", - "src": "23631:7:1" + "src": "24293:7:0" } ], - "id": 1315, + "id": 807, "name": "VariableDeclaration", - "src": "23631:14:1" + "src": "24293:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48224,21 +48224,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1316, + "id": 808, "name": "ElementaryTypeName", - "src": "23647:5:1" + "src": "24309:5:0" } ], - "id": 1317, + "id": 809, "name": "VariableDeclaration", - "src": "23647:17:1" + "src": "24309:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -48250,19 +48250,19 @@ "name": "string", "type": "string" }, - "id": 1318, + "id": 810, "name": "ElementaryTypeName", - "src": "23666:6:1" + "src": "24328:6:0" } ], - "id": 1319, + "id": 811, "name": "VariableDeclaration", - "src": "23666:26:1" + "src": "24328:26:0" } ], - "id": 1320, + "id": 812, "name": "ParameterList", - "src": "23630:63:1" + "src": "24292:63:0" }, { "children": [ @@ -48271,7 +48271,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48283,19 +48283,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1321, + "id": 813, "name": "ElementaryTypeName", - "src": "23717:5:1" + "src": "24379:5:0" } ], - "id": 1322, + "id": 814, "name": "VariableDeclaration", - "src": "23717:12:1" + "src": "24379:12:0" } ], - "id": 1323, + "id": 815, "name": "ParameterList", - "src": "23716:14:1" + "src": "24378:14:0" }, { "children": [ @@ -48336,9 +48336,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1324, + "id": 816, "name": "Identifier", - "src": "23741:7:1" + "src": "24404:7:0" }, { "attributes": { @@ -48366,31 +48366,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1325, + "id": 817, "name": "Identifier", - "src": "23749:10:1" + "src": "24412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1326, + "id": 818, "name": "Identifier", - "src": "23760:6:1" + "src": "24423:6:0" } ], - "id": 1327, + "id": 819, "name": "FunctionCall", - "src": "23749:18:1" + "src": "24412:18:0" }, { "attributes": { @@ -48403,25 +48403,25 @@ "type": "literal_string \"Address: static call to non-contract\"", "value": "Address: static call to non-contract" }, - "id": 1328, + "id": 820, "name": "Literal", - "src": "23769:38:1" + "src": "24432:38:0" } ], - "id": 1329, + "id": 821, "name": "FunctionCall", - "src": "23741:67:1" + "src": "24404:67:0" } ], - "id": 1330, + "id": 822, "name": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "attributes": { "assignments": [ - 1332, - 1334 + 824, + 826 ] }, "children": [ @@ -48430,7 +48430,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48442,21 +48442,21 @@ "name": "bool", "type": "bool" }, - "id": 1331, + "id": 823, "name": "ElementaryTypeName", - "src": "23879:4:1" + "src": "24545:4:0" } ], - "id": 1332, + "id": 824, "name": "VariableDeclaration", - "src": "23879:12:1" + "src": "24545:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48468,14 +48468,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1333, + "id": 825, "name": "ElementaryTypeName", - "src": "23893:5:1" + "src": "24559:5:0" } ], - "id": 1334, + "id": 826, "name": "VariableDeclaration", - "src": "23893:23:1" + "src": "24559:23:0" }, { "attributes": { @@ -48513,45 +48513,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1335, + "id": 827, "name": "Identifier", - "src": "23920:6:1" + "src": "24586:6:0" } ], - "id": 1336, + "id": 828, "name": "MemberAccess", - "src": "23920:17:1" + "src": "24586:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1317, + "referencedDeclaration": 809, "type": "bytes memory", "value": "data" }, - "id": 1337, + "id": 829, "name": "Identifier", - "src": "23938:4:1" + "src": "24604:4:0" } ], - "id": 1338, + "id": 830, "name": "FunctionCall", - "src": "23920:23:1" + "src": "24586:23:0" } ], - "id": 1339, + "id": 831, "name": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "attributes": { - "functionReturnParameters": 1323 + "functionReturnParameters": 815 }, "children": [ { @@ -48588,72 +48588,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1340, + "id": 832, "name": "Identifier", - "src": "23960:17:1" + "src": "24627:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1332, + "referencedDeclaration": 824, "type": "bool", "value": "success" }, - "id": 1341, + "id": 833, "name": "Identifier", - "src": "23978:7:1" + "src": "24645:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1334, + "referencedDeclaration": 826, "type": "bytes memory", "value": "returndata" }, - "id": 1342, + "id": 834, "name": "Identifier", - "src": "23987:10:1" + "src": "24654:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 811, "type": "string memory", "value": "errorMessage" }, - "id": 1343, + "id": 835, "name": "Identifier", - "src": "23999:12:1" + "src": "24666:12:0" } ], - "id": 1344, + "id": 836, "name": "FunctionCall", - "src": "23960:52:1" + "src": "24627:52:0" } ], - "id": 1345, + "id": 837, "name": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ], - "id": 1346, + "id": 838, "name": "Block", - "src": "23731:288:1" + "src": "24393:294:0" } ], - "id": 1347, + "id": 839, "name": "FunctionDefinition", - "src": "23603:416:1" + "src": "24265:422:0" }, { "attributes": { @@ -48664,7 +48664,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48674,9 +48674,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1348, + "id": 840, "name": "StructuredDocumentation", - "src": "24025:168:1" + "src": "24695:173:0" }, { "children": [ @@ -48685,7 +48685,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48698,21 +48698,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1349, + "id": 841, "name": "ElementaryTypeName", - "src": "24228:7:1" + "src": "24904:7:0" } ], - "id": 1350, + "id": 842, "name": "VariableDeclaration", - "src": "24228:14:1" + "src": "24904:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48724,19 +48724,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1351, + "id": 843, "name": "ElementaryTypeName", - "src": "24244:5:1" + "src": "24920:5:0" } ], - "id": 1352, + "id": 844, "name": "VariableDeclaration", - "src": "24244:17:1" + "src": "24920:17:0" } ], - "id": 1353, + "id": 845, "name": "ParameterList", - "src": "24227:35:1" + "src": "24903:35:0" }, { "children": [ @@ -48745,7 +48745,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48757,25 +48757,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1354, + "id": 846, "name": "ElementaryTypeName", - "src": "24281:5:1" + "src": "24957:5:0" } ], - "id": 1355, + "id": 847, "name": "VariableDeclaration", - "src": "24281:12:1" + "src": "24957:12:0" } ], - "id": 1356, + "id": 848, "name": "ParameterList", - "src": "24280:14:1" + "src": "24956:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1356 + "functionReturnParameters": 848 }, "children": [ { @@ -48810,42 +48810,42 @@ } ], "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, + "referencedDeclaration": 891, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionDelegateCall" }, - "id": 1357, + "id": 849, "name": "Identifier", - "src": "24312:20:1" + "src": "24989:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1350, + "referencedDeclaration": 842, "type": "address", "value": "target" }, - "id": 1358, + "id": 850, "name": "Identifier", - "src": "24333:6:1" + "src": "25010:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1352, + "referencedDeclaration": 844, "type": "bytes memory", "value": "data" }, - "id": 1359, + "id": 851, "name": "Identifier", - "src": "24341:4:1" + "src": "25018:4:0" }, { "attributes": { @@ -48858,29 +48858,29 @@ "type": "literal_string \"Address: low-level delegate call failed\"", "value": "Address: low-level delegate call failed" }, - "id": 1360, + "id": 852, "name": "Literal", - "src": "24347:41:1" + "src": "25024:41:0" } ], - "id": 1361, + "id": 853, "name": "FunctionCall", - "src": "24312:77:1" + "src": "24989:77:0" } ], - "id": 1362, + "id": 854, "name": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ], - "id": 1363, + "id": 855, "name": "Block", - "src": "24295:101:1" + "src": "24971:103:0" } ], - "id": 1364, + "id": 856, "name": "FunctionDefinition", - "src": "24198:198:1" + "src": "24874:200:0" }, { "attributes": { @@ -48891,7 +48891,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48901,9 +48901,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1365, + "id": 857, "name": "StructuredDocumentation", - "src": "24402:175:1" + "src": "25082:180:0" }, { "children": [ @@ -48912,7 +48912,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48925,21 +48925,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1366, + "id": 858, "name": "ElementaryTypeName", - "src": "24612:7:1" + "src": "25298:7:0" } ], - "id": 1367, + "id": 859, "name": "VariableDeclaration", - "src": "24612:14:1" + "src": "25298:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48951,21 +48951,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1368, + "id": 860, "name": "ElementaryTypeName", - "src": "24628:5:1" + "src": "25314:5:0" } ], - "id": 1369, + "id": 861, "name": "VariableDeclaration", - "src": "24628:17:1" + "src": "25314:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -48977,19 +48977,19 @@ "name": "string", "type": "string" }, - "id": 1370, + "id": 862, "name": "ElementaryTypeName", - "src": "24647:6:1" + "src": "25333:6:0" } ], - "id": 1371, + "id": 863, "name": "VariableDeclaration", - "src": "24647:26:1" + "src": "25333:26:0" } ], - "id": 1372, + "id": 864, "name": "ParameterList", - "src": "24611:63:1" + "src": "25297:63:0" }, { "children": [ @@ -48998,7 +48998,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49010,19 +49010,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1373, + "id": 865, "name": "ElementaryTypeName", - "src": "24693:5:1" + "src": "25379:5:0" } ], - "id": 1374, + "id": 866, "name": "VariableDeclaration", - "src": "24693:12:1" + "src": "25379:12:0" } ], - "id": 1375, + "id": 867, "name": "ParameterList", - "src": "24692:14:1" + "src": "25378:14:0" }, { "children": [ @@ -49063,9 +49063,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1376, + "id": 868, "name": "Identifier", - "src": "24717:7:1" + "src": "25404:7:0" }, { "attributes": { @@ -49093,31 +49093,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1377, + "id": 869, "name": "Identifier", - "src": "24725:10:1" + "src": "25412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1378, + "id": 870, "name": "Identifier", - "src": "24736:6:1" + "src": "25423:6:0" } ], - "id": 1379, + "id": 871, "name": "FunctionCall", - "src": "24725:18:1" + "src": "25412:18:0" }, { "attributes": { @@ -49130,25 +49130,25 @@ "type": "literal_string \"Address: delegate call to non-contract\"", "value": "Address: delegate call to non-contract" }, - "id": 1380, + "id": 872, "name": "Literal", - "src": "24745:40:1" + "src": "25432:40:0" } ], - "id": 1381, + "id": 873, "name": "FunctionCall", - "src": "24717:69:1" + "src": "25404:69:0" } ], - "id": 1382, + "id": 874, "name": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "attributes": { "assignments": [ - 1384, - 1386 + 876, + 878 ] }, "children": [ @@ -49157,7 +49157,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49169,21 +49169,21 @@ "name": "bool", "type": "bool" }, - "id": 1383, + "id": 875, "name": "ElementaryTypeName", - "src": "24857:4:1" + "src": "25547:4:0" } ], - "id": 1384, + "id": 876, "name": "VariableDeclaration", - "src": "24857:12:1" + "src": "25547:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49195,14 +49195,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1385, + "id": 877, "name": "ElementaryTypeName", - "src": "24871:5:1" + "src": "25561:5:0" } ], - "id": 1386, + "id": 878, "name": "VariableDeclaration", - "src": "24871:23:1" + "src": "25561:23:0" }, { "attributes": { @@ -49240,45 +49240,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1387, + "id": 879, "name": "Identifier", - "src": "24898:6:1" + "src": "25588:6:0" } ], - "id": 1388, + "id": 880, "name": "MemberAccess", - "src": "24898:19:1" + "src": "25588:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1369, + "referencedDeclaration": 861, "type": "bytes memory", "value": "data" }, - "id": 1389, + "id": 881, "name": "Identifier", - "src": "24918:4:1" + "src": "25608:4:0" } ], - "id": 1390, + "id": 882, "name": "FunctionCall", - "src": "24898:25:1" + "src": "25588:25:0" } ], - "id": 1391, + "id": 883, "name": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "attributes": { - "functionReturnParameters": 1375 + "functionReturnParameters": 867 }, "children": [ { @@ -49315,72 +49315,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1392, + "id": 884, "name": "Identifier", - "src": "24940:17:1" + "src": "25631:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1384, + "referencedDeclaration": 876, "type": "bool", "value": "success" }, - "id": 1393, + "id": 885, "name": "Identifier", - "src": "24958:7:1" + "src": "25649:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1386, + "referencedDeclaration": 878, "type": "bytes memory", "value": "returndata" }, - "id": 1394, + "id": 886, "name": "Identifier", - "src": "24967:10:1" + "src": "25658:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1371, + "referencedDeclaration": 863, "type": "string memory", "value": "errorMessage" }, - "id": 1395, + "id": 887, "name": "Identifier", - "src": "24979:12:1" + "src": "25670:12:0" } ], - "id": 1396, + "id": 888, "name": "FunctionCall", - "src": "24940:52:1" + "src": "25631:52:0" } ], - "id": 1397, + "id": 889, "name": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ], - "id": 1398, + "id": 890, "name": "Block", - "src": "24707:292:1" + "src": "25393:298:0" } ], - "id": 1399, + "id": 891, "name": "FunctionDefinition", - "src": "24582:417:1" + "src": "25268:423:0" }, { "attributes": { @@ -49391,7 +49391,7 @@ null ], "name": "_verifyCallResult", - "scope": 1430, + "scope": 922, "stateMutability": "pure", "virtual": false, "visibility": "private" @@ -49404,7 +49404,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49416,21 +49416,21 @@ "name": "bool", "type": "bool" }, - "id": 1400, + "id": 892, "name": "ElementaryTypeName", - "src": "25032:4:1" + "src": "25726:4:0" } ], - "id": 1401, + "id": 893, "name": "VariableDeclaration", - "src": "25032:12:1" + "src": "25726:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49442,21 +49442,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1402, + "id": 894, "name": "ElementaryTypeName", - "src": "25046:5:1" + "src": "25740:5:0" } ], - "id": 1403, + "id": 895, "name": "VariableDeclaration", - "src": "25046:23:1" + "src": "25740:23:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -49468,19 +49468,19 @@ "name": "string", "type": "string" }, - "id": 1404, + "id": 896, "name": "ElementaryTypeName", - "src": "25071:6:1" + "src": "25765:6:0" } ], - "id": 1405, + "id": 897, "name": "VariableDeclaration", - "src": "25071:26:1" + "src": "25765:26:0" } ], - "id": 1406, + "id": 898, "name": "ParameterList", - "src": "25031:67:1" + "src": "25725:67:0" }, { "children": [ @@ -49489,7 +49489,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49501,19 +49501,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1407, + "id": 899, "name": "ElementaryTypeName", - "src": "25120:5:1" + "src": "25814:5:0" } ], - "id": 1408, + "id": 900, "name": "VariableDeclaration", - "src": "25120:12:1" + "src": "25814:12:0" } ], - "id": 1409, + "id": 901, "name": "ParameterList", - "src": "25119:14:1" + "src": "25813:14:0" }, { "children": [ @@ -49524,19 +49524,19 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1401, + "referencedDeclaration": 893, "type": "bool", "value": "success" }, - "id": 1410, + "id": 902, "name": "Identifier", - "src": "25148:7:1" + "src": "25843:7:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1409 + "functionReturnParameters": 901 }, "children": [ { @@ -49544,23 +49544,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1411, + "id": 903, "name": "Identifier", - "src": "25178:10:1" + "src": "25874:10:0" } ], - "id": 1412, + "id": 904, "name": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ], - "id": 1413, + "id": 905, "name": "Block", - "src": "25157:42:1" + "src": "25852:44:0" }, { "children": [ @@ -49595,18 +49595,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1414, + "id": 906, "name": "Identifier", - "src": "25289:10:1" + "src": "25988:10:0" } ], - "id": 1415, + "id": 907, "name": "MemberAccess", - "src": "25289:17:1" + "src": "25988:17:0" }, { "attributes": { @@ -49619,14 +49619,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1416, + "id": 908, "name": "Literal", - "src": "25309:1:1" + "src": "26008:1:0" } ], - "id": 1417, + "id": 909, "name": "BinaryOperation", - "src": "25289:21:1" + "src": "25988:21:0" }, { "children": [ @@ -49635,31 +49635,31 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], "operations": "{\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n}" }, "children": [], - "id": 1418, + "id": 910, "name": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ], - "id": 1419, + "id": 911, "name": "Block", - "src": "25312:343:1" + "src": "26011:351:0" }, { "children": [ @@ -49696,67 +49696,67 @@ "type": "function (string memory) pure", "value": "revert" }, - "id": 1420, + "id": 912, "name": "Identifier", - "src": "25679:6:1" + "src": "26387:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1405, + "referencedDeclaration": 897, "type": "string memory", "value": "errorMessage" }, - "id": 1421, + "id": 913, "name": "Identifier", - "src": "25686:12:1" + "src": "26394:12:0" } ], - "id": 1422, + "id": 914, "name": "FunctionCall", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1423, + "id": 915, "name": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1424, + "id": 916, "name": "Block", - "src": "25661:53:1" + "src": "26368:55:0" } ], - "id": 1425, + "id": 917, "name": "IfStatement", - "src": "25285:429:1" + "src": "25984:439:0" } ], - "id": 1426, + "id": 918, "name": "Block", - "src": "25205:519:1" + "src": "25902:532:0" } ], - "id": 1427, + "id": 919, "name": "IfStatement", - "src": "25144:580:1" + "src": "25839:595:0" } ], - "id": 1428, + "id": 920, "name": "Block", - "src": "25134:596:1" + "src": "25828:613:0" } ], - "id": 1429, + "id": 921, "name": "FunctionDefinition", - "src": "25005:725:1" + "src": "25699:742:0" } ], - "id": 1430, + "id": 922, "name": "ContractDefinition", - "src": "18048:7684:1" + "src": "18579:7865:0" }, { "attributes": { @@ -49770,9 +49770,9 @@ ".0" ] }, - "id": 1431, + "id": 923, "name": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "attributes": { @@ -49786,25 +49786,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, - "id": 1432, + "id": 924, "name": "StructuredDocumentation", - "src": "25824:686:1" + "src": "26541:709:0" }, { "attributes": { "canonicalName": "EnumerableSet.Set", "name": "Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -49813,7 +49813,7 @@ "constant": false, "mutability": "mutable", "name": "_values", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "bytes32[]", @@ -49830,26 +49830,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1433, + "id": 925, "name": "ElementaryTypeName", - "src": "27033:7:1" + "src": "27786:7:0" } ], - "id": 1434, + "id": 926, "name": "ArrayTypeName", - "src": "27033:9:1" + "src": "27786:9:0" } ], - "id": 1435, + "id": 927, "name": "VariableDeclaration", - "src": "27033:17:1" + "src": "27786:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -49866,33 +49866,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1436, + "id": 928, "name": "ElementaryTypeName", - "src": "27193:7:1" + "src": "27950:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1437, + "id": 929, "name": "ElementaryTypeName", - "src": "27204:7:1" + "src": "27961:7:0" } ], - "id": 1438, + "id": 930, "name": "Mapping", - "src": "27184:28:1" + "src": "27941:28:0" } ], - "id": 1439, + "id": 931, "name": "VariableDeclaration", - "src": "27184:37:1" + "src": "27941:37:0" } ], - "id": 1440, + "id": 932, "name": "StructDefinition", - "src": "26979:249:1" + "src": "27730:256:0" }, { "attributes": { @@ -49903,7 +49903,7 @@ null ], "name": "_add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -49913,9 +49913,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1441, + "id": 933, "name": "StructuredDocumentation", - "src": "27234:159:1" + "src": "27994:164:0" }, { "children": [ @@ -49924,7 +49924,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -49934,24 +49934,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1442, + "id": 934, "name": "UserDefinedTypeName", - "src": "27412:3:1" + "src": "28178:3:0" } ], - "id": 1443, + "id": 935, "name": "VariableDeclaration", - "src": "27412:15:1" + "src": "28178:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -49963,19 +49963,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1444, + "id": 936, "name": "ElementaryTypeName", - "src": "27429:7:1" + "src": "28195:7:0" } ], - "id": 1445, + "id": 937, "name": "VariableDeclaration", - "src": "27429:13:1" + "src": "28195:13:0" } ], - "id": 1446, + "id": 938, "name": "ParameterList", - "src": "27411:32:1" + "src": "28177:32:0" }, { "children": [ @@ -49984,7 +49984,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49996,19 +49996,19 @@ "name": "bool", "type": "bool" }, - "id": 1447, + "id": 939, "name": "ElementaryTypeName", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1448, + "id": 940, "name": "VariableDeclaration", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1449, + "id": 941, "name": "ParameterList", - "src": "27460:6:1" + "src": "28226:6:0" }, { "children": [ @@ -50044,7 +50044,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -50055,49 +50055,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1450, + "id": 942, "name": "Identifier", - "src": "27482:9:1" + "src": "28249:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1451, + "id": 943, "name": "Identifier", - "src": "27492:3:1" + "src": "28259:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1452, + "id": 944, "name": "Identifier", - "src": "27497:5:1" + "src": "28264:5:0" } ], - "id": 1453, + "id": 945, "name": "FunctionCall", - "src": "27482:21:1" + "src": "28249:21:0" } ], - "id": 1454, + "id": 946, "name": "UnaryOperation", - "src": "27481:22:1" + "src": "28248:22:0" }, { "children": [ @@ -50141,7 +50141,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50150,46 +50150,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1455, + "id": 947, "name": "Identifier", - "src": "27519:3:1" + "src": "28287:3:0" } ], - "id": 1458, + "id": 950, "name": "MemberAccess", - "src": "27519:11:1" + "src": "28287:11:0" } ], - "id": 1459, + "id": 951, "name": "MemberAccess", - "src": "27519:16:1" + "src": "28287:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1460, + "id": 952, "name": "Identifier", - "src": "27536:5:1" + "src": "28304:5:0" } ], - "id": 1461, + "id": 953, "name": "FunctionCall", - "src": "27519:23:1" + "src": "28287:23:0" } ], - "id": 1462, + "id": 954, "name": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "children": [ @@ -50219,7 +50219,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50228,36 +50228,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1463, + "id": 955, "name": "Identifier", - "src": "27677:3:1" + "src": "28448:3:0" } ], - "id": 1466, + "id": 958, "name": "MemberAccess", - "src": "27677:12:1" + "src": "28448:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1465, + "id": 957, "name": "Identifier", - "src": "27690:5:1" + "src": "28461:5:0" } ], - "id": 1467, + "id": 959, "name": "IndexAccess", - "src": "27677:19:1" + "src": "28448:19:0" }, { "attributes": { @@ -50276,7 +50276,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50285,37 +50285,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1468, + "id": 960, "name": "Identifier", - "src": "27699:3:1" + "src": "28470:3:0" } ], - "id": 1469, + "id": 961, "name": "MemberAccess", - "src": "27699:11:1" + "src": "28470:11:0" } ], - "id": 1470, + "id": 962, "name": "MemberAccess", - "src": "27699:18:1" + "src": "28470:18:0" } ], - "id": 1471, + "id": 963, "name": "Assignment", - "src": "27677:40:1" + "src": "28448:40:0" } ], - "id": 1472, + "id": 964, "name": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -50329,25 +50329,25 @@ "type": "bool", "value": "true" }, - "id": 1473, + "id": 965, "name": "Literal", - "src": "27738:4:1" + "src": "28510:4:0" } ], - "id": 1474, + "id": 966, "name": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ], - "id": 1475, + "id": 967, "name": "Block", - "src": "27505:248:1" + "src": "28272:254:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -50361,34 +50361,34 @@ "type": "bool", "value": "false" }, - "id": 1476, + "id": 968, "name": "Literal", - "src": "27780:5:1" + "src": "28554:5:0" } ], - "id": 1477, + "id": 969, "name": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ], - "id": 1478, + "id": 970, "name": "Block", - "src": "27759:37:1" + "src": "28532:39:0" } ], - "id": 1479, + "id": 971, "name": "IfStatement", - "src": "27477:319:1" + "src": "28244:327:0" } ], - "id": 1480, + "id": 972, "name": "Block", - "src": "27467:335:1" + "src": "28233:345:0" } ], - "id": 1481, + "id": 973, "name": "FunctionDefinition", - "src": "27398:404:1" + "src": "28164:414:0" }, { "attributes": { @@ -50399,7 +50399,7 @@ null ], "name": "_remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -50409,9 +50409,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1482, + "id": 974, "name": "StructuredDocumentation", - "src": "27808:157:1" + "src": "28586:162:0" }, { "children": [ @@ -50420,7 +50420,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -50430,24 +50430,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1483, + "id": 975, "name": "UserDefinedTypeName", - "src": "27987:3:1" + "src": "28771:3:0" } ], - "id": 1484, + "id": 976, "name": "VariableDeclaration", - "src": "27987:15:1" + "src": "28771:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50459,19 +50459,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1485, + "id": 977, "name": "ElementaryTypeName", - "src": "28004:7:1" + "src": "28788:7:0" } ], - "id": 1486, + "id": 978, "name": "VariableDeclaration", - "src": "28004:13:1" + "src": "28788:13:0" } ], - "id": 1487, + "id": 979, "name": "ParameterList", - "src": "27986:32:1" + "src": "28770:32:0" }, { "children": [ @@ -50480,7 +50480,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -50492,26 +50492,26 @@ "name": "bool", "type": "bool" }, - "id": 1488, + "id": 980, "name": "ElementaryTypeName", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1489, + "id": 981, "name": "VariableDeclaration", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1490, + "id": 982, "name": "ParameterList", - "src": "28035:6:1" + "src": "28819:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1492 + 984 ] }, "children": [ @@ -50520,7 +50520,7 @@ "constant": false, "mutability": "mutable", "name": "valueIndex", - "scope": 1560, + "scope": 1052, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50532,14 +50532,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1491, + "id": 983, "name": "ElementaryTypeName", - "src": "28152:7:1" + "src": "28938:7:0" } ], - "id": 1492, + "id": 984, "name": "VariableDeclaration", - "src": "28152:18:1" + "src": "28938:18:0" }, { "attributes": { @@ -50557,7 +50557,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50566,41 +50566,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1493, + "id": 985, "name": "Identifier", - "src": "28173:3:1" + "src": "28959:3:0" } ], - "id": 1494, + "id": 986, "name": "MemberAccess", - "src": "28173:12:1" + "src": "28959:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1495, + "id": 987, "name": "Identifier", - "src": "28186:5:1" + "src": "28972:5:0" } ], - "id": 1496, + "id": 988, "name": "IndexAccess", - "src": "28173:19:1" + "src": "28959:19:0" } ], - "id": 1497, + "id": 989, "name": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "children": [ @@ -50623,13 +50623,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1498, + "id": 990, "name": "Identifier", - "src": "28207:10:1" + "src": "28995:10:0" }, { "attributes": { @@ -50642,21 +50642,21 @@ "type": "int_const 0", "value": "0" }, - "id": 1499, + "id": 991, "name": "Literal", - "src": "28221:1:1" + "src": "29009:1:0" } ], - "id": 1500, + "id": 992, "name": "BinaryOperation", - "src": "28207:15:1" + "src": "28995:15:0" }, { "children": [ { "attributes": { "assignments": [ - 1502 + 994 ] }, "children": [ @@ -50665,7 +50665,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50677,14 +50677,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1501, + "id": 993, "name": "ElementaryTypeName", - "src": "28564:7:1" + "src": "29357:7:0" } ], - "id": 1502, + "id": 994, "name": "VariableDeclaration", - "src": "28564:21:1" + "src": "29357:21:0" }, { "attributes": { @@ -50705,13 +50705,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1503, + "id": 995, "name": "Identifier", - "src": "28588:10:1" + "src": "29381:10:0" }, { "attributes": { @@ -50724,24 +50724,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1504, + "id": 996, "name": "Literal", - "src": "28601:1:1" + "src": "29394:1:0" } ], - "id": 1505, + "id": 997, "name": "BinaryOperation", - "src": "28588:14:1" + "src": "29381:14:0" } ], - "id": 1506, + "id": 998, "name": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "attributes": { "assignments": [ - 1508 + 1000 ] }, "children": [ @@ -50750,7 +50750,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50762,14 +50762,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1507, + "id": 999, "name": "ElementaryTypeName", - "src": "28616:7:1" + "src": "29410:7:0" } ], - "id": 1508, + "id": 1000, "name": "VariableDeclaration", - "src": "28616:17:1" + "src": "29410:17:0" }, { "attributes": { @@ -50802,7 +50802,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50811,23 +50811,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1509, + "id": 1001, "name": "Identifier", - "src": "28636:3:1" + "src": "29430:3:0" } ], - "id": 1510, + "id": 1002, "name": "MemberAccess", - "src": "28636:11:1" + "src": "29430:11:0" } ], - "id": 1511, + "id": 1003, "name": "MemberAccess", - "src": "28636:18:1" + "src": "29430:18:0" }, { "attributes": { @@ -50840,24 +50840,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1512, + "id": 1004, "name": "Literal", - "src": "28657:1:1" + "src": "29451:1:0" } ], - "id": 1513, + "id": 1005, "name": "BinaryOperation", - "src": "28636:22:1" + "src": "29430:22:0" } ], - "id": 1514, + "id": 1006, "name": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "attributes": { "assignments": [ - 1516 + 1008 ] }, "children": [ @@ -50866,7 +50866,7 @@ "constant": false, "mutability": "mutable", "name": "lastvalue", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50878,14 +50878,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1515, + "id": 1007, "name": "ElementaryTypeName", - "src": "28898:7:1" + "src": "29697:7:0" } ], - "id": 1516, + "id": 1008, "name": "VariableDeclaration", - "src": "28898:17:1" + "src": "29697:17:0" }, { "attributes": { @@ -50903,7 +50903,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50912,41 +50912,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1517, + "id": 1009, "name": "Identifier", - "src": "28918:3:1" + "src": "29717:3:0" } ], - "id": 1518, + "id": 1010, "name": "MemberAccess", - "src": "28918:11:1" + "src": "29717:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1508, + "referencedDeclaration": 1000, "type": "uint256", "value": "lastIndex" }, - "id": 1519, + "id": 1011, "name": "Identifier", - "src": "28930:9:1" + "src": "29729:9:0" } ], - "id": 1520, + "id": 1012, "name": "IndexAccess", - "src": "28918:22:1" + "src": "29717:22:0" } ], - "id": 1521, + "id": 1013, "name": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "children": [ @@ -50976,7 +50976,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50985,59 +50985,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1522, + "id": 1014, "name": "Identifier", - "src": "29032:3:1" + "src": "29834:3:0" } ], - "id": 1525, + "id": 1017, "name": "MemberAccess", - "src": "29032:11:1" + "src": "29834:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1524, + "id": 1016, "name": "Identifier", - "src": "29044:13:1" + "src": "29846:13:0" } ], - "id": 1526, + "id": 1018, "name": "IndexAccess", - "src": "29032:26:1" + "src": "29834:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1527, + "id": 1019, "name": "Identifier", - "src": "29061:9:1" + "src": "29863:9:0" } ], - "id": 1528, + "id": 1020, "name": "Assignment", - "src": "29032:38:1" + "src": "29834:38:0" } ], - "id": 1529, + "id": 1021, "name": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "children": [ @@ -51067,7 +51067,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -51076,36 +51076,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1530, + "id": 1022, "name": "Identifier", - "src": "29136:3:1" + "src": "29940:3:0" } ], - "id": 1533, + "id": 1025, "name": "MemberAccess", - "src": "29136:12:1" + "src": "29940:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1532, + "id": 1024, "name": "Identifier", - "src": "29149:9:1" + "src": "29953:9:0" } ], - "id": 1534, + "id": 1026, "name": "IndexAccess", - "src": "29136:23:1" + "src": "29940:23:0" }, { "attributes": { @@ -51126,13 +51126,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1535, + "id": 1027, "name": "Identifier", - "src": "29162:13:1" + "src": "29966:13:0" }, { "attributes": { @@ -51145,24 +51145,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1536, + "id": 1028, "name": "Literal", - "src": "29178:1:1" + "src": "29982:1:0" } ], - "id": 1537, + "id": 1029, "name": "BinaryOperation", - "src": "29162:17:1" + "src": "29966:17:0" } ], - "id": 1538, + "id": 1030, "name": "Assignment", - "src": "29136:43:1" + "src": "29940:43:0" } ], - "id": 1539, + "id": 1031, "name": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "children": [ @@ -51204,7 +51204,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51213,33 +51213,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1540, + "id": 1032, "name": "Identifier", - "src": "29285:3:1" + "src": "30092:3:0" } ], - "id": 1543, + "id": 1035, "name": "MemberAccess", - "src": "29285:11:1" + "src": "30092:11:0" } ], - "id": 1544, + "id": 1036, "name": "MemberAccess", - "src": "29285:15:1" + "src": "30092:15:0" } ], - "id": 1545, + "id": 1037, "name": "FunctionCall", - "src": "29285:17:1" + "src": "30092:17:0" } ], - "id": 1546, + "id": 1038, "name": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "children": [ @@ -51270,7 +51270,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -51279,50 +51279,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1547, + "id": 1039, "name": "Identifier", - "src": "29377:3:1" + "src": "30187:3:0" } ], - "id": 1548, + "id": 1040, "name": "MemberAccess", - "src": "29377:12:1" + "src": "30187:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1549, + "id": 1041, "name": "Identifier", - "src": "29390:5:1" + "src": "30200:5:0" } ], - "id": 1550, + "id": 1042, "name": "IndexAccess", - "src": "29377:19:1" + "src": "30187:19:0" } ], - "id": 1551, + "id": 1043, "name": "UnaryOperation", - "src": "29370:26:1" + "src": "30180:26:0" } ], - "id": 1552, + "id": 1044, "name": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -51336,25 +51336,25 @@ "type": "bool", "value": "true" }, - "id": 1553, + "id": 1045, "name": "Literal", - "src": "29418:4:1" + "src": "30230:4:0" } ], - "id": 1554, + "id": 1046, "name": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ], - "id": 1555, + "id": 1047, "name": "Block", - "src": "28224:1209:1" + "src": "29012:1234:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -51368,34 +51368,34 @@ "type": "bool", "value": "false" }, - "id": 1556, + "id": 1048, "name": "Literal", - "src": "29460:5:1" + "src": "30274:5:0" } ], - "id": 1557, + "id": 1049, "name": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ], - "id": 1558, + "id": 1050, "name": "Block", - "src": "29439:37:1" + "src": "30252:39:0" } ], - "id": 1559, + "id": 1051, "name": "IfStatement", - "src": "28203:1273:1" + "src": "28991:1300:0" } ], - "id": 1560, + "id": 1052, "name": "Block", - "src": "28042:1440:1" + "src": "28826:1472:0" } ], - "id": 1561, + "id": 1053, "name": "FunctionDefinition", - "src": "27970:1512:1" + "src": "28754:1544:0" }, { "attributes": { @@ -51406,7 +51406,7 @@ null ], "name": "_contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51416,9 +51416,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1562, + "id": 1054, "name": "StructuredDocumentation", - "src": "29488:70:1" + "src": "30306:72:0" }, { "children": [ @@ -51427,7 +51427,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51437,24 +51437,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1563, + "id": 1055, "name": "UserDefinedTypeName", - "src": "29582:3:1" + "src": "30403:3:0" } ], - "id": 1564, + "id": 1056, "name": "VariableDeclaration", - "src": "29582:15:1" + "src": "30403:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51466,19 +51466,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1565, + "id": 1057, "name": "ElementaryTypeName", - "src": "29599:7:1" + "src": "30420:7:0" } ], - "id": 1566, + "id": 1058, "name": "VariableDeclaration", - "src": "29599:13:1" + "src": "30420:13:0" } ], - "id": 1567, + "id": 1059, "name": "ParameterList", - "src": "29581:32:1" + "src": "30402:32:0" }, { "children": [ @@ -51487,7 +51487,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51499,25 +51499,25 @@ "name": "bool", "type": "bool" }, - "id": 1568, + "id": 1060, "name": "ElementaryTypeName", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1569, + "id": 1061, "name": "VariableDeclaration", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1570, + "id": 1062, "name": "ParameterList", - "src": "29635:6:1" + "src": "30456:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1570 + "functionReturnParameters": 1062 }, "children": [ { @@ -51550,7 +51550,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -51559,36 +51559,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1564, + "referencedDeclaration": 1056, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1571, + "id": 1063, "name": "Identifier", - "src": "29659:3:1" + "src": "30481:3:0" } ], - "id": 1572, + "id": 1064, "name": "MemberAccess", - "src": "29659:12:1" + "src": "30481:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1566, + "referencedDeclaration": 1058, "type": "bytes32", "value": "value" }, - "id": 1573, + "id": 1065, "name": "Identifier", - "src": "29672:5:1" + "src": "30494:5:0" } ], - "id": 1574, + "id": 1066, "name": "IndexAccess", - "src": "29659:19:1" + "src": "30481:19:0" }, { "attributes": { @@ -51601,29 +51601,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1575, + "id": 1067, "name": "Literal", - "src": "29682:1:1" + "src": "30504:1:0" } ], - "id": 1576, + "id": 1068, "name": "BinaryOperation", - "src": "29659:24:1" + "src": "30481:24:0" } ], - "id": 1577, + "id": 1069, "name": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ], - "id": 1578, + "id": 1070, "name": "Block", - "src": "29642:48:1" + "src": "30463:50:0" } ], - "id": 1579, + "id": 1071, "name": "FunctionDefinition", - "src": "29563:127:1" + "src": "30384:129:0" }, { "attributes": { @@ -51634,7 +51634,7 @@ null ], "name": "_length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51644,9 +51644,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1580, + "id": 1072, "name": "StructuredDocumentation", - "src": "29696:70:1" + "src": "30521:72:0" }, { "children": [ @@ -51655,7 +51655,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51665,22 +51665,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1581, + "id": 1073, "name": "UserDefinedTypeName", - "src": "29788:3:1" + "src": "30616:3:0" } ], - "id": 1582, + "id": 1074, "name": "VariableDeclaration", - "src": "29788:15:1" + "src": "30616:15:0" } ], - "id": 1583, + "id": 1075, "name": "ParameterList", - "src": "29787:17:1" + "src": "30615:17:0" }, { "children": [ @@ -51689,7 +51689,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51701,25 +51701,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1584, + "id": 1076, "name": "ElementaryTypeName", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1585, + "id": 1077, "name": "VariableDeclaration", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1586, + "id": 1078, "name": "ParameterList", - "src": "29826:9:1" + "src": "30654:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1586 + "functionReturnParameters": 1078 }, "children": [ { @@ -51739,7 +51739,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51748,38 +51748,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1582, + "referencedDeclaration": 1074, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1587, + "id": 1079, "name": "Identifier", - "src": "29853:3:1" + "src": "30682:3:0" } ], - "id": 1588, + "id": 1080, "name": "MemberAccess", - "src": "29853:11:1" + "src": "30682:11:0" } ], - "id": 1589, + "id": 1081, "name": "MemberAccess", - "src": "29853:18:1" + "src": "30682:18:0" } ], - "id": 1590, + "id": 1082, "name": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ], - "id": 1591, + "id": 1083, "name": "Block", - "src": "29836:42:1" + "src": "30664:44:0" } ], - "id": 1592, + "id": 1084, "name": "FunctionDefinition", - "src": "29771:107:1" + "src": "30599:109:0" }, { "attributes": { @@ -51790,7 +51790,7 @@ null ], "name": "_at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51800,9 +51800,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1593, + "id": 1085, "name": "StructuredDocumentation", - "src": "29883:322:1" + "src": "30715:331:0" }, { "children": [ @@ -51811,7 +51811,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51821,24 +51821,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1594, + "id": 1086, "name": "UserDefinedTypeName", - "src": "30223:3:1" + "src": "31065:3:0" } ], - "id": 1595, + "id": 1087, "name": "VariableDeclaration", - "src": "30223:15:1" + "src": "31065:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51850,19 +51850,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1596, + "id": 1088, "name": "ElementaryTypeName", - "src": "30240:7:1" + "src": "31082:7:0" } ], - "id": 1597, + "id": 1089, "name": "VariableDeclaration", - "src": "30240:13:1" + "src": "31082:13:0" } ], - "id": 1598, + "id": 1090, "name": "ParameterList", - "src": "30222:32:1" + "src": "31064:32:0" }, { "children": [ @@ -51871,7 +51871,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51883,19 +51883,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1599, + "id": 1091, "name": "ElementaryTypeName", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1600, + "id": 1092, "name": "VariableDeclaration", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1601, + "id": 1093, "name": "ParameterList", - "src": "30276:9:1" + "src": "31118:9:0" }, { "children": [ @@ -51936,9 +51936,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1602, + "id": 1094, "name": "Identifier", - "src": "30296:7:1" + "src": "31139:7:0" }, { "attributes": { @@ -51971,7 +51971,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51980,41 +51980,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1603, + "id": 1095, "name": "Identifier", - "src": "30304:3:1" + "src": "31147:3:0" } ], - "id": 1604, + "id": 1096, "name": "MemberAccess", - "src": "30304:11:1" + "src": "31147:11:0" } ], - "id": 1605, + "id": 1097, "name": "MemberAccess", - "src": "30304:18:1" + "src": "31147:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1606, + "id": 1098, "name": "Identifier", - "src": "30325:5:1" + "src": "31168:5:0" } ], - "id": 1607, + "id": 1099, "name": "BinaryOperation", - "src": "30304:26:1" + "src": "31147:26:0" }, { "attributes": { @@ -52027,23 +52027,23 @@ "type": "literal_string \"EnumerableSet: index out of bounds\"", "value": "EnumerableSet: index out of bounds" }, - "id": 1608, + "id": 1100, "name": "Literal", - "src": "30332:36:1" + "src": "31175:36:0" } ], - "id": 1609, + "id": 1101, "name": "FunctionCall", - "src": "30296:73:1" + "src": "31139:73:0" } ], - "id": 1610, + "id": 1102, "name": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "attributes": { - "functionReturnParameters": 1601 + "functionReturnParameters": 1093 }, "children": [ { @@ -52062,7 +52062,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -52071,57 +52071,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1611, + "id": 1103, "name": "Identifier", - "src": "30386:3:1" + "src": "31230:3:0" } ], - "id": 1612, + "id": 1104, "name": "MemberAccess", - "src": "30386:11:1" + "src": "31230:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1613, + "id": 1105, "name": "Identifier", - "src": "30398:5:1" + "src": "31242:5:0" } ], - "id": 1614, + "id": 1106, "name": "IndexAccess", - "src": "30386:18:1" + "src": "31230:18:0" } ], - "id": 1615, + "id": 1107, "name": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ], - "id": 1616, + "id": 1108, "name": "Block", - "src": "30286:125:1" + "src": "31128:128:0" } ], - "id": 1617, + "id": 1109, "name": "FunctionDefinition", - "src": "30210:201:1" + "src": "31052:204:0" }, { "attributes": { "canonicalName": "EnumerableSet.Bytes32Set", "name": "Bytes32Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -52130,7 +52130,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1620, + "scope": 1112, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -52140,22 +52140,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1618, + "id": 1110, "name": "UserDefinedTypeName", - "src": "30464:3:1" + "src": "31314:3:0" } ], - "id": 1619, + "id": 1111, "name": "VariableDeclaration", - "src": "30464:10:1" + "src": "31314:10:0" } ], - "id": 1620, + "id": 1112, "name": "StructDefinition", - "src": "30436:45:1" + "src": "31285:47:0" }, { "attributes": { @@ -52166,7 +52166,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52176,9 +52176,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1621, + "id": 1113, "name": "StructuredDocumentation", - "src": "30487:159:1" + "src": "31340:164:0" }, { "children": [ @@ -52187,7 +52187,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52197,24 +52197,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1622, + "id": 1114, "name": "UserDefinedTypeName", - "src": "30664:10:1" + "src": "31523:10:0" } ], - "id": 1623, + "id": 1115, "name": "VariableDeclaration", - "src": "30664:22:1" + "src": "31523:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52226,19 +52226,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1624, + "id": 1116, "name": "ElementaryTypeName", - "src": "30688:7:1" + "src": "31547:7:0" } ], - "id": 1625, + "id": 1117, "name": "VariableDeclaration", - "src": "30688:13:1" + "src": "31547:13:0" } ], - "id": 1626, + "id": 1118, "name": "ParameterList", - "src": "30663:39:1" + "src": "31522:39:0" }, { "children": [ @@ -52247,7 +52247,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52259,25 +52259,25 @@ "name": "bool", "type": "bool" }, - "id": 1627, + "id": 1119, "name": "ElementaryTypeName", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1628, + "id": 1120, "name": "VariableDeclaration", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1629, + "id": 1121, "name": "ParameterList", - "src": "30720:6:1" + "src": "31579:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1629 + "functionReturnParameters": 1121 }, "children": [ { @@ -52299,7 +52299,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52310,13 +52310,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1630, + "id": 1122, "name": "Identifier", - "src": "30744:4:1" + "src": "31604:4:0" }, { "attributes": { @@ -52325,7 +52325,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52334,51 +52334,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1623, + "referencedDeclaration": 1115, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1631, + "id": 1123, "name": "Identifier", - "src": "30749:3:1" + "src": "31609:3:0" } ], - "id": 1632, + "id": 1124, "name": "MemberAccess", - "src": "30749:10:1" + "src": "31609:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1625, + "referencedDeclaration": 1117, "type": "bytes32", "value": "value" }, - "id": 1633, + "id": 1125, "name": "Identifier", - "src": "30761:5:1" + "src": "31621:5:0" } ], - "id": 1634, + "id": 1126, "name": "FunctionCall", - "src": "30744:23:1" + "src": "31604:23:0" } ], - "id": 1635, + "id": 1127, "name": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ], - "id": 1636, + "id": 1128, "name": "Block", - "src": "30727:47:1" + "src": "31586:49:0" } ], - "id": 1637, + "id": 1129, "name": "FunctionDefinition", - "src": "30651:123:1" + "src": "31510:125:0" }, { "attributes": { @@ -52389,7 +52389,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52399,9 +52399,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1638, + "id": 1130, "name": "StructuredDocumentation", - "src": "30780:157:1" + "src": "31643:162:0" }, { "children": [ @@ -52410,7 +52410,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52420,24 +52420,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1639, + "id": 1131, "name": "UserDefinedTypeName", - "src": "30958:10:1" + "src": "31827:10:0" } ], - "id": 1640, + "id": 1132, "name": "VariableDeclaration", - "src": "30958:22:1" + "src": "31827:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52449,19 +52449,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1641, + "id": 1133, "name": "ElementaryTypeName", - "src": "30982:7:1" + "src": "31851:7:0" } ], - "id": 1642, + "id": 1134, "name": "VariableDeclaration", - "src": "30982:13:1" + "src": "31851:13:0" } ], - "id": 1643, + "id": 1135, "name": "ParameterList", - "src": "30957:39:1" + "src": "31826:39:0" }, { "children": [ @@ -52470,7 +52470,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52482,25 +52482,25 @@ "name": "bool", "type": "bool" }, - "id": 1644, + "id": 1136, "name": "ElementaryTypeName", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1645, + "id": 1137, "name": "VariableDeclaration", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1646, + "id": 1138, "name": "ParameterList", - "src": "31014:6:1" + "src": "31883:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1646 + "functionReturnParameters": 1138 }, "children": [ { @@ -52522,7 +52522,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52533,13 +52533,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1647, + "id": 1139, "name": "Identifier", - "src": "31038:7:1" + "src": "31908:7:0" }, { "attributes": { @@ -52548,7 +52548,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52557,51 +52557,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1640, + "referencedDeclaration": 1132, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1648, + "id": 1140, "name": "Identifier", - "src": "31046:3:1" + "src": "31916:3:0" } ], - "id": 1649, + "id": 1141, "name": "MemberAccess", - "src": "31046:10:1" + "src": "31916:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1642, + "referencedDeclaration": 1134, "type": "bytes32", "value": "value" }, - "id": 1650, + "id": 1142, "name": "Identifier", - "src": "31058:5:1" + "src": "31928:5:0" } ], - "id": 1651, + "id": 1143, "name": "FunctionCall", - "src": "31038:26:1" + "src": "31908:26:0" } ], - "id": 1652, + "id": 1144, "name": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ], - "id": 1653, + "id": 1145, "name": "Block", - "src": "31021:50:1" + "src": "31890:52:0" } ], - "id": 1654, + "id": 1146, "name": "FunctionDefinition", - "src": "30942:129:1" + "src": "31811:131:0" }, { "attributes": { @@ -52612,7 +52612,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52622,9 +52622,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1655, + "id": 1147, "name": "StructuredDocumentation", - "src": "31077:70:1" + "src": "31950:72:0" }, { "children": [ @@ -52633,7 +52633,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52643,24 +52643,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1656, + "id": 1148, "name": "UserDefinedTypeName", - "src": "31170:10:1" + "src": "32046:10:0" } ], - "id": 1657, + "id": 1149, "name": "VariableDeclaration", - "src": "31170:22:1" + "src": "32046:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52672,19 +52672,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1658, + "id": 1150, "name": "ElementaryTypeName", - "src": "31194:7:1" + "src": "32070:7:0" } ], - "id": 1659, + "id": 1151, "name": "VariableDeclaration", - "src": "31194:13:1" + "src": "32070:13:0" } ], - "id": 1660, + "id": 1152, "name": "ParameterList", - "src": "31169:39:1" + "src": "32045:39:0" }, { "children": [ @@ -52693,7 +52693,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52705,25 +52705,25 @@ "name": "bool", "type": "bool" }, - "id": 1661, + "id": 1153, "name": "ElementaryTypeName", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1662, + "id": 1154, "name": "VariableDeclaration", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1663, + "id": 1155, "name": "ParameterList", - "src": "31231:6:1" + "src": "32107:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1663 + "functionReturnParameters": 1155 }, "children": [ { @@ -52745,7 +52745,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52756,13 +52756,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1664, + "id": 1156, "name": "Identifier", - "src": "31255:9:1" + "src": "32132:9:0" }, { "attributes": { @@ -52771,7 +52771,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52780,51 +52780,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1657, + "referencedDeclaration": 1149, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1665, + "id": 1157, "name": "Identifier", - "src": "31265:3:1" + "src": "32142:3:0" } ], - "id": 1666, + "id": 1158, "name": "MemberAccess", - "src": "31265:10:1" + "src": "32142:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1659, + "referencedDeclaration": 1151, "type": "bytes32", "value": "value" }, - "id": 1667, + "id": 1159, "name": "Identifier", - "src": "31277:5:1" + "src": "32154:5:0" } ], - "id": 1668, + "id": 1160, "name": "FunctionCall", - "src": "31255:28:1" + "src": "32132:28:0" } ], - "id": 1669, + "id": 1161, "name": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ], - "id": 1670, + "id": 1162, "name": "Block", - "src": "31238:52:1" + "src": "32114:54:0" } ], - "id": 1671, + "id": 1163, "name": "FunctionDefinition", - "src": "31152:138:1" + "src": "32028:140:0" }, { "attributes": { @@ -52835,7 +52835,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52845,9 +52845,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1672, + "id": 1164, "name": "StructuredDocumentation", - "src": "31296:70:1" + "src": "32176:72:0" }, { "children": [ @@ -52856,7 +52856,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52866,22 +52866,22 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1673, + "id": 1165, "name": "UserDefinedTypeName", - "src": "31387:10:1" + "src": "32270:10:0" } ], - "id": 1674, + "id": 1166, "name": "VariableDeclaration", - "src": "31387:22:1" + "src": "32270:22:0" } ], - "id": 1675, + "id": 1167, "name": "ParameterList", - "src": "31386:24:1" + "src": "32269:24:0" }, { "children": [ @@ -52890,7 +52890,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52902,25 +52902,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1676, + "id": 1168, "name": "ElementaryTypeName", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1677, + "id": 1169, "name": "VariableDeclaration", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1678, + "id": 1170, "name": "ParameterList", - "src": "31433:9:1" + "src": "32316:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1678 + "functionReturnParameters": 1170 }, "children": [ { @@ -52942,20 +52942,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1679, + "id": 1171, "name": "Identifier", - "src": "31460:7:1" + "src": "32344:7:0" }, { "attributes": { @@ -52964,7 +52964,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52973,38 +52973,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1674, + "referencedDeclaration": 1166, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1680, + "id": 1172, "name": "Identifier", - "src": "31468:3:1" + "src": "32352:3:0" } ], - "id": 1681, + "id": 1173, "name": "MemberAccess", - "src": "31468:10:1" + "src": "32352:10:0" } ], - "id": 1682, + "id": 1174, "name": "FunctionCall", - "src": "31460:19:1" + "src": "32344:19:0" } ], - "id": 1683, + "id": 1175, "name": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ], - "id": 1684, + "id": 1176, "name": "Block", - "src": "31443:43:1" + "src": "32326:45:0" } ], - "id": 1685, + "id": 1177, "name": "FunctionDefinition", - "src": "31371:115:1" + "src": "32254:117:0" }, { "attributes": { @@ -53015,7 +53015,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -53025,9 +53025,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1686, + "id": 1178, "name": "StructuredDocumentation", - "src": "31491:322:1" + "src": "32378:331:0" }, { "children": [ @@ -53036,7 +53036,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -53046,24 +53046,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1687, + "id": 1179, "name": "UserDefinedTypeName", - "src": "31830:10:1" + "src": "32727:10:0" } ], - "id": 1688, + "id": 1180, "name": "VariableDeclaration", - "src": "31830:22:1" + "src": "32727:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -53075,19 +53075,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1689, + "id": 1181, "name": "ElementaryTypeName", - "src": "31854:7:1" + "src": "32751:7:0" } ], - "id": 1690, + "id": 1182, "name": "VariableDeclaration", - "src": "31854:13:1" + "src": "32751:13:0" } ], - "id": 1691, + "id": 1183, "name": "ParameterList", - "src": "31829:39:1" + "src": "32726:39:0" }, { "children": [ @@ -53096,7 +53096,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -53108,25 +53108,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1692, + "id": 1184, "name": "ElementaryTypeName", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1693, + "id": 1185, "name": "VariableDeclaration", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1694, + "id": 1186, "name": "ParameterList", - "src": "31891:9:1" + "src": "32788:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1694 + "functionReturnParameters": 1186 }, "children": [ { @@ -53148,7 +53148,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53159,13 +53159,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1695, + "id": 1187, "name": "Identifier", - "src": "31918:3:1" + "src": "32816:3:0" }, { "attributes": { @@ -53174,7 +53174,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53183,57 +53183,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1688, + "referencedDeclaration": 1180, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1696, + "id": 1188, "name": "Identifier", - "src": "31922:3:1" + "src": "32820:3:0" } ], - "id": 1697, + "id": 1189, "name": "MemberAccess", - "src": "31922:10:1" + "src": "32820:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1690, + "referencedDeclaration": 1182, "type": "uint256", "value": "index" }, - "id": 1698, + "id": 1190, "name": "Identifier", - "src": "31934:5:1" + "src": "32832:5:0" } ], - "id": 1699, + "id": 1191, "name": "FunctionCall", - "src": "31918:22:1" + "src": "32816:22:0" } ], - "id": 1700, + "id": 1192, "name": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ], - "id": 1701, + "id": 1193, "name": "Block", - "src": "31901:46:1" + "src": "32798:48:0" } ], - "id": 1702, + "id": 1194, "name": "FunctionDefinition", - "src": "31818:129:1" + "src": "32715:131:0" }, { "attributes": { "canonicalName": "EnumerableSet.AddressSet", "name": "AddressSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -53242,7 +53242,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1705, + "scope": 1197, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -53252,22 +53252,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1703, + "id": 1195, "name": "UserDefinedTypeName", - "src": "32000:3:1" + "src": "32904:3:0" } ], - "id": 1704, + "id": 1196, "name": "VariableDeclaration", - "src": "32000:10:1" + "src": "32904:10:0" } ], - "id": 1705, + "id": 1197, "name": "StructDefinition", - "src": "31972:45:1" + "src": "32875:47:0" }, { "attributes": { @@ -53278,7 +53278,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -53288,9 +53288,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1706, + "id": 1198, "name": "StructuredDocumentation", - "src": "32023:159:1" + "src": "32930:164:0" }, { "children": [ @@ -53299,7 +53299,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53309,24 +53309,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1707, + "id": 1199, "name": "UserDefinedTypeName", - "src": "32200:10:1" + "src": "33113:10:0" } ], - "id": 1708, + "id": 1200, "name": "VariableDeclaration", - "src": "32200:22:1" + "src": "33113:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53339,19 +53339,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1709, + "id": 1201, "name": "ElementaryTypeName", - "src": "32224:7:1" + "src": "33137:7:0" } ], - "id": 1710, + "id": 1202, "name": "VariableDeclaration", - "src": "32224:13:1" + "src": "33137:13:0" } ], - "id": 1711, + "id": 1203, "name": "ParameterList", - "src": "32199:39:1" + "src": "33112:39:0" }, { "children": [ @@ -53360,7 +53360,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53372,25 +53372,25 @@ "name": "bool", "type": "bool" }, - "id": 1712, + "id": 1204, "name": "ElementaryTypeName", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1713, + "id": 1205, "name": "VariableDeclaration", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1714, + "id": 1206, "name": "ParameterList", - "src": "32256:6:1" + "src": "33169:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1714 + "functionReturnParameters": 1206 }, "children": [ { @@ -53412,7 +53412,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53423,13 +53423,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1715, + "id": 1207, "name": "Identifier", - "src": "32280:4:1" + "src": "33194:4:0" }, { "attributes": { @@ -53438,7 +53438,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53447,18 +53447,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1708, + "referencedDeclaration": 1200, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1716, + "id": 1208, "name": "Identifier", - "src": "32285:3:1" + "src": "33199:3:0" } ], - "id": 1717, + "id": 1209, "name": "MemberAccess", - "src": "32285:10:1" + "src": "33199:10:0" }, { "attributes": { @@ -53494,14 +53494,14 @@ "attributes": { "name": "bytes32" }, - "id": 1718, + "id": 1210, "name": "ElementaryTypeName", - "src": "32297:7:1" + "src": "33211:7:0" } ], - "id": 1719, + "id": 1211, "name": "ElementaryTypeNameExpression", - "src": "32297:7:1" + "src": "33211:7:0" }, { "attributes": { @@ -53537,14 +53537,14 @@ "attributes": { "name": "uint256" }, - "id": 1720, + "id": 1212, "name": "ElementaryTypeName", - "src": "32305:7:1" + "src": "33219:7:0" } ], - "id": 1721, + "id": 1213, "name": "ElementaryTypeNameExpression", - "src": "32305:7:1" + "src": "33219:7:0" }, { "attributes": { @@ -53580,62 +53580,62 @@ "attributes": { "name": "uint160" }, - "id": 1722, + "id": 1214, "name": "ElementaryTypeName", - "src": "32313:7:1" + "src": "33227:7:0" } ], - "id": 1723, + "id": 1215, "name": "ElementaryTypeNameExpression", - "src": "32313:7:1" + "src": "33227:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1710, + "referencedDeclaration": 1202, "type": "address", "value": "value" }, - "id": 1724, + "id": 1216, "name": "Identifier", - "src": "32321:5:1" + "src": "33235:5:0" } ], - "id": 1725, + "id": 1217, "name": "FunctionCall", - "src": "32313:14:1" + "src": "33227:14:0" } ], - "id": 1726, + "id": 1218, "name": "FunctionCall", - "src": "32305:23:1" + "src": "33219:23:0" } ], - "id": 1727, + "id": 1219, "name": "FunctionCall", - "src": "32297:32:1" + "src": "33211:32:0" } ], - "id": 1728, + "id": 1220, "name": "FunctionCall", - "src": "32280:50:1" + "src": "33194:50:0" } ], - "id": 1729, + "id": 1221, "name": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ], - "id": 1730, + "id": 1222, "name": "Block", - "src": "32263:74:1" + "src": "33176:76:0" } ], - "id": 1731, + "id": 1223, "name": "FunctionDefinition", - "src": "32187:150:1" + "src": "33100:152:0" }, { "attributes": { @@ -53646,7 +53646,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -53656,9 +53656,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1732, + "id": 1224, "name": "StructuredDocumentation", - "src": "32343:157:1" + "src": "33260:162:0" }, { "children": [ @@ -53667,7 +53667,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53677,24 +53677,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1733, + "id": 1225, "name": "UserDefinedTypeName", - "src": "32521:10:1" + "src": "33444:10:0" } ], - "id": 1734, + "id": 1226, "name": "VariableDeclaration", - "src": "32521:22:1" + "src": "33444:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53707,19 +53707,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1735, + "id": 1227, "name": "ElementaryTypeName", - "src": "32545:7:1" + "src": "33468:7:0" } ], - "id": 1736, + "id": 1228, "name": "VariableDeclaration", - "src": "32545:13:1" + "src": "33468:13:0" } ], - "id": 1737, + "id": 1229, "name": "ParameterList", - "src": "32520:39:1" + "src": "33443:39:0" }, { "children": [ @@ -53728,7 +53728,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53740,25 +53740,25 @@ "name": "bool", "type": "bool" }, - "id": 1738, + "id": 1230, "name": "ElementaryTypeName", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1739, + "id": 1231, "name": "VariableDeclaration", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1740, + "id": 1232, "name": "ParameterList", - "src": "32577:6:1" + "src": "33500:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1740 + "functionReturnParameters": 1232 }, "children": [ { @@ -53780,7 +53780,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53791,13 +53791,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1741, + "id": 1233, "name": "Identifier", - "src": "32601:7:1" + "src": "33525:7:0" }, { "attributes": { @@ -53806,7 +53806,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53815,18 +53815,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1734, + "referencedDeclaration": 1226, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1742, + "id": 1234, "name": "Identifier", - "src": "32609:3:1" + "src": "33533:3:0" } ], - "id": 1743, + "id": 1235, "name": "MemberAccess", - "src": "32609:10:1" + "src": "33533:10:0" }, { "attributes": { @@ -53862,14 +53862,14 @@ "attributes": { "name": "bytes32" }, - "id": 1744, + "id": 1236, "name": "ElementaryTypeName", - "src": "32621:7:1" + "src": "33545:7:0" } ], - "id": 1745, + "id": 1237, "name": "ElementaryTypeNameExpression", - "src": "32621:7:1" + "src": "33545:7:0" }, { "attributes": { @@ -53905,14 +53905,14 @@ "attributes": { "name": "uint256" }, - "id": 1746, + "id": 1238, "name": "ElementaryTypeName", - "src": "32629:7:1" + "src": "33553:7:0" } ], - "id": 1747, + "id": 1239, "name": "ElementaryTypeNameExpression", - "src": "32629:7:1" + "src": "33553:7:0" }, { "attributes": { @@ -53948,62 +53948,62 @@ "attributes": { "name": "uint160" }, - "id": 1748, + "id": 1240, "name": "ElementaryTypeName", - "src": "32637:7:1" + "src": "33561:7:0" } ], - "id": 1749, + "id": 1241, "name": "ElementaryTypeNameExpression", - "src": "32637:7:1" + "src": "33561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1736, + "referencedDeclaration": 1228, "type": "address", "value": "value" }, - "id": 1750, + "id": 1242, "name": "Identifier", - "src": "32645:5:1" + "src": "33569:5:0" } ], - "id": 1751, + "id": 1243, "name": "FunctionCall", - "src": "32637:14:1" + "src": "33561:14:0" } ], - "id": 1752, + "id": 1244, "name": "FunctionCall", - "src": "32629:23:1" + "src": "33553:23:0" } ], - "id": 1753, + "id": 1245, "name": "FunctionCall", - "src": "32621:32:1" + "src": "33545:32:0" } ], - "id": 1754, + "id": 1246, "name": "FunctionCall", - "src": "32601:53:1" + "src": "33525:53:0" } ], - "id": 1755, + "id": 1247, "name": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ], - "id": 1756, + "id": 1248, "name": "Block", - "src": "32584:77:1" + "src": "33507:79:0" } ], - "id": 1757, + "id": 1249, "name": "FunctionDefinition", - "src": "32505:156:1" + "src": "33428:158:0" }, { "attributes": { @@ -54014,7 +54014,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54024,9 +54024,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1758, + "id": 1250, "name": "StructuredDocumentation", - "src": "32667:70:1" + "src": "33594:72:0" }, { "children": [ @@ -54035,7 +54035,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54045,24 +54045,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1759, + "id": 1251, "name": "UserDefinedTypeName", - "src": "32760:10:1" + "src": "33690:10:0" } ], - "id": 1760, + "id": 1252, "name": "VariableDeclaration", - "src": "32760:22:1" + "src": "33690:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -54075,19 +54075,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1761, + "id": 1253, "name": "ElementaryTypeName", - "src": "32784:7:1" + "src": "33714:7:0" } ], - "id": 1762, + "id": 1254, "name": "VariableDeclaration", - "src": "32784:13:1" + "src": "33714:13:0" } ], - "id": 1763, + "id": 1255, "name": "ParameterList", - "src": "32759:39:1" + "src": "33689:39:0" }, { "children": [ @@ -54096,7 +54096,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -54108,25 +54108,25 @@ "name": "bool", "type": "bool" }, - "id": 1764, + "id": 1256, "name": "ElementaryTypeName", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1765, + "id": 1257, "name": "VariableDeclaration", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1766, + "id": 1258, "name": "ParameterList", - "src": "32821:6:1" + "src": "33751:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1766 + "functionReturnParameters": 1258 }, "children": [ { @@ -54148,7 +54148,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54159,13 +54159,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1767, + "id": 1259, "name": "Identifier", - "src": "32845:9:1" + "src": "33776:9:0" }, { "attributes": { @@ -54174,7 +54174,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54183,18 +54183,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1760, + "referencedDeclaration": 1252, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1768, + "id": 1260, "name": "Identifier", - "src": "32855:3:1" + "src": "33786:3:0" } ], - "id": 1769, + "id": 1261, "name": "MemberAccess", - "src": "32855:10:1" + "src": "33786:10:0" }, { "attributes": { @@ -54230,14 +54230,14 @@ "attributes": { "name": "bytes32" }, - "id": 1770, + "id": 1262, "name": "ElementaryTypeName", - "src": "32867:7:1" + "src": "33798:7:0" } ], - "id": 1771, + "id": 1263, "name": "ElementaryTypeNameExpression", - "src": "32867:7:1" + "src": "33798:7:0" }, { "attributes": { @@ -54273,14 +54273,14 @@ "attributes": { "name": "uint256" }, - "id": 1772, + "id": 1264, "name": "ElementaryTypeName", - "src": "32875:7:1" + "src": "33806:7:0" } ], - "id": 1773, + "id": 1265, "name": "ElementaryTypeNameExpression", - "src": "32875:7:1" + "src": "33806:7:0" }, { "attributes": { @@ -54316,62 +54316,62 @@ "attributes": { "name": "uint160" }, - "id": 1774, + "id": 1266, "name": "ElementaryTypeName", - "src": "32883:7:1" + "src": "33814:7:0" } ], - "id": 1775, + "id": 1267, "name": "ElementaryTypeNameExpression", - "src": "32883:7:1" + "src": "33814:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1762, + "referencedDeclaration": 1254, "type": "address", "value": "value" }, - "id": 1776, + "id": 1268, "name": "Identifier", - "src": "32891:5:1" + "src": "33822:5:0" } ], - "id": 1777, + "id": 1269, "name": "FunctionCall", - "src": "32883:14:1" + "src": "33814:14:0" } ], - "id": 1778, + "id": 1270, "name": "FunctionCall", - "src": "32875:23:1" + "src": "33806:23:0" } ], - "id": 1779, + "id": 1271, "name": "FunctionCall", - "src": "32867:32:1" + "src": "33798:32:0" } ], - "id": 1780, + "id": 1272, "name": "FunctionCall", - "src": "32845:55:1" + "src": "33776:55:0" } ], - "id": 1781, + "id": 1273, "name": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ], - "id": 1782, + "id": 1274, "name": "Block", - "src": "32828:79:1" + "src": "33758:81:0" } ], - "id": 1783, + "id": 1275, "name": "FunctionDefinition", - "src": "32742:165:1" + "src": "33672:167:0" }, { "attributes": { @@ -54382,7 +54382,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54392,9 +54392,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1784, + "id": 1276, "name": "StructuredDocumentation", - "src": "32913:70:1" + "src": "33847:72:0" }, { "children": [ @@ -54403,7 +54403,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54413,22 +54413,22 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1785, + "id": 1277, "name": "UserDefinedTypeName", - "src": "33004:10:1" + "src": "33941:10:0" } ], - "id": 1786, + "id": 1278, "name": "VariableDeclaration", - "src": "33004:22:1" + "src": "33941:22:0" } ], - "id": 1787, + "id": 1279, "name": "ParameterList", - "src": "33003:24:1" + "src": "33940:24:0" }, { "children": [ @@ -54437,7 +54437,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54449,25 +54449,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1788, + "id": 1280, "name": "ElementaryTypeName", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1789, + "id": 1281, "name": "VariableDeclaration", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1790, + "id": 1282, "name": "ParameterList", - "src": "33050:9:1" + "src": "33987:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1790 + "functionReturnParameters": 1282 }, "children": [ { @@ -54489,20 +54489,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1791, + "id": 1283, "name": "Identifier", - "src": "33077:7:1" + "src": "34015:7:0" }, { "attributes": { @@ -54511,7 +54511,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54520,38 +54520,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1786, + "referencedDeclaration": 1278, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1792, + "id": 1284, "name": "Identifier", - "src": "33085:3:1" + "src": "34023:3:0" } ], - "id": 1793, + "id": 1285, "name": "MemberAccess", - "src": "33085:10:1" + "src": "34023:10:0" } ], - "id": 1794, + "id": 1286, "name": "FunctionCall", - "src": "33077:19:1" + "src": "34015:19:0" } ], - "id": 1795, + "id": 1287, "name": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ], - "id": 1796, + "id": 1288, "name": "Block", - "src": "33060:43:1" + "src": "33997:45:0" } ], - "id": 1797, + "id": 1289, "name": "FunctionDefinition", - "src": "32988:115:1" + "src": "33925:117:0" }, { "attributes": { @@ -54562,7 +54562,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54572,9 +54572,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1798, + "id": 1290, "name": "StructuredDocumentation", - "src": "33108:322:1" + "src": "34049:331:0" }, { "children": [ @@ -54583,7 +54583,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54593,24 +54593,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1799, + "id": 1291, "name": "UserDefinedTypeName", - "src": "33447:10:1" + "src": "34398:10:0" } ], - "id": 1800, + "id": 1292, "name": "VariableDeclaration", - "src": "33447:22:1" + "src": "34398:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54622,19 +54622,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1801, + "id": 1293, "name": "ElementaryTypeName", - "src": "33471:7:1" + "src": "34422:7:0" } ], - "id": 1802, + "id": 1294, "name": "VariableDeclaration", - "src": "33471:13:1" + "src": "34422:13:0" } ], - "id": 1803, + "id": 1295, "name": "ParameterList", - "src": "33446:39:1" + "src": "34397:39:0" }, { "children": [ @@ -54643,7 +54643,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -54656,25 +54656,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1804, + "id": 1296, "name": "ElementaryTypeName", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1805, + "id": 1297, "name": "VariableDeclaration", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1806, + "id": 1298, "name": "ParameterList", - "src": "33508:9:1" + "src": "34459:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1806 + "functionReturnParameters": 1298 }, "children": [ { @@ -54711,14 +54711,14 @@ "attributes": { "name": "address" }, - "id": 1807, + "id": 1299, "name": "ElementaryTypeName", - "src": "33535:7:1" + "src": "34487:7:0" } ], - "id": 1808, + "id": 1300, "name": "ElementaryTypeNameExpression", - "src": "33535:7:1" + "src": "34487:7:0" }, { "attributes": { @@ -54754,14 +54754,14 @@ "attributes": { "name": "uint160" }, - "id": 1809, + "id": 1301, "name": "ElementaryTypeName", - "src": "33543:7:1" + "src": "34495:7:0" } ], - "id": 1810, + "id": 1302, "name": "ElementaryTypeNameExpression", - "src": "33543:7:1" + "src": "34495:7:0" }, { "attributes": { @@ -54797,14 +54797,14 @@ "attributes": { "name": "uint256" }, - "id": 1811, + "id": 1303, "name": "ElementaryTypeName", - "src": "33551:7:1" + "src": "34503:7:0" } ], - "id": 1812, + "id": 1304, "name": "ElementaryTypeNameExpression", - "src": "33551:7:1" + "src": "34503:7:0" }, { "attributes": { @@ -54825,7 +54825,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54836,13 +54836,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1813, + "id": 1305, "name": "Identifier", - "src": "33559:3:1" + "src": "34511:3:0" }, { "attributes": { @@ -54851,7 +54851,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54860,72 +54860,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1800, + "referencedDeclaration": 1292, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1814, + "id": 1306, "name": "Identifier", - "src": "33563:3:1" + "src": "34515:3:0" } ], - "id": 1815, + "id": 1307, "name": "MemberAccess", - "src": "33563:10:1" + "src": "34515:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1802, + "referencedDeclaration": 1294, "type": "uint256", "value": "index" }, - "id": 1816, + "id": 1308, "name": "Identifier", - "src": "33575:5:1" + "src": "34527:5:0" } ], - "id": 1817, + "id": 1309, "name": "FunctionCall", - "src": "33559:22:1" + "src": "34511:22:0" } ], - "id": 1818, + "id": 1310, "name": "FunctionCall", - "src": "33551:31:1" + "src": "34503:31:0" } ], - "id": 1819, + "id": 1311, "name": "FunctionCall", - "src": "33543:40:1" + "src": "34495:40:0" } ], - "id": 1820, + "id": 1312, "name": "FunctionCall", - "src": "33535:49:1" + "src": "34487:49:0" } ], - "id": 1821, + "id": 1313, "name": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ], - "id": 1822, + "id": 1314, "name": "Block", - "src": "33518:73:1" + "src": "34469:75:0" } ], - "id": 1823, + "id": 1315, "name": "FunctionDefinition", - "src": "33435:156:1" + "src": "34386:158:0" }, { "attributes": { "canonicalName": "EnumerableSet.UintSet", "name": "UintSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -54934,7 +54934,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1826, + "scope": 1318, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -54944,22 +54944,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1824, + "id": 1316, "name": "UserDefinedTypeName", - "src": "33639:3:1" + "src": "34598:3:0" } ], - "id": 1825, + "id": 1317, "name": "VariableDeclaration", - "src": "33639:10:1" + "src": "34598:10:0" } ], - "id": 1826, + "id": 1318, "name": "StructDefinition", - "src": "33614:42:1" + "src": "34572:44:0" }, { "attributes": { @@ -54970,7 +54970,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -54980,9 +54980,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1827, + "id": 1319, "name": "StructuredDocumentation", - "src": "33662:159:1" + "src": "34624:164:0" }, { "children": [ @@ -54991,7 +54991,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55001,24 +55001,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1828, + "id": 1320, "name": "UserDefinedTypeName", - "src": "33839:7:1" + "src": "34807:7:0" } ], - "id": 1829, + "id": 1321, "name": "VariableDeclaration", - "src": "33839:19:1" + "src": "34807:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55030,19 +55030,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1830, + "id": 1322, "name": "ElementaryTypeName", - "src": "33860:7:1" + "src": "34828:7:0" } ], - "id": 1831, + "id": 1323, "name": "VariableDeclaration", - "src": "33860:13:1" + "src": "34828:13:0" } ], - "id": 1832, + "id": 1324, "name": "ParameterList", - "src": "33838:36:1" + "src": "34806:36:0" }, { "children": [ @@ -55051,7 +55051,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55063,25 +55063,25 @@ "name": "bool", "type": "bool" }, - "id": 1833, + "id": 1325, "name": "ElementaryTypeName", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1834, + "id": 1326, "name": "VariableDeclaration", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1835, + "id": 1327, "name": "ParameterList", - "src": "33892:6:1" + "src": "34860:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1835 + "functionReturnParameters": 1327 }, "children": [ { @@ -55103,7 +55103,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55114,13 +55114,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1836, + "id": 1328, "name": "Identifier", - "src": "33916:4:1" + "src": "34885:4:0" }, { "attributes": { @@ -55129,7 +55129,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55138,18 +55138,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1829, + "referencedDeclaration": 1321, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1837, + "id": 1329, "name": "Identifier", - "src": "33921:3:1" + "src": "34890:3:0" } ], - "id": 1838, + "id": 1330, "name": "MemberAccess", - "src": "33921:10:1" + "src": "34890:10:0" }, { "attributes": { @@ -55185,52 +55185,52 @@ "attributes": { "name": "bytes32" }, - "id": 1839, + "id": 1331, "name": "ElementaryTypeName", - "src": "33933:7:1" + "src": "34902:7:0" } ], - "id": 1840, + "id": 1332, "name": "ElementaryTypeNameExpression", - "src": "33933:7:1" + "src": "34902:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1831, + "referencedDeclaration": 1323, "type": "uint256", "value": "value" }, - "id": 1841, + "id": 1333, "name": "Identifier", - "src": "33941:5:1" + "src": "34910:5:0" } ], - "id": 1842, + "id": 1334, "name": "FunctionCall", - "src": "33933:14:1" + "src": "34902:14:0" } ], - "id": 1843, + "id": 1335, "name": "FunctionCall", - "src": "33916:32:1" + "src": "34885:32:0" } ], - "id": 1844, + "id": 1336, "name": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ], - "id": 1845, + "id": 1337, "name": "Block", - "src": "33899:56:1" + "src": "34867:58:0" } ], - "id": 1846, + "id": 1338, "name": "FunctionDefinition", - "src": "33826:129:1" + "src": "34794:131:0" }, { "attributes": { @@ -55241,7 +55241,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -55251,9 +55251,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1847, + "id": 1339, "name": "StructuredDocumentation", - "src": "33961:157:1" + "src": "34933:162:0" }, { "children": [ @@ -55262,7 +55262,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55272,24 +55272,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1848, + "id": 1340, "name": "UserDefinedTypeName", - "src": "34139:7:1" + "src": "35117:7:0" } ], - "id": 1849, + "id": 1341, "name": "VariableDeclaration", - "src": "34139:19:1" + "src": "35117:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55301,19 +55301,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1850, + "id": 1342, "name": "ElementaryTypeName", - "src": "34160:7:1" + "src": "35138:7:0" } ], - "id": 1851, + "id": 1343, "name": "VariableDeclaration", - "src": "34160:13:1" + "src": "35138:13:0" } ], - "id": 1852, + "id": 1344, "name": "ParameterList", - "src": "34138:36:1" + "src": "35116:36:0" }, { "children": [ @@ -55322,7 +55322,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55334,25 +55334,25 @@ "name": "bool", "type": "bool" }, - "id": 1853, + "id": 1345, "name": "ElementaryTypeName", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1854, + "id": 1346, "name": "VariableDeclaration", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1855, + "id": 1347, "name": "ParameterList", - "src": "34192:6:1" + "src": "35170:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1855 + "functionReturnParameters": 1347 }, "children": [ { @@ -55374,7 +55374,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55385,13 +55385,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1856, + "id": 1348, "name": "Identifier", - "src": "34216:7:1" + "src": "35195:7:0" }, { "attributes": { @@ -55400,7 +55400,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55409,18 +55409,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1849, + "referencedDeclaration": 1341, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1857, + "id": 1349, "name": "Identifier", - "src": "34224:3:1" + "src": "35203:3:0" } ], - "id": 1858, + "id": 1350, "name": "MemberAccess", - "src": "34224:10:1" + "src": "35203:10:0" }, { "attributes": { @@ -55456,52 +55456,52 @@ "attributes": { "name": "bytes32" }, - "id": 1859, + "id": 1351, "name": "ElementaryTypeName", - "src": "34236:7:1" + "src": "35215:7:0" } ], - "id": 1860, + "id": 1352, "name": "ElementaryTypeNameExpression", - "src": "34236:7:1" + "src": "35215:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1851, + "referencedDeclaration": 1343, "type": "uint256", "value": "value" }, - "id": 1861, + "id": 1353, "name": "Identifier", - "src": "34244:5:1" + "src": "35223:5:0" } ], - "id": 1862, + "id": 1354, "name": "FunctionCall", - "src": "34236:14:1" + "src": "35215:14:0" } ], - "id": 1863, + "id": 1355, "name": "FunctionCall", - "src": "34216:35:1" + "src": "35195:35:0" } ], - "id": 1864, + "id": 1356, "name": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ], - "id": 1865, + "id": 1357, "name": "Block", - "src": "34199:59:1" + "src": "35177:61:0" } ], - "id": 1866, + "id": 1358, "name": "FunctionDefinition", - "src": "34123:135:1" + "src": "35101:137:0" }, { "attributes": { @@ -55512,7 +55512,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55522,9 +55522,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1867, + "id": 1359, "name": "StructuredDocumentation", - "src": "34264:70:1" + "src": "35246:72:0" }, { "children": [ @@ -55533,7 +55533,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55543,24 +55543,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1868, + "id": 1360, "name": "UserDefinedTypeName", - "src": "34357:7:1" + "src": "35342:7:0" } ], - "id": 1869, + "id": 1361, "name": "VariableDeclaration", - "src": "34357:19:1" + "src": "35342:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55572,19 +55572,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1870, + "id": 1362, "name": "ElementaryTypeName", - "src": "34378:7:1" + "src": "35363:7:0" } ], - "id": 1871, + "id": 1363, "name": "VariableDeclaration", - "src": "34378:13:1" + "src": "35363:13:0" } ], - "id": 1872, + "id": 1364, "name": "ParameterList", - "src": "34356:36:1" + "src": "35341:36:0" }, { "children": [ @@ -55593,7 +55593,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55605,25 +55605,25 @@ "name": "bool", "type": "bool" }, - "id": 1873, + "id": 1365, "name": "ElementaryTypeName", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1874, + "id": 1366, "name": "VariableDeclaration", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1875, + "id": 1367, "name": "ParameterList", - "src": "34415:6:1" + "src": "35400:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1875 + "functionReturnParameters": 1367 }, "children": [ { @@ -55645,7 +55645,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55656,13 +55656,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1876, + "id": 1368, "name": "Identifier", - "src": "34439:9:1" + "src": "35425:9:0" }, { "attributes": { @@ -55671,7 +55671,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55680,18 +55680,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1869, + "referencedDeclaration": 1361, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1877, + "id": 1369, "name": "Identifier", - "src": "34449:3:1" + "src": "35435:3:0" } ], - "id": 1878, + "id": 1370, "name": "MemberAccess", - "src": "34449:10:1" + "src": "35435:10:0" }, { "attributes": { @@ -55727,52 +55727,52 @@ "attributes": { "name": "bytes32" }, - "id": 1879, + "id": 1371, "name": "ElementaryTypeName", - "src": "34461:7:1" + "src": "35447:7:0" } ], - "id": 1880, + "id": 1372, "name": "ElementaryTypeNameExpression", - "src": "34461:7:1" + "src": "35447:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1871, + "referencedDeclaration": 1363, "type": "uint256", "value": "value" }, - "id": 1881, + "id": 1373, "name": "Identifier", - "src": "34469:5:1" + "src": "35455:5:0" } ], - "id": 1882, + "id": 1374, "name": "FunctionCall", - "src": "34461:14:1" + "src": "35447:14:0" } ], - "id": 1883, + "id": 1375, "name": "FunctionCall", - "src": "34439:37:1" + "src": "35425:37:0" } ], - "id": 1884, + "id": 1376, "name": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ], - "id": 1885, + "id": 1377, "name": "Block", - "src": "34422:61:1" + "src": "35407:63:0" } ], - "id": 1886, + "id": 1378, "name": "FunctionDefinition", - "src": "34339:144:1" + "src": "35324:146:0" }, { "attributes": { @@ -55783,7 +55783,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55793,9 +55793,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1887, + "id": 1379, "name": "StructuredDocumentation", - "src": "34489:70:1" + "src": "35478:72:0" }, { "children": [ @@ -55804,7 +55804,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55814,22 +55814,22 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1888, + "id": 1380, "name": "UserDefinedTypeName", - "src": "34580:7:1" + "src": "35572:7:0" } ], - "id": 1889, + "id": 1381, "name": "VariableDeclaration", - "src": "34580:19:1" + "src": "35572:19:0" } ], - "id": 1890, + "id": 1382, "name": "ParameterList", - "src": "34579:21:1" + "src": "35571:21:0" }, { "children": [ @@ -55838,7 +55838,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55850,25 +55850,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1891, + "id": 1383, "name": "ElementaryTypeName", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1892, + "id": 1384, "name": "VariableDeclaration", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1893, + "id": 1385, "name": "ParameterList", - "src": "34623:9:1" + "src": "35615:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1893 + "functionReturnParameters": 1385 }, "children": [ { @@ -55890,20 +55890,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1894, + "id": 1386, "name": "Identifier", - "src": "34650:7:1" + "src": "35643:7:0" }, { "attributes": { @@ -55912,7 +55912,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55921,38 +55921,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1889, + "referencedDeclaration": 1381, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1895, + "id": 1387, "name": "Identifier", - "src": "34658:3:1" + "src": "35651:3:0" } ], - "id": 1896, + "id": 1388, "name": "MemberAccess", - "src": "34658:10:1" + "src": "35651:10:0" } ], - "id": 1897, + "id": 1389, "name": "FunctionCall", - "src": "34650:19:1" + "src": "35643:19:0" } ], - "id": 1898, + "id": 1390, "name": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ], - "id": 1899, + "id": 1391, "name": "Block", - "src": "34633:43:1" + "src": "35625:45:0" } ], - "id": 1900, + "id": 1392, "name": "FunctionDefinition", - "src": "34564:112:1" + "src": "35556:114:0" }, { "attributes": { @@ -55963,7 +55963,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55973,9 +55973,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1901, + "id": 1393, "name": "StructuredDocumentation", - "src": "34681:322:1" + "src": "35677:331:0" }, { "children": [ @@ -55984,7 +55984,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55994,24 +55994,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1902, + "id": 1394, "name": "UserDefinedTypeName", - "src": "35020:7:1" + "src": "36026:7:0" } ], - "id": 1903, + "id": 1395, "name": "VariableDeclaration", - "src": "35020:19:1" + "src": "36026:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -56023,19 +56023,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1904, + "id": 1396, "name": "ElementaryTypeName", - "src": "35041:7:1" + "src": "36047:7:0" } ], - "id": 1905, + "id": 1397, "name": "VariableDeclaration", - "src": "35041:13:1" + "src": "36047:13:0" } ], - "id": 1906, + "id": 1398, "name": "ParameterList", - "src": "35019:36:1" + "src": "36025:36:0" }, { "children": [ @@ -56044,7 +56044,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -56056,25 +56056,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1907, + "id": 1399, "name": "ElementaryTypeName", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1908, + "id": 1400, "name": "VariableDeclaration", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1909, + "id": 1401, "name": "ParameterList", - "src": "35078:9:1" + "src": "36084:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1909 + "functionReturnParameters": 1401 }, "children": [ { @@ -56111,14 +56111,14 @@ "attributes": { "name": "uint256" }, - "id": 1910, + "id": 1402, "name": "ElementaryTypeName", - "src": "35105:7:1" + "src": "36112:7:0" } ], - "id": 1911, + "id": 1403, "name": "ElementaryTypeNameExpression", - "src": "35105:7:1" + "src": "36112:7:0" }, { "attributes": { @@ -56139,7 +56139,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -56150,13 +56150,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1912, + "id": 1404, "name": "Identifier", - "src": "35113:3:1" + "src": "36120:3:0" }, { "attributes": { @@ -56165,7 +56165,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -56174,61 +56174,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1903, + "referencedDeclaration": 1395, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1913, + "id": 1405, "name": "Identifier", - "src": "35117:3:1" + "src": "36124:3:0" } ], - "id": 1914, + "id": 1406, "name": "MemberAccess", - "src": "35117:10:1" + "src": "36124:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1905, + "referencedDeclaration": 1397, "type": "uint256", "value": "index" }, - "id": 1915, + "id": 1407, "name": "Identifier", - "src": "35129:5:1" + "src": "36136:5:0" } ], - "id": 1916, + "id": 1408, "name": "FunctionCall", - "src": "35113:22:1" + "src": "36120:22:0" } ], - "id": 1917, + "id": 1409, "name": "FunctionCall", - "src": "35105:31:1" + "src": "36112:31:0" } ], - "id": 1918, + "id": 1410, "name": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ], - "id": 1919, + "id": 1411, "name": "Block", - "src": "35088:55:1" + "src": "36094:57:0" } ], - "id": 1920, + "id": 1412, "name": "FunctionDefinition", - "src": "35008:135:1" + "src": "36014:137:0" } ], - "id": 1921, + "id": 1413, "name": "ContractDefinition", - "src": "26511:8634:1" + "src": "27252:8902:0" }, { "attributes": { @@ -56242,9 +56242,9 @@ ".0" ] }, - "id": 1922, + "id": 1414, "name": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "attributes": { @@ -56258,25 +56258,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, - "id": 1923, + "id": 1415, "name": "StructuredDocumentation", - "src": "35237:705:1" + "src": "36251:728:0" }, { "attributes": { "canonicalName": "EnumerableMap.MapEntry", "name": "MapEntry", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -56285,7 +56285,7 @@ "constant": false, "mutability": "mutable", "name": "_key", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56297,21 +56297,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1924, + "id": 1416, "name": "ElementaryTypeName", - "src": "36455:7:1" + "src": "37504:7:0" } ], - "id": 1925, + "id": 1417, "name": "VariableDeclaration", - "src": "36455:12:1" + "src": "37504:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_value", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56323,25 +56323,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1926, + "id": 1418, "name": "ElementaryTypeName", - "src": "36477:7:1" + "src": "37527:7:0" } ], - "id": 1927, + "id": 1419, "name": "VariableDeclaration", - "src": "36477:14:1" + "src": "37527:14:0" } ], - "id": 1928, + "id": 1420, "name": "StructDefinition", - "src": "36429:69:1" + "src": "37477:72:0" }, { "attributes": { "canonicalName": "EnumerableMap.Map", "name": "Map", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -56350,7 +56350,7 @@ "constant": false, "mutability": "mutable", "name": "_entries", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.MapEntry[]", @@ -56365,29 +56365,29 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 1929, + "id": 1421, "name": "UserDefinedTypeName", - "src": "36567:8:1" + "src": "37622:8:0" } ], - "id": 1930, + "id": 1422, "name": "ArrayTypeName", - "src": "36567:10:1" + "src": "37622:10:0" } ], - "id": 1931, + "id": 1423, "name": "VariableDeclaration", - "src": "36567:19:1" + "src": "37622:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -56404,33 +56404,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1932, + "id": 1424, "name": "ElementaryTypeName", - "src": "36745:7:1" + "src": "37804:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1933, + "id": 1425, "name": "ElementaryTypeName", - "src": "36756:7:1" + "src": "37815:7:0" } ], - "id": 1934, + "id": 1426, "name": "Mapping", - "src": "36736:28:1" + "src": "37795:28:0" } ], - "id": 1935, + "id": 1427, "name": "VariableDeclaration", - "src": "36736:37:1" + "src": "37795:37:0" } ], - "id": 1936, + "id": 1428, "name": "StructDefinition", - "src": "36504:276:1" + "src": "37557:283:0" }, { "attributes": { @@ -56441,7 +56441,7 @@ null ], "name": "_set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56451,9 +56451,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1937, + "id": 1429, "name": "StructuredDocumentation", - "src": "36786:216:1" + "src": "37848:222:0" }, { "children": [ @@ -56462,7 +56462,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56472,24 +56472,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 1938, + "id": 1430, "name": "UserDefinedTypeName", - "src": "37021:3:1" + "src": "38090:3:0" } ], - "id": 1939, + "id": 1431, "name": "VariableDeclaration", - "src": "37021:15:1" + "src": "38090:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56501,21 +56501,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1940, + "id": 1432, "name": "ElementaryTypeName", - "src": "37038:7:1" + "src": "38107:7:0" } ], - "id": 1941, + "id": 1433, "name": "VariableDeclaration", - "src": "37038:11:1" + "src": "38107:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56527,19 +56527,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1942, + "id": 1434, "name": "ElementaryTypeName", - "src": "37051:7:1" + "src": "38120:7:0" } ], - "id": 1943, + "id": 1435, "name": "VariableDeclaration", - "src": "37051:13:1" + "src": "38120:13:0" } ], - "id": 1944, + "id": 1436, "name": "ParameterList", - "src": "37020:45:1" + "src": "38089:45:0" }, { "children": [ @@ -56548,7 +56548,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -56560,26 +56560,26 @@ "name": "bool", "type": "bool" }, - "id": 1945, + "id": 1437, "name": "ElementaryTypeName", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1946, + "id": 1438, "name": "VariableDeclaration", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1947, + "id": 1439, "name": "ParameterList", - "src": "37082:6:1" + "src": "38151:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1949 + 1441 ] }, "children": [ @@ -56588,7 +56588,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 1997, + "scope": 1489, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -56600,14 +56600,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1948, + "id": 1440, "name": "ElementaryTypeName", - "src": "37197:7:1" + "src": "38268:7:0" } ], - "id": 1949, + "id": 1441, "name": "VariableDeclaration", - "src": "37197:16:1" + "src": "38268:16:0" }, { "attributes": { @@ -56625,7 +56625,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56634,41 +56634,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1950, + "id": 1442, "name": "Identifier", - "src": "37216:3:1" + "src": "38287:3:0" } ], - "id": 1951, + "id": 1443, "name": "MemberAccess", - "src": "37216:12:1" + "src": "38287:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1952, + "id": 1444, "name": "Identifier", - "src": "37229:3:1" + "src": "38300:3:0" } ], - "id": 1953, + "id": 1445, "name": "IndexAccess", - "src": "37216:17:1" + "src": "38287:17:0" } ], - "id": 1954, + "id": 1446, "name": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "children": [ @@ -56691,13 +56691,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1955, + "id": 1447, "name": "Identifier", - "src": "37248:8:1" + "src": "38321:8:0" }, { "attributes": { @@ -56710,14 +56710,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1956, + "id": 1448, "name": "Literal", - "src": "37260:1:1" + "src": "38333:1:0" } ], - "id": 1957, + "id": 1449, "name": "BinaryOperation", - "src": "37248:13:1" + "src": "38321:13:0" }, { "children": [ @@ -56742,7 +56742,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], @@ -56761,7 +56761,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56770,23 +56770,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1958, + "id": 1450, "name": "Identifier", - "src": "37314:3:1" + "src": "38388:3:0" } ], - "id": 1961, + "id": 1453, "name": "MemberAccess", - "src": "37314:12:1" + "src": "38388:12:0" } ], - "id": 1962, + "id": 1454, "name": "MemberAccess", - "src": "37314:17:1" + "src": "38388:17:0" }, { "attributes": { @@ -56819,54 +56819,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "type(struct EnumerableMap.MapEntry storage pointer)", "value": "MapEntry" }, - "id": 1963, + "id": 1455, "name": "Identifier", - "src": "37332:8:1" + "src": "38406:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1964, + "id": 1456, "name": "Identifier", - "src": "37349:3:1" + "src": "38423:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1965, + "id": 1457, "name": "Identifier", - "src": "37362:5:1" + "src": "38436:5:0" } ], - "id": 1966, + "id": 1458, "name": "FunctionCall", - "src": "37332:38:1" + "src": "38406:38:0" } ], - "id": 1967, + "id": 1459, "name": "FunctionCall", - "src": "37314:57:1" + "src": "38388:57:0" } ], - "id": 1968, + "id": 1460, "name": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "children": [ @@ -56896,7 +56896,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56905,36 +56905,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1969, + "id": 1461, "name": "Identifier", - "src": "37506:3:1" + "src": "38583:3:0" } ], - "id": 1972, + "id": 1464, "name": "MemberAccess", - "src": "37506:12:1" + "src": "38583:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1971, + "id": 1463, "name": "Identifier", - "src": "37519:3:1" + "src": "38596:3:0" } ], - "id": 1973, + "id": 1465, "name": "IndexAccess", - "src": "37506:17:1" + "src": "38583:17:0" }, { "attributes": { @@ -56953,7 +56953,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56962,37 +56962,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1974, + "id": 1466, "name": "Identifier", - "src": "37526:3:1" + "src": "38603:3:0" } ], - "id": 1975, + "id": 1467, "name": "MemberAccess", - "src": "37526:12:1" + "src": "38603:12:0" } ], - "id": 1976, + "id": 1468, "name": "MemberAccess", - "src": "37526:19:1" + "src": "38603:19:0" } ], - "id": 1977, + "id": 1469, "name": "Assignment", - "src": "37506:39:1" + "src": "38583:39:0" } ], - "id": 1978, + "id": 1470, "name": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -57006,19 +57006,19 @@ "type": "bool", "value": "true" }, - "id": 1979, + "id": 1471, "name": "Literal", - "src": "37566:4:1" + "src": "38644:4:0" } ], - "id": 1980, + "id": 1472, "name": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ], - "id": 1981, + "id": 1473, "name": "Block", - "src": "37263:318:1" + "src": "38336:324:0" }, { "children": [ @@ -57041,7 +57041,7 @@ "isPure": false, "lValueRequested": true, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -57061,7 +57061,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57070,18 +57070,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1982, + "id": 1474, "name": "Identifier", - "src": "37601:3:1" + "src": "38681:3:0" } ], - "id": 1987, + "id": 1479, "name": "MemberAccess", - "src": "37601:12:1" + "src": "38681:12:0" }, { "attributes": { @@ -57102,13 +57102,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1984, + "id": 1476, "name": "Identifier", - "src": "37614:8:1" + "src": "38694:8:0" }, { "attributes": { @@ -57121,51 +57121,51 @@ "type": "int_const 1", "value": "1" }, - "id": 1985, + "id": 1477, "name": "Literal", - "src": "37625:1:1" + "src": "38705:1:0" } ], - "id": 1986, + "id": 1478, "name": "BinaryOperation", - "src": "37614:12:1" + "src": "38694:12:0" } ], - "id": 1988, + "id": 1480, "name": "IndexAccess", - "src": "37601:26:1" + "src": "38681:26:0" } ], - "id": 1989, + "id": 1481, "name": "MemberAccess", - "src": "37601:33:1" + "src": "38681:33:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1990, + "id": 1482, "name": "Identifier", - "src": "37637:5:1" + "src": "38717:5:0" } ], - "id": 1991, + "id": 1483, "name": "Assignment", - "src": "37601:41:1" + "src": "38681:41:0" } ], - "id": 1992, + "id": 1484, "name": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -57179,34 +57179,34 @@ "type": "bool", "value": "false" }, - "id": 1993, + "id": 1485, "name": "Literal", - "src": "37663:5:1" + "src": "38744:5:0" } ], - "id": 1994, + "id": 1486, "name": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ], - "id": 1995, + "id": 1487, "name": "Block", - "src": "37587:92:1" + "src": "38666:95:0" } ], - "id": 1996, + "id": 1488, "name": "IfStatement", - "src": "37244:435:1" + "src": "38317:444:0" } ], - "id": 1997, + "id": 1489, "name": "Block", - "src": "37089:596:1" + "src": "38158:610:0" } ], - "id": 1998, + "id": 1490, "name": "FunctionDefinition", - "src": "37007:678:1" + "src": "38076:692:0" }, { "attributes": { @@ -57217,7 +57217,7 @@ null ], "name": "_remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -57227,9 +57227,9 @@ "attributes": { "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 1999, + "id": 1491, "name": "StructuredDocumentation", - "src": "37691:157:1" + "src": "38776:161:0" }, { "children": [ @@ -57238,7 +57238,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -57248,24 +57248,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2000, + "id": 1492, "name": "UserDefinedTypeName", - "src": "37870:3:1" + "src": "38960:3:0" } ], - "id": 2001, + "id": 1493, "name": "VariableDeclaration", - "src": "37870:15:1" + "src": "38960:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -57277,19 +57277,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2002, + "id": 1494, "name": "ElementaryTypeName", - "src": "37887:7:1" + "src": "38977:7:0" } ], - "id": 2003, + "id": 1495, "name": "VariableDeclaration", - "src": "37887:11:1" + "src": "38977:11:0" } ], - "id": 2004, + "id": 1496, "name": "ParameterList", - "src": "37869:30:1" + "src": "38959:30:0" }, { "children": [ @@ -57298,7 +57298,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -57310,26 +57310,26 @@ "name": "bool", "type": "bool" }, - "id": 2005, + "id": 1497, "name": "ElementaryTypeName", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2006, + "id": 1498, "name": "VariableDeclaration", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2007, + "id": 1499, "name": "ParameterList", - "src": "37916:6:1" + "src": "39006:6:0" }, { "children": [ { "attributes": { "assignments": [ - 2009 + 1501 ] }, "children": [ @@ -57338,7 +57338,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2078, + "scope": 1570, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57350,14 +57350,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2008, + "id": 1500, "name": "ElementaryTypeName", - "src": "38031:7:1" + "src": "39123:7:0" } ], - "id": 2009, + "id": 1501, "name": "VariableDeclaration", - "src": "38031:16:1" + "src": "39123:16:0" }, { "attributes": { @@ -57375,7 +57375,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57384,41 +57384,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2010, + "id": 1502, "name": "Identifier", - "src": "38050:3:1" + "src": "39142:3:0" } ], - "id": 2011, + "id": 1503, "name": "MemberAccess", - "src": "38050:12:1" + "src": "39142:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2012, + "id": 1504, "name": "Identifier", - "src": "38063:3:1" + "src": "39155:3:0" } ], - "id": 2013, + "id": 1505, "name": "IndexAccess", - "src": "38050:17:1" + "src": "39142:17:0" } ], - "id": 2014, + "id": 1506, "name": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "children": [ @@ -57441,13 +57441,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2015, + "id": 1507, "name": "Identifier", - "src": "38082:8:1" + "src": "39176:8:0" }, { "attributes": { @@ -57460,21 +57460,21 @@ "type": "int_const 0", "value": "0" }, - "id": 2016, + "id": 1508, "name": "Literal", - "src": "38094:1:1" + "src": "39188:1:0" } ], - "id": 2017, + "id": 1509, "name": "BinaryOperation", - "src": "38082:13:1" + "src": "39176:13:0" }, { "children": [ { "attributes": { "assignments": [ - 2019 + 1511 ] }, "children": [ @@ -57483,7 +57483,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57495,14 +57495,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2018, + "id": 1510, "name": "ElementaryTypeName", - "src": "38438:7:1" + "src": "39537:7:0" } ], - "id": 2019, + "id": 1511, "name": "VariableDeclaration", - "src": "38438:21:1" + "src": "39537:21:0" }, { "attributes": { @@ -57523,13 +57523,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2020, + "id": 1512, "name": "Identifier", - "src": "38462:8:1" + "src": "39561:8:0" }, { "attributes": { @@ -57542,24 +57542,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2021, + "id": 1513, "name": "Literal", - "src": "38473:1:1" + "src": "39572:1:0" } ], - "id": 2022, + "id": 1514, "name": "BinaryOperation", - "src": "38462:12:1" + "src": "39561:12:0" } ], - "id": 2023, + "id": 1515, "name": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "attributes": { "assignments": [ - 2025 + 1517 ] }, "children": [ @@ -57568,7 +57568,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57580,14 +57580,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2024, + "id": 1516, "name": "ElementaryTypeName", - "src": "38488:7:1" + "src": "39588:7:0" } ], - "id": 2025, + "id": 1517, "name": "VariableDeclaration", - "src": "38488:17:1" + "src": "39588:17:0" }, { "attributes": { @@ -57620,7 +57620,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57629,23 +57629,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2026, + "id": 1518, "name": "Identifier", - "src": "38508:3:1" + "src": "39608:3:0" } ], - "id": 2027, + "id": 1519, "name": "MemberAccess", - "src": "38508:12:1" + "src": "39608:12:0" } ], - "id": 2028, + "id": 1520, "name": "MemberAccess", - "src": "38508:19:1" + "src": "39608:19:0" }, { "attributes": { @@ -57658,24 +57658,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2029, + "id": 1521, "name": "Literal", - "src": "38530:1:1" + "src": "39630:1:0" } ], - "id": 2030, + "id": 1522, "name": "BinaryOperation", - "src": "38508:23:1" + "src": "39608:23:0" } ], - "id": 2031, + "id": 1523, "name": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "attributes": { "assignments": [ - 2033 + 1525 ] }, "children": [ @@ -57684,7 +57684,7 @@ "constant": false, "mutability": "mutable", "name": "lastEntry", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -57694,17 +57694,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2032, + "id": 1524, "name": "UserDefinedTypeName", - "src": "38771:8:1" + "src": "39876:8:0" } ], - "id": 2033, + "id": 1525, "name": "VariableDeclaration", - "src": "38771:26:1" + "src": "39876:26:0" }, { "attributes": { @@ -57722,7 +57722,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57731,41 +57731,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2034, + "id": 1526, "name": "Identifier", - "src": "38800:3:1" + "src": "39905:3:0" } ], - "id": 2035, + "id": 1527, "name": "MemberAccess", - "src": "38800:12:1" + "src": "39905:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2025, + "referencedDeclaration": 1517, "type": "uint256", "value": "lastIndex" }, - "id": 2036, + "id": 1528, "name": "Identifier", - "src": "38813:9:1" + "src": "39918:9:0" } ], - "id": 2037, + "id": 1529, "name": "IndexAccess", - "src": "38800:23:1" + "src": "39905:23:0" } ], - "id": 2038, + "id": 1530, "name": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "children": [ @@ -57795,7 +57795,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57804,59 +57804,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2039, + "id": 1531, "name": "Identifier", - "src": "38915:3:1" + "src": "40023:3:0" } ], - "id": 2042, + "id": 1534, "name": "MemberAccess", - "src": "38915:12:1" + "src": "40023:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2041, + "id": 1533, "name": "Identifier", - "src": "38928:13:1" + "src": "40036:13:0" } ], - "id": 2043, + "id": 1535, "name": "IndexAccess", - "src": "38915:27:1" + "src": "40023:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2044, + "id": 1536, "name": "Identifier", - "src": "38945:9:1" + "src": "40053:9:0" } ], - "id": 2045, + "id": 1537, "name": "Assignment", - "src": "38915:39:1" + "src": "40023:39:0" } ], - "id": 2046, + "id": 1538, "name": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "children": [ @@ -57886,7 +57886,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57895,18 +57895,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2047, + "id": 1539, "name": "Identifier", - "src": "39020:3:1" + "src": "40130:3:0" } ], - "id": 2051, + "id": 1543, "name": "MemberAccess", - "src": "39020:12:1" + "src": "40130:12:0" }, { "attributes": { @@ -57915,7 +57915,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -57924,23 +57924,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2049, + "id": 1541, "name": "Identifier", - "src": "39033:9:1" + "src": "40143:9:0" } ], - "id": 2050, + "id": 1542, "name": "MemberAccess", - "src": "39033:14:1" + "src": "40143:14:0" } ], - "id": 2052, + "id": 1544, "name": "IndexAccess", - "src": "39020:28:1" + "src": "40130:28:0" }, { "attributes": { @@ -57961,13 +57961,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2053, + "id": 1545, "name": "Identifier", - "src": "39051:13:1" + "src": "40161:13:0" }, { "attributes": { @@ -57980,24 +57980,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2054, + "id": 1546, "name": "Literal", - "src": "39067:1:1" + "src": "40177:1:0" } ], - "id": 2055, + "id": 1547, "name": "BinaryOperation", - "src": "39051:17:1" + "src": "40161:17:0" } ], - "id": 2056, + "id": 1548, "name": "Assignment", - "src": "39020:48:1" + "src": "40130:48:0" } ], - "id": 2057, + "id": 1549, "name": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "children": [ @@ -58039,7 +58039,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58048,33 +58048,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2058, + "id": 1550, "name": "Identifier", - "src": "39174:3:1" + "src": "40287:3:0" } ], - "id": 2061, + "id": 1553, "name": "MemberAccess", - "src": "39174:12:1" + "src": "40287:12:0" } ], - "id": 2062, + "id": 1554, "name": "MemberAccess", - "src": "39174:16:1" + "src": "40287:16:0" } ], - "id": 2063, + "id": 1555, "name": "FunctionCall", - "src": "39174:18:1" + "src": "40287:18:0" } ], - "id": 2064, + "id": 1556, "name": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "children": [ @@ -58105,7 +58105,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58114,50 +58114,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2065, + "id": 1557, "name": "Identifier", - "src": "39267:3:1" + "src": "40383:3:0" } ], - "id": 2066, + "id": 1558, "name": "MemberAccess", - "src": "39267:12:1" + "src": "40383:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2067, + "id": 1559, "name": "Identifier", - "src": "39280:3:1" + "src": "40396:3:0" } ], - "id": 2068, + "id": 1560, "name": "IndexAccess", - "src": "39267:17:1" + "src": "40383:17:0" } ], - "id": 2069, + "id": 1561, "name": "UnaryOperation", - "src": "39260:24:1" + "src": "40376:24:0" } ], - "id": 2070, + "id": 1562, "name": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -58171,25 +58171,25 @@ "type": "bool", "value": "true" }, - "id": 2071, + "id": 1563, "name": "Literal", - "src": "39306:4:1" + "src": "40424:4:0" } ], - "id": 2072, + "id": 1564, "name": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ], - "id": 2073, + "id": 1565, "name": "Block", - "src": "38097:1224:1" + "src": "39191:1249:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -58203,34 +58203,34 @@ "type": "bool", "value": "false" }, - "id": 2074, + "id": 1566, "name": "Literal", - "src": "39348:5:1" + "src": "40468:5:0" } ], - "id": 2075, + "id": 1567, "name": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ], - "id": 2076, + "id": 1568, "name": "Block", - "src": "39327:37:1" + "src": "40446:39:0" } ], - "id": 2077, + "id": 1569, "name": "IfStatement", - "src": "38078:1286:1" + "src": "39172:1313:0" } ], - "id": 2078, + "id": 1570, "name": "Block", - "src": "37923:1447:1" + "src": "39013:1479:0" } ], - "id": 2079, + "id": 1571, "name": "FunctionDefinition", - "src": "37853:1517:1" + "src": "38943:1549:0" }, { "attributes": { @@ -58241,7 +58241,7 @@ null ], "name": "_contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58251,9 +58251,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2080, + "id": 1572, "name": "StructuredDocumentation", - "src": "39376:68:1" + "src": "40500:70:0" }, { "children": [ @@ -58262,7 +58262,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58272,24 +58272,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2081, + "id": 1573, "name": "UserDefinedTypeName", - "src": "39468:3:1" + "src": "40595:3:0" } ], - "id": 2082, + "id": 1574, "name": "VariableDeclaration", - "src": "39468:15:1" + "src": "40595:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58301,19 +58301,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2083, + "id": 1575, "name": "ElementaryTypeName", - "src": "39485:7:1" + "src": "40612:7:0" } ], - "id": 2084, + "id": 1576, "name": "VariableDeclaration", - "src": "39485:11:1" + "src": "40612:11:0" } ], - "id": 2085, + "id": 1577, "name": "ParameterList", - "src": "39467:30:1" + "src": "40594:30:0" }, { "children": [ @@ -58322,7 +58322,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -58334,25 +58334,25 @@ "name": "bool", "type": "bool" }, - "id": 2086, + "id": 1578, "name": "ElementaryTypeName", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2087, + "id": 1579, "name": "VariableDeclaration", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2088, + "id": 1580, "name": "ParameterList", - "src": "39519:6:1" + "src": "40646:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2088 + "functionReturnParameters": 1580 }, "children": [ { @@ -58385,7 +58385,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58394,36 +58394,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2082, + "referencedDeclaration": 1574, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2089, + "id": 1581, "name": "Identifier", - "src": "39543:3:1" + "src": "40671:3:0" } ], - "id": 2090, + "id": 1582, "name": "MemberAccess", - "src": "39543:12:1" + "src": "40671:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2084, + "referencedDeclaration": 1576, "type": "bytes32", "value": "key" }, - "id": 2091, + "id": 1583, "name": "Identifier", - "src": "39556:3:1" + "src": "40684:3:0" } ], - "id": 2092, + "id": 1584, "name": "IndexAccess", - "src": "39543:17:1" + "src": "40671:17:0" }, { "attributes": { @@ -58436,29 +58436,29 @@ "type": "int_const 0", "value": "0" }, - "id": 2093, + "id": 1585, "name": "Literal", - "src": "39564:1:1" + "src": "40692:1:0" } ], - "id": 2094, + "id": 1586, "name": "BinaryOperation", - "src": "39543:22:1" + "src": "40671:22:0" } ], - "id": 2095, + "id": 1587, "name": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ], - "id": 2096, + "id": 1588, "name": "Block", - "src": "39526:46:1" + "src": "40653:48:0" } ], - "id": 2097, + "id": 1589, "name": "FunctionDefinition", - "src": "39449:123:1" + "src": "40576:125:0" }, { "attributes": { @@ -58469,7 +58469,7 @@ null ], "name": "_length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58479,9 +58479,9 @@ "attributes": { "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2098, + "id": 1590, "name": "StructuredDocumentation", - "src": "39578:79:1" + "src": "40709:81:0" }, { "children": [ @@ -58490,7 +58490,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58500,22 +58500,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2099, + "id": 1591, "name": "UserDefinedTypeName", - "src": "39679:3:1" + "src": "40813:3:0" } ], - "id": 2100, + "id": 1592, "name": "VariableDeclaration", - "src": "39679:15:1" + "src": "40813:15:0" } ], - "id": 2101, + "id": 1593, "name": "ParameterList", - "src": "39678:17:1" + "src": "40812:17:0" }, { "children": [ @@ -58524,7 +58524,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58536,25 +58536,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2102, + "id": 1594, "name": "ElementaryTypeName", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2103, + "id": 1595, "name": "VariableDeclaration", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2104, + "id": 1596, "name": "ParameterList", - "src": "39717:9:1" + "src": "40851:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2104 + "functionReturnParameters": 1596 }, "children": [ { @@ -58574,7 +58574,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58583,38 +58583,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2100, + "referencedDeclaration": 1592, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2105, + "id": 1597, "name": "Identifier", - "src": "39744:3:1" + "src": "40879:3:0" } ], - "id": 2106, + "id": 1598, "name": "MemberAccess", - "src": "39744:12:1" + "src": "40879:12:0" } ], - "id": 2107, + "id": 1599, "name": "MemberAccess", - "src": "39744:19:1" + "src": "40879:19:0" } ], - "id": 2108, + "id": 1600, "name": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ], - "id": 2109, + "id": 1601, "name": "Block", - "src": "39727:43:1" + "src": "40861:45:0" } ], - "id": 2110, + "id": 1602, "name": "FunctionDefinition", - "src": "39662:108:1" + "src": "40796:110:0" }, { "attributes": { @@ -58625,7 +58625,7 @@ null ], "name": "_at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58635,9 +58635,9 @@ "attributes": { "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2111, + "id": 1603, "name": "StructuredDocumentation", - "src": "39775:333:1" + "src": "40913:342:0" }, { "children": [ @@ -58646,7 +58646,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58656,24 +58656,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2112, + "id": 1604, "name": "UserDefinedTypeName", - "src": "40126:3:1" + "src": "41274:3:0" } ], - "id": 2113, + "id": 1605, "name": "VariableDeclaration", - "src": "40126:15:1" + "src": "41274:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58685,19 +58685,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2114, + "id": 1606, "name": "ElementaryTypeName", - "src": "40143:7:1" + "src": "41291:7:0" } ], - "id": 2115, + "id": 1607, "name": "VariableDeclaration", - "src": "40143:13:1" + "src": "41291:13:0" } ], - "id": 2116, + "id": 1608, "name": "ParameterList", - "src": "40125:32:1" + "src": "41273:32:0" }, { "children": [ @@ -58706,7 +58706,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58718,21 +58718,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2117, + "id": 1609, "name": "ElementaryTypeName", - "src": "40180:7:1" + "src": "41328:7:0" } ], - "id": 2118, + "id": 1610, "name": "VariableDeclaration", - "src": "40180:7:1" + "src": "41328:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58744,19 +58744,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2119, + "id": 1611, "name": "ElementaryTypeName", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2120, + "id": 1612, "name": "VariableDeclaration", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2121, + "id": 1613, "name": "ParameterList", - "src": "40179:18:1" + "src": "41327:18:0" }, { "children": [ @@ -58797,9 +58797,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2122, + "id": 1614, "name": "Identifier", - "src": "40208:7:1" + "src": "41357:7:0" }, { "attributes": { @@ -58832,7 +58832,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58841,41 +58841,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2123, + "id": 1615, "name": "Identifier", - "src": "40216:3:1" + "src": "41365:3:0" } ], - "id": 2124, + "id": 1616, "name": "MemberAccess", - "src": "40216:12:1" + "src": "41365:12:0" } ], - "id": 2125, + "id": 1617, "name": "MemberAccess", - "src": "40216:19:1" + "src": "41365:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2126, + "id": 1618, "name": "Identifier", - "src": "40238:5:1" + "src": "41387:5:0" } ], - "id": 2127, + "id": 1619, "name": "BinaryOperation", - "src": "40216:27:1" + "src": "41365:27:0" }, { "attributes": { @@ -58888,24 +58888,24 @@ "type": "literal_string \"EnumerableMap: index out of bounds\"", "value": "EnumerableMap: index out of bounds" }, - "id": 2128, + "id": 1620, "name": "Literal", - "src": "40245:36:1" + "src": "41394:36:0" } ], - "id": 2129, + "id": 1621, "name": "FunctionCall", - "src": "40208:74:1" + "src": "41357:74:0" } ], - "id": 2130, + "id": 1622, "name": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "attributes": { "assignments": [ - 2132 + 1624 ] }, "children": [ @@ -58914,7 +58914,7 @@ "constant": false, "mutability": "mutable", "name": "entry", - "scope": 2144, + "scope": 1636, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -58924,17 +58924,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2131, + "id": 1623, "name": "UserDefinedTypeName", - "src": "40293:8:1" + "src": "41444:8:0" } ], - "id": 2132, + "id": 1624, "name": "VariableDeclaration", - "src": "40293:22:1" + "src": "41444:22:0" }, { "attributes": { @@ -58952,7 +58952,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58961,45 +58961,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2133, + "id": 1625, "name": "Identifier", - "src": "40318:3:1" + "src": "41469:3:0" } ], - "id": 2134, + "id": 1626, "name": "MemberAccess", - "src": "40318:12:1" + "src": "41469:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2135, + "id": 1627, "name": "Identifier", - "src": "40331:5:1" + "src": "41482:5:0" } ], - "id": 2136, + "id": 1628, "name": "IndexAccess", - "src": "40318:19:1" + "src": "41469:19:0" } ], - "id": 2137, + "id": 1629, "name": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "attributes": { - "functionReturnParameters": 2121 + "functionReturnParameters": 1613 }, "children": [ { @@ -59019,7 +59019,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -59028,18 +59028,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2138, + "id": 1630, "name": "Identifier", - "src": "40355:5:1" + "src": "41507:5:0" } ], - "id": 2139, + "id": 1631, "name": "MemberAccess", - "src": "40355:10:1" + "src": "41507:10:0" }, { "attributes": { @@ -59048,7 +59048,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59057,38 +59057,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2140, + "id": 1632, "name": "Identifier", - "src": "40367:5:1" + "src": "41519:5:0" } ], - "id": 2141, + "id": 1633, "name": "MemberAccess", - "src": "40367:12:1" + "src": "41519:12:0" } ], - "id": 2142, + "id": 1634, "name": "TupleExpression", - "src": "40354:26:1" + "src": "41506:26:0" } ], - "id": 2143, + "id": 1635, "name": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ], - "id": 2144, + "id": 1636, "name": "Block", - "src": "40198:189:1" + "src": "41346:194:0" } ], - "id": 2145, + "id": 1637, "name": "FunctionDefinition", - "src": "40113:274:1" + "src": "41261:279:0" }, { "attributes": { @@ -59099,7 +59099,7 @@ null ], "name": "_tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59109,9 +59109,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2146, + "id": 1638, "name": "StructuredDocumentation", - "src": "40393:131:1" + "src": "41548:134:0" }, { "children": [ @@ -59120,7 +59120,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59130,24 +59130,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2147, + "id": 1639, "name": "UserDefinedTypeName", - "src": "40546:3:1" + "src": "41705:3:0" } ], - "id": 2148, + "id": 1640, "name": "VariableDeclaration", - "src": "40546:15:1" + "src": "41705:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59159,19 +59159,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2149, + "id": 1641, "name": "ElementaryTypeName", - "src": "40563:7:1" + "src": "41722:7:0" } ], - "id": 2150, + "id": 1642, "name": "VariableDeclaration", - "src": "40563:11:1" + "src": "41722:11:0" } ], - "id": 2151, + "id": 1643, "name": "ParameterList", - "src": "40545:30:1" + "src": "41704:30:0" }, { "children": [ @@ -59180,7 +59180,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -59192,21 +59192,21 @@ "name": "bool", "type": "bool" }, - "id": 2152, + "id": 1644, "name": "ElementaryTypeName", - "src": "40598:4:1" + "src": "41757:4:0" } ], - "id": 2153, + "id": 1645, "name": "VariableDeclaration", - "src": "40598:4:1" + "src": "41757:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59218,26 +59218,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2154, + "id": 1646, "name": "ElementaryTypeName", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2155, + "id": 1647, "name": "VariableDeclaration", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2156, + "id": 1648, "name": "ParameterList", - "src": "40597:15:1" + "src": "41756:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2158 + 1650 ] }, "children": [ @@ -59246,7 +59246,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2182, + "scope": 1674, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59258,14 +59258,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2157, + "id": 1649, "name": "ElementaryTypeName", - "src": "40623:7:1" + "src": "41783:7:0" } ], - "id": 2158, + "id": 1650, "name": "VariableDeclaration", - "src": "40623:16:1" + "src": "41783:16:0" }, { "attributes": { @@ -59283,7 +59283,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59292,41 +59292,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2159, + "id": 1651, "name": "Identifier", - "src": "40642:3:1" + "src": "41802:3:0" } ], - "id": 2160, + "id": 1652, "name": "MemberAccess", - "src": "40642:12:1" + "src": "41802:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2150, + "referencedDeclaration": 1642, "type": "bytes32", "value": "key" }, - "id": 2161, + "id": 1653, "name": "Identifier", - "src": "40655:3:1" + "src": "41815:3:0" } ], - "id": 2162, + "id": 1654, "name": "IndexAccess", - "src": "40642:17:1" + "src": "41802:17:0" } ], - "id": 2163, + "id": 1655, "name": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "attributes": {}, @@ -59350,13 +59350,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2164, + "id": 1656, "name": "Identifier", - "src": "40673:8:1" + "src": "41834:8:0" }, { "attributes": { @@ -59369,18 +59369,18 @@ "type": "int_const 0", "value": "0" }, - "id": 2165, + "id": 1657, "name": "Literal", - "src": "40685:1:1" + "src": "41846:1:0" } ], - "id": 2166, + "id": 1658, "name": "BinaryOperation", - "src": "40673:13:1" + "src": "41834:13:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59404,9 +59404,9 @@ "type": "bool", "value": "false" }, - "id": 2167, + "id": 1659, "name": "Literal", - "src": "40696:5:1" + "src": "41857:5:0" }, { "attributes": { @@ -59419,28 +59419,28 @@ "type": "int_const 0", "value": "0" }, - "id": 2168, + "id": 1660, "name": "Literal", - "src": "40703:1:1" + "src": "41864:1:0" } ], - "id": 2169, + "id": 1661, "name": "TupleExpression", - "src": "40695:10:1" + "src": "41856:10:0" } ], - "id": 2170, + "id": 1662, "name": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } ], - "id": 2171, + "id": 1663, "name": "IfStatement", - "src": "40669:36:1" + "src": "41830:36:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59464,9 +59464,9 @@ "type": "bool", "value": "true" }, - "id": 2172, + "id": 1664, "name": "Literal", - "src": "40759:4:1" + "src": "41921:4:0" }, { "attributes": { @@ -59475,7 +59475,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59495,7 +59495,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59504,18 +59504,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2173, + "id": 1665, "name": "Identifier", - "src": "40765:3:1" + "src": "41927:3:0" } ], - "id": 2174, + "id": 1666, "name": "MemberAccess", - "src": "40765:12:1" + "src": "41927:12:0" }, { "attributes": { @@ -59536,13 +59536,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2175, + "id": 1667, "name": "Identifier", - "src": "40778:8:1" + "src": "41940:8:0" }, { "attributes": { @@ -59555,44 +59555,44 @@ "type": "int_const 1", "value": "1" }, - "id": 2176, + "id": 1668, "name": "Literal", - "src": "40789:1:1" + "src": "41951:1:0" } ], - "id": 2177, + "id": 1669, "name": "BinaryOperation", - "src": "40778:12:1" + "src": "41940:12:0" } ], - "id": 2178, + "id": 1670, "name": "IndexAccess", - "src": "40765:26:1" + "src": "41927:26:0" } ], - "id": 2179, + "id": 1671, "name": "MemberAccess", - "src": "40765:33:1" + "src": "41927:33:0" } ], - "id": 2180, + "id": 1672, "name": "TupleExpression", - "src": "40758:41:1" + "src": "41920:41:0" } ], - "id": 2181, + "id": 1673, "name": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ], - "id": 2182, + "id": 1674, "name": "Block", - "src": "40613:220:1" + "src": "41772:224:0" } ], - "id": 2183, + "id": 1675, "name": "FunctionDefinition", - "src": "40529:304:1" + "src": "41688:308:0" }, { "attributes": { @@ -59603,7 +59603,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59613,9 +59613,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2184, + "id": 1676, "name": "StructuredDocumentation", - "src": "40839:141:1" + "src": "42004:147:0" }, { "children": [ @@ -59624,7 +59624,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59634,24 +59634,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2185, + "id": 1677, "name": "UserDefinedTypeName", - "src": "40999:3:1" + "src": "42171:3:0" } ], - "id": 2186, + "id": 1678, "name": "VariableDeclaration", - "src": "40999:15:1" + "src": "42171:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59663,19 +59663,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2187, + "id": 1679, "name": "ElementaryTypeName", - "src": "41016:7:1" + "src": "42188:7:0" } ], - "id": 2188, + "id": 1680, "name": "VariableDeclaration", - "src": "41016:11:1" + "src": "42188:11:0" } ], - "id": 2189, + "id": 1681, "name": "ParameterList", - "src": "40998:30:1" + "src": "42170:30:0" }, { "children": [ @@ -59684,7 +59684,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59696,26 +59696,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2190, + "id": 1682, "name": "ElementaryTypeName", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2191, + "id": 1683, "name": "VariableDeclaration", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2192, + "id": 1684, "name": "ParameterList", - "src": "41050:9:1" + "src": "42222:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2194 + 1686 ] }, "children": [ @@ -59724,7 +59724,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2215, + "scope": 1707, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59736,14 +59736,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2193, + "id": 1685, "name": "ElementaryTypeName", - "src": "41070:7:1" + "src": "42243:7:0" } ], - "id": 2194, + "id": 1686, "name": "VariableDeclaration", - "src": "41070:16:1" + "src": "42243:16:0" }, { "attributes": { @@ -59761,7 +59761,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59770,41 +59770,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2195, + "id": 1687, "name": "Identifier", - "src": "41089:3:1" + "src": "42262:3:0" } ], - "id": 2196, + "id": 1688, "name": "MemberAccess", - "src": "41089:12:1" + "src": "42262:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2188, + "referencedDeclaration": 1680, "type": "bytes32", "value": "key" }, - "id": 2197, + "id": 1689, "name": "Identifier", - "src": "41102:3:1" + "src": "42275:3:0" } ], - "id": 2198, + "id": 1690, "name": "IndexAccess", - "src": "41089:17:1" + "src": "42262:17:0" } ], - "id": 2199, + "id": 1691, "name": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "children": [ @@ -59843,9 +59843,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2200, + "id": 1692, "name": "Identifier", - "src": "41116:7:1" + "src": "42290:7:0" }, { "attributes": { @@ -59866,13 +59866,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2201, + "id": 1693, "name": "Identifier", - "src": "41124:8:1" + "src": "42298:8:0" }, { "attributes": { @@ -59885,14 +59885,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2202, + "id": 1694, "name": "Literal", - "src": "41136:1:1" + "src": "42310:1:0" } ], - "id": 2203, + "id": 1695, "name": "BinaryOperation", - "src": "41124:13:1" + "src": "42298:13:0" }, { "attributes": { @@ -59905,23 +59905,23 @@ "type": "literal_string \"EnumerableMap: nonexistent key\"", "value": "EnumerableMap: nonexistent key" }, - "id": 2204, + "id": 1696, "name": "Literal", - "src": "41139:32:1" + "src": "42313:32:0" } ], - "id": 2205, + "id": 1697, "name": "FunctionCall", - "src": "41116:56:1" + "src": "42290:56:0" } ], - "id": 2206, + "id": 1698, "name": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "attributes": { - "functionReturnParameters": 2192 + "functionReturnParameters": 1684 }, "children": [ { @@ -59931,7 +59931,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59951,7 +59951,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59960,18 +59960,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2207, + "id": 1699, "name": "Identifier", - "src": "41225:3:1" + "src": "42400:3:0" } ], - "id": 2208, + "id": 1700, "name": "MemberAccess", - "src": "41225:12:1" + "src": "42400:12:0" }, { "attributes": { @@ -59992,13 +59992,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2209, + "id": 1701, "name": "Identifier", - "src": "41238:8:1" + "src": "42413:8:0" }, { "attributes": { @@ -60011,39 +60011,39 @@ "type": "int_const 1", "value": "1" }, - "id": 2210, + "id": 1702, "name": "Literal", - "src": "41249:1:1" + "src": "42424:1:0" } ], - "id": 2211, + "id": 1703, "name": "BinaryOperation", - "src": "41238:12:1" + "src": "42413:12:0" } ], - "id": 2212, + "id": 1704, "name": "IndexAccess", - "src": "41225:26:1" + "src": "42400:26:0" } ], - "id": 2213, + "id": 1705, "name": "MemberAccess", - "src": "41225:33:1" + "src": "42400:33:0" } ], - "id": 2214, + "id": 1706, "name": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ], - "id": 2215, + "id": 1707, "name": "Block", - "src": "41060:232:1" + "src": "42232:236:0" } ], - "id": 2216, + "id": 1708, "name": "FunctionDefinition", - "src": "40985:307:1" + "src": "42157:311:0" }, { "attributes": { @@ -60054,7 +60054,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -60064,9 +60064,9 @@ "attributes": { "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2217, + "id": 1709, "name": "StructuredDocumentation", - "src": "41298:271:1" + "src": "42476:276:0" }, { "children": [ @@ -60075,7 +60075,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -60085,24 +60085,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2218, + "id": 1710, "name": "UserDefinedTypeName", - "src": "41588:3:1" + "src": "42772:3:0" } ], - "id": 2219, + "id": 1711, "name": "VariableDeclaration", - "src": "41588:15:1" + "src": "42772:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -60114,21 +60114,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2220, + "id": 1712, "name": "ElementaryTypeName", - "src": "41605:7:1" + "src": "42789:7:0" } ], - "id": 2221, + "id": 1713, "name": "VariableDeclaration", - "src": "41605:11:1" + "src": "42789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -60140,19 +60140,19 @@ "name": "string", "type": "string" }, - "id": 2222, + "id": 1714, "name": "ElementaryTypeName", - "src": "41618:6:1" + "src": "42802:6:0" } ], - "id": 2223, + "id": 1715, "name": "VariableDeclaration", - "src": "41618:26:1" + "src": "42802:26:0" } ], - "id": 2224, + "id": 1716, "name": "ParameterList", - "src": "41587:58:1" + "src": "42771:58:0" }, { "children": [ @@ -60161,7 +60161,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -60173,26 +60173,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2225, + "id": 1717, "name": "ElementaryTypeName", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2226, + "id": 1718, "name": "VariableDeclaration", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2227, + "id": 1719, "name": "ParameterList", - "src": "41667:9:1" + "src": "42851:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2229 + 1721 ] }, "children": [ @@ -60201,7 +60201,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2250, + "scope": 1742, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60213,14 +60213,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2228, + "id": 1720, "name": "ElementaryTypeName", - "src": "41687:7:1" + "src": "42872:7:0" } ], - "id": 2229, + "id": 1721, "name": "VariableDeclaration", - "src": "41687:16:1" + "src": "42872:16:0" }, { "attributes": { @@ -60238,7 +60238,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -60247,41 +60247,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2230, + "id": 1722, "name": "Identifier", - "src": "41706:3:1" + "src": "42891:3:0" } ], - "id": 2231, + "id": 1723, "name": "MemberAccess", - "src": "41706:12:1" + "src": "42891:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2221, + "referencedDeclaration": 1713, "type": "bytes32", "value": "key" }, - "id": 2232, + "id": 1724, "name": "Identifier", - "src": "41719:3:1" + "src": "42904:3:0" } ], - "id": 2233, + "id": 1725, "name": "IndexAccess", - "src": "41706:17:1" + "src": "42891:17:0" } ], - "id": 2234, + "id": 1726, "name": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "children": [ @@ -60320,9 +60320,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2235, + "id": 1727, "name": "Identifier", - "src": "41733:7:1" + "src": "42919:7:0" }, { "attributes": { @@ -60343,13 +60343,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2236, + "id": 1728, "name": "Identifier", - "src": "41741:8:1" + "src": "42927:8:0" }, { "attributes": { @@ -60362,41 +60362,41 @@ "type": "int_const 0", "value": "0" }, - "id": 2237, + "id": 1729, "name": "Literal", - "src": "41753:1:1" + "src": "42939:1:0" } ], - "id": 2238, + "id": 1730, "name": "BinaryOperation", - "src": "41741:13:1" + "src": "42927:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2223, + "referencedDeclaration": 1715, "type": "string memory", "value": "errorMessage" }, - "id": 2239, + "id": 1731, "name": "Identifier", - "src": "41756:12:1" + "src": "42942:12:0" } ], - "id": 2240, + "id": 1732, "name": "FunctionCall", - "src": "41733:36:1" + "src": "42919:36:0" } ], - "id": 2241, + "id": 1733, "name": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "attributes": { - "functionReturnParameters": 2227 + "functionReturnParameters": 1719 }, "children": [ { @@ -60406,7 +60406,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -60426,7 +60426,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -60435,18 +60435,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2242, + "id": 1734, "name": "Identifier", - "src": "41822:3:1" + "src": "43009:3:0" } ], - "id": 2243, + "id": 1735, "name": "MemberAccess", - "src": "41822:12:1" + "src": "43009:12:0" }, { "attributes": { @@ -60467,13 +60467,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2244, + "id": 1736, "name": "Identifier", - "src": "41835:8:1" + "src": "43022:8:0" }, { "attributes": { @@ -60486,45 +60486,45 @@ "type": "int_const 1", "value": "1" }, - "id": 2245, + "id": 1737, "name": "Literal", - "src": "41846:1:1" + "src": "43033:1:0" } ], - "id": 2246, + "id": 1738, "name": "BinaryOperation", - "src": "41835:12:1" + "src": "43022:12:0" } ], - "id": 2247, + "id": 1739, "name": "IndexAccess", - "src": "41822:26:1" + "src": "43009:26:0" } ], - "id": 2248, + "id": 1740, "name": "MemberAccess", - "src": "41822:33:1" + "src": "43009:33:0" } ], - "id": 2249, + "id": 1741, "name": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ], - "id": 2250, + "id": 1742, "name": "Block", - "src": "41677:212:1" + "src": "42861:216:0" } ], - "id": 2251, + "id": 1743, "name": "FunctionDefinition", - "src": "41574:315:1" + "src": "42758:319:0" }, { "attributes": { "canonicalName": "EnumerableMap.UintToAddressMap", "name": "UintToAddressMap", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -60533,7 +60533,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 2254, + "scope": 1746, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.Map", @@ -60543,22 +60543,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2252, + "id": 1744, "name": "UserDefinedTypeName", - "src": "41954:3:1" + "src": "43147:3:0" } ], - "id": 2253, + "id": 1745, "name": "VariableDeclaration", - "src": "41954:10:1" + "src": "43147:10:0" } ], - "id": 2254, + "id": 1746, "name": "StructDefinition", - "src": "41920:51:1" + "src": "43112:53:0" }, { "attributes": { @@ -60569,7 +60569,7 @@ null ], "name": "set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60579,9 +60579,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2255, + "id": 1747, "name": "StructuredDocumentation", - "src": "41977:216:1" + "src": "43173:222:0" }, { "children": [ @@ -60590,7 +60590,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60600,24 +60600,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2256, + "id": 1748, "name": "UserDefinedTypeName", - "src": "42211:16:1" + "src": "43414:16:0" } ], - "id": 2257, + "id": 1749, "name": "VariableDeclaration", - "src": "42211:28:1" + "src": "43414:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60629,21 +60629,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2258, + "id": 1750, "name": "ElementaryTypeName", - "src": "42241:7:1" + "src": "43444:7:0" } ], - "id": 2259, + "id": 1751, "name": "VariableDeclaration", - "src": "42241:11:1" + "src": "43444:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -60656,19 +60656,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2260, + "id": 1752, "name": "ElementaryTypeName", - "src": "42254:7:1" + "src": "43457:7:0" } ], - "id": 2261, + "id": 1753, "name": "VariableDeclaration", - "src": "42254:13:1" + "src": "43457:13:0" } ], - "id": 2262, + "id": 1754, "name": "ParameterList", - "src": "42210:58:1" + "src": "43413:58:0" }, { "children": [ @@ -60677,7 +60677,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60689,25 +60689,25 @@ "name": "bool", "type": "bool" }, - "id": 2263, + "id": 1755, "name": "ElementaryTypeName", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2264, + "id": 1756, "name": "VariableDeclaration", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2265, + "id": 1757, "name": "ParameterList", - "src": "42286:6:1" + "src": "43489:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2265 + "functionReturnParameters": 1757 }, "children": [ { @@ -60729,7 +60729,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60744,13 +60744,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1998, + "referencedDeclaration": 1490, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)", "value": "_set" }, - "id": 2266, + "id": 1758, "name": "Identifier", - "src": "42310:4:1" + "src": "43514:4:0" }, { "attributes": { @@ -60759,7 +60759,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60768,18 +60768,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2257, + "referencedDeclaration": 1749, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2267, + "id": 1759, "name": "Identifier", - "src": "42315:3:1" + "src": "43519:3:0" } ], - "id": 2268, + "id": 1760, "name": "MemberAccess", - "src": "42315:10:1" + "src": "43519:10:0" }, { "attributes": { @@ -60815,32 +60815,32 @@ "attributes": { "name": "bytes32" }, - "id": 2269, + "id": 1761, "name": "ElementaryTypeName", - "src": "42327:7:1" + "src": "43531:7:0" } ], - "id": 2270, + "id": 1762, "name": "ElementaryTypeNameExpression", - "src": "42327:7:1" + "src": "43531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2259, + "referencedDeclaration": 1751, "type": "uint256", "value": "key" }, - "id": 2271, + "id": 1763, "name": "Identifier", - "src": "42335:3:1" + "src": "43539:3:0" } ], - "id": 2272, + "id": 1764, "name": "FunctionCall", - "src": "42327:12:1" + "src": "43531:12:0" }, { "attributes": { @@ -60876,14 +60876,14 @@ "attributes": { "name": "bytes32" }, - "id": 2273, + "id": 1765, "name": "ElementaryTypeName", - "src": "42341:7:1" + "src": "43545:7:0" } ], - "id": 2274, + "id": 1766, "name": "ElementaryTypeNameExpression", - "src": "42341:7:1" + "src": "43545:7:0" }, { "attributes": { @@ -60919,14 +60919,14 @@ "attributes": { "name": "uint256" }, - "id": 2275, + "id": 1767, "name": "ElementaryTypeName", - "src": "42349:7:1" + "src": "43553:7:0" } ], - "id": 2276, + "id": 1768, "name": "ElementaryTypeNameExpression", - "src": "42349:7:1" + "src": "43553:7:0" }, { "attributes": { @@ -60962,62 +60962,62 @@ "attributes": { "name": "uint160" }, - "id": 2277, + "id": 1769, "name": "ElementaryTypeName", - "src": "42357:7:1" + "src": "43561:7:0" } ], - "id": 2278, + "id": 1770, "name": "ElementaryTypeNameExpression", - "src": "42357:7:1" + "src": "43561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2261, + "referencedDeclaration": 1753, "type": "address", "value": "value" }, - "id": 2279, + "id": 1771, "name": "Identifier", - "src": "42365:5:1" + "src": "43569:5:0" } ], - "id": 2280, + "id": 1772, "name": "FunctionCall", - "src": "42357:14:1" + "src": "43561:14:0" } ], - "id": 2281, + "id": 1773, "name": "FunctionCall", - "src": "42349:23:1" + "src": "43553:23:0" } ], - "id": 2282, + "id": 1774, "name": "FunctionCall", - "src": "42341:32:1" + "src": "43545:32:0" } ], - "id": 2283, + "id": 1775, "name": "FunctionCall", - "src": "42310:64:1" + "src": "43514:64:0" } ], - "id": 2284, + "id": 1776, "name": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ], - "id": 2285, + "id": 1777, "name": "Block", - "src": "42293:88:1" + "src": "43496:90:0" } ], - "id": 2286, + "id": 1778, "name": "FunctionDefinition", - "src": "42198:183:1" + "src": "43401:185:0" }, { "attributes": { @@ -61028,7 +61028,7 @@ null ], "name": "remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -61038,9 +61038,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2287, + "id": 1779, "name": "StructuredDocumentation", - "src": "42387:148:1" + "src": "43594:152:0" }, { "children": [ @@ -61049,7 +61049,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61059,24 +61059,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2288, + "id": 1780, "name": "UserDefinedTypeName", - "src": "42556:16:1" + "src": "43768:16:0" } ], - "id": 2289, + "id": 1781, "name": "VariableDeclaration", - "src": "42556:28:1" + "src": "43768:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61088,19 +61088,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2290, + "id": 1782, "name": "ElementaryTypeName", - "src": "42586:7:1" + "src": "43798:7:0" } ], - "id": 2291, + "id": 1783, "name": "VariableDeclaration", - "src": "42586:11:1" + "src": "43798:11:0" } ], - "id": 2292, + "id": 1784, "name": "ParameterList", - "src": "42555:43:1" + "src": "43767:43:0" }, { "children": [ @@ -61109,7 +61109,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -61121,25 +61121,25 @@ "name": "bool", "type": "bool" }, - "id": 2293, + "id": 1785, "name": "ElementaryTypeName", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2294, + "id": 1786, "name": "VariableDeclaration", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2295, + "id": 1787, "name": "ParameterList", - "src": "42616:6:1" + "src": "43828:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2295 + "functionReturnParameters": 1787 }, "children": [ { @@ -61161,7 +61161,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61172,13 +61172,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2079, + "referencedDeclaration": 1571, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 2296, + "id": 1788, "name": "Identifier", - "src": "42640:7:1" + "src": "43853:7:0" }, { "attributes": { @@ -61187,7 +61187,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61196,18 +61196,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2289, + "referencedDeclaration": 1781, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2297, + "id": 1789, "name": "Identifier", - "src": "42648:3:1" + "src": "43861:3:0" } ], - "id": 2298, + "id": 1790, "name": "MemberAccess", - "src": "42648:10:1" + "src": "43861:10:0" }, { "attributes": { @@ -61243,52 +61243,52 @@ "attributes": { "name": "bytes32" }, - "id": 2299, + "id": 1791, "name": "ElementaryTypeName", - "src": "42660:7:1" + "src": "43873:7:0" } ], - "id": 2300, + "id": 1792, "name": "ElementaryTypeNameExpression", - "src": "42660:7:1" + "src": "43873:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2291, + "referencedDeclaration": 1783, "type": "uint256", "value": "key" }, - "id": 2301, + "id": 1793, "name": "Identifier", - "src": "42668:3:1" + "src": "43881:3:0" } ], - "id": 2302, + "id": 1794, "name": "FunctionCall", - "src": "42660:12:1" + "src": "43873:12:0" } ], - "id": 2303, + "id": 1795, "name": "FunctionCall", - "src": "42640:33:1" + "src": "43853:33:0" } ], - "id": 2304, + "id": 1796, "name": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ], - "id": 2305, + "id": 1797, "name": "Block", - "src": "42623:57:1" + "src": "43835:59:0" } ], - "id": 2306, + "id": 1798, "name": "FunctionDefinition", - "src": "42540:140:1" + "src": "43752:142:0" }, { "attributes": { @@ -61299,7 +61299,7 @@ null ], "name": "contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61309,9 +61309,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2307, + "id": 1799, "name": "StructuredDocumentation", - "src": "42686:68:1" + "src": "43902:70:0" }, { "children": [ @@ -61320,7 +61320,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61330,24 +61330,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2308, + "id": 1800, "name": "UserDefinedTypeName", - "src": "42777:16:1" + "src": "43996:16:0" } ], - "id": 2309, + "id": 1801, "name": "VariableDeclaration", - "src": "42777:28:1" + "src": "43996:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61359,19 +61359,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2310, + "id": 1802, "name": "ElementaryTypeName", - "src": "42807:7:1" + "src": "44026:7:0" } ], - "id": 2311, + "id": 1803, "name": "VariableDeclaration", - "src": "42807:11:1" + "src": "44026:11:0" } ], - "id": 2312, + "id": 1804, "name": "ParameterList", - "src": "42776:43:1" + "src": "43995:43:0" }, { "children": [ @@ -61380,7 +61380,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -61392,25 +61392,25 @@ "name": "bool", "type": "bool" }, - "id": 2313, + "id": 1805, "name": "ElementaryTypeName", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2314, + "id": 1806, "name": "VariableDeclaration", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2315, + "id": 1807, "name": "ParameterList", - "src": "42842:6:1" + "src": "44061:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2315 + "functionReturnParameters": 1807 }, "children": [ { @@ -61432,7 +61432,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61443,13 +61443,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2097, + "referencedDeclaration": 1589, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 2316, + "id": 1808, "name": "Identifier", - "src": "42866:9:1" + "src": "44086:9:0" }, { "attributes": { @@ -61458,7 +61458,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61467,18 +61467,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2309, + "referencedDeclaration": 1801, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2317, + "id": 1809, "name": "Identifier", - "src": "42876:3:1" + "src": "44096:3:0" } ], - "id": 2318, + "id": 1810, "name": "MemberAccess", - "src": "42876:10:1" + "src": "44096:10:0" }, { "attributes": { @@ -61514,52 +61514,52 @@ "attributes": { "name": "bytes32" }, - "id": 2319, + "id": 1811, "name": "ElementaryTypeName", - "src": "42888:7:1" + "src": "44108:7:0" } ], - "id": 2320, + "id": 1812, "name": "ElementaryTypeNameExpression", - "src": "42888:7:1" + "src": "44108:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2311, + "referencedDeclaration": 1803, "type": "uint256", "value": "key" }, - "id": 2321, + "id": 1813, "name": "Identifier", - "src": "42896:3:1" + "src": "44116:3:0" } ], - "id": 2322, + "id": 1814, "name": "FunctionCall", - "src": "42888:12:1" + "src": "44108:12:0" } ], - "id": 2323, + "id": 1815, "name": "FunctionCall", - "src": "42866:35:1" + "src": "44086:35:0" } ], - "id": 2324, + "id": 1816, "name": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ], - "id": 2325, + "id": 1817, "name": "Block", - "src": "42849:59:1" + "src": "44068:61:0" } ], - "id": 2326, + "id": 1818, "name": "FunctionDefinition", - "src": "42759:149:1" + "src": "43978:151:0" }, { "attributes": { @@ -61570,7 +61570,7 @@ null ], "name": "length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61580,9 +61580,9 @@ "attributes": { "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2327, + "id": 1819, "name": "StructuredDocumentation", - "src": "42914:72:1" + "src": "44137:74:0" }, { "children": [ @@ -61591,7 +61591,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61601,22 +61601,22 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2328, + "id": 1820, "name": "UserDefinedTypeName", - "src": "43007:16:1" + "src": "44233:16:0" } ], - "id": 2329, + "id": 1821, "name": "VariableDeclaration", - "src": "43007:28:1" + "src": "44233:28:0" } ], - "id": 2330, + "id": 1822, "name": "ParameterList", - "src": "43006:30:1" + "src": "44232:30:0" }, { "children": [ @@ -61625,7 +61625,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61637,25 +61637,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2331, + "id": 1823, "name": "ElementaryTypeName", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2332, + "id": 1824, "name": "VariableDeclaration", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2333, + "id": 1825, "name": "ParameterList", - "src": "43059:9:1" + "src": "44285:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2333 + "functionReturnParameters": 1825 }, "children": [ { @@ -61677,20 +61677,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 2110, + "referencedDeclaration": 1602, "type": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)", "value": "_length" }, - "id": 2334, + "id": 1826, "name": "Identifier", - "src": "43086:7:1" + "src": "44313:7:0" }, { "attributes": { @@ -61699,7 +61699,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61708,38 +61708,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2329, + "referencedDeclaration": 1821, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2335, + "id": 1827, "name": "Identifier", - "src": "43094:3:1" + "src": "44321:3:0" } ], - "id": 2336, + "id": 1828, "name": "MemberAccess", - "src": "43094:10:1" + "src": "44321:10:0" } ], - "id": 2337, + "id": 1829, "name": "FunctionCall", - "src": "43086:19:1" + "src": "44313:19:0" } ], - "id": 2338, + "id": 1830, "name": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ], - "id": 2339, + "id": 1831, "name": "Block", - "src": "43069:43:1" + "src": "44295:45:0" } ], - "id": 2340, + "id": 1832, "name": "FunctionDefinition", - "src": "42991:121:1" + "src": "44217:123:0" }, { "attributes": { @@ -61750,7 +61750,7 @@ null ], "name": "at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61760,9 +61760,9 @@ "attributes": { "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2341, + "id": 1833, "name": "StructuredDocumentation", - "src": "43117:318:1" + "src": "44347:326:0" }, { "children": [ @@ -61771,7 +61771,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61781,24 +61781,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2342, + "id": 1834, "name": "UserDefinedTypeName", - "src": "43452:16:1" + "src": "44691:16:0" } ], - "id": 2343, + "id": 1835, "name": "VariableDeclaration", - "src": "43452:28:1" + "src": "44691:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61810,19 +61810,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2344, + "id": 1836, "name": "ElementaryTypeName", - "src": "43482:7:1" + "src": "44721:7:0" } ], - "id": 2345, + "id": 1837, "name": "VariableDeclaration", - "src": "43482:13:1" + "src": "44721:13:0" } ], - "id": 2346, + "id": 1838, "name": "ParameterList", - "src": "43451:45:1" + "src": "44690:45:0" }, { "children": [ @@ -61831,7 +61831,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61843,21 +61843,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2347, + "id": 1839, "name": "ElementaryTypeName", - "src": "43520:7:1" + "src": "44759:7:0" } ], - "id": 2348, + "id": 1840, "name": "VariableDeclaration", - "src": "43520:7:1" + "src": "44759:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -61870,27 +61870,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2349, + "id": 1841, "name": "ElementaryTypeName", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2350, + "id": 1842, "name": "VariableDeclaration", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2351, + "id": 1843, "name": "ParameterList", - "src": "43519:18:1" + "src": "44758:18:0" }, { "children": [ { "attributes": { "assignments": [ - 2353, - 2355 + 1845, + 1847 ] }, "children": [ @@ -61899,7 +61899,7 @@ "constant": false, "mutability": "mutable", "name": "key", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61911,21 +61911,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2352, + "id": 1844, "name": "ElementaryTypeName", - "src": "43549:7:1" + "src": "44789:7:0" } ], - "id": 2353, + "id": 1845, "name": "VariableDeclaration", - "src": "43549:11:1" + "src": "44789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61937,14 +61937,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2354, + "id": 1846, "name": "ElementaryTypeName", - "src": "43562:7:1" + "src": "44802:7:0" } ], - "id": 2355, + "id": 1847, "name": "VariableDeclaration", - "src": "43562:13:1" + "src": "44802:13:0" }, { "attributes": { @@ -61965,7 +61965,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61976,13 +61976,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2145, + "referencedDeclaration": 1637, "type": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)", "value": "_at" }, - "id": 2356, + "id": 1848, "name": "Identifier", - "src": "43579:3:1" + "src": "44819:3:0" }, { "attributes": { @@ -61991,7 +61991,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62000,45 +62000,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2343, + "referencedDeclaration": 1835, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2357, + "id": 1849, "name": "Identifier", - "src": "43583:3:1" + "src": "44823:3:0" } ], - "id": 2358, + "id": 1850, "name": "MemberAccess", - "src": "43583:10:1" + "src": "44823:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2345, + "referencedDeclaration": 1837, "type": "uint256", "value": "index" }, - "id": 2359, + "id": 1851, "name": "Identifier", - "src": "43595:5:1" + "src": "44835:5:0" } ], - "id": 2360, + "id": 1852, "name": "FunctionCall", - "src": "43579:22:1" + "src": "44819:22:0" } ], - "id": 2361, + "id": 1853, "name": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "attributes": { - "functionReturnParameters": 2351 + "functionReturnParameters": 1843 }, "children": [ { @@ -62085,32 +62085,32 @@ "attributes": { "name": "uint256" }, - "id": 2362, + "id": 1854, "name": "ElementaryTypeName", - "src": "43619:7:1" + "src": "44860:7:0" } ], - "id": 2363, + "id": 1855, "name": "ElementaryTypeNameExpression", - "src": "43619:7:1" + "src": "44860:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2353, + "referencedDeclaration": 1845, "type": "bytes32", "value": "key" }, - "id": 2364, + "id": 1856, "name": "Identifier", - "src": "43627:3:1" + "src": "44868:3:0" } ], - "id": 2365, + "id": 1857, "name": "FunctionCall", - "src": "43619:12:1" + "src": "44860:12:0" }, { "attributes": { @@ -62146,14 +62146,14 @@ "attributes": { "name": "address" }, - "id": 2366, + "id": 1858, "name": "ElementaryTypeName", - "src": "43633:7:1" + "src": "44874:7:0" } ], - "id": 2367, + "id": 1859, "name": "ElementaryTypeNameExpression", - "src": "43633:7:1" + "src": "44874:7:0" }, { "attributes": { @@ -62189,14 +62189,14 @@ "attributes": { "name": "uint160" }, - "id": 2368, + "id": 1860, "name": "ElementaryTypeName", - "src": "43641:7:1" + "src": "44882:7:0" } ], - "id": 2369, + "id": 1861, "name": "ElementaryTypeNameExpression", - "src": "43641:7:1" + "src": "44882:7:0" }, { "attributes": { @@ -62232,62 +62232,62 @@ "attributes": { "name": "uint256" }, - "id": 2370, + "id": 1862, "name": "ElementaryTypeName", - "src": "43649:7:1" + "src": "44890:7:0" } ], - "id": 2371, + "id": 1863, "name": "ElementaryTypeNameExpression", - "src": "43649:7:1" + "src": "44890:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2355, + "referencedDeclaration": 1847, "type": "bytes32", "value": "value" }, - "id": 2372, + "id": 1864, "name": "Identifier", - "src": "43657:5:1" + "src": "44898:5:0" } ], - "id": 2373, + "id": 1865, "name": "FunctionCall", - "src": "43649:14:1" + "src": "44890:14:0" } ], - "id": 2374, + "id": 1866, "name": "FunctionCall", - "src": "43641:23:1" + "src": "44882:23:0" } ], - "id": 2375, + "id": 1867, "name": "FunctionCall", - "src": "43633:32:1" + "src": "44874:32:0" } ], - "id": 2376, + "id": 1868, "name": "TupleExpression", - "src": "43618:48:1" + "src": "44859:48:0" } ], - "id": 2377, + "id": 1869, "name": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ], - "id": 2378, + "id": 1870, "name": "Block", - "src": "43538:135:1" + "src": "44777:138:0" } ], - "id": 2379, + "id": 1871, "name": "FunctionDefinition", - "src": "43440:233:1" + "src": "44679:236:0" }, { "attributes": { @@ -62298,7 +62298,7 @@ null ], "name": "tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62308,9 +62308,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2380, + "id": 1872, "name": "StructuredDocumentation", - "src": "43679:169:1" + "src": "44923:174:0" }, { "children": [ @@ -62319,7 +62319,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62329,24 +62329,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2381, + "id": 1873, "name": "UserDefinedTypeName", - "src": "43869:16:1" + "src": "45119:16:0" } ], - "id": 2382, + "id": 1874, "name": "VariableDeclaration", - "src": "43869:28:1" + "src": "45119:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62358,19 +62358,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2383, + "id": 1875, "name": "ElementaryTypeName", - "src": "43899:7:1" + "src": "45149:7:0" } ], - "id": 2384, + "id": 1876, "name": "VariableDeclaration", - "src": "43899:11:1" + "src": "45149:11:0" } ], - "id": 2385, + "id": 1877, "name": "ParameterList", - "src": "43868:43:1" + "src": "45118:43:0" }, { "children": [ @@ -62379,7 +62379,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62391,21 +62391,21 @@ "name": "bool", "type": "bool" }, - "id": 2386, + "id": 1878, "name": "ElementaryTypeName", - "src": "43935:4:1" + "src": "45185:4:0" } ], - "id": 2387, + "id": 1879, "name": "VariableDeclaration", - "src": "43935:4:1" + "src": "45185:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62418,27 +62418,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2388, + "id": 1880, "name": "ElementaryTypeName", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2389, + "id": 1881, "name": "VariableDeclaration", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2390, + "id": 1882, "name": "ParameterList", - "src": "43934:15:1" + "src": "45184:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2392, - 2394 + 1884, + 1886 ] }, "children": [ @@ -62447,7 +62447,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62459,21 +62459,21 @@ "name": "bool", "type": "bool" }, - "id": 2391, + "id": 1883, "name": "ElementaryTypeName", - "src": "43961:4:1" + "src": "45212:4:0" } ], - "id": 2392, + "id": 1884, "name": "VariableDeclaration", - "src": "43961:12:1" + "src": "45212:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -62485,14 +62485,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2393, + "id": 1885, "name": "ElementaryTypeName", - "src": "43975:7:1" + "src": "45226:7:0" } ], - "id": 2394, + "id": 1886, "name": "VariableDeclaration", - "src": "43975:13:1" + "src": "45226:13:0" }, { "attributes": { @@ -62513,7 +62513,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62524,13 +62524,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2183, + "referencedDeclaration": 1675, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)", "value": "_tryGet" }, - "id": 2395, + "id": 1887, "name": "Identifier", - "src": "43992:7:1" + "src": "45243:7:0" }, { "attributes": { @@ -62539,7 +62539,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62548,18 +62548,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2382, + "referencedDeclaration": 1874, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2396, + "id": 1888, "name": "Identifier", - "src": "44000:3:1" + "src": "45251:3:0" } ], - "id": 2397, + "id": 1889, "name": "MemberAccess", - "src": "44000:10:1" + "src": "45251:10:0" }, { "attributes": { @@ -62595,46 +62595,46 @@ "attributes": { "name": "bytes32" }, - "id": 2398, + "id": 1890, "name": "ElementaryTypeName", - "src": "44012:7:1" + "src": "45263:7:0" } ], - "id": 2399, + "id": 1891, "name": "ElementaryTypeNameExpression", - "src": "44012:7:1" + "src": "45263:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2384, + "referencedDeclaration": 1876, "type": "uint256", "value": "key" }, - "id": 2400, + "id": 1892, "name": "Identifier", - "src": "44020:3:1" + "src": "45271:3:0" } ], - "id": 2401, + "id": 1893, "name": "FunctionCall", - "src": "44012:12:1" + "src": "45263:12:0" } ], - "id": 2402, + "id": 1894, "name": "FunctionCall", - "src": "43992:33:1" + "src": "45243:33:0" } ], - "id": 2403, + "id": 1895, "name": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "attributes": { - "functionReturnParameters": 2390 + "functionReturnParameters": 1882 }, "children": [ { @@ -62652,13 +62652,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2392, + "referencedDeclaration": 1884, "type": "bool", "value": "success" }, - "id": 2404, + "id": 1896, "name": "Identifier", - "src": "44043:7:1" + "src": "45295:7:0" }, { "attributes": { @@ -62694,14 +62694,14 @@ "attributes": { "name": "address" }, - "id": 2405, + "id": 1897, "name": "ElementaryTypeName", - "src": "44052:7:1" + "src": "45304:7:0" } ], - "id": 2406, + "id": 1898, "name": "ElementaryTypeNameExpression", - "src": "44052:7:1" + "src": "45304:7:0" }, { "attributes": { @@ -62737,14 +62737,14 @@ "attributes": { "name": "uint160" }, - "id": 2407, + "id": 1899, "name": "ElementaryTypeName", - "src": "44060:7:1" + "src": "45312:7:0" } ], - "id": 2408, + "id": 1900, "name": "ElementaryTypeNameExpression", - "src": "44060:7:1" + "src": "45312:7:0" }, { "attributes": { @@ -62780,62 +62780,62 @@ "attributes": { "name": "uint256" }, - "id": 2409, + "id": 1901, "name": "ElementaryTypeName", - "src": "44068:7:1" + "src": "45320:7:0" } ], - "id": 2410, + "id": 1902, "name": "ElementaryTypeNameExpression", - "src": "44068:7:1" + "src": "45320:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2394, + "referencedDeclaration": 1886, "type": "bytes32", "value": "value" }, - "id": 2411, + "id": 1903, "name": "Identifier", - "src": "44076:5:1" + "src": "45328:5:0" } ], - "id": 2412, + "id": 1904, "name": "FunctionCall", - "src": "44068:14:1" + "src": "45320:14:0" } ], - "id": 2413, + "id": 1905, "name": "FunctionCall", - "src": "44060:23:1" + "src": "45312:23:0" } ], - "id": 2414, + "id": 1906, "name": "FunctionCall", - "src": "44052:32:1" + "src": "45304:32:0" } ], - "id": 2415, + "id": 1907, "name": "TupleExpression", - "src": "44042:43:1" + "src": "45294:43:0" } ], - "id": 2416, + "id": 1908, "name": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ], - "id": 2417, + "id": 1909, "name": "Block", - "src": "43950:142:1" + "src": "45200:145:0" } ], - "id": 2418, + "id": 1910, "name": "FunctionDefinition", - "src": "43853:239:1" + "src": "45103:242:0" }, { "attributes": { @@ -62846,7 +62846,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62856,9 +62856,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2419, + "id": 1911, "name": "StructuredDocumentation", - "src": "44098:141:1" + "src": "45353:147:0" }, { "children": [ @@ -62867,7 +62867,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62877,24 +62877,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2420, + "id": 1912, "name": "UserDefinedTypeName", - "src": "44257:16:1" + "src": "45519:16:0" } ], - "id": 2421, + "id": 1913, "name": "VariableDeclaration", - "src": "44257:28:1" + "src": "45519:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62906,19 +62906,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2422, + "id": 1914, "name": "ElementaryTypeName", - "src": "44287:7:1" + "src": "45549:7:0" } ], - "id": 2423, + "id": 1915, "name": "VariableDeclaration", - "src": "44287:11:1" + "src": "45549:11:0" } ], - "id": 2424, + "id": 1916, "name": "ParameterList", - "src": "44256:43:1" + "src": "45518:43:0" }, { "children": [ @@ -62927,7 +62927,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62940,25 +62940,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2425, + "id": 1917, "name": "ElementaryTypeName", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2426, + "id": 1918, "name": "VariableDeclaration", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2427, + "id": 1919, "name": "ParameterList", - "src": "44322:9:1" + "src": "45584:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2427 + "functionReturnParameters": 1919 }, "children": [ { @@ -62995,14 +62995,14 @@ "attributes": { "name": "address" }, - "id": 2428, + "id": 1920, "name": "ElementaryTypeName", - "src": "44349:7:1" + "src": "45612:7:0" } ], - "id": 2429, + "id": 1921, "name": "ElementaryTypeNameExpression", - "src": "44349:7:1" + "src": "45612:7:0" }, { "attributes": { @@ -63038,14 +63038,14 @@ "attributes": { "name": "uint160" }, - "id": 2430, + "id": 1922, "name": "ElementaryTypeName", - "src": "44357:7:1" + "src": "45620:7:0" } ], - "id": 2431, + "id": 1923, "name": "ElementaryTypeNameExpression", - "src": "44357:7:1" + "src": "45620:7:0" }, { "attributes": { @@ -63081,14 +63081,14 @@ "attributes": { "name": "uint256" }, - "id": 2432, + "id": 1924, "name": "ElementaryTypeName", - "src": "44365:7:1" + "src": "45628:7:0" } ], - "id": 2433, + "id": 1925, "name": "ElementaryTypeNameExpression", - "src": "44365:7:1" + "src": "45628:7:0" }, { "attributes": { @@ -63109,7 +63109,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -63118,16 +63118,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, + "referencedDeclaration": 1708, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)", "value": "_get" }, - "id": 2434, + "id": 1926, "name": "Identifier", - "src": "44373:4:1" + "src": "45636:4:0" }, { "attributes": { @@ -63136,7 +63136,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -63145,18 +63145,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2421, + "referencedDeclaration": 1913, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2435, + "id": 1927, "name": "Identifier", - "src": "44378:3:1" + "src": "45641:3:0" } ], - "id": 2436, + "id": 1928, "name": "MemberAccess", - "src": "44378:10:1" + "src": "45641:10:0" }, { "attributes": { @@ -63192,67 +63192,67 @@ "attributes": { "name": "bytes32" }, - "id": 2437, + "id": 1929, "name": "ElementaryTypeName", - "src": "44390:7:1" + "src": "45653:7:0" } ], - "id": 2438, + "id": 1930, "name": "ElementaryTypeNameExpression", - "src": "44390:7:1" + "src": "45653:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2423, + "referencedDeclaration": 1915, "type": "uint256", "value": "key" }, - "id": 2439, + "id": 1931, "name": "Identifier", - "src": "44398:3:1" + "src": "45661:3:0" } ], - "id": 2440, + "id": 1932, "name": "FunctionCall", - "src": "44390:12:1" + "src": "45653:12:0" } ], - "id": 2441, + "id": 1933, "name": "FunctionCall", - "src": "44373:30:1" + "src": "45636:30:0" } ], - "id": 2442, + "id": 1934, "name": "FunctionCall", - "src": "44365:39:1" + "src": "45628:39:0" } ], - "id": 2443, + "id": 1935, "name": "FunctionCall", - "src": "44357:48:1" + "src": "45620:48:0" } ], - "id": 2444, + "id": 1936, "name": "FunctionCall", - "src": "44349:57:1" + "src": "45612:57:0" } ], - "id": 2445, + "id": 1937, "name": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ], - "id": 2446, + "id": 1938, "name": "Block", - "src": "44332:81:1" + "src": "45594:83:0" } ], - "id": 2447, + "id": 1939, "name": "FunctionDefinition", - "src": "44244:169:1" + "src": "45506:171:0" }, { "attributes": { @@ -63263,7 +63263,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -63273,9 +63273,9 @@ "attributes": { "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2448, + "id": 1940, "name": "StructuredDocumentation", - "src": "44419:269:1" + "src": "45685:274:0" }, { "children": [ @@ -63284,7 +63284,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -63294,24 +63294,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2449, + "id": 1941, "name": "UserDefinedTypeName", - "src": "44706:16:1" + "src": "45978:16:0" } ], - "id": 2450, + "id": 1942, "name": "VariableDeclaration", - "src": "44706:28:1" + "src": "45978:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63323,21 +63323,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2451, + "id": 1943, "name": "ElementaryTypeName", - "src": "44736:7:1" + "src": "46008:7:0" } ], - "id": 2452, + "id": 1944, "name": "VariableDeclaration", - "src": "44736:11:1" + "src": "46008:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63349,19 +63349,19 @@ "name": "string", "type": "string" }, - "id": 2453, + "id": 1945, "name": "ElementaryTypeName", - "src": "44749:6:1" + "src": "46021:6:0" } ], - "id": 2454, + "id": 1946, "name": "VariableDeclaration", - "src": "44749:26:1" + "src": "46021:26:0" } ], - "id": 2455, + "id": 1947, "name": "ParameterList", - "src": "44705:71:1" + "src": "45977:71:0" }, { "children": [ @@ -63370,7 +63370,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -63383,25 +63383,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2456, + "id": 1948, "name": "ElementaryTypeName", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2457, + "id": 1949, "name": "VariableDeclaration", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2458, + "id": 1950, "name": "ParameterList", - "src": "44799:9:1" + "src": "46071:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2458 + "functionReturnParameters": 1950 }, "children": [ { @@ -63438,14 +63438,14 @@ "attributes": { "name": "address" }, - "id": 2459, + "id": 1951, "name": "ElementaryTypeName", - "src": "44826:7:1" + "src": "46099:7:0" } ], - "id": 2460, + "id": 1952, "name": "ElementaryTypeNameExpression", - "src": "44826:7:1" + "src": "46099:7:0" }, { "attributes": { @@ -63481,14 +63481,14 @@ "attributes": { "name": "uint160" }, - "id": 2461, + "id": 1953, "name": "ElementaryTypeName", - "src": "44834:7:1" + "src": "46107:7:0" } ], - "id": 2462, + "id": 1954, "name": "ElementaryTypeNameExpression", - "src": "44834:7:1" + "src": "46107:7:0" }, { "attributes": { @@ -63524,14 +63524,14 @@ "attributes": { "name": "uint256" }, - "id": 2463, + "id": 1955, "name": "ElementaryTypeName", - "src": "44842:7:1" + "src": "46115:7:0" } ], - "id": 2464, + "id": 1956, "name": "ElementaryTypeNameExpression", - "src": "44842:7:1" + "src": "46115:7:0" }, { "attributes": { @@ -63552,7 +63552,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -63565,16 +63565,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, + "referencedDeclaration": 1743, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)", "value": "_get" }, - "id": 2465, + "id": 1957, "name": "Identifier", - "src": "44850:4:1" + "src": "46123:4:0" }, { "attributes": { @@ -63583,7 +63583,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -63592,18 +63592,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2450, + "referencedDeclaration": 1942, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2466, + "id": 1958, "name": "Identifier", - "src": "44855:3:1" + "src": "46128:3:0" } ], - "id": 2467, + "id": 1959, "name": "MemberAccess", - "src": "44855:10:1" + "src": "46128:10:0" }, { "attributes": { @@ -63639,85 +63639,85 @@ "attributes": { "name": "bytes32" }, - "id": 2468, + "id": 1960, "name": "ElementaryTypeName", - "src": "44867:7:1" + "src": "46140:7:0" } ], - "id": 2469, + "id": 1961, "name": "ElementaryTypeNameExpression", - "src": "44867:7:1" + "src": "46140:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2452, + "referencedDeclaration": 1944, "type": "uint256", "value": "key" }, - "id": 2470, + "id": 1962, "name": "Identifier", - "src": "44875:3:1" + "src": "46148:3:0" } ], - "id": 2471, + "id": 1963, "name": "FunctionCall", - "src": "44867:12:1" + "src": "46140:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2454, + "referencedDeclaration": 1946, "type": "string memory", "value": "errorMessage" }, - "id": 2472, + "id": 1964, "name": "Identifier", - "src": "44881:12:1" + "src": "46154:12:0" } ], - "id": 2473, + "id": 1965, "name": "FunctionCall", - "src": "44850:44:1" + "src": "46123:44:0" } ], - "id": 2474, + "id": 1966, "name": "FunctionCall", - "src": "44842:53:1" + "src": "46115:53:0" } ], - "id": 2475, + "id": 1967, "name": "FunctionCall", - "src": "44834:62:1" + "src": "46107:62:0" } ], - "id": 2476, + "id": 1968, "name": "FunctionCall", - "src": "44826:71:1" + "src": "46099:71:0" } ], - "id": 2477, + "id": 1969, "name": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ], - "id": 2478, + "id": 1970, "name": "Block", - "src": "44809:95:1" + "src": "46081:97:0" } ], - "id": 2479, + "id": 1971, "name": "FunctionDefinition", - "src": "44693:211:1" + "src": "45965:213:0" } ], - "id": 2480, + "id": 1972, "name": "ContractDefinition", - "src": "35943:8963:1" + "src": "36981:9200:0" }, { "attributes": { @@ -63731,9 +63731,9 @@ ".0" ] }, - "id": 2481, + "id": 1973, "name": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "attributes": { @@ -63747,19 +63747,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev String operations." }, - "id": 2482, + "id": 1974, "name": "StructuredDocumentation", - "src": "44992:34:1" + "src": "46272:36:0" }, { "attributes": { @@ -63770,7 +63770,7 @@ null ], "name": "toString", - "scope": 2566, + "scope": 2058, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -63780,9 +63780,9 @@ "attributes": { "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2483, + "id": 1975, "name": "StructuredDocumentation", - "src": "45049:82:1" + "src": "46333:84:0" }, { "children": [ @@ -63791,7 +63791,7 @@ "constant": false, "mutability": "mutable", "name": "value", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63803,19 +63803,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2484, + "id": 1976, "name": "ElementaryTypeName", - "src": "45154:7:1" + "src": "46441:7:0" } ], - "id": 2485, + "id": 1977, "name": "VariableDeclaration", - "src": "45154:13:1" + "src": "46441:13:0" } ], - "id": 2486, + "id": 1978, "name": "ParameterList", - "src": "45153:15:1" + "src": "46440:15:0" }, { "children": [ @@ -63824,7 +63824,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63836,19 +63836,19 @@ "name": "string", "type": "string" }, - "id": 2487, + "id": 1979, "name": "ElementaryTypeName", - "src": "45192:6:1" + "src": "46479:6:0" } ], - "id": 2488, + "id": 1980, "name": "VariableDeclaration", - "src": "45192:13:1" + "src": "46479:13:0" } ], - "id": 2489, + "id": 1981, "name": "ParameterList", - "src": "45191:15:1" + "src": "46478:15:0" }, { "children": [ @@ -63874,13 +63874,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2490, + "id": 1982, "name": "Identifier", - "src": "45409:5:1" + "src": "46700:5:0" }, { "attributes": { @@ -63893,20 +63893,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2491, + "id": 1983, "name": "Literal", - "src": "45418:1:1" + "src": "46709:1:0" } ], - "id": 2492, + "id": 1984, "name": "BinaryOperation", - "src": "45409:10:1" + "src": "46700:10:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -63920,29 +63920,29 @@ "type": "literal_string \"0\"", "value": "0" }, - "id": 2493, + "id": 1985, "name": "Literal", - "src": "45442:3:1" + "src": "46734:3:0" } ], - "id": 2494, + "id": 1986, "name": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ], - "id": 2495, + "id": 1987, "name": "Block", - "src": "45421:35:1" + "src": "46712:37:0" } ], - "id": 2496, + "id": 1988, "name": "IfStatement", - "src": "45405:51:1" + "src": "46696:53:0" }, { "attributes": { "assignments": [ - 2498 + 1990 ] }, "children": [ @@ -63951,7 +63951,7 @@ "constant": false, "mutability": "mutable", "name": "temp", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63963,37 +63963,37 @@ "name": "uint256", "type": "uint256" }, - "id": 2497, + "id": 1989, "name": "ElementaryTypeName", - "src": "45465:7:1" + "src": "46759:7:0" } ], - "id": 2498, + "id": 1990, "name": "VariableDeclaration", - "src": "45465:12:1" + "src": "46759:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2499, + "id": 1991, "name": "Identifier", - "src": "45480:5:1" + "src": "46774:5:0" } ], - "id": 2500, + "id": 1992, "name": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "attributes": { "assignments": [ - 2502 + 1994 ] }, "children": [ @@ -64002,7 +64002,7 @@ "constant": false, "mutability": "mutable", "name": "digits", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -64014,19 +64014,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2501, + "id": 1993, "name": "ElementaryTypeName", - "src": "45495:7:1" + "src": "46790:7:0" } ], - "id": 2502, + "id": 1994, "name": "VariableDeclaration", - "src": "45495:14:1" + "src": "46790:14:0" } ], - "id": 2503, + "id": 1995, "name": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "children": [ @@ -64049,13 +64049,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2504, + "id": 1996, "name": "Identifier", - "src": "45526:4:1" + "src": "46822:4:0" }, { "attributes": { @@ -64068,14 +64068,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2505, + "id": 1997, "name": "Literal", - "src": "45534:1:1" + "src": "46830:1:0" } ], - "id": 2506, + "id": 1998, "name": "BinaryOperation", - "src": "45526:9:1" + "src": "46822:9:0" }, { "children": [ @@ -64097,23 +64097,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2507, + "id": 1999, "name": "Identifier", - "src": "45551:6:1" + "src": "46848:6:0" } ], - "id": 2508, + "id": 2000, "name": "UnaryOperation", - "src": "45551:8:1" + "src": "46848:8:0" } ], - "id": 2509, + "id": 2001, "name": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "children": [ @@ -64132,13 +64132,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2510, + "id": 2002, "name": "Identifier", - "src": "45573:4:1" + "src": "46871:4:0" }, { "attributes": { @@ -64151,34 +64151,34 @@ "type": "int_const 10", "value": "10" }, - "id": 2511, + "id": 2003, "name": "Literal", - "src": "45581:2:1" + "src": "46879:2:0" } ], - "id": 2512, + "id": 2004, "name": "Assignment", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2513, + "id": 2005, "name": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2514, + "id": 2006, "name": "Block", - "src": "45537:57:1" + "src": "46833:60:0" } ], - "id": 2515, + "id": 2007, "name": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "attributes": { "assignments": [ - 2517 + 2009 ] }, "children": [ @@ -64187,7 +64187,7 @@ "constant": false, "mutability": "mutable", "name": "buffer", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -64199,14 +64199,14 @@ "name": "bytes", "type": "bytes" }, - "id": 2516, + "id": 2008, "name": "ElementaryTypeName", - "src": "45603:5:1" + "src": "46903:5:0" } ], - "id": 2517, + "id": 2009, "name": "VariableDeclaration", - "src": "45603:19:1" + "src": "46903:19:0" }, { "attributes": { @@ -64243,42 +64243,42 @@ "name": "bytes", "type": "bytes" }, - "id": 2518, + "id": 2010, "name": "ElementaryTypeName", - "src": "45629:5:1" + "src": "46929:5:0" } ], - "id": 2519, + "id": 2011, "name": "NewExpression", - "src": "45625:9:1" + "src": "46925:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2520, + "id": 2012, "name": "Identifier", - "src": "45635:6:1" + "src": "46935:6:0" } ], - "id": 2521, + "id": 2013, "name": "FunctionCall", - "src": "45625:17:1" + "src": "46925:17:0" } ], - "id": 2522, + "id": 2014, "name": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "attributes": { "assignments": [ - 2524 + 2016 ] }, "children": [ @@ -64287,7 +64287,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -64299,14 +64299,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2523, + "id": 2015, "name": "ElementaryTypeName", - "src": "45652:7:1" + "src": "46953:7:0" } ], - "id": 2524, + "id": 2016, "name": "VariableDeclaration", - "src": "45652:13:1" + "src": "46953:13:0" }, { "attributes": { @@ -64327,13 +64327,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2525, + "id": 2017, "name": "Identifier", - "src": "45668:6:1" + "src": "46969:6:0" }, { "attributes": { @@ -64346,19 +64346,19 @@ "type": "int_const 1", "value": "1" }, - "id": 2526, + "id": 2018, "name": "Literal", - "src": "45677:1:1" + "src": "46978:1:0" } ], - "id": 2527, + "id": 2019, "name": "BinaryOperation", - "src": "45668:10:1" + "src": "46969:10:0" } ], - "id": 2528, + "id": 2020, "name": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "children": [ @@ -64377,36 +64377,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2529, + "id": 2021, "name": "Identifier", - "src": "45688:4:1" + "src": "46990:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2530, + "id": 2022, "name": "Identifier", - "src": "45695:5:1" + "src": "46997:5:0" } ], - "id": 2531, + "id": 2023, "name": "Assignment", - "src": "45688:12:1" + "src": "46990:12:0" } ], - "id": 2532, + "id": 2024, "name": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "children": [ @@ -64429,13 +64429,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2533, + "id": 2025, "name": "Identifier", - "src": "45717:4:1" + "src": "47020:4:0" }, { "attributes": { @@ -64448,14 +64448,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2534, + "id": 2026, "name": "Literal", - "src": "45725:1:1" + "src": "47028:1:0" } ], - "id": 2535, + "id": 2027, "name": "BinaryOperation", - "src": "45717:9:1" + "src": "47020:9:0" }, { "children": [ @@ -64485,13 +64485,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2536, + "id": 2028, "name": "Identifier", - "src": "45742:6:1" + "src": "47046:6:0" }, { "attributes": { @@ -64509,23 +64509,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2524, + "referencedDeclaration": 2016, "type": "uint256", "value": "index" }, - "id": 2537, + "id": 2029, "name": "Identifier", - "src": "45749:5:1" + "src": "47053:5:0" } ], - "id": 2538, + "id": 2030, "name": "UnaryOperation", - "src": "45749:7:1" + "src": "47053:7:0" } ], - "id": 2539, + "id": 2031, "name": "IndexAccess", - "src": "45742:15:1" + "src": "47046:15:0" }, { "attributes": { @@ -64561,14 +64561,14 @@ "attributes": { "name": "bytes1" }, - "id": 2540, + "id": 2032, "name": "ElementaryTypeName", - "src": "45760:6:1" + "src": "47064:6:0" } ], - "id": 2541, + "id": 2033, "name": "ElementaryTypeNameExpression", - "src": "45760:6:1" + "src": "47064:6:0" }, { "attributes": { @@ -64604,14 +64604,14 @@ "attributes": { "name": "uint8" }, - "id": 2542, + "id": 2034, "name": "ElementaryTypeName", - "src": "45767:5:1" + "src": "47071:5:0" } ], - "id": 2543, + "id": 2035, "name": "ElementaryTypeNameExpression", - "src": "45767:5:1" + "src": "47071:5:0" }, { "attributes": { @@ -64638,9 +64638,9 @@ "type": "int_const 48", "value": "48" }, - "id": 2544, + "id": 2036, "name": "Literal", - "src": "45773:2:1" + "src": "47077:2:0" }, { "attributes": { @@ -64661,13 +64661,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2545, + "id": 2037, "name": "Identifier", - "src": "45778:4:1" + "src": "47082:4:0" }, { "attributes": { @@ -64680,39 +64680,39 @@ "type": "int_const 10", "value": "10" }, - "id": 2546, + "id": 2038, "name": "Literal", - "src": "45785:2:1" + "src": "47089:2:0" } ], - "id": 2547, + "id": 2039, "name": "BinaryOperation", - "src": "45778:9:1" + "src": "47082:9:0" } ], - "id": 2548, + "id": 2040, "name": "BinaryOperation", - "src": "45773:14:1" + "src": "47077:14:0" } ], - "id": 2549, + "id": 2041, "name": "FunctionCall", - "src": "45767:21:1" + "src": "47071:21:0" } ], - "id": 2550, + "id": 2042, "name": "FunctionCall", - "src": "45760:29:1" + "src": "47064:29:0" } ], - "id": 2551, + "id": 2043, "name": "Assignment", - "src": "45742:47:1" + "src": "47046:47:0" } ], - "id": 2552, + "id": 2044, "name": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "children": [ @@ -64731,13 +64731,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2553, + "id": 2045, "name": "Identifier", - "src": "45803:4:1" + "src": "47108:4:0" }, { "attributes": { @@ -64750,33 +64750,33 @@ "type": "int_const 10", "value": "10" }, - "id": 2554, + "id": 2046, "name": "Literal", - "src": "45811:2:1" + "src": "47116:2:0" } ], - "id": 2555, + "id": 2047, "name": "Assignment", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2556, + "id": 2048, "name": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2557, + "id": 2049, "name": "Block", - "src": "45728:96:1" + "src": "47031:99:0" } ], - "id": 2558, + "id": 2050, "name": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -64813,52 +64813,52 @@ "attributes": { "name": "string" }, - "id": 2559, + "id": 2051, "name": "ElementaryTypeName", - "src": "45840:6:1" + "src": "47147:6:0" } ], - "id": 2560, + "id": 2052, "name": "ElementaryTypeNameExpression", - "src": "45840:6:1" + "src": "47147:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2561, + "id": 2053, "name": "Identifier", - "src": "45847:6:1" + "src": "47154:6:0" } ], - "id": 2562, + "id": 2054, "name": "FunctionCall", - "src": "45840:14:1" + "src": "47147:14:0" } ], - "id": 2563, + "id": 2055, "name": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ], - "id": 2564, + "id": 2056, "name": "Block", - "src": "45207:654:1" + "src": "46494:675:0" } ], - "id": 2565, + "id": 2057, "name": "FunctionDefinition", - "src": "45136:725:1" + "src": "46423:746:0" } ], - "id": 2566, + "id": 2058, "name": "ContractDefinition", - "src": "45027:836:1" + "src": "46310:862:0" }, { "attributes": { @@ -64872,43 +64872,43 @@ ".0" ] }, - "id": 2567, + "id": 2059, "name": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, - "id": 2568, + "id": 2060, "name": "StructuredDocumentation", - "src": "45955:124:1" + "src": "47269:127:0" }, { "attributes": {}, @@ -64916,17 +64916,17 @@ { "attributes": { "name": "Context", - "referencedDeclaration": 530, + "referencedDeclaration": 22, "type": "contract Context" }, - "id": 2569, + "id": 2061, "name": "UserDefinedTypeName", - "src": "46099:7:1" + "src": "47417:7:0" } ], - "id": 2570, + "id": 2062, "name": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "attributes": {}, @@ -64934,17 +64934,17 @@ { "attributes": { "name": "ERC165", - "referencedDeclaration": 781, + "referencedDeclaration": 273, "type": "contract ERC165" }, - "id": 2571, + "id": 2063, "name": "UserDefinedTypeName", - "src": "46108:6:1" + "src": "47426:6:0" } ], - "id": 2572, + "id": 2064, "name": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "attributes": {}, @@ -64952,17 +64952,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 2573, + "id": 2065, "name": "UserDefinedTypeName", - "src": "46116:7:1" + "src": "47434:7:0" } ], - "id": 2574, + "id": 2066, "name": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "attributes": {}, @@ -64970,17 +64970,17 @@ { "attributes": { "name": "IERC721Metadata", - "referencedDeclaration": 680, + "referencedDeclaration": 172, "type": "contract IERC721Metadata" }, - "id": 2575, + "id": 2067, "name": "UserDefinedTypeName", - "src": "46125:15:1" + "src": "47443:15:0" } ], - "id": 2576, + "id": 2068, "name": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "attributes": {}, @@ -64988,55 +64988,55 @@ { "attributes": { "name": "IERC721Enumerable", - "referencedDeclaration": 709, + "referencedDeclaration": 201, "type": "contract IERC721Enumerable" }, - "id": 2577, + "id": 2069, "name": "UserDefinedTypeName", - "src": "46142:17:1" + "src": "47460:17:0" } ], - "id": 2578, + "id": 2070, "name": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" }, { "children": [ { "attributes": { "name": "SafeMath", - "referencedDeclaration": 1135, + "referencedDeclaration": 627, "type": "library SafeMath" }, - "id": 2579, + "id": 2071, "name": "UserDefinedTypeName", - "src": "46172:8:1" + "src": "47491:8:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2580, + "id": 2072, "name": "ElementaryTypeName", - "src": "46185:7:1" + "src": "47504:7:0" } ], - "id": 2581, + "id": 2073, "name": "UsingForDirective", - "src": "46166:27:1" + "src": "47485:27:0" }, { "children": [ { "attributes": { "name": "Address", - "referencedDeclaration": 1430, + "referencedDeclaration": 922, "type": "library Address" }, - "id": 2582, + "id": 2074, "name": "UserDefinedTypeName", - "src": "46204:7:1" + "src": "47524:7:0" }, { "attributes": { @@ -65044,101 +65044,101 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2583, + "id": 2075, "name": "ElementaryTypeName", - "src": "46216:7:1" + "src": "47536:7:0" } ], - "id": 2584, + "id": 2076, "name": "UsingForDirective", - "src": "46198:26:1" + "src": "47518:26:0" }, { "children": [ { "attributes": { "name": "EnumerableSet", - "referencedDeclaration": 1921, + "referencedDeclaration": 1413, "type": "library EnumerableSet" }, - "id": 2585, + "id": 2077, "name": "UserDefinedTypeName", - "src": "46235:13:1" + "src": "47556:13:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2586, + "id": 2078, "name": "UserDefinedTypeName", - "src": "46253:21:1" + "src": "47574:21:0" } ], - "id": 2587, + "id": 2079, "name": "UsingForDirective", - "src": "46229:46:1" + "src": "47550:46:0" }, { "children": [ { "attributes": { "name": "EnumerableMap", - "referencedDeclaration": 2480, + "referencedDeclaration": 1972, "type": "library EnumerableMap" }, - "id": 2588, + "id": 2080, "name": "UserDefinedTypeName", - "src": "46286:13:1" + "src": "47608:13:0" }, { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2589, + "id": 2081, "name": "UserDefinedTypeName", - "src": "46304:30:1" + "src": "47626:30:0" } ], - "id": 2590, + "id": 2082, "name": "UsingForDirective", - "src": "46280:55:1" + "src": "47602:55:0" }, { "children": [ { "attributes": { "name": "Strings", - "referencedDeclaration": 2566, + "referencedDeclaration": 2058, "type": "library Strings" }, - "id": 2591, + "id": 2083, "name": "UserDefinedTypeName", - "src": "46346:7:1" + "src": "47669:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2592, + "id": 2084, "name": "ElementaryTypeName", - "src": "46358:7:1" + "src": "47681:7:0" } ], - "id": 2593, + "id": 2085, "name": "UsingForDirective", - "src": "46340:26:1" + "src": "47663:26:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_ERC721_RECEIVED", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65150,9 +65150,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2594, + "id": 2086, "name": "ElementaryTypeName", - "src": "46544:6:1" + "src": "47871:6:0" }, { "attributes": { @@ -65165,21 +65165,21 @@ "type": "int_const 353073666", "value": "0x150b7a02" }, - "id": 2595, + "id": 2087, "name": "Literal", - "src": "46587:10:1" + "src": "47914:10:0" } ], - "id": 2596, + "id": 2088, "name": "VariableDeclaration", - "src": "46544:53:1" + "src": "47871:53:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_holderTokens", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => struct EnumerableSet.UintSet)", @@ -65196,36 +65196,36 @@ "name": "address", "type": "address" }, - "id": 2597, + "id": 2089, "name": "ElementaryTypeName", - "src": "46690:7:1" + "src": "48020:7:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2598, + "id": 2090, "name": "UserDefinedTypeName", - "src": "46701:21:1" + "src": "48031:21:0" } ], - "id": 2599, + "id": 2091, "name": "Mapping", - "src": "46681:42:1" + "src": "48011:42:0" } ], - "id": 2600, + "id": 2092, "name": "VariableDeclaration", - "src": "46681:64:1" + "src": "48011:64:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenOwners", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "struct EnumerableMap.UintToAddressMap", @@ -65235,24 +65235,24 @@ { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2601, + "id": 2093, "name": "UserDefinedTypeName", - "src": "46809:30:1" + "src": "48142:30:0" } ], - "id": 2602, + "id": 2094, "name": "VariableDeclaration", - "src": "46809:51:1" + "src": "48142:51:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => address)", @@ -65269,9 +65269,9 @@ "name": "uint256", "type": "uint256" }, - "id": 2603, + "id": 2095, "name": "ElementaryTypeName", - "src": "46925:7:1" + "src": "48261:7:0" }, { "attributes": { @@ -65279,26 +65279,26 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2604, + "id": 2096, "name": "ElementaryTypeName", - "src": "46936:7:1" + "src": "48272:7:0" } ], - "id": 2605, + "id": 2097, "name": "Mapping", - "src": "46916:28:1" + "src": "48252:28:0" } ], - "id": 2606, + "id": 2098, "name": "VariableDeclaration", - "src": "46916:52:1" + "src": "48252:52:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_operatorApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => mapping(address => bool))", @@ -65315,9 +65315,9 @@ "name": "address", "type": "address" }, - "id": 2607, + "id": 2099, "name": "ElementaryTypeName", - "src": "47032:7:1" + "src": "48371:7:0" }, { "attributes": { @@ -65329,40 +65329,40 @@ "name": "address", "type": "address" }, - "id": 2608, + "id": 2100, "name": "ElementaryTypeName", - "src": "47052:7:1" + "src": "48391:7:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 2609, + "id": 2101, "name": "ElementaryTypeName", - "src": "47063:4:1" + "src": "48402:4:0" } ], - "id": 2610, + "id": 2102, "name": "Mapping", - "src": "47043:25:1" + "src": "48382:25:0" } ], - "id": 2611, + "id": 2103, "name": "Mapping", - "src": "47023:46:1" + "src": "48362:46:0" } ], - "id": 2612, + "id": 2104, "name": "VariableDeclaration", - "src": "47023:73:1" + "src": "48362:73:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_name", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65374,21 +65374,21 @@ "name": "string", "type": "string" }, - "id": 2613, + "id": 2105, "name": "ElementaryTypeName", - "src": "47121:6:1" + "src": "48463:6:0" } ], - "id": 2614, + "id": 2106, "name": "VariableDeclaration", - "src": "47121:20:1" + "src": "48463:20:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_symbol", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65400,21 +65400,21 @@ "name": "string", "type": "string" }, - "id": 2615, + "id": 2107, "name": "ElementaryTypeName", - "src": "47168:6:1" + "src": "48513:6:0" } ], - "id": 2616, + "id": 2108, "name": "VariableDeclaration", - "src": "47168:22:1" + "src": "48513:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURIs", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => string)", @@ -65431,35 +65431,35 @@ "name": "uint256", "type": "uint256" }, - "id": 2617, + "id": 2109, "name": "ElementaryTypeName", - "src": "47245:7:1" + "src": "48593:7:0" }, { "attributes": { "name": "string", "type": "string" }, - "id": 2618, + "id": 2110, "name": "ElementaryTypeName", - "src": "47256:6:1" + "src": "48604:6:0" } ], - "id": 2619, + "id": 2111, "name": "Mapping", - "src": "47236:27:1" + "src": "48584:27:0" } ], - "id": 2620, + "id": 2112, "name": "VariableDeclaration", - "src": "47236:46:1" + "src": "48584:46:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_baseURI", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65471,21 +65471,21 @@ "name": "string", "type": "string" }, - "id": 2621, + "id": 2113, "name": "ElementaryTypeName", - "src": "47305:6:1" + "src": "48656:6:0" } ], - "id": 2622, + "id": 2114, "name": "VariableDeclaration", - "src": "47305:23:1" + "src": "48656:23:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65497,9 +65497,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2623, + "id": 2115, "name": "ElementaryTypeName", - "src": "48204:6:1" + "src": "49571:6:0" }, { "attributes": { @@ -65512,21 +65512,21 @@ "type": "int_const 2158778573", "value": "0x80ac58cd" }, - "id": 2624, + "id": 2116, "name": "Literal", - "src": "48251:10:1" + "src": "49618:10:0" } ], - "id": 2625, + "id": 2117, "name": "VariableDeclaration", - "src": "48204:57:1" + "src": "49571:57:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65538,9 +65538,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2626, + "id": 2118, "name": "ElementaryTypeName", - "src": "48527:6:1" + "src": "49903:6:0" }, { "attributes": { @@ -65553,21 +65553,21 @@ "type": "int_const 1532892063", "value": "0x5b5e139f" }, - "id": 2627, + "id": 2119, "name": "Literal", - "src": "48583:10:1" + "src": "49959:10:0" } ], - "id": 2628, + "id": 2120, "name": "VariableDeclaration", - "src": "48527:66:1" + "src": "49903:66:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65579,9 +65579,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2629, + "id": 2121, "name": "ElementaryTypeName", - "src": "48898:6:1" + "src": "50283:6:0" }, { "attributes": { @@ -65594,14 +65594,14 @@ "type": "int_const 2014223715", "value": "0x780e9d63" }, - "id": 2630, + "id": 2122, "name": "Literal", - "src": "48956:10:1" + "src": "50341:10:0" } ], - "id": 2631, + "id": 2123, "name": "VariableDeclaration", - "src": "48898:68:1" + "src": "50283:68:0" }, { "attributes": { @@ -65612,7 +65612,7 @@ null ], "name": "", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -65622,9 +65622,9 @@ "attributes": { "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2632, + "id": 2124, "name": "StructuredDocumentation", - "src": "48973:108:1" + "src": "50360:110:0" }, { "children": [ @@ -65633,7 +65633,7 @@ "constant": false, "mutability": "mutable", "name": "name_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65645,21 +65645,21 @@ "name": "string", "type": "string" }, - "id": 2633, + "id": 2125, "name": "ElementaryTypeName", - "src": "49099:6:1" + "src": "50489:6:0" } ], - "id": 2634, + "id": 2126, "name": "VariableDeclaration", - "src": "49099:19:1" + "src": "50489:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "symbol_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65671,19 +65671,19 @@ "name": "string", "type": "string" }, - "id": 2635, + "id": 2127, "name": "ElementaryTypeName", - "src": "49120:6:1" + "src": "50510:6:0" } ], - "id": 2636, + "id": 2128, "name": "VariableDeclaration", - "src": "49120:21:1" + "src": "50510:21:0" } ], - "id": 2637, + "id": 2129, "name": "ParameterList", - "src": "49098:44:1" + "src": "50488:44:0" }, { "attributes": { @@ -65692,9 +65692,9 @@ ] }, "children": [], - "id": 2638, + "id": 2130, "name": "ParameterList", - "src": "49143:0:1" + "src": "50533:0:0" }, { "children": [ @@ -65715,36 +65715,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2639, + "id": 2131, "name": "Identifier", - "src": "49153:5:1" + "src": "50544:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2634, + "referencedDeclaration": 2126, "type": "string memory", "value": "name_" }, - "id": 2640, + "id": 2132, "name": "Identifier", - "src": "49161:5:1" + "src": "50552:5:0" } ], - "id": 2641, + "id": 2133, "name": "Assignment", - "src": "49153:13:1" + "src": "50544:13:0" } ], - "id": 2642, + "id": 2134, "name": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "children": [ @@ -65763,36 +65763,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2643, + "id": 2135, "name": "Identifier", - "src": "49176:7:1" + "src": "50568:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2636, + "referencedDeclaration": 2128, "type": "string memory", "value": "symbol_" }, - "id": 2644, + "id": 2136, "name": "Identifier", - "src": "49186:7:1" + "src": "50578:7:0" } ], - "id": 2645, + "id": 2137, "name": "Assignment", - "src": "49176:17:1" + "src": "50568:17:0" } ], - "id": 2646, + "id": 2138, "name": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "children": [ @@ -65822,36 +65822,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2647, + "id": 2139, "name": "Identifier", - "src": "49281:18:1" + "src": "50676:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2625, + "referencedDeclaration": 2117, "type": "bytes4", "value": "_INTERFACE_ID_ERC721" }, - "id": 2648, + "id": 2140, "name": "Identifier", - "src": "49300:20:1" + "src": "50695:20:0" } ], - "id": 2649, + "id": 2141, "name": "FunctionCall", - "src": "49281:40:1" + "src": "50676:40:0" } ], - "id": 2650, + "id": 2142, "name": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "children": [ @@ -65881,36 +65881,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2651, + "id": 2143, "name": "Identifier", - "src": "49331:18:1" + "src": "50727:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2628, + "referencedDeclaration": 2120, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_METADATA" }, - "id": 2652, + "id": 2144, "name": "Identifier", - "src": "49350:29:1" + "src": "50746:29:0" } ], - "id": 2653, + "id": 2145, "name": "FunctionCall", - "src": "49331:49:1" + "src": "50727:49:0" } ], - "id": 2654, + "id": 2146, "name": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "children": [ @@ -65940,51 +65940,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2655, + "id": 2147, "name": "Identifier", - "src": "49390:18:1" + "src": "50787:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2631, + "referencedDeclaration": 2123, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_ENUMERABLE" }, - "id": 2656, + "id": 2148, "name": "Identifier", - "src": "49409:31:1" + "src": "50806:31:0" } ], - "id": 2657, + "id": 2149, "name": "FunctionCall", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2658, + "id": 2150, "name": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2659, + "id": 2151, "name": "Block", - "src": "49143:305:1" + "src": "50533:313:0" } ], - "id": 2660, + "id": 2152, "name": "FunctionDefinition", - "src": "49086:362:1" + "src": "50476:370:0" }, { "attributes": { "baseFunctions": [ - 580 + 72 ], "functionSelector": "70a08231", "implemented": true, @@ -65994,7 +65994,7 @@ null ], "name": "balanceOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66004,9 +66004,9 @@ "attributes": { "text": " @dev See {IERC721-balanceOf}." }, - "id": 2661, + "id": 2153, "name": "StructuredDocumentation", - "src": "49454:48:1" + "src": "50854:50:0" }, { "attributes": { @@ -66014,9 +66014,9 @@ null ] }, - "id": 2665, + "id": 2157, "name": "OverrideSpecifier", - "src": "49561:8:1" + "src": "50964:8:0" }, { "children": [ @@ -66025,7 +66025,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -66038,19 +66038,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2662, + "id": 2154, "name": "ElementaryTypeName", - "src": "49526:7:1" + "src": "50929:7:0" } ], - "id": 2663, + "id": 2155, "name": "VariableDeclaration", - "src": "49526:13:1" + "src": "50929:13:0" } ], - "id": 2664, + "id": 2156, "name": "ParameterList", - "src": "49525:15:1" + "src": "50928:15:0" }, { "children": [ @@ -66059,7 +66059,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66071,19 +66071,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2666, + "id": 2158, "name": "ElementaryTypeName", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2667, + "id": 2159, "name": "VariableDeclaration", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2668, + "id": 2160, "name": "ParameterList", - "src": "49578:9:1" + "src": "50981:9:0" }, { "children": [ @@ -66124,9 +66124,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2669, + "id": 2161, "name": "Identifier", - "src": "49598:7:1" + "src": "51002:7:0" }, { "attributes": { @@ -66147,13 +66147,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2670, + "id": 2162, "name": "Identifier", - "src": "49606:5:1" + "src": "51010:5:0" }, { "attributes": { @@ -66189,14 +66189,14 @@ "attributes": { "name": "address" }, - "id": 2671, + "id": 2163, "name": "ElementaryTypeName", - "src": "49615:7:1" + "src": "51019:7:0" } ], - "id": 2672, + "id": 2164, "name": "ElementaryTypeNameExpression", - "src": "49615:7:1" + "src": "51019:7:0" }, { "attributes": { @@ -66209,19 +66209,19 @@ "type": "int_const 0", "value": "0" }, - "id": 2673, + "id": 2165, "name": "Literal", - "src": "49623:1:1" + "src": "51027:1:0" } ], - "id": 2674, + "id": 2166, "name": "FunctionCall", - "src": "49615:10:1" + "src": "51019:10:0" } ], - "id": 2675, + "id": 2167, "name": "BinaryOperation", - "src": "49606:19:1" + "src": "51010:19:0" }, { "attributes": { @@ -66234,23 +66234,23 @@ "type": "literal_string \"ERC721: balance query for the zero address\"", "value": "ERC721: balance query for the zero address" }, - "id": 2676, + "id": 2168, "name": "Literal", - "src": "49627:44:1" + "src": "51031:44:0" } ], - "id": 2677, + "id": 2169, "name": "FunctionCall", - "src": "49598:74:1" + "src": "51002:74:0" } ], - "id": 2678, + "id": 2170, "name": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "attributes": { - "functionReturnParameters": 2668 + "functionReturnParameters": 2160 }, "children": [ { @@ -66281,7 +66281,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 1900, + "referencedDeclaration": 1392, "type": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" }, "children": [ @@ -66299,61 +66299,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2679, + "id": 2171, "name": "Identifier", - "src": "49689:13:1" + "src": "51094:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2680, + "id": 2172, "name": "Identifier", - "src": "49703:5:1" + "src": "51108:5:0" } ], - "id": 2681, + "id": 2173, "name": "IndexAccess", - "src": "49689:20:1" + "src": "51094:20:0" } ], - "id": 2682, + "id": 2174, "name": "MemberAccess", - "src": "49689:27:1" + "src": "51094:27:0" } ], - "id": 2683, + "id": 2175, "name": "FunctionCall", - "src": "49689:29:1" + "src": "51094:29:0" } ], - "id": 2684, + "id": 2176, "name": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ], - "id": 2685, + "id": 2177, "name": "Block", - "src": "49588:137:1" + "src": "50991:140:0" } ], - "id": 2686, + "id": 2178, "name": "FunctionDefinition", - "src": "49507:218:1" + "src": "50910:221:0" }, { "attributes": { "baseFunctions": [ - 588 + 80 ], "functionSelector": "6352211e", "implemented": true, @@ -66363,7 +66363,7 @@ null ], "name": "ownerOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66373,9 +66373,9 @@ "attributes": { "text": " @dev See {IERC721-ownerOf}." }, - "id": 2687, + "id": 2179, "name": "StructuredDocumentation", - "src": "49731:46:1" + "src": "51139:48:0" }, { "attributes": { @@ -66383,9 +66383,9 @@ null ] }, - "id": 2691, + "id": 2183, "name": "OverrideSpecifier", - "src": "49836:8:1" + "src": "51247:8:0" }, { "children": [ @@ -66394,7 +66394,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66406,19 +66406,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2688, + "id": 2180, "name": "ElementaryTypeName", - "src": "49799:7:1" + "src": "51210:7:0" } ], - "id": 2689, + "id": 2181, "name": "VariableDeclaration", - "src": "49799:15:1" + "src": "51210:15:0" } ], - "id": 2690, + "id": 2182, "name": "ParameterList", - "src": "49798:17:1" + "src": "51209:17:0" }, { "children": [ @@ -66427,7 +66427,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -66440,25 +66440,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2692, + "id": 2184, "name": "ElementaryTypeName", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2693, + "id": 2185, "name": "VariableDeclaration", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2694, + "id": 2186, "name": "ParameterList", - "src": "49853:9:1" + "src": "51264:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2694 + "functionReturnParameters": 2186 }, "children": [ { @@ -66493,7 +66493,7 @@ "isPure": false, "lValueRequested": false, "member_name": "get", - "referencedDeclaration": 2479, + "referencedDeclaration": 1971, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" }, "children": [ @@ -66502,31 +66502,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2695, + "id": 2187, "name": "Identifier", - "src": "49880:12:1" + "src": "51292:12:0" } ], - "id": 2696, + "id": 2188, "name": "MemberAccess", - "src": "49880:16:1" + "src": "51292:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2689, + "referencedDeclaration": 2181, "type": "uint256", "value": "tokenId" }, - "id": 2697, + "id": 2189, "name": "Identifier", - "src": "49897:7:1" + "src": "51309:7:0" }, { "attributes": { @@ -66539,34 +66539,34 @@ "type": "literal_string \"ERC721: owner query for nonexistent token\"", "value": "ERC721: owner query for nonexistent token" }, - "id": 2698, + "id": 2190, "name": "Literal", - "src": "49906:43:1" + "src": "51318:43:0" } ], - "id": 2699, + "id": 2191, "name": "FunctionCall", - "src": "49880:70:1" + "src": "51292:70:0" } ], - "id": 2700, + "id": 2192, "name": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ], - "id": 2701, + "id": 2193, "name": "Block", - "src": "49863:94:1" + "src": "51274:96:0" } ], - "id": 2702, + "id": 2194, "name": "FunctionDefinition", - "src": "49782:175:1" + "src": "51193:177:0" }, { "attributes": { "baseFunctions": [ - 665 + 157 ], "functionSelector": "06fdde03", "implemented": true, @@ -66576,7 +66576,7 @@ null ], "name": "name", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66586,9 +66586,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-name}." }, - "id": 2703, + "id": 2195, "name": "StructuredDocumentation", - "src": "49963:51:1" + "src": "51378:53:0" }, { "attributes": { @@ -66596,9 +66596,9 @@ null ] }, - "id": 2705, + "id": 2197, "name": "OverrideSpecifier", - "src": "50055:8:1" + "src": "51473:8:0" }, { "attributes": { @@ -66607,9 +66607,9 @@ ] }, "children": [], - "id": 2704, + "id": 2196, "name": "ParameterList", - "src": "50032:2:1" + "src": "51450:2:0" }, { "children": [ @@ -66618,7 +66618,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2712, + "scope": 2204, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66630,25 +66630,25 @@ "name": "string", "type": "string" }, - "id": 2706, + "id": 2198, "name": "ElementaryTypeName", - "src": "50073:6:1" + "src": "51491:6:0" } ], - "id": 2707, + "id": 2199, "name": "VariableDeclaration", - "src": "50073:13:1" + "src": "51491:13:0" } ], - "id": 2708, + "id": 2200, "name": "ParameterList", - "src": "50072:15:1" + "src": "51490:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2708 + "functionReturnParameters": 2200 }, "children": [ { @@ -66656,33 +66656,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2709, + "id": 2201, "name": "Identifier", - "src": "50105:5:1" + "src": "51524:5:0" } ], - "id": 2710, + "id": 2202, "name": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ], - "id": 2711, + "id": 2203, "name": "Block", - "src": "50088:29:1" + "src": "51506:31:0" } ], - "id": 2712, + "id": 2204, "name": "FunctionDefinition", - "src": "50019:98:1" + "src": "51437:100:0" }, { "attributes": { "baseFunctions": [ - 671 + 163 ], "functionSelector": "95d89b41", "implemented": true, @@ -66692,7 +66692,7 @@ null ], "name": "symbol", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66702,9 +66702,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-symbol}." }, - "id": 2713, + "id": 2205, "name": "StructuredDocumentation", - "src": "50123:53:1" + "src": "51545:55:0" }, { "attributes": { @@ -66712,9 +66712,9 @@ null ] }, - "id": 2715, + "id": 2207, "name": "OverrideSpecifier", - "src": "50219:8:1" + "src": "51644:8:0" }, { "attributes": { @@ -66723,9 +66723,9 @@ ] }, "children": [], - "id": 2714, + "id": 2206, "name": "ParameterList", - "src": "50196:2:1" + "src": "51621:2:0" }, { "children": [ @@ -66734,7 +66734,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2722, + "scope": 2214, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66746,25 +66746,25 @@ "name": "string", "type": "string" }, - "id": 2716, + "id": 2208, "name": "ElementaryTypeName", - "src": "50237:6:1" + "src": "51662:6:0" } ], - "id": 2717, + "id": 2209, "name": "VariableDeclaration", - "src": "50237:13:1" + "src": "51662:13:0" } ], - "id": 2718, + "id": 2210, "name": "ParameterList", - "src": "50236:15:1" + "src": "51661:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2718 + "functionReturnParameters": 2210 }, "children": [ { @@ -66772,33 +66772,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2719, + "id": 2211, "name": "Identifier", - "src": "50269:7:1" + "src": "51695:7:0" } ], - "id": 2720, + "id": 2212, "name": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ], - "id": 2721, + "id": 2213, "name": "Block", - "src": "50252:31:1" + "src": "51677:33:0" } ], - "id": 2722, + "id": 2214, "name": "FunctionDefinition", - "src": "50181:102:1" + "src": "51606:104:0" }, { "attributes": { "baseFunctions": [ - 679 + 171 ], "functionSelector": "c87b56dd", "implemented": true, @@ -66808,7 +66808,7 @@ null ], "name": "tokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66818,9 +66818,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-tokenURI}." }, - "id": 2723, + "id": 2215, "name": "StructuredDocumentation", - "src": "50289:55:1" + "src": "51718:57:0" }, { "attributes": { @@ -66828,9 +66828,9 @@ null ] }, - "id": 2727, + "id": 2219, "name": "OverrideSpecifier", - "src": "50404:8:1" + "src": "51836:8:0" }, { "children": [ @@ -66839,7 +66839,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66851,19 +66851,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2724, + "id": 2216, "name": "ElementaryTypeName", - "src": "50367:7:1" + "src": "51799:7:0" } ], - "id": 2725, + "id": 2217, "name": "VariableDeclaration", - "src": "50367:15:1" + "src": "51799:15:0" } ], - "id": 2726, + "id": 2218, "name": "ParameterList", - "src": "50366:17:1" + "src": "51798:17:0" }, { "children": [ @@ -66872,7 +66872,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66884,19 +66884,19 @@ "name": "string", "type": "string" }, - "id": 2728, + "id": 2220, "name": "ElementaryTypeName", - "src": "50422:6:1" + "src": "51854:6:0" } ], - "id": 2729, + "id": 2221, "name": "VariableDeclaration", - "src": "50422:13:1" + "src": "51854:13:0" } ], - "id": 2730, + "id": 2222, "name": "ParameterList", - "src": "50421:15:1" + "src": "51853:15:0" }, { "children": [ @@ -66937,9 +66937,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2731, + "id": 2223, "name": "Identifier", - "src": "50447:7:1" + "src": "51880:7:0" }, { "attributes": { @@ -66967,31 +66967,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2732, + "id": 2224, "name": "Identifier", - "src": "50455:7:1" + "src": "51888:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2733, + "id": 2225, "name": "Identifier", - "src": "50463:7:1" + "src": "51896:7:0" } ], - "id": 2734, + "id": 2226, "name": "FunctionCall", - "src": "50455:16:1" + "src": "51888:16:0" }, { "attributes": { @@ -67004,24 +67004,24 @@ "type": "literal_string \"ERC721Metadata: URI query for nonexistent token\"", "value": "ERC721Metadata: URI query for nonexistent token" }, - "id": 2735, + "id": 2227, "name": "Literal", - "src": "50473:49:1" + "src": "51906:49:0" } ], - "id": 2736, + "id": 2228, "name": "FunctionCall", - "src": "50447:76:1" + "src": "51880:76:0" } ], - "id": 2737, + "id": 2229, "name": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "attributes": { "assignments": [ - 2739 + 2231 ] }, "children": [ @@ -67030,7 +67030,7 @@ "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -67042,14 +67042,14 @@ "name": "string", "type": "string" }, - "id": 2738, + "id": 2230, "name": "ElementaryTypeName", - "src": "50534:6:1" + "src": "51969:6:0" } ], - "id": 2739, + "id": 2231, "name": "VariableDeclaration", - "src": "50534:23:1" + "src": "51969:23:0" }, { "attributes": { @@ -67065,41 +67065,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 2740, + "id": 2232, "name": "Identifier", - "src": "50560:10:1" + "src": "51995:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2741, + "id": 2233, "name": "Identifier", - "src": "50571:7:1" + "src": "52006:7:0" } ], - "id": 2742, + "id": 2234, "name": "IndexAccess", - "src": "50560:19:1" + "src": "51995:19:0" } ], - "id": 2743, + "id": 2235, "name": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "attributes": { "assignments": [ - 2745 + 2237 ] }, "children": [ @@ -67108,7 +67108,7 @@ "constant": false, "mutability": "mutable", "name": "base", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -67120,14 +67120,14 @@ "name": "string", "type": "string" }, - "id": 2744, + "id": 2236, "name": "ElementaryTypeName", - "src": "50589:6:1" + "src": "52025:6:0" } ], - "id": 2745, + "id": 2237, "name": "VariableDeclaration", - "src": "50589:18:1" + "src": "52025:18:0" }, { "attributes": { @@ -67155,23 +67155,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2799, + "referencedDeclaration": 2291, "type": "function () view returns (string memory)", "value": "baseURI" }, - "id": 2746, + "id": 2238, "name": "Identifier", - "src": "50610:7:1" + "src": "52046:7:0" } ], - "id": 2747, + "id": 2239, "name": "FunctionCall", - "src": "50610:9:1" + "src": "52046:9:0" } ], - "id": 2748, + "id": 2240, "name": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "attributes": {}, @@ -67234,37 +67234,37 @@ "attributes": { "name": "bytes" }, - "id": 2749, + "id": 2241, "name": "ElementaryTypeName", - "src": "50692:5:1" + "src": "52131:5:0" } ], - "id": 2750, + "id": 2242, "name": "ElementaryTypeNameExpression", - "src": "50692:5:1" + "src": "52131:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2751, + "id": 2243, "name": "Identifier", - "src": "50698:4:1" + "src": "52137:4:0" } ], - "id": 2752, + "id": 2244, "name": "FunctionCall", - "src": "50692:11:1" + "src": "52131:11:0" } ], - "id": 2753, + "id": 2245, "name": "MemberAccess", - "src": "50692:18:1" + "src": "52131:18:0" }, { "attributes": { @@ -67277,20 +67277,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2754, + "id": 2246, "name": "Literal", - "src": "50714:1:1" + "src": "52153:1:0" } ], - "id": 2755, + "id": 2247, "name": "BinaryOperation", - "src": "50692:23:1" + "src": "52131:23:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67298,28 +67298,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2756, + "id": 2248, "name": "Identifier", - "src": "50738:9:1" + "src": "52178:9:0" } ], - "id": 2757, + "id": 2249, "name": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ], - "id": 2758, + "id": 2250, "name": "Block", - "src": "50717:41:1" + "src": "52156:43:0" } ], - "id": 2759, + "id": 2251, "name": "IfStatement", - "src": "50688:70:1" + "src": "52127:72:0" }, { "attributes": {}, @@ -67382,37 +67382,37 @@ "attributes": { "name": "bytes" }, - "id": 2760, + "id": 2252, "name": "ElementaryTypeName", - "src": "50860:5:1" + "src": "52303:5:0" } ], - "id": 2761, + "id": 2253, "name": "ElementaryTypeNameExpression", - "src": "50860:5:1" + "src": "52303:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2762, + "id": 2254, "name": "Identifier", - "src": "50866:9:1" + "src": "52309:9:0" } ], - "id": 2763, + "id": 2255, "name": "FunctionCall", - "src": "50860:16:1" + "src": "52303:16:0" } ], - "id": 2764, + "id": 2256, "name": "MemberAccess", - "src": "50860:23:1" + "src": "52303:23:0" }, { "attributes": { @@ -67425,20 +67425,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2765, + "id": 2257, "name": "Literal", - "src": "50886:1:1" + "src": "52329:1:0" } ], - "id": 2766, + "id": 2258, "name": "BinaryOperation", - "src": "50860:27:1" + "src": "52303:27:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67475,14 +67475,14 @@ "attributes": { "name": "string" }, - "id": 2767, + "id": 2259, "name": "ElementaryTypeName", - "src": "50910:6:1" + "src": "52354:6:0" } ], - "id": 2768, + "id": 2260, "name": "ElementaryTypeNameExpression", - "src": "50910:6:1" + "src": "52354:6:0" }, { "attributes": { @@ -67528,69 +67528,69 @@ "type": "abi", "value": "abi" }, - "id": 2769, + "id": 2261, "name": "Identifier", - "src": "50917:3:1" + "src": "52361:3:0" } ], - "id": 2770, + "id": 2262, "name": "MemberAccess", - "src": "50917:16:1" + "src": "52361:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2771, + "id": 2263, "name": "Identifier", - "src": "50934:4:1" + "src": "52378:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2772, + "id": 2264, "name": "Identifier", - "src": "50940:9:1" + "src": "52384:9:0" } ], - "id": 2773, + "id": 2265, "name": "FunctionCall", - "src": "50917:33:1" + "src": "52361:33:0" } ], - "id": 2774, + "id": 2266, "name": "FunctionCall", - "src": "50910:41:1" + "src": "52354:41:0" } ], - "id": 2775, + "id": 2267, "name": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ], - "id": 2776, + "id": 2268, "name": "Block", - "src": "50889:73:1" + "src": "52332:75:0" } ], - "id": 2777, + "id": 2269, "name": "IfStatement", - "src": "50856:106:1" + "src": "52299:108:0" }, { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67627,14 +67627,14 @@ "attributes": { "name": "string" }, - "id": 2778, + "id": 2270, "name": "ElementaryTypeName", - "src": "51068:6:1" + "src": "52515:6:0" } ], - "id": 2779, + "id": 2271, "name": "ElementaryTypeNameExpression", - "src": "51068:6:1" + "src": "52515:6:0" }, { "attributes": { @@ -67680,27 +67680,27 @@ "type": "abi", "value": "abi" }, - "id": 2780, + "id": 2272, "name": "Identifier", - "src": "51075:3:1" + "src": "52522:3:0" } ], - "id": 2781, + "id": 2273, "name": "MemberAccess", - "src": "51075:16:1" + "src": "52522:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2782, + "id": 2274, "name": "Identifier", - "src": "51092:4:1" + "src": "52539:4:0" }, { "attributes": { @@ -67730,7 +67730,7 @@ "isPure": false, "lValueRequested": false, "member_name": "toString", - "referencedDeclaration": 2565, + "referencedDeclaration": 2057, "type": "function (uint256) pure returns (string memory)" }, "children": [ @@ -67739,48 +67739,48 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2783, + "id": 2275, "name": "Identifier", - "src": "51098:7:1" + "src": "52545:7:0" } ], - "id": 2784, + "id": 2276, "name": "MemberAccess", - "src": "51098:16:1" + "src": "52545:16:0" } ], - "id": 2785, + "id": 2277, "name": "FunctionCall", - "src": "51098:18:1" + "src": "52545:18:0" } ], - "id": 2786, + "id": 2278, "name": "FunctionCall", - "src": "51075:42:1" + "src": "52522:42:0" } ], - "id": 2787, + "id": 2279, "name": "FunctionCall", - "src": "51068:50:1" + "src": "52515:50:0" } ], - "id": 2788, + "id": 2280, "name": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ], - "id": 2789, + "id": 2281, "name": "Block", - "src": "50437:688:1" + "src": "51869:704:0" } ], - "id": 2790, + "id": 2282, "name": "FunctionDefinition", - "src": "50349:776:1" + "src": "51781:792:0" }, { "attributes": { @@ -67792,7 +67792,7 @@ null ], "name": "baseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67802,9 +67802,9 @@ "attributes": { "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, - "id": 2791, + "id": 2283, "name": "StructuredDocumentation", - "src": "51131:221:1" + "src": "52581:225:0" }, { "attributes": { @@ -67813,9 +67813,9 @@ ] }, "children": [], - "id": 2792, + "id": 2284, "name": "ParameterList", - "src": "51373:2:1" + "src": "52828:2:0" }, { "children": [ @@ -67824,7 +67824,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2799, + "scope": 2291, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -67836,25 +67836,25 @@ "name": "string", "type": "string" }, - "id": 2793, + "id": 2285, "name": "ElementaryTypeName", - "src": "51405:6:1" + "src": "52860:6:0" } ], - "id": 2794, + "id": 2286, "name": "VariableDeclaration", - "src": "51405:13:1" + "src": "52860:13:0" } ], - "id": 2795, + "id": 2287, "name": "ParameterList", - "src": "51404:15:1" + "src": "52859:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2795 + "functionReturnParameters": 2287 }, "children": [ { @@ -67862,33 +67862,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 2796, + "id": 2288, "name": "Identifier", - "src": "51437:8:1" + "src": "52893:8:0" } ], - "id": 2797, + "id": 2289, "name": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ], - "id": 2798, + "id": 2290, "name": "Block", - "src": "51420:32:1" + "src": "52875:34:0" } ], - "id": 2799, + "id": 2291, "name": "FunctionDefinition", - "src": "51357:95:1" + "src": "52812:97:0" }, { "attributes": { "baseFunctions": [ - 700 + 192 ], "functionSelector": "2f745c59", "implemented": true, @@ -67898,7 +67898,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67908,9 +67908,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, - "id": 2800, + "id": 2292, "name": "StructuredDocumentation", - "src": "51458:68:1" + "src": "52917:70:0" }, { "attributes": { @@ -67918,9 +67918,9 @@ null ] }, - "id": 2806, + "id": 2298, "name": "OverrideSpecifier", - "src": "51610:8:1" + "src": "53072:8:0" }, { "children": [ @@ -67929,7 +67929,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -67942,21 +67942,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2801, + "id": 2293, "name": "ElementaryTypeName", - "src": "51560:7:1" + "src": "53022:7:0" } ], - "id": 2802, + "id": 2294, "name": "VariableDeclaration", - "src": "51560:13:1" + "src": "53022:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67968,19 +67968,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2803, + "id": 2295, "name": "ElementaryTypeName", - "src": "51575:7:1" + "src": "53037:7:0" } ], - "id": 2804, + "id": 2296, "name": "VariableDeclaration", - "src": "51575:13:1" + "src": "53037:13:0" } ], - "id": 2805, + "id": 2297, "name": "ParameterList", - "src": "51559:30:1" + "src": "53021:30:0" }, { "children": [ @@ -67989,7 +67989,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68001,25 +68001,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2807, + "id": 2299, "name": "ElementaryTypeName", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2808, + "id": 2300, "name": "VariableDeclaration", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2809, + "id": 2301, "name": "ParameterList", - "src": "51627:9:1" + "src": "53089:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2809 + "functionReturnParameters": 2301 }, "children": [ { @@ -68050,7 +68050,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 1920, + "referencedDeclaration": 1412, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" }, "children": [ @@ -68068,74 +68068,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2810, + "id": 2302, "name": "Identifier", - "src": "51654:13:1" + "src": "53117:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2802, + "referencedDeclaration": 2294, "type": "address", "value": "owner" }, - "id": 2811, + "id": 2303, "name": "Identifier", - "src": "51668:5:1" + "src": "53131:5:0" } ], - "id": 2812, + "id": 2304, "name": "IndexAccess", - "src": "51654:20:1" + "src": "53117:20:0" } ], - "id": 2813, + "id": 2305, "name": "MemberAccess", - "src": "51654:23:1" + "src": "53117:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2804, + "referencedDeclaration": 2296, "type": "uint256", "value": "index" }, - "id": 2814, + "id": 2306, "name": "Identifier", - "src": "51678:5:1" + "src": "53141:5:0" } ], - "id": 2815, + "id": 2307, "name": "FunctionCall", - "src": "51654:30:1" + "src": "53117:30:0" } ], - "id": 2816, + "id": 2308, "name": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ], - "id": 2817, + "id": 2309, "name": "Block", - "src": "51637:54:1" + "src": "53099:56:0" } ], - "id": 2818, + "id": 2310, "name": "FunctionDefinition", - "src": "51531:160:1" + "src": "52993:162:0" }, { "attributes": { "baseFunctions": [ - 690 + 182 ], "functionSelector": "18160ddd", "implemented": true, @@ -68145,7 +68145,7 @@ null ], "name": "totalSupply", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -68155,9 +68155,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-totalSupply}." }, - "id": 2819, + "id": 2311, "name": "StructuredDocumentation", - "src": "51697:60:1" + "src": "53163:62:0" }, { "attributes": { @@ -68165,9 +68165,9 @@ null ] }, - "id": 2821, + "id": 2313, "name": "OverrideSpecifier", - "src": "51805:8:1" + "src": "53274:8:0" }, { "attributes": { @@ -68176,9 +68176,9 @@ ] }, "children": [], - "id": 2820, + "id": 2312, "name": "ParameterList", - "src": "51782:2:1" + "src": "53251:2:0" }, { "children": [ @@ -68187,7 +68187,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2830, + "scope": 2322, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68199,25 +68199,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2822, + "id": 2314, "name": "ElementaryTypeName", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2823, + "id": 2315, "name": "VariableDeclaration", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2824, + "id": 2316, "name": "ParameterList", - "src": "51822:9:1" + "src": "53291:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2824 + "functionReturnParameters": 2316 }, "children": [ { @@ -68248,7 +68248,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 2340, + "referencedDeclaration": 1832, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" }, "children": [ @@ -68257,43 +68257,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2825, + "id": 2317, "name": "Identifier", - "src": "51942:12:1" + "src": "53413:12:0" } ], - "id": 2826, + "id": 2318, "name": "MemberAccess", - "src": "51942:19:1" + "src": "53413:19:0" } ], - "id": 2827, + "id": 2319, "name": "FunctionCall", - "src": "51942:21:1" + "src": "53413:21:0" } ], - "id": 2828, + "id": 2320, "name": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ], - "id": 2829, + "id": 2321, "name": "Block", - "src": "51832:138:1" + "src": "53301:141:0" } ], - "id": 2830, + "id": 2322, "name": "FunctionDefinition", - "src": "51762:208:1" + "src": "53231:211:0" }, { "attributes": { "baseFunctions": [ - 708 + 200 ], "functionSelector": "4f6ccce7", "implemented": true, @@ -68303,7 +68303,7 @@ null ], "name": "tokenByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -68313,9 +68313,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, - "id": 2831, + "id": 2323, "name": "StructuredDocumentation", - "src": "51976:61:1" + "src": "53450:63:0" }, { "attributes": { @@ -68323,9 +68323,9 @@ null ] }, - "id": 2835, + "id": 2327, "name": "OverrideSpecifier", - "src": "52099:8:1" + "src": "53576:8:0" }, { "children": [ @@ -68334,7 +68334,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68346,19 +68346,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2832, + "id": 2324, "name": "ElementaryTypeName", - "src": "52064:7:1" + "src": "53541:7:0" } ], - "id": 2833, + "id": 2325, "name": "VariableDeclaration", - "src": "52064:13:1" + "src": "53541:13:0" } ], - "id": 2834, + "id": 2326, "name": "ParameterList", - "src": "52063:15:1" + "src": "53540:15:0" }, { "children": [ @@ -68367,7 +68367,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68379,26 +68379,26 @@ "name": "uint256", "type": "uint256" }, - "id": 2836, + "id": 2328, "name": "ElementaryTypeName", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2837, + "id": 2329, "name": "VariableDeclaration", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2838, + "id": 2330, "name": "ParameterList", - "src": "52116:9:1" + "src": "53593:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2840, + 2332, null ] }, @@ -68408,7 +68408,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2848, + "scope": 2340, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68420,14 +68420,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2839, + "id": 2331, "name": "ElementaryTypeName", - "src": "52137:7:1" + "src": "53615:7:0" } ], - "id": 2840, + "id": 2332, "name": "VariableDeclaration", - "src": "52137:15:1" + "src": "53615:15:0" }, { "attributes": { @@ -68457,7 +68457,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 2379, + "referencedDeclaration": 1871, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" }, "children": [ @@ -68466,45 +68466,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2841, + "id": 2333, "name": "Identifier", - "src": "52158:12:1" + "src": "53636:12:0" } ], - "id": 2842, + "id": 2334, "name": "MemberAccess", - "src": "52158:15:1" + "src": "53636:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2833, + "referencedDeclaration": 2325, "type": "uint256", "value": "index" }, - "id": 2843, + "id": 2335, "name": "Identifier", - "src": "52174:5:1" + "src": "53652:5:0" } ], - "id": 2844, + "id": 2336, "name": "FunctionCall", - "src": "52158:22:1" + "src": "53636:22:0" } ], - "id": 2845, + "id": 2337, "name": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "attributes": { - "functionReturnParameters": 2838 + "functionReturnParameters": 2330 }, "children": [ { @@ -68512,33 +68512,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2840, + "referencedDeclaration": 2332, "type": "uint256", "value": "tokenId" }, - "id": 2846, + "id": 2338, "name": "Identifier", - "src": "52197:7:1" + "src": "53676:7:0" } ], - "id": 2847, + "id": 2339, "name": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ], - "id": 2848, + "id": 2340, "name": "Block", - "src": "52126:85:1" + "src": "53603:88:0" } ], - "id": 2849, + "id": 2341, "name": "FunctionDefinition", - "src": "52042:169:1" + "src": "53519:172:0" }, { "attributes": { "baseFunctions": [ - 616 + 108 ], "functionSelector": "095ea7b3", "implemented": true, @@ -68548,7 +68548,7 @@ null ], "name": "approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -68558,9 +68558,9 @@ "attributes": { "text": " @dev See {IERC721-approve}." }, - "id": 2850, + "id": 2342, "name": "StructuredDocumentation", - "src": "52217:46:1" + "src": "53699:48:0" }, { "attributes": { @@ -68568,9 +68568,9 @@ null ] }, - "id": 2856, + "id": 2348, "name": "OverrideSpecifier", - "src": "52329:8:1" + "src": "53814:8:0" }, { "children": [ @@ -68579,7 +68579,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68592,21 +68592,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2851, + "id": 2343, "name": "ElementaryTypeName", - "src": "52285:7:1" + "src": "53770:7:0" } ], - "id": 2852, + "id": 2344, "name": "VariableDeclaration", - "src": "52285:10:1" + "src": "53770:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68618,19 +68618,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2853, + "id": 2345, "name": "ElementaryTypeName", - "src": "52297:7:1" + "src": "53782:7:0" } ], - "id": 2854, + "id": 2346, "name": "VariableDeclaration", - "src": "52297:15:1" + "src": "53782:15:0" } ], - "id": 2855, + "id": 2347, "name": "ParameterList", - "src": "52284:29:1" + "src": "53769:29:0" }, { "attributes": { @@ -68639,16 +68639,16 @@ ] }, "children": [], - "id": 2857, + "id": 2349, "name": "ParameterList", - "src": "52338:0:1" + "src": "53823:0:0" }, { "children": [ { "attributes": { "assignments": [ - 2859 + 2351 ] }, "children": [ @@ -68657,7 +68657,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2892, + "scope": 2384, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68670,14 +68670,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2858, + "id": 2350, "name": "ElementaryTypeName", - "src": "52348:7:1" + "src": "53834:7:0" } ], - "id": 2859, + "id": 2351, "name": "VariableDeclaration", - "src": "52348:13:1" + "src": "53834:13:0" }, { "attributes": { @@ -68707,7 +68707,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -68716,41 +68716,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2860, + "id": 2352, "name": "Identifier", - "src": "52364:6:1" + "src": "53850:6:0" } ], - "id": 2861, + "id": 2353, "name": "MemberAccess", - "src": "52364:14:1" + "src": "53850:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2862, + "id": 2354, "name": "Identifier", - "src": "52379:7:1" + "src": "53865:7:0" } ], - "id": 2863, + "id": 2355, "name": "FunctionCall", - "src": "52364:23:1" + "src": "53850:23:0" } ], - "id": 2864, + "id": 2356, "name": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "children": [ @@ -68789,9 +68789,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2865, + "id": 2357, "name": "Identifier", - "src": "52397:7:1" + "src": "53884:7:0" }, { "attributes": { @@ -68812,31 +68812,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2866, + "id": 2358, "name": "Identifier", - "src": "52405:2:1" + "src": "53892:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2867, + "id": 2359, "name": "Identifier", - "src": "52411:5:1" + "src": "53898:5:0" } ], - "id": 2868, + "id": 2360, "name": "BinaryOperation", - "src": "52405:11:1" + "src": "53892:11:0" }, { "attributes": { @@ -68849,19 +68849,19 @@ "type": "literal_string \"ERC721: approval to current owner\"", "value": "ERC721: approval to current owner" }, - "id": 2869, + "id": 2361, "name": "Literal", - "src": "52418:35:1" + "src": "53905:35:0" } ], - "id": 2870, + "id": 2362, "name": "FunctionCall", - "src": "52397:57:1" + "src": "53884:57:0" } ], - "id": 2871, + "id": 2363, "name": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "children": [ @@ -68900,9 +68900,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2872, + "id": 2364, "name": "Identifier", - "src": "52465:7:1" + "src": "53954:7:0" }, { "attributes": { @@ -68958,36 +68958,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2873, + "id": 2365, "name": "Identifier", - "src": "52473:10:1" + "src": "53962:10:0" } ], - "id": 2874, + "id": 2366, "name": "FunctionCall", - "src": "52473:12:1" + "src": "53962:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2875, + "id": 2367, "name": "Identifier", - "src": "52489:5:1" + "src": "53978:5:0" } ], - "id": 2876, + "id": 2368, "name": "BinaryOperation", - "src": "52473:21:1" + "src": "53962:21:0" }, { "attributes": { @@ -69021,7 +69021,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -69030,31 +69030,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2877, + "id": 2369, "name": "Identifier", - "src": "52498:6:1" + "src": "53987:6:0" } ], - "id": 2878, + "id": 2370, "name": "MemberAccess", - "src": "52498:23:1" + "src": "53987:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2879, + "id": 2371, "name": "Identifier", - "src": "52522:5:1" + "src": "54011:5:0" }, { "attributes": { @@ -69082,28 +69082,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2880, + "id": 2372, "name": "Identifier", - "src": "52529:10:1" + "src": "54018:10:0" } ], - "id": 2881, + "id": 2373, "name": "FunctionCall", - "src": "52529:12:1" + "src": "54018:12:0" } ], - "id": 2882, + "id": 2374, "name": "FunctionCall", - "src": "52498:44:1" + "src": "53987:44:0" } ], - "id": 2883, + "id": 2375, "name": "BinaryOperation", - "src": "52473:69:1" + "src": "53962:69:0" }, { "attributes": { @@ -69116,19 +69116,19 @@ "type": "literal_string \"ERC721: approve caller is not owner nor approved for all\"", "value": "ERC721: approve caller is not owner nor approved for all" }, - "id": 2884, + "id": 2376, "name": "Literal", - "src": "52556:58:1" + "src": "54046:58:0" } ], - "id": 2885, + "id": 2377, "name": "FunctionCall", - "src": "52465:159:1" + "src": "53954:161:0" } ], - "id": 2886, + "id": 2378, "name": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "children": [ @@ -69162,64 +69162,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 2887, + "id": 2379, "name": "Identifier", - "src": "52635:8:1" + "src": "54128:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2888, + "id": 2380, "name": "Identifier", - "src": "52644:2:1" + "src": "54137:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2889, + "id": 2381, "name": "Identifier", - "src": "52648:7:1" + "src": "54141:7:0" } ], - "id": 2890, + "id": 2382, "name": "FunctionCall", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2891, + "id": 2383, "name": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2892, + "id": 2384, "name": "Block", - "src": "52338:325:1" + "src": "53823:334:0" } ], - "id": 2893, + "id": 2385, "name": "FunctionDefinition", - "src": "52268:395:1" + "src": "53753:404:0" }, { "attributes": { "baseFunctions": [ - 624 + 116 ], "functionSelector": "081812fc", "implemented": true, @@ -69229,7 +69229,7 @@ null ], "name": "getApproved", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -69239,9 +69239,9 @@ "attributes": { "text": " @dev See {IERC721-getApproved}." }, - "id": 2894, + "id": 2386, "name": "StructuredDocumentation", - "src": "52669:50:1" + "src": "54165:52:0" }, { "attributes": { @@ -69249,9 +69249,9 @@ null ] }, - "id": 2898, + "id": 2390, "name": "OverrideSpecifier", - "src": "52782:8:1" + "src": "54281:8:0" }, { "children": [ @@ -69260,7 +69260,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -69272,19 +69272,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2895, + "id": 2387, "name": "ElementaryTypeName", - "src": "52745:7:1" + "src": "54244:7:0" } ], - "id": 2896, + "id": 2388, "name": "VariableDeclaration", - "src": "52745:15:1" + "src": "54244:15:0" } ], - "id": 2897, + "id": 2389, "name": "ParameterList", - "src": "52744:17:1" + "src": "54243:17:0" }, { "children": [ @@ -69293,7 +69293,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69306,19 +69306,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2899, + "id": 2391, "name": "ElementaryTypeName", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2900, + "id": 2392, "name": "VariableDeclaration", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2901, + "id": 2393, "name": "ParameterList", - "src": "52799:9:1" + "src": "54298:9:0" }, { "children": [ @@ -69359,9 +69359,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2902, + "id": 2394, "name": "Identifier", - "src": "52819:7:1" + "src": "54319:7:0" }, { "attributes": { @@ -69389,31 +69389,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2903, + "id": 2395, "name": "Identifier", - "src": "52827:7:1" + "src": "54327:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2904, + "id": 2396, "name": "Identifier", - "src": "52835:7:1" + "src": "54335:7:0" } ], - "id": 2905, + "id": 2397, "name": "FunctionCall", - "src": "52827:16:1" + "src": "54327:16:0" }, { "attributes": { @@ -69426,23 +69426,23 @@ "type": "literal_string \"ERC721: approved query for nonexistent token\"", "value": "ERC721: approved query for nonexistent token" }, - "id": 2906, + "id": 2398, "name": "Literal", - "src": "52845:46:1" + "src": "54345:46:0" } ], - "id": 2907, + "id": 2399, "name": "FunctionCall", - "src": "52819:73:1" + "src": "54319:73:0" } ], - "id": 2908, + "id": 2400, "name": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "attributes": { - "functionReturnParameters": 2901 + "functionReturnParameters": 2393 }, "children": [ { @@ -69459,51 +69459,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 2909, + "id": 2401, "name": "Identifier", - "src": "52910:15:1" + "src": "54412:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2910, + "id": 2402, "name": "Identifier", - "src": "52926:7:1" + "src": "54428:7:0" } ], - "id": 2911, + "id": 2403, "name": "IndexAccess", - "src": "52910:24:1" + "src": "54412:24:0" } ], - "id": 2912, + "id": 2404, "name": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ], - "id": 2913, + "id": 2405, "name": "Block", - "src": "52809:132:1" + "src": "54308:136:0" } ], - "id": 2914, + "id": 2406, "name": "FunctionDefinition", - "src": "52724:217:1" + "src": "54223:221:0" }, { "attributes": { "baseFunctions": [ - 632 + 124 ], "functionSelector": "a22cb465", "implemented": true, @@ -69513,7 +69513,7 @@ null ], "name": "setApprovalForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69523,9 +69523,9 @@ "attributes": { "text": " @dev See {IERC721-setApprovalForAll}." }, - "id": 2915, + "id": 2407, "name": "StructuredDocumentation", - "src": "52947:56:1" + "src": "54452:58:0" }, { "attributes": { @@ -69533,9 +69533,9 @@ null ] }, - "id": 2921, + "id": 2413, "name": "OverrideSpecifier", - "src": "53083:8:1" + "src": "54591:8:0" }, { "children": [ @@ -69544,7 +69544,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69557,21 +69557,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2916, + "id": 2408, "name": "ElementaryTypeName", - "src": "53035:7:1" + "src": "54543:7:0" } ], - "id": 2917, + "id": 2409, "name": "VariableDeclaration", - "src": "53035:16:1" + "src": "54543:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "approved", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69583,19 +69583,19 @@ "name": "bool", "type": "bool" }, - "id": 2918, + "id": 2410, "name": "ElementaryTypeName", - "src": "53053:4:1" + "src": "54561:4:0" } ], - "id": 2919, + "id": 2411, "name": "VariableDeclaration", - "src": "53053:13:1" + "src": "54561:13:0" } ], - "id": 2920, + "id": 2412, "name": "ParameterList", - "src": "53034:33:1" + "src": "54542:33:0" }, { "attributes": { @@ -69604,9 +69604,9 @@ ] }, "children": [], - "id": 2922, + "id": 2414, "name": "ParameterList", - "src": "53092:0:1" + "src": "54600:0:0" }, { "children": [ @@ -69647,9 +69647,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2923, + "id": 2415, "name": "Identifier", - "src": "53102:7:1" + "src": "54611:7:0" }, { "attributes": { @@ -69670,13 +69670,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2924, + "id": 2416, "name": "Identifier", - "src": "53110:8:1" + "src": "54619:8:0" }, { "attributes": { @@ -69704,23 +69704,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2925, + "id": 2417, "name": "Identifier", - "src": "53122:10:1" + "src": "54631:10:0" } ], - "id": 2926, + "id": 2418, "name": "FunctionCall", - "src": "53122:12:1" + "src": "54631:12:0" } ], - "id": 2927, + "id": 2419, "name": "BinaryOperation", - "src": "53110:24:1" + "src": "54619:24:0" }, { "attributes": { @@ -69733,19 +69733,19 @@ "type": "literal_string \"ERC721: approve to caller\"", "value": "ERC721: approve to caller" }, - "id": 2928, + "id": 2420, "name": "Literal", - "src": "53136:27:1" + "src": "54645:27:0" } ], - "id": 2929, + "id": 2421, "name": "FunctionCall", - "src": "53102:62:1" + "src": "54611:62:0" } ], - "id": 2930, + "id": 2422, "name": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "children": [ @@ -69782,13 +69782,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2931, + "id": 2423, "name": "Identifier", - "src": "53175:18:1" + "src": "54686:18:0" }, { "attributes": { @@ -69816,64 +69816,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2932, + "id": 2424, "name": "Identifier", - "src": "53194:10:1" + "src": "54705:10:0" } ], - "id": 2933, + "id": 2425, "name": "FunctionCall", - "src": "53194:12:1" + "src": "54705:12:0" } ], - "id": 2935, + "id": 2427, "name": "IndexAccess", - "src": "53175:32:1" + "src": "54686:32:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2934, + "id": 2426, "name": "Identifier", - "src": "53208:8:1" + "src": "54719:8:0" } ], - "id": 2936, + "id": 2428, "name": "IndexAccess", - "src": "53175:42:1" + "src": "54686:42:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2937, + "id": 2429, "name": "Identifier", - "src": "53220:8:1" + "src": "54731:8:0" } ], - "id": 2938, + "id": 2430, "name": "Assignment", - "src": "53175:53:1" + "src": "54686:53:0" } ], - "id": 2939, + "id": 2431, "name": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "children": [ @@ -69911,13 +69911,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 572, + "referencedDeclaration": 64, "type": "function (address,address,bool)", "value": "ApprovalForAll" }, - "id": 2940, + "id": 2432, "name": "Identifier", - "src": "53243:14:1" + "src": "54755:14:0" }, { "attributes": { @@ -69945,69 +69945,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2941, + "id": 2433, "name": "Identifier", - "src": "53258:10:1" + "src": "54770:10:0" } ], - "id": 2942, + "id": 2434, "name": "FunctionCall", - "src": "53258:12:1" + "src": "54770:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2943, + "id": 2435, "name": "Identifier", - "src": "53272:8:1" + "src": "54784:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2944, + "id": 2436, "name": "Identifier", - "src": "53282:8:1" + "src": "54794:8:0" } ], - "id": 2945, + "id": 2437, "name": "FunctionCall", - "src": "53243:48:1" + "src": "54755:48:0" } ], - "id": 2946, + "id": 2438, "name": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ], - "id": 2947, + "id": 2439, "name": "Block", - "src": "53092:206:1" + "src": "54600:211:0" } ], - "id": 2948, + "id": 2440, "name": "FunctionDefinition", - "src": "53008:290:1" + "src": "54516:295:0" }, { "attributes": { "baseFunctions": [ - 642 + 134 ], "functionSelector": "e985e9c5", "implemented": true, @@ -70017,7 +70017,7 @@ null ], "name": "isApprovedForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -70027,9 +70027,9 @@ "attributes": { "text": " @dev See {IERC721-isApprovedForAll}." }, - "id": 2949, + "id": 2441, "name": "StructuredDocumentation", - "src": "53304:55:1" + "src": "54819:57:0" }, { "attributes": { @@ -70037,9 +70037,9 @@ null ] }, - "id": 2955, + "id": 2447, "name": "OverrideSpecifier", - "src": "53443:8:1" + "src": "54961:8:0" }, { "children": [ @@ -70048,7 +70048,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70061,21 +70061,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2950, + "id": 2442, "name": "ElementaryTypeName", - "src": "53390:7:1" + "src": "54908:7:0" } ], - "id": 2951, + "id": 2443, "name": "VariableDeclaration", - "src": "53390:13:1" + "src": "54908:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70088,19 +70088,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2952, + "id": 2444, "name": "ElementaryTypeName", - "src": "53405:7:1" + "src": "54923:7:0" } ], - "id": 2953, + "id": 2445, "name": "VariableDeclaration", - "src": "53405:16:1" + "src": "54923:16:0" } ], - "id": 2954, + "id": 2446, "name": "ParameterList", - "src": "53389:33:1" + "src": "54907:33:0" }, { "children": [ @@ -70109,7 +70109,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -70121,25 +70121,25 @@ "name": "bool", "type": "bool" }, - "id": 2956, + "id": 2448, "name": "ElementaryTypeName", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2957, + "id": 2449, "name": "VariableDeclaration", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2958, + "id": 2450, "name": "ParameterList", - "src": "53460:6:1" + "src": "54978:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2958 + "functionReturnParameters": 2450 }, "children": [ { @@ -70165,69 +70165,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2959, + "id": 2451, "name": "Identifier", - "src": "53484:18:1" + "src": "55003:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2951, + "referencedDeclaration": 2443, "type": "address", "value": "owner" }, - "id": 2960, + "id": 2452, "name": "Identifier", - "src": "53503:5:1" + "src": "55022:5:0" } ], - "id": 2961, + "id": 2453, "name": "IndexAccess", - "src": "53484:25:1" + "src": "55003:25:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2953, + "referencedDeclaration": 2445, "type": "address", "value": "operator" }, - "id": 2962, + "id": 2454, "name": "Identifier", - "src": "53510:8:1" + "src": "55029:8:0" } ], - "id": 2963, + "id": 2455, "name": "IndexAccess", - "src": "53484:35:1" + "src": "55003:35:0" } ], - "id": 2964, + "id": 2456, "name": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ], - "id": 2965, + "id": 2457, "name": "Block", - "src": "53467:59:1" + "src": "54985:61:0" } ], - "id": 2966, + "id": 2458, "name": "FunctionDefinition", - "src": "53364:162:1" + "src": "54882:164:0" }, { "attributes": { "baseFunctions": [ - 608 + 100 ], "functionSelector": "23b872dd", "implemented": true, @@ -70237,7 +70237,7 @@ null ], "name": "transferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70247,9 +70247,9 @@ "attributes": { "text": " @dev See {IERC721-transferFrom}." }, - "id": 2967, + "id": 2459, "name": "StructuredDocumentation", - "src": "53532:51:1" + "src": "55054:53:0" }, { "attributes": { @@ -70257,9 +70257,9 @@ null ] }, - "id": 2975, + "id": 2467, "name": "OverrideSpecifier", - "src": "53668:8:1" + "src": "55193:8:0" }, { "children": [ @@ -70268,7 +70268,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70281,21 +70281,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2968, + "id": 2460, "name": "ElementaryTypeName", - "src": "53610:7:1" + "src": "55135:7:0" } ], - "id": 2969, + "id": 2461, "name": "VariableDeclaration", - "src": "53610:12:1" + "src": "55135:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70308,21 +70308,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2970, + "id": 2462, "name": "ElementaryTypeName", - "src": "53624:7:1" + "src": "55149:7:0" } ], - "id": 2971, + "id": 2463, "name": "VariableDeclaration", - "src": "53624:10:1" + "src": "55149:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70334,19 +70334,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2972, + "id": 2464, "name": "ElementaryTypeName", - "src": "53636:7:1" + "src": "55161:7:0" } ], - "id": 2973, + "id": 2465, "name": "VariableDeclaration", - "src": "53636:15:1" + "src": "55161:15:0" } ], - "id": 2974, + "id": 2466, "name": "ParameterList", - "src": "53609:43:1" + "src": "55134:43:0" }, { "attributes": { @@ -70355,9 +70355,9 @@ ] }, "children": [], - "id": 2976, + "id": 2468, "name": "ParameterList", - "src": "53677:0:1" + "src": "55202:0:0" }, { "children": [ @@ -70398,9 +70398,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2977, + "id": 2469, "name": "Identifier", - "src": "53739:7:1" + "src": "55266:7:0" }, { "attributes": { @@ -70432,13 +70432,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 2978, + "id": 2470, "name": "Identifier", - "src": "53747:18:1" + "src": "55274:18:0" }, { "attributes": { @@ -70466,36 +70466,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2979, + "id": 2471, "name": "Identifier", - "src": "53766:10:1" + "src": "55293:10:0" } ], - "id": 2980, + "id": 2472, "name": "FunctionCall", - "src": "53766:12:1" + "src": "55293:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2981, + "id": 2473, "name": "Identifier", - "src": "53780:7:1" + "src": "55307:7:0" } ], - "id": 2982, + "id": 2474, "name": "FunctionCall", - "src": "53747:41:1" + "src": "55274:41:0" }, { "attributes": { @@ -70508,19 +70508,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 2983, + "id": 2475, "name": "Literal", - "src": "53790:51:1" + "src": "55317:51:0" } ], - "id": 2984, + "id": 2476, "name": "FunctionCall", - "src": "53739:103:1" + "src": "55266:103:0" } ], - "id": 2985, + "id": 2477, "name": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "children": [ @@ -70558,77 +70558,77 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 2986, + "id": 2478, "name": "Identifier", - "src": "53853:9:1" + "src": "55382:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2969, + "referencedDeclaration": 2461, "type": "address", "value": "from" }, - "id": 2987, + "id": 2479, "name": "Identifier", - "src": "53863:4:1" + "src": "55392:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2971, + "referencedDeclaration": 2463, "type": "address", "value": "to" }, - "id": 2988, + "id": 2480, "name": "Identifier", - "src": "53869:2:1" + "src": "55398:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2989, + "id": 2481, "name": "Identifier", - "src": "53873:7:1" + "src": "55402:7:0" } ], - "id": 2990, + "id": 2482, "name": "FunctionCall", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2991, + "id": 2483, "name": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2992, + "id": 2484, "name": "Block", - "src": "53677:211:1" + "src": "55202:216:0" } ], - "id": 2993, + "id": 2485, "name": "FunctionDefinition", - "src": "53588:300:1" + "src": "55113:305:0" }, { "attributes": { "baseFunctions": [ - 598 + 90 ], "functionSelector": "42842e0e", "implemented": true, @@ -70638,7 +70638,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70648,9 +70648,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 2994, + "id": 2486, "name": "StructuredDocumentation", - "src": "53894:55:1" + "src": "55426:57:0" }, { "attributes": { @@ -70658,9 +70658,9 @@ null ] }, - "id": 3002, + "id": 2494, "name": "OverrideSpecifier", - "src": "54038:8:1" + "src": "55573:8:0" }, { "children": [ @@ -70669,7 +70669,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70682,21 +70682,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2995, + "id": 2487, "name": "ElementaryTypeName", - "src": "53980:7:1" + "src": "55515:7:0" } ], - "id": 2996, + "id": 2488, "name": "VariableDeclaration", - "src": "53980:12:1" + "src": "55515:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70709,21 +70709,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2997, + "id": 2489, "name": "ElementaryTypeName", - "src": "53994:7:1" + "src": "55529:7:0" } ], - "id": 2998, + "id": 2490, "name": "VariableDeclaration", - "src": "53994:10:1" + "src": "55529:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70735,19 +70735,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2999, + "id": 2491, "name": "ElementaryTypeName", - "src": "54006:7:1" + "src": "55541:7:0" } ], - "id": 3000, + "id": 2492, "name": "VariableDeclaration", - "src": "54006:15:1" + "src": "55541:15:0" } ], - "id": 3001, + "id": 2493, "name": "ParameterList", - "src": "53979:43:1" + "src": "55514:43:0" }, { "attributes": { @@ -70756,9 +70756,9 @@ ] }, "children": [], - "id": 3003, + "id": 2495, "name": "ParameterList", - "src": "54047:0:1" + "src": "55582:0:0" }, { "children": [ @@ -70800,55 +70800,55 @@ } ], "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, + "referencedDeclaration": 2534, "type": "function (address,address,uint256,bytes memory)", "value": "safeTransferFrom" }, - "id": 3004, + "id": 2496, "name": "Identifier", - "src": "54057:16:1" + "src": "55593:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2996, + "referencedDeclaration": 2488, "type": "address", "value": "from" }, - "id": 3005, + "id": 2497, "name": "Identifier", - "src": "54074:4:1" + "src": "55610:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2998, + "referencedDeclaration": 2490, "type": "address", "value": "to" }, - "id": 3006, + "id": 2498, "name": "Identifier", - "src": "54080:2:1" + "src": "55616:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3000, + "referencedDeclaration": 2492, "type": "uint256", "value": "tokenId" }, - "id": 3007, + "id": 2499, "name": "Identifier", - "src": "54084:7:1" + "src": "55620:7:0" }, { "attributes": { @@ -70861,34 +70861,34 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3008, + "id": 2500, "name": "Literal", - "src": "54093:2:1" + "src": "55629:2:0" } ], - "id": 3009, + "id": 2501, "name": "FunctionCall", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3010, + "id": 2502, "name": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3011, + "id": 2503, "name": "Block", - "src": "54047:56:1" + "src": "55582:58:0" } ], - "id": 3012, + "id": 2504, "name": "FunctionDefinition", - "src": "53954:149:1" + "src": "55489:151:0" }, { "attributes": { "baseFunctions": [ - 654 + 146 ], "functionSelector": "b88d4fde", "implemented": true, @@ -70898,7 +70898,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70908,9 +70908,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 3013, + "id": 2505, "name": "StructuredDocumentation", - "src": "54109:55:1" + "src": "55648:57:0" }, { "attributes": { @@ -70918,9 +70918,9 @@ null ] }, - "id": 3023, + "id": 2515, "name": "OverrideSpecifier", - "src": "54273:8:1" + "src": "55815:8:0" }, { "children": [ @@ -70929,7 +70929,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70942,21 +70942,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3014, + "id": 2506, "name": "ElementaryTypeName", - "src": "54195:7:1" + "src": "55737:7:0" } ], - "id": 3015, + "id": 2507, "name": "VariableDeclaration", - "src": "54195:12:1" + "src": "55737:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70969,21 +70969,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3016, + "id": 2508, "name": "ElementaryTypeName", - "src": "54209:7:1" + "src": "55751:7:0" } ], - "id": 3017, + "id": 2509, "name": "VariableDeclaration", - "src": "54209:10:1" + "src": "55751:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70995,21 +70995,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3018, + "id": 2510, "name": "ElementaryTypeName", - "src": "54221:7:1" + "src": "55763:7:0" } ], - "id": 3019, + "id": 2511, "name": "VariableDeclaration", - "src": "54221:15:1" + "src": "55763:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -71021,19 +71021,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3020, + "id": 2512, "name": "ElementaryTypeName", - "src": "54238:5:1" + "src": "55780:5:0" } ], - "id": 3021, + "id": 2513, "name": "VariableDeclaration", - "src": "54238:18:1" + "src": "55780:18:0" } ], - "id": 3022, + "id": 2514, "name": "ParameterList", - "src": "54194:63:1" + "src": "55736:63:0" }, { "attributes": { @@ -71042,9 +71042,9 @@ ] }, "children": [], - "id": 3024, + "id": 2516, "name": "ParameterList", - "src": "54282:0:1" + "src": "55824:0:0" }, { "children": [ @@ -71085,9 +71085,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3025, + "id": 2517, "name": "Identifier", - "src": "54292:7:1" + "src": "55835:7:0" }, { "attributes": { @@ -71119,13 +71119,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 3026, + "id": 2518, "name": "Identifier", - "src": "54300:18:1" + "src": "55843:18:0" }, { "attributes": { @@ -71153,36 +71153,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3027, + "id": 2519, "name": "Identifier", - "src": "54319:10:1" + "src": "55862:10:0" } ], - "id": 3028, + "id": 2520, "name": "FunctionCall", - "src": "54319:12:1" + "src": "55862:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3029, + "id": 2521, "name": "Identifier", - "src": "54333:7:1" + "src": "55876:7:0" } ], - "id": 3030, + "id": 2522, "name": "FunctionCall", - "src": "54300:41:1" + "src": "55843:41:0" }, { "attributes": { @@ -71195,19 +71195,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 3031, + "id": 2523, "name": "Literal", - "src": "54343:51:1" + "src": "55886:51:0" } ], - "id": 3032, + "id": 2524, "name": "FunctionCall", - "src": "54292:103:1" + "src": "55835:103:0" } ], - "id": 3033, + "id": 2525, "name": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "children": [ @@ -71249,85 +71249,85 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3071, + "referencedDeclaration": 2563, "type": "function (address,address,uint256,bytes memory)", "value": "_safeTransfer" }, - "id": 3034, + "id": 2526, "name": "Identifier", - "src": "54405:13:1" + "src": "55949:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3015, + "referencedDeclaration": 2507, "type": "address", "value": "from" }, - "id": 3035, + "id": 2527, "name": "Identifier", - "src": "54419:4:1" + "src": "55963:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3017, + "referencedDeclaration": 2509, "type": "address", "value": "to" }, - "id": 3036, + "id": 2528, "name": "Identifier", - "src": "54425:2:1" + "src": "55969:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3037, + "id": 2529, "name": "Identifier", - "src": "54429:7:1" + "src": "55973:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3021, + "referencedDeclaration": 2513, "type": "bytes memory", "value": "_data" }, - "id": 3038, + "id": 2530, "name": "Identifier", - "src": "54438:5:1" + "src": "55982:5:0" } ], - "id": 3039, + "id": 2531, "name": "FunctionCall", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3040, + "id": 2532, "name": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3041, + "id": 2533, "name": "Block", - "src": "54282:169:1" + "src": "55824:172:0" } ], - "id": 3042, + "id": 2534, "name": "FunctionDefinition", - "src": "54169:282:1" + "src": "55711:285:0" }, { "attributes": { @@ -71338,7 +71338,7 @@ null ], "name": "_safeTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -71348,9 +71348,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3043, + "id": 2535, "name": "StructuredDocumentation", - "src": "54457:851:1" + "src": "56004:868:0" }, { "children": [ @@ -71359,7 +71359,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71372,21 +71372,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3044, + "id": 2536, "name": "ElementaryTypeName", - "src": "55336:7:1" + "src": "56901:7:0" } ], - "id": 3045, + "id": 2537, "name": "VariableDeclaration", - "src": "55336:12:1" + "src": "56901:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71399,21 +71399,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3046, + "id": 2538, "name": "ElementaryTypeName", - "src": "55350:7:1" + "src": "56915:7:0" } ], - "id": 3047, + "id": 2539, "name": "VariableDeclaration", - "src": "55350:10:1" + "src": "56915:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71425,21 +71425,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3048, + "id": 2540, "name": "ElementaryTypeName", - "src": "55362:7:1" + "src": "56927:7:0" } ], - "id": 3049, + "id": 2541, "name": "VariableDeclaration", - "src": "55362:15:1" + "src": "56927:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -71451,19 +71451,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3050, + "id": 2542, "name": "ElementaryTypeName", - "src": "55379:5:1" + "src": "56944:5:0" } ], - "id": 3051, + "id": 2543, "name": "VariableDeclaration", - "src": "55379:18:1" + "src": "56944:18:0" } ], - "id": 3052, + "id": 2544, "name": "ParameterList", - "src": "55335:63:1" + "src": "56900:63:0" }, { "attributes": { @@ -71472,9 +71472,9 @@ ] }, "children": [], - "id": 3053, + "id": 2545, "name": "ParameterList", - "src": "55416:0:1" + "src": "56981:0:0" }, { "children": [ @@ -71514,62 +71514,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 3054, + "id": 2546, "name": "Identifier", - "src": "55426:9:1" + "src": "56992:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3055, + "id": 2547, "name": "Identifier", - "src": "55436:4:1" + "src": "57002:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3056, + "id": 2548, "name": "Identifier", - "src": "55442:2:1" + "src": "57008:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3057, + "id": 2549, "name": "Identifier", - "src": "55446:7:1" + "src": "57012:7:0" } ], - "id": 3058, + "id": 2550, "name": "FunctionCall", - "src": "55426:28:1" + "src": "56992:28:0" } ], - "id": 3059, + "id": 2551, "name": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "children": [ @@ -71608,9 +71608,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3060, + "id": 2552, "name": "Identifier", - "src": "55464:7:1" + "src": "57031:7:0" }, { "attributes": { @@ -71650,70 +71650,70 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3061, + "id": 2553, "name": "Identifier", - "src": "55472:22:1" + "src": "57039:22:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3062, + "id": 2554, "name": "Identifier", - "src": "55495:4:1" + "src": "57062:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3063, + "id": 2555, "name": "Identifier", - "src": "55501:2:1" + "src": "57068:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3064, + "id": 2556, "name": "Identifier", - "src": "55505:7:1" + "src": "57072:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3051, + "referencedDeclaration": 2543, "type": "bytes memory", "value": "_data" }, - "id": 3065, + "id": 2557, "name": "Identifier", - "src": "55514:5:1" + "src": "57081:5:0" } ], - "id": 3066, + "id": 2558, "name": "FunctionCall", - "src": "55472:48:1" + "src": "57039:48:0" }, { "attributes": { @@ -71726,29 +71726,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3067, + "id": 2559, "name": "Literal", - "src": "55522:52:1" + "src": "57089:52:0" } ], - "id": 3068, + "id": 2560, "name": "FunctionCall", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3069, + "id": 2561, "name": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3070, + "id": 2562, "name": "Block", - "src": "55416:166:1" + "src": "56981:169:0" } ], - "id": 3071, + "id": 2563, "name": "FunctionDefinition", - "src": "55313:269:1" + "src": "56878:272:0" }, { "attributes": { @@ -71759,7 +71759,7 @@ null ], "name": "_exists", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71769,9 +71769,9 @@ "attributes": { "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3072, + "id": 2564, "name": "StructuredDocumentation", - "src": "55588:292:1" + "src": "57158:299:0" }, { "children": [ @@ -71780,7 +71780,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71792,19 +71792,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3073, + "id": 2565, "name": "ElementaryTypeName", - "src": "55902:7:1" + "src": "57480:7:0" } ], - "id": 3074, + "id": 2566, "name": "VariableDeclaration", - "src": "55902:15:1" + "src": "57480:15:0" } ], - "id": 3075, + "id": 2567, "name": "ParameterList", - "src": "55901:17:1" + "src": "57479:17:0" }, { "children": [ @@ -71813,7 +71813,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71825,25 +71825,25 @@ "name": "bool", "type": "bool" }, - "id": 3076, + "id": 2568, "name": "ElementaryTypeName", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3077, + "id": 2569, "name": "VariableDeclaration", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3078, + "id": 2570, "name": "ParameterList", - "src": "55949:6:1" + "src": "57527:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3078 + "functionReturnParameters": 2570 }, "children": [ { @@ -71874,7 +71874,7 @@ "isPure": false, "lValueRequested": false, "member_name": "contains", - "referencedDeclaration": 2326, + "referencedDeclaration": 1818, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" }, "children": [ @@ -71883,51 +71883,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3079, + "id": 2571, "name": "Identifier", - "src": "55973:12:1" + "src": "57552:12:0" } ], - "id": 3080, + "id": 2572, "name": "MemberAccess", - "src": "55973:21:1" + "src": "57552:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3074, + "referencedDeclaration": 2566, "type": "uint256", "value": "tokenId" }, - "id": 3081, + "id": 2573, "name": "Identifier", - "src": "55995:7:1" + "src": "57574:7:0" } ], - "id": 3082, + "id": 2574, "name": "FunctionCall", - "src": "55973:30:1" + "src": "57552:30:0" } ], - "id": 3083, + "id": 2575, "name": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ], - "id": 3084, + "id": 2576, "name": "Block", - "src": "55956:54:1" + "src": "57534:56:0" } ], - "id": 3085, + "id": 2577, "name": "FunctionDefinition", - "src": "55885:125:1" + "src": "57463:127:0" }, { "attributes": { @@ -71938,7 +71938,7 @@ null ], "name": "_isApprovedOrOwner", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71948,9 +71948,9 @@ "attributes": { "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3086, + "id": 2578, "name": "StructuredDocumentation", - "src": "56016:147:1" + "src": "57598:153:0" }, { "children": [ @@ -71959,7 +71959,7 @@ "constant": false, "mutability": "mutable", "name": "spender", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71972,21 +71972,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3087, + "id": 2579, "name": "ElementaryTypeName", - "src": "56196:7:1" + "src": "57785:7:0" } ], - "id": 3088, + "id": 2580, "name": "VariableDeclaration", - "src": "56196:15:1" + "src": "57785:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71998,19 +71998,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3089, + "id": 2581, "name": "ElementaryTypeName", - "src": "56213:7:1" + "src": "57802:7:0" } ], - "id": 3090, + "id": 2582, "name": "VariableDeclaration", - "src": "56213:15:1" + "src": "57802:15:0" } ], - "id": 3091, + "id": 2583, "name": "ParameterList", - "src": "56195:34:1" + "src": "57784:34:0" }, { "children": [ @@ -72019,7 +72019,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -72031,19 +72031,19 @@ "name": "bool", "type": "bool" }, - "id": 3092, + "id": 2584, "name": "ElementaryTypeName", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3093, + "id": 2585, "name": "VariableDeclaration", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3094, + "id": 2586, "name": "ParameterList", - "src": "56260:6:1" + "src": "57849:6:0" }, { "children": [ @@ -72084,9 +72084,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3095, + "id": 2587, "name": "Identifier", - "src": "56277:7:1" + "src": "57867:7:0" }, { "attributes": { @@ -72114,31 +72114,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3096, + "id": 2588, "name": "Identifier", - "src": "56285:7:1" + "src": "57875:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3097, + "id": 2589, "name": "Identifier", - "src": "56293:7:1" + "src": "57883:7:0" } ], - "id": 3098, + "id": 2590, "name": "FunctionCall", - "src": "56285:16:1" + "src": "57875:16:0" }, { "attributes": { @@ -72151,24 +72151,24 @@ "type": "literal_string \"ERC721: operator query for nonexistent token\"", "value": "ERC721: operator query for nonexistent token" }, - "id": 3099, + "id": 2591, "name": "Literal", - "src": "56303:46:1" + "src": "57893:46:0" } ], - "id": 3100, + "id": 2592, "name": "FunctionCall", - "src": "56277:73:1" + "src": "57867:73:0" } ], - "id": 3101, + "id": 2593, "name": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "attributes": { "assignments": [ - 3103 + 2595 ] }, "children": [ @@ -72177,7 +72177,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3126, + "scope": 2618, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72190,14 +72190,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3102, + "id": 2594, "name": "ElementaryTypeName", - "src": "56360:7:1" + "src": "57951:7:0" } ], - "id": 3103, + "id": 2595, "name": "VariableDeclaration", - "src": "56360:13:1" + "src": "57951:13:0" }, { "attributes": { @@ -72227,7 +72227,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -72236,45 +72236,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3104, + "id": 2596, "name": "Identifier", - "src": "56376:6:1" + "src": "57967:6:0" } ], - "id": 3105, + "id": 2597, "name": "MemberAccess", - "src": "56376:14:1" + "src": "57967:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3106, + "id": 2598, "name": "Identifier", - "src": "56391:7:1" + "src": "57982:7:0" } ], - "id": 3107, + "id": 2599, "name": "FunctionCall", - "src": "56376:23:1" + "src": "57967:23:0" } ], - "id": 3108, + "id": 2600, "name": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "attributes": { - "functionReturnParameters": 3094 + "functionReturnParameters": 2586 }, "children": [ { @@ -72334,31 +72334,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3109, + "id": 2601, "name": "Identifier", - "src": "56417:7:1" + "src": "58009:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3110, + "id": 2602, "name": "Identifier", - "src": "56428:5:1" + "src": "58020:5:0" } ], - "id": 3111, + "id": 2603, "name": "BinaryOperation", - "src": "56417:16:1" + "src": "58009:16:0" }, { "attributes": { @@ -72400,54 +72400,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2914, + "referencedDeclaration": 2406, "type": "function (uint256) view returns (address)", "value": "getApproved" }, - "id": 3112, + "id": 2604, "name": "Identifier", - "src": "56437:11:1" + "src": "58029:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3113, + "id": 2605, "name": "Identifier", - "src": "56449:7:1" + "src": "58041:7:0" } ], - "id": 3114, + "id": 2606, "name": "FunctionCall", - "src": "56437:20:1" + "src": "58029:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3115, + "id": 2607, "name": "Identifier", - "src": "56461:7:1" + "src": "58053:7:0" } ], - "id": 3116, + "id": 2608, "name": "BinaryOperation", - "src": "56437:31:1" + "src": "58029:31:0" } ], - "id": 3117, + "id": 2609, "name": "BinaryOperation", - "src": "56417:51:1" + "src": "58009:51:0" }, { "attributes": { @@ -72481,7 +72481,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -72490,74 +72490,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3118, + "id": 2610, "name": "Identifier", - "src": "56472:6:1" + "src": "58064:6:0" } ], - "id": 3119, + "id": 2611, "name": "MemberAccess", - "src": "56472:23:1" + "src": "58064:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3120, + "id": 2612, "name": "Identifier", - "src": "56496:5:1" + "src": "58088:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3121, + "id": 2613, "name": "Identifier", - "src": "56503:7:1" + "src": "58095:7:0" } ], - "id": 3122, + "id": 2614, "name": "FunctionCall", - "src": "56472:39:1" + "src": "58064:39:0" } ], - "id": 3123, + "id": 2615, "name": "BinaryOperation", - "src": "56417:94:1" + "src": "58009:94:0" } ], - "id": 3124, + "id": 2616, "name": "TupleExpression", - "src": "56416:96:1" + "src": "58008:96:0" } ], - "id": 3125, + "id": 2617, "name": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ], - "id": 3126, + "id": 2618, "name": "Block", - "src": "56267:252:1" + "src": "57856:256:0" } ], - "id": 3127, + "id": 2619, "name": "FunctionDefinition", - "src": "56168:351:1" + "src": "57757:355:0" }, { "attributes": { @@ -72568,7 +72568,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72578,9 +72578,9 @@ "attributes": { "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3128, + "id": 2620, "name": "StructuredDocumentation", - "src": "56525:320:1" + "src": "58120:329:0" }, { "children": [ @@ -72589,7 +72589,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72602,21 +72602,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3129, + "id": 2621, "name": "ElementaryTypeName", - "src": "56869:7:1" + "src": "58474:7:0" } ], - "id": 3130, + "id": 2622, "name": "VariableDeclaration", - "src": "56869:10:1" + "src": "58474:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72628,19 +72628,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3131, + "id": 2623, "name": "ElementaryTypeName", - "src": "56881:7:1" + "src": "58486:7:0" } ], - "id": 3132, + "id": 2624, "name": "VariableDeclaration", - "src": "56881:15:1" + "src": "58486:15:0" } ], - "id": 3133, + "id": 2625, "name": "ParameterList", - "src": "56868:29:1" + "src": "58473:29:0" }, { "attributes": { @@ -72649,9 +72649,9 @@ ] }, "children": [], - "id": 3134, + "id": 2626, "name": "ParameterList", - "src": "56915:0:1" + "src": "58520:0:0" }, { "children": [ @@ -72689,42 +72689,42 @@ } ], "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, + "referencedDeclaration": 2663, "type": "function (address,uint256,bytes memory)", "value": "_safeMint" }, - "id": 3135, + "id": 2627, "name": "Identifier", - "src": "56925:9:1" + "src": "58531:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3130, + "referencedDeclaration": 2622, "type": "address", "value": "to" }, - "id": 3136, + "id": 2628, "name": "Identifier", - "src": "56935:2:1" + "src": "58541:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3132, + "referencedDeclaration": 2624, "type": "uint256", "value": "tokenId" }, - "id": 3137, + "id": 2629, "name": "Identifier", - "src": "56939:7:1" + "src": "58545:7:0" }, { "attributes": { @@ -72737,29 +72737,29 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3138, + "id": 2630, "name": "Literal", - "src": "56948:2:1" + "src": "58554:2:0" } ], - "id": 3139, + "id": 2631, "name": "FunctionCall", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3140, + "id": 2632, "name": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3141, + "id": 2633, "name": "Block", - "src": "56915:43:1" + "src": "58520:45:0" } ], - "id": 3142, + "id": 2634, "name": "FunctionDefinition", - "src": "56850:108:1" + "src": "58455:110:0" }, { "attributes": { @@ -72770,7 +72770,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72780,9 +72780,9 @@ "attributes": { "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3143, + "id": 2635, "name": "StructuredDocumentation", - "src": "56964:210:1" + "src": "58573:213:0" }, { "children": [ @@ -72791,7 +72791,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72804,21 +72804,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3144, + "id": 2636, "name": "ElementaryTypeName", - "src": "57198:7:1" + "src": "58811:7:0" } ], - "id": 3145, + "id": 2637, "name": "VariableDeclaration", - "src": "57198:10:1" + "src": "58811:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72830,21 +72830,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3146, + "id": 2638, "name": "ElementaryTypeName", - "src": "57210:7:1" + "src": "58823:7:0" } ], - "id": 3147, + "id": 2639, "name": "VariableDeclaration", - "src": "57210:15:1" + "src": "58823:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -72856,19 +72856,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3148, + "id": 2640, "name": "ElementaryTypeName", - "src": "57227:5:1" + "src": "58840:5:0" } ], - "id": 3149, + "id": 2641, "name": "VariableDeclaration", - "src": "57227:18:1" + "src": "58840:18:0" } ], - "id": 3150, + "id": 2642, "name": "ParameterList", - "src": "57197:49:1" + "src": "58810:49:0" }, { "attributes": { @@ -72877,9 +72877,9 @@ ] }, "children": [], - "id": 3151, + "id": 2643, "name": "ParameterList", - "src": "57264:0:1" + "src": "58877:0:0" }, { "children": [ @@ -72915,49 +72915,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3230, + "referencedDeclaration": 2722, "type": "function (address,uint256)", "value": "_mint" }, - "id": 3152, + "id": 2644, "name": "Identifier", - "src": "57274:5:1" + "src": "58888:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3153, + "id": 2645, "name": "Identifier", - "src": "57280:2:1" + "src": "58894:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3154, + "id": 2646, "name": "Identifier", - "src": "57284:7:1" + "src": "58898:7:0" } ], - "id": 3155, + "id": 2647, "name": "FunctionCall", - "src": "57274:18:1" + "src": "58888:18:0" } ], - "id": 3156, + "id": 2648, "name": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "children": [ @@ -72996,9 +72996,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3157, + "id": 2649, "name": "Identifier", - "src": "57302:7:1" + "src": "58917:7:0" }, { "attributes": { @@ -73038,13 +73038,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3158, + "id": 2650, "name": "Identifier", - "src": "57310:22:1" + "src": "58925:22:0" }, { "attributes": { @@ -73080,14 +73080,14 @@ "attributes": { "name": "address" }, - "id": 3159, + "id": 2651, "name": "ElementaryTypeName", - "src": "57333:7:1" + "src": "58948:7:0" } ], - "id": 3160, + "id": 2652, "name": "ElementaryTypeNameExpression", - "src": "57333:7:1" + "src": "58948:7:0" }, { "attributes": { @@ -73100,58 +73100,58 @@ "type": "int_const 0", "value": "0" }, - "id": 3161, + "id": 2653, "name": "Literal", - "src": "57341:1:1" + "src": "58956:1:0" } ], - "id": 3162, + "id": 2654, "name": "FunctionCall", - "src": "57333:10:1" + "src": "58948:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3163, + "id": 2655, "name": "Identifier", - "src": "57345:2:1" + "src": "58960:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3164, + "id": 2656, "name": "Identifier", - "src": "57349:7:1" + "src": "58964:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3149, + "referencedDeclaration": 2641, "type": "bytes memory", "value": "_data" }, - "id": 3165, + "id": 2657, "name": "Identifier", - "src": "57358:5:1" + "src": "58973:5:0" } ], - "id": 3166, + "id": 2658, "name": "FunctionCall", - "src": "57310:54:1" + "src": "58925:54:0" }, { "attributes": { @@ -73164,29 +73164,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3167, + "id": 2659, "name": "Literal", - "src": "57366:52:1" + "src": "58981:52:0" } ], - "id": 3168, + "id": 2660, "name": "FunctionCall", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3169, + "id": 2661, "name": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3170, + "id": 2662, "name": "Block", - "src": "57264:162:1" + "src": "58877:165:0" } ], - "id": 3171, + "id": 2663, "name": "FunctionDefinition", - "src": "57179:247:1" + "src": "58792:250:0" }, { "attributes": { @@ -73197,7 +73197,7 @@ null ], "name": "_mint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -73207,9 +73207,9 @@ "attributes": { "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3172, + "id": 2664, "name": "StructuredDocumentation", - "src": "57432:311:1" + "src": "59050:322:0" }, { "children": [ @@ -73218,7 +73218,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -73231,21 +73231,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3173, + "id": 2665, "name": "ElementaryTypeName", - "src": "57763:7:1" + "src": "59393:7:0" } ], - "id": 3174, + "id": 2666, "name": "VariableDeclaration", - "src": "57763:10:1" + "src": "59393:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -73257,19 +73257,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3175, + "id": 2667, "name": "ElementaryTypeName", - "src": "57775:7:1" + "src": "59405:7:0" } ], - "id": 3176, + "id": 2668, "name": "VariableDeclaration", - "src": "57775:15:1" + "src": "59405:15:0" } ], - "id": 3177, + "id": 2669, "name": "ParameterList", - "src": "57762:29:1" + "src": "59392:29:0" }, { "attributes": { @@ -73278,9 +73278,9 @@ ] }, "children": [], - "id": 3178, + "id": 2670, "name": "ParameterList", - "src": "57809:0:1" + "src": "59439:0:0" }, { "children": [ @@ -73321,9 +73321,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3179, + "id": 2671, "name": "Identifier", - "src": "57819:7:1" + "src": "59450:7:0" }, { "attributes": { @@ -73344,13 +73344,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3180, + "id": 2672, "name": "Identifier", - "src": "57827:2:1" + "src": "59458:2:0" }, { "attributes": { @@ -73386,14 +73386,14 @@ "attributes": { "name": "address" }, - "id": 3181, + "id": 2673, "name": "ElementaryTypeName", - "src": "57833:7:1" + "src": "59464:7:0" } ], - "id": 3182, + "id": 2674, "name": "ElementaryTypeNameExpression", - "src": "57833:7:1" + "src": "59464:7:0" }, { "attributes": { @@ -73406,19 +73406,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3183, + "id": 2675, "name": "Literal", - "src": "57841:1:1" + "src": "59472:1:0" } ], - "id": 3184, + "id": 2676, "name": "FunctionCall", - "src": "57833:10:1" + "src": "59464:10:0" } ], - "id": 3185, + "id": 2677, "name": "BinaryOperation", - "src": "57827:16:1" + "src": "59458:16:0" }, { "attributes": { @@ -73431,19 +73431,19 @@ "type": "literal_string \"ERC721: mint to the zero address\"", "value": "ERC721: mint to the zero address" }, - "id": 3186, + "id": 2678, "name": "Literal", - "src": "57845:34:1" + "src": "59476:34:0" } ], - "id": 3187, + "id": 2679, "name": "FunctionCall", - "src": "57819:61:1" + "src": "59450:61:0" } ], - "id": 3188, + "id": 2680, "name": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "children": [ @@ -73482,9 +73482,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3189, + "id": 2681, "name": "Identifier", - "src": "57890:7:1" + "src": "59522:7:0" }, { "attributes": { @@ -73523,36 +73523,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3190, + "id": 2682, "name": "Identifier", - "src": "57899:7:1" + "src": "59531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3191, + "id": 2683, "name": "Identifier", - "src": "57907:7:1" + "src": "59539:7:0" } ], - "id": 3192, + "id": 2684, "name": "FunctionCall", - "src": "57899:16:1" + "src": "59531:16:0" } ], - "id": 3193, + "id": 2685, "name": "UnaryOperation", - "src": "57898:17:1" + "src": "59530:17:0" }, { "attributes": { @@ -73565,19 +73565,19 @@ "type": "literal_string \"ERC721: token already minted\"", "value": "ERC721: token already minted" }, - "id": 3194, + "id": 2686, "name": "Literal", - "src": "57917:30:1" + "src": "59549:30:0" } ], - "id": 3195, + "id": 2687, "name": "FunctionCall", - "src": "57890:58:1" + "src": "59522:58:0" } ], - "id": 3196, + "id": 2688, "name": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "children": [ @@ -73615,13 +73615,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3197, + "id": 2689, "name": "Identifier", - "src": "57959:20:1" + "src": "59593:20:0" }, { "attributes": { @@ -73657,14 +73657,14 @@ "attributes": { "name": "address" }, - "id": 3198, + "id": 2690, "name": "ElementaryTypeName", - "src": "57980:7:1" + "src": "59614:7:0" } ], - "id": 3199, + "id": 2691, "name": "ElementaryTypeNameExpression", - "src": "57980:7:1" + "src": "59614:7:0" }, { "attributes": { @@ -73677,50 +73677,50 @@ "type": "int_const 0", "value": "0" }, - "id": 3200, + "id": 2692, "name": "Literal", - "src": "57988:1:1" + "src": "59622:1:0" } ], - "id": 3201, + "id": 2693, "name": "FunctionCall", - "src": "57980:10:1" + "src": "59614:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3202, + "id": 2694, "name": "Identifier", - "src": "57992:2:1" + "src": "59626:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3203, + "id": 2695, "name": "Identifier", - "src": "57996:7:1" + "src": "59630:7:0" } ], - "id": 3204, + "id": 2696, "name": "FunctionCall", - "src": "57959:45:1" + "src": "59593:45:0" } ], - "id": 3205, + "id": 2697, "name": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "children": [ @@ -73752,7 +73752,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -73770,59 +73770,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3206, + "id": 2698, "name": "Identifier", - "src": "58015:13:1" + "src": "59651:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3207, + "id": 2699, "name": "Identifier", - "src": "58029:2:1" + "src": "59665:2:0" } ], - "id": 3208, + "id": 2700, "name": "IndexAccess", - "src": "58015:17:1" + "src": "59651:17:0" } ], - "id": 3209, + "id": 2701, "name": "MemberAccess", - "src": "58015:21:1" + "src": "59651:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3210, + "id": 2702, "name": "Identifier", - "src": "58037:7:1" + "src": "59673:7:0" } ], - "id": 3211, + "id": 2703, "name": "FunctionCall", - "src": "58015:30:1" + "src": "59651:30:0" } ], - "id": 3212, + "id": 2704, "name": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "children": [ @@ -73858,7 +73858,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -73867,54 +73867,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3213, + "id": 2705, "name": "Identifier", - "src": "58056:12:1" + "src": "59694:12:0" } ], - "id": 3215, + "id": 2707, "name": "MemberAccess", - "src": "58056:16:1" + "src": "59694:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3216, + "id": 2708, "name": "Identifier", - "src": "58073:7:1" + "src": "59711:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3217, + "id": 2709, "name": "Identifier", - "src": "58082:2:1" + "src": "59720:2:0" } ], - "id": 3218, + "id": 2710, "name": "FunctionCall", - "src": "58056:29:1" + "src": "59694:29:0" } ], - "id": 3219, + "id": 2711, "name": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "children": [ @@ -73952,13 +73952,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3220, + "id": 2712, "name": "Identifier", - "src": "58101:8:1" + "src": "59741:8:0" }, { "attributes": { @@ -73994,14 +73994,14 @@ "attributes": { "name": "address" }, - "id": 3221, + "id": 2713, "name": "ElementaryTypeName", - "src": "58110:7:1" + "src": "59750:7:0" } ], - "id": 3222, + "id": 2714, "name": "ElementaryTypeNameExpression", - "src": "58110:7:1" + "src": "59750:7:0" }, { "attributes": { @@ -74014,60 +74014,60 @@ "type": "int_const 0", "value": "0" }, - "id": 3223, + "id": 2715, "name": "Literal", - "src": "58118:1:1" + "src": "59758:1:0" } ], - "id": 3224, + "id": 2716, "name": "FunctionCall", - "src": "58110:10:1" + "src": "59750:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3225, + "id": 2717, "name": "Identifier", - "src": "58122:2:1" + "src": "59762:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3226, + "id": 2718, "name": "Identifier", - "src": "58126:7:1" + "src": "59766:7:0" } ], - "id": 3227, + "id": 2719, "name": "FunctionCall", - "src": "58101:33:1" + "src": "59741:33:0" } ], - "id": 3228, + "id": 2720, "name": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ], - "id": 3229, + "id": 2721, "name": "Block", - "src": "57809:332:1" + "src": "59439:343:0" } ], - "id": 3230, + "id": 2722, "name": "FunctionDefinition", - "src": "57748:393:1" + "src": "59378:404:0" }, { "attributes": { @@ -74078,7 +74078,7 @@ null ], "name": "_burn", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -74088,9 +74088,9 @@ "attributes": { "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3231, + "id": 2723, "name": "StructuredDocumentation", - "src": "58147:206:1" + "src": "59790:215:0" }, { "children": [ @@ -74099,7 +74099,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3299, + "scope": 2791, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -74111,19 +74111,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3232, + "id": 2724, "name": "ElementaryTypeName", - "src": "58373:7:1" + "src": "60026:7:0" } ], - "id": 3233, + "id": 2725, "name": "VariableDeclaration", - "src": "58373:15:1" + "src": "60026:15:0" } ], - "id": 3234, + "id": 2726, "name": "ParameterList", - "src": "58372:17:1" + "src": "60025:17:0" }, { "attributes": { @@ -74132,16 +74132,16 @@ ] }, "children": [], - "id": 3235, + "id": 2727, "name": "ParameterList", - "src": "58407:0:1" + "src": "60060:0:0" }, { "children": [ { "attributes": { "assignments": [ - 3237 + 2729 ] }, "children": [ @@ -74150,7 +74150,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3298, + "scope": 2790, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74163,14 +74163,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3236, + "id": 2728, "name": "ElementaryTypeName", - "src": "58417:7:1" + "src": "60071:7:0" } ], - "id": 3237, + "id": 2729, "name": "VariableDeclaration", - "src": "58417:13:1" + "src": "60071:13:0" }, { "attributes": { @@ -74200,7 +74200,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -74209,41 +74209,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3238, + "id": 2730, "name": "Identifier", - "src": "58433:6:1" + "src": "60087:6:0" } ], - "id": 3239, + "id": 2731, "name": "MemberAccess", - "src": "58433:14:1" + "src": "60087:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3240, + "id": 2732, "name": "Identifier", - "src": "58448:7:1" + "src": "60102:7:0" } ], - "id": 3241, + "id": 2733, "name": "FunctionCall", - "src": "58433:23:1" + "src": "60087:23:0" } ], - "id": 3242, + "id": 2734, "name": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "children": [ @@ -74281,26 +74281,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3243, + "id": 2735, "name": "Identifier", - "src": "58485:20:1" + "src": "60141:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3244, + "id": 2736, "name": "Identifier", - "src": "58506:5:1" + "src": "60162:5:0" }, { "attributes": { @@ -74336,14 +74336,14 @@ "attributes": { "name": "address" }, - "id": 3245, + "id": 2737, "name": "ElementaryTypeName", - "src": "58513:7:1" + "src": "60169:7:0" } ], - "id": 3246, + "id": 2738, "name": "ElementaryTypeNameExpression", - "src": "58513:7:1" + "src": "60169:7:0" }, { "attributes": { @@ -74356,37 +74356,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3247, + "id": 2739, "name": "Literal", - "src": "58521:1:1" + "src": "60177:1:0" } ], - "id": 3248, + "id": 2740, "name": "FunctionCall", - "src": "58513:10:1" + "src": "60169:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3249, + "id": 2741, "name": "Identifier", - "src": "58525:7:1" + "src": "60181:7:0" } ], - "id": 3250, + "id": 2742, "name": "FunctionCall", - "src": "58485:48:1" + "src": "60141:48:0" } ], - "id": 3251, + "id": 2743, "name": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "children": [ @@ -74420,13 +74420,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3252, + "id": 2744, "name": "Identifier", - "src": "58571:8:1" + "src": "60230:8:0" }, { "attributes": { @@ -74462,14 +74462,14 @@ "attributes": { "name": "address" }, - "id": 3253, + "id": 2745, "name": "ElementaryTypeName", - "src": "58580:7:1" + "src": "60239:7:0" } ], - "id": 3254, + "id": 2746, "name": "ElementaryTypeNameExpression", - "src": "58580:7:1" + "src": "60239:7:0" }, { "attributes": { @@ -74482,37 +74482,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3255, + "id": 2747, "name": "Literal", - "src": "58588:1:1" + "src": "60247:1:0" } ], - "id": 3256, + "id": 2748, "name": "FunctionCall", - "src": "58580:10:1" + "src": "60239:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3257, + "id": 2749, "name": "Identifier", - "src": "58592:7:1" + "src": "60251:7:0" } ], - "id": 3258, + "id": 2750, "name": "FunctionCall", - "src": "58571:29:1" + "src": "60230:29:0" } ], - "id": 3259, + "id": 2751, "name": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "attributes": {}, @@ -74575,14 +74575,14 @@ "attributes": { "name": "bytes" }, - "id": 3260, + "id": 2752, "name": "ElementaryTypeName", - "src": "58650:5:1" + "src": "60312:5:0" } ], - "id": 3261, + "id": 2753, "name": "ElementaryTypeNameExpression", - "src": "58650:5:1" + "src": "60312:5:0" }, { "attributes": { @@ -74598,41 +74598,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3262, + "id": 2754, "name": "Identifier", - "src": "58656:10:1" + "src": "60318:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3263, + "id": 2755, "name": "Identifier", - "src": "58667:7:1" + "src": "60329:7:0" } ], - "id": 3264, + "id": 2756, "name": "IndexAccess", - "src": "58656:19:1" + "src": "60318:19:0" } ], - "id": 3265, + "id": 2757, "name": "FunctionCall", - "src": "58650:26:1" + "src": "60312:26:0" } ], - "id": 3266, + "id": 2758, "name": "MemberAccess", - "src": "58650:33:1" + "src": "60312:33:0" }, { "attributes": { @@ -74645,14 +74645,14 @@ "type": "int_const 0", "value": "0" }, - "id": 3267, + "id": 2759, "name": "Literal", - "src": "58687:1:1" + "src": "60349:1:0" } ], - "id": 3268, + "id": 2760, "name": "BinaryOperation", - "src": "58650:38:1" + "src": "60312:38:0" }, { "children": [ @@ -74683,51 +74683,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3269, + "id": 2761, "name": "Identifier", - "src": "58711:10:1" + "src": "60374:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3270, + "id": 2762, "name": "Identifier", - "src": "58722:7:1" + "src": "60385:7:0" } ], - "id": 3271, + "id": 2763, "name": "IndexAccess", - "src": "58711:19:1" + "src": "60374:19:0" } ], - "id": 3272, + "id": 2764, "name": "UnaryOperation", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3273, + "id": 2765, "name": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3274, + "id": 2766, "name": "Block", - "src": "58690:51:1" + "src": "60352:53:0" } ], - "id": 3275, + "id": 2767, "name": "IfStatement", - "src": "58646:95:1" + "src": "60308:97:0" }, { "children": [ @@ -74759,7 +74759,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -74777,59 +74777,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3276, + "id": 2768, "name": "Identifier", - "src": "58751:13:1" + "src": "60417:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3277, + "id": 2769, "name": "Identifier", - "src": "58765:5:1" + "src": "60431:5:0" } ], - "id": 3278, + "id": 2770, "name": "IndexAccess", - "src": "58751:20:1" + "src": "60417:20:0" } ], - "id": 3279, + "id": 2771, "name": "MemberAccess", - "src": "58751:27:1" + "src": "60417:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3280, + "id": 2772, "name": "Identifier", - "src": "58779:7:1" + "src": "60445:7:0" } ], - "id": 3281, + "id": 2773, "name": "FunctionCall", - "src": "58751:36:1" + "src": "60417:36:0" } ], - "id": 3282, + "id": 2774, "name": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "children": [ @@ -74861,7 +74861,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 2306, + "referencedDeclaration": 1798, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" }, "children": [ @@ -74870,41 +74870,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3283, + "id": 2775, "name": "Identifier", - "src": "58798:12:1" + "src": "60466:12:0" } ], - "id": 3285, + "id": 2777, "name": "MemberAccess", - "src": "58798:19:1" + "src": "60466:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3286, + "id": 2778, "name": "Identifier", - "src": "58818:7:1" + "src": "60486:7:0" } ], - "id": 3287, + "id": 2779, "name": "FunctionCall", - "src": "58798:28:1" + "src": "60466:28:0" } ], - "id": 3288, + "id": 2780, "name": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "children": [ @@ -74942,26 +74942,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3289, + "id": 2781, "name": "Identifier", - "src": "58842:8:1" + "src": "60512:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3290, + "id": 2782, "name": "Identifier", - "src": "58851:5:1" + "src": "60521:5:0" }, { "attributes": { @@ -74997,14 +74997,14 @@ "attributes": { "name": "address" }, - "id": 3291, + "id": 2783, "name": "ElementaryTypeName", - "src": "58858:7:1" + "src": "60528:7:0" } ], - "id": 3292, + "id": 2784, "name": "ElementaryTypeNameExpression", - "src": "58858:7:1" + "src": "60528:7:0" }, { "attributes": { @@ -75017,47 +75017,47 @@ "type": "int_const 0", "value": "0" }, - "id": 3293, + "id": 2785, "name": "Literal", - "src": "58866:1:1" + "src": "60536:1:0" } ], - "id": 3294, + "id": 2786, "name": "FunctionCall", - "src": "58858:10:1" + "src": "60528:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3295, + "id": 2787, "name": "Identifier", - "src": "58870:7:1" + "src": "60540:7:0" } ], - "id": 3296, + "id": 2788, "name": "FunctionCall", - "src": "58842:36:1" + "src": "60512:36:0" } ], - "id": 3297, + "id": 2789, "name": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ], - "id": 3298, + "id": 2790, "name": "Block", - "src": "58407:478:1" + "src": "60060:496:0" } ], - "id": 3299, + "id": 2791, "name": "FunctionDefinition", - "src": "58358:527:1" + "src": "60011:545:0" }, { "attributes": { @@ -75068,7 +75068,7 @@ null ], "name": "_transfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -75078,9 +75078,9 @@ "attributes": { "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3300, + "id": 2792, "name": "StructuredDocumentation", - "src": "58891:313:1" + "src": "60564:323:0" }, { "children": [ @@ -75089,7 +75089,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -75102,21 +75102,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3301, + "id": 2793, "name": "ElementaryTypeName", - "src": "59228:7:1" + "src": "60912:7:0" } ], - "id": 3302, + "id": 2794, "name": "VariableDeclaration", - "src": "59228:12:1" + "src": "60912:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -75129,21 +75129,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3303, + "id": 2795, "name": "ElementaryTypeName", - "src": "59242:7:1" + "src": "60926:7:0" } ], - "id": 3304, + "id": 2796, "name": "VariableDeclaration", - "src": "59242:10:1" + "src": "60926:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -75155,19 +75155,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3305, + "id": 2797, "name": "ElementaryTypeName", - "src": "59254:7:1" + "src": "60938:7:0" } ], - "id": 3306, + "id": 2798, "name": "VariableDeclaration", - "src": "59254:15:1" + "src": "60938:15:0" } ], - "id": 3307, + "id": 2799, "name": "ParameterList", - "src": "59227:43:1" + "src": "60911:43:0" }, { "attributes": { @@ -75176,9 +75176,9 @@ ] }, "children": [], - "id": 3308, + "id": 2800, "name": "ParameterList", - "src": "59288:0:1" + "src": "60972:0:0" }, { "children": [ @@ -75219,9 +75219,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3309, + "id": 2801, "name": "Identifier", - "src": "59298:7:1" + "src": "60983:7:0" }, { "attributes": { @@ -75265,7 +75265,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -75274,54 +75274,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3310, + "id": 2802, "name": "Identifier", - "src": "59306:6:1" + "src": "60991:6:0" } ], - "id": 3311, + "id": 2803, "name": "MemberAccess", - "src": "59306:14:1" + "src": "60991:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3312, + "id": 2804, "name": "Identifier", - "src": "59321:7:1" + "src": "61006:7:0" } ], - "id": 3313, + "id": 2805, "name": "FunctionCall", - "src": "59306:23:1" + "src": "60991:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3314, + "id": 2806, "name": "Identifier", - "src": "59333:4:1" + "src": "61018:4:0" } ], - "id": 3315, + "id": 2807, "name": "BinaryOperation", - "src": "59306:31:1" + "src": "60991:31:0" }, { "attributes": { @@ -75334,19 +75334,19 @@ "type": "literal_string \"ERC721: transfer of token that is not own\"", "value": "ERC721: transfer of token that is not own" }, - "id": 3316, + "id": 2808, "name": "Literal", - "src": "59339:43:1" + "src": "61024:43:0" } ], - "id": 3317, + "id": 2809, "name": "FunctionCall", - "src": "59298:85:1" + "src": "60983:85:0" } ], - "id": 3318, + "id": 2810, "name": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "children": [ @@ -75385,9 +75385,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3319, + "id": 2811, "name": "Identifier", - "src": "59411:7:1" + "src": "61097:7:0" }, { "attributes": { @@ -75408,13 +75408,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3320, + "id": 2812, "name": "Identifier", - "src": "59419:2:1" + "src": "61105:2:0" }, { "attributes": { @@ -75450,14 +75450,14 @@ "attributes": { "name": "address" }, - "id": 3321, + "id": 2813, "name": "ElementaryTypeName", - "src": "59425:7:1" + "src": "61111:7:0" } ], - "id": 3322, + "id": 2814, "name": "ElementaryTypeNameExpression", - "src": "59425:7:1" + "src": "61111:7:0" }, { "attributes": { @@ -75470,19 +75470,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3323, + "id": 2815, "name": "Literal", - "src": "59433:1:1" + "src": "61119:1:0" } ], - "id": 3324, + "id": 2816, "name": "FunctionCall", - "src": "59425:10:1" + "src": "61111:10:0" } ], - "id": 3325, + "id": 2817, "name": "BinaryOperation", - "src": "59419:16:1" + "src": "61105:16:0" }, { "attributes": { @@ -75495,19 +75495,19 @@ "type": "literal_string \"ERC721: transfer to the zero address\"", "value": "ERC721: transfer to the zero address" }, - "id": 3326, + "id": 2818, "name": "Literal", - "src": "59437:38:1" + "src": "61123:38:0" } ], - "id": 3327, + "id": 2819, "name": "FunctionCall", - "src": "59411:65:1" + "src": "61097:65:0" } ], - "id": 3328, + "id": 2820, "name": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "children": [ @@ -75545,62 +75545,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3329, + "id": 2821, "name": "Identifier", - "src": "59487:20:1" + "src": "61175:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3330, + "id": 2822, "name": "Identifier", - "src": "59508:4:1" + "src": "61196:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3331, + "id": 2823, "name": "Identifier", - "src": "59514:2:1" + "src": "61202:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3332, + "id": 2824, "name": "Identifier", - "src": "59518:7:1" + "src": "61206:7:0" } ], - "id": 3333, + "id": 2825, "name": "FunctionCall", - "src": "59487:39:1" + "src": "61175:39:0" } ], - "id": 3334, + "id": 2826, "name": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "children": [ @@ -75634,13 +75634,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3335, + "id": 2827, "name": "Identifier", - "src": "59588:8:1" + "src": "61279:8:0" }, { "attributes": { @@ -75676,14 +75676,14 @@ "attributes": { "name": "address" }, - "id": 3336, + "id": 2828, "name": "ElementaryTypeName", - "src": "59597:7:1" + "src": "61288:7:0" } ], - "id": 3337, + "id": 2829, "name": "ElementaryTypeNameExpression", - "src": "59597:7:1" + "src": "61288:7:0" }, { "attributes": { @@ -75696,37 +75696,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3338, + "id": 2830, "name": "Literal", - "src": "59605:1:1" + "src": "61296:1:0" } ], - "id": 3339, + "id": 2831, "name": "FunctionCall", - "src": "59597:10:1" + "src": "61288:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3340, + "id": 2832, "name": "Identifier", - "src": "59609:7:1" + "src": "61300:7:0" } ], - "id": 3341, + "id": 2833, "name": "FunctionCall", - "src": "59588:29:1" + "src": "61279:29:0" } ], - "id": 3342, + "id": 2834, "name": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "children": [ @@ -75758,7 +75758,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75776,59 +75776,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3343, + "id": 2835, "name": "Identifier", - "src": "59628:13:1" + "src": "61321:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3344, + "id": 2836, "name": "Identifier", - "src": "59642:4:1" + "src": "61335:4:0" } ], - "id": 3345, + "id": 2837, "name": "IndexAccess", - "src": "59628:19:1" + "src": "61321:19:0" } ], - "id": 3346, + "id": 2838, "name": "MemberAccess", - "src": "59628:26:1" + "src": "61321:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3347, + "id": 2839, "name": "Identifier", - "src": "59655:7:1" + "src": "61348:7:0" } ], - "id": 3348, + "id": 2840, "name": "FunctionCall", - "src": "59628:35:1" + "src": "61321:35:0" } ], - "id": 3349, + "id": 2841, "name": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "children": [ @@ -75860,7 +75860,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75878,59 +75878,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3350, + "id": 2842, "name": "Identifier", - "src": "59673:13:1" + "src": "61367:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3351, + "id": 2843, "name": "Identifier", - "src": "59687:2:1" + "src": "61381:2:0" } ], - "id": 3352, + "id": 2844, "name": "IndexAccess", - "src": "59673:17:1" + "src": "61367:17:0" } ], - "id": 3353, + "id": 2845, "name": "MemberAccess", - "src": "59673:21:1" + "src": "61367:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3354, + "id": 2846, "name": "Identifier", - "src": "59695:7:1" + "src": "61389:7:0" } ], - "id": 3355, + "id": 2847, "name": "FunctionCall", - "src": "59673:30:1" + "src": "61367:30:0" } ], - "id": 3356, + "id": 2848, "name": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "children": [ @@ -75966,7 +75966,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -75975,54 +75975,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3357, + "id": 2849, "name": "Identifier", - "src": "59714:12:1" + "src": "61410:12:0" } ], - "id": 3359, + "id": 2851, "name": "MemberAccess", - "src": "59714:16:1" + "src": "61410:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3360, + "id": 2852, "name": "Identifier", - "src": "59731:7:1" + "src": "61427:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3361, + "id": 2853, "name": "Identifier", - "src": "59740:2:1" + "src": "61436:2:0" } ], - "id": 3362, + "id": 2854, "name": "FunctionCall", - "src": "59714:29:1" + "src": "61410:29:0" } ], - "id": 3363, + "id": 2855, "name": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "children": [ @@ -76060,72 +76060,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3364, + "id": 2856, "name": "Identifier", - "src": "59759:8:1" + "src": "61457:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3365, + "id": 2857, "name": "Identifier", - "src": "59768:4:1" + "src": "61466:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3366, + "id": 2858, "name": "Identifier", - "src": "59774:2:1" + "src": "61472:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3367, + "id": 2859, "name": "Identifier", - "src": "59778:7:1" + "src": "61476:7:0" } ], - "id": 3368, + "id": 2860, "name": "FunctionCall", - "src": "59759:27:1" + "src": "61457:27:0" } ], - "id": 3369, + "id": 2861, "name": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ], - "id": 3370, + "id": 2862, "name": "Block", - "src": "59288:505:1" + "src": "60972:520:0" } ], - "id": 3371, + "id": 2863, "name": "FunctionDefinition", - "src": "59209:584:1" + "src": "60893:599:0" }, { "attributes": { @@ -76136,7 +76136,7 @@ null ], "name": "_setTokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -76146,9 +76146,9 @@ "attributes": { "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3372, + "id": 2864, "name": "StructuredDocumentation", - "src": "59799:136:1" + "src": "61500:142:0" }, { "children": [ @@ -76157,7 +76157,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -76169,21 +76169,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3373, + "id": 2865, "name": "ElementaryTypeName", - "src": "59962:7:1" + "src": "61670:7:0" } ], - "id": 3374, + "id": 2866, "name": "VariableDeclaration", - "src": "59962:15:1" + "src": "61670:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -76195,19 +76195,19 @@ "name": "string", "type": "string" }, - "id": 3375, + "id": 2867, "name": "ElementaryTypeName", - "src": "59979:6:1" + "src": "61687:6:0" } ], - "id": 3376, + "id": 2868, "name": "VariableDeclaration", - "src": "59979:23:1" + "src": "61687:23:0" } ], - "id": 3377, + "id": 2869, "name": "ParameterList", - "src": "59961:42:1" + "src": "61669:42:0" }, { "attributes": { @@ -76216,9 +76216,9 @@ ] }, "children": [], - "id": 3378, + "id": 2870, "name": "ParameterList", - "src": "60021:0:1" + "src": "61729:0:0" }, { "children": [ @@ -76259,9 +76259,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3379, + "id": 2871, "name": "Identifier", - "src": "60031:7:1" + "src": "61740:7:0" }, { "attributes": { @@ -76289,31 +76289,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3380, + "id": 2872, "name": "Identifier", - "src": "60039:7:1" + "src": "61748:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3381, + "id": 2873, "name": "Identifier", - "src": "60047:7:1" + "src": "61756:7:0" } ], - "id": 3382, + "id": 2874, "name": "FunctionCall", - "src": "60039:16:1" + "src": "61748:16:0" }, { "attributes": { @@ -76326,19 +76326,19 @@ "type": "literal_string \"ERC721Metadata: URI set of nonexistent token\"", "value": "ERC721Metadata: URI set of nonexistent token" }, - "id": 3383, + "id": 2875, "name": "Literal", - "src": "60057:46:1" + "src": "61766:46:0" } ], - "id": 3384, + "id": 2876, "name": "FunctionCall", - "src": "60031:73:1" + "src": "61740:73:0" } ], - "id": 3385, + "id": 2877, "name": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "children": [ @@ -76366,64 +76366,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3386, + "id": 2878, "name": "Identifier", - "src": "60114:10:1" + "src": "61824:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3387, + "id": 2879, "name": "Identifier", - "src": "60125:7:1" + "src": "61835:7:0" } ], - "id": 3388, + "id": 2880, "name": "IndexAccess", - "src": "60114:19:1" + "src": "61824:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3376, + "referencedDeclaration": 2868, "type": "string memory", "value": "_tokenURI" }, - "id": 3389, + "id": 2881, "name": "Identifier", - "src": "60136:9:1" + "src": "61846:9:0" } ], - "id": 3390, + "id": 2882, "name": "Assignment", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3391, + "id": 2883, "name": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3392, + "id": 2884, "name": "Block", - "src": "60021:131:1" + "src": "61729:134:0" } ], - "id": 3393, + "id": 2885, "name": "FunctionDefinition", - "src": "59940:212:1" + "src": "61648:215:0" }, { "attributes": { @@ -76434,7 +76434,7 @@ null ], "name": "_setBaseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -76444,9 +76444,9 @@ "attributes": { "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3394, + "id": 2886, "name": "StructuredDocumentation", - "src": "60158:212:1" + "src": "61871:216:0" }, { "children": [ @@ -76455,7 +76455,7 @@ "constant": false, "mutability": "mutable", "name": "baseURI_", - "scope": 3404, + "scope": 2896, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -76467,19 +76467,19 @@ "name": "string", "type": "string" }, - "id": 3395, + "id": 2887, "name": "ElementaryTypeName", - "src": "60396:6:1" + "src": "62114:6:0" } ], - "id": 3396, + "id": 2888, "name": "VariableDeclaration", - "src": "60396:22:1" + "src": "62114:22:0" } ], - "id": 3397, + "id": 2889, "name": "ParameterList", - "src": "60395:24:1" + "src": "62113:24:0" }, { "attributes": { @@ -76488,9 +76488,9 @@ ] }, "children": [], - "id": 3398, + "id": 2890, "name": "ParameterList", - "src": "60437:0:1" + "src": "62155:0:0" }, { "children": [ @@ -76511,46 +76511,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 3399, + "id": 2891, "name": "Identifier", - "src": "60447:8:1" + "src": "62166:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3396, + "referencedDeclaration": 2888, "type": "string memory", "value": "baseURI_" }, - "id": 3400, + "id": 2892, "name": "Identifier", - "src": "60458:8:1" + "src": "62177:8:0" } ], - "id": 3401, + "id": 2893, "name": "Assignment", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3402, + "id": 2894, "name": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3403, + "id": 2895, "name": "Block", - "src": "60437:36:1" + "src": "62155:38:0" } ], - "id": 3404, + "id": 2896, "name": "FunctionDefinition", - "src": "60375:98:1" + "src": "62093:100:0" }, { "attributes": { @@ -76561,7 +76561,7 @@ null ], "name": "_checkOnERC721Received", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -76571,9 +76571,9 @@ "attributes": { "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3405, + "id": 2897, "name": "StructuredDocumentation", - "src": "60479:542:1" + "src": "62201:551:0" }, { "children": [ @@ -76582,7 +76582,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76595,21 +76595,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3406, + "id": 2898, "name": "ElementaryTypeName", - "src": "61058:7:1" + "src": "62790:7:0" } ], - "id": 3407, + "id": 2899, "name": "VariableDeclaration", - "src": "61058:12:1" + "src": "62790:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76622,21 +76622,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3408, + "id": 2900, "name": "ElementaryTypeName", - "src": "61072:7:1" + "src": "62804:7:0" } ], - "id": 3409, + "id": 2901, "name": "VariableDeclaration", - "src": "61072:10:1" + "src": "62804:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -76648,21 +76648,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3410, + "id": 2902, "name": "ElementaryTypeName", - "src": "61084:7:1" + "src": "62816:7:0" } ], - "id": 3411, + "id": 2903, "name": "VariableDeclaration", - "src": "61084:15:1" + "src": "62816:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76674,19 +76674,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3412, + "id": 2904, "name": "ElementaryTypeName", - "src": "61101:5:1" + "src": "62833:5:0" } ], - "id": 3413, + "id": 2905, "name": "VariableDeclaration", - "src": "61101:18:1" + "src": "62833:18:0" } ], - "id": 3414, + "id": 2906, "name": "ParameterList", - "src": "61057:63:1" + "src": "62789:63:0" }, { "children": [ @@ -76695,7 +76695,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -76707,19 +76707,19 @@ "name": "bool", "type": "bool" }, - "id": 3415, + "id": 2907, "name": "ElementaryTypeName", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3416, + "id": 2908, "name": "VariableDeclaration", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3417, + "id": 2909, "name": "ParameterList", - "src": "61145:6:1" + "src": "62878:6:0" }, { "children": [ @@ -76765,7 +76765,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isContract", - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)" }, "children": [ @@ -76774,34 +76774,34 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3418, + "id": 2910, "name": "Identifier", - "src": "61171:2:1" + "src": "62906:2:0" } ], - "id": 3419, + "id": 2911, "name": "MemberAccess", - "src": "61171:13:1" + "src": "62906:13:0" } ], - "id": 3420, + "id": 2912, "name": "FunctionCall", - "src": "61171:15:1" + "src": "62906:15:0" } ], - "id": 3421, + "id": 2913, "name": "UnaryOperation", - "src": "61170:16:1" + "src": "62905:16:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -76815,29 +76815,29 @@ "type": "bool", "value": "true" }, - "id": 3422, + "id": 2914, "name": "Literal", - "src": "61209:4:1" + "src": "62945:4:0" } ], - "id": 3423, + "id": 2915, "name": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ], - "id": 3424, + "id": 2916, "name": "Block", - "src": "61188:36:1" + "src": "62923:38:0" } ], - "id": 3425, + "id": 2917, "name": "IfStatement", - "src": "61166:58:1" + "src": "62901:60:0" }, { "attributes": { "assignments": [ - 3427 + 2919 ] }, "children": [ @@ -76846,7 +76846,7 @@ "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76858,14 +76858,14 @@ "name": "bytes", "type": "bytes" }, - "id": 3426, + "id": 2918, "name": "ElementaryTypeName", - "src": "61233:5:1" + "src": "62971:5:0" } ], - "id": 3427, + "id": 2919, "name": "VariableDeclaration", - "src": "61233:23:1" + "src": "62971:23:0" }, { "attributes": { @@ -76899,7 +76899,7 @@ "isPure": false, "lValueRequested": false, "member_name": "functionCall", - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)" }, "children": [ @@ -76908,18 +76908,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3428, + "id": 2920, "name": "Identifier", - "src": "61259:2:1" + "src": "62997:2:0" } ], - "id": 3429, + "id": 2921, "name": "MemberAccess", - "src": "61259:15:1" + "src": "62997:15:0" }, { "attributes": { @@ -76977,14 +76977,14 @@ "type": "abi", "value": "abi" }, - "id": 3430, + "id": 2922, "name": "Identifier", - "src": "61275:3:1" + "src": "63013:3:0" } ], - "id": 3431, + "id": 2923, "name": "MemberAccess", - "src": "61275:22:1" + "src": "63013:22:0" }, { "attributes": { @@ -77003,7 +77003,7 @@ "isPure": false, "lValueRequested": false, "member_name": "onERC721Received", - "referencedDeclaration": 725, + "referencedDeclaration": 217, "type": "function (address,address,uint256,bytes memory) external returns (bytes4)" }, "children": [ @@ -77033,41 +77033,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 726, + "referencedDeclaration": 218, "type": "type(contract IERC721Receiver)", "value": "IERC721Receiver" }, - "id": 3432, + "id": 2924, "name": "Identifier", - "src": "61311:15:1" + "src": "63050:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3433, + "id": 2925, "name": "Identifier", - "src": "61327:2:1" + "src": "63066:2:0" } ], - "id": 3434, + "id": 2926, "name": "FunctionCall", - "src": "61311:19:1" + "src": "63050:19:0" } ], - "id": 3435, + "id": 2927, "name": "MemberAccess", - "src": "61311:36:1" + "src": "63050:36:0" } ], - "id": 3436, + "id": 2928, "name": "MemberAccess", - "src": "61311:45:1" + "src": "63050:45:0" }, { "attributes": { @@ -77095,62 +77095,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3437, + "id": 2929, "name": "Identifier", - "src": "61370:10:1" + "src": "63110:10:0" } ], - "id": 3438, + "id": 2930, "name": "FunctionCall", - "src": "61370:12:1" + "src": "63110:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3407, + "referencedDeclaration": 2899, "type": "address", "value": "from" }, - "id": 3439, + "id": 2931, "name": "Identifier", - "src": "61396:4:1" + "src": "63137:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3411, + "referencedDeclaration": 2903, "type": "uint256", "value": "tokenId" }, - "id": 3440, + "id": 2932, "name": "Identifier", - "src": "61414:7:1" + "src": "63156:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3413, + "referencedDeclaration": 2905, "type": "bytes memory", "value": "_data" }, - "id": 3441, + "id": 2933, "name": "Identifier", - "src": "61435:5:1" + "src": "63178:5:0" } ], - "id": 3442, + "id": 2934, "name": "FunctionCall", - "src": "61275:175:1" + "src": "63013:181:0" }, { "attributes": { @@ -77163,24 +77163,24 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3443, + "id": 2935, "name": "Literal", - "src": "61452:52:1" + "src": "63196:52:0" } ], - "id": 3444, + "id": 2936, "name": "FunctionCall", - "src": "61259:246:1" + "src": "62997:252:0" } ], - "id": 3445, + "id": 2937, "name": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "attributes": { "assignments": [ - 3447 + 2939 ] }, "children": [ @@ -77189,7 +77189,7 @@ "constant": false, "mutability": "mutable", "name": "retval", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -77201,14 +77201,14 @@ "name": "bytes4", "type": "bytes4" }, - "id": 3446, + "id": 2938, "name": "ElementaryTypeName", - "src": "61515:6:1" + "src": "63260:6:0" } ], - "id": 3447, + "id": 2939, "name": "VariableDeclaration", - "src": "61515:13:1" + "src": "63260:13:0" }, { "attributes": { @@ -77254,27 +77254,27 @@ "type": "abi", "value": "abi" }, - "id": 3448, + "id": 2940, "name": "Identifier", - "src": "61531:3:1" + "src": "63276:3:0" } ], - "id": 3449, + "id": 2941, "name": "MemberAccess", - "src": "61531:10:1" + "src": "63276:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3427, + "referencedDeclaration": 2919, "type": "bytes memory", "value": "returndata" }, - "id": 3450, + "id": 2942, "name": "Identifier", - "src": "61542:10:1" + "src": "63287:10:0" }, { "attributes": { @@ -77299,33 +77299,33 @@ "attributes": { "name": "bytes4" }, - "id": 3451, + "id": 2943, "name": "ElementaryTypeName", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3452, + "id": 2944, "name": "ElementaryTypeNameExpression", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3453, + "id": 2945, "name": "TupleExpression", - "src": "61554:8:1" + "src": "63299:8:0" } ], - "id": 3454, + "id": 2946, "name": "FunctionCall", - "src": "61531:32:1" + "src": "63276:32:0" } ], - "id": 3455, + "id": 2947, "name": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -77357,51 +77357,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3447, + "referencedDeclaration": 2939, "type": "bytes4", "value": "retval" }, - "id": 3456, + "id": 2948, "name": "Identifier", - "src": "61581:6:1" + "src": "63327:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2596, + "referencedDeclaration": 2088, "type": "bytes4", "value": "_ERC721_RECEIVED" }, - "id": 3457, + "id": 2949, "name": "Identifier", - "src": "61591:16:1" + "src": "63337:16:0" } ], - "id": 3458, + "id": 2950, "name": "BinaryOperation", - "src": "61581:26:1" + "src": "63327:26:0" } ], - "id": 3459, + "id": 2951, "name": "TupleExpression", - "src": "61580:28:1" + "src": "63326:28:0" } ], - "id": 3460, + "id": 2952, "name": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ], - "id": 3461, + "id": 2953, "name": "Block", - "src": "61156:459:1" + "src": "62890:472:0" } ], - "id": 3462, + "id": 2954, "name": "FunctionDefinition", - "src": "61026:589:1" + "src": "62758:604:0" }, { "attributes": { @@ -77412,7 +77412,7 @@ null ], "name": "_approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77422,9 +77422,9 @@ "attributes": { "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3463, + "id": 2955, "name": "StructuredDocumentation", - "src": "61621:101:1" + "src": "63370:105:0" }, { "children": [ @@ -77433,7 +77433,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77446,21 +77446,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3464, + "id": 2956, "name": "ElementaryTypeName", - "src": "61745:7:1" + "src": "63499:7:0" } ], - "id": 3465, + "id": 2957, "name": "VariableDeclaration", - "src": "61745:10:1" + "src": "63499:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77472,19 +77472,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3466, + "id": 2958, "name": "ElementaryTypeName", - "src": "61757:7:1" + "src": "63511:7:0" } ], - "id": 3467, + "id": 2959, "name": "VariableDeclaration", - "src": "61757:15:1" + "src": "63511:15:0" } ], - "id": 3468, + "id": 2960, "name": "ParameterList", - "src": "61744:29:1" + "src": "63498:29:0" }, { "attributes": { @@ -77493,9 +77493,9 @@ ] }, "children": [], - "id": 3469, + "id": 2961, "name": "ParameterList", - "src": "61791:0:1" + "src": "63545:0:0" }, { "children": [ @@ -77525,54 +77525,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 3470, + "id": 2962, "name": "Identifier", - "src": "61801:15:1" + "src": "63556:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3471, + "id": 2963, "name": "Identifier", - "src": "61817:7:1" + "src": "63572:7:0" } ], - "id": 3472, + "id": 2964, "name": "IndexAccess", - "src": "61801:24:1" + "src": "63556:24:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3473, + "id": 2965, "name": "Identifier", - "src": "61828:2:1" + "src": "63583:2:0" } ], - "id": 3474, + "id": 2966, "name": "Assignment", - "src": "61801:29:1" + "src": "63556:29:0" } ], - "id": 3475, + "id": 2967, "name": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "children": [ @@ -77610,13 +77610,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 563, + "referencedDeclaration": 55, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 3476, + "id": 2968, "name": "Identifier", - "src": "61845:8:1" + "src": "63601:8:0" }, { "attributes": { @@ -77646,7 +77646,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -77655,82 +77655,82 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3477, + "id": 2969, "name": "Identifier", - "src": "61854:6:1" + "src": "63610:6:0" } ], - "id": 3478, + "id": 2970, "name": "MemberAccess", - "src": "61854:14:1" + "src": "63610:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3479, + "id": 2971, "name": "Identifier", - "src": "61869:7:1" + "src": "63625:7:0" } ], - "id": 3480, + "id": 2972, "name": "FunctionCall", - "src": "61854:23:1" + "src": "63610:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3481, + "id": 2973, "name": "Identifier", - "src": "61879:2:1" + "src": "63635:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3482, + "id": 2974, "name": "Identifier", - "src": "61883:7:1" + "src": "63639:7:0" } ], - "id": 3483, + "id": 2975, "name": "FunctionCall", - "src": "61845:46:1" + "src": "63601:46:0" } ], - "id": 3484, + "id": 2976, "name": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ], - "id": 3485, + "id": 2977, "name": "Block", - "src": "61791:125:1" + "src": "63545:128:0" } ], - "id": 3486, + "id": 2978, "name": "FunctionDefinition", - "src": "61727:189:1" + "src": "63481:192:0" }, { "attributes": { @@ -77741,7 +77741,7 @@ null ], "name": "_beforeTokenTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77751,9 +77751,9 @@ "attributes": { "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3487, + "id": 2979, "name": "StructuredDocumentation", - "src": "61922:585:1" + "src": "63681:599:0" }, { "children": [ @@ -77762,7 +77762,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77775,21 +77775,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3488, + "id": 2980, "name": "ElementaryTypeName", - "src": "62542:7:1" + "src": "64316:7:0" } ], - "id": 3489, + "id": 2981, "name": "VariableDeclaration", - "src": "62542:12:1" + "src": "64316:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77802,21 +77802,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3490, + "id": 2982, "name": "ElementaryTypeName", - "src": "62556:7:1" + "src": "64330:7:0" } ], - "id": 3491, + "id": 2983, "name": "VariableDeclaration", - "src": "62556:10:1" + "src": "64330:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77828,19 +77828,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3492, + "id": 2984, "name": "ElementaryTypeName", - "src": "62568:7:1" + "src": "64342:7:0" } ], - "id": 3493, + "id": 2985, "name": "VariableDeclaration", - "src": "62568:15:1" + "src": "64342:15:0" } ], - "id": 3494, + "id": 2986, "name": "ParameterList", - "src": "62541:43:1" + "src": "64315:43:0" }, { "attributes": { @@ -77849,9 +77849,9 @@ ] }, "children": [], - "id": 3495, + "id": 2987, "name": "ParameterList", - "src": "62602:0:1" + "src": "64376:0:0" }, { "attributes": { @@ -77860,32 +77860,32 @@ ] }, "children": [], - "id": 3496, + "id": 2988, "name": "Block", - "src": "62602:3:1" + "src": "64376:3:0" } ], - "id": 3497, + "id": 2989, "name": "FunctionDefinition", - "src": "62512:93:1" + "src": "64286:93:0" } ], - "id": 3498, + "id": 2990, "name": "ContractDefinition", - "src": "46080:16527:1" + "src": "47398:16984:0" } ], - "id": 3499, + "id": 2991, "name": "SourceUnit", - "src": "84:62524:1" + "src": "87:64297:0" }, "compiler": { "name": "solc", "version": "0.7.6+commit.7338295f.Emscripten.clang" }, "networks": {}, - "schemaVersion": "3.3.4", - "updatedAt": "2021-03-13T11:18:08.005Z", + "schemaVersion": "3.4.3", + "updatedAt": "2021-10-13T09:55:47.554Z", "devdoc": { "details": "See https://eips.ethereum.org/EIPS/eip-721", "kind": "dev", diff --git a/src/abis/IERC721Metadata.json b/src/abis/IERC721Metadata.json index 1b79b6b..7f3ef1c 100644 --- a/src/abis/IERC721Metadata.json +++ b/src/abis/IERC721Metadata.json @@ -332,7 +332,7 @@ "type": "function" } ], - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"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\":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\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"},{\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"}],\"devdoc\":{\"details\":\"See https://eips.ethereum.org/EIPS/eip-721\",\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"name()\":{\"details\":\"Returns the token collection name.\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"},\"symbol()\":{\"details\":\"Returns the token collection symbol.\"},\"tokenURI(uint256)\":{\"details\":\"Returns the Uniform Resource Identifier (URI) for `tokenId` token.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"}},\"title\":\"ERC-721 Non-Fungible Token Standard, optional metadata extension\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":\"IERC721Metadata\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":{\"keccak256\":\"0xac9220652f9879c5fb3116025d59e8fbf6c2c3d149aed9f617b88edd31402044\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://48de100723de94a6590c6db5bae5098a93445194389c3f3eeb104c7239ef3044\",\"dweb:/ipfs/QmVHLEtfLqBqX7XQRHfLuuwtufRBFJFHfgY4zbFRpaZwXC\"]}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"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\":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\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"},{\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"_approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"}],\"devdoc\":{\"details\":\"See https://eips.ethereum.org/EIPS/eip-721\",\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"Gives permission to `to` to transfer `tokenId` token to another account. The approval is cleared when the token is transferred. Only a single account can be approved at a time, so approving the zero address clears previous approvals. Requirements: - The caller must own the token or be an approved operator. - `tokenId` must exist. Emits an {Approval} event.\"},\"balanceOf(address)\":{\"details\":\"Returns the number of tokens in ``owner``'s account.\"},\"getApproved(uint256)\":{\"details\":\"Returns the account approved for `tokenId` token. Requirements: - `tokenId` must exist.\"},\"isApprovedForAll(address,address)\":{\"details\":\"Returns if the `operator` is allowed to manage all of the assets of `owner`. See {setApprovalForAll}\"},\"name()\":{\"details\":\"Returns the token collection name.\"},\"ownerOf(uint256)\":{\"details\":\"Returns the owner of the `tokenId` token. Requirements: - `tokenId` must exist.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients are aware of the ERC721 protocol to prevent tokens from being forever locked. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"Safely transfers `tokenId` token from `from` to `to`. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must exist and be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. Emits a {Transfer} event.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"Approve or remove `operator` as an operator for the caller. Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. Requirements: - The `operator` cannot be the caller. Emits an {ApprovalForAll} event.\"},\"supportsInterface(bytes4)\":{\"details\":\"Returns true if this contract implements the interface defined by `interfaceId`. See the corresponding https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] to learn more about how these ids are created. This function call must use less than 30 000 gas.\"},\"symbol()\":{\"details\":\"Returns the token collection symbol.\"},\"tokenURI(uint256)\":{\"details\":\"Returns the Uniform Resource Identifier (URI) for `tokenId` token.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"Transfers `tokenId` token from `from` to `to`. WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. Requirements: - `from` cannot be the zero address. - `to` cannot be the zero address. - `tokenId` token must be owned by `from`. - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. Emits a {Transfer} event.\"}},\"title\":\"ERC-721 Non-Fungible Token Standard, optional metadata extension\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/src/contracts/ERC721.sol\":\"IERC721Metadata\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/src/contracts/ERC721.sol\":{\"keccak256\":\"0xbbf5d35e3785428d14b29cf40a6a1f82d9275af46f6f80ec5f330615911aa767\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e5479e3deda288fc9c642c0449113673031cb9834a3507621d5bd7e292969e16\",\"dweb:/ipfs/QmcKjBg55emL46LCBPRw1Y79fz3aGiMiQXFeWcDpJisEgJ\"]}},\"version\":1}", "bytecode": "0x", "deployedBytecode": "0x", "immutableReferences": {}, @@ -340,57 +340,57 @@ "deployedGeneratedSources": [], "sourceMap": "", "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: MIT\n\n// File: @openzeppelin/contracts/utils/Context.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/*\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with GSN meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n function _msgSender() internal view virtual returns (address payable) {\n return msg.sender;\n }\n\n function _msgData() internal view virtual returns (bytes memory) {\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\n return msg.data;\n }\n}\n\n// File: @openzeppelin/contracts/introspection/IERC165.sol\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n /**\n * @dev Returns true if this contract implements the interface defined by\n * `interfaceId`. See the corresponding\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n * to learn more about how these ids are created.\n *\n * This function call must use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n /**\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n */\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n */\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n */\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n /**\n * @dev Returns the number of tokens in ``owner``'s account.\n */\n function balanceOf(address owner) external view returns (uint256 balance);\n\n /**\n * @dev Returns the owner of the `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function ownerOf(uint256 tokenId) external view returns (address owner);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Transfers `tokenId` token from `from` to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n * The approval is cleared when the token is transferred.\n *\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n *\n * Requirements:\n *\n * - The caller must own the token or be an approved operator.\n * - `tokenId` must exist.\n *\n * Emits an {Approval} event.\n */\n function approve(address to, uint256 tokenId) external;\n\n /**\n * @dev Returns the account approved for `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function getApproved(uint256 tokenId) external view returns (address operator);\n\n /**\n * @dev Approve or remove `operator` as an operator for the caller.\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n *\n * Requirements:\n *\n * - The `operator` cannot be the caller.\n *\n * Emits an {ApprovalForAll} event.\n */\n function setApprovalForAll(address operator, bool _approved) external;\n\n /**\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n *\n * See {setApprovalForAll}\n */\n function isApprovedForAll(address owner, address operator) external view returns (bool);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n\n /**\n * @dev Returns the token collection name.\n */\n function name() external view returns (string memory);\n\n /**\n * @dev Returns the token collection symbol.\n */\n function symbol() external view returns (string memory);\n\n /**\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n */\n function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\n\n\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Enumerable is IERC721 {\n\n /**\n * @dev Returns the total amount of tokens stored by the contract.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\n\n /**\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n * Use along with {totalSupply} to enumerate all tokens.\n */\n function tokenByIndex(uint256 index) external view returns (uint256);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\n\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC721 asset contracts.\n */\ninterface IERC721Receiver {\n /**\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n * by `operator` from `from`, this function is called.\n *\n * It must return its Solidity selector to confirm the token transfer.\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n *\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\n */\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\n}\n\n// File: @openzeppelin/contracts/introspection/ERC165.sol\npragma solidity >=0.6.0 <0.8.0;\n\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts may inherit from this and call {_registerInterface} to declare\n * their support of an interface.\n */\nabstract contract ERC165 is IERC165 {\n /*\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\n */\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\n\n /**\n * @dev Mapping of interface ids to whether or not it's supported.\n */\n mapping(bytes4 => bool) private _supportedInterfaces;\n\n constructor () {\n // Derived contracts need only register support for their own interfaces,\n // we register support for ERC165 itself here\n _registerInterface(_INTERFACE_ID_ERC165);\n }\n\n /**\n * @dev See {IERC165-supportsInterface}.\n *\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n return _supportedInterfaces[interfaceId];\n }\n\n /**\n * @dev Registers the contract as an implementer of the interface defined by\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\n * registering its interface id is not required.\n *\n * See {IERC165-supportsInterface}.\n *\n * Requirements:\n *\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\n */\n function _registerInterface(bytes4 interfaceId) internal virtual {\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\n _supportedInterfaces[interfaceId] = true;\n }\n}\n\n// File: @openzeppelin/contracts/math/SafeMath.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\n * checks.\n *\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\n * in bugs, because programmers usually assume that an overflow raises an\n * error, which is the standard behavior in high level programming languages.\n * `SafeMath` restores this intuition by reverting the transaction when an\n * operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeMath {\n /**\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n uint256 c = a + b;\n if (c < a) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b > a) return (false, 0);\n return (true, a - b);\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n // benefit is lost if 'b' is also tested.\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n if (a == 0) return (true, 0);\n uint256 c = a * b;\n if (c / a != b) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a / b);\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a % b);\n }\n\n /**\n * @dev Returns the addition of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `+` operator.\n *\n * Requirements:\n *\n * - Addition cannot overflow.\n */\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a + b;\n require(c >= a, \"SafeMath: addition overflow\");\n return c;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting on\n * overflow (when the result is negative).\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b <= a, \"SafeMath: subtraction overflow\");\n return a - b;\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `*` operator.\n *\n * Requirements:\n *\n * - Multiplication cannot overflow.\n */\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) return 0;\n uint256 c = a * b;\n require(c / a == b, \"SafeMath: multiplication overflow\");\n return c;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting on\n * division by zero. The result is rounded towards zero.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: division by zero\");\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting when dividing by zero.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: modulo by zero\");\n return a % b;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n * overflow (when the result is negative).\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {trySub}.\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b <= a, errorMessage);\n return a - b;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\n * division by zero. The result is rounded towards zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryDiv}.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting with custom message when dividing by zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryMod}.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a % b;\n }\n}\n\n// File: @openzeppelin/contracts/utils/Address.sol\npragma solidity >=0.6.2 <0.8.0;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n /**\n * @dev Returns true if `account` is a contract.\n *\n * [IMPORTANT]\n * ====\n * It is unsafe to assume that an address for which this function returns\n * false is an externally-owned account (EOA) and not a contract.\n *\n * Among others, `isContract` will return false for the following\n * types of addresses:\n *\n * - an externally-owned account\n * - a contract in construction\n * - an address where a contract will be created\n * - an address where a contract lived, but was destroyed\n * ====\n */\n function isContract(address account) internal view returns (bool) {\n // This method relies on extcodesize, which returns 0 for contracts in\n // construction, since the code is only stored at the end of the\n // constructor execution.\n\n uint256 size;\n // solhint-disable-next-line no-inline-assembly\n assembly { size := extcodesize(account) }\n return size > 0;\n }\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\n (bool success, ) = recipient.call{ value: amount }(\"\");\n require(success, \"Address: unable to send value, recipient may have reverted\");\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain`call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason, it is bubbled up by this\n * function (like regular Solidity function calls).\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCall(target, data, \"Address: low-level call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n * `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n * with `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\n require(isContract(target), \"Address: call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\n require(isContract(target), \"Address: static call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.staticcall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n require(isContract(target), \"Address: delegate call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.delegatecall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\n if (success) {\n return returndata;\n } else {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n\n // solhint-disable-next-line no-inline-assembly\n assembly {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert(errorMessage);\n }\n }\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n * types.\n *\n * Sets have the following properties:\n *\n * - Elements are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableSet for EnumerableSet.AddressSet;\n *\n * // Declare a set state variable\n * EnumerableSet.AddressSet private mySet;\n * }\n * ```\n *\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n * and `uint256` (`UintSet`) are supported.\n */\nlibrary EnumerableSet {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Set type with\n // bytes32 values.\n // The Set implementation uses private functions, and user-facing\n // implementations (such as AddressSet) are just wrappers around the\n // underlying Set.\n // This means that we can only create new EnumerableSets for types that fit\n // in bytes32.\n\n struct Set {\n // Storage of set values\n bytes32[] _values;\n\n // Position of the value in the `values` array, plus 1 because index 0\n // means a value is not in the set.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function _add(Set storage set, bytes32 value) private returns (bool) {\n if (!_contains(set, value)) {\n set._values.push(value);\n // The value is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n set._indexes[value] = set._values.length;\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function _remove(Set storage set, bytes32 value) private returns (bool) {\n // We read and store the value's index to prevent multiple reads from the same storage slot\n uint256 valueIndex = set._indexes[value];\n\n if (valueIndex != 0) { // Equivalent to contains(set, value)\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\n // the array, and then remove the last element (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = valueIndex - 1;\n uint256 lastIndex = set._values.length - 1;\n\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n bytes32 lastvalue = set._values[lastIndex];\n\n // Move the last value to the index where the value to delete is\n set._values[toDeleteIndex] = lastvalue;\n // Update the index for the moved value\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved value was stored\n set._values.pop();\n\n // Delete the index for the deleted slot\n delete set._indexes[value];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\n return set._indexes[value] != 0;\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function _length(Set storage set) private view returns (uint256) {\n return set._values.length;\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\n return set._values[index];\n }\n\n // Bytes32Set\n\n struct Bytes32Set {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _add(set._inner, value);\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _remove(set._inner, value);\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\n return _contains(set._inner, value);\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(Bytes32Set storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\n return _at(set._inner, index);\n }\n\n // AddressSet\n\n struct AddressSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(AddressSet storage set, address value) internal returns (bool) {\n return _add(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(AddressSet storage set, address value) internal returns (bool) {\n return _remove(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(AddressSet storage set, address value) internal view returns (bool) {\n return _contains(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(AddressSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\n return address(uint160(uint256(_at(set._inner, index))));\n }\n\n\n // UintSet\n\n struct UintSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(UintSet storage set, uint256 value) internal returns (bool) {\n return _add(set._inner, bytes32(value));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\n return _remove(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\n return _contains(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function length(UintSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\n return uint256(_at(set._inner, index));\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing an enumerable variant of Solidity's\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n * type.\n *\n * Maps have the following properties:\n *\n * - Entries are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\n *\n * // Declare a set state variable\n * EnumerableMap.UintToAddressMap private myMap;\n * }\n * ```\n *\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n * supported.\n */\nlibrary EnumerableMap {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Map type with\n // bytes32 keys and values.\n // The Map implementation uses private functions, and user-facing\n // implementations (such as Uint256ToAddressMap) are just wrappers around\n // the underlying Map.\n // This means that we can only create new EnumerableMaps for types that fit\n // in bytes32.\n\n struct MapEntry {\n bytes32 _key;\n bytes32 _value;\n }\n\n struct Map {\n // Storage of map keys and values\n MapEntry[] _entries;\n\n // Position of the entry defined by a key in the `entries` array, plus 1\n // because index 0 means a key is not in the map.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\n map._entries.push(MapEntry({ _key: key, _value: value }));\n // The entry is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n map._indexes[key] = map._entries.length;\n return true;\n } else {\n map._entries[keyIndex - 1]._value = value;\n return false;\n }\n }\n\n /**\n * @dev Removes a key-value pair from a map. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function _remove(Map storage map, bytes32 key) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex != 0) { // Equivalent to contains(map, key)\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = keyIndex - 1;\n uint256 lastIndex = map._entries.length - 1;\n\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n MapEntry storage lastEntry = map._entries[lastIndex];\n\n // Move the last entry to the index where the entry to delete is\n map._entries[toDeleteIndex] = lastEntry;\n // Update the index for the moved entry\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved entry was stored\n map._entries.pop();\n\n // Delete the index for the deleted slot\n delete map._indexes[key];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\n return map._indexes[key] != 0;\n }\n\n /**\n * @dev Returns the number of key-value pairs in the map. O(1).\n */\n function _length(Map storage map) private view returns (uint256) {\n return map._entries.length;\n }\n\n /**\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\n *\n * Note that there are no guarantees on the ordering of entries inside the\n * array, and it may change when more entries are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\n\n MapEntry storage entry = map._entries[index];\n return (entry._key, entry._value);\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n */\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\n uint256 keyIndex = map._indexes[key];\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n /**\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {_tryGet}.\n */\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n // UintToAddressMap\n\n struct UintToAddressMap {\n Map _inner;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\n return _remove(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\n return _contains(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns the number of elements in the map. O(1).\n */\n function length(UintToAddressMap storage map) internal view returns (uint256) {\n return _length(map._inner);\n }\n\n /**\n * @dev Returns the element stored at position `index` in the set. O(1).\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\n (bytes32 key, bytes32 value) = _at(map._inner, index);\n return (uint256(key), address(uint160(uint256(value))));\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n *\n * _Available since v3.4._\n */\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\n return (success, address(uint160(uint256(value))));\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\n }\n\n /**\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryGet}.\n */\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\n }\n}\n\n// File: @openzeppelin/contracts/utils/Strings.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n /**\n * @dev Converts a `uint256` to its ASCII `string` representation.\n */\n function toString(uint256 value) internal pure returns (string memory) {\n // Inspired by OraclizeAPI's implementation - MIT licence\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\n\n if (value == 0) {\n return \"0\";\n }\n uint256 temp = value;\n uint256 digits;\n while (temp != 0) {\n digits++;\n temp /= 10;\n }\n bytes memory buffer = new bytes(digits);\n uint256 index = digits - 1;\n temp = value;\n while (temp != 0) {\n buffer[index--] = bytes1(uint8(48 + temp % 10));\n temp /= 10;\n }\n return string(buffer);\n }\n}\n\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 Non-Fungible Token Standard basic implementation\n * @dev see https://eips.ethereum.org/EIPS/eip-721\n */\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\n using SafeMath for uint256;\n using Address for address;\n using EnumerableSet for EnumerableSet.UintSet;\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n using Strings for uint256;\n\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\n\n // Mapping from holder address to their (enumerable) set of owned tokens\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\n\n // Enumerable mapping from token ids to their owners\n EnumerableMap.UintToAddressMap private _tokenOwners;\n\n // Mapping from token ID to approved address\n mapping (uint256 => address) private _tokenApprovals;\n\n // Mapping from owner to operator approvals\n mapping (address => mapping (address => bool)) private _operatorApprovals;\n\n // Token name\n string private _name;\n\n // Token symbol\n string private _symbol;\n\n // Optional mapping for token URIs\n mapping (uint256 => string) private _tokenURIs;\n\n // Base URI\n string private _baseURI;\n\n /*\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\n *\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\n */\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\n\n /*\n * bytes4(keccak256('name()')) == 0x06fdde03\n * bytes4(keccak256('symbol()')) == 0x95d89b41\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\n *\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\n */\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\n\n /*\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\n *\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\n */\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\n\n /**\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\n */\n constructor (string memory name_, string memory symbol_) {\n _name = name_;\n _symbol = symbol_;\n\n // register the supported interfaces to conform to ERC721 via ERC165\n _registerInterface(_INTERFACE_ID_ERC721);\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\n }\n\n /**\n * @dev See {IERC721-balanceOf}.\n */\n function balanceOf(address owner) public view virtual override returns (uint256) {\n require(owner != address(0), \"ERC721: balance query for the zero address\");\n return _holderTokens[owner].length();\n }\n\n /**\n * @dev See {IERC721-ownerOf}.\n */\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\n }\n\n /**\n * @dev See {IERC721Metadata-name}.\n */\n function name() public view virtual override returns (string memory) {\n return _name;\n }\n\n /**\n * @dev See {IERC721Metadata-symbol}.\n */\n function symbol() public view virtual override returns (string memory) {\n return _symbol;\n }\n\n /**\n * @dev See {IERC721Metadata-tokenURI}.\n */\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\n\n string memory _tokenURI = _tokenURIs[tokenId];\n string memory base = baseURI();\n\n // If there is no base URI, return the token URI.\n if (bytes(base).length == 0) {\n return _tokenURI;\n }\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\n if (bytes(_tokenURI).length > 0) {\n return string(abi.encodePacked(base, _tokenURI));\n }\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\n return string(abi.encodePacked(base, tokenId.toString()));\n }\n\n /**\n * @dev Returns the base URI set via {_setBaseURI}. This will be\n * automatically added as a prefix in {tokenURI} to each token's URI, or\n * to the token ID if no specific URI is set for that token ID.\n */\n function baseURI() public view virtual returns (string memory) {\n return _baseURI;\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\n return _holderTokens[owner].at(index);\n }\n\n /**\n * @dev See {IERC721Enumerable-totalSupply}.\n */\n function totalSupply() public view virtual override returns (uint256) {\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\n return _tokenOwners.length();\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenByIndex}.\n */\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\n (uint256 tokenId, ) = _tokenOwners.at(index);\n return tokenId;\n }\n\n /**\n * @dev See {IERC721-approve}.\n */\n function approve(address to, uint256 tokenId) public virtual override {\n address owner = ERC721.ownerOf(tokenId);\n require(to != owner, \"ERC721: approval to current owner\");\n\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\n \"ERC721: approve caller is not owner nor approved for all\"\n );\n\n _approve(to, tokenId);\n }\n\n /**\n * @dev See {IERC721-getApproved}.\n */\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\n\n return _tokenApprovals[tokenId];\n }\n\n /**\n * @dev See {IERC721-setApprovalForAll}.\n */\n function setApprovalForAll(address operator, bool approved) public virtual override {\n require(operator != _msgSender(), \"ERC721: approve to caller\");\n\n _operatorApprovals[_msgSender()][operator] = approved;\n emit ApprovalForAll(_msgSender(), operator, approved);\n }\n\n /**\n * @dev See {IERC721-isApprovedForAll}.\n */\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\n return _operatorApprovals[owner][operator];\n }\n\n /**\n * @dev See {IERC721-transferFrom}.\n */\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\n //solhint-disable-next-line max-line-length\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n\n _transfer(from, to, tokenId);\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\n safeTransferFrom(from, to, tokenId, \"\");\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n _safeTransfer(from, to, tokenId, _data);\n }\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\n *\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n * implement alternative mechanisms to perform token transfer, such as signature-based.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\n _transfer(from, to, tokenId);\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Returns whether `tokenId` exists.\n *\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n *\n * Tokens start existing when they are minted (`_mint`),\n * and stop existing when they are burned (`_burn`).\n */\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\n return _tokenOwners.contains(tokenId);\n }\n\n /**\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\n address owner = ERC721.ownerOf(tokenId);\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\n }\n\n /**\n * @dev Safely mints `tokenId` and transfers it to `to`.\n *\n * Requirements:\n d*\n * - `tokenId` must not exist.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeMint(address to, uint256 tokenId) internal virtual {\n _safeMint(to, tokenId, \"\");\n }\n\n /**\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n */\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\n _mint(to, tokenId);\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Mints `tokenId` and transfers it to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n *\n * Requirements:\n *\n * - `tokenId` must not exist.\n * - `to` cannot be the zero address.\n *\n * Emits a {Transfer} event.\n */\n function _mint(address to, uint256 tokenId) internal virtual {\n require(to != address(0), \"ERC721: mint to the zero address\");\n require(!_exists(tokenId), \"ERC721: token already minted\");\n\n _beforeTokenTransfer(address(0), to, tokenId);\n\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(address(0), to, tokenId);\n }\n\n /**\n * @dev Destroys `tokenId`.\n * The approval is cleared when the token is burned.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n *\n * Emits a {Transfer} event.\n */\n function _burn(uint256 tokenId) internal virtual {\n address owner = ERC721.ownerOf(tokenId); // internal owner\n\n _beforeTokenTransfer(owner, address(0), tokenId);\n\n // Clear approvals\n _approve(address(0), tokenId);\n\n // Clear metadata (if any)\n if (bytes(_tokenURIs[tokenId]).length != 0) {\n delete _tokenURIs[tokenId];\n }\n\n _holderTokens[owner].remove(tokenId);\n\n _tokenOwners.remove(tokenId);\n\n emit Transfer(owner, address(0), tokenId);\n }\n\n /**\n * @dev Transfers `tokenId` from `from` to `to`.\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n *\n * Requirements:\n *\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n *\n * Emits a {Transfer} event.\n */\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\n require(to != address(0), \"ERC721: transfer to the zero address\");\n\n _beforeTokenTransfer(from, to, tokenId);\n\n // Clear approvals from the previous owner\n _approve(address(0), tokenId);\n\n _holderTokens[from].remove(tokenId);\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(from, to, tokenId);\n }\n\n /**\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\n _tokenURIs[tokenId] = _tokenURI;\n }\n\n /**\n * @dev Internal function to set the base URI for all token IDs. It is\n * automatically added as a prefix to the value returned in {tokenURI},\n * or to the token ID if {tokenURI} is empty.\n */\n function _setBaseURI(string memory baseURI_) internal virtual {\n _baseURI = baseURI_;\n }\n\n /**\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n * The call is not executed if the target address is not a contract.\n *\n * @param from address representing the previous owner of the given token ID\n * @param to target address that will receive the tokens\n * @param tokenId uint256 ID of the token to be transferred\n * @param _data bytes optional data to send along with the call\n * @return bool whether the call correctly returned the expected magic value\n */\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\n private returns (bool)\n {\n if (!to.isContract()) {\n return true;\n }\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\n IERC721Receiver(to).onERC721Received.selector,\n _msgSender(),\n from,\n tokenId,\n _data\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\n bytes4 retval = abi.decode(returndata, (bytes4));\n return (retval == _ERC721_RECEIVED);\n }\n\n /**\n * @dev Approve `to` to operate on `tokenId`\n *\n * Emits an {Approval} event.\n */\n function _approve(address to, uint256 tokenId) internal virtual {\n _tokenApprovals[tokenId] = to;\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\n }\n\n /**\n * @dev Hook that is called before any token transfer. This includes minting\n * and burning.\n *\n * Calling conditions:\n *\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n * transferred to `to`.\n * - When `from` is zero, `tokenId` will be minted for `to`.\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n *\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n */\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\n}\n", - "sourcePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "source": "// SPDX-License-Identifier: MIT\r\n\r\n// File: @openzeppelin/contracts/utils/Context.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/*\r\n * @dev Provides information about the current execution context, including the\r\n * sender of the transaction and its data. While these are generally available\r\n * via msg.sender and msg.data, they should not be accessed in such a direct\r\n * manner, since when dealing with GSN meta-transactions the account sending and\r\n * paying for execution may not be the actual sender (as far as an application\r\n * is concerned).\r\n *\r\n * This contract is only required for intermediate, library-like contracts.\r\n */\r\nabstract contract Context {\r\n function _msgSender() internal view virtual returns (address payable) {\r\n return msg.sender;\r\n }\r\n\r\n function _msgData() internal view virtual returns (bytes memory) {\r\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\r\n return msg.data;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/IERC165.sol\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Interface of the ERC165 standard, as defined in the\r\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\r\n *\r\n * Implementers can declare support of contract interfaces, which can then be\r\n * queried by others ({ERC165Checker}).\r\n *\r\n * For an implementation, see {ERC165}.\r\n */\r\ninterface IERC165 {\r\n /**\r\n * @dev Returns true if this contract implements the interface defined by\r\n * `interfaceId`. See the corresponding\r\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\r\n * to learn more about how these ids are created.\r\n *\r\n * This function call must use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Required interface of an ERC721 compliant contract.\r\n */\r\ninterface IERC721 is IERC165 {\r\n /**\r\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\r\n */\r\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\r\n */\r\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\r\n */\r\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\r\n\r\n /**\r\n * @dev Returns the number of tokens in ``owner``'s account.\r\n */\r\n function balanceOf(address owner) external view returns (uint256 balance);\r\n\r\n /**\r\n * @dev Returns the owner of the `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function ownerOf(uint256 tokenId) external view returns (address owner);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Transfers `tokenId` token from `from` to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\r\n * The approval is cleared when the token is transferred.\r\n *\r\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\r\n *\r\n * Requirements:\r\n *\r\n * - The caller must own the token or be an approved operator.\r\n * - `tokenId` must exist.\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function approve(address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Returns the account approved for `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function getApproved(uint256 tokenId) external view returns (address operator);\r\n\r\n /**\r\n * @dev Approve or remove `operator` as an operator for the caller.\r\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\r\n *\r\n * Requirements:\r\n *\r\n * - The `operator` cannot be the caller.\r\n *\r\n * Emits an {ApprovalForAll} event.\r\n */\r\n function setApprovalForAll(address operator, bool _approved) external;\r\n\r\n /**\r\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\r\n *\r\n * See {setApprovalForAll}\r\n */\r\n function isApprovedForAll(address owner, address operator) external view returns (bool);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Metadata is IERC721 {\r\n\r\n /**\r\n * @dev Returns the token collection name.\r\n */\r\n function name() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the token collection symbol.\r\n */\r\n function symbol() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\r\n */\r\n function tokenURI(uint256 tokenId) external view returns (string memory);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\r\n\r\n\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Enumerable is IERC721 {\r\n\r\n /**\r\n * @dev Returns the total amount of tokens stored by the contract.\r\n */\r\n function totalSupply() external view returns (uint256);\r\n\r\n /**\r\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\r\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\r\n\r\n /**\r\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\r\n * Use along with {totalSupply} to enumerate all tokens.\r\n */\r\n function tokenByIndex(uint256 index) external view returns (uint256);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\r\n\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 token receiver interface\r\n * @dev Interface for any contract that wants to support safeTransfers\r\n * from ERC721 asset contracts.\r\n */\r\ninterface IERC721Receiver {\r\n /**\r\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\r\n * by `operator` from `from`, this function is called.\r\n *\r\n * It must return its Solidity selector to confirm the token transfer.\r\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\r\n *\r\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\r\n */\r\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/ERC165.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Implementation of the {IERC165} interface.\r\n *\r\n * Contracts may inherit from this and call {_registerInterface} to declare\r\n * their support of an interface.\r\n */\r\nabstract contract ERC165 is IERC165 {\r\n /*\r\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\r\n\r\n /**\r\n * @dev Mapping of interface ids to whether or not it's supported.\r\n */\r\n mapping(bytes4 => bool) private _supportedInterfaces;\r\n\r\n constructor () {\r\n // Derived contracts need only register support for their own interfaces,\r\n // we register support for ERC165 itself here\r\n _registerInterface(_INTERFACE_ID_ERC165);\r\n }\r\n\r\n /**\r\n * @dev See {IERC165-supportsInterface}.\r\n *\r\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\r\n return _supportedInterfaces[interfaceId];\r\n }\r\n\r\n /**\r\n * @dev Registers the contract as an implementer of the interface defined by\r\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\r\n * registering its interface id is not required.\r\n *\r\n * See {IERC165-supportsInterface}.\r\n *\r\n * Requirements:\r\n *\r\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\r\n */\r\n function _registerInterface(bytes4 interfaceId) internal virtual {\r\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\r\n _supportedInterfaces[interfaceId] = true;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/math/SafeMath.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\r\n * checks.\r\n *\r\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\r\n * in bugs, because programmers usually assume that an overflow raises an\r\n * error, which is the standard behavior in high level programming languages.\r\n * `SafeMath` restores this intuition by reverting the transaction when an\r\n * operation overflows.\r\n *\r\n * Using this library instead of the unchecked operations eliminates an entire\r\n * class of bugs, so it's recommended to use it always.\r\n */\r\nlibrary SafeMath {\r\n /**\r\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n uint256 c = a + b;\r\n if (c < a) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b > a) return (false, 0);\r\n return (true, a - b);\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\r\n // benefit is lost if 'b' is also tested.\r\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\r\n if (a == 0) return (true, 0);\r\n uint256 c = a * b;\r\n if (c / a != b) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a / b);\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a % b);\r\n }\r\n\r\n /**\r\n * @dev Returns the addition of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `+` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Addition cannot overflow.\r\n */\r\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\r\n uint256 c = a + b;\r\n require(c >= a, \"SafeMath: addition overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting on\r\n * overflow (when the result is negative).\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b <= a, \"SafeMath: subtraction overflow\");\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `*` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Multiplication cannot overflow.\r\n */\r\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\r\n if (a == 0) return 0;\r\n uint256 c = a * b;\r\n require(c / a == b, \"SafeMath: multiplication overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: division by zero\");\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting when dividing by zero.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: modulo by zero\");\r\n return a % b;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\r\n * overflow (when the result is negative).\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {trySub}.\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b <= a, errorMessage);\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryDiv}.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting with custom message when dividing by zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryMod}.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a % b;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Address.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n/**\r\n * @dev Collection of functions related to the address type\r\n */\r\nlibrary Address {\r\n /**\r\n * @dev Returns true if `account` is a contract.\r\n *\r\n * [IMPORTANT]\r\n * ====\r\n * It is unsafe to assume that an address for which this function returns\r\n * false is an externally-owned account (EOA) and not a contract.\r\n *\r\n * Among others, `isContract` will return false for the following\r\n * types of addresses:\r\n *\r\n * - an externally-owned account\r\n * - a contract in construction\r\n * - an address where a contract will be created\r\n * - an address where a contract lived, but was destroyed\r\n * ====\r\n */\r\n function isContract(address account) internal view returns (bool) {\r\n // This method relies on extcodesize, which returns 0 for contracts in\r\n // construction, since the code is only stored at the end of the\r\n // constructor execution.\r\n\r\n uint256 size;\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly { size := extcodesize(account) }\r\n return size > 0;\r\n }\r\n\r\n /**\r\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\r\n * `recipient`, forwarding all available gas and reverting on errors.\r\n *\r\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\r\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\r\n * imposed by `transfer`, making them unable to receive funds via\r\n * `transfer`. {sendValue} removes this limitation.\r\n *\r\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\r\n *\r\n * IMPORTANT: because control is transferred to `recipient`, care must be\r\n * taken to not create reentrancy vulnerabilities. Consider using\r\n * {ReentrancyGuard} or the\r\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\r\n */\r\n function sendValue(address payable recipient, uint256 amount) internal {\r\n require(address(this).balance >= amount, \"Address: insufficient balance\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\r\n (bool success, ) = recipient.call{ value: amount }(\"\");\r\n require(success, \"Address: unable to send value, recipient may have reverted\");\r\n }\r\n\r\n /**\r\n * @dev Performs a Solidity function call using a low level `call`. A\r\n * plain`call` is an unsafe replacement for a function call: use this\r\n * function instead.\r\n *\r\n * If `target` reverts with a revert reason, it is bubbled up by this\r\n * function (like regular Solidity function calls).\r\n *\r\n * Returns the raw returned data. To convert to the expected return value,\r\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\r\n *\r\n * Requirements:\r\n *\r\n * - `target` must be a contract.\r\n * - calling `target` with `data` must not revert.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionCall(target, data, \"Address: low-level call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\r\n * `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, 0, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but also transferring `value` wei to `target`.\r\n *\r\n * Requirements:\r\n *\r\n * - the calling contract must have an ETH balance of at least `value`.\r\n * - the called Solidity function must be `payable`.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\r\n * with `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\r\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\r\n require(isContract(target), \"Address: call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\r\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\r\n require(isContract(target), \"Address: static call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.staticcall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n require(isContract(target), \"Address: delegate call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.delegatecall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\r\n if (success) {\r\n return returndata;\r\n } else {\r\n // Look for revert reason and bubble it up if present\r\n if (returndata.length > 0) {\r\n // The easiest way to bubble the revert reason is using memory via assembly\r\n\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n let returndata_size := mload(returndata)\r\n revert(add(32, returndata), returndata_size)\r\n }\r\n } else {\r\n revert(errorMessage);\r\n }\r\n }\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing\r\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\r\n * types.\r\n *\r\n * Sets have the following properties:\r\n *\r\n * - Elements are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableSet for EnumerableSet.AddressSet;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableSet.AddressSet private mySet;\r\n * }\r\n * ```\r\n *\r\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\r\n * and `uint256` (`UintSet`) are supported.\r\n */\r\nlibrary EnumerableSet {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Set type with\r\n // bytes32 values.\r\n // The Set implementation uses private functions, and user-facing\r\n // implementations (such as AddressSet) are just wrappers around the\r\n // underlying Set.\r\n // This means that we can only create new EnumerableSets for types that fit\r\n // in bytes32.\r\n\r\n struct Set {\r\n // Storage of set values\r\n bytes32[] _values;\r\n\r\n // Position of the value in the `values` array, plus 1 because index 0\r\n // means a value is not in the set.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function _add(Set storage set, bytes32 value) private returns (bool) {\r\n if (!_contains(set, value)) {\r\n set._values.push(value);\r\n // The value is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n set._indexes[value] = set._values.length;\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function _remove(Set storage set, bytes32 value) private returns (bool) {\r\n // We read and store the value's index to prevent multiple reads from the same storage slot\r\n uint256 valueIndex = set._indexes[value];\r\n\r\n if (valueIndex != 0) { // Equivalent to contains(set, value)\r\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\r\n // the array, and then remove the last element (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = valueIndex - 1;\r\n uint256 lastIndex = set._values.length - 1;\r\n\r\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n bytes32 lastvalue = set._values[lastIndex];\r\n\r\n // Move the last value to the index where the value to delete is\r\n set._values[toDeleteIndex] = lastvalue;\r\n // Update the index for the moved value\r\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved value was stored\r\n set._values.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete set._indexes[value];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\r\n return set._indexes[value] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function _length(Set storage set) private view returns (uint256) {\r\n return set._values.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\r\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\r\n return set._values[index];\r\n }\r\n\r\n // Bytes32Set\r\n\r\n struct Bytes32Set {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _add(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _remove(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\r\n return _contains(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(Bytes32Set storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\r\n return _at(set._inner, index);\r\n }\r\n\r\n // AddressSet\r\n\r\n struct AddressSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(AddressSet storage set, address value) internal returns (bool) {\r\n return _add(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(AddressSet storage set, address value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(AddressSet storage set, address value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(AddressSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\r\n return address(uint160(uint256(_at(set._inner, index))));\r\n }\r\n\r\n\r\n // UintSet\r\n\r\n struct UintSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _add(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function length(UintSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\r\n return uint256(_at(set._inner, index));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing an enumerable variant of Solidity's\r\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\r\n * type.\r\n *\r\n * Maps have the following properties:\r\n *\r\n * - Entries are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableMap.UintToAddressMap private myMap;\r\n * }\r\n * ```\r\n *\r\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\r\n * supported.\r\n */\r\nlibrary EnumerableMap {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Map type with\r\n // bytes32 keys and values.\r\n // The Map implementation uses private functions, and user-facing\r\n // implementations (such as Uint256ToAddressMap) are just wrappers around\r\n // the underlying Map.\r\n // This means that we can only create new EnumerableMaps for types that fit\r\n // in bytes32.\r\n\r\n struct MapEntry {\r\n bytes32 _key;\r\n bytes32 _value;\r\n }\r\n\r\n struct Map {\r\n // Storage of map keys and values\r\n MapEntry[] _entries;\r\n\r\n // Position of the entry defined by a key in the `entries` array, plus 1\r\n // because index 0 means a key is not in the map.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\r\n map._entries.push(MapEntry({ _key: key, _value: value }));\r\n // The entry is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n map._indexes[key] = map._entries.length;\r\n return true;\r\n } else {\r\n map._entries[keyIndex - 1]._value = value;\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a key-value pair from a map. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function _remove(Map storage map, bytes32 key) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex != 0) { // Equivalent to contains(map, key)\r\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\r\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = keyIndex - 1;\r\n uint256 lastIndex = map._entries.length - 1;\r\n\r\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n MapEntry storage lastEntry = map._entries[lastIndex];\r\n\r\n // Move the last entry to the index where the entry to delete is\r\n map._entries[toDeleteIndex] = lastEntry;\r\n // Update the index for the moved entry\r\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved entry was stored\r\n map._entries.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete map._indexes[key];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\r\n return map._indexes[key] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of key-value pairs in the map. O(1).\r\n */\r\n function _length(Map storage map) private view returns (uint256) {\r\n return map._entries.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of entries inside the\r\n * array, and it may change when more entries are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\r\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\r\n\r\n MapEntry storage entry = map._entries[index];\r\n return (entry._key, entry._value);\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n */\r\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\r\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {_tryGet}.\r\n */\r\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n // UintToAddressMap\r\n\r\n struct UintToAddressMap {\r\n Map _inner;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\r\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\r\n return _remove(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\r\n return _contains(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of elements in the map. O(1).\r\n */\r\n function length(UintToAddressMap storage map) internal view returns (uint256) {\r\n return _length(map._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the element stored at position `index` in the set. O(1).\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\r\n (bytes32 key, bytes32 value) = _at(map._inner, index);\r\n return (uint256(key), address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\r\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\r\n return (success, address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\r\n }\r\n\r\n /**\r\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryGet}.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Strings.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev String operations.\r\n */\r\nlibrary Strings {\r\n /**\r\n * @dev Converts a `uint256` to its ASCII `string` representation.\r\n */\r\n function toString(uint256 value) internal pure returns (string memory) {\r\n // Inspired by OraclizeAPI's implementation - MIT licence\r\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\r\n\r\n if (value == 0) {\r\n return \"0\";\r\n }\r\n uint256 temp = value;\r\n uint256 digits;\r\n while (temp != 0) {\r\n digits++;\r\n temp /= 10;\r\n }\r\n bytes memory buffer = new bytes(digits);\r\n uint256 index = digits - 1;\r\n temp = value;\r\n while (temp != 0) {\r\n buffer[index--] = bytes1(uint8(48 + temp % 10));\r\n temp /= 10;\r\n }\r\n return string(buffer);\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 Non-Fungible Token Standard basic implementation\r\n * @dev see https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\r\n using SafeMath for uint256;\r\n using Address for address;\r\n using EnumerableSet for EnumerableSet.UintSet;\r\n using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n using Strings for uint256;\r\n\r\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\r\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\r\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\r\n\r\n // Mapping from holder address to their (enumerable) set of owned tokens\r\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\r\n\r\n // Enumerable mapping from token ids to their owners\r\n EnumerableMap.UintToAddressMap private _tokenOwners;\r\n\r\n // Mapping from token ID to approved address\r\n mapping (uint256 => address) private _tokenApprovals;\r\n\r\n // Mapping from owner to operator approvals\r\n mapping (address => mapping (address => bool)) private _operatorApprovals;\r\n\r\n // Token name\r\n string private _name;\r\n\r\n // Token symbol\r\n string private _symbol;\r\n\r\n // Optional mapping for token URIs\r\n mapping (uint256 => string) private _tokenURIs;\r\n\r\n // Base URI\r\n string private _baseURI;\r\n\r\n /*\r\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\r\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\r\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\r\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\r\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\r\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\r\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\r\n *\r\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\r\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\r\n\r\n /*\r\n * bytes4(keccak256('name()')) == 0x06fdde03\r\n * bytes4(keccak256('symbol()')) == 0x95d89b41\r\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\r\n *\r\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\r\n\r\n /*\r\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\r\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\r\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\r\n *\r\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\r\n\r\n /**\r\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\r\n */\r\n constructor (string memory name_, string memory symbol_) {\r\n _name = name_;\r\n _symbol = symbol_;\r\n\r\n // register the supported interfaces to conform to ERC721 via ERC165\r\n _registerInterface(_INTERFACE_ID_ERC721);\r\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\r\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-balanceOf}.\r\n */\r\n function balanceOf(address owner) public view virtual override returns (uint256) {\r\n require(owner != address(0), \"ERC721: balance query for the zero address\");\r\n return _holderTokens[owner].length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-ownerOf}.\r\n */\r\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\r\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-name}.\r\n */\r\n function name() public view virtual override returns (string memory) {\r\n return _name;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-symbol}.\r\n */\r\n function symbol() public view virtual override returns (string memory) {\r\n return _symbol;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-tokenURI}.\r\n */\r\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\r\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\r\n\r\n string memory _tokenURI = _tokenURIs[tokenId];\r\n string memory base = baseURI();\r\n\r\n // If there is no base URI, return the token URI.\r\n if (bytes(base).length == 0) {\r\n return _tokenURI;\r\n }\r\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\r\n if (bytes(_tokenURI).length > 0) {\r\n return string(abi.encodePacked(base, _tokenURI));\r\n }\r\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\r\n return string(abi.encodePacked(base, tokenId.toString()));\r\n }\r\n\r\n /**\r\n * @dev Returns the base URI set via {_setBaseURI}. This will be\r\n * automatically added as a prefix in {tokenURI} to each token's URI, or\r\n * to the token ID if no specific URI is set for that token ID.\r\n */\r\n function baseURI() public view virtual returns (string memory) {\r\n return _baseURI;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\r\n return _holderTokens[owner].at(index);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-totalSupply}.\r\n */\r\n function totalSupply() public view virtual override returns (uint256) {\r\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\r\n return _tokenOwners.length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenByIndex}.\r\n */\r\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\r\n (uint256 tokenId, ) = _tokenOwners.at(index);\r\n return tokenId;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-approve}.\r\n */\r\n function approve(address to, uint256 tokenId) public virtual override {\r\n address owner = ERC721.ownerOf(tokenId);\r\n require(to != owner, \"ERC721: approval to current owner\");\r\n\r\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\r\n \"ERC721: approve caller is not owner nor approved for all\"\r\n );\r\n\r\n _approve(to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-getApproved}.\r\n */\r\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\r\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\r\n\r\n return _tokenApprovals[tokenId];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-setApprovalForAll}.\r\n */\r\n function setApprovalForAll(address operator, bool approved) public virtual override {\r\n require(operator != _msgSender(), \"ERC721: approve to caller\");\r\n\r\n _operatorApprovals[_msgSender()][operator] = approved;\r\n emit ApprovalForAll(_msgSender(), operator, approved);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-isApprovedForAll}.\r\n */\r\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\r\n return _operatorApprovals[owner][operator];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-transferFrom}.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n //solhint-disable-next-line max-line-length\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n\r\n _transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n safeTransferFrom(from, to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n _safeTransfer(from, to, tokenId, _data);\r\n }\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\r\n *\r\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\r\n * implement alternative mechanisms to perform token transfer, such as signature-based.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _transfer(from, to, tokenId);\r\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Returns whether `tokenId` exists.\r\n *\r\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\r\n *\r\n * Tokens start existing when they are minted (`_mint`),\r\n * and stop existing when they are burned (`_burn`).\r\n */\r\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\r\n return _tokenOwners.contains(tokenId);\r\n }\r\n\r\n /**\r\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\r\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\r\n address owner = ERC721.ownerOf(tokenId);\r\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\r\n }\r\n\r\n /**\r\n * @dev Safely mints `tokenId` and transfers it to `to`.\r\n *\r\n * Requirements:\r\n d*\r\n * - `tokenId` must not exist.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeMint(address to, uint256 tokenId) internal virtual {\r\n _safeMint(to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\r\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\r\n */\r\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _mint(to, tokenId);\r\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Mints `tokenId` and transfers it to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must not exist.\r\n * - `to` cannot be the zero address.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _mint(address to, uint256 tokenId) internal virtual {\r\n require(to != address(0), \"ERC721: mint to the zero address\");\r\n require(!_exists(tokenId), \"ERC721: token already minted\");\r\n\r\n _beforeTokenTransfer(address(0), to, tokenId);\r\n\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(address(0), to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Destroys `tokenId`.\r\n * The approval is cleared when the token is burned.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _burn(uint256 tokenId) internal virtual {\r\n address owner = ERC721.ownerOf(tokenId); // internal owner\r\n\r\n _beforeTokenTransfer(owner, address(0), tokenId);\r\n\r\n // Clear approvals\r\n _approve(address(0), tokenId);\r\n\r\n // Clear metadata (if any)\r\n if (bytes(_tokenURIs[tokenId]).length != 0) {\r\n delete _tokenURIs[tokenId];\r\n }\r\n\r\n _holderTokens[owner].remove(tokenId);\r\n\r\n _tokenOwners.remove(tokenId);\r\n\r\n emit Transfer(owner, address(0), tokenId);\r\n }\r\n\r\n /**\r\n * @dev Transfers `tokenId` from `from` to `to`.\r\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\r\n *\r\n * Requirements:\r\n *\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\r\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\r\n require(to != address(0), \"ERC721: transfer to the zero address\");\r\n\r\n _beforeTokenTransfer(from, to, tokenId);\r\n\r\n // Clear approvals from the previous owner\r\n _approve(address(0), tokenId);\r\n\r\n _holderTokens[from].remove(tokenId);\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\r\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\r\n _tokenURIs[tokenId] = _tokenURI;\r\n }\r\n\r\n /**\r\n * @dev Internal function to set the base URI for all token IDs. It is\r\n * automatically added as a prefix to the value returned in {tokenURI},\r\n * or to the token ID if {tokenURI} is empty.\r\n */\r\n function _setBaseURI(string memory baseURI_) internal virtual {\r\n _baseURI = baseURI_;\r\n }\r\n\r\n /**\r\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\r\n * The call is not executed if the target address is not a contract.\r\n *\r\n * @param from address representing the previous owner of the given token ID\r\n * @param to target address that will receive the tokens\r\n * @param tokenId uint256 ID of the token to be transferred\r\n * @param _data bytes optional data to send along with the call\r\n * @return bool whether the call correctly returned the expected magic value\r\n */\r\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\r\n private returns (bool)\r\n {\r\n if (!to.isContract()) {\r\n return true;\r\n }\r\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\r\n IERC721Receiver(to).onERC721Received.selector,\r\n _msgSender(),\r\n from,\r\n tokenId,\r\n _data\r\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n bytes4 retval = abi.decode(returndata, (bytes4));\r\n return (retval == _ERC721_RECEIVED);\r\n }\r\n\r\n /**\r\n * @dev Approve `to` to operate on `tokenId`\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function _approve(address to, uint256 tokenId) internal virtual {\r\n _tokenApprovals[tokenId] = to;\r\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\r\n }\r\n\r\n /**\r\n * @dev Hook that is called before any token transfer. This includes minting\r\n * and burning.\r\n *\r\n * Calling conditions:\r\n *\r\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\r\n * transferred to `to`.\r\n * - When `from` is zero, `tokenId` will be minted for `to`.\r\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n *\r\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\r\n */\r\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\r\n}\r\n", + "sourcePath": "C:\\Users\\Noahm\\cryptoboys-nft-marketplace\\src\\contracts\\ERC721.sol", "ast": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, - "id": 3499, + "id": 2991, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 509, + "id": 1, "literals": [ "solidity", ">=", @@ -401,7 +401,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "abstract": true, @@ -409,77 +409,77 @@ "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, - "id": 530, + "id": 22, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 517, + "id": 9, "nodeType": "Block", - "src": "719:34:1", + "src": "735:36:0", "statements": [ { "expression": { "expression": { - "id": 514, + "id": 6, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "736:3:1", + "src": "753:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 515, + "id": 7, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "736:10:1", + "src": "753:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 513, - "id": 516, + "functionReturnParameters": 5, + "id": 8, "nodeType": "Return", - "src": "729:17:1" + "src": "746:17:0" } ] }, - "id": 518, + "id": 10, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgSender", "nodeType": "FunctionDefinition", "parameters": { - "id": 510, + "id": 2, "nodeType": "ParameterList", "parameters": [], - "src": "668:2:1" + "src": "684:2:0" }, "returnParameters": { - "id": 513, + "id": 5, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 512, + "id": 4, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 518, - "src": "702:15:1", + "scope": 10, + "src": "718:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -487,10 +487,10 @@ "typeString": "address payable" }, "typeName": { - "id": 511, + "id": 3, "name": "address", "nodeType": "ElementaryTypeName", - "src": "702:15:1", + "src": "718:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -500,95 +500,95 @@ "visibility": "internal" } ], - "src": "701:17:1" + "src": "717:17:0" }, - "scope": 530, - "src": "649:104:1", + "scope": 22, + "src": "665:106:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 528, + "id": 20, "nodeType": "Block", - "src": "824:165:1", + "src": "844:168:0", "statements": [ { "expression": { - "id": 523, + "id": 15, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "834:4:1", + "src": "855:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 524, + "id": 16, "nodeType": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "expression": { "expression": { - "id": 525, + "id": 17, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "974:3:1", + "src": "996:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 526, + "id": 18, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "data", "nodeType": "MemberAccess", - "src": "974:8:1", + "src": "996:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" } }, - "functionReturnParameters": 522, - "id": 527, + "functionReturnParameters": 14, + "id": 19, "nodeType": "Return", - "src": "967:15:1" + "src": "989:15:0" } ] }, - "id": 529, + "id": 21, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgData", "nodeType": "FunctionDefinition", "parameters": { - "id": 519, + "id": 11, "nodeType": "ParameterList", "parameters": [], - "src": "776:2:1" + "src": "796:2:0" }, "returnParameters": { - "id": 522, + "id": 14, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 521, + "id": 13, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 529, - "src": "810:12:1", + "scope": 21, + "src": "830:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -596,10 +596,10 @@ "typeString": "bytes" }, "typeName": { - "id": 520, + "id": 12, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "810:5:1", + "src": "830:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -608,20 +608,20 @@ "visibility": "internal" } ], - "src": "809:14:1" + "src": "829:14:0" }, - "scope": 530, - "src": "759:230:1", + "scope": 22, + "src": "779:233:0", "stateMutability": "view", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "617:374:1" + "scope": 2991, + "src": "632:383:0" }, { - "id": 531, + "id": 23, "literals": [ "solidity", ">=", @@ -632,7 +632,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "abstract": false, @@ -640,45 +640,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 532, + "id": 24, "nodeType": "StructuredDocumentation", - "src": "1086:279:1", + "src": "1116:287:0", "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, "fullyImplemented": false, - "id": 541, + "id": 33, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 533, + "id": 25, "nodeType": "StructuredDocumentation", - "src": "1390:340:1", + "src": "1430:347:0", "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 540, + "id": 32, "implemented": false, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 536, + "id": 28, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 535, + "id": 27, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1762:18:1", + "scope": 32, + "src": "1810:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -686,10 +686,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 534, + "id": 26, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "1762:6:1", + "src": "1810:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -698,20 +698,20 @@ "visibility": "internal" } ], - "src": "1761:20:1" + "src": "1809:20:0" }, "returnParameters": { - "id": 539, + "id": 31, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 538, + "id": 30, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1805:4:1", + "scope": 32, + "src": "1853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -719,10 +719,10 @@ "typeString": "bool" }, "typeName": { - "id": 537, + "id": 29, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1805:4:1", + "src": "1853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -731,20 +731,20 @@ "visibility": "internal" } ], - "src": "1804:6:1" + "src": "1852:6:0" }, - "scope": 541, - "src": "1735:76:1", + "scope": 33, + "src": "1783:76:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1366:447:1" + "scope": 2991, + "src": "1405:457:0" }, { - "id": 542, + "id": 34, "literals": [ "solidity", ">=", @@ -755,43 +755,43 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 544, + "id": 36, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "1996:7:1", + "referencedDeclaration": 33, + "src": "2054:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 545, + "id": 37, "nodeType": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "documentation": { - "id": 543, + "id": 35, "nodeType": "StructuredDocumentation", - "src": "1907:67:1", + "src": "1962:69:0", "text": " @dev Required interface of an ERC721 compliant contract." }, "fullyImplemented": false, - "id": 655, + "id": 147, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", "nodeType": "ContractDefinition", @@ -799,27 +799,27 @@ { "anonymous": false, "documentation": { - "id": 546, + "id": 38, "nodeType": "StructuredDocumentation", - "src": "2010:88:1", + "src": "2069:90:0", "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 554, + "id": 46, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { - "id": 553, + "id": 45, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 548, + "id": 40, "indexed": true, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2118:20:1", + "scope": 46, + "src": "2180:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -827,10 +827,10 @@ "typeString": "address" }, "typeName": { - "id": 547, + "id": 39, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2118:7:1", + "src": "2180:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -841,13 +841,13 @@ }, { "constant": false, - "id": 550, + "id": 42, "indexed": true, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2140:18:1", + "scope": 46, + "src": "2202:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -855,10 +855,10 @@ "typeString": "address" }, "typeName": { - "id": 549, + "id": 41, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2140:7:1", + "src": "2202:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -869,13 +869,13 @@ }, { "constant": false, - "id": 552, + "id": 44, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2160:23:1", + "scope": 46, + "src": "2222:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -883,10 +883,10 @@ "typeString": "uint256" }, "typeName": { - "id": 551, + "id": 43, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2160:7:1", + "src": "2222:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -895,34 +895,34 @@ "visibility": "internal" } ], - "src": "2117:67:1" + "src": "2179:67:0" }, - "src": "2103:82:1" + "src": "2165:82:0" }, { "anonymous": false, "documentation": { - "id": 555, + "id": 47, "nodeType": "StructuredDocumentation", - "src": "2191:94:1", + "src": "2255:96:0", "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 563, + "id": 55, "name": "Approval", "nodeType": "EventDefinition", "parameters": { - "id": 562, + "id": 54, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 557, + "id": 49, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2305:21:1", + "scope": 55, + "src": "2372:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -930,10 +930,10 @@ "typeString": "address" }, "typeName": { - "id": 556, + "id": 48, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2305:7:1", + "src": "2372:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -944,13 +944,13 @@ }, { "constant": false, - "id": 559, + "id": 51, "indexed": true, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2328:24:1", + "scope": 55, + "src": "2395:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -958,10 +958,10 @@ "typeString": "address" }, "typeName": { - "id": 558, + "id": 50, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2328:7:1", + "src": "2395:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -972,13 +972,13 @@ }, { "constant": false, - "id": 561, + "id": 53, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2354:23:1", + "scope": 55, + "src": "2421:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -986,10 +986,10 @@ "typeString": "uint256" }, "typeName": { - "id": 560, + "id": 52, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2354:7:1", + "src": "2421:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -998,34 +998,34 @@ "visibility": "internal" } ], - "src": "2304:74:1" + "src": "2371:74:0" }, - "src": "2290:89:1" + "src": "2357:89:0" }, { "anonymous": false, "documentation": { - "id": 564, + "id": 56, "nodeType": "StructuredDocumentation", - "src": "2385:117:1", + "src": "2454:119:0", "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 572, + "id": 64, "name": "ApprovalForAll", "nodeType": "EventDefinition", "parameters": { - "id": 571, + "id": 63, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 566, + "id": 58, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2528:21:1", + "scope": 64, + "src": "2600:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1033,10 +1033,10 @@ "typeString": "address" }, "typeName": { - "id": 565, + "id": 57, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2528:7:1", + "src": "2600:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1047,13 +1047,13 @@ }, { "constant": false, - "id": 568, + "id": 60, "indexed": true, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2551:24:1", + "scope": 64, + "src": "2623:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1061,10 +1061,10 @@ "typeString": "address" }, "typeName": { - "id": 567, + "id": 59, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2551:7:1", + "src": "2623:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1075,13 +1075,13 @@ }, { "constant": false, - "id": 570, + "id": 62, "indexed": false, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2577:13:1", + "scope": 64, + "src": "2649:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1089,10 +1089,10 @@ "typeString": "bool" }, "typeName": { - "id": 569, + "id": 61, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2577:4:1", + "src": "2649:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1101,36 +1101,36 @@ "visibility": "internal" } ], - "src": "2527:64:1" + "src": "2599:64:0" }, - "src": "2507:85:1" + "src": "2579:85:0" }, { "documentation": { - "id": 573, + "id": 65, "nodeType": "StructuredDocumentation", - "src": "2598:76:1", + "src": "2672:78:0", "text": " @dev Returns the number of tokens in ``owner``'s account." }, "functionSelector": "70a08231", - "id": 580, + "id": 72, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 576, + "id": 68, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 575, + "id": 67, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2698:13:1", + "scope": 72, + "src": "2775:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1138,10 +1138,10 @@ "typeString": "address" }, "typeName": { - "id": 574, + "id": 66, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2698:7:1", + "src": "2775:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1151,20 +1151,20 @@ "visibility": "internal" } ], - "src": "2697:15:1" + "src": "2774:15:0" }, "returnParameters": { - "id": 579, + "id": 71, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 578, + "id": 70, "mutability": "mutable", "name": "balance", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2736:15:1", + "scope": 72, + "src": "2813:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1172,10 +1172,10 @@ "typeString": "uint256" }, "typeName": { - "id": 577, + "id": 69, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2736:7:1", + "src": "2813:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1184,40 +1184,40 @@ "visibility": "internal" } ], - "src": "2735:17:1" + "src": "2812:17:0" }, - "scope": 655, - "src": "2679:74:1", + "scope": 147, + "src": "2756:74:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 581, + "id": 73, "nodeType": "StructuredDocumentation", - "src": "2759:131:1", + "src": "2838:137:0", "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "6352211e", - "id": 588, + "id": 80, "implemented": false, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 584, + "id": 76, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 583, + "id": 75, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2912:15:1", + "scope": 80, + "src": "2998:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1225,10 +1225,10 @@ "typeString": "uint256" }, "typeName": { - "id": 582, + "id": 74, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2912:7:1", + "src": "2998:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1237,20 +1237,20 @@ "visibility": "internal" } ], - "src": "2911:17:1" + "src": "2997:17:0" }, "returnParameters": { - "id": 587, + "id": 79, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 586, + "id": 78, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2952:13:1", + "scope": 80, + "src": "3038:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1258,10 +1258,10 @@ "typeString": "address" }, "typeName": { - "id": 585, + "id": 77, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2952:7:1", + "src": "3038:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1271,40 +1271,40 @@ "visibility": "internal" } ], - "src": "2951:15:1" + "src": "3037:15:0" }, - "scope": 655, - "src": "2895:72:1", + "scope": 147, + "src": "2981:72:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 589, + "id": 81, "nodeType": "StructuredDocumentation", - "src": "2973:690:1", + "src": "3061:703:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "42842e0e", - "id": 598, + "id": 90, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 596, + "id": 88, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 591, + "id": 83, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3694:12:1", + "scope": 90, + "src": "3796:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1312,10 +1312,10 @@ "typeString": "address" }, "typeName": { - "id": 590, + "id": 82, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3694:7:1", + "src": "3796:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1326,12 +1326,12 @@ }, { "constant": false, - "id": 593, + "id": 85, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3708:10:1", + "scope": 90, + "src": "3810:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1339,10 +1339,10 @@ "typeString": "address" }, "typeName": { - "id": 592, + "id": 84, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3708:7:1", + "src": "3810:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1353,12 +1353,12 @@ }, { "constant": false, - "id": 595, + "id": 87, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3720:15:1", + "scope": 90, + "src": "3822:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1366,10 +1366,10 @@ "typeString": "uint256" }, "typeName": { - "id": 594, + "id": 86, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3720:7:1", + "src": "3822:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1378,46 +1378,46 @@ "visibility": "internal" } ], - "src": "3693:43:1" + "src": "3795:43:0" }, "returnParameters": { - "id": 597, + "id": 89, "nodeType": "ParameterList", "parameters": [], - "src": "3745:0:1" + "src": "3847:0:0" }, - "scope": 655, - "src": "3668:78:1", + "scope": 147, + "src": "3770:78:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 599, + "id": 91, "nodeType": "StructuredDocumentation", - "src": "3752:504:1", + "src": "3856:517:0", "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, "functionSelector": "23b872dd", - "id": 608, + "id": 100, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 606, + "id": 98, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 601, + "id": 93, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4283:12:1", + "scope": 100, + "src": "4401:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1425,10 +1425,10 @@ "typeString": "address" }, "typeName": { - "id": 600, + "id": 92, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4283:7:1", + "src": "4401:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1439,12 +1439,12 @@ }, { "constant": false, - "id": 603, + "id": 95, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4297:10:1", + "scope": 100, + "src": "4415:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1452,10 +1452,10 @@ "typeString": "address" }, "typeName": { - "id": 602, + "id": 94, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4297:7:1", + "src": "4415:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1466,12 +1466,12 @@ }, { "constant": false, - "id": 605, + "id": 97, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4309:15:1", + "scope": 100, + "src": "4427:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1479,10 +1479,10 @@ "typeString": "uint256" }, "typeName": { - "id": 604, + "id": 96, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4309:7:1", + "src": "4427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1491,46 +1491,46 @@ "visibility": "internal" } ], - "src": "4282:43:1" + "src": "4400:43:0" }, "returnParameters": { - "id": 607, + "id": 99, "nodeType": "ParameterList", "parameters": [], - "src": "4334:0:1" + "src": "4452:0:0" }, - "scope": 655, - "src": "4261:74:1", + "scope": 147, + "src": "4379:74:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 609, + "id": 101, "nodeType": "StructuredDocumentation", - "src": "4341:452:1", + "src": "4461:464:0", "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, "functionSelector": "095ea7b3", - "id": 616, + "id": 108, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 614, + "id": 106, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 611, + "id": 103, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4815:10:1", + "scope": 108, + "src": "4948:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1538,10 +1538,10 @@ "typeString": "address" }, "typeName": { - "id": 610, + "id": 102, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4815:7:1", + "src": "4948:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1552,12 +1552,12 @@ }, { "constant": false, - "id": 613, + "id": 105, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4827:15:1", + "scope": 108, + "src": "4960:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1565,10 +1565,10 @@ "typeString": "uint256" }, "typeName": { - "id": 612, + "id": 104, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4827:7:1", + "src": "4960:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1577,46 +1577,46 @@ "visibility": "internal" } ], - "src": "4814:29:1" + "src": "4947:29:0" }, "returnParameters": { - "id": 615, + "id": 107, "nodeType": "ParameterList", "parameters": [], - "src": "4852:0:1" + "src": "4985:0:0" }, - "scope": 655, - "src": "4798:55:1", + "scope": 147, + "src": "4931:55:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 617, + "id": 109, "nodeType": "StructuredDocumentation", - "src": "4859:139:1", + "src": "4994:145:0", "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "081812fc", - "id": 624, + "id": 116, "implemented": false, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "parameters": { - "id": 620, + "id": 112, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 619, + "id": 111, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5024:15:1", + "scope": 116, + "src": "5166:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1624,10 +1624,10 @@ "typeString": "uint256" }, "typeName": { - "id": 618, + "id": 110, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5024:7:1", + "src": "5166:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1636,20 +1636,20 @@ "visibility": "internal" } ], - "src": "5023:17:1" + "src": "5165:17:0" }, "returnParameters": { - "id": 623, + "id": 115, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 622, + "id": 114, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5064:16:1", + "scope": 116, + "src": "5206:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1657,10 +1657,10 @@ "typeString": "address" }, "typeName": { - "id": 621, + "id": 113, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5064:7:1", + "src": "5206:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1670,40 +1670,40 @@ "visibility": "internal" } ], - "src": "5063:18:1" + "src": "5205:18:0" }, - "scope": 655, - "src": "5003:79:1", + "scope": 147, + "src": "5145:79:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 625, + "id": 117, "nodeType": "StructuredDocumentation", - "src": "5088:309:1", + "src": "5232:318:0", "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, "functionSelector": "a22cb465", - "id": 632, + "id": 124, "implemented": false, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 630, + "id": 122, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 627, + "id": 119, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5429:16:1", + "scope": 124, + "src": "5583:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1711,10 +1711,10 @@ "typeString": "address" }, "typeName": { - "id": 626, + "id": 118, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5429:7:1", + "src": "5583:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1725,12 +1725,12 @@ }, { "constant": false, - "id": 629, + "id": 121, "mutability": "mutable", "name": "_approved", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5447:14:1", + "scope": 124, + "src": "5601:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1738,10 +1738,10 @@ "typeString": "bool" }, "typeName": { - "id": 628, + "id": 120, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5447:4:1", + "src": "5601:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1750,46 +1750,46 @@ "visibility": "internal" } ], - "src": "5428:34:1" + "src": "5582:34:0" }, "returnParameters": { - "id": 631, + "id": 123, "nodeType": "ParameterList", "parameters": [], - "src": "5471:0:1" + "src": "5625:0:0" }, - "scope": 655, - "src": "5402:70:1", + "scope": 147, + "src": "5556:70:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 633, + "id": 125, "nodeType": "StructuredDocumentation", - "src": "5478:138:1", + "src": "5634:142:0", "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, "functionSelector": "e985e9c5", - "id": 642, + "id": 134, "implemented": false, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 638, + "id": 130, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 635, + "id": 127, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5647:13:1", + "scope": 134, + "src": "5808:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1797,10 +1797,10 @@ "typeString": "address" }, "typeName": { - "id": 634, + "id": 126, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5647:7:1", + "src": "5808:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1811,12 +1811,12 @@ }, { "constant": false, - "id": 637, + "id": 129, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5662:16:1", + "scope": 134, + "src": "5823:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1824,10 +1824,10 @@ "typeString": "address" }, "typeName": { - "id": 636, + "id": 128, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5662:7:1", + "src": "5823:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1837,20 +1837,20 @@ "visibility": "internal" } ], - "src": "5646:33:1" + "src": "5807:33:0" }, "returnParameters": { - "id": 641, + "id": 133, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 640, + "id": 132, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5703:4:1", + "scope": 134, + "src": "5864:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1858,10 +1858,10 @@ "typeString": "bool" }, "typeName": { - "id": 639, + "id": 131, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5703:4:1", + "src": "5864:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1870,40 +1870,40 @@ "visibility": "internal" } ], - "src": "5702:6:1" + "src": "5863:6:0" }, - "scope": 655, - "src": "5621:88:1", + "scope": 147, + "src": "5782:88:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 643, + "id": 135, "nodeType": "StructuredDocumentation", - "src": "5715:568:1", + "src": "5878:580:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "b88d4fde", - "id": 654, + "id": 146, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 652, + "id": 144, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 645, + "id": 137, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6314:12:1", + "scope": 146, + "src": "6490:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1911,10 +1911,10 @@ "typeString": "address" }, "typeName": { - "id": 644, + "id": 136, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6314:7:1", + "src": "6490:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1925,12 +1925,12 @@ }, { "constant": false, - "id": 647, + "id": 139, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6328:10:1", + "scope": 146, + "src": "6504:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1938,10 +1938,10 @@ "typeString": "address" }, "typeName": { - "id": 646, + "id": 138, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6328:7:1", + "src": "6504:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1952,12 +1952,12 @@ }, { "constant": false, - "id": 649, + "id": 141, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6340:15:1", + "scope": 146, + "src": "6516:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1965,10 +1965,10 @@ "typeString": "uint256" }, "typeName": { - "id": 648, + "id": 140, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6340:7:1", + "src": "6516:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1978,12 +1978,12 @@ }, { "constant": false, - "id": 651, + "id": 143, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6357:19:1", + "scope": 146, + "src": "6533:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -1991,10 +1991,10 @@ "typeString": "bytes" }, "typeName": { - "id": 650, + "id": 142, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6357:5:1", + "src": "6533:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2003,26 +2003,26 @@ "visibility": "internal" } ], - "src": "6313:64:1" + "src": "6489:64:0" }, "returnParameters": { - "id": 653, + "id": 145, "nodeType": "ParameterList", "parameters": [], - "src": "6386:0:1" + "src": "6562:0:0" }, - "scope": 655, - "src": "6288:99:1", + "scope": 147, + "src": "6464:99:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1975:4414:1" + "scope": 2991, + "src": "2033:4533:0" }, { - "id": 656, + "id": 148, "literals": [ "solidity", ">=", @@ -2033,81 +2033,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 658, + "id": 150, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "6654:7:1", + "referencedDeclaration": 147, + "src": "6841:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 659, + "id": 151, "nodeType": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 657, + "id": 149, "nodeType": "StructuredDocumentation", - "src": "6491:133:1", + "src": "6674:136:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 680, + "id": 172, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 660, + "id": 152, "nodeType": "StructuredDocumentation", - "src": "6669:58:1", + "src": "6858:60:0", "text": " @dev Returns the token collection name." }, "functionSelector": "06fdde03", - "id": 665, + "id": 157, "implemented": false, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "parameters": { - "id": 661, + "id": 153, "nodeType": "ParameterList", "parameters": [], - "src": "6745:2:1" + "src": "6937:2:0" }, "returnParameters": { - "id": 664, + "id": 156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 663, + "id": 155, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 665, - "src": "6771:13:1", + "scope": 157, + "src": "6963:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2115,10 +2115,10 @@ "typeString": "string" }, "typeName": { - "id": 662, + "id": 154, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6771:6:1", + "src": "6963:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -2127,46 +2127,46 @@ "visibility": "internal" } ], - "src": "6770:15:1" + "src": "6962:15:0" }, - "scope": 680, - "src": "6732:54:1", + "scope": 172, + "src": "6924:54:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 666, + "id": 158, "nodeType": "StructuredDocumentation", - "src": "6792:60:1", + "src": "6986:62:0", "text": " @dev Returns the token collection symbol." }, "functionSelector": "95d89b41", - "id": 671, + "id": 163, "implemented": false, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "parameters": { - "id": 667, + "id": 159, "nodeType": "ParameterList", "parameters": [], - "src": "6872:2:1" + "src": "7069:2:0" }, "returnParameters": { - "id": 670, + "id": 162, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 669, + "id": 161, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 671, - "src": "6898:13:1", + "scope": 163, + "src": "7095:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2174,10 +2174,10 @@ "typeString": "string" }, "typeName": { - "id": 668, + "id": 160, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6898:6:1", + "src": "7095:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -2186,40 +2186,40 @@ "visibility": "internal" } ], - "src": "6897:15:1" + "src": "7094:15:0" }, - "scope": 680, - "src": "6857:56:1", + "scope": 172, + "src": "7054:56:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 672, + "id": 164, "nodeType": "StructuredDocumentation", - "src": "6919:90:1", + "src": "7118:92:0", "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, "functionSelector": "c87b56dd", - "id": 679, + "id": 171, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 675, + "id": 167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 674, + "id": 166, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7032:15:1", + "scope": 171, + "src": "7234:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2227,10 +2227,10 @@ "typeString": "uint256" }, "typeName": { - "id": 673, + "id": 165, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7032:7:1", + "src": "7234:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2239,20 +2239,20 @@ "visibility": "internal" } ], - "src": "7031:17:1" + "src": "7233:17:0" }, "returnParameters": { - "id": 678, + "id": 170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 677, + "id": 169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7072:13:1", + "scope": 171, + "src": "7274:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -2260,10 +2260,10 @@ "typeString": "string" }, "typeName": { - "id": 676, + "id": 168, "name": "string", "nodeType": "ElementaryTypeName", - "src": "7072:6:1", + "src": "7274:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -2272,20 +2272,20 @@ "visibility": "internal" } ], - "src": "7071:15:1" + "src": "7273:15:0" }, - "scope": 680, - "src": "7014:73:1", + "scope": 172, + "src": "7216:73:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "6625:464:1" + "scope": 2991, + "src": "6812:480:0" }, { - "id": 681, + "id": 173, "literals": [ "solidity", ">=", @@ -2296,81 +2296,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 683, + "id": 175, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "7363:7:1", + "referencedDeclaration": 147, + "src": "7578:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 684, + "id": 176, "nodeType": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 682, + "id": 174, "nodeType": "StructuredDocumentation", - "src": "7195:136:1", + "src": "7406:139:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 709, + "id": 201, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 685, + "id": 177, "nodeType": "StructuredDocumentation", - "src": "7378:82:1", + "src": "7595:84:0", "text": " @dev Returns the total amount of tokens stored by the contract." }, "functionSelector": "18160ddd", - "id": 690, + "id": 182, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { - "id": 686, + "id": 178, "nodeType": "ParameterList", "parameters": [], - "src": "7485:2:1" + "src": "7705:2:0" }, "returnParameters": { - "id": 689, + "id": 181, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 688, + "id": 180, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 690, - "src": "7511:7:1", + "scope": 182, + "src": "7731:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2378,10 +2378,10 @@ "typeString": "uint256" }, "typeName": { - "id": 687, + "id": 179, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7511:7:1", + "src": "7731:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2390,40 +2390,40 @@ "visibility": "internal" } ], - "src": "7510:9:1" + "src": "7730:9:0" }, - "scope": 709, - "src": "7465:55:1", + "scope": 201, + "src": "7685:55:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 691, + "id": 183, "nodeType": "StructuredDocumentation", - "src": "7526:171:1", + "src": "7748:174:0", "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, "functionSelector": "2f745c59", - "id": 700, + "id": 192, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 696, + "id": 188, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 693, + "id": 185, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7731:13:1", + "scope": 192, + "src": "7957:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2431,10 +2431,10 @@ "typeString": "address" }, "typeName": { - "id": 692, + "id": 184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7731:7:1", + "src": "7957:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2445,12 +2445,12 @@ }, { "constant": false, - "id": 695, + "id": 187, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7746:13:1", + "scope": 192, + "src": "7972:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2458,10 +2458,10 @@ "typeString": "uint256" }, "typeName": { - "id": 694, + "id": 186, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7746:7:1", + "src": "7972:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2470,20 +2470,20 @@ "visibility": "internal" } ], - "src": "7730:30:1" + "src": "7956:30:0" }, "returnParameters": { - "id": 699, + "id": 191, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 698, + "id": 190, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7784:15:1", + "scope": 192, + "src": "8010:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2491,10 +2491,10 @@ "typeString": "uint256" }, "typeName": { - "id": 697, + "id": 189, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7784:7:1", + "src": "8010:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2503,40 +2503,40 @@ "visibility": "internal" } ], - "src": "7783:17:1" + "src": "8009:17:0" }, - "scope": 709, - "src": "7702:99:1", + "scope": 201, + "src": "7928:99:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 701, + "id": 193, "nodeType": "StructuredDocumentation", - "src": "7807:164:1", + "src": "8035:167:0", "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, "functionSelector": "4f6ccce7", - "id": 708, + "id": 200, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 704, + "id": 196, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 703, + "id": 195, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "7998:13:1", + "scope": 200, + "src": "8230:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2544,10 +2544,10 @@ "typeString": "uint256" }, "typeName": { - "id": 702, + "id": 194, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7998:7:1", + "src": "8230:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2556,20 +2556,20 @@ "visibility": "internal" } ], - "src": "7997:15:1" + "src": "8229:15:0" }, "returnParameters": { - "id": 707, + "id": 199, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 706, + "id": 198, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "8036:7:1", + "scope": 200, + "src": "8268:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2577,10 +2577,10 @@ "typeString": "uint256" }, "typeName": { - "id": 705, + "id": 197, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8036:7:1", + "src": "8268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2589,20 +2589,20 @@ "visibility": "internal" } ], - "src": "8035:9:1" + "src": "8267:9:0" }, - "scope": 709, - "src": "7976:69:1", + "scope": 201, + "src": "8208:69:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "7332:715:1" + "scope": 2991, + "src": "7547:733:0" }, { - "id": 710, + "id": 202, "literals": [ "solidity", ">=", @@ -2613,7 +2613,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "abstract": false, @@ -2621,45 +2621,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 711, + "id": 203, "nodeType": "StructuredDocumentation", - "src": "8150:152:1", + "src": "8390:156:0", "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, "fullyImplemented": false, - "id": 726, + "id": 218, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 712, + "id": 204, "nodeType": "StructuredDocumentation", - "src": "8335:485:1", + "src": "8581:493:0", "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, "functionSelector": "150b7a02", - "id": 725, + "id": 217, "implemented": false, "kind": "function", "modifiers": [], "name": "onERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 721, + "id": 213, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 714, + "id": 206, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8851:16:1", + "scope": 217, + "src": "9106:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2667,10 +2667,10 @@ "typeString": "address" }, "typeName": { - "id": 713, + "id": 205, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8851:7:1", + "src": "9106:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2681,12 +2681,12 @@ }, { "constant": false, - "id": 716, + "id": 208, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8869:12:1", + "scope": 217, + "src": "9124:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2694,10 +2694,10 @@ "typeString": "address" }, "typeName": { - "id": 715, + "id": 207, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8869:7:1", + "src": "9124:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2708,12 +2708,12 @@ }, { "constant": false, - "id": 718, + "id": 210, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8883:15:1", + "scope": 217, + "src": "9138:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2721,10 +2721,10 @@ "typeString": "uint256" }, "typeName": { - "id": 717, + "id": 209, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8883:7:1", + "src": "9138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2734,12 +2734,12 @@ }, { "constant": false, - "id": 720, + "id": 212, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8900:19:1", + "scope": 217, + "src": "9155:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -2747,10 +2747,10 @@ "typeString": "bytes" }, "typeName": { - "id": 719, + "id": 211, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8900:5:1", + "src": "9155:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2759,20 +2759,20 @@ "visibility": "internal" } ], - "src": "8850:70:1" + "src": "9105:70:0" }, "returnParameters": { - "id": 724, + "id": 216, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 723, + "id": 215, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8939:6:1", + "scope": 217, + "src": "9194:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2780,10 +2780,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 722, + "id": 214, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "8939:6:1", + "src": "9194:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2792,20 +2792,20 @@ "visibility": "internal" } ], - "src": "8938:8:1" + "src": "9193:8:0" }, - "scope": 726, - "src": "8825:122:1", + "scope": 218, + "src": "9080:122:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "8303:646:1" + "scope": 2991, + "src": "8548:657:0" }, { - "id": 727, + "id": 219, "literals": [ "solidity", ">=", @@ -2816,55 +2816,55 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "abstract": true, "baseContracts": [ { "baseName": { - "id": 729, + "id": 221, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "9243:7:1", + "referencedDeclaration": 33, + "src": "9511:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 730, + "id": 222, "nodeType": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "documentation": { - "id": 728, + "id": 220, "nodeType": "StructuredDocumentation", - "src": "9043:171:1", + "src": "9305:176:0", "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, "fullyImplemented": true, - "id": 781, + "id": 273, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", "nodeType": "ContractDefinition", "nodes": [ { "constant": true, - "id": 733, + "id": 225, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9340:57:1", + "scope": 273, + "src": "9612:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2872,10 +2872,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 731, + "id": 223, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9340:6:1", + "src": "9612:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2883,14 +2883,14 @@ }, "value": { "hexValue": "30783031666663396137", - "id": 732, + "id": 224, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9387:10:1", + "src": "9659:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_33540519_by_1", "typeString": "int_const 33540519" @@ -2902,17 +2902,17 @@ { "constant": false, "documentation": { - "id": 734, + "id": 226, "nodeType": "StructuredDocumentation", - "src": "9404:82:1", + "src": "9678:84:0", "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 738, + "id": 230, "mutability": "mutable", "name": "_supportedInterfaces", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9491:52:1", + "scope": 273, + "src": "9768:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2920,28 +2920,28 @@ "typeString": "mapping(bytes4 => bool)" }, "typeName": { - "id": 737, + "id": 229, "keyType": { - "id": 735, + "id": 227, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9499:6:1", + "src": "9776:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "nodeType": "Mapping", - "src": "9491:23:1", + "src": "9768:23:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" }, "valueType": { - "id": 736, + "id": 228, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9509:4:1", + "src": "9786:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2952,20 +2952,20 @@ }, { "body": { - "id": 745, + "id": 237, "nodeType": "Block", - "src": "9565:193:1", + "src": "9844:197:0", "statements": [ { "expression": { "arguments": [ { - "id": 742, + "id": 234, "name": "_INTERFACE_ID_ERC165", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 733, - "src": "9730:20:1", + "referencedDeclaration": 225, + "src": "10012:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2979,18 +2979,18 @@ "typeString": "bytes4" } ], - "id": 741, + "id": 233, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "9711:18:1", + "referencedDeclaration": 272, + "src": "9993:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 743, + "id": 235, "isConstant": false, "isLValue": false, "isPure": false, @@ -2998,74 +2998,74 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9711:40:1", + "src": "9993:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 744, + "id": 236, "nodeType": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ] }, - "id": 746, + "id": 238, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 739, + "id": 231, "nodeType": "ParameterList", "parameters": [], - "src": "9562:2:1" + "src": "9841:2:0" }, "returnParameters": { - "id": 740, + "id": 232, "nodeType": "ParameterList", "parameters": [], - "src": "9565:0:1" + "src": "9844:0:0" }, - "scope": 781, - "src": "9550:208:1", + "scope": 273, + "src": "9829:212:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "baseFunctions": [ - 540 + 32 ], "body": { - "id": 759, + "id": 251, "nodeType": "Block", - "src": "9999:57:1", + "src": "10289:59:0", "statements": [ { "expression": { "baseExpression": { - "id": 755, + "id": 247, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10016:20:1", + "referencedDeclaration": 230, + "src": "10307:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 757, + "id": 249, "indexExpression": { - "id": 756, + "id": 248, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 749, - "src": "10037:11:1", + "referencedDeclaration": 241, + "src": "10328:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3076,50 +3076,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10016:33:1", + "src": "10307:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 754, - "id": 758, + "functionReturnParameters": 246, + "id": 250, "nodeType": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ] }, "documentation": { - "id": 747, + "id": 239, "nodeType": "StructuredDocumentation", - "src": "9764:139:1", + "src": "10049:143:0", "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 760, + "id": 252, "implemented": true, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "overrides": { - "id": 751, + "id": 243, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "9975:8:1" + "src": "10265:8:0" }, "parameters": { - "id": 750, + "id": 242, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 749, + "id": 241, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9935:18:1", + "scope": 252, + "src": "10225:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3127,10 +3127,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 748, + "id": 240, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9935:6:1", + "src": "10225:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3139,20 +3139,20 @@ "visibility": "internal" } ], - "src": "9934:20:1" + "src": "10224:20:0" }, "returnParameters": { - "id": 754, + "id": 246, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 753, + "id": 245, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9993:4:1", + "scope": 252, + "src": "10283:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3160,10 +3160,10 @@ "typeString": "bool" }, "typeName": { - "id": 752, + "id": 244, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9993:4:1", + "src": "10283:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3172,19 +3172,19 @@ "visibility": "internal" } ], - "src": "9992:6:1" + "src": "10282:6:0" }, - "scope": 781, - "src": "9908:148:1", + "scope": 273, + "src": "10198:150:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 779, + "id": 271, "nodeType": "Block", - "src": "10515:133:1", + "src": "10820:136:0", "statements": [ { "expression": { @@ -3194,18 +3194,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 769, + "id": 261, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 767, + "id": 259, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10533:11:1", + "referencedDeclaration": 255, + "src": "10839:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3215,21 +3215,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30786666666666666666", - "id": 768, + "id": 260, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10548:10:1", + "src": "10854:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_4294967295_by_1", "typeString": "int_const 4294967295" }, "value": "0xffffffff" }, - "src": "10533:25:1", + "src": "10839:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3237,14 +3237,14 @@ }, { "hexValue": "4552433136353a20696e76616c696420696e74657266616365206964", - "id": 770, + "id": 262, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "10560:30:1", + "src": "10866:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_282912c0dfceceb28d77d0333f496b83948f9ba5b3154358a8b140b849289dee", "typeString": "literal_string \"ERC165: invalid interface id\"" @@ -3263,7 +3263,7 @@ "typeString": "literal_string \"ERC165: invalid interface id\"" } ], - "id": 766, + "id": 258, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -3271,13 +3271,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "10525:7:1", + "src": "10831:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 771, + "id": 263, "isConstant": false, "isLValue": false, "isPure": false, @@ -3285,45 +3285,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10525:66:1", + "src": "10831:66:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 772, + "id": 264, "nodeType": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "expression": { - "id": 777, + "id": 269, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 773, + "id": 265, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10601:20:1", + "referencedDeclaration": 230, + "src": "10908:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 775, + "id": 267, "indexExpression": { - "id": 774, + "id": 266, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10622:11:1", + "referencedDeclaration": 255, + "src": "10929:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3334,7 +3334,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "10601:33:1", + "src": "10908:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3344,56 +3344,56 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 776, + "id": 268, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "10637:4:1", + "src": "10944:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "10601:40:1", + "src": "10908:40:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 778, + "id": 270, "nodeType": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ] }, "documentation": { - "id": 761, + "id": 253, "nodeType": "StructuredDocumentation", - "src": "10062:383:1", + "src": "10356:393:0", "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 780, + "id": 272, "implemented": true, "kind": "function", "modifiers": [], "name": "_registerInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 764, + "id": 256, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 763, + "id": 255, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 780, - "src": "10478:18:1", + "scope": 272, + "src": "10783:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3401,10 +3401,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 762, + "id": 254, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "10478:6:1", + "src": "10783:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3413,26 +3413,26 @@ "visibility": "internal" } ], - "src": "10477:20:1" + "src": "10782:20:0" }, "returnParameters": { - "id": 765, + "id": 257, "nodeType": "ParameterList", "parameters": [], - "src": "10515:0:1" + "src": "10820:0:0" }, - "scope": 781, - "src": "10450:198:1", + "scope": 273, + "src": "10755:201:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "9215:1435:1" + "scope": 2991, + "src": "9483:1476:0" }, { - "id": 782, + "id": 274, "literals": [ "solidity", ">=", @@ -3443,7 +3443,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "abstract": false, @@ -3451,38 +3451,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 783, + "id": 275, "nodeType": "StructuredDocumentation", - "src": "10736:563:1", + "src": "11050:575:0", "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, "fullyImplemented": true, - "id": 1135, + "id": 627, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 813, + "id": 305, "nodeType": "Block", - "src": "11535:98:1", + "src": "11868:102:0", "statements": [ { "assignments": [ - 796 + 288 ], "declarations": [ { "constant": false, - "id": 796, + "id": 288, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 813, - "src": "11545:9:1", + "scope": 305, + "src": "11879:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3490,10 +3490,10 @@ "typeString": "uint256" }, "typeName": { - "id": 795, + "id": 287, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11545:7:1", + "src": "11879:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3502,24 +3502,24 @@ "visibility": "internal" } ], - "id": 800, + "id": 292, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 799, + "id": 291, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 797, + "id": 289, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11557:1:1", + "referencedDeclaration": 278, + "src": "11891:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3528,25 +3528,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 798, + "id": 290, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 788, - "src": "11561:1:1", + "referencedDeclaration": 280, + "src": "11895:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11557:5:1", + "src": "11891:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "condition": { @@ -3554,18 +3554,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 803, + "id": 295, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 801, + "id": 293, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11576:1:1", + "referencedDeclaration": 288, + "src": "11911:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3574,39 +3574,39 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 802, + "id": 294, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11580:1:1", + "referencedDeclaration": 278, + "src": "11915:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11576:5:1", + "src": "11911:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 808, + "id": 300, "nodeType": "IfStatement", - "src": "11572:28:1", + "src": "11907:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 804, + "id": 296, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11591:5:1", + "src": "11926:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3615,14 +3615,14 @@ }, { "hexValue": "30", - "id": 805, + "id": 297, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11598:1:1", + "src": "11933:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3630,23 +3630,23 @@ "value": "0" } ], - "id": 806, + "id": 298, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11590:10:1", + "src": "11925:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 794, - "id": 807, + "functionReturnParameters": 286, + "id": 299, "nodeType": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } }, { @@ -3654,14 +3654,14 @@ "components": [ { "hexValue": "74727565", - "id": 809, + "id": 301, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11618:4:1", + "src": "11954:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3669,62 +3669,62 @@ "value": "true" }, { - "id": 810, + "id": 302, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11624:1:1", + "referencedDeclaration": 288, + "src": "11960:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 811, + "id": 303, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11617:9:1", + "src": "11953:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 794, - "id": 812, + "functionReturnParameters": 286, + "id": 304, "nodeType": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ] }, "documentation": { - "id": 784, + "id": 276, "nodeType": "StructuredDocumentation", - "src": "11323:131:1", + "src": "11651:135:0", "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 814, + "id": 306, "implemented": true, "kind": "function", "modifiers": [], "name": "tryAdd", "nodeType": "FunctionDefinition", "parameters": { - "id": 789, + "id": 281, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 786, + "id": 278, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11475:9:1", + "scope": 306, + "src": "11808:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3732,10 +3732,10 @@ "typeString": "uint256" }, "typeName": { - "id": 785, + "id": 277, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11475:7:1", + "src": "11808:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3745,12 +3745,12 @@ }, { "constant": false, - "id": 788, + "id": 280, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11486:9:1", + "scope": 306, + "src": "11819:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3758,10 +3758,10 @@ "typeString": "uint256" }, "typeName": { - "id": 787, + "id": 279, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11486:7:1", + "src": "11819:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3770,20 +3770,20 @@ "visibility": "internal" } ], - "src": "11474:22:1" + "src": "11807:22:0" }, "returnParameters": { - "id": 794, + "id": 286, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 791, + "id": 283, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11520:4:1", + "scope": 306, + "src": "11853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3791,10 +3791,10 @@ "typeString": "bool" }, "typeName": { - "id": 790, + "id": 282, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11520:4:1", + "src": "11853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3804,12 +3804,12 @@ }, { "constant": false, - "id": 793, + "id": 285, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11526:7:1", + "scope": 306, + "src": "11859:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3817,10 +3817,10 @@ "typeString": "uint256" }, "typeName": { - "id": 792, + "id": 284, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11526:7:1", + "src": "11859:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3829,19 +3829,19 @@ "visibility": "internal" } ], - "src": "11519:15:1" + "src": "11852:15:0" }, - "scope": 1135, - "src": "11459:174:1", + "scope": 627, + "src": "11792:178:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 840, + "id": 332, "nodeType": "Block", - "src": "11855:75:1", + "src": "12199:78:0", "statements": [ { "condition": { @@ -3849,18 +3849,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 828, + "id": 320, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 826, + "id": 318, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11869:1:1", + "referencedDeclaration": 311, + "src": "12214:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3869,39 +3869,39 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 827, + "id": 319, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11873:1:1", + "referencedDeclaration": 309, + "src": "12218:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11869:5:1", + "src": "12214:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 833, + "id": 325, "nodeType": "IfStatement", - "src": "11865:28:1", + "src": "12210:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 829, + "id": 321, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11884:5:1", + "src": "12229:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3910,14 +3910,14 @@ }, { "hexValue": "30", - "id": 830, + "id": 322, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11891:1:1", + "src": "12236:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3925,23 +3925,23 @@ "value": "0" } ], - "id": 831, + "id": 323, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11883:10:1", + "src": "12228:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 825, - "id": 832, + "functionReturnParameters": 317, + "id": 324, "nodeType": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } }, { @@ -3949,14 +3949,14 @@ "components": [ { "hexValue": "74727565", - "id": 834, + "id": 326, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11911:4:1", + "src": "12257:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3968,18 +3968,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 837, + "id": 329, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 835, + "id": 327, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11917:1:1", + "referencedDeclaration": 309, + "src": "12263:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3988,68 +3988,68 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 836, + "id": 328, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11921:1:1", + "referencedDeclaration": 311, + "src": "12267:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11917:5:1", + "src": "12263:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 838, + "id": 330, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11910:13:1", + "src": "12256:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 825, - "id": 839, + "functionReturnParameters": 317, + "id": 331, "nodeType": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ] }, "documentation": { - "id": 815, + "id": 307, "nodeType": "StructuredDocumentation", - "src": "11639:135:1", + "src": "11978:139:0", "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 841, + "id": 333, "implemented": true, "kind": "function", "modifiers": [], "name": "trySub", "nodeType": "FunctionDefinition", "parameters": { - "id": 820, + "id": 312, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 817, + "id": 309, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11795:9:1", + "scope": 333, + "src": "12139:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4057,10 +4057,10 @@ "typeString": "uint256" }, "typeName": { - "id": 816, + "id": 308, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11795:7:1", + "src": "12139:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4070,12 +4070,12 @@ }, { "constant": false, - "id": 819, + "id": 311, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11806:9:1", + "scope": 333, + "src": "12150:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4083,10 +4083,10 @@ "typeString": "uint256" }, "typeName": { - "id": 818, + "id": 310, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11806:7:1", + "src": "12150:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4095,20 +4095,20 @@ "visibility": "internal" } ], - "src": "11794:22:1" + "src": "12138:22:0" }, "returnParameters": { - "id": 825, + "id": 317, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 822, + "id": 314, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11840:4:1", + "scope": 333, + "src": "12184:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4116,10 +4116,10 @@ "typeString": "bool" }, "typeName": { - "id": 821, + "id": 313, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11840:4:1", + "src": "12184:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4129,12 +4129,12 @@ }, { "constant": false, - "id": 824, + "id": 316, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11846:7:1", + "scope": 333, + "src": "12190:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4142,10 +4142,10 @@ "typeString": "uint256" }, "typeName": { - "id": 823, + "id": 315, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11846:7:1", + "src": "12190:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4154,19 +4154,19 @@ "visibility": "internal" } ], - "src": "11839:15:1" + "src": "12183:15:0" }, - "scope": 1135, - "src": "11779:151:1", + "scope": 627, + "src": "12123:154:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 881, + "id": 373, "nodeType": "Block", - "src": "12154:359:1", + "src": "12508:367:0", "statements": [ { "condition": { @@ -4174,18 +4174,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 855, + "id": 347, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 853, + "id": 345, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12386:1:1", + "referencedDeclaration": 336, + "src": "12744:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4195,42 +4195,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 854, + "id": 346, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12391:1:1", + "src": "12749:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12386:6:1", + "src": "12744:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 860, + "id": 352, "nodeType": "IfStatement", - "src": "12382:28:1", + "src": "12740:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "74727565", - "id": 856, + "id": 348, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12402:4:1", + "src": "12760:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4239,14 +4239,14 @@ }, { "hexValue": "30", - "id": 857, + "id": 349, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12408:1:1", + "src": "12766:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4254,38 +4254,38 @@ "value": "0" } ], - "id": 858, + "id": 350, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12401:9:1", + "src": "12759:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 859, + "functionReturnParameters": 344, + "id": 351, "nodeType": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } }, { "assignments": [ - 862 + 354 ], "declarations": [ { "constant": false, - "id": 862, + "id": 354, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 881, - "src": "12420:9:1", + "scope": 373, + "src": "12779:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4293,10 +4293,10 @@ "typeString": "uint256" }, "typeName": { - "id": 861, + "id": 353, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12420:7:1", + "src": "12779:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4305,24 +4305,24 @@ "visibility": "internal" } ], - "id": 866, + "id": 358, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 865, + "id": 357, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 863, + "id": 355, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12432:1:1", + "referencedDeclaration": 336, + "src": "12791:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4331,25 +4331,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 864, + "id": 356, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12436:1:1", + "referencedDeclaration": 338, + "src": "12795:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12432:5:1", + "src": "12791:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "condition": { @@ -4357,7 +4357,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 871, + "id": 363, "isConstant": false, "isLValue": false, "isPure": false, @@ -4367,18 +4367,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 869, + "id": 361, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 867, + "id": 359, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12451:1:1", + "referencedDeclaration": 354, + "src": "12811:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4387,18 +4387,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 868, + "id": 360, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12455:1:1", + "referencedDeclaration": 336, + "src": "12815:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:5:1", + "src": "12811:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4407,39 +4407,39 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 870, + "id": 362, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12460:1:1", + "referencedDeclaration": 338, + "src": "12820:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:10:1", + "src": "12811:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 876, + "id": 368, "nodeType": "IfStatement", - "src": "12447:33:1", + "src": "12807:33:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 872, + "id": 364, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12471:5:1", + "src": "12831:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4448,14 +4448,14 @@ }, { "hexValue": "30", - "id": 873, + "id": 365, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12478:1:1", + "src": "12838:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4463,23 +4463,23 @@ "value": "0" } ], - "id": 874, + "id": 366, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12470:10:1", + "src": "12830:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 875, + "functionReturnParameters": 344, + "id": 367, "nodeType": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } }, { @@ -4487,14 +4487,14 @@ "components": [ { "hexValue": "74727565", - "id": 877, + "id": 369, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12498:4:1", + "src": "12859:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4502,62 +4502,62 @@ "value": "true" }, { - "id": 878, + "id": 370, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12504:1:1", + "referencedDeclaration": 354, + "src": "12865:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 879, + "id": 371, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12497:9:1", + "src": "12858:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 852, - "id": 880, + "functionReturnParameters": 344, + "id": 372, "nodeType": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ] }, "documentation": { - "id": 842, + "id": 334, "nodeType": "StructuredDocumentation", - "src": "11936:137:1", + "src": "12285:141:0", "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 882, + "id": 374, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMul", "nodeType": "FunctionDefinition", "parameters": { - "id": 847, + "id": 339, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 844, + "id": 336, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12094:9:1", + "scope": 374, + "src": "12448:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4565,10 +4565,10 @@ "typeString": "uint256" }, "typeName": { - "id": 843, + "id": 335, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12094:7:1", + "src": "12448:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4578,12 +4578,12 @@ }, { "constant": false, - "id": 846, + "id": 338, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12105:9:1", + "scope": 374, + "src": "12459:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4591,10 +4591,10 @@ "typeString": "uint256" }, "typeName": { - "id": 845, + "id": 337, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12105:7:1", + "src": "12459:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4603,20 +4603,20 @@ "visibility": "internal" } ], - "src": "12093:22:1" + "src": "12447:22:0" }, "returnParameters": { - "id": 852, + "id": 344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 849, + "id": 341, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12139:4:1", + "scope": 374, + "src": "12493:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4624,10 +4624,10 @@ "typeString": "bool" }, "typeName": { - "id": 848, + "id": 340, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12139:4:1", + "src": "12493:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4637,12 +4637,12 @@ }, { "constant": false, - "id": 851, + "id": 343, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12145:7:1", + "scope": 374, + "src": "12499:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4650,10 +4650,10 @@ "typeString": "uint256" }, "typeName": { - "id": 850, + "id": 342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12145:7:1", + "src": "12499:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4662,19 +4662,19 @@ "visibility": "internal" } ], - "src": "12138:15:1" + "src": "12492:15:0" }, - "scope": 1135, - "src": "12078:435:1", + "scope": 627, + "src": "12432:443:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 908, + "id": 400, "nodeType": "Block", - "src": "12738:76:1", + "src": "13107:79:0", "statements": [ { "condition": { @@ -4682,18 +4682,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 896, + "id": 388, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 894, + "id": 386, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12752:1:1", + "referencedDeclaration": 379, + "src": "13122:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4703,42 +4703,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 895, + "id": 387, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12757:1:1", + "src": "13127:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12752:6:1", + "src": "13122:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 901, + "id": 393, "nodeType": "IfStatement", - "src": "12748:29:1", + "src": "13118:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 897, + "id": 389, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12768:5:1", + "src": "13138:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4747,14 +4747,14 @@ }, { "hexValue": "30", - "id": 898, + "id": 390, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12775:1:1", + "src": "13145:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4762,23 +4762,23 @@ "value": "0" } ], - "id": 899, + "id": 391, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12767:10:1", + "src": "13137:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 893, - "id": 900, + "functionReturnParameters": 385, + "id": 392, "nodeType": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } }, { @@ -4786,14 +4786,14 @@ "components": [ { "hexValue": "74727565", - "id": 902, + "id": 394, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12795:4:1", + "src": "13166:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4805,18 +4805,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 905, + "id": 397, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 903, + "id": 395, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 885, - "src": "12801:1:1", + "referencedDeclaration": 377, + "src": "13172:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4825,68 +4825,68 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 904, + "id": 396, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12805:1:1", + "referencedDeclaration": 379, + "src": "13176:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12801:5:1", + "src": "13172:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 906, + "id": 398, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12794:13:1", + "src": "13165:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 893, - "id": 907, + "functionReturnParameters": 385, + "id": 399, "nodeType": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ] }, "documentation": { - "id": 883, + "id": 375, "nodeType": "StructuredDocumentation", - "src": "12519:138:1", + "src": "12883:142:0", "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 909, + "id": 401, "implemented": true, "kind": "function", "modifiers": [], "name": "tryDiv", "nodeType": "FunctionDefinition", "parameters": { - "id": 888, + "id": 380, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 885, + "id": 377, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12678:9:1", + "scope": 401, + "src": "13047:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4894,10 +4894,10 @@ "typeString": "uint256" }, "typeName": { - "id": 884, + "id": 376, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12678:7:1", + "src": "13047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4907,12 +4907,12 @@ }, { "constant": false, - "id": 887, + "id": 379, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12689:9:1", + "scope": 401, + "src": "13058:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4920,10 +4920,10 @@ "typeString": "uint256" }, "typeName": { - "id": 886, + "id": 378, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12689:7:1", + "src": "13058:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4932,20 +4932,20 @@ "visibility": "internal" } ], - "src": "12677:22:1" + "src": "13046:22:0" }, "returnParameters": { - "id": 893, + "id": 385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 890, + "id": 382, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12723:4:1", + "scope": 401, + "src": "13092:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4953,10 +4953,10 @@ "typeString": "bool" }, "typeName": { - "id": 889, + "id": 381, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12723:4:1", + "src": "13092:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4966,12 +4966,12 @@ }, { "constant": false, - "id": 892, + "id": 384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12729:7:1", + "scope": 401, + "src": "13098:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4979,10 +4979,10 @@ "typeString": "uint256" }, "typeName": { - "id": 891, + "id": 383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12729:7:1", + "src": "13098:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4991,19 +4991,19 @@ "visibility": "internal" } ], - "src": "12722:15:1" + "src": "13091:15:0" }, - "scope": 1135, - "src": "12662:152:1", + "scope": 627, + "src": "13031:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 935, + "id": 427, "nodeType": "Block", - "src": "13049:76:1", + "src": "13428:79:0", "statements": [ { "condition": { @@ -5011,18 +5011,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 923, + "id": 415, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 921, + "id": 413, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13063:1:1", + "referencedDeclaration": 406, + "src": "13443:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5032,42 +5032,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 922, + "id": 414, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13068:1:1", + "src": "13448:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "13063:6:1", + "src": "13443:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 928, + "id": 420, "nodeType": "IfStatement", - "src": "13059:29:1", + "src": "13439:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 924, + "id": 416, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13079:5:1", + "src": "13459:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5076,14 +5076,14 @@ }, { "hexValue": "30", - "id": 925, + "id": 417, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13086:1:1", + "src": "13466:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -5091,23 +5091,23 @@ "value": "0" } ], - "id": 926, + "id": 418, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13078:10:1", + "src": "13458:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 920, - "id": 927, + "functionReturnParameters": 412, + "id": 419, "nodeType": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } }, { @@ -5115,14 +5115,14 @@ "components": [ { "hexValue": "74727565", - "id": 929, + "id": 421, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13106:4:1", + "src": "13487:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5134,18 +5134,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 932, + "id": 424, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 930, + "id": 422, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 912, - "src": "13112:1:1", + "referencedDeclaration": 404, + "src": "13493:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5154,68 +5154,68 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 931, + "id": 423, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13116:1:1", + "referencedDeclaration": 406, + "src": "13497:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13112:5:1", + "src": "13493:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 933, + "id": 425, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13105:13:1", + "src": "13486:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 920, - "id": 934, + "functionReturnParameters": 412, + "id": 426, "nodeType": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ] }, "documentation": { - "id": 910, + "id": 402, "nodeType": "StructuredDocumentation", - "src": "12820:148:1", + "src": "13194:152:0", "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 936, + "id": 428, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMod", "nodeType": "FunctionDefinition", "parameters": { - "id": 915, + "id": 407, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 912, + "id": 404, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "12989:9:1", + "scope": 428, + "src": "13368:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5223,10 +5223,10 @@ "typeString": "uint256" }, "typeName": { - "id": 911, + "id": 403, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12989:7:1", + "src": "13368:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5236,12 +5236,12 @@ }, { "constant": false, - "id": 914, + "id": 406, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13000:9:1", + "scope": 428, + "src": "13379:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5249,10 +5249,10 @@ "typeString": "uint256" }, "typeName": { - "id": 913, + "id": 405, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13000:7:1", + "src": "13379:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5261,20 +5261,20 @@ "visibility": "internal" } ], - "src": "12988:22:1" + "src": "13367:22:0" }, "returnParameters": { - "id": 920, + "id": 412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 917, + "id": 409, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13034:4:1", + "scope": 428, + "src": "13413:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5282,10 +5282,10 @@ "typeString": "bool" }, "typeName": { - "id": 916, + "id": 408, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "13034:4:1", + "src": "13413:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5295,12 +5295,12 @@ }, { "constant": false, - "id": 919, + "id": 411, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13040:7:1", + "scope": 428, + "src": "13419:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5308,10 +5308,10 @@ "typeString": "uint256" }, "typeName": { - "id": 918, + "id": 410, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13040:7:1", + "src": "13419:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5320,33 +5320,33 @@ "visibility": "internal" } ], - "src": "13033:15:1" + "src": "13412:15:0" }, - "scope": 1135, - "src": "12973:152:1", + "scope": 627, + "src": "13352:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 961, + "id": 453, "nodeType": "Block", - "src": "13427:108:1", + "src": "13821:112:0", "statements": [ { "assignments": [ - 947 + 439 ], "declarations": [ { "constant": false, - "id": 947, + "id": 439, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 961, - "src": "13437:9:1", + "scope": 453, + "src": "13832:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5354,10 +5354,10 @@ "typeString": "uint256" }, "typeName": { - "id": 946, + "id": 438, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13437:7:1", + "src": "13832:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5366,24 +5366,24 @@ "visibility": "internal" } ], - "id": 951, + "id": 443, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 950, + "id": 442, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 948, + "id": 440, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13449:1:1", + "referencedDeclaration": 431, + "src": "13844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5392,25 +5392,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 949, + "id": 441, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 941, - "src": "13453:1:1", + "referencedDeclaration": 433, + "src": "13848:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13449:5:1", + "src": "13844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "expression": { @@ -5420,18 +5420,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 955, + "id": 447, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 953, + "id": 445, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13472:1:1", + "referencedDeclaration": 439, + "src": "13868:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5440,18 +5440,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 954, + "id": 446, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13477:1:1", + "referencedDeclaration": 431, + "src": "13873:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13472:6:1", + "src": "13868:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5459,14 +5459,14 @@ }, { "hexValue": "536166654d6174683a206164646974696f6e206f766572666c6f77", - "id": 956, + "id": 448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13480:29:1", + "src": "13876:29:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_30cc447bcc13b3e22b45cef0dd9b0b514842d836dd9b6eb384e20dedfb47723a", "typeString": "literal_string \"SafeMath: addition overflow\"" @@ -5485,7 +5485,7 @@ "typeString": "literal_string \"SafeMath: addition overflow\"" } ], - "id": 952, + "id": 444, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5493,13 +5493,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13464:7:1", + "src": "13860:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 957, + "id": 449, "isConstant": false, "isLValue": false, "isPure": false, @@ -5507,61 +5507,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13464:46:1", + "src": "13860:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 958, + "id": 450, "nodeType": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "expression": { - "id": 959, + "id": 451, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13527:1:1", + "referencedDeclaration": 439, + "src": "13924:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 945, - "id": 960, + "functionReturnParameters": 437, + "id": 452, "nodeType": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ] }, "documentation": { - "id": 937, + "id": 429, "nodeType": "StructuredDocumentation", - "src": "13131:224:1", + "src": "13515:233:0", "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 962, + "id": 454, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 942, + "id": 434, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 939, + "id": 431, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13373:9:1", + "scope": 454, + "src": "13767:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5569,10 +5569,10 @@ "typeString": "uint256" }, "typeName": { - "id": 938, + "id": 430, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13373:7:1", + "src": "13767:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5582,12 +5582,12 @@ }, { "constant": false, - "id": 941, + "id": 433, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13384:9:1", + "scope": 454, + "src": "13778:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5595,10 +5595,10 @@ "typeString": "uint256" }, "typeName": { - "id": 940, + "id": 432, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13384:7:1", + "src": "13778:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5607,20 +5607,20 @@ "visibility": "internal" } ], - "src": "13372:22:1" + "src": "13766:22:0" }, "returnParameters": { - "id": 945, + "id": 437, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 944, + "id": 436, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13418:7:1", + "scope": 454, + "src": "13812:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5628,10 +5628,10 @@ "typeString": "uint256" }, "typeName": { - "id": 943, + "id": 435, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13418:7:1", + "src": "13812:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5640,19 +5640,19 @@ "visibility": "internal" } ], - "src": "13417:9:1" + "src": "13811:9:0" }, - "scope": 1135, - "src": "13360:175:1", + "scope": 627, + "src": "13754:179:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 983, + "id": 475, "nodeType": "Block", - "src": "13873:88:1", + "src": "14283:91:0", "statements": [ { "expression": { @@ -5662,18 +5662,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 975, + "id": 467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 973, + "id": 465, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13891:1:1", + "referencedDeclaration": 459, + "src": "14302:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5682,18 +5682,18 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 974, + "id": 466, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13896:1:1", + "referencedDeclaration": 457, + "src": "14307:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13891:6:1", + "src": "14302:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5701,14 +5701,14 @@ }, { "hexValue": "536166654d6174683a207375627472616374696f6e206f766572666c6f77", - "id": 976, + "id": 468, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13899:32:1", + "src": "14310:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_50b058e9b5320e58880d88223c9801cd9eecdcf90323d5c2318bc1b6b916e862", "typeString": "literal_string \"SafeMath: subtraction overflow\"" @@ -5727,7 +5727,7 @@ "typeString": "literal_string \"SafeMath: subtraction overflow\"" } ], - "id": 972, + "id": 464, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5735,13 +5735,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13883:7:1", + "src": "14294:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 977, + "id": 469, "isConstant": false, "isLValue": false, "isPure": false, @@ -5749,16 +5749,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13883:49:1", + "src": "14294:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 978, + "id": 470, "nodeType": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "expression": { @@ -5766,18 +5766,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 981, + "id": 473, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 979, + "id": 471, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13949:1:1", + "referencedDeclaration": 457, + "src": "14361:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5786,54 +5786,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 980, + "id": 472, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13953:1:1", + "referencedDeclaration": 459, + "src": "14365:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13949:5:1", + "src": "14361:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 971, - "id": 982, + "functionReturnParameters": 463, + "id": 474, "nodeType": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ] }, "documentation": { - "id": 963, + "id": 455, "nodeType": "StructuredDocumentation", - "src": "13541:260:1", + "src": "13941:269:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 984, + "id": 476, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 968, + "id": 460, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 965, + "id": 457, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13819:9:1", + "scope": 476, + "src": "14229:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5841,10 +5841,10 @@ "typeString": "uint256" }, "typeName": { - "id": 964, + "id": 456, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13819:7:1", + "src": "14229:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5854,12 +5854,12 @@ }, { "constant": false, - "id": 967, + "id": 459, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13830:9:1", + "scope": 476, + "src": "14240:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5867,10 +5867,10 @@ "typeString": "uint256" }, "typeName": { - "id": 966, + "id": 458, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13830:7:1", + "src": "14240:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5879,20 +5879,20 @@ "visibility": "internal" } ], - "src": "13818:22:1" + "src": "14228:22:0" }, "returnParameters": { - "id": 971, + "id": 463, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 970, + "id": 462, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13864:7:1", + "scope": 476, + "src": "14274:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5900,10 +5900,10 @@ "typeString": "uint256" }, "typeName": { - "id": 969, + "id": 461, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13864:7:1", + "src": "14274:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5912,19 +5912,19 @@ "visibility": "internal" } ], - "src": "13863:9:1" + "src": "14273:9:0" }, - "scope": 1135, - "src": "13806:155:1", + "scope": 627, + "src": "14216:158:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1017, + "id": 509, "nodeType": "Block", - "src": "14275:148:1", + "src": "14700:153:0", "statements": [ { "condition": { @@ -5932,18 +5932,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 996, + "id": 488, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 994, + "id": 486, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14289:1:1", + "referencedDeclaration": 479, + "src": "14715:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5953,65 +5953,65 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 995, + "id": 487, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14294:1:1", + "src": "14720:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14289:6:1", + "src": "14715:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 999, + "id": 491, "nodeType": "IfStatement", - "src": "14285:20:1", + "src": "14711:20:0", "trueBody": { "expression": { "hexValue": "30", - "id": 997, + "id": 489, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14304:1:1", + "src": "14730:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "functionReturnParameters": 993, - "id": 998, + "functionReturnParameters": 485, + "id": 490, "nodeType": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } }, { "assignments": [ - 1001 + 493 ], "declarations": [ { "constant": false, - "id": 1001, + "id": 493, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 1017, - "src": "14315:9:1", + "scope": 509, + "src": "14742:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6019,10 +6019,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1000, + "id": 492, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14315:7:1", + "src": "14742:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6031,24 +6031,24 @@ "visibility": "internal" } ], - "id": 1005, + "id": 497, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1004, + "id": 496, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1002, + "id": 494, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14327:1:1", + "referencedDeclaration": 479, + "src": "14754:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6057,25 +6057,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 1003, + "id": 495, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14331:1:1", + "referencedDeclaration": 481, + "src": "14758:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14327:5:1", + "src": "14754:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "expression": { @@ -6085,7 +6085,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1011, + "id": 503, "isConstant": false, "isLValue": false, "isPure": false, @@ -6095,18 +6095,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1009, + "id": 501, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1007, + "id": 499, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14350:1:1", + "referencedDeclaration": 493, + "src": "14778:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6115,18 +6115,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1008, + "id": 500, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14354:1:1", + "referencedDeclaration": 479, + "src": "14782:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:5:1", + "src": "14778:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6135,18 +6135,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 1010, + "id": 502, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14359:1:1", + "referencedDeclaration": 481, + "src": "14787:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:10:1", + "src": "14778:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6154,14 +6154,14 @@ }, { "hexValue": "536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77", - "id": 1012, + "id": 504, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14362:35:1", + "src": "14790:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9113bb53c2876a3805b2c9242029423fc540a728243ce887ab24c82cf119fba3", "typeString": "literal_string \"SafeMath: multiplication overflow\"" @@ -6180,7 +6180,7 @@ "typeString": "literal_string \"SafeMath: multiplication overflow\"" } ], - "id": 1006, + "id": 498, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6188,13 +6188,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14342:7:1", + "src": "14770:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1013, + "id": 505, "isConstant": false, "isLValue": false, "isPure": false, @@ -6202,61 +6202,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14342:56:1", + "src": "14770:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1014, + "id": 506, "nodeType": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "expression": { - "id": 1015, + "id": 507, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14415:1:1", + "referencedDeclaration": 493, + "src": "14844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 993, - "id": 1016, + "functionReturnParameters": 485, + "id": 508, "nodeType": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ] }, "documentation": { - "id": 985, + "id": 477, "nodeType": "StructuredDocumentation", - "src": "13967:236:1", + "src": "14382:245:0", "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 1018, + "id": 510, "implemented": true, "kind": "function", "modifiers": [], "name": "mul", "nodeType": "FunctionDefinition", "parameters": { - "id": 990, + "id": 482, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 987, + "id": 479, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14221:9:1", + "scope": 510, + "src": "14646:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6264,10 +6264,10 @@ "typeString": "uint256" }, "typeName": { - "id": 986, + "id": 478, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14221:7:1", + "src": "14646:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6277,12 +6277,12 @@ }, { "constant": false, - "id": 989, + "id": 481, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14232:9:1", + "scope": 510, + "src": "14657:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6290,10 +6290,10 @@ "typeString": "uint256" }, "typeName": { - "id": 988, + "id": 480, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14232:7:1", + "src": "14657:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6302,20 +6302,20 @@ "visibility": "internal" } ], - "src": "14220:22:1" + "src": "14645:22:0" }, "returnParameters": { - "id": 993, + "id": 485, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 992, + "id": 484, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14266:7:1", + "scope": 510, + "src": "14691:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6323,10 +6323,10 @@ "typeString": "uint256" }, "typeName": { - "id": 991, + "id": 483, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14266:7:1", + "src": "14691:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6335,19 +6335,19 @@ "visibility": "internal" } ], - "src": "14265:9:1" + "src": "14690:9:0" }, - "scope": 1135, - "src": "14208:215:1", + "scope": 627, + "src": "14633:220:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1039, + "id": 531, "nodeType": "Block", - "src": "14954:83:1", + "src": "15398:86:0", "statements": [ { "expression": { @@ -6357,18 +6357,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1031, + "id": 523, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1029, + "id": 521, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "14972:1:1", + "referencedDeclaration": 515, + "src": "15417:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6378,21 +6378,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1030, + "id": 522, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14976:1:1", + "src": "15421:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14972:5:1", + "src": "15417:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6400,14 +6400,14 @@ }, { "hexValue": "536166654d6174683a206469766973696f6e206279207a65726f", - "id": 1032, + "id": 524, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14979:28:1", + "src": "15424:28:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5b7cc70dda4dc2143e5adb63bd5d1f349504f461dbdfd9bc76fac1f8ca6d019f", "typeString": "literal_string \"SafeMath: division by zero\"" @@ -6426,7 +6426,7 @@ "typeString": "literal_string \"SafeMath: division by zero\"" } ], - "id": 1028, + "id": 520, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6434,13 +6434,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14964:7:1", + "src": "15409:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1033, + "id": 525, "isConstant": false, "isLValue": false, "isPure": false, @@ -6448,16 +6448,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14964:44:1", + "src": "15409:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1034, + "id": 526, "nodeType": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "expression": { @@ -6465,18 +6465,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1037, + "id": 529, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1035, + "id": 527, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1021, - "src": "15025:1:1", + "referencedDeclaration": 513, + "src": "15471:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6485,54 +6485,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1036, + "id": 528, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "15029:1:1", + "referencedDeclaration": 515, + "src": "15475:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15025:5:1", + "src": "15471:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1027, - "id": 1038, + "functionReturnParameters": 519, + "id": 530, "nodeType": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ] }, "documentation": { - "id": 1019, + "id": 511, "nodeType": "StructuredDocumentation", - "src": "14429:453:1", + "src": "14861:464:0", "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1040, + "id": 532, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1024, + "id": 516, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1021, + "id": 513, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14900:9:1", + "scope": 532, + "src": "15344:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6540,10 +6540,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1020, + "id": 512, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14900:7:1", + "src": "15344:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6553,12 +6553,12 @@ }, { "constant": false, - "id": 1023, + "id": 515, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14911:9:1", + "scope": 532, + "src": "15355:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6566,10 +6566,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1022, + "id": 514, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14911:7:1", + "src": "15355:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6578,20 +6578,20 @@ "visibility": "internal" } ], - "src": "14899:22:1" + "src": "15343:22:0" }, "returnParameters": { - "id": 1027, + "id": 519, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1026, + "id": 518, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14945:7:1", + "scope": 532, + "src": "15389:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6599,10 +6599,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1025, + "id": 517, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14945:7:1", + "src": "15389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6611,19 +6611,19 @@ "visibility": "internal" } ], - "src": "14944:9:1" + "src": "15388:9:0" }, - "scope": 1135, - "src": "14887:150:1", + "scope": 627, + "src": "15331:153:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1061, + "id": 553, "nodeType": "Block", - "src": "15557:81:1", + "src": "16018:84:0", "statements": [ { "expression": { @@ -6633,18 +6633,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1053, + "id": 545, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1051, + "id": 543, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15575:1:1", + "referencedDeclaration": 537, + "src": "16037:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6654,21 +6654,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1052, + "id": 544, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15579:1:1", + "src": "16041:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "15575:5:1", + "src": "16037:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6676,14 +6676,14 @@ }, { "hexValue": "536166654d6174683a206d6f64756c6f206279207a65726f", - "id": 1054, + "id": 546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "15582:26:1", + "src": "16044:26:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_726e51f7b81fce0a68f5f214f445e275313b20b1633f08ce954ee39abf8d7832", "typeString": "literal_string \"SafeMath: modulo by zero\"" @@ -6702,7 +6702,7 @@ "typeString": "literal_string \"SafeMath: modulo by zero\"" } ], - "id": 1050, + "id": 542, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6710,13 +6710,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "15567:7:1", + "src": "16029:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1055, + "id": 547, "isConstant": false, "isLValue": false, "isPure": false, @@ -6724,16 +6724,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15567:42:1", + "src": "16029:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1056, + "id": 548, "nodeType": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "expression": { @@ -6741,18 +6741,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1059, + "id": 551, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1057, + "id": 549, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1043, - "src": "15626:1:1", + "referencedDeclaration": 535, + "src": "16089:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6761,54 +6761,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1058, + "id": 550, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15630:1:1", + "referencedDeclaration": 537, + "src": "16093:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15626:5:1", + "src": "16089:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1049, - "id": 1060, + "functionReturnParameters": 541, + "id": 552, "nodeType": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ] }, "documentation": { - "id": 1041, + "id": 533, "nodeType": "StructuredDocumentation", - "src": "15043:442:1", + "src": "15492:453:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1062, + "id": 554, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1046, + "id": 538, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1043, + "id": 535, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15503:9:1", + "scope": 554, + "src": "15964:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6816,10 +6816,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1042, + "id": 534, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15503:7:1", + "src": "15964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6829,12 +6829,12 @@ }, { "constant": false, - "id": 1045, + "id": 537, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15514:9:1", + "scope": 554, + "src": "15975:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6842,10 +6842,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1044, + "id": 536, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15514:7:1", + "src": "15975:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6854,20 +6854,20 @@ "visibility": "internal" } ], - "src": "15502:22:1" + "src": "15963:22:0" }, "returnParameters": { - "id": 1049, + "id": 541, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1048, + "id": 540, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15548:7:1", + "scope": 554, + "src": "16009:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6875,10 +6875,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1047, + "id": 539, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15548:7:1", + "src": "16009:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6887,19 +6887,19 @@ "visibility": "internal" } ], - "src": "15547:9:1" + "src": "16008:9:0" }, - "scope": 1135, - "src": "15490:148:1", + "scope": 627, + "src": "15951:151:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1085, + "id": 577, "nodeType": "Block", - "src": "16197:68:1", + "src": "16676:71:0", "statements": [ { "expression": { @@ -6909,18 +6909,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1077, + "id": 569, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1075, + "id": 567, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16215:1:1", + "referencedDeclaration": 559, + "src": "16695:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6929,30 +6929,30 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 1076, + "id": 568, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16220:1:1", + "referencedDeclaration": 557, + "src": "16700:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16215:6:1", + "src": "16695:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1078, + "id": 570, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1069, - "src": "16223:12:1", + "referencedDeclaration": 561, + "src": "16703:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6970,7 +6970,7 @@ "typeString": "string memory" } ], - "id": 1074, + "id": 566, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6978,13 +6978,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "16207:7:1", + "src": "16687:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1079, + "id": 571, "isConstant": false, "isLValue": false, "isPure": false, @@ -6992,16 +6992,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16207:29:1", + "src": "16687:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1080, + "id": 572, "nodeType": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "expression": { @@ -7009,18 +7009,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1083, + "id": 575, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1081, + "id": 573, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16253:1:1", + "referencedDeclaration": 557, + "src": "16734:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7029,54 +7029,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 1082, + "id": 574, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16257:1:1", + "referencedDeclaration": 559, + "src": "16738:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16253:5:1", + "src": "16734:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1073, - "id": 1084, + "functionReturnParameters": 565, + "id": 576, "nodeType": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ] }, "documentation": { - "id": 1063, + "id": 555, "nodeType": "StructuredDocumentation", - "src": "15644:453:1", + "src": "16110:465:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1086, + "id": 578, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 1070, + "id": 562, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1065, + "id": 557, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16115:9:1", + "scope": 578, + "src": "16594:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7084,10 +7084,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1064, + "id": 556, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16115:7:1", + "src": "16594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7097,12 +7097,12 @@ }, { "constant": false, - "id": 1067, + "id": 559, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16126:9:1", + "scope": 578, + "src": "16605:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7110,10 +7110,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1066, + "id": 558, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16126:7:1", + "src": "16605:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7123,12 +7123,12 @@ }, { "constant": false, - "id": 1069, + "id": 561, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16137:26:1", + "scope": 578, + "src": "16616:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7136,10 +7136,10 @@ "typeString": "string" }, "typeName": { - "id": 1068, + "id": 560, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16137:6:1", + "src": "16616:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7148,20 +7148,20 @@ "visibility": "internal" } ], - "src": "16114:50:1" + "src": "16593:50:0" }, "returnParameters": { - "id": 1073, + "id": 565, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1072, + "id": 564, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16188:7:1", + "scope": 578, + "src": "16667:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7169,10 +7169,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1071, + "id": 563, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16188:7:1", + "src": "16667:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7181,19 +7181,19 @@ "visibility": "internal" } ], - "src": "16187:9:1" + "src": "16666:9:0" }, - "scope": 1135, - "src": "16102:163:1", + "scope": 627, + "src": "16581:166:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1109, + "id": 601, "nodeType": "Block", - "src": "17017:67:1", + "src": "17516:70:0", "statements": [ { "expression": { @@ -7203,18 +7203,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1101, + "id": 593, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1099, + "id": 591, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17035:1:1", + "referencedDeclaration": 583, + "src": "17535:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7224,33 +7224,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1100, + "id": 592, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17039:1:1", + "src": "17539:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17035:5:1", + "src": "17535:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1102, + "id": 594, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1093, - "src": "17042:12:1", + "referencedDeclaration": 585, + "src": "17542:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7268,7 +7268,7 @@ "typeString": "string memory" } ], - "id": 1098, + "id": 590, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7276,13 +7276,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17027:7:1", + "src": "17527:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1103, + "id": 595, "isConstant": false, "isLValue": false, "isPure": false, @@ -7290,16 +7290,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17027:28:1", + "src": "17527:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1104, + "id": 596, "nodeType": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "expression": { @@ -7307,18 +7307,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1107, + "id": 599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1105, + "id": 597, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1089, - "src": "17072:1:1", + "referencedDeclaration": 581, + "src": "17573:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7327,54 +7327,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1106, + "id": 598, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17076:1:1", + "referencedDeclaration": 583, + "src": "17577:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17072:5:1", + "src": "17573:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1097, - "id": 1108, + "functionReturnParameters": 589, + "id": 600, "nodeType": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ] }, "documentation": { - "id": 1087, + "id": 579, "nodeType": "StructuredDocumentation", - "src": "16271:646:1", + "src": "16755:660:0", "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1110, + "id": 602, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1094, + "id": 586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1089, + "id": 581, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16935:9:1", + "scope": 602, + "src": "17434:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7382,10 +7382,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1088, + "id": 580, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16935:7:1", + "src": "17434:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7395,12 +7395,12 @@ }, { "constant": false, - "id": 1091, + "id": 583, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16946:9:1", + "scope": 602, + "src": "17445:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7408,10 +7408,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1090, + "id": 582, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16946:7:1", + "src": "17445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7421,12 +7421,12 @@ }, { "constant": false, - "id": 1093, + "id": 585, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16957:26:1", + "scope": 602, + "src": "17456:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7434,10 +7434,10 @@ "typeString": "string" }, "typeName": { - "id": 1092, + "id": 584, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16957:6:1", + "src": "17456:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7446,20 +7446,20 @@ "visibility": "internal" } ], - "src": "16934:50:1" + "src": "17433:50:0" }, "returnParameters": { - "id": 1097, + "id": 589, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1096, + "id": 588, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "17008:7:1", + "scope": 602, + "src": "17507:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7467,10 +7467,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1095, + "id": 587, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17008:7:1", + "src": "17507:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7479,19 +7479,19 @@ "visibility": "internal" } ], - "src": "17007:9:1" + "src": "17506:9:0" }, - "scope": 1135, - "src": "16922:162:1", + "scope": 627, + "src": "17421:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1133, + "id": 625, "nodeType": "Block", - "src": "17825:67:1", + "src": "18344:70:0", "statements": [ { "expression": { @@ -7501,18 +7501,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1125, + "id": 617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1123, + "id": 615, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17843:1:1", + "referencedDeclaration": 607, + "src": "18363:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7522,33 +7522,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1124, + "id": 616, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17847:1:1", + "src": "18367:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17843:5:1", + "src": "18363:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1126, + "id": 618, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1117, - "src": "17850:12:1", + "referencedDeclaration": 609, + "src": "18370:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7566,7 +7566,7 @@ "typeString": "string memory" } ], - "id": 1122, + "id": 614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7574,13 +7574,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17835:7:1", + "src": "18355:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1127, + "id": 619, "isConstant": false, "isLValue": false, "isPure": false, @@ -7588,16 +7588,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17835:28:1", + "src": "18355:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1128, + "id": 620, "nodeType": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "expression": { @@ -7605,18 +7605,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1131, + "id": 623, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1129, + "id": 621, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1113, - "src": "17880:1:1", + "referencedDeclaration": 605, + "src": "18401:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7625,54 +7625,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1130, + "id": 622, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17884:1:1", + "referencedDeclaration": 607, + "src": "18405:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17880:5:1", + "src": "18401:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1121, - "id": 1132, + "functionReturnParameters": 613, + "id": 624, "nodeType": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ] }, "documentation": { - "id": 1111, + "id": 603, "nodeType": "StructuredDocumentation", - "src": "17090:635:1", + "src": "17594:649:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1134, + "id": 626, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1118, + "id": 610, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1113, + "id": 605, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17743:9:1", + "scope": 626, + "src": "18262:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7680,10 +7680,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1112, + "id": 604, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17743:7:1", + "src": "18262:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7693,12 +7693,12 @@ }, { "constant": false, - "id": 1115, + "id": 607, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17754:9:1", + "scope": 626, + "src": "18273:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7706,10 +7706,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1114, + "id": 606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17754:7:1", + "src": "18273:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7719,12 +7719,12 @@ }, { "constant": false, - "id": 1117, + "id": 609, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17765:26:1", + "scope": 626, + "src": "18284:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7732,10 +7732,10 @@ "typeString": "string" }, "typeName": { - "id": 1116, + "id": 608, "name": "string", "nodeType": "ElementaryTypeName", - "src": "17765:6:1", + "src": "18284:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7744,20 +7744,20 @@ "visibility": "internal" } ], - "src": "17742:50:1" + "src": "18261:50:0" }, "returnParameters": { - "id": 1121, + "id": 613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1120, + "id": 612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17816:7:1", + "scope": 626, + "src": "18335:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7765,10 +7765,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1119, + "id": 611, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17816:7:1", + "src": "18335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7777,20 +7777,20 @@ "visibility": "internal" } ], - "src": "17815:9:1" + "src": "18334:9:0" }, - "scope": 1135, - "src": "17730:162:1", + "scope": 627, + "src": "18249:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "11300:6594:1" + "scope": 2991, + "src": "11627:6790:0" }, { - "id": 1136, + "id": 628, "literals": [ "solidity", ">=", @@ -7801,7 +7801,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "abstract": false, @@ -7809,38 +7809,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1137, + "id": 629, "nodeType": "StructuredDocumentation", - "src": "17980:67:1", + "src": "18508:69:0", "text": " @dev Collection of functions related to the address type" }, "fullyImplemented": true, - "id": 1430, + "id": 922, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1153, + "id": 645, "nodeType": "Block", - "src": "18706:347:1", + "src": "19255:356:0", "statements": [ { "assignments": [ - 1146 + 638 ], "declarations": [ { "constant": false, - "id": 1146, + "id": 638, "mutability": "mutable", "name": "size", "nodeType": "VariableDeclaration", - "scope": 1153, - "src": "18903:12:1", + "scope": 645, + "src": "19457:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7848,10 +7848,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1145, + "id": 637, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "18903:7:1", + "src": "19457:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7860,39 +7860,39 @@ "visibility": "internal" } ], - "id": 1147, + "id": 639, "nodeType": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "AST": { "nodeType": "YulBlock", - "src": "18990:32:1", + "src": "19546:32:0", "statements": [ { "nodeType": "YulAssignment", - "src": "18992:28:1", + "src": "19548:28:0", "value": { "arguments": [ { "name": "account", "nodeType": "YulIdentifier", - "src": "19012:7:1" + "src": "19568:7:0" } ], "functionName": { "name": "extcodesize", "nodeType": "YulIdentifier", - "src": "19000:11:1" + "src": "19556:11:0" }, "nodeType": "YulFunctionCall", - "src": "19000:20:1" + "src": "19556:20:0" }, "variableNames": [ { "name": "size", "nodeType": "YulIdentifier", - "src": "18992:4:1" + "src": "19548:4:0" } ] } @@ -7901,23 +7901,23 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], - "id": 1148, + "id": 640, "nodeType": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "expression": { @@ -7925,18 +7925,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1151, + "id": 643, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1149, + "id": 641, "name": "size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1146, - "src": "19038:4:1", + "referencedDeclaration": 638, + "src": "19595:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7946,57 +7946,57 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1150, + "id": 642, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19045:1:1", + "src": "19602:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "19038:8:1", + "src": "19595:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1144, - "id": 1152, + "functionReturnParameters": 636, + "id": 644, "nodeType": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ] }, "documentation": { - "id": 1138, + "id": 630, "nodeType": "StructuredDocumentation", - "src": "18070:565:1", + "src": "18602:581:0", "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1154, + "id": 646, "implemented": true, "kind": "function", "modifiers": [], "name": "isContract", "nodeType": "FunctionDefinition", "parameters": { - "id": 1141, + "id": 633, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1140, + "id": 632, "mutability": "mutable", "name": "account", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18660:15:1", + "scope": 646, + "src": "19209:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8004,10 +8004,10 @@ "typeString": "address" }, "typeName": { - "id": 1139, + "id": 631, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18660:7:1", + "src": "19209:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8017,20 +8017,20 @@ "visibility": "internal" } ], - "src": "18659:17:1" + "src": "19208:17:0" }, "returnParameters": { - "id": 1144, + "id": 636, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1143, + "id": 635, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18700:4:1", + "scope": 646, + "src": "19249:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8038,10 +8038,10 @@ "typeString": "bool" }, "typeName": { - "id": 1142, + "id": 634, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "18700:4:1", + "src": "19249:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8050,19 +8050,19 @@ "visibility": "internal" } ], - "src": "18699:6:1" + "src": "19248:6:0" }, - "scope": 1430, - "src": "18640:413:1", + "scope": 922, + "src": "19189:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1187, + "id": 679, "nodeType": "Block", - "src": "20041:320:1", + "src": "20617:326:0", "statements": [ { "expression": { @@ -8072,7 +8072,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1169, + "id": 661, "isConstant": false, "isLValue": false, "isPure": false, @@ -8081,14 +8081,14 @@ "expression": { "arguments": [ { - "id": 1165, + "id": 657, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "20067:4:1", + "src": "20644:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -8096,30 +8096,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1164, + "id": 656, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1163, + "id": 655, "name": "address", "nodeType": "ElementaryTypeName", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": {} } }, - "id": 1166, + "id": 658, "isConstant": false, "isLValue": false, "isPure": false, @@ -8127,21 +8127,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20059:13:1", + "src": "20636:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1167, + "id": 659, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "20059:21:1", + "src": "20636:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8150,18 +8150,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1168, + "id": 660, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20084:6:1", + "referencedDeclaration": 651, + "src": "20661:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "20059:31:1", + "src": "20636:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8169,14 +8169,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e6365", - "id": 1170, + "id": 662, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20092:31:1", + "src": "20669:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9", "typeString": "literal_string \"Address: insufficient balance\"" @@ -8195,7 +8195,7 @@ "typeString": "literal_string \"Address: insufficient balance\"" } ], - "id": 1162, + "id": 654, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -8203,13 +8203,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20051:7:1", + "src": "20628:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1171, + "id": 663, "isConstant": false, "isLValue": false, "isPure": false, @@ -8217,31 +8217,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20051:73:1", + "src": "20628:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1172, + "id": 664, "nodeType": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "assignments": [ - 1174, + 666, null ], "declarations": [ { "constant": false, - "id": 1174, + "id": 666, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1187, - "src": "20213:12:1", + "scope": 679, + "src": "20793:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8249,10 +8249,10 @@ "typeString": "bool" }, "typeName": { - "id": 1173, + "id": 665, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "20213:4:1", + "src": "20793:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8262,19 +8262,19 @@ }, null ], - "id": 1181, + "id": 673, "initialValue": { "arguments": [ { "hexValue": "", - "id": 1179, + "id": 671, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20263:2:1", + "src": "20843:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -8297,31 +8297,31 @@ } ], "expression": { - "id": 1175, + "id": 667, "name": "recipient", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1157, - "src": "20231:9:1", + "referencedDeclaration": 649, + "src": "20811:9:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 1176, + "id": 668, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "20231:14:1", + "src": "20811:14:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1178, + "id": 670, "isConstant": false, "isLValue": false, "isPure": false, @@ -8332,25 +8332,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1177, + "id": 669, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20254:6:1", + "referencedDeclaration": 651, + "src": "20834:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "20231:31:1", + "src": "20811:31:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1180, + "id": 672, "isConstant": false, "isLValue": false, "isPure": false, @@ -8358,7 +8358,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20231:35:1", + "src": "20811:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -8366,18 +8366,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "expression": { "arguments": [ { - "id": 1183, + "id": 675, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1174, - "src": "20284:7:1", + "referencedDeclaration": 666, + "src": "20865:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8385,14 +8385,14 @@ }, { "hexValue": "416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564", - "id": 1184, + "id": 676, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20293:60:1", + "src": "20874:60:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae", "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" @@ -8411,7 +8411,7 @@ "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" } ], - "id": 1182, + "id": 674, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -8419,13 +8419,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20276:7:1", + "src": "20857:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1185, + "id": 677, "isConstant": false, "isLValue": false, "isPure": false, @@ -8433,43 +8433,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20276:78:1", + "src": "20857:78:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1186, + "id": 678, "nodeType": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ] }, "documentation": { - "id": 1155, + "id": 647, "nodeType": "StructuredDocumentation", - "src": "19059:906:1", + "src": "19619:921:0", "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1188, + "id": 680, "implemented": true, "kind": "function", "modifiers": [], "name": "sendValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1160, + "id": 652, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1157, + "id": 649, "mutability": "mutable", "name": "recipient", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "19989:25:1", + "scope": 680, + "src": "20565:25:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8477,10 +8477,10 @@ "typeString": "address payable" }, "typeName": { - "id": 1156, + "id": 648, "name": "address", "nodeType": "ElementaryTypeName", - "src": "19989:15:1", + "src": "20565:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -8491,12 +8491,12 @@ }, { "constant": false, - "id": 1159, + "id": 651, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "20016:14:1", + "scope": 680, + "src": "20592:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8504,10 +8504,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1158, + "id": 650, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "20016:7:1", + "src": "20592:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8516,48 +8516,48 @@ "visibility": "internal" } ], - "src": "19988:43:1" + "src": "20564:43:0" }, "returnParameters": { - "id": 1161, + "id": 653, "nodeType": "ParameterList", "parameters": [], - "src": "20041:0:1" + "src": "20617:0:0" }, - "scope": 1430, - "src": "19970:391:1", + "scope": 922, + "src": "20546:397:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1204, + "id": 696, "nodeType": "Block", - "src": "21191:82:1", + "src": "21793:84:0", "statements": [ { "expression": { "arguments": [ { - "id": 1199, + "id": 691, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1191, - "src": "21219:6:1", + "referencedDeclaration": 683, + "src": "21822:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1200, + "id": 692, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1193, - "src": "21227:4:1", + "referencedDeclaration": 685, + "src": "21830:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8565,14 +8565,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564", - "id": 1201, + "id": 693, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "21233:32:1", + "src": "21836:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", "typeString": "literal_string \"Address: low-level call failed\"" @@ -8595,21 +8595,21 @@ "typeString": "literal_string \"Address: low-level call failed\"" } ], - "id": 1198, + "id": 690, "name": "functionCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, - "src": "21206:12:1", + "referencedDeclaration": 717, + "src": "21809:12:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1202, + "id": 694, "isConstant": false, "isLValue": false, "isPure": false, @@ -8617,44 +8617,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21206:60:1", + "src": "21809:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1197, - "id": 1203, + "functionReturnParameters": 689, + "id": 695, "nodeType": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ] }, "documentation": { - "id": 1189, + "id": 681, "nodeType": "StructuredDocumentation", - "src": "20367:730:1", + "src": "20951:747:0", "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1205, + "id": 697, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1194, + "id": 686, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1191, + "id": 683, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21124:14:1", + "scope": 697, + "src": "21726:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8662,10 +8662,10 @@ "typeString": "address" }, "typeName": { - "id": 1190, + "id": 682, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21124:7:1", + "src": "21726:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8676,12 +8676,12 @@ }, { "constant": false, - "id": 1193, + "id": 685, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21140:17:1", + "scope": 697, + "src": "21742:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8689,10 +8689,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1192, + "id": 684, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21140:5:1", + "src": "21742:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8701,20 +8701,20 @@ "visibility": "internal" } ], - "src": "21123:35:1" + "src": "21725:35:0" }, "returnParameters": { - "id": 1197, + "id": 689, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1196, + "id": 688, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21177:12:1", + "scope": 697, + "src": "21779:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8722,10 +8722,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1195, + "id": 687, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21177:5:1", + "src": "21779:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8734,42 +8734,42 @@ "visibility": "internal" } ], - "src": "21176:14:1" + "src": "21778:14:0" }, - "scope": 1430, - "src": "21102:171:1", + "scope": 922, + "src": "21704:173:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1224, + "id": 716, "nodeType": "Block", - "src": "21612:76:1", + "src": "22224:78:0", "statements": [ { "expression": { "arguments": [ { - "id": 1218, + "id": 710, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1208, - "src": "21651:6:1", + "referencedDeclaration": 700, + "src": "22264:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1219, + "id": 711, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1210, - "src": "21659:4:1", + "referencedDeclaration": 702, + "src": "22272:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8777,14 +8777,14 @@ }, { "hexValue": "30", - "id": 1220, + "id": 712, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "21665:1:1", + "src": "22278:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -8792,12 +8792,12 @@ "value": "0" }, { - "id": 1221, + "id": 713, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1212, - "src": "21668:12:1", + "referencedDeclaration": 704, + "src": "22281:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -8823,21 +8823,21 @@ "typeString": "string memory" } ], - "id": 1217, + "id": 709, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "21629:21:1", + "referencedDeclaration": 787, + "src": "22242:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1222, + "id": 714, "isConstant": false, "isLValue": false, "isPure": false, @@ -8845,44 +8845,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21629:52:1", + "src": "22242:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1216, - "id": 1223, + "functionReturnParameters": 708, + "id": 715, "nodeType": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ] }, "documentation": { - "id": 1206, + "id": 698, "nodeType": "StructuredDocumentation", - "src": "21279:211:1", + "src": "21885:216:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1225, + "id": 717, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1213, + "id": 705, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1208, + "id": 700, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21517:14:1", + "scope": 717, + "src": "22129:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8890,10 +8890,10 @@ "typeString": "address" }, "typeName": { - "id": 1207, + "id": 699, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21517:7:1", + "src": "22129:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8904,12 +8904,12 @@ }, { "constant": false, - "id": 1210, + "id": 702, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21533:17:1", + "scope": 717, + "src": "22145:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8917,10 +8917,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1209, + "id": 701, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21533:5:1", + "src": "22145:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8930,12 +8930,12 @@ }, { "constant": false, - "id": 1212, + "id": 704, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21552:26:1", + "scope": 717, + "src": "22164:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8943,10 +8943,10 @@ "typeString": "string" }, "typeName": { - "id": 1211, + "id": 703, "name": "string", "nodeType": "ElementaryTypeName", - "src": "21552:6:1", + "src": "22164:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -8955,20 +8955,20 @@ "visibility": "internal" } ], - "src": "21516:63:1" + "src": "22128:63:0" }, "returnParameters": { - "id": 1216, + "id": 708, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1215, + "id": 707, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21598:12:1", + "scope": 717, + "src": "22210:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8976,10 +8976,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1214, + "id": 706, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21598:5:1", + "src": "22210:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8988,54 +8988,54 @@ "visibility": "internal" } ], - "src": "21597:14:1" + "src": "22209:14:0" }, - "scope": 1430, - "src": "21495:193:1", + "scope": 922, + "src": "22107:195:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1244, + "id": 736, "nodeType": "Block", - "src": "22163:111:1", + "src": "22790:113:0", "statements": [ { "expression": { "arguments": [ { - "id": 1238, + "id": 730, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1228, - "src": "22202:6:1", + "referencedDeclaration": 720, + "src": "22830:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1239, + "id": 731, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1230, - "src": "22210:4:1", + "referencedDeclaration": 722, + "src": "22838:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1240, + "id": 732, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1232, - "src": "22216:5:1", + "referencedDeclaration": 724, + "src": "22844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9043,14 +9043,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564", - "id": 1241, + "id": 733, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22223:43:1", + "src": "22851:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc", "typeString": "literal_string \"Address: low-level call with value failed\"" @@ -9077,21 +9077,21 @@ "typeString": "literal_string \"Address: low-level call with value failed\"" } ], - "id": 1237, + "id": 729, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "22180:21:1", + "referencedDeclaration": 787, + "src": "22808:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1242, + "id": 734, "isConstant": false, "isLValue": false, "isPure": false, @@ -9099,44 +9099,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22180:87:1", + "src": "22808:87:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1236, - "id": 1243, + "functionReturnParameters": 728, + "id": 735, "nodeType": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ] }, "documentation": { - "id": 1226, + "id": 718, "nodeType": "StructuredDocumentation", - "src": "21694:351:1", + "src": "22310:361:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1245, + "id": 737, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1233, + "id": 725, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1228, + "id": 720, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22081:14:1", + "scope": 737, + "src": "22708:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9144,10 +9144,10 @@ "typeString": "address" }, "typeName": { - "id": 1227, + "id": 719, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22081:7:1", + "src": "22708:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9158,12 +9158,12 @@ }, { "constant": false, - "id": 1230, + "id": 722, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22097:17:1", + "scope": 737, + "src": "22724:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9171,10 +9171,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1229, + "id": 721, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22097:5:1", + "src": "22724:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9184,12 +9184,12 @@ }, { "constant": false, - "id": 1232, + "id": 724, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22116:13:1", + "scope": 737, + "src": "22743:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9197,10 +9197,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1231, + "id": 723, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22116:7:1", + "src": "22743:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9209,20 +9209,20 @@ "visibility": "internal" } ], - "src": "22080:50:1" + "src": "22707:50:0" }, "returnParameters": { - "id": 1236, + "id": 728, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1235, + "id": 727, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22149:12:1", + "scope": 737, + "src": "22776:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9230,10 +9230,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1234, + "id": 726, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22149:5:1", + "src": "22776:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9242,19 +9242,19 @@ "visibility": "internal" } ], - "src": "22148:14:1" + "src": "22775:14:0" }, - "scope": 1430, - "src": "22050:224:1", + "scope": 922, + "src": "22677:226:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1294, + "id": 786, "nodeType": "Block", - "src": "22663:382:1", + "src": "23300:389:0", "statements": [ { "expression": { @@ -9264,7 +9264,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1266, + "id": 758, "isConstant": false, "isLValue": false, "isPure": false, @@ -9273,14 +9273,14 @@ "expression": { "arguments": [ { - "id": 1262, + "id": 754, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "22689:4:1", + "src": "23327:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -9288,30 +9288,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1261, + "id": 753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1260, + "id": 752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": {} } }, - "id": 1263, + "id": 755, "isConstant": false, "isLValue": false, "isPure": false, @@ -9319,21 +9319,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22681:13:1", + "src": "23319:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1264, + "id": 756, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "22681:21:1", + "src": "23319:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9342,18 +9342,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1265, + "id": 757, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22706:5:1", + "referencedDeclaration": 744, + "src": "23344:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "22681:30:1", + "src": "23319:30:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9361,14 +9361,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c", - "id": 1267, + "id": 759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22713:40:1", + "src": "23351:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c", "typeString": "literal_string \"Address: insufficient balance for call\"" @@ -9387,7 +9387,7 @@ "typeString": "literal_string \"Address: insufficient balance for call\"" } ], - "id": 1259, + "id": 751, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9395,13 +9395,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22673:7:1", + "src": "23311:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1268, + "id": 760, "isConstant": false, "isLValue": false, "isPure": false, @@ -9409,16 +9409,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22673:81:1", + "src": "23311:81:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1269, + "id": 761, "nodeType": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "expression": { @@ -9426,12 +9426,12 @@ { "arguments": [ { - "id": 1272, + "id": 764, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22783:6:1", + "referencedDeclaration": 740, + "src": "23422:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9445,18 +9445,18 @@ "typeString": "address" } ], - "id": 1271, + "id": 763, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "22772:10:1", + "referencedDeclaration": 646, + "src": "23411:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1273, + "id": 765, "isConstant": false, "isLValue": false, "isPure": false, @@ -9464,7 +9464,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22772:18:1", + "src": "23411:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9473,14 +9473,14 @@ }, { "hexValue": "416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1274, + "id": 766, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22792:31:1", + "src": "23431:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad", "typeString": "literal_string \"Address: call to non-contract\"" @@ -9499,7 +9499,7 @@ "typeString": "literal_string \"Address: call to non-contract\"" } ], - "id": 1270, + "id": 762, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9507,13 +9507,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22764:7:1", + "src": "23403:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1275, + "id": 767, "isConstant": false, "isLValue": false, "isPure": false, @@ -9521,31 +9521,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22764:60:1", + "src": "23403:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1276, + "id": 768, "nodeType": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "assignments": [ - 1278, - 1280 + 770, + 772 ], "declarations": [ { "constant": false, - "id": 1278, + "id": 770, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22895:12:1", + "scope": 786, + "src": "23537:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9553,10 +9553,10 @@ "typeString": "bool" }, "typeName": { - "id": 1277, + "id": 769, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "22895:4:1", + "src": "23537:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9566,12 +9566,12 @@ }, { "constant": false, - "id": 1280, + "id": 772, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22909:23:1", + "scope": 786, + "src": "23551:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9579,10 +9579,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1279, + "id": 771, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22909:5:1", + "src": "23551:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9591,16 +9591,16 @@ "visibility": "internal" } ], - "id": 1287, + "id": 779, "initialValue": { "arguments": [ { - "id": 1285, + "id": 777, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1250, - "src": "22964:4:1", + "referencedDeclaration": 742, + "src": "23606:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9622,31 +9622,31 @@ } ], "expression": { - "id": 1281, + "id": 773, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22936:6:1", + "referencedDeclaration": 740, + "src": "23578:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1282, + "id": 774, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "22936:11:1", + "src": "23578:11:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1284, + "id": 776, "isConstant": false, "isLValue": false, "isPure": false, @@ -9657,25 +9657,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1283, + "id": 775, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22956:5:1", + "referencedDeclaration": 744, + "src": "23598:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "22936:27:1", + "src": "23578:27:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1286, + "id": 778, "isConstant": false, "isLValue": false, "isPure": false, @@ -9683,7 +9683,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22936:33:1", + "src": "23578:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -9691,42 +9691,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "expression": { "arguments": [ { - "id": 1289, + "id": 781, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1278, - "src": "23004:7:1", + "referencedDeclaration": 770, + "src": "23647:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1290, + "id": 782, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1280, - "src": "23013:10:1", + "referencedDeclaration": 772, + "src": "23656:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1291, + "id": 783, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1254, - "src": "23025:12:1", + "referencedDeclaration": 746, + "src": "23668:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -9748,18 +9748,18 @@ "typeString": "string memory" } ], - "id": 1288, + "id": 780, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "22986:17:1", + "referencedDeclaration": 921, + "src": "23629:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1292, + "id": 784, "isConstant": false, "isLValue": false, "isPure": false, @@ -9767,44 +9767,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22986:52:1", + "src": "23629:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1258, - "id": 1293, + "functionReturnParameters": 750, + "id": 785, "nodeType": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ] }, "documentation": { - "id": 1246, + "id": 738, "nodeType": "StructuredDocumentation", - "src": "22280:237:1", + "src": "22911:242:0", "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1295, + "id": 787, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1255, + "id": 747, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1248, + "id": 740, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22553:14:1", + "scope": 787, + "src": "23190:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9812,10 +9812,10 @@ "typeString": "address" }, "typeName": { - "id": 1247, + "id": 739, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22553:7:1", + "src": "23190:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9826,12 +9826,12 @@ }, { "constant": false, - "id": 1250, + "id": 742, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22569:17:1", + "scope": 787, + "src": "23206:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9839,10 +9839,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1249, + "id": 741, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22569:5:1", + "src": "23206:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9852,12 +9852,12 @@ }, { "constant": false, - "id": 1252, + "id": 744, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22588:13:1", + "scope": 787, + "src": "23225:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9865,10 +9865,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1251, + "id": 743, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22588:7:1", + "src": "23225:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9878,12 +9878,12 @@ }, { "constant": false, - "id": 1254, + "id": 746, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22603:26:1", + "scope": 787, + "src": "23240:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9891,10 +9891,10 @@ "typeString": "string" }, "typeName": { - "id": 1253, + "id": 745, "name": "string", "nodeType": "ElementaryTypeName", - "src": "22603:6:1", + "src": "23240:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -9903,20 +9903,20 @@ "visibility": "internal" } ], - "src": "22552:78:1" + "src": "23189:78:0" }, "returnParameters": { - "id": 1258, + "id": 750, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1257, + "id": 749, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22649:12:1", + "scope": 787, + "src": "23286:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9924,10 +9924,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1256, + "id": 748, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22649:5:1", + "src": "23286:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9936,42 +9936,42 @@ "visibility": "internal" } ], - "src": "22648:14:1" + "src": "23285:14:0" }, - "scope": 1430, - "src": "22522:523:1", + "scope": 922, + "src": "23159:530:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1311, + "id": 803, "nodeType": "Block", - "src": "23322:97:1", + "src": "23974:99:0", "statements": [ { "expression": { "arguments": [ { - "id": 1306, + "id": 798, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1298, - "src": "23358:6:1", + "referencedDeclaration": 790, + "src": "24011:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1307, + "id": 799, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1300, - "src": "23366:4:1", + "referencedDeclaration": 792, + "src": "24019:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9979,14 +9979,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564", - "id": 1308, + "id": 800, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23372:39:1", + "src": "24025:39:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0", "typeString": "literal_string \"Address: low-level static call failed\"" @@ -10009,21 +10009,21 @@ "typeString": "literal_string \"Address: low-level static call failed\"" } ], - "id": 1305, + "id": 797, "name": "functionStaticCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, - "src": "23339:18:1", + "referencedDeclaration": 839, + "src": "23992:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) view returns (bytes memory)" } }, - "id": 1309, + "id": 801, "isConstant": false, "isLValue": false, "isPure": false, @@ -10031,44 +10031,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23339:73:1", + "src": "23992:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1304, - "id": 1310, + "functionReturnParameters": 796, + "id": 802, "nodeType": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ] }, "documentation": { - "id": 1296, + "id": 788, "nodeType": "StructuredDocumentation", - "src": "23051:166:1", + "src": "23697:171:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1312, + "id": 804, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1301, + "id": 793, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1298, + "id": 790, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23250:14:1", + "scope": 804, + "src": "23902:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10076,10 +10076,10 @@ "typeString": "address" }, "typeName": { - "id": 1297, + "id": 789, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23250:7:1", + "src": "23902:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10090,12 +10090,12 @@ }, { "constant": false, - "id": 1300, + "id": 792, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23266:17:1", + "scope": 804, + "src": "23918:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10103,10 +10103,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1299, + "id": 791, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23266:5:1", + "src": "23918:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10115,20 +10115,20 @@ "visibility": "internal" } ], - "src": "23249:35:1" + "src": "23901:35:0" }, "returnParameters": { - "id": 1304, + "id": 796, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1303, + "id": 795, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23308:12:1", + "scope": 804, + "src": "23960:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10136,10 +10136,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1302, + "id": 794, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23308:5:1", + "src": "23960:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10148,19 +10148,19 @@ "visibility": "internal" } ], - "src": "23307:14:1" + "src": "23959:14:0" }, - "scope": 1430, - "src": "23222:197:1", + "scope": 922, + "src": "23874:199:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1346, + "id": 838, "nodeType": "Block", - "src": "23731:288:1", + "src": "24393:294:0", "statements": [ { "expression": { @@ -10168,12 +10168,12 @@ { "arguments": [ { - "id": 1326, + "id": 818, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23760:6:1", + "referencedDeclaration": 807, + "src": "24423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10187,18 +10187,18 @@ "typeString": "address" } ], - "id": 1325, + "id": 817, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "23749:10:1", + "referencedDeclaration": 646, + "src": "24412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1327, + "id": 819, "isConstant": false, "isLValue": false, "isPure": false, @@ -10206,7 +10206,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23749:18:1", + "src": "24412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10215,14 +10215,14 @@ }, { "hexValue": "416464726573733a207374617469632063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1328, + "id": 820, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23769:38:1", + "src": "24432:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c79cc78e4f16ce3933a42b84c73868f93bb4a59c031a0acf576679de98c608a9", "typeString": "literal_string \"Address: static call to non-contract\"" @@ -10241,7 +10241,7 @@ "typeString": "literal_string \"Address: static call to non-contract\"" } ], - "id": 1324, + "id": 816, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -10249,13 +10249,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "23741:7:1", + "src": "24404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1329, + "id": 821, "isConstant": false, "isLValue": false, "isPure": false, @@ -10263,31 +10263,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23741:67:1", + "src": "24404:67:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1330, + "id": 822, "nodeType": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "assignments": [ - 1332, - 1334 + 824, + 826 ], "declarations": [ { "constant": false, - "id": 1332, + "id": 824, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23879:12:1", + "scope": 838, + "src": "24545:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10295,10 +10295,10 @@ "typeString": "bool" }, "typeName": { - "id": 1331, + "id": 823, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "23879:4:1", + "src": "24545:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10308,12 +10308,12 @@ }, { "constant": false, - "id": 1334, + "id": 826, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23893:23:1", + "scope": 838, + "src": "24559:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10321,10 +10321,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1333, + "id": 825, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23893:5:1", + "src": "24559:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10333,16 +10333,16 @@ "visibility": "internal" } ], - "id": 1339, + "id": 831, "initialValue": { "arguments": [ { - "id": 1337, + "id": 829, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1317, - "src": "23938:4:1", + "referencedDeclaration": 809, + "src": "24604:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10357,31 +10357,31 @@ } ], "expression": { - "id": 1335, + "id": 827, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23920:6:1", + "referencedDeclaration": 807, + "src": "24586:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1336, + "id": 828, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "staticcall", "nodeType": "MemberAccess", - "src": "23920:17:1", + "src": "24586:17:0", "typeDescriptions": { "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) view returns (bool,bytes memory)" } }, - "id": 1338, + "id": 830, "isConstant": false, "isLValue": false, "isPure": false, @@ -10389,7 +10389,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23920:23:1", + "src": "24586:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10397,42 +10397,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "expression": { "arguments": [ { - "id": 1341, + "id": 833, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "23978:7:1", + "referencedDeclaration": 824, + "src": "24645:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1342, + "id": 834, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1334, - "src": "23987:10:1", + "referencedDeclaration": 826, + "src": "24654:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1343, + "id": 835, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1319, - "src": "23999:12:1", + "referencedDeclaration": 811, + "src": "24666:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10454,18 +10454,18 @@ "typeString": "string memory" } ], - "id": 1340, + "id": 832, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "23960:17:1", + "referencedDeclaration": 921, + "src": "24627:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1344, + "id": 836, "isConstant": false, "isLValue": false, "isPure": false, @@ -10473,44 +10473,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23960:52:1", + "src": "24627:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1323, - "id": 1345, + "functionReturnParameters": 815, + "id": 837, "nodeType": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ] }, "documentation": { - "id": 1313, + "id": 805, "nodeType": "StructuredDocumentation", - "src": "23425:173:1", + "src": "24081:178:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1347, + "id": 839, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1320, + "id": 812, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1315, + "id": 807, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23631:14:1", + "scope": 839, + "src": "24293:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10518,10 +10518,10 @@ "typeString": "address" }, "typeName": { - "id": 1314, + "id": 806, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23631:7:1", + "src": "24293:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10532,12 +10532,12 @@ }, { "constant": false, - "id": 1317, + "id": 809, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23647:17:1", + "scope": 839, + "src": "24309:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10545,10 +10545,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1316, + "id": 808, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23647:5:1", + "src": "24309:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10558,12 +10558,12 @@ }, { "constant": false, - "id": 1319, + "id": 811, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23666:26:1", + "scope": 839, + "src": "24328:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10571,10 +10571,10 @@ "typeString": "string" }, "typeName": { - "id": 1318, + "id": 810, "name": "string", "nodeType": "ElementaryTypeName", - "src": "23666:6:1", + "src": "24328:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10583,20 +10583,20 @@ "visibility": "internal" } ], - "src": "23630:63:1" + "src": "24292:63:0" }, "returnParameters": { - "id": 1323, + "id": 815, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1322, + "id": 814, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23717:12:1", + "scope": 839, + "src": "24379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10604,10 +10604,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1321, + "id": 813, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23717:5:1", + "src": "24379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10616,42 +10616,42 @@ "visibility": "internal" } ], - "src": "23716:14:1" + "src": "24378:14:0" }, - "scope": 1430, - "src": "23603:416:1", + "scope": 922, + "src": "24265:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1363, + "id": 855, "nodeType": "Block", - "src": "24295:101:1", + "src": "24971:103:0", "statements": [ { "expression": { "arguments": [ { - "id": 1358, + "id": 850, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1350, - "src": "24333:6:1", + "referencedDeclaration": 842, + "src": "25010:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1359, + "id": 851, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1352, - "src": "24341:4:1", + "referencedDeclaration": 844, + "src": "25018:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10659,14 +10659,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564", - "id": 1360, + "id": 852, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24347:41:1", + "src": "25024:41:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398", "typeString": "literal_string \"Address: low-level delegate call failed\"" @@ -10689,21 +10689,21 @@ "typeString": "literal_string \"Address: low-level delegate call failed\"" } ], - "id": 1357, + "id": 849, "name": "functionDelegateCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, - "src": "24312:20:1", + "referencedDeclaration": 891, + "src": "24989:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1361, + "id": 853, "isConstant": false, "isLValue": false, "isPure": false, @@ -10711,44 +10711,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24312:77:1", + "src": "24989:77:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1356, - "id": 1362, + "functionReturnParameters": 848, + "id": 854, "nodeType": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ] }, "documentation": { - "id": 1348, + "id": 840, "nodeType": "StructuredDocumentation", - "src": "24025:168:1", + "src": "24695:173:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1364, + "id": 856, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1353, + "id": 845, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1350, + "id": 842, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24228:14:1", + "scope": 856, + "src": "24904:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10756,10 +10756,10 @@ "typeString": "address" }, "typeName": { - "id": 1349, + "id": 841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24228:7:1", + "src": "24904:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10770,12 +10770,12 @@ }, { "constant": false, - "id": 1352, + "id": 844, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24244:17:1", + "scope": 856, + "src": "24920:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10783,10 +10783,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1351, + "id": 843, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24244:5:1", + "src": "24920:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10795,20 +10795,20 @@ "visibility": "internal" } ], - "src": "24227:35:1" + "src": "24903:35:0" }, "returnParameters": { - "id": 1356, + "id": 848, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1355, + "id": 847, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24281:12:1", + "scope": 856, + "src": "24957:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10816,10 +10816,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1354, + "id": 846, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24281:5:1", + "src": "24957:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10828,19 +10828,19 @@ "visibility": "internal" } ], - "src": "24280:14:1" + "src": "24956:14:0" }, - "scope": 1430, - "src": "24198:198:1", + "scope": 922, + "src": "24874:200:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1398, + "id": 890, "nodeType": "Block", - "src": "24707:292:1", + "src": "25393:298:0", "statements": [ { "expression": { @@ -10848,12 +10848,12 @@ { "arguments": [ { - "id": 1378, + "id": 870, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24736:6:1", + "referencedDeclaration": 859, + "src": "25423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10867,18 +10867,18 @@ "typeString": "address" } ], - "id": 1377, + "id": 869, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "24725:10:1", + "referencedDeclaration": 646, + "src": "25412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1379, + "id": 871, "isConstant": false, "isLValue": false, "isPure": false, @@ -10886,7 +10886,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24725:18:1", + "src": "25412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10895,14 +10895,14 @@ }, { "hexValue": "416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1380, + "id": 872, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24745:40:1", + "src": "25432:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b94ded0918034cf8f896e19fa3cfdef1188cd569c577264a3622e49152f88520", "typeString": "literal_string \"Address: delegate call to non-contract\"" @@ -10921,7 +10921,7 @@ "typeString": "literal_string \"Address: delegate call to non-contract\"" } ], - "id": 1376, + "id": 868, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -10929,13 +10929,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "24717:7:1", + "src": "25404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1381, + "id": 873, "isConstant": false, "isLValue": false, "isPure": false, @@ -10943,31 +10943,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24717:69:1", + "src": "25404:69:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1382, + "id": 874, "nodeType": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "assignments": [ - 1384, - 1386 + 876, + 878 ], "declarations": [ { "constant": false, - "id": 1384, + "id": 876, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24857:12:1", + "scope": 890, + "src": "25547:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10975,10 +10975,10 @@ "typeString": "bool" }, "typeName": { - "id": 1383, + "id": 875, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "24857:4:1", + "src": "25547:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10988,12 +10988,12 @@ }, { "constant": false, - "id": 1386, + "id": 878, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24871:23:1", + "scope": 890, + "src": "25561:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11001,10 +11001,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1385, + "id": 877, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24871:5:1", + "src": "25561:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11013,16 +11013,16 @@ "visibility": "internal" } ], - "id": 1391, + "id": 883, "initialValue": { "arguments": [ { - "id": 1389, + "id": 881, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1369, - "src": "24918:4:1", + "referencedDeclaration": 861, + "src": "25608:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -11037,31 +11037,31 @@ } ], "expression": { - "id": 1387, + "id": 879, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24898:6:1", + "referencedDeclaration": 859, + "src": "25588:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1388, + "id": 880, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "delegatecall", "nodeType": "MemberAccess", - "src": "24898:19:1", + "src": "25588:19:0", "typeDescriptions": { "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) returns (bool,bytes memory)" } }, - "id": 1390, + "id": 882, "isConstant": false, "isLValue": false, "isPure": false, @@ -11069,7 +11069,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24898:25:1", + "src": "25588:25:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -11077,42 +11077,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "expression": { "arguments": [ { - "id": 1393, + "id": 885, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1384, - "src": "24958:7:1", + "referencedDeclaration": 876, + "src": "25649:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1394, + "id": 886, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1386, - "src": "24967:10:1", + "referencedDeclaration": 878, + "src": "25658:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1395, + "id": 887, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1371, - "src": "24979:12:1", + "referencedDeclaration": 863, + "src": "25670:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -11134,18 +11134,18 @@ "typeString": "string memory" } ], - "id": 1392, + "id": 884, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "24940:17:1", + "referencedDeclaration": 921, + "src": "25631:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1396, + "id": 888, "isConstant": false, "isLValue": false, "isPure": false, @@ -11153,44 +11153,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24940:52:1", + "src": "25631:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1375, - "id": 1397, + "functionReturnParameters": 867, + "id": 889, "nodeType": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ] }, "documentation": { - "id": 1365, + "id": 857, "nodeType": "StructuredDocumentation", - "src": "24402:175:1", + "src": "25082:180:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1399, + "id": 891, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1372, + "id": 864, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1367, + "id": 859, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24612:14:1", + "scope": 891, + "src": "25298:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11198,10 +11198,10 @@ "typeString": "address" }, "typeName": { - "id": 1366, + "id": 858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24612:7:1", + "src": "25298:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -11212,12 +11212,12 @@ }, { "constant": false, - "id": 1369, + "id": 861, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24628:17:1", + "scope": 891, + "src": "25314:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11225,10 +11225,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1368, + "id": 860, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24628:5:1", + "src": "25314:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11238,12 +11238,12 @@ }, { "constant": false, - "id": 1371, + "id": 863, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24647:26:1", + "scope": 891, + "src": "25333:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11251,10 +11251,10 @@ "typeString": "string" }, "typeName": { - "id": 1370, + "id": 862, "name": "string", "nodeType": "ElementaryTypeName", - "src": "24647:6:1", + "src": "25333:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11263,20 +11263,20 @@ "visibility": "internal" } ], - "src": "24611:63:1" + "src": "25297:63:0" }, "returnParameters": { - "id": 1375, + "id": 867, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1374, + "id": 866, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24693:12:1", + "scope": 891, + "src": "25379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11284,10 +11284,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1373, + "id": 865, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24693:5:1", + "src": "25379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11296,37 +11296,37 @@ "visibility": "internal" } ], - "src": "24692:14:1" + "src": "25378:14:0" }, - "scope": 1430, - "src": "24582:417:1", + "scope": 922, + "src": "25268:423:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1428, + "id": 920, "nodeType": "Block", - "src": "25134:596:1", + "src": "25828:613:0", "statements": [ { "condition": { - "id": 1410, + "id": 902, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1401, - "src": "25148:7:1", + "referencedDeclaration": 893, + "src": "25843:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1426, + "id": 918, "nodeType": "Block", - "src": "25205:519:1", + "src": "25902:532:0", "statements": [ { "condition": { @@ -11334,32 +11334,32 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1417, + "id": 909, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1414, + "id": 906, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25289:10:1", + "referencedDeclaration": 895, + "src": "25988:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1415, + "id": 907, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "25289:17:1", + "src": "25988:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11369,41 +11369,41 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1416, + "id": 908, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "25309:1:1", + "src": "26008:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "25289:21:1", + "src": "25988:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1424, + "id": 916, "nodeType": "Block", - "src": "25661:53:1", + "src": "26368:55:0", "statements": [ { "expression": { "arguments": [ { - "id": 1421, + "id": 913, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1405, - "src": "25686:12:1", + "referencedDeclaration": 897, + "src": "26394:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -11417,7 +11417,7 @@ "typeString": "string memory" } ], - "id": 1420, + "id": 912, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -11425,13 +11425,13 @@ 4294967277 ], "referencedDeclaration": 4294967277, - "src": "25679:6:1", + "src": "26387:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", "typeString": "function (string memory) pure" } }, - "id": 1422, + "id": 914, "isConstant": false, "isLValue": false, "isPure": false, @@ -11439,56 +11439,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "25679:20:1", + "src": "26387:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1423, + "id": 915, "nodeType": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ] }, - "id": 1425, + "id": 917, "nodeType": "IfStatement", - "src": "25285:429:1", + "src": "25984:439:0", "trueBody": { - "id": 1419, + "id": 911, "nodeType": "Block", - "src": "25312:343:1", + "src": "26011:351:0", "statements": [ { "AST": { "nodeType": "YulBlock", - "src": "25496:145:1", + "src": "26199:148:0", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "25518:40:1", + "src": "26222:40:0", "value": { "arguments": [ { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25547:10:1" + "src": "26251:10:0" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "25541:5:1" + "src": "26245:5:0" }, "nodeType": "YulFunctionCall", - "src": "25541:17:1" + "src": "26245:17:0" }, "variables": [ { "name": "returndata_size", "nodeType": "YulTypedName", - "src": "25522:15:1", + "src": "26226:15:0", "type": "" } ] @@ -11501,118 +11501,118 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "25590:2:1", + "src": "26295:2:0", "type": "", "value": "32" }, { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25594:10:1" + "src": "26299:10:0" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "25586:3:1" + "src": "26291:3:0" }, "nodeType": "YulFunctionCall", - "src": "25586:19:1" + "src": "26291:19:0" }, { "name": "returndata_size", "nodeType": "YulIdentifier", - "src": "25607:15:1" + "src": "26312:15:0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "25579:6:1" + "src": "26284:6:0" }, "nodeType": "YulFunctionCall", - "src": "25579:44:1" + "src": "26284:44:0" }, "nodeType": "YulExpressionStatement", - "src": "25579:44:1" + "src": "26284:44:0" } ] }, "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], - "id": 1418, + "id": 910, "nodeType": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ] } } ] }, - "id": 1427, + "id": 919, "nodeType": "IfStatement", - "src": "25144:580:1", + "src": "25839:595:0", "trueBody": { - "id": 1413, + "id": 905, "nodeType": "Block", - "src": "25157:42:1", + "src": "25852:44:0", "statements": [ { "expression": { - "id": 1411, + "id": 903, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25178:10:1", + "referencedDeclaration": 895, + "src": "25874:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1409, - "id": 1412, + "functionReturnParameters": 901, + "id": 904, "nodeType": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ] } } ] }, - "id": 1429, + "id": 921, "implemented": true, "kind": "function", "modifiers": [], "name": "_verifyCallResult", "nodeType": "FunctionDefinition", "parameters": { - "id": 1406, + "id": 898, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1401, + "id": 893, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25032:12:1", + "scope": 921, + "src": "25726:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11620,10 +11620,10 @@ "typeString": "bool" }, "typeName": { - "id": 1400, + "id": 892, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "25032:4:1", + "src": "25726:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11633,12 +11633,12 @@ }, { "constant": false, - "id": 1403, + "id": 895, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25046:23:1", + "scope": 921, + "src": "25740:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11646,10 +11646,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1402, + "id": 894, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25046:5:1", + "src": "25740:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11659,12 +11659,12 @@ }, { "constant": false, - "id": 1405, + "id": 897, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25071:26:1", + "scope": 921, + "src": "25765:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11672,10 +11672,10 @@ "typeString": "string" }, "typeName": { - "id": 1404, + "id": 896, "name": "string", "nodeType": "ElementaryTypeName", - "src": "25071:6:1", + "src": "25765:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11684,20 +11684,20 @@ "visibility": "internal" } ], - "src": "25031:67:1" + "src": "25725:67:0" }, "returnParameters": { - "id": 1409, + "id": 901, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1408, + "id": 900, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25120:12:1", + "scope": 921, + "src": "25814:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11705,10 +11705,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1407, + "id": 899, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25120:5:1", + "src": "25814:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11717,20 +11717,20 @@ "visibility": "internal" } ], - "src": "25119:14:1" + "src": "25813:14:0" }, - "scope": 1430, - "src": "25005:725:1", + "scope": 922, + "src": "25699:742:0", "stateMutability": "pure", "virtual": false, "visibility": "private" } ], - "scope": 3499, - "src": "18048:7684:1" + "scope": 2991, + "src": "18579:7865:0" }, { - "id": 1431, + "id": 923, "literals": [ "solidity", ">=", @@ -11741,7 +11741,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "abstract": false, @@ -11749,31 +11749,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1432, + "id": 924, "nodeType": "StructuredDocumentation", - "src": "25824:686:1", + "src": "26541:709:0", "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, "fullyImplemented": true, - "id": 1921, + "id": 1413, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableSet.Set", - "id": 1440, + "id": 932, "members": [ { "constant": false, - "id": 1435, + "id": 927, "mutability": "mutable", "name": "_values", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27033:17:1", + "scope": 932, + "src": "27786:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11782,18 +11782,18 @@ }, "typeName": { "baseType": { - "id": 1433, + "id": 925, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27033:7:1", + "src": "27786:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1434, + "id": 926, "nodeType": "ArrayTypeName", - "src": "27033:9:1", + "src": "27786:9:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", "typeString": "bytes32[]" @@ -11803,12 +11803,12 @@ }, { "constant": false, - "id": 1439, + "id": 931, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27184:37:1", + "scope": 932, + "src": "27941:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11816,28 +11816,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1438, + "id": 930, "keyType": { - "id": 1436, + "id": 928, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27193:7:1", + "src": "27950:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "27184:28:1", + "src": "27941:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1437, + "id": 929, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "27204:7:1", + "src": "27961:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11849,19 +11849,19 @@ ], "name": "Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "26979:249:1", + "scope": 1413, + "src": "27730:256:0", "visibility": "public" }, { "body": { - "id": 1480, + "id": 972, "nodeType": "Block", - "src": "27467:335:1", + "src": "28233:345:0", "statements": [ { "condition": { - "id": 1454, + "id": 946, "isConstant": false, "isLValue": false, "isPure": false, @@ -11869,28 +11869,28 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "27481:22:1", + "src": "28248:22:0", "subExpression": { "arguments": [ { - "id": 1451, + "id": 943, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27492:3:1", + "referencedDeclaration": 935, + "src": "28259:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, { - "id": 1452, + "id": 944, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27497:5:1", + "referencedDeclaration": 937, + "src": "28264:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11900,7 +11900,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -11908,18 +11908,18 @@ "typeString": "bytes32" } ], - "id": 1450, + "id": 942, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "27482:9:1", + "referencedDeclaration": 1071, + "src": "28249:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1453, + "id": 945, "isConstant": false, "isLValue": false, "isPure": false, @@ -11927,7 +11927,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27482:21:1", + "src": "28249:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -11940,52 +11940,52 @@ } }, "falseBody": { - "id": 1478, + "id": 970, "nodeType": "Block", - "src": "27759:37:1", + "src": "28532:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1476, + "id": 968, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27780:5:1", + "src": "28554:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1449, - "id": 1477, + "functionReturnParameters": 941, + "id": 969, "nodeType": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ] }, - "id": 1479, + "id": 971, "nodeType": "IfStatement", - "src": "27477:319:1", + "src": "28244:327:0", "trueBody": { - "id": 1475, + "id": 967, "nodeType": "Block", - "src": "27505:248:1", + "src": "28272:254:0", "statements": [ { "expression": { "arguments": [ { - "id": 1460, + "id": 952, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27536:5:1", + "referencedDeclaration": 937, + "src": "28304:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12001,45 +12001,45 @@ ], "expression": { "expression": { - "id": 1455, + "id": 947, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27519:3:1", + "referencedDeclaration": 935, + "src": "28287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1458, + "id": 950, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27519:11:1", + "referencedDeclaration": 927, + "src": "28287:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1459, + "id": 951, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "27519:16:1", + "src": "28287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_bytes32_$returns$__$", "typeString": "function (bytes32)" } }, - "id": 1461, + "id": 953, "isConstant": false, "isLValue": false, "isPure": false, @@ -12047,20 +12047,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27519:23:1", + "src": "28287:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1462, + "id": 954, "nodeType": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "expression": { - "id": 1471, + "id": 963, "isConstant": false, "isLValue": false, "isPure": false, @@ -12068,39 +12068,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1463, + "id": 955, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27677:3:1", + "referencedDeclaration": 935, + "src": "28448:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1466, + "id": 958, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "27677:12:1", + "referencedDeclaration": 931, + "src": "28448:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1467, + "id": 959, "indexExpression": { - "id": 1465, + "id": 957, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27690:5:1", + "referencedDeclaration": 937, + "src": "28461:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12111,7 +12111,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "27677:19:1", + "src": "28448:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12122,75 +12122,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1468, + "id": 960, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27699:3:1", + "referencedDeclaration": 935, + "src": "28470:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1469, + "id": 961, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27699:11:1", + "referencedDeclaration": 927, + "src": "28470:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1470, + "id": 962, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "27699:18:1", + "src": "28470:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "27677:40:1", + "src": "28448:40:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1472, + "id": 964, "nodeType": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "expression": { "hexValue": "74727565", - "id": 1473, + "id": 965, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27738:4:1", + "src": "28510:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1449, - "id": 1474, + "functionReturnParameters": 941, + "id": 966, "nodeType": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ] } @@ -12198,43 +12198,43 @@ ] }, "documentation": { - "id": 1441, + "id": 933, "nodeType": "StructuredDocumentation", - "src": "27234:159:1", + "src": "27994:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1481, + "id": 973, "implemented": true, "kind": "function", "modifiers": [], "name": "_add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1446, + "id": 938, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1443, + "id": 935, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27412:15:1", + "scope": 973, + "src": "28178:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1442, + "id": 934, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27412:3:1", + "referencedDeclaration": 932, + "src": "28178:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -12242,12 +12242,12 @@ }, { "constant": false, - "id": 1445, + "id": 937, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27429:13:1", + "scope": 973, + "src": "28195:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12255,10 +12255,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1444, + "id": 936, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27429:7:1", + "src": "28195:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12267,20 +12267,20 @@ "visibility": "internal" } ], - "src": "27411:32:1" + "src": "28177:32:0" }, "returnParameters": { - "id": 1449, + "id": 941, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1448, + "id": 940, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27461:4:1", + "scope": 973, + "src": "28227:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12288,10 +12288,10 @@ "typeString": "bool" }, "typeName": { - "id": 1447, + "id": 939, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "27461:4:1", + "src": "28227:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12300,33 +12300,33 @@ "visibility": "internal" } ], - "src": "27460:6:1" + "src": "28226:6:0" }, - "scope": 1921, - "src": "27398:404:1", + "scope": 1413, + "src": "28164:414:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1560, + "id": 1052, "nodeType": "Block", - "src": "28042:1440:1", + "src": "28826:1472:0", "statements": [ { "assignments": [ - 1492 + 984 ], "declarations": [ { "constant": false, - "id": 1492, + "id": 984, "mutability": "mutable", "name": "valueIndex", "nodeType": "VariableDeclaration", - "scope": 1560, - "src": "28152:18:1", + "scope": 1052, + "src": "28938:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12334,10 +12334,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1491, + "id": 983, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28152:7:1", + "src": "28938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12346,43 +12346,43 @@ "visibility": "internal" } ], - "id": 1497, + "id": 989, "initialValue": { "baseExpression": { "expression": { - "id": 1493, + "id": 985, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28173:3:1", + "referencedDeclaration": 976, + "src": "28959:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1494, + "id": 986, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "28173:12:1", + "referencedDeclaration": 931, + "src": "28959:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1496, + "id": 988, "indexExpression": { - "id": 1495, + "id": 987, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "28186:5:1", + "referencedDeclaration": 978, + "src": "28972:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12393,14 +12393,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28173:19:1", + "src": "28959:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "condition": { @@ -12408,18 +12408,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1500, + "id": 992, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1498, + "id": 990, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28207:10:1", + "referencedDeclaration": 984, + "src": "28995:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12429,76 +12429,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1499, + "id": 991, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28221:1:1", + "src": "29009:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "28207:15:1", + "src": "28995:15:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1558, + "id": 1050, "nodeType": "Block", - "src": "29439:37:1", + "src": "30252:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1556, + "id": 1048, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29460:5:1", + "src": "30274:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1490, - "id": 1557, + "functionReturnParameters": 982, + "id": 1049, "nodeType": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ] }, - "id": 1559, + "id": 1051, "nodeType": "IfStatement", - "src": "28203:1273:1", + "src": "28991:1300:0", "trueBody": { - "id": 1555, + "id": 1047, "nodeType": "Block", - "src": "28224:1209:1", + "src": "29012:1234:0", "statements": [ { "assignments": [ - 1502 + 994 ], "declarations": [ { "constant": false, - "id": 1502, + "id": 994, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28564:21:1", + "scope": 1047, + "src": "29357:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12506,10 +12506,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1501, + "id": 993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28564:7:1", + "src": "29357:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12518,24 +12518,24 @@ "visibility": "internal" } ], - "id": 1506, + "id": 998, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1505, + "id": 997, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1503, + "id": 995, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28588:10:1", + "referencedDeclaration": 984, + "src": "29381:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12545,42 +12545,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1504, + "id": 996, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28601:1:1", + "src": "29394:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28588:14:1", + "src": "29381:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "assignments": [ - 1508 + 1000 ], "declarations": [ { "constant": false, - "id": 1508, + "id": 1000, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28616:17:1", + "scope": 1047, + "src": "29410:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12588,10 +12588,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1507, + "id": 999, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28616:7:1", + "src": "29410:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12600,13 +12600,13 @@ "visibility": "internal" } ], - "id": 1514, + "id": 1006, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1513, + "id": 1005, "isConstant": false, "isLValue": false, "isPure": false, @@ -12614,39 +12614,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1509, + "id": 1001, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28636:3:1", + "referencedDeclaration": 976, + "src": "29430:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1510, + "id": 1002, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28636:11:1", + "referencedDeclaration": 927, + "src": "29430:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1511, + "id": 1003, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "28636:18:1", + "src": "29430:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12656,42 +12656,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1512, + "id": 1004, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28657:1:1", + "src": "29451:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28636:22:1", + "src": "29430:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "assignments": [ - 1516 + 1008 ], "declarations": [ { "constant": false, - "id": 1516, + "id": 1008, "mutability": "mutable", "name": "lastvalue", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28898:17:1", + "scope": 1047, + "src": "29697:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12699,10 +12699,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1515, + "id": 1007, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28898:7:1", + "src": "29697:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12711,43 +12711,43 @@ "visibility": "internal" } ], - "id": 1521, + "id": 1013, "initialValue": { "baseExpression": { "expression": { - "id": 1517, + "id": 1009, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28918:3:1", + "referencedDeclaration": 976, + "src": "29717:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1518, + "id": 1010, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28918:11:1", + "referencedDeclaration": 927, + "src": "29717:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1520, + "id": 1012, "indexExpression": { - "id": 1519, + "id": 1011, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1508, - "src": "28930:9:1", + "referencedDeclaration": 1000, + "src": "29729:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12758,18 +12758,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28918:22:1", + "src": "29717:22:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "expression": { - "id": 1528, + "id": 1020, "isConstant": false, "isLValue": false, "isPure": false, @@ -12777,39 +12777,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1522, + "id": 1014, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29032:3:1", + "referencedDeclaration": 976, + "src": "29834:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1525, + "id": 1017, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29032:11:1", + "referencedDeclaration": 927, + "src": "29834:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1526, + "id": 1018, "indexExpression": { - "id": 1524, + "id": 1016, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29044:13:1", + "referencedDeclaration": 994, + "src": "29846:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12820,7 +12820,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29032:26:1", + "src": "29834:26:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12829,30 +12829,30 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1527, + "id": 1019, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29061:9:1", + "referencedDeclaration": 1008, + "src": "29863:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "29032:38:1", + "src": "29834:38:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1529, + "id": 1021, "nodeType": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "expression": { - "id": 1538, + "id": 1030, "isConstant": false, "isLValue": false, "isPure": false, @@ -12860,39 +12860,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1530, + "id": 1022, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29136:3:1", + "referencedDeclaration": 976, + "src": "29940:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1533, + "id": 1025, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29136:12:1", + "referencedDeclaration": 931, + "src": "29940:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1534, + "id": 1026, "indexExpression": { - "id": 1532, + "id": 1024, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29149:9:1", + "referencedDeclaration": 1008, + "src": "29953:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12903,7 +12903,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29136:23:1", + "src": "29940:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12916,18 +12916,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1537, + "id": 1029, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1535, + "id": 1027, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29162:13:1", + "referencedDeclaration": 994, + "src": "29966:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12937,35 +12937,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 1536, + "id": 1028, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29178:1:1", + "src": "29982:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "29162:17:1", + "src": "29966:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "29136:43:1", + "src": "29940:43:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1539, + "id": 1031, "nodeType": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "expression": { @@ -12974,45 +12974,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 1540, + "id": 1032, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29285:3:1", + "referencedDeclaration": 976, + "src": "30092:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1543, + "id": 1035, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29285:11:1", + "referencedDeclaration": 927, + "src": "30092:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1544, + "id": 1036, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "29285:15:1", + "src": "30092:15:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 1545, + "id": 1037, "isConstant": false, "isLValue": false, "isPure": false, @@ -13020,20 +13020,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "29285:17:1", + "src": "30092:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1546, + "id": 1038, "nodeType": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "expression": { - "id": 1551, + "id": 1043, "isConstant": false, "isLValue": false, "isPure": false, @@ -13041,43 +13041,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "29370:26:1", + "src": "30180:26:0", "subExpression": { "baseExpression": { "expression": { - "id": 1547, + "id": 1039, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29377:3:1", + "referencedDeclaration": 976, + "src": "30187:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1548, + "id": 1040, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29377:12:1", + "referencedDeclaration": 931, + "src": "30187:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1550, + "id": 1042, "indexExpression": { - "id": 1549, + "id": 1041, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "29390:5:1", + "referencedDeclaration": 978, + "src": "30200:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13088,7 +13088,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29377:19:1", + "src": "30187:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13099,31 +13099,31 @@ "typeString": "tuple()" } }, - "id": 1552, + "id": 1044, "nodeType": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "expression": { "hexValue": "74727565", - "id": 1553, + "id": 1045, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29418:4:1", + "src": "30230:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1490, - "id": 1554, + "functionReturnParameters": 982, + "id": 1046, "nodeType": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ] } @@ -13131,43 +13131,43 @@ ] }, "documentation": { - "id": 1482, + "id": 974, "nodeType": "StructuredDocumentation", - "src": "27808:157:1", + "src": "28586:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1561, + "id": 1053, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1487, + "id": 979, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1484, + "id": 976, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "27987:15:1", + "scope": 1053, + "src": "28771:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1483, + "id": 975, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27987:3:1", + "referencedDeclaration": 932, + "src": "28771:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13175,12 +13175,12 @@ }, { "constant": false, - "id": 1486, + "id": 978, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28004:13:1", + "scope": 1053, + "src": "28788:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13188,10 +13188,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1485, + "id": 977, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28004:7:1", + "src": "28788:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13200,20 +13200,20 @@ "visibility": "internal" } ], - "src": "27986:32:1" + "src": "28770:32:0" }, "returnParameters": { - "id": 1490, + "id": 982, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1489, + "id": 981, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28036:4:1", + "scope": 1053, + "src": "28820:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13221,10 +13221,10 @@ "typeString": "bool" }, "typeName": { - "id": 1488, + "id": 980, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "28036:4:1", + "src": "28820:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13233,19 +13233,19 @@ "visibility": "internal" } ], - "src": "28035:6:1" + "src": "28819:6:0" }, - "scope": 1921, - "src": "27970:1512:1", + "scope": 1413, + "src": "28754:1544:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1578, + "id": 1070, "nodeType": "Block", - "src": "29642:48:1", + "src": "30463:50:0", "statements": [ { "expression": { @@ -13253,7 +13253,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1576, + "id": 1068, "isConstant": false, "isLValue": false, "isPure": false, @@ -13261,39 +13261,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 1571, + "id": 1063, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1564, - "src": "29659:3:1", + "referencedDeclaration": 1056, + "src": "30481:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1572, + "id": 1064, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29659:12:1", + "referencedDeclaration": 931, + "src": "30481:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1574, + "id": 1066, "indexExpression": { - "id": 1573, + "id": 1065, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1566, - "src": "29672:5:1", + "referencedDeclaration": 1058, + "src": "30494:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13304,7 +13304,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "29659:19:1", + "src": "30481:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13314,71 +13314,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1575, + "id": 1067, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29682:1:1", + "src": "30504:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "29659:24:1", + "src": "30481:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1570, - "id": 1577, + "functionReturnParameters": 1062, + "id": 1069, "nodeType": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ] }, "documentation": { - "id": 1562, + "id": 1054, "nodeType": "StructuredDocumentation", - "src": "29488:70:1", + "src": "30306:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1579, + "id": 1071, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1567, + "id": 1059, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1564, + "id": 1056, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29582:15:1", + "scope": 1071, + "src": "30403:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1563, + "id": 1055, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29582:3:1", + "referencedDeclaration": 932, + "src": "30403:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13386,12 +13386,12 @@ }, { "constant": false, - "id": 1566, + "id": 1058, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29599:13:1", + "scope": 1071, + "src": "30420:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13399,10 +13399,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1565, + "id": 1057, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "29599:7:1", + "src": "30420:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13411,20 +13411,20 @@ "visibility": "internal" } ], - "src": "29581:32:1" + "src": "30402:32:0" }, "returnParameters": { - "id": 1570, + "id": 1062, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1569, + "id": 1061, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29636:4:1", + "scope": 1071, + "src": "30457:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13432,10 +13432,10 @@ "typeString": "bool" }, "typeName": { - "id": 1568, + "id": 1060, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "29636:4:1", + "src": "30457:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13444,127 +13444,127 @@ "visibility": "internal" } ], - "src": "29635:6:1" + "src": "30456:6:0" }, - "scope": 1921, - "src": "29563:127:1", + "scope": 1413, + "src": "30384:129:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1591, + "id": 1083, "nodeType": "Block", - "src": "29836:42:1", + "src": "30664:44:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 1587, + "id": 1079, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1582, - "src": "29853:3:1", + "referencedDeclaration": 1074, + "src": "30682:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1588, + "id": 1080, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29853:11:1", + "referencedDeclaration": 927, + "src": "30682:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1589, + "id": 1081, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "29853:18:1", + "src": "30682:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1586, - "id": 1590, + "functionReturnParameters": 1078, + "id": 1082, "nodeType": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ] }, "documentation": { - "id": 1580, + "id": 1072, "nodeType": "StructuredDocumentation", - "src": "29696:70:1", + "src": "30521:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1592, + "id": 1084, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1583, + "id": 1075, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1582, + "id": 1074, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29788:15:1", + "scope": 1084, + "src": "30616:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1581, + "id": 1073, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29788:3:1", + "referencedDeclaration": 932, + "src": "30616:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, "visibility": "internal" } ], - "src": "29787:17:1" + "src": "30615:17:0" }, "returnParameters": { - "id": 1586, + "id": 1078, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1585, + "id": 1077, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29827:7:1", + "scope": 1084, + "src": "30655:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13572,10 +13572,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1584, + "id": 1076, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "29827:7:1", + "src": "30655:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13584,19 +13584,19 @@ "visibility": "internal" } ], - "src": "29826:9:1" + "src": "30654:9:0" }, - "scope": 1921, - "src": "29771:107:1", + "scope": 1413, + "src": "30599:109:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1616, + "id": 1108, "nodeType": "Block", - "src": "30286:125:1", + "src": "31128:128:0", "statements": [ { "expression": { @@ -13606,7 +13606,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1607, + "id": 1099, "isConstant": false, "isLValue": false, "isPure": false, @@ -13614,39 +13614,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1603, + "id": 1095, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30304:3:1", + "referencedDeclaration": 1087, + "src": "31147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1604, + "id": 1096, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30304:11:1", + "referencedDeclaration": 927, + "src": "31147:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1605, + "id": 1097, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "30304:18:1", + "src": "31147:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13655,18 +13655,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 1606, + "id": 1098, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30325:5:1", + "referencedDeclaration": 1089, + "src": "31168:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "30304:26:1", + "src": "31147:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13674,14 +13674,14 @@ }, { "hexValue": "456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473", - "id": 1608, + "id": 1100, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "30332:36:1", + "src": "31175:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_045d6834e6193a687012a3ad777f612279e549b6945364d9d2324f48610d3cbb", "typeString": "literal_string \"EnumerableSet: index out of bounds\"" @@ -13700,7 +13700,7 @@ "typeString": "literal_string \"EnumerableSet: index out of bounds\"" } ], - "id": 1602, + "id": 1094, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -13708,13 +13708,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "30296:7:1", + "src": "31139:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1609, + "id": 1101, "isConstant": false, "isLValue": false, "isPure": false, @@ -13722,54 +13722,54 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30296:73:1", + "src": "31139:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1610, + "id": 1102, "nodeType": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "expression": { "baseExpression": { "expression": { - "id": 1611, + "id": 1103, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30386:3:1", + "referencedDeclaration": 1087, + "src": "31230:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1612, + "id": 1104, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30386:11:1", + "referencedDeclaration": 927, + "src": "31230:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1614, + "id": 1106, "indexExpression": { - "id": 1613, + "id": 1105, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30398:5:1", + "referencedDeclaration": 1089, + "src": "31242:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13780,57 +13780,57 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "30386:18:1", + "src": "31230:18:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1601, - "id": 1615, + "functionReturnParameters": 1093, + "id": 1107, "nodeType": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ] }, "documentation": { - "id": 1593, + "id": 1085, "nodeType": "StructuredDocumentation", - "src": "29883:322:1", + "src": "30715:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1617, + "id": 1109, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1598, + "id": 1090, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1595, + "id": 1087, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30223:15:1", + "scope": 1109, + "src": "31065:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1594, + "id": 1086, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30223:3:1", + "referencedDeclaration": 932, + "src": "31065:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13838,12 +13838,12 @@ }, { "constant": false, - "id": 1597, + "id": 1089, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30240:13:1", + "scope": 1109, + "src": "31082:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13851,10 +13851,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1596, + "id": 1088, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "30240:7:1", + "src": "31082:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13863,20 +13863,20 @@ "visibility": "internal" } ], - "src": "30222:32:1" + "src": "31064:32:0" }, "returnParameters": { - "id": 1601, + "id": 1093, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1600, + "id": 1092, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30277:7:1", + "scope": 1109, + "src": "31119:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13884,10 +13884,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1599, + "id": 1091, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30277:7:1", + "src": "31119:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13896,40 +13896,40 @@ "visibility": "internal" } ], - "src": "30276:9:1" + "src": "31118:9:0" }, - "scope": 1921, - "src": "30210:201:1", + "scope": 1413, + "src": "31052:204:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableSet.Bytes32Set", - "id": 1620, + "id": 1112, "members": [ { "constant": false, - "id": 1619, + "id": 1111, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1620, - "src": "30464:10:1", + "scope": 1112, + "src": "31314:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1618, + "id": 1110, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30464:3:1", + "referencedDeclaration": 932, + "src": "31314:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13938,53 +13938,53 @@ ], "name": "Bytes32Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "30436:45:1", + "scope": 1413, + "src": "31285:47:0", "visibility": "public" }, { "body": { - "id": 1636, + "id": 1128, "nodeType": "Block", - "src": "30727:47:1", + "src": "31586:49:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1631, + "id": 1123, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1623, - "src": "30749:3:1", + "referencedDeclaration": 1115, + "src": "31609:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1632, + "id": 1124, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "30749:10:1", + "referencedDeclaration": 1111, + "src": "31609:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1633, + "id": 1125, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "30761:5:1", + "referencedDeclaration": 1117, + "src": "31621:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13994,7 +13994,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14002,18 +14002,18 @@ "typeString": "bytes32" } ], - "id": 1630, + "id": 1122, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "30744:4:1", + "referencedDeclaration": 973, + "src": "31604:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1634, + "id": 1126, "isConstant": false, "isLValue": false, "isPure": false, @@ -14021,58 +14021,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30744:23:1", + "src": "31604:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1629, - "id": 1635, + "functionReturnParameters": 1121, + "id": 1127, "nodeType": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ] }, "documentation": { - "id": 1621, + "id": 1113, "nodeType": "StructuredDocumentation", - "src": "30487:159:1", + "src": "31340:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1637, + "id": 1129, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1626, + "id": 1118, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1623, + "id": 1115, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30664:22:1", + "scope": 1129, + "src": "31523:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1622, + "id": 1114, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30664:10:1", + "referencedDeclaration": 1112, + "src": "31523:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14080,12 +14080,12 @@ }, { "constant": false, - "id": 1625, + "id": 1117, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30688:13:1", + "scope": 1129, + "src": "31547:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14093,10 +14093,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1624, + "id": 1116, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30688:7:1", + "src": "31547:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14105,20 +14105,20 @@ "visibility": "internal" } ], - "src": "30663:39:1" + "src": "31522:39:0" }, "returnParameters": { - "id": 1629, + "id": 1121, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1628, + "id": 1120, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30721:4:1", + "scope": 1129, + "src": "31580:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14126,10 +14126,10 @@ "typeString": "bool" }, "typeName": { - "id": 1627, + "id": 1119, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "30721:4:1", + "src": "31580:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14138,57 +14138,57 @@ "visibility": "internal" } ], - "src": "30720:6:1" + "src": "31579:6:0" }, - "scope": 1921, - "src": "30651:123:1", + "scope": 1413, + "src": "31510:125:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1653, + "id": 1145, "nodeType": "Block", - "src": "31021:50:1", + "src": "31890:52:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1648, + "id": 1140, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1640, - "src": "31046:3:1", + "referencedDeclaration": 1132, + "src": "31916:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1649, + "id": 1141, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31046:10:1", + "referencedDeclaration": 1111, + "src": "31916:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1650, + "id": 1142, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1642, - "src": "31058:5:1", + "referencedDeclaration": 1134, + "src": "31928:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14198,7 +14198,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14206,18 +14206,18 @@ "typeString": "bytes32" } ], - "id": 1647, + "id": 1139, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "31038:7:1", + "referencedDeclaration": 1053, + "src": "31908:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1651, + "id": 1143, "isConstant": false, "isLValue": false, "isPure": false, @@ -14225,58 +14225,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31038:26:1", + "src": "31908:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1646, - "id": 1652, + "functionReturnParameters": 1138, + "id": 1144, "nodeType": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ] }, "documentation": { - "id": 1638, + "id": 1130, "nodeType": "StructuredDocumentation", - "src": "30780:157:1", + "src": "31643:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1654, + "id": 1146, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1643, + "id": 1135, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1640, + "id": 1132, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30958:22:1", + "scope": 1146, + "src": "31827:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1639, + "id": 1131, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30958:10:1", + "referencedDeclaration": 1112, + "src": "31827:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14284,12 +14284,12 @@ }, { "constant": false, - "id": 1642, + "id": 1134, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30982:13:1", + "scope": 1146, + "src": "31851:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14297,10 +14297,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1641, + "id": 1133, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30982:7:1", + "src": "31851:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14309,20 +14309,20 @@ "visibility": "internal" } ], - "src": "30957:39:1" + "src": "31826:39:0" }, "returnParameters": { - "id": 1646, + "id": 1138, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1645, + "id": 1137, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "31015:4:1", + "scope": 1146, + "src": "31884:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14330,10 +14330,10 @@ "typeString": "bool" }, "typeName": { - "id": 1644, + "id": 1136, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31015:4:1", + "src": "31884:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14342,57 +14342,57 @@ "visibility": "internal" } ], - "src": "31014:6:1" + "src": "31883:6:0" }, - "scope": 1921, - "src": "30942:129:1", + "scope": 1413, + "src": "31811:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1670, + "id": 1162, "nodeType": "Block", - "src": "31238:52:1", + "src": "32114:54:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1665, + "id": 1157, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "31265:3:1", + "referencedDeclaration": 1149, + "src": "32142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1666, + "id": 1158, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31265:10:1", + "referencedDeclaration": 1111, + "src": "32142:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1667, + "id": 1159, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1659, - "src": "31277:5:1", + "referencedDeclaration": 1151, + "src": "32154:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14402,7 +14402,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14410,18 +14410,18 @@ "typeString": "bytes32" } ], - "id": 1664, + "id": 1156, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "31255:9:1", + "referencedDeclaration": 1071, + "src": "32132:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1668, + "id": 1160, "isConstant": false, "isLValue": false, "isPure": false, @@ -14429,58 +14429,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31255:28:1", + "src": "32132:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1663, - "id": 1669, + "functionReturnParameters": 1155, + "id": 1161, "nodeType": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ] }, "documentation": { - "id": 1655, + "id": 1147, "nodeType": "StructuredDocumentation", - "src": "31077:70:1", + "src": "31950:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1671, + "id": 1163, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1660, + "id": 1152, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1657, + "id": 1149, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31170:22:1", + "scope": 1163, + "src": "32046:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1656, + "id": 1148, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31170:10:1", + "referencedDeclaration": 1112, + "src": "32046:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14488,12 +14488,12 @@ }, { "constant": false, - "id": 1659, + "id": 1151, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31194:13:1", + "scope": 1163, + "src": "32070:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14501,10 +14501,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1658, + "id": 1150, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31194:7:1", + "src": "32070:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14513,20 +14513,20 @@ "visibility": "internal" } ], - "src": "31169:39:1" + "src": "32045:39:0" }, "returnParameters": { - "id": 1663, + "id": 1155, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1662, + "id": 1154, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31232:4:1", + "scope": 1163, + "src": "32108:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14534,10 +14534,10 @@ "typeString": "bool" }, "typeName": { - "id": 1661, + "id": 1153, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31232:4:1", + "src": "32108:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14546,47 +14546,47 @@ "visibility": "internal" } ], - "src": "31231:6:1" + "src": "32107:6:0" }, - "scope": 1921, - "src": "31152:138:1", + "scope": 1413, + "src": "32028:140:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1684, + "id": 1176, "nodeType": "Block", - "src": "31443:43:1", + "src": "32326:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1680, + "id": 1172, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "31468:3:1", + "referencedDeclaration": 1166, + "src": "32352:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1681, + "id": 1173, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31468:10:1", + "referencedDeclaration": 1111, + "src": "32352:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -14594,22 +14594,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1679, + "id": 1171, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "31460:7:1", + "referencedDeclaration": 1084, + "src": "32344:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1682, + "id": 1174, "isConstant": false, "isLValue": false, "isPure": false, @@ -14617,78 +14617,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31460:19:1", + "src": "32344:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1678, - "id": 1683, + "functionReturnParameters": 1170, + "id": 1175, "nodeType": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ] }, "documentation": { - "id": 1672, + "id": 1164, "nodeType": "StructuredDocumentation", - "src": "31296:70:1", + "src": "32176:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1685, + "id": 1177, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1675, + "id": 1167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1674, + "id": 1166, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31387:22:1", + "scope": 1177, + "src": "32270:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1673, + "id": 1165, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31387:10:1", + "referencedDeclaration": 1112, + "src": "32270:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, "visibility": "internal" } ], - "src": "31386:24:1" + "src": "32269:24:0" }, "returnParameters": { - "id": 1678, + "id": 1170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1677, + "id": 1169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31434:7:1", + "scope": 1177, + "src": "32317:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14696,10 +14696,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1676, + "id": 1168, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31434:7:1", + "src": "32317:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14708,57 +14708,57 @@ "visibility": "internal" } ], - "src": "31433:9:1" + "src": "32316:9:0" }, - "scope": 1921, - "src": "31371:115:1", + "scope": 1413, + "src": "32254:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1701, + "id": 1193, "nodeType": "Block", - "src": "31901:46:1", + "src": "32798:48:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1696, + "id": 1188, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1688, - "src": "31922:3:1", + "referencedDeclaration": 1180, + "src": "32820:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1697, + "id": 1189, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31922:10:1", + "referencedDeclaration": 1111, + "src": "32820:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1698, + "id": 1190, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "31934:5:1", + "referencedDeclaration": 1182, + "src": "32832:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14768,7 +14768,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14776,18 +14776,18 @@ "typeString": "uint256" } ], - "id": 1695, + "id": 1187, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "31918:3:1", + "referencedDeclaration": 1109, + "src": "32816:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1699, + "id": 1191, "isConstant": false, "isLValue": false, "isPure": false, @@ -14795,58 +14795,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31918:22:1", + "src": "32816:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1694, - "id": 1700, + "functionReturnParameters": 1186, + "id": 1192, "nodeType": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ] }, "documentation": { - "id": 1686, + "id": 1178, "nodeType": "StructuredDocumentation", - "src": "31491:322:1", + "src": "32378:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1702, + "id": 1194, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1691, + "id": 1183, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1688, + "id": 1180, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31830:22:1", + "scope": 1194, + "src": "32727:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1687, + "id": 1179, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31830:10:1", + "referencedDeclaration": 1112, + "src": "32727:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14854,12 +14854,12 @@ }, { "constant": false, - "id": 1690, + "id": 1182, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31854:13:1", + "scope": 1194, + "src": "32751:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14867,10 +14867,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1689, + "id": 1181, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31854:7:1", + "src": "32751:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14879,20 +14879,20 @@ "visibility": "internal" } ], - "src": "31829:39:1" + "src": "32726:39:0" }, "returnParameters": { - "id": 1694, + "id": 1186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1693, + "id": 1185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31892:7:1", + "scope": 1194, + "src": "32789:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14900,10 +14900,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1692, + "id": 1184, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31892:7:1", + "src": "32789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14912,40 +14912,40 @@ "visibility": "internal" } ], - "src": "31891:9:1" + "src": "32788:9:0" }, - "scope": 1921, - "src": "31818:129:1", + "scope": 1413, + "src": "32715:131:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.AddressSet", - "id": 1705, + "id": 1197, "members": [ { "constant": false, - "id": 1704, + "id": 1196, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1705, - "src": "32000:10:1", + "scope": 1197, + "src": "32904:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1703, + "id": 1195, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "32000:3:1", + "referencedDeclaration": 932, + "src": "32904:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -14954,43 +14954,43 @@ ], "name": "AddressSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "31972:45:1", + "scope": 1413, + "src": "32875:47:0", "visibility": "public" }, { "body": { - "id": 1730, + "id": 1222, "nodeType": "Block", - "src": "32263:74:1", + "src": "33176:76:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1716, + "id": 1208, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1708, - "src": "32285:3:1", + "referencedDeclaration": 1200, + "src": "33199:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1717, + "id": 1209, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32285:10:1", + "referencedDeclaration": 1196, + "src": "33199:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15001,12 +15001,12 @@ { "arguments": [ { - "id": 1724, + "id": 1216, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1710, - "src": "32321:5:1", + "referencedDeclaration": 1202, + "src": "33235:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15020,26 +15020,26 @@ "typeString": "address" } ], - "id": 1723, + "id": 1215, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1722, + "id": 1214, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": {} } }, - "id": 1725, + "id": 1217, "isConstant": false, "isLValue": false, "isPure": false, @@ -15047,7 +15047,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32313:14:1", + "src": "33227:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15062,26 +15062,26 @@ "typeString": "uint160" } ], - "id": 1721, + "id": 1213, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1720, + "id": 1212, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": {} } }, - "id": 1726, + "id": 1218, "isConstant": false, "isLValue": false, "isPure": false, @@ -15089,7 +15089,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32305:23:1", + "src": "33219:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15104,26 +15104,26 @@ "typeString": "uint256" } ], - "id": 1719, + "id": 1211, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1718, + "id": 1210, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": {} } }, - "id": 1727, + "id": 1219, "isConstant": false, "isLValue": false, "isPure": false, @@ -15131,7 +15131,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32297:32:1", + "src": "33211:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15142,7 +15142,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15150,18 +15150,18 @@ "typeString": "bytes32" } ], - "id": 1715, + "id": 1207, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "32280:4:1", + "referencedDeclaration": 973, + "src": "33194:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1728, + "id": 1220, "isConstant": false, "isLValue": false, "isPure": false, @@ -15169,58 +15169,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32280:50:1", + "src": "33194:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1714, - "id": 1729, + "functionReturnParameters": 1206, + "id": 1221, "nodeType": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ] }, "documentation": { - "id": 1706, + "id": 1198, "nodeType": "StructuredDocumentation", - "src": "32023:159:1", + "src": "32930:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1731, + "id": 1223, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1711, + "id": 1203, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1708, + "id": 1200, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32200:22:1", + "scope": 1223, + "src": "33113:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1707, + "id": 1199, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32200:10:1", + "referencedDeclaration": 1197, + "src": "33113:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15228,12 +15228,12 @@ }, { "constant": false, - "id": 1710, + "id": 1202, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32224:13:1", + "scope": 1223, + "src": "33137:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15241,10 +15241,10 @@ "typeString": "address" }, "typeName": { - "id": 1709, + "id": 1201, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32224:7:1", + "src": "33137:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15254,20 +15254,20 @@ "visibility": "internal" } ], - "src": "32199:39:1" + "src": "33112:39:0" }, "returnParameters": { - "id": 1714, + "id": 1206, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1713, + "id": 1205, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32257:4:1", + "scope": 1223, + "src": "33170:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15275,10 +15275,10 @@ "typeString": "bool" }, "typeName": { - "id": 1712, + "id": 1204, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32257:4:1", + "src": "33170:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15287,47 +15287,47 @@ "visibility": "internal" } ], - "src": "32256:6:1" + "src": "33169:6:0" }, - "scope": 1921, - "src": "32187:150:1", + "scope": 1413, + "src": "33100:152:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1756, + "id": 1248, "nodeType": "Block", - "src": "32584:77:1", + "src": "33507:79:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1742, + "id": 1234, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1734, - "src": "32609:3:1", + "referencedDeclaration": 1226, + "src": "33533:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1743, + "id": 1235, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32609:10:1", + "referencedDeclaration": 1196, + "src": "33533:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15338,12 +15338,12 @@ { "arguments": [ { - "id": 1750, + "id": 1242, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1736, - "src": "32645:5:1", + "referencedDeclaration": 1228, + "src": "33569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15357,26 +15357,26 @@ "typeString": "address" } ], - "id": 1749, + "id": 1241, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1748, + "id": 1240, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": {} } }, - "id": 1751, + "id": 1243, "isConstant": false, "isLValue": false, "isPure": false, @@ -15384,7 +15384,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32637:14:1", + "src": "33561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15399,26 +15399,26 @@ "typeString": "uint160" } ], - "id": 1747, + "id": 1239, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1746, + "id": 1238, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": {} } }, - "id": 1752, + "id": 1244, "isConstant": false, "isLValue": false, "isPure": false, @@ -15426,7 +15426,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32629:23:1", + "src": "33553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15441,26 +15441,26 @@ "typeString": "uint256" } ], - "id": 1745, + "id": 1237, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1744, + "id": 1236, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": {} } }, - "id": 1753, + "id": 1245, "isConstant": false, "isLValue": false, "isPure": false, @@ -15468,7 +15468,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32621:32:1", + "src": "33545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15479,7 +15479,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15487,18 +15487,18 @@ "typeString": "bytes32" } ], - "id": 1741, + "id": 1233, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "32601:7:1", + "referencedDeclaration": 1053, + "src": "33525:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1754, + "id": 1246, "isConstant": false, "isLValue": false, "isPure": false, @@ -15506,58 +15506,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32601:53:1", + "src": "33525:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1740, - "id": 1755, + "functionReturnParameters": 1232, + "id": 1247, "nodeType": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ] }, "documentation": { - "id": 1732, + "id": 1224, "nodeType": "StructuredDocumentation", - "src": "32343:157:1", + "src": "33260:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1757, + "id": 1249, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1737, + "id": 1229, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1734, + "id": 1226, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32521:22:1", + "scope": 1249, + "src": "33444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1733, + "id": 1225, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32521:10:1", + "referencedDeclaration": 1197, + "src": "33444:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15565,12 +15565,12 @@ }, { "constant": false, - "id": 1736, + "id": 1228, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32545:13:1", + "scope": 1249, + "src": "33468:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15578,10 +15578,10 @@ "typeString": "address" }, "typeName": { - "id": 1735, + "id": 1227, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32545:7:1", + "src": "33468:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15591,20 +15591,20 @@ "visibility": "internal" } ], - "src": "32520:39:1" + "src": "33443:39:0" }, "returnParameters": { - "id": 1740, + "id": 1232, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1739, + "id": 1231, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32578:4:1", + "scope": 1249, + "src": "33501:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15612,10 +15612,10 @@ "typeString": "bool" }, "typeName": { - "id": 1738, + "id": 1230, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32578:4:1", + "src": "33501:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15624,47 +15624,47 @@ "visibility": "internal" } ], - "src": "32577:6:1" + "src": "33500:6:0" }, - "scope": 1921, - "src": "32505:156:1", + "scope": 1413, + "src": "33428:158:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1782, + "id": 1274, "nodeType": "Block", - "src": "32828:79:1", + "src": "33758:81:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1768, + "id": 1260, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1760, - "src": "32855:3:1", + "referencedDeclaration": 1252, + "src": "33786:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1769, + "id": 1261, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32855:10:1", + "referencedDeclaration": 1196, + "src": "33786:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15675,12 +15675,12 @@ { "arguments": [ { - "id": 1776, + "id": 1268, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1762, - "src": "32891:5:1", + "referencedDeclaration": 1254, + "src": "33822:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15694,26 +15694,26 @@ "typeString": "address" } ], - "id": 1775, + "id": 1267, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1774, + "id": 1266, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": {} } }, - "id": 1777, + "id": 1269, "isConstant": false, "isLValue": false, "isPure": false, @@ -15721,7 +15721,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32883:14:1", + "src": "33814:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15736,26 +15736,26 @@ "typeString": "uint160" } ], - "id": 1773, + "id": 1265, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1772, + "id": 1264, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": {} } }, - "id": 1778, + "id": 1270, "isConstant": false, "isLValue": false, "isPure": false, @@ -15763,7 +15763,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32875:23:1", + "src": "33806:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15778,26 +15778,26 @@ "typeString": "uint256" } ], - "id": 1771, + "id": 1263, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1770, + "id": 1262, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": {} } }, - "id": 1779, + "id": 1271, "isConstant": false, "isLValue": false, "isPure": false, @@ -15805,7 +15805,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32867:32:1", + "src": "33798:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15816,7 +15816,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15824,18 +15824,18 @@ "typeString": "bytes32" } ], - "id": 1767, + "id": 1259, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "32845:9:1", + "referencedDeclaration": 1071, + "src": "33776:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1780, + "id": 1272, "isConstant": false, "isLValue": false, "isPure": false, @@ -15843,58 +15843,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32845:55:1", + "src": "33776:55:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1766, - "id": 1781, + "functionReturnParameters": 1258, + "id": 1273, "nodeType": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ] }, "documentation": { - "id": 1758, + "id": 1250, "nodeType": "StructuredDocumentation", - "src": "32667:70:1", + "src": "33594:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1783, + "id": 1275, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1763, + "id": 1255, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1760, + "id": 1252, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32760:22:1", + "scope": 1275, + "src": "33690:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1759, + "id": 1251, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32760:10:1", + "referencedDeclaration": 1197, + "src": "33690:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15902,12 +15902,12 @@ }, { "constant": false, - "id": 1762, + "id": 1254, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32784:13:1", + "scope": 1275, + "src": "33714:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15915,10 +15915,10 @@ "typeString": "address" }, "typeName": { - "id": 1761, + "id": 1253, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32784:7:1", + "src": "33714:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15928,20 +15928,20 @@ "visibility": "internal" } ], - "src": "32759:39:1" + "src": "33689:39:0" }, "returnParameters": { - "id": 1766, + "id": 1258, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1765, + "id": 1257, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32822:4:1", + "scope": 1275, + "src": "33752:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15949,10 +15949,10 @@ "typeString": "bool" }, "typeName": { - "id": 1764, + "id": 1256, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32822:4:1", + "src": "33752:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15961,47 +15961,47 @@ "visibility": "internal" } ], - "src": "32821:6:1" + "src": "33751:6:0" }, - "scope": 1921, - "src": "32742:165:1", + "scope": 1413, + "src": "33672:167:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1796, + "id": 1288, "nodeType": "Block", - "src": "33060:43:1", + "src": "33997:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1792, + "id": 1284, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1786, - "src": "33085:3:1", + "referencedDeclaration": 1278, + "src": "34023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1793, + "id": 1285, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33085:10:1", + "referencedDeclaration": 1196, + "src": "34023:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -16009,22 +16009,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1791, + "id": 1283, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "33077:7:1", + "referencedDeclaration": 1084, + "src": "34015:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1794, + "id": 1286, "isConstant": false, "isLValue": false, "isPure": false, @@ -16032,78 +16032,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33077:19:1", + "src": "34015:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1790, - "id": 1795, + "functionReturnParameters": 1282, + "id": 1287, "nodeType": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ] }, "documentation": { - "id": 1784, + "id": 1276, "nodeType": "StructuredDocumentation", - "src": "32913:70:1", + "src": "33847:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1797, + "id": 1289, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1787, + "id": 1279, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1786, + "id": 1278, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33004:22:1", + "scope": 1289, + "src": "33941:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1785, + "id": 1277, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33004:10:1", + "referencedDeclaration": 1197, + "src": "33941:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, "visibility": "internal" } ], - "src": "33003:24:1" + "src": "33940:24:0" }, "returnParameters": { - "id": 1790, + "id": 1282, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1789, + "id": 1281, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33051:7:1", + "scope": 1289, + "src": "33988:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16111,10 +16111,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1788, + "id": 1280, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33051:7:1", + "src": "33988:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16123,19 +16123,19 @@ "visibility": "internal" } ], - "src": "33050:9:1" + "src": "33987:9:0" }, - "scope": 1921, - "src": "32988:115:1", + "scope": 1413, + "src": "33925:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1822, + "id": 1314, "nodeType": "Block", - "src": "33518:73:1", + "src": "34469:75:0", "statements": [ { "expression": { @@ -16148,38 +16148,38 @@ "arguments": [ { "expression": { - "id": 1814, + "id": 1306, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1800, - "src": "33563:3:1", + "referencedDeclaration": 1292, + "src": "34515:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1815, + "id": 1307, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33563:10:1", + "referencedDeclaration": 1196, + "src": "34515:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1816, + "id": 1308, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1802, - "src": "33575:5:1", + "referencedDeclaration": 1294, + "src": "34527:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16189,7 +16189,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16197,18 +16197,18 @@ "typeString": "uint256" } ], - "id": 1813, + "id": 1305, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "33559:3:1", + "referencedDeclaration": 1109, + "src": "34511:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1817, + "id": 1309, "isConstant": false, "isLValue": false, "isPure": false, @@ -16216,7 +16216,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33559:22:1", + "src": "34511:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16231,26 +16231,26 @@ "typeString": "bytes32" } ], - "id": 1812, + "id": 1304, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1811, + "id": 1303, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": {} } }, - "id": 1818, + "id": 1310, "isConstant": false, "isLValue": false, "isPure": false, @@ -16258,7 +16258,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33551:31:1", + "src": "34503:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -16273,26 +16273,26 @@ "typeString": "uint256" } ], - "id": 1810, + "id": 1302, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1809, + "id": 1301, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": {} } }, - "id": 1819, + "id": 1311, "isConstant": false, "isLValue": false, "isPure": false, @@ -16300,7 +16300,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33543:40:1", + "src": "34495:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -16315,26 +16315,26 @@ "typeString": "uint160" } ], - "id": 1808, + "id": 1300, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1807, + "id": 1299, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": {} } }, - "id": 1820, + "id": 1312, "isConstant": false, "isLValue": false, "isPure": false, @@ -16342,58 +16342,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33535:49:1", + "src": "34487:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 1806, - "id": 1821, + "functionReturnParameters": 1298, + "id": 1313, "nodeType": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ] }, "documentation": { - "id": 1798, + "id": 1290, "nodeType": "StructuredDocumentation", - "src": "33108:322:1", + "src": "34049:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1823, + "id": 1315, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1803, + "id": 1295, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1800, + "id": 1292, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33447:22:1", + "scope": 1315, + "src": "34398:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1799, + "id": 1291, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33447:10:1", + "referencedDeclaration": 1197, + "src": "34398:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -16401,12 +16401,12 @@ }, { "constant": false, - "id": 1802, + "id": 1294, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33471:13:1", + "scope": 1315, + "src": "34422:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16414,10 +16414,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1801, + "id": 1293, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33471:7:1", + "src": "34422:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16426,20 +16426,20 @@ "visibility": "internal" } ], - "src": "33446:39:1" + "src": "34397:39:0" }, "returnParameters": { - "id": 1806, + "id": 1298, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1805, + "id": 1297, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33509:7:1", + "scope": 1315, + "src": "34460:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16447,10 +16447,10 @@ "typeString": "address" }, "typeName": { - "id": 1804, + "id": 1296, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33509:7:1", + "src": "34460:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16460,40 +16460,40 @@ "visibility": "internal" } ], - "src": "33508:9:1" + "src": "34459:9:0" }, - "scope": 1921, - "src": "33435:156:1", + "scope": 1413, + "src": "34386:158:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.UintSet", - "id": 1826, + "id": 1318, "members": [ { "constant": false, - "id": 1825, + "id": 1317, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1826, - "src": "33639:10:1", + "scope": 1318, + "src": "34598:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1824, + "id": 1316, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "33639:3:1", + "referencedDeclaration": 932, + "src": "34598:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -16502,55 +16502,55 @@ ], "name": "UintSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "33614:42:1", + "scope": 1413, + "src": "34572:44:0", "visibility": "public" }, { "body": { - "id": 1845, + "id": 1337, "nodeType": "Block", - "src": "33899:56:1", + "src": "34867:58:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1837, + "id": 1329, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1829, - "src": "33921:3:1", + "referencedDeclaration": 1321, + "src": "34890:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1838, + "id": 1330, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "33921:10:1", + "referencedDeclaration": 1317, + "src": "34890:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1841, + "id": 1333, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1831, - "src": "33941:5:1", + "referencedDeclaration": 1323, + "src": "34910:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16564,26 +16564,26 @@ "typeString": "uint256" } ], - "id": 1840, + "id": 1332, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1839, + "id": 1331, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": {} } }, - "id": 1842, + "id": 1334, "isConstant": false, "isLValue": false, "isPure": false, @@ -16591,7 +16591,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33933:14:1", + "src": "34902:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16602,7 +16602,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16610,18 +16610,18 @@ "typeString": "bytes32" } ], - "id": 1836, + "id": 1328, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "33916:4:1", + "referencedDeclaration": 973, + "src": "34885:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1843, + "id": 1335, "isConstant": false, "isLValue": false, "isPure": false, @@ -16629,58 +16629,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33916:32:1", + "src": "34885:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1835, - "id": 1844, + "functionReturnParameters": 1327, + "id": 1336, "nodeType": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ] }, "documentation": { - "id": 1827, + "id": 1319, "nodeType": "StructuredDocumentation", - "src": "33662:159:1", + "src": "34624:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1846, + "id": 1338, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1832, + "id": 1324, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1829, + "id": 1321, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33839:19:1", + "scope": 1338, + "src": "34807:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1828, + "id": 1320, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "33839:7:1", + "referencedDeclaration": 1318, + "src": "34807:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16688,12 +16688,12 @@ }, { "constant": false, - "id": 1831, + "id": 1323, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33860:13:1", + "scope": 1338, + "src": "34828:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16701,10 +16701,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1830, + "id": 1322, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33860:7:1", + "src": "34828:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16713,20 +16713,20 @@ "visibility": "internal" } ], - "src": "33838:36:1" + "src": "34806:36:0" }, "returnParameters": { - "id": 1835, + "id": 1327, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1834, + "id": 1326, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33893:4:1", + "scope": 1338, + "src": "34861:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16734,10 +16734,10 @@ "typeString": "bool" }, "typeName": { - "id": 1833, + "id": 1325, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "33893:4:1", + "src": "34861:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16746,59 +16746,59 @@ "visibility": "internal" } ], - "src": "33892:6:1" + "src": "34860:6:0" }, - "scope": 1921, - "src": "33826:129:1", + "scope": 1413, + "src": "34794:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1865, + "id": 1357, "nodeType": "Block", - "src": "34199:59:1", + "src": "35177:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1857, + "id": 1349, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1849, - "src": "34224:3:1", + "referencedDeclaration": 1341, + "src": "35203:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1858, + "id": 1350, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34224:10:1", + "referencedDeclaration": 1317, + "src": "35203:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1861, + "id": 1353, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1851, - "src": "34244:5:1", + "referencedDeclaration": 1343, + "src": "35223:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16812,26 +16812,26 @@ "typeString": "uint256" } ], - "id": 1860, + "id": 1352, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1859, + "id": 1351, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": {} } }, - "id": 1862, + "id": 1354, "isConstant": false, "isLValue": false, "isPure": false, @@ -16839,7 +16839,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34236:14:1", + "src": "35215:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16850,7 +16850,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16858,18 +16858,18 @@ "typeString": "bytes32" } ], - "id": 1856, + "id": 1348, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "34216:7:1", + "referencedDeclaration": 1053, + "src": "35195:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1863, + "id": 1355, "isConstant": false, "isLValue": false, "isPure": false, @@ -16877,58 +16877,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34216:35:1", + "src": "35195:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1855, - "id": 1864, + "functionReturnParameters": 1347, + "id": 1356, "nodeType": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ] }, "documentation": { - "id": 1847, + "id": 1339, "nodeType": "StructuredDocumentation", - "src": "33961:157:1", + "src": "34933:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1866, + "id": 1358, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1852, + "id": 1344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1849, + "id": 1341, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34139:19:1", + "scope": 1358, + "src": "35117:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1848, + "id": 1340, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34139:7:1", + "referencedDeclaration": 1318, + "src": "35117:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16936,12 +16936,12 @@ }, { "constant": false, - "id": 1851, + "id": 1343, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34160:13:1", + "scope": 1358, + "src": "35138:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16949,10 +16949,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1850, + "id": 1342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34160:7:1", + "src": "35138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16961,20 +16961,20 @@ "visibility": "internal" } ], - "src": "34138:36:1" + "src": "35116:36:0" }, "returnParameters": { - "id": 1855, + "id": 1347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1854, + "id": 1346, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34193:4:1", + "scope": 1358, + "src": "35171:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16982,10 +16982,10 @@ "typeString": "bool" }, "typeName": { - "id": 1853, + "id": 1345, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34193:4:1", + "src": "35171:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16994,59 +16994,59 @@ "visibility": "internal" } ], - "src": "34192:6:1" + "src": "35170:6:0" }, - "scope": 1921, - "src": "34123:135:1", + "scope": 1413, + "src": "35101:137:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1885, + "id": 1377, "nodeType": "Block", - "src": "34422:61:1", + "src": "35407:63:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1877, + "id": 1369, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1869, - "src": "34449:3:1", + "referencedDeclaration": 1361, + "src": "35435:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1878, + "id": 1370, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34449:10:1", + "referencedDeclaration": 1317, + "src": "35435:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1881, + "id": 1373, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1871, - "src": "34469:5:1", + "referencedDeclaration": 1363, + "src": "35455:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17060,26 +17060,26 @@ "typeString": "uint256" } ], - "id": 1880, + "id": 1372, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1879, + "id": 1371, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": {} } }, - "id": 1882, + "id": 1374, "isConstant": false, "isLValue": false, "isPure": false, @@ -17087,7 +17087,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34461:14:1", + "src": "35447:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -17098,7 +17098,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -17106,18 +17106,18 @@ "typeString": "bytes32" } ], - "id": 1876, + "id": 1368, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "34439:9:1", + "referencedDeclaration": 1071, + "src": "35425:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1883, + "id": 1375, "isConstant": false, "isLValue": false, "isPure": false, @@ -17125,58 +17125,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34439:37:1", + "src": "35425:37:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1875, - "id": 1884, + "functionReturnParameters": 1367, + "id": 1376, "nodeType": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ] }, "documentation": { - "id": 1867, + "id": 1359, "nodeType": "StructuredDocumentation", - "src": "34264:70:1", + "src": "35246:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1886, + "id": 1378, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1872, + "id": 1364, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1869, + "id": 1361, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34357:19:1", + "scope": 1378, + "src": "35342:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1868, + "id": 1360, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34357:7:1", + "referencedDeclaration": 1318, + "src": "35342:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -17184,12 +17184,12 @@ }, { "constant": false, - "id": 1871, + "id": 1363, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34378:13:1", + "scope": 1378, + "src": "35363:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17197,10 +17197,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1870, + "id": 1362, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34378:7:1", + "src": "35363:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17209,20 +17209,20 @@ "visibility": "internal" } ], - "src": "34356:36:1" + "src": "35341:36:0" }, "returnParameters": { - "id": 1875, + "id": 1367, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1874, + "id": 1366, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34416:4:1", + "scope": 1378, + "src": "35401:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17230,10 +17230,10 @@ "typeString": "bool" }, "typeName": { - "id": 1873, + "id": 1365, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34416:4:1", + "src": "35401:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -17242,47 +17242,47 @@ "visibility": "internal" } ], - "src": "34415:6:1" + "src": "35400:6:0" }, - "scope": 1921, - "src": "34339:144:1", + "scope": 1413, + "src": "35324:146:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1899, + "id": 1391, "nodeType": "Block", - "src": "34633:43:1", + "src": "35625:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1895, + "id": 1387, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1889, - "src": "34658:3:1", + "referencedDeclaration": 1381, + "src": "35651:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1896, + "id": 1388, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34658:10:1", + "referencedDeclaration": 1317, + "src": "35651:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -17290,22 +17290,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1894, + "id": 1386, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "34650:7:1", + "referencedDeclaration": 1084, + "src": "35643:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1897, + "id": 1389, "isConstant": false, "isLValue": false, "isPure": false, @@ -17313,78 +17313,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34650:19:1", + "src": "35643:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1893, - "id": 1898, + "functionReturnParameters": 1385, + "id": 1390, "nodeType": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ] }, "documentation": { - "id": 1887, + "id": 1379, "nodeType": "StructuredDocumentation", - "src": "34489:70:1", + "src": "35478:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1900, + "id": 1392, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1890, + "id": 1382, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1889, + "id": 1381, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34580:19:1", + "scope": 1392, + "src": "35572:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1888, + "id": 1380, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34580:7:1", + "referencedDeclaration": 1318, + "src": "35572:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, "visibility": "internal" } ], - "src": "34579:21:1" + "src": "35571:21:0" }, "returnParameters": { - "id": 1893, + "id": 1385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1892, + "id": 1384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34624:7:1", + "scope": 1392, + "src": "35616:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17392,10 +17392,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1891, + "id": 1383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34624:7:1", + "src": "35616:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17404,19 +17404,19 @@ "visibility": "internal" } ], - "src": "34623:9:1" + "src": "35615:9:0" }, - "scope": 1921, - "src": "34564:112:1", + "scope": 1413, + "src": "35556:114:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1919, + "id": 1411, "nodeType": "Block", - "src": "35088:55:1", + "src": "36094:57:0", "statements": [ { "expression": { @@ -17425,38 +17425,38 @@ "arguments": [ { "expression": { - "id": 1913, + "id": 1405, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1903, - "src": "35117:3:1", + "referencedDeclaration": 1395, + "src": "36124:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1914, + "id": 1406, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "35117:10:1", + "referencedDeclaration": 1317, + "src": "36124:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1915, + "id": 1407, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1905, - "src": "35129:5:1", + "referencedDeclaration": 1397, + "src": "36136:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17466,7 +17466,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -17474,18 +17474,18 @@ "typeString": "uint256" } ], - "id": 1912, + "id": 1404, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "35113:3:1", + "referencedDeclaration": 1109, + "src": "36120:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1916, + "id": 1408, "isConstant": false, "isLValue": false, "isPure": false, @@ -17493,7 +17493,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35113:22:1", + "src": "36120:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -17508,26 +17508,26 @@ "typeString": "bytes32" } ], - "id": 1911, + "id": 1403, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1910, + "id": 1402, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": {} } }, - "id": 1917, + "id": 1409, "isConstant": false, "isLValue": false, "isPure": false, @@ -17535,58 +17535,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35105:31:1", + "src": "36112:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1909, - "id": 1918, + "functionReturnParameters": 1401, + "id": 1410, "nodeType": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ] }, "documentation": { - "id": 1901, + "id": 1393, "nodeType": "StructuredDocumentation", - "src": "34681:322:1", + "src": "35677:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1920, + "id": 1412, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1906, + "id": 1398, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1903, + "id": 1395, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35020:19:1", + "scope": 1412, + "src": "36026:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1902, + "id": 1394, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "35020:7:1", + "referencedDeclaration": 1318, + "src": "36026:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -17594,12 +17594,12 @@ }, { "constant": false, - "id": 1905, + "id": 1397, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35041:13:1", + "scope": 1412, + "src": "36047:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17607,10 +17607,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1904, + "id": 1396, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35041:7:1", + "src": "36047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17619,20 +17619,20 @@ "visibility": "internal" } ], - "src": "35019:36:1" + "src": "36025:36:0" }, "returnParameters": { - "id": 1909, + "id": 1401, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1908, + "id": 1400, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35079:7:1", + "scope": 1412, + "src": "36085:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17640,10 +17640,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1907, + "id": 1399, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35079:7:1", + "src": "36085:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17652,20 +17652,20 @@ "visibility": "internal" } ], - "src": "35078:9:1" + "src": "36084:9:0" }, - "scope": 1921, - "src": "35008:135:1", + "scope": 1413, + "src": "36014:137:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "26511:8634:1" + "scope": 2991, + "src": "27252:8902:0" }, { - "id": 1922, + "id": 1414, "literals": [ "solidity", ">=", @@ -17676,7 +17676,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "abstract": false, @@ -17684,31 +17684,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1923, + "id": 1415, "nodeType": "StructuredDocumentation", - "src": "35237:705:1", + "src": "36251:728:0", "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, "fullyImplemented": true, - "id": 2480, + "id": 1972, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableMap.MapEntry", - "id": 1928, + "id": 1420, "members": [ { "constant": false, - "id": 1925, + "id": 1417, "mutability": "mutable", "name": "_key", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36455:12:1", + "scope": 1420, + "src": "37504:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17716,10 +17716,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1924, + "id": 1416, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36455:7:1", + "src": "37504:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17729,12 +17729,12 @@ }, { "constant": false, - "id": 1927, + "id": 1419, "mutability": "mutable", "name": "_value", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36477:14:1", + "scope": 1420, + "src": "37527:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17742,10 +17742,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1926, + "id": 1418, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36477:7:1", + "src": "37527:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17756,45 +17756,45 @@ ], "name": "MapEntry", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36429:69:1", + "scope": 1972, + "src": "37477:72:0", "visibility": "public" }, { "canonicalName": "EnumerableMap.Map", - "id": 1936, + "id": 1428, "members": [ { "constant": false, - "id": 1931, + "id": 1423, "mutability": "mutable", "name": "_entries", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36567:19:1", + "scope": 1428, + "src": "37622:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" }, "typeName": { "baseType": { - "id": 1929, + "id": 1421, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "36567:8:1", + "referencedDeclaration": 1420, + "src": "37622:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, - "id": 1930, + "id": 1422, "nodeType": "ArrayTypeName", - "src": "36567:10:1", + "src": "37622:10:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" } }, @@ -17802,12 +17802,12 @@ }, { "constant": false, - "id": 1935, + "id": 1427, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36736:37:1", + "scope": 1428, + "src": "37795:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17815,28 +17815,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1934, + "id": 1426, "keyType": { - "id": 1932, + "id": 1424, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36745:7:1", + "src": "37804:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "36736:28:1", + "src": "37795:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1933, + "id": 1425, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "36756:7:1", + "src": "37815:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17848,29 +17848,29 @@ ], "name": "Map", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36504:276:1", + "scope": 1972, + "src": "37557:283:0", "visibility": "public" }, { "body": { - "id": 1997, + "id": 1489, "nodeType": "Block", - "src": "37089:596:1", + "src": "38158:610:0", "statements": [ { "assignments": [ - 1949 + 1441 ], "declarations": [ { "constant": false, - "id": 1949, + "id": 1441, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 1997, - "src": "37197:16:1", + "scope": 1489, + "src": "38268:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17878,10 +17878,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1948, + "id": 1440, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "37197:7:1", + "src": "38268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17890,43 +17890,43 @@ "visibility": "internal" } ], - "id": 1954, + "id": 1446, "initialValue": { "baseExpression": { "expression": { - "id": 1950, + "id": 1442, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37216:3:1", + "referencedDeclaration": 1431, + "src": "38287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1951, + "id": 1443, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37216:12:1", + "referencedDeclaration": 1427, + "src": "38287:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1953, + "id": 1445, "indexExpression": { - "id": 1952, + "id": 1444, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37229:3:1", + "referencedDeclaration": 1433, + "src": "38300:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17937,14 +17937,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37216:17:1", + "src": "38287:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "condition": { @@ -17952,18 +17952,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1957, + "id": 1449, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1955, + "id": 1447, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37248:8:1", + "referencedDeclaration": 1441, + "src": "38321:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17973,34 +17973,34 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 1956, + "id": 1448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37260:1:1", + "src": "38333:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "37248:13:1", + "src": "38321:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1995, + "id": 1487, "nodeType": "Block", - "src": "37587:92:1", + "src": "38666:95:0", "statements": [ { "expression": { - "id": 1991, + "id": 1483, "isConstant": false, "isLValue": false, "isPure": false, @@ -18009,49 +18009,49 @@ "expression": { "baseExpression": { "expression": { - "id": 1982, + "id": 1474, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37601:3:1", + "referencedDeclaration": 1431, + "src": "38681:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1987, + "id": 1479, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37601:12:1", + "referencedDeclaration": 1423, + "src": "38681:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1988, + "id": 1480, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1986, + "id": 1478, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1984, + "id": 1476, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37614:8:1", + "referencedDeclaration": 1441, + "src": "38694:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18061,21 +18061,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1985, + "id": 1477, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37625:1:1", + "src": "38705:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "37614:12:1", + "src": "38694:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18086,21 +18086,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37601:26:1", + "src": "38681:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 1989, + "id": 1481, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "37601:33:1", + "referencedDeclaration": 1419, + "src": "38681:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18109,58 +18109,58 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1990, + "id": 1482, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37637:5:1", + "referencedDeclaration": 1435, + "src": "38717:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "37601:41:1", + "src": "38681:41:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1992, + "id": 1484, "nodeType": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "expression": { "hexValue": "66616c7365", - "id": 1993, + "id": 1485, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37663:5:1", + "src": "38744:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1947, - "id": 1994, + "functionReturnParameters": 1439, + "id": 1486, "nodeType": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ] }, - "id": 1996, + "id": 1488, "nodeType": "IfStatement", - "src": "37244:435:1", + "src": "38317:444:0", "trueBody": { - "id": 1981, + "id": 1473, "nodeType": "Block", - "src": "37263:318:1", + "src": "38336:324:0", "statements": [ { "expression": { @@ -18168,24 +18168,24 @@ { "arguments": [ { - "id": 1964, + "id": 1456, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37349:3:1", + "referencedDeclaration": 1433, + "src": "38423:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, { - "id": 1965, + "id": 1457, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37362:5:1", + "referencedDeclaration": 1435, + "src": "38436:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18203,18 +18203,18 @@ "typeString": "bytes32" } ], - "id": 1963, + "id": 1455, "name": "MapEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1928, - "src": "37332:8:1", + "referencedDeclaration": 1420, + "src": "38406:8:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_MapEntry_$1928_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_MapEntry_$1420_storage_ptr_$", "typeString": "type(struct EnumerableMap.MapEntry storage pointer)" } }, - "id": 1966, + "id": 1458, "isConstant": false, "isLValue": false, "isPure": false, @@ -18225,10 +18225,10 @@ "_value" ], "nodeType": "FunctionCall", - "src": "37332:38:1", + "src": "38406:38:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } } @@ -18236,51 +18236,51 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], "expression": { "expression": { - "id": 1958, + "id": 1450, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37314:3:1", + "referencedDeclaration": 1431, + "src": "38388:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1961, + "id": 1453, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37314:12:1", + "referencedDeclaration": 1423, + "src": "38388:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1962, + "id": 1454, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "37314:17:1", + "src": "38388:17:0", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1928_storage_$returns$__$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1420_storage_$returns$__$", "typeString": "function (struct EnumerableMap.MapEntry storage ref)" } }, - "id": 1967, + "id": 1459, "isConstant": false, "isLValue": false, "isPure": false, @@ -18288,20 +18288,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "37314:57:1", + "src": "38388:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1968, + "id": 1460, "nodeType": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "expression": { - "id": 1977, + "id": 1469, "isConstant": false, "isLValue": false, "isPure": false, @@ -18309,39 +18309,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1969, + "id": 1461, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37506:3:1", + "referencedDeclaration": 1431, + "src": "38583:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1972, + "id": 1464, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37506:12:1", + "referencedDeclaration": 1427, + "src": "38583:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1973, + "id": 1465, "indexExpression": { - "id": 1971, + "id": 1463, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37519:3:1", + "referencedDeclaration": 1433, + "src": "38596:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18352,7 +18352,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "37506:17:1", + "src": "38583:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18363,75 +18363,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1974, + "id": 1466, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37526:3:1", + "referencedDeclaration": 1431, + "src": "38603:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1975, + "id": 1467, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37526:12:1", + "referencedDeclaration": 1423, + "src": "38603:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1976, + "id": 1468, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "37526:19:1", + "src": "38603:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "37506:39:1", + "src": "38583:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1978, + "id": 1470, "nodeType": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "expression": { "hexValue": "74727565", - "id": 1979, + "id": 1471, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37566:4:1", + "src": "38644:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1947, - "id": 1980, + "functionReturnParameters": 1439, + "id": 1472, "nodeType": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ] } @@ -18439,43 +18439,43 @@ ] }, "documentation": { - "id": 1937, + "id": 1429, "nodeType": "StructuredDocumentation", - "src": "36786:216:1", + "src": "37848:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1998, + "id": 1490, "implemented": true, "kind": "function", "modifiers": [], "name": "_set", "nodeType": "FunctionDefinition", "parameters": { - "id": 1944, + "id": 1436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1939, + "id": 1431, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37021:15:1", + "scope": 1490, + "src": "38090:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 1938, + "id": 1430, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37021:3:1", + "referencedDeclaration": 1428, + "src": "38090:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -18483,12 +18483,12 @@ }, { "constant": false, - "id": 1941, + "id": 1433, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37038:11:1", + "scope": 1490, + "src": "38107:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18496,10 +18496,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1940, + "id": 1432, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37038:7:1", + "src": "38107:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18509,12 +18509,12 @@ }, { "constant": false, - "id": 1943, + "id": 1435, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37051:13:1", + "scope": 1490, + "src": "38120:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18522,10 +18522,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1942, + "id": 1434, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37051:7:1", + "src": "38120:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18534,20 +18534,20 @@ "visibility": "internal" } ], - "src": "37020:45:1" + "src": "38089:45:0" }, "returnParameters": { - "id": 1947, + "id": 1439, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1946, + "id": 1438, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37083:4:1", + "scope": 1490, + "src": "38152:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18555,10 +18555,10 @@ "typeString": "bool" }, "typeName": { - "id": 1945, + "id": 1437, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37083:4:1", + "src": "38152:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -18567,33 +18567,33 @@ "visibility": "internal" } ], - "src": "37082:6:1" + "src": "38151:6:0" }, - "scope": 2480, - "src": "37007:678:1", + "scope": 1972, + "src": "38076:692:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2078, + "id": 1570, "nodeType": "Block", - "src": "37923:1447:1", + "src": "39013:1479:0", "statements": [ { "assignments": [ - 2009 + 1501 ], "declarations": [ { "constant": false, - "id": 2009, + "id": 1501, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2078, - "src": "38031:16:1", + "scope": 1570, + "src": "39123:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18601,10 +18601,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2008, + "id": 1500, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38031:7:1", + "src": "39123:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18613,43 +18613,43 @@ "visibility": "internal" } ], - "id": 2014, + "id": 1506, "initialValue": { "baseExpression": { "expression": { - "id": 2010, + "id": 1502, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38050:3:1", + "referencedDeclaration": 1493, + "src": "39142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2011, + "id": 1503, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "38050:12:1", + "referencedDeclaration": 1427, + "src": "39142:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2013, + "id": 1505, "indexExpression": { - "id": 2012, + "id": 1504, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "38063:3:1", + "referencedDeclaration": 1495, + "src": "39155:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18660,14 +18660,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38050:17:1", + "src": "39142:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "condition": { @@ -18675,18 +18675,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2017, + "id": 1509, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2015, + "id": 1507, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38082:8:1", + "referencedDeclaration": 1501, + "src": "39176:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18696,76 +18696,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2016, + "id": 1508, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38094:1:1", + "src": "39188:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "38082:13:1", + "src": "39176:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 2076, + "id": 1568, "nodeType": "Block", - "src": "39327:37:1", + "src": "40446:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 2074, + "id": 1566, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39348:5:1", + "src": "40468:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 2007, - "id": 2075, + "functionReturnParameters": 1499, + "id": 1567, "nodeType": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ] }, - "id": 2077, + "id": 1569, "nodeType": "IfStatement", - "src": "38078:1286:1", + "src": "39172:1313:0", "trueBody": { - "id": 2073, + "id": 1565, "nodeType": "Block", - "src": "38097:1224:1", + "src": "39191:1249:0", "statements": [ { "assignments": [ - 2019 + 1511 ], "declarations": [ { "constant": false, - "id": 2019, + "id": 1511, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38438:21:1", + "scope": 1565, + "src": "39537:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18773,10 +18773,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2018, + "id": 1510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38438:7:1", + "src": "39537:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18785,24 +18785,24 @@ "visibility": "internal" } ], - "id": 2023, + "id": 1515, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2022, + "id": 1514, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2020, + "id": 1512, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38462:8:1", + "referencedDeclaration": 1501, + "src": "39561:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18812,42 +18812,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2021, + "id": 1513, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38473:1:1", + "src": "39572:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38462:12:1", + "src": "39561:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "assignments": [ - 2025 + 1517 ], "declarations": [ { "constant": false, - "id": 2025, + "id": 1517, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38488:17:1", + "scope": 1565, + "src": "39588:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18855,10 +18855,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2024, + "id": 1516, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38488:7:1", + "src": "39588:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18867,13 +18867,13 @@ "visibility": "internal" } ], - "id": 2031, + "id": 1523, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2030, + "id": 1522, "isConstant": false, "isLValue": false, "isPure": false, @@ -18881,39 +18881,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2026, + "id": 1518, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38508:3:1", + "referencedDeclaration": 1493, + "src": "39608:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2027, + "id": 1519, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38508:12:1", + "referencedDeclaration": 1423, + "src": "39608:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2028, + "id": 1520, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "38508:19:1", + "src": "39608:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18923,99 +18923,99 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2029, + "id": 1521, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38530:1:1", + "src": "39630:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38508:23:1", + "src": "39608:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "assignments": [ - 2033 + 1525 ], "declarations": [ { "constant": false, - "id": 2033, + "id": 1525, "mutability": "mutable", "name": "lastEntry", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38771:26:1", + "scope": 1565, + "src": "39876:26:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2032, + "id": 1524, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "38771:8:1", + "referencedDeclaration": 1420, + "src": "39876:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2038, + "id": 1530, "initialValue": { "baseExpression": { "expression": { - "id": 2034, + "id": 1526, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38800:3:1", + "referencedDeclaration": 1493, + "src": "39905:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2035, + "id": 1527, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38800:12:1", + "referencedDeclaration": 1423, + "src": "39905:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2037, + "id": 1529, "indexExpression": { - "id": 2036, + "id": 1528, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "38813:9:1", + "referencedDeclaration": 1517, + "src": "39918:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19026,18 +19026,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38800:23:1", + "src": "39905:23:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "expression": { - "id": 2045, + "id": 1537, "isConstant": false, "isLValue": false, "isPure": false, @@ -19045,39 +19045,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2039, + "id": 1531, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38915:3:1", + "referencedDeclaration": 1493, + "src": "40023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2042, + "id": 1534, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38915:12:1", + "referencedDeclaration": 1423, + "src": "40023:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2043, + "id": 1535, "indexExpression": { - "id": 2041, + "id": 1533, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "38928:13:1", + "referencedDeclaration": 1511, + "src": "40036:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19088,39 +19088,39 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "38915:27:1", + "src": "40023:27:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2044, + "id": 1536, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "38945:9:1", + "referencedDeclaration": 1525, + "src": "40053:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "src": "38915:39:1", + "src": "40023:39:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2046, + "id": 1538, "nodeType": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "expression": { - "id": 2056, + "id": 1548, "isConstant": false, "isLValue": false, "isPure": false, @@ -19128,54 +19128,54 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2047, + "id": 1539, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39020:3:1", + "referencedDeclaration": 1493, + "src": "40130:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2051, + "id": 1543, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39020:12:1", + "referencedDeclaration": 1427, + "src": "40130:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2052, + "id": 1544, "indexExpression": { "expression": { - "id": 2049, + "id": 1541, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "39033:9:1", + "referencedDeclaration": 1525, + "src": "40143:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2050, + "id": 1542, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "39033:14:1", + "referencedDeclaration": 1417, + "src": "40143:14:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19186,7 +19186,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39020:28:1", + "src": "40130:28:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19199,18 +19199,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2055, + "id": 1547, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2053, + "id": 1545, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "39051:13:1", + "referencedDeclaration": 1511, + "src": "40161:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19220,35 +19220,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 2054, + "id": 1546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39067:1:1", + "src": "40177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "39051:17:1", + "src": "40161:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "39020:48:1", + "src": "40130:48:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2057, + "id": 1549, "nodeType": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "expression": { @@ -19257,45 +19257,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 2058, + "id": 1550, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39174:3:1", + "referencedDeclaration": 1493, + "src": "40287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2061, + "id": 1553, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39174:12:1", + "referencedDeclaration": 1423, + "src": "40287:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2062, + "id": 1554, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "39174:16:1", + "src": "40287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 2063, + "id": 1555, "isConstant": false, "isLValue": false, "isPure": false, @@ -19303,20 +19303,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "39174:18:1", + "src": "40287:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2064, + "id": 1556, "nodeType": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "expression": { - "id": 2069, + "id": 1561, "isConstant": false, "isLValue": false, "isPure": false, @@ -19324,43 +19324,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "39260:24:1", + "src": "40376:24:0", "subExpression": { "baseExpression": { "expression": { - "id": 2065, + "id": 1557, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39267:3:1", + "referencedDeclaration": 1493, + "src": "40383:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2066, + "id": 1558, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39267:12:1", + "referencedDeclaration": 1427, + "src": "40383:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2068, + "id": 1560, "indexExpression": { - "id": 2067, + "id": 1559, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "39280:3:1", + "referencedDeclaration": 1495, + "src": "40396:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19371,7 +19371,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39267:17:1", + "src": "40383:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19382,31 +19382,31 @@ "typeString": "tuple()" } }, - "id": 2070, + "id": 1562, "nodeType": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "expression": { "hexValue": "74727565", - "id": 2071, + "id": 1563, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39306:4:1", + "src": "40424:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 2007, - "id": 2072, + "functionReturnParameters": 1499, + "id": 1564, "nodeType": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ] } @@ -19414,43 +19414,43 @@ ] }, "documentation": { - "id": 1999, + "id": 1491, "nodeType": "StructuredDocumentation", - "src": "37691:157:1", + "src": "38776:161:0", "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2079, + "id": 1571, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2004, + "id": 1496, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2001, + "id": 1493, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37870:15:1", + "scope": 1571, + "src": "38960:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2000, + "id": 1492, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37870:3:1", + "referencedDeclaration": 1428, + "src": "38960:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19458,12 +19458,12 @@ }, { "constant": false, - "id": 2003, + "id": 1495, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37887:11:1", + "scope": 1571, + "src": "38977:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19471,10 +19471,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2002, + "id": 1494, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37887:7:1", + "src": "38977:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19483,20 +19483,20 @@ "visibility": "internal" } ], - "src": "37869:30:1" + "src": "38959:30:0" }, "returnParameters": { - "id": 2007, + "id": 1499, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2006, + "id": 1498, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37917:4:1", + "scope": 1571, + "src": "39007:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19504,10 +19504,10 @@ "typeString": "bool" }, "typeName": { - "id": 2005, + "id": 1497, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37917:4:1", + "src": "39007:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19516,19 +19516,19 @@ "visibility": "internal" } ], - "src": "37916:6:1" + "src": "39006:6:0" }, - "scope": 2480, - "src": "37853:1517:1", + "scope": 1972, + "src": "38943:1549:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2096, + "id": 1588, "nodeType": "Block", - "src": "39526:46:1", + "src": "40653:48:0", "statements": [ { "expression": { @@ -19536,7 +19536,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2094, + "id": 1586, "isConstant": false, "isLValue": false, "isPure": false, @@ -19544,39 +19544,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 2089, + "id": 1581, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2082, - "src": "39543:3:1", + "referencedDeclaration": 1574, + "src": "40671:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2090, + "id": 1582, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39543:12:1", + "referencedDeclaration": 1427, + "src": "40671:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2092, + "id": 1584, "indexExpression": { - "id": 2091, + "id": 1583, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2084, - "src": "39556:3:1", + "referencedDeclaration": 1576, + "src": "40684:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19587,7 +19587,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "39543:17:1", + "src": "40671:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19597,71 +19597,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2093, + "id": 1585, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39564:1:1", + "src": "40692:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "39543:22:1", + "src": "40671:22:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2088, - "id": 2095, + "functionReturnParameters": 1580, + "id": 1587, "nodeType": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ] }, "documentation": { - "id": 2080, + "id": 1572, "nodeType": "StructuredDocumentation", - "src": "39376:68:1", + "src": "40500:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2097, + "id": 1589, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2085, + "id": 1577, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2082, + "id": 1574, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39468:15:1", + "scope": 1589, + "src": "40595:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2081, + "id": 1573, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39468:3:1", + "referencedDeclaration": 1428, + "src": "40595:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19669,12 +19669,12 @@ }, { "constant": false, - "id": 2084, + "id": 1576, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39485:11:1", + "scope": 1589, + "src": "40612:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19682,10 +19682,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2083, + "id": 1575, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "39485:7:1", + "src": "40612:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19694,20 +19694,20 @@ "visibility": "internal" } ], - "src": "39467:30:1" + "src": "40594:30:0" }, "returnParameters": { - "id": 2088, + "id": 1580, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2087, + "id": 1579, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39520:4:1", + "scope": 1589, + "src": "40647:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19715,10 +19715,10 @@ "typeString": "bool" }, "typeName": { - "id": 2086, + "id": 1578, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "39520:4:1", + "src": "40647:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19727,127 +19727,127 @@ "visibility": "internal" } ], - "src": "39519:6:1" + "src": "40646:6:0" }, - "scope": 2480, - "src": "39449:123:1", + "scope": 1972, + "src": "40576:125:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2109, + "id": 1601, "nodeType": "Block", - "src": "39727:43:1", + "src": "40861:45:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 2105, + "id": 1597, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2100, - "src": "39744:3:1", + "referencedDeclaration": 1592, + "src": "40879:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2106, + "id": 1598, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39744:12:1", + "referencedDeclaration": 1423, + "src": "40879:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2107, + "id": 1599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "39744:19:1", + "src": "40879:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2104, - "id": 2108, + "functionReturnParameters": 1596, + "id": 1600, "nodeType": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ] }, "documentation": { - "id": 2098, + "id": 1590, "nodeType": "StructuredDocumentation", - "src": "39578:79:1", + "src": "40709:81:0", "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2110, + "id": 1602, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2101, + "id": 1593, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2100, + "id": 1592, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39679:15:1", + "scope": 1602, + "src": "40813:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2099, + "id": 1591, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39679:3:1", + "referencedDeclaration": 1428, + "src": "40813:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, "visibility": "internal" } ], - "src": "39678:17:1" + "src": "40812:17:0" }, "returnParameters": { - "id": 2104, + "id": 1596, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2103, + "id": 1595, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39718:7:1", + "scope": 1602, + "src": "40852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19855,10 +19855,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2102, + "id": 1594, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "39718:7:1", + "src": "40852:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19867,19 +19867,19 @@ "visibility": "internal" } ], - "src": "39717:9:1" + "src": "40851:9:0" }, - "scope": 2480, - "src": "39662:108:1", + "scope": 1972, + "src": "40796:110:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2144, + "id": 1636, "nodeType": "Block", - "src": "40198:189:1", + "src": "41346:194:0", "statements": [ { "expression": { @@ -19889,7 +19889,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2127, + "id": 1619, "isConstant": false, "isLValue": false, "isPure": false, @@ -19897,39 +19897,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2123, + "id": 1615, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40216:3:1", + "referencedDeclaration": 1605, + "src": "41365:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2124, + "id": 1616, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40216:12:1", + "referencedDeclaration": 1423, + "src": "41365:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2125, + "id": 1617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "40216:19:1", + "src": "41365:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19938,18 +19938,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 2126, + "id": 1618, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40238:5:1", + "referencedDeclaration": 1607, + "src": "41387:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "40216:27:1", + "src": "41365:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19957,14 +19957,14 @@ }, { "hexValue": "456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473", - "id": 2128, + "id": 1620, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "40245:36:1", + "src": "41394:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_86631030b9066a18616a068fc09fce83d18af4765cb1d2166fa475228f4db155", "typeString": "literal_string \"EnumerableMap: index out of bounds\"" @@ -19983,7 +19983,7 @@ "typeString": "literal_string \"EnumerableMap: index out of bounds\"" } ], - "id": 2122, + "id": 1614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -19991,13 +19991,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "40208:7:1", + "src": "41357:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2129, + "id": 1621, "isConstant": false, "isLValue": false, "isPure": false, @@ -20005,87 +20005,87 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "40208:74:1", + "src": "41357:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2130, + "id": 1622, "nodeType": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "assignments": [ - 2132 + 1624 ], "declarations": [ { "constant": false, - "id": 2132, + "id": 1624, "mutability": "mutable", "name": "entry", "nodeType": "VariableDeclaration", - "scope": 2144, - "src": "40293:22:1", + "scope": 1636, + "src": "41444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2131, + "id": 1623, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "40293:8:1", + "referencedDeclaration": 1420, + "src": "41444:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2137, + "id": 1629, "initialValue": { "baseExpression": { "expression": { - "id": 2133, + "id": 1625, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40318:3:1", + "referencedDeclaration": 1605, + "src": "41469:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2134, + "id": 1626, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40318:12:1", + "referencedDeclaration": 1423, + "src": "41469:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2136, + "id": 1628, "indexExpression": { - "id": 2135, + "id": 1627, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40331:5:1", + "referencedDeclaration": 1607, + "src": "41482:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20096,40 +20096,40 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40318:19:1", + "src": "41469:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "expression": { "components": [ { "expression": { - "id": 2138, + "id": 1630, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40355:5:1", + "referencedDeclaration": 1624, + "src": "41507:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2139, + "id": 1631, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "40355:10:1", + "referencedDeclaration": 1417, + "src": "41507:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20137,90 +20137,90 @@ }, { "expression": { - "id": 2140, + "id": 1632, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40367:5:1", + "referencedDeclaration": 1624, + "src": "41519:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2141, + "id": 1633, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40367:12:1", + "referencedDeclaration": 1419, + "src": "41519:12:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2142, + "id": 1634, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40354:26:1", + "src": "41506:26:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", "typeString": "tuple(bytes32,bytes32)" } }, - "functionReturnParameters": 2121, - "id": 2143, + "functionReturnParameters": 1613, + "id": 1635, "nodeType": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ] }, "documentation": { - "id": 2111, + "id": 1603, "nodeType": "StructuredDocumentation", - "src": "39775:333:1", + "src": "40913:342:0", "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2145, + "id": 1637, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2116, + "id": 1608, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2113, + "id": 1605, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40126:15:1", + "scope": 1637, + "src": "41274:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2112, + "id": 1604, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40126:3:1", + "referencedDeclaration": 1428, + "src": "41274:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20228,12 +20228,12 @@ }, { "constant": false, - "id": 2115, + "id": 1607, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40143:13:1", + "scope": 1637, + "src": "41291:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20241,10 +20241,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2114, + "id": 1606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40143:7:1", + "src": "41291:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20253,20 +20253,20 @@ "visibility": "internal" } ], - "src": "40125:32:1" + "src": "41273:32:0" }, "returnParameters": { - "id": 2121, + "id": 1613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2118, + "id": 1610, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40180:7:1", + "scope": 1637, + "src": "41328:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20274,10 +20274,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2117, + "id": 1609, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40180:7:1", + "src": "41328:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20287,12 +20287,12 @@ }, { "constant": false, - "id": 2120, + "id": 1612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40189:7:1", + "scope": 1637, + "src": "41337:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20300,10 +20300,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2119, + "id": 1611, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40189:7:1", + "src": "41337:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20312,33 +20312,33 @@ "visibility": "internal" } ], - "src": "40179:18:1" + "src": "41327:18:0" }, - "scope": 2480, - "src": "40113:274:1", + "scope": 1972, + "src": "41261:279:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2182, + "id": 1674, "nodeType": "Block", - "src": "40613:220:1", + "src": "41772:224:0", "statements": [ { "assignments": [ - 2158 + 1650 ], "declarations": [ { "constant": false, - "id": 2158, + "id": 1650, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2182, - "src": "40623:16:1", + "scope": 1674, + "src": "41783:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20346,10 +20346,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2157, + "id": 1649, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40623:7:1", + "src": "41783:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20358,43 +20358,43 @@ "visibility": "internal" } ], - "id": 2163, + "id": 1655, "initialValue": { "baseExpression": { "expression": { - "id": 2159, + "id": 1651, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40642:3:1", + "referencedDeclaration": 1640, + "src": "41802:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2160, + "id": 1652, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "40642:12:1", + "referencedDeclaration": 1427, + "src": "41802:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2162, + "id": 1654, "indexExpression": { - "id": 2161, + "id": 1653, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2150, - "src": "40655:3:1", + "referencedDeclaration": 1642, + "src": "41815:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20405,14 +20405,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40642:17:1", + "src": "41802:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "condition": { @@ -20420,18 +20420,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2166, + "id": 1658, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2164, + "id": 1656, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40673:8:1", + "referencedDeclaration": 1650, + "src": "41834:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20441,42 +20441,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2165, + "id": 1657, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40685:1:1", + "src": "41846:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "40673:13:1", + "src": "41834:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2171, + "id": 1663, "nodeType": "IfStatement", - "src": "40669:36:1", + "src": "41830:36:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 2167, + "id": 1659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40696:5:1", + "src": "41857:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20485,14 +20485,14 @@ }, { "hexValue": "30", - "id": 2168, + "id": 1660, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40703:1:1", + "src": "41864:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -20500,23 +20500,23 @@ "value": "0" } ], - "id": 2169, + "id": 1661, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40695:10:1", + "src": "41856:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 2156, - "id": 2170, + "functionReturnParameters": 1648, + "id": 1662, "nodeType": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } }, { @@ -20524,14 +20524,14 @@ "components": [ { "hexValue": "74727565", - "id": 2172, + "id": 1664, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40759:4:1", + "src": "41921:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20542,49 +20542,49 @@ "expression": { "baseExpression": { "expression": { - "id": 2173, + "id": 1665, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40765:3:1", + "referencedDeclaration": 1640, + "src": "41927:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2174, + "id": 1666, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40765:12:1", + "referencedDeclaration": 1423, + "src": "41927:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2178, + "id": 1670, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2177, + "id": 1669, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2175, + "id": 1667, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40778:8:1", + "referencedDeclaration": 1650, + "src": "41940:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20594,21 +20594,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2176, + "id": 1668, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40789:1:1", + "src": "41951:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "40778:12:1", + "src": "41940:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20619,85 +20619,85 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40765:26:1", + "src": "41927:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2179, + "id": 1671, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40765:33:1", + "referencedDeclaration": 1419, + "src": "41927:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2180, + "id": 1672, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40758:41:1", + "src": "41920:41:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", "typeString": "tuple(bool,bytes32)" } }, - "functionReturnParameters": 2156, - "id": 2181, + "functionReturnParameters": 1648, + "id": 1673, "nodeType": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ] }, "documentation": { - "id": 2146, + "id": 1638, "nodeType": "StructuredDocumentation", - "src": "40393:131:1", + "src": "41548:134:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2183, + "id": 1675, "implemented": true, "kind": "function", "modifiers": [], "name": "_tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2151, + "id": 1643, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2148, + "id": 1640, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40546:15:1", + "scope": 1675, + "src": "41705:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2147, + "id": 1639, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40546:3:1", + "referencedDeclaration": 1428, + "src": "41705:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20705,12 +20705,12 @@ }, { "constant": false, - "id": 2150, + "id": 1642, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40563:11:1", + "scope": 1675, + "src": "41722:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20718,10 +20718,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2149, + "id": 1641, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40563:7:1", + "src": "41722:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20730,20 +20730,20 @@ "visibility": "internal" } ], - "src": "40545:30:1" + "src": "41704:30:0" }, "returnParameters": { - "id": 2156, + "id": 1648, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2153, + "id": 1645, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40598:4:1", + "scope": 1675, + "src": "41757:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20751,10 +20751,10 @@ "typeString": "bool" }, "typeName": { - "id": 2152, + "id": 1644, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "40598:4:1", + "src": "41757:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20764,12 +20764,12 @@ }, { "constant": false, - "id": 2155, + "id": 1647, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40604:7:1", + "scope": 1675, + "src": "41763:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20777,10 +20777,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2154, + "id": 1646, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40604:7:1", + "src": "41763:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20789,33 +20789,33 @@ "visibility": "internal" } ], - "src": "40597:15:1" + "src": "41756:15:0" }, - "scope": 2480, - "src": "40529:304:1", + "scope": 1972, + "src": "41688:308:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2215, + "id": 1707, "nodeType": "Block", - "src": "41060:232:1", + "src": "42232:236:0", "statements": [ { "assignments": [ - 2194 + 1686 ], "declarations": [ { "constant": false, - "id": 2194, + "id": 1686, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2215, - "src": "41070:16:1", + "scope": 1707, + "src": "42243:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20823,10 +20823,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2193, + "id": 1685, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41070:7:1", + "src": "42243:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20835,43 +20835,43 @@ "visibility": "internal" } ], - "id": 2199, + "id": 1691, "initialValue": { "baseExpression": { "expression": { - "id": 2195, + "id": 1687, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41089:3:1", + "referencedDeclaration": 1678, + "src": "42262:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2196, + "id": 1688, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41089:12:1", + "referencedDeclaration": 1427, + "src": "42262:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2198, + "id": 1690, "indexExpression": { - "id": 2197, + "id": 1689, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2188, - "src": "41102:3:1", + "referencedDeclaration": 1680, + "src": "42275:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20882,14 +20882,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41089:17:1", + "src": "42262:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "expression": { @@ -20899,18 +20899,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2203, + "id": 1695, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2201, + "id": 1693, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41124:8:1", + "referencedDeclaration": 1686, + "src": "42298:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20920,21 +20920,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2202, + "id": 1694, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41136:1:1", + "src": "42310:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41124:13:1", + "src": "42298:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20942,14 +20942,14 @@ }, { "hexValue": "456e756d657261626c654d61703a206e6f6e6578697374656e74206b6579", - "id": 2204, + "id": 1696, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "41139:32:1", + "src": "42313:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_d3551e30d3095fd81287b88f7139bb09818e34280e85ee821994ebaebbed7072", "typeString": "literal_string \"EnumerableMap: nonexistent key\"" @@ -20968,7 +20968,7 @@ "typeString": "literal_string \"EnumerableMap: nonexistent key\"" } ], - "id": 2200, + "id": 1692, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -20976,13 +20976,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41116:7:1", + "src": "42290:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2205, + "id": 1697, "isConstant": false, "isLValue": false, "isPure": false, @@ -20990,65 +20990,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41116:56:1", + "src": "42290:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2206, + "id": 1698, "nodeType": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2207, + "id": 1699, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41225:3:1", + "referencedDeclaration": 1678, + "src": "42400:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2208, + "id": 1700, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41225:12:1", + "referencedDeclaration": 1423, + "src": "42400:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2212, + "id": 1704, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2211, + "id": 1703, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2209, + "id": 1701, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41238:8:1", + "referencedDeclaration": 1686, + "src": "42413:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21058,21 +21058,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2210, + "id": 1702, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41249:1:1", + "src": "42424:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41238:12:1", + "src": "42413:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21083,71 +21083,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41225:26:1", + "src": "42400:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2213, + "id": 1705, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41225:33:1", + "referencedDeclaration": 1419, + "src": "42400:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2192, - "id": 2214, + "functionReturnParameters": 1684, + "id": 1706, "nodeType": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ] }, "documentation": { - "id": 2184, + "id": 1676, "nodeType": "StructuredDocumentation", - "src": "40839:141:1", + "src": "42004:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2216, + "id": 1708, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2189, + "id": 1681, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2186, + "id": 1678, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "40999:15:1", + "scope": 1708, + "src": "42171:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2185, + "id": 1677, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40999:3:1", + "referencedDeclaration": 1428, + "src": "42171:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21155,12 +21155,12 @@ }, { "constant": false, - "id": 2188, + "id": 1680, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41016:11:1", + "scope": 1708, + "src": "42188:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21168,10 +21168,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2187, + "id": 1679, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41016:7:1", + "src": "42188:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21180,20 +21180,20 @@ "visibility": "internal" } ], - "src": "40998:30:1" + "src": "42170:30:0" }, "returnParameters": { - "id": 2192, + "id": 1684, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2191, + "id": 1683, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41051:7:1", + "scope": 1708, + "src": "42223:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21201,10 +21201,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2190, + "id": 1682, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41051:7:1", + "src": "42223:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21213,33 +21213,33 @@ "visibility": "internal" } ], - "src": "41050:9:1" + "src": "42222:9:0" }, - "scope": 2480, - "src": "40985:307:1", + "scope": 1972, + "src": "42157:311:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2250, + "id": 1742, "nodeType": "Block", - "src": "41677:212:1", + "src": "42861:216:0", "statements": [ { "assignments": [ - 2229 + 1721 ], "declarations": [ { "constant": false, - "id": 2229, + "id": 1721, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2250, - "src": "41687:16:1", + "scope": 1742, + "src": "42872:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21247,10 +21247,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2228, + "id": 1720, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41687:7:1", + "src": "42872:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21259,43 +21259,43 @@ "visibility": "internal" } ], - "id": 2234, + "id": 1726, "initialValue": { "baseExpression": { "expression": { - "id": 2230, + "id": 1722, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41706:3:1", + "referencedDeclaration": 1711, + "src": "42891:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2231, + "id": 1723, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41706:12:1", + "referencedDeclaration": 1427, + "src": "42891:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2233, + "id": 1725, "indexExpression": { - "id": 2232, + "id": 1724, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2221, - "src": "41719:3:1", + "referencedDeclaration": 1713, + "src": "42904:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21306,14 +21306,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41706:17:1", + "src": "42891:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "expression": { @@ -21323,18 +21323,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2238, + "id": 1730, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2236, + "id": 1728, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41741:8:1", + "referencedDeclaration": 1721, + "src": "42927:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21344,33 +21344,33 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2237, + "id": 1729, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41753:1:1", + "src": "42939:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41741:13:1", + "src": "42927:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 2239, + "id": 1731, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2223, - "src": "41756:12:1", + "referencedDeclaration": 1715, + "src": "42942:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -21388,7 +21388,7 @@ "typeString": "string memory" } ], - "id": 2235, + "id": 1727, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -21396,13 +21396,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41733:7:1", + "src": "42919:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2240, + "id": 1732, "isConstant": false, "isLValue": false, "isPure": false, @@ -21410,65 +21410,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41733:36:1", + "src": "42919:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2241, + "id": 1733, "nodeType": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2242, + "id": 1734, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41822:3:1", + "referencedDeclaration": 1711, + "src": "43009:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2243, + "id": 1735, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41822:12:1", + "referencedDeclaration": 1423, + "src": "43009:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2247, + "id": 1739, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2246, + "id": 1738, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2244, + "id": 1736, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41835:8:1", + "referencedDeclaration": 1721, + "src": "43022:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21478,21 +21478,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2245, + "id": 1737, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41846:1:1", + "src": "43033:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41835:12:1", + "src": "43022:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21503,71 +21503,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41822:26:1", + "src": "43009:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2248, + "id": 1740, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41822:33:1", + "referencedDeclaration": 1419, + "src": "43009:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2227, - "id": 2249, + "functionReturnParameters": 1719, + "id": 1741, "nodeType": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ] }, "documentation": { - "id": 2217, + "id": 1709, "nodeType": "StructuredDocumentation", - "src": "41298:271:1", + "src": "42476:276:0", "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2251, + "id": 1743, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2224, + "id": 1716, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2219, + "id": 1711, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41588:15:1", + "scope": 1743, + "src": "42772:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2218, + "id": 1710, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41588:3:1", + "referencedDeclaration": 1428, + "src": "42772:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21575,12 +21575,12 @@ }, { "constant": false, - "id": 2221, + "id": 1713, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41605:11:1", + "scope": 1743, + "src": "42789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21588,10 +21588,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2220, + "id": 1712, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41605:7:1", + "src": "42789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21601,12 +21601,12 @@ }, { "constant": false, - "id": 2223, + "id": 1715, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41618:26:1", + "scope": 1743, + "src": "42802:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -21614,10 +21614,10 @@ "typeString": "string" }, "typeName": { - "id": 2222, + "id": 1714, "name": "string", "nodeType": "ElementaryTypeName", - "src": "41618:6:1", + "src": "42802:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -21626,20 +21626,20 @@ "visibility": "internal" } ], - "src": "41587:58:1" + "src": "42771:58:0" }, "returnParameters": { - "id": 2227, + "id": 1719, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2226, + "id": 1718, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41668:7:1", + "scope": 1743, + "src": "42852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21647,10 +21647,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2225, + "id": 1717, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41668:7:1", + "src": "42852:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21659,40 +21659,40 @@ "visibility": "internal" } ], - "src": "41667:9:1" + "src": "42851:9:0" }, - "scope": 2480, - "src": "41574:315:1", + "scope": 1972, + "src": "42758:319:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableMap.UintToAddressMap", - "id": 2254, + "id": 1746, "members": [ { "constant": false, - "id": 2253, + "id": 1745, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 2254, - "src": "41954:10:1", + "scope": 1746, + "src": "43147:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2252, + "id": 1744, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41954:3:1", + "referencedDeclaration": 1428, + "src": "43147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21701,55 +21701,55 @@ ], "name": "UintToAddressMap", "nodeType": "StructDefinition", - "scope": 2480, - "src": "41920:51:1", + "scope": 1972, + "src": "43112:53:0", "visibility": "public" }, { "body": { - "id": 2285, + "id": 1777, "nodeType": "Block", - "src": "42293:88:1", + "src": "43496:90:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2267, + "id": 1759, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2257, - "src": "42315:3:1", + "referencedDeclaration": 1749, + "src": "43519:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2268, + "id": 1760, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42315:10:1", + "referencedDeclaration": 1745, + "src": "43519:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2271, + "id": 1763, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2259, - "src": "42335:3:1", + "referencedDeclaration": 1751, + "src": "43539:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21763,26 +21763,26 @@ "typeString": "uint256" } ], - "id": 2270, + "id": 1762, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2269, + "id": 1761, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": {} } }, - "id": 2272, + "id": 1764, "isConstant": false, "isLValue": false, "isPure": false, @@ -21790,7 +21790,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42327:12:1", + "src": "43531:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21804,12 +21804,12 @@ { "arguments": [ { - "id": 2279, + "id": 1771, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2261, - "src": "42365:5:1", + "referencedDeclaration": 1753, + "src": "43569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21823,26 +21823,26 @@ "typeString": "address" } ], - "id": 2278, + "id": 1770, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2277, + "id": 1769, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": {} } }, - "id": 2280, + "id": 1772, "isConstant": false, "isLValue": false, "isPure": false, @@ -21850,7 +21850,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42357:14:1", + "src": "43561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -21865,26 +21865,26 @@ "typeString": "uint160" } ], - "id": 2276, + "id": 1768, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2275, + "id": 1767, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": {} } }, - "id": 2281, + "id": 1773, "isConstant": false, "isLValue": false, "isPure": false, @@ -21892,7 +21892,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42349:23:1", + "src": "43553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -21907,26 +21907,26 @@ "typeString": "uint256" } ], - "id": 2274, + "id": 1766, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2273, + "id": 1765, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": {} } }, - "id": 2282, + "id": 1774, "isConstant": false, "isLValue": false, "isPure": false, @@ -21934,7 +21934,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42341:32:1", + "src": "43545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21945,7 +21945,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -21957,18 +21957,18 @@ "typeString": "bytes32" } ], - "id": 2266, + "id": 1758, "name": "_set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1998, - "src": "42310:4:1", + "referencedDeclaration": 1490, + "src": "43514:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)" } }, - "id": 2283, + "id": 1775, "isConstant": false, "isLValue": false, "isPure": false, @@ -21976,58 +21976,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42310:64:1", + "src": "43514:64:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2265, - "id": 2284, + "functionReturnParameters": 1757, + "id": 1776, "nodeType": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ] }, "documentation": { - "id": 2255, + "id": 1747, "nodeType": "StructuredDocumentation", - "src": "41977:216:1", + "src": "43173:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2286, + "id": 1778, "implemented": true, "kind": "function", "modifiers": [], "name": "set", "nodeType": "FunctionDefinition", "parameters": { - "id": 2262, + "id": 1754, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2257, + "id": 1749, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42211:28:1", + "scope": 1778, + "src": "43414:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2256, + "id": 1748, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42211:16:1", + "referencedDeclaration": 1746, + "src": "43414:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22035,12 +22035,12 @@ }, { "constant": false, - "id": 2259, + "id": 1751, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42241:11:1", + "scope": 1778, + "src": "43444:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22048,10 +22048,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2258, + "id": 1750, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42241:7:1", + "src": "43444:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22061,12 +22061,12 @@ }, { "constant": false, - "id": 2261, + "id": 1753, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42254:13:1", + "scope": 1778, + "src": "43457:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22074,10 +22074,10 @@ "typeString": "address" }, "typeName": { - "id": 2260, + "id": 1752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "42254:7:1", + "src": "43457:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -22087,20 +22087,20 @@ "visibility": "internal" } ], - "src": "42210:58:1" + "src": "43413:58:0" }, "returnParameters": { - "id": 2265, + "id": 1757, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2264, + "id": 1756, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42287:4:1", + "scope": 1778, + "src": "43490:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22108,10 +22108,10 @@ "typeString": "bool" }, "typeName": { - "id": 2263, + "id": 1755, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42287:4:1", + "src": "43490:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22120,59 +22120,59 @@ "visibility": "internal" } ], - "src": "42286:6:1" + "src": "43489:6:0" }, - "scope": 2480, - "src": "42198:183:1", + "scope": 1972, + "src": "43401:185:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2305, + "id": 1797, "nodeType": "Block", - "src": "42623:57:1", + "src": "43835:59:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2297, + "id": 1789, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2289, - "src": "42648:3:1", + "referencedDeclaration": 1781, + "src": "43861:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2298, + "id": 1790, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42648:10:1", + "referencedDeclaration": 1745, + "src": "43861:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2301, + "id": 1793, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2291, - "src": "42668:3:1", + "referencedDeclaration": 1783, + "src": "43881:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22186,26 +22186,26 @@ "typeString": "uint256" } ], - "id": 2300, + "id": 1792, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2299, + "id": 1791, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": {} } }, - "id": 2302, + "id": 1794, "isConstant": false, "isLValue": false, "isPure": false, @@ -22213,7 +22213,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42660:12:1", + "src": "43873:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -22224,7 +22224,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22232,18 +22232,18 @@ "typeString": "bytes32" } ], - "id": 2296, + "id": 1788, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2079, - "src": "42640:7:1", + "referencedDeclaration": 1571, + "src": "43853:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)" } }, - "id": 2303, + "id": 1795, "isConstant": false, "isLValue": false, "isPure": false, @@ -22251,58 +22251,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42640:33:1", + "src": "43853:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2295, - "id": 2304, + "functionReturnParameters": 1787, + "id": 1796, "nodeType": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ] }, "documentation": { - "id": 2287, + "id": 1779, "nodeType": "StructuredDocumentation", - "src": "42387:148:1", + "src": "43594:152:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2306, + "id": 1798, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2292, + "id": 1784, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2289, + "id": 1781, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42556:28:1", + "scope": 1798, + "src": "43768:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2288, + "id": 1780, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42556:16:1", + "referencedDeclaration": 1746, + "src": "43768:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22310,12 +22310,12 @@ }, { "constant": false, - "id": 2291, + "id": 1783, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42586:11:1", + "scope": 1798, + "src": "43798:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22323,10 +22323,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2290, + "id": 1782, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42586:7:1", + "src": "43798:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22335,20 +22335,20 @@ "visibility": "internal" } ], - "src": "42555:43:1" + "src": "43767:43:0" }, "returnParameters": { - "id": 2295, + "id": 1787, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2294, + "id": 1786, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42617:4:1", + "scope": 1798, + "src": "43829:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22356,10 +22356,10 @@ "typeString": "bool" }, "typeName": { - "id": 2293, + "id": 1785, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42617:4:1", + "src": "43829:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22368,59 +22368,59 @@ "visibility": "internal" } ], - "src": "42616:6:1" + "src": "43828:6:0" }, - "scope": 2480, - "src": "42540:140:1", + "scope": 1972, + "src": "43752:142:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2325, + "id": 1817, "nodeType": "Block", - "src": "42849:59:1", + "src": "44068:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2317, + "id": 1809, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2309, - "src": "42876:3:1", + "referencedDeclaration": 1801, + "src": "44096:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2318, + "id": 1810, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42876:10:1", + "referencedDeclaration": 1745, + "src": "44096:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2321, + "id": 1813, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2311, - "src": "42896:3:1", + "referencedDeclaration": 1803, + "src": "44116:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22434,26 +22434,26 @@ "typeString": "uint256" } ], - "id": 2320, + "id": 1812, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2319, + "id": 1811, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": {} } }, - "id": 2322, + "id": 1814, "isConstant": false, "isLValue": false, "isPure": false, @@ -22461,7 +22461,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42888:12:1", + "src": "44108:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -22472,7 +22472,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22480,18 +22480,18 @@ "typeString": "bytes32" } ], - "id": 2316, + "id": 1808, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2097, - "src": "42866:9:1", + "referencedDeclaration": 1589, + "src": "44086:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)" } }, - "id": 2323, + "id": 1815, "isConstant": false, "isLValue": false, "isPure": false, @@ -22499,58 +22499,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42866:35:1", + "src": "44086:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2315, - "id": 2324, + "functionReturnParameters": 1807, + "id": 1816, "nodeType": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ] }, "documentation": { - "id": 2307, + "id": 1799, "nodeType": "StructuredDocumentation", - "src": "42686:68:1", + "src": "43902:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2326, + "id": 1818, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2312, + "id": 1804, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2309, + "id": 1801, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42777:28:1", + "scope": 1818, + "src": "43996:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2308, + "id": 1800, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42777:16:1", + "referencedDeclaration": 1746, + "src": "43996:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22558,12 +22558,12 @@ }, { "constant": false, - "id": 2311, + "id": 1803, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42807:11:1", + "scope": 1818, + "src": "44026:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22571,10 +22571,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2310, + "id": 1802, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42807:7:1", + "src": "44026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22583,20 +22583,20 @@ "visibility": "internal" } ], - "src": "42776:43:1" + "src": "43995:43:0" }, "returnParameters": { - "id": 2315, + "id": 1807, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2314, + "id": 1806, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42843:4:1", + "scope": 1818, + "src": "44062:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22604,10 +22604,10 @@ "typeString": "bool" }, "typeName": { - "id": 2313, + "id": 1805, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42843:4:1", + "src": "44062:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22616,47 +22616,47 @@ "visibility": "internal" } ], - "src": "42842:6:1" + "src": "44061:6:0" }, - "scope": 2480, - "src": "42759:149:1", + "scope": 1972, + "src": "43978:151:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2339, + "id": 1831, "nodeType": "Block", - "src": "43069:43:1", + "src": "44295:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2335, + "id": 1827, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2329, - "src": "43094:3:1", + "referencedDeclaration": 1821, + "src": "44321:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2336, + "id": 1828, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43094:10:1", + "referencedDeclaration": 1745, + "src": "44321:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } } @@ -22664,22 +22664,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], - "id": 2334, + "id": 1826, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2110, - "src": "43086:7:1", + "referencedDeclaration": 1602, + "src": "44313:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)" } }, - "id": 2337, + "id": 1829, "isConstant": false, "isLValue": false, "isPure": false, @@ -22687,78 +22687,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43086:19:1", + "src": "44313:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2333, - "id": 2338, + "functionReturnParameters": 1825, + "id": 1830, "nodeType": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ] }, "documentation": { - "id": 2327, + "id": 1819, "nodeType": "StructuredDocumentation", - "src": "42914:72:1", + "src": "44137:74:0", "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2340, + "id": 1832, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2330, + "id": 1822, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2329, + "id": 1821, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43007:28:1", + "scope": 1832, + "src": "44233:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2328, + "id": 1820, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43007:16:1", + "referencedDeclaration": 1746, + "src": "44233:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, "visibility": "internal" } ], - "src": "43006:30:1" + "src": "44232:30:0" }, "returnParameters": { - "id": 2333, + "id": 1825, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2332, + "id": 1824, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43060:7:1", + "scope": 1832, + "src": "44286:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22766,10 +22766,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2331, + "id": 1823, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43060:7:1", + "src": "44286:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22778,34 +22778,34 @@ "visibility": "internal" } ], - "src": "43059:9:1" + "src": "44285:9:0" }, - "scope": 2480, - "src": "42991:121:1", + "scope": 1972, + "src": "44217:123:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2378, + "id": 1870, "nodeType": "Block", - "src": "43538:135:1", + "src": "44777:138:0", "statements": [ { "assignments": [ - 2353, - 2355 + 1845, + 1847 ], "declarations": [ { "constant": false, - "id": 2353, + "id": 1845, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43549:11:1", + "scope": 1870, + "src": "44789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22813,10 +22813,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2352, + "id": 1844, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43549:7:1", + "src": "44789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22826,12 +22826,12 @@ }, { "constant": false, - "id": 2355, + "id": 1847, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43562:13:1", + "scope": 1870, + "src": "44802:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22839,10 +22839,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2354, + "id": 1846, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43562:7:1", + "src": "44802:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22851,43 +22851,43 @@ "visibility": "internal" } ], - "id": 2361, + "id": 1853, "initialValue": { "arguments": [ { "expression": { - "id": 2357, + "id": 1849, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2343, - "src": "43583:3:1", + "referencedDeclaration": 1835, + "src": "44823:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2358, + "id": 1850, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43583:10:1", + "referencedDeclaration": 1745, + "src": "44823:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { - "id": 2359, + "id": 1851, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2345, - "src": "43595:5:1", + "referencedDeclaration": 1837, + "src": "44835:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22897,7 +22897,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22905,18 +22905,18 @@ "typeString": "uint256" } ], - "id": 2356, + "id": 1848, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2145, - "src": "43579:3:1", + "referencedDeclaration": 1637, + "src": "44819:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)" } }, - "id": 2360, + "id": 1852, "isConstant": false, "isLValue": false, "isPure": false, @@ -22924,7 +22924,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43579:22:1", + "src": "44819:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", @@ -22932,7 +22932,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "expression": { @@ -22940,12 +22940,12 @@ { "arguments": [ { - "id": 2364, + "id": 1856, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2353, - "src": "43627:3:1", + "referencedDeclaration": 1845, + "src": "44868:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22959,26 +22959,26 @@ "typeString": "bytes32" } ], - "id": 2363, + "id": 1855, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2362, + "id": 1854, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": {} } }, - "id": 2365, + "id": 1857, "isConstant": false, "isLValue": false, "isPure": false, @@ -22986,7 +22986,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43619:12:1", + "src": "44860:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23000,12 +23000,12 @@ { "arguments": [ { - "id": 2372, + "id": 1864, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2355, - "src": "43657:5:1", + "referencedDeclaration": 1847, + "src": "44898:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23019,26 +23019,26 @@ "typeString": "bytes32" } ], - "id": 2371, + "id": 1863, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2370, + "id": 1862, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": {} } }, - "id": 2373, + "id": 1865, "isConstant": false, "isLValue": false, "isPure": false, @@ -23046,7 +23046,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43649:14:1", + "src": "44890:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23061,26 +23061,26 @@ "typeString": "uint256" } ], - "id": 2369, + "id": 1861, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2368, + "id": 1860, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": {} } }, - "id": 2374, + "id": 1866, "isConstant": false, "isLValue": false, "isPure": false, @@ -23088,7 +23088,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43641:23:1", + "src": "44882:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23103,26 +23103,26 @@ "typeString": "uint160" } ], - "id": 2367, + "id": 1859, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2366, + "id": 1858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": {} } }, - "id": 2375, + "id": 1867, "isConstant": false, "isLValue": false, "isPure": false, @@ -23130,7 +23130,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43633:32:1", + "src": "44874:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -23138,64 +23138,64 @@ } } ], - "id": 2376, + "id": 1868, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "43618:48:1", + "src": "44859:48:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_payable_$", "typeString": "tuple(uint256,address payable)" } }, - "functionReturnParameters": 2351, - "id": 2377, + "functionReturnParameters": 1843, + "id": 1869, "nodeType": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ] }, "documentation": { - "id": 2341, + "id": 1833, "nodeType": "StructuredDocumentation", - "src": "43117:318:1", + "src": "44347:326:0", "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2379, + "id": 1871, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2346, + "id": 1838, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2343, + "id": 1835, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43452:28:1", + "scope": 1871, + "src": "44691:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2342, + "id": 1834, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43452:16:1", + "referencedDeclaration": 1746, + "src": "44691:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23203,12 +23203,12 @@ }, { "constant": false, - "id": 2345, + "id": 1837, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43482:13:1", + "scope": 1871, + "src": "44721:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23216,10 +23216,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2344, + "id": 1836, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43482:7:1", + "src": "44721:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23228,20 +23228,20 @@ "visibility": "internal" } ], - "src": "43451:45:1" + "src": "44690:45:0" }, "returnParameters": { - "id": 2351, + "id": 1843, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2348, + "id": 1840, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43520:7:1", + "scope": 1871, + "src": "44759:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23249,10 +23249,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2347, + "id": 1839, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43520:7:1", + "src": "44759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23262,12 +23262,12 @@ }, { "constant": false, - "id": 2350, + "id": 1842, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43529:7:1", + "scope": 1871, + "src": "44768:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23275,10 +23275,10 @@ "typeString": "address" }, "typeName": { - "id": 2349, + "id": 1841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43529:7:1", + "src": "44768:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23288,34 +23288,34 @@ "visibility": "internal" } ], - "src": "43519:18:1" + "src": "44758:18:0" }, - "scope": 2480, - "src": "43440:233:1", + "scope": 1972, + "src": "44679:236:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2417, + "id": 1909, "nodeType": "Block", - "src": "43950:142:1", + "src": "45200:145:0", "statements": [ { "assignments": [ - 2392, - 2394 + 1884, + 1886 ], "declarations": [ { "constant": false, - "id": 2392, + "id": 1884, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43961:12:1", + "scope": 1909, + "src": "45212:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23323,10 +23323,10 @@ "typeString": "bool" }, "typeName": { - "id": 2391, + "id": 1883, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43961:4:1", + "src": "45212:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23336,12 +23336,12 @@ }, { "constant": false, - "id": 2394, + "id": 1886, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43975:13:1", + "scope": 1909, + "src": "45226:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23349,10 +23349,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2393, + "id": 1885, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43975:7:1", + "src": "45226:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23361,45 +23361,45 @@ "visibility": "internal" } ], - "id": 2403, + "id": 1895, "initialValue": { "arguments": [ { "expression": { - "id": 2396, + "id": 1888, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2382, - "src": "44000:3:1", + "referencedDeclaration": 1874, + "src": "45251:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2397, + "id": 1889, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44000:10:1", + "referencedDeclaration": 1745, + "src": "45251:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2400, + "id": 1892, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2384, - "src": "44020:3:1", + "referencedDeclaration": 1876, + "src": "45271:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23413,26 +23413,26 @@ "typeString": "uint256" } ], - "id": 2399, + "id": 1891, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2398, + "id": 1890, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": {} } }, - "id": 2401, + "id": 1893, "isConstant": false, "isLValue": false, "isPure": false, @@ -23440,7 +23440,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44012:12:1", + "src": "45263:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23451,7 +23451,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23459,18 +23459,18 @@ "typeString": "bytes32" } ], - "id": 2395, + "id": 1887, "name": "_tryGet", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2183, - "src": "43992:7:1", + "referencedDeclaration": 1675, + "src": "45243:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)" } }, - "id": 2402, + "id": 1894, "isConstant": false, "isLValue": false, "isPure": false, @@ -23478,7 +23478,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43992:33:1", + "src": "45243:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", @@ -23486,18 +23486,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "expression": { "components": [ { - "id": 2404, + "id": 1896, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2392, - "src": "44043:7:1", + "referencedDeclaration": 1884, + "src": "45295:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23510,12 +23510,12 @@ { "arguments": [ { - "id": 2411, + "id": 1903, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2394, - "src": "44076:5:1", + "referencedDeclaration": 1886, + "src": "45328:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23529,26 +23529,26 @@ "typeString": "bytes32" } ], - "id": 2410, + "id": 1902, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2409, + "id": 1901, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": {} } }, - "id": 2412, + "id": 1904, "isConstant": false, "isLValue": false, "isPure": false, @@ -23556,7 +23556,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44068:14:1", + "src": "45320:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23571,26 +23571,26 @@ "typeString": "uint256" } ], - "id": 2408, + "id": 1900, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2407, + "id": 1899, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": {} } }, - "id": 2413, + "id": 1905, "isConstant": false, "isLValue": false, "isPure": false, @@ -23598,7 +23598,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44060:23:1", + "src": "45312:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23613,26 +23613,26 @@ "typeString": "uint160" } ], - "id": 2406, + "id": 1898, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2405, + "id": 1897, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": {} } }, - "id": 2414, + "id": 1906, "isConstant": false, "isLValue": false, "isPure": false, @@ -23640,7 +23640,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44052:32:1", + "src": "45304:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -23648,64 +23648,64 @@ } } ], - "id": 2415, + "id": 1907, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "44042:43:1", + "src": "45294:43:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_address_payable_$", "typeString": "tuple(bool,address payable)" } }, - "functionReturnParameters": 2390, - "id": 2416, + "functionReturnParameters": 1882, + "id": 1908, "nodeType": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ] }, "documentation": { - "id": 2380, + "id": 1872, "nodeType": "StructuredDocumentation", - "src": "43679:169:1", + "src": "44923:174:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2418, + "id": 1910, "implemented": true, "kind": "function", "modifiers": [], "name": "tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2385, + "id": 1877, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2382, + "id": 1874, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43869:28:1", + "scope": 1910, + "src": "45119:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2381, + "id": 1873, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43869:16:1", + "referencedDeclaration": 1746, + "src": "45119:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23713,12 +23713,12 @@ }, { "constant": false, - "id": 2384, + "id": 1876, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43899:11:1", + "scope": 1910, + "src": "45149:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23726,10 +23726,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2383, + "id": 1875, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43899:7:1", + "src": "45149:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23738,20 +23738,20 @@ "visibility": "internal" } ], - "src": "43868:43:1" + "src": "45118:43:0" }, "returnParameters": { - "id": 2390, + "id": 1882, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2387, + "id": 1879, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43935:4:1", + "scope": 1910, + "src": "45185:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23759,10 +23759,10 @@ "typeString": "bool" }, "typeName": { - "id": 2386, + "id": 1878, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43935:4:1", + "src": "45185:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23772,12 +23772,12 @@ }, { "constant": false, - "id": 2389, + "id": 1881, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43941:7:1", + "scope": 1910, + "src": "45191:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23785,10 +23785,10 @@ "typeString": "address" }, "typeName": { - "id": 2388, + "id": 1880, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43941:7:1", + "src": "45191:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23798,19 +23798,19 @@ "visibility": "internal" } ], - "src": "43934:15:1" + "src": "45184:15:0" }, - "scope": 2480, - "src": "43853:239:1", + "scope": 1972, + "src": "45103:242:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2446, + "id": 1938, "nodeType": "Block", - "src": "44332:81:1", + "src": "45594:83:0", "statements": [ { "expression": { @@ -23823,40 +23823,40 @@ "arguments": [ { "expression": { - "id": 2435, + "id": 1927, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2421, - "src": "44378:3:1", + "referencedDeclaration": 1913, + "src": "45641:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2436, + "id": 1928, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44378:10:1", + "referencedDeclaration": 1745, + "src": "45641:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2439, + "id": 1931, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2423, - "src": "44398:3:1", + "referencedDeclaration": 1915, + "src": "45661:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23870,26 +23870,26 @@ "typeString": "uint256" } ], - "id": 2438, + "id": 1930, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2437, + "id": 1929, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": {} } }, - "id": 2440, + "id": 1932, "isConstant": false, "isLValue": false, "isPure": false, @@ -23897,7 +23897,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44390:12:1", + "src": "45653:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23908,7 +23908,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23916,21 +23916,21 @@ "typeString": "bytes32" } ], - "id": 2434, + "id": 1926, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, - "src": "44373:4:1", + "referencedDeclaration": 1708, + "src": "45636:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)" } }, - "id": 2441, + "id": 1933, "isConstant": false, "isLValue": false, "isPure": false, @@ -23938,7 +23938,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44373:30:1", + "src": "45636:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23953,26 +23953,26 @@ "typeString": "bytes32" } ], - "id": 2433, + "id": 1925, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2432, + "id": 1924, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": {} } }, - "id": 2442, + "id": 1934, "isConstant": false, "isLValue": false, "isPure": false, @@ -23980,7 +23980,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44365:39:1", + "src": "45628:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23995,26 +23995,26 @@ "typeString": "uint256" } ], - "id": 2431, + "id": 1923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2430, + "id": 1922, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": {} } }, - "id": 2443, + "id": 1935, "isConstant": false, "isLValue": false, "isPure": false, @@ -24022,7 +24022,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44357:48:1", + "src": "45620:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -24037,26 +24037,26 @@ "typeString": "uint160" } ], - "id": 2429, + "id": 1921, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2428, + "id": 1920, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": {} } }, - "id": 2444, + "id": 1936, "isConstant": false, "isLValue": false, "isPure": false, @@ -24064,58 +24064,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44349:57:1", + "src": "45612:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2427, - "id": 2445, + "functionReturnParameters": 1919, + "id": 1937, "nodeType": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ] }, "documentation": { - "id": 2419, + "id": 1911, "nodeType": "StructuredDocumentation", - "src": "44098:141:1", + "src": "45353:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2447, + "id": 1939, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2424, + "id": 1916, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2421, + "id": 1913, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44257:28:1", + "scope": 1939, + "src": "45519:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2420, + "id": 1912, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44257:16:1", + "referencedDeclaration": 1746, + "src": "45519:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -24123,12 +24123,12 @@ }, { "constant": false, - "id": 2423, + "id": 1915, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44287:11:1", + "scope": 1939, + "src": "45549:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24136,10 +24136,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2422, + "id": 1914, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44287:7:1", + "src": "45549:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24148,20 +24148,20 @@ "visibility": "internal" } ], - "src": "44256:43:1" + "src": "45518:43:0" }, "returnParameters": { - "id": 2427, + "id": 1919, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2426, + "id": 1918, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44323:7:1", + "scope": 1939, + "src": "45585:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24169,10 +24169,10 @@ "typeString": "address" }, "typeName": { - "id": 2425, + "id": 1917, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44323:7:1", + "src": "45585:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -24182,19 +24182,19 @@ "visibility": "internal" } ], - "src": "44322:9:1" + "src": "45584:9:0" }, - "scope": 2480, - "src": "44244:169:1", + "scope": 1972, + "src": "45506:171:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2478, + "id": 1970, "nodeType": "Block", - "src": "44809:95:1", + "src": "46081:97:0", "statements": [ { "expression": { @@ -24207,40 +24207,40 @@ "arguments": [ { "expression": { - "id": 2466, + "id": 1958, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2450, - "src": "44855:3:1", + "referencedDeclaration": 1942, + "src": "46128:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2467, + "id": 1959, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44855:10:1", + "referencedDeclaration": 1745, + "src": "46128:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2470, + "id": 1962, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2452, - "src": "44875:3:1", + "referencedDeclaration": 1944, + "src": "46148:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24254,26 +24254,26 @@ "typeString": "uint256" } ], - "id": 2469, + "id": 1961, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2468, + "id": 1960, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": {} } }, - "id": 2471, + "id": 1963, "isConstant": false, "isLValue": false, "isPure": false, @@ -24281,7 +24281,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44867:12:1", + "src": "46140:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -24289,12 +24289,12 @@ } }, { - "id": 2472, + "id": 1964, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2454, - "src": "44881:12:1", + "referencedDeclaration": 1946, + "src": "46154:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -24304,7 +24304,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -24316,21 +24316,21 @@ "typeString": "string memory" } ], - "id": 2465, + "id": 1957, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, - "src": "44850:4:1", + "referencedDeclaration": 1743, + "src": "46123:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)" } }, - "id": 2473, + "id": 1965, "isConstant": false, "isLValue": false, "isPure": false, @@ -24338,7 +24338,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44850:44:1", + "src": "46123:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -24353,26 +24353,26 @@ "typeString": "bytes32" } ], - "id": 2464, + "id": 1956, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2463, + "id": 1955, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": {} } }, - "id": 2474, + "id": 1966, "isConstant": false, "isLValue": false, "isPure": false, @@ -24380,7 +24380,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44842:53:1", + "src": "46115:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -24395,26 +24395,26 @@ "typeString": "uint256" } ], - "id": 2462, + "id": 1954, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2461, + "id": 1953, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": {} } }, - "id": 2475, + "id": 1967, "isConstant": false, "isLValue": false, "isPure": false, @@ -24422,7 +24422,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44834:62:1", + "src": "46107:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -24437,26 +24437,26 @@ "typeString": "uint160" } ], - "id": 2460, + "id": 1952, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2459, + "id": 1951, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": {} } }, - "id": 2476, + "id": 1968, "isConstant": false, "isLValue": false, "isPure": false, @@ -24464,58 +24464,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44826:71:1", + "src": "46099:71:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2458, - "id": 2477, + "functionReturnParameters": 1950, + "id": 1969, "nodeType": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ] }, "documentation": { - "id": 2448, + "id": 1940, "nodeType": "StructuredDocumentation", - "src": "44419:269:1", + "src": "45685:274:0", "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2479, + "id": 1971, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2455, + "id": 1947, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2450, + "id": 1942, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44706:28:1", + "scope": 1971, + "src": "45978:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2449, + "id": 1941, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44706:16:1", + "referencedDeclaration": 1746, + "src": "45978:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -24523,12 +24523,12 @@ }, { "constant": false, - "id": 2452, + "id": 1944, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44736:11:1", + "scope": 1971, + "src": "46008:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24536,10 +24536,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2451, + "id": 1943, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44736:7:1", + "src": "46008:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24549,12 +24549,12 @@ }, { "constant": false, - "id": 2454, + "id": 1946, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44749:26:1", + "scope": 1971, + "src": "46021:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24562,10 +24562,10 @@ "typeString": "string" }, "typeName": { - "id": 2453, + "id": 1945, "name": "string", "nodeType": "ElementaryTypeName", - "src": "44749:6:1", + "src": "46021:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -24574,20 +24574,20 @@ "visibility": "internal" } ], - "src": "44705:71:1" + "src": "45977:71:0" }, "returnParameters": { - "id": 2458, + "id": 1950, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2457, + "id": 1949, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44800:7:1", + "scope": 1971, + "src": "46072:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24595,10 +24595,10 @@ "typeString": "address" }, "typeName": { - "id": 2456, + "id": 1948, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44800:7:1", + "src": "46072:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -24608,20 +24608,20 @@ "visibility": "internal" } ], - "src": "44799:9:1" + "src": "46071:9:0" }, - "scope": 2480, - "src": "44693:211:1", + "scope": 1972, + "src": "45965:213:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "35943:8963:1" + "scope": 2991, + "src": "36981:9200:0" }, { - "id": 2481, + "id": 1973, "literals": [ "solidity", ">=", @@ -24632,7 +24632,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "abstract": false, @@ -24640,24 +24640,24 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 2482, + "id": 1974, "nodeType": "StructuredDocumentation", - "src": "44992:34:1", + "src": "46272:36:0", "text": " @dev String operations." }, "fullyImplemented": true, - "id": 2566, + "id": 2058, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 2564, + "id": 2056, "nodeType": "Block", - "src": "45207:654:1", + "src": "46494:675:0", "statements": [ { "condition": { @@ -24665,18 +24665,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2492, + "id": 1984, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2490, + "id": 1982, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45409:5:1", + "referencedDeclaration": 1977, + "src": "46700:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24686,72 +24686,72 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2491, + "id": 1983, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45418:1:1", + "src": "46709:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45409:10:1", + "src": "46700:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2496, + "id": 1988, "nodeType": "IfStatement", - "src": "45405:51:1", + "src": "46696:53:0", "trueBody": { - "id": 2495, + "id": 1987, "nodeType": "Block", - "src": "45421:35:1", + "src": "46712:37:0", "statements": [ { "expression": { "hexValue": "30", - "id": 2493, + "id": 1985, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "45442:3:1", + "src": "46734:3:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", "typeString": "literal_string \"0\"" }, "value": "0" }, - "functionReturnParameters": 2489, - "id": 2494, + "functionReturnParameters": 1981, + "id": 1986, "nodeType": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ] } }, { "assignments": [ - 2498 + 1990 ], "declarations": [ { "constant": false, - "id": 2498, + "id": 1990, "mutability": "mutable", "name": "temp", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45465:12:1", + "scope": 2056, + "src": "46759:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24759,10 +24759,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2497, + "id": 1989, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45465:7:1", + "src": "46759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24771,35 +24771,35 @@ "visibility": "internal" } ], - "id": 2500, + "id": 1992, "initialValue": { - "id": 2499, + "id": 1991, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45480:5:1", + "referencedDeclaration": 1977, + "src": "46774:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "assignments": [ - 2502 + 1994 ], "declarations": [ { "constant": false, - "id": 2502, + "id": 1994, "mutability": "mutable", "name": "digits", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45495:14:1", + "scope": 2056, + "src": "46790:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24807,10 +24807,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2501, + "id": 1993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45495:7:1", + "src": "46790:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24819,19 +24819,19 @@ "visibility": "internal" } ], - "id": 2503, + "id": 1995, "nodeType": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "body": { - "id": 2514, + "id": 2006, "nodeType": "Block", - "src": "45537:57:1", + "src": "46833:60:0", "statements": [ { "expression": { - "id": 2508, + "id": 2000, "isConstant": false, "isLValue": false, "isPure": false, @@ -24839,14 +24839,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "45551:8:1", + "src": "46848:8:0", "subExpression": { - "id": 2507, + "id": 1999, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45551:6:1", + "referencedDeclaration": 1994, + "src": "46848:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24857,24 +24857,24 @@ "typeString": "uint256" } }, - "id": 2509, + "id": 2001, "nodeType": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "expression": { - "id": 2512, + "id": 2004, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2510, + "id": 2002, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45573:4:1", + "referencedDeclaration": 1990, + "src": "46871:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24884,29 +24884,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2511, + "id": 2003, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45581:2:1", + "src": "46879:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45573:10:1", + "src": "46871:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2513, + "id": 2005, "nodeType": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ] }, @@ -24915,18 +24915,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2506, + "id": 1998, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2504, + "id": 1996, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45526:4:1", + "referencedDeclaration": 1990, + "src": "46822:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24936,43 +24936,43 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2505, + "id": 1997, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45534:1:1", + "src": "46830:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45526:9:1", + "src": "46822:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2515, + "id": 2007, "nodeType": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "assignments": [ - 2517 + 2009 ], "declarations": [ { "constant": false, - "id": 2517, + "id": 2009, "mutability": "mutable", "name": "buffer", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45603:19:1", + "scope": 2056, + "src": "46903:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24980,10 +24980,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2516, + "id": 2008, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45603:5:1", + "src": "46903:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -24992,16 +24992,16 @@ "visibility": "internal" } ], - "id": 2522, + "id": 2014, "initialValue": { "arguments": [ { - "id": 2520, + "id": 2012, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45635:6:1", + "referencedDeclaration": 1994, + "src": "46935:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25015,29 +25015,29 @@ "typeString": "uint256" } ], - "id": 2519, + "id": 2011, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", - "src": "45625:9:1", + "src": "46925:9:0", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", "typeString": "function (uint256) pure returns (bytes memory)" }, "typeName": { - "id": 2518, + "id": 2010, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45629:5:1", + "src": "46929:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } } }, - "id": 2521, + "id": 2013, "isConstant": false, "isLValue": false, "isPure": false, @@ -25045,7 +25045,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45625:17:1", + "src": "46925:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -25053,21 +25053,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "assignments": [ - 2524 + 2016 ], "declarations": [ { "constant": false, - "id": 2524, + "id": 2016, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45652:13:1", + "scope": 2056, + "src": "46953:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25075,10 +25075,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2523, + "id": 2015, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45652:7:1", + "src": "46953:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25087,24 +25087,24 @@ "visibility": "internal" } ], - "id": 2528, + "id": 2020, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2527, + "id": 2019, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2525, + "id": 2017, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45668:6:1", + "referencedDeclaration": 1994, + "src": "46969:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25114,43 +25114,43 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2526, + "id": 2018, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45677:1:1", + "src": "46978:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "45668:10:1", + "src": "46969:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "expression": { - "id": 2531, + "id": 2023, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2529, + "id": 2021, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45688:4:1", + "referencedDeclaration": 1990, + "src": "46990:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25159,56 +25159,56 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2530, + "id": 2022, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45695:5:1", + "referencedDeclaration": 1977, + "src": "46997:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45688:12:1", + "src": "46990:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2532, + "id": 2024, "nodeType": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "body": { - "id": 2557, + "id": 2049, "nodeType": "Block", - "src": "45728:96:1", + "src": "47031:99:0", "statements": [ { "expression": { - "id": 2551, + "id": 2043, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2536, + "id": 2028, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45742:6:1", + "referencedDeclaration": 2009, + "src": "47046:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2539, + "id": 2031, "indexExpression": { - "id": 2538, + "id": 2030, "isConstant": false, "isLValue": false, "isPure": false, @@ -25216,14 +25216,14 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "45749:7:1", + "src": "47053:7:0", "subExpression": { - "id": 2537, + "id": 2029, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2524, - "src": "45749:5:1", + "referencedDeclaration": 2016, + "src": "47053:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25239,7 +25239,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "45742:15:1", + "src": "47046:15:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -25256,21 +25256,21 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2548, + "id": 2040, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "hexValue": "3438", - "id": 2544, + "id": 2036, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45773:2:1", + "src": "47077:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_48_by_1", "typeString": "int_const 48" @@ -25284,18 +25284,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2547, + "id": 2039, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2545, + "id": 2037, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45778:4:1", + "referencedDeclaration": 1990, + "src": "47082:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25305,27 +25305,27 @@ "operator": "%", "rightExpression": { "hexValue": "3130", - "id": 2546, + "id": 2038, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45785:2:1", + "src": "47089:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45778:9:1", + "src": "47082:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45773:14:1", + "src": "47077:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25339,26 +25339,26 @@ "typeString": "uint256" } ], - "id": 2543, + "id": 2035, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint8_$", "typeString": "type(uint8)" }, "typeName": { - "id": 2542, + "id": 2034, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": {} } }, - "id": 2549, + "id": 2041, "isConstant": false, "isLValue": false, "isPure": false, @@ -25366,7 +25366,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45767:21:1", + "src": "47071:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint8", @@ -25381,26 +25381,26 @@ "typeString": "uint8" } ], - "id": 2541, + "id": 2033, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": { - "id": 2540, + "id": 2032, "name": "bytes1", "nodeType": "ElementaryTypeName", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": {} } }, - "id": 2550, + "id": 2042, "isConstant": false, "isLValue": false, "isPure": false, @@ -25408,37 +25408,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45760:29:1", + "src": "47064:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "45742:47:1", + "src": "47046:47:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "id": 2552, + "id": 2044, "nodeType": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "expression": { - "id": 2555, + "id": 2047, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2553, + "id": 2045, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45803:4:1", + "referencedDeclaration": 1990, + "src": "47108:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25448,29 +25448,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2554, + "id": 2046, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45811:2:1", + "src": "47116:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45803:10:1", + "src": "47108:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2556, + "id": 2048, "nodeType": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ] }, @@ -25479,18 +25479,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2535, + "id": 2027, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2533, + "id": 2025, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45717:4:1", + "referencedDeclaration": 1990, + "src": "47020:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25500,40 +25500,40 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2534, + "id": 2026, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45725:1:1", + "src": "47028:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45717:9:1", + "src": "47020:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2558, + "id": 2050, "nodeType": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "expression": { "arguments": [ { - "id": 2561, + "id": 2053, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45847:6:1", + "referencedDeclaration": 2009, + "src": "47154:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -25547,26 +25547,26 @@ "typeString": "bytes memory" } ], - "id": 2560, + "id": 2052, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2559, + "id": 2051, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": {} } }, - "id": 2562, + "id": 2054, "isConstant": false, "isLValue": false, "isPure": false, @@ -25574,44 +25574,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45840:14:1", + "src": "47147:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2489, - "id": 2563, + "functionReturnParameters": 1981, + "id": 2055, "nodeType": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ] }, "documentation": { - "id": 2483, + "id": 1975, "nodeType": "StructuredDocumentation", - "src": "45049:82:1", + "src": "46333:84:0", "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2565, + "id": 2057, "implemented": true, "kind": "function", "modifiers": [], "name": "toString", "nodeType": "FunctionDefinition", "parameters": { - "id": 2486, + "id": 1978, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2485, + "id": 1977, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45154:13:1", + "scope": 2057, + "src": "46441:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25619,10 +25619,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2484, + "id": 1976, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45154:7:1", + "src": "46441:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25631,20 +25631,20 @@ "visibility": "internal" } ], - "src": "45153:15:1" + "src": "46440:15:0" }, "returnParameters": { - "id": 2489, + "id": 1981, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2488, + "id": 1980, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45192:13:1", + "scope": 2057, + "src": "46479:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -25652,10 +25652,10 @@ "typeString": "string" }, "typeName": { - "id": 2487, + "id": 1979, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45192:6:1", + "src": "46479:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25664,20 +25664,20 @@ "visibility": "internal" } ], - "src": "45191:15:1" + "src": "46478:15:0" }, - "scope": 2566, - "src": "45136:725:1", + "scope": 2058, + "src": "46423:746:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "45027:836:1" + "scope": 2991, + "src": "46310:862:0" }, { - "id": 2567, + "id": 2059, "literals": [ "solidity", ">=", @@ -25688,141 +25688,141 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 2569, + "id": 2061, "name": "Context", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 530, - "src": "46099:7:1", + "referencedDeclaration": 22, + "src": "47417:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 2570, + "id": 2062, "nodeType": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "baseName": { - "id": 2571, + "id": 2063, "name": "ERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 781, - "src": "46108:6:1", + "referencedDeclaration": 273, + "src": "47426:6:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC165_$781", + "typeIdentifier": "t_contract$_ERC165_$273", "typeString": "contract ERC165" } }, - "id": 2572, + "id": 2064, "nodeType": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "baseName": { - "id": 2573, + "id": 2065, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "46116:7:1", + "referencedDeclaration": 147, + "src": "47434:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 2574, + "id": 2066, "nodeType": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "baseName": { - "id": 2575, + "id": 2067, "name": "IERC721Metadata", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 680, - "src": "46125:15:1", + "referencedDeclaration": 172, + "src": "47443:15:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Metadata_$680", + "typeIdentifier": "t_contract$_IERC721Metadata_$172", "typeString": "contract IERC721Metadata" } }, - "id": 2576, + "id": 2068, "nodeType": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "baseName": { - "id": 2577, + "id": 2069, "name": "IERC721Enumerable", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 709, - "src": "46142:17:1", + "referencedDeclaration": 201, + "src": "47460:17:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Enumerable_$709", + "typeIdentifier": "t_contract$_IERC721Enumerable_$201", "typeString": "contract IERC721Enumerable" } }, - "id": 2578, + "id": 2070, "nodeType": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" } ], "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "documentation": { - "id": 2568, + "id": 2060, "nodeType": "StructuredDocumentation", - "src": "45955:124:1", + "src": "47269:127:0", "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": true, - "id": 3498, + "id": 2990, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", "nodeType": "ContractDefinition", "nodes": [ { - "id": 2581, + "id": 2073, "libraryName": { - "id": 2579, + "id": 2071, "name": "SafeMath", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1135, - "src": "46172:8:1", + "referencedDeclaration": 627, + "src": "47491:8:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$1135", + "typeIdentifier": "t_contract$_SafeMath_$627", "typeString": "library SafeMath" } }, "nodeType": "UsingForDirective", - "src": "46166:27:1", + "src": "47485:27:0", "typeName": { - "id": 2580, + "id": 2072, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46185:7:1", + "src": "47504:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25830,25 +25830,25 @@ } }, { - "id": 2584, + "id": 2076, "libraryName": { - "id": 2582, + "id": 2074, "name": "Address", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1430, - "src": "46204:7:1", + "referencedDeclaration": 922, + "src": "47524:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } }, "nodeType": "UsingForDirective", - "src": "46198:26:1", + "src": "47518:26:0", "typeName": { - "id": 2583, + "id": 2075, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46216:7:1", + "src": "47536:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25857,79 +25857,79 @@ } }, { - "id": 2587, + "id": 2079, "libraryName": { - "id": 2585, + "id": 2077, "name": "EnumerableSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1921, - "src": "46235:13:1", + "referencedDeclaration": 1413, + "src": "47556:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableSet_$1921", + "typeIdentifier": "t_contract$_EnumerableSet_$1413", "typeString": "library EnumerableSet" } }, "nodeType": "UsingForDirective", - "src": "46229:46:1", + "src": "47550:46:0", "typeName": { - "id": 2586, + "id": 2078, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46253:21:1", + "referencedDeclaration": 1318, + "src": "47574:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } }, { - "id": 2590, + "id": 2082, "libraryName": { - "id": 2588, + "id": 2080, "name": "EnumerableMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2480, - "src": "46286:13:1", + "referencedDeclaration": 1972, + "src": "47608:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableMap_$2480", + "typeIdentifier": "t_contract$_EnumerableMap_$1972", "typeString": "library EnumerableMap" } }, "nodeType": "UsingForDirective", - "src": "46280:55:1", + "src": "47602:55:0", "typeName": { - "id": 2589, + "id": 2081, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46304:30:1", + "referencedDeclaration": 1746, + "src": "47626:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } } }, { - "id": 2593, + "id": 2085, "libraryName": { - "id": 2591, + "id": 2083, "name": "Strings", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2566, - "src": "46346:7:1", + "referencedDeclaration": 2058, + "src": "47669:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Strings_$2566", + "typeIdentifier": "t_contract$_Strings_$2058", "typeString": "library Strings" } }, "nodeType": "UsingForDirective", - "src": "46340:26:1", + "src": "47663:26:0", "typeName": { - "id": 2592, + "id": 2084, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46358:7:1", + "src": "47681:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25938,12 +25938,12 @@ }, { "constant": true, - "id": 2596, + "id": 2088, "mutability": "constant", "name": "_ERC721_RECEIVED", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46544:53:1", + "scope": 2990, + "src": "47871:53:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25951,10 +25951,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2594, + "id": 2086, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "46544:6:1", + "src": "47871:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -25962,14 +25962,14 @@ }, "value": { "hexValue": "30783135306237613032", - "id": 2595, + "id": 2087, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "46587:10:1", + "src": "47914:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_353073666_by_1", "typeString": "int_const 353073666" @@ -25980,44 +25980,44 @@ }, { "constant": false, - "id": 2600, + "id": 2092, "mutability": "mutable", "name": "_holderTokens", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46681:64:1", + "scope": 2990, + "src": "48011:64:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "typeName": { - "id": 2599, + "id": 2091, "keyType": { - "id": 2597, + "id": 2089, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46690:7:1", + "src": "48020:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "46681:42:1", + "src": "48011:42:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "valueType": { - "id": 2598, + "id": 2090, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46701:21:1", + "referencedDeclaration": 1318, + "src": "48031:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } @@ -26026,26 +26026,26 @@ }, { "constant": false, - "id": 2602, + "id": 2094, "mutability": "mutable", "name": "_tokenOwners", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46809:51:1", + "scope": 2990, + "src": "48142:51:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2601, + "id": 2093, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46809:30:1", + "referencedDeclaration": 1746, + "src": "48142:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -26053,12 +26053,12 @@ }, { "constant": false, - "id": 2606, + "id": 2098, "mutability": "mutable", "name": "_tokenApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46916:52:1", + "scope": 2990, + "src": "48252:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26066,28 +26066,28 @@ "typeString": "mapping(uint256 => address)" }, "typeName": { - "id": 2605, + "id": 2097, "keyType": { - "id": 2603, + "id": 2095, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46925:7:1", + "src": "48261:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "46916:28:1", + "src": "48252:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" }, "valueType": { - "id": 2604, + "id": 2096, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46936:7:1", + "src": "48272:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26099,12 +26099,12 @@ }, { "constant": false, - "id": 2612, + "id": 2104, "mutability": "mutable", "name": "_operatorApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47023:73:1", + "scope": 2990, + "src": "48362:73:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26112,46 +26112,46 @@ "typeString": "mapping(address => mapping(address => bool))" }, "typeName": { - "id": 2611, + "id": 2103, "keyType": { - "id": 2607, + "id": 2099, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47032:7:1", + "src": "48371:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47023:46:1", + "src": "48362:46:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" }, "valueType": { - "id": 2610, + "id": 2102, "keyType": { - "id": 2608, + "id": 2100, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47052:7:1", + "src": "48391:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47043:25:1", + "src": "48382:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" }, "valueType": { - "id": 2609, + "id": 2101, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "47063:4:1", + "src": "48402:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -26163,12 +26163,12 @@ }, { "constant": false, - "id": 2614, + "id": 2106, "mutability": "mutable", "name": "_name", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47121:20:1", + "scope": 2990, + "src": "48463:20:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26176,10 +26176,10 @@ "typeString": "string" }, "typeName": { - "id": 2613, + "id": 2105, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47121:6:1", + "src": "48463:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26189,12 +26189,12 @@ }, { "constant": false, - "id": 2616, + "id": 2108, "mutability": "mutable", "name": "_symbol", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47168:22:1", + "scope": 2990, + "src": "48513:22:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26202,10 +26202,10 @@ "typeString": "string" }, "typeName": { - "id": 2615, + "id": 2107, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47168:6:1", + "src": "48513:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26215,12 +26215,12 @@ }, { "constant": false, - "id": 2620, + "id": 2112, "mutability": "mutable", "name": "_tokenURIs", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47236:46:1", + "scope": 2990, + "src": "48584:46:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26228,28 +26228,28 @@ "typeString": "mapping(uint256 => string)" }, "typeName": { - "id": 2619, + "id": 2111, "keyType": { - "id": 2617, + "id": 2109, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "47245:7:1", + "src": "48593:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "47236:27:1", + "src": "48584:27:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string)" }, "valueType": { - "id": 2618, + "id": 2110, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47256:6:1", + "src": "48604:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26260,12 +26260,12 @@ }, { "constant": false, - "id": 2622, + "id": 2114, "mutability": "mutable", "name": "_baseURI", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47305:23:1", + "scope": 2990, + "src": "48656:23:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26273,10 +26273,10 @@ "typeString": "string" }, "typeName": { - "id": 2621, + "id": 2113, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47305:6:1", + "src": "48656:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26286,12 +26286,12 @@ }, { "constant": true, - "id": 2625, + "id": 2117, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48204:57:1", + "scope": 2990, + "src": "49571:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26299,10 +26299,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2623, + "id": 2115, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48204:6:1", + "src": "49571:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26310,14 +26310,14 @@ }, "value": { "hexValue": "30783830616335386364", - "id": 2624, + "id": 2116, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48251:10:1", + "src": "49618:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2158778573_by_1", "typeString": "int_const 2158778573" @@ -26328,12 +26328,12 @@ }, { "constant": true, - "id": 2628, + "id": 2120, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48527:66:1", + "scope": 2990, + "src": "49903:66:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26341,10 +26341,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2626, + "id": 2118, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48527:6:1", + "src": "49903:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26352,14 +26352,14 @@ }, "value": { "hexValue": "30783562356531333966", - "id": 2627, + "id": 2119, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48583:10:1", + "src": "49959:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_1532892063_by_1", "typeString": "int_const 1532892063" @@ -26370,12 +26370,12 @@ }, { "constant": true, - "id": 2631, + "id": 2123, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48898:68:1", + "scope": 2990, + "src": "50283:68:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26383,10 +26383,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2629, + "id": 2121, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48898:6:1", + "src": "50283:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26394,14 +26394,14 @@ }, "value": { "hexValue": "30783738306539643633", - "id": 2630, + "id": 2122, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48956:10:1", + "src": "50341:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2014223715_by_1", "typeString": "int_const 2014223715" @@ -26412,24 +26412,24 @@ }, { "body": { - "id": 2659, + "id": 2151, "nodeType": "Block", - "src": "49143:305:1", + "src": "50533:313:0", "statements": [ { "expression": { - "id": 2641, + "id": 2133, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2639, + "id": 2131, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "49153:5:1", + "referencedDeclaration": 2106, + "src": "50544:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26438,41 +26438,41 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2640, + "id": 2132, "name": "name_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2634, - "src": "49161:5:1", + "referencedDeclaration": 2126, + "src": "50552:5:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49153:13:1", + "src": "50544:13:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2642, + "id": 2134, "nodeType": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "expression": { - "id": 2645, + "id": 2137, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2643, + "id": 2135, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "49176:7:1", + "referencedDeclaration": 2108, + "src": "50568:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26481,37 +26481,37 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2644, + "id": 2136, "name": "symbol_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2636, - "src": "49186:7:1", + "referencedDeclaration": 2128, + "src": "50578:7:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49176:17:1", + "src": "50568:17:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2646, + "id": 2138, "nodeType": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "expression": { "arguments": [ { - "id": 2648, + "id": 2140, "name": "_INTERFACE_ID_ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2625, - "src": "49300:20:1", + "referencedDeclaration": 2117, + "src": "50695:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26525,18 +26525,18 @@ "typeString": "bytes4" } ], - "id": 2647, + "id": 2139, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49281:18:1", + "referencedDeclaration": 272, + "src": "50676:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2649, + "id": 2141, "isConstant": false, "isLValue": false, "isPure": false, @@ -26544,27 +26544,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49281:40:1", + "src": "50676:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2650, + "id": 2142, "nodeType": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "expression": { "arguments": [ { - "id": 2652, + "id": 2144, "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2628, - "src": "49350:29:1", + "referencedDeclaration": 2120, + "src": "50746:29:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26578,18 +26578,18 @@ "typeString": "bytes4" } ], - "id": 2651, + "id": 2143, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49331:18:1", + "referencedDeclaration": 272, + "src": "50727:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2653, + "id": 2145, "isConstant": false, "isLValue": false, "isPure": false, @@ -26597,27 +26597,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49331:49:1", + "src": "50727:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2654, + "id": 2146, "nodeType": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "expression": { "arguments": [ { - "id": 2656, + "id": 2148, "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2631, - "src": "49409:31:1", + "referencedDeclaration": 2123, + "src": "50806:31:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26631,18 +26631,18 @@ "typeString": "bytes4" } ], - "id": 2655, + "id": 2147, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49390:18:1", + "referencedDeclaration": 272, + "src": "50787:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2657, + "id": 2149, "isConstant": false, "isLValue": false, "isPure": false, @@ -26650,43 +26650,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49390:51:1", + "src": "50787:51:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2658, + "id": 2150, "nodeType": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ] }, "documentation": { - "id": 2632, + "id": 2124, "nodeType": "StructuredDocumentation", - "src": "48973:108:1", + "src": "50360:110:0", "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2660, + "id": 2152, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 2637, + "id": 2129, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2634, + "id": 2126, "mutability": "mutable", "name": "name_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49099:19:1", + "scope": 2152, + "src": "50489:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26694,10 +26694,10 @@ "typeString": "string" }, "typeName": { - "id": 2633, + "id": 2125, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49099:6:1", + "src": "50489:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26707,12 +26707,12 @@ }, { "constant": false, - "id": 2636, + "id": 2128, "mutability": "mutable", "name": "symbol_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49120:21:1", + "scope": 2152, + "src": "50510:21:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26720,10 +26720,10 @@ "typeString": "string" }, "typeName": { - "id": 2635, + "id": 2127, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49120:6:1", + "src": "50510:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26732,28 +26732,28 @@ "visibility": "internal" } ], - "src": "49098:44:1" + "src": "50488:44:0" }, "returnParameters": { - "id": 2638, + "id": 2130, "nodeType": "ParameterList", "parameters": [], - "src": "49143:0:1" + "src": "50533:0:0" }, - "scope": 3498, - "src": "49086:362:1", + "scope": 2990, + "src": "50476:370:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { "baseFunctions": [ - 580 + 72 ], "body": { - "id": 2685, + "id": 2177, "nodeType": "Block", - "src": "49588:137:1", + "src": "50991:140:0", "statements": [ { "expression": { @@ -26763,18 +26763,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2675, + "id": 2167, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2670, + "id": 2162, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49606:5:1", + "referencedDeclaration": 2155, + "src": "51010:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26786,14 +26786,14 @@ "arguments": [ { "hexValue": "30", - "id": 2673, + "id": 2165, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "49623:1:1", + "src": "51027:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -26808,26 +26808,26 @@ "typeString": "int_const 0" } ], - "id": 2672, + "id": 2164, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2671, + "id": 2163, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": {} } }, - "id": 2674, + "id": 2166, "isConstant": false, "isLValue": false, "isPure": true, @@ -26835,14 +26835,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49615:10:1", + "src": "51019:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "49606:19:1", + "src": "51010:19:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -26850,14 +26850,14 @@ }, { "hexValue": "4552433732313a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373", - "id": 2676, + "id": 2168, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49627:44:1", + "src": "51031:44:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7395d4d3901c50cdfcab223d072f9aa36241df5d883e62cbf147ee1b05a9e6ba", "typeString": "literal_string \"ERC721: balance query for the zero address\"" @@ -26876,7 +26876,7 @@ "typeString": "literal_string \"ERC721: balance query for the zero address\"" } ], - "id": 2669, + "id": 2161, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -26884,13 +26884,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "49598:7:1", + "src": "51002:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2677, + "id": 2169, "isConstant": false, "isLValue": false, "isPure": false, @@ -26898,16 +26898,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49598:74:1", + "src": "51002:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2678, + "id": 2170, "nodeType": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "expression": { @@ -26916,25 +26916,25 @@ "argumentTypes": [], "expression": { "baseExpression": { - "id": 2679, + "id": 2171, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "49689:13:1", + "referencedDeclaration": 2092, + "src": "51094:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2681, + "id": 2173, "indexExpression": { - "id": 2680, + "id": 2172, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49703:5:1", + "referencedDeclaration": 2155, + "src": "51108:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26945,27 +26945,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "49689:20:1", + "src": "51094:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2682, + "id": 2174, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 1900, - "src": "49689:27:1", + "referencedDeclaration": 1392, + "src": "51094:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" } }, - "id": 2683, + "id": 2175, "isConstant": false, "isLValue": false, "isPure": false, @@ -26973,51 +26973,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49689:29:1", + "src": "51094:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2668, - "id": 2684, + "functionReturnParameters": 2160, + "id": 2176, "nodeType": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ] }, "documentation": { - "id": 2661, + "id": 2153, "nodeType": "StructuredDocumentation", - "src": "49454:48:1", + "src": "50854:50:0", "text": " @dev See {IERC721-balanceOf}." }, "functionSelector": "70a08231", - "id": 2686, + "id": 2178, "implemented": true, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2665, + "id": 2157, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49561:8:1" + "src": "50964:8:0" }, "parameters": { - "id": 2664, + "id": 2156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2663, + "id": 2155, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49526:13:1", + "scope": 2178, + "src": "50929:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27025,10 +27025,10 @@ "typeString": "address" }, "typeName": { - "id": 2662, + "id": 2154, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49526:7:1", + "src": "50929:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -27038,20 +27038,20 @@ "visibility": "internal" } ], - "src": "49525:15:1" + "src": "50928:15:0" }, "returnParameters": { - "id": 2668, + "id": 2160, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2667, + "id": 2159, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49579:7:1", + "scope": 2178, + "src": "50982:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27059,10 +27059,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2666, + "id": 2158, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49579:7:1", + "src": "50982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27071,33 +27071,33 @@ "visibility": "internal" } ], - "src": "49578:9:1" + "src": "50981:9:0" }, - "scope": 3498, - "src": "49507:218:1", + "scope": 2990, + "src": "50910:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 588 + 80 ], "body": { - "id": 2701, + "id": 2193, "nodeType": "Block", - "src": "49863:94:1", + "src": "51274:96:0", "statements": [ { "expression": { "arguments": [ { - "id": 2697, + "id": 2189, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2689, - "src": "49897:7:1", + "referencedDeclaration": 2181, + "src": "51309:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27105,14 +27105,14 @@ }, { "hexValue": "4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2698, + "id": 2190, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49906:43:1", + "src": "51318:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7481f3df2a424c0755a1ad2356614e9a5a358d461ea2eae1f89cb21cbad00397", "typeString": "literal_string \"ERC721: owner query for nonexistent token\"" @@ -27132,32 +27132,32 @@ } ], "expression": { - "id": 2695, + "id": 2187, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "49880:12:1", + "referencedDeclaration": 2094, + "src": "51292:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2696, + "id": 2188, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "get", "nodeType": "MemberAccess", - "referencedDeclaration": 2479, - "src": "49880:16:1", + "referencedDeclaration": 1971, + "src": "51292:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" } }, - "id": 2699, + "id": 2191, "isConstant": false, "isLValue": false, "isPure": false, @@ -27165,51 +27165,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49880:70:1", + "src": "51292:70:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2694, - "id": 2700, + "functionReturnParameters": 2186, + "id": 2192, "nodeType": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ] }, "documentation": { - "id": 2687, + "id": 2179, "nodeType": "StructuredDocumentation", - "src": "49731:46:1", + "src": "51139:48:0", "text": " @dev See {IERC721-ownerOf}." }, "functionSelector": "6352211e", - "id": 2702, + "id": 2194, "implemented": true, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2691, + "id": 2183, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49836:8:1" + "src": "51247:8:0" }, "parameters": { - "id": 2690, + "id": 2182, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2689, + "id": 2181, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49799:15:1", + "scope": 2194, + "src": "51210:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27217,10 +27217,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2688, + "id": 2180, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49799:7:1", + "src": "51210:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27229,20 +27229,20 @@ "visibility": "internal" } ], - "src": "49798:17:1" + "src": "51209:17:0" }, "returnParameters": { - "id": 2694, + "id": 2186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2693, + "id": 2185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49854:7:1", + "scope": 2194, + "src": "51265:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27250,10 +27250,10 @@ "typeString": "address" }, "typeName": { - "id": 2692, + "id": 2184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49854:7:1", + "src": "51265:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -27263,80 +27263,80 @@ "visibility": "internal" } ], - "src": "49853:9:1" + "src": "51264:9:0" }, - "scope": 3498, - "src": "49782:175:1", + "scope": 2990, + "src": "51193:177:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 665 + 157 ], "body": { - "id": 2711, + "id": 2203, "nodeType": "Block", - "src": "50088:29:1", + "src": "51506:31:0", "statements": [ { "expression": { - "id": 2709, + "id": 2201, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "50105:5:1", + "referencedDeclaration": 2106, + "src": "51524:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2708, - "id": 2710, + "functionReturnParameters": 2200, + "id": 2202, "nodeType": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ] }, "documentation": { - "id": 2703, + "id": 2195, "nodeType": "StructuredDocumentation", - "src": "49963:51:1", + "src": "51378:53:0", "text": " @dev See {IERC721Metadata-name}." }, "functionSelector": "06fdde03", - "id": 2712, + "id": 2204, "implemented": true, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "overrides": { - "id": 2705, + "id": 2197, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50055:8:1" + "src": "51473:8:0" }, "parameters": { - "id": 2704, + "id": 2196, "nodeType": "ParameterList", "parameters": [], - "src": "50032:2:1" + "src": "51450:2:0" }, "returnParameters": { - "id": 2708, + "id": 2200, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2707, + "id": 2199, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2712, - "src": "50073:13:1", + "scope": 2204, + "src": "51491:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27344,10 +27344,10 @@ "typeString": "string" }, "typeName": { - "id": 2706, + "id": 2198, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50073:6:1", + "src": "51491:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27356,80 +27356,80 @@ "visibility": "internal" } ], - "src": "50072:15:1" + "src": "51490:15:0" }, - "scope": 3498, - "src": "50019:98:1", + "scope": 2990, + "src": "51437:100:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 671 + 163 ], "body": { - "id": 2721, + "id": 2213, "nodeType": "Block", - "src": "50252:31:1", + "src": "51677:33:0", "statements": [ { "expression": { - "id": 2719, + "id": 2211, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "50269:7:1", + "referencedDeclaration": 2108, + "src": "51695:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2718, - "id": 2720, + "functionReturnParameters": 2210, + "id": 2212, "nodeType": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ] }, "documentation": { - "id": 2713, + "id": 2205, "nodeType": "StructuredDocumentation", - "src": "50123:53:1", + "src": "51545:55:0", "text": " @dev See {IERC721Metadata-symbol}." }, "functionSelector": "95d89b41", - "id": 2722, + "id": 2214, "implemented": true, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "overrides": { - "id": 2715, + "id": 2207, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50219:8:1" + "src": "51644:8:0" }, "parameters": { - "id": 2714, + "id": 2206, "nodeType": "ParameterList", "parameters": [], - "src": "50196:2:1" + "src": "51621:2:0" }, "returnParameters": { - "id": 2718, + "id": 2210, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2717, + "id": 2209, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2722, - "src": "50237:13:1", + "scope": 2214, + "src": "51662:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27437,10 +27437,10 @@ "typeString": "string" }, "typeName": { - "id": 2716, + "id": 2208, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50237:6:1", + "src": "51662:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27449,22 +27449,22 @@ "visibility": "internal" } ], - "src": "50236:15:1" + "src": "51661:15:0" }, - "scope": 3498, - "src": "50181:102:1", + "scope": 2990, + "src": "51606:104:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 679 + 171 ], "body": { - "id": 2789, + "id": 2281, "nodeType": "Block", - "src": "50437:688:1", + "src": "51869:704:0", "statements": [ { "expression": { @@ -27472,12 +27472,12 @@ { "arguments": [ { - "id": 2733, + "id": 2225, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50463:7:1", + "referencedDeclaration": 2217, + "src": "51896:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27491,18 +27491,18 @@ "typeString": "uint256" } ], - "id": 2732, + "id": 2224, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "50455:7:1", + "referencedDeclaration": 2577, + "src": "51888:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2734, + "id": 2226, "isConstant": false, "isLValue": false, "isPure": false, @@ -27510,7 +27510,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50455:16:1", + "src": "51888:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -27519,14 +27519,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2735, + "id": 2227, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "50473:49:1", + "src": "51906:49:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a2d45c0fba603d40d82d590051761ca952d1ab9d78cca6d0d464d7b6e961a9cb", "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" @@ -27545,7 +27545,7 @@ "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" } ], - "id": 2731, + "id": 2223, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -27553,13 +27553,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "50447:7:1", + "src": "51880:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2736, + "id": 2228, "isConstant": false, "isLValue": false, "isPure": false, @@ -27567,30 +27567,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50447:76:1", + "src": "51880:76:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2737, + "id": 2229, "nodeType": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "assignments": [ - 2739 + 2231 ], "declarations": [ { "constant": false, - "id": 2739, + "id": 2231, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50534:23:1", + "scope": 2281, + "src": "51969:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27598,10 +27598,10 @@ "typeString": "string" }, "typeName": { - "id": 2738, + "id": 2230, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50534:6:1", + "src": "51969:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27610,28 +27610,28 @@ "visibility": "internal" } ], - "id": 2743, + "id": 2235, "initialValue": { "baseExpression": { - "id": 2740, + "id": 2232, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "50560:10:1", + "referencedDeclaration": 2112, + "src": "51995:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 2742, + "id": 2234, "indexExpression": { - "id": 2741, + "id": 2233, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50571:7:1", + "referencedDeclaration": 2217, + "src": "52006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27642,28 +27642,28 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "50560:19:1", + "src": "51995:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "assignments": [ - 2745 + 2237 ], "declarations": [ { "constant": false, - "id": 2745, + "id": 2237, "mutability": "mutable", "name": "base", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50589:18:1", + "scope": 2281, + "src": "52025:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27671,10 +27671,10 @@ "typeString": "string" }, "typeName": { - "id": 2744, + "id": 2236, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50589:6:1", + "src": "52025:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27683,23 +27683,23 @@ "visibility": "internal" } ], - "id": 2748, + "id": 2240, "initialValue": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2746, + "id": 2238, "name": "baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2799, - "src": "50610:7:1", + "referencedDeclaration": 2291, + "src": "52046:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_string_memory_ptr_$", "typeString": "function () view returns (string memory)" } }, - "id": 2747, + "id": 2239, "isConstant": false, "isLValue": false, "isPure": false, @@ -27707,7 +27707,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50610:9:1", + "src": "52046:9:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27715,7 +27715,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "condition": { @@ -27723,7 +27723,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2755, + "id": 2247, "isConstant": false, "isLValue": false, "isPure": false, @@ -27732,12 +27732,12 @@ "expression": { "arguments": [ { - "id": 2751, + "id": 2243, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50698:4:1", + "referencedDeclaration": 2237, + "src": "52137:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27751,26 +27751,26 @@ "typeString": "string memory" } ], - "id": 2750, + "id": 2242, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2749, + "id": 2241, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": {} } }, - "id": 2752, + "id": 2244, "isConstant": false, "isLValue": false, "isPure": false, @@ -27778,21 +27778,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50692:11:1", + "src": "52131:11:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2753, + "id": 2245, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50692:18:1", + "src": "52131:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27802,51 +27802,51 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2754, + "id": 2246, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50714:1:1", + "src": "52153:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50692:23:1", + "src": "52131:23:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2759, + "id": 2251, "nodeType": "IfStatement", - "src": "50688:70:1", + "src": "52127:72:0", "trueBody": { - "id": 2758, + "id": 2250, "nodeType": "Block", - "src": "50717:41:1", + "src": "52156:43:0", "statements": [ { "expression": { - "id": 2756, + "id": 2248, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50738:9:1", + "referencedDeclaration": 2231, + "src": "52178:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2757, + "functionReturnParameters": 2222, + "id": 2249, "nodeType": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ] } @@ -27857,7 +27857,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2766, + "id": 2258, "isConstant": false, "isLValue": false, "isPure": false, @@ -27866,12 +27866,12 @@ "expression": { "arguments": [ { - "id": 2762, + "id": 2254, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50866:9:1", + "referencedDeclaration": 2231, + "src": "52309:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27885,26 +27885,26 @@ "typeString": "string memory" } ], - "id": 2761, + "id": 2253, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2760, + "id": 2252, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": {} } }, - "id": 2763, + "id": 2255, "isConstant": false, "isLValue": false, "isPure": false, @@ -27912,21 +27912,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50860:16:1", + "src": "52303:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2764, + "id": 2256, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50860:23:1", + "src": "52303:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27936,33 +27936,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 2765, + "id": 2257, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50886:1:1", + "src": "52329:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50860:27:1", + "src": "52303:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2777, + "id": 2269, "nodeType": "IfStatement", - "src": "50856:106:1", + "src": "52299:108:0", "trueBody": { - "id": 2776, + "id": 2268, "nodeType": "Block", - "src": "50889:73:1", + "src": "52332:75:0", "statements": [ { "expression": { @@ -27970,24 +27970,24 @@ { "arguments": [ { - "id": 2771, + "id": 2263, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50934:4:1", + "referencedDeclaration": 2237, + "src": "52378:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, { - "id": 2772, + "id": 2264, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50940:9:1", + "referencedDeclaration": 2231, + "src": "52384:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -28006,31 +28006,31 @@ } ], "expression": { - "id": 2769, + "id": 2261, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "50917:3:1", + "src": "52361:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2770, + "id": 2262, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "50917:16:1", + "src": "52361:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2773, + "id": 2265, "isConstant": false, "isLValue": false, "isPure": false, @@ -28038,7 +28038,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50917:33:1", + "src": "52361:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -28053,26 +28053,26 @@ "typeString": "bytes memory" } ], - "id": 2768, + "id": 2260, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2767, + "id": 2259, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": {} } }, - "id": 2774, + "id": 2266, "isConstant": false, "isLValue": false, "isPure": false, @@ -28080,17 +28080,17 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50910:41:1", + "src": "52354:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2775, + "functionReturnParameters": 2222, + "id": 2267, "nodeType": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ] } @@ -28101,12 +28101,12 @@ { "arguments": [ { - "id": 2782, + "id": 2274, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "51092:4:1", + "referencedDeclaration": 2237, + "src": "52539:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -28117,32 +28117,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2783, + "id": 2275, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "51098:7:1", + "referencedDeclaration": 2217, + "src": "52545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2784, + "id": 2276, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toString", "nodeType": "MemberAccess", - "referencedDeclaration": 2565, - "src": "51098:16:1", + "referencedDeclaration": 2057, + "src": "52545:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$bound_to$_t_uint256_$", "typeString": "function (uint256) pure returns (string memory)" } }, - "id": 2785, + "id": 2277, "isConstant": false, "isLValue": false, "isPure": false, @@ -28150,7 +28150,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51098:18:1", + "src": "52545:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -28170,31 +28170,31 @@ } ], "expression": { - "id": 2780, + "id": 2272, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "51075:3:1", + "src": "52522:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2781, + "id": 2273, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "51075:16:1", + "src": "52522:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2786, + "id": 2278, "isConstant": false, "isLValue": false, "isPure": false, @@ -28202,7 +28202,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51075:42:1", + "src": "52522:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -28217,26 +28217,26 @@ "typeString": "bytes memory" } ], - "id": 2779, + "id": 2271, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2778, + "id": 2270, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": {} } }, - "id": 2787, + "id": 2279, "isConstant": false, "isLValue": false, "isPure": false, @@ -28244,51 +28244,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51068:50:1", + "src": "52515:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2788, + "functionReturnParameters": 2222, + "id": 2280, "nodeType": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ] }, "documentation": { - "id": 2723, + "id": 2215, "nodeType": "StructuredDocumentation", - "src": "50289:55:1", + "src": "51718:57:0", "text": " @dev See {IERC721Metadata-tokenURI}." }, "functionSelector": "c87b56dd", - "id": 2790, + "id": 2282, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "overrides": { - "id": 2727, + "id": 2219, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50404:8:1" + "src": "51836:8:0" }, "parameters": { - "id": 2726, + "id": 2218, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2725, + "id": 2217, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50367:15:1", + "scope": 2282, + "src": "51799:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28296,10 +28296,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2724, + "id": 2216, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "50367:7:1", + "src": "51799:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28308,20 +28308,20 @@ "visibility": "internal" } ], - "src": "50366:17:1" + "src": "51798:17:0" }, "returnParameters": { - "id": 2730, + "id": 2222, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2729, + "id": 2221, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50422:13:1", + "scope": 2282, + "src": "51854:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -28329,10 +28329,10 @@ "typeString": "string" }, "typeName": { - "id": 2728, + "id": 2220, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50422:6:1", + "src": "51854:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28341,71 +28341,71 @@ "visibility": "internal" } ], - "src": "50421:15:1" + "src": "51853:15:0" }, - "scope": 3498, - "src": "50349:776:1", + "scope": 2990, + "src": "51781:792:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 2798, + "id": 2290, "nodeType": "Block", - "src": "51420:32:1", + "src": "52875:34:0", "statements": [ { "expression": { - "id": 2796, + "id": 2288, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "51437:8:1", + "referencedDeclaration": 2114, + "src": "52893:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2795, - "id": 2797, + "functionReturnParameters": 2287, + "id": 2289, "nodeType": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ] }, "documentation": { - "id": 2791, + "id": 2283, "nodeType": "StructuredDocumentation", - "src": "51131:221:1", + "src": "52581:225:0", "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, "functionSelector": "6c0360eb", - "id": 2799, + "id": 2291, "implemented": true, "kind": "function", "modifiers": [], "name": "baseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 2792, + "id": 2284, "nodeType": "ParameterList", "parameters": [], - "src": "51373:2:1" + "src": "52828:2:0" }, "returnParameters": { - "id": 2795, + "id": 2287, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2794, + "id": 2286, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2799, - "src": "51405:13:1", + "scope": 2291, + "src": "52860:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -28413,10 +28413,10 @@ "typeString": "string" }, "typeName": { - "id": 2793, + "id": 2285, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51405:6:1", + "src": "52860:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28425,33 +28425,33 @@ "visibility": "internal" } ], - "src": "51404:15:1" + "src": "52859:15:0" }, - "scope": 3498, - "src": "51357:95:1", + "scope": 2990, + "src": "52812:97:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 700 + 192 ], "body": { - "id": 2817, + "id": 2309, "nodeType": "Block", - "src": "51637:54:1", + "src": "53099:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 2814, + "id": 2306, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2804, - "src": "51678:5:1", + "referencedDeclaration": 2296, + "src": "53141:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28467,25 +28467,25 @@ ], "expression": { "baseExpression": { - "id": 2810, + "id": 2302, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "51654:13:1", + "referencedDeclaration": 2092, + "src": "53117:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2812, + "id": 2304, "indexExpression": { - "id": 2811, + "id": 2303, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2802, - "src": "51668:5:1", + "referencedDeclaration": 2294, + "src": "53131:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28496,27 +28496,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "51654:20:1", + "src": "53117:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2813, + "id": 2305, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 1920, - "src": "51654:23:1", + "referencedDeclaration": 1412, + "src": "53117:23:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" } }, - "id": 2815, + "id": 2307, "isConstant": false, "isLValue": false, "isPure": false, @@ -28524,51 +28524,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51654:30:1", + "src": "53117:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2809, - "id": 2816, + "functionReturnParameters": 2301, + "id": 2308, "nodeType": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ] }, "documentation": { - "id": 2800, + "id": 2292, "nodeType": "StructuredDocumentation", - "src": "51458:68:1", + "src": "52917:70:0", "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, "functionSelector": "2f745c59", - "id": 2818, + "id": 2310, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2806, + "id": 2298, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51610:8:1" + "src": "53072:8:0" }, "parameters": { - "id": 2805, + "id": 2297, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2802, + "id": 2294, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51560:13:1", + "scope": 2310, + "src": "53022:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28576,10 +28576,10 @@ "typeString": "address" }, "typeName": { - "id": 2801, + "id": 2293, "name": "address", "nodeType": "ElementaryTypeName", - "src": "51560:7:1", + "src": "53022:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28590,12 +28590,12 @@ }, { "constant": false, - "id": 2804, + "id": 2296, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51575:13:1", + "scope": 2310, + "src": "53037:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28603,10 +28603,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2803, + "id": 2295, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51575:7:1", + "src": "53037:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28615,20 +28615,20 @@ "visibility": "internal" } ], - "src": "51559:30:1" + "src": "53021:30:0" }, "returnParameters": { - "id": 2809, + "id": 2301, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2808, + "id": 2300, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51628:7:1", + "scope": 2310, + "src": "53090:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28636,10 +28636,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2807, + "id": 2299, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51628:7:1", + "src": "53090:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28648,22 +28648,22 @@ "visibility": "internal" } ], - "src": "51627:9:1" + "src": "53089:9:0" }, - "scope": 3498, - "src": "51531:160:1", + "scope": 2990, + "src": "52993:162:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 690 + 182 ], "body": { - "id": 2829, + "id": 2321, "nodeType": "Block", - "src": "51832:138:1", + "src": "53301:141:0", "statements": [ { "expression": { @@ -28671,32 +28671,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2825, + "id": 2317, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "51942:12:1", + "referencedDeclaration": 2094, + "src": "53413:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2826, + "id": 2318, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 2340, - "src": "51942:19:1", + "referencedDeclaration": 1832, + "src": "53413:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" } }, - "id": 2827, + "id": 2319, "isConstant": false, "isLValue": false, "isPure": false, @@ -28704,57 +28704,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51942:21:1", + "src": "53413:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2824, - "id": 2828, + "functionReturnParameters": 2316, + "id": 2320, "nodeType": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ] }, "documentation": { - "id": 2819, + "id": 2311, "nodeType": "StructuredDocumentation", - "src": "51697:60:1", + "src": "53163:62:0", "text": " @dev See {IERC721Enumerable-totalSupply}." }, "functionSelector": "18160ddd", - "id": 2830, + "id": 2322, "implemented": true, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "overrides": { - "id": 2821, + "id": 2313, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51805:8:1" + "src": "53274:8:0" }, "parameters": { - "id": 2820, + "id": 2312, "nodeType": "ParameterList", "parameters": [], - "src": "51782:2:1" + "src": "53251:2:0" }, "returnParameters": { - "id": 2824, + "id": 2316, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2823, + "id": 2315, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2830, - "src": "51823:7:1", + "scope": 2322, + "src": "53292:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28762,10 +28762,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2822, + "id": 2314, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51823:7:1", + "src": "53292:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28774,37 +28774,37 @@ "visibility": "internal" } ], - "src": "51822:9:1" + "src": "53291:9:0" }, - "scope": 3498, - "src": "51762:208:1", + "scope": 2990, + "src": "53231:211:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 708 + 200 ], "body": { - "id": 2848, + "id": 2340, "nodeType": "Block", - "src": "52126:85:1", + "src": "53603:88:0", "statements": [ { "assignments": [ - 2840, + 2332, null ], "declarations": [ { "constant": false, - "id": 2840, + "id": 2332, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2848, - "src": "52137:15:1", + "scope": 2340, + "src": "53615:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28812,10 +28812,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2839, + "id": 2331, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52137:7:1", + "src": "53615:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28825,16 +28825,16 @@ }, null ], - "id": 2845, + "id": 2337, "initialValue": { "arguments": [ { - "id": 2843, + "id": 2335, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2833, - "src": "52174:5:1", + "referencedDeclaration": 2325, + "src": "53652:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28849,32 +28849,32 @@ } ], "expression": { - "id": 2841, + "id": 2333, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "52158:12:1", + "referencedDeclaration": 2094, + "src": "53636:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2842, + "id": 2334, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 2379, - "src": "52158:15:1", + "referencedDeclaration": 1871, + "src": "53636:15:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" } }, - "id": 2844, + "id": 2336, "isConstant": false, "isLValue": false, "isPure": false, @@ -28882,7 +28882,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52158:22:1", + "src": "53636:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_$", @@ -28890,59 +28890,59 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "expression": { - "id": 2846, + "id": 2338, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2840, - "src": "52197:7:1", + "referencedDeclaration": 2332, + "src": "53676:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2838, - "id": 2847, + "functionReturnParameters": 2330, + "id": 2339, "nodeType": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ] }, "documentation": { - "id": 2831, + "id": 2323, "nodeType": "StructuredDocumentation", - "src": "51976:61:1", + "src": "53450:63:0", "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, "functionSelector": "4f6ccce7", - "id": 2849, + "id": 2341, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2835, + "id": 2327, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52099:8:1" + "src": "53576:8:0" }, "parameters": { - "id": 2834, + "id": 2326, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2833, + "id": 2325, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52064:13:1", + "scope": 2341, + "src": "53541:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28950,10 +28950,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2832, + "id": 2324, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52064:7:1", + "src": "53541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28962,20 +28962,20 @@ "visibility": "internal" } ], - "src": "52063:15:1" + "src": "53540:15:0" }, "returnParameters": { - "id": 2838, + "id": 2330, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2837, + "id": 2329, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52117:7:1", + "scope": 2341, + "src": "53594:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28983,10 +28983,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2836, + "id": 2328, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52117:7:1", + "src": "53594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28995,36 +28995,36 @@ "visibility": "internal" } ], - "src": "52116:9:1" + "src": "53593:9:0" }, - "scope": 3498, - "src": "52042:169:1", + "scope": 2990, + "src": "53519:172:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 616 + 108 ], "body": { - "id": 2892, + "id": 2384, "nodeType": "Block", - "src": "52338:325:1", + "src": "53823:334:0", "statements": [ { "assignments": [ - 2859 + 2351 ], "declarations": [ { "constant": false, - "id": 2859, + "id": 2351, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2892, - "src": "52348:13:1", + "scope": 2384, + "src": "53834:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29032,10 +29032,10 @@ "typeString": "address" }, "typeName": { - "id": 2858, + "id": 2350, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52348:7:1", + "src": "53834:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29045,16 +29045,16 @@ "visibility": "internal" } ], - "id": 2864, + "id": 2356, "initialValue": { "arguments": [ { - "id": 2862, + "id": 2354, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52379:7:1", + "referencedDeclaration": 2346, + "src": "53865:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29069,32 +29069,32 @@ } ], "expression": { - "id": 2860, + "id": 2352, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52364:6:1", + "referencedDeclaration": 2990, + "src": "53850:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2861, + "id": 2353, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "52364:14:1", + "referencedDeclaration": 2194, + "src": "53850:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 2863, + "id": 2355, "isConstant": false, "isLValue": false, "isPure": false, @@ -29102,7 +29102,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52364:23:1", + "src": "53850:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -29110,7 +29110,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "expression": { @@ -29120,18 +29120,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2868, + "id": 2360, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2866, + "id": 2358, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52405:2:1", + "referencedDeclaration": 2344, + "src": "53892:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29140,18 +29140,18 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 2867, + "id": 2359, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52411:5:1", + "referencedDeclaration": 2351, + "src": "53898:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52405:11:1", + "src": "53892:11:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29159,14 +29159,14 @@ }, { "hexValue": "4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572", - "id": 2869, + "id": 2361, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52418:35:1", + "src": "53905:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942", "typeString": "literal_string \"ERC721: approval to current owner\"" @@ -29185,7 +29185,7 @@ "typeString": "literal_string \"ERC721: approval to current owner\"" } ], - "id": 2865, + "id": 2357, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29193,13 +29193,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52397:7:1", + "src": "53884:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2870, + "id": 2362, "isConstant": false, "isLValue": false, "isPure": false, @@ -29207,16 +29207,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52397:57:1", + "src": "53884:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2871, + "id": 2363, "nodeType": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "expression": { @@ -29226,7 +29226,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 2883, + "id": 2375, "isConstant": false, "isLValue": false, "isPure": false, @@ -29236,7 +29236,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2876, + "id": 2368, "isConstant": false, "isLValue": false, "isPure": false, @@ -29245,18 +29245,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2873, + "id": 2365, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52473:10:1", + "referencedDeclaration": 10, + "src": "53962:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2874, + "id": 2366, "isConstant": false, "isLValue": false, "isPure": false, @@ -29264,7 +29264,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52473:12:1", + "src": "53962:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29274,18 +29274,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 2875, + "id": 2367, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52489:5:1", + "referencedDeclaration": 2351, + "src": "53978:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52473:21:1", + "src": "53962:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29296,12 +29296,12 @@ "rightExpression": { "arguments": [ { - "id": 2879, + "id": 2371, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52522:5:1", + "referencedDeclaration": 2351, + "src": "54011:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29311,18 +29311,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2880, + "id": 2372, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52529:10:1", + "referencedDeclaration": 10, + "src": "54018:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2881, + "id": 2373, "isConstant": false, "isLValue": false, "isPure": false, @@ -29330,7 +29330,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52529:12:1", + "src": "54018:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29350,32 +29350,32 @@ } ], "expression": { - "id": 2877, + "id": 2369, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52498:6:1", + "referencedDeclaration": 2990, + "src": "53987:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2878, + "id": 2370, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "52498:23:1", + "referencedDeclaration": 2458, + "src": "53987:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 2882, + "id": 2374, "isConstant": false, "isLValue": false, "isPure": false, @@ -29383,14 +29383,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52498:44:1", + "src": "53987:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "52473:69:1", + "src": "53962:69:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29398,14 +29398,14 @@ }, { "hexValue": "4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c", - "id": 2884, + "id": 2376, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52556:58:1", + "src": "54046:58:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_6d83cef3e0cb19b8320a9c5feb26b56bbb08f152a8e61b12eca3302d8d68b23d", "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" @@ -29424,7 +29424,7 @@ "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" } ], - "id": 2872, + "id": 2364, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29432,13 +29432,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52465:7:1", + "src": "53954:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2885, + "id": 2377, "isConstant": false, "isLValue": false, "isPure": false, @@ -29446,39 +29446,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52465:159:1", + "src": "53954:161:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2886, + "id": 2378, "nodeType": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "expression": { "arguments": [ { - "id": 2888, + "id": 2380, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52644:2:1", + "referencedDeclaration": 2344, + "src": "54137:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2889, + "id": 2381, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52648:7:1", + "referencedDeclaration": 2346, + "src": "54141:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29496,18 +29496,18 @@ "typeString": "uint256" } ], - "id": 2887, + "id": 2379, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "52635:8:1", + "referencedDeclaration": 2978, + "src": "54128:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 2890, + "id": 2382, "isConstant": false, "isLValue": false, "isPure": false, @@ -29515,50 +29515,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52635:21:1", + "src": "54128:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2891, + "id": 2383, "nodeType": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ] }, "documentation": { - "id": 2850, + "id": 2342, "nodeType": "StructuredDocumentation", - "src": "52217:46:1", + "src": "53699:48:0", "text": " @dev See {IERC721-approve}." }, "functionSelector": "095ea7b3", - "id": 2893, + "id": 2385, "implemented": true, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "overrides": { - "id": 2856, + "id": 2348, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52329:8:1" + "src": "53814:8:0" }, "parameters": { - "id": 2855, + "id": 2347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2852, + "id": 2344, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52285:10:1", + "scope": 2385, + "src": "53770:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29566,10 +29566,10 @@ "typeString": "address" }, "typeName": { - "id": 2851, + "id": 2343, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52285:7:1", + "src": "53770:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29580,12 +29580,12 @@ }, { "constant": false, - "id": 2854, + "id": 2346, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52297:15:1", + "scope": 2385, + "src": "53782:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29593,10 +29593,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2853, + "id": 2345, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52297:7:1", + "src": "53782:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29605,28 +29605,28 @@ "visibility": "internal" } ], - "src": "52284:29:1" + "src": "53769:29:0" }, "returnParameters": { - "id": 2857, + "id": 2349, "nodeType": "ParameterList", "parameters": [], - "src": "52338:0:1" + "src": "53823:0:0" }, - "scope": 3498, - "src": "52268:395:1", + "scope": 2990, + "src": "53753:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 624 + 116 ], "body": { - "id": 2913, + "id": 2405, "nodeType": "Block", - "src": "52809:132:1", + "src": "54308:136:0", "statements": [ { "expression": { @@ -29634,12 +29634,12 @@ { "arguments": [ { - "id": 2904, + "id": 2396, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52835:7:1", + "referencedDeclaration": 2388, + "src": "54335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29653,18 +29653,18 @@ "typeString": "uint256" } ], - "id": 2903, + "id": 2395, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "52827:7:1", + "referencedDeclaration": 2577, + "src": "54327:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2905, + "id": 2397, "isConstant": false, "isLValue": false, "isPure": false, @@ -29672,7 +29672,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52827:16:1", + "src": "54327:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -29681,14 +29681,14 @@ }, { "hexValue": "4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2906, + "id": 2398, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52845:46:1", + "src": "54345:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9291e0f44949204f2e9b40e6be090924979d6047b2365868f4e9f027722eb89d", "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" @@ -29707,7 +29707,7 @@ "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" } ], - "id": 2902, + "id": 2394, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29715,13 +29715,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52819:7:1", + "src": "54319:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2907, + "id": 2399, "isConstant": false, "isLValue": false, "isPure": false, @@ -29729,39 +29729,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52819:73:1", + "src": "54319:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2908, + "id": 2400, "nodeType": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "expression": { "baseExpression": { - "id": 2909, + "id": 2401, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "52910:15:1", + "referencedDeclaration": 2098, + "src": "54412:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 2911, + "id": 2403, "indexExpression": { - "id": 2910, + "id": 2402, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52926:7:1", + "referencedDeclaration": 2388, + "src": "54428:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29772,50 +29772,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "52910:24:1", + "src": "54412:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2901, - "id": 2912, + "functionReturnParameters": 2393, + "id": 2404, "nodeType": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ] }, "documentation": { - "id": 2894, + "id": 2386, "nodeType": "StructuredDocumentation", - "src": "52669:50:1", + "src": "54165:52:0", "text": " @dev See {IERC721-getApproved}." }, "functionSelector": "081812fc", - "id": 2914, + "id": 2406, "implemented": true, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "overrides": { - "id": 2898, + "id": 2390, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52782:8:1" + "src": "54281:8:0" }, "parameters": { - "id": 2897, + "id": 2389, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2896, + "id": 2388, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52745:15:1", + "scope": 2406, + "src": "54244:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29823,10 +29823,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2895, + "id": 2387, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52745:7:1", + "src": "54244:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29835,20 +29835,20 @@ "visibility": "internal" } ], - "src": "52744:17:1" + "src": "54243:17:0" }, "returnParameters": { - "id": 2901, + "id": 2393, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2900, + "id": 2392, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52800:7:1", + "scope": 2406, + "src": "54299:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29856,10 +29856,10 @@ "typeString": "address" }, "typeName": { - "id": 2899, + "id": 2391, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52800:7:1", + "src": "54299:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29869,22 +29869,22 @@ "visibility": "internal" } ], - "src": "52799:9:1" + "src": "54298:9:0" }, - "scope": 3498, - "src": "52724:217:1", + "scope": 2990, + "src": "54223:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 632 + 124 ], "body": { - "id": 2947, + "id": 2439, "nodeType": "Block", - "src": "53092:206:1", + "src": "54600:211:0", "statements": [ { "expression": { @@ -29894,18 +29894,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2927, + "id": 2419, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2924, + "id": 2416, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53110:8:1", + "referencedDeclaration": 2409, + "src": "54619:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29917,18 +29917,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2925, + "id": 2417, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53122:10:1", + "referencedDeclaration": 10, + "src": "54631:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2926, + "id": 2418, "isConstant": false, "isLValue": false, "isPure": false, @@ -29936,14 +29936,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53122:12:1", + "src": "54631:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "53110:24:1", + "src": "54619:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29951,14 +29951,14 @@ }, { "hexValue": "4552433732313a20617070726f766520746f2063616c6c6572", - "id": 2928, + "id": 2420, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53136:27:1", + "src": "54645:27:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05", "typeString": "literal_string \"ERC721: approve to caller\"" @@ -29977,7 +29977,7 @@ "typeString": "literal_string \"ERC721: approve to caller\"" } ], - "id": 2923, + "id": 2415, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29985,13 +29985,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53102:7:1", + "src": "54611:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2929, + "id": 2421, "isConstant": false, "isLValue": false, "isPure": false, @@ -29999,20 +29999,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53102:62:1", + "src": "54611:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2930, + "id": 2422, "nodeType": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "expression": { - "id": 2938, + "id": 2430, "isConstant": false, "isLValue": false, "isPure": false, @@ -30020,34 +30020,34 @@ "leftHandSide": { "baseExpression": { "baseExpression": { - "id": 2931, + "id": 2423, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53175:18:1", + "referencedDeclaration": 2104, + "src": "54686:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2935, + "id": 2427, "indexExpression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2932, + "id": 2424, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53194:10:1", + "referencedDeclaration": 10, + "src": "54705:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2933, + "id": 2425, "isConstant": false, "isLValue": false, "isPure": false, @@ -30055,7 +30055,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53194:12:1", + "src": "54705:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30067,20 +30067,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53175:32:1", + "src": "54686:32:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2936, + "id": 2428, "indexExpression": { - "id": 2934, + "id": 2426, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53208:8:1", + "referencedDeclaration": 2409, + "src": "54719:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30091,7 +30091,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "53175:42:1", + "src": "54686:42:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30100,26 +30100,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2937, + "id": 2429, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53220:8:1", + "referencedDeclaration": 2411, + "src": "54731:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "53175:53:1", + "src": "54686:53:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2939, + "id": 2431, "nodeType": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "eventCall": { @@ -30128,18 +30128,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2941, + "id": 2433, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53258:10:1", + "referencedDeclaration": 10, + "src": "54770:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2942, + "id": 2434, "isConstant": false, "isLValue": false, "isPure": false, @@ -30147,7 +30147,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53258:12:1", + "src": "54770:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30155,24 +30155,24 @@ } }, { - "id": 2943, + "id": 2435, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53272:8:1", + "referencedDeclaration": 2409, + "src": "54784:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2944, + "id": 2436, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53282:8:1", + "referencedDeclaration": 2411, + "src": "54794:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30194,18 +30194,18 @@ "typeString": "bool" } ], - "id": 2940, + "id": 2432, "name": "ApprovalForAll", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 572, - "src": "53243:14:1", + "referencedDeclaration": 64, + "src": "54755:14:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", "typeString": "function (address,address,bool)" } }, - "id": 2945, + "id": 2437, "isConstant": false, "isLValue": false, "isPure": false, @@ -30213,50 +30213,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53243:48:1", + "src": "54755:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2946, + "id": 2438, "nodeType": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ] }, "documentation": { - "id": 2915, + "id": 2407, "nodeType": "StructuredDocumentation", - "src": "52947:56:1", + "src": "54452:58:0", "text": " @dev See {IERC721-setApprovalForAll}." }, "functionSelector": "a22cb465", - "id": 2948, + "id": 2440, "implemented": true, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2921, + "id": 2413, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53083:8:1" + "src": "54591:8:0" }, "parameters": { - "id": 2920, + "id": 2412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2917, + "id": 2409, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53035:16:1", + "scope": 2440, + "src": "54543:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30264,10 +30264,10 @@ "typeString": "address" }, "typeName": { - "id": 2916, + "id": 2408, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53035:7:1", + "src": "54543:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30278,12 +30278,12 @@ }, { "constant": false, - "id": 2919, + "id": 2411, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53053:13:1", + "scope": 2440, + "src": "54561:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30291,10 +30291,10 @@ "typeString": "bool" }, "typeName": { - "id": 2918, + "id": 2410, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53053:4:1", + "src": "54561:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30303,52 +30303,52 @@ "visibility": "internal" } ], - "src": "53034:33:1" + "src": "54542:33:0" }, "returnParameters": { - "id": 2922, + "id": 2414, "nodeType": "ParameterList", "parameters": [], - "src": "53092:0:1" + "src": "54600:0:0" }, - "scope": 3498, - "src": "53008:290:1", + "scope": 2990, + "src": "54516:295:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 642 + 134 ], "body": { - "id": 2965, + "id": 2457, "nodeType": "Block", - "src": "53467:59:1", + "src": "54985:61:0", "statements": [ { "expression": { "baseExpression": { "baseExpression": { - "id": 2959, + "id": 2451, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53484:18:1", + "referencedDeclaration": 2104, + "src": "55003:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2961, + "id": 2453, "indexExpression": { - "id": 2960, + "id": 2452, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2951, - "src": "53503:5:1", + "referencedDeclaration": 2443, + "src": "55022:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30359,20 +30359,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:25:1", + "src": "55003:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2963, + "id": 2455, "indexExpression": { - "id": 2962, + "id": 2454, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2953, - "src": "53510:8:1", + "referencedDeclaration": 2445, + "src": "55029:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30383,50 +30383,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:35:1", + "src": "55003:35:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2958, - "id": 2964, + "functionReturnParameters": 2450, + "id": 2456, "nodeType": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ] }, "documentation": { - "id": 2949, + "id": 2441, "nodeType": "StructuredDocumentation", - "src": "53304:55:1", + "src": "54819:57:0", "text": " @dev See {IERC721-isApprovedForAll}." }, "functionSelector": "e985e9c5", - "id": 2966, + "id": 2458, "implemented": true, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2955, + "id": 2447, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53443:8:1" + "src": "54961:8:0" }, "parameters": { - "id": 2954, + "id": 2446, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2951, + "id": 2443, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53390:13:1", + "scope": 2458, + "src": "54908:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30434,10 +30434,10 @@ "typeString": "address" }, "typeName": { - "id": 2950, + "id": 2442, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53390:7:1", + "src": "54908:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30448,12 +30448,12 @@ }, { "constant": false, - "id": 2953, + "id": 2445, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53405:16:1", + "scope": 2458, + "src": "54923:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30461,10 +30461,10 @@ "typeString": "address" }, "typeName": { - "id": 2952, + "id": 2444, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53405:7:1", + "src": "54923:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30474,20 +30474,20 @@ "visibility": "internal" } ], - "src": "53389:33:1" + "src": "54907:33:0" }, "returnParameters": { - "id": 2958, + "id": 2450, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2957, + "id": 2449, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53461:4:1", + "scope": 2458, + "src": "54979:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30495,10 +30495,10 @@ "typeString": "bool" }, "typeName": { - "id": 2956, + "id": 2448, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53461:4:1", + "src": "54979:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30507,22 +30507,22 @@ "visibility": "internal" } ], - "src": "53460:6:1" + "src": "54978:6:0" }, - "scope": 3498, - "src": "53364:162:1", + "scope": 2990, + "src": "54882:164:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 608 + 100 ], "body": { - "id": 2992, + "id": 2484, "nodeType": "Block", - "src": "53677:211:1", + "src": "55202:216:0", "statements": [ { "expression": { @@ -30533,18 +30533,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2979, + "id": 2471, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53766:10:1", + "referencedDeclaration": 10, + "src": "55293:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2980, + "id": 2472, "isConstant": false, "isLValue": false, "isPure": false, @@ -30552,7 +30552,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53766:12:1", + "src": "55293:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30560,12 +30560,12 @@ } }, { - "id": 2981, + "id": 2473, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53780:7:1", + "referencedDeclaration": 2465, + "src": "55307:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30583,18 +30583,18 @@ "typeString": "uint256" } ], - "id": 2978, + "id": 2470, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "53747:18:1", + "referencedDeclaration": 2619, + "src": "55274:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 2982, + "id": 2474, "isConstant": false, "isLValue": false, "isPure": false, @@ -30602,7 +30602,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53747:41:1", + "src": "55274:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30611,14 +30611,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 2983, + "id": 2475, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53790:51:1", + "src": "55317:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30637,7 +30637,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 2977, + "id": 2469, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30645,13 +30645,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53739:7:1", + "src": "55266:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2984, + "id": 2476, "isConstant": false, "isLValue": false, "isPure": false, @@ -30659,51 +30659,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53739:103:1", + "src": "55266:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2985, + "id": 2477, "nodeType": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "expression": { "arguments": [ { - "id": 2987, + "id": 2479, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2969, - "src": "53863:4:1", + "referencedDeclaration": 2461, + "src": "55392:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2988, + "id": 2480, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2971, - "src": "53869:2:1", + "referencedDeclaration": 2463, + "src": "55398:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2989, + "id": 2481, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53873:7:1", + "referencedDeclaration": 2465, + "src": "55402:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30725,18 +30725,18 @@ "typeString": "uint256" } ], - "id": 2986, + "id": 2478, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "53853:9:1", + "referencedDeclaration": 2863, + "src": "55382:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 2990, + "id": 2482, "isConstant": false, "isLValue": false, "isPure": false, @@ -30744,50 +30744,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53853:28:1", + "src": "55382:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2991, + "id": 2483, "nodeType": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ] }, "documentation": { - "id": 2967, + "id": 2459, "nodeType": "StructuredDocumentation", - "src": "53532:51:1", + "src": "55054:53:0", "text": " @dev See {IERC721-transferFrom}." }, "functionSelector": "23b872dd", - "id": 2993, + "id": 2485, "implemented": true, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 2975, + "id": 2467, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53668:8:1" + "src": "55193:8:0" }, "parameters": { - "id": 2974, + "id": 2466, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2969, + "id": 2461, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53610:12:1", + "scope": 2485, + "src": "55135:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30795,10 +30795,10 @@ "typeString": "address" }, "typeName": { - "id": 2968, + "id": 2460, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53610:7:1", + "src": "55135:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30809,12 +30809,12 @@ }, { "constant": false, - "id": 2971, + "id": 2463, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53624:10:1", + "scope": 2485, + "src": "55149:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30822,10 +30822,10 @@ "typeString": "address" }, "typeName": { - "id": 2970, + "id": 2462, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53624:7:1", + "src": "55149:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30836,12 +30836,12 @@ }, { "constant": false, - "id": 2973, + "id": 2465, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53636:15:1", + "scope": 2485, + "src": "55161:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30849,10 +30849,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2972, + "id": 2464, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "53636:7:1", + "src": "55161:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30861,63 +30861,63 @@ "visibility": "internal" } ], - "src": "53609:43:1" + "src": "55134:43:0" }, "returnParameters": { - "id": 2976, + "id": 2468, "nodeType": "ParameterList", "parameters": [], - "src": "53677:0:1" + "src": "55202:0:0" }, - "scope": 3498, - "src": "53588:300:1", + "scope": 2990, + "src": "55113:305:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 598 + 90 ], "body": { - "id": 3011, + "id": 2503, "nodeType": "Block", - "src": "54047:56:1", + "src": "55582:58:0", "statements": [ { "expression": { "arguments": [ { - "id": 3005, + "id": 2497, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2996, - "src": "54074:4:1", + "referencedDeclaration": 2488, + "src": "55610:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3006, + "id": 2498, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2998, - "src": "54080:2:1", + "referencedDeclaration": 2490, + "src": "55616:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3007, + "id": 2499, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3000, - "src": "54084:7:1", + "referencedDeclaration": 2492, + "src": "55620:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30925,14 +30925,14 @@ }, { "hexValue": "", - "id": 3008, + "id": 2500, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54093:2:1", + "src": "55629:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -30959,21 +30959,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3004, + "id": 2496, "name": "safeTransferFrom", "nodeType": "Identifier", "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, - "src": "54057:16:1", + "referencedDeclaration": 2534, + "src": "55593:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3009, + "id": 2501, "isConstant": false, "isLValue": false, "isPure": false, @@ -30981,50 +30981,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54057:39:1", + "src": "55593:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3010, + "id": 2502, "nodeType": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ] }, "documentation": { - "id": 2994, + "id": 2486, "nodeType": "StructuredDocumentation", - "src": "53894:55:1", + "src": "55426:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "42842e0e", - "id": 3012, + "id": 2504, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3002, + "id": 2494, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54038:8:1" + "src": "55573:8:0" }, "parameters": { - "id": 3001, + "id": 2493, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2996, + "id": 2488, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53980:12:1", + "scope": 2504, + "src": "55515:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31032,10 +31032,10 @@ "typeString": "address" }, "typeName": { - "id": 2995, + "id": 2487, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53980:7:1", + "src": "55515:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31046,12 +31046,12 @@ }, { "constant": false, - "id": 2998, + "id": 2490, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53994:10:1", + "scope": 2504, + "src": "55529:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31059,10 +31059,10 @@ "typeString": "address" }, "typeName": { - "id": 2997, + "id": 2489, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53994:7:1", + "src": "55529:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31073,12 +31073,12 @@ }, { "constant": false, - "id": 3000, + "id": 2492, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "54006:15:1", + "scope": 2504, + "src": "55541:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31086,10 +31086,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2999, + "id": 2491, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54006:7:1", + "src": "55541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31098,28 +31098,28 @@ "visibility": "internal" } ], - "src": "53979:43:1" + "src": "55514:43:0" }, "returnParameters": { - "id": 3003, + "id": 2495, "nodeType": "ParameterList", "parameters": [], - "src": "54047:0:1" + "src": "55582:0:0" }, - "scope": 3498, - "src": "53954:149:1", + "scope": 2990, + "src": "55489:151:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 654 + 146 ], "body": { - "id": 3041, + "id": 2533, "nodeType": "Block", - "src": "54282:169:1", + "src": "55824:172:0", "statements": [ { "expression": { @@ -31130,18 +31130,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3027, + "id": 2519, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "54319:10:1", + "referencedDeclaration": 10, + "src": "55862:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3028, + "id": 2520, "isConstant": false, "isLValue": false, "isPure": false, @@ -31149,7 +31149,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54319:12:1", + "src": "55862:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -31157,12 +31157,12 @@ } }, { - "id": 3029, + "id": 2521, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54333:7:1", + "referencedDeclaration": 2511, + "src": "55876:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31180,18 +31180,18 @@ "typeString": "uint256" } ], - "id": 3026, + "id": 2518, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "54300:18:1", + "referencedDeclaration": 2619, + "src": "55843:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 3030, + "id": 2522, "isConstant": false, "isLValue": false, "isPure": false, @@ -31199,7 +31199,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54300:41:1", + "src": "55843:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31208,14 +31208,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 3031, + "id": 2523, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54343:51:1", + "src": "55886:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -31234,7 +31234,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 3025, + "id": 2517, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31242,13 +31242,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "54292:7:1", + "src": "55835:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3032, + "id": 2524, "isConstant": false, "isLValue": false, "isPure": false, @@ -31256,63 +31256,63 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54292:103:1", + "src": "55835:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3033, + "id": 2525, "nodeType": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "expression": { "arguments": [ { - "id": 3035, + "id": 2527, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3015, - "src": "54419:4:1", + "referencedDeclaration": 2507, + "src": "55963:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3036, + "id": 2528, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3017, - "src": "54425:2:1", + "referencedDeclaration": 2509, + "src": "55969:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3037, + "id": 2529, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54429:7:1", + "referencedDeclaration": 2511, + "src": "55973:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3038, + "id": 2530, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3021, - "src": "54438:5:1", + "referencedDeclaration": 2513, + "src": "55982:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31338,18 +31338,18 @@ "typeString": "bytes memory" } ], - "id": 3034, + "id": 2526, "name": "_safeTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3071, - "src": "54405:13:1", + "referencedDeclaration": 2563, + "src": "55949:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3039, + "id": 2531, "isConstant": false, "isLValue": false, "isPure": false, @@ -31357,50 +31357,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54405:39:1", + "src": "55949:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3040, + "id": 2532, "nodeType": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ] }, "documentation": { - "id": 3013, + "id": 2505, "nodeType": "StructuredDocumentation", - "src": "54109:55:1", + "src": "55648:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "b88d4fde", - "id": 3042, + "id": 2534, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3023, + "id": 2515, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54273:8:1" + "src": "55815:8:0" }, "parameters": { - "id": 3022, + "id": 2514, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3015, + "id": 2507, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54195:12:1", + "scope": 2534, + "src": "55737:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31408,10 +31408,10 @@ "typeString": "address" }, "typeName": { - "id": 3014, + "id": 2506, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54195:7:1", + "src": "55737:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31422,12 +31422,12 @@ }, { "constant": false, - "id": 3017, + "id": 2509, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54209:10:1", + "scope": 2534, + "src": "55751:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31435,10 +31435,10 @@ "typeString": "address" }, "typeName": { - "id": 3016, + "id": 2508, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54209:7:1", + "src": "55751:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31449,12 +31449,12 @@ }, { "constant": false, - "id": 3019, + "id": 2511, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54221:15:1", + "scope": 2534, + "src": "55763:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31462,10 +31462,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3018, + "id": 2510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54221:7:1", + "src": "55763:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31475,12 +31475,12 @@ }, { "constant": false, - "id": 3021, + "id": 2513, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54238:18:1", + "scope": 2534, + "src": "55780:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31488,10 +31488,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3020, + "id": 2512, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "54238:5:1", + "src": "55780:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31500,60 +31500,60 @@ "visibility": "internal" } ], - "src": "54194:63:1" + "src": "55736:63:0" }, "returnParameters": { - "id": 3024, + "id": 2516, "nodeType": "ParameterList", "parameters": [], - "src": "54282:0:1" + "src": "55824:0:0" }, - "scope": 3498, - "src": "54169:282:1", + "scope": 2990, + "src": "55711:285:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "body": { - "id": 3070, + "id": 2562, "nodeType": "Block", - "src": "55416:166:1", + "src": "56981:169:0", "statements": [ { "expression": { "arguments": [ { - "id": 3055, + "id": 2547, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55436:4:1", + "referencedDeclaration": 2537, + "src": "57002:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3056, + "id": 2548, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55442:2:1", + "referencedDeclaration": 2539, + "src": "57008:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3057, + "id": 2549, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55446:7:1", + "referencedDeclaration": 2541, + "src": "57012:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31575,18 +31575,18 @@ "typeString": "uint256" } ], - "id": 3054, + "id": 2546, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "55426:9:1", + "referencedDeclaration": 2863, + "src": "56992:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3058, + "id": 2550, "isConstant": false, "isLValue": false, "isPure": false, @@ -31594,16 +31594,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55426:28:1", + "src": "56992:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3059, + "id": 2551, "nodeType": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "expression": { @@ -31611,48 +31611,48 @@ { "arguments": [ { - "id": 3062, + "id": 2554, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55495:4:1", + "referencedDeclaration": 2537, + "src": "57062:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3063, + "id": 2555, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55501:2:1", + "referencedDeclaration": 2539, + "src": "57068:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3064, + "id": 2556, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55505:7:1", + "referencedDeclaration": 2541, + "src": "57072:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3065, + "id": 2557, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3051, - "src": "55514:5:1", + "referencedDeclaration": 2543, + "src": "57081:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31678,18 +31678,18 @@ "typeString": "bytes memory" } ], - "id": 3061, + "id": 2553, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "55472:22:1", + "referencedDeclaration": 2954, + "src": "57039:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3066, + "id": 2558, "isConstant": false, "isLValue": false, "isPure": false, @@ -31697,7 +31697,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55472:48:1", + "src": "57039:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31706,14 +31706,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3067, + "id": 2559, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "55522:52:1", + "src": "57089:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -31732,7 +31732,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3060, + "id": 2552, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31740,13 +31740,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "55464:7:1", + "src": "57031:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3068, + "id": 2560, "isConstant": false, "isLValue": false, "isPure": false, @@ -31754,43 +31754,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55464:111:1", + "src": "57031:111:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3069, + "id": 2561, "nodeType": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ] }, "documentation": { - "id": 3043, + "id": 2535, "nodeType": "StructuredDocumentation", - "src": "54457:851:1", + "src": "56004:868:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3071, + "id": 2563, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3052, + "id": 2544, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3045, + "id": 2537, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55336:12:1", + "scope": 2563, + "src": "56901:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31798,10 +31798,10 @@ "typeString": "address" }, "typeName": { - "id": 3044, + "id": 2536, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55336:7:1", + "src": "56901:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31812,12 +31812,12 @@ }, { "constant": false, - "id": 3047, + "id": 2539, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55350:10:1", + "scope": 2563, + "src": "56915:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31825,10 +31825,10 @@ "typeString": "address" }, "typeName": { - "id": 3046, + "id": 2538, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55350:7:1", + "src": "56915:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31839,12 +31839,12 @@ }, { "constant": false, - "id": 3049, + "id": 2541, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55362:15:1", + "scope": 2563, + "src": "56927:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31852,10 +31852,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3048, + "id": 2540, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55362:7:1", + "src": "56927:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31865,12 +31865,12 @@ }, { "constant": false, - "id": 3051, + "id": 2543, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55379:18:1", + "scope": 2563, + "src": "56944:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31878,10 +31878,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3050, + "id": 2542, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "55379:5:1", + "src": "56944:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31890,36 +31890,36 @@ "visibility": "internal" } ], - "src": "55335:63:1" + "src": "56900:63:0" }, "returnParameters": { - "id": 3053, + "id": 2545, "nodeType": "ParameterList", "parameters": [], - "src": "55416:0:1" + "src": "56981:0:0" }, - "scope": 3498, - "src": "55313:269:1", + "scope": 2990, + "src": "56878:272:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3084, + "id": 2576, "nodeType": "Block", - "src": "55956:54:1", + "src": "57534:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 3081, + "id": 2573, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3074, - "src": "55995:7:1", + "referencedDeclaration": 2566, + "src": "57574:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31934,32 +31934,32 @@ } ], "expression": { - "id": 3079, + "id": 2571, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "55973:12:1", + "referencedDeclaration": 2094, + "src": "57552:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3080, + "id": 2572, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "contains", "nodeType": "MemberAccess", - "referencedDeclaration": 2326, - "src": "55973:21:1", + "referencedDeclaration": 1818, + "src": "57552:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" } }, - "id": 3082, + "id": 2574, "isConstant": false, "isLValue": false, "isPure": false, @@ -31967,44 +31967,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55973:30:1", + "src": "57552:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3078, - "id": 3083, + "functionReturnParameters": 2570, + "id": 2575, "nodeType": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ] }, "documentation": { - "id": 3072, + "id": 2564, "nodeType": "StructuredDocumentation", - "src": "55588:292:1", + "src": "57158:299:0", "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3085, + "id": 2577, "implemented": true, "kind": "function", "modifiers": [], "name": "_exists", "nodeType": "FunctionDefinition", "parameters": { - "id": 3075, + "id": 2567, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3074, + "id": 2566, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55902:15:1", + "scope": 2577, + "src": "57480:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32012,10 +32012,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3073, + "id": 2565, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55902:7:1", + "src": "57480:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32024,20 +32024,20 @@ "visibility": "internal" } ], - "src": "55901:17:1" + "src": "57479:17:0" }, "returnParameters": { - "id": 3078, + "id": 2570, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3077, + "id": 2569, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55950:4:1", + "scope": 2577, + "src": "57528:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32045,10 +32045,10 @@ "typeString": "bool" }, "typeName": { - "id": 3076, + "id": 2568, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "55950:4:1", + "src": "57528:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32057,19 +32057,19 @@ "visibility": "internal" } ], - "src": "55949:6:1" + "src": "57527:6:0" }, - "scope": 3498, - "src": "55885:125:1", + "scope": 2990, + "src": "57463:127:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3126, + "id": 2618, "nodeType": "Block", - "src": "56267:252:1", + "src": "57856:256:0", "statements": [ { "expression": { @@ -32077,12 +32077,12 @@ { "arguments": [ { - "id": 3097, + "id": 2589, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56293:7:1", + "referencedDeclaration": 2582, + "src": "57883:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32096,18 +32096,18 @@ "typeString": "uint256" } ], - "id": 3096, + "id": 2588, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "56285:7:1", + "referencedDeclaration": 2577, + "src": "57875:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3098, + "id": 2590, "isConstant": false, "isLValue": false, "isPure": false, @@ -32115,7 +32115,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56285:16:1", + "src": "57875:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -32124,14 +32124,14 @@ }, { "hexValue": "4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 3099, + "id": 2591, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56303:46:1", + "src": "57893:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5797d1ccb08b83980dd0c07ea40d8f6a64d35fff736a19bdd17522954cb0899c", "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" @@ -32150,7 +32150,7 @@ "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" } ], - "id": 3095, + "id": 2587, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -32158,13 +32158,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "56277:7:1", + "src": "57867:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3100, + "id": 2592, "isConstant": false, "isLValue": false, "isPure": false, @@ -32172,30 +32172,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56277:73:1", + "src": "57867:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3101, + "id": 2593, "nodeType": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "assignments": [ - 3103 + 2595 ], "declarations": [ { "constant": false, - "id": 3103, + "id": 2595, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3126, - "src": "56360:13:1", + "scope": 2618, + "src": "57951:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32203,10 +32203,10 @@ "typeString": "address" }, "typeName": { - "id": 3102, + "id": 2594, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56360:7:1", + "src": "57951:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32216,16 +32216,16 @@ "visibility": "internal" } ], - "id": 3108, + "id": 2600, "initialValue": { "arguments": [ { - "id": 3106, + "id": 2598, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56391:7:1", + "referencedDeclaration": 2582, + "src": "57982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32240,32 +32240,32 @@ } ], "expression": { - "id": 3104, + "id": 2596, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56376:6:1", + "referencedDeclaration": 2990, + "src": "57967:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3105, + "id": 2597, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "56376:14:1", + "referencedDeclaration": 2194, + "src": "57967:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3107, + "id": 2599, "isConstant": false, "isLValue": false, "isPure": false, @@ -32273,7 +32273,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56376:23:1", + "src": "57967:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -32281,7 +32281,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "expression": { @@ -32291,7 +32291,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3123, + "id": 2615, "isConstant": false, "isLValue": false, "isPure": false, @@ -32301,7 +32301,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3117, + "id": 2609, "isConstant": false, "isLValue": false, "isPure": false, @@ -32311,18 +32311,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3111, + "id": 2603, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3109, + "id": 2601, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56417:7:1", + "referencedDeclaration": 2580, + "src": "58009:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32331,18 +32331,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3110, + "id": 2602, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56428:5:1", + "referencedDeclaration": 2595, + "src": "58020:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56417:16:1", + "src": "58009:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32355,7 +32355,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3116, + "id": 2608, "isConstant": false, "isLValue": false, "isPure": false, @@ -32363,12 +32363,12 @@ "leftExpression": { "arguments": [ { - "id": 3113, + "id": 2605, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56449:7:1", + "referencedDeclaration": 2582, + "src": "58041:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32382,18 +32382,18 @@ "typeString": "uint256" } ], - "id": 3112, + "id": 2604, "name": "getApproved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "56437:11:1", + "referencedDeclaration": 2406, + "src": "58029:11:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3114, + "id": 2606, "isConstant": false, "isLValue": false, "isPure": false, @@ -32401,7 +32401,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56437:20:1", + "src": "58029:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -32411,24 +32411,24 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3115, + "id": 2607, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56461:7:1", + "referencedDeclaration": 2580, + "src": "58053:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56437:31:1", + "src": "58029:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:51:1", + "src": "58009:51:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32439,24 +32439,24 @@ "rightExpression": { "arguments": [ { - "id": 3120, + "id": 2612, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56496:5:1", + "referencedDeclaration": 2595, + "src": "58088:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3121, + "id": 2613, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56503:7:1", + "referencedDeclaration": 2580, + "src": "58095:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32475,32 +32475,32 @@ } ], "expression": { - "id": 3118, + "id": 2610, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56472:6:1", + "referencedDeclaration": 2990, + "src": "58064:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3119, + "id": 2611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "56472:23:1", + "referencedDeclaration": 2458, + "src": "58064:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 3122, + "id": 2614, "isConstant": false, "isLValue": false, "isPure": false, @@ -32508,64 +32508,64 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56472:39:1", + "src": "58064:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:94:1", + "src": "58009:94:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3124, + "id": 2616, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "56416:96:1", + "src": "58008:96:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3094, - "id": 3125, + "functionReturnParameters": 2586, + "id": 2617, "nodeType": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ] }, "documentation": { - "id": 3086, + "id": 2578, "nodeType": "StructuredDocumentation", - "src": "56016:147:1", + "src": "57598:153:0", "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3127, + "id": 2619, "implemented": true, "kind": "function", "modifiers": [], "name": "_isApprovedOrOwner", "nodeType": "FunctionDefinition", "parameters": { - "id": 3091, + "id": 2583, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3088, + "id": 2580, "mutability": "mutable", "name": "spender", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56196:15:1", + "scope": 2619, + "src": "57785:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32573,10 +32573,10 @@ "typeString": "address" }, "typeName": { - "id": 3087, + "id": 2579, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56196:7:1", + "src": "57785:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32587,12 +32587,12 @@ }, { "constant": false, - "id": 3090, + "id": 2582, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56213:15:1", + "scope": 2619, + "src": "57802:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32600,10 +32600,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3089, + "id": 2581, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56213:7:1", + "src": "57802:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32612,20 +32612,20 @@ "visibility": "internal" } ], - "src": "56195:34:1" + "src": "57784:34:0" }, "returnParameters": { - "id": 3094, + "id": 2586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3093, + "id": 2585, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56261:4:1", + "scope": 2619, + "src": "57850:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32633,10 +32633,10 @@ "typeString": "bool" }, "typeName": { - "id": 3092, + "id": 2584, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "56261:4:1", + "src": "57850:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32645,42 +32645,42 @@ "visibility": "internal" } ], - "src": "56260:6:1" + "src": "57849:6:0" }, - "scope": 3498, - "src": "56168:351:1", + "scope": 2990, + "src": "57757:355:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3141, + "id": 2633, "nodeType": "Block", - "src": "56915:43:1", + "src": "58520:45:0", "statements": [ { "expression": { "arguments": [ { - "id": 3136, + "id": 2628, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3130, - "src": "56935:2:1", + "referencedDeclaration": 2622, + "src": "58541:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3137, + "id": 2629, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3132, - "src": "56939:7:1", + "referencedDeclaration": 2624, + "src": "58545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32688,14 +32688,14 @@ }, { "hexValue": "", - "id": 3138, + "id": 2630, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56948:2:1", + "src": "58554:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -32718,21 +32718,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3135, + "id": 2627, "name": "_safeMint", "nodeType": "Identifier", "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, - "src": "56925:9:1", + "referencedDeclaration": 2663, + "src": "58531:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,uint256,bytes memory)" } }, - "id": 3139, + "id": 2631, "isConstant": false, "isLValue": false, "isPure": false, @@ -32740,43 +32740,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56925:26:1", + "src": "58531:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3140, + "id": 2632, "nodeType": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ] }, "documentation": { - "id": 3128, + "id": 2620, "nodeType": "StructuredDocumentation", - "src": "56525:320:1", + "src": "58120:329:0", "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3142, + "id": 2634, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3133, + "id": 2625, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3130, + "id": 2622, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56869:10:1", + "scope": 2634, + "src": "58474:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32784,10 +32784,10 @@ "typeString": "address" }, "typeName": { - "id": 3129, + "id": 2621, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56869:7:1", + "src": "58474:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32798,12 +32798,12 @@ }, { "constant": false, - "id": 3132, + "id": 2624, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56881:15:1", + "scope": 2634, + "src": "58486:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32811,10 +32811,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3131, + "id": 2623, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56881:7:1", + "src": "58486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32823,48 +32823,48 @@ "visibility": "internal" } ], - "src": "56868:29:1" + "src": "58473:29:0" }, "returnParameters": { - "id": 3134, + "id": 2626, "nodeType": "ParameterList", "parameters": [], - "src": "56915:0:1" + "src": "58520:0:0" }, - "scope": 3498, - "src": "56850:108:1", + "scope": 2990, + "src": "58455:110:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3170, + "id": 2662, "nodeType": "Block", - "src": "57264:162:1", + "src": "58877:165:0", "statements": [ { "expression": { "arguments": [ { - "id": 3153, + "id": 2645, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57280:2:1", + "referencedDeclaration": 2637, + "src": "58894:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3154, + "id": 2646, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57284:7:1", + "referencedDeclaration": 2639, + "src": "58898:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32882,18 +32882,18 @@ "typeString": "uint256" } ], - "id": 3152, + "id": 2644, "name": "_mint", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3230, - "src": "57274:5:1", + "referencedDeclaration": 2722, + "src": "58888:5:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3155, + "id": 2647, "isConstant": false, "isLValue": false, "isPure": false, @@ -32901,16 +32901,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57274:18:1", + "src": "58888:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3156, + "id": 2648, "nodeType": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "expression": { @@ -32921,14 +32921,14 @@ "arguments": [ { "hexValue": "30", - "id": 3161, + "id": 2653, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57341:1:1", + "src": "58956:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -32943,26 +32943,26 @@ "typeString": "int_const 0" } ], - "id": 3160, + "id": 2652, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3159, + "id": 2651, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": {} } }, - "id": 3162, + "id": 2654, "isConstant": false, "isLValue": false, "isPure": true, @@ -32970,7 +32970,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57333:10:1", + "src": "58948:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -32978,36 +32978,36 @@ } }, { - "id": 3163, + "id": 2655, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57345:2:1", + "referencedDeclaration": 2637, + "src": "58960:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3164, + "id": 2656, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57349:7:1", + "referencedDeclaration": 2639, + "src": "58964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3165, + "id": 2657, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3149, - "src": "57358:5:1", + "referencedDeclaration": 2641, + "src": "58973:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -33033,18 +33033,18 @@ "typeString": "bytes memory" } ], - "id": 3158, + "id": 2650, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "57310:22:1", + "referencedDeclaration": 2954, + "src": "58925:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3166, + "id": 2658, "isConstant": false, "isLValue": false, "isPure": false, @@ -33052,7 +33052,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57310:54:1", + "src": "58925:54:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -33061,14 +33061,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3167, + "id": 2659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57366:52:1", + "src": "58981:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -33087,7 +33087,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3157, + "id": 2649, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33095,13 +33095,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57302:7:1", + "src": "58917:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3168, + "id": 2660, "isConstant": false, "isLValue": false, "isPure": false, @@ -33109,43 +33109,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57302:117:1", + "src": "58917:117:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3169, + "id": 2661, "nodeType": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ] }, "documentation": { - "id": 3143, + "id": 2635, "nodeType": "StructuredDocumentation", - "src": "56964:210:1", + "src": "58573:213:0", "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3171, + "id": 2663, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3150, + "id": 2642, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3145, + "id": 2637, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57198:10:1", + "scope": 2663, + "src": "58811:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33153,10 +33153,10 @@ "typeString": "address" }, "typeName": { - "id": 3144, + "id": 2636, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57198:7:1", + "src": "58811:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33167,12 +33167,12 @@ }, { "constant": false, - "id": 3147, + "id": 2639, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57210:15:1", + "scope": 2663, + "src": "58823:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33180,10 +33180,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3146, + "id": 2638, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57210:7:1", + "src": "58823:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33193,12 +33193,12 @@ }, { "constant": false, - "id": 3149, + "id": 2641, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57227:18:1", + "scope": 2663, + "src": "58840:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -33206,10 +33206,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3148, + "id": 2640, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "57227:5:1", + "src": "58840:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -33218,25 +33218,25 @@ "visibility": "internal" } ], - "src": "57197:49:1" + "src": "58810:49:0" }, "returnParameters": { - "id": 3151, + "id": 2643, "nodeType": "ParameterList", "parameters": [], - "src": "57264:0:1" + "src": "58877:0:0" }, - "scope": 3498, - "src": "57179:247:1", + "scope": 2990, + "src": "58792:250:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3229, + "id": 2721, "nodeType": "Block", - "src": "57809:332:1", + "src": "59439:343:0", "statements": [ { "expression": { @@ -33246,18 +33246,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3185, + "id": 2677, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3180, + "id": 2672, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57827:2:1", + "referencedDeclaration": 2666, + "src": "59458:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33269,14 +33269,14 @@ "arguments": [ { "hexValue": "30", - "id": 3183, + "id": 2675, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57841:1:1", + "src": "59472:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33291,26 +33291,26 @@ "typeString": "int_const 0" } ], - "id": 3182, + "id": 2674, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3181, + "id": 2673, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": {} } }, - "id": 3184, + "id": 2676, "isConstant": false, "isLValue": false, "isPure": true, @@ -33318,14 +33318,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57833:10:1", + "src": "59464:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "57827:16:1", + "src": "59458:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -33333,14 +33333,14 @@ }, { "hexValue": "4552433732313a206d696e7420746f20746865207a65726f2061646472657373", - "id": 3186, + "id": 2678, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57845:34:1", + "src": "59476:34:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6", "typeString": "literal_string \"ERC721: mint to the zero address\"" @@ -33359,7 +33359,7 @@ "typeString": "literal_string \"ERC721: mint to the zero address\"" } ], - "id": 3179, + "id": 2671, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33367,13 +33367,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57819:7:1", + "src": "59450:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3187, + "id": 2679, "isConstant": false, "isLValue": false, "isPure": false, @@ -33381,22 +33381,22 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57819:61:1", + "src": "59450:61:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3188, + "id": 2680, "nodeType": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "expression": { "arguments": [ { - "id": 3193, + "id": 2685, "isConstant": false, "isLValue": false, "isPure": false, @@ -33404,16 +33404,16 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "57898:17:1", + "src": "59530:17:0", "subExpression": { "arguments": [ { - "id": 3191, + "id": 2683, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57907:7:1", + "referencedDeclaration": 2668, + "src": "59539:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33427,18 +33427,18 @@ "typeString": "uint256" } ], - "id": 3190, + "id": 2682, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "57899:7:1", + "referencedDeclaration": 2577, + "src": "59531:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3192, + "id": 2684, "isConstant": false, "isLValue": false, "isPure": false, @@ -33446,7 +33446,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57899:16:1", + "src": "59531:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -33460,14 +33460,14 @@ }, { "hexValue": "4552433732313a20746f6b656e20616c7265616479206d696e746564", - "id": 3194, + "id": 2686, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57917:30:1", + "src": "59549:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57", "typeString": "literal_string \"ERC721: token already minted\"" @@ -33486,7 +33486,7 @@ "typeString": "literal_string \"ERC721: token already minted\"" } ], - "id": 3189, + "id": 2681, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33494,13 +33494,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57890:7:1", + "src": "59522:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3195, + "id": 2687, "isConstant": false, "isLValue": false, "isPure": false, @@ -33508,16 +33508,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57890:58:1", + "src": "59522:58:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3196, + "id": 2688, "nodeType": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "expression": { @@ -33526,14 +33526,14 @@ "arguments": [ { "hexValue": "30", - "id": 3200, + "id": 2692, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57988:1:1", + "src": "59622:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33548,26 +33548,26 @@ "typeString": "int_const 0" } ], - "id": 3199, + "id": 2691, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3198, + "id": 2690, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": {} } }, - "id": 3201, + "id": 2693, "isConstant": false, "isLValue": false, "isPure": true, @@ -33575,7 +33575,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57980:10:1", + "src": "59614:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33583,24 +33583,24 @@ } }, { - "id": 3202, + "id": 2694, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57992:2:1", + "referencedDeclaration": 2666, + "src": "59626:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3203, + "id": 2695, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57996:7:1", + "referencedDeclaration": 2668, + "src": "59630:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33622,18 +33622,18 @@ "typeString": "uint256" } ], - "id": 3197, + "id": 2689, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "57959:20:1", + "referencedDeclaration": 2989, + "src": "59593:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3204, + "id": 2696, "isConstant": false, "isLValue": false, "isPure": false, @@ -33641,27 +33641,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57959:45:1", + "src": "59593:45:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3205, + "id": 2697, "nodeType": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "expression": { "arguments": [ { - "id": 3210, + "id": 2702, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58037:7:1", + "referencedDeclaration": 2668, + "src": "59673:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33677,25 +33677,25 @@ ], "expression": { "baseExpression": { - "id": 3206, + "id": 2698, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58015:13:1", + "referencedDeclaration": 2092, + "src": "59651:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3208, + "id": 2700, "indexExpression": { - "id": 3207, + "id": 2699, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58029:2:1", + "referencedDeclaration": 2666, + "src": "59665:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33706,27 +33706,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58015:17:1", + "src": "59651:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3209, + "id": 2701, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "58015:21:1", + "referencedDeclaration": 1338, + "src": "59651:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3211, + "id": 2703, "isConstant": false, "isLValue": false, "isPure": false, @@ -33734,39 +33734,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58015:30:1", + "src": "59651:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3212, + "id": 2704, "nodeType": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "expression": { "arguments": [ { - "id": 3216, + "id": 2708, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58073:7:1", + "referencedDeclaration": 2668, + "src": "59711:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3217, + "id": 2709, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58082:2:1", + "referencedDeclaration": 2666, + "src": "59720:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33785,32 +33785,32 @@ } ], "expression": { - "id": 3213, + "id": 2705, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58056:12:1", + "referencedDeclaration": 2094, + "src": "59694:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3215, + "id": 2707, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "58056:16:1", + "referencedDeclaration": 1778, + "src": "59694:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3218, + "id": 2710, "isConstant": false, "isLValue": false, "isPure": false, @@ -33818,16 +33818,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58056:29:1", + "src": "59694:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3219, + "id": 2711, "nodeType": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "eventCall": { @@ -33836,14 +33836,14 @@ "arguments": [ { "hexValue": "30", - "id": 3223, + "id": 2715, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58118:1:1", + "src": "59758:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33858,26 +33858,26 @@ "typeString": "int_const 0" } ], - "id": 3222, + "id": 2714, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3221, + "id": 2713, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": {} } }, - "id": 3224, + "id": 2716, "isConstant": false, "isLValue": false, "isPure": true, @@ -33885,7 +33885,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58110:10:1", + "src": "59750:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33893,24 +33893,24 @@ } }, { - "id": 3225, + "id": 2717, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58122:2:1", + "referencedDeclaration": 2666, + "src": "59762:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3226, + "id": 2718, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58126:7:1", + "referencedDeclaration": 2668, + "src": "59766:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33932,18 +33932,18 @@ "typeString": "uint256" } ], - "id": 3220, + "id": 2712, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58101:8:1", + "referencedDeclaration": 46, + "src": "59741:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3227, + "id": 2719, "isConstant": false, "isLValue": false, "isPure": false, @@ -33951,43 +33951,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58101:33:1", + "src": "59741:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3228, + "id": 2720, "nodeType": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ] }, "documentation": { - "id": 3172, + "id": 2664, "nodeType": "StructuredDocumentation", - "src": "57432:311:1", + "src": "59050:322:0", "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3230, + "id": 2722, "implemented": true, "kind": "function", "modifiers": [], "name": "_mint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3177, + "id": 2669, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3174, + "id": 2666, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57763:10:1", + "scope": 2722, + "src": "59393:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33995,10 +33995,10 @@ "typeString": "address" }, "typeName": { - "id": 3173, + "id": 2665, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57763:7:1", + "src": "59393:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -34009,12 +34009,12 @@ }, { "constant": false, - "id": 3176, + "id": 2668, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57775:15:1", + "scope": 2722, + "src": "59405:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34022,10 +34022,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3175, + "id": 2667, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57775:7:1", + "src": "59405:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34034,39 +34034,39 @@ "visibility": "internal" } ], - "src": "57762:29:1" + "src": "59392:29:0" }, "returnParameters": { - "id": 3178, + "id": 2670, "nodeType": "ParameterList", "parameters": [], - "src": "57809:0:1" + "src": "59439:0:0" }, - "scope": 3498, - "src": "57748:393:1", + "scope": 2990, + "src": "59378:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3298, + "id": 2790, "nodeType": "Block", - "src": "58407:478:1", + "src": "60060:496:0", "statements": [ { "assignments": [ - 3237 + 2729 ], "declarations": [ { "constant": false, - "id": 3237, + "id": 2729, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3298, - "src": "58417:13:1", + "scope": 2790, + "src": "60071:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34074,10 +34074,10 @@ "typeString": "address" }, "typeName": { - "id": 3236, + "id": 2728, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58417:7:1", + "src": "60071:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -34087,16 +34087,16 @@ "visibility": "internal" } ], - "id": 3242, + "id": 2734, "initialValue": { "arguments": [ { - "id": 3240, + "id": 2732, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58448:7:1", + "referencedDeclaration": 2725, + "src": "60102:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34111,32 +34111,32 @@ } ], "expression": { - "id": 3238, + "id": 2730, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "58433:6:1", + "referencedDeclaration": 2990, + "src": "60087:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3239, + "id": 2731, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "58433:14:1", + "referencedDeclaration": 2194, + "src": "60087:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3241, + "id": 2733, "isConstant": false, "isLValue": false, "isPure": false, @@ -34144,7 +34144,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58433:23:1", + "src": "60087:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -34152,18 +34152,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "expression": { "arguments": [ { - "id": 3244, + "id": 2736, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58506:5:1", + "referencedDeclaration": 2729, + "src": "60162:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34173,14 +34173,14 @@ "arguments": [ { "hexValue": "30", - "id": 3247, + "id": 2739, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58521:1:1", + "src": "60177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34195,26 +34195,26 @@ "typeString": "int_const 0" } ], - "id": 3246, + "id": 2738, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3245, + "id": 2737, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": {} } }, - "id": 3248, + "id": 2740, "isConstant": false, "isLValue": false, "isPure": true, @@ -34222,7 +34222,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58513:10:1", + "src": "60169:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34230,12 +34230,12 @@ } }, { - "id": 3249, + "id": 2741, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58525:7:1", + "referencedDeclaration": 2725, + "src": "60181:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34257,18 +34257,18 @@ "typeString": "uint256" } ], - "id": 3243, + "id": 2735, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "58485:20:1", + "referencedDeclaration": 2989, + "src": "60141:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3250, + "id": 2742, "isConstant": false, "isLValue": false, "isPure": false, @@ -34276,16 +34276,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58485:48:1", + "src": "60141:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3251, + "id": 2743, "nodeType": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "expression": { @@ -34294,14 +34294,14 @@ "arguments": [ { "hexValue": "30", - "id": 3255, + "id": 2747, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58588:1:1", + "src": "60247:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34316,26 +34316,26 @@ "typeString": "int_const 0" } ], - "id": 3254, + "id": 2746, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3253, + "id": 2745, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": {} } }, - "id": 3256, + "id": 2748, "isConstant": false, "isLValue": false, "isPure": true, @@ -34343,7 +34343,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58580:10:1", + "src": "60239:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34351,12 +34351,12 @@ } }, { - "id": 3257, + "id": 2749, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58592:7:1", + "referencedDeclaration": 2725, + "src": "60251:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34374,18 +34374,18 @@ "typeString": "uint256" } ], - "id": 3252, + "id": 2744, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "58571:8:1", + "referencedDeclaration": 2978, + "src": "60230:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3258, + "id": 2750, "isConstant": false, "isLValue": false, "isPure": false, @@ -34393,16 +34393,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58571:29:1", + "src": "60230:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3259, + "id": 2751, "nodeType": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "condition": { @@ -34410,7 +34410,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3268, + "id": 2760, "isConstant": false, "isLValue": false, "isPure": false, @@ -34420,25 +34420,25 @@ "arguments": [ { "baseExpression": { - "id": 3262, + "id": 2754, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58656:10:1", + "referencedDeclaration": 2112, + "src": "60318:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3264, + "id": 2756, "indexExpression": { - "id": 3263, + "id": 2755, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58667:7:1", + "referencedDeclaration": 2725, + "src": "60329:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34449,7 +34449,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58656:19:1", + "src": "60318:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34463,26 +34463,26 @@ "typeString": "string storage ref" } ], - "id": 3261, + "id": 2753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 3260, + "id": 2752, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": {} } }, - "id": 3265, + "id": 2757, "isConstant": false, "isLValue": false, "isPure": false, @@ -34490,21 +34490,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58650:26:1", + "src": "60312:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes storage pointer" } }, - "id": 3266, + "id": 2758, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "58650:33:1", + "src": "60312:33:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34514,37 +34514,37 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 3267, + "id": 2759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58687:1:1", + "src": "60349:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "58650:38:1", + "src": "60312:38:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3275, + "id": 2767, "nodeType": "IfStatement", - "src": "58646:95:1", + "src": "60308:97:0", "trueBody": { - "id": 3274, + "id": 2766, "nodeType": "Block", - "src": "58690:51:1", + "src": "60352:53:0", "statements": [ { "expression": { - "id": 3272, + "id": 2764, "isConstant": false, "isLValue": false, "isPure": false, @@ -34552,28 +34552,28 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "58704:26:1", + "src": "60367:26:0", "subExpression": { "baseExpression": { - "id": 3269, + "id": 2761, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58711:10:1", + "referencedDeclaration": 2112, + "src": "60374:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3271, + "id": 2763, "indexExpression": { - "id": 3270, + "id": 2762, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58722:7:1", + "referencedDeclaration": 2725, + "src": "60385:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34584,7 +34584,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "58711:19:1", + "src": "60374:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34595,9 +34595,9 @@ "typeString": "tuple()" } }, - "id": 3273, + "id": 2765, "nodeType": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ] } @@ -34606,12 +34606,12 @@ "expression": { "arguments": [ { - "id": 3280, + "id": 2772, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58779:7:1", + "referencedDeclaration": 2725, + "src": "60445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34627,25 +34627,25 @@ ], "expression": { "baseExpression": { - "id": 3276, + "id": 2768, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58751:13:1", + "referencedDeclaration": 2092, + "src": "60417:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3278, + "id": 2770, "indexExpression": { - "id": 3277, + "id": 2769, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58765:5:1", + "referencedDeclaration": 2729, + "src": "60431:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34656,27 +34656,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58751:20:1", + "src": "60417:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3279, + "id": 2771, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "58751:27:1", + "referencedDeclaration": 1358, + "src": "60417:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3281, + "id": 2773, "isConstant": false, "isLValue": false, "isPure": false, @@ -34684,27 +34684,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58751:36:1", + "src": "60417:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3282, + "id": 2774, "nodeType": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "expression": { "arguments": [ { - "id": 3286, + "id": 2778, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58818:7:1", + "referencedDeclaration": 2725, + "src": "60486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34719,32 +34719,32 @@ } ], "expression": { - "id": 3283, + "id": 2775, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58798:12:1", + "referencedDeclaration": 2094, + "src": "60466:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3285, + "id": 2777, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 2306, - "src": "58798:19:1", + "referencedDeclaration": 1798, + "src": "60466:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" } }, - "id": 3287, + "id": 2779, "isConstant": false, "isLValue": false, "isPure": false, @@ -34752,27 +34752,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58798:28:1", + "src": "60466:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3288, + "id": 2780, "nodeType": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "eventCall": { "arguments": [ { - "id": 3290, + "id": 2782, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58851:5:1", + "referencedDeclaration": 2729, + "src": "60521:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34782,14 +34782,14 @@ "arguments": [ { "hexValue": "30", - "id": 3293, + "id": 2785, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58866:1:1", + "src": "60536:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34804,26 +34804,26 @@ "typeString": "int_const 0" } ], - "id": 3292, + "id": 2784, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3291, + "id": 2783, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": {} } }, - "id": 3294, + "id": 2786, "isConstant": false, "isLValue": false, "isPure": true, @@ -34831,7 +34831,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58858:10:1", + "src": "60528:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34839,12 +34839,12 @@ } }, { - "id": 3295, + "id": 2787, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58870:7:1", + "referencedDeclaration": 2725, + "src": "60540:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34866,18 +34866,18 @@ "typeString": "uint256" } ], - "id": 3289, + "id": 2781, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58842:8:1", + "referencedDeclaration": 46, + "src": "60512:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3296, + "id": 2788, "isConstant": false, "isLValue": false, "isPure": false, @@ -34885,43 +34885,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58842:36:1", + "src": "60512:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3297, + "id": 2789, "nodeType": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ] }, "documentation": { - "id": 3231, + "id": 2723, "nodeType": "StructuredDocumentation", - "src": "58147:206:1", + "src": "59790:215:0", "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3299, + "id": 2791, "implemented": true, "kind": "function", "modifiers": [], "name": "_burn", "nodeType": "FunctionDefinition", "parameters": { - "id": 3234, + "id": 2726, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3233, + "id": 2725, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3299, - "src": "58373:15:1", + "scope": 2791, + "src": "60026:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34929,10 +34929,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3232, + "id": 2724, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "58373:7:1", + "src": "60026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34941,25 +34941,25 @@ "visibility": "internal" } ], - "src": "58372:17:1" + "src": "60025:17:0" }, "returnParameters": { - "id": 3235, + "id": 2727, "nodeType": "ParameterList", "parameters": [], - "src": "58407:0:1" + "src": "60060:0:0" }, - "scope": 3498, - "src": "58358:527:1", + "scope": 2990, + "src": "60011:545:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3370, + "id": 2862, "nodeType": "Block", - "src": "59288:505:1", + "src": "60972:520:0", "statements": [ { "expression": { @@ -34969,7 +34969,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3315, + "id": 2807, "isConstant": false, "isLValue": false, "isPure": false, @@ -34977,12 +34977,12 @@ "leftExpression": { "arguments": [ { - "id": 3312, + "id": 2804, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59321:7:1", + "referencedDeclaration": 2798, + "src": "61006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34997,32 +34997,32 @@ } ], "expression": { - "id": 3310, + "id": 2802, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "59306:6:1", + "referencedDeclaration": 2990, + "src": "60991:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3311, + "id": 2803, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "59306:14:1", + "referencedDeclaration": 2194, + "src": "60991:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3313, + "id": 2805, "isConstant": false, "isLValue": false, "isPure": false, @@ -35030,7 +35030,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59306:23:1", + "src": "60991:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -35040,18 +35040,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3314, + "id": 2806, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59333:4:1", + "referencedDeclaration": 2794, + "src": "61018:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "59306:31:1", + "src": "60991:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -35059,14 +35059,14 @@ }, { "hexValue": "4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e", - "id": 3316, + "id": 2808, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59339:43:1", + "src": "61024:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a01073130a885d6c1c1af6ac75fc3b1c4f9403c235362962bbf528e2bd87d950", "typeString": "literal_string \"ERC721: transfer of token that is not own\"" @@ -35085,7 +35085,7 @@ "typeString": "literal_string \"ERC721: transfer of token that is not own\"" } ], - "id": 3309, + "id": 2801, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -35093,13 +35093,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59298:7:1", + "src": "60983:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3317, + "id": 2809, "isConstant": false, "isLValue": false, "isPure": false, @@ -35107,16 +35107,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59298:85:1", + "src": "60983:85:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3318, + "id": 2810, "nodeType": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "expression": { @@ -35126,18 +35126,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3325, + "id": 2817, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3320, + "id": 2812, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59419:2:1", + "referencedDeclaration": 2796, + "src": "61105:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35149,14 +35149,14 @@ "arguments": [ { "hexValue": "30", - "id": 3323, + "id": 2815, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59433:1:1", + "src": "61119:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -35171,26 +35171,26 @@ "typeString": "int_const 0" } ], - "id": 3322, + "id": 2814, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3321, + "id": 2813, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": {} } }, - "id": 3324, + "id": 2816, "isConstant": false, "isLValue": false, "isPure": true, @@ -35198,14 +35198,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59425:10:1", + "src": "61111:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "59419:16:1", + "src": "61105:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -35213,14 +35213,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f20746865207a65726f2061646472657373", - "id": 3326, + "id": 2818, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59437:38:1", + "src": "61123:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4", "typeString": "literal_string \"ERC721: transfer to the zero address\"" @@ -35239,7 +35239,7 @@ "typeString": "literal_string \"ERC721: transfer to the zero address\"" } ], - "id": 3319, + "id": 2811, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -35247,13 +35247,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59411:7:1", + "src": "61097:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3327, + "id": 2819, "isConstant": false, "isLValue": false, "isPure": false, @@ -35261,51 +35261,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59411:65:1", + "src": "61097:65:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3328, + "id": 2820, "nodeType": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "expression": { "arguments": [ { - "id": 3330, + "id": 2822, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59508:4:1", + "referencedDeclaration": 2794, + "src": "61196:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3331, + "id": 2823, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59514:2:1", + "referencedDeclaration": 2796, + "src": "61202:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3332, + "id": 2824, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59518:7:1", + "referencedDeclaration": 2798, + "src": "61206:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35327,18 +35327,18 @@ "typeString": "uint256" } ], - "id": 3329, + "id": 2821, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "59487:20:1", + "referencedDeclaration": 2989, + "src": "61175:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3333, + "id": 2825, "isConstant": false, "isLValue": false, "isPure": false, @@ -35346,16 +35346,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59487:39:1", + "src": "61175:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3334, + "id": 2826, "nodeType": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "expression": { @@ -35364,14 +35364,14 @@ "arguments": [ { "hexValue": "30", - "id": 3338, + "id": 2830, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59605:1:1", + "src": "61296:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -35386,26 +35386,26 @@ "typeString": "int_const 0" } ], - "id": 3337, + "id": 2829, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3336, + "id": 2828, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": {} } }, - "id": 3339, + "id": 2831, "isConstant": false, "isLValue": false, "isPure": true, @@ -35413,7 +35413,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59597:10:1", + "src": "61288:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -35421,12 +35421,12 @@ } }, { - "id": 3340, + "id": 2832, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59609:7:1", + "referencedDeclaration": 2798, + "src": "61300:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35444,18 +35444,18 @@ "typeString": "uint256" } ], - "id": 3335, + "id": 2827, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "59588:8:1", + "referencedDeclaration": 2978, + "src": "61279:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3341, + "id": 2833, "isConstant": false, "isLValue": false, "isPure": false, @@ -35463,27 +35463,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59588:29:1", + "src": "61279:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3342, + "id": 2834, "nodeType": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "expression": { "arguments": [ { - "id": 3347, + "id": 2839, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59655:7:1", + "referencedDeclaration": 2798, + "src": "61348:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35499,25 +35499,25 @@ ], "expression": { "baseExpression": { - "id": 3343, + "id": 2835, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59628:13:1", + "referencedDeclaration": 2092, + "src": "61321:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3345, + "id": 2837, "indexExpression": { - "id": 3344, + "id": 2836, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59642:4:1", + "referencedDeclaration": 2794, + "src": "61335:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35528,27 +35528,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59628:19:1", + "src": "61321:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3346, + "id": 2838, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "59628:26:1", + "referencedDeclaration": 1358, + "src": "61321:26:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3348, + "id": 2840, "isConstant": false, "isLValue": false, "isPure": false, @@ -35556,27 +35556,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59628:35:1", + "src": "61321:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3349, + "id": 2841, "nodeType": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "expression": { "arguments": [ { - "id": 3354, + "id": 2846, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59695:7:1", + "referencedDeclaration": 2798, + "src": "61389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35592,25 +35592,25 @@ ], "expression": { "baseExpression": { - "id": 3350, + "id": 2842, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59673:13:1", + "referencedDeclaration": 2092, + "src": "61367:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3352, + "id": 2844, "indexExpression": { - "id": 3351, + "id": 2843, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59687:2:1", + "referencedDeclaration": 2796, + "src": "61381:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35621,27 +35621,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59673:17:1", + "src": "61367:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3353, + "id": 2845, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "59673:21:1", + "referencedDeclaration": 1338, + "src": "61367:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3355, + "id": 2847, "isConstant": false, "isLValue": false, "isPure": false, @@ -35649,39 +35649,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59673:30:1", + "src": "61367:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3356, + "id": 2848, "nodeType": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "expression": { "arguments": [ { - "id": 3360, + "id": 2852, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59731:7:1", + "referencedDeclaration": 2798, + "src": "61427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3361, + "id": 2853, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59740:2:1", + "referencedDeclaration": 2796, + "src": "61436:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35700,32 +35700,32 @@ } ], "expression": { - "id": 3357, + "id": 2849, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "59714:12:1", + "referencedDeclaration": 2094, + "src": "61410:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3359, + "id": 2851, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "59714:16:1", + "referencedDeclaration": 1778, + "src": "61410:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3362, + "id": 2854, "isConstant": false, "isLValue": false, "isPure": false, @@ -35733,51 +35733,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59714:29:1", + "src": "61410:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3363, + "id": 2855, "nodeType": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "eventCall": { "arguments": [ { - "id": 3365, + "id": 2857, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59768:4:1", + "referencedDeclaration": 2794, + "src": "61466:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3366, + "id": 2858, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59774:2:1", + "referencedDeclaration": 2796, + "src": "61472:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3367, + "id": 2859, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59778:7:1", + "referencedDeclaration": 2798, + "src": "61476:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35799,18 +35799,18 @@ "typeString": "uint256" } ], - "id": 3364, + "id": 2856, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "59759:8:1", + "referencedDeclaration": 46, + "src": "61457:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3368, + "id": 2860, "isConstant": false, "isLValue": false, "isPure": false, @@ -35818,43 +35818,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59759:27:1", + "src": "61457:27:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3369, + "id": 2861, "nodeType": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ] }, "documentation": { - "id": 3300, + "id": 2792, "nodeType": "StructuredDocumentation", - "src": "58891:313:1", + "src": "60564:323:0", "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3371, + "id": 2863, "implemented": true, "kind": "function", "modifiers": [], "name": "_transfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3307, + "id": 2799, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3302, + "id": 2794, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59228:12:1", + "scope": 2863, + "src": "60912:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35862,10 +35862,10 @@ "typeString": "address" }, "typeName": { - "id": 3301, + "id": 2793, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59228:7:1", + "src": "60912:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35876,12 +35876,12 @@ }, { "constant": false, - "id": 3304, + "id": 2796, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59242:10:1", + "scope": 2863, + "src": "60926:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35889,10 +35889,10 @@ "typeString": "address" }, "typeName": { - "id": 3303, + "id": 2795, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59242:7:1", + "src": "60926:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35903,12 +35903,12 @@ }, { "constant": false, - "id": 3306, + "id": 2798, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59254:15:1", + "scope": 2863, + "src": "60938:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35916,10 +35916,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3305, + "id": 2797, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59254:7:1", + "src": "60938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35928,25 +35928,25 @@ "visibility": "internal" } ], - "src": "59227:43:1" + "src": "60911:43:0" }, "returnParameters": { - "id": 3308, + "id": 2800, "nodeType": "ParameterList", "parameters": [], - "src": "59288:0:1" + "src": "60972:0:0" }, - "scope": 3498, - "src": "59209:584:1", + "scope": 2990, + "src": "60893:599:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3392, + "id": 2884, "nodeType": "Block", - "src": "60021:131:1", + "src": "61729:134:0", "statements": [ { "expression": { @@ -35954,12 +35954,12 @@ { "arguments": [ { - "id": 3381, + "id": 2873, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60047:7:1", + "referencedDeclaration": 2866, + "src": "61756:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35973,18 +35973,18 @@ "typeString": "uint256" } ], - "id": 3380, + "id": 2872, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "60039:7:1", + "referencedDeclaration": 2577, + "src": "61748:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3382, + "id": 2874, "isConstant": false, "isLValue": false, "isPure": false, @@ -35992,7 +35992,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60039:16:1", + "src": "61748:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -36001,14 +36001,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e", - "id": 3383, + "id": 2875, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "60057:46:1", + "src": "61766:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_94be4a260caaeac1b145f03ffa2e70bc612b64982d04f24073aaf3a5f9009978", "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" @@ -36027,7 +36027,7 @@ "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" } ], - "id": 3379, + "id": 2871, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -36035,13 +36035,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "60031:7:1", + "src": "61740:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3384, + "id": 2876, "isConstant": false, "isLValue": false, "isPure": false, @@ -36049,45 +36049,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60031:73:1", + "src": "61740:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3385, + "id": 2877, "nodeType": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "expression": { - "id": 3390, + "id": 2882, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3386, + "id": 2878, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "60114:10:1", + "referencedDeclaration": 2112, + "src": "61824:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3388, + "id": 2880, "indexExpression": { - "id": 3387, + "id": 2879, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60125:7:1", + "referencedDeclaration": 2866, + "src": "61835:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36098,7 +36098,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "60114:19:1", + "src": "61824:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -36107,53 +36107,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3389, + "id": 2881, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3376, - "src": "60136:9:1", + "referencedDeclaration": 2868, + "src": "61846:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60114:31:1", + "src": "61824:31:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3391, + "id": 2883, "nodeType": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ] }, "documentation": { - "id": 3372, + "id": 2864, "nodeType": "StructuredDocumentation", - "src": "59799:136:1", + "src": "61500:142:0", "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3393, + "id": 2885, "implemented": true, "kind": "function", "modifiers": [], "name": "_setTokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3377, + "id": 2869, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3374, + "id": 2866, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59962:15:1", + "scope": 2885, + "src": "61670:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36161,10 +36161,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3373, + "id": 2865, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59962:7:1", + "src": "61670:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36174,12 +36174,12 @@ }, { "constant": false, - "id": 3376, + "id": 2868, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59979:23:1", + "scope": 2885, + "src": "61687:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36187,10 +36187,10 @@ "typeString": "string" }, "typeName": { - "id": 3375, + "id": 2867, "name": "string", "nodeType": "ElementaryTypeName", - "src": "59979:6:1", + "src": "61687:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -36199,40 +36199,40 @@ "visibility": "internal" } ], - "src": "59961:42:1" + "src": "61669:42:0" }, "returnParameters": { - "id": 3378, + "id": 2870, "nodeType": "ParameterList", "parameters": [], - "src": "60021:0:1" + "src": "61729:0:0" }, - "scope": 3498, - "src": "59940:212:1", + "scope": 2990, + "src": "61648:215:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3403, + "id": 2895, "nodeType": "Block", - "src": "60437:36:1", + "src": "62155:38:0", "statements": [ { "expression": { - "id": 3401, + "id": 2893, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 3399, + "id": 2891, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "60447:8:1", + "referencedDeclaration": 2114, + "src": "62166:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -36241,53 +36241,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3400, + "id": 2892, "name": "baseURI_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3396, - "src": "60458:8:1", + "referencedDeclaration": 2888, + "src": "62177:8:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60447:19:1", + "src": "62166:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3402, + "id": 2894, "nodeType": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ] }, "documentation": { - "id": 3394, + "id": 2886, "nodeType": "StructuredDocumentation", - "src": "60158:212:1", + "src": "61871:216:0", "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3404, + "id": 2896, "implemented": true, "kind": "function", "modifiers": [], "name": "_setBaseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3397, + "id": 2889, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3396, + "id": 2888, "mutability": "mutable", "name": "baseURI_", "nodeType": "VariableDeclaration", - "scope": 3404, - "src": "60396:22:1", + "scope": 2896, + "src": "62114:22:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36295,10 +36295,10 @@ "typeString": "string" }, "typeName": { - "id": 3395, + "id": 2887, "name": "string", "nodeType": "ElementaryTypeName", - "src": "60396:6:1", + "src": "62114:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -36307,29 +36307,29 @@ "visibility": "internal" } ], - "src": "60395:24:1" + "src": "62113:24:0" }, "returnParameters": { - "id": 3398, + "id": 2890, "nodeType": "ParameterList", "parameters": [], - "src": "60437:0:1" + "src": "62155:0:0" }, - "scope": 3498, - "src": "60375:98:1", + "scope": 2990, + "src": "62093:100:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3461, + "id": 2953, "nodeType": "Block", - "src": "61156:459:1", + "src": "62890:472:0", "statements": [ { "condition": { - "id": 3421, + "id": 2913, "isConstant": false, "isLValue": false, "isPure": false, @@ -36337,38 +36337,38 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "61170:16:1", + "src": "62905:16:0", "subExpression": { "arguments": [], "expression": { "argumentTypes": [], "expression": { - "id": 3418, + "id": 2910, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61171:2:1", + "referencedDeclaration": 2901, + "src": "62906:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3419, + "id": 2911, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isContract", "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "61171:13:1", + "referencedDeclaration": 646, + "src": "62906:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$", "typeString": "function (address) view returns (bool)" } }, - "id": 3420, + "id": 2912, "isConstant": false, "isLValue": false, "isPure": false, @@ -36376,7 +36376,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61171:15:1", + "src": "62906:15:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -36388,52 +36388,52 @@ "typeString": "bool" } }, - "id": 3425, + "id": 2917, "nodeType": "IfStatement", - "src": "61166:58:1", + "src": "62901:60:0", "trueBody": { - "id": 3424, + "id": 2916, "nodeType": "Block", - "src": "61188:36:1", + "src": "62923:38:0", "statements": [ { "expression": { "hexValue": "74727565", - "id": 3422, + "id": 2914, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "61209:4:1", + "src": "62945:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 3417, - "id": 3423, + "functionReturnParameters": 2909, + "id": 2915, "nodeType": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ] } }, { "assignments": [ - 3427 + 2919 ], "declarations": [ { "constant": false, - "id": 3427, + "id": 2919, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61233:23:1", + "scope": 2953, + "src": "62971:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36441,10 +36441,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3426, + "id": 2918, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61233:5:1", + "src": "62971:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36453,7 +36453,7 @@ "visibility": "internal" } ], - "id": 3445, + "id": 2937, "initialValue": { "arguments": [ { @@ -36463,12 +36463,12 @@ "expression": { "arguments": [ { - "id": 3433, + "id": 2925, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61327:2:1", + "referencedDeclaration": 2901, + "src": "63066:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36482,18 +36482,18 @@ "typeString": "address" } ], - "id": 3432, + "id": 2924, "name": "IERC721Receiver", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 726, - "src": "61311:15:1", + "referencedDeclaration": 218, + "src": "63050:15:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$726_$", + "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$218_$", "typeString": "type(contract IERC721Receiver)" } }, - "id": 3434, + "id": 2926, "isConstant": false, "isLValue": false, "isPure": false, @@ -36501,35 +36501,35 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61311:19:1", + "src": "63050:19:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Receiver_$726", + "typeIdentifier": "t_contract$_IERC721Receiver_$218", "typeString": "contract IERC721Receiver" } }, - "id": 3435, + "id": 2927, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "onERC721Received", "nodeType": "MemberAccess", - "referencedDeclaration": 725, - "src": "61311:36:1", + "referencedDeclaration": 217, + "src": "63050:36:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", "typeString": "function (address,address,uint256,bytes memory) external returns (bytes4)" } }, - "id": 3436, + "id": 2928, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "selector", "nodeType": "MemberAccess", - "src": "61311:45:1", + "src": "63050:45:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36539,18 +36539,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3437, + "id": 2929, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "61370:10:1", + "referencedDeclaration": 10, + "src": "63110:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3438, + "id": 2930, "isConstant": false, "isLValue": false, "isPure": false, @@ -36558,7 +36558,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61370:12:1", + "src": "63110:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -36566,36 +36566,36 @@ } }, { - "id": 3439, + "id": 2931, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3407, - "src": "61396:4:1", + "referencedDeclaration": 2899, + "src": "63137:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3440, + "id": 2932, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3411, - "src": "61414:7:1", + "referencedDeclaration": 2903, + "src": "63156:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3441, + "id": 2933, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3413, - "src": "61435:5:1", + "referencedDeclaration": 2905, + "src": "63178:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36626,31 +36626,31 @@ } ], "expression": { - "id": 3430, + "id": 2922, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61275:3:1", + "src": "63013:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3431, + "id": 2923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodeWithSelector", "nodeType": "MemberAccess", - "src": "61275:22:1", + "src": "63013:22:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bytes4) pure returns (bytes memory)" } }, - "id": 3442, + "id": 2934, "isConstant": false, "isLValue": false, "isPure": false, @@ -36658,7 +36658,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61275:175:1", + "src": "63013:181:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36667,14 +36667,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3443, + "id": 2935, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "61452:52:1", + "src": "63196:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -36694,32 +36694,32 @@ } ], "expression": { - "id": 3428, + "id": 2920, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61259:2:1", + "referencedDeclaration": 2901, + "src": "62997:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3429, + "id": 2921, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "functionCall", "nodeType": "MemberAccess", - "referencedDeclaration": 1225, - "src": "61259:15:1", + "referencedDeclaration": 717, + "src": "62997:15:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$bound_to$_t_address_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 3444, + "id": 2936, "isConstant": false, "isLValue": false, "isPure": false, @@ -36727,7 +36727,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61259:246:1", + "src": "62997:252:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36735,21 +36735,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "assignments": [ - 3447 + 2939 ], "declarations": [ { "constant": false, - "id": 3447, + "id": 2939, "mutability": "mutable", "name": "retval", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61515:13:1", + "scope": 2953, + "src": "63260:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36757,10 +36757,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 3446, + "id": 2938, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61515:6:1", + "src": "63260:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36769,16 +36769,16 @@ "visibility": "internal" } ], - "id": 3455, + "id": 2947, "initialValue": { "arguments": [ { - "id": 3450, + "id": 2942, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3427, - "src": "61542:10:1", + "referencedDeclaration": 2919, + "src": "63287:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36787,34 +36787,34 @@ { "components": [ { - "id": 3452, + "id": 2944, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" }, "typeName": { - "id": 3451, + "id": 2943, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": {} } } ], - "id": 3453, + "id": 2945, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61554:8:1", + "src": "63299:8:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" @@ -36833,31 +36833,31 @@ } ], "expression": { - "id": 3448, + "id": 2940, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61531:3:1", + "src": "63276:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3449, + "id": 2941, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "decode", "nodeType": "MemberAccess", - "src": "61531:10:1", + "src": "63276:10:0", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 3454, + "id": 2946, "isConstant": false, "isLValue": false, "isPure": false, @@ -36865,7 +36865,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61531:32:1", + "src": "63276:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes4", @@ -36873,7 +36873,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "expression": { @@ -36883,18 +36883,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 3458, + "id": 2950, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3456, + "id": 2948, "name": "retval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3447, - "src": "61581:6:1", + "referencedDeclaration": 2939, + "src": "63327:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36903,68 +36903,68 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3457, + "id": 2949, "name": "_ERC721_RECEIVED", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2596, - "src": "61591:16:1", + "referencedDeclaration": 2088, + "src": "63337:16:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "src": "61581:26:1", + "src": "63327:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3459, + "id": 2951, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61580:28:1", + "src": "63326:28:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3417, - "id": 3460, + "functionReturnParameters": 2909, + "id": 2952, "nodeType": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ] }, "documentation": { - "id": 3405, + "id": 2897, "nodeType": "StructuredDocumentation", - "src": "60479:542:1", + "src": "62201:551:0", "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3462, + "id": 2954, "implemented": true, "kind": "function", "modifiers": [], "name": "_checkOnERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 3414, + "id": 2906, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3407, + "id": 2899, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61058:12:1", + "scope": 2954, + "src": "62790:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36972,10 +36972,10 @@ "typeString": "address" }, "typeName": { - "id": 3406, + "id": 2898, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61058:7:1", + "src": "62790:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36986,12 +36986,12 @@ }, { "constant": false, - "id": 3409, + "id": 2901, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61072:10:1", + "scope": 2954, + "src": "62804:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36999,10 +36999,10 @@ "typeString": "address" }, "typeName": { - "id": 3408, + "id": 2900, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61072:7:1", + "src": "62804:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37013,12 +37013,12 @@ }, { "constant": false, - "id": 3411, + "id": 2903, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61084:15:1", + "scope": 2954, + "src": "62816:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37026,10 +37026,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3410, + "id": 2902, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61084:7:1", + "src": "62816:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37039,12 +37039,12 @@ }, { "constant": false, - "id": 3413, + "id": 2905, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61101:18:1", + "scope": 2954, + "src": "62833:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -37052,10 +37052,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3412, + "id": 2904, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61101:5:1", + "src": "62833:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -37064,20 +37064,20 @@ "visibility": "internal" } ], - "src": "61057:63:1" + "src": "62789:63:0" }, "returnParameters": { - "id": 3417, + "id": 2909, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3416, + "id": 2908, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61146:4:1", + "scope": 2954, + "src": "62879:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37085,10 +37085,10 @@ "typeString": "bool" }, "typeName": { - "id": 3415, + "id": 2907, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "61146:4:1", + "src": "62879:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -37097,48 +37097,48 @@ "visibility": "internal" } ], - "src": "61145:6:1" + "src": "62878:6:0" }, - "scope": 3498, - "src": "61026:589:1", + "scope": 2990, + "src": "62758:604:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 3485, + "id": 2977, "nodeType": "Block", - "src": "61791:125:1", + "src": "63545:128:0", "statements": [ { "expression": { - "id": 3474, + "id": 2966, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3470, + "id": 2962, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "61801:15:1", + "referencedDeclaration": 2098, + "src": "63556:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 3472, + "id": 2964, "indexExpression": { - "id": 3471, + "id": 2963, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61817:7:1", + "referencedDeclaration": 2959, + "src": "63572:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37149,7 +37149,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "61801:24:1", + "src": "63556:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -37158,26 +37158,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3473, + "id": 2965, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61828:2:1", + "referencedDeclaration": 2957, + "src": "63583:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "61801:29:1", + "src": "63556:29:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3475, + "id": 2967, "nodeType": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "eventCall": { @@ -37185,12 +37185,12 @@ { "arguments": [ { - "id": 3479, + "id": 2971, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61869:7:1", + "referencedDeclaration": 2959, + "src": "63625:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37205,32 +37205,32 @@ } ], "expression": { - "id": 3477, + "id": 2969, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "61854:6:1", + "referencedDeclaration": 2990, + "src": "63610:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3478, + "id": 2970, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "61854:14:1", + "referencedDeclaration": 2194, + "src": "63610:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3480, + "id": 2972, "isConstant": false, "isLValue": false, "isPure": false, @@ -37238,7 +37238,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61854:23:1", + "src": "63610:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -37246,24 +37246,24 @@ } }, { - "id": 3481, + "id": 2973, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61879:2:1", + "referencedDeclaration": 2957, + "src": "63635:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3482, + "id": 2974, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61883:7:1", + "referencedDeclaration": 2959, + "src": "63639:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37285,18 +37285,18 @@ "typeString": "uint256" } ], - "id": 3476, + "id": 2968, "name": "Approval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 563, - "src": "61845:8:1", + "referencedDeclaration": 55, + "src": "63601:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3483, + "id": 2975, "isConstant": false, "isLValue": false, "isPure": false, @@ -37304,43 +37304,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61845:46:1", + "src": "63601:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3484, + "id": 2976, "nodeType": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ] }, "documentation": { - "id": 3463, + "id": 2955, "nodeType": "StructuredDocumentation", - "src": "61621:101:1", + "src": "63370:105:0", "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3486, + "id": 2978, "implemented": true, "kind": "function", "modifiers": [], "name": "_approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 3468, + "id": 2960, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3465, + "id": 2957, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61745:10:1", + "scope": 2978, + "src": "63499:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37348,10 +37348,10 @@ "typeString": "address" }, "typeName": { - "id": 3464, + "id": 2956, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61745:7:1", + "src": "63499:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37362,12 +37362,12 @@ }, { "constant": false, - "id": 3467, + "id": 2959, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61757:15:1", + "scope": 2978, + "src": "63511:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37375,10 +37375,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3466, + "id": 2958, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61757:7:1", + "src": "63511:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37387,51 +37387,51 @@ "visibility": "internal" } ], - "src": "61744:29:1" + "src": "63498:29:0" }, "returnParameters": { - "id": 3469, + "id": 2961, "nodeType": "ParameterList", "parameters": [], - "src": "61791:0:1" + "src": "63545:0:0" }, - "scope": 3498, - "src": "61727:189:1", + "scope": 2990, + "src": "63481:192:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3496, + "id": 2988, "nodeType": "Block", - "src": "62602:3:1", + "src": "64376:3:0", "statements": [] }, "documentation": { - "id": 3487, + "id": 2979, "nodeType": "StructuredDocumentation", - "src": "61922:585:1", + "src": "63681:599:0", "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3497, + "id": 2989, "implemented": true, "kind": "function", "modifiers": [], "name": "_beforeTokenTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3494, + "id": 2986, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3489, + "id": 2981, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62542:12:1", + "scope": 2989, + "src": "64316:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37439,10 +37439,10 @@ "typeString": "address" }, "typeName": { - "id": 3488, + "id": 2980, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62542:7:1", + "src": "64316:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37453,12 +37453,12 @@ }, { "constant": false, - "id": 3491, + "id": 2983, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62556:10:1", + "scope": 2989, + "src": "64330:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37466,10 +37466,10 @@ "typeString": "address" }, "typeName": { - "id": 3490, + "id": 2982, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62556:7:1", + "src": "64330:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37480,12 +37480,12 @@ }, { "constant": false, - "id": 3493, + "id": 2985, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62568:15:1", + "scope": 2989, + "src": "64342:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37493,10 +37493,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3492, + "id": 2984, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "62568:7:1", + "src": "64342:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37505,69 +37505,69 @@ "visibility": "internal" } ], - "src": "62541:43:1" + "src": "64315:43:0" }, "returnParameters": { - "id": 3495, + "id": 2987, "nodeType": "ParameterList", "parameters": [], - "src": "62602:0:1" + "src": "64376:0:0" }, - "scope": 3498, - "src": "62512:93:1", + "scope": 2990, + "src": "64286:93:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "46080:16527:1" + "scope": 2991, + "src": "47398:16984:0" } ], - "src": "84:62524:1" + "src": "87:64297:0" }, "legacyAST": { "attributes": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, "license": "MIT" @@ -37585,9 +37585,9 @@ ".0" ] }, - "id": 509, + "id": 1, "name": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "attributes": { @@ -37601,10 +37601,10 @@ "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", - "scope": 3499 + "scope": 2991 }, "children": [ { @@ -37616,7 +37616,7 @@ null ], "name": "_msgSender", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37629,9 +37629,9 @@ ] }, "children": [], - "id": 510, + "id": 2, "name": "ParameterList", - "src": "668:2:1" + "src": "684:2:0" }, { "children": [ @@ -37640,7 +37640,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 518, + "scope": 10, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -37653,25 +37653,25 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 511, + "id": 3, "name": "ElementaryTypeName", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 512, + "id": 4, "name": "VariableDeclaration", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 513, + "id": 5, "name": "ParameterList", - "src": "701:17:1" + "src": "717:17:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 513 + "functionReturnParameters": 5 }, "children": [ { @@ -37693,29 +37693,29 @@ "type": "msg", "value": "msg" }, - "id": 514, + "id": 6, "name": "Identifier", - "src": "736:3:1" + "src": "753:3:0" } ], - "id": 515, + "id": 7, "name": "MemberAccess", - "src": "736:10:1" + "src": "753:10:0" } ], - "id": 516, + "id": 8, "name": "Return", - "src": "729:17:1" + "src": "746:17:0" } ], - "id": 517, + "id": 9, "name": "Block", - "src": "719:34:1" + "src": "735:36:0" } ], - "id": 518, + "id": 10, "name": "FunctionDefinition", - "src": "649:104:1" + "src": "665:106:0" }, { "attributes": { @@ -37726,7 +37726,7 @@ null ], "name": "_msgData", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37739,9 +37739,9 @@ ] }, "children": [], - "id": 519, + "id": 11, "name": "ParameterList", - "src": "776:2:1" + "src": "796:2:0" }, { "children": [ @@ -37750,7 +37750,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 529, + "scope": 21, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -37762,19 +37762,19 @@ "name": "bytes", "type": "bytes" }, - "id": 520, + "id": 12, "name": "ElementaryTypeName", - "src": "810:5:1" + "src": "830:5:0" } ], - "id": 521, + "id": 13, "name": "VariableDeclaration", - "src": "810:12:1" + "src": "830:12:0" } ], - "id": 522, + "id": 14, "name": "ParameterList", - "src": "809:14:1" + "src": "829:14:0" }, { "children": [ @@ -37789,18 +37789,18 @@ "type": "contract Context", "value": "this" }, - "id": 523, + "id": 15, "name": "Identifier", - "src": "834:4:1" + "src": "855:4:0" } ], - "id": 524, + "id": 16, "name": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "attributes": { - "functionReturnParameters": 522 + "functionReturnParameters": 14 }, "children": [ { @@ -37822,34 +37822,34 @@ "type": "msg", "value": "msg" }, - "id": 525, + "id": 17, "name": "Identifier", - "src": "974:3:1" + "src": "996:3:0" } ], - "id": 526, + "id": 18, "name": "MemberAccess", - "src": "974:8:1" + "src": "996:8:0" } ], - "id": 527, + "id": 19, "name": "Return", - "src": "967:15:1" + "src": "989:15:0" } ], - "id": 528, + "id": 20, "name": "Block", - "src": "824:165:1" + "src": "844:168:0" } ], - "id": 529, + "id": 21, "name": "FunctionDefinition", - "src": "759:230:1" + "src": "779:233:0" } ], - "id": 530, + "id": 22, "name": "ContractDefinition", - "src": "617:374:1" + "src": "632:383:0" }, { "attributes": { @@ -37863,9 +37863,9 @@ ".0" ] }, - "id": 531, + "id": 23, "name": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "attributes": { @@ -37879,19 +37879,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, - "id": 532, + "id": 24, "name": "StructuredDocumentation", - "src": "1086:279:1" + "src": "1116:287:0" }, { "attributes": { @@ -37903,7 +37903,7 @@ null ], "name": "supportsInterface", - "scope": 541, + "scope": 33, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -37913,9 +37913,9 @@ "attributes": { "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, - "id": 533, + "id": 25, "name": "StructuredDocumentation", - "src": "1390:340:1" + "src": "1430:347:0" }, { "children": [ @@ -37924,7 +37924,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -37936,19 +37936,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 534, + "id": 26, "name": "ElementaryTypeName", - "src": "1762:6:1" + "src": "1810:6:0" } ], - "id": 535, + "id": 27, "name": "VariableDeclaration", - "src": "1762:18:1" + "src": "1810:18:0" } ], - "id": 536, + "id": 28, "name": "ParameterList", - "src": "1761:20:1" + "src": "1809:20:0" }, { "children": [ @@ -37957,7 +37957,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -37969,29 +37969,29 @@ "name": "bool", "type": "bool" }, - "id": 537, + "id": 29, "name": "ElementaryTypeName", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 538, + "id": 30, "name": "VariableDeclaration", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 539, + "id": 31, "name": "ParameterList", - "src": "1804:6:1" + "src": "1852:6:0" } ], - "id": 540, + "id": 32, "name": "FunctionDefinition", - "src": "1735:76:1" + "src": "1783:76:0" } ], - "id": 541, + "id": 33, "name": "ContractDefinition", - "src": "1366:447:1" + "src": "1405:457:0" }, { "attributes": { @@ -38005,33 +38005,33 @@ ".0" ] }, - "id": 542, + "id": 34, "name": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Required interface of an ERC721 compliant contract." }, - "id": 543, + "id": 35, "name": "StructuredDocumentation", - "src": "1907:67:1" + "src": "1962:69:0" }, { "attributes": {}, @@ -38039,17 +38039,17 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 544, + "id": 36, "name": "UserDefinedTypeName", - "src": "1996:7:1" + "src": "2054:7:0" } ], - "id": 545, + "id": 37, "name": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" }, { "attributes": { @@ -38061,9 +38061,9 @@ "attributes": { "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 546, + "id": 38, "name": "StructuredDocumentation", - "src": "2010:88:1" + "src": "2069:90:0" }, { "children": [ @@ -38073,7 +38073,7 @@ "indexed": true, "mutability": "mutable", "name": "from", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38086,14 +38086,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 547, + "id": 39, "name": "ElementaryTypeName", - "src": "2118:7:1" + "src": "2180:7:0" } ], - "id": 548, + "id": 40, "name": "VariableDeclaration", - "src": "2118:20:1" + "src": "2180:20:0" }, { "attributes": { @@ -38101,7 +38101,7 @@ "indexed": true, "mutability": "mutable", "name": "to", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38114,14 +38114,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 549, + "id": 41, "name": "ElementaryTypeName", - "src": "2140:7:1" + "src": "2202:7:0" } ], - "id": 550, + "id": 42, "name": "VariableDeclaration", - "src": "2140:18:1" + "src": "2202:18:0" }, { "attributes": { @@ -38129,7 +38129,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38141,24 +38141,24 @@ "name": "uint256", "type": "uint256" }, - "id": 551, + "id": 43, "name": "ElementaryTypeName", - "src": "2160:7:1" + "src": "2222:7:0" } ], - "id": 552, + "id": 44, "name": "VariableDeclaration", - "src": "2160:23:1" + "src": "2222:23:0" } ], - "id": 553, + "id": 45, "name": "ParameterList", - "src": "2117:67:1" + "src": "2179:67:0" } ], - "id": 554, + "id": 46, "name": "EventDefinition", - "src": "2103:82:1" + "src": "2165:82:0" }, { "attributes": { @@ -38170,9 +38170,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 555, + "id": 47, "name": "StructuredDocumentation", - "src": "2191:94:1" + "src": "2255:96:0" }, { "children": [ @@ -38182,7 +38182,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38195,14 +38195,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 556, + "id": 48, "name": "ElementaryTypeName", - "src": "2305:7:1" + "src": "2372:7:0" } ], - "id": 557, + "id": 49, "name": "VariableDeclaration", - "src": "2305:21:1" + "src": "2372:21:0" }, { "attributes": { @@ -38210,7 +38210,7 @@ "indexed": true, "mutability": "mutable", "name": "approved", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38223,14 +38223,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 558, + "id": 50, "name": "ElementaryTypeName", - "src": "2328:7:1" + "src": "2395:7:0" } ], - "id": 559, + "id": 51, "name": "VariableDeclaration", - "src": "2328:24:1" + "src": "2395:24:0" }, { "attributes": { @@ -38238,7 +38238,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38250,24 +38250,24 @@ "name": "uint256", "type": "uint256" }, - "id": 560, + "id": 52, "name": "ElementaryTypeName", - "src": "2354:7:1" + "src": "2421:7:0" } ], - "id": 561, + "id": 53, "name": "VariableDeclaration", - "src": "2354:23:1" + "src": "2421:23:0" } ], - "id": 562, + "id": 54, "name": "ParameterList", - "src": "2304:74:1" + "src": "2371:74:0" } ], - "id": 563, + "id": 55, "name": "EventDefinition", - "src": "2290:89:1" + "src": "2357:89:0" }, { "attributes": { @@ -38279,9 +38279,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 564, + "id": 56, "name": "StructuredDocumentation", - "src": "2385:117:1" + "src": "2454:119:0" }, { "children": [ @@ -38291,7 +38291,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38304,14 +38304,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 565, + "id": 57, "name": "ElementaryTypeName", - "src": "2528:7:1" + "src": "2600:7:0" } ], - "id": 566, + "id": 58, "name": "VariableDeclaration", - "src": "2528:21:1" + "src": "2600:21:0" }, { "attributes": { @@ -38319,7 +38319,7 @@ "indexed": true, "mutability": "mutable", "name": "operator", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38332,14 +38332,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 567, + "id": 59, "name": "ElementaryTypeName", - "src": "2551:7:1" + "src": "2623:7:0" } ], - "id": 568, + "id": 60, "name": "VariableDeclaration", - "src": "2551:24:1" + "src": "2623:24:0" }, { "attributes": { @@ -38347,7 +38347,7 @@ "indexed": false, "mutability": "mutable", "name": "approved", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38359,24 +38359,24 @@ "name": "bool", "type": "bool" }, - "id": 569, + "id": 61, "name": "ElementaryTypeName", - "src": "2577:4:1" + "src": "2649:4:0" } ], - "id": 570, + "id": 62, "name": "VariableDeclaration", - "src": "2577:13:1" + "src": "2649:13:0" } ], - "id": 571, + "id": 63, "name": "ParameterList", - "src": "2527:64:1" + "src": "2599:64:0" } ], - "id": 572, + "id": 64, "name": "EventDefinition", - "src": "2507:85:1" + "src": "2579:85:0" }, { "attributes": { @@ -38388,7 +38388,7 @@ null ], "name": "balanceOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38398,9 +38398,9 @@ "attributes": { "text": " @dev Returns the number of tokens in ``owner``'s account." }, - "id": 573, + "id": 65, "name": "StructuredDocumentation", - "src": "2598:76:1" + "src": "2672:78:0" }, { "children": [ @@ -38409,7 +38409,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38422,19 +38422,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 574, + "id": 66, "name": "ElementaryTypeName", - "src": "2698:7:1" + "src": "2775:7:0" } ], - "id": 575, + "id": 67, "name": "VariableDeclaration", - "src": "2698:13:1" + "src": "2775:13:0" } ], - "id": 576, + "id": 68, "name": "ParameterList", - "src": "2697:15:1" + "src": "2774:15:0" }, { "children": [ @@ -38443,7 +38443,7 @@ "constant": false, "mutability": "mutable", "name": "balance", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38455,24 +38455,24 @@ "name": "uint256", "type": "uint256" }, - "id": 577, + "id": 69, "name": "ElementaryTypeName", - "src": "2736:7:1" + "src": "2813:7:0" } ], - "id": 578, + "id": 70, "name": "VariableDeclaration", - "src": "2736:15:1" + "src": "2813:15:0" } ], - "id": 579, + "id": 71, "name": "ParameterList", - "src": "2735:17:1" + "src": "2812:17:0" } ], - "id": 580, + "id": 72, "name": "FunctionDefinition", - "src": "2679:74:1" + "src": "2756:74:0" }, { "attributes": { @@ -38484,7 +38484,7 @@ null ], "name": "ownerOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38494,9 +38494,9 @@ "attributes": { "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 581, + "id": 73, "name": "StructuredDocumentation", - "src": "2759:131:1" + "src": "2838:137:0" }, { "children": [ @@ -38505,7 +38505,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38517,19 +38517,19 @@ "name": "uint256", "type": "uint256" }, - "id": 582, + "id": 74, "name": "ElementaryTypeName", - "src": "2912:7:1" + "src": "2998:7:0" } ], - "id": 583, + "id": 75, "name": "VariableDeclaration", - "src": "2912:15:1" + "src": "2998:15:0" } ], - "id": 584, + "id": 76, "name": "ParameterList", - "src": "2911:17:1" + "src": "2997:17:0" }, { "children": [ @@ -38538,7 +38538,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38551,24 +38551,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 585, + "id": 77, "name": "ElementaryTypeName", - "src": "2952:7:1" + "src": "3038:7:0" } ], - "id": 586, + "id": 78, "name": "VariableDeclaration", - "src": "2952:13:1" + "src": "3038:13:0" } ], - "id": 587, + "id": 79, "name": "ParameterList", - "src": "2951:15:1" + "src": "3037:15:0" } ], - "id": 588, + "id": 80, "name": "FunctionDefinition", - "src": "2895:72:1" + "src": "2981:72:0" }, { "attributes": { @@ -38580,7 +38580,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38590,9 +38590,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 589, + "id": 81, "name": "StructuredDocumentation", - "src": "2973:690:1" + "src": "3061:703:0" }, { "children": [ @@ -38601,7 +38601,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38614,21 +38614,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 590, + "id": 82, "name": "ElementaryTypeName", - "src": "3694:7:1" + "src": "3796:7:0" } ], - "id": 591, + "id": 83, "name": "VariableDeclaration", - "src": "3694:12:1" + "src": "3796:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38641,21 +38641,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 592, + "id": 84, "name": "ElementaryTypeName", - "src": "3708:7:1" + "src": "3810:7:0" } ], - "id": 593, + "id": 85, "name": "VariableDeclaration", - "src": "3708:10:1" + "src": "3810:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38667,19 +38667,19 @@ "name": "uint256", "type": "uint256" }, - "id": 594, + "id": 86, "name": "ElementaryTypeName", - "src": "3720:7:1" + "src": "3822:7:0" } ], - "id": 595, + "id": 87, "name": "VariableDeclaration", - "src": "3720:15:1" + "src": "3822:15:0" } ], - "id": 596, + "id": 88, "name": "ParameterList", - "src": "3693:43:1" + "src": "3795:43:0" }, { "attributes": { @@ -38688,14 +38688,14 @@ ] }, "children": [], - "id": 597, + "id": 89, "name": "ParameterList", - "src": "3745:0:1" + "src": "3847:0:0" } ], - "id": 598, + "id": 90, "name": "FunctionDefinition", - "src": "3668:78:1" + "src": "3770:78:0" }, { "attributes": { @@ -38707,7 +38707,7 @@ null ], "name": "transferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38717,9 +38717,9 @@ "attributes": { "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, - "id": 599, + "id": 91, "name": "StructuredDocumentation", - "src": "3752:504:1" + "src": "3856:517:0" }, { "children": [ @@ -38728,7 +38728,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38741,21 +38741,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 600, + "id": 92, "name": "ElementaryTypeName", - "src": "4283:7:1" + "src": "4401:7:0" } ], - "id": 601, + "id": 93, "name": "VariableDeclaration", - "src": "4283:12:1" + "src": "4401:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38768,21 +38768,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 602, + "id": 94, "name": "ElementaryTypeName", - "src": "4297:7:1" + "src": "4415:7:0" } ], - "id": 603, + "id": 95, "name": "VariableDeclaration", - "src": "4297:10:1" + "src": "4415:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38794,19 +38794,19 @@ "name": "uint256", "type": "uint256" }, - "id": 604, + "id": 96, "name": "ElementaryTypeName", - "src": "4309:7:1" + "src": "4427:7:0" } ], - "id": 605, + "id": 97, "name": "VariableDeclaration", - "src": "4309:15:1" + "src": "4427:15:0" } ], - "id": 606, + "id": 98, "name": "ParameterList", - "src": "4282:43:1" + "src": "4400:43:0" }, { "attributes": { @@ -38815,14 +38815,14 @@ ] }, "children": [], - "id": 607, + "id": 99, "name": "ParameterList", - "src": "4334:0:1" + "src": "4452:0:0" } ], - "id": 608, + "id": 100, "name": "FunctionDefinition", - "src": "4261:74:1" + "src": "4379:74:0" }, { "attributes": { @@ -38834,7 +38834,7 @@ null ], "name": "approve", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38844,9 +38844,9 @@ "attributes": { "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, - "id": 609, + "id": 101, "name": "StructuredDocumentation", - "src": "4341:452:1" + "src": "4461:464:0" }, { "children": [ @@ -38855,7 +38855,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38868,21 +38868,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 610, + "id": 102, "name": "ElementaryTypeName", - "src": "4815:7:1" + "src": "4948:7:0" } ], - "id": 611, + "id": 103, "name": "VariableDeclaration", - "src": "4815:10:1" + "src": "4948:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38894,19 +38894,19 @@ "name": "uint256", "type": "uint256" }, - "id": 612, + "id": 104, "name": "ElementaryTypeName", - "src": "4827:7:1" + "src": "4960:7:0" } ], - "id": 613, + "id": 105, "name": "VariableDeclaration", - "src": "4827:15:1" + "src": "4960:15:0" } ], - "id": 614, + "id": 106, "name": "ParameterList", - "src": "4814:29:1" + "src": "4947:29:0" }, { "attributes": { @@ -38915,14 +38915,14 @@ ] }, "children": [], - "id": 615, + "id": 107, "name": "ParameterList", - "src": "4852:0:1" + "src": "4985:0:0" } ], - "id": 616, + "id": 108, "name": "FunctionDefinition", - "src": "4798:55:1" + "src": "4931:55:0" }, { "attributes": { @@ -38934,7 +38934,7 @@ null ], "name": "getApproved", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38944,9 +38944,9 @@ "attributes": { "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 617, + "id": 109, "name": "StructuredDocumentation", - "src": "4859:139:1" + "src": "4994:145:0" }, { "children": [ @@ -38955,7 +38955,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38967,19 +38967,19 @@ "name": "uint256", "type": "uint256" }, - "id": 618, + "id": 110, "name": "ElementaryTypeName", - "src": "5024:7:1" + "src": "5166:7:0" } ], - "id": 619, + "id": 111, "name": "VariableDeclaration", - "src": "5024:15:1" + "src": "5166:15:0" } ], - "id": 620, + "id": 112, "name": "ParameterList", - "src": "5023:17:1" + "src": "5165:17:0" }, { "children": [ @@ -38988,7 +38988,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39001,24 +39001,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 621, + "id": 113, "name": "ElementaryTypeName", - "src": "5064:7:1" + "src": "5206:7:0" } ], - "id": 622, + "id": 114, "name": "VariableDeclaration", - "src": "5064:16:1" + "src": "5206:16:0" } ], - "id": 623, + "id": 115, "name": "ParameterList", - "src": "5063:18:1" + "src": "5205:18:0" } ], - "id": 624, + "id": 116, "name": "FunctionDefinition", - "src": "5003:79:1" + "src": "5145:79:0" }, { "attributes": { @@ -39030,7 +39030,7 @@ null ], "name": "setApprovalForAll", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -39040,9 +39040,9 @@ "attributes": { "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, - "id": 625, + "id": 117, "name": "StructuredDocumentation", - "src": "5088:309:1" + "src": "5232:318:0" }, { "children": [ @@ -39051,7 +39051,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39064,21 +39064,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 626, + "id": 118, "name": "ElementaryTypeName", - "src": "5429:7:1" + "src": "5583:7:0" } ], - "id": 627, + "id": 119, "name": "VariableDeclaration", - "src": "5429:16:1" + "src": "5583:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_approved", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -39090,19 +39090,19 @@ "name": "bool", "type": "bool" }, - "id": 628, + "id": 120, "name": "ElementaryTypeName", - "src": "5447:4:1" + "src": "5601:4:0" } ], - "id": 629, + "id": 121, "name": "VariableDeclaration", - "src": "5447:14:1" + "src": "5601:14:0" } ], - "id": 630, + "id": 122, "name": "ParameterList", - "src": "5428:34:1" + "src": "5582:34:0" }, { "attributes": { @@ -39111,14 +39111,14 @@ ] }, "children": [], - "id": 631, + "id": 123, "name": "ParameterList", - "src": "5471:0:1" + "src": "5625:0:0" } ], - "id": 632, + "id": 124, "name": "FunctionDefinition", - "src": "5402:70:1" + "src": "5556:70:0" }, { "attributes": { @@ -39130,7 +39130,7 @@ null ], "name": "isApprovedForAll", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39140,9 +39140,9 @@ "attributes": { "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, - "id": 633, + "id": 125, "name": "StructuredDocumentation", - "src": "5478:138:1" + "src": "5634:142:0" }, { "children": [ @@ -39151,7 +39151,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39164,21 +39164,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 634, + "id": 126, "name": "ElementaryTypeName", - "src": "5647:7:1" + "src": "5808:7:0" } ], - "id": 635, + "id": 127, "name": "VariableDeclaration", - "src": "5647:13:1" + "src": "5808:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39191,19 +39191,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 636, + "id": 128, "name": "ElementaryTypeName", - "src": "5662:7:1" + "src": "5823:7:0" } ], - "id": 637, + "id": 129, "name": "VariableDeclaration", - "src": "5662:16:1" + "src": "5823:16:0" } ], - "id": 638, + "id": 130, "name": "ParameterList", - "src": "5646:33:1" + "src": "5807:33:0" }, { "children": [ @@ -39212,7 +39212,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -39224,24 +39224,24 @@ "name": "bool", "type": "bool" }, - "id": 639, + "id": 131, "name": "ElementaryTypeName", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 640, + "id": 132, "name": "VariableDeclaration", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 641, + "id": 133, "name": "ParameterList", - "src": "5702:6:1" + "src": "5863:6:0" } ], - "id": 642, + "id": 134, "name": "FunctionDefinition", - "src": "5621:88:1" + "src": "5782:88:0" }, { "attributes": { @@ -39253,7 +39253,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -39263,9 +39263,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 643, + "id": 135, "name": "StructuredDocumentation", - "src": "5715:568:1" + "src": "5878:580:0" }, { "children": [ @@ -39274,7 +39274,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39287,21 +39287,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 644, + "id": 136, "name": "ElementaryTypeName", - "src": "6314:7:1" + "src": "6490:7:0" } ], - "id": 645, + "id": 137, "name": "VariableDeclaration", - "src": "6314:12:1" + "src": "6490:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39314,21 +39314,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 646, + "id": 138, "name": "ElementaryTypeName", - "src": "6328:7:1" + "src": "6504:7:0" } ], - "id": 647, + "id": 139, "name": "VariableDeclaration", - "src": "6328:10:1" + "src": "6504:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39340,21 +39340,21 @@ "name": "uint256", "type": "uint256" }, - "id": 648, + "id": 140, "name": "ElementaryTypeName", - "src": "6340:7:1" + "src": "6516:7:0" } ], - "id": 649, + "id": 141, "name": "VariableDeclaration", - "src": "6340:15:1" + "src": "6516:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39366,19 +39366,19 @@ "name": "bytes", "type": "bytes" }, - "id": 650, + "id": 142, "name": "ElementaryTypeName", - "src": "6357:5:1" + "src": "6533:5:0" } ], - "id": 651, + "id": 143, "name": "VariableDeclaration", - "src": "6357:19:1" + "src": "6533:19:0" } ], - "id": 652, + "id": 144, "name": "ParameterList", - "src": "6313:64:1" + "src": "6489:64:0" }, { "attributes": { @@ -39387,19 +39387,19 @@ ] }, "children": [], - "id": 653, + "id": 145, "name": "ParameterList", - "src": "6386:0:1" + "src": "6562:0:0" } ], - "id": 654, + "id": 146, "name": "FunctionDefinition", - "src": "6288:99:1" + "src": "6464:99:0" } ], - "id": 655, + "id": 147, "name": "ContractDefinition", - "src": "1975:4414:1" + "src": "2033:4533:0" }, { "attributes": { @@ -39413,35 +39413,35 @@ ".0" ] }, - "id": 656, + "id": 148, "name": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 657, + "id": 149, "name": "StructuredDocumentation", - "src": "6491:133:1" + "src": "6674:136:0" }, { "attributes": {}, @@ -39449,17 +39449,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 658, + "id": 150, "name": "UserDefinedTypeName", - "src": "6654:7:1" + "src": "6841:7:0" } ], - "id": 659, + "id": 151, "name": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" }, { "attributes": { @@ -39471,7 +39471,7 @@ null ], "name": "name", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39481,9 +39481,9 @@ "attributes": { "text": " @dev Returns the token collection name." }, - "id": 660, + "id": 152, "name": "StructuredDocumentation", - "src": "6669:58:1" + "src": "6858:60:0" }, { "attributes": { @@ -39492,9 +39492,9 @@ ] }, "children": [], - "id": 661, + "id": 153, "name": "ParameterList", - "src": "6745:2:1" + "src": "6937:2:0" }, { "children": [ @@ -39503,7 +39503,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 665, + "scope": 157, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39515,24 +39515,24 @@ "name": "string", "type": "string" }, - "id": 662, + "id": 154, "name": "ElementaryTypeName", - "src": "6771:6:1" + "src": "6963:6:0" } ], - "id": 663, + "id": 155, "name": "VariableDeclaration", - "src": "6771:13:1" + "src": "6963:13:0" } ], - "id": 664, + "id": 156, "name": "ParameterList", - "src": "6770:15:1" + "src": "6962:15:0" } ], - "id": 665, + "id": 157, "name": "FunctionDefinition", - "src": "6732:54:1" + "src": "6924:54:0" }, { "attributes": { @@ -39544,7 +39544,7 @@ null ], "name": "symbol", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39554,9 +39554,9 @@ "attributes": { "text": " @dev Returns the token collection symbol." }, - "id": 666, + "id": 158, "name": "StructuredDocumentation", - "src": "6792:60:1" + "src": "6986:62:0" }, { "attributes": { @@ -39565,9 +39565,9 @@ ] }, "children": [], - "id": 667, + "id": 159, "name": "ParameterList", - "src": "6872:2:1" + "src": "7069:2:0" }, { "children": [ @@ -39576,7 +39576,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 671, + "scope": 163, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39588,24 +39588,24 @@ "name": "string", "type": "string" }, - "id": 668, + "id": 160, "name": "ElementaryTypeName", - "src": "6898:6:1" + "src": "7095:6:0" } ], - "id": 669, + "id": 161, "name": "VariableDeclaration", - "src": "6898:13:1" + "src": "7095:13:0" } ], - "id": 670, + "id": 162, "name": "ParameterList", - "src": "6897:15:1" + "src": "7094:15:0" } ], - "id": 671, + "id": 163, "name": "FunctionDefinition", - "src": "6857:56:1" + "src": "7054:56:0" }, { "attributes": { @@ -39617,7 +39617,7 @@ null ], "name": "tokenURI", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39627,9 +39627,9 @@ "attributes": { "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, - "id": 672, + "id": 164, "name": "StructuredDocumentation", - "src": "6919:90:1" + "src": "7118:92:0" }, { "children": [ @@ -39638,7 +39638,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39650,19 +39650,19 @@ "name": "uint256", "type": "uint256" }, - "id": 673, + "id": 165, "name": "ElementaryTypeName", - "src": "7032:7:1" + "src": "7234:7:0" } ], - "id": 674, + "id": 166, "name": "VariableDeclaration", - "src": "7032:15:1" + "src": "7234:15:0" } ], - "id": 675, + "id": 167, "name": "ParameterList", - "src": "7031:17:1" + "src": "7233:17:0" }, { "children": [ @@ -39671,7 +39671,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39683,29 +39683,29 @@ "name": "string", "type": "string" }, - "id": 676, + "id": 168, "name": "ElementaryTypeName", - "src": "7072:6:1" + "src": "7274:6:0" } ], - "id": 677, + "id": 169, "name": "VariableDeclaration", - "src": "7072:13:1" + "src": "7274:13:0" } ], - "id": 678, + "id": 170, "name": "ParameterList", - "src": "7071:15:1" + "src": "7273:15:0" } ], - "id": 679, + "id": 171, "name": "FunctionDefinition", - "src": "7014:73:1" + "src": "7216:73:0" } ], - "id": 680, + "id": 172, "name": "ContractDefinition", - "src": "6625:464:1" + "src": "6812:480:0" }, { "attributes": { @@ -39719,35 +39719,35 @@ ".0" ] }, - "id": 681, + "id": 173, "name": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 682, + "id": 174, "name": "StructuredDocumentation", - "src": "7195:136:1" + "src": "7406:139:0" }, { "attributes": {}, @@ -39755,17 +39755,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 683, + "id": 175, "name": "UserDefinedTypeName", - "src": "7363:7:1" + "src": "7578:7:0" } ], - "id": 684, + "id": 176, "name": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" }, { "attributes": { @@ -39777,7 +39777,7 @@ null ], "name": "totalSupply", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39787,9 +39787,9 @@ "attributes": { "text": " @dev Returns the total amount of tokens stored by the contract." }, - "id": 685, + "id": 177, "name": "StructuredDocumentation", - "src": "7378:82:1" + "src": "7595:84:0" }, { "attributes": { @@ -39798,9 +39798,9 @@ ] }, "children": [], - "id": 686, + "id": 178, "name": "ParameterList", - "src": "7485:2:1" + "src": "7705:2:0" }, { "children": [ @@ -39809,7 +39809,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 690, + "scope": 182, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39821,24 +39821,24 @@ "name": "uint256", "type": "uint256" }, - "id": 687, + "id": 179, "name": "ElementaryTypeName", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 688, + "id": 180, "name": "VariableDeclaration", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 689, + "id": 181, "name": "ParameterList", - "src": "7510:9:1" + "src": "7730:9:0" } ], - "id": 690, + "id": 182, "name": "FunctionDefinition", - "src": "7465:55:1" + "src": "7685:55:0" }, { "attributes": { @@ -39850,7 +39850,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39860,9 +39860,9 @@ "attributes": { "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, - "id": 691, + "id": 183, "name": "StructuredDocumentation", - "src": "7526:171:1" + "src": "7748:174:0" }, { "children": [ @@ -39871,7 +39871,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39884,21 +39884,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 692, + "id": 184, "name": "ElementaryTypeName", - "src": "7731:7:1" + "src": "7957:7:0" } ], - "id": 693, + "id": 185, "name": "VariableDeclaration", - "src": "7731:13:1" + "src": "7957:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39910,19 +39910,19 @@ "name": "uint256", "type": "uint256" }, - "id": 694, + "id": 186, "name": "ElementaryTypeName", - "src": "7746:7:1" + "src": "7972:7:0" } ], - "id": 695, + "id": 187, "name": "VariableDeclaration", - "src": "7746:13:1" + "src": "7972:13:0" } ], - "id": 696, + "id": 188, "name": "ParameterList", - "src": "7730:30:1" + "src": "7956:30:0" }, { "children": [ @@ -39931,7 +39931,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39943,24 +39943,24 @@ "name": "uint256", "type": "uint256" }, - "id": 697, + "id": 189, "name": "ElementaryTypeName", - "src": "7784:7:1" + "src": "8010:7:0" } ], - "id": 698, + "id": 190, "name": "VariableDeclaration", - "src": "7784:15:1" + "src": "8010:15:0" } ], - "id": 699, + "id": 191, "name": "ParameterList", - "src": "7783:17:1" + "src": "8009:17:0" } ], - "id": 700, + "id": 192, "name": "FunctionDefinition", - "src": "7702:99:1" + "src": "7928:99:0" }, { "attributes": { @@ -39972,7 +39972,7 @@ null ], "name": "tokenByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39982,9 +39982,9 @@ "attributes": { "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, - "id": 701, + "id": 193, "name": "StructuredDocumentation", - "src": "7807:164:1" + "src": "8035:167:0" }, { "children": [ @@ -39993,7 +39993,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40005,19 +40005,19 @@ "name": "uint256", "type": "uint256" }, - "id": 702, + "id": 194, "name": "ElementaryTypeName", - "src": "7998:7:1" + "src": "8230:7:0" } ], - "id": 703, + "id": 195, "name": "VariableDeclaration", - "src": "7998:13:1" + "src": "8230:13:0" } ], - "id": 704, + "id": 196, "name": "ParameterList", - "src": "7997:15:1" + "src": "8229:15:0" }, { "children": [ @@ -40026,7 +40026,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40038,29 +40038,29 @@ "name": "uint256", "type": "uint256" }, - "id": 705, + "id": 197, "name": "ElementaryTypeName", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 706, + "id": 198, "name": "VariableDeclaration", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 707, + "id": 199, "name": "ParameterList", - "src": "8035:9:1" + "src": "8267:9:0" } ], - "id": 708, + "id": 200, "name": "FunctionDefinition", - "src": "7976:69:1" + "src": "8208:69:0" } ], - "id": 709, + "id": 201, "name": "ContractDefinition", - "src": "7332:715:1" + "src": "7547:733:0" }, { "attributes": { @@ -40074,9 +40074,9 @@ ".0" ] }, - "id": 710, + "id": 202, "name": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "attributes": { @@ -40090,19 +40090,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, - "id": 711, + "id": 203, "name": "StructuredDocumentation", - "src": "8150:152:1" + "src": "8390:156:0" }, { "attributes": { @@ -40114,7 +40114,7 @@ null ], "name": "onERC721Received", - "scope": 726, + "scope": 218, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -40124,9 +40124,9 @@ "attributes": { "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, - "id": 712, + "id": 204, "name": "StructuredDocumentation", - "src": "8335:485:1" + "src": "8581:493:0" }, { "children": [ @@ -40135,7 +40135,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -40148,21 +40148,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 713, + "id": 205, "name": "ElementaryTypeName", - "src": "8851:7:1" + "src": "9106:7:0" } ], - "id": 714, + "id": 206, "name": "VariableDeclaration", - "src": "8851:16:1" + "src": "9106:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "from", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -40175,21 +40175,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 715, + "id": 207, "name": "ElementaryTypeName", - "src": "8869:7:1" + "src": "9124:7:0" } ], - "id": 716, + "id": 208, "name": "VariableDeclaration", - "src": "8869:12:1" + "src": "9124:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40201,21 +40201,21 @@ "name": "uint256", "type": "uint256" }, - "id": 717, + "id": 209, "name": "ElementaryTypeName", - "src": "8883:7:1" + "src": "9138:7:0" } ], - "id": 718, + "id": 210, "name": "VariableDeclaration", - "src": "8883:15:1" + "src": "9138:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -40227,19 +40227,19 @@ "name": "bytes", "type": "bytes" }, - "id": 719, + "id": 211, "name": "ElementaryTypeName", - "src": "8900:5:1" + "src": "9155:5:0" } ], - "id": 720, + "id": 212, "name": "VariableDeclaration", - "src": "8900:19:1" + "src": "9155:19:0" } ], - "id": 721, + "id": 213, "name": "ParameterList", - "src": "8850:70:1" + "src": "9105:70:0" }, { "children": [ @@ -40248,7 +40248,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40260,29 +40260,29 @@ "name": "bytes4", "type": "bytes4" }, - "id": 722, + "id": 214, "name": "ElementaryTypeName", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 723, + "id": 215, "name": "VariableDeclaration", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 724, + "id": 216, "name": "ParameterList", - "src": "8938:8:1" + "src": "9193:8:0" } ], - "id": 725, + "id": 217, "name": "FunctionDefinition", - "src": "8825:122:1" + "src": "9080:122:0" } ], - "id": 726, + "id": 218, "name": "ContractDefinition", - "src": "8303:646:1" + "src": "8548:657:0" }, { "attributes": { @@ -40296,33 +40296,33 @@ ".0" ] }, - "id": 727, + "id": 219, "name": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "attributes": { "abstract": true, "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, - "id": 728, + "id": 220, "name": "StructuredDocumentation", - "src": "9043:171:1" + "src": "9305:176:0" }, { "attributes": {}, @@ -40330,24 +40330,24 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 729, + "id": 221, "name": "UserDefinedTypeName", - "src": "9243:7:1" + "src": "9511:7:0" } ], - "id": 730, + "id": 222, "name": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -40359,9 +40359,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 731, + "id": 223, "name": "ElementaryTypeName", - "src": "9340:6:1" + "src": "9612:6:0" }, { "attributes": { @@ -40374,21 +40374,21 @@ "type": "int_const 33540519", "value": "0x01ffc9a7" }, - "id": 732, + "id": 224, "name": "Literal", - "src": "9387:10:1" + "src": "9659:10:0" } ], - "id": 733, + "id": 225, "name": "VariableDeclaration", - "src": "9340:57:1" + "src": "9612:57:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_supportedInterfaces", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "mapping(bytes4 => bool)", @@ -40405,36 +40405,36 @@ "name": "bytes4", "type": "bytes4" }, - "id": 735, + "id": 227, "name": "ElementaryTypeName", - "src": "9499:6:1" + "src": "9776:6:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 736, + "id": 228, "name": "ElementaryTypeName", - "src": "9509:4:1" + "src": "9786:4:0" } ], - "id": 737, + "id": 229, "name": "Mapping", - "src": "9491:23:1" + "src": "9768:23:0" }, { "attributes": { "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 734, + "id": 226, "name": "StructuredDocumentation", - "src": "9404:82:1" + "src": "9678:84:0" } ], - "id": 738, + "id": 230, "name": "VariableDeclaration", - "src": "9491:52:1" + "src": "9768:52:0" }, { "attributes": { @@ -40445,7 +40445,7 @@ null ], "name": "", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -40458,9 +40458,9 @@ ] }, "children": [], - "id": 739, + "id": 231, "name": "ParameterList", - "src": "9562:2:1" + "src": "9841:2:0" }, { "attributes": { @@ -40469,9 +40469,9 @@ ] }, "children": [], - "id": 740, + "id": 232, "name": "ParameterList", - "src": "9565:0:1" + "src": "9844:0:0" }, { "children": [ @@ -40503,51 +40503,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 741, + "id": 233, "name": "Identifier", - "src": "9711:18:1" + "src": "9993:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 733, + "referencedDeclaration": 225, "type": "bytes4", "value": "_INTERFACE_ID_ERC165" }, - "id": 742, + "id": 234, "name": "Identifier", - "src": "9730:20:1" + "src": "10012:20:0" } ], - "id": 743, + "id": 235, "name": "FunctionCall", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 744, + "id": 236, "name": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 745, + "id": 237, "name": "Block", - "src": "9565:193:1" + "src": "9844:197:0" } ], - "id": 746, + "id": 238, "name": "FunctionDefinition", - "src": "9550:208:1" + "src": "9829:212:0" }, { "attributes": { "baseFunctions": [ - 540 + 32 ], "functionSelector": "01ffc9a7", "implemented": true, @@ -40557,7 +40557,7 @@ null ], "name": "supportsInterface", - "scope": 781, + "scope": 273, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -40567,9 +40567,9 @@ "attributes": { "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, - "id": 747, + "id": 239, "name": "StructuredDocumentation", - "src": "9764:139:1" + "src": "10049:143:0" }, { "attributes": { @@ -40577,9 +40577,9 @@ null ] }, - "id": 751, + "id": 243, "name": "OverrideSpecifier", - "src": "9975:8:1" + "src": "10265:8:0" }, { "children": [ @@ -40588,7 +40588,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40600,19 +40600,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 748, + "id": 240, "name": "ElementaryTypeName", - "src": "9935:6:1" + "src": "10225:6:0" } ], - "id": 749, + "id": 241, "name": "VariableDeclaration", - "src": "9935:18:1" + "src": "10225:18:0" } ], - "id": 750, + "id": 242, "name": "ParameterList", - "src": "9934:20:1" + "src": "10224:20:0" }, { "children": [ @@ -40621,7 +40621,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40633,25 +40633,25 @@ "name": "bool", "type": "bool" }, - "id": 752, + "id": 244, "name": "ElementaryTypeName", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 753, + "id": 245, "name": "VariableDeclaration", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 754, + "id": 246, "name": "ParameterList", - "src": "9992:6:1" + "src": "10282:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 754 + "functionReturnParameters": 246 }, "children": [ { @@ -40668,46 +40668,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 755, + "id": 247, "name": "Identifier", - "src": "10016:20:1" + "src": "10307:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 749, + "referencedDeclaration": 241, "type": "bytes4", "value": "interfaceId" }, - "id": 756, + "id": 248, "name": "Identifier", - "src": "10037:11:1" + "src": "10328:11:0" } ], - "id": 757, + "id": 249, "name": "IndexAccess", - "src": "10016:33:1" + "src": "10307:33:0" } ], - "id": 758, + "id": 250, "name": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ], - "id": 759, + "id": 251, "name": "Block", - "src": "9999:57:1" + "src": "10289:59:0" } ], - "id": 760, + "id": 252, "name": "FunctionDefinition", - "src": "9908:148:1" + "src": "10198:150:0" }, { "attributes": { @@ -40718,7 +40718,7 @@ null ], "name": "_registerInterface", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -40728,9 +40728,9 @@ "attributes": { "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 761, + "id": 253, "name": "StructuredDocumentation", - "src": "10062:383:1" + "src": "10356:393:0" }, { "children": [ @@ -40739,7 +40739,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 780, + "scope": 272, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40751,19 +40751,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 762, + "id": 254, "name": "ElementaryTypeName", - "src": "10478:6:1" + "src": "10783:6:0" } ], - "id": 763, + "id": 255, "name": "VariableDeclaration", - "src": "10478:18:1" + "src": "10783:18:0" } ], - "id": 764, + "id": 256, "name": "ParameterList", - "src": "10477:20:1" + "src": "10782:20:0" }, { "attributes": { @@ -40772,9 +40772,9 @@ ] }, "children": [], - "id": 765, + "id": 257, "name": "ParameterList", - "src": "10515:0:1" + "src": "10820:0:0" }, { "children": [ @@ -40815,9 +40815,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 766, + "id": 258, "name": "Identifier", - "src": "10525:7:1" + "src": "10831:7:0" }, { "attributes": { @@ -40838,13 +40838,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 767, + "id": 259, "name": "Identifier", - "src": "10533:11:1" + "src": "10839:11:0" }, { "attributes": { @@ -40857,14 +40857,14 @@ "type": "int_const 4294967295", "value": "0xffffffff" }, - "id": 768, + "id": 260, "name": "Literal", - "src": "10548:10:1" + "src": "10854:10:0" } ], - "id": 769, + "id": 261, "name": "BinaryOperation", - "src": "10533:25:1" + "src": "10839:25:0" }, { "attributes": { @@ -40877,19 +40877,19 @@ "type": "literal_string \"ERC165: invalid interface id\"", "value": "ERC165: invalid interface id" }, - "id": 770, + "id": 262, "name": "Literal", - "src": "10560:30:1" + "src": "10866:30:0" } ], - "id": 771, + "id": 263, "name": "FunctionCall", - "src": "10525:66:1" + "src": "10831:66:0" } ], - "id": 772, + "id": 264, "name": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "children": [ @@ -40917,31 +40917,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 773, + "id": 265, "name": "Identifier", - "src": "10601:20:1" + "src": "10908:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 774, + "id": 266, "name": "Identifier", - "src": "10622:11:1" + "src": "10929:11:0" } ], - "id": 775, + "id": 267, "name": "IndexAccess", - "src": "10601:33:1" + "src": "10908:33:0" }, { "attributes": { @@ -40954,34 +40954,34 @@ "type": "bool", "value": "true" }, - "id": 776, + "id": 268, "name": "Literal", - "src": "10637:4:1" + "src": "10944:4:0" } ], - "id": 777, + "id": 269, "name": "Assignment", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 778, + "id": 270, "name": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 779, + "id": 271, "name": "Block", - "src": "10515:133:1" + "src": "10820:136:0" } ], - "id": 780, + "id": 272, "name": "FunctionDefinition", - "src": "10450:198:1" + "src": "10755:201:0" } ], - "id": 781, + "id": 273, "name": "ContractDefinition", - "src": "9215:1435:1" + "src": "9483:1476:0" }, { "attributes": { @@ -40995,9 +40995,9 @@ ".0" ] }, - "id": 782, + "id": 274, "name": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "attributes": { @@ -41011,19 +41011,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, - "id": 783, + "id": 275, "name": "StructuredDocumentation", - "src": "10736:563:1" + "src": "11050:575:0" }, { "attributes": { @@ -41034,7 +41034,7 @@ null ], "name": "tryAdd", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41044,9 +41044,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 784, + "id": 276, "name": "StructuredDocumentation", - "src": "11323:131:1" + "src": "11651:135:0" }, { "children": [ @@ -41055,7 +41055,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41067,21 +41067,21 @@ "name": "uint256", "type": "uint256" }, - "id": 785, + "id": 277, "name": "ElementaryTypeName", - "src": "11475:7:1" + "src": "11808:7:0" } ], - "id": 786, + "id": 278, "name": "VariableDeclaration", - "src": "11475:9:1" + "src": "11808:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41093,19 +41093,19 @@ "name": "uint256", "type": "uint256" }, - "id": 787, + "id": 279, "name": "ElementaryTypeName", - "src": "11486:7:1" + "src": "11819:7:0" } ], - "id": 788, + "id": 280, "name": "VariableDeclaration", - "src": "11486:9:1" + "src": "11819:9:0" } ], - "id": 789, + "id": 281, "name": "ParameterList", - "src": "11474:22:1" + "src": "11807:22:0" }, { "children": [ @@ -41114,7 +41114,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41126,21 +41126,21 @@ "name": "bool", "type": "bool" }, - "id": 790, + "id": 282, "name": "ElementaryTypeName", - "src": "11520:4:1" + "src": "11853:4:0" } ], - "id": 791, + "id": 283, "name": "VariableDeclaration", - "src": "11520:4:1" + "src": "11853:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41152,26 +41152,26 @@ "name": "uint256", "type": "uint256" }, - "id": 792, + "id": 284, "name": "ElementaryTypeName", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 793, + "id": 285, "name": "VariableDeclaration", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 794, + "id": 286, "name": "ParameterList", - "src": "11519:15:1" + "src": "11852:15:0" }, { "children": [ { "attributes": { "assignments": [ - 796 + 288 ] }, "children": [ @@ -41180,7 +41180,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 813, + "scope": 305, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41192,14 +41192,14 @@ "name": "uint256", "type": "uint256" }, - "id": 795, + "id": 287, "name": "ElementaryTypeName", - "src": "11545:7:1" + "src": "11879:7:0" } ], - "id": 796, + "id": 288, "name": "VariableDeclaration", - "src": "11545:9:1" + "src": "11879:9:0" }, { "attributes": { @@ -41220,36 +41220,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 797, + "id": 289, "name": "Identifier", - "src": "11557:1:1" + "src": "11891:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 280, "type": "uint256", "value": "b" }, - "id": 798, + "id": 290, "name": "Identifier", - "src": "11561:1:1" + "src": "11895:1:0" } ], - "id": 799, + "id": 291, "name": "BinaryOperation", - "src": "11557:5:1" + "src": "11891:5:0" } ], - "id": 800, + "id": 292, "name": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "attributes": {}, @@ -41273,35 +41273,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 801, + "id": 293, "name": "Identifier", - "src": "11576:1:1" + "src": "11911:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 802, + "id": 294, "name": "Identifier", - "src": "11580:1:1" + "src": "11915:1:0" } ], - "id": 803, + "id": 295, "name": "BinaryOperation", - "src": "11576:5:1" + "src": "11911:5:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -41325,9 +41325,9 @@ "type": "bool", "value": "false" }, - "id": 804, + "id": 296, "name": "Literal", - "src": "11591:5:1" + "src": "11926:5:0" }, { "attributes": { @@ -41340,28 +41340,28 @@ "type": "int_const 0", "value": "0" }, - "id": 805, + "id": 297, "name": "Literal", - "src": "11598:1:1" + "src": "11933:1:0" } ], - "id": 806, + "id": 298, "name": "TupleExpression", - "src": "11590:10:1" + "src": "11925:10:0" } ], - "id": 807, + "id": 299, "name": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } ], - "id": 808, + "id": 300, "name": "IfStatement", - "src": "11572:28:1" + "src": "11907:28:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -41385,42 +41385,42 @@ "type": "bool", "value": "true" }, - "id": 809, + "id": 301, "name": "Literal", - "src": "11618:4:1" + "src": "11954:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 810, + "id": 302, "name": "Identifier", - "src": "11624:1:1" + "src": "11960:1:0" } ], - "id": 811, + "id": 303, "name": "TupleExpression", - "src": "11617:9:1" + "src": "11953:9:0" } ], - "id": 812, + "id": 304, "name": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ], - "id": 813, + "id": 305, "name": "Block", - "src": "11535:98:1" + "src": "11868:102:0" } ], - "id": 814, + "id": 306, "name": "FunctionDefinition", - "src": "11459:174:1" + "src": "11792:178:0" }, { "attributes": { @@ -41431,7 +41431,7 @@ null ], "name": "trySub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41441,9 +41441,9 @@ "attributes": { "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 815, + "id": 307, "name": "StructuredDocumentation", - "src": "11639:135:1" + "src": "11978:139:0" }, { "children": [ @@ -41452,7 +41452,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41464,21 +41464,21 @@ "name": "uint256", "type": "uint256" }, - "id": 816, + "id": 308, "name": "ElementaryTypeName", - "src": "11795:7:1" + "src": "12139:7:0" } ], - "id": 817, + "id": 309, "name": "VariableDeclaration", - "src": "11795:9:1" + "src": "12139:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41490,19 +41490,19 @@ "name": "uint256", "type": "uint256" }, - "id": 818, + "id": 310, "name": "ElementaryTypeName", - "src": "11806:7:1" + "src": "12150:7:0" } ], - "id": 819, + "id": 311, "name": "VariableDeclaration", - "src": "11806:9:1" + "src": "12150:9:0" } ], - "id": 820, + "id": 312, "name": "ParameterList", - "src": "11794:22:1" + "src": "12138:22:0" }, { "children": [ @@ -41511,7 +41511,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41523,21 +41523,21 @@ "name": "bool", "type": "bool" }, - "id": 821, + "id": 313, "name": "ElementaryTypeName", - "src": "11840:4:1" + "src": "12184:4:0" } ], - "id": 822, + "id": 314, "name": "VariableDeclaration", - "src": "11840:4:1" + "src": "12184:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41549,19 +41549,19 @@ "name": "uint256", "type": "uint256" }, - "id": 823, + "id": 315, "name": "ElementaryTypeName", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 824, + "id": 316, "name": "VariableDeclaration", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 825, + "id": 317, "name": "ParameterList", - "src": "11839:15:1" + "src": "12183:15:0" }, { "children": [ @@ -41587,35 +41587,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 826, + "id": 318, "name": "Identifier", - "src": "11869:1:1" + "src": "12214:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 827, + "id": 319, "name": "Identifier", - "src": "11873:1:1" + "src": "12218:1:0" } ], - "id": 828, + "id": 320, "name": "BinaryOperation", - "src": "11869:5:1" + "src": "12214:5:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41639,9 +41639,9 @@ "type": "bool", "value": "false" }, - "id": 829, + "id": 321, "name": "Literal", - "src": "11884:5:1" + "src": "12229:5:0" }, { "attributes": { @@ -41654,28 +41654,28 @@ "type": "int_const 0", "value": "0" }, - "id": 830, + "id": 322, "name": "Literal", - "src": "11891:1:1" + "src": "12236:1:0" } ], - "id": 831, + "id": 323, "name": "TupleExpression", - "src": "11883:10:1" + "src": "12228:10:0" } ], - "id": 832, + "id": 324, "name": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } ], - "id": 833, + "id": 325, "name": "IfStatement", - "src": "11865:28:1" + "src": "12210:28:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41699,9 +41699,9 @@ "type": "bool", "value": "true" }, - "id": 834, + "id": 326, "name": "Literal", - "src": "11911:4:1" + "src": "12257:4:0" }, { "attributes": { @@ -41722,51 +41722,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 835, + "id": 327, "name": "Identifier", - "src": "11917:1:1" + "src": "12263:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 836, + "id": 328, "name": "Identifier", - "src": "11921:1:1" + "src": "12267:1:0" } ], - "id": 837, + "id": 329, "name": "BinaryOperation", - "src": "11917:5:1" + "src": "12263:5:0" } ], - "id": 838, + "id": 330, "name": "TupleExpression", - "src": "11910:13:1" + "src": "12256:13:0" } ], - "id": 839, + "id": 331, "name": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ], - "id": 840, + "id": 332, "name": "Block", - "src": "11855:75:1" + "src": "12199:78:0" } ], - "id": 841, + "id": 333, "name": "FunctionDefinition", - "src": "11779:151:1" + "src": "12123:154:0" }, { "attributes": { @@ -41777,7 +41777,7 @@ null ], "name": "tryMul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41787,9 +41787,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 842, + "id": 334, "name": "StructuredDocumentation", - "src": "11936:137:1" + "src": "12285:141:0" }, { "children": [ @@ -41798,7 +41798,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41810,21 +41810,21 @@ "name": "uint256", "type": "uint256" }, - "id": 843, + "id": 335, "name": "ElementaryTypeName", - "src": "12094:7:1" + "src": "12448:7:0" } ], - "id": 844, + "id": 336, "name": "VariableDeclaration", - "src": "12094:9:1" + "src": "12448:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41836,19 +41836,19 @@ "name": "uint256", "type": "uint256" }, - "id": 845, + "id": 337, "name": "ElementaryTypeName", - "src": "12105:7:1" + "src": "12459:7:0" } ], - "id": 846, + "id": 338, "name": "VariableDeclaration", - "src": "12105:9:1" + "src": "12459:9:0" } ], - "id": 847, + "id": 339, "name": "ParameterList", - "src": "12093:22:1" + "src": "12447:22:0" }, { "children": [ @@ -41857,7 +41857,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41869,21 +41869,21 @@ "name": "bool", "type": "bool" }, - "id": 848, + "id": 340, "name": "ElementaryTypeName", - "src": "12139:4:1" + "src": "12493:4:0" } ], - "id": 849, + "id": 341, "name": "VariableDeclaration", - "src": "12139:4:1" + "src": "12493:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41895,19 +41895,19 @@ "name": "uint256", "type": "uint256" }, - "id": 850, + "id": 342, "name": "ElementaryTypeName", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 851, + "id": 343, "name": "VariableDeclaration", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 852, + "id": 344, "name": "ParameterList", - "src": "12138:15:1" + "src": "12492:15:0" }, { "children": [ @@ -41933,13 +41933,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 853, + "id": 345, "name": "Identifier", - "src": "12386:1:1" + "src": "12744:1:0" }, { "attributes": { @@ -41952,18 +41952,18 @@ "type": "int_const 0", "value": "0" }, - "id": 854, + "id": 346, "name": "Literal", - "src": "12391:1:1" + "src": "12749:1:0" } ], - "id": 855, + "id": 347, "name": "BinaryOperation", - "src": "12386:6:1" + "src": "12744:6:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41987,9 +41987,9 @@ "type": "bool", "value": "true" }, - "id": 856, + "id": 348, "name": "Literal", - "src": "12402:4:1" + "src": "12760:4:0" }, { "attributes": { @@ -42002,29 +42002,29 @@ "type": "int_const 0", "value": "0" }, - "id": 857, + "id": 349, "name": "Literal", - "src": "12408:1:1" + "src": "12766:1:0" } ], - "id": 858, + "id": 350, "name": "TupleExpression", - "src": "12401:9:1" + "src": "12759:9:0" } ], - "id": 859, + "id": 351, "name": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } ], - "id": 860, + "id": 352, "name": "IfStatement", - "src": "12382:28:1" + "src": "12740:28:0" }, { "attributes": { "assignments": [ - 862 + 354 ] }, "children": [ @@ -42033,7 +42033,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 881, + "scope": 373, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42045,14 +42045,14 @@ "name": "uint256", "type": "uint256" }, - "id": 861, + "id": 353, "name": "ElementaryTypeName", - "src": "12420:7:1" + "src": "12779:7:0" } ], - "id": 862, + "id": 354, "name": "VariableDeclaration", - "src": "12420:9:1" + "src": "12779:9:0" }, { "attributes": { @@ -42073,36 +42073,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 863, + "id": 355, "name": "Identifier", - "src": "12432:1:1" + "src": "12791:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 864, + "id": 356, "name": "Identifier", - "src": "12436:1:1" + "src": "12795:1:0" } ], - "id": 865, + "id": 357, "name": "BinaryOperation", - "src": "12432:5:1" + "src": "12791:5:0" } ], - "id": 866, + "id": 358, "name": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "attributes": {}, @@ -42140,53 +42140,53 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 867, + "id": 359, "name": "Identifier", - "src": "12451:1:1" + "src": "12811:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 868, + "id": 360, "name": "Identifier", - "src": "12455:1:1" + "src": "12815:1:0" } ], - "id": 869, + "id": 361, "name": "BinaryOperation", - "src": "12451:5:1" + "src": "12811:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 870, + "id": 362, "name": "Identifier", - "src": "12460:1:1" + "src": "12820:1:0" } ], - "id": 871, + "id": 363, "name": "BinaryOperation", - "src": "12451:10:1" + "src": "12811:10:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -42210,9 +42210,9 @@ "type": "bool", "value": "false" }, - "id": 872, + "id": 364, "name": "Literal", - "src": "12471:5:1" + "src": "12831:5:0" }, { "attributes": { @@ -42225,28 +42225,28 @@ "type": "int_const 0", "value": "0" }, - "id": 873, + "id": 365, "name": "Literal", - "src": "12478:1:1" + "src": "12838:1:0" } ], - "id": 874, + "id": 366, "name": "TupleExpression", - "src": "12470:10:1" + "src": "12830:10:0" } ], - "id": 875, + "id": 367, "name": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } ], - "id": 876, + "id": 368, "name": "IfStatement", - "src": "12447:33:1" + "src": "12807:33:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -42270,42 +42270,42 @@ "type": "bool", "value": "true" }, - "id": 877, + "id": 369, "name": "Literal", - "src": "12498:4:1" + "src": "12859:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 878, + "id": 370, "name": "Identifier", - "src": "12504:1:1" + "src": "12865:1:0" } ], - "id": 879, + "id": 371, "name": "TupleExpression", - "src": "12497:9:1" + "src": "12858:9:0" } ], - "id": 880, + "id": 372, "name": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ], - "id": 881, + "id": 373, "name": "Block", - "src": "12154:359:1" + "src": "12508:367:0" } ], - "id": 882, + "id": 374, "name": "FunctionDefinition", - "src": "12078:435:1" + "src": "12432:443:0" }, { "attributes": { @@ -42316,7 +42316,7 @@ null ], "name": "tryDiv", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42326,9 +42326,9 @@ "attributes": { "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 883, + "id": 375, "name": "StructuredDocumentation", - "src": "12519:138:1" + "src": "12883:142:0" }, { "children": [ @@ -42337,7 +42337,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42349,21 +42349,21 @@ "name": "uint256", "type": "uint256" }, - "id": 884, + "id": 376, "name": "ElementaryTypeName", - "src": "12678:7:1" + "src": "13047:7:0" } ], - "id": 885, + "id": 377, "name": "VariableDeclaration", - "src": "12678:9:1" + "src": "13047:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42375,19 +42375,19 @@ "name": "uint256", "type": "uint256" }, - "id": 886, + "id": 378, "name": "ElementaryTypeName", - "src": "12689:7:1" + "src": "13058:7:0" } ], - "id": 887, + "id": 379, "name": "VariableDeclaration", - "src": "12689:9:1" + "src": "13058:9:0" } ], - "id": 888, + "id": 380, "name": "ParameterList", - "src": "12677:22:1" + "src": "13046:22:0" }, { "children": [ @@ -42396,7 +42396,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42408,21 +42408,21 @@ "name": "bool", "type": "bool" }, - "id": 889, + "id": 381, "name": "ElementaryTypeName", - "src": "12723:4:1" + "src": "13092:4:0" } ], - "id": 890, + "id": 382, "name": "VariableDeclaration", - "src": "12723:4:1" + "src": "13092:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42434,19 +42434,19 @@ "name": "uint256", "type": "uint256" }, - "id": 891, + "id": 383, "name": "ElementaryTypeName", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 892, + "id": 384, "name": "VariableDeclaration", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 893, + "id": 385, "name": "ParameterList", - "src": "12722:15:1" + "src": "13091:15:0" }, { "children": [ @@ -42472,13 +42472,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 894, + "id": 386, "name": "Identifier", - "src": "12752:1:1" + "src": "13122:1:0" }, { "attributes": { @@ -42491,18 +42491,18 @@ "type": "int_const 0", "value": "0" }, - "id": 895, + "id": 387, "name": "Literal", - "src": "12757:1:1" + "src": "13127:1:0" } ], - "id": 896, + "id": 388, "name": "BinaryOperation", - "src": "12752:6:1" + "src": "13122:6:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42526,9 +42526,9 @@ "type": "bool", "value": "false" }, - "id": 897, + "id": 389, "name": "Literal", - "src": "12768:5:1" + "src": "13138:5:0" }, { "attributes": { @@ -42541,28 +42541,28 @@ "type": "int_const 0", "value": "0" }, - "id": 898, + "id": 390, "name": "Literal", - "src": "12775:1:1" + "src": "13145:1:0" } ], - "id": 899, + "id": 391, "name": "TupleExpression", - "src": "12767:10:1" + "src": "13137:10:0" } ], - "id": 900, + "id": 392, "name": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } ], - "id": 901, + "id": 393, "name": "IfStatement", - "src": "12748:29:1" + "src": "13118:29:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42586,9 +42586,9 @@ "type": "bool", "value": "true" }, - "id": 902, + "id": 394, "name": "Literal", - "src": "12795:4:1" + "src": "13166:4:0" }, { "attributes": { @@ -42609,51 +42609,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 885, + "referencedDeclaration": 377, "type": "uint256", "value": "a" }, - "id": 903, + "id": 395, "name": "Identifier", - "src": "12801:1:1" + "src": "13172:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 904, + "id": 396, "name": "Identifier", - "src": "12805:1:1" + "src": "13176:1:0" } ], - "id": 905, + "id": 397, "name": "BinaryOperation", - "src": "12801:5:1" + "src": "13172:5:0" } ], - "id": 906, + "id": 398, "name": "TupleExpression", - "src": "12794:13:1" + "src": "13165:13:0" } ], - "id": 907, + "id": 399, "name": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ], - "id": 908, + "id": 400, "name": "Block", - "src": "12738:76:1" + "src": "13107:79:0" } ], - "id": 909, + "id": 401, "name": "FunctionDefinition", - "src": "12662:152:1" + "src": "13031:155:0" }, { "attributes": { @@ -42664,7 +42664,7 @@ null ], "name": "tryMod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42674,9 +42674,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 910, + "id": 402, "name": "StructuredDocumentation", - "src": "12820:148:1" + "src": "13194:152:0" }, { "children": [ @@ -42685,7 +42685,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42697,21 +42697,21 @@ "name": "uint256", "type": "uint256" }, - "id": 911, + "id": 403, "name": "ElementaryTypeName", - "src": "12989:7:1" + "src": "13368:7:0" } ], - "id": 912, + "id": 404, "name": "VariableDeclaration", - "src": "12989:9:1" + "src": "13368:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42723,19 +42723,19 @@ "name": "uint256", "type": "uint256" }, - "id": 913, + "id": 405, "name": "ElementaryTypeName", - "src": "13000:7:1" + "src": "13379:7:0" } ], - "id": 914, + "id": 406, "name": "VariableDeclaration", - "src": "13000:9:1" + "src": "13379:9:0" } ], - "id": 915, + "id": 407, "name": "ParameterList", - "src": "12988:22:1" + "src": "13367:22:0" }, { "children": [ @@ -42744,7 +42744,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42756,21 +42756,21 @@ "name": "bool", "type": "bool" }, - "id": 916, + "id": 408, "name": "ElementaryTypeName", - "src": "13034:4:1" + "src": "13413:4:0" } ], - "id": 917, + "id": 409, "name": "VariableDeclaration", - "src": "13034:4:1" + "src": "13413:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42782,19 +42782,19 @@ "name": "uint256", "type": "uint256" }, - "id": 918, + "id": 410, "name": "ElementaryTypeName", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 919, + "id": 411, "name": "VariableDeclaration", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 920, + "id": 412, "name": "ParameterList", - "src": "13033:15:1" + "src": "13412:15:0" }, { "children": [ @@ -42820,13 +42820,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 921, + "id": 413, "name": "Identifier", - "src": "13063:1:1" + "src": "13443:1:0" }, { "attributes": { @@ -42839,18 +42839,18 @@ "type": "int_const 0", "value": "0" }, - "id": 922, + "id": 414, "name": "Literal", - "src": "13068:1:1" + "src": "13448:1:0" } ], - "id": 923, + "id": 415, "name": "BinaryOperation", - "src": "13063:6:1" + "src": "13443:6:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42874,9 +42874,9 @@ "type": "bool", "value": "false" }, - "id": 924, + "id": 416, "name": "Literal", - "src": "13079:5:1" + "src": "13459:5:0" }, { "attributes": { @@ -42889,28 +42889,28 @@ "type": "int_const 0", "value": "0" }, - "id": 925, + "id": 417, "name": "Literal", - "src": "13086:1:1" + "src": "13466:1:0" } ], - "id": 926, + "id": 418, "name": "TupleExpression", - "src": "13078:10:1" + "src": "13458:10:0" } ], - "id": 927, + "id": 419, "name": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } ], - "id": 928, + "id": 420, "name": "IfStatement", - "src": "13059:29:1" + "src": "13439:29:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42934,9 +42934,9 @@ "type": "bool", "value": "true" }, - "id": 929, + "id": 421, "name": "Literal", - "src": "13106:4:1" + "src": "13487:4:0" }, { "attributes": { @@ -42957,51 +42957,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 912, + "referencedDeclaration": 404, "type": "uint256", "value": "a" }, - "id": 930, + "id": 422, "name": "Identifier", - "src": "13112:1:1" + "src": "13493:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 931, + "id": 423, "name": "Identifier", - "src": "13116:1:1" + "src": "13497:1:0" } ], - "id": 932, + "id": 424, "name": "BinaryOperation", - "src": "13112:5:1" + "src": "13493:5:0" } ], - "id": 933, + "id": 425, "name": "TupleExpression", - "src": "13105:13:1" + "src": "13486:13:0" } ], - "id": 934, + "id": 426, "name": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ], - "id": 935, + "id": 427, "name": "Block", - "src": "13049:76:1" + "src": "13428:79:0" } ], - "id": 936, + "id": 428, "name": "FunctionDefinition", - "src": "12973:152:1" + "src": "13352:155:0" }, { "attributes": { @@ -43012,7 +43012,7 @@ null ], "name": "add", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43022,9 +43022,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 937, + "id": 429, "name": "StructuredDocumentation", - "src": "13131:224:1" + "src": "13515:233:0" }, { "children": [ @@ -43033,7 +43033,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43045,21 +43045,21 @@ "name": "uint256", "type": "uint256" }, - "id": 938, + "id": 430, "name": "ElementaryTypeName", - "src": "13373:7:1" + "src": "13767:7:0" } ], - "id": 939, + "id": 431, "name": "VariableDeclaration", - "src": "13373:9:1" + "src": "13767:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43071,19 +43071,19 @@ "name": "uint256", "type": "uint256" }, - "id": 940, + "id": 432, "name": "ElementaryTypeName", - "src": "13384:7:1" + "src": "13778:7:0" } ], - "id": 941, + "id": 433, "name": "VariableDeclaration", - "src": "13384:9:1" + "src": "13778:9:0" } ], - "id": 942, + "id": 434, "name": "ParameterList", - "src": "13372:22:1" + "src": "13766:22:0" }, { "children": [ @@ -43092,7 +43092,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43104,26 +43104,26 @@ "name": "uint256", "type": "uint256" }, - "id": 943, + "id": 435, "name": "ElementaryTypeName", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 944, + "id": 436, "name": "VariableDeclaration", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 945, + "id": 437, "name": "ParameterList", - "src": "13417:9:1" + "src": "13811:9:0" }, { "children": [ { "attributes": { "assignments": [ - 947 + 439 ] }, "children": [ @@ -43132,7 +43132,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 961, + "scope": 453, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43144,14 +43144,14 @@ "name": "uint256", "type": "uint256" }, - "id": 946, + "id": 438, "name": "ElementaryTypeName", - "src": "13437:7:1" + "src": "13832:7:0" } ], - "id": 947, + "id": 439, "name": "VariableDeclaration", - "src": "13437:9:1" + "src": "13832:9:0" }, { "attributes": { @@ -43172,36 +43172,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 948, + "id": 440, "name": "Identifier", - "src": "13449:1:1" + "src": "13844:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 941, + "referencedDeclaration": 433, "type": "uint256", "value": "b" }, - "id": 949, + "id": 441, "name": "Identifier", - "src": "13453:1:1" + "src": "13848:1:0" } ], - "id": 950, + "id": 442, "name": "BinaryOperation", - "src": "13449:5:1" + "src": "13844:5:0" } ], - "id": 951, + "id": 443, "name": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "children": [ @@ -43240,9 +43240,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 952, + "id": 444, "name": "Identifier", - "src": "13464:7:1" + "src": "13860:7:0" }, { "attributes": { @@ -43263,31 +43263,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 953, + "id": 445, "name": "Identifier", - "src": "13472:1:1" + "src": "13868:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 954, + "id": 446, "name": "Identifier", - "src": "13477:1:1" + "src": "13873:1:0" } ], - "id": 955, + "id": 447, "name": "BinaryOperation", - "src": "13472:6:1" + "src": "13868:6:0" }, { "attributes": { @@ -43300,23 +43300,23 @@ "type": "literal_string \"SafeMath: addition overflow\"", "value": "SafeMath: addition overflow" }, - "id": 956, + "id": 448, "name": "Literal", - "src": "13480:29:1" + "src": "13876:29:0" } ], - "id": 957, + "id": 449, "name": "FunctionCall", - "src": "13464:46:1" + "src": "13860:46:0" } ], - "id": 958, + "id": 450, "name": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "attributes": { - "functionReturnParameters": 945 + "functionReturnParameters": 437 }, "children": [ { @@ -43324,28 +43324,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 959, + "id": 451, "name": "Identifier", - "src": "13527:1:1" + "src": "13924:1:0" } ], - "id": 960, + "id": 452, "name": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ], - "id": 961, + "id": 453, "name": "Block", - "src": "13427:108:1" + "src": "13821:112:0" } ], - "id": 962, + "id": 454, "name": "FunctionDefinition", - "src": "13360:175:1" + "src": "13754:179:0" }, { "attributes": { @@ -43356,7 +43356,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43366,9 +43366,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 963, + "id": 455, "name": "StructuredDocumentation", - "src": "13541:260:1" + "src": "13941:269:0" }, { "children": [ @@ -43377,7 +43377,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43389,21 +43389,21 @@ "name": "uint256", "type": "uint256" }, - "id": 964, + "id": 456, "name": "ElementaryTypeName", - "src": "13819:7:1" + "src": "14229:7:0" } ], - "id": 965, + "id": 457, "name": "VariableDeclaration", - "src": "13819:9:1" + "src": "14229:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43415,19 +43415,19 @@ "name": "uint256", "type": "uint256" }, - "id": 966, + "id": 458, "name": "ElementaryTypeName", - "src": "13830:7:1" + "src": "14240:7:0" } ], - "id": 967, + "id": 459, "name": "VariableDeclaration", - "src": "13830:9:1" + "src": "14240:9:0" } ], - "id": 968, + "id": 460, "name": "ParameterList", - "src": "13818:22:1" + "src": "14228:22:0" }, { "children": [ @@ -43436,7 +43436,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43448,19 +43448,19 @@ "name": "uint256", "type": "uint256" }, - "id": 969, + "id": 461, "name": "ElementaryTypeName", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 970, + "id": 462, "name": "VariableDeclaration", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 971, + "id": 463, "name": "ParameterList", - "src": "13863:9:1" + "src": "14273:9:0" }, { "children": [ @@ -43501,9 +43501,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 972, + "id": 464, "name": "Identifier", - "src": "13883:7:1" + "src": "14294:7:0" }, { "attributes": { @@ -43524,31 +43524,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 973, + "id": 465, "name": "Identifier", - "src": "13891:1:1" + "src": "14302:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 974, + "id": 466, "name": "Identifier", - "src": "13896:1:1" + "src": "14307:1:0" } ], - "id": 975, + "id": 467, "name": "BinaryOperation", - "src": "13891:6:1" + "src": "14302:6:0" }, { "attributes": { @@ -43561,23 +43561,23 @@ "type": "literal_string \"SafeMath: subtraction overflow\"", "value": "SafeMath: subtraction overflow" }, - "id": 976, + "id": 468, "name": "Literal", - "src": "13899:32:1" + "src": "14310:32:0" } ], - "id": 977, + "id": 469, "name": "FunctionCall", - "src": "13883:49:1" + "src": "14294:49:0" } ], - "id": 978, + "id": 470, "name": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "attributes": { - "functionReturnParameters": 971 + "functionReturnParameters": 463 }, "children": [ { @@ -43599,46 +43599,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 979, + "id": 471, "name": "Identifier", - "src": "13949:1:1" + "src": "14361:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 980, + "id": 472, "name": "Identifier", - "src": "13953:1:1" + "src": "14365:1:0" } ], - "id": 981, + "id": 473, "name": "BinaryOperation", - "src": "13949:5:1" + "src": "14361:5:0" } ], - "id": 982, + "id": 474, "name": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ], - "id": 983, + "id": 475, "name": "Block", - "src": "13873:88:1" + "src": "14283:91:0" } ], - "id": 984, + "id": 476, "name": "FunctionDefinition", - "src": "13806:155:1" + "src": "14216:158:0" }, { "attributes": { @@ -43649,7 +43649,7 @@ null ], "name": "mul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43659,9 +43659,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 985, + "id": 477, "name": "StructuredDocumentation", - "src": "13967:236:1" + "src": "14382:245:0" }, { "children": [ @@ -43670,7 +43670,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43682,21 +43682,21 @@ "name": "uint256", "type": "uint256" }, - "id": 986, + "id": 478, "name": "ElementaryTypeName", - "src": "14221:7:1" + "src": "14646:7:0" } ], - "id": 987, + "id": 479, "name": "VariableDeclaration", - "src": "14221:9:1" + "src": "14646:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43708,19 +43708,19 @@ "name": "uint256", "type": "uint256" }, - "id": 988, + "id": 480, "name": "ElementaryTypeName", - "src": "14232:7:1" + "src": "14657:7:0" } ], - "id": 989, + "id": 481, "name": "VariableDeclaration", - "src": "14232:9:1" + "src": "14657:9:0" } ], - "id": 990, + "id": 482, "name": "ParameterList", - "src": "14220:22:1" + "src": "14645:22:0" }, { "children": [ @@ -43729,7 +43729,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43741,19 +43741,19 @@ "name": "uint256", "type": "uint256" }, - "id": 991, + "id": 483, "name": "ElementaryTypeName", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 992, + "id": 484, "name": "VariableDeclaration", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 993, + "id": 485, "name": "ParameterList", - "src": "14265:9:1" + "src": "14690:9:0" }, { "children": [ @@ -43779,13 +43779,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 994, + "id": 486, "name": "Identifier", - "src": "14289:1:1" + "src": "14715:1:0" }, { "attributes": { @@ -43798,18 +43798,18 @@ "type": "int_const 0", "value": "0" }, - "id": 995, + "id": 487, "name": "Literal", - "src": "14294:1:1" + "src": "14720:1:0" } ], - "id": 996, + "id": 488, "name": "BinaryOperation", - "src": "14289:6:1" + "src": "14715:6:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43823,24 +43823,24 @@ "type": "int_const 0", "value": "0" }, - "id": 997, + "id": 489, "name": "Literal", - "src": "14304:1:1" + "src": "14730:1:0" } ], - "id": 998, + "id": 490, "name": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } ], - "id": 999, + "id": 491, "name": "IfStatement", - "src": "14285:20:1" + "src": "14711:20:0" }, { "attributes": { "assignments": [ - 1001 + 493 ] }, "children": [ @@ -43849,7 +43849,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 1017, + "scope": 509, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43861,14 +43861,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1000, + "id": 492, "name": "ElementaryTypeName", - "src": "14315:7:1" + "src": "14742:7:0" } ], - "id": 1001, + "id": 493, "name": "VariableDeclaration", - "src": "14315:9:1" + "src": "14742:9:0" }, { "attributes": { @@ -43889,36 +43889,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1002, + "id": 494, "name": "Identifier", - "src": "14327:1:1" + "src": "14754:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1003, + "id": 495, "name": "Identifier", - "src": "14331:1:1" + "src": "14758:1:0" } ], - "id": 1004, + "id": 496, "name": "BinaryOperation", - "src": "14327:5:1" + "src": "14754:5:0" } ], - "id": 1005, + "id": 497, "name": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "children": [ @@ -43957,9 +43957,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1006, + "id": 498, "name": "Identifier", - "src": "14342:7:1" + "src": "14770:7:0" }, { "attributes": { @@ -43994,49 +43994,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1007, + "id": 499, "name": "Identifier", - "src": "14350:1:1" + "src": "14778:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1008, + "id": 500, "name": "Identifier", - "src": "14354:1:1" + "src": "14782:1:0" } ], - "id": 1009, + "id": 501, "name": "BinaryOperation", - "src": "14350:5:1" + "src": "14778:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1010, + "id": 502, "name": "Identifier", - "src": "14359:1:1" + "src": "14787:1:0" } ], - "id": 1011, + "id": 503, "name": "BinaryOperation", - "src": "14350:10:1" + "src": "14778:10:0" }, { "attributes": { @@ -44049,23 +44049,23 @@ "type": "literal_string \"SafeMath: multiplication overflow\"", "value": "SafeMath: multiplication overflow" }, - "id": 1012, + "id": 504, "name": "Literal", - "src": "14362:35:1" + "src": "14790:35:0" } ], - "id": 1013, + "id": 505, "name": "FunctionCall", - "src": "14342:56:1" + "src": "14770:56:0" } ], - "id": 1014, + "id": 506, "name": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -44073,28 +44073,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1015, + "id": 507, "name": "Identifier", - "src": "14415:1:1" + "src": "14844:1:0" } ], - "id": 1016, + "id": 508, "name": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ], - "id": 1017, + "id": 509, "name": "Block", - "src": "14275:148:1" + "src": "14700:153:0" } ], - "id": 1018, + "id": 510, "name": "FunctionDefinition", - "src": "14208:215:1" + "src": "14633:220:0" }, { "attributes": { @@ -44105,7 +44105,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44115,9 +44115,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1019, + "id": 511, "name": "StructuredDocumentation", - "src": "14429:453:1" + "src": "14861:464:0" }, { "children": [ @@ -44126,7 +44126,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44138,21 +44138,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1020, + "id": 512, "name": "ElementaryTypeName", - "src": "14900:7:1" + "src": "15344:7:0" } ], - "id": 1021, + "id": 513, "name": "VariableDeclaration", - "src": "14900:9:1" + "src": "15344:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44164,19 +44164,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1022, + "id": 514, "name": "ElementaryTypeName", - "src": "14911:7:1" + "src": "15355:7:0" } ], - "id": 1023, + "id": 515, "name": "VariableDeclaration", - "src": "14911:9:1" + "src": "15355:9:0" } ], - "id": 1024, + "id": 516, "name": "ParameterList", - "src": "14899:22:1" + "src": "15343:22:0" }, { "children": [ @@ -44185,7 +44185,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44197,19 +44197,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1025, + "id": 517, "name": "ElementaryTypeName", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1026, + "id": 518, "name": "VariableDeclaration", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1027, + "id": 519, "name": "ParameterList", - "src": "14944:9:1" + "src": "15388:9:0" }, { "children": [ @@ -44250,9 +44250,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1028, + "id": 520, "name": "Identifier", - "src": "14964:7:1" + "src": "15409:7:0" }, { "attributes": { @@ -44273,13 +44273,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1029, + "id": 521, "name": "Identifier", - "src": "14972:1:1" + "src": "15417:1:0" }, { "attributes": { @@ -44292,14 +44292,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1030, + "id": 522, "name": "Literal", - "src": "14976:1:1" + "src": "15421:1:0" } ], - "id": 1031, + "id": 523, "name": "BinaryOperation", - "src": "14972:5:1" + "src": "15417:5:0" }, { "attributes": { @@ -44312,23 +44312,23 @@ "type": "literal_string \"SafeMath: division by zero\"", "value": "SafeMath: division by zero" }, - "id": 1032, + "id": 524, "name": "Literal", - "src": "14979:28:1" + "src": "15424:28:0" } ], - "id": 1033, + "id": 525, "name": "FunctionCall", - "src": "14964:44:1" + "src": "15409:44:0" } ], - "id": 1034, + "id": 526, "name": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "attributes": { - "functionReturnParameters": 1027 + "functionReturnParameters": 519 }, "children": [ { @@ -44350,46 +44350,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1021, + "referencedDeclaration": 513, "type": "uint256", "value": "a" }, - "id": 1035, + "id": 527, "name": "Identifier", - "src": "15025:1:1" + "src": "15471:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1036, + "id": 528, "name": "Identifier", - "src": "15029:1:1" + "src": "15475:1:0" } ], - "id": 1037, + "id": 529, "name": "BinaryOperation", - "src": "15025:5:1" + "src": "15471:5:0" } ], - "id": 1038, + "id": 530, "name": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ], - "id": 1039, + "id": 531, "name": "Block", - "src": "14954:83:1" + "src": "15398:86:0" } ], - "id": 1040, + "id": 532, "name": "FunctionDefinition", - "src": "14887:150:1" + "src": "15331:153:0" }, { "attributes": { @@ -44400,7 +44400,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44410,9 +44410,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1041, + "id": 533, "name": "StructuredDocumentation", - "src": "15043:442:1" + "src": "15492:453:0" }, { "children": [ @@ -44421,7 +44421,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44433,21 +44433,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1042, + "id": 534, "name": "ElementaryTypeName", - "src": "15503:7:1" + "src": "15964:7:0" } ], - "id": 1043, + "id": 535, "name": "VariableDeclaration", - "src": "15503:9:1" + "src": "15964:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44459,19 +44459,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1044, + "id": 536, "name": "ElementaryTypeName", - "src": "15514:7:1" + "src": "15975:7:0" } ], - "id": 1045, + "id": 537, "name": "VariableDeclaration", - "src": "15514:9:1" + "src": "15975:9:0" } ], - "id": 1046, + "id": 538, "name": "ParameterList", - "src": "15502:22:1" + "src": "15963:22:0" }, { "children": [ @@ -44480,7 +44480,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44492,19 +44492,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1047, + "id": 539, "name": "ElementaryTypeName", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1048, + "id": 540, "name": "VariableDeclaration", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1049, + "id": 541, "name": "ParameterList", - "src": "15547:9:1" + "src": "16008:9:0" }, { "children": [ @@ -44545,9 +44545,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1050, + "id": 542, "name": "Identifier", - "src": "15567:7:1" + "src": "16029:7:0" }, { "attributes": { @@ -44568,13 +44568,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1051, + "id": 543, "name": "Identifier", - "src": "15575:1:1" + "src": "16037:1:0" }, { "attributes": { @@ -44587,14 +44587,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1052, + "id": 544, "name": "Literal", - "src": "15579:1:1" + "src": "16041:1:0" } ], - "id": 1053, + "id": 545, "name": "BinaryOperation", - "src": "15575:5:1" + "src": "16037:5:0" }, { "attributes": { @@ -44607,23 +44607,23 @@ "type": "literal_string \"SafeMath: modulo by zero\"", "value": "SafeMath: modulo by zero" }, - "id": 1054, + "id": 546, "name": "Literal", - "src": "15582:26:1" + "src": "16044:26:0" } ], - "id": 1055, + "id": 547, "name": "FunctionCall", - "src": "15567:42:1" + "src": "16029:42:0" } ], - "id": 1056, + "id": 548, "name": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "attributes": { - "functionReturnParameters": 1049 + "functionReturnParameters": 541 }, "children": [ { @@ -44645,46 +44645,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1043, + "referencedDeclaration": 535, "type": "uint256", "value": "a" }, - "id": 1057, + "id": 549, "name": "Identifier", - "src": "15626:1:1" + "src": "16089:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1058, + "id": 550, "name": "Identifier", - "src": "15630:1:1" + "src": "16093:1:0" } ], - "id": 1059, + "id": 551, "name": "BinaryOperation", - "src": "15626:5:1" + "src": "16089:5:0" } ], - "id": 1060, + "id": 552, "name": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ], - "id": 1061, + "id": 553, "name": "Block", - "src": "15557:81:1" + "src": "16018:84:0" } ], - "id": 1062, + "id": 554, "name": "FunctionDefinition", - "src": "15490:148:1" + "src": "15951:151:0" }, { "attributes": { @@ -44695,7 +44695,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44705,9 +44705,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1063, + "id": 555, "name": "StructuredDocumentation", - "src": "15644:453:1" + "src": "16110:465:0" }, { "children": [ @@ -44716,7 +44716,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44728,21 +44728,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1064, + "id": 556, "name": "ElementaryTypeName", - "src": "16115:7:1" + "src": "16594:7:0" } ], - "id": 1065, + "id": 557, "name": "VariableDeclaration", - "src": "16115:9:1" + "src": "16594:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44754,21 +44754,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1066, + "id": 558, "name": "ElementaryTypeName", - "src": "16126:7:1" + "src": "16605:7:0" } ], - "id": 1067, + "id": 559, "name": "VariableDeclaration", - "src": "16126:9:1" + "src": "16605:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44780,19 +44780,19 @@ "name": "string", "type": "string" }, - "id": 1068, + "id": 560, "name": "ElementaryTypeName", - "src": "16137:6:1" + "src": "16616:6:0" } ], - "id": 1069, + "id": 561, "name": "VariableDeclaration", - "src": "16137:26:1" + "src": "16616:26:0" } ], - "id": 1070, + "id": 562, "name": "ParameterList", - "src": "16114:50:1" + "src": "16593:50:0" }, { "children": [ @@ -44801,7 +44801,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44813,19 +44813,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1071, + "id": 563, "name": "ElementaryTypeName", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1072, + "id": 564, "name": "VariableDeclaration", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1073, + "id": 565, "name": "ParameterList", - "src": "16187:9:1" + "src": "16666:9:0" }, { "children": [ @@ -44866,9 +44866,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1074, + "id": 566, "name": "Identifier", - "src": "16207:7:1" + "src": "16687:7:0" }, { "attributes": { @@ -44889,58 +44889,58 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1075, + "id": 567, "name": "Identifier", - "src": "16215:1:1" + "src": "16695:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1076, + "id": 568, "name": "Identifier", - "src": "16220:1:1" + "src": "16700:1:0" } ], - "id": 1077, + "id": 569, "name": "BinaryOperation", - "src": "16215:6:1" + "src": "16695:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1069, + "referencedDeclaration": 561, "type": "string memory", "value": "errorMessage" }, - "id": 1078, + "id": 570, "name": "Identifier", - "src": "16223:12:1" + "src": "16703:12:0" } ], - "id": 1079, + "id": 571, "name": "FunctionCall", - "src": "16207:29:1" + "src": "16687:29:0" } ], - "id": 1080, + "id": 572, "name": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "attributes": { - "functionReturnParameters": 1073 + "functionReturnParameters": 565 }, "children": [ { @@ -44962,46 +44962,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1081, + "id": 573, "name": "Identifier", - "src": "16253:1:1" + "src": "16734:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1082, + "id": 574, "name": "Identifier", - "src": "16257:1:1" + "src": "16738:1:0" } ], - "id": 1083, + "id": 575, "name": "BinaryOperation", - "src": "16253:5:1" + "src": "16734:5:0" } ], - "id": 1084, + "id": 576, "name": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ], - "id": 1085, + "id": 577, "name": "Block", - "src": "16197:68:1" + "src": "16676:71:0" } ], - "id": 1086, + "id": 578, "name": "FunctionDefinition", - "src": "16102:163:1" + "src": "16581:166:0" }, { "attributes": { @@ -45012,7 +45012,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -45022,9 +45022,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1087, + "id": 579, "name": "StructuredDocumentation", - "src": "16271:646:1" + "src": "16755:660:0" }, { "children": [ @@ -45033,7 +45033,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45045,21 +45045,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1088, + "id": 580, "name": "ElementaryTypeName", - "src": "16935:7:1" + "src": "17434:7:0" } ], - "id": 1089, + "id": 581, "name": "VariableDeclaration", - "src": "16935:9:1" + "src": "17434:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45071,21 +45071,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1090, + "id": 582, "name": "ElementaryTypeName", - "src": "16946:7:1" + "src": "17445:7:0" } ], - "id": 1091, + "id": 583, "name": "VariableDeclaration", - "src": "16946:9:1" + "src": "17445:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -45097,19 +45097,19 @@ "name": "string", "type": "string" }, - "id": 1092, + "id": 584, "name": "ElementaryTypeName", - "src": "16957:6:1" + "src": "17456:6:0" } ], - "id": 1093, + "id": 585, "name": "VariableDeclaration", - "src": "16957:26:1" + "src": "17456:26:0" } ], - "id": 1094, + "id": 586, "name": "ParameterList", - "src": "16934:50:1" + "src": "17433:50:0" }, { "children": [ @@ -45118,7 +45118,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45130,19 +45130,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1095, + "id": 587, "name": "ElementaryTypeName", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1096, + "id": 588, "name": "VariableDeclaration", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1097, + "id": 589, "name": "ParameterList", - "src": "17007:9:1" + "src": "17506:9:0" }, { "children": [ @@ -45183,9 +45183,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1098, + "id": 590, "name": "Identifier", - "src": "17027:7:1" + "src": "17527:7:0" }, { "attributes": { @@ -45206,13 +45206,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1099, + "id": 591, "name": "Identifier", - "src": "17035:1:1" + "src": "17535:1:0" }, { "attributes": { @@ -45225,41 +45225,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1100, + "id": 592, "name": "Literal", - "src": "17039:1:1" + "src": "17539:1:0" } ], - "id": 1101, + "id": 593, "name": "BinaryOperation", - "src": "17035:5:1" + "src": "17535:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1093, + "referencedDeclaration": 585, "type": "string memory", "value": "errorMessage" }, - "id": 1102, + "id": 594, "name": "Identifier", - "src": "17042:12:1" + "src": "17542:12:0" } ], - "id": 1103, + "id": 595, "name": "FunctionCall", - "src": "17027:28:1" + "src": "17527:28:0" } ], - "id": 1104, + "id": 596, "name": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "attributes": { - "functionReturnParameters": 1097 + "functionReturnParameters": 589 }, "children": [ { @@ -45281,46 +45281,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1089, + "referencedDeclaration": 581, "type": "uint256", "value": "a" }, - "id": 1105, + "id": 597, "name": "Identifier", - "src": "17072:1:1" + "src": "17573:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1106, + "id": 598, "name": "Identifier", - "src": "17076:1:1" + "src": "17577:1:0" } ], - "id": 1107, + "id": 599, "name": "BinaryOperation", - "src": "17072:5:1" + "src": "17573:5:0" } ], - "id": 1108, + "id": 600, "name": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ], - "id": 1109, + "id": 601, "name": "Block", - "src": "17017:67:1" + "src": "17516:70:0" } ], - "id": 1110, + "id": 602, "name": "FunctionDefinition", - "src": "16922:162:1" + "src": "17421:165:0" }, { "attributes": { @@ -45331,7 +45331,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -45341,9 +45341,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1111, + "id": 603, "name": "StructuredDocumentation", - "src": "17090:635:1" + "src": "17594:649:0" }, { "children": [ @@ -45352,7 +45352,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45364,21 +45364,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1112, + "id": 604, "name": "ElementaryTypeName", - "src": "17743:7:1" + "src": "18262:7:0" } ], - "id": 1113, + "id": 605, "name": "VariableDeclaration", - "src": "17743:9:1" + "src": "18262:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45390,21 +45390,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1114, + "id": 606, "name": "ElementaryTypeName", - "src": "17754:7:1" + "src": "18273:7:0" } ], - "id": 1115, + "id": 607, "name": "VariableDeclaration", - "src": "17754:9:1" + "src": "18273:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -45416,19 +45416,19 @@ "name": "string", "type": "string" }, - "id": 1116, + "id": 608, "name": "ElementaryTypeName", - "src": "17765:6:1" + "src": "18284:6:0" } ], - "id": 1117, + "id": 609, "name": "VariableDeclaration", - "src": "17765:26:1" + "src": "18284:26:0" } ], - "id": 1118, + "id": 610, "name": "ParameterList", - "src": "17742:50:1" + "src": "18261:50:0" }, { "children": [ @@ -45437,7 +45437,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45449,19 +45449,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1119, + "id": 611, "name": "ElementaryTypeName", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1120, + "id": 612, "name": "VariableDeclaration", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1121, + "id": 613, "name": "ParameterList", - "src": "17815:9:1" + "src": "18334:9:0" }, { "children": [ @@ -45502,9 +45502,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1122, + "id": 614, "name": "Identifier", - "src": "17835:7:1" + "src": "18355:7:0" }, { "attributes": { @@ -45525,13 +45525,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1123, + "id": 615, "name": "Identifier", - "src": "17843:1:1" + "src": "18363:1:0" }, { "attributes": { @@ -45544,41 +45544,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1124, + "id": 616, "name": "Literal", - "src": "17847:1:1" + "src": "18367:1:0" } ], - "id": 1125, + "id": 617, "name": "BinaryOperation", - "src": "17843:5:1" + "src": "18363:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1117, + "referencedDeclaration": 609, "type": "string memory", "value": "errorMessage" }, - "id": 1126, + "id": 618, "name": "Identifier", - "src": "17850:12:1" + "src": "18370:12:0" } ], - "id": 1127, + "id": 619, "name": "FunctionCall", - "src": "17835:28:1" + "src": "18355:28:0" } ], - "id": 1128, + "id": 620, "name": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "attributes": { - "functionReturnParameters": 1121 + "functionReturnParameters": 613 }, "children": [ { @@ -45600,51 +45600,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1113, + "referencedDeclaration": 605, "type": "uint256", "value": "a" }, - "id": 1129, + "id": 621, "name": "Identifier", - "src": "17880:1:1" + "src": "18401:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1130, + "id": 622, "name": "Identifier", - "src": "17884:1:1" + "src": "18405:1:0" } ], - "id": 1131, + "id": 623, "name": "BinaryOperation", - "src": "17880:5:1" + "src": "18401:5:0" } ], - "id": 1132, + "id": 624, "name": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ], - "id": 1133, + "id": 625, "name": "Block", - "src": "17825:67:1" + "src": "18344:70:0" } ], - "id": 1134, + "id": 626, "name": "FunctionDefinition", - "src": "17730:162:1" + "src": "18249:165:0" } ], - "id": 1135, + "id": 627, "name": "ContractDefinition", - "src": "11300:6594:1" + "src": "11627:6790:0" }, { "attributes": { @@ -45658,9 +45658,9 @@ ".0" ] }, - "id": 1136, + "id": 628, "name": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "attributes": { @@ -45674,19 +45674,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Collection of functions related to the address type" }, - "id": 1137, + "id": 629, "name": "StructuredDocumentation", - "src": "17980:67:1" + "src": "18508:69:0" }, { "attributes": { @@ -45697,7 +45697,7 @@ null ], "name": "isContract", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -45707,9 +45707,9 @@ "attributes": { "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1138, + "id": 630, "name": "StructuredDocumentation", - "src": "18070:565:1" + "src": "18602:581:0" }, { "children": [ @@ -45718,7 +45718,7 @@ "constant": false, "mutability": "mutable", "name": "account", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -45731,19 +45731,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1139, + "id": 631, "name": "ElementaryTypeName", - "src": "18660:7:1" + "src": "19209:7:0" } ], - "id": 1140, + "id": 632, "name": "VariableDeclaration", - "src": "18660:15:1" + "src": "19209:15:0" } ], - "id": 1141, + "id": 633, "name": "ParameterList", - "src": "18659:17:1" + "src": "19208:17:0" }, { "children": [ @@ -45752,7 +45752,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45764,26 +45764,26 @@ "name": "bool", "type": "bool" }, - "id": 1142, + "id": 634, "name": "ElementaryTypeName", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1143, + "id": 635, "name": "VariableDeclaration", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1144, + "id": 636, "name": "ParameterList", - "src": "18699:6:1" + "src": "19248:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1146 + 638 ] }, "children": [ @@ -45792,7 +45792,7 @@ "constant": false, "mutability": "mutable", "name": "size", - "scope": 1153, + "scope": 645, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45804,49 +45804,49 @@ "name": "uint256", "type": "uint256" }, - "id": 1145, + "id": 637, "name": "ElementaryTypeName", - "src": "18903:7:1" + "src": "19457:7:0" } ], - "id": 1146, + "id": 638, "name": "VariableDeclaration", - "src": "18903:12:1" + "src": "19457:12:0" } ], - "id": 1147, + "id": 639, "name": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "attributes": { "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], "operations": "{ size := extcodesize(account) }" }, "children": [], - "id": 1148, + "id": 640, "name": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "attributes": { - "functionReturnParameters": 1144 + "functionReturnParameters": 636 }, "children": [ { @@ -45868,13 +45868,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1146, + "referencedDeclaration": 638, "type": "uint256", "value": "size" }, - "id": 1149, + "id": 641, "name": "Identifier", - "src": "19038:4:1" + "src": "19595:4:0" }, { "attributes": { @@ -45887,29 +45887,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1150, + "id": 642, "name": "Literal", - "src": "19045:1:1" + "src": "19602:1:0" } ], - "id": 1151, + "id": 643, "name": "BinaryOperation", - "src": "19038:8:1" + "src": "19595:8:0" } ], - "id": 1152, + "id": 644, "name": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ], - "id": 1153, + "id": 645, "name": "Block", - "src": "18706:347:1" + "src": "19255:356:0" } ], - "id": 1154, + "id": 646, "name": "FunctionDefinition", - "src": "18640:413:1" + "src": "19189:422:0" }, { "attributes": { @@ -45920,7 +45920,7 @@ null ], "name": "sendValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -45930,9 +45930,9 @@ "attributes": { "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1155, + "id": 647, "name": "StructuredDocumentation", - "src": "19059:906:1" + "src": "19619:921:0" }, { "children": [ @@ -45941,7 +45941,7 @@ "constant": false, "mutability": "mutable", "name": "recipient", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -45954,21 +45954,21 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 1156, + "id": 648, "name": "ElementaryTypeName", - "src": "19989:15:1" + "src": "20565:15:0" } ], - "id": 1157, + "id": 649, "name": "VariableDeclaration", - "src": "19989:25:1" + "src": "20565:25:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "amount", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45980,19 +45980,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1158, + "id": 650, "name": "ElementaryTypeName", - "src": "20016:7:1" + "src": "20592:7:0" } ], - "id": 1159, + "id": 651, "name": "VariableDeclaration", - "src": "20016:14:1" + "src": "20592:14:0" } ], - "id": 1160, + "id": 652, "name": "ParameterList", - "src": "19988:43:1" + "src": "20564:43:0" }, { "attributes": { @@ -46001,9 +46001,9 @@ ] }, "children": [], - "id": 1161, + "id": 653, "name": "ParameterList", - "src": "20041:0:1" + "src": "20617:0:0" }, { "children": [ @@ -46044,9 +46044,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1162, + "id": 654, "name": "Identifier", - "src": "20051:7:1" + "src": "20628:7:0" }, { "attributes": { @@ -46091,7 +46091,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -46106,14 +46106,14 @@ "attributes": { "name": "address" }, - "id": 1163, + "id": 655, "name": "ElementaryTypeName", - "src": "20059:7:1" + "src": "20636:7:0" } ], - "id": 1164, + "id": 656, "name": "ElementaryTypeNameExpression", - "src": "20059:7:1" + "src": "20636:7:0" }, { "attributes": { @@ -46124,37 +46124,37 @@ "type": "library Address", "value": "this" }, - "id": 1165, + "id": 657, "name": "Identifier", - "src": "20067:4:1" + "src": "20644:4:0" } ], - "id": 1166, + "id": 658, "name": "FunctionCall", - "src": "20059:13:1" + "src": "20636:13:0" } ], - "id": 1167, + "id": 659, "name": "MemberAccess", - "src": "20059:21:1" + "src": "20636:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1168, + "id": 660, "name": "Identifier", - "src": "20084:6:1" + "src": "20661:6:0" } ], - "id": 1169, + "id": 661, "name": "BinaryOperation", - "src": "20059:31:1" + "src": "20636:31:0" }, { "attributes": { @@ -46167,24 +46167,24 @@ "type": "literal_string \"Address: insufficient balance\"", "value": "Address: insufficient balance" }, - "id": 1170, + "id": 662, "name": "Literal", - "src": "20092:31:1" + "src": "20669:31:0" } ], - "id": 1171, + "id": 663, "name": "FunctionCall", - "src": "20051:73:1" + "src": "20628:73:0" } ], - "id": 1172, + "id": 664, "name": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "attributes": { "assignments": [ - 1174, + 666, null ] }, @@ -46194,7 +46194,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1187, + "scope": 679, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -46206,14 +46206,14 @@ "name": "bool", "type": "bool" }, - "id": 1173, + "id": 665, "name": "ElementaryTypeName", - "src": "20213:4:1" + "src": "20793:4:0" } ], - "id": 1174, + "id": 666, "name": "VariableDeclaration", - "src": "20213:12:1" + "src": "20793:12:0" }, { "attributes": { @@ -46269,36 +46269,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1157, + "referencedDeclaration": 649, "type": "address payable", "value": "recipient" }, - "id": 1175, + "id": 667, "name": "Identifier", - "src": "20231:9:1" + "src": "20811:9:0" } ], - "id": 1176, + "id": 668, "name": "MemberAccess", - "src": "20231:14:1" + "src": "20811:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1177, + "id": 669, "name": "Identifier", - "src": "20254:6:1" + "src": "20834:6:0" } ], - "id": 1178, + "id": 670, "name": "FunctionCallOptions", - "src": "20231:31:1" + "src": "20811:31:0" }, { "attributes": { @@ -46311,19 +46311,19 @@ "type": "literal_string \"\"", "value": "" }, - "id": 1179, + "id": 671, "name": "Literal", - "src": "20263:2:1" + "src": "20843:2:0" } ], - "id": 1180, + "id": 672, "name": "FunctionCall", - "src": "20231:35:1" + "src": "20811:35:0" } ], - "id": 1181, + "id": 673, "name": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "children": [ @@ -46362,22 +46362,22 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1182, + "id": 674, "name": "Identifier", - "src": "20276:7:1" + "src": "20857:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 666, "type": "bool", "value": "success" }, - "id": 1183, + "id": 675, "name": "Identifier", - "src": "20284:7:1" + "src": "20865:7:0" }, { "attributes": { @@ -46390,29 +46390,29 @@ "type": "literal_string \"Address: unable to send value, recipient may have reverted\"", "value": "Address: unable to send value, recipient may have reverted" }, - "id": 1184, + "id": 676, "name": "Literal", - "src": "20293:60:1" + "src": "20874:60:0" } ], - "id": 1185, + "id": 677, "name": "FunctionCall", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1186, + "id": 678, "name": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1187, + "id": 679, "name": "Block", - "src": "20041:320:1" + "src": "20617:326:0" } ], - "id": 1188, + "id": 680, "name": "FunctionDefinition", - "src": "19970:391:1" + "src": "20546:397:0" }, { "attributes": { @@ -46423,7 +46423,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46433,9 +46433,9 @@ "attributes": { "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1189, + "id": 681, "name": "StructuredDocumentation", - "src": "20367:730:1" + "src": "20951:747:0" }, { "children": [ @@ -46444,7 +46444,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46457,21 +46457,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1190, + "id": 682, "name": "ElementaryTypeName", - "src": "21124:7:1" + "src": "21726:7:0" } ], - "id": 1191, + "id": 683, "name": "VariableDeclaration", - "src": "21124:14:1" + "src": "21726:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46483,19 +46483,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1192, + "id": 684, "name": "ElementaryTypeName", - "src": "21140:5:1" + "src": "21742:5:0" } ], - "id": 1193, + "id": 685, "name": "VariableDeclaration", - "src": "21140:17:1" + "src": "21742:17:0" } ], - "id": 1194, + "id": 686, "name": "ParameterList", - "src": "21123:35:1" + "src": "21725:35:0" }, { "children": [ @@ -46504,7 +46504,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46516,25 +46516,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1195, + "id": 687, "name": "ElementaryTypeName", - "src": "21177:5:1" + "src": "21779:5:0" } ], - "id": 1196, + "id": 688, "name": "VariableDeclaration", - "src": "21177:12:1" + "src": "21779:12:0" } ], - "id": 1197, + "id": 689, "name": "ParameterList", - "src": "21176:14:1" + "src": "21778:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1197 + "functionReturnParameters": 689 }, "children": [ { @@ -46569,42 +46569,42 @@ } ], "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionCall" }, - "id": 1198, + "id": 690, "name": "Identifier", - "src": "21206:12:1" + "src": "21809:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1191, + "referencedDeclaration": 683, "type": "address", "value": "target" }, - "id": 1199, + "id": 691, "name": "Identifier", - "src": "21219:6:1" + "src": "21822:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1193, + "referencedDeclaration": 685, "type": "bytes memory", "value": "data" }, - "id": 1200, + "id": 692, "name": "Identifier", - "src": "21227:4:1" + "src": "21830:4:0" }, { "attributes": { @@ -46617,29 +46617,29 @@ "type": "literal_string \"Address: low-level call failed\"", "value": "Address: low-level call failed" }, - "id": 1201, + "id": 693, "name": "Literal", - "src": "21233:32:1" + "src": "21836:32:0" } ], - "id": 1202, + "id": 694, "name": "FunctionCall", - "src": "21206:60:1" + "src": "21809:60:0" } ], - "id": 1203, + "id": 695, "name": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ], - "id": 1204, + "id": 696, "name": "Block", - "src": "21191:82:1" + "src": "21793:84:0" } ], - "id": 1205, + "id": 697, "name": "FunctionDefinition", - "src": "21102:171:1" + "src": "21704:173:0" }, { "attributes": { @@ -46650,7 +46650,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46660,9 +46660,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1206, + "id": 698, "name": "StructuredDocumentation", - "src": "21279:211:1" + "src": "21885:216:0" }, { "children": [ @@ -46671,7 +46671,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46684,21 +46684,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1207, + "id": 699, "name": "ElementaryTypeName", - "src": "21517:7:1" + "src": "22129:7:0" } ], - "id": 1208, + "id": 700, "name": "VariableDeclaration", - "src": "21517:14:1" + "src": "22129:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46710,21 +46710,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1209, + "id": 701, "name": "ElementaryTypeName", - "src": "21533:5:1" + "src": "22145:5:0" } ], - "id": 1210, + "id": 702, "name": "VariableDeclaration", - "src": "21533:17:1" + "src": "22145:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -46736,19 +46736,19 @@ "name": "string", "type": "string" }, - "id": 1211, + "id": 703, "name": "ElementaryTypeName", - "src": "21552:6:1" + "src": "22164:6:0" } ], - "id": 1212, + "id": 704, "name": "VariableDeclaration", - "src": "21552:26:1" + "src": "22164:26:0" } ], - "id": 1213, + "id": 705, "name": "ParameterList", - "src": "21516:63:1" + "src": "22128:63:0" }, { "children": [ @@ -46757,7 +46757,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46769,25 +46769,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1214, + "id": 706, "name": "ElementaryTypeName", - "src": "21598:5:1" + "src": "22210:5:0" } ], - "id": 1215, + "id": 707, "name": "VariableDeclaration", - "src": "21598:12:1" + "src": "22210:12:0" } ], - "id": 1216, + "id": 708, "name": "ParameterList", - "src": "21597:14:1" + "src": "22209:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1216 + "functionReturnParameters": 708 }, "children": [ { @@ -46826,42 +46826,42 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1217, + "id": 709, "name": "Identifier", - "src": "21629:21:1" + "src": "22242:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1208, + "referencedDeclaration": 700, "type": "address", "value": "target" }, - "id": 1218, + "id": 710, "name": "Identifier", - "src": "21651:6:1" + "src": "22264:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1210, + "referencedDeclaration": 702, "type": "bytes memory", "value": "data" }, - "id": 1219, + "id": 711, "name": "Identifier", - "src": "21659:4:1" + "src": "22272:4:0" }, { "attributes": { @@ -46874,42 +46874,42 @@ "type": "int_const 0", "value": "0" }, - "id": 1220, + "id": 712, "name": "Literal", - "src": "21665:1:1" + "src": "22278:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1212, + "referencedDeclaration": 704, "type": "string memory", "value": "errorMessage" }, - "id": 1221, + "id": 713, "name": "Identifier", - "src": "21668:12:1" + "src": "22281:12:0" } ], - "id": 1222, + "id": 714, "name": "FunctionCall", - "src": "21629:52:1" + "src": "22242:52:0" } ], - "id": 1223, + "id": 715, "name": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ], - "id": 1224, + "id": 716, "name": "Block", - "src": "21612:76:1" + "src": "22224:78:0" } ], - "id": 1225, + "id": 717, "name": "FunctionDefinition", - "src": "21495:193:1" + "src": "22107:195:0" }, { "attributes": { @@ -46920,7 +46920,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46930,9 +46930,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1226, + "id": 718, "name": "StructuredDocumentation", - "src": "21694:351:1" + "src": "22310:361:0" }, { "children": [ @@ -46941,7 +46941,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46954,21 +46954,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1227, + "id": 719, "name": "ElementaryTypeName", - "src": "22081:7:1" + "src": "22708:7:0" } ], - "id": 1228, + "id": 720, "name": "VariableDeclaration", - "src": "22081:14:1" + "src": "22708:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46980,21 +46980,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1229, + "id": 721, "name": "ElementaryTypeName", - "src": "22097:5:1" + "src": "22724:5:0" } ], - "id": 1230, + "id": 722, "name": "VariableDeclaration", - "src": "22097:17:1" + "src": "22724:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -47006,19 +47006,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1231, + "id": 723, "name": "ElementaryTypeName", - "src": "22116:7:1" + "src": "22743:7:0" } ], - "id": 1232, + "id": 724, "name": "VariableDeclaration", - "src": "22116:13:1" + "src": "22743:13:0" } ], - "id": 1233, + "id": 725, "name": "ParameterList", - "src": "22080:50:1" + "src": "22707:50:0" }, { "children": [ @@ -47027,7 +47027,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47039,25 +47039,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1234, + "id": 726, "name": "ElementaryTypeName", - "src": "22149:5:1" + "src": "22776:5:0" } ], - "id": 1235, + "id": 727, "name": "VariableDeclaration", - "src": "22149:12:1" + "src": "22776:12:0" } ], - "id": 1236, + "id": 728, "name": "ParameterList", - "src": "22148:14:1" + "src": "22775:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1236 + "functionReturnParameters": 728 }, "children": [ { @@ -47096,55 +47096,55 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1237, + "id": 729, "name": "Identifier", - "src": "22180:21:1" + "src": "22808:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 720, "type": "address", "value": "target" }, - "id": 1238, + "id": 730, "name": "Identifier", - "src": "22202:6:1" + "src": "22830:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 722, "type": "bytes memory", "value": "data" }, - "id": 1239, + "id": 731, "name": "Identifier", - "src": "22210:4:1" + "src": "22838:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1232, + "referencedDeclaration": 724, "type": "uint256", "value": "value" }, - "id": 1240, + "id": 732, "name": "Identifier", - "src": "22216:5:1" + "src": "22844:5:0" }, { "attributes": { @@ -47157,29 +47157,29 @@ "type": "literal_string \"Address: low-level call with value failed\"", "value": "Address: low-level call with value failed" }, - "id": 1241, + "id": 733, "name": "Literal", - "src": "22223:43:1" + "src": "22851:43:0" } ], - "id": 1242, + "id": 734, "name": "FunctionCall", - "src": "22180:87:1" + "src": "22808:87:0" } ], - "id": 1243, + "id": 735, "name": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ], - "id": 1244, + "id": 736, "name": "Block", - "src": "22163:111:1" + "src": "22790:113:0" } ], - "id": 1245, + "id": 737, "name": "FunctionDefinition", - "src": "22050:224:1" + "src": "22677:226:0" }, { "attributes": { @@ -47190,7 +47190,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -47200,9 +47200,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1246, + "id": 738, "name": "StructuredDocumentation", - "src": "22280:237:1" + "src": "22911:242:0" }, { "children": [ @@ -47211,7 +47211,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47224,21 +47224,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1247, + "id": 739, "name": "ElementaryTypeName", - "src": "22553:7:1" + "src": "23190:7:0" } ], - "id": 1248, + "id": 740, "name": "VariableDeclaration", - "src": "22553:14:1" + "src": "23190:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47250,21 +47250,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1249, + "id": 741, "name": "ElementaryTypeName", - "src": "22569:5:1" + "src": "23206:5:0" } ], - "id": 1250, + "id": 742, "name": "VariableDeclaration", - "src": "22569:17:1" + "src": "23206:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -47276,21 +47276,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1251, + "id": 743, "name": "ElementaryTypeName", - "src": "22588:7:1" + "src": "23225:7:0" } ], - "id": 1252, + "id": 744, "name": "VariableDeclaration", - "src": "22588:13:1" + "src": "23225:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -47302,19 +47302,19 @@ "name": "string", "type": "string" }, - "id": 1253, + "id": 745, "name": "ElementaryTypeName", - "src": "22603:6:1" + "src": "23240:6:0" } ], - "id": 1254, + "id": 746, "name": "VariableDeclaration", - "src": "22603:26:1" + "src": "23240:26:0" } ], - "id": 1255, + "id": 747, "name": "ParameterList", - "src": "22552:78:1" + "src": "23189:78:0" }, { "children": [ @@ -47323,7 +47323,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47335,19 +47335,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1256, + "id": 748, "name": "ElementaryTypeName", - "src": "22649:5:1" + "src": "23286:5:0" } ], - "id": 1257, + "id": 749, "name": "VariableDeclaration", - "src": "22649:12:1" + "src": "23286:12:0" } ], - "id": 1258, + "id": 750, "name": "ParameterList", - "src": "22648:14:1" + "src": "23285:14:0" }, { "children": [ @@ -47388,9 +47388,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1259, + "id": 751, "name": "Identifier", - "src": "22673:7:1" + "src": "23311:7:0" }, { "attributes": { @@ -47435,7 +47435,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -47450,14 +47450,14 @@ "attributes": { "name": "address" }, - "id": 1260, + "id": 752, "name": "ElementaryTypeName", - "src": "22681:7:1" + "src": "23319:7:0" } ], - "id": 1261, + "id": 753, "name": "ElementaryTypeNameExpression", - "src": "22681:7:1" + "src": "23319:7:0" }, { "attributes": { @@ -47468,37 +47468,37 @@ "type": "library Address", "value": "this" }, - "id": 1262, + "id": 754, "name": "Identifier", - "src": "22689:4:1" + "src": "23327:4:0" } ], - "id": 1263, + "id": 755, "name": "FunctionCall", - "src": "22681:13:1" + "src": "23319:13:0" } ], - "id": 1264, + "id": 756, "name": "MemberAccess", - "src": "22681:21:1" + "src": "23319:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1265, + "id": 757, "name": "Identifier", - "src": "22706:5:1" + "src": "23344:5:0" } ], - "id": 1266, + "id": 758, "name": "BinaryOperation", - "src": "22681:30:1" + "src": "23319:30:0" }, { "attributes": { @@ -47511,19 +47511,19 @@ "type": "literal_string \"Address: insufficient balance for call\"", "value": "Address: insufficient balance for call" }, - "id": 1267, + "id": 759, "name": "Literal", - "src": "22713:40:1" + "src": "23351:40:0" } ], - "id": 1268, + "id": 760, "name": "FunctionCall", - "src": "22673:81:1" + "src": "23311:81:0" } ], - "id": 1269, + "id": 761, "name": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "children": [ @@ -47562,9 +47562,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1270, + "id": 762, "name": "Identifier", - "src": "22764:7:1" + "src": "23403:7:0" }, { "attributes": { @@ -47592,31 +47592,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1271, + "id": 763, "name": "Identifier", - "src": "22772:10:1" + "src": "23411:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1272, + "id": 764, "name": "Identifier", - "src": "22783:6:1" + "src": "23422:6:0" } ], - "id": 1273, + "id": 765, "name": "FunctionCall", - "src": "22772:18:1" + "src": "23411:18:0" }, { "attributes": { @@ -47629,25 +47629,25 @@ "type": "literal_string \"Address: call to non-contract\"", "value": "Address: call to non-contract" }, - "id": 1274, + "id": 766, "name": "Literal", - "src": "22792:31:1" + "src": "23431:31:0" } ], - "id": 1275, + "id": 767, "name": "FunctionCall", - "src": "22764:60:1" + "src": "23403:60:0" } ], - "id": 1276, + "id": 768, "name": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "attributes": { "assignments": [ - 1278, - 1280 + 770, + 772 ] }, "children": [ @@ -47656,7 +47656,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -47668,21 +47668,21 @@ "name": "bool", "type": "bool" }, - "id": 1277, + "id": 769, "name": "ElementaryTypeName", - "src": "22895:4:1" + "src": "23537:4:0" } ], - "id": 1278, + "id": 770, "name": "VariableDeclaration", - "src": "22895:12:1" + "src": "23537:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47694,14 +47694,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1279, + "id": 771, "name": "ElementaryTypeName", - "src": "22909:5:1" + "src": "23551:5:0" } ], - "id": 1280, + "id": 772, "name": "VariableDeclaration", - "src": "22909:23:1" + "src": "23551:23:0" }, { "attributes": { @@ -47757,63 +47757,63 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1281, + "id": 773, "name": "Identifier", - "src": "22936:6:1" + "src": "23578:6:0" } ], - "id": 1282, + "id": 774, "name": "MemberAccess", - "src": "22936:11:1" + "src": "23578:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1283, + "id": 775, "name": "Identifier", - "src": "22956:5:1" + "src": "23598:5:0" } ], - "id": 1284, + "id": 776, "name": "FunctionCallOptions", - "src": "22936:27:1" + "src": "23578:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1250, + "referencedDeclaration": 742, "type": "bytes memory", "value": "data" }, - "id": 1285, + "id": 777, "name": "Identifier", - "src": "22964:4:1" + "src": "23606:4:0" } ], - "id": 1286, + "id": 778, "name": "FunctionCall", - "src": "22936:33:1" + "src": "23578:33:0" } ], - "id": 1287, + "id": 779, "name": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "attributes": { - "functionReturnParameters": 1258 + "functionReturnParameters": 750 }, "children": [ { @@ -47850,72 +47850,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1288, + "id": 780, "name": "Identifier", - "src": "22986:17:1" + "src": "23629:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1278, + "referencedDeclaration": 770, "type": "bool", "value": "success" }, - "id": 1289, + "id": 781, "name": "Identifier", - "src": "23004:7:1" + "src": "23647:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1280, + "referencedDeclaration": 772, "type": "bytes memory", "value": "returndata" }, - "id": 1290, + "id": 782, "name": "Identifier", - "src": "23013:10:1" + "src": "23656:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 746, "type": "string memory", "value": "errorMessage" }, - "id": 1291, + "id": 783, "name": "Identifier", - "src": "23025:12:1" + "src": "23668:12:0" } ], - "id": 1292, + "id": 784, "name": "FunctionCall", - "src": "22986:52:1" + "src": "23629:52:0" } ], - "id": 1293, + "id": 785, "name": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ], - "id": 1294, + "id": 786, "name": "Block", - "src": "22663:382:1" + "src": "23300:389:0" } ], - "id": 1295, + "id": 787, "name": "FunctionDefinition", - "src": "22522:523:1" + "src": "23159:530:0" }, { "attributes": { @@ -47926,7 +47926,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -47936,9 +47936,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1296, + "id": 788, "name": "StructuredDocumentation", - "src": "23051:166:1" + "src": "23697:171:0" }, { "children": [ @@ -47947,7 +47947,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47960,21 +47960,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1297, + "id": 789, "name": "ElementaryTypeName", - "src": "23250:7:1" + "src": "23902:7:0" } ], - "id": 1298, + "id": 790, "name": "VariableDeclaration", - "src": "23250:14:1" + "src": "23902:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47986,19 +47986,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1299, + "id": 791, "name": "ElementaryTypeName", - "src": "23266:5:1" + "src": "23918:5:0" } ], - "id": 1300, + "id": 792, "name": "VariableDeclaration", - "src": "23266:17:1" + "src": "23918:17:0" } ], - "id": 1301, + "id": 793, "name": "ParameterList", - "src": "23249:35:1" + "src": "23901:35:0" }, { "children": [ @@ -48007,7 +48007,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48019,25 +48019,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1302, + "id": 794, "name": "ElementaryTypeName", - "src": "23308:5:1" + "src": "23960:5:0" } ], - "id": 1303, + "id": 795, "name": "VariableDeclaration", - "src": "23308:12:1" + "src": "23960:12:0" } ], - "id": 1304, + "id": 796, "name": "ParameterList", - "src": "23307:14:1" + "src": "23959:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1304 + "functionReturnParameters": 796 }, "children": [ { @@ -48072,42 +48072,42 @@ } ], "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, + "referencedDeclaration": 839, "type": "function (address,bytes memory,string memory) view returns (bytes memory)", "value": "functionStaticCall" }, - "id": 1305, + "id": 797, "name": "Identifier", - "src": "23339:18:1" + "src": "23992:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1298, + "referencedDeclaration": 790, "type": "address", "value": "target" }, - "id": 1306, + "id": 798, "name": "Identifier", - "src": "23358:6:1" + "src": "24011:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1300, + "referencedDeclaration": 792, "type": "bytes memory", "value": "data" }, - "id": 1307, + "id": 799, "name": "Identifier", - "src": "23366:4:1" + "src": "24019:4:0" }, { "attributes": { @@ -48120,29 +48120,29 @@ "type": "literal_string \"Address: low-level static call failed\"", "value": "Address: low-level static call failed" }, - "id": 1308, + "id": 800, "name": "Literal", - "src": "23372:39:1" + "src": "24025:39:0" } ], - "id": 1309, + "id": 801, "name": "FunctionCall", - "src": "23339:73:1" + "src": "23992:73:0" } ], - "id": 1310, + "id": 802, "name": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ], - "id": 1311, + "id": 803, "name": "Block", - "src": "23322:97:1" + "src": "23974:99:0" } ], - "id": 1312, + "id": 804, "name": "FunctionDefinition", - "src": "23222:197:1" + "src": "23874:199:0" }, { "attributes": { @@ -48153,7 +48153,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -48163,9 +48163,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1313, + "id": 805, "name": "StructuredDocumentation", - "src": "23425:173:1" + "src": "24081:178:0" }, { "children": [ @@ -48174,7 +48174,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48187,21 +48187,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1314, + "id": 806, "name": "ElementaryTypeName", - "src": "23631:7:1" + "src": "24293:7:0" } ], - "id": 1315, + "id": 807, "name": "VariableDeclaration", - "src": "23631:14:1" + "src": "24293:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48213,21 +48213,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1316, + "id": 808, "name": "ElementaryTypeName", - "src": "23647:5:1" + "src": "24309:5:0" } ], - "id": 1317, + "id": 809, "name": "VariableDeclaration", - "src": "23647:17:1" + "src": "24309:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -48239,19 +48239,19 @@ "name": "string", "type": "string" }, - "id": 1318, + "id": 810, "name": "ElementaryTypeName", - "src": "23666:6:1" + "src": "24328:6:0" } ], - "id": 1319, + "id": 811, "name": "VariableDeclaration", - "src": "23666:26:1" + "src": "24328:26:0" } ], - "id": 1320, + "id": 812, "name": "ParameterList", - "src": "23630:63:1" + "src": "24292:63:0" }, { "children": [ @@ -48260,7 +48260,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48272,19 +48272,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1321, + "id": 813, "name": "ElementaryTypeName", - "src": "23717:5:1" + "src": "24379:5:0" } ], - "id": 1322, + "id": 814, "name": "VariableDeclaration", - "src": "23717:12:1" + "src": "24379:12:0" } ], - "id": 1323, + "id": 815, "name": "ParameterList", - "src": "23716:14:1" + "src": "24378:14:0" }, { "children": [ @@ -48325,9 +48325,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1324, + "id": 816, "name": "Identifier", - "src": "23741:7:1" + "src": "24404:7:0" }, { "attributes": { @@ -48355,31 +48355,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1325, + "id": 817, "name": "Identifier", - "src": "23749:10:1" + "src": "24412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1326, + "id": 818, "name": "Identifier", - "src": "23760:6:1" + "src": "24423:6:0" } ], - "id": 1327, + "id": 819, "name": "FunctionCall", - "src": "23749:18:1" + "src": "24412:18:0" }, { "attributes": { @@ -48392,25 +48392,25 @@ "type": "literal_string \"Address: static call to non-contract\"", "value": "Address: static call to non-contract" }, - "id": 1328, + "id": 820, "name": "Literal", - "src": "23769:38:1" + "src": "24432:38:0" } ], - "id": 1329, + "id": 821, "name": "FunctionCall", - "src": "23741:67:1" + "src": "24404:67:0" } ], - "id": 1330, + "id": 822, "name": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "attributes": { "assignments": [ - 1332, - 1334 + 824, + 826 ] }, "children": [ @@ -48419,7 +48419,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48431,21 +48431,21 @@ "name": "bool", "type": "bool" }, - "id": 1331, + "id": 823, "name": "ElementaryTypeName", - "src": "23879:4:1" + "src": "24545:4:0" } ], - "id": 1332, + "id": 824, "name": "VariableDeclaration", - "src": "23879:12:1" + "src": "24545:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48457,14 +48457,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1333, + "id": 825, "name": "ElementaryTypeName", - "src": "23893:5:1" + "src": "24559:5:0" } ], - "id": 1334, + "id": 826, "name": "VariableDeclaration", - "src": "23893:23:1" + "src": "24559:23:0" }, { "attributes": { @@ -48502,45 +48502,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1335, + "id": 827, "name": "Identifier", - "src": "23920:6:1" + "src": "24586:6:0" } ], - "id": 1336, + "id": 828, "name": "MemberAccess", - "src": "23920:17:1" + "src": "24586:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1317, + "referencedDeclaration": 809, "type": "bytes memory", "value": "data" }, - "id": 1337, + "id": 829, "name": "Identifier", - "src": "23938:4:1" + "src": "24604:4:0" } ], - "id": 1338, + "id": 830, "name": "FunctionCall", - "src": "23920:23:1" + "src": "24586:23:0" } ], - "id": 1339, + "id": 831, "name": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "attributes": { - "functionReturnParameters": 1323 + "functionReturnParameters": 815 }, "children": [ { @@ -48577,72 +48577,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1340, + "id": 832, "name": "Identifier", - "src": "23960:17:1" + "src": "24627:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1332, + "referencedDeclaration": 824, "type": "bool", "value": "success" }, - "id": 1341, + "id": 833, "name": "Identifier", - "src": "23978:7:1" + "src": "24645:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1334, + "referencedDeclaration": 826, "type": "bytes memory", "value": "returndata" }, - "id": 1342, + "id": 834, "name": "Identifier", - "src": "23987:10:1" + "src": "24654:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 811, "type": "string memory", "value": "errorMessage" }, - "id": 1343, + "id": 835, "name": "Identifier", - "src": "23999:12:1" + "src": "24666:12:0" } ], - "id": 1344, + "id": 836, "name": "FunctionCall", - "src": "23960:52:1" + "src": "24627:52:0" } ], - "id": 1345, + "id": 837, "name": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ], - "id": 1346, + "id": 838, "name": "Block", - "src": "23731:288:1" + "src": "24393:294:0" } ], - "id": 1347, + "id": 839, "name": "FunctionDefinition", - "src": "23603:416:1" + "src": "24265:422:0" }, { "attributes": { @@ -48653,7 +48653,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48663,9 +48663,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1348, + "id": 840, "name": "StructuredDocumentation", - "src": "24025:168:1" + "src": "24695:173:0" }, { "children": [ @@ -48674,7 +48674,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48687,21 +48687,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1349, + "id": 841, "name": "ElementaryTypeName", - "src": "24228:7:1" + "src": "24904:7:0" } ], - "id": 1350, + "id": 842, "name": "VariableDeclaration", - "src": "24228:14:1" + "src": "24904:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48713,19 +48713,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1351, + "id": 843, "name": "ElementaryTypeName", - "src": "24244:5:1" + "src": "24920:5:0" } ], - "id": 1352, + "id": 844, "name": "VariableDeclaration", - "src": "24244:17:1" + "src": "24920:17:0" } ], - "id": 1353, + "id": 845, "name": "ParameterList", - "src": "24227:35:1" + "src": "24903:35:0" }, { "children": [ @@ -48734,7 +48734,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48746,25 +48746,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1354, + "id": 846, "name": "ElementaryTypeName", - "src": "24281:5:1" + "src": "24957:5:0" } ], - "id": 1355, + "id": 847, "name": "VariableDeclaration", - "src": "24281:12:1" + "src": "24957:12:0" } ], - "id": 1356, + "id": 848, "name": "ParameterList", - "src": "24280:14:1" + "src": "24956:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1356 + "functionReturnParameters": 848 }, "children": [ { @@ -48799,42 +48799,42 @@ } ], "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, + "referencedDeclaration": 891, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionDelegateCall" }, - "id": 1357, + "id": 849, "name": "Identifier", - "src": "24312:20:1" + "src": "24989:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1350, + "referencedDeclaration": 842, "type": "address", "value": "target" }, - "id": 1358, + "id": 850, "name": "Identifier", - "src": "24333:6:1" + "src": "25010:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1352, + "referencedDeclaration": 844, "type": "bytes memory", "value": "data" }, - "id": 1359, + "id": 851, "name": "Identifier", - "src": "24341:4:1" + "src": "25018:4:0" }, { "attributes": { @@ -48847,29 +48847,29 @@ "type": "literal_string \"Address: low-level delegate call failed\"", "value": "Address: low-level delegate call failed" }, - "id": 1360, + "id": 852, "name": "Literal", - "src": "24347:41:1" + "src": "25024:41:0" } ], - "id": 1361, + "id": 853, "name": "FunctionCall", - "src": "24312:77:1" + "src": "24989:77:0" } ], - "id": 1362, + "id": 854, "name": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ], - "id": 1363, + "id": 855, "name": "Block", - "src": "24295:101:1" + "src": "24971:103:0" } ], - "id": 1364, + "id": 856, "name": "FunctionDefinition", - "src": "24198:198:1" + "src": "24874:200:0" }, { "attributes": { @@ -48880,7 +48880,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48890,9 +48890,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1365, + "id": 857, "name": "StructuredDocumentation", - "src": "24402:175:1" + "src": "25082:180:0" }, { "children": [ @@ -48901,7 +48901,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48914,21 +48914,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1366, + "id": 858, "name": "ElementaryTypeName", - "src": "24612:7:1" + "src": "25298:7:0" } ], - "id": 1367, + "id": 859, "name": "VariableDeclaration", - "src": "24612:14:1" + "src": "25298:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48940,21 +48940,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1368, + "id": 860, "name": "ElementaryTypeName", - "src": "24628:5:1" + "src": "25314:5:0" } ], - "id": 1369, + "id": 861, "name": "VariableDeclaration", - "src": "24628:17:1" + "src": "25314:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -48966,19 +48966,19 @@ "name": "string", "type": "string" }, - "id": 1370, + "id": 862, "name": "ElementaryTypeName", - "src": "24647:6:1" + "src": "25333:6:0" } ], - "id": 1371, + "id": 863, "name": "VariableDeclaration", - "src": "24647:26:1" + "src": "25333:26:0" } ], - "id": 1372, + "id": 864, "name": "ParameterList", - "src": "24611:63:1" + "src": "25297:63:0" }, { "children": [ @@ -48987,7 +48987,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48999,19 +48999,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1373, + "id": 865, "name": "ElementaryTypeName", - "src": "24693:5:1" + "src": "25379:5:0" } ], - "id": 1374, + "id": 866, "name": "VariableDeclaration", - "src": "24693:12:1" + "src": "25379:12:0" } ], - "id": 1375, + "id": 867, "name": "ParameterList", - "src": "24692:14:1" + "src": "25378:14:0" }, { "children": [ @@ -49052,9 +49052,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1376, + "id": 868, "name": "Identifier", - "src": "24717:7:1" + "src": "25404:7:0" }, { "attributes": { @@ -49082,31 +49082,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1377, + "id": 869, "name": "Identifier", - "src": "24725:10:1" + "src": "25412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1378, + "id": 870, "name": "Identifier", - "src": "24736:6:1" + "src": "25423:6:0" } ], - "id": 1379, + "id": 871, "name": "FunctionCall", - "src": "24725:18:1" + "src": "25412:18:0" }, { "attributes": { @@ -49119,25 +49119,25 @@ "type": "literal_string \"Address: delegate call to non-contract\"", "value": "Address: delegate call to non-contract" }, - "id": 1380, + "id": 872, "name": "Literal", - "src": "24745:40:1" + "src": "25432:40:0" } ], - "id": 1381, + "id": 873, "name": "FunctionCall", - "src": "24717:69:1" + "src": "25404:69:0" } ], - "id": 1382, + "id": 874, "name": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "attributes": { "assignments": [ - 1384, - 1386 + 876, + 878 ] }, "children": [ @@ -49146,7 +49146,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49158,21 +49158,21 @@ "name": "bool", "type": "bool" }, - "id": 1383, + "id": 875, "name": "ElementaryTypeName", - "src": "24857:4:1" + "src": "25547:4:0" } ], - "id": 1384, + "id": 876, "name": "VariableDeclaration", - "src": "24857:12:1" + "src": "25547:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49184,14 +49184,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1385, + "id": 877, "name": "ElementaryTypeName", - "src": "24871:5:1" + "src": "25561:5:0" } ], - "id": 1386, + "id": 878, "name": "VariableDeclaration", - "src": "24871:23:1" + "src": "25561:23:0" }, { "attributes": { @@ -49229,45 +49229,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1387, + "id": 879, "name": "Identifier", - "src": "24898:6:1" + "src": "25588:6:0" } ], - "id": 1388, + "id": 880, "name": "MemberAccess", - "src": "24898:19:1" + "src": "25588:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1369, + "referencedDeclaration": 861, "type": "bytes memory", "value": "data" }, - "id": 1389, + "id": 881, "name": "Identifier", - "src": "24918:4:1" + "src": "25608:4:0" } ], - "id": 1390, + "id": 882, "name": "FunctionCall", - "src": "24898:25:1" + "src": "25588:25:0" } ], - "id": 1391, + "id": 883, "name": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "attributes": { - "functionReturnParameters": 1375 + "functionReturnParameters": 867 }, "children": [ { @@ -49304,72 +49304,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1392, + "id": 884, "name": "Identifier", - "src": "24940:17:1" + "src": "25631:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1384, + "referencedDeclaration": 876, "type": "bool", "value": "success" }, - "id": 1393, + "id": 885, "name": "Identifier", - "src": "24958:7:1" + "src": "25649:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1386, + "referencedDeclaration": 878, "type": "bytes memory", "value": "returndata" }, - "id": 1394, + "id": 886, "name": "Identifier", - "src": "24967:10:1" + "src": "25658:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1371, + "referencedDeclaration": 863, "type": "string memory", "value": "errorMessage" }, - "id": 1395, + "id": 887, "name": "Identifier", - "src": "24979:12:1" + "src": "25670:12:0" } ], - "id": 1396, + "id": 888, "name": "FunctionCall", - "src": "24940:52:1" + "src": "25631:52:0" } ], - "id": 1397, + "id": 889, "name": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ], - "id": 1398, + "id": 890, "name": "Block", - "src": "24707:292:1" + "src": "25393:298:0" } ], - "id": 1399, + "id": 891, "name": "FunctionDefinition", - "src": "24582:417:1" + "src": "25268:423:0" }, { "attributes": { @@ -49380,7 +49380,7 @@ null ], "name": "_verifyCallResult", - "scope": 1430, + "scope": 922, "stateMutability": "pure", "virtual": false, "visibility": "private" @@ -49393,7 +49393,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49405,21 +49405,21 @@ "name": "bool", "type": "bool" }, - "id": 1400, + "id": 892, "name": "ElementaryTypeName", - "src": "25032:4:1" + "src": "25726:4:0" } ], - "id": 1401, + "id": 893, "name": "VariableDeclaration", - "src": "25032:12:1" + "src": "25726:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49431,21 +49431,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1402, + "id": 894, "name": "ElementaryTypeName", - "src": "25046:5:1" + "src": "25740:5:0" } ], - "id": 1403, + "id": 895, "name": "VariableDeclaration", - "src": "25046:23:1" + "src": "25740:23:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -49457,19 +49457,19 @@ "name": "string", "type": "string" }, - "id": 1404, + "id": 896, "name": "ElementaryTypeName", - "src": "25071:6:1" + "src": "25765:6:0" } ], - "id": 1405, + "id": 897, "name": "VariableDeclaration", - "src": "25071:26:1" + "src": "25765:26:0" } ], - "id": 1406, + "id": 898, "name": "ParameterList", - "src": "25031:67:1" + "src": "25725:67:0" }, { "children": [ @@ -49478,7 +49478,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49490,19 +49490,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1407, + "id": 899, "name": "ElementaryTypeName", - "src": "25120:5:1" + "src": "25814:5:0" } ], - "id": 1408, + "id": 900, "name": "VariableDeclaration", - "src": "25120:12:1" + "src": "25814:12:0" } ], - "id": 1409, + "id": 901, "name": "ParameterList", - "src": "25119:14:1" + "src": "25813:14:0" }, { "children": [ @@ -49513,19 +49513,19 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1401, + "referencedDeclaration": 893, "type": "bool", "value": "success" }, - "id": 1410, + "id": 902, "name": "Identifier", - "src": "25148:7:1" + "src": "25843:7:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1409 + "functionReturnParameters": 901 }, "children": [ { @@ -49533,23 +49533,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1411, + "id": 903, "name": "Identifier", - "src": "25178:10:1" + "src": "25874:10:0" } ], - "id": 1412, + "id": 904, "name": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ], - "id": 1413, + "id": 905, "name": "Block", - "src": "25157:42:1" + "src": "25852:44:0" }, { "children": [ @@ -49584,18 +49584,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1414, + "id": 906, "name": "Identifier", - "src": "25289:10:1" + "src": "25988:10:0" } ], - "id": 1415, + "id": 907, "name": "MemberAccess", - "src": "25289:17:1" + "src": "25988:17:0" }, { "attributes": { @@ -49608,14 +49608,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1416, + "id": 908, "name": "Literal", - "src": "25309:1:1" + "src": "26008:1:0" } ], - "id": 1417, + "id": 909, "name": "BinaryOperation", - "src": "25289:21:1" + "src": "25988:21:0" }, { "children": [ @@ -49624,31 +49624,31 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], "operations": "{\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n}" }, "children": [], - "id": 1418, + "id": 910, "name": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ], - "id": 1419, + "id": 911, "name": "Block", - "src": "25312:343:1" + "src": "26011:351:0" }, { "children": [ @@ -49685,67 +49685,67 @@ "type": "function (string memory) pure", "value": "revert" }, - "id": 1420, + "id": 912, "name": "Identifier", - "src": "25679:6:1" + "src": "26387:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1405, + "referencedDeclaration": 897, "type": "string memory", "value": "errorMessage" }, - "id": 1421, + "id": 913, "name": "Identifier", - "src": "25686:12:1" + "src": "26394:12:0" } ], - "id": 1422, + "id": 914, "name": "FunctionCall", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1423, + "id": 915, "name": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1424, + "id": 916, "name": "Block", - "src": "25661:53:1" + "src": "26368:55:0" } ], - "id": 1425, + "id": 917, "name": "IfStatement", - "src": "25285:429:1" + "src": "25984:439:0" } ], - "id": 1426, + "id": 918, "name": "Block", - "src": "25205:519:1" + "src": "25902:532:0" } ], - "id": 1427, + "id": 919, "name": "IfStatement", - "src": "25144:580:1" + "src": "25839:595:0" } ], - "id": 1428, + "id": 920, "name": "Block", - "src": "25134:596:1" + "src": "25828:613:0" } ], - "id": 1429, + "id": 921, "name": "FunctionDefinition", - "src": "25005:725:1" + "src": "25699:742:0" } ], - "id": 1430, + "id": 922, "name": "ContractDefinition", - "src": "18048:7684:1" + "src": "18579:7865:0" }, { "attributes": { @@ -49759,9 +49759,9 @@ ".0" ] }, - "id": 1431, + "id": 923, "name": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "attributes": { @@ -49775,25 +49775,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, - "id": 1432, + "id": 924, "name": "StructuredDocumentation", - "src": "25824:686:1" + "src": "26541:709:0" }, { "attributes": { "canonicalName": "EnumerableSet.Set", "name": "Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -49802,7 +49802,7 @@ "constant": false, "mutability": "mutable", "name": "_values", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "bytes32[]", @@ -49819,26 +49819,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1433, + "id": 925, "name": "ElementaryTypeName", - "src": "27033:7:1" + "src": "27786:7:0" } ], - "id": 1434, + "id": 926, "name": "ArrayTypeName", - "src": "27033:9:1" + "src": "27786:9:0" } ], - "id": 1435, + "id": 927, "name": "VariableDeclaration", - "src": "27033:17:1" + "src": "27786:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -49855,33 +49855,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1436, + "id": 928, "name": "ElementaryTypeName", - "src": "27193:7:1" + "src": "27950:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1437, + "id": 929, "name": "ElementaryTypeName", - "src": "27204:7:1" + "src": "27961:7:0" } ], - "id": 1438, + "id": 930, "name": "Mapping", - "src": "27184:28:1" + "src": "27941:28:0" } ], - "id": 1439, + "id": 931, "name": "VariableDeclaration", - "src": "27184:37:1" + "src": "27941:37:0" } ], - "id": 1440, + "id": 932, "name": "StructDefinition", - "src": "26979:249:1" + "src": "27730:256:0" }, { "attributes": { @@ -49892,7 +49892,7 @@ null ], "name": "_add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -49902,9 +49902,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1441, + "id": 933, "name": "StructuredDocumentation", - "src": "27234:159:1" + "src": "27994:164:0" }, { "children": [ @@ -49913,7 +49913,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -49923,24 +49923,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1442, + "id": 934, "name": "UserDefinedTypeName", - "src": "27412:3:1" + "src": "28178:3:0" } ], - "id": 1443, + "id": 935, "name": "VariableDeclaration", - "src": "27412:15:1" + "src": "28178:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -49952,19 +49952,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1444, + "id": 936, "name": "ElementaryTypeName", - "src": "27429:7:1" + "src": "28195:7:0" } ], - "id": 1445, + "id": 937, "name": "VariableDeclaration", - "src": "27429:13:1" + "src": "28195:13:0" } ], - "id": 1446, + "id": 938, "name": "ParameterList", - "src": "27411:32:1" + "src": "28177:32:0" }, { "children": [ @@ -49973,7 +49973,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49985,19 +49985,19 @@ "name": "bool", "type": "bool" }, - "id": 1447, + "id": 939, "name": "ElementaryTypeName", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1448, + "id": 940, "name": "VariableDeclaration", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1449, + "id": 941, "name": "ParameterList", - "src": "27460:6:1" + "src": "28226:6:0" }, { "children": [ @@ -50033,7 +50033,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -50044,49 +50044,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1450, + "id": 942, "name": "Identifier", - "src": "27482:9:1" + "src": "28249:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1451, + "id": 943, "name": "Identifier", - "src": "27492:3:1" + "src": "28259:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1452, + "id": 944, "name": "Identifier", - "src": "27497:5:1" + "src": "28264:5:0" } ], - "id": 1453, + "id": 945, "name": "FunctionCall", - "src": "27482:21:1" + "src": "28249:21:0" } ], - "id": 1454, + "id": 946, "name": "UnaryOperation", - "src": "27481:22:1" + "src": "28248:22:0" }, { "children": [ @@ -50130,7 +50130,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50139,46 +50139,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1455, + "id": 947, "name": "Identifier", - "src": "27519:3:1" + "src": "28287:3:0" } ], - "id": 1458, + "id": 950, "name": "MemberAccess", - "src": "27519:11:1" + "src": "28287:11:0" } ], - "id": 1459, + "id": 951, "name": "MemberAccess", - "src": "27519:16:1" + "src": "28287:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1460, + "id": 952, "name": "Identifier", - "src": "27536:5:1" + "src": "28304:5:0" } ], - "id": 1461, + "id": 953, "name": "FunctionCall", - "src": "27519:23:1" + "src": "28287:23:0" } ], - "id": 1462, + "id": 954, "name": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "children": [ @@ -50208,7 +50208,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50217,36 +50217,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1463, + "id": 955, "name": "Identifier", - "src": "27677:3:1" + "src": "28448:3:0" } ], - "id": 1466, + "id": 958, "name": "MemberAccess", - "src": "27677:12:1" + "src": "28448:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1465, + "id": 957, "name": "Identifier", - "src": "27690:5:1" + "src": "28461:5:0" } ], - "id": 1467, + "id": 959, "name": "IndexAccess", - "src": "27677:19:1" + "src": "28448:19:0" }, { "attributes": { @@ -50265,7 +50265,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50274,37 +50274,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1468, + "id": 960, "name": "Identifier", - "src": "27699:3:1" + "src": "28470:3:0" } ], - "id": 1469, + "id": 961, "name": "MemberAccess", - "src": "27699:11:1" + "src": "28470:11:0" } ], - "id": 1470, + "id": 962, "name": "MemberAccess", - "src": "27699:18:1" + "src": "28470:18:0" } ], - "id": 1471, + "id": 963, "name": "Assignment", - "src": "27677:40:1" + "src": "28448:40:0" } ], - "id": 1472, + "id": 964, "name": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -50318,25 +50318,25 @@ "type": "bool", "value": "true" }, - "id": 1473, + "id": 965, "name": "Literal", - "src": "27738:4:1" + "src": "28510:4:0" } ], - "id": 1474, + "id": 966, "name": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ], - "id": 1475, + "id": 967, "name": "Block", - "src": "27505:248:1" + "src": "28272:254:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -50350,34 +50350,34 @@ "type": "bool", "value": "false" }, - "id": 1476, + "id": 968, "name": "Literal", - "src": "27780:5:1" + "src": "28554:5:0" } ], - "id": 1477, + "id": 969, "name": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ], - "id": 1478, + "id": 970, "name": "Block", - "src": "27759:37:1" + "src": "28532:39:0" } ], - "id": 1479, + "id": 971, "name": "IfStatement", - "src": "27477:319:1" + "src": "28244:327:0" } ], - "id": 1480, + "id": 972, "name": "Block", - "src": "27467:335:1" + "src": "28233:345:0" } ], - "id": 1481, + "id": 973, "name": "FunctionDefinition", - "src": "27398:404:1" + "src": "28164:414:0" }, { "attributes": { @@ -50388,7 +50388,7 @@ null ], "name": "_remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -50398,9 +50398,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1482, + "id": 974, "name": "StructuredDocumentation", - "src": "27808:157:1" + "src": "28586:162:0" }, { "children": [ @@ -50409,7 +50409,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -50419,24 +50419,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1483, + "id": 975, "name": "UserDefinedTypeName", - "src": "27987:3:1" + "src": "28771:3:0" } ], - "id": 1484, + "id": 976, "name": "VariableDeclaration", - "src": "27987:15:1" + "src": "28771:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50448,19 +50448,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1485, + "id": 977, "name": "ElementaryTypeName", - "src": "28004:7:1" + "src": "28788:7:0" } ], - "id": 1486, + "id": 978, "name": "VariableDeclaration", - "src": "28004:13:1" + "src": "28788:13:0" } ], - "id": 1487, + "id": 979, "name": "ParameterList", - "src": "27986:32:1" + "src": "28770:32:0" }, { "children": [ @@ -50469,7 +50469,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -50481,26 +50481,26 @@ "name": "bool", "type": "bool" }, - "id": 1488, + "id": 980, "name": "ElementaryTypeName", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1489, + "id": 981, "name": "VariableDeclaration", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1490, + "id": 982, "name": "ParameterList", - "src": "28035:6:1" + "src": "28819:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1492 + 984 ] }, "children": [ @@ -50509,7 +50509,7 @@ "constant": false, "mutability": "mutable", "name": "valueIndex", - "scope": 1560, + "scope": 1052, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50521,14 +50521,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1491, + "id": 983, "name": "ElementaryTypeName", - "src": "28152:7:1" + "src": "28938:7:0" } ], - "id": 1492, + "id": 984, "name": "VariableDeclaration", - "src": "28152:18:1" + "src": "28938:18:0" }, { "attributes": { @@ -50546,7 +50546,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50555,41 +50555,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1493, + "id": 985, "name": "Identifier", - "src": "28173:3:1" + "src": "28959:3:0" } ], - "id": 1494, + "id": 986, "name": "MemberAccess", - "src": "28173:12:1" + "src": "28959:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1495, + "id": 987, "name": "Identifier", - "src": "28186:5:1" + "src": "28972:5:0" } ], - "id": 1496, + "id": 988, "name": "IndexAccess", - "src": "28173:19:1" + "src": "28959:19:0" } ], - "id": 1497, + "id": 989, "name": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "children": [ @@ -50612,13 +50612,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1498, + "id": 990, "name": "Identifier", - "src": "28207:10:1" + "src": "28995:10:0" }, { "attributes": { @@ -50631,21 +50631,21 @@ "type": "int_const 0", "value": "0" }, - "id": 1499, + "id": 991, "name": "Literal", - "src": "28221:1:1" + "src": "29009:1:0" } ], - "id": 1500, + "id": 992, "name": "BinaryOperation", - "src": "28207:15:1" + "src": "28995:15:0" }, { "children": [ { "attributes": { "assignments": [ - 1502 + 994 ] }, "children": [ @@ -50654,7 +50654,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50666,14 +50666,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1501, + "id": 993, "name": "ElementaryTypeName", - "src": "28564:7:1" + "src": "29357:7:0" } ], - "id": 1502, + "id": 994, "name": "VariableDeclaration", - "src": "28564:21:1" + "src": "29357:21:0" }, { "attributes": { @@ -50694,13 +50694,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1503, + "id": 995, "name": "Identifier", - "src": "28588:10:1" + "src": "29381:10:0" }, { "attributes": { @@ -50713,24 +50713,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1504, + "id": 996, "name": "Literal", - "src": "28601:1:1" + "src": "29394:1:0" } ], - "id": 1505, + "id": 997, "name": "BinaryOperation", - "src": "28588:14:1" + "src": "29381:14:0" } ], - "id": 1506, + "id": 998, "name": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "attributes": { "assignments": [ - 1508 + 1000 ] }, "children": [ @@ -50739,7 +50739,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50751,14 +50751,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1507, + "id": 999, "name": "ElementaryTypeName", - "src": "28616:7:1" + "src": "29410:7:0" } ], - "id": 1508, + "id": 1000, "name": "VariableDeclaration", - "src": "28616:17:1" + "src": "29410:17:0" }, { "attributes": { @@ -50791,7 +50791,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50800,23 +50800,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1509, + "id": 1001, "name": "Identifier", - "src": "28636:3:1" + "src": "29430:3:0" } ], - "id": 1510, + "id": 1002, "name": "MemberAccess", - "src": "28636:11:1" + "src": "29430:11:0" } ], - "id": 1511, + "id": 1003, "name": "MemberAccess", - "src": "28636:18:1" + "src": "29430:18:0" }, { "attributes": { @@ -50829,24 +50829,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1512, + "id": 1004, "name": "Literal", - "src": "28657:1:1" + "src": "29451:1:0" } ], - "id": 1513, + "id": 1005, "name": "BinaryOperation", - "src": "28636:22:1" + "src": "29430:22:0" } ], - "id": 1514, + "id": 1006, "name": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "attributes": { "assignments": [ - 1516 + 1008 ] }, "children": [ @@ -50855,7 +50855,7 @@ "constant": false, "mutability": "mutable", "name": "lastvalue", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50867,14 +50867,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1515, + "id": 1007, "name": "ElementaryTypeName", - "src": "28898:7:1" + "src": "29697:7:0" } ], - "id": 1516, + "id": 1008, "name": "VariableDeclaration", - "src": "28898:17:1" + "src": "29697:17:0" }, { "attributes": { @@ -50892,7 +50892,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50901,41 +50901,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1517, + "id": 1009, "name": "Identifier", - "src": "28918:3:1" + "src": "29717:3:0" } ], - "id": 1518, + "id": 1010, "name": "MemberAccess", - "src": "28918:11:1" + "src": "29717:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1508, + "referencedDeclaration": 1000, "type": "uint256", "value": "lastIndex" }, - "id": 1519, + "id": 1011, "name": "Identifier", - "src": "28930:9:1" + "src": "29729:9:0" } ], - "id": 1520, + "id": 1012, "name": "IndexAccess", - "src": "28918:22:1" + "src": "29717:22:0" } ], - "id": 1521, + "id": 1013, "name": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "children": [ @@ -50965,7 +50965,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50974,59 +50974,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1522, + "id": 1014, "name": "Identifier", - "src": "29032:3:1" + "src": "29834:3:0" } ], - "id": 1525, + "id": 1017, "name": "MemberAccess", - "src": "29032:11:1" + "src": "29834:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1524, + "id": 1016, "name": "Identifier", - "src": "29044:13:1" + "src": "29846:13:0" } ], - "id": 1526, + "id": 1018, "name": "IndexAccess", - "src": "29032:26:1" + "src": "29834:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1527, + "id": 1019, "name": "Identifier", - "src": "29061:9:1" + "src": "29863:9:0" } ], - "id": 1528, + "id": 1020, "name": "Assignment", - "src": "29032:38:1" + "src": "29834:38:0" } ], - "id": 1529, + "id": 1021, "name": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "children": [ @@ -51056,7 +51056,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -51065,36 +51065,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1530, + "id": 1022, "name": "Identifier", - "src": "29136:3:1" + "src": "29940:3:0" } ], - "id": 1533, + "id": 1025, "name": "MemberAccess", - "src": "29136:12:1" + "src": "29940:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1532, + "id": 1024, "name": "Identifier", - "src": "29149:9:1" + "src": "29953:9:0" } ], - "id": 1534, + "id": 1026, "name": "IndexAccess", - "src": "29136:23:1" + "src": "29940:23:0" }, { "attributes": { @@ -51115,13 +51115,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1535, + "id": 1027, "name": "Identifier", - "src": "29162:13:1" + "src": "29966:13:0" }, { "attributes": { @@ -51134,24 +51134,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1536, + "id": 1028, "name": "Literal", - "src": "29178:1:1" + "src": "29982:1:0" } ], - "id": 1537, + "id": 1029, "name": "BinaryOperation", - "src": "29162:17:1" + "src": "29966:17:0" } ], - "id": 1538, + "id": 1030, "name": "Assignment", - "src": "29136:43:1" + "src": "29940:43:0" } ], - "id": 1539, + "id": 1031, "name": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "children": [ @@ -51193,7 +51193,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51202,33 +51202,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1540, + "id": 1032, "name": "Identifier", - "src": "29285:3:1" + "src": "30092:3:0" } ], - "id": 1543, + "id": 1035, "name": "MemberAccess", - "src": "29285:11:1" + "src": "30092:11:0" } ], - "id": 1544, + "id": 1036, "name": "MemberAccess", - "src": "29285:15:1" + "src": "30092:15:0" } ], - "id": 1545, + "id": 1037, "name": "FunctionCall", - "src": "29285:17:1" + "src": "30092:17:0" } ], - "id": 1546, + "id": 1038, "name": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "children": [ @@ -51259,7 +51259,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -51268,50 +51268,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1547, + "id": 1039, "name": "Identifier", - "src": "29377:3:1" + "src": "30187:3:0" } ], - "id": 1548, + "id": 1040, "name": "MemberAccess", - "src": "29377:12:1" + "src": "30187:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1549, + "id": 1041, "name": "Identifier", - "src": "29390:5:1" + "src": "30200:5:0" } ], - "id": 1550, + "id": 1042, "name": "IndexAccess", - "src": "29377:19:1" + "src": "30187:19:0" } ], - "id": 1551, + "id": 1043, "name": "UnaryOperation", - "src": "29370:26:1" + "src": "30180:26:0" } ], - "id": 1552, + "id": 1044, "name": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -51325,25 +51325,25 @@ "type": "bool", "value": "true" }, - "id": 1553, + "id": 1045, "name": "Literal", - "src": "29418:4:1" + "src": "30230:4:0" } ], - "id": 1554, + "id": 1046, "name": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ], - "id": 1555, + "id": 1047, "name": "Block", - "src": "28224:1209:1" + "src": "29012:1234:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -51357,34 +51357,34 @@ "type": "bool", "value": "false" }, - "id": 1556, + "id": 1048, "name": "Literal", - "src": "29460:5:1" + "src": "30274:5:0" } ], - "id": 1557, + "id": 1049, "name": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ], - "id": 1558, + "id": 1050, "name": "Block", - "src": "29439:37:1" + "src": "30252:39:0" } ], - "id": 1559, + "id": 1051, "name": "IfStatement", - "src": "28203:1273:1" + "src": "28991:1300:0" } ], - "id": 1560, + "id": 1052, "name": "Block", - "src": "28042:1440:1" + "src": "28826:1472:0" } ], - "id": 1561, + "id": 1053, "name": "FunctionDefinition", - "src": "27970:1512:1" + "src": "28754:1544:0" }, { "attributes": { @@ -51395,7 +51395,7 @@ null ], "name": "_contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51405,9 +51405,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1562, + "id": 1054, "name": "StructuredDocumentation", - "src": "29488:70:1" + "src": "30306:72:0" }, { "children": [ @@ -51416,7 +51416,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51426,24 +51426,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1563, + "id": 1055, "name": "UserDefinedTypeName", - "src": "29582:3:1" + "src": "30403:3:0" } ], - "id": 1564, + "id": 1056, "name": "VariableDeclaration", - "src": "29582:15:1" + "src": "30403:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51455,19 +51455,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1565, + "id": 1057, "name": "ElementaryTypeName", - "src": "29599:7:1" + "src": "30420:7:0" } ], - "id": 1566, + "id": 1058, "name": "VariableDeclaration", - "src": "29599:13:1" + "src": "30420:13:0" } ], - "id": 1567, + "id": 1059, "name": "ParameterList", - "src": "29581:32:1" + "src": "30402:32:0" }, { "children": [ @@ -51476,7 +51476,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51488,25 +51488,25 @@ "name": "bool", "type": "bool" }, - "id": 1568, + "id": 1060, "name": "ElementaryTypeName", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1569, + "id": 1061, "name": "VariableDeclaration", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1570, + "id": 1062, "name": "ParameterList", - "src": "29635:6:1" + "src": "30456:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1570 + "functionReturnParameters": 1062 }, "children": [ { @@ -51539,7 +51539,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -51548,36 +51548,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1564, + "referencedDeclaration": 1056, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1571, + "id": 1063, "name": "Identifier", - "src": "29659:3:1" + "src": "30481:3:0" } ], - "id": 1572, + "id": 1064, "name": "MemberAccess", - "src": "29659:12:1" + "src": "30481:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1566, + "referencedDeclaration": 1058, "type": "bytes32", "value": "value" }, - "id": 1573, + "id": 1065, "name": "Identifier", - "src": "29672:5:1" + "src": "30494:5:0" } ], - "id": 1574, + "id": 1066, "name": "IndexAccess", - "src": "29659:19:1" + "src": "30481:19:0" }, { "attributes": { @@ -51590,29 +51590,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1575, + "id": 1067, "name": "Literal", - "src": "29682:1:1" + "src": "30504:1:0" } ], - "id": 1576, + "id": 1068, "name": "BinaryOperation", - "src": "29659:24:1" + "src": "30481:24:0" } ], - "id": 1577, + "id": 1069, "name": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ], - "id": 1578, + "id": 1070, "name": "Block", - "src": "29642:48:1" + "src": "30463:50:0" } ], - "id": 1579, + "id": 1071, "name": "FunctionDefinition", - "src": "29563:127:1" + "src": "30384:129:0" }, { "attributes": { @@ -51623,7 +51623,7 @@ null ], "name": "_length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51633,9 +51633,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1580, + "id": 1072, "name": "StructuredDocumentation", - "src": "29696:70:1" + "src": "30521:72:0" }, { "children": [ @@ -51644,7 +51644,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51654,22 +51654,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1581, + "id": 1073, "name": "UserDefinedTypeName", - "src": "29788:3:1" + "src": "30616:3:0" } ], - "id": 1582, + "id": 1074, "name": "VariableDeclaration", - "src": "29788:15:1" + "src": "30616:15:0" } ], - "id": 1583, + "id": 1075, "name": "ParameterList", - "src": "29787:17:1" + "src": "30615:17:0" }, { "children": [ @@ -51678,7 +51678,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51690,25 +51690,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1584, + "id": 1076, "name": "ElementaryTypeName", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1585, + "id": 1077, "name": "VariableDeclaration", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1586, + "id": 1078, "name": "ParameterList", - "src": "29826:9:1" + "src": "30654:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1586 + "functionReturnParameters": 1078 }, "children": [ { @@ -51728,7 +51728,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51737,38 +51737,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1582, + "referencedDeclaration": 1074, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1587, + "id": 1079, "name": "Identifier", - "src": "29853:3:1" + "src": "30682:3:0" } ], - "id": 1588, + "id": 1080, "name": "MemberAccess", - "src": "29853:11:1" + "src": "30682:11:0" } ], - "id": 1589, + "id": 1081, "name": "MemberAccess", - "src": "29853:18:1" + "src": "30682:18:0" } ], - "id": 1590, + "id": 1082, "name": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ], - "id": 1591, + "id": 1083, "name": "Block", - "src": "29836:42:1" + "src": "30664:44:0" } ], - "id": 1592, + "id": 1084, "name": "FunctionDefinition", - "src": "29771:107:1" + "src": "30599:109:0" }, { "attributes": { @@ -51779,7 +51779,7 @@ null ], "name": "_at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51789,9 +51789,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1593, + "id": 1085, "name": "StructuredDocumentation", - "src": "29883:322:1" + "src": "30715:331:0" }, { "children": [ @@ -51800,7 +51800,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51810,24 +51810,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1594, + "id": 1086, "name": "UserDefinedTypeName", - "src": "30223:3:1" + "src": "31065:3:0" } ], - "id": 1595, + "id": 1087, "name": "VariableDeclaration", - "src": "30223:15:1" + "src": "31065:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51839,19 +51839,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1596, + "id": 1088, "name": "ElementaryTypeName", - "src": "30240:7:1" + "src": "31082:7:0" } ], - "id": 1597, + "id": 1089, "name": "VariableDeclaration", - "src": "30240:13:1" + "src": "31082:13:0" } ], - "id": 1598, + "id": 1090, "name": "ParameterList", - "src": "30222:32:1" + "src": "31064:32:0" }, { "children": [ @@ -51860,7 +51860,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51872,19 +51872,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1599, + "id": 1091, "name": "ElementaryTypeName", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1600, + "id": 1092, "name": "VariableDeclaration", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1601, + "id": 1093, "name": "ParameterList", - "src": "30276:9:1" + "src": "31118:9:0" }, { "children": [ @@ -51925,9 +51925,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1602, + "id": 1094, "name": "Identifier", - "src": "30296:7:1" + "src": "31139:7:0" }, { "attributes": { @@ -51960,7 +51960,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51969,41 +51969,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1603, + "id": 1095, "name": "Identifier", - "src": "30304:3:1" + "src": "31147:3:0" } ], - "id": 1604, + "id": 1096, "name": "MemberAccess", - "src": "30304:11:1" + "src": "31147:11:0" } ], - "id": 1605, + "id": 1097, "name": "MemberAccess", - "src": "30304:18:1" + "src": "31147:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1606, + "id": 1098, "name": "Identifier", - "src": "30325:5:1" + "src": "31168:5:0" } ], - "id": 1607, + "id": 1099, "name": "BinaryOperation", - "src": "30304:26:1" + "src": "31147:26:0" }, { "attributes": { @@ -52016,23 +52016,23 @@ "type": "literal_string \"EnumerableSet: index out of bounds\"", "value": "EnumerableSet: index out of bounds" }, - "id": 1608, + "id": 1100, "name": "Literal", - "src": "30332:36:1" + "src": "31175:36:0" } ], - "id": 1609, + "id": 1101, "name": "FunctionCall", - "src": "30296:73:1" + "src": "31139:73:0" } ], - "id": 1610, + "id": 1102, "name": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "attributes": { - "functionReturnParameters": 1601 + "functionReturnParameters": 1093 }, "children": [ { @@ -52051,7 +52051,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -52060,57 +52060,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1611, + "id": 1103, "name": "Identifier", - "src": "30386:3:1" + "src": "31230:3:0" } ], - "id": 1612, + "id": 1104, "name": "MemberAccess", - "src": "30386:11:1" + "src": "31230:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1613, + "id": 1105, "name": "Identifier", - "src": "30398:5:1" + "src": "31242:5:0" } ], - "id": 1614, + "id": 1106, "name": "IndexAccess", - "src": "30386:18:1" + "src": "31230:18:0" } ], - "id": 1615, + "id": 1107, "name": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ], - "id": 1616, + "id": 1108, "name": "Block", - "src": "30286:125:1" + "src": "31128:128:0" } ], - "id": 1617, + "id": 1109, "name": "FunctionDefinition", - "src": "30210:201:1" + "src": "31052:204:0" }, { "attributes": { "canonicalName": "EnumerableSet.Bytes32Set", "name": "Bytes32Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -52119,7 +52119,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1620, + "scope": 1112, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -52129,22 +52129,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1618, + "id": 1110, "name": "UserDefinedTypeName", - "src": "30464:3:1" + "src": "31314:3:0" } ], - "id": 1619, + "id": 1111, "name": "VariableDeclaration", - "src": "30464:10:1" + "src": "31314:10:0" } ], - "id": 1620, + "id": 1112, "name": "StructDefinition", - "src": "30436:45:1" + "src": "31285:47:0" }, { "attributes": { @@ -52155,7 +52155,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52165,9 +52165,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1621, + "id": 1113, "name": "StructuredDocumentation", - "src": "30487:159:1" + "src": "31340:164:0" }, { "children": [ @@ -52176,7 +52176,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52186,24 +52186,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1622, + "id": 1114, "name": "UserDefinedTypeName", - "src": "30664:10:1" + "src": "31523:10:0" } ], - "id": 1623, + "id": 1115, "name": "VariableDeclaration", - "src": "30664:22:1" + "src": "31523:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52215,19 +52215,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1624, + "id": 1116, "name": "ElementaryTypeName", - "src": "30688:7:1" + "src": "31547:7:0" } ], - "id": 1625, + "id": 1117, "name": "VariableDeclaration", - "src": "30688:13:1" + "src": "31547:13:0" } ], - "id": 1626, + "id": 1118, "name": "ParameterList", - "src": "30663:39:1" + "src": "31522:39:0" }, { "children": [ @@ -52236,7 +52236,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52248,25 +52248,25 @@ "name": "bool", "type": "bool" }, - "id": 1627, + "id": 1119, "name": "ElementaryTypeName", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1628, + "id": 1120, "name": "VariableDeclaration", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1629, + "id": 1121, "name": "ParameterList", - "src": "30720:6:1" + "src": "31579:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1629 + "functionReturnParameters": 1121 }, "children": [ { @@ -52288,7 +52288,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52299,13 +52299,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1630, + "id": 1122, "name": "Identifier", - "src": "30744:4:1" + "src": "31604:4:0" }, { "attributes": { @@ -52314,7 +52314,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52323,51 +52323,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1623, + "referencedDeclaration": 1115, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1631, + "id": 1123, "name": "Identifier", - "src": "30749:3:1" + "src": "31609:3:0" } ], - "id": 1632, + "id": 1124, "name": "MemberAccess", - "src": "30749:10:1" + "src": "31609:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1625, + "referencedDeclaration": 1117, "type": "bytes32", "value": "value" }, - "id": 1633, + "id": 1125, "name": "Identifier", - "src": "30761:5:1" + "src": "31621:5:0" } ], - "id": 1634, + "id": 1126, "name": "FunctionCall", - "src": "30744:23:1" + "src": "31604:23:0" } ], - "id": 1635, + "id": 1127, "name": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ], - "id": 1636, + "id": 1128, "name": "Block", - "src": "30727:47:1" + "src": "31586:49:0" } ], - "id": 1637, + "id": 1129, "name": "FunctionDefinition", - "src": "30651:123:1" + "src": "31510:125:0" }, { "attributes": { @@ -52378,7 +52378,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52388,9 +52388,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1638, + "id": 1130, "name": "StructuredDocumentation", - "src": "30780:157:1" + "src": "31643:162:0" }, { "children": [ @@ -52399,7 +52399,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52409,24 +52409,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1639, + "id": 1131, "name": "UserDefinedTypeName", - "src": "30958:10:1" + "src": "31827:10:0" } ], - "id": 1640, + "id": 1132, "name": "VariableDeclaration", - "src": "30958:22:1" + "src": "31827:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52438,19 +52438,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1641, + "id": 1133, "name": "ElementaryTypeName", - "src": "30982:7:1" + "src": "31851:7:0" } ], - "id": 1642, + "id": 1134, "name": "VariableDeclaration", - "src": "30982:13:1" + "src": "31851:13:0" } ], - "id": 1643, + "id": 1135, "name": "ParameterList", - "src": "30957:39:1" + "src": "31826:39:0" }, { "children": [ @@ -52459,7 +52459,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52471,25 +52471,25 @@ "name": "bool", "type": "bool" }, - "id": 1644, + "id": 1136, "name": "ElementaryTypeName", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1645, + "id": 1137, "name": "VariableDeclaration", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1646, + "id": 1138, "name": "ParameterList", - "src": "31014:6:1" + "src": "31883:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1646 + "functionReturnParameters": 1138 }, "children": [ { @@ -52511,7 +52511,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52522,13 +52522,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1647, + "id": 1139, "name": "Identifier", - "src": "31038:7:1" + "src": "31908:7:0" }, { "attributes": { @@ -52537,7 +52537,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52546,51 +52546,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1640, + "referencedDeclaration": 1132, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1648, + "id": 1140, "name": "Identifier", - "src": "31046:3:1" + "src": "31916:3:0" } ], - "id": 1649, + "id": 1141, "name": "MemberAccess", - "src": "31046:10:1" + "src": "31916:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1642, + "referencedDeclaration": 1134, "type": "bytes32", "value": "value" }, - "id": 1650, + "id": 1142, "name": "Identifier", - "src": "31058:5:1" + "src": "31928:5:0" } ], - "id": 1651, + "id": 1143, "name": "FunctionCall", - "src": "31038:26:1" + "src": "31908:26:0" } ], - "id": 1652, + "id": 1144, "name": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ], - "id": 1653, + "id": 1145, "name": "Block", - "src": "31021:50:1" + "src": "31890:52:0" } ], - "id": 1654, + "id": 1146, "name": "FunctionDefinition", - "src": "30942:129:1" + "src": "31811:131:0" }, { "attributes": { @@ -52601,7 +52601,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52611,9 +52611,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1655, + "id": 1147, "name": "StructuredDocumentation", - "src": "31077:70:1" + "src": "31950:72:0" }, { "children": [ @@ -52622,7 +52622,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52632,24 +52632,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1656, + "id": 1148, "name": "UserDefinedTypeName", - "src": "31170:10:1" + "src": "32046:10:0" } ], - "id": 1657, + "id": 1149, "name": "VariableDeclaration", - "src": "31170:22:1" + "src": "32046:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52661,19 +52661,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1658, + "id": 1150, "name": "ElementaryTypeName", - "src": "31194:7:1" + "src": "32070:7:0" } ], - "id": 1659, + "id": 1151, "name": "VariableDeclaration", - "src": "31194:13:1" + "src": "32070:13:0" } ], - "id": 1660, + "id": 1152, "name": "ParameterList", - "src": "31169:39:1" + "src": "32045:39:0" }, { "children": [ @@ -52682,7 +52682,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52694,25 +52694,25 @@ "name": "bool", "type": "bool" }, - "id": 1661, + "id": 1153, "name": "ElementaryTypeName", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1662, + "id": 1154, "name": "VariableDeclaration", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1663, + "id": 1155, "name": "ParameterList", - "src": "31231:6:1" + "src": "32107:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1663 + "functionReturnParameters": 1155 }, "children": [ { @@ -52734,7 +52734,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52745,13 +52745,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1664, + "id": 1156, "name": "Identifier", - "src": "31255:9:1" + "src": "32132:9:0" }, { "attributes": { @@ -52760,7 +52760,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52769,51 +52769,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1657, + "referencedDeclaration": 1149, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1665, + "id": 1157, "name": "Identifier", - "src": "31265:3:1" + "src": "32142:3:0" } ], - "id": 1666, + "id": 1158, "name": "MemberAccess", - "src": "31265:10:1" + "src": "32142:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1659, + "referencedDeclaration": 1151, "type": "bytes32", "value": "value" }, - "id": 1667, + "id": 1159, "name": "Identifier", - "src": "31277:5:1" + "src": "32154:5:0" } ], - "id": 1668, + "id": 1160, "name": "FunctionCall", - "src": "31255:28:1" + "src": "32132:28:0" } ], - "id": 1669, + "id": 1161, "name": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ], - "id": 1670, + "id": 1162, "name": "Block", - "src": "31238:52:1" + "src": "32114:54:0" } ], - "id": 1671, + "id": 1163, "name": "FunctionDefinition", - "src": "31152:138:1" + "src": "32028:140:0" }, { "attributes": { @@ -52824,7 +52824,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52834,9 +52834,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1672, + "id": 1164, "name": "StructuredDocumentation", - "src": "31296:70:1" + "src": "32176:72:0" }, { "children": [ @@ -52845,7 +52845,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52855,22 +52855,22 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1673, + "id": 1165, "name": "UserDefinedTypeName", - "src": "31387:10:1" + "src": "32270:10:0" } ], - "id": 1674, + "id": 1166, "name": "VariableDeclaration", - "src": "31387:22:1" + "src": "32270:22:0" } ], - "id": 1675, + "id": 1167, "name": "ParameterList", - "src": "31386:24:1" + "src": "32269:24:0" }, { "children": [ @@ -52879,7 +52879,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52891,25 +52891,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1676, + "id": 1168, "name": "ElementaryTypeName", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1677, + "id": 1169, "name": "VariableDeclaration", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1678, + "id": 1170, "name": "ParameterList", - "src": "31433:9:1" + "src": "32316:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1678 + "functionReturnParameters": 1170 }, "children": [ { @@ -52931,20 +52931,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1679, + "id": 1171, "name": "Identifier", - "src": "31460:7:1" + "src": "32344:7:0" }, { "attributes": { @@ -52953,7 +52953,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52962,38 +52962,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1674, + "referencedDeclaration": 1166, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1680, + "id": 1172, "name": "Identifier", - "src": "31468:3:1" + "src": "32352:3:0" } ], - "id": 1681, + "id": 1173, "name": "MemberAccess", - "src": "31468:10:1" + "src": "32352:10:0" } ], - "id": 1682, + "id": 1174, "name": "FunctionCall", - "src": "31460:19:1" + "src": "32344:19:0" } ], - "id": 1683, + "id": 1175, "name": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ], - "id": 1684, + "id": 1176, "name": "Block", - "src": "31443:43:1" + "src": "32326:45:0" } ], - "id": 1685, + "id": 1177, "name": "FunctionDefinition", - "src": "31371:115:1" + "src": "32254:117:0" }, { "attributes": { @@ -53004,7 +53004,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -53014,9 +53014,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1686, + "id": 1178, "name": "StructuredDocumentation", - "src": "31491:322:1" + "src": "32378:331:0" }, { "children": [ @@ -53025,7 +53025,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -53035,24 +53035,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1687, + "id": 1179, "name": "UserDefinedTypeName", - "src": "31830:10:1" + "src": "32727:10:0" } ], - "id": 1688, + "id": 1180, "name": "VariableDeclaration", - "src": "31830:22:1" + "src": "32727:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -53064,19 +53064,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1689, + "id": 1181, "name": "ElementaryTypeName", - "src": "31854:7:1" + "src": "32751:7:0" } ], - "id": 1690, + "id": 1182, "name": "VariableDeclaration", - "src": "31854:13:1" + "src": "32751:13:0" } ], - "id": 1691, + "id": 1183, "name": "ParameterList", - "src": "31829:39:1" + "src": "32726:39:0" }, { "children": [ @@ -53085,7 +53085,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -53097,25 +53097,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1692, + "id": 1184, "name": "ElementaryTypeName", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1693, + "id": 1185, "name": "VariableDeclaration", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1694, + "id": 1186, "name": "ParameterList", - "src": "31891:9:1" + "src": "32788:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1694 + "functionReturnParameters": 1186 }, "children": [ { @@ -53137,7 +53137,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53148,13 +53148,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1695, + "id": 1187, "name": "Identifier", - "src": "31918:3:1" + "src": "32816:3:0" }, { "attributes": { @@ -53163,7 +53163,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53172,57 +53172,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1688, + "referencedDeclaration": 1180, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1696, + "id": 1188, "name": "Identifier", - "src": "31922:3:1" + "src": "32820:3:0" } ], - "id": 1697, + "id": 1189, "name": "MemberAccess", - "src": "31922:10:1" + "src": "32820:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1690, + "referencedDeclaration": 1182, "type": "uint256", "value": "index" }, - "id": 1698, + "id": 1190, "name": "Identifier", - "src": "31934:5:1" + "src": "32832:5:0" } ], - "id": 1699, + "id": 1191, "name": "FunctionCall", - "src": "31918:22:1" + "src": "32816:22:0" } ], - "id": 1700, + "id": 1192, "name": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ], - "id": 1701, + "id": 1193, "name": "Block", - "src": "31901:46:1" + "src": "32798:48:0" } ], - "id": 1702, + "id": 1194, "name": "FunctionDefinition", - "src": "31818:129:1" + "src": "32715:131:0" }, { "attributes": { "canonicalName": "EnumerableSet.AddressSet", "name": "AddressSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -53231,7 +53231,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1705, + "scope": 1197, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -53241,22 +53241,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1703, + "id": 1195, "name": "UserDefinedTypeName", - "src": "32000:3:1" + "src": "32904:3:0" } ], - "id": 1704, + "id": 1196, "name": "VariableDeclaration", - "src": "32000:10:1" + "src": "32904:10:0" } ], - "id": 1705, + "id": 1197, "name": "StructDefinition", - "src": "31972:45:1" + "src": "32875:47:0" }, { "attributes": { @@ -53267,7 +53267,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -53277,9 +53277,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1706, + "id": 1198, "name": "StructuredDocumentation", - "src": "32023:159:1" + "src": "32930:164:0" }, { "children": [ @@ -53288,7 +53288,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53298,24 +53298,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1707, + "id": 1199, "name": "UserDefinedTypeName", - "src": "32200:10:1" + "src": "33113:10:0" } ], - "id": 1708, + "id": 1200, "name": "VariableDeclaration", - "src": "32200:22:1" + "src": "33113:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53328,19 +53328,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1709, + "id": 1201, "name": "ElementaryTypeName", - "src": "32224:7:1" + "src": "33137:7:0" } ], - "id": 1710, + "id": 1202, "name": "VariableDeclaration", - "src": "32224:13:1" + "src": "33137:13:0" } ], - "id": 1711, + "id": 1203, "name": "ParameterList", - "src": "32199:39:1" + "src": "33112:39:0" }, { "children": [ @@ -53349,7 +53349,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53361,25 +53361,25 @@ "name": "bool", "type": "bool" }, - "id": 1712, + "id": 1204, "name": "ElementaryTypeName", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1713, + "id": 1205, "name": "VariableDeclaration", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1714, + "id": 1206, "name": "ParameterList", - "src": "32256:6:1" + "src": "33169:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1714 + "functionReturnParameters": 1206 }, "children": [ { @@ -53401,7 +53401,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53412,13 +53412,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1715, + "id": 1207, "name": "Identifier", - "src": "32280:4:1" + "src": "33194:4:0" }, { "attributes": { @@ -53427,7 +53427,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53436,18 +53436,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1708, + "referencedDeclaration": 1200, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1716, + "id": 1208, "name": "Identifier", - "src": "32285:3:1" + "src": "33199:3:0" } ], - "id": 1717, + "id": 1209, "name": "MemberAccess", - "src": "32285:10:1" + "src": "33199:10:0" }, { "attributes": { @@ -53483,14 +53483,14 @@ "attributes": { "name": "bytes32" }, - "id": 1718, + "id": 1210, "name": "ElementaryTypeName", - "src": "32297:7:1" + "src": "33211:7:0" } ], - "id": 1719, + "id": 1211, "name": "ElementaryTypeNameExpression", - "src": "32297:7:1" + "src": "33211:7:0" }, { "attributes": { @@ -53526,14 +53526,14 @@ "attributes": { "name": "uint256" }, - "id": 1720, + "id": 1212, "name": "ElementaryTypeName", - "src": "32305:7:1" + "src": "33219:7:0" } ], - "id": 1721, + "id": 1213, "name": "ElementaryTypeNameExpression", - "src": "32305:7:1" + "src": "33219:7:0" }, { "attributes": { @@ -53569,62 +53569,62 @@ "attributes": { "name": "uint160" }, - "id": 1722, + "id": 1214, "name": "ElementaryTypeName", - "src": "32313:7:1" + "src": "33227:7:0" } ], - "id": 1723, + "id": 1215, "name": "ElementaryTypeNameExpression", - "src": "32313:7:1" + "src": "33227:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1710, + "referencedDeclaration": 1202, "type": "address", "value": "value" }, - "id": 1724, + "id": 1216, "name": "Identifier", - "src": "32321:5:1" + "src": "33235:5:0" } ], - "id": 1725, + "id": 1217, "name": "FunctionCall", - "src": "32313:14:1" + "src": "33227:14:0" } ], - "id": 1726, + "id": 1218, "name": "FunctionCall", - "src": "32305:23:1" + "src": "33219:23:0" } ], - "id": 1727, + "id": 1219, "name": "FunctionCall", - "src": "32297:32:1" + "src": "33211:32:0" } ], - "id": 1728, + "id": 1220, "name": "FunctionCall", - "src": "32280:50:1" + "src": "33194:50:0" } ], - "id": 1729, + "id": 1221, "name": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ], - "id": 1730, + "id": 1222, "name": "Block", - "src": "32263:74:1" + "src": "33176:76:0" } ], - "id": 1731, + "id": 1223, "name": "FunctionDefinition", - "src": "32187:150:1" + "src": "33100:152:0" }, { "attributes": { @@ -53635,7 +53635,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -53645,9 +53645,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1732, + "id": 1224, "name": "StructuredDocumentation", - "src": "32343:157:1" + "src": "33260:162:0" }, { "children": [ @@ -53656,7 +53656,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53666,24 +53666,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1733, + "id": 1225, "name": "UserDefinedTypeName", - "src": "32521:10:1" + "src": "33444:10:0" } ], - "id": 1734, + "id": 1226, "name": "VariableDeclaration", - "src": "32521:22:1" + "src": "33444:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53696,19 +53696,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1735, + "id": 1227, "name": "ElementaryTypeName", - "src": "32545:7:1" + "src": "33468:7:0" } ], - "id": 1736, + "id": 1228, "name": "VariableDeclaration", - "src": "32545:13:1" + "src": "33468:13:0" } ], - "id": 1737, + "id": 1229, "name": "ParameterList", - "src": "32520:39:1" + "src": "33443:39:0" }, { "children": [ @@ -53717,7 +53717,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53729,25 +53729,25 @@ "name": "bool", "type": "bool" }, - "id": 1738, + "id": 1230, "name": "ElementaryTypeName", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1739, + "id": 1231, "name": "VariableDeclaration", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1740, + "id": 1232, "name": "ParameterList", - "src": "32577:6:1" + "src": "33500:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1740 + "functionReturnParameters": 1232 }, "children": [ { @@ -53769,7 +53769,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53780,13 +53780,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1741, + "id": 1233, "name": "Identifier", - "src": "32601:7:1" + "src": "33525:7:0" }, { "attributes": { @@ -53795,7 +53795,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53804,18 +53804,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1734, + "referencedDeclaration": 1226, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1742, + "id": 1234, "name": "Identifier", - "src": "32609:3:1" + "src": "33533:3:0" } ], - "id": 1743, + "id": 1235, "name": "MemberAccess", - "src": "32609:10:1" + "src": "33533:10:0" }, { "attributes": { @@ -53851,14 +53851,14 @@ "attributes": { "name": "bytes32" }, - "id": 1744, + "id": 1236, "name": "ElementaryTypeName", - "src": "32621:7:1" + "src": "33545:7:0" } ], - "id": 1745, + "id": 1237, "name": "ElementaryTypeNameExpression", - "src": "32621:7:1" + "src": "33545:7:0" }, { "attributes": { @@ -53894,14 +53894,14 @@ "attributes": { "name": "uint256" }, - "id": 1746, + "id": 1238, "name": "ElementaryTypeName", - "src": "32629:7:1" + "src": "33553:7:0" } ], - "id": 1747, + "id": 1239, "name": "ElementaryTypeNameExpression", - "src": "32629:7:1" + "src": "33553:7:0" }, { "attributes": { @@ -53937,62 +53937,62 @@ "attributes": { "name": "uint160" }, - "id": 1748, + "id": 1240, "name": "ElementaryTypeName", - "src": "32637:7:1" + "src": "33561:7:0" } ], - "id": 1749, + "id": 1241, "name": "ElementaryTypeNameExpression", - "src": "32637:7:1" + "src": "33561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1736, + "referencedDeclaration": 1228, "type": "address", "value": "value" }, - "id": 1750, + "id": 1242, "name": "Identifier", - "src": "32645:5:1" + "src": "33569:5:0" } ], - "id": 1751, + "id": 1243, "name": "FunctionCall", - "src": "32637:14:1" + "src": "33561:14:0" } ], - "id": 1752, + "id": 1244, "name": "FunctionCall", - "src": "32629:23:1" + "src": "33553:23:0" } ], - "id": 1753, + "id": 1245, "name": "FunctionCall", - "src": "32621:32:1" + "src": "33545:32:0" } ], - "id": 1754, + "id": 1246, "name": "FunctionCall", - "src": "32601:53:1" + "src": "33525:53:0" } ], - "id": 1755, + "id": 1247, "name": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ], - "id": 1756, + "id": 1248, "name": "Block", - "src": "32584:77:1" + "src": "33507:79:0" } ], - "id": 1757, + "id": 1249, "name": "FunctionDefinition", - "src": "32505:156:1" + "src": "33428:158:0" }, { "attributes": { @@ -54003,7 +54003,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54013,9 +54013,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1758, + "id": 1250, "name": "StructuredDocumentation", - "src": "32667:70:1" + "src": "33594:72:0" }, { "children": [ @@ -54024,7 +54024,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54034,24 +54034,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1759, + "id": 1251, "name": "UserDefinedTypeName", - "src": "32760:10:1" + "src": "33690:10:0" } ], - "id": 1760, + "id": 1252, "name": "VariableDeclaration", - "src": "32760:22:1" + "src": "33690:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -54064,19 +54064,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1761, + "id": 1253, "name": "ElementaryTypeName", - "src": "32784:7:1" + "src": "33714:7:0" } ], - "id": 1762, + "id": 1254, "name": "VariableDeclaration", - "src": "32784:13:1" + "src": "33714:13:0" } ], - "id": 1763, + "id": 1255, "name": "ParameterList", - "src": "32759:39:1" + "src": "33689:39:0" }, { "children": [ @@ -54085,7 +54085,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -54097,25 +54097,25 @@ "name": "bool", "type": "bool" }, - "id": 1764, + "id": 1256, "name": "ElementaryTypeName", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1765, + "id": 1257, "name": "VariableDeclaration", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1766, + "id": 1258, "name": "ParameterList", - "src": "32821:6:1" + "src": "33751:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1766 + "functionReturnParameters": 1258 }, "children": [ { @@ -54137,7 +54137,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54148,13 +54148,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1767, + "id": 1259, "name": "Identifier", - "src": "32845:9:1" + "src": "33776:9:0" }, { "attributes": { @@ -54163,7 +54163,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54172,18 +54172,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1760, + "referencedDeclaration": 1252, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1768, + "id": 1260, "name": "Identifier", - "src": "32855:3:1" + "src": "33786:3:0" } ], - "id": 1769, + "id": 1261, "name": "MemberAccess", - "src": "32855:10:1" + "src": "33786:10:0" }, { "attributes": { @@ -54219,14 +54219,14 @@ "attributes": { "name": "bytes32" }, - "id": 1770, + "id": 1262, "name": "ElementaryTypeName", - "src": "32867:7:1" + "src": "33798:7:0" } ], - "id": 1771, + "id": 1263, "name": "ElementaryTypeNameExpression", - "src": "32867:7:1" + "src": "33798:7:0" }, { "attributes": { @@ -54262,14 +54262,14 @@ "attributes": { "name": "uint256" }, - "id": 1772, + "id": 1264, "name": "ElementaryTypeName", - "src": "32875:7:1" + "src": "33806:7:0" } ], - "id": 1773, + "id": 1265, "name": "ElementaryTypeNameExpression", - "src": "32875:7:1" + "src": "33806:7:0" }, { "attributes": { @@ -54305,62 +54305,62 @@ "attributes": { "name": "uint160" }, - "id": 1774, + "id": 1266, "name": "ElementaryTypeName", - "src": "32883:7:1" + "src": "33814:7:0" } ], - "id": 1775, + "id": 1267, "name": "ElementaryTypeNameExpression", - "src": "32883:7:1" + "src": "33814:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1762, + "referencedDeclaration": 1254, "type": "address", "value": "value" }, - "id": 1776, + "id": 1268, "name": "Identifier", - "src": "32891:5:1" + "src": "33822:5:0" } ], - "id": 1777, + "id": 1269, "name": "FunctionCall", - "src": "32883:14:1" + "src": "33814:14:0" } ], - "id": 1778, + "id": 1270, "name": "FunctionCall", - "src": "32875:23:1" + "src": "33806:23:0" } ], - "id": 1779, + "id": 1271, "name": "FunctionCall", - "src": "32867:32:1" + "src": "33798:32:0" } ], - "id": 1780, + "id": 1272, "name": "FunctionCall", - "src": "32845:55:1" + "src": "33776:55:0" } ], - "id": 1781, + "id": 1273, "name": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ], - "id": 1782, + "id": 1274, "name": "Block", - "src": "32828:79:1" + "src": "33758:81:0" } ], - "id": 1783, + "id": 1275, "name": "FunctionDefinition", - "src": "32742:165:1" + "src": "33672:167:0" }, { "attributes": { @@ -54371,7 +54371,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54381,9 +54381,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1784, + "id": 1276, "name": "StructuredDocumentation", - "src": "32913:70:1" + "src": "33847:72:0" }, { "children": [ @@ -54392,7 +54392,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54402,22 +54402,22 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1785, + "id": 1277, "name": "UserDefinedTypeName", - "src": "33004:10:1" + "src": "33941:10:0" } ], - "id": 1786, + "id": 1278, "name": "VariableDeclaration", - "src": "33004:22:1" + "src": "33941:22:0" } ], - "id": 1787, + "id": 1279, "name": "ParameterList", - "src": "33003:24:1" + "src": "33940:24:0" }, { "children": [ @@ -54426,7 +54426,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54438,25 +54438,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1788, + "id": 1280, "name": "ElementaryTypeName", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1789, + "id": 1281, "name": "VariableDeclaration", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1790, + "id": 1282, "name": "ParameterList", - "src": "33050:9:1" + "src": "33987:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1790 + "functionReturnParameters": 1282 }, "children": [ { @@ -54478,20 +54478,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1791, + "id": 1283, "name": "Identifier", - "src": "33077:7:1" + "src": "34015:7:0" }, { "attributes": { @@ -54500,7 +54500,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54509,38 +54509,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1786, + "referencedDeclaration": 1278, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1792, + "id": 1284, "name": "Identifier", - "src": "33085:3:1" + "src": "34023:3:0" } ], - "id": 1793, + "id": 1285, "name": "MemberAccess", - "src": "33085:10:1" + "src": "34023:10:0" } ], - "id": 1794, + "id": 1286, "name": "FunctionCall", - "src": "33077:19:1" + "src": "34015:19:0" } ], - "id": 1795, + "id": 1287, "name": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ], - "id": 1796, + "id": 1288, "name": "Block", - "src": "33060:43:1" + "src": "33997:45:0" } ], - "id": 1797, + "id": 1289, "name": "FunctionDefinition", - "src": "32988:115:1" + "src": "33925:117:0" }, { "attributes": { @@ -54551,7 +54551,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54561,9 +54561,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1798, + "id": 1290, "name": "StructuredDocumentation", - "src": "33108:322:1" + "src": "34049:331:0" }, { "children": [ @@ -54572,7 +54572,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54582,24 +54582,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1799, + "id": 1291, "name": "UserDefinedTypeName", - "src": "33447:10:1" + "src": "34398:10:0" } ], - "id": 1800, + "id": 1292, "name": "VariableDeclaration", - "src": "33447:22:1" + "src": "34398:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54611,19 +54611,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1801, + "id": 1293, "name": "ElementaryTypeName", - "src": "33471:7:1" + "src": "34422:7:0" } ], - "id": 1802, + "id": 1294, "name": "VariableDeclaration", - "src": "33471:13:1" + "src": "34422:13:0" } ], - "id": 1803, + "id": 1295, "name": "ParameterList", - "src": "33446:39:1" + "src": "34397:39:0" }, { "children": [ @@ -54632,7 +54632,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -54645,25 +54645,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1804, + "id": 1296, "name": "ElementaryTypeName", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1805, + "id": 1297, "name": "VariableDeclaration", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1806, + "id": 1298, "name": "ParameterList", - "src": "33508:9:1" + "src": "34459:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1806 + "functionReturnParameters": 1298 }, "children": [ { @@ -54700,14 +54700,14 @@ "attributes": { "name": "address" }, - "id": 1807, + "id": 1299, "name": "ElementaryTypeName", - "src": "33535:7:1" + "src": "34487:7:0" } ], - "id": 1808, + "id": 1300, "name": "ElementaryTypeNameExpression", - "src": "33535:7:1" + "src": "34487:7:0" }, { "attributes": { @@ -54743,14 +54743,14 @@ "attributes": { "name": "uint160" }, - "id": 1809, + "id": 1301, "name": "ElementaryTypeName", - "src": "33543:7:1" + "src": "34495:7:0" } ], - "id": 1810, + "id": 1302, "name": "ElementaryTypeNameExpression", - "src": "33543:7:1" + "src": "34495:7:0" }, { "attributes": { @@ -54786,14 +54786,14 @@ "attributes": { "name": "uint256" }, - "id": 1811, + "id": 1303, "name": "ElementaryTypeName", - "src": "33551:7:1" + "src": "34503:7:0" } ], - "id": 1812, + "id": 1304, "name": "ElementaryTypeNameExpression", - "src": "33551:7:1" + "src": "34503:7:0" }, { "attributes": { @@ -54814,7 +54814,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54825,13 +54825,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1813, + "id": 1305, "name": "Identifier", - "src": "33559:3:1" + "src": "34511:3:0" }, { "attributes": { @@ -54840,7 +54840,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54849,72 +54849,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1800, + "referencedDeclaration": 1292, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1814, + "id": 1306, "name": "Identifier", - "src": "33563:3:1" + "src": "34515:3:0" } ], - "id": 1815, + "id": 1307, "name": "MemberAccess", - "src": "33563:10:1" + "src": "34515:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1802, + "referencedDeclaration": 1294, "type": "uint256", "value": "index" }, - "id": 1816, + "id": 1308, "name": "Identifier", - "src": "33575:5:1" + "src": "34527:5:0" } ], - "id": 1817, + "id": 1309, "name": "FunctionCall", - "src": "33559:22:1" + "src": "34511:22:0" } ], - "id": 1818, + "id": 1310, "name": "FunctionCall", - "src": "33551:31:1" + "src": "34503:31:0" } ], - "id": 1819, + "id": 1311, "name": "FunctionCall", - "src": "33543:40:1" + "src": "34495:40:0" } ], - "id": 1820, + "id": 1312, "name": "FunctionCall", - "src": "33535:49:1" + "src": "34487:49:0" } ], - "id": 1821, + "id": 1313, "name": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ], - "id": 1822, + "id": 1314, "name": "Block", - "src": "33518:73:1" + "src": "34469:75:0" } ], - "id": 1823, + "id": 1315, "name": "FunctionDefinition", - "src": "33435:156:1" + "src": "34386:158:0" }, { "attributes": { "canonicalName": "EnumerableSet.UintSet", "name": "UintSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -54923,7 +54923,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1826, + "scope": 1318, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -54933,22 +54933,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1824, + "id": 1316, "name": "UserDefinedTypeName", - "src": "33639:3:1" + "src": "34598:3:0" } ], - "id": 1825, + "id": 1317, "name": "VariableDeclaration", - "src": "33639:10:1" + "src": "34598:10:0" } ], - "id": 1826, + "id": 1318, "name": "StructDefinition", - "src": "33614:42:1" + "src": "34572:44:0" }, { "attributes": { @@ -54959,7 +54959,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -54969,9 +54969,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1827, + "id": 1319, "name": "StructuredDocumentation", - "src": "33662:159:1" + "src": "34624:164:0" }, { "children": [ @@ -54980,7 +54980,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -54990,24 +54990,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1828, + "id": 1320, "name": "UserDefinedTypeName", - "src": "33839:7:1" + "src": "34807:7:0" } ], - "id": 1829, + "id": 1321, "name": "VariableDeclaration", - "src": "33839:19:1" + "src": "34807:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55019,19 +55019,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1830, + "id": 1322, "name": "ElementaryTypeName", - "src": "33860:7:1" + "src": "34828:7:0" } ], - "id": 1831, + "id": 1323, "name": "VariableDeclaration", - "src": "33860:13:1" + "src": "34828:13:0" } ], - "id": 1832, + "id": 1324, "name": "ParameterList", - "src": "33838:36:1" + "src": "34806:36:0" }, { "children": [ @@ -55040,7 +55040,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55052,25 +55052,25 @@ "name": "bool", "type": "bool" }, - "id": 1833, + "id": 1325, "name": "ElementaryTypeName", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1834, + "id": 1326, "name": "VariableDeclaration", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1835, + "id": 1327, "name": "ParameterList", - "src": "33892:6:1" + "src": "34860:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1835 + "functionReturnParameters": 1327 }, "children": [ { @@ -55092,7 +55092,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55103,13 +55103,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1836, + "id": 1328, "name": "Identifier", - "src": "33916:4:1" + "src": "34885:4:0" }, { "attributes": { @@ -55118,7 +55118,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55127,18 +55127,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1829, + "referencedDeclaration": 1321, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1837, + "id": 1329, "name": "Identifier", - "src": "33921:3:1" + "src": "34890:3:0" } ], - "id": 1838, + "id": 1330, "name": "MemberAccess", - "src": "33921:10:1" + "src": "34890:10:0" }, { "attributes": { @@ -55174,52 +55174,52 @@ "attributes": { "name": "bytes32" }, - "id": 1839, + "id": 1331, "name": "ElementaryTypeName", - "src": "33933:7:1" + "src": "34902:7:0" } ], - "id": 1840, + "id": 1332, "name": "ElementaryTypeNameExpression", - "src": "33933:7:1" + "src": "34902:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1831, + "referencedDeclaration": 1323, "type": "uint256", "value": "value" }, - "id": 1841, + "id": 1333, "name": "Identifier", - "src": "33941:5:1" + "src": "34910:5:0" } ], - "id": 1842, + "id": 1334, "name": "FunctionCall", - "src": "33933:14:1" + "src": "34902:14:0" } ], - "id": 1843, + "id": 1335, "name": "FunctionCall", - "src": "33916:32:1" + "src": "34885:32:0" } ], - "id": 1844, + "id": 1336, "name": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ], - "id": 1845, + "id": 1337, "name": "Block", - "src": "33899:56:1" + "src": "34867:58:0" } ], - "id": 1846, + "id": 1338, "name": "FunctionDefinition", - "src": "33826:129:1" + "src": "34794:131:0" }, { "attributes": { @@ -55230,7 +55230,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -55240,9 +55240,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1847, + "id": 1339, "name": "StructuredDocumentation", - "src": "33961:157:1" + "src": "34933:162:0" }, { "children": [ @@ -55251,7 +55251,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55261,24 +55261,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1848, + "id": 1340, "name": "UserDefinedTypeName", - "src": "34139:7:1" + "src": "35117:7:0" } ], - "id": 1849, + "id": 1341, "name": "VariableDeclaration", - "src": "34139:19:1" + "src": "35117:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55290,19 +55290,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1850, + "id": 1342, "name": "ElementaryTypeName", - "src": "34160:7:1" + "src": "35138:7:0" } ], - "id": 1851, + "id": 1343, "name": "VariableDeclaration", - "src": "34160:13:1" + "src": "35138:13:0" } ], - "id": 1852, + "id": 1344, "name": "ParameterList", - "src": "34138:36:1" + "src": "35116:36:0" }, { "children": [ @@ -55311,7 +55311,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55323,25 +55323,25 @@ "name": "bool", "type": "bool" }, - "id": 1853, + "id": 1345, "name": "ElementaryTypeName", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1854, + "id": 1346, "name": "VariableDeclaration", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1855, + "id": 1347, "name": "ParameterList", - "src": "34192:6:1" + "src": "35170:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1855 + "functionReturnParameters": 1347 }, "children": [ { @@ -55363,7 +55363,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55374,13 +55374,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1856, + "id": 1348, "name": "Identifier", - "src": "34216:7:1" + "src": "35195:7:0" }, { "attributes": { @@ -55389,7 +55389,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55398,18 +55398,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1849, + "referencedDeclaration": 1341, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1857, + "id": 1349, "name": "Identifier", - "src": "34224:3:1" + "src": "35203:3:0" } ], - "id": 1858, + "id": 1350, "name": "MemberAccess", - "src": "34224:10:1" + "src": "35203:10:0" }, { "attributes": { @@ -55445,52 +55445,52 @@ "attributes": { "name": "bytes32" }, - "id": 1859, + "id": 1351, "name": "ElementaryTypeName", - "src": "34236:7:1" + "src": "35215:7:0" } ], - "id": 1860, + "id": 1352, "name": "ElementaryTypeNameExpression", - "src": "34236:7:1" + "src": "35215:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1851, + "referencedDeclaration": 1343, "type": "uint256", "value": "value" }, - "id": 1861, + "id": 1353, "name": "Identifier", - "src": "34244:5:1" + "src": "35223:5:0" } ], - "id": 1862, + "id": 1354, "name": "FunctionCall", - "src": "34236:14:1" + "src": "35215:14:0" } ], - "id": 1863, + "id": 1355, "name": "FunctionCall", - "src": "34216:35:1" + "src": "35195:35:0" } ], - "id": 1864, + "id": 1356, "name": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ], - "id": 1865, + "id": 1357, "name": "Block", - "src": "34199:59:1" + "src": "35177:61:0" } ], - "id": 1866, + "id": 1358, "name": "FunctionDefinition", - "src": "34123:135:1" + "src": "35101:137:0" }, { "attributes": { @@ -55501,7 +55501,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55511,9 +55511,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1867, + "id": 1359, "name": "StructuredDocumentation", - "src": "34264:70:1" + "src": "35246:72:0" }, { "children": [ @@ -55522,7 +55522,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55532,24 +55532,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1868, + "id": 1360, "name": "UserDefinedTypeName", - "src": "34357:7:1" + "src": "35342:7:0" } ], - "id": 1869, + "id": 1361, "name": "VariableDeclaration", - "src": "34357:19:1" + "src": "35342:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55561,19 +55561,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1870, + "id": 1362, "name": "ElementaryTypeName", - "src": "34378:7:1" + "src": "35363:7:0" } ], - "id": 1871, + "id": 1363, "name": "VariableDeclaration", - "src": "34378:13:1" + "src": "35363:13:0" } ], - "id": 1872, + "id": 1364, "name": "ParameterList", - "src": "34356:36:1" + "src": "35341:36:0" }, { "children": [ @@ -55582,7 +55582,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55594,25 +55594,25 @@ "name": "bool", "type": "bool" }, - "id": 1873, + "id": 1365, "name": "ElementaryTypeName", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1874, + "id": 1366, "name": "VariableDeclaration", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1875, + "id": 1367, "name": "ParameterList", - "src": "34415:6:1" + "src": "35400:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1875 + "functionReturnParameters": 1367 }, "children": [ { @@ -55634,7 +55634,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55645,13 +55645,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1876, + "id": 1368, "name": "Identifier", - "src": "34439:9:1" + "src": "35425:9:0" }, { "attributes": { @@ -55660,7 +55660,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55669,18 +55669,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1869, + "referencedDeclaration": 1361, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1877, + "id": 1369, "name": "Identifier", - "src": "34449:3:1" + "src": "35435:3:0" } ], - "id": 1878, + "id": 1370, "name": "MemberAccess", - "src": "34449:10:1" + "src": "35435:10:0" }, { "attributes": { @@ -55716,52 +55716,52 @@ "attributes": { "name": "bytes32" }, - "id": 1879, + "id": 1371, "name": "ElementaryTypeName", - "src": "34461:7:1" + "src": "35447:7:0" } ], - "id": 1880, + "id": 1372, "name": "ElementaryTypeNameExpression", - "src": "34461:7:1" + "src": "35447:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1871, + "referencedDeclaration": 1363, "type": "uint256", "value": "value" }, - "id": 1881, + "id": 1373, "name": "Identifier", - "src": "34469:5:1" + "src": "35455:5:0" } ], - "id": 1882, + "id": 1374, "name": "FunctionCall", - "src": "34461:14:1" + "src": "35447:14:0" } ], - "id": 1883, + "id": 1375, "name": "FunctionCall", - "src": "34439:37:1" + "src": "35425:37:0" } ], - "id": 1884, + "id": 1376, "name": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ], - "id": 1885, + "id": 1377, "name": "Block", - "src": "34422:61:1" + "src": "35407:63:0" } ], - "id": 1886, + "id": 1378, "name": "FunctionDefinition", - "src": "34339:144:1" + "src": "35324:146:0" }, { "attributes": { @@ -55772,7 +55772,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55782,9 +55782,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1887, + "id": 1379, "name": "StructuredDocumentation", - "src": "34489:70:1" + "src": "35478:72:0" }, { "children": [ @@ -55793,7 +55793,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55803,22 +55803,22 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1888, + "id": 1380, "name": "UserDefinedTypeName", - "src": "34580:7:1" + "src": "35572:7:0" } ], - "id": 1889, + "id": 1381, "name": "VariableDeclaration", - "src": "34580:19:1" + "src": "35572:19:0" } ], - "id": 1890, + "id": 1382, "name": "ParameterList", - "src": "34579:21:1" + "src": "35571:21:0" }, { "children": [ @@ -55827,7 +55827,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55839,25 +55839,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1891, + "id": 1383, "name": "ElementaryTypeName", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1892, + "id": 1384, "name": "VariableDeclaration", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1893, + "id": 1385, "name": "ParameterList", - "src": "34623:9:1" + "src": "35615:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1893 + "functionReturnParameters": 1385 }, "children": [ { @@ -55879,20 +55879,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1894, + "id": 1386, "name": "Identifier", - "src": "34650:7:1" + "src": "35643:7:0" }, { "attributes": { @@ -55901,7 +55901,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55910,38 +55910,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1889, + "referencedDeclaration": 1381, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1895, + "id": 1387, "name": "Identifier", - "src": "34658:3:1" + "src": "35651:3:0" } ], - "id": 1896, + "id": 1388, "name": "MemberAccess", - "src": "34658:10:1" + "src": "35651:10:0" } ], - "id": 1897, + "id": 1389, "name": "FunctionCall", - "src": "34650:19:1" + "src": "35643:19:0" } ], - "id": 1898, + "id": 1390, "name": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ], - "id": 1899, + "id": 1391, "name": "Block", - "src": "34633:43:1" + "src": "35625:45:0" } ], - "id": 1900, + "id": 1392, "name": "FunctionDefinition", - "src": "34564:112:1" + "src": "35556:114:0" }, { "attributes": { @@ -55952,7 +55952,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55962,9 +55962,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1901, + "id": 1393, "name": "StructuredDocumentation", - "src": "34681:322:1" + "src": "35677:331:0" }, { "children": [ @@ -55973,7 +55973,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55983,24 +55983,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1902, + "id": 1394, "name": "UserDefinedTypeName", - "src": "35020:7:1" + "src": "36026:7:0" } ], - "id": 1903, + "id": 1395, "name": "VariableDeclaration", - "src": "35020:19:1" + "src": "36026:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -56012,19 +56012,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1904, + "id": 1396, "name": "ElementaryTypeName", - "src": "35041:7:1" + "src": "36047:7:0" } ], - "id": 1905, + "id": 1397, "name": "VariableDeclaration", - "src": "35041:13:1" + "src": "36047:13:0" } ], - "id": 1906, + "id": 1398, "name": "ParameterList", - "src": "35019:36:1" + "src": "36025:36:0" }, { "children": [ @@ -56033,7 +56033,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -56045,25 +56045,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1907, + "id": 1399, "name": "ElementaryTypeName", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1908, + "id": 1400, "name": "VariableDeclaration", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1909, + "id": 1401, "name": "ParameterList", - "src": "35078:9:1" + "src": "36084:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1909 + "functionReturnParameters": 1401 }, "children": [ { @@ -56100,14 +56100,14 @@ "attributes": { "name": "uint256" }, - "id": 1910, + "id": 1402, "name": "ElementaryTypeName", - "src": "35105:7:1" + "src": "36112:7:0" } ], - "id": 1911, + "id": 1403, "name": "ElementaryTypeNameExpression", - "src": "35105:7:1" + "src": "36112:7:0" }, { "attributes": { @@ -56128,7 +56128,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -56139,13 +56139,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1912, + "id": 1404, "name": "Identifier", - "src": "35113:3:1" + "src": "36120:3:0" }, { "attributes": { @@ -56154,7 +56154,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -56163,61 +56163,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1903, + "referencedDeclaration": 1395, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1913, + "id": 1405, "name": "Identifier", - "src": "35117:3:1" + "src": "36124:3:0" } ], - "id": 1914, + "id": 1406, "name": "MemberAccess", - "src": "35117:10:1" + "src": "36124:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1905, + "referencedDeclaration": 1397, "type": "uint256", "value": "index" }, - "id": 1915, + "id": 1407, "name": "Identifier", - "src": "35129:5:1" + "src": "36136:5:0" } ], - "id": 1916, + "id": 1408, "name": "FunctionCall", - "src": "35113:22:1" + "src": "36120:22:0" } ], - "id": 1917, + "id": 1409, "name": "FunctionCall", - "src": "35105:31:1" + "src": "36112:31:0" } ], - "id": 1918, + "id": 1410, "name": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ], - "id": 1919, + "id": 1411, "name": "Block", - "src": "35088:55:1" + "src": "36094:57:0" } ], - "id": 1920, + "id": 1412, "name": "FunctionDefinition", - "src": "35008:135:1" + "src": "36014:137:0" } ], - "id": 1921, + "id": 1413, "name": "ContractDefinition", - "src": "26511:8634:1" + "src": "27252:8902:0" }, { "attributes": { @@ -56231,9 +56231,9 @@ ".0" ] }, - "id": 1922, + "id": 1414, "name": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "attributes": { @@ -56247,25 +56247,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, - "id": 1923, + "id": 1415, "name": "StructuredDocumentation", - "src": "35237:705:1" + "src": "36251:728:0" }, { "attributes": { "canonicalName": "EnumerableMap.MapEntry", "name": "MapEntry", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -56274,7 +56274,7 @@ "constant": false, "mutability": "mutable", "name": "_key", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56286,21 +56286,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1924, + "id": 1416, "name": "ElementaryTypeName", - "src": "36455:7:1" + "src": "37504:7:0" } ], - "id": 1925, + "id": 1417, "name": "VariableDeclaration", - "src": "36455:12:1" + "src": "37504:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_value", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56312,25 +56312,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1926, + "id": 1418, "name": "ElementaryTypeName", - "src": "36477:7:1" + "src": "37527:7:0" } ], - "id": 1927, + "id": 1419, "name": "VariableDeclaration", - "src": "36477:14:1" + "src": "37527:14:0" } ], - "id": 1928, + "id": 1420, "name": "StructDefinition", - "src": "36429:69:1" + "src": "37477:72:0" }, { "attributes": { "canonicalName": "EnumerableMap.Map", "name": "Map", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -56339,7 +56339,7 @@ "constant": false, "mutability": "mutable", "name": "_entries", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.MapEntry[]", @@ -56354,29 +56354,29 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 1929, + "id": 1421, "name": "UserDefinedTypeName", - "src": "36567:8:1" + "src": "37622:8:0" } ], - "id": 1930, + "id": 1422, "name": "ArrayTypeName", - "src": "36567:10:1" + "src": "37622:10:0" } ], - "id": 1931, + "id": 1423, "name": "VariableDeclaration", - "src": "36567:19:1" + "src": "37622:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -56393,33 +56393,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1932, + "id": 1424, "name": "ElementaryTypeName", - "src": "36745:7:1" + "src": "37804:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1933, + "id": 1425, "name": "ElementaryTypeName", - "src": "36756:7:1" + "src": "37815:7:0" } ], - "id": 1934, + "id": 1426, "name": "Mapping", - "src": "36736:28:1" + "src": "37795:28:0" } ], - "id": 1935, + "id": 1427, "name": "VariableDeclaration", - "src": "36736:37:1" + "src": "37795:37:0" } ], - "id": 1936, + "id": 1428, "name": "StructDefinition", - "src": "36504:276:1" + "src": "37557:283:0" }, { "attributes": { @@ -56430,7 +56430,7 @@ null ], "name": "_set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56440,9 +56440,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1937, + "id": 1429, "name": "StructuredDocumentation", - "src": "36786:216:1" + "src": "37848:222:0" }, { "children": [ @@ -56451,7 +56451,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56461,24 +56461,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 1938, + "id": 1430, "name": "UserDefinedTypeName", - "src": "37021:3:1" + "src": "38090:3:0" } ], - "id": 1939, + "id": 1431, "name": "VariableDeclaration", - "src": "37021:15:1" + "src": "38090:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56490,21 +56490,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1940, + "id": 1432, "name": "ElementaryTypeName", - "src": "37038:7:1" + "src": "38107:7:0" } ], - "id": 1941, + "id": 1433, "name": "VariableDeclaration", - "src": "37038:11:1" + "src": "38107:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56516,19 +56516,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1942, + "id": 1434, "name": "ElementaryTypeName", - "src": "37051:7:1" + "src": "38120:7:0" } ], - "id": 1943, + "id": 1435, "name": "VariableDeclaration", - "src": "37051:13:1" + "src": "38120:13:0" } ], - "id": 1944, + "id": 1436, "name": "ParameterList", - "src": "37020:45:1" + "src": "38089:45:0" }, { "children": [ @@ -56537,7 +56537,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -56549,26 +56549,26 @@ "name": "bool", "type": "bool" }, - "id": 1945, + "id": 1437, "name": "ElementaryTypeName", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1946, + "id": 1438, "name": "VariableDeclaration", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1947, + "id": 1439, "name": "ParameterList", - "src": "37082:6:1" + "src": "38151:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1949 + 1441 ] }, "children": [ @@ -56577,7 +56577,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 1997, + "scope": 1489, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -56589,14 +56589,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1948, + "id": 1440, "name": "ElementaryTypeName", - "src": "37197:7:1" + "src": "38268:7:0" } ], - "id": 1949, + "id": 1441, "name": "VariableDeclaration", - "src": "37197:16:1" + "src": "38268:16:0" }, { "attributes": { @@ -56614,7 +56614,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56623,41 +56623,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1950, + "id": 1442, "name": "Identifier", - "src": "37216:3:1" + "src": "38287:3:0" } ], - "id": 1951, + "id": 1443, "name": "MemberAccess", - "src": "37216:12:1" + "src": "38287:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1952, + "id": 1444, "name": "Identifier", - "src": "37229:3:1" + "src": "38300:3:0" } ], - "id": 1953, + "id": 1445, "name": "IndexAccess", - "src": "37216:17:1" + "src": "38287:17:0" } ], - "id": 1954, + "id": 1446, "name": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "children": [ @@ -56680,13 +56680,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1955, + "id": 1447, "name": "Identifier", - "src": "37248:8:1" + "src": "38321:8:0" }, { "attributes": { @@ -56699,14 +56699,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1956, + "id": 1448, "name": "Literal", - "src": "37260:1:1" + "src": "38333:1:0" } ], - "id": 1957, + "id": 1449, "name": "BinaryOperation", - "src": "37248:13:1" + "src": "38321:13:0" }, { "children": [ @@ -56731,7 +56731,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], @@ -56750,7 +56750,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56759,23 +56759,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1958, + "id": 1450, "name": "Identifier", - "src": "37314:3:1" + "src": "38388:3:0" } ], - "id": 1961, + "id": 1453, "name": "MemberAccess", - "src": "37314:12:1" + "src": "38388:12:0" } ], - "id": 1962, + "id": 1454, "name": "MemberAccess", - "src": "37314:17:1" + "src": "38388:17:0" }, { "attributes": { @@ -56808,54 +56808,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "type(struct EnumerableMap.MapEntry storage pointer)", "value": "MapEntry" }, - "id": 1963, + "id": 1455, "name": "Identifier", - "src": "37332:8:1" + "src": "38406:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1964, + "id": 1456, "name": "Identifier", - "src": "37349:3:1" + "src": "38423:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1965, + "id": 1457, "name": "Identifier", - "src": "37362:5:1" + "src": "38436:5:0" } ], - "id": 1966, + "id": 1458, "name": "FunctionCall", - "src": "37332:38:1" + "src": "38406:38:0" } ], - "id": 1967, + "id": 1459, "name": "FunctionCall", - "src": "37314:57:1" + "src": "38388:57:0" } ], - "id": 1968, + "id": 1460, "name": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "children": [ @@ -56885,7 +56885,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56894,36 +56894,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1969, + "id": 1461, "name": "Identifier", - "src": "37506:3:1" + "src": "38583:3:0" } ], - "id": 1972, + "id": 1464, "name": "MemberAccess", - "src": "37506:12:1" + "src": "38583:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1971, + "id": 1463, "name": "Identifier", - "src": "37519:3:1" + "src": "38596:3:0" } ], - "id": 1973, + "id": 1465, "name": "IndexAccess", - "src": "37506:17:1" + "src": "38583:17:0" }, { "attributes": { @@ -56942,7 +56942,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56951,37 +56951,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1974, + "id": 1466, "name": "Identifier", - "src": "37526:3:1" + "src": "38603:3:0" } ], - "id": 1975, + "id": 1467, "name": "MemberAccess", - "src": "37526:12:1" + "src": "38603:12:0" } ], - "id": 1976, + "id": 1468, "name": "MemberAccess", - "src": "37526:19:1" + "src": "38603:19:0" } ], - "id": 1977, + "id": 1469, "name": "Assignment", - "src": "37506:39:1" + "src": "38583:39:0" } ], - "id": 1978, + "id": 1470, "name": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -56995,19 +56995,19 @@ "type": "bool", "value": "true" }, - "id": 1979, + "id": 1471, "name": "Literal", - "src": "37566:4:1" + "src": "38644:4:0" } ], - "id": 1980, + "id": 1472, "name": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ], - "id": 1981, + "id": 1473, "name": "Block", - "src": "37263:318:1" + "src": "38336:324:0" }, { "children": [ @@ -57030,7 +57030,7 @@ "isPure": false, "lValueRequested": true, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -57050,7 +57050,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57059,18 +57059,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1982, + "id": 1474, "name": "Identifier", - "src": "37601:3:1" + "src": "38681:3:0" } ], - "id": 1987, + "id": 1479, "name": "MemberAccess", - "src": "37601:12:1" + "src": "38681:12:0" }, { "attributes": { @@ -57091,13 +57091,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1984, + "id": 1476, "name": "Identifier", - "src": "37614:8:1" + "src": "38694:8:0" }, { "attributes": { @@ -57110,51 +57110,51 @@ "type": "int_const 1", "value": "1" }, - "id": 1985, + "id": 1477, "name": "Literal", - "src": "37625:1:1" + "src": "38705:1:0" } ], - "id": 1986, + "id": 1478, "name": "BinaryOperation", - "src": "37614:12:1" + "src": "38694:12:0" } ], - "id": 1988, + "id": 1480, "name": "IndexAccess", - "src": "37601:26:1" + "src": "38681:26:0" } ], - "id": 1989, + "id": 1481, "name": "MemberAccess", - "src": "37601:33:1" + "src": "38681:33:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1990, + "id": 1482, "name": "Identifier", - "src": "37637:5:1" + "src": "38717:5:0" } ], - "id": 1991, + "id": 1483, "name": "Assignment", - "src": "37601:41:1" + "src": "38681:41:0" } ], - "id": 1992, + "id": 1484, "name": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -57168,34 +57168,34 @@ "type": "bool", "value": "false" }, - "id": 1993, + "id": 1485, "name": "Literal", - "src": "37663:5:1" + "src": "38744:5:0" } ], - "id": 1994, + "id": 1486, "name": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ], - "id": 1995, + "id": 1487, "name": "Block", - "src": "37587:92:1" + "src": "38666:95:0" } ], - "id": 1996, + "id": 1488, "name": "IfStatement", - "src": "37244:435:1" + "src": "38317:444:0" } ], - "id": 1997, + "id": 1489, "name": "Block", - "src": "37089:596:1" + "src": "38158:610:0" } ], - "id": 1998, + "id": 1490, "name": "FunctionDefinition", - "src": "37007:678:1" + "src": "38076:692:0" }, { "attributes": { @@ -57206,7 +57206,7 @@ null ], "name": "_remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -57216,9 +57216,9 @@ "attributes": { "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 1999, + "id": 1491, "name": "StructuredDocumentation", - "src": "37691:157:1" + "src": "38776:161:0" }, { "children": [ @@ -57227,7 +57227,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -57237,24 +57237,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2000, + "id": 1492, "name": "UserDefinedTypeName", - "src": "37870:3:1" + "src": "38960:3:0" } ], - "id": 2001, + "id": 1493, "name": "VariableDeclaration", - "src": "37870:15:1" + "src": "38960:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -57266,19 +57266,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2002, + "id": 1494, "name": "ElementaryTypeName", - "src": "37887:7:1" + "src": "38977:7:0" } ], - "id": 2003, + "id": 1495, "name": "VariableDeclaration", - "src": "37887:11:1" + "src": "38977:11:0" } ], - "id": 2004, + "id": 1496, "name": "ParameterList", - "src": "37869:30:1" + "src": "38959:30:0" }, { "children": [ @@ -57287,7 +57287,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -57299,26 +57299,26 @@ "name": "bool", "type": "bool" }, - "id": 2005, + "id": 1497, "name": "ElementaryTypeName", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2006, + "id": 1498, "name": "VariableDeclaration", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2007, + "id": 1499, "name": "ParameterList", - "src": "37916:6:1" + "src": "39006:6:0" }, { "children": [ { "attributes": { "assignments": [ - 2009 + 1501 ] }, "children": [ @@ -57327,7 +57327,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2078, + "scope": 1570, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57339,14 +57339,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2008, + "id": 1500, "name": "ElementaryTypeName", - "src": "38031:7:1" + "src": "39123:7:0" } ], - "id": 2009, + "id": 1501, "name": "VariableDeclaration", - "src": "38031:16:1" + "src": "39123:16:0" }, { "attributes": { @@ -57364,7 +57364,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57373,41 +57373,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2010, + "id": 1502, "name": "Identifier", - "src": "38050:3:1" + "src": "39142:3:0" } ], - "id": 2011, + "id": 1503, "name": "MemberAccess", - "src": "38050:12:1" + "src": "39142:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2012, + "id": 1504, "name": "Identifier", - "src": "38063:3:1" + "src": "39155:3:0" } ], - "id": 2013, + "id": 1505, "name": "IndexAccess", - "src": "38050:17:1" + "src": "39142:17:0" } ], - "id": 2014, + "id": 1506, "name": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "children": [ @@ -57430,13 +57430,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2015, + "id": 1507, "name": "Identifier", - "src": "38082:8:1" + "src": "39176:8:0" }, { "attributes": { @@ -57449,21 +57449,21 @@ "type": "int_const 0", "value": "0" }, - "id": 2016, + "id": 1508, "name": "Literal", - "src": "38094:1:1" + "src": "39188:1:0" } ], - "id": 2017, + "id": 1509, "name": "BinaryOperation", - "src": "38082:13:1" + "src": "39176:13:0" }, { "children": [ { "attributes": { "assignments": [ - 2019 + 1511 ] }, "children": [ @@ -57472,7 +57472,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57484,14 +57484,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2018, + "id": 1510, "name": "ElementaryTypeName", - "src": "38438:7:1" + "src": "39537:7:0" } ], - "id": 2019, + "id": 1511, "name": "VariableDeclaration", - "src": "38438:21:1" + "src": "39537:21:0" }, { "attributes": { @@ -57512,13 +57512,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2020, + "id": 1512, "name": "Identifier", - "src": "38462:8:1" + "src": "39561:8:0" }, { "attributes": { @@ -57531,24 +57531,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2021, + "id": 1513, "name": "Literal", - "src": "38473:1:1" + "src": "39572:1:0" } ], - "id": 2022, + "id": 1514, "name": "BinaryOperation", - "src": "38462:12:1" + "src": "39561:12:0" } ], - "id": 2023, + "id": 1515, "name": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "attributes": { "assignments": [ - 2025 + 1517 ] }, "children": [ @@ -57557,7 +57557,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57569,14 +57569,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2024, + "id": 1516, "name": "ElementaryTypeName", - "src": "38488:7:1" + "src": "39588:7:0" } ], - "id": 2025, + "id": 1517, "name": "VariableDeclaration", - "src": "38488:17:1" + "src": "39588:17:0" }, { "attributes": { @@ -57609,7 +57609,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57618,23 +57618,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2026, + "id": 1518, "name": "Identifier", - "src": "38508:3:1" + "src": "39608:3:0" } ], - "id": 2027, + "id": 1519, "name": "MemberAccess", - "src": "38508:12:1" + "src": "39608:12:0" } ], - "id": 2028, + "id": 1520, "name": "MemberAccess", - "src": "38508:19:1" + "src": "39608:19:0" }, { "attributes": { @@ -57647,24 +57647,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2029, + "id": 1521, "name": "Literal", - "src": "38530:1:1" + "src": "39630:1:0" } ], - "id": 2030, + "id": 1522, "name": "BinaryOperation", - "src": "38508:23:1" + "src": "39608:23:0" } ], - "id": 2031, + "id": 1523, "name": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "attributes": { "assignments": [ - 2033 + 1525 ] }, "children": [ @@ -57673,7 +57673,7 @@ "constant": false, "mutability": "mutable", "name": "lastEntry", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -57683,17 +57683,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2032, + "id": 1524, "name": "UserDefinedTypeName", - "src": "38771:8:1" + "src": "39876:8:0" } ], - "id": 2033, + "id": 1525, "name": "VariableDeclaration", - "src": "38771:26:1" + "src": "39876:26:0" }, { "attributes": { @@ -57711,7 +57711,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57720,41 +57720,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2034, + "id": 1526, "name": "Identifier", - "src": "38800:3:1" + "src": "39905:3:0" } ], - "id": 2035, + "id": 1527, "name": "MemberAccess", - "src": "38800:12:1" + "src": "39905:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2025, + "referencedDeclaration": 1517, "type": "uint256", "value": "lastIndex" }, - "id": 2036, + "id": 1528, "name": "Identifier", - "src": "38813:9:1" + "src": "39918:9:0" } ], - "id": 2037, + "id": 1529, "name": "IndexAccess", - "src": "38800:23:1" + "src": "39905:23:0" } ], - "id": 2038, + "id": 1530, "name": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "children": [ @@ -57784,7 +57784,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57793,59 +57793,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2039, + "id": 1531, "name": "Identifier", - "src": "38915:3:1" + "src": "40023:3:0" } ], - "id": 2042, + "id": 1534, "name": "MemberAccess", - "src": "38915:12:1" + "src": "40023:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2041, + "id": 1533, "name": "Identifier", - "src": "38928:13:1" + "src": "40036:13:0" } ], - "id": 2043, + "id": 1535, "name": "IndexAccess", - "src": "38915:27:1" + "src": "40023:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2044, + "id": 1536, "name": "Identifier", - "src": "38945:9:1" + "src": "40053:9:0" } ], - "id": 2045, + "id": 1537, "name": "Assignment", - "src": "38915:39:1" + "src": "40023:39:0" } ], - "id": 2046, + "id": 1538, "name": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "children": [ @@ -57875,7 +57875,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57884,18 +57884,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2047, + "id": 1539, "name": "Identifier", - "src": "39020:3:1" + "src": "40130:3:0" } ], - "id": 2051, + "id": 1543, "name": "MemberAccess", - "src": "39020:12:1" + "src": "40130:12:0" }, { "attributes": { @@ -57904,7 +57904,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -57913,23 +57913,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2049, + "id": 1541, "name": "Identifier", - "src": "39033:9:1" + "src": "40143:9:0" } ], - "id": 2050, + "id": 1542, "name": "MemberAccess", - "src": "39033:14:1" + "src": "40143:14:0" } ], - "id": 2052, + "id": 1544, "name": "IndexAccess", - "src": "39020:28:1" + "src": "40130:28:0" }, { "attributes": { @@ -57950,13 +57950,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2053, + "id": 1545, "name": "Identifier", - "src": "39051:13:1" + "src": "40161:13:0" }, { "attributes": { @@ -57969,24 +57969,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2054, + "id": 1546, "name": "Literal", - "src": "39067:1:1" + "src": "40177:1:0" } ], - "id": 2055, + "id": 1547, "name": "BinaryOperation", - "src": "39051:17:1" + "src": "40161:17:0" } ], - "id": 2056, + "id": 1548, "name": "Assignment", - "src": "39020:48:1" + "src": "40130:48:0" } ], - "id": 2057, + "id": 1549, "name": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "children": [ @@ -58028,7 +58028,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58037,33 +58037,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2058, + "id": 1550, "name": "Identifier", - "src": "39174:3:1" + "src": "40287:3:0" } ], - "id": 2061, + "id": 1553, "name": "MemberAccess", - "src": "39174:12:1" + "src": "40287:12:0" } ], - "id": 2062, + "id": 1554, "name": "MemberAccess", - "src": "39174:16:1" + "src": "40287:16:0" } ], - "id": 2063, + "id": 1555, "name": "FunctionCall", - "src": "39174:18:1" + "src": "40287:18:0" } ], - "id": 2064, + "id": 1556, "name": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "children": [ @@ -58094,7 +58094,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58103,50 +58103,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2065, + "id": 1557, "name": "Identifier", - "src": "39267:3:1" + "src": "40383:3:0" } ], - "id": 2066, + "id": 1558, "name": "MemberAccess", - "src": "39267:12:1" + "src": "40383:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2067, + "id": 1559, "name": "Identifier", - "src": "39280:3:1" + "src": "40396:3:0" } ], - "id": 2068, + "id": 1560, "name": "IndexAccess", - "src": "39267:17:1" + "src": "40383:17:0" } ], - "id": 2069, + "id": 1561, "name": "UnaryOperation", - "src": "39260:24:1" + "src": "40376:24:0" } ], - "id": 2070, + "id": 1562, "name": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -58160,25 +58160,25 @@ "type": "bool", "value": "true" }, - "id": 2071, + "id": 1563, "name": "Literal", - "src": "39306:4:1" + "src": "40424:4:0" } ], - "id": 2072, + "id": 1564, "name": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ], - "id": 2073, + "id": 1565, "name": "Block", - "src": "38097:1224:1" + "src": "39191:1249:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -58192,34 +58192,34 @@ "type": "bool", "value": "false" }, - "id": 2074, + "id": 1566, "name": "Literal", - "src": "39348:5:1" + "src": "40468:5:0" } ], - "id": 2075, + "id": 1567, "name": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ], - "id": 2076, + "id": 1568, "name": "Block", - "src": "39327:37:1" + "src": "40446:39:0" } ], - "id": 2077, + "id": 1569, "name": "IfStatement", - "src": "38078:1286:1" + "src": "39172:1313:0" } ], - "id": 2078, + "id": 1570, "name": "Block", - "src": "37923:1447:1" + "src": "39013:1479:0" } ], - "id": 2079, + "id": 1571, "name": "FunctionDefinition", - "src": "37853:1517:1" + "src": "38943:1549:0" }, { "attributes": { @@ -58230,7 +58230,7 @@ null ], "name": "_contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58240,9 +58240,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2080, + "id": 1572, "name": "StructuredDocumentation", - "src": "39376:68:1" + "src": "40500:70:0" }, { "children": [ @@ -58251,7 +58251,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58261,24 +58261,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2081, + "id": 1573, "name": "UserDefinedTypeName", - "src": "39468:3:1" + "src": "40595:3:0" } ], - "id": 2082, + "id": 1574, "name": "VariableDeclaration", - "src": "39468:15:1" + "src": "40595:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58290,19 +58290,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2083, + "id": 1575, "name": "ElementaryTypeName", - "src": "39485:7:1" + "src": "40612:7:0" } ], - "id": 2084, + "id": 1576, "name": "VariableDeclaration", - "src": "39485:11:1" + "src": "40612:11:0" } ], - "id": 2085, + "id": 1577, "name": "ParameterList", - "src": "39467:30:1" + "src": "40594:30:0" }, { "children": [ @@ -58311,7 +58311,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -58323,25 +58323,25 @@ "name": "bool", "type": "bool" }, - "id": 2086, + "id": 1578, "name": "ElementaryTypeName", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2087, + "id": 1579, "name": "VariableDeclaration", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2088, + "id": 1580, "name": "ParameterList", - "src": "39519:6:1" + "src": "40646:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2088 + "functionReturnParameters": 1580 }, "children": [ { @@ -58374,7 +58374,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58383,36 +58383,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2082, + "referencedDeclaration": 1574, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2089, + "id": 1581, "name": "Identifier", - "src": "39543:3:1" + "src": "40671:3:0" } ], - "id": 2090, + "id": 1582, "name": "MemberAccess", - "src": "39543:12:1" + "src": "40671:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2084, + "referencedDeclaration": 1576, "type": "bytes32", "value": "key" }, - "id": 2091, + "id": 1583, "name": "Identifier", - "src": "39556:3:1" + "src": "40684:3:0" } ], - "id": 2092, + "id": 1584, "name": "IndexAccess", - "src": "39543:17:1" + "src": "40671:17:0" }, { "attributes": { @@ -58425,29 +58425,29 @@ "type": "int_const 0", "value": "0" }, - "id": 2093, + "id": 1585, "name": "Literal", - "src": "39564:1:1" + "src": "40692:1:0" } ], - "id": 2094, + "id": 1586, "name": "BinaryOperation", - "src": "39543:22:1" + "src": "40671:22:0" } ], - "id": 2095, + "id": 1587, "name": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ], - "id": 2096, + "id": 1588, "name": "Block", - "src": "39526:46:1" + "src": "40653:48:0" } ], - "id": 2097, + "id": 1589, "name": "FunctionDefinition", - "src": "39449:123:1" + "src": "40576:125:0" }, { "attributes": { @@ -58458,7 +58458,7 @@ null ], "name": "_length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58468,9 +58468,9 @@ "attributes": { "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2098, + "id": 1590, "name": "StructuredDocumentation", - "src": "39578:79:1" + "src": "40709:81:0" }, { "children": [ @@ -58479,7 +58479,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58489,22 +58489,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2099, + "id": 1591, "name": "UserDefinedTypeName", - "src": "39679:3:1" + "src": "40813:3:0" } ], - "id": 2100, + "id": 1592, "name": "VariableDeclaration", - "src": "39679:15:1" + "src": "40813:15:0" } ], - "id": 2101, + "id": 1593, "name": "ParameterList", - "src": "39678:17:1" + "src": "40812:17:0" }, { "children": [ @@ -58513,7 +58513,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58525,25 +58525,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2102, + "id": 1594, "name": "ElementaryTypeName", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2103, + "id": 1595, "name": "VariableDeclaration", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2104, + "id": 1596, "name": "ParameterList", - "src": "39717:9:1" + "src": "40851:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2104 + "functionReturnParameters": 1596 }, "children": [ { @@ -58563,7 +58563,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58572,38 +58572,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2100, + "referencedDeclaration": 1592, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2105, + "id": 1597, "name": "Identifier", - "src": "39744:3:1" + "src": "40879:3:0" } ], - "id": 2106, + "id": 1598, "name": "MemberAccess", - "src": "39744:12:1" + "src": "40879:12:0" } ], - "id": 2107, + "id": 1599, "name": "MemberAccess", - "src": "39744:19:1" + "src": "40879:19:0" } ], - "id": 2108, + "id": 1600, "name": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ], - "id": 2109, + "id": 1601, "name": "Block", - "src": "39727:43:1" + "src": "40861:45:0" } ], - "id": 2110, + "id": 1602, "name": "FunctionDefinition", - "src": "39662:108:1" + "src": "40796:110:0" }, { "attributes": { @@ -58614,7 +58614,7 @@ null ], "name": "_at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58624,9 +58624,9 @@ "attributes": { "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2111, + "id": 1603, "name": "StructuredDocumentation", - "src": "39775:333:1" + "src": "40913:342:0" }, { "children": [ @@ -58635,7 +58635,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58645,24 +58645,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2112, + "id": 1604, "name": "UserDefinedTypeName", - "src": "40126:3:1" + "src": "41274:3:0" } ], - "id": 2113, + "id": 1605, "name": "VariableDeclaration", - "src": "40126:15:1" + "src": "41274:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58674,19 +58674,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2114, + "id": 1606, "name": "ElementaryTypeName", - "src": "40143:7:1" + "src": "41291:7:0" } ], - "id": 2115, + "id": 1607, "name": "VariableDeclaration", - "src": "40143:13:1" + "src": "41291:13:0" } ], - "id": 2116, + "id": 1608, "name": "ParameterList", - "src": "40125:32:1" + "src": "41273:32:0" }, { "children": [ @@ -58695,7 +58695,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58707,21 +58707,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2117, + "id": 1609, "name": "ElementaryTypeName", - "src": "40180:7:1" + "src": "41328:7:0" } ], - "id": 2118, + "id": 1610, "name": "VariableDeclaration", - "src": "40180:7:1" + "src": "41328:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58733,19 +58733,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2119, + "id": 1611, "name": "ElementaryTypeName", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2120, + "id": 1612, "name": "VariableDeclaration", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2121, + "id": 1613, "name": "ParameterList", - "src": "40179:18:1" + "src": "41327:18:0" }, { "children": [ @@ -58786,9 +58786,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2122, + "id": 1614, "name": "Identifier", - "src": "40208:7:1" + "src": "41357:7:0" }, { "attributes": { @@ -58821,7 +58821,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58830,41 +58830,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2123, + "id": 1615, "name": "Identifier", - "src": "40216:3:1" + "src": "41365:3:0" } ], - "id": 2124, + "id": 1616, "name": "MemberAccess", - "src": "40216:12:1" + "src": "41365:12:0" } ], - "id": 2125, + "id": 1617, "name": "MemberAccess", - "src": "40216:19:1" + "src": "41365:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2126, + "id": 1618, "name": "Identifier", - "src": "40238:5:1" + "src": "41387:5:0" } ], - "id": 2127, + "id": 1619, "name": "BinaryOperation", - "src": "40216:27:1" + "src": "41365:27:0" }, { "attributes": { @@ -58877,24 +58877,24 @@ "type": "literal_string \"EnumerableMap: index out of bounds\"", "value": "EnumerableMap: index out of bounds" }, - "id": 2128, + "id": 1620, "name": "Literal", - "src": "40245:36:1" + "src": "41394:36:0" } ], - "id": 2129, + "id": 1621, "name": "FunctionCall", - "src": "40208:74:1" + "src": "41357:74:0" } ], - "id": 2130, + "id": 1622, "name": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "attributes": { "assignments": [ - 2132 + 1624 ] }, "children": [ @@ -58903,7 +58903,7 @@ "constant": false, "mutability": "mutable", "name": "entry", - "scope": 2144, + "scope": 1636, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -58913,17 +58913,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2131, + "id": 1623, "name": "UserDefinedTypeName", - "src": "40293:8:1" + "src": "41444:8:0" } ], - "id": 2132, + "id": 1624, "name": "VariableDeclaration", - "src": "40293:22:1" + "src": "41444:22:0" }, { "attributes": { @@ -58941,7 +58941,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58950,45 +58950,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2133, + "id": 1625, "name": "Identifier", - "src": "40318:3:1" + "src": "41469:3:0" } ], - "id": 2134, + "id": 1626, "name": "MemberAccess", - "src": "40318:12:1" + "src": "41469:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2135, + "id": 1627, "name": "Identifier", - "src": "40331:5:1" + "src": "41482:5:0" } ], - "id": 2136, + "id": 1628, "name": "IndexAccess", - "src": "40318:19:1" + "src": "41469:19:0" } ], - "id": 2137, + "id": 1629, "name": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "attributes": { - "functionReturnParameters": 2121 + "functionReturnParameters": 1613 }, "children": [ { @@ -59008,7 +59008,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -59017,18 +59017,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2138, + "id": 1630, "name": "Identifier", - "src": "40355:5:1" + "src": "41507:5:0" } ], - "id": 2139, + "id": 1631, "name": "MemberAccess", - "src": "40355:10:1" + "src": "41507:10:0" }, { "attributes": { @@ -59037,7 +59037,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59046,38 +59046,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2140, + "id": 1632, "name": "Identifier", - "src": "40367:5:1" + "src": "41519:5:0" } ], - "id": 2141, + "id": 1633, "name": "MemberAccess", - "src": "40367:12:1" + "src": "41519:12:0" } ], - "id": 2142, + "id": 1634, "name": "TupleExpression", - "src": "40354:26:1" + "src": "41506:26:0" } ], - "id": 2143, + "id": 1635, "name": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ], - "id": 2144, + "id": 1636, "name": "Block", - "src": "40198:189:1" + "src": "41346:194:0" } ], - "id": 2145, + "id": 1637, "name": "FunctionDefinition", - "src": "40113:274:1" + "src": "41261:279:0" }, { "attributes": { @@ -59088,7 +59088,7 @@ null ], "name": "_tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59098,9 +59098,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2146, + "id": 1638, "name": "StructuredDocumentation", - "src": "40393:131:1" + "src": "41548:134:0" }, { "children": [ @@ -59109,7 +59109,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59119,24 +59119,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2147, + "id": 1639, "name": "UserDefinedTypeName", - "src": "40546:3:1" + "src": "41705:3:0" } ], - "id": 2148, + "id": 1640, "name": "VariableDeclaration", - "src": "40546:15:1" + "src": "41705:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59148,19 +59148,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2149, + "id": 1641, "name": "ElementaryTypeName", - "src": "40563:7:1" + "src": "41722:7:0" } ], - "id": 2150, + "id": 1642, "name": "VariableDeclaration", - "src": "40563:11:1" + "src": "41722:11:0" } ], - "id": 2151, + "id": 1643, "name": "ParameterList", - "src": "40545:30:1" + "src": "41704:30:0" }, { "children": [ @@ -59169,7 +59169,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -59181,21 +59181,21 @@ "name": "bool", "type": "bool" }, - "id": 2152, + "id": 1644, "name": "ElementaryTypeName", - "src": "40598:4:1" + "src": "41757:4:0" } ], - "id": 2153, + "id": 1645, "name": "VariableDeclaration", - "src": "40598:4:1" + "src": "41757:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59207,26 +59207,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2154, + "id": 1646, "name": "ElementaryTypeName", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2155, + "id": 1647, "name": "VariableDeclaration", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2156, + "id": 1648, "name": "ParameterList", - "src": "40597:15:1" + "src": "41756:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2158 + 1650 ] }, "children": [ @@ -59235,7 +59235,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2182, + "scope": 1674, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59247,14 +59247,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2157, + "id": 1649, "name": "ElementaryTypeName", - "src": "40623:7:1" + "src": "41783:7:0" } ], - "id": 2158, + "id": 1650, "name": "VariableDeclaration", - "src": "40623:16:1" + "src": "41783:16:0" }, { "attributes": { @@ -59272,7 +59272,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59281,41 +59281,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2159, + "id": 1651, "name": "Identifier", - "src": "40642:3:1" + "src": "41802:3:0" } ], - "id": 2160, + "id": 1652, "name": "MemberAccess", - "src": "40642:12:1" + "src": "41802:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2150, + "referencedDeclaration": 1642, "type": "bytes32", "value": "key" }, - "id": 2161, + "id": 1653, "name": "Identifier", - "src": "40655:3:1" + "src": "41815:3:0" } ], - "id": 2162, + "id": 1654, "name": "IndexAccess", - "src": "40642:17:1" + "src": "41802:17:0" } ], - "id": 2163, + "id": 1655, "name": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "attributes": {}, @@ -59339,13 +59339,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2164, + "id": 1656, "name": "Identifier", - "src": "40673:8:1" + "src": "41834:8:0" }, { "attributes": { @@ -59358,18 +59358,18 @@ "type": "int_const 0", "value": "0" }, - "id": 2165, + "id": 1657, "name": "Literal", - "src": "40685:1:1" + "src": "41846:1:0" } ], - "id": 2166, + "id": 1658, "name": "BinaryOperation", - "src": "40673:13:1" + "src": "41834:13:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59393,9 +59393,9 @@ "type": "bool", "value": "false" }, - "id": 2167, + "id": 1659, "name": "Literal", - "src": "40696:5:1" + "src": "41857:5:0" }, { "attributes": { @@ -59408,28 +59408,28 @@ "type": "int_const 0", "value": "0" }, - "id": 2168, + "id": 1660, "name": "Literal", - "src": "40703:1:1" + "src": "41864:1:0" } ], - "id": 2169, + "id": 1661, "name": "TupleExpression", - "src": "40695:10:1" + "src": "41856:10:0" } ], - "id": 2170, + "id": 1662, "name": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } ], - "id": 2171, + "id": 1663, "name": "IfStatement", - "src": "40669:36:1" + "src": "41830:36:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59453,9 +59453,9 @@ "type": "bool", "value": "true" }, - "id": 2172, + "id": 1664, "name": "Literal", - "src": "40759:4:1" + "src": "41921:4:0" }, { "attributes": { @@ -59464,7 +59464,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59484,7 +59484,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59493,18 +59493,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2173, + "id": 1665, "name": "Identifier", - "src": "40765:3:1" + "src": "41927:3:0" } ], - "id": 2174, + "id": 1666, "name": "MemberAccess", - "src": "40765:12:1" + "src": "41927:12:0" }, { "attributes": { @@ -59525,13 +59525,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2175, + "id": 1667, "name": "Identifier", - "src": "40778:8:1" + "src": "41940:8:0" }, { "attributes": { @@ -59544,44 +59544,44 @@ "type": "int_const 1", "value": "1" }, - "id": 2176, + "id": 1668, "name": "Literal", - "src": "40789:1:1" + "src": "41951:1:0" } ], - "id": 2177, + "id": 1669, "name": "BinaryOperation", - "src": "40778:12:1" + "src": "41940:12:0" } ], - "id": 2178, + "id": 1670, "name": "IndexAccess", - "src": "40765:26:1" + "src": "41927:26:0" } ], - "id": 2179, + "id": 1671, "name": "MemberAccess", - "src": "40765:33:1" + "src": "41927:33:0" } ], - "id": 2180, + "id": 1672, "name": "TupleExpression", - "src": "40758:41:1" + "src": "41920:41:0" } ], - "id": 2181, + "id": 1673, "name": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ], - "id": 2182, + "id": 1674, "name": "Block", - "src": "40613:220:1" + "src": "41772:224:0" } ], - "id": 2183, + "id": 1675, "name": "FunctionDefinition", - "src": "40529:304:1" + "src": "41688:308:0" }, { "attributes": { @@ -59592,7 +59592,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59602,9 +59602,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2184, + "id": 1676, "name": "StructuredDocumentation", - "src": "40839:141:1" + "src": "42004:147:0" }, { "children": [ @@ -59613,7 +59613,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59623,24 +59623,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2185, + "id": 1677, "name": "UserDefinedTypeName", - "src": "40999:3:1" + "src": "42171:3:0" } ], - "id": 2186, + "id": 1678, "name": "VariableDeclaration", - "src": "40999:15:1" + "src": "42171:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59652,19 +59652,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2187, + "id": 1679, "name": "ElementaryTypeName", - "src": "41016:7:1" + "src": "42188:7:0" } ], - "id": 2188, + "id": 1680, "name": "VariableDeclaration", - "src": "41016:11:1" + "src": "42188:11:0" } ], - "id": 2189, + "id": 1681, "name": "ParameterList", - "src": "40998:30:1" + "src": "42170:30:0" }, { "children": [ @@ -59673,7 +59673,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59685,26 +59685,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2190, + "id": 1682, "name": "ElementaryTypeName", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2191, + "id": 1683, "name": "VariableDeclaration", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2192, + "id": 1684, "name": "ParameterList", - "src": "41050:9:1" + "src": "42222:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2194 + 1686 ] }, "children": [ @@ -59713,7 +59713,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2215, + "scope": 1707, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59725,14 +59725,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2193, + "id": 1685, "name": "ElementaryTypeName", - "src": "41070:7:1" + "src": "42243:7:0" } ], - "id": 2194, + "id": 1686, "name": "VariableDeclaration", - "src": "41070:16:1" + "src": "42243:16:0" }, { "attributes": { @@ -59750,7 +59750,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59759,41 +59759,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2195, + "id": 1687, "name": "Identifier", - "src": "41089:3:1" + "src": "42262:3:0" } ], - "id": 2196, + "id": 1688, "name": "MemberAccess", - "src": "41089:12:1" + "src": "42262:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2188, + "referencedDeclaration": 1680, "type": "bytes32", "value": "key" }, - "id": 2197, + "id": 1689, "name": "Identifier", - "src": "41102:3:1" + "src": "42275:3:0" } ], - "id": 2198, + "id": 1690, "name": "IndexAccess", - "src": "41089:17:1" + "src": "42262:17:0" } ], - "id": 2199, + "id": 1691, "name": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "children": [ @@ -59832,9 +59832,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2200, + "id": 1692, "name": "Identifier", - "src": "41116:7:1" + "src": "42290:7:0" }, { "attributes": { @@ -59855,13 +59855,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2201, + "id": 1693, "name": "Identifier", - "src": "41124:8:1" + "src": "42298:8:0" }, { "attributes": { @@ -59874,14 +59874,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2202, + "id": 1694, "name": "Literal", - "src": "41136:1:1" + "src": "42310:1:0" } ], - "id": 2203, + "id": 1695, "name": "BinaryOperation", - "src": "41124:13:1" + "src": "42298:13:0" }, { "attributes": { @@ -59894,23 +59894,23 @@ "type": "literal_string \"EnumerableMap: nonexistent key\"", "value": "EnumerableMap: nonexistent key" }, - "id": 2204, + "id": 1696, "name": "Literal", - "src": "41139:32:1" + "src": "42313:32:0" } ], - "id": 2205, + "id": 1697, "name": "FunctionCall", - "src": "41116:56:1" + "src": "42290:56:0" } ], - "id": 2206, + "id": 1698, "name": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "attributes": { - "functionReturnParameters": 2192 + "functionReturnParameters": 1684 }, "children": [ { @@ -59920,7 +59920,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59940,7 +59940,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59949,18 +59949,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2207, + "id": 1699, "name": "Identifier", - "src": "41225:3:1" + "src": "42400:3:0" } ], - "id": 2208, + "id": 1700, "name": "MemberAccess", - "src": "41225:12:1" + "src": "42400:12:0" }, { "attributes": { @@ -59981,13 +59981,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2209, + "id": 1701, "name": "Identifier", - "src": "41238:8:1" + "src": "42413:8:0" }, { "attributes": { @@ -60000,39 +60000,39 @@ "type": "int_const 1", "value": "1" }, - "id": 2210, + "id": 1702, "name": "Literal", - "src": "41249:1:1" + "src": "42424:1:0" } ], - "id": 2211, + "id": 1703, "name": "BinaryOperation", - "src": "41238:12:1" + "src": "42413:12:0" } ], - "id": 2212, + "id": 1704, "name": "IndexAccess", - "src": "41225:26:1" + "src": "42400:26:0" } ], - "id": 2213, + "id": 1705, "name": "MemberAccess", - "src": "41225:33:1" + "src": "42400:33:0" } ], - "id": 2214, + "id": 1706, "name": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ], - "id": 2215, + "id": 1707, "name": "Block", - "src": "41060:232:1" + "src": "42232:236:0" } ], - "id": 2216, + "id": 1708, "name": "FunctionDefinition", - "src": "40985:307:1" + "src": "42157:311:0" }, { "attributes": { @@ -60043,7 +60043,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -60053,9 +60053,9 @@ "attributes": { "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2217, + "id": 1709, "name": "StructuredDocumentation", - "src": "41298:271:1" + "src": "42476:276:0" }, { "children": [ @@ -60064,7 +60064,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -60074,24 +60074,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2218, + "id": 1710, "name": "UserDefinedTypeName", - "src": "41588:3:1" + "src": "42772:3:0" } ], - "id": 2219, + "id": 1711, "name": "VariableDeclaration", - "src": "41588:15:1" + "src": "42772:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -60103,21 +60103,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2220, + "id": 1712, "name": "ElementaryTypeName", - "src": "41605:7:1" + "src": "42789:7:0" } ], - "id": 2221, + "id": 1713, "name": "VariableDeclaration", - "src": "41605:11:1" + "src": "42789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -60129,19 +60129,19 @@ "name": "string", "type": "string" }, - "id": 2222, + "id": 1714, "name": "ElementaryTypeName", - "src": "41618:6:1" + "src": "42802:6:0" } ], - "id": 2223, + "id": 1715, "name": "VariableDeclaration", - "src": "41618:26:1" + "src": "42802:26:0" } ], - "id": 2224, + "id": 1716, "name": "ParameterList", - "src": "41587:58:1" + "src": "42771:58:0" }, { "children": [ @@ -60150,7 +60150,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -60162,26 +60162,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2225, + "id": 1717, "name": "ElementaryTypeName", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2226, + "id": 1718, "name": "VariableDeclaration", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2227, + "id": 1719, "name": "ParameterList", - "src": "41667:9:1" + "src": "42851:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2229 + 1721 ] }, "children": [ @@ -60190,7 +60190,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2250, + "scope": 1742, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60202,14 +60202,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2228, + "id": 1720, "name": "ElementaryTypeName", - "src": "41687:7:1" + "src": "42872:7:0" } ], - "id": 2229, + "id": 1721, "name": "VariableDeclaration", - "src": "41687:16:1" + "src": "42872:16:0" }, { "attributes": { @@ -60227,7 +60227,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -60236,41 +60236,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2230, + "id": 1722, "name": "Identifier", - "src": "41706:3:1" + "src": "42891:3:0" } ], - "id": 2231, + "id": 1723, "name": "MemberAccess", - "src": "41706:12:1" + "src": "42891:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2221, + "referencedDeclaration": 1713, "type": "bytes32", "value": "key" }, - "id": 2232, + "id": 1724, "name": "Identifier", - "src": "41719:3:1" + "src": "42904:3:0" } ], - "id": 2233, + "id": 1725, "name": "IndexAccess", - "src": "41706:17:1" + "src": "42891:17:0" } ], - "id": 2234, + "id": 1726, "name": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "children": [ @@ -60309,9 +60309,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2235, + "id": 1727, "name": "Identifier", - "src": "41733:7:1" + "src": "42919:7:0" }, { "attributes": { @@ -60332,13 +60332,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2236, + "id": 1728, "name": "Identifier", - "src": "41741:8:1" + "src": "42927:8:0" }, { "attributes": { @@ -60351,41 +60351,41 @@ "type": "int_const 0", "value": "0" }, - "id": 2237, + "id": 1729, "name": "Literal", - "src": "41753:1:1" + "src": "42939:1:0" } ], - "id": 2238, + "id": 1730, "name": "BinaryOperation", - "src": "41741:13:1" + "src": "42927:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2223, + "referencedDeclaration": 1715, "type": "string memory", "value": "errorMessage" }, - "id": 2239, + "id": 1731, "name": "Identifier", - "src": "41756:12:1" + "src": "42942:12:0" } ], - "id": 2240, + "id": 1732, "name": "FunctionCall", - "src": "41733:36:1" + "src": "42919:36:0" } ], - "id": 2241, + "id": 1733, "name": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "attributes": { - "functionReturnParameters": 2227 + "functionReturnParameters": 1719 }, "children": [ { @@ -60395,7 +60395,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -60415,7 +60415,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -60424,18 +60424,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2242, + "id": 1734, "name": "Identifier", - "src": "41822:3:1" + "src": "43009:3:0" } ], - "id": 2243, + "id": 1735, "name": "MemberAccess", - "src": "41822:12:1" + "src": "43009:12:0" }, { "attributes": { @@ -60456,13 +60456,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2244, + "id": 1736, "name": "Identifier", - "src": "41835:8:1" + "src": "43022:8:0" }, { "attributes": { @@ -60475,45 +60475,45 @@ "type": "int_const 1", "value": "1" }, - "id": 2245, + "id": 1737, "name": "Literal", - "src": "41846:1:1" + "src": "43033:1:0" } ], - "id": 2246, + "id": 1738, "name": "BinaryOperation", - "src": "41835:12:1" + "src": "43022:12:0" } ], - "id": 2247, + "id": 1739, "name": "IndexAccess", - "src": "41822:26:1" + "src": "43009:26:0" } ], - "id": 2248, + "id": 1740, "name": "MemberAccess", - "src": "41822:33:1" + "src": "43009:33:0" } ], - "id": 2249, + "id": 1741, "name": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ], - "id": 2250, + "id": 1742, "name": "Block", - "src": "41677:212:1" + "src": "42861:216:0" } ], - "id": 2251, + "id": 1743, "name": "FunctionDefinition", - "src": "41574:315:1" + "src": "42758:319:0" }, { "attributes": { "canonicalName": "EnumerableMap.UintToAddressMap", "name": "UintToAddressMap", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -60522,7 +60522,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 2254, + "scope": 1746, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.Map", @@ -60532,22 +60532,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2252, + "id": 1744, "name": "UserDefinedTypeName", - "src": "41954:3:1" + "src": "43147:3:0" } ], - "id": 2253, + "id": 1745, "name": "VariableDeclaration", - "src": "41954:10:1" + "src": "43147:10:0" } ], - "id": 2254, + "id": 1746, "name": "StructDefinition", - "src": "41920:51:1" + "src": "43112:53:0" }, { "attributes": { @@ -60558,7 +60558,7 @@ null ], "name": "set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60568,9 +60568,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2255, + "id": 1747, "name": "StructuredDocumentation", - "src": "41977:216:1" + "src": "43173:222:0" }, { "children": [ @@ -60579,7 +60579,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60589,24 +60589,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2256, + "id": 1748, "name": "UserDefinedTypeName", - "src": "42211:16:1" + "src": "43414:16:0" } ], - "id": 2257, + "id": 1749, "name": "VariableDeclaration", - "src": "42211:28:1" + "src": "43414:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60618,21 +60618,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2258, + "id": 1750, "name": "ElementaryTypeName", - "src": "42241:7:1" + "src": "43444:7:0" } ], - "id": 2259, + "id": 1751, "name": "VariableDeclaration", - "src": "42241:11:1" + "src": "43444:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -60645,19 +60645,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2260, + "id": 1752, "name": "ElementaryTypeName", - "src": "42254:7:1" + "src": "43457:7:0" } ], - "id": 2261, + "id": 1753, "name": "VariableDeclaration", - "src": "42254:13:1" + "src": "43457:13:0" } ], - "id": 2262, + "id": 1754, "name": "ParameterList", - "src": "42210:58:1" + "src": "43413:58:0" }, { "children": [ @@ -60666,7 +60666,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60678,25 +60678,25 @@ "name": "bool", "type": "bool" }, - "id": 2263, + "id": 1755, "name": "ElementaryTypeName", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2264, + "id": 1756, "name": "VariableDeclaration", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2265, + "id": 1757, "name": "ParameterList", - "src": "42286:6:1" + "src": "43489:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2265 + "functionReturnParameters": 1757 }, "children": [ { @@ -60718,7 +60718,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60733,13 +60733,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1998, + "referencedDeclaration": 1490, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)", "value": "_set" }, - "id": 2266, + "id": 1758, "name": "Identifier", - "src": "42310:4:1" + "src": "43514:4:0" }, { "attributes": { @@ -60748,7 +60748,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60757,18 +60757,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2257, + "referencedDeclaration": 1749, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2267, + "id": 1759, "name": "Identifier", - "src": "42315:3:1" + "src": "43519:3:0" } ], - "id": 2268, + "id": 1760, "name": "MemberAccess", - "src": "42315:10:1" + "src": "43519:10:0" }, { "attributes": { @@ -60804,32 +60804,32 @@ "attributes": { "name": "bytes32" }, - "id": 2269, + "id": 1761, "name": "ElementaryTypeName", - "src": "42327:7:1" + "src": "43531:7:0" } ], - "id": 2270, + "id": 1762, "name": "ElementaryTypeNameExpression", - "src": "42327:7:1" + "src": "43531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2259, + "referencedDeclaration": 1751, "type": "uint256", "value": "key" }, - "id": 2271, + "id": 1763, "name": "Identifier", - "src": "42335:3:1" + "src": "43539:3:0" } ], - "id": 2272, + "id": 1764, "name": "FunctionCall", - "src": "42327:12:1" + "src": "43531:12:0" }, { "attributes": { @@ -60865,14 +60865,14 @@ "attributes": { "name": "bytes32" }, - "id": 2273, + "id": 1765, "name": "ElementaryTypeName", - "src": "42341:7:1" + "src": "43545:7:0" } ], - "id": 2274, + "id": 1766, "name": "ElementaryTypeNameExpression", - "src": "42341:7:1" + "src": "43545:7:0" }, { "attributes": { @@ -60908,14 +60908,14 @@ "attributes": { "name": "uint256" }, - "id": 2275, + "id": 1767, "name": "ElementaryTypeName", - "src": "42349:7:1" + "src": "43553:7:0" } ], - "id": 2276, + "id": 1768, "name": "ElementaryTypeNameExpression", - "src": "42349:7:1" + "src": "43553:7:0" }, { "attributes": { @@ -60951,62 +60951,62 @@ "attributes": { "name": "uint160" }, - "id": 2277, + "id": 1769, "name": "ElementaryTypeName", - "src": "42357:7:1" + "src": "43561:7:0" } ], - "id": 2278, + "id": 1770, "name": "ElementaryTypeNameExpression", - "src": "42357:7:1" + "src": "43561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2261, + "referencedDeclaration": 1753, "type": "address", "value": "value" }, - "id": 2279, + "id": 1771, "name": "Identifier", - "src": "42365:5:1" + "src": "43569:5:0" } ], - "id": 2280, + "id": 1772, "name": "FunctionCall", - "src": "42357:14:1" + "src": "43561:14:0" } ], - "id": 2281, + "id": 1773, "name": "FunctionCall", - "src": "42349:23:1" + "src": "43553:23:0" } ], - "id": 2282, + "id": 1774, "name": "FunctionCall", - "src": "42341:32:1" + "src": "43545:32:0" } ], - "id": 2283, + "id": 1775, "name": "FunctionCall", - "src": "42310:64:1" + "src": "43514:64:0" } ], - "id": 2284, + "id": 1776, "name": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ], - "id": 2285, + "id": 1777, "name": "Block", - "src": "42293:88:1" + "src": "43496:90:0" } ], - "id": 2286, + "id": 1778, "name": "FunctionDefinition", - "src": "42198:183:1" + "src": "43401:185:0" }, { "attributes": { @@ -61017,7 +61017,7 @@ null ], "name": "remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -61027,9 +61027,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2287, + "id": 1779, "name": "StructuredDocumentation", - "src": "42387:148:1" + "src": "43594:152:0" }, { "children": [ @@ -61038,7 +61038,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61048,24 +61048,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2288, + "id": 1780, "name": "UserDefinedTypeName", - "src": "42556:16:1" + "src": "43768:16:0" } ], - "id": 2289, + "id": 1781, "name": "VariableDeclaration", - "src": "42556:28:1" + "src": "43768:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61077,19 +61077,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2290, + "id": 1782, "name": "ElementaryTypeName", - "src": "42586:7:1" + "src": "43798:7:0" } ], - "id": 2291, + "id": 1783, "name": "VariableDeclaration", - "src": "42586:11:1" + "src": "43798:11:0" } ], - "id": 2292, + "id": 1784, "name": "ParameterList", - "src": "42555:43:1" + "src": "43767:43:0" }, { "children": [ @@ -61098,7 +61098,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -61110,25 +61110,25 @@ "name": "bool", "type": "bool" }, - "id": 2293, + "id": 1785, "name": "ElementaryTypeName", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2294, + "id": 1786, "name": "VariableDeclaration", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2295, + "id": 1787, "name": "ParameterList", - "src": "42616:6:1" + "src": "43828:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2295 + "functionReturnParameters": 1787 }, "children": [ { @@ -61150,7 +61150,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61161,13 +61161,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2079, + "referencedDeclaration": 1571, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 2296, + "id": 1788, "name": "Identifier", - "src": "42640:7:1" + "src": "43853:7:0" }, { "attributes": { @@ -61176,7 +61176,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61185,18 +61185,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2289, + "referencedDeclaration": 1781, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2297, + "id": 1789, "name": "Identifier", - "src": "42648:3:1" + "src": "43861:3:0" } ], - "id": 2298, + "id": 1790, "name": "MemberAccess", - "src": "42648:10:1" + "src": "43861:10:0" }, { "attributes": { @@ -61232,52 +61232,52 @@ "attributes": { "name": "bytes32" }, - "id": 2299, + "id": 1791, "name": "ElementaryTypeName", - "src": "42660:7:1" + "src": "43873:7:0" } ], - "id": 2300, + "id": 1792, "name": "ElementaryTypeNameExpression", - "src": "42660:7:1" + "src": "43873:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2291, + "referencedDeclaration": 1783, "type": "uint256", "value": "key" }, - "id": 2301, + "id": 1793, "name": "Identifier", - "src": "42668:3:1" + "src": "43881:3:0" } ], - "id": 2302, + "id": 1794, "name": "FunctionCall", - "src": "42660:12:1" + "src": "43873:12:0" } ], - "id": 2303, + "id": 1795, "name": "FunctionCall", - "src": "42640:33:1" + "src": "43853:33:0" } ], - "id": 2304, + "id": 1796, "name": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ], - "id": 2305, + "id": 1797, "name": "Block", - "src": "42623:57:1" + "src": "43835:59:0" } ], - "id": 2306, + "id": 1798, "name": "FunctionDefinition", - "src": "42540:140:1" + "src": "43752:142:0" }, { "attributes": { @@ -61288,7 +61288,7 @@ null ], "name": "contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61298,9 +61298,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2307, + "id": 1799, "name": "StructuredDocumentation", - "src": "42686:68:1" + "src": "43902:70:0" }, { "children": [ @@ -61309,7 +61309,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61319,24 +61319,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2308, + "id": 1800, "name": "UserDefinedTypeName", - "src": "42777:16:1" + "src": "43996:16:0" } ], - "id": 2309, + "id": 1801, "name": "VariableDeclaration", - "src": "42777:28:1" + "src": "43996:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61348,19 +61348,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2310, + "id": 1802, "name": "ElementaryTypeName", - "src": "42807:7:1" + "src": "44026:7:0" } ], - "id": 2311, + "id": 1803, "name": "VariableDeclaration", - "src": "42807:11:1" + "src": "44026:11:0" } ], - "id": 2312, + "id": 1804, "name": "ParameterList", - "src": "42776:43:1" + "src": "43995:43:0" }, { "children": [ @@ -61369,7 +61369,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -61381,25 +61381,25 @@ "name": "bool", "type": "bool" }, - "id": 2313, + "id": 1805, "name": "ElementaryTypeName", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2314, + "id": 1806, "name": "VariableDeclaration", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2315, + "id": 1807, "name": "ParameterList", - "src": "42842:6:1" + "src": "44061:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2315 + "functionReturnParameters": 1807 }, "children": [ { @@ -61421,7 +61421,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61432,13 +61432,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2097, + "referencedDeclaration": 1589, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 2316, + "id": 1808, "name": "Identifier", - "src": "42866:9:1" + "src": "44086:9:0" }, { "attributes": { @@ -61447,7 +61447,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61456,18 +61456,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2309, + "referencedDeclaration": 1801, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2317, + "id": 1809, "name": "Identifier", - "src": "42876:3:1" + "src": "44096:3:0" } ], - "id": 2318, + "id": 1810, "name": "MemberAccess", - "src": "42876:10:1" + "src": "44096:10:0" }, { "attributes": { @@ -61503,52 +61503,52 @@ "attributes": { "name": "bytes32" }, - "id": 2319, + "id": 1811, "name": "ElementaryTypeName", - "src": "42888:7:1" + "src": "44108:7:0" } ], - "id": 2320, + "id": 1812, "name": "ElementaryTypeNameExpression", - "src": "42888:7:1" + "src": "44108:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2311, + "referencedDeclaration": 1803, "type": "uint256", "value": "key" }, - "id": 2321, + "id": 1813, "name": "Identifier", - "src": "42896:3:1" + "src": "44116:3:0" } ], - "id": 2322, + "id": 1814, "name": "FunctionCall", - "src": "42888:12:1" + "src": "44108:12:0" } ], - "id": 2323, + "id": 1815, "name": "FunctionCall", - "src": "42866:35:1" + "src": "44086:35:0" } ], - "id": 2324, + "id": 1816, "name": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ], - "id": 2325, + "id": 1817, "name": "Block", - "src": "42849:59:1" + "src": "44068:61:0" } ], - "id": 2326, + "id": 1818, "name": "FunctionDefinition", - "src": "42759:149:1" + "src": "43978:151:0" }, { "attributes": { @@ -61559,7 +61559,7 @@ null ], "name": "length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61569,9 +61569,9 @@ "attributes": { "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2327, + "id": 1819, "name": "StructuredDocumentation", - "src": "42914:72:1" + "src": "44137:74:0" }, { "children": [ @@ -61580,7 +61580,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61590,22 +61590,22 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2328, + "id": 1820, "name": "UserDefinedTypeName", - "src": "43007:16:1" + "src": "44233:16:0" } ], - "id": 2329, + "id": 1821, "name": "VariableDeclaration", - "src": "43007:28:1" + "src": "44233:28:0" } ], - "id": 2330, + "id": 1822, "name": "ParameterList", - "src": "43006:30:1" + "src": "44232:30:0" }, { "children": [ @@ -61614,7 +61614,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61626,25 +61626,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2331, + "id": 1823, "name": "ElementaryTypeName", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2332, + "id": 1824, "name": "VariableDeclaration", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2333, + "id": 1825, "name": "ParameterList", - "src": "43059:9:1" + "src": "44285:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2333 + "functionReturnParameters": 1825 }, "children": [ { @@ -61666,20 +61666,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 2110, + "referencedDeclaration": 1602, "type": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)", "value": "_length" }, - "id": 2334, + "id": 1826, "name": "Identifier", - "src": "43086:7:1" + "src": "44313:7:0" }, { "attributes": { @@ -61688,7 +61688,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61697,38 +61697,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2329, + "referencedDeclaration": 1821, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2335, + "id": 1827, "name": "Identifier", - "src": "43094:3:1" + "src": "44321:3:0" } ], - "id": 2336, + "id": 1828, "name": "MemberAccess", - "src": "43094:10:1" + "src": "44321:10:0" } ], - "id": 2337, + "id": 1829, "name": "FunctionCall", - "src": "43086:19:1" + "src": "44313:19:0" } ], - "id": 2338, + "id": 1830, "name": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ], - "id": 2339, + "id": 1831, "name": "Block", - "src": "43069:43:1" + "src": "44295:45:0" } ], - "id": 2340, + "id": 1832, "name": "FunctionDefinition", - "src": "42991:121:1" + "src": "44217:123:0" }, { "attributes": { @@ -61739,7 +61739,7 @@ null ], "name": "at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61749,9 +61749,9 @@ "attributes": { "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2341, + "id": 1833, "name": "StructuredDocumentation", - "src": "43117:318:1" + "src": "44347:326:0" }, { "children": [ @@ -61760,7 +61760,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61770,24 +61770,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2342, + "id": 1834, "name": "UserDefinedTypeName", - "src": "43452:16:1" + "src": "44691:16:0" } ], - "id": 2343, + "id": 1835, "name": "VariableDeclaration", - "src": "43452:28:1" + "src": "44691:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61799,19 +61799,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2344, + "id": 1836, "name": "ElementaryTypeName", - "src": "43482:7:1" + "src": "44721:7:0" } ], - "id": 2345, + "id": 1837, "name": "VariableDeclaration", - "src": "43482:13:1" + "src": "44721:13:0" } ], - "id": 2346, + "id": 1838, "name": "ParameterList", - "src": "43451:45:1" + "src": "44690:45:0" }, { "children": [ @@ -61820,7 +61820,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61832,21 +61832,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2347, + "id": 1839, "name": "ElementaryTypeName", - "src": "43520:7:1" + "src": "44759:7:0" } ], - "id": 2348, + "id": 1840, "name": "VariableDeclaration", - "src": "43520:7:1" + "src": "44759:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -61859,27 +61859,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2349, + "id": 1841, "name": "ElementaryTypeName", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2350, + "id": 1842, "name": "VariableDeclaration", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2351, + "id": 1843, "name": "ParameterList", - "src": "43519:18:1" + "src": "44758:18:0" }, { "children": [ { "attributes": { "assignments": [ - 2353, - 2355 + 1845, + 1847 ] }, "children": [ @@ -61888,7 +61888,7 @@ "constant": false, "mutability": "mutable", "name": "key", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61900,21 +61900,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2352, + "id": 1844, "name": "ElementaryTypeName", - "src": "43549:7:1" + "src": "44789:7:0" } ], - "id": 2353, + "id": 1845, "name": "VariableDeclaration", - "src": "43549:11:1" + "src": "44789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61926,14 +61926,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2354, + "id": 1846, "name": "ElementaryTypeName", - "src": "43562:7:1" + "src": "44802:7:0" } ], - "id": 2355, + "id": 1847, "name": "VariableDeclaration", - "src": "43562:13:1" + "src": "44802:13:0" }, { "attributes": { @@ -61954,7 +61954,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61965,13 +61965,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2145, + "referencedDeclaration": 1637, "type": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)", "value": "_at" }, - "id": 2356, + "id": 1848, "name": "Identifier", - "src": "43579:3:1" + "src": "44819:3:0" }, { "attributes": { @@ -61980,7 +61980,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61989,45 +61989,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2343, + "referencedDeclaration": 1835, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2357, + "id": 1849, "name": "Identifier", - "src": "43583:3:1" + "src": "44823:3:0" } ], - "id": 2358, + "id": 1850, "name": "MemberAccess", - "src": "43583:10:1" + "src": "44823:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2345, + "referencedDeclaration": 1837, "type": "uint256", "value": "index" }, - "id": 2359, + "id": 1851, "name": "Identifier", - "src": "43595:5:1" + "src": "44835:5:0" } ], - "id": 2360, + "id": 1852, "name": "FunctionCall", - "src": "43579:22:1" + "src": "44819:22:0" } ], - "id": 2361, + "id": 1853, "name": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "attributes": { - "functionReturnParameters": 2351 + "functionReturnParameters": 1843 }, "children": [ { @@ -62074,32 +62074,32 @@ "attributes": { "name": "uint256" }, - "id": 2362, + "id": 1854, "name": "ElementaryTypeName", - "src": "43619:7:1" + "src": "44860:7:0" } ], - "id": 2363, + "id": 1855, "name": "ElementaryTypeNameExpression", - "src": "43619:7:1" + "src": "44860:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2353, + "referencedDeclaration": 1845, "type": "bytes32", "value": "key" }, - "id": 2364, + "id": 1856, "name": "Identifier", - "src": "43627:3:1" + "src": "44868:3:0" } ], - "id": 2365, + "id": 1857, "name": "FunctionCall", - "src": "43619:12:1" + "src": "44860:12:0" }, { "attributes": { @@ -62135,14 +62135,14 @@ "attributes": { "name": "address" }, - "id": 2366, + "id": 1858, "name": "ElementaryTypeName", - "src": "43633:7:1" + "src": "44874:7:0" } ], - "id": 2367, + "id": 1859, "name": "ElementaryTypeNameExpression", - "src": "43633:7:1" + "src": "44874:7:0" }, { "attributes": { @@ -62178,14 +62178,14 @@ "attributes": { "name": "uint160" }, - "id": 2368, + "id": 1860, "name": "ElementaryTypeName", - "src": "43641:7:1" + "src": "44882:7:0" } ], - "id": 2369, + "id": 1861, "name": "ElementaryTypeNameExpression", - "src": "43641:7:1" + "src": "44882:7:0" }, { "attributes": { @@ -62221,62 +62221,62 @@ "attributes": { "name": "uint256" }, - "id": 2370, + "id": 1862, "name": "ElementaryTypeName", - "src": "43649:7:1" + "src": "44890:7:0" } ], - "id": 2371, + "id": 1863, "name": "ElementaryTypeNameExpression", - "src": "43649:7:1" + "src": "44890:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2355, + "referencedDeclaration": 1847, "type": "bytes32", "value": "value" }, - "id": 2372, + "id": 1864, "name": "Identifier", - "src": "43657:5:1" + "src": "44898:5:0" } ], - "id": 2373, + "id": 1865, "name": "FunctionCall", - "src": "43649:14:1" + "src": "44890:14:0" } ], - "id": 2374, + "id": 1866, "name": "FunctionCall", - "src": "43641:23:1" + "src": "44882:23:0" } ], - "id": 2375, + "id": 1867, "name": "FunctionCall", - "src": "43633:32:1" + "src": "44874:32:0" } ], - "id": 2376, + "id": 1868, "name": "TupleExpression", - "src": "43618:48:1" + "src": "44859:48:0" } ], - "id": 2377, + "id": 1869, "name": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ], - "id": 2378, + "id": 1870, "name": "Block", - "src": "43538:135:1" + "src": "44777:138:0" } ], - "id": 2379, + "id": 1871, "name": "FunctionDefinition", - "src": "43440:233:1" + "src": "44679:236:0" }, { "attributes": { @@ -62287,7 +62287,7 @@ null ], "name": "tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62297,9 +62297,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2380, + "id": 1872, "name": "StructuredDocumentation", - "src": "43679:169:1" + "src": "44923:174:0" }, { "children": [ @@ -62308,7 +62308,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62318,24 +62318,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2381, + "id": 1873, "name": "UserDefinedTypeName", - "src": "43869:16:1" + "src": "45119:16:0" } ], - "id": 2382, + "id": 1874, "name": "VariableDeclaration", - "src": "43869:28:1" + "src": "45119:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62347,19 +62347,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2383, + "id": 1875, "name": "ElementaryTypeName", - "src": "43899:7:1" + "src": "45149:7:0" } ], - "id": 2384, + "id": 1876, "name": "VariableDeclaration", - "src": "43899:11:1" + "src": "45149:11:0" } ], - "id": 2385, + "id": 1877, "name": "ParameterList", - "src": "43868:43:1" + "src": "45118:43:0" }, { "children": [ @@ -62368,7 +62368,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62380,21 +62380,21 @@ "name": "bool", "type": "bool" }, - "id": 2386, + "id": 1878, "name": "ElementaryTypeName", - "src": "43935:4:1" + "src": "45185:4:0" } ], - "id": 2387, + "id": 1879, "name": "VariableDeclaration", - "src": "43935:4:1" + "src": "45185:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62407,27 +62407,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2388, + "id": 1880, "name": "ElementaryTypeName", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2389, + "id": 1881, "name": "VariableDeclaration", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2390, + "id": 1882, "name": "ParameterList", - "src": "43934:15:1" + "src": "45184:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2392, - 2394 + 1884, + 1886 ] }, "children": [ @@ -62436,7 +62436,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62448,21 +62448,21 @@ "name": "bool", "type": "bool" }, - "id": 2391, + "id": 1883, "name": "ElementaryTypeName", - "src": "43961:4:1" + "src": "45212:4:0" } ], - "id": 2392, + "id": 1884, "name": "VariableDeclaration", - "src": "43961:12:1" + "src": "45212:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -62474,14 +62474,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2393, + "id": 1885, "name": "ElementaryTypeName", - "src": "43975:7:1" + "src": "45226:7:0" } ], - "id": 2394, + "id": 1886, "name": "VariableDeclaration", - "src": "43975:13:1" + "src": "45226:13:0" }, { "attributes": { @@ -62502,7 +62502,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62513,13 +62513,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2183, + "referencedDeclaration": 1675, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)", "value": "_tryGet" }, - "id": 2395, + "id": 1887, "name": "Identifier", - "src": "43992:7:1" + "src": "45243:7:0" }, { "attributes": { @@ -62528,7 +62528,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62537,18 +62537,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2382, + "referencedDeclaration": 1874, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2396, + "id": 1888, "name": "Identifier", - "src": "44000:3:1" + "src": "45251:3:0" } ], - "id": 2397, + "id": 1889, "name": "MemberAccess", - "src": "44000:10:1" + "src": "45251:10:0" }, { "attributes": { @@ -62584,46 +62584,46 @@ "attributes": { "name": "bytes32" }, - "id": 2398, + "id": 1890, "name": "ElementaryTypeName", - "src": "44012:7:1" + "src": "45263:7:0" } ], - "id": 2399, + "id": 1891, "name": "ElementaryTypeNameExpression", - "src": "44012:7:1" + "src": "45263:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2384, + "referencedDeclaration": 1876, "type": "uint256", "value": "key" }, - "id": 2400, + "id": 1892, "name": "Identifier", - "src": "44020:3:1" + "src": "45271:3:0" } ], - "id": 2401, + "id": 1893, "name": "FunctionCall", - "src": "44012:12:1" + "src": "45263:12:0" } ], - "id": 2402, + "id": 1894, "name": "FunctionCall", - "src": "43992:33:1" + "src": "45243:33:0" } ], - "id": 2403, + "id": 1895, "name": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "attributes": { - "functionReturnParameters": 2390 + "functionReturnParameters": 1882 }, "children": [ { @@ -62641,13 +62641,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2392, + "referencedDeclaration": 1884, "type": "bool", "value": "success" }, - "id": 2404, + "id": 1896, "name": "Identifier", - "src": "44043:7:1" + "src": "45295:7:0" }, { "attributes": { @@ -62683,14 +62683,14 @@ "attributes": { "name": "address" }, - "id": 2405, + "id": 1897, "name": "ElementaryTypeName", - "src": "44052:7:1" + "src": "45304:7:0" } ], - "id": 2406, + "id": 1898, "name": "ElementaryTypeNameExpression", - "src": "44052:7:1" + "src": "45304:7:0" }, { "attributes": { @@ -62726,14 +62726,14 @@ "attributes": { "name": "uint160" }, - "id": 2407, + "id": 1899, "name": "ElementaryTypeName", - "src": "44060:7:1" + "src": "45312:7:0" } ], - "id": 2408, + "id": 1900, "name": "ElementaryTypeNameExpression", - "src": "44060:7:1" + "src": "45312:7:0" }, { "attributes": { @@ -62769,62 +62769,62 @@ "attributes": { "name": "uint256" }, - "id": 2409, + "id": 1901, "name": "ElementaryTypeName", - "src": "44068:7:1" + "src": "45320:7:0" } ], - "id": 2410, + "id": 1902, "name": "ElementaryTypeNameExpression", - "src": "44068:7:1" + "src": "45320:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2394, + "referencedDeclaration": 1886, "type": "bytes32", "value": "value" }, - "id": 2411, + "id": 1903, "name": "Identifier", - "src": "44076:5:1" + "src": "45328:5:0" } ], - "id": 2412, + "id": 1904, "name": "FunctionCall", - "src": "44068:14:1" + "src": "45320:14:0" } ], - "id": 2413, + "id": 1905, "name": "FunctionCall", - "src": "44060:23:1" + "src": "45312:23:0" } ], - "id": 2414, + "id": 1906, "name": "FunctionCall", - "src": "44052:32:1" + "src": "45304:32:0" } ], - "id": 2415, + "id": 1907, "name": "TupleExpression", - "src": "44042:43:1" + "src": "45294:43:0" } ], - "id": 2416, + "id": 1908, "name": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ], - "id": 2417, + "id": 1909, "name": "Block", - "src": "43950:142:1" + "src": "45200:145:0" } ], - "id": 2418, + "id": 1910, "name": "FunctionDefinition", - "src": "43853:239:1" + "src": "45103:242:0" }, { "attributes": { @@ -62835,7 +62835,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62845,9 +62845,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2419, + "id": 1911, "name": "StructuredDocumentation", - "src": "44098:141:1" + "src": "45353:147:0" }, { "children": [ @@ -62856,7 +62856,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62866,24 +62866,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2420, + "id": 1912, "name": "UserDefinedTypeName", - "src": "44257:16:1" + "src": "45519:16:0" } ], - "id": 2421, + "id": 1913, "name": "VariableDeclaration", - "src": "44257:28:1" + "src": "45519:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62895,19 +62895,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2422, + "id": 1914, "name": "ElementaryTypeName", - "src": "44287:7:1" + "src": "45549:7:0" } ], - "id": 2423, + "id": 1915, "name": "VariableDeclaration", - "src": "44287:11:1" + "src": "45549:11:0" } ], - "id": 2424, + "id": 1916, "name": "ParameterList", - "src": "44256:43:1" + "src": "45518:43:0" }, { "children": [ @@ -62916,7 +62916,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62929,25 +62929,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2425, + "id": 1917, "name": "ElementaryTypeName", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2426, + "id": 1918, "name": "VariableDeclaration", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2427, + "id": 1919, "name": "ParameterList", - "src": "44322:9:1" + "src": "45584:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2427 + "functionReturnParameters": 1919 }, "children": [ { @@ -62984,14 +62984,14 @@ "attributes": { "name": "address" }, - "id": 2428, + "id": 1920, "name": "ElementaryTypeName", - "src": "44349:7:1" + "src": "45612:7:0" } ], - "id": 2429, + "id": 1921, "name": "ElementaryTypeNameExpression", - "src": "44349:7:1" + "src": "45612:7:0" }, { "attributes": { @@ -63027,14 +63027,14 @@ "attributes": { "name": "uint160" }, - "id": 2430, + "id": 1922, "name": "ElementaryTypeName", - "src": "44357:7:1" + "src": "45620:7:0" } ], - "id": 2431, + "id": 1923, "name": "ElementaryTypeNameExpression", - "src": "44357:7:1" + "src": "45620:7:0" }, { "attributes": { @@ -63070,14 +63070,14 @@ "attributes": { "name": "uint256" }, - "id": 2432, + "id": 1924, "name": "ElementaryTypeName", - "src": "44365:7:1" + "src": "45628:7:0" } ], - "id": 2433, + "id": 1925, "name": "ElementaryTypeNameExpression", - "src": "44365:7:1" + "src": "45628:7:0" }, { "attributes": { @@ -63098,7 +63098,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -63107,16 +63107,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, + "referencedDeclaration": 1708, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)", "value": "_get" }, - "id": 2434, + "id": 1926, "name": "Identifier", - "src": "44373:4:1" + "src": "45636:4:0" }, { "attributes": { @@ -63125,7 +63125,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -63134,18 +63134,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2421, + "referencedDeclaration": 1913, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2435, + "id": 1927, "name": "Identifier", - "src": "44378:3:1" + "src": "45641:3:0" } ], - "id": 2436, + "id": 1928, "name": "MemberAccess", - "src": "44378:10:1" + "src": "45641:10:0" }, { "attributes": { @@ -63181,67 +63181,67 @@ "attributes": { "name": "bytes32" }, - "id": 2437, + "id": 1929, "name": "ElementaryTypeName", - "src": "44390:7:1" + "src": "45653:7:0" } ], - "id": 2438, + "id": 1930, "name": "ElementaryTypeNameExpression", - "src": "44390:7:1" + "src": "45653:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2423, + "referencedDeclaration": 1915, "type": "uint256", "value": "key" }, - "id": 2439, + "id": 1931, "name": "Identifier", - "src": "44398:3:1" + "src": "45661:3:0" } ], - "id": 2440, + "id": 1932, "name": "FunctionCall", - "src": "44390:12:1" + "src": "45653:12:0" } ], - "id": 2441, + "id": 1933, "name": "FunctionCall", - "src": "44373:30:1" + "src": "45636:30:0" } ], - "id": 2442, + "id": 1934, "name": "FunctionCall", - "src": "44365:39:1" + "src": "45628:39:0" } ], - "id": 2443, + "id": 1935, "name": "FunctionCall", - "src": "44357:48:1" + "src": "45620:48:0" } ], - "id": 2444, + "id": 1936, "name": "FunctionCall", - "src": "44349:57:1" + "src": "45612:57:0" } ], - "id": 2445, + "id": 1937, "name": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ], - "id": 2446, + "id": 1938, "name": "Block", - "src": "44332:81:1" + "src": "45594:83:0" } ], - "id": 2447, + "id": 1939, "name": "FunctionDefinition", - "src": "44244:169:1" + "src": "45506:171:0" }, { "attributes": { @@ -63252,7 +63252,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -63262,9 +63262,9 @@ "attributes": { "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2448, + "id": 1940, "name": "StructuredDocumentation", - "src": "44419:269:1" + "src": "45685:274:0" }, { "children": [ @@ -63273,7 +63273,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -63283,24 +63283,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2449, + "id": 1941, "name": "UserDefinedTypeName", - "src": "44706:16:1" + "src": "45978:16:0" } ], - "id": 2450, + "id": 1942, "name": "VariableDeclaration", - "src": "44706:28:1" + "src": "45978:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63312,21 +63312,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2451, + "id": 1943, "name": "ElementaryTypeName", - "src": "44736:7:1" + "src": "46008:7:0" } ], - "id": 2452, + "id": 1944, "name": "VariableDeclaration", - "src": "44736:11:1" + "src": "46008:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63338,19 +63338,19 @@ "name": "string", "type": "string" }, - "id": 2453, + "id": 1945, "name": "ElementaryTypeName", - "src": "44749:6:1" + "src": "46021:6:0" } ], - "id": 2454, + "id": 1946, "name": "VariableDeclaration", - "src": "44749:26:1" + "src": "46021:26:0" } ], - "id": 2455, + "id": 1947, "name": "ParameterList", - "src": "44705:71:1" + "src": "45977:71:0" }, { "children": [ @@ -63359,7 +63359,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -63372,25 +63372,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2456, + "id": 1948, "name": "ElementaryTypeName", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2457, + "id": 1949, "name": "VariableDeclaration", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2458, + "id": 1950, "name": "ParameterList", - "src": "44799:9:1" + "src": "46071:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2458 + "functionReturnParameters": 1950 }, "children": [ { @@ -63427,14 +63427,14 @@ "attributes": { "name": "address" }, - "id": 2459, + "id": 1951, "name": "ElementaryTypeName", - "src": "44826:7:1" + "src": "46099:7:0" } ], - "id": 2460, + "id": 1952, "name": "ElementaryTypeNameExpression", - "src": "44826:7:1" + "src": "46099:7:0" }, { "attributes": { @@ -63470,14 +63470,14 @@ "attributes": { "name": "uint160" }, - "id": 2461, + "id": 1953, "name": "ElementaryTypeName", - "src": "44834:7:1" + "src": "46107:7:0" } ], - "id": 2462, + "id": 1954, "name": "ElementaryTypeNameExpression", - "src": "44834:7:1" + "src": "46107:7:0" }, { "attributes": { @@ -63513,14 +63513,14 @@ "attributes": { "name": "uint256" }, - "id": 2463, + "id": 1955, "name": "ElementaryTypeName", - "src": "44842:7:1" + "src": "46115:7:0" } ], - "id": 2464, + "id": 1956, "name": "ElementaryTypeNameExpression", - "src": "44842:7:1" + "src": "46115:7:0" }, { "attributes": { @@ -63541,7 +63541,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -63554,16 +63554,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, + "referencedDeclaration": 1743, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)", "value": "_get" }, - "id": 2465, + "id": 1957, "name": "Identifier", - "src": "44850:4:1" + "src": "46123:4:0" }, { "attributes": { @@ -63572,7 +63572,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -63581,18 +63581,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2450, + "referencedDeclaration": 1942, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2466, + "id": 1958, "name": "Identifier", - "src": "44855:3:1" + "src": "46128:3:0" } ], - "id": 2467, + "id": 1959, "name": "MemberAccess", - "src": "44855:10:1" + "src": "46128:10:0" }, { "attributes": { @@ -63628,85 +63628,85 @@ "attributes": { "name": "bytes32" }, - "id": 2468, + "id": 1960, "name": "ElementaryTypeName", - "src": "44867:7:1" + "src": "46140:7:0" } ], - "id": 2469, + "id": 1961, "name": "ElementaryTypeNameExpression", - "src": "44867:7:1" + "src": "46140:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2452, + "referencedDeclaration": 1944, "type": "uint256", "value": "key" }, - "id": 2470, + "id": 1962, "name": "Identifier", - "src": "44875:3:1" + "src": "46148:3:0" } ], - "id": 2471, + "id": 1963, "name": "FunctionCall", - "src": "44867:12:1" + "src": "46140:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2454, + "referencedDeclaration": 1946, "type": "string memory", "value": "errorMessage" }, - "id": 2472, + "id": 1964, "name": "Identifier", - "src": "44881:12:1" + "src": "46154:12:0" } ], - "id": 2473, + "id": 1965, "name": "FunctionCall", - "src": "44850:44:1" + "src": "46123:44:0" } ], - "id": 2474, + "id": 1966, "name": "FunctionCall", - "src": "44842:53:1" + "src": "46115:53:0" } ], - "id": 2475, + "id": 1967, "name": "FunctionCall", - "src": "44834:62:1" + "src": "46107:62:0" } ], - "id": 2476, + "id": 1968, "name": "FunctionCall", - "src": "44826:71:1" + "src": "46099:71:0" } ], - "id": 2477, + "id": 1969, "name": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ], - "id": 2478, + "id": 1970, "name": "Block", - "src": "44809:95:1" + "src": "46081:97:0" } ], - "id": 2479, + "id": 1971, "name": "FunctionDefinition", - "src": "44693:211:1" + "src": "45965:213:0" } ], - "id": 2480, + "id": 1972, "name": "ContractDefinition", - "src": "35943:8963:1" + "src": "36981:9200:0" }, { "attributes": { @@ -63720,9 +63720,9 @@ ".0" ] }, - "id": 2481, + "id": 1973, "name": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "attributes": { @@ -63736,19 +63736,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev String operations." }, - "id": 2482, + "id": 1974, "name": "StructuredDocumentation", - "src": "44992:34:1" + "src": "46272:36:0" }, { "attributes": { @@ -63759,7 +63759,7 @@ null ], "name": "toString", - "scope": 2566, + "scope": 2058, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -63769,9 +63769,9 @@ "attributes": { "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2483, + "id": 1975, "name": "StructuredDocumentation", - "src": "45049:82:1" + "src": "46333:84:0" }, { "children": [ @@ -63780,7 +63780,7 @@ "constant": false, "mutability": "mutable", "name": "value", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63792,19 +63792,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2484, + "id": 1976, "name": "ElementaryTypeName", - "src": "45154:7:1" + "src": "46441:7:0" } ], - "id": 2485, + "id": 1977, "name": "VariableDeclaration", - "src": "45154:13:1" + "src": "46441:13:0" } ], - "id": 2486, + "id": 1978, "name": "ParameterList", - "src": "45153:15:1" + "src": "46440:15:0" }, { "children": [ @@ -63813,7 +63813,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63825,19 +63825,19 @@ "name": "string", "type": "string" }, - "id": 2487, + "id": 1979, "name": "ElementaryTypeName", - "src": "45192:6:1" + "src": "46479:6:0" } ], - "id": 2488, + "id": 1980, "name": "VariableDeclaration", - "src": "45192:13:1" + "src": "46479:13:0" } ], - "id": 2489, + "id": 1981, "name": "ParameterList", - "src": "45191:15:1" + "src": "46478:15:0" }, { "children": [ @@ -63863,13 +63863,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2490, + "id": 1982, "name": "Identifier", - "src": "45409:5:1" + "src": "46700:5:0" }, { "attributes": { @@ -63882,20 +63882,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2491, + "id": 1983, "name": "Literal", - "src": "45418:1:1" + "src": "46709:1:0" } ], - "id": 2492, + "id": 1984, "name": "BinaryOperation", - "src": "45409:10:1" + "src": "46700:10:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -63909,29 +63909,29 @@ "type": "literal_string \"0\"", "value": "0" }, - "id": 2493, + "id": 1985, "name": "Literal", - "src": "45442:3:1" + "src": "46734:3:0" } ], - "id": 2494, + "id": 1986, "name": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ], - "id": 2495, + "id": 1987, "name": "Block", - "src": "45421:35:1" + "src": "46712:37:0" } ], - "id": 2496, + "id": 1988, "name": "IfStatement", - "src": "45405:51:1" + "src": "46696:53:0" }, { "attributes": { "assignments": [ - 2498 + 1990 ] }, "children": [ @@ -63940,7 +63940,7 @@ "constant": false, "mutability": "mutable", "name": "temp", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63952,37 +63952,37 @@ "name": "uint256", "type": "uint256" }, - "id": 2497, + "id": 1989, "name": "ElementaryTypeName", - "src": "45465:7:1" + "src": "46759:7:0" } ], - "id": 2498, + "id": 1990, "name": "VariableDeclaration", - "src": "45465:12:1" + "src": "46759:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2499, + "id": 1991, "name": "Identifier", - "src": "45480:5:1" + "src": "46774:5:0" } ], - "id": 2500, + "id": 1992, "name": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "attributes": { "assignments": [ - 2502 + 1994 ] }, "children": [ @@ -63991,7 +63991,7 @@ "constant": false, "mutability": "mutable", "name": "digits", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -64003,19 +64003,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2501, + "id": 1993, "name": "ElementaryTypeName", - "src": "45495:7:1" + "src": "46790:7:0" } ], - "id": 2502, + "id": 1994, "name": "VariableDeclaration", - "src": "45495:14:1" + "src": "46790:14:0" } ], - "id": 2503, + "id": 1995, "name": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "children": [ @@ -64038,13 +64038,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2504, + "id": 1996, "name": "Identifier", - "src": "45526:4:1" + "src": "46822:4:0" }, { "attributes": { @@ -64057,14 +64057,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2505, + "id": 1997, "name": "Literal", - "src": "45534:1:1" + "src": "46830:1:0" } ], - "id": 2506, + "id": 1998, "name": "BinaryOperation", - "src": "45526:9:1" + "src": "46822:9:0" }, { "children": [ @@ -64086,23 +64086,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2507, + "id": 1999, "name": "Identifier", - "src": "45551:6:1" + "src": "46848:6:0" } ], - "id": 2508, + "id": 2000, "name": "UnaryOperation", - "src": "45551:8:1" + "src": "46848:8:0" } ], - "id": 2509, + "id": 2001, "name": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "children": [ @@ -64121,13 +64121,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2510, + "id": 2002, "name": "Identifier", - "src": "45573:4:1" + "src": "46871:4:0" }, { "attributes": { @@ -64140,34 +64140,34 @@ "type": "int_const 10", "value": "10" }, - "id": 2511, + "id": 2003, "name": "Literal", - "src": "45581:2:1" + "src": "46879:2:0" } ], - "id": 2512, + "id": 2004, "name": "Assignment", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2513, + "id": 2005, "name": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2514, + "id": 2006, "name": "Block", - "src": "45537:57:1" + "src": "46833:60:0" } ], - "id": 2515, + "id": 2007, "name": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "attributes": { "assignments": [ - 2517 + 2009 ] }, "children": [ @@ -64176,7 +64176,7 @@ "constant": false, "mutability": "mutable", "name": "buffer", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -64188,14 +64188,14 @@ "name": "bytes", "type": "bytes" }, - "id": 2516, + "id": 2008, "name": "ElementaryTypeName", - "src": "45603:5:1" + "src": "46903:5:0" } ], - "id": 2517, + "id": 2009, "name": "VariableDeclaration", - "src": "45603:19:1" + "src": "46903:19:0" }, { "attributes": { @@ -64232,42 +64232,42 @@ "name": "bytes", "type": "bytes" }, - "id": 2518, + "id": 2010, "name": "ElementaryTypeName", - "src": "45629:5:1" + "src": "46929:5:0" } ], - "id": 2519, + "id": 2011, "name": "NewExpression", - "src": "45625:9:1" + "src": "46925:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2520, + "id": 2012, "name": "Identifier", - "src": "45635:6:1" + "src": "46935:6:0" } ], - "id": 2521, + "id": 2013, "name": "FunctionCall", - "src": "45625:17:1" + "src": "46925:17:0" } ], - "id": 2522, + "id": 2014, "name": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "attributes": { "assignments": [ - 2524 + 2016 ] }, "children": [ @@ -64276,7 +64276,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -64288,14 +64288,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2523, + "id": 2015, "name": "ElementaryTypeName", - "src": "45652:7:1" + "src": "46953:7:0" } ], - "id": 2524, + "id": 2016, "name": "VariableDeclaration", - "src": "45652:13:1" + "src": "46953:13:0" }, { "attributes": { @@ -64316,13 +64316,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2525, + "id": 2017, "name": "Identifier", - "src": "45668:6:1" + "src": "46969:6:0" }, { "attributes": { @@ -64335,19 +64335,19 @@ "type": "int_const 1", "value": "1" }, - "id": 2526, + "id": 2018, "name": "Literal", - "src": "45677:1:1" + "src": "46978:1:0" } ], - "id": 2527, + "id": 2019, "name": "BinaryOperation", - "src": "45668:10:1" + "src": "46969:10:0" } ], - "id": 2528, + "id": 2020, "name": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "children": [ @@ -64366,36 +64366,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2529, + "id": 2021, "name": "Identifier", - "src": "45688:4:1" + "src": "46990:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2530, + "id": 2022, "name": "Identifier", - "src": "45695:5:1" + "src": "46997:5:0" } ], - "id": 2531, + "id": 2023, "name": "Assignment", - "src": "45688:12:1" + "src": "46990:12:0" } ], - "id": 2532, + "id": 2024, "name": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "children": [ @@ -64418,13 +64418,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2533, + "id": 2025, "name": "Identifier", - "src": "45717:4:1" + "src": "47020:4:0" }, { "attributes": { @@ -64437,14 +64437,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2534, + "id": 2026, "name": "Literal", - "src": "45725:1:1" + "src": "47028:1:0" } ], - "id": 2535, + "id": 2027, "name": "BinaryOperation", - "src": "45717:9:1" + "src": "47020:9:0" }, { "children": [ @@ -64474,13 +64474,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2536, + "id": 2028, "name": "Identifier", - "src": "45742:6:1" + "src": "47046:6:0" }, { "attributes": { @@ -64498,23 +64498,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2524, + "referencedDeclaration": 2016, "type": "uint256", "value": "index" }, - "id": 2537, + "id": 2029, "name": "Identifier", - "src": "45749:5:1" + "src": "47053:5:0" } ], - "id": 2538, + "id": 2030, "name": "UnaryOperation", - "src": "45749:7:1" + "src": "47053:7:0" } ], - "id": 2539, + "id": 2031, "name": "IndexAccess", - "src": "45742:15:1" + "src": "47046:15:0" }, { "attributes": { @@ -64550,14 +64550,14 @@ "attributes": { "name": "bytes1" }, - "id": 2540, + "id": 2032, "name": "ElementaryTypeName", - "src": "45760:6:1" + "src": "47064:6:0" } ], - "id": 2541, + "id": 2033, "name": "ElementaryTypeNameExpression", - "src": "45760:6:1" + "src": "47064:6:0" }, { "attributes": { @@ -64593,14 +64593,14 @@ "attributes": { "name": "uint8" }, - "id": 2542, + "id": 2034, "name": "ElementaryTypeName", - "src": "45767:5:1" + "src": "47071:5:0" } ], - "id": 2543, + "id": 2035, "name": "ElementaryTypeNameExpression", - "src": "45767:5:1" + "src": "47071:5:0" }, { "attributes": { @@ -64627,9 +64627,9 @@ "type": "int_const 48", "value": "48" }, - "id": 2544, + "id": 2036, "name": "Literal", - "src": "45773:2:1" + "src": "47077:2:0" }, { "attributes": { @@ -64650,13 +64650,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2545, + "id": 2037, "name": "Identifier", - "src": "45778:4:1" + "src": "47082:4:0" }, { "attributes": { @@ -64669,39 +64669,39 @@ "type": "int_const 10", "value": "10" }, - "id": 2546, + "id": 2038, "name": "Literal", - "src": "45785:2:1" + "src": "47089:2:0" } ], - "id": 2547, + "id": 2039, "name": "BinaryOperation", - "src": "45778:9:1" + "src": "47082:9:0" } ], - "id": 2548, + "id": 2040, "name": "BinaryOperation", - "src": "45773:14:1" + "src": "47077:14:0" } ], - "id": 2549, + "id": 2041, "name": "FunctionCall", - "src": "45767:21:1" + "src": "47071:21:0" } ], - "id": 2550, + "id": 2042, "name": "FunctionCall", - "src": "45760:29:1" + "src": "47064:29:0" } ], - "id": 2551, + "id": 2043, "name": "Assignment", - "src": "45742:47:1" + "src": "47046:47:0" } ], - "id": 2552, + "id": 2044, "name": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "children": [ @@ -64720,13 +64720,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2553, + "id": 2045, "name": "Identifier", - "src": "45803:4:1" + "src": "47108:4:0" }, { "attributes": { @@ -64739,33 +64739,33 @@ "type": "int_const 10", "value": "10" }, - "id": 2554, + "id": 2046, "name": "Literal", - "src": "45811:2:1" + "src": "47116:2:0" } ], - "id": 2555, + "id": 2047, "name": "Assignment", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2556, + "id": 2048, "name": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2557, + "id": 2049, "name": "Block", - "src": "45728:96:1" + "src": "47031:99:0" } ], - "id": 2558, + "id": 2050, "name": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -64802,52 +64802,52 @@ "attributes": { "name": "string" }, - "id": 2559, + "id": 2051, "name": "ElementaryTypeName", - "src": "45840:6:1" + "src": "47147:6:0" } ], - "id": 2560, + "id": 2052, "name": "ElementaryTypeNameExpression", - "src": "45840:6:1" + "src": "47147:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2561, + "id": 2053, "name": "Identifier", - "src": "45847:6:1" + "src": "47154:6:0" } ], - "id": 2562, + "id": 2054, "name": "FunctionCall", - "src": "45840:14:1" + "src": "47147:14:0" } ], - "id": 2563, + "id": 2055, "name": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ], - "id": 2564, + "id": 2056, "name": "Block", - "src": "45207:654:1" + "src": "46494:675:0" } ], - "id": 2565, + "id": 2057, "name": "FunctionDefinition", - "src": "45136:725:1" + "src": "46423:746:0" } ], - "id": 2566, + "id": 2058, "name": "ContractDefinition", - "src": "45027:836:1" + "src": "46310:862:0" }, { "attributes": { @@ -64861,43 +64861,43 @@ ".0" ] }, - "id": 2567, + "id": 2059, "name": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, - "id": 2568, + "id": 2060, "name": "StructuredDocumentation", - "src": "45955:124:1" + "src": "47269:127:0" }, { "attributes": {}, @@ -64905,17 +64905,17 @@ { "attributes": { "name": "Context", - "referencedDeclaration": 530, + "referencedDeclaration": 22, "type": "contract Context" }, - "id": 2569, + "id": 2061, "name": "UserDefinedTypeName", - "src": "46099:7:1" + "src": "47417:7:0" } ], - "id": 2570, + "id": 2062, "name": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "attributes": {}, @@ -64923,17 +64923,17 @@ { "attributes": { "name": "ERC165", - "referencedDeclaration": 781, + "referencedDeclaration": 273, "type": "contract ERC165" }, - "id": 2571, + "id": 2063, "name": "UserDefinedTypeName", - "src": "46108:6:1" + "src": "47426:6:0" } ], - "id": 2572, + "id": 2064, "name": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "attributes": {}, @@ -64941,17 +64941,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 2573, + "id": 2065, "name": "UserDefinedTypeName", - "src": "46116:7:1" + "src": "47434:7:0" } ], - "id": 2574, + "id": 2066, "name": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "attributes": {}, @@ -64959,17 +64959,17 @@ { "attributes": { "name": "IERC721Metadata", - "referencedDeclaration": 680, + "referencedDeclaration": 172, "type": "contract IERC721Metadata" }, - "id": 2575, + "id": 2067, "name": "UserDefinedTypeName", - "src": "46125:15:1" + "src": "47443:15:0" } ], - "id": 2576, + "id": 2068, "name": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "attributes": {}, @@ -64977,55 +64977,55 @@ { "attributes": { "name": "IERC721Enumerable", - "referencedDeclaration": 709, + "referencedDeclaration": 201, "type": "contract IERC721Enumerable" }, - "id": 2577, + "id": 2069, "name": "UserDefinedTypeName", - "src": "46142:17:1" + "src": "47460:17:0" } ], - "id": 2578, + "id": 2070, "name": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" }, { "children": [ { "attributes": { "name": "SafeMath", - "referencedDeclaration": 1135, + "referencedDeclaration": 627, "type": "library SafeMath" }, - "id": 2579, + "id": 2071, "name": "UserDefinedTypeName", - "src": "46172:8:1" + "src": "47491:8:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2580, + "id": 2072, "name": "ElementaryTypeName", - "src": "46185:7:1" + "src": "47504:7:0" } ], - "id": 2581, + "id": 2073, "name": "UsingForDirective", - "src": "46166:27:1" + "src": "47485:27:0" }, { "children": [ { "attributes": { "name": "Address", - "referencedDeclaration": 1430, + "referencedDeclaration": 922, "type": "library Address" }, - "id": 2582, + "id": 2074, "name": "UserDefinedTypeName", - "src": "46204:7:1" + "src": "47524:7:0" }, { "attributes": { @@ -65033,101 +65033,101 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2583, + "id": 2075, "name": "ElementaryTypeName", - "src": "46216:7:1" + "src": "47536:7:0" } ], - "id": 2584, + "id": 2076, "name": "UsingForDirective", - "src": "46198:26:1" + "src": "47518:26:0" }, { "children": [ { "attributes": { "name": "EnumerableSet", - "referencedDeclaration": 1921, + "referencedDeclaration": 1413, "type": "library EnumerableSet" }, - "id": 2585, + "id": 2077, "name": "UserDefinedTypeName", - "src": "46235:13:1" + "src": "47556:13:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2586, + "id": 2078, "name": "UserDefinedTypeName", - "src": "46253:21:1" + "src": "47574:21:0" } ], - "id": 2587, + "id": 2079, "name": "UsingForDirective", - "src": "46229:46:1" + "src": "47550:46:0" }, { "children": [ { "attributes": { "name": "EnumerableMap", - "referencedDeclaration": 2480, + "referencedDeclaration": 1972, "type": "library EnumerableMap" }, - "id": 2588, + "id": 2080, "name": "UserDefinedTypeName", - "src": "46286:13:1" + "src": "47608:13:0" }, { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2589, + "id": 2081, "name": "UserDefinedTypeName", - "src": "46304:30:1" + "src": "47626:30:0" } ], - "id": 2590, + "id": 2082, "name": "UsingForDirective", - "src": "46280:55:1" + "src": "47602:55:0" }, { "children": [ { "attributes": { "name": "Strings", - "referencedDeclaration": 2566, + "referencedDeclaration": 2058, "type": "library Strings" }, - "id": 2591, + "id": 2083, "name": "UserDefinedTypeName", - "src": "46346:7:1" + "src": "47669:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2592, + "id": 2084, "name": "ElementaryTypeName", - "src": "46358:7:1" + "src": "47681:7:0" } ], - "id": 2593, + "id": 2085, "name": "UsingForDirective", - "src": "46340:26:1" + "src": "47663:26:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_ERC721_RECEIVED", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65139,9 +65139,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2594, + "id": 2086, "name": "ElementaryTypeName", - "src": "46544:6:1" + "src": "47871:6:0" }, { "attributes": { @@ -65154,21 +65154,21 @@ "type": "int_const 353073666", "value": "0x150b7a02" }, - "id": 2595, + "id": 2087, "name": "Literal", - "src": "46587:10:1" + "src": "47914:10:0" } ], - "id": 2596, + "id": 2088, "name": "VariableDeclaration", - "src": "46544:53:1" + "src": "47871:53:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_holderTokens", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => struct EnumerableSet.UintSet)", @@ -65185,36 +65185,36 @@ "name": "address", "type": "address" }, - "id": 2597, + "id": 2089, "name": "ElementaryTypeName", - "src": "46690:7:1" + "src": "48020:7:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2598, + "id": 2090, "name": "UserDefinedTypeName", - "src": "46701:21:1" + "src": "48031:21:0" } ], - "id": 2599, + "id": 2091, "name": "Mapping", - "src": "46681:42:1" + "src": "48011:42:0" } ], - "id": 2600, + "id": 2092, "name": "VariableDeclaration", - "src": "46681:64:1" + "src": "48011:64:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenOwners", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "struct EnumerableMap.UintToAddressMap", @@ -65224,24 +65224,24 @@ { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2601, + "id": 2093, "name": "UserDefinedTypeName", - "src": "46809:30:1" + "src": "48142:30:0" } ], - "id": 2602, + "id": 2094, "name": "VariableDeclaration", - "src": "46809:51:1" + "src": "48142:51:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => address)", @@ -65258,9 +65258,9 @@ "name": "uint256", "type": "uint256" }, - "id": 2603, + "id": 2095, "name": "ElementaryTypeName", - "src": "46925:7:1" + "src": "48261:7:0" }, { "attributes": { @@ -65268,26 +65268,26 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2604, + "id": 2096, "name": "ElementaryTypeName", - "src": "46936:7:1" + "src": "48272:7:0" } ], - "id": 2605, + "id": 2097, "name": "Mapping", - "src": "46916:28:1" + "src": "48252:28:0" } ], - "id": 2606, + "id": 2098, "name": "VariableDeclaration", - "src": "46916:52:1" + "src": "48252:52:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_operatorApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => mapping(address => bool))", @@ -65304,9 +65304,9 @@ "name": "address", "type": "address" }, - "id": 2607, + "id": 2099, "name": "ElementaryTypeName", - "src": "47032:7:1" + "src": "48371:7:0" }, { "attributes": { @@ -65318,40 +65318,40 @@ "name": "address", "type": "address" }, - "id": 2608, + "id": 2100, "name": "ElementaryTypeName", - "src": "47052:7:1" + "src": "48391:7:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 2609, + "id": 2101, "name": "ElementaryTypeName", - "src": "47063:4:1" + "src": "48402:4:0" } ], - "id": 2610, + "id": 2102, "name": "Mapping", - "src": "47043:25:1" + "src": "48382:25:0" } ], - "id": 2611, + "id": 2103, "name": "Mapping", - "src": "47023:46:1" + "src": "48362:46:0" } ], - "id": 2612, + "id": 2104, "name": "VariableDeclaration", - "src": "47023:73:1" + "src": "48362:73:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_name", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65363,21 +65363,21 @@ "name": "string", "type": "string" }, - "id": 2613, + "id": 2105, "name": "ElementaryTypeName", - "src": "47121:6:1" + "src": "48463:6:0" } ], - "id": 2614, + "id": 2106, "name": "VariableDeclaration", - "src": "47121:20:1" + "src": "48463:20:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_symbol", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65389,21 +65389,21 @@ "name": "string", "type": "string" }, - "id": 2615, + "id": 2107, "name": "ElementaryTypeName", - "src": "47168:6:1" + "src": "48513:6:0" } ], - "id": 2616, + "id": 2108, "name": "VariableDeclaration", - "src": "47168:22:1" + "src": "48513:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURIs", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => string)", @@ -65420,35 +65420,35 @@ "name": "uint256", "type": "uint256" }, - "id": 2617, + "id": 2109, "name": "ElementaryTypeName", - "src": "47245:7:1" + "src": "48593:7:0" }, { "attributes": { "name": "string", "type": "string" }, - "id": 2618, + "id": 2110, "name": "ElementaryTypeName", - "src": "47256:6:1" + "src": "48604:6:0" } ], - "id": 2619, + "id": 2111, "name": "Mapping", - "src": "47236:27:1" + "src": "48584:27:0" } ], - "id": 2620, + "id": 2112, "name": "VariableDeclaration", - "src": "47236:46:1" + "src": "48584:46:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_baseURI", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65460,21 +65460,21 @@ "name": "string", "type": "string" }, - "id": 2621, + "id": 2113, "name": "ElementaryTypeName", - "src": "47305:6:1" + "src": "48656:6:0" } ], - "id": 2622, + "id": 2114, "name": "VariableDeclaration", - "src": "47305:23:1" + "src": "48656:23:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65486,9 +65486,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2623, + "id": 2115, "name": "ElementaryTypeName", - "src": "48204:6:1" + "src": "49571:6:0" }, { "attributes": { @@ -65501,21 +65501,21 @@ "type": "int_const 2158778573", "value": "0x80ac58cd" }, - "id": 2624, + "id": 2116, "name": "Literal", - "src": "48251:10:1" + "src": "49618:10:0" } ], - "id": 2625, + "id": 2117, "name": "VariableDeclaration", - "src": "48204:57:1" + "src": "49571:57:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65527,9 +65527,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2626, + "id": 2118, "name": "ElementaryTypeName", - "src": "48527:6:1" + "src": "49903:6:0" }, { "attributes": { @@ -65542,21 +65542,21 @@ "type": "int_const 1532892063", "value": "0x5b5e139f" }, - "id": 2627, + "id": 2119, "name": "Literal", - "src": "48583:10:1" + "src": "49959:10:0" } ], - "id": 2628, + "id": 2120, "name": "VariableDeclaration", - "src": "48527:66:1" + "src": "49903:66:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65568,9 +65568,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2629, + "id": 2121, "name": "ElementaryTypeName", - "src": "48898:6:1" + "src": "50283:6:0" }, { "attributes": { @@ -65583,14 +65583,14 @@ "type": "int_const 2014223715", "value": "0x780e9d63" }, - "id": 2630, + "id": 2122, "name": "Literal", - "src": "48956:10:1" + "src": "50341:10:0" } ], - "id": 2631, + "id": 2123, "name": "VariableDeclaration", - "src": "48898:68:1" + "src": "50283:68:0" }, { "attributes": { @@ -65601,7 +65601,7 @@ null ], "name": "", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -65611,9 +65611,9 @@ "attributes": { "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2632, + "id": 2124, "name": "StructuredDocumentation", - "src": "48973:108:1" + "src": "50360:110:0" }, { "children": [ @@ -65622,7 +65622,7 @@ "constant": false, "mutability": "mutable", "name": "name_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65634,21 +65634,21 @@ "name": "string", "type": "string" }, - "id": 2633, + "id": 2125, "name": "ElementaryTypeName", - "src": "49099:6:1" + "src": "50489:6:0" } ], - "id": 2634, + "id": 2126, "name": "VariableDeclaration", - "src": "49099:19:1" + "src": "50489:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "symbol_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65660,19 +65660,19 @@ "name": "string", "type": "string" }, - "id": 2635, + "id": 2127, "name": "ElementaryTypeName", - "src": "49120:6:1" + "src": "50510:6:0" } ], - "id": 2636, + "id": 2128, "name": "VariableDeclaration", - "src": "49120:21:1" + "src": "50510:21:0" } ], - "id": 2637, + "id": 2129, "name": "ParameterList", - "src": "49098:44:1" + "src": "50488:44:0" }, { "attributes": { @@ -65681,9 +65681,9 @@ ] }, "children": [], - "id": 2638, + "id": 2130, "name": "ParameterList", - "src": "49143:0:1" + "src": "50533:0:0" }, { "children": [ @@ -65704,36 +65704,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2639, + "id": 2131, "name": "Identifier", - "src": "49153:5:1" + "src": "50544:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2634, + "referencedDeclaration": 2126, "type": "string memory", "value": "name_" }, - "id": 2640, + "id": 2132, "name": "Identifier", - "src": "49161:5:1" + "src": "50552:5:0" } ], - "id": 2641, + "id": 2133, "name": "Assignment", - "src": "49153:13:1" + "src": "50544:13:0" } ], - "id": 2642, + "id": 2134, "name": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "children": [ @@ -65752,36 +65752,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2643, + "id": 2135, "name": "Identifier", - "src": "49176:7:1" + "src": "50568:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2636, + "referencedDeclaration": 2128, "type": "string memory", "value": "symbol_" }, - "id": 2644, + "id": 2136, "name": "Identifier", - "src": "49186:7:1" + "src": "50578:7:0" } ], - "id": 2645, + "id": 2137, "name": "Assignment", - "src": "49176:17:1" + "src": "50568:17:0" } ], - "id": 2646, + "id": 2138, "name": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "children": [ @@ -65811,36 +65811,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2647, + "id": 2139, "name": "Identifier", - "src": "49281:18:1" + "src": "50676:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2625, + "referencedDeclaration": 2117, "type": "bytes4", "value": "_INTERFACE_ID_ERC721" }, - "id": 2648, + "id": 2140, "name": "Identifier", - "src": "49300:20:1" + "src": "50695:20:0" } ], - "id": 2649, + "id": 2141, "name": "FunctionCall", - "src": "49281:40:1" + "src": "50676:40:0" } ], - "id": 2650, + "id": 2142, "name": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "children": [ @@ -65870,36 +65870,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2651, + "id": 2143, "name": "Identifier", - "src": "49331:18:1" + "src": "50727:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2628, + "referencedDeclaration": 2120, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_METADATA" }, - "id": 2652, + "id": 2144, "name": "Identifier", - "src": "49350:29:1" + "src": "50746:29:0" } ], - "id": 2653, + "id": 2145, "name": "FunctionCall", - "src": "49331:49:1" + "src": "50727:49:0" } ], - "id": 2654, + "id": 2146, "name": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "children": [ @@ -65929,51 +65929,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2655, + "id": 2147, "name": "Identifier", - "src": "49390:18:1" + "src": "50787:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2631, + "referencedDeclaration": 2123, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_ENUMERABLE" }, - "id": 2656, + "id": 2148, "name": "Identifier", - "src": "49409:31:1" + "src": "50806:31:0" } ], - "id": 2657, + "id": 2149, "name": "FunctionCall", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2658, + "id": 2150, "name": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2659, + "id": 2151, "name": "Block", - "src": "49143:305:1" + "src": "50533:313:0" } ], - "id": 2660, + "id": 2152, "name": "FunctionDefinition", - "src": "49086:362:1" + "src": "50476:370:0" }, { "attributes": { "baseFunctions": [ - 580 + 72 ], "functionSelector": "70a08231", "implemented": true, @@ -65983,7 +65983,7 @@ null ], "name": "balanceOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -65993,9 +65993,9 @@ "attributes": { "text": " @dev See {IERC721-balanceOf}." }, - "id": 2661, + "id": 2153, "name": "StructuredDocumentation", - "src": "49454:48:1" + "src": "50854:50:0" }, { "attributes": { @@ -66003,9 +66003,9 @@ null ] }, - "id": 2665, + "id": 2157, "name": "OverrideSpecifier", - "src": "49561:8:1" + "src": "50964:8:0" }, { "children": [ @@ -66014,7 +66014,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -66027,19 +66027,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2662, + "id": 2154, "name": "ElementaryTypeName", - "src": "49526:7:1" + "src": "50929:7:0" } ], - "id": 2663, + "id": 2155, "name": "VariableDeclaration", - "src": "49526:13:1" + "src": "50929:13:0" } ], - "id": 2664, + "id": 2156, "name": "ParameterList", - "src": "49525:15:1" + "src": "50928:15:0" }, { "children": [ @@ -66048,7 +66048,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66060,19 +66060,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2666, + "id": 2158, "name": "ElementaryTypeName", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2667, + "id": 2159, "name": "VariableDeclaration", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2668, + "id": 2160, "name": "ParameterList", - "src": "49578:9:1" + "src": "50981:9:0" }, { "children": [ @@ -66113,9 +66113,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2669, + "id": 2161, "name": "Identifier", - "src": "49598:7:1" + "src": "51002:7:0" }, { "attributes": { @@ -66136,13 +66136,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2670, + "id": 2162, "name": "Identifier", - "src": "49606:5:1" + "src": "51010:5:0" }, { "attributes": { @@ -66178,14 +66178,14 @@ "attributes": { "name": "address" }, - "id": 2671, + "id": 2163, "name": "ElementaryTypeName", - "src": "49615:7:1" + "src": "51019:7:0" } ], - "id": 2672, + "id": 2164, "name": "ElementaryTypeNameExpression", - "src": "49615:7:1" + "src": "51019:7:0" }, { "attributes": { @@ -66198,19 +66198,19 @@ "type": "int_const 0", "value": "0" }, - "id": 2673, + "id": 2165, "name": "Literal", - "src": "49623:1:1" + "src": "51027:1:0" } ], - "id": 2674, + "id": 2166, "name": "FunctionCall", - "src": "49615:10:1" + "src": "51019:10:0" } ], - "id": 2675, + "id": 2167, "name": "BinaryOperation", - "src": "49606:19:1" + "src": "51010:19:0" }, { "attributes": { @@ -66223,23 +66223,23 @@ "type": "literal_string \"ERC721: balance query for the zero address\"", "value": "ERC721: balance query for the zero address" }, - "id": 2676, + "id": 2168, "name": "Literal", - "src": "49627:44:1" + "src": "51031:44:0" } ], - "id": 2677, + "id": 2169, "name": "FunctionCall", - "src": "49598:74:1" + "src": "51002:74:0" } ], - "id": 2678, + "id": 2170, "name": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "attributes": { - "functionReturnParameters": 2668 + "functionReturnParameters": 2160 }, "children": [ { @@ -66270,7 +66270,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 1900, + "referencedDeclaration": 1392, "type": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" }, "children": [ @@ -66288,61 +66288,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2679, + "id": 2171, "name": "Identifier", - "src": "49689:13:1" + "src": "51094:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2680, + "id": 2172, "name": "Identifier", - "src": "49703:5:1" + "src": "51108:5:0" } ], - "id": 2681, + "id": 2173, "name": "IndexAccess", - "src": "49689:20:1" + "src": "51094:20:0" } ], - "id": 2682, + "id": 2174, "name": "MemberAccess", - "src": "49689:27:1" + "src": "51094:27:0" } ], - "id": 2683, + "id": 2175, "name": "FunctionCall", - "src": "49689:29:1" + "src": "51094:29:0" } ], - "id": 2684, + "id": 2176, "name": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ], - "id": 2685, + "id": 2177, "name": "Block", - "src": "49588:137:1" + "src": "50991:140:0" } ], - "id": 2686, + "id": 2178, "name": "FunctionDefinition", - "src": "49507:218:1" + "src": "50910:221:0" }, { "attributes": { "baseFunctions": [ - 588 + 80 ], "functionSelector": "6352211e", "implemented": true, @@ -66352,7 +66352,7 @@ null ], "name": "ownerOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66362,9 +66362,9 @@ "attributes": { "text": " @dev See {IERC721-ownerOf}." }, - "id": 2687, + "id": 2179, "name": "StructuredDocumentation", - "src": "49731:46:1" + "src": "51139:48:0" }, { "attributes": { @@ -66372,9 +66372,9 @@ null ] }, - "id": 2691, + "id": 2183, "name": "OverrideSpecifier", - "src": "49836:8:1" + "src": "51247:8:0" }, { "children": [ @@ -66383,7 +66383,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66395,19 +66395,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2688, + "id": 2180, "name": "ElementaryTypeName", - "src": "49799:7:1" + "src": "51210:7:0" } ], - "id": 2689, + "id": 2181, "name": "VariableDeclaration", - "src": "49799:15:1" + "src": "51210:15:0" } ], - "id": 2690, + "id": 2182, "name": "ParameterList", - "src": "49798:17:1" + "src": "51209:17:0" }, { "children": [ @@ -66416,7 +66416,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -66429,25 +66429,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2692, + "id": 2184, "name": "ElementaryTypeName", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2693, + "id": 2185, "name": "VariableDeclaration", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2694, + "id": 2186, "name": "ParameterList", - "src": "49853:9:1" + "src": "51264:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2694 + "functionReturnParameters": 2186 }, "children": [ { @@ -66482,7 +66482,7 @@ "isPure": false, "lValueRequested": false, "member_name": "get", - "referencedDeclaration": 2479, + "referencedDeclaration": 1971, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" }, "children": [ @@ -66491,31 +66491,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2695, + "id": 2187, "name": "Identifier", - "src": "49880:12:1" + "src": "51292:12:0" } ], - "id": 2696, + "id": 2188, "name": "MemberAccess", - "src": "49880:16:1" + "src": "51292:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2689, + "referencedDeclaration": 2181, "type": "uint256", "value": "tokenId" }, - "id": 2697, + "id": 2189, "name": "Identifier", - "src": "49897:7:1" + "src": "51309:7:0" }, { "attributes": { @@ -66528,34 +66528,34 @@ "type": "literal_string \"ERC721: owner query for nonexistent token\"", "value": "ERC721: owner query for nonexistent token" }, - "id": 2698, + "id": 2190, "name": "Literal", - "src": "49906:43:1" + "src": "51318:43:0" } ], - "id": 2699, + "id": 2191, "name": "FunctionCall", - "src": "49880:70:1" + "src": "51292:70:0" } ], - "id": 2700, + "id": 2192, "name": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ], - "id": 2701, + "id": 2193, "name": "Block", - "src": "49863:94:1" + "src": "51274:96:0" } ], - "id": 2702, + "id": 2194, "name": "FunctionDefinition", - "src": "49782:175:1" + "src": "51193:177:0" }, { "attributes": { "baseFunctions": [ - 665 + 157 ], "functionSelector": "06fdde03", "implemented": true, @@ -66565,7 +66565,7 @@ null ], "name": "name", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66575,9 +66575,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-name}." }, - "id": 2703, + "id": 2195, "name": "StructuredDocumentation", - "src": "49963:51:1" + "src": "51378:53:0" }, { "attributes": { @@ -66585,9 +66585,9 @@ null ] }, - "id": 2705, + "id": 2197, "name": "OverrideSpecifier", - "src": "50055:8:1" + "src": "51473:8:0" }, { "attributes": { @@ -66596,9 +66596,9 @@ ] }, "children": [], - "id": 2704, + "id": 2196, "name": "ParameterList", - "src": "50032:2:1" + "src": "51450:2:0" }, { "children": [ @@ -66607,7 +66607,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2712, + "scope": 2204, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66619,25 +66619,25 @@ "name": "string", "type": "string" }, - "id": 2706, + "id": 2198, "name": "ElementaryTypeName", - "src": "50073:6:1" + "src": "51491:6:0" } ], - "id": 2707, + "id": 2199, "name": "VariableDeclaration", - "src": "50073:13:1" + "src": "51491:13:0" } ], - "id": 2708, + "id": 2200, "name": "ParameterList", - "src": "50072:15:1" + "src": "51490:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2708 + "functionReturnParameters": 2200 }, "children": [ { @@ -66645,33 +66645,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2709, + "id": 2201, "name": "Identifier", - "src": "50105:5:1" + "src": "51524:5:0" } ], - "id": 2710, + "id": 2202, "name": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ], - "id": 2711, + "id": 2203, "name": "Block", - "src": "50088:29:1" + "src": "51506:31:0" } ], - "id": 2712, + "id": 2204, "name": "FunctionDefinition", - "src": "50019:98:1" + "src": "51437:100:0" }, { "attributes": { "baseFunctions": [ - 671 + 163 ], "functionSelector": "95d89b41", "implemented": true, @@ -66681,7 +66681,7 @@ null ], "name": "symbol", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66691,9 +66691,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-symbol}." }, - "id": 2713, + "id": 2205, "name": "StructuredDocumentation", - "src": "50123:53:1" + "src": "51545:55:0" }, { "attributes": { @@ -66701,9 +66701,9 @@ null ] }, - "id": 2715, + "id": 2207, "name": "OverrideSpecifier", - "src": "50219:8:1" + "src": "51644:8:0" }, { "attributes": { @@ -66712,9 +66712,9 @@ ] }, "children": [], - "id": 2714, + "id": 2206, "name": "ParameterList", - "src": "50196:2:1" + "src": "51621:2:0" }, { "children": [ @@ -66723,7 +66723,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2722, + "scope": 2214, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66735,25 +66735,25 @@ "name": "string", "type": "string" }, - "id": 2716, + "id": 2208, "name": "ElementaryTypeName", - "src": "50237:6:1" + "src": "51662:6:0" } ], - "id": 2717, + "id": 2209, "name": "VariableDeclaration", - "src": "50237:13:1" + "src": "51662:13:0" } ], - "id": 2718, + "id": 2210, "name": "ParameterList", - "src": "50236:15:1" + "src": "51661:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2718 + "functionReturnParameters": 2210 }, "children": [ { @@ -66761,33 +66761,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2719, + "id": 2211, "name": "Identifier", - "src": "50269:7:1" + "src": "51695:7:0" } ], - "id": 2720, + "id": 2212, "name": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ], - "id": 2721, + "id": 2213, "name": "Block", - "src": "50252:31:1" + "src": "51677:33:0" } ], - "id": 2722, + "id": 2214, "name": "FunctionDefinition", - "src": "50181:102:1" + "src": "51606:104:0" }, { "attributes": { "baseFunctions": [ - 679 + 171 ], "functionSelector": "c87b56dd", "implemented": true, @@ -66797,7 +66797,7 @@ null ], "name": "tokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66807,9 +66807,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-tokenURI}." }, - "id": 2723, + "id": 2215, "name": "StructuredDocumentation", - "src": "50289:55:1" + "src": "51718:57:0" }, { "attributes": { @@ -66817,9 +66817,9 @@ null ] }, - "id": 2727, + "id": 2219, "name": "OverrideSpecifier", - "src": "50404:8:1" + "src": "51836:8:0" }, { "children": [ @@ -66828,7 +66828,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66840,19 +66840,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2724, + "id": 2216, "name": "ElementaryTypeName", - "src": "50367:7:1" + "src": "51799:7:0" } ], - "id": 2725, + "id": 2217, "name": "VariableDeclaration", - "src": "50367:15:1" + "src": "51799:15:0" } ], - "id": 2726, + "id": 2218, "name": "ParameterList", - "src": "50366:17:1" + "src": "51798:17:0" }, { "children": [ @@ -66861,7 +66861,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66873,19 +66873,19 @@ "name": "string", "type": "string" }, - "id": 2728, + "id": 2220, "name": "ElementaryTypeName", - "src": "50422:6:1" + "src": "51854:6:0" } ], - "id": 2729, + "id": 2221, "name": "VariableDeclaration", - "src": "50422:13:1" + "src": "51854:13:0" } ], - "id": 2730, + "id": 2222, "name": "ParameterList", - "src": "50421:15:1" + "src": "51853:15:0" }, { "children": [ @@ -66926,9 +66926,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2731, + "id": 2223, "name": "Identifier", - "src": "50447:7:1" + "src": "51880:7:0" }, { "attributes": { @@ -66956,31 +66956,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2732, + "id": 2224, "name": "Identifier", - "src": "50455:7:1" + "src": "51888:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2733, + "id": 2225, "name": "Identifier", - "src": "50463:7:1" + "src": "51896:7:0" } ], - "id": 2734, + "id": 2226, "name": "FunctionCall", - "src": "50455:16:1" + "src": "51888:16:0" }, { "attributes": { @@ -66993,24 +66993,24 @@ "type": "literal_string \"ERC721Metadata: URI query for nonexistent token\"", "value": "ERC721Metadata: URI query for nonexistent token" }, - "id": 2735, + "id": 2227, "name": "Literal", - "src": "50473:49:1" + "src": "51906:49:0" } ], - "id": 2736, + "id": 2228, "name": "FunctionCall", - "src": "50447:76:1" + "src": "51880:76:0" } ], - "id": 2737, + "id": 2229, "name": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "attributes": { "assignments": [ - 2739 + 2231 ] }, "children": [ @@ -67019,7 +67019,7 @@ "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -67031,14 +67031,14 @@ "name": "string", "type": "string" }, - "id": 2738, + "id": 2230, "name": "ElementaryTypeName", - "src": "50534:6:1" + "src": "51969:6:0" } ], - "id": 2739, + "id": 2231, "name": "VariableDeclaration", - "src": "50534:23:1" + "src": "51969:23:0" }, { "attributes": { @@ -67054,41 +67054,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 2740, + "id": 2232, "name": "Identifier", - "src": "50560:10:1" + "src": "51995:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2741, + "id": 2233, "name": "Identifier", - "src": "50571:7:1" + "src": "52006:7:0" } ], - "id": 2742, + "id": 2234, "name": "IndexAccess", - "src": "50560:19:1" + "src": "51995:19:0" } ], - "id": 2743, + "id": 2235, "name": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "attributes": { "assignments": [ - 2745 + 2237 ] }, "children": [ @@ -67097,7 +67097,7 @@ "constant": false, "mutability": "mutable", "name": "base", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -67109,14 +67109,14 @@ "name": "string", "type": "string" }, - "id": 2744, + "id": 2236, "name": "ElementaryTypeName", - "src": "50589:6:1" + "src": "52025:6:0" } ], - "id": 2745, + "id": 2237, "name": "VariableDeclaration", - "src": "50589:18:1" + "src": "52025:18:0" }, { "attributes": { @@ -67144,23 +67144,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2799, + "referencedDeclaration": 2291, "type": "function () view returns (string memory)", "value": "baseURI" }, - "id": 2746, + "id": 2238, "name": "Identifier", - "src": "50610:7:1" + "src": "52046:7:0" } ], - "id": 2747, + "id": 2239, "name": "FunctionCall", - "src": "50610:9:1" + "src": "52046:9:0" } ], - "id": 2748, + "id": 2240, "name": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "attributes": {}, @@ -67223,37 +67223,37 @@ "attributes": { "name": "bytes" }, - "id": 2749, + "id": 2241, "name": "ElementaryTypeName", - "src": "50692:5:1" + "src": "52131:5:0" } ], - "id": 2750, + "id": 2242, "name": "ElementaryTypeNameExpression", - "src": "50692:5:1" + "src": "52131:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2751, + "id": 2243, "name": "Identifier", - "src": "50698:4:1" + "src": "52137:4:0" } ], - "id": 2752, + "id": 2244, "name": "FunctionCall", - "src": "50692:11:1" + "src": "52131:11:0" } ], - "id": 2753, + "id": 2245, "name": "MemberAccess", - "src": "50692:18:1" + "src": "52131:18:0" }, { "attributes": { @@ -67266,20 +67266,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2754, + "id": 2246, "name": "Literal", - "src": "50714:1:1" + "src": "52153:1:0" } ], - "id": 2755, + "id": 2247, "name": "BinaryOperation", - "src": "50692:23:1" + "src": "52131:23:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67287,28 +67287,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2756, + "id": 2248, "name": "Identifier", - "src": "50738:9:1" + "src": "52178:9:0" } ], - "id": 2757, + "id": 2249, "name": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ], - "id": 2758, + "id": 2250, "name": "Block", - "src": "50717:41:1" + "src": "52156:43:0" } ], - "id": 2759, + "id": 2251, "name": "IfStatement", - "src": "50688:70:1" + "src": "52127:72:0" }, { "attributes": {}, @@ -67371,37 +67371,37 @@ "attributes": { "name": "bytes" }, - "id": 2760, + "id": 2252, "name": "ElementaryTypeName", - "src": "50860:5:1" + "src": "52303:5:0" } ], - "id": 2761, + "id": 2253, "name": "ElementaryTypeNameExpression", - "src": "50860:5:1" + "src": "52303:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2762, + "id": 2254, "name": "Identifier", - "src": "50866:9:1" + "src": "52309:9:0" } ], - "id": 2763, + "id": 2255, "name": "FunctionCall", - "src": "50860:16:1" + "src": "52303:16:0" } ], - "id": 2764, + "id": 2256, "name": "MemberAccess", - "src": "50860:23:1" + "src": "52303:23:0" }, { "attributes": { @@ -67414,20 +67414,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2765, + "id": 2257, "name": "Literal", - "src": "50886:1:1" + "src": "52329:1:0" } ], - "id": 2766, + "id": 2258, "name": "BinaryOperation", - "src": "50860:27:1" + "src": "52303:27:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67464,14 +67464,14 @@ "attributes": { "name": "string" }, - "id": 2767, + "id": 2259, "name": "ElementaryTypeName", - "src": "50910:6:1" + "src": "52354:6:0" } ], - "id": 2768, + "id": 2260, "name": "ElementaryTypeNameExpression", - "src": "50910:6:1" + "src": "52354:6:0" }, { "attributes": { @@ -67517,69 +67517,69 @@ "type": "abi", "value": "abi" }, - "id": 2769, + "id": 2261, "name": "Identifier", - "src": "50917:3:1" + "src": "52361:3:0" } ], - "id": 2770, + "id": 2262, "name": "MemberAccess", - "src": "50917:16:1" + "src": "52361:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2771, + "id": 2263, "name": "Identifier", - "src": "50934:4:1" + "src": "52378:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2772, + "id": 2264, "name": "Identifier", - "src": "50940:9:1" + "src": "52384:9:0" } ], - "id": 2773, + "id": 2265, "name": "FunctionCall", - "src": "50917:33:1" + "src": "52361:33:0" } ], - "id": 2774, + "id": 2266, "name": "FunctionCall", - "src": "50910:41:1" + "src": "52354:41:0" } ], - "id": 2775, + "id": 2267, "name": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ], - "id": 2776, + "id": 2268, "name": "Block", - "src": "50889:73:1" + "src": "52332:75:0" } ], - "id": 2777, + "id": 2269, "name": "IfStatement", - "src": "50856:106:1" + "src": "52299:108:0" }, { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67616,14 +67616,14 @@ "attributes": { "name": "string" }, - "id": 2778, + "id": 2270, "name": "ElementaryTypeName", - "src": "51068:6:1" + "src": "52515:6:0" } ], - "id": 2779, + "id": 2271, "name": "ElementaryTypeNameExpression", - "src": "51068:6:1" + "src": "52515:6:0" }, { "attributes": { @@ -67669,27 +67669,27 @@ "type": "abi", "value": "abi" }, - "id": 2780, + "id": 2272, "name": "Identifier", - "src": "51075:3:1" + "src": "52522:3:0" } ], - "id": 2781, + "id": 2273, "name": "MemberAccess", - "src": "51075:16:1" + "src": "52522:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2782, + "id": 2274, "name": "Identifier", - "src": "51092:4:1" + "src": "52539:4:0" }, { "attributes": { @@ -67719,7 +67719,7 @@ "isPure": false, "lValueRequested": false, "member_name": "toString", - "referencedDeclaration": 2565, + "referencedDeclaration": 2057, "type": "function (uint256) pure returns (string memory)" }, "children": [ @@ -67728,48 +67728,48 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2783, + "id": 2275, "name": "Identifier", - "src": "51098:7:1" + "src": "52545:7:0" } ], - "id": 2784, + "id": 2276, "name": "MemberAccess", - "src": "51098:16:1" + "src": "52545:16:0" } ], - "id": 2785, + "id": 2277, "name": "FunctionCall", - "src": "51098:18:1" + "src": "52545:18:0" } ], - "id": 2786, + "id": 2278, "name": "FunctionCall", - "src": "51075:42:1" + "src": "52522:42:0" } ], - "id": 2787, + "id": 2279, "name": "FunctionCall", - "src": "51068:50:1" + "src": "52515:50:0" } ], - "id": 2788, + "id": 2280, "name": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ], - "id": 2789, + "id": 2281, "name": "Block", - "src": "50437:688:1" + "src": "51869:704:0" } ], - "id": 2790, + "id": 2282, "name": "FunctionDefinition", - "src": "50349:776:1" + "src": "51781:792:0" }, { "attributes": { @@ -67781,7 +67781,7 @@ null ], "name": "baseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67791,9 +67791,9 @@ "attributes": { "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, - "id": 2791, + "id": 2283, "name": "StructuredDocumentation", - "src": "51131:221:1" + "src": "52581:225:0" }, { "attributes": { @@ -67802,9 +67802,9 @@ ] }, "children": [], - "id": 2792, + "id": 2284, "name": "ParameterList", - "src": "51373:2:1" + "src": "52828:2:0" }, { "children": [ @@ -67813,7 +67813,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2799, + "scope": 2291, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -67825,25 +67825,25 @@ "name": "string", "type": "string" }, - "id": 2793, + "id": 2285, "name": "ElementaryTypeName", - "src": "51405:6:1" + "src": "52860:6:0" } ], - "id": 2794, + "id": 2286, "name": "VariableDeclaration", - "src": "51405:13:1" + "src": "52860:13:0" } ], - "id": 2795, + "id": 2287, "name": "ParameterList", - "src": "51404:15:1" + "src": "52859:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2795 + "functionReturnParameters": 2287 }, "children": [ { @@ -67851,33 +67851,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 2796, + "id": 2288, "name": "Identifier", - "src": "51437:8:1" + "src": "52893:8:0" } ], - "id": 2797, + "id": 2289, "name": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ], - "id": 2798, + "id": 2290, "name": "Block", - "src": "51420:32:1" + "src": "52875:34:0" } ], - "id": 2799, + "id": 2291, "name": "FunctionDefinition", - "src": "51357:95:1" + "src": "52812:97:0" }, { "attributes": { "baseFunctions": [ - 700 + 192 ], "functionSelector": "2f745c59", "implemented": true, @@ -67887,7 +67887,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67897,9 +67897,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, - "id": 2800, + "id": 2292, "name": "StructuredDocumentation", - "src": "51458:68:1" + "src": "52917:70:0" }, { "attributes": { @@ -67907,9 +67907,9 @@ null ] }, - "id": 2806, + "id": 2298, "name": "OverrideSpecifier", - "src": "51610:8:1" + "src": "53072:8:0" }, { "children": [ @@ -67918,7 +67918,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -67931,21 +67931,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2801, + "id": 2293, "name": "ElementaryTypeName", - "src": "51560:7:1" + "src": "53022:7:0" } ], - "id": 2802, + "id": 2294, "name": "VariableDeclaration", - "src": "51560:13:1" + "src": "53022:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67957,19 +67957,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2803, + "id": 2295, "name": "ElementaryTypeName", - "src": "51575:7:1" + "src": "53037:7:0" } ], - "id": 2804, + "id": 2296, "name": "VariableDeclaration", - "src": "51575:13:1" + "src": "53037:13:0" } ], - "id": 2805, + "id": 2297, "name": "ParameterList", - "src": "51559:30:1" + "src": "53021:30:0" }, { "children": [ @@ -67978,7 +67978,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67990,25 +67990,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2807, + "id": 2299, "name": "ElementaryTypeName", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2808, + "id": 2300, "name": "VariableDeclaration", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2809, + "id": 2301, "name": "ParameterList", - "src": "51627:9:1" + "src": "53089:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2809 + "functionReturnParameters": 2301 }, "children": [ { @@ -68039,7 +68039,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 1920, + "referencedDeclaration": 1412, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" }, "children": [ @@ -68057,74 +68057,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2810, + "id": 2302, "name": "Identifier", - "src": "51654:13:1" + "src": "53117:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2802, + "referencedDeclaration": 2294, "type": "address", "value": "owner" }, - "id": 2811, + "id": 2303, "name": "Identifier", - "src": "51668:5:1" + "src": "53131:5:0" } ], - "id": 2812, + "id": 2304, "name": "IndexAccess", - "src": "51654:20:1" + "src": "53117:20:0" } ], - "id": 2813, + "id": 2305, "name": "MemberAccess", - "src": "51654:23:1" + "src": "53117:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2804, + "referencedDeclaration": 2296, "type": "uint256", "value": "index" }, - "id": 2814, + "id": 2306, "name": "Identifier", - "src": "51678:5:1" + "src": "53141:5:0" } ], - "id": 2815, + "id": 2307, "name": "FunctionCall", - "src": "51654:30:1" + "src": "53117:30:0" } ], - "id": 2816, + "id": 2308, "name": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ], - "id": 2817, + "id": 2309, "name": "Block", - "src": "51637:54:1" + "src": "53099:56:0" } ], - "id": 2818, + "id": 2310, "name": "FunctionDefinition", - "src": "51531:160:1" + "src": "52993:162:0" }, { "attributes": { "baseFunctions": [ - 690 + 182 ], "functionSelector": "18160ddd", "implemented": true, @@ -68134,7 +68134,7 @@ null ], "name": "totalSupply", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -68144,9 +68144,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-totalSupply}." }, - "id": 2819, + "id": 2311, "name": "StructuredDocumentation", - "src": "51697:60:1" + "src": "53163:62:0" }, { "attributes": { @@ -68154,9 +68154,9 @@ null ] }, - "id": 2821, + "id": 2313, "name": "OverrideSpecifier", - "src": "51805:8:1" + "src": "53274:8:0" }, { "attributes": { @@ -68165,9 +68165,9 @@ ] }, "children": [], - "id": 2820, + "id": 2312, "name": "ParameterList", - "src": "51782:2:1" + "src": "53251:2:0" }, { "children": [ @@ -68176,7 +68176,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2830, + "scope": 2322, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68188,25 +68188,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2822, + "id": 2314, "name": "ElementaryTypeName", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2823, + "id": 2315, "name": "VariableDeclaration", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2824, + "id": 2316, "name": "ParameterList", - "src": "51822:9:1" + "src": "53291:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2824 + "functionReturnParameters": 2316 }, "children": [ { @@ -68237,7 +68237,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 2340, + "referencedDeclaration": 1832, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" }, "children": [ @@ -68246,43 +68246,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2825, + "id": 2317, "name": "Identifier", - "src": "51942:12:1" + "src": "53413:12:0" } ], - "id": 2826, + "id": 2318, "name": "MemberAccess", - "src": "51942:19:1" + "src": "53413:19:0" } ], - "id": 2827, + "id": 2319, "name": "FunctionCall", - "src": "51942:21:1" + "src": "53413:21:0" } ], - "id": 2828, + "id": 2320, "name": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ], - "id": 2829, + "id": 2321, "name": "Block", - "src": "51832:138:1" + "src": "53301:141:0" } ], - "id": 2830, + "id": 2322, "name": "FunctionDefinition", - "src": "51762:208:1" + "src": "53231:211:0" }, { "attributes": { "baseFunctions": [ - 708 + 200 ], "functionSelector": "4f6ccce7", "implemented": true, @@ -68292,7 +68292,7 @@ null ], "name": "tokenByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -68302,9 +68302,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, - "id": 2831, + "id": 2323, "name": "StructuredDocumentation", - "src": "51976:61:1" + "src": "53450:63:0" }, { "attributes": { @@ -68312,9 +68312,9 @@ null ] }, - "id": 2835, + "id": 2327, "name": "OverrideSpecifier", - "src": "52099:8:1" + "src": "53576:8:0" }, { "children": [ @@ -68323,7 +68323,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68335,19 +68335,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2832, + "id": 2324, "name": "ElementaryTypeName", - "src": "52064:7:1" + "src": "53541:7:0" } ], - "id": 2833, + "id": 2325, "name": "VariableDeclaration", - "src": "52064:13:1" + "src": "53541:13:0" } ], - "id": 2834, + "id": 2326, "name": "ParameterList", - "src": "52063:15:1" + "src": "53540:15:0" }, { "children": [ @@ -68356,7 +68356,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68368,26 +68368,26 @@ "name": "uint256", "type": "uint256" }, - "id": 2836, + "id": 2328, "name": "ElementaryTypeName", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2837, + "id": 2329, "name": "VariableDeclaration", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2838, + "id": 2330, "name": "ParameterList", - "src": "52116:9:1" + "src": "53593:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2840, + 2332, null ] }, @@ -68397,7 +68397,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2848, + "scope": 2340, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68409,14 +68409,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2839, + "id": 2331, "name": "ElementaryTypeName", - "src": "52137:7:1" + "src": "53615:7:0" } ], - "id": 2840, + "id": 2332, "name": "VariableDeclaration", - "src": "52137:15:1" + "src": "53615:15:0" }, { "attributes": { @@ -68446,7 +68446,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 2379, + "referencedDeclaration": 1871, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" }, "children": [ @@ -68455,45 +68455,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2841, + "id": 2333, "name": "Identifier", - "src": "52158:12:1" + "src": "53636:12:0" } ], - "id": 2842, + "id": 2334, "name": "MemberAccess", - "src": "52158:15:1" + "src": "53636:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2833, + "referencedDeclaration": 2325, "type": "uint256", "value": "index" }, - "id": 2843, + "id": 2335, "name": "Identifier", - "src": "52174:5:1" + "src": "53652:5:0" } ], - "id": 2844, + "id": 2336, "name": "FunctionCall", - "src": "52158:22:1" + "src": "53636:22:0" } ], - "id": 2845, + "id": 2337, "name": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "attributes": { - "functionReturnParameters": 2838 + "functionReturnParameters": 2330 }, "children": [ { @@ -68501,33 +68501,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2840, + "referencedDeclaration": 2332, "type": "uint256", "value": "tokenId" }, - "id": 2846, + "id": 2338, "name": "Identifier", - "src": "52197:7:1" + "src": "53676:7:0" } ], - "id": 2847, + "id": 2339, "name": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ], - "id": 2848, + "id": 2340, "name": "Block", - "src": "52126:85:1" + "src": "53603:88:0" } ], - "id": 2849, + "id": 2341, "name": "FunctionDefinition", - "src": "52042:169:1" + "src": "53519:172:0" }, { "attributes": { "baseFunctions": [ - 616 + 108 ], "functionSelector": "095ea7b3", "implemented": true, @@ -68537,7 +68537,7 @@ null ], "name": "approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -68547,9 +68547,9 @@ "attributes": { "text": " @dev See {IERC721-approve}." }, - "id": 2850, + "id": 2342, "name": "StructuredDocumentation", - "src": "52217:46:1" + "src": "53699:48:0" }, { "attributes": { @@ -68557,9 +68557,9 @@ null ] }, - "id": 2856, + "id": 2348, "name": "OverrideSpecifier", - "src": "52329:8:1" + "src": "53814:8:0" }, { "children": [ @@ -68568,7 +68568,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68581,21 +68581,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2851, + "id": 2343, "name": "ElementaryTypeName", - "src": "52285:7:1" + "src": "53770:7:0" } ], - "id": 2852, + "id": 2344, "name": "VariableDeclaration", - "src": "52285:10:1" + "src": "53770:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68607,19 +68607,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2853, + "id": 2345, "name": "ElementaryTypeName", - "src": "52297:7:1" + "src": "53782:7:0" } ], - "id": 2854, + "id": 2346, "name": "VariableDeclaration", - "src": "52297:15:1" + "src": "53782:15:0" } ], - "id": 2855, + "id": 2347, "name": "ParameterList", - "src": "52284:29:1" + "src": "53769:29:0" }, { "attributes": { @@ -68628,16 +68628,16 @@ ] }, "children": [], - "id": 2857, + "id": 2349, "name": "ParameterList", - "src": "52338:0:1" + "src": "53823:0:0" }, { "children": [ { "attributes": { "assignments": [ - 2859 + 2351 ] }, "children": [ @@ -68646,7 +68646,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2892, + "scope": 2384, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68659,14 +68659,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2858, + "id": 2350, "name": "ElementaryTypeName", - "src": "52348:7:1" + "src": "53834:7:0" } ], - "id": 2859, + "id": 2351, "name": "VariableDeclaration", - "src": "52348:13:1" + "src": "53834:13:0" }, { "attributes": { @@ -68696,7 +68696,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -68705,41 +68705,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2860, + "id": 2352, "name": "Identifier", - "src": "52364:6:1" + "src": "53850:6:0" } ], - "id": 2861, + "id": 2353, "name": "MemberAccess", - "src": "52364:14:1" + "src": "53850:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2862, + "id": 2354, "name": "Identifier", - "src": "52379:7:1" + "src": "53865:7:0" } ], - "id": 2863, + "id": 2355, "name": "FunctionCall", - "src": "52364:23:1" + "src": "53850:23:0" } ], - "id": 2864, + "id": 2356, "name": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "children": [ @@ -68778,9 +68778,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2865, + "id": 2357, "name": "Identifier", - "src": "52397:7:1" + "src": "53884:7:0" }, { "attributes": { @@ -68801,31 +68801,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2866, + "id": 2358, "name": "Identifier", - "src": "52405:2:1" + "src": "53892:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2867, + "id": 2359, "name": "Identifier", - "src": "52411:5:1" + "src": "53898:5:0" } ], - "id": 2868, + "id": 2360, "name": "BinaryOperation", - "src": "52405:11:1" + "src": "53892:11:0" }, { "attributes": { @@ -68838,19 +68838,19 @@ "type": "literal_string \"ERC721: approval to current owner\"", "value": "ERC721: approval to current owner" }, - "id": 2869, + "id": 2361, "name": "Literal", - "src": "52418:35:1" + "src": "53905:35:0" } ], - "id": 2870, + "id": 2362, "name": "FunctionCall", - "src": "52397:57:1" + "src": "53884:57:0" } ], - "id": 2871, + "id": 2363, "name": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "children": [ @@ -68889,9 +68889,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2872, + "id": 2364, "name": "Identifier", - "src": "52465:7:1" + "src": "53954:7:0" }, { "attributes": { @@ -68947,36 +68947,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2873, + "id": 2365, "name": "Identifier", - "src": "52473:10:1" + "src": "53962:10:0" } ], - "id": 2874, + "id": 2366, "name": "FunctionCall", - "src": "52473:12:1" + "src": "53962:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2875, + "id": 2367, "name": "Identifier", - "src": "52489:5:1" + "src": "53978:5:0" } ], - "id": 2876, + "id": 2368, "name": "BinaryOperation", - "src": "52473:21:1" + "src": "53962:21:0" }, { "attributes": { @@ -69010,7 +69010,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -69019,31 +69019,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2877, + "id": 2369, "name": "Identifier", - "src": "52498:6:1" + "src": "53987:6:0" } ], - "id": 2878, + "id": 2370, "name": "MemberAccess", - "src": "52498:23:1" + "src": "53987:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2879, + "id": 2371, "name": "Identifier", - "src": "52522:5:1" + "src": "54011:5:0" }, { "attributes": { @@ -69071,28 +69071,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2880, + "id": 2372, "name": "Identifier", - "src": "52529:10:1" + "src": "54018:10:0" } ], - "id": 2881, + "id": 2373, "name": "FunctionCall", - "src": "52529:12:1" + "src": "54018:12:0" } ], - "id": 2882, + "id": 2374, "name": "FunctionCall", - "src": "52498:44:1" + "src": "53987:44:0" } ], - "id": 2883, + "id": 2375, "name": "BinaryOperation", - "src": "52473:69:1" + "src": "53962:69:0" }, { "attributes": { @@ -69105,19 +69105,19 @@ "type": "literal_string \"ERC721: approve caller is not owner nor approved for all\"", "value": "ERC721: approve caller is not owner nor approved for all" }, - "id": 2884, + "id": 2376, "name": "Literal", - "src": "52556:58:1" + "src": "54046:58:0" } ], - "id": 2885, + "id": 2377, "name": "FunctionCall", - "src": "52465:159:1" + "src": "53954:161:0" } ], - "id": 2886, + "id": 2378, "name": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "children": [ @@ -69151,64 +69151,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 2887, + "id": 2379, "name": "Identifier", - "src": "52635:8:1" + "src": "54128:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2888, + "id": 2380, "name": "Identifier", - "src": "52644:2:1" + "src": "54137:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2889, + "id": 2381, "name": "Identifier", - "src": "52648:7:1" + "src": "54141:7:0" } ], - "id": 2890, + "id": 2382, "name": "FunctionCall", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2891, + "id": 2383, "name": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2892, + "id": 2384, "name": "Block", - "src": "52338:325:1" + "src": "53823:334:0" } ], - "id": 2893, + "id": 2385, "name": "FunctionDefinition", - "src": "52268:395:1" + "src": "53753:404:0" }, { "attributes": { "baseFunctions": [ - 624 + 116 ], "functionSelector": "081812fc", "implemented": true, @@ -69218,7 +69218,7 @@ null ], "name": "getApproved", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -69228,9 +69228,9 @@ "attributes": { "text": " @dev See {IERC721-getApproved}." }, - "id": 2894, + "id": 2386, "name": "StructuredDocumentation", - "src": "52669:50:1" + "src": "54165:52:0" }, { "attributes": { @@ -69238,9 +69238,9 @@ null ] }, - "id": 2898, + "id": 2390, "name": "OverrideSpecifier", - "src": "52782:8:1" + "src": "54281:8:0" }, { "children": [ @@ -69249,7 +69249,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -69261,19 +69261,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2895, + "id": 2387, "name": "ElementaryTypeName", - "src": "52745:7:1" + "src": "54244:7:0" } ], - "id": 2896, + "id": 2388, "name": "VariableDeclaration", - "src": "52745:15:1" + "src": "54244:15:0" } ], - "id": 2897, + "id": 2389, "name": "ParameterList", - "src": "52744:17:1" + "src": "54243:17:0" }, { "children": [ @@ -69282,7 +69282,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69295,19 +69295,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2899, + "id": 2391, "name": "ElementaryTypeName", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2900, + "id": 2392, "name": "VariableDeclaration", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2901, + "id": 2393, "name": "ParameterList", - "src": "52799:9:1" + "src": "54298:9:0" }, { "children": [ @@ -69348,9 +69348,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2902, + "id": 2394, "name": "Identifier", - "src": "52819:7:1" + "src": "54319:7:0" }, { "attributes": { @@ -69378,31 +69378,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2903, + "id": 2395, "name": "Identifier", - "src": "52827:7:1" + "src": "54327:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2904, + "id": 2396, "name": "Identifier", - "src": "52835:7:1" + "src": "54335:7:0" } ], - "id": 2905, + "id": 2397, "name": "FunctionCall", - "src": "52827:16:1" + "src": "54327:16:0" }, { "attributes": { @@ -69415,23 +69415,23 @@ "type": "literal_string \"ERC721: approved query for nonexistent token\"", "value": "ERC721: approved query for nonexistent token" }, - "id": 2906, + "id": 2398, "name": "Literal", - "src": "52845:46:1" + "src": "54345:46:0" } ], - "id": 2907, + "id": 2399, "name": "FunctionCall", - "src": "52819:73:1" + "src": "54319:73:0" } ], - "id": 2908, + "id": 2400, "name": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "attributes": { - "functionReturnParameters": 2901 + "functionReturnParameters": 2393 }, "children": [ { @@ -69448,51 +69448,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 2909, + "id": 2401, "name": "Identifier", - "src": "52910:15:1" + "src": "54412:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2910, + "id": 2402, "name": "Identifier", - "src": "52926:7:1" + "src": "54428:7:0" } ], - "id": 2911, + "id": 2403, "name": "IndexAccess", - "src": "52910:24:1" + "src": "54412:24:0" } ], - "id": 2912, + "id": 2404, "name": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ], - "id": 2913, + "id": 2405, "name": "Block", - "src": "52809:132:1" + "src": "54308:136:0" } ], - "id": 2914, + "id": 2406, "name": "FunctionDefinition", - "src": "52724:217:1" + "src": "54223:221:0" }, { "attributes": { "baseFunctions": [ - 632 + 124 ], "functionSelector": "a22cb465", "implemented": true, @@ -69502,7 +69502,7 @@ null ], "name": "setApprovalForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69512,9 +69512,9 @@ "attributes": { "text": " @dev See {IERC721-setApprovalForAll}." }, - "id": 2915, + "id": 2407, "name": "StructuredDocumentation", - "src": "52947:56:1" + "src": "54452:58:0" }, { "attributes": { @@ -69522,9 +69522,9 @@ null ] }, - "id": 2921, + "id": 2413, "name": "OverrideSpecifier", - "src": "53083:8:1" + "src": "54591:8:0" }, { "children": [ @@ -69533,7 +69533,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69546,21 +69546,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2916, + "id": 2408, "name": "ElementaryTypeName", - "src": "53035:7:1" + "src": "54543:7:0" } ], - "id": 2917, + "id": 2409, "name": "VariableDeclaration", - "src": "53035:16:1" + "src": "54543:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "approved", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69572,19 +69572,19 @@ "name": "bool", "type": "bool" }, - "id": 2918, + "id": 2410, "name": "ElementaryTypeName", - "src": "53053:4:1" + "src": "54561:4:0" } ], - "id": 2919, + "id": 2411, "name": "VariableDeclaration", - "src": "53053:13:1" + "src": "54561:13:0" } ], - "id": 2920, + "id": 2412, "name": "ParameterList", - "src": "53034:33:1" + "src": "54542:33:0" }, { "attributes": { @@ -69593,9 +69593,9 @@ ] }, "children": [], - "id": 2922, + "id": 2414, "name": "ParameterList", - "src": "53092:0:1" + "src": "54600:0:0" }, { "children": [ @@ -69636,9 +69636,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2923, + "id": 2415, "name": "Identifier", - "src": "53102:7:1" + "src": "54611:7:0" }, { "attributes": { @@ -69659,13 +69659,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2924, + "id": 2416, "name": "Identifier", - "src": "53110:8:1" + "src": "54619:8:0" }, { "attributes": { @@ -69693,23 +69693,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2925, + "id": 2417, "name": "Identifier", - "src": "53122:10:1" + "src": "54631:10:0" } ], - "id": 2926, + "id": 2418, "name": "FunctionCall", - "src": "53122:12:1" + "src": "54631:12:0" } ], - "id": 2927, + "id": 2419, "name": "BinaryOperation", - "src": "53110:24:1" + "src": "54619:24:0" }, { "attributes": { @@ -69722,19 +69722,19 @@ "type": "literal_string \"ERC721: approve to caller\"", "value": "ERC721: approve to caller" }, - "id": 2928, + "id": 2420, "name": "Literal", - "src": "53136:27:1" + "src": "54645:27:0" } ], - "id": 2929, + "id": 2421, "name": "FunctionCall", - "src": "53102:62:1" + "src": "54611:62:0" } ], - "id": 2930, + "id": 2422, "name": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "children": [ @@ -69771,13 +69771,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2931, + "id": 2423, "name": "Identifier", - "src": "53175:18:1" + "src": "54686:18:0" }, { "attributes": { @@ -69805,64 +69805,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2932, + "id": 2424, "name": "Identifier", - "src": "53194:10:1" + "src": "54705:10:0" } ], - "id": 2933, + "id": 2425, "name": "FunctionCall", - "src": "53194:12:1" + "src": "54705:12:0" } ], - "id": 2935, + "id": 2427, "name": "IndexAccess", - "src": "53175:32:1" + "src": "54686:32:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2934, + "id": 2426, "name": "Identifier", - "src": "53208:8:1" + "src": "54719:8:0" } ], - "id": 2936, + "id": 2428, "name": "IndexAccess", - "src": "53175:42:1" + "src": "54686:42:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2937, + "id": 2429, "name": "Identifier", - "src": "53220:8:1" + "src": "54731:8:0" } ], - "id": 2938, + "id": 2430, "name": "Assignment", - "src": "53175:53:1" + "src": "54686:53:0" } ], - "id": 2939, + "id": 2431, "name": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "children": [ @@ -69900,13 +69900,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 572, + "referencedDeclaration": 64, "type": "function (address,address,bool)", "value": "ApprovalForAll" }, - "id": 2940, + "id": 2432, "name": "Identifier", - "src": "53243:14:1" + "src": "54755:14:0" }, { "attributes": { @@ -69934,69 +69934,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2941, + "id": 2433, "name": "Identifier", - "src": "53258:10:1" + "src": "54770:10:0" } ], - "id": 2942, + "id": 2434, "name": "FunctionCall", - "src": "53258:12:1" + "src": "54770:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2943, + "id": 2435, "name": "Identifier", - "src": "53272:8:1" + "src": "54784:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2944, + "id": 2436, "name": "Identifier", - "src": "53282:8:1" + "src": "54794:8:0" } ], - "id": 2945, + "id": 2437, "name": "FunctionCall", - "src": "53243:48:1" + "src": "54755:48:0" } ], - "id": 2946, + "id": 2438, "name": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ], - "id": 2947, + "id": 2439, "name": "Block", - "src": "53092:206:1" + "src": "54600:211:0" } ], - "id": 2948, + "id": 2440, "name": "FunctionDefinition", - "src": "53008:290:1" + "src": "54516:295:0" }, { "attributes": { "baseFunctions": [ - 642 + 134 ], "functionSelector": "e985e9c5", "implemented": true, @@ -70006,7 +70006,7 @@ null ], "name": "isApprovedForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -70016,9 +70016,9 @@ "attributes": { "text": " @dev See {IERC721-isApprovedForAll}." }, - "id": 2949, + "id": 2441, "name": "StructuredDocumentation", - "src": "53304:55:1" + "src": "54819:57:0" }, { "attributes": { @@ -70026,9 +70026,9 @@ null ] }, - "id": 2955, + "id": 2447, "name": "OverrideSpecifier", - "src": "53443:8:1" + "src": "54961:8:0" }, { "children": [ @@ -70037,7 +70037,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70050,21 +70050,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2950, + "id": 2442, "name": "ElementaryTypeName", - "src": "53390:7:1" + "src": "54908:7:0" } ], - "id": 2951, + "id": 2443, "name": "VariableDeclaration", - "src": "53390:13:1" + "src": "54908:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70077,19 +70077,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2952, + "id": 2444, "name": "ElementaryTypeName", - "src": "53405:7:1" + "src": "54923:7:0" } ], - "id": 2953, + "id": 2445, "name": "VariableDeclaration", - "src": "53405:16:1" + "src": "54923:16:0" } ], - "id": 2954, + "id": 2446, "name": "ParameterList", - "src": "53389:33:1" + "src": "54907:33:0" }, { "children": [ @@ -70098,7 +70098,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -70110,25 +70110,25 @@ "name": "bool", "type": "bool" }, - "id": 2956, + "id": 2448, "name": "ElementaryTypeName", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2957, + "id": 2449, "name": "VariableDeclaration", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2958, + "id": 2450, "name": "ParameterList", - "src": "53460:6:1" + "src": "54978:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2958 + "functionReturnParameters": 2450 }, "children": [ { @@ -70154,69 +70154,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2959, + "id": 2451, "name": "Identifier", - "src": "53484:18:1" + "src": "55003:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2951, + "referencedDeclaration": 2443, "type": "address", "value": "owner" }, - "id": 2960, + "id": 2452, "name": "Identifier", - "src": "53503:5:1" + "src": "55022:5:0" } ], - "id": 2961, + "id": 2453, "name": "IndexAccess", - "src": "53484:25:1" + "src": "55003:25:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2953, + "referencedDeclaration": 2445, "type": "address", "value": "operator" }, - "id": 2962, + "id": 2454, "name": "Identifier", - "src": "53510:8:1" + "src": "55029:8:0" } ], - "id": 2963, + "id": 2455, "name": "IndexAccess", - "src": "53484:35:1" + "src": "55003:35:0" } ], - "id": 2964, + "id": 2456, "name": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ], - "id": 2965, + "id": 2457, "name": "Block", - "src": "53467:59:1" + "src": "54985:61:0" } ], - "id": 2966, + "id": 2458, "name": "FunctionDefinition", - "src": "53364:162:1" + "src": "54882:164:0" }, { "attributes": { "baseFunctions": [ - 608 + 100 ], "functionSelector": "23b872dd", "implemented": true, @@ -70226,7 +70226,7 @@ null ], "name": "transferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70236,9 +70236,9 @@ "attributes": { "text": " @dev See {IERC721-transferFrom}." }, - "id": 2967, + "id": 2459, "name": "StructuredDocumentation", - "src": "53532:51:1" + "src": "55054:53:0" }, { "attributes": { @@ -70246,9 +70246,9 @@ null ] }, - "id": 2975, + "id": 2467, "name": "OverrideSpecifier", - "src": "53668:8:1" + "src": "55193:8:0" }, { "children": [ @@ -70257,7 +70257,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70270,21 +70270,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2968, + "id": 2460, "name": "ElementaryTypeName", - "src": "53610:7:1" + "src": "55135:7:0" } ], - "id": 2969, + "id": 2461, "name": "VariableDeclaration", - "src": "53610:12:1" + "src": "55135:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70297,21 +70297,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2970, + "id": 2462, "name": "ElementaryTypeName", - "src": "53624:7:1" + "src": "55149:7:0" } ], - "id": 2971, + "id": 2463, "name": "VariableDeclaration", - "src": "53624:10:1" + "src": "55149:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70323,19 +70323,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2972, + "id": 2464, "name": "ElementaryTypeName", - "src": "53636:7:1" + "src": "55161:7:0" } ], - "id": 2973, + "id": 2465, "name": "VariableDeclaration", - "src": "53636:15:1" + "src": "55161:15:0" } ], - "id": 2974, + "id": 2466, "name": "ParameterList", - "src": "53609:43:1" + "src": "55134:43:0" }, { "attributes": { @@ -70344,9 +70344,9 @@ ] }, "children": [], - "id": 2976, + "id": 2468, "name": "ParameterList", - "src": "53677:0:1" + "src": "55202:0:0" }, { "children": [ @@ -70387,9 +70387,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2977, + "id": 2469, "name": "Identifier", - "src": "53739:7:1" + "src": "55266:7:0" }, { "attributes": { @@ -70421,13 +70421,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 2978, + "id": 2470, "name": "Identifier", - "src": "53747:18:1" + "src": "55274:18:0" }, { "attributes": { @@ -70455,36 +70455,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2979, + "id": 2471, "name": "Identifier", - "src": "53766:10:1" + "src": "55293:10:0" } ], - "id": 2980, + "id": 2472, "name": "FunctionCall", - "src": "53766:12:1" + "src": "55293:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2981, + "id": 2473, "name": "Identifier", - "src": "53780:7:1" + "src": "55307:7:0" } ], - "id": 2982, + "id": 2474, "name": "FunctionCall", - "src": "53747:41:1" + "src": "55274:41:0" }, { "attributes": { @@ -70497,19 +70497,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 2983, + "id": 2475, "name": "Literal", - "src": "53790:51:1" + "src": "55317:51:0" } ], - "id": 2984, + "id": 2476, "name": "FunctionCall", - "src": "53739:103:1" + "src": "55266:103:0" } ], - "id": 2985, + "id": 2477, "name": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "children": [ @@ -70547,77 +70547,77 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 2986, + "id": 2478, "name": "Identifier", - "src": "53853:9:1" + "src": "55382:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2969, + "referencedDeclaration": 2461, "type": "address", "value": "from" }, - "id": 2987, + "id": 2479, "name": "Identifier", - "src": "53863:4:1" + "src": "55392:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2971, + "referencedDeclaration": 2463, "type": "address", "value": "to" }, - "id": 2988, + "id": 2480, "name": "Identifier", - "src": "53869:2:1" + "src": "55398:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2989, + "id": 2481, "name": "Identifier", - "src": "53873:7:1" + "src": "55402:7:0" } ], - "id": 2990, + "id": 2482, "name": "FunctionCall", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2991, + "id": 2483, "name": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2992, + "id": 2484, "name": "Block", - "src": "53677:211:1" + "src": "55202:216:0" } ], - "id": 2993, + "id": 2485, "name": "FunctionDefinition", - "src": "53588:300:1" + "src": "55113:305:0" }, { "attributes": { "baseFunctions": [ - 598 + 90 ], "functionSelector": "42842e0e", "implemented": true, @@ -70627,7 +70627,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70637,9 +70637,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 2994, + "id": 2486, "name": "StructuredDocumentation", - "src": "53894:55:1" + "src": "55426:57:0" }, { "attributes": { @@ -70647,9 +70647,9 @@ null ] }, - "id": 3002, + "id": 2494, "name": "OverrideSpecifier", - "src": "54038:8:1" + "src": "55573:8:0" }, { "children": [ @@ -70658,7 +70658,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70671,21 +70671,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2995, + "id": 2487, "name": "ElementaryTypeName", - "src": "53980:7:1" + "src": "55515:7:0" } ], - "id": 2996, + "id": 2488, "name": "VariableDeclaration", - "src": "53980:12:1" + "src": "55515:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70698,21 +70698,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2997, + "id": 2489, "name": "ElementaryTypeName", - "src": "53994:7:1" + "src": "55529:7:0" } ], - "id": 2998, + "id": 2490, "name": "VariableDeclaration", - "src": "53994:10:1" + "src": "55529:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70724,19 +70724,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2999, + "id": 2491, "name": "ElementaryTypeName", - "src": "54006:7:1" + "src": "55541:7:0" } ], - "id": 3000, + "id": 2492, "name": "VariableDeclaration", - "src": "54006:15:1" + "src": "55541:15:0" } ], - "id": 3001, + "id": 2493, "name": "ParameterList", - "src": "53979:43:1" + "src": "55514:43:0" }, { "attributes": { @@ -70745,9 +70745,9 @@ ] }, "children": [], - "id": 3003, + "id": 2495, "name": "ParameterList", - "src": "54047:0:1" + "src": "55582:0:0" }, { "children": [ @@ -70789,55 +70789,55 @@ } ], "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, + "referencedDeclaration": 2534, "type": "function (address,address,uint256,bytes memory)", "value": "safeTransferFrom" }, - "id": 3004, + "id": 2496, "name": "Identifier", - "src": "54057:16:1" + "src": "55593:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2996, + "referencedDeclaration": 2488, "type": "address", "value": "from" }, - "id": 3005, + "id": 2497, "name": "Identifier", - "src": "54074:4:1" + "src": "55610:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2998, + "referencedDeclaration": 2490, "type": "address", "value": "to" }, - "id": 3006, + "id": 2498, "name": "Identifier", - "src": "54080:2:1" + "src": "55616:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3000, + "referencedDeclaration": 2492, "type": "uint256", "value": "tokenId" }, - "id": 3007, + "id": 2499, "name": "Identifier", - "src": "54084:7:1" + "src": "55620:7:0" }, { "attributes": { @@ -70850,34 +70850,34 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3008, + "id": 2500, "name": "Literal", - "src": "54093:2:1" + "src": "55629:2:0" } ], - "id": 3009, + "id": 2501, "name": "FunctionCall", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3010, + "id": 2502, "name": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3011, + "id": 2503, "name": "Block", - "src": "54047:56:1" + "src": "55582:58:0" } ], - "id": 3012, + "id": 2504, "name": "FunctionDefinition", - "src": "53954:149:1" + "src": "55489:151:0" }, { "attributes": { "baseFunctions": [ - 654 + 146 ], "functionSelector": "b88d4fde", "implemented": true, @@ -70887,7 +70887,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70897,9 +70897,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 3013, + "id": 2505, "name": "StructuredDocumentation", - "src": "54109:55:1" + "src": "55648:57:0" }, { "attributes": { @@ -70907,9 +70907,9 @@ null ] }, - "id": 3023, + "id": 2515, "name": "OverrideSpecifier", - "src": "54273:8:1" + "src": "55815:8:0" }, { "children": [ @@ -70918,7 +70918,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70931,21 +70931,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3014, + "id": 2506, "name": "ElementaryTypeName", - "src": "54195:7:1" + "src": "55737:7:0" } ], - "id": 3015, + "id": 2507, "name": "VariableDeclaration", - "src": "54195:12:1" + "src": "55737:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70958,21 +70958,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3016, + "id": 2508, "name": "ElementaryTypeName", - "src": "54209:7:1" + "src": "55751:7:0" } ], - "id": 3017, + "id": 2509, "name": "VariableDeclaration", - "src": "54209:10:1" + "src": "55751:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70984,21 +70984,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3018, + "id": 2510, "name": "ElementaryTypeName", - "src": "54221:7:1" + "src": "55763:7:0" } ], - "id": 3019, + "id": 2511, "name": "VariableDeclaration", - "src": "54221:15:1" + "src": "55763:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -71010,19 +71010,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3020, + "id": 2512, "name": "ElementaryTypeName", - "src": "54238:5:1" + "src": "55780:5:0" } ], - "id": 3021, + "id": 2513, "name": "VariableDeclaration", - "src": "54238:18:1" + "src": "55780:18:0" } ], - "id": 3022, + "id": 2514, "name": "ParameterList", - "src": "54194:63:1" + "src": "55736:63:0" }, { "attributes": { @@ -71031,9 +71031,9 @@ ] }, "children": [], - "id": 3024, + "id": 2516, "name": "ParameterList", - "src": "54282:0:1" + "src": "55824:0:0" }, { "children": [ @@ -71074,9 +71074,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3025, + "id": 2517, "name": "Identifier", - "src": "54292:7:1" + "src": "55835:7:0" }, { "attributes": { @@ -71108,13 +71108,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 3026, + "id": 2518, "name": "Identifier", - "src": "54300:18:1" + "src": "55843:18:0" }, { "attributes": { @@ -71142,36 +71142,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3027, + "id": 2519, "name": "Identifier", - "src": "54319:10:1" + "src": "55862:10:0" } ], - "id": 3028, + "id": 2520, "name": "FunctionCall", - "src": "54319:12:1" + "src": "55862:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3029, + "id": 2521, "name": "Identifier", - "src": "54333:7:1" + "src": "55876:7:0" } ], - "id": 3030, + "id": 2522, "name": "FunctionCall", - "src": "54300:41:1" + "src": "55843:41:0" }, { "attributes": { @@ -71184,19 +71184,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 3031, + "id": 2523, "name": "Literal", - "src": "54343:51:1" + "src": "55886:51:0" } ], - "id": 3032, + "id": 2524, "name": "FunctionCall", - "src": "54292:103:1" + "src": "55835:103:0" } ], - "id": 3033, + "id": 2525, "name": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "children": [ @@ -71238,85 +71238,85 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3071, + "referencedDeclaration": 2563, "type": "function (address,address,uint256,bytes memory)", "value": "_safeTransfer" }, - "id": 3034, + "id": 2526, "name": "Identifier", - "src": "54405:13:1" + "src": "55949:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3015, + "referencedDeclaration": 2507, "type": "address", "value": "from" }, - "id": 3035, + "id": 2527, "name": "Identifier", - "src": "54419:4:1" + "src": "55963:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3017, + "referencedDeclaration": 2509, "type": "address", "value": "to" }, - "id": 3036, + "id": 2528, "name": "Identifier", - "src": "54425:2:1" + "src": "55969:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3037, + "id": 2529, "name": "Identifier", - "src": "54429:7:1" + "src": "55973:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3021, + "referencedDeclaration": 2513, "type": "bytes memory", "value": "_data" }, - "id": 3038, + "id": 2530, "name": "Identifier", - "src": "54438:5:1" + "src": "55982:5:0" } ], - "id": 3039, + "id": 2531, "name": "FunctionCall", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3040, + "id": 2532, "name": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3041, + "id": 2533, "name": "Block", - "src": "54282:169:1" + "src": "55824:172:0" } ], - "id": 3042, + "id": 2534, "name": "FunctionDefinition", - "src": "54169:282:1" + "src": "55711:285:0" }, { "attributes": { @@ -71327,7 +71327,7 @@ null ], "name": "_safeTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -71337,9 +71337,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3043, + "id": 2535, "name": "StructuredDocumentation", - "src": "54457:851:1" + "src": "56004:868:0" }, { "children": [ @@ -71348,7 +71348,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71361,21 +71361,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3044, + "id": 2536, "name": "ElementaryTypeName", - "src": "55336:7:1" + "src": "56901:7:0" } ], - "id": 3045, + "id": 2537, "name": "VariableDeclaration", - "src": "55336:12:1" + "src": "56901:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71388,21 +71388,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3046, + "id": 2538, "name": "ElementaryTypeName", - "src": "55350:7:1" + "src": "56915:7:0" } ], - "id": 3047, + "id": 2539, "name": "VariableDeclaration", - "src": "55350:10:1" + "src": "56915:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71414,21 +71414,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3048, + "id": 2540, "name": "ElementaryTypeName", - "src": "55362:7:1" + "src": "56927:7:0" } ], - "id": 3049, + "id": 2541, "name": "VariableDeclaration", - "src": "55362:15:1" + "src": "56927:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -71440,19 +71440,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3050, + "id": 2542, "name": "ElementaryTypeName", - "src": "55379:5:1" + "src": "56944:5:0" } ], - "id": 3051, + "id": 2543, "name": "VariableDeclaration", - "src": "55379:18:1" + "src": "56944:18:0" } ], - "id": 3052, + "id": 2544, "name": "ParameterList", - "src": "55335:63:1" + "src": "56900:63:0" }, { "attributes": { @@ -71461,9 +71461,9 @@ ] }, "children": [], - "id": 3053, + "id": 2545, "name": "ParameterList", - "src": "55416:0:1" + "src": "56981:0:0" }, { "children": [ @@ -71503,62 +71503,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 3054, + "id": 2546, "name": "Identifier", - "src": "55426:9:1" + "src": "56992:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3055, + "id": 2547, "name": "Identifier", - "src": "55436:4:1" + "src": "57002:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3056, + "id": 2548, "name": "Identifier", - "src": "55442:2:1" + "src": "57008:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3057, + "id": 2549, "name": "Identifier", - "src": "55446:7:1" + "src": "57012:7:0" } ], - "id": 3058, + "id": 2550, "name": "FunctionCall", - "src": "55426:28:1" + "src": "56992:28:0" } ], - "id": 3059, + "id": 2551, "name": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "children": [ @@ -71597,9 +71597,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3060, + "id": 2552, "name": "Identifier", - "src": "55464:7:1" + "src": "57031:7:0" }, { "attributes": { @@ -71639,70 +71639,70 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3061, + "id": 2553, "name": "Identifier", - "src": "55472:22:1" + "src": "57039:22:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3062, + "id": 2554, "name": "Identifier", - "src": "55495:4:1" + "src": "57062:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3063, + "id": 2555, "name": "Identifier", - "src": "55501:2:1" + "src": "57068:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3064, + "id": 2556, "name": "Identifier", - "src": "55505:7:1" + "src": "57072:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3051, + "referencedDeclaration": 2543, "type": "bytes memory", "value": "_data" }, - "id": 3065, + "id": 2557, "name": "Identifier", - "src": "55514:5:1" + "src": "57081:5:0" } ], - "id": 3066, + "id": 2558, "name": "FunctionCall", - "src": "55472:48:1" + "src": "57039:48:0" }, { "attributes": { @@ -71715,29 +71715,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3067, + "id": 2559, "name": "Literal", - "src": "55522:52:1" + "src": "57089:52:0" } ], - "id": 3068, + "id": 2560, "name": "FunctionCall", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3069, + "id": 2561, "name": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3070, + "id": 2562, "name": "Block", - "src": "55416:166:1" + "src": "56981:169:0" } ], - "id": 3071, + "id": 2563, "name": "FunctionDefinition", - "src": "55313:269:1" + "src": "56878:272:0" }, { "attributes": { @@ -71748,7 +71748,7 @@ null ], "name": "_exists", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71758,9 +71758,9 @@ "attributes": { "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3072, + "id": 2564, "name": "StructuredDocumentation", - "src": "55588:292:1" + "src": "57158:299:0" }, { "children": [ @@ -71769,7 +71769,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71781,19 +71781,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3073, + "id": 2565, "name": "ElementaryTypeName", - "src": "55902:7:1" + "src": "57480:7:0" } ], - "id": 3074, + "id": 2566, "name": "VariableDeclaration", - "src": "55902:15:1" + "src": "57480:15:0" } ], - "id": 3075, + "id": 2567, "name": "ParameterList", - "src": "55901:17:1" + "src": "57479:17:0" }, { "children": [ @@ -71802,7 +71802,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71814,25 +71814,25 @@ "name": "bool", "type": "bool" }, - "id": 3076, + "id": 2568, "name": "ElementaryTypeName", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3077, + "id": 2569, "name": "VariableDeclaration", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3078, + "id": 2570, "name": "ParameterList", - "src": "55949:6:1" + "src": "57527:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3078 + "functionReturnParameters": 2570 }, "children": [ { @@ -71863,7 +71863,7 @@ "isPure": false, "lValueRequested": false, "member_name": "contains", - "referencedDeclaration": 2326, + "referencedDeclaration": 1818, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" }, "children": [ @@ -71872,51 +71872,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3079, + "id": 2571, "name": "Identifier", - "src": "55973:12:1" + "src": "57552:12:0" } ], - "id": 3080, + "id": 2572, "name": "MemberAccess", - "src": "55973:21:1" + "src": "57552:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3074, + "referencedDeclaration": 2566, "type": "uint256", "value": "tokenId" }, - "id": 3081, + "id": 2573, "name": "Identifier", - "src": "55995:7:1" + "src": "57574:7:0" } ], - "id": 3082, + "id": 2574, "name": "FunctionCall", - "src": "55973:30:1" + "src": "57552:30:0" } ], - "id": 3083, + "id": 2575, "name": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ], - "id": 3084, + "id": 2576, "name": "Block", - "src": "55956:54:1" + "src": "57534:56:0" } ], - "id": 3085, + "id": 2577, "name": "FunctionDefinition", - "src": "55885:125:1" + "src": "57463:127:0" }, { "attributes": { @@ -71927,7 +71927,7 @@ null ], "name": "_isApprovedOrOwner", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71937,9 +71937,9 @@ "attributes": { "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3086, + "id": 2578, "name": "StructuredDocumentation", - "src": "56016:147:1" + "src": "57598:153:0" }, { "children": [ @@ -71948,7 +71948,7 @@ "constant": false, "mutability": "mutable", "name": "spender", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71961,21 +71961,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3087, + "id": 2579, "name": "ElementaryTypeName", - "src": "56196:7:1" + "src": "57785:7:0" } ], - "id": 3088, + "id": 2580, "name": "VariableDeclaration", - "src": "56196:15:1" + "src": "57785:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71987,19 +71987,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3089, + "id": 2581, "name": "ElementaryTypeName", - "src": "56213:7:1" + "src": "57802:7:0" } ], - "id": 3090, + "id": 2582, "name": "VariableDeclaration", - "src": "56213:15:1" + "src": "57802:15:0" } ], - "id": 3091, + "id": 2583, "name": "ParameterList", - "src": "56195:34:1" + "src": "57784:34:0" }, { "children": [ @@ -72008,7 +72008,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -72020,19 +72020,19 @@ "name": "bool", "type": "bool" }, - "id": 3092, + "id": 2584, "name": "ElementaryTypeName", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3093, + "id": 2585, "name": "VariableDeclaration", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3094, + "id": 2586, "name": "ParameterList", - "src": "56260:6:1" + "src": "57849:6:0" }, { "children": [ @@ -72073,9 +72073,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3095, + "id": 2587, "name": "Identifier", - "src": "56277:7:1" + "src": "57867:7:0" }, { "attributes": { @@ -72103,31 +72103,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3096, + "id": 2588, "name": "Identifier", - "src": "56285:7:1" + "src": "57875:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3097, + "id": 2589, "name": "Identifier", - "src": "56293:7:1" + "src": "57883:7:0" } ], - "id": 3098, + "id": 2590, "name": "FunctionCall", - "src": "56285:16:1" + "src": "57875:16:0" }, { "attributes": { @@ -72140,24 +72140,24 @@ "type": "literal_string \"ERC721: operator query for nonexistent token\"", "value": "ERC721: operator query for nonexistent token" }, - "id": 3099, + "id": 2591, "name": "Literal", - "src": "56303:46:1" + "src": "57893:46:0" } ], - "id": 3100, + "id": 2592, "name": "FunctionCall", - "src": "56277:73:1" + "src": "57867:73:0" } ], - "id": 3101, + "id": 2593, "name": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "attributes": { "assignments": [ - 3103 + 2595 ] }, "children": [ @@ -72166,7 +72166,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3126, + "scope": 2618, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72179,14 +72179,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3102, + "id": 2594, "name": "ElementaryTypeName", - "src": "56360:7:1" + "src": "57951:7:0" } ], - "id": 3103, + "id": 2595, "name": "VariableDeclaration", - "src": "56360:13:1" + "src": "57951:13:0" }, { "attributes": { @@ -72216,7 +72216,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -72225,45 +72225,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3104, + "id": 2596, "name": "Identifier", - "src": "56376:6:1" + "src": "57967:6:0" } ], - "id": 3105, + "id": 2597, "name": "MemberAccess", - "src": "56376:14:1" + "src": "57967:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3106, + "id": 2598, "name": "Identifier", - "src": "56391:7:1" + "src": "57982:7:0" } ], - "id": 3107, + "id": 2599, "name": "FunctionCall", - "src": "56376:23:1" + "src": "57967:23:0" } ], - "id": 3108, + "id": 2600, "name": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "attributes": { - "functionReturnParameters": 3094 + "functionReturnParameters": 2586 }, "children": [ { @@ -72323,31 +72323,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3109, + "id": 2601, "name": "Identifier", - "src": "56417:7:1" + "src": "58009:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3110, + "id": 2602, "name": "Identifier", - "src": "56428:5:1" + "src": "58020:5:0" } ], - "id": 3111, + "id": 2603, "name": "BinaryOperation", - "src": "56417:16:1" + "src": "58009:16:0" }, { "attributes": { @@ -72389,54 +72389,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2914, + "referencedDeclaration": 2406, "type": "function (uint256) view returns (address)", "value": "getApproved" }, - "id": 3112, + "id": 2604, "name": "Identifier", - "src": "56437:11:1" + "src": "58029:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3113, + "id": 2605, "name": "Identifier", - "src": "56449:7:1" + "src": "58041:7:0" } ], - "id": 3114, + "id": 2606, "name": "FunctionCall", - "src": "56437:20:1" + "src": "58029:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3115, + "id": 2607, "name": "Identifier", - "src": "56461:7:1" + "src": "58053:7:0" } ], - "id": 3116, + "id": 2608, "name": "BinaryOperation", - "src": "56437:31:1" + "src": "58029:31:0" } ], - "id": 3117, + "id": 2609, "name": "BinaryOperation", - "src": "56417:51:1" + "src": "58009:51:0" }, { "attributes": { @@ -72470,7 +72470,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -72479,74 +72479,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3118, + "id": 2610, "name": "Identifier", - "src": "56472:6:1" + "src": "58064:6:0" } ], - "id": 3119, + "id": 2611, "name": "MemberAccess", - "src": "56472:23:1" + "src": "58064:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3120, + "id": 2612, "name": "Identifier", - "src": "56496:5:1" + "src": "58088:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3121, + "id": 2613, "name": "Identifier", - "src": "56503:7:1" + "src": "58095:7:0" } ], - "id": 3122, + "id": 2614, "name": "FunctionCall", - "src": "56472:39:1" + "src": "58064:39:0" } ], - "id": 3123, + "id": 2615, "name": "BinaryOperation", - "src": "56417:94:1" + "src": "58009:94:0" } ], - "id": 3124, + "id": 2616, "name": "TupleExpression", - "src": "56416:96:1" + "src": "58008:96:0" } ], - "id": 3125, + "id": 2617, "name": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ], - "id": 3126, + "id": 2618, "name": "Block", - "src": "56267:252:1" + "src": "57856:256:0" } ], - "id": 3127, + "id": 2619, "name": "FunctionDefinition", - "src": "56168:351:1" + "src": "57757:355:0" }, { "attributes": { @@ -72557,7 +72557,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72567,9 +72567,9 @@ "attributes": { "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3128, + "id": 2620, "name": "StructuredDocumentation", - "src": "56525:320:1" + "src": "58120:329:0" }, { "children": [ @@ -72578,7 +72578,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72591,21 +72591,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3129, + "id": 2621, "name": "ElementaryTypeName", - "src": "56869:7:1" + "src": "58474:7:0" } ], - "id": 3130, + "id": 2622, "name": "VariableDeclaration", - "src": "56869:10:1" + "src": "58474:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72617,19 +72617,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3131, + "id": 2623, "name": "ElementaryTypeName", - "src": "56881:7:1" + "src": "58486:7:0" } ], - "id": 3132, + "id": 2624, "name": "VariableDeclaration", - "src": "56881:15:1" + "src": "58486:15:0" } ], - "id": 3133, + "id": 2625, "name": "ParameterList", - "src": "56868:29:1" + "src": "58473:29:0" }, { "attributes": { @@ -72638,9 +72638,9 @@ ] }, "children": [], - "id": 3134, + "id": 2626, "name": "ParameterList", - "src": "56915:0:1" + "src": "58520:0:0" }, { "children": [ @@ -72678,42 +72678,42 @@ } ], "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, + "referencedDeclaration": 2663, "type": "function (address,uint256,bytes memory)", "value": "_safeMint" }, - "id": 3135, + "id": 2627, "name": "Identifier", - "src": "56925:9:1" + "src": "58531:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3130, + "referencedDeclaration": 2622, "type": "address", "value": "to" }, - "id": 3136, + "id": 2628, "name": "Identifier", - "src": "56935:2:1" + "src": "58541:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3132, + "referencedDeclaration": 2624, "type": "uint256", "value": "tokenId" }, - "id": 3137, + "id": 2629, "name": "Identifier", - "src": "56939:7:1" + "src": "58545:7:0" }, { "attributes": { @@ -72726,29 +72726,29 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3138, + "id": 2630, "name": "Literal", - "src": "56948:2:1" + "src": "58554:2:0" } ], - "id": 3139, + "id": 2631, "name": "FunctionCall", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3140, + "id": 2632, "name": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3141, + "id": 2633, "name": "Block", - "src": "56915:43:1" + "src": "58520:45:0" } ], - "id": 3142, + "id": 2634, "name": "FunctionDefinition", - "src": "56850:108:1" + "src": "58455:110:0" }, { "attributes": { @@ -72759,7 +72759,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72769,9 +72769,9 @@ "attributes": { "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3143, + "id": 2635, "name": "StructuredDocumentation", - "src": "56964:210:1" + "src": "58573:213:0" }, { "children": [ @@ -72780,7 +72780,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72793,21 +72793,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3144, + "id": 2636, "name": "ElementaryTypeName", - "src": "57198:7:1" + "src": "58811:7:0" } ], - "id": 3145, + "id": 2637, "name": "VariableDeclaration", - "src": "57198:10:1" + "src": "58811:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72819,21 +72819,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3146, + "id": 2638, "name": "ElementaryTypeName", - "src": "57210:7:1" + "src": "58823:7:0" } ], - "id": 3147, + "id": 2639, "name": "VariableDeclaration", - "src": "57210:15:1" + "src": "58823:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -72845,19 +72845,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3148, + "id": 2640, "name": "ElementaryTypeName", - "src": "57227:5:1" + "src": "58840:5:0" } ], - "id": 3149, + "id": 2641, "name": "VariableDeclaration", - "src": "57227:18:1" + "src": "58840:18:0" } ], - "id": 3150, + "id": 2642, "name": "ParameterList", - "src": "57197:49:1" + "src": "58810:49:0" }, { "attributes": { @@ -72866,9 +72866,9 @@ ] }, "children": [], - "id": 3151, + "id": 2643, "name": "ParameterList", - "src": "57264:0:1" + "src": "58877:0:0" }, { "children": [ @@ -72904,49 +72904,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3230, + "referencedDeclaration": 2722, "type": "function (address,uint256)", "value": "_mint" }, - "id": 3152, + "id": 2644, "name": "Identifier", - "src": "57274:5:1" + "src": "58888:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3153, + "id": 2645, "name": "Identifier", - "src": "57280:2:1" + "src": "58894:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3154, + "id": 2646, "name": "Identifier", - "src": "57284:7:1" + "src": "58898:7:0" } ], - "id": 3155, + "id": 2647, "name": "FunctionCall", - "src": "57274:18:1" + "src": "58888:18:0" } ], - "id": 3156, + "id": 2648, "name": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "children": [ @@ -72985,9 +72985,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3157, + "id": 2649, "name": "Identifier", - "src": "57302:7:1" + "src": "58917:7:0" }, { "attributes": { @@ -73027,13 +73027,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3158, + "id": 2650, "name": "Identifier", - "src": "57310:22:1" + "src": "58925:22:0" }, { "attributes": { @@ -73069,14 +73069,14 @@ "attributes": { "name": "address" }, - "id": 3159, + "id": 2651, "name": "ElementaryTypeName", - "src": "57333:7:1" + "src": "58948:7:0" } ], - "id": 3160, + "id": 2652, "name": "ElementaryTypeNameExpression", - "src": "57333:7:1" + "src": "58948:7:0" }, { "attributes": { @@ -73089,58 +73089,58 @@ "type": "int_const 0", "value": "0" }, - "id": 3161, + "id": 2653, "name": "Literal", - "src": "57341:1:1" + "src": "58956:1:0" } ], - "id": 3162, + "id": 2654, "name": "FunctionCall", - "src": "57333:10:1" + "src": "58948:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3163, + "id": 2655, "name": "Identifier", - "src": "57345:2:1" + "src": "58960:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3164, + "id": 2656, "name": "Identifier", - "src": "57349:7:1" + "src": "58964:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3149, + "referencedDeclaration": 2641, "type": "bytes memory", "value": "_data" }, - "id": 3165, + "id": 2657, "name": "Identifier", - "src": "57358:5:1" + "src": "58973:5:0" } ], - "id": 3166, + "id": 2658, "name": "FunctionCall", - "src": "57310:54:1" + "src": "58925:54:0" }, { "attributes": { @@ -73153,29 +73153,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3167, + "id": 2659, "name": "Literal", - "src": "57366:52:1" + "src": "58981:52:0" } ], - "id": 3168, + "id": 2660, "name": "FunctionCall", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3169, + "id": 2661, "name": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3170, + "id": 2662, "name": "Block", - "src": "57264:162:1" + "src": "58877:165:0" } ], - "id": 3171, + "id": 2663, "name": "FunctionDefinition", - "src": "57179:247:1" + "src": "58792:250:0" }, { "attributes": { @@ -73186,7 +73186,7 @@ null ], "name": "_mint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -73196,9 +73196,9 @@ "attributes": { "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3172, + "id": 2664, "name": "StructuredDocumentation", - "src": "57432:311:1" + "src": "59050:322:0" }, { "children": [ @@ -73207,7 +73207,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -73220,21 +73220,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3173, + "id": 2665, "name": "ElementaryTypeName", - "src": "57763:7:1" + "src": "59393:7:0" } ], - "id": 3174, + "id": 2666, "name": "VariableDeclaration", - "src": "57763:10:1" + "src": "59393:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -73246,19 +73246,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3175, + "id": 2667, "name": "ElementaryTypeName", - "src": "57775:7:1" + "src": "59405:7:0" } ], - "id": 3176, + "id": 2668, "name": "VariableDeclaration", - "src": "57775:15:1" + "src": "59405:15:0" } ], - "id": 3177, + "id": 2669, "name": "ParameterList", - "src": "57762:29:1" + "src": "59392:29:0" }, { "attributes": { @@ -73267,9 +73267,9 @@ ] }, "children": [], - "id": 3178, + "id": 2670, "name": "ParameterList", - "src": "57809:0:1" + "src": "59439:0:0" }, { "children": [ @@ -73310,9 +73310,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3179, + "id": 2671, "name": "Identifier", - "src": "57819:7:1" + "src": "59450:7:0" }, { "attributes": { @@ -73333,13 +73333,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3180, + "id": 2672, "name": "Identifier", - "src": "57827:2:1" + "src": "59458:2:0" }, { "attributes": { @@ -73375,14 +73375,14 @@ "attributes": { "name": "address" }, - "id": 3181, + "id": 2673, "name": "ElementaryTypeName", - "src": "57833:7:1" + "src": "59464:7:0" } ], - "id": 3182, + "id": 2674, "name": "ElementaryTypeNameExpression", - "src": "57833:7:1" + "src": "59464:7:0" }, { "attributes": { @@ -73395,19 +73395,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3183, + "id": 2675, "name": "Literal", - "src": "57841:1:1" + "src": "59472:1:0" } ], - "id": 3184, + "id": 2676, "name": "FunctionCall", - "src": "57833:10:1" + "src": "59464:10:0" } ], - "id": 3185, + "id": 2677, "name": "BinaryOperation", - "src": "57827:16:1" + "src": "59458:16:0" }, { "attributes": { @@ -73420,19 +73420,19 @@ "type": "literal_string \"ERC721: mint to the zero address\"", "value": "ERC721: mint to the zero address" }, - "id": 3186, + "id": 2678, "name": "Literal", - "src": "57845:34:1" + "src": "59476:34:0" } ], - "id": 3187, + "id": 2679, "name": "FunctionCall", - "src": "57819:61:1" + "src": "59450:61:0" } ], - "id": 3188, + "id": 2680, "name": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "children": [ @@ -73471,9 +73471,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3189, + "id": 2681, "name": "Identifier", - "src": "57890:7:1" + "src": "59522:7:0" }, { "attributes": { @@ -73512,36 +73512,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3190, + "id": 2682, "name": "Identifier", - "src": "57899:7:1" + "src": "59531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3191, + "id": 2683, "name": "Identifier", - "src": "57907:7:1" + "src": "59539:7:0" } ], - "id": 3192, + "id": 2684, "name": "FunctionCall", - "src": "57899:16:1" + "src": "59531:16:0" } ], - "id": 3193, + "id": 2685, "name": "UnaryOperation", - "src": "57898:17:1" + "src": "59530:17:0" }, { "attributes": { @@ -73554,19 +73554,19 @@ "type": "literal_string \"ERC721: token already minted\"", "value": "ERC721: token already minted" }, - "id": 3194, + "id": 2686, "name": "Literal", - "src": "57917:30:1" + "src": "59549:30:0" } ], - "id": 3195, + "id": 2687, "name": "FunctionCall", - "src": "57890:58:1" + "src": "59522:58:0" } ], - "id": 3196, + "id": 2688, "name": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "children": [ @@ -73604,13 +73604,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3197, + "id": 2689, "name": "Identifier", - "src": "57959:20:1" + "src": "59593:20:0" }, { "attributes": { @@ -73646,14 +73646,14 @@ "attributes": { "name": "address" }, - "id": 3198, + "id": 2690, "name": "ElementaryTypeName", - "src": "57980:7:1" + "src": "59614:7:0" } ], - "id": 3199, + "id": 2691, "name": "ElementaryTypeNameExpression", - "src": "57980:7:1" + "src": "59614:7:0" }, { "attributes": { @@ -73666,50 +73666,50 @@ "type": "int_const 0", "value": "0" }, - "id": 3200, + "id": 2692, "name": "Literal", - "src": "57988:1:1" + "src": "59622:1:0" } ], - "id": 3201, + "id": 2693, "name": "FunctionCall", - "src": "57980:10:1" + "src": "59614:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3202, + "id": 2694, "name": "Identifier", - "src": "57992:2:1" + "src": "59626:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3203, + "id": 2695, "name": "Identifier", - "src": "57996:7:1" + "src": "59630:7:0" } ], - "id": 3204, + "id": 2696, "name": "FunctionCall", - "src": "57959:45:1" + "src": "59593:45:0" } ], - "id": 3205, + "id": 2697, "name": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "children": [ @@ -73741,7 +73741,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -73759,59 +73759,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3206, + "id": 2698, "name": "Identifier", - "src": "58015:13:1" + "src": "59651:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3207, + "id": 2699, "name": "Identifier", - "src": "58029:2:1" + "src": "59665:2:0" } ], - "id": 3208, + "id": 2700, "name": "IndexAccess", - "src": "58015:17:1" + "src": "59651:17:0" } ], - "id": 3209, + "id": 2701, "name": "MemberAccess", - "src": "58015:21:1" + "src": "59651:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3210, + "id": 2702, "name": "Identifier", - "src": "58037:7:1" + "src": "59673:7:0" } ], - "id": 3211, + "id": 2703, "name": "FunctionCall", - "src": "58015:30:1" + "src": "59651:30:0" } ], - "id": 3212, + "id": 2704, "name": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "children": [ @@ -73847,7 +73847,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -73856,54 +73856,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3213, + "id": 2705, "name": "Identifier", - "src": "58056:12:1" + "src": "59694:12:0" } ], - "id": 3215, + "id": 2707, "name": "MemberAccess", - "src": "58056:16:1" + "src": "59694:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3216, + "id": 2708, "name": "Identifier", - "src": "58073:7:1" + "src": "59711:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3217, + "id": 2709, "name": "Identifier", - "src": "58082:2:1" + "src": "59720:2:0" } ], - "id": 3218, + "id": 2710, "name": "FunctionCall", - "src": "58056:29:1" + "src": "59694:29:0" } ], - "id": 3219, + "id": 2711, "name": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "children": [ @@ -73941,13 +73941,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3220, + "id": 2712, "name": "Identifier", - "src": "58101:8:1" + "src": "59741:8:0" }, { "attributes": { @@ -73983,14 +73983,14 @@ "attributes": { "name": "address" }, - "id": 3221, + "id": 2713, "name": "ElementaryTypeName", - "src": "58110:7:1" + "src": "59750:7:0" } ], - "id": 3222, + "id": 2714, "name": "ElementaryTypeNameExpression", - "src": "58110:7:1" + "src": "59750:7:0" }, { "attributes": { @@ -74003,60 +74003,60 @@ "type": "int_const 0", "value": "0" }, - "id": 3223, + "id": 2715, "name": "Literal", - "src": "58118:1:1" + "src": "59758:1:0" } ], - "id": 3224, + "id": 2716, "name": "FunctionCall", - "src": "58110:10:1" + "src": "59750:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3225, + "id": 2717, "name": "Identifier", - "src": "58122:2:1" + "src": "59762:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3226, + "id": 2718, "name": "Identifier", - "src": "58126:7:1" + "src": "59766:7:0" } ], - "id": 3227, + "id": 2719, "name": "FunctionCall", - "src": "58101:33:1" + "src": "59741:33:0" } ], - "id": 3228, + "id": 2720, "name": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ], - "id": 3229, + "id": 2721, "name": "Block", - "src": "57809:332:1" + "src": "59439:343:0" } ], - "id": 3230, + "id": 2722, "name": "FunctionDefinition", - "src": "57748:393:1" + "src": "59378:404:0" }, { "attributes": { @@ -74067,7 +74067,7 @@ null ], "name": "_burn", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -74077,9 +74077,9 @@ "attributes": { "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3231, + "id": 2723, "name": "StructuredDocumentation", - "src": "58147:206:1" + "src": "59790:215:0" }, { "children": [ @@ -74088,7 +74088,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3299, + "scope": 2791, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -74100,19 +74100,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3232, + "id": 2724, "name": "ElementaryTypeName", - "src": "58373:7:1" + "src": "60026:7:0" } ], - "id": 3233, + "id": 2725, "name": "VariableDeclaration", - "src": "58373:15:1" + "src": "60026:15:0" } ], - "id": 3234, + "id": 2726, "name": "ParameterList", - "src": "58372:17:1" + "src": "60025:17:0" }, { "attributes": { @@ -74121,16 +74121,16 @@ ] }, "children": [], - "id": 3235, + "id": 2727, "name": "ParameterList", - "src": "58407:0:1" + "src": "60060:0:0" }, { "children": [ { "attributes": { "assignments": [ - 3237 + 2729 ] }, "children": [ @@ -74139,7 +74139,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3298, + "scope": 2790, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74152,14 +74152,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3236, + "id": 2728, "name": "ElementaryTypeName", - "src": "58417:7:1" + "src": "60071:7:0" } ], - "id": 3237, + "id": 2729, "name": "VariableDeclaration", - "src": "58417:13:1" + "src": "60071:13:0" }, { "attributes": { @@ -74189,7 +74189,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -74198,41 +74198,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3238, + "id": 2730, "name": "Identifier", - "src": "58433:6:1" + "src": "60087:6:0" } ], - "id": 3239, + "id": 2731, "name": "MemberAccess", - "src": "58433:14:1" + "src": "60087:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3240, + "id": 2732, "name": "Identifier", - "src": "58448:7:1" + "src": "60102:7:0" } ], - "id": 3241, + "id": 2733, "name": "FunctionCall", - "src": "58433:23:1" + "src": "60087:23:0" } ], - "id": 3242, + "id": 2734, "name": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "children": [ @@ -74270,26 +74270,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3243, + "id": 2735, "name": "Identifier", - "src": "58485:20:1" + "src": "60141:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3244, + "id": 2736, "name": "Identifier", - "src": "58506:5:1" + "src": "60162:5:0" }, { "attributes": { @@ -74325,14 +74325,14 @@ "attributes": { "name": "address" }, - "id": 3245, + "id": 2737, "name": "ElementaryTypeName", - "src": "58513:7:1" + "src": "60169:7:0" } ], - "id": 3246, + "id": 2738, "name": "ElementaryTypeNameExpression", - "src": "58513:7:1" + "src": "60169:7:0" }, { "attributes": { @@ -74345,37 +74345,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3247, + "id": 2739, "name": "Literal", - "src": "58521:1:1" + "src": "60177:1:0" } ], - "id": 3248, + "id": 2740, "name": "FunctionCall", - "src": "58513:10:1" + "src": "60169:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3249, + "id": 2741, "name": "Identifier", - "src": "58525:7:1" + "src": "60181:7:0" } ], - "id": 3250, + "id": 2742, "name": "FunctionCall", - "src": "58485:48:1" + "src": "60141:48:0" } ], - "id": 3251, + "id": 2743, "name": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "children": [ @@ -74409,13 +74409,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3252, + "id": 2744, "name": "Identifier", - "src": "58571:8:1" + "src": "60230:8:0" }, { "attributes": { @@ -74451,14 +74451,14 @@ "attributes": { "name": "address" }, - "id": 3253, + "id": 2745, "name": "ElementaryTypeName", - "src": "58580:7:1" + "src": "60239:7:0" } ], - "id": 3254, + "id": 2746, "name": "ElementaryTypeNameExpression", - "src": "58580:7:1" + "src": "60239:7:0" }, { "attributes": { @@ -74471,37 +74471,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3255, + "id": 2747, "name": "Literal", - "src": "58588:1:1" + "src": "60247:1:0" } ], - "id": 3256, + "id": 2748, "name": "FunctionCall", - "src": "58580:10:1" + "src": "60239:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3257, + "id": 2749, "name": "Identifier", - "src": "58592:7:1" + "src": "60251:7:0" } ], - "id": 3258, + "id": 2750, "name": "FunctionCall", - "src": "58571:29:1" + "src": "60230:29:0" } ], - "id": 3259, + "id": 2751, "name": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "attributes": {}, @@ -74564,14 +74564,14 @@ "attributes": { "name": "bytes" }, - "id": 3260, + "id": 2752, "name": "ElementaryTypeName", - "src": "58650:5:1" + "src": "60312:5:0" } ], - "id": 3261, + "id": 2753, "name": "ElementaryTypeNameExpression", - "src": "58650:5:1" + "src": "60312:5:0" }, { "attributes": { @@ -74587,41 +74587,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3262, + "id": 2754, "name": "Identifier", - "src": "58656:10:1" + "src": "60318:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3263, + "id": 2755, "name": "Identifier", - "src": "58667:7:1" + "src": "60329:7:0" } ], - "id": 3264, + "id": 2756, "name": "IndexAccess", - "src": "58656:19:1" + "src": "60318:19:0" } ], - "id": 3265, + "id": 2757, "name": "FunctionCall", - "src": "58650:26:1" + "src": "60312:26:0" } ], - "id": 3266, + "id": 2758, "name": "MemberAccess", - "src": "58650:33:1" + "src": "60312:33:0" }, { "attributes": { @@ -74634,14 +74634,14 @@ "type": "int_const 0", "value": "0" }, - "id": 3267, + "id": 2759, "name": "Literal", - "src": "58687:1:1" + "src": "60349:1:0" } ], - "id": 3268, + "id": 2760, "name": "BinaryOperation", - "src": "58650:38:1" + "src": "60312:38:0" }, { "children": [ @@ -74672,51 +74672,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3269, + "id": 2761, "name": "Identifier", - "src": "58711:10:1" + "src": "60374:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3270, + "id": 2762, "name": "Identifier", - "src": "58722:7:1" + "src": "60385:7:0" } ], - "id": 3271, + "id": 2763, "name": "IndexAccess", - "src": "58711:19:1" + "src": "60374:19:0" } ], - "id": 3272, + "id": 2764, "name": "UnaryOperation", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3273, + "id": 2765, "name": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3274, + "id": 2766, "name": "Block", - "src": "58690:51:1" + "src": "60352:53:0" } ], - "id": 3275, + "id": 2767, "name": "IfStatement", - "src": "58646:95:1" + "src": "60308:97:0" }, { "children": [ @@ -74748,7 +74748,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -74766,59 +74766,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3276, + "id": 2768, "name": "Identifier", - "src": "58751:13:1" + "src": "60417:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3277, + "id": 2769, "name": "Identifier", - "src": "58765:5:1" + "src": "60431:5:0" } ], - "id": 3278, + "id": 2770, "name": "IndexAccess", - "src": "58751:20:1" + "src": "60417:20:0" } ], - "id": 3279, + "id": 2771, "name": "MemberAccess", - "src": "58751:27:1" + "src": "60417:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3280, + "id": 2772, "name": "Identifier", - "src": "58779:7:1" + "src": "60445:7:0" } ], - "id": 3281, + "id": 2773, "name": "FunctionCall", - "src": "58751:36:1" + "src": "60417:36:0" } ], - "id": 3282, + "id": 2774, "name": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "children": [ @@ -74850,7 +74850,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 2306, + "referencedDeclaration": 1798, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" }, "children": [ @@ -74859,41 +74859,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3283, + "id": 2775, "name": "Identifier", - "src": "58798:12:1" + "src": "60466:12:0" } ], - "id": 3285, + "id": 2777, "name": "MemberAccess", - "src": "58798:19:1" + "src": "60466:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3286, + "id": 2778, "name": "Identifier", - "src": "58818:7:1" + "src": "60486:7:0" } ], - "id": 3287, + "id": 2779, "name": "FunctionCall", - "src": "58798:28:1" + "src": "60466:28:0" } ], - "id": 3288, + "id": 2780, "name": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "children": [ @@ -74931,26 +74931,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3289, + "id": 2781, "name": "Identifier", - "src": "58842:8:1" + "src": "60512:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3290, + "id": 2782, "name": "Identifier", - "src": "58851:5:1" + "src": "60521:5:0" }, { "attributes": { @@ -74986,14 +74986,14 @@ "attributes": { "name": "address" }, - "id": 3291, + "id": 2783, "name": "ElementaryTypeName", - "src": "58858:7:1" + "src": "60528:7:0" } ], - "id": 3292, + "id": 2784, "name": "ElementaryTypeNameExpression", - "src": "58858:7:1" + "src": "60528:7:0" }, { "attributes": { @@ -75006,47 +75006,47 @@ "type": "int_const 0", "value": "0" }, - "id": 3293, + "id": 2785, "name": "Literal", - "src": "58866:1:1" + "src": "60536:1:0" } ], - "id": 3294, + "id": 2786, "name": "FunctionCall", - "src": "58858:10:1" + "src": "60528:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3295, + "id": 2787, "name": "Identifier", - "src": "58870:7:1" + "src": "60540:7:0" } ], - "id": 3296, + "id": 2788, "name": "FunctionCall", - "src": "58842:36:1" + "src": "60512:36:0" } ], - "id": 3297, + "id": 2789, "name": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ], - "id": 3298, + "id": 2790, "name": "Block", - "src": "58407:478:1" + "src": "60060:496:0" } ], - "id": 3299, + "id": 2791, "name": "FunctionDefinition", - "src": "58358:527:1" + "src": "60011:545:0" }, { "attributes": { @@ -75057,7 +75057,7 @@ null ], "name": "_transfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -75067,9 +75067,9 @@ "attributes": { "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3300, + "id": 2792, "name": "StructuredDocumentation", - "src": "58891:313:1" + "src": "60564:323:0" }, { "children": [ @@ -75078,7 +75078,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -75091,21 +75091,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3301, + "id": 2793, "name": "ElementaryTypeName", - "src": "59228:7:1" + "src": "60912:7:0" } ], - "id": 3302, + "id": 2794, "name": "VariableDeclaration", - "src": "59228:12:1" + "src": "60912:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -75118,21 +75118,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3303, + "id": 2795, "name": "ElementaryTypeName", - "src": "59242:7:1" + "src": "60926:7:0" } ], - "id": 3304, + "id": 2796, "name": "VariableDeclaration", - "src": "59242:10:1" + "src": "60926:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -75144,19 +75144,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3305, + "id": 2797, "name": "ElementaryTypeName", - "src": "59254:7:1" + "src": "60938:7:0" } ], - "id": 3306, + "id": 2798, "name": "VariableDeclaration", - "src": "59254:15:1" + "src": "60938:15:0" } ], - "id": 3307, + "id": 2799, "name": "ParameterList", - "src": "59227:43:1" + "src": "60911:43:0" }, { "attributes": { @@ -75165,9 +75165,9 @@ ] }, "children": [], - "id": 3308, + "id": 2800, "name": "ParameterList", - "src": "59288:0:1" + "src": "60972:0:0" }, { "children": [ @@ -75208,9 +75208,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3309, + "id": 2801, "name": "Identifier", - "src": "59298:7:1" + "src": "60983:7:0" }, { "attributes": { @@ -75254,7 +75254,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -75263,54 +75263,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3310, + "id": 2802, "name": "Identifier", - "src": "59306:6:1" + "src": "60991:6:0" } ], - "id": 3311, + "id": 2803, "name": "MemberAccess", - "src": "59306:14:1" + "src": "60991:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3312, + "id": 2804, "name": "Identifier", - "src": "59321:7:1" + "src": "61006:7:0" } ], - "id": 3313, + "id": 2805, "name": "FunctionCall", - "src": "59306:23:1" + "src": "60991:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3314, + "id": 2806, "name": "Identifier", - "src": "59333:4:1" + "src": "61018:4:0" } ], - "id": 3315, + "id": 2807, "name": "BinaryOperation", - "src": "59306:31:1" + "src": "60991:31:0" }, { "attributes": { @@ -75323,19 +75323,19 @@ "type": "literal_string \"ERC721: transfer of token that is not own\"", "value": "ERC721: transfer of token that is not own" }, - "id": 3316, + "id": 2808, "name": "Literal", - "src": "59339:43:1" + "src": "61024:43:0" } ], - "id": 3317, + "id": 2809, "name": "FunctionCall", - "src": "59298:85:1" + "src": "60983:85:0" } ], - "id": 3318, + "id": 2810, "name": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "children": [ @@ -75374,9 +75374,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3319, + "id": 2811, "name": "Identifier", - "src": "59411:7:1" + "src": "61097:7:0" }, { "attributes": { @@ -75397,13 +75397,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3320, + "id": 2812, "name": "Identifier", - "src": "59419:2:1" + "src": "61105:2:0" }, { "attributes": { @@ -75439,14 +75439,14 @@ "attributes": { "name": "address" }, - "id": 3321, + "id": 2813, "name": "ElementaryTypeName", - "src": "59425:7:1" + "src": "61111:7:0" } ], - "id": 3322, + "id": 2814, "name": "ElementaryTypeNameExpression", - "src": "59425:7:1" + "src": "61111:7:0" }, { "attributes": { @@ -75459,19 +75459,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3323, + "id": 2815, "name": "Literal", - "src": "59433:1:1" + "src": "61119:1:0" } ], - "id": 3324, + "id": 2816, "name": "FunctionCall", - "src": "59425:10:1" + "src": "61111:10:0" } ], - "id": 3325, + "id": 2817, "name": "BinaryOperation", - "src": "59419:16:1" + "src": "61105:16:0" }, { "attributes": { @@ -75484,19 +75484,19 @@ "type": "literal_string \"ERC721: transfer to the zero address\"", "value": "ERC721: transfer to the zero address" }, - "id": 3326, + "id": 2818, "name": "Literal", - "src": "59437:38:1" + "src": "61123:38:0" } ], - "id": 3327, + "id": 2819, "name": "FunctionCall", - "src": "59411:65:1" + "src": "61097:65:0" } ], - "id": 3328, + "id": 2820, "name": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "children": [ @@ -75534,62 +75534,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3329, + "id": 2821, "name": "Identifier", - "src": "59487:20:1" + "src": "61175:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3330, + "id": 2822, "name": "Identifier", - "src": "59508:4:1" + "src": "61196:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3331, + "id": 2823, "name": "Identifier", - "src": "59514:2:1" + "src": "61202:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3332, + "id": 2824, "name": "Identifier", - "src": "59518:7:1" + "src": "61206:7:0" } ], - "id": 3333, + "id": 2825, "name": "FunctionCall", - "src": "59487:39:1" + "src": "61175:39:0" } ], - "id": 3334, + "id": 2826, "name": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "children": [ @@ -75623,13 +75623,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3335, + "id": 2827, "name": "Identifier", - "src": "59588:8:1" + "src": "61279:8:0" }, { "attributes": { @@ -75665,14 +75665,14 @@ "attributes": { "name": "address" }, - "id": 3336, + "id": 2828, "name": "ElementaryTypeName", - "src": "59597:7:1" + "src": "61288:7:0" } ], - "id": 3337, + "id": 2829, "name": "ElementaryTypeNameExpression", - "src": "59597:7:1" + "src": "61288:7:0" }, { "attributes": { @@ -75685,37 +75685,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3338, + "id": 2830, "name": "Literal", - "src": "59605:1:1" + "src": "61296:1:0" } ], - "id": 3339, + "id": 2831, "name": "FunctionCall", - "src": "59597:10:1" + "src": "61288:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3340, + "id": 2832, "name": "Identifier", - "src": "59609:7:1" + "src": "61300:7:0" } ], - "id": 3341, + "id": 2833, "name": "FunctionCall", - "src": "59588:29:1" + "src": "61279:29:0" } ], - "id": 3342, + "id": 2834, "name": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "children": [ @@ -75747,7 +75747,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75765,59 +75765,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3343, + "id": 2835, "name": "Identifier", - "src": "59628:13:1" + "src": "61321:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3344, + "id": 2836, "name": "Identifier", - "src": "59642:4:1" + "src": "61335:4:0" } ], - "id": 3345, + "id": 2837, "name": "IndexAccess", - "src": "59628:19:1" + "src": "61321:19:0" } ], - "id": 3346, + "id": 2838, "name": "MemberAccess", - "src": "59628:26:1" + "src": "61321:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3347, + "id": 2839, "name": "Identifier", - "src": "59655:7:1" + "src": "61348:7:0" } ], - "id": 3348, + "id": 2840, "name": "FunctionCall", - "src": "59628:35:1" + "src": "61321:35:0" } ], - "id": 3349, + "id": 2841, "name": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "children": [ @@ -75849,7 +75849,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75867,59 +75867,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3350, + "id": 2842, "name": "Identifier", - "src": "59673:13:1" + "src": "61367:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3351, + "id": 2843, "name": "Identifier", - "src": "59687:2:1" + "src": "61381:2:0" } ], - "id": 3352, + "id": 2844, "name": "IndexAccess", - "src": "59673:17:1" + "src": "61367:17:0" } ], - "id": 3353, + "id": 2845, "name": "MemberAccess", - "src": "59673:21:1" + "src": "61367:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3354, + "id": 2846, "name": "Identifier", - "src": "59695:7:1" + "src": "61389:7:0" } ], - "id": 3355, + "id": 2847, "name": "FunctionCall", - "src": "59673:30:1" + "src": "61367:30:0" } ], - "id": 3356, + "id": 2848, "name": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "children": [ @@ -75955,7 +75955,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -75964,54 +75964,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3357, + "id": 2849, "name": "Identifier", - "src": "59714:12:1" + "src": "61410:12:0" } ], - "id": 3359, + "id": 2851, "name": "MemberAccess", - "src": "59714:16:1" + "src": "61410:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3360, + "id": 2852, "name": "Identifier", - "src": "59731:7:1" + "src": "61427:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3361, + "id": 2853, "name": "Identifier", - "src": "59740:2:1" + "src": "61436:2:0" } ], - "id": 3362, + "id": 2854, "name": "FunctionCall", - "src": "59714:29:1" + "src": "61410:29:0" } ], - "id": 3363, + "id": 2855, "name": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "children": [ @@ -76049,72 +76049,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3364, + "id": 2856, "name": "Identifier", - "src": "59759:8:1" + "src": "61457:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3365, + "id": 2857, "name": "Identifier", - "src": "59768:4:1" + "src": "61466:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3366, + "id": 2858, "name": "Identifier", - "src": "59774:2:1" + "src": "61472:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3367, + "id": 2859, "name": "Identifier", - "src": "59778:7:1" + "src": "61476:7:0" } ], - "id": 3368, + "id": 2860, "name": "FunctionCall", - "src": "59759:27:1" + "src": "61457:27:0" } ], - "id": 3369, + "id": 2861, "name": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ], - "id": 3370, + "id": 2862, "name": "Block", - "src": "59288:505:1" + "src": "60972:520:0" } ], - "id": 3371, + "id": 2863, "name": "FunctionDefinition", - "src": "59209:584:1" + "src": "60893:599:0" }, { "attributes": { @@ -76125,7 +76125,7 @@ null ], "name": "_setTokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -76135,9 +76135,9 @@ "attributes": { "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3372, + "id": 2864, "name": "StructuredDocumentation", - "src": "59799:136:1" + "src": "61500:142:0" }, { "children": [ @@ -76146,7 +76146,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -76158,21 +76158,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3373, + "id": 2865, "name": "ElementaryTypeName", - "src": "59962:7:1" + "src": "61670:7:0" } ], - "id": 3374, + "id": 2866, "name": "VariableDeclaration", - "src": "59962:15:1" + "src": "61670:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -76184,19 +76184,19 @@ "name": "string", "type": "string" }, - "id": 3375, + "id": 2867, "name": "ElementaryTypeName", - "src": "59979:6:1" + "src": "61687:6:0" } ], - "id": 3376, + "id": 2868, "name": "VariableDeclaration", - "src": "59979:23:1" + "src": "61687:23:0" } ], - "id": 3377, + "id": 2869, "name": "ParameterList", - "src": "59961:42:1" + "src": "61669:42:0" }, { "attributes": { @@ -76205,9 +76205,9 @@ ] }, "children": [], - "id": 3378, + "id": 2870, "name": "ParameterList", - "src": "60021:0:1" + "src": "61729:0:0" }, { "children": [ @@ -76248,9 +76248,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3379, + "id": 2871, "name": "Identifier", - "src": "60031:7:1" + "src": "61740:7:0" }, { "attributes": { @@ -76278,31 +76278,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3380, + "id": 2872, "name": "Identifier", - "src": "60039:7:1" + "src": "61748:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3381, + "id": 2873, "name": "Identifier", - "src": "60047:7:1" + "src": "61756:7:0" } ], - "id": 3382, + "id": 2874, "name": "FunctionCall", - "src": "60039:16:1" + "src": "61748:16:0" }, { "attributes": { @@ -76315,19 +76315,19 @@ "type": "literal_string \"ERC721Metadata: URI set of nonexistent token\"", "value": "ERC721Metadata: URI set of nonexistent token" }, - "id": 3383, + "id": 2875, "name": "Literal", - "src": "60057:46:1" + "src": "61766:46:0" } ], - "id": 3384, + "id": 2876, "name": "FunctionCall", - "src": "60031:73:1" + "src": "61740:73:0" } ], - "id": 3385, + "id": 2877, "name": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "children": [ @@ -76355,64 +76355,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3386, + "id": 2878, "name": "Identifier", - "src": "60114:10:1" + "src": "61824:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3387, + "id": 2879, "name": "Identifier", - "src": "60125:7:1" + "src": "61835:7:0" } ], - "id": 3388, + "id": 2880, "name": "IndexAccess", - "src": "60114:19:1" + "src": "61824:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3376, + "referencedDeclaration": 2868, "type": "string memory", "value": "_tokenURI" }, - "id": 3389, + "id": 2881, "name": "Identifier", - "src": "60136:9:1" + "src": "61846:9:0" } ], - "id": 3390, + "id": 2882, "name": "Assignment", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3391, + "id": 2883, "name": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3392, + "id": 2884, "name": "Block", - "src": "60021:131:1" + "src": "61729:134:0" } ], - "id": 3393, + "id": 2885, "name": "FunctionDefinition", - "src": "59940:212:1" + "src": "61648:215:0" }, { "attributes": { @@ -76423,7 +76423,7 @@ null ], "name": "_setBaseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -76433,9 +76433,9 @@ "attributes": { "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3394, + "id": 2886, "name": "StructuredDocumentation", - "src": "60158:212:1" + "src": "61871:216:0" }, { "children": [ @@ -76444,7 +76444,7 @@ "constant": false, "mutability": "mutable", "name": "baseURI_", - "scope": 3404, + "scope": 2896, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -76456,19 +76456,19 @@ "name": "string", "type": "string" }, - "id": 3395, + "id": 2887, "name": "ElementaryTypeName", - "src": "60396:6:1" + "src": "62114:6:0" } ], - "id": 3396, + "id": 2888, "name": "VariableDeclaration", - "src": "60396:22:1" + "src": "62114:22:0" } ], - "id": 3397, + "id": 2889, "name": "ParameterList", - "src": "60395:24:1" + "src": "62113:24:0" }, { "attributes": { @@ -76477,9 +76477,9 @@ ] }, "children": [], - "id": 3398, + "id": 2890, "name": "ParameterList", - "src": "60437:0:1" + "src": "62155:0:0" }, { "children": [ @@ -76500,46 +76500,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 3399, + "id": 2891, "name": "Identifier", - "src": "60447:8:1" + "src": "62166:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3396, + "referencedDeclaration": 2888, "type": "string memory", "value": "baseURI_" }, - "id": 3400, + "id": 2892, "name": "Identifier", - "src": "60458:8:1" + "src": "62177:8:0" } ], - "id": 3401, + "id": 2893, "name": "Assignment", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3402, + "id": 2894, "name": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3403, + "id": 2895, "name": "Block", - "src": "60437:36:1" + "src": "62155:38:0" } ], - "id": 3404, + "id": 2896, "name": "FunctionDefinition", - "src": "60375:98:1" + "src": "62093:100:0" }, { "attributes": { @@ -76550,7 +76550,7 @@ null ], "name": "_checkOnERC721Received", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -76560,9 +76560,9 @@ "attributes": { "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3405, + "id": 2897, "name": "StructuredDocumentation", - "src": "60479:542:1" + "src": "62201:551:0" }, { "children": [ @@ -76571,7 +76571,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76584,21 +76584,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3406, + "id": 2898, "name": "ElementaryTypeName", - "src": "61058:7:1" + "src": "62790:7:0" } ], - "id": 3407, + "id": 2899, "name": "VariableDeclaration", - "src": "61058:12:1" + "src": "62790:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76611,21 +76611,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3408, + "id": 2900, "name": "ElementaryTypeName", - "src": "61072:7:1" + "src": "62804:7:0" } ], - "id": 3409, + "id": 2901, "name": "VariableDeclaration", - "src": "61072:10:1" + "src": "62804:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -76637,21 +76637,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3410, + "id": 2902, "name": "ElementaryTypeName", - "src": "61084:7:1" + "src": "62816:7:0" } ], - "id": 3411, + "id": 2903, "name": "VariableDeclaration", - "src": "61084:15:1" + "src": "62816:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76663,19 +76663,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3412, + "id": 2904, "name": "ElementaryTypeName", - "src": "61101:5:1" + "src": "62833:5:0" } ], - "id": 3413, + "id": 2905, "name": "VariableDeclaration", - "src": "61101:18:1" + "src": "62833:18:0" } ], - "id": 3414, + "id": 2906, "name": "ParameterList", - "src": "61057:63:1" + "src": "62789:63:0" }, { "children": [ @@ -76684,7 +76684,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -76696,19 +76696,19 @@ "name": "bool", "type": "bool" }, - "id": 3415, + "id": 2907, "name": "ElementaryTypeName", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3416, + "id": 2908, "name": "VariableDeclaration", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3417, + "id": 2909, "name": "ParameterList", - "src": "61145:6:1" + "src": "62878:6:0" }, { "children": [ @@ -76754,7 +76754,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isContract", - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)" }, "children": [ @@ -76763,34 +76763,34 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3418, + "id": 2910, "name": "Identifier", - "src": "61171:2:1" + "src": "62906:2:0" } ], - "id": 3419, + "id": 2911, "name": "MemberAccess", - "src": "61171:13:1" + "src": "62906:13:0" } ], - "id": 3420, + "id": 2912, "name": "FunctionCall", - "src": "61171:15:1" + "src": "62906:15:0" } ], - "id": 3421, + "id": 2913, "name": "UnaryOperation", - "src": "61170:16:1" + "src": "62905:16:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -76804,29 +76804,29 @@ "type": "bool", "value": "true" }, - "id": 3422, + "id": 2914, "name": "Literal", - "src": "61209:4:1" + "src": "62945:4:0" } ], - "id": 3423, + "id": 2915, "name": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ], - "id": 3424, + "id": 2916, "name": "Block", - "src": "61188:36:1" + "src": "62923:38:0" } ], - "id": 3425, + "id": 2917, "name": "IfStatement", - "src": "61166:58:1" + "src": "62901:60:0" }, { "attributes": { "assignments": [ - 3427 + 2919 ] }, "children": [ @@ -76835,7 +76835,7 @@ "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76847,14 +76847,14 @@ "name": "bytes", "type": "bytes" }, - "id": 3426, + "id": 2918, "name": "ElementaryTypeName", - "src": "61233:5:1" + "src": "62971:5:0" } ], - "id": 3427, + "id": 2919, "name": "VariableDeclaration", - "src": "61233:23:1" + "src": "62971:23:0" }, { "attributes": { @@ -76888,7 +76888,7 @@ "isPure": false, "lValueRequested": false, "member_name": "functionCall", - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)" }, "children": [ @@ -76897,18 +76897,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3428, + "id": 2920, "name": "Identifier", - "src": "61259:2:1" + "src": "62997:2:0" } ], - "id": 3429, + "id": 2921, "name": "MemberAccess", - "src": "61259:15:1" + "src": "62997:15:0" }, { "attributes": { @@ -76966,14 +76966,14 @@ "type": "abi", "value": "abi" }, - "id": 3430, + "id": 2922, "name": "Identifier", - "src": "61275:3:1" + "src": "63013:3:0" } ], - "id": 3431, + "id": 2923, "name": "MemberAccess", - "src": "61275:22:1" + "src": "63013:22:0" }, { "attributes": { @@ -76992,7 +76992,7 @@ "isPure": false, "lValueRequested": false, "member_name": "onERC721Received", - "referencedDeclaration": 725, + "referencedDeclaration": 217, "type": "function (address,address,uint256,bytes memory) external returns (bytes4)" }, "children": [ @@ -77022,41 +77022,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 726, + "referencedDeclaration": 218, "type": "type(contract IERC721Receiver)", "value": "IERC721Receiver" }, - "id": 3432, + "id": 2924, "name": "Identifier", - "src": "61311:15:1" + "src": "63050:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3433, + "id": 2925, "name": "Identifier", - "src": "61327:2:1" + "src": "63066:2:0" } ], - "id": 3434, + "id": 2926, "name": "FunctionCall", - "src": "61311:19:1" + "src": "63050:19:0" } ], - "id": 3435, + "id": 2927, "name": "MemberAccess", - "src": "61311:36:1" + "src": "63050:36:0" } ], - "id": 3436, + "id": 2928, "name": "MemberAccess", - "src": "61311:45:1" + "src": "63050:45:0" }, { "attributes": { @@ -77084,62 +77084,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3437, + "id": 2929, "name": "Identifier", - "src": "61370:10:1" + "src": "63110:10:0" } ], - "id": 3438, + "id": 2930, "name": "FunctionCall", - "src": "61370:12:1" + "src": "63110:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3407, + "referencedDeclaration": 2899, "type": "address", "value": "from" }, - "id": 3439, + "id": 2931, "name": "Identifier", - "src": "61396:4:1" + "src": "63137:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3411, + "referencedDeclaration": 2903, "type": "uint256", "value": "tokenId" }, - "id": 3440, + "id": 2932, "name": "Identifier", - "src": "61414:7:1" + "src": "63156:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3413, + "referencedDeclaration": 2905, "type": "bytes memory", "value": "_data" }, - "id": 3441, + "id": 2933, "name": "Identifier", - "src": "61435:5:1" + "src": "63178:5:0" } ], - "id": 3442, + "id": 2934, "name": "FunctionCall", - "src": "61275:175:1" + "src": "63013:181:0" }, { "attributes": { @@ -77152,24 +77152,24 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3443, + "id": 2935, "name": "Literal", - "src": "61452:52:1" + "src": "63196:52:0" } ], - "id": 3444, + "id": 2936, "name": "FunctionCall", - "src": "61259:246:1" + "src": "62997:252:0" } ], - "id": 3445, + "id": 2937, "name": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "attributes": { "assignments": [ - 3447 + 2939 ] }, "children": [ @@ -77178,7 +77178,7 @@ "constant": false, "mutability": "mutable", "name": "retval", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -77190,14 +77190,14 @@ "name": "bytes4", "type": "bytes4" }, - "id": 3446, + "id": 2938, "name": "ElementaryTypeName", - "src": "61515:6:1" + "src": "63260:6:0" } ], - "id": 3447, + "id": 2939, "name": "VariableDeclaration", - "src": "61515:13:1" + "src": "63260:13:0" }, { "attributes": { @@ -77243,27 +77243,27 @@ "type": "abi", "value": "abi" }, - "id": 3448, + "id": 2940, "name": "Identifier", - "src": "61531:3:1" + "src": "63276:3:0" } ], - "id": 3449, + "id": 2941, "name": "MemberAccess", - "src": "61531:10:1" + "src": "63276:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3427, + "referencedDeclaration": 2919, "type": "bytes memory", "value": "returndata" }, - "id": 3450, + "id": 2942, "name": "Identifier", - "src": "61542:10:1" + "src": "63287:10:0" }, { "attributes": { @@ -77288,33 +77288,33 @@ "attributes": { "name": "bytes4" }, - "id": 3451, + "id": 2943, "name": "ElementaryTypeName", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3452, + "id": 2944, "name": "ElementaryTypeNameExpression", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3453, + "id": 2945, "name": "TupleExpression", - "src": "61554:8:1" + "src": "63299:8:0" } ], - "id": 3454, + "id": 2946, "name": "FunctionCall", - "src": "61531:32:1" + "src": "63276:32:0" } ], - "id": 3455, + "id": 2947, "name": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -77346,51 +77346,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3447, + "referencedDeclaration": 2939, "type": "bytes4", "value": "retval" }, - "id": 3456, + "id": 2948, "name": "Identifier", - "src": "61581:6:1" + "src": "63327:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2596, + "referencedDeclaration": 2088, "type": "bytes4", "value": "_ERC721_RECEIVED" }, - "id": 3457, + "id": 2949, "name": "Identifier", - "src": "61591:16:1" + "src": "63337:16:0" } ], - "id": 3458, + "id": 2950, "name": "BinaryOperation", - "src": "61581:26:1" + "src": "63327:26:0" } ], - "id": 3459, + "id": 2951, "name": "TupleExpression", - "src": "61580:28:1" + "src": "63326:28:0" } ], - "id": 3460, + "id": 2952, "name": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ], - "id": 3461, + "id": 2953, "name": "Block", - "src": "61156:459:1" + "src": "62890:472:0" } ], - "id": 3462, + "id": 2954, "name": "FunctionDefinition", - "src": "61026:589:1" + "src": "62758:604:0" }, { "attributes": { @@ -77401,7 +77401,7 @@ null ], "name": "_approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77411,9 +77411,9 @@ "attributes": { "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3463, + "id": 2955, "name": "StructuredDocumentation", - "src": "61621:101:1" + "src": "63370:105:0" }, { "children": [ @@ -77422,7 +77422,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77435,21 +77435,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3464, + "id": 2956, "name": "ElementaryTypeName", - "src": "61745:7:1" + "src": "63499:7:0" } ], - "id": 3465, + "id": 2957, "name": "VariableDeclaration", - "src": "61745:10:1" + "src": "63499:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77461,19 +77461,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3466, + "id": 2958, "name": "ElementaryTypeName", - "src": "61757:7:1" + "src": "63511:7:0" } ], - "id": 3467, + "id": 2959, "name": "VariableDeclaration", - "src": "61757:15:1" + "src": "63511:15:0" } ], - "id": 3468, + "id": 2960, "name": "ParameterList", - "src": "61744:29:1" + "src": "63498:29:0" }, { "attributes": { @@ -77482,9 +77482,9 @@ ] }, "children": [], - "id": 3469, + "id": 2961, "name": "ParameterList", - "src": "61791:0:1" + "src": "63545:0:0" }, { "children": [ @@ -77514,54 +77514,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 3470, + "id": 2962, "name": "Identifier", - "src": "61801:15:1" + "src": "63556:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3471, + "id": 2963, "name": "Identifier", - "src": "61817:7:1" + "src": "63572:7:0" } ], - "id": 3472, + "id": 2964, "name": "IndexAccess", - "src": "61801:24:1" + "src": "63556:24:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3473, + "id": 2965, "name": "Identifier", - "src": "61828:2:1" + "src": "63583:2:0" } ], - "id": 3474, + "id": 2966, "name": "Assignment", - "src": "61801:29:1" + "src": "63556:29:0" } ], - "id": 3475, + "id": 2967, "name": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "children": [ @@ -77599,13 +77599,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 563, + "referencedDeclaration": 55, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 3476, + "id": 2968, "name": "Identifier", - "src": "61845:8:1" + "src": "63601:8:0" }, { "attributes": { @@ -77635,7 +77635,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -77644,82 +77644,82 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3477, + "id": 2969, "name": "Identifier", - "src": "61854:6:1" + "src": "63610:6:0" } ], - "id": 3478, + "id": 2970, "name": "MemberAccess", - "src": "61854:14:1" + "src": "63610:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3479, + "id": 2971, "name": "Identifier", - "src": "61869:7:1" + "src": "63625:7:0" } ], - "id": 3480, + "id": 2972, "name": "FunctionCall", - "src": "61854:23:1" + "src": "63610:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3481, + "id": 2973, "name": "Identifier", - "src": "61879:2:1" + "src": "63635:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3482, + "id": 2974, "name": "Identifier", - "src": "61883:7:1" + "src": "63639:7:0" } ], - "id": 3483, + "id": 2975, "name": "FunctionCall", - "src": "61845:46:1" + "src": "63601:46:0" } ], - "id": 3484, + "id": 2976, "name": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ], - "id": 3485, + "id": 2977, "name": "Block", - "src": "61791:125:1" + "src": "63545:128:0" } ], - "id": 3486, + "id": 2978, "name": "FunctionDefinition", - "src": "61727:189:1" + "src": "63481:192:0" }, { "attributes": { @@ -77730,7 +77730,7 @@ null ], "name": "_beforeTokenTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77740,9 +77740,9 @@ "attributes": { "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3487, + "id": 2979, "name": "StructuredDocumentation", - "src": "61922:585:1" + "src": "63681:599:0" }, { "children": [ @@ -77751,7 +77751,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77764,21 +77764,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3488, + "id": 2980, "name": "ElementaryTypeName", - "src": "62542:7:1" + "src": "64316:7:0" } ], - "id": 3489, + "id": 2981, "name": "VariableDeclaration", - "src": "62542:12:1" + "src": "64316:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77791,21 +77791,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3490, + "id": 2982, "name": "ElementaryTypeName", - "src": "62556:7:1" + "src": "64330:7:0" } ], - "id": 3491, + "id": 2983, "name": "VariableDeclaration", - "src": "62556:10:1" + "src": "64330:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77817,19 +77817,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3492, + "id": 2984, "name": "ElementaryTypeName", - "src": "62568:7:1" + "src": "64342:7:0" } ], - "id": 3493, + "id": 2985, "name": "VariableDeclaration", - "src": "62568:15:1" + "src": "64342:15:0" } ], - "id": 3494, + "id": 2986, "name": "ParameterList", - "src": "62541:43:1" + "src": "64315:43:0" }, { "attributes": { @@ -77838,9 +77838,9 @@ ] }, "children": [], - "id": 3495, + "id": 2987, "name": "ParameterList", - "src": "62602:0:1" + "src": "64376:0:0" }, { "attributes": { @@ -77849,32 +77849,32 @@ ] }, "children": [], - "id": 3496, + "id": 2988, "name": "Block", - "src": "62602:3:1" + "src": "64376:3:0" } ], - "id": 3497, + "id": 2989, "name": "FunctionDefinition", - "src": "62512:93:1" + "src": "64286:93:0" } ], - "id": 3498, + "id": 2990, "name": "ContractDefinition", - "src": "46080:16527:1" + "src": "47398:16984:0" } ], - "id": 3499, + "id": 2991, "name": "SourceUnit", - "src": "84:62524:1" + "src": "87:64297:0" }, "compiler": { "name": "solc", "version": "0.7.6+commit.7338295f.Emscripten.clang" }, "networks": {}, - "schemaVersion": "3.3.4", - "updatedAt": "2021-03-13T11:18:08.150Z", + "schemaVersion": "3.4.3", + "updatedAt": "2021-10-13T09:55:47.642Z", "devdoc": { "details": "See https://eips.ethereum.org/EIPS/eip-721", "kind": "dev", diff --git a/src/abis/IERC721Receiver.json b/src/abis/IERC721Receiver.json index 3d4979d..5f65c42 100644 --- a/src/abis/IERC721Receiver.json +++ b/src/abis/IERC721Receiver.json @@ -36,7 +36,7 @@ "type": "function" } ], - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface for any contract that wants to support safeTransfers from ERC721 asset contracts.\",\"kind\":\"dev\",\"methods\":{\"onERC721Received(address,address,uint256,bytes)\":{\"details\":\"Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} by `operator` from `from`, this function is called. It must return its Solidity selector to confirm the token transfer. If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\"}},\"title\":\"ERC721 token receiver interface\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":\"IERC721Receiver\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":{\"keccak256\":\"0xac9220652f9879c5fb3116025d59e8fbf6c2c3d149aed9f617b88edd31402044\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://48de100723de94a6590c6db5bae5098a93445194389c3f3eeb104c7239ef3044\",\"dweb:/ipfs/QmVHLEtfLqBqX7XQRHfLuuwtufRBFJFHfgY4zbFRpaZwXC\"]}},\"version\":1}", + "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"details\":\"Interface for any contract that wants to support safeTransfers from ERC721 asset contracts.\",\"kind\":\"dev\",\"methods\":{\"onERC721Received(address,address,uint256,bytes)\":{\"details\":\"Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} by `operator` from `from`, this function is called. It must return its Solidity selector to confirm the token transfer. If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\"}},\"title\":\"ERC721 token receiver interface\",\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/src/contracts/ERC721.sol\":\"IERC721Receiver\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/src/contracts/ERC721.sol\":{\"keccak256\":\"0xbbf5d35e3785428d14b29cf40a6a1f82d9275af46f6f80ec5f330615911aa767\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e5479e3deda288fc9c642c0449113673031cb9834a3507621d5bd7e292969e16\",\"dweb:/ipfs/QmcKjBg55emL46LCBPRw1Y79fz3aGiMiQXFeWcDpJisEgJ\"]}},\"version\":1}", "bytecode": "0x", "deployedBytecode": "0x", "immutableReferences": {}, @@ -44,57 +44,57 @@ "deployedGeneratedSources": [], "sourceMap": "", "deployedSourceMap": "", - "source": "// SPDX-License-Identifier: MIT\n\n// File: @openzeppelin/contracts/utils/Context.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/*\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with GSN meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n function _msgSender() internal view virtual returns (address payable) {\n return msg.sender;\n }\n\n function _msgData() internal view virtual returns (bytes memory) {\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\n return msg.data;\n }\n}\n\n// File: @openzeppelin/contracts/introspection/IERC165.sol\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n /**\n * @dev Returns true if this contract implements the interface defined by\n * `interfaceId`. See the corresponding\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n * to learn more about how these ids are created.\n *\n * This function call must use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n /**\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n */\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n */\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n */\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n /**\n * @dev Returns the number of tokens in ``owner``'s account.\n */\n function balanceOf(address owner) external view returns (uint256 balance);\n\n /**\n * @dev Returns the owner of the `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function ownerOf(uint256 tokenId) external view returns (address owner);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Transfers `tokenId` token from `from` to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n * The approval is cleared when the token is transferred.\n *\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n *\n * Requirements:\n *\n * - The caller must own the token or be an approved operator.\n * - `tokenId` must exist.\n *\n * Emits an {Approval} event.\n */\n function approve(address to, uint256 tokenId) external;\n\n /**\n * @dev Returns the account approved for `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function getApproved(uint256 tokenId) external view returns (address operator);\n\n /**\n * @dev Approve or remove `operator` as an operator for the caller.\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n *\n * Requirements:\n *\n * - The `operator` cannot be the caller.\n *\n * Emits an {ApprovalForAll} event.\n */\n function setApprovalForAll(address operator, bool _approved) external;\n\n /**\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n *\n * See {setApprovalForAll}\n */\n function isApprovedForAll(address owner, address operator) external view returns (bool);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n\n /**\n * @dev Returns the token collection name.\n */\n function name() external view returns (string memory);\n\n /**\n * @dev Returns the token collection symbol.\n */\n function symbol() external view returns (string memory);\n\n /**\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n */\n function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\n\n\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Enumerable is IERC721 {\n\n /**\n * @dev Returns the total amount of tokens stored by the contract.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\n\n /**\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n * Use along with {totalSupply} to enumerate all tokens.\n */\n function tokenByIndex(uint256 index) external view returns (uint256);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\n\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC721 asset contracts.\n */\ninterface IERC721Receiver {\n /**\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n * by `operator` from `from`, this function is called.\n *\n * It must return its Solidity selector to confirm the token transfer.\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n *\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\n */\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\n}\n\n// File: @openzeppelin/contracts/introspection/ERC165.sol\npragma solidity >=0.6.0 <0.8.0;\n\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts may inherit from this and call {_registerInterface} to declare\n * their support of an interface.\n */\nabstract contract ERC165 is IERC165 {\n /*\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\n */\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\n\n /**\n * @dev Mapping of interface ids to whether or not it's supported.\n */\n mapping(bytes4 => bool) private _supportedInterfaces;\n\n constructor () {\n // Derived contracts need only register support for their own interfaces,\n // we register support for ERC165 itself here\n _registerInterface(_INTERFACE_ID_ERC165);\n }\n\n /**\n * @dev See {IERC165-supportsInterface}.\n *\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n return _supportedInterfaces[interfaceId];\n }\n\n /**\n * @dev Registers the contract as an implementer of the interface defined by\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\n * registering its interface id is not required.\n *\n * See {IERC165-supportsInterface}.\n *\n * Requirements:\n *\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\n */\n function _registerInterface(bytes4 interfaceId) internal virtual {\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\n _supportedInterfaces[interfaceId] = true;\n }\n}\n\n// File: @openzeppelin/contracts/math/SafeMath.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\n * checks.\n *\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\n * in bugs, because programmers usually assume that an overflow raises an\n * error, which is the standard behavior in high level programming languages.\n * `SafeMath` restores this intuition by reverting the transaction when an\n * operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeMath {\n /**\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n uint256 c = a + b;\n if (c < a) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b > a) return (false, 0);\n return (true, a - b);\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n // benefit is lost if 'b' is also tested.\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n if (a == 0) return (true, 0);\n uint256 c = a * b;\n if (c / a != b) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a / b);\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a % b);\n }\n\n /**\n * @dev Returns the addition of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `+` operator.\n *\n * Requirements:\n *\n * - Addition cannot overflow.\n */\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a + b;\n require(c >= a, \"SafeMath: addition overflow\");\n return c;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting on\n * overflow (when the result is negative).\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b <= a, \"SafeMath: subtraction overflow\");\n return a - b;\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `*` operator.\n *\n * Requirements:\n *\n * - Multiplication cannot overflow.\n */\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) return 0;\n uint256 c = a * b;\n require(c / a == b, \"SafeMath: multiplication overflow\");\n return c;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting on\n * division by zero. The result is rounded towards zero.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: division by zero\");\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting when dividing by zero.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: modulo by zero\");\n return a % b;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n * overflow (when the result is negative).\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {trySub}.\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b <= a, errorMessage);\n return a - b;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\n * division by zero. The result is rounded towards zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryDiv}.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting with custom message when dividing by zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryMod}.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a % b;\n }\n}\n\n// File: @openzeppelin/contracts/utils/Address.sol\npragma solidity >=0.6.2 <0.8.0;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n /**\n * @dev Returns true if `account` is a contract.\n *\n * [IMPORTANT]\n * ====\n * It is unsafe to assume that an address for which this function returns\n * false is an externally-owned account (EOA) and not a contract.\n *\n * Among others, `isContract` will return false for the following\n * types of addresses:\n *\n * - an externally-owned account\n * - a contract in construction\n * - an address where a contract will be created\n * - an address where a contract lived, but was destroyed\n * ====\n */\n function isContract(address account) internal view returns (bool) {\n // This method relies on extcodesize, which returns 0 for contracts in\n // construction, since the code is only stored at the end of the\n // constructor execution.\n\n uint256 size;\n // solhint-disable-next-line no-inline-assembly\n assembly { size := extcodesize(account) }\n return size > 0;\n }\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\n (bool success, ) = recipient.call{ value: amount }(\"\");\n require(success, \"Address: unable to send value, recipient may have reverted\");\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain`call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason, it is bubbled up by this\n * function (like regular Solidity function calls).\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCall(target, data, \"Address: low-level call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n * `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n * with `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\n require(isContract(target), \"Address: call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\n require(isContract(target), \"Address: static call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.staticcall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n require(isContract(target), \"Address: delegate call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.delegatecall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\n if (success) {\n return returndata;\n } else {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n\n // solhint-disable-next-line no-inline-assembly\n assembly {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert(errorMessage);\n }\n }\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n * types.\n *\n * Sets have the following properties:\n *\n * - Elements are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableSet for EnumerableSet.AddressSet;\n *\n * // Declare a set state variable\n * EnumerableSet.AddressSet private mySet;\n * }\n * ```\n *\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n * and `uint256` (`UintSet`) are supported.\n */\nlibrary EnumerableSet {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Set type with\n // bytes32 values.\n // The Set implementation uses private functions, and user-facing\n // implementations (such as AddressSet) are just wrappers around the\n // underlying Set.\n // This means that we can only create new EnumerableSets for types that fit\n // in bytes32.\n\n struct Set {\n // Storage of set values\n bytes32[] _values;\n\n // Position of the value in the `values` array, plus 1 because index 0\n // means a value is not in the set.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function _add(Set storage set, bytes32 value) private returns (bool) {\n if (!_contains(set, value)) {\n set._values.push(value);\n // The value is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n set._indexes[value] = set._values.length;\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function _remove(Set storage set, bytes32 value) private returns (bool) {\n // We read and store the value's index to prevent multiple reads from the same storage slot\n uint256 valueIndex = set._indexes[value];\n\n if (valueIndex != 0) { // Equivalent to contains(set, value)\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\n // the array, and then remove the last element (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = valueIndex - 1;\n uint256 lastIndex = set._values.length - 1;\n\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n bytes32 lastvalue = set._values[lastIndex];\n\n // Move the last value to the index where the value to delete is\n set._values[toDeleteIndex] = lastvalue;\n // Update the index for the moved value\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved value was stored\n set._values.pop();\n\n // Delete the index for the deleted slot\n delete set._indexes[value];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\n return set._indexes[value] != 0;\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function _length(Set storage set) private view returns (uint256) {\n return set._values.length;\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\n return set._values[index];\n }\n\n // Bytes32Set\n\n struct Bytes32Set {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _add(set._inner, value);\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _remove(set._inner, value);\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\n return _contains(set._inner, value);\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(Bytes32Set storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\n return _at(set._inner, index);\n }\n\n // AddressSet\n\n struct AddressSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(AddressSet storage set, address value) internal returns (bool) {\n return _add(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(AddressSet storage set, address value) internal returns (bool) {\n return _remove(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(AddressSet storage set, address value) internal view returns (bool) {\n return _contains(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(AddressSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\n return address(uint160(uint256(_at(set._inner, index))));\n }\n\n\n // UintSet\n\n struct UintSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(UintSet storage set, uint256 value) internal returns (bool) {\n return _add(set._inner, bytes32(value));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\n return _remove(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\n return _contains(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function length(UintSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\n return uint256(_at(set._inner, index));\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing an enumerable variant of Solidity's\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n * type.\n *\n * Maps have the following properties:\n *\n * - Entries are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\n *\n * // Declare a set state variable\n * EnumerableMap.UintToAddressMap private myMap;\n * }\n * ```\n *\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n * supported.\n */\nlibrary EnumerableMap {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Map type with\n // bytes32 keys and values.\n // The Map implementation uses private functions, and user-facing\n // implementations (such as Uint256ToAddressMap) are just wrappers around\n // the underlying Map.\n // This means that we can only create new EnumerableMaps for types that fit\n // in bytes32.\n\n struct MapEntry {\n bytes32 _key;\n bytes32 _value;\n }\n\n struct Map {\n // Storage of map keys and values\n MapEntry[] _entries;\n\n // Position of the entry defined by a key in the `entries` array, plus 1\n // because index 0 means a key is not in the map.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\n map._entries.push(MapEntry({ _key: key, _value: value }));\n // The entry is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n map._indexes[key] = map._entries.length;\n return true;\n } else {\n map._entries[keyIndex - 1]._value = value;\n return false;\n }\n }\n\n /**\n * @dev Removes a key-value pair from a map. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function _remove(Map storage map, bytes32 key) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex != 0) { // Equivalent to contains(map, key)\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = keyIndex - 1;\n uint256 lastIndex = map._entries.length - 1;\n\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n MapEntry storage lastEntry = map._entries[lastIndex];\n\n // Move the last entry to the index where the entry to delete is\n map._entries[toDeleteIndex] = lastEntry;\n // Update the index for the moved entry\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved entry was stored\n map._entries.pop();\n\n // Delete the index for the deleted slot\n delete map._indexes[key];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\n return map._indexes[key] != 0;\n }\n\n /**\n * @dev Returns the number of key-value pairs in the map. O(1).\n */\n function _length(Map storage map) private view returns (uint256) {\n return map._entries.length;\n }\n\n /**\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\n *\n * Note that there are no guarantees on the ordering of entries inside the\n * array, and it may change when more entries are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\n\n MapEntry storage entry = map._entries[index];\n return (entry._key, entry._value);\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n */\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\n uint256 keyIndex = map._indexes[key];\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n /**\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {_tryGet}.\n */\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n // UintToAddressMap\n\n struct UintToAddressMap {\n Map _inner;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\n return _remove(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\n return _contains(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns the number of elements in the map. O(1).\n */\n function length(UintToAddressMap storage map) internal view returns (uint256) {\n return _length(map._inner);\n }\n\n /**\n * @dev Returns the element stored at position `index` in the set. O(1).\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\n (bytes32 key, bytes32 value) = _at(map._inner, index);\n return (uint256(key), address(uint160(uint256(value))));\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n *\n * _Available since v3.4._\n */\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\n return (success, address(uint160(uint256(value))));\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\n }\n\n /**\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryGet}.\n */\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\n }\n}\n\n// File: @openzeppelin/contracts/utils/Strings.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n /**\n * @dev Converts a `uint256` to its ASCII `string` representation.\n */\n function toString(uint256 value) internal pure returns (string memory) {\n // Inspired by OraclizeAPI's implementation - MIT licence\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\n\n if (value == 0) {\n return \"0\";\n }\n uint256 temp = value;\n uint256 digits;\n while (temp != 0) {\n digits++;\n temp /= 10;\n }\n bytes memory buffer = new bytes(digits);\n uint256 index = digits - 1;\n temp = value;\n while (temp != 0) {\n buffer[index--] = bytes1(uint8(48 + temp % 10));\n temp /= 10;\n }\n return string(buffer);\n }\n}\n\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 Non-Fungible Token Standard basic implementation\n * @dev see https://eips.ethereum.org/EIPS/eip-721\n */\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\n using SafeMath for uint256;\n using Address for address;\n using EnumerableSet for EnumerableSet.UintSet;\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n using Strings for uint256;\n\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\n\n // Mapping from holder address to their (enumerable) set of owned tokens\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\n\n // Enumerable mapping from token ids to their owners\n EnumerableMap.UintToAddressMap private _tokenOwners;\n\n // Mapping from token ID to approved address\n mapping (uint256 => address) private _tokenApprovals;\n\n // Mapping from owner to operator approvals\n mapping (address => mapping (address => bool)) private _operatorApprovals;\n\n // Token name\n string private _name;\n\n // Token symbol\n string private _symbol;\n\n // Optional mapping for token URIs\n mapping (uint256 => string) private _tokenURIs;\n\n // Base URI\n string private _baseURI;\n\n /*\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\n *\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\n */\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\n\n /*\n * bytes4(keccak256('name()')) == 0x06fdde03\n * bytes4(keccak256('symbol()')) == 0x95d89b41\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\n *\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\n */\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\n\n /*\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\n *\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\n */\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\n\n /**\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\n */\n constructor (string memory name_, string memory symbol_) {\n _name = name_;\n _symbol = symbol_;\n\n // register the supported interfaces to conform to ERC721 via ERC165\n _registerInterface(_INTERFACE_ID_ERC721);\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\n }\n\n /**\n * @dev See {IERC721-balanceOf}.\n */\n function balanceOf(address owner) public view virtual override returns (uint256) {\n require(owner != address(0), \"ERC721: balance query for the zero address\");\n return _holderTokens[owner].length();\n }\n\n /**\n * @dev See {IERC721-ownerOf}.\n */\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\n }\n\n /**\n * @dev See {IERC721Metadata-name}.\n */\n function name() public view virtual override returns (string memory) {\n return _name;\n }\n\n /**\n * @dev See {IERC721Metadata-symbol}.\n */\n function symbol() public view virtual override returns (string memory) {\n return _symbol;\n }\n\n /**\n * @dev See {IERC721Metadata-tokenURI}.\n */\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\n\n string memory _tokenURI = _tokenURIs[tokenId];\n string memory base = baseURI();\n\n // If there is no base URI, return the token URI.\n if (bytes(base).length == 0) {\n return _tokenURI;\n }\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\n if (bytes(_tokenURI).length > 0) {\n return string(abi.encodePacked(base, _tokenURI));\n }\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\n return string(abi.encodePacked(base, tokenId.toString()));\n }\n\n /**\n * @dev Returns the base URI set via {_setBaseURI}. This will be\n * automatically added as a prefix in {tokenURI} to each token's URI, or\n * to the token ID if no specific URI is set for that token ID.\n */\n function baseURI() public view virtual returns (string memory) {\n return _baseURI;\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\n return _holderTokens[owner].at(index);\n }\n\n /**\n * @dev See {IERC721Enumerable-totalSupply}.\n */\n function totalSupply() public view virtual override returns (uint256) {\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\n return _tokenOwners.length();\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenByIndex}.\n */\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\n (uint256 tokenId, ) = _tokenOwners.at(index);\n return tokenId;\n }\n\n /**\n * @dev See {IERC721-approve}.\n */\n function approve(address to, uint256 tokenId) public virtual override {\n address owner = ERC721.ownerOf(tokenId);\n require(to != owner, \"ERC721: approval to current owner\");\n\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\n \"ERC721: approve caller is not owner nor approved for all\"\n );\n\n _approve(to, tokenId);\n }\n\n /**\n * @dev See {IERC721-getApproved}.\n */\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\n\n return _tokenApprovals[tokenId];\n }\n\n /**\n * @dev See {IERC721-setApprovalForAll}.\n */\n function setApprovalForAll(address operator, bool approved) public virtual override {\n require(operator != _msgSender(), \"ERC721: approve to caller\");\n\n _operatorApprovals[_msgSender()][operator] = approved;\n emit ApprovalForAll(_msgSender(), operator, approved);\n }\n\n /**\n * @dev See {IERC721-isApprovedForAll}.\n */\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\n return _operatorApprovals[owner][operator];\n }\n\n /**\n * @dev See {IERC721-transferFrom}.\n */\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\n //solhint-disable-next-line max-line-length\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n\n _transfer(from, to, tokenId);\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\n safeTransferFrom(from, to, tokenId, \"\");\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n _safeTransfer(from, to, tokenId, _data);\n }\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\n *\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n * implement alternative mechanisms to perform token transfer, such as signature-based.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\n _transfer(from, to, tokenId);\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Returns whether `tokenId` exists.\n *\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n *\n * Tokens start existing when they are minted (`_mint`),\n * and stop existing when they are burned (`_burn`).\n */\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\n return _tokenOwners.contains(tokenId);\n }\n\n /**\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\n address owner = ERC721.ownerOf(tokenId);\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\n }\n\n /**\n * @dev Safely mints `tokenId` and transfers it to `to`.\n *\n * Requirements:\n d*\n * - `tokenId` must not exist.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeMint(address to, uint256 tokenId) internal virtual {\n _safeMint(to, tokenId, \"\");\n }\n\n /**\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n */\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\n _mint(to, tokenId);\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Mints `tokenId` and transfers it to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n *\n * Requirements:\n *\n * - `tokenId` must not exist.\n * - `to` cannot be the zero address.\n *\n * Emits a {Transfer} event.\n */\n function _mint(address to, uint256 tokenId) internal virtual {\n require(to != address(0), \"ERC721: mint to the zero address\");\n require(!_exists(tokenId), \"ERC721: token already minted\");\n\n _beforeTokenTransfer(address(0), to, tokenId);\n\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(address(0), to, tokenId);\n }\n\n /**\n * @dev Destroys `tokenId`.\n * The approval is cleared when the token is burned.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n *\n * Emits a {Transfer} event.\n */\n function _burn(uint256 tokenId) internal virtual {\n address owner = ERC721.ownerOf(tokenId); // internal owner\n\n _beforeTokenTransfer(owner, address(0), tokenId);\n\n // Clear approvals\n _approve(address(0), tokenId);\n\n // Clear metadata (if any)\n if (bytes(_tokenURIs[tokenId]).length != 0) {\n delete _tokenURIs[tokenId];\n }\n\n _holderTokens[owner].remove(tokenId);\n\n _tokenOwners.remove(tokenId);\n\n emit Transfer(owner, address(0), tokenId);\n }\n\n /**\n * @dev Transfers `tokenId` from `from` to `to`.\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n *\n * Requirements:\n *\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n *\n * Emits a {Transfer} event.\n */\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\n require(to != address(0), \"ERC721: transfer to the zero address\");\n\n _beforeTokenTransfer(from, to, tokenId);\n\n // Clear approvals from the previous owner\n _approve(address(0), tokenId);\n\n _holderTokens[from].remove(tokenId);\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(from, to, tokenId);\n }\n\n /**\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\n _tokenURIs[tokenId] = _tokenURI;\n }\n\n /**\n * @dev Internal function to set the base URI for all token IDs. It is\n * automatically added as a prefix to the value returned in {tokenURI},\n * or to the token ID if {tokenURI} is empty.\n */\n function _setBaseURI(string memory baseURI_) internal virtual {\n _baseURI = baseURI_;\n }\n\n /**\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n * The call is not executed if the target address is not a contract.\n *\n * @param from address representing the previous owner of the given token ID\n * @param to target address that will receive the tokens\n * @param tokenId uint256 ID of the token to be transferred\n * @param _data bytes optional data to send along with the call\n * @return bool whether the call correctly returned the expected magic value\n */\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\n private returns (bool)\n {\n if (!to.isContract()) {\n return true;\n }\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\n IERC721Receiver(to).onERC721Received.selector,\n _msgSender(),\n from,\n tokenId,\n _data\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\n bytes4 retval = abi.decode(returndata, (bytes4));\n return (retval == _ERC721_RECEIVED);\n }\n\n /**\n * @dev Approve `to` to operate on `tokenId`\n *\n * Emits an {Approval} event.\n */\n function _approve(address to, uint256 tokenId) internal virtual {\n _tokenApprovals[tokenId] = to;\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\n }\n\n /**\n * @dev Hook that is called before any token transfer. This includes minting\n * and burning.\n *\n * Calling conditions:\n *\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n * transferred to `to`.\n * - When `from` is zero, `tokenId` will be minted for `to`.\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n *\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n */\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\n}\n", - "sourcePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "source": "// SPDX-License-Identifier: MIT\r\n\r\n// File: @openzeppelin/contracts/utils/Context.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/*\r\n * @dev Provides information about the current execution context, including the\r\n * sender of the transaction and its data. While these are generally available\r\n * via msg.sender and msg.data, they should not be accessed in such a direct\r\n * manner, since when dealing with GSN meta-transactions the account sending and\r\n * paying for execution may not be the actual sender (as far as an application\r\n * is concerned).\r\n *\r\n * This contract is only required for intermediate, library-like contracts.\r\n */\r\nabstract contract Context {\r\n function _msgSender() internal view virtual returns (address payable) {\r\n return msg.sender;\r\n }\r\n\r\n function _msgData() internal view virtual returns (bytes memory) {\r\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\r\n return msg.data;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/IERC165.sol\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Interface of the ERC165 standard, as defined in the\r\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\r\n *\r\n * Implementers can declare support of contract interfaces, which can then be\r\n * queried by others ({ERC165Checker}).\r\n *\r\n * For an implementation, see {ERC165}.\r\n */\r\ninterface IERC165 {\r\n /**\r\n * @dev Returns true if this contract implements the interface defined by\r\n * `interfaceId`. See the corresponding\r\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\r\n * to learn more about how these ids are created.\r\n *\r\n * This function call must use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Required interface of an ERC721 compliant contract.\r\n */\r\ninterface IERC721 is IERC165 {\r\n /**\r\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\r\n */\r\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\r\n */\r\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\r\n */\r\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\r\n\r\n /**\r\n * @dev Returns the number of tokens in ``owner``'s account.\r\n */\r\n function balanceOf(address owner) external view returns (uint256 balance);\r\n\r\n /**\r\n * @dev Returns the owner of the `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function ownerOf(uint256 tokenId) external view returns (address owner);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Transfers `tokenId` token from `from` to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\r\n * The approval is cleared when the token is transferred.\r\n *\r\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\r\n *\r\n * Requirements:\r\n *\r\n * - The caller must own the token or be an approved operator.\r\n * - `tokenId` must exist.\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function approve(address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Returns the account approved for `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function getApproved(uint256 tokenId) external view returns (address operator);\r\n\r\n /**\r\n * @dev Approve or remove `operator` as an operator for the caller.\r\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\r\n *\r\n * Requirements:\r\n *\r\n * - The `operator` cannot be the caller.\r\n *\r\n * Emits an {ApprovalForAll} event.\r\n */\r\n function setApprovalForAll(address operator, bool _approved) external;\r\n\r\n /**\r\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\r\n *\r\n * See {setApprovalForAll}\r\n */\r\n function isApprovedForAll(address owner, address operator) external view returns (bool);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Metadata is IERC721 {\r\n\r\n /**\r\n * @dev Returns the token collection name.\r\n */\r\n function name() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the token collection symbol.\r\n */\r\n function symbol() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\r\n */\r\n function tokenURI(uint256 tokenId) external view returns (string memory);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\r\n\r\n\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Enumerable is IERC721 {\r\n\r\n /**\r\n * @dev Returns the total amount of tokens stored by the contract.\r\n */\r\n function totalSupply() external view returns (uint256);\r\n\r\n /**\r\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\r\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\r\n\r\n /**\r\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\r\n * Use along with {totalSupply} to enumerate all tokens.\r\n */\r\n function tokenByIndex(uint256 index) external view returns (uint256);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\r\n\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 token receiver interface\r\n * @dev Interface for any contract that wants to support safeTransfers\r\n * from ERC721 asset contracts.\r\n */\r\ninterface IERC721Receiver {\r\n /**\r\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\r\n * by `operator` from `from`, this function is called.\r\n *\r\n * It must return its Solidity selector to confirm the token transfer.\r\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\r\n *\r\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\r\n */\r\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/ERC165.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Implementation of the {IERC165} interface.\r\n *\r\n * Contracts may inherit from this and call {_registerInterface} to declare\r\n * their support of an interface.\r\n */\r\nabstract contract ERC165 is IERC165 {\r\n /*\r\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\r\n\r\n /**\r\n * @dev Mapping of interface ids to whether or not it's supported.\r\n */\r\n mapping(bytes4 => bool) private _supportedInterfaces;\r\n\r\n constructor () {\r\n // Derived contracts need only register support for their own interfaces,\r\n // we register support for ERC165 itself here\r\n _registerInterface(_INTERFACE_ID_ERC165);\r\n }\r\n\r\n /**\r\n * @dev See {IERC165-supportsInterface}.\r\n *\r\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\r\n return _supportedInterfaces[interfaceId];\r\n }\r\n\r\n /**\r\n * @dev Registers the contract as an implementer of the interface defined by\r\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\r\n * registering its interface id is not required.\r\n *\r\n * See {IERC165-supportsInterface}.\r\n *\r\n * Requirements:\r\n *\r\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\r\n */\r\n function _registerInterface(bytes4 interfaceId) internal virtual {\r\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\r\n _supportedInterfaces[interfaceId] = true;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/math/SafeMath.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\r\n * checks.\r\n *\r\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\r\n * in bugs, because programmers usually assume that an overflow raises an\r\n * error, which is the standard behavior in high level programming languages.\r\n * `SafeMath` restores this intuition by reverting the transaction when an\r\n * operation overflows.\r\n *\r\n * Using this library instead of the unchecked operations eliminates an entire\r\n * class of bugs, so it's recommended to use it always.\r\n */\r\nlibrary SafeMath {\r\n /**\r\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n uint256 c = a + b;\r\n if (c < a) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b > a) return (false, 0);\r\n return (true, a - b);\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\r\n // benefit is lost if 'b' is also tested.\r\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\r\n if (a == 0) return (true, 0);\r\n uint256 c = a * b;\r\n if (c / a != b) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a / b);\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a % b);\r\n }\r\n\r\n /**\r\n * @dev Returns the addition of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `+` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Addition cannot overflow.\r\n */\r\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\r\n uint256 c = a + b;\r\n require(c >= a, \"SafeMath: addition overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting on\r\n * overflow (when the result is negative).\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b <= a, \"SafeMath: subtraction overflow\");\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `*` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Multiplication cannot overflow.\r\n */\r\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\r\n if (a == 0) return 0;\r\n uint256 c = a * b;\r\n require(c / a == b, \"SafeMath: multiplication overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: division by zero\");\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting when dividing by zero.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: modulo by zero\");\r\n return a % b;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\r\n * overflow (when the result is negative).\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {trySub}.\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b <= a, errorMessage);\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryDiv}.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting with custom message when dividing by zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryMod}.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a % b;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Address.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n/**\r\n * @dev Collection of functions related to the address type\r\n */\r\nlibrary Address {\r\n /**\r\n * @dev Returns true if `account` is a contract.\r\n *\r\n * [IMPORTANT]\r\n * ====\r\n * It is unsafe to assume that an address for which this function returns\r\n * false is an externally-owned account (EOA) and not a contract.\r\n *\r\n * Among others, `isContract` will return false for the following\r\n * types of addresses:\r\n *\r\n * - an externally-owned account\r\n * - a contract in construction\r\n * - an address where a contract will be created\r\n * - an address where a contract lived, but was destroyed\r\n * ====\r\n */\r\n function isContract(address account) internal view returns (bool) {\r\n // This method relies on extcodesize, which returns 0 for contracts in\r\n // construction, since the code is only stored at the end of the\r\n // constructor execution.\r\n\r\n uint256 size;\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly { size := extcodesize(account) }\r\n return size > 0;\r\n }\r\n\r\n /**\r\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\r\n * `recipient`, forwarding all available gas and reverting on errors.\r\n *\r\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\r\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\r\n * imposed by `transfer`, making them unable to receive funds via\r\n * `transfer`. {sendValue} removes this limitation.\r\n *\r\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\r\n *\r\n * IMPORTANT: because control is transferred to `recipient`, care must be\r\n * taken to not create reentrancy vulnerabilities. Consider using\r\n * {ReentrancyGuard} or the\r\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\r\n */\r\n function sendValue(address payable recipient, uint256 amount) internal {\r\n require(address(this).balance >= amount, \"Address: insufficient balance\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\r\n (bool success, ) = recipient.call{ value: amount }(\"\");\r\n require(success, \"Address: unable to send value, recipient may have reverted\");\r\n }\r\n\r\n /**\r\n * @dev Performs a Solidity function call using a low level `call`. A\r\n * plain`call` is an unsafe replacement for a function call: use this\r\n * function instead.\r\n *\r\n * If `target` reverts with a revert reason, it is bubbled up by this\r\n * function (like regular Solidity function calls).\r\n *\r\n * Returns the raw returned data. To convert to the expected return value,\r\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\r\n *\r\n * Requirements:\r\n *\r\n * - `target` must be a contract.\r\n * - calling `target` with `data` must not revert.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionCall(target, data, \"Address: low-level call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\r\n * `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, 0, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but also transferring `value` wei to `target`.\r\n *\r\n * Requirements:\r\n *\r\n * - the calling contract must have an ETH balance of at least `value`.\r\n * - the called Solidity function must be `payable`.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\r\n * with `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\r\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\r\n require(isContract(target), \"Address: call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\r\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\r\n require(isContract(target), \"Address: static call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.staticcall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n require(isContract(target), \"Address: delegate call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.delegatecall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\r\n if (success) {\r\n return returndata;\r\n } else {\r\n // Look for revert reason and bubble it up if present\r\n if (returndata.length > 0) {\r\n // The easiest way to bubble the revert reason is using memory via assembly\r\n\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n let returndata_size := mload(returndata)\r\n revert(add(32, returndata), returndata_size)\r\n }\r\n } else {\r\n revert(errorMessage);\r\n }\r\n }\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing\r\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\r\n * types.\r\n *\r\n * Sets have the following properties:\r\n *\r\n * - Elements are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableSet for EnumerableSet.AddressSet;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableSet.AddressSet private mySet;\r\n * }\r\n * ```\r\n *\r\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\r\n * and `uint256` (`UintSet`) are supported.\r\n */\r\nlibrary EnumerableSet {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Set type with\r\n // bytes32 values.\r\n // The Set implementation uses private functions, and user-facing\r\n // implementations (such as AddressSet) are just wrappers around the\r\n // underlying Set.\r\n // This means that we can only create new EnumerableSets for types that fit\r\n // in bytes32.\r\n\r\n struct Set {\r\n // Storage of set values\r\n bytes32[] _values;\r\n\r\n // Position of the value in the `values` array, plus 1 because index 0\r\n // means a value is not in the set.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function _add(Set storage set, bytes32 value) private returns (bool) {\r\n if (!_contains(set, value)) {\r\n set._values.push(value);\r\n // The value is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n set._indexes[value] = set._values.length;\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function _remove(Set storage set, bytes32 value) private returns (bool) {\r\n // We read and store the value's index to prevent multiple reads from the same storage slot\r\n uint256 valueIndex = set._indexes[value];\r\n\r\n if (valueIndex != 0) { // Equivalent to contains(set, value)\r\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\r\n // the array, and then remove the last element (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = valueIndex - 1;\r\n uint256 lastIndex = set._values.length - 1;\r\n\r\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n bytes32 lastvalue = set._values[lastIndex];\r\n\r\n // Move the last value to the index where the value to delete is\r\n set._values[toDeleteIndex] = lastvalue;\r\n // Update the index for the moved value\r\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved value was stored\r\n set._values.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete set._indexes[value];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\r\n return set._indexes[value] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function _length(Set storage set) private view returns (uint256) {\r\n return set._values.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\r\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\r\n return set._values[index];\r\n }\r\n\r\n // Bytes32Set\r\n\r\n struct Bytes32Set {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _add(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _remove(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\r\n return _contains(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(Bytes32Set storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\r\n return _at(set._inner, index);\r\n }\r\n\r\n // AddressSet\r\n\r\n struct AddressSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(AddressSet storage set, address value) internal returns (bool) {\r\n return _add(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(AddressSet storage set, address value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(AddressSet storage set, address value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(AddressSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\r\n return address(uint160(uint256(_at(set._inner, index))));\r\n }\r\n\r\n\r\n // UintSet\r\n\r\n struct UintSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _add(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function length(UintSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\r\n return uint256(_at(set._inner, index));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing an enumerable variant of Solidity's\r\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\r\n * type.\r\n *\r\n * Maps have the following properties:\r\n *\r\n * - Entries are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableMap.UintToAddressMap private myMap;\r\n * }\r\n * ```\r\n *\r\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\r\n * supported.\r\n */\r\nlibrary EnumerableMap {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Map type with\r\n // bytes32 keys and values.\r\n // The Map implementation uses private functions, and user-facing\r\n // implementations (such as Uint256ToAddressMap) are just wrappers around\r\n // the underlying Map.\r\n // This means that we can only create new EnumerableMaps for types that fit\r\n // in bytes32.\r\n\r\n struct MapEntry {\r\n bytes32 _key;\r\n bytes32 _value;\r\n }\r\n\r\n struct Map {\r\n // Storage of map keys and values\r\n MapEntry[] _entries;\r\n\r\n // Position of the entry defined by a key in the `entries` array, plus 1\r\n // because index 0 means a key is not in the map.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\r\n map._entries.push(MapEntry({ _key: key, _value: value }));\r\n // The entry is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n map._indexes[key] = map._entries.length;\r\n return true;\r\n } else {\r\n map._entries[keyIndex - 1]._value = value;\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a key-value pair from a map. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function _remove(Map storage map, bytes32 key) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex != 0) { // Equivalent to contains(map, key)\r\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\r\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = keyIndex - 1;\r\n uint256 lastIndex = map._entries.length - 1;\r\n\r\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n MapEntry storage lastEntry = map._entries[lastIndex];\r\n\r\n // Move the last entry to the index where the entry to delete is\r\n map._entries[toDeleteIndex] = lastEntry;\r\n // Update the index for the moved entry\r\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved entry was stored\r\n map._entries.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete map._indexes[key];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\r\n return map._indexes[key] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of key-value pairs in the map. O(1).\r\n */\r\n function _length(Map storage map) private view returns (uint256) {\r\n return map._entries.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of entries inside the\r\n * array, and it may change when more entries are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\r\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\r\n\r\n MapEntry storage entry = map._entries[index];\r\n return (entry._key, entry._value);\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n */\r\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\r\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {_tryGet}.\r\n */\r\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n // UintToAddressMap\r\n\r\n struct UintToAddressMap {\r\n Map _inner;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\r\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\r\n return _remove(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\r\n return _contains(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of elements in the map. O(1).\r\n */\r\n function length(UintToAddressMap storage map) internal view returns (uint256) {\r\n return _length(map._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the element stored at position `index` in the set. O(1).\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\r\n (bytes32 key, bytes32 value) = _at(map._inner, index);\r\n return (uint256(key), address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\r\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\r\n return (success, address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\r\n }\r\n\r\n /**\r\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryGet}.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Strings.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev String operations.\r\n */\r\nlibrary Strings {\r\n /**\r\n * @dev Converts a `uint256` to its ASCII `string` representation.\r\n */\r\n function toString(uint256 value) internal pure returns (string memory) {\r\n // Inspired by OraclizeAPI's implementation - MIT licence\r\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\r\n\r\n if (value == 0) {\r\n return \"0\";\r\n }\r\n uint256 temp = value;\r\n uint256 digits;\r\n while (temp != 0) {\r\n digits++;\r\n temp /= 10;\r\n }\r\n bytes memory buffer = new bytes(digits);\r\n uint256 index = digits - 1;\r\n temp = value;\r\n while (temp != 0) {\r\n buffer[index--] = bytes1(uint8(48 + temp % 10));\r\n temp /= 10;\r\n }\r\n return string(buffer);\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 Non-Fungible Token Standard basic implementation\r\n * @dev see https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\r\n using SafeMath for uint256;\r\n using Address for address;\r\n using EnumerableSet for EnumerableSet.UintSet;\r\n using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n using Strings for uint256;\r\n\r\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\r\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\r\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\r\n\r\n // Mapping from holder address to their (enumerable) set of owned tokens\r\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\r\n\r\n // Enumerable mapping from token ids to their owners\r\n EnumerableMap.UintToAddressMap private _tokenOwners;\r\n\r\n // Mapping from token ID to approved address\r\n mapping (uint256 => address) private _tokenApprovals;\r\n\r\n // Mapping from owner to operator approvals\r\n mapping (address => mapping (address => bool)) private _operatorApprovals;\r\n\r\n // Token name\r\n string private _name;\r\n\r\n // Token symbol\r\n string private _symbol;\r\n\r\n // Optional mapping for token URIs\r\n mapping (uint256 => string) private _tokenURIs;\r\n\r\n // Base URI\r\n string private _baseURI;\r\n\r\n /*\r\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\r\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\r\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\r\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\r\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\r\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\r\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\r\n *\r\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\r\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\r\n\r\n /*\r\n * bytes4(keccak256('name()')) == 0x06fdde03\r\n * bytes4(keccak256('symbol()')) == 0x95d89b41\r\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\r\n *\r\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\r\n\r\n /*\r\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\r\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\r\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\r\n *\r\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\r\n\r\n /**\r\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\r\n */\r\n constructor (string memory name_, string memory symbol_) {\r\n _name = name_;\r\n _symbol = symbol_;\r\n\r\n // register the supported interfaces to conform to ERC721 via ERC165\r\n _registerInterface(_INTERFACE_ID_ERC721);\r\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\r\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-balanceOf}.\r\n */\r\n function balanceOf(address owner) public view virtual override returns (uint256) {\r\n require(owner != address(0), \"ERC721: balance query for the zero address\");\r\n return _holderTokens[owner].length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-ownerOf}.\r\n */\r\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\r\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-name}.\r\n */\r\n function name() public view virtual override returns (string memory) {\r\n return _name;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-symbol}.\r\n */\r\n function symbol() public view virtual override returns (string memory) {\r\n return _symbol;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-tokenURI}.\r\n */\r\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\r\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\r\n\r\n string memory _tokenURI = _tokenURIs[tokenId];\r\n string memory base = baseURI();\r\n\r\n // If there is no base URI, return the token URI.\r\n if (bytes(base).length == 0) {\r\n return _tokenURI;\r\n }\r\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\r\n if (bytes(_tokenURI).length > 0) {\r\n return string(abi.encodePacked(base, _tokenURI));\r\n }\r\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\r\n return string(abi.encodePacked(base, tokenId.toString()));\r\n }\r\n\r\n /**\r\n * @dev Returns the base URI set via {_setBaseURI}. This will be\r\n * automatically added as a prefix in {tokenURI} to each token's URI, or\r\n * to the token ID if no specific URI is set for that token ID.\r\n */\r\n function baseURI() public view virtual returns (string memory) {\r\n return _baseURI;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\r\n return _holderTokens[owner].at(index);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-totalSupply}.\r\n */\r\n function totalSupply() public view virtual override returns (uint256) {\r\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\r\n return _tokenOwners.length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenByIndex}.\r\n */\r\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\r\n (uint256 tokenId, ) = _tokenOwners.at(index);\r\n return tokenId;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-approve}.\r\n */\r\n function approve(address to, uint256 tokenId) public virtual override {\r\n address owner = ERC721.ownerOf(tokenId);\r\n require(to != owner, \"ERC721: approval to current owner\");\r\n\r\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\r\n \"ERC721: approve caller is not owner nor approved for all\"\r\n );\r\n\r\n _approve(to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-getApproved}.\r\n */\r\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\r\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\r\n\r\n return _tokenApprovals[tokenId];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-setApprovalForAll}.\r\n */\r\n function setApprovalForAll(address operator, bool approved) public virtual override {\r\n require(operator != _msgSender(), \"ERC721: approve to caller\");\r\n\r\n _operatorApprovals[_msgSender()][operator] = approved;\r\n emit ApprovalForAll(_msgSender(), operator, approved);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-isApprovedForAll}.\r\n */\r\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\r\n return _operatorApprovals[owner][operator];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-transferFrom}.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n //solhint-disable-next-line max-line-length\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n\r\n _transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n safeTransferFrom(from, to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n _safeTransfer(from, to, tokenId, _data);\r\n }\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\r\n *\r\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\r\n * implement alternative mechanisms to perform token transfer, such as signature-based.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _transfer(from, to, tokenId);\r\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Returns whether `tokenId` exists.\r\n *\r\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\r\n *\r\n * Tokens start existing when they are minted (`_mint`),\r\n * and stop existing when they are burned (`_burn`).\r\n */\r\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\r\n return _tokenOwners.contains(tokenId);\r\n }\r\n\r\n /**\r\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\r\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\r\n address owner = ERC721.ownerOf(tokenId);\r\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\r\n }\r\n\r\n /**\r\n * @dev Safely mints `tokenId` and transfers it to `to`.\r\n *\r\n * Requirements:\r\n d*\r\n * - `tokenId` must not exist.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeMint(address to, uint256 tokenId) internal virtual {\r\n _safeMint(to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\r\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\r\n */\r\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _mint(to, tokenId);\r\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Mints `tokenId` and transfers it to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must not exist.\r\n * - `to` cannot be the zero address.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _mint(address to, uint256 tokenId) internal virtual {\r\n require(to != address(0), \"ERC721: mint to the zero address\");\r\n require(!_exists(tokenId), \"ERC721: token already minted\");\r\n\r\n _beforeTokenTransfer(address(0), to, tokenId);\r\n\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(address(0), to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Destroys `tokenId`.\r\n * The approval is cleared when the token is burned.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _burn(uint256 tokenId) internal virtual {\r\n address owner = ERC721.ownerOf(tokenId); // internal owner\r\n\r\n _beforeTokenTransfer(owner, address(0), tokenId);\r\n\r\n // Clear approvals\r\n _approve(address(0), tokenId);\r\n\r\n // Clear metadata (if any)\r\n if (bytes(_tokenURIs[tokenId]).length != 0) {\r\n delete _tokenURIs[tokenId];\r\n }\r\n\r\n _holderTokens[owner].remove(tokenId);\r\n\r\n _tokenOwners.remove(tokenId);\r\n\r\n emit Transfer(owner, address(0), tokenId);\r\n }\r\n\r\n /**\r\n * @dev Transfers `tokenId` from `from` to `to`.\r\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\r\n *\r\n * Requirements:\r\n *\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\r\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\r\n require(to != address(0), \"ERC721: transfer to the zero address\");\r\n\r\n _beforeTokenTransfer(from, to, tokenId);\r\n\r\n // Clear approvals from the previous owner\r\n _approve(address(0), tokenId);\r\n\r\n _holderTokens[from].remove(tokenId);\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\r\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\r\n _tokenURIs[tokenId] = _tokenURI;\r\n }\r\n\r\n /**\r\n * @dev Internal function to set the base URI for all token IDs. It is\r\n * automatically added as a prefix to the value returned in {tokenURI},\r\n * or to the token ID if {tokenURI} is empty.\r\n */\r\n function _setBaseURI(string memory baseURI_) internal virtual {\r\n _baseURI = baseURI_;\r\n }\r\n\r\n /**\r\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\r\n * The call is not executed if the target address is not a contract.\r\n *\r\n * @param from address representing the previous owner of the given token ID\r\n * @param to target address that will receive the tokens\r\n * @param tokenId uint256 ID of the token to be transferred\r\n * @param _data bytes optional data to send along with the call\r\n * @return bool whether the call correctly returned the expected magic value\r\n */\r\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\r\n private returns (bool)\r\n {\r\n if (!to.isContract()) {\r\n return true;\r\n }\r\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\r\n IERC721Receiver(to).onERC721Received.selector,\r\n _msgSender(),\r\n from,\r\n tokenId,\r\n _data\r\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n bytes4 retval = abi.decode(returndata, (bytes4));\r\n return (retval == _ERC721_RECEIVED);\r\n }\r\n\r\n /**\r\n * @dev Approve `to` to operate on `tokenId`\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function _approve(address to, uint256 tokenId) internal virtual {\r\n _tokenApprovals[tokenId] = to;\r\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\r\n }\r\n\r\n /**\r\n * @dev Hook that is called before any token transfer. This includes minting\r\n * and burning.\r\n *\r\n * Calling conditions:\r\n *\r\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\r\n * transferred to `to`.\r\n * - When `from` is zero, `tokenId` will be minted for `to`.\r\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n *\r\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\r\n */\r\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\r\n}\r\n", + "sourcePath": "C:\\Users\\Noahm\\cryptoboys-nft-marketplace\\src\\contracts\\ERC721.sol", "ast": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, - "id": 3499, + "id": 2991, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 509, + "id": 1, "literals": [ "solidity", ">=", @@ -105,7 +105,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "abstract": true, @@ -113,77 +113,77 @@ "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, - "id": 530, + "id": 22, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 517, + "id": 9, "nodeType": "Block", - "src": "719:34:1", + "src": "735:36:0", "statements": [ { "expression": { "expression": { - "id": 514, + "id": 6, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "736:3:1", + "src": "753:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 515, + "id": 7, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "736:10:1", + "src": "753:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 513, - "id": 516, + "functionReturnParameters": 5, + "id": 8, "nodeType": "Return", - "src": "729:17:1" + "src": "746:17:0" } ] }, - "id": 518, + "id": 10, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgSender", "nodeType": "FunctionDefinition", "parameters": { - "id": 510, + "id": 2, "nodeType": "ParameterList", "parameters": [], - "src": "668:2:1" + "src": "684:2:0" }, "returnParameters": { - "id": 513, + "id": 5, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 512, + "id": 4, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 518, - "src": "702:15:1", + "scope": 10, + "src": "718:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -191,10 +191,10 @@ "typeString": "address payable" }, "typeName": { - "id": 511, + "id": 3, "name": "address", "nodeType": "ElementaryTypeName", - "src": "702:15:1", + "src": "718:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -204,95 +204,95 @@ "visibility": "internal" } ], - "src": "701:17:1" + "src": "717:17:0" }, - "scope": 530, - "src": "649:104:1", + "scope": 22, + "src": "665:106:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 528, + "id": 20, "nodeType": "Block", - "src": "824:165:1", + "src": "844:168:0", "statements": [ { "expression": { - "id": 523, + "id": 15, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "834:4:1", + "src": "855:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 524, + "id": 16, "nodeType": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "expression": { "expression": { - "id": 525, + "id": 17, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "974:3:1", + "src": "996:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 526, + "id": 18, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "data", "nodeType": "MemberAccess", - "src": "974:8:1", + "src": "996:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" } }, - "functionReturnParameters": 522, - "id": 527, + "functionReturnParameters": 14, + "id": 19, "nodeType": "Return", - "src": "967:15:1" + "src": "989:15:0" } ] }, - "id": 529, + "id": 21, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgData", "nodeType": "FunctionDefinition", "parameters": { - "id": 519, + "id": 11, "nodeType": "ParameterList", "parameters": [], - "src": "776:2:1" + "src": "796:2:0" }, "returnParameters": { - "id": 522, + "id": 14, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 521, + "id": 13, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 529, - "src": "810:12:1", + "scope": 21, + "src": "830:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -300,10 +300,10 @@ "typeString": "bytes" }, "typeName": { - "id": 520, + "id": 12, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "810:5:1", + "src": "830:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -312,20 +312,20 @@ "visibility": "internal" } ], - "src": "809:14:1" + "src": "829:14:0" }, - "scope": 530, - "src": "759:230:1", + "scope": 22, + "src": "779:233:0", "stateMutability": "view", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "617:374:1" + "scope": 2991, + "src": "632:383:0" }, { - "id": 531, + "id": 23, "literals": [ "solidity", ">=", @@ -336,7 +336,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "abstract": false, @@ -344,45 +344,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 532, + "id": 24, "nodeType": "StructuredDocumentation", - "src": "1086:279:1", + "src": "1116:287:0", "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, "fullyImplemented": false, - "id": 541, + "id": 33, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 533, + "id": 25, "nodeType": "StructuredDocumentation", - "src": "1390:340:1", + "src": "1430:347:0", "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 540, + "id": 32, "implemented": false, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 536, + "id": 28, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 535, + "id": 27, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1762:18:1", + "scope": 32, + "src": "1810:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -390,10 +390,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 534, + "id": 26, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "1762:6:1", + "src": "1810:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -402,20 +402,20 @@ "visibility": "internal" } ], - "src": "1761:20:1" + "src": "1809:20:0" }, "returnParameters": { - "id": 539, + "id": 31, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 538, + "id": 30, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1805:4:1", + "scope": 32, + "src": "1853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -423,10 +423,10 @@ "typeString": "bool" }, "typeName": { - "id": 537, + "id": 29, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1805:4:1", + "src": "1853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -435,20 +435,20 @@ "visibility": "internal" } ], - "src": "1804:6:1" + "src": "1852:6:0" }, - "scope": 541, - "src": "1735:76:1", + "scope": 33, + "src": "1783:76:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1366:447:1" + "scope": 2991, + "src": "1405:457:0" }, { - "id": 542, + "id": 34, "literals": [ "solidity", ">=", @@ -459,43 +459,43 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 544, + "id": 36, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "1996:7:1", + "referencedDeclaration": 33, + "src": "2054:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 545, + "id": 37, "nodeType": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "documentation": { - "id": 543, + "id": 35, "nodeType": "StructuredDocumentation", - "src": "1907:67:1", + "src": "1962:69:0", "text": " @dev Required interface of an ERC721 compliant contract." }, "fullyImplemented": false, - "id": 655, + "id": 147, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", "nodeType": "ContractDefinition", @@ -503,27 +503,27 @@ { "anonymous": false, "documentation": { - "id": 546, + "id": 38, "nodeType": "StructuredDocumentation", - "src": "2010:88:1", + "src": "2069:90:0", "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 554, + "id": 46, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { - "id": 553, + "id": 45, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 548, + "id": 40, "indexed": true, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2118:20:1", + "scope": 46, + "src": "2180:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -531,10 +531,10 @@ "typeString": "address" }, "typeName": { - "id": 547, + "id": 39, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2118:7:1", + "src": "2180:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -545,13 +545,13 @@ }, { "constant": false, - "id": 550, + "id": 42, "indexed": true, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2140:18:1", + "scope": 46, + "src": "2202:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -559,10 +559,10 @@ "typeString": "address" }, "typeName": { - "id": 549, + "id": 41, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2140:7:1", + "src": "2202:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -573,13 +573,13 @@ }, { "constant": false, - "id": 552, + "id": 44, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2160:23:1", + "scope": 46, + "src": "2222:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -587,10 +587,10 @@ "typeString": "uint256" }, "typeName": { - "id": 551, + "id": 43, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2160:7:1", + "src": "2222:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -599,34 +599,34 @@ "visibility": "internal" } ], - "src": "2117:67:1" + "src": "2179:67:0" }, - "src": "2103:82:1" + "src": "2165:82:0" }, { "anonymous": false, "documentation": { - "id": 555, + "id": 47, "nodeType": "StructuredDocumentation", - "src": "2191:94:1", + "src": "2255:96:0", "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 563, + "id": 55, "name": "Approval", "nodeType": "EventDefinition", "parameters": { - "id": 562, + "id": 54, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 557, + "id": 49, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2305:21:1", + "scope": 55, + "src": "2372:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -634,10 +634,10 @@ "typeString": "address" }, "typeName": { - "id": 556, + "id": 48, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2305:7:1", + "src": "2372:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -648,13 +648,13 @@ }, { "constant": false, - "id": 559, + "id": 51, "indexed": true, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2328:24:1", + "scope": 55, + "src": "2395:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -662,10 +662,10 @@ "typeString": "address" }, "typeName": { - "id": 558, + "id": 50, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2328:7:1", + "src": "2395:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -676,13 +676,13 @@ }, { "constant": false, - "id": 561, + "id": 53, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2354:23:1", + "scope": 55, + "src": "2421:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -690,10 +690,10 @@ "typeString": "uint256" }, "typeName": { - "id": 560, + "id": 52, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2354:7:1", + "src": "2421:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -702,34 +702,34 @@ "visibility": "internal" } ], - "src": "2304:74:1" + "src": "2371:74:0" }, - "src": "2290:89:1" + "src": "2357:89:0" }, { "anonymous": false, "documentation": { - "id": 564, + "id": 56, "nodeType": "StructuredDocumentation", - "src": "2385:117:1", + "src": "2454:119:0", "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 572, + "id": 64, "name": "ApprovalForAll", "nodeType": "EventDefinition", "parameters": { - "id": 571, + "id": 63, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 566, + "id": 58, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2528:21:1", + "scope": 64, + "src": "2600:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -737,10 +737,10 @@ "typeString": "address" }, "typeName": { - "id": 565, + "id": 57, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2528:7:1", + "src": "2600:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -751,13 +751,13 @@ }, { "constant": false, - "id": 568, + "id": 60, "indexed": true, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2551:24:1", + "scope": 64, + "src": "2623:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -765,10 +765,10 @@ "typeString": "address" }, "typeName": { - "id": 567, + "id": 59, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2551:7:1", + "src": "2623:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -779,13 +779,13 @@ }, { "constant": false, - "id": 570, + "id": 62, "indexed": false, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2577:13:1", + "scope": 64, + "src": "2649:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -793,10 +793,10 @@ "typeString": "bool" }, "typeName": { - "id": 569, + "id": 61, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2577:4:1", + "src": "2649:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -805,36 +805,36 @@ "visibility": "internal" } ], - "src": "2527:64:1" + "src": "2599:64:0" }, - "src": "2507:85:1" + "src": "2579:85:0" }, { "documentation": { - "id": 573, + "id": 65, "nodeType": "StructuredDocumentation", - "src": "2598:76:1", + "src": "2672:78:0", "text": " @dev Returns the number of tokens in ``owner``'s account." }, "functionSelector": "70a08231", - "id": 580, + "id": 72, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 576, + "id": 68, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 575, + "id": 67, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2698:13:1", + "scope": 72, + "src": "2775:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -842,10 +842,10 @@ "typeString": "address" }, "typeName": { - "id": 574, + "id": 66, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2698:7:1", + "src": "2775:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -855,20 +855,20 @@ "visibility": "internal" } ], - "src": "2697:15:1" + "src": "2774:15:0" }, "returnParameters": { - "id": 579, + "id": 71, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 578, + "id": 70, "mutability": "mutable", "name": "balance", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2736:15:1", + "scope": 72, + "src": "2813:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -876,10 +876,10 @@ "typeString": "uint256" }, "typeName": { - "id": 577, + "id": 69, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2736:7:1", + "src": "2813:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -888,40 +888,40 @@ "visibility": "internal" } ], - "src": "2735:17:1" + "src": "2812:17:0" }, - "scope": 655, - "src": "2679:74:1", + "scope": 147, + "src": "2756:74:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 581, + "id": 73, "nodeType": "StructuredDocumentation", - "src": "2759:131:1", + "src": "2838:137:0", "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "6352211e", - "id": 588, + "id": 80, "implemented": false, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 584, + "id": 76, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 583, + "id": 75, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2912:15:1", + "scope": 80, + "src": "2998:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -929,10 +929,10 @@ "typeString": "uint256" }, "typeName": { - "id": 582, + "id": 74, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2912:7:1", + "src": "2998:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -941,20 +941,20 @@ "visibility": "internal" } ], - "src": "2911:17:1" + "src": "2997:17:0" }, "returnParameters": { - "id": 587, + "id": 79, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 586, + "id": 78, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2952:13:1", + "scope": 80, + "src": "3038:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -962,10 +962,10 @@ "typeString": "address" }, "typeName": { - "id": 585, + "id": 77, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2952:7:1", + "src": "3038:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -975,40 +975,40 @@ "visibility": "internal" } ], - "src": "2951:15:1" + "src": "3037:15:0" }, - "scope": 655, - "src": "2895:72:1", + "scope": 147, + "src": "2981:72:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 589, + "id": 81, "nodeType": "StructuredDocumentation", - "src": "2973:690:1", + "src": "3061:703:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "42842e0e", - "id": 598, + "id": 90, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 596, + "id": 88, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 591, + "id": 83, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3694:12:1", + "scope": 90, + "src": "3796:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1016,10 +1016,10 @@ "typeString": "address" }, "typeName": { - "id": 590, + "id": 82, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3694:7:1", + "src": "3796:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1030,12 +1030,12 @@ }, { "constant": false, - "id": 593, + "id": 85, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3708:10:1", + "scope": 90, + "src": "3810:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1043,10 +1043,10 @@ "typeString": "address" }, "typeName": { - "id": 592, + "id": 84, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3708:7:1", + "src": "3810:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1057,12 +1057,12 @@ }, { "constant": false, - "id": 595, + "id": 87, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3720:15:1", + "scope": 90, + "src": "3822:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1070,10 +1070,10 @@ "typeString": "uint256" }, "typeName": { - "id": 594, + "id": 86, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3720:7:1", + "src": "3822:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1082,46 +1082,46 @@ "visibility": "internal" } ], - "src": "3693:43:1" + "src": "3795:43:0" }, "returnParameters": { - "id": 597, + "id": 89, "nodeType": "ParameterList", "parameters": [], - "src": "3745:0:1" + "src": "3847:0:0" }, - "scope": 655, - "src": "3668:78:1", + "scope": 147, + "src": "3770:78:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 599, + "id": 91, "nodeType": "StructuredDocumentation", - "src": "3752:504:1", + "src": "3856:517:0", "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, "functionSelector": "23b872dd", - "id": 608, + "id": 100, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 606, + "id": 98, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 601, + "id": 93, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4283:12:1", + "scope": 100, + "src": "4401:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1129,10 +1129,10 @@ "typeString": "address" }, "typeName": { - "id": 600, + "id": 92, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4283:7:1", + "src": "4401:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1143,12 +1143,12 @@ }, { "constant": false, - "id": 603, + "id": 95, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4297:10:1", + "scope": 100, + "src": "4415:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1156,10 +1156,10 @@ "typeString": "address" }, "typeName": { - "id": 602, + "id": 94, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4297:7:1", + "src": "4415:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1170,12 +1170,12 @@ }, { "constant": false, - "id": 605, + "id": 97, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4309:15:1", + "scope": 100, + "src": "4427:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1183,10 +1183,10 @@ "typeString": "uint256" }, "typeName": { - "id": 604, + "id": 96, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4309:7:1", + "src": "4427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1195,46 +1195,46 @@ "visibility": "internal" } ], - "src": "4282:43:1" + "src": "4400:43:0" }, "returnParameters": { - "id": 607, + "id": 99, "nodeType": "ParameterList", "parameters": [], - "src": "4334:0:1" + "src": "4452:0:0" }, - "scope": 655, - "src": "4261:74:1", + "scope": 147, + "src": "4379:74:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 609, + "id": 101, "nodeType": "StructuredDocumentation", - "src": "4341:452:1", + "src": "4461:464:0", "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, "functionSelector": "095ea7b3", - "id": 616, + "id": 108, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 614, + "id": 106, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 611, + "id": 103, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4815:10:1", + "scope": 108, + "src": "4948:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1242,10 +1242,10 @@ "typeString": "address" }, "typeName": { - "id": 610, + "id": 102, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4815:7:1", + "src": "4948:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1256,12 +1256,12 @@ }, { "constant": false, - "id": 613, + "id": 105, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4827:15:1", + "scope": 108, + "src": "4960:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1269,10 +1269,10 @@ "typeString": "uint256" }, "typeName": { - "id": 612, + "id": 104, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4827:7:1", + "src": "4960:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1281,46 +1281,46 @@ "visibility": "internal" } ], - "src": "4814:29:1" + "src": "4947:29:0" }, "returnParameters": { - "id": 615, + "id": 107, "nodeType": "ParameterList", "parameters": [], - "src": "4852:0:1" + "src": "4985:0:0" }, - "scope": 655, - "src": "4798:55:1", + "scope": 147, + "src": "4931:55:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 617, + "id": 109, "nodeType": "StructuredDocumentation", - "src": "4859:139:1", + "src": "4994:145:0", "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "081812fc", - "id": 624, + "id": 116, "implemented": false, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "parameters": { - "id": 620, + "id": 112, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 619, + "id": 111, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5024:15:1", + "scope": 116, + "src": "5166:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1328,10 +1328,10 @@ "typeString": "uint256" }, "typeName": { - "id": 618, + "id": 110, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5024:7:1", + "src": "5166:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1340,20 +1340,20 @@ "visibility": "internal" } ], - "src": "5023:17:1" + "src": "5165:17:0" }, "returnParameters": { - "id": 623, + "id": 115, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 622, + "id": 114, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5064:16:1", + "scope": 116, + "src": "5206:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1361,10 +1361,10 @@ "typeString": "address" }, "typeName": { - "id": 621, + "id": 113, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5064:7:1", + "src": "5206:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1374,40 +1374,40 @@ "visibility": "internal" } ], - "src": "5063:18:1" + "src": "5205:18:0" }, - "scope": 655, - "src": "5003:79:1", + "scope": 147, + "src": "5145:79:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 625, + "id": 117, "nodeType": "StructuredDocumentation", - "src": "5088:309:1", + "src": "5232:318:0", "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, "functionSelector": "a22cb465", - "id": 632, + "id": 124, "implemented": false, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 630, + "id": 122, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 627, + "id": 119, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5429:16:1", + "scope": 124, + "src": "5583:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1415,10 +1415,10 @@ "typeString": "address" }, "typeName": { - "id": 626, + "id": 118, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5429:7:1", + "src": "5583:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1429,12 +1429,12 @@ }, { "constant": false, - "id": 629, + "id": 121, "mutability": "mutable", "name": "_approved", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5447:14:1", + "scope": 124, + "src": "5601:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1442,10 +1442,10 @@ "typeString": "bool" }, "typeName": { - "id": 628, + "id": 120, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5447:4:1", + "src": "5601:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1454,46 +1454,46 @@ "visibility": "internal" } ], - "src": "5428:34:1" + "src": "5582:34:0" }, "returnParameters": { - "id": 631, + "id": 123, "nodeType": "ParameterList", "parameters": [], - "src": "5471:0:1" + "src": "5625:0:0" }, - "scope": 655, - "src": "5402:70:1", + "scope": 147, + "src": "5556:70:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 633, + "id": 125, "nodeType": "StructuredDocumentation", - "src": "5478:138:1", + "src": "5634:142:0", "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, "functionSelector": "e985e9c5", - "id": 642, + "id": 134, "implemented": false, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 638, + "id": 130, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 635, + "id": 127, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5647:13:1", + "scope": 134, + "src": "5808:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1501,10 +1501,10 @@ "typeString": "address" }, "typeName": { - "id": 634, + "id": 126, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5647:7:1", + "src": "5808:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1515,12 +1515,12 @@ }, { "constant": false, - "id": 637, + "id": 129, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5662:16:1", + "scope": 134, + "src": "5823:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1528,10 +1528,10 @@ "typeString": "address" }, "typeName": { - "id": 636, + "id": 128, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5662:7:1", + "src": "5823:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1541,20 +1541,20 @@ "visibility": "internal" } ], - "src": "5646:33:1" + "src": "5807:33:0" }, "returnParameters": { - "id": 641, + "id": 133, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 640, + "id": 132, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5703:4:1", + "scope": 134, + "src": "5864:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1562,10 +1562,10 @@ "typeString": "bool" }, "typeName": { - "id": 639, + "id": 131, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5703:4:1", + "src": "5864:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1574,40 +1574,40 @@ "visibility": "internal" } ], - "src": "5702:6:1" + "src": "5863:6:0" }, - "scope": 655, - "src": "5621:88:1", + "scope": 147, + "src": "5782:88:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 643, + "id": 135, "nodeType": "StructuredDocumentation", - "src": "5715:568:1", + "src": "5878:580:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "b88d4fde", - "id": 654, + "id": 146, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 652, + "id": 144, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 645, + "id": 137, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6314:12:1", + "scope": 146, + "src": "6490:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1615,10 +1615,10 @@ "typeString": "address" }, "typeName": { - "id": 644, + "id": 136, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6314:7:1", + "src": "6490:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1629,12 +1629,12 @@ }, { "constant": false, - "id": 647, + "id": 139, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6328:10:1", + "scope": 146, + "src": "6504:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1642,10 +1642,10 @@ "typeString": "address" }, "typeName": { - "id": 646, + "id": 138, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6328:7:1", + "src": "6504:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1656,12 +1656,12 @@ }, { "constant": false, - "id": 649, + "id": 141, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6340:15:1", + "scope": 146, + "src": "6516:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1669,10 +1669,10 @@ "typeString": "uint256" }, "typeName": { - "id": 648, + "id": 140, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6340:7:1", + "src": "6516:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1682,12 +1682,12 @@ }, { "constant": false, - "id": 651, + "id": 143, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6357:19:1", + "scope": 146, + "src": "6533:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -1695,10 +1695,10 @@ "typeString": "bytes" }, "typeName": { - "id": 650, + "id": 142, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6357:5:1", + "src": "6533:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -1707,26 +1707,26 @@ "visibility": "internal" } ], - "src": "6313:64:1" + "src": "6489:64:0" }, "returnParameters": { - "id": 653, + "id": 145, "nodeType": "ParameterList", "parameters": [], - "src": "6386:0:1" + "src": "6562:0:0" }, - "scope": 655, - "src": "6288:99:1", + "scope": 147, + "src": "6464:99:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1975:4414:1" + "scope": 2991, + "src": "2033:4533:0" }, { - "id": 656, + "id": 148, "literals": [ "solidity", ">=", @@ -1737,81 +1737,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 658, + "id": 150, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "6654:7:1", + "referencedDeclaration": 147, + "src": "6841:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 659, + "id": 151, "nodeType": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 657, + "id": 149, "nodeType": "StructuredDocumentation", - "src": "6491:133:1", + "src": "6674:136:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 680, + "id": 172, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 660, + "id": 152, "nodeType": "StructuredDocumentation", - "src": "6669:58:1", + "src": "6858:60:0", "text": " @dev Returns the token collection name." }, "functionSelector": "06fdde03", - "id": 665, + "id": 157, "implemented": false, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "parameters": { - "id": 661, + "id": 153, "nodeType": "ParameterList", "parameters": [], - "src": "6745:2:1" + "src": "6937:2:0" }, "returnParameters": { - "id": 664, + "id": 156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 663, + "id": 155, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 665, - "src": "6771:13:1", + "scope": 157, + "src": "6963:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1819,10 +1819,10 @@ "typeString": "string" }, "typeName": { - "id": 662, + "id": 154, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6771:6:1", + "src": "6963:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1831,46 +1831,46 @@ "visibility": "internal" } ], - "src": "6770:15:1" + "src": "6962:15:0" }, - "scope": 680, - "src": "6732:54:1", + "scope": 172, + "src": "6924:54:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 666, + "id": 158, "nodeType": "StructuredDocumentation", - "src": "6792:60:1", + "src": "6986:62:0", "text": " @dev Returns the token collection symbol." }, "functionSelector": "95d89b41", - "id": 671, + "id": 163, "implemented": false, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "parameters": { - "id": 667, + "id": 159, "nodeType": "ParameterList", "parameters": [], - "src": "6872:2:1" + "src": "7069:2:0" }, "returnParameters": { - "id": 670, + "id": 162, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 669, + "id": 161, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 671, - "src": "6898:13:1", + "scope": 163, + "src": "7095:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1878,10 +1878,10 @@ "typeString": "string" }, "typeName": { - "id": 668, + "id": 160, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6898:6:1", + "src": "7095:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1890,40 +1890,40 @@ "visibility": "internal" } ], - "src": "6897:15:1" + "src": "7094:15:0" }, - "scope": 680, - "src": "6857:56:1", + "scope": 172, + "src": "7054:56:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 672, + "id": 164, "nodeType": "StructuredDocumentation", - "src": "6919:90:1", + "src": "7118:92:0", "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, "functionSelector": "c87b56dd", - "id": 679, + "id": 171, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 675, + "id": 167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 674, + "id": 166, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7032:15:1", + "scope": 171, + "src": "7234:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1931,10 +1931,10 @@ "typeString": "uint256" }, "typeName": { - "id": 673, + "id": 165, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7032:7:1", + "src": "7234:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1943,20 +1943,20 @@ "visibility": "internal" } ], - "src": "7031:17:1" + "src": "7233:17:0" }, "returnParameters": { - "id": 678, + "id": 170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 677, + "id": 169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7072:13:1", + "scope": 171, + "src": "7274:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1964,10 +1964,10 @@ "typeString": "string" }, "typeName": { - "id": 676, + "id": 168, "name": "string", "nodeType": "ElementaryTypeName", - "src": "7072:6:1", + "src": "7274:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1976,20 +1976,20 @@ "visibility": "internal" } ], - "src": "7071:15:1" + "src": "7273:15:0" }, - "scope": 680, - "src": "7014:73:1", + "scope": 172, + "src": "7216:73:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "6625:464:1" + "scope": 2991, + "src": "6812:480:0" }, { - "id": 681, + "id": 173, "literals": [ "solidity", ">=", @@ -2000,81 +2000,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 683, + "id": 175, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "7363:7:1", + "referencedDeclaration": 147, + "src": "7578:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 684, + "id": 176, "nodeType": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 682, + "id": 174, "nodeType": "StructuredDocumentation", - "src": "7195:136:1", + "src": "7406:139:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 709, + "id": 201, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 685, + "id": 177, "nodeType": "StructuredDocumentation", - "src": "7378:82:1", + "src": "7595:84:0", "text": " @dev Returns the total amount of tokens stored by the contract." }, "functionSelector": "18160ddd", - "id": 690, + "id": 182, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { - "id": 686, + "id": 178, "nodeType": "ParameterList", "parameters": [], - "src": "7485:2:1" + "src": "7705:2:0" }, "returnParameters": { - "id": 689, + "id": 181, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 688, + "id": 180, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 690, - "src": "7511:7:1", + "scope": 182, + "src": "7731:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2082,10 +2082,10 @@ "typeString": "uint256" }, "typeName": { - "id": 687, + "id": 179, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7511:7:1", + "src": "7731:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2094,40 +2094,40 @@ "visibility": "internal" } ], - "src": "7510:9:1" + "src": "7730:9:0" }, - "scope": 709, - "src": "7465:55:1", + "scope": 201, + "src": "7685:55:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 691, + "id": 183, "nodeType": "StructuredDocumentation", - "src": "7526:171:1", + "src": "7748:174:0", "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, "functionSelector": "2f745c59", - "id": 700, + "id": 192, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 696, + "id": 188, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 693, + "id": 185, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7731:13:1", + "scope": 192, + "src": "7957:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2135,10 +2135,10 @@ "typeString": "address" }, "typeName": { - "id": 692, + "id": 184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7731:7:1", + "src": "7957:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2149,12 +2149,12 @@ }, { "constant": false, - "id": 695, + "id": 187, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7746:13:1", + "scope": 192, + "src": "7972:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2162,10 +2162,10 @@ "typeString": "uint256" }, "typeName": { - "id": 694, + "id": 186, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7746:7:1", + "src": "7972:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2174,20 +2174,20 @@ "visibility": "internal" } ], - "src": "7730:30:1" + "src": "7956:30:0" }, "returnParameters": { - "id": 699, + "id": 191, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 698, + "id": 190, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7784:15:1", + "scope": 192, + "src": "8010:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2195,10 +2195,10 @@ "typeString": "uint256" }, "typeName": { - "id": 697, + "id": 189, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7784:7:1", + "src": "8010:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2207,40 +2207,40 @@ "visibility": "internal" } ], - "src": "7783:17:1" + "src": "8009:17:0" }, - "scope": 709, - "src": "7702:99:1", + "scope": 201, + "src": "7928:99:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 701, + "id": 193, "nodeType": "StructuredDocumentation", - "src": "7807:164:1", + "src": "8035:167:0", "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, "functionSelector": "4f6ccce7", - "id": 708, + "id": 200, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 704, + "id": 196, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 703, + "id": 195, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "7998:13:1", + "scope": 200, + "src": "8230:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2248,10 +2248,10 @@ "typeString": "uint256" }, "typeName": { - "id": 702, + "id": 194, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7998:7:1", + "src": "8230:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2260,20 +2260,20 @@ "visibility": "internal" } ], - "src": "7997:15:1" + "src": "8229:15:0" }, "returnParameters": { - "id": 707, + "id": 199, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 706, + "id": 198, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "8036:7:1", + "scope": 200, + "src": "8268:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2281,10 +2281,10 @@ "typeString": "uint256" }, "typeName": { - "id": 705, + "id": 197, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8036:7:1", + "src": "8268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2293,20 +2293,20 @@ "visibility": "internal" } ], - "src": "8035:9:1" + "src": "8267:9:0" }, - "scope": 709, - "src": "7976:69:1", + "scope": 201, + "src": "8208:69:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "7332:715:1" + "scope": 2991, + "src": "7547:733:0" }, { - "id": 710, + "id": 202, "literals": [ "solidity", ">=", @@ -2317,7 +2317,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "abstract": false, @@ -2325,45 +2325,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 711, + "id": 203, "nodeType": "StructuredDocumentation", - "src": "8150:152:1", + "src": "8390:156:0", "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, "fullyImplemented": false, - "id": 726, + "id": 218, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 712, + "id": 204, "nodeType": "StructuredDocumentation", - "src": "8335:485:1", + "src": "8581:493:0", "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, "functionSelector": "150b7a02", - "id": 725, + "id": 217, "implemented": false, "kind": "function", "modifiers": [], "name": "onERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 721, + "id": 213, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 714, + "id": 206, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8851:16:1", + "scope": 217, + "src": "9106:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2371,10 +2371,10 @@ "typeString": "address" }, "typeName": { - "id": 713, + "id": 205, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8851:7:1", + "src": "9106:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2385,12 +2385,12 @@ }, { "constant": false, - "id": 716, + "id": 208, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8869:12:1", + "scope": 217, + "src": "9124:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2398,10 +2398,10 @@ "typeString": "address" }, "typeName": { - "id": 715, + "id": 207, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8869:7:1", + "src": "9124:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2412,12 +2412,12 @@ }, { "constant": false, - "id": 718, + "id": 210, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8883:15:1", + "scope": 217, + "src": "9138:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2425,10 +2425,10 @@ "typeString": "uint256" }, "typeName": { - "id": 717, + "id": 209, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8883:7:1", + "src": "9138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2438,12 +2438,12 @@ }, { "constant": false, - "id": 720, + "id": 212, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8900:19:1", + "scope": 217, + "src": "9155:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -2451,10 +2451,10 @@ "typeString": "bytes" }, "typeName": { - "id": 719, + "id": 211, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8900:5:1", + "src": "9155:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2463,20 +2463,20 @@ "visibility": "internal" } ], - "src": "8850:70:1" + "src": "9105:70:0" }, "returnParameters": { - "id": 724, + "id": 216, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 723, + "id": 215, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8939:6:1", + "scope": 217, + "src": "9194:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2484,10 +2484,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 722, + "id": 214, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "8939:6:1", + "src": "9194:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2496,20 +2496,20 @@ "visibility": "internal" } ], - "src": "8938:8:1" + "src": "9193:8:0" }, - "scope": 726, - "src": "8825:122:1", + "scope": 218, + "src": "9080:122:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "8303:646:1" + "scope": 2991, + "src": "8548:657:0" }, { - "id": 727, + "id": 219, "literals": [ "solidity", ">=", @@ -2520,55 +2520,55 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "abstract": true, "baseContracts": [ { "baseName": { - "id": 729, + "id": 221, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "9243:7:1", + "referencedDeclaration": 33, + "src": "9511:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 730, + "id": 222, "nodeType": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "documentation": { - "id": 728, + "id": 220, "nodeType": "StructuredDocumentation", - "src": "9043:171:1", + "src": "9305:176:0", "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, "fullyImplemented": true, - "id": 781, + "id": 273, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", "nodeType": "ContractDefinition", "nodes": [ { "constant": true, - "id": 733, + "id": 225, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9340:57:1", + "scope": 273, + "src": "9612:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2576,10 +2576,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 731, + "id": 223, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9340:6:1", + "src": "9612:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2587,14 +2587,14 @@ }, "value": { "hexValue": "30783031666663396137", - "id": 732, + "id": 224, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9387:10:1", + "src": "9659:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_33540519_by_1", "typeString": "int_const 33540519" @@ -2606,17 +2606,17 @@ { "constant": false, "documentation": { - "id": 734, + "id": 226, "nodeType": "StructuredDocumentation", - "src": "9404:82:1", + "src": "9678:84:0", "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 738, + "id": 230, "mutability": "mutable", "name": "_supportedInterfaces", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9491:52:1", + "scope": 273, + "src": "9768:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2624,28 +2624,28 @@ "typeString": "mapping(bytes4 => bool)" }, "typeName": { - "id": 737, + "id": 229, "keyType": { - "id": 735, + "id": 227, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9499:6:1", + "src": "9776:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "nodeType": "Mapping", - "src": "9491:23:1", + "src": "9768:23:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" }, "valueType": { - "id": 736, + "id": 228, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9509:4:1", + "src": "9786:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2656,20 +2656,20 @@ }, { "body": { - "id": 745, + "id": 237, "nodeType": "Block", - "src": "9565:193:1", + "src": "9844:197:0", "statements": [ { "expression": { "arguments": [ { - "id": 742, + "id": 234, "name": "_INTERFACE_ID_ERC165", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 733, - "src": "9730:20:1", + "referencedDeclaration": 225, + "src": "10012:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2683,18 +2683,18 @@ "typeString": "bytes4" } ], - "id": 741, + "id": 233, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "9711:18:1", + "referencedDeclaration": 272, + "src": "9993:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 743, + "id": 235, "isConstant": false, "isLValue": false, "isPure": false, @@ -2702,74 +2702,74 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9711:40:1", + "src": "9993:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 744, + "id": 236, "nodeType": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ] }, - "id": 746, + "id": 238, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 739, + "id": 231, "nodeType": "ParameterList", "parameters": [], - "src": "9562:2:1" + "src": "9841:2:0" }, "returnParameters": { - "id": 740, + "id": 232, "nodeType": "ParameterList", "parameters": [], - "src": "9565:0:1" + "src": "9844:0:0" }, - "scope": 781, - "src": "9550:208:1", + "scope": 273, + "src": "9829:212:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "baseFunctions": [ - 540 + 32 ], "body": { - "id": 759, + "id": 251, "nodeType": "Block", - "src": "9999:57:1", + "src": "10289:59:0", "statements": [ { "expression": { "baseExpression": { - "id": 755, + "id": 247, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10016:20:1", + "referencedDeclaration": 230, + "src": "10307:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 757, + "id": 249, "indexExpression": { - "id": 756, + "id": 248, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 749, - "src": "10037:11:1", + "referencedDeclaration": 241, + "src": "10328:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2780,50 +2780,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10016:33:1", + "src": "10307:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 754, - "id": 758, + "functionReturnParameters": 246, + "id": 250, "nodeType": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ] }, "documentation": { - "id": 747, + "id": 239, "nodeType": "StructuredDocumentation", - "src": "9764:139:1", + "src": "10049:143:0", "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 760, + "id": 252, "implemented": true, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "overrides": { - "id": 751, + "id": 243, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "9975:8:1" + "src": "10265:8:0" }, "parameters": { - "id": 750, + "id": 242, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 749, + "id": 241, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9935:18:1", + "scope": 252, + "src": "10225:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2831,10 +2831,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 748, + "id": 240, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9935:6:1", + "src": "10225:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2843,20 +2843,20 @@ "visibility": "internal" } ], - "src": "9934:20:1" + "src": "10224:20:0" }, "returnParameters": { - "id": 754, + "id": 246, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 753, + "id": 245, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9993:4:1", + "scope": 252, + "src": "10283:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2864,10 +2864,10 @@ "typeString": "bool" }, "typeName": { - "id": 752, + "id": 244, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9993:4:1", + "src": "10283:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2876,19 +2876,19 @@ "visibility": "internal" } ], - "src": "9992:6:1" + "src": "10282:6:0" }, - "scope": 781, - "src": "9908:148:1", + "scope": 273, + "src": "10198:150:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 779, + "id": 271, "nodeType": "Block", - "src": "10515:133:1", + "src": "10820:136:0", "statements": [ { "expression": { @@ -2898,18 +2898,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 769, + "id": 261, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 767, + "id": 259, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10533:11:1", + "referencedDeclaration": 255, + "src": "10839:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2919,21 +2919,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30786666666666666666", - "id": 768, + "id": 260, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10548:10:1", + "src": "10854:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_4294967295_by_1", "typeString": "int_const 4294967295" }, "value": "0xffffffff" }, - "src": "10533:25:1", + "src": "10839:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2941,14 +2941,14 @@ }, { "hexValue": "4552433136353a20696e76616c696420696e74657266616365206964", - "id": 770, + "id": 262, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "10560:30:1", + "src": "10866:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_282912c0dfceceb28d77d0333f496b83948f9ba5b3154358a8b140b849289dee", "typeString": "literal_string \"ERC165: invalid interface id\"" @@ -2967,7 +2967,7 @@ "typeString": "literal_string \"ERC165: invalid interface id\"" } ], - "id": 766, + "id": 258, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -2975,13 +2975,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "10525:7:1", + "src": "10831:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 771, + "id": 263, "isConstant": false, "isLValue": false, "isPure": false, @@ -2989,45 +2989,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10525:66:1", + "src": "10831:66:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 772, + "id": 264, "nodeType": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "expression": { - "id": 777, + "id": 269, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 773, + "id": 265, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10601:20:1", + "referencedDeclaration": 230, + "src": "10908:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 775, + "id": 267, "indexExpression": { - "id": 774, + "id": 266, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10622:11:1", + "referencedDeclaration": 255, + "src": "10929:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3038,7 +3038,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "10601:33:1", + "src": "10908:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3048,56 +3048,56 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 776, + "id": 268, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "10637:4:1", + "src": "10944:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "10601:40:1", + "src": "10908:40:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 778, + "id": 270, "nodeType": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ] }, "documentation": { - "id": 761, + "id": 253, "nodeType": "StructuredDocumentation", - "src": "10062:383:1", + "src": "10356:393:0", "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 780, + "id": 272, "implemented": true, "kind": "function", "modifiers": [], "name": "_registerInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 764, + "id": 256, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 763, + "id": 255, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 780, - "src": "10478:18:1", + "scope": 272, + "src": "10783:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3105,10 +3105,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 762, + "id": 254, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "10478:6:1", + "src": "10783:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3117,26 +3117,26 @@ "visibility": "internal" } ], - "src": "10477:20:1" + "src": "10782:20:0" }, "returnParameters": { - "id": 765, + "id": 257, "nodeType": "ParameterList", "parameters": [], - "src": "10515:0:1" + "src": "10820:0:0" }, - "scope": 781, - "src": "10450:198:1", + "scope": 273, + "src": "10755:201:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "9215:1435:1" + "scope": 2991, + "src": "9483:1476:0" }, { - "id": 782, + "id": 274, "literals": [ "solidity", ">=", @@ -3147,7 +3147,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "abstract": false, @@ -3155,38 +3155,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 783, + "id": 275, "nodeType": "StructuredDocumentation", - "src": "10736:563:1", + "src": "11050:575:0", "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, "fullyImplemented": true, - "id": 1135, + "id": 627, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 813, + "id": 305, "nodeType": "Block", - "src": "11535:98:1", + "src": "11868:102:0", "statements": [ { "assignments": [ - 796 + 288 ], "declarations": [ { "constant": false, - "id": 796, + "id": 288, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 813, - "src": "11545:9:1", + "scope": 305, + "src": "11879:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3194,10 +3194,10 @@ "typeString": "uint256" }, "typeName": { - "id": 795, + "id": 287, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11545:7:1", + "src": "11879:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3206,24 +3206,24 @@ "visibility": "internal" } ], - "id": 800, + "id": 292, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 799, + "id": 291, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 797, + "id": 289, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11557:1:1", + "referencedDeclaration": 278, + "src": "11891:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3232,25 +3232,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 798, + "id": 290, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 788, - "src": "11561:1:1", + "referencedDeclaration": 280, + "src": "11895:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11557:5:1", + "src": "11891:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "condition": { @@ -3258,18 +3258,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 803, + "id": 295, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 801, + "id": 293, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11576:1:1", + "referencedDeclaration": 288, + "src": "11911:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3278,39 +3278,39 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 802, + "id": 294, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11580:1:1", + "referencedDeclaration": 278, + "src": "11915:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11576:5:1", + "src": "11911:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 808, + "id": 300, "nodeType": "IfStatement", - "src": "11572:28:1", + "src": "11907:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 804, + "id": 296, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11591:5:1", + "src": "11926:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3319,14 +3319,14 @@ }, { "hexValue": "30", - "id": 805, + "id": 297, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11598:1:1", + "src": "11933:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3334,23 +3334,23 @@ "value": "0" } ], - "id": 806, + "id": 298, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11590:10:1", + "src": "11925:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 794, - "id": 807, + "functionReturnParameters": 286, + "id": 299, "nodeType": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } }, { @@ -3358,14 +3358,14 @@ "components": [ { "hexValue": "74727565", - "id": 809, + "id": 301, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11618:4:1", + "src": "11954:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3373,62 +3373,62 @@ "value": "true" }, { - "id": 810, + "id": 302, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11624:1:1", + "referencedDeclaration": 288, + "src": "11960:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 811, + "id": 303, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11617:9:1", + "src": "11953:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 794, - "id": 812, + "functionReturnParameters": 286, + "id": 304, "nodeType": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ] }, "documentation": { - "id": 784, + "id": 276, "nodeType": "StructuredDocumentation", - "src": "11323:131:1", + "src": "11651:135:0", "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 814, + "id": 306, "implemented": true, "kind": "function", "modifiers": [], "name": "tryAdd", "nodeType": "FunctionDefinition", "parameters": { - "id": 789, + "id": 281, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 786, + "id": 278, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11475:9:1", + "scope": 306, + "src": "11808:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3436,10 +3436,10 @@ "typeString": "uint256" }, "typeName": { - "id": 785, + "id": 277, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11475:7:1", + "src": "11808:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3449,12 +3449,12 @@ }, { "constant": false, - "id": 788, + "id": 280, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11486:9:1", + "scope": 306, + "src": "11819:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3462,10 +3462,10 @@ "typeString": "uint256" }, "typeName": { - "id": 787, + "id": 279, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11486:7:1", + "src": "11819:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3474,20 +3474,20 @@ "visibility": "internal" } ], - "src": "11474:22:1" + "src": "11807:22:0" }, "returnParameters": { - "id": 794, + "id": 286, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 791, + "id": 283, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11520:4:1", + "scope": 306, + "src": "11853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3495,10 +3495,10 @@ "typeString": "bool" }, "typeName": { - "id": 790, + "id": 282, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11520:4:1", + "src": "11853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3508,12 +3508,12 @@ }, { "constant": false, - "id": 793, + "id": 285, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11526:7:1", + "scope": 306, + "src": "11859:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3521,10 +3521,10 @@ "typeString": "uint256" }, "typeName": { - "id": 792, + "id": 284, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11526:7:1", + "src": "11859:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3533,19 +3533,19 @@ "visibility": "internal" } ], - "src": "11519:15:1" + "src": "11852:15:0" }, - "scope": 1135, - "src": "11459:174:1", + "scope": 627, + "src": "11792:178:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 840, + "id": 332, "nodeType": "Block", - "src": "11855:75:1", + "src": "12199:78:0", "statements": [ { "condition": { @@ -3553,18 +3553,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 828, + "id": 320, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 826, + "id": 318, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11869:1:1", + "referencedDeclaration": 311, + "src": "12214:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3573,39 +3573,39 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 827, + "id": 319, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11873:1:1", + "referencedDeclaration": 309, + "src": "12218:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11869:5:1", + "src": "12214:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 833, + "id": 325, "nodeType": "IfStatement", - "src": "11865:28:1", + "src": "12210:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 829, + "id": 321, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11884:5:1", + "src": "12229:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3614,14 +3614,14 @@ }, { "hexValue": "30", - "id": 830, + "id": 322, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11891:1:1", + "src": "12236:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3629,23 +3629,23 @@ "value": "0" } ], - "id": 831, + "id": 323, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11883:10:1", + "src": "12228:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 825, - "id": 832, + "functionReturnParameters": 317, + "id": 324, "nodeType": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } }, { @@ -3653,14 +3653,14 @@ "components": [ { "hexValue": "74727565", - "id": 834, + "id": 326, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11911:4:1", + "src": "12257:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3672,18 +3672,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 837, + "id": 329, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 835, + "id": 327, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11917:1:1", + "referencedDeclaration": 309, + "src": "12263:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3692,68 +3692,68 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 836, + "id": 328, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11921:1:1", + "referencedDeclaration": 311, + "src": "12267:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11917:5:1", + "src": "12263:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 838, + "id": 330, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11910:13:1", + "src": "12256:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 825, - "id": 839, + "functionReturnParameters": 317, + "id": 331, "nodeType": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ] }, "documentation": { - "id": 815, + "id": 307, "nodeType": "StructuredDocumentation", - "src": "11639:135:1", + "src": "11978:139:0", "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 841, + "id": 333, "implemented": true, "kind": "function", "modifiers": [], "name": "trySub", "nodeType": "FunctionDefinition", "parameters": { - "id": 820, + "id": 312, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 817, + "id": 309, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11795:9:1", + "scope": 333, + "src": "12139:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3761,10 +3761,10 @@ "typeString": "uint256" }, "typeName": { - "id": 816, + "id": 308, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11795:7:1", + "src": "12139:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3774,12 +3774,12 @@ }, { "constant": false, - "id": 819, + "id": 311, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11806:9:1", + "scope": 333, + "src": "12150:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3787,10 +3787,10 @@ "typeString": "uint256" }, "typeName": { - "id": 818, + "id": 310, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11806:7:1", + "src": "12150:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3799,20 +3799,20 @@ "visibility": "internal" } ], - "src": "11794:22:1" + "src": "12138:22:0" }, "returnParameters": { - "id": 825, + "id": 317, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 822, + "id": 314, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11840:4:1", + "scope": 333, + "src": "12184:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3820,10 +3820,10 @@ "typeString": "bool" }, "typeName": { - "id": 821, + "id": 313, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11840:4:1", + "src": "12184:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3833,12 +3833,12 @@ }, { "constant": false, - "id": 824, + "id": 316, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11846:7:1", + "scope": 333, + "src": "12190:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3846,10 +3846,10 @@ "typeString": "uint256" }, "typeName": { - "id": 823, + "id": 315, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11846:7:1", + "src": "12190:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3858,19 +3858,19 @@ "visibility": "internal" } ], - "src": "11839:15:1" + "src": "12183:15:0" }, - "scope": 1135, - "src": "11779:151:1", + "scope": 627, + "src": "12123:154:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 881, + "id": 373, "nodeType": "Block", - "src": "12154:359:1", + "src": "12508:367:0", "statements": [ { "condition": { @@ -3878,18 +3878,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 855, + "id": 347, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 853, + "id": 345, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12386:1:1", + "referencedDeclaration": 336, + "src": "12744:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3899,42 +3899,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 854, + "id": 346, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12391:1:1", + "src": "12749:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12386:6:1", + "src": "12744:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 860, + "id": 352, "nodeType": "IfStatement", - "src": "12382:28:1", + "src": "12740:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "74727565", - "id": 856, + "id": 348, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12402:4:1", + "src": "12760:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3943,14 +3943,14 @@ }, { "hexValue": "30", - "id": 857, + "id": 349, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12408:1:1", + "src": "12766:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3958,38 +3958,38 @@ "value": "0" } ], - "id": 858, + "id": 350, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12401:9:1", + "src": "12759:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 859, + "functionReturnParameters": 344, + "id": 351, "nodeType": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } }, { "assignments": [ - 862 + 354 ], "declarations": [ { "constant": false, - "id": 862, + "id": 354, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 881, - "src": "12420:9:1", + "scope": 373, + "src": "12779:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3997,10 +3997,10 @@ "typeString": "uint256" }, "typeName": { - "id": 861, + "id": 353, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12420:7:1", + "src": "12779:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4009,24 +4009,24 @@ "visibility": "internal" } ], - "id": 866, + "id": 358, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 865, + "id": 357, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 863, + "id": 355, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12432:1:1", + "referencedDeclaration": 336, + "src": "12791:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4035,25 +4035,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 864, + "id": 356, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12436:1:1", + "referencedDeclaration": 338, + "src": "12795:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12432:5:1", + "src": "12791:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "condition": { @@ -4061,7 +4061,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 871, + "id": 363, "isConstant": false, "isLValue": false, "isPure": false, @@ -4071,18 +4071,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 869, + "id": 361, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 867, + "id": 359, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12451:1:1", + "referencedDeclaration": 354, + "src": "12811:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4091,18 +4091,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 868, + "id": 360, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12455:1:1", + "referencedDeclaration": 336, + "src": "12815:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:5:1", + "src": "12811:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4111,39 +4111,39 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 870, + "id": 362, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12460:1:1", + "referencedDeclaration": 338, + "src": "12820:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:10:1", + "src": "12811:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 876, + "id": 368, "nodeType": "IfStatement", - "src": "12447:33:1", + "src": "12807:33:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 872, + "id": 364, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12471:5:1", + "src": "12831:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4152,14 +4152,14 @@ }, { "hexValue": "30", - "id": 873, + "id": 365, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12478:1:1", + "src": "12838:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4167,23 +4167,23 @@ "value": "0" } ], - "id": 874, + "id": 366, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12470:10:1", + "src": "12830:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 875, + "functionReturnParameters": 344, + "id": 367, "nodeType": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } }, { @@ -4191,14 +4191,14 @@ "components": [ { "hexValue": "74727565", - "id": 877, + "id": 369, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12498:4:1", + "src": "12859:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4206,62 +4206,62 @@ "value": "true" }, { - "id": 878, + "id": 370, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12504:1:1", + "referencedDeclaration": 354, + "src": "12865:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 879, + "id": 371, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12497:9:1", + "src": "12858:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 852, - "id": 880, + "functionReturnParameters": 344, + "id": 372, "nodeType": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ] }, "documentation": { - "id": 842, + "id": 334, "nodeType": "StructuredDocumentation", - "src": "11936:137:1", + "src": "12285:141:0", "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 882, + "id": 374, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMul", "nodeType": "FunctionDefinition", "parameters": { - "id": 847, + "id": 339, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 844, + "id": 336, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12094:9:1", + "scope": 374, + "src": "12448:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4269,10 +4269,10 @@ "typeString": "uint256" }, "typeName": { - "id": 843, + "id": 335, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12094:7:1", + "src": "12448:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4282,12 +4282,12 @@ }, { "constant": false, - "id": 846, + "id": 338, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12105:9:1", + "scope": 374, + "src": "12459:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4295,10 +4295,10 @@ "typeString": "uint256" }, "typeName": { - "id": 845, + "id": 337, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12105:7:1", + "src": "12459:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4307,20 +4307,20 @@ "visibility": "internal" } ], - "src": "12093:22:1" + "src": "12447:22:0" }, "returnParameters": { - "id": 852, + "id": 344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 849, + "id": 341, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12139:4:1", + "scope": 374, + "src": "12493:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4328,10 +4328,10 @@ "typeString": "bool" }, "typeName": { - "id": 848, + "id": 340, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12139:4:1", + "src": "12493:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4341,12 +4341,12 @@ }, { "constant": false, - "id": 851, + "id": 343, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12145:7:1", + "scope": 374, + "src": "12499:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4354,10 +4354,10 @@ "typeString": "uint256" }, "typeName": { - "id": 850, + "id": 342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12145:7:1", + "src": "12499:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4366,19 +4366,19 @@ "visibility": "internal" } ], - "src": "12138:15:1" + "src": "12492:15:0" }, - "scope": 1135, - "src": "12078:435:1", + "scope": 627, + "src": "12432:443:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 908, + "id": 400, "nodeType": "Block", - "src": "12738:76:1", + "src": "13107:79:0", "statements": [ { "condition": { @@ -4386,18 +4386,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 896, + "id": 388, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 894, + "id": 386, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12752:1:1", + "referencedDeclaration": 379, + "src": "13122:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4407,42 +4407,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 895, + "id": 387, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12757:1:1", + "src": "13127:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12752:6:1", + "src": "13122:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 901, + "id": 393, "nodeType": "IfStatement", - "src": "12748:29:1", + "src": "13118:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 897, + "id": 389, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12768:5:1", + "src": "13138:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4451,14 +4451,14 @@ }, { "hexValue": "30", - "id": 898, + "id": 390, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12775:1:1", + "src": "13145:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4466,23 +4466,23 @@ "value": "0" } ], - "id": 899, + "id": 391, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12767:10:1", + "src": "13137:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 893, - "id": 900, + "functionReturnParameters": 385, + "id": 392, "nodeType": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } }, { @@ -4490,14 +4490,14 @@ "components": [ { "hexValue": "74727565", - "id": 902, + "id": 394, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12795:4:1", + "src": "13166:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4509,18 +4509,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 905, + "id": 397, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 903, + "id": 395, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 885, - "src": "12801:1:1", + "referencedDeclaration": 377, + "src": "13172:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4529,68 +4529,68 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 904, + "id": 396, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12805:1:1", + "referencedDeclaration": 379, + "src": "13176:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12801:5:1", + "src": "13172:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 906, + "id": 398, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12794:13:1", + "src": "13165:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 893, - "id": 907, + "functionReturnParameters": 385, + "id": 399, "nodeType": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ] }, "documentation": { - "id": 883, + "id": 375, "nodeType": "StructuredDocumentation", - "src": "12519:138:1", + "src": "12883:142:0", "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 909, + "id": 401, "implemented": true, "kind": "function", "modifiers": [], "name": "tryDiv", "nodeType": "FunctionDefinition", "parameters": { - "id": 888, + "id": 380, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 885, + "id": 377, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12678:9:1", + "scope": 401, + "src": "13047:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4598,10 +4598,10 @@ "typeString": "uint256" }, "typeName": { - "id": 884, + "id": 376, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12678:7:1", + "src": "13047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4611,12 +4611,12 @@ }, { "constant": false, - "id": 887, + "id": 379, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12689:9:1", + "scope": 401, + "src": "13058:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4624,10 +4624,10 @@ "typeString": "uint256" }, "typeName": { - "id": 886, + "id": 378, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12689:7:1", + "src": "13058:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4636,20 +4636,20 @@ "visibility": "internal" } ], - "src": "12677:22:1" + "src": "13046:22:0" }, "returnParameters": { - "id": 893, + "id": 385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 890, + "id": 382, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12723:4:1", + "scope": 401, + "src": "13092:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4657,10 +4657,10 @@ "typeString": "bool" }, "typeName": { - "id": 889, + "id": 381, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12723:4:1", + "src": "13092:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4670,12 +4670,12 @@ }, { "constant": false, - "id": 892, + "id": 384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12729:7:1", + "scope": 401, + "src": "13098:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4683,10 +4683,10 @@ "typeString": "uint256" }, "typeName": { - "id": 891, + "id": 383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12729:7:1", + "src": "13098:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4695,19 +4695,19 @@ "visibility": "internal" } ], - "src": "12722:15:1" + "src": "13091:15:0" }, - "scope": 1135, - "src": "12662:152:1", + "scope": 627, + "src": "13031:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 935, + "id": 427, "nodeType": "Block", - "src": "13049:76:1", + "src": "13428:79:0", "statements": [ { "condition": { @@ -4715,18 +4715,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 923, + "id": 415, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 921, + "id": 413, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13063:1:1", + "referencedDeclaration": 406, + "src": "13443:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4736,42 +4736,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 922, + "id": 414, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13068:1:1", + "src": "13448:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "13063:6:1", + "src": "13443:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 928, + "id": 420, "nodeType": "IfStatement", - "src": "13059:29:1", + "src": "13439:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 924, + "id": 416, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13079:5:1", + "src": "13459:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4780,14 +4780,14 @@ }, { "hexValue": "30", - "id": 925, + "id": 417, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13086:1:1", + "src": "13466:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4795,23 +4795,23 @@ "value": "0" } ], - "id": 926, + "id": 418, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13078:10:1", + "src": "13458:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 920, - "id": 927, + "functionReturnParameters": 412, + "id": 419, "nodeType": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } }, { @@ -4819,14 +4819,14 @@ "components": [ { "hexValue": "74727565", - "id": 929, + "id": 421, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13106:4:1", + "src": "13487:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4838,18 +4838,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 932, + "id": 424, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 930, + "id": 422, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 912, - "src": "13112:1:1", + "referencedDeclaration": 404, + "src": "13493:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4858,68 +4858,68 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 931, + "id": 423, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13116:1:1", + "referencedDeclaration": 406, + "src": "13497:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13112:5:1", + "src": "13493:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 933, + "id": 425, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13105:13:1", + "src": "13486:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 920, - "id": 934, + "functionReturnParameters": 412, + "id": 426, "nodeType": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ] }, "documentation": { - "id": 910, + "id": 402, "nodeType": "StructuredDocumentation", - "src": "12820:148:1", + "src": "13194:152:0", "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 936, + "id": 428, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMod", "nodeType": "FunctionDefinition", "parameters": { - "id": 915, + "id": 407, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 912, + "id": 404, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "12989:9:1", + "scope": 428, + "src": "13368:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4927,10 +4927,10 @@ "typeString": "uint256" }, "typeName": { - "id": 911, + "id": 403, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12989:7:1", + "src": "13368:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4940,12 +4940,12 @@ }, { "constant": false, - "id": 914, + "id": 406, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13000:9:1", + "scope": 428, + "src": "13379:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4953,10 +4953,10 @@ "typeString": "uint256" }, "typeName": { - "id": 913, + "id": 405, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13000:7:1", + "src": "13379:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4965,20 +4965,20 @@ "visibility": "internal" } ], - "src": "12988:22:1" + "src": "13367:22:0" }, "returnParameters": { - "id": 920, + "id": 412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 917, + "id": 409, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13034:4:1", + "scope": 428, + "src": "13413:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4986,10 +4986,10 @@ "typeString": "bool" }, "typeName": { - "id": 916, + "id": 408, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "13034:4:1", + "src": "13413:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4999,12 +4999,12 @@ }, { "constant": false, - "id": 919, + "id": 411, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13040:7:1", + "scope": 428, + "src": "13419:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5012,10 +5012,10 @@ "typeString": "uint256" }, "typeName": { - "id": 918, + "id": 410, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13040:7:1", + "src": "13419:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5024,33 +5024,33 @@ "visibility": "internal" } ], - "src": "13033:15:1" + "src": "13412:15:0" }, - "scope": 1135, - "src": "12973:152:1", + "scope": 627, + "src": "13352:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 961, + "id": 453, "nodeType": "Block", - "src": "13427:108:1", + "src": "13821:112:0", "statements": [ { "assignments": [ - 947 + 439 ], "declarations": [ { "constant": false, - "id": 947, + "id": 439, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 961, - "src": "13437:9:1", + "scope": 453, + "src": "13832:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5058,10 +5058,10 @@ "typeString": "uint256" }, "typeName": { - "id": 946, + "id": 438, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13437:7:1", + "src": "13832:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5070,24 +5070,24 @@ "visibility": "internal" } ], - "id": 951, + "id": 443, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 950, + "id": 442, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 948, + "id": 440, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13449:1:1", + "referencedDeclaration": 431, + "src": "13844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5096,25 +5096,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 949, + "id": 441, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 941, - "src": "13453:1:1", + "referencedDeclaration": 433, + "src": "13848:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13449:5:1", + "src": "13844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "expression": { @@ -5124,18 +5124,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 955, + "id": 447, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 953, + "id": 445, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13472:1:1", + "referencedDeclaration": 439, + "src": "13868:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5144,18 +5144,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 954, + "id": 446, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13477:1:1", + "referencedDeclaration": 431, + "src": "13873:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13472:6:1", + "src": "13868:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5163,14 +5163,14 @@ }, { "hexValue": "536166654d6174683a206164646974696f6e206f766572666c6f77", - "id": 956, + "id": 448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13480:29:1", + "src": "13876:29:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_30cc447bcc13b3e22b45cef0dd9b0b514842d836dd9b6eb384e20dedfb47723a", "typeString": "literal_string \"SafeMath: addition overflow\"" @@ -5189,7 +5189,7 @@ "typeString": "literal_string \"SafeMath: addition overflow\"" } ], - "id": 952, + "id": 444, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5197,13 +5197,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13464:7:1", + "src": "13860:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 957, + "id": 449, "isConstant": false, "isLValue": false, "isPure": false, @@ -5211,61 +5211,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13464:46:1", + "src": "13860:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 958, + "id": 450, "nodeType": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "expression": { - "id": 959, + "id": 451, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13527:1:1", + "referencedDeclaration": 439, + "src": "13924:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 945, - "id": 960, + "functionReturnParameters": 437, + "id": 452, "nodeType": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ] }, "documentation": { - "id": 937, + "id": 429, "nodeType": "StructuredDocumentation", - "src": "13131:224:1", + "src": "13515:233:0", "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 962, + "id": 454, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 942, + "id": 434, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 939, + "id": 431, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13373:9:1", + "scope": 454, + "src": "13767:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5273,10 +5273,10 @@ "typeString": "uint256" }, "typeName": { - "id": 938, + "id": 430, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13373:7:1", + "src": "13767:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5286,12 +5286,12 @@ }, { "constant": false, - "id": 941, + "id": 433, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13384:9:1", + "scope": 454, + "src": "13778:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5299,10 +5299,10 @@ "typeString": "uint256" }, "typeName": { - "id": 940, + "id": 432, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13384:7:1", + "src": "13778:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5311,20 +5311,20 @@ "visibility": "internal" } ], - "src": "13372:22:1" + "src": "13766:22:0" }, "returnParameters": { - "id": 945, + "id": 437, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 944, + "id": 436, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13418:7:1", + "scope": 454, + "src": "13812:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5332,10 +5332,10 @@ "typeString": "uint256" }, "typeName": { - "id": 943, + "id": 435, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13418:7:1", + "src": "13812:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5344,19 +5344,19 @@ "visibility": "internal" } ], - "src": "13417:9:1" + "src": "13811:9:0" }, - "scope": 1135, - "src": "13360:175:1", + "scope": 627, + "src": "13754:179:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 983, + "id": 475, "nodeType": "Block", - "src": "13873:88:1", + "src": "14283:91:0", "statements": [ { "expression": { @@ -5366,18 +5366,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 975, + "id": 467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 973, + "id": 465, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13891:1:1", + "referencedDeclaration": 459, + "src": "14302:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5386,18 +5386,18 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 974, + "id": 466, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13896:1:1", + "referencedDeclaration": 457, + "src": "14307:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13891:6:1", + "src": "14302:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5405,14 +5405,14 @@ }, { "hexValue": "536166654d6174683a207375627472616374696f6e206f766572666c6f77", - "id": 976, + "id": 468, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13899:32:1", + "src": "14310:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_50b058e9b5320e58880d88223c9801cd9eecdcf90323d5c2318bc1b6b916e862", "typeString": "literal_string \"SafeMath: subtraction overflow\"" @@ -5431,7 +5431,7 @@ "typeString": "literal_string \"SafeMath: subtraction overflow\"" } ], - "id": 972, + "id": 464, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5439,13 +5439,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13883:7:1", + "src": "14294:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 977, + "id": 469, "isConstant": false, "isLValue": false, "isPure": false, @@ -5453,16 +5453,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13883:49:1", + "src": "14294:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 978, + "id": 470, "nodeType": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "expression": { @@ -5470,18 +5470,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 981, + "id": 473, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 979, + "id": 471, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13949:1:1", + "referencedDeclaration": 457, + "src": "14361:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5490,54 +5490,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 980, + "id": 472, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13953:1:1", + "referencedDeclaration": 459, + "src": "14365:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13949:5:1", + "src": "14361:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 971, - "id": 982, + "functionReturnParameters": 463, + "id": 474, "nodeType": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ] }, "documentation": { - "id": 963, + "id": 455, "nodeType": "StructuredDocumentation", - "src": "13541:260:1", + "src": "13941:269:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 984, + "id": 476, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 968, + "id": 460, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 965, + "id": 457, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13819:9:1", + "scope": 476, + "src": "14229:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5545,10 +5545,10 @@ "typeString": "uint256" }, "typeName": { - "id": 964, + "id": 456, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13819:7:1", + "src": "14229:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5558,12 +5558,12 @@ }, { "constant": false, - "id": 967, + "id": 459, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13830:9:1", + "scope": 476, + "src": "14240:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5571,10 +5571,10 @@ "typeString": "uint256" }, "typeName": { - "id": 966, + "id": 458, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13830:7:1", + "src": "14240:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5583,20 +5583,20 @@ "visibility": "internal" } ], - "src": "13818:22:1" + "src": "14228:22:0" }, "returnParameters": { - "id": 971, + "id": 463, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 970, + "id": 462, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13864:7:1", + "scope": 476, + "src": "14274:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5604,10 +5604,10 @@ "typeString": "uint256" }, "typeName": { - "id": 969, + "id": 461, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13864:7:1", + "src": "14274:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5616,19 +5616,19 @@ "visibility": "internal" } ], - "src": "13863:9:1" + "src": "14273:9:0" }, - "scope": 1135, - "src": "13806:155:1", + "scope": 627, + "src": "14216:158:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1017, + "id": 509, "nodeType": "Block", - "src": "14275:148:1", + "src": "14700:153:0", "statements": [ { "condition": { @@ -5636,18 +5636,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 996, + "id": 488, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 994, + "id": 486, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14289:1:1", + "referencedDeclaration": 479, + "src": "14715:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5657,65 +5657,65 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 995, + "id": 487, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14294:1:1", + "src": "14720:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14289:6:1", + "src": "14715:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 999, + "id": 491, "nodeType": "IfStatement", - "src": "14285:20:1", + "src": "14711:20:0", "trueBody": { "expression": { "hexValue": "30", - "id": 997, + "id": 489, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14304:1:1", + "src": "14730:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "functionReturnParameters": 993, - "id": 998, + "functionReturnParameters": 485, + "id": 490, "nodeType": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } }, { "assignments": [ - 1001 + 493 ], "declarations": [ { "constant": false, - "id": 1001, + "id": 493, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 1017, - "src": "14315:9:1", + "scope": 509, + "src": "14742:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5723,10 +5723,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1000, + "id": 492, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14315:7:1", + "src": "14742:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5735,24 +5735,24 @@ "visibility": "internal" } ], - "id": 1005, + "id": 497, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1004, + "id": 496, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1002, + "id": 494, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14327:1:1", + "referencedDeclaration": 479, + "src": "14754:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5761,25 +5761,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 1003, + "id": 495, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14331:1:1", + "referencedDeclaration": 481, + "src": "14758:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14327:5:1", + "src": "14754:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "expression": { @@ -5789,7 +5789,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1011, + "id": 503, "isConstant": false, "isLValue": false, "isPure": false, @@ -5799,18 +5799,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1009, + "id": 501, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1007, + "id": 499, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14350:1:1", + "referencedDeclaration": 493, + "src": "14778:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5819,18 +5819,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1008, + "id": 500, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14354:1:1", + "referencedDeclaration": 479, + "src": "14782:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:5:1", + "src": "14778:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5839,18 +5839,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 1010, + "id": 502, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14359:1:1", + "referencedDeclaration": 481, + "src": "14787:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:10:1", + "src": "14778:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5858,14 +5858,14 @@ }, { "hexValue": "536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77", - "id": 1012, + "id": 504, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14362:35:1", + "src": "14790:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9113bb53c2876a3805b2c9242029423fc540a728243ce887ab24c82cf119fba3", "typeString": "literal_string \"SafeMath: multiplication overflow\"" @@ -5884,7 +5884,7 @@ "typeString": "literal_string \"SafeMath: multiplication overflow\"" } ], - "id": 1006, + "id": 498, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5892,13 +5892,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14342:7:1", + "src": "14770:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1013, + "id": 505, "isConstant": false, "isLValue": false, "isPure": false, @@ -5906,61 +5906,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14342:56:1", + "src": "14770:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1014, + "id": 506, "nodeType": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "expression": { - "id": 1015, + "id": 507, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14415:1:1", + "referencedDeclaration": 493, + "src": "14844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 993, - "id": 1016, + "functionReturnParameters": 485, + "id": 508, "nodeType": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ] }, "documentation": { - "id": 985, + "id": 477, "nodeType": "StructuredDocumentation", - "src": "13967:236:1", + "src": "14382:245:0", "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 1018, + "id": 510, "implemented": true, "kind": "function", "modifiers": [], "name": "mul", "nodeType": "FunctionDefinition", "parameters": { - "id": 990, + "id": 482, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 987, + "id": 479, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14221:9:1", + "scope": 510, + "src": "14646:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5968,10 +5968,10 @@ "typeString": "uint256" }, "typeName": { - "id": 986, + "id": 478, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14221:7:1", + "src": "14646:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5981,12 +5981,12 @@ }, { "constant": false, - "id": 989, + "id": 481, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14232:9:1", + "scope": 510, + "src": "14657:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5994,10 +5994,10 @@ "typeString": "uint256" }, "typeName": { - "id": 988, + "id": 480, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14232:7:1", + "src": "14657:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6006,20 +6006,20 @@ "visibility": "internal" } ], - "src": "14220:22:1" + "src": "14645:22:0" }, "returnParameters": { - "id": 993, + "id": 485, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 992, + "id": 484, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14266:7:1", + "scope": 510, + "src": "14691:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6027,10 +6027,10 @@ "typeString": "uint256" }, "typeName": { - "id": 991, + "id": 483, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14266:7:1", + "src": "14691:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6039,19 +6039,19 @@ "visibility": "internal" } ], - "src": "14265:9:1" + "src": "14690:9:0" }, - "scope": 1135, - "src": "14208:215:1", + "scope": 627, + "src": "14633:220:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1039, + "id": 531, "nodeType": "Block", - "src": "14954:83:1", + "src": "15398:86:0", "statements": [ { "expression": { @@ -6061,18 +6061,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1031, + "id": 523, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1029, + "id": 521, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "14972:1:1", + "referencedDeclaration": 515, + "src": "15417:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6082,21 +6082,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1030, + "id": 522, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14976:1:1", + "src": "15421:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14972:5:1", + "src": "15417:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6104,14 +6104,14 @@ }, { "hexValue": "536166654d6174683a206469766973696f6e206279207a65726f", - "id": 1032, + "id": 524, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14979:28:1", + "src": "15424:28:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5b7cc70dda4dc2143e5adb63bd5d1f349504f461dbdfd9bc76fac1f8ca6d019f", "typeString": "literal_string \"SafeMath: division by zero\"" @@ -6130,7 +6130,7 @@ "typeString": "literal_string \"SafeMath: division by zero\"" } ], - "id": 1028, + "id": 520, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6138,13 +6138,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14964:7:1", + "src": "15409:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1033, + "id": 525, "isConstant": false, "isLValue": false, "isPure": false, @@ -6152,16 +6152,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14964:44:1", + "src": "15409:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1034, + "id": 526, "nodeType": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "expression": { @@ -6169,18 +6169,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1037, + "id": 529, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1035, + "id": 527, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1021, - "src": "15025:1:1", + "referencedDeclaration": 513, + "src": "15471:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6189,54 +6189,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1036, + "id": 528, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "15029:1:1", + "referencedDeclaration": 515, + "src": "15475:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15025:5:1", + "src": "15471:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1027, - "id": 1038, + "functionReturnParameters": 519, + "id": 530, "nodeType": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ] }, "documentation": { - "id": 1019, + "id": 511, "nodeType": "StructuredDocumentation", - "src": "14429:453:1", + "src": "14861:464:0", "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1040, + "id": 532, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1024, + "id": 516, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1021, + "id": 513, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14900:9:1", + "scope": 532, + "src": "15344:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6244,10 +6244,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1020, + "id": 512, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14900:7:1", + "src": "15344:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6257,12 +6257,12 @@ }, { "constant": false, - "id": 1023, + "id": 515, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14911:9:1", + "scope": 532, + "src": "15355:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6270,10 +6270,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1022, + "id": 514, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14911:7:1", + "src": "15355:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6282,20 +6282,20 @@ "visibility": "internal" } ], - "src": "14899:22:1" + "src": "15343:22:0" }, "returnParameters": { - "id": 1027, + "id": 519, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1026, + "id": 518, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14945:7:1", + "scope": 532, + "src": "15389:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6303,10 +6303,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1025, + "id": 517, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14945:7:1", + "src": "15389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6315,19 +6315,19 @@ "visibility": "internal" } ], - "src": "14944:9:1" + "src": "15388:9:0" }, - "scope": 1135, - "src": "14887:150:1", + "scope": 627, + "src": "15331:153:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1061, + "id": 553, "nodeType": "Block", - "src": "15557:81:1", + "src": "16018:84:0", "statements": [ { "expression": { @@ -6337,18 +6337,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1053, + "id": 545, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1051, + "id": 543, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15575:1:1", + "referencedDeclaration": 537, + "src": "16037:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6358,21 +6358,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1052, + "id": 544, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15579:1:1", + "src": "16041:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "15575:5:1", + "src": "16037:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6380,14 +6380,14 @@ }, { "hexValue": "536166654d6174683a206d6f64756c6f206279207a65726f", - "id": 1054, + "id": 546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "15582:26:1", + "src": "16044:26:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_726e51f7b81fce0a68f5f214f445e275313b20b1633f08ce954ee39abf8d7832", "typeString": "literal_string \"SafeMath: modulo by zero\"" @@ -6406,7 +6406,7 @@ "typeString": "literal_string \"SafeMath: modulo by zero\"" } ], - "id": 1050, + "id": 542, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6414,13 +6414,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "15567:7:1", + "src": "16029:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1055, + "id": 547, "isConstant": false, "isLValue": false, "isPure": false, @@ -6428,16 +6428,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15567:42:1", + "src": "16029:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1056, + "id": 548, "nodeType": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "expression": { @@ -6445,18 +6445,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1059, + "id": 551, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1057, + "id": 549, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1043, - "src": "15626:1:1", + "referencedDeclaration": 535, + "src": "16089:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6465,54 +6465,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1058, + "id": 550, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15630:1:1", + "referencedDeclaration": 537, + "src": "16093:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15626:5:1", + "src": "16089:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1049, - "id": 1060, + "functionReturnParameters": 541, + "id": 552, "nodeType": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ] }, "documentation": { - "id": 1041, + "id": 533, "nodeType": "StructuredDocumentation", - "src": "15043:442:1", + "src": "15492:453:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1062, + "id": 554, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1046, + "id": 538, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1043, + "id": 535, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15503:9:1", + "scope": 554, + "src": "15964:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6520,10 +6520,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1042, + "id": 534, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15503:7:1", + "src": "15964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6533,12 +6533,12 @@ }, { "constant": false, - "id": 1045, + "id": 537, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15514:9:1", + "scope": 554, + "src": "15975:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6546,10 +6546,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1044, + "id": 536, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15514:7:1", + "src": "15975:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6558,20 +6558,20 @@ "visibility": "internal" } ], - "src": "15502:22:1" + "src": "15963:22:0" }, "returnParameters": { - "id": 1049, + "id": 541, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1048, + "id": 540, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15548:7:1", + "scope": 554, + "src": "16009:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6579,10 +6579,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1047, + "id": 539, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15548:7:1", + "src": "16009:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6591,19 +6591,19 @@ "visibility": "internal" } ], - "src": "15547:9:1" + "src": "16008:9:0" }, - "scope": 1135, - "src": "15490:148:1", + "scope": 627, + "src": "15951:151:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1085, + "id": 577, "nodeType": "Block", - "src": "16197:68:1", + "src": "16676:71:0", "statements": [ { "expression": { @@ -6613,18 +6613,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1077, + "id": 569, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1075, + "id": 567, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16215:1:1", + "referencedDeclaration": 559, + "src": "16695:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6633,30 +6633,30 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 1076, + "id": 568, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16220:1:1", + "referencedDeclaration": 557, + "src": "16700:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16215:6:1", + "src": "16695:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1078, + "id": 570, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1069, - "src": "16223:12:1", + "referencedDeclaration": 561, + "src": "16703:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6674,7 +6674,7 @@ "typeString": "string memory" } ], - "id": 1074, + "id": 566, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6682,13 +6682,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "16207:7:1", + "src": "16687:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1079, + "id": 571, "isConstant": false, "isLValue": false, "isPure": false, @@ -6696,16 +6696,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16207:29:1", + "src": "16687:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1080, + "id": 572, "nodeType": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "expression": { @@ -6713,18 +6713,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1083, + "id": 575, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1081, + "id": 573, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16253:1:1", + "referencedDeclaration": 557, + "src": "16734:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6733,54 +6733,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 1082, + "id": 574, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16257:1:1", + "referencedDeclaration": 559, + "src": "16738:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16253:5:1", + "src": "16734:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1073, - "id": 1084, + "functionReturnParameters": 565, + "id": 576, "nodeType": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ] }, "documentation": { - "id": 1063, + "id": 555, "nodeType": "StructuredDocumentation", - "src": "15644:453:1", + "src": "16110:465:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1086, + "id": 578, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 1070, + "id": 562, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1065, + "id": 557, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16115:9:1", + "scope": 578, + "src": "16594:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6788,10 +6788,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1064, + "id": 556, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16115:7:1", + "src": "16594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6801,12 +6801,12 @@ }, { "constant": false, - "id": 1067, + "id": 559, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16126:9:1", + "scope": 578, + "src": "16605:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6814,10 +6814,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1066, + "id": 558, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16126:7:1", + "src": "16605:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6827,12 +6827,12 @@ }, { "constant": false, - "id": 1069, + "id": 561, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16137:26:1", + "scope": 578, + "src": "16616:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -6840,10 +6840,10 @@ "typeString": "string" }, "typeName": { - "id": 1068, + "id": 560, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16137:6:1", + "src": "16616:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -6852,20 +6852,20 @@ "visibility": "internal" } ], - "src": "16114:50:1" + "src": "16593:50:0" }, "returnParameters": { - "id": 1073, + "id": 565, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1072, + "id": 564, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16188:7:1", + "scope": 578, + "src": "16667:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6873,10 +6873,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1071, + "id": 563, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16188:7:1", + "src": "16667:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6885,19 +6885,19 @@ "visibility": "internal" } ], - "src": "16187:9:1" + "src": "16666:9:0" }, - "scope": 1135, - "src": "16102:163:1", + "scope": 627, + "src": "16581:166:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1109, + "id": 601, "nodeType": "Block", - "src": "17017:67:1", + "src": "17516:70:0", "statements": [ { "expression": { @@ -6907,18 +6907,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1101, + "id": 593, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1099, + "id": 591, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17035:1:1", + "referencedDeclaration": 583, + "src": "17535:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6928,33 +6928,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1100, + "id": 592, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17039:1:1", + "src": "17539:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17035:5:1", + "src": "17535:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1102, + "id": 594, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1093, - "src": "17042:12:1", + "referencedDeclaration": 585, + "src": "17542:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6972,7 +6972,7 @@ "typeString": "string memory" } ], - "id": 1098, + "id": 590, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6980,13 +6980,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17027:7:1", + "src": "17527:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1103, + "id": 595, "isConstant": false, "isLValue": false, "isPure": false, @@ -6994,16 +6994,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17027:28:1", + "src": "17527:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1104, + "id": 596, "nodeType": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "expression": { @@ -7011,18 +7011,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1107, + "id": 599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1105, + "id": 597, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1089, - "src": "17072:1:1", + "referencedDeclaration": 581, + "src": "17573:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7031,54 +7031,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1106, + "id": 598, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17076:1:1", + "referencedDeclaration": 583, + "src": "17577:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17072:5:1", + "src": "17573:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1097, - "id": 1108, + "functionReturnParameters": 589, + "id": 600, "nodeType": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ] }, "documentation": { - "id": 1087, + "id": 579, "nodeType": "StructuredDocumentation", - "src": "16271:646:1", + "src": "16755:660:0", "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1110, + "id": 602, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1094, + "id": 586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1089, + "id": 581, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16935:9:1", + "scope": 602, + "src": "17434:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7086,10 +7086,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1088, + "id": 580, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16935:7:1", + "src": "17434:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7099,12 +7099,12 @@ }, { "constant": false, - "id": 1091, + "id": 583, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16946:9:1", + "scope": 602, + "src": "17445:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7112,10 +7112,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1090, + "id": 582, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16946:7:1", + "src": "17445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7125,12 +7125,12 @@ }, { "constant": false, - "id": 1093, + "id": 585, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16957:26:1", + "scope": 602, + "src": "17456:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7138,10 +7138,10 @@ "typeString": "string" }, "typeName": { - "id": 1092, + "id": 584, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16957:6:1", + "src": "17456:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7150,20 +7150,20 @@ "visibility": "internal" } ], - "src": "16934:50:1" + "src": "17433:50:0" }, "returnParameters": { - "id": 1097, + "id": 589, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1096, + "id": 588, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "17008:7:1", + "scope": 602, + "src": "17507:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7171,10 +7171,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1095, + "id": 587, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17008:7:1", + "src": "17507:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7183,19 +7183,19 @@ "visibility": "internal" } ], - "src": "17007:9:1" + "src": "17506:9:0" }, - "scope": 1135, - "src": "16922:162:1", + "scope": 627, + "src": "17421:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1133, + "id": 625, "nodeType": "Block", - "src": "17825:67:1", + "src": "18344:70:0", "statements": [ { "expression": { @@ -7205,18 +7205,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1125, + "id": 617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1123, + "id": 615, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17843:1:1", + "referencedDeclaration": 607, + "src": "18363:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7226,33 +7226,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1124, + "id": 616, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17847:1:1", + "src": "18367:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17843:5:1", + "src": "18363:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1126, + "id": 618, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1117, - "src": "17850:12:1", + "referencedDeclaration": 609, + "src": "18370:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7270,7 +7270,7 @@ "typeString": "string memory" } ], - "id": 1122, + "id": 614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7278,13 +7278,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17835:7:1", + "src": "18355:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1127, + "id": 619, "isConstant": false, "isLValue": false, "isPure": false, @@ -7292,16 +7292,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17835:28:1", + "src": "18355:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1128, + "id": 620, "nodeType": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "expression": { @@ -7309,18 +7309,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1131, + "id": 623, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1129, + "id": 621, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1113, - "src": "17880:1:1", + "referencedDeclaration": 605, + "src": "18401:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7329,54 +7329,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1130, + "id": 622, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17884:1:1", + "referencedDeclaration": 607, + "src": "18405:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17880:5:1", + "src": "18401:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1121, - "id": 1132, + "functionReturnParameters": 613, + "id": 624, "nodeType": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ] }, "documentation": { - "id": 1111, + "id": 603, "nodeType": "StructuredDocumentation", - "src": "17090:635:1", + "src": "17594:649:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1134, + "id": 626, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1118, + "id": 610, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1113, + "id": 605, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17743:9:1", + "scope": 626, + "src": "18262:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7384,10 +7384,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1112, + "id": 604, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17743:7:1", + "src": "18262:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7397,12 +7397,12 @@ }, { "constant": false, - "id": 1115, + "id": 607, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17754:9:1", + "scope": 626, + "src": "18273:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7410,10 +7410,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1114, + "id": 606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17754:7:1", + "src": "18273:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7423,12 +7423,12 @@ }, { "constant": false, - "id": 1117, + "id": 609, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17765:26:1", + "scope": 626, + "src": "18284:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7436,10 +7436,10 @@ "typeString": "string" }, "typeName": { - "id": 1116, + "id": 608, "name": "string", "nodeType": "ElementaryTypeName", - "src": "17765:6:1", + "src": "18284:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7448,20 +7448,20 @@ "visibility": "internal" } ], - "src": "17742:50:1" + "src": "18261:50:0" }, "returnParameters": { - "id": 1121, + "id": 613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1120, + "id": 612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17816:7:1", + "scope": 626, + "src": "18335:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7469,10 +7469,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1119, + "id": 611, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17816:7:1", + "src": "18335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7481,20 +7481,20 @@ "visibility": "internal" } ], - "src": "17815:9:1" + "src": "18334:9:0" }, - "scope": 1135, - "src": "17730:162:1", + "scope": 627, + "src": "18249:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "11300:6594:1" + "scope": 2991, + "src": "11627:6790:0" }, { - "id": 1136, + "id": 628, "literals": [ "solidity", ">=", @@ -7505,7 +7505,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "abstract": false, @@ -7513,38 +7513,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1137, + "id": 629, "nodeType": "StructuredDocumentation", - "src": "17980:67:1", + "src": "18508:69:0", "text": " @dev Collection of functions related to the address type" }, "fullyImplemented": true, - "id": 1430, + "id": 922, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1153, + "id": 645, "nodeType": "Block", - "src": "18706:347:1", + "src": "19255:356:0", "statements": [ { "assignments": [ - 1146 + 638 ], "declarations": [ { "constant": false, - "id": 1146, + "id": 638, "mutability": "mutable", "name": "size", "nodeType": "VariableDeclaration", - "scope": 1153, - "src": "18903:12:1", + "scope": 645, + "src": "19457:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7552,10 +7552,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1145, + "id": 637, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "18903:7:1", + "src": "19457:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7564,39 +7564,39 @@ "visibility": "internal" } ], - "id": 1147, + "id": 639, "nodeType": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "AST": { "nodeType": "YulBlock", - "src": "18990:32:1", + "src": "19546:32:0", "statements": [ { "nodeType": "YulAssignment", - "src": "18992:28:1", + "src": "19548:28:0", "value": { "arguments": [ { "name": "account", "nodeType": "YulIdentifier", - "src": "19012:7:1" + "src": "19568:7:0" } ], "functionName": { "name": "extcodesize", "nodeType": "YulIdentifier", - "src": "19000:11:1" + "src": "19556:11:0" }, "nodeType": "YulFunctionCall", - "src": "19000:20:1" + "src": "19556:20:0" }, "variableNames": [ { "name": "size", "nodeType": "YulIdentifier", - "src": "18992:4:1" + "src": "19548:4:0" } ] } @@ -7605,23 +7605,23 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], - "id": 1148, + "id": 640, "nodeType": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "expression": { @@ -7629,18 +7629,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1151, + "id": 643, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1149, + "id": 641, "name": "size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1146, - "src": "19038:4:1", + "referencedDeclaration": 638, + "src": "19595:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7650,57 +7650,57 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1150, + "id": 642, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19045:1:1", + "src": "19602:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "19038:8:1", + "src": "19595:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1144, - "id": 1152, + "functionReturnParameters": 636, + "id": 644, "nodeType": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ] }, "documentation": { - "id": 1138, + "id": 630, "nodeType": "StructuredDocumentation", - "src": "18070:565:1", + "src": "18602:581:0", "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1154, + "id": 646, "implemented": true, "kind": "function", "modifiers": [], "name": "isContract", "nodeType": "FunctionDefinition", "parameters": { - "id": 1141, + "id": 633, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1140, + "id": 632, "mutability": "mutable", "name": "account", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18660:15:1", + "scope": 646, + "src": "19209:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7708,10 +7708,10 @@ "typeString": "address" }, "typeName": { - "id": 1139, + "id": 631, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18660:7:1", + "src": "19209:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -7721,20 +7721,20 @@ "visibility": "internal" } ], - "src": "18659:17:1" + "src": "19208:17:0" }, "returnParameters": { - "id": 1144, + "id": 636, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1143, + "id": 635, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18700:4:1", + "scope": 646, + "src": "19249:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7742,10 +7742,10 @@ "typeString": "bool" }, "typeName": { - "id": 1142, + "id": 634, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "18700:4:1", + "src": "19249:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7754,19 +7754,19 @@ "visibility": "internal" } ], - "src": "18699:6:1" + "src": "19248:6:0" }, - "scope": 1430, - "src": "18640:413:1", + "scope": 922, + "src": "19189:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1187, + "id": 679, "nodeType": "Block", - "src": "20041:320:1", + "src": "20617:326:0", "statements": [ { "expression": { @@ -7776,7 +7776,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1169, + "id": 661, "isConstant": false, "isLValue": false, "isPure": false, @@ -7785,14 +7785,14 @@ "expression": { "arguments": [ { - "id": 1165, + "id": 657, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "20067:4:1", + "src": "20644:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -7800,30 +7800,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1164, + "id": 656, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1163, + "id": 655, "name": "address", "nodeType": "ElementaryTypeName", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": {} } }, - "id": 1166, + "id": 658, "isConstant": false, "isLValue": false, "isPure": false, @@ -7831,21 +7831,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20059:13:1", + "src": "20636:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1167, + "id": 659, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "20059:21:1", + "src": "20636:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7854,18 +7854,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1168, + "id": 660, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20084:6:1", + "referencedDeclaration": 651, + "src": "20661:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "20059:31:1", + "src": "20636:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7873,14 +7873,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e6365", - "id": 1170, + "id": 662, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20092:31:1", + "src": "20669:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9", "typeString": "literal_string \"Address: insufficient balance\"" @@ -7899,7 +7899,7 @@ "typeString": "literal_string \"Address: insufficient balance\"" } ], - "id": 1162, + "id": 654, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7907,13 +7907,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20051:7:1", + "src": "20628:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1171, + "id": 663, "isConstant": false, "isLValue": false, "isPure": false, @@ -7921,31 +7921,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20051:73:1", + "src": "20628:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1172, + "id": 664, "nodeType": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "assignments": [ - 1174, + 666, null ], "declarations": [ { "constant": false, - "id": 1174, + "id": 666, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1187, - "src": "20213:12:1", + "scope": 679, + "src": "20793:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7953,10 +7953,10 @@ "typeString": "bool" }, "typeName": { - "id": 1173, + "id": 665, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "20213:4:1", + "src": "20793:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7966,19 +7966,19 @@ }, null ], - "id": 1181, + "id": 673, "initialValue": { "arguments": [ { "hexValue": "", - "id": 1179, + "id": 671, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20263:2:1", + "src": "20843:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -8001,31 +8001,31 @@ } ], "expression": { - "id": 1175, + "id": 667, "name": "recipient", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1157, - "src": "20231:9:1", + "referencedDeclaration": 649, + "src": "20811:9:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 1176, + "id": 668, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "20231:14:1", + "src": "20811:14:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1178, + "id": 670, "isConstant": false, "isLValue": false, "isPure": false, @@ -8036,25 +8036,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1177, + "id": 669, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20254:6:1", + "referencedDeclaration": 651, + "src": "20834:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "20231:31:1", + "src": "20811:31:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1180, + "id": 672, "isConstant": false, "isLValue": false, "isPure": false, @@ -8062,7 +8062,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20231:35:1", + "src": "20811:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -8070,18 +8070,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "expression": { "arguments": [ { - "id": 1183, + "id": 675, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1174, - "src": "20284:7:1", + "referencedDeclaration": 666, + "src": "20865:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8089,14 +8089,14 @@ }, { "hexValue": "416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564", - "id": 1184, + "id": 676, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20293:60:1", + "src": "20874:60:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae", "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" @@ -8115,7 +8115,7 @@ "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" } ], - "id": 1182, + "id": 674, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -8123,13 +8123,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20276:7:1", + "src": "20857:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1185, + "id": 677, "isConstant": false, "isLValue": false, "isPure": false, @@ -8137,43 +8137,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20276:78:1", + "src": "20857:78:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1186, + "id": 678, "nodeType": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ] }, "documentation": { - "id": 1155, + "id": 647, "nodeType": "StructuredDocumentation", - "src": "19059:906:1", + "src": "19619:921:0", "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1188, + "id": 680, "implemented": true, "kind": "function", "modifiers": [], "name": "sendValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1160, + "id": 652, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1157, + "id": 649, "mutability": "mutable", "name": "recipient", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "19989:25:1", + "scope": 680, + "src": "20565:25:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8181,10 +8181,10 @@ "typeString": "address payable" }, "typeName": { - "id": 1156, + "id": 648, "name": "address", "nodeType": "ElementaryTypeName", - "src": "19989:15:1", + "src": "20565:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -8195,12 +8195,12 @@ }, { "constant": false, - "id": 1159, + "id": 651, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "20016:14:1", + "scope": 680, + "src": "20592:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8208,10 +8208,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1158, + "id": 650, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "20016:7:1", + "src": "20592:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8220,48 +8220,48 @@ "visibility": "internal" } ], - "src": "19988:43:1" + "src": "20564:43:0" }, "returnParameters": { - "id": 1161, + "id": 653, "nodeType": "ParameterList", "parameters": [], - "src": "20041:0:1" + "src": "20617:0:0" }, - "scope": 1430, - "src": "19970:391:1", + "scope": 922, + "src": "20546:397:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1204, + "id": 696, "nodeType": "Block", - "src": "21191:82:1", + "src": "21793:84:0", "statements": [ { "expression": { "arguments": [ { - "id": 1199, + "id": 691, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1191, - "src": "21219:6:1", + "referencedDeclaration": 683, + "src": "21822:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1200, + "id": 692, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1193, - "src": "21227:4:1", + "referencedDeclaration": 685, + "src": "21830:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8269,14 +8269,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564", - "id": 1201, + "id": 693, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "21233:32:1", + "src": "21836:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", "typeString": "literal_string \"Address: low-level call failed\"" @@ -8299,21 +8299,21 @@ "typeString": "literal_string \"Address: low-level call failed\"" } ], - "id": 1198, + "id": 690, "name": "functionCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, - "src": "21206:12:1", + "referencedDeclaration": 717, + "src": "21809:12:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1202, + "id": 694, "isConstant": false, "isLValue": false, "isPure": false, @@ -8321,44 +8321,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21206:60:1", + "src": "21809:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1197, - "id": 1203, + "functionReturnParameters": 689, + "id": 695, "nodeType": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ] }, "documentation": { - "id": 1189, + "id": 681, "nodeType": "StructuredDocumentation", - "src": "20367:730:1", + "src": "20951:747:0", "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1205, + "id": 697, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1194, + "id": 686, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1191, + "id": 683, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21124:14:1", + "scope": 697, + "src": "21726:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8366,10 +8366,10 @@ "typeString": "address" }, "typeName": { - "id": 1190, + "id": 682, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21124:7:1", + "src": "21726:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8380,12 +8380,12 @@ }, { "constant": false, - "id": 1193, + "id": 685, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21140:17:1", + "scope": 697, + "src": "21742:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8393,10 +8393,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1192, + "id": 684, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21140:5:1", + "src": "21742:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8405,20 +8405,20 @@ "visibility": "internal" } ], - "src": "21123:35:1" + "src": "21725:35:0" }, "returnParameters": { - "id": 1197, + "id": 689, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1196, + "id": 688, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21177:12:1", + "scope": 697, + "src": "21779:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8426,10 +8426,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1195, + "id": 687, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21177:5:1", + "src": "21779:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8438,42 +8438,42 @@ "visibility": "internal" } ], - "src": "21176:14:1" + "src": "21778:14:0" }, - "scope": 1430, - "src": "21102:171:1", + "scope": 922, + "src": "21704:173:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1224, + "id": 716, "nodeType": "Block", - "src": "21612:76:1", + "src": "22224:78:0", "statements": [ { "expression": { "arguments": [ { - "id": 1218, + "id": 710, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1208, - "src": "21651:6:1", + "referencedDeclaration": 700, + "src": "22264:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1219, + "id": 711, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1210, - "src": "21659:4:1", + "referencedDeclaration": 702, + "src": "22272:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8481,14 +8481,14 @@ }, { "hexValue": "30", - "id": 1220, + "id": 712, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "21665:1:1", + "src": "22278:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -8496,12 +8496,12 @@ "value": "0" }, { - "id": 1221, + "id": 713, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1212, - "src": "21668:12:1", + "referencedDeclaration": 704, + "src": "22281:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -8527,21 +8527,21 @@ "typeString": "string memory" } ], - "id": 1217, + "id": 709, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "21629:21:1", + "referencedDeclaration": 787, + "src": "22242:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1222, + "id": 714, "isConstant": false, "isLValue": false, "isPure": false, @@ -8549,44 +8549,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21629:52:1", + "src": "22242:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1216, - "id": 1223, + "functionReturnParameters": 708, + "id": 715, "nodeType": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ] }, "documentation": { - "id": 1206, + "id": 698, "nodeType": "StructuredDocumentation", - "src": "21279:211:1", + "src": "21885:216:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1225, + "id": 717, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1213, + "id": 705, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1208, + "id": 700, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21517:14:1", + "scope": 717, + "src": "22129:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8594,10 +8594,10 @@ "typeString": "address" }, "typeName": { - "id": 1207, + "id": 699, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21517:7:1", + "src": "22129:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8608,12 +8608,12 @@ }, { "constant": false, - "id": 1210, + "id": 702, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21533:17:1", + "scope": 717, + "src": "22145:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8621,10 +8621,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1209, + "id": 701, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21533:5:1", + "src": "22145:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8634,12 +8634,12 @@ }, { "constant": false, - "id": 1212, + "id": 704, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21552:26:1", + "scope": 717, + "src": "22164:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8647,10 +8647,10 @@ "typeString": "string" }, "typeName": { - "id": 1211, + "id": 703, "name": "string", "nodeType": "ElementaryTypeName", - "src": "21552:6:1", + "src": "22164:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -8659,20 +8659,20 @@ "visibility": "internal" } ], - "src": "21516:63:1" + "src": "22128:63:0" }, "returnParameters": { - "id": 1216, + "id": 708, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1215, + "id": 707, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21598:12:1", + "scope": 717, + "src": "22210:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8680,10 +8680,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1214, + "id": 706, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21598:5:1", + "src": "22210:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8692,54 +8692,54 @@ "visibility": "internal" } ], - "src": "21597:14:1" + "src": "22209:14:0" }, - "scope": 1430, - "src": "21495:193:1", + "scope": 922, + "src": "22107:195:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1244, + "id": 736, "nodeType": "Block", - "src": "22163:111:1", + "src": "22790:113:0", "statements": [ { "expression": { "arguments": [ { - "id": 1238, + "id": 730, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1228, - "src": "22202:6:1", + "referencedDeclaration": 720, + "src": "22830:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1239, + "id": 731, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1230, - "src": "22210:4:1", + "referencedDeclaration": 722, + "src": "22838:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1240, + "id": 732, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1232, - "src": "22216:5:1", + "referencedDeclaration": 724, + "src": "22844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8747,14 +8747,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564", - "id": 1241, + "id": 733, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22223:43:1", + "src": "22851:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc", "typeString": "literal_string \"Address: low-level call with value failed\"" @@ -8781,21 +8781,21 @@ "typeString": "literal_string \"Address: low-level call with value failed\"" } ], - "id": 1237, + "id": 729, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "22180:21:1", + "referencedDeclaration": 787, + "src": "22808:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1242, + "id": 734, "isConstant": false, "isLValue": false, "isPure": false, @@ -8803,44 +8803,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22180:87:1", + "src": "22808:87:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1236, - "id": 1243, + "functionReturnParameters": 728, + "id": 735, "nodeType": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ] }, "documentation": { - "id": 1226, + "id": 718, "nodeType": "StructuredDocumentation", - "src": "21694:351:1", + "src": "22310:361:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1245, + "id": 737, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1233, + "id": 725, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1228, + "id": 720, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22081:14:1", + "scope": 737, + "src": "22708:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8848,10 +8848,10 @@ "typeString": "address" }, "typeName": { - "id": 1227, + "id": 719, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22081:7:1", + "src": "22708:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8862,12 +8862,12 @@ }, { "constant": false, - "id": 1230, + "id": 722, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22097:17:1", + "scope": 737, + "src": "22724:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8875,10 +8875,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1229, + "id": 721, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22097:5:1", + "src": "22724:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8888,12 +8888,12 @@ }, { "constant": false, - "id": 1232, + "id": 724, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22116:13:1", + "scope": 737, + "src": "22743:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8901,10 +8901,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1231, + "id": 723, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22116:7:1", + "src": "22743:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8913,20 +8913,20 @@ "visibility": "internal" } ], - "src": "22080:50:1" + "src": "22707:50:0" }, "returnParameters": { - "id": 1236, + "id": 728, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1235, + "id": 727, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22149:12:1", + "scope": 737, + "src": "22776:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8934,10 +8934,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1234, + "id": 726, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22149:5:1", + "src": "22776:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8946,19 +8946,19 @@ "visibility": "internal" } ], - "src": "22148:14:1" + "src": "22775:14:0" }, - "scope": 1430, - "src": "22050:224:1", + "scope": 922, + "src": "22677:226:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1294, + "id": 786, "nodeType": "Block", - "src": "22663:382:1", + "src": "23300:389:0", "statements": [ { "expression": { @@ -8968,7 +8968,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1266, + "id": 758, "isConstant": false, "isLValue": false, "isPure": false, @@ -8977,14 +8977,14 @@ "expression": { "arguments": [ { - "id": 1262, + "id": 754, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "22689:4:1", + "src": "23327:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -8992,30 +8992,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1261, + "id": 753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1260, + "id": 752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": {} } }, - "id": 1263, + "id": 755, "isConstant": false, "isLValue": false, "isPure": false, @@ -9023,21 +9023,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22681:13:1", + "src": "23319:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1264, + "id": 756, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "22681:21:1", + "src": "23319:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9046,18 +9046,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1265, + "id": 757, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22706:5:1", + "referencedDeclaration": 744, + "src": "23344:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "22681:30:1", + "src": "23319:30:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9065,14 +9065,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c", - "id": 1267, + "id": 759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22713:40:1", + "src": "23351:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c", "typeString": "literal_string \"Address: insufficient balance for call\"" @@ -9091,7 +9091,7 @@ "typeString": "literal_string \"Address: insufficient balance for call\"" } ], - "id": 1259, + "id": 751, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9099,13 +9099,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22673:7:1", + "src": "23311:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1268, + "id": 760, "isConstant": false, "isLValue": false, "isPure": false, @@ -9113,16 +9113,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22673:81:1", + "src": "23311:81:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1269, + "id": 761, "nodeType": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "expression": { @@ -9130,12 +9130,12 @@ { "arguments": [ { - "id": 1272, + "id": 764, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22783:6:1", + "referencedDeclaration": 740, + "src": "23422:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9149,18 +9149,18 @@ "typeString": "address" } ], - "id": 1271, + "id": 763, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "22772:10:1", + "referencedDeclaration": 646, + "src": "23411:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1273, + "id": 765, "isConstant": false, "isLValue": false, "isPure": false, @@ -9168,7 +9168,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22772:18:1", + "src": "23411:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9177,14 +9177,14 @@ }, { "hexValue": "416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1274, + "id": 766, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22792:31:1", + "src": "23431:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad", "typeString": "literal_string \"Address: call to non-contract\"" @@ -9203,7 +9203,7 @@ "typeString": "literal_string \"Address: call to non-contract\"" } ], - "id": 1270, + "id": 762, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9211,13 +9211,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22764:7:1", + "src": "23403:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1275, + "id": 767, "isConstant": false, "isLValue": false, "isPure": false, @@ -9225,31 +9225,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22764:60:1", + "src": "23403:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1276, + "id": 768, "nodeType": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "assignments": [ - 1278, - 1280 + 770, + 772 ], "declarations": [ { "constant": false, - "id": 1278, + "id": 770, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22895:12:1", + "scope": 786, + "src": "23537:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9257,10 +9257,10 @@ "typeString": "bool" }, "typeName": { - "id": 1277, + "id": 769, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "22895:4:1", + "src": "23537:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9270,12 +9270,12 @@ }, { "constant": false, - "id": 1280, + "id": 772, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22909:23:1", + "scope": 786, + "src": "23551:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9283,10 +9283,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1279, + "id": 771, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22909:5:1", + "src": "23551:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9295,16 +9295,16 @@ "visibility": "internal" } ], - "id": 1287, + "id": 779, "initialValue": { "arguments": [ { - "id": 1285, + "id": 777, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1250, - "src": "22964:4:1", + "referencedDeclaration": 742, + "src": "23606:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9326,31 +9326,31 @@ } ], "expression": { - "id": 1281, + "id": 773, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22936:6:1", + "referencedDeclaration": 740, + "src": "23578:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1282, + "id": 774, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "22936:11:1", + "src": "23578:11:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1284, + "id": 776, "isConstant": false, "isLValue": false, "isPure": false, @@ -9361,25 +9361,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1283, + "id": 775, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22956:5:1", + "referencedDeclaration": 744, + "src": "23598:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "22936:27:1", + "src": "23578:27:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1286, + "id": 778, "isConstant": false, "isLValue": false, "isPure": false, @@ -9387,7 +9387,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22936:33:1", + "src": "23578:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -9395,42 +9395,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "expression": { "arguments": [ { - "id": 1289, + "id": 781, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1278, - "src": "23004:7:1", + "referencedDeclaration": 770, + "src": "23647:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1290, + "id": 782, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1280, - "src": "23013:10:1", + "referencedDeclaration": 772, + "src": "23656:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1291, + "id": 783, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1254, - "src": "23025:12:1", + "referencedDeclaration": 746, + "src": "23668:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -9452,18 +9452,18 @@ "typeString": "string memory" } ], - "id": 1288, + "id": 780, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "22986:17:1", + "referencedDeclaration": 921, + "src": "23629:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1292, + "id": 784, "isConstant": false, "isLValue": false, "isPure": false, @@ -9471,44 +9471,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22986:52:1", + "src": "23629:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1258, - "id": 1293, + "functionReturnParameters": 750, + "id": 785, "nodeType": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ] }, "documentation": { - "id": 1246, + "id": 738, "nodeType": "StructuredDocumentation", - "src": "22280:237:1", + "src": "22911:242:0", "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1295, + "id": 787, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1255, + "id": 747, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1248, + "id": 740, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22553:14:1", + "scope": 787, + "src": "23190:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9516,10 +9516,10 @@ "typeString": "address" }, "typeName": { - "id": 1247, + "id": 739, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22553:7:1", + "src": "23190:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9530,12 +9530,12 @@ }, { "constant": false, - "id": 1250, + "id": 742, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22569:17:1", + "scope": 787, + "src": "23206:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9543,10 +9543,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1249, + "id": 741, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22569:5:1", + "src": "23206:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9556,12 +9556,12 @@ }, { "constant": false, - "id": 1252, + "id": 744, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22588:13:1", + "scope": 787, + "src": "23225:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9569,10 +9569,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1251, + "id": 743, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22588:7:1", + "src": "23225:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9582,12 +9582,12 @@ }, { "constant": false, - "id": 1254, + "id": 746, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22603:26:1", + "scope": 787, + "src": "23240:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9595,10 +9595,10 @@ "typeString": "string" }, "typeName": { - "id": 1253, + "id": 745, "name": "string", "nodeType": "ElementaryTypeName", - "src": "22603:6:1", + "src": "23240:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -9607,20 +9607,20 @@ "visibility": "internal" } ], - "src": "22552:78:1" + "src": "23189:78:0" }, "returnParameters": { - "id": 1258, + "id": 750, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1257, + "id": 749, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22649:12:1", + "scope": 787, + "src": "23286:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9628,10 +9628,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1256, + "id": 748, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22649:5:1", + "src": "23286:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9640,42 +9640,42 @@ "visibility": "internal" } ], - "src": "22648:14:1" + "src": "23285:14:0" }, - "scope": 1430, - "src": "22522:523:1", + "scope": 922, + "src": "23159:530:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1311, + "id": 803, "nodeType": "Block", - "src": "23322:97:1", + "src": "23974:99:0", "statements": [ { "expression": { "arguments": [ { - "id": 1306, + "id": 798, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1298, - "src": "23358:6:1", + "referencedDeclaration": 790, + "src": "24011:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1307, + "id": 799, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1300, - "src": "23366:4:1", + "referencedDeclaration": 792, + "src": "24019:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9683,14 +9683,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564", - "id": 1308, + "id": 800, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23372:39:1", + "src": "24025:39:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0", "typeString": "literal_string \"Address: low-level static call failed\"" @@ -9713,21 +9713,21 @@ "typeString": "literal_string \"Address: low-level static call failed\"" } ], - "id": 1305, + "id": 797, "name": "functionStaticCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, - "src": "23339:18:1", + "referencedDeclaration": 839, + "src": "23992:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) view returns (bytes memory)" } }, - "id": 1309, + "id": 801, "isConstant": false, "isLValue": false, "isPure": false, @@ -9735,44 +9735,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23339:73:1", + "src": "23992:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1304, - "id": 1310, + "functionReturnParameters": 796, + "id": 802, "nodeType": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ] }, "documentation": { - "id": 1296, + "id": 788, "nodeType": "StructuredDocumentation", - "src": "23051:166:1", + "src": "23697:171:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1312, + "id": 804, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1301, + "id": 793, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1298, + "id": 790, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23250:14:1", + "scope": 804, + "src": "23902:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9780,10 +9780,10 @@ "typeString": "address" }, "typeName": { - "id": 1297, + "id": 789, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23250:7:1", + "src": "23902:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9794,12 +9794,12 @@ }, { "constant": false, - "id": 1300, + "id": 792, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23266:17:1", + "scope": 804, + "src": "23918:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9807,10 +9807,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1299, + "id": 791, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23266:5:1", + "src": "23918:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9819,20 +9819,20 @@ "visibility": "internal" } ], - "src": "23249:35:1" + "src": "23901:35:0" }, "returnParameters": { - "id": 1304, + "id": 796, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1303, + "id": 795, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23308:12:1", + "scope": 804, + "src": "23960:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9840,10 +9840,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1302, + "id": 794, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23308:5:1", + "src": "23960:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9852,19 +9852,19 @@ "visibility": "internal" } ], - "src": "23307:14:1" + "src": "23959:14:0" }, - "scope": 1430, - "src": "23222:197:1", + "scope": 922, + "src": "23874:199:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1346, + "id": 838, "nodeType": "Block", - "src": "23731:288:1", + "src": "24393:294:0", "statements": [ { "expression": { @@ -9872,12 +9872,12 @@ { "arguments": [ { - "id": 1326, + "id": 818, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23760:6:1", + "referencedDeclaration": 807, + "src": "24423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9891,18 +9891,18 @@ "typeString": "address" } ], - "id": 1325, + "id": 817, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "23749:10:1", + "referencedDeclaration": 646, + "src": "24412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1327, + "id": 819, "isConstant": false, "isLValue": false, "isPure": false, @@ -9910,7 +9910,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23749:18:1", + "src": "24412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9919,14 +9919,14 @@ }, { "hexValue": "416464726573733a207374617469632063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1328, + "id": 820, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23769:38:1", + "src": "24432:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c79cc78e4f16ce3933a42b84c73868f93bb4a59c031a0acf576679de98c608a9", "typeString": "literal_string \"Address: static call to non-contract\"" @@ -9945,7 +9945,7 @@ "typeString": "literal_string \"Address: static call to non-contract\"" } ], - "id": 1324, + "id": 816, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9953,13 +9953,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "23741:7:1", + "src": "24404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1329, + "id": 821, "isConstant": false, "isLValue": false, "isPure": false, @@ -9967,31 +9967,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23741:67:1", + "src": "24404:67:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1330, + "id": 822, "nodeType": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "assignments": [ - 1332, - 1334 + 824, + 826 ], "declarations": [ { "constant": false, - "id": 1332, + "id": 824, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23879:12:1", + "scope": 838, + "src": "24545:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9999,10 +9999,10 @@ "typeString": "bool" }, "typeName": { - "id": 1331, + "id": 823, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "23879:4:1", + "src": "24545:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10012,12 +10012,12 @@ }, { "constant": false, - "id": 1334, + "id": 826, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23893:23:1", + "scope": 838, + "src": "24559:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10025,10 +10025,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1333, + "id": 825, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23893:5:1", + "src": "24559:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10037,16 +10037,16 @@ "visibility": "internal" } ], - "id": 1339, + "id": 831, "initialValue": { "arguments": [ { - "id": 1337, + "id": 829, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1317, - "src": "23938:4:1", + "referencedDeclaration": 809, + "src": "24604:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10061,31 +10061,31 @@ } ], "expression": { - "id": 1335, + "id": 827, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23920:6:1", + "referencedDeclaration": 807, + "src": "24586:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1336, + "id": 828, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "staticcall", "nodeType": "MemberAccess", - "src": "23920:17:1", + "src": "24586:17:0", "typeDescriptions": { "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) view returns (bool,bytes memory)" } }, - "id": 1338, + "id": 830, "isConstant": false, "isLValue": false, "isPure": false, @@ -10093,7 +10093,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23920:23:1", + "src": "24586:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10101,42 +10101,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "expression": { "arguments": [ { - "id": 1341, + "id": 833, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "23978:7:1", + "referencedDeclaration": 824, + "src": "24645:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1342, + "id": 834, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1334, - "src": "23987:10:1", + "referencedDeclaration": 826, + "src": "24654:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1343, + "id": 835, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1319, - "src": "23999:12:1", + "referencedDeclaration": 811, + "src": "24666:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10158,18 +10158,18 @@ "typeString": "string memory" } ], - "id": 1340, + "id": 832, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "23960:17:1", + "referencedDeclaration": 921, + "src": "24627:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1344, + "id": 836, "isConstant": false, "isLValue": false, "isPure": false, @@ -10177,44 +10177,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23960:52:1", + "src": "24627:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1323, - "id": 1345, + "functionReturnParameters": 815, + "id": 837, "nodeType": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ] }, "documentation": { - "id": 1313, + "id": 805, "nodeType": "StructuredDocumentation", - "src": "23425:173:1", + "src": "24081:178:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1347, + "id": 839, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1320, + "id": 812, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1315, + "id": 807, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23631:14:1", + "scope": 839, + "src": "24293:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10222,10 +10222,10 @@ "typeString": "address" }, "typeName": { - "id": 1314, + "id": 806, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23631:7:1", + "src": "24293:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10236,12 +10236,12 @@ }, { "constant": false, - "id": 1317, + "id": 809, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23647:17:1", + "scope": 839, + "src": "24309:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10249,10 +10249,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1316, + "id": 808, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23647:5:1", + "src": "24309:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10262,12 +10262,12 @@ }, { "constant": false, - "id": 1319, + "id": 811, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23666:26:1", + "scope": 839, + "src": "24328:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10275,10 +10275,10 @@ "typeString": "string" }, "typeName": { - "id": 1318, + "id": 810, "name": "string", "nodeType": "ElementaryTypeName", - "src": "23666:6:1", + "src": "24328:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10287,20 +10287,20 @@ "visibility": "internal" } ], - "src": "23630:63:1" + "src": "24292:63:0" }, "returnParameters": { - "id": 1323, + "id": 815, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1322, + "id": 814, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23717:12:1", + "scope": 839, + "src": "24379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10308,10 +10308,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1321, + "id": 813, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23717:5:1", + "src": "24379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10320,42 +10320,42 @@ "visibility": "internal" } ], - "src": "23716:14:1" + "src": "24378:14:0" }, - "scope": 1430, - "src": "23603:416:1", + "scope": 922, + "src": "24265:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1363, + "id": 855, "nodeType": "Block", - "src": "24295:101:1", + "src": "24971:103:0", "statements": [ { "expression": { "arguments": [ { - "id": 1358, + "id": 850, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1350, - "src": "24333:6:1", + "referencedDeclaration": 842, + "src": "25010:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1359, + "id": 851, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1352, - "src": "24341:4:1", + "referencedDeclaration": 844, + "src": "25018:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10363,14 +10363,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564", - "id": 1360, + "id": 852, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24347:41:1", + "src": "25024:41:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398", "typeString": "literal_string \"Address: low-level delegate call failed\"" @@ -10393,21 +10393,21 @@ "typeString": "literal_string \"Address: low-level delegate call failed\"" } ], - "id": 1357, + "id": 849, "name": "functionDelegateCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, - "src": "24312:20:1", + "referencedDeclaration": 891, + "src": "24989:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1361, + "id": 853, "isConstant": false, "isLValue": false, "isPure": false, @@ -10415,44 +10415,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24312:77:1", + "src": "24989:77:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1356, - "id": 1362, + "functionReturnParameters": 848, + "id": 854, "nodeType": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ] }, "documentation": { - "id": 1348, + "id": 840, "nodeType": "StructuredDocumentation", - "src": "24025:168:1", + "src": "24695:173:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1364, + "id": 856, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1353, + "id": 845, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1350, + "id": 842, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24228:14:1", + "scope": 856, + "src": "24904:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10460,10 +10460,10 @@ "typeString": "address" }, "typeName": { - "id": 1349, + "id": 841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24228:7:1", + "src": "24904:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10474,12 +10474,12 @@ }, { "constant": false, - "id": 1352, + "id": 844, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24244:17:1", + "scope": 856, + "src": "24920:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10487,10 +10487,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1351, + "id": 843, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24244:5:1", + "src": "24920:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10499,20 +10499,20 @@ "visibility": "internal" } ], - "src": "24227:35:1" + "src": "24903:35:0" }, "returnParameters": { - "id": 1356, + "id": 848, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1355, + "id": 847, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24281:12:1", + "scope": 856, + "src": "24957:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10520,10 +10520,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1354, + "id": 846, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24281:5:1", + "src": "24957:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10532,19 +10532,19 @@ "visibility": "internal" } ], - "src": "24280:14:1" + "src": "24956:14:0" }, - "scope": 1430, - "src": "24198:198:1", + "scope": 922, + "src": "24874:200:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1398, + "id": 890, "nodeType": "Block", - "src": "24707:292:1", + "src": "25393:298:0", "statements": [ { "expression": { @@ -10552,12 +10552,12 @@ { "arguments": [ { - "id": 1378, + "id": 870, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24736:6:1", + "referencedDeclaration": 859, + "src": "25423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10571,18 +10571,18 @@ "typeString": "address" } ], - "id": 1377, + "id": 869, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "24725:10:1", + "referencedDeclaration": 646, + "src": "25412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1379, + "id": 871, "isConstant": false, "isLValue": false, "isPure": false, @@ -10590,7 +10590,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24725:18:1", + "src": "25412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10599,14 +10599,14 @@ }, { "hexValue": "416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1380, + "id": 872, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24745:40:1", + "src": "25432:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b94ded0918034cf8f896e19fa3cfdef1188cd569c577264a3622e49152f88520", "typeString": "literal_string \"Address: delegate call to non-contract\"" @@ -10625,7 +10625,7 @@ "typeString": "literal_string \"Address: delegate call to non-contract\"" } ], - "id": 1376, + "id": 868, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -10633,13 +10633,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "24717:7:1", + "src": "25404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1381, + "id": 873, "isConstant": false, "isLValue": false, "isPure": false, @@ -10647,31 +10647,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24717:69:1", + "src": "25404:69:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1382, + "id": 874, "nodeType": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "assignments": [ - 1384, - 1386 + 876, + 878 ], "declarations": [ { "constant": false, - "id": 1384, + "id": 876, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24857:12:1", + "scope": 890, + "src": "25547:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10679,10 +10679,10 @@ "typeString": "bool" }, "typeName": { - "id": 1383, + "id": 875, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "24857:4:1", + "src": "25547:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10692,12 +10692,12 @@ }, { "constant": false, - "id": 1386, + "id": 878, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24871:23:1", + "scope": 890, + "src": "25561:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10705,10 +10705,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1385, + "id": 877, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24871:5:1", + "src": "25561:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10717,16 +10717,16 @@ "visibility": "internal" } ], - "id": 1391, + "id": 883, "initialValue": { "arguments": [ { - "id": 1389, + "id": 881, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1369, - "src": "24918:4:1", + "referencedDeclaration": 861, + "src": "25608:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10741,31 +10741,31 @@ } ], "expression": { - "id": 1387, + "id": 879, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24898:6:1", + "referencedDeclaration": 859, + "src": "25588:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1388, + "id": 880, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "delegatecall", "nodeType": "MemberAccess", - "src": "24898:19:1", + "src": "25588:19:0", "typeDescriptions": { "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) returns (bool,bytes memory)" } }, - "id": 1390, + "id": 882, "isConstant": false, "isLValue": false, "isPure": false, @@ -10773,7 +10773,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24898:25:1", + "src": "25588:25:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10781,42 +10781,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "expression": { "arguments": [ { - "id": 1393, + "id": 885, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1384, - "src": "24958:7:1", + "referencedDeclaration": 876, + "src": "25649:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1394, + "id": 886, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1386, - "src": "24967:10:1", + "referencedDeclaration": 878, + "src": "25658:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1395, + "id": 887, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1371, - "src": "24979:12:1", + "referencedDeclaration": 863, + "src": "25670:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10838,18 +10838,18 @@ "typeString": "string memory" } ], - "id": 1392, + "id": 884, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "24940:17:1", + "referencedDeclaration": 921, + "src": "25631:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1396, + "id": 888, "isConstant": false, "isLValue": false, "isPure": false, @@ -10857,44 +10857,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24940:52:1", + "src": "25631:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1375, - "id": 1397, + "functionReturnParameters": 867, + "id": 889, "nodeType": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ] }, "documentation": { - "id": 1365, + "id": 857, "nodeType": "StructuredDocumentation", - "src": "24402:175:1", + "src": "25082:180:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1399, + "id": 891, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1372, + "id": 864, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1367, + "id": 859, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24612:14:1", + "scope": 891, + "src": "25298:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10902,10 +10902,10 @@ "typeString": "address" }, "typeName": { - "id": 1366, + "id": 858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24612:7:1", + "src": "25298:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10916,12 +10916,12 @@ }, { "constant": false, - "id": 1369, + "id": 861, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24628:17:1", + "scope": 891, + "src": "25314:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10929,10 +10929,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1368, + "id": 860, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24628:5:1", + "src": "25314:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10942,12 +10942,12 @@ }, { "constant": false, - "id": 1371, + "id": 863, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24647:26:1", + "scope": 891, + "src": "25333:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10955,10 +10955,10 @@ "typeString": "string" }, "typeName": { - "id": 1370, + "id": 862, "name": "string", "nodeType": "ElementaryTypeName", - "src": "24647:6:1", + "src": "25333:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10967,20 +10967,20 @@ "visibility": "internal" } ], - "src": "24611:63:1" + "src": "25297:63:0" }, "returnParameters": { - "id": 1375, + "id": 867, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1374, + "id": 866, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24693:12:1", + "scope": 891, + "src": "25379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10988,10 +10988,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1373, + "id": 865, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24693:5:1", + "src": "25379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11000,37 +11000,37 @@ "visibility": "internal" } ], - "src": "24692:14:1" + "src": "25378:14:0" }, - "scope": 1430, - "src": "24582:417:1", + "scope": 922, + "src": "25268:423:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1428, + "id": 920, "nodeType": "Block", - "src": "25134:596:1", + "src": "25828:613:0", "statements": [ { "condition": { - "id": 1410, + "id": 902, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1401, - "src": "25148:7:1", + "referencedDeclaration": 893, + "src": "25843:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1426, + "id": 918, "nodeType": "Block", - "src": "25205:519:1", + "src": "25902:532:0", "statements": [ { "condition": { @@ -11038,32 +11038,32 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1417, + "id": 909, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1414, + "id": 906, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25289:10:1", + "referencedDeclaration": 895, + "src": "25988:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1415, + "id": 907, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "25289:17:1", + "src": "25988:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11073,41 +11073,41 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1416, + "id": 908, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "25309:1:1", + "src": "26008:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "25289:21:1", + "src": "25988:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1424, + "id": 916, "nodeType": "Block", - "src": "25661:53:1", + "src": "26368:55:0", "statements": [ { "expression": { "arguments": [ { - "id": 1421, + "id": 913, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1405, - "src": "25686:12:1", + "referencedDeclaration": 897, + "src": "26394:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -11121,7 +11121,7 @@ "typeString": "string memory" } ], - "id": 1420, + "id": 912, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -11129,13 +11129,13 @@ 4294967277 ], "referencedDeclaration": 4294967277, - "src": "25679:6:1", + "src": "26387:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", "typeString": "function (string memory) pure" } }, - "id": 1422, + "id": 914, "isConstant": false, "isLValue": false, "isPure": false, @@ -11143,56 +11143,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "25679:20:1", + "src": "26387:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1423, + "id": 915, "nodeType": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ] }, - "id": 1425, + "id": 917, "nodeType": "IfStatement", - "src": "25285:429:1", + "src": "25984:439:0", "trueBody": { - "id": 1419, + "id": 911, "nodeType": "Block", - "src": "25312:343:1", + "src": "26011:351:0", "statements": [ { "AST": { "nodeType": "YulBlock", - "src": "25496:145:1", + "src": "26199:148:0", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "25518:40:1", + "src": "26222:40:0", "value": { "arguments": [ { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25547:10:1" + "src": "26251:10:0" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "25541:5:1" + "src": "26245:5:0" }, "nodeType": "YulFunctionCall", - "src": "25541:17:1" + "src": "26245:17:0" }, "variables": [ { "name": "returndata_size", "nodeType": "YulTypedName", - "src": "25522:15:1", + "src": "26226:15:0", "type": "" } ] @@ -11205,118 +11205,118 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "25590:2:1", + "src": "26295:2:0", "type": "", "value": "32" }, { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25594:10:1" + "src": "26299:10:0" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "25586:3:1" + "src": "26291:3:0" }, "nodeType": "YulFunctionCall", - "src": "25586:19:1" + "src": "26291:19:0" }, { "name": "returndata_size", "nodeType": "YulIdentifier", - "src": "25607:15:1" + "src": "26312:15:0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "25579:6:1" + "src": "26284:6:0" }, "nodeType": "YulFunctionCall", - "src": "25579:44:1" + "src": "26284:44:0" }, "nodeType": "YulExpressionStatement", - "src": "25579:44:1" + "src": "26284:44:0" } ] }, "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], - "id": 1418, + "id": 910, "nodeType": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ] } } ] }, - "id": 1427, + "id": 919, "nodeType": "IfStatement", - "src": "25144:580:1", + "src": "25839:595:0", "trueBody": { - "id": 1413, + "id": 905, "nodeType": "Block", - "src": "25157:42:1", + "src": "25852:44:0", "statements": [ { "expression": { - "id": 1411, + "id": 903, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25178:10:1", + "referencedDeclaration": 895, + "src": "25874:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1409, - "id": 1412, + "functionReturnParameters": 901, + "id": 904, "nodeType": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ] } } ] }, - "id": 1429, + "id": 921, "implemented": true, "kind": "function", "modifiers": [], "name": "_verifyCallResult", "nodeType": "FunctionDefinition", "parameters": { - "id": 1406, + "id": 898, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1401, + "id": 893, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25032:12:1", + "scope": 921, + "src": "25726:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11324,10 +11324,10 @@ "typeString": "bool" }, "typeName": { - "id": 1400, + "id": 892, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "25032:4:1", + "src": "25726:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11337,12 +11337,12 @@ }, { "constant": false, - "id": 1403, + "id": 895, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25046:23:1", + "scope": 921, + "src": "25740:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11350,10 +11350,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1402, + "id": 894, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25046:5:1", + "src": "25740:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11363,12 +11363,12 @@ }, { "constant": false, - "id": 1405, + "id": 897, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25071:26:1", + "scope": 921, + "src": "25765:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11376,10 +11376,10 @@ "typeString": "string" }, "typeName": { - "id": 1404, + "id": 896, "name": "string", "nodeType": "ElementaryTypeName", - "src": "25071:6:1", + "src": "25765:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11388,20 +11388,20 @@ "visibility": "internal" } ], - "src": "25031:67:1" + "src": "25725:67:0" }, "returnParameters": { - "id": 1409, + "id": 901, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1408, + "id": 900, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25120:12:1", + "scope": 921, + "src": "25814:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11409,10 +11409,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1407, + "id": 899, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25120:5:1", + "src": "25814:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11421,20 +11421,20 @@ "visibility": "internal" } ], - "src": "25119:14:1" + "src": "25813:14:0" }, - "scope": 1430, - "src": "25005:725:1", + "scope": 922, + "src": "25699:742:0", "stateMutability": "pure", "virtual": false, "visibility": "private" } ], - "scope": 3499, - "src": "18048:7684:1" + "scope": 2991, + "src": "18579:7865:0" }, { - "id": 1431, + "id": 923, "literals": [ "solidity", ">=", @@ -11445,7 +11445,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "abstract": false, @@ -11453,31 +11453,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1432, + "id": 924, "nodeType": "StructuredDocumentation", - "src": "25824:686:1", + "src": "26541:709:0", "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, "fullyImplemented": true, - "id": 1921, + "id": 1413, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableSet.Set", - "id": 1440, + "id": 932, "members": [ { "constant": false, - "id": 1435, + "id": 927, "mutability": "mutable", "name": "_values", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27033:17:1", + "scope": 932, + "src": "27786:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11486,18 +11486,18 @@ }, "typeName": { "baseType": { - "id": 1433, + "id": 925, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27033:7:1", + "src": "27786:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1434, + "id": 926, "nodeType": "ArrayTypeName", - "src": "27033:9:1", + "src": "27786:9:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", "typeString": "bytes32[]" @@ -11507,12 +11507,12 @@ }, { "constant": false, - "id": 1439, + "id": 931, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27184:37:1", + "scope": 932, + "src": "27941:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11520,28 +11520,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1438, + "id": 930, "keyType": { - "id": 1436, + "id": 928, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27193:7:1", + "src": "27950:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "27184:28:1", + "src": "27941:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1437, + "id": 929, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "27204:7:1", + "src": "27961:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11553,19 +11553,19 @@ ], "name": "Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "26979:249:1", + "scope": 1413, + "src": "27730:256:0", "visibility": "public" }, { "body": { - "id": 1480, + "id": 972, "nodeType": "Block", - "src": "27467:335:1", + "src": "28233:345:0", "statements": [ { "condition": { - "id": 1454, + "id": 946, "isConstant": false, "isLValue": false, "isPure": false, @@ -11573,28 +11573,28 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "27481:22:1", + "src": "28248:22:0", "subExpression": { "arguments": [ { - "id": 1451, + "id": 943, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27492:3:1", + "referencedDeclaration": 935, + "src": "28259:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, { - "id": 1452, + "id": 944, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27497:5:1", + "referencedDeclaration": 937, + "src": "28264:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11604,7 +11604,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -11612,18 +11612,18 @@ "typeString": "bytes32" } ], - "id": 1450, + "id": 942, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "27482:9:1", + "referencedDeclaration": 1071, + "src": "28249:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1453, + "id": 945, "isConstant": false, "isLValue": false, "isPure": false, @@ -11631,7 +11631,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27482:21:1", + "src": "28249:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -11644,52 +11644,52 @@ } }, "falseBody": { - "id": 1478, + "id": 970, "nodeType": "Block", - "src": "27759:37:1", + "src": "28532:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1476, + "id": 968, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27780:5:1", + "src": "28554:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1449, - "id": 1477, + "functionReturnParameters": 941, + "id": 969, "nodeType": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ] }, - "id": 1479, + "id": 971, "nodeType": "IfStatement", - "src": "27477:319:1", + "src": "28244:327:0", "trueBody": { - "id": 1475, + "id": 967, "nodeType": "Block", - "src": "27505:248:1", + "src": "28272:254:0", "statements": [ { "expression": { "arguments": [ { - "id": 1460, + "id": 952, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27536:5:1", + "referencedDeclaration": 937, + "src": "28304:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11705,45 +11705,45 @@ ], "expression": { "expression": { - "id": 1455, + "id": 947, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27519:3:1", + "referencedDeclaration": 935, + "src": "28287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1458, + "id": 950, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27519:11:1", + "referencedDeclaration": 927, + "src": "28287:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1459, + "id": 951, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "27519:16:1", + "src": "28287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_bytes32_$returns$__$", "typeString": "function (bytes32)" } }, - "id": 1461, + "id": 953, "isConstant": false, "isLValue": false, "isPure": false, @@ -11751,20 +11751,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27519:23:1", + "src": "28287:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1462, + "id": 954, "nodeType": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "expression": { - "id": 1471, + "id": 963, "isConstant": false, "isLValue": false, "isPure": false, @@ -11772,39 +11772,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1463, + "id": 955, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27677:3:1", + "referencedDeclaration": 935, + "src": "28448:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1466, + "id": 958, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "27677:12:1", + "referencedDeclaration": 931, + "src": "28448:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1467, + "id": 959, "indexExpression": { - "id": 1465, + "id": 957, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27690:5:1", + "referencedDeclaration": 937, + "src": "28461:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11815,7 +11815,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "27677:19:1", + "src": "28448:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11826,75 +11826,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1468, + "id": 960, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27699:3:1", + "referencedDeclaration": 935, + "src": "28470:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1469, + "id": 961, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27699:11:1", + "referencedDeclaration": 927, + "src": "28470:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1470, + "id": 962, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "27699:18:1", + "src": "28470:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "27677:40:1", + "src": "28448:40:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1472, + "id": 964, "nodeType": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "expression": { "hexValue": "74727565", - "id": 1473, + "id": 965, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27738:4:1", + "src": "28510:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1449, - "id": 1474, + "functionReturnParameters": 941, + "id": 966, "nodeType": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ] } @@ -11902,43 +11902,43 @@ ] }, "documentation": { - "id": 1441, + "id": 933, "nodeType": "StructuredDocumentation", - "src": "27234:159:1", + "src": "27994:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1481, + "id": 973, "implemented": true, "kind": "function", "modifiers": [], "name": "_add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1446, + "id": 938, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1443, + "id": 935, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27412:15:1", + "scope": 973, + "src": "28178:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1442, + "id": 934, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27412:3:1", + "referencedDeclaration": 932, + "src": "28178:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -11946,12 +11946,12 @@ }, { "constant": false, - "id": 1445, + "id": 937, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27429:13:1", + "scope": 973, + "src": "28195:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11959,10 +11959,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1444, + "id": 936, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27429:7:1", + "src": "28195:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11971,20 +11971,20 @@ "visibility": "internal" } ], - "src": "27411:32:1" + "src": "28177:32:0" }, "returnParameters": { - "id": 1449, + "id": 941, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1448, + "id": 940, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27461:4:1", + "scope": 973, + "src": "28227:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11992,10 +11992,10 @@ "typeString": "bool" }, "typeName": { - "id": 1447, + "id": 939, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "27461:4:1", + "src": "28227:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12004,33 +12004,33 @@ "visibility": "internal" } ], - "src": "27460:6:1" + "src": "28226:6:0" }, - "scope": 1921, - "src": "27398:404:1", + "scope": 1413, + "src": "28164:414:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1560, + "id": 1052, "nodeType": "Block", - "src": "28042:1440:1", + "src": "28826:1472:0", "statements": [ { "assignments": [ - 1492 + 984 ], "declarations": [ { "constant": false, - "id": 1492, + "id": 984, "mutability": "mutable", "name": "valueIndex", "nodeType": "VariableDeclaration", - "scope": 1560, - "src": "28152:18:1", + "scope": 1052, + "src": "28938:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12038,10 +12038,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1491, + "id": 983, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28152:7:1", + "src": "28938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12050,43 +12050,43 @@ "visibility": "internal" } ], - "id": 1497, + "id": 989, "initialValue": { "baseExpression": { "expression": { - "id": 1493, + "id": 985, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28173:3:1", + "referencedDeclaration": 976, + "src": "28959:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1494, + "id": 986, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "28173:12:1", + "referencedDeclaration": 931, + "src": "28959:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1496, + "id": 988, "indexExpression": { - "id": 1495, + "id": 987, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "28186:5:1", + "referencedDeclaration": 978, + "src": "28972:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12097,14 +12097,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28173:19:1", + "src": "28959:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "condition": { @@ -12112,18 +12112,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1500, + "id": 992, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1498, + "id": 990, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28207:10:1", + "referencedDeclaration": 984, + "src": "28995:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12133,76 +12133,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1499, + "id": 991, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28221:1:1", + "src": "29009:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "28207:15:1", + "src": "28995:15:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1558, + "id": 1050, "nodeType": "Block", - "src": "29439:37:1", + "src": "30252:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1556, + "id": 1048, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29460:5:1", + "src": "30274:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1490, - "id": 1557, + "functionReturnParameters": 982, + "id": 1049, "nodeType": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ] }, - "id": 1559, + "id": 1051, "nodeType": "IfStatement", - "src": "28203:1273:1", + "src": "28991:1300:0", "trueBody": { - "id": 1555, + "id": 1047, "nodeType": "Block", - "src": "28224:1209:1", + "src": "29012:1234:0", "statements": [ { "assignments": [ - 1502 + 994 ], "declarations": [ { "constant": false, - "id": 1502, + "id": 994, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28564:21:1", + "scope": 1047, + "src": "29357:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12210,10 +12210,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1501, + "id": 993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28564:7:1", + "src": "29357:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12222,24 +12222,24 @@ "visibility": "internal" } ], - "id": 1506, + "id": 998, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1505, + "id": 997, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1503, + "id": 995, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28588:10:1", + "referencedDeclaration": 984, + "src": "29381:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12249,42 +12249,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1504, + "id": 996, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28601:1:1", + "src": "29394:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28588:14:1", + "src": "29381:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "assignments": [ - 1508 + 1000 ], "declarations": [ { "constant": false, - "id": 1508, + "id": 1000, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28616:17:1", + "scope": 1047, + "src": "29410:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12292,10 +12292,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1507, + "id": 999, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28616:7:1", + "src": "29410:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12304,13 +12304,13 @@ "visibility": "internal" } ], - "id": 1514, + "id": 1006, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1513, + "id": 1005, "isConstant": false, "isLValue": false, "isPure": false, @@ -12318,39 +12318,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1509, + "id": 1001, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28636:3:1", + "referencedDeclaration": 976, + "src": "29430:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1510, + "id": 1002, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28636:11:1", + "referencedDeclaration": 927, + "src": "29430:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1511, + "id": 1003, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "28636:18:1", + "src": "29430:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12360,42 +12360,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1512, + "id": 1004, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28657:1:1", + "src": "29451:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28636:22:1", + "src": "29430:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "assignments": [ - 1516 + 1008 ], "declarations": [ { "constant": false, - "id": 1516, + "id": 1008, "mutability": "mutable", "name": "lastvalue", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28898:17:1", + "scope": 1047, + "src": "29697:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12403,10 +12403,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1515, + "id": 1007, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28898:7:1", + "src": "29697:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12415,43 +12415,43 @@ "visibility": "internal" } ], - "id": 1521, + "id": 1013, "initialValue": { "baseExpression": { "expression": { - "id": 1517, + "id": 1009, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28918:3:1", + "referencedDeclaration": 976, + "src": "29717:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1518, + "id": 1010, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28918:11:1", + "referencedDeclaration": 927, + "src": "29717:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1520, + "id": 1012, "indexExpression": { - "id": 1519, + "id": 1011, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1508, - "src": "28930:9:1", + "referencedDeclaration": 1000, + "src": "29729:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12462,18 +12462,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28918:22:1", + "src": "29717:22:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "expression": { - "id": 1528, + "id": 1020, "isConstant": false, "isLValue": false, "isPure": false, @@ -12481,39 +12481,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1522, + "id": 1014, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29032:3:1", + "referencedDeclaration": 976, + "src": "29834:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1525, + "id": 1017, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29032:11:1", + "referencedDeclaration": 927, + "src": "29834:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1526, + "id": 1018, "indexExpression": { - "id": 1524, + "id": 1016, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29044:13:1", + "referencedDeclaration": 994, + "src": "29846:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12524,7 +12524,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29032:26:1", + "src": "29834:26:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12533,30 +12533,30 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1527, + "id": 1019, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29061:9:1", + "referencedDeclaration": 1008, + "src": "29863:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "29032:38:1", + "src": "29834:38:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1529, + "id": 1021, "nodeType": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "expression": { - "id": 1538, + "id": 1030, "isConstant": false, "isLValue": false, "isPure": false, @@ -12564,39 +12564,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1530, + "id": 1022, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29136:3:1", + "referencedDeclaration": 976, + "src": "29940:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1533, + "id": 1025, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29136:12:1", + "referencedDeclaration": 931, + "src": "29940:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1534, + "id": 1026, "indexExpression": { - "id": 1532, + "id": 1024, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29149:9:1", + "referencedDeclaration": 1008, + "src": "29953:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12607,7 +12607,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29136:23:1", + "src": "29940:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12620,18 +12620,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1537, + "id": 1029, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1535, + "id": 1027, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29162:13:1", + "referencedDeclaration": 994, + "src": "29966:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12641,35 +12641,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 1536, + "id": 1028, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29178:1:1", + "src": "29982:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "29162:17:1", + "src": "29966:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "29136:43:1", + "src": "29940:43:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1539, + "id": 1031, "nodeType": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "expression": { @@ -12678,45 +12678,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 1540, + "id": 1032, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29285:3:1", + "referencedDeclaration": 976, + "src": "30092:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1543, + "id": 1035, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29285:11:1", + "referencedDeclaration": 927, + "src": "30092:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1544, + "id": 1036, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "29285:15:1", + "src": "30092:15:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 1545, + "id": 1037, "isConstant": false, "isLValue": false, "isPure": false, @@ -12724,20 +12724,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "29285:17:1", + "src": "30092:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1546, + "id": 1038, "nodeType": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "expression": { - "id": 1551, + "id": 1043, "isConstant": false, "isLValue": false, "isPure": false, @@ -12745,43 +12745,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "29370:26:1", + "src": "30180:26:0", "subExpression": { "baseExpression": { "expression": { - "id": 1547, + "id": 1039, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29377:3:1", + "referencedDeclaration": 976, + "src": "30187:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1548, + "id": 1040, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29377:12:1", + "referencedDeclaration": 931, + "src": "30187:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1550, + "id": 1042, "indexExpression": { - "id": 1549, + "id": 1041, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "29390:5:1", + "referencedDeclaration": 978, + "src": "30200:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12792,7 +12792,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29377:19:1", + "src": "30187:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12803,31 +12803,31 @@ "typeString": "tuple()" } }, - "id": 1552, + "id": 1044, "nodeType": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "expression": { "hexValue": "74727565", - "id": 1553, + "id": 1045, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29418:4:1", + "src": "30230:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1490, - "id": 1554, + "functionReturnParameters": 982, + "id": 1046, "nodeType": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ] } @@ -12835,43 +12835,43 @@ ] }, "documentation": { - "id": 1482, + "id": 974, "nodeType": "StructuredDocumentation", - "src": "27808:157:1", + "src": "28586:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1561, + "id": 1053, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1487, + "id": 979, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1484, + "id": 976, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "27987:15:1", + "scope": 1053, + "src": "28771:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1483, + "id": 975, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27987:3:1", + "referencedDeclaration": 932, + "src": "28771:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -12879,12 +12879,12 @@ }, { "constant": false, - "id": 1486, + "id": 978, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28004:13:1", + "scope": 1053, + "src": "28788:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12892,10 +12892,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1485, + "id": 977, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28004:7:1", + "src": "28788:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12904,20 +12904,20 @@ "visibility": "internal" } ], - "src": "27986:32:1" + "src": "28770:32:0" }, "returnParameters": { - "id": 1490, + "id": 982, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1489, + "id": 981, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28036:4:1", + "scope": 1053, + "src": "28820:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12925,10 +12925,10 @@ "typeString": "bool" }, "typeName": { - "id": 1488, + "id": 980, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "28036:4:1", + "src": "28820:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12937,19 +12937,19 @@ "visibility": "internal" } ], - "src": "28035:6:1" + "src": "28819:6:0" }, - "scope": 1921, - "src": "27970:1512:1", + "scope": 1413, + "src": "28754:1544:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1578, + "id": 1070, "nodeType": "Block", - "src": "29642:48:1", + "src": "30463:50:0", "statements": [ { "expression": { @@ -12957,7 +12957,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1576, + "id": 1068, "isConstant": false, "isLValue": false, "isPure": false, @@ -12965,39 +12965,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 1571, + "id": 1063, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1564, - "src": "29659:3:1", + "referencedDeclaration": 1056, + "src": "30481:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1572, + "id": 1064, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29659:12:1", + "referencedDeclaration": 931, + "src": "30481:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1574, + "id": 1066, "indexExpression": { - "id": 1573, + "id": 1065, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1566, - "src": "29672:5:1", + "referencedDeclaration": 1058, + "src": "30494:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13008,7 +13008,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "29659:19:1", + "src": "30481:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13018,71 +13018,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1575, + "id": 1067, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29682:1:1", + "src": "30504:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "29659:24:1", + "src": "30481:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1570, - "id": 1577, + "functionReturnParameters": 1062, + "id": 1069, "nodeType": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ] }, "documentation": { - "id": 1562, + "id": 1054, "nodeType": "StructuredDocumentation", - "src": "29488:70:1", + "src": "30306:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1579, + "id": 1071, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1567, + "id": 1059, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1564, + "id": 1056, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29582:15:1", + "scope": 1071, + "src": "30403:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1563, + "id": 1055, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29582:3:1", + "referencedDeclaration": 932, + "src": "30403:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13090,12 +13090,12 @@ }, { "constant": false, - "id": 1566, + "id": 1058, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29599:13:1", + "scope": 1071, + "src": "30420:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13103,10 +13103,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1565, + "id": 1057, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "29599:7:1", + "src": "30420:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13115,20 +13115,20 @@ "visibility": "internal" } ], - "src": "29581:32:1" + "src": "30402:32:0" }, "returnParameters": { - "id": 1570, + "id": 1062, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1569, + "id": 1061, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29636:4:1", + "scope": 1071, + "src": "30457:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13136,10 +13136,10 @@ "typeString": "bool" }, "typeName": { - "id": 1568, + "id": 1060, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "29636:4:1", + "src": "30457:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13148,127 +13148,127 @@ "visibility": "internal" } ], - "src": "29635:6:1" + "src": "30456:6:0" }, - "scope": 1921, - "src": "29563:127:1", + "scope": 1413, + "src": "30384:129:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1591, + "id": 1083, "nodeType": "Block", - "src": "29836:42:1", + "src": "30664:44:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 1587, + "id": 1079, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1582, - "src": "29853:3:1", + "referencedDeclaration": 1074, + "src": "30682:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1588, + "id": 1080, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29853:11:1", + "referencedDeclaration": 927, + "src": "30682:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1589, + "id": 1081, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "29853:18:1", + "src": "30682:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1586, - "id": 1590, + "functionReturnParameters": 1078, + "id": 1082, "nodeType": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ] }, "documentation": { - "id": 1580, + "id": 1072, "nodeType": "StructuredDocumentation", - "src": "29696:70:1", + "src": "30521:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1592, + "id": 1084, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1583, + "id": 1075, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1582, + "id": 1074, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29788:15:1", + "scope": 1084, + "src": "30616:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1581, + "id": 1073, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29788:3:1", + "referencedDeclaration": 932, + "src": "30616:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, "visibility": "internal" } ], - "src": "29787:17:1" + "src": "30615:17:0" }, "returnParameters": { - "id": 1586, + "id": 1078, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1585, + "id": 1077, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29827:7:1", + "scope": 1084, + "src": "30655:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13276,10 +13276,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1584, + "id": 1076, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "29827:7:1", + "src": "30655:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13288,19 +13288,19 @@ "visibility": "internal" } ], - "src": "29826:9:1" + "src": "30654:9:0" }, - "scope": 1921, - "src": "29771:107:1", + "scope": 1413, + "src": "30599:109:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1616, + "id": 1108, "nodeType": "Block", - "src": "30286:125:1", + "src": "31128:128:0", "statements": [ { "expression": { @@ -13310,7 +13310,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1607, + "id": 1099, "isConstant": false, "isLValue": false, "isPure": false, @@ -13318,39 +13318,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1603, + "id": 1095, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30304:3:1", + "referencedDeclaration": 1087, + "src": "31147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1604, + "id": 1096, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30304:11:1", + "referencedDeclaration": 927, + "src": "31147:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1605, + "id": 1097, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "30304:18:1", + "src": "31147:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13359,18 +13359,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 1606, + "id": 1098, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30325:5:1", + "referencedDeclaration": 1089, + "src": "31168:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "30304:26:1", + "src": "31147:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13378,14 +13378,14 @@ }, { "hexValue": "456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473", - "id": 1608, + "id": 1100, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "30332:36:1", + "src": "31175:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_045d6834e6193a687012a3ad777f612279e549b6945364d9d2324f48610d3cbb", "typeString": "literal_string \"EnumerableSet: index out of bounds\"" @@ -13404,7 +13404,7 @@ "typeString": "literal_string \"EnumerableSet: index out of bounds\"" } ], - "id": 1602, + "id": 1094, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -13412,13 +13412,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "30296:7:1", + "src": "31139:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1609, + "id": 1101, "isConstant": false, "isLValue": false, "isPure": false, @@ -13426,54 +13426,54 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30296:73:1", + "src": "31139:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1610, + "id": 1102, "nodeType": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "expression": { "baseExpression": { "expression": { - "id": 1611, + "id": 1103, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30386:3:1", + "referencedDeclaration": 1087, + "src": "31230:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1612, + "id": 1104, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30386:11:1", + "referencedDeclaration": 927, + "src": "31230:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1614, + "id": 1106, "indexExpression": { - "id": 1613, + "id": 1105, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30398:5:1", + "referencedDeclaration": 1089, + "src": "31242:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13484,57 +13484,57 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "30386:18:1", + "src": "31230:18:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1601, - "id": 1615, + "functionReturnParameters": 1093, + "id": 1107, "nodeType": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ] }, "documentation": { - "id": 1593, + "id": 1085, "nodeType": "StructuredDocumentation", - "src": "29883:322:1", + "src": "30715:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1617, + "id": 1109, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1598, + "id": 1090, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1595, + "id": 1087, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30223:15:1", + "scope": 1109, + "src": "31065:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1594, + "id": 1086, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30223:3:1", + "referencedDeclaration": 932, + "src": "31065:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13542,12 +13542,12 @@ }, { "constant": false, - "id": 1597, + "id": 1089, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30240:13:1", + "scope": 1109, + "src": "31082:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13555,10 +13555,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1596, + "id": 1088, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "30240:7:1", + "src": "31082:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13567,20 +13567,20 @@ "visibility": "internal" } ], - "src": "30222:32:1" + "src": "31064:32:0" }, "returnParameters": { - "id": 1601, + "id": 1093, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1600, + "id": 1092, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30277:7:1", + "scope": 1109, + "src": "31119:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13588,10 +13588,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1599, + "id": 1091, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30277:7:1", + "src": "31119:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13600,40 +13600,40 @@ "visibility": "internal" } ], - "src": "30276:9:1" + "src": "31118:9:0" }, - "scope": 1921, - "src": "30210:201:1", + "scope": 1413, + "src": "31052:204:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableSet.Bytes32Set", - "id": 1620, + "id": 1112, "members": [ { "constant": false, - "id": 1619, + "id": 1111, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1620, - "src": "30464:10:1", + "scope": 1112, + "src": "31314:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1618, + "id": 1110, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30464:3:1", + "referencedDeclaration": 932, + "src": "31314:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13642,53 +13642,53 @@ ], "name": "Bytes32Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "30436:45:1", + "scope": 1413, + "src": "31285:47:0", "visibility": "public" }, { "body": { - "id": 1636, + "id": 1128, "nodeType": "Block", - "src": "30727:47:1", + "src": "31586:49:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1631, + "id": 1123, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1623, - "src": "30749:3:1", + "referencedDeclaration": 1115, + "src": "31609:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1632, + "id": 1124, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "30749:10:1", + "referencedDeclaration": 1111, + "src": "31609:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1633, + "id": 1125, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "30761:5:1", + "referencedDeclaration": 1117, + "src": "31621:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13698,7 +13698,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -13706,18 +13706,18 @@ "typeString": "bytes32" } ], - "id": 1630, + "id": 1122, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "30744:4:1", + "referencedDeclaration": 973, + "src": "31604:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1634, + "id": 1126, "isConstant": false, "isLValue": false, "isPure": false, @@ -13725,58 +13725,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30744:23:1", + "src": "31604:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1629, - "id": 1635, + "functionReturnParameters": 1121, + "id": 1127, "nodeType": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ] }, "documentation": { - "id": 1621, + "id": 1113, "nodeType": "StructuredDocumentation", - "src": "30487:159:1", + "src": "31340:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1637, + "id": 1129, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1626, + "id": 1118, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1623, + "id": 1115, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30664:22:1", + "scope": 1129, + "src": "31523:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1622, + "id": 1114, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30664:10:1", + "referencedDeclaration": 1112, + "src": "31523:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -13784,12 +13784,12 @@ }, { "constant": false, - "id": 1625, + "id": 1117, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30688:13:1", + "scope": 1129, + "src": "31547:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13797,10 +13797,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1624, + "id": 1116, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30688:7:1", + "src": "31547:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13809,20 +13809,20 @@ "visibility": "internal" } ], - "src": "30663:39:1" + "src": "31522:39:0" }, "returnParameters": { - "id": 1629, + "id": 1121, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1628, + "id": 1120, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30721:4:1", + "scope": 1129, + "src": "31580:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13830,10 +13830,10 @@ "typeString": "bool" }, "typeName": { - "id": 1627, + "id": 1119, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "30721:4:1", + "src": "31580:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13842,57 +13842,57 @@ "visibility": "internal" } ], - "src": "30720:6:1" + "src": "31579:6:0" }, - "scope": 1921, - "src": "30651:123:1", + "scope": 1413, + "src": "31510:125:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1653, + "id": 1145, "nodeType": "Block", - "src": "31021:50:1", + "src": "31890:52:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1648, + "id": 1140, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1640, - "src": "31046:3:1", + "referencedDeclaration": 1132, + "src": "31916:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1649, + "id": 1141, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31046:10:1", + "referencedDeclaration": 1111, + "src": "31916:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1650, + "id": 1142, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1642, - "src": "31058:5:1", + "referencedDeclaration": 1134, + "src": "31928:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13902,7 +13902,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -13910,18 +13910,18 @@ "typeString": "bytes32" } ], - "id": 1647, + "id": 1139, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "31038:7:1", + "referencedDeclaration": 1053, + "src": "31908:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1651, + "id": 1143, "isConstant": false, "isLValue": false, "isPure": false, @@ -13929,58 +13929,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31038:26:1", + "src": "31908:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1646, - "id": 1652, + "functionReturnParameters": 1138, + "id": 1144, "nodeType": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ] }, "documentation": { - "id": 1638, + "id": 1130, "nodeType": "StructuredDocumentation", - "src": "30780:157:1", + "src": "31643:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1654, + "id": 1146, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1643, + "id": 1135, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1640, + "id": 1132, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30958:22:1", + "scope": 1146, + "src": "31827:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1639, + "id": 1131, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30958:10:1", + "referencedDeclaration": 1112, + "src": "31827:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -13988,12 +13988,12 @@ }, { "constant": false, - "id": 1642, + "id": 1134, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30982:13:1", + "scope": 1146, + "src": "31851:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14001,10 +14001,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1641, + "id": 1133, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30982:7:1", + "src": "31851:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14013,20 +14013,20 @@ "visibility": "internal" } ], - "src": "30957:39:1" + "src": "31826:39:0" }, "returnParameters": { - "id": 1646, + "id": 1138, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1645, + "id": 1137, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "31015:4:1", + "scope": 1146, + "src": "31884:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14034,10 +14034,10 @@ "typeString": "bool" }, "typeName": { - "id": 1644, + "id": 1136, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31015:4:1", + "src": "31884:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14046,57 +14046,57 @@ "visibility": "internal" } ], - "src": "31014:6:1" + "src": "31883:6:0" }, - "scope": 1921, - "src": "30942:129:1", + "scope": 1413, + "src": "31811:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1670, + "id": 1162, "nodeType": "Block", - "src": "31238:52:1", + "src": "32114:54:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1665, + "id": 1157, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "31265:3:1", + "referencedDeclaration": 1149, + "src": "32142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1666, + "id": 1158, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31265:10:1", + "referencedDeclaration": 1111, + "src": "32142:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1667, + "id": 1159, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1659, - "src": "31277:5:1", + "referencedDeclaration": 1151, + "src": "32154:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14106,7 +14106,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14114,18 +14114,18 @@ "typeString": "bytes32" } ], - "id": 1664, + "id": 1156, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "31255:9:1", + "referencedDeclaration": 1071, + "src": "32132:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1668, + "id": 1160, "isConstant": false, "isLValue": false, "isPure": false, @@ -14133,58 +14133,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31255:28:1", + "src": "32132:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1663, - "id": 1669, + "functionReturnParameters": 1155, + "id": 1161, "nodeType": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ] }, "documentation": { - "id": 1655, + "id": 1147, "nodeType": "StructuredDocumentation", - "src": "31077:70:1", + "src": "31950:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1671, + "id": 1163, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1660, + "id": 1152, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1657, + "id": 1149, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31170:22:1", + "scope": 1163, + "src": "32046:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1656, + "id": 1148, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31170:10:1", + "referencedDeclaration": 1112, + "src": "32046:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14192,12 +14192,12 @@ }, { "constant": false, - "id": 1659, + "id": 1151, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31194:13:1", + "scope": 1163, + "src": "32070:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14205,10 +14205,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1658, + "id": 1150, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31194:7:1", + "src": "32070:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14217,20 +14217,20 @@ "visibility": "internal" } ], - "src": "31169:39:1" + "src": "32045:39:0" }, "returnParameters": { - "id": 1663, + "id": 1155, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1662, + "id": 1154, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31232:4:1", + "scope": 1163, + "src": "32108:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14238,10 +14238,10 @@ "typeString": "bool" }, "typeName": { - "id": 1661, + "id": 1153, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31232:4:1", + "src": "32108:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14250,47 +14250,47 @@ "visibility": "internal" } ], - "src": "31231:6:1" + "src": "32107:6:0" }, - "scope": 1921, - "src": "31152:138:1", + "scope": 1413, + "src": "32028:140:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1684, + "id": 1176, "nodeType": "Block", - "src": "31443:43:1", + "src": "32326:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1680, + "id": 1172, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "31468:3:1", + "referencedDeclaration": 1166, + "src": "32352:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1681, + "id": 1173, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31468:10:1", + "referencedDeclaration": 1111, + "src": "32352:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -14298,22 +14298,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1679, + "id": 1171, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "31460:7:1", + "referencedDeclaration": 1084, + "src": "32344:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1682, + "id": 1174, "isConstant": false, "isLValue": false, "isPure": false, @@ -14321,78 +14321,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31460:19:1", + "src": "32344:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1678, - "id": 1683, + "functionReturnParameters": 1170, + "id": 1175, "nodeType": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ] }, "documentation": { - "id": 1672, + "id": 1164, "nodeType": "StructuredDocumentation", - "src": "31296:70:1", + "src": "32176:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1685, + "id": 1177, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1675, + "id": 1167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1674, + "id": 1166, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31387:22:1", + "scope": 1177, + "src": "32270:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1673, + "id": 1165, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31387:10:1", + "referencedDeclaration": 1112, + "src": "32270:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, "visibility": "internal" } ], - "src": "31386:24:1" + "src": "32269:24:0" }, "returnParameters": { - "id": 1678, + "id": 1170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1677, + "id": 1169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31434:7:1", + "scope": 1177, + "src": "32317:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14400,10 +14400,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1676, + "id": 1168, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31434:7:1", + "src": "32317:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14412,57 +14412,57 @@ "visibility": "internal" } ], - "src": "31433:9:1" + "src": "32316:9:0" }, - "scope": 1921, - "src": "31371:115:1", + "scope": 1413, + "src": "32254:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1701, + "id": 1193, "nodeType": "Block", - "src": "31901:46:1", + "src": "32798:48:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1696, + "id": 1188, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1688, - "src": "31922:3:1", + "referencedDeclaration": 1180, + "src": "32820:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1697, + "id": 1189, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31922:10:1", + "referencedDeclaration": 1111, + "src": "32820:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1698, + "id": 1190, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "31934:5:1", + "referencedDeclaration": 1182, + "src": "32832:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14472,7 +14472,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14480,18 +14480,18 @@ "typeString": "uint256" } ], - "id": 1695, + "id": 1187, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "31918:3:1", + "referencedDeclaration": 1109, + "src": "32816:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1699, + "id": 1191, "isConstant": false, "isLValue": false, "isPure": false, @@ -14499,58 +14499,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31918:22:1", + "src": "32816:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1694, - "id": 1700, + "functionReturnParameters": 1186, + "id": 1192, "nodeType": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ] }, "documentation": { - "id": 1686, + "id": 1178, "nodeType": "StructuredDocumentation", - "src": "31491:322:1", + "src": "32378:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1702, + "id": 1194, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1691, + "id": 1183, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1688, + "id": 1180, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31830:22:1", + "scope": 1194, + "src": "32727:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1687, + "id": 1179, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31830:10:1", + "referencedDeclaration": 1112, + "src": "32727:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14558,12 +14558,12 @@ }, { "constant": false, - "id": 1690, + "id": 1182, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31854:13:1", + "scope": 1194, + "src": "32751:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14571,10 +14571,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1689, + "id": 1181, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31854:7:1", + "src": "32751:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14583,20 +14583,20 @@ "visibility": "internal" } ], - "src": "31829:39:1" + "src": "32726:39:0" }, "returnParameters": { - "id": 1694, + "id": 1186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1693, + "id": 1185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31892:7:1", + "scope": 1194, + "src": "32789:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14604,10 +14604,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1692, + "id": 1184, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31892:7:1", + "src": "32789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14616,40 +14616,40 @@ "visibility": "internal" } ], - "src": "31891:9:1" + "src": "32788:9:0" }, - "scope": 1921, - "src": "31818:129:1", + "scope": 1413, + "src": "32715:131:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.AddressSet", - "id": 1705, + "id": 1197, "members": [ { "constant": false, - "id": 1704, + "id": 1196, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1705, - "src": "32000:10:1", + "scope": 1197, + "src": "32904:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1703, + "id": 1195, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "32000:3:1", + "referencedDeclaration": 932, + "src": "32904:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -14658,43 +14658,43 @@ ], "name": "AddressSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "31972:45:1", + "scope": 1413, + "src": "32875:47:0", "visibility": "public" }, { "body": { - "id": 1730, + "id": 1222, "nodeType": "Block", - "src": "32263:74:1", + "src": "33176:76:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1716, + "id": 1208, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1708, - "src": "32285:3:1", + "referencedDeclaration": 1200, + "src": "33199:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1717, + "id": 1209, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32285:10:1", + "referencedDeclaration": 1196, + "src": "33199:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -14705,12 +14705,12 @@ { "arguments": [ { - "id": 1724, + "id": 1216, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1710, - "src": "32321:5:1", + "referencedDeclaration": 1202, + "src": "33235:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14724,26 +14724,26 @@ "typeString": "address" } ], - "id": 1723, + "id": 1215, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1722, + "id": 1214, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": {} } }, - "id": 1725, + "id": 1217, "isConstant": false, "isLValue": false, "isPure": false, @@ -14751,7 +14751,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32313:14:1", + "src": "33227:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -14766,26 +14766,26 @@ "typeString": "uint160" } ], - "id": 1721, + "id": 1213, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1720, + "id": 1212, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": {} } }, - "id": 1726, + "id": 1218, "isConstant": false, "isLValue": false, "isPure": false, @@ -14793,7 +14793,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32305:23:1", + "src": "33219:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -14808,26 +14808,26 @@ "typeString": "uint256" } ], - "id": 1719, + "id": 1211, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1718, + "id": 1210, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": {} } }, - "id": 1727, + "id": 1219, "isConstant": false, "isLValue": false, "isPure": false, @@ -14835,7 +14835,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32297:32:1", + "src": "33211:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -14846,7 +14846,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14854,18 +14854,18 @@ "typeString": "bytes32" } ], - "id": 1715, + "id": 1207, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "32280:4:1", + "referencedDeclaration": 973, + "src": "33194:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1728, + "id": 1220, "isConstant": false, "isLValue": false, "isPure": false, @@ -14873,58 +14873,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32280:50:1", + "src": "33194:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1714, - "id": 1729, + "functionReturnParameters": 1206, + "id": 1221, "nodeType": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ] }, "documentation": { - "id": 1706, + "id": 1198, "nodeType": "StructuredDocumentation", - "src": "32023:159:1", + "src": "32930:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1731, + "id": 1223, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1711, + "id": 1203, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1708, + "id": 1200, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32200:22:1", + "scope": 1223, + "src": "33113:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1707, + "id": 1199, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32200:10:1", + "referencedDeclaration": 1197, + "src": "33113:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -14932,12 +14932,12 @@ }, { "constant": false, - "id": 1710, + "id": 1202, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32224:13:1", + "scope": 1223, + "src": "33137:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14945,10 +14945,10 @@ "typeString": "address" }, "typeName": { - "id": 1709, + "id": 1201, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32224:7:1", + "src": "33137:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -14958,20 +14958,20 @@ "visibility": "internal" } ], - "src": "32199:39:1" + "src": "33112:39:0" }, "returnParameters": { - "id": 1714, + "id": 1206, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1713, + "id": 1205, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32257:4:1", + "scope": 1223, + "src": "33170:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14979,10 +14979,10 @@ "typeString": "bool" }, "typeName": { - "id": 1712, + "id": 1204, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32257:4:1", + "src": "33170:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14991,47 +14991,47 @@ "visibility": "internal" } ], - "src": "32256:6:1" + "src": "33169:6:0" }, - "scope": 1921, - "src": "32187:150:1", + "scope": 1413, + "src": "33100:152:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1756, + "id": 1248, "nodeType": "Block", - "src": "32584:77:1", + "src": "33507:79:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1742, + "id": 1234, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1734, - "src": "32609:3:1", + "referencedDeclaration": 1226, + "src": "33533:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1743, + "id": 1235, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32609:10:1", + "referencedDeclaration": 1196, + "src": "33533:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15042,12 +15042,12 @@ { "arguments": [ { - "id": 1750, + "id": 1242, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1736, - "src": "32645:5:1", + "referencedDeclaration": 1228, + "src": "33569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15061,26 +15061,26 @@ "typeString": "address" } ], - "id": 1749, + "id": 1241, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1748, + "id": 1240, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": {} } }, - "id": 1751, + "id": 1243, "isConstant": false, "isLValue": false, "isPure": false, @@ -15088,7 +15088,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32637:14:1", + "src": "33561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15103,26 +15103,26 @@ "typeString": "uint160" } ], - "id": 1747, + "id": 1239, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1746, + "id": 1238, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": {} } }, - "id": 1752, + "id": 1244, "isConstant": false, "isLValue": false, "isPure": false, @@ -15130,7 +15130,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32629:23:1", + "src": "33553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15145,26 +15145,26 @@ "typeString": "uint256" } ], - "id": 1745, + "id": 1237, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1744, + "id": 1236, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": {} } }, - "id": 1753, + "id": 1245, "isConstant": false, "isLValue": false, "isPure": false, @@ -15172,7 +15172,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32621:32:1", + "src": "33545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15183,7 +15183,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15191,18 +15191,18 @@ "typeString": "bytes32" } ], - "id": 1741, + "id": 1233, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "32601:7:1", + "referencedDeclaration": 1053, + "src": "33525:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1754, + "id": 1246, "isConstant": false, "isLValue": false, "isPure": false, @@ -15210,58 +15210,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32601:53:1", + "src": "33525:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1740, - "id": 1755, + "functionReturnParameters": 1232, + "id": 1247, "nodeType": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ] }, "documentation": { - "id": 1732, + "id": 1224, "nodeType": "StructuredDocumentation", - "src": "32343:157:1", + "src": "33260:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1757, + "id": 1249, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1737, + "id": 1229, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1734, + "id": 1226, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32521:22:1", + "scope": 1249, + "src": "33444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1733, + "id": 1225, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32521:10:1", + "referencedDeclaration": 1197, + "src": "33444:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15269,12 +15269,12 @@ }, { "constant": false, - "id": 1736, + "id": 1228, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32545:13:1", + "scope": 1249, + "src": "33468:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15282,10 +15282,10 @@ "typeString": "address" }, "typeName": { - "id": 1735, + "id": 1227, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32545:7:1", + "src": "33468:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15295,20 +15295,20 @@ "visibility": "internal" } ], - "src": "32520:39:1" + "src": "33443:39:0" }, "returnParameters": { - "id": 1740, + "id": 1232, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1739, + "id": 1231, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32578:4:1", + "scope": 1249, + "src": "33501:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15316,10 +15316,10 @@ "typeString": "bool" }, "typeName": { - "id": 1738, + "id": 1230, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32578:4:1", + "src": "33501:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15328,47 +15328,47 @@ "visibility": "internal" } ], - "src": "32577:6:1" + "src": "33500:6:0" }, - "scope": 1921, - "src": "32505:156:1", + "scope": 1413, + "src": "33428:158:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1782, + "id": 1274, "nodeType": "Block", - "src": "32828:79:1", + "src": "33758:81:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1768, + "id": 1260, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1760, - "src": "32855:3:1", + "referencedDeclaration": 1252, + "src": "33786:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1769, + "id": 1261, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32855:10:1", + "referencedDeclaration": 1196, + "src": "33786:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15379,12 +15379,12 @@ { "arguments": [ { - "id": 1776, + "id": 1268, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1762, - "src": "32891:5:1", + "referencedDeclaration": 1254, + "src": "33822:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15398,26 +15398,26 @@ "typeString": "address" } ], - "id": 1775, + "id": 1267, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1774, + "id": 1266, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": {} } }, - "id": 1777, + "id": 1269, "isConstant": false, "isLValue": false, "isPure": false, @@ -15425,7 +15425,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32883:14:1", + "src": "33814:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15440,26 +15440,26 @@ "typeString": "uint160" } ], - "id": 1773, + "id": 1265, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1772, + "id": 1264, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": {} } }, - "id": 1778, + "id": 1270, "isConstant": false, "isLValue": false, "isPure": false, @@ -15467,7 +15467,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32875:23:1", + "src": "33806:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15482,26 +15482,26 @@ "typeString": "uint256" } ], - "id": 1771, + "id": 1263, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1770, + "id": 1262, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": {} } }, - "id": 1779, + "id": 1271, "isConstant": false, "isLValue": false, "isPure": false, @@ -15509,7 +15509,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32867:32:1", + "src": "33798:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15520,7 +15520,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15528,18 +15528,18 @@ "typeString": "bytes32" } ], - "id": 1767, + "id": 1259, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "32845:9:1", + "referencedDeclaration": 1071, + "src": "33776:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1780, + "id": 1272, "isConstant": false, "isLValue": false, "isPure": false, @@ -15547,58 +15547,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32845:55:1", + "src": "33776:55:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1766, - "id": 1781, + "functionReturnParameters": 1258, + "id": 1273, "nodeType": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ] }, "documentation": { - "id": 1758, + "id": 1250, "nodeType": "StructuredDocumentation", - "src": "32667:70:1", + "src": "33594:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1783, + "id": 1275, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1763, + "id": 1255, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1760, + "id": 1252, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32760:22:1", + "scope": 1275, + "src": "33690:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1759, + "id": 1251, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32760:10:1", + "referencedDeclaration": 1197, + "src": "33690:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15606,12 +15606,12 @@ }, { "constant": false, - "id": 1762, + "id": 1254, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32784:13:1", + "scope": 1275, + "src": "33714:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15619,10 +15619,10 @@ "typeString": "address" }, "typeName": { - "id": 1761, + "id": 1253, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32784:7:1", + "src": "33714:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15632,20 +15632,20 @@ "visibility": "internal" } ], - "src": "32759:39:1" + "src": "33689:39:0" }, "returnParameters": { - "id": 1766, + "id": 1258, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1765, + "id": 1257, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32822:4:1", + "scope": 1275, + "src": "33752:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15653,10 +15653,10 @@ "typeString": "bool" }, "typeName": { - "id": 1764, + "id": 1256, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32822:4:1", + "src": "33752:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15665,47 +15665,47 @@ "visibility": "internal" } ], - "src": "32821:6:1" + "src": "33751:6:0" }, - "scope": 1921, - "src": "32742:165:1", + "scope": 1413, + "src": "33672:167:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1796, + "id": 1288, "nodeType": "Block", - "src": "33060:43:1", + "src": "33997:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1792, + "id": 1284, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1786, - "src": "33085:3:1", + "referencedDeclaration": 1278, + "src": "34023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1793, + "id": 1285, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33085:10:1", + "referencedDeclaration": 1196, + "src": "34023:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -15713,22 +15713,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1791, + "id": 1283, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "33077:7:1", + "referencedDeclaration": 1084, + "src": "34015:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1794, + "id": 1286, "isConstant": false, "isLValue": false, "isPure": false, @@ -15736,78 +15736,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33077:19:1", + "src": "34015:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1790, - "id": 1795, + "functionReturnParameters": 1282, + "id": 1287, "nodeType": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ] }, "documentation": { - "id": 1784, + "id": 1276, "nodeType": "StructuredDocumentation", - "src": "32913:70:1", + "src": "33847:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1797, + "id": 1289, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1787, + "id": 1279, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1786, + "id": 1278, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33004:22:1", + "scope": 1289, + "src": "33941:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1785, + "id": 1277, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33004:10:1", + "referencedDeclaration": 1197, + "src": "33941:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, "visibility": "internal" } ], - "src": "33003:24:1" + "src": "33940:24:0" }, "returnParameters": { - "id": 1790, + "id": 1282, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1789, + "id": 1281, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33051:7:1", + "scope": 1289, + "src": "33988:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15815,10 +15815,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1788, + "id": 1280, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33051:7:1", + "src": "33988:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15827,19 +15827,19 @@ "visibility": "internal" } ], - "src": "33050:9:1" + "src": "33987:9:0" }, - "scope": 1921, - "src": "32988:115:1", + "scope": 1413, + "src": "33925:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1822, + "id": 1314, "nodeType": "Block", - "src": "33518:73:1", + "src": "34469:75:0", "statements": [ { "expression": { @@ -15852,38 +15852,38 @@ "arguments": [ { "expression": { - "id": 1814, + "id": 1306, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1800, - "src": "33563:3:1", + "referencedDeclaration": 1292, + "src": "34515:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1815, + "id": 1307, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33563:10:1", + "referencedDeclaration": 1196, + "src": "34515:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1816, + "id": 1308, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1802, - "src": "33575:5:1", + "referencedDeclaration": 1294, + "src": "34527:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15893,7 +15893,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15901,18 +15901,18 @@ "typeString": "uint256" } ], - "id": 1813, + "id": 1305, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "33559:3:1", + "referencedDeclaration": 1109, + "src": "34511:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1817, + "id": 1309, "isConstant": false, "isLValue": false, "isPure": false, @@ -15920,7 +15920,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33559:22:1", + "src": "34511:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15935,26 +15935,26 @@ "typeString": "bytes32" } ], - "id": 1812, + "id": 1304, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1811, + "id": 1303, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": {} } }, - "id": 1818, + "id": 1310, "isConstant": false, "isLValue": false, "isPure": false, @@ -15962,7 +15962,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33551:31:1", + "src": "34503:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15977,26 +15977,26 @@ "typeString": "uint256" } ], - "id": 1810, + "id": 1302, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1809, + "id": 1301, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": {} } }, - "id": 1819, + "id": 1311, "isConstant": false, "isLValue": false, "isPure": false, @@ -16004,7 +16004,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33543:40:1", + "src": "34495:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -16019,26 +16019,26 @@ "typeString": "uint160" } ], - "id": 1808, + "id": 1300, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1807, + "id": 1299, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": {} } }, - "id": 1820, + "id": 1312, "isConstant": false, "isLValue": false, "isPure": false, @@ -16046,58 +16046,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33535:49:1", + "src": "34487:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 1806, - "id": 1821, + "functionReturnParameters": 1298, + "id": 1313, "nodeType": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ] }, "documentation": { - "id": 1798, + "id": 1290, "nodeType": "StructuredDocumentation", - "src": "33108:322:1", + "src": "34049:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1823, + "id": 1315, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1803, + "id": 1295, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1800, + "id": 1292, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33447:22:1", + "scope": 1315, + "src": "34398:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1799, + "id": 1291, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33447:10:1", + "referencedDeclaration": 1197, + "src": "34398:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -16105,12 +16105,12 @@ }, { "constant": false, - "id": 1802, + "id": 1294, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33471:13:1", + "scope": 1315, + "src": "34422:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16118,10 +16118,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1801, + "id": 1293, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33471:7:1", + "src": "34422:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16130,20 +16130,20 @@ "visibility": "internal" } ], - "src": "33446:39:1" + "src": "34397:39:0" }, "returnParameters": { - "id": 1806, + "id": 1298, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1805, + "id": 1297, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33509:7:1", + "scope": 1315, + "src": "34460:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16151,10 +16151,10 @@ "typeString": "address" }, "typeName": { - "id": 1804, + "id": 1296, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33509:7:1", + "src": "34460:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16164,40 +16164,40 @@ "visibility": "internal" } ], - "src": "33508:9:1" + "src": "34459:9:0" }, - "scope": 1921, - "src": "33435:156:1", + "scope": 1413, + "src": "34386:158:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.UintSet", - "id": 1826, + "id": 1318, "members": [ { "constant": false, - "id": 1825, + "id": 1317, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1826, - "src": "33639:10:1", + "scope": 1318, + "src": "34598:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1824, + "id": 1316, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "33639:3:1", + "referencedDeclaration": 932, + "src": "34598:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -16206,55 +16206,55 @@ ], "name": "UintSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "33614:42:1", + "scope": 1413, + "src": "34572:44:0", "visibility": "public" }, { "body": { - "id": 1845, + "id": 1337, "nodeType": "Block", - "src": "33899:56:1", + "src": "34867:58:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1837, + "id": 1329, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1829, - "src": "33921:3:1", + "referencedDeclaration": 1321, + "src": "34890:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1838, + "id": 1330, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "33921:10:1", + "referencedDeclaration": 1317, + "src": "34890:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1841, + "id": 1333, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1831, - "src": "33941:5:1", + "referencedDeclaration": 1323, + "src": "34910:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16268,26 +16268,26 @@ "typeString": "uint256" } ], - "id": 1840, + "id": 1332, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1839, + "id": 1331, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": {} } }, - "id": 1842, + "id": 1334, "isConstant": false, "isLValue": false, "isPure": false, @@ -16295,7 +16295,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33933:14:1", + "src": "34902:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16306,7 +16306,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16314,18 +16314,18 @@ "typeString": "bytes32" } ], - "id": 1836, + "id": 1328, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "33916:4:1", + "referencedDeclaration": 973, + "src": "34885:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1843, + "id": 1335, "isConstant": false, "isLValue": false, "isPure": false, @@ -16333,58 +16333,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33916:32:1", + "src": "34885:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1835, - "id": 1844, + "functionReturnParameters": 1327, + "id": 1336, "nodeType": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ] }, "documentation": { - "id": 1827, + "id": 1319, "nodeType": "StructuredDocumentation", - "src": "33662:159:1", + "src": "34624:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1846, + "id": 1338, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1832, + "id": 1324, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1829, + "id": 1321, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33839:19:1", + "scope": 1338, + "src": "34807:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1828, + "id": 1320, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "33839:7:1", + "referencedDeclaration": 1318, + "src": "34807:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16392,12 +16392,12 @@ }, { "constant": false, - "id": 1831, + "id": 1323, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33860:13:1", + "scope": 1338, + "src": "34828:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16405,10 +16405,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1830, + "id": 1322, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33860:7:1", + "src": "34828:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16417,20 +16417,20 @@ "visibility": "internal" } ], - "src": "33838:36:1" + "src": "34806:36:0" }, "returnParameters": { - "id": 1835, + "id": 1327, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1834, + "id": 1326, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33893:4:1", + "scope": 1338, + "src": "34861:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16438,10 +16438,10 @@ "typeString": "bool" }, "typeName": { - "id": 1833, + "id": 1325, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "33893:4:1", + "src": "34861:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16450,59 +16450,59 @@ "visibility": "internal" } ], - "src": "33892:6:1" + "src": "34860:6:0" }, - "scope": 1921, - "src": "33826:129:1", + "scope": 1413, + "src": "34794:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1865, + "id": 1357, "nodeType": "Block", - "src": "34199:59:1", + "src": "35177:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1857, + "id": 1349, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1849, - "src": "34224:3:1", + "referencedDeclaration": 1341, + "src": "35203:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1858, + "id": 1350, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34224:10:1", + "referencedDeclaration": 1317, + "src": "35203:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1861, + "id": 1353, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1851, - "src": "34244:5:1", + "referencedDeclaration": 1343, + "src": "35223:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16516,26 +16516,26 @@ "typeString": "uint256" } ], - "id": 1860, + "id": 1352, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1859, + "id": 1351, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": {} } }, - "id": 1862, + "id": 1354, "isConstant": false, "isLValue": false, "isPure": false, @@ -16543,7 +16543,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34236:14:1", + "src": "35215:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16554,7 +16554,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16562,18 +16562,18 @@ "typeString": "bytes32" } ], - "id": 1856, + "id": 1348, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "34216:7:1", + "referencedDeclaration": 1053, + "src": "35195:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1863, + "id": 1355, "isConstant": false, "isLValue": false, "isPure": false, @@ -16581,58 +16581,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34216:35:1", + "src": "35195:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1855, - "id": 1864, + "functionReturnParameters": 1347, + "id": 1356, "nodeType": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ] }, "documentation": { - "id": 1847, + "id": 1339, "nodeType": "StructuredDocumentation", - "src": "33961:157:1", + "src": "34933:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1866, + "id": 1358, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1852, + "id": 1344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1849, + "id": 1341, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34139:19:1", + "scope": 1358, + "src": "35117:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1848, + "id": 1340, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34139:7:1", + "referencedDeclaration": 1318, + "src": "35117:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16640,12 +16640,12 @@ }, { "constant": false, - "id": 1851, + "id": 1343, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34160:13:1", + "scope": 1358, + "src": "35138:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16653,10 +16653,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1850, + "id": 1342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34160:7:1", + "src": "35138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16665,20 +16665,20 @@ "visibility": "internal" } ], - "src": "34138:36:1" + "src": "35116:36:0" }, "returnParameters": { - "id": 1855, + "id": 1347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1854, + "id": 1346, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34193:4:1", + "scope": 1358, + "src": "35171:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16686,10 +16686,10 @@ "typeString": "bool" }, "typeName": { - "id": 1853, + "id": 1345, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34193:4:1", + "src": "35171:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16698,59 +16698,59 @@ "visibility": "internal" } ], - "src": "34192:6:1" + "src": "35170:6:0" }, - "scope": 1921, - "src": "34123:135:1", + "scope": 1413, + "src": "35101:137:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1885, + "id": 1377, "nodeType": "Block", - "src": "34422:61:1", + "src": "35407:63:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1877, + "id": 1369, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1869, - "src": "34449:3:1", + "referencedDeclaration": 1361, + "src": "35435:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1878, + "id": 1370, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34449:10:1", + "referencedDeclaration": 1317, + "src": "35435:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1881, + "id": 1373, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1871, - "src": "34469:5:1", + "referencedDeclaration": 1363, + "src": "35455:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16764,26 +16764,26 @@ "typeString": "uint256" } ], - "id": 1880, + "id": 1372, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1879, + "id": 1371, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": {} } }, - "id": 1882, + "id": 1374, "isConstant": false, "isLValue": false, "isPure": false, @@ -16791,7 +16791,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34461:14:1", + "src": "35447:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16802,7 +16802,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16810,18 +16810,18 @@ "typeString": "bytes32" } ], - "id": 1876, + "id": 1368, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "34439:9:1", + "referencedDeclaration": 1071, + "src": "35425:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1883, + "id": 1375, "isConstant": false, "isLValue": false, "isPure": false, @@ -16829,58 +16829,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34439:37:1", + "src": "35425:37:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1875, - "id": 1884, + "functionReturnParameters": 1367, + "id": 1376, "nodeType": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ] }, "documentation": { - "id": 1867, + "id": 1359, "nodeType": "StructuredDocumentation", - "src": "34264:70:1", + "src": "35246:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1886, + "id": 1378, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1872, + "id": 1364, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1869, + "id": 1361, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34357:19:1", + "scope": 1378, + "src": "35342:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1868, + "id": 1360, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34357:7:1", + "referencedDeclaration": 1318, + "src": "35342:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16888,12 +16888,12 @@ }, { "constant": false, - "id": 1871, + "id": 1363, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34378:13:1", + "scope": 1378, + "src": "35363:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16901,10 +16901,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1870, + "id": 1362, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34378:7:1", + "src": "35363:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16913,20 +16913,20 @@ "visibility": "internal" } ], - "src": "34356:36:1" + "src": "35341:36:0" }, "returnParameters": { - "id": 1875, + "id": 1367, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1874, + "id": 1366, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34416:4:1", + "scope": 1378, + "src": "35401:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16934,10 +16934,10 @@ "typeString": "bool" }, "typeName": { - "id": 1873, + "id": 1365, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34416:4:1", + "src": "35401:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16946,47 +16946,47 @@ "visibility": "internal" } ], - "src": "34415:6:1" + "src": "35400:6:0" }, - "scope": 1921, - "src": "34339:144:1", + "scope": 1413, + "src": "35324:146:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1899, + "id": 1391, "nodeType": "Block", - "src": "34633:43:1", + "src": "35625:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1895, + "id": 1387, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1889, - "src": "34658:3:1", + "referencedDeclaration": 1381, + "src": "35651:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1896, + "id": 1388, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34658:10:1", + "referencedDeclaration": 1317, + "src": "35651:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -16994,22 +16994,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1894, + "id": 1386, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "34650:7:1", + "referencedDeclaration": 1084, + "src": "35643:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1897, + "id": 1389, "isConstant": false, "isLValue": false, "isPure": false, @@ -17017,78 +17017,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34650:19:1", + "src": "35643:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1893, - "id": 1898, + "functionReturnParameters": 1385, + "id": 1390, "nodeType": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ] }, "documentation": { - "id": 1887, + "id": 1379, "nodeType": "StructuredDocumentation", - "src": "34489:70:1", + "src": "35478:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1900, + "id": 1392, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1890, + "id": 1382, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1889, + "id": 1381, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34580:19:1", + "scope": 1392, + "src": "35572:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1888, + "id": 1380, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34580:7:1", + "referencedDeclaration": 1318, + "src": "35572:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, "visibility": "internal" } ], - "src": "34579:21:1" + "src": "35571:21:0" }, "returnParameters": { - "id": 1893, + "id": 1385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1892, + "id": 1384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34624:7:1", + "scope": 1392, + "src": "35616:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17096,10 +17096,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1891, + "id": 1383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34624:7:1", + "src": "35616:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17108,19 +17108,19 @@ "visibility": "internal" } ], - "src": "34623:9:1" + "src": "35615:9:0" }, - "scope": 1921, - "src": "34564:112:1", + "scope": 1413, + "src": "35556:114:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1919, + "id": 1411, "nodeType": "Block", - "src": "35088:55:1", + "src": "36094:57:0", "statements": [ { "expression": { @@ -17129,38 +17129,38 @@ "arguments": [ { "expression": { - "id": 1913, + "id": 1405, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1903, - "src": "35117:3:1", + "referencedDeclaration": 1395, + "src": "36124:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1914, + "id": 1406, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "35117:10:1", + "referencedDeclaration": 1317, + "src": "36124:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1915, + "id": 1407, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1905, - "src": "35129:5:1", + "referencedDeclaration": 1397, + "src": "36136:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17170,7 +17170,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -17178,18 +17178,18 @@ "typeString": "uint256" } ], - "id": 1912, + "id": 1404, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "35113:3:1", + "referencedDeclaration": 1109, + "src": "36120:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1916, + "id": 1408, "isConstant": false, "isLValue": false, "isPure": false, @@ -17197,7 +17197,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35113:22:1", + "src": "36120:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -17212,26 +17212,26 @@ "typeString": "bytes32" } ], - "id": 1911, + "id": 1403, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1910, + "id": 1402, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": {} } }, - "id": 1917, + "id": 1409, "isConstant": false, "isLValue": false, "isPure": false, @@ -17239,58 +17239,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35105:31:1", + "src": "36112:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1909, - "id": 1918, + "functionReturnParameters": 1401, + "id": 1410, "nodeType": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ] }, "documentation": { - "id": 1901, + "id": 1393, "nodeType": "StructuredDocumentation", - "src": "34681:322:1", + "src": "35677:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1920, + "id": 1412, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1906, + "id": 1398, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1903, + "id": 1395, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35020:19:1", + "scope": 1412, + "src": "36026:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1902, + "id": 1394, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "35020:7:1", + "referencedDeclaration": 1318, + "src": "36026:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -17298,12 +17298,12 @@ }, { "constant": false, - "id": 1905, + "id": 1397, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35041:13:1", + "scope": 1412, + "src": "36047:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17311,10 +17311,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1904, + "id": 1396, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35041:7:1", + "src": "36047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17323,20 +17323,20 @@ "visibility": "internal" } ], - "src": "35019:36:1" + "src": "36025:36:0" }, "returnParameters": { - "id": 1909, + "id": 1401, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1908, + "id": 1400, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35079:7:1", + "scope": 1412, + "src": "36085:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17344,10 +17344,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1907, + "id": 1399, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35079:7:1", + "src": "36085:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17356,20 +17356,20 @@ "visibility": "internal" } ], - "src": "35078:9:1" + "src": "36084:9:0" }, - "scope": 1921, - "src": "35008:135:1", + "scope": 1413, + "src": "36014:137:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "26511:8634:1" + "scope": 2991, + "src": "27252:8902:0" }, { - "id": 1922, + "id": 1414, "literals": [ "solidity", ">=", @@ -17380,7 +17380,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "abstract": false, @@ -17388,31 +17388,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1923, + "id": 1415, "nodeType": "StructuredDocumentation", - "src": "35237:705:1", + "src": "36251:728:0", "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, "fullyImplemented": true, - "id": 2480, + "id": 1972, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableMap.MapEntry", - "id": 1928, + "id": 1420, "members": [ { "constant": false, - "id": 1925, + "id": 1417, "mutability": "mutable", "name": "_key", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36455:12:1", + "scope": 1420, + "src": "37504:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17420,10 +17420,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1924, + "id": 1416, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36455:7:1", + "src": "37504:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17433,12 +17433,12 @@ }, { "constant": false, - "id": 1927, + "id": 1419, "mutability": "mutable", "name": "_value", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36477:14:1", + "scope": 1420, + "src": "37527:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17446,10 +17446,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1926, + "id": 1418, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36477:7:1", + "src": "37527:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17460,45 +17460,45 @@ ], "name": "MapEntry", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36429:69:1", + "scope": 1972, + "src": "37477:72:0", "visibility": "public" }, { "canonicalName": "EnumerableMap.Map", - "id": 1936, + "id": 1428, "members": [ { "constant": false, - "id": 1931, + "id": 1423, "mutability": "mutable", "name": "_entries", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36567:19:1", + "scope": 1428, + "src": "37622:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" }, "typeName": { "baseType": { - "id": 1929, + "id": 1421, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "36567:8:1", + "referencedDeclaration": 1420, + "src": "37622:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, - "id": 1930, + "id": 1422, "nodeType": "ArrayTypeName", - "src": "36567:10:1", + "src": "37622:10:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" } }, @@ -17506,12 +17506,12 @@ }, { "constant": false, - "id": 1935, + "id": 1427, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36736:37:1", + "scope": 1428, + "src": "37795:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17519,28 +17519,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1934, + "id": 1426, "keyType": { - "id": 1932, + "id": 1424, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36745:7:1", + "src": "37804:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "36736:28:1", + "src": "37795:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1933, + "id": 1425, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "36756:7:1", + "src": "37815:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17552,29 +17552,29 @@ ], "name": "Map", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36504:276:1", + "scope": 1972, + "src": "37557:283:0", "visibility": "public" }, { "body": { - "id": 1997, + "id": 1489, "nodeType": "Block", - "src": "37089:596:1", + "src": "38158:610:0", "statements": [ { "assignments": [ - 1949 + 1441 ], "declarations": [ { "constant": false, - "id": 1949, + "id": 1441, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 1997, - "src": "37197:16:1", + "scope": 1489, + "src": "38268:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17582,10 +17582,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1948, + "id": 1440, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "37197:7:1", + "src": "38268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17594,43 +17594,43 @@ "visibility": "internal" } ], - "id": 1954, + "id": 1446, "initialValue": { "baseExpression": { "expression": { - "id": 1950, + "id": 1442, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37216:3:1", + "referencedDeclaration": 1431, + "src": "38287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1951, + "id": 1443, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37216:12:1", + "referencedDeclaration": 1427, + "src": "38287:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1953, + "id": 1445, "indexExpression": { - "id": 1952, + "id": 1444, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37229:3:1", + "referencedDeclaration": 1433, + "src": "38300:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17641,14 +17641,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37216:17:1", + "src": "38287:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "condition": { @@ -17656,18 +17656,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1957, + "id": 1449, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1955, + "id": 1447, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37248:8:1", + "referencedDeclaration": 1441, + "src": "38321:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17677,34 +17677,34 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 1956, + "id": 1448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37260:1:1", + "src": "38333:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "37248:13:1", + "src": "38321:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1995, + "id": 1487, "nodeType": "Block", - "src": "37587:92:1", + "src": "38666:95:0", "statements": [ { "expression": { - "id": 1991, + "id": 1483, "isConstant": false, "isLValue": false, "isPure": false, @@ -17713,49 +17713,49 @@ "expression": { "baseExpression": { "expression": { - "id": 1982, + "id": 1474, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37601:3:1", + "referencedDeclaration": 1431, + "src": "38681:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1987, + "id": 1479, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37601:12:1", + "referencedDeclaration": 1423, + "src": "38681:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1988, + "id": 1480, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1986, + "id": 1478, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1984, + "id": 1476, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37614:8:1", + "referencedDeclaration": 1441, + "src": "38694:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17765,21 +17765,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1985, + "id": 1477, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37625:1:1", + "src": "38705:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "37614:12:1", + "src": "38694:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17790,21 +17790,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37601:26:1", + "src": "38681:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 1989, + "id": 1481, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "37601:33:1", + "referencedDeclaration": 1419, + "src": "38681:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17813,58 +17813,58 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1990, + "id": 1482, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37637:5:1", + "referencedDeclaration": 1435, + "src": "38717:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "37601:41:1", + "src": "38681:41:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1992, + "id": 1484, "nodeType": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "expression": { "hexValue": "66616c7365", - "id": 1993, + "id": 1485, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37663:5:1", + "src": "38744:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1947, - "id": 1994, + "functionReturnParameters": 1439, + "id": 1486, "nodeType": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ] }, - "id": 1996, + "id": 1488, "nodeType": "IfStatement", - "src": "37244:435:1", + "src": "38317:444:0", "trueBody": { - "id": 1981, + "id": 1473, "nodeType": "Block", - "src": "37263:318:1", + "src": "38336:324:0", "statements": [ { "expression": { @@ -17872,24 +17872,24 @@ { "arguments": [ { - "id": 1964, + "id": 1456, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37349:3:1", + "referencedDeclaration": 1433, + "src": "38423:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, { - "id": 1965, + "id": 1457, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37362:5:1", + "referencedDeclaration": 1435, + "src": "38436:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17907,18 +17907,18 @@ "typeString": "bytes32" } ], - "id": 1963, + "id": 1455, "name": "MapEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1928, - "src": "37332:8:1", + "referencedDeclaration": 1420, + "src": "38406:8:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_MapEntry_$1928_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_MapEntry_$1420_storage_ptr_$", "typeString": "type(struct EnumerableMap.MapEntry storage pointer)" } }, - "id": 1966, + "id": 1458, "isConstant": false, "isLValue": false, "isPure": false, @@ -17929,10 +17929,10 @@ "_value" ], "nodeType": "FunctionCall", - "src": "37332:38:1", + "src": "38406:38:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } } @@ -17940,51 +17940,51 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], "expression": { "expression": { - "id": 1958, + "id": 1450, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37314:3:1", + "referencedDeclaration": 1431, + "src": "38388:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1961, + "id": 1453, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37314:12:1", + "referencedDeclaration": 1423, + "src": "38388:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1962, + "id": 1454, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "37314:17:1", + "src": "38388:17:0", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1928_storage_$returns$__$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1420_storage_$returns$__$", "typeString": "function (struct EnumerableMap.MapEntry storage ref)" } }, - "id": 1967, + "id": 1459, "isConstant": false, "isLValue": false, "isPure": false, @@ -17992,20 +17992,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "37314:57:1", + "src": "38388:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1968, + "id": 1460, "nodeType": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "expression": { - "id": 1977, + "id": 1469, "isConstant": false, "isLValue": false, "isPure": false, @@ -18013,39 +18013,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1969, + "id": 1461, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37506:3:1", + "referencedDeclaration": 1431, + "src": "38583:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1972, + "id": 1464, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37506:12:1", + "referencedDeclaration": 1427, + "src": "38583:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1973, + "id": 1465, "indexExpression": { - "id": 1971, + "id": 1463, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37519:3:1", + "referencedDeclaration": 1433, + "src": "38596:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18056,7 +18056,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "37506:17:1", + "src": "38583:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18067,75 +18067,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1974, + "id": 1466, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37526:3:1", + "referencedDeclaration": 1431, + "src": "38603:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1975, + "id": 1467, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37526:12:1", + "referencedDeclaration": 1423, + "src": "38603:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1976, + "id": 1468, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "37526:19:1", + "src": "38603:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "37506:39:1", + "src": "38583:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1978, + "id": 1470, "nodeType": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "expression": { "hexValue": "74727565", - "id": 1979, + "id": 1471, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37566:4:1", + "src": "38644:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1947, - "id": 1980, + "functionReturnParameters": 1439, + "id": 1472, "nodeType": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ] } @@ -18143,43 +18143,43 @@ ] }, "documentation": { - "id": 1937, + "id": 1429, "nodeType": "StructuredDocumentation", - "src": "36786:216:1", + "src": "37848:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1998, + "id": 1490, "implemented": true, "kind": "function", "modifiers": [], "name": "_set", "nodeType": "FunctionDefinition", "parameters": { - "id": 1944, + "id": 1436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1939, + "id": 1431, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37021:15:1", + "scope": 1490, + "src": "38090:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 1938, + "id": 1430, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37021:3:1", + "referencedDeclaration": 1428, + "src": "38090:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -18187,12 +18187,12 @@ }, { "constant": false, - "id": 1941, + "id": 1433, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37038:11:1", + "scope": 1490, + "src": "38107:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18200,10 +18200,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1940, + "id": 1432, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37038:7:1", + "src": "38107:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18213,12 +18213,12 @@ }, { "constant": false, - "id": 1943, + "id": 1435, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37051:13:1", + "scope": 1490, + "src": "38120:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18226,10 +18226,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1942, + "id": 1434, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37051:7:1", + "src": "38120:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18238,20 +18238,20 @@ "visibility": "internal" } ], - "src": "37020:45:1" + "src": "38089:45:0" }, "returnParameters": { - "id": 1947, + "id": 1439, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1946, + "id": 1438, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37083:4:1", + "scope": 1490, + "src": "38152:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18259,10 +18259,10 @@ "typeString": "bool" }, "typeName": { - "id": 1945, + "id": 1437, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37083:4:1", + "src": "38152:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -18271,33 +18271,33 @@ "visibility": "internal" } ], - "src": "37082:6:1" + "src": "38151:6:0" }, - "scope": 2480, - "src": "37007:678:1", + "scope": 1972, + "src": "38076:692:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2078, + "id": 1570, "nodeType": "Block", - "src": "37923:1447:1", + "src": "39013:1479:0", "statements": [ { "assignments": [ - 2009 + 1501 ], "declarations": [ { "constant": false, - "id": 2009, + "id": 1501, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2078, - "src": "38031:16:1", + "scope": 1570, + "src": "39123:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18305,10 +18305,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2008, + "id": 1500, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38031:7:1", + "src": "39123:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18317,43 +18317,43 @@ "visibility": "internal" } ], - "id": 2014, + "id": 1506, "initialValue": { "baseExpression": { "expression": { - "id": 2010, + "id": 1502, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38050:3:1", + "referencedDeclaration": 1493, + "src": "39142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2011, + "id": 1503, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "38050:12:1", + "referencedDeclaration": 1427, + "src": "39142:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2013, + "id": 1505, "indexExpression": { - "id": 2012, + "id": 1504, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "38063:3:1", + "referencedDeclaration": 1495, + "src": "39155:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18364,14 +18364,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38050:17:1", + "src": "39142:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "condition": { @@ -18379,18 +18379,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2017, + "id": 1509, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2015, + "id": 1507, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38082:8:1", + "referencedDeclaration": 1501, + "src": "39176:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18400,76 +18400,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2016, + "id": 1508, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38094:1:1", + "src": "39188:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "38082:13:1", + "src": "39176:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 2076, + "id": 1568, "nodeType": "Block", - "src": "39327:37:1", + "src": "40446:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 2074, + "id": 1566, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39348:5:1", + "src": "40468:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 2007, - "id": 2075, + "functionReturnParameters": 1499, + "id": 1567, "nodeType": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ] }, - "id": 2077, + "id": 1569, "nodeType": "IfStatement", - "src": "38078:1286:1", + "src": "39172:1313:0", "trueBody": { - "id": 2073, + "id": 1565, "nodeType": "Block", - "src": "38097:1224:1", + "src": "39191:1249:0", "statements": [ { "assignments": [ - 2019 + 1511 ], "declarations": [ { "constant": false, - "id": 2019, + "id": 1511, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38438:21:1", + "scope": 1565, + "src": "39537:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18477,10 +18477,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2018, + "id": 1510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38438:7:1", + "src": "39537:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18489,24 +18489,24 @@ "visibility": "internal" } ], - "id": 2023, + "id": 1515, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2022, + "id": 1514, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2020, + "id": 1512, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38462:8:1", + "referencedDeclaration": 1501, + "src": "39561:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18516,42 +18516,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2021, + "id": 1513, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38473:1:1", + "src": "39572:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38462:12:1", + "src": "39561:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "assignments": [ - 2025 + 1517 ], "declarations": [ { "constant": false, - "id": 2025, + "id": 1517, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38488:17:1", + "scope": 1565, + "src": "39588:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18559,10 +18559,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2024, + "id": 1516, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38488:7:1", + "src": "39588:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18571,13 +18571,13 @@ "visibility": "internal" } ], - "id": 2031, + "id": 1523, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2030, + "id": 1522, "isConstant": false, "isLValue": false, "isPure": false, @@ -18585,39 +18585,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2026, + "id": 1518, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38508:3:1", + "referencedDeclaration": 1493, + "src": "39608:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2027, + "id": 1519, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38508:12:1", + "referencedDeclaration": 1423, + "src": "39608:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2028, + "id": 1520, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "38508:19:1", + "src": "39608:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18627,99 +18627,99 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2029, + "id": 1521, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38530:1:1", + "src": "39630:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38508:23:1", + "src": "39608:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "assignments": [ - 2033 + 1525 ], "declarations": [ { "constant": false, - "id": 2033, + "id": 1525, "mutability": "mutable", "name": "lastEntry", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38771:26:1", + "scope": 1565, + "src": "39876:26:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2032, + "id": 1524, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "38771:8:1", + "referencedDeclaration": 1420, + "src": "39876:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2038, + "id": 1530, "initialValue": { "baseExpression": { "expression": { - "id": 2034, + "id": 1526, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38800:3:1", + "referencedDeclaration": 1493, + "src": "39905:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2035, + "id": 1527, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38800:12:1", + "referencedDeclaration": 1423, + "src": "39905:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2037, + "id": 1529, "indexExpression": { - "id": 2036, + "id": 1528, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "38813:9:1", + "referencedDeclaration": 1517, + "src": "39918:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18730,18 +18730,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38800:23:1", + "src": "39905:23:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "expression": { - "id": 2045, + "id": 1537, "isConstant": false, "isLValue": false, "isPure": false, @@ -18749,39 +18749,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2039, + "id": 1531, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38915:3:1", + "referencedDeclaration": 1493, + "src": "40023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2042, + "id": 1534, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38915:12:1", + "referencedDeclaration": 1423, + "src": "40023:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2043, + "id": 1535, "indexExpression": { - "id": 2041, + "id": 1533, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "38928:13:1", + "referencedDeclaration": 1511, + "src": "40036:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18792,39 +18792,39 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "38915:27:1", + "src": "40023:27:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2044, + "id": 1536, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "38945:9:1", + "referencedDeclaration": 1525, + "src": "40053:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "src": "38915:39:1", + "src": "40023:39:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2046, + "id": 1538, "nodeType": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "expression": { - "id": 2056, + "id": 1548, "isConstant": false, "isLValue": false, "isPure": false, @@ -18832,54 +18832,54 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2047, + "id": 1539, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39020:3:1", + "referencedDeclaration": 1493, + "src": "40130:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2051, + "id": 1543, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39020:12:1", + "referencedDeclaration": 1427, + "src": "40130:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2052, + "id": 1544, "indexExpression": { "expression": { - "id": 2049, + "id": 1541, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "39033:9:1", + "referencedDeclaration": 1525, + "src": "40143:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2050, + "id": 1542, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "39033:14:1", + "referencedDeclaration": 1417, + "src": "40143:14:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18890,7 +18890,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39020:28:1", + "src": "40130:28:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18903,18 +18903,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2055, + "id": 1547, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2053, + "id": 1545, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "39051:13:1", + "referencedDeclaration": 1511, + "src": "40161:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18924,35 +18924,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 2054, + "id": 1546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39067:1:1", + "src": "40177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "39051:17:1", + "src": "40161:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "39020:48:1", + "src": "40130:48:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2057, + "id": 1549, "nodeType": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "expression": { @@ -18961,45 +18961,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 2058, + "id": 1550, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39174:3:1", + "referencedDeclaration": 1493, + "src": "40287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2061, + "id": 1553, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39174:12:1", + "referencedDeclaration": 1423, + "src": "40287:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2062, + "id": 1554, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "39174:16:1", + "src": "40287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 2063, + "id": 1555, "isConstant": false, "isLValue": false, "isPure": false, @@ -19007,20 +19007,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "39174:18:1", + "src": "40287:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2064, + "id": 1556, "nodeType": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "expression": { - "id": 2069, + "id": 1561, "isConstant": false, "isLValue": false, "isPure": false, @@ -19028,43 +19028,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "39260:24:1", + "src": "40376:24:0", "subExpression": { "baseExpression": { "expression": { - "id": 2065, + "id": 1557, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39267:3:1", + "referencedDeclaration": 1493, + "src": "40383:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2066, + "id": 1558, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39267:12:1", + "referencedDeclaration": 1427, + "src": "40383:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2068, + "id": 1560, "indexExpression": { - "id": 2067, + "id": 1559, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "39280:3:1", + "referencedDeclaration": 1495, + "src": "40396:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19075,7 +19075,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39267:17:1", + "src": "40383:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19086,31 +19086,31 @@ "typeString": "tuple()" } }, - "id": 2070, + "id": 1562, "nodeType": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "expression": { "hexValue": "74727565", - "id": 2071, + "id": 1563, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39306:4:1", + "src": "40424:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 2007, - "id": 2072, + "functionReturnParameters": 1499, + "id": 1564, "nodeType": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ] } @@ -19118,43 +19118,43 @@ ] }, "documentation": { - "id": 1999, + "id": 1491, "nodeType": "StructuredDocumentation", - "src": "37691:157:1", + "src": "38776:161:0", "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2079, + "id": 1571, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2004, + "id": 1496, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2001, + "id": 1493, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37870:15:1", + "scope": 1571, + "src": "38960:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2000, + "id": 1492, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37870:3:1", + "referencedDeclaration": 1428, + "src": "38960:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19162,12 +19162,12 @@ }, { "constant": false, - "id": 2003, + "id": 1495, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37887:11:1", + "scope": 1571, + "src": "38977:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19175,10 +19175,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2002, + "id": 1494, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37887:7:1", + "src": "38977:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19187,20 +19187,20 @@ "visibility": "internal" } ], - "src": "37869:30:1" + "src": "38959:30:0" }, "returnParameters": { - "id": 2007, + "id": 1499, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2006, + "id": 1498, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37917:4:1", + "scope": 1571, + "src": "39007:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19208,10 +19208,10 @@ "typeString": "bool" }, "typeName": { - "id": 2005, + "id": 1497, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37917:4:1", + "src": "39007:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19220,19 +19220,19 @@ "visibility": "internal" } ], - "src": "37916:6:1" + "src": "39006:6:0" }, - "scope": 2480, - "src": "37853:1517:1", + "scope": 1972, + "src": "38943:1549:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2096, + "id": 1588, "nodeType": "Block", - "src": "39526:46:1", + "src": "40653:48:0", "statements": [ { "expression": { @@ -19240,7 +19240,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2094, + "id": 1586, "isConstant": false, "isLValue": false, "isPure": false, @@ -19248,39 +19248,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 2089, + "id": 1581, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2082, - "src": "39543:3:1", + "referencedDeclaration": 1574, + "src": "40671:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2090, + "id": 1582, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39543:12:1", + "referencedDeclaration": 1427, + "src": "40671:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2092, + "id": 1584, "indexExpression": { - "id": 2091, + "id": 1583, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2084, - "src": "39556:3:1", + "referencedDeclaration": 1576, + "src": "40684:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19291,7 +19291,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "39543:17:1", + "src": "40671:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19301,71 +19301,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2093, + "id": 1585, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39564:1:1", + "src": "40692:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "39543:22:1", + "src": "40671:22:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2088, - "id": 2095, + "functionReturnParameters": 1580, + "id": 1587, "nodeType": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ] }, "documentation": { - "id": 2080, + "id": 1572, "nodeType": "StructuredDocumentation", - "src": "39376:68:1", + "src": "40500:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2097, + "id": 1589, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2085, + "id": 1577, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2082, + "id": 1574, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39468:15:1", + "scope": 1589, + "src": "40595:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2081, + "id": 1573, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39468:3:1", + "referencedDeclaration": 1428, + "src": "40595:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19373,12 +19373,12 @@ }, { "constant": false, - "id": 2084, + "id": 1576, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39485:11:1", + "scope": 1589, + "src": "40612:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19386,10 +19386,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2083, + "id": 1575, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "39485:7:1", + "src": "40612:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19398,20 +19398,20 @@ "visibility": "internal" } ], - "src": "39467:30:1" + "src": "40594:30:0" }, "returnParameters": { - "id": 2088, + "id": 1580, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2087, + "id": 1579, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39520:4:1", + "scope": 1589, + "src": "40647:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19419,10 +19419,10 @@ "typeString": "bool" }, "typeName": { - "id": 2086, + "id": 1578, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "39520:4:1", + "src": "40647:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19431,127 +19431,127 @@ "visibility": "internal" } ], - "src": "39519:6:1" + "src": "40646:6:0" }, - "scope": 2480, - "src": "39449:123:1", + "scope": 1972, + "src": "40576:125:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2109, + "id": 1601, "nodeType": "Block", - "src": "39727:43:1", + "src": "40861:45:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 2105, + "id": 1597, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2100, - "src": "39744:3:1", + "referencedDeclaration": 1592, + "src": "40879:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2106, + "id": 1598, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39744:12:1", + "referencedDeclaration": 1423, + "src": "40879:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2107, + "id": 1599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "39744:19:1", + "src": "40879:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2104, - "id": 2108, + "functionReturnParameters": 1596, + "id": 1600, "nodeType": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ] }, "documentation": { - "id": 2098, + "id": 1590, "nodeType": "StructuredDocumentation", - "src": "39578:79:1", + "src": "40709:81:0", "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2110, + "id": 1602, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2101, + "id": 1593, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2100, + "id": 1592, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39679:15:1", + "scope": 1602, + "src": "40813:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2099, + "id": 1591, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39679:3:1", + "referencedDeclaration": 1428, + "src": "40813:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, "visibility": "internal" } ], - "src": "39678:17:1" + "src": "40812:17:0" }, "returnParameters": { - "id": 2104, + "id": 1596, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2103, + "id": 1595, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39718:7:1", + "scope": 1602, + "src": "40852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19559,10 +19559,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2102, + "id": 1594, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "39718:7:1", + "src": "40852:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19571,19 +19571,19 @@ "visibility": "internal" } ], - "src": "39717:9:1" + "src": "40851:9:0" }, - "scope": 2480, - "src": "39662:108:1", + "scope": 1972, + "src": "40796:110:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2144, + "id": 1636, "nodeType": "Block", - "src": "40198:189:1", + "src": "41346:194:0", "statements": [ { "expression": { @@ -19593,7 +19593,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2127, + "id": 1619, "isConstant": false, "isLValue": false, "isPure": false, @@ -19601,39 +19601,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2123, + "id": 1615, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40216:3:1", + "referencedDeclaration": 1605, + "src": "41365:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2124, + "id": 1616, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40216:12:1", + "referencedDeclaration": 1423, + "src": "41365:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2125, + "id": 1617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "40216:19:1", + "src": "41365:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19642,18 +19642,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 2126, + "id": 1618, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40238:5:1", + "referencedDeclaration": 1607, + "src": "41387:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "40216:27:1", + "src": "41365:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19661,14 +19661,14 @@ }, { "hexValue": "456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473", - "id": 2128, + "id": 1620, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "40245:36:1", + "src": "41394:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_86631030b9066a18616a068fc09fce83d18af4765cb1d2166fa475228f4db155", "typeString": "literal_string \"EnumerableMap: index out of bounds\"" @@ -19687,7 +19687,7 @@ "typeString": "literal_string \"EnumerableMap: index out of bounds\"" } ], - "id": 2122, + "id": 1614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -19695,13 +19695,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "40208:7:1", + "src": "41357:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2129, + "id": 1621, "isConstant": false, "isLValue": false, "isPure": false, @@ -19709,87 +19709,87 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "40208:74:1", + "src": "41357:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2130, + "id": 1622, "nodeType": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "assignments": [ - 2132 + 1624 ], "declarations": [ { "constant": false, - "id": 2132, + "id": 1624, "mutability": "mutable", "name": "entry", "nodeType": "VariableDeclaration", - "scope": 2144, - "src": "40293:22:1", + "scope": 1636, + "src": "41444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2131, + "id": 1623, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "40293:8:1", + "referencedDeclaration": 1420, + "src": "41444:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2137, + "id": 1629, "initialValue": { "baseExpression": { "expression": { - "id": 2133, + "id": 1625, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40318:3:1", + "referencedDeclaration": 1605, + "src": "41469:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2134, + "id": 1626, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40318:12:1", + "referencedDeclaration": 1423, + "src": "41469:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2136, + "id": 1628, "indexExpression": { - "id": 2135, + "id": 1627, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40331:5:1", + "referencedDeclaration": 1607, + "src": "41482:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19800,40 +19800,40 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40318:19:1", + "src": "41469:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "expression": { "components": [ { "expression": { - "id": 2138, + "id": 1630, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40355:5:1", + "referencedDeclaration": 1624, + "src": "41507:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2139, + "id": 1631, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "40355:10:1", + "referencedDeclaration": 1417, + "src": "41507:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19841,90 +19841,90 @@ }, { "expression": { - "id": 2140, + "id": 1632, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40367:5:1", + "referencedDeclaration": 1624, + "src": "41519:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2141, + "id": 1633, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40367:12:1", + "referencedDeclaration": 1419, + "src": "41519:12:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2142, + "id": 1634, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40354:26:1", + "src": "41506:26:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", "typeString": "tuple(bytes32,bytes32)" } }, - "functionReturnParameters": 2121, - "id": 2143, + "functionReturnParameters": 1613, + "id": 1635, "nodeType": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ] }, "documentation": { - "id": 2111, + "id": 1603, "nodeType": "StructuredDocumentation", - "src": "39775:333:1", + "src": "40913:342:0", "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2145, + "id": 1637, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2116, + "id": 1608, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2113, + "id": 1605, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40126:15:1", + "scope": 1637, + "src": "41274:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2112, + "id": 1604, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40126:3:1", + "referencedDeclaration": 1428, + "src": "41274:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19932,12 +19932,12 @@ }, { "constant": false, - "id": 2115, + "id": 1607, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40143:13:1", + "scope": 1637, + "src": "41291:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19945,10 +19945,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2114, + "id": 1606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40143:7:1", + "src": "41291:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19957,20 +19957,20 @@ "visibility": "internal" } ], - "src": "40125:32:1" + "src": "41273:32:0" }, "returnParameters": { - "id": 2121, + "id": 1613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2118, + "id": 1610, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40180:7:1", + "scope": 1637, + "src": "41328:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19978,10 +19978,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2117, + "id": 1609, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40180:7:1", + "src": "41328:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19991,12 +19991,12 @@ }, { "constant": false, - "id": 2120, + "id": 1612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40189:7:1", + "scope": 1637, + "src": "41337:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20004,10 +20004,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2119, + "id": 1611, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40189:7:1", + "src": "41337:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20016,33 +20016,33 @@ "visibility": "internal" } ], - "src": "40179:18:1" + "src": "41327:18:0" }, - "scope": 2480, - "src": "40113:274:1", + "scope": 1972, + "src": "41261:279:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2182, + "id": 1674, "nodeType": "Block", - "src": "40613:220:1", + "src": "41772:224:0", "statements": [ { "assignments": [ - 2158 + 1650 ], "declarations": [ { "constant": false, - "id": 2158, + "id": 1650, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2182, - "src": "40623:16:1", + "scope": 1674, + "src": "41783:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20050,10 +20050,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2157, + "id": 1649, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40623:7:1", + "src": "41783:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20062,43 +20062,43 @@ "visibility": "internal" } ], - "id": 2163, + "id": 1655, "initialValue": { "baseExpression": { "expression": { - "id": 2159, + "id": 1651, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40642:3:1", + "referencedDeclaration": 1640, + "src": "41802:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2160, + "id": 1652, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "40642:12:1", + "referencedDeclaration": 1427, + "src": "41802:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2162, + "id": 1654, "indexExpression": { - "id": 2161, + "id": 1653, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2150, - "src": "40655:3:1", + "referencedDeclaration": 1642, + "src": "41815:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20109,14 +20109,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40642:17:1", + "src": "41802:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "condition": { @@ -20124,18 +20124,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2166, + "id": 1658, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2164, + "id": 1656, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40673:8:1", + "referencedDeclaration": 1650, + "src": "41834:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20145,42 +20145,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2165, + "id": 1657, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40685:1:1", + "src": "41846:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "40673:13:1", + "src": "41834:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2171, + "id": 1663, "nodeType": "IfStatement", - "src": "40669:36:1", + "src": "41830:36:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 2167, + "id": 1659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40696:5:1", + "src": "41857:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20189,14 +20189,14 @@ }, { "hexValue": "30", - "id": 2168, + "id": 1660, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40703:1:1", + "src": "41864:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -20204,23 +20204,23 @@ "value": "0" } ], - "id": 2169, + "id": 1661, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40695:10:1", + "src": "41856:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 2156, - "id": 2170, + "functionReturnParameters": 1648, + "id": 1662, "nodeType": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } }, { @@ -20228,14 +20228,14 @@ "components": [ { "hexValue": "74727565", - "id": 2172, + "id": 1664, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40759:4:1", + "src": "41921:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20246,49 +20246,49 @@ "expression": { "baseExpression": { "expression": { - "id": 2173, + "id": 1665, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40765:3:1", + "referencedDeclaration": 1640, + "src": "41927:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2174, + "id": 1666, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40765:12:1", + "referencedDeclaration": 1423, + "src": "41927:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2178, + "id": 1670, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2177, + "id": 1669, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2175, + "id": 1667, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40778:8:1", + "referencedDeclaration": 1650, + "src": "41940:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20298,21 +20298,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2176, + "id": 1668, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40789:1:1", + "src": "41951:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "40778:12:1", + "src": "41940:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20323,85 +20323,85 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40765:26:1", + "src": "41927:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2179, + "id": 1671, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40765:33:1", + "referencedDeclaration": 1419, + "src": "41927:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2180, + "id": 1672, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40758:41:1", + "src": "41920:41:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", "typeString": "tuple(bool,bytes32)" } }, - "functionReturnParameters": 2156, - "id": 2181, + "functionReturnParameters": 1648, + "id": 1673, "nodeType": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ] }, "documentation": { - "id": 2146, + "id": 1638, "nodeType": "StructuredDocumentation", - "src": "40393:131:1", + "src": "41548:134:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2183, + "id": 1675, "implemented": true, "kind": "function", "modifiers": [], "name": "_tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2151, + "id": 1643, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2148, + "id": 1640, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40546:15:1", + "scope": 1675, + "src": "41705:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2147, + "id": 1639, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40546:3:1", + "referencedDeclaration": 1428, + "src": "41705:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20409,12 +20409,12 @@ }, { "constant": false, - "id": 2150, + "id": 1642, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40563:11:1", + "scope": 1675, + "src": "41722:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20422,10 +20422,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2149, + "id": 1641, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40563:7:1", + "src": "41722:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20434,20 +20434,20 @@ "visibility": "internal" } ], - "src": "40545:30:1" + "src": "41704:30:0" }, "returnParameters": { - "id": 2156, + "id": 1648, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2153, + "id": 1645, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40598:4:1", + "scope": 1675, + "src": "41757:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20455,10 +20455,10 @@ "typeString": "bool" }, "typeName": { - "id": 2152, + "id": 1644, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "40598:4:1", + "src": "41757:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20468,12 +20468,12 @@ }, { "constant": false, - "id": 2155, + "id": 1647, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40604:7:1", + "scope": 1675, + "src": "41763:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20481,10 +20481,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2154, + "id": 1646, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40604:7:1", + "src": "41763:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20493,33 +20493,33 @@ "visibility": "internal" } ], - "src": "40597:15:1" + "src": "41756:15:0" }, - "scope": 2480, - "src": "40529:304:1", + "scope": 1972, + "src": "41688:308:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2215, + "id": 1707, "nodeType": "Block", - "src": "41060:232:1", + "src": "42232:236:0", "statements": [ { "assignments": [ - 2194 + 1686 ], "declarations": [ { "constant": false, - "id": 2194, + "id": 1686, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2215, - "src": "41070:16:1", + "scope": 1707, + "src": "42243:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20527,10 +20527,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2193, + "id": 1685, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41070:7:1", + "src": "42243:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20539,43 +20539,43 @@ "visibility": "internal" } ], - "id": 2199, + "id": 1691, "initialValue": { "baseExpression": { "expression": { - "id": 2195, + "id": 1687, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41089:3:1", + "referencedDeclaration": 1678, + "src": "42262:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2196, + "id": 1688, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41089:12:1", + "referencedDeclaration": 1427, + "src": "42262:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2198, + "id": 1690, "indexExpression": { - "id": 2197, + "id": 1689, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2188, - "src": "41102:3:1", + "referencedDeclaration": 1680, + "src": "42275:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20586,14 +20586,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41089:17:1", + "src": "42262:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "expression": { @@ -20603,18 +20603,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2203, + "id": 1695, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2201, + "id": 1693, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41124:8:1", + "referencedDeclaration": 1686, + "src": "42298:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20624,21 +20624,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2202, + "id": 1694, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41136:1:1", + "src": "42310:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41124:13:1", + "src": "42298:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20646,14 +20646,14 @@ }, { "hexValue": "456e756d657261626c654d61703a206e6f6e6578697374656e74206b6579", - "id": 2204, + "id": 1696, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "41139:32:1", + "src": "42313:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_d3551e30d3095fd81287b88f7139bb09818e34280e85ee821994ebaebbed7072", "typeString": "literal_string \"EnumerableMap: nonexistent key\"" @@ -20672,7 +20672,7 @@ "typeString": "literal_string \"EnumerableMap: nonexistent key\"" } ], - "id": 2200, + "id": 1692, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -20680,13 +20680,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41116:7:1", + "src": "42290:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2205, + "id": 1697, "isConstant": false, "isLValue": false, "isPure": false, @@ -20694,65 +20694,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41116:56:1", + "src": "42290:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2206, + "id": 1698, "nodeType": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2207, + "id": 1699, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41225:3:1", + "referencedDeclaration": 1678, + "src": "42400:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2208, + "id": 1700, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41225:12:1", + "referencedDeclaration": 1423, + "src": "42400:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2212, + "id": 1704, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2211, + "id": 1703, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2209, + "id": 1701, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41238:8:1", + "referencedDeclaration": 1686, + "src": "42413:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20762,21 +20762,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2210, + "id": 1702, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41249:1:1", + "src": "42424:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41238:12:1", + "src": "42413:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20787,71 +20787,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41225:26:1", + "src": "42400:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2213, + "id": 1705, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41225:33:1", + "referencedDeclaration": 1419, + "src": "42400:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2192, - "id": 2214, + "functionReturnParameters": 1684, + "id": 1706, "nodeType": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ] }, "documentation": { - "id": 2184, + "id": 1676, "nodeType": "StructuredDocumentation", - "src": "40839:141:1", + "src": "42004:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2216, + "id": 1708, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2189, + "id": 1681, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2186, + "id": 1678, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "40999:15:1", + "scope": 1708, + "src": "42171:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2185, + "id": 1677, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40999:3:1", + "referencedDeclaration": 1428, + "src": "42171:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20859,12 +20859,12 @@ }, { "constant": false, - "id": 2188, + "id": 1680, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41016:11:1", + "scope": 1708, + "src": "42188:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20872,10 +20872,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2187, + "id": 1679, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41016:7:1", + "src": "42188:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20884,20 +20884,20 @@ "visibility": "internal" } ], - "src": "40998:30:1" + "src": "42170:30:0" }, "returnParameters": { - "id": 2192, + "id": 1684, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2191, + "id": 1683, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41051:7:1", + "scope": 1708, + "src": "42223:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20905,10 +20905,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2190, + "id": 1682, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41051:7:1", + "src": "42223:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20917,33 +20917,33 @@ "visibility": "internal" } ], - "src": "41050:9:1" + "src": "42222:9:0" }, - "scope": 2480, - "src": "40985:307:1", + "scope": 1972, + "src": "42157:311:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2250, + "id": 1742, "nodeType": "Block", - "src": "41677:212:1", + "src": "42861:216:0", "statements": [ { "assignments": [ - 2229 + 1721 ], "declarations": [ { "constant": false, - "id": 2229, + "id": 1721, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2250, - "src": "41687:16:1", + "scope": 1742, + "src": "42872:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20951,10 +20951,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2228, + "id": 1720, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41687:7:1", + "src": "42872:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20963,43 +20963,43 @@ "visibility": "internal" } ], - "id": 2234, + "id": 1726, "initialValue": { "baseExpression": { "expression": { - "id": 2230, + "id": 1722, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41706:3:1", + "referencedDeclaration": 1711, + "src": "42891:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2231, + "id": 1723, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41706:12:1", + "referencedDeclaration": 1427, + "src": "42891:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2233, + "id": 1725, "indexExpression": { - "id": 2232, + "id": 1724, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2221, - "src": "41719:3:1", + "referencedDeclaration": 1713, + "src": "42904:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21010,14 +21010,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41706:17:1", + "src": "42891:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "expression": { @@ -21027,18 +21027,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2238, + "id": 1730, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2236, + "id": 1728, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41741:8:1", + "referencedDeclaration": 1721, + "src": "42927:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21048,33 +21048,33 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2237, + "id": 1729, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41753:1:1", + "src": "42939:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41741:13:1", + "src": "42927:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 2239, + "id": 1731, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2223, - "src": "41756:12:1", + "referencedDeclaration": 1715, + "src": "42942:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -21092,7 +21092,7 @@ "typeString": "string memory" } ], - "id": 2235, + "id": 1727, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -21100,13 +21100,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41733:7:1", + "src": "42919:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2240, + "id": 1732, "isConstant": false, "isLValue": false, "isPure": false, @@ -21114,65 +21114,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41733:36:1", + "src": "42919:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2241, + "id": 1733, "nodeType": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2242, + "id": 1734, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41822:3:1", + "referencedDeclaration": 1711, + "src": "43009:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2243, + "id": 1735, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41822:12:1", + "referencedDeclaration": 1423, + "src": "43009:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2247, + "id": 1739, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2246, + "id": 1738, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2244, + "id": 1736, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41835:8:1", + "referencedDeclaration": 1721, + "src": "43022:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21182,21 +21182,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2245, + "id": 1737, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41846:1:1", + "src": "43033:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41835:12:1", + "src": "43022:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21207,71 +21207,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41822:26:1", + "src": "43009:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2248, + "id": 1740, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41822:33:1", + "referencedDeclaration": 1419, + "src": "43009:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2227, - "id": 2249, + "functionReturnParameters": 1719, + "id": 1741, "nodeType": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ] }, "documentation": { - "id": 2217, + "id": 1709, "nodeType": "StructuredDocumentation", - "src": "41298:271:1", + "src": "42476:276:0", "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2251, + "id": 1743, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2224, + "id": 1716, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2219, + "id": 1711, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41588:15:1", + "scope": 1743, + "src": "42772:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2218, + "id": 1710, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41588:3:1", + "referencedDeclaration": 1428, + "src": "42772:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21279,12 +21279,12 @@ }, { "constant": false, - "id": 2221, + "id": 1713, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41605:11:1", + "scope": 1743, + "src": "42789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21292,10 +21292,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2220, + "id": 1712, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41605:7:1", + "src": "42789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21305,12 +21305,12 @@ }, { "constant": false, - "id": 2223, + "id": 1715, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41618:26:1", + "scope": 1743, + "src": "42802:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -21318,10 +21318,10 @@ "typeString": "string" }, "typeName": { - "id": 2222, + "id": 1714, "name": "string", "nodeType": "ElementaryTypeName", - "src": "41618:6:1", + "src": "42802:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -21330,20 +21330,20 @@ "visibility": "internal" } ], - "src": "41587:58:1" + "src": "42771:58:0" }, "returnParameters": { - "id": 2227, + "id": 1719, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2226, + "id": 1718, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41668:7:1", + "scope": 1743, + "src": "42852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21351,10 +21351,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2225, + "id": 1717, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41668:7:1", + "src": "42852:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21363,40 +21363,40 @@ "visibility": "internal" } ], - "src": "41667:9:1" + "src": "42851:9:0" }, - "scope": 2480, - "src": "41574:315:1", + "scope": 1972, + "src": "42758:319:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableMap.UintToAddressMap", - "id": 2254, + "id": 1746, "members": [ { "constant": false, - "id": 2253, + "id": 1745, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 2254, - "src": "41954:10:1", + "scope": 1746, + "src": "43147:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2252, + "id": 1744, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41954:3:1", + "referencedDeclaration": 1428, + "src": "43147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21405,55 +21405,55 @@ ], "name": "UintToAddressMap", "nodeType": "StructDefinition", - "scope": 2480, - "src": "41920:51:1", + "scope": 1972, + "src": "43112:53:0", "visibility": "public" }, { "body": { - "id": 2285, + "id": 1777, "nodeType": "Block", - "src": "42293:88:1", + "src": "43496:90:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2267, + "id": 1759, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2257, - "src": "42315:3:1", + "referencedDeclaration": 1749, + "src": "43519:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2268, + "id": 1760, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42315:10:1", + "referencedDeclaration": 1745, + "src": "43519:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2271, + "id": 1763, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2259, - "src": "42335:3:1", + "referencedDeclaration": 1751, + "src": "43539:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21467,26 +21467,26 @@ "typeString": "uint256" } ], - "id": 2270, + "id": 1762, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2269, + "id": 1761, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": {} } }, - "id": 2272, + "id": 1764, "isConstant": false, "isLValue": false, "isPure": false, @@ -21494,7 +21494,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42327:12:1", + "src": "43531:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21508,12 +21508,12 @@ { "arguments": [ { - "id": 2279, + "id": 1771, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2261, - "src": "42365:5:1", + "referencedDeclaration": 1753, + "src": "43569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21527,26 +21527,26 @@ "typeString": "address" } ], - "id": 2278, + "id": 1770, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2277, + "id": 1769, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": {} } }, - "id": 2280, + "id": 1772, "isConstant": false, "isLValue": false, "isPure": false, @@ -21554,7 +21554,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42357:14:1", + "src": "43561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -21569,26 +21569,26 @@ "typeString": "uint160" } ], - "id": 2276, + "id": 1768, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2275, + "id": 1767, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": {} } }, - "id": 2281, + "id": 1773, "isConstant": false, "isLValue": false, "isPure": false, @@ -21596,7 +21596,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42349:23:1", + "src": "43553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -21611,26 +21611,26 @@ "typeString": "uint256" } ], - "id": 2274, + "id": 1766, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2273, + "id": 1765, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": {} } }, - "id": 2282, + "id": 1774, "isConstant": false, "isLValue": false, "isPure": false, @@ -21638,7 +21638,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42341:32:1", + "src": "43545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21649,7 +21649,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -21661,18 +21661,18 @@ "typeString": "bytes32" } ], - "id": 2266, + "id": 1758, "name": "_set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1998, - "src": "42310:4:1", + "referencedDeclaration": 1490, + "src": "43514:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)" } }, - "id": 2283, + "id": 1775, "isConstant": false, "isLValue": false, "isPure": false, @@ -21680,58 +21680,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42310:64:1", + "src": "43514:64:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2265, - "id": 2284, + "functionReturnParameters": 1757, + "id": 1776, "nodeType": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ] }, "documentation": { - "id": 2255, + "id": 1747, "nodeType": "StructuredDocumentation", - "src": "41977:216:1", + "src": "43173:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2286, + "id": 1778, "implemented": true, "kind": "function", "modifiers": [], "name": "set", "nodeType": "FunctionDefinition", "parameters": { - "id": 2262, + "id": 1754, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2257, + "id": 1749, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42211:28:1", + "scope": 1778, + "src": "43414:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2256, + "id": 1748, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42211:16:1", + "referencedDeclaration": 1746, + "src": "43414:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -21739,12 +21739,12 @@ }, { "constant": false, - "id": 2259, + "id": 1751, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42241:11:1", + "scope": 1778, + "src": "43444:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21752,10 +21752,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2258, + "id": 1750, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42241:7:1", + "src": "43444:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21765,12 +21765,12 @@ }, { "constant": false, - "id": 2261, + "id": 1753, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42254:13:1", + "scope": 1778, + "src": "43457:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21778,10 +21778,10 @@ "typeString": "address" }, "typeName": { - "id": 2260, + "id": 1752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "42254:7:1", + "src": "43457:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -21791,20 +21791,20 @@ "visibility": "internal" } ], - "src": "42210:58:1" + "src": "43413:58:0" }, "returnParameters": { - "id": 2265, + "id": 1757, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2264, + "id": 1756, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42287:4:1", + "scope": 1778, + "src": "43490:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21812,10 +21812,10 @@ "typeString": "bool" }, "typeName": { - "id": 2263, + "id": 1755, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42287:4:1", + "src": "43490:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -21824,59 +21824,59 @@ "visibility": "internal" } ], - "src": "42286:6:1" + "src": "43489:6:0" }, - "scope": 2480, - "src": "42198:183:1", + "scope": 1972, + "src": "43401:185:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2305, + "id": 1797, "nodeType": "Block", - "src": "42623:57:1", + "src": "43835:59:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2297, + "id": 1789, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2289, - "src": "42648:3:1", + "referencedDeclaration": 1781, + "src": "43861:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2298, + "id": 1790, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42648:10:1", + "referencedDeclaration": 1745, + "src": "43861:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2301, + "id": 1793, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2291, - "src": "42668:3:1", + "referencedDeclaration": 1783, + "src": "43881:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21890,26 +21890,26 @@ "typeString": "uint256" } ], - "id": 2300, + "id": 1792, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2299, + "id": 1791, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": {} } }, - "id": 2302, + "id": 1794, "isConstant": false, "isLValue": false, "isPure": false, @@ -21917,7 +21917,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42660:12:1", + "src": "43873:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21928,7 +21928,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -21936,18 +21936,18 @@ "typeString": "bytes32" } ], - "id": 2296, + "id": 1788, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2079, - "src": "42640:7:1", + "referencedDeclaration": 1571, + "src": "43853:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)" } }, - "id": 2303, + "id": 1795, "isConstant": false, "isLValue": false, "isPure": false, @@ -21955,58 +21955,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42640:33:1", + "src": "43853:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2295, - "id": 2304, + "functionReturnParameters": 1787, + "id": 1796, "nodeType": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ] }, "documentation": { - "id": 2287, + "id": 1779, "nodeType": "StructuredDocumentation", - "src": "42387:148:1", + "src": "43594:152:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2306, + "id": 1798, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2292, + "id": 1784, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2289, + "id": 1781, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42556:28:1", + "scope": 1798, + "src": "43768:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2288, + "id": 1780, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42556:16:1", + "referencedDeclaration": 1746, + "src": "43768:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22014,12 +22014,12 @@ }, { "constant": false, - "id": 2291, + "id": 1783, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42586:11:1", + "scope": 1798, + "src": "43798:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22027,10 +22027,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2290, + "id": 1782, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42586:7:1", + "src": "43798:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22039,20 +22039,20 @@ "visibility": "internal" } ], - "src": "42555:43:1" + "src": "43767:43:0" }, "returnParameters": { - "id": 2295, + "id": 1787, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2294, + "id": 1786, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42617:4:1", + "scope": 1798, + "src": "43829:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22060,10 +22060,10 @@ "typeString": "bool" }, "typeName": { - "id": 2293, + "id": 1785, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42617:4:1", + "src": "43829:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22072,59 +22072,59 @@ "visibility": "internal" } ], - "src": "42616:6:1" + "src": "43828:6:0" }, - "scope": 2480, - "src": "42540:140:1", + "scope": 1972, + "src": "43752:142:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2325, + "id": 1817, "nodeType": "Block", - "src": "42849:59:1", + "src": "44068:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2317, + "id": 1809, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2309, - "src": "42876:3:1", + "referencedDeclaration": 1801, + "src": "44096:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2318, + "id": 1810, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42876:10:1", + "referencedDeclaration": 1745, + "src": "44096:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2321, + "id": 1813, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2311, - "src": "42896:3:1", + "referencedDeclaration": 1803, + "src": "44116:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22138,26 +22138,26 @@ "typeString": "uint256" } ], - "id": 2320, + "id": 1812, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2319, + "id": 1811, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": {} } }, - "id": 2322, + "id": 1814, "isConstant": false, "isLValue": false, "isPure": false, @@ -22165,7 +22165,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42888:12:1", + "src": "44108:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -22176,7 +22176,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22184,18 +22184,18 @@ "typeString": "bytes32" } ], - "id": 2316, + "id": 1808, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2097, - "src": "42866:9:1", + "referencedDeclaration": 1589, + "src": "44086:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)" } }, - "id": 2323, + "id": 1815, "isConstant": false, "isLValue": false, "isPure": false, @@ -22203,58 +22203,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42866:35:1", + "src": "44086:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2315, - "id": 2324, + "functionReturnParameters": 1807, + "id": 1816, "nodeType": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ] }, "documentation": { - "id": 2307, + "id": 1799, "nodeType": "StructuredDocumentation", - "src": "42686:68:1", + "src": "43902:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2326, + "id": 1818, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2312, + "id": 1804, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2309, + "id": 1801, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42777:28:1", + "scope": 1818, + "src": "43996:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2308, + "id": 1800, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42777:16:1", + "referencedDeclaration": 1746, + "src": "43996:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22262,12 +22262,12 @@ }, { "constant": false, - "id": 2311, + "id": 1803, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42807:11:1", + "scope": 1818, + "src": "44026:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22275,10 +22275,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2310, + "id": 1802, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42807:7:1", + "src": "44026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22287,20 +22287,20 @@ "visibility": "internal" } ], - "src": "42776:43:1" + "src": "43995:43:0" }, "returnParameters": { - "id": 2315, + "id": 1807, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2314, + "id": 1806, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42843:4:1", + "scope": 1818, + "src": "44062:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22308,10 +22308,10 @@ "typeString": "bool" }, "typeName": { - "id": 2313, + "id": 1805, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42843:4:1", + "src": "44062:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22320,47 +22320,47 @@ "visibility": "internal" } ], - "src": "42842:6:1" + "src": "44061:6:0" }, - "scope": 2480, - "src": "42759:149:1", + "scope": 1972, + "src": "43978:151:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2339, + "id": 1831, "nodeType": "Block", - "src": "43069:43:1", + "src": "44295:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2335, + "id": 1827, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2329, - "src": "43094:3:1", + "referencedDeclaration": 1821, + "src": "44321:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2336, + "id": 1828, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43094:10:1", + "referencedDeclaration": 1745, + "src": "44321:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } } @@ -22368,22 +22368,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], - "id": 2334, + "id": 1826, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2110, - "src": "43086:7:1", + "referencedDeclaration": 1602, + "src": "44313:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)" } }, - "id": 2337, + "id": 1829, "isConstant": false, "isLValue": false, "isPure": false, @@ -22391,78 +22391,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43086:19:1", + "src": "44313:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2333, - "id": 2338, + "functionReturnParameters": 1825, + "id": 1830, "nodeType": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ] }, "documentation": { - "id": 2327, + "id": 1819, "nodeType": "StructuredDocumentation", - "src": "42914:72:1", + "src": "44137:74:0", "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2340, + "id": 1832, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2330, + "id": 1822, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2329, + "id": 1821, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43007:28:1", + "scope": 1832, + "src": "44233:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2328, + "id": 1820, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43007:16:1", + "referencedDeclaration": 1746, + "src": "44233:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, "visibility": "internal" } ], - "src": "43006:30:1" + "src": "44232:30:0" }, "returnParameters": { - "id": 2333, + "id": 1825, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2332, + "id": 1824, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43060:7:1", + "scope": 1832, + "src": "44286:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22470,10 +22470,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2331, + "id": 1823, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43060:7:1", + "src": "44286:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22482,34 +22482,34 @@ "visibility": "internal" } ], - "src": "43059:9:1" + "src": "44285:9:0" }, - "scope": 2480, - "src": "42991:121:1", + "scope": 1972, + "src": "44217:123:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2378, + "id": 1870, "nodeType": "Block", - "src": "43538:135:1", + "src": "44777:138:0", "statements": [ { "assignments": [ - 2353, - 2355 + 1845, + 1847 ], "declarations": [ { "constant": false, - "id": 2353, + "id": 1845, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43549:11:1", + "scope": 1870, + "src": "44789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22517,10 +22517,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2352, + "id": 1844, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43549:7:1", + "src": "44789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22530,12 +22530,12 @@ }, { "constant": false, - "id": 2355, + "id": 1847, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43562:13:1", + "scope": 1870, + "src": "44802:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22543,10 +22543,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2354, + "id": 1846, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43562:7:1", + "src": "44802:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22555,43 +22555,43 @@ "visibility": "internal" } ], - "id": 2361, + "id": 1853, "initialValue": { "arguments": [ { "expression": { - "id": 2357, + "id": 1849, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2343, - "src": "43583:3:1", + "referencedDeclaration": 1835, + "src": "44823:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2358, + "id": 1850, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43583:10:1", + "referencedDeclaration": 1745, + "src": "44823:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { - "id": 2359, + "id": 1851, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2345, - "src": "43595:5:1", + "referencedDeclaration": 1837, + "src": "44835:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22601,7 +22601,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22609,18 +22609,18 @@ "typeString": "uint256" } ], - "id": 2356, + "id": 1848, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2145, - "src": "43579:3:1", + "referencedDeclaration": 1637, + "src": "44819:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)" } }, - "id": 2360, + "id": 1852, "isConstant": false, "isLValue": false, "isPure": false, @@ -22628,7 +22628,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43579:22:1", + "src": "44819:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", @@ -22636,7 +22636,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "expression": { @@ -22644,12 +22644,12 @@ { "arguments": [ { - "id": 2364, + "id": 1856, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2353, - "src": "43627:3:1", + "referencedDeclaration": 1845, + "src": "44868:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22663,26 +22663,26 @@ "typeString": "bytes32" } ], - "id": 2363, + "id": 1855, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2362, + "id": 1854, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": {} } }, - "id": 2365, + "id": 1857, "isConstant": false, "isLValue": false, "isPure": false, @@ -22690,7 +22690,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43619:12:1", + "src": "44860:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -22704,12 +22704,12 @@ { "arguments": [ { - "id": 2372, + "id": 1864, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2355, - "src": "43657:5:1", + "referencedDeclaration": 1847, + "src": "44898:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22723,26 +22723,26 @@ "typeString": "bytes32" } ], - "id": 2371, + "id": 1863, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2370, + "id": 1862, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": {} } }, - "id": 2373, + "id": 1865, "isConstant": false, "isLValue": false, "isPure": false, @@ -22750,7 +22750,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43649:14:1", + "src": "44890:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -22765,26 +22765,26 @@ "typeString": "uint256" } ], - "id": 2369, + "id": 1861, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2368, + "id": 1860, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": {} } }, - "id": 2374, + "id": 1866, "isConstant": false, "isLValue": false, "isPure": false, @@ -22792,7 +22792,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43641:23:1", + "src": "44882:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -22807,26 +22807,26 @@ "typeString": "uint160" } ], - "id": 2367, + "id": 1859, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2366, + "id": 1858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": {} } }, - "id": 2375, + "id": 1867, "isConstant": false, "isLValue": false, "isPure": false, @@ -22834,7 +22834,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43633:32:1", + "src": "44874:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -22842,64 +22842,64 @@ } } ], - "id": 2376, + "id": 1868, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "43618:48:1", + "src": "44859:48:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_payable_$", "typeString": "tuple(uint256,address payable)" } }, - "functionReturnParameters": 2351, - "id": 2377, + "functionReturnParameters": 1843, + "id": 1869, "nodeType": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ] }, "documentation": { - "id": 2341, + "id": 1833, "nodeType": "StructuredDocumentation", - "src": "43117:318:1", + "src": "44347:326:0", "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2379, + "id": 1871, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2346, + "id": 1838, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2343, + "id": 1835, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43452:28:1", + "scope": 1871, + "src": "44691:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2342, + "id": 1834, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43452:16:1", + "referencedDeclaration": 1746, + "src": "44691:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22907,12 +22907,12 @@ }, { "constant": false, - "id": 2345, + "id": 1837, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43482:13:1", + "scope": 1871, + "src": "44721:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22920,10 +22920,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2344, + "id": 1836, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43482:7:1", + "src": "44721:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22932,20 +22932,20 @@ "visibility": "internal" } ], - "src": "43451:45:1" + "src": "44690:45:0" }, "returnParameters": { - "id": 2351, + "id": 1843, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2348, + "id": 1840, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43520:7:1", + "scope": 1871, + "src": "44759:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22953,10 +22953,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2347, + "id": 1839, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43520:7:1", + "src": "44759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22966,12 +22966,12 @@ }, { "constant": false, - "id": 2350, + "id": 1842, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43529:7:1", + "scope": 1871, + "src": "44768:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22979,10 +22979,10 @@ "typeString": "address" }, "typeName": { - "id": 2349, + "id": 1841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43529:7:1", + "src": "44768:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -22992,34 +22992,34 @@ "visibility": "internal" } ], - "src": "43519:18:1" + "src": "44758:18:0" }, - "scope": 2480, - "src": "43440:233:1", + "scope": 1972, + "src": "44679:236:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2417, + "id": 1909, "nodeType": "Block", - "src": "43950:142:1", + "src": "45200:145:0", "statements": [ { "assignments": [ - 2392, - 2394 + 1884, + 1886 ], "declarations": [ { "constant": false, - "id": 2392, + "id": 1884, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43961:12:1", + "scope": 1909, + "src": "45212:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23027,10 +23027,10 @@ "typeString": "bool" }, "typeName": { - "id": 2391, + "id": 1883, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43961:4:1", + "src": "45212:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23040,12 +23040,12 @@ }, { "constant": false, - "id": 2394, + "id": 1886, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43975:13:1", + "scope": 1909, + "src": "45226:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23053,10 +23053,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2393, + "id": 1885, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43975:7:1", + "src": "45226:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23065,45 +23065,45 @@ "visibility": "internal" } ], - "id": 2403, + "id": 1895, "initialValue": { "arguments": [ { "expression": { - "id": 2396, + "id": 1888, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2382, - "src": "44000:3:1", + "referencedDeclaration": 1874, + "src": "45251:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2397, + "id": 1889, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44000:10:1", + "referencedDeclaration": 1745, + "src": "45251:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2400, + "id": 1892, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2384, - "src": "44020:3:1", + "referencedDeclaration": 1876, + "src": "45271:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23117,26 +23117,26 @@ "typeString": "uint256" } ], - "id": 2399, + "id": 1891, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2398, + "id": 1890, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": {} } }, - "id": 2401, + "id": 1893, "isConstant": false, "isLValue": false, "isPure": false, @@ -23144,7 +23144,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44012:12:1", + "src": "45263:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23155,7 +23155,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23163,18 +23163,18 @@ "typeString": "bytes32" } ], - "id": 2395, + "id": 1887, "name": "_tryGet", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2183, - "src": "43992:7:1", + "referencedDeclaration": 1675, + "src": "45243:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)" } }, - "id": 2402, + "id": 1894, "isConstant": false, "isLValue": false, "isPure": false, @@ -23182,7 +23182,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43992:33:1", + "src": "45243:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", @@ -23190,18 +23190,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "expression": { "components": [ { - "id": 2404, + "id": 1896, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2392, - "src": "44043:7:1", + "referencedDeclaration": 1884, + "src": "45295:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23214,12 +23214,12 @@ { "arguments": [ { - "id": 2411, + "id": 1903, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2394, - "src": "44076:5:1", + "referencedDeclaration": 1886, + "src": "45328:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23233,26 +23233,26 @@ "typeString": "bytes32" } ], - "id": 2410, + "id": 1902, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2409, + "id": 1901, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": {} } }, - "id": 2412, + "id": 1904, "isConstant": false, "isLValue": false, "isPure": false, @@ -23260,7 +23260,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44068:14:1", + "src": "45320:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23275,26 +23275,26 @@ "typeString": "uint256" } ], - "id": 2408, + "id": 1900, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2407, + "id": 1899, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": {} } }, - "id": 2413, + "id": 1905, "isConstant": false, "isLValue": false, "isPure": false, @@ -23302,7 +23302,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44060:23:1", + "src": "45312:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23317,26 +23317,26 @@ "typeString": "uint160" } ], - "id": 2406, + "id": 1898, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2405, + "id": 1897, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": {} } }, - "id": 2414, + "id": 1906, "isConstant": false, "isLValue": false, "isPure": false, @@ -23344,7 +23344,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44052:32:1", + "src": "45304:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -23352,64 +23352,64 @@ } } ], - "id": 2415, + "id": 1907, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "44042:43:1", + "src": "45294:43:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_address_payable_$", "typeString": "tuple(bool,address payable)" } }, - "functionReturnParameters": 2390, - "id": 2416, + "functionReturnParameters": 1882, + "id": 1908, "nodeType": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ] }, "documentation": { - "id": 2380, + "id": 1872, "nodeType": "StructuredDocumentation", - "src": "43679:169:1", + "src": "44923:174:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2418, + "id": 1910, "implemented": true, "kind": "function", "modifiers": [], "name": "tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2385, + "id": 1877, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2382, + "id": 1874, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43869:28:1", + "scope": 1910, + "src": "45119:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2381, + "id": 1873, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43869:16:1", + "referencedDeclaration": 1746, + "src": "45119:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23417,12 +23417,12 @@ }, { "constant": false, - "id": 2384, + "id": 1876, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43899:11:1", + "scope": 1910, + "src": "45149:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23430,10 +23430,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2383, + "id": 1875, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43899:7:1", + "src": "45149:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23442,20 +23442,20 @@ "visibility": "internal" } ], - "src": "43868:43:1" + "src": "45118:43:0" }, "returnParameters": { - "id": 2390, + "id": 1882, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2387, + "id": 1879, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43935:4:1", + "scope": 1910, + "src": "45185:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23463,10 +23463,10 @@ "typeString": "bool" }, "typeName": { - "id": 2386, + "id": 1878, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43935:4:1", + "src": "45185:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23476,12 +23476,12 @@ }, { "constant": false, - "id": 2389, + "id": 1881, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43941:7:1", + "scope": 1910, + "src": "45191:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23489,10 +23489,10 @@ "typeString": "address" }, "typeName": { - "id": 2388, + "id": 1880, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43941:7:1", + "src": "45191:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23502,19 +23502,19 @@ "visibility": "internal" } ], - "src": "43934:15:1" + "src": "45184:15:0" }, - "scope": 2480, - "src": "43853:239:1", + "scope": 1972, + "src": "45103:242:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2446, + "id": 1938, "nodeType": "Block", - "src": "44332:81:1", + "src": "45594:83:0", "statements": [ { "expression": { @@ -23527,40 +23527,40 @@ "arguments": [ { "expression": { - "id": 2435, + "id": 1927, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2421, - "src": "44378:3:1", + "referencedDeclaration": 1913, + "src": "45641:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2436, + "id": 1928, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44378:10:1", + "referencedDeclaration": 1745, + "src": "45641:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2439, + "id": 1931, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2423, - "src": "44398:3:1", + "referencedDeclaration": 1915, + "src": "45661:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23574,26 +23574,26 @@ "typeString": "uint256" } ], - "id": 2438, + "id": 1930, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2437, + "id": 1929, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": {} } }, - "id": 2440, + "id": 1932, "isConstant": false, "isLValue": false, "isPure": false, @@ -23601,7 +23601,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44390:12:1", + "src": "45653:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23612,7 +23612,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23620,21 +23620,21 @@ "typeString": "bytes32" } ], - "id": 2434, + "id": 1926, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, - "src": "44373:4:1", + "referencedDeclaration": 1708, + "src": "45636:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)" } }, - "id": 2441, + "id": 1933, "isConstant": false, "isLValue": false, "isPure": false, @@ -23642,7 +23642,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44373:30:1", + "src": "45636:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23657,26 +23657,26 @@ "typeString": "bytes32" } ], - "id": 2433, + "id": 1925, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2432, + "id": 1924, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": {} } }, - "id": 2442, + "id": 1934, "isConstant": false, "isLValue": false, "isPure": false, @@ -23684,7 +23684,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44365:39:1", + "src": "45628:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23699,26 +23699,26 @@ "typeString": "uint256" } ], - "id": 2431, + "id": 1923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2430, + "id": 1922, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": {} } }, - "id": 2443, + "id": 1935, "isConstant": false, "isLValue": false, "isPure": false, @@ -23726,7 +23726,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44357:48:1", + "src": "45620:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23741,26 +23741,26 @@ "typeString": "uint160" } ], - "id": 2429, + "id": 1921, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2428, + "id": 1920, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": {} } }, - "id": 2444, + "id": 1936, "isConstant": false, "isLValue": false, "isPure": false, @@ -23768,58 +23768,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44349:57:1", + "src": "45612:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2427, - "id": 2445, + "functionReturnParameters": 1919, + "id": 1937, "nodeType": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ] }, "documentation": { - "id": 2419, + "id": 1911, "nodeType": "StructuredDocumentation", - "src": "44098:141:1", + "src": "45353:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2447, + "id": 1939, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2424, + "id": 1916, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2421, + "id": 1913, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44257:28:1", + "scope": 1939, + "src": "45519:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2420, + "id": 1912, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44257:16:1", + "referencedDeclaration": 1746, + "src": "45519:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23827,12 +23827,12 @@ }, { "constant": false, - "id": 2423, + "id": 1915, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44287:11:1", + "scope": 1939, + "src": "45549:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23840,10 +23840,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2422, + "id": 1914, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44287:7:1", + "src": "45549:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23852,20 +23852,20 @@ "visibility": "internal" } ], - "src": "44256:43:1" + "src": "45518:43:0" }, "returnParameters": { - "id": 2427, + "id": 1919, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2426, + "id": 1918, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44323:7:1", + "scope": 1939, + "src": "45585:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23873,10 +23873,10 @@ "typeString": "address" }, "typeName": { - "id": 2425, + "id": 1917, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44323:7:1", + "src": "45585:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23886,19 +23886,19 @@ "visibility": "internal" } ], - "src": "44322:9:1" + "src": "45584:9:0" }, - "scope": 2480, - "src": "44244:169:1", + "scope": 1972, + "src": "45506:171:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2478, + "id": 1970, "nodeType": "Block", - "src": "44809:95:1", + "src": "46081:97:0", "statements": [ { "expression": { @@ -23911,40 +23911,40 @@ "arguments": [ { "expression": { - "id": 2466, + "id": 1958, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2450, - "src": "44855:3:1", + "referencedDeclaration": 1942, + "src": "46128:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2467, + "id": 1959, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44855:10:1", + "referencedDeclaration": 1745, + "src": "46128:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2470, + "id": 1962, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2452, - "src": "44875:3:1", + "referencedDeclaration": 1944, + "src": "46148:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23958,26 +23958,26 @@ "typeString": "uint256" } ], - "id": 2469, + "id": 1961, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2468, + "id": 1960, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": {} } }, - "id": 2471, + "id": 1963, "isConstant": false, "isLValue": false, "isPure": false, @@ -23985,7 +23985,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44867:12:1", + "src": "46140:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23993,12 +23993,12 @@ } }, { - "id": 2472, + "id": 1964, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2454, - "src": "44881:12:1", + "referencedDeclaration": 1946, + "src": "46154:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -24008,7 +24008,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -24020,21 +24020,21 @@ "typeString": "string memory" } ], - "id": 2465, + "id": 1957, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, - "src": "44850:4:1", + "referencedDeclaration": 1743, + "src": "46123:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)" } }, - "id": 2473, + "id": 1965, "isConstant": false, "isLValue": false, "isPure": false, @@ -24042,7 +24042,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44850:44:1", + "src": "46123:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -24057,26 +24057,26 @@ "typeString": "bytes32" } ], - "id": 2464, + "id": 1956, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2463, + "id": 1955, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": {} } }, - "id": 2474, + "id": 1966, "isConstant": false, "isLValue": false, "isPure": false, @@ -24084,7 +24084,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44842:53:1", + "src": "46115:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -24099,26 +24099,26 @@ "typeString": "uint256" } ], - "id": 2462, + "id": 1954, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2461, + "id": 1953, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": {} } }, - "id": 2475, + "id": 1967, "isConstant": false, "isLValue": false, "isPure": false, @@ -24126,7 +24126,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44834:62:1", + "src": "46107:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -24141,26 +24141,26 @@ "typeString": "uint160" } ], - "id": 2460, + "id": 1952, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2459, + "id": 1951, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": {} } }, - "id": 2476, + "id": 1968, "isConstant": false, "isLValue": false, "isPure": false, @@ -24168,58 +24168,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44826:71:1", + "src": "46099:71:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2458, - "id": 2477, + "functionReturnParameters": 1950, + "id": 1969, "nodeType": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ] }, "documentation": { - "id": 2448, + "id": 1940, "nodeType": "StructuredDocumentation", - "src": "44419:269:1", + "src": "45685:274:0", "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2479, + "id": 1971, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2455, + "id": 1947, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2450, + "id": 1942, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44706:28:1", + "scope": 1971, + "src": "45978:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2449, + "id": 1941, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44706:16:1", + "referencedDeclaration": 1746, + "src": "45978:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -24227,12 +24227,12 @@ }, { "constant": false, - "id": 2452, + "id": 1944, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44736:11:1", + "scope": 1971, + "src": "46008:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24240,10 +24240,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2451, + "id": 1943, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44736:7:1", + "src": "46008:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24253,12 +24253,12 @@ }, { "constant": false, - "id": 2454, + "id": 1946, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44749:26:1", + "scope": 1971, + "src": "46021:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24266,10 +24266,10 @@ "typeString": "string" }, "typeName": { - "id": 2453, + "id": 1945, "name": "string", "nodeType": "ElementaryTypeName", - "src": "44749:6:1", + "src": "46021:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -24278,20 +24278,20 @@ "visibility": "internal" } ], - "src": "44705:71:1" + "src": "45977:71:0" }, "returnParameters": { - "id": 2458, + "id": 1950, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2457, + "id": 1949, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44800:7:1", + "scope": 1971, + "src": "46072:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24299,10 +24299,10 @@ "typeString": "address" }, "typeName": { - "id": 2456, + "id": 1948, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44800:7:1", + "src": "46072:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -24312,20 +24312,20 @@ "visibility": "internal" } ], - "src": "44799:9:1" + "src": "46071:9:0" }, - "scope": 2480, - "src": "44693:211:1", + "scope": 1972, + "src": "45965:213:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "35943:8963:1" + "scope": 2991, + "src": "36981:9200:0" }, { - "id": 2481, + "id": 1973, "literals": [ "solidity", ">=", @@ -24336,7 +24336,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "abstract": false, @@ -24344,24 +24344,24 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 2482, + "id": 1974, "nodeType": "StructuredDocumentation", - "src": "44992:34:1", + "src": "46272:36:0", "text": " @dev String operations." }, "fullyImplemented": true, - "id": 2566, + "id": 2058, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 2564, + "id": 2056, "nodeType": "Block", - "src": "45207:654:1", + "src": "46494:675:0", "statements": [ { "condition": { @@ -24369,18 +24369,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2492, + "id": 1984, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2490, + "id": 1982, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45409:5:1", + "referencedDeclaration": 1977, + "src": "46700:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24390,72 +24390,72 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2491, + "id": 1983, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45418:1:1", + "src": "46709:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45409:10:1", + "src": "46700:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2496, + "id": 1988, "nodeType": "IfStatement", - "src": "45405:51:1", + "src": "46696:53:0", "trueBody": { - "id": 2495, + "id": 1987, "nodeType": "Block", - "src": "45421:35:1", + "src": "46712:37:0", "statements": [ { "expression": { "hexValue": "30", - "id": 2493, + "id": 1985, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "45442:3:1", + "src": "46734:3:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", "typeString": "literal_string \"0\"" }, "value": "0" }, - "functionReturnParameters": 2489, - "id": 2494, + "functionReturnParameters": 1981, + "id": 1986, "nodeType": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ] } }, { "assignments": [ - 2498 + 1990 ], "declarations": [ { "constant": false, - "id": 2498, + "id": 1990, "mutability": "mutable", "name": "temp", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45465:12:1", + "scope": 2056, + "src": "46759:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24463,10 +24463,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2497, + "id": 1989, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45465:7:1", + "src": "46759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24475,35 +24475,35 @@ "visibility": "internal" } ], - "id": 2500, + "id": 1992, "initialValue": { - "id": 2499, + "id": 1991, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45480:5:1", + "referencedDeclaration": 1977, + "src": "46774:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "assignments": [ - 2502 + 1994 ], "declarations": [ { "constant": false, - "id": 2502, + "id": 1994, "mutability": "mutable", "name": "digits", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45495:14:1", + "scope": 2056, + "src": "46790:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24511,10 +24511,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2501, + "id": 1993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45495:7:1", + "src": "46790:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24523,19 +24523,19 @@ "visibility": "internal" } ], - "id": 2503, + "id": 1995, "nodeType": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "body": { - "id": 2514, + "id": 2006, "nodeType": "Block", - "src": "45537:57:1", + "src": "46833:60:0", "statements": [ { "expression": { - "id": 2508, + "id": 2000, "isConstant": false, "isLValue": false, "isPure": false, @@ -24543,14 +24543,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "45551:8:1", + "src": "46848:8:0", "subExpression": { - "id": 2507, + "id": 1999, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45551:6:1", + "referencedDeclaration": 1994, + "src": "46848:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24561,24 +24561,24 @@ "typeString": "uint256" } }, - "id": 2509, + "id": 2001, "nodeType": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "expression": { - "id": 2512, + "id": 2004, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2510, + "id": 2002, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45573:4:1", + "referencedDeclaration": 1990, + "src": "46871:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24588,29 +24588,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2511, + "id": 2003, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45581:2:1", + "src": "46879:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45573:10:1", + "src": "46871:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2513, + "id": 2005, "nodeType": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ] }, @@ -24619,18 +24619,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2506, + "id": 1998, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2504, + "id": 1996, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45526:4:1", + "referencedDeclaration": 1990, + "src": "46822:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24640,43 +24640,43 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2505, + "id": 1997, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45534:1:1", + "src": "46830:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45526:9:1", + "src": "46822:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2515, + "id": 2007, "nodeType": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "assignments": [ - 2517 + 2009 ], "declarations": [ { "constant": false, - "id": 2517, + "id": 2009, "mutability": "mutable", "name": "buffer", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45603:19:1", + "scope": 2056, + "src": "46903:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24684,10 +24684,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2516, + "id": 2008, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45603:5:1", + "src": "46903:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -24696,16 +24696,16 @@ "visibility": "internal" } ], - "id": 2522, + "id": 2014, "initialValue": { "arguments": [ { - "id": 2520, + "id": 2012, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45635:6:1", + "referencedDeclaration": 1994, + "src": "46935:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24719,29 +24719,29 @@ "typeString": "uint256" } ], - "id": 2519, + "id": 2011, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", - "src": "45625:9:1", + "src": "46925:9:0", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", "typeString": "function (uint256) pure returns (bytes memory)" }, "typeName": { - "id": 2518, + "id": 2010, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45629:5:1", + "src": "46929:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } } }, - "id": 2521, + "id": 2013, "isConstant": false, "isLValue": false, "isPure": false, @@ -24749,7 +24749,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45625:17:1", + "src": "46925:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -24757,21 +24757,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "assignments": [ - 2524 + 2016 ], "declarations": [ { "constant": false, - "id": 2524, + "id": 2016, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45652:13:1", + "scope": 2056, + "src": "46953:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24779,10 +24779,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2523, + "id": 2015, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45652:7:1", + "src": "46953:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24791,24 +24791,24 @@ "visibility": "internal" } ], - "id": 2528, + "id": 2020, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2527, + "id": 2019, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2525, + "id": 2017, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45668:6:1", + "referencedDeclaration": 1994, + "src": "46969:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24818,43 +24818,43 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2526, + "id": 2018, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45677:1:1", + "src": "46978:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "45668:10:1", + "src": "46969:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "expression": { - "id": 2531, + "id": 2023, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2529, + "id": 2021, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45688:4:1", + "referencedDeclaration": 1990, + "src": "46990:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24863,56 +24863,56 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2530, + "id": 2022, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45695:5:1", + "referencedDeclaration": 1977, + "src": "46997:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45688:12:1", + "src": "46990:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2532, + "id": 2024, "nodeType": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "body": { - "id": 2557, + "id": 2049, "nodeType": "Block", - "src": "45728:96:1", + "src": "47031:99:0", "statements": [ { "expression": { - "id": 2551, + "id": 2043, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2536, + "id": 2028, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45742:6:1", + "referencedDeclaration": 2009, + "src": "47046:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2539, + "id": 2031, "indexExpression": { - "id": 2538, + "id": 2030, "isConstant": false, "isLValue": false, "isPure": false, @@ -24920,14 +24920,14 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "45749:7:1", + "src": "47053:7:0", "subExpression": { - "id": 2537, + "id": 2029, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2524, - "src": "45749:5:1", + "referencedDeclaration": 2016, + "src": "47053:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24943,7 +24943,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "45742:15:1", + "src": "47046:15:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -24960,21 +24960,21 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2548, + "id": 2040, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "hexValue": "3438", - "id": 2544, + "id": 2036, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45773:2:1", + "src": "47077:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_48_by_1", "typeString": "int_const 48" @@ -24988,18 +24988,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2547, + "id": 2039, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2545, + "id": 2037, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45778:4:1", + "referencedDeclaration": 1990, + "src": "47082:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25009,27 +25009,27 @@ "operator": "%", "rightExpression": { "hexValue": "3130", - "id": 2546, + "id": 2038, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45785:2:1", + "src": "47089:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45778:9:1", + "src": "47082:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45773:14:1", + "src": "47077:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25043,26 +25043,26 @@ "typeString": "uint256" } ], - "id": 2543, + "id": 2035, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint8_$", "typeString": "type(uint8)" }, "typeName": { - "id": 2542, + "id": 2034, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": {} } }, - "id": 2549, + "id": 2041, "isConstant": false, "isLValue": false, "isPure": false, @@ -25070,7 +25070,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45767:21:1", + "src": "47071:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint8", @@ -25085,26 +25085,26 @@ "typeString": "uint8" } ], - "id": 2541, + "id": 2033, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": { - "id": 2540, + "id": 2032, "name": "bytes1", "nodeType": "ElementaryTypeName", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": {} } }, - "id": 2550, + "id": 2042, "isConstant": false, "isLValue": false, "isPure": false, @@ -25112,37 +25112,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45760:29:1", + "src": "47064:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "45742:47:1", + "src": "47046:47:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "id": 2552, + "id": 2044, "nodeType": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "expression": { - "id": 2555, + "id": 2047, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2553, + "id": 2045, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45803:4:1", + "referencedDeclaration": 1990, + "src": "47108:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25152,29 +25152,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2554, + "id": 2046, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45811:2:1", + "src": "47116:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45803:10:1", + "src": "47108:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2556, + "id": 2048, "nodeType": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ] }, @@ -25183,18 +25183,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2535, + "id": 2027, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2533, + "id": 2025, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45717:4:1", + "referencedDeclaration": 1990, + "src": "47020:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25204,40 +25204,40 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2534, + "id": 2026, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45725:1:1", + "src": "47028:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45717:9:1", + "src": "47020:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2558, + "id": 2050, "nodeType": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "expression": { "arguments": [ { - "id": 2561, + "id": 2053, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45847:6:1", + "referencedDeclaration": 2009, + "src": "47154:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -25251,26 +25251,26 @@ "typeString": "bytes memory" } ], - "id": 2560, + "id": 2052, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2559, + "id": 2051, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": {} } }, - "id": 2562, + "id": 2054, "isConstant": false, "isLValue": false, "isPure": false, @@ -25278,44 +25278,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45840:14:1", + "src": "47147:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2489, - "id": 2563, + "functionReturnParameters": 1981, + "id": 2055, "nodeType": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ] }, "documentation": { - "id": 2483, + "id": 1975, "nodeType": "StructuredDocumentation", - "src": "45049:82:1", + "src": "46333:84:0", "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2565, + "id": 2057, "implemented": true, "kind": "function", "modifiers": [], "name": "toString", "nodeType": "FunctionDefinition", "parameters": { - "id": 2486, + "id": 1978, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2485, + "id": 1977, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45154:13:1", + "scope": 2057, + "src": "46441:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25323,10 +25323,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2484, + "id": 1976, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45154:7:1", + "src": "46441:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25335,20 +25335,20 @@ "visibility": "internal" } ], - "src": "45153:15:1" + "src": "46440:15:0" }, "returnParameters": { - "id": 2489, + "id": 1981, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2488, + "id": 1980, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45192:13:1", + "scope": 2057, + "src": "46479:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -25356,10 +25356,10 @@ "typeString": "string" }, "typeName": { - "id": 2487, + "id": 1979, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45192:6:1", + "src": "46479:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25368,20 +25368,20 @@ "visibility": "internal" } ], - "src": "45191:15:1" + "src": "46478:15:0" }, - "scope": 2566, - "src": "45136:725:1", + "scope": 2058, + "src": "46423:746:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "45027:836:1" + "scope": 2991, + "src": "46310:862:0" }, { - "id": 2567, + "id": 2059, "literals": [ "solidity", ">=", @@ -25392,141 +25392,141 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 2569, + "id": 2061, "name": "Context", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 530, - "src": "46099:7:1", + "referencedDeclaration": 22, + "src": "47417:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 2570, + "id": 2062, "nodeType": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "baseName": { - "id": 2571, + "id": 2063, "name": "ERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 781, - "src": "46108:6:1", + "referencedDeclaration": 273, + "src": "47426:6:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC165_$781", + "typeIdentifier": "t_contract$_ERC165_$273", "typeString": "contract ERC165" } }, - "id": 2572, + "id": 2064, "nodeType": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "baseName": { - "id": 2573, + "id": 2065, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "46116:7:1", + "referencedDeclaration": 147, + "src": "47434:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 2574, + "id": 2066, "nodeType": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "baseName": { - "id": 2575, + "id": 2067, "name": "IERC721Metadata", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 680, - "src": "46125:15:1", + "referencedDeclaration": 172, + "src": "47443:15:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Metadata_$680", + "typeIdentifier": "t_contract$_IERC721Metadata_$172", "typeString": "contract IERC721Metadata" } }, - "id": 2576, + "id": 2068, "nodeType": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "baseName": { - "id": 2577, + "id": 2069, "name": "IERC721Enumerable", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 709, - "src": "46142:17:1", + "referencedDeclaration": 201, + "src": "47460:17:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Enumerable_$709", + "typeIdentifier": "t_contract$_IERC721Enumerable_$201", "typeString": "contract IERC721Enumerable" } }, - "id": 2578, + "id": 2070, "nodeType": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" } ], "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "documentation": { - "id": 2568, + "id": 2060, "nodeType": "StructuredDocumentation", - "src": "45955:124:1", + "src": "47269:127:0", "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": true, - "id": 3498, + "id": 2990, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", "nodeType": "ContractDefinition", "nodes": [ { - "id": 2581, + "id": 2073, "libraryName": { - "id": 2579, + "id": 2071, "name": "SafeMath", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1135, - "src": "46172:8:1", + "referencedDeclaration": 627, + "src": "47491:8:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$1135", + "typeIdentifier": "t_contract$_SafeMath_$627", "typeString": "library SafeMath" } }, "nodeType": "UsingForDirective", - "src": "46166:27:1", + "src": "47485:27:0", "typeName": { - "id": 2580, + "id": 2072, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46185:7:1", + "src": "47504:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25534,25 +25534,25 @@ } }, { - "id": 2584, + "id": 2076, "libraryName": { - "id": 2582, + "id": 2074, "name": "Address", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1430, - "src": "46204:7:1", + "referencedDeclaration": 922, + "src": "47524:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } }, "nodeType": "UsingForDirective", - "src": "46198:26:1", + "src": "47518:26:0", "typeName": { - "id": 2583, + "id": 2075, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46216:7:1", + "src": "47536:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25561,79 +25561,79 @@ } }, { - "id": 2587, + "id": 2079, "libraryName": { - "id": 2585, + "id": 2077, "name": "EnumerableSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1921, - "src": "46235:13:1", + "referencedDeclaration": 1413, + "src": "47556:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableSet_$1921", + "typeIdentifier": "t_contract$_EnumerableSet_$1413", "typeString": "library EnumerableSet" } }, "nodeType": "UsingForDirective", - "src": "46229:46:1", + "src": "47550:46:0", "typeName": { - "id": 2586, + "id": 2078, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46253:21:1", + "referencedDeclaration": 1318, + "src": "47574:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } }, { - "id": 2590, + "id": 2082, "libraryName": { - "id": 2588, + "id": 2080, "name": "EnumerableMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2480, - "src": "46286:13:1", + "referencedDeclaration": 1972, + "src": "47608:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableMap_$2480", + "typeIdentifier": "t_contract$_EnumerableMap_$1972", "typeString": "library EnumerableMap" } }, "nodeType": "UsingForDirective", - "src": "46280:55:1", + "src": "47602:55:0", "typeName": { - "id": 2589, + "id": 2081, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46304:30:1", + "referencedDeclaration": 1746, + "src": "47626:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } } }, { - "id": 2593, + "id": 2085, "libraryName": { - "id": 2591, + "id": 2083, "name": "Strings", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2566, - "src": "46346:7:1", + "referencedDeclaration": 2058, + "src": "47669:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Strings_$2566", + "typeIdentifier": "t_contract$_Strings_$2058", "typeString": "library Strings" } }, "nodeType": "UsingForDirective", - "src": "46340:26:1", + "src": "47663:26:0", "typeName": { - "id": 2592, + "id": 2084, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46358:7:1", + "src": "47681:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25642,12 +25642,12 @@ }, { "constant": true, - "id": 2596, + "id": 2088, "mutability": "constant", "name": "_ERC721_RECEIVED", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46544:53:1", + "scope": 2990, + "src": "47871:53:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25655,10 +25655,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2594, + "id": 2086, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "46544:6:1", + "src": "47871:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -25666,14 +25666,14 @@ }, "value": { "hexValue": "30783135306237613032", - "id": 2595, + "id": 2087, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "46587:10:1", + "src": "47914:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_353073666_by_1", "typeString": "int_const 353073666" @@ -25684,44 +25684,44 @@ }, { "constant": false, - "id": 2600, + "id": 2092, "mutability": "mutable", "name": "_holderTokens", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46681:64:1", + "scope": 2990, + "src": "48011:64:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "typeName": { - "id": 2599, + "id": 2091, "keyType": { - "id": 2597, + "id": 2089, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46690:7:1", + "src": "48020:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "46681:42:1", + "src": "48011:42:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "valueType": { - "id": 2598, + "id": 2090, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46701:21:1", + "referencedDeclaration": 1318, + "src": "48031:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } @@ -25730,26 +25730,26 @@ }, { "constant": false, - "id": 2602, + "id": 2094, "mutability": "mutable", "name": "_tokenOwners", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46809:51:1", + "scope": 2990, + "src": "48142:51:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2601, + "id": 2093, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46809:30:1", + "referencedDeclaration": 1746, + "src": "48142:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -25757,12 +25757,12 @@ }, { "constant": false, - "id": 2606, + "id": 2098, "mutability": "mutable", "name": "_tokenApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46916:52:1", + "scope": 2990, + "src": "48252:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25770,28 +25770,28 @@ "typeString": "mapping(uint256 => address)" }, "typeName": { - "id": 2605, + "id": 2097, "keyType": { - "id": 2603, + "id": 2095, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46925:7:1", + "src": "48261:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "46916:28:1", + "src": "48252:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" }, "valueType": { - "id": 2604, + "id": 2096, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46936:7:1", + "src": "48272:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25803,12 +25803,12 @@ }, { "constant": false, - "id": 2612, + "id": 2104, "mutability": "mutable", "name": "_operatorApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47023:73:1", + "scope": 2990, + "src": "48362:73:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25816,46 +25816,46 @@ "typeString": "mapping(address => mapping(address => bool))" }, "typeName": { - "id": 2611, + "id": 2103, "keyType": { - "id": 2607, + "id": 2099, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47032:7:1", + "src": "48371:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47023:46:1", + "src": "48362:46:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" }, "valueType": { - "id": 2610, + "id": 2102, "keyType": { - "id": 2608, + "id": 2100, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47052:7:1", + "src": "48391:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47043:25:1", + "src": "48382:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" }, "valueType": { - "id": 2609, + "id": 2101, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "47063:4:1", + "src": "48402:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -25867,12 +25867,12 @@ }, { "constant": false, - "id": 2614, + "id": 2106, "mutability": "mutable", "name": "_name", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47121:20:1", + "scope": 2990, + "src": "48463:20:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25880,10 +25880,10 @@ "typeString": "string" }, "typeName": { - "id": 2613, + "id": 2105, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47121:6:1", + "src": "48463:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25893,12 +25893,12 @@ }, { "constant": false, - "id": 2616, + "id": 2108, "mutability": "mutable", "name": "_symbol", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47168:22:1", + "scope": 2990, + "src": "48513:22:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25906,10 +25906,10 @@ "typeString": "string" }, "typeName": { - "id": 2615, + "id": 2107, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47168:6:1", + "src": "48513:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25919,12 +25919,12 @@ }, { "constant": false, - "id": 2620, + "id": 2112, "mutability": "mutable", "name": "_tokenURIs", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47236:46:1", + "scope": 2990, + "src": "48584:46:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25932,28 +25932,28 @@ "typeString": "mapping(uint256 => string)" }, "typeName": { - "id": 2619, + "id": 2111, "keyType": { - "id": 2617, + "id": 2109, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "47245:7:1", + "src": "48593:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "47236:27:1", + "src": "48584:27:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string)" }, "valueType": { - "id": 2618, + "id": 2110, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47256:6:1", + "src": "48604:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25964,12 +25964,12 @@ }, { "constant": false, - "id": 2622, + "id": 2114, "mutability": "mutable", "name": "_baseURI", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47305:23:1", + "scope": 2990, + "src": "48656:23:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25977,10 +25977,10 @@ "typeString": "string" }, "typeName": { - "id": 2621, + "id": 2113, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47305:6:1", + "src": "48656:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25990,12 +25990,12 @@ }, { "constant": true, - "id": 2625, + "id": 2117, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48204:57:1", + "scope": 2990, + "src": "49571:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26003,10 +26003,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2623, + "id": 2115, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48204:6:1", + "src": "49571:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26014,14 +26014,14 @@ }, "value": { "hexValue": "30783830616335386364", - "id": 2624, + "id": 2116, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48251:10:1", + "src": "49618:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2158778573_by_1", "typeString": "int_const 2158778573" @@ -26032,12 +26032,12 @@ }, { "constant": true, - "id": 2628, + "id": 2120, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48527:66:1", + "scope": 2990, + "src": "49903:66:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26045,10 +26045,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2626, + "id": 2118, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48527:6:1", + "src": "49903:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26056,14 +26056,14 @@ }, "value": { "hexValue": "30783562356531333966", - "id": 2627, + "id": 2119, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48583:10:1", + "src": "49959:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_1532892063_by_1", "typeString": "int_const 1532892063" @@ -26074,12 +26074,12 @@ }, { "constant": true, - "id": 2631, + "id": 2123, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48898:68:1", + "scope": 2990, + "src": "50283:68:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26087,10 +26087,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2629, + "id": 2121, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48898:6:1", + "src": "50283:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26098,14 +26098,14 @@ }, "value": { "hexValue": "30783738306539643633", - "id": 2630, + "id": 2122, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48956:10:1", + "src": "50341:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2014223715_by_1", "typeString": "int_const 2014223715" @@ -26116,24 +26116,24 @@ }, { "body": { - "id": 2659, + "id": 2151, "nodeType": "Block", - "src": "49143:305:1", + "src": "50533:313:0", "statements": [ { "expression": { - "id": 2641, + "id": 2133, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2639, + "id": 2131, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "49153:5:1", + "referencedDeclaration": 2106, + "src": "50544:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26142,41 +26142,41 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2640, + "id": 2132, "name": "name_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2634, - "src": "49161:5:1", + "referencedDeclaration": 2126, + "src": "50552:5:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49153:13:1", + "src": "50544:13:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2642, + "id": 2134, "nodeType": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "expression": { - "id": 2645, + "id": 2137, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2643, + "id": 2135, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "49176:7:1", + "referencedDeclaration": 2108, + "src": "50568:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26185,37 +26185,37 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2644, + "id": 2136, "name": "symbol_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2636, - "src": "49186:7:1", + "referencedDeclaration": 2128, + "src": "50578:7:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49176:17:1", + "src": "50568:17:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2646, + "id": 2138, "nodeType": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "expression": { "arguments": [ { - "id": 2648, + "id": 2140, "name": "_INTERFACE_ID_ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2625, - "src": "49300:20:1", + "referencedDeclaration": 2117, + "src": "50695:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26229,18 +26229,18 @@ "typeString": "bytes4" } ], - "id": 2647, + "id": 2139, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49281:18:1", + "referencedDeclaration": 272, + "src": "50676:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2649, + "id": 2141, "isConstant": false, "isLValue": false, "isPure": false, @@ -26248,27 +26248,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49281:40:1", + "src": "50676:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2650, + "id": 2142, "nodeType": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "expression": { "arguments": [ { - "id": 2652, + "id": 2144, "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2628, - "src": "49350:29:1", + "referencedDeclaration": 2120, + "src": "50746:29:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26282,18 +26282,18 @@ "typeString": "bytes4" } ], - "id": 2651, + "id": 2143, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49331:18:1", + "referencedDeclaration": 272, + "src": "50727:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2653, + "id": 2145, "isConstant": false, "isLValue": false, "isPure": false, @@ -26301,27 +26301,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49331:49:1", + "src": "50727:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2654, + "id": 2146, "nodeType": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "expression": { "arguments": [ { - "id": 2656, + "id": 2148, "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2631, - "src": "49409:31:1", + "referencedDeclaration": 2123, + "src": "50806:31:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26335,18 +26335,18 @@ "typeString": "bytes4" } ], - "id": 2655, + "id": 2147, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49390:18:1", + "referencedDeclaration": 272, + "src": "50787:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2657, + "id": 2149, "isConstant": false, "isLValue": false, "isPure": false, @@ -26354,43 +26354,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49390:51:1", + "src": "50787:51:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2658, + "id": 2150, "nodeType": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ] }, "documentation": { - "id": 2632, + "id": 2124, "nodeType": "StructuredDocumentation", - "src": "48973:108:1", + "src": "50360:110:0", "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2660, + "id": 2152, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 2637, + "id": 2129, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2634, + "id": 2126, "mutability": "mutable", "name": "name_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49099:19:1", + "scope": 2152, + "src": "50489:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26398,10 +26398,10 @@ "typeString": "string" }, "typeName": { - "id": 2633, + "id": 2125, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49099:6:1", + "src": "50489:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26411,12 +26411,12 @@ }, { "constant": false, - "id": 2636, + "id": 2128, "mutability": "mutable", "name": "symbol_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49120:21:1", + "scope": 2152, + "src": "50510:21:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26424,10 +26424,10 @@ "typeString": "string" }, "typeName": { - "id": 2635, + "id": 2127, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49120:6:1", + "src": "50510:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26436,28 +26436,28 @@ "visibility": "internal" } ], - "src": "49098:44:1" + "src": "50488:44:0" }, "returnParameters": { - "id": 2638, + "id": 2130, "nodeType": "ParameterList", "parameters": [], - "src": "49143:0:1" + "src": "50533:0:0" }, - "scope": 3498, - "src": "49086:362:1", + "scope": 2990, + "src": "50476:370:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { "baseFunctions": [ - 580 + 72 ], "body": { - "id": 2685, + "id": 2177, "nodeType": "Block", - "src": "49588:137:1", + "src": "50991:140:0", "statements": [ { "expression": { @@ -26467,18 +26467,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2675, + "id": 2167, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2670, + "id": 2162, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49606:5:1", + "referencedDeclaration": 2155, + "src": "51010:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26490,14 +26490,14 @@ "arguments": [ { "hexValue": "30", - "id": 2673, + "id": 2165, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "49623:1:1", + "src": "51027:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -26512,26 +26512,26 @@ "typeString": "int_const 0" } ], - "id": 2672, + "id": 2164, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2671, + "id": 2163, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": {} } }, - "id": 2674, + "id": 2166, "isConstant": false, "isLValue": false, "isPure": true, @@ -26539,14 +26539,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49615:10:1", + "src": "51019:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "49606:19:1", + "src": "51010:19:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -26554,14 +26554,14 @@ }, { "hexValue": "4552433732313a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373", - "id": 2676, + "id": 2168, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49627:44:1", + "src": "51031:44:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7395d4d3901c50cdfcab223d072f9aa36241df5d883e62cbf147ee1b05a9e6ba", "typeString": "literal_string \"ERC721: balance query for the zero address\"" @@ -26580,7 +26580,7 @@ "typeString": "literal_string \"ERC721: balance query for the zero address\"" } ], - "id": 2669, + "id": 2161, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -26588,13 +26588,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "49598:7:1", + "src": "51002:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2677, + "id": 2169, "isConstant": false, "isLValue": false, "isPure": false, @@ -26602,16 +26602,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49598:74:1", + "src": "51002:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2678, + "id": 2170, "nodeType": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "expression": { @@ -26620,25 +26620,25 @@ "argumentTypes": [], "expression": { "baseExpression": { - "id": 2679, + "id": 2171, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "49689:13:1", + "referencedDeclaration": 2092, + "src": "51094:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2681, + "id": 2173, "indexExpression": { - "id": 2680, + "id": 2172, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49703:5:1", + "referencedDeclaration": 2155, + "src": "51108:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26649,27 +26649,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "49689:20:1", + "src": "51094:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2682, + "id": 2174, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 1900, - "src": "49689:27:1", + "referencedDeclaration": 1392, + "src": "51094:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" } }, - "id": 2683, + "id": 2175, "isConstant": false, "isLValue": false, "isPure": false, @@ -26677,51 +26677,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49689:29:1", + "src": "51094:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2668, - "id": 2684, + "functionReturnParameters": 2160, + "id": 2176, "nodeType": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ] }, "documentation": { - "id": 2661, + "id": 2153, "nodeType": "StructuredDocumentation", - "src": "49454:48:1", + "src": "50854:50:0", "text": " @dev See {IERC721-balanceOf}." }, "functionSelector": "70a08231", - "id": 2686, + "id": 2178, "implemented": true, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2665, + "id": 2157, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49561:8:1" + "src": "50964:8:0" }, "parameters": { - "id": 2664, + "id": 2156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2663, + "id": 2155, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49526:13:1", + "scope": 2178, + "src": "50929:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26729,10 +26729,10 @@ "typeString": "address" }, "typeName": { - "id": 2662, + "id": 2154, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49526:7:1", + "src": "50929:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26742,20 +26742,20 @@ "visibility": "internal" } ], - "src": "49525:15:1" + "src": "50928:15:0" }, "returnParameters": { - "id": 2668, + "id": 2160, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2667, + "id": 2159, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49579:7:1", + "scope": 2178, + "src": "50982:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26763,10 +26763,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2666, + "id": 2158, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49579:7:1", + "src": "50982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26775,33 +26775,33 @@ "visibility": "internal" } ], - "src": "49578:9:1" + "src": "50981:9:0" }, - "scope": 3498, - "src": "49507:218:1", + "scope": 2990, + "src": "50910:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 588 + 80 ], "body": { - "id": 2701, + "id": 2193, "nodeType": "Block", - "src": "49863:94:1", + "src": "51274:96:0", "statements": [ { "expression": { "arguments": [ { - "id": 2697, + "id": 2189, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2689, - "src": "49897:7:1", + "referencedDeclaration": 2181, + "src": "51309:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26809,14 +26809,14 @@ }, { "hexValue": "4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2698, + "id": 2190, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49906:43:1", + "src": "51318:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7481f3df2a424c0755a1ad2356614e9a5a358d461ea2eae1f89cb21cbad00397", "typeString": "literal_string \"ERC721: owner query for nonexistent token\"" @@ -26836,32 +26836,32 @@ } ], "expression": { - "id": 2695, + "id": 2187, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "49880:12:1", + "referencedDeclaration": 2094, + "src": "51292:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2696, + "id": 2188, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "get", "nodeType": "MemberAccess", - "referencedDeclaration": 2479, - "src": "49880:16:1", + "referencedDeclaration": 1971, + "src": "51292:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" } }, - "id": 2699, + "id": 2191, "isConstant": false, "isLValue": false, "isPure": false, @@ -26869,51 +26869,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49880:70:1", + "src": "51292:70:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2694, - "id": 2700, + "functionReturnParameters": 2186, + "id": 2192, "nodeType": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ] }, "documentation": { - "id": 2687, + "id": 2179, "nodeType": "StructuredDocumentation", - "src": "49731:46:1", + "src": "51139:48:0", "text": " @dev See {IERC721-ownerOf}." }, "functionSelector": "6352211e", - "id": 2702, + "id": 2194, "implemented": true, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2691, + "id": 2183, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49836:8:1" + "src": "51247:8:0" }, "parameters": { - "id": 2690, + "id": 2182, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2689, + "id": 2181, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49799:15:1", + "scope": 2194, + "src": "51210:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26921,10 +26921,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2688, + "id": 2180, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49799:7:1", + "src": "51210:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26933,20 +26933,20 @@ "visibility": "internal" } ], - "src": "49798:17:1" + "src": "51209:17:0" }, "returnParameters": { - "id": 2694, + "id": 2186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2693, + "id": 2185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49854:7:1", + "scope": 2194, + "src": "51265:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26954,10 +26954,10 @@ "typeString": "address" }, "typeName": { - "id": 2692, + "id": 2184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49854:7:1", + "src": "51265:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26967,80 +26967,80 @@ "visibility": "internal" } ], - "src": "49853:9:1" + "src": "51264:9:0" }, - "scope": 3498, - "src": "49782:175:1", + "scope": 2990, + "src": "51193:177:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 665 + 157 ], "body": { - "id": 2711, + "id": 2203, "nodeType": "Block", - "src": "50088:29:1", + "src": "51506:31:0", "statements": [ { "expression": { - "id": 2709, + "id": 2201, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "50105:5:1", + "referencedDeclaration": 2106, + "src": "51524:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2708, - "id": 2710, + "functionReturnParameters": 2200, + "id": 2202, "nodeType": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ] }, "documentation": { - "id": 2703, + "id": 2195, "nodeType": "StructuredDocumentation", - "src": "49963:51:1", + "src": "51378:53:0", "text": " @dev See {IERC721Metadata-name}." }, "functionSelector": "06fdde03", - "id": 2712, + "id": 2204, "implemented": true, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "overrides": { - "id": 2705, + "id": 2197, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50055:8:1" + "src": "51473:8:0" }, "parameters": { - "id": 2704, + "id": 2196, "nodeType": "ParameterList", "parameters": [], - "src": "50032:2:1" + "src": "51450:2:0" }, "returnParameters": { - "id": 2708, + "id": 2200, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2707, + "id": 2199, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2712, - "src": "50073:13:1", + "scope": 2204, + "src": "51491:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27048,10 +27048,10 @@ "typeString": "string" }, "typeName": { - "id": 2706, + "id": 2198, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50073:6:1", + "src": "51491:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27060,80 +27060,80 @@ "visibility": "internal" } ], - "src": "50072:15:1" + "src": "51490:15:0" }, - "scope": 3498, - "src": "50019:98:1", + "scope": 2990, + "src": "51437:100:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 671 + 163 ], "body": { - "id": 2721, + "id": 2213, "nodeType": "Block", - "src": "50252:31:1", + "src": "51677:33:0", "statements": [ { "expression": { - "id": 2719, + "id": 2211, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "50269:7:1", + "referencedDeclaration": 2108, + "src": "51695:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2718, - "id": 2720, + "functionReturnParameters": 2210, + "id": 2212, "nodeType": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ] }, "documentation": { - "id": 2713, + "id": 2205, "nodeType": "StructuredDocumentation", - "src": "50123:53:1", + "src": "51545:55:0", "text": " @dev See {IERC721Metadata-symbol}." }, "functionSelector": "95d89b41", - "id": 2722, + "id": 2214, "implemented": true, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "overrides": { - "id": 2715, + "id": 2207, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50219:8:1" + "src": "51644:8:0" }, "parameters": { - "id": 2714, + "id": 2206, "nodeType": "ParameterList", "parameters": [], - "src": "50196:2:1" + "src": "51621:2:0" }, "returnParameters": { - "id": 2718, + "id": 2210, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2717, + "id": 2209, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2722, - "src": "50237:13:1", + "scope": 2214, + "src": "51662:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27141,10 +27141,10 @@ "typeString": "string" }, "typeName": { - "id": 2716, + "id": 2208, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50237:6:1", + "src": "51662:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27153,22 +27153,22 @@ "visibility": "internal" } ], - "src": "50236:15:1" + "src": "51661:15:0" }, - "scope": 3498, - "src": "50181:102:1", + "scope": 2990, + "src": "51606:104:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 679 + 171 ], "body": { - "id": 2789, + "id": 2281, "nodeType": "Block", - "src": "50437:688:1", + "src": "51869:704:0", "statements": [ { "expression": { @@ -27176,12 +27176,12 @@ { "arguments": [ { - "id": 2733, + "id": 2225, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50463:7:1", + "referencedDeclaration": 2217, + "src": "51896:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27195,18 +27195,18 @@ "typeString": "uint256" } ], - "id": 2732, + "id": 2224, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "50455:7:1", + "referencedDeclaration": 2577, + "src": "51888:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2734, + "id": 2226, "isConstant": false, "isLValue": false, "isPure": false, @@ -27214,7 +27214,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50455:16:1", + "src": "51888:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -27223,14 +27223,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2735, + "id": 2227, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "50473:49:1", + "src": "51906:49:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a2d45c0fba603d40d82d590051761ca952d1ab9d78cca6d0d464d7b6e961a9cb", "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" @@ -27249,7 +27249,7 @@ "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" } ], - "id": 2731, + "id": 2223, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -27257,13 +27257,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "50447:7:1", + "src": "51880:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2736, + "id": 2228, "isConstant": false, "isLValue": false, "isPure": false, @@ -27271,30 +27271,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50447:76:1", + "src": "51880:76:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2737, + "id": 2229, "nodeType": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "assignments": [ - 2739 + 2231 ], "declarations": [ { "constant": false, - "id": 2739, + "id": 2231, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50534:23:1", + "scope": 2281, + "src": "51969:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27302,10 +27302,10 @@ "typeString": "string" }, "typeName": { - "id": 2738, + "id": 2230, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50534:6:1", + "src": "51969:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27314,28 +27314,28 @@ "visibility": "internal" } ], - "id": 2743, + "id": 2235, "initialValue": { "baseExpression": { - "id": 2740, + "id": 2232, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "50560:10:1", + "referencedDeclaration": 2112, + "src": "51995:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 2742, + "id": 2234, "indexExpression": { - "id": 2741, + "id": 2233, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50571:7:1", + "referencedDeclaration": 2217, + "src": "52006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27346,28 +27346,28 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "50560:19:1", + "src": "51995:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "assignments": [ - 2745 + 2237 ], "declarations": [ { "constant": false, - "id": 2745, + "id": 2237, "mutability": "mutable", "name": "base", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50589:18:1", + "scope": 2281, + "src": "52025:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27375,10 +27375,10 @@ "typeString": "string" }, "typeName": { - "id": 2744, + "id": 2236, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50589:6:1", + "src": "52025:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27387,23 +27387,23 @@ "visibility": "internal" } ], - "id": 2748, + "id": 2240, "initialValue": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2746, + "id": 2238, "name": "baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2799, - "src": "50610:7:1", + "referencedDeclaration": 2291, + "src": "52046:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_string_memory_ptr_$", "typeString": "function () view returns (string memory)" } }, - "id": 2747, + "id": 2239, "isConstant": false, "isLValue": false, "isPure": false, @@ -27411,7 +27411,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50610:9:1", + "src": "52046:9:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27419,7 +27419,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "condition": { @@ -27427,7 +27427,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2755, + "id": 2247, "isConstant": false, "isLValue": false, "isPure": false, @@ -27436,12 +27436,12 @@ "expression": { "arguments": [ { - "id": 2751, + "id": 2243, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50698:4:1", + "referencedDeclaration": 2237, + "src": "52137:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27455,26 +27455,26 @@ "typeString": "string memory" } ], - "id": 2750, + "id": 2242, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2749, + "id": 2241, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": {} } }, - "id": 2752, + "id": 2244, "isConstant": false, "isLValue": false, "isPure": false, @@ -27482,21 +27482,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50692:11:1", + "src": "52131:11:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2753, + "id": 2245, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50692:18:1", + "src": "52131:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27506,51 +27506,51 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2754, + "id": 2246, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50714:1:1", + "src": "52153:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50692:23:1", + "src": "52131:23:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2759, + "id": 2251, "nodeType": "IfStatement", - "src": "50688:70:1", + "src": "52127:72:0", "trueBody": { - "id": 2758, + "id": 2250, "nodeType": "Block", - "src": "50717:41:1", + "src": "52156:43:0", "statements": [ { "expression": { - "id": 2756, + "id": 2248, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50738:9:1", + "referencedDeclaration": 2231, + "src": "52178:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2757, + "functionReturnParameters": 2222, + "id": 2249, "nodeType": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ] } @@ -27561,7 +27561,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2766, + "id": 2258, "isConstant": false, "isLValue": false, "isPure": false, @@ -27570,12 +27570,12 @@ "expression": { "arguments": [ { - "id": 2762, + "id": 2254, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50866:9:1", + "referencedDeclaration": 2231, + "src": "52309:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27589,26 +27589,26 @@ "typeString": "string memory" } ], - "id": 2761, + "id": 2253, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2760, + "id": 2252, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": {} } }, - "id": 2763, + "id": 2255, "isConstant": false, "isLValue": false, "isPure": false, @@ -27616,21 +27616,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50860:16:1", + "src": "52303:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2764, + "id": 2256, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50860:23:1", + "src": "52303:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27640,33 +27640,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 2765, + "id": 2257, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50886:1:1", + "src": "52329:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50860:27:1", + "src": "52303:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2777, + "id": 2269, "nodeType": "IfStatement", - "src": "50856:106:1", + "src": "52299:108:0", "trueBody": { - "id": 2776, + "id": 2268, "nodeType": "Block", - "src": "50889:73:1", + "src": "52332:75:0", "statements": [ { "expression": { @@ -27674,24 +27674,24 @@ { "arguments": [ { - "id": 2771, + "id": 2263, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50934:4:1", + "referencedDeclaration": 2237, + "src": "52378:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, { - "id": 2772, + "id": 2264, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50940:9:1", + "referencedDeclaration": 2231, + "src": "52384:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27710,31 +27710,31 @@ } ], "expression": { - "id": 2769, + "id": 2261, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "50917:3:1", + "src": "52361:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2770, + "id": 2262, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "50917:16:1", + "src": "52361:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2773, + "id": 2265, "isConstant": false, "isLValue": false, "isPure": false, @@ -27742,7 +27742,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50917:33:1", + "src": "52361:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -27757,26 +27757,26 @@ "typeString": "bytes memory" } ], - "id": 2768, + "id": 2260, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2767, + "id": 2259, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": {} } }, - "id": 2774, + "id": 2266, "isConstant": false, "isLValue": false, "isPure": false, @@ -27784,17 +27784,17 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50910:41:1", + "src": "52354:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2775, + "functionReturnParameters": 2222, + "id": 2267, "nodeType": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ] } @@ -27805,12 +27805,12 @@ { "arguments": [ { - "id": 2782, + "id": 2274, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "51092:4:1", + "referencedDeclaration": 2237, + "src": "52539:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27821,32 +27821,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2783, + "id": 2275, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "51098:7:1", + "referencedDeclaration": 2217, + "src": "52545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2784, + "id": 2276, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toString", "nodeType": "MemberAccess", - "referencedDeclaration": 2565, - "src": "51098:16:1", + "referencedDeclaration": 2057, + "src": "52545:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$bound_to$_t_uint256_$", "typeString": "function (uint256) pure returns (string memory)" } }, - "id": 2785, + "id": 2277, "isConstant": false, "isLValue": false, "isPure": false, @@ -27854,7 +27854,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51098:18:1", + "src": "52545:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27874,31 +27874,31 @@ } ], "expression": { - "id": 2780, + "id": 2272, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "51075:3:1", + "src": "52522:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2781, + "id": 2273, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "51075:16:1", + "src": "52522:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2786, + "id": 2278, "isConstant": false, "isLValue": false, "isPure": false, @@ -27906,7 +27906,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51075:42:1", + "src": "52522:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -27921,26 +27921,26 @@ "typeString": "bytes memory" } ], - "id": 2779, + "id": 2271, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2778, + "id": 2270, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": {} } }, - "id": 2787, + "id": 2279, "isConstant": false, "isLValue": false, "isPure": false, @@ -27948,51 +27948,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51068:50:1", + "src": "52515:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2788, + "functionReturnParameters": 2222, + "id": 2280, "nodeType": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ] }, "documentation": { - "id": 2723, + "id": 2215, "nodeType": "StructuredDocumentation", - "src": "50289:55:1", + "src": "51718:57:0", "text": " @dev See {IERC721Metadata-tokenURI}." }, "functionSelector": "c87b56dd", - "id": 2790, + "id": 2282, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "overrides": { - "id": 2727, + "id": 2219, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50404:8:1" + "src": "51836:8:0" }, "parameters": { - "id": 2726, + "id": 2218, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2725, + "id": 2217, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50367:15:1", + "scope": 2282, + "src": "51799:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28000,10 +28000,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2724, + "id": 2216, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "50367:7:1", + "src": "51799:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28012,20 +28012,20 @@ "visibility": "internal" } ], - "src": "50366:17:1" + "src": "51798:17:0" }, "returnParameters": { - "id": 2730, + "id": 2222, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2729, + "id": 2221, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50422:13:1", + "scope": 2282, + "src": "51854:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -28033,10 +28033,10 @@ "typeString": "string" }, "typeName": { - "id": 2728, + "id": 2220, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50422:6:1", + "src": "51854:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28045,71 +28045,71 @@ "visibility": "internal" } ], - "src": "50421:15:1" + "src": "51853:15:0" }, - "scope": 3498, - "src": "50349:776:1", + "scope": 2990, + "src": "51781:792:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 2798, + "id": 2290, "nodeType": "Block", - "src": "51420:32:1", + "src": "52875:34:0", "statements": [ { "expression": { - "id": 2796, + "id": 2288, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "51437:8:1", + "referencedDeclaration": 2114, + "src": "52893:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2795, - "id": 2797, + "functionReturnParameters": 2287, + "id": 2289, "nodeType": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ] }, "documentation": { - "id": 2791, + "id": 2283, "nodeType": "StructuredDocumentation", - "src": "51131:221:1", + "src": "52581:225:0", "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, "functionSelector": "6c0360eb", - "id": 2799, + "id": 2291, "implemented": true, "kind": "function", "modifiers": [], "name": "baseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 2792, + "id": 2284, "nodeType": "ParameterList", "parameters": [], - "src": "51373:2:1" + "src": "52828:2:0" }, "returnParameters": { - "id": 2795, + "id": 2287, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2794, + "id": 2286, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2799, - "src": "51405:13:1", + "scope": 2291, + "src": "52860:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -28117,10 +28117,10 @@ "typeString": "string" }, "typeName": { - "id": 2793, + "id": 2285, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51405:6:1", + "src": "52860:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28129,33 +28129,33 @@ "visibility": "internal" } ], - "src": "51404:15:1" + "src": "52859:15:0" }, - "scope": 3498, - "src": "51357:95:1", + "scope": 2990, + "src": "52812:97:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 700 + 192 ], "body": { - "id": 2817, + "id": 2309, "nodeType": "Block", - "src": "51637:54:1", + "src": "53099:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 2814, + "id": 2306, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2804, - "src": "51678:5:1", + "referencedDeclaration": 2296, + "src": "53141:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28171,25 +28171,25 @@ ], "expression": { "baseExpression": { - "id": 2810, + "id": 2302, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "51654:13:1", + "referencedDeclaration": 2092, + "src": "53117:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2812, + "id": 2304, "indexExpression": { - "id": 2811, + "id": 2303, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2802, - "src": "51668:5:1", + "referencedDeclaration": 2294, + "src": "53131:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28200,27 +28200,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "51654:20:1", + "src": "53117:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2813, + "id": 2305, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 1920, - "src": "51654:23:1", + "referencedDeclaration": 1412, + "src": "53117:23:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" } }, - "id": 2815, + "id": 2307, "isConstant": false, "isLValue": false, "isPure": false, @@ -28228,51 +28228,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51654:30:1", + "src": "53117:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2809, - "id": 2816, + "functionReturnParameters": 2301, + "id": 2308, "nodeType": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ] }, "documentation": { - "id": 2800, + "id": 2292, "nodeType": "StructuredDocumentation", - "src": "51458:68:1", + "src": "52917:70:0", "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, "functionSelector": "2f745c59", - "id": 2818, + "id": 2310, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2806, + "id": 2298, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51610:8:1" + "src": "53072:8:0" }, "parameters": { - "id": 2805, + "id": 2297, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2802, + "id": 2294, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51560:13:1", + "scope": 2310, + "src": "53022:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28280,10 +28280,10 @@ "typeString": "address" }, "typeName": { - "id": 2801, + "id": 2293, "name": "address", "nodeType": "ElementaryTypeName", - "src": "51560:7:1", + "src": "53022:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28294,12 +28294,12 @@ }, { "constant": false, - "id": 2804, + "id": 2296, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51575:13:1", + "scope": 2310, + "src": "53037:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28307,10 +28307,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2803, + "id": 2295, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51575:7:1", + "src": "53037:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28319,20 +28319,20 @@ "visibility": "internal" } ], - "src": "51559:30:1" + "src": "53021:30:0" }, "returnParameters": { - "id": 2809, + "id": 2301, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2808, + "id": 2300, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51628:7:1", + "scope": 2310, + "src": "53090:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28340,10 +28340,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2807, + "id": 2299, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51628:7:1", + "src": "53090:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28352,22 +28352,22 @@ "visibility": "internal" } ], - "src": "51627:9:1" + "src": "53089:9:0" }, - "scope": 3498, - "src": "51531:160:1", + "scope": 2990, + "src": "52993:162:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 690 + 182 ], "body": { - "id": 2829, + "id": 2321, "nodeType": "Block", - "src": "51832:138:1", + "src": "53301:141:0", "statements": [ { "expression": { @@ -28375,32 +28375,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2825, + "id": 2317, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "51942:12:1", + "referencedDeclaration": 2094, + "src": "53413:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2826, + "id": 2318, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 2340, - "src": "51942:19:1", + "referencedDeclaration": 1832, + "src": "53413:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" } }, - "id": 2827, + "id": 2319, "isConstant": false, "isLValue": false, "isPure": false, @@ -28408,57 +28408,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51942:21:1", + "src": "53413:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2824, - "id": 2828, + "functionReturnParameters": 2316, + "id": 2320, "nodeType": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ] }, "documentation": { - "id": 2819, + "id": 2311, "nodeType": "StructuredDocumentation", - "src": "51697:60:1", + "src": "53163:62:0", "text": " @dev See {IERC721Enumerable-totalSupply}." }, "functionSelector": "18160ddd", - "id": 2830, + "id": 2322, "implemented": true, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "overrides": { - "id": 2821, + "id": 2313, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51805:8:1" + "src": "53274:8:0" }, "parameters": { - "id": 2820, + "id": 2312, "nodeType": "ParameterList", "parameters": [], - "src": "51782:2:1" + "src": "53251:2:0" }, "returnParameters": { - "id": 2824, + "id": 2316, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2823, + "id": 2315, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2830, - "src": "51823:7:1", + "scope": 2322, + "src": "53292:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28466,10 +28466,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2822, + "id": 2314, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51823:7:1", + "src": "53292:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28478,37 +28478,37 @@ "visibility": "internal" } ], - "src": "51822:9:1" + "src": "53291:9:0" }, - "scope": 3498, - "src": "51762:208:1", + "scope": 2990, + "src": "53231:211:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 708 + 200 ], "body": { - "id": 2848, + "id": 2340, "nodeType": "Block", - "src": "52126:85:1", + "src": "53603:88:0", "statements": [ { "assignments": [ - 2840, + 2332, null ], "declarations": [ { "constant": false, - "id": 2840, + "id": 2332, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2848, - "src": "52137:15:1", + "scope": 2340, + "src": "53615:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28516,10 +28516,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2839, + "id": 2331, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52137:7:1", + "src": "53615:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28529,16 +28529,16 @@ }, null ], - "id": 2845, + "id": 2337, "initialValue": { "arguments": [ { - "id": 2843, + "id": 2335, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2833, - "src": "52174:5:1", + "referencedDeclaration": 2325, + "src": "53652:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28553,32 +28553,32 @@ } ], "expression": { - "id": 2841, + "id": 2333, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "52158:12:1", + "referencedDeclaration": 2094, + "src": "53636:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2842, + "id": 2334, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 2379, - "src": "52158:15:1", + "referencedDeclaration": 1871, + "src": "53636:15:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" } }, - "id": 2844, + "id": 2336, "isConstant": false, "isLValue": false, "isPure": false, @@ -28586,7 +28586,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52158:22:1", + "src": "53636:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_$", @@ -28594,59 +28594,59 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "expression": { - "id": 2846, + "id": 2338, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2840, - "src": "52197:7:1", + "referencedDeclaration": 2332, + "src": "53676:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2838, - "id": 2847, + "functionReturnParameters": 2330, + "id": 2339, "nodeType": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ] }, "documentation": { - "id": 2831, + "id": 2323, "nodeType": "StructuredDocumentation", - "src": "51976:61:1", + "src": "53450:63:0", "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, "functionSelector": "4f6ccce7", - "id": 2849, + "id": 2341, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2835, + "id": 2327, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52099:8:1" + "src": "53576:8:0" }, "parameters": { - "id": 2834, + "id": 2326, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2833, + "id": 2325, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52064:13:1", + "scope": 2341, + "src": "53541:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28654,10 +28654,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2832, + "id": 2324, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52064:7:1", + "src": "53541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28666,20 +28666,20 @@ "visibility": "internal" } ], - "src": "52063:15:1" + "src": "53540:15:0" }, "returnParameters": { - "id": 2838, + "id": 2330, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2837, + "id": 2329, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52117:7:1", + "scope": 2341, + "src": "53594:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28687,10 +28687,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2836, + "id": 2328, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52117:7:1", + "src": "53594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28699,36 +28699,36 @@ "visibility": "internal" } ], - "src": "52116:9:1" + "src": "53593:9:0" }, - "scope": 3498, - "src": "52042:169:1", + "scope": 2990, + "src": "53519:172:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 616 + 108 ], "body": { - "id": 2892, + "id": 2384, "nodeType": "Block", - "src": "52338:325:1", + "src": "53823:334:0", "statements": [ { "assignments": [ - 2859 + 2351 ], "declarations": [ { "constant": false, - "id": 2859, + "id": 2351, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2892, - "src": "52348:13:1", + "scope": 2384, + "src": "53834:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28736,10 +28736,10 @@ "typeString": "address" }, "typeName": { - "id": 2858, + "id": 2350, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52348:7:1", + "src": "53834:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28749,16 +28749,16 @@ "visibility": "internal" } ], - "id": 2864, + "id": 2356, "initialValue": { "arguments": [ { - "id": 2862, + "id": 2354, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52379:7:1", + "referencedDeclaration": 2346, + "src": "53865:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28773,32 +28773,32 @@ } ], "expression": { - "id": 2860, + "id": 2352, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52364:6:1", + "referencedDeclaration": 2990, + "src": "53850:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2861, + "id": 2353, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "52364:14:1", + "referencedDeclaration": 2194, + "src": "53850:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 2863, + "id": 2355, "isConstant": false, "isLValue": false, "isPure": false, @@ -28806,7 +28806,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52364:23:1", + "src": "53850:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -28814,7 +28814,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "expression": { @@ -28824,18 +28824,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2868, + "id": 2360, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2866, + "id": 2358, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52405:2:1", + "referencedDeclaration": 2344, + "src": "53892:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28844,18 +28844,18 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 2867, + "id": 2359, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52411:5:1", + "referencedDeclaration": 2351, + "src": "53898:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52405:11:1", + "src": "53892:11:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28863,14 +28863,14 @@ }, { "hexValue": "4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572", - "id": 2869, + "id": 2361, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52418:35:1", + "src": "53905:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942", "typeString": "literal_string \"ERC721: approval to current owner\"" @@ -28889,7 +28889,7 @@ "typeString": "literal_string \"ERC721: approval to current owner\"" } ], - "id": 2865, + "id": 2357, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -28897,13 +28897,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52397:7:1", + "src": "53884:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2870, + "id": 2362, "isConstant": false, "isLValue": false, "isPure": false, @@ -28911,16 +28911,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52397:57:1", + "src": "53884:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2871, + "id": 2363, "nodeType": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "expression": { @@ -28930,7 +28930,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 2883, + "id": 2375, "isConstant": false, "isLValue": false, "isPure": false, @@ -28940,7 +28940,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2876, + "id": 2368, "isConstant": false, "isLValue": false, "isPure": false, @@ -28949,18 +28949,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2873, + "id": 2365, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52473:10:1", + "referencedDeclaration": 10, + "src": "53962:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2874, + "id": 2366, "isConstant": false, "isLValue": false, "isPure": false, @@ -28968,7 +28968,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52473:12:1", + "src": "53962:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -28978,18 +28978,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 2875, + "id": 2367, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52489:5:1", + "referencedDeclaration": 2351, + "src": "53978:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52473:21:1", + "src": "53962:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29000,12 +29000,12 @@ "rightExpression": { "arguments": [ { - "id": 2879, + "id": 2371, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52522:5:1", + "referencedDeclaration": 2351, + "src": "54011:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29015,18 +29015,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2880, + "id": 2372, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52529:10:1", + "referencedDeclaration": 10, + "src": "54018:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2881, + "id": 2373, "isConstant": false, "isLValue": false, "isPure": false, @@ -29034,7 +29034,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52529:12:1", + "src": "54018:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29054,32 +29054,32 @@ } ], "expression": { - "id": 2877, + "id": 2369, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52498:6:1", + "referencedDeclaration": 2990, + "src": "53987:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2878, + "id": 2370, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "52498:23:1", + "referencedDeclaration": 2458, + "src": "53987:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 2882, + "id": 2374, "isConstant": false, "isLValue": false, "isPure": false, @@ -29087,14 +29087,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52498:44:1", + "src": "53987:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "52473:69:1", + "src": "53962:69:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29102,14 +29102,14 @@ }, { "hexValue": "4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c", - "id": 2884, + "id": 2376, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52556:58:1", + "src": "54046:58:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_6d83cef3e0cb19b8320a9c5feb26b56bbb08f152a8e61b12eca3302d8d68b23d", "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" @@ -29128,7 +29128,7 @@ "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" } ], - "id": 2872, + "id": 2364, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29136,13 +29136,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52465:7:1", + "src": "53954:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2885, + "id": 2377, "isConstant": false, "isLValue": false, "isPure": false, @@ -29150,39 +29150,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52465:159:1", + "src": "53954:161:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2886, + "id": 2378, "nodeType": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "expression": { "arguments": [ { - "id": 2888, + "id": 2380, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52644:2:1", + "referencedDeclaration": 2344, + "src": "54137:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2889, + "id": 2381, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52648:7:1", + "referencedDeclaration": 2346, + "src": "54141:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29200,18 +29200,18 @@ "typeString": "uint256" } ], - "id": 2887, + "id": 2379, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "52635:8:1", + "referencedDeclaration": 2978, + "src": "54128:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 2890, + "id": 2382, "isConstant": false, "isLValue": false, "isPure": false, @@ -29219,50 +29219,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52635:21:1", + "src": "54128:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2891, + "id": 2383, "nodeType": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ] }, "documentation": { - "id": 2850, + "id": 2342, "nodeType": "StructuredDocumentation", - "src": "52217:46:1", + "src": "53699:48:0", "text": " @dev See {IERC721-approve}." }, "functionSelector": "095ea7b3", - "id": 2893, + "id": 2385, "implemented": true, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "overrides": { - "id": 2856, + "id": 2348, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52329:8:1" + "src": "53814:8:0" }, "parameters": { - "id": 2855, + "id": 2347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2852, + "id": 2344, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52285:10:1", + "scope": 2385, + "src": "53770:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29270,10 +29270,10 @@ "typeString": "address" }, "typeName": { - "id": 2851, + "id": 2343, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52285:7:1", + "src": "53770:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29284,12 +29284,12 @@ }, { "constant": false, - "id": 2854, + "id": 2346, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52297:15:1", + "scope": 2385, + "src": "53782:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29297,10 +29297,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2853, + "id": 2345, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52297:7:1", + "src": "53782:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29309,28 +29309,28 @@ "visibility": "internal" } ], - "src": "52284:29:1" + "src": "53769:29:0" }, "returnParameters": { - "id": 2857, + "id": 2349, "nodeType": "ParameterList", "parameters": [], - "src": "52338:0:1" + "src": "53823:0:0" }, - "scope": 3498, - "src": "52268:395:1", + "scope": 2990, + "src": "53753:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 624 + 116 ], "body": { - "id": 2913, + "id": 2405, "nodeType": "Block", - "src": "52809:132:1", + "src": "54308:136:0", "statements": [ { "expression": { @@ -29338,12 +29338,12 @@ { "arguments": [ { - "id": 2904, + "id": 2396, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52835:7:1", + "referencedDeclaration": 2388, + "src": "54335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29357,18 +29357,18 @@ "typeString": "uint256" } ], - "id": 2903, + "id": 2395, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "52827:7:1", + "referencedDeclaration": 2577, + "src": "54327:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2905, + "id": 2397, "isConstant": false, "isLValue": false, "isPure": false, @@ -29376,7 +29376,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52827:16:1", + "src": "54327:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -29385,14 +29385,14 @@ }, { "hexValue": "4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2906, + "id": 2398, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52845:46:1", + "src": "54345:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9291e0f44949204f2e9b40e6be090924979d6047b2365868f4e9f027722eb89d", "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" @@ -29411,7 +29411,7 @@ "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" } ], - "id": 2902, + "id": 2394, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29419,13 +29419,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52819:7:1", + "src": "54319:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2907, + "id": 2399, "isConstant": false, "isLValue": false, "isPure": false, @@ -29433,39 +29433,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52819:73:1", + "src": "54319:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2908, + "id": 2400, "nodeType": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "expression": { "baseExpression": { - "id": 2909, + "id": 2401, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "52910:15:1", + "referencedDeclaration": 2098, + "src": "54412:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 2911, + "id": 2403, "indexExpression": { - "id": 2910, + "id": 2402, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52926:7:1", + "referencedDeclaration": 2388, + "src": "54428:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29476,50 +29476,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "52910:24:1", + "src": "54412:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2901, - "id": 2912, + "functionReturnParameters": 2393, + "id": 2404, "nodeType": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ] }, "documentation": { - "id": 2894, + "id": 2386, "nodeType": "StructuredDocumentation", - "src": "52669:50:1", + "src": "54165:52:0", "text": " @dev See {IERC721-getApproved}." }, "functionSelector": "081812fc", - "id": 2914, + "id": 2406, "implemented": true, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "overrides": { - "id": 2898, + "id": 2390, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52782:8:1" + "src": "54281:8:0" }, "parameters": { - "id": 2897, + "id": 2389, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2896, + "id": 2388, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52745:15:1", + "scope": 2406, + "src": "54244:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29527,10 +29527,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2895, + "id": 2387, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52745:7:1", + "src": "54244:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29539,20 +29539,20 @@ "visibility": "internal" } ], - "src": "52744:17:1" + "src": "54243:17:0" }, "returnParameters": { - "id": 2901, + "id": 2393, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2900, + "id": 2392, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52800:7:1", + "scope": 2406, + "src": "54299:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29560,10 +29560,10 @@ "typeString": "address" }, "typeName": { - "id": 2899, + "id": 2391, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52800:7:1", + "src": "54299:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29573,22 +29573,22 @@ "visibility": "internal" } ], - "src": "52799:9:1" + "src": "54298:9:0" }, - "scope": 3498, - "src": "52724:217:1", + "scope": 2990, + "src": "54223:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 632 + 124 ], "body": { - "id": 2947, + "id": 2439, "nodeType": "Block", - "src": "53092:206:1", + "src": "54600:211:0", "statements": [ { "expression": { @@ -29598,18 +29598,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2927, + "id": 2419, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2924, + "id": 2416, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53110:8:1", + "referencedDeclaration": 2409, + "src": "54619:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29621,18 +29621,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2925, + "id": 2417, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53122:10:1", + "referencedDeclaration": 10, + "src": "54631:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2926, + "id": 2418, "isConstant": false, "isLValue": false, "isPure": false, @@ -29640,14 +29640,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53122:12:1", + "src": "54631:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "53110:24:1", + "src": "54619:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29655,14 +29655,14 @@ }, { "hexValue": "4552433732313a20617070726f766520746f2063616c6c6572", - "id": 2928, + "id": 2420, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53136:27:1", + "src": "54645:27:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05", "typeString": "literal_string \"ERC721: approve to caller\"" @@ -29681,7 +29681,7 @@ "typeString": "literal_string \"ERC721: approve to caller\"" } ], - "id": 2923, + "id": 2415, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29689,13 +29689,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53102:7:1", + "src": "54611:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2929, + "id": 2421, "isConstant": false, "isLValue": false, "isPure": false, @@ -29703,20 +29703,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53102:62:1", + "src": "54611:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2930, + "id": 2422, "nodeType": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "expression": { - "id": 2938, + "id": 2430, "isConstant": false, "isLValue": false, "isPure": false, @@ -29724,34 +29724,34 @@ "leftHandSide": { "baseExpression": { "baseExpression": { - "id": 2931, + "id": 2423, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53175:18:1", + "referencedDeclaration": 2104, + "src": "54686:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2935, + "id": 2427, "indexExpression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2932, + "id": 2424, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53194:10:1", + "referencedDeclaration": 10, + "src": "54705:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2933, + "id": 2425, "isConstant": false, "isLValue": false, "isPure": false, @@ -29759,7 +29759,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53194:12:1", + "src": "54705:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29771,20 +29771,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53175:32:1", + "src": "54686:32:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2936, + "id": 2428, "indexExpression": { - "id": 2934, + "id": 2426, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53208:8:1", + "referencedDeclaration": 2409, + "src": "54719:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29795,7 +29795,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "53175:42:1", + "src": "54686:42:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29804,26 +29804,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2937, + "id": 2429, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53220:8:1", + "referencedDeclaration": 2411, + "src": "54731:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "53175:53:1", + "src": "54686:53:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2939, + "id": 2431, "nodeType": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "eventCall": { @@ -29832,18 +29832,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2941, + "id": 2433, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53258:10:1", + "referencedDeclaration": 10, + "src": "54770:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2942, + "id": 2434, "isConstant": false, "isLValue": false, "isPure": false, @@ -29851,7 +29851,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53258:12:1", + "src": "54770:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29859,24 +29859,24 @@ } }, { - "id": 2943, + "id": 2435, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53272:8:1", + "referencedDeclaration": 2409, + "src": "54784:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2944, + "id": 2436, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53282:8:1", + "referencedDeclaration": 2411, + "src": "54794:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29898,18 +29898,18 @@ "typeString": "bool" } ], - "id": 2940, + "id": 2432, "name": "ApprovalForAll", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 572, - "src": "53243:14:1", + "referencedDeclaration": 64, + "src": "54755:14:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", "typeString": "function (address,address,bool)" } }, - "id": 2945, + "id": 2437, "isConstant": false, "isLValue": false, "isPure": false, @@ -29917,50 +29917,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53243:48:1", + "src": "54755:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2946, + "id": 2438, "nodeType": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ] }, "documentation": { - "id": 2915, + "id": 2407, "nodeType": "StructuredDocumentation", - "src": "52947:56:1", + "src": "54452:58:0", "text": " @dev See {IERC721-setApprovalForAll}." }, "functionSelector": "a22cb465", - "id": 2948, + "id": 2440, "implemented": true, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2921, + "id": 2413, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53083:8:1" + "src": "54591:8:0" }, "parameters": { - "id": 2920, + "id": 2412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2917, + "id": 2409, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53035:16:1", + "scope": 2440, + "src": "54543:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29968,10 +29968,10 @@ "typeString": "address" }, "typeName": { - "id": 2916, + "id": 2408, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53035:7:1", + "src": "54543:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29982,12 +29982,12 @@ }, { "constant": false, - "id": 2919, + "id": 2411, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53053:13:1", + "scope": 2440, + "src": "54561:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29995,10 +29995,10 @@ "typeString": "bool" }, "typeName": { - "id": 2918, + "id": 2410, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53053:4:1", + "src": "54561:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30007,52 +30007,52 @@ "visibility": "internal" } ], - "src": "53034:33:1" + "src": "54542:33:0" }, "returnParameters": { - "id": 2922, + "id": 2414, "nodeType": "ParameterList", "parameters": [], - "src": "53092:0:1" + "src": "54600:0:0" }, - "scope": 3498, - "src": "53008:290:1", + "scope": 2990, + "src": "54516:295:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 642 + 134 ], "body": { - "id": 2965, + "id": 2457, "nodeType": "Block", - "src": "53467:59:1", + "src": "54985:61:0", "statements": [ { "expression": { "baseExpression": { "baseExpression": { - "id": 2959, + "id": 2451, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53484:18:1", + "referencedDeclaration": 2104, + "src": "55003:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2961, + "id": 2453, "indexExpression": { - "id": 2960, + "id": 2452, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2951, - "src": "53503:5:1", + "referencedDeclaration": 2443, + "src": "55022:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30063,20 +30063,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:25:1", + "src": "55003:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2963, + "id": 2455, "indexExpression": { - "id": 2962, + "id": 2454, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2953, - "src": "53510:8:1", + "referencedDeclaration": 2445, + "src": "55029:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30087,50 +30087,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:35:1", + "src": "55003:35:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2958, - "id": 2964, + "functionReturnParameters": 2450, + "id": 2456, "nodeType": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ] }, "documentation": { - "id": 2949, + "id": 2441, "nodeType": "StructuredDocumentation", - "src": "53304:55:1", + "src": "54819:57:0", "text": " @dev See {IERC721-isApprovedForAll}." }, "functionSelector": "e985e9c5", - "id": 2966, + "id": 2458, "implemented": true, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2955, + "id": 2447, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53443:8:1" + "src": "54961:8:0" }, "parameters": { - "id": 2954, + "id": 2446, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2951, + "id": 2443, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53390:13:1", + "scope": 2458, + "src": "54908:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30138,10 +30138,10 @@ "typeString": "address" }, "typeName": { - "id": 2950, + "id": 2442, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53390:7:1", + "src": "54908:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30152,12 +30152,12 @@ }, { "constant": false, - "id": 2953, + "id": 2445, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53405:16:1", + "scope": 2458, + "src": "54923:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30165,10 +30165,10 @@ "typeString": "address" }, "typeName": { - "id": 2952, + "id": 2444, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53405:7:1", + "src": "54923:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30178,20 +30178,20 @@ "visibility": "internal" } ], - "src": "53389:33:1" + "src": "54907:33:0" }, "returnParameters": { - "id": 2958, + "id": 2450, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2957, + "id": 2449, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53461:4:1", + "scope": 2458, + "src": "54979:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30199,10 +30199,10 @@ "typeString": "bool" }, "typeName": { - "id": 2956, + "id": 2448, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53461:4:1", + "src": "54979:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30211,22 +30211,22 @@ "visibility": "internal" } ], - "src": "53460:6:1" + "src": "54978:6:0" }, - "scope": 3498, - "src": "53364:162:1", + "scope": 2990, + "src": "54882:164:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 608 + 100 ], "body": { - "id": 2992, + "id": 2484, "nodeType": "Block", - "src": "53677:211:1", + "src": "55202:216:0", "statements": [ { "expression": { @@ -30237,18 +30237,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2979, + "id": 2471, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53766:10:1", + "referencedDeclaration": 10, + "src": "55293:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2980, + "id": 2472, "isConstant": false, "isLValue": false, "isPure": false, @@ -30256,7 +30256,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53766:12:1", + "src": "55293:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30264,12 +30264,12 @@ } }, { - "id": 2981, + "id": 2473, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53780:7:1", + "referencedDeclaration": 2465, + "src": "55307:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30287,18 +30287,18 @@ "typeString": "uint256" } ], - "id": 2978, + "id": 2470, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "53747:18:1", + "referencedDeclaration": 2619, + "src": "55274:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 2982, + "id": 2474, "isConstant": false, "isLValue": false, "isPure": false, @@ -30306,7 +30306,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53747:41:1", + "src": "55274:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30315,14 +30315,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 2983, + "id": 2475, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53790:51:1", + "src": "55317:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30341,7 +30341,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 2977, + "id": 2469, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30349,13 +30349,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53739:7:1", + "src": "55266:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2984, + "id": 2476, "isConstant": false, "isLValue": false, "isPure": false, @@ -30363,51 +30363,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53739:103:1", + "src": "55266:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2985, + "id": 2477, "nodeType": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "expression": { "arguments": [ { - "id": 2987, + "id": 2479, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2969, - "src": "53863:4:1", + "referencedDeclaration": 2461, + "src": "55392:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2988, + "id": 2480, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2971, - "src": "53869:2:1", + "referencedDeclaration": 2463, + "src": "55398:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2989, + "id": 2481, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53873:7:1", + "referencedDeclaration": 2465, + "src": "55402:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30429,18 +30429,18 @@ "typeString": "uint256" } ], - "id": 2986, + "id": 2478, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "53853:9:1", + "referencedDeclaration": 2863, + "src": "55382:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 2990, + "id": 2482, "isConstant": false, "isLValue": false, "isPure": false, @@ -30448,50 +30448,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53853:28:1", + "src": "55382:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2991, + "id": 2483, "nodeType": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ] }, "documentation": { - "id": 2967, + "id": 2459, "nodeType": "StructuredDocumentation", - "src": "53532:51:1", + "src": "55054:53:0", "text": " @dev See {IERC721-transferFrom}." }, "functionSelector": "23b872dd", - "id": 2993, + "id": 2485, "implemented": true, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 2975, + "id": 2467, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53668:8:1" + "src": "55193:8:0" }, "parameters": { - "id": 2974, + "id": 2466, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2969, + "id": 2461, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53610:12:1", + "scope": 2485, + "src": "55135:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30499,10 +30499,10 @@ "typeString": "address" }, "typeName": { - "id": 2968, + "id": 2460, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53610:7:1", + "src": "55135:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30513,12 +30513,12 @@ }, { "constant": false, - "id": 2971, + "id": 2463, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53624:10:1", + "scope": 2485, + "src": "55149:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30526,10 +30526,10 @@ "typeString": "address" }, "typeName": { - "id": 2970, + "id": 2462, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53624:7:1", + "src": "55149:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30540,12 +30540,12 @@ }, { "constant": false, - "id": 2973, + "id": 2465, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53636:15:1", + "scope": 2485, + "src": "55161:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30553,10 +30553,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2972, + "id": 2464, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "53636:7:1", + "src": "55161:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30565,63 +30565,63 @@ "visibility": "internal" } ], - "src": "53609:43:1" + "src": "55134:43:0" }, "returnParameters": { - "id": 2976, + "id": 2468, "nodeType": "ParameterList", "parameters": [], - "src": "53677:0:1" + "src": "55202:0:0" }, - "scope": 3498, - "src": "53588:300:1", + "scope": 2990, + "src": "55113:305:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 598 + 90 ], "body": { - "id": 3011, + "id": 2503, "nodeType": "Block", - "src": "54047:56:1", + "src": "55582:58:0", "statements": [ { "expression": { "arguments": [ { - "id": 3005, + "id": 2497, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2996, - "src": "54074:4:1", + "referencedDeclaration": 2488, + "src": "55610:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3006, + "id": 2498, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2998, - "src": "54080:2:1", + "referencedDeclaration": 2490, + "src": "55616:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3007, + "id": 2499, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3000, - "src": "54084:7:1", + "referencedDeclaration": 2492, + "src": "55620:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30629,14 +30629,14 @@ }, { "hexValue": "", - "id": 3008, + "id": 2500, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54093:2:1", + "src": "55629:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -30663,21 +30663,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3004, + "id": 2496, "name": "safeTransferFrom", "nodeType": "Identifier", "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, - "src": "54057:16:1", + "referencedDeclaration": 2534, + "src": "55593:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3009, + "id": 2501, "isConstant": false, "isLValue": false, "isPure": false, @@ -30685,50 +30685,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54057:39:1", + "src": "55593:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3010, + "id": 2502, "nodeType": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ] }, "documentation": { - "id": 2994, + "id": 2486, "nodeType": "StructuredDocumentation", - "src": "53894:55:1", + "src": "55426:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "42842e0e", - "id": 3012, + "id": 2504, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3002, + "id": 2494, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54038:8:1" + "src": "55573:8:0" }, "parameters": { - "id": 3001, + "id": 2493, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2996, + "id": 2488, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53980:12:1", + "scope": 2504, + "src": "55515:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30736,10 +30736,10 @@ "typeString": "address" }, "typeName": { - "id": 2995, + "id": 2487, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53980:7:1", + "src": "55515:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30750,12 +30750,12 @@ }, { "constant": false, - "id": 2998, + "id": 2490, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53994:10:1", + "scope": 2504, + "src": "55529:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30763,10 +30763,10 @@ "typeString": "address" }, "typeName": { - "id": 2997, + "id": 2489, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53994:7:1", + "src": "55529:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30777,12 +30777,12 @@ }, { "constant": false, - "id": 3000, + "id": 2492, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "54006:15:1", + "scope": 2504, + "src": "55541:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30790,10 +30790,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2999, + "id": 2491, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54006:7:1", + "src": "55541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30802,28 +30802,28 @@ "visibility": "internal" } ], - "src": "53979:43:1" + "src": "55514:43:0" }, "returnParameters": { - "id": 3003, + "id": 2495, "nodeType": "ParameterList", "parameters": [], - "src": "54047:0:1" + "src": "55582:0:0" }, - "scope": 3498, - "src": "53954:149:1", + "scope": 2990, + "src": "55489:151:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 654 + 146 ], "body": { - "id": 3041, + "id": 2533, "nodeType": "Block", - "src": "54282:169:1", + "src": "55824:172:0", "statements": [ { "expression": { @@ -30834,18 +30834,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3027, + "id": 2519, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "54319:10:1", + "referencedDeclaration": 10, + "src": "55862:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3028, + "id": 2520, "isConstant": false, "isLValue": false, "isPure": false, @@ -30853,7 +30853,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54319:12:1", + "src": "55862:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30861,12 +30861,12 @@ } }, { - "id": 3029, + "id": 2521, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54333:7:1", + "referencedDeclaration": 2511, + "src": "55876:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30884,18 +30884,18 @@ "typeString": "uint256" } ], - "id": 3026, + "id": 2518, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "54300:18:1", + "referencedDeclaration": 2619, + "src": "55843:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 3030, + "id": 2522, "isConstant": false, "isLValue": false, "isPure": false, @@ -30903,7 +30903,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54300:41:1", + "src": "55843:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30912,14 +30912,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 3031, + "id": 2523, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54343:51:1", + "src": "55886:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30938,7 +30938,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 3025, + "id": 2517, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30946,13 +30946,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "54292:7:1", + "src": "55835:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3032, + "id": 2524, "isConstant": false, "isLValue": false, "isPure": false, @@ -30960,63 +30960,63 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54292:103:1", + "src": "55835:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3033, + "id": 2525, "nodeType": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "expression": { "arguments": [ { - "id": 3035, + "id": 2527, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3015, - "src": "54419:4:1", + "referencedDeclaration": 2507, + "src": "55963:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3036, + "id": 2528, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3017, - "src": "54425:2:1", + "referencedDeclaration": 2509, + "src": "55969:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3037, + "id": 2529, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54429:7:1", + "referencedDeclaration": 2511, + "src": "55973:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3038, + "id": 2530, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3021, - "src": "54438:5:1", + "referencedDeclaration": 2513, + "src": "55982:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31042,18 +31042,18 @@ "typeString": "bytes memory" } ], - "id": 3034, + "id": 2526, "name": "_safeTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3071, - "src": "54405:13:1", + "referencedDeclaration": 2563, + "src": "55949:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3039, + "id": 2531, "isConstant": false, "isLValue": false, "isPure": false, @@ -31061,50 +31061,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54405:39:1", + "src": "55949:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3040, + "id": 2532, "nodeType": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ] }, "documentation": { - "id": 3013, + "id": 2505, "nodeType": "StructuredDocumentation", - "src": "54109:55:1", + "src": "55648:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "b88d4fde", - "id": 3042, + "id": 2534, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3023, + "id": 2515, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54273:8:1" + "src": "55815:8:0" }, "parameters": { - "id": 3022, + "id": 2514, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3015, + "id": 2507, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54195:12:1", + "scope": 2534, + "src": "55737:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31112,10 +31112,10 @@ "typeString": "address" }, "typeName": { - "id": 3014, + "id": 2506, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54195:7:1", + "src": "55737:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31126,12 +31126,12 @@ }, { "constant": false, - "id": 3017, + "id": 2509, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54209:10:1", + "scope": 2534, + "src": "55751:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31139,10 +31139,10 @@ "typeString": "address" }, "typeName": { - "id": 3016, + "id": 2508, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54209:7:1", + "src": "55751:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31153,12 +31153,12 @@ }, { "constant": false, - "id": 3019, + "id": 2511, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54221:15:1", + "scope": 2534, + "src": "55763:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31166,10 +31166,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3018, + "id": 2510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54221:7:1", + "src": "55763:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31179,12 +31179,12 @@ }, { "constant": false, - "id": 3021, + "id": 2513, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54238:18:1", + "scope": 2534, + "src": "55780:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31192,10 +31192,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3020, + "id": 2512, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "54238:5:1", + "src": "55780:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31204,60 +31204,60 @@ "visibility": "internal" } ], - "src": "54194:63:1" + "src": "55736:63:0" }, "returnParameters": { - "id": 3024, + "id": 2516, "nodeType": "ParameterList", "parameters": [], - "src": "54282:0:1" + "src": "55824:0:0" }, - "scope": 3498, - "src": "54169:282:1", + "scope": 2990, + "src": "55711:285:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "body": { - "id": 3070, + "id": 2562, "nodeType": "Block", - "src": "55416:166:1", + "src": "56981:169:0", "statements": [ { "expression": { "arguments": [ { - "id": 3055, + "id": 2547, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55436:4:1", + "referencedDeclaration": 2537, + "src": "57002:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3056, + "id": 2548, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55442:2:1", + "referencedDeclaration": 2539, + "src": "57008:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3057, + "id": 2549, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55446:7:1", + "referencedDeclaration": 2541, + "src": "57012:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31279,18 +31279,18 @@ "typeString": "uint256" } ], - "id": 3054, + "id": 2546, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "55426:9:1", + "referencedDeclaration": 2863, + "src": "56992:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3058, + "id": 2550, "isConstant": false, "isLValue": false, "isPure": false, @@ -31298,16 +31298,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55426:28:1", + "src": "56992:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3059, + "id": 2551, "nodeType": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "expression": { @@ -31315,48 +31315,48 @@ { "arguments": [ { - "id": 3062, + "id": 2554, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55495:4:1", + "referencedDeclaration": 2537, + "src": "57062:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3063, + "id": 2555, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55501:2:1", + "referencedDeclaration": 2539, + "src": "57068:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3064, + "id": 2556, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55505:7:1", + "referencedDeclaration": 2541, + "src": "57072:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3065, + "id": 2557, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3051, - "src": "55514:5:1", + "referencedDeclaration": 2543, + "src": "57081:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31382,18 +31382,18 @@ "typeString": "bytes memory" } ], - "id": 3061, + "id": 2553, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "55472:22:1", + "referencedDeclaration": 2954, + "src": "57039:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3066, + "id": 2558, "isConstant": false, "isLValue": false, "isPure": false, @@ -31401,7 +31401,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55472:48:1", + "src": "57039:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31410,14 +31410,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3067, + "id": 2559, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "55522:52:1", + "src": "57089:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -31436,7 +31436,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3060, + "id": 2552, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31444,13 +31444,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "55464:7:1", + "src": "57031:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3068, + "id": 2560, "isConstant": false, "isLValue": false, "isPure": false, @@ -31458,43 +31458,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55464:111:1", + "src": "57031:111:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3069, + "id": 2561, "nodeType": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ] }, "documentation": { - "id": 3043, + "id": 2535, "nodeType": "StructuredDocumentation", - "src": "54457:851:1", + "src": "56004:868:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3071, + "id": 2563, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3052, + "id": 2544, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3045, + "id": 2537, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55336:12:1", + "scope": 2563, + "src": "56901:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31502,10 +31502,10 @@ "typeString": "address" }, "typeName": { - "id": 3044, + "id": 2536, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55336:7:1", + "src": "56901:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31516,12 +31516,12 @@ }, { "constant": false, - "id": 3047, + "id": 2539, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55350:10:1", + "scope": 2563, + "src": "56915:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31529,10 +31529,10 @@ "typeString": "address" }, "typeName": { - "id": 3046, + "id": 2538, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55350:7:1", + "src": "56915:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31543,12 +31543,12 @@ }, { "constant": false, - "id": 3049, + "id": 2541, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55362:15:1", + "scope": 2563, + "src": "56927:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31556,10 +31556,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3048, + "id": 2540, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55362:7:1", + "src": "56927:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31569,12 +31569,12 @@ }, { "constant": false, - "id": 3051, + "id": 2543, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55379:18:1", + "scope": 2563, + "src": "56944:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31582,10 +31582,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3050, + "id": 2542, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "55379:5:1", + "src": "56944:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31594,36 +31594,36 @@ "visibility": "internal" } ], - "src": "55335:63:1" + "src": "56900:63:0" }, "returnParameters": { - "id": 3053, + "id": 2545, "nodeType": "ParameterList", "parameters": [], - "src": "55416:0:1" + "src": "56981:0:0" }, - "scope": 3498, - "src": "55313:269:1", + "scope": 2990, + "src": "56878:272:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3084, + "id": 2576, "nodeType": "Block", - "src": "55956:54:1", + "src": "57534:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 3081, + "id": 2573, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3074, - "src": "55995:7:1", + "referencedDeclaration": 2566, + "src": "57574:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31638,32 +31638,32 @@ } ], "expression": { - "id": 3079, + "id": 2571, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "55973:12:1", + "referencedDeclaration": 2094, + "src": "57552:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3080, + "id": 2572, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "contains", "nodeType": "MemberAccess", - "referencedDeclaration": 2326, - "src": "55973:21:1", + "referencedDeclaration": 1818, + "src": "57552:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" } }, - "id": 3082, + "id": 2574, "isConstant": false, "isLValue": false, "isPure": false, @@ -31671,44 +31671,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55973:30:1", + "src": "57552:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3078, - "id": 3083, + "functionReturnParameters": 2570, + "id": 2575, "nodeType": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ] }, "documentation": { - "id": 3072, + "id": 2564, "nodeType": "StructuredDocumentation", - "src": "55588:292:1", + "src": "57158:299:0", "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3085, + "id": 2577, "implemented": true, "kind": "function", "modifiers": [], "name": "_exists", "nodeType": "FunctionDefinition", "parameters": { - "id": 3075, + "id": 2567, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3074, + "id": 2566, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55902:15:1", + "scope": 2577, + "src": "57480:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31716,10 +31716,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3073, + "id": 2565, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55902:7:1", + "src": "57480:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31728,20 +31728,20 @@ "visibility": "internal" } ], - "src": "55901:17:1" + "src": "57479:17:0" }, "returnParameters": { - "id": 3078, + "id": 2570, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3077, + "id": 2569, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55950:4:1", + "scope": 2577, + "src": "57528:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31749,10 +31749,10 @@ "typeString": "bool" }, "typeName": { - "id": 3076, + "id": 2568, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "55950:4:1", + "src": "57528:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -31761,19 +31761,19 @@ "visibility": "internal" } ], - "src": "55949:6:1" + "src": "57527:6:0" }, - "scope": 3498, - "src": "55885:125:1", + "scope": 2990, + "src": "57463:127:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3126, + "id": 2618, "nodeType": "Block", - "src": "56267:252:1", + "src": "57856:256:0", "statements": [ { "expression": { @@ -31781,12 +31781,12 @@ { "arguments": [ { - "id": 3097, + "id": 2589, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56293:7:1", + "referencedDeclaration": 2582, + "src": "57883:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31800,18 +31800,18 @@ "typeString": "uint256" } ], - "id": 3096, + "id": 2588, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "56285:7:1", + "referencedDeclaration": 2577, + "src": "57875:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3098, + "id": 2590, "isConstant": false, "isLValue": false, "isPure": false, @@ -31819,7 +31819,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56285:16:1", + "src": "57875:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31828,14 +31828,14 @@ }, { "hexValue": "4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 3099, + "id": 2591, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56303:46:1", + "src": "57893:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5797d1ccb08b83980dd0c07ea40d8f6a64d35fff736a19bdd17522954cb0899c", "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" @@ -31854,7 +31854,7 @@ "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" } ], - "id": 3095, + "id": 2587, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31862,13 +31862,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "56277:7:1", + "src": "57867:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3100, + "id": 2592, "isConstant": false, "isLValue": false, "isPure": false, @@ -31876,30 +31876,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56277:73:1", + "src": "57867:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3101, + "id": 2593, "nodeType": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "assignments": [ - 3103 + 2595 ], "declarations": [ { "constant": false, - "id": 3103, + "id": 2595, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3126, - "src": "56360:13:1", + "scope": 2618, + "src": "57951:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31907,10 +31907,10 @@ "typeString": "address" }, "typeName": { - "id": 3102, + "id": 2594, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56360:7:1", + "src": "57951:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31920,16 +31920,16 @@ "visibility": "internal" } ], - "id": 3108, + "id": 2600, "initialValue": { "arguments": [ { - "id": 3106, + "id": 2598, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56391:7:1", + "referencedDeclaration": 2582, + "src": "57982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31944,32 +31944,32 @@ } ], "expression": { - "id": 3104, + "id": 2596, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56376:6:1", + "referencedDeclaration": 2990, + "src": "57967:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3105, + "id": 2597, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "56376:14:1", + "referencedDeclaration": 2194, + "src": "57967:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3107, + "id": 2599, "isConstant": false, "isLValue": false, "isPure": false, @@ -31977,7 +31977,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56376:23:1", + "src": "57967:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -31985,7 +31985,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "expression": { @@ -31995,7 +31995,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3123, + "id": 2615, "isConstant": false, "isLValue": false, "isPure": false, @@ -32005,7 +32005,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3117, + "id": 2609, "isConstant": false, "isLValue": false, "isPure": false, @@ -32015,18 +32015,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3111, + "id": 2603, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3109, + "id": 2601, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56417:7:1", + "referencedDeclaration": 2580, + "src": "58009:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32035,18 +32035,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3110, + "id": 2602, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56428:5:1", + "referencedDeclaration": 2595, + "src": "58020:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56417:16:1", + "src": "58009:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32059,7 +32059,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3116, + "id": 2608, "isConstant": false, "isLValue": false, "isPure": false, @@ -32067,12 +32067,12 @@ "leftExpression": { "arguments": [ { - "id": 3113, + "id": 2605, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56449:7:1", + "referencedDeclaration": 2582, + "src": "58041:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32086,18 +32086,18 @@ "typeString": "uint256" } ], - "id": 3112, + "id": 2604, "name": "getApproved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "56437:11:1", + "referencedDeclaration": 2406, + "src": "58029:11:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3114, + "id": 2606, "isConstant": false, "isLValue": false, "isPure": false, @@ -32105,7 +32105,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56437:20:1", + "src": "58029:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -32115,24 +32115,24 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3115, + "id": 2607, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56461:7:1", + "referencedDeclaration": 2580, + "src": "58053:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56437:31:1", + "src": "58029:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:51:1", + "src": "58009:51:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32143,24 +32143,24 @@ "rightExpression": { "arguments": [ { - "id": 3120, + "id": 2612, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56496:5:1", + "referencedDeclaration": 2595, + "src": "58088:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3121, + "id": 2613, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56503:7:1", + "referencedDeclaration": 2580, + "src": "58095:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32179,32 +32179,32 @@ } ], "expression": { - "id": 3118, + "id": 2610, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56472:6:1", + "referencedDeclaration": 2990, + "src": "58064:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3119, + "id": 2611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "56472:23:1", + "referencedDeclaration": 2458, + "src": "58064:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 3122, + "id": 2614, "isConstant": false, "isLValue": false, "isPure": false, @@ -32212,64 +32212,64 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56472:39:1", + "src": "58064:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:94:1", + "src": "58009:94:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3124, + "id": 2616, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "56416:96:1", + "src": "58008:96:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3094, - "id": 3125, + "functionReturnParameters": 2586, + "id": 2617, "nodeType": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ] }, "documentation": { - "id": 3086, + "id": 2578, "nodeType": "StructuredDocumentation", - "src": "56016:147:1", + "src": "57598:153:0", "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3127, + "id": 2619, "implemented": true, "kind": "function", "modifiers": [], "name": "_isApprovedOrOwner", "nodeType": "FunctionDefinition", "parameters": { - "id": 3091, + "id": 2583, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3088, + "id": 2580, "mutability": "mutable", "name": "spender", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56196:15:1", + "scope": 2619, + "src": "57785:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32277,10 +32277,10 @@ "typeString": "address" }, "typeName": { - "id": 3087, + "id": 2579, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56196:7:1", + "src": "57785:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32291,12 +32291,12 @@ }, { "constant": false, - "id": 3090, + "id": 2582, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56213:15:1", + "scope": 2619, + "src": "57802:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32304,10 +32304,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3089, + "id": 2581, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56213:7:1", + "src": "57802:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32316,20 +32316,20 @@ "visibility": "internal" } ], - "src": "56195:34:1" + "src": "57784:34:0" }, "returnParameters": { - "id": 3094, + "id": 2586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3093, + "id": 2585, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56261:4:1", + "scope": 2619, + "src": "57850:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32337,10 +32337,10 @@ "typeString": "bool" }, "typeName": { - "id": 3092, + "id": 2584, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "56261:4:1", + "src": "57850:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32349,42 +32349,42 @@ "visibility": "internal" } ], - "src": "56260:6:1" + "src": "57849:6:0" }, - "scope": 3498, - "src": "56168:351:1", + "scope": 2990, + "src": "57757:355:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3141, + "id": 2633, "nodeType": "Block", - "src": "56915:43:1", + "src": "58520:45:0", "statements": [ { "expression": { "arguments": [ { - "id": 3136, + "id": 2628, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3130, - "src": "56935:2:1", + "referencedDeclaration": 2622, + "src": "58541:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3137, + "id": 2629, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3132, - "src": "56939:7:1", + "referencedDeclaration": 2624, + "src": "58545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32392,14 +32392,14 @@ }, { "hexValue": "", - "id": 3138, + "id": 2630, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56948:2:1", + "src": "58554:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -32422,21 +32422,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3135, + "id": 2627, "name": "_safeMint", "nodeType": "Identifier", "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, - "src": "56925:9:1", + "referencedDeclaration": 2663, + "src": "58531:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,uint256,bytes memory)" } }, - "id": 3139, + "id": 2631, "isConstant": false, "isLValue": false, "isPure": false, @@ -32444,43 +32444,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56925:26:1", + "src": "58531:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3140, + "id": 2632, "nodeType": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ] }, "documentation": { - "id": 3128, + "id": 2620, "nodeType": "StructuredDocumentation", - "src": "56525:320:1", + "src": "58120:329:0", "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3142, + "id": 2634, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3133, + "id": 2625, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3130, + "id": 2622, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56869:10:1", + "scope": 2634, + "src": "58474:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32488,10 +32488,10 @@ "typeString": "address" }, "typeName": { - "id": 3129, + "id": 2621, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56869:7:1", + "src": "58474:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32502,12 +32502,12 @@ }, { "constant": false, - "id": 3132, + "id": 2624, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56881:15:1", + "scope": 2634, + "src": "58486:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32515,10 +32515,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3131, + "id": 2623, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56881:7:1", + "src": "58486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32527,48 +32527,48 @@ "visibility": "internal" } ], - "src": "56868:29:1" + "src": "58473:29:0" }, "returnParameters": { - "id": 3134, + "id": 2626, "nodeType": "ParameterList", "parameters": [], - "src": "56915:0:1" + "src": "58520:0:0" }, - "scope": 3498, - "src": "56850:108:1", + "scope": 2990, + "src": "58455:110:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3170, + "id": 2662, "nodeType": "Block", - "src": "57264:162:1", + "src": "58877:165:0", "statements": [ { "expression": { "arguments": [ { - "id": 3153, + "id": 2645, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57280:2:1", + "referencedDeclaration": 2637, + "src": "58894:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3154, + "id": 2646, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57284:7:1", + "referencedDeclaration": 2639, + "src": "58898:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32586,18 +32586,18 @@ "typeString": "uint256" } ], - "id": 3152, + "id": 2644, "name": "_mint", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3230, - "src": "57274:5:1", + "referencedDeclaration": 2722, + "src": "58888:5:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3155, + "id": 2647, "isConstant": false, "isLValue": false, "isPure": false, @@ -32605,16 +32605,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57274:18:1", + "src": "58888:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3156, + "id": 2648, "nodeType": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "expression": { @@ -32625,14 +32625,14 @@ "arguments": [ { "hexValue": "30", - "id": 3161, + "id": 2653, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57341:1:1", + "src": "58956:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -32647,26 +32647,26 @@ "typeString": "int_const 0" } ], - "id": 3160, + "id": 2652, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3159, + "id": 2651, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": {} } }, - "id": 3162, + "id": 2654, "isConstant": false, "isLValue": false, "isPure": true, @@ -32674,7 +32674,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57333:10:1", + "src": "58948:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -32682,36 +32682,36 @@ } }, { - "id": 3163, + "id": 2655, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57345:2:1", + "referencedDeclaration": 2637, + "src": "58960:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3164, + "id": 2656, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57349:7:1", + "referencedDeclaration": 2639, + "src": "58964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3165, + "id": 2657, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3149, - "src": "57358:5:1", + "referencedDeclaration": 2641, + "src": "58973:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -32737,18 +32737,18 @@ "typeString": "bytes memory" } ], - "id": 3158, + "id": 2650, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "57310:22:1", + "referencedDeclaration": 2954, + "src": "58925:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3166, + "id": 2658, "isConstant": false, "isLValue": false, "isPure": false, @@ -32756,7 +32756,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57310:54:1", + "src": "58925:54:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -32765,14 +32765,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3167, + "id": 2659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57366:52:1", + "src": "58981:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -32791,7 +32791,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3157, + "id": 2649, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -32799,13 +32799,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57302:7:1", + "src": "58917:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3168, + "id": 2660, "isConstant": false, "isLValue": false, "isPure": false, @@ -32813,43 +32813,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57302:117:1", + "src": "58917:117:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3169, + "id": 2661, "nodeType": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ] }, "documentation": { - "id": 3143, + "id": 2635, "nodeType": "StructuredDocumentation", - "src": "56964:210:1", + "src": "58573:213:0", "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3171, + "id": 2663, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3150, + "id": 2642, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3145, + "id": 2637, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57198:10:1", + "scope": 2663, + "src": "58811:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32857,10 +32857,10 @@ "typeString": "address" }, "typeName": { - "id": 3144, + "id": 2636, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57198:7:1", + "src": "58811:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32871,12 +32871,12 @@ }, { "constant": false, - "id": 3147, + "id": 2639, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57210:15:1", + "scope": 2663, + "src": "58823:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32884,10 +32884,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3146, + "id": 2638, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57210:7:1", + "src": "58823:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32897,12 +32897,12 @@ }, { "constant": false, - "id": 3149, + "id": 2641, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57227:18:1", + "scope": 2663, + "src": "58840:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -32910,10 +32910,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3148, + "id": 2640, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "57227:5:1", + "src": "58840:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -32922,25 +32922,25 @@ "visibility": "internal" } ], - "src": "57197:49:1" + "src": "58810:49:0" }, "returnParameters": { - "id": 3151, + "id": 2643, "nodeType": "ParameterList", "parameters": [], - "src": "57264:0:1" + "src": "58877:0:0" }, - "scope": 3498, - "src": "57179:247:1", + "scope": 2990, + "src": "58792:250:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3229, + "id": 2721, "nodeType": "Block", - "src": "57809:332:1", + "src": "59439:343:0", "statements": [ { "expression": { @@ -32950,18 +32950,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3185, + "id": 2677, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3180, + "id": 2672, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57827:2:1", + "referencedDeclaration": 2666, + "src": "59458:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32973,14 +32973,14 @@ "arguments": [ { "hexValue": "30", - "id": 3183, + "id": 2675, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57841:1:1", + "src": "59472:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -32995,26 +32995,26 @@ "typeString": "int_const 0" } ], - "id": 3182, + "id": 2674, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3181, + "id": 2673, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": {} } }, - "id": 3184, + "id": 2676, "isConstant": false, "isLValue": false, "isPure": true, @@ -33022,14 +33022,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57833:10:1", + "src": "59464:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "57827:16:1", + "src": "59458:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -33037,14 +33037,14 @@ }, { "hexValue": "4552433732313a206d696e7420746f20746865207a65726f2061646472657373", - "id": 3186, + "id": 2678, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57845:34:1", + "src": "59476:34:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6", "typeString": "literal_string \"ERC721: mint to the zero address\"" @@ -33063,7 +33063,7 @@ "typeString": "literal_string \"ERC721: mint to the zero address\"" } ], - "id": 3179, + "id": 2671, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33071,13 +33071,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57819:7:1", + "src": "59450:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3187, + "id": 2679, "isConstant": false, "isLValue": false, "isPure": false, @@ -33085,22 +33085,22 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57819:61:1", + "src": "59450:61:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3188, + "id": 2680, "nodeType": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "expression": { "arguments": [ { - "id": 3193, + "id": 2685, "isConstant": false, "isLValue": false, "isPure": false, @@ -33108,16 +33108,16 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "57898:17:1", + "src": "59530:17:0", "subExpression": { "arguments": [ { - "id": 3191, + "id": 2683, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57907:7:1", + "referencedDeclaration": 2668, + "src": "59539:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33131,18 +33131,18 @@ "typeString": "uint256" } ], - "id": 3190, + "id": 2682, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "57899:7:1", + "referencedDeclaration": 2577, + "src": "59531:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3192, + "id": 2684, "isConstant": false, "isLValue": false, "isPure": false, @@ -33150,7 +33150,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57899:16:1", + "src": "59531:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -33164,14 +33164,14 @@ }, { "hexValue": "4552433732313a20746f6b656e20616c7265616479206d696e746564", - "id": 3194, + "id": 2686, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57917:30:1", + "src": "59549:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57", "typeString": "literal_string \"ERC721: token already minted\"" @@ -33190,7 +33190,7 @@ "typeString": "literal_string \"ERC721: token already minted\"" } ], - "id": 3189, + "id": 2681, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33198,13 +33198,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57890:7:1", + "src": "59522:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3195, + "id": 2687, "isConstant": false, "isLValue": false, "isPure": false, @@ -33212,16 +33212,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57890:58:1", + "src": "59522:58:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3196, + "id": 2688, "nodeType": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "expression": { @@ -33230,14 +33230,14 @@ "arguments": [ { "hexValue": "30", - "id": 3200, + "id": 2692, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57988:1:1", + "src": "59622:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33252,26 +33252,26 @@ "typeString": "int_const 0" } ], - "id": 3199, + "id": 2691, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3198, + "id": 2690, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": {} } }, - "id": 3201, + "id": 2693, "isConstant": false, "isLValue": false, "isPure": true, @@ -33279,7 +33279,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57980:10:1", + "src": "59614:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33287,24 +33287,24 @@ } }, { - "id": 3202, + "id": 2694, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57992:2:1", + "referencedDeclaration": 2666, + "src": "59626:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3203, + "id": 2695, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57996:7:1", + "referencedDeclaration": 2668, + "src": "59630:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33326,18 +33326,18 @@ "typeString": "uint256" } ], - "id": 3197, + "id": 2689, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "57959:20:1", + "referencedDeclaration": 2989, + "src": "59593:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3204, + "id": 2696, "isConstant": false, "isLValue": false, "isPure": false, @@ -33345,27 +33345,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57959:45:1", + "src": "59593:45:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3205, + "id": 2697, "nodeType": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "expression": { "arguments": [ { - "id": 3210, + "id": 2702, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58037:7:1", + "referencedDeclaration": 2668, + "src": "59673:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33381,25 +33381,25 @@ ], "expression": { "baseExpression": { - "id": 3206, + "id": 2698, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58015:13:1", + "referencedDeclaration": 2092, + "src": "59651:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3208, + "id": 2700, "indexExpression": { - "id": 3207, + "id": 2699, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58029:2:1", + "referencedDeclaration": 2666, + "src": "59665:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33410,27 +33410,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58015:17:1", + "src": "59651:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3209, + "id": 2701, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "58015:21:1", + "referencedDeclaration": 1338, + "src": "59651:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3211, + "id": 2703, "isConstant": false, "isLValue": false, "isPure": false, @@ -33438,39 +33438,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58015:30:1", + "src": "59651:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3212, + "id": 2704, "nodeType": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "expression": { "arguments": [ { - "id": 3216, + "id": 2708, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58073:7:1", + "referencedDeclaration": 2668, + "src": "59711:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3217, + "id": 2709, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58082:2:1", + "referencedDeclaration": 2666, + "src": "59720:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33489,32 +33489,32 @@ } ], "expression": { - "id": 3213, + "id": 2705, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58056:12:1", + "referencedDeclaration": 2094, + "src": "59694:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3215, + "id": 2707, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "58056:16:1", + "referencedDeclaration": 1778, + "src": "59694:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3218, + "id": 2710, "isConstant": false, "isLValue": false, "isPure": false, @@ -33522,16 +33522,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58056:29:1", + "src": "59694:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3219, + "id": 2711, "nodeType": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "eventCall": { @@ -33540,14 +33540,14 @@ "arguments": [ { "hexValue": "30", - "id": 3223, + "id": 2715, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58118:1:1", + "src": "59758:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33562,26 +33562,26 @@ "typeString": "int_const 0" } ], - "id": 3222, + "id": 2714, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3221, + "id": 2713, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": {} } }, - "id": 3224, + "id": 2716, "isConstant": false, "isLValue": false, "isPure": true, @@ -33589,7 +33589,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58110:10:1", + "src": "59750:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33597,24 +33597,24 @@ } }, { - "id": 3225, + "id": 2717, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58122:2:1", + "referencedDeclaration": 2666, + "src": "59762:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3226, + "id": 2718, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58126:7:1", + "referencedDeclaration": 2668, + "src": "59766:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33636,18 +33636,18 @@ "typeString": "uint256" } ], - "id": 3220, + "id": 2712, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58101:8:1", + "referencedDeclaration": 46, + "src": "59741:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3227, + "id": 2719, "isConstant": false, "isLValue": false, "isPure": false, @@ -33655,43 +33655,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58101:33:1", + "src": "59741:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3228, + "id": 2720, "nodeType": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ] }, "documentation": { - "id": 3172, + "id": 2664, "nodeType": "StructuredDocumentation", - "src": "57432:311:1", + "src": "59050:322:0", "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3230, + "id": 2722, "implemented": true, "kind": "function", "modifiers": [], "name": "_mint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3177, + "id": 2669, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3174, + "id": 2666, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57763:10:1", + "scope": 2722, + "src": "59393:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33699,10 +33699,10 @@ "typeString": "address" }, "typeName": { - "id": 3173, + "id": 2665, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57763:7:1", + "src": "59393:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33713,12 +33713,12 @@ }, { "constant": false, - "id": 3176, + "id": 2668, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57775:15:1", + "scope": 2722, + "src": "59405:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33726,10 +33726,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3175, + "id": 2667, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57775:7:1", + "src": "59405:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33738,39 +33738,39 @@ "visibility": "internal" } ], - "src": "57762:29:1" + "src": "59392:29:0" }, "returnParameters": { - "id": 3178, + "id": 2670, "nodeType": "ParameterList", "parameters": [], - "src": "57809:0:1" + "src": "59439:0:0" }, - "scope": 3498, - "src": "57748:393:1", + "scope": 2990, + "src": "59378:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3298, + "id": 2790, "nodeType": "Block", - "src": "58407:478:1", + "src": "60060:496:0", "statements": [ { "assignments": [ - 3237 + 2729 ], "declarations": [ { "constant": false, - "id": 3237, + "id": 2729, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3298, - "src": "58417:13:1", + "scope": 2790, + "src": "60071:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33778,10 +33778,10 @@ "typeString": "address" }, "typeName": { - "id": 3236, + "id": 2728, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58417:7:1", + "src": "60071:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33791,16 +33791,16 @@ "visibility": "internal" } ], - "id": 3242, + "id": 2734, "initialValue": { "arguments": [ { - "id": 3240, + "id": 2732, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58448:7:1", + "referencedDeclaration": 2725, + "src": "60102:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33815,32 +33815,32 @@ } ], "expression": { - "id": 3238, + "id": 2730, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "58433:6:1", + "referencedDeclaration": 2990, + "src": "60087:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3239, + "id": 2731, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "58433:14:1", + "referencedDeclaration": 2194, + "src": "60087:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3241, + "id": 2733, "isConstant": false, "isLValue": false, "isPure": false, @@ -33848,7 +33848,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58433:23:1", + "src": "60087:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -33856,18 +33856,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "expression": { "arguments": [ { - "id": 3244, + "id": 2736, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58506:5:1", + "referencedDeclaration": 2729, + "src": "60162:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33877,14 +33877,14 @@ "arguments": [ { "hexValue": "30", - "id": 3247, + "id": 2739, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58521:1:1", + "src": "60177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33899,26 +33899,26 @@ "typeString": "int_const 0" } ], - "id": 3246, + "id": 2738, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3245, + "id": 2737, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": {} } }, - "id": 3248, + "id": 2740, "isConstant": false, "isLValue": false, "isPure": true, @@ -33926,7 +33926,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58513:10:1", + "src": "60169:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33934,12 +33934,12 @@ } }, { - "id": 3249, + "id": 2741, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58525:7:1", + "referencedDeclaration": 2725, + "src": "60181:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33961,18 +33961,18 @@ "typeString": "uint256" } ], - "id": 3243, + "id": 2735, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "58485:20:1", + "referencedDeclaration": 2989, + "src": "60141:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3250, + "id": 2742, "isConstant": false, "isLValue": false, "isPure": false, @@ -33980,16 +33980,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58485:48:1", + "src": "60141:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3251, + "id": 2743, "nodeType": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "expression": { @@ -33998,14 +33998,14 @@ "arguments": [ { "hexValue": "30", - "id": 3255, + "id": 2747, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58588:1:1", + "src": "60247:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34020,26 +34020,26 @@ "typeString": "int_const 0" } ], - "id": 3254, + "id": 2746, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3253, + "id": 2745, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": {} } }, - "id": 3256, + "id": 2748, "isConstant": false, "isLValue": false, "isPure": true, @@ -34047,7 +34047,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58580:10:1", + "src": "60239:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34055,12 +34055,12 @@ } }, { - "id": 3257, + "id": 2749, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58592:7:1", + "referencedDeclaration": 2725, + "src": "60251:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34078,18 +34078,18 @@ "typeString": "uint256" } ], - "id": 3252, + "id": 2744, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "58571:8:1", + "referencedDeclaration": 2978, + "src": "60230:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3258, + "id": 2750, "isConstant": false, "isLValue": false, "isPure": false, @@ -34097,16 +34097,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58571:29:1", + "src": "60230:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3259, + "id": 2751, "nodeType": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "condition": { @@ -34114,7 +34114,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3268, + "id": 2760, "isConstant": false, "isLValue": false, "isPure": false, @@ -34124,25 +34124,25 @@ "arguments": [ { "baseExpression": { - "id": 3262, + "id": 2754, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58656:10:1", + "referencedDeclaration": 2112, + "src": "60318:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3264, + "id": 2756, "indexExpression": { - "id": 3263, + "id": 2755, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58667:7:1", + "referencedDeclaration": 2725, + "src": "60329:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34153,7 +34153,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58656:19:1", + "src": "60318:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34167,26 +34167,26 @@ "typeString": "string storage ref" } ], - "id": 3261, + "id": 2753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 3260, + "id": 2752, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": {} } }, - "id": 3265, + "id": 2757, "isConstant": false, "isLValue": false, "isPure": false, @@ -34194,21 +34194,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58650:26:1", + "src": "60312:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes storage pointer" } }, - "id": 3266, + "id": 2758, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "58650:33:1", + "src": "60312:33:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34218,37 +34218,37 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 3267, + "id": 2759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58687:1:1", + "src": "60349:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "58650:38:1", + "src": "60312:38:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3275, + "id": 2767, "nodeType": "IfStatement", - "src": "58646:95:1", + "src": "60308:97:0", "trueBody": { - "id": 3274, + "id": 2766, "nodeType": "Block", - "src": "58690:51:1", + "src": "60352:53:0", "statements": [ { "expression": { - "id": 3272, + "id": 2764, "isConstant": false, "isLValue": false, "isPure": false, @@ -34256,28 +34256,28 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "58704:26:1", + "src": "60367:26:0", "subExpression": { "baseExpression": { - "id": 3269, + "id": 2761, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58711:10:1", + "referencedDeclaration": 2112, + "src": "60374:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3271, + "id": 2763, "indexExpression": { - "id": 3270, + "id": 2762, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58722:7:1", + "referencedDeclaration": 2725, + "src": "60385:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34288,7 +34288,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "58711:19:1", + "src": "60374:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34299,9 +34299,9 @@ "typeString": "tuple()" } }, - "id": 3273, + "id": 2765, "nodeType": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ] } @@ -34310,12 +34310,12 @@ "expression": { "arguments": [ { - "id": 3280, + "id": 2772, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58779:7:1", + "referencedDeclaration": 2725, + "src": "60445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34331,25 +34331,25 @@ ], "expression": { "baseExpression": { - "id": 3276, + "id": 2768, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58751:13:1", + "referencedDeclaration": 2092, + "src": "60417:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3278, + "id": 2770, "indexExpression": { - "id": 3277, + "id": 2769, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58765:5:1", + "referencedDeclaration": 2729, + "src": "60431:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34360,27 +34360,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58751:20:1", + "src": "60417:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3279, + "id": 2771, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "58751:27:1", + "referencedDeclaration": 1358, + "src": "60417:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3281, + "id": 2773, "isConstant": false, "isLValue": false, "isPure": false, @@ -34388,27 +34388,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58751:36:1", + "src": "60417:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3282, + "id": 2774, "nodeType": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "expression": { "arguments": [ { - "id": 3286, + "id": 2778, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58818:7:1", + "referencedDeclaration": 2725, + "src": "60486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34423,32 +34423,32 @@ } ], "expression": { - "id": 3283, + "id": 2775, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58798:12:1", + "referencedDeclaration": 2094, + "src": "60466:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3285, + "id": 2777, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 2306, - "src": "58798:19:1", + "referencedDeclaration": 1798, + "src": "60466:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" } }, - "id": 3287, + "id": 2779, "isConstant": false, "isLValue": false, "isPure": false, @@ -34456,27 +34456,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58798:28:1", + "src": "60466:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3288, + "id": 2780, "nodeType": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "eventCall": { "arguments": [ { - "id": 3290, + "id": 2782, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58851:5:1", + "referencedDeclaration": 2729, + "src": "60521:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34486,14 +34486,14 @@ "arguments": [ { "hexValue": "30", - "id": 3293, + "id": 2785, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58866:1:1", + "src": "60536:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34508,26 +34508,26 @@ "typeString": "int_const 0" } ], - "id": 3292, + "id": 2784, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3291, + "id": 2783, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": {} } }, - "id": 3294, + "id": 2786, "isConstant": false, "isLValue": false, "isPure": true, @@ -34535,7 +34535,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58858:10:1", + "src": "60528:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34543,12 +34543,12 @@ } }, { - "id": 3295, + "id": 2787, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58870:7:1", + "referencedDeclaration": 2725, + "src": "60540:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34570,18 +34570,18 @@ "typeString": "uint256" } ], - "id": 3289, + "id": 2781, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58842:8:1", + "referencedDeclaration": 46, + "src": "60512:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3296, + "id": 2788, "isConstant": false, "isLValue": false, "isPure": false, @@ -34589,43 +34589,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58842:36:1", + "src": "60512:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3297, + "id": 2789, "nodeType": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ] }, "documentation": { - "id": 3231, + "id": 2723, "nodeType": "StructuredDocumentation", - "src": "58147:206:1", + "src": "59790:215:0", "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3299, + "id": 2791, "implemented": true, "kind": "function", "modifiers": [], "name": "_burn", "nodeType": "FunctionDefinition", "parameters": { - "id": 3234, + "id": 2726, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3233, + "id": 2725, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3299, - "src": "58373:15:1", + "scope": 2791, + "src": "60026:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34633,10 +34633,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3232, + "id": 2724, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "58373:7:1", + "src": "60026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34645,25 +34645,25 @@ "visibility": "internal" } ], - "src": "58372:17:1" + "src": "60025:17:0" }, "returnParameters": { - "id": 3235, + "id": 2727, "nodeType": "ParameterList", "parameters": [], - "src": "58407:0:1" + "src": "60060:0:0" }, - "scope": 3498, - "src": "58358:527:1", + "scope": 2990, + "src": "60011:545:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3370, + "id": 2862, "nodeType": "Block", - "src": "59288:505:1", + "src": "60972:520:0", "statements": [ { "expression": { @@ -34673,7 +34673,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3315, + "id": 2807, "isConstant": false, "isLValue": false, "isPure": false, @@ -34681,12 +34681,12 @@ "leftExpression": { "arguments": [ { - "id": 3312, + "id": 2804, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59321:7:1", + "referencedDeclaration": 2798, + "src": "61006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34701,32 +34701,32 @@ } ], "expression": { - "id": 3310, + "id": 2802, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "59306:6:1", + "referencedDeclaration": 2990, + "src": "60991:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3311, + "id": 2803, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "59306:14:1", + "referencedDeclaration": 2194, + "src": "60991:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3313, + "id": 2805, "isConstant": false, "isLValue": false, "isPure": false, @@ -34734,7 +34734,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59306:23:1", + "src": "60991:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -34744,18 +34744,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3314, + "id": 2806, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59333:4:1", + "referencedDeclaration": 2794, + "src": "61018:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "59306:31:1", + "src": "60991:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34763,14 +34763,14 @@ }, { "hexValue": "4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e", - "id": 3316, + "id": 2808, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59339:43:1", + "src": "61024:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a01073130a885d6c1c1af6ac75fc3b1c4f9403c235362962bbf528e2bd87d950", "typeString": "literal_string \"ERC721: transfer of token that is not own\"" @@ -34789,7 +34789,7 @@ "typeString": "literal_string \"ERC721: transfer of token that is not own\"" } ], - "id": 3309, + "id": 2801, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -34797,13 +34797,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59298:7:1", + "src": "60983:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3317, + "id": 2809, "isConstant": false, "isLValue": false, "isPure": false, @@ -34811,16 +34811,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59298:85:1", + "src": "60983:85:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3318, + "id": 2810, "nodeType": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "expression": { @@ -34830,18 +34830,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3325, + "id": 2817, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3320, + "id": 2812, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59419:2:1", + "referencedDeclaration": 2796, + "src": "61105:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34853,14 +34853,14 @@ "arguments": [ { "hexValue": "30", - "id": 3323, + "id": 2815, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59433:1:1", + "src": "61119:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34875,26 +34875,26 @@ "typeString": "int_const 0" } ], - "id": 3322, + "id": 2814, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3321, + "id": 2813, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": {} } }, - "id": 3324, + "id": 2816, "isConstant": false, "isLValue": false, "isPure": true, @@ -34902,14 +34902,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59425:10:1", + "src": "61111:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "59419:16:1", + "src": "61105:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34917,14 +34917,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f20746865207a65726f2061646472657373", - "id": 3326, + "id": 2818, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59437:38:1", + "src": "61123:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4", "typeString": "literal_string \"ERC721: transfer to the zero address\"" @@ -34943,7 +34943,7 @@ "typeString": "literal_string \"ERC721: transfer to the zero address\"" } ], - "id": 3319, + "id": 2811, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -34951,13 +34951,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59411:7:1", + "src": "61097:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3327, + "id": 2819, "isConstant": false, "isLValue": false, "isPure": false, @@ -34965,51 +34965,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59411:65:1", + "src": "61097:65:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3328, + "id": 2820, "nodeType": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "expression": { "arguments": [ { - "id": 3330, + "id": 2822, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59508:4:1", + "referencedDeclaration": 2794, + "src": "61196:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3331, + "id": 2823, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59514:2:1", + "referencedDeclaration": 2796, + "src": "61202:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3332, + "id": 2824, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59518:7:1", + "referencedDeclaration": 2798, + "src": "61206:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35031,18 +35031,18 @@ "typeString": "uint256" } ], - "id": 3329, + "id": 2821, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "59487:20:1", + "referencedDeclaration": 2989, + "src": "61175:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3333, + "id": 2825, "isConstant": false, "isLValue": false, "isPure": false, @@ -35050,16 +35050,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59487:39:1", + "src": "61175:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3334, + "id": 2826, "nodeType": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "expression": { @@ -35068,14 +35068,14 @@ "arguments": [ { "hexValue": "30", - "id": 3338, + "id": 2830, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59605:1:1", + "src": "61296:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -35090,26 +35090,26 @@ "typeString": "int_const 0" } ], - "id": 3337, + "id": 2829, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3336, + "id": 2828, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": {} } }, - "id": 3339, + "id": 2831, "isConstant": false, "isLValue": false, "isPure": true, @@ -35117,7 +35117,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59597:10:1", + "src": "61288:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -35125,12 +35125,12 @@ } }, { - "id": 3340, + "id": 2832, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59609:7:1", + "referencedDeclaration": 2798, + "src": "61300:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35148,18 +35148,18 @@ "typeString": "uint256" } ], - "id": 3335, + "id": 2827, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "59588:8:1", + "referencedDeclaration": 2978, + "src": "61279:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3341, + "id": 2833, "isConstant": false, "isLValue": false, "isPure": false, @@ -35167,27 +35167,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59588:29:1", + "src": "61279:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3342, + "id": 2834, "nodeType": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "expression": { "arguments": [ { - "id": 3347, + "id": 2839, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59655:7:1", + "referencedDeclaration": 2798, + "src": "61348:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35203,25 +35203,25 @@ ], "expression": { "baseExpression": { - "id": 3343, + "id": 2835, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59628:13:1", + "referencedDeclaration": 2092, + "src": "61321:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3345, + "id": 2837, "indexExpression": { - "id": 3344, + "id": 2836, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59642:4:1", + "referencedDeclaration": 2794, + "src": "61335:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35232,27 +35232,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59628:19:1", + "src": "61321:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3346, + "id": 2838, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "59628:26:1", + "referencedDeclaration": 1358, + "src": "61321:26:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3348, + "id": 2840, "isConstant": false, "isLValue": false, "isPure": false, @@ -35260,27 +35260,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59628:35:1", + "src": "61321:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3349, + "id": 2841, "nodeType": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "expression": { "arguments": [ { - "id": 3354, + "id": 2846, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59695:7:1", + "referencedDeclaration": 2798, + "src": "61389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35296,25 +35296,25 @@ ], "expression": { "baseExpression": { - "id": 3350, + "id": 2842, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59673:13:1", + "referencedDeclaration": 2092, + "src": "61367:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3352, + "id": 2844, "indexExpression": { - "id": 3351, + "id": 2843, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59687:2:1", + "referencedDeclaration": 2796, + "src": "61381:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35325,27 +35325,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59673:17:1", + "src": "61367:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3353, + "id": 2845, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "59673:21:1", + "referencedDeclaration": 1338, + "src": "61367:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3355, + "id": 2847, "isConstant": false, "isLValue": false, "isPure": false, @@ -35353,39 +35353,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59673:30:1", + "src": "61367:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3356, + "id": 2848, "nodeType": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "expression": { "arguments": [ { - "id": 3360, + "id": 2852, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59731:7:1", + "referencedDeclaration": 2798, + "src": "61427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3361, + "id": 2853, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59740:2:1", + "referencedDeclaration": 2796, + "src": "61436:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35404,32 +35404,32 @@ } ], "expression": { - "id": 3357, + "id": 2849, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "59714:12:1", + "referencedDeclaration": 2094, + "src": "61410:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3359, + "id": 2851, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "59714:16:1", + "referencedDeclaration": 1778, + "src": "61410:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3362, + "id": 2854, "isConstant": false, "isLValue": false, "isPure": false, @@ -35437,51 +35437,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59714:29:1", + "src": "61410:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3363, + "id": 2855, "nodeType": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "eventCall": { "arguments": [ { - "id": 3365, + "id": 2857, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59768:4:1", + "referencedDeclaration": 2794, + "src": "61466:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3366, + "id": 2858, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59774:2:1", + "referencedDeclaration": 2796, + "src": "61472:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3367, + "id": 2859, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59778:7:1", + "referencedDeclaration": 2798, + "src": "61476:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35503,18 +35503,18 @@ "typeString": "uint256" } ], - "id": 3364, + "id": 2856, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "59759:8:1", + "referencedDeclaration": 46, + "src": "61457:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3368, + "id": 2860, "isConstant": false, "isLValue": false, "isPure": false, @@ -35522,43 +35522,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59759:27:1", + "src": "61457:27:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3369, + "id": 2861, "nodeType": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ] }, "documentation": { - "id": 3300, + "id": 2792, "nodeType": "StructuredDocumentation", - "src": "58891:313:1", + "src": "60564:323:0", "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3371, + "id": 2863, "implemented": true, "kind": "function", "modifiers": [], "name": "_transfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3307, + "id": 2799, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3302, + "id": 2794, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59228:12:1", + "scope": 2863, + "src": "60912:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35566,10 +35566,10 @@ "typeString": "address" }, "typeName": { - "id": 3301, + "id": 2793, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59228:7:1", + "src": "60912:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35580,12 +35580,12 @@ }, { "constant": false, - "id": 3304, + "id": 2796, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59242:10:1", + "scope": 2863, + "src": "60926:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35593,10 +35593,10 @@ "typeString": "address" }, "typeName": { - "id": 3303, + "id": 2795, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59242:7:1", + "src": "60926:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35607,12 +35607,12 @@ }, { "constant": false, - "id": 3306, + "id": 2798, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59254:15:1", + "scope": 2863, + "src": "60938:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35620,10 +35620,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3305, + "id": 2797, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59254:7:1", + "src": "60938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35632,25 +35632,25 @@ "visibility": "internal" } ], - "src": "59227:43:1" + "src": "60911:43:0" }, "returnParameters": { - "id": 3308, + "id": 2800, "nodeType": "ParameterList", "parameters": [], - "src": "59288:0:1" + "src": "60972:0:0" }, - "scope": 3498, - "src": "59209:584:1", + "scope": 2990, + "src": "60893:599:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3392, + "id": 2884, "nodeType": "Block", - "src": "60021:131:1", + "src": "61729:134:0", "statements": [ { "expression": { @@ -35658,12 +35658,12 @@ { "arguments": [ { - "id": 3381, + "id": 2873, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60047:7:1", + "referencedDeclaration": 2866, + "src": "61756:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35677,18 +35677,18 @@ "typeString": "uint256" } ], - "id": 3380, + "id": 2872, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "60039:7:1", + "referencedDeclaration": 2577, + "src": "61748:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3382, + "id": 2874, "isConstant": false, "isLValue": false, "isPure": false, @@ -35696,7 +35696,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60039:16:1", + "src": "61748:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -35705,14 +35705,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e", - "id": 3383, + "id": 2875, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "60057:46:1", + "src": "61766:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_94be4a260caaeac1b145f03ffa2e70bc612b64982d04f24073aaf3a5f9009978", "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" @@ -35731,7 +35731,7 @@ "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" } ], - "id": 3379, + "id": 2871, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -35739,13 +35739,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "60031:7:1", + "src": "61740:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3384, + "id": 2876, "isConstant": false, "isLValue": false, "isPure": false, @@ -35753,45 +35753,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60031:73:1", + "src": "61740:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3385, + "id": 2877, "nodeType": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "expression": { - "id": 3390, + "id": 2882, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3386, + "id": 2878, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "60114:10:1", + "referencedDeclaration": 2112, + "src": "61824:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3388, + "id": 2880, "indexExpression": { - "id": 3387, + "id": 2879, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60125:7:1", + "referencedDeclaration": 2866, + "src": "61835:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35802,7 +35802,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "60114:19:1", + "src": "61824:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -35811,53 +35811,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3389, + "id": 2881, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3376, - "src": "60136:9:1", + "referencedDeclaration": 2868, + "src": "61846:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60114:31:1", + "src": "61824:31:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3391, + "id": 2883, "nodeType": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ] }, "documentation": { - "id": 3372, + "id": 2864, "nodeType": "StructuredDocumentation", - "src": "59799:136:1", + "src": "61500:142:0", "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3393, + "id": 2885, "implemented": true, "kind": "function", "modifiers": [], "name": "_setTokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3377, + "id": 2869, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3374, + "id": 2866, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59962:15:1", + "scope": 2885, + "src": "61670:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35865,10 +35865,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3373, + "id": 2865, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59962:7:1", + "src": "61670:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35878,12 +35878,12 @@ }, { "constant": false, - "id": 3376, + "id": 2868, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59979:23:1", + "scope": 2885, + "src": "61687:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -35891,10 +35891,10 @@ "typeString": "string" }, "typeName": { - "id": 3375, + "id": 2867, "name": "string", "nodeType": "ElementaryTypeName", - "src": "59979:6:1", + "src": "61687:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -35903,40 +35903,40 @@ "visibility": "internal" } ], - "src": "59961:42:1" + "src": "61669:42:0" }, "returnParameters": { - "id": 3378, + "id": 2870, "nodeType": "ParameterList", "parameters": [], - "src": "60021:0:1" + "src": "61729:0:0" }, - "scope": 3498, - "src": "59940:212:1", + "scope": 2990, + "src": "61648:215:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3403, + "id": 2895, "nodeType": "Block", - "src": "60437:36:1", + "src": "62155:38:0", "statements": [ { "expression": { - "id": 3401, + "id": 2893, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 3399, + "id": 2891, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "60447:8:1", + "referencedDeclaration": 2114, + "src": "62166:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -35945,53 +35945,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3400, + "id": 2892, "name": "baseURI_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3396, - "src": "60458:8:1", + "referencedDeclaration": 2888, + "src": "62177:8:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60447:19:1", + "src": "62166:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3402, + "id": 2894, "nodeType": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ] }, "documentation": { - "id": 3394, + "id": 2886, "nodeType": "StructuredDocumentation", - "src": "60158:212:1", + "src": "61871:216:0", "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3404, + "id": 2896, "implemented": true, "kind": "function", "modifiers": [], "name": "_setBaseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3397, + "id": 2889, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3396, + "id": 2888, "mutability": "mutable", "name": "baseURI_", "nodeType": "VariableDeclaration", - "scope": 3404, - "src": "60396:22:1", + "scope": 2896, + "src": "62114:22:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -35999,10 +35999,10 @@ "typeString": "string" }, "typeName": { - "id": 3395, + "id": 2887, "name": "string", "nodeType": "ElementaryTypeName", - "src": "60396:6:1", + "src": "62114:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -36011,29 +36011,29 @@ "visibility": "internal" } ], - "src": "60395:24:1" + "src": "62113:24:0" }, "returnParameters": { - "id": 3398, + "id": 2890, "nodeType": "ParameterList", "parameters": [], - "src": "60437:0:1" + "src": "62155:0:0" }, - "scope": 3498, - "src": "60375:98:1", + "scope": 2990, + "src": "62093:100:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3461, + "id": 2953, "nodeType": "Block", - "src": "61156:459:1", + "src": "62890:472:0", "statements": [ { "condition": { - "id": 3421, + "id": 2913, "isConstant": false, "isLValue": false, "isPure": false, @@ -36041,38 +36041,38 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "61170:16:1", + "src": "62905:16:0", "subExpression": { "arguments": [], "expression": { "argumentTypes": [], "expression": { - "id": 3418, + "id": 2910, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61171:2:1", + "referencedDeclaration": 2901, + "src": "62906:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3419, + "id": 2911, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isContract", "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "61171:13:1", + "referencedDeclaration": 646, + "src": "62906:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$", "typeString": "function (address) view returns (bool)" } }, - "id": 3420, + "id": 2912, "isConstant": false, "isLValue": false, "isPure": false, @@ -36080,7 +36080,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61171:15:1", + "src": "62906:15:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -36092,52 +36092,52 @@ "typeString": "bool" } }, - "id": 3425, + "id": 2917, "nodeType": "IfStatement", - "src": "61166:58:1", + "src": "62901:60:0", "trueBody": { - "id": 3424, + "id": 2916, "nodeType": "Block", - "src": "61188:36:1", + "src": "62923:38:0", "statements": [ { "expression": { "hexValue": "74727565", - "id": 3422, + "id": 2914, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "61209:4:1", + "src": "62945:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 3417, - "id": 3423, + "functionReturnParameters": 2909, + "id": 2915, "nodeType": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ] } }, { "assignments": [ - 3427 + 2919 ], "declarations": [ { "constant": false, - "id": 3427, + "id": 2919, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61233:23:1", + "scope": 2953, + "src": "62971:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36145,10 +36145,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3426, + "id": 2918, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61233:5:1", + "src": "62971:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36157,7 +36157,7 @@ "visibility": "internal" } ], - "id": 3445, + "id": 2937, "initialValue": { "arguments": [ { @@ -36167,12 +36167,12 @@ "expression": { "arguments": [ { - "id": 3433, + "id": 2925, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61327:2:1", + "referencedDeclaration": 2901, + "src": "63066:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36186,18 +36186,18 @@ "typeString": "address" } ], - "id": 3432, + "id": 2924, "name": "IERC721Receiver", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 726, - "src": "61311:15:1", + "referencedDeclaration": 218, + "src": "63050:15:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$726_$", + "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$218_$", "typeString": "type(contract IERC721Receiver)" } }, - "id": 3434, + "id": 2926, "isConstant": false, "isLValue": false, "isPure": false, @@ -36205,35 +36205,35 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61311:19:1", + "src": "63050:19:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Receiver_$726", + "typeIdentifier": "t_contract$_IERC721Receiver_$218", "typeString": "contract IERC721Receiver" } }, - "id": 3435, + "id": 2927, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "onERC721Received", "nodeType": "MemberAccess", - "referencedDeclaration": 725, - "src": "61311:36:1", + "referencedDeclaration": 217, + "src": "63050:36:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", "typeString": "function (address,address,uint256,bytes memory) external returns (bytes4)" } }, - "id": 3436, + "id": 2928, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "selector", "nodeType": "MemberAccess", - "src": "61311:45:1", + "src": "63050:45:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36243,18 +36243,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3437, + "id": 2929, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "61370:10:1", + "referencedDeclaration": 10, + "src": "63110:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3438, + "id": 2930, "isConstant": false, "isLValue": false, "isPure": false, @@ -36262,7 +36262,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61370:12:1", + "src": "63110:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -36270,36 +36270,36 @@ } }, { - "id": 3439, + "id": 2931, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3407, - "src": "61396:4:1", + "referencedDeclaration": 2899, + "src": "63137:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3440, + "id": 2932, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3411, - "src": "61414:7:1", + "referencedDeclaration": 2903, + "src": "63156:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3441, + "id": 2933, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3413, - "src": "61435:5:1", + "referencedDeclaration": 2905, + "src": "63178:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36330,31 +36330,31 @@ } ], "expression": { - "id": 3430, + "id": 2922, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61275:3:1", + "src": "63013:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3431, + "id": 2923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodeWithSelector", "nodeType": "MemberAccess", - "src": "61275:22:1", + "src": "63013:22:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bytes4) pure returns (bytes memory)" } }, - "id": 3442, + "id": 2934, "isConstant": false, "isLValue": false, "isPure": false, @@ -36362,7 +36362,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61275:175:1", + "src": "63013:181:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36371,14 +36371,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3443, + "id": 2935, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "61452:52:1", + "src": "63196:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -36398,32 +36398,32 @@ } ], "expression": { - "id": 3428, + "id": 2920, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61259:2:1", + "referencedDeclaration": 2901, + "src": "62997:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3429, + "id": 2921, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "functionCall", "nodeType": "MemberAccess", - "referencedDeclaration": 1225, - "src": "61259:15:1", + "referencedDeclaration": 717, + "src": "62997:15:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$bound_to$_t_address_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 3444, + "id": 2936, "isConstant": false, "isLValue": false, "isPure": false, @@ -36431,7 +36431,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61259:246:1", + "src": "62997:252:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36439,21 +36439,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "assignments": [ - 3447 + 2939 ], "declarations": [ { "constant": false, - "id": 3447, + "id": 2939, "mutability": "mutable", "name": "retval", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61515:13:1", + "scope": 2953, + "src": "63260:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36461,10 +36461,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 3446, + "id": 2938, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61515:6:1", + "src": "63260:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36473,16 +36473,16 @@ "visibility": "internal" } ], - "id": 3455, + "id": 2947, "initialValue": { "arguments": [ { - "id": 3450, + "id": 2942, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3427, - "src": "61542:10:1", + "referencedDeclaration": 2919, + "src": "63287:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36491,34 +36491,34 @@ { "components": [ { - "id": 3452, + "id": 2944, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" }, "typeName": { - "id": 3451, + "id": 2943, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": {} } } ], - "id": 3453, + "id": 2945, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61554:8:1", + "src": "63299:8:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" @@ -36537,31 +36537,31 @@ } ], "expression": { - "id": 3448, + "id": 2940, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61531:3:1", + "src": "63276:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3449, + "id": 2941, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "decode", "nodeType": "MemberAccess", - "src": "61531:10:1", + "src": "63276:10:0", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 3454, + "id": 2946, "isConstant": false, "isLValue": false, "isPure": false, @@ -36569,7 +36569,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61531:32:1", + "src": "63276:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes4", @@ -36577,7 +36577,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "expression": { @@ -36587,18 +36587,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 3458, + "id": 2950, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3456, + "id": 2948, "name": "retval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3447, - "src": "61581:6:1", + "referencedDeclaration": 2939, + "src": "63327:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36607,68 +36607,68 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3457, + "id": 2949, "name": "_ERC721_RECEIVED", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2596, - "src": "61591:16:1", + "referencedDeclaration": 2088, + "src": "63337:16:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "src": "61581:26:1", + "src": "63327:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3459, + "id": 2951, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61580:28:1", + "src": "63326:28:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3417, - "id": 3460, + "functionReturnParameters": 2909, + "id": 2952, "nodeType": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ] }, "documentation": { - "id": 3405, + "id": 2897, "nodeType": "StructuredDocumentation", - "src": "60479:542:1", + "src": "62201:551:0", "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3462, + "id": 2954, "implemented": true, "kind": "function", "modifiers": [], "name": "_checkOnERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 3414, + "id": 2906, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3407, + "id": 2899, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61058:12:1", + "scope": 2954, + "src": "62790:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36676,10 +36676,10 @@ "typeString": "address" }, "typeName": { - "id": 3406, + "id": 2898, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61058:7:1", + "src": "62790:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36690,12 +36690,12 @@ }, { "constant": false, - "id": 3409, + "id": 2901, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61072:10:1", + "scope": 2954, + "src": "62804:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36703,10 +36703,10 @@ "typeString": "address" }, "typeName": { - "id": 3408, + "id": 2900, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61072:7:1", + "src": "62804:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36717,12 +36717,12 @@ }, { "constant": false, - "id": 3411, + "id": 2903, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61084:15:1", + "scope": 2954, + "src": "62816:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36730,10 +36730,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3410, + "id": 2902, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61084:7:1", + "src": "62816:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36743,12 +36743,12 @@ }, { "constant": false, - "id": 3413, + "id": 2905, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61101:18:1", + "scope": 2954, + "src": "62833:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36756,10 +36756,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3412, + "id": 2904, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61101:5:1", + "src": "62833:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36768,20 +36768,20 @@ "visibility": "internal" } ], - "src": "61057:63:1" + "src": "62789:63:0" }, "returnParameters": { - "id": 3417, + "id": 2909, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3416, + "id": 2908, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61146:4:1", + "scope": 2954, + "src": "62879:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36789,10 +36789,10 @@ "typeString": "bool" }, "typeName": { - "id": 3415, + "id": 2907, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "61146:4:1", + "src": "62879:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -36801,48 +36801,48 @@ "visibility": "internal" } ], - "src": "61145:6:1" + "src": "62878:6:0" }, - "scope": 3498, - "src": "61026:589:1", + "scope": 2990, + "src": "62758:604:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 3485, + "id": 2977, "nodeType": "Block", - "src": "61791:125:1", + "src": "63545:128:0", "statements": [ { "expression": { - "id": 3474, + "id": 2966, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3470, + "id": 2962, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "61801:15:1", + "referencedDeclaration": 2098, + "src": "63556:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 3472, + "id": 2964, "indexExpression": { - "id": 3471, + "id": 2963, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61817:7:1", + "referencedDeclaration": 2959, + "src": "63572:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36853,7 +36853,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "61801:24:1", + "src": "63556:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36862,26 +36862,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3473, + "id": 2965, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61828:2:1", + "referencedDeclaration": 2957, + "src": "63583:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "61801:29:1", + "src": "63556:29:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3475, + "id": 2967, "nodeType": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "eventCall": { @@ -36889,12 +36889,12 @@ { "arguments": [ { - "id": 3479, + "id": 2971, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61869:7:1", + "referencedDeclaration": 2959, + "src": "63625:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36909,32 +36909,32 @@ } ], "expression": { - "id": 3477, + "id": 2969, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "61854:6:1", + "referencedDeclaration": 2990, + "src": "63610:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3478, + "id": 2970, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "61854:14:1", + "referencedDeclaration": 2194, + "src": "63610:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3480, + "id": 2972, "isConstant": false, "isLValue": false, "isPure": false, @@ -36942,7 +36942,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61854:23:1", + "src": "63610:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -36950,24 +36950,24 @@ } }, { - "id": 3481, + "id": 2973, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61879:2:1", + "referencedDeclaration": 2957, + "src": "63635:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3482, + "id": 2974, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61883:7:1", + "referencedDeclaration": 2959, + "src": "63639:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36989,18 +36989,18 @@ "typeString": "uint256" } ], - "id": 3476, + "id": 2968, "name": "Approval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 563, - "src": "61845:8:1", + "referencedDeclaration": 55, + "src": "63601:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3483, + "id": 2975, "isConstant": false, "isLValue": false, "isPure": false, @@ -37008,43 +37008,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61845:46:1", + "src": "63601:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3484, + "id": 2976, "nodeType": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ] }, "documentation": { - "id": 3463, + "id": 2955, "nodeType": "StructuredDocumentation", - "src": "61621:101:1", + "src": "63370:105:0", "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3486, + "id": 2978, "implemented": true, "kind": "function", "modifiers": [], "name": "_approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 3468, + "id": 2960, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3465, + "id": 2957, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61745:10:1", + "scope": 2978, + "src": "63499:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37052,10 +37052,10 @@ "typeString": "address" }, "typeName": { - "id": 3464, + "id": 2956, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61745:7:1", + "src": "63499:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37066,12 +37066,12 @@ }, { "constant": false, - "id": 3467, + "id": 2959, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61757:15:1", + "scope": 2978, + "src": "63511:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37079,10 +37079,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3466, + "id": 2958, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61757:7:1", + "src": "63511:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37091,51 +37091,51 @@ "visibility": "internal" } ], - "src": "61744:29:1" + "src": "63498:29:0" }, "returnParameters": { - "id": 3469, + "id": 2961, "nodeType": "ParameterList", "parameters": [], - "src": "61791:0:1" + "src": "63545:0:0" }, - "scope": 3498, - "src": "61727:189:1", + "scope": 2990, + "src": "63481:192:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3496, + "id": 2988, "nodeType": "Block", - "src": "62602:3:1", + "src": "64376:3:0", "statements": [] }, "documentation": { - "id": 3487, + "id": 2979, "nodeType": "StructuredDocumentation", - "src": "61922:585:1", + "src": "63681:599:0", "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3497, + "id": 2989, "implemented": true, "kind": "function", "modifiers": [], "name": "_beforeTokenTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3494, + "id": 2986, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3489, + "id": 2981, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62542:12:1", + "scope": 2989, + "src": "64316:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37143,10 +37143,10 @@ "typeString": "address" }, "typeName": { - "id": 3488, + "id": 2980, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62542:7:1", + "src": "64316:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37157,12 +37157,12 @@ }, { "constant": false, - "id": 3491, + "id": 2983, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62556:10:1", + "scope": 2989, + "src": "64330:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37170,10 +37170,10 @@ "typeString": "address" }, "typeName": { - "id": 3490, + "id": 2982, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62556:7:1", + "src": "64330:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37184,12 +37184,12 @@ }, { "constant": false, - "id": 3493, + "id": 2985, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62568:15:1", + "scope": 2989, + "src": "64342:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37197,10 +37197,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3492, + "id": 2984, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "62568:7:1", + "src": "64342:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37209,69 +37209,69 @@ "visibility": "internal" } ], - "src": "62541:43:1" + "src": "64315:43:0" }, "returnParameters": { - "id": 3495, + "id": 2987, "nodeType": "ParameterList", "parameters": [], - "src": "62602:0:1" + "src": "64376:0:0" }, - "scope": 3498, - "src": "62512:93:1", + "scope": 2990, + "src": "64286:93:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "46080:16527:1" + "scope": 2991, + "src": "47398:16984:0" } ], - "src": "84:62524:1" + "src": "87:64297:0" }, "legacyAST": { "attributes": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, "license": "MIT" @@ -37289,9 +37289,9 @@ ".0" ] }, - "id": 509, + "id": 1, "name": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "attributes": { @@ -37305,10 +37305,10 @@ "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", - "scope": 3499 + "scope": 2991 }, "children": [ { @@ -37320,7 +37320,7 @@ null ], "name": "_msgSender", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37333,9 +37333,9 @@ ] }, "children": [], - "id": 510, + "id": 2, "name": "ParameterList", - "src": "668:2:1" + "src": "684:2:0" }, { "children": [ @@ -37344,7 +37344,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 518, + "scope": 10, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -37357,25 +37357,25 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 511, + "id": 3, "name": "ElementaryTypeName", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 512, + "id": 4, "name": "VariableDeclaration", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 513, + "id": 5, "name": "ParameterList", - "src": "701:17:1" + "src": "717:17:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 513 + "functionReturnParameters": 5 }, "children": [ { @@ -37397,29 +37397,29 @@ "type": "msg", "value": "msg" }, - "id": 514, + "id": 6, "name": "Identifier", - "src": "736:3:1" + "src": "753:3:0" } ], - "id": 515, + "id": 7, "name": "MemberAccess", - "src": "736:10:1" + "src": "753:10:0" } ], - "id": 516, + "id": 8, "name": "Return", - "src": "729:17:1" + "src": "746:17:0" } ], - "id": 517, + "id": 9, "name": "Block", - "src": "719:34:1" + "src": "735:36:0" } ], - "id": 518, + "id": 10, "name": "FunctionDefinition", - "src": "649:104:1" + "src": "665:106:0" }, { "attributes": { @@ -37430,7 +37430,7 @@ null ], "name": "_msgData", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37443,9 +37443,9 @@ ] }, "children": [], - "id": 519, + "id": 11, "name": "ParameterList", - "src": "776:2:1" + "src": "796:2:0" }, { "children": [ @@ -37454,7 +37454,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 529, + "scope": 21, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -37466,19 +37466,19 @@ "name": "bytes", "type": "bytes" }, - "id": 520, + "id": 12, "name": "ElementaryTypeName", - "src": "810:5:1" + "src": "830:5:0" } ], - "id": 521, + "id": 13, "name": "VariableDeclaration", - "src": "810:12:1" + "src": "830:12:0" } ], - "id": 522, + "id": 14, "name": "ParameterList", - "src": "809:14:1" + "src": "829:14:0" }, { "children": [ @@ -37493,18 +37493,18 @@ "type": "contract Context", "value": "this" }, - "id": 523, + "id": 15, "name": "Identifier", - "src": "834:4:1" + "src": "855:4:0" } ], - "id": 524, + "id": 16, "name": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "attributes": { - "functionReturnParameters": 522 + "functionReturnParameters": 14 }, "children": [ { @@ -37526,34 +37526,34 @@ "type": "msg", "value": "msg" }, - "id": 525, + "id": 17, "name": "Identifier", - "src": "974:3:1" + "src": "996:3:0" } ], - "id": 526, + "id": 18, "name": "MemberAccess", - "src": "974:8:1" + "src": "996:8:0" } ], - "id": 527, + "id": 19, "name": "Return", - "src": "967:15:1" + "src": "989:15:0" } ], - "id": 528, + "id": 20, "name": "Block", - "src": "824:165:1" + "src": "844:168:0" } ], - "id": 529, + "id": 21, "name": "FunctionDefinition", - "src": "759:230:1" + "src": "779:233:0" } ], - "id": 530, + "id": 22, "name": "ContractDefinition", - "src": "617:374:1" + "src": "632:383:0" }, { "attributes": { @@ -37567,9 +37567,9 @@ ".0" ] }, - "id": 531, + "id": 23, "name": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "attributes": { @@ -37583,19 +37583,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, - "id": 532, + "id": 24, "name": "StructuredDocumentation", - "src": "1086:279:1" + "src": "1116:287:0" }, { "attributes": { @@ -37607,7 +37607,7 @@ null ], "name": "supportsInterface", - "scope": 541, + "scope": 33, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -37617,9 +37617,9 @@ "attributes": { "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, - "id": 533, + "id": 25, "name": "StructuredDocumentation", - "src": "1390:340:1" + "src": "1430:347:0" }, { "children": [ @@ -37628,7 +37628,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -37640,19 +37640,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 534, + "id": 26, "name": "ElementaryTypeName", - "src": "1762:6:1" + "src": "1810:6:0" } ], - "id": 535, + "id": 27, "name": "VariableDeclaration", - "src": "1762:18:1" + "src": "1810:18:0" } ], - "id": 536, + "id": 28, "name": "ParameterList", - "src": "1761:20:1" + "src": "1809:20:0" }, { "children": [ @@ -37661,7 +37661,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -37673,29 +37673,29 @@ "name": "bool", "type": "bool" }, - "id": 537, + "id": 29, "name": "ElementaryTypeName", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 538, + "id": 30, "name": "VariableDeclaration", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 539, + "id": 31, "name": "ParameterList", - "src": "1804:6:1" + "src": "1852:6:0" } ], - "id": 540, + "id": 32, "name": "FunctionDefinition", - "src": "1735:76:1" + "src": "1783:76:0" } ], - "id": 541, + "id": 33, "name": "ContractDefinition", - "src": "1366:447:1" + "src": "1405:457:0" }, { "attributes": { @@ -37709,33 +37709,33 @@ ".0" ] }, - "id": 542, + "id": 34, "name": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Required interface of an ERC721 compliant contract." }, - "id": 543, + "id": 35, "name": "StructuredDocumentation", - "src": "1907:67:1" + "src": "1962:69:0" }, { "attributes": {}, @@ -37743,17 +37743,17 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 544, + "id": 36, "name": "UserDefinedTypeName", - "src": "1996:7:1" + "src": "2054:7:0" } ], - "id": 545, + "id": 37, "name": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" }, { "attributes": { @@ -37765,9 +37765,9 @@ "attributes": { "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 546, + "id": 38, "name": "StructuredDocumentation", - "src": "2010:88:1" + "src": "2069:90:0" }, { "children": [ @@ -37777,7 +37777,7 @@ "indexed": true, "mutability": "mutable", "name": "from", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37790,14 +37790,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 547, + "id": 39, "name": "ElementaryTypeName", - "src": "2118:7:1" + "src": "2180:7:0" } ], - "id": 548, + "id": 40, "name": "VariableDeclaration", - "src": "2118:20:1" + "src": "2180:20:0" }, { "attributes": { @@ -37805,7 +37805,7 @@ "indexed": true, "mutability": "mutable", "name": "to", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37818,14 +37818,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 549, + "id": 41, "name": "ElementaryTypeName", - "src": "2140:7:1" + "src": "2202:7:0" } ], - "id": 550, + "id": 42, "name": "VariableDeclaration", - "src": "2140:18:1" + "src": "2202:18:0" }, { "attributes": { @@ -37833,7 +37833,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -37845,24 +37845,24 @@ "name": "uint256", "type": "uint256" }, - "id": 551, + "id": 43, "name": "ElementaryTypeName", - "src": "2160:7:1" + "src": "2222:7:0" } ], - "id": 552, + "id": 44, "name": "VariableDeclaration", - "src": "2160:23:1" + "src": "2222:23:0" } ], - "id": 553, + "id": 45, "name": "ParameterList", - "src": "2117:67:1" + "src": "2179:67:0" } ], - "id": 554, + "id": 46, "name": "EventDefinition", - "src": "2103:82:1" + "src": "2165:82:0" }, { "attributes": { @@ -37874,9 +37874,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 555, + "id": 47, "name": "StructuredDocumentation", - "src": "2191:94:1" + "src": "2255:96:0" }, { "children": [ @@ -37886,7 +37886,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37899,14 +37899,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 556, + "id": 48, "name": "ElementaryTypeName", - "src": "2305:7:1" + "src": "2372:7:0" } ], - "id": 557, + "id": 49, "name": "VariableDeclaration", - "src": "2305:21:1" + "src": "2372:21:0" }, { "attributes": { @@ -37914,7 +37914,7 @@ "indexed": true, "mutability": "mutable", "name": "approved", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37927,14 +37927,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 558, + "id": 50, "name": "ElementaryTypeName", - "src": "2328:7:1" + "src": "2395:7:0" } ], - "id": 559, + "id": 51, "name": "VariableDeclaration", - "src": "2328:24:1" + "src": "2395:24:0" }, { "attributes": { @@ -37942,7 +37942,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -37954,24 +37954,24 @@ "name": "uint256", "type": "uint256" }, - "id": 560, + "id": 52, "name": "ElementaryTypeName", - "src": "2354:7:1" + "src": "2421:7:0" } ], - "id": 561, + "id": 53, "name": "VariableDeclaration", - "src": "2354:23:1" + "src": "2421:23:0" } ], - "id": 562, + "id": 54, "name": "ParameterList", - "src": "2304:74:1" + "src": "2371:74:0" } ], - "id": 563, + "id": 55, "name": "EventDefinition", - "src": "2290:89:1" + "src": "2357:89:0" }, { "attributes": { @@ -37983,9 +37983,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 564, + "id": 56, "name": "StructuredDocumentation", - "src": "2385:117:1" + "src": "2454:119:0" }, { "children": [ @@ -37995,7 +37995,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38008,14 +38008,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 565, + "id": 57, "name": "ElementaryTypeName", - "src": "2528:7:1" + "src": "2600:7:0" } ], - "id": 566, + "id": 58, "name": "VariableDeclaration", - "src": "2528:21:1" + "src": "2600:21:0" }, { "attributes": { @@ -38023,7 +38023,7 @@ "indexed": true, "mutability": "mutable", "name": "operator", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38036,14 +38036,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 567, + "id": 59, "name": "ElementaryTypeName", - "src": "2551:7:1" + "src": "2623:7:0" } ], - "id": 568, + "id": 60, "name": "VariableDeclaration", - "src": "2551:24:1" + "src": "2623:24:0" }, { "attributes": { @@ -38051,7 +38051,7 @@ "indexed": false, "mutability": "mutable", "name": "approved", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38063,24 +38063,24 @@ "name": "bool", "type": "bool" }, - "id": 569, + "id": 61, "name": "ElementaryTypeName", - "src": "2577:4:1" + "src": "2649:4:0" } ], - "id": 570, + "id": 62, "name": "VariableDeclaration", - "src": "2577:13:1" + "src": "2649:13:0" } ], - "id": 571, + "id": 63, "name": "ParameterList", - "src": "2527:64:1" + "src": "2599:64:0" } ], - "id": 572, + "id": 64, "name": "EventDefinition", - "src": "2507:85:1" + "src": "2579:85:0" }, { "attributes": { @@ -38092,7 +38092,7 @@ null ], "name": "balanceOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38102,9 +38102,9 @@ "attributes": { "text": " @dev Returns the number of tokens in ``owner``'s account." }, - "id": 573, + "id": 65, "name": "StructuredDocumentation", - "src": "2598:76:1" + "src": "2672:78:0" }, { "children": [ @@ -38113,7 +38113,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38126,19 +38126,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 574, + "id": 66, "name": "ElementaryTypeName", - "src": "2698:7:1" + "src": "2775:7:0" } ], - "id": 575, + "id": 67, "name": "VariableDeclaration", - "src": "2698:13:1" + "src": "2775:13:0" } ], - "id": 576, + "id": 68, "name": "ParameterList", - "src": "2697:15:1" + "src": "2774:15:0" }, { "children": [ @@ -38147,7 +38147,7 @@ "constant": false, "mutability": "mutable", "name": "balance", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38159,24 +38159,24 @@ "name": "uint256", "type": "uint256" }, - "id": 577, + "id": 69, "name": "ElementaryTypeName", - "src": "2736:7:1" + "src": "2813:7:0" } ], - "id": 578, + "id": 70, "name": "VariableDeclaration", - "src": "2736:15:1" + "src": "2813:15:0" } ], - "id": 579, + "id": 71, "name": "ParameterList", - "src": "2735:17:1" + "src": "2812:17:0" } ], - "id": 580, + "id": 72, "name": "FunctionDefinition", - "src": "2679:74:1" + "src": "2756:74:0" }, { "attributes": { @@ -38188,7 +38188,7 @@ null ], "name": "ownerOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38198,9 +38198,9 @@ "attributes": { "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 581, + "id": 73, "name": "StructuredDocumentation", - "src": "2759:131:1" + "src": "2838:137:0" }, { "children": [ @@ -38209,7 +38209,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38221,19 +38221,19 @@ "name": "uint256", "type": "uint256" }, - "id": 582, + "id": 74, "name": "ElementaryTypeName", - "src": "2912:7:1" + "src": "2998:7:0" } ], - "id": 583, + "id": 75, "name": "VariableDeclaration", - "src": "2912:15:1" + "src": "2998:15:0" } ], - "id": 584, + "id": 76, "name": "ParameterList", - "src": "2911:17:1" + "src": "2997:17:0" }, { "children": [ @@ -38242,7 +38242,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38255,24 +38255,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 585, + "id": 77, "name": "ElementaryTypeName", - "src": "2952:7:1" + "src": "3038:7:0" } ], - "id": 586, + "id": 78, "name": "VariableDeclaration", - "src": "2952:13:1" + "src": "3038:13:0" } ], - "id": 587, + "id": 79, "name": "ParameterList", - "src": "2951:15:1" + "src": "3037:15:0" } ], - "id": 588, + "id": 80, "name": "FunctionDefinition", - "src": "2895:72:1" + "src": "2981:72:0" }, { "attributes": { @@ -38284,7 +38284,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38294,9 +38294,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 589, + "id": 81, "name": "StructuredDocumentation", - "src": "2973:690:1" + "src": "3061:703:0" }, { "children": [ @@ -38305,7 +38305,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38318,21 +38318,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 590, + "id": 82, "name": "ElementaryTypeName", - "src": "3694:7:1" + "src": "3796:7:0" } ], - "id": 591, + "id": 83, "name": "VariableDeclaration", - "src": "3694:12:1" + "src": "3796:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38345,21 +38345,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 592, + "id": 84, "name": "ElementaryTypeName", - "src": "3708:7:1" + "src": "3810:7:0" } ], - "id": 593, + "id": 85, "name": "VariableDeclaration", - "src": "3708:10:1" + "src": "3810:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38371,19 +38371,19 @@ "name": "uint256", "type": "uint256" }, - "id": 594, + "id": 86, "name": "ElementaryTypeName", - "src": "3720:7:1" + "src": "3822:7:0" } ], - "id": 595, + "id": 87, "name": "VariableDeclaration", - "src": "3720:15:1" + "src": "3822:15:0" } ], - "id": 596, + "id": 88, "name": "ParameterList", - "src": "3693:43:1" + "src": "3795:43:0" }, { "attributes": { @@ -38392,14 +38392,14 @@ ] }, "children": [], - "id": 597, + "id": 89, "name": "ParameterList", - "src": "3745:0:1" + "src": "3847:0:0" } ], - "id": 598, + "id": 90, "name": "FunctionDefinition", - "src": "3668:78:1" + "src": "3770:78:0" }, { "attributes": { @@ -38411,7 +38411,7 @@ null ], "name": "transferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38421,9 +38421,9 @@ "attributes": { "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, - "id": 599, + "id": 91, "name": "StructuredDocumentation", - "src": "3752:504:1" + "src": "3856:517:0" }, { "children": [ @@ -38432,7 +38432,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38445,21 +38445,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 600, + "id": 92, "name": "ElementaryTypeName", - "src": "4283:7:1" + "src": "4401:7:0" } ], - "id": 601, + "id": 93, "name": "VariableDeclaration", - "src": "4283:12:1" + "src": "4401:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38472,21 +38472,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 602, + "id": 94, "name": "ElementaryTypeName", - "src": "4297:7:1" + "src": "4415:7:0" } ], - "id": 603, + "id": 95, "name": "VariableDeclaration", - "src": "4297:10:1" + "src": "4415:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38498,19 +38498,19 @@ "name": "uint256", "type": "uint256" }, - "id": 604, + "id": 96, "name": "ElementaryTypeName", - "src": "4309:7:1" + "src": "4427:7:0" } ], - "id": 605, + "id": 97, "name": "VariableDeclaration", - "src": "4309:15:1" + "src": "4427:15:0" } ], - "id": 606, + "id": 98, "name": "ParameterList", - "src": "4282:43:1" + "src": "4400:43:0" }, { "attributes": { @@ -38519,14 +38519,14 @@ ] }, "children": [], - "id": 607, + "id": 99, "name": "ParameterList", - "src": "4334:0:1" + "src": "4452:0:0" } ], - "id": 608, + "id": 100, "name": "FunctionDefinition", - "src": "4261:74:1" + "src": "4379:74:0" }, { "attributes": { @@ -38538,7 +38538,7 @@ null ], "name": "approve", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38548,9 +38548,9 @@ "attributes": { "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, - "id": 609, + "id": 101, "name": "StructuredDocumentation", - "src": "4341:452:1" + "src": "4461:464:0" }, { "children": [ @@ -38559,7 +38559,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38572,21 +38572,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 610, + "id": 102, "name": "ElementaryTypeName", - "src": "4815:7:1" + "src": "4948:7:0" } ], - "id": 611, + "id": 103, "name": "VariableDeclaration", - "src": "4815:10:1" + "src": "4948:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38598,19 +38598,19 @@ "name": "uint256", "type": "uint256" }, - "id": 612, + "id": 104, "name": "ElementaryTypeName", - "src": "4827:7:1" + "src": "4960:7:0" } ], - "id": 613, + "id": 105, "name": "VariableDeclaration", - "src": "4827:15:1" + "src": "4960:15:0" } ], - "id": 614, + "id": 106, "name": "ParameterList", - "src": "4814:29:1" + "src": "4947:29:0" }, { "attributes": { @@ -38619,14 +38619,14 @@ ] }, "children": [], - "id": 615, + "id": 107, "name": "ParameterList", - "src": "4852:0:1" + "src": "4985:0:0" } ], - "id": 616, + "id": 108, "name": "FunctionDefinition", - "src": "4798:55:1" + "src": "4931:55:0" }, { "attributes": { @@ -38638,7 +38638,7 @@ null ], "name": "getApproved", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38648,9 +38648,9 @@ "attributes": { "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 617, + "id": 109, "name": "StructuredDocumentation", - "src": "4859:139:1" + "src": "4994:145:0" }, { "children": [ @@ -38659,7 +38659,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38671,19 +38671,19 @@ "name": "uint256", "type": "uint256" }, - "id": 618, + "id": 110, "name": "ElementaryTypeName", - "src": "5024:7:1" + "src": "5166:7:0" } ], - "id": 619, + "id": 111, "name": "VariableDeclaration", - "src": "5024:15:1" + "src": "5166:15:0" } ], - "id": 620, + "id": 112, "name": "ParameterList", - "src": "5023:17:1" + "src": "5165:17:0" }, { "children": [ @@ -38692,7 +38692,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38705,24 +38705,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 621, + "id": 113, "name": "ElementaryTypeName", - "src": "5064:7:1" + "src": "5206:7:0" } ], - "id": 622, + "id": 114, "name": "VariableDeclaration", - "src": "5064:16:1" + "src": "5206:16:0" } ], - "id": 623, + "id": 115, "name": "ParameterList", - "src": "5063:18:1" + "src": "5205:18:0" } ], - "id": 624, + "id": 116, "name": "FunctionDefinition", - "src": "5003:79:1" + "src": "5145:79:0" }, { "attributes": { @@ -38734,7 +38734,7 @@ null ], "name": "setApprovalForAll", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38744,9 +38744,9 @@ "attributes": { "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, - "id": 625, + "id": 117, "name": "StructuredDocumentation", - "src": "5088:309:1" + "src": "5232:318:0" }, { "children": [ @@ -38755,7 +38755,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38768,21 +38768,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 626, + "id": 118, "name": "ElementaryTypeName", - "src": "5429:7:1" + "src": "5583:7:0" } ], - "id": 627, + "id": 119, "name": "VariableDeclaration", - "src": "5429:16:1" + "src": "5583:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_approved", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38794,19 +38794,19 @@ "name": "bool", "type": "bool" }, - "id": 628, + "id": 120, "name": "ElementaryTypeName", - "src": "5447:4:1" + "src": "5601:4:0" } ], - "id": 629, + "id": 121, "name": "VariableDeclaration", - "src": "5447:14:1" + "src": "5601:14:0" } ], - "id": 630, + "id": 122, "name": "ParameterList", - "src": "5428:34:1" + "src": "5582:34:0" }, { "attributes": { @@ -38815,14 +38815,14 @@ ] }, "children": [], - "id": 631, + "id": 123, "name": "ParameterList", - "src": "5471:0:1" + "src": "5625:0:0" } ], - "id": 632, + "id": 124, "name": "FunctionDefinition", - "src": "5402:70:1" + "src": "5556:70:0" }, { "attributes": { @@ -38834,7 +38834,7 @@ null ], "name": "isApprovedForAll", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38844,9 +38844,9 @@ "attributes": { "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, - "id": 633, + "id": 125, "name": "StructuredDocumentation", - "src": "5478:138:1" + "src": "5634:142:0" }, { "children": [ @@ -38855,7 +38855,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38868,21 +38868,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 634, + "id": 126, "name": "ElementaryTypeName", - "src": "5647:7:1" + "src": "5808:7:0" } ], - "id": 635, + "id": 127, "name": "VariableDeclaration", - "src": "5647:13:1" + "src": "5808:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38895,19 +38895,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 636, + "id": 128, "name": "ElementaryTypeName", - "src": "5662:7:1" + "src": "5823:7:0" } ], - "id": 637, + "id": 129, "name": "VariableDeclaration", - "src": "5662:16:1" + "src": "5823:16:0" } ], - "id": 638, + "id": 130, "name": "ParameterList", - "src": "5646:33:1" + "src": "5807:33:0" }, { "children": [ @@ -38916,7 +38916,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38928,24 +38928,24 @@ "name": "bool", "type": "bool" }, - "id": 639, + "id": 131, "name": "ElementaryTypeName", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 640, + "id": 132, "name": "VariableDeclaration", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 641, + "id": 133, "name": "ParameterList", - "src": "5702:6:1" + "src": "5863:6:0" } ], - "id": 642, + "id": 134, "name": "FunctionDefinition", - "src": "5621:88:1" + "src": "5782:88:0" }, { "attributes": { @@ -38957,7 +38957,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38967,9 +38967,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 643, + "id": 135, "name": "StructuredDocumentation", - "src": "5715:568:1" + "src": "5878:580:0" }, { "children": [ @@ -38978,7 +38978,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38991,21 +38991,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 644, + "id": 136, "name": "ElementaryTypeName", - "src": "6314:7:1" + "src": "6490:7:0" } ], - "id": 645, + "id": 137, "name": "VariableDeclaration", - "src": "6314:12:1" + "src": "6490:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39018,21 +39018,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 646, + "id": 138, "name": "ElementaryTypeName", - "src": "6328:7:1" + "src": "6504:7:0" } ], - "id": 647, + "id": 139, "name": "VariableDeclaration", - "src": "6328:10:1" + "src": "6504:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39044,21 +39044,21 @@ "name": "uint256", "type": "uint256" }, - "id": 648, + "id": 140, "name": "ElementaryTypeName", - "src": "6340:7:1" + "src": "6516:7:0" } ], - "id": 649, + "id": 141, "name": "VariableDeclaration", - "src": "6340:15:1" + "src": "6516:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39070,19 +39070,19 @@ "name": "bytes", "type": "bytes" }, - "id": 650, + "id": 142, "name": "ElementaryTypeName", - "src": "6357:5:1" + "src": "6533:5:0" } ], - "id": 651, + "id": 143, "name": "VariableDeclaration", - "src": "6357:19:1" + "src": "6533:19:0" } ], - "id": 652, + "id": 144, "name": "ParameterList", - "src": "6313:64:1" + "src": "6489:64:0" }, { "attributes": { @@ -39091,19 +39091,19 @@ ] }, "children": [], - "id": 653, + "id": 145, "name": "ParameterList", - "src": "6386:0:1" + "src": "6562:0:0" } ], - "id": 654, + "id": 146, "name": "FunctionDefinition", - "src": "6288:99:1" + "src": "6464:99:0" } ], - "id": 655, + "id": 147, "name": "ContractDefinition", - "src": "1975:4414:1" + "src": "2033:4533:0" }, { "attributes": { @@ -39117,35 +39117,35 @@ ".0" ] }, - "id": 656, + "id": 148, "name": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 657, + "id": 149, "name": "StructuredDocumentation", - "src": "6491:133:1" + "src": "6674:136:0" }, { "attributes": {}, @@ -39153,17 +39153,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 658, + "id": 150, "name": "UserDefinedTypeName", - "src": "6654:7:1" + "src": "6841:7:0" } ], - "id": 659, + "id": 151, "name": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" }, { "attributes": { @@ -39175,7 +39175,7 @@ null ], "name": "name", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39185,9 +39185,9 @@ "attributes": { "text": " @dev Returns the token collection name." }, - "id": 660, + "id": 152, "name": "StructuredDocumentation", - "src": "6669:58:1" + "src": "6858:60:0" }, { "attributes": { @@ -39196,9 +39196,9 @@ ] }, "children": [], - "id": 661, + "id": 153, "name": "ParameterList", - "src": "6745:2:1" + "src": "6937:2:0" }, { "children": [ @@ -39207,7 +39207,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 665, + "scope": 157, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39219,24 +39219,24 @@ "name": "string", "type": "string" }, - "id": 662, + "id": 154, "name": "ElementaryTypeName", - "src": "6771:6:1" + "src": "6963:6:0" } ], - "id": 663, + "id": 155, "name": "VariableDeclaration", - "src": "6771:13:1" + "src": "6963:13:0" } ], - "id": 664, + "id": 156, "name": "ParameterList", - "src": "6770:15:1" + "src": "6962:15:0" } ], - "id": 665, + "id": 157, "name": "FunctionDefinition", - "src": "6732:54:1" + "src": "6924:54:0" }, { "attributes": { @@ -39248,7 +39248,7 @@ null ], "name": "symbol", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39258,9 +39258,9 @@ "attributes": { "text": " @dev Returns the token collection symbol." }, - "id": 666, + "id": 158, "name": "StructuredDocumentation", - "src": "6792:60:1" + "src": "6986:62:0" }, { "attributes": { @@ -39269,9 +39269,9 @@ ] }, "children": [], - "id": 667, + "id": 159, "name": "ParameterList", - "src": "6872:2:1" + "src": "7069:2:0" }, { "children": [ @@ -39280,7 +39280,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 671, + "scope": 163, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39292,24 +39292,24 @@ "name": "string", "type": "string" }, - "id": 668, + "id": 160, "name": "ElementaryTypeName", - "src": "6898:6:1" + "src": "7095:6:0" } ], - "id": 669, + "id": 161, "name": "VariableDeclaration", - "src": "6898:13:1" + "src": "7095:13:0" } ], - "id": 670, + "id": 162, "name": "ParameterList", - "src": "6897:15:1" + "src": "7094:15:0" } ], - "id": 671, + "id": 163, "name": "FunctionDefinition", - "src": "6857:56:1" + "src": "7054:56:0" }, { "attributes": { @@ -39321,7 +39321,7 @@ null ], "name": "tokenURI", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39331,9 +39331,9 @@ "attributes": { "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, - "id": 672, + "id": 164, "name": "StructuredDocumentation", - "src": "6919:90:1" + "src": "7118:92:0" }, { "children": [ @@ -39342,7 +39342,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39354,19 +39354,19 @@ "name": "uint256", "type": "uint256" }, - "id": 673, + "id": 165, "name": "ElementaryTypeName", - "src": "7032:7:1" + "src": "7234:7:0" } ], - "id": 674, + "id": 166, "name": "VariableDeclaration", - "src": "7032:15:1" + "src": "7234:15:0" } ], - "id": 675, + "id": 167, "name": "ParameterList", - "src": "7031:17:1" + "src": "7233:17:0" }, { "children": [ @@ -39375,7 +39375,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39387,29 +39387,29 @@ "name": "string", "type": "string" }, - "id": 676, + "id": 168, "name": "ElementaryTypeName", - "src": "7072:6:1" + "src": "7274:6:0" } ], - "id": 677, + "id": 169, "name": "VariableDeclaration", - "src": "7072:13:1" + "src": "7274:13:0" } ], - "id": 678, + "id": 170, "name": "ParameterList", - "src": "7071:15:1" + "src": "7273:15:0" } ], - "id": 679, + "id": 171, "name": "FunctionDefinition", - "src": "7014:73:1" + "src": "7216:73:0" } ], - "id": 680, + "id": 172, "name": "ContractDefinition", - "src": "6625:464:1" + "src": "6812:480:0" }, { "attributes": { @@ -39423,35 +39423,35 @@ ".0" ] }, - "id": 681, + "id": 173, "name": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 682, + "id": 174, "name": "StructuredDocumentation", - "src": "7195:136:1" + "src": "7406:139:0" }, { "attributes": {}, @@ -39459,17 +39459,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 683, + "id": 175, "name": "UserDefinedTypeName", - "src": "7363:7:1" + "src": "7578:7:0" } ], - "id": 684, + "id": 176, "name": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" }, { "attributes": { @@ -39481,7 +39481,7 @@ null ], "name": "totalSupply", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39491,9 +39491,9 @@ "attributes": { "text": " @dev Returns the total amount of tokens stored by the contract." }, - "id": 685, + "id": 177, "name": "StructuredDocumentation", - "src": "7378:82:1" + "src": "7595:84:0" }, { "attributes": { @@ -39502,9 +39502,9 @@ ] }, "children": [], - "id": 686, + "id": 178, "name": "ParameterList", - "src": "7485:2:1" + "src": "7705:2:0" }, { "children": [ @@ -39513,7 +39513,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 690, + "scope": 182, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39525,24 +39525,24 @@ "name": "uint256", "type": "uint256" }, - "id": 687, + "id": 179, "name": "ElementaryTypeName", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 688, + "id": 180, "name": "VariableDeclaration", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 689, + "id": 181, "name": "ParameterList", - "src": "7510:9:1" + "src": "7730:9:0" } ], - "id": 690, + "id": 182, "name": "FunctionDefinition", - "src": "7465:55:1" + "src": "7685:55:0" }, { "attributes": { @@ -39554,7 +39554,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39564,9 +39564,9 @@ "attributes": { "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, - "id": 691, + "id": 183, "name": "StructuredDocumentation", - "src": "7526:171:1" + "src": "7748:174:0" }, { "children": [ @@ -39575,7 +39575,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39588,21 +39588,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 692, + "id": 184, "name": "ElementaryTypeName", - "src": "7731:7:1" + "src": "7957:7:0" } ], - "id": 693, + "id": 185, "name": "VariableDeclaration", - "src": "7731:13:1" + "src": "7957:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39614,19 +39614,19 @@ "name": "uint256", "type": "uint256" }, - "id": 694, + "id": 186, "name": "ElementaryTypeName", - "src": "7746:7:1" + "src": "7972:7:0" } ], - "id": 695, + "id": 187, "name": "VariableDeclaration", - "src": "7746:13:1" + "src": "7972:13:0" } ], - "id": 696, + "id": 188, "name": "ParameterList", - "src": "7730:30:1" + "src": "7956:30:0" }, { "children": [ @@ -39635,7 +39635,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39647,24 +39647,24 @@ "name": "uint256", "type": "uint256" }, - "id": 697, + "id": 189, "name": "ElementaryTypeName", - "src": "7784:7:1" + "src": "8010:7:0" } ], - "id": 698, + "id": 190, "name": "VariableDeclaration", - "src": "7784:15:1" + "src": "8010:15:0" } ], - "id": 699, + "id": 191, "name": "ParameterList", - "src": "7783:17:1" + "src": "8009:17:0" } ], - "id": 700, + "id": 192, "name": "FunctionDefinition", - "src": "7702:99:1" + "src": "7928:99:0" }, { "attributes": { @@ -39676,7 +39676,7 @@ null ], "name": "tokenByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39686,9 +39686,9 @@ "attributes": { "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, - "id": 701, + "id": 193, "name": "StructuredDocumentation", - "src": "7807:164:1" + "src": "8035:167:0" }, { "children": [ @@ -39697,7 +39697,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39709,19 +39709,19 @@ "name": "uint256", "type": "uint256" }, - "id": 702, + "id": 194, "name": "ElementaryTypeName", - "src": "7998:7:1" + "src": "8230:7:0" } ], - "id": 703, + "id": 195, "name": "VariableDeclaration", - "src": "7998:13:1" + "src": "8230:13:0" } ], - "id": 704, + "id": 196, "name": "ParameterList", - "src": "7997:15:1" + "src": "8229:15:0" }, { "children": [ @@ -39730,7 +39730,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39742,29 +39742,29 @@ "name": "uint256", "type": "uint256" }, - "id": 705, + "id": 197, "name": "ElementaryTypeName", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 706, + "id": 198, "name": "VariableDeclaration", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 707, + "id": 199, "name": "ParameterList", - "src": "8035:9:1" + "src": "8267:9:0" } ], - "id": 708, + "id": 200, "name": "FunctionDefinition", - "src": "7976:69:1" + "src": "8208:69:0" } ], - "id": 709, + "id": 201, "name": "ContractDefinition", - "src": "7332:715:1" + "src": "7547:733:0" }, { "attributes": { @@ -39778,9 +39778,9 @@ ".0" ] }, - "id": 710, + "id": 202, "name": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "attributes": { @@ -39794,19 +39794,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, - "id": 711, + "id": 203, "name": "StructuredDocumentation", - "src": "8150:152:1" + "src": "8390:156:0" }, { "attributes": { @@ -39818,7 +39818,7 @@ null ], "name": "onERC721Received", - "scope": 726, + "scope": 218, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -39828,9 +39828,9 @@ "attributes": { "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, - "id": 712, + "id": 204, "name": "StructuredDocumentation", - "src": "8335:485:1" + "src": "8581:493:0" }, { "children": [ @@ -39839,7 +39839,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39852,21 +39852,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 713, + "id": 205, "name": "ElementaryTypeName", - "src": "8851:7:1" + "src": "9106:7:0" } ], - "id": 714, + "id": 206, "name": "VariableDeclaration", - "src": "8851:16:1" + "src": "9106:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "from", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39879,21 +39879,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 715, + "id": 207, "name": "ElementaryTypeName", - "src": "8869:7:1" + "src": "9124:7:0" } ], - "id": 716, + "id": 208, "name": "VariableDeclaration", - "src": "8869:12:1" + "src": "9124:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39905,21 +39905,21 @@ "name": "uint256", "type": "uint256" }, - "id": 717, + "id": 209, "name": "ElementaryTypeName", - "src": "8883:7:1" + "src": "9138:7:0" } ], - "id": 718, + "id": 210, "name": "VariableDeclaration", - "src": "8883:15:1" + "src": "9138:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39931,19 +39931,19 @@ "name": "bytes", "type": "bytes" }, - "id": 719, + "id": 211, "name": "ElementaryTypeName", - "src": "8900:5:1" + "src": "9155:5:0" } ], - "id": 720, + "id": 212, "name": "VariableDeclaration", - "src": "8900:19:1" + "src": "9155:19:0" } ], - "id": 721, + "id": 213, "name": "ParameterList", - "src": "8850:70:1" + "src": "9105:70:0" }, { "children": [ @@ -39952,7 +39952,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -39964,29 +39964,29 @@ "name": "bytes4", "type": "bytes4" }, - "id": 722, + "id": 214, "name": "ElementaryTypeName", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 723, + "id": 215, "name": "VariableDeclaration", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 724, + "id": 216, "name": "ParameterList", - "src": "8938:8:1" + "src": "9193:8:0" } ], - "id": 725, + "id": 217, "name": "FunctionDefinition", - "src": "8825:122:1" + "src": "9080:122:0" } ], - "id": 726, + "id": 218, "name": "ContractDefinition", - "src": "8303:646:1" + "src": "8548:657:0" }, { "attributes": { @@ -40000,33 +40000,33 @@ ".0" ] }, - "id": 727, + "id": 219, "name": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "attributes": { "abstract": true, "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, - "id": 728, + "id": 220, "name": "StructuredDocumentation", - "src": "9043:171:1" + "src": "9305:176:0" }, { "attributes": {}, @@ -40034,24 +40034,24 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 729, + "id": 221, "name": "UserDefinedTypeName", - "src": "9243:7:1" + "src": "9511:7:0" } ], - "id": 730, + "id": 222, "name": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -40063,9 +40063,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 731, + "id": 223, "name": "ElementaryTypeName", - "src": "9340:6:1" + "src": "9612:6:0" }, { "attributes": { @@ -40078,21 +40078,21 @@ "type": "int_const 33540519", "value": "0x01ffc9a7" }, - "id": 732, + "id": 224, "name": "Literal", - "src": "9387:10:1" + "src": "9659:10:0" } ], - "id": 733, + "id": 225, "name": "VariableDeclaration", - "src": "9340:57:1" + "src": "9612:57:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_supportedInterfaces", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "mapping(bytes4 => bool)", @@ -40109,36 +40109,36 @@ "name": "bytes4", "type": "bytes4" }, - "id": 735, + "id": 227, "name": "ElementaryTypeName", - "src": "9499:6:1" + "src": "9776:6:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 736, + "id": 228, "name": "ElementaryTypeName", - "src": "9509:4:1" + "src": "9786:4:0" } ], - "id": 737, + "id": 229, "name": "Mapping", - "src": "9491:23:1" + "src": "9768:23:0" }, { "attributes": { "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 734, + "id": 226, "name": "StructuredDocumentation", - "src": "9404:82:1" + "src": "9678:84:0" } ], - "id": 738, + "id": 230, "name": "VariableDeclaration", - "src": "9491:52:1" + "src": "9768:52:0" }, { "attributes": { @@ -40149,7 +40149,7 @@ null ], "name": "", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -40162,9 +40162,9 @@ ] }, "children": [], - "id": 739, + "id": 231, "name": "ParameterList", - "src": "9562:2:1" + "src": "9841:2:0" }, { "attributes": { @@ -40173,9 +40173,9 @@ ] }, "children": [], - "id": 740, + "id": 232, "name": "ParameterList", - "src": "9565:0:1" + "src": "9844:0:0" }, { "children": [ @@ -40207,51 +40207,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 741, + "id": 233, "name": "Identifier", - "src": "9711:18:1" + "src": "9993:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 733, + "referencedDeclaration": 225, "type": "bytes4", "value": "_INTERFACE_ID_ERC165" }, - "id": 742, + "id": 234, "name": "Identifier", - "src": "9730:20:1" + "src": "10012:20:0" } ], - "id": 743, + "id": 235, "name": "FunctionCall", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 744, + "id": 236, "name": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 745, + "id": 237, "name": "Block", - "src": "9565:193:1" + "src": "9844:197:0" } ], - "id": 746, + "id": 238, "name": "FunctionDefinition", - "src": "9550:208:1" + "src": "9829:212:0" }, { "attributes": { "baseFunctions": [ - 540 + 32 ], "functionSelector": "01ffc9a7", "implemented": true, @@ -40261,7 +40261,7 @@ null ], "name": "supportsInterface", - "scope": 781, + "scope": 273, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -40271,9 +40271,9 @@ "attributes": { "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, - "id": 747, + "id": 239, "name": "StructuredDocumentation", - "src": "9764:139:1" + "src": "10049:143:0" }, { "attributes": { @@ -40281,9 +40281,9 @@ null ] }, - "id": 751, + "id": 243, "name": "OverrideSpecifier", - "src": "9975:8:1" + "src": "10265:8:0" }, { "children": [ @@ -40292,7 +40292,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40304,19 +40304,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 748, + "id": 240, "name": "ElementaryTypeName", - "src": "9935:6:1" + "src": "10225:6:0" } ], - "id": 749, + "id": 241, "name": "VariableDeclaration", - "src": "9935:18:1" + "src": "10225:18:0" } ], - "id": 750, + "id": 242, "name": "ParameterList", - "src": "9934:20:1" + "src": "10224:20:0" }, { "children": [ @@ -40325,7 +40325,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40337,25 +40337,25 @@ "name": "bool", "type": "bool" }, - "id": 752, + "id": 244, "name": "ElementaryTypeName", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 753, + "id": 245, "name": "VariableDeclaration", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 754, + "id": 246, "name": "ParameterList", - "src": "9992:6:1" + "src": "10282:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 754 + "functionReturnParameters": 246 }, "children": [ { @@ -40372,46 +40372,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 755, + "id": 247, "name": "Identifier", - "src": "10016:20:1" + "src": "10307:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 749, + "referencedDeclaration": 241, "type": "bytes4", "value": "interfaceId" }, - "id": 756, + "id": 248, "name": "Identifier", - "src": "10037:11:1" + "src": "10328:11:0" } ], - "id": 757, + "id": 249, "name": "IndexAccess", - "src": "10016:33:1" + "src": "10307:33:0" } ], - "id": 758, + "id": 250, "name": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ], - "id": 759, + "id": 251, "name": "Block", - "src": "9999:57:1" + "src": "10289:59:0" } ], - "id": 760, + "id": 252, "name": "FunctionDefinition", - "src": "9908:148:1" + "src": "10198:150:0" }, { "attributes": { @@ -40422,7 +40422,7 @@ null ], "name": "_registerInterface", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -40432,9 +40432,9 @@ "attributes": { "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 761, + "id": 253, "name": "StructuredDocumentation", - "src": "10062:383:1" + "src": "10356:393:0" }, { "children": [ @@ -40443,7 +40443,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 780, + "scope": 272, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40455,19 +40455,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 762, + "id": 254, "name": "ElementaryTypeName", - "src": "10478:6:1" + "src": "10783:6:0" } ], - "id": 763, + "id": 255, "name": "VariableDeclaration", - "src": "10478:18:1" + "src": "10783:18:0" } ], - "id": 764, + "id": 256, "name": "ParameterList", - "src": "10477:20:1" + "src": "10782:20:0" }, { "attributes": { @@ -40476,9 +40476,9 @@ ] }, "children": [], - "id": 765, + "id": 257, "name": "ParameterList", - "src": "10515:0:1" + "src": "10820:0:0" }, { "children": [ @@ -40519,9 +40519,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 766, + "id": 258, "name": "Identifier", - "src": "10525:7:1" + "src": "10831:7:0" }, { "attributes": { @@ -40542,13 +40542,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 767, + "id": 259, "name": "Identifier", - "src": "10533:11:1" + "src": "10839:11:0" }, { "attributes": { @@ -40561,14 +40561,14 @@ "type": "int_const 4294967295", "value": "0xffffffff" }, - "id": 768, + "id": 260, "name": "Literal", - "src": "10548:10:1" + "src": "10854:10:0" } ], - "id": 769, + "id": 261, "name": "BinaryOperation", - "src": "10533:25:1" + "src": "10839:25:0" }, { "attributes": { @@ -40581,19 +40581,19 @@ "type": "literal_string \"ERC165: invalid interface id\"", "value": "ERC165: invalid interface id" }, - "id": 770, + "id": 262, "name": "Literal", - "src": "10560:30:1" + "src": "10866:30:0" } ], - "id": 771, + "id": 263, "name": "FunctionCall", - "src": "10525:66:1" + "src": "10831:66:0" } ], - "id": 772, + "id": 264, "name": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "children": [ @@ -40621,31 +40621,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 773, + "id": 265, "name": "Identifier", - "src": "10601:20:1" + "src": "10908:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 774, + "id": 266, "name": "Identifier", - "src": "10622:11:1" + "src": "10929:11:0" } ], - "id": 775, + "id": 267, "name": "IndexAccess", - "src": "10601:33:1" + "src": "10908:33:0" }, { "attributes": { @@ -40658,34 +40658,34 @@ "type": "bool", "value": "true" }, - "id": 776, + "id": 268, "name": "Literal", - "src": "10637:4:1" + "src": "10944:4:0" } ], - "id": 777, + "id": 269, "name": "Assignment", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 778, + "id": 270, "name": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 779, + "id": 271, "name": "Block", - "src": "10515:133:1" + "src": "10820:136:0" } ], - "id": 780, + "id": 272, "name": "FunctionDefinition", - "src": "10450:198:1" + "src": "10755:201:0" } ], - "id": 781, + "id": 273, "name": "ContractDefinition", - "src": "9215:1435:1" + "src": "9483:1476:0" }, { "attributes": { @@ -40699,9 +40699,9 @@ ".0" ] }, - "id": 782, + "id": 274, "name": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "attributes": { @@ -40715,19 +40715,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, - "id": 783, + "id": 275, "name": "StructuredDocumentation", - "src": "10736:563:1" + "src": "11050:575:0" }, { "attributes": { @@ -40738,7 +40738,7 @@ null ], "name": "tryAdd", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -40748,9 +40748,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 784, + "id": 276, "name": "StructuredDocumentation", - "src": "11323:131:1" + "src": "11651:135:0" }, { "children": [ @@ -40759,7 +40759,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40771,21 +40771,21 @@ "name": "uint256", "type": "uint256" }, - "id": 785, + "id": 277, "name": "ElementaryTypeName", - "src": "11475:7:1" + "src": "11808:7:0" } ], - "id": 786, + "id": 278, "name": "VariableDeclaration", - "src": "11475:9:1" + "src": "11808:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40797,19 +40797,19 @@ "name": "uint256", "type": "uint256" }, - "id": 787, + "id": 279, "name": "ElementaryTypeName", - "src": "11486:7:1" + "src": "11819:7:0" } ], - "id": 788, + "id": 280, "name": "VariableDeclaration", - "src": "11486:9:1" + "src": "11819:9:0" } ], - "id": 789, + "id": 281, "name": "ParameterList", - "src": "11474:22:1" + "src": "11807:22:0" }, { "children": [ @@ -40818,7 +40818,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40830,21 +40830,21 @@ "name": "bool", "type": "bool" }, - "id": 790, + "id": 282, "name": "ElementaryTypeName", - "src": "11520:4:1" + "src": "11853:4:0" } ], - "id": 791, + "id": 283, "name": "VariableDeclaration", - "src": "11520:4:1" + "src": "11853:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40856,26 +40856,26 @@ "name": "uint256", "type": "uint256" }, - "id": 792, + "id": 284, "name": "ElementaryTypeName", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 793, + "id": 285, "name": "VariableDeclaration", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 794, + "id": 286, "name": "ParameterList", - "src": "11519:15:1" + "src": "11852:15:0" }, { "children": [ { "attributes": { "assignments": [ - 796 + 288 ] }, "children": [ @@ -40884,7 +40884,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 813, + "scope": 305, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40896,14 +40896,14 @@ "name": "uint256", "type": "uint256" }, - "id": 795, + "id": 287, "name": "ElementaryTypeName", - "src": "11545:7:1" + "src": "11879:7:0" } ], - "id": 796, + "id": 288, "name": "VariableDeclaration", - "src": "11545:9:1" + "src": "11879:9:0" }, { "attributes": { @@ -40924,36 +40924,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 797, + "id": 289, "name": "Identifier", - "src": "11557:1:1" + "src": "11891:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 280, "type": "uint256", "value": "b" }, - "id": 798, + "id": 290, "name": "Identifier", - "src": "11561:1:1" + "src": "11895:1:0" } ], - "id": 799, + "id": 291, "name": "BinaryOperation", - "src": "11557:5:1" + "src": "11891:5:0" } ], - "id": 800, + "id": 292, "name": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "attributes": {}, @@ -40977,35 +40977,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 801, + "id": 293, "name": "Identifier", - "src": "11576:1:1" + "src": "11911:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 802, + "id": 294, "name": "Identifier", - "src": "11580:1:1" + "src": "11915:1:0" } ], - "id": 803, + "id": 295, "name": "BinaryOperation", - "src": "11576:5:1" + "src": "11911:5:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -41029,9 +41029,9 @@ "type": "bool", "value": "false" }, - "id": 804, + "id": 296, "name": "Literal", - "src": "11591:5:1" + "src": "11926:5:0" }, { "attributes": { @@ -41044,28 +41044,28 @@ "type": "int_const 0", "value": "0" }, - "id": 805, + "id": 297, "name": "Literal", - "src": "11598:1:1" + "src": "11933:1:0" } ], - "id": 806, + "id": 298, "name": "TupleExpression", - "src": "11590:10:1" + "src": "11925:10:0" } ], - "id": 807, + "id": 299, "name": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } ], - "id": 808, + "id": 300, "name": "IfStatement", - "src": "11572:28:1" + "src": "11907:28:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -41089,42 +41089,42 @@ "type": "bool", "value": "true" }, - "id": 809, + "id": 301, "name": "Literal", - "src": "11618:4:1" + "src": "11954:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 810, + "id": 302, "name": "Identifier", - "src": "11624:1:1" + "src": "11960:1:0" } ], - "id": 811, + "id": 303, "name": "TupleExpression", - "src": "11617:9:1" + "src": "11953:9:0" } ], - "id": 812, + "id": 304, "name": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ], - "id": 813, + "id": 305, "name": "Block", - "src": "11535:98:1" + "src": "11868:102:0" } ], - "id": 814, + "id": 306, "name": "FunctionDefinition", - "src": "11459:174:1" + "src": "11792:178:0" }, { "attributes": { @@ -41135,7 +41135,7 @@ null ], "name": "trySub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41145,9 +41145,9 @@ "attributes": { "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 815, + "id": 307, "name": "StructuredDocumentation", - "src": "11639:135:1" + "src": "11978:139:0" }, { "children": [ @@ -41156,7 +41156,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41168,21 +41168,21 @@ "name": "uint256", "type": "uint256" }, - "id": 816, + "id": 308, "name": "ElementaryTypeName", - "src": "11795:7:1" + "src": "12139:7:0" } ], - "id": 817, + "id": 309, "name": "VariableDeclaration", - "src": "11795:9:1" + "src": "12139:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41194,19 +41194,19 @@ "name": "uint256", "type": "uint256" }, - "id": 818, + "id": 310, "name": "ElementaryTypeName", - "src": "11806:7:1" + "src": "12150:7:0" } ], - "id": 819, + "id": 311, "name": "VariableDeclaration", - "src": "11806:9:1" + "src": "12150:9:0" } ], - "id": 820, + "id": 312, "name": "ParameterList", - "src": "11794:22:1" + "src": "12138:22:0" }, { "children": [ @@ -41215,7 +41215,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41227,21 +41227,21 @@ "name": "bool", "type": "bool" }, - "id": 821, + "id": 313, "name": "ElementaryTypeName", - "src": "11840:4:1" + "src": "12184:4:0" } ], - "id": 822, + "id": 314, "name": "VariableDeclaration", - "src": "11840:4:1" + "src": "12184:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41253,19 +41253,19 @@ "name": "uint256", "type": "uint256" }, - "id": 823, + "id": 315, "name": "ElementaryTypeName", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 824, + "id": 316, "name": "VariableDeclaration", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 825, + "id": 317, "name": "ParameterList", - "src": "11839:15:1" + "src": "12183:15:0" }, { "children": [ @@ -41291,35 +41291,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 826, + "id": 318, "name": "Identifier", - "src": "11869:1:1" + "src": "12214:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 827, + "id": 319, "name": "Identifier", - "src": "11873:1:1" + "src": "12218:1:0" } ], - "id": 828, + "id": 320, "name": "BinaryOperation", - "src": "11869:5:1" + "src": "12214:5:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41343,9 +41343,9 @@ "type": "bool", "value": "false" }, - "id": 829, + "id": 321, "name": "Literal", - "src": "11884:5:1" + "src": "12229:5:0" }, { "attributes": { @@ -41358,28 +41358,28 @@ "type": "int_const 0", "value": "0" }, - "id": 830, + "id": 322, "name": "Literal", - "src": "11891:1:1" + "src": "12236:1:0" } ], - "id": 831, + "id": 323, "name": "TupleExpression", - "src": "11883:10:1" + "src": "12228:10:0" } ], - "id": 832, + "id": 324, "name": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } ], - "id": 833, + "id": 325, "name": "IfStatement", - "src": "11865:28:1" + "src": "12210:28:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41403,9 +41403,9 @@ "type": "bool", "value": "true" }, - "id": 834, + "id": 326, "name": "Literal", - "src": "11911:4:1" + "src": "12257:4:0" }, { "attributes": { @@ -41426,51 +41426,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 835, + "id": 327, "name": "Identifier", - "src": "11917:1:1" + "src": "12263:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 836, + "id": 328, "name": "Identifier", - "src": "11921:1:1" + "src": "12267:1:0" } ], - "id": 837, + "id": 329, "name": "BinaryOperation", - "src": "11917:5:1" + "src": "12263:5:0" } ], - "id": 838, + "id": 330, "name": "TupleExpression", - "src": "11910:13:1" + "src": "12256:13:0" } ], - "id": 839, + "id": 331, "name": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ], - "id": 840, + "id": 332, "name": "Block", - "src": "11855:75:1" + "src": "12199:78:0" } ], - "id": 841, + "id": 333, "name": "FunctionDefinition", - "src": "11779:151:1" + "src": "12123:154:0" }, { "attributes": { @@ -41481,7 +41481,7 @@ null ], "name": "tryMul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41491,9 +41491,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 842, + "id": 334, "name": "StructuredDocumentation", - "src": "11936:137:1" + "src": "12285:141:0" }, { "children": [ @@ -41502,7 +41502,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41514,21 +41514,21 @@ "name": "uint256", "type": "uint256" }, - "id": 843, + "id": 335, "name": "ElementaryTypeName", - "src": "12094:7:1" + "src": "12448:7:0" } ], - "id": 844, + "id": 336, "name": "VariableDeclaration", - "src": "12094:9:1" + "src": "12448:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41540,19 +41540,19 @@ "name": "uint256", "type": "uint256" }, - "id": 845, + "id": 337, "name": "ElementaryTypeName", - "src": "12105:7:1" + "src": "12459:7:0" } ], - "id": 846, + "id": 338, "name": "VariableDeclaration", - "src": "12105:9:1" + "src": "12459:9:0" } ], - "id": 847, + "id": 339, "name": "ParameterList", - "src": "12093:22:1" + "src": "12447:22:0" }, { "children": [ @@ -41561,7 +41561,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41573,21 +41573,21 @@ "name": "bool", "type": "bool" }, - "id": 848, + "id": 340, "name": "ElementaryTypeName", - "src": "12139:4:1" + "src": "12493:4:0" } ], - "id": 849, + "id": 341, "name": "VariableDeclaration", - "src": "12139:4:1" + "src": "12493:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41599,19 +41599,19 @@ "name": "uint256", "type": "uint256" }, - "id": 850, + "id": 342, "name": "ElementaryTypeName", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 851, + "id": 343, "name": "VariableDeclaration", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 852, + "id": 344, "name": "ParameterList", - "src": "12138:15:1" + "src": "12492:15:0" }, { "children": [ @@ -41637,13 +41637,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 853, + "id": 345, "name": "Identifier", - "src": "12386:1:1" + "src": "12744:1:0" }, { "attributes": { @@ -41656,18 +41656,18 @@ "type": "int_const 0", "value": "0" }, - "id": 854, + "id": 346, "name": "Literal", - "src": "12391:1:1" + "src": "12749:1:0" } ], - "id": 855, + "id": 347, "name": "BinaryOperation", - "src": "12386:6:1" + "src": "12744:6:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41691,9 +41691,9 @@ "type": "bool", "value": "true" }, - "id": 856, + "id": 348, "name": "Literal", - "src": "12402:4:1" + "src": "12760:4:0" }, { "attributes": { @@ -41706,29 +41706,29 @@ "type": "int_const 0", "value": "0" }, - "id": 857, + "id": 349, "name": "Literal", - "src": "12408:1:1" + "src": "12766:1:0" } ], - "id": 858, + "id": 350, "name": "TupleExpression", - "src": "12401:9:1" + "src": "12759:9:0" } ], - "id": 859, + "id": 351, "name": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } ], - "id": 860, + "id": 352, "name": "IfStatement", - "src": "12382:28:1" + "src": "12740:28:0" }, { "attributes": { "assignments": [ - 862 + 354 ] }, "children": [ @@ -41737,7 +41737,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 881, + "scope": 373, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41749,14 +41749,14 @@ "name": "uint256", "type": "uint256" }, - "id": 861, + "id": 353, "name": "ElementaryTypeName", - "src": "12420:7:1" + "src": "12779:7:0" } ], - "id": 862, + "id": 354, "name": "VariableDeclaration", - "src": "12420:9:1" + "src": "12779:9:0" }, { "attributes": { @@ -41777,36 +41777,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 863, + "id": 355, "name": "Identifier", - "src": "12432:1:1" + "src": "12791:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 864, + "id": 356, "name": "Identifier", - "src": "12436:1:1" + "src": "12795:1:0" } ], - "id": 865, + "id": 357, "name": "BinaryOperation", - "src": "12432:5:1" + "src": "12791:5:0" } ], - "id": 866, + "id": 358, "name": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "attributes": {}, @@ -41844,53 +41844,53 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 867, + "id": 359, "name": "Identifier", - "src": "12451:1:1" + "src": "12811:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 868, + "id": 360, "name": "Identifier", - "src": "12455:1:1" + "src": "12815:1:0" } ], - "id": 869, + "id": 361, "name": "BinaryOperation", - "src": "12451:5:1" + "src": "12811:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 870, + "id": 362, "name": "Identifier", - "src": "12460:1:1" + "src": "12820:1:0" } ], - "id": 871, + "id": 363, "name": "BinaryOperation", - "src": "12451:10:1" + "src": "12811:10:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41914,9 +41914,9 @@ "type": "bool", "value": "false" }, - "id": 872, + "id": 364, "name": "Literal", - "src": "12471:5:1" + "src": "12831:5:0" }, { "attributes": { @@ -41929,28 +41929,28 @@ "type": "int_const 0", "value": "0" }, - "id": 873, + "id": 365, "name": "Literal", - "src": "12478:1:1" + "src": "12838:1:0" } ], - "id": 874, + "id": 366, "name": "TupleExpression", - "src": "12470:10:1" + "src": "12830:10:0" } ], - "id": 875, + "id": 367, "name": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } ], - "id": 876, + "id": 368, "name": "IfStatement", - "src": "12447:33:1" + "src": "12807:33:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41974,42 +41974,42 @@ "type": "bool", "value": "true" }, - "id": 877, + "id": 369, "name": "Literal", - "src": "12498:4:1" + "src": "12859:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 878, + "id": 370, "name": "Identifier", - "src": "12504:1:1" + "src": "12865:1:0" } ], - "id": 879, + "id": 371, "name": "TupleExpression", - "src": "12497:9:1" + "src": "12858:9:0" } ], - "id": 880, + "id": 372, "name": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ], - "id": 881, + "id": 373, "name": "Block", - "src": "12154:359:1" + "src": "12508:367:0" } ], - "id": 882, + "id": 374, "name": "FunctionDefinition", - "src": "12078:435:1" + "src": "12432:443:0" }, { "attributes": { @@ -42020,7 +42020,7 @@ null ], "name": "tryDiv", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42030,9 +42030,9 @@ "attributes": { "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 883, + "id": 375, "name": "StructuredDocumentation", - "src": "12519:138:1" + "src": "12883:142:0" }, { "children": [ @@ -42041,7 +42041,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42053,21 +42053,21 @@ "name": "uint256", "type": "uint256" }, - "id": 884, + "id": 376, "name": "ElementaryTypeName", - "src": "12678:7:1" + "src": "13047:7:0" } ], - "id": 885, + "id": 377, "name": "VariableDeclaration", - "src": "12678:9:1" + "src": "13047:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42079,19 +42079,19 @@ "name": "uint256", "type": "uint256" }, - "id": 886, + "id": 378, "name": "ElementaryTypeName", - "src": "12689:7:1" + "src": "13058:7:0" } ], - "id": 887, + "id": 379, "name": "VariableDeclaration", - "src": "12689:9:1" + "src": "13058:9:0" } ], - "id": 888, + "id": 380, "name": "ParameterList", - "src": "12677:22:1" + "src": "13046:22:0" }, { "children": [ @@ -42100,7 +42100,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42112,21 +42112,21 @@ "name": "bool", "type": "bool" }, - "id": 889, + "id": 381, "name": "ElementaryTypeName", - "src": "12723:4:1" + "src": "13092:4:0" } ], - "id": 890, + "id": 382, "name": "VariableDeclaration", - "src": "12723:4:1" + "src": "13092:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42138,19 +42138,19 @@ "name": "uint256", "type": "uint256" }, - "id": 891, + "id": 383, "name": "ElementaryTypeName", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 892, + "id": 384, "name": "VariableDeclaration", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 893, + "id": 385, "name": "ParameterList", - "src": "12722:15:1" + "src": "13091:15:0" }, { "children": [ @@ -42176,13 +42176,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 894, + "id": 386, "name": "Identifier", - "src": "12752:1:1" + "src": "13122:1:0" }, { "attributes": { @@ -42195,18 +42195,18 @@ "type": "int_const 0", "value": "0" }, - "id": 895, + "id": 387, "name": "Literal", - "src": "12757:1:1" + "src": "13127:1:0" } ], - "id": 896, + "id": 388, "name": "BinaryOperation", - "src": "12752:6:1" + "src": "13122:6:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42230,9 +42230,9 @@ "type": "bool", "value": "false" }, - "id": 897, + "id": 389, "name": "Literal", - "src": "12768:5:1" + "src": "13138:5:0" }, { "attributes": { @@ -42245,28 +42245,28 @@ "type": "int_const 0", "value": "0" }, - "id": 898, + "id": 390, "name": "Literal", - "src": "12775:1:1" + "src": "13145:1:0" } ], - "id": 899, + "id": 391, "name": "TupleExpression", - "src": "12767:10:1" + "src": "13137:10:0" } ], - "id": 900, + "id": 392, "name": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } ], - "id": 901, + "id": 393, "name": "IfStatement", - "src": "12748:29:1" + "src": "13118:29:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42290,9 +42290,9 @@ "type": "bool", "value": "true" }, - "id": 902, + "id": 394, "name": "Literal", - "src": "12795:4:1" + "src": "13166:4:0" }, { "attributes": { @@ -42313,51 +42313,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 885, + "referencedDeclaration": 377, "type": "uint256", "value": "a" }, - "id": 903, + "id": 395, "name": "Identifier", - "src": "12801:1:1" + "src": "13172:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 904, + "id": 396, "name": "Identifier", - "src": "12805:1:1" + "src": "13176:1:0" } ], - "id": 905, + "id": 397, "name": "BinaryOperation", - "src": "12801:5:1" + "src": "13172:5:0" } ], - "id": 906, + "id": 398, "name": "TupleExpression", - "src": "12794:13:1" + "src": "13165:13:0" } ], - "id": 907, + "id": 399, "name": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ], - "id": 908, + "id": 400, "name": "Block", - "src": "12738:76:1" + "src": "13107:79:0" } ], - "id": 909, + "id": 401, "name": "FunctionDefinition", - "src": "12662:152:1" + "src": "13031:155:0" }, { "attributes": { @@ -42368,7 +42368,7 @@ null ], "name": "tryMod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42378,9 +42378,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 910, + "id": 402, "name": "StructuredDocumentation", - "src": "12820:148:1" + "src": "13194:152:0" }, { "children": [ @@ -42389,7 +42389,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42401,21 +42401,21 @@ "name": "uint256", "type": "uint256" }, - "id": 911, + "id": 403, "name": "ElementaryTypeName", - "src": "12989:7:1" + "src": "13368:7:0" } ], - "id": 912, + "id": 404, "name": "VariableDeclaration", - "src": "12989:9:1" + "src": "13368:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42427,19 +42427,19 @@ "name": "uint256", "type": "uint256" }, - "id": 913, + "id": 405, "name": "ElementaryTypeName", - "src": "13000:7:1" + "src": "13379:7:0" } ], - "id": 914, + "id": 406, "name": "VariableDeclaration", - "src": "13000:9:1" + "src": "13379:9:0" } ], - "id": 915, + "id": 407, "name": "ParameterList", - "src": "12988:22:1" + "src": "13367:22:0" }, { "children": [ @@ -42448,7 +42448,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42460,21 +42460,21 @@ "name": "bool", "type": "bool" }, - "id": 916, + "id": 408, "name": "ElementaryTypeName", - "src": "13034:4:1" + "src": "13413:4:0" } ], - "id": 917, + "id": 409, "name": "VariableDeclaration", - "src": "13034:4:1" + "src": "13413:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42486,19 +42486,19 @@ "name": "uint256", "type": "uint256" }, - "id": 918, + "id": 410, "name": "ElementaryTypeName", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 919, + "id": 411, "name": "VariableDeclaration", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 920, + "id": 412, "name": "ParameterList", - "src": "13033:15:1" + "src": "13412:15:0" }, { "children": [ @@ -42524,13 +42524,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 921, + "id": 413, "name": "Identifier", - "src": "13063:1:1" + "src": "13443:1:0" }, { "attributes": { @@ -42543,18 +42543,18 @@ "type": "int_const 0", "value": "0" }, - "id": 922, + "id": 414, "name": "Literal", - "src": "13068:1:1" + "src": "13448:1:0" } ], - "id": 923, + "id": 415, "name": "BinaryOperation", - "src": "13063:6:1" + "src": "13443:6:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42578,9 +42578,9 @@ "type": "bool", "value": "false" }, - "id": 924, + "id": 416, "name": "Literal", - "src": "13079:5:1" + "src": "13459:5:0" }, { "attributes": { @@ -42593,28 +42593,28 @@ "type": "int_const 0", "value": "0" }, - "id": 925, + "id": 417, "name": "Literal", - "src": "13086:1:1" + "src": "13466:1:0" } ], - "id": 926, + "id": 418, "name": "TupleExpression", - "src": "13078:10:1" + "src": "13458:10:0" } ], - "id": 927, + "id": 419, "name": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } ], - "id": 928, + "id": 420, "name": "IfStatement", - "src": "13059:29:1" + "src": "13439:29:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42638,9 +42638,9 @@ "type": "bool", "value": "true" }, - "id": 929, + "id": 421, "name": "Literal", - "src": "13106:4:1" + "src": "13487:4:0" }, { "attributes": { @@ -42661,51 +42661,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 912, + "referencedDeclaration": 404, "type": "uint256", "value": "a" }, - "id": 930, + "id": 422, "name": "Identifier", - "src": "13112:1:1" + "src": "13493:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 931, + "id": 423, "name": "Identifier", - "src": "13116:1:1" + "src": "13497:1:0" } ], - "id": 932, + "id": 424, "name": "BinaryOperation", - "src": "13112:5:1" + "src": "13493:5:0" } ], - "id": 933, + "id": 425, "name": "TupleExpression", - "src": "13105:13:1" + "src": "13486:13:0" } ], - "id": 934, + "id": 426, "name": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ], - "id": 935, + "id": 427, "name": "Block", - "src": "13049:76:1" + "src": "13428:79:0" } ], - "id": 936, + "id": 428, "name": "FunctionDefinition", - "src": "12973:152:1" + "src": "13352:155:0" }, { "attributes": { @@ -42716,7 +42716,7 @@ null ], "name": "add", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42726,9 +42726,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 937, + "id": 429, "name": "StructuredDocumentation", - "src": "13131:224:1" + "src": "13515:233:0" }, { "children": [ @@ -42737,7 +42737,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42749,21 +42749,21 @@ "name": "uint256", "type": "uint256" }, - "id": 938, + "id": 430, "name": "ElementaryTypeName", - "src": "13373:7:1" + "src": "13767:7:0" } ], - "id": 939, + "id": 431, "name": "VariableDeclaration", - "src": "13373:9:1" + "src": "13767:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42775,19 +42775,19 @@ "name": "uint256", "type": "uint256" }, - "id": 940, + "id": 432, "name": "ElementaryTypeName", - "src": "13384:7:1" + "src": "13778:7:0" } ], - "id": 941, + "id": 433, "name": "VariableDeclaration", - "src": "13384:9:1" + "src": "13778:9:0" } ], - "id": 942, + "id": 434, "name": "ParameterList", - "src": "13372:22:1" + "src": "13766:22:0" }, { "children": [ @@ -42796,7 +42796,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42808,26 +42808,26 @@ "name": "uint256", "type": "uint256" }, - "id": 943, + "id": 435, "name": "ElementaryTypeName", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 944, + "id": 436, "name": "VariableDeclaration", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 945, + "id": 437, "name": "ParameterList", - "src": "13417:9:1" + "src": "13811:9:0" }, { "children": [ { "attributes": { "assignments": [ - 947 + 439 ] }, "children": [ @@ -42836,7 +42836,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 961, + "scope": 453, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42848,14 +42848,14 @@ "name": "uint256", "type": "uint256" }, - "id": 946, + "id": 438, "name": "ElementaryTypeName", - "src": "13437:7:1" + "src": "13832:7:0" } ], - "id": 947, + "id": 439, "name": "VariableDeclaration", - "src": "13437:9:1" + "src": "13832:9:0" }, { "attributes": { @@ -42876,36 +42876,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 948, + "id": 440, "name": "Identifier", - "src": "13449:1:1" + "src": "13844:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 941, + "referencedDeclaration": 433, "type": "uint256", "value": "b" }, - "id": 949, + "id": 441, "name": "Identifier", - "src": "13453:1:1" + "src": "13848:1:0" } ], - "id": 950, + "id": 442, "name": "BinaryOperation", - "src": "13449:5:1" + "src": "13844:5:0" } ], - "id": 951, + "id": 443, "name": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "children": [ @@ -42944,9 +42944,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 952, + "id": 444, "name": "Identifier", - "src": "13464:7:1" + "src": "13860:7:0" }, { "attributes": { @@ -42967,31 +42967,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 953, + "id": 445, "name": "Identifier", - "src": "13472:1:1" + "src": "13868:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 954, + "id": 446, "name": "Identifier", - "src": "13477:1:1" + "src": "13873:1:0" } ], - "id": 955, + "id": 447, "name": "BinaryOperation", - "src": "13472:6:1" + "src": "13868:6:0" }, { "attributes": { @@ -43004,23 +43004,23 @@ "type": "literal_string \"SafeMath: addition overflow\"", "value": "SafeMath: addition overflow" }, - "id": 956, + "id": 448, "name": "Literal", - "src": "13480:29:1" + "src": "13876:29:0" } ], - "id": 957, + "id": 449, "name": "FunctionCall", - "src": "13464:46:1" + "src": "13860:46:0" } ], - "id": 958, + "id": 450, "name": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "attributes": { - "functionReturnParameters": 945 + "functionReturnParameters": 437 }, "children": [ { @@ -43028,28 +43028,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 959, + "id": 451, "name": "Identifier", - "src": "13527:1:1" + "src": "13924:1:0" } ], - "id": 960, + "id": 452, "name": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ], - "id": 961, + "id": 453, "name": "Block", - "src": "13427:108:1" + "src": "13821:112:0" } ], - "id": 962, + "id": 454, "name": "FunctionDefinition", - "src": "13360:175:1" + "src": "13754:179:0" }, { "attributes": { @@ -43060,7 +43060,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43070,9 +43070,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 963, + "id": 455, "name": "StructuredDocumentation", - "src": "13541:260:1" + "src": "13941:269:0" }, { "children": [ @@ -43081,7 +43081,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43093,21 +43093,21 @@ "name": "uint256", "type": "uint256" }, - "id": 964, + "id": 456, "name": "ElementaryTypeName", - "src": "13819:7:1" + "src": "14229:7:0" } ], - "id": 965, + "id": 457, "name": "VariableDeclaration", - "src": "13819:9:1" + "src": "14229:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43119,19 +43119,19 @@ "name": "uint256", "type": "uint256" }, - "id": 966, + "id": 458, "name": "ElementaryTypeName", - "src": "13830:7:1" + "src": "14240:7:0" } ], - "id": 967, + "id": 459, "name": "VariableDeclaration", - "src": "13830:9:1" + "src": "14240:9:0" } ], - "id": 968, + "id": 460, "name": "ParameterList", - "src": "13818:22:1" + "src": "14228:22:0" }, { "children": [ @@ -43140,7 +43140,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43152,19 +43152,19 @@ "name": "uint256", "type": "uint256" }, - "id": 969, + "id": 461, "name": "ElementaryTypeName", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 970, + "id": 462, "name": "VariableDeclaration", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 971, + "id": 463, "name": "ParameterList", - "src": "13863:9:1" + "src": "14273:9:0" }, { "children": [ @@ -43205,9 +43205,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 972, + "id": 464, "name": "Identifier", - "src": "13883:7:1" + "src": "14294:7:0" }, { "attributes": { @@ -43228,31 +43228,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 973, + "id": 465, "name": "Identifier", - "src": "13891:1:1" + "src": "14302:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 974, + "id": 466, "name": "Identifier", - "src": "13896:1:1" + "src": "14307:1:0" } ], - "id": 975, + "id": 467, "name": "BinaryOperation", - "src": "13891:6:1" + "src": "14302:6:0" }, { "attributes": { @@ -43265,23 +43265,23 @@ "type": "literal_string \"SafeMath: subtraction overflow\"", "value": "SafeMath: subtraction overflow" }, - "id": 976, + "id": 468, "name": "Literal", - "src": "13899:32:1" + "src": "14310:32:0" } ], - "id": 977, + "id": 469, "name": "FunctionCall", - "src": "13883:49:1" + "src": "14294:49:0" } ], - "id": 978, + "id": 470, "name": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "attributes": { - "functionReturnParameters": 971 + "functionReturnParameters": 463 }, "children": [ { @@ -43303,46 +43303,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 979, + "id": 471, "name": "Identifier", - "src": "13949:1:1" + "src": "14361:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 980, + "id": 472, "name": "Identifier", - "src": "13953:1:1" + "src": "14365:1:0" } ], - "id": 981, + "id": 473, "name": "BinaryOperation", - "src": "13949:5:1" + "src": "14361:5:0" } ], - "id": 982, + "id": 474, "name": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ], - "id": 983, + "id": 475, "name": "Block", - "src": "13873:88:1" + "src": "14283:91:0" } ], - "id": 984, + "id": 476, "name": "FunctionDefinition", - "src": "13806:155:1" + "src": "14216:158:0" }, { "attributes": { @@ -43353,7 +43353,7 @@ null ], "name": "mul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43363,9 +43363,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 985, + "id": 477, "name": "StructuredDocumentation", - "src": "13967:236:1" + "src": "14382:245:0" }, { "children": [ @@ -43374,7 +43374,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43386,21 +43386,21 @@ "name": "uint256", "type": "uint256" }, - "id": 986, + "id": 478, "name": "ElementaryTypeName", - "src": "14221:7:1" + "src": "14646:7:0" } ], - "id": 987, + "id": 479, "name": "VariableDeclaration", - "src": "14221:9:1" + "src": "14646:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43412,19 +43412,19 @@ "name": "uint256", "type": "uint256" }, - "id": 988, + "id": 480, "name": "ElementaryTypeName", - "src": "14232:7:1" + "src": "14657:7:0" } ], - "id": 989, + "id": 481, "name": "VariableDeclaration", - "src": "14232:9:1" + "src": "14657:9:0" } ], - "id": 990, + "id": 482, "name": "ParameterList", - "src": "14220:22:1" + "src": "14645:22:0" }, { "children": [ @@ -43433,7 +43433,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43445,19 +43445,19 @@ "name": "uint256", "type": "uint256" }, - "id": 991, + "id": 483, "name": "ElementaryTypeName", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 992, + "id": 484, "name": "VariableDeclaration", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 993, + "id": 485, "name": "ParameterList", - "src": "14265:9:1" + "src": "14690:9:0" }, { "children": [ @@ -43483,13 +43483,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 994, + "id": 486, "name": "Identifier", - "src": "14289:1:1" + "src": "14715:1:0" }, { "attributes": { @@ -43502,18 +43502,18 @@ "type": "int_const 0", "value": "0" }, - "id": 995, + "id": 487, "name": "Literal", - "src": "14294:1:1" + "src": "14720:1:0" } ], - "id": 996, + "id": 488, "name": "BinaryOperation", - "src": "14289:6:1" + "src": "14715:6:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43527,24 +43527,24 @@ "type": "int_const 0", "value": "0" }, - "id": 997, + "id": 489, "name": "Literal", - "src": "14304:1:1" + "src": "14730:1:0" } ], - "id": 998, + "id": 490, "name": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } ], - "id": 999, + "id": 491, "name": "IfStatement", - "src": "14285:20:1" + "src": "14711:20:0" }, { "attributes": { "assignments": [ - 1001 + 493 ] }, "children": [ @@ -43553,7 +43553,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 1017, + "scope": 509, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43565,14 +43565,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1000, + "id": 492, "name": "ElementaryTypeName", - "src": "14315:7:1" + "src": "14742:7:0" } ], - "id": 1001, + "id": 493, "name": "VariableDeclaration", - "src": "14315:9:1" + "src": "14742:9:0" }, { "attributes": { @@ -43593,36 +43593,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1002, + "id": 494, "name": "Identifier", - "src": "14327:1:1" + "src": "14754:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1003, + "id": 495, "name": "Identifier", - "src": "14331:1:1" + "src": "14758:1:0" } ], - "id": 1004, + "id": 496, "name": "BinaryOperation", - "src": "14327:5:1" + "src": "14754:5:0" } ], - "id": 1005, + "id": 497, "name": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "children": [ @@ -43661,9 +43661,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1006, + "id": 498, "name": "Identifier", - "src": "14342:7:1" + "src": "14770:7:0" }, { "attributes": { @@ -43698,49 +43698,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1007, + "id": 499, "name": "Identifier", - "src": "14350:1:1" + "src": "14778:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1008, + "id": 500, "name": "Identifier", - "src": "14354:1:1" + "src": "14782:1:0" } ], - "id": 1009, + "id": 501, "name": "BinaryOperation", - "src": "14350:5:1" + "src": "14778:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1010, + "id": 502, "name": "Identifier", - "src": "14359:1:1" + "src": "14787:1:0" } ], - "id": 1011, + "id": 503, "name": "BinaryOperation", - "src": "14350:10:1" + "src": "14778:10:0" }, { "attributes": { @@ -43753,23 +43753,23 @@ "type": "literal_string \"SafeMath: multiplication overflow\"", "value": "SafeMath: multiplication overflow" }, - "id": 1012, + "id": 504, "name": "Literal", - "src": "14362:35:1" + "src": "14790:35:0" } ], - "id": 1013, + "id": 505, "name": "FunctionCall", - "src": "14342:56:1" + "src": "14770:56:0" } ], - "id": 1014, + "id": 506, "name": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43777,28 +43777,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1015, + "id": 507, "name": "Identifier", - "src": "14415:1:1" + "src": "14844:1:0" } ], - "id": 1016, + "id": 508, "name": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ], - "id": 1017, + "id": 509, "name": "Block", - "src": "14275:148:1" + "src": "14700:153:0" } ], - "id": 1018, + "id": 510, "name": "FunctionDefinition", - "src": "14208:215:1" + "src": "14633:220:0" }, { "attributes": { @@ -43809,7 +43809,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43819,9 +43819,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1019, + "id": 511, "name": "StructuredDocumentation", - "src": "14429:453:1" + "src": "14861:464:0" }, { "children": [ @@ -43830,7 +43830,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43842,21 +43842,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1020, + "id": 512, "name": "ElementaryTypeName", - "src": "14900:7:1" + "src": "15344:7:0" } ], - "id": 1021, + "id": 513, "name": "VariableDeclaration", - "src": "14900:9:1" + "src": "15344:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43868,19 +43868,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1022, + "id": 514, "name": "ElementaryTypeName", - "src": "14911:7:1" + "src": "15355:7:0" } ], - "id": 1023, + "id": 515, "name": "VariableDeclaration", - "src": "14911:9:1" + "src": "15355:9:0" } ], - "id": 1024, + "id": 516, "name": "ParameterList", - "src": "14899:22:1" + "src": "15343:22:0" }, { "children": [ @@ -43889,7 +43889,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43901,19 +43901,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1025, + "id": 517, "name": "ElementaryTypeName", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1026, + "id": 518, "name": "VariableDeclaration", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1027, + "id": 519, "name": "ParameterList", - "src": "14944:9:1" + "src": "15388:9:0" }, { "children": [ @@ -43954,9 +43954,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1028, + "id": 520, "name": "Identifier", - "src": "14964:7:1" + "src": "15409:7:0" }, { "attributes": { @@ -43977,13 +43977,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1029, + "id": 521, "name": "Identifier", - "src": "14972:1:1" + "src": "15417:1:0" }, { "attributes": { @@ -43996,14 +43996,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1030, + "id": 522, "name": "Literal", - "src": "14976:1:1" + "src": "15421:1:0" } ], - "id": 1031, + "id": 523, "name": "BinaryOperation", - "src": "14972:5:1" + "src": "15417:5:0" }, { "attributes": { @@ -44016,23 +44016,23 @@ "type": "literal_string \"SafeMath: division by zero\"", "value": "SafeMath: division by zero" }, - "id": 1032, + "id": 524, "name": "Literal", - "src": "14979:28:1" + "src": "15424:28:0" } ], - "id": 1033, + "id": 525, "name": "FunctionCall", - "src": "14964:44:1" + "src": "15409:44:0" } ], - "id": 1034, + "id": 526, "name": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "attributes": { - "functionReturnParameters": 1027 + "functionReturnParameters": 519 }, "children": [ { @@ -44054,46 +44054,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1021, + "referencedDeclaration": 513, "type": "uint256", "value": "a" }, - "id": 1035, + "id": 527, "name": "Identifier", - "src": "15025:1:1" + "src": "15471:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1036, + "id": 528, "name": "Identifier", - "src": "15029:1:1" + "src": "15475:1:0" } ], - "id": 1037, + "id": 529, "name": "BinaryOperation", - "src": "15025:5:1" + "src": "15471:5:0" } ], - "id": 1038, + "id": 530, "name": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ], - "id": 1039, + "id": 531, "name": "Block", - "src": "14954:83:1" + "src": "15398:86:0" } ], - "id": 1040, + "id": 532, "name": "FunctionDefinition", - "src": "14887:150:1" + "src": "15331:153:0" }, { "attributes": { @@ -44104,7 +44104,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44114,9 +44114,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1041, + "id": 533, "name": "StructuredDocumentation", - "src": "15043:442:1" + "src": "15492:453:0" }, { "children": [ @@ -44125,7 +44125,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44137,21 +44137,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1042, + "id": 534, "name": "ElementaryTypeName", - "src": "15503:7:1" + "src": "15964:7:0" } ], - "id": 1043, + "id": 535, "name": "VariableDeclaration", - "src": "15503:9:1" + "src": "15964:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44163,19 +44163,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1044, + "id": 536, "name": "ElementaryTypeName", - "src": "15514:7:1" + "src": "15975:7:0" } ], - "id": 1045, + "id": 537, "name": "VariableDeclaration", - "src": "15514:9:1" + "src": "15975:9:0" } ], - "id": 1046, + "id": 538, "name": "ParameterList", - "src": "15502:22:1" + "src": "15963:22:0" }, { "children": [ @@ -44184,7 +44184,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44196,19 +44196,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1047, + "id": 539, "name": "ElementaryTypeName", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1048, + "id": 540, "name": "VariableDeclaration", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1049, + "id": 541, "name": "ParameterList", - "src": "15547:9:1" + "src": "16008:9:0" }, { "children": [ @@ -44249,9 +44249,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1050, + "id": 542, "name": "Identifier", - "src": "15567:7:1" + "src": "16029:7:0" }, { "attributes": { @@ -44272,13 +44272,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1051, + "id": 543, "name": "Identifier", - "src": "15575:1:1" + "src": "16037:1:0" }, { "attributes": { @@ -44291,14 +44291,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1052, + "id": 544, "name": "Literal", - "src": "15579:1:1" + "src": "16041:1:0" } ], - "id": 1053, + "id": 545, "name": "BinaryOperation", - "src": "15575:5:1" + "src": "16037:5:0" }, { "attributes": { @@ -44311,23 +44311,23 @@ "type": "literal_string \"SafeMath: modulo by zero\"", "value": "SafeMath: modulo by zero" }, - "id": 1054, + "id": 546, "name": "Literal", - "src": "15582:26:1" + "src": "16044:26:0" } ], - "id": 1055, + "id": 547, "name": "FunctionCall", - "src": "15567:42:1" + "src": "16029:42:0" } ], - "id": 1056, + "id": 548, "name": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "attributes": { - "functionReturnParameters": 1049 + "functionReturnParameters": 541 }, "children": [ { @@ -44349,46 +44349,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1043, + "referencedDeclaration": 535, "type": "uint256", "value": "a" }, - "id": 1057, + "id": 549, "name": "Identifier", - "src": "15626:1:1" + "src": "16089:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1058, + "id": 550, "name": "Identifier", - "src": "15630:1:1" + "src": "16093:1:0" } ], - "id": 1059, + "id": 551, "name": "BinaryOperation", - "src": "15626:5:1" + "src": "16089:5:0" } ], - "id": 1060, + "id": 552, "name": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ], - "id": 1061, + "id": 553, "name": "Block", - "src": "15557:81:1" + "src": "16018:84:0" } ], - "id": 1062, + "id": 554, "name": "FunctionDefinition", - "src": "15490:148:1" + "src": "15951:151:0" }, { "attributes": { @@ -44399,7 +44399,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44409,9 +44409,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1063, + "id": 555, "name": "StructuredDocumentation", - "src": "15644:453:1" + "src": "16110:465:0" }, { "children": [ @@ -44420,7 +44420,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44432,21 +44432,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1064, + "id": 556, "name": "ElementaryTypeName", - "src": "16115:7:1" + "src": "16594:7:0" } ], - "id": 1065, + "id": 557, "name": "VariableDeclaration", - "src": "16115:9:1" + "src": "16594:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44458,21 +44458,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1066, + "id": 558, "name": "ElementaryTypeName", - "src": "16126:7:1" + "src": "16605:7:0" } ], - "id": 1067, + "id": 559, "name": "VariableDeclaration", - "src": "16126:9:1" + "src": "16605:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44484,19 +44484,19 @@ "name": "string", "type": "string" }, - "id": 1068, + "id": 560, "name": "ElementaryTypeName", - "src": "16137:6:1" + "src": "16616:6:0" } ], - "id": 1069, + "id": 561, "name": "VariableDeclaration", - "src": "16137:26:1" + "src": "16616:26:0" } ], - "id": 1070, + "id": 562, "name": "ParameterList", - "src": "16114:50:1" + "src": "16593:50:0" }, { "children": [ @@ -44505,7 +44505,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44517,19 +44517,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1071, + "id": 563, "name": "ElementaryTypeName", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1072, + "id": 564, "name": "VariableDeclaration", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1073, + "id": 565, "name": "ParameterList", - "src": "16187:9:1" + "src": "16666:9:0" }, { "children": [ @@ -44570,9 +44570,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1074, + "id": 566, "name": "Identifier", - "src": "16207:7:1" + "src": "16687:7:0" }, { "attributes": { @@ -44593,58 +44593,58 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1075, + "id": 567, "name": "Identifier", - "src": "16215:1:1" + "src": "16695:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1076, + "id": 568, "name": "Identifier", - "src": "16220:1:1" + "src": "16700:1:0" } ], - "id": 1077, + "id": 569, "name": "BinaryOperation", - "src": "16215:6:1" + "src": "16695:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1069, + "referencedDeclaration": 561, "type": "string memory", "value": "errorMessage" }, - "id": 1078, + "id": 570, "name": "Identifier", - "src": "16223:12:1" + "src": "16703:12:0" } ], - "id": 1079, + "id": 571, "name": "FunctionCall", - "src": "16207:29:1" + "src": "16687:29:0" } ], - "id": 1080, + "id": 572, "name": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "attributes": { - "functionReturnParameters": 1073 + "functionReturnParameters": 565 }, "children": [ { @@ -44666,46 +44666,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1081, + "id": 573, "name": "Identifier", - "src": "16253:1:1" + "src": "16734:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1082, + "id": 574, "name": "Identifier", - "src": "16257:1:1" + "src": "16738:1:0" } ], - "id": 1083, + "id": 575, "name": "BinaryOperation", - "src": "16253:5:1" + "src": "16734:5:0" } ], - "id": 1084, + "id": 576, "name": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ], - "id": 1085, + "id": 577, "name": "Block", - "src": "16197:68:1" + "src": "16676:71:0" } ], - "id": 1086, + "id": 578, "name": "FunctionDefinition", - "src": "16102:163:1" + "src": "16581:166:0" }, { "attributes": { @@ -44716,7 +44716,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44726,9 +44726,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1087, + "id": 579, "name": "StructuredDocumentation", - "src": "16271:646:1" + "src": "16755:660:0" }, { "children": [ @@ -44737,7 +44737,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44749,21 +44749,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1088, + "id": 580, "name": "ElementaryTypeName", - "src": "16935:7:1" + "src": "17434:7:0" } ], - "id": 1089, + "id": 581, "name": "VariableDeclaration", - "src": "16935:9:1" + "src": "17434:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44775,21 +44775,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1090, + "id": 582, "name": "ElementaryTypeName", - "src": "16946:7:1" + "src": "17445:7:0" } ], - "id": 1091, + "id": 583, "name": "VariableDeclaration", - "src": "16946:9:1" + "src": "17445:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44801,19 +44801,19 @@ "name": "string", "type": "string" }, - "id": 1092, + "id": 584, "name": "ElementaryTypeName", - "src": "16957:6:1" + "src": "17456:6:0" } ], - "id": 1093, + "id": 585, "name": "VariableDeclaration", - "src": "16957:26:1" + "src": "17456:26:0" } ], - "id": 1094, + "id": 586, "name": "ParameterList", - "src": "16934:50:1" + "src": "17433:50:0" }, { "children": [ @@ -44822,7 +44822,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44834,19 +44834,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1095, + "id": 587, "name": "ElementaryTypeName", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1096, + "id": 588, "name": "VariableDeclaration", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1097, + "id": 589, "name": "ParameterList", - "src": "17007:9:1" + "src": "17506:9:0" }, { "children": [ @@ -44887,9 +44887,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1098, + "id": 590, "name": "Identifier", - "src": "17027:7:1" + "src": "17527:7:0" }, { "attributes": { @@ -44910,13 +44910,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1099, + "id": 591, "name": "Identifier", - "src": "17035:1:1" + "src": "17535:1:0" }, { "attributes": { @@ -44929,41 +44929,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1100, + "id": 592, "name": "Literal", - "src": "17039:1:1" + "src": "17539:1:0" } ], - "id": 1101, + "id": 593, "name": "BinaryOperation", - "src": "17035:5:1" + "src": "17535:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1093, + "referencedDeclaration": 585, "type": "string memory", "value": "errorMessage" }, - "id": 1102, + "id": 594, "name": "Identifier", - "src": "17042:12:1" + "src": "17542:12:0" } ], - "id": 1103, + "id": 595, "name": "FunctionCall", - "src": "17027:28:1" + "src": "17527:28:0" } ], - "id": 1104, + "id": 596, "name": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "attributes": { - "functionReturnParameters": 1097 + "functionReturnParameters": 589 }, "children": [ { @@ -44985,46 +44985,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1089, + "referencedDeclaration": 581, "type": "uint256", "value": "a" }, - "id": 1105, + "id": 597, "name": "Identifier", - "src": "17072:1:1" + "src": "17573:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1106, + "id": 598, "name": "Identifier", - "src": "17076:1:1" + "src": "17577:1:0" } ], - "id": 1107, + "id": 599, "name": "BinaryOperation", - "src": "17072:5:1" + "src": "17573:5:0" } ], - "id": 1108, + "id": 600, "name": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ], - "id": 1109, + "id": 601, "name": "Block", - "src": "17017:67:1" + "src": "17516:70:0" } ], - "id": 1110, + "id": 602, "name": "FunctionDefinition", - "src": "16922:162:1" + "src": "17421:165:0" }, { "attributes": { @@ -45035,7 +45035,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -45045,9 +45045,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1111, + "id": 603, "name": "StructuredDocumentation", - "src": "17090:635:1" + "src": "17594:649:0" }, { "children": [ @@ -45056,7 +45056,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45068,21 +45068,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1112, + "id": 604, "name": "ElementaryTypeName", - "src": "17743:7:1" + "src": "18262:7:0" } ], - "id": 1113, + "id": 605, "name": "VariableDeclaration", - "src": "17743:9:1" + "src": "18262:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45094,21 +45094,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1114, + "id": 606, "name": "ElementaryTypeName", - "src": "17754:7:1" + "src": "18273:7:0" } ], - "id": 1115, + "id": 607, "name": "VariableDeclaration", - "src": "17754:9:1" + "src": "18273:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -45120,19 +45120,19 @@ "name": "string", "type": "string" }, - "id": 1116, + "id": 608, "name": "ElementaryTypeName", - "src": "17765:6:1" + "src": "18284:6:0" } ], - "id": 1117, + "id": 609, "name": "VariableDeclaration", - "src": "17765:26:1" + "src": "18284:26:0" } ], - "id": 1118, + "id": 610, "name": "ParameterList", - "src": "17742:50:1" + "src": "18261:50:0" }, { "children": [ @@ -45141,7 +45141,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45153,19 +45153,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1119, + "id": 611, "name": "ElementaryTypeName", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1120, + "id": 612, "name": "VariableDeclaration", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1121, + "id": 613, "name": "ParameterList", - "src": "17815:9:1" + "src": "18334:9:0" }, { "children": [ @@ -45206,9 +45206,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1122, + "id": 614, "name": "Identifier", - "src": "17835:7:1" + "src": "18355:7:0" }, { "attributes": { @@ -45229,13 +45229,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1123, + "id": 615, "name": "Identifier", - "src": "17843:1:1" + "src": "18363:1:0" }, { "attributes": { @@ -45248,41 +45248,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1124, + "id": 616, "name": "Literal", - "src": "17847:1:1" + "src": "18367:1:0" } ], - "id": 1125, + "id": 617, "name": "BinaryOperation", - "src": "17843:5:1" + "src": "18363:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1117, + "referencedDeclaration": 609, "type": "string memory", "value": "errorMessage" }, - "id": 1126, + "id": 618, "name": "Identifier", - "src": "17850:12:1" + "src": "18370:12:0" } ], - "id": 1127, + "id": 619, "name": "FunctionCall", - "src": "17835:28:1" + "src": "18355:28:0" } ], - "id": 1128, + "id": 620, "name": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "attributes": { - "functionReturnParameters": 1121 + "functionReturnParameters": 613 }, "children": [ { @@ -45304,51 +45304,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1113, + "referencedDeclaration": 605, "type": "uint256", "value": "a" }, - "id": 1129, + "id": 621, "name": "Identifier", - "src": "17880:1:1" + "src": "18401:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1130, + "id": 622, "name": "Identifier", - "src": "17884:1:1" + "src": "18405:1:0" } ], - "id": 1131, + "id": 623, "name": "BinaryOperation", - "src": "17880:5:1" + "src": "18401:5:0" } ], - "id": 1132, + "id": 624, "name": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ], - "id": 1133, + "id": 625, "name": "Block", - "src": "17825:67:1" + "src": "18344:70:0" } ], - "id": 1134, + "id": 626, "name": "FunctionDefinition", - "src": "17730:162:1" + "src": "18249:165:0" } ], - "id": 1135, + "id": 627, "name": "ContractDefinition", - "src": "11300:6594:1" + "src": "11627:6790:0" }, { "attributes": { @@ -45362,9 +45362,9 @@ ".0" ] }, - "id": 1136, + "id": 628, "name": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "attributes": { @@ -45378,19 +45378,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Collection of functions related to the address type" }, - "id": 1137, + "id": 629, "name": "StructuredDocumentation", - "src": "17980:67:1" + "src": "18508:69:0" }, { "attributes": { @@ -45401,7 +45401,7 @@ null ], "name": "isContract", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -45411,9 +45411,9 @@ "attributes": { "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1138, + "id": 630, "name": "StructuredDocumentation", - "src": "18070:565:1" + "src": "18602:581:0" }, { "children": [ @@ -45422,7 +45422,7 @@ "constant": false, "mutability": "mutable", "name": "account", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -45435,19 +45435,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1139, + "id": 631, "name": "ElementaryTypeName", - "src": "18660:7:1" + "src": "19209:7:0" } ], - "id": 1140, + "id": 632, "name": "VariableDeclaration", - "src": "18660:15:1" + "src": "19209:15:0" } ], - "id": 1141, + "id": 633, "name": "ParameterList", - "src": "18659:17:1" + "src": "19208:17:0" }, { "children": [ @@ -45456,7 +45456,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45468,26 +45468,26 @@ "name": "bool", "type": "bool" }, - "id": 1142, + "id": 634, "name": "ElementaryTypeName", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1143, + "id": 635, "name": "VariableDeclaration", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1144, + "id": 636, "name": "ParameterList", - "src": "18699:6:1" + "src": "19248:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1146 + 638 ] }, "children": [ @@ -45496,7 +45496,7 @@ "constant": false, "mutability": "mutable", "name": "size", - "scope": 1153, + "scope": 645, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45508,49 +45508,49 @@ "name": "uint256", "type": "uint256" }, - "id": 1145, + "id": 637, "name": "ElementaryTypeName", - "src": "18903:7:1" + "src": "19457:7:0" } ], - "id": 1146, + "id": 638, "name": "VariableDeclaration", - "src": "18903:12:1" + "src": "19457:12:0" } ], - "id": 1147, + "id": 639, "name": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "attributes": { "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], "operations": "{ size := extcodesize(account) }" }, "children": [], - "id": 1148, + "id": 640, "name": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "attributes": { - "functionReturnParameters": 1144 + "functionReturnParameters": 636 }, "children": [ { @@ -45572,13 +45572,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1146, + "referencedDeclaration": 638, "type": "uint256", "value": "size" }, - "id": 1149, + "id": 641, "name": "Identifier", - "src": "19038:4:1" + "src": "19595:4:0" }, { "attributes": { @@ -45591,29 +45591,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1150, + "id": 642, "name": "Literal", - "src": "19045:1:1" + "src": "19602:1:0" } ], - "id": 1151, + "id": 643, "name": "BinaryOperation", - "src": "19038:8:1" + "src": "19595:8:0" } ], - "id": 1152, + "id": 644, "name": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ], - "id": 1153, + "id": 645, "name": "Block", - "src": "18706:347:1" + "src": "19255:356:0" } ], - "id": 1154, + "id": 646, "name": "FunctionDefinition", - "src": "18640:413:1" + "src": "19189:422:0" }, { "attributes": { @@ -45624,7 +45624,7 @@ null ], "name": "sendValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -45634,9 +45634,9 @@ "attributes": { "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1155, + "id": 647, "name": "StructuredDocumentation", - "src": "19059:906:1" + "src": "19619:921:0" }, { "children": [ @@ -45645,7 +45645,7 @@ "constant": false, "mutability": "mutable", "name": "recipient", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -45658,21 +45658,21 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 1156, + "id": 648, "name": "ElementaryTypeName", - "src": "19989:15:1" + "src": "20565:15:0" } ], - "id": 1157, + "id": 649, "name": "VariableDeclaration", - "src": "19989:25:1" + "src": "20565:25:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "amount", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45684,19 +45684,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1158, + "id": 650, "name": "ElementaryTypeName", - "src": "20016:7:1" + "src": "20592:7:0" } ], - "id": 1159, + "id": 651, "name": "VariableDeclaration", - "src": "20016:14:1" + "src": "20592:14:0" } ], - "id": 1160, + "id": 652, "name": "ParameterList", - "src": "19988:43:1" + "src": "20564:43:0" }, { "attributes": { @@ -45705,9 +45705,9 @@ ] }, "children": [], - "id": 1161, + "id": 653, "name": "ParameterList", - "src": "20041:0:1" + "src": "20617:0:0" }, { "children": [ @@ -45748,9 +45748,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1162, + "id": 654, "name": "Identifier", - "src": "20051:7:1" + "src": "20628:7:0" }, { "attributes": { @@ -45795,7 +45795,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -45810,14 +45810,14 @@ "attributes": { "name": "address" }, - "id": 1163, + "id": 655, "name": "ElementaryTypeName", - "src": "20059:7:1" + "src": "20636:7:0" } ], - "id": 1164, + "id": 656, "name": "ElementaryTypeNameExpression", - "src": "20059:7:1" + "src": "20636:7:0" }, { "attributes": { @@ -45828,37 +45828,37 @@ "type": "library Address", "value": "this" }, - "id": 1165, + "id": 657, "name": "Identifier", - "src": "20067:4:1" + "src": "20644:4:0" } ], - "id": 1166, + "id": 658, "name": "FunctionCall", - "src": "20059:13:1" + "src": "20636:13:0" } ], - "id": 1167, + "id": 659, "name": "MemberAccess", - "src": "20059:21:1" + "src": "20636:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1168, + "id": 660, "name": "Identifier", - "src": "20084:6:1" + "src": "20661:6:0" } ], - "id": 1169, + "id": 661, "name": "BinaryOperation", - "src": "20059:31:1" + "src": "20636:31:0" }, { "attributes": { @@ -45871,24 +45871,24 @@ "type": "literal_string \"Address: insufficient balance\"", "value": "Address: insufficient balance" }, - "id": 1170, + "id": 662, "name": "Literal", - "src": "20092:31:1" + "src": "20669:31:0" } ], - "id": 1171, + "id": 663, "name": "FunctionCall", - "src": "20051:73:1" + "src": "20628:73:0" } ], - "id": 1172, + "id": 664, "name": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "attributes": { "assignments": [ - 1174, + 666, null ] }, @@ -45898,7 +45898,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1187, + "scope": 679, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45910,14 +45910,14 @@ "name": "bool", "type": "bool" }, - "id": 1173, + "id": 665, "name": "ElementaryTypeName", - "src": "20213:4:1" + "src": "20793:4:0" } ], - "id": 1174, + "id": 666, "name": "VariableDeclaration", - "src": "20213:12:1" + "src": "20793:12:0" }, { "attributes": { @@ -45973,36 +45973,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1157, + "referencedDeclaration": 649, "type": "address payable", "value": "recipient" }, - "id": 1175, + "id": 667, "name": "Identifier", - "src": "20231:9:1" + "src": "20811:9:0" } ], - "id": 1176, + "id": 668, "name": "MemberAccess", - "src": "20231:14:1" + "src": "20811:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1177, + "id": 669, "name": "Identifier", - "src": "20254:6:1" + "src": "20834:6:0" } ], - "id": 1178, + "id": 670, "name": "FunctionCallOptions", - "src": "20231:31:1" + "src": "20811:31:0" }, { "attributes": { @@ -46015,19 +46015,19 @@ "type": "literal_string \"\"", "value": "" }, - "id": 1179, + "id": 671, "name": "Literal", - "src": "20263:2:1" + "src": "20843:2:0" } ], - "id": 1180, + "id": 672, "name": "FunctionCall", - "src": "20231:35:1" + "src": "20811:35:0" } ], - "id": 1181, + "id": 673, "name": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "children": [ @@ -46066,22 +46066,22 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1182, + "id": 674, "name": "Identifier", - "src": "20276:7:1" + "src": "20857:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 666, "type": "bool", "value": "success" }, - "id": 1183, + "id": 675, "name": "Identifier", - "src": "20284:7:1" + "src": "20865:7:0" }, { "attributes": { @@ -46094,29 +46094,29 @@ "type": "literal_string \"Address: unable to send value, recipient may have reverted\"", "value": "Address: unable to send value, recipient may have reverted" }, - "id": 1184, + "id": 676, "name": "Literal", - "src": "20293:60:1" + "src": "20874:60:0" } ], - "id": 1185, + "id": 677, "name": "FunctionCall", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1186, + "id": 678, "name": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1187, + "id": 679, "name": "Block", - "src": "20041:320:1" + "src": "20617:326:0" } ], - "id": 1188, + "id": 680, "name": "FunctionDefinition", - "src": "19970:391:1" + "src": "20546:397:0" }, { "attributes": { @@ -46127,7 +46127,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46137,9 +46137,9 @@ "attributes": { "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1189, + "id": 681, "name": "StructuredDocumentation", - "src": "20367:730:1" + "src": "20951:747:0" }, { "children": [ @@ -46148,7 +46148,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46161,21 +46161,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1190, + "id": 682, "name": "ElementaryTypeName", - "src": "21124:7:1" + "src": "21726:7:0" } ], - "id": 1191, + "id": 683, "name": "VariableDeclaration", - "src": "21124:14:1" + "src": "21726:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46187,19 +46187,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1192, + "id": 684, "name": "ElementaryTypeName", - "src": "21140:5:1" + "src": "21742:5:0" } ], - "id": 1193, + "id": 685, "name": "VariableDeclaration", - "src": "21140:17:1" + "src": "21742:17:0" } ], - "id": 1194, + "id": 686, "name": "ParameterList", - "src": "21123:35:1" + "src": "21725:35:0" }, { "children": [ @@ -46208,7 +46208,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46220,25 +46220,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1195, + "id": 687, "name": "ElementaryTypeName", - "src": "21177:5:1" + "src": "21779:5:0" } ], - "id": 1196, + "id": 688, "name": "VariableDeclaration", - "src": "21177:12:1" + "src": "21779:12:0" } ], - "id": 1197, + "id": 689, "name": "ParameterList", - "src": "21176:14:1" + "src": "21778:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1197 + "functionReturnParameters": 689 }, "children": [ { @@ -46273,42 +46273,42 @@ } ], "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionCall" }, - "id": 1198, + "id": 690, "name": "Identifier", - "src": "21206:12:1" + "src": "21809:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1191, + "referencedDeclaration": 683, "type": "address", "value": "target" }, - "id": 1199, + "id": 691, "name": "Identifier", - "src": "21219:6:1" + "src": "21822:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1193, + "referencedDeclaration": 685, "type": "bytes memory", "value": "data" }, - "id": 1200, + "id": 692, "name": "Identifier", - "src": "21227:4:1" + "src": "21830:4:0" }, { "attributes": { @@ -46321,29 +46321,29 @@ "type": "literal_string \"Address: low-level call failed\"", "value": "Address: low-level call failed" }, - "id": 1201, + "id": 693, "name": "Literal", - "src": "21233:32:1" + "src": "21836:32:0" } ], - "id": 1202, + "id": 694, "name": "FunctionCall", - "src": "21206:60:1" + "src": "21809:60:0" } ], - "id": 1203, + "id": 695, "name": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ], - "id": 1204, + "id": 696, "name": "Block", - "src": "21191:82:1" + "src": "21793:84:0" } ], - "id": 1205, + "id": 697, "name": "FunctionDefinition", - "src": "21102:171:1" + "src": "21704:173:0" }, { "attributes": { @@ -46354,7 +46354,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46364,9 +46364,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1206, + "id": 698, "name": "StructuredDocumentation", - "src": "21279:211:1" + "src": "21885:216:0" }, { "children": [ @@ -46375,7 +46375,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46388,21 +46388,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1207, + "id": 699, "name": "ElementaryTypeName", - "src": "21517:7:1" + "src": "22129:7:0" } ], - "id": 1208, + "id": 700, "name": "VariableDeclaration", - "src": "21517:14:1" + "src": "22129:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46414,21 +46414,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1209, + "id": 701, "name": "ElementaryTypeName", - "src": "21533:5:1" + "src": "22145:5:0" } ], - "id": 1210, + "id": 702, "name": "VariableDeclaration", - "src": "21533:17:1" + "src": "22145:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -46440,19 +46440,19 @@ "name": "string", "type": "string" }, - "id": 1211, + "id": 703, "name": "ElementaryTypeName", - "src": "21552:6:1" + "src": "22164:6:0" } ], - "id": 1212, + "id": 704, "name": "VariableDeclaration", - "src": "21552:26:1" + "src": "22164:26:0" } ], - "id": 1213, + "id": 705, "name": "ParameterList", - "src": "21516:63:1" + "src": "22128:63:0" }, { "children": [ @@ -46461,7 +46461,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46473,25 +46473,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1214, + "id": 706, "name": "ElementaryTypeName", - "src": "21598:5:1" + "src": "22210:5:0" } ], - "id": 1215, + "id": 707, "name": "VariableDeclaration", - "src": "21598:12:1" + "src": "22210:12:0" } ], - "id": 1216, + "id": 708, "name": "ParameterList", - "src": "21597:14:1" + "src": "22209:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1216 + "functionReturnParameters": 708 }, "children": [ { @@ -46530,42 +46530,42 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1217, + "id": 709, "name": "Identifier", - "src": "21629:21:1" + "src": "22242:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1208, + "referencedDeclaration": 700, "type": "address", "value": "target" }, - "id": 1218, + "id": 710, "name": "Identifier", - "src": "21651:6:1" + "src": "22264:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1210, + "referencedDeclaration": 702, "type": "bytes memory", "value": "data" }, - "id": 1219, + "id": 711, "name": "Identifier", - "src": "21659:4:1" + "src": "22272:4:0" }, { "attributes": { @@ -46578,42 +46578,42 @@ "type": "int_const 0", "value": "0" }, - "id": 1220, + "id": 712, "name": "Literal", - "src": "21665:1:1" + "src": "22278:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1212, + "referencedDeclaration": 704, "type": "string memory", "value": "errorMessage" }, - "id": 1221, + "id": 713, "name": "Identifier", - "src": "21668:12:1" + "src": "22281:12:0" } ], - "id": 1222, + "id": 714, "name": "FunctionCall", - "src": "21629:52:1" + "src": "22242:52:0" } ], - "id": 1223, + "id": 715, "name": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ], - "id": 1224, + "id": 716, "name": "Block", - "src": "21612:76:1" + "src": "22224:78:0" } ], - "id": 1225, + "id": 717, "name": "FunctionDefinition", - "src": "21495:193:1" + "src": "22107:195:0" }, { "attributes": { @@ -46624,7 +46624,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46634,9 +46634,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1226, + "id": 718, "name": "StructuredDocumentation", - "src": "21694:351:1" + "src": "22310:361:0" }, { "children": [ @@ -46645,7 +46645,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46658,21 +46658,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1227, + "id": 719, "name": "ElementaryTypeName", - "src": "22081:7:1" + "src": "22708:7:0" } ], - "id": 1228, + "id": 720, "name": "VariableDeclaration", - "src": "22081:14:1" + "src": "22708:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46684,21 +46684,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1229, + "id": 721, "name": "ElementaryTypeName", - "src": "22097:5:1" + "src": "22724:5:0" } ], - "id": 1230, + "id": 722, "name": "VariableDeclaration", - "src": "22097:17:1" + "src": "22724:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -46710,19 +46710,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1231, + "id": 723, "name": "ElementaryTypeName", - "src": "22116:7:1" + "src": "22743:7:0" } ], - "id": 1232, + "id": 724, "name": "VariableDeclaration", - "src": "22116:13:1" + "src": "22743:13:0" } ], - "id": 1233, + "id": 725, "name": "ParameterList", - "src": "22080:50:1" + "src": "22707:50:0" }, { "children": [ @@ -46731,7 +46731,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46743,25 +46743,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1234, + "id": 726, "name": "ElementaryTypeName", - "src": "22149:5:1" + "src": "22776:5:0" } ], - "id": 1235, + "id": 727, "name": "VariableDeclaration", - "src": "22149:12:1" + "src": "22776:12:0" } ], - "id": 1236, + "id": 728, "name": "ParameterList", - "src": "22148:14:1" + "src": "22775:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1236 + "functionReturnParameters": 728 }, "children": [ { @@ -46800,55 +46800,55 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1237, + "id": 729, "name": "Identifier", - "src": "22180:21:1" + "src": "22808:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 720, "type": "address", "value": "target" }, - "id": 1238, + "id": 730, "name": "Identifier", - "src": "22202:6:1" + "src": "22830:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 722, "type": "bytes memory", "value": "data" }, - "id": 1239, + "id": 731, "name": "Identifier", - "src": "22210:4:1" + "src": "22838:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1232, + "referencedDeclaration": 724, "type": "uint256", "value": "value" }, - "id": 1240, + "id": 732, "name": "Identifier", - "src": "22216:5:1" + "src": "22844:5:0" }, { "attributes": { @@ -46861,29 +46861,29 @@ "type": "literal_string \"Address: low-level call with value failed\"", "value": "Address: low-level call with value failed" }, - "id": 1241, + "id": 733, "name": "Literal", - "src": "22223:43:1" + "src": "22851:43:0" } ], - "id": 1242, + "id": 734, "name": "FunctionCall", - "src": "22180:87:1" + "src": "22808:87:0" } ], - "id": 1243, + "id": 735, "name": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ], - "id": 1244, + "id": 736, "name": "Block", - "src": "22163:111:1" + "src": "22790:113:0" } ], - "id": 1245, + "id": 737, "name": "FunctionDefinition", - "src": "22050:224:1" + "src": "22677:226:0" }, { "attributes": { @@ -46894,7 +46894,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46904,9 +46904,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1246, + "id": 738, "name": "StructuredDocumentation", - "src": "22280:237:1" + "src": "22911:242:0" }, { "children": [ @@ -46915,7 +46915,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46928,21 +46928,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1247, + "id": 739, "name": "ElementaryTypeName", - "src": "22553:7:1" + "src": "23190:7:0" } ], - "id": 1248, + "id": 740, "name": "VariableDeclaration", - "src": "22553:14:1" + "src": "23190:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46954,21 +46954,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1249, + "id": 741, "name": "ElementaryTypeName", - "src": "22569:5:1" + "src": "23206:5:0" } ], - "id": 1250, + "id": 742, "name": "VariableDeclaration", - "src": "22569:17:1" + "src": "23206:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -46980,21 +46980,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1251, + "id": 743, "name": "ElementaryTypeName", - "src": "22588:7:1" + "src": "23225:7:0" } ], - "id": 1252, + "id": 744, "name": "VariableDeclaration", - "src": "22588:13:1" + "src": "23225:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -47006,19 +47006,19 @@ "name": "string", "type": "string" }, - "id": 1253, + "id": 745, "name": "ElementaryTypeName", - "src": "22603:6:1" + "src": "23240:6:0" } ], - "id": 1254, + "id": 746, "name": "VariableDeclaration", - "src": "22603:26:1" + "src": "23240:26:0" } ], - "id": 1255, + "id": 747, "name": "ParameterList", - "src": "22552:78:1" + "src": "23189:78:0" }, { "children": [ @@ -47027,7 +47027,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47039,19 +47039,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1256, + "id": 748, "name": "ElementaryTypeName", - "src": "22649:5:1" + "src": "23286:5:0" } ], - "id": 1257, + "id": 749, "name": "VariableDeclaration", - "src": "22649:12:1" + "src": "23286:12:0" } ], - "id": 1258, + "id": 750, "name": "ParameterList", - "src": "22648:14:1" + "src": "23285:14:0" }, { "children": [ @@ -47092,9 +47092,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1259, + "id": 751, "name": "Identifier", - "src": "22673:7:1" + "src": "23311:7:0" }, { "attributes": { @@ -47139,7 +47139,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -47154,14 +47154,14 @@ "attributes": { "name": "address" }, - "id": 1260, + "id": 752, "name": "ElementaryTypeName", - "src": "22681:7:1" + "src": "23319:7:0" } ], - "id": 1261, + "id": 753, "name": "ElementaryTypeNameExpression", - "src": "22681:7:1" + "src": "23319:7:0" }, { "attributes": { @@ -47172,37 +47172,37 @@ "type": "library Address", "value": "this" }, - "id": 1262, + "id": 754, "name": "Identifier", - "src": "22689:4:1" + "src": "23327:4:0" } ], - "id": 1263, + "id": 755, "name": "FunctionCall", - "src": "22681:13:1" + "src": "23319:13:0" } ], - "id": 1264, + "id": 756, "name": "MemberAccess", - "src": "22681:21:1" + "src": "23319:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1265, + "id": 757, "name": "Identifier", - "src": "22706:5:1" + "src": "23344:5:0" } ], - "id": 1266, + "id": 758, "name": "BinaryOperation", - "src": "22681:30:1" + "src": "23319:30:0" }, { "attributes": { @@ -47215,19 +47215,19 @@ "type": "literal_string \"Address: insufficient balance for call\"", "value": "Address: insufficient balance for call" }, - "id": 1267, + "id": 759, "name": "Literal", - "src": "22713:40:1" + "src": "23351:40:0" } ], - "id": 1268, + "id": 760, "name": "FunctionCall", - "src": "22673:81:1" + "src": "23311:81:0" } ], - "id": 1269, + "id": 761, "name": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "children": [ @@ -47266,9 +47266,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1270, + "id": 762, "name": "Identifier", - "src": "22764:7:1" + "src": "23403:7:0" }, { "attributes": { @@ -47296,31 +47296,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1271, + "id": 763, "name": "Identifier", - "src": "22772:10:1" + "src": "23411:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1272, + "id": 764, "name": "Identifier", - "src": "22783:6:1" + "src": "23422:6:0" } ], - "id": 1273, + "id": 765, "name": "FunctionCall", - "src": "22772:18:1" + "src": "23411:18:0" }, { "attributes": { @@ -47333,25 +47333,25 @@ "type": "literal_string \"Address: call to non-contract\"", "value": "Address: call to non-contract" }, - "id": 1274, + "id": 766, "name": "Literal", - "src": "22792:31:1" + "src": "23431:31:0" } ], - "id": 1275, + "id": 767, "name": "FunctionCall", - "src": "22764:60:1" + "src": "23403:60:0" } ], - "id": 1276, + "id": 768, "name": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "attributes": { "assignments": [ - 1278, - 1280 + 770, + 772 ] }, "children": [ @@ -47360,7 +47360,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -47372,21 +47372,21 @@ "name": "bool", "type": "bool" }, - "id": 1277, + "id": 769, "name": "ElementaryTypeName", - "src": "22895:4:1" + "src": "23537:4:0" } ], - "id": 1278, + "id": 770, "name": "VariableDeclaration", - "src": "22895:12:1" + "src": "23537:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47398,14 +47398,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1279, + "id": 771, "name": "ElementaryTypeName", - "src": "22909:5:1" + "src": "23551:5:0" } ], - "id": 1280, + "id": 772, "name": "VariableDeclaration", - "src": "22909:23:1" + "src": "23551:23:0" }, { "attributes": { @@ -47461,63 +47461,63 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1281, + "id": 773, "name": "Identifier", - "src": "22936:6:1" + "src": "23578:6:0" } ], - "id": 1282, + "id": 774, "name": "MemberAccess", - "src": "22936:11:1" + "src": "23578:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1283, + "id": 775, "name": "Identifier", - "src": "22956:5:1" + "src": "23598:5:0" } ], - "id": 1284, + "id": 776, "name": "FunctionCallOptions", - "src": "22936:27:1" + "src": "23578:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1250, + "referencedDeclaration": 742, "type": "bytes memory", "value": "data" }, - "id": 1285, + "id": 777, "name": "Identifier", - "src": "22964:4:1" + "src": "23606:4:0" } ], - "id": 1286, + "id": 778, "name": "FunctionCall", - "src": "22936:33:1" + "src": "23578:33:0" } ], - "id": 1287, + "id": 779, "name": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "attributes": { - "functionReturnParameters": 1258 + "functionReturnParameters": 750 }, "children": [ { @@ -47554,72 +47554,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1288, + "id": 780, "name": "Identifier", - "src": "22986:17:1" + "src": "23629:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1278, + "referencedDeclaration": 770, "type": "bool", "value": "success" }, - "id": 1289, + "id": 781, "name": "Identifier", - "src": "23004:7:1" + "src": "23647:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1280, + "referencedDeclaration": 772, "type": "bytes memory", "value": "returndata" }, - "id": 1290, + "id": 782, "name": "Identifier", - "src": "23013:10:1" + "src": "23656:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 746, "type": "string memory", "value": "errorMessage" }, - "id": 1291, + "id": 783, "name": "Identifier", - "src": "23025:12:1" + "src": "23668:12:0" } ], - "id": 1292, + "id": 784, "name": "FunctionCall", - "src": "22986:52:1" + "src": "23629:52:0" } ], - "id": 1293, + "id": 785, "name": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ], - "id": 1294, + "id": 786, "name": "Block", - "src": "22663:382:1" + "src": "23300:389:0" } ], - "id": 1295, + "id": 787, "name": "FunctionDefinition", - "src": "22522:523:1" + "src": "23159:530:0" }, { "attributes": { @@ -47630,7 +47630,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -47640,9 +47640,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1296, + "id": 788, "name": "StructuredDocumentation", - "src": "23051:166:1" + "src": "23697:171:0" }, { "children": [ @@ -47651,7 +47651,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47664,21 +47664,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1297, + "id": 789, "name": "ElementaryTypeName", - "src": "23250:7:1" + "src": "23902:7:0" } ], - "id": 1298, + "id": 790, "name": "VariableDeclaration", - "src": "23250:14:1" + "src": "23902:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47690,19 +47690,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1299, + "id": 791, "name": "ElementaryTypeName", - "src": "23266:5:1" + "src": "23918:5:0" } ], - "id": 1300, + "id": 792, "name": "VariableDeclaration", - "src": "23266:17:1" + "src": "23918:17:0" } ], - "id": 1301, + "id": 793, "name": "ParameterList", - "src": "23249:35:1" + "src": "23901:35:0" }, { "children": [ @@ -47711,7 +47711,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47723,25 +47723,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1302, + "id": 794, "name": "ElementaryTypeName", - "src": "23308:5:1" + "src": "23960:5:0" } ], - "id": 1303, + "id": 795, "name": "VariableDeclaration", - "src": "23308:12:1" + "src": "23960:12:0" } ], - "id": 1304, + "id": 796, "name": "ParameterList", - "src": "23307:14:1" + "src": "23959:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1304 + "functionReturnParameters": 796 }, "children": [ { @@ -47776,42 +47776,42 @@ } ], "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, + "referencedDeclaration": 839, "type": "function (address,bytes memory,string memory) view returns (bytes memory)", "value": "functionStaticCall" }, - "id": 1305, + "id": 797, "name": "Identifier", - "src": "23339:18:1" + "src": "23992:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1298, + "referencedDeclaration": 790, "type": "address", "value": "target" }, - "id": 1306, + "id": 798, "name": "Identifier", - "src": "23358:6:1" + "src": "24011:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1300, + "referencedDeclaration": 792, "type": "bytes memory", "value": "data" }, - "id": 1307, + "id": 799, "name": "Identifier", - "src": "23366:4:1" + "src": "24019:4:0" }, { "attributes": { @@ -47824,29 +47824,29 @@ "type": "literal_string \"Address: low-level static call failed\"", "value": "Address: low-level static call failed" }, - "id": 1308, + "id": 800, "name": "Literal", - "src": "23372:39:1" + "src": "24025:39:0" } ], - "id": 1309, + "id": 801, "name": "FunctionCall", - "src": "23339:73:1" + "src": "23992:73:0" } ], - "id": 1310, + "id": 802, "name": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ], - "id": 1311, + "id": 803, "name": "Block", - "src": "23322:97:1" + "src": "23974:99:0" } ], - "id": 1312, + "id": 804, "name": "FunctionDefinition", - "src": "23222:197:1" + "src": "23874:199:0" }, { "attributes": { @@ -47857,7 +47857,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -47867,9 +47867,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1313, + "id": 805, "name": "StructuredDocumentation", - "src": "23425:173:1" + "src": "24081:178:0" }, { "children": [ @@ -47878,7 +47878,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47891,21 +47891,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1314, + "id": 806, "name": "ElementaryTypeName", - "src": "23631:7:1" + "src": "24293:7:0" } ], - "id": 1315, + "id": 807, "name": "VariableDeclaration", - "src": "23631:14:1" + "src": "24293:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47917,21 +47917,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1316, + "id": 808, "name": "ElementaryTypeName", - "src": "23647:5:1" + "src": "24309:5:0" } ], - "id": 1317, + "id": 809, "name": "VariableDeclaration", - "src": "23647:17:1" + "src": "24309:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -47943,19 +47943,19 @@ "name": "string", "type": "string" }, - "id": 1318, + "id": 810, "name": "ElementaryTypeName", - "src": "23666:6:1" + "src": "24328:6:0" } ], - "id": 1319, + "id": 811, "name": "VariableDeclaration", - "src": "23666:26:1" + "src": "24328:26:0" } ], - "id": 1320, + "id": 812, "name": "ParameterList", - "src": "23630:63:1" + "src": "24292:63:0" }, { "children": [ @@ -47964,7 +47964,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47976,19 +47976,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1321, + "id": 813, "name": "ElementaryTypeName", - "src": "23717:5:1" + "src": "24379:5:0" } ], - "id": 1322, + "id": 814, "name": "VariableDeclaration", - "src": "23717:12:1" + "src": "24379:12:0" } ], - "id": 1323, + "id": 815, "name": "ParameterList", - "src": "23716:14:1" + "src": "24378:14:0" }, { "children": [ @@ -48029,9 +48029,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1324, + "id": 816, "name": "Identifier", - "src": "23741:7:1" + "src": "24404:7:0" }, { "attributes": { @@ -48059,31 +48059,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1325, + "id": 817, "name": "Identifier", - "src": "23749:10:1" + "src": "24412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1326, + "id": 818, "name": "Identifier", - "src": "23760:6:1" + "src": "24423:6:0" } ], - "id": 1327, + "id": 819, "name": "FunctionCall", - "src": "23749:18:1" + "src": "24412:18:0" }, { "attributes": { @@ -48096,25 +48096,25 @@ "type": "literal_string \"Address: static call to non-contract\"", "value": "Address: static call to non-contract" }, - "id": 1328, + "id": 820, "name": "Literal", - "src": "23769:38:1" + "src": "24432:38:0" } ], - "id": 1329, + "id": 821, "name": "FunctionCall", - "src": "23741:67:1" + "src": "24404:67:0" } ], - "id": 1330, + "id": 822, "name": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "attributes": { "assignments": [ - 1332, - 1334 + 824, + 826 ] }, "children": [ @@ -48123,7 +48123,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48135,21 +48135,21 @@ "name": "bool", "type": "bool" }, - "id": 1331, + "id": 823, "name": "ElementaryTypeName", - "src": "23879:4:1" + "src": "24545:4:0" } ], - "id": 1332, + "id": 824, "name": "VariableDeclaration", - "src": "23879:12:1" + "src": "24545:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48161,14 +48161,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1333, + "id": 825, "name": "ElementaryTypeName", - "src": "23893:5:1" + "src": "24559:5:0" } ], - "id": 1334, + "id": 826, "name": "VariableDeclaration", - "src": "23893:23:1" + "src": "24559:23:0" }, { "attributes": { @@ -48206,45 +48206,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1335, + "id": 827, "name": "Identifier", - "src": "23920:6:1" + "src": "24586:6:0" } ], - "id": 1336, + "id": 828, "name": "MemberAccess", - "src": "23920:17:1" + "src": "24586:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1317, + "referencedDeclaration": 809, "type": "bytes memory", "value": "data" }, - "id": 1337, + "id": 829, "name": "Identifier", - "src": "23938:4:1" + "src": "24604:4:0" } ], - "id": 1338, + "id": 830, "name": "FunctionCall", - "src": "23920:23:1" + "src": "24586:23:0" } ], - "id": 1339, + "id": 831, "name": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "attributes": { - "functionReturnParameters": 1323 + "functionReturnParameters": 815 }, "children": [ { @@ -48281,72 +48281,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1340, + "id": 832, "name": "Identifier", - "src": "23960:17:1" + "src": "24627:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1332, + "referencedDeclaration": 824, "type": "bool", "value": "success" }, - "id": 1341, + "id": 833, "name": "Identifier", - "src": "23978:7:1" + "src": "24645:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1334, + "referencedDeclaration": 826, "type": "bytes memory", "value": "returndata" }, - "id": 1342, + "id": 834, "name": "Identifier", - "src": "23987:10:1" + "src": "24654:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 811, "type": "string memory", "value": "errorMessage" }, - "id": 1343, + "id": 835, "name": "Identifier", - "src": "23999:12:1" + "src": "24666:12:0" } ], - "id": 1344, + "id": 836, "name": "FunctionCall", - "src": "23960:52:1" + "src": "24627:52:0" } ], - "id": 1345, + "id": 837, "name": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ], - "id": 1346, + "id": 838, "name": "Block", - "src": "23731:288:1" + "src": "24393:294:0" } ], - "id": 1347, + "id": 839, "name": "FunctionDefinition", - "src": "23603:416:1" + "src": "24265:422:0" }, { "attributes": { @@ -48357,7 +48357,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48367,9 +48367,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1348, + "id": 840, "name": "StructuredDocumentation", - "src": "24025:168:1" + "src": "24695:173:0" }, { "children": [ @@ -48378,7 +48378,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48391,21 +48391,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1349, + "id": 841, "name": "ElementaryTypeName", - "src": "24228:7:1" + "src": "24904:7:0" } ], - "id": 1350, + "id": 842, "name": "VariableDeclaration", - "src": "24228:14:1" + "src": "24904:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48417,19 +48417,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1351, + "id": 843, "name": "ElementaryTypeName", - "src": "24244:5:1" + "src": "24920:5:0" } ], - "id": 1352, + "id": 844, "name": "VariableDeclaration", - "src": "24244:17:1" + "src": "24920:17:0" } ], - "id": 1353, + "id": 845, "name": "ParameterList", - "src": "24227:35:1" + "src": "24903:35:0" }, { "children": [ @@ -48438,7 +48438,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48450,25 +48450,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1354, + "id": 846, "name": "ElementaryTypeName", - "src": "24281:5:1" + "src": "24957:5:0" } ], - "id": 1355, + "id": 847, "name": "VariableDeclaration", - "src": "24281:12:1" + "src": "24957:12:0" } ], - "id": 1356, + "id": 848, "name": "ParameterList", - "src": "24280:14:1" + "src": "24956:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1356 + "functionReturnParameters": 848 }, "children": [ { @@ -48503,42 +48503,42 @@ } ], "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, + "referencedDeclaration": 891, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionDelegateCall" }, - "id": 1357, + "id": 849, "name": "Identifier", - "src": "24312:20:1" + "src": "24989:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1350, + "referencedDeclaration": 842, "type": "address", "value": "target" }, - "id": 1358, + "id": 850, "name": "Identifier", - "src": "24333:6:1" + "src": "25010:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1352, + "referencedDeclaration": 844, "type": "bytes memory", "value": "data" }, - "id": 1359, + "id": 851, "name": "Identifier", - "src": "24341:4:1" + "src": "25018:4:0" }, { "attributes": { @@ -48551,29 +48551,29 @@ "type": "literal_string \"Address: low-level delegate call failed\"", "value": "Address: low-level delegate call failed" }, - "id": 1360, + "id": 852, "name": "Literal", - "src": "24347:41:1" + "src": "25024:41:0" } ], - "id": 1361, + "id": 853, "name": "FunctionCall", - "src": "24312:77:1" + "src": "24989:77:0" } ], - "id": 1362, + "id": 854, "name": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ], - "id": 1363, + "id": 855, "name": "Block", - "src": "24295:101:1" + "src": "24971:103:0" } ], - "id": 1364, + "id": 856, "name": "FunctionDefinition", - "src": "24198:198:1" + "src": "24874:200:0" }, { "attributes": { @@ -48584,7 +48584,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48594,9 +48594,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1365, + "id": 857, "name": "StructuredDocumentation", - "src": "24402:175:1" + "src": "25082:180:0" }, { "children": [ @@ -48605,7 +48605,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48618,21 +48618,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1366, + "id": 858, "name": "ElementaryTypeName", - "src": "24612:7:1" + "src": "25298:7:0" } ], - "id": 1367, + "id": 859, "name": "VariableDeclaration", - "src": "24612:14:1" + "src": "25298:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48644,21 +48644,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1368, + "id": 860, "name": "ElementaryTypeName", - "src": "24628:5:1" + "src": "25314:5:0" } ], - "id": 1369, + "id": 861, "name": "VariableDeclaration", - "src": "24628:17:1" + "src": "25314:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -48670,19 +48670,19 @@ "name": "string", "type": "string" }, - "id": 1370, + "id": 862, "name": "ElementaryTypeName", - "src": "24647:6:1" + "src": "25333:6:0" } ], - "id": 1371, + "id": 863, "name": "VariableDeclaration", - "src": "24647:26:1" + "src": "25333:26:0" } ], - "id": 1372, + "id": 864, "name": "ParameterList", - "src": "24611:63:1" + "src": "25297:63:0" }, { "children": [ @@ -48691,7 +48691,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48703,19 +48703,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1373, + "id": 865, "name": "ElementaryTypeName", - "src": "24693:5:1" + "src": "25379:5:0" } ], - "id": 1374, + "id": 866, "name": "VariableDeclaration", - "src": "24693:12:1" + "src": "25379:12:0" } ], - "id": 1375, + "id": 867, "name": "ParameterList", - "src": "24692:14:1" + "src": "25378:14:0" }, { "children": [ @@ -48756,9 +48756,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1376, + "id": 868, "name": "Identifier", - "src": "24717:7:1" + "src": "25404:7:0" }, { "attributes": { @@ -48786,31 +48786,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1377, + "id": 869, "name": "Identifier", - "src": "24725:10:1" + "src": "25412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1378, + "id": 870, "name": "Identifier", - "src": "24736:6:1" + "src": "25423:6:0" } ], - "id": 1379, + "id": 871, "name": "FunctionCall", - "src": "24725:18:1" + "src": "25412:18:0" }, { "attributes": { @@ -48823,25 +48823,25 @@ "type": "literal_string \"Address: delegate call to non-contract\"", "value": "Address: delegate call to non-contract" }, - "id": 1380, + "id": 872, "name": "Literal", - "src": "24745:40:1" + "src": "25432:40:0" } ], - "id": 1381, + "id": 873, "name": "FunctionCall", - "src": "24717:69:1" + "src": "25404:69:0" } ], - "id": 1382, + "id": 874, "name": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "attributes": { "assignments": [ - 1384, - 1386 + 876, + 878 ] }, "children": [ @@ -48850,7 +48850,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48862,21 +48862,21 @@ "name": "bool", "type": "bool" }, - "id": 1383, + "id": 875, "name": "ElementaryTypeName", - "src": "24857:4:1" + "src": "25547:4:0" } ], - "id": 1384, + "id": 876, "name": "VariableDeclaration", - "src": "24857:12:1" + "src": "25547:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48888,14 +48888,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1385, + "id": 877, "name": "ElementaryTypeName", - "src": "24871:5:1" + "src": "25561:5:0" } ], - "id": 1386, + "id": 878, "name": "VariableDeclaration", - "src": "24871:23:1" + "src": "25561:23:0" }, { "attributes": { @@ -48933,45 +48933,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1387, + "id": 879, "name": "Identifier", - "src": "24898:6:1" + "src": "25588:6:0" } ], - "id": 1388, + "id": 880, "name": "MemberAccess", - "src": "24898:19:1" + "src": "25588:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1369, + "referencedDeclaration": 861, "type": "bytes memory", "value": "data" }, - "id": 1389, + "id": 881, "name": "Identifier", - "src": "24918:4:1" + "src": "25608:4:0" } ], - "id": 1390, + "id": 882, "name": "FunctionCall", - "src": "24898:25:1" + "src": "25588:25:0" } ], - "id": 1391, + "id": 883, "name": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "attributes": { - "functionReturnParameters": 1375 + "functionReturnParameters": 867 }, "children": [ { @@ -49008,72 +49008,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1392, + "id": 884, "name": "Identifier", - "src": "24940:17:1" + "src": "25631:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1384, + "referencedDeclaration": 876, "type": "bool", "value": "success" }, - "id": 1393, + "id": 885, "name": "Identifier", - "src": "24958:7:1" + "src": "25649:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1386, + "referencedDeclaration": 878, "type": "bytes memory", "value": "returndata" }, - "id": 1394, + "id": 886, "name": "Identifier", - "src": "24967:10:1" + "src": "25658:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1371, + "referencedDeclaration": 863, "type": "string memory", "value": "errorMessage" }, - "id": 1395, + "id": 887, "name": "Identifier", - "src": "24979:12:1" + "src": "25670:12:0" } ], - "id": 1396, + "id": 888, "name": "FunctionCall", - "src": "24940:52:1" + "src": "25631:52:0" } ], - "id": 1397, + "id": 889, "name": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ], - "id": 1398, + "id": 890, "name": "Block", - "src": "24707:292:1" + "src": "25393:298:0" } ], - "id": 1399, + "id": 891, "name": "FunctionDefinition", - "src": "24582:417:1" + "src": "25268:423:0" }, { "attributes": { @@ -49084,7 +49084,7 @@ null ], "name": "_verifyCallResult", - "scope": 1430, + "scope": 922, "stateMutability": "pure", "virtual": false, "visibility": "private" @@ -49097,7 +49097,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49109,21 +49109,21 @@ "name": "bool", "type": "bool" }, - "id": 1400, + "id": 892, "name": "ElementaryTypeName", - "src": "25032:4:1" + "src": "25726:4:0" } ], - "id": 1401, + "id": 893, "name": "VariableDeclaration", - "src": "25032:12:1" + "src": "25726:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49135,21 +49135,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1402, + "id": 894, "name": "ElementaryTypeName", - "src": "25046:5:1" + "src": "25740:5:0" } ], - "id": 1403, + "id": 895, "name": "VariableDeclaration", - "src": "25046:23:1" + "src": "25740:23:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -49161,19 +49161,19 @@ "name": "string", "type": "string" }, - "id": 1404, + "id": 896, "name": "ElementaryTypeName", - "src": "25071:6:1" + "src": "25765:6:0" } ], - "id": 1405, + "id": 897, "name": "VariableDeclaration", - "src": "25071:26:1" + "src": "25765:26:0" } ], - "id": 1406, + "id": 898, "name": "ParameterList", - "src": "25031:67:1" + "src": "25725:67:0" }, { "children": [ @@ -49182,7 +49182,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49194,19 +49194,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1407, + "id": 899, "name": "ElementaryTypeName", - "src": "25120:5:1" + "src": "25814:5:0" } ], - "id": 1408, + "id": 900, "name": "VariableDeclaration", - "src": "25120:12:1" + "src": "25814:12:0" } ], - "id": 1409, + "id": 901, "name": "ParameterList", - "src": "25119:14:1" + "src": "25813:14:0" }, { "children": [ @@ -49217,19 +49217,19 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1401, + "referencedDeclaration": 893, "type": "bool", "value": "success" }, - "id": 1410, + "id": 902, "name": "Identifier", - "src": "25148:7:1" + "src": "25843:7:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1409 + "functionReturnParameters": 901 }, "children": [ { @@ -49237,23 +49237,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1411, + "id": 903, "name": "Identifier", - "src": "25178:10:1" + "src": "25874:10:0" } ], - "id": 1412, + "id": 904, "name": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ], - "id": 1413, + "id": 905, "name": "Block", - "src": "25157:42:1" + "src": "25852:44:0" }, { "children": [ @@ -49288,18 +49288,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1414, + "id": 906, "name": "Identifier", - "src": "25289:10:1" + "src": "25988:10:0" } ], - "id": 1415, + "id": 907, "name": "MemberAccess", - "src": "25289:17:1" + "src": "25988:17:0" }, { "attributes": { @@ -49312,14 +49312,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1416, + "id": 908, "name": "Literal", - "src": "25309:1:1" + "src": "26008:1:0" } ], - "id": 1417, + "id": 909, "name": "BinaryOperation", - "src": "25289:21:1" + "src": "25988:21:0" }, { "children": [ @@ -49328,31 +49328,31 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], "operations": "{\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n}" }, "children": [], - "id": 1418, + "id": 910, "name": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ], - "id": 1419, + "id": 911, "name": "Block", - "src": "25312:343:1" + "src": "26011:351:0" }, { "children": [ @@ -49389,67 +49389,67 @@ "type": "function (string memory) pure", "value": "revert" }, - "id": 1420, + "id": 912, "name": "Identifier", - "src": "25679:6:1" + "src": "26387:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1405, + "referencedDeclaration": 897, "type": "string memory", "value": "errorMessage" }, - "id": 1421, + "id": 913, "name": "Identifier", - "src": "25686:12:1" + "src": "26394:12:0" } ], - "id": 1422, + "id": 914, "name": "FunctionCall", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1423, + "id": 915, "name": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1424, + "id": 916, "name": "Block", - "src": "25661:53:1" + "src": "26368:55:0" } ], - "id": 1425, + "id": 917, "name": "IfStatement", - "src": "25285:429:1" + "src": "25984:439:0" } ], - "id": 1426, + "id": 918, "name": "Block", - "src": "25205:519:1" + "src": "25902:532:0" } ], - "id": 1427, + "id": 919, "name": "IfStatement", - "src": "25144:580:1" + "src": "25839:595:0" } ], - "id": 1428, + "id": 920, "name": "Block", - "src": "25134:596:1" + "src": "25828:613:0" } ], - "id": 1429, + "id": 921, "name": "FunctionDefinition", - "src": "25005:725:1" + "src": "25699:742:0" } ], - "id": 1430, + "id": 922, "name": "ContractDefinition", - "src": "18048:7684:1" + "src": "18579:7865:0" }, { "attributes": { @@ -49463,9 +49463,9 @@ ".0" ] }, - "id": 1431, + "id": 923, "name": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "attributes": { @@ -49479,25 +49479,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, - "id": 1432, + "id": 924, "name": "StructuredDocumentation", - "src": "25824:686:1" + "src": "26541:709:0" }, { "attributes": { "canonicalName": "EnumerableSet.Set", "name": "Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -49506,7 +49506,7 @@ "constant": false, "mutability": "mutable", "name": "_values", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "bytes32[]", @@ -49523,26 +49523,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1433, + "id": 925, "name": "ElementaryTypeName", - "src": "27033:7:1" + "src": "27786:7:0" } ], - "id": 1434, + "id": 926, "name": "ArrayTypeName", - "src": "27033:9:1" + "src": "27786:9:0" } ], - "id": 1435, + "id": 927, "name": "VariableDeclaration", - "src": "27033:17:1" + "src": "27786:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -49559,33 +49559,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1436, + "id": 928, "name": "ElementaryTypeName", - "src": "27193:7:1" + "src": "27950:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1437, + "id": 929, "name": "ElementaryTypeName", - "src": "27204:7:1" + "src": "27961:7:0" } ], - "id": 1438, + "id": 930, "name": "Mapping", - "src": "27184:28:1" + "src": "27941:28:0" } ], - "id": 1439, + "id": 931, "name": "VariableDeclaration", - "src": "27184:37:1" + "src": "27941:37:0" } ], - "id": 1440, + "id": 932, "name": "StructDefinition", - "src": "26979:249:1" + "src": "27730:256:0" }, { "attributes": { @@ -49596,7 +49596,7 @@ null ], "name": "_add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -49606,9 +49606,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1441, + "id": 933, "name": "StructuredDocumentation", - "src": "27234:159:1" + "src": "27994:164:0" }, { "children": [ @@ -49617,7 +49617,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -49627,24 +49627,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1442, + "id": 934, "name": "UserDefinedTypeName", - "src": "27412:3:1" + "src": "28178:3:0" } ], - "id": 1443, + "id": 935, "name": "VariableDeclaration", - "src": "27412:15:1" + "src": "28178:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -49656,19 +49656,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1444, + "id": 936, "name": "ElementaryTypeName", - "src": "27429:7:1" + "src": "28195:7:0" } ], - "id": 1445, + "id": 937, "name": "VariableDeclaration", - "src": "27429:13:1" + "src": "28195:13:0" } ], - "id": 1446, + "id": 938, "name": "ParameterList", - "src": "27411:32:1" + "src": "28177:32:0" }, { "children": [ @@ -49677,7 +49677,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49689,19 +49689,19 @@ "name": "bool", "type": "bool" }, - "id": 1447, + "id": 939, "name": "ElementaryTypeName", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1448, + "id": 940, "name": "VariableDeclaration", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1449, + "id": 941, "name": "ParameterList", - "src": "27460:6:1" + "src": "28226:6:0" }, { "children": [ @@ -49737,7 +49737,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -49748,49 +49748,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1450, + "id": 942, "name": "Identifier", - "src": "27482:9:1" + "src": "28249:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1451, + "id": 943, "name": "Identifier", - "src": "27492:3:1" + "src": "28259:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1452, + "id": 944, "name": "Identifier", - "src": "27497:5:1" + "src": "28264:5:0" } ], - "id": 1453, + "id": 945, "name": "FunctionCall", - "src": "27482:21:1" + "src": "28249:21:0" } ], - "id": 1454, + "id": 946, "name": "UnaryOperation", - "src": "27481:22:1" + "src": "28248:22:0" }, { "children": [ @@ -49834,7 +49834,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -49843,46 +49843,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1455, + "id": 947, "name": "Identifier", - "src": "27519:3:1" + "src": "28287:3:0" } ], - "id": 1458, + "id": 950, "name": "MemberAccess", - "src": "27519:11:1" + "src": "28287:11:0" } ], - "id": 1459, + "id": 951, "name": "MemberAccess", - "src": "27519:16:1" + "src": "28287:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1460, + "id": 952, "name": "Identifier", - "src": "27536:5:1" + "src": "28304:5:0" } ], - "id": 1461, + "id": 953, "name": "FunctionCall", - "src": "27519:23:1" + "src": "28287:23:0" } ], - "id": 1462, + "id": 954, "name": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "children": [ @@ -49912,7 +49912,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -49921,36 +49921,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1463, + "id": 955, "name": "Identifier", - "src": "27677:3:1" + "src": "28448:3:0" } ], - "id": 1466, + "id": 958, "name": "MemberAccess", - "src": "27677:12:1" + "src": "28448:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1465, + "id": 957, "name": "Identifier", - "src": "27690:5:1" + "src": "28461:5:0" } ], - "id": 1467, + "id": 959, "name": "IndexAccess", - "src": "27677:19:1" + "src": "28448:19:0" }, { "attributes": { @@ -49969,7 +49969,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -49978,37 +49978,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1468, + "id": 960, "name": "Identifier", - "src": "27699:3:1" + "src": "28470:3:0" } ], - "id": 1469, + "id": 961, "name": "MemberAccess", - "src": "27699:11:1" + "src": "28470:11:0" } ], - "id": 1470, + "id": 962, "name": "MemberAccess", - "src": "27699:18:1" + "src": "28470:18:0" } ], - "id": 1471, + "id": 963, "name": "Assignment", - "src": "27677:40:1" + "src": "28448:40:0" } ], - "id": 1472, + "id": 964, "name": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -50022,25 +50022,25 @@ "type": "bool", "value": "true" }, - "id": 1473, + "id": 965, "name": "Literal", - "src": "27738:4:1" + "src": "28510:4:0" } ], - "id": 1474, + "id": 966, "name": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ], - "id": 1475, + "id": 967, "name": "Block", - "src": "27505:248:1" + "src": "28272:254:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -50054,34 +50054,34 @@ "type": "bool", "value": "false" }, - "id": 1476, + "id": 968, "name": "Literal", - "src": "27780:5:1" + "src": "28554:5:0" } ], - "id": 1477, + "id": 969, "name": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ], - "id": 1478, + "id": 970, "name": "Block", - "src": "27759:37:1" + "src": "28532:39:0" } ], - "id": 1479, + "id": 971, "name": "IfStatement", - "src": "27477:319:1" + "src": "28244:327:0" } ], - "id": 1480, + "id": 972, "name": "Block", - "src": "27467:335:1" + "src": "28233:345:0" } ], - "id": 1481, + "id": 973, "name": "FunctionDefinition", - "src": "27398:404:1" + "src": "28164:414:0" }, { "attributes": { @@ -50092,7 +50092,7 @@ null ], "name": "_remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -50102,9 +50102,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1482, + "id": 974, "name": "StructuredDocumentation", - "src": "27808:157:1" + "src": "28586:162:0" }, { "children": [ @@ -50113,7 +50113,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -50123,24 +50123,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1483, + "id": 975, "name": "UserDefinedTypeName", - "src": "27987:3:1" + "src": "28771:3:0" } ], - "id": 1484, + "id": 976, "name": "VariableDeclaration", - "src": "27987:15:1" + "src": "28771:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50152,19 +50152,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1485, + "id": 977, "name": "ElementaryTypeName", - "src": "28004:7:1" + "src": "28788:7:0" } ], - "id": 1486, + "id": 978, "name": "VariableDeclaration", - "src": "28004:13:1" + "src": "28788:13:0" } ], - "id": 1487, + "id": 979, "name": "ParameterList", - "src": "27986:32:1" + "src": "28770:32:0" }, { "children": [ @@ -50173,7 +50173,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -50185,26 +50185,26 @@ "name": "bool", "type": "bool" }, - "id": 1488, + "id": 980, "name": "ElementaryTypeName", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1489, + "id": 981, "name": "VariableDeclaration", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1490, + "id": 982, "name": "ParameterList", - "src": "28035:6:1" + "src": "28819:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1492 + 984 ] }, "children": [ @@ -50213,7 +50213,7 @@ "constant": false, "mutability": "mutable", "name": "valueIndex", - "scope": 1560, + "scope": 1052, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50225,14 +50225,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1491, + "id": 983, "name": "ElementaryTypeName", - "src": "28152:7:1" + "src": "28938:7:0" } ], - "id": 1492, + "id": 984, "name": "VariableDeclaration", - "src": "28152:18:1" + "src": "28938:18:0" }, { "attributes": { @@ -50250,7 +50250,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50259,41 +50259,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1493, + "id": 985, "name": "Identifier", - "src": "28173:3:1" + "src": "28959:3:0" } ], - "id": 1494, + "id": 986, "name": "MemberAccess", - "src": "28173:12:1" + "src": "28959:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1495, + "id": 987, "name": "Identifier", - "src": "28186:5:1" + "src": "28972:5:0" } ], - "id": 1496, + "id": 988, "name": "IndexAccess", - "src": "28173:19:1" + "src": "28959:19:0" } ], - "id": 1497, + "id": 989, "name": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "children": [ @@ -50316,13 +50316,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1498, + "id": 990, "name": "Identifier", - "src": "28207:10:1" + "src": "28995:10:0" }, { "attributes": { @@ -50335,21 +50335,21 @@ "type": "int_const 0", "value": "0" }, - "id": 1499, + "id": 991, "name": "Literal", - "src": "28221:1:1" + "src": "29009:1:0" } ], - "id": 1500, + "id": 992, "name": "BinaryOperation", - "src": "28207:15:1" + "src": "28995:15:0" }, { "children": [ { "attributes": { "assignments": [ - 1502 + 994 ] }, "children": [ @@ -50358,7 +50358,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50370,14 +50370,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1501, + "id": 993, "name": "ElementaryTypeName", - "src": "28564:7:1" + "src": "29357:7:0" } ], - "id": 1502, + "id": 994, "name": "VariableDeclaration", - "src": "28564:21:1" + "src": "29357:21:0" }, { "attributes": { @@ -50398,13 +50398,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1503, + "id": 995, "name": "Identifier", - "src": "28588:10:1" + "src": "29381:10:0" }, { "attributes": { @@ -50417,24 +50417,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1504, + "id": 996, "name": "Literal", - "src": "28601:1:1" + "src": "29394:1:0" } ], - "id": 1505, + "id": 997, "name": "BinaryOperation", - "src": "28588:14:1" + "src": "29381:14:0" } ], - "id": 1506, + "id": 998, "name": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "attributes": { "assignments": [ - 1508 + 1000 ] }, "children": [ @@ -50443,7 +50443,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50455,14 +50455,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1507, + "id": 999, "name": "ElementaryTypeName", - "src": "28616:7:1" + "src": "29410:7:0" } ], - "id": 1508, + "id": 1000, "name": "VariableDeclaration", - "src": "28616:17:1" + "src": "29410:17:0" }, { "attributes": { @@ -50495,7 +50495,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50504,23 +50504,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1509, + "id": 1001, "name": "Identifier", - "src": "28636:3:1" + "src": "29430:3:0" } ], - "id": 1510, + "id": 1002, "name": "MemberAccess", - "src": "28636:11:1" + "src": "29430:11:0" } ], - "id": 1511, + "id": 1003, "name": "MemberAccess", - "src": "28636:18:1" + "src": "29430:18:0" }, { "attributes": { @@ -50533,24 +50533,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1512, + "id": 1004, "name": "Literal", - "src": "28657:1:1" + "src": "29451:1:0" } ], - "id": 1513, + "id": 1005, "name": "BinaryOperation", - "src": "28636:22:1" + "src": "29430:22:0" } ], - "id": 1514, + "id": 1006, "name": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "attributes": { "assignments": [ - 1516 + 1008 ] }, "children": [ @@ -50559,7 +50559,7 @@ "constant": false, "mutability": "mutable", "name": "lastvalue", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50571,14 +50571,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1515, + "id": 1007, "name": "ElementaryTypeName", - "src": "28898:7:1" + "src": "29697:7:0" } ], - "id": 1516, + "id": 1008, "name": "VariableDeclaration", - "src": "28898:17:1" + "src": "29697:17:0" }, { "attributes": { @@ -50596,7 +50596,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50605,41 +50605,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1517, + "id": 1009, "name": "Identifier", - "src": "28918:3:1" + "src": "29717:3:0" } ], - "id": 1518, + "id": 1010, "name": "MemberAccess", - "src": "28918:11:1" + "src": "29717:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1508, + "referencedDeclaration": 1000, "type": "uint256", "value": "lastIndex" }, - "id": 1519, + "id": 1011, "name": "Identifier", - "src": "28930:9:1" + "src": "29729:9:0" } ], - "id": 1520, + "id": 1012, "name": "IndexAccess", - "src": "28918:22:1" + "src": "29717:22:0" } ], - "id": 1521, + "id": 1013, "name": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "children": [ @@ -50669,7 +50669,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50678,59 +50678,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1522, + "id": 1014, "name": "Identifier", - "src": "29032:3:1" + "src": "29834:3:0" } ], - "id": 1525, + "id": 1017, "name": "MemberAccess", - "src": "29032:11:1" + "src": "29834:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1524, + "id": 1016, "name": "Identifier", - "src": "29044:13:1" + "src": "29846:13:0" } ], - "id": 1526, + "id": 1018, "name": "IndexAccess", - "src": "29032:26:1" + "src": "29834:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1527, + "id": 1019, "name": "Identifier", - "src": "29061:9:1" + "src": "29863:9:0" } ], - "id": 1528, + "id": 1020, "name": "Assignment", - "src": "29032:38:1" + "src": "29834:38:0" } ], - "id": 1529, + "id": 1021, "name": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "children": [ @@ -50760,7 +50760,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50769,36 +50769,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1530, + "id": 1022, "name": "Identifier", - "src": "29136:3:1" + "src": "29940:3:0" } ], - "id": 1533, + "id": 1025, "name": "MemberAccess", - "src": "29136:12:1" + "src": "29940:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1532, + "id": 1024, "name": "Identifier", - "src": "29149:9:1" + "src": "29953:9:0" } ], - "id": 1534, + "id": 1026, "name": "IndexAccess", - "src": "29136:23:1" + "src": "29940:23:0" }, { "attributes": { @@ -50819,13 +50819,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1535, + "id": 1027, "name": "Identifier", - "src": "29162:13:1" + "src": "29966:13:0" }, { "attributes": { @@ -50838,24 +50838,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1536, + "id": 1028, "name": "Literal", - "src": "29178:1:1" + "src": "29982:1:0" } ], - "id": 1537, + "id": 1029, "name": "BinaryOperation", - "src": "29162:17:1" + "src": "29966:17:0" } ], - "id": 1538, + "id": 1030, "name": "Assignment", - "src": "29136:43:1" + "src": "29940:43:0" } ], - "id": 1539, + "id": 1031, "name": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "children": [ @@ -50897,7 +50897,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50906,33 +50906,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1540, + "id": 1032, "name": "Identifier", - "src": "29285:3:1" + "src": "30092:3:0" } ], - "id": 1543, + "id": 1035, "name": "MemberAccess", - "src": "29285:11:1" + "src": "30092:11:0" } ], - "id": 1544, + "id": 1036, "name": "MemberAccess", - "src": "29285:15:1" + "src": "30092:15:0" } ], - "id": 1545, + "id": 1037, "name": "FunctionCall", - "src": "29285:17:1" + "src": "30092:17:0" } ], - "id": 1546, + "id": 1038, "name": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "children": [ @@ -50963,7 +50963,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50972,50 +50972,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1547, + "id": 1039, "name": "Identifier", - "src": "29377:3:1" + "src": "30187:3:0" } ], - "id": 1548, + "id": 1040, "name": "MemberAccess", - "src": "29377:12:1" + "src": "30187:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1549, + "id": 1041, "name": "Identifier", - "src": "29390:5:1" + "src": "30200:5:0" } ], - "id": 1550, + "id": 1042, "name": "IndexAccess", - "src": "29377:19:1" + "src": "30187:19:0" } ], - "id": 1551, + "id": 1043, "name": "UnaryOperation", - "src": "29370:26:1" + "src": "30180:26:0" } ], - "id": 1552, + "id": 1044, "name": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -51029,25 +51029,25 @@ "type": "bool", "value": "true" }, - "id": 1553, + "id": 1045, "name": "Literal", - "src": "29418:4:1" + "src": "30230:4:0" } ], - "id": 1554, + "id": 1046, "name": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ], - "id": 1555, + "id": 1047, "name": "Block", - "src": "28224:1209:1" + "src": "29012:1234:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -51061,34 +51061,34 @@ "type": "bool", "value": "false" }, - "id": 1556, + "id": 1048, "name": "Literal", - "src": "29460:5:1" + "src": "30274:5:0" } ], - "id": 1557, + "id": 1049, "name": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ], - "id": 1558, + "id": 1050, "name": "Block", - "src": "29439:37:1" + "src": "30252:39:0" } ], - "id": 1559, + "id": 1051, "name": "IfStatement", - "src": "28203:1273:1" + "src": "28991:1300:0" } ], - "id": 1560, + "id": 1052, "name": "Block", - "src": "28042:1440:1" + "src": "28826:1472:0" } ], - "id": 1561, + "id": 1053, "name": "FunctionDefinition", - "src": "27970:1512:1" + "src": "28754:1544:0" }, { "attributes": { @@ -51099,7 +51099,7 @@ null ], "name": "_contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51109,9 +51109,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1562, + "id": 1054, "name": "StructuredDocumentation", - "src": "29488:70:1" + "src": "30306:72:0" }, { "children": [ @@ -51120,7 +51120,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51130,24 +51130,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1563, + "id": 1055, "name": "UserDefinedTypeName", - "src": "29582:3:1" + "src": "30403:3:0" } ], - "id": 1564, + "id": 1056, "name": "VariableDeclaration", - "src": "29582:15:1" + "src": "30403:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51159,19 +51159,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1565, + "id": 1057, "name": "ElementaryTypeName", - "src": "29599:7:1" + "src": "30420:7:0" } ], - "id": 1566, + "id": 1058, "name": "VariableDeclaration", - "src": "29599:13:1" + "src": "30420:13:0" } ], - "id": 1567, + "id": 1059, "name": "ParameterList", - "src": "29581:32:1" + "src": "30402:32:0" }, { "children": [ @@ -51180,7 +51180,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51192,25 +51192,25 @@ "name": "bool", "type": "bool" }, - "id": 1568, + "id": 1060, "name": "ElementaryTypeName", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1569, + "id": 1061, "name": "VariableDeclaration", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1570, + "id": 1062, "name": "ParameterList", - "src": "29635:6:1" + "src": "30456:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1570 + "functionReturnParameters": 1062 }, "children": [ { @@ -51243,7 +51243,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -51252,36 +51252,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1564, + "referencedDeclaration": 1056, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1571, + "id": 1063, "name": "Identifier", - "src": "29659:3:1" + "src": "30481:3:0" } ], - "id": 1572, + "id": 1064, "name": "MemberAccess", - "src": "29659:12:1" + "src": "30481:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1566, + "referencedDeclaration": 1058, "type": "bytes32", "value": "value" }, - "id": 1573, + "id": 1065, "name": "Identifier", - "src": "29672:5:1" + "src": "30494:5:0" } ], - "id": 1574, + "id": 1066, "name": "IndexAccess", - "src": "29659:19:1" + "src": "30481:19:0" }, { "attributes": { @@ -51294,29 +51294,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1575, + "id": 1067, "name": "Literal", - "src": "29682:1:1" + "src": "30504:1:0" } ], - "id": 1576, + "id": 1068, "name": "BinaryOperation", - "src": "29659:24:1" + "src": "30481:24:0" } ], - "id": 1577, + "id": 1069, "name": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ], - "id": 1578, + "id": 1070, "name": "Block", - "src": "29642:48:1" + "src": "30463:50:0" } ], - "id": 1579, + "id": 1071, "name": "FunctionDefinition", - "src": "29563:127:1" + "src": "30384:129:0" }, { "attributes": { @@ -51327,7 +51327,7 @@ null ], "name": "_length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51337,9 +51337,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1580, + "id": 1072, "name": "StructuredDocumentation", - "src": "29696:70:1" + "src": "30521:72:0" }, { "children": [ @@ -51348,7 +51348,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51358,22 +51358,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1581, + "id": 1073, "name": "UserDefinedTypeName", - "src": "29788:3:1" + "src": "30616:3:0" } ], - "id": 1582, + "id": 1074, "name": "VariableDeclaration", - "src": "29788:15:1" + "src": "30616:15:0" } ], - "id": 1583, + "id": 1075, "name": "ParameterList", - "src": "29787:17:1" + "src": "30615:17:0" }, { "children": [ @@ -51382,7 +51382,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51394,25 +51394,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1584, + "id": 1076, "name": "ElementaryTypeName", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1585, + "id": 1077, "name": "VariableDeclaration", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1586, + "id": 1078, "name": "ParameterList", - "src": "29826:9:1" + "src": "30654:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1586 + "functionReturnParameters": 1078 }, "children": [ { @@ -51432,7 +51432,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51441,38 +51441,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1582, + "referencedDeclaration": 1074, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1587, + "id": 1079, "name": "Identifier", - "src": "29853:3:1" + "src": "30682:3:0" } ], - "id": 1588, + "id": 1080, "name": "MemberAccess", - "src": "29853:11:1" + "src": "30682:11:0" } ], - "id": 1589, + "id": 1081, "name": "MemberAccess", - "src": "29853:18:1" + "src": "30682:18:0" } ], - "id": 1590, + "id": 1082, "name": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ], - "id": 1591, + "id": 1083, "name": "Block", - "src": "29836:42:1" + "src": "30664:44:0" } ], - "id": 1592, + "id": 1084, "name": "FunctionDefinition", - "src": "29771:107:1" + "src": "30599:109:0" }, { "attributes": { @@ -51483,7 +51483,7 @@ null ], "name": "_at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51493,9 +51493,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1593, + "id": 1085, "name": "StructuredDocumentation", - "src": "29883:322:1" + "src": "30715:331:0" }, { "children": [ @@ -51504,7 +51504,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51514,24 +51514,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1594, + "id": 1086, "name": "UserDefinedTypeName", - "src": "30223:3:1" + "src": "31065:3:0" } ], - "id": 1595, + "id": 1087, "name": "VariableDeclaration", - "src": "30223:15:1" + "src": "31065:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51543,19 +51543,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1596, + "id": 1088, "name": "ElementaryTypeName", - "src": "30240:7:1" + "src": "31082:7:0" } ], - "id": 1597, + "id": 1089, "name": "VariableDeclaration", - "src": "30240:13:1" + "src": "31082:13:0" } ], - "id": 1598, + "id": 1090, "name": "ParameterList", - "src": "30222:32:1" + "src": "31064:32:0" }, { "children": [ @@ -51564,7 +51564,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51576,19 +51576,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1599, + "id": 1091, "name": "ElementaryTypeName", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1600, + "id": 1092, "name": "VariableDeclaration", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1601, + "id": 1093, "name": "ParameterList", - "src": "30276:9:1" + "src": "31118:9:0" }, { "children": [ @@ -51629,9 +51629,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1602, + "id": 1094, "name": "Identifier", - "src": "30296:7:1" + "src": "31139:7:0" }, { "attributes": { @@ -51664,7 +51664,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51673,41 +51673,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1603, + "id": 1095, "name": "Identifier", - "src": "30304:3:1" + "src": "31147:3:0" } ], - "id": 1604, + "id": 1096, "name": "MemberAccess", - "src": "30304:11:1" + "src": "31147:11:0" } ], - "id": 1605, + "id": 1097, "name": "MemberAccess", - "src": "30304:18:1" + "src": "31147:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1606, + "id": 1098, "name": "Identifier", - "src": "30325:5:1" + "src": "31168:5:0" } ], - "id": 1607, + "id": 1099, "name": "BinaryOperation", - "src": "30304:26:1" + "src": "31147:26:0" }, { "attributes": { @@ -51720,23 +51720,23 @@ "type": "literal_string \"EnumerableSet: index out of bounds\"", "value": "EnumerableSet: index out of bounds" }, - "id": 1608, + "id": 1100, "name": "Literal", - "src": "30332:36:1" + "src": "31175:36:0" } ], - "id": 1609, + "id": 1101, "name": "FunctionCall", - "src": "30296:73:1" + "src": "31139:73:0" } ], - "id": 1610, + "id": 1102, "name": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "attributes": { - "functionReturnParameters": 1601 + "functionReturnParameters": 1093 }, "children": [ { @@ -51755,7 +51755,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51764,57 +51764,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1611, + "id": 1103, "name": "Identifier", - "src": "30386:3:1" + "src": "31230:3:0" } ], - "id": 1612, + "id": 1104, "name": "MemberAccess", - "src": "30386:11:1" + "src": "31230:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1613, + "id": 1105, "name": "Identifier", - "src": "30398:5:1" + "src": "31242:5:0" } ], - "id": 1614, + "id": 1106, "name": "IndexAccess", - "src": "30386:18:1" + "src": "31230:18:0" } ], - "id": 1615, + "id": 1107, "name": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ], - "id": 1616, + "id": 1108, "name": "Block", - "src": "30286:125:1" + "src": "31128:128:0" } ], - "id": 1617, + "id": 1109, "name": "FunctionDefinition", - "src": "30210:201:1" + "src": "31052:204:0" }, { "attributes": { "canonicalName": "EnumerableSet.Bytes32Set", "name": "Bytes32Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -51823,7 +51823,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1620, + "scope": 1112, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -51833,22 +51833,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1618, + "id": 1110, "name": "UserDefinedTypeName", - "src": "30464:3:1" + "src": "31314:3:0" } ], - "id": 1619, + "id": 1111, "name": "VariableDeclaration", - "src": "30464:10:1" + "src": "31314:10:0" } ], - "id": 1620, + "id": 1112, "name": "StructDefinition", - "src": "30436:45:1" + "src": "31285:47:0" }, { "attributes": { @@ -51859,7 +51859,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -51869,9 +51869,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1621, + "id": 1113, "name": "StructuredDocumentation", - "src": "30487:159:1" + "src": "31340:164:0" }, { "children": [ @@ -51880,7 +51880,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -51890,24 +51890,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1622, + "id": 1114, "name": "UserDefinedTypeName", - "src": "30664:10:1" + "src": "31523:10:0" } ], - "id": 1623, + "id": 1115, "name": "VariableDeclaration", - "src": "30664:22:1" + "src": "31523:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51919,19 +51919,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1624, + "id": 1116, "name": "ElementaryTypeName", - "src": "30688:7:1" + "src": "31547:7:0" } ], - "id": 1625, + "id": 1117, "name": "VariableDeclaration", - "src": "30688:13:1" + "src": "31547:13:0" } ], - "id": 1626, + "id": 1118, "name": "ParameterList", - "src": "30663:39:1" + "src": "31522:39:0" }, { "children": [ @@ -51940,7 +51940,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51952,25 +51952,25 @@ "name": "bool", "type": "bool" }, - "id": 1627, + "id": 1119, "name": "ElementaryTypeName", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1628, + "id": 1120, "name": "VariableDeclaration", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1629, + "id": 1121, "name": "ParameterList", - "src": "30720:6:1" + "src": "31579:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1629 + "functionReturnParameters": 1121 }, "children": [ { @@ -51992,7 +51992,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52003,13 +52003,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1630, + "id": 1122, "name": "Identifier", - "src": "30744:4:1" + "src": "31604:4:0" }, { "attributes": { @@ -52018,7 +52018,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52027,51 +52027,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1623, + "referencedDeclaration": 1115, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1631, + "id": 1123, "name": "Identifier", - "src": "30749:3:1" + "src": "31609:3:0" } ], - "id": 1632, + "id": 1124, "name": "MemberAccess", - "src": "30749:10:1" + "src": "31609:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1625, + "referencedDeclaration": 1117, "type": "bytes32", "value": "value" }, - "id": 1633, + "id": 1125, "name": "Identifier", - "src": "30761:5:1" + "src": "31621:5:0" } ], - "id": 1634, + "id": 1126, "name": "FunctionCall", - "src": "30744:23:1" + "src": "31604:23:0" } ], - "id": 1635, + "id": 1127, "name": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ], - "id": 1636, + "id": 1128, "name": "Block", - "src": "30727:47:1" + "src": "31586:49:0" } ], - "id": 1637, + "id": 1129, "name": "FunctionDefinition", - "src": "30651:123:1" + "src": "31510:125:0" }, { "attributes": { @@ -52082,7 +52082,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52092,9 +52092,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1638, + "id": 1130, "name": "StructuredDocumentation", - "src": "30780:157:1" + "src": "31643:162:0" }, { "children": [ @@ -52103,7 +52103,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52113,24 +52113,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1639, + "id": 1131, "name": "UserDefinedTypeName", - "src": "30958:10:1" + "src": "31827:10:0" } ], - "id": 1640, + "id": 1132, "name": "VariableDeclaration", - "src": "30958:22:1" + "src": "31827:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52142,19 +52142,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1641, + "id": 1133, "name": "ElementaryTypeName", - "src": "30982:7:1" + "src": "31851:7:0" } ], - "id": 1642, + "id": 1134, "name": "VariableDeclaration", - "src": "30982:13:1" + "src": "31851:13:0" } ], - "id": 1643, + "id": 1135, "name": "ParameterList", - "src": "30957:39:1" + "src": "31826:39:0" }, { "children": [ @@ -52163,7 +52163,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52175,25 +52175,25 @@ "name": "bool", "type": "bool" }, - "id": 1644, + "id": 1136, "name": "ElementaryTypeName", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1645, + "id": 1137, "name": "VariableDeclaration", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1646, + "id": 1138, "name": "ParameterList", - "src": "31014:6:1" + "src": "31883:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1646 + "functionReturnParameters": 1138 }, "children": [ { @@ -52215,7 +52215,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52226,13 +52226,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1647, + "id": 1139, "name": "Identifier", - "src": "31038:7:1" + "src": "31908:7:0" }, { "attributes": { @@ -52241,7 +52241,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52250,51 +52250,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1640, + "referencedDeclaration": 1132, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1648, + "id": 1140, "name": "Identifier", - "src": "31046:3:1" + "src": "31916:3:0" } ], - "id": 1649, + "id": 1141, "name": "MemberAccess", - "src": "31046:10:1" + "src": "31916:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1642, + "referencedDeclaration": 1134, "type": "bytes32", "value": "value" }, - "id": 1650, + "id": 1142, "name": "Identifier", - "src": "31058:5:1" + "src": "31928:5:0" } ], - "id": 1651, + "id": 1143, "name": "FunctionCall", - "src": "31038:26:1" + "src": "31908:26:0" } ], - "id": 1652, + "id": 1144, "name": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ], - "id": 1653, + "id": 1145, "name": "Block", - "src": "31021:50:1" + "src": "31890:52:0" } ], - "id": 1654, + "id": 1146, "name": "FunctionDefinition", - "src": "30942:129:1" + "src": "31811:131:0" }, { "attributes": { @@ -52305,7 +52305,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52315,9 +52315,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1655, + "id": 1147, "name": "StructuredDocumentation", - "src": "31077:70:1" + "src": "31950:72:0" }, { "children": [ @@ -52326,7 +52326,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52336,24 +52336,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1656, + "id": 1148, "name": "UserDefinedTypeName", - "src": "31170:10:1" + "src": "32046:10:0" } ], - "id": 1657, + "id": 1149, "name": "VariableDeclaration", - "src": "31170:22:1" + "src": "32046:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52365,19 +52365,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1658, + "id": 1150, "name": "ElementaryTypeName", - "src": "31194:7:1" + "src": "32070:7:0" } ], - "id": 1659, + "id": 1151, "name": "VariableDeclaration", - "src": "31194:13:1" + "src": "32070:13:0" } ], - "id": 1660, + "id": 1152, "name": "ParameterList", - "src": "31169:39:1" + "src": "32045:39:0" }, { "children": [ @@ -52386,7 +52386,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52398,25 +52398,25 @@ "name": "bool", "type": "bool" }, - "id": 1661, + "id": 1153, "name": "ElementaryTypeName", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1662, + "id": 1154, "name": "VariableDeclaration", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1663, + "id": 1155, "name": "ParameterList", - "src": "31231:6:1" + "src": "32107:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1663 + "functionReturnParameters": 1155 }, "children": [ { @@ -52438,7 +52438,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52449,13 +52449,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1664, + "id": 1156, "name": "Identifier", - "src": "31255:9:1" + "src": "32132:9:0" }, { "attributes": { @@ -52464,7 +52464,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52473,51 +52473,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1657, + "referencedDeclaration": 1149, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1665, + "id": 1157, "name": "Identifier", - "src": "31265:3:1" + "src": "32142:3:0" } ], - "id": 1666, + "id": 1158, "name": "MemberAccess", - "src": "31265:10:1" + "src": "32142:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1659, + "referencedDeclaration": 1151, "type": "bytes32", "value": "value" }, - "id": 1667, + "id": 1159, "name": "Identifier", - "src": "31277:5:1" + "src": "32154:5:0" } ], - "id": 1668, + "id": 1160, "name": "FunctionCall", - "src": "31255:28:1" + "src": "32132:28:0" } ], - "id": 1669, + "id": 1161, "name": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ], - "id": 1670, + "id": 1162, "name": "Block", - "src": "31238:52:1" + "src": "32114:54:0" } ], - "id": 1671, + "id": 1163, "name": "FunctionDefinition", - "src": "31152:138:1" + "src": "32028:140:0" }, { "attributes": { @@ -52528,7 +52528,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52538,9 +52538,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1672, + "id": 1164, "name": "StructuredDocumentation", - "src": "31296:70:1" + "src": "32176:72:0" }, { "children": [ @@ -52549,7 +52549,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52559,22 +52559,22 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1673, + "id": 1165, "name": "UserDefinedTypeName", - "src": "31387:10:1" + "src": "32270:10:0" } ], - "id": 1674, + "id": 1166, "name": "VariableDeclaration", - "src": "31387:22:1" + "src": "32270:22:0" } ], - "id": 1675, + "id": 1167, "name": "ParameterList", - "src": "31386:24:1" + "src": "32269:24:0" }, { "children": [ @@ -52583,7 +52583,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52595,25 +52595,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1676, + "id": 1168, "name": "ElementaryTypeName", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1677, + "id": 1169, "name": "VariableDeclaration", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1678, + "id": 1170, "name": "ParameterList", - "src": "31433:9:1" + "src": "32316:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1678 + "functionReturnParameters": 1170 }, "children": [ { @@ -52635,20 +52635,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1679, + "id": 1171, "name": "Identifier", - "src": "31460:7:1" + "src": "32344:7:0" }, { "attributes": { @@ -52657,7 +52657,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52666,38 +52666,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1674, + "referencedDeclaration": 1166, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1680, + "id": 1172, "name": "Identifier", - "src": "31468:3:1" + "src": "32352:3:0" } ], - "id": 1681, + "id": 1173, "name": "MemberAccess", - "src": "31468:10:1" + "src": "32352:10:0" } ], - "id": 1682, + "id": 1174, "name": "FunctionCall", - "src": "31460:19:1" + "src": "32344:19:0" } ], - "id": 1683, + "id": 1175, "name": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ], - "id": 1684, + "id": 1176, "name": "Block", - "src": "31443:43:1" + "src": "32326:45:0" } ], - "id": 1685, + "id": 1177, "name": "FunctionDefinition", - "src": "31371:115:1" + "src": "32254:117:0" }, { "attributes": { @@ -52708,7 +52708,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52718,9 +52718,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1686, + "id": 1178, "name": "StructuredDocumentation", - "src": "31491:322:1" + "src": "32378:331:0" }, { "children": [ @@ -52729,7 +52729,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52739,24 +52739,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1687, + "id": 1179, "name": "UserDefinedTypeName", - "src": "31830:10:1" + "src": "32727:10:0" } ], - "id": 1688, + "id": 1180, "name": "VariableDeclaration", - "src": "31830:22:1" + "src": "32727:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52768,19 +52768,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1689, + "id": 1181, "name": "ElementaryTypeName", - "src": "31854:7:1" + "src": "32751:7:0" } ], - "id": 1690, + "id": 1182, "name": "VariableDeclaration", - "src": "31854:13:1" + "src": "32751:13:0" } ], - "id": 1691, + "id": 1183, "name": "ParameterList", - "src": "31829:39:1" + "src": "32726:39:0" }, { "children": [ @@ -52789,7 +52789,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52801,25 +52801,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1692, + "id": 1184, "name": "ElementaryTypeName", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1693, + "id": 1185, "name": "VariableDeclaration", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1694, + "id": 1186, "name": "ParameterList", - "src": "31891:9:1" + "src": "32788:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1694 + "functionReturnParameters": 1186 }, "children": [ { @@ -52841,7 +52841,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52852,13 +52852,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1695, + "id": 1187, "name": "Identifier", - "src": "31918:3:1" + "src": "32816:3:0" }, { "attributes": { @@ -52867,7 +52867,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52876,57 +52876,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1688, + "referencedDeclaration": 1180, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1696, + "id": 1188, "name": "Identifier", - "src": "31922:3:1" + "src": "32820:3:0" } ], - "id": 1697, + "id": 1189, "name": "MemberAccess", - "src": "31922:10:1" + "src": "32820:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1690, + "referencedDeclaration": 1182, "type": "uint256", "value": "index" }, - "id": 1698, + "id": 1190, "name": "Identifier", - "src": "31934:5:1" + "src": "32832:5:0" } ], - "id": 1699, + "id": 1191, "name": "FunctionCall", - "src": "31918:22:1" + "src": "32816:22:0" } ], - "id": 1700, + "id": 1192, "name": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ], - "id": 1701, + "id": 1193, "name": "Block", - "src": "31901:46:1" + "src": "32798:48:0" } ], - "id": 1702, + "id": 1194, "name": "FunctionDefinition", - "src": "31818:129:1" + "src": "32715:131:0" }, { "attributes": { "canonicalName": "EnumerableSet.AddressSet", "name": "AddressSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -52935,7 +52935,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1705, + "scope": 1197, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -52945,22 +52945,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1703, + "id": 1195, "name": "UserDefinedTypeName", - "src": "32000:3:1" + "src": "32904:3:0" } ], - "id": 1704, + "id": 1196, "name": "VariableDeclaration", - "src": "32000:10:1" + "src": "32904:10:0" } ], - "id": 1705, + "id": 1197, "name": "StructDefinition", - "src": "31972:45:1" + "src": "32875:47:0" }, { "attributes": { @@ -52971,7 +52971,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52981,9 +52981,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1706, + "id": 1198, "name": "StructuredDocumentation", - "src": "32023:159:1" + "src": "32930:164:0" }, { "children": [ @@ -52992,7 +52992,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53002,24 +53002,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1707, + "id": 1199, "name": "UserDefinedTypeName", - "src": "32200:10:1" + "src": "33113:10:0" } ], - "id": 1708, + "id": 1200, "name": "VariableDeclaration", - "src": "32200:22:1" + "src": "33113:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53032,19 +53032,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1709, + "id": 1201, "name": "ElementaryTypeName", - "src": "32224:7:1" + "src": "33137:7:0" } ], - "id": 1710, + "id": 1202, "name": "VariableDeclaration", - "src": "32224:13:1" + "src": "33137:13:0" } ], - "id": 1711, + "id": 1203, "name": "ParameterList", - "src": "32199:39:1" + "src": "33112:39:0" }, { "children": [ @@ -53053,7 +53053,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53065,25 +53065,25 @@ "name": "bool", "type": "bool" }, - "id": 1712, + "id": 1204, "name": "ElementaryTypeName", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1713, + "id": 1205, "name": "VariableDeclaration", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1714, + "id": 1206, "name": "ParameterList", - "src": "32256:6:1" + "src": "33169:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1714 + "functionReturnParameters": 1206 }, "children": [ { @@ -53105,7 +53105,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53116,13 +53116,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1715, + "id": 1207, "name": "Identifier", - "src": "32280:4:1" + "src": "33194:4:0" }, { "attributes": { @@ -53131,7 +53131,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53140,18 +53140,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1708, + "referencedDeclaration": 1200, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1716, + "id": 1208, "name": "Identifier", - "src": "32285:3:1" + "src": "33199:3:0" } ], - "id": 1717, + "id": 1209, "name": "MemberAccess", - "src": "32285:10:1" + "src": "33199:10:0" }, { "attributes": { @@ -53187,14 +53187,14 @@ "attributes": { "name": "bytes32" }, - "id": 1718, + "id": 1210, "name": "ElementaryTypeName", - "src": "32297:7:1" + "src": "33211:7:0" } ], - "id": 1719, + "id": 1211, "name": "ElementaryTypeNameExpression", - "src": "32297:7:1" + "src": "33211:7:0" }, { "attributes": { @@ -53230,14 +53230,14 @@ "attributes": { "name": "uint256" }, - "id": 1720, + "id": 1212, "name": "ElementaryTypeName", - "src": "32305:7:1" + "src": "33219:7:0" } ], - "id": 1721, + "id": 1213, "name": "ElementaryTypeNameExpression", - "src": "32305:7:1" + "src": "33219:7:0" }, { "attributes": { @@ -53273,62 +53273,62 @@ "attributes": { "name": "uint160" }, - "id": 1722, + "id": 1214, "name": "ElementaryTypeName", - "src": "32313:7:1" + "src": "33227:7:0" } ], - "id": 1723, + "id": 1215, "name": "ElementaryTypeNameExpression", - "src": "32313:7:1" + "src": "33227:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1710, + "referencedDeclaration": 1202, "type": "address", "value": "value" }, - "id": 1724, + "id": 1216, "name": "Identifier", - "src": "32321:5:1" + "src": "33235:5:0" } ], - "id": 1725, + "id": 1217, "name": "FunctionCall", - "src": "32313:14:1" + "src": "33227:14:0" } ], - "id": 1726, + "id": 1218, "name": "FunctionCall", - "src": "32305:23:1" + "src": "33219:23:0" } ], - "id": 1727, + "id": 1219, "name": "FunctionCall", - "src": "32297:32:1" + "src": "33211:32:0" } ], - "id": 1728, + "id": 1220, "name": "FunctionCall", - "src": "32280:50:1" + "src": "33194:50:0" } ], - "id": 1729, + "id": 1221, "name": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ], - "id": 1730, + "id": 1222, "name": "Block", - "src": "32263:74:1" + "src": "33176:76:0" } ], - "id": 1731, + "id": 1223, "name": "FunctionDefinition", - "src": "32187:150:1" + "src": "33100:152:0" }, { "attributes": { @@ -53339,7 +53339,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -53349,9 +53349,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1732, + "id": 1224, "name": "StructuredDocumentation", - "src": "32343:157:1" + "src": "33260:162:0" }, { "children": [ @@ -53360,7 +53360,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53370,24 +53370,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1733, + "id": 1225, "name": "UserDefinedTypeName", - "src": "32521:10:1" + "src": "33444:10:0" } ], - "id": 1734, + "id": 1226, "name": "VariableDeclaration", - "src": "32521:22:1" + "src": "33444:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53400,19 +53400,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1735, + "id": 1227, "name": "ElementaryTypeName", - "src": "32545:7:1" + "src": "33468:7:0" } ], - "id": 1736, + "id": 1228, "name": "VariableDeclaration", - "src": "32545:13:1" + "src": "33468:13:0" } ], - "id": 1737, + "id": 1229, "name": "ParameterList", - "src": "32520:39:1" + "src": "33443:39:0" }, { "children": [ @@ -53421,7 +53421,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53433,25 +53433,25 @@ "name": "bool", "type": "bool" }, - "id": 1738, + "id": 1230, "name": "ElementaryTypeName", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1739, + "id": 1231, "name": "VariableDeclaration", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1740, + "id": 1232, "name": "ParameterList", - "src": "32577:6:1" + "src": "33500:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1740 + "functionReturnParameters": 1232 }, "children": [ { @@ -53473,7 +53473,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53484,13 +53484,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1741, + "id": 1233, "name": "Identifier", - "src": "32601:7:1" + "src": "33525:7:0" }, { "attributes": { @@ -53499,7 +53499,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53508,18 +53508,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1734, + "referencedDeclaration": 1226, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1742, + "id": 1234, "name": "Identifier", - "src": "32609:3:1" + "src": "33533:3:0" } ], - "id": 1743, + "id": 1235, "name": "MemberAccess", - "src": "32609:10:1" + "src": "33533:10:0" }, { "attributes": { @@ -53555,14 +53555,14 @@ "attributes": { "name": "bytes32" }, - "id": 1744, + "id": 1236, "name": "ElementaryTypeName", - "src": "32621:7:1" + "src": "33545:7:0" } ], - "id": 1745, + "id": 1237, "name": "ElementaryTypeNameExpression", - "src": "32621:7:1" + "src": "33545:7:0" }, { "attributes": { @@ -53598,14 +53598,14 @@ "attributes": { "name": "uint256" }, - "id": 1746, + "id": 1238, "name": "ElementaryTypeName", - "src": "32629:7:1" + "src": "33553:7:0" } ], - "id": 1747, + "id": 1239, "name": "ElementaryTypeNameExpression", - "src": "32629:7:1" + "src": "33553:7:0" }, { "attributes": { @@ -53641,62 +53641,62 @@ "attributes": { "name": "uint160" }, - "id": 1748, + "id": 1240, "name": "ElementaryTypeName", - "src": "32637:7:1" + "src": "33561:7:0" } ], - "id": 1749, + "id": 1241, "name": "ElementaryTypeNameExpression", - "src": "32637:7:1" + "src": "33561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1736, + "referencedDeclaration": 1228, "type": "address", "value": "value" }, - "id": 1750, + "id": 1242, "name": "Identifier", - "src": "32645:5:1" + "src": "33569:5:0" } ], - "id": 1751, + "id": 1243, "name": "FunctionCall", - "src": "32637:14:1" + "src": "33561:14:0" } ], - "id": 1752, + "id": 1244, "name": "FunctionCall", - "src": "32629:23:1" + "src": "33553:23:0" } ], - "id": 1753, + "id": 1245, "name": "FunctionCall", - "src": "32621:32:1" + "src": "33545:32:0" } ], - "id": 1754, + "id": 1246, "name": "FunctionCall", - "src": "32601:53:1" + "src": "33525:53:0" } ], - "id": 1755, + "id": 1247, "name": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ], - "id": 1756, + "id": 1248, "name": "Block", - "src": "32584:77:1" + "src": "33507:79:0" } ], - "id": 1757, + "id": 1249, "name": "FunctionDefinition", - "src": "32505:156:1" + "src": "33428:158:0" }, { "attributes": { @@ -53707,7 +53707,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -53717,9 +53717,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1758, + "id": 1250, "name": "StructuredDocumentation", - "src": "32667:70:1" + "src": "33594:72:0" }, { "children": [ @@ -53728,7 +53728,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53738,24 +53738,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1759, + "id": 1251, "name": "UserDefinedTypeName", - "src": "32760:10:1" + "src": "33690:10:0" } ], - "id": 1760, + "id": 1252, "name": "VariableDeclaration", - "src": "32760:22:1" + "src": "33690:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53768,19 +53768,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1761, + "id": 1253, "name": "ElementaryTypeName", - "src": "32784:7:1" + "src": "33714:7:0" } ], - "id": 1762, + "id": 1254, "name": "VariableDeclaration", - "src": "32784:13:1" + "src": "33714:13:0" } ], - "id": 1763, + "id": 1255, "name": "ParameterList", - "src": "32759:39:1" + "src": "33689:39:0" }, { "children": [ @@ -53789,7 +53789,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53801,25 +53801,25 @@ "name": "bool", "type": "bool" }, - "id": 1764, + "id": 1256, "name": "ElementaryTypeName", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1765, + "id": 1257, "name": "VariableDeclaration", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1766, + "id": 1258, "name": "ParameterList", - "src": "32821:6:1" + "src": "33751:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1766 + "functionReturnParameters": 1258 }, "children": [ { @@ -53841,7 +53841,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53852,13 +53852,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1767, + "id": 1259, "name": "Identifier", - "src": "32845:9:1" + "src": "33776:9:0" }, { "attributes": { @@ -53867,7 +53867,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53876,18 +53876,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1760, + "referencedDeclaration": 1252, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1768, + "id": 1260, "name": "Identifier", - "src": "32855:3:1" + "src": "33786:3:0" } ], - "id": 1769, + "id": 1261, "name": "MemberAccess", - "src": "32855:10:1" + "src": "33786:10:0" }, { "attributes": { @@ -53923,14 +53923,14 @@ "attributes": { "name": "bytes32" }, - "id": 1770, + "id": 1262, "name": "ElementaryTypeName", - "src": "32867:7:1" + "src": "33798:7:0" } ], - "id": 1771, + "id": 1263, "name": "ElementaryTypeNameExpression", - "src": "32867:7:1" + "src": "33798:7:0" }, { "attributes": { @@ -53966,14 +53966,14 @@ "attributes": { "name": "uint256" }, - "id": 1772, + "id": 1264, "name": "ElementaryTypeName", - "src": "32875:7:1" + "src": "33806:7:0" } ], - "id": 1773, + "id": 1265, "name": "ElementaryTypeNameExpression", - "src": "32875:7:1" + "src": "33806:7:0" }, { "attributes": { @@ -54009,62 +54009,62 @@ "attributes": { "name": "uint160" }, - "id": 1774, + "id": 1266, "name": "ElementaryTypeName", - "src": "32883:7:1" + "src": "33814:7:0" } ], - "id": 1775, + "id": 1267, "name": "ElementaryTypeNameExpression", - "src": "32883:7:1" + "src": "33814:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1762, + "referencedDeclaration": 1254, "type": "address", "value": "value" }, - "id": 1776, + "id": 1268, "name": "Identifier", - "src": "32891:5:1" + "src": "33822:5:0" } ], - "id": 1777, + "id": 1269, "name": "FunctionCall", - "src": "32883:14:1" + "src": "33814:14:0" } ], - "id": 1778, + "id": 1270, "name": "FunctionCall", - "src": "32875:23:1" + "src": "33806:23:0" } ], - "id": 1779, + "id": 1271, "name": "FunctionCall", - "src": "32867:32:1" + "src": "33798:32:0" } ], - "id": 1780, + "id": 1272, "name": "FunctionCall", - "src": "32845:55:1" + "src": "33776:55:0" } ], - "id": 1781, + "id": 1273, "name": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ], - "id": 1782, + "id": 1274, "name": "Block", - "src": "32828:79:1" + "src": "33758:81:0" } ], - "id": 1783, + "id": 1275, "name": "FunctionDefinition", - "src": "32742:165:1" + "src": "33672:167:0" }, { "attributes": { @@ -54075,7 +54075,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54085,9 +54085,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1784, + "id": 1276, "name": "StructuredDocumentation", - "src": "32913:70:1" + "src": "33847:72:0" }, { "children": [ @@ -54096,7 +54096,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54106,22 +54106,22 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1785, + "id": 1277, "name": "UserDefinedTypeName", - "src": "33004:10:1" + "src": "33941:10:0" } ], - "id": 1786, + "id": 1278, "name": "VariableDeclaration", - "src": "33004:22:1" + "src": "33941:22:0" } ], - "id": 1787, + "id": 1279, "name": "ParameterList", - "src": "33003:24:1" + "src": "33940:24:0" }, { "children": [ @@ -54130,7 +54130,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54142,25 +54142,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1788, + "id": 1280, "name": "ElementaryTypeName", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1789, + "id": 1281, "name": "VariableDeclaration", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1790, + "id": 1282, "name": "ParameterList", - "src": "33050:9:1" + "src": "33987:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1790 + "functionReturnParameters": 1282 }, "children": [ { @@ -54182,20 +54182,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1791, + "id": 1283, "name": "Identifier", - "src": "33077:7:1" + "src": "34015:7:0" }, { "attributes": { @@ -54204,7 +54204,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54213,38 +54213,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1786, + "referencedDeclaration": 1278, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1792, + "id": 1284, "name": "Identifier", - "src": "33085:3:1" + "src": "34023:3:0" } ], - "id": 1793, + "id": 1285, "name": "MemberAccess", - "src": "33085:10:1" + "src": "34023:10:0" } ], - "id": 1794, + "id": 1286, "name": "FunctionCall", - "src": "33077:19:1" + "src": "34015:19:0" } ], - "id": 1795, + "id": 1287, "name": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ], - "id": 1796, + "id": 1288, "name": "Block", - "src": "33060:43:1" + "src": "33997:45:0" } ], - "id": 1797, + "id": 1289, "name": "FunctionDefinition", - "src": "32988:115:1" + "src": "33925:117:0" }, { "attributes": { @@ -54255,7 +54255,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54265,9 +54265,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1798, + "id": 1290, "name": "StructuredDocumentation", - "src": "33108:322:1" + "src": "34049:331:0" }, { "children": [ @@ -54276,7 +54276,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54286,24 +54286,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1799, + "id": 1291, "name": "UserDefinedTypeName", - "src": "33447:10:1" + "src": "34398:10:0" } ], - "id": 1800, + "id": 1292, "name": "VariableDeclaration", - "src": "33447:22:1" + "src": "34398:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54315,19 +54315,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1801, + "id": 1293, "name": "ElementaryTypeName", - "src": "33471:7:1" + "src": "34422:7:0" } ], - "id": 1802, + "id": 1294, "name": "VariableDeclaration", - "src": "33471:13:1" + "src": "34422:13:0" } ], - "id": 1803, + "id": 1295, "name": "ParameterList", - "src": "33446:39:1" + "src": "34397:39:0" }, { "children": [ @@ -54336,7 +54336,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -54349,25 +54349,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1804, + "id": 1296, "name": "ElementaryTypeName", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1805, + "id": 1297, "name": "VariableDeclaration", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1806, + "id": 1298, "name": "ParameterList", - "src": "33508:9:1" + "src": "34459:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1806 + "functionReturnParameters": 1298 }, "children": [ { @@ -54404,14 +54404,14 @@ "attributes": { "name": "address" }, - "id": 1807, + "id": 1299, "name": "ElementaryTypeName", - "src": "33535:7:1" + "src": "34487:7:0" } ], - "id": 1808, + "id": 1300, "name": "ElementaryTypeNameExpression", - "src": "33535:7:1" + "src": "34487:7:0" }, { "attributes": { @@ -54447,14 +54447,14 @@ "attributes": { "name": "uint160" }, - "id": 1809, + "id": 1301, "name": "ElementaryTypeName", - "src": "33543:7:1" + "src": "34495:7:0" } ], - "id": 1810, + "id": 1302, "name": "ElementaryTypeNameExpression", - "src": "33543:7:1" + "src": "34495:7:0" }, { "attributes": { @@ -54490,14 +54490,14 @@ "attributes": { "name": "uint256" }, - "id": 1811, + "id": 1303, "name": "ElementaryTypeName", - "src": "33551:7:1" + "src": "34503:7:0" } ], - "id": 1812, + "id": 1304, "name": "ElementaryTypeNameExpression", - "src": "33551:7:1" + "src": "34503:7:0" }, { "attributes": { @@ -54518,7 +54518,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54529,13 +54529,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1813, + "id": 1305, "name": "Identifier", - "src": "33559:3:1" + "src": "34511:3:0" }, { "attributes": { @@ -54544,7 +54544,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54553,72 +54553,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1800, + "referencedDeclaration": 1292, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1814, + "id": 1306, "name": "Identifier", - "src": "33563:3:1" + "src": "34515:3:0" } ], - "id": 1815, + "id": 1307, "name": "MemberAccess", - "src": "33563:10:1" + "src": "34515:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1802, + "referencedDeclaration": 1294, "type": "uint256", "value": "index" }, - "id": 1816, + "id": 1308, "name": "Identifier", - "src": "33575:5:1" + "src": "34527:5:0" } ], - "id": 1817, + "id": 1309, "name": "FunctionCall", - "src": "33559:22:1" + "src": "34511:22:0" } ], - "id": 1818, + "id": 1310, "name": "FunctionCall", - "src": "33551:31:1" + "src": "34503:31:0" } ], - "id": 1819, + "id": 1311, "name": "FunctionCall", - "src": "33543:40:1" + "src": "34495:40:0" } ], - "id": 1820, + "id": 1312, "name": "FunctionCall", - "src": "33535:49:1" + "src": "34487:49:0" } ], - "id": 1821, + "id": 1313, "name": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ], - "id": 1822, + "id": 1314, "name": "Block", - "src": "33518:73:1" + "src": "34469:75:0" } ], - "id": 1823, + "id": 1315, "name": "FunctionDefinition", - "src": "33435:156:1" + "src": "34386:158:0" }, { "attributes": { "canonicalName": "EnumerableSet.UintSet", "name": "UintSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -54627,7 +54627,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1826, + "scope": 1318, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -54637,22 +54637,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1824, + "id": 1316, "name": "UserDefinedTypeName", - "src": "33639:3:1" + "src": "34598:3:0" } ], - "id": 1825, + "id": 1317, "name": "VariableDeclaration", - "src": "33639:10:1" + "src": "34598:10:0" } ], - "id": 1826, + "id": 1318, "name": "StructDefinition", - "src": "33614:42:1" + "src": "34572:44:0" }, { "attributes": { @@ -54663,7 +54663,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -54673,9 +54673,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1827, + "id": 1319, "name": "StructuredDocumentation", - "src": "33662:159:1" + "src": "34624:164:0" }, { "children": [ @@ -54684,7 +54684,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -54694,24 +54694,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1828, + "id": 1320, "name": "UserDefinedTypeName", - "src": "33839:7:1" + "src": "34807:7:0" } ], - "id": 1829, + "id": 1321, "name": "VariableDeclaration", - "src": "33839:19:1" + "src": "34807:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54723,19 +54723,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1830, + "id": 1322, "name": "ElementaryTypeName", - "src": "33860:7:1" + "src": "34828:7:0" } ], - "id": 1831, + "id": 1323, "name": "VariableDeclaration", - "src": "33860:13:1" + "src": "34828:13:0" } ], - "id": 1832, + "id": 1324, "name": "ParameterList", - "src": "33838:36:1" + "src": "34806:36:0" }, { "children": [ @@ -54744,7 +54744,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -54756,25 +54756,25 @@ "name": "bool", "type": "bool" }, - "id": 1833, + "id": 1325, "name": "ElementaryTypeName", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1834, + "id": 1326, "name": "VariableDeclaration", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1835, + "id": 1327, "name": "ParameterList", - "src": "33892:6:1" + "src": "34860:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1835 + "functionReturnParameters": 1327 }, "children": [ { @@ -54796,7 +54796,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54807,13 +54807,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1836, + "id": 1328, "name": "Identifier", - "src": "33916:4:1" + "src": "34885:4:0" }, { "attributes": { @@ -54822,7 +54822,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54831,18 +54831,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1829, + "referencedDeclaration": 1321, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1837, + "id": 1329, "name": "Identifier", - "src": "33921:3:1" + "src": "34890:3:0" } ], - "id": 1838, + "id": 1330, "name": "MemberAccess", - "src": "33921:10:1" + "src": "34890:10:0" }, { "attributes": { @@ -54878,52 +54878,52 @@ "attributes": { "name": "bytes32" }, - "id": 1839, + "id": 1331, "name": "ElementaryTypeName", - "src": "33933:7:1" + "src": "34902:7:0" } ], - "id": 1840, + "id": 1332, "name": "ElementaryTypeNameExpression", - "src": "33933:7:1" + "src": "34902:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1831, + "referencedDeclaration": 1323, "type": "uint256", "value": "value" }, - "id": 1841, + "id": 1333, "name": "Identifier", - "src": "33941:5:1" + "src": "34910:5:0" } ], - "id": 1842, + "id": 1334, "name": "FunctionCall", - "src": "33933:14:1" + "src": "34902:14:0" } ], - "id": 1843, + "id": 1335, "name": "FunctionCall", - "src": "33916:32:1" + "src": "34885:32:0" } ], - "id": 1844, + "id": 1336, "name": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ], - "id": 1845, + "id": 1337, "name": "Block", - "src": "33899:56:1" + "src": "34867:58:0" } ], - "id": 1846, + "id": 1338, "name": "FunctionDefinition", - "src": "33826:129:1" + "src": "34794:131:0" }, { "attributes": { @@ -54934,7 +54934,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -54944,9 +54944,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1847, + "id": 1339, "name": "StructuredDocumentation", - "src": "33961:157:1" + "src": "34933:162:0" }, { "children": [ @@ -54955,7 +54955,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -54965,24 +54965,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1848, + "id": 1340, "name": "UserDefinedTypeName", - "src": "34139:7:1" + "src": "35117:7:0" } ], - "id": 1849, + "id": 1341, "name": "VariableDeclaration", - "src": "34139:19:1" + "src": "35117:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54994,19 +54994,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1850, + "id": 1342, "name": "ElementaryTypeName", - "src": "34160:7:1" + "src": "35138:7:0" } ], - "id": 1851, + "id": 1343, "name": "VariableDeclaration", - "src": "34160:13:1" + "src": "35138:13:0" } ], - "id": 1852, + "id": 1344, "name": "ParameterList", - "src": "34138:36:1" + "src": "35116:36:0" }, { "children": [ @@ -55015,7 +55015,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55027,25 +55027,25 @@ "name": "bool", "type": "bool" }, - "id": 1853, + "id": 1345, "name": "ElementaryTypeName", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1854, + "id": 1346, "name": "VariableDeclaration", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1855, + "id": 1347, "name": "ParameterList", - "src": "34192:6:1" + "src": "35170:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1855 + "functionReturnParameters": 1347 }, "children": [ { @@ -55067,7 +55067,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55078,13 +55078,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1856, + "id": 1348, "name": "Identifier", - "src": "34216:7:1" + "src": "35195:7:0" }, { "attributes": { @@ -55093,7 +55093,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55102,18 +55102,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1849, + "referencedDeclaration": 1341, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1857, + "id": 1349, "name": "Identifier", - "src": "34224:3:1" + "src": "35203:3:0" } ], - "id": 1858, + "id": 1350, "name": "MemberAccess", - "src": "34224:10:1" + "src": "35203:10:0" }, { "attributes": { @@ -55149,52 +55149,52 @@ "attributes": { "name": "bytes32" }, - "id": 1859, + "id": 1351, "name": "ElementaryTypeName", - "src": "34236:7:1" + "src": "35215:7:0" } ], - "id": 1860, + "id": 1352, "name": "ElementaryTypeNameExpression", - "src": "34236:7:1" + "src": "35215:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1851, + "referencedDeclaration": 1343, "type": "uint256", "value": "value" }, - "id": 1861, + "id": 1353, "name": "Identifier", - "src": "34244:5:1" + "src": "35223:5:0" } ], - "id": 1862, + "id": 1354, "name": "FunctionCall", - "src": "34236:14:1" + "src": "35215:14:0" } ], - "id": 1863, + "id": 1355, "name": "FunctionCall", - "src": "34216:35:1" + "src": "35195:35:0" } ], - "id": 1864, + "id": 1356, "name": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ], - "id": 1865, + "id": 1357, "name": "Block", - "src": "34199:59:1" + "src": "35177:61:0" } ], - "id": 1866, + "id": 1358, "name": "FunctionDefinition", - "src": "34123:135:1" + "src": "35101:137:0" }, { "attributes": { @@ -55205,7 +55205,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55215,9 +55215,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1867, + "id": 1359, "name": "StructuredDocumentation", - "src": "34264:70:1" + "src": "35246:72:0" }, { "children": [ @@ -55226,7 +55226,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55236,24 +55236,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1868, + "id": 1360, "name": "UserDefinedTypeName", - "src": "34357:7:1" + "src": "35342:7:0" } ], - "id": 1869, + "id": 1361, "name": "VariableDeclaration", - "src": "34357:19:1" + "src": "35342:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55265,19 +55265,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1870, + "id": 1362, "name": "ElementaryTypeName", - "src": "34378:7:1" + "src": "35363:7:0" } ], - "id": 1871, + "id": 1363, "name": "VariableDeclaration", - "src": "34378:13:1" + "src": "35363:13:0" } ], - "id": 1872, + "id": 1364, "name": "ParameterList", - "src": "34356:36:1" + "src": "35341:36:0" }, { "children": [ @@ -55286,7 +55286,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55298,25 +55298,25 @@ "name": "bool", "type": "bool" }, - "id": 1873, + "id": 1365, "name": "ElementaryTypeName", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1874, + "id": 1366, "name": "VariableDeclaration", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1875, + "id": 1367, "name": "ParameterList", - "src": "34415:6:1" + "src": "35400:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1875 + "functionReturnParameters": 1367 }, "children": [ { @@ -55338,7 +55338,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55349,13 +55349,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1876, + "id": 1368, "name": "Identifier", - "src": "34439:9:1" + "src": "35425:9:0" }, { "attributes": { @@ -55364,7 +55364,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55373,18 +55373,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1869, + "referencedDeclaration": 1361, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1877, + "id": 1369, "name": "Identifier", - "src": "34449:3:1" + "src": "35435:3:0" } ], - "id": 1878, + "id": 1370, "name": "MemberAccess", - "src": "34449:10:1" + "src": "35435:10:0" }, { "attributes": { @@ -55420,52 +55420,52 @@ "attributes": { "name": "bytes32" }, - "id": 1879, + "id": 1371, "name": "ElementaryTypeName", - "src": "34461:7:1" + "src": "35447:7:0" } ], - "id": 1880, + "id": 1372, "name": "ElementaryTypeNameExpression", - "src": "34461:7:1" + "src": "35447:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1871, + "referencedDeclaration": 1363, "type": "uint256", "value": "value" }, - "id": 1881, + "id": 1373, "name": "Identifier", - "src": "34469:5:1" + "src": "35455:5:0" } ], - "id": 1882, + "id": 1374, "name": "FunctionCall", - "src": "34461:14:1" + "src": "35447:14:0" } ], - "id": 1883, + "id": 1375, "name": "FunctionCall", - "src": "34439:37:1" + "src": "35425:37:0" } ], - "id": 1884, + "id": 1376, "name": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ], - "id": 1885, + "id": 1377, "name": "Block", - "src": "34422:61:1" + "src": "35407:63:0" } ], - "id": 1886, + "id": 1378, "name": "FunctionDefinition", - "src": "34339:144:1" + "src": "35324:146:0" }, { "attributes": { @@ -55476,7 +55476,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55486,9 +55486,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1887, + "id": 1379, "name": "StructuredDocumentation", - "src": "34489:70:1" + "src": "35478:72:0" }, { "children": [ @@ -55497,7 +55497,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55507,22 +55507,22 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1888, + "id": 1380, "name": "UserDefinedTypeName", - "src": "34580:7:1" + "src": "35572:7:0" } ], - "id": 1889, + "id": 1381, "name": "VariableDeclaration", - "src": "34580:19:1" + "src": "35572:19:0" } ], - "id": 1890, + "id": 1382, "name": "ParameterList", - "src": "34579:21:1" + "src": "35571:21:0" }, { "children": [ @@ -55531,7 +55531,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55543,25 +55543,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1891, + "id": 1383, "name": "ElementaryTypeName", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1892, + "id": 1384, "name": "VariableDeclaration", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1893, + "id": 1385, "name": "ParameterList", - "src": "34623:9:1" + "src": "35615:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1893 + "functionReturnParameters": 1385 }, "children": [ { @@ -55583,20 +55583,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1894, + "id": 1386, "name": "Identifier", - "src": "34650:7:1" + "src": "35643:7:0" }, { "attributes": { @@ -55605,7 +55605,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55614,38 +55614,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1889, + "referencedDeclaration": 1381, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1895, + "id": 1387, "name": "Identifier", - "src": "34658:3:1" + "src": "35651:3:0" } ], - "id": 1896, + "id": 1388, "name": "MemberAccess", - "src": "34658:10:1" + "src": "35651:10:0" } ], - "id": 1897, + "id": 1389, "name": "FunctionCall", - "src": "34650:19:1" + "src": "35643:19:0" } ], - "id": 1898, + "id": 1390, "name": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ], - "id": 1899, + "id": 1391, "name": "Block", - "src": "34633:43:1" + "src": "35625:45:0" } ], - "id": 1900, + "id": 1392, "name": "FunctionDefinition", - "src": "34564:112:1" + "src": "35556:114:0" }, { "attributes": { @@ -55656,7 +55656,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55666,9 +55666,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1901, + "id": 1393, "name": "StructuredDocumentation", - "src": "34681:322:1" + "src": "35677:331:0" }, { "children": [ @@ -55677,7 +55677,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55687,24 +55687,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1902, + "id": 1394, "name": "UserDefinedTypeName", - "src": "35020:7:1" + "src": "36026:7:0" } ], - "id": 1903, + "id": 1395, "name": "VariableDeclaration", - "src": "35020:19:1" + "src": "36026:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55716,19 +55716,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1904, + "id": 1396, "name": "ElementaryTypeName", - "src": "35041:7:1" + "src": "36047:7:0" } ], - "id": 1905, + "id": 1397, "name": "VariableDeclaration", - "src": "35041:13:1" + "src": "36047:13:0" } ], - "id": 1906, + "id": 1398, "name": "ParameterList", - "src": "35019:36:1" + "src": "36025:36:0" }, { "children": [ @@ -55737,7 +55737,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55749,25 +55749,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1907, + "id": 1399, "name": "ElementaryTypeName", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1908, + "id": 1400, "name": "VariableDeclaration", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1909, + "id": 1401, "name": "ParameterList", - "src": "35078:9:1" + "src": "36084:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1909 + "functionReturnParameters": 1401 }, "children": [ { @@ -55804,14 +55804,14 @@ "attributes": { "name": "uint256" }, - "id": 1910, + "id": 1402, "name": "ElementaryTypeName", - "src": "35105:7:1" + "src": "36112:7:0" } ], - "id": 1911, + "id": 1403, "name": "ElementaryTypeNameExpression", - "src": "35105:7:1" + "src": "36112:7:0" }, { "attributes": { @@ -55832,7 +55832,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55843,13 +55843,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1912, + "id": 1404, "name": "Identifier", - "src": "35113:3:1" + "src": "36120:3:0" }, { "attributes": { @@ -55858,7 +55858,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55867,61 +55867,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1903, + "referencedDeclaration": 1395, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1913, + "id": 1405, "name": "Identifier", - "src": "35117:3:1" + "src": "36124:3:0" } ], - "id": 1914, + "id": 1406, "name": "MemberAccess", - "src": "35117:10:1" + "src": "36124:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1905, + "referencedDeclaration": 1397, "type": "uint256", "value": "index" }, - "id": 1915, + "id": 1407, "name": "Identifier", - "src": "35129:5:1" + "src": "36136:5:0" } ], - "id": 1916, + "id": 1408, "name": "FunctionCall", - "src": "35113:22:1" + "src": "36120:22:0" } ], - "id": 1917, + "id": 1409, "name": "FunctionCall", - "src": "35105:31:1" + "src": "36112:31:0" } ], - "id": 1918, + "id": 1410, "name": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ], - "id": 1919, + "id": 1411, "name": "Block", - "src": "35088:55:1" + "src": "36094:57:0" } ], - "id": 1920, + "id": 1412, "name": "FunctionDefinition", - "src": "35008:135:1" + "src": "36014:137:0" } ], - "id": 1921, + "id": 1413, "name": "ContractDefinition", - "src": "26511:8634:1" + "src": "27252:8902:0" }, { "attributes": { @@ -55935,9 +55935,9 @@ ".0" ] }, - "id": 1922, + "id": 1414, "name": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "attributes": { @@ -55951,25 +55951,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, - "id": 1923, + "id": 1415, "name": "StructuredDocumentation", - "src": "35237:705:1" + "src": "36251:728:0" }, { "attributes": { "canonicalName": "EnumerableMap.MapEntry", "name": "MapEntry", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -55978,7 +55978,7 @@ "constant": false, "mutability": "mutable", "name": "_key", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -55990,21 +55990,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1924, + "id": 1416, "name": "ElementaryTypeName", - "src": "36455:7:1" + "src": "37504:7:0" } ], - "id": 1925, + "id": 1417, "name": "VariableDeclaration", - "src": "36455:12:1" + "src": "37504:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_value", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56016,25 +56016,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1926, + "id": 1418, "name": "ElementaryTypeName", - "src": "36477:7:1" + "src": "37527:7:0" } ], - "id": 1927, + "id": 1419, "name": "VariableDeclaration", - "src": "36477:14:1" + "src": "37527:14:0" } ], - "id": 1928, + "id": 1420, "name": "StructDefinition", - "src": "36429:69:1" + "src": "37477:72:0" }, { "attributes": { "canonicalName": "EnumerableMap.Map", "name": "Map", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -56043,7 +56043,7 @@ "constant": false, "mutability": "mutable", "name": "_entries", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.MapEntry[]", @@ -56058,29 +56058,29 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 1929, + "id": 1421, "name": "UserDefinedTypeName", - "src": "36567:8:1" + "src": "37622:8:0" } ], - "id": 1930, + "id": 1422, "name": "ArrayTypeName", - "src": "36567:10:1" + "src": "37622:10:0" } ], - "id": 1931, + "id": 1423, "name": "VariableDeclaration", - "src": "36567:19:1" + "src": "37622:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -56097,33 +56097,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1932, + "id": 1424, "name": "ElementaryTypeName", - "src": "36745:7:1" + "src": "37804:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1933, + "id": 1425, "name": "ElementaryTypeName", - "src": "36756:7:1" + "src": "37815:7:0" } ], - "id": 1934, + "id": 1426, "name": "Mapping", - "src": "36736:28:1" + "src": "37795:28:0" } ], - "id": 1935, + "id": 1427, "name": "VariableDeclaration", - "src": "36736:37:1" + "src": "37795:37:0" } ], - "id": 1936, + "id": 1428, "name": "StructDefinition", - "src": "36504:276:1" + "src": "37557:283:0" }, { "attributes": { @@ -56134,7 +56134,7 @@ null ], "name": "_set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56144,9 +56144,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1937, + "id": 1429, "name": "StructuredDocumentation", - "src": "36786:216:1" + "src": "37848:222:0" }, { "children": [ @@ -56155,7 +56155,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56165,24 +56165,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 1938, + "id": 1430, "name": "UserDefinedTypeName", - "src": "37021:3:1" + "src": "38090:3:0" } ], - "id": 1939, + "id": 1431, "name": "VariableDeclaration", - "src": "37021:15:1" + "src": "38090:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56194,21 +56194,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1940, + "id": 1432, "name": "ElementaryTypeName", - "src": "37038:7:1" + "src": "38107:7:0" } ], - "id": 1941, + "id": 1433, "name": "VariableDeclaration", - "src": "37038:11:1" + "src": "38107:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56220,19 +56220,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1942, + "id": 1434, "name": "ElementaryTypeName", - "src": "37051:7:1" + "src": "38120:7:0" } ], - "id": 1943, + "id": 1435, "name": "VariableDeclaration", - "src": "37051:13:1" + "src": "38120:13:0" } ], - "id": 1944, + "id": 1436, "name": "ParameterList", - "src": "37020:45:1" + "src": "38089:45:0" }, { "children": [ @@ -56241,7 +56241,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -56253,26 +56253,26 @@ "name": "bool", "type": "bool" }, - "id": 1945, + "id": 1437, "name": "ElementaryTypeName", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1946, + "id": 1438, "name": "VariableDeclaration", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1947, + "id": 1439, "name": "ParameterList", - "src": "37082:6:1" + "src": "38151:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1949 + 1441 ] }, "children": [ @@ -56281,7 +56281,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 1997, + "scope": 1489, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -56293,14 +56293,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1948, + "id": 1440, "name": "ElementaryTypeName", - "src": "37197:7:1" + "src": "38268:7:0" } ], - "id": 1949, + "id": 1441, "name": "VariableDeclaration", - "src": "37197:16:1" + "src": "38268:16:0" }, { "attributes": { @@ -56318,7 +56318,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56327,41 +56327,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1950, + "id": 1442, "name": "Identifier", - "src": "37216:3:1" + "src": "38287:3:0" } ], - "id": 1951, + "id": 1443, "name": "MemberAccess", - "src": "37216:12:1" + "src": "38287:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1952, + "id": 1444, "name": "Identifier", - "src": "37229:3:1" + "src": "38300:3:0" } ], - "id": 1953, + "id": 1445, "name": "IndexAccess", - "src": "37216:17:1" + "src": "38287:17:0" } ], - "id": 1954, + "id": 1446, "name": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "children": [ @@ -56384,13 +56384,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1955, + "id": 1447, "name": "Identifier", - "src": "37248:8:1" + "src": "38321:8:0" }, { "attributes": { @@ -56403,14 +56403,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1956, + "id": 1448, "name": "Literal", - "src": "37260:1:1" + "src": "38333:1:0" } ], - "id": 1957, + "id": 1449, "name": "BinaryOperation", - "src": "37248:13:1" + "src": "38321:13:0" }, { "children": [ @@ -56435,7 +56435,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], @@ -56454,7 +56454,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56463,23 +56463,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1958, + "id": 1450, "name": "Identifier", - "src": "37314:3:1" + "src": "38388:3:0" } ], - "id": 1961, + "id": 1453, "name": "MemberAccess", - "src": "37314:12:1" + "src": "38388:12:0" } ], - "id": 1962, + "id": 1454, "name": "MemberAccess", - "src": "37314:17:1" + "src": "38388:17:0" }, { "attributes": { @@ -56512,54 +56512,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "type(struct EnumerableMap.MapEntry storage pointer)", "value": "MapEntry" }, - "id": 1963, + "id": 1455, "name": "Identifier", - "src": "37332:8:1" + "src": "38406:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1964, + "id": 1456, "name": "Identifier", - "src": "37349:3:1" + "src": "38423:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1965, + "id": 1457, "name": "Identifier", - "src": "37362:5:1" + "src": "38436:5:0" } ], - "id": 1966, + "id": 1458, "name": "FunctionCall", - "src": "37332:38:1" + "src": "38406:38:0" } ], - "id": 1967, + "id": 1459, "name": "FunctionCall", - "src": "37314:57:1" + "src": "38388:57:0" } ], - "id": 1968, + "id": 1460, "name": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "children": [ @@ -56589,7 +56589,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56598,36 +56598,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1969, + "id": 1461, "name": "Identifier", - "src": "37506:3:1" + "src": "38583:3:0" } ], - "id": 1972, + "id": 1464, "name": "MemberAccess", - "src": "37506:12:1" + "src": "38583:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1971, + "id": 1463, "name": "Identifier", - "src": "37519:3:1" + "src": "38596:3:0" } ], - "id": 1973, + "id": 1465, "name": "IndexAccess", - "src": "37506:17:1" + "src": "38583:17:0" }, { "attributes": { @@ -56646,7 +56646,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56655,37 +56655,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1974, + "id": 1466, "name": "Identifier", - "src": "37526:3:1" + "src": "38603:3:0" } ], - "id": 1975, + "id": 1467, "name": "MemberAccess", - "src": "37526:12:1" + "src": "38603:12:0" } ], - "id": 1976, + "id": 1468, "name": "MemberAccess", - "src": "37526:19:1" + "src": "38603:19:0" } ], - "id": 1977, + "id": 1469, "name": "Assignment", - "src": "37506:39:1" + "src": "38583:39:0" } ], - "id": 1978, + "id": 1470, "name": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -56699,19 +56699,19 @@ "type": "bool", "value": "true" }, - "id": 1979, + "id": 1471, "name": "Literal", - "src": "37566:4:1" + "src": "38644:4:0" } ], - "id": 1980, + "id": 1472, "name": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ], - "id": 1981, + "id": 1473, "name": "Block", - "src": "37263:318:1" + "src": "38336:324:0" }, { "children": [ @@ -56734,7 +56734,7 @@ "isPure": false, "lValueRequested": true, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -56754,7 +56754,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56763,18 +56763,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1982, + "id": 1474, "name": "Identifier", - "src": "37601:3:1" + "src": "38681:3:0" } ], - "id": 1987, + "id": 1479, "name": "MemberAccess", - "src": "37601:12:1" + "src": "38681:12:0" }, { "attributes": { @@ -56795,13 +56795,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1984, + "id": 1476, "name": "Identifier", - "src": "37614:8:1" + "src": "38694:8:0" }, { "attributes": { @@ -56814,51 +56814,51 @@ "type": "int_const 1", "value": "1" }, - "id": 1985, + "id": 1477, "name": "Literal", - "src": "37625:1:1" + "src": "38705:1:0" } ], - "id": 1986, + "id": 1478, "name": "BinaryOperation", - "src": "37614:12:1" + "src": "38694:12:0" } ], - "id": 1988, + "id": 1480, "name": "IndexAccess", - "src": "37601:26:1" + "src": "38681:26:0" } ], - "id": 1989, + "id": 1481, "name": "MemberAccess", - "src": "37601:33:1" + "src": "38681:33:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1990, + "id": 1482, "name": "Identifier", - "src": "37637:5:1" + "src": "38717:5:0" } ], - "id": 1991, + "id": 1483, "name": "Assignment", - "src": "37601:41:1" + "src": "38681:41:0" } ], - "id": 1992, + "id": 1484, "name": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -56872,34 +56872,34 @@ "type": "bool", "value": "false" }, - "id": 1993, + "id": 1485, "name": "Literal", - "src": "37663:5:1" + "src": "38744:5:0" } ], - "id": 1994, + "id": 1486, "name": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ], - "id": 1995, + "id": 1487, "name": "Block", - "src": "37587:92:1" + "src": "38666:95:0" } ], - "id": 1996, + "id": 1488, "name": "IfStatement", - "src": "37244:435:1" + "src": "38317:444:0" } ], - "id": 1997, + "id": 1489, "name": "Block", - "src": "37089:596:1" + "src": "38158:610:0" } ], - "id": 1998, + "id": 1490, "name": "FunctionDefinition", - "src": "37007:678:1" + "src": "38076:692:0" }, { "attributes": { @@ -56910,7 +56910,7 @@ null ], "name": "_remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56920,9 +56920,9 @@ "attributes": { "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 1999, + "id": 1491, "name": "StructuredDocumentation", - "src": "37691:157:1" + "src": "38776:161:0" }, { "children": [ @@ -56931,7 +56931,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56941,24 +56941,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2000, + "id": 1492, "name": "UserDefinedTypeName", - "src": "37870:3:1" + "src": "38960:3:0" } ], - "id": 2001, + "id": 1493, "name": "VariableDeclaration", - "src": "37870:15:1" + "src": "38960:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56970,19 +56970,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2002, + "id": 1494, "name": "ElementaryTypeName", - "src": "37887:7:1" + "src": "38977:7:0" } ], - "id": 2003, + "id": 1495, "name": "VariableDeclaration", - "src": "37887:11:1" + "src": "38977:11:0" } ], - "id": 2004, + "id": 1496, "name": "ParameterList", - "src": "37869:30:1" + "src": "38959:30:0" }, { "children": [ @@ -56991,7 +56991,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -57003,26 +57003,26 @@ "name": "bool", "type": "bool" }, - "id": 2005, + "id": 1497, "name": "ElementaryTypeName", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2006, + "id": 1498, "name": "VariableDeclaration", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2007, + "id": 1499, "name": "ParameterList", - "src": "37916:6:1" + "src": "39006:6:0" }, { "children": [ { "attributes": { "assignments": [ - 2009 + 1501 ] }, "children": [ @@ -57031,7 +57031,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2078, + "scope": 1570, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57043,14 +57043,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2008, + "id": 1500, "name": "ElementaryTypeName", - "src": "38031:7:1" + "src": "39123:7:0" } ], - "id": 2009, + "id": 1501, "name": "VariableDeclaration", - "src": "38031:16:1" + "src": "39123:16:0" }, { "attributes": { @@ -57068,7 +57068,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57077,41 +57077,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2010, + "id": 1502, "name": "Identifier", - "src": "38050:3:1" + "src": "39142:3:0" } ], - "id": 2011, + "id": 1503, "name": "MemberAccess", - "src": "38050:12:1" + "src": "39142:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2012, + "id": 1504, "name": "Identifier", - "src": "38063:3:1" + "src": "39155:3:0" } ], - "id": 2013, + "id": 1505, "name": "IndexAccess", - "src": "38050:17:1" + "src": "39142:17:0" } ], - "id": 2014, + "id": 1506, "name": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "children": [ @@ -57134,13 +57134,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2015, + "id": 1507, "name": "Identifier", - "src": "38082:8:1" + "src": "39176:8:0" }, { "attributes": { @@ -57153,21 +57153,21 @@ "type": "int_const 0", "value": "0" }, - "id": 2016, + "id": 1508, "name": "Literal", - "src": "38094:1:1" + "src": "39188:1:0" } ], - "id": 2017, + "id": 1509, "name": "BinaryOperation", - "src": "38082:13:1" + "src": "39176:13:0" }, { "children": [ { "attributes": { "assignments": [ - 2019 + 1511 ] }, "children": [ @@ -57176,7 +57176,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57188,14 +57188,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2018, + "id": 1510, "name": "ElementaryTypeName", - "src": "38438:7:1" + "src": "39537:7:0" } ], - "id": 2019, + "id": 1511, "name": "VariableDeclaration", - "src": "38438:21:1" + "src": "39537:21:0" }, { "attributes": { @@ -57216,13 +57216,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2020, + "id": 1512, "name": "Identifier", - "src": "38462:8:1" + "src": "39561:8:0" }, { "attributes": { @@ -57235,24 +57235,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2021, + "id": 1513, "name": "Literal", - "src": "38473:1:1" + "src": "39572:1:0" } ], - "id": 2022, + "id": 1514, "name": "BinaryOperation", - "src": "38462:12:1" + "src": "39561:12:0" } ], - "id": 2023, + "id": 1515, "name": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "attributes": { "assignments": [ - 2025 + 1517 ] }, "children": [ @@ -57261,7 +57261,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57273,14 +57273,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2024, + "id": 1516, "name": "ElementaryTypeName", - "src": "38488:7:1" + "src": "39588:7:0" } ], - "id": 2025, + "id": 1517, "name": "VariableDeclaration", - "src": "38488:17:1" + "src": "39588:17:0" }, { "attributes": { @@ -57313,7 +57313,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57322,23 +57322,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2026, + "id": 1518, "name": "Identifier", - "src": "38508:3:1" + "src": "39608:3:0" } ], - "id": 2027, + "id": 1519, "name": "MemberAccess", - "src": "38508:12:1" + "src": "39608:12:0" } ], - "id": 2028, + "id": 1520, "name": "MemberAccess", - "src": "38508:19:1" + "src": "39608:19:0" }, { "attributes": { @@ -57351,24 +57351,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2029, + "id": 1521, "name": "Literal", - "src": "38530:1:1" + "src": "39630:1:0" } ], - "id": 2030, + "id": 1522, "name": "BinaryOperation", - "src": "38508:23:1" + "src": "39608:23:0" } ], - "id": 2031, + "id": 1523, "name": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "attributes": { "assignments": [ - 2033 + 1525 ] }, "children": [ @@ -57377,7 +57377,7 @@ "constant": false, "mutability": "mutable", "name": "lastEntry", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -57387,17 +57387,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2032, + "id": 1524, "name": "UserDefinedTypeName", - "src": "38771:8:1" + "src": "39876:8:0" } ], - "id": 2033, + "id": 1525, "name": "VariableDeclaration", - "src": "38771:26:1" + "src": "39876:26:0" }, { "attributes": { @@ -57415,7 +57415,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57424,41 +57424,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2034, + "id": 1526, "name": "Identifier", - "src": "38800:3:1" + "src": "39905:3:0" } ], - "id": 2035, + "id": 1527, "name": "MemberAccess", - "src": "38800:12:1" + "src": "39905:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2025, + "referencedDeclaration": 1517, "type": "uint256", "value": "lastIndex" }, - "id": 2036, + "id": 1528, "name": "Identifier", - "src": "38813:9:1" + "src": "39918:9:0" } ], - "id": 2037, + "id": 1529, "name": "IndexAccess", - "src": "38800:23:1" + "src": "39905:23:0" } ], - "id": 2038, + "id": 1530, "name": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "children": [ @@ -57488,7 +57488,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57497,59 +57497,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2039, + "id": 1531, "name": "Identifier", - "src": "38915:3:1" + "src": "40023:3:0" } ], - "id": 2042, + "id": 1534, "name": "MemberAccess", - "src": "38915:12:1" + "src": "40023:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2041, + "id": 1533, "name": "Identifier", - "src": "38928:13:1" + "src": "40036:13:0" } ], - "id": 2043, + "id": 1535, "name": "IndexAccess", - "src": "38915:27:1" + "src": "40023:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2044, + "id": 1536, "name": "Identifier", - "src": "38945:9:1" + "src": "40053:9:0" } ], - "id": 2045, + "id": 1537, "name": "Assignment", - "src": "38915:39:1" + "src": "40023:39:0" } ], - "id": 2046, + "id": 1538, "name": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "children": [ @@ -57579,7 +57579,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57588,18 +57588,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2047, + "id": 1539, "name": "Identifier", - "src": "39020:3:1" + "src": "40130:3:0" } ], - "id": 2051, + "id": 1543, "name": "MemberAccess", - "src": "39020:12:1" + "src": "40130:12:0" }, { "attributes": { @@ -57608,7 +57608,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -57617,23 +57617,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2049, + "id": 1541, "name": "Identifier", - "src": "39033:9:1" + "src": "40143:9:0" } ], - "id": 2050, + "id": 1542, "name": "MemberAccess", - "src": "39033:14:1" + "src": "40143:14:0" } ], - "id": 2052, + "id": 1544, "name": "IndexAccess", - "src": "39020:28:1" + "src": "40130:28:0" }, { "attributes": { @@ -57654,13 +57654,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2053, + "id": 1545, "name": "Identifier", - "src": "39051:13:1" + "src": "40161:13:0" }, { "attributes": { @@ -57673,24 +57673,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2054, + "id": 1546, "name": "Literal", - "src": "39067:1:1" + "src": "40177:1:0" } ], - "id": 2055, + "id": 1547, "name": "BinaryOperation", - "src": "39051:17:1" + "src": "40161:17:0" } ], - "id": 2056, + "id": 1548, "name": "Assignment", - "src": "39020:48:1" + "src": "40130:48:0" } ], - "id": 2057, + "id": 1549, "name": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "children": [ @@ -57732,7 +57732,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57741,33 +57741,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2058, + "id": 1550, "name": "Identifier", - "src": "39174:3:1" + "src": "40287:3:0" } ], - "id": 2061, + "id": 1553, "name": "MemberAccess", - "src": "39174:12:1" + "src": "40287:12:0" } ], - "id": 2062, + "id": 1554, "name": "MemberAccess", - "src": "39174:16:1" + "src": "40287:16:0" } ], - "id": 2063, + "id": 1555, "name": "FunctionCall", - "src": "39174:18:1" + "src": "40287:18:0" } ], - "id": 2064, + "id": 1556, "name": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "children": [ @@ -57798,7 +57798,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57807,50 +57807,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2065, + "id": 1557, "name": "Identifier", - "src": "39267:3:1" + "src": "40383:3:0" } ], - "id": 2066, + "id": 1558, "name": "MemberAccess", - "src": "39267:12:1" + "src": "40383:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2067, + "id": 1559, "name": "Identifier", - "src": "39280:3:1" + "src": "40396:3:0" } ], - "id": 2068, + "id": 1560, "name": "IndexAccess", - "src": "39267:17:1" + "src": "40383:17:0" } ], - "id": 2069, + "id": 1561, "name": "UnaryOperation", - "src": "39260:24:1" + "src": "40376:24:0" } ], - "id": 2070, + "id": 1562, "name": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -57864,25 +57864,25 @@ "type": "bool", "value": "true" }, - "id": 2071, + "id": 1563, "name": "Literal", - "src": "39306:4:1" + "src": "40424:4:0" } ], - "id": 2072, + "id": 1564, "name": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ], - "id": 2073, + "id": 1565, "name": "Block", - "src": "38097:1224:1" + "src": "39191:1249:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -57896,34 +57896,34 @@ "type": "bool", "value": "false" }, - "id": 2074, + "id": 1566, "name": "Literal", - "src": "39348:5:1" + "src": "40468:5:0" } ], - "id": 2075, + "id": 1567, "name": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ], - "id": 2076, + "id": 1568, "name": "Block", - "src": "39327:37:1" + "src": "40446:39:0" } ], - "id": 2077, + "id": 1569, "name": "IfStatement", - "src": "38078:1286:1" + "src": "39172:1313:0" } ], - "id": 2078, + "id": 1570, "name": "Block", - "src": "37923:1447:1" + "src": "39013:1479:0" } ], - "id": 2079, + "id": 1571, "name": "FunctionDefinition", - "src": "37853:1517:1" + "src": "38943:1549:0" }, { "attributes": { @@ -57934,7 +57934,7 @@ null ], "name": "_contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -57944,9 +57944,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2080, + "id": 1572, "name": "StructuredDocumentation", - "src": "39376:68:1" + "src": "40500:70:0" }, { "children": [ @@ -57955,7 +57955,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -57965,24 +57965,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2081, + "id": 1573, "name": "UserDefinedTypeName", - "src": "39468:3:1" + "src": "40595:3:0" } ], - "id": 2082, + "id": 1574, "name": "VariableDeclaration", - "src": "39468:15:1" + "src": "40595:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -57994,19 +57994,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2083, + "id": 1575, "name": "ElementaryTypeName", - "src": "39485:7:1" + "src": "40612:7:0" } ], - "id": 2084, + "id": 1576, "name": "VariableDeclaration", - "src": "39485:11:1" + "src": "40612:11:0" } ], - "id": 2085, + "id": 1577, "name": "ParameterList", - "src": "39467:30:1" + "src": "40594:30:0" }, { "children": [ @@ -58015,7 +58015,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -58027,25 +58027,25 @@ "name": "bool", "type": "bool" }, - "id": 2086, + "id": 1578, "name": "ElementaryTypeName", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2087, + "id": 1579, "name": "VariableDeclaration", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2088, + "id": 1580, "name": "ParameterList", - "src": "39519:6:1" + "src": "40646:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2088 + "functionReturnParameters": 1580 }, "children": [ { @@ -58078,7 +58078,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58087,36 +58087,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2082, + "referencedDeclaration": 1574, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2089, + "id": 1581, "name": "Identifier", - "src": "39543:3:1" + "src": "40671:3:0" } ], - "id": 2090, + "id": 1582, "name": "MemberAccess", - "src": "39543:12:1" + "src": "40671:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2084, + "referencedDeclaration": 1576, "type": "bytes32", "value": "key" }, - "id": 2091, + "id": 1583, "name": "Identifier", - "src": "39556:3:1" + "src": "40684:3:0" } ], - "id": 2092, + "id": 1584, "name": "IndexAccess", - "src": "39543:17:1" + "src": "40671:17:0" }, { "attributes": { @@ -58129,29 +58129,29 @@ "type": "int_const 0", "value": "0" }, - "id": 2093, + "id": 1585, "name": "Literal", - "src": "39564:1:1" + "src": "40692:1:0" } ], - "id": 2094, + "id": 1586, "name": "BinaryOperation", - "src": "39543:22:1" + "src": "40671:22:0" } ], - "id": 2095, + "id": 1587, "name": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ], - "id": 2096, + "id": 1588, "name": "Block", - "src": "39526:46:1" + "src": "40653:48:0" } ], - "id": 2097, + "id": 1589, "name": "FunctionDefinition", - "src": "39449:123:1" + "src": "40576:125:0" }, { "attributes": { @@ -58162,7 +58162,7 @@ null ], "name": "_length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58172,9 +58172,9 @@ "attributes": { "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2098, + "id": 1590, "name": "StructuredDocumentation", - "src": "39578:79:1" + "src": "40709:81:0" }, { "children": [ @@ -58183,7 +58183,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58193,22 +58193,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2099, + "id": 1591, "name": "UserDefinedTypeName", - "src": "39679:3:1" + "src": "40813:3:0" } ], - "id": 2100, + "id": 1592, "name": "VariableDeclaration", - "src": "39679:15:1" + "src": "40813:15:0" } ], - "id": 2101, + "id": 1593, "name": "ParameterList", - "src": "39678:17:1" + "src": "40812:17:0" }, { "children": [ @@ -58217,7 +58217,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58229,25 +58229,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2102, + "id": 1594, "name": "ElementaryTypeName", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2103, + "id": 1595, "name": "VariableDeclaration", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2104, + "id": 1596, "name": "ParameterList", - "src": "39717:9:1" + "src": "40851:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2104 + "functionReturnParameters": 1596 }, "children": [ { @@ -58267,7 +58267,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58276,38 +58276,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2100, + "referencedDeclaration": 1592, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2105, + "id": 1597, "name": "Identifier", - "src": "39744:3:1" + "src": "40879:3:0" } ], - "id": 2106, + "id": 1598, "name": "MemberAccess", - "src": "39744:12:1" + "src": "40879:12:0" } ], - "id": 2107, + "id": 1599, "name": "MemberAccess", - "src": "39744:19:1" + "src": "40879:19:0" } ], - "id": 2108, + "id": 1600, "name": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ], - "id": 2109, + "id": 1601, "name": "Block", - "src": "39727:43:1" + "src": "40861:45:0" } ], - "id": 2110, + "id": 1602, "name": "FunctionDefinition", - "src": "39662:108:1" + "src": "40796:110:0" }, { "attributes": { @@ -58318,7 +58318,7 @@ null ], "name": "_at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58328,9 +58328,9 @@ "attributes": { "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2111, + "id": 1603, "name": "StructuredDocumentation", - "src": "39775:333:1" + "src": "40913:342:0" }, { "children": [ @@ -58339,7 +58339,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58349,24 +58349,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2112, + "id": 1604, "name": "UserDefinedTypeName", - "src": "40126:3:1" + "src": "41274:3:0" } ], - "id": 2113, + "id": 1605, "name": "VariableDeclaration", - "src": "40126:15:1" + "src": "41274:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58378,19 +58378,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2114, + "id": 1606, "name": "ElementaryTypeName", - "src": "40143:7:1" + "src": "41291:7:0" } ], - "id": 2115, + "id": 1607, "name": "VariableDeclaration", - "src": "40143:13:1" + "src": "41291:13:0" } ], - "id": 2116, + "id": 1608, "name": "ParameterList", - "src": "40125:32:1" + "src": "41273:32:0" }, { "children": [ @@ -58399,7 +58399,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58411,21 +58411,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2117, + "id": 1609, "name": "ElementaryTypeName", - "src": "40180:7:1" + "src": "41328:7:0" } ], - "id": 2118, + "id": 1610, "name": "VariableDeclaration", - "src": "40180:7:1" + "src": "41328:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58437,19 +58437,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2119, + "id": 1611, "name": "ElementaryTypeName", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2120, + "id": 1612, "name": "VariableDeclaration", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2121, + "id": 1613, "name": "ParameterList", - "src": "40179:18:1" + "src": "41327:18:0" }, { "children": [ @@ -58490,9 +58490,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2122, + "id": 1614, "name": "Identifier", - "src": "40208:7:1" + "src": "41357:7:0" }, { "attributes": { @@ -58525,7 +58525,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58534,41 +58534,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2123, + "id": 1615, "name": "Identifier", - "src": "40216:3:1" + "src": "41365:3:0" } ], - "id": 2124, + "id": 1616, "name": "MemberAccess", - "src": "40216:12:1" + "src": "41365:12:0" } ], - "id": 2125, + "id": 1617, "name": "MemberAccess", - "src": "40216:19:1" + "src": "41365:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2126, + "id": 1618, "name": "Identifier", - "src": "40238:5:1" + "src": "41387:5:0" } ], - "id": 2127, + "id": 1619, "name": "BinaryOperation", - "src": "40216:27:1" + "src": "41365:27:0" }, { "attributes": { @@ -58581,24 +58581,24 @@ "type": "literal_string \"EnumerableMap: index out of bounds\"", "value": "EnumerableMap: index out of bounds" }, - "id": 2128, + "id": 1620, "name": "Literal", - "src": "40245:36:1" + "src": "41394:36:0" } ], - "id": 2129, + "id": 1621, "name": "FunctionCall", - "src": "40208:74:1" + "src": "41357:74:0" } ], - "id": 2130, + "id": 1622, "name": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "attributes": { "assignments": [ - 2132 + 1624 ] }, "children": [ @@ -58607,7 +58607,7 @@ "constant": false, "mutability": "mutable", "name": "entry", - "scope": 2144, + "scope": 1636, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -58617,17 +58617,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2131, + "id": 1623, "name": "UserDefinedTypeName", - "src": "40293:8:1" + "src": "41444:8:0" } ], - "id": 2132, + "id": 1624, "name": "VariableDeclaration", - "src": "40293:22:1" + "src": "41444:22:0" }, { "attributes": { @@ -58645,7 +58645,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58654,45 +58654,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2133, + "id": 1625, "name": "Identifier", - "src": "40318:3:1" + "src": "41469:3:0" } ], - "id": 2134, + "id": 1626, "name": "MemberAccess", - "src": "40318:12:1" + "src": "41469:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2135, + "id": 1627, "name": "Identifier", - "src": "40331:5:1" + "src": "41482:5:0" } ], - "id": 2136, + "id": 1628, "name": "IndexAccess", - "src": "40318:19:1" + "src": "41469:19:0" } ], - "id": 2137, + "id": 1629, "name": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "attributes": { - "functionReturnParameters": 2121 + "functionReturnParameters": 1613 }, "children": [ { @@ -58712,7 +58712,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -58721,18 +58721,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2138, + "id": 1630, "name": "Identifier", - "src": "40355:5:1" + "src": "41507:5:0" } ], - "id": 2139, + "id": 1631, "name": "MemberAccess", - "src": "40355:10:1" + "src": "41507:10:0" }, { "attributes": { @@ -58741,7 +58741,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -58750,38 +58750,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2140, + "id": 1632, "name": "Identifier", - "src": "40367:5:1" + "src": "41519:5:0" } ], - "id": 2141, + "id": 1633, "name": "MemberAccess", - "src": "40367:12:1" + "src": "41519:12:0" } ], - "id": 2142, + "id": 1634, "name": "TupleExpression", - "src": "40354:26:1" + "src": "41506:26:0" } ], - "id": 2143, + "id": 1635, "name": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ], - "id": 2144, + "id": 1636, "name": "Block", - "src": "40198:189:1" + "src": "41346:194:0" } ], - "id": 2145, + "id": 1637, "name": "FunctionDefinition", - "src": "40113:274:1" + "src": "41261:279:0" }, { "attributes": { @@ -58792,7 +58792,7 @@ null ], "name": "_tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58802,9 +58802,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2146, + "id": 1638, "name": "StructuredDocumentation", - "src": "40393:131:1" + "src": "41548:134:0" }, { "children": [ @@ -58813,7 +58813,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58823,24 +58823,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2147, + "id": 1639, "name": "UserDefinedTypeName", - "src": "40546:3:1" + "src": "41705:3:0" } ], - "id": 2148, + "id": 1640, "name": "VariableDeclaration", - "src": "40546:15:1" + "src": "41705:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58852,19 +58852,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2149, + "id": 1641, "name": "ElementaryTypeName", - "src": "40563:7:1" + "src": "41722:7:0" } ], - "id": 2150, + "id": 1642, "name": "VariableDeclaration", - "src": "40563:11:1" + "src": "41722:11:0" } ], - "id": 2151, + "id": 1643, "name": "ParameterList", - "src": "40545:30:1" + "src": "41704:30:0" }, { "children": [ @@ -58873,7 +58873,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -58885,21 +58885,21 @@ "name": "bool", "type": "bool" }, - "id": 2152, + "id": 1644, "name": "ElementaryTypeName", - "src": "40598:4:1" + "src": "41757:4:0" } ], - "id": 2153, + "id": 1645, "name": "VariableDeclaration", - "src": "40598:4:1" + "src": "41757:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58911,26 +58911,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2154, + "id": 1646, "name": "ElementaryTypeName", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2155, + "id": 1647, "name": "VariableDeclaration", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2156, + "id": 1648, "name": "ParameterList", - "src": "40597:15:1" + "src": "41756:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2158 + 1650 ] }, "children": [ @@ -58939,7 +58939,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2182, + "scope": 1674, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58951,14 +58951,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2157, + "id": 1649, "name": "ElementaryTypeName", - "src": "40623:7:1" + "src": "41783:7:0" } ], - "id": 2158, + "id": 1650, "name": "VariableDeclaration", - "src": "40623:16:1" + "src": "41783:16:0" }, { "attributes": { @@ -58976,7 +58976,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58985,41 +58985,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2159, + "id": 1651, "name": "Identifier", - "src": "40642:3:1" + "src": "41802:3:0" } ], - "id": 2160, + "id": 1652, "name": "MemberAccess", - "src": "40642:12:1" + "src": "41802:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2150, + "referencedDeclaration": 1642, "type": "bytes32", "value": "key" }, - "id": 2161, + "id": 1653, "name": "Identifier", - "src": "40655:3:1" + "src": "41815:3:0" } ], - "id": 2162, + "id": 1654, "name": "IndexAccess", - "src": "40642:17:1" + "src": "41802:17:0" } ], - "id": 2163, + "id": 1655, "name": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "attributes": {}, @@ -59043,13 +59043,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2164, + "id": 1656, "name": "Identifier", - "src": "40673:8:1" + "src": "41834:8:0" }, { "attributes": { @@ -59062,18 +59062,18 @@ "type": "int_const 0", "value": "0" }, - "id": 2165, + "id": 1657, "name": "Literal", - "src": "40685:1:1" + "src": "41846:1:0" } ], - "id": 2166, + "id": 1658, "name": "BinaryOperation", - "src": "40673:13:1" + "src": "41834:13:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59097,9 +59097,9 @@ "type": "bool", "value": "false" }, - "id": 2167, + "id": 1659, "name": "Literal", - "src": "40696:5:1" + "src": "41857:5:0" }, { "attributes": { @@ -59112,28 +59112,28 @@ "type": "int_const 0", "value": "0" }, - "id": 2168, + "id": 1660, "name": "Literal", - "src": "40703:1:1" + "src": "41864:1:0" } ], - "id": 2169, + "id": 1661, "name": "TupleExpression", - "src": "40695:10:1" + "src": "41856:10:0" } ], - "id": 2170, + "id": 1662, "name": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } ], - "id": 2171, + "id": 1663, "name": "IfStatement", - "src": "40669:36:1" + "src": "41830:36:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59157,9 +59157,9 @@ "type": "bool", "value": "true" }, - "id": 2172, + "id": 1664, "name": "Literal", - "src": "40759:4:1" + "src": "41921:4:0" }, { "attributes": { @@ -59168,7 +59168,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59188,7 +59188,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59197,18 +59197,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2173, + "id": 1665, "name": "Identifier", - "src": "40765:3:1" + "src": "41927:3:0" } ], - "id": 2174, + "id": 1666, "name": "MemberAccess", - "src": "40765:12:1" + "src": "41927:12:0" }, { "attributes": { @@ -59229,13 +59229,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2175, + "id": 1667, "name": "Identifier", - "src": "40778:8:1" + "src": "41940:8:0" }, { "attributes": { @@ -59248,44 +59248,44 @@ "type": "int_const 1", "value": "1" }, - "id": 2176, + "id": 1668, "name": "Literal", - "src": "40789:1:1" + "src": "41951:1:0" } ], - "id": 2177, + "id": 1669, "name": "BinaryOperation", - "src": "40778:12:1" + "src": "41940:12:0" } ], - "id": 2178, + "id": 1670, "name": "IndexAccess", - "src": "40765:26:1" + "src": "41927:26:0" } ], - "id": 2179, + "id": 1671, "name": "MemberAccess", - "src": "40765:33:1" + "src": "41927:33:0" } ], - "id": 2180, + "id": 1672, "name": "TupleExpression", - "src": "40758:41:1" + "src": "41920:41:0" } ], - "id": 2181, + "id": 1673, "name": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ], - "id": 2182, + "id": 1674, "name": "Block", - "src": "40613:220:1" + "src": "41772:224:0" } ], - "id": 2183, + "id": 1675, "name": "FunctionDefinition", - "src": "40529:304:1" + "src": "41688:308:0" }, { "attributes": { @@ -59296,7 +59296,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59306,9 +59306,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2184, + "id": 1676, "name": "StructuredDocumentation", - "src": "40839:141:1" + "src": "42004:147:0" }, { "children": [ @@ -59317,7 +59317,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59327,24 +59327,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2185, + "id": 1677, "name": "UserDefinedTypeName", - "src": "40999:3:1" + "src": "42171:3:0" } ], - "id": 2186, + "id": 1678, "name": "VariableDeclaration", - "src": "40999:15:1" + "src": "42171:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59356,19 +59356,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2187, + "id": 1679, "name": "ElementaryTypeName", - "src": "41016:7:1" + "src": "42188:7:0" } ], - "id": 2188, + "id": 1680, "name": "VariableDeclaration", - "src": "41016:11:1" + "src": "42188:11:0" } ], - "id": 2189, + "id": 1681, "name": "ParameterList", - "src": "40998:30:1" + "src": "42170:30:0" }, { "children": [ @@ -59377,7 +59377,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59389,26 +59389,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2190, + "id": 1682, "name": "ElementaryTypeName", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2191, + "id": 1683, "name": "VariableDeclaration", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2192, + "id": 1684, "name": "ParameterList", - "src": "41050:9:1" + "src": "42222:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2194 + 1686 ] }, "children": [ @@ -59417,7 +59417,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2215, + "scope": 1707, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59429,14 +59429,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2193, + "id": 1685, "name": "ElementaryTypeName", - "src": "41070:7:1" + "src": "42243:7:0" } ], - "id": 2194, + "id": 1686, "name": "VariableDeclaration", - "src": "41070:16:1" + "src": "42243:16:0" }, { "attributes": { @@ -59454,7 +59454,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59463,41 +59463,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2195, + "id": 1687, "name": "Identifier", - "src": "41089:3:1" + "src": "42262:3:0" } ], - "id": 2196, + "id": 1688, "name": "MemberAccess", - "src": "41089:12:1" + "src": "42262:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2188, + "referencedDeclaration": 1680, "type": "bytes32", "value": "key" }, - "id": 2197, + "id": 1689, "name": "Identifier", - "src": "41102:3:1" + "src": "42275:3:0" } ], - "id": 2198, + "id": 1690, "name": "IndexAccess", - "src": "41089:17:1" + "src": "42262:17:0" } ], - "id": 2199, + "id": 1691, "name": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "children": [ @@ -59536,9 +59536,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2200, + "id": 1692, "name": "Identifier", - "src": "41116:7:1" + "src": "42290:7:0" }, { "attributes": { @@ -59559,13 +59559,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2201, + "id": 1693, "name": "Identifier", - "src": "41124:8:1" + "src": "42298:8:0" }, { "attributes": { @@ -59578,14 +59578,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2202, + "id": 1694, "name": "Literal", - "src": "41136:1:1" + "src": "42310:1:0" } ], - "id": 2203, + "id": 1695, "name": "BinaryOperation", - "src": "41124:13:1" + "src": "42298:13:0" }, { "attributes": { @@ -59598,23 +59598,23 @@ "type": "literal_string \"EnumerableMap: nonexistent key\"", "value": "EnumerableMap: nonexistent key" }, - "id": 2204, + "id": 1696, "name": "Literal", - "src": "41139:32:1" + "src": "42313:32:0" } ], - "id": 2205, + "id": 1697, "name": "FunctionCall", - "src": "41116:56:1" + "src": "42290:56:0" } ], - "id": 2206, + "id": 1698, "name": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "attributes": { - "functionReturnParameters": 2192 + "functionReturnParameters": 1684 }, "children": [ { @@ -59624,7 +59624,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59644,7 +59644,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59653,18 +59653,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2207, + "id": 1699, "name": "Identifier", - "src": "41225:3:1" + "src": "42400:3:0" } ], - "id": 2208, + "id": 1700, "name": "MemberAccess", - "src": "41225:12:1" + "src": "42400:12:0" }, { "attributes": { @@ -59685,13 +59685,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2209, + "id": 1701, "name": "Identifier", - "src": "41238:8:1" + "src": "42413:8:0" }, { "attributes": { @@ -59704,39 +59704,39 @@ "type": "int_const 1", "value": "1" }, - "id": 2210, + "id": 1702, "name": "Literal", - "src": "41249:1:1" + "src": "42424:1:0" } ], - "id": 2211, + "id": 1703, "name": "BinaryOperation", - "src": "41238:12:1" + "src": "42413:12:0" } ], - "id": 2212, + "id": 1704, "name": "IndexAccess", - "src": "41225:26:1" + "src": "42400:26:0" } ], - "id": 2213, + "id": 1705, "name": "MemberAccess", - "src": "41225:33:1" + "src": "42400:33:0" } ], - "id": 2214, + "id": 1706, "name": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ], - "id": 2215, + "id": 1707, "name": "Block", - "src": "41060:232:1" + "src": "42232:236:0" } ], - "id": 2216, + "id": 1708, "name": "FunctionDefinition", - "src": "40985:307:1" + "src": "42157:311:0" }, { "attributes": { @@ -59747,7 +59747,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59757,9 +59757,9 @@ "attributes": { "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2217, + "id": 1709, "name": "StructuredDocumentation", - "src": "41298:271:1" + "src": "42476:276:0" }, { "children": [ @@ -59768,7 +59768,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59778,24 +59778,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2218, + "id": 1710, "name": "UserDefinedTypeName", - "src": "41588:3:1" + "src": "42772:3:0" } ], - "id": 2219, + "id": 1711, "name": "VariableDeclaration", - "src": "41588:15:1" + "src": "42772:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59807,21 +59807,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2220, + "id": 1712, "name": "ElementaryTypeName", - "src": "41605:7:1" + "src": "42789:7:0" } ], - "id": 2221, + "id": 1713, "name": "VariableDeclaration", - "src": "41605:11:1" + "src": "42789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -59833,19 +59833,19 @@ "name": "string", "type": "string" }, - "id": 2222, + "id": 1714, "name": "ElementaryTypeName", - "src": "41618:6:1" + "src": "42802:6:0" } ], - "id": 2223, + "id": 1715, "name": "VariableDeclaration", - "src": "41618:26:1" + "src": "42802:26:0" } ], - "id": 2224, + "id": 1716, "name": "ParameterList", - "src": "41587:58:1" + "src": "42771:58:0" }, { "children": [ @@ -59854,7 +59854,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59866,26 +59866,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2225, + "id": 1717, "name": "ElementaryTypeName", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2226, + "id": 1718, "name": "VariableDeclaration", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2227, + "id": 1719, "name": "ParameterList", - "src": "41667:9:1" + "src": "42851:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2229 + 1721 ] }, "children": [ @@ -59894,7 +59894,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2250, + "scope": 1742, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59906,14 +59906,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2228, + "id": 1720, "name": "ElementaryTypeName", - "src": "41687:7:1" + "src": "42872:7:0" } ], - "id": 2229, + "id": 1721, "name": "VariableDeclaration", - "src": "41687:16:1" + "src": "42872:16:0" }, { "attributes": { @@ -59931,7 +59931,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59940,41 +59940,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2230, + "id": 1722, "name": "Identifier", - "src": "41706:3:1" + "src": "42891:3:0" } ], - "id": 2231, + "id": 1723, "name": "MemberAccess", - "src": "41706:12:1" + "src": "42891:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2221, + "referencedDeclaration": 1713, "type": "bytes32", "value": "key" }, - "id": 2232, + "id": 1724, "name": "Identifier", - "src": "41719:3:1" + "src": "42904:3:0" } ], - "id": 2233, + "id": 1725, "name": "IndexAccess", - "src": "41706:17:1" + "src": "42891:17:0" } ], - "id": 2234, + "id": 1726, "name": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "children": [ @@ -60013,9 +60013,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2235, + "id": 1727, "name": "Identifier", - "src": "41733:7:1" + "src": "42919:7:0" }, { "attributes": { @@ -60036,13 +60036,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2236, + "id": 1728, "name": "Identifier", - "src": "41741:8:1" + "src": "42927:8:0" }, { "attributes": { @@ -60055,41 +60055,41 @@ "type": "int_const 0", "value": "0" }, - "id": 2237, + "id": 1729, "name": "Literal", - "src": "41753:1:1" + "src": "42939:1:0" } ], - "id": 2238, + "id": 1730, "name": "BinaryOperation", - "src": "41741:13:1" + "src": "42927:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2223, + "referencedDeclaration": 1715, "type": "string memory", "value": "errorMessage" }, - "id": 2239, + "id": 1731, "name": "Identifier", - "src": "41756:12:1" + "src": "42942:12:0" } ], - "id": 2240, + "id": 1732, "name": "FunctionCall", - "src": "41733:36:1" + "src": "42919:36:0" } ], - "id": 2241, + "id": 1733, "name": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "attributes": { - "functionReturnParameters": 2227 + "functionReturnParameters": 1719 }, "children": [ { @@ -60099,7 +60099,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -60119,7 +60119,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -60128,18 +60128,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2242, + "id": 1734, "name": "Identifier", - "src": "41822:3:1" + "src": "43009:3:0" } ], - "id": 2243, + "id": 1735, "name": "MemberAccess", - "src": "41822:12:1" + "src": "43009:12:0" }, { "attributes": { @@ -60160,13 +60160,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2244, + "id": 1736, "name": "Identifier", - "src": "41835:8:1" + "src": "43022:8:0" }, { "attributes": { @@ -60179,45 +60179,45 @@ "type": "int_const 1", "value": "1" }, - "id": 2245, + "id": 1737, "name": "Literal", - "src": "41846:1:1" + "src": "43033:1:0" } ], - "id": 2246, + "id": 1738, "name": "BinaryOperation", - "src": "41835:12:1" + "src": "43022:12:0" } ], - "id": 2247, + "id": 1739, "name": "IndexAccess", - "src": "41822:26:1" + "src": "43009:26:0" } ], - "id": 2248, + "id": 1740, "name": "MemberAccess", - "src": "41822:33:1" + "src": "43009:33:0" } ], - "id": 2249, + "id": 1741, "name": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ], - "id": 2250, + "id": 1742, "name": "Block", - "src": "41677:212:1" + "src": "42861:216:0" } ], - "id": 2251, + "id": 1743, "name": "FunctionDefinition", - "src": "41574:315:1" + "src": "42758:319:0" }, { "attributes": { "canonicalName": "EnumerableMap.UintToAddressMap", "name": "UintToAddressMap", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -60226,7 +60226,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 2254, + "scope": 1746, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.Map", @@ -60236,22 +60236,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2252, + "id": 1744, "name": "UserDefinedTypeName", - "src": "41954:3:1" + "src": "43147:3:0" } ], - "id": 2253, + "id": 1745, "name": "VariableDeclaration", - "src": "41954:10:1" + "src": "43147:10:0" } ], - "id": 2254, + "id": 1746, "name": "StructDefinition", - "src": "41920:51:1" + "src": "43112:53:0" }, { "attributes": { @@ -60262,7 +60262,7 @@ null ], "name": "set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60272,9 +60272,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2255, + "id": 1747, "name": "StructuredDocumentation", - "src": "41977:216:1" + "src": "43173:222:0" }, { "children": [ @@ -60283,7 +60283,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60293,24 +60293,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2256, + "id": 1748, "name": "UserDefinedTypeName", - "src": "42211:16:1" + "src": "43414:16:0" } ], - "id": 2257, + "id": 1749, "name": "VariableDeclaration", - "src": "42211:28:1" + "src": "43414:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60322,21 +60322,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2258, + "id": 1750, "name": "ElementaryTypeName", - "src": "42241:7:1" + "src": "43444:7:0" } ], - "id": 2259, + "id": 1751, "name": "VariableDeclaration", - "src": "42241:11:1" + "src": "43444:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -60349,19 +60349,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2260, + "id": 1752, "name": "ElementaryTypeName", - "src": "42254:7:1" + "src": "43457:7:0" } ], - "id": 2261, + "id": 1753, "name": "VariableDeclaration", - "src": "42254:13:1" + "src": "43457:13:0" } ], - "id": 2262, + "id": 1754, "name": "ParameterList", - "src": "42210:58:1" + "src": "43413:58:0" }, { "children": [ @@ -60370,7 +60370,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60382,25 +60382,25 @@ "name": "bool", "type": "bool" }, - "id": 2263, + "id": 1755, "name": "ElementaryTypeName", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2264, + "id": 1756, "name": "VariableDeclaration", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2265, + "id": 1757, "name": "ParameterList", - "src": "42286:6:1" + "src": "43489:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2265 + "functionReturnParameters": 1757 }, "children": [ { @@ -60422,7 +60422,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60437,13 +60437,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1998, + "referencedDeclaration": 1490, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)", "value": "_set" }, - "id": 2266, + "id": 1758, "name": "Identifier", - "src": "42310:4:1" + "src": "43514:4:0" }, { "attributes": { @@ -60452,7 +60452,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60461,18 +60461,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2257, + "referencedDeclaration": 1749, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2267, + "id": 1759, "name": "Identifier", - "src": "42315:3:1" + "src": "43519:3:0" } ], - "id": 2268, + "id": 1760, "name": "MemberAccess", - "src": "42315:10:1" + "src": "43519:10:0" }, { "attributes": { @@ -60508,32 +60508,32 @@ "attributes": { "name": "bytes32" }, - "id": 2269, + "id": 1761, "name": "ElementaryTypeName", - "src": "42327:7:1" + "src": "43531:7:0" } ], - "id": 2270, + "id": 1762, "name": "ElementaryTypeNameExpression", - "src": "42327:7:1" + "src": "43531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2259, + "referencedDeclaration": 1751, "type": "uint256", "value": "key" }, - "id": 2271, + "id": 1763, "name": "Identifier", - "src": "42335:3:1" + "src": "43539:3:0" } ], - "id": 2272, + "id": 1764, "name": "FunctionCall", - "src": "42327:12:1" + "src": "43531:12:0" }, { "attributes": { @@ -60569,14 +60569,14 @@ "attributes": { "name": "bytes32" }, - "id": 2273, + "id": 1765, "name": "ElementaryTypeName", - "src": "42341:7:1" + "src": "43545:7:0" } ], - "id": 2274, + "id": 1766, "name": "ElementaryTypeNameExpression", - "src": "42341:7:1" + "src": "43545:7:0" }, { "attributes": { @@ -60612,14 +60612,14 @@ "attributes": { "name": "uint256" }, - "id": 2275, + "id": 1767, "name": "ElementaryTypeName", - "src": "42349:7:1" + "src": "43553:7:0" } ], - "id": 2276, + "id": 1768, "name": "ElementaryTypeNameExpression", - "src": "42349:7:1" + "src": "43553:7:0" }, { "attributes": { @@ -60655,62 +60655,62 @@ "attributes": { "name": "uint160" }, - "id": 2277, + "id": 1769, "name": "ElementaryTypeName", - "src": "42357:7:1" + "src": "43561:7:0" } ], - "id": 2278, + "id": 1770, "name": "ElementaryTypeNameExpression", - "src": "42357:7:1" + "src": "43561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2261, + "referencedDeclaration": 1753, "type": "address", "value": "value" }, - "id": 2279, + "id": 1771, "name": "Identifier", - "src": "42365:5:1" + "src": "43569:5:0" } ], - "id": 2280, + "id": 1772, "name": "FunctionCall", - "src": "42357:14:1" + "src": "43561:14:0" } ], - "id": 2281, + "id": 1773, "name": "FunctionCall", - "src": "42349:23:1" + "src": "43553:23:0" } ], - "id": 2282, + "id": 1774, "name": "FunctionCall", - "src": "42341:32:1" + "src": "43545:32:0" } ], - "id": 2283, + "id": 1775, "name": "FunctionCall", - "src": "42310:64:1" + "src": "43514:64:0" } ], - "id": 2284, + "id": 1776, "name": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ], - "id": 2285, + "id": 1777, "name": "Block", - "src": "42293:88:1" + "src": "43496:90:0" } ], - "id": 2286, + "id": 1778, "name": "FunctionDefinition", - "src": "42198:183:1" + "src": "43401:185:0" }, { "attributes": { @@ -60721,7 +60721,7 @@ null ], "name": "remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60731,9 +60731,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2287, + "id": 1779, "name": "StructuredDocumentation", - "src": "42387:148:1" + "src": "43594:152:0" }, { "children": [ @@ -60742,7 +60742,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60752,24 +60752,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2288, + "id": 1780, "name": "UserDefinedTypeName", - "src": "42556:16:1" + "src": "43768:16:0" } ], - "id": 2289, + "id": 1781, "name": "VariableDeclaration", - "src": "42556:28:1" + "src": "43768:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60781,19 +60781,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2290, + "id": 1782, "name": "ElementaryTypeName", - "src": "42586:7:1" + "src": "43798:7:0" } ], - "id": 2291, + "id": 1783, "name": "VariableDeclaration", - "src": "42586:11:1" + "src": "43798:11:0" } ], - "id": 2292, + "id": 1784, "name": "ParameterList", - "src": "42555:43:1" + "src": "43767:43:0" }, { "children": [ @@ -60802,7 +60802,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60814,25 +60814,25 @@ "name": "bool", "type": "bool" }, - "id": 2293, + "id": 1785, "name": "ElementaryTypeName", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2294, + "id": 1786, "name": "VariableDeclaration", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2295, + "id": 1787, "name": "ParameterList", - "src": "42616:6:1" + "src": "43828:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2295 + "functionReturnParameters": 1787 }, "children": [ { @@ -60854,7 +60854,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60865,13 +60865,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2079, + "referencedDeclaration": 1571, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 2296, + "id": 1788, "name": "Identifier", - "src": "42640:7:1" + "src": "43853:7:0" }, { "attributes": { @@ -60880,7 +60880,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60889,18 +60889,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2289, + "referencedDeclaration": 1781, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2297, + "id": 1789, "name": "Identifier", - "src": "42648:3:1" + "src": "43861:3:0" } ], - "id": 2298, + "id": 1790, "name": "MemberAccess", - "src": "42648:10:1" + "src": "43861:10:0" }, { "attributes": { @@ -60936,52 +60936,52 @@ "attributes": { "name": "bytes32" }, - "id": 2299, + "id": 1791, "name": "ElementaryTypeName", - "src": "42660:7:1" + "src": "43873:7:0" } ], - "id": 2300, + "id": 1792, "name": "ElementaryTypeNameExpression", - "src": "42660:7:1" + "src": "43873:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2291, + "referencedDeclaration": 1783, "type": "uint256", "value": "key" }, - "id": 2301, + "id": 1793, "name": "Identifier", - "src": "42668:3:1" + "src": "43881:3:0" } ], - "id": 2302, + "id": 1794, "name": "FunctionCall", - "src": "42660:12:1" + "src": "43873:12:0" } ], - "id": 2303, + "id": 1795, "name": "FunctionCall", - "src": "42640:33:1" + "src": "43853:33:0" } ], - "id": 2304, + "id": 1796, "name": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ], - "id": 2305, + "id": 1797, "name": "Block", - "src": "42623:57:1" + "src": "43835:59:0" } ], - "id": 2306, + "id": 1798, "name": "FunctionDefinition", - "src": "42540:140:1" + "src": "43752:142:0" }, { "attributes": { @@ -60992,7 +60992,7 @@ null ], "name": "contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61002,9 +61002,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2307, + "id": 1799, "name": "StructuredDocumentation", - "src": "42686:68:1" + "src": "43902:70:0" }, { "children": [ @@ -61013,7 +61013,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61023,24 +61023,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2308, + "id": 1800, "name": "UserDefinedTypeName", - "src": "42777:16:1" + "src": "43996:16:0" } ], - "id": 2309, + "id": 1801, "name": "VariableDeclaration", - "src": "42777:28:1" + "src": "43996:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61052,19 +61052,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2310, + "id": 1802, "name": "ElementaryTypeName", - "src": "42807:7:1" + "src": "44026:7:0" } ], - "id": 2311, + "id": 1803, "name": "VariableDeclaration", - "src": "42807:11:1" + "src": "44026:11:0" } ], - "id": 2312, + "id": 1804, "name": "ParameterList", - "src": "42776:43:1" + "src": "43995:43:0" }, { "children": [ @@ -61073,7 +61073,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -61085,25 +61085,25 @@ "name": "bool", "type": "bool" }, - "id": 2313, + "id": 1805, "name": "ElementaryTypeName", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2314, + "id": 1806, "name": "VariableDeclaration", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2315, + "id": 1807, "name": "ParameterList", - "src": "42842:6:1" + "src": "44061:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2315 + "functionReturnParameters": 1807 }, "children": [ { @@ -61125,7 +61125,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61136,13 +61136,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2097, + "referencedDeclaration": 1589, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 2316, + "id": 1808, "name": "Identifier", - "src": "42866:9:1" + "src": "44086:9:0" }, { "attributes": { @@ -61151,7 +61151,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61160,18 +61160,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2309, + "referencedDeclaration": 1801, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2317, + "id": 1809, "name": "Identifier", - "src": "42876:3:1" + "src": "44096:3:0" } ], - "id": 2318, + "id": 1810, "name": "MemberAccess", - "src": "42876:10:1" + "src": "44096:10:0" }, { "attributes": { @@ -61207,52 +61207,52 @@ "attributes": { "name": "bytes32" }, - "id": 2319, + "id": 1811, "name": "ElementaryTypeName", - "src": "42888:7:1" + "src": "44108:7:0" } ], - "id": 2320, + "id": 1812, "name": "ElementaryTypeNameExpression", - "src": "42888:7:1" + "src": "44108:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2311, + "referencedDeclaration": 1803, "type": "uint256", "value": "key" }, - "id": 2321, + "id": 1813, "name": "Identifier", - "src": "42896:3:1" + "src": "44116:3:0" } ], - "id": 2322, + "id": 1814, "name": "FunctionCall", - "src": "42888:12:1" + "src": "44108:12:0" } ], - "id": 2323, + "id": 1815, "name": "FunctionCall", - "src": "42866:35:1" + "src": "44086:35:0" } ], - "id": 2324, + "id": 1816, "name": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ], - "id": 2325, + "id": 1817, "name": "Block", - "src": "42849:59:1" + "src": "44068:61:0" } ], - "id": 2326, + "id": 1818, "name": "FunctionDefinition", - "src": "42759:149:1" + "src": "43978:151:0" }, { "attributes": { @@ -61263,7 +61263,7 @@ null ], "name": "length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61273,9 +61273,9 @@ "attributes": { "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2327, + "id": 1819, "name": "StructuredDocumentation", - "src": "42914:72:1" + "src": "44137:74:0" }, { "children": [ @@ -61284,7 +61284,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61294,22 +61294,22 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2328, + "id": 1820, "name": "UserDefinedTypeName", - "src": "43007:16:1" + "src": "44233:16:0" } ], - "id": 2329, + "id": 1821, "name": "VariableDeclaration", - "src": "43007:28:1" + "src": "44233:28:0" } ], - "id": 2330, + "id": 1822, "name": "ParameterList", - "src": "43006:30:1" + "src": "44232:30:0" }, { "children": [ @@ -61318,7 +61318,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61330,25 +61330,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2331, + "id": 1823, "name": "ElementaryTypeName", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2332, + "id": 1824, "name": "VariableDeclaration", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2333, + "id": 1825, "name": "ParameterList", - "src": "43059:9:1" + "src": "44285:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2333 + "functionReturnParameters": 1825 }, "children": [ { @@ -61370,20 +61370,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 2110, + "referencedDeclaration": 1602, "type": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)", "value": "_length" }, - "id": 2334, + "id": 1826, "name": "Identifier", - "src": "43086:7:1" + "src": "44313:7:0" }, { "attributes": { @@ -61392,7 +61392,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61401,38 +61401,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2329, + "referencedDeclaration": 1821, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2335, + "id": 1827, "name": "Identifier", - "src": "43094:3:1" + "src": "44321:3:0" } ], - "id": 2336, + "id": 1828, "name": "MemberAccess", - "src": "43094:10:1" + "src": "44321:10:0" } ], - "id": 2337, + "id": 1829, "name": "FunctionCall", - "src": "43086:19:1" + "src": "44313:19:0" } ], - "id": 2338, + "id": 1830, "name": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ], - "id": 2339, + "id": 1831, "name": "Block", - "src": "43069:43:1" + "src": "44295:45:0" } ], - "id": 2340, + "id": 1832, "name": "FunctionDefinition", - "src": "42991:121:1" + "src": "44217:123:0" }, { "attributes": { @@ -61443,7 +61443,7 @@ null ], "name": "at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61453,9 +61453,9 @@ "attributes": { "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2341, + "id": 1833, "name": "StructuredDocumentation", - "src": "43117:318:1" + "src": "44347:326:0" }, { "children": [ @@ -61464,7 +61464,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61474,24 +61474,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2342, + "id": 1834, "name": "UserDefinedTypeName", - "src": "43452:16:1" + "src": "44691:16:0" } ], - "id": 2343, + "id": 1835, "name": "VariableDeclaration", - "src": "43452:28:1" + "src": "44691:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61503,19 +61503,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2344, + "id": 1836, "name": "ElementaryTypeName", - "src": "43482:7:1" + "src": "44721:7:0" } ], - "id": 2345, + "id": 1837, "name": "VariableDeclaration", - "src": "43482:13:1" + "src": "44721:13:0" } ], - "id": 2346, + "id": 1838, "name": "ParameterList", - "src": "43451:45:1" + "src": "44690:45:0" }, { "children": [ @@ -61524,7 +61524,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61536,21 +61536,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2347, + "id": 1839, "name": "ElementaryTypeName", - "src": "43520:7:1" + "src": "44759:7:0" } ], - "id": 2348, + "id": 1840, "name": "VariableDeclaration", - "src": "43520:7:1" + "src": "44759:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -61563,27 +61563,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2349, + "id": 1841, "name": "ElementaryTypeName", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2350, + "id": 1842, "name": "VariableDeclaration", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2351, + "id": 1843, "name": "ParameterList", - "src": "43519:18:1" + "src": "44758:18:0" }, { "children": [ { "attributes": { "assignments": [ - 2353, - 2355 + 1845, + 1847 ] }, "children": [ @@ -61592,7 +61592,7 @@ "constant": false, "mutability": "mutable", "name": "key", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61604,21 +61604,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2352, + "id": 1844, "name": "ElementaryTypeName", - "src": "43549:7:1" + "src": "44789:7:0" } ], - "id": 2353, + "id": 1845, "name": "VariableDeclaration", - "src": "43549:11:1" + "src": "44789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61630,14 +61630,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2354, + "id": 1846, "name": "ElementaryTypeName", - "src": "43562:7:1" + "src": "44802:7:0" } ], - "id": 2355, + "id": 1847, "name": "VariableDeclaration", - "src": "43562:13:1" + "src": "44802:13:0" }, { "attributes": { @@ -61658,7 +61658,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61669,13 +61669,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2145, + "referencedDeclaration": 1637, "type": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)", "value": "_at" }, - "id": 2356, + "id": 1848, "name": "Identifier", - "src": "43579:3:1" + "src": "44819:3:0" }, { "attributes": { @@ -61684,7 +61684,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61693,45 +61693,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2343, + "referencedDeclaration": 1835, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2357, + "id": 1849, "name": "Identifier", - "src": "43583:3:1" + "src": "44823:3:0" } ], - "id": 2358, + "id": 1850, "name": "MemberAccess", - "src": "43583:10:1" + "src": "44823:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2345, + "referencedDeclaration": 1837, "type": "uint256", "value": "index" }, - "id": 2359, + "id": 1851, "name": "Identifier", - "src": "43595:5:1" + "src": "44835:5:0" } ], - "id": 2360, + "id": 1852, "name": "FunctionCall", - "src": "43579:22:1" + "src": "44819:22:0" } ], - "id": 2361, + "id": 1853, "name": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "attributes": { - "functionReturnParameters": 2351 + "functionReturnParameters": 1843 }, "children": [ { @@ -61778,32 +61778,32 @@ "attributes": { "name": "uint256" }, - "id": 2362, + "id": 1854, "name": "ElementaryTypeName", - "src": "43619:7:1" + "src": "44860:7:0" } ], - "id": 2363, + "id": 1855, "name": "ElementaryTypeNameExpression", - "src": "43619:7:1" + "src": "44860:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2353, + "referencedDeclaration": 1845, "type": "bytes32", "value": "key" }, - "id": 2364, + "id": 1856, "name": "Identifier", - "src": "43627:3:1" + "src": "44868:3:0" } ], - "id": 2365, + "id": 1857, "name": "FunctionCall", - "src": "43619:12:1" + "src": "44860:12:0" }, { "attributes": { @@ -61839,14 +61839,14 @@ "attributes": { "name": "address" }, - "id": 2366, + "id": 1858, "name": "ElementaryTypeName", - "src": "43633:7:1" + "src": "44874:7:0" } ], - "id": 2367, + "id": 1859, "name": "ElementaryTypeNameExpression", - "src": "43633:7:1" + "src": "44874:7:0" }, { "attributes": { @@ -61882,14 +61882,14 @@ "attributes": { "name": "uint160" }, - "id": 2368, + "id": 1860, "name": "ElementaryTypeName", - "src": "43641:7:1" + "src": "44882:7:0" } ], - "id": 2369, + "id": 1861, "name": "ElementaryTypeNameExpression", - "src": "43641:7:1" + "src": "44882:7:0" }, { "attributes": { @@ -61925,62 +61925,62 @@ "attributes": { "name": "uint256" }, - "id": 2370, + "id": 1862, "name": "ElementaryTypeName", - "src": "43649:7:1" + "src": "44890:7:0" } ], - "id": 2371, + "id": 1863, "name": "ElementaryTypeNameExpression", - "src": "43649:7:1" + "src": "44890:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2355, + "referencedDeclaration": 1847, "type": "bytes32", "value": "value" }, - "id": 2372, + "id": 1864, "name": "Identifier", - "src": "43657:5:1" + "src": "44898:5:0" } ], - "id": 2373, + "id": 1865, "name": "FunctionCall", - "src": "43649:14:1" + "src": "44890:14:0" } ], - "id": 2374, + "id": 1866, "name": "FunctionCall", - "src": "43641:23:1" + "src": "44882:23:0" } ], - "id": 2375, + "id": 1867, "name": "FunctionCall", - "src": "43633:32:1" + "src": "44874:32:0" } ], - "id": 2376, + "id": 1868, "name": "TupleExpression", - "src": "43618:48:1" + "src": "44859:48:0" } ], - "id": 2377, + "id": 1869, "name": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ], - "id": 2378, + "id": 1870, "name": "Block", - "src": "43538:135:1" + "src": "44777:138:0" } ], - "id": 2379, + "id": 1871, "name": "FunctionDefinition", - "src": "43440:233:1" + "src": "44679:236:0" }, { "attributes": { @@ -61991,7 +61991,7 @@ null ], "name": "tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62001,9 +62001,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2380, + "id": 1872, "name": "StructuredDocumentation", - "src": "43679:169:1" + "src": "44923:174:0" }, { "children": [ @@ -62012,7 +62012,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62022,24 +62022,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2381, + "id": 1873, "name": "UserDefinedTypeName", - "src": "43869:16:1" + "src": "45119:16:0" } ], - "id": 2382, + "id": 1874, "name": "VariableDeclaration", - "src": "43869:28:1" + "src": "45119:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62051,19 +62051,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2383, + "id": 1875, "name": "ElementaryTypeName", - "src": "43899:7:1" + "src": "45149:7:0" } ], - "id": 2384, + "id": 1876, "name": "VariableDeclaration", - "src": "43899:11:1" + "src": "45149:11:0" } ], - "id": 2385, + "id": 1877, "name": "ParameterList", - "src": "43868:43:1" + "src": "45118:43:0" }, { "children": [ @@ -62072,7 +62072,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62084,21 +62084,21 @@ "name": "bool", "type": "bool" }, - "id": 2386, + "id": 1878, "name": "ElementaryTypeName", - "src": "43935:4:1" + "src": "45185:4:0" } ], - "id": 2387, + "id": 1879, "name": "VariableDeclaration", - "src": "43935:4:1" + "src": "45185:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62111,27 +62111,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2388, + "id": 1880, "name": "ElementaryTypeName", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2389, + "id": 1881, "name": "VariableDeclaration", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2390, + "id": 1882, "name": "ParameterList", - "src": "43934:15:1" + "src": "45184:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2392, - 2394 + 1884, + 1886 ] }, "children": [ @@ -62140,7 +62140,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62152,21 +62152,21 @@ "name": "bool", "type": "bool" }, - "id": 2391, + "id": 1883, "name": "ElementaryTypeName", - "src": "43961:4:1" + "src": "45212:4:0" } ], - "id": 2392, + "id": 1884, "name": "VariableDeclaration", - "src": "43961:12:1" + "src": "45212:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -62178,14 +62178,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2393, + "id": 1885, "name": "ElementaryTypeName", - "src": "43975:7:1" + "src": "45226:7:0" } ], - "id": 2394, + "id": 1886, "name": "VariableDeclaration", - "src": "43975:13:1" + "src": "45226:13:0" }, { "attributes": { @@ -62206,7 +62206,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62217,13 +62217,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2183, + "referencedDeclaration": 1675, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)", "value": "_tryGet" }, - "id": 2395, + "id": 1887, "name": "Identifier", - "src": "43992:7:1" + "src": "45243:7:0" }, { "attributes": { @@ -62232,7 +62232,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62241,18 +62241,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2382, + "referencedDeclaration": 1874, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2396, + "id": 1888, "name": "Identifier", - "src": "44000:3:1" + "src": "45251:3:0" } ], - "id": 2397, + "id": 1889, "name": "MemberAccess", - "src": "44000:10:1" + "src": "45251:10:0" }, { "attributes": { @@ -62288,46 +62288,46 @@ "attributes": { "name": "bytes32" }, - "id": 2398, + "id": 1890, "name": "ElementaryTypeName", - "src": "44012:7:1" + "src": "45263:7:0" } ], - "id": 2399, + "id": 1891, "name": "ElementaryTypeNameExpression", - "src": "44012:7:1" + "src": "45263:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2384, + "referencedDeclaration": 1876, "type": "uint256", "value": "key" }, - "id": 2400, + "id": 1892, "name": "Identifier", - "src": "44020:3:1" + "src": "45271:3:0" } ], - "id": 2401, + "id": 1893, "name": "FunctionCall", - "src": "44012:12:1" + "src": "45263:12:0" } ], - "id": 2402, + "id": 1894, "name": "FunctionCall", - "src": "43992:33:1" + "src": "45243:33:0" } ], - "id": 2403, + "id": 1895, "name": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "attributes": { - "functionReturnParameters": 2390 + "functionReturnParameters": 1882 }, "children": [ { @@ -62345,13 +62345,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2392, + "referencedDeclaration": 1884, "type": "bool", "value": "success" }, - "id": 2404, + "id": 1896, "name": "Identifier", - "src": "44043:7:1" + "src": "45295:7:0" }, { "attributes": { @@ -62387,14 +62387,14 @@ "attributes": { "name": "address" }, - "id": 2405, + "id": 1897, "name": "ElementaryTypeName", - "src": "44052:7:1" + "src": "45304:7:0" } ], - "id": 2406, + "id": 1898, "name": "ElementaryTypeNameExpression", - "src": "44052:7:1" + "src": "45304:7:0" }, { "attributes": { @@ -62430,14 +62430,14 @@ "attributes": { "name": "uint160" }, - "id": 2407, + "id": 1899, "name": "ElementaryTypeName", - "src": "44060:7:1" + "src": "45312:7:0" } ], - "id": 2408, + "id": 1900, "name": "ElementaryTypeNameExpression", - "src": "44060:7:1" + "src": "45312:7:0" }, { "attributes": { @@ -62473,62 +62473,62 @@ "attributes": { "name": "uint256" }, - "id": 2409, + "id": 1901, "name": "ElementaryTypeName", - "src": "44068:7:1" + "src": "45320:7:0" } ], - "id": 2410, + "id": 1902, "name": "ElementaryTypeNameExpression", - "src": "44068:7:1" + "src": "45320:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2394, + "referencedDeclaration": 1886, "type": "bytes32", "value": "value" }, - "id": 2411, + "id": 1903, "name": "Identifier", - "src": "44076:5:1" + "src": "45328:5:0" } ], - "id": 2412, + "id": 1904, "name": "FunctionCall", - "src": "44068:14:1" + "src": "45320:14:0" } ], - "id": 2413, + "id": 1905, "name": "FunctionCall", - "src": "44060:23:1" + "src": "45312:23:0" } ], - "id": 2414, + "id": 1906, "name": "FunctionCall", - "src": "44052:32:1" + "src": "45304:32:0" } ], - "id": 2415, + "id": 1907, "name": "TupleExpression", - "src": "44042:43:1" + "src": "45294:43:0" } ], - "id": 2416, + "id": 1908, "name": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ], - "id": 2417, + "id": 1909, "name": "Block", - "src": "43950:142:1" + "src": "45200:145:0" } ], - "id": 2418, + "id": 1910, "name": "FunctionDefinition", - "src": "43853:239:1" + "src": "45103:242:0" }, { "attributes": { @@ -62539,7 +62539,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62549,9 +62549,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2419, + "id": 1911, "name": "StructuredDocumentation", - "src": "44098:141:1" + "src": "45353:147:0" }, { "children": [ @@ -62560,7 +62560,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62570,24 +62570,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2420, + "id": 1912, "name": "UserDefinedTypeName", - "src": "44257:16:1" + "src": "45519:16:0" } ], - "id": 2421, + "id": 1913, "name": "VariableDeclaration", - "src": "44257:28:1" + "src": "45519:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62599,19 +62599,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2422, + "id": 1914, "name": "ElementaryTypeName", - "src": "44287:7:1" + "src": "45549:7:0" } ], - "id": 2423, + "id": 1915, "name": "VariableDeclaration", - "src": "44287:11:1" + "src": "45549:11:0" } ], - "id": 2424, + "id": 1916, "name": "ParameterList", - "src": "44256:43:1" + "src": "45518:43:0" }, { "children": [ @@ -62620,7 +62620,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62633,25 +62633,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2425, + "id": 1917, "name": "ElementaryTypeName", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2426, + "id": 1918, "name": "VariableDeclaration", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2427, + "id": 1919, "name": "ParameterList", - "src": "44322:9:1" + "src": "45584:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2427 + "functionReturnParameters": 1919 }, "children": [ { @@ -62688,14 +62688,14 @@ "attributes": { "name": "address" }, - "id": 2428, + "id": 1920, "name": "ElementaryTypeName", - "src": "44349:7:1" + "src": "45612:7:0" } ], - "id": 2429, + "id": 1921, "name": "ElementaryTypeNameExpression", - "src": "44349:7:1" + "src": "45612:7:0" }, { "attributes": { @@ -62731,14 +62731,14 @@ "attributes": { "name": "uint160" }, - "id": 2430, + "id": 1922, "name": "ElementaryTypeName", - "src": "44357:7:1" + "src": "45620:7:0" } ], - "id": 2431, + "id": 1923, "name": "ElementaryTypeNameExpression", - "src": "44357:7:1" + "src": "45620:7:0" }, { "attributes": { @@ -62774,14 +62774,14 @@ "attributes": { "name": "uint256" }, - "id": 2432, + "id": 1924, "name": "ElementaryTypeName", - "src": "44365:7:1" + "src": "45628:7:0" } ], - "id": 2433, + "id": 1925, "name": "ElementaryTypeNameExpression", - "src": "44365:7:1" + "src": "45628:7:0" }, { "attributes": { @@ -62802,7 +62802,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62811,16 +62811,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, + "referencedDeclaration": 1708, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)", "value": "_get" }, - "id": 2434, + "id": 1926, "name": "Identifier", - "src": "44373:4:1" + "src": "45636:4:0" }, { "attributes": { @@ -62829,7 +62829,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62838,18 +62838,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2421, + "referencedDeclaration": 1913, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2435, + "id": 1927, "name": "Identifier", - "src": "44378:3:1" + "src": "45641:3:0" } ], - "id": 2436, + "id": 1928, "name": "MemberAccess", - "src": "44378:10:1" + "src": "45641:10:0" }, { "attributes": { @@ -62885,67 +62885,67 @@ "attributes": { "name": "bytes32" }, - "id": 2437, + "id": 1929, "name": "ElementaryTypeName", - "src": "44390:7:1" + "src": "45653:7:0" } ], - "id": 2438, + "id": 1930, "name": "ElementaryTypeNameExpression", - "src": "44390:7:1" + "src": "45653:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2423, + "referencedDeclaration": 1915, "type": "uint256", "value": "key" }, - "id": 2439, + "id": 1931, "name": "Identifier", - "src": "44398:3:1" + "src": "45661:3:0" } ], - "id": 2440, + "id": 1932, "name": "FunctionCall", - "src": "44390:12:1" + "src": "45653:12:0" } ], - "id": 2441, + "id": 1933, "name": "FunctionCall", - "src": "44373:30:1" + "src": "45636:30:0" } ], - "id": 2442, + "id": 1934, "name": "FunctionCall", - "src": "44365:39:1" + "src": "45628:39:0" } ], - "id": 2443, + "id": 1935, "name": "FunctionCall", - "src": "44357:48:1" + "src": "45620:48:0" } ], - "id": 2444, + "id": 1936, "name": "FunctionCall", - "src": "44349:57:1" + "src": "45612:57:0" } ], - "id": 2445, + "id": 1937, "name": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ], - "id": 2446, + "id": 1938, "name": "Block", - "src": "44332:81:1" + "src": "45594:83:0" } ], - "id": 2447, + "id": 1939, "name": "FunctionDefinition", - "src": "44244:169:1" + "src": "45506:171:0" }, { "attributes": { @@ -62956,7 +62956,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62966,9 +62966,9 @@ "attributes": { "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2448, + "id": 1940, "name": "StructuredDocumentation", - "src": "44419:269:1" + "src": "45685:274:0" }, { "children": [ @@ -62977,7 +62977,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62987,24 +62987,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2449, + "id": 1941, "name": "UserDefinedTypeName", - "src": "44706:16:1" + "src": "45978:16:0" } ], - "id": 2450, + "id": 1942, "name": "VariableDeclaration", - "src": "44706:28:1" + "src": "45978:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63016,21 +63016,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2451, + "id": 1943, "name": "ElementaryTypeName", - "src": "44736:7:1" + "src": "46008:7:0" } ], - "id": 2452, + "id": 1944, "name": "VariableDeclaration", - "src": "44736:11:1" + "src": "46008:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63042,19 +63042,19 @@ "name": "string", "type": "string" }, - "id": 2453, + "id": 1945, "name": "ElementaryTypeName", - "src": "44749:6:1" + "src": "46021:6:0" } ], - "id": 2454, + "id": 1946, "name": "VariableDeclaration", - "src": "44749:26:1" + "src": "46021:26:0" } ], - "id": 2455, + "id": 1947, "name": "ParameterList", - "src": "44705:71:1" + "src": "45977:71:0" }, { "children": [ @@ -63063,7 +63063,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -63076,25 +63076,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2456, + "id": 1948, "name": "ElementaryTypeName", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2457, + "id": 1949, "name": "VariableDeclaration", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2458, + "id": 1950, "name": "ParameterList", - "src": "44799:9:1" + "src": "46071:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2458 + "functionReturnParameters": 1950 }, "children": [ { @@ -63131,14 +63131,14 @@ "attributes": { "name": "address" }, - "id": 2459, + "id": 1951, "name": "ElementaryTypeName", - "src": "44826:7:1" + "src": "46099:7:0" } ], - "id": 2460, + "id": 1952, "name": "ElementaryTypeNameExpression", - "src": "44826:7:1" + "src": "46099:7:0" }, { "attributes": { @@ -63174,14 +63174,14 @@ "attributes": { "name": "uint160" }, - "id": 2461, + "id": 1953, "name": "ElementaryTypeName", - "src": "44834:7:1" + "src": "46107:7:0" } ], - "id": 2462, + "id": 1954, "name": "ElementaryTypeNameExpression", - "src": "44834:7:1" + "src": "46107:7:0" }, { "attributes": { @@ -63217,14 +63217,14 @@ "attributes": { "name": "uint256" }, - "id": 2463, + "id": 1955, "name": "ElementaryTypeName", - "src": "44842:7:1" + "src": "46115:7:0" } ], - "id": 2464, + "id": 1956, "name": "ElementaryTypeNameExpression", - "src": "44842:7:1" + "src": "46115:7:0" }, { "attributes": { @@ -63245,7 +63245,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -63258,16 +63258,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, + "referencedDeclaration": 1743, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)", "value": "_get" }, - "id": 2465, + "id": 1957, "name": "Identifier", - "src": "44850:4:1" + "src": "46123:4:0" }, { "attributes": { @@ -63276,7 +63276,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -63285,18 +63285,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2450, + "referencedDeclaration": 1942, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2466, + "id": 1958, "name": "Identifier", - "src": "44855:3:1" + "src": "46128:3:0" } ], - "id": 2467, + "id": 1959, "name": "MemberAccess", - "src": "44855:10:1" + "src": "46128:10:0" }, { "attributes": { @@ -63332,85 +63332,85 @@ "attributes": { "name": "bytes32" }, - "id": 2468, + "id": 1960, "name": "ElementaryTypeName", - "src": "44867:7:1" + "src": "46140:7:0" } ], - "id": 2469, + "id": 1961, "name": "ElementaryTypeNameExpression", - "src": "44867:7:1" + "src": "46140:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2452, + "referencedDeclaration": 1944, "type": "uint256", "value": "key" }, - "id": 2470, + "id": 1962, "name": "Identifier", - "src": "44875:3:1" + "src": "46148:3:0" } ], - "id": 2471, + "id": 1963, "name": "FunctionCall", - "src": "44867:12:1" + "src": "46140:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2454, + "referencedDeclaration": 1946, "type": "string memory", "value": "errorMessage" }, - "id": 2472, + "id": 1964, "name": "Identifier", - "src": "44881:12:1" + "src": "46154:12:0" } ], - "id": 2473, + "id": 1965, "name": "FunctionCall", - "src": "44850:44:1" + "src": "46123:44:0" } ], - "id": 2474, + "id": 1966, "name": "FunctionCall", - "src": "44842:53:1" + "src": "46115:53:0" } ], - "id": 2475, + "id": 1967, "name": "FunctionCall", - "src": "44834:62:1" + "src": "46107:62:0" } ], - "id": 2476, + "id": 1968, "name": "FunctionCall", - "src": "44826:71:1" + "src": "46099:71:0" } ], - "id": 2477, + "id": 1969, "name": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ], - "id": 2478, + "id": 1970, "name": "Block", - "src": "44809:95:1" + "src": "46081:97:0" } ], - "id": 2479, + "id": 1971, "name": "FunctionDefinition", - "src": "44693:211:1" + "src": "45965:213:0" } ], - "id": 2480, + "id": 1972, "name": "ContractDefinition", - "src": "35943:8963:1" + "src": "36981:9200:0" }, { "attributes": { @@ -63424,9 +63424,9 @@ ".0" ] }, - "id": 2481, + "id": 1973, "name": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "attributes": { @@ -63440,19 +63440,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev String operations." }, - "id": 2482, + "id": 1974, "name": "StructuredDocumentation", - "src": "44992:34:1" + "src": "46272:36:0" }, { "attributes": { @@ -63463,7 +63463,7 @@ null ], "name": "toString", - "scope": 2566, + "scope": 2058, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -63473,9 +63473,9 @@ "attributes": { "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2483, + "id": 1975, "name": "StructuredDocumentation", - "src": "45049:82:1" + "src": "46333:84:0" }, { "children": [ @@ -63484,7 +63484,7 @@ "constant": false, "mutability": "mutable", "name": "value", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63496,19 +63496,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2484, + "id": 1976, "name": "ElementaryTypeName", - "src": "45154:7:1" + "src": "46441:7:0" } ], - "id": 2485, + "id": 1977, "name": "VariableDeclaration", - "src": "45154:13:1" + "src": "46441:13:0" } ], - "id": 2486, + "id": 1978, "name": "ParameterList", - "src": "45153:15:1" + "src": "46440:15:0" }, { "children": [ @@ -63517,7 +63517,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63529,19 +63529,19 @@ "name": "string", "type": "string" }, - "id": 2487, + "id": 1979, "name": "ElementaryTypeName", - "src": "45192:6:1" + "src": "46479:6:0" } ], - "id": 2488, + "id": 1980, "name": "VariableDeclaration", - "src": "45192:13:1" + "src": "46479:13:0" } ], - "id": 2489, + "id": 1981, "name": "ParameterList", - "src": "45191:15:1" + "src": "46478:15:0" }, { "children": [ @@ -63567,13 +63567,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2490, + "id": 1982, "name": "Identifier", - "src": "45409:5:1" + "src": "46700:5:0" }, { "attributes": { @@ -63586,20 +63586,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2491, + "id": 1983, "name": "Literal", - "src": "45418:1:1" + "src": "46709:1:0" } ], - "id": 2492, + "id": 1984, "name": "BinaryOperation", - "src": "45409:10:1" + "src": "46700:10:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -63613,29 +63613,29 @@ "type": "literal_string \"0\"", "value": "0" }, - "id": 2493, + "id": 1985, "name": "Literal", - "src": "45442:3:1" + "src": "46734:3:0" } ], - "id": 2494, + "id": 1986, "name": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ], - "id": 2495, + "id": 1987, "name": "Block", - "src": "45421:35:1" + "src": "46712:37:0" } ], - "id": 2496, + "id": 1988, "name": "IfStatement", - "src": "45405:51:1" + "src": "46696:53:0" }, { "attributes": { "assignments": [ - 2498 + 1990 ] }, "children": [ @@ -63644,7 +63644,7 @@ "constant": false, "mutability": "mutable", "name": "temp", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63656,37 +63656,37 @@ "name": "uint256", "type": "uint256" }, - "id": 2497, + "id": 1989, "name": "ElementaryTypeName", - "src": "45465:7:1" + "src": "46759:7:0" } ], - "id": 2498, + "id": 1990, "name": "VariableDeclaration", - "src": "45465:12:1" + "src": "46759:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2499, + "id": 1991, "name": "Identifier", - "src": "45480:5:1" + "src": "46774:5:0" } ], - "id": 2500, + "id": 1992, "name": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "attributes": { "assignments": [ - 2502 + 1994 ] }, "children": [ @@ -63695,7 +63695,7 @@ "constant": false, "mutability": "mutable", "name": "digits", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63707,19 +63707,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2501, + "id": 1993, "name": "ElementaryTypeName", - "src": "45495:7:1" + "src": "46790:7:0" } ], - "id": 2502, + "id": 1994, "name": "VariableDeclaration", - "src": "45495:14:1" + "src": "46790:14:0" } ], - "id": 2503, + "id": 1995, "name": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "children": [ @@ -63742,13 +63742,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2504, + "id": 1996, "name": "Identifier", - "src": "45526:4:1" + "src": "46822:4:0" }, { "attributes": { @@ -63761,14 +63761,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2505, + "id": 1997, "name": "Literal", - "src": "45534:1:1" + "src": "46830:1:0" } ], - "id": 2506, + "id": 1998, "name": "BinaryOperation", - "src": "45526:9:1" + "src": "46822:9:0" }, { "children": [ @@ -63790,23 +63790,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2507, + "id": 1999, "name": "Identifier", - "src": "45551:6:1" + "src": "46848:6:0" } ], - "id": 2508, + "id": 2000, "name": "UnaryOperation", - "src": "45551:8:1" + "src": "46848:8:0" } ], - "id": 2509, + "id": 2001, "name": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "children": [ @@ -63825,13 +63825,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2510, + "id": 2002, "name": "Identifier", - "src": "45573:4:1" + "src": "46871:4:0" }, { "attributes": { @@ -63844,34 +63844,34 @@ "type": "int_const 10", "value": "10" }, - "id": 2511, + "id": 2003, "name": "Literal", - "src": "45581:2:1" + "src": "46879:2:0" } ], - "id": 2512, + "id": 2004, "name": "Assignment", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2513, + "id": 2005, "name": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2514, + "id": 2006, "name": "Block", - "src": "45537:57:1" + "src": "46833:60:0" } ], - "id": 2515, + "id": 2007, "name": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "attributes": { "assignments": [ - 2517 + 2009 ] }, "children": [ @@ -63880,7 +63880,7 @@ "constant": false, "mutability": "mutable", "name": "buffer", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -63892,14 +63892,14 @@ "name": "bytes", "type": "bytes" }, - "id": 2516, + "id": 2008, "name": "ElementaryTypeName", - "src": "45603:5:1" + "src": "46903:5:0" } ], - "id": 2517, + "id": 2009, "name": "VariableDeclaration", - "src": "45603:19:1" + "src": "46903:19:0" }, { "attributes": { @@ -63936,42 +63936,42 @@ "name": "bytes", "type": "bytes" }, - "id": 2518, + "id": 2010, "name": "ElementaryTypeName", - "src": "45629:5:1" + "src": "46929:5:0" } ], - "id": 2519, + "id": 2011, "name": "NewExpression", - "src": "45625:9:1" + "src": "46925:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2520, + "id": 2012, "name": "Identifier", - "src": "45635:6:1" + "src": "46935:6:0" } ], - "id": 2521, + "id": 2013, "name": "FunctionCall", - "src": "45625:17:1" + "src": "46925:17:0" } ], - "id": 2522, + "id": 2014, "name": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "attributes": { "assignments": [ - 2524 + 2016 ] }, "children": [ @@ -63980,7 +63980,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63992,14 +63992,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2523, + "id": 2015, "name": "ElementaryTypeName", - "src": "45652:7:1" + "src": "46953:7:0" } ], - "id": 2524, + "id": 2016, "name": "VariableDeclaration", - "src": "45652:13:1" + "src": "46953:13:0" }, { "attributes": { @@ -64020,13 +64020,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2525, + "id": 2017, "name": "Identifier", - "src": "45668:6:1" + "src": "46969:6:0" }, { "attributes": { @@ -64039,19 +64039,19 @@ "type": "int_const 1", "value": "1" }, - "id": 2526, + "id": 2018, "name": "Literal", - "src": "45677:1:1" + "src": "46978:1:0" } ], - "id": 2527, + "id": 2019, "name": "BinaryOperation", - "src": "45668:10:1" + "src": "46969:10:0" } ], - "id": 2528, + "id": 2020, "name": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "children": [ @@ -64070,36 +64070,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2529, + "id": 2021, "name": "Identifier", - "src": "45688:4:1" + "src": "46990:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2530, + "id": 2022, "name": "Identifier", - "src": "45695:5:1" + "src": "46997:5:0" } ], - "id": 2531, + "id": 2023, "name": "Assignment", - "src": "45688:12:1" + "src": "46990:12:0" } ], - "id": 2532, + "id": 2024, "name": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "children": [ @@ -64122,13 +64122,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2533, + "id": 2025, "name": "Identifier", - "src": "45717:4:1" + "src": "47020:4:0" }, { "attributes": { @@ -64141,14 +64141,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2534, + "id": 2026, "name": "Literal", - "src": "45725:1:1" + "src": "47028:1:0" } ], - "id": 2535, + "id": 2027, "name": "BinaryOperation", - "src": "45717:9:1" + "src": "47020:9:0" }, { "children": [ @@ -64178,13 +64178,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2536, + "id": 2028, "name": "Identifier", - "src": "45742:6:1" + "src": "47046:6:0" }, { "attributes": { @@ -64202,23 +64202,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2524, + "referencedDeclaration": 2016, "type": "uint256", "value": "index" }, - "id": 2537, + "id": 2029, "name": "Identifier", - "src": "45749:5:1" + "src": "47053:5:0" } ], - "id": 2538, + "id": 2030, "name": "UnaryOperation", - "src": "45749:7:1" + "src": "47053:7:0" } ], - "id": 2539, + "id": 2031, "name": "IndexAccess", - "src": "45742:15:1" + "src": "47046:15:0" }, { "attributes": { @@ -64254,14 +64254,14 @@ "attributes": { "name": "bytes1" }, - "id": 2540, + "id": 2032, "name": "ElementaryTypeName", - "src": "45760:6:1" + "src": "47064:6:0" } ], - "id": 2541, + "id": 2033, "name": "ElementaryTypeNameExpression", - "src": "45760:6:1" + "src": "47064:6:0" }, { "attributes": { @@ -64297,14 +64297,14 @@ "attributes": { "name": "uint8" }, - "id": 2542, + "id": 2034, "name": "ElementaryTypeName", - "src": "45767:5:1" + "src": "47071:5:0" } ], - "id": 2543, + "id": 2035, "name": "ElementaryTypeNameExpression", - "src": "45767:5:1" + "src": "47071:5:0" }, { "attributes": { @@ -64331,9 +64331,9 @@ "type": "int_const 48", "value": "48" }, - "id": 2544, + "id": 2036, "name": "Literal", - "src": "45773:2:1" + "src": "47077:2:0" }, { "attributes": { @@ -64354,13 +64354,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2545, + "id": 2037, "name": "Identifier", - "src": "45778:4:1" + "src": "47082:4:0" }, { "attributes": { @@ -64373,39 +64373,39 @@ "type": "int_const 10", "value": "10" }, - "id": 2546, + "id": 2038, "name": "Literal", - "src": "45785:2:1" + "src": "47089:2:0" } ], - "id": 2547, + "id": 2039, "name": "BinaryOperation", - "src": "45778:9:1" + "src": "47082:9:0" } ], - "id": 2548, + "id": 2040, "name": "BinaryOperation", - "src": "45773:14:1" + "src": "47077:14:0" } ], - "id": 2549, + "id": 2041, "name": "FunctionCall", - "src": "45767:21:1" + "src": "47071:21:0" } ], - "id": 2550, + "id": 2042, "name": "FunctionCall", - "src": "45760:29:1" + "src": "47064:29:0" } ], - "id": 2551, + "id": 2043, "name": "Assignment", - "src": "45742:47:1" + "src": "47046:47:0" } ], - "id": 2552, + "id": 2044, "name": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "children": [ @@ -64424,13 +64424,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2553, + "id": 2045, "name": "Identifier", - "src": "45803:4:1" + "src": "47108:4:0" }, { "attributes": { @@ -64443,33 +64443,33 @@ "type": "int_const 10", "value": "10" }, - "id": 2554, + "id": 2046, "name": "Literal", - "src": "45811:2:1" + "src": "47116:2:0" } ], - "id": 2555, + "id": 2047, "name": "Assignment", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2556, + "id": 2048, "name": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2557, + "id": 2049, "name": "Block", - "src": "45728:96:1" + "src": "47031:99:0" } ], - "id": 2558, + "id": 2050, "name": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -64506,52 +64506,52 @@ "attributes": { "name": "string" }, - "id": 2559, + "id": 2051, "name": "ElementaryTypeName", - "src": "45840:6:1" + "src": "47147:6:0" } ], - "id": 2560, + "id": 2052, "name": "ElementaryTypeNameExpression", - "src": "45840:6:1" + "src": "47147:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2561, + "id": 2053, "name": "Identifier", - "src": "45847:6:1" + "src": "47154:6:0" } ], - "id": 2562, + "id": 2054, "name": "FunctionCall", - "src": "45840:14:1" + "src": "47147:14:0" } ], - "id": 2563, + "id": 2055, "name": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ], - "id": 2564, + "id": 2056, "name": "Block", - "src": "45207:654:1" + "src": "46494:675:0" } ], - "id": 2565, + "id": 2057, "name": "FunctionDefinition", - "src": "45136:725:1" + "src": "46423:746:0" } ], - "id": 2566, + "id": 2058, "name": "ContractDefinition", - "src": "45027:836:1" + "src": "46310:862:0" }, { "attributes": { @@ -64565,43 +64565,43 @@ ".0" ] }, - "id": 2567, + "id": 2059, "name": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, - "id": 2568, + "id": 2060, "name": "StructuredDocumentation", - "src": "45955:124:1" + "src": "47269:127:0" }, { "attributes": {}, @@ -64609,17 +64609,17 @@ { "attributes": { "name": "Context", - "referencedDeclaration": 530, + "referencedDeclaration": 22, "type": "contract Context" }, - "id": 2569, + "id": 2061, "name": "UserDefinedTypeName", - "src": "46099:7:1" + "src": "47417:7:0" } ], - "id": 2570, + "id": 2062, "name": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "attributes": {}, @@ -64627,17 +64627,17 @@ { "attributes": { "name": "ERC165", - "referencedDeclaration": 781, + "referencedDeclaration": 273, "type": "contract ERC165" }, - "id": 2571, + "id": 2063, "name": "UserDefinedTypeName", - "src": "46108:6:1" + "src": "47426:6:0" } ], - "id": 2572, + "id": 2064, "name": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "attributes": {}, @@ -64645,17 +64645,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 2573, + "id": 2065, "name": "UserDefinedTypeName", - "src": "46116:7:1" + "src": "47434:7:0" } ], - "id": 2574, + "id": 2066, "name": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "attributes": {}, @@ -64663,17 +64663,17 @@ { "attributes": { "name": "IERC721Metadata", - "referencedDeclaration": 680, + "referencedDeclaration": 172, "type": "contract IERC721Metadata" }, - "id": 2575, + "id": 2067, "name": "UserDefinedTypeName", - "src": "46125:15:1" + "src": "47443:15:0" } ], - "id": 2576, + "id": 2068, "name": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "attributes": {}, @@ -64681,55 +64681,55 @@ { "attributes": { "name": "IERC721Enumerable", - "referencedDeclaration": 709, + "referencedDeclaration": 201, "type": "contract IERC721Enumerable" }, - "id": 2577, + "id": 2069, "name": "UserDefinedTypeName", - "src": "46142:17:1" + "src": "47460:17:0" } ], - "id": 2578, + "id": 2070, "name": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" }, { "children": [ { "attributes": { "name": "SafeMath", - "referencedDeclaration": 1135, + "referencedDeclaration": 627, "type": "library SafeMath" }, - "id": 2579, + "id": 2071, "name": "UserDefinedTypeName", - "src": "46172:8:1" + "src": "47491:8:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2580, + "id": 2072, "name": "ElementaryTypeName", - "src": "46185:7:1" + "src": "47504:7:0" } ], - "id": 2581, + "id": 2073, "name": "UsingForDirective", - "src": "46166:27:1" + "src": "47485:27:0" }, { "children": [ { "attributes": { "name": "Address", - "referencedDeclaration": 1430, + "referencedDeclaration": 922, "type": "library Address" }, - "id": 2582, + "id": 2074, "name": "UserDefinedTypeName", - "src": "46204:7:1" + "src": "47524:7:0" }, { "attributes": { @@ -64737,101 +64737,101 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2583, + "id": 2075, "name": "ElementaryTypeName", - "src": "46216:7:1" + "src": "47536:7:0" } ], - "id": 2584, + "id": 2076, "name": "UsingForDirective", - "src": "46198:26:1" + "src": "47518:26:0" }, { "children": [ { "attributes": { "name": "EnumerableSet", - "referencedDeclaration": 1921, + "referencedDeclaration": 1413, "type": "library EnumerableSet" }, - "id": 2585, + "id": 2077, "name": "UserDefinedTypeName", - "src": "46235:13:1" + "src": "47556:13:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2586, + "id": 2078, "name": "UserDefinedTypeName", - "src": "46253:21:1" + "src": "47574:21:0" } ], - "id": 2587, + "id": 2079, "name": "UsingForDirective", - "src": "46229:46:1" + "src": "47550:46:0" }, { "children": [ { "attributes": { "name": "EnumerableMap", - "referencedDeclaration": 2480, + "referencedDeclaration": 1972, "type": "library EnumerableMap" }, - "id": 2588, + "id": 2080, "name": "UserDefinedTypeName", - "src": "46286:13:1" + "src": "47608:13:0" }, { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2589, + "id": 2081, "name": "UserDefinedTypeName", - "src": "46304:30:1" + "src": "47626:30:0" } ], - "id": 2590, + "id": 2082, "name": "UsingForDirective", - "src": "46280:55:1" + "src": "47602:55:0" }, { "children": [ { "attributes": { "name": "Strings", - "referencedDeclaration": 2566, + "referencedDeclaration": 2058, "type": "library Strings" }, - "id": 2591, + "id": 2083, "name": "UserDefinedTypeName", - "src": "46346:7:1" + "src": "47669:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2592, + "id": 2084, "name": "ElementaryTypeName", - "src": "46358:7:1" + "src": "47681:7:0" } ], - "id": 2593, + "id": 2085, "name": "UsingForDirective", - "src": "46340:26:1" + "src": "47663:26:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_ERC721_RECEIVED", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -64843,9 +64843,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2594, + "id": 2086, "name": "ElementaryTypeName", - "src": "46544:6:1" + "src": "47871:6:0" }, { "attributes": { @@ -64858,21 +64858,21 @@ "type": "int_const 353073666", "value": "0x150b7a02" }, - "id": 2595, + "id": 2087, "name": "Literal", - "src": "46587:10:1" + "src": "47914:10:0" } ], - "id": 2596, + "id": 2088, "name": "VariableDeclaration", - "src": "46544:53:1" + "src": "47871:53:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_holderTokens", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => struct EnumerableSet.UintSet)", @@ -64889,36 +64889,36 @@ "name": "address", "type": "address" }, - "id": 2597, + "id": 2089, "name": "ElementaryTypeName", - "src": "46690:7:1" + "src": "48020:7:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2598, + "id": 2090, "name": "UserDefinedTypeName", - "src": "46701:21:1" + "src": "48031:21:0" } ], - "id": 2599, + "id": 2091, "name": "Mapping", - "src": "46681:42:1" + "src": "48011:42:0" } ], - "id": 2600, + "id": 2092, "name": "VariableDeclaration", - "src": "46681:64:1" + "src": "48011:64:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenOwners", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "struct EnumerableMap.UintToAddressMap", @@ -64928,24 +64928,24 @@ { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2601, + "id": 2093, "name": "UserDefinedTypeName", - "src": "46809:30:1" + "src": "48142:30:0" } ], - "id": 2602, + "id": 2094, "name": "VariableDeclaration", - "src": "46809:51:1" + "src": "48142:51:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => address)", @@ -64962,9 +64962,9 @@ "name": "uint256", "type": "uint256" }, - "id": 2603, + "id": 2095, "name": "ElementaryTypeName", - "src": "46925:7:1" + "src": "48261:7:0" }, { "attributes": { @@ -64972,26 +64972,26 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2604, + "id": 2096, "name": "ElementaryTypeName", - "src": "46936:7:1" + "src": "48272:7:0" } ], - "id": 2605, + "id": 2097, "name": "Mapping", - "src": "46916:28:1" + "src": "48252:28:0" } ], - "id": 2606, + "id": 2098, "name": "VariableDeclaration", - "src": "46916:52:1" + "src": "48252:52:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_operatorApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => mapping(address => bool))", @@ -65008,9 +65008,9 @@ "name": "address", "type": "address" }, - "id": 2607, + "id": 2099, "name": "ElementaryTypeName", - "src": "47032:7:1" + "src": "48371:7:0" }, { "attributes": { @@ -65022,40 +65022,40 @@ "name": "address", "type": "address" }, - "id": 2608, + "id": 2100, "name": "ElementaryTypeName", - "src": "47052:7:1" + "src": "48391:7:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 2609, + "id": 2101, "name": "ElementaryTypeName", - "src": "47063:4:1" + "src": "48402:4:0" } ], - "id": 2610, + "id": 2102, "name": "Mapping", - "src": "47043:25:1" + "src": "48382:25:0" } ], - "id": 2611, + "id": 2103, "name": "Mapping", - "src": "47023:46:1" + "src": "48362:46:0" } ], - "id": 2612, + "id": 2104, "name": "VariableDeclaration", - "src": "47023:73:1" + "src": "48362:73:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_name", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65067,21 +65067,21 @@ "name": "string", "type": "string" }, - "id": 2613, + "id": 2105, "name": "ElementaryTypeName", - "src": "47121:6:1" + "src": "48463:6:0" } ], - "id": 2614, + "id": 2106, "name": "VariableDeclaration", - "src": "47121:20:1" + "src": "48463:20:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_symbol", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65093,21 +65093,21 @@ "name": "string", "type": "string" }, - "id": 2615, + "id": 2107, "name": "ElementaryTypeName", - "src": "47168:6:1" + "src": "48513:6:0" } ], - "id": 2616, + "id": 2108, "name": "VariableDeclaration", - "src": "47168:22:1" + "src": "48513:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURIs", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => string)", @@ -65124,35 +65124,35 @@ "name": "uint256", "type": "uint256" }, - "id": 2617, + "id": 2109, "name": "ElementaryTypeName", - "src": "47245:7:1" + "src": "48593:7:0" }, { "attributes": { "name": "string", "type": "string" }, - "id": 2618, + "id": 2110, "name": "ElementaryTypeName", - "src": "47256:6:1" + "src": "48604:6:0" } ], - "id": 2619, + "id": 2111, "name": "Mapping", - "src": "47236:27:1" + "src": "48584:27:0" } ], - "id": 2620, + "id": 2112, "name": "VariableDeclaration", - "src": "47236:46:1" + "src": "48584:46:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_baseURI", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65164,21 +65164,21 @@ "name": "string", "type": "string" }, - "id": 2621, + "id": 2113, "name": "ElementaryTypeName", - "src": "47305:6:1" + "src": "48656:6:0" } ], - "id": 2622, + "id": 2114, "name": "VariableDeclaration", - "src": "47305:23:1" + "src": "48656:23:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65190,9 +65190,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2623, + "id": 2115, "name": "ElementaryTypeName", - "src": "48204:6:1" + "src": "49571:6:0" }, { "attributes": { @@ -65205,21 +65205,21 @@ "type": "int_const 2158778573", "value": "0x80ac58cd" }, - "id": 2624, + "id": 2116, "name": "Literal", - "src": "48251:10:1" + "src": "49618:10:0" } ], - "id": 2625, + "id": 2117, "name": "VariableDeclaration", - "src": "48204:57:1" + "src": "49571:57:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65231,9 +65231,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2626, + "id": 2118, "name": "ElementaryTypeName", - "src": "48527:6:1" + "src": "49903:6:0" }, { "attributes": { @@ -65246,21 +65246,21 @@ "type": "int_const 1532892063", "value": "0x5b5e139f" }, - "id": 2627, + "id": 2119, "name": "Literal", - "src": "48583:10:1" + "src": "49959:10:0" } ], - "id": 2628, + "id": 2120, "name": "VariableDeclaration", - "src": "48527:66:1" + "src": "49903:66:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65272,9 +65272,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2629, + "id": 2121, "name": "ElementaryTypeName", - "src": "48898:6:1" + "src": "50283:6:0" }, { "attributes": { @@ -65287,14 +65287,14 @@ "type": "int_const 2014223715", "value": "0x780e9d63" }, - "id": 2630, + "id": 2122, "name": "Literal", - "src": "48956:10:1" + "src": "50341:10:0" } ], - "id": 2631, + "id": 2123, "name": "VariableDeclaration", - "src": "48898:68:1" + "src": "50283:68:0" }, { "attributes": { @@ -65305,7 +65305,7 @@ null ], "name": "", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -65315,9 +65315,9 @@ "attributes": { "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2632, + "id": 2124, "name": "StructuredDocumentation", - "src": "48973:108:1" + "src": "50360:110:0" }, { "children": [ @@ -65326,7 +65326,7 @@ "constant": false, "mutability": "mutable", "name": "name_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65338,21 +65338,21 @@ "name": "string", "type": "string" }, - "id": 2633, + "id": 2125, "name": "ElementaryTypeName", - "src": "49099:6:1" + "src": "50489:6:0" } ], - "id": 2634, + "id": 2126, "name": "VariableDeclaration", - "src": "49099:19:1" + "src": "50489:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "symbol_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65364,19 +65364,19 @@ "name": "string", "type": "string" }, - "id": 2635, + "id": 2127, "name": "ElementaryTypeName", - "src": "49120:6:1" + "src": "50510:6:0" } ], - "id": 2636, + "id": 2128, "name": "VariableDeclaration", - "src": "49120:21:1" + "src": "50510:21:0" } ], - "id": 2637, + "id": 2129, "name": "ParameterList", - "src": "49098:44:1" + "src": "50488:44:0" }, { "attributes": { @@ -65385,9 +65385,9 @@ ] }, "children": [], - "id": 2638, + "id": 2130, "name": "ParameterList", - "src": "49143:0:1" + "src": "50533:0:0" }, { "children": [ @@ -65408,36 +65408,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2639, + "id": 2131, "name": "Identifier", - "src": "49153:5:1" + "src": "50544:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2634, + "referencedDeclaration": 2126, "type": "string memory", "value": "name_" }, - "id": 2640, + "id": 2132, "name": "Identifier", - "src": "49161:5:1" + "src": "50552:5:0" } ], - "id": 2641, + "id": 2133, "name": "Assignment", - "src": "49153:13:1" + "src": "50544:13:0" } ], - "id": 2642, + "id": 2134, "name": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "children": [ @@ -65456,36 +65456,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2643, + "id": 2135, "name": "Identifier", - "src": "49176:7:1" + "src": "50568:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2636, + "referencedDeclaration": 2128, "type": "string memory", "value": "symbol_" }, - "id": 2644, + "id": 2136, "name": "Identifier", - "src": "49186:7:1" + "src": "50578:7:0" } ], - "id": 2645, + "id": 2137, "name": "Assignment", - "src": "49176:17:1" + "src": "50568:17:0" } ], - "id": 2646, + "id": 2138, "name": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "children": [ @@ -65515,36 +65515,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2647, + "id": 2139, "name": "Identifier", - "src": "49281:18:1" + "src": "50676:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2625, + "referencedDeclaration": 2117, "type": "bytes4", "value": "_INTERFACE_ID_ERC721" }, - "id": 2648, + "id": 2140, "name": "Identifier", - "src": "49300:20:1" + "src": "50695:20:0" } ], - "id": 2649, + "id": 2141, "name": "FunctionCall", - "src": "49281:40:1" + "src": "50676:40:0" } ], - "id": 2650, + "id": 2142, "name": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "children": [ @@ -65574,36 +65574,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2651, + "id": 2143, "name": "Identifier", - "src": "49331:18:1" + "src": "50727:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2628, + "referencedDeclaration": 2120, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_METADATA" }, - "id": 2652, + "id": 2144, "name": "Identifier", - "src": "49350:29:1" + "src": "50746:29:0" } ], - "id": 2653, + "id": 2145, "name": "FunctionCall", - "src": "49331:49:1" + "src": "50727:49:0" } ], - "id": 2654, + "id": 2146, "name": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "children": [ @@ -65633,51 +65633,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2655, + "id": 2147, "name": "Identifier", - "src": "49390:18:1" + "src": "50787:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2631, + "referencedDeclaration": 2123, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_ENUMERABLE" }, - "id": 2656, + "id": 2148, "name": "Identifier", - "src": "49409:31:1" + "src": "50806:31:0" } ], - "id": 2657, + "id": 2149, "name": "FunctionCall", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2658, + "id": 2150, "name": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2659, + "id": 2151, "name": "Block", - "src": "49143:305:1" + "src": "50533:313:0" } ], - "id": 2660, + "id": 2152, "name": "FunctionDefinition", - "src": "49086:362:1" + "src": "50476:370:0" }, { "attributes": { "baseFunctions": [ - 580 + 72 ], "functionSelector": "70a08231", "implemented": true, @@ -65687,7 +65687,7 @@ null ], "name": "balanceOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -65697,9 +65697,9 @@ "attributes": { "text": " @dev See {IERC721-balanceOf}." }, - "id": 2661, + "id": 2153, "name": "StructuredDocumentation", - "src": "49454:48:1" + "src": "50854:50:0" }, { "attributes": { @@ -65707,9 +65707,9 @@ null ] }, - "id": 2665, + "id": 2157, "name": "OverrideSpecifier", - "src": "49561:8:1" + "src": "50964:8:0" }, { "children": [ @@ -65718,7 +65718,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -65731,19 +65731,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2662, + "id": 2154, "name": "ElementaryTypeName", - "src": "49526:7:1" + "src": "50929:7:0" } ], - "id": 2663, + "id": 2155, "name": "VariableDeclaration", - "src": "49526:13:1" + "src": "50929:13:0" } ], - "id": 2664, + "id": 2156, "name": "ParameterList", - "src": "49525:15:1" + "src": "50928:15:0" }, { "children": [ @@ -65752,7 +65752,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -65764,19 +65764,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2666, + "id": 2158, "name": "ElementaryTypeName", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2667, + "id": 2159, "name": "VariableDeclaration", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2668, + "id": 2160, "name": "ParameterList", - "src": "49578:9:1" + "src": "50981:9:0" }, { "children": [ @@ -65817,9 +65817,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2669, + "id": 2161, "name": "Identifier", - "src": "49598:7:1" + "src": "51002:7:0" }, { "attributes": { @@ -65840,13 +65840,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2670, + "id": 2162, "name": "Identifier", - "src": "49606:5:1" + "src": "51010:5:0" }, { "attributes": { @@ -65882,14 +65882,14 @@ "attributes": { "name": "address" }, - "id": 2671, + "id": 2163, "name": "ElementaryTypeName", - "src": "49615:7:1" + "src": "51019:7:0" } ], - "id": 2672, + "id": 2164, "name": "ElementaryTypeNameExpression", - "src": "49615:7:1" + "src": "51019:7:0" }, { "attributes": { @@ -65902,19 +65902,19 @@ "type": "int_const 0", "value": "0" }, - "id": 2673, + "id": 2165, "name": "Literal", - "src": "49623:1:1" + "src": "51027:1:0" } ], - "id": 2674, + "id": 2166, "name": "FunctionCall", - "src": "49615:10:1" + "src": "51019:10:0" } ], - "id": 2675, + "id": 2167, "name": "BinaryOperation", - "src": "49606:19:1" + "src": "51010:19:0" }, { "attributes": { @@ -65927,23 +65927,23 @@ "type": "literal_string \"ERC721: balance query for the zero address\"", "value": "ERC721: balance query for the zero address" }, - "id": 2676, + "id": 2168, "name": "Literal", - "src": "49627:44:1" + "src": "51031:44:0" } ], - "id": 2677, + "id": 2169, "name": "FunctionCall", - "src": "49598:74:1" + "src": "51002:74:0" } ], - "id": 2678, + "id": 2170, "name": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "attributes": { - "functionReturnParameters": 2668 + "functionReturnParameters": 2160 }, "children": [ { @@ -65974,7 +65974,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 1900, + "referencedDeclaration": 1392, "type": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" }, "children": [ @@ -65992,61 +65992,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2679, + "id": 2171, "name": "Identifier", - "src": "49689:13:1" + "src": "51094:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2680, + "id": 2172, "name": "Identifier", - "src": "49703:5:1" + "src": "51108:5:0" } ], - "id": 2681, + "id": 2173, "name": "IndexAccess", - "src": "49689:20:1" + "src": "51094:20:0" } ], - "id": 2682, + "id": 2174, "name": "MemberAccess", - "src": "49689:27:1" + "src": "51094:27:0" } ], - "id": 2683, + "id": 2175, "name": "FunctionCall", - "src": "49689:29:1" + "src": "51094:29:0" } ], - "id": 2684, + "id": 2176, "name": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ], - "id": 2685, + "id": 2177, "name": "Block", - "src": "49588:137:1" + "src": "50991:140:0" } ], - "id": 2686, + "id": 2178, "name": "FunctionDefinition", - "src": "49507:218:1" + "src": "50910:221:0" }, { "attributes": { "baseFunctions": [ - 588 + 80 ], "functionSelector": "6352211e", "implemented": true, @@ -66056,7 +66056,7 @@ null ], "name": "ownerOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66066,9 +66066,9 @@ "attributes": { "text": " @dev See {IERC721-ownerOf}." }, - "id": 2687, + "id": 2179, "name": "StructuredDocumentation", - "src": "49731:46:1" + "src": "51139:48:0" }, { "attributes": { @@ -66076,9 +66076,9 @@ null ] }, - "id": 2691, + "id": 2183, "name": "OverrideSpecifier", - "src": "49836:8:1" + "src": "51247:8:0" }, { "children": [ @@ -66087,7 +66087,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66099,19 +66099,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2688, + "id": 2180, "name": "ElementaryTypeName", - "src": "49799:7:1" + "src": "51210:7:0" } ], - "id": 2689, + "id": 2181, "name": "VariableDeclaration", - "src": "49799:15:1" + "src": "51210:15:0" } ], - "id": 2690, + "id": 2182, "name": "ParameterList", - "src": "49798:17:1" + "src": "51209:17:0" }, { "children": [ @@ -66120,7 +66120,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -66133,25 +66133,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2692, + "id": 2184, "name": "ElementaryTypeName", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2693, + "id": 2185, "name": "VariableDeclaration", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2694, + "id": 2186, "name": "ParameterList", - "src": "49853:9:1" + "src": "51264:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2694 + "functionReturnParameters": 2186 }, "children": [ { @@ -66186,7 +66186,7 @@ "isPure": false, "lValueRequested": false, "member_name": "get", - "referencedDeclaration": 2479, + "referencedDeclaration": 1971, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" }, "children": [ @@ -66195,31 +66195,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2695, + "id": 2187, "name": "Identifier", - "src": "49880:12:1" + "src": "51292:12:0" } ], - "id": 2696, + "id": 2188, "name": "MemberAccess", - "src": "49880:16:1" + "src": "51292:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2689, + "referencedDeclaration": 2181, "type": "uint256", "value": "tokenId" }, - "id": 2697, + "id": 2189, "name": "Identifier", - "src": "49897:7:1" + "src": "51309:7:0" }, { "attributes": { @@ -66232,34 +66232,34 @@ "type": "literal_string \"ERC721: owner query for nonexistent token\"", "value": "ERC721: owner query for nonexistent token" }, - "id": 2698, + "id": 2190, "name": "Literal", - "src": "49906:43:1" + "src": "51318:43:0" } ], - "id": 2699, + "id": 2191, "name": "FunctionCall", - "src": "49880:70:1" + "src": "51292:70:0" } ], - "id": 2700, + "id": 2192, "name": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ], - "id": 2701, + "id": 2193, "name": "Block", - "src": "49863:94:1" + "src": "51274:96:0" } ], - "id": 2702, + "id": 2194, "name": "FunctionDefinition", - "src": "49782:175:1" + "src": "51193:177:0" }, { "attributes": { "baseFunctions": [ - 665 + 157 ], "functionSelector": "06fdde03", "implemented": true, @@ -66269,7 +66269,7 @@ null ], "name": "name", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66279,9 +66279,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-name}." }, - "id": 2703, + "id": 2195, "name": "StructuredDocumentation", - "src": "49963:51:1" + "src": "51378:53:0" }, { "attributes": { @@ -66289,9 +66289,9 @@ null ] }, - "id": 2705, + "id": 2197, "name": "OverrideSpecifier", - "src": "50055:8:1" + "src": "51473:8:0" }, { "attributes": { @@ -66300,9 +66300,9 @@ ] }, "children": [], - "id": 2704, + "id": 2196, "name": "ParameterList", - "src": "50032:2:1" + "src": "51450:2:0" }, { "children": [ @@ -66311,7 +66311,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2712, + "scope": 2204, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66323,25 +66323,25 @@ "name": "string", "type": "string" }, - "id": 2706, + "id": 2198, "name": "ElementaryTypeName", - "src": "50073:6:1" + "src": "51491:6:0" } ], - "id": 2707, + "id": 2199, "name": "VariableDeclaration", - "src": "50073:13:1" + "src": "51491:13:0" } ], - "id": 2708, + "id": 2200, "name": "ParameterList", - "src": "50072:15:1" + "src": "51490:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2708 + "functionReturnParameters": 2200 }, "children": [ { @@ -66349,33 +66349,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2709, + "id": 2201, "name": "Identifier", - "src": "50105:5:1" + "src": "51524:5:0" } ], - "id": 2710, + "id": 2202, "name": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ], - "id": 2711, + "id": 2203, "name": "Block", - "src": "50088:29:1" + "src": "51506:31:0" } ], - "id": 2712, + "id": 2204, "name": "FunctionDefinition", - "src": "50019:98:1" + "src": "51437:100:0" }, { "attributes": { "baseFunctions": [ - 671 + 163 ], "functionSelector": "95d89b41", "implemented": true, @@ -66385,7 +66385,7 @@ null ], "name": "symbol", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66395,9 +66395,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-symbol}." }, - "id": 2713, + "id": 2205, "name": "StructuredDocumentation", - "src": "50123:53:1" + "src": "51545:55:0" }, { "attributes": { @@ -66405,9 +66405,9 @@ null ] }, - "id": 2715, + "id": 2207, "name": "OverrideSpecifier", - "src": "50219:8:1" + "src": "51644:8:0" }, { "attributes": { @@ -66416,9 +66416,9 @@ ] }, "children": [], - "id": 2714, + "id": 2206, "name": "ParameterList", - "src": "50196:2:1" + "src": "51621:2:0" }, { "children": [ @@ -66427,7 +66427,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2722, + "scope": 2214, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66439,25 +66439,25 @@ "name": "string", "type": "string" }, - "id": 2716, + "id": 2208, "name": "ElementaryTypeName", - "src": "50237:6:1" + "src": "51662:6:0" } ], - "id": 2717, + "id": 2209, "name": "VariableDeclaration", - "src": "50237:13:1" + "src": "51662:13:0" } ], - "id": 2718, + "id": 2210, "name": "ParameterList", - "src": "50236:15:1" + "src": "51661:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2718 + "functionReturnParameters": 2210 }, "children": [ { @@ -66465,33 +66465,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2719, + "id": 2211, "name": "Identifier", - "src": "50269:7:1" + "src": "51695:7:0" } ], - "id": 2720, + "id": 2212, "name": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ], - "id": 2721, + "id": 2213, "name": "Block", - "src": "50252:31:1" + "src": "51677:33:0" } ], - "id": 2722, + "id": 2214, "name": "FunctionDefinition", - "src": "50181:102:1" + "src": "51606:104:0" }, { "attributes": { "baseFunctions": [ - 679 + 171 ], "functionSelector": "c87b56dd", "implemented": true, @@ -66501,7 +66501,7 @@ null ], "name": "tokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66511,9 +66511,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-tokenURI}." }, - "id": 2723, + "id": 2215, "name": "StructuredDocumentation", - "src": "50289:55:1" + "src": "51718:57:0" }, { "attributes": { @@ -66521,9 +66521,9 @@ null ] }, - "id": 2727, + "id": 2219, "name": "OverrideSpecifier", - "src": "50404:8:1" + "src": "51836:8:0" }, { "children": [ @@ -66532,7 +66532,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66544,19 +66544,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2724, + "id": 2216, "name": "ElementaryTypeName", - "src": "50367:7:1" + "src": "51799:7:0" } ], - "id": 2725, + "id": 2217, "name": "VariableDeclaration", - "src": "50367:15:1" + "src": "51799:15:0" } ], - "id": 2726, + "id": 2218, "name": "ParameterList", - "src": "50366:17:1" + "src": "51798:17:0" }, { "children": [ @@ -66565,7 +66565,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66577,19 +66577,19 @@ "name": "string", "type": "string" }, - "id": 2728, + "id": 2220, "name": "ElementaryTypeName", - "src": "50422:6:1" + "src": "51854:6:0" } ], - "id": 2729, + "id": 2221, "name": "VariableDeclaration", - "src": "50422:13:1" + "src": "51854:13:0" } ], - "id": 2730, + "id": 2222, "name": "ParameterList", - "src": "50421:15:1" + "src": "51853:15:0" }, { "children": [ @@ -66630,9 +66630,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2731, + "id": 2223, "name": "Identifier", - "src": "50447:7:1" + "src": "51880:7:0" }, { "attributes": { @@ -66660,31 +66660,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2732, + "id": 2224, "name": "Identifier", - "src": "50455:7:1" + "src": "51888:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2733, + "id": 2225, "name": "Identifier", - "src": "50463:7:1" + "src": "51896:7:0" } ], - "id": 2734, + "id": 2226, "name": "FunctionCall", - "src": "50455:16:1" + "src": "51888:16:0" }, { "attributes": { @@ -66697,24 +66697,24 @@ "type": "literal_string \"ERC721Metadata: URI query for nonexistent token\"", "value": "ERC721Metadata: URI query for nonexistent token" }, - "id": 2735, + "id": 2227, "name": "Literal", - "src": "50473:49:1" + "src": "51906:49:0" } ], - "id": 2736, + "id": 2228, "name": "FunctionCall", - "src": "50447:76:1" + "src": "51880:76:0" } ], - "id": 2737, + "id": 2229, "name": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "attributes": { "assignments": [ - 2739 + 2231 ] }, "children": [ @@ -66723,7 +66723,7 @@ "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66735,14 +66735,14 @@ "name": "string", "type": "string" }, - "id": 2738, + "id": 2230, "name": "ElementaryTypeName", - "src": "50534:6:1" + "src": "51969:6:0" } ], - "id": 2739, + "id": 2231, "name": "VariableDeclaration", - "src": "50534:23:1" + "src": "51969:23:0" }, { "attributes": { @@ -66758,41 +66758,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 2740, + "id": 2232, "name": "Identifier", - "src": "50560:10:1" + "src": "51995:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2741, + "id": 2233, "name": "Identifier", - "src": "50571:7:1" + "src": "52006:7:0" } ], - "id": 2742, + "id": 2234, "name": "IndexAccess", - "src": "50560:19:1" + "src": "51995:19:0" } ], - "id": 2743, + "id": 2235, "name": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "attributes": { "assignments": [ - 2745 + 2237 ] }, "children": [ @@ -66801,7 +66801,7 @@ "constant": false, "mutability": "mutable", "name": "base", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66813,14 +66813,14 @@ "name": "string", "type": "string" }, - "id": 2744, + "id": 2236, "name": "ElementaryTypeName", - "src": "50589:6:1" + "src": "52025:6:0" } ], - "id": 2745, + "id": 2237, "name": "VariableDeclaration", - "src": "50589:18:1" + "src": "52025:18:0" }, { "attributes": { @@ -66848,23 +66848,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2799, + "referencedDeclaration": 2291, "type": "function () view returns (string memory)", "value": "baseURI" }, - "id": 2746, + "id": 2238, "name": "Identifier", - "src": "50610:7:1" + "src": "52046:7:0" } ], - "id": 2747, + "id": 2239, "name": "FunctionCall", - "src": "50610:9:1" + "src": "52046:9:0" } ], - "id": 2748, + "id": 2240, "name": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "attributes": {}, @@ -66927,37 +66927,37 @@ "attributes": { "name": "bytes" }, - "id": 2749, + "id": 2241, "name": "ElementaryTypeName", - "src": "50692:5:1" + "src": "52131:5:0" } ], - "id": 2750, + "id": 2242, "name": "ElementaryTypeNameExpression", - "src": "50692:5:1" + "src": "52131:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2751, + "id": 2243, "name": "Identifier", - "src": "50698:4:1" + "src": "52137:4:0" } ], - "id": 2752, + "id": 2244, "name": "FunctionCall", - "src": "50692:11:1" + "src": "52131:11:0" } ], - "id": 2753, + "id": 2245, "name": "MemberAccess", - "src": "50692:18:1" + "src": "52131:18:0" }, { "attributes": { @@ -66970,20 +66970,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2754, + "id": 2246, "name": "Literal", - "src": "50714:1:1" + "src": "52153:1:0" } ], - "id": 2755, + "id": 2247, "name": "BinaryOperation", - "src": "50692:23:1" + "src": "52131:23:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -66991,28 +66991,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2756, + "id": 2248, "name": "Identifier", - "src": "50738:9:1" + "src": "52178:9:0" } ], - "id": 2757, + "id": 2249, "name": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ], - "id": 2758, + "id": 2250, "name": "Block", - "src": "50717:41:1" + "src": "52156:43:0" } ], - "id": 2759, + "id": 2251, "name": "IfStatement", - "src": "50688:70:1" + "src": "52127:72:0" }, { "attributes": {}, @@ -67075,37 +67075,37 @@ "attributes": { "name": "bytes" }, - "id": 2760, + "id": 2252, "name": "ElementaryTypeName", - "src": "50860:5:1" + "src": "52303:5:0" } ], - "id": 2761, + "id": 2253, "name": "ElementaryTypeNameExpression", - "src": "50860:5:1" + "src": "52303:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2762, + "id": 2254, "name": "Identifier", - "src": "50866:9:1" + "src": "52309:9:0" } ], - "id": 2763, + "id": 2255, "name": "FunctionCall", - "src": "50860:16:1" + "src": "52303:16:0" } ], - "id": 2764, + "id": 2256, "name": "MemberAccess", - "src": "50860:23:1" + "src": "52303:23:0" }, { "attributes": { @@ -67118,20 +67118,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2765, + "id": 2257, "name": "Literal", - "src": "50886:1:1" + "src": "52329:1:0" } ], - "id": 2766, + "id": 2258, "name": "BinaryOperation", - "src": "50860:27:1" + "src": "52303:27:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67168,14 +67168,14 @@ "attributes": { "name": "string" }, - "id": 2767, + "id": 2259, "name": "ElementaryTypeName", - "src": "50910:6:1" + "src": "52354:6:0" } ], - "id": 2768, + "id": 2260, "name": "ElementaryTypeNameExpression", - "src": "50910:6:1" + "src": "52354:6:0" }, { "attributes": { @@ -67221,69 +67221,69 @@ "type": "abi", "value": "abi" }, - "id": 2769, + "id": 2261, "name": "Identifier", - "src": "50917:3:1" + "src": "52361:3:0" } ], - "id": 2770, + "id": 2262, "name": "MemberAccess", - "src": "50917:16:1" + "src": "52361:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2771, + "id": 2263, "name": "Identifier", - "src": "50934:4:1" + "src": "52378:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2772, + "id": 2264, "name": "Identifier", - "src": "50940:9:1" + "src": "52384:9:0" } ], - "id": 2773, + "id": 2265, "name": "FunctionCall", - "src": "50917:33:1" + "src": "52361:33:0" } ], - "id": 2774, + "id": 2266, "name": "FunctionCall", - "src": "50910:41:1" + "src": "52354:41:0" } ], - "id": 2775, + "id": 2267, "name": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ], - "id": 2776, + "id": 2268, "name": "Block", - "src": "50889:73:1" + "src": "52332:75:0" } ], - "id": 2777, + "id": 2269, "name": "IfStatement", - "src": "50856:106:1" + "src": "52299:108:0" }, { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67320,14 +67320,14 @@ "attributes": { "name": "string" }, - "id": 2778, + "id": 2270, "name": "ElementaryTypeName", - "src": "51068:6:1" + "src": "52515:6:0" } ], - "id": 2779, + "id": 2271, "name": "ElementaryTypeNameExpression", - "src": "51068:6:1" + "src": "52515:6:0" }, { "attributes": { @@ -67373,27 +67373,27 @@ "type": "abi", "value": "abi" }, - "id": 2780, + "id": 2272, "name": "Identifier", - "src": "51075:3:1" + "src": "52522:3:0" } ], - "id": 2781, + "id": 2273, "name": "MemberAccess", - "src": "51075:16:1" + "src": "52522:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2782, + "id": 2274, "name": "Identifier", - "src": "51092:4:1" + "src": "52539:4:0" }, { "attributes": { @@ -67423,7 +67423,7 @@ "isPure": false, "lValueRequested": false, "member_name": "toString", - "referencedDeclaration": 2565, + "referencedDeclaration": 2057, "type": "function (uint256) pure returns (string memory)" }, "children": [ @@ -67432,48 +67432,48 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2783, + "id": 2275, "name": "Identifier", - "src": "51098:7:1" + "src": "52545:7:0" } ], - "id": 2784, + "id": 2276, "name": "MemberAccess", - "src": "51098:16:1" + "src": "52545:16:0" } ], - "id": 2785, + "id": 2277, "name": "FunctionCall", - "src": "51098:18:1" + "src": "52545:18:0" } ], - "id": 2786, + "id": 2278, "name": "FunctionCall", - "src": "51075:42:1" + "src": "52522:42:0" } ], - "id": 2787, + "id": 2279, "name": "FunctionCall", - "src": "51068:50:1" + "src": "52515:50:0" } ], - "id": 2788, + "id": 2280, "name": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ], - "id": 2789, + "id": 2281, "name": "Block", - "src": "50437:688:1" + "src": "51869:704:0" } ], - "id": 2790, + "id": 2282, "name": "FunctionDefinition", - "src": "50349:776:1" + "src": "51781:792:0" }, { "attributes": { @@ -67485,7 +67485,7 @@ null ], "name": "baseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67495,9 +67495,9 @@ "attributes": { "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, - "id": 2791, + "id": 2283, "name": "StructuredDocumentation", - "src": "51131:221:1" + "src": "52581:225:0" }, { "attributes": { @@ -67506,9 +67506,9 @@ ] }, "children": [], - "id": 2792, + "id": 2284, "name": "ParameterList", - "src": "51373:2:1" + "src": "52828:2:0" }, { "children": [ @@ -67517,7 +67517,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2799, + "scope": 2291, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -67529,25 +67529,25 @@ "name": "string", "type": "string" }, - "id": 2793, + "id": 2285, "name": "ElementaryTypeName", - "src": "51405:6:1" + "src": "52860:6:0" } ], - "id": 2794, + "id": 2286, "name": "VariableDeclaration", - "src": "51405:13:1" + "src": "52860:13:0" } ], - "id": 2795, + "id": 2287, "name": "ParameterList", - "src": "51404:15:1" + "src": "52859:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2795 + "functionReturnParameters": 2287 }, "children": [ { @@ -67555,33 +67555,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 2796, + "id": 2288, "name": "Identifier", - "src": "51437:8:1" + "src": "52893:8:0" } ], - "id": 2797, + "id": 2289, "name": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ], - "id": 2798, + "id": 2290, "name": "Block", - "src": "51420:32:1" + "src": "52875:34:0" } ], - "id": 2799, + "id": 2291, "name": "FunctionDefinition", - "src": "51357:95:1" + "src": "52812:97:0" }, { "attributes": { "baseFunctions": [ - 700 + 192 ], "functionSelector": "2f745c59", "implemented": true, @@ -67591,7 +67591,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67601,9 +67601,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, - "id": 2800, + "id": 2292, "name": "StructuredDocumentation", - "src": "51458:68:1" + "src": "52917:70:0" }, { "attributes": { @@ -67611,9 +67611,9 @@ null ] }, - "id": 2806, + "id": 2298, "name": "OverrideSpecifier", - "src": "51610:8:1" + "src": "53072:8:0" }, { "children": [ @@ -67622,7 +67622,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -67635,21 +67635,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2801, + "id": 2293, "name": "ElementaryTypeName", - "src": "51560:7:1" + "src": "53022:7:0" } ], - "id": 2802, + "id": 2294, "name": "VariableDeclaration", - "src": "51560:13:1" + "src": "53022:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67661,19 +67661,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2803, + "id": 2295, "name": "ElementaryTypeName", - "src": "51575:7:1" + "src": "53037:7:0" } ], - "id": 2804, + "id": 2296, "name": "VariableDeclaration", - "src": "51575:13:1" + "src": "53037:13:0" } ], - "id": 2805, + "id": 2297, "name": "ParameterList", - "src": "51559:30:1" + "src": "53021:30:0" }, { "children": [ @@ -67682,7 +67682,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67694,25 +67694,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2807, + "id": 2299, "name": "ElementaryTypeName", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2808, + "id": 2300, "name": "VariableDeclaration", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2809, + "id": 2301, "name": "ParameterList", - "src": "51627:9:1" + "src": "53089:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2809 + "functionReturnParameters": 2301 }, "children": [ { @@ -67743,7 +67743,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 1920, + "referencedDeclaration": 1412, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" }, "children": [ @@ -67761,74 +67761,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2810, + "id": 2302, "name": "Identifier", - "src": "51654:13:1" + "src": "53117:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2802, + "referencedDeclaration": 2294, "type": "address", "value": "owner" }, - "id": 2811, + "id": 2303, "name": "Identifier", - "src": "51668:5:1" + "src": "53131:5:0" } ], - "id": 2812, + "id": 2304, "name": "IndexAccess", - "src": "51654:20:1" + "src": "53117:20:0" } ], - "id": 2813, + "id": 2305, "name": "MemberAccess", - "src": "51654:23:1" + "src": "53117:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2804, + "referencedDeclaration": 2296, "type": "uint256", "value": "index" }, - "id": 2814, + "id": 2306, "name": "Identifier", - "src": "51678:5:1" + "src": "53141:5:0" } ], - "id": 2815, + "id": 2307, "name": "FunctionCall", - "src": "51654:30:1" + "src": "53117:30:0" } ], - "id": 2816, + "id": 2308, "name": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ], - "id": 2817, + "id": 2309, "name": "Block", - "src": "51637:54:1" + "src": "53099:56:0" } ], - "id": 2818, + "id": 2310, "name": "FunctionDefinition", - "src": "51531:160:1" + "src": "52993:162:0" }, { "attributes": { "baseFunctions": [ - 690 + 182 ], "functionSelector": "18160ddd", "implemented": true, @@ -67838,7 +67838,7 @@ null ], "name": "totalSupply", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67848,9 +67848,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-totalSupply}." }, - "id": 2819, + "id": 2311, "name": "StructuredDocumentation", - "src": "51697:60:1" + "src": "53163:62:0" }, { "attributes": { @@ -67858,9 +67858,9 @@ null ] }, - "id": 2821, + "id": 2313, "name": "OverrideSpecifier", - "src": "51805:8:1" + "src": "53274:8:0" }, { "attributes": { @@ -67869,9 +67869,9 @@ ] }, "children": [], - "id": 2820, + "id": 2312, "name": "ParameterList", - "src": "51782:2:1" + "src": "53251:2:0" }, { "children": [ @@ -67880,7 +67880,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2830, + "scope": 2322, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67892,25 +67892,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2822, + "id": 2314, "name": "ElementaryTypeName", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2823, + "id": 2315, "name": "VariableDeclaration", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2824, + "id": 2316, "name": "ParameterList", - "src": "51822:9:1" + "src": "53291:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2824 + "functionReturnParameters": 2316 }, "children": [ { @@ -67941,7 +67941,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 2340, + "referencedDeclaration": 1832, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" }, "children": [ @@ -67950,43 +67950,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2825, + "id": 2317, "name": "Identifier", - "src": "51942:12:1" + "src": "53413:12:0" } ], - "id": 2826, + "id": 2318, "name": "MemberAccess", - "src": "51942:19:1" + "src": "53413:19:0" } ], - "id": 2827, + "id": 2319, "name": "FunctionCall", - "src": "51942:21:1" + "src": "53413:21:0" } ], - "id": 2828, + "id": 2320, "name": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ], - "id": 2829, + "id": 2321, "name": "Block", - "src": "51832:138:1" + "src": "53301:141:0" } ], - "id": 2830, + "id": 2322, "name": "FunctionDefinition", - "src": "51762:208:1" + "src": "53231:211:0" }, { "attributes": { "baseFunctions": [ - 708 + 200 ], "functionSelector": "4f6ccce7", "implemented": true, @@ -67996,7 +67996,7 @@ null ], "name": "tokenByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -68006,9 +68006,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, - "id": 2831, + "id": 2323, "name": "StructuredDocumentation", - "src": "51976:61:1" + "src": "53450:63:0" }, { "attributes": { @@ -68016,9 +68016,9 @@ null ] }, - "id": 2835, + "id": 2327, "name": "OverrideSpecifier", - "src": "52099:8:1" + "src": "53576:8:0" }, { "children": [ @@ -68027,7 +68027,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68039,19 +68039,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2832, + "id": 2324, "name": "ElementaryTypeName", - "src": "52064:7:1" + "src": "53541:7:0" } ], - "id": 2833, + "id": 2325, "name": "VariableDeclaration", - "src": "52064:13:1" + "src": "53541:13:0" } ], - "id": 2834, + "id": 2326, "name": "ParameterList", - "src": "52063:15:1" + "src": "53540:15:0" }, { "children": [ @@ -68060,7 +68060,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68072,26 +68072,26 @@ "name": "uint256", "type": "uint256" }, - "id": 2836, + "id": 2328, "name": "ElementaryTypeName", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2837, + "id": 2329, "name": "VariableDeclaration", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2838, + "id": 2330, "name": "ParameterList", - "src": "52116:9:1" + "src": "53593:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2840, + 2332, null ] }, @@ -68101,7 +68101,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2848, + "scope": 2340, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68113,14 +68113,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2839, + "id": 2331, "name": "ElementaryTypeName", - "src": "52137:7:1" + "src": "53615:7:0" } ], - "id": 2840, + "id": 2332, "name": "VariableDeclaration", - "src": "52137:15:1" + "src": "53615:15:0" }, { "attributes": { @@ -68150,7 +68150,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 2379, + "referencedDeclaration": 1871, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" }, "children": [ @@ -68159,45 +68159,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2841, + "id": 2333, "name": "Identifier", - "src": "52158:12:1" + "src": "53636:12:0" } ], - "id": 2842, + "id": 2334, "name": "MemberAccess", - "src": "52158:15:1" + "src": "53636:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2833, + "referencedDeclaration": 2325, "type": "uint256", "value": "index" }, - "id": 2843, + "id": 2335, "name": "Identifier", - "src": "52174:5:1" + "src": "53652:5:0" } ], - "id": 2844, + "id": 2336, "name": "FunctionCall", - "src": "52158:22:1" + "src": "53636:22:0" } ], - "id": 2845, + "id": 2337, "name": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "attributes": { - "functionReturnParameters": 2838 + "functionReturnParameters": 2330 }, "children": [ { @@ -68205,33 +68205,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2840, + "referencedDeclaration": 2332, "type": "uint256", "value": "tokenId" }, - "id": 2846, + "id": 2338, "name": "Identifier", - "src": "52197:7:1" + "src": "53676:7:0" } ], - "id": 2847, + "id": 2339, "name": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ], - "id": 2848, + "id": 2340, "name": "Block", - "src": "52126:85:1" + "src": "53603:88:0" } ], - "id": 2849, + "id": 2341, "name": "FunctionDefinition", - "src": "52042:169:1" + "src": "53519:172:0" }, { "attributes": { "baseFunctions": [ - 616 + 108 ], "functionSelector": "095ea7b3", "implemented": true, @@ -68241,7 +68241,7 @@ null ], "name": "approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -68251,9 +68251,9 @@ "attributes": { "text": " @dev See {IERC721-approve}." }, - "id": 2850, + "id": 2342, "name": "StructuredDocumentation", - "src": "52217:46:1" + "src": "53699:48:0" }, { "attributes": { @@ -68261,9 +68261,9 @@ null ] }, - "id": 2856, + "id": 2348, "name": "OverrideSpecifier", - "src": "52329:8:1" + "src": "53814:8:0" }, { "children": [ @@ -68272,7 +68272,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68285,21 +68285,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2851, + "id": 2343, "name": "ElementaryTypeName", - "src": "52285:7:1" + "src": "53770:7:0" } ], - "id": 2852, + "id": 2344, "name": "VariableDeclaration", - "src": "52285:10:1" + "src": "53770:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68311,19 +68311,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2853, + "id": 2345, "name": "ElementaryTypeName", - "src": "52297:7:1" + "src": "53782:7:0" } ], - "id": 2854, + "id": 2346, "name": "VariableDeclaration", - "src": "52297:15:1" + "src": "53782:15:0" } ], - "id": 2855, + "id": 2347, "name": "ParameterList", - "src": "52284:29:1" + "src": "53769:29:0" }, { "attributes": { @@ -68332,16 +68332,16 @@ ] }, "children": [], - "id": 2857, + "id": 2349, "name": "ParameterList", - "src": "52338:0:1" + "src": "53823:0:0" }, { "children": [ { "attributes": { "assignments": [ - 2859 + 2351 ] }, "children": [ @@ -68350,7 +68350,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2892, + "scope": 2384, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68363,14 +68363,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2858, + "id": 2350, "name": "ElementaryTypeName", - "src": "52348:7:1" + "src": "53834:7:0" } ], - "id": 2859, + "id": 2351, "name": "VariableDeclaration", - "src": "52348:13:1" + "src": "53834:13:0" }, { "attributes": { @@ -68400,7 +68400,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -68409,41 +68409,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2860, + "id": 2352, "name": "Identifier", - "src": "52364:6:1" + "src": "53850:6:0" } ], - "id": 2861, + "id": 2353, "name": "MemberAccess", - "src": "52364:14:1" + "src": "53850:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2862, + "id": 2354, "name": "Identifier", - "src": "52379:7:1" + "src": "53865:7:0" } ], - "id": 2863, + "id": 2355, "name": "FunctionCall", - "src": "52364:23:1" + "src": "53850:23:0" } ], - "id": 2864, + "id": 2356, "name": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "children": [ @@ -68482,9 +68482,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2865, + "id": 2357, "name": "Identifier", - "src": "52397:7:1" + "src": "53884:7:0" }, { "attributes": { @@ -68505,31 +68505,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2866, + "id": 2358, "name": "Identifier", - "src": "52405:2:1" + "src": "53892:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2867, + "id": 2359, "name": "Identifier", - "src": "52411:5:1" + "src": "53898:5:0" } ], - "id": 2868, + "id": 2360, "name": "BinaryOperation", - "src": "52405:11:1" + "src": "53892:11:0" }, { "attributes": { @@ -68542,19 +68542,19 @@ "type": "literal_string \"ERC721: approval to current owner\"", "value": "ERC721: approval to current owner" }, - "id": 2869, + "id": 2361, "name": "Literal", - "src": "52418:35:1" + "src": "53905:35:0" } ], - "id": 2870, + "id": 2362, "name": "FunctionCall", - "src": "52397:57:1" + "src": "53884:57:0" } ], - "id": 2871, + "id": 2363, "name": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "children": [ @@ -68593,9 +68593,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2872, + "id": 2364, "name": "Identifier", - "src": "52465:7:1" + "src": "53954:7:0" }, { "attributes": { @@ -68651,36 +68651,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2873, + "id": 2365, "name": "Identifier", - "src": "52473:10:1" + "src": "53962:10:0" } ], - "id": 2874, + "id": 2366, "name": "FunctionCall", - "src": "52473:12:1" + "src": "53962:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2875, + "id": 2367, "name": "Identifier", - "src": "52489:5:1" + "src": "53978:5:0" } ], - "id": 2876, + "id": 2368, "name": "BinaryOperation", - "src": "52473:21:1" + "src": "53962:21:0" }, { "attributes": { @@ -68714,7 +68714,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -68723,31 +68723,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2877, + "id": 2369, "name": "Identifier", - "src": "52498:6:1" + "src": "53987:6:0" } ], - "id": 2878, + "id": 2370, "name": "MemberAccess", - "src": "52498:23:1" + "src": "53987:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2879, + "id": 2371, "name": "Identifier", - "src": "52522:5:1" + "src": "54011:5:0" }, { "attributes": { @@ -68775,28 +68775,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2880, + "id": 2372, "name": "Identifier", - "src": "52529:10:1" + "src": "54018:10:0" } ], - "id": 2881, + "id": 2373, "name": "FunctionCall", - "src": "52529:12:1" + "src": "54018:12:0" } ], - "id": 2882, + "id": 2374, "name": "FunctionCall", - "src": "52498:44:1" + "src": "53987:44:0" } ], - "id": 2883, + "id": 2375, "name": "BinaryOperation", - "src": "52473:69:1" + "src": "53962:69:0" }, { "attributes": { @@ -68809,19 +68809,19 @@ "type": "literal_string \"ERC721: approve caller is not owner nor approved for all\"", "value": "ERC721: approve caller is not owner nor approved for all" }, - "id": 2884, + "id": 2376, "name": "Literal", - "src": "52556:58:1" + "src": "54046:58:0" } ], - "id": 2885, + "id": 2377, "name": "FunctionCall", - "src": "52465:159:1" + "src": "53954:161:0" } ], - "id": 2886, + "id": 2378, "name": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "children": [ @@ -68855,64 +68855,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 2887, + "id": 2379, "name": "Identifier", - "src": "52635:8:1" + "src": "54128:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2888, + "id": 2380, "name": "Identifier", - "src": "52644:2:1" + "src": "54137:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2889, + "id": 2381, "name": "Identifier", - "src": "52648:7:1" + "src": "54141:7:0" } ], - "id": 2890, + "id": 2382, "name": "FunctionCall", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2891, + "id": 2383, "name": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2892, + "id": 2384, "name": "Block", - "src": "52338:325:1" + "src": "53823:334:0" } ], - "id": 2893, + "id": 2385, "name": "FunctionDefinition", - "src": "52268:395:1" + "src": "53753:404:0" }, { "attributes": { "baseFunctions": [ - 624 + 116 ], "functionSelector": "081812fc", "implemented": true, @@ -68922,7 +68922,7 @@ null ], "name": "getApproved", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -68932,9 +68932,9 @@ "attributes": { "text": " @dev See {IERC721-getApproved}." }, - "id": 2894, + "id": 2386, "name": "StructuredDocumentation", - "src": "52669:50:1" + "src": "54165:52:0" }, { "attributes": { @@ -68942,9 +68942,9 @@ null ] }, - "id": 2898, + "id": 2390, "name": "OverrideSpecifier", - "src": "52782:8:1" + "src": "54281:8:0" }, { "children": [ @@ -68953,7 +68953,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68965,19 +68965,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2895, + "id": 2387, "name": "ElementaryTypeName", - "src": "52745:7:1" + "src": "54244:7:0" } ], - "id": 2896, + "id": 2388, "name": "VariableDeclaration", - "src": "52745:15:1" + "src": "54244:15:0" } ], - "id": 2897, + "id": 2389, "name": "ParameterList", - "src": "52744:17:1" + "src": "54243:17:0" }, { "children": [ @@ -68986,7 +68986,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68999,19 +68999,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2899, + "id": 2391, "name": "ElementaryTypeName", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2900, + "id": 2392, "name": "VariableDeclaration", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2901, + "id": 2393, "name": "ParameterList", - "src": "52799:9:1" + "src": "54298:9:0" }, { "children": [ @@ -69052,9 +69052,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2902, + "id": 2394, "name": "Identifier", - "src": "52819:7:1" + "src": "54319:7:0" }, { "attributes": { @@ -69082,31 +69082,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2903, + "id": 2395, "name": "Identifier", - "src": "52827:7:1" + "src": "54327:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2904, + "id": 2396, "name": "Identifier", - "src": "52835:7:1" + "src": "54335:7:0" } ], - "id": 2905, + "id": 2397, "name": "FunctionCall", - "src": "52827:16:1" + "src": "54327:16:0" }, { "attributes": { @@ -69119,23 +69119,23 @@ "type": "literal_string \"ERC721: approved query for nonexistent token\"", "value": "ERC721: approved query for nonexistent token" }, - "id": 2906, + "id": 2398, "name": "Literal", - "src": "52845:46:1" + "src": "54345:46:0" } ], - "id": 2907, + "id": 2399, "name": "FunctionCall", - "src": "52819:73:1" + "src": "54319:73:0" } ], - "id": 2908, + "id": 2400, "name": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "attributes": { - "functionReturnParameters": 2901 + "functionReturnParameters": 2393 }, "children": [ { @@ -69152,51 +69152,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 2909, + "id": 2401, "name": "Identifier", - "src": "52910:15:1" + "src": "54412:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2910, + "id": 2402, "name": "Identifier", - "src": "52926:7:1" + "src": "54428:7:0" } ], - "id": 2911, + "id": 2403, "name": "IndexAccess", - "src": "52910:24:1" + "src": "54412:24:0" } ], - "id": 2912, + "id": 2404, "name": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ], - "id": 2913, + "id": 2405, "name": "Block", - "src": "52809:132:1" + "src": "54308:136:0" } ], - "id": 2914, + "id": 2406, "name": "FunctionDefinition", - "src": "52724:217:1" + "src": "54223:221:0" }, { "attributes": { "baseFunctions": [ - 632 + 124 ], "functionSelector": "a22cb465", "implemented": true, @@ -69206,7 +69206,7 @@ null ], "name": "setApprovalForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69216,9 +69216,9 @@ "attributes": { "text": " @dev See {IERC721-setApprovalForAll}." }, - "id": 2915, + "id": 2407, "name": "StructuredDocumentation", - "src": "52947:56:1" + "src": "54452:58:0" }, { "attributes": { @@ -69226,9 +69226,9 @@ null ] }, - "id": 2921, + "id": 2413, "name": "OverrideSpecifier", - "src": "53083:8:1" + "src": "54591:8:0" }, { "children": [ @@ -69237,7 +69237,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69250,21 +69250,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2916, + "id": 2408, "name": "ElementaryTypeName", - "src": "53035:7:1" + "src": "54543:7:0" } ], - "id": 2917, + "id": 2409, "name": "VariableDeclaration", - "src": "53035:16:1" + "src": "54543:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "approved", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69276,19 +69276,19 @@ "name": "bool", "type": "bool" }, - "id": 2918, + "id": 2410, "name": "ElementaryTypeName", - "src": "53053:4:1" + "src": "54561:4:0" } ], - "id": 2919, + "id": 2411, "name": "VariableDeclaration", - "src": "53053:13:1" + "src": "54561:13:0" } ], - "id": 2920, + "id": 2412, "name": "ParameterList", - "src": "53034:33:1" + "src": "54542:33:0" }, { "attributes": { @@ -69297,9 +69297,9 @@ ] }, "children": [], - "id": 2922, + "id": 2414, "name": "ParameterList", - "src": "53092:0:1" + "src": "54600:0:0" }, { "children": [ @@ -69340,9 +69340,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2923, + "id": 2415, "name": "Identifier", - "src": "53102:7:1" + "src": "54611:7:0" }, { "attributes": { @@ -69363,13 +69363,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2924, + "id": 2416, "name": "Identifier", - "src": "53110:8:1" + "src": "54619:8:0" }, { "attributes": { @@ -69397,23 +69397,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2925, + "id": 2417, "name": "Identifier", - "src": "53122:10:1" + "src": "54631:10:0" } ], - "id": 2926, + "id": 2418, "name": "FunctionCall", - "src": "53122:12:1" + "src": "54631:12:0" } ], - "id": 2927, + "id": 2419, "name": "BinaryOperation", - "src": "53110:24:1" + "src": "54619:24:0" }, { "attributes": { @@ -69426,19 +69426,19 @@ "type": "literal_string \"ERC721: approve to caller\"", "value": "ERC721: approve to caller" }, - "id": 2928, + "id": 2420, "name": "Literal", - "src": "53136:27:1" + "src": "54645:27:0" } ], - "id": 2929, + "id": 2421, "name": "FunctionCall", - "src": "53102:62:1" + "src": "54611:62:0" } ], - "id": 2930, + "id": 2422, "name": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "children": [ @@ -69475,13 +69475,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2931, + "id": 2423, "name": "Identifier", - "src": "53175:18:1" + "src": "54686:18:0" }, { "attributes": { @@ -69509,64 +69509,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2932, + "id": 2424, "name": "Identifier", - "src": "53194:10:1" + "src": "54705:10:0" } ], - "id": 2933, + "id": 2425, "name": "FunctionCall", - "src": "53194:12:1" + "src": "54705:12:0" } ], - "id": 2935, + "id": 2427, "name": "IndexAccess", - "src": "53175:32:1" + "src": "54686:32:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2934, + "id": 2426, "name": "Identifier", - "src": "53208:8:1" + "src": "54719:8:0" } ], - "id": 2936, + "id": 2428, "name": "IndexAccess", - "src": "53175:42:1" + "src": "54686:42:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2937, + "id": 2429, "name": "Identifier", - "src": "53220:8:1" + "src": "54731:8:0" } ], - "id": 2938, + "id": 2430, "name": "Assignment", - "src": "53175:53:1" + "src": "54686:53:0" } ], - "id": 2939, + "id": 2431, "name": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "children": [ @@ -69604,13 +69604,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 572, + "referencedDeclaration": 64, "type": "function (address,address,bool)", "value": "ApprovalForAll" }, - "id": 2940, + "id": 2432, "name": "Identifier", - "src": "53243:14:1" + "src": "54755:14:0" }, { "attributes": { @@ -69638,69 +69638,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2941, + "id": 2433, "name": "Identifier", - "src": "53258:10:1" + "src": "54770:10:0" } ], - "id": 2942, + "id": 2434, "name": "FunctionCall", - "src": "53258:12:1" + "src": "54770:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2943, + "id": 2435, "name": "Identifier", - "src": "53272:8:1" + "src": "54784:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2944, + "id": 2436, "name": "Identifier", - "src": "53282:8:1" + "src": "54794:8:0" } ], - "id": 2945, + "id": 2437, "name": "FunctionCall", - "src": "53243:48:1" + "src": "54755:48:0" } ], - "id": 2946, + "id": 2438, "name": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ], - "id": 2947, + "id": 2439, "name": "Block", - "src": "53092:206:1" + "src": "54600:211:0" } ], - "id": 2948, + "id": 2440, "name": "FunctionDefinition", - "src": "53008:290:1" + "src": "54516:295:0" }, { "attributes": { "baseFunctions": [ - 642 + 134 ], "functionSelector": "e985e9c5", "implemented": true, @@ -69710,7 +69710,7 @@ null ], "name": "isApprovedForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -69720,9 +69720,9 @@ "attributes": { "text": " @dev See {IERC721-isApprovedForAll}." }, - "id": 2949, + "id": 2441, "name": "StructuredDocumentation", - "src": "53304:55:1" + "src": "54819:57:0" }, { "attributes": { @@ -69730,9 +69730,9 @@ null ] }, - "id": 2955, + "id": 2447, "name": "OverrideSpecifier", - "src": "53443:8:1" + "src": "54961:8:0" }, { "children": [ @@ -69741,7 +69741,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69754,21 +69754,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2950, + "id": 2442, "name": "ElementaryTypeName", - "src": "53390:7:1" + "src": "54908:7:0" } ], - "id": 2951, + "id": 2443, "name": "VariableDeclaration", - "src": "53390:13:1" + "src": "54908:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69781,19 +69781,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2952, + "id": 2444, "name": "ElementaryTypeName", - "src": "53405:7:1" + "src": "54923:7:0" } ], - "id": 2953, + "id": 2445, "name": "VariableDeclaration", - "src": "53405:16:1" + "src": "54923:16:0" } ], - "id": 2954, + "id": 2446, "name": "ParameterList", - "src": "53389:33:1" + "src": "54907:33:0" }, { "children": [ @@ -69802,7 +69802,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69814,25 +69814,25 @@ "name": "bool", "type": "bool" }, - "id": 2956, + "id": 2448, "name": "ElementaryTypeName", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2957, + "id": 2449, "name": "VariableDeclaration", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2958, + "id": 2450, "name": "ParameterList", - "src": "53460:6:1" + "src": "54978:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2958 + "functionReturnParameters": 2450 }, "children": [ { @@ -69858,69 +69858,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2959, + "id": 2451, "name": "Identifier", - "src": "53484:18:1" + "src": "55003:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2951, + "referencedDeclaration": 2443, "type": "address", "value": "owner" }, - "id": 2960, + "id": 2452, "name": "Identifier", - "src": "53503:5:1" + "src": "55022:5:0" } ], - "id": 2961, + "id": 2453, "name": "IndexAccess", - "src": "53484:25:1" + "src": "55003:25:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2953, + "referencedDeclaration": 2445, "type": "address", "value": "operator" }, - "id": 2962, + "id": 2454, "name": "Identifier", - "src": "53510:8:1" + "src": "55029:8:0" } ], - "id": 2963, + "id": 2455, "name": "IndexAccess", - "src": "53484:35:1" + "src": "55003:35:0" } ], - "id": 2964, + "id": 2456, "name": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ], - "id": 2965, + "id": 2457, "name": "Block", - "src": "53467:59:1" + "src": "54985:61:0" } ], - "id": 2966, + "id": 2458, "name": "FunctionDefinition", - "src": "53364:162:1" + "src": "54882:164:0" }, { "attributes": { "baseFunctions": [ - 608 + 100 ], "functionSelector": "23b872dd", "implemented": true, @@ -69930,7 +69930,7 @@ null ], "name": "transferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69940,9 +69940,9 @@ "attributes": { "text": " @dev See {IERC721-transferFrom}." }, - "id": 2967, + "id": 2459, "name": "StructuredDocumentation", - "src": "53532:51:1" + "src": "55054:53:0" }, { "attributes": { @@ -69950,9 +69950,9 @@ null ] }, - "id": 2975, + "id": 2467, "name": "OverrideSpecifier", - "src": "53668:8:1" + "src": "55193:8:0" }, { "children": [ @@ -69961,7 +69961,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69974,21 +69974,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2968, + "id": 2460, "name": "ElementaryTypeName", - "src": "53610:7:1" + "src": "55135:7:0" } ], - "id": 2969, + "id": 2461, "name": "VariableDeclaration", - "src": "53610:12:1" + "src": "55135:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70001,21 +70001,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2970, + "id": 2462, "name": "ElementaryTypeName", - "src": "53624:7:1" + "src": "55149:7:0" } ], - "id": 2971, + "id": 2463, "name": "VariableDeclaration", - "src": "53624:10:1" + "src": "55149:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70027,19 +70027,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2972, + "id": 2464, "name": "ElementaryTypeName", - "src": "53636:7:1" + "src": "55161:7:0" } ], - "id": 2973, + "id": 2465, "name": "VariableDeclaration", - "src": "53636:15:1" + "src": "55161:15:0" } ], - "id": 2974, + "id": 2466, "name": "ParameterList", - "src": "53609:43:1" + "src": "55134:43:0" }, { "attributes": { @@ -70048,9 +70048,9 @@ ] }, "children": [], - "id": 2976, + "id": 2468, "name": "ParameterList", - "src": "53677:0:1" + "src": "55202:0:0" }, { "children": [ @@ -70091,9 +70091,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2977, + "id": 2469, "name": "Identifier", - "src": "53739:7:1" + "src": "55266:7:0" }, { "attributes": { @@ -70125,13 +70125,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 2978, + "id": 2470, "name": "Identifier", - "src": "53747:18:1" + "src": "55274:18:0" }, { "attributes": { @@ -70159,36 +70159,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2979, + "id": 2471, "name": "Identifier", - "src": "53766:10:1" + "src": "55293:10:0" } ], - "id": 2980, + "id": 2472, "name": "FunctionCall", - "src": "53766:12:1" + "src": "55293:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2981, + "id": 2473, "name": "Identifier", - "src": "53780:7:1" + "src": "55307:7:0" } ], - "id": 2982, + "id": 2474, "name": "FunctionCall", - "src": "53747:41:1" + "src": "55274:41:0" }, { "attributes": { @@ -70201,19 +70201,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 2983, + "id": 2475, "name": "Literal", - "src": "53790:51:1" + "src": "55317:51:0" } ], - "id": 2984, + "id": 2476, "name": "FunctionCall", - "src": "53739:103:1" + "src": "55266:103:0" } ], - "id": 2985, + "id": 2477, "name": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "children": [ @@ -70251,77 +70251,77 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 2986, + "id": 2478, "name": "Identifier", - "src": "53853:9:1" + "src": "55382:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2969, + "referencedDeclaration": 2461, "type": "address", "value": "from" }, - "id": 2987, + "id": 2479, "name": "Identifier", - "src": "53863:4:1" + "src": "55392:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2971, + "referencedDeclaration": 2463, "type": "address", "value": "to" }, - "id": 2988, + "id": 2480, "name": "Identifier", - "src": "53869:2:1" + "src": "55398:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2989, + "id": 2481, "name": "Identifier", - "src": "53873:7:1" + "src": "55402:7:0" } ], - "id": 2990, + "id": 2482, "name": "FunctionCall", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2991, + "id": 2483, "name": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2992, + "id": 2484, "name": "Block", - "src": "53677:211:1" + "src": "55202:216:0" } ], - "id": 2993, + "id": 2485, "name": "FunctionDefinition", - "src": "53588:300:1" + "src": "55113:305:0" }, { "attributes": { "baseFunctions": [ - 598 + 90 ], "functionSelector": "42842e0e", "implemented": true, @@ -70331,7 +70331,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70341,9 +70341,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 2994, + "id": 2486, "name": "StructuredDocumentation", - "src": "53894:55:1" + "src": "55426:57:0" }, { "attributes": { @@ -70351,9 +70351,9 @@ null ] }, - "id": 3002, + "id": 2494, "name": "OverrideSpecifier", - "src": "54038:8:1" + "src": "55573:8:0" }, { "children": [ @@ -70362,7 +70362,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70375,21 +70375,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2995, + "id": 2487, "name": "ElementaryTypeName", - "src": "53980:7:1" + "src": "55515:7:0" } ], - "id": 2996, + "id": 2488, "name": "VariableDeclaration", - "src": "53980:12:1" + "src": "55515:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70402,21 +70402,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2997, + "id": 2489, "name": "ElementaryTypeName", - "src": "53994:7:1" + "src": "55529:7:0" } ], - "id": 2998, + "id": 2490, "name": "VariableDeclaration", - "src": "53994:10:1" + "src": "55529:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70428,19 +70428,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2999, + "id": 2491, "name": "ElementaryTypeName", - "src": "54006:7:1" + "src": "55541:7:0" } ], - "id": 3000, + "id": 2492, "name": "VariableDeclaration", - "src": "54006:15:1" + "src": "55541:15:0" } ], - "id": 3001, + "id": 2493, "name": "ParameterList", - "src": "53979:43:1" + "src": "55514:43:0" }, { "attributes": { @@ -70449,9 +70449,9 @@ ] }, "children": [], - "id": 3003, + "id": 2495, "name": "ParameterList", - "src": "54047:0:1" + "src": "55582:0:0" }, { "children": [ @@ -70493,55 +70493,55 @@ } ], "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, + "referencedDeclaration": 2534, "type": "function (address,address,uint256,bytes memory)", "value": "safeTransferFrom" }, - "id": 3004, + "id": 2496, "name": "Identifier", - "src": "54057:16:1" + "src": "55593:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2996, + "referencedDeclaration": 2488, "type": "address", "value": "from" }, - "id": 3005, + "id": 2497, "name": "Identifier", - "src": "54074:4:1" + "src": "55610:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2998, + "referencedDeclaration": 2490, "type": "address", "value": "to" }, - "id": 3006, + "id": 2498, "name": "Identifier", - "src": "54080:2:1" + "src": "55616:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3000, + "referencedDeclaration": 2492, "type": "uint256", "value": "tokenId" }, - "id": 3007, + "id": 2499, "name": "Identifier", - "src": "54084:7:1" + "src": "55620:7:0" }, { "attributes": { @@ -70554,34 +70554,34 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3008, + "id": 2500, "name": "Literal", - "src": "54093:2:1" + "src": "55629:2:0" } ], - "id": 3009, + "id": 2501, "name": "FunctionCall", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3010, + "id": 2502, "name": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3011, + "id": 2503, "name": "Block", - "src": "54047:56:1" + "src": "55582:58:0" } ], - "id": 3012, + "id": 2504, "name": "FunctionDefinition", - "src": "53954:149:1" + "src": "55489:151:0" }, { "attributes": { "baseFunctions": [ - 654 + 146 ], "functionSelector": "b88d4fde", "implemented": true, @@ -70591,7 +70591,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70601,9 +70601,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 3013, + "id": 2505, "name": "StructuredDocumentation", - "src": "54109:55:1" + "src": "55648:57:0" }, { "attributes": { @@ -70611,9 +70611,9 @@ null ] }, - "id": 3023, + "id": 2515, "name": "OverrideSpecifier", - "src": "54273:8:1" + "src": "55815:8:0" }, { "children": [ @@ -70622,7 +70622,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70635,21 +70635,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3014, + "id": 2506, "name": "ElementaryTypeName", - "src": "54195:7:1" + "src": "55737:7:0" } ], - "id": 3015, + "id": 2507, "name": "VariableDeclaration", - "src": "54195:12:1" + "src": "55737:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70662,21 +70662,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3016, + "id": 2508, "name": "ElementaryTypeName", - "src": "54209:7:1" + "src": "55751:7:0" } ], - "id": 3017, + "id": 2509, "name": "VariableDeclaration", - "src": "54209:10:1" + "src": "55751:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70688,21 +70688,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3018, + "id": 2510, "name": "ElementaryTypeName", - "src": "54221:7:1" + "src": "55763:7:0" } ], - "id": 3019, + "id": 2511, "name": "VariableDeclaration", - "src": "54221:15:1" + "src": "55763:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -70714,19 +70714,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3020, + "id": 2512, "name": "ElementaryTypeName", - "src": "54238:5:1" + "src": "55780:5:0" } ], - "id": 3021, + "id": 2513, "name": "VariableDeclaration", - "src": "54238:18:1" + "src": "55780:18:0" } ], - "id": 3022, + "id": 2514, "name": "ParameterList", - "src": "54194:63:1" + "src": "55736:63:0" }, { "attributes": { @@ -70735,9 +70735,9 @@ ] }, "children": [], - "id": 3024, + "id": 2516, "name": "ParameterList", - "src": "54282:0:1" + "src": "55824:0:0" }, { "children": [ @@ -70778,9 +70778,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3025, + "id": 2517, "name": "Identifier", - "src": "54292:7:1" + "src": "55835:7:0" }, { "attributes": { @@ -70812,13 +70812,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 3026, + "id": 2518, "name": "Identifier", - "src": "54300:18:1" + "src": "55843:18:0" }, { "attributes": { @@ -70846,36 +70846,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3027, + "id": 2519, "name": "Identifier", - "src": "54319:10:1" + "src": "55862:10:0" } ], - "id": 3028, + "id": 2520, "name": "FunctionCall", - "src": "54319:12:1" + "src": "55862:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3029, + "id": 2521, "name": "Identifier", - "src": "54333:7:1" + "src": "55876:7:0" } ], - "id": 3030, + "id": 2522, "name": "FunctionCall", - "src": "54300:41:1" + "src": "55843:41:0" }, { "attributes": { @@ -70888,19 +70888,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 3031, + "id": 2523, "name": "Literal", - "src": "54343:51:1" + "src": "55886:51:0" } ], - "id": 3032, + "id": 2524, "name": "FunctionCall", - "src": "54292:103:1" + "src": "55835:103:0" } ], - "id": 3033, + "id": 2525, "name": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "children": [ @@ -70942,85 +70942,85 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3071, + "referencedDeclaration": 2563, "type": "function (address,address,uint256,bytes memory)", "value": "_safeTransfer" }, - "id": 3034, + "id": 2526, "name": "Identifier", - "src": "54405:13:1" + "src": "55949:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3015, + "referencedDeclaration": 2507, "type": "address", "value": "from" }, - "id": 3035, + "id": 2527, "name": "Identifier", - "src": "54419:4:1" + "src": "55963:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3017, + "referencedDeclaration": 2509, "type": "address", "value": "to" }, - "id": 3036, + "id": 2528, "name": "Identifier", - "src": "54425:2:1" + "src": "55969:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3037, + "id": 2529, "name": "Identifier", - "src": "54429:7:1" + "src": "55973:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3021, + "referencedDeclaration": 2513, "type": "bytes memory", "value": "_data" }, - "id": 3038, + "id": 2530, "name": "Identifier", - "src": "54438:5:1" + "src": "55982:5:0" } ], - "id": 3039, + "id": 2531, "name": "FunctionCall", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3040, + "id": 2532, "name": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3041, + "id": 2533, "name": "Block", - "src": "54282:169:1" + "src": "55824:172:0" } ], - "id": 3042, + "id": 2534, "name": "FunctionDefinition", - "src": "54169:282:1" + "src": "55711:285:0" }, { "attributes": { @@ -71031,7 +71031,7 @@ null ], "name": "_safeTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -71041,9 +71041,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3043, + "id": 2535, "name": "StructuredDocumentation", - "src": "54457:851:1" + "src": "56004:868:0" }, { "children": [ @@ -71052,7 +71052,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71065,21 +71065,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3044, + "id": 2536, "name": "ElementaryTypeName", - "src": "55336:7:1" + "src": "56901:7:0" } ], - "id": 3045, + "id": 2537, "name": "VariableDeclaration", - "src": "55336:12:1" + "src": "56901:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71092,21 +71092,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3046, + "id": 2538, "name": "ElementaryTypeName", - "src": "55350:7:1" + "src": "56915:7:0" } ], - "id": 3047, + "id": 2539, "name": "VariableDeclaration", - "src": "55350:10:1" + "src": "56915:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71118,21 +71118,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3048, + "id": 2540, "name": "ElementaryTypeName", - "src": "55362:7:1" + "src": "56927:7:0" } ], - "id": 3049, + "id": 2541, "name": "VariableDeclaration", - "src": "55362:15:1" + "src": "56927:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -71144,19 +71144,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3050, + "id": 2542, "name": "ElementaryTypeName", - "src": "55379:5:1" + "src": "56944:5:0" } ], - "id": 3051, + "id": 2543, "name": "VariableDeclaration", - "src": "55379:18:1" + "src": "56944:18:0" } ], - "id": 3052, + "id": 2544, "name": "ParameterList", - "src": "55335:63:1" + "src": "56900:63:0" }, { "attributes": { @@ -71165,9 +71165,9 @@ ] }, "children": [], - "id": 3053, + "id": 2545, "name": "ParameterList", - "src": "55416:0:1" + "src": "56981:0:0" }, { "children": [ @@ -71207,62 +71207,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 3054, + "id": 2546, "name": "Identifier", - "src": "55426:9:1" + "src": "56992:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3055, + "id": 2547, "name": "Identifier", - "src": "55436:4:1" + "src": "57002:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3056, + "id": 2548, "name": "Identifier", - "src": "55442:2:1" + "src": "57008:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3057, + "id": 2549, "name": "Identifier", - "src": "55446:7:1" + "src": "57012:7:0" } ], - "id": 3058, + "id": 2550, "name": "FunctionCall", - "src": "55426:28:1" + "src": "56992:28:0" } ], - "id": 3059, + "id": 2551, "name": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "children": [ @@ -71301,9 +71301,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3060, + "id": 2552, "name": "Identifier", - "src": "55464:7:1" + "src": "57031:7:0" }, { "attributes": { @@ -71343,70 +71343,70 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3061, + "id": 2553, "name": "Identifier", - "src": "55472:22:1" + "src": "57039:22:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3062, + "id": 2554, "name": "Identifier", - "src": "55495:4:1" + "src": "57062:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3063, + "id": 2555, "name": "Identifier", - "src": "55501:2:1" + "src": "57068:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3064, + "id": 2556, "name": "Identifier", - "src": "55505:7:1" + "src": "57072:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3051, + "referencedDeclaration": 2543, "type": "bytes memory", "value": "_data" }, - "id": 3065, + "id": 2557, "name": "Identifier", - "src": "55514:5:1" + "src": "57081:5:0" } ], - "id": 3066, + "id": 2558, "name": "FunctionCall", - "src": "55472:48:1" + "src": "57039:48:0" }, { "attributes": { @@ -71419,29 +71419,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3067, + "id": 2559, "name": "Literal", - "src": "55522:52:1" + "src": "57089:52:0" } ], - "id": 3068, + "id": 2560, "name": "FunctionCall", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3069, + "id": 2561, "name": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3070, + "id": 2562, "name": "Block", - "src": "55416:166:1" + "src": "56981:169:0" } ], - "id": 3071, + "id": 2563, "name": "FunctionDefinition", - "src": "55313:269:1" + "src": "56878:272:0" }, { "attributes": { @@ -71452,7 +71452,7 @@ null ], "name": "_exists", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71462,9 +71462,9 @@ "attributes": { "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3072, + "id": 2564, "name": "StructuredDocumentation", - "src": "55588:292:1" + "src": "57158:299:0" }, { "children": [ @@ -71473,7 +71473,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71485,19 +71485,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3073, + "id": 2565, "name": "ElementaryTypeName", - "src": "55902:7:1" + "src": "57480:7:0" } ], - "id": 3074, + "id": 2566, "name": "VariableDeclaration", - "src": "55902:15:1" + "src": "57480:15:0" } ], - "id": 3075, + "id": 2567, "name": "ParameterList", - "src": "55901:17:1" + "src": "57479:17:0" }, { "children": [ @@ -71506,7 +71506,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71518,25 +71518,25 @@ "name": "bool", "type": "bool" }, - "id": 3076, + "id": 2568, "name": "ElementaryTypeName", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3077, + "id": 2569, "name": "VariableDeclaration", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3078, + "id": 2570, "name": "ParameterList", - "src": "55949:6:1" + "src": "57527:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3078 + "functionReturnParameters": 2570 }, "children": [ { @@ -71567,7 +71567,7 @@ "isPure": false, "lValueRequested": false, "member_name": "contains", - "referencedDeclaration": 2326, + "referencedDeclaration": 1818, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" }, "children": [ @@ -71576,51 +71576,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3079, + "id": 2571, "name": "Identifier", - "src": "55973:12:1" + "src": "57552:12:0" } ], - "id": 3080, + "id": 2572, "name": "MemberAccess", - "src": "55973:21:1" + "src": "57552:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3074, + "referencedDeclaration": 2566, "type": "uint256", "value": "tokenId" }, - "id": 3081, + "id": 2573, "name": "Identifier", - "src": "55995:7:1" + "src": "57574:7:0" } ], - "id": 3082, + "id": 2574, "name": "FunctionCall", - "src": "55973:30:1" + "src": "57552:30:0" } ], - "id": 3083, + "id": 2575, "name": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ], - "id": 3084, + "id": 2576, "name": "Block", - "src": "55956:54:1" + "src": "57534:56:0" } ], - "id": 3085, + "id": 2577, "name": "FunctionDefinition", - "src": "55885:125:1" + "src": "57463:127:0" }, { "attributes": { @@ -71631,7 +71631,7 @@ null ], "name": "_isApprovedOrOwner", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71641,9 +71641,9 @@ "attributes": { "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3086, + "id": 2578, "name": "StructuredDocumentation", - "src": "56016:147:1" + "src": "57598:153:0" }, { "children": [ @@ -71652,7 +71652,7 @@ "constant": false, "mutability": "mutable", "name": "spender", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71665,21 +71665,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3087, + "id": 2579, "name": "ElementaryTypeName", - "src": "56196:7:1" + "src": "57785:7:0" } ], - "id": 3088, + "id": 2580, "name": "VariableDeclaration", - "src": "56196:15:1" + "src": "57785:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71691,19 +71691,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3089, + "id": 2581, "name": "ElementaryTypeName", - "src": "56213:7:1" + "src": "57802:7:0" } ], - "id": 3090, + "id": 2582, "name": "VariableDeclaration", - "src": "56213:15:1" + "src": "57802:15:0" } ], - "id": 3091, + "id": 2583, "name": "ParameterList", - "src": "56195:34:1" + "src": "57784:34:0" }, { "children": [ @@ -71712,7 +71712,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71724,19 +71724,19 @@ "name": "bool", "type": "bool" }, - "id": 3092, + "id": 2584, "name": "ElementaryTypeName", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3093, + "id": 2585, "name": "VariableDeclaration", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3094, + "id": 2586, "name": "ParameterList", - "src": "56260:6:1" + "src": "57849:6:0" }, { "children": [ @@ -71777,9 +71777,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3095, + "id": 2587, "name": "Identifier", - "src": "56277:7:1" + "src": "57867:7:0" }, { "attributes": { @@ -71807,31 +71807,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3096, + "id": 2588, "name": "Identifier", - "src": "56285:7:1" + "src": "57875:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3097, + "id": 2589, "name": "Identifier", - "src": "56293:7:1" + "src": "57883:7:0" } ], - "id": 3098, + "id": 2590, "name": "FunctionCall", - "src": "56285:16:1" + "src": "57875:16:0" }, { "attributes": { @@ -71844,24 +71844,24 @@ "type": "literal_string \"ERC721: operator query for nonexistent token\"", "value": "ERC721: operator query for nonexistent token" }, - "id": 3099, + "id": 2591, "name": "Literal", - "src": "56303:46:1" + "src": "57893:46:0" } ], - "id": 3100, + "id": 2592, "name": "FunctionCall", - "src": "56277:73:1" + "src": "57867:73:0" } ], - "id": 3101, + "id": 2593, "name": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "attributes": { "assignments": [ - 3103 + 2595 ] }, "children": [ @@ -71870,7 +71870,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3126, + "scope": 2618, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71883,14 +71883,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3102, + "id": 2594, "name": "ElementaryTypeName", - "src": "56360:7:1" + "src": "57951:7:0" } ], - "id": 3103, + "id": 2595, "name": "VariableDeclaration", - "src": "56360:13:1" + "src": "57951:13:0" }, { "attributes": { @@ -71920,7 +71920,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -71929,45 +71929,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3104, + "id": 2596, "name": "Identifier", - "src": "56376:6:1" + "src": "57967:6:0" } ], - "id": 3105, + "id": 2597, "name": "MemberAccess", - "src": "56376:14:1" + "src": "57967:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3106, + "id": 2598, "name": "Identifier", - "src": "56391:7:1" + "src": "57982:7:0" } ], - "id": 3107, + "id": 2599, "name": "FunctionCall", - "src": "56376:23:1" + "src": "57967:23:0" } ], - "id": 3108, + "id": 2600, "name": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "attributes": { - "functionReturnParameters": 3094 + "functionReturnParameters": 2586 }, "children": [ { @@ -72027,31 +72027,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3109, + "id": 2601, "name": "Identifier", - "src": "56417:7:1" + "src": "58009:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3110, + "id": 2602, "name": "Identifier", - "src": "56428:5:1" + "src": "58020:5:0" } ], - "id": 3111, + "id": 2603, "name": "BinaryOperation", - "src": "56417:16:1" + "src": "58009:16:0" }, { "attributes": { @@ -72093,54 +72093,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2914, + "referencedDeclaration": 2406, "type": "function (uint256) view returns (address)", "value": "getApproved" }, - "id": 3112, + "id": 2604, "name": "Identifier", - "src": "56437:11:1" + "src": "58029:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3113, + "id": 2605, "name": "Identifier", - "src": "56449:7:1" + "src": "58041:7:0" } ], - "id": 3114, + "id": 2606, "name": "FunctionCall", - "src": "56437:20:1" + "src": "58029:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3115, + "id": 2607, "name": "Identifier", - "src": "56461:7:1" + "src": "58053:7:0" } ], - "id": 3116, + "id": 2608, "name": "BinaryOperation", - "src": "56437:31:1" + "src": "58029:31:0" } ], - "id": 3117, + "id": 2609, "name": "BinaryOperation", - "src": "56417:51:1" + "src": "58009:51:0" }, { "attributes": { @@ -72174,7 +72174,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -72183,74 +72183,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3118, + "id": 2610, "name": "Identifier", - "src": "56472:6:1" + "src": "58064:6:0" } ], - "id": 3119, + "id": 2611, "name": "MemberAccess", - "src": "56472:23:1" + "src": "58064:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3120, + "id": 2612, "name": "Identifier", - "src": "56496:5:1" + "src": "58088:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3121, + "id": 2613, "name": "Identifier", - "src": "56503:7:1" + "src": "58095:7:0" } ], - "id": 3122, + "id": 2614, "name": "FunctionCall", - "src": "56472:39:1" + "src": "58064:39:0" } ], - "id": 3123, + "id": 2615, "name": "BinaryOperation", - "src": "56417:94:1" + "src": "58009:94:0" } ], - "id": 3124, + "id": 2616, "name": "TupleExpression", - "src": "56416:96:1" + "src": "58008:96:0" } ], - "id": 3125, + "id": 2617, "name": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ], - "id": 3126, + "id": 2618, "name": "Block", - "src": "56267:252:1" + "src": "57856:256:0" } ], - "id": 3127, + "id": 2619, "name": "FunctionDefinition", - "src": "56168:351:1" + "src": "57757:355:0" }, { "attributes": { @@ -72261,7 +72261,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72271,9 +72271,9 @@ "attributes": { "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3128, + "id": 2620, "name": "StructuredDocumentation", - "src": "56525:320:1" + "src": "58120:329:0" }, { "children": [ @@ -72282,7 +72282,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72295,21 +72295,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3129, + "id": 2621, "name": "ElementaryTypeName", - "src": "56869:7:1" + "src": "58474:7:0" } ], - "id": 3130, + "id": 2622, "name": "VariableDeclaration", - "src": "56869:10:1" + "src": "58474:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72321,19 +72321,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3131, + "id": 2623, "name": "ElementaryTypeName", - "src": "56881:7:1" + "src": "58486:7:0" } ], - "id": 3132, + "id": 2624, "name": "VariableDeclaration", - "src": "56881:15:1" + "src": "58486:15:0" } ], - "id": 3133, + "id": 2625, "name": "ParameterList", - "src": "56868:29:1" + "src": "58473:29:0" }, { "attributes": { @@ -72342,9 +72342,9 @@ ] }, "children": [], - "id": 3134, + "id": 2626, "name": "ParameterList", - "src": "56915:0:1" + "src": "58520:0:0" }, { "children": [ @@ -72382,42 +72382,42 @@ } ], "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, + "referencedDeclaration": 2663, "type": "function (address,uint256,bytes memory)", "value": "_safeMint" }, - "id": 3135, + "id": 2627, "name": "Identifier", - "src": "56925:9:1" + "src": "58531:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3130, + "referencedDeclaration": 2622, "type": "address", "value": "to" }, - "id": 3136, + "id": 2628, "name": "Identifier", - "src": "56935:2:1" + "src": "58541:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3132, + "referencedDeclaration": 2624, "type": "uint256", "value": "tokenId" }, - "id": 3137, + "id": 2629, "name": "Identifier", - "src": "56939:7:1" + "src": "58545:7:0" }, { "attributes": { @@ -72430,29 +72430,29 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3138, + "id": 2630, "name": "Literal", - "src": "56948:2:1" + "src": "58554:2:0" } ], - "id": 3139, + "id": 2631, "name": "FunctionCall", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3140, + "id": 2632, "name": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3141, + "id": 2633, "name": "Block", - "src": "56915:43:1" + "src": "58520:45:0" } ], - "id": 3142, + "id": 2634, "name": "FunctionDefinition", - "src": "56850:108:1" + "src": "58455:110:0" }, { "attributes": { @@ -72463,7 +72463,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72473,9 +72473,9 @@ "attributes": { "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3143, + "id": 2635, "name": "StructuredDocumentation", - "src": "56964:210:1" + "src": "58573:213:0" }, { "children": [ @@ -72484,7 +72484,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72497,21 +72497,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3144, + "id": 2636, "name": "ElementaryTypeName", - "src": "57198:7:1" + "src": "58811:7:0" } ], - "id": 3145, + "id": 2637, "name": "VariableDeclaration", - "src": "57198:10:1" + "src": "58811:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72523,21 +72523,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3146, + "id": 2638, "name": "ElementaryTypeName", - "src": "57210:7:1" + "src": "58823:7:0" } ], - "id": 3147, + "id": 2639, "name": "VariableDeclaration", - "src": "57210:15:1" + "src": "58823:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -72549,19 +72549,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3148, + "id": 2640, "name": "ElementaryTypeName", - "src": "57227:5:1" + "src": "58840:5:0" } ], - "id": 3149, + "id": 2641, "name": "VariableDeclaration", - "src": "57227:18:1" + "src": "58840:18:0" } ], - "id": 3150, + "id": 2642, "name": "ParameterList", - "src": "57197:49:1" + "src": "58810:49:0" }, { "attributes": { @@ -72570,9 +72570,9 @@ ] }, "children": [], - "id": 3151, + "id": 2643, "name": "ParameterList", - "src": "57264:0:1" + "src": "58877:0:0" }, { "children": [ @@ -72608,49 +72608,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3230, + "referencedDeclaration": 2722, "type": "function (address,uint256)", "value": "_mint" }, - "id": 3152, + "id": 2644, "name": "Identifier", - "src": "57274:5:1" + "src": "58888:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3153, + "id": 2645, "name": "Identifier", - "src": "57280:2:1" + "src": "58894:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3154, + "id": 2646, "name": "Identifier", - "src": "57284:7:1" + "src": "58898:7:0" } ], - "id": 3155, + "id": 2647, "name": "FunctionCall", - "src": "57274:18:1" + "src": "58888:18:0" } ], - "id": 3156, + "id": 2648, "name": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "children": [ @@ -72689,9 +72689,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3157, + "id": 2649, "name": "Identifier", - "src": "57302:7:1" + "src": "58917:7:0" }, { "attributes": { @@ -72731,13 +72731,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3158, + "id": 2650, "name": "Identifier", - "src": "57310:22:1" + "src": "58925:22:0" }, { "attributes": { @@ -72773,14 +72773,14 @@ "attributes": { "name": "address" }, - "id": 3159, + "id": 2651, "name": "ElementaryTypeName", - "src": "57333:7:1" + "src": "58948:7:0" } ], - "id": 3160, + "id": 2652, "name": "ElementaryTypeNameExpression", - "src": "57333:7:1" + "src": "58948:7:0" }, { "attributes": { @@ -72793,58 +72793,58 @@ "type": "int_const 0", "value": "0" }, - "id": 3161, + "id": 2653, "name": "Literal", - "src": "57341:1:1" + "src": "58956:1:0" } ], - "id": 3162, + "id": 2654, "name": "FunctionCall", - "src": "57333:10:1" + "src": "58948:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3163, + "id": 2655, "name": "Identifier", - "src": "57345:2:1" + "src": "58960:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3164, + "id": 2656, "name": "Identifier", - "src": "57349:7:1" + "src": "58964:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3149, + "referencedDeclaration": 2641, "type": "bytes memory", "value": "_data" }, - "id": 3165, + "id": 2657, "name": "Identifier", - "src": "57358:5:1" + "src": "58973:5:0" } ], - "id": 3166, + "id": 2658, "name": "FunctionCall", - "src": "57310:54:1" + "src": "58925:54:0" }, { "attributes": { @@ -72857,29 +72857,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3167, + "id": 2659, "name": "Literal", - "src": "57366:52:1" + "src": "58981:52:0" } ], - "id": 3168, + "id": 2660, "name": "FunctionCall", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3169, + "id": 2661, "name": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3170, + "id": 2662, "name": "Block", - "src": "57264:162:1" + "src": "58877:165:0" } ], - "id": 3171, + "id": 2663, "name": "FunctionDefinition", - "src": "57179:247:1" + "src": "58792:250:0" }, { "attributes": { @@ -72890,7 +72890,7 @@ null ], "name": "_mint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72900,9 +72900,9 @@ "attributes": { "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3172, + "id": 2664, "name": "StructuredDocumentation", - "src": "57432:311:1" + "src": "59050:322:0" }, { "children": [ @@ -72911,7 +72911,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72924,21 +72924,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3173, + "id": 2665, "name": "ElementaryTypeName", - "src": "57763:7:1" + "src": "59393:7:0" } ], - "id": 3174, + "id": 2666, "name": "VariableDeclaration", - "src": "57763:10:1" + "src": "59393:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72950,19 +72950,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3175, + "id": 2667, "name": "ElementaryTypeName", - "src": "57775:7:1" + "src": "59405:7:0" } ], - "id": 3176, + "id": 2668, "name": "VariableDeclaration", - "src": "57775:15:1" + "src": "59405:15:0" } ], - "id": 3177, + "id": 2669, "name": "ParameterList", - "src": "57762:29:1" + "src": "59392:29:0" }, { "attributes": { @@ -72971,9 +72971,9 @@ ] }, "children": [], - "id": 3178, + "id": 2670, "name": "ParameterList", - "src": "57809:0:1" + "src": "59439:0:0" }, { "children": [ @@ -73014,9 +73014,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3179, + "id": 2671, "name": "Identifier", - "src": "57819:7:1" + "src": "59450:7:0" }, { "attributes": { @@ -73037,13 +73037,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3180, + "id": 2672, "name": "Identifier", - "src": "57827:2:1" + "src": "59458:2:0" }, { "attributes": { @@ -73079,14 +73079,14 @@ "attributes": { "name": "address" }, - "id": 3181, + "id": 2673, "name": "ElementaryTypeName", - "src": "57833:7:1" + "src": "59464:7:0" } ], - "id": 3182, + "id": 2674, "name": "ElementaryTypeNameExpression", - "src": "57833:7:1" + "src": "59464:7:0" }, { "attributes": { @@ -73099,19 +73099,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3183, + "id": 2675, "name": "Literal", - "src": "57841:1:1" + "src": "59472:1:0" } ], - "id": 3184, + "id": 2676, "name": "FunctionCall", - "src": "57833:10:1" + "src": "59464:10:0" } ], - "id": 3185, + "id": 2677, "name": "BinaryOperation", - "src": "57827:16:1" + "src": "59458:16:0" }, { "attributes": { @@ -73124,19 +73124,19 @@ "type": "literal_string \"ERC721: mint to the zero address\"", "value": "ERC721: mint to the zero address" }, - "id": 3186, + "id": 2678, "name": "Literal", - "src": "57845:34:1" + "src": "59476:34:0" } ], - "id": 3187, + "id": 2679, "name": "FunctionCall", - "src": "57819:61:1" + "src": "59450:61:0" } ], - "id": 3188, + "id": 2680, "name": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "children": [ @@ -73175,9 +73175,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3189, + "id": 2681, "name": "Identifier", - "src": "57890:7:1" + "src": "59522:7:0" }, { "attributes": { @@ -73216,36 +73216,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3190, + "id": 2682, "name": "Identifier", - "src": "57899:7:1" + "src": "59531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3191, + "id": 2683, "name": "Identifier", - "src": "57907:7:1" + "src": "59539:7:0" } ], - "id": 3192, + "id": 2684, "name": "FunctionCall", - "src": "57899:16:1" + "src": "59531:16:0" } ], - "id": 3193, + "id": 2685, "name": "UnaryOperation", - "src": "57898:17:1" + "src": "59530:17:0" }, { "attributes": { @@ -73258,19 +73258,19 @@ "type": "literal_string \"ERC721: token already minted\"", "value": "ERC721: token already minted" }, - "id": 3194, + "id": 2686, "name": "Literal", - "src": "57917:30:1" + "src": "59549:30:0" } ], - "id": 3195, + "id": 2687, "name": "FunctionCall", - "src": "57890:58:1" + "src": "59522:58:0" } ], - "id": 3196, + "id": 2688, "name": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "children": [ @@ -73308,13 +73308,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3197, + "id": 2689, "name": "Identifier", - "src": "57959:20:1" + "src": "59593:20:0" }, { "attributes": { @@ -73350,14 +73350,14 @@ "attributes": { "name": "address" }, - "id": 3198, + "id": 2690, "name": "ElementaryTypeName", - "src": "57980:7:1" + "src": "59614:7:0" } ], - "id": 3199, + "id": 2691, "name": "ElementaryTypeNameExpression", - "src": "57980:7:1" + "src": "59614:7:0" }, { "attributes": { @@ -73370,50 +73370,50 @@ "type": "int_const 0", "value": "0" }, - "id": 3200, + "id": 2692, "name": "Literal", - "src": "57988:1:1" + "src": "59622:1:0" } ], - "id": 3201, + "id": 2693, "name": "FunctionCall", - "src": "57980:10:1" + "src": "59614:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3202, + "id": 2694, "name": "Identifier", - "src": "57992:2:1" + "src": "59626:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3203, + "id": 2695, "name": "Identifier", - "src": "57996:7:1" + "src": "59630:7:0" } ], - "id": 3204, + "id": 2696, "name": "FunctionCall", - "src": "57959:45:1" + "src": "59593:45:0" } ], - "id": 3205, + "id": 2697, "name": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "children": [ @@ -73445,7 +73445,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -73463,59 +73463,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3206, + "id": 2698, "name": "Identifier", - "src": "58015:13:1" + "src": "59651:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3207, + "id": 2699, "name": "Identifier", - "src": "58029:2:1" + "src": "59665:2:0" } ], - "id": 3208, + "id": 2700, "name": "IndexAccess", - "src": "58015:17:1" + "src": "59651:17:0" } ], - "id": 3209, + "id": 2701, "name": "MemberAccess", - "src": "58015:21:1" + "src": "59651:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3210, + "id": 2702, "name": "Identifier", - "src": "58037:7:1" + "src": "59673:7:0" } ], - "id": 3211, + "id": 2703, "name": "FunctionCall", - "src": "58015:30:1" + "src": "59651:30:0" } ], - "id": 3212, + "id": 2704, "name": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "children": [ @@ -73551,7 +73551,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -73560,54 +73560,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3213, + "id": 2705, "name": "Identifier", - "src": "58056:12:1" + "src": "59694:12:0" } ], - "id": 3215, + "id": 2707, "name": "MemberAccess", - "src": "58056:16:1" + "src": "59694:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3216, + "id": 2708, "name": "Identifier", - "src": "58073:7:1" + "src": "59711:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3217, + "id": 2709, "name": "Identifier", - "src": "58082:2:1" + "src": "59720:2:0" } ], - "id": 3218, + "id": 2710, "name": "FunctionCall", - "src": "58056:29:1" + "src": "59694:29:0" } ], - "id": 3219, + "id": 2711, "name": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "children": [ @@ -73645,13 +73645,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3220, + "id": 2712, "name": "Identifier", - "src": "58101:8:1" + "src": "59741:8:0" }, { "attributes": { @@ -73687,14 +73687,14 @@ "attributes": { "name": "address" }, - "id": 3221, + "id": 2713, "name": "ElementaryTypeName", - "src": "58110:7:1" + "src": "59750:7:0" } ], - "id": 3222, + "id": 2714, "name": "ElementaryTypeNameExpression", - "src": "58110:7:1" + "src": "59750:7:0" }, { "attributes": { @@ -73707,60 +73707,60 @@ "type": "int_const 0", "value": "0" }, - "id": 3223, + "id": 2715, "name": "Literal", - "src": "58118:1:1" + "src": "59758:1:0" } ], - "id": 3224, + "id": 2716, "name": "FunctionCall", - "src": "58110:10:1" + "src": "59750:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3225, + "id": 2717, "name": "Identifier", - "src": "58122:2:1" + "src": "59762:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3226, + "id": 2718, "name": "Identifier", - "src": "58126:7:1" + "src": "59766:7:0" } ], - "id": 3227, + "id": 2719, "name": "FunctionCall", - "src": "58101:33:1" + "src": "59741:33:0" } ], - "id": 3228, + "id": 2720, "name": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ], - "id": 3229, + "id": 2721, "name": "Block", - "src": "57809:332:1" + "src": "59439:343:0" } ], - "id": 3230, + "id": 2722, "name": "FunctionDefinition", - "src": "57748:393:1" + "src": "59378:404:0" }, { "attributes": { @@ -73771,7 +73771,7 @@ null ], "name": "_burn", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -73781,9 +73781,9 @@ "attributes": { "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3231, + "id": 2723, "name": "StructuredDocumentation", - "src": "58147:206:1" + "src": "59790:215:0" }, { "children": [ @@ -73792,7 +73792,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3299, + "scope": 2791, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -73804,19 +73804,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3232, + "id": 2724, "name": "ElementaryTypeName", - "src": "58373:7:1" + "src": "60026:7:0" } ], - "id": 3233, + "id": 2725, "name": "VariableDeclaration", - "src": "58373:15:1" + "src": "60026:15:0" } ], - "id": 3234, + "id": 2726, "name": "ParameterList", - "src": "58372:17:1" + "src": "60025:17:0" }, { "attributes": { @@ -73825,16 +73825,16 @@ ] }, "children": [], - "id": 3235, + "id": 2727, "name": "ParameterList", - "src": "58407:0:1" + "src": "60060:0:0" }, { "children": [ { "attributes": { "assignments": [ - 3237 + 2729 ] }, "children": [ @@ -73843,7 +73843,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3298, + "scope": 2790, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -73856,14 +73856,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3236, + "id": 2728, "name": "ElementaryTypeName", - "src": "58417:7:1" + "src": "60071:7:0" } ], - "id": 3237, + "id": 2729, "name": "VariableDeclaration", - "src": "58417:13:1" + "src": "60071:13:0" }, { "attributes": { @@ -73893,7 +73893,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -73902,41 +73902,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3238, + "id": 2730, "name": "Identifier", - "src": "58433:6:1" + "src": "60087:6:0" } ], - "id": 3239, + "id": 2731, "name": "MemberAccess", - "src": "58433:14:1" + "src": "60087:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3240, + "id": 2732, "name": "Identifier", - "src": "58448:7:1" + "src": "60102:7:0" } ], - "id": 3241, + "id": 2733, "name": "FunctionCall", - "src": "58433:23:1" + "src": "60087:23:0" } ], - "id": 3242, + "id": 2734, "name": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "children": [ @@ -73974,26 +73974,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3243, + "id": 2735, "name": "Identifier", - "src": "58485:20:1" + "src": "60141:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3244, + "id": 2736, "name": "Identifier", - "src": "58506:5:1" + "src": "60162:5:0" }, { "attributes": { @@ -74029,14 +74029,14 @@ "attributes": { "name": "address" }, - "id": 3245, + "id": 2737, "name": "ElementaryTypeName", - "src": "58513:7:1" + "src": "60169:7:0" } ], - "id": 3246, + "id": 2738, "name": "ElementaryTypeNameExpression", - "src": "58513:7:1" + "src": "60169:7:0" }, { "attributes": { @@ -74049,37 +74049,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3247, + "id": 2739, "name": "Literal", - "src": "58521:1:1" + "src": "60177:1:0" } ], - "id": 3248, + "id": 2740, "name": "FunctionCall", - "src": "58513:10:1" + "src": "60169:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3249, + "id": 2741, "name": "Identifier", - "src": "58525:7:1" + "src": "60181:7:0" } ], - "id": 3250, + "id": 2742, "name": "FunctionCall", - "src": "58485:48:1" + "src": "60141:48:0" } ], - "id": 3251, + "id": 2743, "name": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "children": [ @@ -74113,13 +74113,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3252, + "id": 2744, "name": "Identifier", - "src": "58571:8:1" + "src": "60230:8:0" }, { "attributes": { @@ -74155,14 +74155,14 @@ "attributes": { "name": "address" }, - "id": 3253, + "id": 2745, "name": "ElementaryTypeName", - "src": "58580:7:1" + "src": "60239:7:0" } ], - "id": 3254, + "id": 2746, "name": "ElementaryTypeNameExpression", - "src": "58580:7:1" + "src": "60239:7:0" }, { "attributes": { @@ -74175,37 +74175,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3255, + "id": 2747, "name": "Literal", - "src": "58588:1:1" + "src": "60247:1:0" } ], - "id": 3256, + "id": 2748, "name": "FunctionCall", - "src": "58580:10:1" + "src": "60239:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3257, + "id": 2749, "name": "Identifier", - "src": "58592:7:1" + "src": "60251:7:0" } ], - "id": 3258, + "id": 2750, "name": "FunctionCall", - "src": "58571:29:1" + "src": "60230:29:0" } ], - "id": 3259, + "id": 2751, "name": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "attributes": {}, @@ -74268,14 +74268,14 @@ "attributes": { "name": "bytes" }, - "id": 3260, + "id": 2752, "name": "ElementaryTypeName", - "src": "58650:5:1" + "src": "60312:5:0" } ], - "id": 3261, + "id": 2753, "name": "ElementaryTypeNameExpression", - "src": "58650:5:1" + "src": "60312:5:0" }, { "attributes": { @@ -74291,41 +74291,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3262, + "id": 2754, "name": "Identifier", - "src": "58656:10:1" + "src": "60318:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3263, + "id": 2755, "name": "Identifier", - "src": "58667:7:1" + "src": "60329:7:0" } ], - "id": 3264, + "id": 2756, "name": "IndexAccess", - "src": "58656:19:1" + "src": "60318:19:0" } ], - "id": 3265, + "id": 2757, "name": "FunctionCall", - "src": "58650:26:1" + "src": "60312:26:0" } ], - "id": 3266, + "id": 2758, "name": "MemberAccess", - "src": "58650:33:1" + "src": "60312:33:0" }, { "attributes": { @@ -74338,14 +74338,14 @@ "type": "int_const 0", "value": "0" }, - "id": 3267, + "id": 2759, "name": "Literal", - "src": "58687:1:1" + "src": "60349:1:0" } ], - "id": 3268, + "id": 2760, "name": "BinaryOperation", - "src": "58650:38:1" + "src": "60312:38:0" }, { "children": [ @@ -74376,51 +74376,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3269, + "id": 2761, "name": "Identifier", - "src": "58711:10:1" + "src": "60374:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3270, + "id": 2762, "name": "Identifier", - "src": "58722:7:1" + "src": "60385:7:0" } ], - "id": 3271, + "id": 2763, "name": "IndexAccess", - "src": "58711:19:1" + "src": "60374:19:0" } ], - "id": 3272, + "id": 2764, "name": "UnaryOperation", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3273, + "id": 2765, "name": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3274, + "id": 2766, "name": "Block", - "src": "58690:51:1" + "src": "60352:53:0" } ], - "id": 3275, + "id": 2767, "name": "IfStatement", - "src": "58646:95:1" + "src": "60308:97:0" }, { "children": [ @@ -74452,7 +74452,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -74470,59 +74470,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3276, + "id": 2768, "name": "Identifier", - "src": "58751:13:1" + "src": "60417:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3277, + "id": 2769, "name": "Identifier", - "src": "58765:5:1" + "src": "60431:5:0" } ], - "id": 3278, + "id": 2770, "name": "IndexAccess", - "src": "58751:20:1" + "src": "60417:20:0" } ], - "id": 3279, + "id": 2771, "name": "MemberAccess", - "src": "58751:27:1" + "src": "60417:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3280, + "id": 2772, "name": "Identifier", - "src": "58779:7:1" + "src": "60445:7:0" } ], - "id": 3281, + "id": 2773, "name": "FunctionCall", - "src": "58751:36:1" + "src": "60417:36:0" } ], - "id": 3282, + "id": 2774, "name": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "children": [ @@ -74554,7 +74554,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 2306, + "referencedDeclaration": 1798, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" }, "children": [ @@ -74563,41 +74563,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3283, + "id": 2775, "name": "Identifier", - "src": "58798:12:1" + "src": "60466:12:0" } ], - "id": 3285, + "id": 2777, "name": "MemberAccess", - "src": "58798:19:1" + "src": "60466:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3286, + "id": 2778, "name": "Identifier", - "src": "58818:7:1" + "src": "60486:7:0" } ], - "id": 3287, + "id": 2779, "name": "FunctionCall", - "src": "58798:28:1" + "src": "60466:28:0" } ], - "id": 3288, + "id": 2780, "name": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "children": [ @@ -74635,26 +74635,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3289, + "id": 2781, "name": "Identifier", - "src": "58842:8:1" + "src": "60512:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3290, + "id": 2782, "name": "Identifier", - "src": "58851:5:1" + "src": "60521:5:0" }, { "attributes": { @@ -74690,14 +74690,14 @@ "attributes": { "name": "address" }, - "id": 3291, + "id": 2783, "name": "ElementaryTypeName", - "src": "58858:7:1" + "src": "60528:7:0" } ], - "id": 3292, + "id": 2784, "name": "ElementaryTypeNameExpression", - "src": "58858:7:1" + "src": "60528:7:0" }, { "attributes": { @@ -74710,47 +74710,47 @@ "type": "int_const 0", "value": "0" }, - "id": 3293, + "id": 2785, "name": "Literal", - "src": "58866:1:1" + "src": "60536:1:0" } ], - "id": 3294, + "id": 2786, "name": "FunctionCall", - "src": "58858:10:1" + "src": "60528:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3295, + "id": 2787, "name": "Identifier", - "src": "58870:7:1" + "src": "60540:7:0" } ], - "id": 3296, + "id": 2788, "name": "FunctionCall", - "src": "58842:36:1" + "src": "60512:36:0" } ], - "id": 3297, + "id": 2789, "name": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ], - "id": 3298, + "id": 2790, "name": "Block", - "src": "58407:478:1" + "src": "60060:496:0" } ], - "id": 3299, + "id": 2791, "name": "FunctionDefinition", - "src": "58358:527:1" + "src": "60011:545:0" }, { "attributes": { @@ -74761,7 +74761,7 @@ null ], "name": "_transfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -74771,9 +74771,9 @@ "attributes": { "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3300, + "id": 2792, "name": "StructuredDocumentation", - "src": "58891:313:1" + "src": "60564:323:0" }, { "children": [ @@ -74782,7 +74782,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74795,21 +74795,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3301, + "id": 2793, "name": "ElementaryTypeName", - "src": "59228:7:1" + "src": "60912:7:0" } ], - "id": 3302, + "id": 2794, "name": "VariableDeclaration", - "src": "59228:12:1" + "src": "60912:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74822,21 +74822,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3303, + "id": 2795, "name": "ElementaryTypeName", - "src": "59242:7:1" + "src": "60926:7:0" } ], - "id": 3304, + "id": 2796, "name": "VariableDeclaration", - "src": "59242:10:1" + "src": "60926:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -74848,19 +74848,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3305, + "id": 2797, "name": "ElementaryTypeName", - "src": "59254:7:1" + "src": "60938:7:0" } ], - "id": 3306, + "id": 2798, "name": "VariableDeclaration", - "src": "59254:15:1" + "src": "60938:15:0" } ], - "id": 3307, + "id": 2799, "name": "ParameterList", - "src": "59227:43:1" + "src": "60911:43:0" }, { "attributes": { @@ -74869,9 +74869,9 @@ ] }, "children": [], - "id": 3308, + "id": 2800, "name": "ParameterList", - "src": "59288:0:1" + "src": "60972:0:0" }, { "children": [ @@ -74912,9 +74912,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3309, + "id": 2801, "name": "Identifier", - "src": "59298:7:1" + "src": "60983:7:0" }, { "attributes": { @@ -74958,7 +74958,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -74967,54 +74967,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3310, + "id": 2802, "name": "Identifier", - "src": "59306:6:1" + "src": "60991:6:0" } ], - "id": 3311, + "id": 2803, "name": "MemberAccess", - "src": "59306:14:1" + "src": "60991:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3312, + "id": 2804, "name": "Identifier", - "src": "59321:7:1" + "src": "61006:7:0" } ], - "id": 3313, + "id": 2805, "name": "FunctionCall", - "src": "59306:23:1" + "src": "60991:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3314, + "id": 2806, "name": "Identifier", - "src": "59333:4:1" + "src": "61018:4:0" } ], - "id": 3315, + "id": 2807, "name": "BinaryOperation", - "src": "59306:31:1" + "src": "60991:31:0" }, { "attributes": { @@ -75027,19 +75027,19 @@ "type": "literal_string \"ERC721: transfer of token that is not own\"", "value": "ERC721: transfer of token that is not own" }, - "id": 3316, + "id": 2808, "name": "Literal", - "src": "59339:43:1" + "src": "61024:43:0" } ], - "id": 3317, + "id": 2809, "name": "FunctionCall", - "src": "59298:85:1" + "src": "60983:85:0" } ], - "id": 3318, + "id": 2810, "name": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "children": [ @@ -75078,9 +75078,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3319, + "id": 2811, "name": "Identifier", - "src": "59411:7:1" + "src": "61097:7:0" }, { "attributes": { @@ -75101,13 +75101,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3320, + "id": 2812, "name": "Identifier", - "src": "59419:2:1" + "src": "61105:2:0" }, { "attributes": { @@ -75143,14 +75143,14 @@ "attributes": { "name": "address" }, - "id": 3321, + "id": 2813, "name": "ElementaryTypeName", - "src": "59425:7:1" + "src": "61111:7:0" } ], - "id": 3322, + "id": 2814, "name": "ElementaryTypeNameExpression", - "src": "59425:7:1" + "src": "61111:7:0" }, { "attributes": { @@ -75163,19 +75163,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3323, + "id": 2815, "name": "Literal", - "src": "59433:1:1" + "src": "61119:1:0" } ], - "id": 3324, + "id": 2816, "name": "FunctionCall", - "src": "59425:10:1" + "src": "61111:10:0" } ], - "id": 3325, + "id": 2817, "name": "BinaryOperation", - "src": "59419:16:1" + "src": "61105:16:0" }, { "attributes": { @@ -75188,19 +75188,19 @@ "type": "literal_string \"ERC721: transfer to the zero address\"", "value": "ERC721: transfer to the zero address" }, - "id": 3326, + "id": 2818, "name": "Literal", - "src": "59437:38:1" + "src": "61123:38:0" } ], - "id": 3327, + "id": 2819, "name": "FunctionCall", - "src": "59411:65:1" + "src": "61097:65:0" } ], - "id": 3328, + "id": 2820, "name": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "children": [ @@ -75238,62 +75238,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3329, + "id": 2821, "name": "Identifier", - "src": "59487:20:1" + "src": "61175:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3330, + "id": 2822, "name": "Identifier", - "src": "59508:4:1" + "src": "61196:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3331, + "id": 2823, "name": "Identifier", - "src": "59514:2:1" + "src": "61202:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3332, + "id": 2824, "name": "Identifier", - "src": "59518:7:1" + "src": "61206:7:0" } ], - "id": 3333, + "id": 2825, "name": "FunctionCall", - "src": "59487:39:1" + "src": "61175:39:0" } ], - "id": 3334, + "id": 2826, "name": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "children": [ @@ -75327,13 +75327,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3335, + "id": 2827, "name": "Identifier", - "src": "59588:8:1" + "src": "61279:8:0" }, { "attributes": { @@ -75369,14 +75369,14 @@ "attributes": { "name": "address" }, - "id": 3336, + "id": 2828, "name": "ElementaryTypeName", - "src": "59597:7:1" + "src": "61288:7:0" } ], - "id": 3337, + "id": 2829, "name": "ElementaryTypeNameExpression", - "src": "59597:7:1" + "src": "61288:7:0" }, { "attributes": { @@ -75389,37 +75389,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3338, + "id": 2830, "name": "Literal", - "src": "59605:1:1" + "src": "61296:1:0" } ], - "id": 3339, + "id": 2831, "name": "FunctionCall", - "src": "59597:10:1" + "src": "61288:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3340, + "id": 2832, "name": "Identifier", - "src": "59609:7:1" + "src": "61300:7:0" } ], - "id": 3341, + "id": 2833, "name": "FunctionCall", - "src": "59588:29:1" + "src": "61279:29:0" } ], - "id": 3342, + "id": 2834, "name": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "children": [ @@ -75451,7 +75451,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75469,59 +75469,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3343, + "id": 2835, "name": "Identifier", - "src": "59628:13:1" + "src": "61321:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3344, + "id": 2836, "name": "Identifier", - "src": "59642:4:1" + "src": "61335:4:0" } ], - "id": 3345, + "id": 2837, "name": "IndexAccess", - "src": "59628:19:1" + "src": "61321:19:0" } ], - "id": 3346, + "id": 2838, "name": "MemberAccess", - "src": "59628:26:1" + "src": "61321:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3347, + "id": 2839, "name": "Identifier", - "src": "59655:7:1" + "src": "61348:7:0" } ], - "id": 3348, + "id": 2840, "name": "FunctionCall", - "src": "59628:35:1" + "src": "61321:35:0" } ], - "id": 3349, + "id": 2841, "name": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "children": [ @@ -75553,7 +75553,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75571,59 +75571,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3350, + "id": 2842, "name": "Identifier", - "src": "59673:13:1" + "src": "61367:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3351, + "id": 2843, "name": "Identifier", - "src": "59687:2:1" + "src": "61381:2:0" } ], - "id": 3352, + "id": 2844, "name": "IndexAccess", - "src": "59673:17:1" + "src": "61367:17:0" } ], - "id": 3353, + "id": 2845, "name": "MemberAccess", - "src": "59673:21:1" + "src": "61367:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3354, + "id": 2846, "name": "Identifier", - "src": "59695:7:1" + "src": "61389:7:0" } ], - "id": 3355, + "id": 2847, "name": "FunctionCall", - "src": "59673:30:1" + "src": "61367:30:0" } ], - "id": 3356, + "id": 2848, "name": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "children": [ @@ -75659,7 +75659,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -75668,54 +75668,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3357, + "id": 2849, "name": "Identifier", - "src": "59714:12:1" + "src": "61410:12:0" } ], - "id": 3359, + "id": 2851, "name": "MemberAccess", - "src": "59714:16:1" + "src": "61410:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3360, + "id": 2852, "name": "Identifier", - "src": "59731:7:1" + "src": "61427:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3361, + "id": 2853, "name": "Identifier", - "src": "59740:2:1" + "src": "61436:2:0" } ], - "id": 3362, + "id": 2854, "name": "FunctionCall", - "src": "59714:29:1" + "src": "61410:29:0" } ], - "id": 3363, + "id": 2855, "name": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "children": [ @@ -75753,72 +75753,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3364, + "id": 2856, "name": "Identifier", - "src": "59759:8:1" + "src": "61457:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3365, + "id": 2857, "name": "Identifier", - "src": "59768:4:1" + "src": "61466:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3366, + "id": 2858, "name": "Identifier", - "src": "59774:2:1" + "src": "61472:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3367, + "id": 2859, "name": "Identifier", - "src": "59778:7:1" + "src": "61476:7:0" } ], - "id": 3368, + "id": 2860, "name": "FunctionCall", - "src": "59759:27:1" + "src": "61457:27:0" } ], - "id": 3369, + "id": 2861, "name": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ], - "id": 3370, + "id": 2862, "name": "Block", - "src": "59288:505:1" + "src": "60972:520:0" } ], - "id": 3371, + "id": 2863, "name": "FunctionDefinition", - "src": "59209:584:1" + "src": "60893:599:0" }, { "attributes": { @@ -75829,7 +75829,7 @@ null ], "name": "_setTokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -75839,9 +75839,9 @@ "attributes": { "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3372, + "id": 2864, "name": "StructuredDocumentation", - "src": "59799:136:1" + "src": "61500:142:0" }, { "children": [ @@ -75850,7 +75850,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -75862,21 +75862,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3373, + "id": 2865, "name": "ElementaryTypeName", - "src": "59962:7:1" + "src": "61670:7:0" } ], - "id": 3374, + "id": 2866, "name": "VariableDeclaration", - "src": "59962:15:1" + "src": "61670:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -75888,19 +75888,19 @@ "name": "string", "type": "string" }, - "id": 3375, + "id": 2867, "name": "ElementaryTypeName", - "src": "59979:6:1" + "src": "61687:6:0" } ], - "id": 3376, + "id": 2868, "name": "VariableDeclaration", - "src": "59979:23:1" + "src": "61687:23:0" } ], - "id": 3377, + "id": 2869, "name": "ParameterList", - "src": "59961:42:1" + "src": "61669:42:0" }, { "attributes": { @@ -75909,9 +75909,9 @@ ] }, "children": [], - "id": 3378, + "id": 2870, "name": "ParameterList", - "src": "60021:0:1" + "src": "61729:0:0" }, { "children": [ @@ -75952,9 +75952,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3379, + "id": 2871, "name": "Identifier", - "src": "60031:7:1" + "src": "61740:7:0" }, { "attributes": { @@ -75982,31 +75982,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3380, + "id": 2872, "name": "Identifier", - "src": "60039:7:1" + "src": "61748:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3381, + "id": 2873, "name": "Identifier", - "src": "60047:7:1" + "src": "61756:7:0" } ], - "id": 3382, + "id": 2874, "name": "FunctionCall", - "src": "60039:16:1" + "src": "61748:16:0" }, { "attributes": { @@ -76019,19 +76019,19 @@ "type": "literal_string \"ERC721Metadata: URI set of nonexistent token\"", "value": "ERC721Metadata: URI set of nonexistent token" }, - "id": 3383, + "id": 2875, "name": "Literal", - "src": "60057:46:1" + "src": "61766:46:0" } ], - "id": 3384, + "id": 2876, "name": "FunctionCall", - "src": "60031:73:1" + "src": "61740:73:0" } ], - "id": 3385, + "id": 2877, "name": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "children": [ @@ -76059,64 +76059,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3386, + "id": 2878, "name": "Identifier", - "src": "60114:10:1" + "src": "61824:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3387, + "id": 2879, "name": "Identifier", - "src": "60125:7:1" + "src": "61835:7:0" } ], - "id": 3388, + "id": 2880, "name": "IndexAccess", - "src": "60114:19:1" + "src": "61824:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3376, + "referencedDeclaration": 2868, "type": "string memory", "value": "_tokenURI" }, - "id": 3389, + "id": 2881, "name": "Identifier", - "src": "60136:9:1" + "src": "61846:9:0" } ], - "id": 3390, + "id": 2882, "name": "Assignment", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3391, + "id": 2883, "name": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3392, + "id": 2884, "name": "Block", - "src": "60021:131:1" + "src": "61729:134:0" } ], - "id": 3393, + "id": 2885, "name": "FunctionDefinition", - "src": "59940:212:1" + "src": "61648:215:0" }, { "attributes": { @@ -76127,7 +76127,7 @@ null ], "name": "_setBaseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -76137,9 +76137,9 @@ "attributes": { "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3394, + "id": 2886, "name": "StructuredDocumentation", - "src": "60158:212:1" + "src": "61871:216:0" }, { "children": [ @@ -76148,7 +76148,7 @@ "constant": false, "mutability": "mutable", "name": "baseURI_", - "scope": 3404, + "scope": 2896, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -76160,19 +76160,19 @@ "name": "string", "type": "string" }, - "id": 3395, + "id": 2887, "name": "ElementaryTypeName", - "src": "60396:6:1" + "src": "62114:6:0" } ], - "id": 3396, + "id": 2888, "name": "VariableDeclaration", - "src": "60396:22:1" + "src": "62114:22:0" } ], - "id": 3397, + "id": 2889, "name": "ParameterList", - "src": "60395:24:1" + "src": "62113:24:0" }, { "attributes": { @@ -76181,9 +76181,9 @@ ] }, "children": [], - "id": 3398, + "id": 2890, "name": "ParameterList", - "src": "60437:0:1" + "src": "62155:0:0" }, { "children": [ @@ -76204,46 +76204,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 3399, + "id": 2891, "name": "Identifier", - "src": "60447:8:1" + "src": "62166:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3396, + "referencedDeclaration": 2888, "type": "string memory", "value": "baseURI_" }, - "id": 3400, + "id": 2892, "name": "Identifier", - "src": "60458:8:1" + "src": "62177:8:0" } ], - "id": 3401, + "id": 2893, "name": "Assignment", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3402, + "id": 2894, "name": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3403, + "id": 2895, "name": "Block", - "src": "60437:36:1" + "src": "62155:38:0" } ], - "id": 3404, + "id": 2896, "name": "FunctionDefinition", - "src": "60375:98:1" + "src": "62093:100:0" }, { "attributes": { @@ -76254,7 +76254,7 @@ null ], "name": "_checkOnERC721Received", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -76264,9 +76264,9 @@ "attributes": { "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3405, + "id": 2897, "name": "StructuredDocumentation", - "src": "60479:542:1" + "src": "62201:551:0" }, { "children": [ @@ -76275,7 +76275,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76288,21 +76288,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3406, + "id": 2898, "name": "ElementaryTypeName", - "src": "61058:7:1" + "src": "62790:7:0" } ], - "id": 3407, + "id": 2899, "name": "VariableDeclaration", - "src": "61058:12:1" + "src": "62790:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76315,21 +76315,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3408, + "id": 2900, "name": "ElementaryTypeName", - "src": "61072:7:1" + "src": "62804:7:0" } ], - "id": 3409, + "id": 2901, "name": "VariableDeclaration", - "src": "61072:10:1" + "src": "62804:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -76341,21 +76341,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3410, + "id": 2902, "name": "ElementaryTypeName", - "src": "61084:7:1" + "src": "62816:7:0" } ], - "id": 3411, + "id": 2903, "name": "VariableDeclaration", - "src": "61084:15:1" + "src": "62816:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76367,19 +76367,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3412, + "id": 2904, "name": "ElementaryTypeName", - "src": "61101:5:1" + "src": "62833:5:0" } ], - "id": 3413, + "id": 2905, "name": "VariableDeclaration", - "src": "61101:18:1" + "src": "62833:18:0" } ], - "id": 3414, + "id": 2906, "name": "ParameterList", - "src": "61057:63:1" + "src": "62789:63:0" }, { "children": [ @@ -76388,7 +76388,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -76400,19 +76400,19 @@ "name": "bool", "type": "bool" }, - "id": 3415, + "id": 2907, "name": "ElementaryTypeName", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3416, + "id": 2908, "name": "VariableDeclaration", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3417, + "id": 2909, "name": "ParameterList", - "src": "61145:6:1" + "src": "62878:6:0" }, { "children": [ @@ -76458,7 +76458,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isContract", - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)" }, "children": [ @@ -76467,34 +76467,34 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3418, + "id": 2910, "name": "Identifier", - "src": "61171:2:1" + "src": "62906:2:0" } ], - "id": 3419, + "id": 2911, "name": "MemberAccess", - "src": "61171:13:1" + "src": "62906:13:0" } ], - "id": 3420, + "id": 2912, "name": "FunctionCall", - "src": "61171:15:1" + "src": "62906:15:0" } ], - "id": 3421, + "id": 2913, "name": "UnaryOperation", - "src": "61170:16:1" + "src": "62905:16:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -76508,29 +76508,29 @@ "type": "bool", "value": "true" }, - "id": 3422, + "id": 2914, "name": "Literal", - "src": "61209:4:1" + "src": "62945:4:0" } ], - "id": 3423, + "id": 2915, "name": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ], - "id": 3424, + "id": 2916, "name": "Block", - "src": "61188:36:1" + "src": "62923:38:0" } ], - "id": 3425, + "id": 2917, "name": "IfStatement", - "src": "61166:58:1" + "src": "62901:60:0" }, { "attributes": { "assignments": [ - 3427 + 2919 ] }, "children": [ @@ -76539,7 +76539,7 @@ "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76551,14 +76551,14 @@ "name": "bytes", "type": "bytes" }, - "id": 3426, + "id": 2918, "name": "ElementaryTypeName", - "src": "61233:5:1" + "src": "62971:5:0" } ], - "id": 3427, + "id": 2919, "name": "VariableDeclaration", - "src": "61233:23:1" + "src": "62971:23:0" }, { "attributes": { @@ -76592,7 +76592,7 @@ "isPure": false, "lValueRequested": false, "member_name": "functionCall", - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)" }, "children": [ @@ -76601,18 +76601,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3428, + "id": 2920, "name": "Identifier", - "src": "61259:2:1" + "src": "62997:2:0" } ], - "id": 3429, + "id": 2921, "name": "MemberAccess", - "src": "61259:15:1" + "src": "62997:15:0" }, { "attributes": { @@ -76670,14 +76670,14 @@ "type": "abi", "value": "abi" }, - "id": 3430, + "id": 2922, "name": "Identifier", - "src": "61275:3:1" + "src": "63013:3:0" } ], - "id": 3431, + "id": 2923, "name": "MemberAccess", - "src": "61275:22:1" + "src": "63013:22:0" }, { "attributes": { @@ -76696,7 +76696,7 @@ "isPure": false, "lValueRequested": false, "member_name": "onERC721Received", - "referencedDeclaration": 725, + "referencedDeclaration": 217, "type": "function (address,address,uint256,bytes memory) external returns (bytes4)" }, "children": [ @@ -76726,41 +76726,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 726, + "referencedDeclaration": 218, "type": "type(contract IERC721Receiver)", "value": "IERC721Receiver" }, - "id": 3432, + "id": 2924, "name": "Identifier", - "src": "61311:15:1" + "src": "63050:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3433, + "id": 2925, "name": "Identifier", - "src": "61327:2:1" + "src": "63066:2:0" } ], - "id": 3434, + "id": 2926, "name": "FunctionCall", - "src": "61311:19:1" + "src": "63050:19:0" } ], - "id": 3435, + "id": 2927, "name": "MemberAccess", - "src": "61311:36:1" + "src": "63050:36:0" } ], - "id": 3436, + "id": 2928, "name": "MemberAccess", - "src": "61311:45:1" + "src": "63050:45:0" }, { "attributes": { @@ -76788,62 +76788,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3437, + "id": 2929, "name": "Identifier", - "src": "61370:10:1" + "src": "63110:10:0" } ], - "id": 3438, + "id": 2930, "name": "FunctionCall", - "src": "61370:12:1" + "src": "63110:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3407, + "referencedDeclaration": 2899, "type": "address", "value": "from" }, - "id": 3439, + "id": 2931, "name": "Identifier", - "src": "61396:4:1" + "src": "63137:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3411, + "referencedDeclaration": 2903, "type": "uint256", "value": "tokenId" }, - "id": 3440, + "id": 2932, "name": "Identifier", - "src": "61414:7:1" + "src": "63156:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3413, + "referencedDeclaration": 2905, "type": "bytes memory", "value": "_data" }, - "id": 3441, + "id": 2933, "name": "Identifier", - "src": "61435:5:1" + "src": "63178:5:0" } ], - "id": 3442, + "id": 2934, "name": "FunctionCall", - "src": "61275:175:1" + "src": "63013:181:0" }, { "attributes": { @@ -76856,24 +76856,24 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3443, + "id": 2935, "name": "Literal", - "src": "61452:52:1" + "src": "63196:52:0" } ], - "id": 3444, + "id": 2936, "name": "FunctionCall", - "src": "61259:246:1" + "src": "62997:252:0" } ], - "id": 3445, + "id": 2937, "name": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "attributes": { "assignments": [ - 3447 + 2939 ] }, "children": [ @@ -76882,7 +76882,7 @@ "constant": false, "mutability": "mutable", "name": "retval", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -76894,14 +76894,14 @@ "name": "bytes4", "type": "bytes4" }, - "id": 3446, + "id": 2938, "name": "ElementaryTypeName", - "src": "61515:6:1" + "src": "63260:6:0" } ], - "id": 3447, + "id": 2939, "name": "VariableDeclaration", - "src": "61515:13:1" + "src": "63260:13:0" }, { "attributes": { @@ -76947,27 +76947,27 @@ "type": "abi", "value": "abi" }, - "id": 3448, + "id": 2940, "name": "Identifier", - "src": "61531:3:1" + "src": "63276:3:0" } ], - "id": 3449, + "id": 2941, "name": "MemberAccess", - "src": "61531:10:1" + "src": "63276:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3427, + "referencedDeclaration": 2919, "type": "bytes memory", "value": "returndata" }, - "id": 3450, + "id": 2942, "name": "Identifier", - "src": "61542:10:1" + "src": "63287:10:0" }, { "attributes": { @@ -76992,33 +76992,33 @@ "attributes": { "name": "bytes4" }, - "id": 3451, + "id": 2943, "name": "ElementaryTypeName", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3452, + "id": 2944, "name": "ElementaryTypeNameExpression", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3453, + "id": 2945, "name": "TupleExpression", - "src": "61554:8:1" + "src": "63299:8:0" } ], - "id": 3454, + "id": 2946, "name": "FunctionCall", - "src": "61531:32:1" + "src": "63276:32:0" } ], - "id": 3455, + "id": 2947, "name": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -77050,51 +77050,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3447, + "referencedDeclaration": 2939, "type": "bytes4", "value": "retval" }, - "id": 3456, + "id": 2948, "name": "Identifier", - "src": "61581:6:1" + "src": "63327:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2596, + "referencedDeclaration": 2088, "type": "bytes4", "value": "_ERC721_RECEIVED" }, - "id": 3457, + "id": 2949, "name": "Identifier", - "src": "61591:16:1" + "src": "63337:16:0" } ], - "id": 3458, + "id": 2950, "name": "BinaryOperation", - "src": "61581:26:1" + "src": "63327:26:0" } ], - "id": 3459, + "id": 2951, "name": "TupleExpression", - "src": "61580:28:1" + "src": "63326:28:0" } ], - "id": 3460, + "id": 2952, "name": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ], - "id": 3461, + "id": 2953, "name": "Block", - "src": "61156:459:1" + "src": "62890:472:0" } ], - "id": 3462, + "id": 2954, "name": "FunctionDefinition", - "src": "61026:589:1" + "src": "62758:604:0" }, { "attributes": { @@ -77105,7 +77105,7 @@ null ], "name": "_approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77115,9 +77115,9 @@ "attributes": { "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3463, + "id": 2955, "name": "StructuredDocumentation", - "src": "61621:101:1" + "src": "63370:105:0" }, { "children": [ @@ -77126,7 +77126,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77139,21 +77139,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3464, + "id": 2956, "name": "ElementaryTypeName", - "src": "61745:7:1" + "src": "63499:7:0" } ], - "id": 3465, + "id": 2957, "name": "VariableDeclaration", - "src": "61745:10:1" + "src": "63499:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77165,19 +77165,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3466, + "id": 2958, "name": "ElementaryTypeName", - "src": "61757:7:1" + "src": "63511:7:0" } ], - "id": 3467, + "id": 2959, "name": "VariableDeclaration", - "src": "61757:15:1" + "src": "63511:15:0" } ], - "id": 3468, + "id": 2960, "name": "ParameterList", - "src": "61744:29:1" + "src": "63498:29:0" }, { "attributes": { @@ -77186,9 +77186,9 @@ ] }, "children": [], - "id": 3469, + "id": 2961, "name": "ParameterList", - "src": "61791:0:1" + "src": "63545:0:0" }, { "children": [ @@ -77218,54 +77218,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 3470, + "id": 2962, "name": "Identifier", - "src": "61801:15:1" + "src": "63556:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3471, + "id": 2963, "name": "Identifier", - "src": "61817:7:1" + "src": "63572:7:0" } ], - "id": 3472, + "id": 2964, "name": "IndexAccess", - "src": "61801:24:1" + "src": "63556:24:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3473, + "id": 2965, "name": "Identifier", - "src": "61828:2:1" + "src": "63583:2:0" } ], - "id": 3474, + "id": 2966, "name": "Assignment", - "src": "61801:29:1" + "src": "63556:29:0" } ], - "id": 3475, + "id": 2967, "name": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "children": [ @@ -77303,13 +77303,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 563, + "referencedDeclaration": 55, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 3476, + "id": 2968, "name": "Identifier", - "src": "61845:8:1" + "src": "63601:8:0" }, { "attributes": { @@ -77339,7 +77339,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -77348,82 +77348,82 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3477, + "id": 2969, "name": "Identifier", - "src": "61854:6:1" + "src": "63610:6:0" } ], - "id": 3478, + "id": 2970, "name": "MemberAccess", - "src": "61854:14:1" + "src": "63610:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3479, + "id": 2971, "name": "Identifier", - "src": "61869:7:1" + "src": "63625:7:0" } ], - "id": 3480, + "id": 2972, "name": "FunctionCall", - "src": "61854:23:1" + "src": "63610:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3481, + "id": 2973, "name": "Identifier", - "src": "61879:2:1" + "src": "63635:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3482, + "id": 2974, "name": "Identifier", - "src": "61883:7:1" + "src": "63639:7:0" } ], - "id": 3483, + "id": 2975, "name": "FunctionCall", - "src": "61845:46:1" + "src": "63601:46:0" } ], - "id": 3484, + "id": 2976, "name": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ], - "id": 3485, + "id": 2977, "name": "Block", - "src": "61791:125:1" + "src": "63545:128:0" } ], - "id": 3486, + "id": 2978, "name": "FunctionDefinition", - "src": "61727:189:1" + "src": "63481:192:0" }, { "attributes": { @@ -77434,7 +77434,7 @@ null ], "name": "_beforeTokenTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77444,9 +77444,9 @@ "attributes": { "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3487, + "id": 2979, "name": "StructuredDocumentation", - "src": "61922:585:1" + "src": "63681:599:0" }, { "children": [ @@ -77455,7 +77455,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77468,21 +77468,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3488, + "id": 2980, "name": "ElementaryTypeName", - "src": "62542:7:1" + "src": "64316:7:0" } ], - "id": 3489, + "id": 2981, "name": "VariableDeclaration", - "src": "62542:12:1" + "src": "64316:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77495,21 +77495,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3490, + "id": 2982, "name": "ElementaryTypeName", - "src": "62556:7:1" + "src": "64330:7:0" } ], - "id": 3491, + "id": 2983, "name": "VariableDeclaration", - "src": "62556:10:1" + "src": "64330:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77521,19 +77521,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3492, + "id": 2984, "name": "ElementaryTypeName", - "src": "62568:7:1" + "src": "64342:7:0" } ], - "id": 3493, + "id": 2985, "name": "VariableDeclaration", - "src": "62568:15:1" + "src": "64342:15:0" } ], - "id": 3494, + "id": 2986, "name": "ParameterList", - "src": "62541:43:1" + "src": "64315:43:0" }, { "attributes": { @@ -77542,9 +77542,9 @@ ] }, "children": [], - "id": 3495, + "id": 2987, "name": "ParameterList", - "src": "62602:0:1" + "src": "64376:0:0" }, { "attributes": { @@ -77553,32 +77553,32 @@ ] }, "children": [], - "id": 3496, + "id": 2988, "name": "Block", - "src": "62602:3:1" + "src": "64376:3:0" } ], - "id": 3497, + "id": 2989, "name": "FunctionDefinition", - "src": "62512:93:1" + "src": "64286:93:0" } ], - "id": 3498, + "id": 2990, "name": "ContractDefinition", - "src": "46080:16527:1" + "src": "47398:16984:0" } ], - "id": 3499, + "id": 2991, "name": "SourceUnit", - "src": "84:62524:1" + "src": "87:64297:0" }, "compiler": { "name": "solc", "version": "0.7.6+commit.7338295f.Emscripten.clang" }, "networks": {}, - "schemaVersion": "3.3.4", - "updatedAt": "2021-03-13T11:18:08.282Z", + "schemaVersion": "3.4.3", + "updatedAt": "2021-10-13T09:55:47.734Z", "devdoc": { "details": "Interface for any contract that wants to support safeTransfers from ERC721 asset contracts.", "kind": "dev", diff --git a/src/abis/Migrations.json b/src/abis/Migrations.json index 41e3d19..9b205c7 100644 --- a/src/abis/Migrations.json +++ b/src/abis/Migrations.json @@ -17,8 +17,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [], @@ -31,8 +30,7 @@ } ], "stateMutability": "view", - "type": "function", - "constant": true + "type": "function" }, { "inputs": [ @@ -61,29 +59,29 @@ "type": "function" } ], - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"last_completed_migration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"completed\",\"type\":\"uint256\"}],\"name\":\"setCompleted\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"new_address\",\"type\":\"address\"}],\"name\":\"upgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/Migrations.sol\":\"Migrations\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/Migrations.sol\":{\"keccak256\":\"0x12e875f75583a6d74b23acfbb440c0cb8c4161eb4b6e401b5a047a8241cc5365\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://549b5653fb3ba12444dec07d5728b35f2b229faa8f8c524c403492dcc6847da6\",\"dweb:/ipfs/QmYqExk3AbYPmBAaMS6wFhV9jgLdWWQydhy9v3Sfcv5ynN\"]}},\"version\":1}", - "bytecode": "0x608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061029f806100606000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80630900f01014610051578063445df0ac146100955780638da5cb5b146100b3578063fdacd576146100e7575b600080fd5b6100936004803603602081101561006757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610115565b005b61009d6101e0565b6040518082815260200191505060405180910390f35b6100bb6101e6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610113600480360360208110156100fd57600080fd5b810190808035906020019092919050505061020a565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156101dd5760008190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156101c357600080fd5b505af11580156101d7573d6000803e3d6000fd5b50505050505b50565b60015481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561026657806001819055505b5056fea26469706673582212206e5d0441122dbe0dff89068ada8bd4dc77aff4a709b45219e239268a9bfa623b64736f6c63430007060033", - "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80630900f01014610051578063445df0ac146100955780638da5cb5b146100b3578063fdacd576146100e7575b600080fd5b6100936004803603602081101561006757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610115565b005b61009d6101e0565b6040518082815260200191505060405180910390f35b6100bb6101e6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610113600480360360208110156100fd57600080fd5b810190808035906020019092919050505061020a565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156101dd5760008190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156101c357600080fd5b505af11580156101d7573d6000803e3d6000fd5b50505050505b50565b60015481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561026657806001819055505b5056fea26469706673582212206e5d0441122dbe0dff89068ada8bd4dc77aff4a709b45219e239268a9bfa623b64736f6c63430007060033", + "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"last_completed_migration\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"completed\",\"type\":\"uint256\"}],\"name\":\"setCompleted\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"new_address\",\"type\":\"address\"}],\"name\":\"upgrade\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/src/contracts/Migrations.sol\":\"Migrations\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/src/contracts/Migrations.sol\":{\"keccak256\":\"0x422a3f908abd65287316c0ce3dbef5e94053804998a0fc2eb1661eaa177eaa99\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e1d03b9cde59f232a624d8273c4f62138758396ceafdca4b73e1a2f97855fadd\",\"dweb:/ipfs/QmdyNbGwLAe3JehEsCCAfJkgGWgZ3JkMYZpFeXonVFnX3s\"]}},\"version\":1}", + "bytecode": "0x608060405234801561001057600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555061029f806100606000396000f3fe608060405234801561001057600080fd5b506004361061004c5760003560e01c80630900f01014610051578063445df0ac146100955780638da5cb5b146100b3578063fdacd576146100e7575b600080fd5b6100936004803603602081101561006757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610115565b005b61009d6101e0565b6040518082815260200191505060405180910390f35b6100bb6101e6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610113600480360360208110156100fd57600080fd5b810190808035906020019092919050505061020a565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156101dd5760008190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156101c357600080fd5b505af11580156101d7573d6000803e3d6000fd5b50505050505b50565b60015481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561026657806001819055505b5056fea26469706673582212204aae05a85038bafaa4a7442169aea932c239ad8ff7d5c91b69f9e4acf5e27d3564736f6c63430007060033", + "deployedBytecode": "0x608060405234801561001057600080fd5b506004361061004c5760003560e01c80630900f01014610051578063445df0ac146100955780638da5cb5b146100b3578063fdacd576146100e7575b600080fd5b6100936004803603602081101561006757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610115565b005b61009d6101e0565b6040518082815260200191505060405180910390f35b6100bb6101e6565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610113600480360360208110156100fd57600080fd5b810190808035906020019092919050505061020a565b005b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156101dd5760008190508073ffffffffffffffffffffffffffffffffffffffff1663fdacd5766001546040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156101c357600080fd5b505af11580156101d7573d6000803e3d6000fd5b50505050505b50565b60015481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561026657806001819055505b5056fea26469706673582212204aae05a85038bafaa4a7442169aea932c239ad8ff7d5c91b69f9e4acf5e27d3564736f6c63430007060033", "immutableReferences": {}, "generatedSources": [], "deployedGeneratedSources": [], - "sourceMap": "66:473:2:-:0;;;155:43;;;;;;;;;;183:10;175:5;;:18;;;;;;;;;;;;;;;;;;66:473;;;;;;", - "deployedSourceMap": "66:473:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;372:165;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;114:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;90:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;265:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;372:165;248:5;;;;;;;;;;234:19;;:10;:19;;;230:26;;;434:19:::1;467:11;434:45;;485:8;:21;;;507:24;;485:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;255:1;230:26:::0;372:165;:::o;114:36::-;;;;:::o;90:20::-;;;;;;;;;;;;:::o;265:103::-;248:5;;;;;;;;;;234:19;;:10;:19;;;230:26;;;354:9:::1;327:24;:36;;;;230:26:::0;265:103;:::o", - "source": "// SPDX-License-Identifier: MIT\npragma solidity >=0.4.21 <0.8.0;\n\ncontract Migrations {\n address public owner;\n uint public last_completed_migration;\n\n constructor() {\n owner = msg.sender;\n }\n\n modifier restricted() {\n if (msg.sender == owner) _;\n }\n\n function setCompleted(uint completed) public restricted {\n last_completed_migration = completed;\n }\n\n function upgrade(address new_address) public restricted {\n Migrations upgraded = Migrations(new_address);\n upgraded.setCompleted(last_completed_migration);\n }\n}\n", - "sourcePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/Migrations.sol", + "sourceMap": "69:493:1:-:0;;;162:45;;;;;;;;;;191:10;183:5;;:18;;;;;;;;;;;;;;;;;;69:493;;;;;;", + "deployedSourceMap": "69:493:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;391:168;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;119:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;94:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;280:105;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;391:168;260:5;;;;;;;;;;246:19;;:10;:19;;;242:26;;;454:19:::1;487:11;454:45;;506:8;:21;;;528:24;;506:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;267:1;242:26:::0;391:168;:::o;119:36::-;;;;:::o;94:20::-;;;;;;;;;;;;:::o;280:105::-;260:5;;;;;;;;;;246:19;;:10;:19;;;242:26;;;370:9:::1;343:24;:36;;;;242:26:::0;280:105;:::o", + "source": "// SPDX-License-Identifier: MIT\r\npragma solidity >=0.4.21 <0.8.0;\r\n\r\ncontract Migrations {\r\n address public owner;\r\n uint public last_completed_migration;\r\n\r\n constructor() {\r\n owner = msg.sender;\r\n }\r\n\r\n modifier restricted() {\r\n if (msg.sender == owner) _;\r\n }\r\n\r\n function setCompleted(uint completed) public restricted {\r\n last_completed_migration = completed;\r\n }\r\n\r\n function upgrade(address new_address) public restricted {\r\n Migrations upgraded = Migrations(new_address);\r\n upgraded.setCompleted(last_completed_migration);\r\n }\r\n}\r\n", + "sourcePath": "C:\\Users\\Noahm\\cryptoboys-nft-marketplace\\src\\contracts\\Migrations.sol", "ast": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/Migrations.sol", + "absolutePath": "project:/src/contracts/Migrations.sol", "exportedSymbols": { "Migrations": [ - 3555 + 3047 ] }, - "id": 3556, + "id": 3048, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 3500, + "id": 2992, "literals": [ "solidity", ">=", @@ -94,7 +92,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "32:32:2" + "src": "33:32:1" }, { "abstract": false, @@ -102,9 +100,9 @@ "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, - "id": 3555, + "id": 3047, "linearizedBaseContracts": [ - 3555 + 3047 ], "name": "Migrations", "nodeType": "ContractDefinition", @@ -112,12 +110,12 @@ { "constant": false, "functionSelector": "8da5cb5b", - "id": 3502, + "id": 2994, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3555, - "src": "90:20:2", + "scope": 3047, + "src": "94:20:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -125,10 +123,10 @@ "typeString": "address" }, "typeName": { - "id": 3501, + "id": 2993, "name": "address", "nodeType": "ElementaryTypeName", - "src": "90:7:2", + "src": "94:7:1", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -140,12 +138,12 @@ { "constant": false, "functionSelector": "445df0ac", - "id": 3504, + "id": 2996, "mutability": "mutable", "name": "last_completed_migration", "nodeType": "VariableDeclaration", - "scope": 3555, - "src": "114:36:2", + "scope": 3047, + "src": "119:36:1", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -153,10 +151,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3503, + "id": 2995, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "114:4:2", + "src": "119:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -166,24 +164,24 @@ }, { "body": { - "id": 3512, + "id": 3004, "nodeType": "Block", - "src": "169:29:2", + "src": "176:31:1", "statements": [ { "expression": { - "id": 3510, + "id": 3002, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 3507, + "id": 2999, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3502, - "src": "175:5:2", + "referencedDeclaration": 2994, + "src": "183:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -193,71 +191,71 @@ "operator": "=", "rightHandSide": { "expression": { - "id": 3508, + "id": 3000, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "183:3:2", + "src": "191:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 3509, + "id": 3001, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "183:10:2", + "src": "191:10:1", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "175:18:2", + "src": "183:18:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3511, + "id": 3003, "nodeType": "ExpressionStatement", - "src": "175:18:2" + "src": "183:18:1" } ] }, - "id": 3513, + "id": 3005, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 3505, + "id": 2997, "nodeType": "ParameterList", "parameters": [], - "src": "166:2:2" + "src": "173:2:1" }, "returnParameters": { - "id": 3506, + "id": 2998, "nodeType": "ParameterList", "parameters": [], - "src": "169:0:2" + "src": "176:0:1" }, - "scope": 3555, - "src": "155:43:2", + "scope": 3047, + "src": "162:45:1", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { "body": { - "id": 3521, + "id": 3013, "nodeType": "Block", - "src": "224:37:2", + "src": "235:39:1", "statements": [ { "condition": { @@ -265,32 +263,32 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3518, + "id": 3010, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 3515, + "id": 3007, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "234:3:2", + "src": "246:3:1", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 3516, + "id": 3008, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "234:10:2", + "src": "246:10:1", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" @@ -299,67 +297,67 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3517, + "id": 3009, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3502, - "src": "248:5:2", + "referencedDeclaration": 2994, + "src": "260:5:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "234:19:2", + "src": "246:19:1", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3520, + "id": 3012, "nodeType": "IfStatement", - "src": "230:26:2", + "src": "242:26:1", "trueBody": { - "id": 3519, + "id": 3011, "nodeType": "PlaceholderStatement", - "src": "255:1:2" + "src": "267:1:1" } } ] }, - "id": 3522, + "id": 3014, "name": "restricted", "nodeType": "ModifierDefinition", "parameters": { - "id": 3514, + "id": 3006, "nodeType": "ParameterList", "parameters": [], - "src": "221:2:2" + "src": "232:2:1" }, - "src": "202:59:2", + "src": "213:61:1", "virtual": false, "visibility": "internal" }, { "body": { - "id": 3533, + "id": 3025, "nodeType": "Block", - "src": "321:47:2", + "src": "336:49:1", "statements": [ { "expression": { - "id": 3531, + "id": 3023, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 3529, + "id": 3021, "name": "last_completed_migration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3504, - "src": "327:24:2", + "referencedDeclaration": 2996, + "src": "343:24:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -368,66 +366,66 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3530, + "id": 3022, "name": "completed", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3524, - "src": "354:9:2", + "referencedDeclaration": 3016, + "src": "370:9:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "327:36:2", + "src": "343:36:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 3532, + "id": 3024, "nodeType": "ExpressionStatement", - "src": "327:36:2" + "src": "343:36:1" } ] }, "functionSelector": "fdacd576", - "id": 3534, + "id": 3026, "implemented": true, "kind": "function", "modifiers": [ { - "id": 3527, + "id": 3019, "modifierName": { - "id": 3526, + "id": 3018, "name": "restricted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3522, - "src": "310:10:2", + "referencedDeclaration": 3014, + "src": "325:10:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "310:10:2" + "src": "325:10:1" } ], "name": "setCompleted", "nodeType": "FunctionDefinition", "parameters": { - "id": 3525, + "id": 3017, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3524, + "id": 3016, "mutability": "mutable", "name": "completed", "nodeType": "VariableDeclaration", - "scope": 3534, - "src": "287:14:2", + "scope": 3026, + "src": "302:14:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -435,10 +433,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3523, + "id": 3015, "name": "uint", "nodeType": "ElementaryTypeName", - "src": "287:4:2", + "src": "302:4:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -447,69 +445,69 @@ "visibility": "internal" } ], - "src": "286:16:2" + "src": "301:16:1" }, "returnParameters": { - "id": 3528, + "id": 3020, "nodeType": "ParameterList", "parameters": [], - "src": "321:0:2" + "src": "336:0:1" }, - "scope": 3555, - "src": "265:103:2", + "scope": 3047, + "src": "280:105:1", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { "body": { - "id": 3553, + "id": 3045, "nodeType": "Block", - "src": "428:109:2", + "src": "447:112:1", "statements": [ { "assignments": [ - 3542 + 3034 ], "declarations": [ { "constant": false, - "id": 3542, + "id": 3034, "mutability": "mutable", "name": "upgraded", "nodeType": "VariableDeclaration", - "scope": 3553, - "src": "434:19:2", + "scope": 3045, + "src": "454:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$3555", + "typeIdentifier": "t_contract$_Migrations_$3047", "typeString": "contract Migrations" }, "typeName": { - "id": 3541, + "id": 3033, "name": "Migrations", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 3555, - "src": "434:10:2", + "referencedDeclaration": 3047, + "src": "454:10:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$3555", + "typeIdentifier": "t_contract$_Migrations_$3047", "typeString": "contract Migrations" } }, "visibility": "internal" } ], - "id": 3546, + "id": 3038, "initialValue": { "arguments": [ { - "id": 3544, + "id": 3036, "name": "new_address", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3536, - "src": "467:11:2", + "referencedDeclaration": 3028, + "src": "487:11:1", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -523,18 +521,18 @@ "typeString": "address" } ], - "id": 3543, + "id": 3035, "name": "Migrations", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3555, - "src": "456:10:2", + "referencedDeclaration": 3047, + "src": "476:10:1", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_Migrations_$3555_$", + "typeIdentifier": "t_type$_t_contract$_Migrations_$3047_$", "typeString": "type(contract Migrations)" } }, - "id": 3545, + "id": 3037, "isConstant": false, "isLValue": false, "isPure": false, @@ -542,26 +540,26 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "456:23:2", + "src": "476:23:1", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$3555", + "typeIdentifier": "t_contract$_Migrations_$3047", "typeString": "contract Migrations" } }, "nodeType": "VariableDeclarationStatement", - "src": "434:45:2" + "src": "454:45:1" }, { "expression": { "arguments": [ { - "id": 3550, + "id": 3042, "name": "last_completed_migration", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3504, - "src": "507:24:2", + "referencedDeclaration": 2996, + "src": "528:24:1", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -576,32 +574,32 @@ } ], "expression": { - "id": 3547, + "id": 3039, "name": "upgraded", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3542, - "src": "485:8:2", + "referencedDeclaration": 3034, + "src": "506:8:1", "typeDescriptions": { - "typeIdentifier": "t_contract$_Migrations_$3555", + "typeIdentifier": "t_contract$_Migrations_$3047", "typeString": "contract Migrations" } }, - "id": 3549, + "id": 3041, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "setCompleted", "nodeType": "MemberAccess", - "referencedDeclaration": 3534, - "src": "485:21:2", + "referencedDeclaration": 3026, + "src": "506:21:1", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_uint256_$returns$__$", "typeString": "function (uint256) external" } }, - "id": 3551, + "id": 3043, "isConstant": false, "isLValue": false, "isPure": false, @@ -609,56 +607,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "485:47:2", + "src": "506:47:1", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3552, + "id": 3044, "nodeType": "ExpressionStatement", - "src": "485:47:2" + "src": "506:47:1" } ] }, "functionSelector": "0900f010", - "id": 3554, + "id": 3046, "implemented": true, "kind": "function", "modifiers": [ { - "id": 3539, + "id": 3031, "modifierName": { - "id": 3538, + "id": 3030, "name": "restricted", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3522, - "src": "417:10:2", + "referencedDeclaration": 3014, + "src": "436:10:1", "typeDescriptions": { "typeIdentifier": "t_modifier$__$", "typeString": "modifier ()" } }, "nodeType": "ModifierInvocation", - "src": "417:10:2" + "src": "436:10:1" } ], "name": "upgrade", "nodeType": "FunctionDefinition", "parameters": { - "id": 3537, + "id": 3029, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3536, + "id": 3028, "mutability": "mutable", "name": "new_address", "nodeType": "VariableDeclaration", - "scope": 3554, - "src": "389:19:2", + "scope": 3046, + "src": "408:19:1", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -666,10 +664,10 @@ "typeString": "address" }, "typeName": { - "id": 3535, + "id": 3027, "name": "address", "nodeType": "ElementaryTypeName", - "src": "389:7:2", + "src": "408:7:1", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -679,33 +677,33 @@ "visibility": "internal" } ], - "src": "388:21:2" + "src": "407:21:1" }, "returnParameters": { - "id": 3540, + "id": 3032, "nodeType": "ParameterList", "parameters": [], - "src": "428:0:2" + "src": "447:0:1" }, - "scope": 3555, - "src": "372:165:2", + "scope": 3047, + "src": "391:168:1", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" } ], - "scope": 3556, - "src": "66:473:2" + "scope": 3048, + "src": "69:493:1" } ], - "src": "32:508:2" + "src": "33:531:1" }, "legacyAST": { "attributes": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/Migrations.sol", + "absolutePath": "project:/src/contracts/Migrations.sol", "exportedSymbols": { "Migrations": [ - 3555 + 3047 ] }, "license": "MIT" @@ -723,9 +721,9 @@ ".0" ] }, - "id": 3500, + "id": 2992, "name": "PragmaDirective", - "src": "32:32:2" + "src": "33:32:1" }, { "attributes": { @@ -739,10 +737,10 @@ "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 3555 + 3047 ], "name": "Migrations", - "scope": 3556 + "scope": 3048 }, "children": [ { @@ -751,7 +749,7 @@ "functionSelector": "8da5cb5b", "mutability": "mutable", "name": "owner", - "scope": 3555, + "scope": 3047, "stateVariable": true, "storageLocation": "default", "type": "address", @@ -764,14 +762,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3501, + "id": 2993, "name": "ElementaryTypeName", - "src": "90:7:2" + "src": "94:7:1" } ], - "id": 3502, + "id": 2994, "name": "VariableDeclaration", - "src": "90:20:2" + "src": "94:20:1" }, { "attributes": { @@ -779,7 +777,7 @@ "functionSelector": "445df0ac", "mutability": "mutable", "name": "last_completed_migration", - "scope": 3555, + "scope": 3047, "stateVariable": true, "storageLocation": "default", "type": "uint256", @@ -791,14 +789,14 @@ "name": "uint", "type": "uint256" }, - "id": 3503, + "id": 2995, "name": "ElementaryTypeName", - "src": "114:4:2" + "src": "119:4:1" } ], - "id": 3504, + "id": 2996, "name": "VariableDeclaration", - "src": "114:36:2" + "src": "119:36:1" }, { "attributes": { @@ -809,7 +807,7 @@ null ], "name": "", - "scope": 3555, + "scope": 3047, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -822,9 +820,9 @@ ] }, "children": [], - "id": 3505, + "id": 2997, "name": "ParameterList", - "src": "166:2:2" + "src": "173:2:1" }, { "attributes": { @@ -833,9 +831,9 @@ ] }, "children": [], - "id": 3506, + "id": 2998, "name": "ParameterList", - "src": "169:0:2" + "src": "176:0:1" }, { "children": [ @@ -856,13 +854,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3502, + "referencedDeclaration": 2994, "type": "address", "value": "owner" }, - "id": 3507, + "id": 2999, "name": "Identifier", - "src": "175:5:2" + "src": "183:5:1" }, { "attributes": { @@ -883,34 +881,34 @@ "type": "msg", "value": "msg" }, - "id": 3508, + "id": 3000, "name": "Identifier", - "src": "183:3:2" + "src": "191:3:1" } ], - "id": 3509, + "id": 3001, "name": "MemberAccess", - "src": "183:10:2" + "src": "191:10:1" } ], - "id": 3510, + "id": 3002, "name": "Assignment", - "src": "175:18:2" + "src": "183:18:1" } ], - "id": 3511, + "id": 3003, "name": "ExpressionStatement", - "src": "175:18:2" + "src": "183:18:1" } ], - "id": 3512, + "id": 3004, "name": "Block", - "src": "169:29:2" + "src": "176:31:1" } ], - "id": 3513, + "id": 3005, "name": "FunctionDefinition", - "src": "155:43:2" + "src": "162:45:1" }, { "attributes": { @@ -926,9 +924,9 @@ ] }, "children": [], - "id": 3514, + "id": 3006, "name": "ParameterList", - "src": "221:2:2" + "src": "232:2:1" }, { "children": [ @@ -968,52 +966,52 @@ "type": "msg", "value": "msg" }, - "id": 3515, + "id": 3007, "name": "Identifier", - "src": "234:3:2" + "src": "246:3:1" } ], - "id": 3516, + "id": 3008, "name": "MemberAccess", - "src": "234:10:2" + "src": "246:10:1" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3502, + "referencedDeclaration": 2994, "type": "address", "value": "owner" }, - "id": 3517, + "id": 3009, "name": "Identifier", - "src": "248:5:2" + "src": "260:5:1" } ], - "id": 3518, + "id": 3010, "name": "BinaryOperation", - "src": "234:19:2" + "src": "246:19:1" }, { - "id": 3519, + "id": 3011, "name": "PlaceholderStatement", - "src": "255:1:2" + "src": "267:1:1" } ], - "id": 3520, + "id": 3012, "name": "IfStatement", - "src": "230:26:2" + "src": "242:26:1" } ], - "id": 3521, + "id": 3013, "name": "Block", - "src": "224:37:2" + "src": "235:39:1" } ], - "id": 3522, + "id": 3014, "name": "ModifierDefinition", - "src": "202:59:2" + "src": "213:61:1" }, { "attributes": { @@ -1022,7 +1020,7 @@ "isConstructor": false, "kind": "function", "name": "setCompleted", - "scope": 3555, + "scope": 3047, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -1035,7 +1033,7 @@ "constant": false, "mutability": "mutable", "name": "completed", - "scope": 3534, + "scope": 3026, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -1047,19 +1045,19 @@ "name": "uint", "type": "uint256" }, - "id": 3523, + "id": 3015, "name": "ElementaryTypeName", - "src": "287:4:2" + "src": "302:4:1" } ], - "id": 3524, + "id": 3016, "name": "VariableDeclaration", - "src": "287:14:2" + "src": "302:14:1" } ], - "id": 3525, + "id": 3017, "name": "ParameterList", - "src": "286:16:2" + "src": "301:16:1" }, { "attributes": { @@ -1068,9 +1066,9 @@ ] }, "children": [], - "id": 3528, + "id": 3020, "name": "ParameterList", - "src": "321:0:2" + "src": "336:0:1" }, { "attributes": {}, @@ -1080,18 +1078,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3522, + "referencedDeclaration": 3014, "type": "modifier ()", "value": "restricted" }, - "id": 3526, + "id": 3018, "name": "Identifier", - "src": "310:10:2" + "src": "325:10:1" } ], - "id": 3527, + "id": 3019, "name": "ModifierInvocation", - "src": "310:10:2" + "src": "325:10:1" }, { "children": [ @@ -1112,46 +1110,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3504, + "referencedDeclaration": 2996, "type": "uint256", "value": "last_completed_migration" }, - "id": 3529, + "id": 3021, "name": "Identifier", - "src": "327:24:2" + "src": "343:24:1" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3524, + "referencedDeclaration": 3016, "type": "uint256", "value": "completed" }, - "id": 3530, + "id": 3022, "name": "Identifier", - "src": "354:9:2" + "src": "370:9:1" } ], - "id": 3531, + "id": 3023, "name": "Assignment", - "src": "327:36:2" + "src": "343:36:1" } ], - "id": 3532, + "id": 3024, "name": "ExpressionStatement", - "src": "327:36:2" + "src": "343:36:1" } ], - "id": 3533, + "id": 3025, "name": "Block", - "src": "321:47:2" + "src": "336:49:1" } ], - "id": 3534, + "id": 3026, "name": "FunctionDefinition", - "src": "265:103:2" + "src": "280:105:1" }, { "attributes": { @@ -1160,7 +1158,7 @@ "isConstructor": false, "kind": "function", "name": "upgrade", - "scope": 3555, + "scope": 3047, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -1173,7 +1171,7 @@ "constant": false, "mutability": "mutable", "name": "new_address", - "scope": 3554, + "scope": 3046, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -1186,19 +1184,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3535, + "id": 3027, "name": "ElementaryTypeName", - "src": "389:7:2" + "src": "408:7:1" } ], - "id": 3536, + "id": 3028, "name": "VariableDeclaration", - "src": "389:19:2" + "src": "408:19:1" } ], - "id": 3537, + "id": 3029, "name": "ParameterList", - "src": "388:21:2" + "src": "407:21:1" }, { "attributes": { @@ -1207,9 +1205,9 @@ ] }, "children": [], - "id": 3540, + "id": 3032, "name": "ParameterList", - "src": "428:0:2" + "src": "447:0:1" }, { "attributes": {}, @@ -1219,25 +1217,25 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3522, + "referencedDeclaration": 3014, "type": "modifier ()", "value": "restricted" }, - "id": 3538, + "id": 3030, "name": "Identifier", - "src": "417:10:2" + "src": "436:10:1" } ], - "id": 3539, + "id": 3031, "name": "ModifierInvocation", - "src": "417:10:2" + "src": "436:10:1" }, { "children": [ { "attributes": { "assignments": [ - 3542 + 3034 ] }, "children": [ @@ -1246,7 +1244,7 @@ "constant": false, "mutability": "mutable", "name": "upgraded", - "scope": 3553, + "scope": 3045, "stateVariable": false, "storageLocation": "default", "type": "contract Migrations", @@ -1256,17 +1254,17 @@ { "attributes": { "name": "Migrations", - "referencedDeclaration": 3555, + "referencedDeclaration": 3047, "type": "contract Migrations" }, - "id": 3541, + "id": 3033, "name": "UserDefinedTypeName", - "src": "434:10:2" + "src": "454:10:1" } ], - "id": 3542, + "id": 3034, "name": "VariableDeclaration", - "src": "434:19:2" + "src": "454:19:1" }, { "attributes": { @@ -1294,36 +1292,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3555, + "referencedDeclaration": 3047, "type": "type(contract Migrations)", "value": "Migrations" }, - "id": 3543, + "id": 3035, "name": "Identifier", - "src": "456:10:2" + "src": "476:10:1" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3536, + "referencedDeclaration": 3028, "type": "address", "value": "new_address" }, - "id": 3544, + "id": 3036, "name": "Identifier", - "src": "467:11:2" + "src": "487:11:1" } ], - "id": 3545, + "id": 3037, "name": "FunctionCall", - "src": "456:23:2" + "src": "476:23:1" } ], - "id": 3546, + "id": 3038, "name": "VariableDeclarationStatement", - "src": "434:45:2" + "src": "454:45:1" }, { "children": [ @@ -1355,7 +1353,7 @@ "isPure": false, "lValueRequested": false, "member_name": "setCompleted", - "referencedDeclaration": 3534, + "referencedDeclaration": 3026, "type": "function (uint256) external" }, "children": [ @@ -1364,61 +1362,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3542, + "referencedDeclaration": 3034, "type": "contract Migrations", "value": "upgraded" }, - "id": 3547, + "id": 3039, "name": "Identifier", - "src": "485:8:2" + "src": "506:8:1" } ], - "id": 3549, + "id": 3041, "name": "MemberAccess", - "src": "485:21:2" + "src": "506:21:1" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3504, + "referencedDeclaration": 2996, "type": "uint256", "value": "last_completed_migration" }, - "id": 3550, + "id": 3042, "name": "Identifier", - "src": "507:24:2" + "src": "528:24:1" } ], - "id": 3551, + "id": 3043, "name": "FunctionCall", - "src": "485:47:2" + "src": "506:47:1" } ], - "id": 3552, + "id": 3044, "name": "ExpressionStatement", - "src": "485:47:2" + "src": "506:47:1" } ], - "id": 3553, + "id": 3045, "name": "Block", - "src": "428:109:2" + "src": "447:112:1" } ], - "id": 3554, + "id": 3046, "name": "FunctionDefinition", - "src": "372:165:2" + "src": "391:168:1" } ], - "id": 3555, + "id": 3047, "name": "ContractDefinition", - "src": "66:473:2" + "src": "69:493:1" } ], - "id": 3556, + "id": 3048, "name": "SourceUnit", - "src": "32:508:2" + "src": "33:531:1" }, "compiler": { "name": "solc", @@ -1444,9 +1442,8 @@ "transactionHash": "0x45ade6371d82fefd9d56f89dc73118bc99f2dd474fa0e4dc242d87d4bcfd7ede" } }, - "schemaVersion": "3.3.4", - "updatedAt": "2021-03-13T13:42:33.729Z", - "networkType": "ethereum", + "schemaVersion": "3.4.3", + "updatedAt": "2021-10-13T09:55:47.984Z", "devdoc": { "kind": "dev", "methods": {}, diff --git a/src/abis/NFTCREATE.json b/src/abis/NFTCREATE.json new file mode 100644 index 0000000..421b8ed --- /dev/null +++ b/src/abis/NFTCREATE.json @@ -0,0 +1,23678 @@ +{ + "contractName": "BscBoys", + "abi": [ + { + "inputs": [], + "stateMutability": "nonpayable", + "type": "constructor" + }, + { + "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": 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": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "name": "allBscBoys", + "outputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + }, + { + "internalType": "string", + "name": "tokenName", + "type": "string" + }, + { + "internalType": "string", + "name": "tokenURI", + "type": "string" + }, + { + "internalType": "address payable", + "name": "mintedBy", + "type": "address" + }, + { + "internalType": "address payable", + "name": "currentOwner", + "type": "address" + }, + { + "internalType": "address payable", + "name": "previousOwner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "price", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "numberOfTransfers", + "type": "uint256" + }, + { + "internalType": "bool", + "name": "forSale", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "to", + "type": "address" + }, + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "approve", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + } + ], + "name": "balanceOf", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "baseURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "collectionName", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "collectionNameSymbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "name": "colorExists", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "cryptoBoyCounter", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "getApproved", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "address", + "name": "operator", + "type": "address" + } + ], + "name": "isApprovedForAll", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "name", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "ownerOf", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "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" + }, + { + "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" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "operator", + "type": "address" + }, + { + "internalType": "bool", + "name": "approved", + "type": "bool" + } + ], + "name": "setApprovalForAll", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "bytes4", + "name": "interfaceId", + "type": "bytes4" + } + ], + "name": "supportsInterface", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "symbol", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "tokenByIndex", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "name": "tokenNameExists", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "owner", + "type": "address" + }, + { + "internalType": "uint256", + "name": "index", + "type": "uint256" + } + ], + "name": "tokenOfOwnerByIndex", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256" + } + ], + "name": "tokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "name": "tokenURIExists", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "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" + }, + { + "inputs": [ + { + "internalType": "string", + "name": "_name", + "type": "string" + }, + { + "internalType": "string", + "name": "_tokenURI", + "type": "string" + }, + { + "internalType": "uint256", + "name": "_price", + "type": "uint256" + }, + { + "internalType": "string[]", + "name": "_colors", + "type": "string[]" + } + ], + "name": "mintCryptoBoy", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "getTokenOwner", + "outputs": [ + { + "internalType": "address", + "name": "", + "type": "address" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "getTokenMetaData", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [], + "name": "getNumberOfTokensMinted", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "address", + "name": "_owner", + "type": "address" + } + ], + "name": "getTotalNumberOfTokensOwnedByAnAddress", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "getTokenExists", + "outputs": [ + { + "internalType": "bool", + "name": "", + "type": "bool" + } + ], + "stateMutability": "view", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "buyToken", + "outputs": [], + "stateMutability": "payable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + }, + { + "internalType": "uint256", + "name": "_newPrice", + "type": "uint256" + } + ], + "name": "changeTokenPrice", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + }, + { + "inputs": [ + { + "internalType": "uint256", + "name": "_tokenId", + "type": "uint256" + } + ], + "name": "toggleForSale", + "outputs": [], + "stateMutability": "nonpayable", + "type": "function" + } + ], + "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":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\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"allBscBoys\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"string\",\"name\":\"tokenName\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"tokenURI\",\"type\":\"string\"},{\"internalType\":\"address payable\",\"name\":\"mintedBy\",\"type\":\"address\"},{\"internalType\":\"address payable\",\"name\":\"currentOwner\",\"type\":\"address\"},{\"internalType\":\"address payable\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"price\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"numberOfTransfers\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"forSale\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"buyToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_newPrice\",\"type\":\"uint256\"}],\"name\":\"changeTokenPrice\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collectionName\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"collectionNameSymbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"colorExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cryptoBoyCounter\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getNumberOfTokensMinted\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"getTokenExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"getTokenMetaData\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"getTokenOwner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"getTotalNumberOfTokensOwnedByAnAddress\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_tokenURI\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"_price\",\"type\":\"uint256\"},{\"internalType\":\"string[]\",\"name\":\"_colors\",\"type\":\"string[]\"}],\"name\":\"mintCryptoBoy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"},{\"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\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_tokenId\",\"type\":\"uint256\"}],\"name\":\"toggleForSale\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"tokenNameExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"name\":\"tokenURIExists\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"}],\"devdoc\":{\"kind\":\"dev\",\"methods\":{\"approve(address,uint256)\":{\"details\":\"See {IERC721-approve}.\"},\"balanceOf(address)\":{\"details\":\"See {IERC721-balanceOf}.\"},\"baseURI()\":{\"details\":\"Returns the base URI set via {_setBaseURI}. This will be automatically added as a prefix in {tokenURI} to each token's URI, or to the token ID if no specific URI is set for that token ID.\"},\"getApproved(uint256)\":{\"details\":\"See {IERC721-getApproved}.\"},\"isApprovedForAll(address,address)\":{\"details\":\"See {IERC721-isApprovedForAll}.\"},\"name()\":{\"details\":\"See {IERC721Metadata-name}.\"},\"ownerOf(uint256)\":{\"details\":\"See {IERC721-ownerOf}.\"},\"safeTransferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"safeTransferFrom(address,address,uint256,bytes)\":{\"details\":\"See {IERC721-safeTransferFrom}.\"},\"setApprovalForAll(address,bool)\":{\"details\":\"See {IERC721-setApprovalForAll}.\"},\"supportsInterface(bytes4)\":{\"details\":\"See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas.\"},\"symbol()\":{\"details\":\"See {IERC721Metadata-symbol}.\"},\"tokenByIndex(uint256)\":{\"details\":\"See {IERC721Enumerable-tokenByIndex}.\"},\"tokenOfOwnerByIndex(address,uint256)\":{\"details\":\"See {IERC721Enumerable-tokenOfOwnerByIndex}.\"},\"tokenURI(uint256)\":{\"details\":\"See {IERC721Metadata-tokenURI}.\"},\"totalSupply()\":{\"details\":\"See {IERC721Enumerable-totalSupply}.\"},\"transferFrom(address,address,uint256)\":{\"details\":\"See {IERC721-transferFrom}.\"}},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/src/contracts/BscBoys.sol\":\"BscBoys\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/src/contracts/ERC721.sol\":{\"keccak256\":\"0xbbf5d35e3785428d14b29cf40a6a1f82d9275af46f6f80ec5f330615911aa767\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e5479e3deda288fc9c642c0449113673031cb9834a3507621d5bd7e292969e16\",\"dweb:/ipfs/QmcKjBg55emL46LCBPRw1Y79fz3aGiMiQXFeWcDpJisEgJ\"]},\"project:/src/contracts/BscBoys.sol\":{\"keccak256\":\"0x10510425af8cb01021168131f4a79e2e9543f9891b8030f277408c518c9195b8\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://52b7cae84fb65d37df022ae89026e292ff432488a6e6f8bf9628fd1427b4988e\",\"dweb:/ipfs/Qmcd19cQM1spcKvHDrqomQKhYf1AA7HZFLYrz8BFBkrj7b\"]}},\"version\":1}", + "bytecode": "0x60806040523480156200001157600080fd5b506040518060400160405280601681526020017f43727970746f20426f797320436f6c6c656374696f6e000000000000000000008152506040518060400160405280600281526020017f4342000000000000000000000000000000000000000000000000000000000000815250620000966301ffc9a760e01b6200016860201b60201c565b8160069080519060200190620000ae929190620003bd565b508060079080519060200190620000c7929190620003bd565b50620000e06380ac58cd60e01b6200016860201b60201c565b620000f8635b5e139f60e01b6200016860201b60201c565b6200011063780e9d6360e01b6200016860201b60201c565b5050620001226200027160201b60201c565b600a908051906020019062000139929190620003bd565b506200014a6200031760201b60201c565b600b908051906020019062000161929190620003bd565b5062000473565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141562000205576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433136353a20696e76616c696420696e746572666163652069640000000081525060200191505060405180910390fd5b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b606060068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156200030d5780601f10620002e1576101008083540402835291602001916200030d565b820191906000526020600020905b815481529060010190602001808311620002ef57829003601f168201915b5050505050905090565b606060078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015620003b35780601f106200038757610100808354040283529160200191620003b3565b820191906000526020600020905b8154815290600101906020018083116200039557829003601f168201915b5050505050905090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282620003f5576000855562000441565b82601f106200041057805160ff191683800117855562000441565b8280016001018555821562000441579182015b828111156200044057825182559160200191906001019062000423565b5b50905062000450919062000454565b5090565b5b808211156200046f57600081600090555060010162000455565b5090565b614b4080620004836000396000f3fe6080604052600436106101ee5760003560e01c806367c623cf1161010d578063a32018b9116100a0578063bffec2021161006f578063bffec2021461078c578063c87b56dd146107b7578063cc151f3a146107f4578063e5326ab11461081f578063e985e9c51461084a576101ee565b8063a32018b9146106c0578063a46b1fac146106e9578063a5cd761f14610726578063b88d4fde14610763576101ee565b80638d44807c116100dc5780638d44807c1461060657806395d89b41146106435780639bfc5a591461066e578063a22cb46514610697576101ee565b806367c623cf146105365780636c0360eb146105735780636f9507f91461059e57806370a08231146105c9576101ee565b80632d296bf11161018557806343d32ae71161015457806343d32ae7146104565780634f6ccce71461049357806362e8e8ac146104d05780636352211e146104f9576101ee565b80632d296bf1146103975780632f745c59146103b357806342842e0e146103f05780634390285014610419576101ee565b8063142687f3116101c1578063142687f3146102c157806318160ddd146102fe578063202d04591461032957806323b872dd1461036e576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a600480360381019061021591906142c3565b610887565b6040516102279190614558565b60405180910390f35b34801561023c57600080fd5b506102456108ee565b6040516102529190614573565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d91906143dd565b610990565b60405161028f919061453d565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba9190614287565b610a2b565b005b3480156102cd57600080fd5b506102e860048036038101906102e391906143dd565b610b6f565b6040516102f59190614558565b60405180910390f35b34801561030a57600080fd5b50610313610b86565b6040516103209190614595565b60405180910390f35b34801561033557600080fd5b50610350600480360381019061034b91906143dd565b610b97565b604051610365999897969594939291906145b0565b60405180910390f35b34801561037a57600080fd5b5061039560048036038101906103909190614181565b610d82565b005b6103b160048036038101906103ac91906143dd565b610df8565b005b3480156103bf57600080fd5b506103da60048036038101906103d59190614287565b6113d1565b6040516103e79190614595565b60405180910390f35b3480156103fc57600080fd5b5061041760048036038101906104129190614181565b61142c565b005b34801561042557600080fd5b50610440600480360381019061043b919061411c565b61144c565b60405161044d9190614595565b60405180910390f35b34801561046257600080fd5b5061047d600480360381019061047891906142ec565b611463565b60405161048a9190614558565b60405180910390f35b34801561049f57600080fd5b506104ba60048036038101906104b591906143dd565b611499565b6040516104c79190614595565b60405180910390f35b3480156104dc57600080fd5b506104f760048036038101906104f29190614406565b6114bc565b005b34801561050557600080fd5b50610520600480360381019061051b91906143dd565b611964565b60405161052d919061453d565b60405180910390f35b34801561054257600080fd5b5061055d600480360381019061055891906143dd565b61199b565b60405161056a9190614573565b60405180910390f35b34801561057f57600080fd5b506105886119b3565b6040516105959190614573565b60405180910390f35b3480156105aa57600080fd5b506105b3611a55565b6040516105c09190614573565b60405180910390f35b3480156105d557600080fd5b506105f060048036038101906105eb919061411c565b611af3565b6040516105fd9190614595565b60405180910390f35b34801561061257600080fd5b5061062d600480360381019061062891906142ec565b611bc8565b60405161063a9190614558565b60405180910390f35b34801561064f57600080fd5b50610658611bfe565b6040516106659190614573565b60405180910390f35b34801561067a57600080fd5b506106956004803603810190610690919061432d565b611ca0565b005b3480156106a357600080fd5b506106be60048036038101906106b9919061424b565b6120d0565b005b3480156106cc57600080fd5b506106e760048036038101906106e291906143dd565b612286565b005b3480156106f557600080fd5b50610710600480360381019061070b91906142ec565b612758565b60405161071d9190614558565b60405180910390f35b34801561073257600080fd5b5061074d600480360381019061074891906143dd565b61278e565b60405161075a919061453d565b60405180910390f35b34801561076f57600080fd5b5061078a600480360381019061078591906141d0565b6127a5565b005b34801561079857600080fd5b506107a161281d565b6040516107ae9190614595565b60405180910390f35b3480156107c357600080fd5b506107de60048036038101906107d991906143dd565b612823565b6040516107eb9190614573565b60405180910390f35b34801561080057600080fd5b50610809612af4565b6040516108169190614595565b60405180910390f35b34801561082b57600080fd5b50610834612b08565b6040516108419190614573565b60405180910390f35b34801561085657600080fd5b50610871600480360381019061086c9190614145565b612ba6565b60405161087e9190614558565b60405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109865780601f1061095b57610100808354040283529160200191610986565b820191906000526020600020905b81548152906001019060200180831161096957829003601f168201915b5050505050905090565b600061099b82612c3a565b6109f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614a09602c913960400191505060405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a3682611964565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614ab96021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610adc612c57565b73ffffffffffffffffffffffffffffffffffffffff161480610b0b5750610b0a81610b05612c57565b612ba6565b5b610b60576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603881526020018061495c6038913960400191505060405180910390fd5b610b6a8383612c5f565b505050565b600080610b7b83612c3a565b905080915050919050565b6000610b926002612d18565b905090565b600d602052806000526040600020600091509050806000015490806001018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610c495780601f10610c1e57610100808354040283529160200191610c49565b820191906000526020600020905b815481529060010190602001808311610c2c57829003601f168201915b505050505090806002018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ce75780601f10610cbc57610100808354040283529160200191610ce7565b820191906000526020600020905b815481529060010190602001808311610cca57829003601f168201915b5050505050908060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060060154908060070154908060080160009054906101000a900460ff16905089565b610d93610d8d612c57565b82612d2d565b610de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614ada6031913960400191505060405180910390fd5b610df3838383612e21565b505050565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610e3257600080fd5b610e3b81612c3a565b610e4457600080fd5b6000610e4f82611964565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e8b57600080fd5b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ec457600080fd5b6000600d60008481526020019081526020016000206040518061012001604052908160008201548152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610f885780601f10610f5d57610100808354040283529160200191610f88565b820191906000526020600020905b815481529060010190602001808311610f6b57829003601f168201915b50505050508152602001600282018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561102a5780601f10610fff5761010080835404028352916020019161102a565b820191906000526020600020905b81548152906001019060200180831161100d57829003601f168201915b505050505081526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160068201548152602001600782015481526020016008820160009054906101000a900460ff16151515158152505090508060c0015134101561117757600080fd5b80610100015161118657600080fd5b611191823385612e21565b6000816080015190508073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f193505050501580156111e0573d6000803e3d6000fd5b5081608001518260a0019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505033826080019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060018260e001818151019150818152505081600d60008681526020019081526020016000206000820151816000015560208201518160010190805190602001906112a0929190613f03565b5060408201518160020190805190602001906112bd929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff02191690831515021790555090505050505050565b600061142482600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061306490919063ffffffff16565b905092915050565b611447838383604051806020016040528060008152506127a5565b505050565b60008061145883611af3565b905080915050919050565b6010818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b6000806114b083600261307e90919063ffffffff16565b50905080915050919050565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156114f657600080fd5b6114ff82612c3a565b61150857600080fd5b600061151383611964565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461154d57600080fd5b6000600d60008581526020019081526020016000206040518061012001604052908160008201548152602001600182018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156116115780601f106115e657610100808354040283529160200191611611565b820191906000526020600020905b8154815290600101906020018083116115f457829003601f168201915b50505050508152602001600282018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156116b35780601f10611688576101008083540402835291602001916116b3565b820191906000526020600020905b81548152906001019060200180831161169657829003601f168201915b505050505081526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160068201548152602001600782015481526020016008820160009054906101000a900460ff1615151515815250509050828160c001818152505080600d6000868152602001908152602001600020600082015181600001556020820151816001019080519060200190611833929190613f03565b506040820151816002019080519060200190611850929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff02191690831515021790555090505050505050565b6000611994826040518060600160405280602981526020016149be6029913960026130aa9092919063ffffffff16565b9050919050565b606060006119a883612823565b905080915050919050565b606060098054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611a4b5780601f10611a2057610100808354040283529160200191611a4b565b820191906000526020600020905b815481529060010190602001808311611a2e57829003601f168201915b5050505050905090565b600b8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611aeb5780601f10611ac057610100808354040283529160200191611aeb565b820191906000526020600020905b815481529060010190602001808311611ace57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b7a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614994602a913960400191505060405180910390fd5b611bc1600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206130c9565b9050919050565b600f818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b606060078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611c965780601f10611c6b57610100808354040283529160200191611c96565b820191906000526020600020905b815481529060010190602001808311611c7957829003601f168201915b5050505050905090565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611cda57600080fd5b600c60008154809291906001019190505550611cf7600c54612c3a565b15611d0157600080fd5b60005b82829050811015611d7057600f838383818110611d1d57fe5b9050602002810190611d2f919061464b565b604051611d3d92919061450d565b908152602001604051809103902060009054906101000a900460ff1615611d6357600080fd5b8080600101915050611d04565b50601084604051611d819190614526565b908152602001604051809103902060009054906101000a900460ff1615611da757600080fd5b600e85604051611db79190614526565b908152602001604051809103902060009054906101000a900460ff1615611ddd57600080fd5b611de933600c546130de565b611df5600c54856132d2565b60005b82829050811015611e65576001600f848484818110611e1357fe5b9050602002810190611e25919061464b565b604051611e3392919061450d565b908152602001604051809103902060006101000a81548160ff0219169083151502179055508080600101915050611df8565b506001601085604051611e789190614526565b908152602001604051809103902060006101000a81548160ff0219169083151502179055506001600e86604051611eaf9190614526565b908152602001604051809103902060006101000a81548160ff0219169083151502179055506000604051806101200160405280600c5481526020018781526020018681526020013373ffffffffffffffffffffffffffffffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018581526020016000815260200160011515815250905080600d6000600c548152602001908152602001600020600082015181600001556020820151816001019080519060200190611f9d929190613f03565b506040820151816002019080519060200190611fba929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff021916908315150217905550905050505050505050565b6120d8612c57565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612179576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b8060056000612186612c57565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612233612c57565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156122c057600080fd5b6122c981612c3a565b6122d257600080fd5b60006122dd82611964565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461231757600080fd5b6000600d60008481526020019081526020016000206040518061012001604052908160008201548152602001600182018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156123db5780601f106123b0576101008083540402835291602001916123db565b820191906000526020600020905b8154815290600101906020018083116123be57829003601f168201915b50505050508152602001600282018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561247d5780601f106124525761010080835404028352916020019161247d565b820191906000526020600020905b81548152906001019060200180831161246057829003601f168201915b505050505081526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160068201548152602001600782015481526020016008820160009054906101000a900460ff1615151515815250509050806101000151156125db576000816101000190151590811515815250506125ee565b6001816101000190151590811515815250505b80600d6000858152602001908152602001600020600082015181600001556020820151816001019080519060200190612628929190613f03565b506040820151816002019080519060200190612645929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff021916908315150217905550905050505050565b600e818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b60008061279a83611964565b905080915050919050565b6127b66127b0612c57565b83612d2d565b61280b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614ada6031913960400191505060405180910390fd5b6128178484848461335c565b50505050565b600c5481565b606061282e82612c3a565b612883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180614a8a602f913960400191505060405180910390fd5b6000600860008481526020019081526020016000208054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561292c5780601f106129015761010080835404028352916020019161292c565b820191906000526020600020905b81548152906001019060200180831161290f57829003601f168201915b50505050509050600061293d6119b3565b9050600081511415612953578192505050612aef565b600082511115612a245780826040516020018083805190602001908083835b602083106129955780518252602082019150602081019050602083039250612972565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106129e657805182526020820191506020810190506020830392506129c3565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050612aef565b80612a2e856133ce565b6040516020018083805190602001908083835b60208310612a645780518252602082019150602081019050602083039250612a41565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b60208310612ab55780518252602082019150602081019050602083039250612a92565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052925050505b919050565b600080612aff610b86565b90508091505090565b600a8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612b9e5780601f10612b7357610100808354040283529160200191612b9e565b820191906000526020600020905b815481529060010190602001808311612b8157829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000612c5082600261351590919063ffffffff16565b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612cd283611964565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612d268260000161352f565b9050919050565b6000612d3882612c3a565b612d8d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614930602c913960400191505060405180910390fd5b6000612d9883611964565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612e0757508373ffffffffffffffffffffffffffffffffffffffff16612def84610990565b73ffffffffffffffffffffffffffffffffffffffff16145b80612e185750612e178185612ba6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612e4182611964565b73ffffffffffffffffffffffffffffffffffffffff1614612ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180614a616029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806148e66024913960400191505060405180910390fd5b612f3e838383613540565b612f49600082612c5f565b612f9a81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061354590919063ffffffff16565b50612fec81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061355f90919063ffffffff16565b50613003818360026135799092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061307383600001836135ae565b60001c905092915050565b6000806000806130918660000186613631565b915091508160001c8160001c9350935050509250929050565b60006130bd846000018460001b846136ca565b60001c90509392505050565b60006130d7826000016137c0565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613181576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4552433732313a206d696e7420746f20746865207a65726f206164647265737381525060200191505060405180910390fd5b61318a81612c3a565b156131fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081525060200191505060405180910390fd5b61320960008383613540565b61325a81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061355f90919063ffffffff16565b50613271818360026135799092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6132db82612c3a565b613330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614a35602c913960400191505060405180910390fd5b80600860008481526020019081526020016000209080519060200190613357929190613f03565b505050565b613367848484612e21565b613373848484846137d1565b6133c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806148b46032913960400191505060405180910390fd5b50505050565b60606000821415613416576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613510565b600082905060005b60008214613440578080600101915050600a828161343857fe5b04915061341e565b60008167ffffffffffffffff8111801561345957600080fd5b506040519080825280601f01601f19166020018201604052801561348c5781602001600182028036833780820191505090505b50905060006001830390508593505b6000841461350857600a84816134ad57fe5b0660300160f81b828280600190039350815181106134c757fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a848161350057fe5b04935061349b565b819450505050505b919050565b6000613527836000018360001b6139ea565b905092915050565b600081600001805490509050919050565b505050565b6000613557836000018360001b613a0d565b905092915050565b6000613571836000018360001b613af5565b905092915050565b60006135a5846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b613b65565b90509392505050565b60008183600001805490501161360f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806148926022913960400191505060405180910390fd5b82600001828154811061361e57fe5b9060005260206000200154905092915050565b60008082846000018054905011613693576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806149e76022913960400191505060405180910390fd5b60008460000184815481106136a457fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390613791576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561375657808201518184015260208101905061373b565b50505050905090810190601f1680156137835780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508460000160018203815481106137a457fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b60006137f28473ffffffffffffffffffffffffffffffffffffffff16613c41565b6137ff57600190506139e2565b600061396963150b7a0260e01b613814612c57565b888787604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561389857808201518184015260208101905061387d565b50505050905090810190601f1680156138c55780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060600160405280603281526020016148b4603291398773ffffffffffffffffffffffffffffffffffffffff16613c549092919063ffffffff16565b9050600081806020019051602081101561398257600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b600080836001016000848152602001908152602001600020541415905092915050565b60008083600101600084815260200190815260200160002054905060008114613ae95760006001820390506000600186600001805490500390506000866000018281548110613a5857fe5b9060005260206000200154905080876000018481548110613a7557fe5b9060005260206000200181905550600183018760010160008381526020019081526020016000208190555086600001805480613aad57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050613aef565b60009150505b92915050565b6000613b018383613c6c565b613b5a578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050613b5f565b600090505b92915050565b6000808460010160008581526020019081526020016000205490506000811415613c0c57846000016040518060400160405280868152602001858152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550508460000180549050856001016000868152602001908152602001600020819055506001915050613c3a565b82856000016001830381548110613c1f57fe5b90600052602060002090600202016001018190555060009150505b9392505050565b600080823b905060008111915050919050565b6060613c638484600085613c8f565b90509392505050565b600080836001016000848152602001908152602001600020541415905092915050565b606082471015613cea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061490a6026913960400191505060405180910390fd5b613cf385613c41565b613d65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310613db45780518252602082019150602081019050602083039250613d91565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613e16576040519150601f19603f3d011682016040523d82523d6000602084013e613e1b565b606091505b5091509150613e2b828286613e37565b92505050949350505050565b60608315613e4757829050613efc565b600083511115613e5a5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613ec1578082015181840152602081019050613ea6565b50505050905090810190601f168015613eee5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282613f395760008555613f80565b82601f10613f5257805160ff1916838001178555613f80565b82800160010185558215613f80579182015b82811115613f7f578251825591602001919060010190613f64565b5b509050613f8d9190613f91565b5090565b5b80821115613faa576000816000905550600101613f92565b5090565b6000613fc1613fbc846146d3565b6146a2565b905082815260208101848484011115613fd957600080fd5b613fe48482856147e0565b509392505050565b6000613fff613ffa84614703565b6146a2565b90508281526020810184848401111561401757600080fd5b6140228482856147e0565b509392505050565b60008135905061403981614835565b92915050565b60008083601f84011261405157600080fd5b8235905067ffffffffffffffff81111561406a57600080fd5b60208301915083602082028301111561408257600080fd5b9250929050565b6000813590506140988161484c565b92915050565b6000813590506140ad81614863565b92915050565b600082601f8301126140c457600080fd5b81356140d4848260208601613fae565b91505092915050565b600082601f8301126140ee57600080fd5b81356140fe848260208601613fec565b91505092915050565b6000813590506141168161487a565b92915050565b60006020828403121561412e57600080fd5b600061413c8482850161402a565b91505092915050565b6000806040838503121561415857600080fd5b60006141668582860161402a565b92505060206141778582860161402a565b9150509250929050565b60008060006060848603121561419657600080fd5b60006141a48682870161402a565b93505060206141b58682870161402a565b92505060406141c686828701614107565b9150509250925092565b600080600080608085870312156141e657600080fd5b60006141f48782880161402a565b94505060206142058782880161402a565b935050604061421687828801614107565b925050606085013567ffffffffffffffff81111561423357600080fd5b61423f878288016140b3565b91505092959194509250565b6000806040838503121561425e57600080fd5b600061426c8582860161402a565b925050602061427d85828601614089565b9150509250929050565b6000806040838503121561429a57600080fd5b60006142a88582860161402a565b92505060206142b985828601614107565b9150509250929050565b6000602082840312156142d557600080fd5b60006142e38482850161409e565b91505092915050565b6000602082840312156142fe57600080fd5b600082013567ffffffffffffffff81111561431857600080fd5b614324848285016140dd565b91505092915050565b60008060008060006080868803121561434557600080fd5b600086013567ffffffffffffffff81111561435f57600080fd5b61436b888289016140dd565b955050602086013567ffffffffffffffff81111561438857600080fd5b614394888289016140dd565b94505060406143a588828901614107565b935050606086013567ffffffffffffffff8111156143c257600080fd5b6143ce8882890161403f565b92509250509295509295909350565b6000602082840312156143ef57600080fd5b60006143fd84828501614107565b91505092915050565b6000806040838503121561441957600080fd5b600061442785828601614107565b925050602061443885828601614107565b9150509250929050565b61444b8161476c565b82525050565b61445a8161475a565b82525050565b6144698161477e565b82525050565b600061447b838561474f565b93506144888385846147e0565b82840190509392505050565b600061449f82614733565b6144a9818561473e565b93506144b98185602086016147ef565b6144c281614824565b840191505092915050565b60006144d882614733565b6144e2818561474f565b93506144f28185602086016147ef565b80840191505092915050565b614507816147d6565b82525050565b600061451a82848661446f565b91508190509392505050565b600061453282846144cd565b915081905092915050565b60006020820190506145526000830184614451565b92915050565b600060208201905061456d6000830184614460565b92915050565b6000602082019050818103600083015261458d8184614494565b905092915050565b60006020820190506145aa60008301846144fe565b92915050565b6000610120820190506145c6600083018c6144fe565b81810360208301526145d8818b614494565b905081810360408301526145ec818a614494565b90506145fb6060830189614442565b6146086080830188614442565b61461560a0830187614442565b61462260c08301866144fe565b61462f60e08301856144fe565b61463d610100830184614460565b9a9950505050505050505050565b6000808335600160200384360303811261466457600080fd5b80840192508235915067ffffffffffffffff82111561468257600080fd5b60208301925060018202360383131561469a57600080fd5b509250929050565b6000604051905081810181811067ffffffffffffffff821117156146c9576146c8614822565b5b8060405250919050565b600067ffffffffffffffff8211156146ee576146ed614822565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561471e5761471d614822565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000614765826147b6565b9050919050565b6000614777826147b6565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561480d5780820151818401526020810190506147f2565b8381111561481c576000848401525b50505050565bfe5b6000601f19601f8301169050919050565b61483e8161475a565b811461484957600080fd5b50565b6148558161477e565b811461486057600080fd5b50565b61486c8161478a565b811461487757600080fd5b50565b614883816147d6565b811461488e57600080fd5b5056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a2646970667358221220eb25f577845f1279d45a8e120a017b37d8ad7c058f3d6c029e75920a0902c40e64736f6c63430007060033", + "deployedBytecode": "0x6080604052600436106101ee5760003560e01c806367c623cf1161010d578063a32018b9116100a0578063bffec2021161006f578063bffec2021461078c578063c87b56dd146107b7578063cc151f3a146107f4578063e5326ab11461081f578063e985e9c51461084a576101ee565b8063a32018b9146106c0578063a46b1fac146106e9578063a5cd761f14610726578063b88d4fde14610763576101ee565b80638d44807c116100dc5780638d44807c1461060657806395d89b41146106435780639bfc5a591461066e578063a22cb46514610697576101ee565b806367c623cf146105365780636c0360eb146105735780636f9507f91461059e57806370a08231146105c9576101ee565b80632d296bf11161018557806343d32ae71161015457806343d32ae7146104565780634f6ccce71461049357806362e8e8ac146104d05780636352211e146104f9576101ee565b80632d296bf1146103975780632f745c59146103b357806342842e0e146103f05780634390285014610419576101ee565b8063142687f3116101c1578063142687f3146102c157806318160ddd146102fe578063202d04591461032957806323b872dd1461036e576101ee565b806301ffc9a7146101f357806306fdde0314610230578063081812fc1461025b578063095ea7b314610298575b600080fd5b3480156101ff57600080fd5b5061021a600480360381019061021591906142c3565b610887565b6040516102279190614558565b60405180910390f35b34801561023c57600080fd5b506102456108ee565b6040516102529190614573565b60405180910390f35b34801561026757600080fd5b50610282600480360381019061027d91906143dd565b610990565b60405161028f919061453d565b60405180910390f35b3480156102a457600080fd5b506102bf60048036038101906102ba9190614287565b610a2b565b005b3480156102cd57600080fd5b506102e860048036038101906102e391906143dd565b610b6f565b6040516102f59190614558565b60405180910390f35b34801561030a57600080fd5b50610313610b86565b6040516103209190614595565b60405180910390f35b34801561033557600080fd5b50610350600480360381019061034b91906143dd565b610b97565b604051610365999897969594939291906145b0565b60405180910390f35b34801561037a57600080fd5b5061039560048036038101906103909190614181565b610d82565b005b6103b160048036038101906103ac91906143dd565b610df8565b005b3480156103bf57600080fd5b506103da60048036038101906103d59190614287565b6113d1565b6040516103e79190614595565b60405180910390f35b3480156103fc57600080fd5b5061041760048036038101906104129190614181565b61142c565b005b34801561042557600080fd5b50610440600480360381019061043b919061411c565b61144c565b60405161044d9190614595565b60405180910390f35b34801561046257600080fd5b5061047d600480360381019061047891906142ec565b611463565b60405161048a9190614558565b60405180910390f35b34801561049f57600080fd5b506104ba60048036038101906104b591906143dd565b611499565b6040516104c79190614595565b60405180910390f35b3480156104dc57600080fd5b506104f760048036038101906104f29190614406565b6114bc565b005b34801561050557600080fd5b50610520600480360381019061051b91906143dd565b611964565b60405161052d919061453d565b60405180910390f35b34801561054257600080fd5b5061055d600480360381019061055891906143dd565b61199b565b60405161056a9190614573565b60405180910390f35b34801561057f57600080fd5b506105886119b3565b6040516105959190614573565b60405180910390f35b3480156105aa57600080fd5b506105b3611a55565b6040516105c09190614573565b60405180910390f35b3480156105d557600080fd5b506105f060048036038101906105eb919061411c565b611af3565b6040516105fd9190614595565b60405180910390f35b34801561061257600080fd5b5061062d600480360381019061062891906142ec565b611bc8565b60405161063a9190614558565b60405180910390f35b34801561064f57600080fd5b50610658611bfe565b6040516106659190614573565b60405180910390f35b34801561067a57600080fd5b506106956004803603810190610690919061432d565b611ca0565b005b3480156106a357600080fd5b506106be60048036038101906106b9919061424b565b6120d0565b005b3480156106cc57600080fd5b506106e760048036038101906106e291906143dd565b612286565b005b3480156106f557600080fd5b50610710600480360381019061070b91906142ec565b612758565b60405161071d9190614558565b60405180910390f35b34801561073257600080fd5b5061074d600480360381019061074891906143dd565b61278e565b60405161075a919061453d565b60405180910390f35b34801561076f57600080fd5b5061078a600480360381019061078591906141d0565b6127a5565b005b34801561079857600080fd5b506107a161281d565b6040516107ae9190614595565b60405180910390f35b3480156107c357600080fd5b506107de60048036038101906107d991906143dd565b612823565b6040516107eb9190614573565b60405180910390f35b34801561080057600080fd5b50610809612af4565b6040516108169190614595565b60405180910390f35b34801561082b57600080fd5b50610834612b08565b6040516108419190614573565b60405180910390f35b34801561085657600080fd5b50610871600480360381019061086c9190614145565b612ba6565b60405161087e9190614558565b60405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060068054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156109865780601f1061095b57610100808354040283529160200191610986565b820191906000526020600020905b81548152906001019060200180831161096957829003601f168201915b5050505050905090565b600061099b82612c3a565b6109f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614a09602c913960400191505060405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a3682611964565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610abd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614ab96021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610adc612c57565b73ffffffffffffffffffffffffffffffffffffffff161480610b0b5750610b0a81610b05612c57565b612ba6565b5b610b60576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603881526020018061495c6038913960400191505060405180910390fd5b610b6a8383612c5f565b505050565b600080610b7b83612c3a565b905080915050919050565b6000610b926002612d18565b905090565b600d602052806000526040600020600091509050806000015490806001018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610c495780601f10610c1e57610100808354040283529160200191610c49565b820191906000526020600020905b815481529060010190602001808311610c2c57829003601f168201915b505050505090806002018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610ce75780601f10610cbc57610100808354040283529160200191610ce7565b820191906000526020600020905b815481529060010190602001808311610cca57829003601f168201915b5050505050908060030160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060040160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060050160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060060154908060070154908060080160009054906101000a900460ff16905089565b610d93610d8d612c57565b82612d2d565b610de8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614ada6031913960400191505060405180910390fd5b610df3838383612e21565b505050565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415610e3257600080fd5b610e3b81612c3a565b610e4457600080fd5b6000610e4f82611964565b9050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610e8b57600080fd5b3373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610ec457600080fd5b6000600d60008481526020019081526020016000206040518061012001604052908160008201548152602001600182018054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610f885780601f10610f5d57610100808354040283529160200191610f88565b820191906000526020600020905b815481529060010190602001808311610f6b57829003601f168201915b50505050508152602001600282018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561102a5780601f10610fff5761010080835404028352916020019161102a565b820191906000526020600020905b81548152906001019060200180831161100d57829003601f168201915b505050505081526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160068201548152602001600782015481526020016008820160009054906101000a900460ff16151515158152505090508060c0015134101561117757600080fd5b80610100015161118657600080fd5b611191823385612e21565b6000816080015190508073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f193505050501580156111e0573d6000803e3d6000fd5b5081608001518260a0019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505033826080019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060018260e001818151019150818152505081600d60008681526020019081526020016000206000820151816000015560208201518160010190805190602001906112a0929190613f03565b5060408201518160020190805190602001906112bd929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff02191690831515021790555090505050505050565b600061142482600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061306490919063ffffffff16565b905092915050565b611447838383604051806020016040528060008152506127a5565b505050565b60008061145883611af3565b905080915050919050565b6010818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b6000806114b083600261307e90919063ffffffff16565b50905080915050919050565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156114f657600080fd5b6114ff82612c3a565b61150857600080fd5b600061151383611964565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461154d57600080fd5b6000600d60008581526020019081526020016000206040518061012001604052908160008201548152602001600182018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156116115780601f106115e657610100808354040283529160200191611611565b820191906000526020600020905b8154815290600101906020018083116115f457829003601f168201915b50505050508152602001600282018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156116b35780601f10611688576101008083540402835291602001916116b3565b820191906000526020600020905b81548152906001019060200180831161169657829003601f168201915b505050505081526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160068201548152602001600782015481526020016008820160009054906101000a900460ff1615151515815250509050828160c001818152505080600d6000868152602001908152602001600020600082015181600001556020820151816001019080519060200190611833929190613f03565b506040820151816002019080519060200190611850929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff02191690831515021790555090505050505050565b6000611994826040518060600160405280602981526020016149be6029913960026130aa9092919063ffffffff16565b9050919050565b606060006119a883612823565b905080915050919050565b606060098054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611a4b5780601f10611a2057610100808354040283529160200191611a4b565b820191906000526020600020905b815481529060010190602001808311611a2e57829003601f168201915b5050505050905090565b600b8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611aeb5780601f10611ac057610100808354040283529160200191611aeb565b820191906000526020600020905b815481529060010190602001808311611ace57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b7a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614994602a913960400191505060405180910390fd5b611bc1600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206130c9565b9050919050565b600f818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b606060078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611c965780601f10611c6b57610100808354040283529160200191611c96565b820191906000526020600020905b815481529060010190602001808311611c7957829003601f168201915b5050505050905090565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415611cda57600080fd5b600c60008154809291906001019190505550611cf7600c54612c3a565b15611d0157600080fd5b60005b82829050811015611d7057600f838383818110611d1d57fe5b9050602002810190611d2f919061464b565b604051611d3d92919061450d565b908152602001604051809103902060009054906101000a900460ff1615611d6357600080fd5b8080600101915050611d04565b50601084604051611d819190614526565b908152602001604051809103902060009054906101000a900460ff1615611da757600080fd5b600e85604051611db79190614526565b908152602001604051809103902060009054906101000a900460ff1615611ddd57600080fd5b611de933600c546130de565b611df5600c54856132d2565b60005b82829050811015611e65576001600f848484818110611e1357fe5b9050602002810190611e25919061464b565b604051611e3392919061450d565b908152602001604051809103902060006101000a81548160ff0219169083151502179055508080600101915050611df8565b506001601085604051611e789190614526565b908152602001604051809103902060006101000a81548160ff0219169083151502179055506001600e86604051611eaf9190614526565b908152602001604051809103902060006101000a81548160ff0219169083151502179055506000604051806101200160405280600c5481526020018781526020018681526020013373ffffffffffffffffffffffffffffffffffffffff1681526020013373ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681526020018581526020016000815260200160011515815250905080600d6000600c548152602001908152602001600020600082015181600001556020820151816001019080519060200190611f9d929190613f03565b506040820151816002019080519060200190611fba929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff021916908315150217905550905050505050505050565b6120d8612c57565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612179576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b8060056000612186612c57565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612233612c57565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156122c057600080fd5b6122c981612c3a565b6122d257600080fd5b60006122dd82611964565b90503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461231757600080fd5b6000600d60008481526020019081526020016000206040518061012001604052908160008201548152602001600182018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156123db5780601f106123b0576101008083540402835291602001916123db565b820191906000526020600020905b8154815290600101906020018083116123be57829003601f168201915b50505050508152602001600282018054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561247d5780601f106124525761010080835404028352916020019161247d565b820191906000526020600020905b81548152906001019060200180831161246057829003601f168201915b505050505081526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016004820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016005820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200160068201548152602001600782015481526020016008820160009054906101000a900460ff1615151515815250509050806101000151156125db576000816101000190151590811515815250506125ee565b6001816101000190151590811515815250505b80600d6000858152602001908152602001600020600082015181600001556020820151816001019080519060200190612628929190613f03565b506040820151816002019080519060200190612645929190613f03565b5060608201518160030160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060808201518160040160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060a08201518160050160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060c0820151816006015560e082015181600701556101008201518160080160006101000a81548160ff021916908315150217905550905050505050565b600e818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b60008061279a83611964565b905080915050919050565b6127b66127b0612c57565b83612d2d565b61280b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180614ada6031913960400191505060405180910390fd5b6128178484848461335c565b50505050565b600c5481565b606061282e82612c3a565b612883576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180614a8a602f913960400191505060405180910390fd5b6000600860008481526020019081526020016000208054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561292c5780601f106129015761010080835404028352916020019161292c565b820191906000526020600020905b81548152906001019060200180831161290f57829003601f168201915b50505050509050600061293d6119b3565b9050600081511415612953578192505050612aef565b600082511115612a245780826040516020018083805190602001908083835b602083106129955780518252602082019150602081019050602083039250612972565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b602083106129e657805182526020820191506020810190506020830392506129c3565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050612aef565b80612a2e856133ce565b6040516020018083805190602001908083835b60208310612a645780518252602082019150602081019050602083039250612a41565b6001836020036101000a03801982511681845116808217855250505050505090500182805190602001908083835b60208310612ab55780518252602082019150602081019050602083039250612a92565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052925050505b919050565b600080612aff610b86565b90508091505090565b600a8054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015612b9e5780601f10612b7357610100808354040283529160200191612b9e565b820191906000526020600020905b815481529060010190602001808311612b8157829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000612c5082600261351590919063ffffffff16565b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612cd283611964565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612d268260000161352f565b9050919050565b6000612d3882612c3a565b612d8d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614930602c913960400191505060405180910390fd5b6000612d9883611964565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612e0757508373ffffffffffffffffffffffffffffffffffffffff16612def84610990565b73ffffffffffffffffffffffffffffffffffffffff16145b80612e185750612e178185612ba6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612e4182611964565b73ffffffffffffffffffffffffffffffffffffffff1614612ead576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180614a616029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806148e66024913960400191505060405180910390fd5b612f3e838383613540565b612f49600082612c5f565b612f9a81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061354590919063ffffffff16565b50612fec81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061355f90919063ffffffff16565b50613003818360026135799092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b600061307383600001836135ae565b60001c905092915050565b6000806000806130918660000186613631565b915091508160001c8160001c9350935050509250929050565b60006130bd846000018460001b846136ca565b60001c90509392505050565b60006130d7826000016137c0565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613181576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4552433732313a206d696e7420746f20746865207a65726f206164647265737381525060200191505060405180910390fd5b61318a81612c3a565b156131fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081525060200191505060405180910390fd5b61320960008383613540565b61325a81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061355f90919063ffffffff16565b50613271818360026135799092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6132db82612c3a565b613330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c815260200180614a35602c913960400191505060405180910390fd5b80600860008481526020019081526020016000209080519060200190613357929190613f03565b505050565b613367848484612e21565b613373848484846137d1565b6133c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806148b46032913960400191505060405180910390fd5b50505050565b60606000821415613416576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613510565b600082905060005b60008214613440578080600101915050600a828161343857fe5b04915061341e565b60008167ffffffffffffffff8111801561345957600080fd5b506040519080825280601f01601f19166020018201604052801561348c5781602001600182028036833780820191505090505b50905060006001830390508593505b6000841461350857600a84816134ad57fe5b0660300160f81b828280600190039350815181106134c757fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a848161350057fe5b04935061349b565b819450505050505b919050565b6000613527836000018360001b6139ea565b905092915050565b600081600001805490509050919050565b505050565b6000613557836000018360001b613a0d565b905092915050565b6000613571836000018360001b613af5565b905092915050565b60006135a5846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b613b65565b90509392505050565b60008183600001805490501161360f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806148926022913960400191505060405180910390fd5b82600001828154811061361e57fe5b9060005260206000200154905092915050565b60008082846000018054905011613693576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806149e76022913960400191505060405180910390fd5b60008460000184815481106136a457fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390613791576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561375657808201518184015260208101905061373b565b50505050905090810190601f1680156137835780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508460000160018203815481106137a457fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b60006137f28473ffffffffffffffffffffffffffffffffffffffff16613c41565b6137ff57600190506139e2565b600061396963150b7a0260e01b613814612c57565b888787604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561389857808201518184015260208101905061387d565b50505050905090810190601f1680156138c55780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060600160405280603281526020016148b4603291398773ffffffffffffffffffffffffffffffffffffffff16613c549092919063ffffffff16565b9050600081806020019051602081101561398257600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b600080836001016000848152602001908152602001600020541415905092915050565b60008083600101600084815260200190815260200160002054905060008114613ae95760006001820390506000600186600001805490500390506000866000018281548110613a5857fe5b9060005260206000200154905080876000018481548110613a7557fe5b9060005260206000200181905550600183018760010160008381526020019081526020016000208190555086600001805480613aad57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050613aef565b60009150505b92915050565b6000613b018383613c6c565b613b5a578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050613b5f565b600090505b92915050565b6000808460010160008581526020019081526020016000205490506000811415613c0c57846000016040518060400160405280868152602001858152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550508460000180549050856001016000868152602001908152602001600020819055506001915050613c3a565b82856000016001830381548110613c1f57fe5b90600052602060002090600202016001018190555060009150505b9392505050565b600080823b905060008111915050919050565b6060613c638484600085613c8f565b90509392505050565b600080836001016000848152602001908152602001600020541415905092915050565b606082471015613cea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061490a6026913960400191505060405180910390fd5b613cf385613c41565b613d65576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310613db45780518252602082019150602081019050602083039250613d91565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613e16576040519150601f19603f3d011682016040523d82523d6000602084013e613e1b565b606091505b5091509150613e2b828286613e37565b92505050949350505050565b60608315613e4757829050613efc565b600083511115613e5a5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613ec1578082015181840152602081019050613ea6565b50505050905090810190601f168015613eee5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282613f395760008555613f80565b82601f10613f5257805160ff1916838001178555613f80565b82800160010185558215613f80579182015b82811115613f7f578251825591602001919060010190613f64565b5b509050613f8d9190613f91565b5090565b5b80821115613faa576000816000905550600101613f92565b5090565b6000613fc1613fbc846146d3565b6146a2565b905082815260208101848484011115613fd957600080fd5b613fe48482856147e0565b509392505050565b6000613fff613ffa84614703565b6146a2565b90508281526020810184848401111561401757600080fd5b6140228482856147e0565b509392505050565b60008135905061403981614835565b92915050565b60008083601f84011261405157600080fd5b8235905067ffffffffffffffff81111561406a57600080fd5b60208301915083602082028301111561408257600080fd5b9250929050565b6000813590506140988161484c565b92915050565b6000813590506140ad81614863565b92915050565b600082601f8301126140c457600080fd5b81356140d4848260208601613fae565b91505092915050565b600082601f8301126140ee57600080fd5b81356140fe848260208601613fec565b91505092915050565b6000813590506141168161487a565b92915050565b60006020828403121561412e57600080fd5b600061413c8482850161402a565b91505092915050565b6000806040838503121561415857600080fd5b60006141668582860161402a565b92505060206141778582860161402a565b9150509250929050565b60008060006060848603121561419657600080fd5b60006141a48682870161402a565b93505060206141b58682870161402a565b92505060406141c686828701614107565b9150509250925092565b600080600080608085870312156141e657600080fd5b60006141f48782880161402a565b94505060206142058782880161402a565b935050604061421687828801614107565b925050606085013567ffffffffffffffff81111561423357600080fd5b61423f878288016140b3565b91505092959194509250565b6000806040838503121561425e57600080fd5b600061426c8582860161402a565b925050602061427d85828601614089565b9150509250929050565b6000806040838503121561429a57600080fd5b60006142a88582860161402a565b92505060206142b985828601614107565b9150509250929050565b6000602082840312156142d557600080fd5b60006142e38482850161409e565b91505092915050565b6000602082840312156142fe57600080fd5b600082013567ffffffffffffffff81111561431857600080fd5b614324848285016140dd565b91505092915050565b60008060008060006080868803121561434557600080fd5b600086013567ffffffffffffffff81111561435f57600080fd5b61436b888289016140dd565b955050602086013567ffffffffffffffff81111561438857600080fd5b614394888289016140dd565b94505060406143a588828901614107565b935050606086013567ffffffffffffffff8111156143c257600080fd5b6143ce8882890161403f565b92509250509295509295909350565b6000602082840312156143ef57600080fd5b60006143fd84828501614107565b91505092915050565b6000806040838503121561441957600080fd5b600061442785828601614107565b925050602061443885828601614107565b9150509250929050565b61444b8161476c565b82525050565b61445a8161475a565b82525050565b6144698161477e565b82525050565b600061447b838561474f565b93506144888385846147e0565b82840190509392505050565b600061449f82614733565b6144a9818561473e565b93506144b98185602086016147ef565b6144c281614824565b840191505092915050565b60006144d882614733565b6144e2818561474f565b93506144f28185602086016147ef565b80840191505092915050565b614507816147d6565b82525050565b600061451a82848661446f565b91508190509392505050565b600061453282846144cd565b915081905092915050565b60006020820190506145526000830184614451565b92915050565b600060208201905061456d6000830184614460565b92915050565b6000602082019050818103600083015261458d8184614494565b905092915050565b60006020820190506145aa60008301846144fe565b92915050565b6000610120820190506145c6600083018c6144fe565b81810360208301526145d8818b614494565b905081810360408301526145ec818a614494565b90506145fb6060830189614442565b6146086080830188614442565b61461560a0830187614442565b61462260c08301866144fe565b61462f60e08301856144fe565b61463d610100830184614460565b9a9950505050505050505050565b6000808335600160200384360303811261466457600080fd5b80840192508235915067ffffffffffffffff82111561468257600080fd5b60208301925060018202360383131561469a57600080fd5b509250929050565b6000604051905081810181811067ffffffffffffffff821117156146c9576146c8614822565b5b8060405250919050565b600067ffffffffffffffff8211156146ee576146ed614822565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff82111561471e5761471d614822565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b6000614765826147b6565b9050919050565b6000614777826147b6565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561480d5780820151818401526020810190506147f2565b8381111561481c576000848401525b50505050565bfe5b6000601f19601f8301169050919050565b61483e8161475a565b811461484957600080fd5b50565b6148558161477e565b811461486057600080fd5b50565b61486c8161478a565b811461487757600080fd5b50565b614883816147d6565b811461488e57600080fd5b5056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e64734552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564a2646970667358221220eb25f577845f1279d45a8e120a017b37d8ad7c058f3d6c029e75920a0902c40e64736f6c63430007060033", + "immutableReferences": {}, + "generatedSources": [], + "deployedGeneratedSources": [ + { + "ast": { + "nodeType": "YulBlock", + "src": "0:15871:3", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "90:259:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "100:73:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "165:6:3" + } + ], + "functionName": { + "name": "array_allocation_size_t_bytes_memory_ptr", + "nodeType": "YulIdentifier", + "src": "124:40:3" + }, + "nodeType": "YulFunctionCall", + "src": "124:48:3" + } + ], + "functionName": { + "name": "allocateMemory", + "nodeType": "YulIdentifier", + "src": "109:14:3" + }, + "nodeType": "YulFunctionCall", + "src": "109:64:3" + }, + "variableNames": [ + { + "name": "array", + "nodeType": "YulIdentifier", + "src": "100:5:3" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "array", + "nodeType": "YulIdentifier", + "src": "189:5:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "196:6:3" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "182:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "182:21:3" + }, + "nodeType": "YulExpressionStatement", + "src": "182:21:3" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "212:27:3", + "value": { + "arguments": [ + { + "name": "array", + "nodeType": "YulIdentifier", + "src": "227:5:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "234:4:3", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "223:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "223:16:3" + }, + "variables": [ + { + "name": "dst", + "nodeType": "YulTypedName", + "src": "216:3:3", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "277:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "286:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "289:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "279:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "279:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "279:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nodeType": "YulIdentifier", + "src": "258:3:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "263:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "254:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "254:16:3" + }, + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "272:3:3" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "251:2:3" + }, + "nodeType": "YulFunctionCall", + "src": "251:25:3" + }, + "nodeType": "YulIf", + "src": "248:2:3" + }, + { + "expression": { + "arguments": [ + { + "name": "src", + "nodeType": "YulIdentifier", + "src": "326:3:3" + }, + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "331:3:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "336:6:3" + } + ], + "functionName": { + "name": "copy_calldata_to_memory", + "nodeType": "YulIdentifier", + "src": "302:23:3" + }, + "nodeType": "YulFunctionCall", + "src": "302:41:3" + }, + "nodeType": "YulExpressionStatement", + "src": "302:41:3" + } + ] + }, + "name": "abi_decode_available_length_t_bytes_memory_ptr", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nodeType": "YulTypedName", + "src": "63:3:3", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "68:6:3", + "type": "" + }, + { + "name": "end", + "nodeType": "YulTypedName", + "src": "76:3:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "array", + "nodeType": "YulTypedName", + "src": "84:5:3", + "type": "" + } + ], + "src": "7:342:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "439:260:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "449:74:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "515:6:3" + } + ], + "functionName": { + "name": "array_allocation_size_t_string_memory_ptr", + "nodeType": "YulIdentifier", + "src": "473:41:3" + }, + "nodeType": "YulFunctionCall", + "src": "473:49:3" + } + ], + "functionName": { + "name": "allocateMemory", + "nodeType": "YulIdentifier", + "src": "458:14:3" + }, + "nodeType": "YulFunctionCall", + "src": "458:65:3" + }, + "variableNames": [ + { + "name": "array", + "nodeType": "YulIdentifier", + "src": "449:5:3" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "array", + "nodeType": "YulIdentifier", + "src": "539:5:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "546:6:3" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "532:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "532:21:3" + }, + "nodeType": "YulExpressionStatement", + "src": "532:21:3" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "562:27:3", + "value": { + "arguments": [ + { + "name": "array", + "nodeType": "YulIdentifier", + "src": "577:5:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "584:4:3", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "573:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "573:16:3" + }, + "variables": [ + { + "name": "dst", + "nodeType": "YulTypedName", + "src": "566:3:3", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "627:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "636:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "639:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "629:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "629:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "629:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nodeType": "YulIdentifier", + "src": "608:3:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "613:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "604:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "604:16:3" + }, + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "622:3:3" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "601:2:3" + }, + "nodeType": "YulFunctionCall", + "src": "601:25:3" + }, + "nodeType": "YulIf", + "src": "598:2:3" + }, + { + "expression": { + "arguments": [ + { + "name": "src", + "nodeType": "YulIdentifier", + "src": "676:3:3" + }, + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "681:3:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "686:6:3" + } + ], + "functionName": { + "name": "copy_calldata_to_memory", + "nodeType": "YulIdentifier", + "src": "652:23:3" + }, + "nodeType": "YulFunctionCall", + "src": "652:41:3" + }, + "nodeType": "YulExpressionStatement", + "src": "652:41:3" + } + ] + }, + "name": "abi_decode_available_length_t_string_memory_ptr", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nodeType": "YulTypedName", + "src": "412:3:3", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "417:6:3", + "type": "" + }, + { + "name": "end", + "nodeType": "YulTypedName", + "src": "425:3:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "array", + "nodeType": "YulTypedName", + "src": "433:5:3", + "type": "" + } + ], + "src": "355:344:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "757:87:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "767:29:3", + "value": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "789:6:3" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "776:12:3" + }, + "nodeType": "YulFunctionCall", + "src": "776:20:3" + }, + "variableNames": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "767:5:3" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "832:5:3" + } + ], + "functionName": { + "name": "validator_revert_t_address", + "nodeType": "YulIdentifier", + "src": "805:26:3" + }, + "nodeType": "YulFunctionCall", + "src": "805:33:3" + }, + "nodeType": "YulExpressionStatement", + "src": "805:33:3" + } + ] + }, + "name": "abi_decode_t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "735:6:3", + "type": "" + }, + { + "name": "end", + "nodeType": "YulTypedName", + "src": "743:3:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "751:5:3", + "type": "" + } + ], + "src": "705:139:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "968:277:3", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1017:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1026:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1029:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1019:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "1019:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "1019:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "996:6:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1004:4:3", + "type": "", + "value": "0x1f" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "992:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "992:17:3" + }, + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "1011:3:3" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "988:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "988:27:3" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "981:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "981:35:3" + }, + "nodeType": "YulIf", + "src": "978:2:3" + }, + { + "nodeType": "YulAssignment", + "src": "1042:30:3", + "value": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "1065:6:3" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1052:12:3" + }, + "nodeType": "YulFunctionCall", + "src": "1052:20:3" + }, + "variableNames": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "1042:6:3" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1115:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1124:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1127:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1117:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "1117:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "1117:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "1087:6:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1095:18:3", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "1084:2:3" + }, + "nodeType": "YulFunctionCall", + "src": "1084:30:3" + }, + "nodeType": "YulIf", + "src": "1081:2:3" + }, + { + "nodeType": "YulAssignment", + "src": "1140:29:3", + "value": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "1156:6:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1164:4:3", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1152:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "1152:17:3" + }, + "variableNames": [ + { + "name": "arrayPos", + "nodeType": "YulIdentifier", + "src": "1140:8:3" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1223:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1232:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1235:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1225:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "1225:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "1225:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "arrayPos", + "nodeType": "YulIdentifier", + "src": "1188:8:3" + }, + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "1202:6:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1210:4:3", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "mul", + "nodeType": "YulIdentifier", + "src": "1198:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "1198:17:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1184:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "1184:32:3" + }, + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "1218:3:3" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "1181:2:3" + }, + "nodeType": "YulFunctionCall", + "src": "1181:41:3" + }, + "nodeType": "YulIf", + "src": "1178:2:3" + } + ] + }, + "name": "abi_decode_t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "935:6:3", + "type": "" + }, + { + "name": "end", + "nodeType": "YulTypedName", + "src": "943:3:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "arrayPos", + "nodeType": "YulTypedName", + "src": "951:8:3", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "961:6:3", + "type": "" + } + ], + "src": "866:379:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1300:84:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1310:29:3", + "value": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "1332:6:3" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1319:12:3" + }, + "nodeType": "YulFunctionCall", + "src": "1319:20:3" + }, + "variableNames": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1310:5:3" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1372:5:3" + } + ], + "functionName": { + "name": "validator_revert_t_bool", + "nodeType": "YulIdentifier", + "src": "1348:23:3" + }, + "nodeType": "YulFunctionCall", + "src": "1348:30:3" + }, + "nodeType": "YulExpressionStatement", + "src": "1348:30:3" + } + ] + }, + "name": "abi_decode_t_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "1278:6:3", + "type": "" + }, + { + "name": "end", + "nodeType": "YulTypedName", + "src": "1286:3:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1294:5:3", + "type": "" + } + ], + "src": "1251:133:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1441:86:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "1451:29:3", + "value": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "1473:6:3" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1460:12:3" + }, + "nodeType": "YulFunctionCall", + "src": "1460:20:3" + }, + "variableNames": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1451:5:3" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "1515:5:3" + } + ], + "functionName": { + "name": "validator_revert_t_bytes4", + "nodeType": "YulIdentifier", + "src": "1489:25:3" + }, + "nodeType": "YulFunctionCall", + "src": "1489:32:3" + }, + "nodeType": "YulExpressionStatement", + "src": "1489:32:3" + } + ] + }, + "name": "abi_decode_t_bytes4", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "1419:6:3", + "type": "" + }, + { + "name": "end", + "nodeType": "YulTypedName", + "src": "1427:3:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "1435:5:3", + "type": "" + } + ], + "src": "1390:137:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1607:210:3", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1656:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1665:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1668:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1658:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "1658:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "1658:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "1635:6:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1643:4:3", + "type": "", + "value": "0x1f" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1631:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "1631:17:3" + }, + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "1650:3:3" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1627:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "1627:27:3" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1620:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "1620:35:3" + }, + "nodeType": "YulIf", + "src": "1617:2:3" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1681:34:3", + "value": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "1708:6:3" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1695:12:3" + }, + "nodeType": "YulFunctionCall", + "src": "1695:20:3" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "1685:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "1724:87:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "1784:6:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1792:4:3", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1780:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "1780:17:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "1799:6:3" + }, + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "1807:3:3" + } + ], + "functionName": { + "name": "abi_decode_available_length_t_bytes_memory_ptr", + "nodeType": "YulIdentifier", + "src": "1733:46:3" + }, + "nodeType": "YulFunctionCall", + "src": "1733:78:3" + }, + "variableNames": [ + { + "name": "array", + "nodeType": "YulIdentifier", + "src": "1724:5:3" + } + ] + } + ] + }, + "name": "abi_decode_t_bytes_memory_ptr", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "1585:6:3", + "type": "" + }, + { + "name": "end", + "nodeType": "YulTypedName", + "src": "1593:3:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "array", + "nodeType": "YulTypedName", + "src": "1601:5:3", + "type": "" + } + ], + "src": "1546:271:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "1899:211:3", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "1948:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1957:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1960:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "1950:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "1950:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "1950:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "1927:6:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "1935:4:3", + "type": "", + "value": "0x1f" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "1923:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "1923:17:3" + }, + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "1942:3:3" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "1919:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "1919:27:3" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "1912:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "1912:35:3" + }, + "nodeType": "YulIf", + "src": "1909:2:3" + }, + { + "nodeType": "YulVariableDeclaration", + "src": "1973:34:3", + "value": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "2000:6:3" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "1987:12:3" + }, + "nodeType": "YulFunctionCall", + "src": "1987:20:3" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "1977:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "2016:88:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "2077:6:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2085:4:3", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2073:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "2073:17:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "2092:6:3" + }, + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "2100:3:3" + } + ], + "functionName": { + "name": "abi_decode_available_length_t_string_memory_ptr", + "nodeType": "YulIdentifier", + "src": "2025:47:3" + }, + "nodeType": "YulFunctionCall", + "src": "2025:79:3" + }, + "variableNames": [ + { + "name": "array", + "nodeType": "YulIdentifier", + "src": "2016:5:3" + } + ] + } + ] + }, + "name": "abi_decode_t_string_memory_ptr", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "1877:6:3", + "type": "" + }, + { + "name": "end", + "nodeType": "YulTypedName", + "src": "1885:3:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "array", + "nodeType": "YulTypedName", + "src": "1893:5:3", + "type": "" + } + ], + "src": "1837:273:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2168:87:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "2178:29:3", + "value": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "2200:6:3" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "2187:12:3" + }, + "nodeType": "YulFunctionCall", + "src": "2187:20:3" + }, + "variableNames": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2178:5:3" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "2243:5:3" + } + ], + "functionName": { + "name": "validator_revert_t_uint256", + "nodeType": "YulIdentifier", + "src": "2216:26:3" + }, + "nodeType": "YulFunctionCall", + "src": "2216:33:3" + }, + "nodeType": "YulExpressionStatement", + "src": "2216:33:3" + } + ] + }, + "name": "abi_decode_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "2146:6:3", + "type": "" + }, + { + "name": "end", + "nodeType": "YulTypedName", + "src": "2154:3:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "2162:5:3", + "type": "" + } + ], + "src": "2116:139:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2327:196:3", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2373:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2382:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2385:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2375:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "2375:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "2375:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2348:7:3" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2357:9:3" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2344:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "2344:23:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2369:2:3", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2340:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "2340:32:3" + }, + "nodeType": "YulIf", + "src": "2337:2:3" + }, + { + "nodeType": "YulBlock", + "src": "2399:117:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "2414:15:3", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2428:1:3", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "2418:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "2443:63:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2478:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "2489:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2474:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "2474:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2498:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nodeType": "YulIdentifier", + "src": "2453:20:3" + }, + "nodeType": "YulFunctionCall", + "src": "2453:53:3" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2443:6:3" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2297:9:3", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "2308:7:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2320:6:3", + "type": "" + } + ], + "src": "2261:262:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "2612:324:3", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "2658:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2667:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2670:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "2660:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "2660:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "2660:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2633:7:3" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2642:9:3" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "2629:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "2629:23:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2654:2:3", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "2625:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "2625:32:3" + }, + "nodeType": "YulIf", + "src": "2622:2:3" + }, + { + "nodeType": "YulBlock", + "src": "2684:117:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "2699:15:3", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2713:1:3", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "2703:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "2728:63:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2763:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "2774:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2759:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "2759:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2783:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nodeType": "YulIdentifier", + "src": "2738:20:3" + }, + "nodeType": "YulFunctionCall", + "src": "2738:53:3" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "2728:6:3" + } + ] + } + ] + }, + { + "nodeType": "YulBlock", + "src": "2811:118:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "2826:16:3", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "2840:2:3", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "2830:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "2856:63:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "2891:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "2902:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "2887:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "2887:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "2911:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nodeType": "YulIdentifier", + "src": "2866:20:3" + }, + "nodeType": "YulFunctionCall", + "src": "2866:53:3" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "2856:6:3" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2574:9:3", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "2585:7:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "2597:6:3", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "2605:6:3", + "type": "" + } + ], + "src": "2529:407:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3042:452:3", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "3088:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3097:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3100:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3090:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "3090:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "3090:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "3063:7:3" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3072:9:3" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "3059:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "3059:23:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3084:2:3", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "3055:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "3055:32:3" + }, + "nodeType": "YulIf", + "src": "3052:2:3" + }, + { + "nodeType": "YulBlock", + "src": "3114:117:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "3129:15:3", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3143:1:3", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "3133:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "3158:63:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3193:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "3204:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3189:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "3189:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "3213:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nodeType": "YulIdentifier", + "src": "3168:20:3" + }, + "nodeType": "YulFunctionCall", + "src": "3168:53:3" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "3158:6:3" + } + ] + } + ] + }, + { + "nodeType": "YulBlock", + "src": "3241:118:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "3256:16:3", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3270:2:3", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "3260:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "3286:63:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3321:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "3332:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3317:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "3317:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "3341:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nodeType": "YulIdentifier", + "src": "3296:20:3" + }, + "nodeType": "YulFunctionCall", + "src": "3296:53:3" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "3286:6:3" + } + ] + } + ] + }, + { + "nodeType": "YulBlock", + "src": "3369:118:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "3384:16:3", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3398:2:3", + "type": "", + "value": "64" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "3388:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "3414:63:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3449:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "3460:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3445:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "3445:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "3469:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nodeType": "YulIdentifier", + "src": "3424:20:3" + }, + "nodeType": "YulFunctionCall", + "src": "3424:53:3" + }, + "variableNames": [ + { + "name": "value2", + "nodeType": "YulIdentifier", + "src": "3414:6:3" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_addresst_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "2996:9:3", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "3007:7:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3019:6:3", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "3027:6:3", + "type": "" + }, + { + "name": "value2", + "nodeType": "YulTypedName", + "src": "3035:6:3", + "type": "" + } + ], + "src": "2942:552:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "3626:683:3", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "3673:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3682:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3685:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "3675:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "3675:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "3675:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "3647:7:3" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3656:9:3" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "3643:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "3643:23:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3668:3:3", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "3639:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "3639:33:3" + }, + "nodeType": "YulIf", + "src": "3636:2:3" + }, + { + "nodeType": "YulBlock", + "src": "3699:117:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "3714:15:3", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3728:1:3", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "3718:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "3743:63:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3778:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "3789:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3774:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "3774:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "3798:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nodeType": "YulIdentifier", + "src": "3753:20:3" + }, + "nodeType": "YulFunctionCall", + "src": "3753:53:3" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "3743:6:3" + } + ] + } + ] + }, + { + "nodeType": "YulBlock", + "src": "3826:118:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "3841:16:3", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3855:2:3", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "3845:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "3871:63:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "3906:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "3917:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "3902:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "3902:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "3926:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nodeType": "YulIdentifier", + "src": "3881:20:3" + }, + "nodeType": "YulFunctionCall", + "src": "3881:53:3" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "3871:6:3" + } + ] + } + ] + }, + { + "nodeType": "YulBlock", + "src": "3954:118:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "3969:16:3", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "3983:2:3", + "type": "", + "value": "64" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "3973:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "3999:63:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4034:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "4045:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4030:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "4030:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "4054:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nodeType": "YulIdentifier", + "src": "4009:20:3" + }, + "nodeType": "YulFunctionCall", + "src": "4009:53:3" + }, + "variableNames": [ + { + "name": "value2", + "nodeType": "YulIdentifier", + "src": "3999:6:3" + } + ] + } + ] + }, + { + "nodeType": "YulBlock", + "src": "4082:220:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "4097:46:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4128:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4139:2:3", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4124:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "4124:18:3" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "4111:12:3" + }, + "nodeType": "YulFunctionCall", + "src": "4111:32:3" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "4101:6:3", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4190:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4199:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4202:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "4192:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "4192:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "4192:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "4162:6:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4170:18:3", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "4159:2:3" + }, + "nodeType": "YulFunctionCall", + "src": "4159:30:3" + }, + "nodeType": "YulIf", + "src": "4156:2:3" + }, + { + "nodeType": "YulAssignment", + "src": "4220:72:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4264:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "4275:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4260:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "4260:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "4284:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_bytes_memory_ptr", + "nodeType": "YulIdentifier", + "src": "4230:29:3" + }, + "nodeType": "YulFunctionCall", + "src": "4230:62:3" + }, + "variableNames": [ + { + "name": "value3", + "nodeType": "YulIdentifier", + "src": "4220:6:3" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_addresst_uint256t_bytes_memory_ptr", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "3572:9:3", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "3583:7:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "3595:6:3", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "3603:6:3", + "type": "" + }, + { + "name": "value2", + "nodeType": "YulTypedName", + "src": "3611:6:3", + "type": "" + }, + { + "name": "value3", + "nodeType": "YulTypedName", + "src": "3619:6:3", + "type": "" + } + ], + "src": "3500:809:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4395:321:3", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "4441:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4450:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4453:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "4443:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "4443:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "4443:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "4416:7:3" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4425:9:3" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "4412:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "4412:23:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4437:2:3", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "4408:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "4408:32:3" + }, + "nodeType": "YulIf", + "src": "4405:2:3" + }, + { + "nodeType": "YulBlock", + "src": "4467:117:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "4482:15:3", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4496:1:3", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "4486:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "4511:63:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4546:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "4557:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4542:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "4542:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "4566:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nodeType": "YulIdentifier", + "src": "4521:20:3" + }, + "nodeType": "YulFunctionCall", + "src": "4521:53:3" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "4511:6:3" + } + ] + } + ] + }, + { + "nodeType": "YulBlock", + "src": "4594:115:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "4609:16:3", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4623:2:3", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "4613:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "4639:60:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4671:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "4682:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4667:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "4667:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "4691:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_bool", + "nodeType": "YulIdentifier", + "src": "4649:17:3" + }, + "nodeType": "YulFunctionCall", + "src": "4649:50:3" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "4639:6:3" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "4357:9:3", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "4368:7:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "4380:6:3", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "4388:6:3", + "type": "" + } + ], + "src": "4315:401:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "4805:324:3", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "4851:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4860:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4863:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "4853:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "4853:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "4853:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "4826:7:3" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4835:9:3" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "4822:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "4822:23:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4847:2:3", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "4818:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "4818:32:3" + }, + "nodeType": "YulIf", + "src": "4815:2:3" + }, + { + "nodeType": "YulBlock", + "src": "4877:117:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "4892:15:3", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "4906:1:3", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "4896:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "4921:63:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "4956:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "4967:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "4952:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "4952:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "4976:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_address", + "nodeType": "YulIdentifier", + "src": "4931:20:3" + }, + "nodeType": "YulFunctionCall", + "src": "4931:53:3" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "4921:6:3" + } + ] + } + ] + }, + { + "nodeType": "YulBlock", + "src": "5004:118:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "5019:16:3", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5033:2:3", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "5023:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "5049:63:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5084:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "5095:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5080:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "5080:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "5104:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nodeType": "YulIdentifier", + "src": "5059:20:3" + }, + "nodeType": "YulFunctionCall", + "src": "5059:53:3" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "5049:6:3" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_addresst_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "4767:9:3", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "4778:7:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "4790:6:3", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "4798:6:3", + "type": "" + } + ], + "src": "4722:407:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5200:195:3", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "5246:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5255:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5258:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "5248:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "5248:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "5248:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "5221:7:3" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5230:9:3" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "5217:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "5217:23:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5242:2:3", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "5213:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "5213:32:3" + }, + "nodeType": "YulIf", + "src": "5210:2:3" + }, + { + "nodeType": "YulBlock", + "src": "5272:116:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "5287:15:3", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5301:1:3", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "5291:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "5316:62:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5350:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "5361:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5346:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "5346:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "5370:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_bytes4", + "nodeType": "YulIdentifier", + "src": "5326:19:3" + }, + "nodeType": "YulFunctionCall", + "src": "5326:52:3" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "5316:6:3" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_bytes4", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "5170:9:3", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "5181:7:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "5193:6:3", + "type": "" + } + ], + "src": "5135:260:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5477:299:3", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "5523:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5532:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5535:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "5525:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "5525:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "5525:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "5498:7:3" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5507:9:3" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "5494:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "5494:23:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5519:2:3", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "5490:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "5490:32:3" + }, + "nodeType": "YulIf", + "src": "5487:2:3" + }, + { + "nodeType": "YulBlock", + "src": "5549:220:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "5564:45:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5595:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5606:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5591:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "5591:17:3" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "5578:12:3" + }, + "nodeType": "YulFunctionCall", + "src": "5578:31:3" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "5568:6:3", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5656:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5665:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5668:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "5658:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "5658:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "5658:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "5628:6:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "5636:18:3", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "5625:2:3" + }, + "nodeType": "YulFunctionCall", + "src": "5625:30:3" + }, + "nodeType": "YulIf", + "src": "5622:2:3" + }, + { + "nodeType": "YulAssignment", + "src": "5686:73:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5731:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "5742:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "5727:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "5727:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "5751:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_string_memory_ptr", + "nodeType": "YulIdentifier", + "src": "5696:30:3" + }, + "nodeType": "YulFunctionCall", + "src": "5696:63:3" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "5686:6:3" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_string_memory_ptr", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "5447:9:3", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "5458:7:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "5470:6:3", + "type": "" + } + ], + "src": "5401:375:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "5966:927:3", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "6013:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6022:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6025:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "6015:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "6015:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "6015:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "5987:7:3" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "5996:9:3" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "5983:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "5983:23:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6008:3:3", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "5979:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "5979:33:3" + }, + "nodeType": "YulIf", + "src": "5976:2:3" + }, + { + "nodeType": "YulBlock", + "src": "6039:220:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "6054:45:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6085:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6096:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6081:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "6081:17:3" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "6068:12:3" + }, + "nodeType": "YulFunctionCall", + "src": "6068:31:3" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "6058:6:3", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6146:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6155:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6158:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "6148:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "6148:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "6148:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "6118:6:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6126:18:3", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "6115:2:3" + }, + "nodeType": "YulFunctionCall", + "src": "6115:30:3" + }, + "nodeType": "YulIf", + "src": "6112:2:3" + }, + { + "nodeType": "YulAssignment", + "src": "6176:73:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6221:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "6232:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6217:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "6217:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "6241:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_string_memory_ptr", + "nodeType": "YulIdentifier", + "src": "6186:30:3" + }, + "nodeType": "YulFunctionCall", + "src": "6186:63:3" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "6176:6:3" + } + ] + } + ] + }, + { + "nodeType": "YulBlock", + "src": "6269:221:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "6284:46:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6315:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6326:2:3", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6311:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "6311:18:3" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "6298:12:3" + }, + "nodeType": "YulFunctionCall", + "src": "6298:32:3" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "6288:6:3", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6377:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6386:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6389:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "6379:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "6379:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "6379:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "6349:6:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6357:18:3", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "6346:2:3" + }, + "nodeType": "YulFunctionCall", + "src": "6346:30:3" + }, + "nodeType": "YulIf", + "src": "6343:2:3" + }, + { + "nodeType": "YulAssignment", + "src": "6407:73:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6452:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "6463:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6448:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "6448:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "6472:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_string_memory_ptr", + "nodeType": "YulIdentifier", + "src": "6417:30:3" + }, + "nodeType": "YulFunctionCall", + "src": "6417:63:3" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "6407:6:3" + } + ] + } + ] + }, + { + "nodeType": "YulBlock", + "src": "6500:118:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "6515:16:3", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6529:2:3", + "type": "", + "value": "64" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "6519:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "6545:63:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6580:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "6591:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6576:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "6576:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "6600:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nodeType": "YulIdentifier", + "src": "6555:20:3" + }, + "nodeType": "YulFunctionCall", + "src": "6555:53:3" + }, + "variableNames": [ + { + "name": "value2", + "nodeType": "YulIdentifier", + "src": "6545:6:3" + } + ] + } + ] + }, + { + "nodeType": "YulBlock", + "src": "6628:258:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "6643:46:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6674:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6685:2:3", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6670:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "6670:18:3" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "6657:12:3" + }, + "nodeType": "YulFunctionCall", + "src": "6657:32:3" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "6647:6:3", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6736:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6745:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6748:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "6738:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "6738:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "6738:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "6708:6:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "6716:18:3", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "6705:2:3" + }, + "nodeType": "YulFunctionCall", + "src": "6705:30:3" + }, + "nodeType": "YulIf", + "src": "6702:2:3" + }, + { + "nodeType": "YulAssignment", + "src": "6766:110:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6848:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "6859:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "6844:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "6844:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "6868:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", + "nodeType": "YulIdentifier", + "src": "6784:59:3" + }, + "nodeType": "YulFunctionCall", + "src": "6784:92:3" + }, + "variableNames": [ + { + "name": "value3", + "nodeType": "YulIdentifier", + "src": "6766:6:3" + }, + { + "name": "value4", + "nodeType": "YulIdentifier", + "src": "6774:6:3" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_string_memory_ptrt_string_memory_ptrt_uint256t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "5904:9:3", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "5915:7:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "5927:6:3", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "5935:6:3", + "type": "" + }, + { + "name": "value2", + "nodeType": "YulTypedName", + "src": "5943:6:3", + "type": "" + }, + { + "name": "value3", + "nodeType": "YulTypedName", + "src": "5951:6:3", + "type": "" + }, + { + "name": "value4", + "nodeType": "YulTypedName", + "src": "5959:6:3", + "type": "" + } + ], + "src": "5782:1111:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "6965:196:3", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "7011:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7020:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7023:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "7013:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "7013:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "7013:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "6986:7:3" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "6995:9:3" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "6982:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "6982:23:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7007:2:3", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "6978:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "6978:32:3" + }, + "nodeType": "YulIf", + "src": "6975:2:3" + }, + { + "nodeType": "YulBlock", + "src": "7037:117:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "7052:15:3", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7066:1:3", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "7056:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "7081:63:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7116:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "7127:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7112:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "7112:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "7136:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nodeType": "YulIdentifier", + "src": "7091:20:3" + }, + "nodeType": "YulFunctionCall", + "src": "7091:53:3" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "7081:6:3" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "6935:9:3", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "6946:7:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "6958:6:3", + "type": "" + } + ], + "src": "6899:262:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7250:324:3", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "7296:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7305:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7308:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "7298:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "7298:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "7298:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "7271:7:3" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7280:9:3" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "7267:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "7267:23:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7292:2:3", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "7263:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "7263:32:3" + }, + "nodeType": "YulIf", + "src": "7260:2:3" + }, + { + "nodeType": "YulBlock", + "src": "7322:117:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "7337:15:3", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7351:1:3", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "7341:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "7366:63:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7401:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "7412:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7397:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "7397:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "7421:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nodeType": "YulIdentifier", + "src": "7376:20:3" + }, + "nodeType": "YulFunctionCall", + "src": "7376:53:3" + }, + "variableNames": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "7366:6:3" + } + ] + } + ] + }, + { + "nodeType": "YulBlock", + "src": "7449:118:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "7464:16:3", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "7478:2:3", + "type": "", + "value": "32" + }, + "variables": [ + { + "name": "offset", + "nodeType": "YulTypedName", + "src": "7468:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "7494:63:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "7529:9:3" + }, + { + "name": "offset", + "nodeType": "YulIdentifier", + "src": "7540:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "7525:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "7525:22:3" + }, + { + "name": "dataEnd", + "nodeType": "YulIdentifier", + "src": "7549:7:3" + } + ], + "functionName": { + "name": "abi_decode_t_uint256", + "nodeType": "YulIdentifier", + "src": "7504:20:3" + }, + "nodeType": "YulFunctionCall", + "src": "7504:53:3" + }, + "variableNames": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "7494:6:3" + } + ] + } + ] + } + ] + }, + "name": "abi_decode_tuple_t_uint256t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "7212:9:3", + "type": "" + }, + { + "name": "dataEnd", + "nodeType": "YulTypedName", + "src": "7223:7:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "7235:6:3", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "7243:6:3", + "type": "" + } + ], + "src": "7167:407:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7661:61:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7678:3:3" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "7709:5:3" + } + ], + "functionName": { + "name": "cleanup_t_address_payable", + "nodeType": "YulIdentifier", + "src": "7683:25:3" + }, + "nodeType": "YulFunctionCall", + "src": "7683:32:3" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7671:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "7671:45:3" + }, + "nodeType": "YulExpressionStatement", + "src": "7671:45:3" + } + ] + }, + "name": "abi_encode_t_address_payable_to_t_address_payable_fromStack", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "7649:5:3", + "type": "" + }, + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "7656:3:3", + "type": "" + } + ], + "src": "7580:142:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7793:53:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7810:3:3" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "7833:5:3" + } + ], + "functionName": { + "name": "cleanup_t_address", + "nodeType": "YulIdentifier", + "src": "7815:17:3" + }, + "nodeType": "YulFunctionCall", + "src": "7815:24:3" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7803:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "7803:37:3" + }, + "nodeType": "YulExpressionStatement", + "src": "7803:37:3" + } + ] + }, + "name": "abi_encode_t_address_to_t_address_fromStack", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "7781:5:3", + "type": "" + }, + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "7788:3:3", + "type": "" + } + ], + "src": "7728:118:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "7911:50:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "7928:3:3" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "7948:5:3" + } + ], + "functionName": { + "name": "cleanup_t_bool", + "nodeType": "YulIdentifier", + "src": "7933:14:3" + }, + "nodeType": "YulFunctionCall", + "src": "7933:21:3" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "7921:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "7921:34:3" + }, + "nodeType": "YulExpressionStatement", + "src": "7921:34:3" + } + ] + }, + "name": "abi_encode_t_bool_to_t_bool_fromStack", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "7899:5:3", + "type": "" + }, + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "7906:3:3", + "type": "" + } + ], + "src": "7852:109:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8111:197:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "8121:96:3", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8205:3:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8210:6:3" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nodeType": "YulIdentifier", + "src": "8128:76:3" + }, + "nodeType": "YulFunctionCall", + "src": "8128:89:3" + }, + "variableNames": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8121:3:3" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "start", + "nodeType": "YulIdentifier", + "src": "8251:5:3" + }, + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8258:3:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8263:6:3" + } + ], + "functionName": { + "name": "copy_calldata_to_memory", + "nodeType": "YulIdentifier", + "src": "8227:23:3" + }, + "nodeType": "YulFunctionCall", + "src": "8227:43:3" + }, + "nodeType": "YulExpressionStatement", + "src": "8227:43:3" + }, + { + "nodeType": "YulAssignment", + "src": "8279:23:3", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8290:3:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8295:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8286:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "8286:16:3" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "8279:3:3" + } + ] + } + ] + }, + "name": "abi_encode_t_string_calldata_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "start", + "nodeType": "YulTypedName", + "src": "8084:5:3", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "8091:6:3", + "type": "" + }, + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "8099:3:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "8107:3:3", + "type": "" + } + ], + "src": "7991:317:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8406:272:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "8416:53:3", + "value": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "8463:5:3" + } + ], + "functionName": { + "name": "array_length_t_string_memory_ptr", + "nodeType": "YulIdentifier", + "src": "8430:32:3" + }, + "nodeType": "YulFunctionCall", + "src": "8430:39:3" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "8420:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "8478:78:3", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8544:3:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8549:6:3" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", + "nodeType": "YulIdentifier", + "src": "8485:58:3" + }, + "nodeType": "YulFunctionCall", + "src": "8485:71:3" + }, + "variableNames": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8478:3:3" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "8591:5:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "8598:4:3", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8587:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "8587:16:3" + }, + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8605:3:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8610:6:3" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "8565:21:3" + }, + "nodeType": "YulFunctionCall", + "src": "8565:52:3" + }, + "nodeType": "YulExpressionStatement", + "src": "8565:52:3" + }, + { + "nodeType": "YulAssignment", + "src": "8626:46:3", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8637:3:3" + }, + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8664:6:3" + } + ], + "functionName": { + "name": "round_up_to_mul_of_32", + "nodeType": "YulIdentifier", + "src": "8642:21:3" + }, + "nodeType": "YulFunctionCall", + "src": "8642:29:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8633:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "8633:39:3" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "8626:3:3" + } + ] + } + ] + }, + "name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "8387:5:3", + "type": "" + }, + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "8394:3:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "8402:3:3", + "type": "" + } + ], + "src": "8314:364:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "8794:267:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "8804:53:3", + "value": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "8851:5:3" + } + ], + "functionName": { + "name": "array_length_t_string_memory_ptr", + "nodeType": "YulIdentifier", + "src": "8818:32:3" + }, + "nodeType": "YulFunctionCall", + "src": "8818:39:3" + }, + "variables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "8808:6:3", + "type": "" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "8866:96:3", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8950:3:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "8955:6:3" + } + ], + "functionName": { + "name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nodeType": "YulIdentifier", + "src": "8873:76:3" + }, + "nodeType": "YulFunctionCall", + "src": "8873:89:3" + }, + "variableNames": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "8866:3:3" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "8997:5:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9004:4:3", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "8993:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "8993:16:3" + }, + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "9011:3:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "9016:6:3" + } + ], + "functionName": { + "name": "copy_memory_to_memory", + "nodeType": "YulIdentifier", + "src": "8971:21:3" + }, + "nodeType": "YulFunctionCall", + "src": "8971:52:3" + }, + "nodeType": "YulExpressionStatement", + "src": "8971:52:3" + }, + { + "nodeType": "YulAssignment", + "src": "9032:23:3", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "9043:3:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "9048:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9039:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "9039:16:3" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "9032:3:3" + } + ] + } + ] + }, + "name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "8775:5:3", + "type": "" + }, + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "8782:3:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "8790:3:3", + "type": "" + } + ], + "src": "8684:377:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9132:53:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "9149:3:3" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "9172:5:3" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nodeType": "YulIdentifier", + "src": "9154:17:3" + }, + "nodeType": "YulFunctionCall", + "src": "9154:24:3" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "9142:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "9142:37:3" + }, + "nodeType": "YulExpressionStatement", + "src": "9142:37:3" + } + ] + }, + "name": "abi_encode_t_uint256_to_t_uint256_fromStack", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "9120:5:3", + "type": "" + }, + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "9127:3:3", + "type": "" + } + ], + "src": "9067:118:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9337:149:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "9348:112:3", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "9439:6:3" + }, + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "9447:6:3" + }, + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "9456:3:3" + } + ], + "functionName": { + "name": "abi_encode_t_string_calldata_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nodeType": "YulIdentifier", + "src": "9355:83:3" + }, + "nodeType": "YulFunctionCall", + "src": "9355:105:3" + }, + "variableNames": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "9348:3:3" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "9470:10:3", + "value": { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "9477:3:3" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "9470:3:3" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_string_calldata_ptr__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "9308:3:3", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "9314:6:3", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "9322:6:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "9333:3:3", + "type": "" + } + ], + "src": "9191:295:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9628:139:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "9639:102:3", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "9728:6:3" + }, + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "9737:3:3" + } + ], + "functionName": { + "name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nodeType": "YulIdentifier", + "src": "9646:81:3" + }, + "nodeType": "YulFunctionCall", + "src": "9646:95:3" + }, + "variableNames": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "9639:3:3" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "9751:10:3", + "value": { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "9758:3:3" + }, + "variableNames": [ + { + "name": "end", + "nodeType": "YulIdentifier", + "src": "9751:3:3" + } + ] + } + ] + }, + "name": "abi_encode_tuple_packed_t_string_memory_ptr__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "9607:3:3", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "9613:6:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "end", + "nodeType": "YulTypedName", + "src": "9624:3:3", + "type": "" + } + ], + "src": "9492:275:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "9871:124:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "9881:26:3", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9893:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9904:2:3", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9889:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "9889:18:3" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "9881:4:3" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "9961:6:3" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "9974:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "9985:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "9970:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "9970:17:3" + } + ], + "functionName": { + "name": "abi_encode_t_address_to_t_address_fromStack", + "nodeType": "YulIdentifier", + "src": "9917:43:3" + }, + "nodeType": "YulFunctionCall", + "src": "9917:71:3" + }, + "nodeType": "YulExpressionStatement", + "src": "9917:71:3" + } + ] + }, + "name": "abi_encode_tuple_t_address__to_t_address__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "9843:9:3", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "9855:6:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "9866:4:3", + "type": "" + } + ], + "src": "9773:222:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "10093:118:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "10103:26:3", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10115:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10126:2:3", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10111:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "10111:18:3" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "10103:4:3" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "10177:6:3" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10190:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10201:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10186:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "10186:17:3" + } + ], + "functionName": { + "name": "abi_encode_t_bool_to_t_bool_fromStack", + "nodeType": "YulIdentifier", + "src": "10139:37:3" + }, + "nodeType": "YulFunctionCall", + "src": "10139:65:3" + }, + "nodeType": "YulExpressionStatement", + "src": "10139:65:3" + } + ] + }, + "name": "abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "10065:9:3", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "10077:6:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "10088:4:3", + "type": "" + } + ], + "src": "10001:210:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "10335:195:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "10345:26:3", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10357:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10368:2:3", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10353:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "10353:18:3" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "10345:4:3" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10392:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10403:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10388:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "10388:17:3" + }, + { + "arguments": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "10411:4:3" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10417:9:3" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "10407:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "10407:20:3" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "10381:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "10381:47:3" + }, + "nodeType": "YulExpressionStatement", + "src": "10381:47:3" + }, + { + "nodeType": "YulAssignment", + "src": "10437:86:3", + "value": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "10509:6:3" + }, + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "10518:4:3" + } + ], + "functionName": { + "name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack", + "nodeType": "YulIdentifier", + "src": "10445:63:3" + }, + "nodeType": "YulFunctionCall", + "src": "10445:78:3" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "10437:4:3" + } + ] + } + ] + }, + "name": "abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "10307:9:3", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "10319:6:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "10330:4:3", + "type": "" + } + ], + "src": "10217:313:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "10634:124:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "10644:26:3", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10656:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10667:2:3", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10652:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "10652:18:3" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "10644:4:3" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "10724:6:3" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "10737:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "10748:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "10733:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "10733:17:3" + } + ], + "functionName": { + "name": "abi_encode_t_uint256_to_t_uint256_fromStack", + "nodeType": "YulIdentifier", + "src": "10680:43:3" + }, + "nodeType": "YulFunctionCall", + "src": "10680:71:3" + }, + "nodeType": "YulExpressionStatement", + "src": "10680:71:3" + } + ] + }, + "name": "abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "10606:9:3", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "10618:6:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "10629:4:3", + "type": "" + } + ], + "src": "10536:222:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "11168:970:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "11178:27:3", + "value": { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11190:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11201:3:3", + "type": "", + "value": "288" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11186:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "11186:19:3" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "11178:4:3" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value0", + "nodeType": "YulIdentifier", + "src": "11259:6:3" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11272:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11283:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11268:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "11268:17:3" + } + ], + "functionName": { + "name": "abi_encode_t_uint256_to_t_uint256_fromStack", + "nodeType": "YulIdentifier", + "src": "11215:43:3" + }, + "nodeType": "YulFunctionCall", + "src": "11215:71:3" + }, + "nodeType": "YulExpressionStatement", + "src": "11215:71:3" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11307:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11318:2:3", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11303:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "11303:18:3" + }, + { + "arguments": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "11327:4:3" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11333:9:3" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "11323:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "11323:20:3" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "11296:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "11296:48:3" + }, + "nodeType": "YulExpressionStatement", + "src": "11296:48:3" + }, + { + "nodeType": "YulAssignment", + "src": "11353:86:3", + "value": { + "arguments": [ + { + "name": "value1", + "nodeType": "YulIdentifier", + "src": "11425:6:3" + }, + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "11434:4:3" + } + ], + "functionName": { + "name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack", + "nodeType": "YulIdentifier", + "src": "11361:63:3" + }, + "nodeType": "YulFunctionCall", + "src": "11361:78:3" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "11353:4:3" + } + ] + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11460:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11471:2:3", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11456:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "11456:18:3" + }, + { + "arguments": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "11480:4:3" + }, + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11486:9:3" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "11476:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "11476:20:3" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "11449:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "11449:48:3" + }, + "nodeType": "YulExpressionStatement", + "src": "11449:48:3" + }, + { + "nodeType": "YulAssignment", + "src": "11506:86:3", + "value": { + "arguments": [ + { + "name": "value2", + "nodeType": "YulIdentifier", + "src": "11578:6:3" + }, + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "11587:4:3" + } + ], + "functionName": { + "name": "abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack", + "nodeType": "YulIdentifier", + "src": "11514:63:3" + }, + "nodeType": "YulFunctionCall", + "src": "11514:78:3" + }, + "variableNames": [ + { + "name": "tail", + "nodeType": "YulIdentifier", + "src": "11506:4:3" + } + ] + }, + { + "expression": { + "arguments": [ + { + "name": "value3", + "nodeType": "YulIdentifier", + "src": "11662:6:3" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11675:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11686:2:3", + "type": "", + "value": "96" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11671:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "11671:18:3" + } + ], + "functionName": { + "name": "abi_encode_t_address_payable_to_t_address_payable_fromStack", + "nodeType": "YulIdentifier", + "src": "11602:59:3" + }, + "nodeType": "YulFunctionCall", + "src": "11602:88:3" + }, + "nodeType": "YulExpressionStatement", + "src": "11602:88:3" + }, + { + "expression": { + "arguments": [ + { + "name": "value4", + "nodeType": "YulIdentifier", + "src": "11760:6:3" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11773:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11784:3:3", + "type": "", + "value": "128" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11769:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "11769:19:3" + } + ], + "functionName": { + "name": "abi_encode_t_address_payable_to_t_address_payable_fromStack", + "nodeType": "YulIdentifier", + "src": "11700:59:3" + }, + "nodeType": "YulFunctionCall", + "src": "11700:89:3" + }, + "nodeType": "YulExpressionStatement", + "src": "11700:89:3" + }, + { + "expression": { + "arguments": [ + { + "name": "value5", + "nodeType": "YulIdentifier", + "src": "11859:6:3" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11872:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11883:3:3", + "type": "", + "value": "160" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11868:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "11868:19:3" + } + ], + "functionName": { + "name": "abi_encode_t_address_payable_to_t_address_payable_fromStack", + "nodeType": "YulIdentifier", + "src": "11799:59:3" + }, + "nodeType": "YulFunctionCall", + "src": "11799:89:3" + }, + "nodeType": "YulExpressionStatement", + "src": "11799:89:3" + }, + { + "expression": { + "arguments": [ + { + "name": "value6", + "nodeType": "YulIdentifier", + "src": "11942:6:3" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "11955:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "11966:3:3", + "type": "", + "value": "192" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "11951:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "11951:19:3" + } + ], + "functionName": { + "name": "abi_encode_t_uint256_to_t_uint256_fromStack", + "nodeType": "YulIdentifier", + "src": "11898:43:3" + }, + "nodeType": "YulFunctionCall", + "src": "11898:73:3" + }, + "nodeType": "YulExpressionStatement", + "src": "11898:73:3" + }, + { + "expression": { + "arguments": [ + { + "name": "value7", + "nodeType": "YulIdentifier", + "src": "12025:6:3" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12038:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12049:3:3", + "type": "", + "value": "224" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12034:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "12034:19:3" + } + ], + "functionName": { + "name": "abi_encode_t_uint256_to_t_uint256_fromStack", + "nodeType": "YulIdentifier", + "src": "11981:43:3" + }, + "nodeType": "YulFunctionCall", + "src": "11981:73:3" + }, + "nodeType": "YulExpressionStatement", + "src": "11981:73:3" + }, + { + "expression": { + "arguments": [ + { + "name": "value8", + "nodeType": "YulIdentifier", + "src": "12102:6:3" + }, + { + "arguments": [ + { + "name": "headStart", + "nodeType": "YulIdentifier", + "src": "12115:9:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12126:3:3", + "type": "", + "value": "256" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12111:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "12111:19:3" + } + ], + "functionName": { + "name": "abi_encode_t_bool_to_t_bool_fromStack", + "nodeType": "YulIdentifier", + "src": "12064:37:3" + }, + "nodeType": "YulFunctionCall", + "src": "12064:67:3" + }, + "nodeType": "YulExpressionStatement", + "src": "12064:67:3" + } + ] + }, + "name": "abi_encode_tuple_t_uint256_t_string_memory_ptr_t_string_memory_ptr_t_address_payable_t_address_payable_t_address_payable_t_uint256_t_uint256_t_bool__to_t_uint256_t_string_memory_ptr_t_string_memory_ptr_t_address_payable_t_address_payable_t_address_payable_t_uint256_t_uint256_t_bool__fromStack_reversed", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "headStart", + "nodeType": "YulTypedName", + "src": "11076:9:3", + "type": "" + }, + { + "name": "value8", + "nodeType": "YulTypedName", + "src": "11088:6:3", + "type": "" + }, + { + "name": "value7", + "nodeType": "YulTypedName", + "src": "11096:6:3", + "type": "" + }, + { + "name": "value6", + "nodeType": "YulTypedName", + "src": "11104:6:3", + "type": "" + }, + { + "name": "value5", + "nodeType": "YulTypedName", + "src": "11112:6:3", + "type": "" + }, + { + "name": "value4", + "nodeType": "YulTypedName", + "src": "11120:6:3", + "type": "" + }, + { + "name": "value3", + "nodeType": "YulTypedName", + "src": "11128:6:3", + "type": "" + }, + { + "name": "value2", + "nodeType": "YulTypedName", + "src": "11136:6:3", + "type": "" + }, + { + "name": "value1", + "nodeType": "YulTypedName", + "src": "11144:6:3", + "type": "" + }, + { + "name": "value0", + "nodeType": "YulTypedName", + "src": "11152:6:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "tail", + "nodeType": "YulTypedName", + "src": "11163:4:3", + "type": "" + } + ], + "src": "10764:1374:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "12235:433:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "12245:51:3", + "value": { + "arguments": [ + { + "name": "ptr_to_tail", + "nodeType": "YulIdentifier", + "src": "12284:11:3" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "12271:12:3" + }, + "nodeType": "YulFunctionCall", + "src": "12271:25:3" + }, + "variables": [ + { + "name": "rel_offset_of_tail", + "nodeType": "YulTypedName", + "src": "12249:18:3", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "12390:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12399:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12402:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "12392:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "12392:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "12392:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "rel_offset_of_tail", + "nodeType": "YulIdentifier", + "src": "12319:18:3" + }, + { + "arguments": [ + { + "arguments": [ + { + "arguments": [], + "functionName": { + "name": "calldatasize", + "nodeType": "YulIdentifier", + "src": "12347:12:3" + }, + "nodeType": "YulFunctionCall", + "src": "12347:14:3" + }, + { + "name": "base_ref", + "nodeType": "YulIdentifier", + "src": "12363:8:3" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "12343:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "12343:29:3" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12378:4:3", + "type": "", + "value": "0x20" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12384:1:3", + "type": "", + "value": "1" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "12374:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "12374:12:3" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "12339:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "12339:48:3" + } + ], + "functionName": { + "name": "slt", + "nodeType": "YulIdentifier", + "src": "12315:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "12315:73:3" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "12308:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "12308:81:3" + }, + "nodeType": "YulIf", + "src": "12305:2:3" + }, + { + "nodeType": "YulAssignment", + "src": "12415:41:3", + "value": { + "arguments": [ + { + "name": "base_ref", + "nodeType": "YulIdentifier", + "src": "12427:8:3" + }, + { + "name": "rel_offset_of_tail", + "nodeType": "YulIdentifier", + "src": "12437:18:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12423:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "12423:33:3" + }, + "variableNames": [ + { + "name": "addr", + "nodeType": "YulIdentifier", + "src": "12415:4:3" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "12466:28:3", + "value": { + "arguments": [ + { + "name": "addr", + "nodeType": "YulIdentifier", + "src": "12489:4:3" + } + ], + "functionName": { + "name": "calldataload", + "nodeType": "YulIdentifier", + "src": "12476:12:3" + }, + "nodeType": "YulFunctionCall", + "src": "12476:18:3" + }, + "variableNames": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "12466:6:3" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "12537:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12546:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12549:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "12539:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "12539:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "12539:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "12509:6:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12517:18:3", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "12506:2:3" + }, + "nodeType": "YulFunctionCall", + "src": "12506:30:3" + }, + "nodeType": "YulIf", + "src": "12503:2:3" + }, + { + "nodeType": "YulAssignment", + "src": "12562:21:3", + "value": { + "arguments": [ + { + "name": "addr", + "nodeType": "YulIdentifier", + "src": "12574:4:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12580:2:3", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12570:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "12570:13:3" + }, + "variableNames": [ + { + "name": "addr", + "nodeType": "YulIdentifier", + "src": "12562:4:3" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "12645:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12654:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12657:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "12647:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "12647:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "12647:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "addr", + "nodeType": "YulIdentifier", + "src": "12599:4:3" + }, + { + "arguments": [ + { + "arguments": [], + "functionName": { + "name": "calldatasize", + "nodeType": "YulIdentifier", + "src": "12609:12:3" + }, + "nodeType": "YulFunctionCall", + "src": "12609:14:3" + }, + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "12629:6:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12637:4:3", + "type": "", + "value": "0x01" + } + ], + "functionName": { + "name": "mul", + "nodeType": "YulIdentifier", + "src": "12625:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "12625:17:3" + } + ], + "functionName": { + "name": "sub", + "nodeType": "YulIdentifier", + "src": "12605:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "12605:38:3" + } + ], + "functionName": { + "name": "sgt", + "nodeType": "YulIdentifier", + "src": "12595:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "12595:49:3" + }, + "nodeType": "YulIf", + "src": "12592:2:3" + } + ] + }, + "name": "access_calldata_tail_t_string_calldata_ptr", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "base_ref", + "nodeType": "YulTypedName", + "src": "12196:8:3", + "type": "" + }, + { + "name": "ptr_to_tail", + "nodeType": "YulTypedName", + "src": "12206:11:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "addr", + "nodeType": "YulTypedName", + "src": "12222:4:3", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "12228:6:3", + "type": "" + } + ], + "src": "12144:524:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "12714:238:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "12724:19:3", + "value": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12740:2:3", + "type": "", + "value": "64" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "12734:5:3" + }, + "nodeType": "YulFunctionCall", + "src": "12734:9:3" + }, + "variableNames": [ + { + "name": "memPtr", + "nodeType": "YulIdentifier", + "src": "12724:6:3" + } + ] + }, + { + "nodeType": "YulVariableDeclaration", + "src": "12752:35:3", + "value": { + "arguments": [ + { + "name": "memPtr", + "nodeType": "YulIdentifier", + "src": "12774:6:3" + }, + { + "name": "size", + "nodeType": "YulIdentifier", + "src": "12782:4:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "12770:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "12770:17:3" + }, + "variables": [ + { + "name": "newFreePtr", + "nodeType": "YulTypedName", + "src": "12756:10:3", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "12898:17:3", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error", + "nodeType": "YulIdentifier", + "src": "12900:11:3" + }, + "nodeType": "YulFunctionCall", + "src": "12900:13:3" + }, + "nodeType": "YulExpressionStatement", + "src": "12900:13:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "newFreePtr", + "nodeType": "YulIdentifier", + "src": "12841:10:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12853:18:3", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "12838:2:3" + }, + "nodeType": "YulFunctionCall", + "src": "12838:34:3" + }, + { + "arguments": [ + { + "name": "newFreePtr", + "nodeType": "YulIdentifier", + "src": "12877:10:3" + }, + { + "name": "memPtr", + "nodeType": "YulIdentifier", + "src": "12889:6:3" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "12874:2:3" + }, + "nodeType": "YulFunctionCall", + "src": "12874:22:3" + } + ], + "functionName": { + "name": "or", + "nodeType": "YulIdentifier", + "src": "12835:2:3" + }, + "nodeType": "YulFunctionCall", + "src": "12835:62:3" + }, + "nodeType": "YulIf", + "src": "12832:2:3" + }, + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "12931:2:3", + "type": "", + "value": "64" + }, + { + "name": "newFreePtr", + "nodeType": "YulIdentifier", + "src": "12935:10:3" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "12924:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "12924:22:3" + }, + "nodeType": "YulExpressionStatement", + "src": "12924:22:3" + } + ] + }, + "name": "allocateMemory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "size", + "nodeType": "YulTypedName", + "src": "12698:4:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "memPtr", + "nodeType": "YulTypedName", + "src": "12707:6:3", + "type": "" + } + ], + "src": "12674:278:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "13024:260:3", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "13129:17:3", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error", + "nodeType": "YulIdentifier", + "src": "13131:11:3" + }, + "nodeType": "YulFunctionCall", + "src": "13131:13:3" + }, + "nodeType": "YulExpressionStatement", + "src": "13131:13:3" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "13101:6:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13109:18:3", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "13098:2:3" + }, + "nodeType": "YulFunctionCall", + "src": "13098:30:3" + }, + "nodeType": "YulIf", + "src": "13095:2:3" + }, + { + "nodeType": "YulAssignment", + "src": "13176:41:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "13192:6:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13200:4:3", + "type": "", + "value": "0x1f" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13188:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "13188:17:3" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13211:4:3", + "type": "", + "value": "0x1f" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "13207:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "13207:9:3" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "13184:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "13184:33:3" + }, + "variableNames": [ + { + "name": "size", + "nodeType": "YulIdentifier", + "src": "13176:4:3" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "13254:23:3", + "value": { + "arguments": [ + { + "name": "size", + "nodeType": "YulIdentifier", + "src": "13266:4:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13272:4:3", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13262:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "13262:15:3" + }, + "variableNames": [ + { + "name": "size", + "nodeType": "YulIdentifier", + "src": "13254:4:3" + } + ] + } + ] + }, + "name": "array_allocation_size_t_bytes_memory_ptr", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "13008:6:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "size", + "nodeType": "YulTypedName", + "src": "13019:4:3", + "type": "" + } + ], + "src": "12958:326:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "13357:260:3", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "13462:17:3", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "panic_error", + "nodeType": "YulIdentifier", + "src": "13464:11:3" + }, + "nodeType": "YulFunctionCall", + "src": "13464:13:3" + }, + "nodeType": "YulExpressionStatement", + "src": "13464:13:3" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "13434:6:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13442:18:3", + "type": "", + "value": "0xffffffffffffffff" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "13431:2:3" + }, + "nodeType": "YulFunctionCall", + "src": "13431:30:3" + }, + "nodeType": "YulIf", + "src": "13428:2:3" + }, + { + "nodeType": "YulAssignment", + "src": "13509:41:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "13525:6:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13533:4:3", + "type": "", + "value": "0x1f" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13521:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "13521:17:3" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13544:4:3", + "type": "", + "value": "0x1f" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "13540:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "13540:9:3" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "13517:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "13517:33:3" + }, + "variableNames": [ + { + "name": "size", + "nodeType": "YulIdentifier", + "src": "13509:4:3" + } + ] + }, + { + "nodeType": "YulAssignment", + "src": "13587:23:3", + "value": { + "arguments": [ + { + "name": "size", + "nodeType": "YulIdentifier", + "src": "13599:4:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13605:4:3", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13595:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "13595:15:3" + }, + "variableNames": [ + { + "name": "size", + "nodeType": "YulIdentifier", + "src": "13587:4:3" + } + ] + } + ] + }, + "name": "array_allocation_size_t_string_memory_ptr", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "13341:6:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "size", + "nodeType": "YulTypedName", + "src": "13352:4:3", + "type": "" + } + ], + "src": "13290:327:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "13682:40:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "13693:22:3", + "value": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "13709:5:3" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "13703:5:3" + }, + "nodeType": "YulFunctionCall", + "src": "13703:12:3" + }, + "variableNames": [ + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "13693:6:3" + } + ] + } + ] + }, + "name": "array_length_t_string_memory_ptr", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "13665:5:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "length", + "nodeType": "YulTypedName", + "src": "13675:6:3", + "type": "" + } + ], + "src": "13623:99:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "13824:73:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "13841:3:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "13846:6:3" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "13834:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "13834:19:3" + }, + "nodeType": "YulExpressionStatement", + "src": "13834:19:3" + }, + { + "nodeType": "YulAssignment", + "src": "13862:29:3", + "value": { + "arguments": [ + { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "13881:3:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "13886:4:3", + "type": "", + "value": "0x20" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "13877:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "13877:14:3" + }, + "variableNames": [ + { + "name": "updated_pos", + "nodeType": "YulIdentifier", + "src": "13862:11:3" + } + ] + } + ] + }, + "name": "array_storeLengthForEncoding_t_string_memory_ptr_fromStack", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "13796:3:3", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "13801:6:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "updated_pos", + "nodeType": "YulTypedName", + "src": "13812:11:3", + "type": "" + } + ], + "src": "13728:169:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "14017:34:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "14027:18:3", + "value": { + "name": "pos", + "nodeType": "YulIdentifier", + "src": "14042:3:3" + }, + "variableNames": [ + { + "name": "updated_pos", + "nodeType": "YulIdentifier", + "src": "14027:11:3" + } + ] + } + ] + }, + "name": "array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "pos", + "nodeType": "YulTypedName", + "src": "13989:3:3", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "13994:6:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "updated_pos", + "nodeType": "YulTypedName", + "src": "14005:11:3", + "type": "" + } + ], + "src": "13903:148:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "14102:51:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "14112:35:3", + "value": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "14141:5:3" + } + ], + "functionName": { + "name": "cleanup_t_uint160", + "nodeType": "YulIdentifier", + "src": "14123:17:3" + }, + "nodeType": "YulFunctionCall", + "src": "14123:24:3" + }, + "variableNames": [ + { + "name": "cleaned", + "nodeType": "YulIdentifier", + "src": "14112:7:3" + } + ] + } + ] + }, + "name": "cleanup_t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "14084:5:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nodeType": "YulTypedName", + "src": "14094:7:3", + "type": "" + } + ], + "src": "14057:96:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "14212:51:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "14222:35:3", + "value": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "14251:5:3" + } + ], + "functionName": { + "name": "cleanup_t_uint160", + "nodeType": "YulIdentifier", + "src": "14233:17:3" + }, + "nodeType": "YulFunctionCall", + "src": "14233:24:3" + }, + "variableNames": [ + { + "name": "cleaned", + "nodeType": "YulIdentifier", + "src": "14222:7:3" + } + ] + } + ] + }, + "name": "cleanup_t_address_payable", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "14194:5:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nodeType": "YulTypedName", + "src": "14204:7:3", + "type": "" + } + ], + "src": "14159:104:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "14311:48:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "14321:32:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "14346:5:3" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "14339:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "14339:13:3" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "14332:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "14332:21:3" + }, + "variableNames": [ + { + "name": "cleaned", + "nodeType": "YulIdentifier", + "src": "14321:7:3" + } + ] + } + ] + }, + "name": "cleanup_t_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "14293:5:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nodeType": "YulTypedName", + "src": "14303:7:3", + "type": "" + } + ], + "src": "14269:90:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "14409:105:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "14419:89:3", + "value": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "14434:5:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14441:66:3", + "type": "", + "value": "0xffffffff00000000000000000000000000000000000000000000000000000000" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "14430:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "14430:78:3" + }, + "variableNames": [ + { + "name": "cleaned", + "nodeType": "YulIdentifier", + "src": "14419:7:3" + } + ] + } + ] + }, + "name": "cleanup_t_bytes4", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "14391:5:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nodeType": "YulTypedName", + "src": "14401:7:3", + "type": "" + } + ], + "src": "14365:149:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "14565:81:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "14575:65:3", + "value": { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "14590:5:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14597:42:3", + "type": "", + "value": "0xffffffffffffffffffffffffffffffffffffffff" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "14586:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "14586:54:3" + }, + "variableNames": [ + { + "name": "cleaned", + "nodeType": "YulIdentifier", + "src": "14575:7:3" + } + ] + } + ] + }, + "name": "cleanup_t_uint160", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "14547:5:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nodeType": "YulTypedName", + "src": "14557:7:3", + "type": "" + } + ], + "src": "14520:126:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "14697:32:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "14707:16:3", + "value": { + "name": "value", + "nodeType": "YulIdentifier", + "src": "14718:5:3" + }, + "variableNames": [ + { + "name": "cleaned", + "nodeType": "YulIdentifier", + "src": "14707:7:3" + } + ] + } + ] + }, + "name": "cleanup_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "14679:5:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "cleaned", + "nodeType": "YulTypedName", + "src": "14689:7:3", + "type": "" + } + ], + "src": "14652:77:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "14786:103:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "14809:3:3" + }, + { + "name": "src", + "nodeType": "YulIdentifier", + "src": "14814:3:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "14819:6:3" + } + ], + "functionName": { + "name": "calldatacopy", + "nodeType": "YulIdentifier", + "src": "14796:12:3" + }, + "nodeType": "YulFunctionCall", + "src": "14796:30:3" + }, + "nodeType": "YulExpressionStatement", + "src": "14796:30:3" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "14867:3:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "14872:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "14863:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "14863:16:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14881:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "14856:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "14856:27:3" + }, + "nodeType": "YulExpressionStatement", + "src": "14856:27:3" + } + ] + }, + "name": "copy_calldata_to_memory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nodeType": "YulTypedName", + "src": "14768:3:3", + "type": "" + }, + { + "name": "dst", + "nodeType": "YulTypedName", + "src": "14773:3:3", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "14778:6:3", + "type": "" + } + ], + "src": "14735:154:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "14944:258:3", + "statements": [ + { + "nodeType": "YulVariableDeclaration", + "src": "14954:10:3", + "value": { + "kind": "number", + "nodeType": "YulLiteral", + "src": "14963:1:3", + "type": "", + "value": "0" + }, + "variables": [ + { + "name": "i", + "nodeType": "YulTypedName", + "src": "14958:1:3", + "type": "" + } + ] + }, + { + "body": { + "nodeType": "YulBlock", + "src": "15023:63:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "15048:3:3" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "15053:1:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "15044:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "15044:11:3" + }, + { + "arguments": [ + { + "arguments": [ + { + "name": "src", + "nodeType": "YulIdentifier", + "src": "15067:3:3" + }, + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "15072:1:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "15063:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "15063:11:3" + } + ], + "functionName": { + "name": "mload", + "nodeType": "YulIdentifier", + "src": "15057:5:3" + }, + "nodeType": "YulFunctionCall", + "src": "15057:18:3" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "15037:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "15037:39:3" + }, + "nodeType": "YulExpressionStatement", + "src": "15037:39:3" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "14984:1:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "14987:6:3" + } + ], + "functionName": { + "name": "lt", + "nodeType": "YulIdentifier", + "src": "14981:2:3" + }, + "nodeType": "YulFunctionCall", + "src": "14981:13:3" + }, + "nodeType": "YulForLoop", + "post": { + "nodeType": "YulBlock", + "src": "14995:19:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "14997:15:3", + "value": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "15006:1:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15009:2:3", + "type": "", + "value": "32" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "15002:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "15002:10:3" + }, + "variableNames": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "14997:1:3" + } + ] + } + ] + }, + "pre": { + "nodeType": "YulBlock", + "src": "14977:3:3", + "statements": [] + }, + "src": "14973:113:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "15120:76:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "name": "dst", + "nodeType": "YulIdentifier", + "src": "15170:3:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "15175:6:3" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "15166:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "15166:16:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15184:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "mstore", + "nodeType": "YulIdentifier", + "src": "15159:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "15159:27:3" + }, + "nodeType": "YulExpressionStatement", + "src": "15159:27:3" + } + ] + }, + "condition": { + "arguments": [ + { + "name": "i", + "nodeType": "YulIdentifier", + "src": "15101:1:3" + }, + { + "name": "length", + "nodeType": "YulIdentifier", + "src": "15104:6:3" + } + ], + "functionName": { + "name": "gt", + "nodeType": "YulIdentifier", + "src": "15098:2:3" + }, + "nodeType": "YulFunctionCall", + "src": "15098:13:3" + }, + "nodeType": "YulIf", + "src": "15095:2:3" + } + ] + }, + "name": "copy_memory_to_memory", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "src", + "nodeType": "YulTypedName", + "src": "14926:3:3", + "type": "" + }, + { + "name": "dst", + "nodeType": "YulTypedName", + "src": "14931:3:3", + "type": "" + }, + { + "name": "length", + "nodeType": "YulTypedName", + "src": "14936:6:3", + "type": "" + } + ], + "src": "14895:307:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "15231:25:3", + "statements": [ + { + "expression": { + "arguments": [], + "functionName": { + "name": "invalid", + "nodeType": "YulIdentifier", + "src": "15241:7:3" + }, + "nodeType": "YulFunctionCall", + "src": "15241:9:3" + }, + "nodeType": "YulExpressionStatement", + "src": "15241:9:3" + } + ] + }, + "name": "panic_error", + "nodeType": "YulFunctionDefinition", + "src": "15208:48:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "15310:54:3", + "statements": [ + { + "nodeType": "YulAssignment", + "src": "15320:38:3", + "value": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "15338:5:3" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15345:2:3", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "add", + "nodeType": "YulIdentifier", + "src": "15334:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "15334:14:3" + }, + { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15354:2:3", + "type": "", + "value": "31" + } + ], + "functionName": { + "name": "not", + "nodeType": "YulIdentifier", + "src": "15350:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "15350:7:3" + } + ], + "functionName": { + "name": "and", + "nodeType": "YulIdentifier", + "src": "15330:3:3" + }, + "nodeType": "YulFunctionCall", + "src": "15330:28:3" + }, + "variableNames": [ + { + "name": "result", + "nodeType": "YulIdentifier", + "src": "15320:6:3" + } + ] + } + ] + }, + "name": "round_up_to_mul_of_32", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "15293:5:3", + "type": "" + } + ], + "returnVariables": [ + { + "name": "result", + "nodeType": "YulTypedName", + "src": "15303:6:3", + "type": "" + } + ], + "src": "15262:102:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "15413:79:3", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "15470:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15479:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15482:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "15472:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "15472:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "15472:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "15436:5:3" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "15461:5:3" + } + ], + "functionName": { + "name": "cleanup_t_address", + "nodeType": "YulIdentifier", + "src": "15443:17:3" + }, + "nodeType": "YulFunctionCall", + "src": "15443:24:3" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "15433:2:3" + }, + "nodeType": "YulFunctionCall", + "src": "15433:35:3" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "15426:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "15426:43:3" + }, + "nodeType": "YulIf", + "src": "15423:2:3" + } + ] + }, + "name": "validator_revert_t_address", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "15406:5:3", + "type": "" + } + ], + "src": "15370:122:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "15538:76:3", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "15592:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15601:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15604:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "15594:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "15594:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "15594:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "15561:5:3" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "15583:5:3" + } + ], + "functionName": { + "name": "cleanup_t_bool", + "nodeType": "YulIdentifier", + "src": "15568:14:3" + }, + "nodeType": "YulFunctionCall", + "src": "15568:21:3" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "15558:2:3" + }, + "nodeType": "YulFunctionCall", + "src": "15558:32:3" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "15551:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "15551:40:3" + }, + "nodeType": "YulIf", + "src": "15548:2:3" + } + ] + }, + "name": "validator_revert_t_bool", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "15531:5:3", + "type": "" + } + ], + "src": "15498:116:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "15662:78:3", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "15718:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15727:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15730:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "15720:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "15720:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "15720:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "15685:5:3" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "15709:5:3" + } + ], + "functionName": { + "name": "cleanup_t_bytes4", + "nodeType": "YulIdentifier", + "src": "15692:16:3" + }, + "nodeType": "YulFunctionCall", + "src": "15692:23:3" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "15682:2:3" + }, + "nodeType": "YulFunctionCall", + "src": "15682:34:3" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "15675:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "15675:42:3" + }, + "nodeType": "YulIf", + "src": "15672:2:3" + } + ] + }, + "name": "validator_revert_t_bytes4", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "15655:5:3", + "type": "" + } + ], + "src": "15620:120:3" + }, + { + "body": { + "nodeType": "YulBlock", + "src": "15789:79:3", + "statements": [ + { + "body": { + "nodeType": "YulBlock", + "src": "15846:16:3", + "statements": [ + { + "expression": { + "arguments": [ + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15855:1:3", + "type": "", + "value": "0" + }, + { + "kind": "number", + "nodeType": "YulLiteral", + "src": "15858:1:3", + "type": "", + "value": "0" + } + ], + "functionName": { + "name": "revert", + "nodeType": "YulIdentifier", + "src": "15848:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "15848:12:3" + }, + "nodeType": "YulExpressionStatement", + "src": "15848:12:3" + } + ] + }, + "condition": { + "arguments": [ + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "15812:5:3" + }, + { + "arguments": [ + { + "name": "value", + "nodeType": "YulIdentifier", + "src": "15837:5:3" + } + ], + "functionName": { + "name": "cleanup_t_uint256", + "nodeType": "YulIdentifier", + "src": "15819:17:3" + }, + "nodeType": "YulFunctionCall", + "src": "15819:24:3" + } + ], + "functionName": { + "name": "eq", + "nodeType": "YulIdentifier", + "src": "15809:2:3" + }, + "nodeType": "YulFunctionCall", + "src": "15809:35:3" + } + ], + "functionName": { + "name": "iszero", + "nodeType": "YulIdentifier", + "src": "15802:6:3" + }, + "nodeType": "YulFunctionCall", + "src": "15802:43:3" + }, + "nodeType": "YulIf", + "src": "15799:2:3" + } + ] + }, + "name": "validator_revert_t_uint256", + "nodeType": "YulFunctionDefinition", + "parameters": [ + { + "name": "value", + "nodeType": "YulTypedName", + "src": "15782:5:3", + "type": "" + } + ], + "src": "15746:122:3" + } + ] + }, + "contents": "{\n\n function abi_decode_available_length_t_bytes_memory_ptr(src, length, end) -> array {\n array := allocateMemory(array_allocation_size_t_bytes_memory_ptr(length))\n mstore(array, length)\n let dst := add(array, 0x20)\n if gt(add(src, length), end) { revert(0, 0) }\n copy_calldata_to_memory(src, dst, length)\n }\n\n function abi_decode_available_length_t_string_memory_ptr(src, length, end) -> array {\n array := allocateMemory(array_allocation_size_t_string_memory_ptr(length))\n mstore(array, length)\n let dst := add(array, 0x20)\n if gt(add(src, length), end) { revert(0, 0) }\n copy_calldata_to_memory(src, dst, length)\n }\n\n function abi_decode_t_address(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_address(value)\n }\n\n // string[]\n function abi_decode_t_array$_t_string_calldata_ptr_$dyn_calldata_ptr(offset, end) -> arrayPos, length {\n if iszero(slt(add(offset, 0x1f), end)) { revert(0, 0) }\n length := calldataload(offset)\n if gt(length, 0xffffffffffffffff) { revert(0, 0) }\n arrayPos := add(offset, 0x20)\n if gt(add(arrayPos, mul(length, 0x20)), end) { revert(0, 0) }\n }\n\n function abi_decode_t_bool(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_bool(value)\n }\n\n function abi_decode_t_bytes4(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_bytes4(value)\n }\n\n // bytes\n function abi_decode_t_bytes_memory_ptr(offset, end) -> array {\n if iszero(slt(add(offset, 0x1f), end)) { revert(0, 0) }\n let length := calldataload(offset)\n array := abi_decode_available_length_t_bytes_memory_ptr(add(offset, 0x20), length, end)\n }\n\n // string\n function abi_decode_t_string_memory_ptr(offset, end) -> array {\n if iszero(slt(add(offset, 0x1f), end)) { revert(0, 0) }\n let length := calldataload(offset)\n array := abi_decode_available_length_t_string_memory_ptr(add(offset, 0x20), length, end)\n }\n\n function abi_decode_t_uint256(offset, end) -> value {\n value := calldataload(offset)\n validator_revert_t_uint256(value)\n }\n\n function abi_decode_tuple_t_address(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_addresst_address(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_addresst_addresst_uint256(headStart, dataEnd) -> value0, value1, value2 {\n if slt(sub(dataEnd, headStart), 96) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_addresst_addresst_uint256t_bytes_memory_ptr(headStart, dataEnd) -> value0, value1, value2, value3 {\n if slt(sub(dataEnd, headStart), 128) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := calldataload(add(headStart, 96))\n if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n\n value3 := abi_decode_t_bytes_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_addresst_bool(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_bool(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_addresst_uint256(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_address(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_bytes4(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_bytes4(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_string_memory_ptr(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n\n value0 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_string_memory_ptrt_string_memory_ptrt_uint256t_array$_t_string_calldata_ptr_$dyn_calldata_ptr(headStart, dataEnd) -> value0, value1, value2, value3, value4 {\n if slt(sub(dataEnd, headStart), 128) { revert(0, 0) }\n\n {\n\n let offset := calldataload(add(headStart, 0))\n if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n\n value0 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := calldataload(add(headStart, 32))\n if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n\n value1 := abi_decode_t_string_memory_ptr(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 64\n\n value2 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := calldataload(add(headStart, 96))\n if gt(offset, 0xffffffffffffffff) { revert(0, 0) }\n\n value3, value4 := abi_decode_t_array$_t_string_calldata_ptr_$dyn_calldata_ptr(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_uint256(headStart, dataEnd) -> value0 {\n if slt(sub(dataEnd, headStart), 32) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_decode_tuple_t_uint256t_uint256(headStart, dataEnd) -> value0, value1 {\n if slt(sub(dataEnd, headStart), 64) { revert(0, 0) }\n\n {\n\n let offset := 0\n\n value0 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n {\n\n let offset := 32\n\n value1 := abi_decode_t_uint256(add(headStart, offset), dataEnd)\n }\n\n }\n\n function abi_encode_t_address_payable_to_t_address_payable_fromStack(value, pos) {\n mstore(pos, cleanup_t_address_payable(value))\n }\n\n function abi_encode_t_address_to_t_address_fromStack(value, pos) {\n mstore(pos, cleanup_t_address(value))\n }\n\n function abi_encode_t_bool_to_t_bool_fromStack(value, pos) {\n mstore(pos, cleanup_t_bool(value))\n }\n\n // string -> string\n function abi_encode_t_string_calldata_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack(start, length, pos) -> end {\n pos := array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack(pos, length)\n\n copy_calldata_to_memory(start, pos, length)\n end := add(pos, length)\n }\n\n function abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length)\n copy_memory_to_memory(add(value, 0x20), pos, length)\n end := add(pos, round_up_to_mul_of_32(length))\n }\n\n function abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack(value, pos) -> end {\n let length := array_length_t_string_memory_ptr(value)\n pos := array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack(pos, length)\n copy_memory_to_memory(add(value, 0x20), pos, length)\n end := add(pos, length)\n }\n\n function abi_encode_t_uint256_to_t_uint256_fromStack(value, pos) {\n mstore(pos, cleanup_t_uint256(value))\n }\n\n function abi_encode_tuple_packed_t_string_calldata_ptr__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos , value1, value0) -> end {\n\n pos := abi_encode_t_string_calldata_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack(value0, value1, pos)\n\n end := pos\n }\n\n function abi_encode_tuple_packed_t_string_memory_ptr__to_t_string_memory_ptr__nonPadded_inplace_fromStack_reversed(pos , value0) -> end {\n\n pos := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_nonPadded_inplace_fromStack(value0, pos)\n\n end := pos\n }\n\n function abi_encode_tuple_t_address__to_t_address__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_address_to_t_address_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_bool__to_t_bool__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_bool_to_t_bool_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_string_memory_ptr__to_t_string_memory_ptr__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n mstore(add(headStart, 0), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value0, tail)\n\n }\n\n function abi_encode_tuple_t_uint256__to_t_uint256__fromStack_reversed(headStart , value0) -> tail {\n tail := add(headStart, 32)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n }\n\n function abi_encode_tuple_t_uint256_t_string_memory_ptr_t_string_memory_ptr_t_address_payable_t_address_payable_t_address_payable_t_uint256_t_uint256_t_bool__to_t_uint256_t_string_memory_ptr_t_string_memory_ptr_t_address_payable_t_address_payable_t_address_payable_t_uint256_t_uint256_t_bool__fromStack_reversed(headStart , value8, value7, value6, value5, value4, value3, value2, value1, value0) -> tail {\n tail := add(headStart, 288)\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value0, add(headStart, 0))\n\n mstore(add(headStart, 32), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value1, tail)\n\n mstore(add(headStart, 64), sub(tail, headStart))\n tail := abi_encode_t_string_memory_ptr_to_t_string_memory_ptr_fromStack(value2, tail)\n\n abi_encode_t_address_payable_to_t_address_payable_fromStack(value3, add(headStart, 96))\n\n abi_encode_t_address_payable_to_t_address_payable_fromStack(value4, add(headStart, 128))\n\n abi_encode_t_address_payable_to_t_address_payable_fromStack(value5, add(headStart, 160))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value6, add(headStart, 192))\n\n abi_encode_t_uint256_to_t_uint256_fromStack(value7, add(headStart, 224))\n\n abi_encode_t_bool_to_t_bool_fromStack(value8, add(headStart, 256))\n\n }\n\n function access_calldata_tail_t_string_calldata_ptr(base_ref, ptr_to_tail) -> addr, length {\n let rel_offset_of_tail := calldataload(ptr_to_tail)\n if iszero(slt(rel_offset_of_tail, sub(sub(calldatasize(), base_ref), sub(0x20, 1)))) { revert(0, 0) }\n addr := add(base_ref, rel_offset_of_tail)\n\n length := calldataload(addr)\n if gt(length, 0xffffffffffffffff) { revert(0, 0) }\n addr := add(addr, 32)\n if sgt(addr, sub(calldatasize(), mul(length, 0x01))) { revert(0, 0) }\n\n }\n\n function allocateMemory(size) -> memPtr {\n memPtr := mload(64)\n let newFreePtr := add(memPtr, size)\n // protect against overflow\n if or(gt(newFreePtr, 0xffffffffffffffff), lt(newFreePtr, memPtr)) { panic_error() }\n mstore(64, newFreePtr)\n }\n\n function array_allocation_size_t_bytes_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error() }\n\n // round up\n size := and(add(length, 0x1f), not(0x1f))\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function array_allocation_size_t_string_memory_ptr(length) -> size {\n // Make sure we can allocate memory without overflow\n if gt(length, 0xffffffffffffffff) { panic_error() }\n\n // round up\n size := and(add(length, 0x1f), not(0x1f))\n\n // add length slot\n size := add(size, 0x20)\n\n }\n\n function array_length_t_string_memory_ptr(value) -> length {\n\n length := mload(value)\n\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_fromStack(pos, length) -> updated_pos {\n mstore(pos, length)\n updated_pos := add(pos, 0x20)\n }\n\n function array_storeLengthForEncoding_t_string_memory_ptr_nonPadded_inplace_fromStack(pos, length) -> updated_pos {\n updated_pos := pos\n }\n\n function cleanup_t_address(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function cleanup_t_address_payable(value) -> cleaned {\n cleaned := cleanup_t_uint160(value)\n }\n\n function cleanup_t_bool(value) -> cleaned {\n cleaned := iszero(iszero(value))\n }\n\n function cleanup_t_bytes4(value) -> cleaned {\n cleaned := and(value, 0xffffffff00000000000000000000000000000000000000000000000000000000)\n }\n\n function cleanup_t_uint160(value) -> cleaned {\n cleaned := and(value, 0xffffffffffffffffffffffffffffffffffffffff)\n }\n\n function cleanup_t_uint256(value) -> cleaned {\n cleaned := value\n }\n\n function copy_calldata_to_memory(src, dst, length) {\n calldatacopy(dst, src, length)\n // clear end\n mstore(add(dst, length), 0)\n }\n\n function copy_memory_to_memory(src, dst, length) {\n let i := 0\n for { } lt(i, length) { i := add(i, 32) }\n {\n mstore(add(dst, i), mload(add(src, i)))\n }\n if gt(i, length)\n {\n // clear end\n mstore(add(dst, length), 0)\n }\n }\n\n function panic_error() {\n invalid()\n }\n\n function round_up_to_mul_of_32(value) -> result {\n result := and(add(value, 31), not(31))\n }\n\n function validator_revert_t_address(value) {\n if iszero(eq(value, cleanup_t_address(value))) { revert(0, 0) }\n }\n\n function validator_revert_t_bool(value) {\n if iszero(eq(value, cleanup_t_bool(value))) { revert(0, 0) }\n }\n\n function validator_revert_t_bytes4(value) {\n if iszero(eq(value, cleanup_t_bytes4(value))) { revert(0, 0) }\n }\n\n function validator_revert_t_uint256(value) {\n if iszero(eq(value, cleanup_t_uint256(value))) { revert(0, 0) }\n }\n\n}\n", + "id": 3, + "language": "Yul", + "name": "#utility.yul" + } + ], + "sourceMap": "198:7240:2:-:0;;;1192:127;;;;;;;;;;50476:370:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9993:40;9659:10;10012:20;;9993:18;;;:40;;:::i;:::-;50552:5;50544;:13;;;;;;;;;;;;:::i;:::-;;50578:7;50568;:17;;;;;;;;;;;;:::i;:::-;;50676:40;49618:10;50695:20;;50676:18;;;:40;;:::i;:::-;50727:49;49959:10;50746:29;;50727:18;;;:49;;:::i;:::-;50787:51;50341:10;50806:31;;50787:18;;;:51;;:::i;:::-;50476:370;;1269:6:2::1;:4;;;:6;;:::i;:::-;1252:14;:23;;;;;;;;;;;;:::i;:::-;;1305:8;:6;;;:8;;:::i;:::-;1282:20;:31;;;;;;;;;;;;:::i;:::-;;198:7240:::0;;10755:201:0;10854:10;10839:25;;:11;:25;;;;;10831:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10944:4;10908:20;:33;10929:11;10908:33;;;;;;;;;;;;;;;;;;:40;;;;;;;;;;;;;;;;;;10755:201;:::o;51437:100::-;51491:13;51524:5;51517:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51437:100;:::o;51606:104::-;51662:13;51695:7;51688:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51606:104;:::o;198:7240:2:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;", + "deployedSourceMap": "198:7240:2:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10198:150:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;51437:100;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54223:221;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;53753:404;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3948:142:2;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;53231:211:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;810:49:2;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;55113:305:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;4142:1579:2;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;52993:162:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55489:151;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;3706:196:2;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1055:45;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;53519:172:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;5727:783:2;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;51193:177:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3265:164:2;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;52812:97:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;346:34:2;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;50910:221:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;976:42:2;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;51606:104:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;1353:1692:2;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;54516:295:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;6571:864:2;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;897:46;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3080:147;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;55711:285:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;426:31:2;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;51781:792:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3482:165:2;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;278:28;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;54882:164:0;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;10198:150;10283:4;10307:20;:33;10328:11;10307:33;;;;;;;;;;;;;;;;;;;;;;;;;;;10300:40;;10198:150;;;:::o;51437:100::-;51491:13;51524:5;51517:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51437:100;:::o;54223:221::-;54299:7;54327:16;54335:7;54327;:16::i;:::-;54319:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54412:15;:24;54428:7;54412:24;;;;;;;;;;;;;;;;;;;;;54405:31;;54223:221;;;:::o;53753:404::-;53834:13;53850:23;53865:7;53850:14;:23::i;:::-;53834:39;;53898:5;53892:11;;:2;:11;;;;53884:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53978:5;53962:21;;:12;:10;:12::i;:::-;:21;;;:69;;;;53987:44;54011:5;54018:12;:10;:12::i;:::-;53987:23;:44::i;:::-;53962:69;53954:161;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54128:21;54137:2;54141:7;54128:8;:21::i;:::-;53753:404;;;:::o;3948:142:2:-;4010:4;4023:16;4042:17;4050:8;4042:7;:17::i;:::-;4023:36;;4073:11;4066:18;;;3948:142;;;:::o;53231:211:0:-;53292:7;53413:21;:12;:19;:21::i;:::-;53406:28;;53231:211;:::o;810:49:2:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;55113:305:0:-;55274:41;55293:12;:10;:12::i;:::-;55307:7;55274:18;:41::i;:::-;55266:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55382:28;55392:4;55398:2;55402:7;55382:9;:28::i;:::-;55113:305;;;:::o;4142:1579:2:-;4298:1;4276:24;;:10;:24;;;;4268:33;;;;;;4386:17;4394:8;4386:7;:17::i;:::-;4378:26;;;;;;4441:18;4462:17;4470:8;4462:7;:17::i;:::-;4441:38;;4576:1;4554:24;;:10;:24;;;;4546:33;;;;;;4683:10;4669:24;;:10;:24;;;;4661:33;;;;;;4812:26;4841:12;:22;4854:8;4841:22;;;;;;;;;;;4812:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4970:9;:15;;;4957:9;:28;;4949:37;;;;;;5034:9;:17;;;5026:26;;;;;;5135:43;5145:10;5157;5169:8;5135:9;:43::i;:::-;5216:22;5241:9;:22;;;5216:47;;5320:6;:15;;:26;5336:9;5320:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5421:9;:22;;;5395:9;:23;;:48;;;;;;;;;;;5516:10;5491:9;:22;;:35;;;;;;;;;;;5624:1;5593:9;:27;;:32;;;;;;;;;;;5706:9;5681:12;:22;5694:8;5681:22;;;;;;;;;;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4142:1579;;;;:::o;52993:162:0:-;53090:7;53117:30;53141:5;53117:13;:20;53131:5;53117:20;;;;;;;;;;;;;;;:23;;:30;;;;:::i;:::-;53110:37;;52993:162;;;;:::o;55489:151::-;55593:39;55610:4;55616:2;55620:7;55593:39;;;;;;;;;;;;:16;:39::i;:::-;55489:151;;;:::o;3706:196:2:-;3790:7;3806:32;3841:17;3851:6;3841:9;:17::i;:::-;3806:52;;3872:24;3865:31;;;3706:196;;;:::o;1055:45::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;53519:172:0:-;53594:7;53615:15;53636:22;53652:5;53636:12;:15;;:22;;;;:::i;:::-;53614:44;;;53676:7;53669:14;;;53519:172;;;:::o;5727:783:2:-;5897:1;5875:24;;:10;:24;;;;5867:33;;;;;;5955:17;5963:8;5955:7;:17::i;:::-;5947:26;;;;;;6010:18;6031:17;6039:8;6031:7;:17::i;:::-;6010:38;;6156:10;6142:24;;:10;:24;;;6134:33;;;;;;6285:26;6314:12;:22;6327:8;6314:22;;;;;;;;;;;6285:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6405:9;6387;:15;;:27;;;;;6495:9;6470:12;:22;6483:8;6470:22;;;;;;;;;;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5727:783;;;;:::o;51193:177:0:-;51265:7;51292:70;51309:7;51292:70;;;;;;;;;;;;;;;;;:12;:16;;:70;;;;;:::i;:::-;51285:77;;51193:177;;;:::o;3265:164:2:-;3326:13;3348:27;3378:18;3387:8;3378;:18::i;:::-;3348:48;;3410:13;3403:20;;;3265:164;;;:::o;52812:97:0:-;52860:13;52893:8;52886:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52812:97;:::o;346:34:2:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;50910:221:0:-;50982:7;51027:1;51010:19;;:5;:19;;;;51002:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51094:29;:13;:20;51108:5;51094:20;;;;;;;;;;;;;;;:27;:29::i;:::-;51087:36;;50910:221;;;:::o;976:42:2:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;51606:104:0:-;51662:13;51695:7;51688:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51606:104;:::o;1353:1692:2:-;1580:1;1558:24;;:10;:24;;;;1550:33;;;;;;1616:16;;:19;;;;;;;;;;;;;1730:25;1738:16;;1730:7;:25::i;:::-;1729:26;1721:35;;;;;;1855:6;1851:87;1867:7;;:14;;1865:1;:16;1851:87;;;1906:11;1918:7;;1926:1;1918:10;;;;;;;;;;;;;;;;;;:::i;:::-;1906:23;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1905:24;1897:33;;;;;;1883:3;;;;;;;1851:87;;;;2006:14;2021:9;2006:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;2005:26;1997:35;;;;;;2102:15;2118:5;2102:22;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;2101:23;2093:32;;;;;;2157:35;2163:10;2175:16;;2157:5;:35::i;:::-;2266:41;2279:16;;2297:9;2266:12;:41::i;:::-;2432:6;2427:85;2444:7;;:14;;2442:1;:16;2427:85;;;2500:4;2474:11;2486:7;;2494:1;2486:10;;;;;;;;;;;;;;;;;;:::i;:::-;2474:23;;;;;;;:::i;:::-;;;;;;;;;;;;;;:30;;;;;;;;;;;;;;;;;;2460:3;;;;;;;2427:85;;;;2586:4;2558:14;2573:9;2558:25;;;;;;:::i;:::-;;;;;;;;;;;;;;:32;;;;;;;;;;;;;;;;;;2663:4;2638:15;2654:5;2638:22;;;;;;:::i;:::-;;;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;2739;2771:144;;;;;;;;2787:16;;2771:144;;;;2810:5;2771:144;;;;2822:9;2771:144;;;;2838:10;2771:144;;;;;;2855:10;2771:144;;;;;;2880:1;2771:144;;;;;;2889:6;2771:144;;;;2902:1;2771:144;;;;2910:4;2771:144;;;;;2739:176;;3027:12;2994;:30;3007:16;;2994:30;;;;;;;;;;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1353:1692;;;;;;:::o;54516:295:0:-;54631:12;:10;:12::i;:::-;54619:24;;:8;:24;;;;54611:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54731:8;54686:18;:32;54705:12;:10;:12::i;:::-;54686:32;;;;;;;;;;;;;;;:42;54719:8;54686:42;;;;;;;;;;;;;;;;:53;;;;;;;;;;;;;;;;;;54784:8;54755:48;;54770:12;:10;:12::i;:::-;54755:48;;;54794:8;54755:48;;;;;;;;;;;;;;;;;;;;54516:295;;:::o;6571:864:2:-;6719:1;6697:24;;:10;:24;;;;6689:33;;;;;;6777:17;6785:8;6777:7;:17::i;:::-;6769:26;;;;;;6832:18;6853:17;6861:8;6853:7;:17::i;:::-;6832:38;;6978:10;6964:24;;:10;:24;;;6956:33;;;;;;7107:26;7136:12;:22;7149:8;7136:22;;;;;;;;;;;7107:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7232:9;:17;;;7229:111;;;7280:5;7260:9;:17;;:25;;;;;;;;;;;7229:111;;;7328:4;7308:9;:17;;:24;;;;;;;;;;;7229:111;7420:9;7395:12;:22;7408:8;7395:22;;;;;;;;;;;:34;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6571:864;;;:::o;897:46::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;3080:147::-;3141:7;3157:19;3179:17;3187:8;3179:7;:17::i;:::-;3157:39;;3210:11;3203:18;;;3080:147;;;:::o;55711:285:0:-;55843:41;55862:12;:10;:12::i;:::-;55876:7;55843:18;:41::i;:::-;55835:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55949:39;55963:4;55969:2;55973:7;55982:5;55949:13;:39::i;:::-;55711:285;;;;:::o;426:31:2:-;;;;:::o;51781:792:0:-;51854:13;51888:16;51896:7;51888;:16::i;:::-;51880:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51969:23;51995:10;:19;52006:7;51995:19;;;;;;;;;;;51969:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52025:18;52046:9;:7;:9::i;:::-;52025:30;;52153:1;52137:4;52131:18;:23;52127:72;;;52178:9;52171:16;;;;;;52127:72;52329:1;52309:9;52303:23;:27;52299:108;;;52378:4;52384:9;52361:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52347:48;;;;;;52299:108;52539:4;52545:18;:7;:16;:18::i;:::-;52522:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52508:57;;;;51781:792;;;;:::o;3482:165:2:-;3537:7;3553:33;3589:13;:11;:13::i;:::-;3553:49;;3616:25;3609:32;;;3482:165;:::o;278:28::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;54882:164:0:-;54979:4;55003:18;:25;55022:5;55003:25;;;;;;;;;;;;;;;:35;55029:8;55003:35;;;;;;;;;;;;;;;;;;;;;;;;;54996:42;;54882:164;;;;:::o;57463:127::-;57528:4;57552:30;57574:7;57552:12;:21;;:30;;;;:::i;:::-;57545:37;;57463:127;;;:::o;665:106::-;718:15;753:10;746:17;;665:106;:::o;63481:192::-;63583:2;63556:15;:24;63572:7;63556:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;63639:7;63635:2;63601:46;;63610:23;63625:7;63610:14;:23::i;:::-;63601:46;;;;;;;;;;;;63481:192;;:::o;44217:123::-;44286:7;44313:19;44321:3;:10;;44313:7;:19::i;:::-;44306:26;;44217:123;;;:::o;57757:355::-;57850:4;57875:16;57883:7;57875;:16::i;:::-;57867:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57951:13;57967:23;57982:7;57967:14;:23::i;:::-;57951:39;;58020:5;58009:16;;:7;:16;;;:51;;;;58053:7;58029:31;;:20;58041:7;58029:11;:20::i;:::-;:31;;;58009:51;:94;;;;58064:39;58088:5;58095:7;58064:23;:39::i;:::-;58009:94;58001:103;;;57757:355;;;;:::o;60893:599::-;61018:4;60991:31;;:23;61006:7;60991:14;:23::i;:::-;:31;;;60983:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61119:1;61105:16;;:2;:16;;;;61097:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61175:39;61196:4;61202:2;61206:7;61175:20;:39::i;:::-;61279:29;61296:1;61300:7;61279:8;:29::i;:::-;61321:35;61348:7;61321:13;:19;61335:4;61321:19;;;;;;;;;;;;;;;:26;;:35;;;;:::i;:::-;;61367:30;61389:7;61367:13;:17;61381:2;61367:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;61410:29;61427:7;61436:2;61410:12;:16;;:29;;;;;:::i;:::-;;61476:7;61472:2;61457:27;;61466:4;61457:27;;;;;;;;;;;;60893:599;;;:::o;36014:137::-;36085:7;36120:22;36124:3;:10;;36136:5;36120:3;:22::i;:::-;36112:31;;36105:38;;36014:137;;;;:::o;44679:236::-;44759:7;44768;44789:11;44802:13;44819:22;44823:3;:10;;44835:5;44819:3;:22::i;:::-;44788:53;;;;44868:3;44860:12;;44898:5;44890:14;;44852:55;;;;;;44679:236;;;;;:::o;45965:213::-;46072:7;46123:44;46128:3;:10;;46148:3;46140:12;;46154;46123:4;:44::i;:::-;46115:53;;46092:78;;45965:213;;;;;:::o;35556:114::-;35616:7;35643:19;35651:3;:10;;35643:7;:19::i;:::-;35636:26;;35556:114;;;:::o;59378:404::-;59472:1;59458:16;;:2;:16;;;;59450:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59531:16;59539:7;59531;:16::i;:::-;59530:17;59522:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59593:45;59622:1;59626:2;59630:7;59593:20;:45::i;:::-;59651:30;59673:7;59651:13;:17;59665:2;59651:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;59694:29;59711:7;59720:2;59694:12;:16;;:29;;;;;:::i;:::-;;59766:7;59762:2;59741:33;;59758:1;59741:33;;;;;;;;;;;;59378:404;;:::o;61648:215::-;61748:16;61756:7;61748;:16::i;:::-;61740:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61846:9;61824:10;:19;61835:7;61824:19;;;;;;;;;;;:31;;;;;;;;;;;;:::i;:::-;;61648:215;;:::o;56878:272::-;56992:28;57002:4;57008:2;57012:7;56992:9;:28::i;:::-;57039:48;57062:4;57068:2;57072:7;57081:5;57039:22;:48::i;:::-;57031:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56878:272;;;;:::o;46423:746::-;46479:13;46709:1;46700:5;:10;46696:53;;;46727:10;;;;;;;;;;;;;;;;;;;;;46696:53;46759:12;46774:5;46759:20;;46790:14;46815:78;46830:1;46822:4;:9;46815:78;;46848:8;;;;;;;46879:2;46871:10;;;;;;;;;46815:78;;;46903:19;46935:6;46925:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46903:39;;46953:13;46978:1;46969:6;:10;46953:26;;46997:5;46990:12;;47013:117;47028:1;47020:4;:9;47013:117;;47089:2;47082:4;:9;;;;;;47077:2;:14;47064:29;;47046:6;47053:7;;;;;;;47046:15;;;;;;;;;;;:47;;;;;;;;;;;47116:2;47108:10;;;;;;;;;47013:117;;;47154:6;47140:21;;;;;;46423:746;;;;:::o;43978:151::-;44062:4;44086:35;44096:3;:10;;44116:3;44108:12;;44086:9;:35::i;:::-;44079:42;;43978:151;;;;:::o;40796:110::-;40852:7;40879:3;:12;;:19;;;;40872:26;;40796:110;;;:::o;64286:93::-;;;;:::o;35101:137::-;35171:4;35195:35;35203:3;:10;;35223:5;35215:14;;35195:7;:35::i;:::-;35188:42;;35101:137;;;;:::o;34794:131::-;34861:4;34885:32;34890:3;:10;;34910:5;34902:14;;34885:4;:32::i;:::-;34878:39;;34794:131;;;;:::o;43401:185::-;43490:4;43514:64;43519:3;:10;;43539:3;43531:12;;43569:5;43553:23;;43545:32;;43514:4;:64::i;:::-;43507:71;;43401:185;;;;;:::o;31052:204::-;31119:7;31168:5;31147:3;:11;;:18;;;;:26;31139:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31230:3;:11;;31242:5;31230:18;;;;;;;;;;;;;;;;31223:25;;31052:204;;;;:::o;41261:279::-;41328:7;41337;41387:5;41365:3;:12;;:19;;;;:27;41357:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41444:22;41469:3;:12;;41482:5;41469:19;;;;;;;;;;;;;;;;;;41444:44;;41507:5;:10;;;41519:5;:12;;;41499:33;;;;;41261:279;;;;;:::o;42758:319::-;42852:7;42872:16;42891:3;:12;;:17;42904:3;42891:17;;;;;;;;;;;;42872:36;;42939:1;42927:8;:13;;42942:12;42919:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43009:3;:12;;43033:1;43022:8;:12;43009:26;;;;;;;;;;;;;;;;;;:33;;;43002:40;;;42758:319;;;;;:::o;30599:109::-;30655:7;30682:3;:11;;:18;;;;30675:25;;30599:109;;;:::o;62758:604::-;62879:4;62906:15;:2;:13;;;:15::i;:::-;62901:60;;62945:4;62938:11;;;;62901:60;62971:23;62997:252;63050:45;;;63110:12;:10;:12::i;:::-;63137:4;63156:7;63178:5;63013:181;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62997:252;;;;;;;;;;;;;;;;;:2;:15;;;;:252;;;;;:::i;:::-;62971:278;;63260:13;63287:10;63276:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63260:48;;47914:10;63337:16;;63327:26;;;:6;:26;;;;63319:35;;;;62758:604;;;;;;;:::o;40576:125::-;40647:4;40692:1;40671:3;:12;;:17;40684:3;40671:17;;;;;;;;;;;;:22;;40664:29;;40576:125;;;;:::o;28754:1544::-;28820:4;28938:18;28959:3;:12;;:19;28972:5;28959:19;;;;;;;;;;;;28938:40;;29009:1;28995:10;:15;28991:1300;;29357:21;29394:1;29381:10;:14;29357:38;;29410:17;29451:1;29430:3;:11;;:18;;;;:22;29410:42;;29697:17;29717:3;:11;;29729:9;29717:22;;;;;;;;;;;;;;;;29697:42;;29863:9;29834:3;:11;;29846:13;29834:26;;;;;;;;;;;;;;;:38;;;;29982:1;29966:13;:17;29940:3;:12;;:23;29953:9;29940:23;;;;;;;;;;;:43;;;;30092:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;30187:3;:12;;:19;30200:5;30187:19;;;;;;;;;;;30180:26;;;30230:4;30223:11;;;;;;;;28991:1300;30274:5;30267:12;;;28754:1544;;;;;:::o;28164:414::-;28227:4;28249:21;28259:3;28264:5;28249:9;:21::i;:::-;28244:327;;28287:3;:11;;28304:5;28287:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28470:3;:11;;:18;;;;28448:3;:12;;:19;28461:5;28448:19;;;;;;;;;;;:40;;;;28510:4;28503:11;;;;28244:327;28554:5;28547:12;;28164:414;;;;;:::o;38076:692::-;38152:4;38268:16;38287:3;:12;;:17;38300:3;38287:17;;;;;;;;;;;;38268:36;;38333:1;38321:8;:13;38317:444;;;38388:3;:12;;38406:38;;;;;;;;38423:3;38406:38;;;;38436:5;38406:38;;;38388:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38603:3;:12;;:19;;;;38583:3;:12;;:17;38596:3;38583:17;;;;;;;;;;;:39;;;;38644:4;38637:11;;;;;38317:444;38717:5;38681:3;:12;;38705:1;38694:8;:12;38681:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;38744:5;38737:12;;;38076:692;;;;;;:::o;19189:422::-;19249:4;19457:12;19568:7;19556:20;19548:28;;19602:1;19595:4;:8;19588:15;;;19189:422;;;:::o;22107:195::-;22210:12;22242:52;22264:6;22272:4;22278:1;22281:12;22242:21;:52::i;:::-;22235:59;;22107:195;;;;;:::o;30384:129::-;30457:4;30504:1;30481:3;:12;;:19;30494:5;30481:19;;;;;;;;;;;;:24;;30474:31;;30384:129;;;;:::o;23159:530::-;23286:12;23344:5;23319:21;:30;;23311:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23411:18;23422:6;23411:10;:18::i;:::-;23403:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23537:12;23551:23;23578:6;:11;;23598:5;23606:4;23578:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23536:75;;;;23629:52;23647:7;23656:10;23668:12;23629:17;:52::i;:::-;23622:59;;;;23159:530;;;;;;:::o;25699:742::-;25814:12;25843:7;25839:595;;;25874:10;25867:17;;;;25839:595;26008:1;25988:10;:17;:21;25984:439;;;26251:10;26245:17;26312:15;26299:10;26295:2;26291:19;26284:44;26199:148;26394:12;26387:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25699:742;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;7:342:3:-;;109:64;124:48;165:6;124:48;:::i;:::-;109:64;:::i;:::-;100:73;;196:6;189:5;182:21;234:4;227:5;223:16;272:3;263:6;258:3;254:16;251:25;248:2;;;289:1;286;279:12;248:2;302:41;336:6;331:3;326;302:41;:::i;:::-;90:259;;;;;;:::o;355:344::-;;458:65;473:49;515:6;473:49;:::i;:::-;458:65;:::i;:::-;449:74;;546:6;539:5;532:21;584:4;577:5;573:16;622:3;613:6;608:3;604:16;601:25;598:2;;;639:1;636;629:12;598:2;652:41;686:6;681:3;676;652:41;:::i;:::-;439:260;;;;;;:::o;705:139::-;;789:6;776:20;767:29;;805:33;832:5;805:33;:::i;:::-;757:87;;;;:::o;866:379::-;;;1011:3;1004:4;996:6;992:17;988:27;978:2;;1029:1;1026;1019:12;978:2;1065:6;1052:20;1042:30;;1095:18;1087:6;1084:30;1081:2;;;1127:1;1124;1117:12;1081:2;1164:4;1156:6;1152:17;1140:29;;1218:3;1210:4;1202:6;1198:17;1188:8;1184:32;1181:41;1178:2;;;1235:1;1232;1225:12;1178:2;968:277;;;;;:::o;1251:133::-;;1332:6;1319:20;1310:29;;1348:30;1372:5;1348:30;:::i;:::-;1300:84;;;;:::o;1390:137::-;;1473:6;1460:20;1451:29;;1489:32;1515:5;1489:32;:::i;:::-;1441:86;;;;:::o;1546:271::-;;1650:3;1643:4;1635:6;1631:17;1627:27;1617:2;;1668:1;1665;1658:12;1617:2;1708:6;1695:20;1733:78;1807:3;1799:6;1792:4;1784:6;1780:17;1733:78;:::i;:::-;1724:87;;1607:210;;;;;:::o;1837:273::-;;1942:3;1935:4;1927:6;1923:17;1919:27;1909:2;;1960:1;1957;1950:12;1909:2;2000:6;1987:20;2025:79;2100:3;2092:6;2085:4;2077:6;2073:17;2025:79;:::i;:::-;2016:88;;1899:211;;;;;:::o;2116:139::-;;2200:6;2187:20;2178:29;;2216:33;2243:5;2216:33;:::i;:::-;2168:87;;;;:::o;2261:262::-;;2369:2;2357:9;2348:7;2344:23;2340:32;2337:2;;;2385:1;2382;2375:12;2337:2;2428:1;2453:53;2498:7;2489:6;2478:9;2474:22;2453:53;:::i;:::-;2443:63;;2399:117;2327:196;;;;:::o;2529:407::-;;;2654:2;2642:9;2633:7;2629:23;2625:32;2622:2;;;2670:1;2667;2660:12;2622:2;2713:1;2738:53;2783:7;2774:6;2763:9;2759:22;2738:53;:::i;:::-;2728:63;;2684:117;2840:2;2866:53;2911:7;2902:6;2891:9;2887:22;2866:53;:::i;:::-;2856:63;;2811:118;2612:324;;;;;:::o;2942:552::-;;;;3084:2;3072:9;3063:7;3059:23;3055:32;3052:2;;;3100:1;3097;3090:12;3052:2;3143:1;3168:53;3213:7;3204:6;3193:9;3189:22;3168:53;:::i;:::-;3158:63;;3114:117;3270:2;3296:53;3341:7;3332:6;3321:9;3317:22;3296:53;:::i;:::-;3286:63;;3241:118;3398:2;3424:53;3469:7;3460:6;3449:9;3445:22;3424:53;:::i;:::-;3414:63;;3369:118;3042:452;;;;;:::o;3500:809::-;;;;;3668:3;3656:9;3647:7;3643:23;3639:33;3636:2;;;3685:1;3682;3675:12;3636:2;3728:1;3753:53;3798:7;3789:6;3778:9;3774:22;3753:53;:::i;:::-;3743:63;;3699:117;3855:2;3881:53;3926:7;3917:6;3906:9;3902:22;3881:53;:::i;:::-;3871:63;;3826:118;3983:2;4009:53;4054:7;4045:6;4034:9;4030:22;4009:53;:::i;:::-;3999:63;;3954:118;4139:2;4128:9;4124:18;4111:32;4170:18;4162:6;4159:30;4156:2;;;4202:1;4199;4192:12;4156:2;4230:62;4284:7;4275:6;4264:9;4260:22;4230:62;:::i;:::-;4220:72;;4082:220;3626:683;;;;;;;:::o;4315:401::-;;;4437:2;4425:9;4416:7;4412:23;4408:32;4405:2;;;4453:1;4450;4443:12;4405:2;4496:1;4521:53;4566:7;4557:6;4546:9;4542:22;4521:53;:::i;:::-;4511:63;;4467:117;4623:2;4649:50;4691:7;4682:6;4671:9;4667:22;4649:50;:::i;:::-;4639:60;;4594:115;4395:321;;;;;:::o;4722:407::-;;;4847:2;4835:9;4826:7;4822:23;4818:32;4815:2;;;4863:1;4860;4853:12;4815:2;4906:1;4931:53;4976:7;4967:6;4956:9;4952:22;4931:53;:::i;:::-;4921:63;;4877:117;5033:2;5059:53;5104:7;5095:6;5084:9;5080:22;5059:53;:::i;:::-;5049:63;;5004:118;4805:324;;;;;:::o;5135:260::-;;5242:2;5230:9;5221:7;5217:23;5213:32;5210:2;;;5258:1;5255;5248:12;5210:2;5301:1;5326:52;5370:7;5361:6;5350:9;5346:22;5326:52;:::i;:::-;5316:62;;5272:116;5200:195;;;;:::o;5401:375::-;;5519:2;5507:9;5498:7;5494:23;5490:32;5487:2;;;5535:1;5532;5525:12;5487:2;5606:1;5595:9;5591:17;5578:31;5636:18;5628:6;5625:30;5622:2;;;5668:1;5665;5658:12;5622:2;5696:63;5751:7;5742:6;5731:9;5727:22;5696:63;:::i;:::-;5686:73;;5549:220;5477:299;;;;:::o;5782:1111::-;;;;;;6008:3;5996:9;5987:7;5983:23;5979:33;5976:2;;;6025:1;6022;6015:12;5976:2;6096:1;6085:9;6081:17;6068:31;6126:18;6118:6;6115:30;6112:2;;;6158:1;6155;6148:12;6112:2;6186:63;6241:7;6232:6;6221:9;6217:22;6186:63;:::i;:::-;6176:73;;6039:220;6326:2;6315:9;6311:18;6298:32;6357:18;6349:6;6346:30;6343:2;;;6389:1;6386;6379:12;6343:2;6417:63;6472:7;6463:6;6452:9;6448:22;6417:63;:::i;:::-;6407:73;;6269:221;6529:2;6555:53;6600:7;6591:6;6580:9;6576:22;6555:53;:::i;:::-;6545:63;;6500:118;6685:2;6674:9;6670:18;6657:32;6716:18;6708:6;6705:30;6702:2;;;6748:1;6745;6738:12;6702:2;6784:92;6868:7;6859:6;6848:9;6844:22;6784:92;:::i;:::-;6766:110;;;;6628:258;5966:927;;;;;;;;:::o;6899:262::-;;7007:2;6995:9;6986:7;6982:23;6978:32;6975:2;;;7023:1;7020;7013:12;6975:2;7066:1;7091:53;7136:7;7127:6;7116:9;7112:22;7091:53;:::i;:::-;7081:63;;7037:117;6965:196;;;;:::o;7167:407::-;;;7292:2;7280:9;7271:7;7267:23;7263:32;7260:2;;;7308:1;7305;7298:12;7260:2;7351:1;7376:53;7421:7;7412:6;7401:9;7397:22;7376:53;:::i;:::-;7366:63;;7322:117;7478:2;7504:53;7549:7;7540:6;7529:9;7525:22;7504:53;:::i;:::-;7494:63;;7449:118;7250:324;;;;;:::o;7580:142::-;7683:32;7709:5;7683:32;:::i;:::-;7678:3;7671:45;7661:61;;:::o;7728:118::-;7815:24;7833:5;7815:24;:::i;:::-;7810:3;7803:37;7793:53;;:::o;7852:109::-;7933:21;7948:5;7933:21;:::i;:::-;7928:3;7921:34;7911:50;;:::o;7991:317::-;;8128:89;8210:6;8205:3;8128:89;:::i;:::-;8121:96;;8227:43;8263:6;8258:3;8251:5;8227:43;:::i;:::-;8295:6;8290:3;8286:16;8279:23;;8111:197;;;;;:::o;8314:364::-;;8430:39;8463:5;8430:39;:::i;:::-;8485:71;8549:6;8544:3;8485:71;:::i;:::-;8478:78;;8565:52;8610:6;8605:3;8598:4;8591:5;8587:16;8565:52;:::i;:::-;8642:29;8664:6;8642:29;:::i;:::-;8637:3;8633:39;8626:46;;8406:272;;;;;:::o;8684:377::-;;8818:39;8851:5;8818:39;:::i;:::-;8873:89;8955:6;8950:3;8873:89;:::i;:::-;8866:96;;8971:52;9016:6;9011:3;9004:4;8997:5;8993:16;8971:52;:::i;:::-;9048:6;9043:3;9039:16;9032:23;;8794:267;;;;;:::o;9067:118::-;9154:24;9172:5;9154:24;:::i;:::-;9149:3;9142:37;9132:53;;:::o;9191:295::-;;9355:105;9456:3;9447:6;9439;9355:105;:::i;:::-;9348:112;;9477:3;9470:10;;9337:149;;;;;:::o;9492:275::-;;9646:95;9737:3;9728:6;9646:95;:::i;:::-;9639:102;;9758:3;9751:10;;9628:139;;;;:::o;9773:222::-;;9904:2;9893:9;9889:18;9881:26;;9917:71;9985:1;9974:9;9970:17;9961:6;9917:71;:::i;:::-;9871:124;;;;:::o;10001:210::-;;10126:2;10115:9;10111:18;10103:26;;10139:65;10201:1;10190:9;10186:17;10177:6;10139:65;:::i;:::-;10093:118;;;;:::o;10217:313::-;;10368:2;10357:9;10353:18;10345:26;;10417:9;10411:4;10407:20;10403:1;10392:9;10388:17;10381:47;10445:78;10518:4;10509:6;10445:78;:::i;:::-;10437:86;;10335:195;;;;:::o;10536:222::-;;10667:2;10656:9;10652:18;10644:26;;10680:71;10748:1;10737:9;10733:17;10724:6;10680:71;:::i;:::-;10634:124;;;;:::o;10764:1374::-;;11201:3;11190:9;11186:19;11178:27;;11215:71;11283:1;11272:9;11268:17;11259:6;11215:71;:::i;:::-;11333:9;11327:4;11323:20;11318:2;11307:9;11303:18;11296:48;11361:78;11434:4;11425:6;11361:78;:::i;:::-;11353:86;;11486:9;11480:4;11476:20;11471:2;11460:9;11456:18;11449:48;11514:78;11587:4;11578:6;11514:78;:::i;:::-;11506:86;;11602:88;11686:2;11675:9;11671:18;11662:6;11602:88;:::i;:::-;11700:89;11784:3;11773:9;11769:19;11760:6;11700:89;:::i;:::-;11799;11883:3;11872:9;11868:19;11859:6;11799:89;:::i;:::-;11898:73;11966:3;11955:9;11951:19;11942:6;11898:73;:::i;:::-;11981;12049:3;12038:9;12034:19;12025:6;11981:73;:::i;:::-;12064:67;12126:3;12115:9;12111:19;12102:6;12064:67;:::i;:::-;11168:970;;;;;;;;;;;;:::o;12144:524::-;;;12284:11;12271:25;12384:1;12378:4;12374:12;12363:8;12347:14;12343:29;12339:48;12319:18;12315:73;12305:2;;12402:1;12399;12392:12;12305:2;12437:18;12427:8;12423:33;12415:41;;12489:4;12476:18;12466:28;;12517:18;12509:6;12506:30;12503:2;;;12549:1;12546;12539:12;12503:2;12580;12574:4;12570:13;12562:21;;12637:4;12629:6;12625:17;12609:14;12605:38;12599:4;12595:49;12592:2;;;12657:1;12654;12647:12;12592:2;12235:433;;;;;;:::o;12674:278::-;;12740:2;12734:9;12724:19;;12782:4;12774:6;12770:17;12889:6;12877:10;12874:22;12853:18;12841:10;12838:34;12835:62;12832:2;;;12900:13;;:::i;:::-;12832:2;12935:10;12931:2;12924:22;12714:238;;;;:::o;12958:326::-;;13109:18;13101:6;13098:30;13095:2;;;13131:13;;:::i;:::-;13095:2;13211:4;13207:9;13200:4;13192:6;13188:17;13184:33;13176:41;;13272:4;13266;13262:15;13254:23;;13024:260;;;:::o;13290:327::-;;13442:18;13434:6;13431:30;13428:2;;;13464:13;;:::i;:::-;13428:2;13544:4;13540:9;13533:4;13525:6;13521:17;13517:33;13509:41;;13605:4;13599;13595:15;13587:23;;13357:260;;;:::o;13623:99::-;;13709:5;13703:12;13693:22;;13682:40;;;:::o;13728:169::-;;13846:6;13841:3;13834:19;13886:4;13881:3;13877:14;13862:29;;13824:73;;;;:::o;13903:148::-;;14042:3;14027:18;;14017:34;;;;:::o;14057:96::-;;14123:24;14141:5;14123:24;:::i;:::-;14112:35;;14102:51;;;:::o;14159:104::-;;14233:24;14251:5;14233:24;:::i;:::-;14222:35;;14212:51;;;:::o;14269:90::-;;14346:5;14339:13;14332:21;14321:32;;14311:48;;;:::o;14365:149::-;;14441:66;14434:5;14430:78;14419:89;;14409:105;;;:::o;14520:126::-;;14597:42;14590:5;14586:54;14575:65;;14565:81;;;:::o;14652:77::-;;14718:5;14707:16;;14697:32;;;:::o;14735:154::-;14819:6;14814:3;14809;14796:30;14881:1;14872:6;14867:3;14863:16;14856:27;14786:103;;;:::o;14895:307::-;14963:1;14973:113;14987:6;14984:1;14981:13;14973:113;;;15072:1;15067:3;15063:11;15057:18;15053:1;15048:3;15044:11;15037:39;15009:2;15006:1;15002:10;14997:15;;14973:113;;;15104:6;15101:1;15098:13;15095:2;;;15184:1;15175:6;15170:3;15166:16;15159:27;15095:2;14944:258;;;;:::o;15208:48::-;15241:9;15262:102;;15354:2;15350:7;15345:2;15338:5;15334:14;15330:28;15320:38;;15310:54;;;:::o;15370:122::-;15443:24;15461:5;15443:24;:::i;:::-;15436:5;15433:35;15423:2;;15482:1;15479;15472:12;15423:2;15413:79;:::o;15498:116::-;15568:21;15583:5;15568:21;:::i;:::-;15561:5;15558:32;15548:2;;15604:1;15601;15594:12;15548:2;15538:76;:::o;15620:120::-;15692:23;15709:5;15692:23;:::i;:::-;15685:5;15682:34;15672:2;;15730:1;15727;15720:12;15672:2;15662:78;:::o;15746:122::-;15819:24;15837:5;15819:24;:::i;:::-;15812:5;15809:35;15799:2;;15858:1;15855;15848:12;15799:2;15789:79;:::o", + "source": "// SPDX-License-Identifier: MIT\r\npragma solidity >=0.4.21 <0.8.0;\r\npragma abicoder v2;\r\n\r\n// import ERC721 iterface\r\nimport \"./ERC721.sol\";\r\n\r\n// BscBoys smart contract inherits ERC721 interface\r\ncontract BscBoys is ERC721 {\r\n\r\n // this contract's token collection name\r\n string public collectionName;\r\n // this contract's token symbol\r\n string public collectionNameSymbol;\r\n // total number of crypto boys minted\r\n uint256 public cryptoBoyCounter;\r\n\r\n // define crypto boy struct\r\n struct CryptoBoy {\r\n uint256 tokenId;\r\n string tokenName;\r\n string tokenURI;\r\n address payable mintedBy;\r\n address payable currentOwner;\r\n address payable previousOwner;\r\n uint256 price;\r\n uint256 numberOfTransfers;\r\n bool forSale;\r\n }\r\n\r\n // map cryptoboy's token id to crypto boy\r\n mapping(uint256 => CryptoBoy) public allBscBoys;\r\n // check if token name exists\r\n mapping(string => bool) public tokenNameExists;\r\n // check if color exists\r\n mapping(string => bool) public colorExists;\r\n // check if token URI exists\r\n mapping(string => bool) public tokenURIExists;\r\n\r\n // initialize contract while deployment with contract's collection name and token\r\n constructor() ERC721(\"Crypto Boys Collection\", \"CB\") {\r\n collectionName = name();\r\n collectionNameSymbol = symbol();\r\n }\r\n\r\n // mint a new crypto boy\r\n function mintCryptoBoy(string memory _name, string memory _tokenURI, uint256 _price, string[] calldata _colors) external {\r\n // check if thic fucntion caller is not an zero address account\r\n require(msg.sender != address(0));\r\n // increment counter\r\n cryptoBoyCounter ++;\r\n // check if a token exists with the above token id => incremented counter\r\n require(!_exists(cryptoBoyCounter));\r\n\r\n // loop through the colors passed and check if each colors already exists or not\r\n for(uint i=0; i<_colors.length; i++) {\r\n require(!colorExists[_colors[i]]);\r\n }\r\n // check if the token URI already exists or not\r\n require(!tokenURIExists[_tokenURI]);\r\n // check if the token name already exists or not\r\n require(!tokenNameExists[_name]);\r\n\r\n // mint the token\r\n _mint(msg.sender, cryptoBoyCounter);\r\n // set token URI (bind token id with the passed in token URI)\r\n _setTokenURI(cryptoBoyCounter, _tokenURI);\r\n\r\n // loop through the colors passed and make each of the colors as exists since the token is already minted\r\n for (uint i=0; i<_colors.length; i++) {\r\n colorExists[_colors[i]] = true;\r\n }\r\n // make passed token URI as exists\r\n tokenURIExists[_tokenURI] = true;\r\n // make token name passed as exists\r\n tokenNameExists[_name] = true;\r\n\r\n // creat a new crypto boy (struct) and pass in new values\r\n CryptoBoy memory newCryptoBoy = CryptoBoy(\r\n cryptoBoyCounter,\r\n _name,\r\n _tokenURI,\r\n msg.sender,\r\n msg.sender,\r\n address(0),\r\n _price,\r\n 0,\r\n true);\r\n // add the token id and it's crypto boy to all crypto boys mapping\r\n allBscBoys[cryptoBoyCounter] = newCryptoBoy;\r\n }\r\n\r\n // get owner of the token\r\n function getTokenOwner(uint256 _tokenId) public view returns(address) {\r\n address _tokenOwner = ownerOf(_tokenId);\r\n return _tokenOwner;\r\n }\r\n\r\n // get metadata of the token\r\n function getTokenMetaData(uint _tokenId) public view returns(string memory) {\r\n string memory tokenMetaData = tokenURI(_tokenId);\r\n return tokenMetaData;\r\n }\r\n\r\n // get total number of tokens minted so far\r\n function getNumberOfTokensMinted() public view returns(uint256) {\r\n uint256 totalNumberOfTokensMinted = totalSupply();\r\n return totalNumberOfTokensMinted;\r\n }\r\n\r\n // get total number of tokens owned by an address\r\n function getTotalNumberOfTokensOwnedByAnAddress(address _owner) public view returns(uint256) {\r\n uint256 totalNumberOfTokensOwned = balanceOf(_owner);\r\n return totalNumberOfTokensOwned;\r\n }\r\n\r\n // check if the token already exists\r\n function getTokenExists(uint256 _tokenId) public view returns(bool) {\r\n bool tokenExists = _exists(_tokenId);\r\n return tokenExists;\r\n }\r\n\r\n // by a token by passing in the token's id\r\n function buyToken(uint256 _tokenId) public payable {\r\n // check if the function caller is not an zero account address\r\n require(msg.sender != address(0));\r\n // check if the token id of the token being bought exists or not\r\n require(_exists(_tokenId));\r\n // get the token's owner\r\n address tokenOwner = ownerOf(_tokenId);\r\n // token's owner should not be an zero address account\r\n require(tokenOwner != address(0));\r\n // the one who wants to buy the token should not be the token's owner\r\n require(tokenOwner != msg.sender);\r\n // get that token from all crypto boys mapping and create a memory of it defined as (struct => CryptoBoy)\r\n CryptoBoy memory cryptoboy = allBscBoys[_tokenId];\r\n // price sent in to buy should be equal to or more than the token's price\r\n require(msg.value >= cryptoboy.price);\r\n // token should be for sale\r\n require(cryptoboy.forSale);\r\n // transfer the token from owner to the caller of the function (buyer)\r\n _transfer(tokenOwner, msg.sender, _tokenId);\r\n // get owner of the token\r\n address payable sendTo = cryptoboy.currentOwner;\r\n // send token's worth of ethers to the owner\r\n sendTo.transfer(msg.value);\r\n // update the token's previous owner\r\n cryptoboy.previousOwner = cryptoboy.currentOwner;\r\n // update the token's current owner\r\n cryptoboy.currentOwner = msg.sender;\r\n // update the how many times this token was transfered\r\n cryptoboy.numberOfTransfers += 1;\r\n // set and update that token in the mapping\r\n allBscBoys[_tokenId] = cryptoboy;\r\n }\r\n\r\n function changeTokenPrice(uint256 _tokenId, uint256 _newPrice) public {\r\n // require caller of the function is not an empty address\r\n require(msg.sender != address(0));\r\n // require that token should exist\r\n require(_exists(_tokenId));\r\n // get the token's owner\r\n address tokenOwner = ownerOf(_tokenId);\r\n // check that token's owner should be equal to the caller of the function\r\n require(tokenOwner == msg.sender);\r\n // get that token from all crypto boys mapping and create a memory of it defined as (struct => CryptoBoy)\r\n CryptoBoy memory cryptoboy = allBscBoys[_tokenId];\r\n // update token's price with new price\r\n cryptoboy.price = _newPrice;\r\n // set and update that token in the mapping\r\n allBscBoys[_tokenId] = cryptoboy;\r\n }\r\n\r\n // switch between set for sale and set not for sale\r\n function toggleForSale(uint256 _tokenId) public {\r\n // require caller of the function is not an empty address\r\n require(msg.sender != address(0));\r\n // require that token should exist\r\n require(_exists(_tokenId));\r\n // get the token's owner\r\n address tokenOwner = ownerOf(_tokenId);\r\n // check that token's owner should be equal to the caller of the function\r\n require(tokenOwner == msg.sender);\r\n // get that token from all crypto boys mapping and create a memory of it defined as (struct => CryptoBoy)\r\n CryptoBoy memory cryptoboy = allBscBoys[_tokenId];\r\n // if token's forSale is false make it true and vice versa\r\n if(cryptoboy.forSale) {\r\n cryptoboy.forSale = false;\r\n } else {\r\n cryptoboy.forSale = true;\r\n }\r\n // set and update that token in the mapping\r\n allBscBoys[_tokenId] = cryptoboy;\r\n }\r\n}", + "sourcePath": "C:\\Users\\Noahm\\cryptoboys-nft-marketplace\\src\\contracts\\BscBoys.sol", + "ast": { + "absolutePath": "project:/src/contracts/BscBoys.sol", + "exportedSymbols": { + "Address": [ + 922 + ], + "Context": [ + 22 + ], + "ERC165": [ + 273 + ], + "ERC721": [ + 2990 + ], + "EnumerableMap": [ + 1972 + ], + "EnumerableSet": [ + 1413 + ], + "IERC165": [ + 33 + ], + "IERC721": [ + 147 + ], + "IERC721Enumerable": [ + 201 + ], + "IERC721Metadata": [ + 172 + ], + "IERC721Receiver": [ + 218 + ], + "BscBoys": [ + 3555 + ], + "SafeMath": [ + 627 + ], + "Strings": [ + 2058 + ] + }, + "id": 3556, + "license": "MIT", + "nodeType": "SourceUnit", + "nodes": [ + { + "id": 3049, + "literals": [ + "solidity", + ">=", + "0.4", + ".21", + "<", + "0.8", + ".0" + ], + "nodeType": "PragmaDirective", + "src": "33:32:2" + }, + { + "id": 3050, + "literals": [ + "abicoder", + "v2" + ], + "nodeType": "PragmaDirective", + "src": "67:19:2" + }, + { + "absolutePath": "project:/src/contracts/ERC721.sol", + "file": "./ERC721.sol", + "id": 3051, + "nodeType": "ImportDirective", + "scope": 3556, + "sourceUnit": 2991, + "src": "117:22:2", + "symbolAliases": [], + "unitAlias": "" + }, + { + "abstract": false, + "baseContracts": [ + { + "baseName": { + "id": 3052, + "name": "ERC721", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 2990, + "src": "220:6:2", + "typeDescriptions": { + "typeIdentifier": "t_contract$_ERC721_$2990", + "typeString": "contract ERC721" + } + }, + "id": 3053, + "nodeType": "InheritanceSpecifier", + "src": "220:6:2" + } + ], + "contractDependencies": [ + 22, + 33, + 147, + 172, + 201, + 273, + 2990 + ], + "contractKind": "contract", + "fullyImplemented": true, + "id": 3555, + "linearizedBaseContracts": [ + 3555, + 2990, + 201, + 172, + 147, + 273, + 33, + 22 + ], + "name": "BscBoys", + "nodeType": "ContractDefinition", + "nodes": [ + { + "constant": false, + "functionSelector": "e5326ab1", + "id": 3055, + "mutability": "mutable", + "name": "collectionName", + "nodeType": "VariableDeclaration", + "scope": 3555, + "src": "278:28:2", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string" + }, + "typeName": { + "id": 3054, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "278:6:2", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "public" + }, + { + "constant": false, + "functionSelector": "6f9507f9", + "id": 3057, + "mutability": "mutable", + "name": "collectionNameSymbol", + "nodeType": "VariableDeclaration", + "scope": 3555, + "src": "346:34:2", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string" + }, + "typeName": { + "id": 3056, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "346:6:2", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "public" + }, + { + "constant": false, + "functionSelector": "bffec202", + "id": 3059, + "mutability": "mutable", + "name": "cryptoBoyCounter", + "nodeType": "VariableDeclaration", + "scope": 3555, + "src": "426:31:2", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3058, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "426:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "public" + }, + { + "canonicalName": "BscBoys.CryptoBoy", + "id": 3078, + "members": [ + { + "constant": false, + "id": 3061, + "mutability": "mutable", + "name": "tokenId", + "nodeType": "VariableDeclaration", + "scope": 3078, + "src": "520:15:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3060, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "520:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3063, + "mutability": "mutable", + "name": "tokenName", + "nodeType": "VariableDeclaration", + "scope": 3078, + "src": "542:16:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + }, + "typeName": { + "id": 3062, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "542:6:2", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3065, + "mutability": "mutable", + "name": "tokenURI", + "nodeType": "VariableDeclaration", + "scope": 3078, + "src": "565:15:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + }, + "typeName": { + "id": 3064, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "565:6:2", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3067, + "mutability": "mutable", + "name": "mintedBy", + "nodeType": "VariableDeclaration", + "scope": 3078, + "src": "587:24:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + "typeName": { + "id": 3066, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "587:15:2", + "stateMutability": "payable", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3069, + "mutability": "mutable", + "name": "currentOwner", + "nodeType": "VariableDeclaration", + "scope": 3078, + "src": "618:28:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + "typeName": { + "id": 3068, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "618:15:2", + "stateMutability": "payable", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3071, + "mutability": "mutable", + "name": "previousOwner", + "nodeType": "VariableDeclaration", + "scope": 3078, + "src": "653:29:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + "typeName": { + "id": 3070, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "653:15:2", + "stateMutability": "payable", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3073, + "mutability": "mutable", + "name": "price", + "nodeType": "VariableDeclaration", + "scope": 3078, + "src": "689:13:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3072, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "689:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3075, + "mutability": "mutable", + "name": "numberOfTransfers", + "nodeType": "VariableDeclaration", + "scope": 3078, + "src": "709:25:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3074, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "709:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3077, + "mutability": "mutable", + "name": "forSale", + "nodeType": "VariableDeclaration", + "scope": 3078, + "src": "741:12:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 3076, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "741:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "name": "CryptoBoy", + "nodeType": "StructDefinition", + "scope": 3555, + "src": "496:263:2", + "visibility": "public" + }, + { + "constant": false, + "functionSelector": "202d0459", + "id": 3082, + "mutability": "mutable", + "name": "allBscBoys", + "nodeType": "VariableDeclaration", + "scope": 3555, + "src": "810:49:2", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CryptoBoy_$3078_storage_$", + "typeString": "mapping(uint256 => struct BscBoys.CryptoBoy)" + }, + "typeName": { + "id": 3081, + "keyType": { + "id": 3079, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "818:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Mapping", + "src": "810:29:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CryptoBoy_$3078_storage_$", + "typeString": "mapping(uint256 => struct BscBoys.CryptoBoy)" + }, + "valueType": { + "id": 3080, + "name": "CryptoBoy", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 3078, + "src": "829:9:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_storage_ptr", + "typeString": "struct BscBoys.CryptoBoy" + } + } + }, + "visibility": "public" + }, + { + "constant": false, + "functionSelector": "a46b1fac", + "id": 3086, + "mutability": "mutable", + "name": "tokenNameExists", + "nodeType": "VariableDeclaration", + "scope": 3555, + "src": "897:46:2", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_bool_$", + "typeString": "mapping(string => bool)" + }, + "typeName": { + "id": 3085, + "keyType": { + "id": 3083, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "905:6:2", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "nodeType": "Mapping", + "src": "897:23:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_bool_$", + "typeString": "mapping(string => bool)" + }, + "valueType": { + "id": 3084, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "915:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + }, + "visibility": "public" + }, + { + "constant": false, + "functionSelector": "8d44807c", + "id": 3090, + "mutability": "mutable", + "name": "colorExists", + "nodeType": "VariableDeclaration", + "scope": 3555, + "src": "976:42:2", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_bool_$", + "typeString": "mapping(string => bool)" + }, + "typeName": { + "id": 3089, + "keyType": { + "id": 3087, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "984:6:2", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "nodeType": "Mapping", + "src": "976:23:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_bool_$", + "typeString": "mapping(string => bool)" + }, + "valueType": { + "id": 3088, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "994:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + }, + "visibility": "public" + }, + { + "constant": false, + "functionSelector": "43d32ae7", + "id": 3094, + "mutability": "mutable", + "name": "tokenURIExists", + "nodeType": "VariableDeclaration", + "scope": 3555, + "src": "1055:45:2", + "stateVariable": true, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_bool_$", + "typeString": "mapping(string => bool)" + }, + "typeName": { + "id": 3093, + "keyType": { + "id": 3091, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1063:6:2", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "nodeType": "Mapping", + "src": "1055:23:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_bool_$", + "typeString": "mapping(string => bool)" + }, + "valueType": { + "id": 3092, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "1073:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + }, + "visibility": "public" + }, + { + "body": { + "id": 3111, + "nodeType": "Block", + "src": "1245:74:2", + "statements": [ + { + "expression": { + "id": 3104, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 3101, + "name": "collectionName", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3055, + "src": "1252:14:2", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 3102, + "name": "name", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2204, + "src": "1269:4:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_string_memory_ptr_$", + "typeString": "function () view returns (string memory)" + } + }, + "id": 3103, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1269:6:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "1252:23:2", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "id": 3105, + "nodeType": "ExpressionStatement", + "src": "1252:23:2" + }, + { + "expression": { + "id": 3109, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "id": 3106, + "name": "collectionNameSymbol", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3057, + "src": "1282:20:2", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 3107, + "name": "symbol", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2214, + "src": "1305:6:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_string_memory_ptr_$", + "typeString": "function () view returns (string memory)" + } + }, + "id": 3108, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1305:8:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "src": "1282:31:2", + "typeDescriptions": { + "typeIdentifier": "t_string_storage", + "typeString": "string storage ref" + } + }, + "id": 3110, + "nodeType": "ExpressionStatement", + "src": "1282:31:2" + } + ] + }, + "id": 3112, + "implemented": true, + "kind": "constructor", + "modifiers": [ + { + "arguments": [ + { + "hexValue": "43727970746f20426f797320436f6c6c656374696f6e", + "id": 3097, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1213:24:2", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_6bd21d47952e87bf4ed68a38f30d9f592bb6ca944d7da76f649278092ff2a419", + "typeString": "literal_string \"Crypto Boys Collection\"" + }, + "value": "Crypto Boys Collection" + }, + { + "hexValue": "4342", + "id": 3098, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "string", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1239:4:2", + "typeDescriptions": { + "typeIdentifier": "t_stringliteral_f95006aa3663cc8e3bd582fbf39ac42bd1b3e00e434f5d3ba4fe374b8527d29c", + "typeString": "literal_string \"CB\"" + }, + "value": "CB" + } + ], + "id": 3099, + "modifierName": { + "id": 3096, + "name": "ERC721", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2990, + "src": "1206:6:2", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", + "typeString": "type(contract ERC721)" + } + }, + "nodeType": "ModifierInvocation", + "src": "1206:38:2" + } + ], + "name": "", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3095, + "nodeType": "ParameterList", + "parameters": [], + "src": "1203:2:2" + }, + "returnParameters": { + "id": 3100, + "nodeType": "ParameterList", + "parameters": [], + "src": "1245:0:2" + }, + "scope": 3555, + "src": "1192:127:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 3249, + "nodeType": "Block", + "src": "1474:1571:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + "id": 3131, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 3125, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "1558:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3126, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "1558:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "arguments": [ + { + "hexValue": "30", + "id": 3129, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1580:1:2", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 3128, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "1572:7:2", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 3127, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "1572:7:2", + "typeDescriptions": {} + } + }, + "id": 3130, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1572:10:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "1558:24:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 3124, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1550:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 3132, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1550:33:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3133, + "nodeType": "ExpressionStatement", + "src": "1550:33:2" + }, + { + "expression": { + "id": 3135, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "1616:19:2", + "subExpression": { + "id": 3134, + "name": "cryptoBoyCounter", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3059, + "src": "1616:16:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 3136, + "nodeType": "ExpressionStatement", + "src": "1616:19:2" + }, + { + "expression": { + "arguments": [ + { + "id": 3141, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "1729:26:2", + "subExpression": { + "arguments": [ + { + "id": 3139, + "name": "cryptoBoyCounter", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3059, + "src": "1738:16:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 3138, + "name": "_exists", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2577, + "src": "1730:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" + } + }, + "id": 3140, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1730:25:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 3137, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1721:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 3142, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1721:35:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3143, + "nodeType": "ExpressionStatement", + "src": "1721:35:2" + }, + { + "body": { + "id": 3164, + "nodeType": "Block", + "src": "1888:50:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "id": 3161, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "1905:24:2", + "subExpression": { + "baseExpression": { + "id": 3156, + "name": "colorExists", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3090, + "src": "1906:11:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_bool_$", + "typeString": "mapping(string memory => bool)" + } + }, + "id": 3160, + "indexExpression": { + "baseExpression": { + "id": 3157, + "name": "_colors", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3121, + "src": "1918:7:2", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", + "typeString": "string calldata[] calldata" + } + }, + "id": 3159, + "indexExpression": { + "id": 3158, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3145, + "src": "1926:1:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1918:10:2", + "typeDescriptions": { + "typeIdentifier": "t_string_calldata_ptr", + "typeString": "string calldata" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "1906:23:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 3155, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1897:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 3162, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1897:33:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3163, + "nodeType": "ExpressionStatement", + "src": "1897:33:2" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 3151, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 3148, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3145, + "src": "1865:1:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 3149, + "name": "_colors", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3121, + "src": "1867:7:2", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", + "typeString": "string calldata[] calldata" + } + }, + "id": 3150, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "src": "1867:14:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "1865:16:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 3165, + "initializationExpression": { + "assignments": [ + 3145 + ], + "declarations": [ + { + "constant": false, + "id": 3145, + "mutability": "mutable", + "name": "i", + "nodeType": "VariableDeclaration", + "scope": 3165, + "src": "1855:6:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3144, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "1855:4:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 3147, + "initialValue": { + "hexValue": "30", + "id": 3146, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "1862:1:2", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "1855:8:2" + }, + "loopExpression": { + "expression": { + "id": 3153, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "1883:3:2", + "subExpression": { + "id": 3152, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3145, + "src": "1883:1:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 3154, + "nodeType": "ExpressionStatement", + "src": "1883:3:2" + }, + "nodeType": "ForStatement", + "src": "1851:87:2" + }, + { + "expression": { + "arguments": [ + { + "id": 3170, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "2005:26:2", + "subExpression": { + "baseExpression": { + "id": 3167, + "name": "tokenURIExists", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3094, + "src": "2006:14:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_bool_$", + "typeString": "mapping(string memory => bool)" + } + }, + "id": 3169, + "indexExpression": { + "id": 3168, + "name": "_tokenURI", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3116, + "src": "2021:9:2", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2006:25:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 3166, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "1997:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 3171, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "1997:35:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3172, + "nodeType": "ExpressionStatement", + "src": "1997:35:2" + }, + { + "expression": { + "arguments": [ + { + "id": 3177, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "!", + "prefix": true, + "src": "2101:23:2", + "subExpression": { + "baseExpression": { + "id": 3174, + "name": "tokenNameExists", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3086, + "src": "2102:15:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_bool_$", + "typeString": "mapping(string memory => bool)" + } + }, + "id": 3176, + "indexExpression": { + "id": 3175, + "name": "_name", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3114, + "src": "2118:5:2", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2102:22:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 3173, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "2093:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 3178, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2093:32:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3179, + "nodeType": "ExpressionStatement", + "src": "2093:32:2" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 3181, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "2163:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3182, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "2163:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + { + "id": 3183, + "name": "cryptoBoyCounter", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3059, + "src": "2175:16:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 3180, + "name": "_mint", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2722, + "src": "2157:5:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,uint256)" + } + }, + "id": 3184, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2157:35:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3185, + "nodeType": "ExpressionStatement", + "src": "2157:35:2" + }, + { + "expression": { + "arguments": [ + { + "id": 3187, + "name": "cryptoBoyCounter", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3059, + "src": "2279:16:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 3188, + "name": "_tokenURI", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3116, + "src": "2297:9:2", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "id": 3186, + "name": "_setTokenURI", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2885, + "src": "2266:12:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_uint256_$_t_string_memory_ptr_$returns$__$", + "typeString": "function (uint256,string memory)" + } + }, + "id": 3189, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2266:41:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3190, + "nodeType": "ExpressionStatement", + "src": "2266:41:2" + }, + { + "body": { + "id": 3210, + "nodeType": "Block", + "src": "2465:47:2", + "statements": [ + { + "expression": { + "id": 3208, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 3202, + "name": "colorExists", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3090, + "src": "2474:11:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_bool_$", + "typeString": "mapping(string memory => bool)" + } + }, + "id": 3206, + "indexExpression": { + "baseExpression": { + "id": 3203, + "name": "_colors", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3121, + "src": "2486:7:2", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", + "typeString": "string calldata[] calldata" + } + }, + "id": 3205, + "indexExpression": { + "id": 3204, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3192, + "src": "2494:1:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "2486:10:2", + "typeDescriptions": { + "typeIdentifier": "t_string_calldata_ptr", + "typeString": "string calldata" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "2474:23:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "74727565", + "id": 3207, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2500:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "2474:30:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 3209, + "nodeType": "ExpressionStatement", + "src": "2474:30:2" + } + ] + }, + "condition": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 3198, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 3195, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3192, + "src": "2442:1:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": "<", + "rightExpression": { + "expression": { + "id": 3196, + "name": "_colors", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3121, + "src": "2444:7:2", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", + "typeString": "string calldata[] calldata" + } + }, + "id": 3197, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "length", + "nodeType": "MemberAccess", + "src": "2444:14:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "2442:16:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 3211, + "initializationExpression": { + "assignments": [ + 3192 + ], + "declarations": [ + { + "constant": false, + "id": 3192, + "mutability": "mutable", + "name": "i", + "nodeType": "VariableDeclaration", + "scope": 3211, + "src": "2432:6:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3191, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "2432:4:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 3194, + "initialValue": { + "hexValue": "30", + "id": 3193, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2439:1:2", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + "nodeType": "VariableDeclarationStatement", + "src": "2432:8:2" + }, + "loopExpression": { + "expression": { + "id": 3200, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "nodeType": "UnaryOperation", + "operator": "++", + "prefix": false, + "src": "2460:3:2", + "subExpression": { + "id": 3199, + "name": "i", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3192, + "src": "2460:1:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 3201, + "nodeType": "ExpressionStatement", + "src": "2460:3:2" + }, + "nodeType": "ForStatement", + "src": "2427:85:2" + }, + { + "expression": { + "id": 3216, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 3212, + "name": "tokenURIExists", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3094, + "src": "2558:14:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_bool_$", + "typeString": "mapping(string memory => bool)" + } + }, + "id": 3214, + "indexExpression": { + "id": 3213, + "name": "_tokenURI", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3116, + "src": "2573:9:2", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "2558:25:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "74727565", + "id": 3215, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2586:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "2558:32:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 3217, + "nodeType": "ExpressionStatement", + "src": "2558:32:2" + }, + { + "expression": { + "id": 3222, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 3218, + "name": "tokenNameExists", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3086, + "src": "2638:15:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_string_memory_ptr_$_t_bool_$", + "typeString": "mapping(string memory => bool)" + } + }, + "id": 3220, + "indexExpression": { + "id": 3219, + "name": "_name", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3114, + "src": "2654:5:2", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "2638:22:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "74727565", + "id": 3221, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2663:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "2638:29:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 3223, + "nodeType": "ExpressionStatement", + "src": "2638:29:2" + }, + { + "assignments": [ + 3225 + ], + "declarations": [ + { + "constant": false, + "id": 3225, + "mutability": "mutable", + "name": "newCryptoBoy", + "nodeType": "VariableDeclaration", + "scope": 3249, + "src": "2739:29:2", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_memory_ptr", + "typeString": "struct BscBoys.CryptoBoy" + }, + "typeName": { + "id": 3224, + "name": "CryptoBoy", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 3078, + "src": "2739:9:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_storage_ptr", + "typeString": "struct BscBoys.CryptoBoy" + } + }, + "visibility": "internal" + } + ], + "id": 3242, + "initialValue": { + "arguments": [ + { + "id": 3227, + "name": "cryptoBoyCounter", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3059, + "src": "2787:16:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "id": 3228, + "name": "_name", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3114, + "src": "2810:5:2", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "id": 3229, + "name": "_tokenURI", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3116, + "src": "2822:9:2", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + { + "expression": { + "id": 3230, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "2838:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3231, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "2838:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + { + "expression": { + "id": 3232, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "2855:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3233, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "2855:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + { + "arguments": [ + { + "hexValue": "30", + "id": 3236, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2880:1:2", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 3235, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "2872:7:2", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 3234, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "2872:7:2", + "typeDescriptions": {} + } + }, + "id": 3237, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2872:10:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + { + "id": 3238, + "name": "_price", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3118, + "src": "2889:6:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + { + "hexValue": "30", + "id": 3239, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2902:1:2", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + }, + { + "hexValue": "74727565", + "id": 3240, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "2910:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 3226, + "name": "CryptoBoy", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3078, + "src": "2771:9:2", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_struct$_CryptoBoy_$3078_storage_ptr_$", + "typeString": "type(struct BscBoys.CryptoBoy storage pointer)" + } + }, + "id": 3241, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "structConstructorCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "2771:144:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_memory_ptr", + "typeString": "struct BscBoys.CryptoBoy memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "2739:176:2" + }, + { + "expression": { + "id": 3247, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 3243, + "name": "allBscBoys", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3082, + "src": "2994:12:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CryptoBoy_$3078_storage_$", + "typeString": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)" + } + }, + "id": 3245, + "indexExpression": { + "id": 3244, + "name": "cryptoBoyCounter", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3059, + "src": "3007:16:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "2994:30:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_storage", + "typeString": "struct BscBoys.CryptoBoy storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 3246, + "name": "newCryptoBoy", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3225, + "src": "3027:12:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_memory_ptr", + "typeString": "struct BscBoys.CryptoBoy memory" + } + }, + "src": "2994:45:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_storage", + "typeString": "struct BscBoys.CryptoBoy storage ref" + } + }, + "id": 3248, + "nodeType": "ExpressionStatement", + "src": "2994:45:2" + } + ] + }, + "functionSelector": "9bfc5a59", + "id": 3250, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "mintCryptoBoy", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3122, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3114, + "mutability": "mutable", + "name": "_name", + "nodeType": "VariableDeclaration", + "scope": 3250, + "src": "1376:19:2", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 3113, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1376:6:2", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3116, + "mutability": "mutable", + "name": "_tokenURI", + "nodeType": "VariableDeclaration", + "scope": 3250, + "src": "1397:23:2", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 3115, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1397:6:2", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3118, + "mutability": "mutable", + "name": "_price", + "nodeType": "VariableDeclaration", + "scope": 3250, + "src": "1422:14:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3117, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "1422:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3121, + "mutability": "mutable", + "name": "_colors", + "nodeType": "VariableDeclaration", + "scope": 3250, + "src": "1438:25:2", + "stateVariable": false, + "storageLocation": "calldata", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_calldata_ptr_$dyn_calldata_ptr", + "typeString": "string[]" + }, + "typeName": { + "baseType": { + "id": 3119, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "1438:6:2", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "id": 3120, + "nodeType": "ArrayTypeName", + "src": "1438:8:2", + "typeDescriptions": { + "typeIdentifier": "t_array$_t_string_storage_$dyn_storage_ptr", + "typeString": "string[]" + } + }, + "visibility": "internal" + } + ], + "src": "1375:89:2" + }, + "returnParameters": { + "id": 3123, + "nodeType": "ParameterList", + "parameters": [], + "src": "1474:0:2" + }, + "scope": 3555, + "src": "1353:1692:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + { + "body": { + "id": 3265, + "nodeType": "Block", + "src": "3150:77:2", + "statements": [ + { + "assignments": [ + 3258 + ], + "declarations": [ + { + "constant": false, + "id": 3258, + "mutability": "mutable", + "name": "_tokenOwner", + "nodeType": "VariableDeclaration", + "scope": 3265, + "src": "3157:19:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3257, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3157:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 3262, + "initialValue": { + "arguments": [ + { + "id": 3260, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3252, + "src": "3187:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 3259, + "name": "ownerOf", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2194, + "src": "3179:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", + "typeString": "function (uint256) view returns (address)" + } + }, + "id": 3261, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3179:17:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3157:39:2" + }, + { + "expression": { + "id": 3263, + "name": "_tokenOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3258, + "src": "3210:11:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "functionReturnParameters": 3256, + "id": 3264, + "nodeType": "Return", + "src": "3203:18:2" + } + ] + }, + "functionSelector": "a5cd761f", + "id": 3266, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getTokenOwner", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3253, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3252, + "mutability": "mutable", + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 3266, + "src": "3103:16:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3251, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3103:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3102:18:2" + }, + "returnParameters": { + "id": 3256, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3255, + "mutability": "mutable", + "name": "", + "nodeType": "VariableDeclaration", + "scope": 3266, + "src": "3141:7:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3254, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3141:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "3140:9:2" + }, + "scope": 3555, + "src": "3080:147:2", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 3281, + "nodeType": "Block", + "src": "3341:88:2", + "statements": [ + { + "assignments": [ + 3274 + ], + "declarations": [ + { + "constant": false, + "id": 3274, + "mutability": "mutable", + "name": "tokenMetaData", + "nodeType": "VariableDeclaration", + "scope": 3281, + "src": "3348:27:2", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 3273, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3348:6:2", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "id": 3278, + "initialValue": { + "arguments": [ + { + "id": 3276, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3268, + "src": "3387:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 3275, + "name": "tokenURI", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2282, + "src": "3378:8:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_string_memory_ptr_$", + "typeString": "function (uint256) view returns (string memory)" + } + }, + "id": 3277, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3378:18:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3348:48:2" + }, + { + "expression": { + "id": 3279, + "name": "tokenMetaData", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3274, + "src": "3410:13:2", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + }, + "functionReturnParameters": 3272, + "id": 3280, + "nodeType": "Return", + "src": "3403:20:2" + } + ] + }, + "functionSelector": "67c623cf", + "id": 3282, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getTokenMetaData", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3269, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3268, + "mutability": "mutable", + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 3282, + "src": "3291:13:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3267, + "name": "uint", + "nodeType": "ElementaryTypeName", + "src": "3291:4:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3290:15:2" + }, + "returnParameters": { + "id": 3272, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3271, + "mutability": "mutable", + "name": "", + "nodeType": "VariableDeclaration", + "scope": 3282, + "src": "3326:13:2", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string" + }, + "typeName": { + "id": 3270, + "name": "string", + "nodeType": "ElementaryTypeName", + "src": "3326:6:2", + "typeDescriptions": { + "typeIdentifier": "t_string_storage_ptr", + "typeString": "string" + } + }, + "visibility": "internal" + } + ], + "src": "3325:15:2" + }, + "scope": 3555, + "src": "3265:164:2", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 3294, + "nodeType": "Block", + "src": "3546:101:2", + "statements": [ + { + "assignments": [ + 3288 + ], + "declarations": [ + { + "constant": false, + "id": 3288, + "mutability": "mutable", + "name": "totalNumberOfTokensMinted", + "nodeType": "VariableDeclaration", + "scope": 3294, + "src": "3553:33:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3287, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3553:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 3291, + "initialValue": { + "arguments": [], + "expression": { + "argumentTypes": [], + "id": 3289, + "name": "totalSupply", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2322, + "src": "3589:11:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$__$returns$_t_uint256_$", + "typeString": "function () view returns (uint256)" + } + }, + "id": 3290, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3589:13:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3553:49:2" + }, + { + "expression": { + "id": 3292, + "name": "totalNumberOfTokensMinted", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3288, + "src": "3616:25:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 3286, + "id": 3293, + "nodeType": "Return", + "src": "3609:32:2" + } + ] + }, + "functionSelector": "cc151f3a", + "id": 3295, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getNumberOfTokensMinted", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3283, + "nodeType": "ParameterList", + "parameters": [], + "src": "3514:2:2" + }, + "returnParameters": { + "id": 3286, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3285, + "mutability": "mutable", + "name": "", + "nodeType": "VariableDeclaration", + "scope": 3295, + "src": "3537:7:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3284, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3537:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3536:9:2" + }, + "scope": 3555, + "src": "3482:165:2", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 3310, + "nodeType": "Block", + "src": "3799:103:2", + "statements": [ + { + "assignments": [ + 3303 + ], + "declarations": [ + { + "constant": false, + "id": 3303, + "mutability": "mutable", + "name": "totalNumberOfTokensOwned", + "nodeType": "VariableDeclaration", + "scope": 3310, + "src": "3806:32:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3302, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3806:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "id": 3307, + "initialValue": { + "arguments": [ + { + "id": 3305, + "name": "_owner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3297, + "src": "3851:6:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "id": 3304, + "name": "balanceOf", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2178, + "src": "3841:9:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_uint256_$", + "typeString": "function (address) view returns (uint256)" + } + }, + "id": 3306, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "3841:17:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "3806:52:2" + }, + { + "expression": { + "id": 3308, + "name": "totalNumberOfTokensOwned", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3303, + "src": "3872:24:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "functionReturnParameters": 3301, + "id": 3309, + "nodeType": "Return", + "src": "3865:31:2" + } + ] + }, + "functionSelector": "43902850", + "id": 3311, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getTotalNumberOfTokensOwnedByAnAddress", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3298, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3297, + "mutability": "mutable", + "name": "_owner", + "nodeType": "VariableDeclaration", + "scope": 3311, + "src": "3754:14:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3296, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "3754:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "src": "3753:16:2" + }, + "returnParameters": { + "id": 3301, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3300, + "mutability": "mutable", + "name": "", + "nodeType": "VariableDeclaration", + "scope": 3311, + "src": "3790:7:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3299, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3790:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3789:9:2" + }, + "scope": 3555, + "src": "3706:196:2", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 3326, + "nodeType": "Block", + "src": "4016:74:2", + "statements": [ + { + "assignments": [ + 3319 + ], + "declarations": [ + { + "constant": false, + "id": 3319, + "mutability": "mutable", + "name": "tokenExists", + "nodeType": "VariableDeclaration", + "scope": 3326, + "src": "4023:16:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 3318, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "4023:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "id": 3323, + "initialValue": { + "arguments": [ + { + "id": 3321, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3313, + "src": "4050:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 3320, + "name": "_exists", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2577, + "src": "4042:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" + } + }, + "id": 3322, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4042:17:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4023:36:2" + }, + { + "expression": { + "id": 3324, + "name": "tokenExists", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3319, + "src": "4073:11:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "functionReturnParameters": 3317, + "id": 3325, + "nodeType": "Return", + "src": "4066:18:2" + } + ] + }, + "functionSelector": "142687f3", + "id": 3327, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "getTokenExists", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3314, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3313, + "mutability": "mutable", + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 3327, + "src": "3972:16:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3312, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "3972:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "3971:18:2" + }, + "returnParameters": { + "id": 3317, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3316, + "mutability": "mutable", + "name": "", + "nodeType": "VariableDeclaration", + "scope": 3327, + "src": "4010:4:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "typeName": { + "id": 3315, + "name": "bool", + "nodeType": "ElementaryTypeName", + "src": "4010:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "visibility": "internal" + } + ], + "src": "4009:6:2" + }, + "scope": 3555, + "src": "3948:142:2", + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 3434, + "nodeType": "Block", + "src": "4193:1528:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + "id": 3339, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 3333, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "4276:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3334, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4276:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "arguments": [ + { + "hexValue": "30", + "id": 3337, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4298:1:2", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 3336, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "4290:7:2", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 3335, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4290:7:2", + "typeDescriptions": {} + } + }, + "id": 3338, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4290:10:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "4276:24:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 3332, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "4268:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 3340, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4268:33:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3341, + "nodeType": "ExpressionStatement", + "src": "4268:33:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "id": 3344, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3329, + "src": "4394:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 3343, + "name": "_exists", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2577, + "src": "4386:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" + } + }, + "id": 3345, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4386:17:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 3342, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "4378:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 3346, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4378:26:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3347, + "nodeType": "ExpressionStatement", + "src": "4378:26:2" + }, + { + "assignments": [ + 3349 + ], + "declarations": [ + { + "constant": false, + "id": 3349, + "mutability": "mutable", + "name": "tokenOwner", + "nodeType": "VariableDeclaration", + "scope": 3434, + "src": "4441:18:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3348, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4441:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 3353, + "initialValue": { + "arguments": [ + { + "id": 3351, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3329, + "src": "4470:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 3350, + "name": "ownerOf", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2194, + "src": "4462:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", + "typeString": "function (uint256) view returns (address)" + } + }, + "id": 3352, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4462:17:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4441:38:2" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 3360, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 3355, + "name": "tokenOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3349, + "src": "4554:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "arguments": [ + { + "hexValue": "30", + "id": 3358, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "4576:1:2", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 3357, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "4568:7:2", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 3356, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "4568:7:2", + "typeDescriptions": {} + } + }, + "id": 3359, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4568:10:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "4554:24:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 3354, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "4546:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 3361, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4546:33:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3362, + "nodeType": "ExpressionStatement", + "src": "4546:33:2" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 3367, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 3364, + "name": "tokenOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3349, + "src": "4669:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "expression": { + "id": 3365, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "4683:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3366, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "4683:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "4669:24:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 3363, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "4661:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 3368, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4661:33:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3369, + "nodeType": "ExpressionStatement", + "src": "4661:33:2" + }, + { + "assignments": [ + 3371 + ], + "declarations": [ + { + "constant": false, + "id": 3371, + "mutability": "mutable", + "name": "cryptoboy", + "nodeType": "VariableDeclaration", + "scope": 3434, + "src": "4812:26:2", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_memory_ptr", + "typeString": "struct BscBoys.CryptoBoy" + }, + "typeName": { + "id": 3370, + "name": "CryptoBoy", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 3078, + "src": "4812:9:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_storage_ptr", + "typeString": "struct BscBoys.CryptoBoy" + } + }, + "visibility": "internal" + } + ], + "id": 3375, + "initialValue": { + "baseExpression": { + "id": 3372, + "name": "allBscBoys", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3082, + "src": "4841:12:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CryptoBoy_$3078_storage_$", + "typeString": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)" + } + }, + "id": 3374, + "indexExpression": { + "id": 3373, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3329, + "src": "4854:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "4841:22:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_storage", + "typeString": "struct BscBoys.CryptoBoy storage ref" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "4812:51:2" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "id": 3381, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 3377, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "4957:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3378, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "4957:9:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "BinaryOperation", + "operator": ">=", + "rightExpression": { + "expression": { + "id": 3379, + "name": "cryptoboy", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3371, + "src": "4970:9:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_memory_ptr", + "typeString": "struct BscBoys.CryptoBoy memory" + } + }, + "id": 3380, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "price", + "nodeType": "MemberAccess", + "referencedDeclaration": 3073, + "src": "4970:15:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "4957:28:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 3376, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "4949:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 3382, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "4949:37:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3383, + "nodeType": "ExpressionStatement", + "src": "4949:37:2" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 3385, + "name": "cryptoboy", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3371, + "src": "5034:9:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_memory_ptr", + "typeString": "struct BscBoys.CryptoBoy memory" + } + }, + "id": 3386, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "forSale", + "nodeType": "MemberAccess", + "referencedDeclaration": 3077, + "src": "5034:17:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 3384, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "5026:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 3387, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5026:26:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3388, + "nodeType": "ExpressionStatement", + "src": "5026:26:2" + }, + { + "expression": { + "arguments": [ + { + "id": 3390, + "name": "tokenOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3349, + "src": "5145:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + { + "expression": { + "id": 3391, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "5157:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3392, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "5157:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + { + "id": 3393, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3329, + "src": "5169:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 3389, + "name": "_transfer", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2863, + "src": "5135:9:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", + "typeString": "function (address,address,uint256)" + } + }, + "id": 3394, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5135:43:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3395, + "nodeType": "ExpressionStatement", + "src": "5135:43:2" + }, + { + "assignments": [ + 3397 + ], + "declarations": [ + { + "constant": false, + "id": 3397, + "mutability": "mutable", + "name": "sendTo", + "nodeType": "VariableDeclaration", + "scope": 3434, + "src": "5216:22:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + "typeName": { + "id": 3396, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5216:15:2", + "stateMutability": "payable", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "visibility": "internal" + } + ], + "id": 3400, + "initialValue": { + "expression": { + "id": 3398, + "name": "cryptoboy", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3371, + "src": "5241:9:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_memory_ptr", + "typeString": "struct BscBoys.CryptoBoy memory" + } + }, + "id": 3399, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "currentOwner", + "nodeType": "MemberAccess", + "referencedDeclaration": 3069, + "src": "5241:22:2", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "5216:47:2" + }, + { + "expression": { + "arguments": [ + { + "expression": { + "id": 3404, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "5336:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3405, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "value", + "nodeType": "MemberAccess", + "src": "5336:9:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "expression": { + "id": 3401, + "name": "sendTo", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3397, + "src": "5320:6:2", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "id": 3403, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "transfer", + "nodeType": "MemberAccess", + "src": "5320:15:2", + "typeDescriptions": { + "typeIdentifier": "t_function_transfer_nonpayable$_t_uint256_$returns$__$", + "typeString": "function (uint256)" + } + }, + "id": 3406, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5320:26:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3407, + "nodeType": "ExpressionStatement", + "src": "5320:26:2" + }, + { + "expression": { + "id": 3413, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "expression": { + "id": 3408, + "name": "cryptoboy", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3371, + "src": "5395:9:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_memory_ptr", + "typeString": "struct BscBoys.CryptoBoy memory" + } + }, + "id": 3410, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "previousOwner", + "nodeType": "MemberAccess", + "referencedDeclaration": 3071, + "src": "5395:23:2", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "id": 3411, + "name": "cryptoboy", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3371, + "src": "5421:9:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_memory_ptr", + "typeString": "struct BscBoys.CryptoBoy memory" + } + }, + "id": 3412, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "currentOwner", + "nodeType": "MemberAccess", + "referencedDeclaration": 3069, + "src": "5421:22:2", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "5395:48:2", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "id": 3414, + "nodeType": "ExpressionStatement", + "src": "5395:48:2" + }, + { + "expression": { + "id": 3420, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "expression": { + "id": 3415, + "name": "cryptoboy", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3371, + "src": "5491:9:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_memory_ptr", + "typeString": "struct BscBoys.CryptoBoy memory" + } + }, + "id": 3417, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "currentOwner", + "nodeType": "MemberAccess", + "referencedDeclaration": 3069, + "src": "5491:22:2", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "expression": { + "id": 3418, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "5516:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3419, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "5516:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "5491:35:2", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "id": 3421, + "nodeType": "ExpressionStatement", + "src": "5491:35:2" + }, + { + "expression": { + "id": 3426, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "expression": { + "id": 3422, + "name": "cryptoboy", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3371, + "src": "5593:9:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_memory_ptr", + "typeString": "struct BscBoys.CryptoBoy memory" + } + }, + "id": 3424, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "numberOfTransfers", + "nodeType": "MemberAccess", + "referencedDeclaration": 3075, + "src": "5593:27:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "+=", + "rightHandSide": { + "hexValue": "31", + "id": 3425, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5624:1:2", + "typeDescriptions": { + "typeIdentifier": "t_rational_1_by_1", + "typeString": "int_const 1" + }, + "value": "1" + }, + "src": "5593:32:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 3427, + "nodeType": "ExpressionStatement", + "src": "5593:32:2" + }, + { + "expression": { + "id": 3432, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 3428, + "name": "allBscBoys", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3082, + "src": "5681:12:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CryptoBoy_$3078_storage_$", + "typeString": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)" + } + }, + "id": 3430, + "indexExpression": { + "id": 3429, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3329, + "src": "5694:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "5681:22:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_storage", + "typeString": "struct BscBoys.CryptoBoy storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 3431, + "name": "cryptoboy", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3371, + "src": "5706:9:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_memory_ptr", + "typeString": "struct BscBoys.CryptoBoy memory" + } + }, + "src": "5681:34:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_storage", + "typeString": "struct BscBoys.CryptoBoy storage ref" + } + }, + "id": 3433, + "nodeType": "ExpressionStatement", + "src": "5681:34:2" + } + ] + }, + "functionSelector": "2d296bf1", + "id": 3435, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "buyToken", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3330, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3329, + "mutability": "mutable", + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 3435, + "src": "4160:16:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3328, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "4160:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "4159:18:2" + }, + "returnParameters": { + "id": 3331, + "nodeType": "ParameterList", + "parameters": [], + "src": "4193:0:2" + }, + "scope": 3555, + "src": "4142:1579:2", + "stateMutability": "payable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 3489, + "nodeType": "Block", + "src": "5797:713:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + "id": 3449, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 3443, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "5875:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3444, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "5875:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "arguments": [ + { + "hexValue": "30", + "id": 3447, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "5897:1:2", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 3446, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "5889:7:2", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 3445, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "5889:7:2", + "typeDescriptions": {} + } + }, + "id": 3448, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5889:10:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "5875:24:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 3442, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "5867:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 3450, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5867:33:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3451, + "nodeType": "ExpressionStatement", + "src": "5867:33:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "id": 3454, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3437, + "src": "5963:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 3453, + "name": "_exists", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2577, + "src": "5955:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" + } + }, + "id": 3455, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5955:17:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 3452, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "5947:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 3456, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "5947:26:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3457, + "nodeType": "ExpressionStatement", + "src": "5947:26:2" + }, + { + "assignments": [ + 3459 + ], + "declarations": [ + { + "constant": false, + "id": 3459, + "mutability": "mutable", + "name": "tokenOwner", + "nodeType": "VariableDeclaration", + "scope": 3489, + "src": "6010:18:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3458, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6010:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 3463, + "initialValue": { + "arguments": [ + { + "id": 3461, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3437, + "src": "6039:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 3460, + "name": "ownerOf", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2194, + "src": "6031:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", + "typeString": "function (uint256) view returns (address)" + } + }, + "id": 3462, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6031:17:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6010:38:2" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 3468, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 3465, + "name": "tokenOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3459, + "src": "6142:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "expression": { + "id": 3466, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "6156:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3467, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "6156:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "6142:24:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 3464, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "6134:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 3469, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6134:33:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3470, + "nodeType": "ExpressionStatement", + "src": "6134:33:2" + }, + { + "assignments": [ + 3472 + ], + "declarations": [ + { + "constant": false, + "id": 3472, + "mutability": "mutable", + "name": "cryptoboy", + "nodeType": "VariableDeclaration", + "scope": 3489, + "src": "6285:26:2", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_memory_ptr", + "typeString": "struct BscBoys.CryptoBoy" + }, + "typeName": { + "id": 3471, + "name": "CryptoBoy", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 3078, + "src": "6285:9:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_storage_ptr", + "typeString": "struct BscBoys.CryptoBoy" + } + }, + "visibility": "internal" + } + ], + "id": 3476, + "initialValue": { + "baseExpression": { + "id": 3473, + "name": "allBscBoys", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3082, + "src": "6314:12:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CryptoBoy_$3078_storage_$", + "typeString": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)" + } + }, + "id": 3475, + "indexExpression": { + "id": 3474, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3437, + "src": "6327:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "6314:22:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_storage", + "typeString": "struct BscBoys.CryptoBoy storage ref" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6285:51:2" + }, + { + "expression": { + "id": 3481, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "expression": { + "id": 3477, + "name": "cryptoboy", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3472, + "src": "6387:9:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_memory_ptr", + "typeString": "struct BscBoys.CryptoBoy memory" + } + }, + "id": 3479, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "price", + "nodeType": "MemberAccess", + "referencedDeclaration": 3073, + "src": "6387:15:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 3480, + "name": "_newPrice", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3439, + "src": "6405:9:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "src": "6387:27:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "id": 3482, + "nodeType": "ExpressionStatement", + "src": "6387:27:2" + }, + { + "expression": { + "id": 3487, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 3483, + "name": "allBscBoys", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3082, + "src": "6470:12:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CryptoBoy_$3078_storage_$", + "typeString": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)" + } + }, + "id": 3485, + "indexExpression": { + "id": 3484, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3437, + "src": "6483:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "6470:22:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_storage", + "typeString": "struct BscBoys.CryptoBoy storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 3486, + "name": "cryptoboy", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3472, + "src": "6495:9:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_memory_ptr", + "typeString": "struct BscBoys.CryptoBoy memory" + } + }, + "src": "6470:34:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_storage", + "typeString": "struct BscBoys.CryptoBoy storage ref" + } + }, + "id": 3488, + "nodeType": "ExpressionStatement", + "src": "6470:34:2" + } + ] + }, + "functionSelector": "62e8e8ac", + "id": 3490, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "changeTokenPrice", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3440, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3437, + "mutability": "mutable", + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 3490, + "src": "5753:16:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3436, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "5753:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + }, + { + "constant": false, + "id": 3439, + "mutability": "mutable", + "name": "_newPrice", + "nodeType": "VariableDeclaration", + "scope": 3490, + "src": "5771:17:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3438, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "5771:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "5752:37:2" + }, + "returnParameters": { + "id": 3441, + "nodeType": "ParameterList", + "parameters": [], + "src": "5797:0:2" + }, + "scope": 3555, + "src": "5727:783:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + { + "body": { + "id": 3553, + "nodeType": "Block", + "src": "6619:816:2", + "statements": [ + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + "id": 3502, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "expression": { + "id": 3496, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "6697:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3497, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "6697:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "nodeType": "BinaryOperation", + "operator": "!=", + "rightExpression": { + "arguments": [ + { + "hexValue": "30", + "id": 3500, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "number", + "lValueRequested": false, + "nodeType": "Literal", + "src": "6719:1:2", + "typeDescriptions": { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + "value": "0" + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "id": 3499, + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "nodeType": "ElementaryTypeNameExpression", + "src": "6711:7:2", + "typeDescriptions": { + "typeIdentifier": "t_type$_t_address_$", + "typeString": "type(address)" + }, + "typeName": { + "id": 3498, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6711:7:2", + "typeDescriptions": {} + } + }, + "id": 3501, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "typeConversion", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6711:10:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "6697:24:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 3495, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "6689:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 3503, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6689:33:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3504, + "nodeType": "ExpressionStatement", + "src": "6689:33:2" + }, + { + "expression": { + "arguments": [ + { + "arguments": [ + { + "id": 3507, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3492, + "src": "6785:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 3506, + "name": "_exists", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2577, + "src": "6777:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", + "typeString": "function (uint256) view returns (bool)" + } + }, + "id": 3508, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6777:17:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 3505, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "6769:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 3509, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6769:26:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3510, + "nodeType": "ExpressionStatement", + "src": "6769:26:2" + }, + { + "assignments": [ + 3512 + ], + "declarations": [ + { + "constant": false, + "id": 3512, + "mutability": "mutable", + "name": "tokenOwner", + "nodeType": "VariableDeclaration", + "scope": 3553, + "src": "6832:18:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "typeName": { + "id": 3511, + "name": "address", + "nodeType": "ElementaryTypeName", + "src": "6832:7:2", + "stateMutability": "nonpayable", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "visibility": "internal" + } + ], + "id": 3516, + "initialValue": { + "arguments": [ + { + "id": 3514, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3492, + "src": "6861:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "id": 3513, + "name": "ownerOf", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 2194, + "src": "6853:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", + "typeString": "function (uint256) view returns (address)" + } + }, + "id": 3515, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6853:17:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "6832:38:2" + }, + { + "expression": { + "arguments": [ + { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "id": 3521, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftExpression": { + "id": 3518, + "name": "tokenOwner", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3512, + "src": "6964:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address", + "typeString": "address" + } + }, + "nodeType": "BinaryOperation", + "operator": "==", + "rightExpression": { + "expression": { + "id": 3519, + "name": "msg", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 4294967281, + "src": "6978:3:2", + "typeDescriptions": { + "typeIdentifier": "t_magic_message", + "typeString": "msg" + } + }, + "id": 3520, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "memberName": "sender", + "nodeType": "MemberAccess", + "src": "6978:10:2", + "typeDescriptions": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + } + }, + "src": "6964:24:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + } + ], + "expression": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "id": 3517, + "name": "require", + "nodeType": "Identifier", + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "src": "6956:7:2", + "typeDescriptions": { + "typeIdentifier": "t_function_require_pure$_t_bool_$returns$__$", + "typeString": "function (bool) pure" + } + }, + "id": 3522, + "isConstant": false, + "isLValue": false, + "isPure": false, + "kind": "functionCall", + "lValueRequested": false, + "names": [], + "nodeType": "FunctionCall", + "src": "6956:33:2", + "tryCall": false, + "typeDescriptions": { + "typeIdentifier": "t_tuple$__$", + "typeString": "tuple()" + } + }, + "id": 3523, + "nodeType": "ExpressionStatement", + "src": "6956:33:2" + }, + { + "assignments": [ + 3525 + ], + "declarations": [ + { + "constant": false, + "id": 3525, + "mutability": "mutable", + "name": "cryptoboy", + "nodeType": "VariableDeclaration", + "scope": 3553, + "src": "7107:26:2", + "stateVariable": false, + "storageLocation": "memory", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_memory_ptr", + "typeString": "struct BscBoys.CryptoBoy" + }, + "typeName": { + "id": 3524, + "name": "CryptoBoy", + "nodeType": "UserDefinedTypeName", + "referencedDeclaration": 3078, + "src": "7107:9:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_storage_ptr", + "typeString": "struct BscBoys.CryptoBoy" + } + }, + "visibility": "internal" + } + ], + "id": 3529, + "initialValue": { + "baseExpression": { + "id": 3526, + "name": "allBscBoys", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3082, + "src": "7136:12:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CryptoBoy_$3078_storage_$", + "typeString": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)" + } + }, + "id": 3528, + "indexExpression": { + "id": 3527, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3492, + "src": "7149:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "nodeType": "IndexAccess", + "src": "7136:22:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_storage", + "typeString": "struct BscBoys.CryptoBoy storage ref" + } + }, + "nodeType": "VariableDeclarationStatement", + "src": "7107:51:2" + }, + { + "condition": { + "expression": { + "id": 3530, + "name": "cryptoboy", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3525, + "src": "7232:9:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_memory_ptr", + "typeString": "struct BscBoys.CryptoBoy memory" + } + }, + "id": 3531, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "memberName": "forSale", + "nodeType": "MemberAccess", + "referencedDeclaration": 3077, + "src": "7232:17:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "falseBody": { + "id": 3545, + "nodeType": "Block", + "src": "7299:41:2", + "statements": [ + { + "expression": { + "id": 3543, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "expression": { + "id": 3539, + "name": "cryptoboy", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3525, + "src": "7308:9:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_memory_ptr", + "typeString": "struct BscBoys.CryptoBoy memory" + } + }, + "id": 3541, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "forSale", + "nodeType": "MemberAccess", + "referencedDeclaration": 3077, + "src": "7308:17:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "74727565", + "id": 3542, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7328:4:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "true" + }, + "src": "7308:24:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 3544, + "nodeType": "ExpressionStatement", + "src": "7308:24:2" + } + ] + }, + "id": 3546, + "nodeType": "IfStatement", + "src": "7229:111:2", + "trueBody": { + "id": 3538, + "nodeType": "Block", + "src": "7251:42:2", + "statements": [ + { + "expression": { + "id": 3536, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "expression": { + "id": 3532, + "name": "cryptoboy", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3525, + "src": "7260:9:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_memory_ptr", + "typeString": "struct BscBoys.CryptoBoy memory" + } + }, + "id": 3534, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "memberName": "forSale", + "nodeType": "MemberAccess", + "referencedDeclaration": 3077, + "src": "7260:17:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "hexValue": "66616c7365", + "id": 3535, + "isConstant": false, + "isLValue": false, + "isPure": true, + "kind": "bool", + "lValueRequested": false, + "nodeType": "Literal", + "src": "7280:5:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + }, + "value": "false" + }, + "src": "7260:25:2", + "typeDescriptions": { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + }, + "id": 3537, + "nodeType": "ExpressionStatement", + "src": "7260:25:2" + } + ] + } + }, + { + "expression": { + "id": 3551, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "leftHandSide": { + "baseExpression": { + "id": 3547, + "name": "allBscBoys", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3082, + "src": "7395:12:2", + "typeDescriptions": { + "typeIdentifier": "t_mapping$_t_uint256_$_t_struct$_CryptoBoy_$3078_storage_$", + "typeString": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)" + } + }, + "id": 3549, + "indexExpression": { + "id": 3548, + "name": "_tokenId", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3492, + "src": "7408:8:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "nodeType": "IndexAccess", + "src": "7395:22:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_storage", + "typeString": "struct BscBoys.CryptoBoy storage ref" + } + }, + "nodeType": "Assignment", + "operator": "=", + "rightHandSide": { + "id": 3550, + "name": "cryptoboy", + "nodeType": "Identifier", + "overloadedDeclarations": [], + "referencedDeclaration": 3525, + "src": "7420:9:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_memory_ptr", + "typeString": "struct BscBoys.CryptoBoy memory" + } + }, + "src": "7395:34:2", + "typeDescriptions": { + "typeIdentifier": "t_struct$_CryptoBoy_$3078_storage", + "typeString": "struct BscBoys.CryptoBoy storage ref" + } + }, + "id": 3552, + "nodeType": "ExpressionStatement", + "src": "7395:34:2" + } + ] + }, + "functionSelector": "a32018b9", + "id": 3554, + "implemented": true, + "kind": "function", + "modifiers": [], + "name": "toggleForSale", + "nodeType": "FunctionDefinition", + "parameters": { + "id": 3493, + "nodeType": "ParameterList", + "parameters": [ + { + "constant": false, + "id": 3492, + "mutability": "mutable", + "name": "_tokenId", + "nodeType": "VariableDeclaration", + "scope": 3554, + "src": "6594:16:2", + "stateVariable": false, + "storageLocation": "default", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "typeName": { + "id": 3491, + "name": "uint256", + "nodeType": "ElementaryTypeName", + "src": "6594:7:2", + "typeDescriptions": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + }, + "visibility": "internal" + } + ], + "src": "6593:18:2" + }, + "returnParameters": { + "id": 3494, + "nodeType": "ParameterList", + "parameters": [], + "src": "6619:0:2" + }, + "scope": 3555, + "src": "6571:864:2", + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + } + ], + "scope": 3556, + "src": "198:7240:2" + } + ], + "src": "33:7405:2" + }, + "legacyAST": { + "attributes": { + "absolutePath": "project:/src/contracts/BscBoys.sol", + "exportedSymbols": { + "Address": [ + 922 + ], + "Context": [ + 22 + ], + "ERC165": [ + 273 + ], + "ERC721": [ + 2990 + ], + "EnumerableMap": [ + 1972 + ], + "EnumerableSet": [ + 1413 + ], + "IERC165": [ + 33 + ], + "IERC721": [ + 147 + ], + "IERC721Enumerable": [ + 201 + ], + "IERC721Metadata": [ + 172 + ], + "IERC721Receiver": [ + 218 + ], + "BscBoys": [ + 3555 + ], + "SafeMath": [ + 627 + ], + "Strings": [ + 2058 + ] + }, + "license": "MIT" + }, + "children": [ + { + "attributes": { + "literals": [ + "solidity", + ">=", + "0.4", + ".21", + "<", + "0.8", + ".0" + ] + }, + "id": 3049, + "name": "PragmaDirective", + "src": "33:32:2" + }, + { + "attributes": { + "literals": [ + "abicoder", + "v2" + ] + }, + "id": 3050, + "name": "PragmaDirective", + "src": "67:19:2" + }, + { + "attributes": { + "SourceUnit": 2991, + "absolutePath": "project:/src/contracts/ERC721.sol", + "file": "./ERC721.sol", + "scope": 3556, + "symbolAliases": [ + null + ], + "unitAlias": "" + }, + "id": 3051, + "name": "ImportDirective", + "src": "117:22:2" + }, + { + "attributes": { + "abstract": false, + "contractDependencies": [ + 22, + 33, + 147, + 172, + 201, + 273, + 2990 + ], + "contractKind": "contract", + "fullyImplemented": true, + "linearizedBaseContracts": [ + 3555, + 2990, + 201, + 172, + 147, + 273, + 33, + 22 + ], + "name": "BscBoys", + "scope": 3556 + }, + "children": [ + { + "attributes": {}, + "children": [ + { + "attributes": { + "name": "ERC721", + "referencedDeclaration": 2990, + "type": "contract ERC721" + }, + "id": 3052, + "name": "UserDefinedTypeName", + "src": "220:6:2" + } + ], + "id": 3053, + "name": "InheritanceSpecifier", + "src": "220:6:2" + }, + { + "attributes": { + "constant": false, + "functionSelector": "e5326ab1", + "mutability": "mutable", + "name": "collectionName", + "scope": 3555, + "stateVariable": true, + "storageLocation": "default", + "type": "string", + "visibility": "public" + }, + "children": [ + { + "attributes": { + "name": "string", + "type": "string" + }, + "id": 3054, + "name": "ElementaryTypeName", + "src": "278:6:2" + } + ], + "id": 3055, + "name": "VariableDeclaration", + "src": "278:28:2" + }, + { + "attributes": { + "constant": false, + "functionSelector": "6f9507f9", + "mutability": "mutable", + "name": "collectionNameSymbol", + "scope": 3555, + "stateVariable": true, + "storageLocation": "default", + "type": "string", + "visibility": "public" + }, + "children": [ + { + "attributes": { + "name": "string", + "type": "string" + }, + "id": 3056, + "name": "ElementaryTypeName", + "src": "346:6:2" + } + ], + "id": 3057, + "name": "VariableDeclaration", + "src": "346:34:2" + }, + { + "attributes": { + "constant": false, + "functionSelector": "bffec202", + "mutability": "mutable", + "name": "cryptoBoyCounter", + "scope": 3555, + "stateVariable": true, + "storageLocation": "default", + "type": "uint256", + "visibility": "public" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 3058, + "name": "ElementaryTypeName", + "src": "426:7:2" + } + ], + "id": 3059, + "name": "VariableDeclaration", + "src": "426:31:2" + }, + { + "attributes": { + "canonicalName": "BscBoys.CryptoBoy", + "name": "CryptoBoy", + "scope": 3555, + "visibility": "public" + }, + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "tokenId", + "scope": 3078, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 3060, + "name": "ElementaryTypeName", + "src": "520:7:2" + } + ], + "id": 3061, + "name": "VariableDeclaration", + "src": "520:15:2" + }, + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "tokenName", + "scope": 3078, + "stateVariable": false, + "storageLocation": "default", + "type": "string", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "string", + "type": "string" + }, + "id": 3062, + "name": "ElementaryTypeName", + "src": "542:6:2" + } + ], + "id": 3063, + "name": "VariableDeclaration", + "src": "542:16:2" + }, + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "tokenURI", + "scope": 3078, + "stateVariable": false, + "storageLocation": "default", + "type": "string", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "string", + "type": "string" + }, + "id": 3064, + "name": "ElementaryTypeName", + "src": "565:6:2" + } + ], + "id": 3065, + "name": "VariableDeclaration", + "src": "565:15:2" + }, + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "mintedBy", + "scope": 3078, + "stateVariable": false, + "storageLocation": "default", + "type": "address payable", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "stateMutability": "payable", + "type": "address payable" + }, + "id": 3066, + "name": "ElementaryTypeName", + "src": "587:15:2" + } + ], + "id": 3067, + "name": "VariableDeclaration", + "src": "587:24:2" + }, + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "currentOwner", + "scope": 3078, + "stateVariable": false, + "storageLocation": "default", + "type": "address payable", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "stateMutability": "payable", + "type": "address payable" + }, + "id": 3068, + "name": "ElementaryTypeName", + "src": "618:15:2" + } + ], + "id": 3069, + "name": "VariableDeclaration", + "src": "618:28:2" + }, + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "previousOwner", + "scope": 3078, + "stateVariable": false, + "storageLocation": "default", + "type": "address payable", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "stateMutability": "payable", + "type": "address payable" + }, + "id": 3070, + "name": "ElementaryTypeName", + "src": "653:15:2" + } + ], + "id": 3071, + "name": "VariableDeclaration", + "src": "653:29:2" + }, + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "price", + "scope": 3078, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 3072, + "name": "ElementaryTypeName", + "src": "689:7:2" + } + ], + "id": 3073, + "name": "VariableDeclaration", + "src": "689:13:2" + }, + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "numberOfTransfers", + "scope": 3078, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 3074, + "name": "ElementaryTypeName", + "src": "709:7:2" + } + ], + "id": 3075, + "name": "VariableDeclaration", + "src": "709:25:2" + }, + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "forSale", + "scope": 3078, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 3076, + "name": "ElementaryTypeName", + "src": "741:4:2" + } + ], + "id": 3077, + "name": "VariableDeclaration", + "src": "741:12:2" + } + ], + "id": 3078, + "name": "StructDefinition", + "src": "496:263:2" + }, + { + "attributes": { + "constant": false, + "functionSelector": "202d0459", + "mutability": "mutable", + "name": "allBscBoys", + "scope": 3555, + "stateVariable": true, + "storageLocation": "default", + "type": "mapping(uint256 => struct BscBoys.CryptoBoy)", + "visibility": "public" + }, + "children": [ + { + "attributes": { + "type": "mapping(uint256 => struct BscBoys.CryptoBoy)" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 3079, + "name": "ElementaryTypeName", + "src": "818:7:2" + }, + { + "attributes": { + "name": "CryptoBoy", + "referencedDeclaration": 3078, + "type": "struct BscBoys.CryptoBoy" + }, + "id": 3080, + "name": "UserDefinedTypeName", + "src": "829:9:2" + } + ], + "id": 3081, + "name": "Mapping", + "src": "810:29:2" + } + ], + "id": 3082, + "name": "VariableDeclaration", + "src": "810:49:2" + }, + { + "attributes": { + "constant": false, + "functionSelector": "a46b1fac", + "mutability": "mutable", + "name": "tokenNameExists", + "scope": 3555, + "stateVariable": true, + "storageLocation": "default", + "type": "mapping(string => bool)", + "visibility": "public" + }, + "children": [ + { + "attributes": { + "type": "mapping(string => bool)" + }, + "children": [ + { + "attributes": { + "name": "string", + "type": "string" + }, + "id": 3083, + "name": "ElementaryTypeName", + "src": "905:6:2" + }, + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 3084, + "name": "ElementaryTypeName", + "src": "915:4:2" + } + ], + "id": 3085, + "name": "Mapping", + "src": "897:23:2" + } + ], + "id": 3086, + "name": "VariableDeclaration", + "src": "897:46:2" + }, + { + "attributes": { + "constant": false, + "functionSelector": "8d44807c", + "mutability": "mutable", + "name": "colorExists", + "scope": 3555, + "stateVariable": true, + "storageLocation": "default", + "type": "mapping(string => bool)", + "visibility": "public" + }, + "children": [ + { + "attributes": { + "type": "mapping(string => bool)" + }, + "children": [ + { + "attributes": { + "name": "string", + "type": "string" + }, + "id": 3087, + "name": "ElementaryTypeName", + "src": "984:6:2" + }, + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 3088, + "name": "ElementaryTypeName", + "src": "994:4:2" + } + ], + "id": 3089, + "name": "Mapping", + "src": "976:23:2" + } + ], + "id": 3090, + "name": "VariableDeclaration", + "src": "976:42:2" + }, + { + "attributes": { + "constant": false, + "functionSelector": "43d32ae7", + "mutability": "mutable", + "name": "tokenURIExists", + "scope": 3555, + "stateVariable": true, + "storageLocation": "default", + "type": "mapping(string => bool)", + "visibility": "public" + }, + "children": [ + { + "attributes": { + "type": "mapping(string => bool)" + }, + "children": [ + { + "attributes": { + "name": "string", + "type": "string" + }, + "id": 3091, + "name": "ElementaryTypeName", + "src": "1063:6:2" + }, + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 3092, + "name": "ElementaryTypeName", + "src": "1073:4:2" + } + ], + "id": 3093, + "name": "Mapping", + "src": "1055:23:2" + } + ], + "id": 3094, + "name": "VariableDeclaration", + "src": "1055:45:2" + }, + { + "attributes": { + "implemented": true, + "isConstructor": true, + "kind": "constructor", + "name": "", + "scope": 3555, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + "children": [ + { + "attributes": { + "parameters": [ + null + ] + }, + "children": [], + "id": 3095, + "name": "ParameterList", + "src": "1203:2:2" + }, + { + "attributes": { + "parameters": [ + null + ] + }, + "children": [], + "id": 3100, + "name": "ParameterList", + "src": "1245:0:2" + }, + { + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2990, + "type": "type(contract ERC721)", + "value": "ERC721" + }, + "id": 3096, + "name": "Identifier", + "src": "1206:6:2" + }, + { + "attributes": { + "hexvalue": "43727970746f20426f797320436f6c6c656374696f6e", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "token": "string", + "type": "literal_string \"Crypto Boys Collection\"", + "value": "Crypto Boys Collection" + }, + "id": 3097, + "name": "Literal", + "src": "1213:24:2" + }, + { + "attributes": { + "hexvalue": "4342", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "token": "string", + "type": "literal_string \"CB\"", + "value": "CB" + }, + "id": 3098, + "name": "Literal", + "src": "1239:4:2" + } + ], + "id": 3099, + "name": "ModifierInvocation", + "src": "1206:38:2" + }, + { + "children": [ + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "string storage ref" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3055, + "type": "string storage ref", + "value": "collectionName" + }, + "id": 3101, + "name": "Identifier", + "src": "1252:14:2" + }, + { + "attributes": { + "arguments": [ + null + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "string memory", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + null + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2204, + "type": "function () view returns (string memory)", + "value": "name" + }, + "id": 3102, + "name": "Identifier", + "src": "1269:4:2" + } + ], + "id": 3103, + "name": "FunctionCall", + "src": "1269:6:2" + } + ], + "id": 3104, + "name": "Assignment", + "src": "1252:23:2" + } + ], + "id": 3105, + "name": "ExpressionStatement", + "src": "1252:23:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "string storage ref" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3057, + "type": "string storage ref", + "value": "collectionNameSymbol" + }, + "id": 3106, + "name": "Identifier", + "src": "1282:20:2" + }, + { + "attributes": { + "arguments": [ + null + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "string memory", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + null + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2214, + "type": "function () view returns (string memory)", + "value": "symbol" + }, + "id": 3107, + "name": "Identifier", + "src": "1305:6:2" + } + ], + "id": 3108, + "name": "FunctionCall", + "src": "1305:8:2" + } + ], + "id": 3109, + "name": "Assignment", + "src": "1282:31:2" + } + ], + "id": 3110, + "name": "ExpressionStatement", + "src": "1282:31:2" + } + ], + "id": 3111, + "name": "Block", + "src": "1245:74:2" + } + ], + "id": 3112, + "name": "FunctionDefinition", + "src": "1192:127:2" + }, + { + "attributes": { + "functionSelector": "9bfc5a59", + "implemented": true, + "isConstructor": false, + "kind": "function", + "modifiers": [ + null + ], + "name": "mintCryptoBoy", + "scope": 3555, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "external" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "_name", + "scope": 3250, + "stateVariable": false, + "storageLocation": "memory", + "type": "string", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "string", + "type": "string" + }, + "id": 3113, + "name": "ElementaryTypeName", + "src": "1376:6:2" + } + ], + "id": 3114, + "name": "VariableDeclaration", + "src": "1376:19:2" + }, + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "_tokenURI", + "scope": 3250, + "stateVariable": false, + "storageLocation": "memory", + "type": "string", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "string", + "type": "string" + }, + "id": 3115, + "name": "ElementaryTypeName", + "src": "1397:6:2" + } + ], + "id": 3116, + "name": "VariableDeclaration", + "src": "1397:23:2" + }, + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "_price", + "scope": 3250, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 3117, + "name": "ElementaryTypeName", + "src": "1422:7:2" + } + ], + "id": 3118, + "name": "VariableDeclaration", + "src": "1422:14:2" + }, + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "_colors", + "scope": 3250, + "stateVariable": false, + "storageLocation": "calldata", + "type": "string[]", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "type": "string[]" + }, + "children": [ + { + "attributes": { + "name": "string", + "type": "string" + }, + "id": 3119, + "name": "ElementaryTypeName", + "src": "1438:6:2" + } + ], + "id": 3120, + "name": "ArrayTypeName", + "src": "1438:8:2" + } + ], + "id": 3121, + "name": "VariableDeclaration", + "src": "1438:25:2" + } + ], + "id": 3122, + "name": "ParameterList", + "src": "1375:89:2" + }, + { + "attributes": { + "parameters": [ + null + ] + }, + "children": [], + "id": 3123, + "name": "ParameterList", + "src": "1474:0:2" + }, + { + "children": [ + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3124, + "name": "Identifier", + "src": "1550:7:2" + }, + { + "attributes": { + "commonType": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "!=", + "type": "bool" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "sender", + "type": "address payable" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4294967281, + "type": "msg", + "value": "msg" + }, + "id": 3125, + "name": "Identifier", + "src": "1558:3:2" + } + ], + "id": 3126, + "name": "MemberAccess", + "src": "1558:10:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": true, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "address payable", + "type_conversion": true + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "type": "type(address)" + }, + "children": [ + { + "attributes": { + "name": "address" + }, + "id": 3127, + "name": "ElementaryTypeName", + "src": "1572:7:2" + } + ], + "id": 3128, + "name": "ElementaryTypeNameExpression", + "src": "1572:7:2" + }, + { + "attributes": { + "hexvalue": "30", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "token": "number", + "type": "int_const 0", + "value": "0" + }, + "id": 3129, + "name": "Literal", + "src": "1580:1:2" + } + ], + "id": 3130, + "name": "FunctionCall", + "src": "1572:10:2" + } + ], + "id": 3131, + "name": "BinaryOperation", + "src": "1558:24:2" + } + ], + "id": 3132, + "name": "FunctionCall", + "src": "1550:33:2" + } + ], + "id": 3133, + "name": "ExpressionStatement", + "src": "1550:33:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "++", + "prefix": false, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3059, + "type": "uint256", + "value": "cryptoBoyCounter" + }, + "id": 3134, + "name": "Identifier", + "src": "1616:16:2" + } + ], + "id": 3135, + "name": "UnaryOperation", + "src": "1616:19:2" + } + ], + "id": 3136, + "name": "ExpressionStatement", + "src": "1616:19:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3137, + "name": "Identifier", + "src": "1721:7:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "!", + "prefix": true, + "type": "bool" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "bool", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2577, + "type": "function (uint256) view returns (bool)", + "value": "_exists" + }, + "id": 3138, + "name": "Identifier", + "src": "1730:7:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3059, + "type": "uint256", + "value": "cryptoBoyCounter" + }, + "id": 3139, + "name": "Identifier", + "src": "1738:16:2" + } + ], + "id": 3140, + "name": "FunctionCall", + "src": "1730:25:2" + } + ], + "id": 3141, + "name": "UnaryOperation", + "src": "1729:26:2" + } + ], + "id": 3142, + "name": "FunctionCall", + "src": "1721:35:2" + } + ], + "id": 3143, + "name": "ExpressionStatement", + "src": "1721:35:2" + }, + { + "children": [ + { + "attributes": { + "assignments": [ + 3145 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "i", + "scope": 3165, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint", + "type": "uint256" + }, + "id": 3144, + "name": "ElementaryTypeName", + "src": "1855:4:2" + } + ], + "id": 3145, + "name": "VariableDeclaration", + "src": "1855:6:2" + }, + { + "attributes": { + "hexvalue": "30", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "token": "number", + "type": "int_const 0", + "value": "0" + }, + "id": 3146, + "name": "Literal", + "src": "1862:1:2" + } + ], + "id": 3147, + "name": "VariableDeclarationStatement", + "src": "1855:8:2" + }, + { + "attributes": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "<", + "type": "bool" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3145, + "type": "uint256", + "value": "i" + }, + "id": 3148, + "name": "Identifier", + "src": "1865:1:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "length", + "type": "uint256" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3121, + "type": "string calldata[] calldata", + "value": "_colors" + }, + "id": 3149, + "name": "Identifier", + "src": "1867:7:2" + } + ], + "id": 3150, + "name": "MemberAccess", + "src": "1867:14:2" + } + ], + "id": 3151, + "name": "BinaryOperation", + "src": "1865:16:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "++", + "prefix": false, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3145, + "type": "uint256", + "value": "i" + }, + "id": 3152, + "name": "Identifier", + "src": "1883:1:2" + } + ], + "id": 3153, + "name": "UnaryOperation", + "src": "1883:3:2" + } + ], + "id": 3154, + "name": "ExpressionStatement", + "src": "1883:3:2" + }, + { + "children": [ + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3155, + "name": "Identifier", + "src": "1897:7:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "!", + "prefix": true, + "type": "bool" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "type": "bool" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3090, + "type": "mapping(string memory => bool)", + "value": "colorExists" + }, + "id": 3156, + "name": "Identifier", + "src": "1906:11:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "type": "string calldata" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3121, + "type": "string calldata[] calldata", + "value": "_colors" + }, + "id": 3157, + "name": "Identifier", + "src": "1918:7:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3145, + "type": "uint256", + "value": "i" + }, + "id": 3158, + "name": "Identifier", + "src": "1926:1:2" + } + ], + "id": 3159, + "name": "IndexAccess", + "src": "1918:10:2" + } + ], + "id": 3160, + "name": "IndexAccess", + "src": "1906:23:2" + } + ], + "id": 3161, + "name": "UnaryOperation", + "src": "1905:24:2" + } + ], + "id": 3162, + "name": "FunctionCall", + "src": "1897:33:2" + } + ], + "id": 3163, + "name": "ExpressionStatement", + "src": "1897:33:2" + } + ], + "id": 3164, + "name": "Block", + "src": "1888:50:2" + } + ], + "id": 3165, + "name": "ForStatement", + "src": "1851:87:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3166, + "name": "Identifier", + "src": "1997:7:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "!", + "prefix": true, + "type": "bool" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "type": "bool" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3094, + "type": "mapping(string memory => bool)", + "value": "tokenURIExists" + }, + "id": 3167, + "name": "Identifier", + "src": "2006:14:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3116, + "type": "string memory", + "value": "_tokenURI" + }, + "id": 3168, + "name": "Identifier", + "src": "2021:9:2" + } + ], + "id": 3169, + "name": "IndexAccess", + "src": "2006:25:2" + } + ], + "id": 3170, + "name": "UnaryOperation", + "src": "2005:26:2" + } + ], + "id": 3171, + "name": "FunctionCall", + "src": "1997:35:2" + } + ], + "id": 3172, + "name": "ExpressionStatement", + "src": "1997:35:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3173, + "name": "Identifier", + "src": "2093:7:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "!", + "prefix": true, + "type": "bool" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "type": "bool" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3086, + "type": "mapping(string memory => bool)", + "value": "tokenNameExists" + }, + "id": 3174, + "name": "Identifier", + "src": "2102:15:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3114, + "type": "string memory", + "value": "_name" + }, + "id": 3175, + "name": "Identifier", + "src": "2118:5:2" + } + ], + "id": 3176, + "name": "IndexAccess", + "src": "2102:22:2" + } + ], + "id": 3177, + "name": "UnaryOperation", + "src": "2101:23:2" + } + ], + "id": 3178, + "name": "FunctionCall", + "src": "2093:32:2" + } + ], + "id": 3179, + "name": "ExpressionStatement", + "src": "2093:32:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2722, + "type": "function (address,uint256)", + "value": "_mint" + }, + "id": 3180, + "name": "Identifier", + "src": "2157:5:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "sender", + "type": "address payable" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4294967281, + "type": "msg", + "value": "msg" + }, + "id": 3181, + "name": "Identifier", + "src": "2163:3:2" + } + ], + "id": 3182, + "name": "MemberAccess", + "src": "2163:10:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3059, + "type": "uint256", + "value": "cryptoBoyCounter" + }, + "id": 3183, + "name": "Identifier", + "src": "2175:16:2" + } + ], + "id": 3184, + "name": "FunctionCall", + "src": "2157:35:2" + } + ], + "id": 3185, + "name": "ExpressionStatement", + "src": "2157:35:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2885, + "type": "function (uint256,string memory)", + "value": "_setTokenURI" + }, + "id": 3186, + "name": "Identifier", + "src": "2266:12:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3059, + "type": "uint256", + "value": "cryptoBoyCounter" + }, + "id": 3187, + "name": "Identifier", + "src": "2279:16:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3116, + "type": "string memory", + "value": "_tokenURI" + }, + "id": 3188, + "name": "Identifier", + "src": "2297:9:2" + } + ], + "id": 3189, + "name": "FunctionCall", + "src": "2266:41:2" + } + ], + "id": 3190, + "name": "ExpressionStatement", + "src": "2266:41:2" + }, + { + "children": [ + { + "attributes": { + "assignments": [ + 3192 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "i", + "scope": 3211, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint", + "type": "uint256" + }, + "id": 3191, + "name": "ElementaryTypeName", + "src": "2432:4:2" + } + ], + "id": 3192, + "name": "VariableDeclaration", + "src": "2432:6:2" + }, + { + "attributes": { + "hexvalue": "30", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "token": "number", + "type": "int_const 0", + "value": "0" + }, + "id": 3193, + "name": "Literal", + "src": "2439:1:2" + } + ], + "id": 3194, + "name": "VariableDeclarationStatement", + "src": "2432:8:2" + }, + { + "attributes": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "<", + "type": "bool" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3192, + "type": "uint256", + "value": "i" + }, + "id": 3195, + "name": "Identifier", + "src": "2442:1:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "length", + "type": "uint256" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3121, + "type": "string calldata[] calldata", + "value": "_colors" + }, + "id": 3196, + "name": "Identifier", + "src": "2444:7:2" + } + ], + "id": 3197, + "name": "MemberAccess", + "src": "2444:14:2" + } + ], + "id": 3198, + "name": "BinaryOperation", + "src": "2442:16:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "++", + "prefix": false, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3192, + "type": "uint256", + "value": "i" + }, + "id": 3199, + "name": "Identifier", + "src": "2460:1:2" + } + ], + "id": 3200, + "name": "UnaryOperation", + "src": "2460:3:2" + } + ], + "id": 3201, + "name": "ExpressionStatement", + "src": "2460:3:2" + }, + { + "children": [ + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "bool" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "type": "bool" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3090, + "type": "mapping(string memory => bool)", + "value": "colorExists" + }, + "id": 3202, + "name": "Identifier", + "src": "2474:11:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "type": "string calldata" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3121, + "type": "string calldata[] calldata", + "value": "_colors" + }, + "id": 3203, + "name": "Identifier", + "src": "2486:7:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3192, + "type": "uint256", + "value": "i" + }, + "id": 3204, + "name": "Identifier", + "src": "2494:1:2" + } + ], + "id": 3205, + "name": "IndexAccess", + "src": "2486:10:2" + } + ], + "id": 3206, + "name": "IndexAccess", + "src": "2474:23:2" + }, + { + "attributes": { + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 3207, + "name": "Literal", + "src": "2500:4:2" + } + ], + "id": 3208, + "name": "Assignment", + "src": "2474:30:2" + } + ], + "id": 3209, + "name": "ExpressionStatement", + "src": "2474:30:2" + } + ], + "id": 3210, + "name": "Block", + "src": "2465:47:2" + } + ], + "id": 3211, + "name": "ForStatement", + "src": "2427:85:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "bool" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "type": "bool" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3094, + "type": "mapping(string memory => bool)", + "value": "tokenURIExists" + }, + "id": 3212, + "name": "Identifier", + "src": "2558:14:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3116, + "type": "string memory", + "value": "_tokenURI" + }, + "id": 3213, + "name": "Identifier", + "src": "2573:9:2" + } + ], + "id": 3214, + "name": "IndexAccess", + "src": "2558:25:2" + }, + { + "attributes": { + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 3215, + "name": "Literal", + "src": "2586:4:2" + } + ], + "id": 3216, + "name": "Assignment", + "src": "2558:32:2" + } + ], + "id": 3217, + "name": "ExpressionStatement", + "src": "2558:32:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "bool" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "type": "bool" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3086, + "type": "mapping(string memory => bool)", + "value": "tokenNameExists" + }, + "id": 3218, + "name": "Identifier", + "src": "2638:15:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3114, + "type": "string memory", + "value": "_name" + }, + "id": 3219, + "name": "Identifier", + "src": "2654:5:2" + } + ], + "id": 3220, + "name": "IndexAccess", + "src": "2638:22:2" + }, + { + "attributes": { + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 3221, + "name": "Literal", + "src": "2663:4:2" + } + ], + "id": 3222, + "name": "Assignment", + "src": "2638:29:2" + } + ], + "id": 3223, + "name": "ExpressionStatement", + "src": "2638:29:2" + }, + { + "attributes": { + "assignments": [ + 3225 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "newCryptoBoy", + "scope": 3249, + "stateVariable": false, + "storageLocation": "memory", + "type": "struct BscBoys.CryptoBoy", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "CryptoBoy", + "referencedDeclaration": 3078, + "type": "struct BscBoys.CryptoBoy" + }, + "id": 3224, + "name": "UserDefinedTypeName", + "src": "2739:9:2" + } + ], + "id": 3225, + "name": "VariableDeclaration", + "src": "2739:29:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": true, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "struct BscBoys.CryptoBoy memory", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_string_memory_ptr", + "typeString": "string memory" + }, + { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + }, + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3078, + "type": "type(struct BscBoys.CryptoBoy storage pointer)", + "value": "CryptoBoy" + }, + "id": 3226, + "name": "Identifier", + "src": "2771:9:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3059, + "type": "uint256", + "value": "cryptoBoyCounter" + }, + "id": 3227, + "name": "Identifier", + "src": "2787:16:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3114, + "type": "string memory", + "value": "_name" + }, + "id": 3228, + "name": "Identifier", + "src": "2810:5:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3116, + "type": "string memory", + "value": "_tokenURI" + }, + "id": 3229, + "name": "Identifier", + "src": "2822:9:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "sender", + "type": "address payable" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4294967281, + "type": "msg", + "value": "msg" + }, + "id": 3230, + "name": "Identifier", + "src": "2838:3:2" + } + ], + "id": 3231, + "name": "MemberAccess", + "src": "2838:10:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "sender", + "type": "address payable" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4294967281, + "type": "msg", + "value": "msg" + }, + "id": 3232, + "name": "Identifier", + "src": "2855:3:2" + } + ], + "id": 3233, + "name": "MemberAccess", + "src": "2855:10:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": true, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "address payable", + "type_conversion": true + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "type": "type(address)" + }, + "children": [ + { + "attributes": { + "name": "address" + }, + "id": 3234, + "name": "ElementaryTypeName", + "src": "2872:7:2" + } + ], + "id": 3235, + "name": "ElementaryTypeNameExpression", + "src": "2872:7:2" + }, + { + "attributes": { + "hexvalue": "30", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "token": "number", + "type": "int_const 0", + "value": "0" + }, + "id": 3236, + "name": "Literal", + "src": "2880:1:2" + } + ], + "id": 3237, + "name": "FunctionCall", + "src": "2872:10:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3118, + "type": "uint256", + "value": "_price" + }, + "id": 3238, + "name": "Identifier", + "src": "2889:6:2" + }, + { + "attributes": { + "hexvalue": "30", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "token": "number", + "type": "int_const 0", + "value": "0" + }, + "id": 3239, + "name": "Literal", + "src": "2902:1:2" + }, + { + "attributes": { + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 3240, + "name": "Literal", + "src": "2910:4:2" + } + ], + "id": 3241, + "name": "FunctionCall", + "src": "2771:144:2" + } + ], + "id": 3242, + "name": "VariableDeclarationStatement", + "src": "2739:176:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "struct BscBoys.CryptoBoy storage ref" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "type": "struct BscBoys.CryptoBoy storage ref" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3082, + "type": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)", + "value": "allBscBoys" + }, + "id": 3243, + "name": "Identifier", + "src": "2994:12:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3059, + "type": "uint256", + "value": "cryptoBoyCounter" + }, + "id": 3244, + "name": "Identifier", + "src": "3007:16:2" + } + ], + "id": 3245, + "name": "IndexAccess", + "src": "2994:30:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3225, + "type": "struct BscBoys.CryptoBoy memory", + "value": "newCryptoBoy" + }, + "id": 3246, + "name": "Identifier", + "src": "3027:12:2" + } + ], + "id": 3247, + "name": "Assignment", + "src": "2994:45:2" + } + ], + "id": 3248, + "name": "ExpressionStatement", + "src": "2994:45:2" + } + ], + "id": 3249, + "name": "Block", + "src": "1474:1571:2" + } + ], + "id": 3250, + "name": "FunctionDefinition", + "src": "1353:1692:2" + }, + { + "attributes": { + "functionSelector": "a5cd761f", + "implemented": true, + "isConstructor": false, + "kind": "function", + "modifiers": [ + null + ], + "name": "getTokenOwner", + "scope": 3555, + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "_tokenId", + "scope": 3266, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 3251, + "name": "ElementaryTypeName", + "src": "3103:7:2" + } + ], + "id": 3252, + "name": "VariableDeclaration", + "src": "3103:16:2" + } + ], + "id": 3253, + "name": "ParameterList", + "src": "3102:18:2" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "", + "scope": 3266, + "stateVariable": false, + "storageLocation": "default", + "type": "address", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "stateMutability": "nonpayable", + "type": "address" + }, + "id": 3254, + "name": "ElementaryTypeName", + "src": "3141:7:2" + } + ], + "id": 3255, + "name": "VariableDeclaration", + "src": "3141:7:2" + } + ], + "id": 3256, + "name": "ParameterList", + "src": "3140:9:2" + }, + { + "children": [ + { + "attributes": { + "assignments": [ + 3258 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "_tokenOwner", + "scope": 3265, + "stateVariable": false, + "storageLocation": "default", + "type": "address", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "stateMutability": "nonpayable", + "type": "address" + }, + "id": 3257, + "name": "ElementaryTypeName", + "src": "3157:7:2" + } + ], + "id": 3258, + "name": "VariableDeclaration", + "src": "3157:19:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "address", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2194, + "type": "function (uint256) view returns (address)", + "value": "ownerOf" + }, + "id": 3259, + "name": "Identifier", + "src": "3179:7:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3252, + "type": "uint256", + "value": "_tokenId" + }, + "id": 3260, + "name": "Identifier", + "src": "3187:8:2" + } + ], + "id": 3261, + "name": "FunctionCall", + "src": "3179:17:2" + } + ], + "id": 3262, + "name": "VariableDeclarationStatement", + "src": "3157:39:2" + }, + { + "attributes": { + "functionReturnParameters": 3256 + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3258, + "type": "address", + "value": "_tokenOwner" + }, + "id": 3263, + "name": "Identifier", + "src": "3210:11:2" + } + ], + "id": 3264, + "name": "Return", + "src": "3203:18:2" + } + ], + "id": 3265, + "name": "Block", + "src": "3150:77:2" + } + ], + "id": 3266, + "name": "FunctionDefinition", + "src": "3080:147:2" + }, + { + "attributes": { + "functionSelector": "67c623cf", + "implemented": true, + "isConstructor": false, + "kind": "function", + "modifiers": [ + null + ], + "name": "getTokenMetaData", + "scope": 3555, + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "_tokenId", + "scope": 3282, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint", + "type": "uint256" + }, + "id": 3267, + "name": "ElementaryTypeName", + "src": "3291:4:2" + } + ], + "id": 3268, + "name": "VariableDeclaration", + "src": "3291:13:2" + } + ], + "id": 3269, + "name": "ParameterList", + "src": "3290:15:2" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "", + "scope": 3282, + "stateVariable": false, + "storageLocation": "memory", + "type": "string", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "string", + "type": "string" + }, + "id": 3270, + "name": "ElementaryTypeName", + "src": "3326:6:2" + } + ], + "id": 3271, + "name": "VariableDeclaration", + "src": "3326:13:2" + } + ], + "id": 3272, + "name": "ParameterList", + "src": "3325:15:2" + }, + { + "children": [ + { + "attributes": { + "assignments": [ + 3274 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "tokenMetaData", + "scope": 3281, + "stateVariable": false, + "storageLocation": "memory", + "type": "string", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "string", + "type": "string" + }, + "id": 3273, + "name": "ElementaryTypeName", + "src": "3348:6:2" + } + ], + "id": 3274, + "name": "VariableDeclaration", + "src": "3348:27:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "string memory", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2282, + "type": "function (uint256) view returns (string memory)", + "value": "tokenURI" + }, + "id": 3275, + "name": "Identifier", + "src": "3378:8:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3268, + "type": "uint256", + "value": "_tokenId" + }, + "id": 3276, + "name": "Identifier", + "src": "3387:8:2" + } + ], + "id": 3277, + "name": "FunctionCall", + "src": "3378:18:2" + } + ], + "id": 3278, + "name": "VariableDeclarationStatement", + "src": "3348:48:2" + }, + { + "attributes": { + "functionReturnParameters": 3272 + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3274, + "type": "string memory", + "value": "tokenMetaData" + }, + "id": 3279, + "name": "Identifier", + "src": "3410:13:2" + } + ], + "id": 3280, + "name": "Return", + "src": "3403:20:2" + } + ], + "id": 3281, + "name": "Block", + "src": "3341:88:2" + } + ], + "id": 3282, + "name": "FunctionDefinition", + "src": "3265:164:2" + }, + { + "attributes": { + "functionSelector": "cc151f3a", + "implemented": true, + "isConstructor": false, + "kind": "function", + "modifiers": [ + null + ], + "name": "getNumberOfTokensMinted", + "scope": 3555, + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + "children": [ + { + "attributes": { + "parameters": [ + null + ] + }, + "children": [], + "id": 3283, + "name": "ParameterList", + "src": "3514:2:2" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "", + "scope": 3295, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 3284, + "name": "ElementaryTypeName", + "src": "3537:7:2" + } + ], + "id": 3285, + "name": "VariableDeclaration", + "src": "3537:7:2" + } + ], + "id": 3286, + "name": "ParameterList", + "src": "3536:9:2" + }, + { + "children": [ + { + "attributes": { + "assignments": [ + 3288 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "totalNumberOfTokensMinted", + "scope": 3294, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 3287, + "name": "ElementaryTypeName", + "src": "3553:7:2" + } + ], + "id": 3288, + "name": "VariableDeclaration", + "src": "3553:33:2" + }, + { + "attributes": { + "arguments": [ + null + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "uint256", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + null + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2322, + "type": "function () view returns (uint256)", + "value": "totalSupply" + }, + "id": 3289, + "name": "Identifier", + "src": "3589:11:2" + } + ], + "id": 3290, + "name": "FunctionCall", + "src": "3589:13:2" + } + ], + "id": 3291, + "name": "VariableDeclarationStatement", + "src": "3553:49:2" + }, + { + "attributes": { + "functionReturnParameters": 3286 + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3288, + "type": "uint256", + "value": "totalNumberOfTokensMinted" + }, + "id": 3292, + "name": "Identifier", + "src": "3616:25:2" + } + ], + "id": 3293, + "name": "Return", + "src": "3609:32:2" + } + ], + "id": 3294, + "name": "Block", + "src": "3546:101:2" + } + ], + "id": 3295, + "name": "FunctionDefinition", + "src": "3482:165:2" + }, + { + "attributes": { + "functionSelector": "43902850", + "implemented": true, + "isConstructor": false, + "kind": "function", + "modifiers": [ + null + ], + "name": "getTotalNumberOfTokensOwnedByAnAddress", + "scope": 3555, + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "_owner", + "scope": 3311, + "stateVariable": false, + "storageLocation": "default", + "type": "address", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "stateMutability": "nonpayable", + "type": "address" + }, + "id": 3296, + "name": "ElementaryTypeName", + "src": "3754:7:2" + } + ], + "id": 3297, + "name": "VariableDeclaration", + "src": "3754:14:2" + } + ], + "id": 3298, + "name": "ParameterList", + "src": "3753:16:2" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "", + "scope": 3311, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 3299, + "name": "ElementaryTypeName", + "src": "3790:7:2" + } + ], + "id": 3300, + "name": "VariableDeclaration", + "src": "3790:7:2" + } + ], + "id": 3301, + "name": "ParameterList", + "src": "3789:9:2" + }, + { + "children": [ + { + "attributes": { + "assignments": [ + 3303 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "totalNumberOfTokensOwned", + "scope": 3310, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 3302, + "name": "ElementaryTypeName", + "src": "3806:7:2" + } + ], + "id": 3303, + "name": "VariableDeclaration", + "src": "3806:32:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "uint256", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2178, + "type": "function (address) view returns (uint256)", + "value": "balanceOf" + }, + "id": 3304, + "name": "Identifier", + "src": "3841:9:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3297, + "type": "address", + "value": "_owner" + }, + "id": 3305, + "name": "Identifier", + "src": "3851:6:2" + } + ], + "id": 3306, + "name": "FunctionCall", + "src": "3841:17:2" + } + ], + "id": 3307, + "name": "VariableDeclarationStatement", + "src": "3806:52:2" + }, + { + "attributes": { + "functionReturnParameters": 3301 + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3303, + "type": "uint256", + "value": "totalNumberOfTokensOwned" + }, + "id": 3308, + "name": "Identifier", + "src": "3872:24:2" + } + ], + "id": 3309, + "name": "Return", + "src": "3865:31:2" + } + ], + "id": 3310, + "name": "Block", + "src": "3799:103:2" + } + ], + "id": 3311, + "name": "FunctionDefinition", + "src": "3706:196:2" + }, + { + "attributes": { + "functionSelector": "142687f3", + "implemented": true, + "isConstructor": false, + "kind": "function", + "modifiers": [ + null + ], + "name": "getTokenExists", + "scope": 3555, + "stateMutability": "view", + "virtual": false, + "visibility": "public" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "_tokenId", + "scope": 3327, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 3312, + "name": "ElementaryTypeName", + "src": "3972:7:2" + } + ], + "id": 3313, + "name": "VariableDeclaration", + "src": "3972:16:2" + } + ], + "id": 3314, + "name": "ParameterList", + "src": "3971:18:2" + }, + { + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "", + "scope": 3327, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 3315, + "name": "ElementaryTypeName", + "src": "4010:4:2" + } + ], + "id": 3316, + "name": "VariableDeclaration", + "src": "4010:4:2" + } + ], + "id": 3317, + "name": "ParameterList", + "src": "4009:6:2" + }, + { + "children": [ + { + "attributes": { + "assignments": [ + 3319 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "tokenExists", + "scope": 3326, + "stateVariable": false, + "storageLocation": "default", + "type": "bool", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "bool", + "type": "bool" + }, + "id": 3318, + "name": "ElementaryTypeName", + "src": "4023:4:2" + } + ], + "id": 3319, + "name": "VariableDeclaration", + "src": "4023:16:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "bool", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2577, + "type": "function (uint256) view returns (bool)", + "value": "_exists" + }, + "id": 3320, + "name": "Identifier", + "src": "4042:7:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3313, + "type": "uint256", + "value": "_tokenId" + }, + "id": 3321, + "name": "Identifier", + "src": "4050:8:2" + } + ], + "id": 3322, + "name": "FunctionCall", + "src": "4042:17:2" + } + ], + "id": 3323, + "name": "VariableDeclarationStatement", + "src": "4023:36:2" + }, + { + "attributes": { + "functionReturnParameters": 3317 + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3319, + "type": "bool", + "value": "tokenExists" + }, + "id": 3324, + "name": "Identifier", + "src": "4073:11:2" + } + ], + "id": 3325, + "name": "Return", + "src": "4066:18:2" + } + ], + "id": 3326, + "name": "Block", + "src": "4016:74:2" + } + ], + "id": 3327, + "name": "FunctionDefinition", + "src": "3948:142:2" + }, + { + "attributes": { + "functionSelector": "2d296bf1", + "implemented": true, + "isConstructor": false, + "kind": "function", + "modifiers": [ + null + ], + "name": "buyToken", + "scope": 3555, + "stateMutability": "payable", + "virtual": false, + "visibility": "public" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "_tokenId", + "scope": 3435, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 3328, + "name": "ElementaryTypeName", + "src": "4160:7:2" + } + ], + "id": 3329, + "name": "VariableDeclaration", + "src": "4160:16:2" + } + ], + "id": 3330, + "name": "ParameterList", + "src": "4159:18:2" + }, + { + "attributes": { + "parameters": [ + null + ] + }, + "children": [], + "id": 3331, + "name": "ParameterList", + "src": "4193:0:2" + }, + { + "children": [ + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3332, + "name": "Identifier", + "src": "4268:7:2" + }, + { + "attributes": { + "commonType": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "!=", + "type": "bool" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "sender", + "type": "address payable" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4294967281, + "type": "msg", + "value": "msg" + }, + "id": 3333, + "name": "Identifier", + "src": "4276:3:2" + } + ], + "id": 3334, + "name": "MemberAccess", + "src": "4276:10:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": true, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "address payable", + "type_conversion": true + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "type": "type(address)" + }, + "children": [ + { + "attributes": { + "name": "address" + }, + "id": 3335, + "name": "ElementaryTypeName", + "src": "4290:7:2" + } + ], + "id": 3336, + "name": "ElementaryTypeNameExpression", + "src": "4290:7:2" + }, + { + "attributes": { + "hexvalue": "30", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "token": "number", + "type": "int_const 0", + "value": "0" + }, + "id": 3337, + "name": "Literal", + "src": "4298:1:2" + } + ], + "id": 3338, + "name": "FunctionCall", + "src": "4290:10:2" + } + ], + "id": 3339, + "name": "BinaryOperation", + "src": "4276:24:2" + } + ], + "id": 3340, + "name": "FunctionCall", + "src": "4268:33:2" + } + ], + "id": 3341, + "name": "ExpressionStatement", + "src": "4268:33:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3342, + "name": "Identifier", + "src": "4378:7:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "bool", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2577, + "type": "function (uint256) view returns (bool)", + "value": "_exists" + }, + "id": 3343, + "name": "Identifier", + "src": "4386:7:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3329, + "type": "uint256", + "value": "_tokenId" + }, + "id": 3344, + "name": "Identifier", + "src": "4394:8:2" + } + ], + "id": 3345, + "name": "FunctionCall", + "src": "4386:17:2" + } + ], + "id": 3346, + "name": "FunctionCall", + "src": "4378:26:2" + } + ], + "id": 3347, + "name": "ExpressionStatement", + "src": "4378:26:2" + }, + { + "attributes": { + "assignments": [ + 3349 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "tokenOwner", + "scope": 3434, + "stateVariable": false, + "storageLocation": "default", + "type": "address", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "stateMutability": "nonpayable", + "type": "address" + }, + "id": 3348, + "name": "ElementaryTypeName", + "src": "4441:7:2" + } + ], + "id": 3349, + "name": "VariableDeclaration", + "src": "4441:18:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "address", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2194, + "type": "function (uint256) view returns (address)", + "value": "ownerOf" + }, + "id": 3350, + "name": "Identifier", + "src": "4462:7:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3329, + "type": "uint256", + "value": "_tokenId" + }, + "id": 3351, + "name": "Identifier", + "src": "4470:8:2" + } + ], + "id": 3352, + "name": "FunctionCall", + "src": "4462:17:2" + } + ], + "id": 3353, + "name": "VariableDeclarationStatement", + "src": "4441:38:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3354, + "name": "Identifier", + "src": "4546:7:2" + }, + { + "attributes": { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "!=", + "type": "bool" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3349, + "type": "address", + "value": "tokenOwner" + }, + "id": 3355, + "name": "Identifier", + "src": "4554:10:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": true, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "address payable", + "type_conversion": true + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "type": "type(address)" + }, + "children": [ + { + "attributes": { + "name": "address" + }, + "id": 3356, + "name": "ElementaryTypeName", + "src": "4568:7:2" + } + ], + "id": 3357, + "name": "ElementaryTypeNameExpression", + "src": "4568:7:2" + }, + { + "attributes": { + "hexvalue": "30", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "token": "number", + "type": "int_const 0", + "value": "0" + }, + "id": 3358, + "name": "Literal", + "src": "4576:1:2" + } + ], + "id": 3359, + "name": "FunctionCall", + "src": "4568:10:2" + } + ], + "id": 3360, + "name": "BinaryOperation", + "src": "4554:24:2" + } + ], + "id": 3361, + "name": "FunctionCall", + "src": "4546:33:2" + } + ], + "id": 3362, + "name": "ExpressionStatement", + "src": "4546:33:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3363, + "name": "Identifier", + "src": "4661:7:2" + }, + { + "attributes": { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "!=", + "type": "bool" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3349, + "type": "address", + "value": "tokenOwner" + }, + "id": 3364, + "name": "Identifier", + "src": "4669:10:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "sender", + "type": "address payable" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4294967281, + "type": "msg", + "value": "msg" + }, + "id": 3365, + "name": "Identifier", + "src": "4683:3:2" + } + ], + "id": 3366, + "name": "MemberAccess", + "src": "4683:10:2" + } + ], + "id": 3367, + "name": "BinaryOperation", + "src": "4669:24:2" + } + ], + "id": 3368, + "name": "FunctionCall", + "src": "4661:33:2" + } + ], + "id": 3369, + "name": "ExpressionStatement", + "src": "4661:33:2" + }, + { + "attributes": { + "assignments": [ + 3371 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "cryptoboy", + "scope": 3434, + "stateVariable": false, + "storageLocation": "memory", + "type": "struct BscBoys.CryptoBoy", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "CryptoBoy", + "referencedDeclaration": 3078, + "type": "struct BscBoys.CryptoBoy" + }, + "id": 3370, + "name": "UserDefinedTypeName", + "src": "4812:9:2" + } + ], + "id": 3371, + "name": "VariableDeclaration", + "src": "4812:26:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "type": "struct BscBoys.CryptoBoy storage ref" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3082, + "type": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)", + "value": "allBscBoys" + }, + "id": 3372, + "name": "Identifier", + "src": "4841:12:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3329, + "type": "uint256", + "value": "_tokenId" + }, + "id": 3373, + "name": "Identifier", + "src": "4854:8:2" + } + ], + "id": 3374, + "name": "IndexAccess", + "src": "4841:22:2" + } + ], + "id": 3375, + "name": "VariableDeclarationStatement", + "src": "4812:51:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3376, + "name": "Identifier", + "src": "4949:7:2" + }, + { + "attributes": { + "commonType": { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": ">=", + "type": "bool" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "value", + "type": "uint256" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4294967281, + "type": "msg", + "value": "msg" + }, + "id": 3377, + "name": "Identifier", + "src": "4957:3:2" + } + ], + "id": 3378, + "name": "MemberAccess", + "src": "4957:9:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "price", + "referencedDeclaration": 3073, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3371, + "type": "struct BscBoys.CryptoBoy memory", + "value": "cryptoboy" + }, + "id": 3379, + "name": "Identifier", + "src": "4970:9:2" + } + ], + "id": 3380, + "name": "MemberAccess", + "src": "4970:15:2" + } + ], + "id": 3381, + "name": "BinaryOperation", + "src": "4957:28:2" + } + ], + "id": 3382, + "name": "FunctionCall", + "src": "4949:37:2" + } + ], + "id": 3383, + "name": "ExpressionStatement", + "src": "4949:37:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3384, + "name": "Identifier", + "src": "5026:7:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "forSale", + "referencedDeclaration": 3077, + "type": "bool" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3371, + "type": "struct BscBoys.CryptoBoy memory", + "value": "cryptoboy" + }, + "id": 3385, + "name": "Identifier", + "src": "5034:9:2" + } + ], + "id": 3386, + "name": "MemberAccess", + "src": "5034:17:2" + } + ], + "id": 3387, + "name": "FunctionCall", + "src": "5026:26:2" + } + ], + "id": 3388, + "name": "ExpressionStatement", + "src": "5026:26:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_address", + "typeString": "address" + }, + { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2863, + "type": "function (address,address,uint256)", + "value": "_transfer" + }, + "id": 3389, + "name": "Identifier", + "src": "5135:9:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3349, + "type": "address", + "value": "tokenOwner" + }, + "id": 3390, + "name": "Identifier", + "src": "5145:10:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "sender", + "type": "address payable" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4294967281, + "type": "msg", + "value": "msg" + }, + "id": 3391, + "name": "Identifier", + "src": "5157:3:2" + } + ], + "id": 3392, + "name": "MemberAccess", + "src": "5157:10:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3329, + "type": "uint256", + "value": "_tokenId" + }, + "id": 3393, + "name": "Identifier", + "src": "5169:8:2" + } + ], + "id": 3394, + "name": "FunctionCall", + "src": "5135:43:2" + } + ], + "id": 3395, + "name": "ExpressionStatement", + "src": "5135:43:2" + }, + { + "attributes": { + "assignments": [ + 3397 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "sendTo", + "scope": 3434, + "stateVariable": false, + "storageLocation": "default", + "type": "address payable", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "stateMutability": "payable", + "type": "address payable" + }, + "id": 3396, + "name": "ElementaryTypeName", + "src": "5216:15:2" + } + ], + "id": 3397, + "name": "VariableDeclaration", + "src": "5216:22:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "currentOwner", + "referencedDeclaration": 3069, + "type": "address payable" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3371, + "type": "struct BscBoys.CryptoBoy memory", + "value": "cryptoboy" + }, + "id": 3398, + "name": "Identifier", + "src": "5241:9:2" + } + ], + "id": 3399, + "name": "MemberAccess", + "src": "5241:22:2" + } + ], + "id": 3400, + "name": "VariableDeclarationStatement", + "src": "5216:47:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "transfer", + "type": "function (uint256)" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3397, + "type": "address payable", + "value": "sendTo" + }, + "id": 3401, + "name": "Identifier", + "src": "5320:6:2" + } + ], + "id": 3403, + "name": "MemberAccess", + "src": "5320:15:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "value", + "type": "uint256" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4294967281, + "type": "msg", + "value": "msg" + }, + "id": 3404, + "name": "Identifier", + "src": "5336:3:2" + } + ], + "id": 3405, + "name": "MemberAccess", + "src": "5336:9:2" + } + ], + "id": 3406, + "name": "FunctionCall", + "src": "5320:26:2" + } + ], + "id": 3407, + "name": "ExpressionStatement", + "src": "5320:26:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "address payable" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "member_name": "previousOwner", + "referencedDeclaration": 3071, + "type": "address payable" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3371, + "type": "struct BscBoys.CryptoBoy memory", + "value": "cryptoboy" + }, + "id": 3408, + "name": "Identifier", + "src": "5395:9:2" + } + ], + "id": 3410, + "name": "MemberAccess", + "src": "5395:23:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "currentOwner", + "referencedDeclaration": 3069, + "type": "address payable" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3371, + "type": "struct BscBoys.CryptoBoy memory", + "value": "cryptoboy" + }, + "id": 3411, + "name": "Identifier", + "src": "5421:9:2" + } + ], + "id": 3412, + "name": "MemberAccess", + "src": "5421:22:2" + } + ], + "id": 3413, + "name": "Assignment", + "src": "5395:48:2" + } + ], + "id": 3414, + "name": "ExpressionStatement", + "src": "5395:48:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "address payable" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "member_name": "currentOwner", + "referencedDeclaration": 3069, + "type": "address payable" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3371, + "type": "struct BscBoys.CryptoBoy memory", + "value": "cryptoboy" + }, + "id": 3415, + "name": "Identifier", + "src": "5491:9:2" + } + ], + "id": 3417, + "name": "MemberAccess", + "src": "5491:22:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "sender", + "type": "address payable" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4294967281, + "type": "msg", + "value": "msg" + }, + "id": 3418, + "name": "Identifier", + "src": "5516:3:2" + } + ], + "id": 3419, + "name": "MemberAccess", + "src": "5516:10:2" + } + ], + "id": 3420, + "name": "Assignment", + "src": "5491:35:2" + } + ], + "id": 3421, + "name": "ExpressionStatement", + "src": "5491:35:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "+=", + "type": "uint256" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "member_name": "numberOfTransfers", + "referencedDeclaration": 3075, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3371, + "type": "struct BscBoys.CryptoBoy memory", + "value": "cryptoboy" + }, + "id": 3422, + "name": "Identifier", + "src": "5593:9:2" + } + ], + "id": 3424, + "name": "MemberAccess", + "src": "5593:27:2" + }, + { + "attributes": { + "hexvalue": "31", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "token": "number", + "type": "int_const 1", + "value": "1" + }, + "id": 3425, + "name": "Literal", + "src": "5624:1:2" + } + ], + "id": 3426, + "name": "Assignment", + "src": "5593:32:2" + } + ], + "id": 3427, + "name": "ExpressionStatement", + "src": "5593:32:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "struct BscBoys.CryptoBoy storage ref" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "type": "struct BscBoys.CryptoBoy storage ref" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3082, + "type": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)", + "value": "allBscBoys" + }, + "id": 3428, + "name": "Identifier", + "src": "5681:12:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3329, + "type": "uint256", + "value": "_tokenId" + }, + "id": 3429, + "name": "Identifier", + "src": "5694:8:2" + } + ], + "id": 3430, + "name": "IndexAccess", + "src": "5681:22:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3371, + "type": "struct BscBoys.CryptoBoy memory", + "value": "cryptoboy" + }, + "id": 3431, + "name": "Identifier", + "src": "5706:9:2" + } + ], + "id": 3432, + "name": "Assignment", + "src": "5681:34:2" + } + ], + "id": 3433, + "name": "ExpressionStatement", + "src": "5681:34:2" + } + ], + "id": 3434, + "name": "Block", + "src": "4193:1528:2" + } + ], + "id": 3435, + "name": "FunctionDefinition", + "src": "4142:1579:2" + }, + { + "attributes": { + "functionSelector": "62e8e8ac", + "implemented": true, + "isConstructor": false, + "kind": "function", + "modifiers": [ + null + ], + "name": "changeTokenPrice", + "scope": 3555, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "_tokenId", + "scope": 3490, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 3436, + "name": "ElementaryTypeName", + "src": "5753:7:2" + } + ], + "id": 3437, + "name": "VariableDeclaration", + "src": "5753:16:2" + }, + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "_newPrice", + "scope": 3490, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 3438, + "name": "ElementaryTypeName", + "src": "5771:7:2" + } + ], + "id": 3439, + "name": "VariableDeclaration", + "src": "5771:17:2" + } + ], + "id": 3440, + "name": "ParameterList", + "src": "5752:37:2" + }, + { + "attributes": { + "parameters": [ + null + ] + }, + "children": [], + "id": 3441, + "name": "ParameterList", + "src": "5797:0:2" + }, + { + "children": [ + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3442, + "name": "Identifier", + "src": "5867:7:2" + }, + { + "attributes": { + "commonType": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "!=", + "type": "bool" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "sender", + "type": "address payable" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4294967281, + "type": "msg", + "value": "msg" + }, + "id": 3443, + "name": "Identifier", + "src": "5875:3:2" + } + ], + "id": 3444, + "name": "MemberAccess", + "src": "5875:10:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": true, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "address payable", + "type_conversion": true + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "type": "type(address)" + }, + "children": [ + { + "attributes": { + "name": "address" + }, + "id": 3445, + "name": "ElementaryTypeName", + "src": "5889:7:2" + } + ], + "id": 3446, + "name": "ElementaryTypeNameExpression", + "src": "5889:7:2" + }, + { + "attributes": { + "hexvalue": "30", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "token": "number", + "type": "int_const 0", + "value": "0" + }, + "id": 3447, + "name": "Literal", + "src": "5897:1:2" + } + ], + "id": 3448, + "name": "FunctionCall", + "src": "5889:10:2" + } + ], + "id": 3449, + "name": "BinaryOperation", + "src": "5875:24:2" + } + ], + "id": 3450, + "name": "FunctionCall", + "src": "5867:33:2" + } + ], + "id": 3451, + "name": "ExpressionStatement", + "src": "5867:33:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3452, + "name": "Identifier", + "src": "5947:7:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "bool", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2577, + "type": "function (uint256) view returns (bool)", + "value": "_exists" + }, + "id": 3453, + "name": "Identifier", + "src": "5955:7:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3437, + "type": "uint256", + "value": "_tokenId" + }, + "id": 3454, + "name": "Identifier", + "src": "5963:8:2" + } + ], + "id": 3455, + "name": "FunctionCall", + "src": "5955:17:2" + } + ], + "id": 3456, + "name": "FunctionCall", + "src": "5947:26:2" + } + ], + "id": 3457, + "name": "ExpressionStatement", + "src": "5947:26:2" + }, + { + "attributes": { + "assignments": [ + 3459 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "tokenOwner", + "scope": 3489, + "stateVariable": false, + "storageLocation": "default", + "type": "address", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "stateMutability": "nonpayable", + "type": "address" + }, + "id": 3458, + "name": "ElementaryTypeName", + "src": "6010:7:2" + } + ], + "id": 3459, + "name": "VariableDeclaration", + "src": "6010:18:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "address", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2194, + "type": "function (uint256) view returns (address)", + "value": "ownerOf" + }, + "id": 3460, + "name": "Identifier", + "src": "6031:7:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3437, + "type": "uint256", + "value": "_tokenId" + }, + "id": 3461, + "name": "Identifier", + "src": "6039:8:2" + } + ], + "id": 3462, + "name": "FunctionCall", + "src": "6031:17:2" + } + ], + "id": 3463, + "name": "VariableDeclarationStatement", + "src": "6010:38:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3464, + "name": "Identifier", + "src": "6134:7:2" + }, + { + "attributes": { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "==", + "type": "bool" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3459, + "type": "address", + "value": "tokenOwner" + }, + "id": 3465, + "name": "Identifier", + "src": "6142:10:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "sender", + "type": "address payable" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4294967281, + "type": "msg", + "value": "msg" + }, + "id": 3466, + "name": "Identifier", + "src": "6156:3:2" + } + ], + "id": 3467, + "name": "MemberAccess", + "src": "6156:10:2" + } + ], + "id": 3468, + "name": "BinaryOperation", + "src": "6142:24:2" + } + ], + "id": 3469, + "name": "FunctionCall", + "src": "6134:33:2" + } + ], + "id": 3470, + "name": "ExpressionStatement", + "src": "6134:33:2" + }, + { + "attributes": { + "assignments": [ + 3472 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "cryptoboy", + "scope": 3489, + "stateVariable": false, + "storageLocation": "memory", + "type": "struct BscBoys.CryptoBoy", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "CryptoBoy", + "referencedDeclaration": 3078, + "type": "struct BscBoys.CryptoBoy" + }, + "id": 3471, + "name": "UserDefinedTypeName", + "src": "6285:9:2" + } + ], + "id": 3472, + "name": "VariableDeclaration", + "src": "6285:26:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "type": "struct BscBoys.CryptoBoy storage ref" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3082, + "type": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)", + "value": "allBscBoys" + }, + "id": 3473, + "name": "Identifier", + "src": "6314:12:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3437, + "type": "uint256", + "value": "_tokenId" + }, + "id": 3474, + "name": "Identifier", + "src": "6327:8:2" + } + ], + "id": 3475, + "name": "IndexAccess", + "src": "6314:22:2" + } + ], + "id": 3476, + "name": "VariableDeclarationStatement", + "src": "6285:51:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "uint256" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "member_name": "price", + "referencedDeclaration": 3073, + "type": "uint256" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3472, + "type": "struct BscBoys.CryptoBoy memory", + "value": "cryptoboy" + }, + "id": 3477, + "name": "Identifier", + "src": "6387:9:2" + } + ], + "id": 3479, + "name": "MemberAccess", + "src": "6387:15:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3439, + "type": "uint256", + "value": "_newPrice" + }, + "id": 3480, + "name": "Identifier", + "src": "6405:9:2" + } + ], + "id": 3481, + "name": "Assignment", + "src": "6387:27:2" + } + ], + "id": 3482, + "name": "ExpressionStatement", + "src": "6387:27:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "struct BscBoys.CryptoBoy storage ref" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "type": "struct BscBoys.CryptoBoy storage ref" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3082, + "type": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)", + "value": "allBscBoys" + }, + "id": 3483, + "name": "Identifier", + "src": "6470:12:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3437, + "type": "uint256", + "value": "_tokenId" + }, + "id": 3484, + "name": "Identifier", + "src": "6483:8:2" + } + ], + "id": 3485, + "name": "IndexAccess", + "src": "6470:22:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3472, + "type": "struct BscBoys.CryptoBoy memory", + "value": "cryptoboy" + }, + "id": 3486, + "name": "Identifier", + "src": "6495:9:2" + } + ], + "id": 3487, + "name": "Assignment", + "src": "6470:34:2" + } + ], + "id": 3488, + "name": "ExpressionStatement", + "src": "6470:34:2" + } + ], + "id": 3489, + "name": "Block", + "src": "5797:713:2" + } + ], + "id": 3490, + "name": "FunctionDefinition", + "src": "5727:783:2" + }, + { + "attributes": { + "functionSelector": "a32018b9", + "implemented": true, + "isConstructor": false, + "kind": "function", + "modifiers": [ + null + ], + "name": "toggleForSale", + "scope": 3555, + "stateMutability": "nonpayable", + "virtual": false, + "visibility": "public" + }, + "children": [ + { + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "_tokenId", + "scope": 3554, + "stateVariable": false, + "storageLocation": "default", + "type": "uint256", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "uint256", + "type": "uint256" + }, + "id": 3491, + "name": "ElementaryTypeName", + "src": "6594:7:2" + } + ], + "id": 3492, + "name": "VariableDeclaration", + "src": "6594:16:2" + } + ], + "id": 3493, + "name": "ParameterList", + "src": "6593:18:2" + }, + { + "attributes": { + "parameters": [ + null + ] + }, + "children": [], + "id": 3494, + "name": "ParameterList", + "src": "6619:0:2" + }, + { + "children": [ + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3495, + "name": "Identifier", + "src": "6689:7:2" + }, + { + "attributes": { + "commonType": { + "typeIdentifier": "t_address_payable", + "typeString": "address payable" + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "!=", + "type": "bool" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "sender", + "type": "address payable" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4294967281, + "type": "msg", + "value": "msg" + }, + "id": 3496, + "name": "Identifier", + "src": "6697:3:2" + } + ], + "id": 3497, + "name": "MemberAccess", + "src": "6697:10:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": true, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "address payable", + "type_conversion": true + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_rational_0_by_1", + "typeString": "int_const 0" + } + ], + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "type": "type(address)" + }, + "children": [ + { + "attributes": { + "name": "address" + }, + "id": 3498, + "name": "ElementaryTypeName", + "src": "6711:7:2" + } + ], + "id": 3499, + "name": "ElementaryTypeNameExpression", + "src": "6711:7:2" + }, + { + "attributes": { + "hexvalue": "30", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "token": "number", + "type": "int_const 0", + "value": "0" + }, + "id": 3500, + "name": "Literal", + "src": "6719:1:2" + } + ], + "id": 3501, + "name": "FunctionCall", + "src": "6711:10:2" + } + ], + "id": 3502, + "name": "BinaryOperation", + "src": "6697:24:2" + } + ], + "id": 3503, + "name": "FunctionCall", + "src": "6689:33:2" + } + ], + "id": 3504, + "name": "ExpressionStatement", + "src": "6689:33:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3505, + "name": "Identifier", + "src": "6769:7:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "bool", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2577, + "type": "function (uint256) view returns (bool)", + "value": "_exists" + }, + "id": 3506, + "name": "Identifier", + "src": "6777:7:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3492, + "type": "uint256", + "value": "_tokenId" + }, + "id": 3507, + "name": "Identifier", + "src": "6785:8:2" + } + ], + "id": 3508, + "name": "FunctionCall", + "src": "6777:17:2" + } + ], + "id": 3509, + "name": "FunctionCall", + "src": "6769:26:2" + } + ], + "id": 3510, + "name": "ExpressionStatement", + "src": "6769:26:2" + }, + { + "attributes": { + "assignments": [ + 3512 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "tokenOwner", + "scope": 3553, + "stateVariable": false, + "storageLocation": "default", + "type": "address", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "address", + "stateMutability": "nonpayable", + "type": "address" + }, + "id": 3511, + "name": "ElementaryTypeName", + "src": "6832:7:2" + } + ], + "id": 3512, + "name": "VariableDeclaration", + "src": "6832:18:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "address", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_uint256", + "typeString": "uint256" + } + ], + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 2194, + "type": "function (uint256) view returns (address)", + "value": "ownerOf" + }, + "id": 3513, + "name": "Identifier", + "src": "6853:7:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3492, + "type": "uint256", + "value": "_tokenId" + }, + "id": 3514, + "name": "Identifier", + "src": "6861:8:2" + } + ], + "id": 3515, + "name": "FunctionCall", + "src": "6853:17:2" + } + ], + "id": 3516, + "name": "VariableDeclarationStatement", + "src": "6832:38:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "isStructConstructorCall": false, + "lValueRequested": false, + "names": [ + null + ], + "tryCall": false, + "type": "tuple()", + "type_conversion": false + }, + "children": [ + { + "attributes": { + "argumentTypes": [ + { + "typeIdentifier": "t_bool", + "typeString": "bool" + } + ], + "overloadedDeclarations": [ + 4294967278, + 4294967278 + ], + "referencedDeclaration": 4294967278, + "type": "function (bool) pure", + "value": "require" + }, + "id": 3517, + "name": "Identifier", + "src": "6956:7:2" + }, + { + "attributes": { + "commonType": { + "typeIdentifier": "t_address", + "typeString": "address" + }, + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "==", + "type": "bool" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3512, + "type": "address", + "value": "tokenOwner" + }, + "id": 3518, + "name": "Identifier", + "src": "6964:10:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "member_name": "sender", + "type": "address payable" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 4294967281, + "type": "msg", + "value": "msg" + }, + "id": 3519, + "name": "Identifier", + "src": "6978:3:2" + } + ], + "id": 3520, + "name": "MemberAccess", + "src": "6978:10:2" + } + ], + "id": 3521, + "name": "BinaryOperation", + "src": "6964:24:2" + } + ], + "id": 3522, + "name": "FunctionCall", + "src": "6956:33:2" + } + ], + "id": 3523, + "name": "ExpressionStatement", + "src": "6956:33:2" + }, + { + "attributes": { + "assignments": [ + 3525 + ] + }, + "children": [ + { + "attributes": { + "constant": false, + "mutability": "mutable", + "name": "cryptoboy", + "scope": 3553, + "stateVariable": false, + "storageLocation": "memory", + "type": "struct BscBoys.CryptoBoy", + "visibility": "internal" + }, + "children": [ + { + "attributes": { + "name": "CryptoBoy", + "referencedDeclaration": 3078, + "type": "struct BscBoys.CryptoBoy" + }, + "id": 3524, + "name": "UserDefinedTypeName", + "src": "7107:9:2" + } + ], + "id": 3525, + "name": "VariableDeclaration", + "src": "7107:26:2" + }, + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "type": "struct BscBoys.CryptoBoy storage ref" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3082, + "type": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)", + "value": "allBscBoys" + }, + "id": 3526, + "name": "Identifier", + "src": "7136:12:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3492, + "type": "uint256", + "value": "_tokenId" + }, + "id": 3527, + "name": "Identifier", + "src": "7149:8:2" + } + ], + "id": 3528, + "name": "IndexAccess", + "src": "7136:22:2" + } + ], + "id": 3529, + "name": "VariableDeclarationStatement", + "src": "7107:51:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": false, + "member_name": "forSale", + "referencedDeclaration": 3077, + "type": "bool" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3525, + "type": "struct BscBoys.CryptoBoy memory", + "value": "cryptoboy" + }, + "id": 3530, + "name": "Identifier", + "src": "7232:9:2" + } + ], + "id": 3531, + "name": "MemberAccess", + "src": "7232:17:2" + }, + { + "children": [ + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "bool" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "member_name": "forSale", + "referencedDeclaration": 3077, + "type": "bool" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3525, + "type": "struct BscBoys.CryptoBoy memory", + "value": "cryptoboy" + }, + "id": 3532, + "name": "Identifier", + "src": "7260:9:2" + } + ], + "id": 3534, + "name": "MemberAccess", + "src": "7260:17:2" + }, + { + "attributes": { + "hexvalue": "66616c7365", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "token": "bool", + "type": "bool", + "value": "false" + }, + "id": 3535, + "name": "Literal", + "src": "7280:5:2" + } + ], + "id": 3536, + "name": "Assignment", + "src": "7260:25:2" + } + ], + "id": 3537, + "name": "ExpressionStatement", + "src": "7260:25:2" + } + ], + "id": 3538, + "name": "Block", + "src": "7251:42:2" + }, + { + "children": [ + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "bool" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "member_name": "forSale", + "referencedDeclaration": 3077, + "type": "bool" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3525, + "type": "struct BscBoys.CryptoBoy memory", + "value": "cryptoboy" + }, + "id": 3539, + "name": "Identifier", + "src": "7308:9:2" + } + ], + "id": 3541, + "name": "MemberAccess", + "src": "7308:17:2" + }, + { + "attributes": { + "hexvalue": "74727565", + "isConstant": false, + "isLValue": false, + "isPure": true, + "lValueRequested": false, + "token": "bool", + "type": "bool", + "value": "true" + }, + "id": 3542, + "name": "Literal", + "src": "7328:4:2" + } + ], + "id": 3543, + "name": "Assignment", + "src": "7308:24:2" + } + ], + "id": 3544, + "name": "ExpressionStatement", + "src": "7308:24:2" + } + ], + "id": 3545, + "name": "Block", + "src": "7299:41:2" + } + ], + "id": 3546, + "name": "IfStatement", + "src": "7229:111:2" + }, + { + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": false, + "isPure": false, + "lValueRequested": false, + "operator": "=", + "type": "struct BscBoys.CryptoBoy storage ref" + }, + "children": [ + { + "attributes": { + "isConstant": false, + "isLValue": true, + "isPure": false, + "lValueRequested": true, + "type": "struct BscBoys.CryptoBoy storage ref" + }, + "children": [ + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3082, + "type": "mapping(uint256 => struct BscBoys.CryptoBoy storage ref)", + "value": "allBscBoys" + }, + "id": 3547, + "name": "Identifier", + "src": "7395:12:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3492, + "type": "uint256", + "value": "_tokenId" + }, + "id": 3548, + "name": "Identifier", + "src": "7408:8:2" + } + ], + "id": 3549, + "name": "IndexAccess", + "src": "7395:22:2" + }, + { + "attributes": { + "overloadedDeclarations": [ + null + ], + "referencedDeclaration": 3525, + "type": "struct BscBoys.CryptoBoy memory", + "value": "cryptoboy" + }, + "id": 3550, + "name": "Identifier", + "src": "7420:9:2" + } + ], + "id": 3551, + "name": "Assignment", + "src": "7395:34:2" + } + ], + "id": 3552, + "name": "ExpressionStatement", + "src": "7395:34:2" + } + ], + "id": 3553, + "name": "Block", + "src": "6619:816:2" + } + ], + "id": 3554, + "name": "FunctionDefinition", + "src": "6571:864:2" + } + ], + "id": 3555, + "name": "ContractDefinition", + "src": "198:7240:2" + } + ], + "id": 3556, + "name": "SourceUnit", + "src": "33:7405:2" + }, + "compiler": { + "name": "solc", + "version": "0.7.6+commit.7338295f.Emscripten.clang" + }, + "networks": {}, + "schemaVersion": "3.4.3", + "updatedAt": "2021-10-13T09:55:47.987Z", + "devdoc": { + "kind": "dev", + "methods": { + "approve(address,uint256)": { + "details": "See {IERC721-approve}." + }, + "balanceOf(address)": { + "details": "See {IERC721-balanceOf}." + }, + "baseURI()": { + "details": "Returns the base URI set via {_setBaseURI}. This will be automatically added as a prefix in {tokenURI} to each token's URI, or to the token ID if no specific URI is set for that token ID." + }, + "getApproved(uint256)": { + "details": "See {IERC721-getApproved}." + }, + "isApprovedForAll(address,address)": { + "details": "See {IERC721-isApprovedForAll}." + }, + "name()": { + "details": "See {IERC721Metadata-name}." + }, + "ownerOf(uint256)": { + "details": "See {IERC721-ownerOf}." + }, + "safeTransferFrom(address,address,uint256)": { + "details": "See {IERC721-safeTransferFrom}." + }, + "safeTransferFrom(address,address,uint256,bytes)": { + "details": "See {IERC721-safeTransferFrom}." + }, + "setApprovalForAll(address,bool)": { + "details": "See {IERC721-setApprovalForAll}." + }, + "supportsInterface(bytes4)": { + "details": "See {IERC165-supportsInterface}. Time complexity O(1), guaranteed to always use less than 30 000 gas." + }, + "symbol()": { + "details": "See {IERC721Metadata-symbol}." + }, + "tokenByIndex(uint256)": { + "details": "See {IERC721Enumerable-tokenByIndex}." + }, + "tokenOfOwnerByIndex(address,uint256)": { + "details": "See {IERC721Enumerable-tokenOfOwnerByIndex}." + }, + "tokenURI(uint256)": { + "details": "See {IERC721Metadata-tokenURI}." + }, + "totalSupply()": { + "details": "See {IERC721Enumerable-totalSupply}." + }, + "transferFrom(address,address,uint256)": { + "details": "See {IERC721-transferFrom}." + } + }, + "version": 1 + }, + "userdoc": { + "kind": "user", + "methods": {}, + "version": 1 + } +} \ No newline at end of file diff --git a/src/abis/SafeMath.json b/src/abis/SafeMath.json index 587ecc3..1bc188d 100644 --- a/src/abis/SafeMath.json +++ b/src/abis/SafeMath.json @@ -1,65 +1,65 @@ { "contractName": "SafeMath", "abi": [], - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Wrappers over Solidity's arithmetic operations with added overflow checks. Arithmetic operations in Solidity wrap on overflow. This can easily result in bugs, because programmers usually assume that an overflow raises an error, which is the standard behavior in high level programming languages. `SafeMath` restores this intuition by reverting the transaction when an operation overflows. Using this library instead of the unchecked operations eliminates an entire class of bugs, so it's recommended to use it always.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":\"SafeMath\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":{\"keccak256\":\"0xac9220652f9879c5fb3116025d59e8fbf6c2c3d149aed9f617b88edd31402044\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://48de100723de94a6590c6db5bae5098a93445194389c3f3eeb104c7239ef3044\",\"dweb:/ipfs/QmVHLEtfLqBqX7XQRHfLuuwtufRBFJFHfgY4zbFRpaZwXC\"]}},\"version\":1}", - "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122096721554c758fccd1c72f456acd5004c00142c8eada3c624c1d08c31c37301da64736f6c63430007060033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122096721554c758fccd1c72f456acd5004c00142c8eada3c624c1d08c31c37301da64736f6c63430007060033", + "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"Wrappers over Solidity's arithmetic operations with added overflow checks. Arithmetic operations in Solidity wrap on overflow. This can easily result in bugs, because programmers usually assume that an overflow raises an error, which is the standard behavior in high level programming languages. `SafeMath` restores this intuition by reverting the transaction when an operation overflows. Using this library instead of the unchecked operations eliminates an entire class of bugs, so it's recommended to use it always.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/src/contracts/ERC721.sol\":\"SafeMath\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/src/contracts/ERC721.sol\":{\"keccak256\":\"0xbbf5d35e3785428d14b29cf40a6a1f82d9275af46f6f80ec5f330615911aa767\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e5479e3deda288fc9c642c0449113673031cb9834a3507621d5bd7e292969e16\",\"dweb:/ipfs/QmcKjBg55emL46LCBPRw1Y79fz3aGiMiQXFeWcDpJisEgJ\"]}},\"version\":1}", + "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220836e54736a0aed10479a822230d30d1576c8cbfdb43f37e84c05c473d3f3510564736f6c63430007060033", + "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220836e54736a0aed10479a822230d30d1576c8cbfdb43f37e84c05c473d3f3510564736f6c63430007060033", "immutableReferences": {}, "generatedSources": [], "deployedGeneratedSources": [], - "sourceMap": "11300:6594:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "11300:6594:1:-:0;;;;;;;;", - "source": "// SPDX-License-Identifier: MIT\n\n// File: @openzeppelin/contracts/utils/Context.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/*\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with GSN meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n function _msgSender() internal view virtual returns (address payable) {\n return msg.sender;\n }\n\n function _msgData() internal view virtual returns (bytes memory) {\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\n return msg.data;\n }\n}\n\n// File: @openzeppelin/contracts/introspection/IERC165.sol\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n /**\n * @dev Returns true if this contract implements the interface defined by\n * `interfaceId`. See the corresponding\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n * to learn more about how these ids are created.\n *\n * This function call must use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n /**\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n */\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n */\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n */\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n /**\n * @dev Returns the number of tokens in ``owner``'s account.\n */\n function balanceOf(address owner) external view returns (uint256 balance);\n\n /**\n * @dev Returns the owner of the `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function ownerOf(uint256 tokenId) external view returns (address owner);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Transfers `tokenId` token from `from` to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n * The approval is cleared when the token is transferred.\n *\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n *\n * Requirements:\n *\n * - The caller must own the token or be an approved operator.\n * - `tokenId` must exist.\n *\n * Emits an {Approval} event.\n */\n function approve(address to, uint256 tokenId) external;\n\n /**\n * @dev Returns the account approved for `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function getApproved(uint256 tokenId) external view returns (address operator);\n\n /**\n * @dev Approve or remove `operator` as an operator for the caller.\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n *\n * Requirements:\n *\n * - The `operator` cannot be the caller.\n *\n * Emits an {ApprovalForAll} event.\n */\n function setApprovalForAll(address operator, bool _approved) external;\n\n /**\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n *\n * See {setApprovalForAll}\n */\n function isApprovedForAll(address owner, address operator) external view returns (bool);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n\n /**\n * @dev Returns the token collection name.\n */\n function name() external view returns (string memory);\n\n /**\n * @dev Returns the token collection symbol.\n */\n function symbol() external view returns (string memory);\n\n /**\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n */\n function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\n\n\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Enumerable is IERC721 {\n\n /**\n * @dev Returns the total amount of tokens stored by the contract.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\n\n /**\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n * Use along with {totalSupply} to enumerate all tokens.\n */\n function tokenByIndex(uint256 index) external view returns (uint256);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\n\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC721 asset contracts.\n */\ninterface IERC721Receiver {\n /**\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n * by `operator` from `from`, this function is called.\n *\n * It must return its Solidity selector to confirm the token transfer.\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n *\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\n */\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\n}\n\n// File: @openzeppelin/contracts/introspection/ERC165.sol\npragma solidity >=0.6.0 <0.8.0;\n\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts may inherit from this and call {_registerInterface} to declare\n * their support of an interface.\n */\nabstract contract ERC165 is IERC165 {\n /*\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\n */\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\n\n /**\n * @dev Mapping of interface ids to whether or not it's supported.\n */\n mapping(bytes4 => bool) private _supportedInterfaces;\n\n constructor () {\n // Derived contracts need only register support for their own interfaces,\n // we register support for ERC165 itself here\n _registerInterface(_INTERFACE_ID_ERC165);\n }\n\n /**\n * @dev See {IERC165-supportsInterface}.\n *\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n return _supportedInterfaces[interfaceId];\n }\n\n /**\n * @dev Registers the contract as an implementer of the interface defined by\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\n * registering its interface id is not required.\n *\n * See {IERC165-supportsInterface}.\n *\n * Requirements:\n *\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\n */\n function _registerInterface(bytes4 interfaceId) internal virtual {\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\n _supportedInterfaces[interfaceId] = true;\n }\n}\n\n// File: @openzeppelin/contracts/math/SafeMath.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\n * checks.\n *\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\n * in bugs, because programmers usually assume that an overflow raises an\n * error, which is the standard behavior in high level programming languages.\n * `SafeMath` restores this intuition by reverting the transaction when an\n * operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeMath {\n /**\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n uint256 c = a + b;\n if (c < a) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b > a) return (false, 0);\n return (true, a - b);\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n // benefit is lost if 'b' is also tested.\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n if (a == 0) return (true, 0);\n uint256 c = a * b;\n if (c / a != b) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a / b);\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a % b);\n }\n\n /**\n * @dev Returns the addition of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `+` operator.\n *\n * Requirements:\n *\n * - Addition cannot overflow.\n */\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a + b;\n require(c >= a, \"SafeMath: addition overflow\");\n return c;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting on\n * overflow (when the result is negative).\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b <= a, \"SafeMath: subtraction overflow\");\n return a - b;\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `*` operator.\n *\n * Requirements:\n *\n * - Multiplication cannot overflow.\n */\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) return 0;\n uint256 c = a * b;\n require(c / a == b, \"SafeMath: multiplication overflow\");\n return c;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting on\n * division by zero. The result is rounded towards zero.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: division by zero\");\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting when dividing by zero.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: modulo by zero\");\n return a % b;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n * overflow (when the result is negative).\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {trySub}.\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b <= a, errorMessage);\n return a - b;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\n * division by zero. The result is rounded towards zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryDiv}.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting with custom message when dividing by zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryMod}.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a % b;\n }\n}\n\n// File: @openzeppelin/contracts/utils/Address.sol\npragma solidity >=0.6.2 <0.8.0;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n /**\n * @dev Returns true if `account` is a contract.\n *\n * [IMPORTANT]\n * ====\n * It is unsafe to assume that an address for which this function returns\n * false is an externally-owned account (EOA) and not a contract.\n *\n * Among others, `isContract` will return false for the following\n * types of addresses:\n *\n * - an externally-owned account\n * - a contract in construction\n * - an address where a contract will be created\n * - an address where a contract lived, but was destroyed\n * ====\n */\n function isContract(address account) internal view returns (bool) {\n // This method relies on extcodesize, which returns 0 for contracts in\n // construction, since the code is only stored at the end of the\n // constructor execution.\n\n uint256 size;\n // solhint-disable-next-line no-inline-assembly\n assembly { size := extcodesize(account) }\n return size > 0;\n }\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\n (bool success, ) = recipient.call{ value: amount }(\"\");\n require(success, \"Address: unable to send value, recipient may have reverted\");\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain`call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason, it is bubbled up by this\n * function (like regular Solidity function calls).\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCall(target, data, \"Address: low-level call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n * `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n * with `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\n require(isContract(target), \"Address: call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\n require(isContract(target), \"Address: static call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.staticcall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n require(isContract(target), \"Address: delegate call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.delegatecall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\n if (success) {\n return returndata;\n } else {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n\n // solhint-disable-next-line no-inline-assembly\n assembly {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert(errorMessage);\n }\n }\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n * types.\n *\n * Sets have the following properties:\n *\n * - Elements are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableSet for EnumerableSet.AddressSet;\n *\n * // Declare a set state variable\n * EnumerableSet.AddressSet private mySet;\n * }\n * ```\n *\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n * and `uint256` (`UintSet`) are supported.\n */\nlibrary EnumerableSet {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Set type with\n // bytes32 values.\n // The Set implementation uses private functions, and user-facing\n // implementations (such as AddressSet) are just wrappers around the\n // underlying Set.\n // This means that we can only create new EnumerableSets for types that fit\n // in bytes32.\n\n struct Set {\n // Storage of set values\n bytes32[] _values;\n\n // Position of the value in the `values` array, plus 1 because index 0\n // means a value is not in the set.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function _add(Set storage set, bytes32 value) private returns (bool) {\n if (!_contains(set, value)) {\n set._values.push(value);\n // The value is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n set._indexes[value] = set._values.length;\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function _remove(Set storage set, bytes32 value) private returns (bool) {\n // We read and store the value's index to prevent multiple reads from the same storage slot\n uint256 valueIndex = set._indexes[value];\n\n if (valueIndex != 0) { // Equivalent to contains(set, value)\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\n // the array, and then remove the last element (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = valueIndex - 1;\n uint256 lastIndex = set._values.length - 1;\n\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n bytes32 lastvalue = set._values[lastIndex];\n\n // Move the last value to the index where the value to delete is\n set._values[toDeleteIndex] = lastvalue;\n // Update the index for the moved value\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved value was stored\n set._values.pop();\n\n // Delete the index for the deleted slot\n delete set._indexes[value];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\n return set._indexes[value] != 0;\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function _length(Set storage set) private view returns (uint256) {\n return set._values.length;\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\n return set._values[index];\n }\n\n // Bytes32Set\n\n struct Bytes32Set {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _add(set._inner, value);\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _remove(set._inner, value);\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\n return _contains(set._inner, value);\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(Bytes32Set storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\n return _at(set._inner, index);\n }\n\n // AddressSet\n\n struct AddressSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(AddressSet storage set, address value) internal returns (bool) {\n return _add(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(AddressSet storage set, address value) internal returns (bool) {\n return _remove(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(AddressSet storage set, address value) internal view returns (bool) {\n return _contains(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(AddressSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\n return address(uint160(uint256(_at(set._inner, index))));\n }\n\n\n // UintSet\n\n struct UintSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(UintSet storage set, uint256 value) internal returns (bool) {\n return _add(set._inner, bytes32(value));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\n return _remove(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\n return _contains(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function length(UintSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\n return uint256(_at(set._inner, index));\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing an enumerable variant of Solidity's\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n * type.\n *\n * Maps have the following properties:\n *\n * - Entries are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\n *\n * // Declare a set state variable\n * EnumerableMap.UintToAddressMap private myMap;\n * }\n * ```\n *\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n * supported.\n */\nlibrary EnumerableMap {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Map type with\n // bytes32 keys and values.\n // The Map implementation uses private functions, and user-facing\n // implementations (such as Uint256ToAddressMap) are just wrappers around\n // the underlying Map.\n // This means that we can only create new EnumerableMaps for types that fit\n // in bytes32.\n\n struct MapEntry {\n bytes32 _key;\n bytes32 _value;\n }\n\n struct Map {\n // Storage of map keys and values\n MapEntry[] _entries;\n\n // Position of the entry defined by a key in the `entries` array, plus 1\n // because index 0 means a key is not in the map.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\n map._entries.push(MapEntry({ _key: key, _value: value }));\n // The entry is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n map._indexes[key] = map._entries.length;\n return true;\n } else {\n map._entries[keyIndex - 1]._value = value;\n return false;\n }\n }\n\n /**\n * @dev Removes a key-value pair from a map. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function _remove(Map storage map, bytes32 key) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex != 0) { // Equivalent to contains(map, key)\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = keyIndex - 1;\n uint256 lastIndex = map._entries.length - 1;\n\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n MapEntry storage lastEntry = map._entries[lastIndex];\n\n // Move the last entry to the index where the entry to delete is\n map._entries[toDeleteIndex] = lastEntry;\n // Update the index for the moved entry\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved entry was stored\n map._entries.pop();\n\n // Delete the index for the deleted slot\n delete map._indexes[key];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\n return map._indexes[key] != 0;\n }\n\n /**\n * @dev Returns the number of key-value pairs in the map. O(1).\n */\n function _length(Map storage map) private view returns (uint256) {\n return map._entries.length;\n }\n\n /**\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\n *\n * Note that there are no guarantees on the ordering of entries inside the\n * array, and it may change when more entries are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\n\n MapEntry storage entry = map._entries[index];\n return (entry._key, entry._value);\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n */\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\n uint256 keyIndex = map._indexes[key];\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n /**\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {_tryGet}.\n */\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n // UintToAddressMap\n\n struct UintToAddressMap {\n Map _inner;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\n return _remove(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\n return _contains(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns the number of elements in the map. O(1).\n */\n function length(UintToAddressMap storage map) internal view returns (uint256) {\n return _length(map._inner);\n }\n\n /**\n * @dev Returns the element stored at position `index` in the set. O(1).\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\n (bytes32 key, bytes32 value) = _at(map._inner, index);\n return (uint256(key), address(uint160(uint256(value))));\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n *\n * _Available since v3.4._\n */\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\n return (success, address(uint160(uint256(value))));\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\n }\n\n /**\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryGet}.\n */\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\n }\n}\n\n// File: @openzeppelin/contracts/utils/Strings.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n /**\n * @dev Converts a `uint256` to its ASCII `string` representation.\n */\n function toString(uint256 value) internal pure returns (string memory) {\n // Inspired by OraclizeAPI's implementation - MIT licence\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\n\n if (value == 0) {\n return \"0\";\n }\n uint256 temp = value;\n uint256 digits;\n while (temp != 0) {\n digits++;\n temp /= 10;\n }\n bytes memory buffer = new bytes(digits);\n uint256 index = digits - 1;\n temp = value;\n while (temp != 0) {\n buffer[index--] = bytes1(uint8(48 + temp % 10));\n temp /= 10;\n }\n return string(buffer);\n }\n}\n\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 Non-Fungible Token Standard basic implementation\n * @dev see https://eips.ethereum.org/EIPS/eip-721\n */\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\n using SafeMath for uint256;\n using Address for address;\n using EnumerableSet for EnumerableSet.UintSet;\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n using Strings for uint256;\n\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\n\n // Mapping from holder address to their (enumerable) set of owned tokens\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\n\n // Enumerable mapping from token ids to their owners\n EnumerableMap.UintToAddressMap private _tokenOwners;\n\n // Mapping from token ID to approved address\n mapping (uint256 => address) private _tokenApprovals;\n\n // Mapping from owner to operator approvals\n mapping (address => mapping (address => bool)) private _operatorApprovals;\n\n // Token name\n string private _name;\n\n // Token symbol\n string private _symbol;\n\n // Optional mapping for token URIs\n mapping (uint256 => string) private _tokenURIs;\n\n // Base URI\n string private _baseURI;\n\n /*\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\n *\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\n */\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\n\n /*\n * bytes4(keccak256('name()')) == 0x06fdde03\n * bytes4(keccak256('symbol()')) == 0x95d89b41\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\n *\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\n */\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\n\n /*\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\n *\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\n */\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\n\n /**\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\n */\n constructor (string memory name_, string memory symbol_) {\n _name = name_;\n _symbol = symbol_;\n\n // register the supported interfaces to conform to ERC721 via ERC165\n _registerInterface(_INTERFACE_ID_ERC721);\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\n }\n\n /**\n * @dev See {IERC721-balanceOf}.\n */\n function balanceOf(address owner) public view virtual override returns (uint256) {\n require(owner != address(0), \"ERC721: balance query for the zero address\");\n return _holderTokens[owner].length();\n }\n\n /**\n * @dev See {IERC721-ownerOf}.\n */\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\n }\n\n /**\n * @dev See {IERC721Metadata-name}.\n */\n function name() public view virtual override returns (string memory) {\n return _name;\n }\n\n /**\n * @dev See {IERC721Metadata-symbol}.\n */\n function symbol() public view virtual override returns (string memory) {\n return _symbol;\n }\n\n /**\n * @dev See {IERC721Metadata-tokenURI}.\n */\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\n\n string memory _tokenURI = _tokenURIs[tokenId];\n string memory base = baseURI();\n\n // If there is no base URI, return the token URI.\n if (bytes(base).length == 0) {\n return _tokenURI;\n }\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\n if (bytes(_tokenURI).length > 0) {\n return string(abi.encodePacked(base, _tokenURI));\n }\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\n return string(abi.encodePacked(base, tokenId.toString()));\n }\n\n /**\n * @dev Returns the base URI set via {_setBaseURI}. This will be\n * automatically added as a prefix in {tokenURI} to each token's URI, or\n * to the token ID if no specific URI is set for that token ID.\n */\n function baseURI() public view virtual returns (string memory) {\n return _baseURI;\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\n return _holderTokens[owner].at(index);\n }\n\n /**\n * @dev See {IERC721Enumerable-totalSupply}.\n */\n function totalSupply() public view virtual override returns (uint256) {\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\n return _tokenOwners.length();\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenByIndex}.\n */\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\n (uint256 tokenId, ) = _tokenOwners.at(index);\n return tokenId;\n }\n\n /**\n * @dev See {IERC721-approve}.\n */\n function approve(address to, uint256 tokenId) public virtual override {\n address owner = ERC721.ownerOf(tokenId);\n require(to != owner, \"ERC721: approval to current owner\");\n\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\n \"ERC721: approve caller is not owner nor approved for all\"\n );\n\n _approve(to, tokenId);\n }\n\n /**\n * @dev See {IERC721-getApproved}.\n */\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\n\n return _tokenApprovals[tokenId];\n }\n\n /**\n * @dev See {IERC721-setApprovalForAll}.\n */\n function setApprovalForAll(address operator, bool approved) public virtual override {\n require(operator != _msgSender(), \"ERC721: approve to caller\");\n\n _operatorApprovals[_msgSender()][operator] = approved;\n emit ApprovalForAll(_msgSender(), operator, approved);\n }\n\n /**\n * @dev See {IERC721-isApprovedForAll}.\n */\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\n return _operatorApprovals[owner][operator];\n }\n\n /**\n * @dev See {IERC721-transferFrom}.\n */\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\n //solhint-disable-next-line max-line-length\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n\n _transfer(from, to, tokenId);\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\n safeTransferFrom(from, to, tokenId, \"\");\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n _safeTransfer(from, to, tokenId, _data);\n }\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\n *\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n * implement alternative mechanisms to perform token transfer, such as signature-based.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\n _transfer(from, to, tokenId);\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Returns whether `tokenId` exists.\n *\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n *\n * Tokens start existing when they are minted (`_mint`),\n * and stop existing when they are burned (`_burn`).\n */\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\n return _tokenOwners.contains(tokenId);\n }\n\n /**\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\n address owner = ERC721.ownerOf(tokenId);\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\n }\n\n /**\n * @dev Safely mints `tokenId` and transfers it to `to`.\n *\n * Requirements:\n d*\n * - `tokenId` must not exist.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeMint(address to, uint256 tokenId) internal virtual {\n _safeMint(to, tokenId, \"\");\n }\n\n /**\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n */\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\n _mint(to, tokenId);\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Mints `tokenId` and transfers it to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n *\n * Requirements:\n *\n * - `tokenId` must not exist.\n * - `to` cannot be the zero address.\n *\n * Emits a {Transfer} event.\n */\n function _mint(address to, uint256 tokenId) internal virtual {\n require(to != address(0), \"ERC721: mint to the zero address\");\n require(!_exists(tokenId), \"ERC721: token already minted\");\n\n _beforeTokenTransfer(address(0), to, tokenId);\n\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(address(0), to, tokenId);\n }\n\n /**\n * @dev Destroys `tokenId`.\n * The approval is cleared when the token is burned.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n *\n * Emits a {Transfer} event.\n */\n function _burn(uint256 tokenId) internal virtual {\n address owner = ERC721.ownerOf(tokenId); // internal owner\n\n _beforeTokenTransfer(owner, address(0), tokenId);\n\n // Clear approvals\n _approve(address(0), tokenId);\n\n // Clear metadata (if any)\n if (bytes(_tokenURIs[tokenId]).length != 0) {\n delete _tokenURIs[tokenId];\n }\n\n _holderTokens[owner].remove(tokenId);\n\n _tokenOwners.remove(tokenId);\n\n emit Transfer(owner, address(0), tokenId);\n }\n\n /**\n * @dev Transfers `tokenId` from `from` to `to`.\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n *\n * Requirements:\n *\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n *\n * Emits a {Transfer} event.\n */\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\n require(to != address(0), \"ERC721: transfer to the zero address\");\n\n _beforeTokenTransfer(from, to, tokenId);\n\n // Clear approvals from the previous owner\n _approve(address(0), tokenId);\n\n _holderTokens[from].remove(tokenId);\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(from, to, tokenId);\n }\n\n /**\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\n _tokenURIs[tokenId] = _tokenURI;\n }\n\n /**\n * @dev Internal function to set the base URI for all token IDs. It is\n * automatically added as a prefix to the value returned in {tokenURI},\n * or to the token ID if {tokenURI} is empty.\n */\n function _setBaseURI(string memory baseURI_) internal virtual {\n _baseURI = baseURI_;\n }\n\n /**\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n * The call is not executed if the target address is not a contract.\n *\n * @param from address representing the previous owner of the given token ID\n * @param to target address that will receive the tokens\n * @param tokenId uint256 ID of the token to be transferred\n * @param _data bytes optional data to send along with the call\n * @return bool whether the call correctly returned the expected magic value\n */\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\n private returns (bool)\n {\n if (!to.isContract()) {\n return true;\n }\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\n IERC721Receiver(to).onERC721Received.selector,\n _msgSender(),\n from,\n tokenId,\n _data\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\n bytes4 retval = abi.decode(returndata, (bytes4));\n return (retval == _ERC721_RECEIVED);\n }\n\n /**\n * @dev Approve `to` to operate on `tokenId`\n *\n * Emits an {Approval} event.\n */\n function _approve(address to, uint256 tokenId) internal virtual {\n _tokenApprovals[tokenId] = to;\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\n }\n\n /**\n * @dev Hook that is called before any token transfer. This includes minting\n * and burning.\n *\n * Calling conditions:\n *\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n * transferred to `to`.\n * - When `from` is zero, `tokenId` will be minted for `to`.\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n *\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n */\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\n}\n", - "sourcePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "sourceMap": "11627:6790:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", + "deployedSourceMap": "11627:6790:0:-:0;;;;;;;;", + "source": "// SPDX-License-Identifier: MIT\r\n\r\n// File: @openzeppelin/contracts/utils/Context.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/*\r\n * @dev Provides information about the current execution context, including the\r\n * sender of the transaction and its data. While these are generally available\r\n * via msg.sender and msg.data, they should not be accessed in such a direct\r\n * manner, since when dealing with GSN meta-transactions the account sending and\r\n * paying for execution may not be the actual sender (as far as an application\r\n * is concerned).\r\n *\r\n * This contract is only required for intermediate, library-like contracts.\r\n */\r\nabstract contract Context {\r\n function _msgSender() internal view virtual returns (address payable) {\r\n return msg.sender;\r\n }\r\n\r\n function _msgData() internal view virtual returns (bytes memory) {\r\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\r\n return msg.data;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/IERC165.sol\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Interface of the ERC165 standard, as defined in the\r\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\r\n *\r\n * Implementers can declare support of contract interfaces, which can then be\r\n * queried by others ({ERC165Checker}).\r\n *\r\n * For an implementation, see {ERC165}.\r\n */\r\ninterface IERC165 {\r\n /**\r\n * @dev Returns true if this contract implements the interface defined by\r\n * `interfaceId`. See the corresponding\r\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\r\n * to learn more about how these ids are created.\r\n *\r\n * This function call must use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Required interface of an ERC721 compliant contract.\r\n */\r\ninterface IERC721 is IERC165 {\r\n /**\r\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\r\n */\r\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\r\n */\r\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\r\n */\r\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\r\n\r\n /**\r\n * @dev Returns the number of tokens in ``owner``'s account.\r\n */\r\n function balanceOf(address owner) external view returns (uint256 balance);\r\n\r\n /**\r\n * @dev Returns the owner of the `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function ownerOf(uint256 tokenId) external view returns (address owner);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Transfers `tokenId` token from `from` to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\r\n * The approval is cleared when the token is transferred.\r\n *\r\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\r\n *\r\n * Requirements:\r\n *\r\n * - The caller must own the token or be an approved operator.\r\n * - `tokenId` must exist.\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function approve(address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Returns the account approved for `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function getApproved(uint256 tokenId) external view returns (address operator);\r\n\r\n /**\r\n * @dev Approve or remove `operator` as an operator for the caller.\r\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\r\n *\r\n * Requirements:\r\n *\r\n * - The `operator` cannot be the caller.\r\n *\r\n * Emits an {ApprovalForAll} event.\r\n */\r\n function setApprovalForAll(address operator, bool _approved) external;\r\n\r\n /**\r\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\r\n *\r\n * See {setApprovalForAll}\r\n */\r\n function isApprovedForAll(address owner, address operator) external view returns (bool);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Metadata is IERC721 {\r\n\r\n /**\r\n * @dev Returns the token collection name.\r\n */\r\n function name() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the token collection symbol.\r\n */\r\n function symbol() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\r\n */\r\n function tokenURI(uint256 tokenId) external view returns (string memory);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\r\n\r\n\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Enumerable is IERC721 {\r\n\r\n /**\r\n * @dev Returns the total amount of tokens stored by the contract.\r\n */\r\n function totalSupply() external view returns (uint256);\r\n\r\n /**\r\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\r\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\r\n\r\n /**\r\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\r\n * Use along with {totalSupply} to enumerate all tokens.\r\n */\r\n function tokenByIndex(uint256 index) external view returns (uint256);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\r\n\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 token receiver interface\r\n * @dev Interface for any contract that wants to support safeTransfers\r\n * from ERC721 asset contracts.\r\n */\r\ninterface IERC721Receiver {\r\n /**\r\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\r\n * by `operator` from `from`, this function is called.\r\n *\r\n * It must return its Solidity selector to confirm the token transfer.\r\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\r\n *\r\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\r\n */\r\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/ERC165.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Implementation of the {IERC165} interface.\r\n *\r\n * Contracts may inherit from this and call {_registerInterface} to declare\r\n * their support of an interface.\r\n */\r\nabstract contract ERC165 is IERC165 {\r\n /*\r\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\r\n\r\n /**\r\n * @dev Mapping of interface ids to whether or not it's supported.\r\n */\r\n mapping(bytes4 => bool) private _supportedInterfaces;\r\n\r\n constructor () {\r\n // Derived contracts need only register support for their own interfaces,\r\n // we register support for ERC165 itself here\r\n _registerInterface(_INTERFACE_ID_ERC165);\r\n }\r\n\r\n /**\r\n * @dev See {IERC165-supportsInterface}.\r\n *\r\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\r\n return _supportedInterfaces[interfaceId];\r\n }\r\n\r\n /**\r\n * @dev Registers the contract as an implementer of the interface defined by\r\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\r\n * registering its interface id is not required.\r\n *\r\n * See {IERC165-supportsInterface}.\r\n *\r\n * Requirements:\r\n *\r\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\r\n */\r\n function _registerInterface(bytes4 interfaceId) internal virtual {\r\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\r\n _supportedInterfaces[interfaceId] = true;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/math/SafeMath.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\r\n * checks.\r\n *\r\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\r\n * in bugs, because programmers usually assume that an overflow raises an\r\n * error, which is the standard behavior in high level programming languages.\r\n * `SafeMath` restores this intuition by reverting the transaction when an\r\n * operation overflows.\r\n *\r\n * Using this library instead of the unchecked operations eliminates an entire\r\n * class of bugs, so it's recommended to use it always.\r\n */\r\nlibrary SafeMath {\r\n /**\r\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n uint256 c = a + b;\r\n if (c < a) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b > a) return (false, 0);\r\n return (true, a - b);\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\r\n // benefit is lost if 'b' is also tested.\r\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\r\n if (a == 0) return (true, 0);\r\n uint256 c = a * b;\r\n if (c / a != b) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a / b);\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a % b);\r\n }\r\n\r\n /**\r\n * @dev Returns the addition of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `+` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Addition cannot overflow.\r\n */\r\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\r\n uint256 c = a + b;\r\n require(c >= a, \"SafeMath: addition overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting on\r\n * overflow (when the result is negative).\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b <= a, \"SafeMath: subtraction overflow\");\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `*` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Multiplication cannot overflow.\r\n */\r\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\r\n if (a == 0) return 0;\r\n uint256 c = a * b;\r\n require(c / a == b, \"SafeMath: multiplication overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: division by zero\");\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting when dividing by zero.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: modulo by zero\");\r\n return a % b;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\r\n * overflow (when the result is negative).\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {trySub}.\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b <= a, errorMessage);\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryDiv}.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting with custom message when dividing by zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryMod}.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a % b;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Address.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n/**\r\n * @dev Collection of functions related to the address type\r\n */\r\nlibrary Address {\r\n /**\r\n * @dev Returns true if `account` is a contract.\r\n *\r\n * [IMPORTANT]\r\n * ====\r\n * It is unsafe to assume that an address for which this function returns\r\n * false is an externally-owned account (EOA) and not a contract.\r\n *\r\n * Among others, `isContract` will return false for the following\r\n * types of addresses:\r\n *\r\n * - an externally-owned account\r\n * - a contract in construction\r\n * - an address where a contract will be created\r\n * - an address where a contract lived, but was destroyed\r\n * ====\r\n */\r\n function isContract(address account) internal view returns (bool) {\r\n // This method relies on extcodesize, which returns 0 for contracts in\r\n // construction, since the code is only stored at the end of the\r\n // constructor execution.\r\n\r\n uint256 size;\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly { size := extcodesize(account) }\r\n return size > 0;\r\n }\r\n\r\n /**\r\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\r\n * `recipient`, forwarding all available gas and reverting on errors.\r\n *\r\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\r\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\r\n * imposed by `transfer`, making them unable to receive funds via\r\n * `transfer`. {sendValue} removes this limitation.\r\n *\r\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\r\n *\r\n * IMPORTANT: because control is transferred to `recipient`, care must be\r\n * taken to not create reentrancy vulnerabilities. Consider using\r\n * {ReentrancyGuard} or the\r\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\r\n */\r\n function sendValue(address payable recipient, uint256 amount) internal {\r\n require(address(this).balance >= amount, \"Address: insufficient balance\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\r\n (bool success, ) = recipient.call{ value: amount }(\"\");\r\n require(success, \"Address: unable to send value, recipient may have reverted\");\r\n }\r\n\r\n /**\r\n * @dev Performs a Solidity function call using a low level `call`. A\r\n * plain`call` is an unsafe replacement for a function call: use this\r\n * function instead.\r\n *\r\n * If `target` reverts with a revert reason, it is bubbled up by this\r\n * function (like regular Solidity function calls).\r\n *\r\n * Returns the raw returned data. To convert to the expected return value,\r\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\r\n *\r\n * Requirements:\r\n *\r\n * - `target` must be a contract.\r\n * - calling `target` with `data` must not revert.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionCall(target, data, \"Address: low-level call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\r\n * `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, 0, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but also transferring `value` wei to `target`.\r\n *\r\n * Requirements:\r\n *\r\n * - the calling contract must have an ETH balance of at least `value`.\r\n * - the called Solidity function must be `payable`.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\r\n * with `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\r\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\r\n require(isContract(target), \"Address: call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\r\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\r\n require(isContract(target), \"Address: static call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.staticcall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n require(isContract(target), \"Address: delegate call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.delegatecall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\r\n if (success) {\r\n return returndata;\r\n } else {\r\n // Look for revert reason and bubble it up if present\r\n if (returndata.length > 0) {\r\n // The easiest way to bubble the revert reason is using memory via assembly\r\n\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n let returndata_size := mload(returndata)\r\n revert(add(32, returndata), returndata_size)\r\n }\r\n } else {\r\n revert(errorMessage);\r\n }\r\n }\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing\r\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\r\n * types.\r\n *\r\n * Sets have the following properties:\r\n *\r\n * - Elements are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableSet for EnumerableSet.AddressSet;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableSet.AddressSet private mySet;\r\n * }\r\n * ```\r\n *\r\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\r\n * and `uint256` (`UintSet`) are supported.\r\n */\r\nlibrary EnumerableSet {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Set type with\r\n // bytes32 values.\r\n // The Set implementation uses private functions, and user-facing\r\n // implementations (such as AddressSet) are just wrappers around the\r\n // underlying Set.\r\n // This means that we can only create new EnumerableSets for types that fit\r\n // in bytes32.\r\n\r\n struct Set {\r\n // Storage of set values\r\n bytes32[] _values;\r\n\r\n // Position of the value in the `values` array, plus 1 because index 0\r\n // means a value is not in the set.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function _add(Set storage set, bytes32 value) private returns (bool) {\r\n if (!_contains(set, value)) {\r\n set._values.push(value);\r\n // The value is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n set._indexes[value] = set._values.length;\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function _remove(Set storage set, bytes32 value) private returns (bool) {\r\n // We read and store the value's index to prevent multiple reads from the same storage slot\r\n uint256 valueIndex = set._indexes[value];\r\n\r\n if (valueIndex != 0) { // Equivalent to contains(set, value)\r\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\r\n // the array, and then remove the last element (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = valueIndex - 1;\r\n uint256 lastIndex = set._values.length - 1;\r\n\r\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n bytes32 lastvalue = set._values[lastIndex];\r\n\r\n // Move the last value to the index where the value to delete is\r\n set._values[toDeleteIndex] = lastvalue;\r\n // Update the index for the moved value\r\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved value was stored\r\n set._values.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete set._indexes[value];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\r\n return set._indexes[value] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function _length(Set storage set) private view returns (uint256) {\r\n return set._values.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\r\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\r\n return set._values[index];\r\n }\r\n\r\n // Bytes32Set\r\n\r\n struct Bytes32Set {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _add(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _remove(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\r\n return _contains(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(Bytes32Set storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\r\n return _at(set._inner, index);\r\n }\r\n\r\n // AddressSet\r\n\r\n struct AddressSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(AddressSet storage set, address value) internal returns (bool) {\r\n return _add(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(AddressSet storage set, address value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(AddressSet storage set, address value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(AddressSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\r\n return address(uint160(uint256(_at(set._inner, index))));\r\n }\r\n\r\n\r\n // UintSet\r\n\r\n struct UintSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _add(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function length(UintSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\r\n return uint256(_at(set._inner, index));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing an enumerable variant of Solidity's\r\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\r\n * type.\r\n *\r\n * Maps have the following properties:\r\n *\r\n * - Entries are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableMap.UintToAddressMap private myMap;\r\n * }\r\n * ```\r\n *\r\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\r\n * supported.\r\n */\r\nlibrary EnumerableMap {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Map type with\r\n // bytes32 keys and values.\r\n // The Map implementation uses private functions, and user-facing\r\n // implementations (such as Uint256ToAddressMap) are just wrappers around\r\n // the underlying Map.\r\n // This means that we can only create new EnumerableMaps for types that fit\r\n // in bytes32.\r\n\r\n struct MapEntry {\r\n bytes32 _key;\r\n bytes32 _value;\r\n }\r\n\r\n struct Map {\r\n // Storage of map keys and values\r\n MapEntry[] _entries;\r\n\r\n // Position of the entry defined by a key in the `entries` array, plus 1\r\n // because index 0 means a key is not in the map.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\r\n map._entries.push(MapEntry({ _key: key, _value: value }));\r\n // The entry is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n map._indexes[key] = map._entries.length;\r\n return true;\r\n } else {\r\n map._entries[keyIndex - 1]._value = value;\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a key-value pair from a map. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function _remove(Map storage map, bytes32 key) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex != 0) { // Equivalent to contains(map, key)\r\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\r\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = keyIndex - 1;\r\n uint256 lastIndex = map._entries.length - 1;\r\n\r\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n MapEntry storage lastEntry = map._entries[lastIndex];\r\n\r\n // Move the last entry to the index where the entry to delete is\r\n map._entries[toDeleteIndex] = lastEntry;\r\n // Update the index for the moved entry\r\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved entry was stored\r\n map._entries.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete map._indexes[key];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\r\n return map._indexes[key] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of key-value pairs in the map. O(1).\r\n */\r\n function _length(Map storage map) private view returns (uint256) {\r\n return map._entries.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of entries inside the\r\n * array, and it may change when more entries are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\r\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\r\n\r\n MapEntry storage entry = map._entries[index];\r\n return (entry._key, entry._value);\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n */\r\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\r\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {_tryGet}.\r\n */\r\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n // UintToAddressMap\r\n\r\n struct UintToAddressMap {\r\n Map _inner;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\r\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\r\n return _remove(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\r\n return _contains(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of elements in the map. O(1).\r\n */\r\n function length(UintToAddressMap storage map) internal view returns (uint256) {\r\n return _length(map._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the element stored at position `index` in the set. O(1).\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\r\n (bytes32 key, bytes32 value) = _at(map._inner, index);\r\n return (uint256(key), address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\r\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\r\n return (success, address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\r\n }\r\n\r\n /**\r\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryGet}.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Strings.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev String operations.\r\n */\r\nlibrary Strings {\r\n /**\r\n * @dev Converts a `uint256` to its ASCII `string` representation.\r\n */\r\n function toString(uint256 value) internal pure returns (string memory) {\r\n // Inspired by OraclizeAPI's implementation - MIT licence\r\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\r\n\r\n if (value == 0) {\r\n return \"0\";\r\n }\r\n uint256 temp = value;\r\n uint256 digits;\r\n while (temp != 0) {\r\n digits++;\r\n temp /= 10;\r\n }\r\n bytes memory buffer = new bytes(digits);\r\n uint256 index = digits - 1;\r\n temp = value;\r\n while (temp != 0) {\r\n buffer[index--] = bytes1(uint8(48 + temp % 10));\r\n temp /= 10;\r\n }\r\n return string(buffer);\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 Non-Fungible Token Standard basic implementation\r\n * @dev see https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\r\n using SafeMath for uint256;\r\n using Address for address;\r\n using EnumerableSet for EnumerableSet.UintSet;\r\n using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n using Strings for uint256;\r\n\r\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\r\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\r\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\r\n\r\n // Mapping from holder address to their (enumerable) set of owned tokens\r\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\r\n\r\n // Enumerable mapping from token ids to their owners\r\n EnumerableMap.UintToAddressMap private _tokenOwners;\r\n\r\n // Mapping from token ID to approved address\r\n mapping (uint256 => address) private _tokenApprovals;\r\n\r\n // Mapping from owner to operator approvals\r\n mapping (address => mapping (address => bool)) private _operatorApprovals;\r\n\r\n // Token name\r\n string private _name;\r\n\r\n // Token symbol\r\n string private _symbol;\r\n\r\n // Optional mapping for token URIs\r\n mapping (uint256 => string) private _tokenURIs;\r\n\r\n // Base URI\r\n string private _baseURI;\r\n\r\n /*\r\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\r\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\r\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\r\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\r\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\r\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\r\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\r\n *\r\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\r\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\r\n\r\n /*\r\n * bytes4(keccak256('name()')) == 0x06fdde03\r\n * bytes4(keccak256('symbol()')) == 0x95d89b41\r\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\r\n *\r\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\r\n\r\n /*\r\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\r\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\r\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\r\n *\r\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\r\n\r\n /**\r\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\r\n */\r\n constructor (string memory name_, string memory symbol_) {\r\n _name = name_;\r\n _symbol = symbol_;\r\n\r\n // register the supported interfaces to conform to ERC721 via ERC165\r\n _registerInterface(_INTERFACE_ID_ERC721);\r\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\r\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-balanceOf}.\r\n */\r\n function balanceOf(address owner) public view virtual override returns (uint256) {\r\n require(owner != address(0), \"ERC721: balance query for the zero address\");\r\n return _holderTokens[owner].length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-ownerOf}.\r\n */\r\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\r\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-name}.\r\n */\r\n function name() public view virtual override returns (string memory) {\r\n return _name;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-symbol}.\r\n */\r\n function symbol() public view virtual override returns (string memory) {\r\n return _symbol;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-tokenURI}.\r\n */\r\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\r\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\r\n\r\n string memory _tokenURI = _tokenURIs[tokenId];\r\n string memory base = baseURI();\r\n\r\n // If there is no base URI, return the token URI.\r\n if (bytes(base).length == 0) {\r\n return _tokenURI;\r\n }\r\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\r\n if (bytes(_tokenURI).length > 0) {\r\n return string(abi.encodePacked(base, _tokenURI));\r\n }\r\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\r\n return string(abi.encodePacked(base, tokenId.toString()));\r\n }\r\n\r\n /**\r\n * @dev Returns the base URI set via {_setBaseURI}. This will be\r\n * automatically added as a prefix in {tokenURI} to each token's URI, or\r\n * to the token ID if no specific URI is set for that token ID.\r\n */\r\n function baseURI() public view virtual returns (string memory) {\r\n return _baseURI;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\r\n return _holderTokens[owner].at(index);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-totalSupply}.\r\n */\r\n function totalSupply() public view virtual override returns (uint256) {\r\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\r\n return _tokenOwners.length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenByIndex}.\r\n */\r\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\r\n (uint256 tokenId, ) = _tokenOwners.at(index);\r\n return tokenId;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-approve}.\r\n */\r\n function approve(address to, uint256 tokenId) public virtual override {\r\n address owner = ERC721.ownerOf(tokenId);\r\n require(to != owner, \"ERC721: approval to current owner\");\r\n\r\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\r\n \"ERC721: approve caller is not owner nor approved for all\"\r\n );\r\n\r\n _approve(to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-getApproved}.\r\n */\r\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\r\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\r\n\r\n return _tokenApprovals[tokenId];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-setApprovalForAll}.\r\n */\r\n function setApprovalForAll(address operator, bool approved) public virtual override {\r\n require(operator != _msgSender(), \"ERC721: approve to caller\");\r\n\r\n _operatorApprovals[_msgSender()][operator] = approved;\r\n emit ApprovalForAll(_msgSender(), operator, approved);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-isApprovedForAll}.\r\n */\r\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\r\n return _operatorApprovals[owner][operator];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-transferFrom}.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n //solhint-disable-next-line max-line-length\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n\r\n _transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n safeTransferFrom(from, to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n _safeTransfer(from, to, tokenId, _data);\r\n }\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\r\n *\r\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\r\n * implement alternative mechanisms to perform token transfer, such as signature-based.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _transfer(from, to, tokenId);\r\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Returns whether `tokenId` exists.\r\n *\r\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\r\n *\r\n * Tokens start existing when they are minted (`_mint`),\r\n * and stop existing when they are burned (`_burn`).\r\n */\r\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\r\n return _tokenOwners.contains(tokenId);\r\n }\r\n\r\n /**\r\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\r\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\r\n address owner = ERC721.ownerOf(tokenId);\r\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\r\n }\r\n\r\n /**\r\n * @dev Safely mints `tokenId` and transfers it to `to`.\r\n *\r\n * Requirements:\r\n d*\r\n * - `tokenId` must not exist.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeMint(address to, uint256 tokenId) internal virtual {\r\n _safeMint(to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\r\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\r\n */\r\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _mint(to, tokenId);\r\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Mints `tokenId` and transfers it to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must not exist.\r\n * - `to` cannot be the zero address.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _mint(address to, uint256 tokenId) internal virtual {\r\n require(to != address(0), \"ERC721: mint to the zero address\");\r\n require(!_exists(tokenId), \"ERC721: token already minted\");\r\n\r\n _beforeTokenTransfer(address(0), to, tokenId);\r\n\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(address(0), to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Destroys `tokenId`.\r\n * The approval is cleared when the token is burned.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _burn(uint256 tokenId) internal virtual {\r\n address owner = ERC721.ownerOf(tokenId); // internal owner\r\n\r\n _beforeTokenTransfer(owner, address(0), tokenId);\r\n\r\n // Clear approvals\r\n _approve(address(0), tokenId);\r\n\r\n // Clear metadata (if any)\r\n if (bytes(_tokenURIs[tokenId]).length != 0) {\r\n delete _tokenURIs[tokenId];\r\n }\r\n\r\n _holderTokens[owner].remove(tokenId);\r\n\r\n _tokenOwners.remove(tokenId);\r\n\r\n emit Transfer(owner, address(0), tokenId);\r\n }\r\n\r\n /**\r\n * @dev Transfers `tokenId` from `from` to `to`.\r\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\r\n *\r\n * Requirements:\r\n *\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\r\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\r\n require(to != address(0), \"ERC721: transfer to the zero address\");\r\n\r\n _beforeTokenTransfer(from, to, tokenId);\r\n\r\n // Clear approvals from the previous owner\r\n _approve(address(0), tokenId);\r\n\r\n _holderTokens[from].remove(tokenId);\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\r\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\r\n _tokenURIs[tokenId] = _tokenURI;\r\n }\r\n\r\n /**\r\n * @dev Internal function to set the base URI for all token IDs. It is\r\n * automatically added as a prefix to the value returned in {tokenURI},\r\n * or to the token ID if {tokenURI} is empty.\r\n */\r\n function _setBaseURI(string memory baseURI_) internal virtual {\r\n _baseURI = baseURI_;\r\n }\r\n\r\n /**\r\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\r\n * The call is not executed if the target address is not a contract.\r\n *\r\n * @param from address representing the previous owner of the given token ID\r\n * @param to target address that will receive the tokens\r\n * @param tokenId uint256 ID of the token to be transferred\r\n * @param _data bytes optional data to send along with the call\r\n * @return bool whether the call correctly returned the expected magic value\r\n */\r\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\r\n private returns (bool)\r\n {\r\n if (!to.isContract()) {\r\n return true;\r\n }\r\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\r\n IERC721Receiver(to).onERC721Received.selector,\r\n _msgSender(),\r\n from,\r\n tokenId,\r\n _data\r\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n bytes4 retval = abi.decode(returndata, (bytes4));\r\n return (retval == _ERC721_RECEIVED);\r\n }\r\n\r\n /**\r\n * @dev Approve `to` to operate on `tokenId`\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function _approve(address to, uint256 tokenId) internal virtual {\r\n _tokenApprovals[tokenId] = to;\r\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\r\n }\r\n\r\n /**\r\n * @dev Hook that is called before any token transfer. This includes minting\r\n * and burning.\r\n *\r\n * Calling conditions:\r\n *\r\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\r\n * transferred to `to`.\r\n * - When `from` is zero, `tokenId` will be minted for `to`.\r\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n *\r\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\r\n */\r\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\r\n}\r\n", + "sourcePath": "C:\\Users\\Noahm\\cryptoboys-nft-marketplace\\src\\contracts\\ERC721.sol", "ast": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, - "id": 3499, + "id": 2991, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 509, + "id": 1, "literals": [ "solidity", ">=", @@ -70,7 +70,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "abstract": true, @@ -78,77 +78,77 @@ "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, - "id": 530, + "id": 22, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 517, + "id": 9, "nodeType": "Block", - "src": "719:34:1", + "src": "735:36:0", "statements": [ { "expression": { "expression": { - "id": 514, + "id": 6, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "736:3:1", + "src": "753:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 515, + "id": 7, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "736:10:1", + "src": "753:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 513, - "id": 516, + "functionReturnParameters": 5, + "id": 8, "nodeType": "Return", - "src": "729:17:1" + "src": "746:17:0" } ] }, - "id": 518, + "id": 10, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgSender", "nodeType": "FunctionDefinition", "parameters": { - "id": 510, + "id": 2, "nodeType": "ParameterList", "parameters": [], - "src": "668:2:1" + "src": "684:2:0" }, "returnParameters": { - "id": 513, + "id": 5, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 512, + "id": 4, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 518, - "src": "702:15:1", + "scope": 10, + "src": "718:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -156,10 +156,10 @@ "typeString": "address payable" }, "typeName": { - "id": 511, + "id": 3, "name": "address", "nodeType": "ElementaryTypeName", - "src": "702:15:1", + "src": "718:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -169,95 +169,95 @@ "visibility": "internal" } ], - "src": "701:17:1" + "src": "717:17:0" }, - "scope": 530, - "src": "649:104:1", + "scope": 22, + "src": "665:106:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 528, + "id": 20, "nodeType": "Block", - "src": "824:165:1", + "src": "844:168:0", "statements": [ { "expression": { - "id": 523, + "id": 15, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "834:4:1", + "src": "855:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 524, + "id": 16, "nodeType": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "expression": { "expression": { - "id": 525, + "id": 17, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "974:3:1", + "src": "996:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 526, + "id": 18, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "data", "nodeType": "MemberAccess", - "src": "974:8:1", + "src": "996:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" } }, - "functionReturnParameters": 522, - "id": 527, + "functionReturnParameters": 14, + "id": 19, "nodeType": "Return", - "src": "967:15:1" + "src": "989:15:0" } ] }, - "id": 529, + "id": 21, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgData", "nodeType": "FunctionDefinition", "parameters": { - "id": 519, + "id": 11, "nodeType": "ParameterList", "parameters": [], - "src": "776:2:1" + "src": "796:2:0" }, "returnParameters": { - "id": 522, + "id": 14, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 521, + "id": 13, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 529, - "src": "810:12:1", + "scope": 21, + "src": "830:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -265,10 +265,10 @@ "typeString": "bytes" }, "typeName": { - "id": 520, + "id": 12, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "810:5:1", + "src": "830:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -277,20 +277,20 @@ "visibility": "internal" } ], - "src": "809:14:1" + "src": "829:14:0" }, - "scope": 530, - "src": "759:230:1", + "scope": 22, + "src": "779:233:0", "stateMutability": "view", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "617:374:1" + "scope": 2991, + "src": "632:383:0" }, { - "id": 531, + "id": 23, "literals": [ "solidity", ">=", @@ -301,7 +301,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "abstract": false, @@ -309,45 +309,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 532, + "id": 24, "nodeType": "StructuredDocumentation", - "src": "1086:279:1", + "src": "1116:287:0", "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, "fullyImplemented": false, - "id": 541, + "id": 33, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 533, + "id": 25, "nodeType": "StructuredDocumentation", - "src": "1390:340:1", + "src": "1430:347:0", "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 540, + "id": 32, "implemented": false, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 536, + "id": 28, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 535, + "id": 27, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1762:18:1", + "scope": 32, + "src": "1810:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -355,10 +355,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 534, + "id": 26, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "1762:6:1", + "src": "1810:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -367,20 +367,20 @@ "visibility": "internal" } ], - "src": "1761:20:1" + "src": "1809:20:0" }, "returnParameters": { - "id": 539, + "id": 31, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 538, + "id": 30, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1805:4:1", + "scope": 32, + "src": "1853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -388,10 +388,10 @@ "typeString": "bool" }, "typeName": { - "id": 537, + "id": 29, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1805:4:1", + "src": "1853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -400,20 +400,20 @@ "visibility": "internal" } ], - "src": "1804:6:1" + "src": "1852:6:0" }, - "scope": 541, - "src": "1735:76:1", + "scope": 33, + "src": "1783:76:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1366:447:1" + "scope": 2991, + "src": "1405:457:0" }, { - "id": 542, + "id": 34, "literals": [ "solidity", ">=", @@ -424,43 +424,43 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 544, + "id": 36, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "1996:7:1", + "referencedDeclaration": 33, + "src": "2054:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 545, + "id": 37, "nodeType": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "documentation": { - "id": 543, + "id": 35, "nodeType": "StructuredDocumentation", - "src": "1907:67:1", + "src": "1962:69:0", "text": " @dev Required interface of an ERC721 compliant contract." }, "fullyImplemented": false, - "id": 655, + "id": 147, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", "nodeType": "ContractDefinition", @@ -468,27 +468,27 @@ { "anonymous": false, "documentation": { - "id": 546, + "id": 38, "nodeType": "StructuredDocumentation", - "src": "2010:88:1", + "src": "2069:90:0", "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 554, + "id": 46, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { - "id": 553, + "id": 45, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 548, + "id": 40, "indexed": true, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2118:20:1", + "scope": 46, + "src": "2180:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -496,10 +496,10 @@ "typeString": "address" }, "typeName": { - "id": 547, + "id": 39, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2118:7:1", + "src": "2180:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -510,13 +510,13 @@ }, { "constant": false, - "id": 550, + "id": 42, "indexed": true, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2140:18:1", + "scope": 46, + "src": "2202:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -524,10 +524,10 @@ "typeString": "address" }, "typeName": { - "id": 549, + "id": 41, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2140:7:1", + "src": "2202:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -538,13 +538,13 @@ }, { "constant": false, - "id": 552, + "id": 44, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2160:23:1", + "scope": 46, + "src": "2222:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -552,10 +552,10 @@ "typeString": "uint256" }, "typeName": { - "id": 551, + "id": 43, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2160:7:1", + "src": "2222:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -564,34 +564,34 @@ "visibility": "internal" } ], - "src": "2117:67:1" + "src": "2179:67:0" }, - "src": "2103:82:1" + "src": "2165:82:0" }, { "anonymous": false, "documentation": { - "id": 555, + "id": 47, "nodeType": "StructuredDocumentation", - "src": "2191:94:1", + "src": "2255:96:0", "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 563, + "id": 55, "name": "Approval", "nodeType": "EventDefinition", "parameters": { - "id": 562, + "id": 54, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 557, + "id": 49, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2305:21:1", + "scope": 55, + "src": "2372:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -599,10 +599,10 @@ "typeString": "address" }, "typeName": { - "id": 556, + "id": 48, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2305:7:1", + "src": "2372:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -613,13 +613,13 @@ }, { "constant": false, - "id": 559, + "id": 51, "indexed": true, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2328:24:1", + "scope": 55, + "src": "2395:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -627,10 +627,10 @@ "typeString": "address" }, "typeName": { - "id": 558, + "id": 50, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2328:7:1", + "src": "2395:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -641,13 +641,13 @@ }, { "constant": false, - "id": 561, + "id": 53, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2354:23:1", + "scope": 55, + "src": "2421:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -655,10 +655,10 @@ "typeString": "uint256" }, "typeName": { - "id": 560, + "id": 52, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2354:7:1", + "src": "2421:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -667,34 +667,34 @@ "visibility": "internal" } ], - "src": "2304:74:1" + "src": "2371:74:0" }, - "src": "2290:89:1" + "src": "2357:89:0" }, { "anonymous": false, "documentation": { - "id": 564, + "id": 56, "nodeType": "StructuredDocumentation", - "src": "2385:117:1", + "src": "2454:119:0", "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 572, + "id": 64, "name": "ApprovalForAll", "nodeType": "EventDefinition", "parameters": { - "id": 571, + "id": 63, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 566, + "id": 58, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2528:21:1", + "scope": 64, + "src": "2600:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -702,10 +702,10 @@ "typeString": "address" }, "typeName": { - "id": 565, + "id": 57, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2528:7:1", + "src": "2600:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -716,13 +716,13 @@ }, { "constant": false, - "id": 568, + "id": 60, "indexed": true, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2551:24:1", + "scope": 64, + "src": "2623:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -730,10 +730,10 @@ "typeString": "address" }, "typeName": { - "id": 567, + "id": 59, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2551:7:1", + "src": "2623:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -744,13 +744,13 @@ }, { "constant": false, - "id": 570, + "id": 62, "indexed": false, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2577:13:1", + "scope": 64, + "src": "2649:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -758,10 +758,10 @@ "typeString": "bool" }, "typeName": { - "id": 569, + "id": 61, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2577:4:1", + "src": "2649:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -770,36 +770,36 @@ "visibility": "internal" } ], - "src": "2527:64:1" + "src": "2599:64:0" }, - "src": "2507:85:1" + "src": "2579:85:0" }, { "documentation": { - "id": 573, + "id": 65, "nodeType": "StructuredDocumentation", - "src": "2598:76:1", + "src": "2672:78:0", "text": " @dev Returns the number of tokens in ``owner``'s account." }, "functionSelector": "70a08231", - "id": 580, + "id": 72, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 576, + "id": 68, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 575, + "id": 67, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2698:13:1", + "scope": 72, + "src": "2775:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -807,10 +807,10 @@ "typeString": "address" }, "typeName": { - "id": 574, + "id": 66, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2698:7:1", + "src": "2775:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -820,20 +820,20 @@ "visibility": "internal" } ], - "src": "2697:15:1" + "src": "2774:15:0" }, "returnParameters": { - "id": 579, + "id": 71, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 578, + "id": 70, "mutability": "mutable", "name": "balance", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2736:15:1", + "scope": 72, + "src": "2813:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -841,10 +841,10 @@ "typeString": "uint256" }, "typeName": { - "id": 577, + "id": 69, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2736:7:1", + "src": "2813:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -853,40 +853,40 @@ "visibility": "internal" } ], - "src": "2735:17:1" + "src": "2812:17:0" }, - "scope": 655, - "src": "2679:74:1", + "scope": 147, + "src": "2756:74:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 581, + "id": 73, "nodeType": "StructuredDocumentation", - "src": "2759:131:1", + "src": "2838:137:0", "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "6352211e", - "id": 588, + "id": 80, "implemented": false, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 584, + "id": 76, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 583, + "id": 75, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2912:15:1", + "scope": 80, + "src": "2998:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -894,10 +894,10 @@ "typeString": "uint256" }, "typeName": { - "id": 582, + "id": 74, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2912:7:1", + "src": "2998:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -906,20 +906,20 @@ "visibility": "internal" } ], - "src": "2911:17:1" + "src": "2997:17:0" }, "returnParameters": { - "id": 587, + "id": 79, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 586, + "id": 78, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2952:13:1", + "scope": 80, + "src": "3038:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -927,10 +927,10 @@ "typeString": "address" }, "typeName": { - "id": 585, + "id": 77, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2952:7:1", + "src": "3038:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -940,40 +940,40 @@ "visibility": "internal" } ], - "src": "2951:15:1" + "src": "3037:15:0" }, - "scope": 655, - "src": "2895:72:1", + "scope": 147, + "src": "2981:72:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 589, + "id": 81, "nodeType": "StructuredDocumentation", - "src": "2973:690:1", + "src": "3061:703:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "42842e0e", - "id": 598, + "id": 90, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 596, + "id": 88, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 591, + "id": 83, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3694:12:1", + "scope": 90, + "src": "3796:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -981,10 +981,10 @@ "typeString": "address" }, "typeName": { - "id": 590, + "id": 82, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3694:7:1", + "src": "3796:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -995,12 +995,12 @@ }, { "constant": false, - "id": 593, + "id": 85, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3708:10:1", + "scope": 90, + "src": "3810:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1008,10 +1008,10 @@ "typeString": "address" }, "typeName": { - "id": 592, + "id": 84, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3708:7:1", + "src": "3810:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1022,12 +1022,12 @@ }, { "constant": false, - "id": 595, + "id": 87, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3720:15:1", + "scope": 90, + "src": "3822:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1035,10 +1035,10 @@ "typeString": "uint256" }, "typeName": { - "id": 594, + "id": 86, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3720:7:1", + "src": "3822:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1047,46 +1047,46 @@ "visibility": "internal" } ], - "src": "3693:43:1" + "src": "3795:43:0" }, "returnParameters": { - "id": 597, + "id": 89, "nodeType": "ParameterList", "parameters": [], - "src": "3745:0:1" + "src": "3847:0:0" }, - "scope": 655, - "src": "3668:78:1", + "scope": 147, + "src": "3770:78:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 599, + "id": 91, "nodeType": "StructuredDocumentation", - "src": "3752:504:1", + "src": "3856:517:0", "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, "functionSelector": "23b872dd", - "id": 608, + "id": 100, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 606, + "id": 98, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 601, + "id": 93, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4283:12:1", + "scope": 100, + "src": "4401:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1094,10 +1094,10 @@ "typeString": "address" }, "typeName": { - "id": 600, + "id": 92, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4283:7:1", + "src": "4401:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1108,12 +1108,12 @@ }, { "constant": false, - "id": 603, + "id": 95, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4297:10:1", + "scope": 100, + "src": "4415:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1121,10 +1121,10 @@ "typeString": "address" }, "typeName": { - "id": 602, + "id": 94, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4297:7:1", + "src": "4415:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1135,12 +1135,12 @@ }, { "constant": false, - "id": 605, + "id": 97, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4309:15:1", + "scope": 100, + "src": "4427:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1148,10 +1148,10 @@ "typeString": "uint256" }, "typeName": { - "id": 604, + "id": 96, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4309:7:1", + "src": "4427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1160,46 +1160,46 @@ "visibility": "internal" } ], - "src": "4282:43:1" + "src": "4400:43:0" }, "returnParameters": { - "id": 607, + "id": 99, "nodeType": "ParameterList", "parameters": [], - "src": "4334:0:1" + "src": "4452:0:0" }, - "scope": 655, - "src": "4261:74:1", + "scope": 147, + "src": "4379:74:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 609, + "id": 101, "nodeType": "StructuredDocumentation", - "src": "4341:452:1", + "src": "4461:464:0", "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, "functionSelector": "095ea7b3", - "id": 616, + "id": 108, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 614, + "id": 106, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 611, + "id": 103, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4815:10:1", + "scope": 108, + "src": "4948:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1207,10 +1207,10 @@ "typeString": "address" }, "typeName": { - "id": 610, + "id": 102, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4815:7:1", + "src": "4948:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1221,12 +1221,12 @@ }, { "constant": false, - "id": 613, + "id": 105, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4827:15:1", + "scope": 108, + "src": "4960:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1234,10 +1234,10 @@ "typeString": "uint256" }, "typeName": { - "id": 612, + "id": 104, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4827:7:1", + "src": "4960:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1246,46 +1246,46 @@ "visibility": "internal" } ], - "src": "4814:29:1" + "src": "4947:29:0" }, "returnParameters": { - "id": 615, + "id": 107, "nodeType": "ParameterList", "parameters": [], - "src": "4852:0:1" + "src": "4985:0:0" }, - "scope": 655, - "src": "4798:55:1", + "scope": 147, + "src": "4931:55:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 617, + "id": 109, "nodeType": "StructuredDocumentation", - "src": "4859:139:1", + "src": "4994:145:0", "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "081812fc", - "id": 624, + "id": 116, "implemented": false, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "parameters": { - "id": 620, + "id": 112, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 619, + "id": 111, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5024:15:1", + "scope": 116, + "src": "5166:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1293,10 +1293,10 @@ "typeString": "uint256" }, "typeName": { - "id": 618, + "id": 110, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5024:7:1", + "src": "5166:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1305,20 +1305,20 @@ "visibility": "internal" } ], - "src": "5023:17:1" + "src": "5165:17:0" }, "returnParameters": { - "id": 623, + "id": 115, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 622, + "id": 114, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5064:16:1", + "scope": 116, + "src": "5206:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1326,10 +1326,10 @@ "typeString": "address" }, "typeName": { - "id": 621, + "id": 113, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5064:7:1", + "src": "5206:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1339,40 +1339,40 @@ "visibility": "internal" } ], - "src": "5063:18:1" + "src": "5205:18:0" }, - "scope": 655, - "src": "5003:79:1", + "scope": 147, + "src": "5145:79:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 625, + "id": 117, "nodeType": "StructuredDocumentation", - "src": "5088:309:1", + "src": "5232:318:0", "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, "functionSelector": "a22cb465", - "id": 632, + "id": 124, "implemented": false, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 630, + "id": 122, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 627, + "id": 119, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5429:16:1", + "scope": 124, + "src": "5583:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1380,10 +1380,10 @@ "typeString": "address" }, "typeName": { - "id": 626, + "id": 118, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5429:7:1", + "src": "5583:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1394,12 +1394,12 @@ }, { "constant": false, - "id": 629, + "id": 121, "mutability": "mutable", "name": "_approved", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5447:14:1", + "scope": 124, + "src": "5601:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1407,10 +1407,10 @@ "typeString": "bool" }, "typeName": { - "id": 628, + "id": 120, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5447:4:1", + "src": "5601:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1419,46 +1419,46 @@ "visibility": "internal" } ], - "src": "5428:34:1" + "src": "5582:34:0" }, "returnParameters": { - "id": 631, + "id": 123, "nodeType": "ParameterList", "parameters": [], - "src": "5471:0:1" + "src": "5625:0:0" }, - "scope": 655, - "src": "5402:70:1", + "scope": 147, + "src": "5556:70:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 633, + "id": 125, "nodeType": "StructuredDocumentation", - "src": "5478:138:1", + "src": "5634:142:0", "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, "functionSelector": "e985e9c5", - "id": 642, + "id": 134, "implemented": false, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 638, + "id": 130, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 635, + "id": 127, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5647:13:1", + "scope": 134, + "src": "5808:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1466,10 +1466,10 @@ "typeString": "address" }, "typeName": { - "id": 634, + "id": 126, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5647:7:1", + "src": "5808:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1480,12 +1480,12 @@ }, { "constant": false, - "id": 637, + "id": 129, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5662:16:1", + "scope": 134, + "src": "5823:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1493,10 +1493,10 @@ "typeString": "address" }, "typeName": { - "id": 636, + "id": 128, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5662:7:1", + "src": "5823:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1506,20 +1506,20 @@ "visibility": "internal" } ], - "src": "5646:33:1" + "src": "5807:33:0" }, "returnParameters": { - "id": 641, + "id": 133, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 640, + "id": 132, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5703:4:1", + "scope": 134, + "src": "5864:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1527,10 +1527,10 @@ "typeString": "bool" }, "typeName": { - "id": 639, + "id": 131, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5703:4:1", + "src": "5864:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1539,40 +1539,40 @@ "visibility": "internal" } ], - "src": "5702:6:1" + "src": "5863:6:0" }, - "scope": 655, - "src": "5621:88:1", + "scope": 147, + "src": "5782:88:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 643, + "id": 135, "nodeType": "StructuredDocumentation", - "src": "5715:568:1", + "src": "5878:580:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "b88d4fde", - "id": 654, + "id": 146, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 652, + "id": 144, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 645, + "id": 137, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6314:12:1", + "scope": 146, + "src": "6490:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1580,10 +1580,10 @@ "typeString": "address" }, "typeName": { - "id": 644, + "id": 136, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6314:7:1", + "src": "6490:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1594,12 +1594,12 @@ }, { "constant": false, - "id": 647, + "id": 139, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6328:10:1", + "scope": 146, + "src": "6504:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1607,10 +1607,10 @@ "typeString": "address" }, "typeName": { - "id": 646, + "id": 138, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6328:7:1", + "src": "6504:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1621,12 +1621,12 @@ }, { "constant": false, - "id": 649, + "id": 141, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6340:15:1", + "scope": 146, + "src": "6516:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1634,10 +1634,10 @@ "typeString": "uint256" }, "typeName": { - "id": 648, + "id": 140, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6340:7:1", + "src": "6516:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1647,12 +1647,12 @@ }, { "constant": false, - "id": 651, + "id": 143, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6357:19:1", + "scope": 146, + "src": "6533:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -1660,10 +1660,10 @@ "typeString": "bytes" }, "typeName": { - "id": 650, + "id": 142, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6357:5:1", + "src": "6533:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -1672,26 +1672,26 @@ "visibility": "internal" } ], - "src": "6313:64:1" + "src": "6489:64:0" }, "returnParameters": { - "id": 653, + "id": 145, "nodeType": "ParameterList", "parameters": [], - "src": "6386:0:1" + "src": "6562:0:0" }, - "scope": 655, - "src": "6288:99:1", + "scope": 147, + "src": "6464:99:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1975:4414:1" + "scope": 2991, + "src": "2033:4533:0" }, { - "id": 656, + "id": 148, "literals": [ "solidity", ">=", @@ -1702,81 +1702,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 658, + "id": 150, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "6654:7:1", + "referencedDeclaration": 147, + "src": "6841:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 659, + "id": 151, "nodeType": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 657, + "id": 149, "nodeType": "StructuredDocumentation", - "src": "6491:133:1", + "src": "6674:136:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 680, + "id": 172, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 660, + "id": 152, "nodeType": "StructuredDocumentation", - "src": "6669:58:1", + "src": "6858:60:0", "text": " @dev Returns the token collection name." }, "functionSelector": "06fdde03", - "id": 665, + "id": 157, "implemented": false, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "parameters": { - "id": 661, + "id": 153, "nodeType": "ParameterList", "parameters": [], - "src": "6745:2:1" + "src": "6937:2:0" }, "returnParameters": { - "id": 664, + "id": 156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 663, + "id": 155, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 665, - "src": "6771:13:1", + "scope": 157, + "src": "6963:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1784,10 +1784,10 @@ "typeString": "string" }, "typeName": { - "id": 662, + "id": 154, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6771:6:1", + "src": "6963:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1796,46 +1796,46 @@ "visibility": "internal" } ], - "src": "6770:15:1" + "src": "6962:15:0" }, - "scope": 680, - "src": "6732:54:1", + "scope": 172, + "src": "6924:54:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 666, + "id": 158, "nodeType": "StructuredDocumentation", - "src": "6792:60:1", + "src": "6986:62:0", "text": " @dev Returns the token collection symbol." }, "functionSelector": "95d89b41", - "id": 671, + "id": 163, "implemented": false, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "parameters": { - "id": 667, + "id": 159, "nodeType": "ParameterList", "parameters": [], - "src": "6872:2:1" + "src": "7069:2:0" }, "returnParameters": { - "id": 670, + "id": 162, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 669, + "id": 161, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 671, - "src": "6898:13:1", + "scope": 163, + "src": "7095:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1843,10 +1843,10 @@ "typeString": "string" }, "typeName": { - "id": 668, + "id": 160, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6898:6:1", + "src": "7095:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1855,40 +1855,40 @@ "visibility": "internal" } ], - "src": "6897:15:1" + "src": "7094:15:0" }, - "scope": 680, - "src": "6857:56:1", + "scope": 172, + "src": "7054:56:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 672, + "id": 164, "nodeType": "StructuredDocumentation", - "src": "6919:90:1", + "src": "7118:92:0", "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, "functionSelector": "c87b56dd", - "id": 679, + "id": 171, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 675, + "id": 167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 674, + "id": 166, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7032:15:1", + "scope": 171, + "src": "7234:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1896,10 +1896,10 @@ "typeString": "uint256" }, "typeName": { - "id": 673, + "id": 165, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7032:7:1", + "src": "7234:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1908,20 +1908,20 @@ "visibility": "internal" } ], - "src": "7031:17:1" + "src": "7233:17:0" }, "returnParameters": { - "id": 678, + "id": 170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 677, + "id": 169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7072:13:1", + "scope": 171, + "src": "7274:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1929,10 +1929,10 @@ "typeString": "string" }, "typeName": { - "id": 676, + "id": 168, "name": "string", "nodeType": "ElementaryTypeName", - "src": "7072:6:1", + "src": "7274:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1941,20 +1941,20 @@ "visibility": "internal" } ], - "src": "7071:15:1" + "src": "7273:15:0" }, - "scope": 680, - "src": "7014:73:1", + "scope": 172, + "src": "7216:73:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "6625:464:1" + "scope": 2991, + "src": "6812:480:0" }, { - "id": 681, + "id": 173, "literals": [ "solidity", ">=", @@ -1965,81 +1965,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 683, + "id": 175, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "7363:7:1", + "referencedDeclaration": 147, + "src": "7578:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 684, + "id": 176, "nodeType": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 682, + "id": 174, "nodeType": "StructuredDocumentation", - "src": "7195:136:1", + "src": "7406:139:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 709, + "id": 201, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 685, + "id": 177, "nodeType": "StructuredDocumentation", - "src": "7378:82:1", + "src": "7595:84:0", "text": " @dev Returns the total amount of tokens stored by the contract." }, "functionSelector": "18160ddd", - "id": 690, + "id": 182, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { - "id": 686, + "id": 178, "nodeType": "ParameterList", "parameters": [], - "src": "7485:2:1" + "src": "7705:2:0" }, "returnParameters": { - "id": 689, + "id": 181, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 688, + "id": 180, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 690, - "src": "7511:7:1", + "scope": 182, + "src": "7731:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2047,10 +2047,10 @@ "typeString": "uint256" }, "typeName": { - "id": 687, + "id": 179, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7511:7:1", + "src": "7731:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2059,40 +2059,40 @@ "visibility": "internal" } ], - "src": "7510:9:1" + "src": "7730:9:0" }, - "scope": 709, - "src": "7465:55:1", + "scope": 201, + "src": "7685:55:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 691, + "id": 183, "nodeType": "StructuredDocumentation", - "src": "7526:171:1", + "src": "7748:174:0", "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, "functionSelector": "2f745c59", - "id": 700, + "id": 192, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 696, + "id": 188, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 693, + "id": 185, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7731:13:1", + "scope": 192, + "src": "7957:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2100,10 +2100,10 @@ "typeString": "address" }, "typeName": { - "id": 692, + "id": 184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7731:7:1", + "src": "7957:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2114,12 +2114,12 @@ }, { "constant": false, - "id": 695, + "id": 187, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7746:13:1", + "scope": 192, + "src": "7972:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2127,10 +2127,10 @@ "typeString": "uint256" }, "typeName": { - "id": 694, + "id": 186, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7746:7:1", + "src": "7972:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2139,20 +2139,20 @@ "visibility": "internal" } ], - "src": "7730:30:1" + "src": "7956:30:0" }, "returnParameters": { - "id": 699, + "id": 191, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 698, + "id": 190, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7784:15:1", + "scope": 192, + "src": "8010:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2160,10 +2160,10 @@ "typeString": "uint256" }, "typeName": { - "id": 697, + "id": 189, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7784:7:1", + "src": "8010:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2172,40 +2172,40 @@ "visibility": "internal" } ], - "src": "7783:17:1" + "src": "8009:17:0" }, - "scope": 709, - "src": "7702:99:1", + "scope": 201, + "src": "7928:99:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 701, + "id": 193, "nodeType": "StructuredDocumentation", - "src": "7807:164:1", + "src": "8035:167:0", "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, "functionSelector": "4f6ccce7", - "id": 708, + "id": 200, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 704, + "id": 196, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 703, + "id": 195, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "7998:13:1", + "scope": 200, + "src": "8230:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2213,10 +2213,10 @@ "typeString": "uint256" }, "typeName": { - "id": 702, + "id": 194, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7998:7:1", + "src": "8230:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2225,20 +2225,20 @@ "visibility": "internal" } ], - "src": "7997:15:1" + "src": "8229:15:0" }, "returnParameters": { - "id": 707, + "id": 199, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 706, + "id": 198, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "8036:7:1", + "scope": 200, + "src": "8268:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2246,10 +2246,10 @@ "typeString": "uint256" }, "typeName": { - "id": 705, + "id": 197, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8036:7:1", + "src": "8268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2258,20 +2258,20 @@ "visibility": "internal" } ], - "src": "8035:9:1" + "src": "8267:9:0" }, - "scope": 709, - "src": "7976:69:1", + "scope": 201, + "src": "8208:69:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "7332:715:1" + "scope": 2991, + "src": "7547:733:0" }, { - "id": 710, + "id": 202, "literals": [ "solidity", ">=", @@ -2282,7 +2282,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "abstract": false, @@ -2290,45 +2290,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 711, + "id": 203, "nodeType": "StructuredDocumentation", - "src": "8150:152:1", + "src": "8390:156:0", "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, "fullyImplemented": false, - "id": 726, + "id": 218, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 712, + "id": 204, "nodeType": "StructuredDocumentation", - "src": "8335:485:1", + "src": "8581:493:0", "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, "functionSelector": "150b7a02", - "id": 725, + "id": 217, "implemented": false, "kind": "function", "modifiers": [], "name": "onERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 721, + "id": 213, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 714, + "id": 206, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8851:16:1", + "scope": 217, + "src": "9106:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2336,10 +2336,10 @@ "typeString": "address" }, "typeName": { - "id": 713, + "id": 205, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8851:7:1", + "src": "9106:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2350,12 +2350,12 @@ }, { "constant": false, - "id": 716, + "id": 208, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8869:12:1", + "scope": 217, + "src": "9124:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2363,10 +2363,10 @@ "typeString": "address" }, "typeName": { - "id": 715, + "id": 207, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8869:7:1", + "src": "9124:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2377,12 +2377,12 @@ }, { "constant": false, - "id": 718, + "id": 210, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8883:15:1", + "scope": 217, + "src": "9138:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2390,10 +2390,10 @@ "typeString": "uint256" }, "typeName": { - "id": 717, + "id": 209, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8883:7:1", + "src": "9138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2403,12 +2403,12 @@ }, { "constant": false, - "id": 720, + "id": 212, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8900:19:1", + "scope": 217, + "src": "9155:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -2416,10 +2416,10 @@ "typeString": "bytes" }, "typeName": { - "id": 719, + "id": 211, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8900:5:1", + "src": "9155:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2428,20 +2428,20 @@ "visibility": "internal" } ], - "src": "8850:70:1" + "src": "9105:70:0" }, "returnParameters": { - "id": 724, + "id": 216, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 723, + "id": 215, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8939:6:1", + "scope": 217, + "src": "9194:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2449,10 +2449,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 722, + "id": 214, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "8939:6:1", + "src": "9194:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2461,20 +2461,20 @@ "visibility": "internal" } ], - "src": "8938:8:1" + "src": "9193:8:0" }, - "scope": 726, - "src": "8825:122:1", + "scope": 218, + "src": "9080:122:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "8303:646:1" + "scope": 2991, + "src": "8548:657:0" }, { - "id": 727, + "id": 219, "literals": [ "solidity", ">=", @@ -2485,55 +2485,55 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "abstract": true, "baseContracts": [ { "baseName": { - "id": 729, + "id": 221, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "9243:7:1", + "referencedDeclaration": 33, + "src": "9511:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 730, + "id": 222, "nodeType": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "documentation": { - "id": 728, + "id": 220, "nodeType": "StructuredDocumentation", - "src": "9043:171:1", + "src": "9305:176:0", "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, "fullyImplemented": true, - "id": 781, + "id": 273, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", "nodeType": "ContractDefinition", "nodes": [ { "constant": true, - "id": 733, + "id": 225, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9340:57:1", + "scope": 273, + "src": "9612:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2541,10 +2541,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 731, + "id": 223, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9340:6:1", + "src": "9612:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2552,14 +2552,14 @@ }, "value": { "hexValue": "30783031666663396137", - "id": 732, + "id": 224, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9387:10:1", + "src": "9659:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_33540519_by_1", "typeString": "int_const 33540519" @@ -2571,17 +2571,17 @@ { "constant": false, "documentation": { - "id": 734, + "id": 226, "nodeType": "StructuredDocumentation", - "src": "9404:82:1", + "src": "9678:84:0", "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 738, + "id": 230, "mutability": "mutable", "name": "_supportedInterfaces", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9491:52:1", + "scope": 273, + "src": "9768:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2589,28 +2589,28 @@ "typeString": "mapping(bytes4 => bool)" }, "typeName": { - "id": 737, + "id": 229, "keyType": { - "id": 735, + "id": 227, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9499:6:1", + "src": "9776:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "nodeType": "Mapping", - "src": "9491:23:1", + "src": "9768:23:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" }, "valueType": { - "id": 736, + "id": 228, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9509:4:1", + "src": "9786:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2621,20 +2621,20 @@ }, { "body": { - "id": 745, + "id": 237, "nodeType": "Block", - "src": "9565:193:1", + "src": "9844:197:0", "statements": [ { "expression": { "arguments": [ { - "id": 742, + "id": 234, "name": "_INTERFACE_ID_ERC165", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 733, - "src": "9730:20:1", + "referencedDeclaration": 225, + "src": "10012:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2648,18 +2648,18 @@ "typeString": "bytes4" } ], - "id": 741, + "id": 233, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "9711:18:1", + "referencedDeclaration": 272, + "src": "9993:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 743, + "id": 235, "isConstant": false, "isLValue": false, "isPure": false, @@ -2667,74 +2667,74 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9711:40:1", + "src": "9993:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 744, + "id": 236, "nodeType": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ] }, - "id": 746, + "id": 238, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 739, + "id": 231, "nodeType": "ParameterList", "parameters": [], - "src": "9562:2:1" + "src": "9841:2:0" }, "returnParameters": { - "id": 740, + "id": 232, "nodeType": "ParameterList", "parameters": [], - "src": "9565:0:1" + "src": "9844:0:0" }, - "scope": 781, - "src": "9550:208:1", + "scope": 273, + "src": "9829:212:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "baseFunctions": [ - 540 + 32 ], "body": { - "id": 759, + "id": 251, "nodeType": "Block", - "src": "9999:57:1", + "src": "10289:59:0", "statements": [ { "expression": { "baseExpression": { - "id": 755, + "id": 247, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10016:20:1", + "referencedDeclaration": 230, + "src": "10307:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 757, + "id": 249, "indexExpression": { - "id": 756, + "id": 248, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 749, - "src": "10037:11:1", + "referencedDeclaration": 241, + "src": "10328:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2745,50 +2745,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10016:33:1", + "src": "10307:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 754, - "id": 758, + "functionReturnParameters": 246, + "id": 250, "nodeType": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ] }, "documentation": { - "id": 747, + "id": 239, "nodeType": "StructuredDocumentation", - "src": "9764:139:1", + "src": "10049:143:0", "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 760, + "id": 252, "implemented": true, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "overrides": { - "id": 751, + "id": 243, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "9975:8:1" + "src": "10265:8:0" }, "parameters": { - "id": 750, + "id": 242, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 749, + "id": 241, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9935:18:1", + "scope": 252, + "src": "10225:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2796,10 +2796,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 748, + "id": 240, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9935:6:1", + "src": "10225:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2808,20 +2808,20 @@ "visibility": "internal" } ], - "src": "9934:20:1" + "src": "10224:20:0" }, "returnParameters": { - "id": 754, + "id": 246, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 753, + "id": 245, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9993:4:1", + "scope": 252, + "src": "10283:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2829,10 +2829,10 @@ "typeString": "bool" }, "typeName": { - "id": 752, + "id": 244, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9993:4:1", + "src": "10283:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2841,19 +2841,19 @@ "visibility": "internal" } ], - "src": "9992:6:1" + "src": "10282:6:0" }, - "scope": 781, - "src": "9908:148:1", + "scope": 273, + "src": "10198:150:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 779, + "id": 271, "nodeType": "Block", - "src": "10515:133:1", + "src": "10820:136:0", "statements": [ { "expression": { @@ -2863,18 +2863,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 769, + "id": 261, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 767, + "id": 259, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10533:11:1", + "referencedDeclaration": 255, + "src": "10839:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2884,21 +2884,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30786666666666666666", - "id": 768, + "id": 260, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10548:10:1", + "src": "10854:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_4294967295_by_1", "typeString": "int_const 4294967295" }, "value": "0xffffffff" }, - "src": "10533:25:1", + "src": "10839:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2906,14 +2906,14 @@ }, { "hexValue": "4552433136353a20696e76616c696420696e74657266616365206964", - "id": 770, + "id": 262, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "10560:30:1", + "src": "10866:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_282912c0dfceceb28d77d0333f496b83948f9ba5b3154358a8b140b849289dee", "typeString": "literal_string \"ERC165: invalid interface id\"" @@ -2932,7 +2932,7 @@ "typeString": "literal_string \"ERC165: invalid interface id\"" } ], - "id": 766, + "id": 258, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -2940,13 +2940,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "10525:7:1", + "src": "10831:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 771, + "id": 263, "isConstant": false, "isLValue": false, "isPure": false, @@ -2954,45 +2954,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10525:66:1", + "src": "10831:66:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 772, + "id": 264, "nodeType": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "expression": { - "id": 777, + "id": 269, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 773, + "id": 265, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10601:20:1", + "referencedDeclaration": 230, + "src": "10908:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 775, + "id": 267, "indexExpression": { - "id": 774, + "id": 266, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10622:11:1", + "referencedDeclaration": 255, + "src": "10929:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3003,7 +3003,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "10601:33:1", + "src": "10908:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3013,56 +3013,56 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 776, + "id": 268, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "10637:4:1", + "src": "10944:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "10601:40:1", + "src": "10908:40:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 778, + "id": 270, "nodeType": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ] }, "documentation": { - "id": 761, + "id": 253, "nodeType": "StructuredDocumentation", - "src": "10062:383:1", + "src": "10356:393:0", "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 780, + "id": 272, "implemented": true, "kind": "function", "modifiers": [], "name": "_registerInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 764, + "id": 256, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 763, + "id": 255, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 780, - "src": "10478:18:1", + "scope": 272, + "src": "10783:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3070,10 +3070,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 762, + "id": 254, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "10478:6:1", + "src": "10783:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3082,26 +3082,26 @@ "visibility": "internal" } ], - "src": "10477:20:1" + "src": "10782:20:0" }, "returnParameters": { - "id": 765, + "id": 257, "nodeType": "ParameterList", "parameters": [], - "src": "10515:0:1" + "src": "10820:0:0" }, - "scope": 781, - "src": "10450:198:1", + "scope": 273, + "src": "10755:201:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "9215:1435:1" + "scope": 2991, + "src": "9483:1476:0" }, { - "id": 782, + "id": 274, "literals": [ "solidity", ">=", @@ -3112,7 +3112,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "abstract": false, @@ -3120,38 +3120,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 783, + "id": 275, "nodeType": "StructuredDocumentation", - "src": "10736:563:1", + "src": "11050:575:0", "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, "fullyImplemented": true, - "id": 1135, + "id": 627, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 813, + "id": 305, "nodeType": "Block", - "src": "11535:98:1", + "src": "11868:102:0", "statements": [ { "assignments": [ - 796 + 288 ], "declarations": [ { "constant": false, - "id": 796, + "id": 288, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 813, - "src": "11545:9:1", + "scope": 305, + "src": "11879:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3159,10 +3159,10 @@ "typeString": "uint256" }, "typeName": { - "id": 795, + "id": 287, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11545:7:1", + "src": "11879:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3171,24 +3171,24 @@ "visibility": "internal" } ], - "id": 800, + "id": 292, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 799, + "id": 291, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 797, + "id": 289, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11557:1:1", + "referencedDeclaration": 278, + "src": "11891:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3197,25 +3197,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 798, + "id": 290, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 788, - "src": "11561:1:1", + "referencedDeclaration": 280, + "src": "11895:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11557:5:1", + "src": "11891:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "condition": { @@ -3223,18 +3223,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 803, + "id": 295, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 801, + "id": 293, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11576:1:1", + "referencedDeclaration": 288, + "src": "11911:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3243,39 +3243,39 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 802, + "id": 294, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11580:1:1", + "referencedDeclaration": 278, + "src": "11915:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11576:5:1", + "src": "11911:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 808, + "id": 300, "nodeType": "IfStatement", - "src": "11572:28:1", + "src": "11907:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 804, + "id": 296, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11591:5:1", + "src": "11926:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3284,14 +3284,14 @@ }, { "hexValue": "30", - "id": 805, + "id": 297, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11598:1:1", + "src": "11933:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3299,23 +3299,23 @@ "value": "0" } ], - "id": 806, + "id": 298, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11590:10:1", + "src": "11925:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 794, - "id": 807, + "functionReturnParameters": 286, + "id": 299, "nodeType": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } }, { @@ -3323,14 +3323,14 @@ "components": [ { "hexValue": "74727565", - "id": 809, + "id": 301, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11618:4:1", + "src": "11954:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3338,62 +3338,62 @@ "value": "true" }, { - "id": 810, + "id": 302, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11624:1:1", + "referencedDeclaration": 288, + "src": "11960:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 811, + "id": 303, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11617:9:1", + "src": "11953:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 794, - "id": 812, + "functionReturnParameters": 286, + "id": 304, "nodeType": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ] }, "documentation": { - "id": 784, + "id": 276, "nodeType": "StructuredDocumentation", - "src": "11323:131:1", + "src": "11651:135:0", "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 814, + "id": 306, "implemented": true, "kind": "function", "modifiers": [], "name": "tryAdd", "nodeType": "FunctionDefinition", "parameters": { - "id": 789, + "id": 281, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 786, + "id": 278, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11475:9:1", + "scope": 306, + "src": "11808:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3401,10 +3401,10 @@ "typeString": "uint256" }, "typeName": { - "id": 785, + "id": 277, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11475:7:1", + "src": "11808:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3414,12 +3414,12 @@ }, { "constant": false, - "id": 788, + "id": 280, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11486:9:1", + "scope": 306, + "src": "11819:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3427,10 +3427,10 @@ "typeString": "uint256" }, "typeName": { - "id": 787, + "id": 279, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11486:7:1", + "src": "11819:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3439,20 +3439,20 @@ "visibility": "internal" } ], - "src": "11474:22:1" + "src": "11807:22:0" }, "returnParameters": { - "id": 794, + "id": 286, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 791, + "id": 283, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11520:4:1", + "scope": 306, + "src": "11853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3460,10 +3460,10 @@ "typeString": "bool" }, "typeName": { - "id": 790, + "id": 282, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11520:4:1", + "src": "11853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3473,12 +3473,12 @@ }, { "constant": false, - "id": 793, + "id": 285, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11526:7:1", + "scope": 306, + "src": "11859:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3486,10 +3486,10 @@ "typeString": "uint256" }, "typeName": { - "id": 792, + "id": 284, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11526:7:1", + "src": "11859:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3498,19 +3498,19 @@ "visibility": "internal" } ], - "src": "11519:15:1" + "src": "11852:15:0" }, - "scope": 1135, - "src": "11459:174:1", + "scope": 627, + "src": "11792:178:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 840, + "id": 332, "nodeType": "Block", - "src": "11855:75:1", + "src": "12199:78:0", "statements": [ { "condition": { @@ -3518,18 +3518,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 828, + "id": 320, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 826, + "id": 318, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11869:1:1", + "referencedDeclaration": 311, + "src": "12214:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3538,39 +3538,39 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 827, + "id": 319, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11873:1:1", + "referencedDeclaration": 309, + "src": "12218:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11869:5:1", + "src": "12214:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 833, + "id": 325, "nodeType": "IfStatement", - "src": "11865:28:1", + "src": "12210:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 829, + "id": 321, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11884:5:1", + "src": "12229:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3579,14 +3579,14 @@ }, { "hexValue": "30", - "id": 830, + "id": 322, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11891:1:1", + "src": "12236:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3594,23 +3594,23 @@ "value": "0" } ], - "id": 831, + "id": 323, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11883:10:1", + "src": "12228:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 825, - "id": 832, + "functionReturnParameters": 317, + "id": 324, "nodeType": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } }, { @@ -3618,14 +3618,14 @@ "components": [ { "hexValue": "74727565", - "id": 834, + "id": 326, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11911:4:1", + "src": "12257:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3637,18 +3637,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 837, + "id": 329, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 835, + "id": 327, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11917:1:1", + "referencedDeclaration": 309, + "src": "12263:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3657,68 +3657,68 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 836, + "id": 328, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11921:1:1", + "referencedDeclaration": 311, + "src": "12267:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11917:5:1", + "src": "12263:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 838, + "id": 330, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11910:13:1", + "src": "12256:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 825, - "id": 839, + "functionReturnParameters": 317, + "id": 331, "nodeType": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ] }, "documentation": { - "id": 815, + "id": 307, "nodeType": "StructuredDocumentation", - "src": "11639:135:1", + "src": "11978:139:0", "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 841, + "id": 333, "implemented": true, "kind": "function", "modifiers": [], "name": "trySub", "nodeType": "FunctionDefinition", "parameters": { - "id": 820, + "id": 312, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 817, + "id": 309, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11795:9:1", + "scope": 333, + "src": "12139:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3726,10 +3726,10 @@ "typeString": "uint256" }, "typeName": { - "id": 816, + "id": 308, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11795:7:1", + "src": "12139:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3739,12 +3739,12 @@ }, { "constant": false, - "id": 819, + "id": 311, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11806:9:1", + "scope": 333, + "src": "12150:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3752,10 +3752,10 @@ "typeString": "uint256" }, "typeName": { - "id": 818, + "id": 310, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11806:7:1", + "src": "12150:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3764,20 +3764,20 @@ "visibility": "internal" } ], - "src": "11794:22:1" + "src": "12138:22:0" }, "returnParameters": { - "id": 825, + "id": 317, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 822, + "id": 314, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11840:4:1", + "scope": 333, + "src": "12184:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3785,10 +3785,10 @@ "typeString": "bool" }, "typeName": { - "id": 821, + "id": 313, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11840:4:1", + "src": "12184:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3798,12 +3798,12 @@ }, { "constant": false, - "id": 824, + "id": 316, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11846:7:1", + "scope": 333, + "src": "12190:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3811,10 +3811,10 @@ "typeString": "uint256" }, "typeName": { - "id": 823, + "id": 315, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11846:7:1", + "src": "12190:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3823,19 +3823,19 @@ "visibility": "internal" } ], - "src": "11839:15:1" + "src": "12183:15:0" }, - "scope": 1135, - "src": "11779:151:1", + "scope": 627, + "src": "12123:154:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 881, + "id": 373, "nodeType": "Block", - "src": "12154:359:1", + "src": "12508:367:0", "statements": [ { "condition": { @@ -3843,18 +3843,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 855, + "id": 347, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 853, + "id": 345, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12386:1:1", + "referencedDeclaration": 336, + "src": "12744:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3864,42 +3864,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 854, + "id": 346, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12391:1:1", + "src": "12749:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12386:6:1", + "src": "12744:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 860, + "id": 352, "nodeType": "IfStatement", - "src": "12382:28:1", + "src": "12740:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "74727565", - "id": 856, + "id": 348, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12402:4:1", + "src": "12760:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3908,14 +3908,14 @@ }, { "hexValue": "30", - "id": 857, + "id": 349, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12408:1:1", + "src": "12766:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3923,38 +3923,38 @@ "value": "0" } ], - "id": 858, + "id": 350, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12401:9:1", + "src": "12759:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 859, + "functionReturnParameters": 344, + "id": 351, "nodeType": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } }, { "assignments": [ - 862 + 354 ], "declarations": [ { "constant": false, - "id": 862, + "id": 354, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 881, - "src": "12420:9:1", + "scope": 373, + "src": "12779:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3962,10 +3962,10 @@ "typeString": "uint256" }, "typeName": { - "id": 861, + "id": 353, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12420:7:1", + "src": "12779:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3974,24 +3974,24 @@ "visibility": "internal" } ], - "id": 866, + "id": 358, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 865, + "id": 357, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 863, + "id": 355, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12432:1:1", + "referencedDeclaration": 336, + "src": "12791:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4000,25 +4000,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 864, + "id": 356, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12436:1:1", + "referencedDeclaration": 338, + "src": "12795:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12432:5:1", + "src": "12791:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "condition": { @@ -4026,7 +4026,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 871, + "id": 363, "isConstant": false, "isLValue": false, "isPure": false, @@ -4036,18 +4036,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 869, + "id": 361, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 867, + "id": 359, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12451:1:1", + "referencedDeclaration": 354, + "src": "12811:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4056,18 +4056,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 868, + "id": 360, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12455:1:1", + "referencedDeclaration": 336, + "src": "12815:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:5:1", + "src": "12811:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4076,39 +4076,39 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 870, + "id": 362, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12460:1:1", + "referencedDeclaration": 338, + "src": "12820:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:10:1", + "src": "12811:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 876, + "id": 368, "nodeType": "IfStatement", - "src": "12447:33:1", + "src": "12807:33:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 872, + "id": 364, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12471:5:1", + "src": "12831:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4117,14 +4117,14 @@ }, { "hexValue": "30", - "id": 873, + "id": 365, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12478:1:1", + "src": "12838:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4132,23 +4132,23 @@ "value": "0" } ], - "id": 874, + "id": 366, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12470:10:1", + "src": "12830:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 875, + "functionReturnParameters": 344, + "id": 367, "nodeType": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } }, { @@ -4156,14 +4156,14 @@ "components": [ { "hexValue": "74727565", - "id": 877, + "id": 369, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12498:4:1", + "src": "12859:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4171,62 +4171,62 @@ "value": "true" }, { - "id": 878, + "id": 370, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12504:1:1", + "referencedDeclaration": 354, + "src": "12865:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 879, + "id": 371, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12497:9:1", + "src": "12858:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 852, - "id": 880, + "functionReturnParameters": 344, + "id": 372, "nodeType": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ] }, "documentation": { - "id": 842, + "id": 334, "nodeType": "StructuredDocumentation", - "src": "11936:137:1", + "src": "12285:141:0", "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 882, + "id": 374, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMul", "nodeType": "FunctionDefinition", "parameters": { - "id": 847, + "id": 339, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 844, + "id": 336, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12094:9:1", + "scope": 374, + "src": "12448:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4234,10 +4234,10 @@ "typeString": "uint256" }, "typeName": { - "id": 843, + "id": 335, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12094:7:1", + "src": "12448:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4247,12 +4247,12 @@ }, { "constant": false, - "id": 846, + "id": 338, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12105:9:1", + "scope": 374, + "src": "12459:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4260,10 +4260,10 @@ "typeString": "uint256" }, "typeName": { - "id": 845, + "id": 337, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12105:7:1", + "src": "12459:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4272,20 +4272,20 @@ "visibility": "internal" } ], - "src": "12093:22:1" + "src": "12447:22:0" }, "returnParameters": { - "id": 852, + "id": 344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 849, + "id": 341, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12139:4:1", + "scope": 374, + "src": "12493:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4293,10 +4293,10 @@ "typeString": "bool" }, "typeName": { - "id": 848, + "id": 340, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12139:4:1", + "src": "12493:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4306,12 +4306,12 @@ }, { "constant": false, - "id": 851, + "id": 343, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12145:7:1", + "scope": 374, + "src": "12499:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4319,10 +4319,10 @@ "typeString": "uint256" }, "typeName": { - "id": 850, + "id": 342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12145:7:1", + "src": "12499:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4331,19 +4331,19 @@ "visibility": "internal" } ], - "src": "12138:15:1" + "src": "12492:15:0" }, - "scope": 1135, - "src": "12078:435:1", + "scope": 627, + "src": "12432:443:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 908, + "id": 400, "nodeType": "Block", - "src": "12738:76:1", + "src": "13107:79:0", "statements": [ { "condition": { @@ -4351,18 +4351,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 896, + "id": 388, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 894, + "id": 386, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12752:1:1", + "referencedDeclaration": 379, + "src": "13122:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4372,42 +4372,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 895, + "id": 387, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12757:1:1", + "src": "13127:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12752:6:1", + "src": "13122:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 901, + "id": 393, "nodeType": "IfStatement", - "src": "12748:29:1", + "src": "13118:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 897, + "id": 389, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12768:5:1", + "src": "13138:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4416,14 +4416,14 @@ }, { "hexValue": "30", - "id": 898, + "id": 390, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12775:1:1", + "src": "13145:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4431,23 +4431,23 @@ "value": "0" } ], - "id": 899, + "id": 391, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12767:10:1", + "src": "13137:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 893, - "id": 900, + "functionReturnParameters": 385, + "id": 392, "nodeType": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } }, { @@ -4455,14 +4455,14 @@ "components": [ { "hexValue": "74727565", - "id": 902, + "id": 394, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12795:4:1", + "src": "13166:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4474,18 +4474,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 905, + "id": 397, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 903, + "id": 395, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 885, - "src": "12801:1:1", + "referencedDeclaration": 377, + "src": "13172:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4494,68 +4494,68 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 904, + "id": 396, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12805:1:1", + "referencedDeclaration": 379, + "src": "13176:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12801:5:1", + "src": "13172:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 906, + "id": 398, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12794:13:1", + "src": "13165:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 893, - "id": 907, + "functionReturnParameters": 385, + "id": 399, "nodeType": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ] }, "documentation": { - "id": 883, + "id": 375, "nodeType": "StructuredDocumentation", - "src": "12519:138:1", + "src": "12883:142:0", "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 909, + "id": 401, "implemented": true, "kind": "function", "modifiers": [], "name": "tryDiv", "nodeType": "FunctionDefinition", "parameters": { - "id": 888, + "id": 380, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 885, + "id": 377, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12678:9:1", + "scope": 401, + "src": "13047:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4563,10 +4563,10 @@ "typeString": "uint256" }, "typeName": { - "id": 884, + "id": 376, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12678:7:1", + "src": "13047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4576,12 +4576,12 @@ }, { "constant": false, - "id": 887, + "id": 379, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12689:9:1", + "scope": 401, + "src": "13058:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4589,10 +4589,10 @@ "typeString": "uint256" }, "typeName": { - "id": 886, + "id": 378, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12689:7:1", + "src": "13058:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4601,20 +4601,20 @@ "visibility": "internal" } ], - "src": "12677:22:1" + "src": "13046:22:0" }, "returnParameters": { - "id": 893, + "id": 385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 890, + "id": 382, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12723:4:1", + "scope": 401, + "src": "13092:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4622,10 +4622,10 @@ "typeString": "bool" }, "typeName": { - "id": 889, + "id": 381, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12723:4:1", + "src": "13092:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4635,12 +4635,12 @@ }, { "constant": false, - "id": 892, + "id": 384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12729:7:1", + "scope": 401, + "src": "13098:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4648,10 +4648,10 @@ "typeString": "uint256" }, "typeName": { - "id": 891, + "id": 383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12729:7:1", + "src": "13098:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4660,19 +4660,19 @@ "visibility": "internal" } ], - "src": "12722:15:1" + "src": "13091:15:0" }, - "scope": 1135, - "src": "12662:152:1", + "scope": 627, + "src": "13031:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 935, + "id": 427, "nodeType": "Block", - "src": "13049:76:1", + "src": "13428:79:0", "statements": [ { "condition": { @@ -4680,18 +4680,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 923, + "id": 415, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 921, + "id": 413, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13063:1:1", + "referencedDeclaration": 406, + "src": "13443:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4701,42 +4701,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 922, + "id": 414, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13068:1:1", + "src": "13448:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "13063:6:1", + "src": "13443:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 928, + "id": 420, "nodeType": "IfStatement", - "src": "13059:29:1", + "src": "13439:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 924, + "id": 416, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13079:5:1", + "src": "13459:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4745,14 +4745,14 @@ }, { "hexValue": "30", - "id": 925, + "id": 417, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13086:1:1", + "src": "13466:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4760,23 +4760,23 @@ "value": "0" } ], - "id": 926, + "id": 418, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13078:10:1", + "src": "13458:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 920, - "id": 927, + "functionReturnParameters": 412, + "id": 419, "nodeType": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } }, { @@ -4784,14 +4784,14 @@ "components": [ { "hexValue": "74727565", - "id": 929, + "id": 421, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13106:4:1", + "src": "13487:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4803,18 +4803,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 932, + "id": 424, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 930, + "id": 422, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 912, - "src": "13112:1:1", + "referencedDeclaration": 404, + "src": "13493:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4823,68 +4823,68 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 931, + "id": 423, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13116:1:1", + "referencedDeclaration": 406, + "src": "13497:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13112:5:1", + "src": "13493:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 933, + "id": 425, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13105:13:1", + "src": "13486:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 920, - "id": 934, + "functionReturnParameters": 412, + "id": 426, "nodeType": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ] }, "documentation": { - "id": 910, + "id": 402, "nodeType": "StructuredDocumentation", - "src": "12820:148:1", + "src": "13194:152:0", "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 936, + "id": 428, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMod", "nodeType": "FunctionDefinition", "parameters": { - "id": 915, + "id": 407, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 912, + "id": 404, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "12989:9:1", + "scope": 428, + "src": "13368:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4892,10 +4892,10 @@ "typeString": "uint256" }, "typeName": { - "id": 911, + "id": 403, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12989:7:1", + "src": "13368:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4905,12 +4905,12 @@ }, { "constant": false, - "id": 914, + "id": 406, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13000:9:1", + "scope": 428, + "src": "13379:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4918,10 +4918,10 @@ "typeString": "uint256" }, "typeName": { - "id": 913, + "id": 405, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13000:7:1", + "src": "13379:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4930,20 +4930,20 @@ "visibility": "internal" } ], - "src": "12988:22:1" + "src": "13367:22:0" }, "returnParameters": { - "id": 920, + "id": 412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 917, + "id": 409, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13034:4:1", + "scope": 428, + "src": "13413:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4951,10 +4951,10 @@ "typeString": "bool" }, "typeName": { - "id": 916, + "id": 408, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "13034:4:1", + "src": "13413:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4964,12 +4964,12 @@ }, { "constant": false, - "id": 919, + "id": 411, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13040:7:1", + "scope": 428, + "src": "13419:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4977,10 +4977,10 @@ "typeString": "uint256" }, "typeName": { - "id": 918, + "id": 410, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13040:7:1", + "src": "13419:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4989,33 +4989,33 @@ "visibility": "internal" } ], - "src": "13033:15:1" + "src": "13412:15:0" }, - "scope": 1135, - "src": "12973:152:1", + "scope": 627, + "src": "13352:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 961, + "id": 453, "nodeType": "Block", - "src": "13427:108:1", + "src": "13821:112:0", "statements": [ { "assignments": [ - 947 + 439 ], "declarations": [ { "constant": false, - "id": 947, + "id": 439, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 961, - "src": "13437:9:1", + "scope": 453, + "src": "13832:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5023,10 +5023,10 @@ "typeString": "uint256" }, "typeName": { - "id": 946, + "id": 438, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13437:7:1", + "src": "13832:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5035,24 +5035,24 @@ "visibility": "internal" } ], - "id": 951, + "id": 443, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 950, + "id": 442, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 948, + "id": 440, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13449:1:1", + "referencedDeclaration": 431, + "src": "13844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5061,25 +5061,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 949, + "id": 441, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 941, - "src": "13453:1:1", + "referencedDeclaration": 433, + "src": "13848:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13449:5:1", + "src": "13844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "expression": { @@ -5089,18 +5089,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 955, + "id": 447, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 953, + "id": 445, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13472:1:1", + "referencedDeclaration": 439, + "src": "13868:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5109,18 +5109,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 954, + "id": 446, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13477:1:1", + "referencedDeclaration": 431, + "src": "13873:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13472:6:1", + "src": "13868:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5128,14 +5128,14 @@ }, { "hexValue": "536166654d6174683a206164646974696f6e206f766572666c6f77", - "id": 956, + "id": 448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13480:29:1", + "src": "13876:29:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_30cc447bcc13b3e22b45cef0dd9b0b514842d836dd9b6eb384e20dedfb47723a", "typeString": "literal_string \"SafeMath: addition overflow\"" @@ -5154,7 +5154,7 @@ "typeString": "literal_string \"SafeMath: addition overflow\"" } ], - "id": 952, + "id": 444, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5162,13 +5162,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13464:7:1", + "src": "13860:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 957, + "id": 449, "isConstant": false, "isLValue": false, "isPure": false, @@ -5176,61 +5176,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13464:46:1", + "src": "13860:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 958, + "id": 450, "nodeType": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "expression": { - "id": 959, + "id": 451, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13527:1:1", + "referencedDeclaration": 439, + "src": "13924:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 945, - "id": 960, + "functionReturnParameters": 437, + "id": 452, "nodeType": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ] }, "documentation": { - "id": 937, + "id": 429, "nodeType": "StructuredDocumentation", - "src": "13131:224:1", + "src": "13515:233:0", "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 962, + "id": 454, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 942, + "id": 434, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 939, + "id": 431, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13373:9:1", + "scope": 454, + "src": "13767:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5238,10 +5238,10 @@ "typeString": "uint256" }, "typeName": { - "id": 938, + "id": 430, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13373:7:1", + "src": "13767:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5251,12 +5251,12 @@ }, { "constant": false, - "id": 941, + "id": 433, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13384:9:1", + "scope": 454, + "src": "13778:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5264,10 +5264,10 @@ "typeString": "uint256" }, "typeName": { - "id": 940, + "id": 432, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13384:7:1", + "src": "13778:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5276,20 +5276,20 @@ "visibility": "internal" } ], - "src": "13372:22:1" + "src": "13766:22:0" }, "returnParameters": { - "id": 945, + "id": 437, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 944, + "id": 436, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13418:7:1", + "scope": 454, + "src": "13812:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5297,10 +5297,10 @@ "typeString": "uint256" }, "typeName": { - "id": 943, + "id": 435, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13418:7:1", + "src": "13812:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5309,19 +5309,19 @@ "visibility": "internal" } ], - "src": "13417:9:1" + "src": "13811:9:0" }, - "scope": 1135, - "src": "13360:175:1", + "scope": 627, + "src": "13754:179:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 983, + "id": 475, "nodeType": "Block", - "src": "13873:88:1", + "src": "14283:91:0", "statements": [ { "expression": { @@ -5331,18 +5331,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 975, + "id": 467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 973, + "id": 465, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13891:1:1", + "referencedDeclaration": 459, + "src": "14302:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5351,18 +5351,18 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 974, + "id": 466, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13896:1:1", + "referencedDeclaration": 457, + "src": "14307:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13891:6:1", + "src": "14302:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5370,14 +5370,14 @@ }, { "hexValue": "536166654d6174683a207375627472616374696f6e206f766572666c6f77", - "id": 976, + "id": 468, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13899:32:1", + "src": "14310:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_50b058e9b5320e58880d88223c9801cd9eecdcf90323d5c2318bc1b6b916e862", "typeString": "literal_string \"SafeMath: subtraction overflow\"" @@ -5396,7 +5396,7 @@ "typeString": "literal_string \"SafeMath: subtraction overflow\"" } ], - "id": 972, + "id": 464, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5404,13 +5404,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13883:7:1", + "src": "14294:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 977, + "id": 469, "isConstant": false, "isLValue": false, "isPure": false, @@ -5418,16 +5418,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13883:49:1", + "src": "14294:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 978, + "id": 470, "nodeType": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "expression": { @@ -5435,18 +5435,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 981, + "id": 473, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 979, + "id": 471, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13949:1:1", + "referencedDeclaration": 457, + "src": "14361:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5455,54 +5455,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 980, + "id": 472, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13953:1:1", + "referencedDeclaration": 459, + "src": "14365:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13949:5:1", + "src": "14361:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 971, - "id": 982, + "functionReturnParameters": 463, + "id": 474, "nodeType": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ] }, "documentation": { - "id": 963, + "id": 455, "nodeType": "StructuredDocumentation", - "src": "13541:260:1", + "src": "13941:269:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 984, + "id": 476, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 968, + "id": 460, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 965, + "id": 457, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13819:9:1", + "scope": 476, + "src": "14229:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5510,10 +5510,10 @@ "typeString": "uint256" }, "typeName": { - "id": 964, + "id": 456, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13819:7:1", + "src": "14229:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5523,12 +5523,12 @@ }, { "constant": false, - "id": 967, + "id": 459, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13830:9:1", + "scope": 476, + "src": "14240:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5536,10 +5536,10 @@ "typeString": "uint256" }, "typeName": { - "id": 966, + "id": 458, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13830:7:1", + "src": "14240:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5548,20 +5548,20 @@ "visibility": "internal" } ], - "src": "13818:22:1" + "src": "14228:22:0" }, "returnParameters": { - "id": 971, + "id": 463, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 970, + "id": 462, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13864:7:1", + "scope": 476, + "src": "14274:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5569,10 +5569,10 @@ "typeString": "uint256" }, "typeName": { - "id": 969, + "id": 461, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13864:7:1", + "src": "14274:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5581,19 +5581,19 @@ "visibility": "internal" } ], - "src": "13863:9:1" + "src": "14273:9:0" }, - "scope": 1135, - "src": "13806:155:1", + "scope": 627, + "src": "14216:158:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1017, + "id": 509, "nodeType": "Block", - "src": "14275:148:1", + "src": "14700:153:0", "statements": [ { "condition": { @@ -5601,18 +5601,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 996, + "id": 488, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 994, + "id": 486, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14289:1:1", + "referencedDeclaration": 479, + "src": "14715:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5622,65 +5622,65 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 995, + "id": 487, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14294:1:1", + "src": "14720:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14289:6:1", + "src": "14715:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 999, + "id": 491, "nodeType": "IfStatement", - "src": "14285:20:1", + "src": "14711:20:0", "trueBody": { "expression": { "hexValue": "30", - "id": 997, + "id": 489, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14304:1:1", + "src": "14730:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "functionReturnParameters": 993, - "id": 998, + "functionReturnParameters": 485, + "id": 490, "nodeType": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } }, { "assignments": [ - 1001 + 493 ], "declarations": [ { "constant": false, - "id": 1001, + "id": 493, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 1017, - "src": "14315:9:1", + "scope": 509, + "src": "14742:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5688,10 +5688,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1000, + "id": 492, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14315:7:1", + "src": "14742:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5700,24 +5700,24 @@ "visibility": "internal" } ], - "id": 1005, + "id": 497, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1004, + "id": 496, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1002, + "id": 494, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14327:1:1", + "referencedDeclaration": 479, + "src": "14754:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5726,25 +5726,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 1003, + "id": 495, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14331:1:1", + "referencedDeclaration": 481, + "src": "14758:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14327:5:1", + "src": "14754:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "expression": { @@ -5754,7 +5754,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1011, + "id": 503, "isConstant": false, "isLValue": false, "isPure": false, @@ -5764,18 +5764,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1009, + "id": 501, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1007, + "id": 499, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14350:1:1", + "referencedDeclaration": 493, + "src": "14778:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5784,18 +5784,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1008, + "id": 500, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14354:1:1", + "referencedDeclaration": 479, + "src": "14782:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:5:1", + "src": "14778:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5804,18 +5804,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 1010, + "id": 502, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14359:1:1", + "referencedDeclaration": 481, + "src": "14787:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:10:1", + "src": "14778:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5823,14 +5823,14 @@ }, { "hexValue": "536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77", - "id": 1012, + "id": 504, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14362:35:1", + "src": "14790:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9113bb53c2876a3805b2c9242029423fc540a728243ce887ab24c82cf119fba3", "typeString": "literal_string \"SafeMath: multiplication overflow\"" @@ -5849,7 +5849,7 @@ "typeString": "literal_string \"SafeMath: multiplication overflow\"" } ], - "id": 1006, + "id": 498, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5857,13 +5857,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14342:7:1", + "src": "14770:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1013, + "id": 505, "isConstant": false, "isLValue": false, "isPure": false, @@ -5871,61 +5871,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14342:56:1", + "src": "14770:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1014, + "id": 506, "nodeType": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "expression": { - "id": 1015, + "id": 507, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14415:1:1", + "referencedDeclaration": 493, + "src": "14844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 993, - "id": 1016, + "functionReturnParameters": 485, + "id": 508, "nodeType": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ] }, "documentation": { - "id": 985, + "id": 477, "nodeType": "StructuredDocumentation", - "src": "13967:236:1", + "src": "14382:245:0", "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 1018, + "id": 510, "implemented": true, "kind": "function", "modifiers": [], "name": "mul", "nodeType": "FunctionDefinition", "parameters": { - "id": 990, + "id": 482, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 987, + "id": 479, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14221:9:1", + "scope": 510, + "src": "14646:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5933,10 +5933,10 @@ "typeString": "uint256" }, "typeName": { - "id": 986, + "id": 478, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14221:7:1", + "src": "14646:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5946,12 +5946,12 @@ }, { "constant": false, - "id": 989, + "id": 481, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14232:9:1", + "scope": 510, + "src": "14657:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5959,10 +5959,10 @@ "typeString": "uint256" }, "typeName": { - "id": 988, + "id": 480, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14232:7:1", + "src": "14657:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5971,20 +5971,20 @@ "visibility": "internal" } ], - "src": "14220:22:1" + "src": "14645:22:0" }, "returnParameters": { - "id": 993, + "id": 485, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 992, + "id": 484, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14266:7:1", + "scope": 510, + "src": "14691:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5992,10 +5992,10 @@ "typeString": "uint256" }, "typeName": { - "id": 991, + "id": 483, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14266:7:1", + "src": "14691:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6004,19 +6004,19 @@ "visibility": "internal" } ], - "src": "14265:9:1" + "src": "14690:9:0" }, - "scope": 1135, - "src": "14208:215:1", + "scope": 627, + "src": "14633:220:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1039, + "id": 531, "nodeType": "Block", - "src": "14954:83:1", + "src": "15398:86:0", "statements": [ { "expression": { @@ -6026,18 +6026,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1031, + "id": 523, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1029, + "id": 521, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "14972:1:1", + "referencedDeclaration": 515, + "src": "15417:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6047,21 +6047,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1030, + "id": 522, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14976:1:1", + "src": "15421:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14972:5:1", + "src": "15417:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6069,14 +6069,14 @@ }, { "hexValue": "536166654d6174683a206469766973696f6e206279207a65726f", - "id": 1032, + "id": 524, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14979:28:1", + "src": "15424:28:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5b7cc70dda4dc2143e5adb63bd5d1f349504f461dbdfd9bc76fac1f8ca6d019f", "typeString": "literal_string \"SafeMath: division by zero\"" @@ -6095,7 +6095,7 @@ "typeString": "literal_string \"SafeMath: division by zero\"" } ], - "id": 1028, + "id": 520, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6103,13 +6103,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14964:7:1", + "src": "15409:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1033, + "id": 525, "isConstant": false, "isLValue": false, "isPure": false, @@ -6117,16 +6117,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14964:44:1", + "src": "15409:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1034, + "id": 526, "nodeType": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "expression": { @@ -6134,18 +6134,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1037, + "id": 529, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1035, + "id": 527, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1021, - "src": "15025:1:1", + "referencedDeclaration": 513, + "src": "15471:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6154,54 +6154,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1036, + "id": 528, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "15029:1:1", + "referencedDeclaration": 515, + "src": "15475:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15025:5:1", + "src": "15471:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1027, - "id": 1038, + "functionReturnParameters": 519, + "id": 530, "nodeType": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ] }, "documentation": { - "id": 1019, + "id": 511, "nodeType": "StructuredDocumentation", - "src": "14429:453:1", + "src": "14861:464:0", "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1040, + "id": 532, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1024, + "id": 516, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1021, + "id": 513, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14900:9:1", + "scope": 532, + "src": "15344:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6209,10 +6209,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1020, + "id": 512, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14900:7:1", + "src": "15344:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6222,12 +6222,12 @@ }, { "constant": false, - "id": 1023, + "id": 515, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14911:9:1", + "scope": 532, + "src": "15355:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6235,10 +6235,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1022, + "id": 514, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14911:7:1", + "src": "15355:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6247,20 +6247,20 @@ "visibility": "internal" } ], - "src": "14899:22:1" + "src": "15343:22:0" }, "returnParameters": { - "id": 1027, + "id": 519, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1026, + "id": 518, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14945:7:1", + "scope": 532, + "src": "15389:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6268,10 +6268,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1025, + "id": 517, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14945:7:1", + "src": "15389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6280,19 +6280,19 @@ "visibility": "internal" } ], - "src": "14944:9:1" + "src": "15388:9:0" }, - "scope": 1135, - "src": "14887:150:1", + "scope": 627, + "src": "15331:153:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1061, + "id": 553, "nodeType": "Block", - "src": "15557:81:1", + "src": "16018:84:0", "statements": [ { "expression": { @@ -6302,18 +6302,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1053, + "id": 545, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1051, + "id": 543, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15575:1:1", + "referencedDeclaration": 537, + "src": "16037:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6323,21 +6323,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1052, + "id": 544, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15579:1:1", + "src": "16041:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "15575:5:1", + "src": "16037:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6345,14 +6345,14 @@ }, { "hexValue": "536166654d6174683a206d6f64756c6f206279207a65726f", - "id": 1054, + "id": 546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "15582:26:1", + "src": "16044:26:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_726e51f7b81fce0a68f5f214f445e275313b20b1633f08ce954ee39abf8d7832", "typeString": "literal_string \"SafeMath: modulo by zero\"" @@ -6371,7 +6371,7 @@ "typeString": "literal_string \"SafeMath: modulo by zero\"" } ], - "id": 1050, + "id": 542, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6379,13 +6379,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "15567:7:1", + "src": "16029:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1055, + "id": 547, "isConstant": false, "isLValue": false, "isPure": false, @@ -6393,16 +6393,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15567:42:1", + "src": "16029:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1056, + "id": 548, "nodeType": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "expression": { @@ -6410,18 +6410,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1059, + "id": 551, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1057, + "id": 549, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1043, - "src": "15626:1:1", + "referencedDeclaration": 535, + "src": "16089:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6430,54 +6430,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1058, + "id": 550, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15630:1:1", + "referencedDeclaration": 537, + "src": "16093:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15626:5:1", + "src": "16089:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1049, - "id": 1060, + "functionReturnParameters": 541, + "id": 552, "nodeType": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ] }, "documentation": { - "id": 1041, + "id": 533, "nodeType": "StructuredDocumentation", - "src": "15043:442:1", + "src": "15492:453:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1062, + "id": 554, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1046, + "id": 538, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1043, + "id": 535, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15503:9:1", + "scope": 554, + "src": "15964:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6485,10 +6485,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1042, + "id": 534, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15503:7:1", + "src": "15964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6498,12 +6498,12 @@ }, { "constant": false, - "id": 1045, + "id": 537, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15514:9:1", + "scope": 554, + "src": "15975:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6511,10 +6511,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1044, + "id": 536, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15514:7:1", + "src": "15975:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6523,20 +6523,20 @@ "visibility": "internal" } ], - "src": "15502:22:1" + "src": "15963:22:0" }, "returnParameters": { - "id": 1049, + "id": 541, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1048, + "id": 540, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15548:7:1", + "scope": 554, + "src": "16009:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6544,10 +6544,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1047, + "id": 539, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15548:7:1", + "src": "16009:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6556,19 +6556,19 @@ "visibility": "internal" } ], - "src": "15547:9:1" + "src": "16008:9:0" }, - "scope": 1135, - "src": "15490:148:1", + "scope": 627, + "src": "15951:151:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1085, + "id": 577, "nodeType": "Block", - "src": "16197:68:1", + "src": "16676:71:0", "statements": [ { "expression": { @@ -6578,18 +6578,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1077, + "id": 569, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1075, + "id": 567, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16215:1:1", + "referencedDeclaration": 559, + "src": "16695:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6598,30 +6598,30 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 1076, + "id": 568, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16220:1:1", + "referencedDeclaration": 557, + "src": "16700:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16215:6:1", + "src": "16695:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1078, + "id": 570, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1069, - "src": "16223:12:1", + "referencedDeclaration": 561, + "src": "16703:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6639,7 +6639,7 @@ "typeString": "string memory" } ], - "id": 1074, + "id": 566, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6647,13 +6647,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "16207:7:1", + "src": "16687:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1079, + "id": 571, "isConstant": false, "isLValue": false, "isPure": false, @@ -6661,16 +6661,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16207:29:1", + "src": "16687:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1080, + "id": 572, "nodeType": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "expression": { @@ -6678,18 +6678,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1083, + "id": 575, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1081, + "id": 573, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16253:1:1", + "referencedDeclaration": 557, + "src": "16734:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6698,54 +6698,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 1082, + "id": 574, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16257:1:1", + "referencedDeclaration": 559, + "src": "16738:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16253:5:1", + "src": "16734:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1073, - "id": 1084, + "functionReturnParameters": 565, + "id": 576, "nodeType": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ] }, "documentation": { - "id": 1063, + "id": 555, "nodeType": "StructuredDocumentation", - "src": "15644:453:1", + "src": "16110:465:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1086, + "id": 578, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 1070, + "id": 562, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1065, + "id": 557, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16115:9:1", + "scope": 578, + "src": "16594:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6753,10 +6753,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1064, + "id": 556, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16115:7:1", + "src": "16594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6766,12 +6766,12 @@ }, { "constant": false, - "id": 1067, + "id": 559, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16126:9:1", + "scope": 578, + "src": "16605:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6779,10 +6779,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1066, + "id": 558, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16126:7:1", + "src": "16605:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6792,12 +6792,12 @@ }, { "constant": false, - "id": 1069, + "id": 561, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16137:26:1", + "scope": 578, + "src": "16616:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -6805,10 +6805,10 @@ "typeString": "string" }, "typeName": { - "id": 1068, + "id": 560, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16137:6:1", + "src": "16616:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -6817,20 +6817,20 @@ "visibility": "internal" } ], - "src": "16114:50:1" + "src": "16593:50:0" }, "returnParameters": { - "id": 1073, + "id": 565, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1072, + "id": 564, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16188:7:1", + "scope": 578, + "src": "16667:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6838,10 +6838,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1071, + "id": 563, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16188:7:1", + "src": "16667:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6850,19 +6850,19 @@ "visibility": "internal" } ], - "src": "16187:9:1" + "src": "16666:9:0" }, - "scope": 1135, - "src": "16102:163:1", + "scope": 627, + "src": "16581:166:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1109, + "id": 601, "nodeType": "Block", - "src": "17017:67:1", + "src": "17516:70:0", "statements": [ { "expression": { @@ -6872,18 +6872,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1101, + "id": 593, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1099, + "id": 591, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17035:1:1", + "referencedDeclaration": 583, + "src": "17535:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6893,33 +6893,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1100, + "id": 592, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17039:1:1", + "src": "17539:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17035:5:1", + "src": "17535:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1102, + "id": 594, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1093, - "src": "17042:12:1", + "referencedDeclaration": 585, + "src": "17542:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6937,7 +6937,7 @@ "typeString": "string memory" } ], - "id": 1098, + "id": 590, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6945,13 +6945,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17027:7:1", + "src": "17527:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1103, + "id": 595, "isConstant": false, "isLValue": false, "isPure": false, @@ -6959,16 +6959,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17027:28:1", + "src": "17527:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1104, + "id": 596, "nodeType": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "expression": { @@ -6976,18 +6976,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1107, + "id": 599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1105, + "id": 597, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1089, - "src": "17072:1:1", + "referencedDeclaration": 581, + "src": "17573:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6996,54 +6996,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1106, + "id": 598, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17076:1:1", + "referencedDeclaration": 583, + "src": "17577:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17072:5:1", + "src": "17573:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1097, - "id": 1108, + "functionReturnParameters": 589, + "id": 600, "nodeType": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ] }, "documentation": { - "id": 1087, + "id": 579, "nodeType": "StructuredDocumentation", - "src": "16271:646:1", + "src": "16755:660:0", "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1110, + "id": 602, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1094, + "id": 586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1089, + "id": 581, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16935:9:1", + "scope": 602, + "src": "17434:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7051,10 +7051,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1088, + "id": 580, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16935:7:1", + "src": "17434:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7064,12 +7064,12 @@ }, { "constant": false, - "id": 1091, + "id": 583, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16946:9:1", + "scope": 602, + "src": "17445:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7077,10 +7077,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1090, + "id": 582, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16946:7:1", + "src": "17445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7090,12 +7090,12 @@ }, { "constant": false, - "id": 1093, + "id": 585, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16957:26:1", + "scope": 602, + "src": "17456:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7103,10 +7103,10 @@ "typeString": "string" }, "typeName": { - "id": 1092, + "id": 584, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16957:6:1", + "src": "17456:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7115,20 +7115,20 @@ "visibility": "internal" } ], - "src": "16934:50:1" + "src": "17433:50:0" }, "returnParameters": { - "id": 1097, + "id": 589, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1096, + "id": 588, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "17008:7:1", + "scope": 602, + "src": "17507:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7136,10 +7136,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1095, + "id": 587, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17008:7:1", + "src": "17507:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7148,19 +7148,19 @@ "visibility": "internal" } ], - "src": "17007:9:1" + "src": "17506:9:0" }, - "scope": 1135, - "src": "16922:162:1", + "scope": 627, + "src": "17421:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1133, + "id": 625, "nodeType": "Block", - "src": "17825:67:1", + "src": "18344:70:0", "statements": [ { "expression": { @@ -7170,18 +7170,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1125, + "id": 617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1123, + "id": 615, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17843:1:1", + "referencedDeclaration": 607, + "src": "18363:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7191,33 +7191,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1124, + "id": 616, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17847:1:1", + "src": "18367:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17843:5:1", + "src": "18363:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1126, + "id": 618, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1117, - "src": "17850:12:1", + "referencedDeclaration": 609, + "src": "18370:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7235,7 +7235,7 @@ "typeString": "string memory" } ], - "id": 1122, + "id": 614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7243,13 +7243,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17835:7:1", + "src": "18355:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1127, + "id": 619, "isConstant": false, "isLValue": false, "isPure": false, @@ -7257,16 +7257,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17835:28:1", + "src": "18355:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1128, + "id": 620, "nodeType": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "expression": { @@ -7274,18 +7274,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1131, + "id": 623, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1129, + "id": 621, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1113, - "src": "17880:1:1", + "referencedDeclaration": 605, + "src": "18401:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7294,54 +7294,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1130, + "id": 622, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17884:1:1", + "referencedDeclaration": 607, + "src": "18405:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17880:5:1", + "src": "18401:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1121, - "id": 1132, + "functionReturnParameters": 613, + "id": 624, "nodeType": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ] }, "documentation": { - "id": 1111, + "id": 603, "nodeType": "StructuredDocumentation", - "src": "17090:635:1", + "src": "17594:649:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1134, + "id": 626, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1118, + "id": 610, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1113, + "id": 605, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17743:9:1", + "scope": 626, + "src": "18262:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7349,10 +7349,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1112, + "id": 604, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17743:7:1", + "src": "18262:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7362,12 +7362,12 @@ }, { "constant": false, - "id": 1115, + "id": 607, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17754:9:1", + "scope": 626, + "src": "18273:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7375,10 +7375,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1114, + "id": 606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17754:7:1", + "src": "18273:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7388,12 +7388,12 @@ }, { "constant": false, - "id": 1117, + "id": 609, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17765:26:1", + "scope": 626, + "src": "18284:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7401,10 +7401,10 @@ "typeString": "string" }, "typeName": { - "id": 1116, + "id": 608, "name": "string", "nodeType": "ElementaryTypeName", - "src": "17765:6:1", + "src": "18284:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7413,20 +7413,20 @@ "visibility": "internal" } ], - "src": "17742:50:1" + "src": "18261:50:0" }, "returnParameters": { - "id": 1121, + "id": 613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1120, + "id": 612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17816:7:1", + "scope": 626, + "src": "18335:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7434,10 +7434,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1119, + "id": 611, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17816:7:1", + "src": "18335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7446,20 +7446,20 @@ "visibility": "internal" } ], - "src": "17815:9:1" + "src": "18334:9:0" }, - "scope": 1135, - "src": "17730:162:1", + "scope": 627, + "src": "18249:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "11300:6594:1" + "scope": 2991, + "src": "11627:6790:0" }, { - "id": 1136, + "id": 628, "literals": [ "solidity", ">=", @@ -7470,7 +7470,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "abstract": false, @@ -7478,38 +7478,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1137, + "id": 629, "nodeType": "StructuredDocumentation", - "src": "17980:67:1", + "src": "18508:69:0", "text": " @dev Collection of functions related to the address type" }, "fullyImplemented": true, - "id": 1430, + "id": 922, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1153, + "id": 645, "nodeType": "Block", - "src": "18706:347:1", + "src": "19255:356:0", "statements": [ { "assignments": [ - 1146 + 638 ], "declarations": [ { "constant": false, - "id": 1146, + "id": 638, "mutability": "mutable", "name": "size", "nodeType": "VariableDeclaration", - "scope": 1153, - "src": "18903:12:1", + "scope": 645, + "src": "19457:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7517,10 +7517,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1145, + "id": 637, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "18903:7:1", + "src": "19457:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7529,39 +7529,39 @@ "visibility": "internal" } ], - "id": 1147, + "id": 639, "nodeType": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "AST": { "nodeType": "YulBlock", - "src": "18990:32:1", + "src": "19546:32:0", "statements": [ { "nodeType": "YulAssignment", - "src": "18992:28:1", + "src": "19548:28:0", "value": { "arguments": [ { "name": "account", "nodeType": "YulIdentifier", - "src": "19012:7:1" + "src": "19568:7:0" } ], "functionName": { "name": "extcodesize", "nodeType": "YulIdentifier", - "src": "19000:11:1" + "src": "19556:11:0" }, "nodeType": "YulFunctionCall", - "src": "19000:20:1" + "src": "19556:20:0" }, "variableNames": [ { "name": "size", "nodeType": "YulIdentifier", - "src": "18992:4:1" + "src": "19548:4:0" } ] } @@ -7570,23 +7570,23 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], - "id": 1148, + "id": 640, "nodeType": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "expression": { @@ -7594,18 +7594,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1151, + "id": 643, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1149, + "id": 641, "name": "size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1146, - "src": "19038:4:1", + "referencedDeclaration": 638, + "src": "19595:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7615,57 +7615,57 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1150, + "id": 642, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19045:1:1", + "src": "19602:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "19038:8:1", + "src": "19595:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1144, - "id": 1152, + "functionReturnParameters": 636, + "id": 644, "nodeType": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ] }, "documentation": { - "id": 1138, + "id": 630, "nodeType": "StructuredDocumentation", - "src": "18070:565:1", + "src": "18602:581:0", "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1154, + "id": 646, "implemented": true, "kind": "function", "modifiers": [], "name": "isContract", "nodeType": "FunctionDefinition", "parameters": { - "id": 1141, + "id": 633, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1140, + "id": 632, "mutability": "mutable", "name": "account", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18660:15:1", + "scope": 646, + "src": "19209:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7673,10 +7673,10 @@ "typeString": "address" }, "typeName": { - "id": 1139, + "id": 631, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18660:7:1", + "src": "19209:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -7686,20 +7686,20 @@ "visibility": "internal" } ], - "src": "18659:17:1" + "src": "19208:17:0" }, "returnParameters": { - "id": 1144, + "id": 636, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1143, + "id": 635, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18700:4:1", + "scope": 646, + "src": "19249:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7707,10 +7707,10 @@ "typeString": "bool" }, "typeName": { - "id": 1142, + "id": 634, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "18700:4:1", + "src": "19249:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7719,19 +7719,19 @@ "visibility": "internal" } ], - "src": "18699:6:1" + "src": "19248:6:0" }, - "scope": 1430, - "src": "18640:413:1", + "scope": 922, + "src": "19189:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1187, + "id": 679, "nodeType": "Block", - "src": "20041:320:1", + "src": "20617:326:0", "statements": [ { "expression": { @@ -7741,7 +7741,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1169, + "id": 661, "isConstant": false, "isLValue": false, "isPure": false, @@ -7750,14 +7750,14 @@ "expression": { "arguments": [ { - "id": 1165, + "id": 657, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "20067:4:1", + "src": "20644:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -7765,30 +7765,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1164, + "id": 656, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1163, + "id": 655, "name": "address", "nodeType": "ElementaryTypeName", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": {} } }, - "id": 1166, + "id": 658, "isConstant": false, "isLValue": false, "isPure": false, @@ -7796,21 +7796,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20059:13:1", + "src": "20636:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1167, + "id": 659, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "20059:21:1", + "src": "20636:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7819,18 +7819,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1168, + "id": 660, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20084:6:1", + "referencedDeclaration": 651, + "src": "20661:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "20059:31:1", + "src": "20636:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7838,14 +7838,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e6365", - "id": 1170, + "id": 662, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20092:31:1", + "src": "20669:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9", "typeString": "literal_string \"Address: insufficient balance\"" @@ -7864,7 +7864,7 @@ "typeString": "literal_string \"Address: insufficient balance\"" } ], - "id": 1162, + "id": 654, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7872,13 +7872,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20051:7:1", + "src": "20628:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1171, + "id": 663, "isConstant": false, "isLValue": false, "isPure": false, @@ -7886,31 +7886,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20051:73:1", + "src": "20628:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1172, + "id": 664, "nodeType": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "assignments": [ - 1174, + 666, null ], "declarations": [ { "constant": false, - "id": 1174, + "id": 666, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1187, - "src": "20213:12:1", + "scope": 679, + "src": "20793:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7918,10 +7918,10 @@ "typeString": "bool" }, "typeName": { - "id": 1173, + "id": 665, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "20213:4:1", + "src": "20793:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7931,19 +7931,19 @@ }, null ], - "id": 1181, + "id": 673, "initialValue": { "arguments": [ { "hexValue": "", - "id": 1179, + "id": 671, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20263:2:1", + "src": "20843:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -7966,31 +7966,31 @@ } ], "expression": { - "id": 1175, + "id": 667, "name": "recipient", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1157, - "src": "20231:9:1", + "referencedDeclaration": 649, + "src": "20811:9:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 1176, + "id": 668, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "20231:14:1", + "src": "20811:14:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1178, + "id": 670, "isConstant": false, "isLValue": false, "isPure": false, @@ -8001,25 +8001,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1177, + "id": 669, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20254:6:1", + "referencedDeclaration": 651, + "src": "20834:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "20231:31:1", + "src": "20811:31:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1180, + "id": 672, "isConstant": false, "isLValue": false, "isPure": false, @@ -8027,7 +8027,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20231:35:1", + "src": "20811:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -8035,18 +8035,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "expression": { "arguments": [ { - "id": 1183, + "id": 675, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1174, - "src": "20284:7:1", + "referencedDeclaration": 666, + "src": "20865:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8054,14 +8054,14 @@ }, { "hexValue": "416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564", - "id": 1184, + "id": 676, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20293:60:1", + "src": "20874:60:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae", "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" @@ -8080,7 +8080,7 @@ "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" } ], - "id": 1182, + "id": 674, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -8088,13 +8088,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20276:7:1", + "src": "20857:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1185, + "id": 677, "isConstant": false, "isLValue": false, "isPure": false, @@ -8102,43 +8102,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20276:78:1", + "src": "20857:78:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1186, + "id": 678, "nodeType": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ] }, "documentation": { - "id": 1155, + "id": 647, "nodeType": "StructuredDocumentation", - "src": "19059:906:1", + "src": "19619:921:0", "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1188, + "id": 680, "implemented": true, "kind": "function", "modifiers": [], "name": "sendValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1160, + "id": 652, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1157, + "id": 649, "mutability": "mutable", "name": "recipient", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "19989:25:1", + "scope": 680, + "src": "20565:25:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8146,10 +8146,10 @@ "typeString": "address payable" }, "typeName": { - "id": 1156, + "id": 648, "name": "address", "nodeType": "ElementaryTypeName", - "src": "19989:15:1", + "src": "20565:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -8160,12 +8160,12 @@ }, { "constant": false, - "id": 1159, + "id": 651, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "20016:14:1", + "scope": 680, + "src": "20592:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8173,10 +8173,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1158, + "id": 650, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "20016:7:1", + "src": "20592:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8185,48 +8185,48 @@ "visibility": "internal" } ], - "src": "19988:43:1" + "src": "20564:43:0" }, "returnParameters": { - "id": 1161, + "id": 653, "nodeType": "ParameterList", "parameters": [], - "src": "20041:0:1" + "src": "20617:0:0" }, - "scope": 1430, - "src": "19970:391:1", + "scope": 922, + "src": "20546:397:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1204, + "id": 696, "nodeType": "Block", - "src": "21191:82:1", + "src": "21793:84:0", "statements": [ { "expression": { "arguments": [ { - "id": 1199, + "id": 691, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1191, - "src": "21219:6:1", + "referencedDeclaration": 683, + "src": "21822:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1200, + "id": 692, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1193, - "src": "21227:4:1", + "referencedDeclaration": 685, + "src": "21830:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8234,14 +8234,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564", - "id": 1201, + "id": 693, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "21233:32:1", + "src": "21836:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", "typeString": "literal_string \"Address: low-level call failed\"" @@ -8264,21 +8264,21 @@ "typeString": "literal_string \"Address: low-level call failed\"" } ], - "id": 1198, + "id": 690, "name": "functionCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, - "src": "21206:12:1", + "referencedDeclaration": 717, + "src": "21809:12:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1202, + "id": 694, "isConstant": false, "isLValue": false, "isPure": false, @@ -8286,44 +8286,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21206:60:1", + "src": "21809:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1197, - "id": 1203, + "functionReturnParameters": 689, + "id": 695, "nodeType": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ] }, "documentation": { - "id": 1189, + "id": 681, "nodeType": "StructuredDocumentation", - "src": "20367:730:1", + "src": "20951:747:0", "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1205, + "id": 697, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1194, + "id": 686, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1191, + "id": 683, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21124:14:1", + "scope": 697, + "src": "21726:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8331,10 +8331,10 @@ "typeString": "address" }, "typeName": { - "id": 1190, + "id": 682, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21124:7:1", + "src": "21726:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8345,12 +8345,12 @@ }, { "constant": false, - "id": 1193, + "id": 685, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21140:17:1", + "scope": 697, + "src": "21742:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8358,10 +8358,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1192, + "id": 684, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21140:5:1", + "src": "21742:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8370,20 +8370,20 @@ "visibility": "internal" } ], - "src": "21123:35:1" + "src": "21725:35:0" }, "returnParameters": { - "id": 1197, + "id": 689, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1196, + "id": 688, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21177:12:1", + "scope": 697, + "src": "21779:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8391,10 +8391,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1195, + "id": 687, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21177:5:1", + "src": "21779:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8403,42 +8403,42 @@ "visibility": "internal" } ], - "src": "21176:14:1" + "src": "21778:14:0" }, - "scope": 1430, - "src": "21102:171:1", + "scope": 922, + "src": "21704:173:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1224, + "id": 716, "nodeType": "Block", - "src": "21612:76:1", + "src": "22224:78:0", "statements": [ { "expression": { "arguments": [ { - "id": 1218, + "id": 710, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1208, - "src": "21651:6:1", + "referencedDeclaration": 700, + "src": "22264:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1219, + "id": 711, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1210, - "src": "21659:4:1", + "referencedDeclaration": 702, + "src": "22272:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8446,14 +8446,14 @@ }, { "hexValue": "30", - "id": 1220, + "id": 712, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "21665:1:1", + "src": "22278:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -8461,12 +8461,12 @@ "value": "0" }, { - "id": 1221, + "id": 713, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1212, - "src": "21668:12:1", + "referencedDeclaration": 704, + "src": "22281:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -8492,21 +8492,21 @@ "typeString": "string memory" } ], - "id": 1217, + "id": 709, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "21629:21:1", + "referencedDeclaration": 787, + "src": "22242:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1222, + "id": 714, "isConstant": false, "isLValue": false, "isPure": false, @@ -8514,44 +8514,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21629:52:1", + "src": "22242:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1216, - "id": 1223, + "functionReturnParameters": 708, + "id": 715, "nodeType": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ] }, "documentation": { - "id": 1206, + "id": 698, "nodeType": "StructuredDocumentation", - "src": "21279:211:1", + "src": "21885:216:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1225, + "id": 717, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1213, + "id": 705, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1208, + "id": 700, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21517:14:1", + "scope": 717, + "src": "22129:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8559,10 +8559,10 @@ "typeString": "address" }, "typeName": { - "id": 1207, + "id": 699, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21517:7:1", + "src": "22129:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8573,12 +8573,12 @@ }, { "constant": false, - "id": 1210, + "id": 702, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21533:17:1", + "scope": 717, + "src": "22145:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8586,10 +8586,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1209, + "id": 701, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21533:5:1", + "src": "22145:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8599,12 +8599,12 @@ }, { "constant": false, - "id": 1212, + "id": 704, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21552:26:1", + "scope": 717, + "src": "22164:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8612,10 +8612,10 @@ "typeString": "string" }, "typeName": { - "id": 1211, + "id": 703, "name": "string", "nodeType": "ElementaryTypeName", - "src": "21552:6:1", + "src": "22164:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -8624,20 +8624,20 @@ "visibility": "internal" } ], - "src": "21516:63:1" + "src": "22128:63:0" }, "returnParameters": { - "id": 1216, + "id": 708, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1215, + "id": 707, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21598:12:1", + "scope": 717, + "src": "22210:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8645,10 +8645,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1214, + "id": 706, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21598:5:1", + "src": "22210:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8657,54 +8657,54 @@ "visibility": "internal" } ], - "src": "21597:14:1" + "src": "22209:14:0" }, - "scope": 1430, - "src": "21495:193:1", + "scope": 922, + "src": "22107:195:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1244, + "id": 736, "nodeType": "Block", - "src": "22163:111:1", + "src": "22790:113:0", "statements": [ { "expression": { "arguments": [ { - "id": 1238, + "id": 730, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1228, - "src": "22202:6:1", + "referencedDeclaration": 720, + "src": "22830:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1239, + "id": 731, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1230, - "src": "22210:4:1", + "referencedDeclaration": 722, + "src": "22838:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1240, + "id": 732, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1232, - "src": "22216:5:1", + "referencedDeclaration": 724, + "src": "22844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8712,14 +8712,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564", - "id": 1241, + "id": 733, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22223:43:1", + "src": "22851:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc", "typeString": "literal_string \"Address: low-level call with value failed\"" @@ -8746,21 +8746,21 @@ "typeString": "literal_string \"Address: low-level call with value failed\"" } ], - "id": 1237, + "id": 729, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "22180:21:1", + "referencedDeclaration": 787, + "src": "22808:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1242, + "id": 734, "isConstant": false, "isLValue": false, "isPure": false, @@ -8768,44 +8768,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22180:87:1", + "src": "22808:87:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1236, - "id": 1243, + "functionReturnParameters": 728, + "id": 735, "nodeType": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ] }, "documentation": { - "id": 1226, + "id": 718, "nodeType": "StructuredDocumentation", - "src": "21694:351:1", + "src": "22310:361:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1245, + "id": 737, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1233, + "id": 725, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1228, + "id": 720, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22081:14:1", + "scope": 737, + "src": "22708:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8813,10 +8813,10 @@ "typeString": "address" }, "typeName": { - "id": 1227, + "id": 719, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22081:7:1", + "src": "22708:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8827,12 +8827,12 @@ }, { "constant": false, - "id": 1230, + "id": 722, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22097:17:1", + "scope": 737, + "src": "22724:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8840,10 +8840,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1229, + "id": 721, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22097:5:1", + "src": "22724:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8853,12 +8853,12 @@ }, { "constant": false, - "id": 1232, + "id": 724, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22116:13:1", + "scope": 737, + "src": "22743:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8866,10 +8866,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1231, + "id": 723, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22116:7:1", + "src": "22743:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8878,20 +8878,20 @@ "visibility": "internal" } ], - "src": "22080:50:1" + "src": "22707:50:0" }, "returnParameters": { - "id": 1236, + "id": 728, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1235, + "id": 727, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22149:12:1", + "scope": 737, + "src": "22776:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8899,10 +8899,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1234, + "id": 726, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22149:5:1", + "src": "22776:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8911,19 +8911,19 @@ "visibility": "internal" } ], - "src": "22148:14:1" + "src": "22775:14:0" }, - "scope": 1430, - "src": "22050:224:1", + "scope": 922, + "src": "22677:226:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1294, + "id": 786, "nodeType": "Block", - "src": "22663:382:1", + "src": "23300:389:0", "statements": [ { "expression": { @@ -8933,7 +8933,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1266, + "id": 758, "isConstant": false, "isLValue": false, "isPure": false, @@ -8942,14 +8942,14 @@ "expression": { "arguments": [ { - "id": 1262, + "id": 754, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "22689:4:1", + "src": "23327:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -8957,30 +8957,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1261, + "id": 753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1260, + "id": 752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": {} } }, - "id": 1263, + "id": 755, "isConstant": false, "isLValue": false, "isPure": false, @@ -8988,21 +8988,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22681:13:1", + "src": "23319:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1264, + "id": 756, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "22681:21:1", + "src": "23319:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9011,18 +9011,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1265, + "id": 757, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22706:5:1", + "referencedDeclaration": 744, + "src": "23344:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "22681:30:1", + "src": "23319:30:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9030,14 +9030,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c", - "id": 1267, + "id": 759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22713:40:1", + "src": "23351:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c", "typeString": "literal_string \"Address: insufficient balance for call\"" @@ -9056,7 +9056,7 @@ "typeString": "literal_string \"Address: insufficient balance for call\"" } ], - "id": 1259, + "id": 751, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9064,13 +9064,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22673:7:1", + "src": "23311:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1268, + "id": 760, "isConstant": false, "isLValue": false, "isPure": false, @@ -9078,16 +9078,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22673:81:1", + "src": "23311:81:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1269, + "id": 761, "nodeType": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "expression": { @@ -9095,12 +9095,12 @@ { "arguments": [ { - "id": 1272, + "id": 764, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22783:6:1", + "referencedDeclaration": 740, + "src": "23422:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9114,18 +9114,18 @@ "typeString": "address" } ], - "id": 1271, + "id": 763, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "22772:10:1", + "referencedDeclaration": 646, + "src": "23411:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1273, + "id": 765, "isConstant": false, "isLValue": false, "isPure": false, @@ -9133,7 +9133,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22772:18:1", + "src": "23411:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9142,14 +9142,14 @@ }, { "hexValue": "416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1274, + "id": 766, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22792:31:1", + "src": "23431:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad", "typeString": "literal_string \"Address: call to non-contract\"" @@ -9168,7 +9168,7 @@ "typeString": "literal_string \"Address: call to non-contract\"" } ], - "id": 1270, + "id": 762, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9176,13 +9176,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22764:7:1", + "src": "23403:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1275, + "id": 767, "isConstant": false, "isLValue": false, "isPure": false, @@ -9190,31 +9190,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22764:60:1", + "src": "23403:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1276, + "id": 768, "nodeType": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "assignments": [ - 1278, - 1280 + 770, + 772 ], "declarations": [ { "constant": false, - "id": 1278, + "id": 770, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22895:12:1", + "scope": 786, + "src": "23537:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9222,10 +9222,10 @@ "typeString": "bool" }, "typeName": { - "id": 1277, + "id": 769, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "22895:4:1", + "src": "23537:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9235,12 +9235,12 @@ }, { "constant": false, - "id": 1280, + "id": 772, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22909:23:1", + "scope": 786, + "src": "23551:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9248,10 +9248,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1279, + "id": 771, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22909:5:1", + "src": "23551:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9260,16 +9260,16 @@ "visibility": "internal" } ], - "id": 1287, + "id": 779, "initialValue": { "arguments": [ { - "id": 1285, + "id": 777, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1250, - "src": "22964:4:1", + "referencedDeclaration": 742, + "src": "23606:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9291,31 +9291,31 @@ } ], "expression": { - "id": 1281, + "id": 773, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22936:6:1", + "referencedDeclaration": 740, + "src": "23578:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1282, + "id": 774, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "22936:11:1", + "src": "23578:11:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1284, + "id": 776, "isConstant": false, "isLValue": false, "isPure": false, @@ -9326,25 +9326,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1283, + "id": 775, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22956:5:1", + "referencedDeclaration": 744, + "src": "23598:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "22936:27:1", + "src": "23578:27:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1286, + "id": 778, "isConstant": false, "isLValue": false, "isPure": false, @@ -9352,7 +9352,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22936:33:1", + "src": "23578:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -9360,42 +9360,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "expression": { "arguments": [ { - "id": 1289, + "id": 781, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1278, - "src": "23004:7:1", + "referencedDeclaration": 770, + "src": "23647:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1290, + "id": 782, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1280, - "src": "23013:10:1", + "referencedDeclaration": 772, + "src": "23656:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1291, + "id": 783, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1254, - "src": "23025:12:1", + "referencedDeclaration": 746, + "src": "23668:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -9417,18 +9417,18 @@ "typeString": "string memory" } ], - "id": 1288, + "id": 780, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "22986:17:1", + "referencedDeclaration": 921, + "src": "23629:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1292, + "id": 784, "isConstant": false, "isLValue": false, "isPure": false, @@ -9436,44 +9436,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22986:52:1", + "src": "23629:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1258, - "id": 1293, + "functionReturnParameters": 750, + "id": 785, "nodeType": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ] }, "documentation": { - "id": 1246, + "id": 738, "nodeType": "StructuredDocumentation", - "src": "22280:237:1", + "src": "22911:242:0", "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1295, + "id": 787, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1255, + "id": 747, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1248, + "id": 740, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22553:14:1", + "scope": 787, + "src": "23190:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9481,10 +9481,10 @@ "typeString": "address" }, "typeName": { - "id": 1247, + "id": 739, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22553:7:1", + "src": "23190:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9495,12 +9495,12 @@ }, { "constant": false, - "id": 1250, + "id": 742, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22569:17:1", + "scope": 787, + "src": "23206:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9508,10 +9508,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1249, + "id": 741, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22569:5:1", + "src": "23206:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9521,12 +9521,12 @@ }, { "constant": false, - "id": 1252, + "id": 744, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22588:13:1", + "scope": 787, + "src": "23225:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9534,10 +9534,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1251, + "id": 743, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22588:7:1", + "src": "23225:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9547,12 +9547,12 @@ }, { "constant": false, - "id": 1254, + "id": 746, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22603:26:1", + "scope": 787, + "src": "23240:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9560,10 +9560,10 @@ "typeString": "string" }, "typeName": { - "id": 1253, + "id": 745, "name": "string", "nodeType": "ElementaryTypeName", - "src": "22603:6:1", + "src": "23240:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -9572,20 +9572,20 @@ "visibility": "internal" } ], - "src": "22552:78:1" + "src": "23189:78:0" }, "returnParameters": { - "id": 1258, + "id": 750, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1257, + "id": 749, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22649:12:1", + "scope": 787, + "src": "23286:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9593,10 +9593,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1256, + "id": 748, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22649:5:1", + "src": "23286:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9605,42 +9605,42 @@ "visibility": "internal" } ], - "src": "22648:14:1" + "src": "23285:14:0" }, - "scope": 1430, - "src": "22522:523:1", + "scope": 922, + "src": "23159:530:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1311, + "id": 803, "nodeType": "Block", - "src": "23322:97:1", + "src": "23974:99:0", "statements": [ { "expression": { "arguments": [ { - "id": 1306, + "id": 798, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1298, - "src": "23358:6:1", + "referencedDeclaration": 790, + "src": "24011:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1307, + "id": 799, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1300, - "src": "23366:4:1", + "referencedDeclaration": 792, + "src": "24019:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9648,14 +9648,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564", - "id": 1308, + "id": 800, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23372:39:1", + "src": "24025:39:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0", "typeString": "literal_string \"Address: low-level static call failed\"" @@ -9678,21 +9678,21 @@ "typeString": "literal_string \"Address: low-level static call failed\"" } ], - "id": 1305, + "id": 797, "name": "functionStaticCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, - "src": "23339:18:1", + "referencedDeclaration": 839, + "src": "23992:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) view returns (bytes memory)" } }, - "id": 1309, + "id": 801, "isConstant": false, "isLValue": false, "isPure": false, @@ -9700,44 +9700,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23339:73:1", + "src": "23992:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1304, - "id": 1310, + "functionReturnParameters": 796, + "id": 802, "nodeType": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ] }, "documentation": { - "id": 1296, + "id": 788, "nodeType": "StructuredDocumentation", - "src": "23051:166:1", + "src": "23697:171:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1312, + "id": 804, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1301, + "id": 793, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1298, + "id": 790, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23250:14:1", + "scope": 804, + "src": "23902:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9745,10 +9745,10 @@ "typeString": "address" }, "typeName": { - "id": 1297, + "id": 789, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23250:7:1", + "src": "23902:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9759,12 +9759,12 @@ }, { "constant": false, - "id": 1300, + "id": 792, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23266:17:1", + "scope": 804, + "src": "23918:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9772,10 +9772,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1299, + "id": 791, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23266:5:1", + "src": "23918:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9784,20 +9784,20 @@ "visibility": "internal" } ], - "src": "23249:35:1" + "src": "23901:35:0" }, "returnParameters": { - "id": 1304, + "id": 796, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1303, + "id": 795, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23308:12:1", + "scope": 804, + "src": "23960:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9805,10 +9805,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1302, + "id": 794, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23308:5:1", + "src": "23960:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9817,19 +9817,19 @@ "visibility": "internal" } ], - "src": "23307:14:1" + "src": "23959:14:0" }, - "scope": 1430, - "src": "23222:197:1", + "scope": 922, + "src": "23874:199:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1346, + "id": 838, "nodeType": "Block", - "src": "23731:288:1", + "src": "24393:294:0", "statements": [ { "expression": { @@ -9837,12 +9837,12 @@ { "arguments": [ { - "id": 1326, + "id": 818, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23760:6:1", + "referencedDeclaration": 807, + "src": "24423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9856,18 +9856,18 @@ "typeString": "address" } ], - "id": 1325, + "id": 817, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "23749:10:1", + "referencedDeclaration": 646, + "src": "24412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1327, + "id": 819, "isConstant": false, "isLValue": false, "isPure": false, @@ -9875,7 +9875,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23749:18:1", + "src": "24412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9884,14 +9884,14 @@ }, { "hexValue": "416464726573733a207374617469632063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1328, + "id": 820, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23769:38:1", + "src": "24432:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c79cc78e4f16ce3933a42b84c73868f93bb4a59c031a0acf576679de98c608a9", "typeString": "literal_string \"Address: static call to non-contract\"" @@ -9910,7 +9910,7 @@ "typeString": "literal_string \"Address: static call to non-contract\"" } ], - "id": 1324, + "id": 816, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9918,13 +9918,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "23741:7:1", + "src": "24404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1329, + "id": 821, "isConstant": false, "isLValue": false, "isPure": false, @@ -9932,31 +9932,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23741:67:1", + "src": "24404:67:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1330, + "id": 822, "nodeType": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "assignments": [ - 1332, - 1334 + 824, + 826 ], "declarations": [ { "constant": false, - "id": 1332, + "id": 824, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23879:12:1", + "scope": 838, + "src": "24545:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9964,10 +9964,10 @@ "typeString": "bool" }, "typeName": { - "id": 1331, + "id": 823, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "23879:4:1", + "src": "24545:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9977,12 +9977,12 @@ }, { "constant": false, - "id": 1334, + "id": 826, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23893:23:1", + "scope": 838, + "src": "24559:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9990,10 +9990,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1333, + "id": 825, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23893:5:1", + "src": "24559:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10002,16 +10002,16 @@ "visibility": "internal" } ], - "id": 1339, + "id": 831, "initialValue": { "arguments": [ { - "id": 1337, + "id": 829, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1317, - "src": "23938:4:1", + "referencedDeclaration": 809, + "src": "24604:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10026,31 +10026,31 @@ } ], "expression": { - "id": 1335, + "id": 827, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23920:6:1", + "referencedDeclaration": 807, + "src": "24586:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1336, + "id": 828, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "staticcall", "nodeType": "MemberAccess", - "src": "23920:17:1", + "src": "24586:17:0", "typeDescriptions": { "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) view returns (bool,bytes memory)" } }, - "id": 1338, + "id": 830, "isConstant": false, "isLValue": false, "isPure": false, @@ -10058,7 +10058,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23920:23:1", + "src": "24586:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10066,42 +10066,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "expression": { "arguments": [ { - "id": 1341, + "id": 833, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "23978:7:1", + "referencedDeclaration": 824, + "src": "24645:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1342, + "id": 834, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1334, - "src": "23987:10:1", + "referencedDeclaration": 826, + "src": "24654:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1343, + "id": 835, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1319, - "src": "23999:12:1", + "referencedDeclaration": 811, + "src": "24666:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10123,18 +10123,18 @@ "typeString": "string memory" } ], - "id": 1340, + "id": 832, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "23960:17:1", + "referencedDeclaration": 921, + "src": "24627:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1344, + "id": 836, "isConstant": false, "isLValue": false, "isPure": false, @@ -10142,44 +10142,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23960:52:1", + "src": "24627:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1323, - "id": 1345, + "functionReturnParameters": 815, + "id": 837, "nodeType": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ] }, "documentation": { - "id": 1313, + "id": 805, "nodeType": "StructuredDocumentation", - "src": "23425:173:1", + "src": "24081:178:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1347, + "id": 839, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1320, + "id": 812, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1315, + "id": 807, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23631:14:1", + "scope": 839, + "src": "24293:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10187,10 +10187,10 @@ "typeString": "address" }, "typeName": { - "id": 1314, + "id": 806, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23631:7:1", + "src": "24293:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10201,12 +10201,12 @@ }, { "constant": false, - "id": 1317, + "id": 809, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23647:17:1", + "scope": 839, + "src": "24309:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10214,10 +10214,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1316, + "id": 808, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23647:5:1", + "src": "24309:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10227,12 +10227,12 @@ }, { "constant": false, - "id": 1319, + "id": 811, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23666:26:1", + "scope": 839, + "src": "24328:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10240,10 +10240,10 @@ "typeString": "string" }, "typeName": { - "id": 1318, + "id": 810, "name": "string", "nodeType": "ElementaryTypeName", - "src": "23666:6:1", + "src": "24328:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10252,20 +10252,20 @@ "visibility": "internal" } ], - "src": "23630:63:1" + "src": "24292:63:0" }, "returnParameters": { - "id": 1323, + "id": 815, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1322, + "id": 814, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23717:12:1", + "scope": 839, + "src": "24379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10273,10 +10273,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1321, + "id": 813, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23717:5:1", + "src": "24379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10285,42 +10285,42 @@ "visibility": "internal" } ], - "src": "23716:14:1" + "src": "24378:14:0" }, - "scope": 1430, - "src": "23603:416:1", + "scope": 922, + "src": "24265:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1363, + "id": 855, "nodeType": "Block", - "src": "24295:101:1", + "src": "24971:103:0", "statements": [ { "expression": { "arguments": [ { - "id": 1358, + "id": 850, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1350, - "src": "24333:6:1", + "referencedDeclaration": 842, + "src": "25010:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1359, + "id": 851, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1352, - "src": "24341:4:1", + "referencedDeclaration": 844, + "src": "25018:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10328,14 +10328,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564", - "id": 1360, + "id": 852, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24347:41:1", + "src": "25024:41:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398", "typeString": "literal_string \"Address: low-level delegate call failed\"" @@ -10358,21 +10358,21 @@ "typeString": "literal_string \"Address: low-level delegate call failed\"" } ], - "id": 1357, + "id": 849, "name": "functionDelegateCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, - "src": "24312:20:1", + "referencedDeclaration": 891, + "src": "24989:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1361, + "id": 853, "isConstant": false, "isLValue": false, "isPure": false, @@ -10380,44 +10380,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24312:77:1", + "src": "24989:77:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1356, - "id": 1362, + "functionReturnParameters": 848, + "id": 854, "nodeType": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ] }, "documentation": { - "id": 1348, + "id": 840, "nodeType": "StructuredDocumentation", - "src": "24025:168:1", + "src": "24695:173:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1364, + "id": 856, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1353, + "id": 845, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1350, + "id": 842, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24228:14:1", + "scope": 856, + "src": "24904:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10425,10 +10425,10 @@ "typeString": "address" }, "typeName": { - "id": 1349, + "id": 841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24228:7:1", + "src": "24904:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10439,12 +10439,12 @@ }, { "constant": false, - "id": 1352, + "id": 844, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24244:17:1", + "scope": 856, + "src": "24920:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10452,10 +10452,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1351, + "id": 843, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24244:5:1", + "src": "24920:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10464,20 +10464,20 @@ "visibility": "internal" } ], - "src": "24227:35:1" + "src": "24903:35:0" }, "returnParameters": { - "id": 1356, + "id": 848, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1355, + "id": 847, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24281:12:1", + "scope": 856, + "src": "24957:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10485,10 +10485,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1354, + "id": 846, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24281:5:1", + "src": "24957:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10497,19 +10497,19 @@ "visibility": "internal" } ], - "src": "24280:14:1" + "src": "24956:14:0" }, - "scope": 1430, - "src": "24198:198:1", + "scope": 922, + "src": "24874:200:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1398, + "id": 890, "nodeType": "Block", - "src": "24707:292:1", + "src": "25393:298:0", "statements": [ { "expression": { @@ -10517,12 +10517,12 @@ { "arguments": [ { - "id": 1378, + "id": 870, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24736:6:1", + "referencedDeclaration": 859, + "src": "25423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10536,18 +10536,18 @@ "typeString": "address" } ], - "id": 1377, + "id": 869, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "24725:10:1", + "referencedDeclaration": 646, + "src": "25412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1379, + "id": 871, "isConstant": false, "isLValue": false, "isPure": false, @@ -10555,7 +10555,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24725:18:1", + "src": "25412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10564,14 +10564,14 @@ }, { "hexValue": "416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1380, + "id": 872, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24745:40:1", + "src": "25432:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b94ded0918034cf8f896e19fa3cfdef1188cd569c577264a3622e49152f88520", "typeString": "literal_string \"Address: delegate call to non-contract\"" @@ -10590,7 +10590,7 @@ "typeString": "literal_string \"Address: delegate call to non-contract\"" } ], - "id": 1376, + "id": 868, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -10598,13 +10598,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "24717:7:1", + "src": "25404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1381, + "id": 873, "isConstant": false, "isLValue": false, "isPure": false, @@ -10612,31 +10612,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24717:69:1", + "src": "25404:69:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1382, + "id": 874, "nodeType": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "assignments": [ - 1384, - 1386 + 876, + 878 ], "declarations": [ { "constant": false, - "id": 1384, + "id": 876, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24857:12:1", + "scope": 890, + "src": "25547:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10644,10 +10644,10 @@ "typeString": "bool" }, "typeName": { - "id": 1383, + "id": 875, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "24857:4:1", + "src": "25547:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10657,12 +10657,12 @@ }, { "constant": false, - "id": 1386, + "id": 878, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24871:23:1", + "scope": 890, + "src": "25561:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10670,10 +10670,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1385, + "id": 877, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24871:5:1", + "src": "25561:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10682,16 +10682,16 @@ "visibility": "internal" } ], - "id": 1391, + "id": 883, "initialValue": { "arguments": [ { - "id": 1389, + "id": 881, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1369, - "src": "24918:4:1", + "referencedDeclaration": 861, + "src": "25608:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10706,31 +10706,31 @@ } ], "expression": { - "id": 1387, + "id": 879, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24898:6:1", + "referencedDeclaration": 859, + "src": "25588:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1388, + "id": 880, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "delegatecall", "nodeType": "MemberAccess", - "src": "24898:19:1", + "src": "25588:19:0", "typeDescriptions": { "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) returns (bool,bytes memory)" } }, - "id": 1390, + "id": 882, "isConstant": false, "isLValue": false, "isPure": false, @@ -10738,7 +10738,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24898:25:1", + "src": "25588:25:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10746,42 +10746,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "expression": { "arguments": [ { - "id": 1393, + "id": 885, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1384, - "src": "24958:7:1", + "referencedDeclaration": 876, + "src": "25649:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1394, + "id": 886, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1386, - "src": "24967:10:1", + "referencedDeclaration": 878, + "src": "25658:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1395, + "id": 887, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1371, - "src": "24979:12:1", + "referencedDeclaration": 863, + "src": "25670:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10803,18 +10803,18 @@ "typeString": "string memory" } ], - "id": 1392, + "id": 884, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "24940:17:1", + "referencedDeclaration": 921, + "src": "25631:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1396, + "id": 888, "isConstant": false, "isLValue": false, "isPure": false, @@ -10822,44 +10822,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24940:52:1", + "src": "25631:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1375, - "id": 1397, + "functionReturnParameters": 867, + "id": 889, "nodeType": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ] }, "documentation": { - "id": 1365, + "id": 857, "nodeType": "StructuredDocumentation", - "src": "24402:175:1", + "src": "25082:180:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1399, + "id": 891, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1372, + "id": 864, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1367, + "id": 859, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24612:14:1", + "scope": 891, + "src": "25298:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10867,10 +10867,10 @@ "typeString": "address" }, "typeName": { - "id": 1366, + "id": 858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24612:7:1", + "src": "25298:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10881,12 +10881,12 @@ }, { "constant": false, - "id": 1369, + "id": 861, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24628:17:1", + "scope": 891, + "src": "25314:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10894,10 +10894,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1368, + "id": 860, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24628:5:1", + "src": "25314:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10907,12 +10907,12 @@ }, { "constant": false, - "id": 1371, + "id": 863, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24647:26:1", + "scope": 891, + "src": "25333:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10920,10 +10920,10 @@ "typeString": "string" }, "typeName": { - "id": 1370, + "id": 862, "name": "string", "nodeType": "ElementaryTypeName", - "src": "24647:6:1", + "src": "25333:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10932,20 +10932,20 @@ "visibility": "internal" } ], - "src": "24611:63:1" + "src": "25297:63:0" }, "returnParameters": { - "id": 1375, + "id": 867, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1374, + "id": 866, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24693:12:1", + "scope": 891, + "src": "25379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10953,10 +10953,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1373, + "id": 865, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24693:5:1", + "src": "25379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10965,37 +10965,37 @@ "visibility": "internal" } ], - "src": "24692:14:1" + "src": "25378:14:0" }, - "scope": 1430, - "src": "24582:417:1", + "scope": 922, + "src": "25268:423:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1428, + "id": 920, "nodeType": "Block", - "src": "25134:596:1", + "src": "25828:613:0", "statements": [ { "condition": { - "id": 1410, + "id": 902, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1401, - "src": "25148:7:1", + "referencedDeclaration": 893, + "src": "25843:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1426, + "id": 918, "nodeType": "Block", - "src": "25205:519:1", + "src": "25902:532:0", "statements": [ { "condition": { @@ -11003,32 +11003,32 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1417, + "id": 909, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1414, + "id": 906, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25289:10:1", + "referencedDeclaration": 895, + "src": "25988:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1415, + "id": 907, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "25289:17:1", + "src": "25988:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11038,41 +11038,41 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1416, + "id": 908, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "25309:1:1", + "src": "26008:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "25289:21:1", + "src": "25988:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1424, + "id": 916, "nodeType": "Block", - "src": "25661:53:1", + "src": "26368:55:0", "statements": [ { "expression": { "arguments": [ { - "id": 1421, + "id": 913, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1405, - "src": "25686:12:1", + "referencedDeclaration": 897, + "src": "26394:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -11086,7 +11086,7 @@ "typeString": "string memory" } ], - "id": 1420, + "id": 912, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -11094,13 +11094,13 @@ 4294967277 ], "referencedDeclaration": 4294967277, - "src": "25679:6:1", + "src": "26387:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", "typeString": "function (string memory) pure" } }, - "id": 1422, + "id": 914, "isConstant": false, "isLValue": false, "isPure": false, @@ -11108,56 +11108,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "25679:20:1", + "src": "26387:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1423, + "id": 915, "nodeType": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ] }, - "id": 1425, + "id": 917, "nodeType": "IfStatement", - "src": "25285:429:1", + "src": "25984:439:0", "trueBody": { - "id": 1419, + "id": 911, "nodeType": "Block", - "src": "25312:343:1", + "src": "26011:351:0", "statements": [ { "AST": { "nodeType": "YulBlock", - "src": "25496:145:1", + "src": "26199:148:0", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "25518:40:1", + "src": "26222:40:0", "value": { "arguments": [ { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25547:10:1" + "src": "26251:10:0" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "25541:5:1" + "src": "26245:5:0" }, "nodeType": "YulFunctionCall", - "src": "25541:17:1" + "src": "26245:17:0" }, "variables": [ { "name": "returndata_size", "nodeType": "YulTypedName", - "src": "25522:15:1", + "src": "26226:15:0", "type": "" } ] @@ -11170,118 +11170,118 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "25590:2:1", + "src": "26295:2:0", "type": "", "value": "32" }, { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25594:10:1" + "src": "26299:10:0" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "25586:3:1" + "src": "26291:3:0" }, "nodeType": "YulFunctionCall", - "src": "25586:19:1" + "src": "26291:19:0" }, { "name": "returndata_size", "nodeType": "YulIdentifier", - "src": "25607:15:1" + "src": "26312:15:0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "25579:6:1" + "src": "26284:6:0" }, "nodeType": "YulFunctionCall", - "src": "25579:44:1" + "src": "26284:44:0" }, "nodeType": "YulExpressionStatement", - "src": "25579:44:1" + "src": "26284:44:0" } ] }, "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], - "id": 1418, + "id": 910, "nodeType": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ] } } ] }, - "id": 1427, + "id": 919, "nodeType": "IfStatement", - "src": "25144:580:1", + "src": "25839:595:0", "trueBody": { - "id": 1413, + "id": 905, "nodeType": "Block", - "src": "25157:42:1", + "src": "25852:44:0", "statements": [ { "expression": { - "id": 1411, + "id": 903, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25178:10:1", + "referencedDeclaration": 895, + "src": "25874:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1409, - "id": 1412, + "functionReturnParameters": 901, + "id": 904, "nodeType": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ] } } ] }, - "id": 1429, + "id": 921, "implemented": true, "kind": "function", "modifiers": [], "name": "_verifyCallResult", "nodeType": "FunctionDefinition", "parameters": { - "id": 1406, + "id": 898, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1401, + "id": 893, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25032:12:1", + "scope": 921, + "src": "25726:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11289,10 +11289,10 @@ "typeString": "bool" }, "typeName": { - "id": 1400, + "id": 892, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "25032:4:1", + "src": "25726:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11302,12 +11302,12 @@ }, { "constant": false, - "id": 1403, + "id": 895, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25046:23:1", + "scope": 921, + "src": "25740:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11315,10 +11315,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1402, + "id": 894, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25046:5:1", + "src": "25740:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11328,12 +11328,12 @@ }, { "constant": false, - "id": 1405, + "id": 897, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25071:26:1", + "scope": 921, + "src": "25765:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11341,10 +11341,10 @@ "typeString": "string" }, "typeName": { - "id": 1404, + "id": 896, "name": "string", "nodeType": "ElementaryTypeName", - "src": "25071:6:1", + "src": "25765:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11353,20 +11353,20 @@ "visibility": "internal" } ], - "src": "25031:67:1" + "src": "25725:67:0" }, "returnParameters": { - "id": 1409, + "id": 901, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1408, + "id": 900, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25120:12:1", + "scope": 921, + "src": "25814:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11374,10 +11374,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1407, + "id": 899, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25120:5:1", + "src": "25814:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11386,20 +11386,20 @@ "visibility": "internal" } ], - "src": "25119:14:1" + "src": "25813:14:0" }, - "scope": 1430, - "src": "25005:725:1", + "scope": 922, + "src": "25699:742:0", "stateMutability": "pure", "virtual": false, "visibility": "private" } ], - "scope": 3499, - "src": "18048:7684:1" + "scope": 2991, + "src": "18579:7865:0" }, { - "id": 1431, + "id": 923, "literals": [ "solidity", ">=", @@ -11410,7 +11410,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "abstract": false, @@ -11418,31 +11418,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1432, + "id": 924, "nodeType": "StructuredDocumentation", - "src": "25824:686:1", + "src": "26541:709:0", "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, "fullyImplemented": true, - "id": 1921, + "id": 1413, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableSet.Set", - "id": 1440, + "id": 932, "members": [ { "constant": false, - "id": 1435, + "id": 927, "mutability": "mutable", "name": "_values", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27033:17:1", + "scope": 932, + "src": "27786:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11451,18 +11451,18 @@ }, "typeName": { "baseType": { - "id": 1433, + "id": 925, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27033:7:1", + "src": "27786:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1434, + "id": 926, "nodeType": "ArrayTypeName", - "src": "27033:9:1", + "src": "27786:9:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", "typeString": "bytes32[]" @@ -11472,12 +11472,12 @@ }, { "constant": false, - "id": 1439, + "id": 931, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27184:37:1", + "scope": 932, + "src": "27941:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11485,28 +11485,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1438, + "id": 930, "keyType": { - "id": 1436, + "id": 928, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27193:7:1", + "src": "27950:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "27184:28:1", + "src": "27941:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1437, + "id": 929, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "27204:7:1", + "src": "27961:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11518,19 +11518,19 @@ ], "name": "Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "26979:249:1", + "scope": 1413, + "src": "27730:256:0", "visibility": "public" }, { "body": { - "id": 1480, + "id": 972, "nodeType": "Block", - "src": "27467:335:1", + "src": "28233:345:0", "statements": [ { "condition": { - "id": 1454, + "id": 946, "isConstant": false, "isLValue": false, "isPure": false, @@ -11538,28 +11538,28 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "27481:22:1", + "src": "28248:22:0", "subExpression": { "arguments": [ { - "id": 1451, + "id": 943, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27492:3:1", + "referencedDeclaration": 935, + "src": "28259:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, { - "id": 1452, + "id": 944, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27497:5:1", + "referencedDeclaration": 937, + "src": "28264:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11569,7 +11569,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -11577,18 +11577,18 @@ "typeString": "bytes32" } ], - "id": 1450, + "id": 942, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "27482:9:1", + "referencedDeclaration": 1071, + "src": "28249:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1453, + "id": 945, "isConstant": false, "isLValue": false, "isPure": false, @@ -11596,7 +11596,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27482:21:1", + "src": "28249:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -11609,52 +11609,52 @@ } }, "falseBody": { - "id": 1478, + "id": 970, "nodeType": "Block", - "src": "27759:37:1", + "src": "28532:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1476, + "id": 968, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27780:5:1", + "src": "28554:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1449, - "id": 1477, + "functionReturnParameters": 941, + "id": 969, "nodeType": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ] }, - "id": 1479, + "id": 971, "nodeType": "IfStatement", - "src": "27477:319:1", + "src": "28244:327:0", "trueBody": { - "id": 1475, + "id": 967, "nodeType": "Block", - "src": "27505:248:1", + "src": "28272:254:0", "statements": [ { "expression": { "arguments": [ { - "id": 1460, + "id": 952, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27536:5:1", + "referencedDeclaration": 937, + "src": "28304:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11670,45 +11670,45 @@ ], "expression": { "expression": { - "id": 1455, + "id": 947, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27519:3:1", + "referencedDeclaration": 935, + "src": "28287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1458, + "id": 950, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27519:11:1", + "referencedDeclaration": 927, + "src": "28287:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1459, + "id": 951, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "27519:16:1", + "src": "28287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_bytes32_$returns$__$", "typeString": "function (bytes32)" } }, - "id": 1461, + "id": 953, "isConstant": false, "isLValue": false, "isPure": false, @@ -11716,20 +11716,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27519:23:1", + "src": "28287:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1462, + "id": 954, "nodeType": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "expression": { - "id": 1471, + "id": 963, "isConstant": false, "isLValue": false, "isPure": false, @@ -11737,39 +11737,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1463, + "id": 955, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27677:3:1", + "referencedDeclaration": 935, + "src": "28448:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1466, + "id": 958, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "27677:12:1", + "referencedDeclaration": 931, + "src": "28448:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1467, + "id": 959, "indexExpression": { - "id": 1465, + "id": 957, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27690:5:1", + "referencedDeclaration": 937, + "src": "28461:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11780,7 +11780,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "27677:19:1", + "src": "28448:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11791,75 +11791,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1468, + "id": 960, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27699:3:1", + "referencedDeclaration": 935, + "src": "28470:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1469, + "id": 961, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27699:11:1", + "referencedDeclaration": 927, + "src": "28470:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1470, + "id": 962, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "27699:18:1", + "src": "28470:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "27677:40:1", + "src": "28448:40:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1472, + "id": 964, "nodeType": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "expression": { "hexValue": "74727565", - "id": 1473, + "id": 965, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27738:4:1", + "src": "28510:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1449, - "id": 1474, + "functionReturnParameters": 941, + "id": 966, "nodeType": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ] } @@ -11867,43 +11867,43 @@ ] }, "documentation": { - "id": 1441, + "id": 933, "nodeType": "StructuredDocumentation", - "src": "27234:159:1", + "src": "27994:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1481, + "id": 973, "implemented": true, "kind": "function", "modifiers": [], "name": "_add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1446, + "id": 938, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1443, + "id": 935, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27412:15:1", + "scope": 973, + "src": "28178:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1442, + "id": 934, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27412:3:1", + "referencedDeclaration": 932, + "src": "28178:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -11911,12 +11911,12 @@ }, { "constant": false, - "id": 1445, + "id": 937, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27429:13:1", + "scope": 973, + "src": "28195:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11924,10 +11924,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1444, + "id": 936, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27429:7:1", + "src": "28195:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11936,20 +11936,20 @@ "visibility": "internal" } ], - "src": "27411:32:1" + "src": "28177:32:0" }, "returnParameters": { - "id": 1449, + "id": 941, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1448, + "id": 940, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27461:4:1", + "scope": 973, + "src": "28227:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11957,10 +11957,10 @@ "typeString": "bool" }, "typeName": { - "id": 1447, + "id": 939, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "27461:4:1", + "src": "28227:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11969,33 +11969,33 @@ "visibility": "internal" } ], - "src": "27460:6:1" + "src": "28226:6:0" }, - "scope": 1921, - "src": "27398:404:1", + "scope": 1413, + "src": "28164:414:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1560, + "id": 1052, "nodeType": "Block", - "src": "28042:1440:1", + "src": "28826:1472:0", "statements": [ { "assignments": [ - 1492 + 984 ], "declarations": [ { "constant": false, - "id": 1492, + "id": 984, "mutability": "mutable", "name": "valueIndex", "nodeType": "VariableDeclaration", - "scope": 1560, - "src": "28152:18:1", + "scope": 1052, + "src": "28938:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12003,10 +12003,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1491, + "id": 983, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28152:7:1", + "src": "28938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12015,43 +12015,43 @@ "visibility": "internal" } ], - "id": 1497, + "id": 989, "initialValue": { "baseExpression": { "expression": { - "id": 1493, + "id": 985, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28173:3:1", + "referencedDeclaration": 976, + "src": "28959:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1494, + "id": 986, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "28173:12:1", + "referencedDeclaration": 931, + "src": "28959:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1496, + "id": 988, "indexExpression": { - "id": 1495, + "id": 987, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "28186:5:1", + "referencedDeclaration": 978, + "src": "28972:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12062,14 +12062,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28173:19:1", + "src": "28959:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "condition": { @@ -12077,18 +12077,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1500, + "id": 992, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1498, + "id": 990, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28207:10:1", + "referencedDeclaration": 984, + "src": "28995:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12098,76 +12098,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1499, + "id": 991, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28221:1:1", + "src": "29009:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "28207:15:1", + "src": "28995:15:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1558, + "id": 1050, "nodeType": "Block", - "src": "29439:37:1", + "src": "30252:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1556, + "id": 1048, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29460:5:1", + "src": "30274:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1490, - "id": 1557, + "functionReturnParameters": 982, + "id": 1049, "nodeType": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ] }, - "id": 1559, + "id": 1051, "nodeType": "IfStatement", - "src": "28203:1273:1", + "src": "28991:1300:0", "trueBody": { - "id": 1555, + "id": 1047, "nodeType": "Block", - "src": "28224:1209:1", + "src": "29012:1234:0", "statements": [ { "assignments": [ - 1502 + 994 ], "declarations": [ { "constant": false, - "id": 1502, + "id": 994, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28564:21:1", + "scope": 1047, + "src": "29357:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12175,10 +12175,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1501, + "id": 993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28564:7:1", + "src": "29357:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12187,24 +12187,24 @@ "visibility": "internal" } ], - "id": 1506, + "id": 998, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1505, + "id": 997, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1503, + "id": 995, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28588:10:1", + "referencedDeclaration": 984, + "src": "29381:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12214,42 +12214,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1504, + "id": 996, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28601:1:1", + "src": "29394:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28588:14:1", + "src": "29381:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "assignments": [ - 1508 + 1000 ], "declarations": [ { "constant": false, - "id": 1508, + "id": 1000, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28616:17:1", + "scope": 1047, + "src": "29410:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12257,10 +12257,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1507, + "id": 999, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28616:7:1", + "src": "29410:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12269,13 +12269,13 @@ "visibility": "internal" } ], - "id": 1514, + "id": 1006, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1513, + "id": 1005, "isConstant": false, "isLValue": false, "isPure": false, @@ -12283,39 +12283,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1509, + "id": 1001, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28636:3:1", + "referencedDeclaration": 976, + "src": "29430:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1510, + "id": 1002, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28636:11:1", + "referencedDeclaration": 927, + "src": "29430:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1511, + "id": 1003, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "28636:18:1", + "src": "29430:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12325,42 +12325,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1512, + "id": 1004, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28657:1:1", + "src": "29451:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28636:22:1", + "src": "29430:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "assignments": [ - 1516 + 1008 ], "declarations": [ { "constant": false, - "id": 1516, + "id": 1008, "mutability": "mutable", "name": "lastvalue", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28898:17:1", + "scope": 1047, + "src": "29697:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12368,10 +12368,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1515, + "id": 1007, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28898:7:1", + "src": "29697:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12380,43 +12380,43 @@ "visibility": "internal" } ], - "id": 1521, + "id": 1013, "initialValue": { "baseExpression": { "expression": { - "id": 1517, + "id": 1009, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28918:3:1", + "referencedDeclaration": 976, + "src": "29717:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1518, + "id": 1010, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28918:11:1", + "referencedDeclaration": 927, + "src": "29717:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1520, + "id": 1012, "indexExpression": { - "id": 1519, + "id": 1011, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1508, - "src": "28930:9:1", + "referencedDeclaration": 1000, + "src": "29729:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12427,18 +12427,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28918:22:1", + "src": "29717:22:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "expression": { - "id": 1528, + "id": 1020, "isConstant": false, "isLValue": false, "isPure": false, @@ -12446,39 +12446,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1522, + "id": 1014, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29032:3:1", + "referencedDeclaration": 976, + "src": "29834:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1525, + "id": 1017, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29032:11:1", + "referencedDeclaration": 927, + "src": "29834:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1526, + "id": 1018, "indexExpression": { - "id": 1524, + "id": 1016, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29044:13:1", + "referencedDeclaration": 994, + "src": "29846:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12489,7 +12489,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29032:26:1", + "src": "29834:26:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12498,30 +12498,30 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1527, + "id": 1019, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29061:9:1", + "referencedDeclaration": 1008, + "src": "29863:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "29032:38:1", + "src": "29834:38:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1529, + "id": 1021, "nodeType": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "expression": { - "id": 1538, + "id": 1030, "isConstant": false, "isLValue": false, "isPure": false, @@ -12529,39 +12529,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1530, + "id": 1022, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29136:3:1", + "referencedDeclaration": 976, + "src": "29940:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1533, + "id": 1025, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29136:12:1", + "referencedDeclaration": 931, + "src": "29940:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1534, + "id": 1026, "indexExpression": { - "id": 1532, + "id": 1024, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29149:9:1", + "referencedDeclaration": 1008, + "src": "29953:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12572,7 +12572,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29136:23:1", + "src": "29940:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12585,18 +12585,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1537, + "id": 1029, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1535, + "id": 1027, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29162:13:1", + "referencedDeclaration": 994, + "src": "29966:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12606,35 +12606,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 1536, + "id": 1028, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29178:1:1", + "src": "29982:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "29162:17:1", + "src": "29966:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "29136:43:1", + "src": "29940:43:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1539, + "id": 1031, "nodeType": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "expression": { @@ -12643,45 +12643,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 1540, + "id": 1032, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29285:3:1", + "referencedDeclaration": 976, + "src": "30092:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1543, + "id": 1035, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29285:11:1", + "referencedDeclaration": 927, + "src": "30092:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1544, + "id": 1036, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "29285:15:1", + "src": "30092:15:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 1545, + "id": 1037, "isConstant": false, "isLValue": false, "isPure": false, @@ -12689,20 +12689,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "29285:17:1", + "src": "30092:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1546, + "id": 1038, "nodeType": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "expression": { - "id": 1551, + "id": 1043, "isConstant": false, "isLValue": false, "isPure": false, @@ -12710,43 +12710,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "29370:26:1", + "src": "30180:26:0", "subExpression": { "baseExpression": { "expression": { - "id": 1547, + "id": 1039, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29377:3:1", + "referencedDeclaration": 976, + "src": "30187:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1548, + "id": 1040, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29377:12:1", + "referencedDeclaration": 931, + "src": "30187:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1550, + "id": 1042, "indexExpression": { - "id": 1549, + "id": 1041, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "29390:5:1", + "referencedDeclaration": 978, + "src": "30200:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12757,7 +12757,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29377:19:1", + "src": "30187:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12768,31 +12768,31 @@ "typeString": "tuple()" } }, - "id": 1552, + "id": 1044, "nodeType": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "expression": { "hexValue": "74727565", - "id": 1553, + "id": 1045, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29418:4:1", + "src": "30230:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1490, - "id": 1554, + "functionReturnParameters": 982, + "id": 1046, "nodeType": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ] } @@ -12800,43 +12800,43 @@ ] }, "documentation": { - "id": 1482, + "id": 974, "nodeType": "StructuredDocumentation", - "src": "27808:157:1", + "src": "28586:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1561, + "id": 1053, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1487, + "id": 979, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1484, + "id": 976, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "27987:15:1", + "scope": 1053, + "src": "28771:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1483, + "id": 975, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27987:3:1", + "referencedDeclaration": 932, + "src": "28771:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -12844,12 +12844,12 @@ }, { "constant": false, - "id": 1486, + "id": 978, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28004:13:1", + "scope": 1053, + "src": "28788:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12857,10 +12857,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1485, + "id": 977, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28004:7:1", + "src": "28788:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12869,20 +12869,20 @@ "visibility": "internal" } ], - "src": "27986:32:1" + "src": "28770:32:0" }, "returnParameters": { - "id": 1490, + "id": 982, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1489, + "id": 981, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28036:4:1", + "scope": 1053, + "src": "28820:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12890,10 +12890,10 @@ "typeString": "bool" }, "typeName": { - "id": 1488, + "id": 980, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "28036:4:1", + "src": "28820:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12902,19 +12902,19 @@ "visibility": "internal" } ], - "src": "28035:6:1" + "src": "28819:6:0" }, - "scope": 1921, - "src": "27970:1512:1", + "scope": 1413, + "src": "28754:1544:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1578, + "id": 1070, "nodeType": "Block", - "src": "29642:48:1", + "src": "30463:50:0", "statements": [ { "expression": { @@ -12922,7 +12922,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1576, + "id": 1068, "isConstant": false, "isLValue": false, "isPure": false, @@ -12930,39 +12930,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 1571, + "id": 1063, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1564, - "src": "29659:3:1", + "referencedDeclaration": 1056, + "src": "30481:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1572, + "id": 1064, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29659:12:1", + "referencedDeclaration": 931, + "src": "30481:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1574, + "id": 1066, "indexExpression": { - "id": 1573, + "id": 1065, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1566, - "src": "29672:5:1", + "referencedDeclaration": 1058, + "src": "30494:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12973,7 +12973,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "29659:19:1", + "src": "30481:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12983,71 +12983,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1575, + "id": 1067, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29682:1:1", + "src": "30504:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "29659:24:1", + "src": "30481:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1570, - "id": 1577, + "functionReturnParameters": 1062, + "id": 1069, "nodeType": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ] }, "documentation": { - "id": 1562, + "id": 1054, "nodeType": "StructuredDocumentation", - "src": "29488:70:1", + "src": "30306:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1579, + "id": 1071, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1567, + "id": 1059, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1564, + "id": 1056, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29582:15:1", + "scope": 1071, + "src": "30403:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1563, + "id": 1055, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29582:3:1", + "referencedDeclaration": 932, + "src": "30403:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13055,12 +13055,12 @@ }, { "constant": false, - "id": 1566, + "id": 1058, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29599:13:1", + "scope": 1071, + "src": "30420:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13068,10 +13068,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1565, + "id": 1057, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "29599:7:1", + "src": "30420:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13080,20 +13080,20 @@ "visibility": "internal" } ], - "src": "29581:32:1" + "src": "30402:32:0" }, "returnParameters": { - "id": 1570, + "id": 1062, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1569, + "id": 1061, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29636:4:1", + "scope": 1071, + "src": "30457:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13101,10 +13101,10 @@ "typeString": "bool" }, "typeName": { - "id": 1568, + "id": 1060, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "29636:4:1", + "src": "30457:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13113,127 +13113,127 @@ "visibility": "internal" } ], - "src": "29635:6:1" + "src": "30456:6:0" }, - "scope": 1921, - "src": "29563:127:1", + "scope": 1413, + "src": "30384:129:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1591, + "id": 1083, "nodeType": "Block", - "src": "29836:42:1", + "src": "30664:44:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 1587, + "id": 1079, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1582, - "src": "29853:3:1", + "referencedDeclaration": 1074, + "src": "30682:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1588, + "id": 1080, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29853:11:1", + "referencedDeclaration": 927, + "src": "30682:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1589, + "id": 1081, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "29853:18:1", + "src": "30682:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1586, - "id": 1590, + "functionReturnParameters": 1078, + "id": 1082, "nodeType": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ] }, "documentation": { - "id": 1580, + "id": 1072, "nodeType": "StructuredDocumentation", - "src": "29696:70:1", + "src": "30521:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1592, + "id": 1084, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1583, + "id": 1075, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1582, + "id": 1074, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29788:15:1", + "scope": 1084, + "src": "30616:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1581, + "id": 1073, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29788:3:1", + "referencedDeclaration": 932, + "src": "30616:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, "visibility": "internal" } ], - "src": "29787:17:1" + "src": "30615:17:0" }, "returnParameters": { - "id": 1586, + "id": 1078, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1585, + "id": 1077, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29827:7:1", + "scope": 1084, + "src": "30655:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13241,10 +13241,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1584, + "id": 1076, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "29827:7:1", + "src": "30655:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13253,19 +13253,19 @@ "visibility": "internal" } ], - "src": "29826:9:1" + "src": "30654:9:0" }, - "scope": 1921, - "src": "29771:107:1", + "scope": 1413, + "src": "30599:109:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1616, + "id": 1108, "nodeType": "Block", - "src": "30286:125:1", + "src": "31128:128:0", "statements": [ { "expression": { @@ -13275,7 +13275,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1607, + "id": 1099, "isConstant": false, "isLValue": false, "isPure": false, @@ -13283,39 +13283,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1603, + "id": 1095, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30304:3:1", + "referencedDeclaration": 1087, + "src": "31147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1604, + "id": 1096, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30304:11:1", + "referencedDeclaration": 927, + "src": "31147:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1605, + "id": 1097, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "30304:18:1", + "src": "31147:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13324,18 +13324,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 1606, + "id": 1098, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30325:5:1", + "referencedDeclaration": 1089, + "src": "31168:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "30304:26:1", + "src": "31147:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13343,14 +13343,14 @@ }, { "hexValue": "456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473", - "id": 1608, + "id": 1100, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "30332:36:1", + "src": "31175:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_045d6834e6193a687012a3ad777f612279e549b6945364d9d2324f48610d3cbb", "typeString": "literal_string \"EnumerableSet: index out of bounds\"" @@ -13369,7 +13369,7 @@ "typeString": "literal_string \"EnumerableSet: index out of bounds\"" } ], - "id": 1602, + "id": 1094, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -13377,13 +13377,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "30296:7:1", + "src": "31139:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1609, + "id": 1101, "isConstant": false, "isLValue": false, "isPure": false, @@ -13391,54 +13391,54 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30296:73:1", + "src": "31139:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1610, + "id": 1102, "nodeType": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "expression": { "baseExpression": { "expression": { - "id": 1611, + "id": 1103, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30386:3:1", + "referencedDeclaration": 1087, + "src": "31230:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1612, + "id": 1104, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30386:11:1", + "referencedDeclaration": 927, + "src": "31230:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1614, + "id": 1106, "indexExpression": { - "id": 1613, + "id": 1105, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30398:5:1", + "referencedDeclaration": 1089, + "src": "31242:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13449,57 +13449,57 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "30386:18:1", + "src": "31230:18:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1601, - "id": 1615, + "functionReturnParameters": 1093, + "id": 1107, "nodeType": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ] }, "documentation": { - "id": 1593, + "id": 1085, "nodeType": "StructuredDocumentation", - "src": "29883:322:1", + "src": "30715:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1617, + "id": 1109, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1598, + "id": 1090, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1595, + "id": 1087, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30223:15:1", + "scope": 1109, + "src": "31065:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1594, + "id": 1086, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30223:3:1", + "referencedDeclaration": 932, + "src": "31065:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13507,12 +13507,12 @@ }, { "constant": false, - "id": 1597, + "id": 1089, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30240:13:1", + "scope": 1109, + "src": "31082:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13520,10 +13520,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1596, + "id": 1088, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "30240:7:1", + "src": "31082:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13532,20 +13532,20 @@ "visibility": "internal" } ], - "src": "30222:32:1" + "src": "31064:32:0" }, "returnParameters": { - "id": 1601, + "id": 1093, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1600, + "id": 1092, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30277:7:1", + "scope": 1109, + "src": "31119:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13553,10 +13553,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1599, + "id": 1091, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30277:7:1", + "src": "31119:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13565,40 +13565,40 @@ "visibility": "internal" } ], - "src": "30276:9:1" + "src": "31118:9:0" }, - "scope": 1921, - "src": "30210:201:1", + "scope": 1413, + "src": "31052:204:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableSet.Bytes32Set", - "id": 1620, + "id": 1112, "members": [ { "constant": false, - "id": 1619, + "id": 1111, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1620, - "src": "30464:10:1", + "scope": 1112, + "src": "31314:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1618, + "id": 1110, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30464:3:1", + "referencedDeclaration": 932, + "src": "31314:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13607,53 +13607,53 @@ ], "name": "Bytes32Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "30436:45:1", + "scope": 1413, + "src": "31285:47:0", "visibility": "public" }, { "body": { - "id": 1636, + "id": 1128, "nodeType": "Block", - "src": "30727:47:1", + "src": "31586:49:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1631, + "id": 1123, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1623, - "src": "30749:3:1", + "referencedDeclaration": 1115, + "src": "31609:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1632, + "id": 1124, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "30749:10:1", + "referencedDeclaration": 1111, + "src": "31609:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1633, + "id": 1125, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "30761:5:1", + "referencedDeclaration": 1117, + "src": "31621:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13663,7 +13663,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -13671,18 +13671,18 @@ "typeString": "bytes32" } ], - "id": 1630, + "id": 1122, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "30744:4:1", + "referencedDeclaration": 973, + "src": "31604:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1634, + "id": 1126, "isConstant": false, "isLValue": false, "isPure": false, @@ -13690,58 +13690,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30744:23:1", + "src": "31604:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1629, - "id": 1635, + "functionReturnParameters": 1121, + "id": 1127, "nodeType": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ] }, "documentation": { - "id": 1621, + "id": 1113, "nodeType": "StructuredDocumentation", - "src": "30487:159:1", + "src": "31340:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1637, + "id": 1129, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1626, + "id": 1118, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1623, + "id": 1115, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30664:22:1", + "scope": 1129, + "src": "31523:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1622, + "id": 1114, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30664:10:1", + "referencedDeclaration": 1112, + "src": "31523:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -13749,12 +13749,12 @@ }, { "constant": false, - "id": 1625, + "id": 1117, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30688:13:1", + "scope": 1129, + "src": "31547:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13762,10 +13762,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1624, + "id": 1116, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30688:7:1", + "src": "31547:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13774,20 +13774,20 @@ "visibility": "internal" } ], - "src": "30663:39:1" + "src": "31522:39:0" }, "returnParameters": { - "id": 1629, + "id": 1121, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1628, + "id": 1120, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30721:4:1", + "scope": 1129, + "src": "31580:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13795,10 +13795,10 @@ "typeString": "bool" }, "typeName": { - "id": 1627, + "id": 1119, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "30721:4:1", + "src": "31580:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13807,57 +13807,57 @@ "visibility": "internal" } ], - "src": "30720:6:1" + "src": "31579:6:0" }, - "scope": 1921, - "src": "30651:123:1", + "scope": 1413, + "src": "31510:125:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1653, + "id": 1145, "nodeType": "Block", - "src": "31021:50:1", + "src": "31890:52:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1648, + "id": 1140, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1640, - "src": "31046:3:1", + "referencedDeclaration": 1132, + "src": "31916:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1649, + "id": 1141, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31046:10:1", + "referencedDeclaration": 1111, + "src": "31916:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1650, + "id": 1142, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1642, - "src": "31058:5:1", + "referencedDeclaration": 1134, + "src": "31928:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13867,7 +13867,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -13875,18 +13875,18 @@ "typeString": "bytes32" } ], - "id": 1647, + "id": 1139, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "31038:7:1", + "referencedDeclaration": 1053, + "src": "31908:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1651, + "id": 1143, "isConstant": false, "isLValue": false, "isPure": false, @@ -13894,58 +13894,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31038:26:1", + "src": "31908:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1646, - "id": 1652, + "functionReturnParameters": 1138, + "id": 1144, "nodeType": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ] }, "documentation": { - "id": 1638, + "id": 1130, "nodeType": "StructuredDocumentation", - "src": "30780:157:1", + "src": "31643:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1654, + "id": 1146, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1643, + "id": 1135, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1640, + "id": 1132, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30958:22:1", + "scope": 1146, + "src": "31827:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1639, + "id": 1131, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30958:10:1", + "referencedDeclaration": 1112, + "src": "31827:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -13953,12 +13953,12 @@ }, { "constant": false, - "id": 1642, + "id": 1134, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30982:13:1", + "scope": 1146, + "src": "31851:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13966,10 +13966,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1641, + "id": 1133, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30982:7:1", + "src": "31851:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13978,20 +13978,20 @@ "visibility": "internal" } ], - "src": "30957:39:1" + "src": "31826:39:0" }, "returnParameters": { - "id": 1646, + "id": 1138, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1645, + "id": 1137, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "31015:4:1", + "scope": 1146, + "src": "31884:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13999,10 +13999,10 @@ "typeString": "bool" }, "typeName": { - "id": 1644, + "id": 1136, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31015:4:1", + "src": "31884:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14011,57 +14011,57 @@ "visibility": "internal" } ], - "src": "31014:6:1" + "src": "31883:6:0" }, - "scope": 1921, - "src": "30942:129:1", + "scope": 1413, + "src": "31811:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1670, + "id": 1162, "nodeType": "Block", - "src": "31238:52:1", + "src": "32114:54:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1665, + "id": 1157, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "31265:3:1", + "referencedDeclaration": 1149, + "src": "32142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1666, + "id": 1158, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31265:10:1", + "referencedDeclaration": 1111, + "src": "32142:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1667, + "id": 1159, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1659, - "src": "31277:5:1", + "referencedDeclaration": 1151, + "src": "32154:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14071,7 +14071,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14079,18 +14079,18 @@ "typeString": "bytes32" } ], - "id": 1664, + "id": 1156, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "31255:9:1", + "referencedDeclaration": 1071, + "src": "32132:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1668, + "id": 1160, "isConstant": false, "isLValue": false, "isPure": false, @@ -14098,58 +14098,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31255:28:1", + "src": "32132:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1663, - "id": 1669, + "functionReturnParameters": 1155, + "id": 1161, "nodeType": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ] }, "documentation": { - "id": 1655, + "id": 1147, "nodeType": "StructuredDocumentation", - "src": "31077:70:1", + "src": "31950:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1671, + "id": 1163, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1660, + "id": 1152, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1657, + "id": 1149, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31170:22:1", + "scope": 1163, + "src": "32046:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1656, + "id": 1148, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31170:10:1", + "referencedDeclaration": 1112, + "src": "32046:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14157,12 +14157,12 @@ }, { "constant": false, - "id": 1659, + "id": 1151, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31194:13:1", + "scope": 1163, + "src": "32070:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14170,10 +14170,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1658, + "id": 1150, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31194:7:1", + "src": "32070:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14182,20 +14182,20 @@ "visibility": "internal" } ], - "src": "31169:39:1" + "src": "32045:39:0" }, "returnParameters": { - "id": 1663, + "id": 1155, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1662, + "id": 1154, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31232:4:1", + "scope": 1163, + "src": "32108:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14203,10 +14203,10 @@ "typeString": "bool" }, "typeName": { - "id": 1661, + "id": 1153, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31232:4:1", + "src": "32108:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14215,47 +14215,47 @@ "visibility": "internal" } ], - "src": "31231:6:1" + "src": "32107:6:0" }, - "scope": 1921, - "src": "31152:138:1", + "scope": 1413, + "src": "32028:140:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1684, + "id": 1176, "nodeType": "Block", - "src": "31443:43:1", + "src": "32326:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1680, + "id": 1172, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "31468:3:1", + "referencedDeclaration": 1166, + "src": "32352:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1681, + "id": 1173, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31468:10:1", + "referencedDeclaration": 1111, + "src": "32352:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -14263,22 +14263,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1679, + "id": 1171, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "31460:7:1", + "referencedDeclaration": 1084, + "src": "32344:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1682, + "id": 1174, "isConstant": false, "isLValue": false, "isPure": false, @@ -14286,78 +14286,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31460:19:1", + "src": "32344:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1678, - "id": 1683, + "functionReturnParameters": 1170, + "id": 1175, "nodeType": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ] }, "documentation": { - "id": 1672, + "id": 1164, "nodeType": "StructuredDocumentation", - "src": "31296:70:1", + "src": "32176:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1685, + "id": 1177, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1675, + "id": 1167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1674, + "id": 1166, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31387:22:1", + "scope": 1177, + "src": "32270:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1673, + "id": 1165, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31387:10:1", + "referencedDeclaration": 1112, + "src": "32270:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, "visibility": "internal" } ], - "src": "31386:24:1" + "src": "32269:24:0" }, "returnParameters": { - "id": 1678, + "id": 1170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1677, + "id": 1169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31434:7:1", + "scope": 1177, + "src": "32317:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14365,10 +14365,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1676, + "id": 1168, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31434:7:1", + "src": "32317:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14377,57 +14377,57 @@ "visibility": "internal" } ], - "src": "31433:9:1" + "src": "32316:9:0" }, - "scope": 1921, - "src": "31371:115:1", + "scope": 1413, + "src": "32254:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1701, + "id": 1193, "nodeType": "Block", - "src": "31901:46:1", + "src": "32798:48:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1696, + "id": 1188, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1688, - "src": "31922:3:1", + "referencedDeclaration": 1180, + "src": "32820:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1697, + "id": 1189, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31922:10:1", + "referencedDeclaration": 1111, + "src": "32820:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1698, + "id": 1190, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "31934:5:1", + "referencedDeclaration": 1182, + "src": "32832:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14437,7 +14437,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14445,18 +14445,18 @@ "typeString": "uint256" } ], - "id": 1695, + "id": 1187, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "31918:3:1", + "referencedDeclaration": 1109, + "src": "32816:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1699, + "id": 1191, "isConstant": false, "isLValue": false, "isPure": false, @@ -14464,58 +14464,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31918:22:1", + "src": "32816:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1694, - "id": 1700, + "functionReturnParameters": 1186, + "id": 1192, "nodeType": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ] }, "documentation": { - "id": 1686, + "id": 1178, "nodeType": "StructuredDocumentation", - "src": "31491:322:1", + "src": "32378:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1702, + "id": 1194, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1691, + "id": 1183, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1688, + "id": 1180, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31830:22:1", + "scope": 1194, + "src": "32727:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1687, + "id": 1179, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31830:10:1", + "referencedDeclaration": 1112, + "src": "32727:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14523,12 +14523,12 @@ }, { "constant": false, - "id": 1690, + "id": 1182, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31854:13:1", + "scope": 1194, + "src": "32751:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14536,10 +14536,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1689, + "id": 1181, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31854:7:1", + "src": "32751:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14548,20 +14548,20 @@ "visibility": "internal" } ], - "src": "31829:39:1" + "src": "32726:39:0" }, "returnParameters": { - "id": 1694, + "id": 1186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1693, + "id": 1185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31892:7:1", + "scope": 1194, + "src": "32789:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14569,10 +14569,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1692, + "id": 1184, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31892:7:1", + "src": "32789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14581,40 +14581,40 @@ "visibility": "internal" } ], - "src": "31891:9:1" + "src": "32788:9:0" }, - "scope": 1921, - "src": "31818:129:1", + "scope": 1413, + "src": "32715:131:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.AddressSet", - "id": 1705, + "id": 1197, "members": [ { "constant": false, - "id": 1704, + "id": 1196, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1705, - "src": "32000:10:1", + "scope": 1197, + "src": "32904:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1703, + "id": 1195, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "32000:3:1", + "referencedDeclaration": 932, + "src": "32904:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -14623,43 +14623,43 @@ ], "name": "AddressSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "31972:45:1", + "scope": 1413, + "src": "32875:47:0", "visibility": "public" }, { "body": { - "id": 1730, + "id": 1222, "nodeType": "Block", - "src": "32263:74:1", + "src": "33176:76:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1716, + "id": 1208, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1708, - "src": "32285:3:1", + "referencedDeclaration": 1200, + "src": "33199:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1717, + "id": 1209, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32285:10:1", + "referencedDeclaration": 1196, + "src": "33199:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -14670,12 +14670,12 @@ { "arguments": [ { - "id": 1724, + "id": 1216, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1710, - "src": "32321:5:1", + "referencedDeclaration": 1202, + "src": "33235:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14689,26 +14689,26 @@ "typeString": "address" } ], - "id": 1723, + "id": 1215, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1722, + "id": 1214, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": {} } }, - "id": 1725, + "id": 1217, "isConstant": false, "isLValue": false, "isPure": false, @@ -14716,7 +14716,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32313:14:1", + "src": "33227:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -14731,26 +14731,26 @@ "typeString": "uint160" } ], - "id": 1721, + "id": 1213, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1720, + "id": 1212, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": {} } }, - "id": 1726, + "id": 1218, "isConstant": false, "isLValue": false, "isPure": false, @@ -14758,7 +14758,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32305:23:1", + "src": "33219:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -14773,26 +14773,26 @@ "typeString": "uint256" } ], - "id": 1719, + "id": 1211, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1718, + "id": 1210, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": {} } }, - "id": 1727, + "id": 1219, "isConstant": false, "isLValue": false, "isPure": false, @@ -14800,7 +14800,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32297:32:1", + "src": "33211:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -14811,7 +14811,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14819,18 +14819,18 @@ "typeString": "bytes32" } ], - "id": 1715, + "id": 1207, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "32280:4:1", + "referencedDeclaration": 973, + "src": "33194:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1728, + "id": 1220, "isConstant": false, "isLValue": false, "isPure": false, @@ -14838,58 +14838,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32280:50:1", + "src": "33194:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1714, - "id": 1729, + "functionReturnParameters": 1206, + "id": 1221, "nodeType": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ] }, "documentation": { - "id": 1706, + "id": 1198, "nodeType": "StructuredDocumentation", - "src": "32023:159:1", + "src": "32930:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1731, + "id": 1223, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1711, + "id": 1203, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1708, + "id": 1200, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32200:22:1", + "scope": 1223, + "src": "33113:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1707, + "id": 1199, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32200:10:1", + "referencedDeclaration": 1197, + "src": "33113:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -14897,12 +14897,12 @@ }, { "constant": false, - "id": 1710, + "id": 1202, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32224:13:1", + "scope": 1223, + "src": "33137:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14910,10 +14910,10 @@ "typeString": "address" }, "typeName": { - "id": 1709, + "id": 1201, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32224:7:1", + "src": "33137:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -14923,20 +14923,20 @@ "visibility": "internal" } ], - "src": "32199:39:1" + "src": "33112:39:0" }, "returnParameters": { - "id": 1714, + "id": 1206, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1713, + "id": 1205, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32257:4:1", + "scope": 1223, + "src": "33170:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14944,10 +14944,10 @@ "typeString": "bool" }, "typeName": { - "id": 1712, + "id": 1204, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32257:4:1", + "src": "33170:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14956,47 +14956,47 @@ "visibility": "internal" } ], - "src": "32256:6:1" + "src": "33169:6:0" }, - "scope": 1921, - "src": "32187:150:1", + "scope": 1413, + "src": "33100:152:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1756, + "id": 1248, "nodeType": "Block", - "src": "32584:77:1", + "src": "33507:79:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1742, + "id": 1234, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1734, - "src": "32609:3:1", + "referencedDeclaration": 1226, + "src": "33533:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1743, + "id": 1235, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32609:10:1", + "referencedDeclaration": 1196, + "src": "33533:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15007,12 +15007,12 @@ { "arguments": [ { - "id": 1750, + "id": 1242, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1736, - "src": "32645:5:1", + "referencedDeclaration": 1228, + "src": "33569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15026,26 +15026,26 @@ "typeString": "address" } ], - "id": 1749, + "id": 1241, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1748, + "id": 1240, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": {} } }, - "id": 1751, + "id": 1243, "isConstant": false, "isLValue": false, "isPure": false, @@ -15053,7 +15053,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32637:14:1", + "src": "33561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15068,26 +15068,26 @@ "typeString": "uint160" } ], - "id": 1747, + "id": 1239, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1746, + "id": 1238, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": {} } }, - "id": 1752, + "id": 1244, "isConstant": false, "isLValue": false, "isPure": false, @@ -15095,7 +15095,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32629:23:1", + "src": "33553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15110,26 +15110,26 @@ "typeString": "uint256" } ], - "id": 1745, + "id": 1237, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1744, + "id": 1236, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": {} } }, - "id": 1753, + "id": 1245, "isConstant": false, "isLValue": false, "isPure": false, @@ -15137,7 +15137,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32621:32:1", + "src": "33545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15148,7 +15148,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15156,18 +15156,18 @@ "typeString": "bytes32" } ], - "id": 1741, + "id": 1233, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "32601:7:1", + "referencedDeclaration": 1053, + "src": "33525:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1754, + "id": 1246, "isConstant": false, "isLValue": false, "isPure": false, @@ -15175,58 +15175,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32601:53:1", + "src": "33525:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1740, - "id": 1755, + "functionReturnParameters": 1232, + "id": 1247, "nodeType": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ] }, "documentation": { - "id": 1732, + "id": 1224, "nodeType": "StructuredDocumentation", - "src": "32343:157:1", + "src": "33260:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1757, + "id": 1249, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1737, + "id": 1229, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1734, + "id": 1226, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32521:22:1", + "scope": 1249, + "src": "33444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1733, + "id": 1225, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32521:10:1", + "referencedDeclaration": 1197, + "src": "33444:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15234,12 +15234,12 @@ }, { "constant": false, - "id": 1736, + "id": 1228, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32545:13:1", + "scope": 1249, + "src": "33468:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15247,10 +15247,10 @@ "typeString": "address" }, "typeName": { - "id": 1735, + "id": 1227, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32545:7:1", + "src": "33468:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15260,20 +15260,20 @@ "visibility": "internal" } ], - "src": "32520:39:1" + "src": "33443:39:0" }, "returnParameters": { - "id": 1740, + "id": 1232, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1739, + "id": 1231, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32578:4:1", + "scope": 1249, + "src": "33501:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15281,10 +15281,10 @@ "typeString": "bool" }, "typeName": { - "id": 1738, + "id": 1230, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32578:4:1", + "src": "33501:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15293,47 +15293,47 @@ "visibility": "internal" } ], - "src": "32577:6:1" + "src": "33500:6:0" }, - "scope": 1921, - "src": "32505:156:1", + "scope": 1413, + "src": "33428:158:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1782, + "id": 1274, "nodeType": "Block", - "src": "32828:79:1", + "src": "33758:81:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1768, + "id": 1260, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1760, - "src": "32855:3:1", + "referencedDeclaration": 1252, + "src": "33786:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1769, + "id": 1261, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32855:10:1", + "referencedDeclaration": 1196, + "src": "33786:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15344,12 +15344,12 @@ { "arguments": [ { - "id": 1776, + "id": 1268, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1762, - "src": "32891:5:1", + "referencedDeclaration": 1254, + "src": "33822:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15363,26 +15363,26 @@ "typeString": "address" } ], - "id": 1775, + "id": 1267, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1774, + "id": 1266, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": {} } }, - "id": 1777, + "id": 1269, "isConstant": false, "isLValue": false, "isPure": false, @@ -15390,7 +15390,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32883:14:1", + "src": "33814:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15405,26 +15405,26 @@ "typeString": "uint160" } ], - "id": 1773, + "id": 1265, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1772, + "id": 1264, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": {} } }, - "id": 1778, + "id": 1270, "isConstant": false, "isLValue": false, "isPure": false, @@ -15432,7 +15432,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32875:23:1", + "src": "33806:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15447,26 +15447,26 @@ "typeString": "uint256" } ], - "id": 1771, + "id": 1263, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1770, + "id": 1262, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": {} } }, - "id": 1779, + "id": 1271, "isConstant": false, "isLValue": false, "isPure": false, @@ -15474,7 +15474,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32867:32:1", + "src": "33798:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15485,7 +15485,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15493,18 +15493,18 @@ "typeString": "bytes32" } ], - "id": 1767, + "id": 1259, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "32845:9:1", + "referencedDeclaration": 1071, + "src": "33776:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1780, + "id": 1272, "isConstant": false, "isLValue": false, "isPure": false, @@ -15512,58 +15512,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32845:55:1", + "src": "33776:55:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1766, - "id": 1781, + "functionReturnParameters": 1258, + "id": 1273, "nodeType": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ] }, "documentation": { - "id": 1758, + "id": 1250, "nodeType": "StructuredDocumentation", - "src": "32667:70:1", + "src": "33594:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1783, + "id": 1275, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1763, + "id": 1255, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1760, + "id": 1252, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32760:22:1", + "scope": 1275, + "src": "33690:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1759, + "id": 1251, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32760:10:1", + "referencedDeclaration": 1197, + "src": "33690:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15571,12 +15571,12 @@ }, { "constant": false, - "id": 1762, + "id": 1254, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32784:13:1", + "scope": 1275, + "src": "33714:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15584,10 +15584,10 @@ "typeString": "address" }, "typeName": { - "id": 1761, + "id": 1253, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32784:7:1", + "src": "33714:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15597,20 +15597,20 @@ "visibility": "internal" } ], - "src": "32759:39:1" + "src": "33689:39:0" }, "returnParameters": { - "id": 1766, + "id": 1258, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1765, + "id": 1257, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32822:4:1", + "scope": 1275, + "src": "33752:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15618,10 +15618,10 @@ "typeString": "bool" }, "typeName": { - "id": 1764, + "id": 1256, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32822:4:1", + "src": "33752:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15630,47 +15630,47 @@ "visibility": "internal" } ], - "src": "32821:6:1" + "src": "33751:6:0" }, - "scope": 1921, - "src": "32742:165:1", + "scope": 1413, + "src": "33672:167:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1796, + "id": 1288, "nodeType": "Block", - "src": "33060:43:1", + "src": "33997:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1792, + "id": 1284, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1786, - "src": "33085:3:1", + "referencedDeclaration": 1278, + "src": "34023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1793, + "id": 1285, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33085:10:1", + "referencedDeclaration": 1196, + "src": "34023:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -15678,22 +15678,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1791, + "id": 1283, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "33077:7:1", + "referencedDeclaration": 1084, + "src": "34015:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1794, + "id": 1286, "isConstant": false, "isLValue": false, "isPure": false, @@ -15701,78 +15701,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33077:19:1", + "src": "34015:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1790, - "id": 1795, + "functionReturnParameters": 1282, + "id": 1287, "nodeType": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ] }, "documentation": { - "id": 1784, + "id": 1276, "nodeType": "StructuredDocumentation", - "src": "32913:70:1", + "src": "33847:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1797, + "id": 1289, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1787, + "id": 1279, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1786, + "id": 1278, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33004:22:1", + "scope": 1289, + "src": "33941:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1785, + "id": 1277, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33004:10:1", + "referencedDeclaration": 1197, + "src": "33941:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, "visibility": "internal" } ], - "src": "33003:24:1" + "src": "33940:24:0" }, "returnParameters": { - "id": 1790, + "id": 1282, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1789, + "id": 1281, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33051:7:1", + "scope": 1289, + "src": "33988:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15780,10 +15780,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1788, + "id": 1280, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33051:7:1", + "src": "33988:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15792,19 +15792,19 @@ "visibility": "internal" } ], - "src": "33050:9:1" + "src": "33987:9:0" }, - "scope": 1921, - "src": "32988:115:1", + "scope": 1413, + "src": "33925:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1822, + "id": 1314, "nodeType": "Block", - "src": "33518:73:1", + "src": "34469:75:0", "statements": [ { "expression": { @@ -15817,38 +15817,38 @@ "arguments": [ { "expression": { - "id": 1814, + "id": 1306, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1800, - "src": "33563:3:1", + "referencedDeclaration": 1292, + "src": "34515:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1815, + "id": 1307, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33563:10:1", + "referencedDeclaration": 1196, + "src": "34515:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1816, + "id": 1308, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1802, - "src": "33575:5:1", + "referencedDeclaration": 1294, + "src": "34527:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15858,7 +15858,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15866,18 +15866,18 @@ "typeString": "uint256" } ], - "id": 1813, + "id": 1305, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "33559:3:1", + "referencedDeclaration": 1109, + "src": "34511:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1817, + "id": 1309, "isConstant": false, "isLValue": false, "isPure": false, @@ -15885,7 +15885,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33559:22:1", + "src": "34511:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15900,26 +15900,26 @@ "typeString": "bytes32" } ], - "id": 1812, + "id": 1304, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1811, + "id": 1303, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": {} } }, - "id": 1818, + "id": 1310, "isConstant": false, "isLValue": false, "isPure": false, @@ -15927,7 +15927,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33551:31:1", + "src": "34503:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15942,26 +15942,26 @@ "typeString": "uint256" } ], - "id": 1810, + "id": 1302, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1809, + "id": 1301, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": {} } }, - "id": 1819, + "id": 1311, "isConstant": false, "isLValue": false, "isPure": false, @@ -15969,7 +15969,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33543:40:1", + "src": "34495:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15984,26 +15984,26 @@ "typeString": "uint160" } ], - "id": 1808, + "id": 1300, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1807, + "id": 1299, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": {} } }, - "id": 1820, + "id": 1312, "isConstant": false, "isLValue": false, "isPure": false, @@ -16011,58 +16011,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33535:49:1", + "src": "34487:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 1806, - "id": 1821, + "functionReturnParameters": 1298, + "id": 1313, "nodeType": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ] }, "documentation": { - "id": 1798, + "id": 1290, "nodeType": "StructuredDocumentation", - "src": "33108:322:1", + "src": "34049:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1823, + "id": 1315, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1803, + "id": 1295, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1800, + "id": 1292, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33447:22:1", + "scope": 1315, + "src": "34398:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1799, + "id": 1291, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33447:10:1", + "referencedDeclaration": 1197, + "src": "34398:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -16070,12 +16070,12 @@ }, { "constant": false, - "id": 1802, + "id": 1294, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33471:13:1", + "scope": 1315, + "src": "34422:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16083,10 +16083,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1801, + "id": 1293, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33471:7:1", + "src": "34422:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16095,20 +16095,20 @@ "visibility": "internal" } ], - "src": "33446:39:1" + "src": "34397:39:0" }, "returnParameters": { - "id": 1806, + "id": 1298, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1805, + "id": 1297, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33509:7:1", + "scope": 1315, + "src": "34460:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16116,10 +16116,10 @@ "typeString": "address" }, "typeName": { - "id": 1804, + "id": 1296, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33509:7:1", + "src": "34460:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16129,40 +16129,40 @@ "visibility": "internal" } ], - "src": "33508:9:1" + "src": "34459:9:0" }, - "scope": 1921, - "src": "33435:156:1", + "scope": 1413, + "src": "34386:158:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.UintSet", - "id": 1826, + "id": 1318, "members": [ { "constant": false, - "id": 1825, + "id": 1317, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1826, - "src": "33639:10:1", + "scope": 1318, + "src": "34598:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1824, + "id": 1316, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "33639:3:1", + "referencedDeclaration": 932, + "src": "34598:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -16171,55 +16171,55 @@ ], "name": "UintSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "33614:42:1", + "scope": 1413, + "src": "34572:44:0", "visibility": "public" }, { "body": { - "id": 1845, + "id": 1337, "nodeType": "Block", - "src": "33899:56:1", + "src": "34867:58:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1837, + "id": 1329, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1829, - "src": "33921:3:1", + "referencedDeclaration": 1321, + "src": "34890:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1838, + "id": 1330, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "33921:10:1", + "referencedDeclaration": 1317, + "src": "34890:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1841, + "id": 1333, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1831, - "src": "33941:5:1", + "referencedDeclaration": 1323, + "src": "34910:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16233,26 +16233,26 @@ "typeString": "uint256" } ], - "id": 1840, + "id": 1332, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1839, + "id": 1331, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": {} } }, - "id": 1842, + "id": 1334, "isConstant": false, "isLValue": false, "isPure": false, @@ -16260,7 +16260,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33933:14:1", + "src": "34902:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16271,7 +16271,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16279,18 +16279,18 @@ "typeString": "bytes32" } ], - "id": 1836, + "id": 1328, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "33916:4:1", + "referencedDeclaration": 973, + "src": "34885:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1843, + "id": 1335, "isConstant": false, "isLValue": false, "isPure": false, @@ -16298,58 +16298,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33916:32:1", + "src": "34885:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1835, - "id": 1844, + "functionReturnParameters": 1327, + "id": 1336, "nodeType": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ] }, "documentation": { - "id": 1827, + "id": 1319, "nodeType": "StructuredDocumentation", - "src": "33662:159:1", + "src": "34624:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1846, + "id": 1338, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1832, + "id": 1324, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1829, + "id": 1321, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33839:19:1", + "scope": 1338, + "src": "34807:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1828, + "id": 1320, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "33839:7:1", + "referencedDeclaration": 1318, + "src": "34807:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16357,12 +16357,12 @@ }, { "constant": false, - "id": 1831, + "id": 1323, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33860:13:1", + "scope": 1338, + "src": "34828:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16370,10 +16370,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1830, + "id": 1322, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33860:7:1", + "src": "34828:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16382,20 +16382,20 @@ "visibility": "internal" } ], - "src": "33838:36:1" + "src": "34806:36:0" }, "returnParameters": { - "id": 1835, + "id": 1327, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1834, + "id": 1326, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33893:4:1", + "scope": 1338, + "src": "34861:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16403,10 +16403,10 @@ "typeString": "bool" }, "typeName": { - "id": 1833, + "id": 1325, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "33893:4:1", + "src": "34861:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16415,59 +16415,59 @@ "visibility": "internal" } ], - "src": "33892:6:1" + "src": "34860:6:0" }, - "scope": 1921, - "src": "33826:129:1", + "scope": 1413, + "src": "34794:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1865, + "id": 1357, "nodeType": "Block", - "src": "34199:59:1", + "src": "35177:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1857, + "id": 1349, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1849, - "src": "34224:3:1", + "referencedDeclaration": 1341, + "src": "35203:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1858, + "id": 1350, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34224:10:1", + "referencedDeclaration": 1317, + "src": "35203:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1861, + "id": 1353, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1851, - "src": "34244:5:1", + "referencedDeclaration": 1343, + "src": "35223:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16481,26 +16481,26 @@ "typeString": "uint256" } ], - "id": 1860, + "id": 1352, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1859, + "id": 1351, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": {} } }, - "id": 1862, + "id": 1354, "isConstant": false, "isLValue": false, "isPure": false, @@ -16508,7 +16508,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34236:14:1", + "src": "35215:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16519,7 +16519,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16527,18 +16527,18 @@ "typeString": "bytes32" } ], - "id": 1856, + "id": 1348, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "34216:7:1", + "referencedDeclaration": 1053, + "src": "35195:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1863, + "id": 1355, "isConstant": false, "isLValue": false, "isPure": false, @@ -16546,58 +16546,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34216:35:1", + "src": "35195:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1855, - "id": 1864, + "functionReturnParameters": 1347, + "id": 1356, "nodeType": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ] }, "documentation": { - "id": 1847, + "id": 1339, "nodeType": "StructuredDocumentation", - "src": "33961:157:1", + "src": "34933:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1866, + "id": 1358, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1852, + "id": 1344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1849, + "id": 1341, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34139:19:1", + "scope": 1358, + "src": "35117:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1848, + "id": 1340, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34139:7:1", + "referencedDeclaration": 1318, + "src": "35117:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16605,12 +16605,12 @@ }, { "constant": false, - "id": 1851, + "id": 1343, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34160:13:1", + "scope": 1358, + "src": "35138:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16618,10 +16618,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1850, + "id": 1342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34160:7:1", + "src": "35138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16630,20 +16630,20 @@ "visibility": "internal" } ], - "src": "34138:36:1" + "src": "35116:36:0" }, "returnParameters": { - "id": 1855, + "id": 1347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1854, + "id": 1346, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34193:4:1", + "scope": 1358, + "src": "35171:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16651,10 +16651,10 @@ "typeString": "bool" }, "typeName": { - "id": 1853, + "id": 1345, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34193:4:1", + "src": "35171:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16663,59 +16663,59 @@ "visibility": "internal" } ], - "src": "34192:6:1" + "src": "35170:6:0" }, - "scope": 1921, - "src": "34123:135:1", + "scope": 1413, + "src": "35101:137:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1885, + "id": 1377, "nodeType": "Block", - "src": "34422:61:1", + "src": "35407:63:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1877, + "id": 1369, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1869, - "src": "34449:3:1", + "referencedDeclaration": 1361, + "src": "35435:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1878, + "id": 1370, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34449:10:1", + "referencedDeclaration": 1317, + "src": "35435:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1881, + "id": 1373, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1871, - "src": "34469:5:1", + "referencedDeclaration": 1363, + "src": "35455:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16729,26 +16729,26 @@ "typeString": "uint256" } ], - "id": 1880, + "id": 1372, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1879, + "id": 1371, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": {} } }, - "id": 1882, + "id": 1374, "isConstant": false, "isLValue": false, "isPure": false, @@ -16756,7 +16756,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34461:14:1", + "src": "35447:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16767,7 +16767,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16775,18 +16775,18 @@ "typeString": "bytes32" } ], - "id": 1876, + "id": 1368, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "34439:9:1", + "referencedDeclaration": 1071, + "src": "35425:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1883, + "id": 1375, "isConstant": false, "isLValue": false, "isPure": false, @@ -16794,58 +16794,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34439:37:1", + "src": "35425:37:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1875, - "id": 1884, + "functionReturnParameters": 1367, + "id": 1376, "nodeType": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ] }, "documentation": { - "id": 1867, + "id": 1359, "nodeType": "StructuredDocumentation", - "src": "34264:70:1", + "src": "35246:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1886, + "id": 1378, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1872, + "id": 1364, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1869, + "id": 1361, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34357:19:1", + "scope": 1378, + "src": "35342:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1868, + "id": 1360, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34357:7:1", + "referencedDeclaration": 1318, + "src": "35342:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16853,12 +16853,12 @@ }, { "constant": false, - "id": 1871, + "id": 1363, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34378:13:1", + "scope": 1378, + "src": "35363:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16866,10 +16866,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1870, + "id": 1362, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34378:7:1", + "src": "35363:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16878,20 +16878,20 @@ "visibility": "internal" } ], - "src": "34356:36:1" + "src": "35341:36:0" }, "returnParameters": { - "id": 1875, + "id": 1367, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1874, + "id": 1366, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34416:4:1", + "scope": 1378, + "src": "35401:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16899,10 +16899,10 @@ "typeString": "bool" }, "typeName": { - "id": 1873, + "id": 1365, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34416:4:1", + "src": "35401:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16911,47 +16911,47 @@ "visibility": "internal" } ], - "src": "34415:6:1" + "src": "35400:6:0" }, - "scope": 1921, - "src": "34339:144:1", + "scope": 1413, + "src": "35324:146:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1899, + "id": 1391, "nodeType": "Block", - "src": "34633:43:1", + "src": "35625:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1895, + "id": 1387, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1889, - "src": "34658:3:1", + "referencedDeclaration": 1381, + "src": "35651:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1896, + "id": 1388, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34658:10:1", + "referencedDeclaration": 1317, + "src": "35651:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -16959,22 +16959,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1894, + "id": 1386, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "34650:7:1", + "referencedDeclaration": 1084, + "src": "35643:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1897, + "id": 1389, "isConstant": false, "isLValue": false, "isPure": false, @@ -16982,78 +16982,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34650:19:1", + "src": "35643:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1893, - "id": 1898, + "functionReturnParameters": 1385, + "id": 1390, "nodeType": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ] }, "documentation": { - "id": 1887, + "id": 1379, "nodeType": "StructuredDocumentation", - "src": "34489:70:1", + "src": "35478:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1900, + "id": 1392, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1890, + "id": 1382, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1889, + "id": 1381, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34580:19:1", + "scope": 1392, + "src": "35572:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1888, + "id": 1380, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34580:7:1", + "referencedDeclaration": 1318, + "src": "35572:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, "visibility": "internal" } ], - "src": "34579:21:1" + "src": "35571:21:0" }, "returnParameters": { - "id": 1893, + "id": 1385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1892, + "id": 1384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34624:7:1", + "scope": 1392, + "src": "35616:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17061,10 +17061,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1891, + "id": 1383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34624:7:1", + "src": "35616:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17073,19 +17073,19 @@ "visibility": "internal" } ], - "src": "34623:9:1" + "src": "35615:9:0" }, - "scope": 1921, - "src": "34564:112:1", + "scope": 1413, + "src": "35556:114:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1919, + "id": 1411, "nodeType": "Block", - "src": "35088:55:1", + "src": "36094:57:0", "statements": [ { "expression": { @@ -17094,38 +17094,38 @@ "arguments": [ { "expression": { - "id": 1913, + "id": 1405, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1903, - "src": "35117:3:1", + "referencedDeclaration": 1395, + "src": "36124:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1914, + "id": 1406, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "35117:10:1", + "referencedDeclaration": 1317, + "src": "36124:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1915, + "id": 1407, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1905, - "src": "35129:5:1", + "referencedDeclaration": 1397, + "src": "36136:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17135,7 +17135,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -17143,18 +17143,18 @@ "typeString": "uint256" } ], - "id": 1912, + "id": 1404, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "35113:3:1", + "referencedDeclaration": 1109, + "src": "36120:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1916, + "id": 1408, "isConstant": false, "isLValue": false, "isPure": false, @@ -17162,7 +17162,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35113:22:1", + "src": "36120:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -17177,26 +17177,26 @@ "typeString": "bytes32" } ], - "id": 1911, + "id": 1403, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1910, + "id": 1402, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": {} } }, - "id": 1917, + "id": 1409, "isConstant": false, "isLValue": false, "isPure": false, @@ -17204,58 +17204,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35105:31:1", + "src": "36112:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1909, - "id": 1918, + "functionReturnParameters": 1401, + "id": 1410, "nodeType": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ] }, "documentation": { - "id": 1901, + "id": 1393, "nodeType": "StructuredDocumentation", - "src": "34681:322:1", + "src": "35677:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1920, + "id": 1412, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1906, + "id": 1398, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1903, + "id": 1395, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35020:19:1", + "scope": 1412, + "src": "36026:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1902, + "id": 1394, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "35020:7:1", + "referencedDeclaration": 1318, + "src": "36026:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -17263,12 +17263,12 @@ }, { "constant": false, - "id": 1905, + "id": 1397, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35041:13:1", + "scope": 1412, + "src": "36047:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17276,10 +17276,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1904, + "id": 1396, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35041:7:1", + "src": "36047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17288,20 +17288,20 @@ "visibility": "internal" } ], - "src": "35019:36:1" + "src": "36025:36:0" }, "returnParameters": { - "id": 1909, + "id": 1401, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1908, + "id": 1400, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35079:7:1", + "scope": 1412, + "src": "36085:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17309,10 +17309,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1907, + "id": 1399, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35079:7:1", + "src": "36085:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17321,20 +17321,20 @@ "visibility": "internal" } ], - "src": "35078:9:1" + "src": "36084:9:0" }, - "scope": 1921, - "src": "35008:135:1", + "scope": 1413, + "src": "36014:137:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "26511:8634:1" + "scope": 2991, + "src": "27252:8902:0" }, { - "id": 1922, + "id": 1414, "literals": [ "solidity", ">=", @@ -17345,7 +17345,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "abstract": false, @@ -17353,31 +17353,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1923, + "id": 1415, "nodeType": "StructuredDocumentation", - "src": "35237:705:1", + "src": "36251:728:0", "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, "fullyImplemented": true, - "id": 2480, + "id": 1972, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableMap.MapEntry", - "id": 1928, + "id": 1420, "members": [ { "constant": false, - "id": 1925, + "id": 1417, "mutability": "mutable", "name": "_key", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36455:12:1", + "scope": 1420, + "src": "37504:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17385,10 +17385,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1924, + "id": 1416, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36455:7:1", + "src": "37504:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17398,12 +17398,12 @@ }, { "constant": false, - "id": 1927, + "id": 1419, "mutability": "mutable", "name": "_value", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36477:14:1", + "scope": 1420, + "src": "37527:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17411,10 +17411,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1926, + "id": 1418, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36477:7:1", + "src": "37527:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17425,45 +17425,45 @@ ], "name": "MapEntry", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36429:69:1", + "scope": 1972, + "src": "37477:72:0", "visibility": "public" }, { "canonicalName": "EnumerableMap.Map", - "id": 1936, + "id": 1428, "members": [ { "constant": false, - "id": 1931, + "id": 1423, "mutability": "mutable", "name": "_entries", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36567:19:1", + "scope": 1428, + "src": "37622:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" }, "typeName": { "baseType": { - "id": 1929, + "id": 1421, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "36567:8:1", + "referencedDeclaration": 1420, + "src": "37622:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, - "id": 1930, + "id": 1422, "nodeType": "ArrayTypeName", - "src": "36567:10:1", + "src": "37622:10:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" } }, @@ -17471,12 +17471,12 @@ }, { "constant": false, - "id": 1935, + "id": 1427, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36736:37:1", + "scope": 1428, + "src": "37795:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17484,28 +17484,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1934, + "id": 1426, "keyType": { - "id": 1932, + "id": 1424, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36745:7:1", + "src": "37804:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "36736:28:1", + "src": "37795:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1933, + "id": 1425, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "36756:7:1", + "src": "37815:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17517,29 +17517,29 @@ ], "name": "Map", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36504:276:1", + "scope": 1972, + "src": "37557:283:0", "visibility": "public" }, { "body": { - "id": 1997, + "id": 1489, "nodeType": "Block", - "src": "37089:596:1", + "src": "38158:610:0", "statements": [ { "assignments": [ - 1949 + 1441 ], "declarations": [ { "constant": false, - "id": 1949, + "id": 1441, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 1997, - "src": "37197:16:1", + "scope": 1489, + "src": "38268:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17547,10 +17547,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1948, + "id": 1440, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "37197:7:1", + "src": "38268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17559,43 +17559,43 @@ "visibility": "internal" } ], - "id": 1954, + "id": 1446, "initialValue": { "baseExpression": { "expression": { - "id": 1950, + "id": 1442, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37216:3:1", + "referencedDeclaration": 1431, + "src": "38287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1951, + "id": 1443, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37216:12:1", + "referencedDeclaration": 1427, + "src": "38287:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1953, + "id": 1445, "indexExpression": { - "id": 1952, + "id": 1444, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37229:3:1", + "referencedDeclaration": 1433, + "src": "38300:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17606,14 +17606,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37216:17:1", + "src": "38287:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "condition": { @@ -17621,18 +17621,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1957, + "id": 1449, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1955, + "id": 1447, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37248:8:1", + "referencedDeclaration": 1441, + "src": "38321:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17642,34 +17642,34 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 1956, + "id": 1448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37260:1:1", + "src": "38333:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "37248:13:1", + "src": "38321:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1995, + "id": 1487, "nodeType": "Block", - "src": "37587:92:1", + "src": "38666:95:0", "statements": [ { "expression": { - "id": 1991, + "id": 1483, "isConstant": false, "isLValue": false, "isPure": false, @@ -17678,49 +17678,49 @@ "expression": { "baseExpression": { "expression": { - "id": 1982, + "id": 1474, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37601:3:1", + "referencedDeclaration": 1431, + "src": "38681:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1987, + "id": 1479, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37601:12:1", + "referencedDeclaration": 1423, + "src": "38681:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1988, + "id": 1480, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1986, + "id": 1478, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1984, + "id": 1476, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37614:8:1", + "referencedDeclaration": 1441, + "src": "38694:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17730,21 +17730,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1985, + "id": 1477, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37625:1:1", + "src": "38705:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "37614:12:1", + "src": "38694:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17755,21 +17755,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37601:26:1", + "src": "38681:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 1989, + "id": 1481, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "37601:33:1", + "referencedDeclaration": 1419, + "src": "38681:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17778,58 +17778,58 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1990, + "id": 1482, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37637:5:1", + "referencedDeclaration": 1435, + "src": "38717:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "37601:41:1", + "src": "38681:41:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1992, + "id": 1484, "nodeType": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "expression": { "hexValue": "66616c7365", - "id": 1993, + "id": 1485, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37663:5:1", + "src": "38744:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1947, - "id": 1994, + "functionReturnParameters": 1439, + "id": 1486, "nodeType": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ] }, - "id": 1996, + "id": 1488, "nodeType": "IfStatement", - "src": "37244:435:1", + "src": "38317:444:0", "trueBody": { - "id": 1981, + "id": 1473, "nodeType": "Block", - "src": "37263:318:1", + "src": "38336:324:0", "statements": [ { "expression": { @@ -17837,24 +17837,24 @@ { "arguments": [ { - "id": 1964, + "id": 1456, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37349:3:1", + "referencedDeclaration": 1433, + "src": "38423:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, { - "id": 1965, + "id": 1457, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37362:5:1", + "referencedDeclaration": 1435, + "src": "38436:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17872,18 +17872,18 @@ "typeString": "bytes32" } ], - "id": 1963, + "id": 1455, "name": "MapEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1928, - "src": "37332:8:1", + "referencedDeclaration": 1420, + "src": "38406:8:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_MapEntry_$1928_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_MapEntry_$1420_storage_ptr_$", "typeString": "type(struct EnumerableMap.MapEntry storage pointer)" } }, - "id": 1966, + "id": 1458, "isConstant": false, "isLValue": false, "isPure": false, @@ -17894,10 +17894,10 @@ "_value" ], "nodeType": "FunctionCall", - "src": "37332:38:1", + "src": "38406:38:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } } @@ -17905,51 +17905,51 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], "expression": { "expression": { - "id": 1958, + "id": 1450, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37314:3:1", + "referencedDeclaration": 1431, + "src": "38388:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1961, + "id": 1453, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37314:12:1", + "referencedDeclaration": 1423, + "src": "38388:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1962, + "id": 1454, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "37314:17:1", + "src": "38388:17:0", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1928_storage_$returns$__$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1420_storage_$returns$__$", "typeString": "function (struct EnumerableMap.MapEntry storage ref)" } }, - "id": 1967, + "id": 1459, "isConstant": false, "isLValue": false, "isPure": false, @@ -17957,20 +17957,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "37314:57:1", + "src": "38388:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1968, + "id": 1460, "nodeType": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "expression": { - "id": 1977, + "id": 1469, "isConstant": false, "isLValue": false, "isPure": false, @@ -17978,39 +17978,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1969, + "id": 1461, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37506:3:1", + "referencedDeclaration": 1431, + "src": "38583:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1972, + "id": 1464, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37506:12:1", + "referencedDeclaration": 1427, + "src": "38583:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1973, + "id": 1465, "indexExpression": { - "id": 1971, + "id": 1463, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37519:3:1", + "referencedDeclaration": 1433, + "src": "38596:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18021,7 +18021,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "37506:17:1", + "src": "38583:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18032,75 +18032,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1974, + "id": 1466, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37526:3:1", + "referencedDeclaration": 1431, + "src": "38603:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1975, + "id": 1467, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37526:12:1", + "referencedDeclaration": 1423, + "src": "38603:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1976, + "id": 1468, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "37526:19:1", + "src": "38603:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "37506:39:1", + "src": "38583:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1978, + "id": 1470, "nodeType": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "expression": { "hexValue": "74727565", - "id": 1979, + "id": 1471, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37566:4:1", + "src": "38644:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1947, - "id": 1980, + "functionReturnParameters": 1439, + "id": 1472, "nodeType": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ] } @@ -18108,43 +18108,43 @@ ] }, "documentation": { - "id": 1937, + "id": 1429, "nodeType": "StructuredDocumentation", - "src": "36786:216:1", + "src": "37848:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1998, + "id": 1490, "implemented": true, "kind": "function", "modifiers": [], "name": "_set", "nodeType": "FunctionDefinition", "parameters": { - "id": 1944, + "id": 1436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1939, + "id": 1431, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37021:15:1", + "scope": 1490, + "src": "38090:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 1938, + "id": 1430, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37021:3:1", + "referencedDeclaration": 1428, + "src": "38090:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -18152,12 +18152,12 @@ }, { "constant": false, - "id": 1941, + "id": 1433, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37038:11:1", + "scope": 1490, + "src": "38107:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18165,10 +18165,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1940, + "id": 1432, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37038:7:1", + "src": "38107:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18178,12 +18178,12 @@ }, { "constant": false, - "id": 1943, + "id": 1435, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37051:13:1", + "scope": 1490, + "src": "38120:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18191,10 +18191,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1942, + "id": 1434, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37051:7:1", + "src": "38120:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18203,20 +18203,20 @@ "visibility": "internal" } ], - "src": "37020:45:1" + "src": "38089:45:0" }, "returnParameters": { - "id": 1947, + "id": 1439, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1946, + "id": 1438, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37083:4:1", + "scope": 1490, + "src": "38152:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18224,10 +18224,10 @@ "typeString": "bool" }, "typeName": { - "id": 1945, + "id": 1437, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37083:4:1", + "src": "38152:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -18236,33 +18236,33 @@ "visibility": "internal" } ], - "src": "37082:6:1" + "src": "38151:6:0" }, - "scope": 2480, - "src": "37007:678:1", + "scope": 1972, + "src": "38076:692:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2078, + "id": 1570, "nodeType": "Block", - "src": "37923:1447:1", + "src": "39013:1479:0", "statements": [ { "assignments": [ - 2009 + 1501 ], "declarations": [ { "constant": false, - "id": 2009, + "id": 1501, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2078, - "src": "38031:16:1", + "scope": 1570, + "src": "39123:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18270,10 +18270,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2008, + "id": 1500, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38031:7:1", + "src": "39123:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18282,43 +18282,43 @@ "visibility": "internal" } ], - "id": 2014, + "id": 1506, "initialValue": { "baseExpression": { "expression": { - "id": 2010, + "id": 1502, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38050:3:1", + "referencedDeclaration": 1493, + "src": "39142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2011, + "id": 1503, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "38050:12:1", + "referencedDeclaration": 1427, + "src": "39142:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2013, + "id": 1505, "indexExpression": { - "id": 2012, + "id": 1504, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "38063:3:1", + "referencedDeclaration": 1495, + "src": "39155:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18329,14 +18329,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38050:17:1", + "src": "39142:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "condition": { @@ -18344,18 +18344,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2017, + "id": 1509, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2015, + "id": 1507, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38082:8:1", + "referencedDeclaration": 1501, + "src": "39176:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18365,76 +18365,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2016, + "id": 1508, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38094:1:1", + "src": "39188:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "38082:13:1", + "src": "39176:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 2076, + "id": 1568, "nodeType": "Block", - "src": "39327:37:1", + "src": "40446:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 2074, + "id": 1566, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39348:5:1", + "src": "40468:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 2007, - "id": 2075, + "functionReturnParameters": 1499, + "id": 1567, "nodeType": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ] }, - "id": 2077, + "id": 1569, "nodeType": "IfStatement", - "src": "38078:1286:1", + "src": "39172:1313:0", "trueBody": { - "id": 2073, + "id": 1565, "nodeType": "Block", - "src": "38097:1224:1", + "src": "39191:1249:0", "statements": [ { "assignments": [ - 2019 + 1511 ], "declarations": [ { "constant": false, - "id": 2019, + "id": 1511, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38438:21:1", + "scope": 1565, + "src": "39537:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18442,10 +18442,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2018, + "id": 1510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38438:7:1", + "src": "39537:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18454,24 +18454,24 @@ "visibility": "internal" } ], - "id": 2023, + "id": 1515, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2022, + "id": 1514, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2020, + "id": 1512, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38462:8:1", + "referencedDeclaration": 1501, + "src": "39561:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18481,42 +18481,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2021, + "id": 1513, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38473:1:1", + "src": "39572:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38462:12:1", + "src": "39561:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "assignments": [ - 2025 + 1517 ], "declarations": [ { "constant": false, - "id": 2025, + "id": 1517, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38488:17:1", + "scope": 1565, + "src": "39588:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18524,10 +18524,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2024, + "id": 1516, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38488:7:1", + "src": "39588:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18536,13 +18536,13 @@ "visibility": "internal" } ], - "id": 2031, + "id": 1523, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2030, + "id": 1522, "isConstant": false, "isLValue": false, "isPure": false, @@ -18550,39 +18550,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2026, + "id": 1518, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38508:3:1", + "referencedDeclaration": 1493, + "src": "39608:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2027, + "id": 1519, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38508:12:1", + "referencedDeclaration": 1423, + "src": "39608:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2028, + "id": 1520, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "38508:19:1", + "src": "39608:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18592,99 +18592,99 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2029, + "id": 1521, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38530:1:1", + "src": "39630:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38508:23:1", + "src": "39608:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "assignments": [ - 2033 + 1525 ], "declarations": [ { "constant": false, - "id": 2033, + "id": 1525, "mutability": "mutable", "name": "lastEntry", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38771:26:1", + "scope": 1565, + "src": "39876:26:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2032, + "id": 1524, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "38771:8:1", + "referencedDeclaration": 1420, + "src": "39876:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2038, + "id": 1530, "initialValue": { "baseExpression": { "expression": { - "id": 2034, + "id": 1526, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38800:3:1", + "referencedDeclaration": 1493, + "src": "39905:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2035, + "id": 1527, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38800:12:1", + "referencedDeclaration": 1423, + "src": "39905:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2037, + "id": 1529, "indexExpression": { - "id": 2036, + "id": 1528, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "38813:9:1", + "referencedDeclaration": 1517, + "src": "39918:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18695,18 +18695,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38800:23:1", + "src": "39905:23:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "expression": { - "id": 2045, + "id": 1537, "isConstant": false, "isLValue": false, "isPure": false, @@ -18714,39 +18714,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2039, + "id": 1531, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38915:3:1", + "referencedDeclaration": 1493, + "src": "40023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2042, + "id": 1534, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38915:12:1", + "referencedDeclaration": 1423, + "src": "40023:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2043, + "id": 1535, "indexExpression": { - "id": 2041, + "id": 1533, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "38928:13:1", + "referencedDeclaration": 1511, + "src": "40036:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18757,39 +18757,39 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "38915:27:1", + "src": "40023:27:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2044, + "id": 1536, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "38945:9:1", + "referencedDeclaration": 1525, + "src": "40053:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "src": "38915:39:1", + "src": "40023:39:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2046, + "id": 1538, "nodeType": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "expression": { - "id": 2056, + "id": 1548, "isConstant": false, "isLValue": false, "isPure": false, @@ -18797,54 +18797,54 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2047, + "id": 1539, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39020:3:1", + "referencedDeclaration": 1493, + "src": "40130:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2051, + "id": 1543, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39020:12:1", + "referencedDeclaration": 1427, + "src": "40130:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2052, + "id": 1544, "indexExpression": { "expression": { - "id": 2049, + "id": 1541, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "39033:9:1", + "referencedDeclaration": 1525, + "src": "40143:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2050, + "id": 1542, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "39033:14:1", + "referencedDeclaration": 1417, + "src": "40143:14:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18855,7 +18855,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39020:28:1", + "src": "40130:28:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18868,18 +18868,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2055, + "id": 1547, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2053, + "id": 1545, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "39051:13:1", + "referencedDeclaration": 1511, + "src": "40161:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18889,35 +18889,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 2054, + "id": 1546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39067:1:1", + "src": "40177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "39051:17:1", + "src": "40161:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "39020:48:1", + "src": "40130:48:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2057, + "id": 1549, "nodeType": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "expression": { @@ -18926,45 +18926,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 2058, + "id": 1550, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39174:3:1", + "referencedDeclaration": 1493, + "src": "40287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2061, + "id": 1553, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39174:12:1", + "referencedDeclaration": 1423, + "src": "40287:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2062, + "id": 1554, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "39174:16:1", + "src": "40287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 2063, + "id": 1555, "isConstant": false, "isLValue": false, "isPure": false, @@ -18972,20 +18972,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "39174:18:1", + "src": "40287:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2064, + "id": 1556, "nodeType": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "expression": { - "id": 2069, + "id": 1561, "isConstant": false, "isLValue": false, "isPure": false, @@ -18993,43 +18993,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "39260:24:1", + "src": "40376:24:0", "subExpression": { "baseExpression": { "expression": { - "id": 2065, + "id": 1557, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39267:3:1", + "referencedDeclaration": 1493, + "src": "40383:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2066, + "id": 1558, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39267:12:1", + "referencedDeclaration": 1427, + "src": "40383:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2068, + "id": 1560, "indexExpression": { - "id": 2067, + "id": 1559, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "39280:3:1", + "referencedDeclaration": 1495, + "src": "40396:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19040,7 +19040,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39267:17:1", + "src": "40383:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19051,31 +19051,31 @@ "typeString": "tuple()" } }, - "id": 2070, + "id": 1562, "nodeType": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "expression": { "hexValue": "74727565", - "id": 2071, + "id": 1563, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39306:4:1", + "src": "40424:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 2007, - "id": 2072, + "functionReturnParameters": 1499, + "id": 1564, "nodeType": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ] } @@ -19083,43 +19083,43 @@ ] }, "documentation": { - "id": 1999, + "id": 1491, "nodeType": "StructuredDocumentation", - "src": "37691:157:1", + "src": "38776:161:0", "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2079, + "id": 1571, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2004, + "id": 1496, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2001, + "id": 1493, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37870:15:1", + "scope": 1571, + "src": "38960:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2000, + "id": 1492, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37870:3:1", + "referencedDeclaration": 1428, + "src": "38960:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19127,12 +19127,12 @@ }, { "constant": false, - "id": 2003, + "id": 1495, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37887:11:1", + "scope": 1571, + "src": "38977:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19140,10 +19140,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2002, + "id": 1494, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37887:7:1", + "src": "38977:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19152,20 +19152,20 @@ "visibility": "internal" } ], - "src": "37869:30:1" + "src": "38959:30:0" }, "returnParameters": { - "id": 2007, + "id": 1499, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2006, + "id": 1498, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37917:4:1", + "scope": 1571, + "src": "39007:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19173,10 +19173,10 @@ "typeString": "bool" }, "typeName": { - "id": 2005, + "id": 1497, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37917:4:1", + "src": "39007:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19185,19 +19185,19 @@ "visibility": "internal" } ], - "src": "37916:6:1" + "src": "39006:6:0" }, - "scope": 2480, - "src": "37853:1517:1", + "scope": 1972, + "src": "38943:1549:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2096, + "id": 1588, "nodeType": "Block", - "src": "39526:46:1", + "src": "40653:48:0", "statements": [ { "expression": { @@ -19205,7 +19205,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2094, + "id": 1586, "isConstant": false, "isLValue": false, "isPure": false, @@ -19213,39 +19213,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 2089, + "id": 1581, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2082, - "src": "39543:3:1", + "referencedDeclaration": 1574, + "src": "40671:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2090, + "id": 1582, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39543:12:1", + "referencedDeclaration": 1427, + "src": "40671:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2092, + "id": 1584, "indexExpression": { - "id": 2091, + "id": 1583, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2084, - "src": "39556:3:1", + "referencedDeclaration": 1576, + "src": "40684:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19256,7 +19256,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "39543:17:1", + "src": "40671:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19266,71 +19266,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2093, + "id": 1585, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39564:1:1", + "src": "40692:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "39543:22:1", + "src": "40671:22:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2088, - "id": 2095, + "functionReturnParameters": 1580, + "id": 1587, "nodeType": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ] }, "documentation": { - "id": 2080, + "id": 1572, "nodeType": "StructuredDocumentation", - "src": "39376:68:1", + "src": "40500:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2097, + "id": 1589, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2085, + "id": 1577, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2082, + "id": 1574, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39468:15:1", + "scope": 1589, + "src": "40595:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2081, + "id": 1573, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39468:3:1", + "referencedDeclaration": 1428, + "src": "40595:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19338,12 +19338,12 @@ }, { "constant": false, - "id": 2084, + "id": 1576, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39485:11:1", + "scope": 1589, + "src": "40612:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19351,10 +19351,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2083, + "id": 1575, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "39485:7:1", + "src": "40612:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19363,20 +19363,20 @@ "visibility": "internal" } ], - "src": "39467:30:1" + "src": "40594:30:0" }, "returnParameters": { - "id": 2088, + "id": 1580, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2087, + "id": 1579, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39520:4:1", + "scope": 1589, + "src": "40647:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19384,10 +19384,10 @@ "typeString": "bool" }, "typeName": { - "id": 2086, + "id": 1578, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "39520:4:1", + "src": "40647:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19396,127 +19396,127 @@ "visibility": "internal" } ], - "src": "39519:6:1" + "src": "40646:6:0" }, - "scope": 2480, - "src": "39449:123:1", + "scope": 1972, + "src": "40576:125:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2109, + "id": 1601, "nodeType": "Block", - "src": "39727:43:1", + "src": "40861:45:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 2105, + "id": 1597, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2100, - "src": "39744:3:1", + "referencedDeclaration": 1592, + "src": "40879:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2106, + "id": 1598, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39744:12:1", + "referencedDeclaration": 1423, + "src": "40879:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2107, + "id": 1599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "39744:19:1", + "src": "40879:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2104, - "id": 2108, + "functionReturnParameters": 1596, + "id": 1600, "nodeType": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ] }, "documentation": { - "id": 2098, + "id": 1590, "nodeType": "StructuredDocumentation", - "src": "39578:79:1", + "src": "40709:81:0", "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2110, + "id": 1602, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2101, + "id": 1593, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2100, + "id": 1592, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39679:15:1", + "scope": 1602, + "src": "40813:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2099, + "id": 1591, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39679:3:1", + "referencedDeclaration": 1428, + "src": "40813:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, "visibility": "internal" } ], - "src": "39678:17:1" + "src": "40812:17:0" }, "returnParameters": { - "id": 2104, + "id": 1596, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2103, + "id": 1595, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39718:7:1", + "scope": 1602, + "src": "40852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19524,10 +19524,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2102, + "id": 1594, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "39718:7:1", + "src": "40852:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19536,19 +19536,19 @@ "visibility": "internal" } ], - "src": "39717:9:1" + "src": "40851:9:0" }, - "scope": 2480, - "src": "39662:108:1", + "scope": 1972, + "src": "40796:110:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2144, + "id": 1636, "nodeType": "Block", - "src": "40198:189:1", + "src": "41346:194:0", "statements": [ { "expression": { @@ -19558,7 +19558,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2127, + "id": 1619, "isConstant": false, "isLValue": false, "isPure": false, @@ -19566,39 +19566,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2123, + "id": 1615, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40216:3:1", + "referencedDeclaration": 1605, + "src": "41365:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2124, + "id": 1616, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40216:12:1", + "referencedDeclaration": 1423, + "src": "41365:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2125, + "id": 1617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "40216:19:1", + "src": "41365:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19607,18 +19607,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 2126, + "id": 1618, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40238:5:1", + "referencedDeclaration": 1607, + "src": "41387:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "40216:27:1", + "src": "41365:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19626,14 +19626,14 @@ }, { "hexValue": "456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473", - "id": 2128, + "id": 1620, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "40245:36:1", + "src": "41394:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_86631030b9066a18616a068fc09fce83d18af4765cb1d2166fa475228f4db155", "typeString": "literal_string \"EnumerableMap: index out of bounds\"" @@ -19652,7 +19652,7 @@ "typeString": "literal_string \"EnumerableMap: index out of bounds\"" } ], - "id": 2122, + "id": 1614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -19660,13 +19660,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "40208:7:1", + "src": "41357:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2129, + "id": 1621, "isConstant": false, "isLValue": false, "isPure": false, @@ -19674,87 +19674,87 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "40208:74:1", + "src": "41357:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2130, + "id": 1622, "nodeType": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "assignments": [ - 2132 + 1624 ], "declarations": [ { "constant": false, - "id": 2132, + "id": 1624, "mutability": "mutable", "name": "entry", "nodeType": "VariableDeclaration", - "scope": 2144, - "src": "40293:22:1", + "scope": 1636, + "src": "41444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2131, + "id": 1623, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "40293:8:1", + "referencedDeclaration": 1420, + "src": "41444:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2137, + "id": 1629, "initialValue": { "baseExpression": { "expression": { - "id": 2133, + "id": 1625, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40318:3:1", + "referencedDeclaration": 1605, + "src": "41469:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2134, + "id": 1626, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40318:12:1", + "referencedDeclaration": 1423, + "src": "41469:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2136, + "id": 1628, "indexExpression": { - "id": 2135, + "id": 1627, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40331:5:1", + "referencedDeclaration": 1607, + "src": "41482:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19765,40 +19765,40 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40318:19:1", + "src": "41469:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "expression": { "components": [ { "expression": { - "id": 2138, + "id": 1630, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40355:5:1", + "referencedDeclaration": 1624, + "src": "41507:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2139, + "id": 1631, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "40355:10:1", + "referencedDeclaration": 1417, + "src": "41507:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19806,90 +19806,90 @@ }, { "expression": { - "id": 2140, + "id": 1632, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40367:5:1", + "referencedDeclaration": 1624, + "src": "41519:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2141, + "id": 1633, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40367:12:1", + "referencedDeclaration": 1419, + "src": "41519:12:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2142, + "id": 1634, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40354:26:1", + "src": "41506:26:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", "typeString": "tuple(bytes32,bytes32)" } }, - "functionReturnParameters": 2121, - "id": 2143, + "functionReturnParameters": 1613, + "id": 1635, "nodeType": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ] }, "documentation": { - "id": 2111, + "id": 1603, "nodeType": "StructuredDocumentation", - "src": "39775:333:1", + "src": "40913:342:0", "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2145, + "id": 1637, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2116, + "id": 1608, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2113, + "id": 1605, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40126:15:1", + "scope": 1637, + "src": "41274:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2112, + "id": 1604, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40126:3:1", + "referencedDeclaration": 1428, + "src": "41274:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19897,12 +19897,12 @@ }, { "constant": false, - "id": 2115, + "id": 1607, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40143:13:1", + "scope": 1637, + "src": "41291:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19910,10 +19910,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2114, + "id": 1606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40143:7:1", + "src": "41291:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19922,20 +19922,20 @@ "visibility": "internal" } ], - "src": "40125:32:1" + "src": "41273:32:0" }, "returnParameters": { - "id": 2121, + "id": 1613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2118, + "id": 1610, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40180:7:1", + "scope": 1637, + "src": "41328:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19943,10 +19943,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2117, + "id": 1609, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40180:7:1", + "src": "41328:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19956,12 +19956,12 @@ }, { "constant": false, - "id": 2120, + "id": 1612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40189:7:1", + "scope": 1637, + "src": "41337:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19969,10 +19969,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2119, + "id": 1611, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40189:7:1", + "src": "41337:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19981,33 +19981,33 @@ "visibility": "internal" } ], - "src": "40179:18:1" + "src": "41327:18:0" }, - "scope": 2480, - "src": "40113:274:1", + "scope": 1972, + "src": "41261:279:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2182, + "id": 1674, "nodeType": "Block", - "src": "40613:220:1", + "src": "41772:224:0", "statements": [ { "assignments": [ - 2158 + 1650 ], "declarations": [ { "constant": false, - "id": 2158, + "id": 1650, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2182, - "src": "40623:16:1", + "scope": 1674, + "src": "41783:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20015,10 +20015,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2157, + "id": 1649, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40623:7:1", + "src": "41783:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20027,43 +20027,43 @@ "visibility": "internal" } ], - "id": 2163, + "id": 1655, "initialValue": { "baseExpression": { "expression": { - "id": 2159, + "id": 1651, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40642:3:1", + "referencedDeclaration": 1640, + "src": "41802:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2160, + "id": 1652, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "40642:12:1", + "referencedDeclaration": 1427, + "src": "41802:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2162, + "id": 1654, "indexExpression": { - "id": 2161, + "id": 1653, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2150, - "src": "40655:3:1", + "referencedDeclaration": 1642, + "src": "41815:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20074,14 +20074,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40642:17:1", + "src": "41802:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "condition": { @@ -20089,18 +20089,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2166, + "id": 1658, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2164, + "id": 1656, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40673:8:1", + "referencedDeclaration": 1650, + "src": "41834:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20110,42 +20110,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2165, + "id": 1657, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40685:1:1", + "src": "41846:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "40673:13:1", + "src": "41834:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2171, + "id": 1663, "nodeType": "IfStatement", - "src": "40669:36:1", + "src": "41830:36:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 2167, + "id": 1659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40696:5:1", + "src": "41857:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20154,14 +20154,14 @@ }, { "hexValue": "30", - "id": 2168, + "id": 1660, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40703:1:1", + "src": "41864:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -20169,23 +20169,23 @@ "value": "0" } ], - "id": 2169, + "id": 1661, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40695:10:1", + "src": "41856:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 2156, - "id": 2170, + "functionReturnParameters": 1648, + "id": 1662, "nodeType": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } }, { @@ -20193,14 +20193,14 @@ "components": [ { "hexValue": "74727565", - "id": 2172, + "id": 1664, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40759:4:1", + "src": "41921:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20211,49 +20211,49 @@ "expression": { "baseExpression": { "expression": { - "id": 2173, + "id": 1665, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40765:3:1", + "referencedDeclaration": 1640, + "src": "41927:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2174, + "id": 1666, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40765:12:1", + "referencedDeclaration": 1423, + "src": "41927:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2178, + "id": 1670, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2177, + "id": 1669, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2175, + "id": 1667, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40778:8:1", + "referencedDeclaration": 1650, + "src": "41940:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20263,21 +20263,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2176, + "id": 1668, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40789:1:1", + "src": "41951:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "40778:12:1", + "src": "41940:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20288,85 +20288,85 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40765:26:1", + "src": "41927:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2179, + "id": 1671, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40765:33:1", + "referencedDeclaration": 1419, + "src": "41927:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2180, + "id": 1672, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40758:41:1", + "src": "41920:41:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", "typeString": "tuple(bool,bytes32)" } }, - "functionReturnParameters": 2156, - "id": 2181, + "functionReturnParameters": 1648, + "id": 1673, "nodeType": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ] }, "documentation": { - "id": 2146, + "id": 1638, "nodeType": "StructuredDocumentation", - "src": "40393:131:1", + "src": "41548:134:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2183, + "id": 1675, "implemented": true, "kind": "function", "modifiers": [], "name": "_tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2151, + "id": 1643, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2148, + "id": 1640, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40546:15:1", + "scope": 1675, + "src": "41705:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2147, + "id": 1639, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40546:3:1", + "referencedDeclaration": 1428, + "src": "41705:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20374,12 +20374,12 @@ }, { "constant": false, - "id": 2150, + "id": 1642, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40563:11:1", + "scope": 1675, + "src": "41722:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20387,10 +20387,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2149, + "id": 1641, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40563:7:1", + "src": "41722:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20399,20 +20399,20 @@ "visibility": "internal" } ], - "src": "40545:30:1" + "src": "41704:30:0" }, "returnParameters": { - "id": 2156, + "id": 1648, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2153, + "id": 1645, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40598:4:1", + "scope": 1675, + "src": "41757:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20420,10 +20420,10 @@ "typeString": "bool" }, "typeName": { - "id": 2152, + "id": 1644, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "40598:4:1", + "src": "41757:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20433,12 +20433,12 @@ }, { "constant": false, - "id": 2155, + "id": 1647, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40604:7:1", + "scope": 1675, + "src": "41763:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20446,10 +20446,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2154, + "id": 1646, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40604:7:1", + "src": "41763:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20458,33 +20458,33 @@ "visibility": "internal" } ], - "src": "40597:15:1" + "src": "41756:15:0" }, - "scope": 2480, - "src": "40529:304:1", + "scope": 1972, + "src": "41688:308:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2215, + "id": 1707, "nodeType": "Block", - "src": "41060:232:1", + "src": "42232:236:0", "statements": [ { "assignments": [ - 2194 + 1686 ], "declarations": [ { "constant": false, - "id": 2194, + "id": 1686, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2215, - "src": "41070:16:1", + "scope": 1707, + "src": "42243:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20492,10 +20492,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2193, + "id": 1685, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41070:7:1", + "src": "42243:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20504,43 +20504,43 @@ "visibility": "internal" } ], - "id": 2199, + "id": 1691, "initialValue": { "baseExpression": { "expression": { - "id": 2195, + "id": 1687, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41089:3:1", + "referencedDeclaration": 1678, + "src": "42262:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2196, + "id": 1688, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41089:12:1", + "referencedDeclaration": 1427, + "src": "42262:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2198, + "id": 1690, "indexExpression": { - "id": 2197, + "id": 1689, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2188, - "src": "41102:3:1", + "referencedDeclaration": 1680, + "src": "42275:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20551,14 +20551,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41089:17:1", + "src": "42262:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "expression": { @@ -20568,18 +20568,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2203, + "id": 1695, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2201, + "id": 1693, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41124:8:1", + "referencedDeclaration": 1686, + "src": "42298:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20589,21 +20589,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2202, + "id": 1694, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41136:1:1", + "src": "42310:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41124:13:1", + "src": "42298:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20611,14 +20611,14 @@ }, { "hexValue": "456e756d657261626c654d61703a206e6f6e6578697374656e74206b6579", - "id": 2204, + "id": 1696, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "41139:32:1", + "src": "42313:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_d3551e30d3095fd81287b88f7139bb09818e34280e85ee821994ebaebbed7072", "typeString": "literal_string \"EnumerableMap: nonexistent key\"" @@ -20637,7 +20637,7 @@ "typeString": "literal_string \"EnumerableMap: nonexistent key\"" } ], - "id": 2200, + "id": 1692, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -20645,13 +20645,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41116:7:1", + "src": "42290:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2205, + "id": 1697, "isConstant": false, "isLValue": false, "isPure": false, @@ -20659,65 +20659,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41116:56:1", + "src": "42290:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2206, + "id": 1698, "nodeType": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2207, + "id": 1699, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41225:3:1", + "referencedDeclaration": 1678, + "src": "42400:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2208, + "id": 1700, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41225:12:1", + "referencedDeclaration": 1423, + "src": "42400:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2212, + "id": 1704, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2211, + "id": 1703, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2209, + "id": 1701, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41238:8:1", + "referencedDeclaration": 1686, + "src": "42413:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20727,21 +20727,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2210, + "id": 1702, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41249:1:1", + "src": "42424:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41238:12:1", + "src": "42413:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20752,71 +20752,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41225:26:1", + "src": "42400:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2213, + "id": 1705, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41225:33:1", + "referencedDeclaration": 1419, + "src": "42400:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2192, - "id": 2214, + "functionReturnParameters": 1684, + "id": 1706, "nodeType": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ] }, "documentation": { - "id": 2184, + "id": 1676, "nodeType": "StructuredDocumentation", - "src": "40839:141:1", + "src": "42004:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2216, + "id": 1708, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2189, + "id": 1681, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2186, + "id": 1678, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "40999:15:1", + "scope": 1708, + "src": "42171:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2185, + "id": 1677, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40999:3:1", + "referencedDeclaration": 1428, + "src": "42171:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20824,12 +20824,12 @@ }, { "constant": false, - "id": 2188, + "id": 1680, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41016:11:1", + "scope": 1708, + "src": "42188:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20837,10 +20837,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2187, + "id": 1679, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41016:7:1", + "src": "42188:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20849,20 +20849,20 @@ "visibility": "internal" } ], - "src": "40998:30:1" + "src": "42170:30:0" }, "returnParameters": { - "id": 2192, + "id": 1684, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2191, + "id": 1683, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41051:7:1", + "scope": 1708, + "src": "42223:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20870,10 +20870,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2190, + "id": 1682, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41051:7:1", + "src": "42223:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20882,33 +20882,33 @@ "visibility": "internal" } ], - "src": "41050:9:1" + "src": "42222:9:0" }, - "scope": 2480, - "src": "40985:307:1", + "scope": 1972, + "src": "42157:311:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2250, + "id": 1742, "nodeType": "Block", - "src": "41677:212:1", + "src": "42861:216:0", "statements": [ { "assignments": [ - 2229 + 1721 ], "declarations": [ { "constant": false, - "id": 2229, + "id": 1721, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2250, - "src": "41687:16:1", + "scope": 1742, + "src": "42872:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20916,10 +20916,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2228, + "id": 1720, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41687:7:1", + "src": "42872:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20928,43 +20928,43 @@ "visibility": "internal" } ], - "id": 2234, + "id": 1726, "initialValue": { "baseExpression": { "expression": { - "id": 2230, + "id": 1722, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41706:3:1", + "referencedDeclaration": 1711, + "src": "42891:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2231, + "id": 1723, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41706:12:1", + "referencedDeclaration": 1427, + "src": "42891:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2233, + "id": 1725, "indexExpression": { - "id": 2232, + "id": 1724, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2221, - "src": "41719:3:1", + "referencedDeclaration": 1713, + "src": "42904:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20975,14 +20975,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41706:17:1", + "src": "42891:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "expression": { @@ -20992,18 +20992,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2238, + "id": 1730, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2236, + "id": 1728, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41741:8:1", + "referencedDeclaration": 1721, + "src": "42927:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21013,33 +21013,33 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2237, + "id": 1729, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41753:1:1", + "src": "42939:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41741:13:1", + "src": "42927:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 2239, + "id": 1731, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2223, - "src": "41756:12:1", + "referencedDeclaration": 1715, + "src": "42942:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -21057,7 +21057,7 @@ "typeString": "string memory" } ], - "id": 2235, + "id": 1727, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -21065,13 +21065,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41733:7:1", + "src": "42919:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2240, + "id": 1732, "isConstant": false, "isLValue": false, "isPure": false, @@ -21079,65 +21079,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41733:36:1", + "src": "42919:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2241, + "id": 1733, "nodeType": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2242, + "id": 1734, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41822:3:1", + "referencedDeclaration": 1711, + "src": "43009:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2243, + "id": 1735, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41822:12:1", + "referencedDeclaration": 1423, + "src": "43009:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2247, + "id": 1739, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2246, + "id": 1738, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2244, + "id": 1736, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41835:8:1", + "referencedDeclaration": 1721, + "src": "43022:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21147,21 +21147,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2245, + "id": 1737, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41846:1:1", + "src": "43033:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41835:12:1", + "src": "43022:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21172,71 +21172,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41822:26:1", + "src": "43009:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2248, + "id": 1740, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41822:33:1", + "referencedDeclaration": 1419, + "src": "43009:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2227, - "id": 2249, + "functionReturnParameters": 1719, + "id": 1741, "nodeType": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ] }, "documentation": { - "id": 2217, + "id": 1709, "nodeType": "StructuredDocumentation", - "src": "41298:271:1", + "src": "42476:276:0", "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2251, + "id": 1743, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2224, + "id": 1716, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2219, + "id": 1711, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41588:15:1", + "scope": 1743, + "src": "42772:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2218, + "id": 1710, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41588:3:1", + "referencedDeclaration": 1428, + "src": "42772:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21244,12 +21244,12 @@ }, { "constant": false, - "id": 2221, + "id": 1713, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41605:11:1", + "scope": 1743, + "src": "42789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21257,10 +21257,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2220, + "id": 1712, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41605:7:1", + "src": "42789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21270,12 +21270,12 @@ }, { "constant": false, - "id": 2223, + "id": 1715, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41618:26:1", + "scope": 1743, + "src": "42802:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -21283,10 +21283,10 @@ "typeString": "string" }, "typeName": { - "id": 2222, + "id": 1714, "name": "string", "nodeType": "ElementaryTypeName", - "src": "41618:6:1", + "src": "42802:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -21295,20 +21295,20 @@ "visibility": "internal" } ], - "src": "41587:58:1" + "src": "42771:58:0" }, "returnParameters": { - "id": 2227, + "id": 1719, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2226, + "id": 1718, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41668:7:1", + "scope": 1743, + "src": "42852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21316,10 +21316,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2225, + "id": 1717, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41668:7:1", + "src": "42852:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21328,40 +21328,40 @@ "visibility": "internal" } ], - "src": "41667:9:1" + "src": "42851:9:0" }, - "scope": 2480, - "src": "41574:315:1", + "scope": 1972, + "src": "42758:319:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableMap.UintToAddressMap", - "id": 2254, + "id": 1746, "members": [ { "constant": false, - "id": 2253, + "id": 1745, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 2254, - "src": "41954:10:1", + "scope": 1746, + "src": "43147:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2252, + "id": 1744, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41954:3:1", + "referencedDeclaration": 1428, + "src": "43147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21370,55 +21370,55 @@ ], "name": "UintToAddressMap", "nodeType": "StructDefinition", - "scope": 2480, - "src": "41920:51:1", + "scope": 1972, + "src": "43112:53:0", "visibility": "public" }, { "body": { - "id": 2285, + "id": 1777, "nodeType": "Block", - "src": "42293:88:1", + "src": "43496:90:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2267, + "id": 1759, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2257, - "src": "42315:3:1", + "referencedDeclaration": 1749, + "src": "43519:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2268, + "id": 1760, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42315:10:1", + "referencedDeclaration": 1745, + "src": "43519:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2271, + "id": 1763, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2259, - "src": "42335:3:1", + "referencedDeclaration": 1751, + "src": "43539:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21432,26 +21432,26 @@ "typeString": "uint256" } ], - "id": 2270, + "id": 1762, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2269, + "id": 1761, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": {} } }, - "id": 2272, + "id": 1764, "isConstant": false, "isLValue": false, "isPure": false, @@ -21459,7 +21459,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42327:12:1", + "src": "43531:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21473,12 +21473,12 @@ { "arguments": [ { - "id": 2279, + "id": 1771, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2261, - "src": "42365:5:1", + "referencedDeclaration": 1753, + "src": "43569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21492,26 +21492,26 @@ "typeString": "address" } ], - "id": 2278, + "id": 1770, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2277, + "id": 1769, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": {} } }, - "id": 2280, + "id": 1772, "isConstant": false, "isLValue": false, "isPure": false, @@ -21519,7 +21519,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42357:14:1", + "src": "43561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -21534,26 +21534,26 @@ "typeString": "uint160" } ], - "id": 2276, + "id": 1768, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2275, + "id": 1767, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": {} } }, - "id": 2281, + "id": 1773, "isConstant": false, "isLValue": false, "isPure": false, @@ -21561,7 +21561,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42349:23:1", + "src": "43553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -21576,26 +21576,26 @@ "typeString": "uint256" } ], - "id": 2274, + "id": 1766, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2273, + "id": 1765, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": {} } }, - "id": 2282, + "id": 1774, "isConstant": false, "isLValue": false, "isPure": false, @@ -21603,7 +21603,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42341:32:1", + "src": "43545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21614,7 +21614,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -21626,18 +21626,18 @@ "typeString": "bytes32" } ], - "id": 2266, + "id": 1758, "name": "_set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1998, - "src": "42310:4:1", + "referencedDeclaration": 1490, + "src": "43514:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)" } }, - "id": 2283, + "id": 1775, "isConstant": false, "isLValue": false, "isPure": false, @@ -21645,58 +21645,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42310:64:1", + "src": "43514:64:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2265, - "id": 2284, + "functionReturnParameters": 1757, + "id": 1776, "nodeType": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ] }, "documentation": { - "id": 2255, + "id": 1747, "nodeType": "StructuredDocumentation", - "src": "41977:216:1", + "src": "43173:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2286, + "id": 1778, "implemented": true, "kind": "function", "modifiers": [], "name": "set", "nodeType": "FunctionDefinition", "parameters": { - "id": 2262, + "id": 1754, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2257, + "id": 1749, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42211:28:1", + "scope": 1778, + "src": "43414:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2256, + "id": 1748, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42211:16:1", + "referencedDeclaration": 1746, + "src": "43414:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -21704,12 +21704,12 @@ }, { "constant": false, - "id": 2259, + "id": 1751, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42241:11:1", + "scope": 1778, + "src": "43444:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21717,10 +21717,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2258, + "id": 1750, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42241:7:1", + "src": "43444:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21730,12 +21730,12 @@ }, { "constant": false, - "id": 2261, + "id": 1753, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42254:13:1", + "scope": 1778, + "src": "43457:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21743,10 +21743,10 @@ "typeString": "address" }, "typeName": { - "id": 2260, + "id": 1752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "42254:7:1", + "src": "43457:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -21756,20 +21756,20 @@ "visibility": "internal" } ], - "src": "42210:58:1" + "src": "43413:58:0" }, "returnParameters": { - "id": 2265, + "id": 1757, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2264, + "id": 1756, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42287:4:1", + "scope": 1778, + "src": "43490:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21777,10 +21777,10 @@ "typeString": "bool" }, "typeName": { - "id": 2263, + "id": 1755, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42287:4:1", + "src": "43490:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -21789,59 +21789,59 @@ "visibility": "internal" } ], - "src": "42286:6:1" + "src": "43489:6:0" }, - "scope": 2480, - "src": "42198:183:1", + "scope": 1972, + "src": "43401:185:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2305, + "id": 1797, "nodeType": "Block", - "src": "42623:57:1", + "src": "43835:59:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2297, + "id": 1789, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2289, - "src": "42648:3:1", + "referencedDeclaration": 1781, + "src": "43861:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2298, + "id": 1790, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42648:10:1", + "referencedDeclaration": 1745, + "src": "43861:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2301, + "id": 1793, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2291, - "src": "42668:3:1", + "referencedDeclaration": 1783, + "src": "43881:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21855,26 +21855,26 @@ "typeString": "uint256" } ], - "id": 2300, + "id": 1792, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2299, + "id": 1791, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": {} } }, - "id": 2302, + "id": 1794, "isConstant": false, "isLValue": false, "isPure": false, @@ -21882,7 +21882,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42660:12:1", + "src": "43873:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21893,7 +21893,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -21901,18 +21901,18 @@ "typeString": "bytes32" } ], - "id": 2296, + "id": 1788, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2079, - "src": "42640:7:1", + "referencedDeclaration": 1571, + "src": "43853:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)" } }, - "id": 2303, + "id": 1795, "isConstant": false, "isLValue": false, "isPure": false, @@ -21920,58 +21920,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42640:33:1", + "src": "43853:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2295, - "id": 2304, + "functionReturnParameters": 1787, + "id": 1796, "nodeType": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ] }, "documentation": { - "id": 2287, + "id": 1779, "nodeType": "StructuredDocumentation", - "src": "42387:148:1", + "src": "43594:152:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2306, + "id": 1798, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2292, + "id": 1784, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2289, + "id": 1781, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42556:28:1", + "scope": 1798, + "src": "43768:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2288, + "id": 1780, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42556:16:1", + "referencedDeclaration": 1746, + "src": "43768:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -21979,12 +21979,12 @@ }, { "constant": false, - "id": 2291, + "id": 1783, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42586:11:1", + "scope": 1798, + "src": "43798:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21992,10 +21992,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2290, + "id": 1782, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42586:7:1", + "src": "43798:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22004,20 +22004,20 @@ "visibility": "internal" } ], - "src": "42555:43:1" + "src": "43767:43:0" }, "returnParameters": { - "id": 2295, + "id": 1787, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2294, + "id": 1786, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42617:4:1", + "scope": 1798, + "src": "43829:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22025,10 +22025,10 @@ "typeString": "bool" }, "typeName": { - "id": 2293, + "id": 1785, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42617:4:1", + "src": "43829:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22037,59 +22037,59 @@ "visibility": "internal" } ], - "src": "42616:6:1" + "src": "43828:6:0" }, - "scope": 2480, - "src": "42540:140:1", + "scope": 1972, + "src": "43752:142:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2325, + "id": 1817, "nodeType": "Block", - "src": "42849:59:1", + "src": "44068:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2317, + "id": 1809, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2309, - "src": "42876:3:1", + "referencedDeclaration": 1801, + "src": "44096:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2318, + "id": 1810, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42876:10:1", + "referencedDeclaration": 1745, + "src": "44096:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2321, + "id": 1813, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2311, - "src": "42896:3:1", + "referencedDeclaration": 1803, + "src": "44116:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22103,26 +22103,26 @@ "typeString": "uint256" } ], - "id": 2320, + "id": 1812, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2319, + "id": 1811, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": {} } }, - "id": 2322, + "id": 1814, "isConstant": false, "isLValue": false, "isPure": false, @@ -22130,7 +22130,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42888:12:1", + "src": "44108:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -22141,7 +22141,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22149,18 +22149,18 @@ "typeString": "bytes32" } ], - "id": 2316, + "id": 1808, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2097, - "src": "42866:9:1", + "referencedDeclaration": 1589, + "src": "44086:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)" } }, - "id": 2323, + "id": 1815, "isConstant": false, "isLValue": false, "isPure": false, @@ -22168,58 +22168,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42866:35:1", + "src": "44086:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2315, - "id": 2324, + "functionReturnParameters": 1807, + "id": 1816, "nodeType": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ] }, "documentation": { - "id": 2307, + "id": 1799, "nodeType": "StructuredDocumentation", - "src": "42686:68:1", + "src": "43902:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2326, + "id": 1818, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2312, + "id": 1804, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2309, + "id": 1801, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42777:28:1", + "scope": 1818, + "src": "43996:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2308, + "id": 1800, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42777:16:1", + "referencedDeclaration": 1746, + "src": "43996:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22227,12 +22227,12 @@ }, { "constant": false, - "id": 2311, + "id": 1803, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42807:11:1", + "scope": 1818, + "src": "44026:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22240,10 +22240,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2310, + "id": 1802, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42807:7:1", + "src": "44026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22252,20 +22252,20 @@ "visibility": "internal" } ], - "src": "42776:43:1" + "src": "43995:43:0" }, "returnParameters": { - "id": 2315, + "id": 1807, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2314, + "id": 1806, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42843:4:1", + "scope": 1818, + "src": "44062:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22273,10 +22273,10 @@ "typeString": "bool" }, "typeName": { - "id": 2313, + "id": 1805, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42843:4:1", + "src": "44062:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22285,47 +22285,47 @@ "visibility": "internal" } ], - "src": "42842:6:1" + "src": "44061:6:0" }, - "scope": 2480, - "src": "42759:149:1", + "scope": 1972, + "src": "43978:151:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2339, + "id": 1831, "nodeType": "Block", - "src": "43069:43:1", + "src": "44295:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2335, + "id": 1827, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2329, - "src": "43094:3:1", + "referencedDeclaration": 1821, + "src": "44321:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2336, + "id": 1828, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43094:10:1", + "referencedDeclaration": 1745, + "src": "44321:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } } @@ -22333,22 +22333,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], - "id": 2334, + "id": 1826, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2110, - "src": "43086:7:1", + "referencedDeclaration": 1602, + "src": "44313:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)" } }, - "id": 2337, + "id": 1829, "isConstant": false, "isLValue": false, "isPure": false, @@ -22356,78 +22356,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43086:19:1", + "src": "44313:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2333, - "id": 2338, + "functionReturnParameters": 1825, + "id": 1830, "nodeType": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ] }, "documentation": { - "id": 2327, + "id": 1819, "nodeType": "StructuredDocumentation", - "src": "42914:72:1", + "src": "44137:74:0", "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2340, + "id": 1832, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2330, + "id": 1822, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2329, + "id": 1821, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43007:28:1", + "scope": 1832, + "src": "44233:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2328, + "id": 1820, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43007:16:1", + "referencedDeclaration": 1746, + "src": "44233:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, "visibility": "internal" } ], - "src": "43006:30:1" + "src": "44232:30:0" }, "returnParameters": { - "id": 2333, + "id": 1825, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2332, + "id": 1824, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43060:7:1", + "scope": 1832, + "src": "44286:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22435,10 +22435,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2331, + "id": 1823, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43060:7:1", + "src": "44286:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22447,34 +22447,34 @@ "visibility": "internal" } ], - "src": "43059:9:1" + "src": "44285:9:0" }, - "scope": 2480, - "src": "42991:121:1", + "scope": 1972, + "src": "44217:123:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2378, + "id": 1870, "nodeType": "Block", - "src": "43538:135:1", + "src": "44777:138:0", "statements": [ { "assignments": [ - 2353, - 2355 + 1845, + 1847 ], "declarations": [ { "constant": false, - "id": 2353, + "id": 1845, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43549:11:1", + "scope": 1870, + "src": "44789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22482,10 +22482,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2352, + "id": 1844, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43549:7:1", + "src": "44789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22495,12 +22495,12 @@ }, { "constant": false, - "id": 2355, + "id": 1847, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43562:13:1", + "scope": 1870, + "src": "44802:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22508,10 +22508,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2354, + "id": 1846, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43562:7:1", + "src": "44802:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22520,43 +22520,43 @@ "visibility": "internal" } ], - "id": 2361, + "id": 1853, "initialValue": { "arguments": [ { "expression": { - "id": 2357, + "id": 1849, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2343, - "src": "43583:3:1", + "referencedDeclaration": 1835, + "src": "44823:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2358, + "id": 1850, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43583:10:1", + "referencedDeclaration": 1745, + "src": "44823:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { - "id": 2359, + "id": 1851, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2345, - "src": "43595:5:1", + "referencedDeclaration": 1837, + "src": "44835:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22566,7 +22566,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22574,18 +22574,18 @@ "typeString": "uint256" } ], - "id": 2356, + "id": 1848, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2145, - "src": "43579:3:1", + "referencedDeclaration": 1637, + "src": "44819:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)" } }, - "id": 2360, + "id": 1852, "isConstant": false, "isLValue": false, "isPure": false, @@ -22593,7 +22593,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43579:22:1", + "src": "44819:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", @@ -22601,7 +22601,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "expression": { @@ -22609,12 +22609,12 @@ { "arguments": [ { - "id": 2364, + "id": 1856, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2353, - "src": "43627:3:1", + "referencedDeclaration": 1845, + "src": "44868:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22628,26 +22628,26 @@ "typeString": "bytes32" } ], - "id": 2363, + "id": 1855, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2362, + "id": 1854, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": {} } }, - "id": 2365, + "id": 1857, "isConstant": false, "isLValue": false, "isPure": false, @@ -22655,7 +22655,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43619:12:1", + "src": "44860:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -22669,12 +22669,12 @@ { "arguments": [ { - "id": 2372, + "id": 1864, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2355, - "src": "43657:5:1", + "referencedDeclaration": 1847, + "src": "44898:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22688,26 +22688,26 @@ "typeString": "bytes32" } ], - "id": 2371, + "id": 1863, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2370, + "id": 1862, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": {} } }, - "id": 2373, + "id": 1865, "isConstant": false, "isLValue": false, "isPure": false, @@ -22715,7 +22715,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43649:14:1", + "src": "44890:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -22730,26 +22730,26 @@ "typeString": "uint256" } ], - "id": 2369, + "id": 1861, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2368, + "id": 1860, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": {} } }, - "id": 2374, + "id": 1866, "isConstant": false, "isLValue": false, "isPure": false, @@ -22757,7 +22757,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43641:23:1", + "src": "44882:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -22772,26 +22772,26 @@ "typeString": "uint160" } ], - "id": 2367, + "id": 1859, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2366, + "id": 1858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": {} } }, - "id": 2375, + "id": 1867, "isConstant": false, "isLValue": false, "isPure": false, @@ -22799,7 +22799,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43633:32:1", + "src": "44874:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -22807,64 +22807,64 @@ } } ], - "id": 2376, + "id": 1868, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "43618:48:1", + "src": "44859:48:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_payable_$", "typeString": "tuple(uint256,address payable)" } }, - "functionReturnParameters": 2351, - "id": 2377, + "functionReturnParameters": 1843, + "id": 1869, "nodeType": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ] }, "documentation": { - "id": 2341, + "id": 1833, "nodeType": "StructuredDocumentation", - "src": "43117:318:1", + "src": "44347:326:0", "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2379, + "id": 1871, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2346, + "id": 1838, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2343, + "id": 1835, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43452:28:1", + "scope": 1871, + "src": "44691:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2342, + "id": 1834, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43452:16:1", + "referencedDeclaration": 1746, + "src": "44691:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22872,12 +22872,12 @@ }, { "constant": false, - "id": 2345, + "id": 1837, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43482:13:1", + "scope": 1871, + "src": "44721:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22885,10 +22885,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2344, + "id": 1836, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43482:7:1", + "src": "44721:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22897,20 +22897,20 @@ "visibility": "internal" } ], - "src": "43451:45:1" + "src": "44690:45:0" }, "returnParameters": { - "id": 2351, + "id": 1843, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2348, + "id": 1840, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43520:7:1", + "scope": 1871, + "src": "44759:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22918,10 +22918,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2347, + "id": 1839, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43520:7:1", + "src": "44759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22931,12 +22931,12 @@ }, { "constant": false, - "id": 2350, + "id": 1842, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43529:7:1", + "scope": 1871, + "src": "44768:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22944,10 +22944,10 @@ "typeString": "address" }, "typeName": { - "id": 2349, + "id": 1841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43529:7:1", + "src": "44768:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -22957,34 +22957,34 @@ "visibility": "internal" } ], - "src": "43519:18:1" + "src": "44758:18:0" }, - "scope": 2480, - "src": "43440:233:1", + "scope": 1972, + "src": "44679:236:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2417, + "id": 1909, "nodeType": "Block", - "src": "43950:142:1", + "src": "45200:145:0", "statements": [ { "assignments": [ - 2392, - 2394 + 1884, + 1886 ], "declarations": [ { "constant": false, - "id": 2392, + "id": 1884, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43961:12:1", + "scope": 1909, + "src": "45212:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22992,10 +22992,10 @@ "typeString": "bool" }, "typeName": { - "id": 2391, + "id": 1883, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43961:4:1", + "src": "45212:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23005,12 +23005,12 @@ }, { "constant": false, - "id": 2394, + "id": 1886, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43975:13:1", + "scope": 1909, + "src": "45226:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23018,10 +23018,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2393, + "id": 1885, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43975:7:1", + "src": "45226:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23030,45 +23030,45 @@ "visibility": "internal" } ], - "id": 2403, + "id": 1895, "initialValue": { "arguments": [ { "expression": { - "id": 2396, + "id": 1888, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2382, - "src": "44000:3:1", + "referencedDeclaration": 1874, + "src": "45251:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2397, + "id": 1889, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44000:10:1", + "referencedDeclaration": 1745, + "src": "45251:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2400, + "id": 1892, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2384, - "src": "44020:3:1", + "referencedDeclaration": 1876, + "src": "45271:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23082,26 +23082,26 @@ "typeString": "uint256" } ], - "id": 2399, + "id": 1891, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2398, + "id": 1890, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": {} } }, - "id": 2401, + "id": 1893, "isConstant": false, "isLValue": false, "isPure": false, @@ -23109,7 +23109,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44012:12:1", + "src": "45263:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23120,7 +23120,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23128,18 +23128,18 @@ "typeString": "bytes32" } ], - "id": 2395, + "id": 1887, "name": "_tryGet", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2183, - "src": "43992:7:1", + "referencedDeclaration": 1675, + "src": "45243:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)" } }, - "id": 2402, + "id": 1894, "isConstant": false, "isLValue": false, "isPure": false, @@ -23147,7 +23147,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43992:33:1", + "src": "45243:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", @@ -23155,18 +23155,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "expression": { "components": [ { - "id": 2404, + "id": 1896, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2392, - "src": "44043:7:1", + "referencedDeclaration": 1884, + "src": "45295:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23179,12 +23179,12 @@ { "arguments": [ { - "id": 2411, + "id": 1903, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2394, - "src": "44076:5:1", + "referencedDeclaration": 1886, + "src": "45328:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23198,26 +23198,26 @@ "typeString": "bytes32" } ], - "id": 2410, + "id": 1902, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2409, + "id": 1901, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": {} } }, - "id": 2412, + "id": 1904, "isConstant": false, "isLValue": false, "isPure": false, @@ -23225,7 +23225,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44068:14:1", + "src": "45320:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23240,26 +23240,26 @@ "typeString": "uint256" } ], - "id": 2408, + "id": 1900, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2407, + "id": 1899, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": {} } }, - "id": 2413, + "id": 1905, "isConstant": false, "isLValue": false, "isPure": false, @@ -23267,7 +23267,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44060:23:1", + "src": "45312:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23282,26 +23282,26 @@ "typeString": "uint160" } ], - "id": 2406, + "id": 1898, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2405, + "id": 1897, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": {} } }, - "id": 2414, + "id": 1906, "isConstant": false, "isLValue": false, "isPure": false, @@ -23309,7 +23309,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44052:32:1", + "src": "45304:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -23317,64 +23317,64 @@ } } ], - "id": 2415, + "id": 1907, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "44042:43:1", + "src": "45294:43:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_address_payable_$", "typeString": "tuple(bool,address payable)" } }, - "functionReturnParameters": 2390, - "id": 2416, + "functionReturnParameters": 1882, + "id": 1908, "nodeType": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ] }, "documentation": { - "id": 2380, + "id": 1872, "nodeType": "StructuredDocumentation", - "src": "43679:169:1", + "src": "44923:174:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2418, + "id": 1910, "implemented": true, "kind": "function", "modifiers": [], "name": "tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2385, + "id": 1877, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2382, + "id": 1874, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43869:28:1", + "scope": 1910, + "src": "45119:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2381, + "id": 1873, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43869:16:1", + "referencedDeclaration": 1746, + "src": "45119:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23382,12 +23382,12 @@ }, { "constant": false, - "id": 2384, + "id": 1876, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43899:11:1", + "scope": 1910, + "src": "45149:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23395,10 +23395,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2383, + "id": 1875, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43899:7:1", + "src": "45149:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23407,20 +23407,20 @@ "visibility": "internal" } ], - "src": "43868:43:1" + "src": "45118:43:0" }, "returnParameters": { - "id": 2390, + "id": 1882, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2387, + "id": 1879, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43935:4:1", + "scope": 1910, + "src": "45185:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23428,10 +23428,10 @@ "typeString": "bool" }, "typeName": { - "id": 2386, + "id": 1878, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43935:4:1", + "src": "45185:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23441,12 +23441,12 @@ }, { "constant": false, - "id": 2389, + "id": 1881, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43941:7:1", + "scope": 1910, + "src": "45191:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23454,10 +23454,10 @@ "typeString": "address" }, "typeName": { - "id": 2388, + "id": 1880, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43941:7:1", + "src": "45191:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23467,19 +23467,19 @@ "visibility": "internal" } ], - "src": "43934:15:1" + "src": "45184:15:0" }, - "scope": 2480, - "src": "43853:239:1", + "scope": 1972, + "src": "45103:242:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2446, + "id": 1938, "nodeType": "Block", - "src": "44332:81:1", + "src": "45594:83:0", "statements": [ { "expression": { @@ -23492,40 +23492,40 @@ "arguments": [ { "expression": { - "id": 2435, + "id": 1927, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2421, - "src": "44378:3:1", + "referencedDeclaration": 1913, + "src": "45641:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2436, + "id": 1928, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44378:10:1", + "referencedDeclaration": 1745, + "src": "45641:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2439, + "id": 1931, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2423, - "src": "44398:3:1", + "referencedDeclaration": 1915, + "src": "45661:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23539,26 +23539,26 @@ "typeString": "uint256" } ], - "id": 2438, + "id": 1930, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2437, + "id": 1929, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": {} } }, - "id": 2440, + "id": 1932, "isConstant": false, "isLValue": false, "isPure": false, @@ -23566,7 +23566,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44390:12:1", + "src": "45653:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23577,7 +23577,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23585,21 +23585,21 @@ "typeString": "bytes32" } ], - "id": 2434, + "id": 1926, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, - "src": "44373:4:1", + "referencedDeclaration": 1708, + "src": "45636:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)" } }, - "id": 2441, + "id": 1933, "isConstant": false, "isLValue": false, "isPure": false, @@ -23607,7 +23607,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44373:30:1", + "src": "45636:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23622,26 +23622,26 @@ "typeString": "bytes32" } ], - "id": 2433, + "id": 1925, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2432, + "id": 1924, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": {} } }, - "id": 2442, + "id": 1934, "isConstant": false, "isLValue": false, "isPure": false, @@ -23649,7 +23649,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44365:39:1", + "src": "45628:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23664,26 +23664,26 @@ "typeString": "uint256" } ], - "id": 2431, + "id": 1923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2430, + "id": 1922, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": {} } }, - "id": 2443, + "id": 1935, "isConstant": false, "isLValue": false, "isPure": false, @@ -23691,7 +23691,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44357:48:1", + "src": "45620:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23706,26 +23706,26 @@ "typeString": "uint160" } ], - "id": 2429, + "id": 1921, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2428, + "id": 1920, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": {} } }, - "id": 2444, + "id": 1936, "isConstant": false, "isLValue": false, "isPure": false, @@ -23733,58 +23733,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44349:57:1", + "src": "45612:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2427, - "id": 2445, + "functionReturnParameters": 1919, + "id": 1937, "nodeType": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ] }, "documentation": { - "id": 2419, + "id": 1911, "nodeType": "StructuredDocumentation", - "src": "44098:141:1", + "src": "45353:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2447, + "id": 1939, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2424, + "id": 1916, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2421, + "id": 1913, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44257:28:1", + "scope": 1939, + "src": "45519:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2420, + "id": 1912, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44257:16:1", + "referencedDeclaration": 1746, + "src": "45519:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23792,12 +23792,12 @@ }, { "constant": false, - "id": 2423, + "id": 1915, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44287:11:1", + "scope": 1939, + "src": "45549:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23805,10 +23805,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2422, + "id": 1914, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44287:7:1", + "src": "45549:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23817,20 +23817,20 @@ "visibility": "internal" } ], - "src": "44256:43:1" + "src": "45518:43:0" }, "returnParameters": { - "id": 2427, + "id": 1919, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2426, + "id": 1918, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44323:7:1", + "scope": 1939, + "src": "45585:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23838,10 +23838,10 @@ "typeString": "address" }, "typeName": { - "id": 2425, + "id": 1917, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44323:7:1", + "src": "45585:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23851,19 +23851,19 @@ "visibility": "internal" } ], - "src": "44322:9:1" + "src": "45584:9:0" }, - "scope": 2480, - "src": "44244:169:1", + "scope": 1972, + "src": "45506:171:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2478, + "id": 1970, "nodeType": "Block", - "src": "44809:95:1", + "src": "46081:97:0", "statements": [ { "expression": { @@ -23876,40 +23876,40 @@ "arguments": [ { "expression": { - "id": 2466, + "id": 1958, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2450, - "src": "44855:3:1", + "referencedDeclaration": 1942, + "src": "46128:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2467, + "id": 1959, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44855:10:1", + "referencedDeclaration": 1745, + "src": "46128:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2470, + "id": 1962, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2452, - "src": "44875:3:1", + "referencedDeclaration": 1944, + "src": "46148:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23923,26 +23923,26 @@ "typeString": "uint256" } ], - "id": 2469, + "id": 1961, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2468, + "id": 1960, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": {} } }, - "id": 2471, + "id": 1963, "isConstant": false, "isLValue": false, "isPure": false, @@ -23950,7 +23950,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44867:12:1", + "src": "46140:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23958,12 +23958,12 @@ } }, { - "id": 2472, + "id": 1964, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2454, - "src": "44881:12:1", + "referencedDeclaration": 1946, + "src": "46154:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -23973,7 +23973,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23985,21 +23985,21 @@ "typeString": "string memory" } ], - "id": 2465, + "id": 1957, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, - "src": "44850:4:1", + "referencedDeclaration": 1743, + "src": "46123:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)" } }, - "id": 2473, + "id": 1965, "isConstant": false, "isLValue": false, "isPure": false, @@ -24007,7 +24007,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44850:44:1", + "src": "46123:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -24022,26 +24022,26 @@ "typeString": "bytes32" } ], - "id": 2464, + "id": 1956, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2463, + "id": 1955, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": {} } }, - "id": 2474, + "id": 1966, "isConstant": false, "isLValue": false, "isPure": false, @@ -24049,7 +24049,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44842:53:1", + "src": "46115:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -24064,26 +24064,26 @@ "typeString": "uint256" } ], - "id": 2462, + "id": 1954, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2461, + "id": 1953, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": {} } }, - "id": 2475, + "id": 1967, "isConstant": false, "isLValue": false, "isPure": false, @@ -24091,7 +24091,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44834:62:1", + "src": "46107:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -24106,26 +24106,26 @@ "typeString": "uint160" } ], - "id": 2460, + "id": 1952, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2459, + "id": 1951, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": {} } }, - "id": 2476, + "id": 1968, "isConstant": false, "isLValue": false, "isPure": false, @@ -24133,58 +24133,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44826:71:1", + "src": "46099:71:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2458, - "id": 2477, + "functionReturnParameters": 1950, + "id": 1969, "nodeType": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ] }, "documentation": { - "id": 2448, + "id": 1940, "nodeType": "StructuredDocumentation", - "src": "44419:269:1", + "src": "45685:274:0", "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2479, + "id": 1971, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2455, + "id": 1947, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2450, + "id": 1942, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44706:28:1", + "scope": 1971, + "src": "45978:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2449, + "id": 1941, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44706:16:1", + "referencedDeclaration": 1746, + "src": "45978:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -24192,12 +24192,12 @@ }, { "constant": false, - "id": 2452, + "id": 1944, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44736:11:1", + "scope": 1971, + "src": "46008:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24205,10 +24205,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2451, + "id": 1943, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44736:7:1", + "src": "46008:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24218,12 +24218,12 @@ }, { "constant": false, - "id": 2454, + "id": 1946, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44749:26:1", + "scope": 1971, + "src": "46021:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24231,10 +24231,10 @@ "typeString": "string" }, "typeName": { - "id": 2453, + "id": 1945, "name": "string", "nodeType": "ElementaryTypeName", - "src": "44749:6:1", + "src": "46021:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -24243,20 +24243,20 @@ "visibility": "internal" } ], - "src": "44705:71:1" + "src": "45977:71:0" }, "returnParameters": { - "id": 2458, + "id": 1950, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2457, + "id": 1949, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44800:7:1", + "scope": 1971, + "src": "46072:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24264,10 +24264,10 @@ "typeString": "address" }, "typeName": { - "id": 2456, + "id": 1948, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44800:7:1", + "src": "46072:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -24277,20 +24277,20 @@ "visibility": "internal" } ], - "src": "44799:9:1" + "src": "46071:9:0" }, - "scope": 2480, - "src": "44693:211:1", + "scope": 1972, + "src": "45965:213:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "35943:8963:1" + "scope": 2991, + "src": "36981:9200:0" }, { - "id": 2481, + "id": 1973, "literals": [ "solidity", ">=", @@ -24301,7 +24301,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "abstract": false, @@ -24309,24 +24309,24 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 2482, + "id": 1974, "nodeType": "StructuredDocumentation", - "src": "44992:34:1", + "src": "46272:36:0", "text": " @dev String operations." }, "fullyImplemented": true, - "id": 2566, + "id": 2058, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 2564, + "id": 2056, "nodeType": "Block", - "src": "45207:654:1", + "src": "46494:675:0", "statements": [ { "condition": { @@ -24334,18 +24334,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2492, + "id": 1984, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2490, + "id": 1982, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45409:5:1", + "referencedDeclaration": 1977, + "src": "46700:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24355,72 +24355,72 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2491, + "id": 1983, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45418:1:1", + "src": "46709:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45409:10:1", + "src": "46700:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2496, + "id": 1988, "nodeType": "IfStatement", - "src": "45405:51:1", + "src": "46696:53:0", "trueBody": { - "id": 2495, + "id": 1987, "nodeType": "Block", - "src": "45421:35:1", + "src": "46712:37:0", "statements": [ { "expression": { "hexValue": "30", - "id": 2493, + "id": 1985, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "45442:3:1", + "src": "46734:3:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", "typeString": "literal_string \"0\"" }, "value": "0" }, - "functionReturnParameters": 2489, - "id": 2494, + "functionReturnParameters": 1981, + "id": 1986, "nodeType": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ] } }, { "assignments": [ - 2498 + 1990 ], "declarations": [ { "constant": false, - "id": 2498, + "id": 1990, "mutability": "mutable", "name": "temp", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45465:12:1", + "scope": 2056, + "src": "46759:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24428,10 +24428,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2497, + "id": 1989, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45465:7:1", + "src": "46759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24440,35 +24440,35 @@ "visibility": "internal" } ], - "id": 2500, + "id": 1992, "initialValue": { - "id": 2499, + "id": 1991, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45480:5:1", + "referencedDeclaration": 1977, + "src": "46774:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "assignments": [ - 2502 + 1994 ], "declarations": [ { "constant": false, - "id": 2502, + "id": 1994, "mutability": "mutable", "name": "digits", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45495:14:1", + "scope": 2056, + "src": "46790:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24476,10 +24476,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2501, + "id": 1993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45495:7:1", + "src": "46790:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24488,19 +24488,19 @@ "visibility": "internal" } ], - "id": 2503, + "id": 1995, "nodeType": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "body": { - "id": 2514, + "id": 2006, "nodeType": "Block", - "src": "45537:57:1", + "src": "46833:60:0", "statements": [ { "expression": { - "id": 2508, + "id": 2000, "isConstant": false, "isLValue": false, "isPure": false, @@ -24508,14 +24508,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "45551:8:1", + "src": "46848:8:0", "subExpression": { - "id": 2507, + "id": 1999, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45551:6:1", + "referencedDeclaration": 1994, + "src": "46848:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24526,24 +24526,24 @@ "typeString": "uint256" } }, - "id": 2509, + "id": 2001, "nodeType": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "expression": { - "id": 2512, + "id": 2004, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2510, + "id": 2002, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45573:4:1", + "referencedDeclaration": 1990, + "src": "46871:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24553,29 +24553,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2511, + "id": 2003, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45581:2:1", + "src": "46879:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45573:10:1", + "src": "46871:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2513, + "id": 2005, "nodeType": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ] }, @@ -24584,18 +24584,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2506, + "id": 1998, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2504, + "id": 1996, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45526:4:1", + "referencedDeclaration": 1990, + "src": "46822:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24605,43 +24605,43 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2505, + "id": 1997, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45534:1:1", + "src": "46830:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45526:9:1", + "src": "46822:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2515, + "id": 2007, "nodeType": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "assignments": [ - 2517 + 2009 ], "declarations": [ { "constant": false, - "id": 2517, + "id": 2009, "mutability": "mutable", "name": "buffer", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45603:19:1", + "scope": 2056, + "src": "46903:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24649,10 +24649,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2516, + "id": 2008, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45603:5:1", + "src": "46903:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -24661,16 +24661,16 @@ "visibility": "internal" } ], - "id": 2522, + "id": 2014, "initialValue": { "arguments": [ { - "id": 2520, + "id": 2012, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45635:6:1", + "referencedDeclaration": 1994, + "src": "46935:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24684,29 +24684,29 @@ "typeString": "uint256" } ], - "id": 2519, + "id": 2011, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", - "src": "45625:9:1", + "src": "46925:9:0", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", "typeString": "function (uint256) pure returns (bytes memory)" }, "typeName": { - "id": 2518, + "id": 2010, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45629:5:1", + "src": "46929:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } } }, - "id": 2521, + "id": 2013, "isConstant": false, "isLValue": false, "isPure": false, @@ -24714,7 +24714,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45625:17:1", + "src": "46925:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -24722,21 +24722,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "assignments": [ - 2524 + 2016 ], "declarations": [ { "constant": false, - "id": 2524, + "id": 2016, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45652:13:1", + "scope": 2056, + "src": "46953:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24744,10 +24744,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2523, + "id": 2015, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45652:7:1", + "src": "46953:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24756,24 +24756,24 @@ "visibility": "internal" } ], - "id": 2528, + "id": 2020, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2527, + "id": 2019, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2525, + "id": 2017, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45668:6:1", + "referencedDeclaration": 1994, + "src": "46969:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24783,43 +24783,43 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2526, + "id": 2018, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45677:1:1", + "src": "46978:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "45668:10:1", + "src": "46969:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "expression": { - "id": 2531, + "id": 2023, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2529, + "id": 2021, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45688:4:1", + "referencedDeclaration": 1990, + "src": "46990:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24828,56 +24828,56 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2530, + "id": 2022, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45695:5:1", + "referencedDeclaration": 1977, + "src": "46997:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45688:12:1", + "src": "46990:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2532, + "id": 2024, "nodeType": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "body": { - "id": 2557, + "id": 2049, "nodeType": "Block", - "src": "45728:96:1", + "src": "47031:99:0", "statements": [ { "expression": { - "id": 2551, + "id": 2043, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2536, + "id": 2028, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45742:6:1", + "referencedDeclaration": 2009, + "src": "47046:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2539, + "id": 2031, "indexExpression": { - "id": 2538, + "id": 2030, "isConstant": false, "isLValue": false, "isPure": false, @@ -24885,14 +24885,14 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "45749:7:1", + "src": "47053:7:0", "subExpression": { - "id": 2537, + "id": 2029, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2524, - "src": "45749:5:1", + "referencedDeclaration": 2016, + "src": "47053:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24908,7 +24908,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "45742:15:1", + "src": "47046:15:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -24925,21 +24925,21 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2548, + "id": 2040, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "hexValue": "3438", - "id": 2544, + "id": 2036, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45773:2:1", + "src": "47077:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_48_by_1", "typeString": "int_const 48" @@ -24953,18 +24953,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2547, + "id": 2039, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2545, + "id": 2037, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45778:4:1", + "referencedDeclaration": 1990, + "src": "47082:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24974,27 +24974,27 @@ "operator": "%", "rightExpression": { "hexValue": "3130", - "id": 2546, + "id": 2038, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45785:2:1", + "src": "47089:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45778:9:1", + "src": "47082:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45773:14:1", + "src": "47077:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25008,26 +25008,26 @@ "typeString": "uint256" } ], - "id": 2543, + "id": 2035, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint8_$", "typeString": "type(uint8)" }, "typeName": { - "id": 2542, + "id": 2034, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": {} } }, - "id": 2549, + "id": 2041, "isConstant": false, "isLValue": false, "isPure": false, @@ -25035,7 +25035,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45767:21:1", + "src": "47071:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint8", @@ -25050,26 +25050,26 @@ "typeString": "uint8" } ], - "id": 2541, + "id": 2033, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": { - "id": 2540, + "id": 2032, "name": "bytes1", "nodeType": "ElementaryTypeName", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": {} } }, - "id": 2550, + "id": 2042, "isConstant": false, "isLValue": false, "isPure": false, @@ -25077,37 +25077,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45760:29:1", + "src": "47064:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "45742:47:1", + "src": "47046:47:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "id": 2552, + "id": 2044, "nodeType": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "expression": { - "id": 2555, + "id": 2047, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2553, + "id": 2045, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45803:4:1", + "referencedDeclaration": 1990, + "src": "47108:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25117,29 +25117,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2554, + "id": 2046, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45811:2:1", + "src": "47116:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45803:10:1", + "src": "47108:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2556, + "id": 2048, "nodeType": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ] }, @@ -25148,18 +25148,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2535, + "id": 2027, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2533, + "id": 2025, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45717:4:1", + "referencedDeclaration": 1990, + "src": "47020:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25169,40 +25169,40 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2534, + "id": 2026, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45725:1:1", + "src": "47028:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45717:9:1", + "src": "47020:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2558, + "id": 2050, "nodeType": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "expression": { "arguments": [ { - "id": 2561, + "id": 2053, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45847:6:1", + "referencedDeclaration": 2009, + "src": "47154:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -25216,26 +25216,26 @@ "typeString": "bytes memory" } ], - "id": 2560, + "id": 2052, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2559, + "id": 2051, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": {} } }, - "id": 2562, + "id": 2054, "isConstant": false, "isLValue": false, "isPure": false, @@ -25243,44 +25243,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45840:14:1", + "src": "47147:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2489, - "id": 2563, + "functionReturnParameters": 1981, + "id": 2055, "nodeType": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ] }, "documentation": { - "id": 2483, + "id": 1975, "nodeType": "StructuredDocumentation", - "src": "45049:82:1", + "src": "46333:84:0", "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2565, + "id": 2057, "implemented": true, "kind": "function", "modifiers": [], "name": "toString", "nodeType": "FunctionDefinition", "parameters": { - "id": 2486, + "id": 1978, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2485, + "id": 1977, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45154:13:1", + "scope": 2057, + "src": "46441:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25288,10 +25288,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2484, + "id": 1976, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45154:7:1", + "src": "46441:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25300,20 +25300,20 @@ "visibility": "internal" } ], - "src": "45153:15:1" + "src": "46440:15:0" }, "returnParameters": { - "id": 2489, + "id": 1981, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2488, + "id": 1980, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45192:13:1", + "scope": 2057, + "src": "46479:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -25321,10 +25321,10 @@ "typeString": "string" }, "typeName": { - "id": 2487, + "id": 1979, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45192:6:1", + "src": "46479:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25333,20 +25333,20 @@ "visibility": "internal" } ], - "src": "45191:15:1" + "src": "46478:15:0" }, - "scope": 2566, - "src": "45136:725:1", + "scope": 2058, + "src": "46423:746:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "45027:836:1" + "scope": 2991, + "src": "46310:862:0" }, { - "id": 2567, + "id": 2059, "literals": [ "solidity", ">=", @@ -25357,141 +25357,141 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 2569, + "id": 2061, "name": "Context", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 530, - "src": "46099:7:1", + "referencedDeclaration": 22, + "src": "47417:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 2570, + "id": 2062, "nodeType": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "baseName": { - "id": 2571, + "id": 2063, "name": "ERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 781, - "src": "46108:6:1", + "referencedDeclaration": 273, + "src": "47426:6:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC165_$781", + "typeIdentifier": "t_contract$_ERC165_$273", "typeString": "contract ERC165" } }, - "id": 2572, + "id": 2064, "nodeType": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "baseName": { - "id": 2573, + "id": 2065, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "46116:7:1", + "referencedDeclaration": 147, + "src": "47434:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 2574, + "id": 2066, "nodeType": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "baseName": { - "id": 2575, + "id": 2067, "name": "IERC721Metadata", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 680, - "src": "46125:15:1", + "referencedDeclaration": 172, + "src": "47443:15:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Metadata_$680", + "typeIdentifier": "t_contract$_IERC721Metadata_$172", "typeString": "contract IERC721Metadata" } }, - "id": 2576, + "id": 2068, "nodeType": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "baseName": { - "id": 2577, + "id": 2069, "name": "IERC721Enumerable", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 709, - "src": "46142:17:1", + "referencedDeclaration": 201, + "src": "47460:17:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Enumerable_$709", + "typeIdentifier": "t_contract$_IERC721Enumerable_$201", "typeString": "contract IERC721Enumerable" } }, - "id": 2578, + "id": 2070, "nodeType": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" } ], "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "documentation": { - "id": 2568, + "id": 2060, "nodeType": "StructuredDocumentation", - "src": "45955:124:1", + "src": "47269:127:0", "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": true, - "id": 3498, + "id": 2990, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", "nodeType": "ContractDefinition", "nodes": [ { - "id": 2581, + "id": 2073, "libraryName": { - "id": 2579, + "id": 2071, "name": "SafeMath", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1135, - "src": "46172:8:1", + "referencedDeclaration": 627, + "src": "47491:8:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$1135", + "typeIdentifier": "t_contract$_SafeMath_$627", "typeString": "library SafeMath" } }, "nodeType": "UsingForDirective", - "src": "46166:27:1", + "src": "47485:27:0", "typeName": { - "id": 2580, + "id": 2072, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46185:7:1", + "src": "47504:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25499,25 +25499,25 @@ } }, { - "id": 2584, + "id": 2076, "libraryName": { - "id": 2582, + "id": 2074, "name": "Address", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1430, - "src": "46204:7:1", + "referencedDeclaration": 922, + "src": "47524:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } }, "nodeType": "UsingForDirective", - "src": "46198:26:1", + "src": "47518:26:0", "typeName": { - "id": 2583, + "id": 2075, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46216:7:1", + "src": "47536:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25526,79 +25526,79 @@ } }, { - "id": 2587, + "id": 2079, "libraryName": { - "id": 2585, + "id": 2077, "name": "EnumerableSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1921, - "src": "46235:13:1", + "referencedDeclaration": 1413, + "src": "47556:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableSet_$1921", + "typeIdentifier": "t_contract$_EnumerableSet_$1413", "typeString": "library EnumerableSet" } }, "nodeType": "UsingForDirective", - "src": "46229:46:1", + "src": "47550:46:0", "typeName": { - "id": 2586, + "id": 2078, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46253:21:1", + "referencedDeclaration": 1318, + "src": "47574:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } }, { - "id": 2590, + "id": 2082, "libraryName": { - "id": 2588, + "id": 2080, "name": "EnumerableMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2480, - "src": "46286:13:1", + "referencedDeclaration": 1972, + "src": "47608:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableMap_$2480", + "typeIdentifier": "t_contract$_EnumerableMap_$1972", "typeString": "library EnumerableMap" } }, "nodeType": "UsingForDirective", - "src": "46280:55:1", + "src": "47602:55:0", "typeName": { - "id": 2589, + "id": 2081, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46304:30:1", + "referencedDeclaration": 1746, + "src": "47626:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } } }, { - "id": 2593, + "id": 2085, "libraryName": { - "id": 2591, + "id": 2083, "name": "Strings", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2566, - "src": "46346:7:1", + "referencedDeclaration": 2058, + "src": "47669:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Strings_$2566", + "typeIdentifier": "t_contract$_Strings_$2058", "typeString": "library Strings" } }, "nodeType": "UsingForDirective", - "src": "46340:26:1", + "src": "47663:26:0", "typeName": { - "id": 2592, + "id": 2084, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46358:7:1", + "src": "47681:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25607,12 +25607,12 @@ }, { "constant": true, - "id": 2596, + "id": 2088, "mutability": "constant", "name": "_ERC721_RECEIVED", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46544:53:1", + "scope": 2990, + "src": "47871:53:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25620,10 +25620,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2594, + "id": 2086, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "46544:6:1", + "src": "47871:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -25631,14 +25631,14 @@ }, "value": { "hexValue": "30783135306237613032", - "id": 2595, + "id": 2087, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "46587:10:1", + "src": "47914:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_353073666_by_1", "typeString": "int_const 353073666" @@ -25649,44 +25649,44 @@ }, { "constant": false, - "id": 2600, + "id": 2092, "mutability": "mutable", "name": "_holderTokens", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46681:64:1", + "scope": 2990, + "src": "48011:64:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "typeName": { - "id": 2599, + "id": 2091, "keyType": { - "id": 2597, + "id": 2089, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46690:7:1", + "src": "48020:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "46681:42:1", + "src": "48011:42:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "valueType": { - "id": 2598, + "id": 2090, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46701:21:1", + "referencedDeclaration": 1318, + "src": "48031:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } @@ -25695,26 +25695,26 @@ }, { "constant": false, - "id": 2602, + "id": 2094, "mutability": "mutable", "name": "_tokenOwners", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46809:51:1", + "scope": 2990, + "src": "48142:51:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2601, + "id": 2093, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46809:30:1", + "referencedDeclaration": 1746, + "src": "48142:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -25722,12 +25722,12 @@ }, { "constant": false, - "id": 2606, + "id": 2098, "mutability": "mutable", "name": "_tokenApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46916:52:1", + "scope": 2990, + "src": "48252:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25735,28 +25735,28 @@ "typeString": "mapping(uint256 => address)" }, "typeName": { - "id": 2605, + "id": 2097, "keyType": { - "id": 2603, + "id": 2095, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46925:7:1", + "src": "48261:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "46916:28:1", + "src": "48252:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" }, "valueType": { - "id": 2604, + "id": 2096, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46936:7:1", + "src": "48272:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25768,12 +25768,12 @@ }, { "constant": false, - "id": 2612, + "id": 2104, "mutability": "mutable", "name": "_operatorApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47023:73:1", + "scope": 2990, + "src": "48362:73:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25781,46 +25781,46 @@ "typeString": "mapping(address => mapping(address => bool))" }, "typeName": { - "id": 2611, + "id": 2103, "keyType": { - "id": 2607, + "id": 2099, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47032:7:1", + "src": "48371:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47023:46:1", + "src": "48362:46:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" }, "valueType": { - "id": 2610, + "id": 2102, "keyType": { - "id": 2608, + "id": 2100, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47052:7:1", + "src": "48391:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47043:25:1", + "src": "48382:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" }, "valueType": { - "id": 2609, + "id": 2101, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "47063:4:1", + "src": "48402:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -25832,12 +25832,12 @@ }, { "constant": false, - "id": 2614, + "id": 2106, "mutability": "mutable", "name": "_name", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47121:20:1", + "scope": 2990, + "src": "48463:20:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25845,10 +25845,10 @@ "typeString": "string" }, "typeName": { - "id": 2613, + "id": 2105, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47121:6:1", + "src": "48463:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25858,12 +25858,12 @@ }, { "constant": false, - "id": 2616, + "id": 2108, "mutability": "mutable", "name": "_symbol", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47168:22:1", + "scope": 2990, + "src": "48513:22:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25871,10 +25871,10 @@ "typeString": "string" }, "typeName": { - "id": 2615, + "id": 2107, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47168:6:1", + "src": "48513:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25884,12 +25884,12 @@ }, { "constant": false, - "id": 2620, + "id": 2112, "mutability": "mutable", "name": "_tokenURIs", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47236:46:1", + "scope": 2990, + "src": "48584:46:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25897,28 +25897,28 @@ "typeString": "mapping(uint256 => string)" }, "typeName": { - "id": 2619, + "id": 2111, "keyType": { - "id": 2617, + "id": 2109, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "47245:7:1", + "src": "48593:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "47236:27:1", + "src": "48584:27:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string)" }, "valueType": { - "id": 2618, + "id": 2110, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47256:6:1", + "src": "48604:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25929,12 +25929,12 @@ }, { "constant": false, - "id": 2622, + "id": 2114, "mutability": "mutable", "name": "_baseURI", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47305:23:1", + "scope": 2990, + "src": "48656:23:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25942,10 +25942,10 @@ "typeString": "string" }, "typeName": { - "id": 2621, + "id": 2113, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47305:6:1", + "src": "48656:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25955,12 +25955,12 @@ }, { "constant": true, - "id": 2625, + "id": 2117, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48204:57:1", + "scope": 2990, + "src": "49571:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25968,10 +25968,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2623, + "id": 2115, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48204:6:1", + "src": "49571:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -25979,14 +25979,14 @@ }, "value": { "hexValue": "30783830616335386364", - "id": 2624, + "id": 2116, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48251:10:1", + "src": "49618:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2158778573_by_1", "typeString": "int_const 2158778573" @@ -25997,12 +25997,12 @@ }, { "constant": true, - "id": 2628, + "id": 2120, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48527:66:1", + "scope": 2990, + "src": "49903:66:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26010,10 +26010,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2626, + "id": 2118, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48527:6:1", + "src": "49903:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26021,14 +26021,14 @@ }, "value": { "hexValue": "30783562356531333966", - "id": 2627, + "id": 2119, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48583:10:1", + "src": "49959:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_1532892063_by_1", "typeString": "int_const 1532892063" @@ -26039,12 +26039,12 @@ }, { "constant": true, - "id": 2631, + "id": 2123, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48898:68:1", + "scope": 2990, + "src": "50283:68:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26052,10 +26052,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2629, + "id": 2121, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48898:6:1", + "src": "50283:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26063,14 +26063,14 @@ }, "value": { "hexValue": "30783738306539643633", - "id": 2630, + "id": 2122, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48956:10:1", + "src": "50341:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2014223715_by_1", "typeString": "int_const 2014223715" @@ -26081,24 +26081,24 @@ }, { "body": { - "id": 2659, + "id": 2151, "nodeType": "Block", - "src": "49143:305:1", + "src": "50533:313:0", "statements": [ { "expression": { - "id": 2641, + "id": 2133, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2639, + "id": 2131, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "49153:5:1", + "referencedDeclaration": 2106, + "src": "50544:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26107,41 +26107,41 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2640, + "id": 2132, "name": "name_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2634, - "src": "49161:5:1", + "referencedDeclaration": 2126, + "src": "50552:5:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49153:13:1", + "src": "50544:13:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2642, + "id": 2134, "nodeType": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "expression": { - "id": 2645, + "id": 2137, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2643, + "id": 2135, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "49176:7:1", + "referencedDeclaration": 2108, + "src": "50568:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26150,37 +26150,37 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2644, + "id": 2136, "name": "symbol_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2636, - "src": "49186:7:1", + "referencedDeclaration": 2128, + "src": "50578:7:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49176:17:1", + "src": "50568:17:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2646, + "id": 2138, "nodeType": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "expression": { "arguments": [ { - "id": 2648, + "id": 2140, "name": "_INTERFACE_ID_ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2625, - "src": "49300:20:1", + "referencedDeclaration": 2117, + "src": "50695:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26194,18 +26194,18 @@ "typeString": "bytes4" } ], - "id": 2647, + "id": 2139, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49281:18:1", + "referencedDeclaration": 272, + "src": "50676:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2649, + "id": 2141, "isConstant": false, "isLValue": false, "isPure": false, @@ -26213,27 +26213,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49281:40:1", + "src": "50676:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2650, + "id": 2142, "nodeType": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "expression": { "arguments": [ { - "id": 2652, + "id": 2144, "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2628, - "src": "49350:29:1", + "referencedDeclaration": 2120, + "src": "50746:29:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26247,18 +26247,18 @@ "typeString": "bytes4" } ], - "id": 2651, + "id": 2143, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49331:18:1", + "referencedDeclaration": 272, + "src": "50727:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2653, + "id": 2145, "isConstant": false, "isLValue": false, "isPure": false, @@ -26266,27 +26266,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49331:49:1", + "src": "50727:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2654, + "id": 2146, "nodeType": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "expression": { "arguments": [ { - "id": 2656, + "id": 2148, "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2631, - "src": "49409:31:1", + "referencedDeclaration": 2123, + "src": "50806:31:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26300,18 +26300,18 @@ "typeString": "bytes4" } ], - "id": 2655, + "id": 2147, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49390:18:1", + "referencedDeclaration": 272, + "src": "50787:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2657, + "id": 2149, "isConstant": false, "isLValue": false, "isPure": false, @@ -26319,43 +26319,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49390:51:1", + "src": "50787:51:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2658, + "id": 2150, "nodeType": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ] }, "documentation": { - "id": 2632, + "id": 2124, "nodeType": "StructuredDocumentation", - "src": "48973:108:1", + "src": "50360:110:0", "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2660, + "id": 2152, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 2637, + "id": 2129, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2634, + "id": 2126, "mutability": "mutable", "name": "name_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49099:19:1", + "scope": 2152, + "src": "50489:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26363,10 +26363,10 @@ "typeString": "string" }, "typeName": { - "id": 2633, + "id": 2125, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49099:6:1", + "src": "50489:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26376,12 +26376,12 @@ }, { "constant": false, - "id": 2636, + "id": 2128, "mutability": "mutable", "name": "symbol_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49120:21:1", + "scope": 2152, + "src": "50510:21:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26389,10 +26389,10 @@ "typeString": "string" }, "typeName": { - "id": 2635, + "id": 2127, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49120:6:1", + "src": "50510:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26401,28 +26401,28 @@ "visibility": "internal" } ], - "src": "49098:44:1" + "src": "50488:44:0" }, "returnParameters": { - "id": 2638, + "id": 2130, "nodeType": "ParameterList", "parameters": [], - "src": "49143:0:1" + "src": "50533:0:0" }, - "scope": 3498, - "src": "49086:362:1", + "scope": 2990, + "src": "50476:370:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { "baseFunctions": [ - 580 + 72 ], "body": { - "id": 2685, + "id": 2177, "nodeType": "Block", - "src": "49588:137:1", + "src": "50991:140:0", "statements": [ { "expression": { @@ -26432,18 +26432,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2675, + "id": 2167, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2670, + "id": 2162, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49606:5:1", + "referencedDeclaration": 2155, + "src": "51010:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26455,14 +26455,14 @@ "arguments": [ { "hexValue": "30", - "id": 2673, + "id": 2165, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "49623:1:1", + "src": "51027:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -26477,26 +26477,26 @@ "typeString": "int_const 0" } ], - "id": 2672, + "id": 2164, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2671, + "id": 2163, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": {} } }, - "id": 2674, + "id": 2166, "isConstant": false, "isLValue": false, "isPure": true, @@ -26504,14 +26504,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49615:10:1", + "src": "51019:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "49606:19:1", + "src": "51010:19:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -26519,14 +26519,14 @@ }, { "hexValue": "4552433732313a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373", - "id": 2676, + "id": 2168, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49627:44:1", + "src": "51031:44:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7395d4d3901c50cdfcab223d072f9aa36241df5d883e62cbf147ee1b05a9e6ba", "typeString": "literal_string \"ERC721: balance query for the zero address\"" @@ -26545,7 +26545,7 @@ "typeString": "literal_string \"ERC721: balance query for the zero address\"" } ], - "id": 2669, + "id": 2161, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -26553,13 +26553,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "49598:7:1", + "src": "51002:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2677, + "id": 2169, "isConstant": false, "isLValue": false, "isPure": false, @@ -26567,16 +26567,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49598:74:1", + "src": "51002:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2678, + "id": 2170, "nodeType": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "expression": { @@ -26585,25 +26585,25 @@ "argumentTypes": [], "expression": { "baseExpression": { - "id": 2679, + "id": 2171, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "49689:13:1", + "referencedDeclaration": 2092, + "src": "51094:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2681, + "id": 2173, "indexExpression": { - "id": 2680, + "id": 2172, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49703:5:1", + "referencedDeclaration": 2155, + "src": "51108:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26614,27 +26614,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "49689:20:1", + "src": "51094:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2682, + "id": 2174, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 1900, - "src": "49689:27:1", + "referencedDeclaration": 1392, + "src": "51094:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" } }, - "id": 2683, + "id": 2175, "isConstant": false, "isLValue": false, "isPure": false, @@ -26642,51 +26642,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49689:29:1", + "src": "51094:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2668, - "id": 2684, + "functionReturnParameters": 2160, + "id": 2176, "nodeType": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ] }, "documentation": { - "id": 2661, + "id": 2153, "nodeType": "StructuredDocumentation", - "src": "49454:48:1", + "src": "50854:50:0", "text": " @dev See {IERC721-balanceOf}." }, "functionSelector": "70a08231", - "id": 2686, + "id": 2178, "implemented": true, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2665, + "id": 2157, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49561:8:1" + "src": "50964:8:0" }, "parameters": { - "id": 2664, + "id": 2156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2663, + "id": 2155, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49526:13:1", + "scope": 2178, + "src": "50929:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26694,10 +26694,10 @@ "typeString": "address" }, "typeName": { - "id": 2662, + "id": 2154, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49526:7:1", + "src": "50929:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26707,20 +26707,20 @@ "visibility": "internal" } ], - "src": "49525:15:1" + "src": "50928:15:0" }, "returnParameters": { - "id": 2668, + "id": 2160, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2667, + "id": 2159, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49579:7:1", + "scope": 2178, + "src": "50982:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26728,10 +26728,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2666, + "id": 2158, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49579:7:1", + "src": "50982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26740,33 +26740,33 @@ "visibility": "internal" } ], - "src": "49578:9:1" + "src": "50981:9:0" }, - "scope": 3498, - "src": "49507:218:1", + "scope": 2990, + "src": "50910:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 588 + 80 ], "body": { - "id": 2701, + "id": 2193, "nodeType": "Block", - "src": "49863:94:1", + "src": "51274:96:0", "statements": [ { "expression": { "arguments": [ { - "id": 2697, + "id": 2189, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2689, - "src": "49897:7:1", + "referencedDeclaration": 2181, + "src": "51309:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26774,14 +26774,14 @@ }, { "hexValue": "4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2698, + "id": 2190, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49906:43:1", + "src": "51318:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7481f3df2a424c0755a1ad2356614e9a5a358d461ea2eae1f89cb21cbad00397", "typeString": "literal_string \"ERC721: owner query for nonexistent token\"" @@ -26801,32 +26801,32 @@ } ], "expression": { - "id": 2695, + "id": 2187, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "49880:12:1", + "referencedDeclaration": 2094, + "src": "51292:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2696, + "id": 2188, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "get", "nodeType": "MemberAccess", - "referencedDeclaration": 2479, - "src": "49880:16:1", + "referencedDeclaration": 1971, + "src": "51292:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" } }, - "id": 2699, + "id": 2191, "isConstant": false, "isLValue": false, "isPure": false, @@ -26834,51 +26834,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49880:70:1", + "src": "51292:70:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2694, - "id": 2700, + "functionReturnParameters": 2186, + "id": 2192, "nodeType": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ] }, "documentation": { - "id": 2687, + "id": 2179, "nodeType": "StructuredDocumentation", - "src": "49731:46:1", + "src": "51139:48:0", "text": " @dev See {IERC721-ownerOf}." }, "functionSelector": "6352211e", - "id": 2702, + "id": 2194, "implemented": true, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2691, + "id": 2183, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49836:8:1" + "src": "51247:8:0" }, "parameters": { - "id": 2690, + "id": 2182, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2689, + "id": 2181, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49799:15:1", + "scope": 2194, + "src": "51210:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26886,10 +26886,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2688, + "id": 2180, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49799:7:1", + "src": "51210:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26898,20 +26898,20 @@ "visibility": "internal" } ], - "src": "49798:17:1" + "src": "51209:17:0" }, "returnParameters": { - "id": 2694, + "id": 2186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2693, + "id": 2185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49854:7:1", + "scope": 2194, + "src": "51265:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26919,10 +26919,10 @@ "typeString": "address" }, "typeName": { - "id": 2692, + "id": 2184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49854:7:1", + "src": "51265:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26932,80 +26932,80 @@ "visibility": "internal" } ], - "src": "49853:9:1" + "src": "51264:9:0" }, - "scope": 3498, - "src": "49782:175:1", + "scope": 2990, + "src": "51193:177:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 665 + 157 ], "body": { - "id": 2711, + "id": 2203, "nodeType": "Block", - "src": "50088:29:1", + "src": "51506:31:0", "statements": [ { "expression": { - "id": 2709, + "id": 2201, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "50105:5:1", + "referencedDeclaration": 2106, + "src": "51524:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2708, - "id": 2710, + "functionReturnParameters": 2200, + "id": 2202, "nodeType": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ] }, "documentation": { - "id": 2703, + "id": 2195, "nodeType": "StructuredDocumentation", - "src": "49963:51:1", + "src": "51378:53:0", "text": " @dev See {IERC721Metadata-name}." }, "functionSelector": "06fdde03", - "id": 2712, + "id": 2204, "implemented": true, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "overrides": { - "id": 2705, + "id": 2197, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50055:8:1" + "src": "51473:8:0" }, "parameters": { - "id": 2704, + "id": 2196, "nodeType": "ParameterList", "parameters": [], - "src": "50032:2:1" + "src": "51450:2:0" }, "returnParameters": { - "id": 2708, + "id": 2200, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2707, + "id": 2199, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2712, - "src": "50073:13:1", + "scope": 2204, + "src": "51491:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27013,10 +27013,10 @@ "typeString": "string" }, "typeName": { - "id": 2706, + "id": 2198, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50073:6:1", + "src": "51491:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27025,80 +27025,80 @@ "visibility": "internal" } ], - "src": "50072:15:1" + "src": "51490:15:0" }, - "scope": 3498, - "src": "50019:98:1", + "scope": 2990, + "src": "51437:100:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 671 + 163 ], "body": { - "id": 2721, + "id": 2213, "nodeType": "Block", - "src": "50252:31:1", + "src": "51677:33:0", "statements": [ { "expression": { - "id": 2719, + "id": 2211, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "50269:7:1", + "referencedDeclaration": 2108, + "src": "51695:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2718, - "id": 2720, + "functionReturnParameters": 2210, + "id": 2212, "nodeType": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ] }, "documentation": { - "id": 2713, + "id": 2205, "nodeType": "StructuredDocumentation", - "src": "50123:53:1", + "src": "51545:55:0", "text": " @dev See {IERC721Metadata-symbol}." }, "functionSelector": "95d89b41", - "id": 2722, + "id": 2214, "implemented": true, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "overrides": { - "id": 2715, + "id": 2207, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50219:8:1" + "src": "51644:8:0" }, "parameters": { - "id": 2714, + "id": 2206, "nodeType": "ParameterList", "parameters": [], - "src": "50196:2:1" + "src": "51621:2:0" }, "returnParameters": { - "id": 2718, + "id": 2210, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2717, + "id": 2209, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2722, - "src": "50237:13:1", + "scope": 2214, + "src": "51662:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27106,10 +27106,10 @@ "typeString": "string" }, "typeName": { - "id": 2716, + "id": 2208, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50237:6:1", + "src": "51662:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27118,22 +27118,22 @@ "visibility": "internal" } ], - "src": "50236:15:1" + "src": "51661:15:0" }, - "scope": 3498, - "src": "50181:102:1", + "scope": 2990, + "src": "51606:104:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 679 + 171 ], "body": { - "id": 2789, + "id": 2281, "nodeType": "Block", - "src": "50437:688:1", + "src": "51869:704:0", "statements": [ { "expression": { @@ -27141,12 +27141,12 @@ { "arguments": [ { - "id": 2733, + "id": 2225, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50463:7:1", + "referencedDeclaration": 2217, + "src": "51896:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27160,18 +27160,18 @@ "typeString": "uint256" } ], - "id": 2732, + "id": 2224, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "50455:7:1", + "referencedDeclaration": 2577, + "src": "51888:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2734, + "id": 2226, "isConstant": false, "isLValue": false, "isPure": false, @@ -27179,7 +27179,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50455:16:1", + "src": "51888:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -27188,14 +27188,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2735, + "id": 2227, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "50473:49:1", + "src": "51906:49:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a2d45c0fba603d40d82d590051761ca952d1ab9d78cca6d0d464d7b6e961a9cb", "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" @@ -27214,7 +27214,7 @@ "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" } ], - "id": 2731, + "id": 2223, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -27222,13 +27222,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "50447:7:1", + "src": "51880:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2736, + "id": 2228, "isConstant": false, "isLValue": false, "isPure": false, @@ -27236,30 +27236,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50447:76:1", + "src": "51880:76:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2737, + "id": 2229, "nodeType": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "assignments": [ - 2739 + 2231 ], "declarations": [ { "constant": false, - "id": 2739, + "id": 2231, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50534:23:1", + "scope": 2281, + "src": "51969:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27267,10 +27267,10 @@ "typeString": "string" }, "typeName": { - "id": 2738, + "id": 2230, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50534:6:1", + "src": "51969:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27279,28 +27279,28 @@ "visibility": "internal" } ], - "id": 2743, + "id": 2235, "initialValue": { "baseExpression": { - "id": 2740, + "id": 2232, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "50560:10:1", + "referencedDeclaration": 2112, + "src": "51995:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 2742, + "id": 2234, "indexExpression": { - "id": 2741, + "id": 2233, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50571:7:1", + "referencedDeclaration": 2217, + "src": "52006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27311,28 +27311,28 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "50560:19:1", + "src": "51995:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "assignments": [ - 2745 + 2237 ], "declarations": [ { "constant": false, - "id": 2745, + "id": 2237, "mutability": "mutable", "name": "base", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50589:18:1", + "scope": 2281, + "src": "52025:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27340,10 +27340,10 @@ "typeString": "string" }, "typeName": { - "id": 2744, + "id": 2236, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50589:6:1", + "src": "52025:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27352,23 +27352,23 @@ "visibility": "internal" } ], - "id": 2748, + "id": 2240, "initialValue": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2746, + "id": 2238, "name": "baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2799, - "src": "50610:7:1", + "referencedDeclaration": 2291, + "src": "52046:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_string_memory_ptr_$", "typeString": "function () view returns (string memory)" } }, - "id": 2747, + "id": 2239, "isConstant": false, "isLValue": false, "isPure": false, @@ -27376,7 +27376,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50610:9:1", + "src": "52046:9:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27384,7 +27384,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "condition": { @@ -27392,7 +27392,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2755, + "id": 2247, "isConstant": false, "isLValue": false, "isPure": false, @@ -27401,12 +27401,12 @@ "expression": { "arguments": [ { - "id": 2751, + "id": 2243, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50698:4:1", + "referencedDeclaration": 2237, + "src": "52137:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27420,26 +27420,26 @@ "typeString": "string memory" } ], - "id": 2750, + "id": 2242, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2749, + "id": 2241, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": {} } }, - "id": 2752, + "id": 2244, "isConstant": false, "isLValue": false, "isPure": false, @@ -27447,21 +27447,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50692:11:1", + "src": "52131:11:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2753, + "id": 2245, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50692:18:1", + "src": "52131:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27471,51 +27471,51 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2754, + "id": 2246, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50714:1:1", + "src": "52153:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50692:23:1", + "src": "52131:23:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2759, + "id": 2251, "nodeType": "IfStatement", - "src": "50688:70:1", + "src": "52127:72:0", "trueBody": { - "id": 2758, + "id": 2250, "nodeType": "Block", - "src": "50717:41:1", + "src": "52156:43:0", "statements": [ { "expression": { - "id": 2756, + "id": 2248, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50738:9:1", + "referencedDeclaration": 2231, + "src": "52178:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2757, + "functionReturnParameters": 2222, + "id": 2249, "nodeType": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ] } @@ -27526,7 +27526,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2766, + "id": 2258, "isConstant": false, "isLValue": false, "isPure": false, @@ -27535,12 +27535,12 @@ "expression": { "arguments": [ { - "id": 2762, + "id": 2254, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50866:9:1", + "referencedDeclaration": 2231, + "src": "52309:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27554,26 +27554,26 @@ "typeString": "string memory" } ], - "id": 2761, + "id": 2253, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2760, + "id": 2252, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": {} } }, - "id": 2763, + "id": 2255, "isConstant": false, "isLValue": false, "isPure": false, @@ -27581,21 +27581,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50860:16:1", + "src": "52303:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2764, + "id": 2256, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50860:23:1", + "src": "52303:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27605,33 +27605,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 2765, + "id": 2257, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50886:1:1", + "src": "52329:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50860:27:1", + "src": "52303:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2777, + "id": 2269, "nodeType": "IfStatement", - "src": "50856:106:1", + "src": "52299:108:0", "trueBody": { - "id": 2776, + "id": 2268, "nodeType": "Block", - "src": "50889:73:1", + "src": "52332:75:0", "statements": [ { "expression": { @@ -27639,24 +27639,24 @@ { "arguments": [ { - "id": 2771, + "id": 2263, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50934:4:1", + "referencedDeclaration": 2237, + "src": "52378:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, { - "id": 2772, + "id": 2264, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50940:9:1", + "referencedDeclaration": 2231, + "src": "52384:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27675,31 +27675,31 @@ } ], "expression": { - "id": 2769, + "id": 2261, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "50917:3:1", + "src": "52361:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2770, + "id": 2262, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "50917:16:1", + "src": "52361:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2773, + "id": 2265, "isConstant": false, "isLValue": false, "isPure": false, @@ -27707,7 +27707,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50917:33:1", + "src": "52361:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -27722,26 +27722,26 @@ "typeString": "bytes memory" } ], - "id": 2768, + "id": 2260, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2767, + "id": 2259, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": {} } }, - "id": 2774, + "id": 2266, "isConstant": false, "isLValue": false, "isPure": false, @@ -27749,17 +27749,17 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50910:41:1", + "src": "52354:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2775, + "functionReturnParameters": 2222, + "id": 2267, "nodeType": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ] } @@ -27770,12 +27770,12 @@ { "arguments": [ { - "id": 2782, + "id": 2274, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "51092:4:1", + "referencedDeclaration": 2237, + "src": "52539:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27786,32 +27786,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2783, + "id": 2275, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "51098:7:1", + "referencedDeclaration": 2217, + "src": "52545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2784, + "id": 2276, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toString", "nodeType": "MemberAccess", - "referencedDeclaration": 2565, - "src": "51098:16:1", + "referencedDeclaration": 2057, + "src": "52545:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$bound_to$_t_uint256_$", "typeString": "function (uint256) pure returns (string memory)" } }, - "id": 2785, + "id": 2277, "isConstant": false, "isLValue": false, "isPure": false, @@ -27819,7 +27819,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51098:18:1", + "src": "52545:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27839,31 +27839,31 @@ } ], "expression": { - "id": 2780, + "id": 2272, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "51075:3:1", + "src": "52522:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2781, + "id": 2273, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "51075:16:1", + "src": "52522:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2786, + "id": 2278, "isConstant": false, "isLValue": false, "isPure": false, @@ -27871,7 +27871,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51075:42:1", + "src": "52522:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -27886,26 +27886,26 @@ "typeString": "bytes memory" } ], - "id": 2779, + "id": 2271, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2778, + "id": 2270, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": {} } }, - "id": 2787, + "id": 2279, "isConstant": false, "isLValue": false, "isPure": false, @@ -27913,51 +27913,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51068:50:1", + "src": "52515:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2788, + "functionReturnParameters": 2222, + "id": 2280, "nodeType": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ] }, "documentation": { - "id": 2723, + "id": 2215, "nodeType": "StructuredDocumentation", - "src": "50289:55:1", + "src": "51718:57:0", "text": " @dev See {IERC721Metadata-tokenURI}." }, "functionSelector": "c87b56dd", - "id": 2790, + "id": 2282, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "overrides": { - "id": 2727, + "id": 2219, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50404:8:1" + "src": "51836:8:0" }, "parameters": { - "id": 2726, + "id": 2218, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2725, + "id": 2217, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50367:15:1", + "scope": 2282, + "src": "51799:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27965,10 +27965,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2724, + "id": 2216, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "50367:7:1", + "src": "51799:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27977,20 +27977,20 @@ "visibility": "internal" } ], - "src": "50366:17:1" + "src": "51798:17:0" }, "returnParameters": { - "id": 2730, + "id": 2222, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2729, + "id": 2221, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50422:13:1", + "scope": 2282, + "src": "51854:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27998,10 +27998,10 @@ "typeString": "string" }, "typeName": { - "id": 2728, + "id": 2220, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50422:6:1", + "src": "51854:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28010,71 +28010,71 @@ "visibility": "internal" } ], - "src": "50421:15:1" + "src": "51853:15:0" }, - "scope": 3498, - "src": "50349:776:1", + "scope": 2990, + "src": "51781:792:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 2798, + "id": 2290, "nodeType": "Block", - "src": "51420:32:1", + "src": "52875:34:0", "statements": [ { "expression": { - "id": 2796, + "id": 2288, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "51437:8:1", + "referencedDeclaration": 2114, + "src": "52893:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2795, - "id": 2797, + "functionReturnParameters": 2287, + "id": 2289, "nodeType": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ] }, "documentation": { - "id": 2791, + "id": 2283, "nodeType": "StructuredDocumentation", - "src": "51131:221:1", + "src": "52581:225:0", "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, "functionSelector": "6c0360eb", - "id": 2799, + "id": 2291, "implemented": true, "kind": "function", "modifiers": [], "name": "baseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 2792, + "id": 2284, "nodeType": "ParameterList", "parameters": [], - "src": "51373:2:1" + "src": "52828:2:0" }, "returnParameters": { - "id": 2795, + "id": 2287, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2794, + "id": 2286, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2799, - "src": "51405:13:1", + "scope": 2291, + "src": "52860:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -28082,10 +28082,10 @@ "typeString": "string" }, "typeName": { - "id": 2793, + "id": 2285, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51405:6:1", + "src": "52860:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28094,33 +28094,33 @@ "visibility": "internal" } ], - "src": "51404:15:1" + "src": "52859:15:0" }, - "scope": 3498, - "src": "51357:95:1", + "scope": 2990, + "src": "52812:97:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 700 + 192 ], "body": { - "id": 2817, + "id": 2309, "nodeType": "Block", - "src": "51637:54:1", + "src": "53099:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 2814, + "id": 2306, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2804, - "src": "51678:5:1", + "referencedDeclaration": 2296, + "src": "53141:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28136,25 +28136,25 @@ ], "expression": { "baseExpression": { - "id": 2810, + "id": 2302, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "51654:13:1", + "referencedDeclaration": 2092, + "src": "53117:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2812, + "id": 2304, "indexExpression": { - "id": 2811, + "id": 2303, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2802, - "src": "51668:5:1", + "referencedDeclaration": 2294, + "src": "53131:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28165,27 +28165,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "51654:20:1", + "src": "53117:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2813, + "id": 2305, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 1920, - "src": "51654:23:1", + "referencedDeclaration": 1412, + "src": "53117:23:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" } }, - "id": 2815, + "id": 2307, "isConstant": false, "isLValue": false, "isPure": false, @@ -28193,51 +28193,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51654:30:1", + "src": "53117:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2809, - "id": 2816, + "functionReturnParameters": 2301, + "id": 2308, "nodeType": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ] }, "documentation": { - "id": 2800, + "id": 2292, "nodeType": "StructuredDocumentation", - "src": "51458:68:1", + "src": "52917:70:0", "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, "functionSelector": "2f745c59", - "id": 2818, + "id": 2310, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2806, + "id": 2298, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51610:8:1" + "src": "53072:8:0" }, "parameters": { - "id": 2805, + "id": 2297, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2802, + "id": 2294, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51560:13:1", + "scope": 2310, + "src": "53022:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28245,10 +28245,10 @@ "typeString": "address" }, "typeName": { - "id": 2801, + "id": 2293, "name": "address", "nodeType": "ElementaryTypeName", - "src": "51560:7:1", + "src": "53022:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28259,12 +28259,12 @@ }, { "constant": false, - "id": 2804, + "id": 2296, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51575:13:1", + "scope": 2310, + "src": "53037:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28272,10 +28272,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2803, + "id": 2295, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51575:7:1", + "src": "53037:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28284,20 +28284,20 @@ "visibility": "internal" } ], - "src": "51559:30:1" + "src": "53021:30:0" }, "returnParameters": { - "id": 2809, + "id": 2301, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2808, + "id": 2300, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51628:7:1", + "scope": 2310, + "src": "53090:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28305,10 +28305,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2807, + "id": 2299, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51628:7:1", + "src": "53090:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28317,22 +28317,22 @@ "visibility": "internal" } ], - "src": "51627:9:1" + "src": "53089:9:0" }, - "scope": 3498, - "src": "51531:160:1", + "scope": 2990, + "src": "52993:162:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 690 + 182 ], "body": { - "id": 2829, + "id": 2321, "nodeType": "Block", - "src": "51832:138:1", + "src": "53301:141:0", "statements": [ { "expression": { @@ -28340,32 +28340,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2825, + "id": 2317, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "51942:12:1", + "referencedDeclaration": 2094, + "src": "53413:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2826, + "id": 2318, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 2340, - "src": "51942:19:1", + "referencedDeclaration": 1832, + "src": "53413:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" } }, - "id": 2827, + "id": 2319, "isConstant": false, "isLValue": false, "isPure": false, @@ -28373,57 +28373,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51942:21:1", + "src": "53413:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2824, - "id": 2828, + "functionReturnParameters": 2316, + "id": 2320, "nodeType": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ] }, "documentation": { - "id": 2819, + "id": 2311, "nodeType": "StructuredDocumentation", - "src": "51697:60:1", + "src": "53163:62:0", "text": " @dev See {IERC721Enumerable-totalSupply}." }, "functionSelector": "18160ddd", - "id": 2830, + "id": 2322, "implemented": true, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "overrides": { - "id": 2821, + "id": 2313, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51805:8:1" + "src": "53274:8:0" }, "parameters": { - "id": 2820, + "id": 2312, "nodeType": "ParameterList", "parameters": [], - "src": "51782:2:1" + "src": "53251:2:0" }, "returnParameters": { - "id": 2824, + "id": 2316, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2823, + "id": 2315, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2830, - "src": "51823:7:1", + "scope": 2322, + "src": "53292:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28431,10 +28431,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2822, + "id": 2314, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51823:7:1", + "src": "53292:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28443,37 +28443,37 @@ "visibility": "internal" } ], - "src": "51822:9:1" + "src": "53291:9:0" }, - "scope": 3498, - "src": "51762:208:1", + "scope": 2990, + "src": "53231:211:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 708 + 200 ], "body": { - "id": 2848, + "id": 2340, "nodeType": "Block", - "src": "52126:85:1", + "src": "53603:88:0", "statements": [ { "assignments": [ - 2840, + 2332, null ], "declarations": [ { "constant": false, - "id": 2840, + "id": 2332, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2848, - "src": "52137:15:1", + "scope": 2340, + "src": "53615:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28481,10 +28481,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2839, + "id": 2331, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52137:7:1", + "src": "53615:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28494,16 +28494,16 @@ }, null ], - "id": 2845, + "id": 2337, "initialValue": { "arguments": [ { - "id": 2843, + "id": 2335, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2833, - "src": "52174:5:1", + "referencedDeclaration": 2325, + "src": "53652:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28518,32 +28518,32 @@ } ], "expression": { - "id": 2841, + "id": 2333, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "52158:12:1", + "referencedDeclaration": 2094, + "src": "53636:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2842, + "id": 2334, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 2379, - "src": "52158:15:1", + "referencedDeclaration": 1871, + "src": "53636:15:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" } }, - "id": 2844, + "id": 2336, "isConstant": false, "isLValue": false, "isPure": false, @@ -28551,7 +28551,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52158:22:1", + "src": "53636:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_$", @@ -28559,59 +28559,59 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "expression": { - "id": 2846, + "id": 2338, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2840, - "src": "52197:7:1", + "referencedDeclaration": 2332, + "src": "53676:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2838, - "id": 2847, + "functionReturnParameters": 2330, + "id": 2339, "nodeType": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ] }, "documentation": { - "id": 2831, + "id": 2323, "nodeType": "StructuredDocumentation", - "src": "51976:61:1", + "src": "53450:63:0", "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, "functionSelector": "4f6ccce7", - "id": 2849, + "id": 2341, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2835, + "id": 2327, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52099:8:1" + "src": "53576:8:0" }, "parameters": { - "id": 2834, + "id": 2326, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2833, + "id": 2325, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52064:13:1", + "scope": 2341, + "src": "53541:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28619,10 +28619,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2832, + "id": 2324, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52064:7:1", + "src": "53541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28631,20 +28631,20 @@ "visibility": "internal" } ], - "src": "52063:15:1" + "src": "53540:15:0" }, "returnParameters": { - "id": 2838, + "id": 2330, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2837, + "id": 2329, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52117:7:1", + "scope": 2341, + "src": "53594:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28652,10 +28652,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2836, + "id": 2328, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52117:7:1", + "src": "53594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28664,36 +28664,36 @@ "visibility": "internal" } ], - "src": "52116:9:1" + "src": "53593:9:0" }, - "scope": 3498, - "src": "52042:169:1", + "scope": 2990, + "src": "53519:172:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 616 + 108 ], "body": { - "id": 2892, + "id": 2384, "nodeType": "Block", - "src": "52338:325:1", + "src": "53823:334:0", "statements": [ { "assignments": [ - 2859 + 2351 ], "declarations": [ { "constant": false, - "id": 2859, + "id": 2351, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2892, - "src": "52348:13:1", + "scope": 2384, + "src": "53834:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28701,10 +28701,10 @@ "typeString": "address" }, "typeName": { - "id": 2858, + "id": 2350, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52348:7:1", + "src": "53834:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28714,16 +28714,16 @@ "visibility": "internal" } ], - "id": 2864, + "id": 2356, "initialValue": { "arguments": [ { - "id": 2862, + "id": 2354, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52379:7:1", + "referencedDeclaration": 2346, + "src": "53865:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28738,32 +28738,32 @@ } ], "expression": { - "id": 2860, + "id": 2352, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52364:6:1", + "referencedDeclaration": 2990, + "src": "53850:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2861, + "id": 2353, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "52364:14:1", + "referencedDeclaration": 2194, + "src": "53850:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 2863, + "id": 2355, "isConstant": false, "isLValue": false, "isPure": false, @@ -28771,7 +28771,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52364:23:1", + "src": "53850:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -28779,7 +28779,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "expression": { @@ -28789,18 +28789,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2868, + "id": 2360, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2866, + "id": 2358, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52405:2:1", + "referencedDeclaration": 2344, + "src": "53892:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28809,18 +28809,18 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 2867, + "id": 2359, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52411:5:1", + "referencedDeclaration": 2351, + "src": "53898:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52405:11:1", + "src": "53892:11:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28828,14 +28828,14 @@ }, { "hexValue": "4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572", - "id": 2869, + "id": 2361, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52418:35:1", + "src": "53905:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942", "typeString": "literal_string \"ERC721: approval to current owner\"" @@ -28854,7 +28854,7 @@ "typeString": "literal_string \"ERC721: approval to current owner\"" } ], - "id": 2865, + "id": 2357, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -28862,13 +28862,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52397:7:1", + "src": "53884:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2870, + "id": 2362, "isConstant": false, "isLValue": false, "isPure": false, @@ -28876,16 +28876,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52397:57:1", + "src": "53884:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2871, + "id": 2363, "nodeType": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "expression": { @@ -28895,7 +28895,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 2883, + "id": 2375, "isConstant": false, "isLValue": false, "isPure": false, @@ -28905,7 +28905,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2876, + "id": 2368, "isConstant": false, "isLValue": false, "isPure": false, @@ -28914,18 +28914,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2873, + "id": 2365, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52473:10:1", + "referencedDeclaration": 10, + "src": "53962:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2874, + "id": 2366, "isConstant": false, "isLValue": false, "isPure": false, @@ -28933,7 +28933,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52473:12:1", + "src": "53962:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -28943,18 +28943,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 2875, + "id": 2367, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52489:5:1", + "referencedDeclaration": 2351, + "src": "53978:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52473:21:1", + "src": "53962:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28965,12 +28965,12 @@ "rightExpression": { "arguments": [ { - "id": 2879, + "id": 2371, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52522:5:1", + "referencedDeclaration": 2351, + "src": "54011:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28980,18 +28980,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2880, + "id": 2372, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52529:10:1", + "referencedDeclaration": 10, + "src": "54018:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2881, + "id": 2373, "isConstant": false, "isLValue": false, "isPure": false, @@ -28999,7 +28999,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52529:12:1", + "src": "54018:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29019,32 +29019,32 @@ } ], "expression": { - "id": 2877, + "id": 2369, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52498:6:1", + "referencedDeclaration": 2990, + "src": "53987:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2878, + "id": 2370, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "52498:23:1", + "referencedDeclaration": 2458, + "src": "53987:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 2882, + "id": 2374, "isConstant": false, "isLValue": false, "isPure": false, @@ -29052,14 +29052,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52498:44:1", + "src": "53987:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "52473:69:1", + "src": "53962:69:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29067,14 +29067,14 @@ }, { "hexValue": "4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c", - "id": 2884, + "id": 2376, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52556:58:1", + "src": "54046:58:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_6d83cef3e0cb19b8320a9c5feb26b56bbb08f152a8e61b12eca3302d8d68b23d", "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" @@ -29093,7 +29093,7 @@ "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" } ], - "id": 2872, + "id": 2364, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29101,13 +29101,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52465:7:1", + "src": "53954:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2885, + "id": 2377, "isConstant": false, "isLValue": false, "isPure": false, @@ -29115,39 +29115,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52465:159:1", + "src": "53954:161:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2886, + "id": 2378, "nodeType": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "expression": { "arguments": [ { - "id": 2888, + "id": 2380, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52644:2:1", + "referencedDeclaration": 2344, + "src": "54137:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2889, + "id": 2381, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52648:7:1", + "referencedDeclaration": 2346, + "src": "54141:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29165,18 +29165,18 @@ "typeString": "uint256" } ], - "id": 2887, + "id": 2379, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "52635:8:1", + "referencedDeclaration": 2978, + "src": "54128:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 2890, + "id": 2382, "isConstant": false, "isLValue": false, "isPure": false, @@ -29184,50 +29184,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52635:21:1", + "src": "54128:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2891, + "id": 2383, "nodeType": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ] }, "documentation": { - "id": 2850, + "id": 2342, "nodeType": "StructuredDocumentation", - "src": "52217:46:1", + "src": "53699:48:0", "text": " @dev See {IERC721-approve}." }, "functionSelector": "095ea7b3", - "id": 2893, + "id": 2385, "implemented": true, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "overrides": { - "id": 2856, + "id": 2348, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52329:8:1" + "src": "53814:8:0" }, "parameters": { - "id": 2855, + "id": 2347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2852, + "id": 2344, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52285:10:1", + "scope": 2385, + "src": "53770:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29235,10 +29235,10 @@ "typeString": "address" }, "typeName": { - "id": 2851, + "id": 2343, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52285:7:1", + "src": "53770:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29249,12 +29249,12 @@ }, { "constant": false, - "id": 2854, + "id": 2346, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52297:15:1", + "scope": 2385, + "src": "53782:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29262,10 +29262,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2853, + "id": 2345, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52297:7:1", + "src": "53782:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29274,28 +29274,28 @@ "visibility": "internal" } ], - "src": "52284:29:1" + "src": "53769:29:0" }, "returnParameters": { - "id": 2857, + "id": 2349, "nodeType": "ParameterList", "parameters": [], - "src": "52338:0:1" + "src": "53823:0:0" }, - "scope": 3498, - "src": "52268:395:1", + "scope": 2990, + "src": "53753:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 624 + 116 ], "body": { - "id": 2913, + "id": 2405, "nodeType": "Block", - "src": "52809:132:1", + "src": "54308:136:0", "statements": [ { "expression": { @@ -29303,12 +29303,12 @@ { "arguments": [ { - "id": 2904, + "id": 2396, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52835:7:1", + "referencedDeclaration": 2388, + "src": "54335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29322,18 +29322,18 @@ "typeString": "uint256" } ], - "id": 2903, + "id": 2395, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "52827:7:1", + "referencedDeclaration": 2577, + "src": "54327:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2905, + "id": 2397, "isConstant": false, "isLValue": false, "isPure": false, @@ -29341,7 +29341,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52827:16:1", + "src": "54327:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -29350,14 +29350,14 @@ }, { "hexValue": "4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2906, + "id": 2398, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52845:46:1", + "src": "54345:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9291e0f44949204f2e9b40e6be090924979d6047b2365868f4e9f027722eb89d", "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" @@ -29376,7 +29376,7 @@ "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" } ], - "id": 2902, + "id": 2394, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29384,13 +29384,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52819:7:1", + "src": "54319:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2907, + "id": 2399, "isConstant": false, "isLValue": false, "isPure": false, @@ -29398,39 +29398,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52819:73:1", + "src": "54319:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2908, + "id": 2400, "nodeType": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "expression": { "baseExpression": { - "id": 2909, + "id": 2401, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "52910:15:1", + "referencedDeclaration": 2098, + "src": "54412:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 2911, + "id": 2403, "indexExpression": { - "id": 2910, + "id": 2402, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52926:7:1", + "referencedDeclaration": 2388, + "src": "54428:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29441,50 +29441,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "52910:24:1", + "src": "54412:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2901, - "id": 2912, + "functionReturnParameters": 2393, + "id": 2404, "nodeType": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ] }, "documentation": { - "id": 2894, + "id": 2386, "nodeType": "StructuredDocumentation", - "src": "52669:50:1", + "src": "54165:52:0", "text": " @dev See {IERC721-getApproved}." }, "functionSelector": "081812fc", - "id": 2914, + "id": 2406, "implemented": true, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "overrides": { - "id": 2898, + "id": 2390, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52782:8:1" + "src": "54281:8:0" }, "parameters": { - "id": 2897, + "id": 2389, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2896, + "id": 2388, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52745:15:1", + "scope": 2406, + "src": "54244:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29492,10 +29492,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2895, + "id": 2387, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52745:7:1", + "src": "54244:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29504,20 +29504,20 @@ "visibility": "internal" } ], - "src": "52744:17:1" + "src": "54243:17:0" }, "returnParameters": { - "id": 2901, + "id": 2393, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2900, + "id": 2392, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52800:7:1", + "scope": 2406, + "src": "54299:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29525,10 +29525,10 @@ "typeString": "address" }, "typeName": { - "id": 2899, + "id": 2391, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52800:7:1", + "src": "54299:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29538,22 +29538,22 @@ "visibility": "internal" } ], - "src": "52799:9:1" + "src": "54298:9:0" }, - "scope": 3498, - "src": "52724:217:1", + "scope": 2990, + "src": "54223:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 632 + 124 ], "body": { - "id": 2947, + "id": 2439, "nodeType": "Block", - "src": "53092:206:1", + "src": "54600:211:0", "statements": [ { "expression": { @@ -29563,18 +29563,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2927, + "id": 2419, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2924, + "id": 2416, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53110:8:1", + "referencedDeclaration": 2409, + "src": "54619:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29586,18 +29586,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2925, + "id": 2417, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53122:10:1", + "referencedDeclaration": 10, + "src": "54631:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2926, + "id": 2418, "isConstant": false, "isLValue": false, "isPure": false, @@ -29605,14 +29605,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53122:12:1", + "src": "54631:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "53110:24:1", + "src": "54619:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29620,14 +29620,14 @@ }, { "hexValue": "4552433732313a20617070726f766520746f2063616c6c6572", - "id": 2928, + "id": 2420, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53136:27:1", + "src": "54645:27:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05", "typeString": "literal_string \"ERC721: approve to caller\"" @@ -29646,7 +29646,7 @@ "typeString": "literal_string \"ERC721: approve to caller\"" } ], - "id": 2923, + "id": 2415, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29654,13 +29654,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53102:7:1", + "src": "54611:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2929, + "id": 2421, "isConstant": false, "isLValue": false, "isPure": false, @@ -29668,20 +29668,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53102:62:1", + "src": "54611:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2930, + "id": 2422, "nodeType": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "expression": { - "id": 2938, + "id": 2430, "isConstant": false, "isLValue": false, "isPure": false, @@ -29689,34 +29689,34 @@ "leftHandSide": { "baseExpression": { "baseExpression": { - "id": 2931, + "id": 2423, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53175:18:1", + "referencedDeclaration": 2104, + "src": "54686:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2935, + "id": 2427, "indexExpression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2932, + "id": 2424, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53194:10:1", + "referencedDeclaration": 10, + "src": "54705:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2933, + "id": 2425, "isConstant": false, "isLValue": false, "isPure": false, @@ -29724,7 +29724,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53194:12:1", + "src": "54705:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29736,20 +29736,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53175:32:1", + "src": "54686:32:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2936, + "id": 2428, "indexExpression": { - "id": 2934, + "id": 2426, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53208:8:1", + "referencedDeclaration": 2409, + "src": "54719:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29760,7 +29760,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "53175:42:1", + "src": "54686:42:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29769,26 +29769,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2937, + "id": 2429, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53220:8:1", + "referencedDeclaration": 2411, + "src": "54731:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "53175:53:1", + "src": "54686:53:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2939, + "id": 2431, "nodeType": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "eventCall": { @@ -29797,18 +29797,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2941, + "id": 2433, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53258:10:1", + "referencedDeclaration": 10, + "src": "54770:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2942, + "id": 2434, "isConstant": false, "isLValue": false, "isPure": false, @@ -29816,7 +29816,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53258:12:1", + "src": "54770:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29824,24 +29824,24 @@ } }, { - "id": 2943, + "id": 2435, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53272:8:1", + "referencedDeclaration": 2409, + "src": "54784:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2944, + "id": 2436, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53282:8:1", + "referencedDeclaration": 2411, + "src": "54794:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29863,18 +29863,18 @@ "typeString": "bool" } ], - "id": 2940, + "id": 2432, "name": "ApprovalForAll", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 572, - "src": "53243:14:1", + "referencedDeclaration": 64, + "src": "54755:14:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", "typeString": "function (address,address,bool)" } }, - "id": 2945, + "id": 2437, "isConstant": false, "isLValue": false, "isPure": false, @@ -29882,50 +29882,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53243:48:1", + "src": "54755:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2946, + "id": 2438, "nodeType": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ] }, "documentation": { - "id": 2915, + "id": 2407, "nodeType": "StructuredDocumentation", - "src": "52947:56:1", + "src": "54452:58:0", "text": " @dev See {IERC721-setApprovalForAll}." }, "functionSelector": "a22cb465", - "id": 2948, + "id": 2440, "implemented": true, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2921, + "id": 2413, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53083:8:1" + "src": "54591:8:0" }, "parameters": { - "id": 2920, + "id": 2412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2917, + "id": 2409, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53035:16:1", + "scope": 2440, + "src": "54543:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29933,10 +29933,10 @@ "typeString": "address" }, "typeName": { - "id": 2916, + "id": 2408, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53035:7:1", + "src": "54543:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29947,12 +29947,12 @@ }, { "constant": false, - "id": 2919, + "id": 2411, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53053:13:1", + "scope": 2440, + "src": "54561:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29960,10 +29960,10 @@ "typeString": "bool" }, "typeName": { - "id": 2918, + "id": 2410, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53053:4:1", + "src": "54561:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29972,52 +29972,52 @@ "visibility": "internal" } ], - "src": "53034:33:1" + "src": "54542:33:0" }, "returnParameters": { - "id": 2922, + "id": 2414, "nodeType": "ParameterList", "parameters": [], - "src": "53092:0:1" + "src": "54600:0:0" }, - "scope": 3498, - "src": "53008:290:1", + "scope": 2990, + "src": "54516:295:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 642 + 134 ], "body": { - "id": 2965, + "id": 2457, "nodeType": "Block", - "src": "53467:59:1", + "src": "54985:61:0", "statements": [ { "expression": { "baseExpression": { "baseExpression": { - "id": 2959, + "id": 2451, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53484:18:1", + "referencedDeclaration": 2104, + "src": "55003:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2961, + "id": 2453, "indexExpression": { - "id": 2960, + "id": 2452, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2951, - "src": "53503:5:1", + "referencedDeclaration": 2443, + "src": "55022:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30028,20 +30028,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:25:1", + "src": "55003:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2963, + "id": 2455, "indexExpression": { - "id": 2962, + "id": 2454, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2953, - "src": "53510:8:1", + "referencedDeclaration": 2445, + "src": "55029:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30052,50 +30052,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:35:1", + "src": "55003:35:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2958, - "id": 2964, + "functionReturnParameters": 2450, + "id": 2456, "nodeType": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ] }, "documentation": { - "id": 2949, + "id": 2441, "nodeType": "StructuredDocumentation", - "src": "53304:55:1", + "src": "54819:57:0", "text": " @dev See {IERC721-isApprovedForAll}." }, "functionSelector": "e985e9c5", - "id": 2966, + "id": 2458, "implemented": true, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2955, + "id": 2447, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53443:8:1" + "src": "54961:8:0" }, "parameters": { - "id": 2954, + "id": 2446, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2951, + "id": 2443, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53390:13:1", + "scope": 2458, + "src": "54908:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30103,10 +30103,10 @@ "typeString": "address" }, "typeName": { - "id": 2950, + "id": 2442, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53390:7:1", + "src": "54908:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30117,12 +30117,12 @@ }, { "constant": false, - "id": 2953, + "id": 2445, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53405:16:1", + "scope": 2458, + "src": "54923:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30130,10 +30130,10 @@ "typeString": "address" }, "typeName": { - "id": 2952, + "id": 2444, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53405:7:1", + "src": "54923:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30143,20 +30143,20 @@ "visibility": "internal" } ], - "src": "53389:33:1" + "src": "54907:33:0" }, "returnParameters": { - "id": 2958, + "id": 2450, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2957, + "id": 2449, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53461:4:1", + "scope": 2458, + "src": "54979:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30164,10 +30164,10 @@ "typeString": "bool" }, "typeName": { - "id": 2956, + "id": 2448, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53461:4:1", + "src": "54979:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30176,22 +30176,22 @@ "visibility": "internal" } ], - "src": "53460:6:1" + "src": "54978:6:0" }, - "scope": 3498, - "src": "53364:162:1", + "scope": 2990, + "src": "54882:164:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 608 + 100 ], "body": { - "id": 2992, + "id": 2484, "nodeType": "Block", - "src": "53677:211:1", + "src": "55202:216:0", "statements": [ { "expression": { @@ -30202,18 +30202,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2979, + "id": 2471, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53766:10:1", + "referencedDeclaration": 10, + "src": "55293:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2980, + "id": 2472, "isConstant": false, "isLValue": false, "isPure": false, @@ -30221,7 +30221,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53766:12:1", + "src": "55293:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30229,12 +30229,12 @@ } }, { - "id": 2981, + "id": 2473, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53780:7:1", + "referencedDeclaration": 2465, + "src": "55307:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30252,18 +30252,18 @@ "typeString": "uint256" } ], - "id": 2978, + "id": 2470, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "53747:18:1", + "referencedDeclaration": 2619, + "src": "55274:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 2982, + "id": 2474, "isConstant": false, "isLValue": false, "isPure": false, @@ -30271,7 +30271,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53747:41:1", + "src": "55274:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30280,14 +30280,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 2983, + "id": 2475, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53790:51:1", + "src": "55317:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30306,7 +30306,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 2977, + "id": 2469, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30314,13 +30314,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53739:7:1", + "src": "55266:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2984, + "id": 2476, "isConstant": false, "isLValue": false, "isPure": false, @@ -30328,51 +30328,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53739:103:1", + "src": "55266:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2985, + "id": 2477, "nodeType": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "expression": { "arguments": [ { - "id": 2987, + "id": 2479, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2969, - "src": "53863:4:1", + "referencedDeclaration": 2461, + "src": "55392:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2988, + "id": 2480, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2971, - "src": "53869:2:1", + "referencedDeclaration": 2463, + "src": "55398:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2989, + "id": 2481, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53873:7:1", + "referencedDeclaration": 2465, + "src": "55402:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30394,18 +30394,18 @@ "typeString": "uint256" } ], - "id": 2986, + "id": 2478, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "53853:9:1", + "referencedDeclaration": 2863, + "src": "55382:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 2990, + "id": 2482, "isConstant": false, "isLValue": false, "isPure": false, @@ -30413,50 +30413,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53853:28:1", + "src": "55382:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2991, + "id": 2483, "nodeType": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ] }, "documentation": { - "id": 2967, + "id": 2459, "nodeType": "StructuredDocumentation", - "src": "53532:51:1", + "src": "55054:53:0", "text": " @dev See {IERC721-transferFrom}." }, "functionSelector": "23b872dd", - "id": 2993, + "id": 2485, "implemented": true, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 2975, + "id": 2467, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53668:8:1" + "src": "55193:8:0" }, "parameters": { - "id": 2974, + "id": 2466, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2969, + "id": 2461, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53610:12:1", + "scope": 2485, + "src": "55135:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30464,10 +30464,10 @@ "typeString": "address" }, "typeName": { - "id": 2968, + "id": 2460, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53610:7:1", + "src": "55135:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30478,12 +30478,12 @@ }, { "constant": false, - "id": 2971, + "id": 2463, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53624:10:1", + "scope": 2485, + "src": "55149:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30491,10 +30491,10 @@ "typeString": "address" }, "typeName": { - "id": 2970, + "id": 2462, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53624:7:1", + "src": "55149:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30505,12 +30505,12 @@ }, { "constant": false, - "id": 2973, + "id": 2465, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53636:15:1", + "scope": 2485, + "src": "55161:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30518,10 +30518,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2972, + "id": 2464, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "53636:7:1", + "src": "55161:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30530,63 +30530,63 @@ "visibility": "internal" } ], - "src": "53609:43:1" + "src": "55134:43:0" }, "returnParameters": { - "id": 2976, + "id": 2468, "nodeType": "ParameterList", "parameters": [], - "src": "53677:0:1" + "src": "55202:0:0" }, - "scope": 3498, - "src": "53588:300:1", + "scope": 2990, + "src": "55113:305:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 598 + 90 ], "body": { - "id": 3011, + "id": 2503, "nodeType": "Block", - "src": "54047:56:1", + "src": "55582:58:0", "statements": [ { "expression": { "arguments": [ { - "id": 3005, + "id": 2497, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2996, - "src": "54074:4:1", + "referencedDeclaration": 2488, + "src": "55610:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3006, + "id": 2498, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2998, - "src": "54080:2:1", + "referencedDeclaration": 2490, + "src": "55616:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3007, + "id": 2499, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3000, - "src": "54084:7:1", + "referencedDeclaration": 2492, + "src": "55620:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30594,14 +30594,14 @@ }, { "hexValue": "", - "id": 3008, + "id": 2500, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54093:2:1", + "src": "55629:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -30628,21 +30628,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3004, + "id": 2496, "name": "safeTransferFrom", "nodeType": "Identifier", "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, - "src": "54057:16:1", + "referencedDeclaration": 2534, + "src": "55593:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3009, + "id": 2501, "isConstant": false, "isLValue": false, "isPure": false, @@ -30650,50 +30650,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54057:39:1", + "src": "55593:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3010, + "id": 2502, "nodeType": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ] }, "documentation": { - "id": 2994, + "id": 2486, "nodeType": "StructuredDocumentation", - "src": "53894:55:1", + "src": "55426:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "42842e0e", - "id": 3012, + "id": 2504, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3002, + "id": 2494, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54038:8:1" + "src": "55573:8:0" }, "parameters": { - "id": 3001, + "id": 2493, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2996, + "id": 2488, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53980:12:1", + "scope": 2504, + "src": "55515:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30701,10 +30701,10 @@ "typeString": "address" }, "typeName": { - "id": 2995, + "id": 2487, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53980:7:1", + "src": "55515:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30715,12 +30715,12 @@ }, { "constant": false, - "id": 2998, + "id": 2490, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53994:10:1", + "scope": 2504, + "src": "55529:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30728,10 +30728,10 @@ "typeString": "address" }, "typeName": { - "id": 2997, + "id": 2489, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53994:7:1", + "src": "55529:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30742,12 +30742,12 @@ }, { "constant": false, - "id": 3000, + "id": 2492, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "54006:15:1", + "scope": 2504, + "src": "55541:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30755,10 +30755,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2999, + "id": 2491, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54006:7:1", + "src": "55541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30767,28 +30767,28 @@ "visibility": "internal" } ], - "src": "53979:43:1" + "src": "55514:43:0" }, "returnParameters": { - "id": 3003, + "id": 2495, "nodeType": "ParameterList", "parameters": [], - "src": "54047:0:1" + "src": "55582:0:0" }, - "scope": 3498, - "src": "53954:149:1", + "scope": 2990, + "src": "55489:151:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 654 + 146 ], "body": { - "id": 3041, + "id": 2533, "nodeType": "Block", - "src": "54282:169:1", + "src": "55824:172:0", "statements": [ { "expression": { @@ -30799,18 +30799,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3027, + "id": 2519, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "54319:10:1", + "referencedDeclaration": 10, + "src": "55862:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3028, + "id": 2520, "isConstant": false, "isLValue": false, "isPure": false, @@ -30818,7 +30818,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54319:12:1", + "src": "55862:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30826,12 +30826,12 @@ } }, { - "id": 3029, + "id": 2521, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54333:7:1", + "referencedDeclaration": 2511, + "src": "55876:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30849,18 +30849,18 @@ "typeString": "uint256" } ], - "id": 3026, + "id": 2518, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "54300:18:1", + "referencedDeclaration": 2619, + "src": "55843:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 3030, + "id": 2522, "isConstant": false, "isLValue": false, "isPure": false, @@ -30868,7 +30868,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54300:41:1", + "src": "55843:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30877,14 +30877,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 3031, + "id": 2523, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54343:51:1", + "src": "55886:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30903,7 +30903,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 3025, + "id": 2517, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30911,13 +30911,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "54292:7:1", + "src": "55835:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3032, + "id": 2524, "isConstant": false, "isLValue": false, "isPure": false, @@ -30925,63 +30925,63 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54292:103:1", + "src": "55835:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3033, + "id": 2525, "nodeType": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "expression": { "arguments": [ { - "id": 3035, + "id": 2527, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3015, - "src": "54419:4:1", + "referencedDeclaration": 2507, + "src": "55963:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3036, + "id": 2528, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3017, - "src": "54425:2:1", + "referencedDeclaration": 2509, + "src": "55969:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3037, + "id": 2529, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54429:7:1", + "referencedDeclaration": 2511, + "src": "55973:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3038, + "id": 2530, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3021, - "src": "54438:5:1", + "referencedDeclaration": 2513, + "src": "55982:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31007,18 +31007,18 @@ "typeString": "bytes memory" } ], - "id": 3034, + "id": 2526, "name": "_safeTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3071, - "src": "54405:13:1", + "referencedDeclaration": 2563, + "src": "55949:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3039, + "id": 2531, "isConstant": false, "isLValue": false, "isPure": false, @@ -31026,50 +31026,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54405:39:1", + "src": "55949:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3040, + "id": 2532, "nodeType": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ] }, "documentation": { - "id": 3013, + "id": 2505, "nodeType": "StructuredDocumentation", - "src": "54109:55:1", + "src": "55648:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "b88d4fde", - "id": 3042, + "id": 2534, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3023, + "id": 2515, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54273:8:1" + "src": "55815:8:0" }, "parameters": { - "id": 3022, + "id": 2514, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3015, + "id": 2507, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54195:12:1", + "scope": 2534, + "src": "55737:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31077,10 +31077,10 @@ "typeString": "address" }, "typeName": { - "id": 3014, + "id": 2506, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54195:7:1", + "src": "55737:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31091,12 +31091,12 @@ }, { "constant": false, - "id": 3017, + "id": 2509, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54209:10:1", + "scope": 2534, + "src": "55751:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31104,10 +31104,10 @@ "typeString": "address" }, "typeName": { - "id": 3016, + "id": 2508, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54209:7:1", + "src": "55751:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31118,12 +31118,12 @@ }, { "constant": false, - "id": 3019, + "id": 2511, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54221:15:1", + "scope": 2534, + "src": "55763:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31131,10 +31131,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3018, + "id": 2510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54221:7:1", + "src": "55763:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31144,12 +31144,12 @@ }, { "constant": false, - "id": 3021, + "id": 2513, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54238:18:1", + "scope": 2534, + "src": "55780:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31157,10 +31157,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3020, + "id": 2512, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "54238:5:1", + "src": "55780:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31169,60 +31169,60 @@ "visibility": "internal" } ], - "src": "54194:63:1" + "src": "55736:63:0" }, "returnParameters": { - "id": 3024, + "id": 2516, "nodeType": "ParameterList", "parameters": [], - "src": "54282:0:1" + "src": "55824:0:0" }, - "scope": 3498, - "src": "54169:282:1", + "scope": 2990, + "src": "55711:285:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "body": { - "id": 3070, + "id": 2562, "nodeType": "Block", - "src": "55416:166:1", + "src": "56981:169:0", "statements": [ { "expression": { "arguments": [ { - "id": 3055, + "id": 2547, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55436:4:1", + "referencedDeclaration": 2537, + "src": "57002:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3056, + "id": 2548, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55442:2:1", + "referencedDeclaration": 2539, + "src": "57008:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3057, + "id": 2549, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55446:7:1", + "referencedDeclaration": 2541, + "src": "57012:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31244,18 +31244,18 @@ "typeString": "uint256" } ], - "id": 3054, + "id": 2546, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "55426:9:1", + "referencedDeclaration": 2863, + "src": "56992:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3058, + "id": 2550, "isConstant": false, "isLValue": false, "isPure": false, @@ -31263,16 +31263,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55426:28:1", + "src": "56992:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3059, + "id": 2551, "nodeType": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "expression": { @@ -31280,48 +31280,48 @@ { "arguments": [ { - "id": 3062, + "id": 2554, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55495:4:1", + "referencedDeclaration": 2537, + "src": "57062:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3063, + "id": 2555, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55501:2:1", + "referencedDeclaration": 2539, + "src": "57068:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3064, + "id": 2556, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55505:7:1", + "referencedDeclaration": 2541, + "src": "57072:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3065, + "id": 2557, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3051, - "src": "55514:5:1", + "referencedDeclaration": 2543, + "src": "57081:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31347,18 +31347,18 @@ "typeString": "bytes memory" } ], - "id": 3061, + "id": 2553, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "55472:22:1", + "referencedDeclaration": 2954, + "src": "57039:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3066, + "id": 2558, "isConstant": false, "isLValue": false, "isPure": false, @@ -31366,7 +31366,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55472:48:1", + "src": "57039:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31375,14 +31375,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3067, + "id": 2559, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "55522:52:1", + "src": "57089:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -31401,7 +31401,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3060, + "id": 2552, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31409,13 +31409,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "55464:7:1", + "src": "57031:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3068, + "id": 2560, "isConstant": false, "isLValue": false, "isPure": false, @@ -31423,43 +31423,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55464:111:1", + "src": "57031:111:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3069, + "id": 2561, "nodeType": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ] }, "documentation": { - "id": 3043, + "id": 2535, "nodeType": "StructuredDocumentation", - "src": "54457:851:1", + "src": "56004:868:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3071, + "id": 2563, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3052, + "id": 2544, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3045, + "id": 2537, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55336:12:1", + "scope": 2563, + "src": "56901:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31467,10 +31467,10 @@ "typeString": "address" }, "typeName": { - "id": 3044, + "id": 2536, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55336:7:1", + "src": "56901:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31481,12 +31481,12 @@ }, { "constant": false, - "id": 3047, + "id": 2539, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55350:10:1", + "scope": 2563, + "src": "56915:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31494,10 +31494,10 @@ "typeString": "address" }, "typeName": { - "id": 3046, + "id": 2538, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55350:7:1", + "src": "56915:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31508,12 +31508,12 @@ }, { "constant": false, - "id": 3049, + "id": 2541, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55362:15:1", + "scope": 2563, + "src": "56927:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31521,10 +31521,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3048, + "id": 2540, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55362:7:1", + "src": "56927:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31534,12 +31534,12 @@ }, { "constant": false, - "id": 3051, + "id": 2543, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55379:18:1", + "scope": 2563, + "src": "56944:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31547,10 +31547,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3050, + "id": 2542, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "55379:5:1", + "src": "56944:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31559,36 +31559,36 @@ "visibility": "internal" } ], - "src": "55335:63:1" + "src": "56900:63:0" }, "returnParameters": { - "id": 3053, + "id": 2545, "nodeType": "ParameterList", "parameters": [], - "src": "55416:0:1" + "src": "56981:0:0" }, - "scope": 3498, - "src": "55313:269:1", + "scope": 2990, + "src": "56878:272:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3084, + "id": 2576, "nodeType": "Block", - "src": "55956:54:1", + "src": "57534:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 3081, + "id": 2573, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3074, - "src": "55995:7:1", + "referencedDeclaration": 2566, + "src": "57574:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31603,32 +31603,32 @@ } ], "expression": { - "id": 3079, + "id": 2571, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "55973:12:1", + "referencedDeclaration": 2094, + "src": "57552:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3080, + "id": 2572, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "contains", "nodeType": "MemberAccess", - "referencedDeclaration": 2326, - "src": "55973:21:1", + "referencedDeclaration": 1818, + "src": "57552:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" } }, - "id": 3082, + "id": 2574, "isConstant": false, "isLValue": false, "isPure": false, @@ -31636,44 +31636,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55973:30:1", + "src": "57552:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3078, - "id": 3083, + "functionReturnParameters": 2570, + "id": 2575, "nodeType": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ] }, "documentation": { - "id": 3072, + "id": 2564, "nodeType": "StructuredDocumentation", - "src": "55588:292:1", + "src": "57158:299:0", "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3085, + "id": 2577, "implemented": true, "kind": "function", "modifiers": [], "name": "_exists", "nodeType": "FunctionDefinition", "parameters": { - "id": 3075, + "id": 2567, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3074, + "id": 2566, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55902:15:1", + "scope": 2577, + "src": "57480:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31681,10 +31681,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3073, + "id": 2565, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55902:7:1", + "src": "57480:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31693,20 +31693,20 @@ "visibility": "internal" } ], - "src": "55901:17:1" + "src": "57479:17:0" }, "returnParameters": { - "id": 3078, + "id": 2570, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3077, + "id": 2569, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55950:4:1", + "scope": 2577, + "src": "57528:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31714,10 +31714,10 @@ "typeString": "bool" }, "typeName": { - "id": 3076, + "id": 2568, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "55950:4:1", + "src": "57528:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -31726,19 +31726,19 @@ "visibility": "internal" } ], - "src": "55949:6:1" + "src": "57527:6:0" }, - "scope": 3498, - "src": "55885:125:1", + "scope": 2990, + "src": "57463:127:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3126, + "id": 2618, "nodeType": "Block", - "src": "56267:252:1", + "src": "57856:256:0", "statements": [ { "expression": { @@ -31746,12 +31746,12 @@ { "arguments": [ { - "id": 3097, + "id": 2589, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56293:7:1", + "referencedDeclaration": 2582, + "src": "57883:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31765,18 +31765,18 @@ "typeString": "uint256" } ], - "id": 3096, + "id": 2588, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "56285:7:1", + "referencedDeclaration": 2577, + "src": "57875:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3098, + "id": 2590, "isConstant": false, "isLValue": false, "isPure": false, @@ -31784,7 +31784,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56285:16:1", + "src": "57875:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31793,14 +31793,14 @@ }, { "hexValue": "4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 3099, + "id": 2591, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56303:46:1", + "src": "57893:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5797d1ccb08b83980dd0c07ea40d8f6a64d35fff736a19bdd17522954cb0899c", "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" @@ -31819,7 +31819,7 @@ "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" } ], - "id": 3095, + "id": 2587, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31827,13 +31827,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "56277:7:1", + "src": "57867:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3100, + "id": 2592, "isConstant": false, "isLValue": false, "isPure": false, @@ -31841,30 +31841,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56277:73:1", + "src": "57867:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3101, + "id": 2593, "nodeType": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "assignments": [ - 3103 + 2595 ], "declarations": [ { "constant": false, - "id": 3103, + "id": 2595, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3126, - "src": "56360:13:1", + "scope": 2618, + "src": "57951:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31872,10 +31872,10 @@ "typeString": "address" }, "typeName": { - "id": 3102, + "id": 2594, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56360:7:1", + "src": "57951:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31885,16 +31885,16 @@ "visibility": "internal" } ], - "id": 3108, + "id": 2600, "initialValue": { "arguments": [ { - "id": 3106, + "id": 2598, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56391:7:1", + "referencedDeclaration": 2582, + "src": "57982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31909,32 +31909,32 @@ } ], "expression": { - "id": 3104, + "id": 2596, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56376:6:1", + "referencedDeclaration": 2990, + "src": "57967:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3105, + "id": 2597, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "56376:14:1", + "referencedDeclaration": 2194, + "src": "57967:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3107, + "id": 2599, "isConstant": false, "isLValue": false, "isPure": false, @@ -31942,7 +31942,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56376:23:1", + "src": "57967:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -31950,7 +31950,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "expression": { @@ -31960,7 +31960,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3123, + "id": 2615, "isConstant": false, "isLValue": false, "isPure": false, @@ -31970,7 +31970,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3117, + "id": 2609, "isConstant": false, "isLValue": false, "isPure": false, @@ -31980,18 +31980,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3111, + "id": 2603, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3109, + "id": 2601, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56417:7:1", + "referencedDeclaration": 2580, + "src": "58009:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32000,18 +32000,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3110, + "id": 2602, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56428:5:1", + "referencedDeclaration": 2595, + "src": "58020:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56417:16:1", + "src": "58009:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32024,7 +32024,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3116, + "id": 2608, "isConstant": false, "isLValue": false, "isPure": false, @@ -32032,12 +32032,12 @@ "leftExpression": { "arguments": [ { - "id": 3113, + "id": 2605, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56449:7:1", + "referencedDeclaration": 2582, + "src": "58041:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32051,18 +32051,18 @@ "typeString": "uint256" } ], - "id": 3112, + "id": 2604, "name": "getApproved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "56437:11:1", + "referencedDeclaration": 2406, + "src": "58029:11:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3114, + "id": 2606, "isConstant": false, "isLValue": false, "isPure": false, @@ -32070,7 +32070,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56437:20:1", + "src": "58029:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -32080,24 +32080,24 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3115, + "id": 2607, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56461:7:1", + "referencedDeclaration": 2580, + "src": "58053:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56437:31:1", + "src": "58029:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:51:1", + "src": "58009:51:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32108,24 +32108,24 @@ "rightExpression": { "arguments": [ { - "id": 3120, + "id": 2612, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56496:5:1", + "referencedDeclaration": 2595, + "src": "58088:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3121, + "id": 2613, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56503:7:1", + "referencedDeclaration": 2580, + "src": "58095:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32144,32 +32144,32 @@ } ], "expression": { - "id": 3118, + "id": 2610, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56472:6:1", + "referencedDeclaration": 2990, + "src": "58064:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3119, + "id": 2611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "56472:23:1", + "referencedDeclaration": 2458, + "src": "58064:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 3122, + "id": 2614, "isConstant": false, "isLValue": false, "isPure": false, @@ -32177,64 +32177,64 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56472:39:1", + "src": "58064:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:94:1", + "src": "58009:94:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3124, + "id": 2616, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "56416:96:1", + "src": "58008:96:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3094, - "id": 3125, + "functionReturnParameters": 2586, + "id": 2617, "nodeType": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ] }, "documentation": { - "id": 3086, + "id": 2578, "nodeType": "StructuredDocumentation", - "src": "56016:147:1", + "src": "57598:153:0", "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3127, + "id": 2619, "implemented": true, "kind": "function", "modifiers": [], "name": "_isApprovedOrOwner", "nodeType": "FunctionDefinition", "parameters": { - "id": 3091, + "id": 2583, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3088, + "id": 2580, "mutability": "mutable", "name": "spender", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56196:15:1", + "scope": 2619, + "src": "57785:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32242,10 +32242,10 @@ "typeString": "address" }, "typeName": { - "id": 3087, + "id": 2579, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56196:7:1", + "src": "57785:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32256,12 +32256,12 @@ }, { "constant": false, - "id": 3090, + "id": 2582, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56213:15:1", + "scope": 2619, + "src": "57802:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32269,10 +32269,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3089, + "id": 2581, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56213:7:1", + "src": "57802:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32281,20 +32281,20 @@ "visibility": "internal" } ], - "src": "56195:34:1" + "src": "57784:34:0" }, "returnParameters": { - "id": 3094, + "id": 2586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3093, + "id": 2585, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56261:4:1", + "scope": 2619, + "src": "57850:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32302,10 +32302,10 @@ "typeString": "bool" }, "typeName": { - "id": 3092, + "id": 2584, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "56261:4:1", + "src": "57850:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32314,42 +32314,42 @@ "visibility": "internal" } ], - "src": "56260:6:1" + "src": "57849:6:0" }, - "scope": 3498, - "src": "56168:351:1", + "scope": 2990, + "src": "57757:355:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3141, + "id": 2633, "nodeType": "Block", - "src": "56915:43:1", + "src": "58520:45:0", "statements": [ { "expression": { "arguments": [ { - "id": 3136, + "id": 2628, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3130, - "src": "56935:2:1", + "referencedDeclaration": 2622, + "src": "58541:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3137, + "id": 2629, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3132, - "src": "56939:7:1", + "referencedDeclaration": 2624, + "src": "58545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32357,14 +32357,14 @@ }, { "hexValue": "", - "id": 3138, + "id": 2630, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56948:2:1", + "src": "58554:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -32387,21 +32387,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3135, + "id": 2627, "name": "_safeMint", "nodeType": "Identifier", "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, - "src": "56925:9:1", + "referencedDeclaration": 2663, + "src": "58531:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,uint256,bytes memory)" } }, - "id": 3139, + "id": 2631, "isConstant": false, "isLValue": false, "isPure": false, @@ -32409,43 +32409,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56925:26:1", + "src": "58531:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3140, + "id": 2632, "nodeType": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ] }, "documentation": { - "id": 3128, + "id": 2620, "nodeType": "StructuredDocumentation", - "src": "56525:320:1", + "src": "58120:329:0", "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3142, + "id": 2634, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3133, + "id": 2625, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3130, + "id": 2622, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56869:10:1", + "scope": 2634, + "src": "58474:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32453,10 +32453,10 @@ "typeString": "address" }, "typeName": { - "id": 3129, + "id": 2621, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56869:7:1", + "src": "58474:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32467,12 +32467,12 @@ }, { "constant": false, - "id": 3132, + "id": 2624, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56881:15:1", + "scope": 2634, + "src": "58486:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32480,10 +32480,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3131, + "id": 2623, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56881:7:1", + "src": "58486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32492,48 +32492,48 @@ "visibility": "internal" } ], - "src": "56868:29:1" + "src": "58473:29:0" }, "returnParameters": { - "id": 3134, + "id": 2626, "nodeType": "ParameterList", "parameters": [], - "src": "56915:0:1" + "src": "58520:0:0" }, - "scope": 3498, - "src": "56850:108:1", + "scope": 2990, + "src": "58455:110:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3170, + "id": 2662, "nodeType": "Block", - "src": "57264:162:1", + "src": "58877:165:0", "statements": [ { "expression": { "arguments": [ { - "id": 3153, + "id": 2645, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57280:2:1", + "referencedDeclaration": 2637, + "src": "58894:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3154, + "id": 2646, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57284:7:1", + "referencedDeclaration": 2639, + "src": "58898:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32551,18 +32551,18 @@ "typeString": "uint256" } ], - "id": 3152, + "id": 2644, "name": "_mint", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3230, - "src": "57274:5:1", + "referencedDeclaration": 2722, + "src": "58888:5:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3155, + "id": 2647, "isConstant": false, "isLValue": false, "isPure": false, @@ -32570,16 +32570,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57274:18:1", + "src": "58888:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3156, + "id": 2648, "nodeType": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "expression": { @@ -32590,14 +32590,14 @@ "arguments": [ { "hexValue": "30", - "id": 3161, + "id": 2653, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57341:1:1", + "src": "58956:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -32612,26 +32612,26 @@ "typeString": "int_const 0" } ], - "id": 3160, + "id": 2652, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3159, + "id": 2651, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": {} } }, - "id": 3162, + "id": 2654, "isConstant": false, "isLValue": false, "isPure": true, @@ -32639,7 +32639,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57333:10:1", + "src": "58948:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -32647,36 +32647,36 @@ } }, { - "id": 3163, + "id": 2655, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57345:2:1", + "referencedDeclaration": 2637, + "src": "58960:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3164, + "id": 2656, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57349:7:1", + "referencedDeclaration": 2639, + "src": "58964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3165, + "id": 2657, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3149, - "src": "57358:5:1", + "referencedDeclaration": 2641, + "src": "58973:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -32702,18 +32702,18 @@ "typeString": "bytes memory" } ], - "id": 3158, + "id": 2650, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "57310:22:1", + "referencedDeclaration": 2954, + "src": "58925:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3166, + "id": 2658, "isConstant": false, "isLValue": false, "isPure": false, @@ -32721,7 +32721,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57310:54:1", + "src": "58925:54:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -32730,14 +32730,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3167, + "id": 2659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57366:52:1", + "src": "58981:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -32756,7 +32756,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3157, + "id": 2649, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -32764,13 +32764,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57302:7:1", + "src": "58917:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3168, + "id": 2660, "isConstant": false, "isLValue": false, "isPure": false, @@ -32778,43 +32778,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57302:117:1", + "src": "58917:117:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3169, + "id": 2661, "nodeType": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ] }, "documentation": { - "id": 3143, + "id": 2635, "nodeType": "StructuredDocumentation", - "src": "56964:210:1", + "src": "58573:213:0", "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3171, + "id": 2663, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3150, + "id": 2642, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3145, + "id": 2637, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57198:10:1", + "scope": 2663, + "src": "58811:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32822,10 +32822,10 @@ "typeString": "address" }, "typeName": { - "id": 3144, + "id": 2636, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57198:7:1", + "src": "58811:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32836,12 +32836,12 @@ }, { "constant": false, - "id": 3147, + "id": 2639, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57210:15:1", + "scope": 2663, + "src": "58823:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32849,10 +32849,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3146, + "id": 2638, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57210:7:1", + "src": "58823:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32862,12 +32862,12 @@ }, { "constant": false, - "id": 3149, + "id": 2641, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57227:18:1", + "scope": 2663, + "src": "58840:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -32875,10 +32875,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3148, + "id": 2640, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "57227:5:1", + "src": "58840:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -32887,25 +32887,25 @@ "visibility": "internal" } ], - "src": "57197:49:1" + "src": "58810:49:0" }, "returnParameters": { - "id": 3151, + "id": 2643, "nodeType": "ParameterList", "parameters": [], - "src": "57264:0:1" + "src": "58877:0:0" }, - "scope": 3498, - "src": "57179:247:1", + "scope": 2990, + "src": "58792:250:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3229, + "id": 2721, "nodeType": "Block", - "src": "57809:332:1", + "src": "59439:343:0", "statements": [ { "expression": { @@ -32915,18 +32915,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3185, + "id": 2677, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3180, + "id": 2672, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57827:2:1", + "referencedDeclaration": 2666, + "src": "59458:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32938,14 +32938,14 @@ "arguments": [ { "hexValue": "30", - "id": 3183, + "id": 2675, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57841:1:1", + "src": "59472:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -32960,26 +32960,26 @@ "typeString": "int_const 0" } ], - "id": 3182, + "id": 2674, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3181, + "id": 2673, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": {} } }, - "id": 3184, + "id": 2676, "isConstant": false, "isLValue": false, "isPure": true, @@ -32987,14 +32987,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57833:10:1", + "src": "59464:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "57827:16:1", + "src": "59458:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -33002,14 +33002,14 @@ }, { "hexValue": "4552433732313a206d696e7420746f20746865207a65726f2061646472657373", - "id": 3186, + "id": 2678, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57845:34:1", + "src": "59476:34:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6", "typeString": "literal_string \"ERC721: mint to the zero address\"" @@ -33028,7 +33028,7 @@ "typeString": "literal_string \"ERC721: mint to the zero address\"" } ], - "id": 3179, + "id": 2671, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33036,13 +33036,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57819:7:1", + "src": "59450:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3187, + "id": 2679, "isConstant": false, "isLValue": false, "isPure": false, @@ -33050,22 +33050,22 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57819:61:1", + "src": "59450:61:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3188, + "id": 2680, "nodeType": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "expression": { "arguments": [ { - "id": 3193, + "id": 2685, "isConstant": false, "isLValue": false, "isPure": false, @@ -33073,16 +33073,16 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "57898:17:1", + "src": "59530:17:0", "subExpression": { "arguments": [ { - "id": 3191, + "id": 2683, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57907:7:1", + "referencedDeclaration": 2668, + "src": "59539:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33096,18 +33096,18 @@ "typeString": "uint256" } ], - "id": 3190, + "id": 2682, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "57899:7:1", + "referencedDeclaration": 2577, + "src": "59531:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3192, + "id": 2684, "isConstant": false, "isLValue": false, "isPure": false, @@ -33115,7 +33115,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57899:16:1", + "src": "59531:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -33129,14 +33129,14 @@ }, { "hexValue": "4552433732313a20746f6b656e20616c7265616479206d696e746564", - "id": 3194, + "id": 2686, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57917:30:1", + "src": "59549:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57", "typeString": "literal_string \"ERC721: token already minted\"" @@ -33155,7 +33155,7 @@ "typeString": "literal_string \"ERC721: token already minted\"" } ], - "id": 3189, + "id": 2681, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33163,13 +33163,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57890:7:1", + "src": "59522:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3195, + "id": 2687, "isConstant": false, "isLValue": false, "isPure": false, @@ -33177,16 +33177,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57890:58:1", + "src": "59522:58:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3196, + "id": 2688, "nodeType": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "expression": { @@ -33195,14 +33195,14 @@ "arguments": [ { "hexValue": "30", - "id": 3200, + "id": 2692, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57988:1:1", + "src": "59622:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33217,26 +33217,26 @@ "typeString": "int_const 0" } ], - "id": 3199, + "id": 2691, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3198, + "id": 2690, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": {} } }, - "id": 3201, + "id": 2693, "isConstant": false, "isLValue": false, "isPure": true, @@ -33244,7 +33244,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57980:10:1", + "src": "59614:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33252,24 +33252,24 @@ } }, { - "id": 3202, + "id": 2694, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57992:2:1", + "referencedDeclaration": 2666, + "src": "59626:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3203, + "id": 2695, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57996:7:1", + "referencedDeclaration": 2668, + "src": "59630:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33291,18 +33291,18 @@ "typeString": "uint256" } ], - "id": 3197, + "id": 2689, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "57959:20:1", + "referencedDeclaration": 2989, + "src": "59593:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3204, + "id": 2696, "isConstant": false, "isLValue": false, "isPure": false, @@ -33310,27 +33310,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57959:45:1", + "src": "59593:45:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3205, + "id": 2697, "nodeType": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "expression": { "arguments": [ { - "id": 3210, + "id": 2702, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58037:7:1", + "referencedDeclaration": 2668, + "src": "59673:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33346,25 +33346,25 @@ ], "expression": { "baseExpression": { - "id": 3206, + "id": 2698, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58015:13:1", + "referencedDeclaration": 2092, + "src": "59651:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3208, + "id": 2700, "indexExpression": { - "id": 3207, + "id": 2699, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58029:2:1", + "referencedDeclaration": 2666, + "src": "59665:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33375,27 +33375,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58015:17:1", + "src": "59651:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3209, + "id": 2701, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "58015:21:1", + "referencedDeclaration": 1338, + "src": "59651:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3211, + "id": 2703, "isConstant": false, "isLValue": false, "isPure": false, @@ -33403,39 +33403,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58015:30:1", + "src": "59651:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3212, + "id": 2704, "nodeType": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "expression": { "arguments": [ { - "id": 3216, + "id": 2708, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58073:7:1", + "referencedDeclaration": 2668, + "src": "59711:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3217, + "id": 2709, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58082:2:1", + "referencedDeclaration": 2666, + "src": "59720:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33454,32 +33454,32 @@ } ], "expression": { - "id": 3213, + "id": 2705, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58056:12:1", + "referencedDeclaration": 2094, + "src": "59694:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3215, + "id": 2707, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "58056:16:1", + "referencedDeclaration": 1778, + "src": "59694:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3218, + "id": 2710, "isConstant": false, "isLValue": false, "isPure": false, @@ -33487,16 +33487,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58056:29:1", + "src": "59694:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3219, + "id": 2711, "nodeType": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "eventCall": { @@ -33505,14 +33505,14 @@ "arguments": [ { "hexValue": "30", - "id": 3223, + "id": 2715, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58118:1:1", + "src": "59758:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33527,26 +33527,26 @@ "typeString": "int_const 0" } ], - "id": 3222, + "id": 2714, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3221, + "id": 2713, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": {} } }, - "id": 3224, + "id": 2716, "isConstant": false, "isLValue": false, "isPure": true, @@ -33554,7 +33554,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58110:10:1", + "src": "59750:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33562,24 +33562,24 @@ } }, { - "id": 3225, + "id": 2717, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58122:2:1", + "referencedDeclaration": 2666, + "src": "59762:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3226, + "id": 2718, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58126:7:1", + "referencedDeclaration": 2668, + "src": "59766:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33601,18 +33601,18 @@ "typeString": "uint256" } ], - "id": 3220, + "id": 2712, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58101:8:1", + "referencedDeclaration": 46, + "src": "59741:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3227, + "id": 2719, "isConstant": false, "isLValue": false, "isPure": false, @@ -33620,43 +33620,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58101:33:1", + "src": "59741:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3228, + "id": 2720, "nodeType": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ] }, "documentation": { - "id": 3172, + "id": 2664, "nodeType": "StructuredDocumentation", - "src": "57432:311:1", + "src": "59050:322:0", "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3230, + "id": 2722, "implemented": true, "kind": "function", "modifiers": [], "name": "_mint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3177, + "id": 2669, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3174, + "id": 2666, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57763:10:1", + "scope": 2722, + "src": "59393:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33664,10 +33664,10 @@ "typeString": "address" }, "typeName": { - "id": 3173, + "id": 2665, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57763:7:1", + "src": "59393:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33678,12 +33678,12 @@ }, { "constant": false, - "id": 3176, + "id": 2668, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57775:15:1", + "scope": 2722, + "src": "59405:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33691,10 +33691,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3175, + "id": 2667, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57775:7:1", + "src": "59405:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33703,39 +33703,39 @@ "visibility": "internal" } ], - "src": "57762:29:1" + "src": "59392:29:0" }, "returnParameters": { - "id": 3178, + "id": 2670, "nodeType": "ParameterList", "parameters": [], - "src": "57809:0:1" + "src": "59439:0:0" }, - "scope": 3498, - "src": "57748:393:1", + "scope": 2990, + "src": "59378:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3298, + "id": 2790, "nodeType": "Block", - "src": "58407:478:1", + "src": "60060:496:0", "statements": [ { "assignments": [ - 3237 + 2729 ], "declarations": [ { "constant": false, - "id": 3237, + "id": 2729, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3298, - "src": "58417:13:1", + "scope": 2790, + "src": "60071:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33743,10 +33743,10 @@ "typeString": "address" }, "typeName": { - "id": 3236, + "id": 2728, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58417:7:1", + "src": "60071:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33756,16 +33756,16 @@ "visibility": "internal" } ], - "id": 3242, + "id": 2734, "initialValue": { "arguments": [ { - "id": 3240, + "id": 2732, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58448:7:1", + "referencedDeclaration": 2725, + "src": "60102:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33780,32 +33780,32 @@ } ], "expression": { - "id": 3238, + "id": 2730, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "58433:6:1", + "referencedDeclaration": 2990, + "src": "60087:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3239, + "id": 2731, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "58433:14:1", + "referencedDeclaration": 2194, + "src": "60087:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3241, + "id": 2733, "isConstant": false, "isLValue": false, "isPure": false, @@ -33813,7 +33813,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58433:23:1", + "src": "60087:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -33821,18 +33821,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "expression": { "arguments": [ { - "id": 3244, + "id": 2736, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58506:5:1", + "referencedDeclaration": 2729, + "src": "60162:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33842,14 +33842,14 @@ "arguments": [ { "hexValue": "30", - "id": 3247, + "id": 2739, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58521:1:1", + "src": "60177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33864,26 +33864,26 @@ "typeString": "int_const 0" } ], - "id": 3246, + "id": 2738, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3245, + "id": 2737, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": {} } }, - "id": 3248, + "id": 2740, "isConstant": false, "isLValue": false, "isPure": true, @@ -33891,7 +33891,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58513:10:1", + "src": "60169:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33899,12 +33899,12 @@ } }, { - "id": 3249, + "id": 2741, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58525:7:1", + "referencedDeclaration": 2725, + "src": "60181:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33926,18 +33926,18 @@ "typeString": "uint256" } ], - "id": 3243, + "id": 2735, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "58485:20:1", + "referencedDeclaration": 2989, + "src": "60141:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3250, + "id": 2742, "isConstant": false, "isLValue": false, "isPure": false, @@ -33945,16 +33945,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58485:48:1", + "src": "60141:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3251, + "id": 2743, "nodeType": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "expression": { @@ -33963,14 +33963,14 @@ "arguments": [ { "hexValue": "30", - "id": 3255, + "id": 2747, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58588:1:1", + "src": "60247:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33985,26 +33985,26 @@ "typeString": "int_const 0" } ], - "id": 3254, + "id": 2746, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3253, + "id": 2745, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": {} } }, - "id": 3256, + "id": 2748, "isConstant": false, "isLValue": false, "isPure": true, @@ -34012,7 +34012,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58580:10:1", + "src": "60239:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34020,12 +34020,12 @@ } }, { - "id": 3257, + "id": 2749, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58592:7:1", + "referencedDeclaration": 2725, + "src": "60251:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34043,18 +34043,18 @@ "typeString": "uint256" } ], - "id": 3252, + "id": 2744, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "58571:8:1", + "referencedDeclaration": 2978, + "src": "60230:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3258, + "id": 2750, "isConstant": false, "isLValue": false, "isPure": false, @@ -34062,16 +34062,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58571:29:1", + "src": "60230:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3259, + "id": 2751, "nodeType": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "condition": { @@ -34079,7 +34079,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3268, + "id": 2760, "isConstant": false, "isLValue": false, "isPure": false, @@ -34089,25 +34089,25 @@ "arguments": [ { "baseExpression": { - "id": 3262, + "id": 2754, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58656:10:1", + "referencedDeclaration": 2112, + "src": "60318:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3264, + "id": 2756, "indexExpression": { - "id": 3263, + "id": 2755, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58667:7:1", + "referencedDeclaration": 2725, + "src": "60329:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34118,7 +34118,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58656:19:1", + "src": "60318:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34132,26 +34132,26 @@ "typeString": "string storage ref" } ], - "id": 3261, + "id": 2753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 3260, + "id": 2752, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": {} } }, - "id": 3265, + "id": 2757, "isConstant": false, "isLValue": false, "isPure": false, @@ -34159,21 +34159,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58650:26:1", + "src": "60312:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes storage pointer" } }, - "id": 3266, + "id": 2758, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "58650:33:1", + "src": "60312:33:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34183,37 +34183,37 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 3267, + "id": 2759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58687:1:1", + "src": "60349:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "58650:38:1", + "src": "60312:38:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3275, + "id": 2767, "nodeType": "IfStatement", - "src": "58646:95:1", + "src": "60308:97:0", "trueBody": { - "id": 3274, + "id": 2766, "nodeType": "Block", - "src": "58690:51:1", + "src": "60352:53:0", "statements": [ { "expression": { - "id": 3272, + "id": 2764, "isConstant": false, "isLValue": false, "isPure": false, @@ -34221,28 +34221,28 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "58704:26:1", + "src": "60367:26:0", "subExpression": { "baseExpression": { - "id": 3269, + "id": 2761, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58711:10:1", + "referencedDeclaration": 2112, + "src": "60374:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3271, + "id": 2763, "indexExpression": { - "id": 3270, + "id": 2762, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58722:7:1", + "referencedDeclaration": 2725, + "src": "60385:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34253,7 +34253,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "58711:19:1", + "src": "60374:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34264,9 +34264,9 @@ "typeString": "tuple()" } }, - "id": 3273, + "id": 2765, "nodeType": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ] } @@ -34275,12 +34275,12 @@ "expression": { "arguments": [ { - "id": 3280, + "id": 2772, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58779:7:1", + "referencedDeclaration": 2725, + "src": "60445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34296,25 +34296,25 @@ ], "expression": { "baseExpression": { - "id": 3276, + "id": 2768, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58751:13:1", + "referencedDeclaration": 2092, + "src": "60417:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3278, + "id": 2770, "indexExpression": { - "id": 3277, + "id": 2769, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58765:5:1", + "referencedDeclaration": 2729, + "src": "60431:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34325,27 +34325,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58751:20:1", + "src": "60417:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3279, + "id": 2771, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "58751:27:1", + "referencedDeclaration": 1358, + "src": "60417:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3281, + "id": 2773, "isConstant": false, "isLValue": false, "isPure": false, @@ -34353,27 +34353,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58751:36:1", + "src": "60417:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3282, + "id": 2774, "nodeType": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "expression": { "arguments": [ { - "id": 3286, + "id": 2778, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58818:7:1", + "referencedDeclaration": 2725, + "src": "60486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34388,32 +34388,32 @@ } ], "expression": { - "id": 3283, + "id": 2775, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58798:12:1", + "referencedDeclaration": 2094, + "src": "60466:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3285, + "id": 2777, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 2306, - "src": "58798:19:1", + "referencedDeclaration": 1798, + "src": "60466:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" } }, - "id": 3287, + "id": 2779, "isConstant": false, "isLValue": false, "isPure": false, @@ -34421,27 +34421,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58798:28:1", + "src": "60466:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3288, + "id": 2780, "nodeType": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "eventCall": { "arguments": [ { - "id": 3290, + "id": 2782, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58851:5:1", + "referencedDeclaration": 2729, + "src": "60521:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34451,14 +34451,14 @@ "arguments": [ { "hexValue": "30", - "id": 3293, + "id": 2785, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58866:1:1", + "src": "60536:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34473,26 +34473,26 @@ "typeString": "int_const 0" } ], - "id": 3292, + "id": 2784, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3291, + "id": 2783, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": {} } }, - "id": 3294, + "id": 2786, "isConstant": false, "isLValue": false, "isPure": true, @@ -34500,7 +34500,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58858:10:1", + "src": "60528:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34508,12 +34508,12 @@ } }, { - "id": 3295, + "id": 2787, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58870:7:1", + "referencedDeclaration": 2725, + "src": "60540:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34535,18 +34535,18 @@ "typeString": "uint256" } ], - "id": 3289, + "id": 2781, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58842:8:1", + "referencedDeclaration": 46, + "src": "60512:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3296, + "id": 2788, "isConstant": false, "isLValue": false, "isPure": false, @@ -34554,43 +34554,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58842:36:1", + "src": "60512:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3297, + "id": 2789, "nodeType": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ] }, "documentation": { - "id": 3231, + "id": 2723, "nodeType": "StructuredDocumentation", - "src": "58147:206:1", + "src": "59790:215:0", "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3299, + "id": 2791, "implemented": true, "kind": "function", "modifiers": [], "name": "_burn", "nodeType": "FunctionDefinition", "parameters": { - "id": 3234, + "id": 2726, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3233, + "id": 2725, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3299, - "src": "58373:15:1", + "scope": 2791, + "src": "60026:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34598,10 +34598,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3232, + "id": 2724, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "58373:7:1", + "src": "60026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34610,25 +34610,25 @@ "visibility": "internal" } ], - "src": "58372:17:1" + "src": "60025:17:0" }, "returnParameters": { - "id": 3235, + "id": 2727, "nodeType": "ParameterList", "parameters": [], - "src": "58407:0:1" + "src": "60060:0:0" }, - "scope": 3498, - "src": "58358:527:1", + "scope": 2990, + "src": "60011:545:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3370, + "id": 2862, "nodeType": "Block", - "src": "59288:505:1", + "src": "60972:520:0", "statements": [ { "expression": { @@ -34638,7 +34638,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3315, + "id": 2807, "isConstant": false, "isLValue": false, "isPure": false, @@ -34646,12 +34646,12 @@ "leftExpression": { "arguments": [ { - "id": 3312, + "id": 2804, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59321:7:1", + "referencedDeclaration": 2798, + "src": "61006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34666,32 +34666,32 @@ } ], "expression": { - "id": 3310, + "id": 2802, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "59306:6:1", + "referencedDeclaration": 2990, + "src": "60991:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3311, + "id": 2803, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "59306:14:1", + "referencedDeclaration": 2194, + "src": "60991:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3313, + "id": 2805, "isConstant": false, "isLValue": false, "isPure": false, @@ -34699,7 +34699,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59306:23:1", + "src": "60991:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -34709,18 +34709,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3314, + "id": 2806, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59333:4:1", + "referencedDeclaration": 2794, + "src": "61018:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "59306:31:1", + "src": "60991:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34728,14 +34728,14 @@ }, { "hexValue": "4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e", - "id": 3316, + "id": 2808, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59339:43:1", + "src": "61024:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a01073130a885d6c1c1af6ac75fc3b1c4f9403c235362962bbf528e2bd87d950", "typeString": "literal_string \"ERC721: transfer of token that is not own\"" @@ -34754,7 +34754,7 @@ "typeString": "literal_string \"ERC721: transfer of token that is not own\"" } ], - "id": 3309, + "id": 2801, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -34762,13 +34762,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59298:7:1", + "src": "60983:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3317, + "id": 2809, "isConstant": false, "isLValue": false, "isPure": false, @@ -34776,16 +34776,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59298:85:1", + "src": "60983:85:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3318, + "id": 2810, "nodeType": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "expression": { @@ -34795,18 +34795,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3325, + "id": 2817, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3320, + "id": 2812, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59419:2:1", + "referencedDeclaration": 2796, + "src": "61105:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34818,14 +34818,14 @@ "arguments": [ { "hexValue": "30", - "id": 3323, + "id": 2815, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59433:1:1", + "src": "61119:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34840,26 +34840,26 @@ "typeString": "int_const 0" } ], - "id": 3322, + "id": 2814, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3321, + "id": 2813, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": {} } }, - "id": 3324, + "id": 2816, "isConstant": false, "isLValue": false, "isPure": true, @@ -34867,14 +34867,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59425:10:1", + "src": "61111:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "59419:16:1", + "src": "61105:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34882,14 +34882,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f20746865207a65726f2061646472657373", - "id": 3326, + "id": 2818, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59437:38:1", + "src": "61123:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4", "typeString": "literal_string \"ERC721: transfer to the zero address\"" @@ -34908,7 +34908,7 @@ "typeString": "literal_string \"ERC721: transfer to the zero address\"" } ], - "id": 3319, + "id": 2811, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -34916,13 +34916,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59411:7:1", + "src": "61097:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3327, + "id": 2819, "isConstant": false, "isLValue": false, "isPure": false, @@ -34930,51 +34930,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59411:65:1", + "src": "61097:65:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3328, + "id": 2820, "nodeType": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "expression": { "arguments": [ { - "id": 3330, + "id": 2822, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59508:4:1", + "referencedDeclaration": 2794, + "src": "61196:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3331, + "id": 2823, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59514:2:1", + "referencedDeclaration": 2796, + "src": "61202:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3332, + "id": 2824, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59518:7:1", + "referencedDeclaration": 2798, + "src": "61206:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34996,18 +34996,18 @@ "typeString": "uint256" } ], - "id": 3329, + "id": 2821, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "59487:20:1", + "referencedDeclaration": 2989, + "src": "61175:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3333, + "id": 2825, "isConstant": false, "isLValue": false, "isPure": false, @@ -35015,16 +35015,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59487:39:1", + "src": "61175:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3334, + "id": 2826, "nodeType": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "expression": { @@ -35033,14 +35033,14 @@ "arguments": [ { "hexValue": "30", - "id": 3338, + "id": 2830, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59605:1:1", + "src": "61296:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -35055,26 +35055,26 @@ "typeString": "int_const 0" } ], - "id": 3337, + "id": 2829, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3336, + "id": 2828, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": {} } }, - "id": 3339, + "id": 2831, "isConstant": false, "isLValue": false, "isPure": true, @@ -35082,7 +35082,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59597:10:1", + "src": "61288:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -35090,12 +35090,12 @@ } }, { - "id": 3340, + "id": 2832, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59609:7:1", + "referencedDeclaration": 2798, + "src": "61300:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35113,18 +35113,18 @@ "typeString": "uint256" } ], - "id": 3335, + "id": 2827, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "59588:8:1", + "referencedDeclaration": 2978, + "src": "61279:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3341, + "id": 2833, "isConstant": false, "isLValue": false, "isPure": false, @@ -35132,27 +35132,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59588:29:1", + "src": "61279:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3342, + "id": 2834, "nodeType": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "expression": { "arguments": [ { - "id": 3347, + "id": 2839, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59655:7:1", + "referencedDeclaration": 2798, + "src": "61348:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35168,25 +35168,25 @@ ], "expression": { "baseExpression": { - "id": 3343, + "id": 2835, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59628:13:1", + "referencedDeclaration": 2092, + "src": "61321:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3345, + "id": 2837, "indexExpression": { - "id": 3344, + "id": 2836, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59642:4:1", + "referencedDeclaration": 2794, + "src": "61335:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35197,27 +35197,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59628:19:1", + "src": "61321:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3346, + "id": 2838, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "59628:26:1", + "referencedDeclaration": 1358, + "src": "61321:26:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3348, + "id": 2840, "isConstant": false, "isLValue": false, "isPure": false, @@ -35225,27 +35225,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59628:35:1", + "src": "61321:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3349, + "id": 2841, "nodeType": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "expression": { "arguments": [ { - "id": 3354, + "id": 2846, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59695:7:1", + "referencedDeclaration": 2798, + "src": "61389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35261,25 +35261,25 @@ ], "expression": { "baseExpression": { - "id": 3350, + "id": 2842, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59673:13:1", + "referencedDeclaration": 2092, + "src": "61367:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3352, + "id": 2844, "indexExpression": { - "id": 3351, + "id": 2843, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59687:2:1", + "referencedDeclaration": 2796, + "src": "61381:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35290,27 +35290,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59673:17:1", + "src": "61367:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3353, + "id": 2845, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "59673:21:1", + "referencedDeclaration": 1338, + "src": "61367:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3355, + "id": 2847, "isConstant": false, "isLValue": false, "isPure": false, @@ -35318,39 +35318,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59673:30:1", + "src": "61367:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3356, + "id": 2848, "nodeType": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "expression": { "arguments": [ { - "id": 3360, + "id": 2852, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59731:7:1", + "referencedDeclaration": 2798, + "src": "61427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3361, + "id": 2853, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59740:2:1", + "referencedDeclaration": 2796, + "src": "61436:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35369,32 +35369,32 @@ } ], "expression": { - "id": 3357, + "id": 2849, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "59714:12:1", + "referencedDeclaration": 2094, + "src": "61410:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3359, + "id": 2851, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "59714:16:1", + "referencedDeclaration": 1778, + "src": "61410:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3362, + "id": 2854, "isConstant": false, "isLValue": false, "isPure": false, @@ -35402,51 +35402,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59714:29:1", + "src": "61410:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3363, + "id": 2855, "nodeType": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "eventCall": { "arguments": [ { - "id": 3365, + "id": 2857, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59768:4:1", + "referencedDeclaration": 2794, + "src": "61466:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3366, + "id": 2858, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59774:2:1", + "referencedDeclaration": 2796, + "src": "61472:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3367, + "id": 2859, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59778:7:1", + "referencedDeclaration": 2798, + "src": "61476:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35468,18 +35468,18 @@ "typeString": "uint256" } ], - "id": 3364, + "id": 2856, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "59759:8:1", + "referencedDeclaration": 46, + "src": "61457:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3368, + "id": 2860, "isConstant": false, "isLValue": false, "isPure": false, @@ -35487,43 +35487,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59759:27:1", + "src": "61457:27:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3369, + "id": 2861, "nodeType": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ] }, "documentation": { - "id": 3300, + "id": 2792, "nodeType": "StructuredDocumentation", - "src": "58891:313:1", + "src": "60564:323:0", "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3371, + "id": 2863, "implemented": true, "kind": "function", "modifiers": [], "name": "_transfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3307, + "id": 2799, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3302, + "id": 2794, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59228:12:1", + "scope": 2863, + "src": "60912:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35531,10 +35531,10 @@ "typeString": "address" }, "typeName": { - "id": 3301, + "id": 2793, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59228:7:1", + "src": "60912:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35545,12 +35545,12 @@ }, { "constant": false, - "id": 3304, + "id": 2796, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59242:10:1", + "scope": 2863, + "src": "60926:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35558,10 +35558,10 @@ "typeString": "address" }, "typeName": { - "id": 3303, + "id": 2795, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59242:7:1", + "src": "60926:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35572,12 +35572,12 @@ }, { "constant": false, - "id": 3306, + "id": 2798, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59254:15:1", + "scope": 2863, + "src": "60938:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35585,10 +35585,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3305, + "id": 2797, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59254:7:1", + "src": "60938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35597,25 +35597,25 @@ "visibility": "internal" } ], - "src": "59227:43:1" + "src": "60911:43:0" }, "returnParameters": { - "id": 3308, + "id": 2800, "nodeType": "ParameterList", "parameters": [], - "src": "59288:0:1" + "src": "60972:0:0" }, - "scope": 3498, - "src": "59209:584:1", + "scope": 2990, + "src": "60893:599:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3392, + "id": 2884, "nodeType": "Block", - "src": "60021:131:1", + "src": "61729:134:0", "statements": [ { "expression": { @@ -35623,12 +35623,12 @@ { "arguments": [ { - "id": 3381, + "id": 2873, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60047:7:1", + "referencedDeclaration": 2866, + "src": "61756:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35642,18 +35642,18 @@ "typeString": "uint256" } ], - "id": 3380, + "id": 2872, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "60039:7:1", + "referencedDeclaration": 2577, + "src": "61748:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3382, + "id": 2874, "isConstant": false, "isLValue": false, "isPure": false, @@ -35661,7 +35661,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60039:16:1", + "src": "61748:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -35670,14 +35670,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e", - "id": 3383, + "id": 2875, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "60057:46:1", + "src": "61766:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_94be4a260caaeac1b145f03ffa2e70bc612b64982d04f24073aaf3a5f9009978", "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" @@ -35696,7 +35696,7 @@ "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" } ], - "id": 3379, + "id": 2871, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -35704,13 +35704,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "60031:7:1", + "src": "61740:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3384, + "id": 2876, "isConstant": false, "isLValue": false, "isPure": false, @@ -35718,45 +35718,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60031:73:1", + "src": "61740:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3385, + "id": 2877, "nodeType": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "expression": { - "id": 3390, + "id": 2882, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3386, + "id": 2878, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "60114:10:1", + "referencedDeclaration": 2112, + "src": "61824:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3388, + "id": 2880, "indexExpression": { - "id": 3387, + "id": 2879, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60125:7:1", + "referencedDeclaration": 2866, + "src": "61835:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35767,7 +35767,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "60114:19:1", + "src": "61824:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -35776,53 +35776,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3389, + "id": 2881, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3376, - "src": "60136:9:1", + "referencedDeclaration": 2868, + "src": "61846:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60114:31:1", + "src": "61824:31:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3391, + "id": 2883, "nodeType": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ] }, "documentation": { - "id": 3372, + "id": 2864, "nodeType": "StructuredDocumentation", - "src": "59799:136:1", + "src": "61500:142:0", "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3393, + "id": 2885, "implemented": true, "kind": "function", "modifiers": [], "name": "_setTokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3377, + "id": 2869, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3374, + "id": 2866, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59962:15:1", + "scope": 2885, + "src": "61670:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35830,10 +35830,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3373, + "id": 2865, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59962:7:1", + "src": "61670:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35843,12 +35843,12 @@ }, { "constant": false, - "id": 3376, + "id": 2868, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59979:23:1", + "scope": 2885, + "src": "61687:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -35856,10 +35856,10 @@ "typeString": "string" }, "typeName": { - "id": 3375, + "id": 2867, "name": "string", "nodeType": "ElementaryTypeName", - "src": "59979:6:1", + "src": "61687:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -35868,40 +35868,40 @@ "visibility": "internal" } ], - "src": "59961:42:1" + "src": "61669:42:0" }, "returnParameters": { - "id": 3378, + "id": 2870, "nodeType": "ParameterList", "parameters": [], - "src": "60021:0:1" + "src": "61729:0:0" }, - "scope": 3498, - "src": "59940:212:1", + "scope": 2990, + "src": "61648:215:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3403, + "id": 2895, "nodeType": "Block", - "src": "60437:36:1", + "src": "62155:38:0", "statements": [ { "expression": { - "id": 3401, + "id": 2893, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 3399, + "id": 2891, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "60447:8:1", + "referencedDeclaration": 2114, + "src": "62166:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -35910,53 +35910,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3400, + "id": 2892, "name": "baseURI_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3396, - "src": "60458:8:1", + "referencedDeclaration": 2888, + "src": "62177:8:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60447:19:1", + "src": "62166:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3402, + "id": 2894, "nodeType": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ] }, "documentation": { - "id": 3394, + "id": 2886, "nodeType": "StructuredDocumentation", - "src": "60158:212:1", + "src": "61871:216:0", "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3404, + "id": 2896, "implemented": true, "kind": "function", "modifiers": [], "name": "_setBaseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3397, + "id": 2889, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3396, + "id": 2888, "mutability": "mutable", "name": "baseURI_", "nodeType": "VariableDeclaration", - "scope": 3404, - "src": "60396:22:1", + "scope": 2896, + "src": "62114:22:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -35964,10 +35964,10 @@ "typeString": "string" }, "typeName": { - "id": 3395, + "id": 2887, "name": "string", "nodeType": "ElementaryTypeName", - "src": "60396:6:1", + "src": "62114:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -35976,29 +35976,29 @@ "visibility": "internal" } ], - "src": "60395:24:1" + "src": "62113:24:0" }, "returnParameters": { - "id": 3398, + "id": 2890, "nodeType": "ParameterList", "parameters": [], - "src": "60437:0:1" + "src": "62155:0:0" }, - "scope": 3498, - "src": "60375:98:1", + "scope": 2990, + "src": "62093:100:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3461, + "id": 2953, "nodeType": "Block", - "src": "61156:459:1", + "src": "62890:472:0", "statements": [ { "condition": { - "id": 3421, + "id": 2913, "isConstant": false, "isLValue": false, "isPure": false, @@ -36006,38 +36006,38 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "61170:16:1", + "src": "62905:16:0", "subExpression": { "arguments": [], "expression": { "argumentTypes": [], "expression": { - "id": 3418, + "id": 2910, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61171:2:1", + "referencedDeclaration": 2901, + "src": "62906:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3419, + "id": 2911, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isContract", "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "61171:13:1", + "referencedDeclaration": 646, + "src": "62906:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$", "typeString": "function (address) view returns (bool)" } }, - "id": 3420, + "id": 2912, "isConstant": false, "isLValue": false, "isPure": false, @@ -36045,7 +36045,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61171:15:1", + "src": "62906:15:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -36057,52 +36057,52 @@ "typeString": "bool" } }, - "id": 3425, + "id": 2917, "nodeType": "IfStatement", - "src": "61166:58:1", + "src": "62901:60:0", "trueBody": { - "id": 3424, + "id": 2916, "nodeType": "Block", - "src": "61188:36:1", + "src": "62923:38:0", "statements": [ { "expression": { "hexValue": "74727565", - "id": 3422, + "id": 2914, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "61209:4:1", + "src": "62945:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 3417, - "id": 3423, + "functionReturnParameters": 2909, + "id": 2915, "nodeType": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ] } }, { "assignments": [ - 3427 + 2919 ], "declarations": [ { "constant": false, - "id": 3427, + "id": 2919, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61233:23:1", + "scope": 2953, + "src": "62971:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36110,10 +36110,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3426, + "id": 2918, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61233:5:1", + "src": "62971:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36122,7 +36122,7 @@ "visibility": "internal" } ], - "id": 3445, + "id": 2937, "initialValue": { "arguments": [ { @@ -36132,12 +36132,12 @@ "expression": { "arguments": [ { - "id": 3433, + "id": 2925, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61327:2:1", + "referencedDeclaration": 2901, + "src": "63066:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36151,18 +36151,18 @@ "typeString": "address" } ], - "id": 3432, + "id": 2924, "name": "IERC721Receiver", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 726, - "src": "61311:15:1", + "referencedDeclaration": 218, + "src": "63050:15:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$726_$", + "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$218_$", "typeString": "type(contract IERC721Receiver)" } }, - "id": 3434, + "id": 2926, "isConstant": false, "isLValue": false, "isPure": false, @@ -36170,35 +36170,35 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61311:19:1", + "src": "63050:19:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Receiver_$726", + "typeIdentifier": "t_contract$_IERC721Receiver_$218", "typeString": "contract IERC721Receiver" } }, - "id": 3435, + "id": 2927, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "onERC721Received", "nodeType": "MemberAccess", - "referencedDeclaration": 725, - "src": "61311:36:1", + "referencedDeclaration": 217, + "src": "63050:36:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", "typeString": "function (address,address,uint256,bytes memory) external returns (bytes4)" } }, - "id": 3436, + "id": 2928, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "selector", "nodeType": "MemberAccess", - "src": "61311:45:1", + "src": "63050:45:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36208,18 +36208,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3437, + "id": 2929, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "61370:10:1", + "referencedDeclaration": 10, + "src": "63110:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3438, + "id": 2930, "isConstant": false, "isLValue": false, "isPure": false, @@ -36227,7 +36227,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61370:12:1", + "src": "63110:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -36235,36 +36235,36 @@ } }, { - "id": 3439, + "id": 2931, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3407, - "src": "61396:4:1", + "referencedDeclaration": 2899, + "src": "63137:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3440, + "id": 2932, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3411, - "src": "61414:7:1", + "referencedDeclaration": 2903, + "src": "63156:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3441, + "id": 2933, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3413, - "src": "61435:5:1", + "referencedDeclaration": 2905, + "src": "63178:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36295,31 +36295,31 @@ } ], "expression": { - "id": 3430, + "id": 2922, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61275:3:1", + "src": "63013:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3431, + "id": 2923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodeWithSelector", "nodeType": "MemberAccess", - "src": "61275:22:1", + "src": "63013:22:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bytes4) pure returns (bytes memory)" } }, - "id": 3442, + "id": 2934, "isConstant": false, "isLValue": false, "isPure": false, @@ -36327,7 +36327,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61275:175:1", + "src": "63013:181:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36336,14 +36336,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3443, + "id": 2935, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "61452:52:1", + "src": "63196:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -36363,32 +36363,32 @@ } ], "expression": { - "id": 3428, + "id": 2920, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61259:2:1", + "referencedDeclaration": 2901, + "src": "62997:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3429, + "id": 2921, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "functionCall", "nodeType": "MemberAccess", - "referencedDeclaration": 1225, - "src": "61259:15:1", + "referencedDeclaration": 717, + "src": "62997:15:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$bound_to$_t_address_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 3444, + "id": 2936, "isConstant": false, "isLValue": false, "isPure": false, @@ -36396,7 +36396,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61259:246:1", + "src": "62997:252:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36404,21 +36404,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "assignments": [ - 3447 + 2939 ], "declarations": [ { "constant": false, - "id": 3447, + "id": 2939, "mutability": "mutable", "name": "retval", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61515:13:1", + "scope": 2953, + "src": "63260:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36426,10 +36426,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 3446, + "id": 2938, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61515:6:1", + "src": "63260:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36438,16 +36438,16 @@ "visibility": "internal" } ], - "id": 3455, + "id": 2947, "initialValue": { "arguments": [ { - "id": 3450, + "id": 2942, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3427, - "src": "61542:10:1", + "referencedDeclaration": 2919, + "src": "63287:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36456,34 +36456,34 @@ { "components": [ { - "id": 3452, + "id": 2944, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" }, "typeName": { - "id": 3451, + "id": 2943, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": {} } } ], - "id": 3453, + "id": 2945, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61554:8:1", + "src": "63299:8:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" @@ -36502,31 +36502,31 @@ } ], "expression": { - "id": 3448, + "id": 2940, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61531:3:1", + "src": "63276:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3449, + "id": 2941, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "decode", "nodeType": "MemberAccess", - "src": "61531:10:1", + "src": "63276:10:0", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 3454, + "id": 2946, "isConstant": false, "isLValue": false, "isPure": false, @@ -36534,7 +36534,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61531:32:1", + "src": "63276:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes4", @@ -36542,7 +36542,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "expression": { @@ -36552,18 +36552,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 3458, + "id": 2950, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3456, + "id": 2948, "name": "retval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3447, - "src": "61581:6:1", + "referencedDeclaration": 2939, + "src": "63327:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36572,68 +36572,68 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3457, + "id": 2949, "name": "_ERC721_RECEIVED", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2596, - "src": "61591:16:1", + "referencedDeclaration": 2088, + "src": "63337:16:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "src": "61581:26:1", + "src": "63327:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3459, + "id": 2951, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61580:28:1", + "src": "63326:28:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3417, - "id": 3460, + "functionReturnParameters": 2909, + "id": 2952, "nodeType": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ] }, "documentation": { - "id": 3405, + "id": 2897, "nodeType": "StructuredDocumentation", - "src": "60479:542:1", + "src": "62201:551:0", "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3462, + "id": 2954, "implemented": true, "kind": "function", "modifiers": [], "name": "_checkOnERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 3414, + "id": 2906, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3407, + "id": 2899, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61058:12:1", + "scope": 2954, + "src": "62790:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36641,10 +36641,10 @@ "typeString": "address" }, "typeName": { - "id": 3406, + "id": 2898, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61058:7:1", + "src": "62790:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36655,12 +36655,12 @@ }, { "constant": false, - "id": 3409, + "id": 2901, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61072:10:1", + "scope": 2954, + "src": "62804:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36668,10 +36668,10 @@ "typeString": "address" }, "typeName": { - "id": 3408, + "id": 2900, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61072:7:1", + "src": "62804:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36682,12 +36682,12 @@ }, { "constant": false, - "id": 3411, + "id": 2903, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61084:15:1", + "scope": 2954, + "src": "62816:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36695,10 +36695,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3410, + "id": 2902, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61084:7:1", + "src": "62816:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36708,12 +36708,12 @@ }, { "constant": false, - "id": 3413, + "id": 2905, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61101:18:1", + "scope": 2954, + "src": "62833:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36721,10 +36721,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3412, + "id": 2904, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61101:5:1", + "src": "62833:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36733,20 +36733,20 @@ "visibility": "internal" } ], - "src": "61057:63:1" + "src": "62789:63:0" }, "returnParameters": { - "id": 3417, + "id": 2909, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3416, + "id": 2908, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61146:4:1", + "scope": 2954, + "src": "62879:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36754,10 +36754,10 @@ "typeString": "bool" }, "typeName": { - "id": 3415, + "id": 2907, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "61146:4:1", + "src": "62879:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -36766,48 +36766,48 @@ "visibility": "internal" } ], - "src": "61145:6:1" + "src": "62878:6:0" }, - "scope": 3498, - "src": "61026:589:1", + "scope": 2990, + "src": "62758:604:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 3485, + "id": 2977, "nodeType": "Block", - "src": "61791:125:1", + "src": "63545:128:0", "statements": [ { "expression": { - "id": 3474, + "id": 2966, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3470, + "id": 2962, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "61801:15:1", + "referencedDeclaration": 2098, + "src": "63556:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 3472, + "id": 2964, "indexExpression": { - "id": 3471, + "id": 2963, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61817:7:1", + "referencedDeclaration": 2959, + "src": "63572:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36818,7 +36818,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "61801:24:1", + "src": "63556:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36827,26 +36827,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3473, + "id": 2965, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61828:2:1", + "referencedDeclaration": 2957, + "src": "63583:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "61801:29:1", + "src": "63556:29:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3475, + "id": 2967, "nodeType": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "eventCall": { @@ -36854,12 +36854,12 @@ { "arguments": [ { - "id": 3479, + "id": 2971, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61869:7:1", + "referencedDeclaration": 2959, + "src": "63625:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36874,32 +36874,32 @@ } ], "expression": { - "id": 3477, + "id": 2969, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "61854:6:1", + "referencedDeclaration": 2990, + "src": "63610:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3478, + "id": 2970, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "61854:14:1", + "referencedDeclaration": 2194, + "src": "63610:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3480, + "id": 2972, "isConstant": false, "isLValue": false, "isPure": false, @@ -36907,7 +36907,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61854:23:1", + "src": "63610:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -36915,24 +36915,24 @@ } }, { - "id": 3481, + "id": 2973, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61879:2:1", + "referencedDeclaration": 2957, + "src": "63635:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3482, + "id": 2974, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61883:7:1", + "referencedDeclaration": 2959, + "src": "63639:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36954,18 +36954,18 @@ "typeString": "uint256" } ], - "id": 3476, + "id": 2968, "name": "Approval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 563, - "src": "61845:8:1", + "referencedDeclaration": 55, + "src": "63601:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3483, + "id": 2975, "isConstant": false, "isLValue": false, "isPure": false, @@ -36973,43 +36973,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61845:46:1", + "src": "63601:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3484, + "id": 2976, "nodeType": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ] }, "documentation": { - "id": 3463, + "id": 2955, "nodeType": "StructuredDocumentation", - "src": "61621:101:1", + "src": "63370:105:0", "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3486, + "id": 2978, "implemented": true, "kind": "function", "modifiers": [], "name": "_approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 3468, + "id": 2960, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3465, + "id": 2957, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61745:10:1", + "scope": 2978, + "src": "63499:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37017,10 +37017,10 @@ "typeString": "address" }, "typeName": { - "id": 3464, + "id": 2956, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61745:7:1", + "src": "63499:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37031,12 +37031,12 @@ }, { "constant": false, - "id": 3467, + "id": 2959, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61757:15:1", + "scope": 2978, + "src": "63511:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37044,10 +37044,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3466, + "id": 2958, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61757:7:1", + "src": "63511:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37056,51 +37056,51 @@ "visibility": "internal" } ], - "src": "61744:29:1" + "src": "63498:29:0" }, "returnParameters": { - "id": 3469, + "id": 2961, "nodeType": "ParameterList", "parameters": [], - "src": "61791:0:1" + "src": "63545:0:0" }, - "scope": 3498, - "src": "61727:189:1", + "scope": 2990, + "src": "63481:192:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3496, + "id": 2988, "nodeType": "Block", - "src": "62602:3:1", + "src": "64376:3:0", "statements": [] }, "documentation": { - "id": 3487, + "id": 2979, "nodeType": "StructuredDocumentation", - "src": "61922:585:1", + "src": "63681:599:0", "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3497, + "id": 2989, "implemented": true, "kind": "function", "modifiers": [], "name": "_beforeTokenTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3494, + "id": 2986, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3489, + "id": 2981, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62542:12:1", + "scope": 2989, + "src": "64316:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37108,10 +37108,10 @@ "typeString": "address" }, "typeName": { - "id": 3488, + "id": 2980, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62542:7:1", + "src": "64316:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37122,12 +37122,12 @@ }, { "constant": false, - "id": 3491, + "id": 2983, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62556:10:1", + "scope": 2989, + "src": "64330:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37135,10 +37135,10 @@ "typeString": "address" }, "typeName": { - "id": 3490, + "id": 2982, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62556:7:1", + "src": "64330:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37149,12 +37149,12 @@ }, { "constant": false, - "id": 3493, + "id": 2985, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62568:15:1", + "scope": 2989, + "src": "64342:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37162,10 +37162,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3492, + "id": 2984, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "62568:7:1", + "src": "64342:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37174,69 +37174,69 @@ "visibility": "internal" } ], - "src": "62541:43:1" + "src": "64315:43:0" }, "returnParameters": { - "id": 3495, + "id": 2987, "nodeType": "ParameterList", "parameters": [], - "src": "62602:0:1" + "src": "64376:0:0" }, - "scope": 3498, - "src": "62512:93:1", + "scope": 2990, + "src": "64286:93:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "46080:16527:1" + "scope": 2991, + "src": "47398:16984:0" } ], - "src": "84:62524:1" + "src": "87:64297:0" }, "legacyAST": { "attributes": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, "license": "MIT" @@ -37254,9 +37254,9 @@ ".0" ] }, - "id": 509, + "id": 1, "name": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "attributes": { @@ -37270,10 +37270,10 @@ "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", - "scope": 3499 + "scope": 2991 }, "children": [ { @@ -37285,7 +37285,7 @@ null ], "name": "_msgSender", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37298,9 +37298,9 @@ ] }, "children": [], - "id": 510, + "id": 2, "name": "ParameterList", - "src": "668:2:1" + "src": "684:2:0" }, { "children": [ @@ -37309,7 +37309,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 518, + "scope": 10, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -37322,25 +37322,25 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 511, + "id": 3, "name": "ElementaryTypeName", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 512, + "id": 4, "name": "VariableDeclaration", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 513, + "id": 5, "name": "ParameterList", - "src": "701:17:1" + "src": "717:17:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 513 + "functionReturnParameters": 5 }, "children": [ { @@ -37362,29 +37362,29 @@ "type": "msg", "value": "msg" }, - "id": 514, + "id": 6, "name": "Identifier", - "src": "736:3:1" + "src": "753:3:0" } ], - "id": 515, + "id": 7, "name": "MemberAccess", - "src": "736:10:1" + "src": "753:10:0" } ], - "id": 516, + "id": 8, "name": "Return", - "src": "729:17:1" + "src": "746:17:0" } ], - "id": 517, + "id": 9, "name": "Block", - "src": "719:34:1" + "src": "735:36:0" } ], - "id": 518, + "id": 10, "name": "FunctionDefinition", - "src": "649:104:1" + "src": "665:106:0" }, { "attributes": { @@ -37395,7 +37395,7 @@ null ], "name": "_msgData", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37408,9 +37408,9 @@ ] }, "children": [], - "id": 519, + "id": 11, "name": "ParameterList", - "src": "776:2:1" + "src": "796:2:0" }, { "children": [ @@ -37419,7 +37419,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 529, + "scope": 21, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -37431,19 +37431,19 @@ "name": "bytes", "type": "bytes" }, - "id": 520, + "id": 12, "name": "ElementaryTypeName", - "src": "810:5:1" + "src": "830:5:0" } ], - "id": 521, + "id": 13, "name": "VariableDeclaration", - "src": "810:12:1" + "src": "830:12:0" } ], - "id": 522, + "id": 14, "name": "ParameterList", - "src": "809:14:1" + "src": "829:14:0" }, { "children": [ @@ -37458,18 +37458,18 @@ "type": "contract Context", "value": "this" }, - "id": 523, + "id": 15, "name": "Identifier", - "src": "834:4:1" + "src": "855:4:0" } ], - "id": 524, + "id": 16, "name": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "attributes": { - "functionReturnParameters": 522 + "functionReturnParameters": 14 }, "children": [ { @@ -37491,34 +37491,34 @@ "type": "msg", "value": "msg" }, - "id": 525, + "id": 17, "name": "Identifier", - "src": "974:3:1" + "src": "996:3:0" } ], - "id": 526, + "id": 18, "name": "MemberAccess", - "src": "974:8:1" + "src": "996:8:0" } ], - "id": 527, + "id": 19, "name": "Return", - "src": "967:15:1" + "src": "989:15:0" } ], - "id": 528, + "id": 20, "name": "Block", - "src": "824:165:1" + "src": "844:168:0" } ], - "id": 529, + "id": 21, "name": "FunctionDefinition", - "src": "759:230:1" + "src": "779:233:0" } ], - "id": 530, + "id": 22, "name": "ContractDefinition", - "src": "617:374:1" + "src": "632:383:0" }, { "attributes": { @@ -37532,9 +37532,9 @@ ".0" ] }, - "id": 531, + "id": 23, "name": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "attributes": { @@ -37548,19 +37548,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, - "id": 532, + "id": 24, "name": "StructuredDocumentation", - "src": "1086:279:1" + "src": "1116:287:0" }, { "attributes": { @@ -37572,7 +37572,7 @@ null ], "name": "supportsInterface", - "scope": 541, + "scope": 33, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -37582,9 +37582,9 @@ "attributes": { "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, - "id": 533, + "id": 25, "name": "StructuredDocumentation", - "src": "1390:340:1" + "src": "1430:347:0" }, { "children": [ @@ -37593,7 +37593,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -37605,19 +37605,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 534, + "id": 26, "name": "ElementaryTypeName", - "src": "1762:6:1" + "src": "1810:6:0" } ], - "id": 535, + "id": 27, "name": "VariableDeclaration", - "src": "1762:18:1" + "src": "1810:18:0" } ], - "id": 536, + "id": 28, "name": "ParameterList", - "src": "1761:20:1" + "src": "1809:20:0" }, { "children": [ @@ -37626,7 +37626,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -37638,29 +37638,29 @@ "name": "bool", "type": "bool" }, - "id": 537, + "id": 29, "name": "ElementaryTypeName", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 538, + "id": 30, "name": "VariableDeclaration", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 539, + "id": 31, "name": "ParameterList", - "src": "1804:6:1" + "src": "1852:6:0" } ], - "id": 540, + "id": 32, "name": "FunctionDefinition", - "src": "1735:76:1" + "src": "1783:76:0" } ], - "id": 541, + "id": 33, "name": "ContractDefinition", - "src": "1366:447:1" + "src": "1405:457:0" }, { "attributes": { @@ -37674,33 +37674,33 @@ ".0" ] }, - "id": 542, + "id": 34, "name": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Required interface of an ERC721 compliant contract." }, - "id": 543, + "id": 35, "name": "StructuredDocumentation", - "src": "1907:67:1" + "src": "1962:69:0" }, { "attributes": {}, @@ -37708,17 +37708,17 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 544, + "id": 36, "name": "UserDefinedTypeName", - "src": "1996:7:1" + "src": "2054:7:0" } ], - "id": 545, + "id": 37, "name": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" }, { "attributes": { @@ -37730,9 +37730,9 @@ "attributes": { "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 546, + "id": 38, "name": "StructuredDocumentation", - "src": "2010:88:1" + "src": "2069:90:0" }, { "children": [ @@ -37742,7 +37742,7 @@ "indexed": true, "mutability": "mutable", "name": "from", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37755,14 +37755,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 547, + "id": 39, "name": "ElementaryTypeName", - "src": "2118:7:1" + "src": "2180:7:0" } ], - "id": 548, + "id": 40, "name": "VariableDeclaration", - "src": "2118:20:1" + "src": "2180:20:0" }, { "attributes": { @@ -37770,7 +37770,7 @@ "indexed": true, "mutability": "mutable", "name": "to", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37783,14 +37783,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 549, + "id": 41, "name": "ElementaryTypeName", - "src": "2140:7:1" + "src": "2202:7:0" } ], - "id": 550, + "id": 42, "name": "VariableDeclaration", - "src": "2140:18:1" + "src": "2202:18:0" }, { "attributes": { @@ -37798,7 +37798,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -37810,24 +37810,24 @@ "name": "uint256", "type": "uint256" }, - "id": 551, + "id": 43, "name": "ElementaryTypeName", - "src": "2160:7:1" + "src": "2222:7:0" } ], - "id": 552, + "id": 44, "name": "VariableDeclaration", - "src": "2160:23:1" + "src": "2222:23:0" } ], - "id": 553, + "id": 45, "name": "ParameterList", - "src": "2117:67:1" + "src": "2179:67:0" } ], - "id": 554, + "id": 46, "name": "EventDefinition", - "src": "2103:82:1" + "src": "2165:82:0" }, { "attributes": { @@ -37839,9 +37839,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 555, + "id": 47, "name": "StructuredDocumentation", - "src": "2191:94:1" + "src": "2255:96:0" }, { "children": [ @@ -37851,7 +37851,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37864,14 +37864,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 556, + "id": 48, "name": "ElementaryTypeName", - "src": "2305:7:1" + "src": "2372:7:0" } ], - "id": 557, + "id": 49, "name": "VariableDeclaration", - "src": "2305:21:1" + "src": "2372:21:0" }, { "attributes": { @@ -37879,7 +37879,7 @@ "indexed": true, "mutability": "mutable", "name": "approved", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37892,14 +37892,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 558, + "id": 50, "name": "ElementaryTypeName", - "src": "2328:7:1" + "src": "2395:7:0" } ], - "id": 559, + "id": 51, "name": "VariableDeclaration", - "src": "2328:24:1" + "src": "2395:24:0" }, { "attributes": { @@ -37907,7 +37907,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -37919,24 +37919,24 @@ "name": "uint256", "type": "uint256" }, - "id": 560, + "id": 52, "name": "ElementaryTypeName", - "src": "2354:7:1" + "src": "2421:7:0" } ], - "id": 561, + "id": 53, "name": "VariableDeclaration", - "src": "2354:23:1" + "src": "2421:23:0" } ], - "id": 562, + "id": 54, "name": "ParameterList", - "src": "2304:74:1" + "src": "2371:74:0" } ], - "id": 563, + "id": 55, "name": "EventDefinition", - "src": "2290:89:1" + "src": "2357:89:0" }, { "attributes": { @@ -37948,9 +37948,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 564, + "id": 56, "name": "StructuredDocumentation", - "src": "2385:117:1" + "src": "2454:119:0" }, { "children": [ @@ -37960,7 +37960,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37973,14 +37973,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 565, + "id": 57, "name": "ElementaryTypeName", - "src": "2528:7:1" + "src": "2600:7:0" } ], - "id": 566, + "id": 58, "name": "VariableDeclaration", - "src": "2528:21:1" + "src": "2600:21:0" }, { "attributes": { @@ -37988,7 +37988,7 @@ "indexed": true, "mutability": "mutable", "name": "operator", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38001,14 +38001,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 567, + "id": 59, "name": "ElementaryTypeName", - "src": "2551:7:1" + "src": "2623:7:0" } ], - "id": 568, + "id": 60, "name": "VariableDeclaration", - "src": "2551:24:1" + "src": "2623:24:0" }, { "attributes": { @@ -38016,7 +38016,7 @@ "indexed": false, "mutability": "mutable", "name": "approved", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38028,24 +38028,24 @@ "name": "bool", "type": "bool" }, - "id": 569, + "id": 61, "name": "ElementaryTypeName", - "src": "2577:4:1" + "src": "2649:4:0" } ], - "id": 570, + "id": 62, "name": "VariableDeclaration", - "src": "2577:13:1" + "src": "2649:13:0" } ], - "id": 571, + "id": 63, "name": "ParameterList", - "src": "2527:64:1" + "src": "2599:64:0" } ], - "id": 572, + "id": 64, "name": "EventDefinition", - "src": "2507:85:1" + "src": "2579:85:0" }, { "attributes": { @@ -38057,7 +38057,7 @@ null ], "name": "balanceOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38067,9 +38067,9 @@ "attributes": { "text": " @dev Returns the number of tokens in ``owner``'s account." }, - "id": 573, + "id": 65, "name": "StructuredDocumentation", - "src": "2598:76:1" + "src": "2672:78:0" }, { "children": [ @@ -38078,7 +38078,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38091,19 +38091,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 574, + "id": 66, "name": "ElementaryTypeName", - "src": "2698:7:1" + "src": "2775:7:0" } ], - "id": 575, + "id": 67, "name": "VariableDeclaration", - "src": "2698:13:1" + "src": "2775:13:0" } ], - "id": 576, + "id": 68, "name": "ParameterList", - "src": "2697:15:1" + "src": "2774:15:0" }, { "children": [ @@ -38112,7 +38112,7 @@ "constant": false, "mutability": "mutable", "name": "balance", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38124,24 +38124,24 @@ "name": "uint256", "type": "uint256" }, - "id": 577, + "id": 69, "name": "ElementaryTypeName", - "src": "2736:7:1" + "src": "2813:7:0" } ], - "id": 578, + "id": 70, "name": "VariableDeclaration", - "src": "2736:15:1" + "src": "2813:15:0" } ], - "id": 579, + "id": 71, "name": "ParameterList", - "src": "2735:17:1" + "src": "2812:17:0" } ], - "id": 580, + "id": 72, "name": "FunctionDefinition", - "src": "2679:74:1" + "src": "2756:74:0" }, { "attributes": { @@ -38153,7 +38153,7 @@ null ], "name": "ownerOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38163,9 +38163,9 @@ "attributes": { "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 581, + "id": 73, "name": "StructuredDocumentation", - "src": "2759:131:1" + "src": "2838:137:0" }, { "children": [ @@ -38174,7 +38174,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38186,19 +38186,19 @@ "name": "uint256", "type": "uint256" }, - "id": 582, + "id": 74, "name": "ElementaryTypeName", - "src": "2912:7:1" + "src": "2998:7:0" } ], - "id": 583, + "id": 75, "name": "VariableDeclaration", - "src": "2912:15:1" + "src": "2998:15:0" } ], - "id": 584, + "id": 76, "name": "ParameterList", - "src": "2911:17:1" + "src": "2997:17:0" }, { "children": [ @@ -38207,7 +38207,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38220,24 +38220,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 585, + "id": 77, "name": "ElementaryTypeName", - "src": "2952:7:1" + "src": "3038:7:0" } ], - "id": 586, + "id": 78, "name": "VariableDeclaration", - "src": "2952:13:1" + "src": "3038:13:0" } ], - "id": 587, + "id": 79, "name": "ParameterList", - "src": "2951:15:1" + "src": "3037:15:0" } ], - "id": 588, + "id": 80, "name": "FunctionDefinition", - "src": "2895:72:1" + "src": "2981:72:0" }, { "attributes": { @@ -38249,7 +38249,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38259,9 +38259,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 589, + "id": 81, "name": "StructuredDocumentation", - "src": "2973:690:1" + "src": "3061:703:0" }, { "children": [ @@ -38270,7 +38270,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38283,21 +38283,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 590, + "id": 82, "name": "ElementaryTypeName", - "src": "3694:7:1" + "src": "3796:7:0" } ], - "id": 591, + "id": 83, "name": "VariableDeclaration", - "src": "3694:12:1" + "src": "3796:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38310,21 +38310,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 592, + "id": 84, "name": "ElementaryTypeName", - "src": "3708:7:1" + "src": "3810:7:0" } ], - "id": 593, + "id": 85, "name": "VariableDeclaration", - "src": "3708:10:1" + "src": "3810:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38336,19 +38336,19 @@ "name": "uint256", "type": "uint256" }, - "id": 594, + "id": 86, "name": "ElementaryTypeName", - "src": "3720:7:1" + "src": "3822:7:0" } ], - "id": 595, + "id": 87, "name": "VariableDeclaration", - "src": "3720:15:1" + "src": "3822:15:0" } ], - "id": 596, + "id": 88, "name": "ParameterList", - "src": "3693:43:1" + "src": "3795:43:0" }, { "attributes": { @@ -38357,14 +38357,14 @@ ] }, "children": [], - "id": 597, + "id": 89, "name": "ParameterList", - "src": "3745:0:1" + "src": "3847:0:0" } ], - "id": 598, + "id": 90, "name": "FunctionDefinition", - "src": "3668:78:1" + "src": "3770:78:0" }, { "attributes": { @@ -38376,7 +38376,7 @@ null ], "name": "transferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38386,9 +38386,9 @@ "attributes": { "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, - "id": 599, + "id": 91, "name": "StructuredDocumentation", - "src": "3752:504:1" + "src": "3856:517:0" }, { "children": [ @@ -38397,7 +38397,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38410,21 +38410,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 600, + "id": 92, "name": "ElementaryTypeName", - "src": "4283:7:1" + "src": "4401:7:0" } ], - "id": 601, + "id": 93, "name": "VariableDeclaration", - "src": "4283:12:1" + "src": "4401:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38437,21 +38437,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 602, + "id": 94, "name": "ElementaryTypeName", - "src": "4297:7:1" + "src": "4415:7:0" } ], - "id": 603, + "id": 95, "name": "VariableDeclaration", - "src": "4297:10:1" + "src": "4415:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38463,19 +38463,19 @@ "name": "uint256", "type": "uint256" }, - "id": 604, + "id": 96, "name": "ElementaryTypeName", - "src": "4309:7:1" + "src": "4427:7:0" } ], - "id": 605, + "id": 97, "name": "VariableDeclaration", - "src": "4309:15:1" + "src": "4427:15:0" } ], - "id": 606, + "id": 98, "name": "ParameterList", - "src": "4282:43:1" + "src": "4400:43:0" }, { "attributes": { @@ -38484,14 +38484,14 @@ ] }, "children": [], - "id": 607, + "id": 99, "name": "ParameterList", - "src": "4334:0:1" + "src": "4452:0:0" } ], - "id": 608, + "id": 100, "name": "FunctionDefinition", - "src": "4261:74:1" + "src": "4379:74:0" }, { "attributes": { @@ -38503,7 +38503,7 @@ null ], "name": "approve", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38513,9 +38513,9 @@ "attributes": { "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, - "id": 609, + "id": 101, "name": "StructuredDocumentation", - "src": "4341:452:1" + "src": "4461:464:0" }, { "children": [ @@ -38524,7 +38524,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38537,21 +38537,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 610, + "id": 102, "name": "ElementaryTypeName", - "src": "4815:7:1" + "src": "4948:7:0" } ], - "id": 611, + "id": 103, "name": "VariableDeclaration", - "src": "4815:10:1" + "src": "4948:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38563,19 +38563,19 @@ "name": "uint256", "type": "uint256" }, - "id": 612, + "id": 104, "name": "ElementaryTypeName", - "src": "4827:7:1" + "src": "4960:7:0" } ], - "id": 613, + "id": 105, "name": "VariableDeclaration", - "src": "4827:15:1" + "src": "4960:15:0" } ], - "id": 614, + "id": 106, "name": "ParameterList", - "src": "4814:29:1" + "src": "4947:29:0" }, { "attributes": { @@ -38584,14 +38584,14 @@ ] }, "children": [], - "id": 615, + "id": 107, "name": "ParameterList", - "src": "4852:0:1" + "src": "4985:0:0" } ], - "id": 616, + "id": 108, "name": "FunctionDefinition", - "src": "4798:55:1" + "src": "4931:55:0" }, { "attributes": { @@ -38603,7 +38603,7 @@ null ], "name": "getApproved", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38613,9 +38613,9 @@ "attributes": { "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 617, + "id": 109, "name": "StructuredDocumentation", - "src": "4859:139:1" + "src": "4994:145:0" }, { "children": [ @@ -38624,7 +38624,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38636,19 +38636,19 @@ "name": "uint256", "type": "uint256" }, - "id": 618, + "id": 110, "name": "ElementaryTypeName", - "src": "5024:7:1" + "src": "5166:7:0" } ], - "id": 619, + "id": 111, "name": "VariableDeclaration", - "src": "5024:15:1" + "src": "5166:15:0" } ], - "id": 620, + "id": 112, "name": "ParameterList", - "src": "5023:17:1" + "src": "5165:17:0" }, { "children": [ @@ -38657,7 +38657,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38670,24 +38670,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 621, + "id": 113, "name": "ElementaryTypeName", - "src": "5064:7:1" + "src": "5206:7:0" } ], - "id": 622, + "id": 114, "name": "VariableDeclaration", - "src": "5064:16:1" + "src": "5206:16:0" } ], - "id": 623, + "id": 115, "name": "ParameterList", - "src": "5063:18:1" + "src": "5205:18:0" } ], - "id": 624, + "id": 116, "name": "FunctionDefinition", - "src": "5003:79:1" + "src": "5145:79:0" }, { "attributes": { @@ -38699,7 +38699,7 @@ null ], "name": "setApprovalForAll", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38709,9 +38709,9 @@ "attributes": { "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, - "id": 625, + "id": 117, "name": "StructuredDocumentation", - "src": "5088:309:1" + "src": "5232:318:0" }, { "children": [ @@ -38720,7 +38720,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38733,21 +38733,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 626, + "id": 118, "name": "ElementaryTypeName", - "src": "5429:7:1" + "src": "5583:7:0" } ], - "id": 627, + "id": 119, "name": "VariableDeclaration", - "src": "5429:16:1" + "src": "5583:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_approved", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38759,19 +38759,19 @@ "name": "bool", "type": "bool" }, - "id": 628, + "id": 120, "name": "ElementaryTypeName", - "src": "5447:4:1" + "src": "5601:4:0" } ], - "id": 629, + "id": 121, "name": "VariableDeclaration", - "src": "5447:14:1" + "src": "5601:14:0" } ], - "id": 630, + "id": 122, "name": "ParameterList", - "src": "5428:34:1" + "src": "5582:34:0" }, { "attributes": { @@ -38780,14 +38780,14 @@ ] }, "children": [], - "id": 631, + "id": 123, "name": "ParameterList", - "src": "5471:0:1" + "src": "5625:0:0" } ], - "id": 632, + "id": 124, "name": "FunctionDefinition", - "src": "5402:70:1" + "src": "5556:70:0" }, { "attributes": { @@ -38799,7 +38799,7 @@ null ], "name": "isApprovedForAll", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38809,9 +38809,9 @@ "attributes": { "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, - "id": 633, + "id": 125, "name": "StructuredDocumentation", - "src": "5478:138:1" + "src": "5634:142:0" }, { "children": [ @@ -38820,7 +38820,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38833,21 +38833,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 634, + "id": 126, "name": "ElementaryTypeName", - "src": "5647:7:1" + "src": "5808:7:0" } ], - "id": 635, + "id": 127, "name": "VariableDeclaration", - "src": "5647:13:1" + "src": "5808:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38860,19 +38860,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 636, + "id": 128, "name": "ElementaryTypeName", - "src": "5662:7:1" + "src": "5823:7:0" } ], - "id": 637, + "id": 129, "name": "VariableDeclaration", - "src": "5662:16:1" + "src": "5823:16:0" } ], - "id": 638, + "id": 130, "name": "ParameterList", - "src": "5646:33:1" + "src": "5807:33:0" }, { "children": [ @@ -38881,7 +38881,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38893,24 +38893,24 @@ "name": "bool", "type": "bool" }, - "id": 639, + "id": 131, "name": "ElementaryTypeName", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 640, + "id": 132, "name": "VariableDeclaration", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 641, + "id": 133, "name": "ParameterList", - "src": "5702:6:1" + "src": "5863:6:0" } ], - "id": 642, + "id": 134, "name": "FunctionDefinition", - "src": "5621:88:1" + "src": "5782:88:0" }, { "attributes": { @@ -38922,7 +38922,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38932,9 +38932,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 643, + "id": 135, "name": "StructuredDocumentation", - "src": "5715:568:1" + "src": "5878:580:0" }, { "children": [ @@ -38943,7 +38943,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38956,21 +38956,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 644, + "id": 136, "name": "ElementaryTypeName", - "src": "6314:7:1" + "src": "6490:7:0" } ], - "id": 645, + "id": 137, "name": "VariableDeclaration", - "src": "6314:12:1" + "src": "6490:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38983,21 +38983,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 646, + "id": 138, "name": "ElementaryTypeName", - "src": "6328:7:1" + "src": "6504:7:0" } ], - "id": 647, + "id": 139, "name": "VariableDeclaration", - "src": "6328:10:1" + "src": "6504:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39009,21 +39009,21 @@ "name": "uint256", "type": "uint256" }, - "id": 648, + "id": 140, "name": "ElementaryTypeName", - "src": "6340:7:1" + "src": "6516:7:0" } ], - "id": 649, + "id": 141, "name": "VariableDeclaration", - "src": "6340:15:1" + "src": "6516:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39035,19 +39035,19 @@ "name": "bytes", "type": "bytes" }, - "id": 650, + "id": 142, "name": "ElementaryTypeName", - "src": "6357:5:1" + "src": "6533:5:0" } ], - "id": 651, + "id": 143, "name": "VariableDeclaration", - "src": "6357:19:1" + "src": "6533:19:0" } ], - "id": 652, + "id": 144, "name": "ParameterList", - "src": "6313:64:1" + "src": "6489:64:0" }, { "attributes": { @@ -39056,19 +39056,19 @@ ] }, "children": [], - "id": 653, + "id": 145, "name": "ParameterList", - "src": "6386:0:1" + "src": "6562:0:0" } ], - "id": 654, + "id": 146, "name": "FunctionDefinition", - "src": "6288:99:1" + "src": "6464:99:0" } ], - "id": 655, + "id": 147, "name": "ContractDefinition", - "src": "1975:4414:1" + "src": "2033:4533:0" }, { "attributes": { @@ -39082,35 +39082,35 @@ ".0" ] }, - "id": 656, + "id": 148, "name": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 657, + "id": 149, "name": "StructuredDocumentation", - "src": "6491:133:1" + "src": "6674:136:0" }, { "attributes": {}, @@ -39118,17 +39118,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 658, + "id": 150, "name": "UserDefinedTypeName", - "src": "6654:7:1" + "src": "6841:7:0" } ], - "id": 659, + "id": 151, "name": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" }, { "attributes": { @@ -39140,7 +39140,7 @@ null ], "name": "name", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39150,9 +39150,9 @@ "attributes": { "text": " @dev Returns the token collection name." }, - "id": 660, + "id": 152, "name": "StructuredDocumentation", - "src": "6669:58:1" + "src": "6858:60:0" }, { "attributes": { @@ -39161,9 +39161,9 @@ ] }, "children": [], - "id": 661, + "id": 153, "name": "ParameterList", - "src": "6745:2:1" + "src": "6937:2:0" }, { "children": [ @@ -39172,7 +39172,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 665, + "scope": 157, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39184,24 +39184,24 @@ "name": "string", "type": "string" }, - "id": 662, + "id": 154, "name": "ElementaryTypeName", - "src": "6771:6:1" + "src": "6963:6:0" } ], - "id": 663, + "id": 155, "name": "VariableDeclaration", - "src": "6771:13:1" + "src": "6963:13:0" } ], - "id": 664, + "id": 156, "name": "ParameterList", - "src": "6770:15:1" + "src": "6962:15:0" } ], - "id": 665, + "id": 157, "name": "FunctionDefinition", - "src": "6732:54:1" + "src": "6924:54:0" }, { "attributes": { @@ -39213,7 +39213,7 @@ null ], "name": "symbol", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39223,9 +39223,9 @@ "attributes": { "text": " @dev Returns the token collection symbol." }, - "id": 666, + "id": 158, "name": "StructuredDocumentation", - "src": "6792:60:1" + "src": "6986:62:0" }, { "attributes": { @@ -39234,9 +39234,9 @@ ] }, "children": [], - "id": 667, + "id": 159, "name": "ParameterList", - "src": "6872:2:1" + "src": "7069:2:0" }, { "children": [ @@ -39245,7 +39245,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 671, + "scope": 163, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39257,24 +39257,24 @@ "name": "string", "type": "string" }, - "id": 668, + "id": 160, "name": "ElementaryTypeName", - "src": "6898:6:1" + "src": "7095:6:0" } ], - "id": 669, + "id": 161, "name": "VariableDeclaration", - "src": "6898:13:1" + "src": "7095:13:0" } ], - "id": 670, + "id": 162, "name": "ParameterList", - "src": "6897:15:1" + "src": "7094:15:0" } ], - "id": 671, + "id": 163, "name": "FunctionDefinition", - "src": "6857:56:1" + "src": "7054:56:0" }, { "attributes": { @@ -39286,7 +39286,7 @@ null ], "name": "tokenURI", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39296,9 +39296,9 @@ "attributes": { "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, - "id": 672, + "id": 164, "name": "StructuredDocumentation", - "src": "6919:90:1" + "src": "7118:92:0" }, { "children": [ @@ -39307,7 +39307,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39319,19 +39319,19 @@ "name": "uint256", "type": "uint256" }, - "id": 673, + "id": 165, "name": "ElementaryTypeName", - "src": "7032:7:1" + "src": "7234:7:0" } ], - "id": 674, + "id": 166, "name": "VariableDeclaration", - "src": "7032:15:1" + "src": "7234:15:0" } ], - "id": 675, + "id": 167, "name": "ParameterList", - "src": "7031:17:1" + "src": "7233:17:0" }, { "children": [ @@ -39340,7 +39340,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39352,29 +39352,29 @@ "name": "string", "type": "string" }, - "id": 676, + "id": 168, "name": "ElementaryTypeName", - "src": "7072:6:1" + "src": "7274:6:0" } ], - "id": 677, + "id": 169, "name": "VariableDeclaration", - "src": "7072:13:1" + "src": "7274:13:0" } ], - "id": 678, + "id": 170, "name": "ParameterList", - "src": "7071:15:1" + "src": "7273:15:0" } ], - "id": 679, + "id": 171, "name": "FunctionDefinition", - "src": "7014:73:1" + "src": "7216:73:0" } ], - "id": 680, + "id": 172, "name": "ContractDefinition", - "src": "6625:464:1" + "src": "6812:480:0" }, { "attributes": { @@ -39388,35 +39388,35 @@ ".0" ] }, - "id": 681, + "id": 173, "name": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 682, + "id": 174, "name": "StructuredDocumentation", - "src": "7195:136:1" + "src": "7406:139:0" }, { "attributes": {}, @@ -39424,17 +39424,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 683, + "id": 175, "name": "UserDefinedTypeName", - "src": "7363:7:1" + "src": "7578:7:0" } ], - "id": 684, + "id": 176, "name": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" }, { "attributes": { @@ -39446,7 +39446,7 @@ null ], "name": "totalSupply", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39456,9 +39456,9 @@ "attributes": { "text": " @dev Returns the total amount of tokens stored by the contract." }, - "id": 685, + "id": 177, "name": "StructuredDocumentation", - "src": "7378:82:1" + "src": "7595:84:0" }, { "attributes": { @@ -39467,9 +39467,9 @@ ] }, "children": [], - "id": 686, + "id": 178, "name": "ParameterList", - "src": "7485:2:1" + "src": "7705:2:0" }, { "children": [ @@ -39478,7 +39478,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 690, + "scope": 182, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39490,24 +39490,24 @@ "name": "uint256", "type": "uint256" }, - "id": 687, + "id": 179, "name": "ElementaryTypeName", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 688, + "id": 180, "name": "VariableDeclaration", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 689, + "id": 181, "name": "ParameterList", - "src": "7510:9:1" + "src": "7730:9:0" } ], - "id": 690, + "id": 182, "name": "FunctionDefinition", - "src": "7465:55:1" + "src": "7685:55:0" }, { "attributes": { @@ -39519,7 +39519,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39529,9 +39529,9 @@ "attributes": { "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, - "id": 691, + "id": 183, "name": "StructuredDocumentation", - "src": "7526:171:1" + "src": "7748:174:0" }, { "children": [ @@ -39540,7 +39540,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39553,21 +39553,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 692, + "id": 184, "name": "ElementaryTypeName", - "src": "7731:7:1" + "src": "7957:7:0" } ], - "id": 693, + "id": 185, "name": "VariableDeclaration", - "src": "7731:13:1" + "src": "7957:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39579,19 +39579,19 @@ "name": "uint256", "type": "uint256" }, - "id": 694, + "id": 186, "name": "ElementaryTypeName", - "src": "7746:7:1" + "src": "7972:7:0" } ], - "id": 695, + "id": 187, "name": "VariableDeclaration", - "src": "7746:13:1" + "src": "7972:13:0" } ], - "id": 696, + "id": 188, "name": "ParameterList", - "src": "7730:30:1" + "src": "7956:30:0" }, { "children": [ @@ -39600,7 +39600,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39612,24 +39612,24 @@ "name": "uint256", "type": "uint256" }, - "id": 697, + "id": 189, "name": "ElementaryTypeName", - "src": "7784:7:1" + "src": "8010:7:0" } ], - "id": 698, + "id": 190, "name": "VariableDeclaration", - "src": "7784:15:1" + "src": "8010:15:0" } ], - "id": 699, + "id": 191, "name": "ParameterList", - "src": "7783:17:1" + "src": "8009:17:0" } ], - "id": 700, + "id": 192, "name": "FunctionDefinition", - "src": "7702:99:1" + "src": "7928:99:0" }, { "attributes": { @@ -39641,7 +39641,7 @@ null ], "name": "tokenByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39651,9 +39651,9 @@ "attributes": { "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, - "id": 701, + "id": 193, "name": "StructuredDocumentation", - "src": "7807:164:1" + "src": "8035:167:0" }, { "children": [ @@ -39662,7 +39662,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39674,19 +39674,19 @@ "name": "uint256", "type": "uint256" }, - "id": 702, + "id": 194, "name": "ElementaryTypeName", - "src": "7998:7:1" + "src": "8230:7:0" } ], - "id": 703, + "id": 195, "name": "VariableDeclaration", - "src": "7998:13:1" + "src": "8230:13:0" } ], - "id": 704, + "id": 196, "name": "ParameterList", - "src": "7997:15:1" + "src": "8229:15:0" }, { "children": [ @@ -39695,7 +39695,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39707,29 +39707,29 @@ "name": "uint256", "type": "uint256" }, - "id": 705, + "id": 197, "name": "ElementaryTypeName", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 706, + "id": 198, "name": "VariableDeclaration", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 707, + "id": 199, "name": "ParameterList", - "src": "8035:9:1" + "src": "8267:9:0" } ], - "id": 708, + "id": 200, "name": "FunctionDefinition", - "src": "7976:69:1" + "src": "8208:69:0" } ], - "id": 709, + "id": 201, "name": "ContractDefinition", - "src": "7332:715:1" + "src": "7547:733:0" }, { "attributes": { @@ -39743,9 +39743,9 @@ ".0" ] }, - "id": 710, + "id": 202, "name": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "attributes": { @@ -39759,19 +39759,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, - "id": 711, + "id": 203, "name": "StructuredDocumentation", - "src": "8150:152:1" + "src": "8390:156:0" }, { "attributes": { @@ -39783,7 +39783,7 @@ null ], "name": "onERC721Received", - "scope": 726, + "scope": 218, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -39793,9 +39793,9 @@ "attributes": { "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, - "id": 712, + "id": 204, "name": "StructuredDocumentation", - "src": "8335:485:1" + "src": "8581:493:0" }, { "children": [ @@ -39804,7 +39804,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39817,21 +39817,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 713, + "id": 205, "name": "ElementaryTypeName", - "src": "8851:7:1" + "src": "9106:7:0" } ], - "id": 714, + "id": 206, "name": "VariableDeclaration", - "src": "8851:16:1" + "src": "9106:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "from", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39844,21 +39844,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 715, + "id": 207, "name": "ElementaryTypeName", - "src": "8869:7:1" + "src": "9124:7:0" } ], - "id": 716, + "id": 208, "name": "VariableDeclaration", - "src": "8869:12:1" + "src": "9124:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39870,21 +39870,21 @@ "name": "uint256", "type": "uint256" }, - "id": 717, + "id": 209, "name": "ElementaryTypeName", - "src": "8883:7:1" + "src": "9138:7:0" } ], - "id": 718, + "id": 210, "name": "VariableDeclaration", - "src": "8883:15:1" + "src": "9138:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39896,19 +39896,19 @@ "name": "bytes", "type": "bytes" }, - "id": 719, + "id": 211, "name": "ElementaryTypeName", - "src": "8900:5:1" + "src": "9155:5:0" } ], - "id": 720, + "id": 212, "name": "VariableDeclaration", - "src": "8900:19:1" + "src": "9155:19:0" } ], - "id": 721, + "id": 213, "name": "ParameterList", - "src": "8850:70:1" + "src": "9105:70:0" }, { "children": [ @@ -39917,7 +39917,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -39929,29 +39929,29 @@ "name": "bytes4", "type": "bytes4" }, - "id": 722, + "id": 214, "name": "ElementaryTypeName", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 723, + "id": 215, "name": "VariableDeclaration", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 724, + "id": 216, "name": "ParameterList", - "src": "8938:8:1" + "src": "9193:8:0" } ], - "id": 725, + "id": 217, "name": "FunctionDefinition", - "src": "8825:122:1" + "src": "9080:122:0" } ], - "id": 726, + "id": 218, "name": "ContractDefinition", - "src": "8303:646:1" + "src": "8548:657:0" }, { "attributes": { @@ -39965,33 +39965,33 @@ ".0" ] }, - "id": 727, + "id": 219, "name": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "attributes": { "abstract": true, "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, - "id": 728, + "id": 220, "name": "StructuredDocumentation", - "src": "9043:171:1" + "src": "9305:176:0" }, { "attributes": {}, @@ -39999,24 +39999,24 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 729, + "id": 221, "name": "UserDefinedTypeName", - "src": "9243:7:1" + "src": "9511:7:0" } ], - "id": 730, + "id": 222, "name": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -40028,9 +40028,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 731, + "id": 223, "name": "ElementaryTypeName", - "src": "9340:6:1" + "src": "9612:6:0" }, { "attributes": { @@ -40043,21 +40043,21 @@ "type": "int_const 33540519", "value": "0x01ffc9a7" }, - "id": 732, + "id": 224, "name": "Literal", - "src": "9387:10:1" + "src": "9659:10:0" } ], - "id": 733, + "id": 225, "name": "VariableDeclaration", - "src": "9340:57:1" + "src": "9612:57:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_supportedInterfaces", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "mapping(bytes4 => bool)", @@ -40074,36 +40074,36 @@ "name": "bytes4", "type": "bytes4" }, - "id": 735, + "id": 227, "name": "ElementaryTypeName", - "src": "9499:6:1" + "src": "9776:6:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 736, + "id": 228, "name": "ElementaryTypeName", - "src": "9509:4:1" + "src": "9786:4:0" } ], - "id": 737, + "id": 229, "name": "Mapping", - "src": "9491:23:1" + "src": "9768:23:0" }, { "attributes": { "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 734, + "id": 226, "name": "StructuredDocumentation", - "src": "9404:82:1" + "src": "9678:84:0" } ], - "id": 738, + "id": 230, "name": "VariableDeclaration", - "src": "9491:52:1" + "src": "9768:52:0" }, { "attributes": { @@ -40114,7 +40114,7 @@ null ], "name": "", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -40127,9 +40127,9 @@ ] }, "children": [], - "id": 739, + "id": 231, "name": "ParameterList", - "src": "9562:2:1" + "src": "9841:2:0" }, { "attributes": { @@ -40138,9 +40138,9 @@ ] }, "children": [], - "id": 740, + "id": 232, "name": "ParameterList", - "src": "9565:0:1" + "src": "9844:0:0" }, { "children": [ @@ -40172,51 +40172,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 741, + "id": 233, "name": "Identifier", - "src": "9711:18:1" + "src": "9993:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 733, + "referencedDeclaration": 225, "type": "bytes4", "value": "_INTERFACE_ID_ERC165" }, - "id": 742, + "id": 234, "name": "Identifier", - "src": "9730:20:1" + "src": "10012:20:0" } ], - "id": 743, + "id": 235, "name": "FunctionCall", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 744, + "id": 236, "name": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 745, + "id": 237, "name": "Block", - "src": "9565:193:1" + "src": "9844:197:0" } ], - "id": 746, + "id": 238, "name": "FunctionDefinition", - "src": "9550:208:1" + "src": "9829:212:0" }, { "attributes": { "baseFunctions": [ - 540 + 32 ], "functionSelector": "01ffc9a7", "implemented": true, @@ -40226,7 +40226,7 @@ null ], "name": "supportsInterface", - "scope": 781, + "scope": 273, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -40236,9 +40236,9 @@ "attributes": { "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, - "id": 747, + "id": 239, "name": "StructuredDocumentation", - "src": "9764:139:1" + "src": "10049:143:0" }, { "attributes": { @@ -40246,9 +40246,9 @@ null ] }, - "id": 751, + "id": 243, "name": "OverrideSpecifier", - "src": "9975:8:1" + "src": "10265:8:0" }, { "children": [ @@ -40257,7 +40257,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40269,19 +40269,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 748, + "id": 240, "name": "ElementaryTypeName", - "src": "9935:6:1" + "src": "10225:6:0" } ], - "id": 749, + "id": 241, "name": "VariableDeclaration", - "src": "9935:18:1" + "src": "10225:18:0" } ], - "id": 750, + "id": 242, "name": "ParameterList", - "src": "9934:20:1" + "src": "10224:20:0" }, { "children": [ @@ -40290,7 +40290,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40302,25 +40302,25 @@ "name": "bool", "type": "bool" }, - "id": 752, + "id": 244, "name": "ElementaryTypeName", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 753, + "id": 245, "name": "VariableDeclaration", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 754, + "id": 246, "name": "ParameterList", - "src": "9992:6:1" + "src": "10282:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 754 + "functionReturnParameters": 246 }, "children": [ { @@ -40337,46 +40337,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 755, + "id": 247, "name": "Identifier", - "src": "10016:20:1" + "src": "10307:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 749, + "referencedDeclaration": 241, "type": "bytes4", "value": "interfaceId" }, - "id": 756, + "id": 248, "name": "Identifier", - "src": "10037:11:1" + "src": "10328:11:0" } ], - "id": 757, + "id": 249, "name": "IndexAccess", - "src": "10016:33:1" + "src": "10307:33:0" } ], - "id": 758, + "id": 250, "name": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ], - "id": 759, + "id": 251, "name": "Block", - "src": "9999:57:1" + "src": "10289:59:0" } ], - "id": 760, + "id": 252, "name": "FunctionDefinition", - "src": "9908:148:1" + "src": "10198:150:0" }, { "attributes": { @@ -40387,7 +40387,7 @@ null ], "name": "_registerInterface", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -40397,9 +40397,9 @@ "attributes": { "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 761, + "id": 253, "name": "StructuredDocumentation", - "src": "10062:383:1" + "src": "10356:393:0" }, { "children": [ @@ -40408,7 +40408,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 780, + "scope": 272, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40420,19 +40420,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 762, + "id": 254, "name": "ElementaryTypeName", - "src": "10478:6:1" + "src": "10783:6:0" } ], - "id": 763, + "id": 255, "name": "VariableDeclaration", - "src": "10478:18:1" + "src": "10783:18:0" } ], - "id": 764, + "id": 256, "name": "ParameterList", - "src": "10477:20:1" + "src": "10782:20:0" }, { "attributes": { @@ -40441,9 +40441,9 @@ ] }, "children": [], - "id": 765, + "id": 257, "name": "ParameterList", - "src": "10515:0:1" + "src": "10820:0:0" }, { "children": [ @@ -40484,9 +40484,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 766, + "id": 258, "name": "Identifier", - "src": "10525:7:1" + "src": "10831:7:0" }, { "attributes": { @@ -40507,13 +40507,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 767, + "id": 259, "name": "Identifier", - "src": "10533:11:1" + "src": "10839:11:0" }, { "attributes": { @@ -40526,14 +40526,14 @@ "type": "int_const 4294967295", "value": "0xffffffff" }, - "id": 768, + "id": 260, "name": "Literal", - "src": "10548:10:1" + "src": "10854:10:0" } ], - "id": 769, + "id": 261, "name": "BinaryOperation", - "src": "10533:25:1" + "src": "10839:25:0" }, { "attributes": { @@ -40546,19 +40546,19 @@ "type": "literal_string \"ERC165: invalid interface id\"", "value": "ERC165: invalid interface id" }, - "id": 770, + "id": 262, "name": "Literal", - "src": "10560:30:1" + "src": "10866:30:0" } ], - "id": 771, + "id": 263, "name": "FunctionCall", - "src": "10525:66:1" + "src": "10831:66:0" } ], - "id": 772, + "id": 264, "name": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "children": [ @@ -40586,31 +40586,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 773, + "id": 265, "name": "Identifier", - "src": "10601:20:1" + "src": "10908:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 774, + "id": 266, "name": "Identifier", - "src": "10622:11:1" + "src": "10929:11:0" } ], - "id": 775, + "id": 267, "name": "IndexAccess", - "src": "10601:33:1" + "src": "10908:33:0" }, { "attributes": { @@ -40623,34 +40623,34 @@ "type": "bool", "value": "true" }, - "id": 776, + "id": 268, "name": "Literal", - "src": "10637:4:1" + "src": "10944:4:0" } ], - "id": 777, + "id": 269, "name": "Assignment", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 778, + "id": 270, "name": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 779, + "id": 271, "name": "Block", - "src": "10515:133:1" + "src": "10820:136:0" } ], - "id": 780, + "id": 272, "name": "FunctionDefinition", - "src": "10450:198:1" + "src": "10755:201:0" } ], - "id": 781, + "id": 273, "name": "ContractDefinition", - "src": "9215:1435:1" + "src": "9483:1476:0" }, { "attributes": { @@ -40664,9 +40664,9 @@ ".0" ] }, - "id": 782, + "id": 274, "name": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "attributes": { @@ -40680,19 +40680,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, - "id": 783, + "id": 275, "name": "StructuredDocumentation", - "src": "10736:563:1" + "src": "11050:575:0" }, { "attributes": { @@ -40703,7 +40703,7 @@ null ], "name": "tryAdd", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -40713,9 +40713,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 784, + "id": 276, "name": "StructuredDocumentation", - "src": "11323:131:1" + "src": "11651:135:0" }, { "children": [ @@ -40724,7 +40724,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40736,21 +40736,21 @@ "name": "uint256", "type": "uint256" }, - "id": 785, + "id": 277, "name": "ElementaryTypeName", - "src": "11475:7:1" + "src": "11808:7:0" } ], - "id": 786, + "id": 278, "name": "VariableDeclaration", - "src": "11475:9:1" + "src": "11808:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40762,19 +40762,19 @@ "name": "uint256", "type": "uint256" }, - "id": 787, + "id": 279, "name": "ElementaryTypeName", - "src": "11486:7:1" + "src": "11819:7:0" } ], - "id": 788, + "id": 280, "name": "VariableDeclaration", - "src": "11486:9:1" + "src": "11819:9:0" } ], - "id": 789, + "id": 281, "name": "ParameterList", - "src": "11474:22:1" + "src": "11807:22:0" }, { "children": [ @@ -40783,7 +40783,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40795,21 +40795,21 @@ "name": "bool", "type": "bool" }, - "id": 790, + "id": 282, "name": "ElementaryTypeName", - "src": "11520:4:1" + "src": "11853:4:0" } ], - "id": 791, + "id": 283, "name": "VariableDeclaration", - "src": "11520:4:1" + "src": "11853:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40821,26 +40821,26 @@ "name": "uint256", "type": "uint256" }, - "id": 792, + "id": 284, "name": "ElementaryTypeName", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 793, + "id": 285, "name": "VariableDeclaration", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 794, + "id": 286, "name": "ParameterList", - "src": "11519:15:1" + "src": "11852:15:0" }, { "children": [ { "attributes": { "assignments": [ - 796 + 288 ] }, "children": [ @@ -40849,7 +40849,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 813, + "scope": 305, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40861,14 +40861,14 @@ "name": "uint256", "type": "uint256" }, - "id": 795, + "id": 287, "name": "ElementaryTypeName", - "src": "11545:7:1" + "src": "11879:7:0" } ], - "id": 796, + "id": 288, "name": "VariableDeclaration", - "src": "11545:9:1" + "src": "11879:9:0" }, { "attributes": { @@ -40889,36 +40889,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 797, + "id": 289, "name": "Identifier", - "src": "11557:1:1" + "src": "11891:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 280, "type": "uint256", "value": "b" }, - "id": 798, + "id": 290, "name": "Identifier", - "src": "11561:1:1" + "src": "11895:1:0" } ], - "id": 799, + "id": 291, "name": "BinaryOperation", - "src": "11557:5:1" + "src": "11891:5:0" } ], - "id": 800, + "id": 292, "name": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "attributes": {}, @@ -40942,35 +40942,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 801, + "id": 293, "name": "Identifier", - "src": "11576:1:1" + "src": "11911:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 802, + "id": 294, "name": "Identifier", - "src": "11580:1:1" + "src": "11915:1:0" } ], - "id": 803, + "id": 295, "name": "BinaryOperation", - "src": "11576:5:1" + "src": "11911:5:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -40994,9 +40994,9 @@ "type": "bool", "value": "false" }, - "id": 804, + "id": 296, "name": "Literal", - "src": "11591:5:1" + "src": "11926:5:0" }, { "attributes": { @@ -41009,28 +41009,28 @@ "type": "int_const 0", "value": "0" }, - "id": 805, + "id": 297, "name": "Literal", - "src": "11598:1:1" + "src": "11933:1:0" } ], - "id": 806, + "id": 298, "name": "TupleExpression", - "src": "11590:10:1" + "src": "11925:10:0" } ], - "id": 807, + "id": 299, "name": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } ], - "id": 808, + "id": 300, "name": "IfStatement", - "src": "11572:28:1" + "src": "11907:28:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -41054,42 +41054,42 @@ "type": "bool", "value": "true" }, - "id": 809, + "id": 301, "name": "Literal", - "src": "11618:4:1" + "src": "11954:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 810, + "id": 302, "name": "Identifier", - "src": "11624:1:1" + "src": "11960:1:0" } ], - "id": 811, + "id": 303, "name": "TupleExpression", - "src": "11617:9:1" + "src": "11953:9:0" } ], - "id": 812, + "id": 304, "name": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ], - "id": 813, + "id": 305, "name": "Block", - "src": "11535:98:1" + "src": "11868:102:0" } ], - "id": 814, + "id": 306, "name": "FunctionDefinition", - "src": "11459:174:1" + "src": "11792:178:0" }, { "attributes": { @@ -41100,7 +41100,7 @@ null ], "name": "trySub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41110,9 +41110,9 @@ "attributes": { "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 815, + "id": 307, "name": "StructuredDocumentation", - "src": "11639:135:1" + "src": "11978:139:0" }, { "children": [ @@ -41121,7 +41121,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41133,21 +41133,21 @@ "name": "uint256", "type": "uint256" }, - "id": 816, + "id": 308, "name": "ElementaryTypeName", - "src": "11795:7:1" + "src": "12139:7:0" } ], - "id": 817, + "id": 309, "name": "VariableDeclaration", - "src": "11795:9:1" + "src": "12139:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41159,19 +41159,19 @@ "name": "uint256", "type": "uint256" }, - "id": 818, + "id": 310, "name": "ElementaryTypeName", - "src": "11806:7:1" + "src": "12150:7:0" } ], - "id": 819, + "id": 311, "name": "VariableDeclaration", - "src": "11806:9:1" + "src": "12150:9:0" } ], - "id": 820, + "id": 312, "name": "ParameterList", - "src": "11794:22:1" + "src": "12138:22:0" }, { "children": [ @@ -41180,7 +41180,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41192,21 +41192,21 @@ "name": "bool", "type": "bool" }, - "id": 821, + "id": 313, "name": "ElementaryTypeName", - "src": "11840:4:1" + "src": "12184:4:0" } ], - "id": 822, + "id": 314, "name": "VariableDeclaration", - "src": "11840:4:1" + "src": "12184:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41218,19 +41218,19 @@ "name": "uint256", "type": "uint256" }, - "id": 823, + "id": 315, "name": "ElementaryTypeName", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 824, + "id": 316, "name": "VariableDeclaration", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 825, + "id": 317, "name": "ParameterList", - "src": "11839:15:1" + "src": "12183:15:0" }, { "children": [ @@ -41256,35 +41256,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 826, + "id": 318, "name": "Identifier", - "src": "11869:1:1" + "src": "12214:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 827, + "id": 319, "name": "Identifier", - "src": "11873:1:1" + "src": "12218:1:0" } ], - "id": 828, + "id": 320, "name": "BinaryOperation", - "src": "11869:5:1" + "src": "12214:5:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41308,9 +41308,9 @@ "type": "bool", "value": "false" }, - "id": 829, + "id": 321, "name": "Literal", - "src": "11884:5:1" + "src": "12229:5:0" }, { "attributes": { @@ -41323,28 +41323,28 @@ "type": "int_const 0", "value": "0" }, - "id": 830, + "id": 322, "name": "Literal", - "src": "11891:1:1" + "src": "12236:1:0" } ], - "id": 831, + "id": 323, "name": "TupleExpression", - "src": "11883:10:1" + "src": "12228:10:0" } ], - "id": 832, + "id": 324, "name": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } ], - "id": 833, + "id": 325, "name": "IfStatement", - "src": "11865:28:1" + "src": "12210:28:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41368,9 +41368,9 @@ "type": "bool", "value": "true" }, - "id": 834, + "id": 326, "name": "Literal", - "src": "11911:4:1" + "src": "12257:4:0" }, { "attributes": { @@ -41391,51 +41391,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 835, + "id": 327, "name": "Identifier", - "src": "11917:1:1" + "src": "12263:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 836, + "id": 328, "name": "Identifier", - "src": "11921:1:1" + "src": "12267:1:0" } ], - "id": 837, + "id": 329, "name": "BinaryOperation", - "src": "11917:5:1" + "src": "12263:5:0" } ], - "id": 838, + "id": 330, "name": "TupleExpression", - "src": "11910:13:1" + "src": "12256:13:0" } ], - "id": 839, + "id": 331, "name": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ], - "id": 840, + "id": 332, "name": "Block", - "src": "11855:75:1" + "src": "12199:78:0" } ], - "id": 841, + "id": 333, "name": "FunctionDefinition", - "src": "11779:151:1" + "src": "12123:154:0" }, { "attributes": { @@ -41446,7 +41446,7 @@ null ], "name": "tryMul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41456,9 +41456,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 842, + "id": 334, "name": "StructuredDocumentation", - "src": "11936:137:1" + "src": "12285:141:0" }, { "children": [ @@ -41467,7 +41467,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41479,21 +41479,21 @@ "name": "uint256", "type": "uint256" }, - "id": 843, + "id": 335, "name": "ElementaryTypeName", - "src": "12094:7:1" + "src": "12448:7:0" } ], - "id": 844, + "id": 336, "name": "VariableDeclaration", - "src": "12094:9:1" + "src": "12448:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41505,19 +41505,19 @@ "name": "uint256", "type": "uint256" }, - "id": 845, + "id": 337, "name": "ElementaryTypeName", - "src": "12105:7:1" + "src": "12459:7:0" } ], - "id": 846, + "id": 338, "name": "VariableDeclaration", - "src": "12105:9:1" + "src": "12459:9:0" } ], - "id": 847, + "id": 339, "name": "ParameterList", - "src": "12093:22:1" + "src": "12447:22:0" }, { "children": [ @@ -41526,7 +41526,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41538,21 +41538,21 @@ "name": "bool", "type": "bool" }, - "id": 848, + "id": 340, "name": "ElementaryTypeName", - "src": "12139:4:1" + "src": "12493:4:0" } ], - "id": 849, + "id": 341, "name": "VariableDeclaration", - "src": "12139:4:1" + "src": "12493:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41564,19 +41564,19 @@ "name": "uint256", "type": "uint256" }, - "id": 850, + "id": 342, "name": "ElementaryTypeName", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 851, + "id": 343, "name": "VariableDeclaration", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 852, + "id": 344, "name": "ParameterList", - "src": "12138:15:1" + "src": "12492:15:0" }, { "children": [ @@ -41602,13 +41602,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 853, + "id": 345, "name": "Identifier", - "src": "12386:1:1" + "src": "12744:1:0" }, { "attributes": { @@ -41621,18 +41621,18 @@ "type": "int_const 0", "value": "0" }, - "id": 854, + "id": 346, "name": "Literal", - "src": "12391:1:1" + "src": "12749:1:0" } ], - "id": 855, + "id": 347, "name": "BinaryOperation", - "src": "12386:6:1" + "src": "12744:6:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41656,9 +41656,9 @@ "type": "bool", "value": "true" }, - "id": 856, + "id": 348, "name": "Literal", - "src": "12402:4:1" + "src": "12760:4:0" }, { "attributes": { @@ -41671,29 +41671,29 @@ "type": "int_const 0", "value": "0" }, - "id": 857, + "id": 349, "name": "Literal", - "src": "12408:1:1" + "src": "12766:1:0" } ], - "id": 858, + "id": 350, "name": "TupleExpression", - "src": "12401:9:1" + "src": "12759:9:0" } ], - "id": 859, + "id": 351, "name": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } ], - "id": 860, + "id": 352, "name": "IfStatement", - "src": "12382:28:1" + "src": "12740:28:0" }, { "attributes": { "assignments": [ - 862 + 354 ] }, "children": [ @@ -41702,7 +41702,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 881, + "scope": 373, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41714,14 +41714,14 @@ "name": "uint256", "type": "uint256" }, - "id": 861, + "id": 353, "name": "ElementaryTypeName", - "src": "12420:7:1" + "src": "12779:7:0" } ], - "id": 862, + "id": 354, "name": "VariableDeclaration", - "src": "12420:9:1" + "src": "12779:9:0" }, { "attributes": { @@ -41742,36 +41742,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 863, + "id": 355, "name": "Identifier", - "src": "12432:1:1" + "src": "12791:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 864, + "id": 356, "name": "Identifier", - "src": "12436:1:1" + "src": "12795:1:0" } ], - "id": 865, + "id": 357, "name": "BinaryOperation", - "src": "12432:5:1" + "src": "12791:5:0" } ], - "id": 866, + "id": 358, "name": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "attributes": {}, @@ -41809,53 +41809,53 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 867, + "id": 359, "name": "Identifier", - "src": "12451:1:1" + "src": "12811:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 868, + "id": 360, "name": "Identifier", - "src": "12455:1:1" + "src": "12815:1:0" } ], - "id": 869, + "id": 361, "name": "BinaryOperation", - "src": "12451:5:1" + "src": "12811:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 870, + "id": 362, "name": "Identifier", - "src": "12460:1:1" + "src": "12820:1:0" } ], - "id": 871, + "id": 363, "name": "BinaryOperation", - "src": "12451:10:1" + "src": "12811:10:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41879,9 +41879,9 @@ "type": "bool", "value": "false" }, - "id": 872, + "id": 364, "name": "Literal", - "src": "12471:5:1" + "src": "12831:5:0" }, { "attributes": { @@ -41894,28 +41894,28 @@ "type": "int_const 0", "value": "0" }, - "id": 873, + "id": 365, "name": "Literal", - "src": "12478:1:1" + "src": "12838:1:0" } ], - "id": 874, + "id": 366, "name": "TupleExpression", - "src": "12470:10:1" + "src": "12830:10:0" } ], - "id": 875, + "id": 367, "name": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } ], - "id": 876, + "id": 368, "name": "IfStatement", - "src": "12447:33:1" + "src": "12807:33:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41939,42 +41939,42 @@ "type": "bool", "value": "true" }, - "id": 877, + "id": 369, "name": "Literal", - "src": "12498:4:1" + "src": "12859:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 878, + "id": 370, "name": "Identifier", - "src": "12504:1:1" + "src": "12865:1:0" } ], - "id": 879, + "id": 371, "name": "TupleExpression", - "src": "12497:9:1" + "src": "12858:9:0" } ], - "id": 880, + "id": 372, "name": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ], - "id": 881, + "id": 373, "name": "Block", - "src": "12154:359:1" + "src": "12508:367:0" } ], - "id": 882, + "id": 374, "name": "FunctionDefinition", - "src": "12078:435:1" + "src": "12432:443:0" }, { "attributes": { @@ -41985,7 +41985,7 @@ null ], "name": "tryDiv", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41995,9 +41995,9 @@ "attributes": { "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 883, + "id": 375, "name": "StructuredDocumentation", - "src": "12519:138:1" + "src": "12883:142:0" }, { "children": [ @@ -42006,7 +42006,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42018,21 +42018,21 @@ "name": "uint256", "type": "uint256" }, - "id": 884, + "id": 376, "name": "ElementaryTypeName", - "src": "12678:7:1" + "src": "13047:7:0" } ], - "id": 885, + "id": 377, "name": "VariableDeclaration", - "src": "12678:9:1" + "src": "13047:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42044,19 +42044,19 @@ "name": "uint256", "type": "uint256" }, - "id": 886, + "id": 378, "name": "ElementaryTypeName", - "src": "12689:7:1" + "src": "13058:7:0" } ], - "id": 887, + "id": 379, "name": "VariableDeclaration", - "src": "12689:9:1" + "src": "13058:9:0" } ], - "id": 888, + "id": 380, "name": "ParameterList", - "src": "12677:22:1" + "src": "13046:22:0" }, { "children": [ @@ -42065,7 +42065,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42077,21 +42077,21 @@ "name": "bool", "type": "bool" }, - "id": 889, + "id": 381, "name": "ElementaryTypeName", - "src": "12723:4:1" + "src": "13092:4:0" } ], - "id": 890, + "id": 382, "name": "VariableDeclaration", - "src": "12723:4:1" + "src": "13092:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42103,19 +42103,19 @@ "name": "uint256", "type": "uint256" }, - "id": 891, + "id": 383, "name": "ElementaryTypeName", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 892, + "id": 384, "name": "VariableDeclaration", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 893, + "id": 385, "name": "ParameterList", - "src": "12722:15:1" + "src": "13091:15:0" }, { "children": [ @@ -42141,13 +42141,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 894, + "id": 386, "name": "Identifier", - "src": "12752:1:1" + "src": "13122:1:0" }, { "attributes": { @@ -42160,18 +42160,18 @@ "type": "int_const 0", "value": "0" }, - "id": 895, + "id": 387, "name": "Literal", - "src": "12757:1:1" + "src": "13127:1:0" } ], - "id": 896, + "id": 388, "name": "BinaryOperation", - "src": "12752:6:1" + "src": "13122:6:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42195,9 +42195,9 @@ "type": "bool", "value": "false" }, - "id": 897, + "id": 389, "name": "Literal", - "src": "12768:5:1" + "src": "13138:5:0" }, { "attributes": { @@ -42210,28 +42210,28 @@ "type": "int_const 0", "value": "0" }, - "id": 898, + "id": 390, "name": "Literal", - "src": "12775:1:1" + "src": "13145:1:0" } ], - "id": 899, + "id": 391, "name": "TupleExpression", - "src": "12767:10:1" + "src": "13137:10:0" } ], - "id": 900, + "id": 392, "name": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } ], - "id": 901, + "id": 393, "name": "IfStatement", - "src": "12748:29:1" + "src": "13118:29:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42255,9 +42255,9 @@ "type": "bool", "value": "true" }, - "id": 902, + "id": 394, "name": "Literal", - "src": "12795:4:1" + "src": "13166:4:0" }, { "attributes": { @@ -42278,51 +42278,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 885, + "referencedDeclaration": 377, "type": "uint256", "value": "a" }, - "id": 903, + "id": 395, "name": "Identifier", - "src": "12801:1:1" + "src": "13172:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 904, + "id": 396, "name": "Identifier", - "src": "12805:1:1" + "src": "13176:1:0" } ], - "id": 905, + "id": 397, "name": "BinaryOperation", - "src": "12801:5:1" + "src": "13172:5:0" } ], - "id": 906, + "id": 398, "name": "TupleExpression", - "src": "12794:13:1" + "src": "13165:13:0" } ], - "id": 907, + "id": 399, "name": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ], - "id": 908, + "id": 400, "name": "Block", - "src": "12738:76:1" + "src": "13107:79:0" } ], - "id": 909, + "id": 401, "name": "FunctionDefinition", - "src": "12662:152:1" + "src": "13031:155:0" }, { "attributes": { @@ -42333,7 +42333,7 @@ null ], "name": "tryMod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42343,9 +42343,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 910, + "id": 402, "name": "StructuredDocumentation", - "src": "12820:148:1" + "src": "13194:152:0" }, { "children": [ @@ -42354,7 +42354,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42366,21 +42366,21 @@ "name": "uint256", "type": "uint256" }, - "id": 911, + "id": 403, "name": "ElementaryTypeName", - "src": "12989:7:1" + "src": "13368:7:0" } ], - "id": 912, + "id": 404, "name": "VariableDeclaration", - "src": "12989:9:1" + "src": "13368:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42392,19 +42392,19 @@ "name": "uint256", "type": "uint256" }, - "id": 913, + "id": 405, "name": "ElementaryTypeName", - "src": "13000:7:1" + "src": "13379:7:0" } ], - "id": 914, + "id": 406, "name": "VariableDeclaration", - "src": "13000:9:1" + "src": "13379:9:0" } ], - "id": 915, + "id": 407, "name": "ParameterList", - "src": "12988:22:1" + "src": "13367:22:0" }, { "children": [ @@ -42413,7 +42413,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42425,21 +42425,21 @@ "name": "bool", "type": "bool" }, - "id": 916, + "id": 408, "name": "ElementaryTypeName", - "src": "13034:4:1" + "src": "13413:4:0" } ], - "id": 917, + "id": 409, "name": "VariableDeclaration", - "src": "13034:4:1" + "src": "13413:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42451,19 +42451,19 @@ "name": "uint256", "type": "uint256" }, - "id": 918, + "id": 410, "name": "ElementaryTypeName", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 919, + "id": 411, "name": "VariableDeclaration", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 920, + "id": 412, "name": "ParameterList", - "src": "13033:15:1" + "src": "13412:15:0" }, { "children": [ @@ -42489,13 +42489,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 921, + "id": 413, "name": "Identifier", - "src": "13063:1:1" + "src": "13443:1:0" }, { "attributes": { @@ -42508,18 +42508,18 @@ "type": "int_const 0", "value": "0" }, - "id": 922, + "id": 414, "name": "Literal", - "src": "13068:1:1" + "src": "13448:1:0" } ], - "id": 923, + "id": 415, "name": "BinaryOperation", - "src": "13063:6:1" + "src": "13443:6:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42543,9 +42543,9 @@ "type": "bool", "value": "false" }, - "id": 924, + "id": 416, "name": "Literal", - "src": "13079:5:1" + "src": "13459:5:0" }, { "attributes": { @@ -42558,28 +42558,28 @@ "type": "int_const 0", "value": "0" }, - "id": 925, + "id": 417, "name": "Literal", - "src": "13086:1:1" + "src": "13466:1:0" } ], - "id": 926, + "id": 418, "name": "TupleExpression", - "src": "13078:10:1" + "src": "13458:10:0" } ], - "id": 927, + "id": 419, "name": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } ], - "id": 928, + "id": 420, "name": "IfStatement", - "src": "13059:29:1" + "src": "13439:29:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42603,9 +42603,9 @@ "type": "bool", "value": "true" }, - "id": 929, + "id": 421, "name": "Literal", - "src": "13106:4:1" + "src": "13487:4:0" }, { "attributes": { @@ -42626,51 +42626,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 912, + "referencedDeclaration": 404, "type": "uint256", "value": "a" }, - "id": 930, + "id": 422, "name": "Identifier", - "src": "13112:1:1" + "src": "13493:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 931, + "id": 423, "name": "Identifier", - "src": "13116:1:1" + "src": "13497:1:0" } ], - "id": 932, + "id": 424, "name": "BinaryOperation", - "src": "13112:5:1" + "src": "13493:5:0" } ], - "id": 933, + "id": 425, "name": "TupleExpression", - "src": "13105:13:1" + "src": "13486:13:0" } ], - "id": 934, + "id": 426, "name": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ], - "id": 935, + "id": 427, "name": "Block", - "src": "13049:76:1" + "src": "13428:79:0" } ], - "id": 936, + "id": 428, "name": "FunctionDefinition", - "src": "12973:152:1" + "src": "13352:155:0" }, { "attributes": { @@ -42681,7 +42681,7 @@ null ], "name": "add", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42691,9 +42691,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 937, + "id": 429, "name": "StructuredDocumentation", - "src": "13131:224:1" + "src": "13515:233:0" }, { "children": [ @@ -42702,7 +42702,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42714,21 +42714,21 @@ "name": "uint256", "type": "uint256" }, - "id": 938, + "id": 430, "name": "ElementaryTypeName", - "src": "13373:7:1" + "src": "13767:7:0" } ], - "id": 939, + "id": 431, "name": "VariableDeclaration", - "src": "13373:9:1" + "src": "13767:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42740,19 +42740,19 @@ "name": "uint256", "type": "uint256" }, - "id": 940, + "id": 432, "name": "ElementaryTypeName", - "src": "13384:7:1" + "src": "13778:7:0" } ], - "id": 941, + "id": 433, "name": "VariableDeclaration", - "src": "13384:9:1" + "src": "13778:9:0" } ], - "id": 942, + "id": 434, "name": "ParameterList", - "src": "13372:22:1" + "src": "13766:22:0" }, { "children": [ @@ -42761,7 +42761,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42773,26 +42773,26 @@ "name": "uint256", "type": "uint256" }, - "id": 943, + "id": 435, "name": "ElementaryTypeName", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 944, + "id": 436, "name": "VariableDeclaration", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 945, + "id": 437, "name": "ParameterList", - "src": "13417:9:1" + "src": "13811:9:0" }, { "children": [ { "attributes": { "assignments": [ - 947 + 439 ] }, "children": [ @@ -42801,7 +42801,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 961, + "scope": 453, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42813,14 +42813,14 @@ "name": "uint256", "type": "uint256" }, - "id": 946, + "id": 438, "name": "ElementaryTypeName", - "src": "13437:7:1" + "src": "13832:7:0" } ], - "id": 947, + "id": 439, "name": "VariableDeclaration", - "src": "13437:9:1" + "src": "13832:9:0" }, { "attributes": { @@ -42841,36 +42841,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 948, + "id": 440, "name": "Identifier", - "src": "13449:1:1" + "src": "13844:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 941, + "referencedDeclaration": 433, "type": "uint256", "value": "b" }, - "id": 949, + "id": 441, "name": "Identifier", - "src": "13453:1:1" + "src": "13848:1:0" } ], - "id": 950, + "id": 442, "name": "BinaryOperation", - "src": "13449:5:1" + "src": "13844:5:0" } ], - "id": 951, + "id": 443, "name": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "children": [ @@ -42909,9 +42909,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 952, + "id": 444, "name": "Identifier", - "src": "13464:7:1" + "src": "13860:7:0" }, { "attributes": { @@ -42932,31 +42932,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 953, + "id": 445, "name": "Identifier", - "src": "13472:1:1" + "src": "13868:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 954, + "id": 446, "name": "Identifier", - "src": "13477:1:1" + "src": "13873:1:0" } ], - "id": 955, + "id": 447, "name": "BinaryOperation", - "src": "13472:6:1" + "src": "13868:6:0" }, { "attributes": { @@ -42969,23 +42969,23 @@ "type": "literal_string \"SafeMath: addition overflow\"", "value": "SafeMath: addition overflow" }, - "id": 956, + "id": 448, "name": "Literal", - "src": "13480:29:1" + "src": "13876:29:0" } ], - "id": 957, + "id": 449, "name": "FunctionCall", - "src": "13464:46:1" + "src": "13860:46:0" } ], - "id": 958, + "id": 450, "name": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "attributes": { - "functionReturnParameters": 945 + "functionReturnParameters": 437 }, "children": [ { @@ -42993,28 +42993,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 959, + "id": 451, "name": "Identifier", - "src": "13527:1:1" + "src": "13924:1:0" } ], - "id": 960, + "id": 452, "name": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ], - "id": 961, + "id": 453, "name": "Block", - "src": "13427:108:1" + "src": "13821:112:0" } ], - "id": 962, + "id": 454, "name": "FunctionDefinition", - "src": "13360:175:1" + "src": "13754:179:0" }, { "attributes": { @@ -43025,7 +43025,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43035,9 +43035,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 963, + "id": 455, "name": "StructuredDocumentation", - "src": "13541:260:1" + "src": "13941:269:0" }, { "children": [ @@ -43046,7 +43046,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43058,21 +43058,21 @@ "name": "uint256", "type": "uint256" }, - "id": 964, + "id": 456, "name": "ElementaryTypeName", - "src": "13819:7:1" + "src": "14229:7:0" } ], - "id": 965, + "id": 457, "name": "VariableDeclaration", - "src": "13819:9:1" + "src": "14229:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43084,19 +43084,19 @@ "name": "uint256", "type": "uint256" }, - "id": 966, + "id": 458, "name": "ElementaryTypeName", - "src": "13830:7:1" + "src": "14240:7:0" } ], - "id": 967, + "id": 459, "name": "VariableDeclaration", - "src": "13830:9:1" + "src": "14240:9:0" } ], - "id": 968, + "id": 460, "name": "ParameterList", - "src": "13818:22:1" + "src": "14228:22:0" }, { "children": [ @@ -43105,7 +43105,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43117,19 +43117,19 @@ "name": "uint256", "type": "uint256" }, - "id": 969, + "id": 461, "name": "ElementaryTypeName", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 970, + "id": 462, "name": "VariableDeclaration", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 971, + "id": 463, "name": "ParameterList", - "src": "13863:9:1" + "src": "14273:9:0" }, { "children": [ @@ -43170,9 +43170,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 972, + "id": 464, "name": "Identifier", - "src": "13883:7:1" + "src": "14294:7:0" }, { "attributes": { @@ -43193,31 +43193,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 973, + "id": 465, "name": "Identifier", - "src": "13891:1:1" + "src": "14302:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 974, + "id": 466, "name": "Identifier", - "src": "13896:1:1" + "src": "14307:1:0" } ], - "id": 975, + "id": 467, "name": "BinaryOperation", - "src": "13891:6:1" + "src": "14302:6:0" }, { "attributes": { @@ -43230,23 +43230,23 @@ "type": "literal_string \"SafeMath: subtraction overflow\"", "value": "SafeMath: subtraction overflow" }, - "id": 976, + "id": 468, "name": "Literal", - "src": "13899:32:1" + "src": "14310:32:0" } ], - "id": 977, + "id": 469, "name": "FunctionCall", - "src": "13883:49:1" + "src": "14294:49:0" } ], - "id": 978, + "id": 470, "name": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "attributes": { - "functionReturnParameters": 971 + "functionReturnParameters": 463 }, "children": [ { @@ -43268,46 +43268,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 979, + "id": 471, "name": "Identifier", - "src": "13949:1:1" + "src": "14361:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 980, + "id": 472, "name": "Identifier", - "src": "13953:1:1" + "src": "14365:1:0" } ], - "id": 981, + "id": 473, "name": "BinaryOperation", - "src": "13949:5:1" + "src": "14361:5:0" } ], - "id": 982, + "id": 474, "name": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ], - "id": 983, + "id": 475, "name": "Block", - "src": "13873:88:1" + "src": "14283:91:0" } ], - "id": 984, + "id": 476, "name": "FunctionDefinition", - "src": "13806:155:1" + "src": "14216:158:0" }, { "attributes": { @@ -43318,7 +43318,7 @@ null ], "name": "mul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43328,9 +43328,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 985, + "id": 477, "name": "StructuredDocumentation", - "src": "13967:236:1" + "src": "14382:245:0" }, { "children": [ @@ -43339,7 +43339,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43351,21 +43351,21 @@ "name": "uint256", "type": "uint256" }, - "id": 986, + "id": 478, "name": "ElementaryTypeName", - "src": "14221:7:1" + "src": "14646:7:0" } ], - "id": 987, + "id": 479, "name": "VariableDeclaration", - "src": "14221:9:1" + "src": "14646:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43377,19 +43377,19 @@ "name": "uint256", "type": "uint256" }, - "id": 988, + "id": 480, "name": "ElementaryTypeName", - "src": "14232:7:1" + "src": "14657:7:0" } ], - "id": 989, + "id": 481, "name": "VariableDeclaration", - "src": "14232:9:1" + "src": "14657:9:0" } ], - "id": 990, + "id": 482, "name": "ParameterList", - "src": "14220:22:1" + "src": "14645:22:0" }, { "children": [ @@ -43398,7 +43398,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43410,19 +43410,19 @@ "name": "uint256", "type": "uint256" }, - "id": 991, + "id": 483, "name": "ElementaryTypeName", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 992, + "id": 484, "name": "VariableDeclaration", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 993, + "id": 485, "name": "ParameterList", - "src": "14265:9:1" + "src": "14690:9:0" }, { "children": [ @@ -43448,13 +43448,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 994, + "id": 486, "name": "Identifier", - "src": "14289:1:1" + "src": "14715:1:0" }, { "attributes": { @@ -43467,18 +43467,18 @@ "type": "int_const 0", "value": "0" }, - "id": 995, + "id": 487, "name": "Literal", - "src": "14294:1:1" + "src": "14720:1:0" } ], - "id": 996, + "id": 488, "name": "BinaryOperation", - "src": "14289:6:1" + "src": "14715:6:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43492,24 +43492,24 @@ "type": "int_const 0", "value": "0" }, - "id": 997, + "id": 489, "name": "Literal", - "src": "14304:1:1" + "src": "14730:1:0" } ], - "id": 998, + "id": 490, "name": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } ], - "id": 999, + "id": 491, "name": "IfStatement", - "src": "14285:20:1" + "src": "14711:20:0" }, { "attributes": { "assignments": [ - 1001 + 493 ] }, "children": [ @@ -43518,7 +43518,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 1017, + "scope": 509, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43530,14 +43530,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1000, + "id": 492, "name": "ElementaryTypeName", - "src": "14315:7:1" + "src": "14742:7:0" } ], - "id": 1001, + "id": 493, "name": "VariableDeclaration", - "src": "14315:9:1" + "src": "14742:9:0" }, { "attributes": { @@ -43558,36 +43558,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1002, + "id": 494, "name": "Identifier", - "src": "14327:1:1" + "src": "14754:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1003, + "id": 495, "name": "Identifier", - "src": "14331:1:1" + "src": "14758:1:0" } ], - "id": 1004, + "id": 496, "name": "BinaryOperation", - "src": "14327:5:1" + "src": "14754:5:0" } ], - "id": 1005, + "id": 497, "name": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "children": [ @@ -43626,9 +43626,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1006, + "id": 498, "name": "Identifier", - "src": "14342:7:1" + "src": "14770:7:0" }, { "attributes": { @@ -43663,49 +43663,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1007, + "id": 499, "name": "Identifier", - "src": "14350:1:1" + "src": "14778:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1008, + "id": 500, "name": "Identifier", - "src": "14354:1:1" + "src": "14782:1:0" } ], - "id": 1009, + "id": 501, "name": "BinaryOperation", - "src": "14350:5:1" + "src": "14778:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1010, + "id": 502, "name": "Identifier", - "src": "14359:1:1" + "src": "14787:1:0" } ], - "id": 1011, + "id": 503, "name": "BinaryOperation", - "src": "14350:10:1" + "src": "14778:10:0" }, { "attributes": { @@ -43718,23 +43718,23 @@ "type": "literal_string \"SafeMath: multiplication overflow\"", "value": "SafeMath: multiplication overflow" }, - "id": 1012, + "id": 504, "name": "Literal", - "src": "14362:35:1" + "src": "14790:35:0" } ], - "id": 1013, + "id": 505, "name": "FunctionCall", - "src": "14342:56:1" + "src": "14770:56:0" } ], - "id": 1014, + "id": 506, "name": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43742,28 +43742,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1015, + "id": 507, "name": "Identifier", - "src": "14415:1:1" + "src": "14844:1:0" } ], - "id": 1016, + "id": 508, "name": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ], - "id": 1017, + "id": 509, "name": "Block", - "src": "14275:148:1" + "src": "14700:153:0" } ], - "id": 1018, + "id": 510, "name": "FunctionDefinition", - "src": "14208:215:1" + "src": "14633:220:0" }, { "attributes": { @@ -43774,7 +43774,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43784,9 +43784,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1019, + "id": 511, "name": "StructuredDocumentation", - "src": "14429:453:1" + "src": "14861:464:0" }, { "children": [ @@ -43795,7 +43795,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43807,21 +43807,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1020, + "id": 512, "name": "ElementaryTypeName", - "src": "14900:7:1" + "src": "15344:7:0" } ], - "id": 1021, + "id": 513, "name": "VariableDeclaration", - "src": "14900:9:1" + "src": "15344:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43833,19 +43833,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1022, + "id": 514, "name": "ElementaryTypeName", - "src": "14911:7:1" + "src": "15355:7:0" } ], - "id": 1023, + "id": 515, "name": "VariableDeclaration", - "src": "14911:9:1" + "src": "15355:9:0" } ], - "id": 1024, + "id": 516, "name": "ParameterList", - "src": "14899:22:1" + "src": "15343:22:0" }, { "children": [ @@ -43854,7 +43854,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43866,19 +43866,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1025, + "id": 517, "name": "ElementaryTypeName", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1026, + "id": 518, "name": "VariableDeclaration", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1027, + "id": 519, "name": "ParameterList", - "src": "14944:9:1" + "src": "15388:9:0" }, { "children": [ @@ -43919,9 +43919,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1028, + "id": 520, "name": "Identifier", - "src": "14964:7:1" + "src": "15409:7:0" }, { "attributes": { @@ -43942,13 +43942,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1029, + "id": 521, "name": "Identifier", - "src": "14972:1:1" + "src": "15417:1:0" }, { "attributes": { @@ -43961,14 +43961,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1030, + "id": 522, "name": "Literal", - "src": "14976:1:1" + "src": "15421:1:0" } ], - "id": 1031, + "id": 523, "name": "BinaryOperation", - "src": "14972:5:1" + "src": "15417:5:0" }, { "attributes": { @@ -43981,23 +43981,23 @@ "type": "literal_string \"SafeMath: division by zero\"", "value": "SafeMath: division by zero" }, - "id": 1032, + "id": 524, "name": "Literal", - "src": "14979:28:1" + "src": "15424:28:0" } ], - "id": 1033, + "id": 525, "name": "FunctionCall", - "src": "14964:44:1" + "src": "15409:44:0" } ], - "id": 1034, + "id": 526, "name": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "attributes": { - "functionReturnParameters": 1027 + "functionReturnParameters": 519 }, "children": [ { @@ -44019,46 +44019,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1021, + "referencedDeclaration": 513, "type": "uint256", "value": "a" }, - "id": 1035, + "id": 527, "name": "Identifier", - "src": "15025:1:1" + "src": "15471:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1036, + "id": 528, "name": "Identifier", - "src": "15029:1:1" + "src": "15475:1:0" } ], - "id": 1037, + "id": 529, "name": "BinaryOperation", - "src": "15025:5:1" + "src": "15471:5:0" } ], - "id": 1038, + "id": 530, "name": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ], - "id": 1039, + "id": 531, "name": "Block", - "src": "14954:83:1" + "src": "15398:86:0" } ], - "id": 1040, + "id": 532, "name": "FunctionDefinition", - "src": "14887:150:1" + "src": "15331:153:0" }, { "attributes": { @@ -44069,7 +44069,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44079,9 +44079,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1041, + "id": 533, "name": "StructuredDocumentation", - "src": "15043:442:1" + "src": "15492:453:0" }, { "children": [ @@ -44090,7 +44090,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44102,21 +44102,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1042, + "id": 534, "name": "ElementaryTypeName", - "src": "15503:7:1" + "src": "15964:7:0" } ], - "id": 1043, + "id": 535, "name": "VariableDeclaration", - "src": "15503:9:1" + "src": "15964:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44128,19 +44128,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1044, + "id": 536, "name": "ElementaryTypeName", - "src": "15514:7:1" + "src": "15975:7:0" } ], - "id": 1045, + "id": 537, "name": "VariableDeclaration", - "src": "15514:9:1" + "src": "15975:9:0" } ], - "id": 1046, + "id": 538, "name": "ParameterList", - "src": "15502:22:1" + "src": "15963:22:0" }, { "children": [ @@ -44149,7 +44149,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44161,19 +44161,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1047, + "id": 539, "name": "ElementaryTypeName", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1048, + "id": 540, "name": "VariableDeclaration", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1049, + "id": 541, "name": "ParameterList", - "src": "15547:9:1" + "src": "16008:9:0" }, { "children": [ @@ -44214,9 +44214,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1050, + "id": 542, "name": "Identifier", - "src": "15567:7:1" + "src": "16029:7:0" }, { "attributes": { @@ -44237,13 +44237,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1051, + "id": 543, "name": "Identifier", - "src": "15575:1:1" + "src": "16037:1:0" }, { "attributes": { @@ -44256,14 +44256,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1052, + "id": 544, "name": "Literal", - "src": "15579:1:1" + "src": "16041:1:0" } ], - "id": 1053, + "id": 545, "name": "BinaryOperation", - "src": "15575:5:1" + "src": "16037:5:0" }, { "attributes": { @@ -44276,23 +44276,23 @@ "type": "literal_string \"SafeMath: modulo by zero\"", "value": "SafeMath: modulo by zero" }, - "id": 1054, + "id": 546, "name": "Literal", - "src": "15582:26:1" + "src": "16044:26:0" } ], - "id": 1055, + "id": 547, "name": "FunctionCall", - "src": "15567:42:1" + "src": "16029:42:0" } ], - "id": 1056, + "id": 548, "name": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "attributes": { - "functionReturnParameters": 1049 + "functionReturnParameters": 541 }, "children": [ { @@ -44314,46 +44314,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1043, + "referencedDeclaration": 535, "type": "uint256", "value": "a" }, - "id": 1057, + "id": 549, "name": "Identifier", - "src": "15626:1:1" + "src": "16089:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1058, + "id": 550, "name": "Identifier", - "src": "15630:1:1" + "src": "16093:1:0" } ], - "id": 1059, + "id": 551, "name": "BinaryOperation", - "src": "15626:5:1" + "src": "16089:5:0" } ], - "id": 1060, + "id": 552, "name": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ], - "id": 1061, + "id": 553, "name": "Block", - "src": "15557:81:1" + "src": "16018:84:0" } ], - "id": 1062, + "id": 554, "name": "FunctionDefinition", - "src": "15490:148:1" + "src": "15951:151:0" }, { "attributes": { @@ -44364,7 +44364,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44374,9 +44374,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1063, + "id": 555, "name": "StructuredDocumentation", - "src": "15644:453:1" + "src": "16110:465:0" }, { "children": [ @@ -44385,7 +44385,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44397,21 +44397,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1064, + "id": 556, "name": "ElementaryTypeName", - "src": "16115:7:1" + "src": "16594:7:0" } ], - "id": 1065, + "id": 557, "name": "VariableDeclaration", - "src": "16115:9:1" + "src": "16594:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44423,21 +44423,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1066, + "id": 558, "name": "ElementaryTypeName", - "src": "16126:7:1" + "src": "16605:7:0" } ], - "id": 1067, + "id": 559, "name": "VariableDeclaration", - "src": "16126:9:1" + "src": "16605:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44449,19 +44449,19 @@ "name": "string", "type": "string" }, - "id": 1068, + "id": 560, "name": "ElementaryTypeName", - "src": "16137:6:1" + "src": "16616:6:0" } ], - "id": 1069, + "id": 561, "name": "VariableDeclaration", - "src": "16137:26:1" + "src": "16616:26:0" } ], - "id": 1070, + "id": 562, "name": "ParameterList", - "src": "16114:50:1" + "src": "16593:50:0" }, { "children": [ @@ -44470,7 +44470,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44482,19 +44482,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1071, + "id": 563, "name": "ElementaryTypeName", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1072, + "id": 564, "name": "VariableDeclaration", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1073, + "id": 565, "name": "ParameterList", - "src": "16187:9:1" + "src": "16666:9:0" }, { "children": [ @@ -44535,9 +44535,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1074, + "id": 566, "name": "Identifier", - "src": "16207:7:1" + "src": "16687:7:0" }, { "attributes": { @@ -44558,58 +44558,58 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1075, + "id": 567, "name": "Identifier", - "src": "16215:1:1" + "src": "16695:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1076, + "id": 568, "name": "Identifier", - "src": "16220:1:1" + "src": "16700:1:0" } ], - "id": 1077, + "id": 569, "name": "BinaryOperation", - "src": "16215:6:1" + "src": "16695:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1069, + "referencedDeclaration": 561, "type": "string memory", "value": "errorMessage" }, - "id": 1078, + "id": 570, "name": "Identifier", - "src": "16223:12:1" + "src": "16703:12:0" } ], - "id": 1079, + "id": 571, "name": "FunctionCall", - "src": "16207:29:1" + "src": "16687:29:0" } ], - "id": 1080, + "id": 572, "name": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "attributes": { - "functionReturnParameters": 1073 + "functionReturnParameters": 565 }, "children": [ { @@ -44631,46 +44631,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1081, + "id": 573, "name": "Identifier", - "src": "16253:1:1" + "src": "16734:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1082, + "id": 574, "name": "Identifier", - "src": "16257:1:1" + "src": "16738:1:0" } ], - "id": 1083, + "id": 575, "name": "BinaryOperation", - "src": "16253:5:1" + "src": "16734:5:0" } ], - "id": 1084, + "id": 576, "name": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ], - "id": 1085, + "id": 577, "name": "Block", - "src": "16197:68:1" + "src": "16676:71:0" } ], - "id": 1086, + "id": 578, "name": "FunctionDefinition", - "src": "16102:163:1" + "src": "16581:166:0" }, { "attributes": { @@ -44681,7 +44681,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44691,9 +44691,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1087, + "id": 579, "name": "StructuredDocumentation", - "src": "16271:646:1" + "src": "16755:660:0" }, { "children": [ @@ -44702,7 +44702,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44714,21 +44714,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1088, + "id": 580, "name": "ElementaryTypeName", - "src": "16935:7:1" + "src": "17434:7:0" } ], - "id": 1089, + "id": 581, "name": "VariableDeclaration", - "src": "16935:9:1" + "src": "17434:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44740,21 +44740,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1090, + "id": 582, "name": "ElementaryTypeName", - "src": "16946:7:1" + "src": "17445:7:0" } ], - "id": 1091, + "id": 583, "name": "VariableDeclaration", - "src": "16946:9:1" + "src": "17445:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44766,19 +44766,19 @@ "name": "string", "type": "string" }, - "id": 1092, + "id": 584, "name": "ElementaryTypeName", - "src": "16957:6:1" + "src": "17456:6:0" } ], - "id": 1093, + "id": 585, "name": "VariableDeclaration", - "src": "16957:26:1" + "src": "17456:26:0" } ], - "id": 1094, + "id": 586, "name": "ParameterList", - "src": "16934:50:1" + "src": "17433:50:0" }, { "children": [ @@ -44787,7 +44787,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44799,19 +44799,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1095, + "id": 587, "name": "ElementaryTypeName", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1096, + "id": 588, "name": "VariableDeclaration", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1097, + "id": 589, "name": "ParameterList", - "src": "17007:9:1" + "src": "17506:9:0" }, { "children": [ @@ -44852,9 +44852,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1098, + "id": 590, "name": "Identifier", - "src": "17027:7:1" + "src": "17527:7:0" }, { "attributes": { @@ -44875,13 +44875,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1099, + "id": 591, "name": "Identifier", - "src": "17035:1:1" + "src": "17535:1:0" }, { "attributes": { @@ -44894,41 +44894,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1100, + "id": 592, "name": "Literal", - "src": "17039:1:1" + "src": "17539:1:0" } ], - "id": 1101, + "id": 593, "name": "BinaryOperation", - "src": "17035:5:1" + "src": "17535:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1093, + "referencedDeclaration": 585, "type": "string memory", "value": "errorMessage" }, - "id": 1102, + "id": 594, "name": "Identifier", - "src": "17042:12:1" + "src": "17542:12:0" } ], - "id": 1103, + "id": 595, "name": "FunctionCall", - "src": "17027:28:1" + "src": "17527:28:0" } ], - "id": 1104, + "id": 596, "name": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "attributes": { - "functionReturnParameters": 1097 + "functionReturnParameters": 589 }, "children": [ { @@ -44950,46 +44950,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1089, + "referencedDeclaration": 581, "type": "uint256", "value": "a" }, - "id": 1105, + "id": 597, "name": "Identifier", - "src": "17072:1:1" + "src": "17573:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1106, + "id": 598, "name": "Identifier", - "src": "17076:1:1" + "src": "17577:1:0" } ], - "id": 1107, + "id": 599, "name": "BinaryOperation", - "src": "17072:5:1" + "src": "17573:5:0" } ], - "id": 1108, + "id": 600, "name": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ], - "id": 1109, + "id": 601, "name": "Block", - "src": "17017:67:1" + "src": "17516:70:0" } ], - "id": 1110, + "id": 602, "name": "FunctionDefinition", - "src": "16922:162:1" + "src": "17421:165:0" }, { "attributes": { @@ -45000,7 +45000,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -45010,9 +45010,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1111, + "id": 603, "name": "StructuredDocumentation", - "src": "17090:635:1" + "src": "17594:649:0" }, { "children": [ @@ -45021,7 +45021,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45033,21 +45033,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1112, + "id": 604, "name": "ElementaryTypeName", - "src": "17743:7:1" + "src": "18262:7:0" } ], - "id": 1113, + "id": 605, "name": "VariableDeclaration", - "src": "17743:9:1" + "src": "18262:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45059,21 +45059,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1114, + "id": 606, "name": "ElementaryTypeName", - "src": "17754:7:1" + "src": "18273:7:0" } ], - "id": 1115, + "id": 607, "name": "VariableDeclaration", - "src": "17754:9:1" + "src": "18273:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -45085,19 +45085,19 @@ "name": "string", "type": "string" }, - "id": 1116, + "id": 608, "name": "ElementaryTypeName", - "src": "17765:6:1" + "src": "18284:6:0" } ], - "id": 1117, + "id": 609, "name": "VariableDeclaration", - "src": "17765:26:1" + "src": "18284:26:0" } ], - "id": 1118, + "id": 610, "name": "ParameterList", - "src": "17742:50:1" + "src": "18261:50:0" }, { "children": [ @@ -45106,7 +45106,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45118,19 +45118,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1119, + "id": 611, "name": "ElementaryTypeName", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1120, + "id": 612, "name": "VariableDeclaration", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1121, + "id": 613, "name": "ParameterList", - "src": "17815:9:1" + "src": "18334:9:0" }, { "children": [ @@ -45171,9 +45171,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1122, + "id": 614, "name": "Identifier", - "src": "17835:7:1" + "src": "18355:7:0" }, { "attributes": { @@ -45194,13 +45194,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1123, + "id": 615, "name": "Identifier", - "src": "17843:1:1" + "src": "18363:1:0" }, { "attributes": { @@ -45213,41 +45213,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1124, + "id": 616, "name": "Literal", - "src": "17847:1:1" + "src": "18367:1:0" } ], - "id": 1125, + "id": 617, "name": "BinaryOperation", - "src": "17843:5:1" + "src": "18363:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1117, + "referencedDeclaration": 609, "type": "string memory", "value": "errorMessage" }, - "id": 1126, + "id": 618, "name": "Identifier", - "src": "17850:12:1" + "src": "18370:12:0" } ], - "id": 1127, + "id": 619, "name": "FunctionCall", - "src": "17835:28:1" + "src": "18355:28:0" } ], - "id": 1128, + "id": 620, "name": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "attributes": { - "functionReturnParameters": 1121 + "functionReturnParameters": 613 }, "children": [ { @@ -45269,51 +45269,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1113, + "referencedDeclaration": 605, "type": "uint256", "value": "a" }, - "id": 1129, + "id": 621, "name": "Identifier", - "src": "17880:1:1" + "src": "18401:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1130, + "id": 622, "name": "Identifier", - "src": "17884:1:1" + "src": "18405:1:0" } ], - "id": 1131, + "id": 623, "name": "BinaryOperation", - "src": "17880:5:1" + "src": "18401:5:0" } ], - "id": 1132, + "id": 624, "name": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ], - "id": 1133, + "id": 625, "name": "Block", - "src": "17825:67:1" + "src": "18344:70:0" } ], - "id": 1134, + "id": 626, "name": "FunctionDefinition", - "src": "17730:162:1" + "src": "18249:165:0" } ], - "id": 1135, + "id": 627, "name": "ContractDefinition", - "src": "11300:6594:1" + "src": "11627:6790:0" }, { "attributes": { @@ -45327,9 +45327,9 @@ ".0" ] }, - "id": 1136, + "id": 628, "name": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "attributes": { @@ -45343,19 +45343,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Collection of functions related to the address type" }, - "id": 1137, + "id": 629, "name": "StructuredDocumentation", - "src": "17980:67:1" + "src": "18508:69:0" }, { "attributes": { @@ -45366,7 +45366,7 @@ null ], "name": "isContract", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -45376,9 +45376,9 @@ "attributes": { "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1138, + "id": 630, "name": "StructuredDocumentation", - "src": "18070:565:1" + "src": "18602:581:0" }, { "children": [ @@ -45387,7 +45387,7 @@ "constant": false, "mutability": "mutable", "name": "account", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -45400,19 +45400,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1139, + "id": 631, "name": "ElementaryTypeName", - "src": "18660:7:1" + "src": "19209:7:0" } ], - "id": 1140, + "id": 632, "name": "VariableDeclaration", - "src": "18660:15:1" + "src": "19209:15:0" } ], - "id": 1141, + "id": 633, "name": "ParameterList", - "src": "18659:17:1" + "src": "19208:17:0" }, { "children": [ @@ -45421,7 +45421,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45433,26 +45433,26 @@ "name": "bool", "type": "bool" }, - "id": 1142, + "id": 634, "name": "ElementaryTypeName", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1143, + "id": 635, "name": "VariableDeclaration", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1144, + "id": 636, "name": "ParameterList", - "src": "18699:6:1" + "src": "19248:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1146 + 638 ] }, "children": [ @@ -45461,7 +45461,7 @@ "constant": false, "mutability": "mutable", "name": "size", - "scope": 1153, + "scope": 645, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45473,49 +45473,49 @@ "name": "uint256", "type": "uint256" }, - "id": 1145, + "id": 637, "name": "ElementaryTypeName", - "src": "18903:7:1" + "src": "19457:7:0" } ], - "id": 1146, + "id": 638, "name": "VariableDeclaration", - "src": "18903:12:1" + "src": "19457:12:0" } ], - "id": 1147, + "id": 639, "name": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "attributes": { "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], "operations": "{ size := extcodesize(account) }" }, "children": [], - "id": 1148, + "id": 640, "name": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "attributes": { - "functionReturnParameters": 1144 + "functionReturnParameters": 636 }, "children": [ { @@ -45537,13 +45537,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1146, + "referencedDeclaration": 638, "type": "uint256", "value": "size" }, - "id": 1149, + "id": 641, "name": "Identifier", - "src": "19038:4:1" + "src": "19595:4:0" }, { "attributes": { @@ -45556,29 +45556,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1150, + "id": 642, "name": "Literal", - "src": "19045:1:1" + "src": "19602:1:0" } ], - "id": 1151, + "id": 643, "name": "BinaryOperation", - "src": "19038:8:1" + "src": "19595:8:0" } ], - "id": 1152, + "id": 644, "name": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ], - "id": 1153, + "id": 645, "name": "Block", - "src": "18706:347:1" + "src": "19255:356:0" } ], - "id": 1154, + "id": 646, "name": "FunctionDefinition", - "src": "18640:413:1" + "src": "19189:422:0" }, { "attributes": { @@ -45589,7 +45589,7 @@ null ], "name": "sendValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -45599,9 +45599,9 @@ "attributes": { "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1155, + "id": 647, "name": "StructuredDocumentation", - "src": "19059:906:1" + "src": "19619:921:0" }, { "children": [ @@ -45610,7 +45610,7 @@ "constant": false, "mutability": "mutable", "name": "recipient", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -45623,21 +45623,21 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 1156, + "id": 648, "name": "ElementaryTypeName", - "src": "19989:15:1" + "src": "20565:15:0" } ], - "id": 1157, + "id": 649, "name": "VariableDeclaration", - "src": "19989:25:1" + "src": "20565:25:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "amount", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45649,19 +45649,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1158, + "id": 650, "name": "ElementaryTypeName", - "src": "20016:7:1" + "src": "20592:7:0" } ], - "id": 1159, + "id": 651, "name": "VariableDeclaration", - "src": "20016:14:1" + "src": "20592:14:0" } ], - "id": 1160, + "id": 652, "name": "ParameterList", - "src": "19988:43:1" + "src": "20564:43:0" }, { "attributes": { @@ -45670,9 +45670,9 @@ ] }, "children": [], - "id": 1161, + "id": 653, "name": "ParameterList", - "src": "20041:0:1" + "src": "20617:0:0" }, { "children": [ @@ -45713,9 +45713,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1162, + "id": 654, "name": "Identifier", - "src": "20051:7:1" + "src": "20628:7:0" }, { "attributes": { @@ -45760,7 +45760,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -45775,14 +45775,14 @@ "attributes": { "name": "address" }, - "id": 1163, + "id": 655, "name": "ElementaryTypeName", - "src": "20059:7:1" + "src": "20636:7:0" } ], - "id": 1164, + "id": 656, "name": "ElementaryTypeNameExpression", - "src": "20059:7:1" + "src": "20636:7:0" }, { "attributes": { @@ -45793,37 +45793,37 @@ "type": "library Address", "value": "this" }, - "id": 1165, + "id": 657, "name": "Identifier", - "src": "20067:4:1" + "src": "20644:4:0" } ], - "id": 1166, + "id": 658, "name": "FunctionCall", - "src": "20059:13:1" + "src": "20636:13:0" } ], - "id": 1167, + "id": 659, "name": "MemberAccess", - "src": "20059:21:1" + "src": "20636:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1168, + "id": 660, "name": "Identifier", - "src": "20084:6:1" + "src": "20661:6:0" } ], - "id": 1169, + "id": 661, "name": "BinaryOperation", - "src": "20059:31:1" + "src": "20636:31:0" }, { "attributes": { @@ -45836,24 +45836,24 @@ "type": "literal_string \"Address: insufficient balance\"", "value": "Address: insufficient balance" }, - "id": 1170, + "id": 662, "name": "Literal", - "src": "20092:31:1" + "src": "20669:31:0" } ], - "id": 1171, + "id": 663, "name": "FunctionCall", - "src": "20051:73:1" + "src": "20628:73:0" } ], - "id": 1172, + "id": 664, "name": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "attributes": { "assignments": [ - 1174, + 666, null ] }, @@ -45863,7 +45863,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1187, + "scope": 679, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45875,14 +45875,14 @@ "name": "bool", "type": "bool" }, - "id": 1173, + "id": 665, "name": "ElementaryTypeName", - "src": "20213:4:1" + "src": "20793:4:0" } ], - "id": 1174, + "id": 666, "name": "VariableDeclaration", - "src": "20213:12:1" + "src": "20793:12:0" }, { "attributes": { @@ -45938,36 +45938,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1157, + "referencedDeclaration": 649, "type": "address payable", "value": "recipient" }, - "id": 1175, + "id": 667, "name": "Identifier", - "src": "20231:9:1" + "src": "20811:9:0" } ], - "id": 1176, + "id": 668, "name": "MemberAccess", - "src": "20231:14:1" + "src": "20811:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1177, + "id": 669, "name": "Identifier", - "src": "20254:6:1" + "src": "20834:6:0" } ], - "id": 1178, + "id": 670, "name": "FunctionCallOptions", - "src": "20231:31:1" + "src": "20811:31:0" }, { "attributes": { @@ -45980,19 +45980,19 @@ "type": "literal_string \"\"", "value": "" }, - "id": 1179, + "id": 671, "name": "Literal", - "src": "20263:2:1" + "src": "20843:2:0" } ], - "id": 1180, + "id": 672, "name": "FunctionCall", - "src": "20231:35:1" + "src": "20811:35:0" } ], - "id": 1181, + "id": 673, "name": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "children": [ @@ -46031,22 +46031,22 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1182, + "id": 674, "name": "Identifier", - "src": "20276:7:1" + "src": "20857:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 666, "type": "bool", "value": "success" }, - "id": 1183, + "id": 675, "name": "Identifier", - "src": "20284:7:1" + "src": "20865:7:0" }, { "attributes": { @@ -46059,29 +46059,29 @@ "type": "literal_string \"Address: unable to send value, recipient may have reverted\"", "value": "Address: unable to send value, recipient may have reverted" }, - "id": 1184, + "id": 676, "name": "Literal", - "src": "20293:60:1" + "src": "20874:60:0" } ], - "id": 1185, + "id": 677, "name": "FunctionCall", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1186, + "id": 678, "name": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1187, + "id": 679, "name": "Block", - "src": "20041:320:1" + "src": "20617:326:0" } ], - "id": 1188, + "id": 680, "name": "FunctionDefinition", - "src": "19970:391:1" + "src": "20546:397:0" }, { "attributes": { @@ -46092,7 +46092,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46102,9 +46102,9 @@ "attributes": { "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1189, + "id": 681, "name": "StructuredDocumentation", - "src": "20367:730:1" + "src": "20951:747:0" }, { "children": [ @@ -46113,7 +46113,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46126,21 +46126,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1190, + "id": 682, "name": "ElementaryTypeName", - "src": "21124:7:1" + "src": "21726:7:0" } ], - "id": 1191, + "id": 683, "name": "VariableDeclaration", - "src": "21124:14:1" + "src": "21726:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46152,19 +46152,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1192, + "id": 684, "name": "ElementaryTypeName", - "src": "21140:5:1" + "src": "21742:5:0" } ], - "id": 1193, + "id": 685, "name": "VariableDeclaration", - "src": "21140:17:1" + "src": "21742:17:0" } ], - "id": 1194, + "id": 686, "name": "ParameterList", - "src": "21123:35:1" + "src": "21725:35:0" }, { "children": [ @@ -46173,7 +46173,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46185,25 +46185,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1195, + "id": 687, "name": "ElementaryTypeName", - "src": "21177:5:1" + "src": "21779:5:0" } ], - "id": 1196, + "id": 688, "name": "VariableDeclaration", - "src": "21177:12:1" + "src": "21779:12:0" } ], - "id": 1197, + "id": 689, "name": "ParameterList", - "src": "21176:14:1" + "src": "21778:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1197 + "functionReturnParameters": 689 }, "children": [ { @@ -46238,42 +46238,42 @@ } ], "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionCall" }, - "id": 1198, + "id": 690, "name": "Identifier", - "src": "21206:12:1" + "src": "21809:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1191, + "referencedDeclaration": 683, "type": "address", "value": "target" }, - "id": 1199, + "id": 691, "name": "Identifier", - "src": "21219:6:1" + "src": "21822:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1193, + "referencedDeclaration": 685, "type": "bytes memory", "value": "data" }, - "id": 1200, + "id": 692, "name": "Identifier", - "src": "21227:4:1" + "src": "21830:4:0" }, { "attributes": { @@ -46286,29 +46286,29 @@ "type": "literal_string \"Address: low-level call failed\"", "value": "Address: low-level call failed" }, - "id": 1201, + "id": 693, "name": "Literal", - "src": "21233:32:1" + "src": "21836:32:0" } ], - "id": 1202, + "id": 694, "name": "FunctionCall", - "src": "21206:60:1" + "src": "21809:60:0" } ], - "id": 1203, + "id": 695, "name": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ], - "id": 1204, + "id": 696, "name": "Block", - "src": "21191:82:1" + "src": "21793:84:0" } ], - "id": 1205, + "id": 697, "name": "FunctionDefinition", - "src": "21102:171:1" + "src": "21704:173:0" }, { "attributes": { @@ -46319,7 +46319,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46329,9 +46329,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1206, + "id": 698, "name": "StructuredDocumentation", - "src": "21279:211:1" + "src": "21885:216:0" }, { "children": [ @@ -46340,7 +46340,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46353,21 +46353,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1207, + "id": 699, "name": "ElementaryTypeName", - "src": "21517:7:1" + "src": "22129:7:0" } ], - "id": 1208, + "id": 700, "name": "VariableDeclaration", - "src": "21517:14:1" + "src": "22129:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46379,21 +46379,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1209, + "id": 701, "name": "ElementaryTypeName", - "src": "21533:5:1" + "src": "22145:5:0" } ], - "id": 1210, + "id": 702, "name": "VariableDeclaration", - "src": "21533:17:1" + "src": "22145:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -46405,19 +46405,19 @@ "name": "string", "type": "string" }, - "id": 1211, + "id": 703, "name": "ElementaryTypeName", - "src": "21552:6:1" + "src": "22164:6:0" } ], - "id": 1212, + "id": 704, "name": "VariableDeclaration", - "src": "21552:26:1" + "src": "22164:26:0" } ], - "id": 1213, + "id": 705, "name": "ParameterList", - "src": "21516:63:1" + "src": "22128:63:0" }, { "children": [ @@ -46426,7 +46426,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46438,25 +46438,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1214, + "id": 706, "name": "ElementaryTypeName", - "src": "21598:5:1" + "src": "22210:5:0" } ], - "id": 1215, + "id": 707, "name": "VariableDeclaration", - "src": "21598:12:1" + "src": "22210:12:0" } ], - "id": 1216, + "id": 708, "name": "ParameterList", - "src": "21597:14:1" + "src": "22209:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1216 + "functionReturnParameters": 708 }, "children": [ { @@ -46495,42 +46495,42 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1217, + "id": 709, "name": "Identifier", - "src": "21629:21:1" + "src": "22242:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1208, + "referencedDeclaration": 700, "type": "address", "value": "target" }, - "id": 1218, + "id": 710, "name": "Identifier", - "src": "21651:6:1" + "src": "22264:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1210, + "referencedDeclaration": 702, "type": "bytes memory", "value": "data" }, - "id": 1219, + "id": 711, "name": "Identifier", - "src": "21659:4:1" + "src": "22272:4:0" }, { "attributes": { @@ -46543,42 +46543,42 @@ "type": "int_const 0", "value": "0" }, - "id": 1220, + "id": 712, "name": "Literal", - "src": "21665:1:1" + "src": "22278:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1212, + "referencedDeclaration": 704, "type": "string memory", "value": "errorMessage" }, - "id": 1221, + "id": 713, "name": "Identifier", - "src": "21668:12:1" + "src": "22281:12:0" } ], - "id": 1222, + "id": 714, "name": "FunctionCall", - "src": "21629:52:1" + "src": "22242:52:0" } ], - "id": 1223, + "id": 715, "name": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ], - "id": 1224, + "id": 716, "name": "Block", - "src": "21612:76:1" + "src": "22224:78:0" } ], - "id": 1225, + "id": 717, "name": "FunctionDefinition", - "src": "21495:193:1" + "src": "22107:195:0" }, { "attributes": { @@ -46589,7 +46589,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46599,9 +46599,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1226, + "id": 718, "name": "StructuredDocumentation", - "src": "21694:351:1" + "src": "22310:361:0" }, { "children": [ @@ -46610,7 +46610,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46623,21 +46623,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1227, + "id": 719, "name": "ElementaryTypeName", - "src": "22081:7:1" + "src": "22708:7:0" } ], - "id": 1228, + "id": 720, "name": "VariableDeclaration", - "src": "22081:14:1" + "src": "22708:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46649,21 +46649,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1229, + "id": 721, "name": "ElementaryTypeName", - "src": "22097:5:1" + "src": "22724:5:0" } ], - "id": 1230, + "id": 722, "name": "VariableDeclaration", - "src": "22097:17:1" + "src": "22724:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -46675,19 +46675,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1231, + "id": 723, "name": "ElementaryTypeName", - "src": "22116:7:1" + "src": "22743:7:0" } ], - "id": 1232, + "id": 724, "name": "VariableDeclaration", - "src": "22116:13:1" + "src": "22743:13:0" } ], - "id": 1233, + "id": 725, "name": "ParameterList", - "src": "22080:50:1" + "src": "22707:50:0" }, { "children": [ @@ -46696,7 +46696,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46708,25 +46708,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1234, + "id": 726, "name": "ElementaryTypeName", - "src": "22149:5:1" + "src": "22776:5:0" } ], - "id": 1235, + "id": 727, "name": "VariableDeclaration", - "src": "22149:12:1" + "src": "22776:12:0" } ], - "id": 1236, + "id": 728, "name": "ParameterList", - "src": "22148:14:1" + "src": "22775:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1236 + "functionReturnParameters": 728 }, "children": [ { @@ -46765,55 +46765,55 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1237, + "id": 729, "name": "Identifier", - "src": "22180:21:1" + "src": "22808:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 720, "type": "address", "value": "target" }, - "id": 1238, + "id": 730, "name": "Identifier", - "src": "22202:6:1" + "src": "22830:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 722, "type": "bytes memory", "value": "data" }, - "id": 1239, + "id": 731, "name": "Identifier", - "src": "22210:4:1" + "src": "22838:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1232, + "referencedDeclaration": 724, "type": "uint256", "value": "value" }, - "id": 1240, + "id": 732, "name": "Identifier", - "src": "22216:5:1" + "src": "22844:5:0" }, { "attributes": { @@ -46826,29 +46826,29 @@ "type": "literal_string \"Address: low-level call with value failed\"", "value": "Address: low-level call with value failed" }, - "id": 1241, + "id": 733, "name": "Literal", - "src": "22223:43:1" + "src": "22851:43:0" } ], - "id": 1242, + "id": 734, "name": "FunctionCall", - "src": "22180:87:1" + "src": "22808:87:0" } ], - "id": 1243, + "id": 735, "name": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ], - "id": 1244, + "id": 736, "name": "Block", - "src": "22163:111:1" + "src": "22790:113:0" } ], - "id": 1245, + "id": 737, "name": "FunctionDefinition", - "src": "22050:224:1" + "src": "22677:226:0" }, { "attributes": { @@ -46859,7 +46859,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46869,9 +46869,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1246, + "id": 738, "name": "StructuredDocumentation", - "src": "22280:237:1" + "src": "22911:242:0" }, { "children": [ @@ -46880,7 +46880,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46893,21 +46893,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1247, + "id": 739, "name": "ElementaryTypeName", - "src": "22553:7:1" + "src": "23190:7:0" } ], - "id": 1248, + "id": 740, "name": "VariableDeclaration", - "src": "22553:14:1" + "src": "23190:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46919,21 +46919,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1249, + "id": 741, "name": "ElementaryTypeName", - "src": "22569:5:1" + "src": "23206:5:0" } ], - "id": 1250, + "id": 742, "name": "VariableDeclaration", - "src": "22569:17:1" + "src": "23206:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -46945,21 +46945,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1251, + "id": 743, "name": "ElementaryTypeName", - "src": "22588:7:1" + "src": "23225:7:0" } ], - "id": 1252, + "id": 744, "name": "VariableDeclaration", - "src": "22588:13:1" + "src": "23225:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -46971,19 +46971,19 @@ "name": "string", "type": "string" }, - "id": 1253, + "id": 745, "name": "ElementaryTypeName", - "src": "22603:6:1" + "src": "23240:6:0" } ], - "id": 1254, + "id": 746, "name": "VariableDeclaration", - "src": "22603:26:1" + "src": "23240:26:0" } ], - "id": 1255, + "id": 747, "name": "ParameterList", - "src": "22552:78:1" + "src": "23189:78:0" }, { "children": [ @@ -46992,7 +46992,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47004,19 +47004,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1256, + "id": 748, "name": "ElementaryTypeName", - "src": "22649:5:1" + "src": "23286:5:0" } ], - "id": 1257, + "id": 749, "name": "VariableDeclaration", - "src": "22649:12:1" + "src": "23286:12:0" } ], - "id": 1258, + "id": 750, "name": "ParameterList", - "src": "22648:14:1" + "src": "23285:14:0" }, { "children": [ @@ -47057,9 +47057,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1259, + "id": 751, "name": "Identifier", - "src": "22673:7:1" + "src": "23311:7:0" }, { "attributes": { @@ -47104,7 +47104,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -47119,14 +47119,14 @@ "attributes": { "name": "address" }, - "id": 1260, + "id": 752, "name": "ElementaryTypeName", - "src": "22681:7:1" + "src": "23319:7:0" } ], - "id": 1261, + "id": 753, "name": "ElementaryTypeNameExpression", - "src": "22681:7:1" + "src": "23319:7:0" }, { "attributes": { @@ -47137,37 +47137,37 @@ "type": "library Address", "value": "this" }, - "id": 1262, + "id": 754, "name": "Identifier", - "src": "22689:4:1" + "src": "23327:4:0" } ], - "id": 1263, + "id": 755, "name": "FunctionCall", - "src": "22681:13:1" + "src": "23319:13:0" } ], - "id": 1264, + "id": 756, "name": "MemberAccess", - "src": "22681:21:1" + "src": "23319:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1265, + "id": 757, "name": "Identifier", - "src": "22706:5:1" + "src": "23344:5:0" } ], - "id": 1266, + "id": 758, "name": "BinaryOperation", - "src": "22681:30:1" + "src": "23319:30:0" }, { "attributes": { @@ -47180,19 +47180,19 @@ "type": "literal_string \"Address: insufficient balance for call\"", "value": "Address: insufficient balance for call" }, - "id": 1267, + "id": 759, "name": "Literal", - "src": "22713:40:1" + "src": "23351:40:0" } ], - "id": 1268, + "id": 760, "name": "FunctionCall", - "src": "22673:81:1" + "src": "23311:81:0" } ], - "id": 1269, + "id": 761, "name": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "children": [ @@ -47231,9 +47231,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1270, + "id": 762, "name": "Identifier", - "src": "22764:7:1" + "src": "23403:7:0" }, { "attributes": { @@ -47261,31 +47261,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1271, + "id": 763, "name": "Identifier", - "src": "22772:10:1" + "src": "23411:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1272, + "id": 764, "name": "Identifier", - "src": "22783:6:1" + "src": "23422:6:0" } ], - "id": 1273, + "id": 765, "name": "FunctionCall", - "src": "22772:18:1" + "src": "23411:18:0" }, { "attributes": { @@ -47298,25 +47298,25 @@ "type": "literal_string \"Address: call to non-contract\"", "value": "Address: call to non-contract" }, - "id": 1274, + "id": 766, "name": "Literal", - "src": "22792:31:1" + "src": "23431:31:0" } ], - "id": 1275, + "id": 767, "name": "FunctionCall", - "src": "22764:60:1" + "src": "23403:60:0" } ], - "id": 1276, + "id": 768, "name": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "attributes": { "assignments": [ - 1278, - 1280 + 770, + 772 ] }, "children": [ @@ -47325,7 +47325,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -47337,21 +47337,21 @@ "name": "bool", "type": "bool" }, - "id": 1277, + "id": 769, "name": "ElementaryTypeName", - "src": "22895:4:1" + "src": "23537:4:0" } ], - "id": 1278, + "id": 770, "name": "VariableDeclaration", - "src": "22895:12:1" + "src": "23537:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47363,14 +47363,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1279, + "id": 771, "name": "ElementaryTypeName", - "src": "22909:5:1" + "src": "23551:5:0" } ], - "id": 1280, + "id": 772, "name": "VariableDeclaration", - "src": "22909:23:1" + "src": "23551:23:0" }, { "attributes": { @@ -47426,63 +47426,63 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1281, + "id": 773, "name": "Identifier", - "src": "22936:6:1" + "src": "23578:6:0" } ], - "id": 1282, + "id": 774, "name": "MemberAccess", - "src": "22936:11:1" + "src": "23578:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1283, + "id": 775, "name": "Identifier", - "src": "22956:5:1" + "src": "23598:5:0" } ], - "id": 1284, + "id": 776, "name": "FunctionCallOptions", - "src": "22936:27:1" + "src": "23578:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1250, + "referencedDeclaration": 742, "type": "bytes memory", "value": "data" }, - "id": 1285, + "id": 777, "name": "Identifier", - "src": "22964:4:1" + "src": "23606:4:0" } ], - "id": 1286, + "id": 778, "name": "FunctionCall", - "src": "22936:33:1" + "src": "23578:33:0" } ], - "id": 1287, + "id": 779, "name": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "attributes": { - "functionReturnParameters": 1258 + "functionReturnParameters": 750 }, "children": [ { @@ -47519,72 +47519,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1288, + "id": 780, "name": "Identifier", - "src": "22986:17:1" + "src": "23629:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1278, + "referencedDeclaration": 770, "type": "bool", "value": "success" }, - "id": 1289, + "id": 781, "name": "Identifier", - "src": "23004:7:1" + "src": "23647:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1280, + "referencedDeclaration": 772, "type": "bytes memory", "value": "returndata" }, - "id": 1290, + "id": 782, "name": "Identifier", - "src": "23013:10:1" + "src": "23656:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 746, "type": "string memory", "value": "errorMessage" }, - "id": 1291, + "id": 783, "name": "Identifier", - "src": "23025:12:1" + "src": "23668:12:0" } ], - "id": 1292, + "id": 784, "name": "FunctionCall", - "src": "22986:52:1" + "src": "23629:52:0" } ], - "id": 1293, + "id": 785, "name": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ], - "id": 1294, + "id": 786, "name": "Block", - "src": "22663:382:1" + "src": "23300:389:0" } ], - "id": 1295, + "id": 787, "name": "FunctionDefinition", - "src": "22522:523:1" + "src": "23159:530:0" }, { "attributes": { @@ -47595,7 +47595,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -47605,9 +47605,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1296, + "id": 788, "name": "StructuredDocumentation", - "src": "23051:166:1" + "src": "23697:171:0" }, { "children": [ @@ -47616,7 +47616,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47629,21 +47629,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1297, + "id": 789, "name": "ElementaryTypeName", - "src": "23250:7:1" + "src": "23902:7:0" } ], - "id": 1298, + "id": 790, "name": "VariableDeclaration", - "src": "23250:14:1" + "src": "23902:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47655,19 +47655,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1299, + "id": 791, "name": "ElementaryTypeName", - "src": "23266:5:1" + "src": "23918:5:0" } ], - "id": 1300, + "id": 792, "name": "VariableDeclaration", - "src": "23266:17:1" + "src": "23918:17:0" } ], - "id": 1301, + "id": 793, "name": "ParameterList", - "src": "23249:35:1" + "src": "23901:35:0" }, { "children": [ @@ -47676,7 +47676,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47688,25 +47688,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1302, + "id": 794, "name": "ElementaryTypeName", - "src": "23308:5:1" + "src": "23960:5:0" } ], - "id": 1303, + "id": 795, "name": "VariableDeclaration", - "src": "23308:12:1" + "src": "23960:12:0" } ], - "id": 1304, + "id": 796, "name": "ParameterList", - "src": "23307:14:1" + "src": "23959:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1304 + "functionReturnParameters": 796 }, "children": [ { @@ -47741,42 +47741,42 @@ } ], "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, + "referencedDeclaration": 839, "type": "function (address,bytes memory,string memory) view returns (bytes memory)", "value": "functionStaticCall" }, - "id": 1305, + "id": 797, "name": "Identifier", - "src": "23339:18:1" + "src": "23992:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1298, + "referencedDeclaration": 790, "type": "address", "value": "target" }, - "id": 1306, + "id": 798, "name": "Identifier", - "src": "23358:6:1" + "src": "24011:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1300, + "referencedDeclaration": 792, "type": "bytes memory", "value": "data" }, - "id": 1307, + "id": 799, "name": "Identifier", - "src": "23366:4:1" + "src": "24019:4:0" }, { "attributes": { @@ -47789,29 +47789,29 @@ "type": "literal_string \"Address: low-level static call failed\"", "value": "Address: low-level static call failed" }, - "id": 1308, + "id": 800, "name": "Literal", - "src": "23372:39:1" + "src": "24025:39:0" } ], - "id": 1309, + "id": 801, "name": "FunctionCall", - "src": "23339:73:1" + "src": "23992:73:0" } ], - "id": 1310, + "id": 802, "name": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ], - "id": 1311, + "id": 803, "name": "Block", - "src": "23322:97:1" + "src": "23974:99:0" } ], - "id": 1312, + "id": 804, "name": "FunctionDefinition", - "src": "23222:197:1" + "src": "23874:199:0" }, { "attributes": { @@ -47822,7 +47822,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -47832,9 +47832,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1313, + "id": 805, "name": "StructuredDocumentation", - "src": "23425:173:1" + "src": "24081:178:0" }, { "children": [ @@ -47843,7 +47843,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47856,21 +47856,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1314, + "id": 806, "name": "ElementaryTypeName", - "src": "23631:7:1" + "src": "24293:7:0" } ], - "id": 1315, + "id": 807, "name": "VariableDeclaration", - "src": "23631:14:1" + "src": "24293:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47882,21 +47882,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1316, + "id": 808, "name": "ElementaryTypeName", - "src": "23647:5:1" + "src": "24309:5:0" } ], - "id": 1317, + "id": 809, "name": "VariableDeclaration", - "src": "23647:17:1" + "src": "24309:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -47908,19 +47908,19 @@ "name": "string", "type": "string" }, - "id": 1318, + "id": 810, "name": "ElementaryTypeName", - "src": "23666:6:1" + "src": "24328:6:0" } ], - "id": 1319, + "id": 811, "name": "VariableDeclaration", - "src": "23666:26:1" + "src": "24328:26:0" } ], - "id": 1320, + "id": 812, "name": "ParameterList", - "src": "23630:63:1" + "src": "24292:63:0" }, { "children": [ @@ -47929,7 +47929,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47941,19 +47941,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1321, + "id": 813, "name": "ElementaryTypeName", - "src": "23717:5:1" + "src": "24379:5:0" } ], - "id": 1322, + "id": 814, "name": "VariableDeclaration", - "src": "23717:12:1" + "src": "24379:12:0" } ], - "id": 1323, + "id": 815, "name": "ParameterList", - "src": "23716:14:1" + "src": "24378:14:0" }, { "children": [ @@ -47994,9 +47994,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1324, + "id": 816, "name": "Identifier", - "src": "23741:7:1" + "src": "24404:7:0" }, { "attributes": { @@ -48024,31 +48024,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1325, + "id": 817, "name": "Identifier", - "src": "23749:10:1" + "src": "24412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1326, + "id": 818, "name": "Identifier", - "src": "23760:6:1" + "src": "24423:6:0" } ], - "id": 1327, + "id": 819, "name": "FunctionCall", - "src": "23749:18:1" + "src": "24412:18:0" }, { "attributes": { @@ -48061,25 +48061,25 @@ "type": "literal_string \"Address: static call to non-contract\"", "value": "Address: static call to non-contract" }, - "id": 1328, + "id": 820, "name": "Literal", - "src": "23769:38:1" + "src": "24432:38:0" } ], - "id": 1329, + "id": 821, "name": "FunctionCall", - "src": "23741:67:1" + "src": "24404:67:0" } ], - "id": 1330, + "id": 822, "name": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "attributes": { "assignments": [ - 1332, - 1334 + 824, + 826 ] }, "children": [ @@ -48088,7 +48088,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48100,21 +48100,21 @@ "name": "bool", "type": "bool" }, - "id": 1331, + "id": 823, "name": "ElementaryTypeName", - "src": "23879:4:1" + "src": "24545:4:0" } ], - "id": 1332, + "id": 824, "name": "VariableDeclaration", - "src": "23879:12:1" + "src": "24545:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48126,14 +48126,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1333, + "id": 825, "name": "ElementaryTypeName", - "src": "23893:5:1" + "src": "24559:5:0" } ], - "id": 1334, + "id": 826, "name": "VariableDeclaration", - "src": "23893:23:1" + "src": "24559:23:0" }, { "attributes": { @@ -48171,45 +48171,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1335, + "id": 827, "name": "Identifier", - "src": "23920:6:1" + "src": "24586:6:0" } ], - "id": 1336, + "id": 828, "name": "MemberAccess", - "src": "23920:17:1" + "src": "24586:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1317, + "referencedDeclaration": 809, "type": "bytes memory", "value": "data" }, - "id": 1337, + "id": 829, "name": "Identifier", - "src": "23938:4:1" + "src": "24604:4:0" } ], - "id": 1338, + "id": 830, "name": "FunctionCall", - "src": "23920:23:1" + "src": "24586:23:0" } ], - "id": 1339, + "id": 831, "name": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "attributes": { - "functionReturnParameters": 1323 + "functionReturnParameters": 815 }, "children": [ { @@ -48246,72 +48246,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1340, + "id": 832, "name": "Identifier", - "src": "23960:17:1" + "src": "24627:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1332, + "referencedDeclaration": 824, "type": "bool", "value": "success" }, - "id": 1341, + "id": 833, "name": "Identifier", - "src": "23978:7:1" + "src": "24645:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1334, + "referencedDeclaration": 826, "type": "bytes memory", "value": "returndata" }, - "id": 1342, + "id": 834, "name": "Identifier", - "src": "23987:10:1" + "src": "24654:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 811, "type": "string memory", "value": "errorMessage" }, - "id": 1343, + "id": 835, "name": "Identifier", - "src": "23999:12:1" + "src": "24666:12:0" } ], - "id": 1344, + "id": 836, "name": "FunctionCall", - "src": "23960:52:1" + "src": "24627:52:0" } ], - "id": 1345, + "id": 837, "name": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ], - "id": 1346, + "id": 838, "name": "Block", - "src": "23731:288:1" + "src": "24393:294:0" } ], - "id": 1347, + "id": 839, "name": "FunctionDefinition", - "src": "23603:416:1" + "src": "24265:422:0" }, { "attributes": { @@ -48322,7 +48322,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48332,9 +48332,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1348, + "id": 840, "name": "StructuredDocumentation", - "src": "24025:168:1" + "src": "24695:173:0" }, { "children": [ @@ -48343,7 +48343,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48356,21 +48356,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1349, + "id": 841, "name": "ElementaryTypeName", - "src": "24228:7:1" + "src": "24904:7:0" } ], - "id": 1350, + "id": 842, "name": "VariableDeclaration", - "src": "24228:14:1" + "src": "24904:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48382,19 +48382,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1351, + "id": 843, "name": "ElementaryTypeName", - "src": "24244:5:1" + "src": "24920:5:0" } ], - "id": 1352, + "id": 844, "name": "VariableDeclaration", - "src": "24244:17:1" + "src": "24920:17:0" } ], - "id": 1353, + "id": 845, "name": "ParameterList", - "src": "24227:35:1" + "src": "24903:35:0" }, { "children": [ @@ -48403,7 +48403,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48415,25 +48415,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1354, + "id": 846, "name": "ElementaryTypeName", - "src": "24281:5:1" + "src": "24957:5:0" } ], - "id": 1355, + "id": 847, "name": "VariableDeclaration", - "src": "24281:12:1" + "src": "24957:12:0" } ], - "id": 1356, + "id": 848, "name": "ParameterList", - "src": "24280:14:1" + "src": "24956:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1356 + "functionReturnParameters": 848 }, "children": [ { @@ -48468,42 +48468,42 @@ } ], "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, + "referencedDeclaration": 891, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionDelegateCall" }, - "id": 1357, + "id": 849, "name": "Identifier", - "src": "24312:20:1" + "src": "24989:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1350, + "referencedDeclaration": 842, "type": "address", "value": "target" }, - "id": 1358, + "id": 850, "name": "Identifier", - "src": "24333:6:1" + "src": "25010:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1352, + "referencedDeclaration": 844, "type": "bytes memory", "value": "data" }, - "id": 1359, + "id": 851, "name": "Identifier", - "src": "24341:4:1" + "src": "25018:4:0" }, { "attributes": { @@ -48516,29 +48516,29 @@ "type": "literal_string \"Address: low-level delegate call failed\"", "value": "Address: low-level delegate call failed" }, - "id": 1360, + "id": 852, "name": "Literal", - "src": "24347:41:1" + "src": "25024:41:0" } ], - "id": 1361, + "id": 853, "name": "FunctionCall", - "src": "24312:77:1" + "src": "24989:77:0" } ], - "id": 1362, + "id": 854, "name": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ], - "id": 1363, + "id": 855, "name": "Block", - "src": "24295:101:1" + "src": "24971:103:0" } ], - "id": 1364, + "id": 856, "name": "FunctionDefinition", - "src": "24198:198:1" + "src": "24874:200:0" }, { "attributes": { @@ -48549,7 +48549,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48559,9 +48559,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1365, + "id": 857, "name": "StructuredDocumentation", - "src": "24402:175:1" + "src": "25082:180:0" }, { "children": [ @@ -48570,7 +48570,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48583,21 +48583,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1366, + "id": 858, "name": "ElementaryTypeName", - "src": "24612:7:1" + "src": "25298:7:0" } ], - "id": 1367, + "id": 859, "name": "VariableDeclaration", - "src": "24612:14:1" + "src": "25298:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48609,21 +48609,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1368, + "id": 860, "name": "ElementaryTypeName", - "src": "24628:5:1" + "src": "25314:5:0" } ], - "id": 1369, + "id": 861, "name": "VariableDeclaration", - "src": "24628:17:1" + "src": "25314:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -48635,19 +48635,19 @@ "name": "string", "type": "string" }, - "id": 1370, + "id": 862, "name": "ElementaryTypeName", - "src": "24647:6:1" + "src": "25333:6:0" } ], - "id": 1371, + "id": 863, "name": "VariableDeclaration", - "src": "24647:26:1" + "src": "25333:26:0" } ], - "id": 1372, + "id": 864, "name": "ParameterList", - "src": "24611:63:1" + "src": "25297:63:0" }, { "children": [ @@ -48656,7 +48656,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48668,19 +48668,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1373, + "id": 865, "name": "ElementaryTypeName", - "src": "24693:5:1" + "src": "25379:5:0" } ], - "id": 1374, + "id": 866, "name": "VariableDeclaration", - "src": "24693:12:1" + "src": "25379:12:0" } ], - "id": 1375, + "id": 867, "name": "ParameterList", - "src": "24692:14:1" + "src": "25378:14:0" }, { "children": [ @@ -48721,9 +48721,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1376, + "id": 868, "name": "Identifier", - "src": "24717:7:1" + "src": "25404:7:0" }, { "attributes": { @@ -48751,31 +48751,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1377, + "id": 869, "name": "Identifier", - "src": "24725:10:1" + "src": "25412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1378, + "id": 870, "name": "Identifier", - "src": "24736:6:1" + "src": "25423:6:0" } ], - "id": 1379, + "id": 871, "name": "FunctionCall", - "src": "24725:18:1" + "src": "25412:18:0" }, { "attributes": { @@ -48788,25 +48788,25 @@ "type": "literal_string \"Address: delegate call to non-contract\"", "value": "Address: delegate call to non-contract" }, - "id": 1380, + "id": 872, "name": "Literal", - "src": "24745:40:1" + "src": "25432:40:0" } ], - "id": 1381, + "id": 873, "name": "FunctionCall", - "src": "24717:69:1" + "src": "25404:69:0" } ], - "id": 1382, + "id": 874, "name": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "attributes": { "assignments": [ - 1384, - 1386 + 876, + 878 ] }, "children": [ @@ -48815,7 +48815,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48827,21 +48827,21 @@ "name": "bool", "type": "bool" }, - "id": 1383, + "id": 875, "name": "ElementaryTypeName", - "src": "24857:4:1" + "src": "25547:4:0" } ], - "id": 1384, + "id": 876, "name": "VariableDeclaration", - "src": "24857:12:1" + "src": "25547:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48853,14 +48853,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1385, + "id": 877, "name": "ElementaryTypeName", - "src": "24871:5:1" + "src": "25561:5:0" } ], - "id": 1386, + "id": 878, "name": "VariableDeclaration", - "src": "24871:23:1" + "src": "25561:23:0" }, { "attributes": { @@ -48898,45 +48898,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1387, + "id": 879, "name": "Identifier", - "src": "24898:6:1" + "src": "25588:6:0" } ], - "id": 1388, + "id": 880, "name": "MemberAccess", - "src": "24898:19:1" + "src": "25588:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1369, + "referencedDeclaration": 861, "type": "bytes memory", "value": "data" }, - "id": 1389, + "id": 881, "name": "Identifier", - "src": "24918:4:1" + "src": "25608:4:0" } ], - "id": 1390, + "id": 882, "name": "FunctionCall", - "src": "24898:25:1" + "src": "25588:25:0" } ], - "id": 1391, + "id": 883, "name": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "attributes": { - "functionReturnParameters": 1375 + "functionReturnParameters": 867 }, "children": [ { @@ -48973,72 +48973,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1392, + "id": 884, "name": "Identifier", - "src": "24940:17:1" + "src": "25631:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1384, + "referencedDeclaration": 876, "type": "bool", "value": "success" }, - "id": 1393, + "id": 885, "name": "Identifier", - "src": "24958:7:1" + "src": "25649:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1386, + "referencedDeclaration": 878, "type": "bytes memory", "value": "returndata" }, - "id": 1394, + "id": 886, "name": "Identifier", - "src": "24967:10:1" + "src": "25658:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1371, + "referencedDeclaration": 863, "type": "string memory", "value": "errorMessage" }, - "id": 1395, + "id": 887, "name": "Identifier", - "src": "24979:12:1" + "src": "25670:12:0" } ], - "id": 1396, + "id": 888, "name": "FunctionCall", - "src": "24940:52:1" + "src": "25631:52:0" } ], - "id": 1397, + "id": 889, "name": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ], - "id": 1398, + "id": 890, "name": "Block", - "src": "24707:292:1" + "src": "25393:298:0" } ], - "id": 1399, + "id": 891, "name": "FunctionDefinition", - "src": "24582:417:1" + "src": "25268:423:0" }, { "attributes": { @@ -49049,7 +49049,7 @@ null ], "name": "_verifyCallResult", - "scope": 1430, + "scope": 922, "stateMutability": "pure", "virtual": false, "visibility": "private" @@ -49062,7 +49062,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49074,21 +49074,21 @@ "name": "bool", "type": "bool" }, - "id": 1400, + "id": 892, "name": "ElementaryTypeName", - "src": "25032:4:1" + "src": "25726:4:0" } ], - "id": 1401, + "id": 893, "name": "VariableDeclaration", - "src": "25032:12:1" + "src": "25726:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49100,21 +49100,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1402, + "id": 894, "name": "ElementaryTypeName", - "src": "25046:5:1" + "src": "25740:5:0" } ], - "id": 1403, + "id": 895, "name": "VariableDeclaration", - "src": "25046:23:1" + "src": "25740:23:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -49126,19 +49126,19 @@ "name": "string", "type": "string" }, - "id": 1404, + "id": 896, "name": "ElementaryTypeName", - "src": "25071:6:1" + "src": "25765:6:0" } ], - "id": 1405, + "id": 897, "name": "VariableDeclaration", - "src": "25071:26:1" + "src": "25765:26:0" } ], - "id": 1406, + "id": 898, "name": "ParameterList", - "src": "25031:67:1" + "src": "25725:67:0" }, { "children": [ @@ -49147,7 +49147,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49159,19 +49159,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1407, + "id": 899, "name": "ElementaryTypeName", - "src": "25120:5:1" + "src": "25814:5:0" } ], - "id": 1408, + "id": 900, "name": "VariableDeclaration", - "src": "25120:12:1" + "src": "25814:12:0" } ], - "id": 1409, + "id": 901, "name": "ParameterList", - "src": "25119:14:1" + "src": "25813:14:0" }, { "children": [ @@ -49182,19 +49182,19 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1401, + "referencedDeclaration": 893, "type": "bool", "value": "success" }, - "id": 1410, + "id": 902, "name": "Identifier", - "src": "25148:7:1" + "src": "25843:7:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1409 + "functionReturnParameters": 901 }, "children": [ { @@ -49202,23 +49202,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1411, + "id": 903, "name": "Identifier", - "src": "25178:10:1" + "src": "25874:10:0" } ], - "id": 1412, + "id": 904, "name": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ], - "id": 1413, + "id": 905, "name": "Block", - "src": "25157:42:1" + "src": "25852:44:0" }, { "children": [ @@ -49253,18 +49253,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1414, + "id": 906, "name": "Identifier", - "src": "25289:10:1" + "src": "25988:10:0" } ], - "id": 1415, + "id": 907, "name": "MemberAccess", - "src": "25289:17:1" + "src": "25988:17:0" }, { "attributes": { @@ -49277,14 +49277,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1416, + "id": 908, "name": "Literal", - "src": "25309:1:1" + "src": "26008:1:0" } ], - "id": 1417, + "id": 909, "name": "BinaryOperation", - "src": "25289:21:1" + "src": "25988:21:0" }, { "children": [ @@ -49293,31 +49293,31 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], "operations": "{\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n}" }, "children": [], - "id": 1418, + "id": 910, "name": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ], - "id": 1419, + "id": 911, "name": "Block", - "src": "25312:343:1" + "src": "26011:351:0" }, { "children": [ @@ -49354,67 +49354,67 @@ "type": "function (string memory) pure", "value": "revert" }, - "id": 1420, + "id": 912, "name": "Identifier", - "src": "25679:6:1" + "src": "26387:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1405, + "referencedDeclaration": 897, "type": "string memory", "value": "errorMessage" }, - "id": 1421, + "id": 913, "name": "Identifier", - "src": "25686:12:1" + "src": "26394:12:0" } ], - "id": 1422, + "id": 914, "name": "FunctionCall", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1423, + "id": 915, "name": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1424, + "id": 916, "name": "Block", - "src": "25661:53:1" + "src": "26368:55:0" } ], - "id": 1425, + "id": 917, "name": "IfStatement", - "src": "25285:429:1" + "src": "25984:439:0" } ], - "id": 1426, + "id": 918, "name": "Block", - "src": "25205:519:1" + "src": "25902:532:0" } ], - "id": 1427, + "id": 919, "name": "IfStatement", - "src": "25144:580:1" + "src": "25839:595:0" } ], - "id": 1428, + "id": 920, "name": "Block", - "src": "25134:596:1" + "src": "25828:613:0" } ], - "id": 1429, + "id": 921, "name": "FunctionDefinition", - "src": "25005:725:1" + "src": "25699:742:0" } ], - "id": 1430, + "id": 922, "name": "ContractDefinition", - "src": "18048:7684:1" + "src": "18579:7865:0" }, { "attributes": { @@ -49428,9 +49428,9 @@ ".0" ] }, - "id": 1431, + "id": 923, "name": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "attributes": { @@ -49444,25 +49444,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, - "id": 1432, + "id": 924, "name": "StructuredDocumentation", - "src": "25824:686:1" + "src": "26541:709:0" }, { "attributes": { "canonicalName": "EnumerableSet.Set", "name": "Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -49471,7 +49471,7 @@ "constant": false, "mutability": "mutable", "name": "_values", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "bytes32[]", @@ -49488,26 +49488,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1433, + "id": 925, "name": "ElementaryTypeName", - "src": "27033:7:1" + "src": "27786:7:0" } ], - "id": 1434, + "id": 926, "name": "ArrayTypeName", - "src": "27033:9:1" + "src": "27786:9:0" } ], - "id": 1435, + "id": 927, "name": "VariableDeclaration", - "src": "27033:17:1" + "src": "27786:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -49524,33 +49524,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1436, + "id": 928, "name": "ElementaryTypeName", - "src": "27193:7:1" + "src": "27950:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1437, + "id": 929, "name": "ElementaryTypeName", - "src": "27204:7:1" + "src": "27961:7:0" } ], - "id": 1438, + "id": 930, "name": "Mapping", - "src": "27184:28:1" + "src": "27941:28:0" } ], - "id": 1439, + "id": 931, "name": "VariableDeclaration", - "src": "27184:37:1" + "src": "27941:37:0" } ], - "id": 1440, + "id": 932, "name": "StructDefinition", - "src": "26979:249:1" + "src": "27730:256:0" }, { "attributes": { @@ -49561,7 +49561,7 @@ null ], "name": "_add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -49571,9 +49571,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1441, + "id": 933, "name": "StructuredDocumentation", - "src": "27234:159:1" + "src": "27994:164:0" }, { "children": [ @@ -49582,7 +49582,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -49592,24 +49592,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1442, + "id": 934, "name": "UserDefinedTypeName", - "src": "27412:3:1" + "src": "28178:3:0" } ], - "id": 1443, + "id": 935, "name": "VariableDeclaration", - "src": "27412:15:1" + "src": "28178:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -49621,19 +49621,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1444, + "id": 936, "name": "ElementaryTypeName", - "src": "27429:7:1" + "src": "28195:7:0" } ], - "id": 1445, + "id": 937, "name": "VariableDeclaration", - "src": "27429:13:1" + "src": "28195:13:0" } ], - "id": 1446, + "id": 938, "name": "ParameterList", - "src": "27411:32:1" + "src": "28177:32:0" }, { "children": [ @@ -49642,7 +49642,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49654,19 +49654,19 @@ "name": "bool", "type": "bool" }, - "id": 1447, + "id": 939, "name": "ElementaryTypeName", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1448, + "id": 940, "name": "VariableDeclaration", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1449, + "id": 941, "name": "ParameterList", - "src": "27460:6:1" + "src": "28226:6:0" }, { "children": [ @@ -49702,7 +49702,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -49713,49 +49713,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1450, + "id": 942, "name": "Identifier", - "src": "27482:9:1" + "src": "28249:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1451, + "id": 943, "name": "Identifier", - "src": "27492:3:1" + "src": "28259:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1452, + "id": 944, "name": "Identifier", - "src": "27497:5:1" + "src": "28264:5:0" } ], - "id": 1453, + "id": 945, "name": "FunctionCall", - "src": "27482:21:1" + "src": "28249:21:0" } ], - "id": 1454, + "id": 946, "name": "UnaryOperation", - "src": "27481:22:1" + "src": "28248:22:0" }, { "children": [ @@ -49799,7 +49799,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -49808,46 +49808,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1455, + "id": 947, "name": "Identifier", - "src": "27519:3:1" + "src": "28287:3:0" } ], - "id": 1458, + "id": 950, "name": "MemberAccess", - "src": "27519:11:1" + "src": "28287:11:0" } ], - "id": 1459, + "id": 951, "name": "MemberAccess", - "src": "27519:16:1" + "src": "28287:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1460, + "id": 952, "name": "Identifier", - "src": "27536:5:1" + "src": "28304:5:0" } ], - "id": 1461, + "id": 953, "name": "FunctionCall", - "src": "27519:23:1" + "src": "28287:23:0" } ], - "id": 1462, + "id": 954, "name": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "children": [ @@ -49877,7 +49877,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -49886,36 +49886,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1463, + "id": 955, "name": "Identifier", - "src": "27677:3:1" + "src": "28448:3:0" } ], - "id": 1466, + "id": 958, "name": "MemberAccess", - "src": "27677:12:1" + "src": "28448:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1465, + "id": 957, "name": "Identifier", - "src": "27690:5:1" + "src": "28461:5:0" } ], - "id": 1467, + "id": 959, "name": "IndexAccess", - "src": "27677:19:1" + "src": "28448:19:0" }, { "attributes": { @@ -49934,7 +49934,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -49943,37 +49943,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1468, + "id": 960, "name": "Identifier", - "src": "27699:3:1" + "src": "28470:3:0" } ], - "id": 1469, + "id": 961, "name": "MemberAccess", - "src": "27699:11:1" + "src": "28470:11:0" } ], - "id": 1470, + "id": 962, "name": "MemberAccess", - "src": "27699:18:1" + "src": "28470:18:0" } ], - "id": 1471, + "id": 963, "name": "Assignment", - "src": "27677:40:1" + "src": "28448:40:0" } ], - "id": 1472, + "id": 964, "name": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -49987,25 +49987,25 @@ "type": "bool", "value": "true" }, - "id": 1473, + "id": 965, "name": "Literal", - "src": "27738:4:1" + "src": "28510:4:0" } ], - "id": 1474, + "id": 966, "name": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ], - "id": 1475, + "id": 967, "name": "Block", - "src": "27505:248:1" + "src": "28272:254:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -50019,34 +50019,34 @@ "type": "bool", "value": "false" }, - "id": 1476, + "id": 968, "name": "Literal", - "src": "27780:5:1" + "src": "28554:5:0" } ], - "id": 1477, + "id": 969, "name": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ], - "id": 1478, + "id": 970, "name": "Block", - "src": "27759:37:1" + "src": "28532:39:0" } ], - "id": 1479, + "id": 971, "name": "IfStatement", - "src": "27477:319:1" + "src": "28244:327:0" } ], - "id": 1480, + "id": 972, "name": "Block", - "src": "27467:335:1" + "src": "28233:345:0" } ], - "id": 1481, + "id": 973, "name": "FunctionDefinition", - "src": "27398:404:1" + "src": "28164:414:0" }, { "attributes": { @@ -50057,7 +50057,7 @@ null ], "name": "_remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -50067,9 +50067,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1482, + "id": 974, "name": "StructuredDocumentation", - "src": "27808:157:1" + "src": "28586:162:0" }, { "children": [ @@ -50078,7 +50078,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -50088,24 +50088,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1483, + "id": 975, "name": "UserDefinedTypeName", - "src": "27987:3:1" + "src": "28771:3:0" } ], - "id": 1484, + "id": 976, "name": "VariableDeclaration", - "src": "27987:15:1" + "src": "28771:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50117,19 +50117,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1485, + "id": 977, "name": "ElementaryTypeName", - "src": "28004:7:1" + "src": "28788:7:0" } ], - "id": 1486, + "id": 978, "name": "VariableDeclaration", - "src": "28004:13:1" + "src": "28788:13:0" } ], - "id": 1487, + "id": 979, "name": "ParameterList", - "src": "27986:32:1" + "src": "28770:32:0" }, { "children": [ @@ -50138,7 +50138,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -50150,26 +50150,26 @@ "name": "bool", "type": "bool" }, - "id": 1488, + "id": 980, "name": "ElementaryTypeName", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1489, + "id": 981, "name": "VariableDeclaration", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1490, + "id": 982, "name": "ParameterList", - "src": "28035:6:1" + "src": "28819:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1492 + 984 ] }, "children": [ @@ -50178,7 +50178,7 @@ "constant": false, "mutability": "mutable", "name": "valueIndex", - "scope": 1560, + "scope": 1052, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50190,14 +50190,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1491, + "id": 983, "name": "ElementaryTypeName", - "src": "28152:7:1" + "src": "28938:7:0" } ], - "id": 1492, + "id": 984, "name": "VariableDeclaration", - "src": "28152:18:1" + "src": "28938:18:0" }, { "attributes": { @@ -50215,7 +50215,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50224,41 +50224,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1493, + "id": 985, "name": "Identifier", - "src": "28173:3:1" + "src": "28959:3:0" } ], - "id": 1494, + "id": 986, "name": "MemberAccess", - "src": "28173:12:1" + "src": "28959:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1495, + "id": 987, "name": "Identifier", - "src": "28186:5:1" + "src": "28972:5:0" } ], - "id": 1496, + "id": 988, "name": "IndexAccess", - "src": "28173:19:1" + "src": "28959:19:0" } ], - "id": 1497, + "id": 989, "name": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "children": [ @@ -50281,13 +50281,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1498, + "id": 990, "name": "Identifier", - "src": "28207:10:1" + "src": "28995:10:0" }, { "attributes": { @@ -50300,21 +50300,21 @@ "type": "int_const 0", "value": "0" }, - "id": 1499, + "id": 991, "name": "Literal", - "src": "28221:1:1" + "src": "29009:1:0" } ], - "id": 1500, + "id": 992, "name": "BinaryOperation", - "src": "28207:15:1" + "src": "28995:15:0" }, { "children": [ { "attributes": { "assignments": [ - 1502 + 994 ] }, "children": [ @@ -50323,7 +50323,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50335,14 +50335,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1501, + "id": 993, "name": "ElementaryTypeName", - "src": "28564:7:1" + "src": "29357:7:0" } ], - "id": 1502, + "id": 994, "name": "VariableDeclaration", - "src": "28564:21:1" + "src": "29357:21:0" }, { "attributes": { @@ -50363,13 +50363,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1503, + "id": 995, "name": "Identifier", - "src": "28588:10:1" + "src": "29381:10:0" }, { "attributes": { @@ -50382,24 +50382,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1504, + "id": 996, "name": "Literal", - "src": "28601:1:1" + "src": "29394:1:0" } ], - "id": 1505, + "id": 997, "name": "BinaryOperation", - "src": "28588:14:1" + "src": "29381:14:0" } ], - "id": 1506, + "id": 998, "name": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "attributes": { "assignments": [ - 1508 + 1000 ] }, "children": [ @@ -50408,7 +50408,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50420,14 +50420,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1507, + "id": 999, "name": "ElementaryTypeName", - "src": "28616:7:1" + "src": "29410:7:0" } ], - "id": 1508, + "id": 1000, "name": "VariableDeclaration", - "src": "28616:17:1" + "src": "29410:17:0" }, { "attributes": { @@ -50460,7 +50460,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50469,23 +50469,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1509, + "id": 1001, "name": "Identifier", - "src": "28636:3:1" + "src": "29430:3:0" } ], - "id": 1510, + "id": 1002, "name": "MemberAccess", - "src": "28636:11:1" + "src": "29430:11:0" } ], - "id": 1511, + "id": 1003, "name": "MemberAccess", - "src": "28636:18:1" + "src": "29430:18:0" }, { "attributes": { @@ -50498,24 +50498,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1512, + "id": 1004, "name": "Literal", - "src": "28657:1:1" + "src": "29451:1:0" } ], - "id": 1513, + "id": 1005, "name": "BinaryOperation", - "src": "28636:22:1" + "src": "29430:22:0" } ], - "id": 1514, + "id": 1006, "name": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "attributes": { "assignments": [ - 1516 + 1008 ] }, "children": [ @@ -50524,7 +50524,7 @@ "constant": false, "mutability": "mutable", "name": "lastvalue", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50536,14 +50536,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1515, + "id": 1007, "name": "ElementaryTypeName", - "src": "28898:7:1" + "src": "29697:7:0" } ], - "id": 1516, + "id": 1008, "name": "VariableDeclaration", - "src": "28898:17:1" + "src": "29697:17:0" }, { "attributes": { @@ -50561,7 +50561,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50570,41 +50570,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1517, + "id": 1009, "name": "Identifier", - "src": "28918:3:1" + "src": "29717:3:0" } ], - "id": 1518, + "id": 1010, "name": "MemberAccess", - "src": "28918:11:1" + "src": "29717:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1508, + "referencedDeclaration": 1000, "type": "uint256", "value": "lastIndex" }, - "id": 1519, + "id": 1011, "name": "Identifier", - "src": "28930:9:1" + "src": "29729:9:0" } ], - "id": 1520, + "id": 1012, "name": "IndexAccess", - "src": "28918:22:1" + "src": "29717:22:0" } ], - "id": 1521, + "id": 1013, "name": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "children": [ @@ -50634,7 +50634,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50643,59 +50643,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1522, + "id": 1014, "name": "Identifier", - "src": "29032:3:1" + "src": "29834:3:0" } ], - "id": 1525, + "id": 1017, "name": "MemberAccess", - "src": "29032:11:1" + "src": "29834:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1524, + "id": 1016, "name": "Identifier", - "src": "29044:13:1" + "src": "29846:13:0" } ], - "id": 1526, + "id": 1018, "name": "IndexAccess", - "src": "29032:26:1" + "src": "29834:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1527, + "id": 1019, "name": "Identifier", - "src": "29061:9:1" + "src": "29863:9:0" } ], - "id": 1528, + "id": 1020, "name": "Assignment", - "src": "29032:38:1" + "src": "29834:38:0" } ], - "id": 1529, + "id": 1021, "name": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "children": [ @@ -50725,7 +50725,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50734,36 +50734,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1530, + "id": 1022, "name": "Identifier", - "src": "29136:3:1" + "src": "29940:3:0" } ], - "id": 1533, + "id": 1025, "name": "MemberAccess", - "src": "29136:12:1" + "src": "29940:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1532, + "id": 1024, "name": "Identifier", - "src": "29149:9:1" + "src": "29953:9:0" } ], - "id": 1534, + "id": 1026, "name": "IndexAccess", - "src": "29136:23:1" + "src": "29940:23:0" }, { "attributes": { @@ -50784,13 +50784,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1535, + "id": 1027, "name": "Identifier", - "src": "29162:13:1" + "src": "29966:13:0" }, { "attributes": { @@ -50803,24 +50803,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1536, + "id": 1028, "name": "Literal", - "src": "29178:1:1" + "src": "29982:1:0" } ], - "id": 1537, + "id": 1029, "name": "BinaryOperation", - "src": "29162:17:1" + "src": "29966:17:0" } ], - "id": 1538, + "id": 1030, "name": "Assignment", - "src": "29136:43:1" + "src": "29940:43:0" } ], - "id": 1539, + "id": 1031, "name": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "children": [ @@ -50862,7 +50862,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50871,33 +50871,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1540, + "id": 1032, "name": "Identifier", - "src": "29285:3:1" + "src": "30092:3:0" } ], - "id": 1543, + "id": 1035, "name": "MemberAccess", - "src": "29285:11:1" + "src": "30092:11:0" } ], - "id": 1544, + "id": 1036, "name": "MemberAccess", - "src": "29285:15:1" + "src": "30092:15:0" } ], - "id": 1545, + "id": 1037, "name": "FunctionCall", - "src": "29285:17:1" + "src": "30092:17:0" } ], - "id": 1546, + "id": 1038, "name": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "children": [ @@ -50928,7 +50928,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50937,50 +50937,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1547, + "id": 1039, "name": "Identifier", - "src": "29377:3:1" + "src": "30187:3:0" } ], - "id": 1548, + "id": 1040, "name": "MemberAccess", - "src": "29377:12:1" + "src": "30187:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1549, + "id": 1041, "name": "Identifier", - "src": "29390:5:1" + "src": "30200:5:0" } ], - "id": 1550, + "id": 1042, "name": "IndexAccess", - "src": "29377:19:1" + "src": "30187:19:0" } ], - "id": 1551, + "id": 1043, "name": "UnaryOperation", - "src": "29370:26:1" + "src": "30180:26:0" } ], - "id": 1552, + "id": 1044, "name": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -50994,25 +50994,25 @@ "type": "bool", "value": "true" }, - "id": 1553, + "id": 1045, "name": "Literal", - "src": "29418:4:1" + "src": "30230:4:0" } ], - "id": 1554, + "id": 1046, "name": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ], - "id": 1555, + "id": 1047, "name": "Block", - "src": "28224:1209:1" + "src": "29012:1234:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -51026,34 +51026,34 @@ "type": "bool", "value": "false" }, - "id": 1556, + "id": 1048, "name": "Literal", - "src": "29460:5:1" + "src": "30274:5:0" } ], - "id": 1557, + "id": 1049, "name": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ], - "id": 1558, + "id": 1050, "name": "Block", - "src": "29439:37:1" + "src": "30252:39:0" } ], - "id": 1559, + "id": 1051, "name": "IfStatement", - "src": "28203:1273:1" + "src": "28991:1300:0" } ], - "id": 1560, + "id": 1052, "name": "Block", - "src": "28042:1440:1" + "src": "28826:1472:0" } ], - "id": 1561, + "id": 1053, "name": "FunctionDefinition", - "src": "27970:1512:1" + "src": "28754:1544:0" }, { "attributes": { @@ -51064,7 +51064,7 @@ null ], "name": "_contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51074,9 +51074,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1562, + "id": 1054, "name": "StructuredDocumentation", - "src": "29488:70:1" + "src": "30306:72:0" }, { "children": [ @@ -51085,7 +51085,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51095,24 +51095,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1563, + "id": 1055, "name": "UserDefinedTypeName", - "src": "29582:3:1" + "src": "30403:3:0" } ], - "id": 1564, + "id": 1056, "name": "VariableDeclaration", - "src": "29582:15:1" + "src": "30403:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51124,19 +51124,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1565, + "id": 1057, "name": "ElementaryTypeName", - "src": "29599:7:1" + "src": "30420:7:0" } ], - "id": 1566, + "id": 1058, "name": "VariableDeclaration", - "src": "29599:13:1" + "src": "30420:13:0" } ], - "id": 1567, + "id": 1059, "name": "ParameterList", - "src": "29581:32:1" + "src": "30402:32:0" }, { "children": [ @@ -51145,7 +51145,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51157,25 +51157,25 @@ "name": "bool", "type": "bool" }, - "id": 1568, + "id": 1060, "name": "ElementaryTypeName", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1569, + "id": 1061, "name": "VariableDeclaration", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1570, + "id": 1062, "name": "ParameterList", - "src": "29635:6:1" + "src": "30456:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1570 + "functionReturnParameters": 1062 }, "children": [ { @@ -51208,7 +51208,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -51217,36 +51217,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1564, + "referencedDeclaration": 1056, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1571, + "id": 1063, "name": "Identifier", - "src": "29659:3:1" + "src": "30481:3:0" } ], - "id": 1572, + "id": 1064, "name": "MemberAccess", - "src": "29659:12:1" + "src": "30481:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1566, + "referencedDeclaration": 1058, "type": "bytes32", "value": "value" }, - "id": 1573, + "id": 1065, "name": "Identifier", - "src": "29672:5:1" + "src": "30494:5:0" } ], - "id": 1574, + "id": 1066, "name": "IndexAccess", - "src": "29659:19:1" + "src": "30481:19:0" }, { "attributes": { @@ -51259,29 +51259,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1575, + "id": 1067, "name": "Literal", - "src": "29682:1:1" + "src": "30504:1:0" } ], - "id": 1576, + "id": 1068, "name": "BinaryOperation", - "src": "29659:24:1" + "src": "30481:24:0" } ], - "id": 1577, + "id": 1069, "name": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ], - "id": 1578, + "id": 1070, "name": "Block", - "src": "29642:48:1" + "src": "30463:50:0" } ], - "id": 1579, + "id": 1071, "name": "FunctionDefinition", - "src": "29563:127:1" + "src": "30384:129:0" }, { "attributes": { @@ -51292,7 +51292,7 @@ null ], "name": "_length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51302,9 +51302,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1580, + "id": 1072, "name": "StructuredDocumentation", - "src": "29696:70:1" + "src": "30521:72:0" }, { "children": [ @@ -51313,7 +51313,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51323,22 +51323,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1581, + "id": 1073, "name": "UserDefinedTypeName", - "src": "29788:3:1" + "src": "30616:3:0" } ], - "id": 1582, + "id": 1074, "name": "VariableDeclaration", - "src": "29788:15:1" + "src": "30616:15:0" } ], - "id": 1583, + "id": 1075, "name": "ParameterList", - "src": "29787:17:1" + "src": "30615:17:0" }, { "children": [ @@ -51347,7 +51347,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51359,25 +51359,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1584, + "id": 1076, "name": "ElementaryTypeName", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1585, + "id": 1077, "name": "VariableDeclaration", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1586, + "id": 1078, "name": "ParameterList", - "src": "29826:9:1" + "src": "30654:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1586 + "functionReturnParameters": 1078 }, "children": [ { @@ -51397,7 +51397,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51406,38 +51406,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1582, + "referencedDeclaration": 1074, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1587, + "id": 1079, "name": "Identifier", - "src": "29853:3:1" + "src": "30682:3:0" } ], - "id": 1588, + "id": 1080, "name": "MemberAccess", - "src": "29853:11:1" + "src": "30682:11:0" } ], - "id": 1589, + "id": 1081, "name": "MemberAccess", - "src": "29853:18:1" + "src": "30682:18:0" } ], - "id": 1590, + "id": 1082, "name": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ], - "id": 1591, + "id": 1083, "name": "Block", - "src": "29836:42:1" + "src": "30664:44:0" } ], - "id": 1592, + "id": 1084, "name": "FunctionDefinition", - "src": "29771:107:1" + "src": "30599:109:0" }, { "attributes": { @@ -51448,7 +51448,7 @@ null ], "name": "_at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51458,9 +51458,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1593, + "id": 1085, "name": "StructuredDocumentation", - "src": "29883:322:1" + "src": "30715:331:0" }, { "children": [ @@ -51469,7 +51469,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51479,24 +51479,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1594, + "id": 1086, "name": "UserDefinedTypeName", - "src": "30223:3:1" + "src": "31065:3:0" } ], - "id": 1595, + "id": 1087, "name": "VariableDeclaration", - "src": "30223:15:1" + "src": "31065:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51508,19 +51508,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1596, + "id": 1088, "name": "ElementaryTypeName", - "src": "30240:7:1" + "src": "31082:7:0" } ], - "id": 1597, + "id": 1089, "name": "VariableDeclaration", - "src": "30240:13:1" + "src": "31082:13:0" } ], - "id": 1598, + "id": 1090, "name": "ParameterList", - "src": "30222:32:1" + "src": "31064:32:0" }, { "children": [ @@ -51529,7 +51529,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51541,19 +51541,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1599, + "id": 1091, "name": "ElementaryTypeName", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1600, + "id": 1092, "name": "VariableDeclaration", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1601, + "id": 1093, "name": "ParameterList", - "src": "30276:9:1" + "src": "31118:9:0" }, { "children": [ @@ -51594,9 +51594,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1602, + "id": 1094, "name": "Identifier", - "src": "30296:7:1" + "src": "31139:7:0" }, { "attributes": { @@ -51629,7 +51629,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51638,41 +51638,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1603, + "id": 1095, "name": "Identifier", - "src": "30304:3:1" + "src": "31147:3:0" } ], - "id": 1604, + "id": 1096, "name": "MemberAccess", - "src": "30304:11:1" + "src": "31147:11:0" } ], - "id": 1605, + "id": 1097, "name": "MemberAccess", - "src": "30304:18:1" + "src": "31147:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1606, + "id": 1098, "name": "Identifier", - "src": "30325:5:1" + "src": "31168:5:0" } ], - "id": 1607, + "id": 1099, "name": "BinaryOperation", - "src": "30304:26:1" + "src": "31147:26:0" }, { "attributes": { @@ -51685,23 +51685,23 @@ "type": "literal_string \"EnumerableSet: index out of bounds\"", "value": "EnumerableSet: index out of bounds" }, - "id": 1608, + "id": 1100, "name": "Literal", - "src": "30332:36:1" + "src": "31175:36:0" } ], - "id": 1609, + "id": 1101, "name": "FunctionCall", - "src": "30296:73:1" + "src": "31139:73:0" } ], - "id": 1610, + "id": 1102, "name": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "attributes": { - "functionReturnParameters": 1601 + "functionReturnParameters": 1093 }, "children": [ { @@ -51720,7 +51720,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51729,57 +51729,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1611, + "id": 1103, "name": "Identifier", - "src": "30386:3:1" + "src": "31230:3:0" } ], - "id": 1612, + "id": 1104, "name": "MemberAccess", - "src": "30386:11:1" + "src": "31230:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1613, + "id": 1105, "name": "Identifier", - "src": "30398:5:1" + "src": "31242:5:0" } ], - "id": 1614, + "id": 1106, "name": "IndexAccess", - "src": "30386:18:1" + "src": "31230:18:0" } ], - "id": 1615, + "id": 1107, "name": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ], - "id": 1616, + "id": 1108, "name": "Block", - "src": "30286:125:1" + "src": "31128:128:0" } ], - "id": 1617, + "id": 1109, "name": "FunctionDefinition", - "src": "30210:201:1" + "src": "31052:204:0" }, { "attributes": { "canonicalName": "EnumerableSet.Bytes32Set", "name": "Bytes32Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -51788,7 +51788,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1620, + "scope": 1112, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -51798,22 +51798,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1618, + "id": 1110, "name": "UserDefinedTypeName", - "src": "30464:3:1" + "src": "31314:3:0" } ], - "id": 1619, + "id": 1111, "name": "VariableDeclaration", - "src": "30464:10:1" + "src": "31314:10:0" } ], - "id": 1620, + "id": 1112, "name": "StructDefinition", - "src": "30436:45:1" + "src": "31285:47:0" }, { "attributes": { @@ -51824,7 +51824,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -51834,9 +51834,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1621, + "id": 1113, "name": "StructuredDocumentation", - "src": "30487:159:1" + "src": "31340:164:0" }, { "children": [ @@ -51845,7 +51845,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -51855,24 +51855,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1622, + "id": 1114, "name": "UserDefinedTypeName", - "src": "30664:10:1" + "src": "31523:10:0" } ], - "id": 1623, + "id": 1115, "name": "VariableDeclaration", - "src": "30664:22:1" + "src": "31523:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51884,19 +51884,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1624, + "id": 1116, "name": "ElementaryTypeName", - "src": "30688:7:1" + "src": "31547:7:0" } ], - "id": 1625, + "id": 1117, "name": "VariableDeclaration", - "src": "30688:13:1" + "src": "31547:13:0" } ], - "id": 1626, + "id": 1118, "name": "ParameterList", - "src": "30663:39:1" + "src": "31522:39:0" }, { "children": [ @@ -51905,7 +51905,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51917,25 +51917,25 @@ "name": "bool", "type": "bool" }, - "id": 1627, + "id": 1119, "name": "ElementaryTypeName", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1628, + "id": 1120, "name": "VariableDeclaration", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1629, + "id": 1121, "name": "ParameterList", - "src": "30720:6:1" + "src": "31579:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1629 + "functionReturnParameters": 1121 }, "children": [ { @@ -51957,7 +51957,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -51968,13 +51968,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1630, + "id": 1122, "name": "Identifier", - "src": "30744:4:1" + "src": "31604:4:0" }, { "attributes": { @@ -51983,7 +51983,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -51992,51 +51992,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1623, + "referencedDeclaration": 1115, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1631, + "id": 1123, "name": "Identifier", - "src": "30749:3:1" + "src": "31609:3:0" } ], - "id": 1632, + "id": 1124, "name": "MemberAccess", - "src": "30749:10:1" + "src": "31609:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1625, + "referencedDeclaration": 1117, "type": "bytes32", "value": "value" }, - "id": 1633, + "id": 1125, "name": "Identifier", - "src": "30761:5:1" + "src": "31621:5:0" } ], - "id": 1634, + "id": 1126, "name": "FunctionCall", - "src": "30744:23:1" + "src": "31604:23:0" } ], - "id": 1635, + "id": 1127, "name": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ], - "id": 1636, + "id": 1128, "name": "Block", - "src": "30727:47:1" + "src": "31586:49:0" } ], - "id": 1637, + "id": 1129, "name": "FunctionDefinition", - "src": "30651:123:1" + "src": "31510:125:0" }, { "attributes": { @@ -52047,7 +52047,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52057,9 +52057,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1638, + "id": 1130, "name": "StructuredDocumentation", - "src": "30780:157:1" + "src": "31643:162:0" }, { "children": [ @@ -52068,7 +52068,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52078,24 +52078,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1639, + "id": 1131, "name": "UserDefinedTypeName", - "src": "30958:10:1" + "src": "31827:10:0" } ], - "id": 1640, + "id": 1132, "name": "VariableDeclaration", - "src": "30958:22:1" + "src": "31827:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52107,19 +52107,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1641, + "id": 1133, "name": "ElementaryTypeName", - "src": "30982:7:1" + "src": "31851:7:0" } ], - "id": 1642, + "id": 1134, "name": "VariableDeclaration", - "src": "30982:13:1" + "src": "31851:13:0" } ], - "id": 1643, + "id": 1135, "name": "ParameterList", - "src": "30957:39:1" + "src": "31826:39:0" }, { "children": [ @@ -52128,7 +52128,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52140,25 +52140,25 @@ "name": "bool", "type": "bool" }, - "id": 1644, + "id": 1136, "name": "ElementaryTypeName", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1645, + "id": 1137, "name": "VariableDeclaration", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1646, + "id": 1138, "name": "ParameterList", - "src": "31014:6:1" + "src": "31883:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1646 + "functionReturnParameters": 1138 }, "children": [ { @@ -52180,7 +52180,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52191,13 +52191,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1647, + "id": 1139, "name": "Identifier", - "src": "31038:7:1" + "src": "31908:7:0" }, { "attributes": { @@ -52206,7 +52206,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52215,51 +52215,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1640, + "referencedDeclaration": 1132, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1648, + "id": 1140, "name": "Identifier", - "src": "31046:3:1" + "src": "31916:3:0" } ], - "id": 1649, + "id": 1141, "name": "MemberAccess", - "src": "31046:10:1" + "src": "31916:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1642, + "referencedDeclaration": 1134, "type": "bytes32", "value": "value" }, - "id": 1650, + "id": 1142, "name": "Identifier", - "src": "31058:5:1" + "src": "31928:5:0" } ], - "id": 1651, + "id": 1143, "name": "FunctionCall", - "src": "31038:26:1" + "src": "31908:26:0" } ], - "id": 1652, + "id": 1144, "name": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ], - "id": 1653, + "id": 1145, "name": "Block", - "src": "31021:50:1" + "src": "31890:52:0" } ], - "id": 1654, + "id": 1146, "name": "FunctionDefinition", - "src": "30942:129:1" + "src": "31811:131:0" }, { "attributes": { @@ -52270,7 +52270,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52280,9 +52280,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1655, + "id": 1147, "name": "StructuredDocumentation", - "src": "31077:70:1" + "src": "31950:72:0" }, { "children": [ @@ -52291,7 +52291,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52301,24 +52301,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1656, + "id": 1148, "name": "UserDefinedTypeName", - "src": "31170:10:1" + "src": "32046:10:0" } ], - "id": 1657, + "id": 1149, "name": "VariableDeclaration", - "src": "31170:22:1" + "src": "32046:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52330,19 +52330,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1658, + "id": 1150, "name": "ElementaryTypeName", - "src": "31194:7:1" + "src": "32070:7:0" } ], - "id": 1659, + "id": 1151, "name": "VariableDeclaration", - "src": "31194:13:1" + "src": "32070:13:0" } ], - "id": 1660, + "id": 1152, "name": "ParameterList", - "src": "31169:39:1" + "src": "32045:39:0" }, { "children": [ @@ -52351,7 +52351,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52363,25 +52363,25 @@ "name": "bool", "type": "bool" }, - "id": 1661, + "id": 1153, "name": "ElementaryTypeName", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1662, + "id": 1154, "name": "VariableDeclaration", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1663, + "id": 1155, "name": "ParameterList", - "src": "31231:6:1" + "src": "32107:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1663 + "functionReturnParameters": 1155 }, "children": [ { @@ -52403,7 +52403,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52414,13 +52414,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1664, + "id": 1156, "name": "Identifier", - "src": "31255:9:1" + "src": "32132:9:0" }, { "attributes": { @@ -52429,7 +52429,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52438,51 +52438,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1657, + "referencedDeclaration": 1149, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1665, + "id": 1157, "name": "Identifier", - "src": "31265:3:1" + "src": "32142:3:0" } ], - "id": 1666, + "id": 1158, "name": "MemberAccess", - "src": "31265:10:1" + "src": "32142:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1659, + "referencedDeclaration": 1151, "type": "bytes32", "value": "value" }, - "id": 1667, + "id": 1159, "name": "Identifier", - "src": "31277:5:1" + "src": "32154:5:0" } ], - "id": 1668, + "id": 1160, "name": "FunctionCall", - "src": "31255:28:1" + "src": "32132:28:0" } ], - "id": 1669, + "id": 1161, "name": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ], - "id": 1670, + "id": 1162, "name": "Block", - "src": "31238:52:1" + "src": "32114:54:0" } ], - "id": 1671, + "id": 1163, "name": "FunctionDefinition", - "src": "31152:138:1" + "src": "32028:140:0" }, { "attributes": { @@ -52493,7 +52493,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52503,9 +52503,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1672, + "id": 1164, "name": "StructuredDocumentation", - "src": "31296:70:1" + "src": "32176:72:0" }, { "children": [ @@ -52514,7 +52514,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52524,22 +52524,22 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1673, + "id": 1165, "name": "UserDefinedTypeName", - "src": "31387:10:1" + "src": "32270:10:0" } ], - "id": 1674, + "id": 1166, "name": "VariableDeclaration", - "src": "31387:22:1" + "src": "32270:22:0" } ], - "id": 1675, + "id": 1167, "name": "ParameterList", - "src": "31386:24:1" + "src": "32269:24:0" }, { "children": [ @@ -52548,7 +52548,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52560,25 +52560,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1676, + "id": 1168, "name": "ElementaryTypeName", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1677, + "id": 1169, "name": "VariableDeclaration", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1678, + "id": 1170, "name": "ParameterList", - "src": "31433:9:1" + "src": "32316:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1678 + "functionReturnParameters": 1170 }, "children": [ { @@ -52600,20 +52600,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1679, + "id": 1171, "name": "Identifier", - "src": "31460:7:1" + "src": "32344:7:0" }, { "attributes": { @@ -52622,7 +52622,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52631,38 +52631,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1674, + "referencedDeclaration": 1166, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1680, + "id": 1172, "name": "Identifier", - "src": "31468:3:1" + "src": "32352:3:0" } ], - "id": 1681, + "id": 1173, "name": "MemberAccess", - "src": "31468:10:1" + "src": "32352:10:0" } ], - "id": 1682, + "id": 1174, "name": "FunctionCall", - "src": "31460:19:1" + "src": "32344:19:0" } ], - "id": 1683, + "id": 1175, "name": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ], - "id": 1684, + "id": 1176, "name": "Block", - "src": "31443:43:1" + "src": "32326:45:0" } ], - "id": 1685, + "id": 1177, "name": "FunctionDefinition", - "src": "31371:115:1" + "src": "32254:117:0" }, { "attributes": { @@ -52673,7 +52673,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52683,9 +52683,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1686, + "id": 1178, "name": "StructuredDocumentation", - "src": "31491:322:1" + "src": "32378:331:0" }, { "children": [ @@ -52694,7 +52694,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52704,24 +52704,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1687, + "id": 1179, "name": "UserDefinedTypeName", - "src": "31830:10:1" + "src": "32727:10:0" } ], - "id": 1688, + "id": 1180, "name": "VariableDeclaration", - "src": "31830:22:1" + "src": "32727:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52733,19 +52733,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1689, + "id": 1181, "name": "ElementaryTypeName", - "src": "31854:7:1" + "src": "32751:7:0" } ], - "id": 1690, + "id": 1182, "name": "VariableDeclaration", - "src": "31854:13:1" + "src": "32751:13:0" } ], - "id": 1691, + "id": 1183, "name": "ParameterList", - "src": "31829:39:1" + "src": "32726:39:0" }, { "children": [ @@ -52754,7 +52754,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52766,25 +52766,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1692, + "id": 1184, "name": "ElementaryTypeName", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1693, + "id": 1185, "name": "VariableDeclaration", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1694, + "id": 1186, "name": "ParameterList", - "src": "31891:9:1" + "src": "32788:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1694 + "functionReturnParameters": 1186 }, "children": [ { @@ -52806,7 +52806,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52817,13 +52817,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1695, + "id": 1187, "name": "Identifier", - "src": "31918:3:1" + "src": "32816:3:0" }, { "attributes": { @@ -52832,7 +52832,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52841,57 +52841,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1688, + "referencedDeclaration": 1180, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1696, + "id": 1188, "name": "Identifier", - "src": "31922:3:1" + "src": "32820:3:0" } ], - "id": 1697, + "id": 1189, "name": "MemberAccess", - "src": "31922:10:1" + "src": "32820:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1690, + "referencedDeclaration": 1182, "type": "uint256", "value": "index" }, - "id": 1698, + "id": 1190, "name": "Identifier", - "src": "31934:5:1" + "src": "32832:5:0" } ], - "id": 1699, + "id": 1191, "name": "FunctionCall", - "src": "31918:22:1" + "src": "32816:22:0" } ], - "id": 1700, + "id": 1192, "name": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ], - "id": 1701, + "id": 1193, "name": "Block", - "src": "31901:46:1" + "src": "32798:48:0" } ], - "id": 1702, + "id": 1194, "name": "FunctionDefinition", - "src": "31818:129:1" + "src": "32715:131:0" }, { "attributes": { "canonicalName": "EnumerableSet.AddressSet", "name": "AddressSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -52900,7 +52900,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1705, + "scope": 1197, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -52910,22 +52910,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1703, + "id": 1195, "name": "UserDefinedTypeName", - "src": "32000:3:1" + "src": "32904:3:0" } ], - "id": 1704, + "id": 1196, "name": "VariableDeclaration", - "src": "32000:10:1" + "src": "32904:10:0" } ], - "id": 1705, + "id": 1197, "name": "StructDefinition", - "src": "31972:45:1" + "src": "32875:47:0" }, { "attributes": { @@ -52936,7 +52936,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52946,9 +52946,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1706, + "id": 1198, "name": "StructuredDocumentation", - "src": "32023:159:1" + "src": "32930:164:0" }, { "children": [ @@ -52957,7 +52957,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -52967,24 +52967,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1707, + "id": 1199, "name": "UserDefinedTypeName", - "src": "32200:10:1" + "src": "33113:10:0" } ], - "id": 1708, + "id": 1200, "name": "VariableDeclaration", - "src": "32200:22:1" + "src": "33113:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -52997,19 +52997,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1709, + "id": 1201, "name": "ElementaryTypeName", - "src": "32224:7:1" + "src": "33137:7:0" } ], - "id": 1710, + "id": 1202, "name": "VariableDeclaration", - "src": "32224:13:1" + "src": "33137:13:0" } ], - "id": 1711, + "id": 1203, "name": "ParameterList", - "src": "32199:39:1" + "src": "33112:39:0" }, { "children": [ @@ -53018,7 +53018,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53030,25 +53030,25 @@ "name": "bool", "type": "bool" }, - "id": 1712, + "id": 1204, "name": "ElementaryTypeName", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1713, + "id": 1205, "name": "VariableDeclaration", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1714, + "id": 1206, "name": "ParameterList", - "src": "32256:6:1" + "src": "33169:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1714 + "functionReturnParameters": 1206 }, "children": [ { @@ -53070,7 +53070,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53081,13 +53081,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1715, + "id": 1207, "name": "Identifier", - "src": "32280:4:1" + "src": "33194:4:0" }, { "attributes": { @@ -53096,7 +53096,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53105,18 +53105,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1708, + "referencedDeclaration": 1200, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1716, + "id": 1208, "name": "Identifier", - "src": "32285:3:1" + "src": "33199:3:0" } ], - "id": 1717, + "id": 1209, "name": "MemberAccess", - "src": "32285:10:1" + "src": "33199:10:0" }, { "attributes": { @@ -53152,14 +53152,14 @@ "attributes": { "name": "bytes32" }, - "id": 1718, + "id": 1210, "name": "ElementaryTypeName", - "src": "32297:7:1" + "src": "33211:7:0" } ], - "id": 1719, + "id": 1211, "name": "ElementaryTypeNameExpression", - "src": "32297:7:1" + "src": "33211:7:0" }, { "attributes": { @@ -53195,14 +53195,14 @@ "attributes": { "name": "uint256" }, - "id": 1720, + "id": 1212, "name": "ElementaryTypeName", - "src": "32305:7:1" + "src": "33219:7:0" } ], - "id": 1721, + "id": 1213, "name": "ElementaryTypeNameExpression", - "src": "32305:7:1" + "src": "33219:7:0" }, { "attributes": { @@ -53238,62 +53238,62 @@ "attributes": { "name": "uint160" }, - "id": 1722, + "id": 1214, "name": "ElementaryTypeName", - "src": "32313:7:1" + "src": "33227:7:0" } ], - "id": 1723, + "id": 1215, "name": "ElementaryTypeNameExpression", - "src": "32313:7:1" + "src": "33227:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1710, + "referencedDeclaration": 1202, "type": "address", "value": "value" }, - "id": 1724, + "id": 1216, "name": "Identifier", - "src": "32321:5:1" + "src": "33235:5:0" } ], - "id": 1725, + "id": 1217, "name": "FunctionCall", - "src": "32313:14:1" + "src": "33227:14:0" } ], - "id": 1726, + "id": 1218, "name": "FunctionCall", - "src": "32305:23:1" + "src": "33219:23:0" } ], - "id": 1727, + "id": 1219, "name": "FunctionCall", - "src": "32297:32:1" + "src": "33211:32:0" } ], - "id": 1728, + "id": 1220, "name": "FunctionCall", - "src": "32280:50:1" + "src": "33194:50:0" } ], - "id": 1729, + "id": 1221, "name": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ], - "id": 1730, + "id": 1222, "name": "Block", - "src": "32263:74:1" + "src": "33176:76:0" } ], - "id": 1731, + "id": 1223, "name": "FunctionDefinition", - "src": "32187:150:1" + "src": "33100:152:0" }, { "attributes": { @@ -53304,7 +53304,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -53314,9 +53314,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1732, + "id": 1224, "name": "StructuredDocumentation", - "src": "32343:157:1" + "src": "33260:162:0" }, { "children": [ @@ -53325,7 +53325,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53335,24 +53335,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1733, + "id": 1225, "name": "UserDefinedTypeName", - "src": "32521:10:1" + "src": "33444:10:0" } ], - "id": 1734, + "id": 1226, "name": "VariableDeclaration", - "src": "32521:22:1" + "src": "33444:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53365,19 +53365,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1735, + "id": 1227, "name": "ElementaryTypeName", - "src": "32545:7:1" + "src": "33468:7:0" } ], - "id": 1736, + "id": 1228, "name": "VariableDeclaration", - "src": "32545:13:1" + "src": "33468:13:0" } ], - "id": 1737, + "id": 1229, "name": "ParameterList", - "src": "32520:39:1" + "src": "33443:39:0" }, { "children": [ @@ -53386,7 +53386,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53398,25 +53398,25 @@ "name": "bool", "type": "bool" }, - "id": 1738, + "id": 1230, "name": "ElementaryTypeName", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1739, + "id": 1231, "name": "VariableDeclaration", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1740, + "id": 1232, "name": "ParameterList", - "src": "32577:6:1" + "src": "33500:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1740 + "functionReturnParameters": 1232 }, "children": [ { @@ -53438,7 +53438,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53449,13 +53449,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1741, + "id": 1233, "name": "Identifier", - "src": "32601:7:1" + "src": "33525:7:0" }, { "attributes": { @@ -53464,7 +53464,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53473,18 +53473,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1734, + "referencedDeclaration": 1226, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1742, + "id": 1234, "name": "Identifier", - "src": "32609:3:1" + "src": "33533:3:0" } ], - "id": 1743, + "id": 1235, "name": "MemberAccess", - "src": "32609:10:1" + "src": "33533:10:0" }, { "attributes": { @@ -53520,14 +53520,14 @@ "attributes": { "name": "bytes32" }, - "id": 1744, + "id": 1236, "name": "ElementaryTypeName", - "src": "32621:7:1" + "src": "33545:7:0" } ], - "id": 1745, + "id": 1237, "name": "ElementaryTypeNameExpression", - "src": "32621:7:1" + "src": "33545:7:0" }, { "attributes": { @@ -53563,14 +53563,14 @@ "attributes": { "name": "uint256" }, - "id": 1746, + "id": 1238, "name": "ElementaryTypeName", - "src": "32629:7:1" + "src": "33553:7:0" } ], - "id": 1747, + "id": 1239, "name": "ElementaryTypeNameExpression", - "src": "32629:7:1" + "src": "33553:7:0" }, { "attributes": { @@ -53606,62 +53606,62 @@ "attributes": { "name": "uint160" }, - "id": 1748, + "id": 1240, "name": "ElementaryTypeName", - "src": "32637:7:1" + "src": "33561:7:0" } ], - "id": 1749, + "id": 1241, "name": "ElementaryTypeNameExpression", - "src": "32637:7:1" + "src": "33561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1736, + "referencedDeclaration": 1228, "type": "address", "value": "value" }, - "id": 1750, + "id": 1242, "name": "Identifier", - "src": "32645:5:1" + "src": "33569:5:0" } ], - "id": 1751, + "id": 1243, "name": "FunctionCall", - "src": "32637:14:1" + "src": "33561:14:0" } ], - "id": 1752, + "id": 1244, "name": "FunctionCall", - "src": "32629:23:1" + "src": "33553:23:0" } ], - "id": 1753, + "id": 1245, "name": "FunctionCall", - "src": "32621:32:1" + "src": "33545:32:0" } ], - "id": 1754, + "id": 1246, "name": "FunctionCall", - "src": "32601:53:1" + "src": "33525:53:0" } ], - "id": 1755, + "id": 1247, "name": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ], - "id": 1756, + "id": 1248, "name": "Block", - "src": "32584:77:1" + "src": "33507:79:0" } ], - "id": 1757, + "id": 1249, "name": "FunctionDefinition", - "src": "32505:156:1" + "src": "33428:158:0" }, { "attributes": { @@ -53672,7 +53672,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -53682,9 +53682,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1758, + "id": 1250, "name": "StructuredDocumentation", - "src": "32667:70:1" + "src": "33594:72:0" }, { "children": [ @@ -53693,7 +53693,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53703,24 +53703,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1759, + "id": 1251, "name": "UserDefinedTypeName", - "src": "32760:10:1" + "src": "33690:10:0" } ], - "id": 1760, + "id": 1252, "name": "VariableDeclaration", - "src": "32760:22:1" + "src": "33690:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53733,19 +53733,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1761, + "id": 1253, "name": "ElementaryTypeName", - "src": "32784:7:1" + "src": "33714:7:0" } ], - "id": 1762, + "id": 1254, "name": "VariableDeclaration", - "src": "32784:13:1" + "src": "33714:13:0" } ], - "id": 1763, + "id": 1255, "name": "ParameterList", - "src": "32759:39:1" + "src": "33689:39:0" }, { "children": [ @@ -53754,7 +53754,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53766,25 +53766,25 @@ "name": "bool", "type": "bool" }, - "id": 1764, + "id": 1256, "name": "ElementaryTypeName", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1765, + "id": 1257, "name": "VariableDeclaration", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1766, + "id": 1258, "name": "ParameterList", - "src": "32821:6:1" + "src": "33751:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1766 + "functionReturnParameters": 1258 }, "children": [ { @@ -53806,7 +53806,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53817,13 +53817,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1767, + "id": 1259, "name": "Identifier", - "src": "32845:9:1" + "src": "33776:9:0" }, { "attributes": { @@ -53832,7 +53832,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53841,18 +53841,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1760, + "referencedDeclaration": 1252, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1768, + "id": 1260, "name": "Identifier", - "src": "32855:3:1" + "src": "33786:3:0" } ], - "id": 1769, + "id": 1261, "name": "MemberAccess", - "src": "32855:10:1" + "src": "33786:10:0" }, { "attributes": { @@ -53888,14 +53888,14 @@ "attributes": { "name": "bytes32" }, - "id": 1770, + "id": 1262, "name": "ElementaryTypeName", - "src": "32867:7:1" + "src": "33798:7:0" } ], - "id": 1771, + "id": 1263, "name": "ElementaryTypeNameExpression", - "src": "32867:7:1" + "src": "33798:7:0" }, { "attributes": { @@ -53931,14 +53931,14 @@ "attributes": { "name": "uint256" }, - "id": 1772, + "id": 1264, "name": "ElementaryTypeName", - "src": "32875:7:1" + "src": "33806:7:0" } ], - "id": 1773, + "id": 1265, "name": "ElementaryTypeNameExpression", - "src": "32875:7:1" + "src": "33806:7:0" }, { "attributes": { @@ -53974,62 +53974,62 @@ "attributes": { "name": "uint160" }, - "id": 1774, + "id": 1266, "name": "ElementaryTypeName", - "src": "32883:7:1" + "src": "33814:7:0" } ], - "id": 1775, + "id": 1267, "name": "ElementaryTypeNameExpression", - "src": "32883:7:1" + "src": "33814:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1762, + "referencedDeclaration": 1254, "type": "address", "value": "value" }, - "id": 1776, + "id": 1268, "name": "Identifier", - "src": "32891:5:1" + "src": "33822:5:0" } ], - "id": 1777, + "id": 1269, "name": "FunctionCall", - "src": "32883:14:1" + "src": "33814:14:0" } ], - "id": 1778, + "id": 1270, "name": "FunctionCall", - "src": "32875:23:1" + "src": "33806:23:0" } ], - "id": 1779, + "id": 1271, "name": "FunctionCall", - "src": "32867:32:1" + "src": "33798:32:0" } ], - "id": 1780, + "id": 1272, "name": "FunctionCall", - "src": "32845:55:1" + "src": "33776:55:0" } ], - "id": 1781, + "id": 1273, "name": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ], - "id": 1782, + "id": 1274, "name": "Block", - "src": "32828:79:1" + "src": "33758:81:0" } ], - "id": 1783, + "id": 1275, "name": "FunctionDefinition", - "src": "32742:165:1" + "src": "33672:167:0" }, { "attributes": { @@ -54040,7 +54040,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54050,9 +54050,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1784, + "id": 1276, "name": "StructuredDocumentation", - "src": "32913:70:1" + "src": "33847:72:0" }, { "children": [ @@ -54061,7 +54061,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54071,22 +54071,22 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1785, + "id": 1277, "name": "UserDefinedTypeName", - "src": "33004:10:1" + "src": "33941:10:0" } ], - "id": 1786, + "id": 1278, "name": "VariableDeclaration", - "src": "33004:22:1" + "src": "33941:22:0" } ], - "id": 1787, + "id": 1279, "name": "ParameterList", - "src": "33003:24:1" + "src": "33940:24:0" }, { "children": [ @@ -54095,7 +54095,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54107,25 +54107,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1788, + "id": 1280, "name": "ElementaryTypeName", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1789, + "id": 1281, "name": "VariableDeclaration", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1790, + "id": 1282, "name": "ParameterList", - "src": "33050:9:1" + "src": "33987:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1790 + "functionReturnParameters": 1282 }, "children": [ { @@ -54147,20 +54147,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1791, + "id": 1283, "name": "Identifier", - "src": "33077:7:1" + "src": "34015:7:0" }, { "attributes": { @@ -54169,7 +54169,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54178,38 +54178,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1786, + "referencedDeclaration": 1278, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1792, + "id": 1284, "name": "Identifier", - "src": "33085:3:1" + "src": "34023:3:0" } ], - "id": 1793, + "id": 1285, "name": "MemberAccess", - "src": "33085:10:1" + "src": "34023:10:0" } ], - "id": 1794, + "id": 1286, "name": "FunctionCall", - "src": "33077:19:1" + "src": "34015:19:0" } ], - "id": 1795, + "id": 1287, "name": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ], - "id": 1796, + "id": 1288, "name": "Block", - "src": "33060:43:1" + "src": "33997:45:0" } ], - "id": 1797, + "id": 1289, "name": "FunctionDefinition", - "src": "32988:115:1" + "src": "33925:117:0" }, { "attributes": { @@ -54220,7 +54220,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54230,9 +54230,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1798, + "id": 1290, "name": "StructuredDocumentation", - "src": "33108:322:1" + "src": "34049:331:0" }, { "children": [ @@ -54241,7 +54241,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54251,24 +54251,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1799, + "id": 1291, "name": "UserDefinedTypeName", - "src": "33447:10:1" + "src": "34398:10:0" } ], - "id": 1800, + "id": 1292, "name": "VariableDeclaration", - "src": "33447:22:1" + "src": "34398:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54280,19 +54280,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1801, + "id": 1293, "name": "ElementaryTypeName", - "src": "33471:7:1" + "src": "34422:7:0" } ], - "id": 1802, + "id": 1294, "name": "VariableDeclaration", - "src": "33471:13:1" + "src": "34422:13:0" } ], - "id": 1803, + "id": 1295, "name": "ParameterList", - "src": "33446:39:1" + "src": "34397:39:0" }, { "children": [ @@ -54301,7 +54301,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -54314,25 +54314,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1804, + "id": 1296, "name": "ElementaryTypeName", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1805, + "id": 1297, "name": "VariableDeclaration", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1806, + "id": 1298, "name": "ParameterList", - "src": "33508:9:1" + "src": "34459:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1806 + "functionReturnParameters": 1298 }, "children": [ { @@ -54369,14 +54369,14 @@ "attributes": { "name": "address" }, - "id": 1807, + "id": 1299, "name": "ElementaryTypeName", - "src": "33535:7:1" + "src": "34487:7:0" } ], - "id": 1808, + "id": 1300, "name": "ElementaryTypeNameExpression", - "src": "33535:7:1" + "src": "34487:7:0" }, { "attributes": { @@ -54412,14 +54412,14 @@ "attributes": { "name": "uint160" }, - "id": 1809, + "id": 1301, "name": "ElementaryTypeName", - "src": "33543:7:1" + "src": "34495:7:0" } ], - "id": 1810, + "id": 1302, "name": "ElementaryTypeNameExpression", - "src": "33543:7:1" + "src": "34495:7:0" }, { "attributes": { @@ -54455,14 +54455,14 @@ "attributes": { "name": "uint256" }, - "id": 1811, + "id": 1303, "name": "ElementaryTypeName", - "src": "33551:7:1" + "src": "34503:7:0" } ], - "id": 1812, + "id": 1304, "name": "ElementaryTypeNameExpression", - "src": "33551:7:1" + "src": "34503:7:0" }, { "attributes": { @@ -54483,7 +54483,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54494,13 +54494,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1813, + "id": 1305, "name": "Identifier", - "src": "33559:3:1" + "src": "34511:3:0" }, { "attributes": { @@ -54509,7 +54509,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54518,72 +54518,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1800, + "referencedDeclaration": 1292, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1814, + "id": 1306, "name": "Identifier", - "src": "33563:3:1" + "src": "34515:3:0" } ], - "id": 1815, + "id": 1307, "name": "MemberAccess", - "src": "33563:10:1" + "src": "34515:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1802, + "referencedDeclaration": 1294, "type": "uint256", "value": "index" }, - "id": 1816, + "id": 1308, "name": "Identifier", - "src": "33575:5:1" + "src": "34527:5:0" } ], - "id": 1817, + "id": 1309, "name": "FunctionCall", - "src": "33559:22:1" + "src": "34511:22:0" } ], - "id": 1818, + "id": 1310, "name": "FunctionCall", - "src": "33551:31:1" + "src": "34503:31:0" } ], - "id": 1819, + "id": 1311, "name": "FunctionCall", - "src": "33543:40:1" + "src": "34495:40:0" } ], - "id": 1820, + "id": 1312, "name": "FunctionCall", - "src": "33535:49:1" + "src": "34487:49:0" } ], - "id": 1821, + "id": 1313, "name": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ], - "id": 1822, + "id": 1314, "name": "Block", - "src": "33518:73:1" + "src": "34469:75:0" } ], - "id": 1823, + "id": 1315, "name": "FunctionDefinition", - "src": "33435:156:1" + "src": "34386:158:0" }, { "attributes": { "canonicalName": "EnumerableSet.UintSet", "name": "UintSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -54592,7 +54592,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1826, + "scope": 1318, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -54602,22 +54602,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1824, + "id": 1316, "name": "UserDefinedTypeName", - "src": "33639:3:1" + "src": "34598:3:0" } ], - "id": 1825, + "id": 1317, "name": "VariableDeclaration", - "src": "33639:10:1" + "src": "34598:10:0" } ], - "id": 1826, + "id": 1318, "name": "StructDefinition", - "src": "33614:42:1" + "src": "34572:44:0" }, { "attributes": { @@ -54628,7 +54628,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -54638,9 +54638,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1827, + "id": 1319, "name": "StructuredDocumentation", - "src": "33662:159:1" + "src": "34624:164:0" }, { "children": [ @@ -54649,7 +54649,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -54659,24 +54659,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1828, + "id": 1320, "name": "UserDefinedTypeName", - "src": "33839:7:1" + "src": "34807:7:0" } ], - "id": 1829, + "id": 1321, "name": "VariableDeclaration", - "src": "33839:19:1" + "src": "34807:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54688,19 +54688,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1830, + "id": 1322, "name": "ElementaryTypeName", - "src": "33860:7:1" + "src": "34828:7:0" } ], - "id": 1831, + "id": 1323, "name": "VariableDeclaration", - "src": "33860:13:1" + "src": "34828:13:0" } ], - "id": 1832, + "id": 1324, "name": "ParameterList", - "src": "33838:36:1" + "src": "34806:36:0" }, { "children": [ @@ -54709,7 +54709,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -54721,25 +54721,25 @@ "name": "bool", "type": "bool" }, - "id": 1833, + "id": 1325, "name": "ElementaryTypeName", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1834, + "id": 1326, "name": "VariableDeclaration", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1835, + "id": 1327, "name": "ParameterList", - "src": "33892:6:1" + "src": "34860:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1835 + "functionReturnParameters": 1327 }, "children": [ { @@ -54761,7 +54761,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54772,13 +54772,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1836, + "id": 1328, "name": "Identifier", - "src": "33916:4:1" + "src": "34885:4:0" }, { "attributes": { @@ -54787,7 +54787,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54796,18 +54796,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1829, + "referencedDeclaration": 1321, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1837, + "id": 1329, "name": "Identifier", - "src": "33921:3:1" + "src": "34890:3:0" } ], - "id": 1838, + "id": 1330, "name": "MemberAccess", - "src": "33921:10:1" + "src": "34890:10:0" }, { "attributes": { @@ -54843,52 +54843,52 @@ "attributes": { "name": "bytes32" }, - "id": 1839, + "id": 1331, "name": "ElementaryTypeName", - "src": "33933:7:1" + "src": "34902:7:0" } ], - "id": 1840, + "id": 1332, "name": "ElementaryTypeNameExpression", - "src": "33933:7:1" + "src": "34902:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1831, + "referencedDeclaration": 1323, "type": "uint256", "value": "value" }, - "id": 1841, + "id": 1333, "name": "Identifier", - "src": "33941:5:1" + "src": "34910:5:0" } ], - "id": 1842, + "id": 1334, "name": "FunctionCall", - "src": "33933:14:1" + "src": "34902:14:0" } ], - "id": 1843, + "id": 1335, "name": "FunctionCall", - "src": "33916:32:1" + "src": "34885:32:0" } ], - "id": 1844, + "id": 1336, "name": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ], - "id": 1845, + "id": 1337, "name": "Block", - "src": "33899:56:1" + "src": "34867:58:0" } ], - "id": 1846, + "id": 1338, "name": "FunctionDefinition", - "src": "33826:129:1" + "src": "34794:131:0" }, { "attributes": { @@ -54899,7 +54899,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -54909,9 +54909,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1847, + "id": 1339, "name": "StructuredDocumentation", - "src": "33961:157:1" + "src": "34933:162:0" }, { "children": [ @@ -54920,7 +54920,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -54930,24 +54930,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1848, + "id": 1340, "name": "UserDefinedTypeName", - "src": "34139:7:1" + "src": "35117:7:0" } ], - "id": 1849, + "id": 1341, "name": "VariableDeclaration", - "src": "34139:19:1" + "src": "35117:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54959,19 +54959,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1850, + "id": 1342, "name": "ElementaryTypeName", - "src": "34160:7:1" + "src": "35138:7:0" } ], - "id": 1851, + "id": 1343, "name": "VariableDeclaration", - "src": "34160:13:1" + "src": "35138:13:0" } ], - "id": 1852, + "id": 1344, "name": "ParameterList", - "src": "34138:36:1" + "src": "35116:36:0" }, { "children": [ @@ -54980,7 +54980,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -54992,25 +54992,25 @@ "name": "bool", "type": "bool" }, - "id": 1853, + "id": 1345, "name": "ElementaryTypeName", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1854, + "id": 1346, "name": "VariableDeclaration", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1855, + "id": 1347, "name": "ParameterList", - "src": "34192:6:1" + "src": "35170:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1855 + "functionReturnParameters": 1347 }, "children": [ { @@ -55032,7 +55032,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55043,13 +55043,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1856, + "id": 1348, "name": "Identifier", - "src": "34216:7:1" + "src": "35195:7:0" }, { "attributes": { @@ -55058,7 +55058,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55067,18 +55067,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1849, + "referencedDeclaration": 1341, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1857, + "id": 1349, "name": "Identifier", - "src": "34224:3:1" + "src": "35203:3:0" } ], - "id": 1858, + "id": 1350, "name": "MemberAccess", - "src": "34224:10:1" + "src": "35203:10:0" }, { "attributes": { @@ -55114,52 +55114,52 @@ "attributes": { "name": "bytes32" }, - "id": 1859, + "id": 1351, "name": "ElementaryTypeName", - "src": "34236:7:1" + "src": "35215:7:0" } ], - "id": 1860, + "id": 1352, "name": "ElementaryTypeNameExpression", - "src": "34236:7:1" + "src": "35215:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1851, + "referencedDeclaration": 1343, "type": "uint256", "value": "value" }, - "id": 1861, + "id": 1353, "name": "Identifier", - "src": "34244:5:1" + "src": "35223:5:0" } ], - "id": 1862, + "id": 1354, "name": "FunctionCall", - "src": "34236:14:1" + "src": "35215:14:0" } ], - "id": 1863, + "id": 1355, "name": "FunctionCall", - "src": "34216:35:1" + "src": "35195:35:0" } ], - "id": 1864, + "id": 1356, "name": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ], - "id": 1865, + "id": 1357, "name": "Block", - "src": "34199:59:1" + "src": "35177:61:0" } ], - "id": 1866, + "id": 1358, "name": "FunctionDefinition", - "src": "34123:135:1" + "src": "35101:137:0" }, { "attributes": { @@ -55170,7 +55170,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55180,9 +55180,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1867, + "id": 1359, "name": "StructuredDocumentation", - "src": "34264:70:1" + "src": "35246:72:0" }, { "children": [ @@ -55191,7 +55191,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55201,24 +55201,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1868, + "id": 1360, "name": "UserDefinedTypeName", - "src": "34357:7:1" + "src": "35342:7:0" } ], - "id": 1869, + "id": 1361, "name": "VariableDeclaration", - "src": "34357:19:1" + "src": "35342:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55230,19 +55230,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1870, + "id": 1362, "name": "ElementaryTypeName", - "src": "34378:7:1" + "src": "35363:7:0" } ], - "id": 1871, + "id": 1363, "name": "VariableDeclaration", - "src": "34378:13:1" + "src": "35363:13:0" } ], - "id": 1872, + "id": 1364, "name": "ParameterList", - "src": "34356:36:1" + "src": "35341:36:0" }, { "children": [ @@ -55251,7 +55251,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55263,25 +55263,25 @@ "name": "bool", "type": "bool" }, - "id": 1873, + "id": 1365, "name": "ElementaryTypeName", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1874, + "id": 1366, "name": "VariableDeclaration", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1875, + "id": 1367, "name": "ParameterList", - "src": "34415:6:1" + "src": "35400:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1875 + "functionReturnParameters": 1367 }, "children": [ { @@ -55303,7 +55303,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55314,13 +55314,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1876, + "id": 1368, "name": "Identifier", - "src": "34439:9:1" + "src": "35425:9:0" }, { "attributes": { @@ -55329,7 +55329,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55338,18 +55338,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1869, + "referencedDeclaration": 1361, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1877, + "id": 1369, "name": "Identifier", - "src": "34449:3:1" + "src": "35435:3:0" } ], - "id": 1878, + "id": 1370, "name": "MemberAccess", - "src": "34449:10:1" + "src": "35435:10:0" }, { "attributes": { @@ -55385,52 +55385,52 @@ "attributes": { "name": "bytes32" }, - "id": 1879, + "id": 1371, "name": "ElementaryTypeName", - "src": "34461:7:1" + "src": "35447:7:0" } ], - "id": 1880, + "id": 1372, "name": "ElementaryTypeNameExpression", - "src": "34461:7:1" + "src": "35447:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1871, + "referencedDeclaration": 1363, "type": "uint256", "value": "value" }, - "id": 1881, + "id": 1373, "name": "Identifier", - "src": "34469:5:1" + "src": "35455:5:0" } ], - "id": 1882, + "id": 1374, "name": "FunctionCall", - "src": "34461:14:1" + "src": "35447:14:0" } ], - "id": 1883, + "id": 1375, "name": "FunctionCall", - "src": "34439:37:1" + "src": "35425:37:0" } ], - "id": 1884, + "id": 1376, "name": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ], - "id": 1885, + "id": 1377, "name": "Block", - "src": "34422:61:1" + "src": "35407:63:0" } ], - "id": 1886, + "id": 1378, "name": "FunctionDefinition", - "src": "34339:144:1" + "src": "35324:146:0" }, { "attributes": { @@ -55441,7 +55441,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55451,9 +55451,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1887, + "id": 1379, "name": "StructuredDocumentation", - "src": "34489:70:1" + "src": "35478:72:0" }, { "children": [ @@ -55462,7 +55462,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55472,22 +55472,22 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1888, + "id": 1380, "name": "UserDefinedTypeName", - "src": "34580:7:1" + "src": "35572:7:0" } ], - "id": 1889, + "id": 1381, "name": "VariableDeclaration", - "src": "34580:19:1" + "src": "35572:19:0" } ], - "id": 1890, + "id": 1382, "name": "ParameterList", - "src": "34579:21:1" + "src": "35571:21:0" }, { "children": [ @@ -55496,7 +55496,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55508,25 +55508,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1891, + "id": 1383, "name": "ElementaryTypeName", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1892, + "id": 1384, "name": "VariableDeclaration", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1893, + "id": 1385, "name": "ParameterList", - "src": "34623:9:1" + "src": "35615:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1893 + "functionReturnParameters": 1385 }, "children": [ { @@ -55548,20 +55548,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1894, + "id": 1386, "name": "Identifier", - "src": "34650:7:1" + "src": "35643:7:0" }, { "attributes": { @@ -55570,7 +55570,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55579,38 +55579,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1889, + "referencedDeclaration": 1381, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1895, + "id": 1387, "name": "Identifier", - "src": "34658:3:1" + "src": "35651:3:0" } ], - "id": 1896, + "id": 1388, "name": "MemberAccess", - "src": "34658:10:1" + "src": "35651:10:0" } ], - "id": 1897, + "id": 1389, "name": "FunctionCall", - "src": "34650:19:1" + "src": "35643:19:0" } ], - "id": 1898, + "id": 1390, "name": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ], - "id": 1899, + "id": 1391, "name": "Block", - "src": "34633:43:1" + "src": "35625:45:0" } ], - "id": 1900, + "id": 1392, "name": "FunctionDefinition", - "src": "34564:112:1" + "src": "35556:114:0" }, { "attributes": { @@ -55621,7 +55621,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55631,9 +55631,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1901, + "id": 1393, "name": "StructuredDocumentation", - "src": "34681:322:1" + "src": "35677:331:0" }, { "children": [ @@ -55642,7 +55642,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55652,24 +55652,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1902, + "id": 1394, "name": "UserDefinedTypeName", - "src": "35020:7:1" + "src": "36026:7:0" } ], - "id": 1903, + "id": 1395, "name": "VariableDeclaration", - "src": "35020:19:1" + "src": "36026:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55681,19 +55681,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1904, + "id": 1396, "name": "ElementaryTypeName", - "src": "35041:7:1" + "src": "36047:7:0" } ], - "id": 1905, + "id": 1397, "name": "VariableDeclaration", - "src": "35041:13:1" + "src": "36047:13:0" } ], - "id": 1906, + "id": 1398, "name": "ParameterList", - "src": "35019:36:1" + "src": "36025:36:0" }, { "children": [ @@ -55702,7 +55702,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55714,25 +55714,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1907, + "id": 1399, "name": "ElementaryTypeName", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1908, + "id": 1400, "name": "VariableDeclaration", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1909, + "id": 1401, "name": "ParameterList", - "src": "35078:9:1" + "src": "36084:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1909 + "functionReturnParameters": 1401 }, "children": [ { @@ -55769,14 +55769,14 @@ "attributes": { "name": "uint256" }, - "id": 1910, + "id": 1402, "name": "ElementaryTypeName", - "src": "35105:7:1" + "src": "36112:7:0" } ], - "id": 1911, + "id": 1403, "name": "ElementaryTypeNameExpression", - "src": "35105:7:1" + "src": "36112:7:0" }, { "attributes": { @@ -55797,7 +55797,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55808,13 +55808,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1912, + "id": 1404, "name": "Identifier", - "src": "35113:3:1" + "src": "36120:3:0" }, { "attributes": { @@ -55823,7 +55823,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55832,61 +55832,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1903, + "referencedDeclaration": 1395, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1913, + "id": 1405, "name": "Identifier", - "src": "35117:3:1" + "src": "36124:3:0" } ], - "id": 1914, + "id": 1406, "name": "MemberAccess", - "src": "35117:10:1" + "src": "36124:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1905, + "referencedDeclaration": 1397, "type": "uint256", "value": "index" }, - "id": 1915, + "id": 1407, "name": "Identifier", - "src": "35129:5:1" + "src": "36136:5:0" } ], - "id": 1916, + "id": 1408, "name": "FunctionCall", - "src": "35113:22:1" + "src": "36120:22:0" } ], - "id": 1917, + "id": 1409, "name": "FunctionCall", - "src": "35105:31:1" + "src": "36112:31:0" } ], - "id": 1918, + "id": 1410, "name": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ], - "id": 1919, + "id": 1411, "name": "Block", - "src": "35088:55:1" + "src": "36094:57:0" } ], - "id": 1920, + "id": 1412, "name": "FunctionDefinition", - "src": "35008:135:1" + "src": "36014:137:0" } ], - "id": 1921, + "id": 1413, "name": "ContractDefinition", - "src": "26511:8634:1" + "src": "27252:8902:0" }, { "attributes": { @@ -55900,9 +55900,9 @@ ".0" ] }, - "id": 1922, + "id": 1414, "name": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "attributes": { @@ -55916,25 +55916,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, - "id": 1923, + "id": 1415, "name": "StructuredDocumentation", - "src": "35237:705:1" + "src": "36251:728:0" }, { "attributes": { "canonicalName": "EnumerableMap.MapEntry", "name": "MapEntry", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -55943,7 +55943,7 @@ "constant": false, "mutability": "mutable", "name": "_key", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -55955,21 +55955,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1924, + "id": 1416, "name": "ElementaryTypeName", - "src": "36455:7:1" + "src": "37504:7:0" } ], - "id": 1925, + "id": 1417, "name": "VariableDeclaration", - "src": "36455:12:1" + "src": "37504:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_value", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -55981,25 +55981,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1926, + "id": 1418, "name": "ElementaryTypeName", - "src": "36477:7:1" + "src": "37527:7:0" } ], - "id": 1927, + "id": 1419, "name": "VariableDeclaration", - "src": "36477:14:1" + "src": "37527:14:0" } ], - "id": 1928, + "id": 1420, "name": "StructDefinition", - "src": "36429:69:1" + "src": "37477:72:0" }, { "attributes": { "canonicalName": "EnumerableMap.Map", "name": "Map", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -56008,7 +56008,7 @@ "constant": false, "mutability": "mutable", "name": "_entries", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.MapEntry[]", @@ -56023,29 +56023,29 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 1929, + "id": 1421, "name": "UserDefinedTypeName", - "src": "36567:8:1" + "src": "37622:8:0" } ], - "id": 1930, + "id": 1422, "name": "ArrayTypeName", - "src": "36567:10:1" + "src": "37622:10:0" } ], - "id": 1931, + "id": 1423, "name": "VariableDeclaration", - "src": "36567:19:1" + "src": "37622:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -56062,33 +56062,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1932, + "id": 1424, "name": "ElementaryTypeName", - "src": "36745:7:1" + "src": "37804:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1933, + "id": 1425, "name": "ElementaryTypeName", - "src": "36756:7:1" + "src": "37815:7:0" } ], - "id": 1934, + "id": 1426, "name": "Mapping", - "src": "36736:28:1" + "src": "37795:28:0" } ], - "id": 1935, + "id": 1427, "name": "VariableDeclaration", - "src": "36736:37:1" + "src": "37795:37:0" } ], - "id": 1936, + "id": 1428, "name": "StructDefinition", - "src": "36504:276:1" + "src": "37557:283:0" }, { "attributes": { @@ -56099,7 +56099,7 @@ null ], "name": "_set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56109,9 +56109,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1937, + "id": 1429, "name": "StructuredDocumentation", - "src": "36786:216:1" + "src": "37848:222:0" }, { "children": [ @@ -56120,7 +56120,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56130,24 +56130,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 1938, + "id": 1430, "name": "UserDefinedTypeName", - "src": "37021:3:1" + "src": "38090:3:0" } ], - "id": 1939, + "id": 1431, "name": "VariableDeclaration", - "src": "37021:15:1" + "src": "38090:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56159,21 +56159,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1940, + "id": 1432, "name": "ElementaryTypeName", - "src": "37038:7:1" + "src": "38107:7:0" } ], - "id": 1941, + "id": 1433, "name": "VariableDeclaration", - "src": "37038:11:1" + "src": "38107:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56185,19 +56185,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1942, + "id": 1434, "name": "ElementaryTypeName", - "src": "37051:7:1" + "src": "38120:7:0" } ], - "id": 1943, + "id": 1435, "name": "VariableDeclaration", - "src": "37051:13:1" + "src": "38120:13:0" } ], - "id": 1944, + "id": 1436, "name": "ParameterList", - "src": "37020:45:1" + "src": "38089:45:0" }, { "children": [ @@ -56206,7 +56206,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -56218,26 +56218,26 @@ "name": "bool", "type": "bool" }, - "id": 1945, + "id": 1437, "name": "ElementaryTypeName", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1946, + "id": 1438, "name": "VariableDeclaration", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1947, + "id": 1439, "name": "ParameterList", - "src": "37082:6:1" + "src": "38151:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1949 + 1441 ] }, "children": [ @@ -56246,7 +56246,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 1997, + "scope": 1489, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -56258,14 +56258,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1948, + "id": 1440, "name": "ElementaryTypeName", - "src": "37197:7:1" + "src": "38268:7:0" } ], - "id": 1949, + "id": 1441, "name": "VariableDeclaration", - "src": "37197:16:1" + "src": "38268:16:0" }, { "attributes": { @@ -56283,7 +56283,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56292,41 +56292,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1950, + "id": 1442, "name": "Identifier", - "src": "37216:3:1" + "src": "38287:3:0" } ], - "id": 1951, + "id": 1443, "name": "MemberAccess", - "src": "37216:12:1" + "src": "38287:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1952, + "id": 1444, "name": "Identifier", - "src": "37229:3:1" + "src": "38300:3:0" } ], - "id": 1953, + "id": 1445, "name": "IndexAccess", - "src": "37216:17:1" + "src": "38287:17:0" } ], - "id": 1954, + "id": 1446, "name": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "children": [ @@ -56349,13 +56349,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1955, + "id": 1447, "name": "Identifier", - "src": "37248:8:1" + "src": "38321:8:0" }, { "attributes": { @@ -56368,14 +56368,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1956, + "id": 1448, "name": "Literal", - "src": "37260:1:1" + "src": "38333:1:0" } ], - "id": 1957, + "id": 1449, "name": "BinaryOperation", - "src": "37248:13:1" + "src": "38321:13:0" }, { "children": [ @@ -56400,7 +56400,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], @@ -56419,7 +56419,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56428,23 +56428,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1958, + "id": 1450, "name": "Identifier", - "src": "37314:3:1" + "src": "38388:3:0" } ], - "id": 1961, + "id": 1453, "name": "MemberAccess", - "src": "37314:12:1" + "src": "38388:12:0" } ], - "id": 1962, + "id": 1454, "name": "MemberAccess", - "src": "37314:17:1" + "src": "38388:17:0" }, { "attributes": { @@ -56477,54 +56477,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "type(struct EnumerableMap.MapEntry storage pointer)", "value": "MapEntry" }, - "id": 1963, + "id": 1455, "name": "Identifier", - "src": "37332:8:1" + "src": "38406:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1964, + "id": 1456, "name": "Identifier", - "src": "37349:3:1" + "src": "38423:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1965, + "id": 1457, "name": "Identifier", - "src": "37362:5:1" + "src": "38436:5:0" } ], - "id": 1966, + "id": 1458, "name": "FunctionCall", - "src": "37332:38:1" + "src": "38406:38:0" } ], - "id": 1967, + "id": 1459, "name": "FunctionCall", - "src": "37314:57:1" + "src": "38388:57:0" } ], - "id": 1968, + "id": 1460, "name": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "children": [ @@ -56554,7 +56554,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56563,36 +56563,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1969, + "id": 1461, "name": "Identifier", - "src": "37506:3:1" + "src": "38583:3:0" } ], - "id": 1972, + "id": 1464, "name": "MemberAccess", - "src": "37506:12:1" + "src": "38583:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1971, + "id": 1463, "name": "Identifier", - "src": "37519:3:1" + "src": "38596:3:0" } ], - "id": 1973, + "id": 1465, "name": "IndexAccess", - "src": "37506:17:1" + "src": "38583:17:0" }, { "attributes": { @@ -56611,7 +56611,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56620,37 +56620,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1974, + "id": 1466, "name": "Identifier", - "src": "37526:3:1" + "src": "38603:3:0" } ], - "id": 1975, + "id": 1467, "name": "MemberAccess", - "src": "37526:12:1" + "src": "38603:12:0" } ], - "id": 1976, + "id": 1468, "name": "MemberAccess", - "src": "37526:19:1" + "src": "38603:19:0" } ], - "id": 1977, + "id": 1469, "name": "Assignment", - "src": "37506:39:1" + "src": "38583:39:0" } ], - "id": 1978, + "id": 1470, "name": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -56664,19 +56664,19 @@ "type": "bool", "value": "true" }, - "id": 1979, + "id": 1471, "name": "Literal", - "src": "37566:4:1" + "src": "38644:4:0" } ], - "id": 1980, + "id": 1472, "name": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ], - "id": 1981, + "id": 1473, "name": "Block", - "src": "37263:318:1" + "src": "38336:324:0" }, { "children": [ @@ -56699,7 +56699,7 @@ "isPure": false, "lValueRequested": true, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -56719,7 +56719,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56728,18 +56728,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1982, + "id": 1474, "name": "Identifier", - "src": "37601:3:1" + "src": "38681:3:0" } ], - "id": 1987, + "id": 1479, "name": "MemberAccess", - "src": "37601:12:1" + "src": "38681:12:0" }, { "attributes": { @@ -56760,13 +56760,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1984, + "id": 1476, "name": "Identifier", - "src": "37614:8:1" + "src": "38694:8:0" }, { "attributes": { @@ -56779,51 +56779,51 @@ "type": "int_const 1", "value": "1" }, - "id": 1985, + "id": 1477, "name": "Literal", - "src": "37625:1:1" + "src": "38705:1:0" } ], - "id": 1986, + "id": 1478, "name": "BinaryOperation", - "src": "37614:12:1" + "src": "38694:12:0" } ], - "id": 1988, + "id": 1480, "name": "IndexAccess", - "src": "37601:26:1" + "src": "38681:26:0" } ], - "id": 1989, + "id": 1481, "name": "MemberAccess", - "src": "37601:33:1" + "src": "38681:33:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1990, + "id": 1482, "name": "Identifier", - "src": "37637:5:1" + "src": "38717:5:0" } ], - "id": 1991, + "id": 1483, "name": "Assignment", - "src": "37601:41:1" + "src": "38681:41:0" } ], - "id": 1992, + "id": 1484, "name": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -56837,34 +56837,34 @@ "type": "bool", "value": "false" }, - "id": 1993, + "id": 1485, "name": "Literal", - "src": "37663:5:1" + "src": "38744:5:0" } ], - "id": 1994, + "id": 1486, "name": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ], - "id": 1995, + "id": 1487, "name": "Block", - "src": "37587:92:1" + "src": "38666:95:0" } ], - "id": 1996, + "id": 1488, "name": "IfStatement", - "src": "37244:435:1" + "src": "38317:444:0" } ], - "id": 1997, + "id": 1489, "name": "Block", - "src": "37089:596:1" + "src": "38158:610:0" } ], - "id": 1998, + "id": 1490, "name": "FunctionDefinition", - "src": "37007:678:1" + "src": "38076:692:0" }, { "attributes": { @@ -56875,7 +56875,7 @@ null ], "name": "_remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56885,9 +56885,9 @@ "attributes": { "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 1999, + "id": 1491, "name": "StructuredDocumentation", - "src": "37691:157:1" + "src": "38776:161:0" }, { "children": [ @@ -56896,7 +56896,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56906,24 +56906,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2000, + "id": 1492, "name": "UserDefinedTypeName", - "src": "37870:3:1" + "src": "38960:3:0" } ], - "id": 2001, + "id": 1493, "name": "VariableDeclaration", - "src": "37870:15:1" + "src": "38960:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56935,19 +56935,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2002, + "id": 1494, "name": "ElementaryTypeName", - "src": "37887:7:1" + "src": "38977:7:0" } ], - "id": 2003, + "id": 1495, "name": "VariableDeclaration", - "src": "37887:11:1" + "src": "38977:11:0" } ], - "id": 2004, + "id": 1496, "name": "ParameterList", - "src": "37869:30:1" + "src": "38959:30:0" }, { "children": [ @@ -56956,7 +56956,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -56968,26 +56968,26 @@ "name": "bool", "type": "bool" }, - "id": 2005, + "id": 1497, "name": "ElementaryTypeName", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2006, + "id": 1498, "name": "VariableDeclaration", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2007, + "id": 1499, "name": "ParameterList", - "src": "37916:6:1" + "src": "39006:6:0" }, { "children": [ { "attributes": { "assignments": [ - 2009 + 1501 ] }, "children": [ @@ -56996,7 +56996,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2078, + "scope": 1570, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57008,14 +57008,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2008, + "id": 1500, "name": "ElementaryTypeName", - "src": "38031:7:1" + "src": "39123:7:0" } ], - "id": 2009, + "id": 1501, "name": "VariableDeclaration", - "src": "38031:16:1" + "src": "39123:16:0" }, { "attributes": { @@ -57033,7 +57033,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57042,41 +57042,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2010, + "id": 1502, "name": "Identifier", - "src": "38050:3:1" + "src": "39142:3:0" } ], - "id": 2011, + "id": 1503, "name": "MemberAccess", - "src": "38050:12:1" + "src": "39142:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2012, + "id": 1504, "name": "Identifier", - "src": "38063:3:1" + "src": "39155:3:0" } ], - "id": 2013, + "id": 1505, "name": "IndexAccess", - "src": "38050:17:1" + "src": "39142:17:0" } ], - "id": 2014, + "id": 1506, "name": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "children": [ @@ -57099,13 +57099,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2015, + "id": 1507, "name": "Identifier", - "src": "38082:8:1" + "src": "39176:8:0" }, { "attributes": { @@ -57118,21 +57118,21 @@ "type": "int_const 0", "value": "0" }, - "id": 2016, + "id": 1508, "name": "Literal", - "src": "38094:1:1" + "src": "39188:1:0" } ], - "id": 2017, + "id": 1509, "name": "BinaryOperation", - "src": "38082:13:1" + "src": "39176:13:0" }, { "children": [ { "attributes": { "assignments": [ - 2019 + 1511 ] }, "children": [ @@ -57141,7 +57141,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57153,14 +57153,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2018, + "id": 1510, "name": "ElementaryTypeName", - "src": "38438:7:1" + "src": "39537:7:0" } ], - "id": 2019, + "id": 1511, "name": "VariableDeclaration", - "src": "38438:21:1" + "src": "39537:21:0" }, { "attributes": { @@ -57181,13 +57181,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2020, + "id": 1512, "name": "Identifier", - "src": "38462:8:1" + "src": "39561:8:0" }, { "attributes": { @@ -57200,24 +57200,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2021, + "id": 1513, "name": "Literal", - "src": "38473:1:1" + "src": "39572:1:0" } ], - "id": 2022, + "id": 1514, "name": "BinaryOperation", - "src": "38462:12:1" + "src": "39561:12:0" } ], - "id": 2023, + "id": 1515, "name": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "attributes": { "assignments": [ - 2025 + 1517 ] }, "children": [ @@ -57226,7 +57226,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57238,14 +57238,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2024, + "id": 1516, "name": "ElementaryTypeName", - "src": "38488:7:1" + "src": "39588:7:0" } ], - "id": 2025, + "id": 1517, "name": "VariableDeclaration", - "src": "38488:17:1" + "src": "39588:17:0" }, { "attributes": { @@ -57278,7 +57278,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57287,23 +57287,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2026, + "id": 1518, "name": "Identifier", - "src": "38508:3:1" + "src": "39608:3:0" } ], - "id": 2027, + "id": 1519, "name": "MemberAccess", - "src": "38508:12:1" + "src": "39608:12:0" } ], - "id": 2028, + "id": 1520, "name": "MemberAccess", - "src": "38508:19:1" + "src": "39608:19:0" }, { "attributes": { @@ -57316,24 +57316,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2029, + "id": 1521, "name": "Literal", - "src": "38530:1:1" + "src": "39630:1:0" } ], - "id": 2030, + "id": 1522, "name": "BinaryOperation", - "src": "38508:23:1" + "src": "39608:23:0" } ], - "id": 2031, + "id": 1523, "name": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "attributes": { "assignments": [ - 2033 + 1525 ] }, "children": [ @@ -57342,7 +57342,7 @@ "constant": false, "mutability": "mutable", "name": "lastEntry", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -57352,17 +57352,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2032, + "id": 1524, "name": "UserDefinedTypeName", - "src": "38771:8:1" + "src": "39876:8:0" } ], - "id": 2033, + "id": 1525, "name": "VariableDeclaration", - "src": "38771:26:1" + "src": "39876:26:0" }, { "attributes": { @@ -57380,7 +57380,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57389,41 +57389,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2034, + "id": 1526, "name": "Identifier", - "src": "38800:3:1" + "src": "39905:3:0" } ], - "id": 2035, + "id": 1527, "name": "MemberAccess", - "src": "38800:12:1" + "src": "39905:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2025, + "referencedDeclaration": 1517, "type": "uint256", "value": "lastIndex" }, - "id": 2036, + "id": 1528, "name": "Identifier", - "src": "38813:9:1" + "src": "39918:9:0" } ], - "id": 2037, + "id": 1529, "name": "IndexAccess", - "src": "38800:23:1" + "src": "39905:23:0" } ], - "id": 2038, + "id": 1530, "name": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "children": [ @@ -57453,7 +57453,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57462,59 +57462,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2039, + "id": 1531, "name": "Identifier", - "src": "38915:3:1" + "src": "40023:3:0" } ], - "id": 2042, + "id": 1534, "name": "MemberAccess", - "src": "38915:12:1" + "src": "40023:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2041, + "id": 1533, "name": "Identifier", - "src": "38928:13:1" + "src": "40036:13:0" } ], - "id": 2043, + "id": 1535, "name": "IndexAccess", - "src": "38915:27:1" + "src": "40023:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2044, + "id": 1536, "name": "Identifier", - "src": "38945:9:1" + "src": "40053:9:0" } ], - "id": 2045, + "id": 1537, "name": "Assignment", - "src": "38915:39:1" + "src": "40023:39:0" } ], - "id": 2046, + "id": 1538, "name": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "children": [ @@ -57544,7 +57544,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57553,18 +57553,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2047, + "id": 1539, "name": "Identifier", - "src": "39020:3:1" + "src": "40130:3:0" } ], - "id": 2051, + "id": 1543, "name": "MemberAccess", - "src": "39020:12:1" + "src": "40130:12:0" }, { "attributes": { @@ -57573,7 +57573,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -57582,23 +57582,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2049, + "id": 1541, "name": "Identifier", - "src": "39033:9:1" + "src": "40143:9:0" } ], - "id": 2050, + "id": 1542, "name": "MemberAccess", - "src": "39033:14:1" + "src": "40143:14:0" } ], - "id": 2052, + "id": 1544, "name": "IndexAccess", - "src": "39020:28:1" + "src": "40130:28:0" }, { "attributes": { @@ -57619,13 +57619,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2053, + "id": 1545, "name": "Identifier", - "src": "39051:13:1" + "src": "40161:13:0" }, { "attributes": { @@ -57638,24 +57638,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2054, + "id": 1546, "name": "Literal", - "src": "39067:1:1" + "src": "40177:1:0" } ], - "id": 2055, + "id": 1547, "name": "BinaryOperation", - "src": "39051:17:1" + "src": "40161:17:0" } ], - "id": 2056, + "id": 1548, "name": "Assignment", - "src": "39020:48:1" + "src": "40130:48:0" } ], - "id": 2057, + "id": 1549, "name": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "children": [ @@ -57697,7 +57697,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57706,33 +57706,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2058, + "id": 1550, "name": "Identifier", - "src": "39174:3:1" + "src": "40287:3:0" } ], - "id": 2061, + "id": 1553, "name": "MemberAccess", - "src": "39174:12:1" + "src": "40287:12:0" } ], - "id": 2062, + "id": 1554, "name": "MemberAccess", - "src": "39174:16:1" + "src": "40287:16:0" } ], - "id": 2063, + "id": 1555, "name": "FunctionCall", - "src": "39174:18:1" + "src": "40287:18:0" } ], - "id": 2064, + "id": 1556, "name": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "children": [ @@ -57763,7 +57763,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57772,50 +57772,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2065, + "id": 1557, "name": "Identifier", - "src": "39267:3:1" + "src": "40383:3:0" } ], - "id": 2066, + "id": 1558, "name": "MemberAccess", - "src": "39267:12:1" + "src": "40383:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2067, + "id": 1559, "name": "Identifier", - "src": "39280:3:1" + "src": "40396:3:0" } ], - "id": 2068, + "id": 1560, "name": "IndexAccess", - "src": "39267:17:1" + "src": "40383:17:0" } ], - "id": 2069, + "id": 1561, "name": "UnaryOperation", - "src": "39260:24:1" + "src": "40376:24:0" } ], - "id": 2070, + "id": 1562, "name": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -57829,25 +57829,25 @@ "type": "bool", "value": "true" }, - "id": 2071, + "id": 1563, "name": "Literal", - "src": "39306:4:1" + "src": "40424:4:0" } ], - "id": 2072, + "id": 1564, "name": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ], - "id": 2073, + "id": 1565, "name": "Block", - "src": "38097:1224:1" + "src": "39191:1249:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -57861,34 +57861,34 @@ "type": "bool", "value": "false" }, - "id": 2074, + "id": 1566, "name": "Literal", - "src": "39348:5:1" + "src": "40468:5:0" } ], - "id": 2075, + "id": 1567, "name": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ], - "id": 2076, + "id": 1568, "name": "Block", - "src": "39327:37:1" + "src": "40446:39:0" } ], - "id": 2077, + "id": 1569, "name": "IfStatement", - "src": "38078:1286:1" + "src": "39172:1313:0" } ], - "id": 2078, + "id": 1570, "name": "Block", - "src": "37923:1447:1" + "src": "39013:1479:0" } ], - "id": 2079, + "id": 1571, "name": "FunctionDefinition", - "src": "37853:1517:1" + "src": "38943:1549:0" }, { "attributes": { @@ -57899,7 +57899,7 @@ null ], "name": "_contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -57909,9 +57909,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2080, + "id": 1572, "name": "StructuredDocumentation", - "src": "39376:68:1" + "src": "40500:70:0" }, { "children": [ @@ -57920,7 +57920,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -57930,24 +57930,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2081, + "id": 1573, "name": "UserDefinedTypeName", - "src": "39468:3:1" + "src": "40595:3:0" } ], - "id": 2082, + "id": 1574, "name": "VariableDeclaration", - "src": "39468:15:1" + "src": "40595:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -57959,19 +57959,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2083, + "id": 1575, "name": "ElementaryTypeName", - "src": "39485:7:1" + "src": "40612:7:0" } ], - "id": 2084, + "id": 1576, "name": "VariableDeclaration", - "src": "39485:11:1" + "src": "40612:11:0" } ], - "id": 2085, + "id": 1577, "name": "ParameterList", - "src": "39467:30:1" + "src": "40594:30:0" }, { "children": [ @@ -57980,7 +57980,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -57992,25 +57992,25 @@ "name": "bool", "type": "bool" }, - "id": 2086, + "id": 1578, "name": "ElementaryTypeName", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2087, + "id": 1579, "name": "VariableDeclaration", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2088, + "id": 1580, "name": "ParameterList", - "src": "39519:6:1" + "src": "40646:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2088 + "functionReturnParameters": 1580 }, "children": [ { @@ -58043,7 +58043,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58052,36 +58052,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2082, + "referencedDeclaration": 1574, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2089, + "id": 1581, "name": "Identifier", - "src": "39543:3:1" + "src": "40671:3:0" } ], - "id": 2090, + "id": 1582, "name": "MemberAccess", - "src": "39543:12:1" + "src": "40671:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2084, + "referencedDeclaration": 1576, "type": "bytes32", "value": "key" }, - "id": 2091, + "id": 1583, "name": "Identifier", - "src": "39556:3:1" + "src": "40684:3:0" } ], - "id": 2092, + "id": 1584, "name": "IndexAccess", - "src": "39543:17:1" + "src": "40671:17:0" }, { "attributes": { @@ -58094,29 +58094,29 @@ "type": "int_const 0", "value": "0" }, - "id": 2093, + "id": 1585, "name": "Literal", - "src": "39564:1:1" + "src": "40692:1:0" } ], - "id": 2094, + "id": 1586, "name": "BinaryOperation", - "src": "39543:22:1" + "src": "40671:22:0" } ], - "id": 2095, + "id": 1587, "name": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ], - "id": 2096, + "id": 1588, "name": "Block", - "src": "39526:46:1" + "src": "40653:48:0" } ], - "id": 2097, + "id": 1589, "name": "FunctionDefinition", - "src": "39449:123:1" + "src": "40576:125:0" }, { "attributes": { @@ -58127,7 +58127,7 @@ null ], "name": "_length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58137,9 +58137,9 @@ "attributes": { "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2098, + "id": 1590, "name": "StructuredDocumentation", - "src": "39578:79:1" + "src": "40709:81:0" }, { "children": [ @@ -58148,7 +58148,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58158,22 +58158,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2099, + "id": 1591, "name": "UserDefinedTypeName", - "src": "39679:3:1" + "src": "40813:3:0" } ], - "id": 2100, + "id": 1592, "name": "VariableDeclaration", - "src": "39679:15:1" + "src": "40813:15:0" } ], - "id": 2101, + "id": 1593, "name": "ParameterList", - "src": "39678:17:1" + "src": "40812:17:0" }, { "children": [ @@ -58182,7 +58182,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58194,25 +58194,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2102, + "id": 1594, "name": "ElementaryTypeName", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2103, + "id": 1595, "name": "VariableDeclaration", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2104, + "id": 1596, "name": "ParameterList", - "src": "39717:9:1" + "src": "40851:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2104 + "functionReturnParameters": 1596 }, "children": [ { @@ -58232,7 +58232,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58241,38 +58241,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2100, + "referencedDeclaration": 1592, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2105, + "id": 1597, "name": "Identifier", - "src": "39744:3:1" + "src": "40879:3:0" } ], - "id": 2106, + "id": 1598, "name": "MemberAccess", - "src": "39744:12:1" + "src": "40879:12:0" } ], - "id": 2107, + "id": 1599, "name": "MemberAccess", - "src": "39744:19:1" + "src": "40879:19:0" } ], - "id": 2108, + "id": 1600, "name": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ], - "id": 2109, + "id": 1601, "name": "Block", - "src": "39727:43:1" + "src": "40861:45:0" } ], - "id": 2110, + "id": 1602, "name": "FunctionDefinition", - "src": "39662:108:1" + "src": "40796:110:0" }, { "attributes": { @@ -58283,7 +58283,7 @@ null ], "name": "_at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58293,9 +58293,9 @@ "attributes": { "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2111, + "id": 1603, "name": "StructuredDocumentation", - "src": "39775:333:1" + "src": "40913:342:0" }, { "children": [ @@ -58304,7 +58304,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58314,24 +58314,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2112, + "id": 1604, "name": "UserDefinedTypeName", - "src": "40126:3:1" + "src": "41274:3:0" } ], - "id": 2113, + "id": 1605, "name": "VariableDeclaration", - "src": "40126:15:1" + "src": "41274:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58343,19 +58343,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2114, + "id": 1606, "name": "ElementaryTypeName", - "src": "40143:7:1" + "src": "41291:7:0" } ], - "id": 2115, + "id": 1607, "name": "VariableDeclaration", - "src": "40143:13:1" + "src": "41291:13:0" } ], - "id": 2116, + "id": 1608, "name": "ParameterList", - "src": "40125:32:1" + "src": "41273:32:0" }, { "children": [ @@ -58364,7 +58364,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58376,21 +58376,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2117, + "id": 1609, "name": "ElementaryTypeName", - "src": "40180:7:1" + "src": "41328:7:0" } ], - "id": 2118, + "id": 1610, "name": "VariableDeclaration", - "src": "40180:7:1" + "src": "41328:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58402,19 +58402,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2119, + "id": 1611, "name": "ElementaryTypeName", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2120, + "id": 1612, "name": "VariableDeclaration", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2121, + "id": 1613, "name": "ParameterList", - "src": "40179:18:1" + "src": "41327:18:0" }, { "children": [ @@ -58455,9 +58455,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2122, + "id": 1614, "name": "Identifier", - "src": "40208:7:1" + "src": "41357:7:0" }, { "attributes": { @@ -58490,7 +58490,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58499,41 +58499,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2123, + "id": 1615, "name": "Identifier", - "src": "40216:3:1" + "src": "41365:3:0" } ], - "id": 2124, + "id": 1616, "name": "MemberAccess", - "src": "40216:12:1" + "src": "41365:12:0" } ], - "id": 2125, + "id": 1617, "name": "MemberAccess", - "src": "40216:19:1" + "src": "41365:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2126, + "id": 1618, "name": "Identifier", - "src": "40238:5:1" + "src": "41387:5:0" } ], - "id": 2127, + "id": 1619, "name": "BinaryOperation", - "src": "40216:27:1" + "src": "41365:27:0" }, { "attributes": { @@ -58546,24 +58546,24 @@ "type": "literal_string \"EnumerableMap: index out of bounds\"", "value": "EnumerableMap: index out of bounds" }, - "id": 2128, + "id": 1620, "name": "Literal", - "src": "40245:36:1" + "src": "41394:36:0" } ], - "id": 2129, + "id": 1621, "name": "FunctionCall", - "src": "40208:74:1" + "src": "41357:74:0" } ], - "id": 2130, + "id": 1622, "name": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "attributes": { "assignments": [ - 2132 + 1624 ] }, "children": [ @@ -58572,7 +58572,7 @@ "constant": false, "mutability": "mutable", "name": "entry", - "scope": 2144, + "scope": 1636, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -58582,17 +58582,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2131, + "id": 1623, "name": "UserDefinedTypeName", - "src": "40293:8:1" + "src": "41444:8:0" } ], - "id": 2132, + "id": 1624, "name": "VariableDeclaration", - "src": "40293:22:1" + "src": "41444:22:0" }, { "attributes": { @@ -58610,7 +58610,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58619,45 +58619,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2133, + "id": 1625, "name": "Identifier", - "src": "40318:3:1" + "src": "41469:3:0" } ], - "id": 2134, + "id": 1626, "name": "MemberAccess", - "src": "40318:12:1" + "src": "41469:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2135, + "id": 1627, "name": "Identifier", - "src": "40331:5:1" + "src": "41482:5:0" } ], - "id": 2136, + "id": 1628, "name": "IndexAccess", - "src": "40318:19:1" + "src": "41469:19:0" } ], - "id": 2137, + "id": 1629, "name": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "attributes": { - "functionReturnParameters": 2121 + "functionReturnParameters": 1613 }, "children": [ { @@ -58677,7 +58677,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -58686,18 +58686,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2138, + "id": 1630, "name": "Identifier", - "src": "40355:5:1" + "src": "41507:5:0" } ], - "id": 2139, + "id": 1631, "name": "MemberAccess", - "src": "40355:10:1" + "src": "41507:10:0" }, { "attributes": { @@ -58706,7 +58706,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -58715,38 +58715,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2140, + "id": 1632, "name": "Identifier", - "src": "40367:5:1" + "src": "41519:5:0" } ], - "id": 2141, + "id": 1633, "name": "MemberAccess", - "src": "40367:12:1" + "src": "41519:12:0" } ], - "id": 2142, + "id": 1634, "name": "TupleExpression", - "src": "40354:26:1" + "src": "41506:26:0" } ], - "id": 2143, + "id": 1635, "name": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ], - "id": 2144, + "id": 1636, "name": "Block", - "src": "40198:189:1" + "src": "41346:194:0" } ], - "id": 2145, + "id": 1637, "name": "FunctionDefinition", - "src": "40113:274:1" + "src": "41261:279:0" }, { "attributes": { @@ -58757,7 +58757,7 @@ null ], "name": "_tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58767,9 +58767,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2146, + "id": 1638, "name": "StructuredDocumentation", - "src": "40393:131:1" + "src": "41548:134:0" }, { "children": [ @@ -58778,7 +58778,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58788,24 +58788,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2147, + "id": 1639, "name": "UserDefinedTypeName", - "src": "40546:3:1" + "src": "41705:3:0" } ], - "id": 2148, + "id": 1640, "name": "VariableDeclaration", - "src": "40546:15:1" + "src": "41705:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58817,19 +58817,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2149, + "id": 1641, "name": "ElementaryTypeName", - "src": "40563:7:1" + "src": "41722:7:0" } ], - "id": 2150, + "id": 1642, "name": "VariableDeclaration", - "src": "40563:11:1" + "src": "41722:11:0" } ], - "id": 2151, + "id": 1643, "name": "ParameterList", - "src": "40545:30:1" + "src": "41704:30:0" }, { "children": [ @@ -58838,7 +58838,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -58850,21 +58850,21 @@ "name": "bool", "type": "bool" }, - "id": 2152, + "id": 1644, "name": "ElementaryTypeName", - "src": "40598:4:1" + "src": "41757:4:0" } ], - "id": 2153, + "id": 1645, "name": "VariableDeclaration", - "src": "40598:4:1" + "src": "41757:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58876,26 +58876,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2154, + "id": 1646, "name": "ElementaryTypeName", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2155, + "id": 1647, "name": "VariableDeclaration", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2156, + "id": 1648, "name": "ParameterList", - "src": "40597:15:1" + "src": "41756:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2158 + 1650 ] }, "children": [ @@ -58904,7 +58904,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2182, + "scope": 1674, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58916,14 +58916,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2157, + "id": 1649, "name": "ElementaryTypeName", - "src": "40623:7:1" + "src": "41783:7:0" } ], - "id": 2158, + "id": 1650, "name": "VariableDeclaration", - "src": "40623:16:1" + "src": "41783:16:0" }, { "attributes": { @@ -58941,7 +58941,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58950,41 +58950,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2159, + "id": 1651, "name": "Identifier", - "src": "40642:3:1" + "src": "41802:3:0" } ], - "id": 2160, + "id": 1652, "name": "MemberAccess", - "src": "40642:12:1" + "src": "41802:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2150, + "referencedDeclaration": 1642, "type": "bytes32", "value": "key" }, - "id": 2161, + "id": 1653, "name": "Identifier", - "src": "40655:3:1" + "src": "41815:3:0" } ], - "id": 2162, + "id": 1654, "name": "IndexAccess", - "src": "40642:17:1" + "src": "41802:17:0" } ], - "id": 2163, + "id": 1655, "name": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "attributes": {}, @@ -59008,13 +59008,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2164, + "id": 1656, "name": "Identifier", - "src": "40673:8:1" + "src": "41834:8:0" }, { "attributes": { @@ -59027,18 +59027,18 @@ "type": "int_const 0", "value": "0" }, - "id": 2165, + "id": 1657, "name": "Literal", - "src": "40685:1:1" + "src": "41846:1:0" } ], - "id": 2166, + "id": 1658, "name": "BinaryOperation", - "src": "40673:13:1" + "src": "41834:13:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59062,9 +59062,9 @@ "type": "bool", "value": "false" }, - "id": 2167, + "id": 1659, "name": "Literal", - "src": "40696:5:1" + "src": "41857:5:0" }, { "attributes": { @@ -59077,28 +59077,28 @@ "type": "int_const 0", "value": "0" }, - "id": 2168, + "id": 1660, "name": "Literal", - "src": "40703:1:1" + "src": "41864:1:0" } ], - "id": 2169, + "id": 1661, "name": "TupleExpression", - "src": "40695:10:1" + "src": "41856:10:0" } ], - "id": 2170, + "id": 1662, "name": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } ], - "id": 2171, + "id": 1663, "name": "IfStatement", - "src": "40669:36:1" + "src": "41830:36:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59122,9 +59122,9 @@ "type": "bool", "value": "true" }, - "id": 2172, + "id": 1664, "name": "Literal", - "src": "40759:4:1" + "src": "41921:4:0" }, { "attributes": { @@ -59133,7 +59133,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59153,7 +59153,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59162,18 +59162,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2173, + "id": 1665, "name": "Identifier", - "src": "40765:3:1" + "src": "41927:3:0" } ], - "id": 2174, + "id": 1666, "name": "MemberAccess", - "src": "40765:12:1" + "src": "41927:12:0" }, { "attributes": { @@ -59194,13 +59194,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2175, + "id": 1667, "name": "Identifier", - "src": "40778:8:1" + "src": "41940:8:0" }, { "attributes": { @@ -59213,44 +59213,44 @@ "type": "int_const 1", "value": "1" }, - "id": 2176, + "id": 1668, "name": "Literal", - "src": "40789:1:1" + "src": "41951:1:0" } ], - "id": 2177, + "id": 1669, "name": "BinaryOperation", - "src": "40778:12:1" + "src": "41940:12:0" } ], - "id": 2178, + "id": 1670, "name": "IndexAccess", - "src": "40765:26:1" + "src": "41927:26:0" } ], - "id": 2179, + "id": 1671, "name": "MemberAccess", - "src": "40765:33:1" + "src": "41927:33:0" } ], - "id": 2180, + "id": 1672, "name": "TupleExpression", - "src": "40758:41:1" + "src": "41920:41:0" } ], - "id": 2181, + "id": 1673, "name": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ], - "id": 2182, + "id": 1674, "name": "Block", - "src": "40613:220:1" + "src": "41772:224:0" } ], - "id": 2183, + "id": 1675, "name": "FunctionDefinition", - "src": "40529:304:1" + "src": "41688:308:0" }, { "attributes": { @@ -59261,7 +59261,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59271,9 +59271,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2184, + "id": 1676, "name": "StructuredDocumentation", - "src": "40839:141:1" + "src": "42004:147:0" }, { "children": [ @@ -59282,7 +59282,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59292,24 +59292,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2185, + "id": 1677, "name": "UserDefinedTypeName", - "src": "40999:3:1" + "src": "42171:3:0" } ], - "id": 2186, + "id": 1678, "name": "VariableDeclaration", - "src": "40999:15:1" + "src": "42171:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59321,19 +59321,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2187, + "id": 1679, "name": "ElementaryTypeName", - "src": "41016:7:1" + "src": "42188:7:0" } ], - "id": 2188, + "id": 1680, "name": "VariableDeclaration", - "src": "41016:11:1" + "src": "42188:11:0" } ], - "id": 2189, + "id": 1681, "name": "ParameterList", - "src": "40998:30:1" + "src": "42170:30:0" }, { "children": [ @@ -59342,7 +59342,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59354,26 +59354,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2190, + "id": 1682, "name": "ElementaryTypeName", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2191, + "id": 1683, "name": "VariableDeclaration", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2192, + "id": 1684, "name": "ParameterList", - "src": "41050:9:1" + "src": "42222:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2194 + 1686 ] }, "children": [ @@ -59382,7 +59382,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2215, + "scope": 1707, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59394,14 +59394,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2193, + "id": 1685, "name": "ElementaryTypeName", - "src": "41070:7:1" + "src": "42243:7:0" } ], - "id": 2194, + "id": 1686, "name": "VariableDeclaration", - "src": "41070:16:1" + "src": "42243:16:0" }, { "attributes": { @@ -59419,7 +59419,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59428,41 +59428,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2195, + "id": 1687, "name": "Identifier", - "src": "41089:3:1" + "src": "42262:3:0" } ], - "id": 2196, + "id": 1688, "name": "MemberAccess", - "src": "41089:12:1" + "src": "42262:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2188, + "referencedDeclaration": 1680, "type": "bytes32", "value": "key" }, - "id": 2197, + "id": 1689, "name": "Identifier", - "src": "41102:3:1" + "src": "42275:3:0" } ], - "id": 2198, + "id": 1690, "name": "IndexAccess", - "src": "41089:17:1" + "src": "42262:17:0" } ], - "id": 2199, + "id": 1691, "name": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "children": [ @@ -59501,9 +59501,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2200, + "id": 1692, "name": "Identifier", - "src": "41116:7:1" + "src": "42290:7:0" }, { "attributes": { @@ -59524,13 +59524,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2201, + "id": 1693, "name": "Identifier", - "src": "41124:8:1" + "src": "42298:8:0" }, { "attributes": { @@ -59543,14 +59543,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2202, + "id": 1694, "name": "Literal", - "src": "41136:1:1" + "src": "42310:1:0" } ], - "id": 2203, + "id": 1695, "name": "BinaryOperation", - "src": "41124:13:1" + "src": "42298:13:0" }, { "attributes": { @@ -59563,23 +59563,23 @@ "type": "literal_string \"EnumerableMap: nonexistent key\"", "value": "EnumerableMap: nonexistent key" }, - "id": 2204, + "id": 1696, "name": "Literal", - "src": "41139:32:1" + "src": "42313:32:0" } ], - "id": 2205, + "id": 1697, "name": "FunctionCall", - "src": "41116:56:1" + "src": "42290:56:0" } ], - "id": 2206, + "id": 1698, "name": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "attributes": { - "functionReturnParameters": 2192 + "functionReturnParameters": 1684 }, "children": [ { @@ -59589,7 +59589,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59609,7 +59609,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59618,18 +59618,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2207, + "id": 1699, "name": "Identifier", - "src": "41225:3:1" + "src": "42400:3:0" } ], - "id": 2208, + "id": 1700, "name": "MemberAccess", - "src": "41225:12:1" + "src": "42400:12:0" }, { "attributes": { @@ -59650,13 +59650,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2209, + "id": 1701, "name": "Identifier", - "src": "41238:8:1" + "src": "42413:8:0" }, { "attributes": { @@ -59669,39 +59669,39 @@ "type": "int_const 1", "value": "1" }, - "id": 2210, + "id": 1702, "name": "Literal", - "src": "41249:1:1" + "src": "42424:1:0" } ], - "id": 2211, + "id": 1703, "name": "BinaryOperation", - "src": "41238:12:1" + "src": "42413:12:0" } ], - "id": 2212, + "id": 1704, "name": "IndexAccess", - "src": "41225:26:1" + "src": "42400:26:0" } ], - "id": 2213, + "id": 1705, "name": "MemberAccess", - "src": "41225:33:1" + "src": "42400:33:0" } ], - "id": 2214, + "id": 1706, "name": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ], - "id": 2215, + "id": 1707, "name": "Block", - "src": "41060:232:1" + "src": "42232:236:0" } ], - "id": 2216, + "id": 1708, "name": "FunctionDefinition", - "src": "40985:307:1" + "src": "42157:311:0" }, { "attributes": { @@ -59712,7 +59712,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59722,9 +59722,9 @@ "attributes": { "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2217, + "id": 1709, "name": "StructuredDocumentation", - "src": "41298:271:1" + "src": "42476:276:0" }, { "children": [ @@ -59733,7 +59733,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59743,24 +59743,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2218, + "id": 1710, "name": "UserDefinedTypeName", - "src": "41588:3:1" + "src": "42772:3:0" } ], - "id": 2219, + "id": 1711, "name": "VariableDeclaration", - "src": "41588:15:1" + "src": "42772:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59772,21 +59772,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2220, + "id": 1712, "name": "ElementaryTypeName", - "src": "41605:7:1" + "src": "42789:7:0" } ], - "id": 2221, + "id": 1713, "name": "VariableDeclaration", - "src": "41605:11:1" + "src": "42789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -59798,19 +59798,19 @@ "name": "string", "type": "string" }, - "id": 2222, + "id": 1714, "name": "ElementaryTypeName", - "src": "41618:6:1" + "src": "42802:6:0" } ], - "id": 2223, + "id": 1715, "name": "VariableDeclaration", - "src": "41618:26:1" + "src": "42802:26:0" } ], - "id": 2224, + "id": 1716, "name": "ParameterList", - "src": "41587:58:1" + "src": "42771:58:0" }, { "children": [ @@ -59819,7 +59819,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59831,26 +59831,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2225, + "id": 1717, "name": "ElementaryTypeName", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2226, + "id": 1718, "name": "VariableDeclaration", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2227, + "id": 1719, "name": "ParameterList", - "src": "41667:9:1" + "src": "42851:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2229 + 1721 ] }, "children": [ @@ -59859,7 +59859,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2250, + "scope": 1742, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59871,14 +59871,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2228, + "id": 1720, "name": "ElementaryTypeName", - "src": "41687:7:1" + "src": "42872:7:0" } ], - "id": 2229, + "id": 1721, "name": "VariableDeclaration", - "src": "41687:16:1" + "src": "42872:16:0" }, { "attributes": { @@ -59896,7 +59896,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59905,41 +59905,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2230, + "id": 1722, "name": "Identifier", - "src": "41706:3:1" + "src": "42891:3:0" } ], - "id": 2231, + "id": 1723, "name": "MemberAccess", - "src": "41706:12:1" + "src": "42891:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2221, + "referencedDeclaration": 1713, "type": "bytes32", "value": "key" }, - "id": 2232, + "id": 1724, "name": "Identifier", - "src": "41719:3:1" + "src": "42904:3:0" } ], - "id": 2233, + "id": 1725, "name": "IndexAccess", - "src": "41706:17:1" + "src": "42891:17:0" } ], - "id": 2234, + "id": 1726, "name": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "children": [ @@ -59978,9 +59978,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2235, + "id": 1727, "name": "Identifier", - "src": "41733:7:1" + "src": "42919:7:0" }, { "attributes": { @@ -60001,13 +60001,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2236, + "id": 1728, "name": "Identifier", - "src": "41741:8:1" + "src": "42927:8:0" }, { "attributes": { @@ -60020,41 +60020,41 @@ "type": "int_const 0", "value": "0" }, - "id": 2237, + "id": 1729, "name": "Literal", - "src": "41753:1:1" + "src": "42939:1:0" } ], - "id": 2238, + "id": 1730, "name": "BinaryOperation", - "src": "41741:13:1" + "src": "42927:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2223, + "referencedDeclaration": 1715, "type": "string memory", "value": "errorMessage" }, - "id": 2239, + "id": 1731, "name": "Identifier", - "src": "41756:12:1" + "src": "42942:12:0" } ], - "id": 2240, + "id": 1732, "name": "FunctionCall", - "src": "41733:36:1" + "src": "42919:36:0" } ], - "id": 2241, + "id": 1733, "name": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "attributes": { - "functionReturnParameters": 2227 + "functionReturnParameters": 1719 }, "children": [ { @@ -60064,7 +60064,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -60084,7 +60084,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -60093,18 +60093,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2242, + "id": 1734, "name": "Identifier", - "src": "41822:3:1" + "src": "43009:3:0" } ], - "id": 2243, + "id": 1735, "name": "MemberAccess", - "src": "41822:12:1" + "src": "43009:12:0" }, { "attributes": { @@ -60125,13 +60125,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2244, + "id": 1736, "name": "Identifier", - "src": "41835:8:1" + "src": "43022:8:0" }, { "attributes": { @@ -60144,45 +60144,45 @@ "type": "int_const 1", "value": "1" }, - "id": 2245, + "id": 1737, "name": "Literal", - "src": "41846:1:1" + "src": "43033:1:0" } ], - "id": 2246, + "id": 1738, "name": "BinaryOperation", - "src": "41835:12:1" + "src": "43022:12:0" } ], - "id": 2247, + "id": 1739, "name": "IndexAccess", - "src": "41822:26:1" + "src": "43009:26:0" } ], - "id": 2248, + "id": 1740, "name": "MemberAccess", - "src": "41822:33:1" + "src": "43009:33:0" } ], - "id": 2249, + "id": 1741, "name": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ], - "id": 2250, + "id": 1742, "name": "Block", - "src": "41677:212:1" + "src": "42861:216:0" } ], - "id": 2251, + "id": 1743, "name": "FunctionDefinition", - "src": "41574:315:1" + "src": "42758:319:0" }, { "attributes": { "canonicalName": "EnumerableMap.UintToAddressMap", "name": "UintToAddressMap", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -60191,7 +60191,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 2254, + "scope": 1746, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.Map", @@ -60201,22 +60201,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2252, + "id": 1744, "name": "UserDefinedTypeName", - "src": "41954:3:1" + "src": "43147:3:0" } ], - "id": 2253, + "id": 1745, "name": "VariableDeclaration", - "src": "41954:10:1" + "src": "43147:10:0" } ], - "id": 2254, + "id": 1746, "name": "StructDefinition", - "src": "41920:51:1" + "src": "43112:53:0" }, { "attributes": { @@ -60227,7 +60227,7 @@ null ], "name": "set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60237,9 +60237,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2255, + "id": 1747, "name": "StructuredDocumentation", - "src": "41977:216:1" + "src": "43173:222:0" }, { "children": [ @@ -60248,7 +60248,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60258,24 +60258,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2256, + "id": 1748, "name": "UserDefinedTypeName", - "src": "42211:16:1" + "src": "43414:16:0" } ], - "id": 2257, + "id": 1749, "name": "VariableDeclaration", - "src": "42211:28:1" + "src": "43414:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60287,21 +60287,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2258, + "id": 1750, "name": "ElementaryTypeName", - "src": "42241:7:1" + "src": "43444:7:0" } ], - "id": 2259, + "id": 1751, "name": "VariableDeclaration", - "src": "42241:11:1" + "src": "43444:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -60314,19 +60314,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2260, + "id": 1752, "name": "ElementaryTypeName", - "src": "42254:7:1" + "src": "43457:7:0" } ], - "id": 2261, + "id": 1753, "name": "VariableDeclaration", - "src": "42254:13:1" + "src": "43457:13:0" } ], - "id": 2262, + "id": 1754, "name": "ParameterList", - "src": "42210:58:1" + "src": "43413:58:0" }, { "children": [ @@ -60335,7 +60335,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60347,25 +60347,25 @@ "name": "bool", "type": "bool" }, - "id": 2263, + "id": 1755, "name": "ElementaryTypeName", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2264, + "id": 1756, "name": "VariableDeclaration", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2265, + "id": 1757, "name": "ParameterList", - "src": "42286:6:1" + "src": "43489:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2265 + "functionReturnParameters": 1757 }, "children": [ { @@ -60387,7 +60387,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60402,13 +60402,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1998, + "referencedDeclaration": 1490, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)", "value": "_set" }, - "id": 2266, + "id": 1758, "name": "Identifier", - "src": "42310:4:1" + "src": "43514:4:0" }, { "attributes": { @@ -60417,7 +60417,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60426,18 +60426,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2257, + "referencedDeclaration": 1749, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2267, + "id": 1759, "name": "Identifier", - "src": "42315:3:1" + "src": "43519:3:0" } ], - "id": 2268, + "id": 1760, "name": "MemberAccess", - "src": "42315:10:1" + "src": "43519:10:0" }, { "attributes": { @@ -60473,32 +60473,32 @@ "attributes": { "name": "bytes32" }, - "id": 2269, + "id": 1761, "name": "ElementaryTypeName", - "src": "42327:7:1" + "src": "43531:7:0" } ], - "id": 2270, + "id": 1762, "name": "ElementaryTypeNameExpression", - "src": "42327:7:1" + "src": "43531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2259, + "referencedDeclaration": 1751, "type": "uint256", "value": "key" }, - "id": 2271, + "id": 1763, "name": "Identifier", - "src": "42335:3:1" + "src": "43539:3:0" } ], - "id": 2272, + "id": 1764, "name": "FunctionCall", - "src": "42327:12:1" + "src": "43531:12:0" }, { "attributes": { @@ -60534,14 +60534,14 @@ "attributes": { "name": "bytes32" }, - "id": 2273, + "id": 1765, "name": "ElementaryTypeName", - "src": "42341:7:1" + "src": "43545:7:0" } ], - "id": 2274, + "id": 1766, "name": "ElementaryTypeNameExpression", - "src": "42341:7:1" + "src": "43545:7:0" }, { "attributes": { @@ -60577,14 +60577,14 @@ "attributes": { "name": "uint256" }, - "id": 2275, + "id": 1767, "name": "ElementaryTypeName", - "src": "42349:7:1" + "src": "43553:7:0" } ], - "id": 2276, + "id": 1768, "name": "ElementaryTypeNameExpression", - "src": "42349:7:1" + "src": "43553:7:0" }, { "attributes": { @@ -60620,62 +60620,62 @@ "attributes": { "name": "uint160" }, - "id": 2277, + "id": 1769, "name": "ElementaryTypeName", - "src": "42357:7:1" + "src": "43561:7:0" } ], - "id": 2278, + "id": 1770, "name": "ElementaryTypeNameExpression", - "src": "42357:7:1" + "src": "43561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2261, + "referencedDeclaration": 1753, "type": "address", "value": "value" }, - "id": 2279, + "id": 1771, "name": "Identifier", - "src": "42365:5:1" + "src": "43569:5:0" } ], - "id": 2280, + "id": 1772, "name": "FunctionCall", - "src": "42357:14:1" + "src": "43561:14:0" } ], - "id": 2281, + "id": 1773, "name": "FunctionCall", - "src": "42349:23:1" + "src": "43553:23:0" } ], - "id": 2282, + "id": 1774, "name": "FunctionCall", - "src": "42341:32:1" + "src": "43545:32:0" } ], - "id": 2283, + "id": 1775, "name": "FunctionCall", - "src": "42310:64:1" + "src": "43514:64:0" } ], - "id": 2284, + "id": 1776, "name": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ], - "id": 2285, + "id": 1777, "name": "Block", - "src": "42293:88:1" + "src": "43496:90:0" } ], - "id": 2286, + "id": 1778, "name": "FunctionDefinition", - "src": "42198:183:1" + "src": "43401:185:0" }, { "attributes": { @@ -60686,7 +60686,7 @@ null ], "name": "remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60696,9 +60696,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2287, + "id": 1779, "name": "StructuredDocumentation", - "src": "42387:148:1" + "src": "43594:152:0" }, { "children": [ @@ -60707,7 +60707,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60717,24 +60717,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2288, + "id": 1780, "name": "UserDefinedTypeName", - "src": "42556:16:1" + "src": "43768:16:0" } ], - "id": 2289, + "id": 1781, "name": "VariableDeclaration", - "src": "42556:28:1" + "src": "43768:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60746,19 +60746,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2290, + "id": 1782, "name": "ElementaryTypeName", - "src": "42586:7:1" + "src": "43798:7:0" } ], - "id": 2291, + "id": 1783, "name": "VariableDeclaration", - "src": "42586:11:1" + "src": "43798:11:0" } ], - "id": 2292, + "id": 1784, "name": "ParameterList", - "src": "42555:43:1" + "src": "43767:43:0" }, { "children": [ @@ -60767,7 +60767,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60779,25 +60779,25 @@ "name": "bool", "type": "bool" }, - "id": 2293, + "id": 1785, "name": "ElementaryTypeName", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2294, + "id": 1786, "name": "VariableDeclaration", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2295, + "id": 1787, "name": "ParameterList", - "src": "42616:6:1" + "src": "43828:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2295 + "functionReturnParameters": 1787 }, "children": [ { @@ -60819,7 +60819,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60830,13 +60830,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2079, + "referencedDeclaration": 1571, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 2296, + "id": 1788, "name": "Identifier", - "src": "42640:7:1" + "src": "43853:7:0" }, { "attributes": { @@ -60845,7 +60845,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60854,18 +60854,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2289, + "referencedDeclaration": 1781, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2297, + "id": 1789, "name": "Identifier", - "src": "42648:3:1" + "src": "43861:3:0" } ], - "id": 2298, + "id": 1790, "name": "MemberAccess", - "src": "42648:10:1" + "src": "43861:10:0" }, { "attributes": { @@ -60901,52 +60901,52 @@ "attributes": { "name": "bytes32" }, - "id": 2299, + "id": 1791, "name": "ElementaryTypeName", - "src": "42660:7:1" + "src": "43873:7:0" } ], - "id": 2300, + "id": 1792, "name": "ElementaryTypeNameExpression", - "src": "42660:7:1" + "src": "43873:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2291, + "referencedDeclaration": 1783, "type": "uint256", "value": "key" }, - "id": 2301, + "id": 1793, "name": "Identifier", - "src": "42668:3:1" + "src": "43881:3:0" } ], - "id": 2302, + "id": 1794, "name": "FunctionCall", - "src": "42660:12:1" + "src": "43873:12:0" } ], - "id": 2303, + "id": 1795, "name": "FunctionCall", - "src": "42640:33:1" + "src": "43853:33:0" } ], - "id": 2304, + "id": 1796, "name": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ], - "id": 2305, + "id": 1797, "name": "Block", - "src": "42623:57:1" + "src": "43835:59:0" } ], - "id": 2306, + "id": 1798, "name": "FunctionDefinition", - "src": "42540:140:1" + "src": "43752:142:0" }, { "attributes": { @@ -60957,7 +60957,7 @@ null ], "name": "contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -60967,9 +60967,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2307, + "id": 1799, "name": "StructuredDocumentation", - "src": "42686:68:1" + "src": "43902:70:0" }, { "children": [ @@ -60978,7 +60978,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60988,24 +60988,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2308, + "id": 1800, "name": "UserDefinedTypeName", - "src": "42777:16:1" + "src": "43996:16:0" } ], - "id": 2309, + "id": 1801, "name": "VariableDeclaration", - "src": "42777:28:1" + "src": "43996:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61017,19 +61017,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2310, + "id": 1802, "name": "ElementaryTypeName", - "src": "42807:7:1" + "src": "44026:7:0" } ], - "id": 2311, + "id": 1803, "name": "VariableDeclaration", - "src": "42807:11:1" + "src": "44026:11:0" } ], - "id": 2312, + "id": 1804, "name": "ParameterList", - "src": "42776:43:1" + "src": "43995:43:0" }, { "children": [ @@ -61038,7 +61038,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -61050,25 +61050,25 @@ "name": "bool", "type": "bool" }, - "id": 2313, + "id": 1805, "name": "ElementaryTypeName", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2314, + "id": 1806, "name": "VariableDeclaration", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2315, + "id": 1807, "name": "ParameterList", - "src": "42842:6:1" + "src": "44061:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2315 + "functionReturnParameters": 1807 }, "children": [ { @@ -61090,7 +61090,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61101,13 +61101,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2097, + "referencedDeclaration": 1589, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 2316, + "id": 1808, "name": "Identifier", - "src": "42866:9:1" + "src": "44086:9:0" }, { "attributes": { @@ -61116,7 +61116,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61125,18 +61125,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2309, + "referencedDeclaration": 1801, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2317, + "id": 1809, "name": "Identifier", - "src": "42876:3:1" + "src": "44096:3:0" } ], - "id": 2318, + "id": 1810, "name": "MemberAccess", - "src": "42876:10:1" + "src": "44096:10:0" }, { "attributes": { @@ -61172,52 +61172,52 @@ "attributes": { "name": "bytes32" }, - "id": 2319, + "id": 1811, "name": "ElementaryTypeName", - "src": "42888:7:1" + "src": "44108:7:0" } ], - "id": 2320, + "id": 1812, "name": "ElementaryTypeNameExpression", - "src": "42888:7:1" + "src": "44108:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2311, + "referencedDeclaration": 1803, "type": "uint256", "value": "key" }, - "id": 2321, + "id": 1813, "name": "Identifier", - "src": "42896:3:1" + "src": "44116:3:0" } ], - "id": 2322, + "id": 1814, "name": "FunctionCall", - "src": "42888:12:1" + "src": "44108:12:0" } ], - "id": 2323, + "id": 1815, "name": "FunctionCall", - "src": "42866:35:1" + "src": "44086:35:0" } ], - "id": 2324, + "id": 1816, "name": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ], - "id": 2325, + "id": 1817, "name": "Block", - "src": "42849:59:1" + "src": "44068:61:0" } ], - "id": 2326, + "id": 1818, "name": "FunctionDefinition", - "src": "42759:149:1" + "src": "43978:151:0" }, { "attributes": { @@ -61228,7 +61228,7 @@ null ], "name": "length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61238,9 +61238,9 @@ "attributes": { "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2327, + "id": 1819, "name": "StructuredDocumentation", - "src": "42914:72:1" + "src": "44137:74:0" }, { "children": [ @@ -61249,7 +61249,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61259,22 +61259,22 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2328, + "id": 1820, "name": "UserDefinedTypeName", - "src": "43007:16:1" + "src": "44233:16:0" } ], - "id": 2329, + "id": 1821, "name": "VariableDeclaration", - "src": "43007:28:1" + "src": "44233:28:0" } ], - "id": 2330, + "id": 1822, "name": "ParameterList", - "src": "43006:30:1" + "src": "44232:30:0" }, { "children": [ @@ -61283,7 +61283,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61295,25 +61295,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2331, + "id": 1823, "name": "ElementaryTypeName", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2332, + "id": 1824, "name": "VariableDeclaration", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2333, + "id": 1825, "name": "ParameterList", - "src": "43059:9:1" + "src": "44285:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2333 + "functionReturnParameters": 1825 }, "children": [ { @@ -61335,20 +61335,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 2110, + "referencedDeclaration": 1602, "type": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)", "value": "_length" }, - "id": 2334, + "id": 1826, "name": "Identifier", - "src": "43086:7:1" + "src": "44313:7:0" }, { "attributes": { @@ -61357,7 +61357,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61366,38 +61366,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2329, + "referencedDeclaration": 1821, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2335, + "id": 1827, "name": "Identifier", - "src": "43094:3:1" + "src": "44321:3:0" } ], - "id": 2336, + "id": 1828, "name": "MemberAccess", - "src": "43094:10:1" + "src": "44321:10:0" } ], - "id": 2337, + "id": 1829, "name": "FunctionCall", - "src": "43086:19:1" + "src": "44313:19:0" } ], - "id": 2338, + "id": 1830, "name": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ], - "id": 2339, + "id": 1831, "name": "Block", - "src": "43069:43:1" + "src": "44295:45:0" } ], - "id": 2340, + "id": 1832, "name": "FunctionDefinition", - "src": "42991:121:1" + "src": "44217:123:0" }, { "attributes": { @@ -61408,7 +61408,7 @@ null ], "name": "at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61418,9 +61418,9 @@ "attributes": { "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2341, + "id": 1833, "name": "StructuredDocumentation", - "src": "43117:318:1" + "src": "44347:326:0" }, { "children": [ @@ -61429,7 +61429,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61439,24 +61439,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2342, + "id": 1834, "name": "UserDefinedTypeName", - "src": "43452:16:1" + "src": "44691:16:0" } ], - "id": 2343, + "id": 1835, "name": "VariableDeclaration", - "src": "43452:28:1" + "src": "44691:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61468,19 +61468,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2344, + "id": 1836, "name": "ElementaryTypeName", - "src": "43482:7:1" + "src": "44721:7:0" } ], - "id": 2345, + "id": 1837, "name": "VariableDeclaration", - "src": "43482:13:1" + "src": "44721:13:0" } ], - "id": 2346, + "id": 1838, "name": "ParameterList", - "src": "43451:45:1" + "src": "44690:45:0" }, { "children": [ @@ -61489,7 +61489,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61501,21 +61501,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2347, + "id": 1839, "name": "ElementaryTypeName", - "src": "43520:7:1" + "src": "44759:7:0" } ], - "id": 2348, + "id": 1840, "name": "VariableDeclaration", - "src": "43520:7:1" + "src": "44759:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -61528,27 +61528,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2349, + "id": 1841, "name": "ElementaryTypeName", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2350, + "id": 1842, "name": "VariableDeclaration", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2351, + "id": 1843, "name": "ParameterList", - "src": "43519:18:1" + "src": "44758:18:0" }, { "children": [ { "attributes": { "assignments": [ - 2353, - 2355 + 1845, + 1847 ] }, "children": [ @@ -61557,7 +61557,7 @@ "constant": false, "mutability": "mutable", "name": "key", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61569,21 +61569,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2352, + "id": 1844, "name": "ElementaryTypeName", - "src": "43549:7:1" + "src": "44789:7:0" } ], - "id": 2353, + "id": 1845, "name": "VariableDeclaration", - "src": "43549:11:1" + "src": "44789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61595,14 +61595,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2354, + "id": 1846, "name": "ElementaryTypeName", - "src": "43562:7:1" + "src": "44802:7:0" } ], - "id": 2355, + "id": 1847, "name": "VariableDeclaration", - "src": "43562:13:1" + "src": "44802:13:0" }, { "attributes": { @@ -61623,7 +61623,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61634,13 +61634,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2145, + "referencedDeclaration": 1637, "type": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)", "value": "_at" }, - "id": 2356, + "id": 1848, "name": "Identifier", - "src": "43579:3:1" + "src": "44819:3:0" }, { "attributes": { @@ -61649,7 +61649,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61658,45 +61658,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2343, + "referencedDeclaration": 1835, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2357, + "id": 1849, "name": "Identifier", - "src": "43583:3:1" + "src": "44823:3:0" } ], - "id": 2358, + "id": 1850, "name": "MemberAccess", - "src": "43583:10:1" + "src": "44823:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2345, + "referencedDeclaration": 1837, "type": "uint256", "value": "index" }, - "id": 2359, + "id": 1851, "name": "Identifier", - "src": "43595:5:1" + "src": "44835:5:0" } ], - "id": 2360, + "id": 1852, "name": "FunctionCall", - "src": "43579:22:1" + "src": "44819:22:0" } ], - "id": 2361, + "id": 1853, "name": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "attributes": { - "functionReturnParameters": 2351 + "functionReturnParameters": 1843 }, "children": [ { @@ -61743,32 +61743,32 @@ "attributes": { "name": "uint256" }, - "id": 2362, + "id": 1854, "name": "ElementaryTypeName", - "src": "43619:7:1" + "src": "44860:7:0" } ], - "id": 2363, + "id": 1855, "name": "ElementaryTypeNameExpression", - "src": "43619:7:1" + "src": "44860:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2353, + "referencedDeclaration": 1845, "type": "bytes32", "value": "key" }, - "id": 2364, + "id": 1856, "name": "Identifier", - "src": "43627:3:1" + "src": "44868:3:0" } ], - "id": 2365, + "id": 1857, "name": "FunctionCall", - "src": "43619:12:1" + "src": "44860:12:0" }, { "attributes": { @@ -61804,14 +61804,14 @@ "attributes": { "name": "address" }, - "id": 2366, + "id": 1858, "name": "ElementaryTypeName", - "src": "43633:7:1" + "src": "44874:7:0" } ], - "id": 2367, + "id": 1859, "name": "ElementaryTypeNameExpression", - "src": "43633:7:1" + "src": "44874:7:0" }, { "attributes": { @@ -61847,14 +61847,14 @@ "attributes": { "name": "uint160" }, - "id": 2368, + "id": 1860, "name": "ElementaryTypeName", - "src": "43641:7:1" + "src": "44882:7:0" } ], - "id": 2369, + "id": 1861, "name": "ElementaryTypeNameExpression", - "src": "43641:7:1" + "src": "44882:7:0" }, { "attributes": { @@ -61890,62 +61890,62 @@ "attributes": { "name": "uint256" }, - "id": 2370, + "id": 1862, "name": "ElementaryTypeName", - "src": "43649:7:1" + "src": "44890:7:0" } ], - "id": 2371, + "id": 1863, "name": "ElementaryTypeNameExpression", - "src": "43649:7:1" + "src": "44890:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2355, + "referencedDeclaration": 1847, "type": "bytes32", "value": "value" }, - "id": 2372, + "id": 1864, "name": "Identifier", - "src": "43657:5:1" + "src": "44898:5:0" } ], - "id": 2373, + "id": 1865, "name": "FunctionCall", - "src": "43649:14:1" + "src": "44890:14:0" } ], - "id": 2374, + "id": 1866, "name": "FunctionCall", - "src": "43641:23:1" + "src": "44882:23:0" } ], - "id": 2375, + "id": 1867, "name": "FunctionCall", - "src": "43633:32:1" + "src": "44874:32:0" } ], - "id": 2376, + "id": 1868, "name": "TupleExpression", - "src": "43618:48:1" + "src": "44859:48:0" } ], - "id": 2377, + "id": 1869, "name": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ], - "id": 2378, + "id": 1870, "name": "Block", - "src": "43538:135:1" + "src": "44777:138:0" } ], - "id": 2379, + "id": 1871, "name": "FunctionDefinition", - "src": "43440:233:1" + "src": "44679:236:0" }, { "attributes": { @@ -61956,7 +61956,7 @@ null ], "name": "tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61966,9 +61966,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2380, + "id": 1872, "name": "StructuredDocumentation", - "src": "43679:169:1" + "src": "44923:174:0" }, { "children": [ @@ -61977,7 +61977,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61987,24 +61987,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2381, + "id": 1873, "name": "UserDefinedTypeName", - "src": "43869:16:1" + "src": "45119:16:0" } ], - "id": 2382, + "id": 1874, "name": "VariableDeclaration", - "src": "43869:28:1" + "src": "45119:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62016,19 +62016,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2383, + "id": 1875, "name": "ElementaryTypeName", - "src": "43899:7:1" + "src": "45149:7:0" } ], - "id": 2384, + "id": 1876, "name": "VariableDeclaration", - "src": "43899:11:1" + "src": "45149:11:0" } ], - "id": 2385, + "id": 1877, "name": "ParameterList", - "src": "43868:43:1" + "src": "45118:43:0" }, { "children": [ @@ -62037,7 +62037,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62049,21 +62049,21 @@ "name": "bool", "type": "bool" }, - "id": 2386, + "id": 1878, "name": "ElementaryTypeName", - "src": "43935:4:1" + "src": "45185:4:0" } ], - "id": 2387, + "id": 1879, "name": "VariableDeclaration", - "src": "43935:4:1" + "src": "45185:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62076,27 +62076,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2388, + "id": 1880, "name": "ElementaryTypeName", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2389, + "id": 1881, "name": "VariableDeclaration", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2390, + "id": 1882, "name": "ParameterList", - "src": "43934:15:1" + "src": "45184:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2392, - 2394 + 1884, + 1886 ] }, "children": [ @@ -62105,7 +62105,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62117,21 +62117,21 @@ "name": "bool", "type": "bool" }, - "id": 2391, + "id": 1883, "name": "ElementaryTypeName", - "src": "43961:4:1" + "src": "45212:4:0" } ], - "id": 2392, + "id": 1884, "name": "VariableDeclaration", - "src": "43961:12:1" + "src": "45212:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -62143,14 +62143,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2393, + "id": 1885, "name": "ElementaryTypeName", - "src": "43975:7:1" + "src": "45226:7:0" } ], - "id": 2394, + "id": 1886, "name": "VariableDeclaration", - "src": "43975:13:1" + "src": "45226:13:0" }, { "attributes": { @@ -62171,7 +62171,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62182,13 +62182,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2183, + "referencedDeclaration": 1675, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)", "value": "_tryGet" }, - "id": 2395, + "id": 1887, "name": "Identifier", - "src": "43992:7:1" + "src": "45243:7:0" }, { "attributes": { @@ -62197,7 +62197,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62206,18 +62206,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2382, + "referencedDeclaration": 1874, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2396, + "id": 1888, "name": "Identifier", - "src": "44000:3:1" + "src": "45251:3:0" } ], - "id": 2397, + "id": 1889, "name": "MemberAccess", - "src": "44000:10:1" + "src": "45251:10:0" }, { "attributes": { @@ -62253,46 +62253,46 @@ "attributes": { "name": "bytes32" }, - "id": 2398, + "id": 1890, "name": "ElementaryTypeName", - "src": "44012:7:1" + "src": "45263:7:0" } ], - "id": 2399, + "id": 1891, "name": "ElementaryTypeNameExpression", - "src": "44012:7:1" + "src": "45263:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2384, + "referencedDeclaration": 1876, "type": "uint256", "value": "key" }, - "id": 2400, + "id": 1892, "name": "Identifier", - "src": "44020:3:1" + "src": "45271:3:0" } ], - "id": 2401, + "id": 1893, "name": "FunctionCall", - "src": "44012:12:1" + "src": "45263:12:0" } ], - "id": 2402, + "id": 1894, "name": "FunctionCall", - "src": "43992:33:1" + "src": "45243:33:0" } ], - "id": 2403, + "id": 1895, "name": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "attributes": { - "functionReturnParameters": 2390 + "functionReturnParameters": 1882 }, "children": [ { @@ -62310,13 +62310,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2392, + "referencedDeclaration": 1884, "type": "bool", "value": "success" }, - "id": 2404, + "id": 1896, "name": "Identifier", - "src": "44043:7:1" + "src": "45295:7:0" }, { "attributes": { @@ -62352,14 +62352,14 @@ "attributes": { "name": "address" }, - "id": 2405, + "id": 1897, "name": "ElementaryTypeName", - "src": "44052:7:1" + "src": "45304:7:0" } ], - "id": 2406, + "id": 1898, "name": "ElementaryTypeNameExpression", - "src": "44052:7:1" + "src": "45304:7:0" }, { "attributes": { @@ -62395,14 +62395,14 @@ "attributes": { "name": "uint160" }, - "id": 2407, + "id": 1899, "name": "ElementaryTypeName", - "src": "44060:7:1" + "src": "45312:7:0" } ], - "id": 2408, + "id": 1900, "name": "ElementaryTypeNameExpression", - "src": "44060:7:1" + "src": "45312:7:0" }, { "attributes": { @@ -62438,62 +62438,62 @@ "attributes": { "name": "uint256" }, - "id": 2409, + "id": 1901, "name": "ElementaryTypeName", - "src": "44068:7:1" + "src": "45320:7:0" } ], - "id": 2410, + "id": 1902, "name": "ElementaryTypeNameExpression", - "src": "44068:7:1" + "src": "45320:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2394, + "referencedDeclaration": 1886, "type": "bytes32", "value": "value" }, - "id": 2411, + "id": 1903, "name": "Identifier", - "src": "44076:5:1" + "src": "45328:5:0" } ], - "id": 2412, + "id": 1904, "name": "FunctionCall", - "src": "44068:14:1" + "src": "45320:14:0" } ], - "id": 2413, + "id": 1905, "name": "FunctionCall", - "src": "44060:23:1" + "src": "45312:23:0" } ], - "id": 2414, + "id": 1906, "name": "FunctionCall", - "src": "44052:32:1" + "src": "45304:32:0" } ], - "id": 2415, + "id": 1907, "name": "TupleExpression", - "src": "44042:43:1" + "src": "45294:43:0" } ], - "id": 2416, + "id": 1908, "name": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ], - "id": 2417, + "id": 1909, "name": "Block", - "src": "43950:142:1" + "src": "45200:145:0" } ], - "id": 2418, + "id": 1910, "name": "FunctionDefinition", - "src": "43853:239:1" + "src": "45103:242:0" }, { "attributes": { @@ -62504,7 +62504,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62514,9 +62514,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2419, + "id": 1911, "name": "StructuredDocumentation", - "src": "44098:141:1" + "src": "45353:147:0" }, { "children": [ @@ -62525,7 +62525,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62535,24 +62535,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2420, + "id": 1912, "name": "UserDefinedTypeName", - "src": "44257:16:1" + "src": "45519:16:0" } ], - "id": 2421, + "id": 1913, "name": "VariableDeclaration", - "src": "44257:28:1" + "src": "45519:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62564,19 +62564,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2422, + "id": 1914, "name": "ElementaryTypeName", - "src": "44287:7:1" + "src": "45549:7:0" } ], - "id": 2423, + "id": 1915, "name": "VariableDeclaration", - "src": "44287:11:1" + "src": "45549:11:0" } ], - "id": 2424, + "id": 1916, "name": "ParameterList", - "src": "44256:43:1" + "src": "45518:43:0" }, { "children": [ @@ -62585,7 +62585,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62598,25 +62598,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2425, + "id": 1917, "name": "ElementaryTypeName", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2426, + "id": 1918, "name": "VariableDeclaration", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2427, + "id": 1919, "name": "ParameterList", - "src": "44322:9:1" + "src": "45584:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2427 + "functionReturnParameters": 1919 }, "children": [ { @@ -62653,14 +62653,14 @@ "attributes": { "name": "address" }, - "id": 2428, + "id": 1920, "name": "ElementaryTypeName", - "src": "44349:7:1" + "src": "45612:7:0" } ], - "id": 2429, + "id": 1921, "name": "ElementaryTypeNameExpression", - "src": "44349:7:1" + "src": "45612:7:0" }, { "attributes": { @@ -62696,14 +62696,14 @@ "attributes": { "name": "uint160" }, - "id": 2430, + "id": 1922, "name": "ElementaryTypeName", - "src": "44357:7:1" + "src": "45620:7:0" } ], - "id": 2431, + "id": 1923, "name": "ElementaryTypeNameExpression", - "src": "44357:7:1" + "src": "45620:7:0" }, { "attributes": { @@ -62739,14 +62739,14 @@ "attributes": { "name": "uint256" }, - "id": 2432, + "id": 1924, "name": "ElementaryTypeName", - "src": "44365:7:1" + "src": "45628:7:0" } ], - "id": 2433, + "id": 1925, "name": "ElementaryTypeNameExpression", - "src": "44365:7:1" + "src": "45628:7:0" }, { "attributes": { @@ -62767,7 +62767,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62776,16 +62776,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, + "referencedDeclaration": 1708, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)", "value": "_get" }, - "id": 2434, + "id": 1926, "name": "Identifier", - "src": "44373:4:1" + "src": "45636:4:0" }, { "attributes": { @@ -62794,7 +62794,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62803,18 +62803,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2421, + "referencedDeclaration": 1913, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2435, + "id": 1927, "name": "Identifier", - "src": "44378:3:1" + "src": "45641:3:0" } ], - "id": 2436, + "id": 1928, "name": "MemberAccess", - "src": "44378:10:1" + "src": "45641:10:0" }, { "attributes": { @@ -62850,67 +62850,67 @@ "attributes": { "name": "bytes32" }, - "id": 2437, + "id": 1929, "name": "ElementaryTypeName", - "src": "44390:7:1" + "src": "45653:7:0" } ], - "id": 2438, + "id": 1930, "name": "ElementaryTypeNameExpression", - "src": "44390:7:1" + "src": "45653:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2423, + "referencedDeclaration": 1915, "type": "uint256", "value": "key" }, - "id": 2439, + "id": 1931, "name": "Identifier", - "src": "44398:3:1" + "src": "45661:3:0" } ], - "id": 2440, + "id": 1932, "name": "FunctionCall", - "src": "44390:12:1" + "src": "45653:12:0" } ], - "id": 2441, + "id": 1933, "name": "FunctionCall", - "src": "44373:30:1" + "src": "45636:30:0" } ], - "id": 2442, + "id": 1934, "name": "FunctionCall", - "src": "44365:39:1" + "src": "45628:39:0" } ], - "id": 2443, + "id": 1935, "name": "FunctionCall", - "src": "44357:48:1" + "src": "45620:48:0" } ], - "id": 2444, + "id": 1936, "name": "FunctionCall", - "src": "44349:57:1" + "src": "45612:57:0" } ], - "id": 2445, + "id": 1937, "name": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ], - "id": 2446, + "id": 1938, "name": "Block", - "src": "44332:81:1" + "src": "45594:83:0" } ], - "id": 2447, + "id": 1939, "name": "FunctionDefinition", - "src": "44244:169:1" + "src": "45506:171:0" }, { "attributes": { @@ -62921,7 +62921,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62931,9 +62931,9 @@ "attributes": { "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2448, + "id": 1940, "name": "StructuredDocumentation", - "src": "44419:269:1" + "src": "45685:274:0" }, { "children": [ @@ -62942,7 +62942,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62952,24 +62952,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2449, + "id": 1941, "name": "UserDefinedTypeName", - "src": "44706:16:1" + "src": "45978:16:0" } ], - "id": 2450, + "id": 1942, "name": "VariableDeclaration", - "src": "44706:28:1" + "src": "45978:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62981,21 +62981,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2451, + "id": 1943, "name": "ElementaryTypeName", - "src": "44736:7:1" + "src": "46008:7:0" } ], - "id": 2452, + "id": 1944, "name": "VariableDeclaration", - "src": "44736:11:1" + "src": "46008:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63007,19 +63007,19 @@ "name": "string", "type": "string" }, - "id": 2453, + "id": 1945, "name": "ElementaryTypeName", - "src": "44749:6:1" + "src": "46021:6:0" } ], - "id": 2454, + "id": 1946, "name": "VariableDeclaration", - "src": "44749:26:1" + "src": "46021:26:0" } ], - "id": 2455, + "id": 1947, "name": "ParameterList", - "src": "44705:71:1" + "src": "45977:71:0" }, { "children": [ @@ -63028,7 +63028,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -63041,25 +63041,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2456, + "id": 1948, "name": "ElementaryTypeName", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2457, + "id": 1949, "name": "VariableDeclaration", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2458, + "id": 1950, "name": "ParameterList", - "src": "44799:9:1" + "src": "46071:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2458 + "functionReturnParameters": 1950 }, "children": [ { @@ -63096,14 +63096,14 @@ "attributes": { "name": "address" }, - "id": 2459, + "id": 1951, "name": "ElementaryTypeName", - "src": "44826:7:1" + "src": "46099:7:0" } ], - "id": 2460, + "id": 1952, "name": "ElementaryTypeNameExpression", - "src": "44826:7:1" + "src": "46099:7:0" }, { "attributes": { @@ -63139,14 +63139,14 @@ "attributes": { "name": "uint160" }, - "id": 2461, + "id": 1953, "name": "ElementaryTypeName", - "src": "44834:7:1" + "src": "46107:7:0" } ], - "id": 2462, + "id": 1954, "name": "ElementaryTypeNameExpression", - "src": "44834:7:1" + "src": "46107:7:0" }, { "attributes": { @@ -63182,14 +63182,14 @@ "attributes": { "name": "uint256" }, - "id": 2463, + "id": 1955, "name": "ElementaryTypeName", - "src": "44842:7:1" + "src": "46115:7:0" } ], - "id": 2464, + "id": 1956, "name": "ElementaryTypeNameExpression", - "src": "44842:7:1" + "src": "46115:7:0" }, { "attributes": { @@ -63210,7 +63210,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -63223,16 +63223,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, + "referencedDeclaration": 1743, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)", "value": "_get" }, - "id": 2465, + "id": 1957, "name": "Identifier", - "src": "44850:4:1" + "src": "46123:4:0" }, { "attributes": { @@ -63241,7 +63241,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -63250,18 +63250,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2450, + "referencedDeclaration": 1942, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2466, + "id": 1958, "name": "Identifier", - "src": "44855:3:1" + "src": "46128:3:0" } ], - "id": 2467, + "id": 1959, "name": "MemberAccess", - "src": "44855:10:1" + "src": "46128:10:0" }, { "attributes": { @@ -63297,85 +63297,85 @@ "attributes": { "name": "bytes32" }, - "id": 2468, + "id": 1960, "name": "ElementaryTypeName", - "src": "44867:7:1" + "src": "46140:7:0" } ], - "id": 2469, + "id": 1961, "name": "ElementaryTypeNameExpression", - "src": "44867:7:1" + "src": "46140:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2452, + "referencedDeclaration": 1944, "type": "uint256", "value": "key" }, - "id": 2470, + "id": 1962, "name": "Identifier", - "src": "44875:3:1" + "src": "46148:3:0" } ], - "id": 2471, + "id": 1963, "name": "FunctionCall", - "src": "44867:12:1" + "src": "46140:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2454, + "referencedDeclaration": 1946, "type": "string memory", "value": "errorMessage" }, - "id": 2472, + "id": 1964, "name": "Identifier", - "src": "44881:12:1" + "src": "46154:12:0" } ], - "id": 2473, + "id": 1965, "name": "FunctionCall", - "src": "44850:44:1" + "src": "46123:44:0" } ], - "id": 2474, + "id": 1966, "name": "FunctionCall", - "src": "44842:53:1" + "src": "46115:53:0" } ], - "id": 2475, + "id": 1967, "name": "FunctionCall", - "src": "44834:62:1" + "src": "46107:62:0" } ], - "id": 2476, + "id": 1968, "name": "FunctionCall", - "src": "44826:71:1" + "src": "46099:71:0" } ], - "id": 2477, + "id": 1969, "name": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ], - "id": 2478, + "id": 1970, "name": "Block", - "src": "44809:95:1" + "src": "46081:97:0" } ], - "id": 2479, + "id": 1971, "name": "FunctionDefinition", - "src": "44693:211:1" + "src": "45965:213:0" } ], - "id": 2480, + "id": 1972, "name": "ContractDefinition", - "src": "35943:8963:1" + "src": "36981:9200:0" }, { "attributes": { @@ -63389,9 +63389,9 @@ ".0" ] }, - "id": 2481, + "id": 1973, "name": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "attributes": { @@ -63405,19 +63405,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev String operations." }, - "id": 2482, + "id": 1974, "name": "StructuredDocumentation", - "src": "44992:34:1" + "src": "46272:36:0" }, { "attributes": { @@ -63428,7 +63428,7 @@ null ], "name": "toString", - "scope": 2566, + "scope": 2058, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -63438,9 +63438,9 @@ "attributes": { "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2483, + "id": 1975, "name": "StructuredDocumentation", - "src": "45049:82:1" + "src": "46333:84:0" }, { "children": [ @@ -63449,7 +63449,7 @@ "constant": false, "mutability": "mutable", "name": "value", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63461,19 +63461,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2484, + "id": 1976, "name": "ElementaryTypeName", - "src": "45154:7:1" + "src": "46441:7:0" } ], - "id": 2485, + "id": 1977, "name": "VariableDeclaration", - "src": "45154:13:1" + "src": "46441:13:0" } ], - "id": 2486, + "id": 1978, "name": "ParameterList", - "src": "45153:15:1" + "src": "46440:15:0" }, { "children": [ @@ -63482,7 +63482,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63494,19 +63494,19 @@ "name": "string", "type": "string" }, - "id": 2487, + "id": 1979, "name": "ElementaryTypeName", - "src": "45192:6:1" + "src": "46479:6:0" } ], - "id": 2488, + "id": 1980, "name": "VariableDeclaration", - "src": "45192:13:1" + "src": "46479:13:0" } ], - "id": 2489, + "id": 1981, "name": "ParameterList", - "src": "45191:15:1" + "src": "46478:15:0" }, { "children": [ @@ -63532,13 +63532,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2490, + "id": 1982, "name": "Identifier", - "src": "45409:5:1" + "src": "46700:5:0" }, { "attributes": { @@ -63551,20 +63551,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2491, + "id": 1983, "name": "Literal", - "src": "45418:1:1" + "src": "46709:1:0" } ], - "id": 2492, + "id": 1984, "name": "BinaryOperation", - "src": "45409:10:1" + "src": "46700:10:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -63578,29 +63578,29 @@ "type": "literal_string \"0\"", "value": "0" }, - "id": 2493, + "id": 1985, "name": "Literal", - "src": "45442:3:1" + "src": "46734:3:0" } ], - "id": 2494, + "id": 1986, "name": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ], - "id": 2495, + "id": 1987, "name": "Block", - "src": "45421:35:1" + "src": "46712:37:0" } ], - "id": 2496, + "id": 1988, "name": "IfStatement", - "src": "45405:51:1" + "src": "46696:53:0" }, { "attributes": { "assignments": [ - 2498 + 1990 ] }, "children": [ @@ -63609,7 +63609,7 @@ "constant": false, "mutability": "mutable", "name": "temp", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63621,37 +63621,37 @@ "name": "uint256", "type": "uint256" }, - "id": 2497, + "id": 1989, "name": "ElementaryTypeName", - "src": "45465:7:1" + "src": "46759:7:0" } ], - "id": 2498, + "id": 1990, "name": "VariableDeclaration", - "src": "45465:12:1" + "src": "46759:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2499, + "id": 1991, "name": "Identifier", - "src": "45480:5:1" + "src": "46774:5:0" } ], - "id": 2500, + "id": 1992, "name": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "attributes": { "assignments": [ - 2502 + 1994 ] }, "children": [ @@ -63660,7 +63660,7 @@ "constant": false, "mutability": "mutable", "name": "digits", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63672,19 +63672,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2501, + "id": 1993, "name": "ElementaryTypeName", - "src": "45495:7:1" + "src": "46790:7:0" } ], - "id": 2502, + "id": 1994, "name": "VariableDeclaration", - "src": "45495:14:1" + "src": "46790:14:0" } ], - "id": 2503, + "id": 1995, "name": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "children": [ @@ -63707,13 +63707,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2504, + "id": 1996, "name": "Identifier", - "src": "45526:4:1" + "src": "46822:4:0" }, { "attributes": { @@ -63726,14 +63726,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2505, + "id": 1997, "name": "Literal", - "src": "45534:1:1" + "src": "46830:1:0" } ], - "id": 2506, + "id": 1998, "name": "BinaryOperation", - "src": "45526:9:1" + "src": "46822:9:0" }, { "children": [ @@ -63755,23 +63755,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2507, + "id": 1999, "name": "Identifier", - "src": "45551:6:1" + "src": "46848:6:0" } ], - "id": 2508, + "id": 2000, "name": "UnaryOperation", - "src": "45551:8:1" + "src": "46848:8:0" } ], - "id": 2509, + "id": 2001, "name": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "children": [ @@ -63790,13 +63790,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2510, + "id": 2002, "name": "Identifier", - "src": "45573:4:1" + "src": "46871:4:0" }, { "attributes": { @@ -63809,34 +63809,34 @@ "type": "int_const 10", "value": "10" }, - "id": 2511, + "id": 2003, "name": "Literal", - "src": "45581:2:1" + "src": "46879:2:0" } ], - "id": 2512, + "id": 2004, "name": "Assignment", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2513, + "id": 2005, "name": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2514, + "id": 2006, "name": "Block", - "src": "45537:57:1" + "src": "46833:60:0" } ], - "id": 2515, + "id": 2007, "name": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "attributes": { "assignments": [ - 2517 + 2009 ] }, "children": [ @@ -63845,7 +63845,7 @@ "constant": false, "mutability": "mutable", "name": "buffer", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -63857,14 +63857,14 @@ "name": "bytes", "type": "bytes" }, - "id": 2516, + "id": 2008, "name": "ElementaryTypeName", - "src": "45603:5:1" + "src": "46903:5:0" } ], - "id": 2517, + "id": 2009, "name": "VariableDeclaration", - "src": "45603:19:1" + "src": "46903:19:0" }, { "attributes": { @@ -63901,42 +63901,42 @@ "name": "bytes", "type": "bytes" }, - "id": 2518, + "id": 2010, "name": "ElementaryTypeName", - "src": "45629:5:1" + "src": "46929:5:0" } ], - "id": 2519, + "id": 2011, "name": "NewExpression", - "src": "45625:9:1" + "src": "46925:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2520, + "id": 2012, "name": "Identifier", - "src": "45635:6:1" + "src": "46935:6:0" } ], - "id": 2521, + "id": 2013, "name": "FunctionCall", - "src": "45625:17:1" + "src": "46925:17:0" } ], - "id": 2522, + "id": 2014, "name": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "attributes": { "assignments": [ - 2524 + 2016 ] }, "children": [ @@ -63945,7 +63945,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63957,14 +63957,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2523, + "id": 2015, "name": "ElementaryTypeName", - "src": "45652:7:1" + "src": "46953:7:0" } ], - "id": 2524, + "id": 2016, "name": "VariableDeclaration", - "src": "45652:13:1" + "src": "46953:13:0" }, { "attributes": { @@ -63985,13 +63985,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2525, + "id": 2017, "name": "Identifier", - "src": "45668:6:1" + "src": "46969:6:0" }, { "attributes": { @@ -64004,19 +64004,19 @@ "type": "int_const 1", "value": "1" }, - "id": 2526, + "id": 2018, "name": "Literal", - "src": "45677:1:1" + "src": "46978:1:0" } ], - "id": 2527, + "id": 2019, "name": "BinaryOperation", - "src": "45668:10:1" + "src": "46969:10:0" } ], - "id": 2528, + "id": 2020, "name": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "children": [ @@ -64035,36 +64035,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2529, + "id": 2021, "name": "Identifier", - "src": "45688:4:1" + "src": "46990:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2530, + "id": 2022, "name": "Identifier", - "src": "45695:5:1" + "src": "46997:5:0" } ], - "id": 2531, + "id": 2023, "name": "Assignment", - "src": "45688:12:1" + "src": "46990:12:0" } ], - "id": 2532, + "id": 2024, "name": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "children": [ @@ -64087,13 +64087,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2533, + "id": 2025, "name": "Identifier", - "src": "45717:4:1" + "src": "47020:4:0" }, { "attributes": { @@ -64106,14 +64106,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2534, + "id": 2026, "name": "Literal", - "src": "45725:1:1" + "src": "47028:1:0" } ], - "id": 2535, + "id": 2027, "name": "BinaryOperation", - "src": "45717:9:1" + "src": "47020:9:0" }, { "children": [ @@ -64143,13 +64143,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2536, + "id": 2028, "name": "Identifier", - "src": "45742:6:1" + "src": "47046:6:0" }, { "attributes": { @@ -64167,23 +64167,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2524, + "referencedDeclaration": 2016, "type": "uint256", "value": "index" }, - "id": 2537, + "id": 2029, "name": "Identifier", - "src": "45749:5:1" + "src": "47053:5:0" } ], - "id": 2538, + "id": 2030, "name": "UnaryOperation", - "src": "45749:7:1" + "src": "47053:7:0" } ], - "id": 2539, + "id": 2031, "name": "IndexAccess", - "src": "45742:15:1" + "src": "47046:15:0" }, { "attributes": { @@ -64219,14 +64219,14 @@ "attributes": { "name": "bytes1" }, - "id": 2540, + "id": 2032, "name": "ElementaryTypeName", - "src": "45760:6:1" + "src": "47064:6:0" } ], - "id": 2541, + "id": 2033, "name": "ElementaryTypeNameExpression", - "src": "45760:6:1" + "src": "47064:6:0" }, { "attributes": { @@ -64262,14 +64262,14 @@ "attributes": { "name": "uint8" }, - "id": 2542, + "id": 2034, "name": "ElementaryTypeName", - "src": "45767:5:1" + "src": "47071:5:0" } ], - "id": 2543, + "id": 2035, "name": "ElementaryTypeNameExpression", - "src": "45767:5:1" + "src": "47071:5:0" }, { "attributes": { @@ -64296,9 +64296,9 @@ "type": "int_const 48", "value": "48" }, - "id": 2544, + "id": 2036, "name": "Literal", - "src": "45773:2:1" + "src": "47077:2:0" }, { "attributes": { @@ -64319,13 +64319,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2545, + "id": 2037, "name": "Identifier", - "src": "45778:4:1" + "src": "47082:4:0" }, { "attributes": { @@ -64338,39 +64338,39 @@ "type": "int_const 10", "value": "10" }, - "id": 2546, + "id": 2038, "name": "Literal", - "src": "45785:2:1" + "src": "47089:2:0" } ], - "id": 2547, + "id": 2039, "name": "BinaryOperation", - "src": "45778:9:1" + "src": "47082:9:0" } ], - "id": 2548, + "id": 2040, "name": "BinaryOperation", - "src": "45773:14:1" + "src": "47077:14:0" } ], - "id": 2549, + "id": 2041, "name": "FunctionCall", - "src": "45767:21:1" + "src": "47071:21:0" } ], - "id": 2550, + "id": 2042, "name": "FunctionCall", - "src": "45760:29:1" + "src": "47064:29:0" } ], - "id": 2551, + "id": 2043, "name": "Assignment", - "src": "45742:47:1" + "src": "47046:47:0" } ], - "id": 2552, + "id": 2044, "name": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "children": [ @@ -64389,13 +64389,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2553, + "id": 2045, "name": "Identifier", - "src": "45803:4:1" + "src": "47108:4:0" }, { "attributes": { @@ -64408,33 +64408,33 @@ "type": "int_const 10", "value": "10" }, - "id": 2554, + "id": 2046, "name": "Literal", - "src": "45811:2:1" + "src": "47116:2:0" } ], - "id": 2555, + "id": 2047, "name": "Assignment", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2556, + "id": 2048, "name": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2557, + "id": 2049, "name": "Block", - "src": "45728:96:1" + "src": "47031:99:0" } ], - "id": 2558, + "id": 2050, "name": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -64471,52 +64471,52 @@ "attributes": { "name": "string" }, - "id": 2559, + "id": 2051, "name": "ElementaryTypeName", - "src": "45840:6:1" + "src": "47147:6:0" } ], - "id": 2560, + "id": 2052, "name": "ElementaryTypeNameExpression", - "src": "45840:6:1" + "src": "47147:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2561, + "id": 2053, "name": "Identifier", - "src": "45847:6:1" + "src": "47154:6:0" } ], - "id": 2562, + "id": 2054, "name": "FunctionCall", - "src": "45840:14:1" + "src": "47147:14:0" } ], - "id": 2563, + "id": 2055, "name": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ], - "id": 2564, + "id": 2056, "name": "Block", - "src": "45207:654:1" + "src": "46494:675:0" } ], - "id": 2565, + "id": 2057, "name": "FunctionDefinition", - "src": "45136:725:1" + "src": "46423:746:0" } ], - "id": 2566, + "id": 2058, "name": "ContractDefinition", - "src": "45027:836:1" + "src": "46310:862:0" }, { "attributes": { @@ -64530,43 +64530,43 @@ ".0" ] }, - "id": 2567, + "id": 2059, "name": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, - "id": 2568, + "id": 2060, "name": "StructuredDocumentation", - "src": "45955:124:1" + "src": "47269:127:0" }, { "attributes": {}, @@ -64574,17 +64574,17 @@ { "attributes": { "name": "Context", - "referencedDeclaration": 530, + "referencedDeclaration": 22, "type": "contract Context" }, - "id": 2569, + "id": 2061, "name": "UserDefinedTypeName", - "src": "46099:7:1" + "src": "47417:7:0" } ], - "id": 2570, + "id": 2062, "name": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "attributes": {}, @@ -64592,17 +64592,17 @@ { "attributes": { "name": "ERC165", - "referencedDeclaration": 781, + "referencedDeclaration": 273, "type": "contract ERC165" }, - "id": 2571, + "id": 2063, "name": "UserDefinedTypeName", - "src": "46108:6:1" + "src": "47426:6:0" } ], - "id": 2572, + "id": 2064, "name": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "attributes": {}, @@ -64610,17 +64610,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 2573, + "id": 2065, "name": "UserDefinedTypeName", - "src": "46116:7:1" + "src": "47434:7:0" } ], - "id": 2574, + "id": 2066, "name": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "attributes": {}, @@ -64628,17 +64628,17 @@ { "attributes": { "name": "IERC721Metadata", - "referencedDeclaration": 680, + "referencedDeclaration": 172, "type": "contract IERC721Metadata" }, - "id": 2575, + "id": 2067, "name": "UserDefinedTypeName", - "src": "46125:15:1" + "src": "47443:15:0" } ], - "id": 2576, + "id": 2068, "name": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "attributes": {}, @@ -64646,55 +64646,55 @@ { "attributes": { "name": "IERC721Enumerable", - "referencedDeclaration": 709, + "referencedDeclaration": 201, "type": "contract IERC721Enumerable" }, - "id": 2577, + "id": 2069, "name": "UserDefinedTypeName", - "src": "46142:17:1" + "src": "47460:17:0" } ], - "id": 2578, + "id": 2070, "name": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" }, { "children": [ { "attributes": { "name": "SafeMath", - "referencedDeclaration": 1135, + "referencedDeclaration": 627, "type": "library SafeMath" }, - "id": 2579, + "id": 2071, "name": "UserDefinedTypeName", - "src": "46172:8:1" + "src": "47491:8:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2580, + "id": 2072, "name": "ElementaryTypeName", - "src": "46185:7:1" + "src": "47504:7:0" } ], - "id": 2581, + "id": 2073, "name": "UsingForDirective", - "src": "46166:27:1" + "src": "47485:27:0" }, { "children": [ { "attributes": { "name": "Address", - "referencedDeclaration": 1430, + "referencedDeclaration": 922, "type": "library Address" }, - "id": 2582, + "id": 2074, "name": "UserDefinedTypeName", - "src": "46204:7:1" + "src": "47524:7:0" }, { "attributes": { @@ -64702,101 +64702,101 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2583, + "id": 2075, "name": "ElementaryTypeName", - "src": "46216:7:1" + "src": "47536:7:0" } ], - "id": 2584, + "id": 2076, "name": "UsingForDirective", - "src": "46198:26:1" + "src": "47518:26:0" }, { "children": [ { "attributes": { "name": "EnumerableSet", - "referencedDeclaration": 1921, + "referencedDeclaration": 1413, "type": "library EnumerableSet" }, - "id": 2585, + "id": 2077, "name": "UserDefinedTypeName", - "src": "46235:13:1" + "src": "47556:13:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2586, + "id": 2078, "name": "UserDefinedTypeName", - "src": "46253:21:1" + "src": "47574:21:0" } ], - "id": 2587, + "id": 2079, "name": "UsingForDirective", - "src": "46229:46:1" + "src": "47550:46:0" }, { "children": [ { "attributes": { "name": "EnumerableMap", - "referencedDeclaration": 2480, + "referencedDeclaration": 1972, "type": "library EnumerableMap" }, - "id": 2588, + "id": 2080, "name": "UserDefinedTypeName", - "src": "46286:13:1" + "src": "47608:13:0" }, { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2589, + "id": 2081, "name": "UserDefinedTypeName", - "src": "46304:30:1" + "src": "47626:30:0" } ], - "id": 2590, + "id": 2082, "name": "UsingForDirective", - "src": "46280:55:1" + "src": "47602:55:0" }, { "children": [ { "attributes": { "name": "Strings", - "referencedDeclaration": 2566, + "referencedDeclaration": 2058, "type": "library Strings" }, - "id": 2591, + "id": 2083, "name": "UserDefinedTypeName", - "src": "46346:7:1" + "src": "47669:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2592, + "id": 2084, "name": "ElementaryTypeName", - "src": "46358:7:1" + "src": "47681:7:0" } ], - "id": 2593, + "id": 2085, "name": "UsingForDirective", - "src": "46340:26:1" + "src": "47663:26:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_ERC721_RECEIVED", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -64808,9 +64808,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2594, + "id": 2086, "name": "ElementaryTypeName", - "src": "46544:6:1" + "src": "47871:6:0" }, { "attributes": { @@ -64823,21 +64823,21 @@ "type": "int_const 353073666", "value": "0x150b7a02" }, - "id": 2595, + "id": 2087, "name": "Literal", - "src": "46587:10:1" + "src": "47914:10:0" } ], - "id": 2596, + "id": 2088, "name": "VariableDeclaration", - "src": "46544:53:1" + "src": "47871:53:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_holderTokens", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => struct EnumerableSet.UintSet)", @@ -64854,36 +64854,36 @@ "name": "address", "type": "address" }, - "id": 2597, + "id": 2089, "name": "ElementaryTypeName", - "src": "46690:7:1" + "src": "48020:7:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2598, + "id": 2090, "name": "UserDefinedTypeName", - "src": "46701:21:1" + "src": "48031:21:0" } ], - "id": 2599, + "id": 2091, "name": "Mapping", - "src": "46681:42:1" + "src": "48011:42:0" } ], - "id": 2600, + "id": 2092, "name": "VariableDeclaration", - "src": "46681:64:1" + "src": "48011:64:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenOwners", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "struct EnumerableMap.UintToAddressMap", @@ -64893,24 +64893,24 @@ { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2601, + "id": 2093, "name": "UserDefinedTypeName", - "src": "46809:30:1" + "src": "48142:30:0" } ], - "id": 2602, + "id": 2094, "name": "VariableDeclaration", - "src": "46809:51:1" + "src": "48142:51:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => address)", @@ -64927,9 +64927,9 @@ "name": "uint256", "type": "uint256" }, - "id": 2603, + "id": 2095, "name": "ElementaryTypeName", - "src": "46925:7:1" + "src": "48261:7:0" }, { "attributes": { @@ -64937,26 +64937,26 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2604, + "id": 2096, "name": "ElementaryTypeName", - "src": "46936:7:1" + "src": "48272:7:0" } ], - "id": 2605, + "id": 2097, "name": "Mapping", - "src": "46916:28:1" + "src": "48252:28:0" } ], - "id": 2606, + "id": 2098, "name": "VariableDeclaration", - "src": "46916:52:1" + "src": "48252:52:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_operatorApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => mapping(address => bool))", @@ -64973,9 +64973,9 @@ "name": "address", "type": "address" }, - "id": 2607, + "id": 2099, "name": "ElementaryTypeName", - "src": "47032:7:1" + "src": "48371:7:0" }, { "attributes": { @@ -64987,40 +64987,40 @@ "name": "address", "type": "address" }, - "id": 2608, + "id": 2100, "name": "ElementaryTypeName", - "src": "47052:7:1" + "src": "48391:7:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 2609, + "id": 2101, "name": "ElementaryTypeName", - "src": "47063:4:1" + "src": "48402:4:0" } ], - "id": 2610, + "id": 2102, "name": "Mapping", - "src": "47043:25:1" + "src": "48382:25:0" } ], - "id": 2611, + "id": 2103, "name": "Mapping", - "src": "47023:46:1" + "src": "48362:46:0" } ], - "id": 2612, + "id": 2104, "name": "VariableDeclaration", - "src": "47023:73:1" + "src": "48362:73:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_name", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65032,21 +65032,21 @@ "name": "string", "type": "string" }, - "id": 2613, + "id": 2105, "name": "ElementaryTypeName", - "src": "47121:6:1" + "src": "48463:6:0" } ], - "id": 2614, + "id": 2106, "name": "VariableDeclaration", - "src": "47121:20:1" + "src": "48463:20:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_symbol", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65058,21 +65058,21 @@ "name": "string", "type": "string" }, - "id": 2615, + "id": 2107, "name": "ElementaryTypeName", - "src": "47168:6:1" + "src": "48513:6:0" } ], - "id": 2616, + "id": 2108, "name": "VariableDeclaration", - "src": "47168:22:1" + "src": "48513:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURIs", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => string)", @@ -65089,35 +65089,35 @@ "name": "uint256", "type": "uint256" }, - "id": 2617, + "id": 2109, "name": "ElementaryTypeName", - "src": "47245:7:1" + "src": "48593:7:0" }, { "attributes": { "name": "string", "type": "string" }, - "id": 2618, + "id": 2110, "name": "ElementaryTypeName", - "src": "47256:6:1" + "src": "48604:6:0" } ], - "id": 2619, + "id": 2111, "name": "Mapping", - "src": "47236:27:1" + "src": "48584:27:0" } ], - "id": 2620, + "id": 2112, "name": "VariableDeclaration", - "src": "47236:46:1" + "src": "48584:46:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_baseURI", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65129,21 +65129,21 @@ "name": "string", "type": "string" }, - "id": 2621, + "id": 2113, "name": "ElementaryTypeName", - "src": "47305:6:1" + "src": "48656:6:0" } ], - "id": 2622, + "id": 2114, "name": "VariableDeclaration", - "src": "47305:23:1" + "src": "48656:23:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65155,9 +65155,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2623, + "id": 2115, "name": "ElementaryTypeName", - "src": "48204:6:1" + "src": "49571:6:0" }, { "attributes": { @@ -65170,21 +65170,21 @@ "type": "int_const 2158778573", "value": "0x80ac58cd" }, - "id": 2624, + "id": 2116, "name": "Literal", - "src": "48251:10:1" + "src": "49618:10:0" } ], - "id": 2625, + "id": 2117, "name": "VariableDeclaration", - "src": "48204:57:1" + "src": "49571:57:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65196,9 +65196,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2626, + "id": 2118, "name": "ElementaryTypeName", - "src": "48527:6:1" + "src": "49903:6:0" }, { "attributes": { @@ -65211,21 +65211,21 @@ "type": "int_const 1532892063", "value": "0x5b5e139f" }, - "id": 2627, + "id": 2119, "name": "Literal", - "src": "48583:10:1" + "src": "49959:10:0" } ], - "id": 2628, + "id": 2120, "name": "VariableDeclaration", - "src": "48527:66:1" + "src": "49903:66:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65237,9 +65237,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2629, + "id": 2121, "name": "ElementaryTypeName", - "src": "48898:6:1" + "src": "50283:6:0" }, { "attributes": { @@ -65252,14 +65252,14 @@ "type": "int_const 2014223715", "value": "0x780e9d63" }, - "id": 2630, + "id": 2122, "name": "Literal", - "src": "48956:10:1" + "src": "50341:10:0" } ], - "id": 2631, + "id": 2123, "name": "VariableDeclaration", - "src": "48898:68:1" + "src": "50283:68:0" }, { "attributes": { @@ -65270,7 +65270,7 @@ null ], "name": "", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -65280,9 +65280,9 @@ "attributes": { "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2632, + "id": 2124, "name": "StructuredDocumentation", - "src": "48973:108:1" + "src": "50360:110:0" }, { "children": [ @@ -65291,7 +65291,7 @@ "constant": false, "mutability": "mutable", "name": "name_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65303,21 +65303,21 @@ "name": "string", "type": "string" }, - "id": 2633, + "id": 2125, "name": "ElementaryTypeName", - "src": "49099:6:1" + "src": "50489:6:0" } ], - "id": 2634, + "id": 2126, "name": "VariableDeclaration", - "src": "49099:19:1" + "src": "50489:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "symbol_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65329,19 +65329,19 @@ "name": "string", "type": "string" }, - "id": 2635, + "id": 2127, "name": "ElementaryTypeName", - "src": "49120:6:1" + "src": "50510:6:0" } ], - "id": 2636, + "id": 2128, "name": "VariableDeclaration", - "src": "49120:21:1" + "src": "50510:21:0" } ], - "id": 2637, + "id": 2129, "name": "ParameterList", - "src": "49098:44:1" + "src": "50488:44:0" }, { "attributes": { @@ -65350,9 +65350,9 @@ ] }, "children": [], - "id": 2638, + "id": 2130, "name": "ParameterList", - "src": "49143:0:1" + "src": "50533:0:0" }, { "children": [ @@ -65373,36 +65373,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2639, + "id": 2131, "name": "Identifier", - "src": "49153:5:1" + "src": "50544:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2634, + "referencedDeclaration": 2126, "type": "string memory", "value": "name_" }, - "id": 2640, + "id": 2132, "name": "Identifier", - "src": "49161:5:1" + "src": "50552:5:0" } ], - "id": 2641, + "id": 2133, "name": "Assignment", - "src": "49153:13:1" + "src": "50544:13:0" } ], - "id": 2642, + "id": 2134, "name": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "children": [ @@ -65421,36 +65421,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2643, + "id": 2135, "name": "Identifier", - "src": "49176:7:1" + "src": "50568:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2636, + "referencedDeclaration": 2128, "type": "string memory", "value": "symbol_" }, - "id": 2644, + "id": 2136, "name": "Identifier", - "src": "49186:7:1" + "src": "50578:7:0" } ], - "id": 2645, + "id": 2137, "name": "Assignment", - "src": "49176:17:1" + "src": "50568:17:0" } ], - "id": 2646, + "id": 2138, "name": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "children": [ @@ -65480,36 +65480,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2647, + "id": 2139, "name": "Identifier", - "src": "49281:18:1" + "src": "50676:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2625, + "referencedDeclaration": 2117, "type": "bytes4", "value": "_INTERFACE_ID_ERC721" }, - "id": 2648, + "id": 2140, "name": "Identifier", - "src": "49300:20:1" + "src": "50695:20:0" } ], - "id": 2649, + "id": 2141, "name": "FunctionCall", - "src": "49281:40:1" + "src": "50676:40:0" } ], - "id": 2650, + "id": 2142, "name": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "children": [ @@ -65539,36 +65539,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2651, + "id": 2143, "name": "Identifier", - "src": "49331:18:1" + "src": "50727:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2628, + "referencedDeclaration": 2120, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_METADATA" }, - "id": 2652, + "id": 2144, "name": "Identifier", - "src": "49350:29:1" + "src": "50746:29:0" } ], - "id": 2653, + "id": 2145, "name": "FunctionCall", - "src": "49331:49:1" + "src": "50727:49:0" } ], - "id": 2654, + "id": 2146, "name": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "children": [ @@ -65598,51 +65598,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2655, + "id": 2147, "name": "Identifier", - "src": "49390:18:1" + "src": "50787:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2631, + "referencedDeclaration": 2123, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_ENUMERABLE" }, - "id": 2656, + "id": 2148, "name": "Identifier", - "src": "49409:31:1" + "src": "50806:31:0" } ], - "id": 2657, + "id": 2149, "name": "FunctionCall", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2658, + "id": 2150, "name": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2659, + "id": 2151, "name": "Block", - "src": "49143:305:1" + "src": "50533:313:0" } ], - "id": 2660, + "id": 2152, "name": "FunctionDefinition", - "src": "49086:362:1" + "src": "50476:370:0" }, { "attributes": { "baseFunctions": [ - 580 + 72 ], "functionSelector": "70a08231", "implemented": true, @@ -65652,7 +65652,7 @@ null ], "name": "balanceOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -65662,9 +65662,9 @@ "attributes": { "text": " @dev See {IERC721-balanceOf}." }, - "id": 2661, + "id": 2153, "name": "StructuredDocumentation", - "src": "49454:48:1" + "src": "50854:50:0" }, { "attributes": { @@ -65672,9 +65672,9 @@ null ] }, - "id": 2665, + "id": 2157, "name": "OverrideSpecifier", - "src": "49561:8:1" + "src": "50964:8:0" }, { "children": [ @@ -65683,7 +65683,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -65696,19 +65696,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2662, + "id": 2154, "name": "ElementaryTypeName", - "src": "49526:7:1" + "src": "50929:7:0" } ], - "id": 2663, + "id": 2155, "name": "VariableDeclaration", - "src": "49526:13:1" + "src": "50929:13:0" } ], - "id": 2664, + "id": 2156, "name": "ParameterList", - "src": "49525:15:1" + "src": "50928:15:0" }, { "children": [ @@ -65717,7 +65717,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -65729,19 +65729,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2666, + "id": 2158, "name": "ElementaryTypeName", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2667, + "id": 2159, "name": "VariableDeclaration", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2668, + "id": 2160, "name": "ParameterList", - "src": "49578:9:1" + "src": "50981:9:0" }, { "children": [ @@ -65782,9 +65782,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2669, + "id": 2161, "name": "Identifier", - "src": "49598:7:1" + "src": "51002:7:0" }, { "attributes": { @@ -65805,13 +65805,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2670, + "id": 2162, "name": "Identifier", - "src": "49606:5:1" + "src": "51010:5:0" }, { "attributes": { @@ -65847,14 +65847,14 @@ "attributes": { "name": "address" }, - "id": 2671, + "id": 2163, "name": "ElementaryTypeName", - "src": "49615:7:1" + "src": "51019:7:0" } ], - "id": 2672, + "id": 2164, "name": "ElementaryTypeNameExpression", - "src": "49615:7:1" + "src": "51019:7:0" }, { "attributes": { @@ -65867,19 +65867,19 @@ "type": "int_const 0", "value": "0" }, - "id": 2673, + "id": 2165, "name": "Literal", - "src": "49623:1:1" + "src": "51027:1:0" } ], - "id": 2674, + "id": 2166, "name": "FunctionCall", - "src": "49615:10:1" + "src": "51019:10:0" } ], - "id": 2675, + "id": 2167, "name": "BinaryOperation", - "src": "49606:19:1" + "src": "51010:19:0" }, { "attributes": { @@ -65892,23 +65892,23 @@ "type": "literal_string \"ERC721: balance query for the zero address\"", "value": "ERC721: balance query for the zero address" }, - "id": 2676, + "id": 2168, "name": "Literal", - "src": "49627:44:1" + "src": "51031:44:0" } ], - "id": 2677, + "id": 2169, "name": "FunctionCall", - "src": "49598:74:1" + "src": "51002:74:0" } ], - "id": 2678, + "id": 2170, "name": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "attributes": { - "functionReturnParameters": 2668 + "functionReturnParameters": 2160 }, "children": [ { @@ -65939,7 +65939,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 1900, + "referencedDeclaration": 1392, "type": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" }, "children": [ @@ -65957,61 +65957,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2679, + "id": 2171, "name": "Identifier", - "src": "49689:13:1" + "src": "51094:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2680, + "id": 2172, "name": "Identifier", - "src": "49703:5:1" + "src": "51108:5:0" } ], - "id": 2681, + "id": 2173, "name": "IndexAccess", - "src": "49689:20:1" + "src": "51094:20:0" } ], - "id": 2682, + "id": 2174, "name": "MemberAccess", - "src": "49689:27:1" + "src": "51094:27:0" } ], - "id": 2683, + "id": 2175, "name": "FunctionCall", - "src": "49689:29:1" + "src": "51094:29:0" } ], - "id": 2684, + "id": 2176, "name": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ], - "id": 2685, + "id": 2177, "name": "Block", - "src": "49588:137:1" + "src": "50991:140:0" } ], - "id": 2686, + "id": 2178, "name": "FunctionDefinition", - "src": "49507:218:1" + "src": "50910:221:0" }, { "attributes": { "baseFunctions": [ - 588 + 80 ], "functionSelector": "6352211e", "implemented": true, @@ -66021,7 +66021,7 @@ null ], "name": "ownerOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66031,9 +66031,9 @@ "attributes": { "text": " @dev See {IERC721-ownerOf}." }, - "id": 2687, + "id": 2179, "name": "StructuredDocumentation", - "src": "49731:46:1" + "src": "51139:48:0" }, { "attributes": { @@ -66041,9 +66041,9 @@ null ] }, - "id": 2691, + "id": 2183, "name": "OverrideSpecifier", - "src": "49836:8:1" + "src": "51247:8:0" }, { "children": [ @@ -66052,7 +66052,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66064,19 +66064,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2688, + "id": 2180, "name": "ElementaryTypeName", - "src": "49799:7:1" + "src": "51210:7:0" } ], - "id": 2689, + "id": 2181, "name": "VariableDeclaration", - "src": "49799:15:1" + "src": "51210:15:0" } ], - "id": 2690, + "id": 2182, "name": "ParameterList", - "src": "49798:17:1" + "src": "51209:17:0" }, { "children": [ @@ -66085,7 +66085,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -66098,25 +66098,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2692, + "id": 2184, "name": "ElementaryTypeName", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2693, + "id": 2185, "name": "VariableDeclaration", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2694, + "id": 2186, "name": "ParameterList", - "src": "49853:9:1" + "src": "51264:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2694 + "functionReturnParameters": 2186 }, "children": [ { @@ -66151,7 +66151,7 @@ "isPure": false, "lValueRequested": false, "member_name": "get", - "referencedDeclaration": 2479, + "referencedDeclaration": 1971, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" }, "children": [ @@ -66160,31 +66160,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2695, + "id": 2187, "name": "Identifier", - "src": "49880:12:1" + "src": "51292:12:0" } ], - "id": 2696, + "id": 2188, "name": "MemberAccess", - "src": "49880:16:1" + "src": "51292:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2689, + "referencedDeclaration": 2181, "type": "uint256", "value": "tokenId" }, - "id": 2697, + "id": 2189, "name": "Identifier", - "src": "49897:7:1" + "src": "51309:7:0" }, { "attributes": { @@ -66197,34 +66197,34 @@ "type": "literal_string \"ERC721: owner query for nonexistent token\"", "value": "ERC721: owner query for nonexistent token" }, - "id": 2698, + "id": 2190, "name": "Literal", - "src": "49906:43:1" + "src": "51318:43:0" } ], - "id": 2699, + "id": 2191, "name": "FunctionCall", - "src": "49880:70:1" + "src": "51292:70:0" } ], - "id": 2700, + "id": 2192, "name": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ], - "id": 2701, + "id": 2193, "name": "Block", - "src": "49863:94:1" + "src": "51274:96:0" } ], - "id": 2702, + "id": 2194, "name": "FunctionDefinition", - "src": "49782:175:1" + "src": "51193:177:0" }, { "attributes": { "baseFunctions": [ - 665 + 157 ], "functionSelector": "06fdde03", "implemented": true, @@ -66234,7 +66234,7 @@ null ], "name": "name", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66244,9 +66244,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-name}." }, - "id": 2703, + "id": 2195, "name": "StructuredDocumentation", - "src": "49963:51:1" + "src": "51378:53:0" }, { "attributes": { @@ -66254,9 +66254,9 @@ null ] }, - "id": 2705, + "id": 2197, "name": "OverrideSpecifier", - "src": "50055:8:1" + "src": "51473:8:0" }, { "attributes": { @@ -66265,9 +66265,9 @@ ] }, "children": [], - "id": 2704, + "id": 2196, "name": "ParameterList", - "src": "50032:2:1" + "src": "51450:2:0" }, { "children": [ @@ -66276,7 +66276,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2712, + "scope": 2204, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66288,25 +66288,25 @@ "name": "string", "type": "string" }, - "id": 2706, + "id": 2198, "name": "ElementaryTypeName", - "src": "50073:6:1" + "src": "51491:6:0" } ], - "id": 2707, + "id": 2199, "name": "VariableDeclaration", - "src": "50073:13:1" + "src": "51491:13:0" } ], - "id": 2708, + "id": 2200, "name": "ParameterList", - "src": "50072:15:1" + "src": "51490:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2708 + "functionReturnParameters": 2200 }, "children": [ { @@ -66314,33 +66314,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2709, + "id": 2201, "name": "Identifier", - "src": "50105:5:1" + "src": "51524:5:0" } ], - "id": 2710, + "id": 2202, "name": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ], - "id": 2711, + "id": 2203, "name": "Block", - "src": "50088:29:1" + "src": "51506:31:0" } ], - "id": 2712, + "id": 2204, "name": "FunctionDefinition", - "src": "50019:98:1" + "src": "51437:100:0" }, { "attributes": { "baseFunctions": [ - 671 + 163 ], "functionSelector": "95d89b41", "implemented": true, @@ -66350,7 +66350,7 @@ null ], "name": "symbol", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66360,9 +66360,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-symbol}." }, - "id": 2713, + "id": 2205, "name": "StructuredDocumentation", - "src": "50123:53:1" + "src": "51545:55:0" }, { "attributes": { @@ -66370,9 +66370,9 @@ null ] }, - "id": 2715, + "id": 2207, "name": "OverrideSpecifier", - "src": "50219:8:1" + "src": "51644:8:0" }, { "attributes": { @@ -66381,9 +66381,9 @@ ] }, "children": [], - "id": 2714, + "id": 2206, "name": "ParameterList", - "src": "50196:2:1" + "src": "51621:2:0" }, { "children": [ @@ -66392,7 +66392,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2722, + "scope": 2214, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66404,25 +66404,25 @@ "name": "string", "type": "string" }, - "id": 2716, + "id": 2208, "name": "ElementaryTypeName", - "src": "50237:6:1" + "src": "51662:6:0" } ], - "id": 2717, + "id": 2209, "name": "VariableDeclaration", - "src": "50237:13:1" + "src": "51662:13:0" } ], - "id": 2718, + "id": 2210, "name": "ParameterList", - "src": "50236:15:1" + "src": "51661:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2718 + "functionReturnParameters": 2210 }, "children": [ { @@ -66430,33 +66430,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2719, + "id": 2211, "name": "Identifier", - "src": "50269:7:1" + "src": "51695:7:0" } ], - "id": 2720, + "id": 2212, "name": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ], - "id": 2721, + "id": 2213, "name": "Block", - "src": "50252:31:1" + "src": "51677:33:0" } ], - "id": 2722, + "id": 2214, "name": "FunctionDefinition", - "src": "50181:102:1" + "src": "51606:104:0" }, { "attributes": { "baseFunctions": [ - 679 + 171 ], "functionSelector": "c87b56dd", "implemented": true, @@ -66466,7 +66466,7 @@ null ], "name": "tokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66476,9 +66476,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-tokenURI}." }, - "id": 2723, + "id": 2215, "name": "StructuredDocumentation", - "src": "50289:55:1" + "src": "51718:57:0" }, { "attributes": { @@ -66486,9 +66486,9 @@ null ] }, - "id": 2727, + "id": 2219, "name": "OverrideSpecifier", - "src": "50404:8:1" + "src": "51836:8:0" }, { "children": [ @@ -66497,7 +66497,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66509,19 +66509,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2724, + "id": 2216, "name": "ElementaryTypeName", - "src": "50367:7:1" + "src": "51799:7:0" } ], - "id": 2725, + "id": 2217, "name": "VariableDeclaration", - "src": "50367:15:1" + "src": "51799:15:0" } ], - "id": 2726, + "id": 2218, "name": "ParameterList", - "src": "50366:17:1" + "src": "51798:17:0" }, { "children": [ @@ -66530,7 +66530,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66542,19 +66542,19 @@ "name": "string", "type": "string" }, - "id": 2728, + "id": 2220, "name": "ElementaryTypeName", - "src": "50422:6:1" + "src": "51854:6:0" } ], - "id": 2729, + "id": 2221, "name": "VariableDeclaration", - "src": "50422:13:1" + "src": "51854:13:0" } ], - "id": 2730, + "id": 2222, "name": "ParameterList", - "src": "50421:15:1" + "src": "51853:15:0" }, { "children": [ @@ -66595,9 +66595,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2731, + "id": 2223, "name": "Identifier", - "src": "50447:7:1" + "src": "51880:7:0" }, { "attributes": { @@ -66625,31 +66625,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2732, + "id": 2224, "name": "Identifier", - "src": "50455:7:1" + "src": "51888:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2733, + "id": 2225, "name": "Identifier", - "src": "50463:7:1" + "src": "51896:7:0" } ], - "id": 2734, + "id": 2226, "name": "FunctionCall", - "src": "50455:16:1" + "src": "51888:16:0" }, { "attributes": { @@ -66662,24 +66662,24 @@ "type": "literal_string \"ERC721Metadata: URI query for nonexistent token\"", "value": "ERC721Metadata: URI query for nonexistent token" }, - "id": 2735, + "id": 2227, "name": "Literal", - "src": "50473:49:1" + "src": "51906:49:0" } ], - "id": 2736, + "id": 2228, "name": "FunctionCall", - "src": "50447:76:1" + "src": "51880:76:0" } ], - "id": 2737, + "id": 2229, "name": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "attributes": { "assignments": [ - 2739 + 2231 ] }, "children": [ @@ -66688,7 +66688,7 @@ "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66700,14 +66700,14 @@ "name": "string", "type": "string" }, - "id": 2738, + "id": 2230, "name": "ElementaryTypeName", - "src": "50534:6:1" + "src": "51969:6:0" } ], - "id": 2739, + "id": 2231, "name": "VariableDeclaration", - "src": "50534:23:1" + "src": "51969:23:0" }, { "attributes": { @@ -66723,41 +66723,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 2740, + "id": 2232, "name": "Identifier", - "src": "50560:10:1" + "src": "51995:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2741, + "id": 2233, "name": "Identifier", - "src": "50571:7:1" + "src": "52006:7:0" } ], - "id": 2742, + "id": 2234, "name": "IndexAccess", - "src": "50560:19:1" + "src": "51995:19:0" } ], - "id": 2743, + "id": 2235, "name": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "attributes": { "assignments": [ - 2745 + 2237 ] }, "children": [ @@ -66766,7 +66766,7 @@ "constant": false, "mutability": "mutable", "name": "base", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66778,14 +66778,14 @@ "name": "string", "type": "string" }, - "id": 2744, + "id": 2236, "name": "ElementaryTypeName", - "src": "50589:6:1" + "src": "52025:6:0" } ], - "id": 2745, + "id": 2237, "name": "VariableDeclaration", - "src": "50589:18:1" + "src": "52025:18:0" }, { "attributes": { @@ -66813,23 +66813,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2799, + "referencedDeclaration": 2291, "type": "function () view returns (string memory)", "value": "baseURI" }, - "id": 2746, + "id": 2238, "name": "Identifier", - "src": "50610:7:1" + "src": "52046:7:0" } ], - "id": 2747, + "id": 2239, "name": "FunctionCall", - "src": "50610:9:1" + "src": "52046:9:0" } ], - "id": 2748, + "id": 2240, "name": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "attributes": {}, @@ -66892,37 +66892,37 @@ "attributes": { "name": "bytes" }, - "id": 2749, + "id": 2241, "name": "ElementaryTypeName", - "src": "50692:5:1" + "src": "52131:5:0" } ], - "id": 2750, + "id": 2242, "name": "ElementaryTypeNameExpression", - "src": "50692:5:1" + "src": "52131:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2751, + "id": 2243, "name": "Identifier", - "src": "50698:4:1" + "src": "52137:4:0" } ], - "id": 2752, + "id": 2244, "name": "FunctionCall", - "src": "50692:11:1" + "src": "52131:11:0" } ], - "id": 2753, + "id": 2245, "name": "MemberAccess", - "src": "50692:18:1" + "src": "52131:18:0" }, { "attributes": { @@ -66935,20 +66935,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2754, + "id": 2246, "name": "Literal", - "src": "50714:1:1" + "src": "52153:1:0" } ], - "id": 2755, + "id": 2247, "name": "BinaryOperation", - "src": "50692:23:1" + "src": "52131:23:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -66956,28 +66956,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2756, + "id": 2248, "name": "Identifier", - "src": "50738:9:1" + "src": "52178:9:0" } ], - "id": 2757, + "id": 2249, "name": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ], - "id": 2758, + "id": 2250, "name": "Block", - "src": "50717:41:1" + "src": "52156:43:0" } ], - "id": 2759, + "id": 2251, "name": "IfStatement", - "src": "50688:70:1" + "src": "52127:72:0" }, { "attributes": {}, @@ -67040,37 +67040,37 @@ "attributes": { "name": "bytes" }, - "id": 2760, + "id": 2252, "name": "ElementaryTypeName", - "src": "50860:5:1" + "src": "52303:5:0" } ], - "id": 2761, + "id": 2253, "name": "ElementaryTypeNameExpression", - "src": "50860:5:1" + "src": "52303:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2762, + "id": 2254, "name": "Identifier", - "src": "50866:9:1" + "src": "52309:9:0" } ], - "id": 2763, + "id": 2255, "name": "FunctionCall", - "src": "50860:16:1" + "src": "52303:16:0" } ], - "id": 2764, + "id": 2256, "name": "MemberAccess", - "src": "50860:23:1" + "src": "52303:23:0" }, { "attributes": { @@ -67083,20 +67083,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2765, + "id": 2257, "name": "Literal", - "src": "50886:1:1" + "src": "52329:1:0" } ], - "id": 2766, + "id": 2258, "name": "BinaryOperation", - "src": "50860:27:1" + "src": "52303:27:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67133,14 +67133,14 @@ "attributes": { "name": "string" }, - "id": 2767, + "id": 2259, "name": "ElementaryTypeName", - "src": "50910:6:1" + "src": "52354:6:0" } ], - "id": 2768, + "id": 2260, "name": "ElementaryTypeNameExpression", - "src": "50910:6:1" + "src": "52354:6:0" }, { "attributes": { @@ -67186,69 +67186,69 @@ "type": "abi", "value": "abi" }, - "id": 2769, + "id": 2261, "name": "Identifier", - "src": "50917:3:1" + "src": "52361:3:0" } ], - "id": 2770, + "id": 2262, "name": "MemberAccess", - "src": "50917:16:1" + "src": "52361:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2771, + "id": 2263, "name": "Identifier", - "src": "50934:4:1" + "src": "52378:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2772, + "id": 2264, "name": "Identifier", - "src": "50940:9:1" + "src": "52384:9:0" } ], - "id": 2773, + "id": 2265, "name": "FunctionCall", - "src": "50917:33:1" + "src": "52361:33:0" } ], - "id": 2774, + "id": 2266, "name": "FunctionCall", - "src": "50910:41:1" + "src": "52354:41:0" } ], - "id": 2775, + "id": 2267, "name": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ], - "id": 2776, + "id": 2268, "name": "Block", - "src": "50889:73:1" + "src": "52332:75:0" } ], - "id": 2777, + "id": 2269, "name": "IfStatement", - "src": "50856:106:1" + "src": "52299:108:0" }, { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67285,14 +67285,14 @@ "attributes": { "name": "string" }, - "id": 2778, + "id": 2270, "name": "ElementaryTypeName", - "src": "51068:6:1" + "src": "52515:6:0" } ], - "id": 2779, + "id": 2271, "name": "ElementaryTypeNameExpression", - "src": "51068:6:1" + "src": "52515:6:0" }, { "attributes": { @@ -67338,27 +67338,27 @@ "type": "abi", "value": "abi" }, - "id": 2780, + "id": 2272, "name": "Identifier", - "src": "51075:3:1" + "src": "52522:3:0" } ], - "id": 2781, + "id": 2273, "name": "MemberAccess", - "src": "51075:16:1" + "src": "52522:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2782, + "id": 2274, "name": "Identifier", - "src": "51092:4:1" + "src": "52539:4:0" }, { "attributes": { @@ -67388,7 +67388,7 @@ "isPure": false, "lValueRequested": false, "member_name": "toString", - "referencedDeclaration": 2565, + "referencedDeclaration": 2057, "type": "function (uint256) pure returns (string memory)" }, "children": [ @@ -67397,48 +67397,48 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2783, + "id": 2275, "name": "Identifier", - "src": "51098:7:1" + "src": "52545:7:0" } ], - "id": 2784, + "id": 2276, "name": "MemberAccess", - "src": "51098:16:1" + "src": "52545:16:0" } ], - "id": 2785, + "id": 2277, "name": "FunctionCall", - "src": "51098:18:1" + "src": "52545:18:0" } ], - "id": 2786, + "id": 2278, "name": "FunctionCall", - "src": "51075:42:1" + "src": "52522:42:0" } ], - "id": 2787, + "id": 2279, "name": "FunctionCall", - "src": "51068:50:1" + "src": "52515:50:0" } ], - "id": 2788, + "id": 2280, "name": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ], - "id": 2789, + "id": 2281, "name": "Block", - "src": "50437:688:1" + "src": "51869:704:0" } ], - "id": 2790, + "id": 2282, "name": "FunctionDefinition", - "src": "50349:776:1" + "src": "51781:792:0" }, { "attributes": { @@ -67450,7 +67450,7 @@ null ], "name": "baseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67460,9 +67460,9 @@ "attributes": { "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, - "id": 2791, + "id": 2283, "name": "StructuredDocumentation", - "src": "51131:221:1" + "src": "52581:225:0" }, { "attributes": { @@ -67471,9 +67471,9 @@ ] }, "children": [], - "id": 2792, + "id": 2284, "name": "ParameterList", - "src": "51373:2:1" + "src": "52828:2:0" }, { "children": [ @@ -67482,7 +67482,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2799, + "scope": 2291, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -67494,25 +67494,25 @@ "name": "string", "type": "string" }, - "id": 2793, + "id": 2285, "name": "ElementaryTypeName", - "src": "51405:6:1" + "src": "52860:6:0" } ], - "id": 2794, + "id": 2286, "name": "VariableDeclaration", - "src": "51405:13:1" + "src": "52860:13:0" } ], - "id": 2795, + "id": 2287, "name": "ParameterList", - "src": "51404:15:1" + "src": "52859:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2795 + "functionReturnParameters": 2287 }, "children": [ { @@ -67520,33 +67520,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 2796, + "id": 2288, "name": "Identifier", - "src": "51437:8:1" + "src": "52893:8:0" } ], - "id": 2797, + "id": 2289, "name": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ], - "id": 2798, + "id": 2290, "name": "Block", - "src": "51420:32:1" + "src": "52875:34:0" } ], - "id": 2799, + "id": 2291, "name": "FunctionDefinition", - "src": "51357:95:1" + "src": "52812:97:0" }, { "attributes": { "baseFunctions": [ - 700 + 192 ], "functionSelector": "2f745c59", "implemented": true, @@ -67556,7 +67556,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67566,9 +67566,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, - "id": 2800, + "id": 2292, "name": "StructuredDocumentation", - "src": "51458:68:1" + "src": "52917:70:0" }, { "attributes": { @@ -67576,9 +67576,9 @@ null ] }, - "id": 2806, + "id": 2298, "name": "OverrideSpecifier", - "src": "51610:8:1" + "src": "53072:8:0" }, { "children": [ @@ -67587,7 +67587,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -67600,21 +67600,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2801, + "id": 2293, "name": "ElementaryTypeName", - "src": "51560:7:1" + "src": "53022:7:0" } ], - "id": 2802, + "id": 2294, "name": "VariableDeclaration", - "src": "51560:13:1" + "src": "53022:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67626,19 +67626,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2803, + "id": 2295, "name": "ElementaryTypeName", - "src": "51575:7:1" + "src": "53037:7:0" } ], - "id": 2804, + "id": 2296, "name": "VariableDeclaration", - "src": "51575:13:1" + "src": "53037:13:0" } ], - "id": 2805, + "id": 2297, "name": "ParameterList", - "src": "51559:30:1" + "src": "53021:30:0" }, { "children": [ @@ -67647,7 +67647,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67659,25 +67659,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2807, + "id": 2299, "name": "ElementaryTypeName", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2808, + "id": 2300, "name": "VariableDeclaration", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2809, + "id": 2301, "name": "ParameterList", - "src": "51627:9:1" + "src": "53089:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2809 + "functionReturnParameters": 2301 }, "children": [ { @@ -67708,7 +67708,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 1920, + "referencedDeclaration": 1412, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" }, "children": [ @@ -67726,74 +67726,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2810, + "id": 2302, "name": "Identifier", - "src": "51654:13:1" + "src": "53117:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2802, + "referencedDeclaration": 2294, "type": "address", "value": "owner" }, - "id": 2811, + "id": 2303, "name": "Identifier", - "src": "51668:5:1" + "src": "53131:5:0" } ], - "id": 2812, + "id": 2304, "name": "IndexAccess", - "src": "51654:20:1" + "src": "53117:20:0" } ], - "id": 2813, + "id": 2305, "name": "MemberAccess", - "src": "51654:23:1" + "src": "53117:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2804, + "referencedDeclaration": 2296, "type": "uint256", "value": "index" }, - "id": 2814, + "id": 2306, "name": "Identifier", - "src": "51678:5:1" + "src": "53141:5:0" } ], - "id": 2815, + "id": 2307, "name": "FunctionCall", - "src": "51654:30:1" + "src": "53117:30:0" } ], - "id": 2816, + "id": 2308, "name": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ], - "id": 2817, + "id": 2309, "name": "Block", - "src": "51637:54:1" + "src": "53099:56:0" } ], - "id": 2818, + "id": 2310, "name": "FunctionDefinition", - "src": "51531:160:1" + "src": "52993:162:0" }, { "attributes": { "baseFunctions": [ - 690 + 182 ], "functionSelector": "18160ddd", "implemented": true, @@ -67803,7 +67803,7 @@ null ], "name": "totalSupply", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67813,9 +67813,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-totalSupply}." }, - "id": 2819, + "id": 2311, "name": "StructuredDocumentation", - "src": "51697:60:1" + "src": "53163:62:0" }, { "attributes": { @@ -67823,9 +67823,9 @@ null ] }, - "id": 2821, + "id": 2313, "name": "OverrideSpecifier", - "src": "51805:8:1" + "src": "53274:8:0" }, { "attributes": { @@ -67834,9 +67834,9 @@ ] }, "children": [], - "id": 2820, + "id": 2312, "name": "ParameterList", - "src": "51782:2:1" + "src": "53251:2:0" }, { "children": [ @@ -67845,7 +67845,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2830, + "scope": 2322, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67857,25 +67857,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2822, + "id": 2314, "name": "ElementaryTypeName", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2823, + "id": 2315, "name": "VariableDeclaration", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2824, + "id": 2316, "name": "ParameterList", - "src": "51822:9:1" + "src": "53291:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2824 + "functionReturnParameters": 2316 }, "children": [ { @@ -67906,7 +67906,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 2340, + "referencedDeclaration": 1832, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" }, "children": [ @@ -67915,43 +67915,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2825, + "id": 2317, "name": "Identifier", - "src": "51942:12:1" + "src": "53413:12:0" } ], - "id": 2826, + "id": 2318, "name": "MemberAccess", - "src": "51942:19:1" + "src": "53413:19:0" } ], - "id": 2827, + "id": 2319, "name": "FunctionCall", - "src": "51942:21:1" + "src": "53413:21:0" } ], - "id": 2828, + "id": 2320, "name": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ], - "id": 2829, + "id": 2321, "name": "Block", - "src": "51832:138:1" + "src": "53301:141:0" } ], - "id": 2830, + "id": 2322, "name": "FunctionDefinition", - "src": "51762:208:1" + "src": "53231:211:0" }, { "attributes": { "baseFunctions": [ - 708 + 200 ], "functionSelector": "4f6ccce7", "implemented": true, @@ -67961,7 +67961,7 @@ null ], "name": "tokenByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67971,9 +67971,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, - "id": 2831, + "id": 2323, "name": "StructuredDocumentation", - "src": "51976:61:1" + "src": "53450:63:0" }, { "attributes": { @@ -67981,9 +67981,9 @@ null ] }, - "id": 2835, + "id": 2327, "name": "OverrideSpecifier", - "src": "52099:8:1" + "src": "53576:8:0" }, { "children": [ @@ -67992,7 +67992,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68004,19 +68004,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2832, + "id": 2324, "name": "ElementaryTypeName", - "src": "52064:7:1" + "src": "53541:7:0" } ], - "id": 2833, + "id": 2325, "name": "VariableDeclaration", - "src": "52064:13:1" + "src": "53541:13:0" } ], - "id": 2834, + "id": 2326, "name": "ParameterList", - "src": "52063:15:1" + "src": "53540:15:0" }, { "children": [ @@ -68025,7 +68025,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68037,26 +68037,26 @@ "name": "uint256", "type": "uint256" }, - "id": 2836, + "id": 2328, "name": "ElementaryTypeName", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2837, + "id": 2329, "name": "VariableDeclaration", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2838, + "id": 2330, "name": "ParameterList", - "src": "52116:9:1" + "src": "53593:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2840, + 2332, null ] }, @@ -68066,7 +68066,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2848, + "scope": 2340, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68078,14 +68078,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2839, + "id": 2331, "name": "ElementaryTypeName", - "src": "52137:7:1" + "src": "53615:7:0" } ], - "id": 2840, + "id": 2332, "name": "VariableDeclaration", - "src": "52137:15:1" + "src": "53615:15:0" }, { "attributes": { @@ -68115,7 +68115,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 2379, + "referencedDeclaration": 1871, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" }, "children": [ @@ -68124,45 +68124,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2841, + "id": 2333, "name": "Identifier", - "src": "52158:12:1" + "src": "53636:12:0" } ], - "id": 2842, + "id": 2334, "name": "MemberAccess", - "src": "52158:15:1" + "src": "53636:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2833, + "referencedDeclaration": 2325, "type": "uint256", "value": "index" }, - "id": 2843, + "id": 2335, "name": "Identifier", - "src": "52174:5:1" + "src": "53652:5:0" } ], - "id": 2844, + "id": 2336, "name": "FunctionCall", - "src": "52158:22:1" + "src": "53636:22:0" } ], - "id": 2845, + "id": 2337, "name": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "attributes": { - "functionReturnParameters": 2838 + "functionReturnParameters": 2330 }, "children": [ { @@ -68170,33 +68170,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2840, + "referencedDeclaration": 2332, "type": "uint256", "value": "tokenId" }, - "id": 2846, + "id": 2338, "name": "Identifier", - "src": "52197:7:1" + "src": "53676:7:0" } ], - "id": 2847, + "id": 2339, "name": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ], - "id": 2848, + "id": 2340, "name": "Block", - "src": "52126:85:1" + "src": "53603:88:0" } ], - "id": 2849, + "id": 2341, "name": "FunctionDefinition", - "src": "52042:169:1" + "src": "53519:172:0" }, { "attributes": { "baseFunctions": [ - 616 + 108 ], "functionSelector": "095ea7b3", "implemented": true, @@ -68206,7 +68206,7 @@ null ], "name": "approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -68216,9 +68216,9 @@ "attributes": { "text": " @dev See {IERC721-approve}." }, - "id": 2850, + "id": 2342, "name": "StructuredDocumentation", - "src": "52217:46:1" + "src": "53699:48:0" }, { "attributes": { @@ -68226,9 +68226,9 @@ null ] }, - "id": 2856, + "id": 2348, "name": "OverrideSpecifier", - "src": "52329:8:1" + "src": "53814:8:0" }, { "children": [ @@ -68237,7 +68237,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68250,21 +68250,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2851, + "id": 2343, "name": "ElementaryTypeName", - "src": "52285:7:1" + "src": "53770:7:0" } ], - "id": 2852, + "id": 2344, "name": "VariableDeclaration", - "src": "52285:10:1" + "src": "53770:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68276,19 +68276,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2853, + "id": 2345, "name": "ElementaryTypeName", - "src": "52297:7:1" + "src": "53782:7:0" } ], - "id": 2854, + "id": 2346, "name": "VariableDeclaration", - "src": "52297:15:1" + "src": "53782:15:0" } ], - "id": 2855, + "id": 2347, "name": "ParameterList", - "src": "52284:29:1" + "src": "53769:29:0" }, { "attributes": { @@ -68297,16 +68297,16 @@ ] }, "children": [], - "id": 2857, + "id": 2349, "name": "ParameterList", - "src": "52338:0:1" + "src": "53823:0:0" }, { "children": [ { "attributes": { "assignments": [ - 2859 + 2351 ] }, "children": [ @@ -68315,7 +68315,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2892, + "scope": 2384, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68328,14 +68328,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2858, + "id": 2350, "name": "ElementaryTypeName", - "src": "52348:7:1" + "src": "53834:7:0" } ], - "id": 2859, + "id": 2351, "name": "VariableDeclaration", - "src": "52348:13:1" + "src": "53834:13:0" }, { "attributes": { @@ -68365,7 +68365,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -68374,41 +68374,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2860, + "id": 2352, "name": "Identifier", - "src": "52364:6:1" + "src": "53850:6:0" } ], - "id": 2861, + "id": 2353, "name": "MemberAccess", - "src": "52364:14:1" + "src": "53850:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2862, + "id": 2354, "name": "Identifier", - "src": "52379:7:1" + "src": "53865:7:0" } ], - "id": 2863, + "id": 2355, "name": "FunctionCall", - "src": "52364:23:1" + "src": "53850:23:0" } ], - "id": 2864, + "id": 2356, "name": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "children": [ @@ -68447,9 +68447,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2865, + "id": 2357, "name": "Identifier", - "src": "52397:7:1" + "src": "53884:7:0" }, { "attributes": { @@ -68470,31 +68470,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2866, + "id": 2358, "name": "Identifier", - "src": "52405:2:1" + "src": "53892:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2867, + "id": 2359, "name": "Identifier", - "src": "52411:5:1" + "src": "53898:5:0" } ], - "id": 2868, + "id": 2360, "name": "BinaryOperation", - "src": "52405:11:1" + "src": "53892:11:0" }, { "attributes": { @@ -68507,19 +68507,19 @@ "type": "literal_string \"ERC721: approval to current owner\"", "value": "ERC721: approval to current owner" }, - "id": 2869, + "id": 2361, "name": "Literal", - "src": "52418:35:1" + "src": "53905:35:0" } ], - "id": 2870, + "id": 2362, "name": "FunctionCall", - "src": "52397:57:1" + "src": "53884:57:0" } ], - "id": 2871, + "id": 2363, "name": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "children": [ @@ -68558,9 +68558,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2872, + "id": 2364, "name": "Identifier", - "src": "52465:7:1" + "src": "53954:7:0" }, { "attributes": { @@ -68616,36 +68616,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2873, + "id": 2365, "name": "Identifier", - "src": "52473:10:1" + "src": "53962:10:0" } ], - "id": 2874, + "id": 2366, "name": "FunctionCall", - "src": "52473:12:1" + "src": "53962:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2875, + "id": 2367, "name": "Identifier", - "src": "52489:5:1" + "src": "53978:5:0" } ], - "id": 2876, + "id": 2368, "name": "BinaryOperation", - "src": "52473:21:1" + "src": "53962:21:0" }, { "attributes": { @@ -68679,7 +68679,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -68688,31 +68688,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2877, + "id": 2369, "name": "Identifier", - "src": "52498:6:1" + "src": "53987:6:0" } ], - "id": 2878, + "id": 2370, "name": "MemberAccess", - "src": "52498:23:1" + "src": "53987:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2879, + "id": 2371, "name": "Identifier", - "src": "52522:5:1" + "src": "54011:5:0" }, { "attributes": { @@ -68740,28 +68740,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2880, + "id": 2372, "name": "Identifier", - "src": "52529:10:1" + "src": "54018:10:0" } ], - "id": 2881, + "id": 2373, "name": "FunctionCall", - "src": "52529:12:1" + "src": "54018:12:0" } ], - "id": 2882, + "id": 2374, "name": "FunctionCall", - "src": "52498:44:1" + "src": "53987:44:0" } ], - "id": 2883, + "id": 2375, "name": "BinaryOperation", - "src": "52473:69:1" + "src": "53962:69:0" }, { "attributes": { @@ -68774,19 +68774,19 @@ "type": "literal_string \"ERC721: approve caller is not owner nor approved for all\"", "value": "ERC721: approve caller is not owner nor approved for all" }, - "id": 2884, + "id": 2376, "name": "Literal", - "src": "52556:58:1" + "src": "54046:58:0" } ], - "id": 2885, + "id": 2377, "name": "FunctionCall", - "src": "52465:159:1" + "src": "53954:161:0" } ], - "id": 2886, + "id": 2378, "name": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "children": [ @@ -68820,64 +68820,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 2887, + "id": 2379, "name": "Identifier", - "src": "52635:8:1" + "src": "54128:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2888, + "id": 2380, "name": "Identifier", - "src": "52644:2:1" + "src": "54137:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2889, + "id": 2381, "name": "Identifier", - "src": "52648:7:1" + "src": "54141:7:0" } ], - "id": 2890, + "id": 2382, "name": "FunctionCall", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2891, + "id": 2383, "name": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2892, + "id": 2384, "name": "Block", - "src": "52338:325:1" + "src": "53823:334:0" } ], - "id": 2893, + "id": 2385, "name": "FunctionDefinition", - "src": "52268:395:1" + "src": "53753:404:0" }, { "attributes": { "baseFunctions": [ - 624 + 116 ], "functionSelector": "081812fc", "implemented": true, @@ -68887,7 +68887,7 @@ null ], "name": "getApproved", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -68897,9 +68897,9 @@ "attributes": { "text": " @dev See {IERC721-getApproved}." }, - "id": 2894, + "id": 2386, "name": "StructuredDocumentation", - "src": "52669:50:1" + "src": "54165:52:0" }, { "attributes": { @@ -68907,9 +68907,9 @@ null ] }, - "id": 2898, + "id": 2390, "name": "OverrideSpecifier", - "src": "52782:8:1" + "src": "54281:8:0" }, { "children": [ @@ -68918,7 +68918,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68930,19 +68930,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2895, + "id": 2387, "name": "ElementaryTypeName", - "src": "52745:7:1" + "src": "54244:7:0" } ], - "id": 2896, + "id": 2388, "name": "VariableDeclaration", - "src": "52745:15:1" + "src": "54244:15:0" } ], - "id": 2897, + "id": 2389, "name": "ParameterList", - "src": "52744:17:1" + "src": "54243:17:0" }, { "children": [ @@ -68951,7 +68951,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68964,19 +68964,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2899, + "id": 2391, "name": "ElementaryTypeName", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2900, + "id": 2392, "name": "VariableDeclaration", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2901, + "id": 2393, "name": "ParameterList", - "src": "52799:9:1" + "src": "54298:9:0" }, { "children": [ @@ -69017,9 +69017,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2902, + "id": 2394, "name": "Identifier", - "src": "52819:7:1" + "src": "54319:7:0" }, { "attributes": { @@ -69047,31 +69047,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2903, + "id": 2395, "name": "Identifier", - "src": "52827:7:1" + "src": "54327:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2904, + "id": 2396, "name": "Identifier", - "src": "52835:7:1" + "src": "54335:7:0" } ], - "id": 2905, + "id": 2397, "name": "FunctionCall", - "src": "52827:16:1" + "src": "54327:16:0" }, { "attributes": { @@ -69084,23 +69084,23 @@ "type": "literal_string \"ERC721: approved query for nonexistent token\"", "value": "ERC721: approved query for nonexistent token" }, - "id": 2906, + "id": 2398, "name": "Literal", - "src": "52845:46:1" + "src": "54345:46:0" } ], - "id": 2907, + "id": 2399, "name": "FunctionCall", - "src": "52819:73:1" + "src": "54319:73:0" } ], - "id": 2908, + "id": 2400, "name": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "attributes": { - "functionReturnParameters": 2901 + "functionReturnParameters": 2393 }, "children": [ { @@ -69117,51 +69117,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 2909, + "id": 2401, "name": "Identifier", - "src": "52910:15:1" + "src": "54412:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2910, + "id": 2402, "name": "Identifier", - "src": "52926:7:1" + "src": "54428:7:0" } ], - "id": 2911, + "id": 2403, "name": "IndexAccess", - "src": "52910:24:1" + "src": "54412:24:0" } ], - "id": 2912, + "id": 2404, "name": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ], - "id": 2913, + "id": 2405, "name": "Block", - "src": "52809:132:1" + "src": "54308:136:0" } ], - "id": 2914, + "id": 2406, "name": "FunctionDefinition", - "src": "52724:217:1" + "src": "54223:221:0" }, { "attributes": { "baseFunctions": [ - 632 + 124 ], "functionSelector": "a22cb465", "implemented": true, @@ -69171,7 +69171,7 @@ null ], "name": "setApprovalForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69181,9 +69181,9 @@ "attributes": { "text": " @dev See {IERC721-setApprovalForAll}." }, - "id": 2915, + "id": 2407, "name": "StructuredDocumentation", - "src": "52947:56:1" + "src": "54452:58:0" }, { "attributes": { @@ -69191,9 +69191,9 @@ null ] }, - "id": 2921, + "id": 2413, "name": "OverrideSpecifier", - "src": "53083:8:1" + "src": "54591:8:0" }, { "children": [ @@ -69202,7 +69202,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69215,21 +69215,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2916, + "id": 2408, "name": "ElementaryTypeName", - "src": "53035:7:1" + "src": "54543:7:0" } ], - "id": 2917, + "id": 2409, "name": "VariableDeclaration", - "src": "53035:16:1" + "src": "54543:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "approved", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69241,19 +69241,19 @@ "name": "bool", "type": "bool" }, - "id": 2918, + "id": 2410, "name": "ElementaryTypeName", - "src": "53053:4:1" + "src": "54561:4:0" } ], - "id": 2919, + "id": 2411, "name": "VariableDeclaration", - "src": "53053:13:1" + "src": "54561:13:0" } ], - "id": 2920, + "id": 2412, "name": "ParameterList", - "src": "53034:33:1" + "src": "54542:33:0" }, { "attributes": { @@ -69262,9 +69262,9 @@ ] }, "children": [], - "id": 2922, + "id": 2414, "name": "ParameterList", - "src": "53092:0:1" + "src": "54600:0:0" }, { "children": [ @@ -69305,9 +69305,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2923, + "id": 2415, "name": "Identifier", - "src": "53102:7:1" + "src": "54611:7:0" }, { "attributes": { @@ -69328,13 +69328,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2924, + "id": 2416, "name": "Identifier", - "src": "53110:8:1" + "src": "54619:8:0" }, { "attributes": { @@ -69362,23 +69362,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2925, + "id": 2417, "name": "Identifier", - "src": "53122:10:1" + "src": "54631:10:0" } ], - "id": 2926, + "id": 2418, "name": "FunctionCall", - "src": "53122:12:1" + "src": "54631:12:0" } ], - "id": 2927, + "id": 2419, "name": "BinaryOperation", - "src": "53110:24:1" + "src": "54619:24:0" }, { "attributes": { @@ -69391,19 +69391,19 @@ "type": "literal_string \"ERC721: approve to caller\"", "value": "ERC721: approve to caller" }, - "id": 2928, + "id": 2420, "name": "Literal", - "src": "53136:27:1" + "src": "54645:27:0" } ], - "id": 2929, + "id": 2421, "name": "FunctionCall", - "src": "53102:62:1" + "src": "54611:62:0" } ], - "id": 2930, + "id": 2422, "name": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "children": [ @@ -69440,13 +69440,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2931, + "id": 2423, "name": "Identifier", - "src": "53175:18:1" + "src": "54686:18:0" }, { "attributes": { @@ -69474,64 +69474,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2932, + "id": 2424, "name": "Identifier", - "src": "53194:10:1" + "src": "54705:10:0" } ], - "id": 2933, + "id": 2425, "name": "FunctionCall", - "src": "53194:12:1" + "src": "54705:12:0" } ], - "id": 2935, + "id": 2427, "name": "IndexAccess", - "src": "53175:32:1" + "src": "54686:32:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2934, + "id": 2426, "name": "Identifier", - "src": "53208:8:1" + "src": "54719:8:0" } ], - "id": 2936, + "id": 2428, "name": "IndexAccess", - "src": "53175:42:1" + "src": "54686:42:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2937, + "id": 2429, "name": "Identifier", - "src": "53220:8:1" + "src": "54731:8:0" } ], - "id": 2938, + "id": 2430, "name": "Assignment", - "src": "53175:53:1" + "src": "54686:53:0" } ], - "id": 2939, + "id": 2431, "name": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "children": [ @@ -69569,13 +69569,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 572, + "referencedDeclaration": 64, "type": "function (address,address,bool)", "value": "ApprovalForAll" }, - "id": 2940, + "id": 2432, "name": "Identifier", - "src": "53243:14:1" + "src": "54755:14:0" }, { "attributes": { @@ -69603,69 +69603,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2941, + "id": 2433, "name": "Identifier", - "src": "53258:10:1" + "src": "54770:10:0" } ], - "id": 2942, + "id": 2434, "name": "FunctionCall", - "src": "53258:12:1" + "src": "54770:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2943, + "id": 2435, "name": "Identifier", - "src": "53272:8:1" + "src": "54784:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2944, + "id": 2436, "name": "Identifier", - "src": "53282:8:1" + "src": "54794:8:0" } ], - "id": 2945, + "id": 2437, "name": "FunctionCall", - "src": "53243:48:1" + "src": "54755:48:0" } ], - "id": 2946, + "id": 2438, "name": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ], - "id": 2947, + "id": 2439, "name": "Block", - "src": "53092:206:1" + "src": "54600:211:0" } ], - "id": 2948, + "id": 2440, "name": "FunctionDefinition", - "src": "53008:290:1" + "src": "54516:295:0" }, { "attributes": { "baseFunctions": [ - 642 + 134 ], "functionSelector": "e985e9c5", "implemented": true, @@ -69675,7 +69675,7 @@ null ], "name": "isApprovedForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -69685,9 +69685,9 @@ "attributes": { "text": " @dev See {IERC721-isApprovedForAll}." }, - "id": 2949, + "id": 2441, "name": "StructuredDocumentation", - "src": "53304:55:1" + "src": "54819:57:0" }, { "attributes": { @@ -69695,9 +69695,9 @@ null ] }, - "id": 2955, + "id": 2447, "name": "OverrideSpecifier", - "src": "53443:8:1" + "src": "54961:8:0" }, { "children": [ @@ -69706,7 +69706,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69719,21 +69719,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2950, + "id": 2442, "name": "ElementaryTypeName", - "src": "53390:7:1" + "src": "54908:7:0" } ], - "id": 2951, + "id": 2443, "name": "VariableDeclaration", - "src": "53390:13:1" + "src": "54908:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69746,19 +69746,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2952, + "id": 2444, "name": "ElementaryTypeName", - "src": "53405:7:1" + "src": "54923:7:0" } ], - "id": 2953, + "id": 2445, "name": "VariableDeclaration", - "src": "53405:16:1" + "src": "54923:16:0" } ], - "id": 2954, + "id": 2446, "name": "ParameterList", - "src": "53389:33:1" + "src": "54907:33:0" }, { "children": [ @@ -69767,7 +69767,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69779,25 +69779,25 @@ "name": "bool", "type": "bool" }, - "id": 2956, + "id": 2448, "name": "ElementaryTypeName", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2957, + "id": 2449, "name": "VariableDeclaration", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2958, + "id": 2450, "name": "ParameterList", - "src": "53460:6:1" + "src": "54978:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2958 + "functionReturnParameters": 2450 }, "children": [ { @@ -69823,69 +69823,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2959, + "id": 2451, "name": "Identifier", - "src": "53484:18:1" + "src": "55003:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2951, + "referencedDeclaration": 2443, "type": "address", "value": "owner" }, - "id": 2960, + "id": 2452, "name": "Identifier", - "src": "53503:5:1" + "src": "55022:5:0" } ], - "id": 2961, + "id": 2453, "name": "IndexAccess", - "src": "53484:25:1" + "src": "55003:25:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2953, + "referencedDeclaration": 2445, "type": "address", "value": "operator" }, - "id": 2962, + "id": 2454, "name": "Identifier", - "src": "53510:8:1" + "src": "55029:8:0" } ], - "id": 2963, + "id": 2455, "name": "IndexAccess", - "src": "53484:35:1" + "src": "55003:35:0" } ], - "id": 2964, + "id": 2456, "name": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ], - "id": 2965, + "id": 2457, "name": "Block", - "src": "53467:59:1" + "src": "54985:61:0" } ], - "id": 2966, + "id": 2458, "name": "FunctionDefinition", - "src": "53364:162:1" + "src": "54882:164:0" }, { "attributes": { "baseFunctions": [ - 608 + 100 ], "functionSelector": "23b872dd", "implemented": true, @@ -69895,7 +69895,7 @@ null ], "name": "transferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69905,9 +69905,9 @@ "attributes": { "text": " @dev See {IERC721-transferFrom}." }, - "id": 2967, + "id": 2459, "name": "StructuredDocumentation", - "src": "53532:51:1" + "src": "55054:53:0" }, { "attributes": { @@ -69915,9 +69915,9 @@ null ] }, - "id": 2975, + "id": 2467, "name": "OverrideSpecifier", - "src": "53668:8:1" + "src": "55193:8:0" }, { "children": [ @@ -69926,7 +69926,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69939,21 +69939,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2968, + "id": 2460, "name": "ElementaryTypeName", - "src": "53610:7:1" + "src": "55135:7:0" } ], - "id": 2969, + "id": 2461, "name": "VariableDeclaration", - "src": "53610:12:1" + "src": "55135:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69966,21 +69966,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2970, + "id": 2462, "name": "ElementaryTypeName", - "src": "53624:7:1" + "src": "55149:7:0" } ], - "id": 2971, + "id": 2463, "name": "VariableDeclaration", - "src": "53624:10:1" + "src": "55149:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -69992,19 +69992,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2972, + "id": 2464, "name": "ElementaryTypeName", - "src": "53636:7:1" + "src": "55161:7:0" } ], - "id": 2973, + "id": 2465, "name": "VariableDeclaration", - "src": "53636:15:1" + "src": "55161:15:0" } ], - "id": 2974, + "id": 2466, "name": "ParameterList", - "src": "53609:43:1" + "src": "55134:43:0" }, { "attributes": { @@ -70013,9 +70013,9 @@ ] }, "children": [], - "id": 2976, + "id": 2468, "name": "ParameterList", - "src": "53677:0:1" + "src": "55202:0:0" }, { "children": [ @@ -70056,9 +70056,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2977, + "id": 2469, "name": "Identifier", - "src": "53739:7:1" + "src": "55266:7:0" }, { "attributes": { @@ -70090,13 +70090,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 2978, + "id": 2470, "name": "Identifier", - "src": "53747:18:1" + "src": "55274:18:0" }, { "attributes": { @@ -70124,36 +70124,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2979, + "id": 2471, "name": "Identifier", - "src": "53766:10:1" + "src": "55293:10:0" } ], - "id": 2980, + "id": 2472, "name": "FunctionCall", - "src": "53766:12:1" + "src": "55293:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2981, + "id": 2473, "name": "Identifier", - "src": "53780:7:1" + "src": "55307:7:0" } ], - "id": 2982, + "id": 2474, "name": "FunctionCall", - "src": "53747:41:1" + "src": "55274:41:0" }, { "attributes": { @@ -70166,19 +70166,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 2983, + "id": 2475, "name": "Literal", - "src": "53790:51:1" + "src": "55317:51:0" } ], - "id": 2984, + "id": 2476, "name": "FunctionCall", - "src": "53739:103:1" + "src": "55266:103:0" } ], - "id": 2985, + "id": 2477, "name": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "children": [ @@ -70216,77 +70216,77 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 2986, + "id": 2478, "name": "Identifier", - "src": "53853:9:1" + "src": "55382:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2969, + "referencedDeclaration": 2461, "type": "address", "value": "from" }, - "id": 2987, + "id": 2479, "name": "Identifier", - "src": "53863:4:1" + "src": "55392:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2971, + "referencedDeclaration": 2463, "type": "address", "value": "to" }, - "id": 2988, + "id": 2480, "name": "Identifier", - "src": "53869:2:1" + "src": "55398:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2989, + "id": 2481, "name": "Identifier", - "src": "53873:7:1" + "src": "55402:7:0" } ], - "id": 2990, + "id": 2482, "name": "FunctionCall", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2991, + "id": 2483, "name": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2992, + "id": 2484, "name": "Block", - "src": "53677:211:1" + "src": "55202:216:0" } ], - "id": 2993, + "id": 2485, "name": "FunctionDefinition", - "src": "53588:300:1" + "src": "55113:305:0" }, { "attributes": { "baseFunctions": [ - 598 + 90 ], "functionSelector": "42842e0e", "implemented": true, @@ -70296,7 +70296,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70306,9 +70306,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 2994, + "id": 2486, "name": "StructuredDocumentation", - "src": "53894:55:1" + "src": "55426:57:0" }, { "attributes": { @@ -70316,9 +70316,9 @@ null ] }, - "id": 3002, + "id": 2494, "name": "OverrideSpecifier", - "src": "54038:8:1" + "src": "55573:8:0" }, { "children": [ @@ -70327,7 +70327,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70340,21 +70340,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2995, + "id": 2487, "name": "ElementaryTypeName", - "src": "53980:7:1" + "src": "55515:7:0" } ], - "id": 2996, + "id": 2488, "name": "VariableDeclaration", - "src": "53980:12:1" + "src": "55515:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70367,21 +70367,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2997, + "id": 2489, "name": "ElementaryTypeName", - "src": "53994:7:1" + "src": "55529:7:0" } ], - "id": 2998, + "id": 2490, "name": "VariableDeclaration", - "src": "53994:10:1" + "src": "55529:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70393,19 +70393,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2999, + "id": 2491, "name": "ElementaryTypeName", - "src": "54006:7:1" + "src": "55541:7:0" } ], - "id": 3000, + "id": 2492, "name": "VariableDeclaration", - "src": "54006:15:1" + "src": "55541:15:0" } ], - "id": 3001, + "id": 2493, "name": "ParameterList", - "src": "53979:43:1" + "src": "55514:43:0" }, { "attributes": { @@ -70414,9 +70414,9 @@ ] }, "children": [], - "id": 3003, + "id": 2495, "name": "ParameterList", - "src": "54047:0:1" + "src": "55582:0:0" }, { "children": [ @@ -70458,55 +70458,55 @@ } ], "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, + "referencedDeclaration": 2534, "type": "function (address,address,uint256,bytes memory)", "value": "safeTransferFrom" }, - "id": 3004, + "id": 2496, "name": "Identifier", - "src": "54057:16:1" + "src": "55593:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2996, + "referencedDeclaration": 2488, "type": "address", "value": "from" }, - "id": 3005, + "id": 2497, "name": "Identifier", - "src": "54074:4:1" + "src": "55610:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2998, + "referencedDeclaration": 2490, "type": "address", "value": "to" }, - "id": 3006, + "id": 2498, "name": "Identifier", - "src": "54080:2:1" + "src": "55616:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3000, + "referencedDeclaration": 2492, "type": "uint256", "value": "tokenId" }, - "id": 3007, + "id": 2499, "name": "Identifier", - "src": "54084:7:1" + "src": "55620:7:0" }, { "attributes": { @@ -70519,34 +70519,34 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3008, + "id": 2500, "name": "Literal", - "src": "54093:2:1" + "src": "55629:2:0" } ], - "id": 3009, + "id": 2501, "name": "FunctionCall", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3010, + "id": 2502, "name": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3011, + "id": 2503, "name": "Block", - "src": "54047:56:1" + "src": "55582:58:0" } ], - "id": 3012, + "id": 2504, "name": "FunctionDefinition", - "src": "53954:149:1" + "src": "55489:151:0" }, { "attributes": { "baseFunctions": [ - 654 + 146 ], "functionSelector": "b88d4fde", "implemented": true, @@ -70556,7 +70556,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70566,9 +70566,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 3013, + "id": 2505, "name": "StructuredDocumentation", - "src": "54109:55:1" + "src": "55648:57:0" }, { "attributes": { @@ -70576,9 +70576,9 @@ null ] }, - "id": 3023, + "id": 2515, "name": "OverrideSpecifier", - "src": "54273:8:1" + "src": "55815:8:0" }, { "children": [ @@ -70587,7 +70587,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70600,21 +70600,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3014, + "id": 2506, "name": "ElementaryTypeName", - "src": "54195:7:1" + "src": "55737:7:0" } ], - "id": 3015, + "id": 2507, "name": "VariableDeclaration", - "src": "54195:12:1" + "src": "55737:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70627,21 +70627,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3016, + "id": 2508, "name": "ElementaryTypeName", - "src": "54209:7:1" + "src": "55751:7:0" } ], - "id": 3017, + "id": 2509, "name": "VariableDeclaration", - "src": "54209:10:1" + "src": "55751:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70653,21 +70653,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3018, + "id": 2510, "name": "ElementaryTypeName", - "src": "54221:7:1" + "src": "55763:7:0" } ], - "id": 3019, + "id": 2511, "name": "VariableDeclaration", - "src": "54221:15:1" + "src": "55763:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -70679,19 +70679,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3020, + "id": 2512, "name": "ElementaryTypeName", - "src": "54238:5:1" + "src": "55780:5:0" } ], - "id": 3021, + "id": 2513, "name": "VariableDeclaration", - "src": "54238:18:1" + "src": "55780:18:0" } ], - "id": 3022, + "id": 2514, "name": "ParameterList", - "src": "54194:63:1" + "src": "55736:63:0" }, { "attributes": { @@ -70700,9 +70700,9 @@ ] }, "children": [], - "id": 3024, + "id": 2516, "name": "ParameterList", - "src": "54282:0:1" + "src": "55824:0:0" }, { "children": [ @@ -70743,9 +70743,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3025, + "id": 2517, "name": "Identifier", - "src": "54292:7:1" + "src": "55835:7:0" }, { "attributes": { @@ -70777,13 +70777,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 3026, + "id": 2518, "name": "Identifier", - "src": "54300:18:1" + "src": "55843:18:0" }, { "attributes": { @@ -70811,36 +70811,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3027, + "id": 2519, "name": "Identifier", - "src": "54319:10:1" + "src": "55862:10:0" } ], - "id": 3028, + "id": 2520, "name": "FunctionCall", - "src": "54319:12:1" + "src": "55862:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3029, + "id": 2521, "name": "Identifier", - "src": "54333:7:1" + "src": "55876:7:0" } ], - "id": 3030, + "id": 2522, "name": "FunctionCall", - "src": "54300:41:1" + "src": "55843:41:0" }, { "attributes": { @@ -70853,19 +70853,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 3031, + "id": 2523, "name": "Literal", - "src": "54343:51:1" + "src": "55886:51:0" } ], - "id": 3032, + "id": 2524, "name": "FunctionCall", - "src": "54292:103:1" + "src": "55835:103:0" } ], - "id": 3033, + "id": 2525, "name": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "children": [ @@ -70907,85 +70907,85 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3071, + "referencedDeclaration": 2563, "type": "function (address,address,uint256,bytes memory)", "value": "_safeTransfer" }, - "id": 3034, + "id": 2526, "name": "Identifier", - "src": "54405:13:1" + "src": "55949:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3015, + "referencedDeclaration": 2507, "type": "address", "value": "from" }, - "id": 3035, + "id": 2527, "name": "Identifier", - "src": "54419:4:1" + "src": "55963:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3017, + "referencedDeclaration": 2509, "type": "address", "value": "to" }, - "id": 3036, + "id": 2528, "name": "Identifier", - "src": "54425:2:1" + "src": "55969:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3037, + "id": 2529, "name": "Identifier", - "src": "54429:7:1" + "src": "55973:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3021, + "referencedDeclaration": 2513, "type": "bytes memory", "value": "_data" }, - "id": 3038, + "id": 2530, "name": "Identifier", - "src": "54438:5:1" + "src": "55982:5:0" } ], - "id": 3039, + "id": 2531, "name": "FunctionCall", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3040, + "id": 2532, "name": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3041, + "id": 2533, "name": "Block", - "src": "54282:169:1" + "src": "55824:172:0" } ], - "id": 3042, + "id": 2534, "name": "FunctionDefinition", - "src": "54169:282:1" + "src": "55711:285:0" }, { "attributes": { @@ -70996,7 +70996,7 @@ null ], "name": "_safeTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -71006,9 +71006,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3043, + "id": 2535, "name": "StructuredDocumentation", - "src": "54457:851:1" + "src": "56004:868:0" }, { "children": [ @@ -71017,7 +71017,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71030,21 +71030,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3044, + "id": 2536, "name": "ElementaryTypeName", - "src": "55336:7:1" + "src": "56901:7:0" } ], - "id": 3045, + "id": 2537, "name": "VariableDeclaration", - "src": "55336:12:1" + "src": "56901:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71057,21 +71057,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3046, + "id": 2538, "name": "ElementaryTypeName", - "src": "55350:7:1" + "src": "56915:7:0" } ], - "id": 3047, + "id": 2539, "name": "VariableDeclaration", - "src": "55350:10:1" + "src": "56915:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71083,21 +71083,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3048, + "id": 2540, "name": "ElementaryTypeName", - "src": "55362:7:1" + "src": "56927:7:0" } ], - "id": 3049, + "id": 2541, "name": "VariableDeclaration", - "src": "55362:15:1" + "src": "56927:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -71109,19 +71109,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3050, + "id": 2542, "name": "ElementaryTypeName", - "src": "55379:5:1" + "src": "56944:5:0" } ], - "id": 3051, + "id": 2543, "name": "VariableDeclaration", - "src": "55379:18:1" + "src": "56944:18:0" } ], - "id": 3052, + "id": 2544, "name": "ParameterList", - "src": "55335:63:1" + "src": "56900:63:0" }, { "attributes": { @@ -71130,9 +71130,9 @@ ] }, "children": [], - "id": 3053, + "id": 2545, "name": "ParameterList", - "src": "55416:0:1" + "src": "56981:0:0" }, { "children": [ @@ -71172,62 +71172,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 3054, + "id": 2546, "name": "Identifier", - "src": "55426:9:1" + "src": "56992:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3055, + "id": 2547, "name": "Identifier", - "src": "55436:4:1" + "src": "57002:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3056, + "id": 2548, "name": "Identifier", - "src": "55442:2:1" + "src": "57008:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3057, + "id": 2549, "name": "Identifier", - "src": "55446:7:1" + "src": "57012:7:0" } ], - "id": 3058, + "id": 2550, "name": "FunctionCall", - "src": "55426:28:1" + "src": "56992:28:0" } ], - "id": 3059, + "id": 2551, "name": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "children": [ @@ -71266,9 +71266,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3060, + "id": 2552, "name": "Identifier", - "src": "55464:7:1" + "src": "57031:7:0" }, { "attributes": { @@ -71308,70 +71308,70 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3061, + "id": 2553, "name": "Identifier", - "src": "55472:22:1" + "src": "57039:22:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3062, + "id": 2554, "name": "Identifier", - "src": "55495:4:1" + "src": "57062:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3063, + "id": 2555, "name": "Identifier", - "src": "55501:2:1" + "src": "57068:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3064, + "id": 2556, "name": "Identifier", - "src": "55505:7:1" + "src": "57072:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3051, + "referencedDeclaration": 2543, "type": "bytes memory", "value": "_data" }, - "id": 3065, + "id": 2557, "name": "Identifier", - "src": "55514:5:1" + "src": "57081:5:0" } ], - "id": 3066, + "id": 2558, "name": "FunctionCall", - "src": "55472:48:1" + "src": "57039:48:0" }, { "attributes": { @@ -71384,29 +71384,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3067, + "id": 2559, "name": "Literal", - "src": "55522:52:1" + "src": "57089:52:0" } ], - "id": 3068, + "id": 2560, "name": "FunctionCall", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3069, + "id": 2561, "name": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3070, + "id": 2562, "name": "Block", - "src": "55416:166:1" + "src": "56981:169:0" } ], - "id": 3071, + "id": 2563, "name": "FunctionDefinition", - "src": "55313:269:1" + "src": "56878:272:0" }, { "attributes": { @@ -71417,7 +71417,7 @@ null ], "name": "_exists", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71427,9 +71427,9 @@ "attributes": { "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3072, + "id": 2564, "name": "StructuredDocumentation", - "src": "55588:292:1" + "src": "57158:299:0" }, { "children": [ @@ -71438,7 +71438,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71450,19 +71450,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3073, + "id": 2565, "name": "ElementaryTypeName", - "src": "55902:7:1" + "src": "57480:7:0" } ], - "id": 3074, + "id": 2566, "name": "VariableDeclaration", - "src": "55902:15:1" + "src": "57480:15:0" } ], - "id": 3075, + "id": 2567, "name": "ParameterList", - "src": "55901:17:1" + "src": "57479:17:0" }, { "children": [ @@ -71471,7 +71471,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71483,25 +71483,25 @@ "name": "bool", "type": "bool" }, - "id": 3076, + "id": 2568, "name": "ElementaryTypeName", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3077, + "id": 2569, "name": "VariableDeclaration", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3078, + "id": 2570, "name": "ParameterList", - "src": "55949:6:1" + "src": "57527:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3078 + "functionReturnParameters": 2570 }, "children": [ { @@ -71532,7 +71532,7 @@ "isPure": false, "lValueRequested": false, "member_name": "contains", - "referencedDeclaration": 2326, + "referencedDeclaration": 1818, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" }, "children": [ @@ -71541,51 +71541,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3079, + "id": 2571, "name": "Identifier", - "src": "55973:12:1" + "src": "57552:12:0" } ], - "id": 3080, + "id": 2572, "name": "MemberAccess", - "src": "55973:21:1" + "src": "57552:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3074, + "referencedDeclaration": 2566, "type": "uint256", "value": "tokenId" }, - "id": 3081, + "id": 2573, "name": "Identifier", - "src": "55995:7:1" + "src": "57574:7:0" } ], - "id": 3082, + "id": 2574, "name": "FunctionCall", - "src": "55973:30:1" + "src": "57552:30:0" } ], - "id": 3083, + "id": 2575, "name": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ], - "id": 3084, + "id": 2576, "name": "Block", - "src": "55956:54:1" + "src": "57534:56:0" } ], - "id": 3085, + "id": 2577, "name": "FunctionDefinition", - "src": "55885:125:1" + "src": "57463:127:0" }, { "attributes": { @@ -71596,7 +71596,7 @@ null ], "name": "_isApprovedOrOwner", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71606,9 +71606,9 @@ "attributes": { "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3086, + "id": 2578, "name": "StructuredDocumentation", - "src": "56016:147:1" + "src": "57598:153:0" }, { "children": [ @@ -71617,7 +71617,7 @@ "constant": false, "mutability": "mutable", "name": "spender", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71630,21 +71630,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3087, + "id": 2579, "name": "ElementaryTypeName", - "src": "56196:7:1" + "src": "57785:7:0" } ], - "id": 3088, + "id": 2580, "name": "VariableDeclaration", - "src": "56196:15:1" + "src": "57785:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71656,19 +71656,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3089, + "id": 2581, "name": "ElementaryTypeName", - "src": "56213:7:1" + "src": "57802:7:0" } ], - "id": 3090, + "id": 2582, "name": "VariableDeclaration", - "src": "56213:15:1" + "src": "57802:15:0" } ], - "id": 3091, + "id": 2583, "name": "ParameterList", - "src": "56195:34:1" + "src": "57784:34:0" }, { "children": [ @@ -71677,7 +71677,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71689,19 +71689,19 @@ "name": "bool", "type": "bool" }, - "id": 3092, + "id": 2584, "name": "ElementaryTypeName", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3093, + "id": 2585, "name": "VariableDeclaration", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3094, + "id": 2586, "name": "ParameterList", - "src": "56260:6:1" + "src": "57849:6:0" }, { "children": [ @@ -71742,9 +71742,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3095, + "id": 2587, "name": "Identifier", - "src": "56277:7:1" + "src": "57867:7:0" }, { "attributes": { @@ -71772,31 +71772,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3096, + "id": 2588, "name": "Identifier", - "src": "56285:7:1" + "src": "57875:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3097, + "id": 2589, "name": "Identifier", - "src": "56293:7:1" + "src": "57883:7:0" } ], - "id": 3098, + "id": 2590, "name": "FunctionCall", - "src": "56285:16:1" + "src": "57875:16:0" }, { "attributes": { @@ -71809,24 +71809,24 @@ "type": "literal_string \"ERC721: operator query for nonexistent token\"", "value": "ERC721: operator query for nonexistent token" }, - "id": 3099, + "id": 2591, "name": "Literal", - "src": "56303:46:1" + "src": "57893:46:0" } ], - "id": 3100, + "id": 2592, "name": "FunctionCall", - "src": "56277:73:1" + "src": "57867:73:0" } ], - "id": 3101, + "id": 2593, "name": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "attributes": { "assignments": [ - 3103 + 2595 ] }, "children": [ @@ -71835,7 +71835,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3126, + "scope": 2618, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71848,14 +71848,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3102, + "id": 2594, "name": "ElementaryTypeName", - "src": "56360:7:1" + "src": "57951:7:0" } ], - "id": 3103, + "id": 2595, "name": "VariableDeclaration", - "src": "56360:13:1" + "src": "57951:13:0" }, { "attributes": { @@ -71885,7 +71885,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -71894,45 +71894,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3104, + "id": 2596, "name": "Identifier", - "src": "56376:6:1" + "src": "57967:6:0" } ], - "id": 3105, + "id": 2597, "name": "MemberAccess", - "src": "56376:14:1" + "src": "57967:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3106, + "id": 2598, "name": "Identifier", - "src": "56391:7:1" + "src": "57982:7:0" } ], - "id": 3107, + "id": 2599, "name": "FunctionCall", - "src": "56376:23:1" + "src": "57967:23:0" } ], - "id": 3108, + "id": 2600, "name": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "attributes": { - "functionReturnParameters": 3094 + "functionReturnParameters": 2586 }, "children": [ { @@ -71992,31 +71992,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3109, + "id": 2601, "name": "Identifier", - "src": "56417:7:1" + "src": "58009:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3110, + "id": 2602, "name": "Identifier", - "src": "56428:5:1" + "src": "58020:5:0" } ], - "id": 3111, + "id": 2603, "name": "BinaryOperation", - "src": "56417:16:1" + "src": "58009:16:0" }, { "attributes": { @@ -72058,54 +72058,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2914, + "referencedDeclaration": 2406, "type": "function (uint256) view returns (address)", "value": "getApproved" }, - "id": 3112, + "id": 2604, "name": "Identifier", - "src": "56437:11:1" + "src": "58029:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3113, + "id": 2605, "name": "Identifier", - "src": "56449:7:1" + "src": "58041:7:0" } ], - "id": 3114, + "id": 2606, "name": "FunctionCall", - "src": "56437:20:1" + "src": "58029:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3115, + "id": 2607, "name": "Identifier", - "src": "56461:7:1" + "src": "58053:7:0" } ], - "id": 3116, + "id": 2608, "name": "BinaryOperation", - "src": "56437:31:1" + "src": "58029:31:0" } ], - "id": 3117, + "id": 2609, "name": "BinaryOperation", - "src": "56417:51:1" + "src": "58009:51:0" }, { "attributes": { @@ -72139,7 +72139,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -72148,74 +72148,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3118, + "id": 2610, "name": "Identifier", - "src": "56472:6:1" + "src": "58064:6:0" } ], - "id": 3119, + "id": 2611, "name": "MemberAccess", - "src": "56472:23:1" + "src": "58064:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3120, + "id": 2612, "name": "Identifier", - "src": "56496:5:1" + "src": "58088:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3121, + "id": 2613, "name": "Identifier", - "src": "56503:7:1" + "src": "58095:7:0" } ], - "id": 3122, + "id": 2614, "name": "FunctionCall", - "src": "56472:39:1" + "src": "58064:39:0" } ], - "id": 3123, + "id": 2615, "name": "BinaryOperation", - "src": "56417:94:1" + "src": "58009:94:0" } ], - "id": 3124, + "id": 2616, "name": "TupleExpression", - "src": "56416:96:1" + "src": "58008:96:0" } ], - "id": 3125, + "id": 2617, "name": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ], - "id": 3126, + "id": 2618, "name": "Block", - "src": "56267:252:1" + "src": "57856:256:0" } ], - "id": 3127, + "id": 2619, "name": "FunctionDefinition", - "src": "56168:351:1" + "src": "57757:355:0" }, { "attributes": { @@ -72226,7 +72226,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72236,9 +72236,9 @@ "attributes": { "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3128, + "id": 2620, "name": "StructuredDocumentation", - "src": "56525:320:1" + "src": "58120:329:0" }, { "children": [ @@ -72247,7 +72247,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72260,21 +72260,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3129, + "id": 2621, "name": "ElementaryTypeName", - "src": "56869:7:1" + "src": "58474:7:0" } ], - "id": 3130, + "id": 2622, "name": "VariableDeclaration", - "src": "56869:10:1" + "src": "58474:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72286,19 +72286,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3131, + "id": 2623, "name": "ElementaryTypeName", - "src": "56881:7:1" + "src": "58486:7:0" } ], - "id": 3132, + "id": 2624, "name": "VariableDeclaration", - "src": "56881:15:1" + "src": "58486:15:0" } ], - "id": 3133, + "id": 2625, "name": "ParameterList", - "src": "56868:29:1" + "src": "58473:29:0" }, { "attributes": { @@ -72307,9 +72307,9 @@ ] }, "children": [], - "id": 3134, + "id": 2626, "name": "ParameterList", - "src": "56915:0:1" + "src": "58520:0:0" }, { "children": [ @@ -72347,42 +72347,42 @@ } ], "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, + "referencedDeclaration": 2663, "type": "function (address,uint256,bytes memory)", "value": "_safeMint" }, - "id": 3135, + "id": 2627, "name": "Identifier", - "src": "56925:9:1" + "src": "58531:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3130, + "referencedDeclaration": 2622, "type": "address", "value": "to" }, - "id": 3136, + "id": 2628, "name": "Identifier", - "src": "56935:2:1" + "src": "58541:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3132, + "referencedDeclaration": 2624, "type": "uint256", "value": "tokenId" }, - "id": 3137, + "id": 2629, "name": "Identifier", - "src": "56939:7:1" + "src": "58545:7:0" }, { "attributes": { @@ -72395,29 +72395,29 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3138, + "id": 2630, "name": "Literal", - "src": "56948:2:1" + "src": "58554:2:0" } ], - "id": 3139, + "id": 2631, "name": "FunctionCall", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3140, + "id": 2632, "name": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3141, + "id": 2633, "name": "Block", - "src": "56915:43:1" + "src": "58520:45:0" } ], - "id": 3142, + "id": 2634, "name": "FunctionDefinition", - "src": "56850:108:1" + "src": "58455:110:0" }, { "attributes": { @@ -72428,7 +72428,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72438,9 +72438,9 @@ "attributes": { "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3143, + "id": 2635, "name": "StructuredDocumentation", - "src": "56964:210:1" + "src": "58573:213:0" }, { "children": [ @@ -72449,7 +72449,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72462,21 +72462,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3144, + "id": 2636, "name": "ElementaryTypeName", - "src": "57198:7:1" + "src": "58811:7:0" } ], - "id": 3145, + "id": 2637, "name": "VariableDeclaration", - "src": "57198:10:1" + "src": "58811:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72488,21 +72488,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3146, + "id": 2638, "name": "ElementaryTypeName", - "src": "57210:7:1" + "src": "58823:7:0" } ], - "id": 3147, + "id": 2639, "name": "VariableDeclaration", - "src": "57210:15:1" + "src": "58823:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -72514,19 +72514,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3148, + "id": 2640, "name": "ElementaryTypeName", - "src": "57227:5:1" + "src": "58840:5:0" } ], - "id": 3149, + "id": 2641, "name": "VariableDeclaration", - "src": "57227:18:1" + "src": "58840:18:0" } ], - "id": 3150, + "id": 2642, "name": "ParameterList", - "src": "57197:49:1" + "src": "58810:49:0" }, { "attributes": { @@ -72535,9 +72535,9 @@ ] }, "children": [], - "id": 3151, + "id": 2643, "name": "ParameterList", - "src": "57264:0:1" + "src": "58877:0:0" }, { "children": [ @@ -72573,49 +72573,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3230, + "referencedDeclaration": 2722, "type": "function (address,uint256)", "value": "_mint" }, - "id": 3152, + "id": 2644, "name": "Identifier", - "src": "57274:5:1" + "src": "58888:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3153, + "id": 2645, "name": "Identifier", - "src": "57280:2:1" + "src": "58894:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3154, + "id": 2646, "name": "Identifier", - "src": "57284:7:1" + "src": "58898:7:0" } ], - "id": 3155, + "id": 2647, "name": "FunctionCall", - "src": "57274:18:1" + "src": "58888:18:0" } ], - "id": 3156, + "id": 2648, "name": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "children": [ @@ -72654,9 +72654,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3157, + "id": 2649, "name": "Identifier", - "src": "57302:7:1" + "src": "58917:7:0" }, { "attributes": { @@ -72696,13 +72696,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3158, + "id": 2650, "name": "Identifier", - "src": "57310:22:1" + "src": "58925:22:0" }, { "attributes": { @@ -72738,14 +72738,14 @@ "attributes": { "name": "address" }, - "id": 3159, + "id": 2651, "name": "ElementaryTypeName", - "src": "57333:7:1" + "src": "58948:7:0" } ], - "id": 3160, + "id": 2652, "name": "ElementaryTypeNameExpression", - "src": "57333:7:1" + "src": "58948:7:0" }, { "attributes": { @@ -72758,58 +72758,58 @@ "type": "int_const 0", "value": "0" }, - "id": 3161, + "id": 2653, "name": "Literal", - "src": "57341:1:1" + "src": "58956:1:0" } ], - "id": 3162, + "id": 2654, "name": "FunctionCall", - "src": "57333:10:1" + "src": "58948:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3163, + "id": 2655, "name": "Identifier", - "src": "57345:2:1" + "src": "58960:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3164, + "id": 2656, "name": "Identifier", - "src": "57349:7:1" + "src": "58964:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3149, + "referencedDeclaration": 2641, "type": "bytes memory", "value": "_data" }, - "id": 3165, + "id": 2657, "name": "Identifier", - "src": "57358:5:1" + "src": "58973:5:0" } ], - "id": 3166, + "id": 2658, "name": "FunctionCall", - "src": "57310:54:1" + "src": "58925:54:0" }, { "attributes": { @@ -72822,29 +72822,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3167, + "id": 2659, "name": "Literal", - "src": "57366:52:1" + "src": "58981:52:0" } ], - "id": 3168, + "id": 2660, "name": "FunctionCall", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3169, + "id": 2661, "name": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3170, + "id": 2662, "name": "Block", - "src": "57264:162:1" + "src": "58877:165:0" } ], - "id": 3171, + "id": 2663, "name": "FunctionDefinition", - "src": "57179:247:1" + "src": "58792:250:0" }, { "attributes": { @@ -72855,7 +72855,7 @@ null ], "name": "_mint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72865,9 +72865,9 @@ "attributes": { "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3172, + "id": 2664, "name": "StructuredDocumentation", - "src": "57432:311:1" + "src": "59050:322:0" }, { "children": [ @@ -72876,7 +72876,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72889,21 +72889,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3173, + "id": 2665, "name": "ElementaryTypeName", - "src": "57763:7:1" + "src": "59393:7:0" } ], - "id": 3174, + "id": 2666, "name": "VariableDeclaration", - "src": "57763:10:1" + "src": "59393:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72915,19 +72915,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3175, + "id": 2667, "name": "ElementaryTypeName", - "src": "57775:7:1" + "src": "59405:7:0" } ], - "id": 3176, + "id": 2668, "name": "VariableDeclaration", - "src": "57775:15:1" + "src": "59405:15:0" } ], - "id": 3177, + "id": 2669, "name": "ParameterList", - "src": "57762:29:1" + "src": "59392:29:0" }, { "attributes": { @@ -72936,9 +72936,9 @@ ] }, "children": [], - "id": 3178, + "id": 2670, "name": "ParameterList", - "src": "57809:0:1" + "src": "59439:0:0" }, { "children": [ @@ -72979,9 +72979,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3179, + "id": 2671, "name": "Identifier", - "src": "57819:7:1" + "src": "59450:7:0" }, { "attributes": { @@ -73002,13 +73002,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3180, + "id": 2672, "name": "Identifier", - "src": "57827:2:1" + "src": "59458:2:0" }, { "attributes": { @@ -73044,14 +73044,14 @@ "attributes": { "name": "address" }, - "id": 3181, + "id": 2673, "name": "ElementaryTypeName", - "src": "57833:7:1" + "src": "59464:7:0" } ], - "id": 3182, + "id": 2674, "name": "ElementaryTypeNameExpression", - "src": "57833:7:1" + "src": "59464:7:0" }, { "attributes": { @@ -73064,19 +73064,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3183, + "id": 2675, "name": "Literal", - "src": "57841:1:1" + "src": "59472:1:0" } ], - "id": 3184, + "id": 2676, "name": "FunctionCall", - "src": "57833:10:1" + "src": "59464:10:0" } ], - "id": 3185, + "id": 2677, "name": "BinaryOperation", - "src": "57827:16:1" + "src": "59458:16:0" }, { "attributes": { @@ -73089,19 +73089,19 @@ "type": "literal_string \"ERC721: mint to the zero address\"", "value": "ERC721: mint to the zero address" }, - "id": 3186, + "id": 2678, "name": "Literal", - "src": "57845:34:1" + "src": "59476:34:0" } ], - "id": 3187, + "id": 2679, "name": "FunctionCall", - "src": "57819:61:1" + "src": "59450:61:0" } ], - "id": 3188, + "id": 2680, "name": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "children": [ @@ -73140,9 +73140,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3189, + "id": 2681, "name": "Identifier", - "src": "57890:7:1" + "src": "59522:7:0" }, { "attributes": { @@ -73181,36 +73181,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3190, + "id": 2682, "name": "Identifier", - "src": "57899:7:1" + "src": "59531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3191, + "id": 2683, "name": "Identifier", - "src": "57907:7:1" + "src": "59539:7:0" } ], - "id": 3192, + "id": 2684, "name": "FunctionCall", - "src": "57899:16:1" + "src": "59531:16:0" } ], - "id": 3193, + "id": 2685, "name": "UnaryOperation", - "src": "57898:17:1" + "src": "59530:17:0" }, { "attributes": { @@ -73223,19 +73223,19 @@ "type": "literal_string \"ERC721: token already minted\"", "value": "ERC721: token already minted" }, - "id": 3194, + "id": 2686, "name": "Literal", - "src": "57917:30:1" + "src": "59549:30:0" } ], - "id": 3195, + "id": 2687, "name": "FunctionCall", - "src": "57890:58:1" + "src": "59522:58:0" } ], - "id": 3196, + "id": 2688, "name": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "children": [ @@ -73273,13 +73273,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3197, + "id": 2689, "name": "Identifier", - "src": "57959:20:1" + "src": "59593:20:0" }, { "attributes": { @@ -73315,14 +73315,14 @@ "attributes": { "name": "address" }, - "id": 3198, + "id": 2690, "name": "ElementaryTypeName", - "src": "57980:7:1" + "src": "59614:7:0" } ], - "id": 3199, + "id": 2691, "name": "ElementaryTypeNameExpression", - "src": "57980:7:1" + "src": "59614:7:0" }, { "attributes": { @@ -73335,50 +73335,50 @@ "type": "int_const 0", "value": "0" }, - "id": 3200, + "id": 2692, "name": "Literal", - "src": "57988:1:1" + "src": "59622:1:0" } ], - "id": 3201, + "id": 2693, "name": "FunctionCall", - "src": "57980:10:1" + "src": "59614:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3202, + "id": 2694, "name": "Identifier", - "src": "57992:2:1" + "src": "59626:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3203, + "id": 2695, "name": "Identifier", - "src": "57996:7:1" + "src": "59630:7:0" } ], - "id": 3204, + "id": 2696, "name": "FunctionCall", - "src": "57959:45:1" + "src": "59593:45:0" } ], - "id": 3205, + "id": 2697, "name": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "children": [ @@ -73410,7 +73410,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -73428,59 +73428,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3206, + "id": 2698, "name": "Identifier", - "src": "58015:13:1" + "src": "59651:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3207, + "id": 2699, "name": "Identifier", - "src": "58029:2:1" + "src": "59665:2:0" } ], - "id": 3208, + "id": 2700, "name": "IndexAccess", - "src": "58015:17:1" + "src": "59651:17:0" } ], - "id": 3209, + "id": 2701, "name": "MemberAccess", - "src": "58015:21:1" + "src": "59651:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3210, + "id": 2702, "name": "Identifier", - "src": "58037:7:1" + "src": "59673:7:0" } ], - "id": 3211, + "id": 2703, "name": "FunctionCall", - "src": "58015:30:1" + "src": "59651:30:0" } ], - "id": 3212, + "id": 2704, "name": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "children": [ @@ -73516,7 +73516,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -73525,54 +73525,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3213, + "id": 2705, "name": "Identifier", - "src": "58056:12:1" + "src": "59694:12:0" } ], - "id": 3215, + "id": 2707, "name": "MemberAccess", - "src": "58056:16:1" + "src": "59694:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3216, + "id": 2708, "name": "Identifier", - "src": "58073:7:1" + "src": "59711:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3217, + "id": 2709, "name": "Identifier", - "src": "58082:2:1" + "src": "59720:2:0" } ], - "id": 3218, + "id": 2710, "name": "FunctionCall", - "src": "58056:29:1" + "src": "59694:29:0" } ], - "id": 3219, + "id": 2711, "name": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "children": [ @@ -73610,13 +73610,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3220, + "id": 2712, "name": "Identifier", - "src": "58101:8:1" + "src": "59741:8:0" }, { "attributes": { @@ -73652,14 +73652,14 @@ "attributes": { "name": "address" }, - "id": 3221, + "id": 2713, "name": "ElementaryTypeName", - "src": "58110:7:1" + "src": "59750:7:0" } ], - "id": 3222, + "id": 2714, "name": "ElementaryTypeNameExpression", - "src": "58110:7:1" + "src": "59750:7:0" }, { "attributes": { @@ -73672,60 +73672,60 @@ "type": "int_const 0", "value": "0" }, - "id": 3223, + "id": 2715, "name": "Literal", - "src": "58118:1:1" + "src": "59758:1:0" } ], - "id": 3224, + "id": 2716, "name": "FunctionCall", - "src": "58110:10:1" + "src": "59750:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3225, + "id": 2717, "name": "Identifier", - "src": "58122:2:1" + "src": "59762:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3226, + "id": 2718, "name": "Identifier", - "src": "58126:7:1" + "src": "59766:7:0" } ], - "id": 3227, + "id": 2719, "name": "FunctionCall", - "src": "58101:33:1" + "src": "59741:33:0" } ], - "id": 3228, + "id": 2720, "name": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ], - "id": 3229, + "id": 2721, "name": "Block", - "src": "57809:332:1" + "src": "59439:343:0" } ], - "id": 3230, + "id": 2722, "name": "FunctionDefinition", - "src": "57748:393:1" + "src": "59378:404:0" }, { "attributes": { @@ -73736,7 +73736,7 @@ null ], "name": "_burn", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -73746,9 +73746,9 @@ "attributes": { "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3231, + "id": 2723, "name": "StructuredDocumentation", - "src": "58147:206:1" + "src": "59790:215:0" }, { "children": [ @@ -73757,7 +73757,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3299, + "scope": 2791, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -73769,19 +73769,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3232, + "id": 2724, "name": "ElementaryTypeName", - "src": "58373:7:1" + "src": "60026:7:0" } ], - "id": 3233, + "id": 2725, "name": "VariableDeclaration", - "src": "58373:15:1" + "src": "60026:15:0" } ], - "id": 3234, + "id": 2726, "name": "ParameterList", - "src": "58372:17:1" + "src": "60025:17:0" }, { "attributes": { @@ -73790,16 +73790,16 @@ ] }, "children": [], - "id": 3235, + "id": 2727, "name": "ParameterList", - "src": "58407:0:1" + "src": "60060:0:0" }, { "children": [ { "attributes": { "assignments": [ - 3237 + 2729 ] }, "children": [ @@ -73808,7 +73808,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3298, + "scope": 2790, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -73821,14 +73821,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3236, + "id": 2728, "name": "ElementaryTypeName", - "src": "58417:7:1" + "src": "60071:7:0" } ], - "id": 3237, + "id": 2729, "name": "VariableDeclaration", - "src": "58417:13:1" + "src": "60071:13:0" }, { "attributes": { @@ -73858,7 +73858,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -73867,41 +73867,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3238, + "id": 2730, "name": "Identifier", - "src": "58433:6:1" + "src": "60087:6:0" } ], - "id": 3239, + "id": 2731, "name": "MemberAccess", - "src": "58433:14:1" + "src": "60087:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3240, + "id": 2732, "name": "Identifier", - "src": "58448:7:1" + "src": "60102:7:0" } ], - "id": 3241, + "id": 2733, "name": "FunctionCall", - "src": "58433:23:1" + "src": "60087:23:0" } ], - "id": 3242, + "id": 2734, "name": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "children": [ @@ -73939,26 +73939,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3243, + "id": 2735, "name": "Identifier", - "src": "58485:20:1" + "src": "60141:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3244, + "id": 2736, "name": "Identifier", - "src": "58506:5:1" + "src": "60162:5:0" }, { "attributes": { @@ -73994,14 +73994,14 @@ "attributes": { "name": "address" }, - "id": 3245, + "id": 2737, "name": "ElementaryTypeName", - "src": "58513:7:1" + "src": "60169:7:0" } ], - "id": 3246, + "id": 2738, "name": "ElementaryTypeNameExpression", - "src": "58513:7:1" + "src": "60169:7:0" }, { "attributes": { @@ -74014,37 +74014,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3247, + "id": 2739, "name": "Literal", - "src": "58521:1:1" + "src": "60177:1:0" } ], - "id": 3248, + "id": 2740, "name": "FunctionCall", - "src": "58513:10:1" + "src": "60169:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3249, + "id": 2741, "name": "Identifier", - "src": "58525:7:1" + "src": "60181:7:0" } ], - "id": 3250, + "id": 2742, "name": "FunctionCall", - "src": "58485:48:1" + "src": "60141:48:0" } ], - "id": 3251, + "id": 2743, "name": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "children": [ @@ -74078,13 +74078,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3252, + "id": 2744, "name": "Identifier", - "src": "58571:8:1" + "src": "60230:8:0" }, { "attributes": { @@ -74120,14 +74120,14 @@ "attributes": { "name": "address" }, - "id": 3253, + "id": 2745, "name": "ElementaryTypeName", - "src": "58580:7:1" + "src": "60239:7:0" } ], - "id": 3254, + "id": 2746, "name": "ElementaryTypeNameExpression", - "src": "58580:7:1" + "src": "60239:7:0" }, { "attributes": { @@ -74140,37 +74140,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3255, + "id": 2747, "name": "Literal", - "src": "58588:1:1" + "src": "60247:1:0" } ], - "id": 3256, + "id": 2748, "name": "FunctionCall", - "src": "58580:10:1" + "src": "60239:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3257, + "id": 2749, "name": "Identifier", - "src": "58592:7:1" + "src": "60251:7:0" } ], - "id": 3258, + "id": 2750, "name": "FunctionCall", - "src": "58571:29:1" + "src": "60230:29:0" } ], - "id": 3259, + "id": 2751, "name": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "attributes": {}, @@ -74233,14 +74233,14 @@ "attributes": { "name": "bytes" }, - "id": 3260, + "id": 2752, "name": "ElementaryTypeName", - "src": "58650:5:1" + "src": "60312:5:0" } ], - "id": 3261, + "id": 2753, "name": "ElementaryTypeNameExpression", - "src": "58650:5:1" + "src": "60312:5:0" }, { "attributes": { @@ -74256,41 +74256,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3262, + "id": 2754, "name": "Identifier", - "src": "58656:10:1" + "src": "60318:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3263, + "id": 2755, "name": "Identifier", - "src": "58667:7:1" + "src": "60329:7:0" } ], - "id": 3264, + "id": 2756, "name": "IndexAccess", - "src": "58656:19:1" + "src": "60318:19:0" } ], - "id": 3265, + "id": 2757, "name": "FunctionCall", - "src": "58650:26:1" + "src": "60312:26:0" } ], - "id": 3266, + "id": 2758, "name": "MemberAccess", - "src": "58650:33:1" + "src": "60312:33:0" }, { "attributes": { @@ -74303,14 +74303,14 @@ "type": "int_const 0", "value": "0" }, - "id": 3267, + "id": 2759, "name": "Literal", - "src": "58687:1:1" + "src": "60349:1:0" } ], - "id": 3268, + "id": 2760, "name": "BinaryOperation", - "src": "58650:38:1" + "src": "60312:38:0" }, { "children": [ @@ -74341,51 +74341,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3269, + "id": 2761, "name": "Identifier", - "src": "58711:10:1" + "src": "60374:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3270, + "id": 2762, "name": "Identifier", - "src": "58722:7:1" + "src": "60385:7:0" } ], - "id": 3271, + "id": 2763, "name": "IndexAccess", - "src": "58711:19:1" + "src": "60374:19:0" } ], - "id": 3272, + "id": 2764, "name": "UnaryOperation", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3273, + "id": 2765, "name": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3274, + "id": 2766, "name": "Block", - "src": "58690:51:1" + "src": "60352:53:0" } ], - "id": 3275, + "id": 2767, "name": "IfStatement", - "src": "58646:95:1" + "src": "60308:97:0" }, { "children": [ @@ -74417,7 +74417,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -74435,59 +74435,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3276, + "id": 2768, "name": "Identifier", - "src": "58751:13:1" + "src": "60417:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3277, + "id": 2769, "name": "Identifier", - "src": "58765:5:1" + "src": "60431:5:0" } ], - "id": 3278, + "id": 2770, "name": "IndexAccess", - "src": "58751:20:1" + "src": "60417:20:0" } ], - "id": 3279, + "id": 2771, "name": "MemberAccess", - "src": "58751:27:1" + "src": "60417:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3280, + "id": 2772, "name": "Identifier", - "src": "58779:7:1" + "src": "60445:7:0" } ], - "id": 3281, + "id": 2773, "name": "FunctionCall", - "src": "58751:36:1" + "src": "60417:36:0" } ], - "id": 3282, + "id": 2774, "name": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "children": [ @@ -74519,7 +74519,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 2306, + "referencedDeclaration": 1798, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" }, "children": [ @@ -74528,41 +74528,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3283, + "id": 2775, "name": "Identifier", - "src": "58798:12:1" + "src": "60466:12:0" } ], - "id": 3285, + "id": 2777, "name": "MemberAccess", - "src": "58798:19:1" + "src": "60466:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3286, + "id": 2778, "name": "Identifier", - "src": "58818:7:1" + "src": "60486:7:0" } ], - "id": 3287, + "id": 2779, "name": "FunctionCall", - "src": "58798:28:1" + "src": "60466:28:0" } ], - "id": 3288, + "id": 2780, "name": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "children": [ @@ -74600,26 +74600,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3289, + "id": 2781, "name": "Identifier", - "src": "58842:8:1" + "src": "60512:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3290, + "id": 2782, "name": "Identifier", - "src": "58851:5:1" + "src": "60521:5:0" }, { "attributes": { @@ -74655,14 +74655,14 @@ "attributes": { "name": "address" }, - "id": 3291, + "id": 2783, "name": "ElementaryTypeName", - "src": "58858:7:1" + "src": "60528:7:0" } ], - "id": 3292, + "id": 2784, "name": "ElementaryTypeNameExpression", - "src": "58858:7:1" + "src": "60528:7:0" }, { "attributes": { @@ -74675,47 +74675,47 @@ "type": "int_const 0", "value": "0" }, - "id": 3293, + "id": 2785, "name": "Literal", - "src": "58866:1:1" + "src": "60536:1:0" } ], - "id": 3294, + "id": 2786, "name": "FunctionCall", - "src": "58858:10:1" + "src": "60528:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3295, + "id": 2787, "name": "Identifier", - "src": "58870:7:1" + "src": "60540:7:0" } ], - "id": 3296, + "id": 2788, "name": "FunctionCall", - "src": "58842:36:1" + "src": "60512:36:0" } ], - "id": 3297, + "id": 2789, "name": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ], - "id": 3298, + "id": 2790, "name": "Block", - "src": "58407:478:1" + "src": "60060:496:0" } ], - "id": 3299, + "id": 2791, "name": "FunctionDefinition", - "src": "58358:527:1" + "src": "60011:545:0" }, { "attributes": { @@ -74726,7 +74726,7 @@ null ], "name": "_transfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -74736,9 +74736,9 @@ "attributes": { "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3300, + "id": 2792, "name": "StructuredDocumentation", - "src": "58891:313:1" + "src": "60564:323:0" }, { "children": [ @@ -74747,7 +74747,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74760,21 +74760,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3301, + "id": 2793, "name": "ElementaryTypeName", - "src": "59228:7:1" + "src": "60912:7:0" } ], - "id": 3302, + "id": 2794, "name": "VariableDeclaration", - "src": "59228:12:1" + "src": "60912:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74787,21 +74787,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3303, + "id": 2795, "name": "ElementaryTypeName", - "src": "59242:7:1" + "src": "60926:7:0" } ], - "id": 3304, + "id": 2796, "name": "VariableDeclaration", - "src": "59242:10:1" + "src": "60926:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -74813,19 +74813,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3305, + "id": 2797, "name": "ElementaryTypeName", - "src": "59254:7:1" + "src": "60938:7:0" } ], - "id": 3306, + "id": 2798, "name": "VariableDeclaration", - "src": "59254:15:1" + "src": "60938:15:0" } ], - "id": 3307, + "id": 2799, "name": "ParameterList", - "src": "59227:43:1" + "src": "60911:43:0" }, { "attributes": { @@ -74834,9 +74834,9 @@ ] }, "children": [], - "id": 3308, + "id": 2800, "name": "ParameterList", - "src": "59288:0:1" + "src": "60972:0:0" }, { "children": [ @@ -74877,9 +74877,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3309, + "id": 2801, "name": "Identifier", - "src": "59298:7:1" + "src": "60983:7:0" }, { "attributes": { @@ -74923,7 +74923,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -74932,54 +74932,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3310, + "id": 2802, "name": "Identifier", - "src": "59306:6:1" + "src": "60991:6:0" } ], - "id": 3311, + "id": 2803, "name": "MemberAccess", - "src": "59306:14:1" + "src": "60991:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3312, + "id": 2804, "name": "Identifier", - "src": "59321:7:1" + "src": "61006:7:0" } ], - "id": 3313, + "id": 2805, "name": "FunctionCall", - "src": "59306:23:1" + "src": "60991:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3314, + "id": 2806, "name": "Identifier", - "src": "59333:4:1" + "src": "61018:4:0" } ], - "id": 3315, + "id": 2807, "name": "BinaryOperation", - "src": "59306:31:1" + "src": "60991:31:0" }, { "attributes": { @@ -74992,19 +74992,19 @@ "type": "literal_string \"ERC721: transfer of token that is not own\"", "value": "ERC721: transfer of token that is not own" }, - "id": 3316, + "id": 2808, "name": "Literal", - "src": "59339:43:1" + "src": "61024:43:0" } ], - "id": 3317, + "id": 2809, "name": "FunctionCall", - "src": "59298:85:1" + "src": "60983:85:0" } ], - "id": 3318, + "id": 2810, "name": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "children": [ @@ -75043,9 +75043,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3319, + "id": 2811, "name": "Identifier", - "src": "59411:7:1" + "src": "61097:7:0" }, { "attributes": { @@ -75066,13 +75066,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3320, + "id": 2812, "name": "Identifier", - "src": "59419:2:1" + "src": "61105:2:0" }, { "attributes": { @@ -75108,14 +75108,14 @@ "attributes": { "name": "address" }, - "id": 3321, + "id": 2813, "name": "ElementaryTypeName", - "src": "59425:7:1" + "src": "61111:7:0" } ], - "id": 3322, + "id": 2814, "name": "ElementaryTypeNameExpression", - "src": "59425:7:1" + "src": "61111:7:0" }, { "attributes": { @@ -75128,19 +75128,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3323, + "id": 2815, "name": "Literal", - "src": "59433:1:1" + "src": "61119:1:0" } ], - "id": 3324, + "id": 2816, "name": "FunctionCall", - "src": "59425:10:1" + "src": "61111:10:0" } ], - "id": 3325, + "id": 2817, "name": "BinaryOperation", - "src": "59419:16:1" + "src": "61105:16:0" }, { "attributes": { @@ -75153,19 +75153,19 @@ "type": "literal_string \"ERC721: transfer to the zero address\"", "value": "ERC721: transfer to the zero address" }, - "id": 3326, + "id": 2818, "name": "Literal", - "src": "59437:38:1" + "src": "61123:38:0" } ], - "id": 3327, + "id": 2819, "name": "FunctionCall", - "src": "59411:65:1" + "src": "61097:65:0" } ], - "id": 3328, + "id": 2820, "name": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "children": [ @@ -75203,62 +75203,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3329, + "id": 2821, "name": "Identifier", - "src": "59487:20:1" + "src": "61175:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3330, + "id": 2822, "name": "Identifier", - "src": "59508:4:1" + "src": "61196:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3331, + "id": 2823, "name": "Identifier", - "src": "59514:2:1" + "src": "61202:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3332, + "id": 2824, "name": "Identifier", - "src": "59518:7:1" + "src": "61206:7:0" } ], - "id": 3333, + "id": 2825, "name": "FunctionCall", - "src": "59487:39:1" + "src": "61175:39:0" } ], - "id": 3334, + "id": 2826, "name": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "children": [ @@ -75292,13 +75292,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3335, + "id": 2827, "name": "Identifier", - "src": "59588:8:1" + "src": "61279:8:0" }, { "attributes": { @@ -75334,14 +75334,14 @@ "attributes": { "name": "address" }, - "id": 3336, + "id": 2828, "name": "ElementaryTypeName", - "src": "59597:7:1" + "src": "61288:7:0" } ], - "id": 3337, + "id": 2829, "name": "ElementaryTypeNameExpression", - "src": "59597:7:1" + "src": "61288:7:0" }, { "attributes": { @@ -75354,37 +75354,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3338, + "id": 2830, "name": "Literal", - "src": "59605:1:1" + "src": "61296:1:0" } ], - "id": 3339, + "id": 2831, "name": "FunctionCall", - "src": "59597:10:1" + "src": "61288:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3340, + "id": 2832, "name": "Identifier", - "src": "59609:7:1" + "src": "61300:7:0" } ], - "id": 3341, + "id": 2833, "name": "FunctionCall", - "src": "59588:29:1" + "src": "61279:29:0" } ], - "id": 3342, + "id": 2834, "name": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "children": [ @@ -75416,7 +75416,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75434,59 +75434,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3343, + "id": 2835, "name": "Identifier", - "src": "59628:13:1" + "src": "61321:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3344, + "id": 2836, "name": "Identifier", - "src": "59642:4:1" + "src": "61335:4:0" } ], - "id": 3345, + "id": 2837, "name": "IndexAccess", - "src": "59628:19:1" + "src": "61321:19:0" } ], - "id": 3346, + "id": 2838, "name": "MemberAccess", - "src": "59628:26:1" + "src": "61321:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3347, + "id": 2839, "name": "Identifier", - "src": "59655:7:1" + "src": "61348:7:0" } ], - "id": 3348, + "id": 2840, "name": "FunctionCall", - "src": "59628:35:1" + "src": "61321:35:0" } ], - "id": 3349, + "id": 2841, "name": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "children": [ @@ -75518,7 +75518,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75536,59 +75536,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3350, + "id": 2842, "name": "Identifier", - "src": "59673:13:1" + "src": "61367:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3351, + "id": 2843, "name": "Identifier", - "src": "59687:2:1" + "src": "61381:2:0" } ], - "id": 3352, + "id": 2844, "name": "IndexAccess", - "src": "59673:17:1" + "src": "61367:17:0" } ], - "id": 3353, + "id": 2845, "name": "MemberAccess", - "src": "59673:21:1" + "src": "61367:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3354, + "id": 2846, "name": "Identifier", - "src": "59695:7:1" + "src": "61389:7:0" } ], - "id": 3355, + "id": 2847, "name": "FunctionCall", - "src": "59673:30:1" + "src": "61367:30:0" } ], - "id": 3356, + "id": 2848, "name": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "children": [ @@ -75624,7 +75624,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -75633,54 +75633,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3357, + "id": 2849, "name": "Identifier", - "src": "59714:12:1" + "src": "61410:12:0" } ], - "id": 3359, + "id": 2851, "name": "MemberAccess", - "src": "59714:16:1" + "src": "61410:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3360, + "id": 2852, "name": "Identifier", - "src": "59731:7:1" + "src": "61427:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3361, + "id": 2853, "name": "Identifier", - "src": "59740:2:1" + "src": "61436:2:0" } ], - "id": 3362, + "id": 2854, "name": "FunctionCall", - "src": "59714:29:1" + "src": "61410:29:0" } ], - "id": 3363, + "id": 2855, "name": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "children": [ @@ -75718,72 +75718,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3364, + "id": 2856, "name": "Identifier", - "src": "59759:8:1" + "src": "61457:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3365, + "id": 2857, "name": "Identifier", - "src": "59768:4:1" + "src": "61466:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3366, + "id": 2858, "name": "Identifier", - "src": "59774:2:1" + "src": "61472:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3367, + "id": 2859, "name": "Identifier", - "src": "59778:7:1" + "src": "61476:7:0" } ], - "id": 3368, + "id": 2860, "name": "FunctionCall", - "src": "59759:27:1" + "src": "61457:27:0" } ], - "id": 3369, + "id": 2861, "name": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ], - "id": 3370, + "id": 2862, "name": "Block", - "src": "59288:505:1" + "src": "60972:520:0" } ], - "id": 3371, + "id": 2863, "name": "FunctionDefinition", - "src": "59209:584:1" + "src": "60893:599:0" }, { "attributes": { @@ -75794,7 +75794,7 @@ null ], "name": "_setTokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -75804,9 +75804,9 @@ "attributes": { "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3372, + "id": 2864, "name": "StructuredDocumentation", - "src": "59799:136:1" + "src": "61500:142:0" }, { "children": [ @@ -75815,7 +75815,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -75827,21 +75827,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3373, + "id": 2865, "name": "ElementaryTypeName", - "src": "59962:7:1" + "src": "61670:7:0" } ], - "id": 3374, + "id": 2866, "name": "VariableDeclaration", - "src": "59962:15:1" + "src": "61670:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -75853,19 +75853,19 @@ "name": "string", "type": "string" }, - "id": 3375, + "id": 2867, "name": "ElementaryTypeName", - "src": "59979:6:1" + "src": "61687:6:0" } ], - "id": 3376, + "id": 2868, "name": "VariableDeclaration", - "src": "59979:23:1" + "src": "61687:23:0" } ], - "id": 3377, + "id": 2869, "name": "ParameterList", - "src": "59961:42:1" + "src": "61669:42:0" }, { "attributes": { @@ -75874,9 +75874,9 @@ ] }, "children": [], - "id": 3378, + "id": 2870, "name": "ParameterList", - "src": "60021:0:1" + "src": "61729:0:0" }, { "children": [ @@ -75917,9 +75917,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3379, + "id": 2871, "name": "Identifier", - "src": "60031:7:1" + "src": "61740:7:0" }, { "attributes": { @@ -75947,31 +75947,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3380, + "id": 2872, "name": "Identifier", - "src": "60039:7:1" + "src": "61748:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3381, + "id": 2873, "name": "Identifier", - "src": "60047:7:1" + "src": "61756:7:0" } ], - "id": 3382, + "id": 2874, "name": "FunctionCall", - "src": "60039:16:1" + "src": "61748:16:0" }, { "attributes": { @@ -75984,19 +75984,19 @@ "type": "literal_string \"ERC721Metadata: URI set of nonexistent token\"", "value": "ERC721Metadata: URI set of nonexistent token" }, - "id": 3383, + "id": 2875, "name": "Literal", - "src": "60057:46:1" + "src": "61766:46:0" } ], - "id": 3384, + "id": 2876, "name": "FunctionCall", - "src": "60031:73:1" + "src": "61740:73:0" } ], - "id": 3385, + "id": 2877, "name": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "children": [ @@ -76024,64 +76024,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3386, + "id": 2878, "name": "Identifier", - "src": "60114:10:1" + "src": "61824:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3387, + "id": 2879, "name": "Identifier", - "src": "60125:7:1" + "src": "61835:7:0" } ], - "id": 3388, + "id": 2880, "name": "IndexAccess", - "src": "60114:19:1" + "src": "61824:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3376, + "referencedDeclaration": 2868, "type": "string memory", "value": "_tokenURI" }, - "id": 3389, + "id": 2881, "name": "Identifier", - "src": "60136:9:1" + "src": "61846:9:0" } ], - "id": 3390, + "id": 2882, "name": "Assignment", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3391, + "id": 2883, "name": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3392, + "id": 2884, "name": "Block", - "src": "60021:131:1" + "src": "61729:134:0" } ], - "id": 3393, + "id": 2885, "name": "FunctionDefinition", - "src": "59940:212:1" + "src": "61648:215:0" }, { "attributes": { @@ -76092,7 +76092,7 @@ null ], "name": "_setBaseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -76102,9 +76102,9 @@ "attributes": { "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3394, + "id": 2886, "name": "StructuredDocumentation", - "src": "60158:212:1" + "src": "61871:216:0" }, { "children": [ @@ -76113,7 +76113,7 @@ "constant": false, "mutability": "mutable", "name": "baseURI_", - "scope": 3404, + "scope": 2896, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -76125,19 +76125,19 @@ "name": "string", "type": "string" }, - "id": 3395, + "id": 2887, "name": "ElementaryTypeName", - "src": "60396:6:1" + "src": "62114:6:0" } ], - "id": 3396, + "id": 2888, "name": "VariableDeclaration", - "src": "60396:22:1" + "src": "62114:22:0" } ], - "id": 3397, + "id": 2889, "name": "ParameterList", - "src": "60395:24:1" + "src": "62113:24:0" }, { "attributes": { @@ -76146,9 +76146,9 @@ ] }, "children": [], - "id": 3398, + "id": 2890, "name": "ParameterList", - "src": "60437:0:1" + "src": "62155:0:0" }, { "children": [ @@ -76169,46 +76169,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 3399, + "id": 2891, "name": "Identifier", - "src": "60447:8:1" + "src": "62166:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3396, + "referencedDeclaration": 2888, "type": "string memory", "value": "baseURI_" }, - "id": 3400, + "id": 2892, "name": "Identifier", - "src": "60458:8:1" + "src": "62177:8:0" } ], - "id": 3401, + "id": 2893, "name": "Assignment", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3402, + "id": 2894, "name": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3403, + "id": 2895, "name": "Block", - "src": "60437:36:1" + "src": "62155:38:0" } ], - "id": 3404, + "id": 2896, "name": "FunctionDefinition", - "src": "60375:98:1" + "src": "62093:100:0" }, { "attributes": { @@ -76219,7 +76219,7 @@ null ], "name": "_checkOnERC721Received", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -76229,9 +76229,9 @@ "attributes": { "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3405, + "id": 2897, "name": "StructuredDocumentation", - "src": "60479:542:1" + "src": "62201:551:0" }, { "children": [ @@ -76240,7 +76240,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76253,21 +76253,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3406, + "id": 2898, "name": "ElementaryTypeName", - "src": "61058:7:1" + "src": "62790:7:0" } ], - "id": 3407, + "id": 2899, "name": "VariableDeclaration", - "src": "61058:12:1" + "src": "62790:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76280,21 +76280,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3408, + "id": 2900, "name": "ElementaryTypeName", - "src": "61072:7:1" + "src": "62804:7:0" } ], - "id": 3409, + "id": 2901, "name": "VariableDeclaration", - "src": "61072:10:1" + "src": "62804:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -76306,21 +76306,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3410, + "id": 2902, "name": "ElementaryTypeName", - "src": "61084:7:1" + "src": "62816:7:0" } ], - "id": 3411, + "id": 2903, "name": "VariableDeclaration", - "src": "61084:15:1" + "src": "62816:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76332,19 +76332,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3412, + "id": 2904, "name": "ElementaryTypeName", - "src": "61101:5:1" + "src": "62833:5:0" } ], - "id": 3413, + "id": 2905, "name": "VariableDeclaration", - "src": "61101:18:1" + "src": "62833:18:0" } ], - "id": 3414, + "id": 2906, "name": "ParameterList", - "src": "61057:63:1" + "src": "62789:63:0" }, { "children": [ @@ -76353,7 +76353,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -76365,19 +76365,19 @@ "name": "bool", "type": "bool" }, - "id": 3415, + "id": 2907, "name": "ElementaryTypeName", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3416, + "id": 2908, "name": "VariableDeclaration", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3417, + "id": 2909, "name": "ParameterList", - "src": "61145:6:1" + "src": "62878:6:0" }, { "children": [ @@ -76423,7 +76423,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isContract", - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)" }, "children": [ @@ -76432,34 +76432,34 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3418, + "id": 2910, "name": "Identifier", - "src": "61171:2:1" + "src": "62906:2:0" } ], - "id": 3419, + "id": 2911, "name": "MemberAccess", - "src": "61171:13:1" + "src": "62906:13:0" } ], - "id": 3420, + "id": 2912, "name": "FunctionCall", - "src": "61171:15:1" + "src": "62906:15:0" } ], - "id": 3421, + "id": 2913, "name": "UnaryOperation", - "src": "61170:16:1" + "src": "62905:16:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -76473,29 +76473,29 @@ "type": "bool", "value": "true" }, - "id": 3422, + "id": 2914, "name": "Literal", - "src": "61209:4:1" + "src": "62945:4:0" } ], - "id": 3423, + "id": 2915, "name": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ], - "id": 3424, + "id": 2916, "name": "Block", - "src": "61188:36:1" + "src": "62923:38:0" } ], - "id": 3425, + "id": 2917, "name": "IfStatement", - "src": "61166:58:1" + "src": "62901:60:0" }, { "attributes": { "assignments": [ - 3427 + 2919 ] }, "children": [ @@ -76504,7 +76504,7 @@ "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76516,14 +76516,14 @@ "name": "bytes", "type": "bytes" }, - "id": 3426, + "id": 2918, "name": "ElementaryTypeName", - "src": "61233:5:1" + "src": "62971:5:0" } ], - "id": 3427, + "id": 2919, "name": "VariableDeclaration", - "src": "61233:23:1" + "src": "62971:23:0" }, { "attributes": { @@ -76557,7 +76557,7 @@ "isPure": false, "lValueRequested": false, "member_name": "functionCall", - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)" }, "children": [ @@ -76566,18 +76566,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3428, + "id": 2920, "name": "Identifier", - "src": "61259:2:1" + "src": "62997:2:0" } ], - "id": 3429, + "id": 2921, "name": "MemberAccess", - "src": "61259:15:1" + "src": "62997:15:0" }, { "attributes": { @@ -76635,14 +76635,14 @@ "type": "abi", "value": "abi" }, - "id": 3430, + "id": 2922, "name": "Identifier", - "src": "61275:3:1" + "src": "63013:3:0" } ], - "id": 3431, + "id": 2923, "name": "MemberAccess", - "src": "61275:22:1" + "src": "63013:22:0" }, { "attributes": { @@ -76661,7 +76661,7 @@ "isPure": false, "lValueRequested": false, "member_name": "onERC721Received", - "referencedDeclaration": 725, + "referencedDeclaration": 217, "type": "function (address,address,uint256,bytes memory) external returns (bytes4)" }, "children": [ @@ -76691,41 +76691,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 726, + "referencedDeclaration": 218, "type": "type(contract IERC721Receiver)", "value": "IERC721Receiver" }, - "id": 3432, + "id": 2924, "name": "Identifier", - "src": "61311:15:1" + "src": "63050:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3433, + "id": 2925, "name": "Identifier", - "src": "61327:2:1" + "src": "63066:2:0" } ], - "id": 3434, + "id": 2926, "name": "FunctionCall", - "src": "61311:19:1" + "src": "63050:19:0" } ], - "id": 3435, + "id": 2927, "name": "MemberAccess", - "src": "61311:36:1" + "src": "63050:36:0" } ], - "id": 3436, + "id": 2928, "name": "MemberAccess", - "src": "61311:45:1" + "src": "63050:45:0" }, { "attributes": { @@ -76753,62 +76753,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3437, + "id": 2929, "name": "Identifier", - "src": "61370:10:1" + "src": "63110:10:0" } ], - "id": 3438, + "id": 2930, "name": "FunctionCall", - "src": "61370:12:1" + "src": "63110:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3407, + "referencedDeclaration": 2899, "type": "address", "value": "from" }, - "id": 3439, + "id": 2931, "name": "Identifier", - "src": "61396:4:1" + "src": "63137:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3411, + "referencedDeclaration": 2903, "type": "uint256", "value": "tokenId" }, - "id": 3440, + "id": 2932, "name": "Identifier", - "src": "61414:7:1" + "src": "63156:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3413, + "referencedDeclaration": 2905, "type": "bytes memory", "value": "_data" }, - "id": 3441, + "id": 2933, "name": "Identifier", - "src": "61435:5:1" + "src": "63178:5:0" } ], - "id": 3442, + "id": 2934, "name": "FunctionCall", - "src": "61275:175:1" + "src": "63013:181:0" }, { "attributes": { @@ -76821,24 +76821,24 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3443, + "id": 2935, "name": "Literal", - "src": "61452:52:1" + "src": "63196:52:0" } ], - "id": 3444, + "id": 2936, "name": "FunctionCall", - "src": "61259:246:1" + "src": "62997:252:0" } ], - "id": 3445, + "id": 2937, "name": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "attributes": { "assignments": [ - 3447 + 2939 ] }, "children": [ @@ -76847,7 +76847,7 @@ "constant": false, "mutability": "mutable", "name": "retval", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -76859,14 +76859,14 @@ "name": "bytes4", "type": "bytes4" }, - "id": 3446, + "id": 2938, "name": "ElementaryTypeName", - "src": "61515:6:1" + "src": "63260:6:0" } ], - "id": 3447, + "id": 2939, "name": "VariableDeclaration", - "src": "61515:13:1" + "src": "63260:13:0" }, { "attributes": { @@ -76912,27 +76912,27 @@ "type": "abi", "value": "abi" }, - "id": 3448, + "id": 2940, "name": "Identifier", - "src": "61531:3:1" + "src": "63276:3:0" } ], - "id": 3449, + "id": 2941, "name": "MemberAccess", - "src": "61531:10:1" + "src": "63276:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3427, + "referencedDeclaration": 2919, "type": "bytes memory", "value": "returndata" }, - "id": 3450, + "id": 2942, "name": "Identifier", - "src": "61542:10:1" + "src": "63287:10:0" }, { "attributes": { @@ -76957,33 +76957,33 @@ "attributes": { "name": "bytes4" }, - "id": 3451, + "id": 2943, "name": "ElementaryTypeName", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3452, + "id": 2944, "name": "ElementaryTypeNameExpression", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3453, + "id": 2945, "name": "TupleExpression", - "src": "61554:8:1" + "src": "63299:8:0" } ], - "id": 3454, + "id": 2946, "name": "FunctionCall", - "src": "61531:32:1" + "src": "63276:32:0" } ], - "id": 3455, + "id": 2947, "name": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -77015,51 +77015,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3447, + "referencedDeclaration": 2939, "type": "bytes4", "value": "retval" }, - "id": 3456, + "id": 2948, "name": "Identifier", - "src": "61581:6:1" + "src": "63327:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2596, + "referencedDeclaration": 2088, "type": "bytes4", "value": "_ERC721_RECEIVED" }, - "id": 3457, + "id": 2949, "name": "Identifier", - "src": "61591:16:1" + "src": "63337:16:0" } ], - "id": 3458, + "id": 2950, "name": "BinaryOperation", - "src": "61581:26:1" + "src": "63327:26:0" } ], - "id": 3459, + "id": 2951, "name": "TupleExpression", - "src": "61580:28:1" + "src": "63326:28:0" } ], - "id": 3460, + "id": 2952, "name": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ], - "id": 3461, + "id": 2953, "name": "Block", - "src": "61156:459:1" + "src": "62890:472:0" } ], - "id": 3462, + "id": 2954, "name": "FunctionDefinition", - "src": "61026:589:1" + "src": "62758:604:0" }, { "attributes": { @@ -77070,7 +77070,7 @@ null ], "name": "_approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77080,9 +77080,9 @@ "attributes": { "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3463, + "id": 2955, "name": "StructuredDocumentation", - "src": "61621:101:1" + "src": "63370:105:0" }, { "children": [ @@ -77091,7 +77091,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77104,21 +77104,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3464, + "id": 2956, "name": "ElementaryTypeName", - "src": "61745:7:1" + "src": "63499:7:0" } ], - "id": 3465, + "id": 2957, "name": "VariableDeclaration", - "src": "61745:10:1" + "src": "63499:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77130,19 +77130,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3466, + "id": 2958, "name": "ElementaryTypeName", - "src": "61757:7:1" + "src": "63511:7:0" } ], - "id": 3467, + "id": 2959, "name": "VariableDeclaration", - "src": "61757:15:1" + "src": "63511:15:0" } ], - "id": 3468, + "id": 2960, "name": "ParameterList", - "src": "61744:29:1" + "src": "63498:29:0" }, { "attributes": { @@ -77151,9 +77151,9 @@ ] }, "children": [], - "id": 3469, + "id": 2961, "name": "ParameterList", - "src": "61791:0:1" + "src": "63545:0:0" }, { "children": [ @@ -77183,54 +77183,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 3470, + "id": 2962, "name": "Identifier", - "src": "61801:15:1" + "src": "63556:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3471, + "id": 2963, "name": "Identifier", - "src": "61817:7:1" + "src": "63572:7:0" } ], - "id": 3472, + "id": 2964, "name": "IndexAccess", - "src": "61801:24:1" + "src": "63556:24:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3473, + "id": 2965, "name": "Identifier", - "src": "61828:2:1" + "src": "63583:2:0" } ], - "id": 3474, + "id": 2966, "name": "Assignment", - "src": "61801:29:1" + "src": "63556:29:0" } ], - "id": 3475, + "id": 2967, "name": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "children": [ @@ -77268,13 +77268,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 563, + "referencedDeclaration": 55, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 3476, + "id": 2968, "name": "Identifier", - "src": "61845:8:1" + "src": "63601:8:0" }, { "attributes": { @@ -77304,7 +77304,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -77313,82 +77313,82 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3477, + "id": 2969, "name": "Identifier", - "src": "61854:6:1" + "src": "63610:6:0" } ], - "id": 3478, + "id": 2970, "name": "MemberAccess", - "src": "61854:14:1" + "src": "63610:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3479, + "id": 2971, "name": "Identifier", - "src": "61869:7:1" + "src": "63625:7:0" } ], - "id": 3480, + "id": 2972, "name": "FunctionCall", - "src": "61854:23:1" + "src": "63610:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3481, + "id": 2973, "name": "Identifier", - "src": "61879:2:1" + "src": "63635:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3482, + "id": 2974, "name": "Identifier", - "src": "61883:7:1" + "src": "63639:7:0" } ], - "id": 3483, + "id": 2975, "name": "FunctionCall", - "src": "61845:46:1" + "src": "63601:46:0" } ], - "id": 3484, + "id": 2976, "name": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ], - "id": 3485, + "id": 2977, "name": "Block", - "src": "61791:125:1" + "src": "63545:128:0" } ], - "id": 3486, + "id": 2978, "name": "FunctionDefinition", - "src": "61727:189:1" + "src": "63481:192:0" }, { "attributes": { @@ -77399,7 +77399,7 @@ null ], "name": "_beforeTokenTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77409,9 +77409,9 @@ "attributes": { "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3487, + "id": 2979, "name": "StructuredDocumentation", - "src": "61922:585:1" + "src": "63681:599:0" }, { "children": [ @@ -77420,7 +77420,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77433,21 +77433,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3488, + "id": 2980, "name": "ElementaryTypeName", - "src": "62542:7:1" + "src": "64316:7:0" } ], - "id": 3489, + "id": 2981, "name": "VariableDeclaration", - "src": "62542:12:1" + "src": "64316:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77460,21 +77460,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3490, + "id": 2982, "name": "ElementaryTypeName", - "src": "62556:7:1" + "src": "64330:7:0" } ], - "id": 3491, + "id": 2983, "name": "VariableDeclaration", - "src": "62556:10:1" + "src": "64330:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77486,19 +77486,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3492, + "id": 2984, "name": "ElementaryTypeName", - "src": "62568:7:1" + "src": "64342:7:0" } ], - "id": 3493, + "id": 2985, "name": "VariableDeclaration", - "src": "62568:15:1" + "src": "64342:15:0" } ], - "id": 3494, + "id": 2986, "name": "ParameterList", - "src": "62541:43:1" + "src": "64315:43:0" }, { "attributes": { @@ -77507,9 +77507,9 @@ ] }, "children": [], - "id": 3495, + "id": 2987, "name": "ParameterList", - "src": "62602:0:1" + "src": "64376:0:0" }, { "attributes": { @@ -77518,32 +77518,32 @@ ] }, "children": [], - "id": 3496, + "id": 2988, "name": "Block", - "src": "62602:3:1" + "src": "64376:3:0" } ], - "id": 3497, + "id": 2989, "name": "FunctionDefinition", - "src": "62512:93:1" + "src": "64286:93:0" } ], - "id": 3498, + "id": 2990, "name": "ContractDefinition", - "src": "46080:16527:1" + "src": "47398:16984:0" } ], - "id": 3499, + "id": 2991, "name": "SourceUnit", - "src": "84:62524:1" + "src": "87:64297:0" }, "compiler": { "name": "solc", "version": "0.7.6+commit.7338295f.Emscripten.clang" }, "networks": {}, - "schemaVersion": "3.3.4", - "updatedAt": "2021-03-13T11:18:08.421Z", + "schemaVersion": "3.4.3", + "updatedAt": "2021-10-13T09:55:47.825Z", "devdoc": { "details": "Wrappers over Solidity's arithmetic operations with added overflow checks. Arithmetic operations in Solidity wrap on overflow. This can easily result in bugs, because programmers usually assume that an overflow raises an error, which is the standard behavior in high level programming languages. `SafeMath` restores this intuition by reverting the transaction when an operation overflows. Using this library instead of the unchecked operations eliminates an entire class of bugs, so it's recommended to use it always.", "kind": "dev", diff --git a/src/abis/Strings.json b/src/abis/Strings.json index d8d38c2..16e8e49 100644 --- a/src/abis/Strings.json +++ b/src/abis/Strings.json @@ -1,65 +1,65 @@ { "contractName": "Strings", "abi": [], - "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"String operations.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":\"Strings\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol\":{\"keccak256\":\"0xac9220652f9879c5fb3116025d59e8fbf6c2c3d149aed9f617b88edd31402044\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://48de100723de94a6590c6db5bae5098a93445194389c3f3eeb104c7239ef3044\",\"dweb:/ipfs/QmVHLEtfLqBqX7XQRHfLuuwtufRBFJFHfgY4zbFRpaZwXC\"]}},\"version\":1}", - "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f3b850744b70c896ab5702b181a7df4f4a083750e51124b83b96fbcc0d60321464736f6c63430007060033", - "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea2646970667358221220f3b850744b70c896ab5702b181a7df4f4a083750e51124b83b96fbcc0d60321464736f6c63430007060033", + "metadata": "{\"compiler\":{\"version\":\"0.7.6+commit.7338295f\"},\"language\":\"Solidity\",\"output\":{\"abi\":[],\"devdoc\":{\"details\":\"String operations.\",\"kind\":\"dev\",\"methods\":{},\"version\":1},\"userdoc\":{\"kind\":\"user\",\"methods\":{},\"version\":1}},\"settings\":{\"compilationTarget\":{\"project:/src/contracts/ERC721.sol\":\"Strings\"},\"evmVersion\":\"istanbul\",\"libraries\":{},\"metadata\":{\"bytecodeHash\":\"ipfs\"},\"optimizer\":{\"enabled\":false,\"runs\":200},\"remappings\":[]},\"sources\":{\"project:/src/contracts/ERC721.sol\":{\"keccak256\":\"0xbbf5d35e3785428d14b29cf40a6a1f82d9275af46f6f80ec5f330615911aa767\",\"license\":\"MIT\",\"urls\":[\"bzz-raw://e5479e3deda288fc9c642c0449113673031cb9834a3507621d5bd7e292969e16\",\"dweb:/ipfs/QmcKjBg55emL46LCBPRw1Y79fz3aGiMiQXFeWcDpJisEgJ\"]}},\"version\":1}", + "bytecode": "0x60566023600b82828239805160001a607314601657fe5b30600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122030bbfb1581ee96ab1026ffd77210a72d71f7948abfb4570af3e09944448aa95f64736f6c63430007060033", + "deployedBytecode": "0x73000000000000000000000000000000000000000030146080604052600080fdfea264697066735822122030bbfb1581ee96ab1026ffd77210a72d71f7948abfb4570af3e09944448aa95f64736f6c63430007060033", "immutableReferences": {}, "generatedSources": [], "deployedGeneratedSources": [], - "sourceMap": "45027:836:1:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", - "deployedSourceMap": "45027:836:1:-:0;;;;;;;;", - "source": "// SPDX-License-Identifier: MIT\n\n// File: @openzeppelin/contracts/utils/Context.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/*\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with GSN meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n function _msgSender() internal view virtual returns (address payable) {\n return msg.sender;\n }\n\n function _msgData() internal view virtual returns (bytes memory) {\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\n return msg.data;\n }\n}\n\n// File: @openzeppelin/contracts/introspection/IERC165.sol\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n /**\n * @dev Returns true if this contract implements the interface defined by\n * `interfaceId`. See the corresponding\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n * to learn more about how these ids are created.\n *\n * This function call must use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @dev Required interface of an ERC721 compliant contract.\n */\ninterface IERC721 is IERC165 {\n /**\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\n */\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\n */\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\n\n /**\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\n */\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\n\n /**\n * @dev Returns the number of tokens in ``owner``'s account.\n */\n function balanceOf(address owner) external view returns (uint256 balance);\n\n /**\n * @dev Returns the owner of the `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function ownerOf(uint256 tokenId) external view returns (address owner);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Transfers `tokenId` token from `from` to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n *\n * Emits a {Transfer} event.\n */\n function transferFrom(address from, address to, uint256 tokenId) external;\n\n /**\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\n * The approval is cleared when the token is transferred.\n *\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n *\n * Requirements:\n *\n * - The caller must own the token or be an approved operator.\n * - `tokenId` must exist.\n *\n * Emits an {Approval} event.\n */\n function approve(address to, uint256 tokenId) external;\n\n /**\n * @dev Returns the account approved for `tokenId` token.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function getApproved(uint256 tokenId) external view returns (address operator);\n\n /**\n * @dev Approve or remove `operator` as an operator for the caller.\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n *\n * Requirements:\n *\n * - The `operator` cannot be the caller.\n *\n * Emits an {ApprovalForAll} event.\n */\n function setApprovalForAll(address operator, bool _approved) external;\n\n /**\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n *\n * See {setApprovalForAll}\n */\n function isApprovedForAll(address owner, address operator) external view returns (bool);\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Metadata is IERC721 {\n\n /**\n * @dev Returns the token collection name.\n */\n function name() external view returns (string memory);\n\n /**\n * @dev Returns the token collection symbol.\n */\n function symbol() external view returns (string memory);\n\n /**\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\n */\n function tokenURI(uint256 tokenId) external view returns (string memory);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\n\n\npragma solidity >=0.6.2 <0.8.0;\n\n\n/**\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n * @dev See https://eips.ethereum.org/EIPS/eip-721\n */\ninterface IERC721Enumerable is IERC721 {\n\n /**\n * @dev Returns the total amount of tokens stored by the contract.\n */\n function totalSupply() external view returns (uint256);\n\n /**\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\n\n /**\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n * Use along with {totalSupply} to enumerate all tokens.\n */\n function tokenByIndex(uint256 index) external view returns (uint256);\n}\n\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\n\n\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 token receiver interface\n * @dev Interface for any contract that wants to support safeTransfers\n * from ERC721 asset contracts.\n */\ninterface IERC721Receiver {\n /**\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n * by `operator` from `from`, this function is called.\n *\n * It must return its Solidity selector to confirm the token transfer.\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n *\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\n */\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\n}\n\n// File: @openzeppelin/contracts/introspection/ERC165.sol\npragma solidity >=0.6.0 <0.8.0;\n\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts may inherit from this and call {_registerInterface} to declare\n * their support of an interface.\n */\nabstract contract ERC165 is IERC165 {\n /*\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\n */\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\n\n /**\n * @dev Mapping of interface ids to whether or not it's supported.\n */\n mapping(bytes4 => bool) private _supportedInterfaces;\n\n constructor () {\n // Derived contracts need only register support for their own interfaces,\n // we register support for ERC165 itself here\n _registerInterface(_INTERFACE_ID_ERC165);\n }\n\n /**\n * @dev See {IERC165-supportsInterface}.\n *\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\n */\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n return _supportedInterfaces[interfaceId];\n }\n\n /**\n * @dev Registers the contract as an implementer of the interface defined by\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\n * registering its interface id is not required.\n *\n * See {IERC165-supportsInterface}.\n *\n * Requirements:\n *\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\n */\n function _registerInterface(bytes4 interfaceId) internal virtual {\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\n _supportedInterfaces[interfaceId] = true;\n }\n}\n\n// File: @openzeppelin/contracts/math/SafeMath.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\n * checks.\n *\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\n * in bugs, because programmers usually assume that an overflow raises an\n * error, which is the standard behavior in high level programming languages.\n * `SafeMath` restores this intuition by reverting the transaction when an\n * operation overflows.\n *\n * Using this library instead of the unchecked operations eliminates an entire\n * class of bugs, so it's recommended to use it always.\n */\nlibrary SafeMath {\n /**\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n uint256 c = a + b;\n if (c < a) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b > a) return (false, 0);\n return (true, a - b);\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n *\n * _Available since v3.4._\n */\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\n // benefit is lost if 'b' is also tested.\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\n if (a == 0) return (true, 0);\n uint256 c = a * b;\n if (c / a != b) return (false, 0);\n return (true, c);\n }\n\n /**\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a / b);\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n *\n * _Available since v3.4._\n */\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\n if (b == 0) return (false, 0);\n return (true, a % b);\n }\n\n /**\n * @dev Returns the addition of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `+` operator.\n *\n * Requirements:\n *\n * - Addition cannot overflow.\n */\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\n uint256 c = a + b;\n require(c >= a, \"SafeMath: addition overflow\");\n return c;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting on\n * overflow (when the result is negative).\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b <= a, \"SafeMath: subtraction overflow\");\n return a - b;\n }\n\n /**\n * @dev Returns the multiplication of two unsigned integers, reverting on\n * overflow.\n *\n * Counterpart to Solidity's `*` operator.\n *\n * Requirements:\n *\n * - Multiplication cannot overflow.\n */\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\n if (a == 0) return 0;\n uint256 c = a * b;\n require(c / a == b, \"SafeMath: multiplication overflow\");\n return c;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting on\n * division by zero. The result is rounded towards zero.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: division by zero\");\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting when dividing by zero.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\n require(b > 0, \"SafeMath: modulo by zero\");\n return a % b;\n }\n\n /**\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n * overflow (when the result is negative).\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {trySub}.\n *\n * Counterpart to Solidity's `-` operator.\n *\n * Requirements:\n *\n * - Subtraction cannot overflow.\n */\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b <= a, errorMessage);\n return a - b;\n }\n\n /**\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\n * division by zero. The result is rounded towards zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryDiv}.\n *\n * Counterpart to Solidity's `/` operator. Note: this function uses a\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\n * uses an invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a / b;\n }\n\n /**\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n * reverting with custom message when dividing by zero.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryMod}.\n *\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\n * opcode (which leaves remaining gas untouched) while Solidity uses an\n * invalid opcode to revert (consuming all remaining gas).\n *\n * Requirements:\n *\n * - The divisor cannot be zero.\n */\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\n require(b > 0, errorMessage);\n return a % b;\n }\n}\n\n// File: @openzeppelin/contracts/utils/Address.sol\npragma solidity >=0.6.2 <0.8.0;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n /**\n * @dev Returns true if `account` is a contract.\n *\n * [IMPORTANT]\n * ====\n * It is unsafe to assume that an address for which this function returns\n * false is an externally-owned account (EOA) and not a contract.\n *\n * Among others, `isContract` will return false for the following\n * types of addresses:\n *\n * - an externally-owned account\n * - a contract in construction\n * - an address where a contract will be created\n * - an address where a contract lived, but was destroyed\n * ====\n */\n function isContract(address account) internal view returns (bool) {\n // This method relies on extcodesize, which returns 0 for contracts in\n // construction, since the code is only stored at the end of the\n // constructor execution.\n\n uint256 size;\n // solhint-disable-next-line no-inline-assembly\n assembly { size := extcodesize(account) }\n return size > 0;\n }\n\n /**\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n * `recipient`, forwarding all available gas and reverting on errors.\n *\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\n * imposed by `transfer`, making them unable to receive funds via\n * `transfer`. {sendValue} removes this limitation.\n *\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n *\n * IMPORTANT: because control is transferred to `recipient`, care must be\n * taken to not create reentrancy vulnerabilities. Consider using\n * {ReentrancyGuard} or the\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n */\n function sendValue(address payable recipient, uint256 amount) internal {\n require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\n (bool success, ) = recipient.call{ value: amount }(\"\");\n require(success, \"Address: unable to send value, recipient may have reverted\");\n }\n\n /**\n * @dev Performs a Solidity function call using a low level `call`. A\n * plain`call` is an unsafe replacement for a function call: use this\n * function instead.\n *\n * If `target` reverts with a revert reason, it is bubbled up by this\n * function (like regular Solidity function calls).\n *\n * Returns the raw returned data. To convert to the expected return value,\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n *\n * Requirements:\n *\n * - `target` must be a contract.\n * - calling `target` with `data` must not revert.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionCall(target, data, \"Address: low-level call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n * `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n return functionCallWithValue(target, data, 0, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but also transferring `value` wei to `target`.\n *\n * Requirements:\n *\n * - the calling contract must have an ETH balance of at least `value`.\n * - the called Solidity function must be `payable`.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n * with `errorMessage` as a fallback revert reason when `target` reverts.\n *\n * _Available since v3.1._\n */\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\n require(isContract(target), \"Address: call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a static call.\n *\n * _Available since v3.3._\n */\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\n require(isContract(target), \"Address: static call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.staticcall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\n }\n\n /**\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n * but performing a delegate call.\n *\n * _Available since v3.4._\n */\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\n require(isContract(target), \"Address: delegate call to non-contract\");\n\n // solhint-disable-next-line avoid-low-level-calls\n (bool success, bytes memory returndata) = target.delegatecall(data);\n return _verifyCallResult(success, returndata, errorMessage);\n }\n\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\n if (success) {\n return returndata;\n } else {\n // Look for revert reason and bubble it up if present\n if (returndata.length > 0) {\n // The easiest way to bubble the revert reason is using memory via assembly\n\n // solhint-disable-next-line no-inline-assembly\n assembly {\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n }\n } else {\n revert(errorMessage);\n }\n }\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n * types.\n *\n * Sets have the following properties:\n *\n * - Elements are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableSet for EnumerableSet.AddressSet;\n *\n * // Declare a set state variable\n * EnumerableSet.AddressSet private mySet;\n * }\n * ```\n *\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n * and `uint256` (`UintSet`) are supported.\n */\nlibrary EnumerableSet {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Set type with\n // bytes32 values.\n // The Set implementation uses private functions, and user-facing\n // implementations (such as AddressSet) are just wrappers around the\n // underlying Set.\n // This means that we can only create new EnumerableSets for types that fit\n // in bytes32.\n\n struct Set {\n // Storage of set values\n bytes32[] _values;\n\n // Position of the value in the `values` array, plus 1 because index 0\n // means a value is not in the set.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function _add(Set storage set, bytes32 value) private returns (bool) {\n if (!_contains(set, value)) {\n set._values.push(value);\n // The value is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n set._indexes[value] = set._values.length;\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function _remove(Set storage set, bytes32 value) private returns (bool) {\n // We read and store the value's index to prevent multiple reads from the same storage slot\n uint256 valueIndex = set._indexes[value];\n\n if (valueIndex != 0) { // Equivalent to contains(set, value)\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\n // the array, and then remove the last element (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = valueIndex - 1;\n uint256 lastIndex = set._values.length - 1;\n\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n bytes32 lastvalue = set._values[lastIndex];\n\n // Move the last value to the index where the value to delete is\n set._values[toDeleteIndex] = lastvalue;\n // Update the index for the moved value\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved value was stored\n set._values.pop();\n\n // Delete the index for the deleted slot\n delete set._indexes[value];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\n return set._indexes[value] != 0;\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function _length(Set storage set) private view returns (uint256) {\n return set._values.length;\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\n return set._values[index];\n }\n\n // Bytes32Set\n\n struct Bytes32Set {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _add(set._inner, value);\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\n return _remove(set._inner, value);\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\n return _contains(set._inner, value);\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(Bytes32Set storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\n return _at(set._inner, index);\n }\n\n // AddressSet\n\n struct AddressSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(AddressSet storage set, address value) internal returns (bool) {\n return _add(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(AddressSet storage set, address value) internal returns (bool) {\n return _remove(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(AddressSet storage set, address value) internal view returns (bool) {\n return _contains(set._inner, bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Returns the number of values in the set. O(1).\n */\n function length(AddressSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\n return address(uint160(uint256(_at(set._inner, index))));\n }\n\n\n // UintSet\n\n struct UintSet {\n Set _inner;\n }\n\n /**\n * @dev Add a value to a set. O(1).\n *\n * Returns true if the value was added to the set, that is if it was not\n * already present.\n */\n function add(UintSet storage set, uint256 value) internal returns (bool) {\n return _add(set._inner, bytes32(value));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the value was removed from the set, that is if it was\n * present.\n */\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\n return _remove(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns true if the value is in the set. O(1).\n */\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\n return _contains(set._inner, bytes32(value));\n }\n\n /**\n * @dev Returns the number of values on the set. O(1).\n */\n function length(UintSet storage set) internal view returns (uint256) {\n return _length(set._inner);\n }\n\n /**\n * @dev Returns the value stored at position `index` in the set. O(1).\n *\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\n return uint256(_at(set._inner, index));\n }\n}\n\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev Library for managing an enumerable variant of Solidity's\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n * type.\n *\n * Maps have the following properties:\n *\n * - Entries are added, removed, and checked for existence in constant time\n * (O(1)).\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\n *\n * ```\n * contract Example {\n * // Add the library methods\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\n *\n * // Declare a set state variable\n * EnumerableMap.UintToAddressMap private myMap;\n * }\n * ```\n *\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n * supported.\n */\nlibrary EnumerableMap {\n // To implement this library for multiple types with as little code\n // repetition as possible, we write it in terms of a generic Map type with\n // bytes32 keys and values.\n // The Map implementation uses private functions, and user-facing\n // implementations (such as Uint256ToAddressMap) are just wrappers around\n // the underlying Map.\n // This means that we can only create new EnumerableMaps for types that fit\n // in bytes32.\n\n struct MapEntry {\n bytes32 _key;\n bytes32 _value;\n }\n\n struct Map {\n // Storage of map keys and values\n MapEntry[] _entries;\n\n // Position of the entry defined by a key in the `entries` array, plus 1\n // because index 0 means a key is not in the map.\n mapping (bytes32 => uint256) _indexes;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\n map._entries.push(MapEntry({ _key: key, _value: value }));\n // The entry is stored at length-1, but we add 1 to all indexes\n // and use 0 as a sentinel value\n map._indexes[key] = map._entries.length;\n return true;\n } else {\n map._entries[keyIndex - 1]._value = value;\n return false;\n }\n }\n\n /**\n * @dev Removes a key-value pair from a map. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function _remove(Map storage map, bytes32 key) private returns (bool) {\n // We read and store the key's index to prevent multiple reads from the same storage slot\n uint256 keyIndex = map._indexes[key];\n\n if (keyIndex != 0) { // Equivalent to contains(map, key)\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\n // This modifies the order of the array, as noted in {at}.\n\n uint256 toDeleteIndex = keyIndex - 1;\n uint256 lastIndex = map._entries.length - 1;\n\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\n\n MapEntry storage lastEntry = map._entries[lastIndex];\n\n // Move the last entry to the index where the entry to delete is\n map._entries[toDeleteIndex] = lastEntry;\n // Update the index for the moved entry\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\n\n // Delete the slot where the moved entry was stored\n map._entries.pop();\n\n // Delete the index for the deleted slot\n delete map._indexes[key];\n\n return true;\n } else {\n return false;\n }\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\n return map._indexes[key] != 0;\n }\n\n /**\n * @dev Returns the number of key-value pairs in the map. O(1).\n */\n function _length(Map storage map) private view returns (uint256) {\n return map._entries.length;\n }\n\n /**\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\n *\n * Note that there are no guarantees on the ordering of entries inside the\n * array, and it may change when more entries are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\n\n MapEntry storage entry = map._entries[index];\n return (entry._key, entry._value);\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n */\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\n uint256 keyIndex = map._indexes[key];\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n /**\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {_tryGet}.\n */\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\n uint256 keyIndex = map._indexes[key];\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\n }\n\n // UintToAddressMap\n\n struct UintToAddressMap {\n Map _inner;\n }\n\n /**\n * @dev Adds a key-value pair to a map, or updates the value for an existing\n * key. O(1).\n *\n * Returns true if the key was added to the map, that is if it was not\n * already present.\n */\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\n }\n\n /**\n * @dev Removes a value from a set. O(1).\n *\n * Returns true if the key was removed from the map, that is if it was present.\n */\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\n return _remove(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns true if the key is in the map. O(1).\n */\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\n return _contains(map._inner, bytes32(key));\n }\n\n /**\n * @dev Returns the number of elements in the map. O(1).\n */\n function length(UintToAddressMap storage map) internal view returns (uint256) {\n return _length(map._inner);\n }\n\n /**\n * @dev Returns the element stored at position `index` in the set. O(1).\n * Note that there are no guarantees on the ordering of values inside the\n * array, and it may change when more values are added or removed.\n *\n * Requirements:\n *\n * - `index` must be strictly less than {length}.\n */\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\n (bytes32 key, bytes32 value) = _at(map._inner, index);\n return (uint256(key), address(uint160(uint256(value))));\n }\n\n /**\n * @dev Tries to returns the value associated with `key`. O(1).\n * Does not revert if `key` is not in the map.\n *\n * _Available since v3.4._\n */\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\n return (success, address(uint160(uint256(value))));\n }\n\n /**\n * @dev Returns the value associated with `key`. O(1).\n *\n * Requirements:\n *\n * - `key` must be in the map.\n */\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\n }\n\n /**\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\n *\n * CAUTION: This function is deprecated because it requires allocating memory for the error\n * message unnecessarily. For custom revert reasons use {tryGet}.\n */\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\n }\n}\n\n// File: @openzeppelin/contracts/utils/Strings.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @dev String operations.\n */\nlibrary Strings {\n /**\n * @dev Converts a `uint256` to its ASCII `string` representation.\n */\n function toString(uint256 value) internal pure returns (string memory) {\n // Inspired by OraclizeAPI's implementation - MIT licence\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\n\n if (value == 0) {\n return \"0\";\n }\n uint256 temp = value;\n uint256 digits;\n while (temp != 0) {\n digits++;\n temp /= 10;\n }\n bytes memory buffer = new bytes(digits);\n uint256 index = digits - 1;\n temp = value;\n while (temp != 0) {\n buffer[index--] = bytes1(uint8(48 + temp % 10));\n temp /= 10;\n }\n return string(buffer);\n }\n}\n\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\npragma solidity >=0.6.0 <0.8.0;\n\n/**\n * @title ERC721 Non-Fungible Token Standard basic implementation\n * @dev see https://eips.ethereum.org/EIPS/eip-721\n */\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\n using SafeMath for uint256;\n using Address for address;\n using EnumerableSet for EnumerableSet.UintSet;\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n using Strings for uint256;\n\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\n\n // Mapping from holder address to their (enumerable) set of owned tokens\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\n\n // Enumerable mapping from token ids to their owners\n EnumerableMap.UintToAddressMap private _tokenOwners;\n\n // Mapping from token ID to approved address\n mapping (uint256 => address) private _tokenApprovals;\n\n // Mapping from owner to operator approvals\n mapping (address => mapping (address => bool)) private _operatorApprovals;\n\n // Token name\n string private _name;\n\n // Token symbol\n string private _symbol;\n\n // Optional mapping for token URIs\n mapping (uint256 => string) private _tokenURIs;\n\n // Base URI\n string private _baseURI;\n\n /*\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\n *\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\n */\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\n\n /*\n * bytes4(keccak256('name()')) == 0x06fdde03\n * bytes4(keccak256('symbol()')) == 0x95d89b41\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\n *\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\n */\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\n\n /*\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\n *\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\n */\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\n\n /**\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\n */\n constructor (string memory name_, string memory symbol_) {\n _name = name_;\n _symbol = symbol_;\n\n // register the supported interfaces to conform to ERC721 via ERC165\n _registerInterface(_INTERFACE_ID_ERC721);\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\n }\n\n /**\n * @dev See {IERC721-balanceOf}.\n */\n function balanceOf(address owner) public view virtual override returns (uint256) {\n require(owner != address(0), \"ERC721: balance query for the zero address\");\n return _holderTokens[owner].length();\n }\n\n /**\n * @dev See {IERC721-ownerOf}.\n */\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\n }\n\n /**\n * @dev See {IERC721Metadata-name}.\n */\n function name() public view virtual override returns (string memory) {\n return _name;\n }\n\n /**\n * @dev See {IERC721Metadata-symbol}.\n */\n function symbol() public view virtual override returns (string memory) {\n return _symbol;\n }\n\n /**\n * @dev See {IERC721Metadata-tokenURI}.\n */\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\n\n string memory _tokenURI = _tokenURIs[tokenId];\n string memory base = baseURI();\n\n // If there is no base URI, return the token URI.\n if (bytes(base).length == 0) {\n return _tokenURI;\n }\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\n if (bytes(_tokenURI).length > 0) {\n return string(abi.encodePacked(base, _tokenURI));\n }\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\n return string(abi.encodePacked(base, tokenId.toString()));\n }\n\n /**\n * @dev Returns the base URI set via {_setBaseURI}. This will be\n * automatically added as a prefix in {tokenURI} to each token's URI, or\n * to the token ID if no specific URI is set for that token ID.\n */\n function baseURI() public view virtual returns (string memory) {\n return _baseURI;\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\n */\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\n return _holderTokens[owner].at(index);\n }\n\n /**\n * @dev See {IERC721Enumerable-totalSupply}.\n */\n function totalSupply() public view virtual override returns (uint256) {\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\n return _tokenOwners.length();\n }\n\n /**\n * @dev See {IERC721Enumerable-tokenByIndex}.\n */\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\n (uint256 tokenId, ) = _tokenOwners.at(index);\n return tokenId;\n }\n\n /**\n * @dev See {IERC721-approve}.\n */\n function approve(address to, uint256 tokenId) public virtual override {\n address owner = ERC721.ownerOf(tokenId);\n require(to != owner, \"ERC721: approval to current owner\");\n\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\n \"ERC721: approve caller is not owner nor approved for all\"\n );\n\n _approve(to, tokenId);\n }\n\n /**\n * @dev See {IERC721-getApproved}.\n */\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\n\n return _tokenApprovals[tokenId];\n }\n\n /**\n * @dev See {IERC721-setApprovalForAll}.\n */\n function setApprovalForAll(address operator, bool approved) public virtual override {\n require(operator != _msgSender(), \"ERC721: approve to caller\");\n\n _operatorApprovals[_msgSender()][operator] = approved;\n emit ApprovalForAll(_msgSender(), operator, approved);\n }\n\n /**\n * @dev See {IERC721-isApprovedForAll}.\n */\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\n return _operatorApprovals[owner][operator];\n }\n\n /**\n * @dev See {IERC721-transferFrom}.\n */\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\n //solhint-disable-next-line max-line-length\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n\n _transfer(from, to, tokenId);\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\n safeTransferFrom(from, to, tokenId, \"\");\n }\n\n /**\n * @dev See {IERC721-safeTransferFrom}.\n */\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\n _safeTransfer(from, to, tokenId, _data);\n }\n\n /**\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\n *\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\n *\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n * implement alternative mechanisms to perform token transfer, such as signature-based.\n *\n * Requirements:\n *\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n * - `tokenId` token must exist and be owned by `from`.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\n _transfer(from, to, tokenId);\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Returns whether `tokenId` exists.\n *\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n *\n * Tokens start existing when they are minted (`_mint`),\n * and stop existing when they are burned (`_burn`).\n */\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\n return _tokenOwners.contains(tokenId);\n }\n\n /**\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\n address owner = ERC721.ownerOf(tokenId);\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\n }\n\n /**\n * @dev Safely mints `tokenId` and transfers it to `to`.\n *\n * Requirements:\n d*\n * - `tokenId` must not exist.\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n *\n * Emits a {Transfer} event.\n */\n function _safeMint(address to, uint256 tokenId) internal virtual {\n _safeMint(to, tokenId, \"\");\n }\n\n /**\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\n */\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\n _mint(to, tokenId);\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\n }\n\n /**\n * @dev Mints `tokenId` and transfers it to `to`.\n *\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n *\n * Requirements:\n *\n * - `tokenId` must not exist.\n * - `to` cannot be the zero address.\n *\n * Emits a {Transfer} event.\n */\n function _mint(address to, uint256 tokenId) internal virtual {\n require(to != address(0), \"ERC721: mint to the zero address\");\n require(!_exists(tokenId), \"ERC721: token already minted\");\n\n _beforeTokenTransfer(address(0), to, tokenId);\n\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(address(0), to, tokenId);\n }\n\n /**\n * @dev Destroys `tokenId`.\n * The approval is cleared when the token is burned.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n *\n * Emits a {Transfer} event.\n */\n function _burn(uint256 tokenId) internal virtual {\n address owner = ERC721.ownerOf(tokenId); // internal owner\n\n _beforeTokenTransfer(owner, address(0), tokenId);\n\n // Clear approvals\n _approve(address(0), tokenId);\n\n // Clear metadata (if any)\n if (bytes(_tokenURIs[tokenId]).length != 0) {\n delete _tokenURIs[tokenId];\n }\n\n _holderTokens[owner].remove(tokenId);\n\n _tokenOwners.remove(tokenId);\n\n emit Transfer(owner, address(0), tokenId);\n }\n\n /**\n * @dev Transfers `tokenId` from `from` to `to`.\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n *\n * Requirements:\n *\n * - `to` cannot be the zero address.\n * - `tokenId` token must be owned by `from`.\n *\n * Emits a {Transfer} event.\n */\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\n require(to != address(0), \"ERC721: transfer to the zero address\");\n\n _beforeTokenTransfer(from, to, tokenId);\n\n // Clear approvals from the previous owner\n _approve(address(0), tokenId);\n\n _holderTokens[from].remove(tokenId);\n _holderTokens[to].add(tokenId);\n\n _tokenOwners.set(tokenId, to);\n\n emit Transfer(from, to, tokenId);\n }\n\n /**\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n *\n * Requirements:\n *\n * - `tokenId` must exist.\n */\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\n _tokenURIs[tokenId] = _tokenURI;\n }\n\n /**\n * @dev Internal function to set the base URI for all token IDs. It is\n * automatically added as a prefix to the value returned in {tokenURI},\n * or to the token ID if {tokenURI} is empty.\n */\n function _setBaseURI(string memory baseURI_) internal virtual {\n _baseURI = baseURI_;\n }\n\n /**\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n * The call is not executed if the target address is not a contract.\n *\n * @param from address representing the previous owner of the given token ID\n * @param to target address that will receive the tokens\n * @param tokenId uint256 ID of the token to be transferred\n * @param _data bytes optional data to send along with the call\n * @return bool whether the call correctly returned the expected magic value\n */\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\n private returns (bool)\n {\n if (!to.isContract()) {\n return true;\n }\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\n IERC721Receiver(to).onERC721Received.selector,\n _msgSender(),\n from,\n tokenId,\n _data\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\n bytes4 retval = abi.decode(returndata, (bytes4));\n return (retval == _ERC721_RECEIVED);\n }\n\n /**\n * @dev Approve `to` to operate on `tokenId`\n *\n * Emits an {Approval} event.\n */\n function _approve(address to, uint256 tokenId) internal virtual {\n _tokenApprovals[tokenId] = to;\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\n }\n\n /**\n * @dev Hook that is called before any token transfer. This includes minting\n * and burning.\n *\n * Calling conditions:\n *\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n * transferred to `to`.\n * - When `from` is zero, `tokenId` will be minted for `to`.\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\n * - `from` cannot be the zero address.\n * - `to` cannot be the zero address.\n *\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n */\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\n}\n", - "sourcePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "sourceMap": "46310:862:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;", + "deployedSourceMap": "46310:862:0:-:0;;;;;;;;", + "source": "// SPDX-License-Identifier: MIT\r\n\r\n// File: @openzeppelin/contracts/utils/Context.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/*\r\n * @dev Provides information about the current execution context, including the\r\n * sender of the transaction and its data. While these are generally available\r\n * via msg.sender and msg.data, they should not be accessed in such a direct\r\n * manner, since when dealing with GSN meta-transactions the account sending and\r\n * paying for execution may not be the actual sender (as far as an application\r\n * is concerned).\r\n *\r\n * This contract is only required for intermediate, library-like contracts.\r\n */\r\nabstract contract Context {\r\n function _msgSender() internal view virtual returns (address payable) {\r\n return msg.sender;\r\n }\r\n\r\n function _msgData() internal view virtual returns (bytes memory) {\r\n this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691\r\n return msg.data;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/IERC165.sol\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Interface of the ERC165 standard, as defined in the\r\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\r\n *\r\n * Implementers can declare support of contract interfaces, which can then be\r\n * queried by others ({ERC165Checker}).\r\n *\r\n * For an implementation, see {ERC165}.\r\n */\r\ninterface IERC165 {\r\n /**\r\n * @dev Returns true if this contract implements the interface defined by\r\n * `interfaceId`. See the corresponding\r\n * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\r\n * to learn more about how these ids are created.\r\n *\r\n * This function call must use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) external view returns (bool);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Required interface of an ERC721 compliant contract.\r\n */\r\ninterface IERC721 is IERC165 {\r\n /**\r\n * @dev Emitted when `tokenId` token is transferred from `from` to `to`.\r\n */\r\n event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.\r\n */\r\n event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);\r\n\r\n /**\r\n * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.\r\n */\r\n event ApprovalForAll(address indexed owner, address indexed operator, bool approved);\r\n\r\n /**\r\n * @dev Returns the number of tokens in ``owner``'s account.\r\n */\r\n function balanceOf(address owner) external view returns (uint256 balance);\r\n\r\n /**\r\n * @dev Returns the owner of the `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function ownerOf(uint256 tokenId) external view returns (address owner);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Transfers `tokenId` token from `from` to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Gives permission to `to` to transfer `tokenId` token to another account.\r\n * The approval is cleared when the token is transferred.\r\n *\r\n * Only a single account can be approved at a time, so approving the zero address clears previous approvals.\r\n *\r\n * Requirements:\r\n *\r\n * - The caller must own the token or be an approved operator.\r\n * - `tokenId` must exist.\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function approve(address to, uint256 tokenId) external;\r\n\r\n /**\r\n * @dev Returns the account approved for `tokenId` token.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function getApproved(uint256 tokenId) external view returns (address operator);\r\n\r\n /**\r\n * @dev Approve or remove `operator` as an operator for the caller.\r\n * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\r\n *\r\n * Requirements:\r\n *\r\n * - The `operator` cannot be the caller.\r\n *\r\n * Emits an {ApprovalForAll} event.\r\n */\r\n function setApprovalForAll(address operator, bool _approved) external;\r\n\r\n /**\r\n * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\r\n *\r\n * See {setApprovalForAll}\r\n */\r\n function isApprovedForAll(address owner, address operator) external view returns (bool);\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional metadata extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Metadata is IERC721 {\r\n\r\n /**\r\n * @dev Returns the token collection name.\r\n */\r\n function name() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the token collection symbol.\r\n */\r\n function symbol() external view returns (string memory);\r\n\r\n /**\r\n * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.\r\n */\r\n function tokenURI(uint256 tokenId) external view returns (string memory);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol\r\n\r\n\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n\r\n/**\r\n * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\r\n * @dev See https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ninterface IERC721Enumerable is IERC721 {\r\n\r\n /**\r\n * @dev Returns the total amount of tokens stored by the contract.\r\n */\r\n function totalSupply() external view returns (uint256);\r\n\r\n /**\r\n * @dev Returns a token ID owned by `owner` at a given `index` of its token list.\r\n * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);\r\n\r\n /**\r\n * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\r\n * Use along with {totalSupply} to enumerate all tokens.\r\n */\r\n function tokenByIndex(uint256 index) external view returns (uint256);\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol\r\n\r\n\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 token receiver interface\r\n * @dev Interface for any contract that wants to support safeTransfers\r\n * from ERC721 asset contracts.\r\n */\r\ninterface IERC721Receiver {\r\n /**\r\n * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\r\n * by `operator` from `from`, this function is called.\r\n *\r\n * It must return its Solidity selector to confirm the token transfer.\r\n * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\r\n *\r\n * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.\r\n */\r\n function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);\r\n}\r\n\r\n// File: @openzeppelin/contracts/introspection/ERC165.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n\r\n/**\r\n * @dev Implementation of the {IERC165} interface.\r\n *\r\n * Contracts may inherit from this and call {_registerInterface} to declare\r\n * their support of an interface.\r\n */\r\nabstract contract ERC165 is IERC165 {\r\n /*\r\n * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;\r\n\r\n /**\r\n * @dev Mapping of interface ids to whether or not it's supported.\r\n */\r\n mapping(bytes4 => bool) private _supportedInterfaces;\r\n\r\n constructor () {\r\n // Derived contracts need only register support for their own interfaces,\r\n // we register support for ERC165 itself here\r\n _registerInterface(_INTERFACE_ID_ERC165);\r\n }\r\n\r\n /**\r\n * @dev See {IERC165-supportsInterface}.\r\n *\r\n * Time complexity O(1), guaranteed to always use less than 30 000 gas.\r\n */\r\n function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\r\n return _supportedInterfaces[interfaceId];\r\n }\r\n\r\n /**\r\n * @dev Registers the contract as an implementer of the interface defined by\r\n * `interfaceId`. Support of the actual ERC165 interface is automatic and\r\n * registering its interface id is not required.\r\n *\r\n * See {IERC165-supportsInterface}.\r\n *\r\n * Requirements:\r\n *\r\n * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).\r\n */\r\n function _registerInterface(bytes4 interfaceId) internal virtual {\r\n require(interfaceId != 0xffffffff, \"ERC165: invalid interface id\");\r\n _supportedInterfaces[interfaceId] = true;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/math/SafeMath.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Wrappers over Solidity's arithmetic operations with added overflow\r\n * checks.\r\n *\r\n * Arithmetic operations in Solidity wrap on overflow. This can easily result\r\n * in bugs, because programmers usually assume that an overflow raises an\r\n * error, which is the standard behavior in high level programming languages.\r\n * `SafeMath` restores this intuition by reverting the transaction when an\r\n * operation overflows.\r\n *\r\n * Using this library instead of the unchecked operations eliminates an entire\r\n * class of bugs, so it's recommended to use it always.\r\n */\r\nlibrary SafeMath {\r\n /**\r\n * @dev Returns the addition of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n uint256 c = a + b;\r\n if (c < a) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the substraction of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b > a) return (false, 0);\r\n return (true, a - b);\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, with an overflow flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n // Gas optimization: this is cheaper than requiring 'a' not being zero, but the\r\n // benefit is lost if 'b' is also tested.\r\n // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522\r\n if (a == 0) return (true, 0);\r\n uint256 c = a * b;\r\n if (c / a != b) return (false, 0);\r\n return (true, c);\r\n }\r\n\r\n /**\r\n * @dev Returns the division of two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a / b);\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {\r\n if (b == 0) return (false, 0);\r\n return (true, a % b);\r\n }\r\n\r\n /**\r\n * @dev Returns the addition of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `+` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Addition cannot overflow.\r\n */\r\n function add(uint256 a, uint256 b) internal pure returns (uint256) {\r\n uint256 c = a + b;\r\n require(c >= a, \"SafeMath: addition overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting on\r\n * overflow (when the result is negative).\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b <= a, \"SafeMath: subtraction overflow\");\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the multiplication of two unsigned integers, reverting on\r\n * overflow.\r\n *\r\n * Counterpart to Solidity's `*` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Multiplication cannot overflow.\r\n */\r\n function mul(uint256 a, uint256 b) internal pure returns (uint256) {\r\n if (a == 0) return 0;\r\n uint256 c = a * b;\r\n require(c / a == b, \"SafeMath: multiplication overflow\");\r\n return c;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: division by zero\");\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting when dividing by zero.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b) internal pure returns (uint256) {\r\n require(b > 0, \"SafeMath: modulo by zero\");\r\n return a % b;\r\n }\r\n\r\n /**\r\n * @dev Returns the subtraction of two unsigned integers, reverting with custom message on\r\n * overflow (when the result is negative).\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {trySub}.\r\n *\r\n * Counterpart to Solidity's `-` operator.\r\n *\r\n * Requirements:\r\n *\r\n * - Subtraction cannot overflow.\r\n */\r\n function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b <= a, errorMessage);\r\n return a - b;\r\n }\r\n\r\n /**\r\n * @dev Returns the integer division of two unsigned integers, reverting with custom message on\r\n * division by zero. The result is rounded towards zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryDiv}.\r\n *\r\n * Counterpart to Solidity's `/` operator. Note: this function uses a\r\n * `revert` opcode (which leaves remaining gas untouched) while Solidity\r\n * uses an invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a / b;\r\n }\r\n\r\n /**\r\n * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\r\n * reverting with custom message when dividing by zero.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryMod}.\r\n *\r\n * Counterpart to Solidity's `%` operator. This function uses a `revert`\r\n * opcode (which leaves remaining gas untouched) while Solidity uses an\r\n * invalid opcode to revert (consuming all remaining gas).\r\n *\r\n * Requirements:\r\n *\r\n * - The divisor cannot be zero.\r\n */\r\n function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {\r\n require(b > 0, errorMessage);\r\n return a % b;\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Address.sol\r\npragma solidity >=0.6.2 <0.8.0;\r\n\r\n/**\r\n * @dev Collection of functions related to the address type\r\n */\r\nlibrary Address {\r\n /**\r\n * @dev Returns true if `account` is a contract.\r\n *\r\n * [IMPORTANT]\r\n * ====\r\n * It is unsafe to assume that an address for which this function returns\r\n * false is an externally-owned account (EOA) and not a contract.\r\n *\r\n * Among others, `isContract` will return false for the following\r\n * types of addresses:\r\n *\r\n * - an externally-owned account\r\n * - a contract in construction\r\n * - an address where a contract will be created\r\n * - an address where a contract lived, but was destroyed\r\n * ====\r\n */\r\n function isContract(address account) internal view returns (bool) {\r\n // This method relies on extcodesize, which returns 0 for contracts in\r\n // construction, since the code is only stored at the end of the\r\n // constructor execution.\r\n\r\n uint256 size;\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly { size := extcodesize(account) }\r\n return size > 0;\r\n }\r\n\r\n /**\r\n * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\r\n * `recipient`, forwarding all available gas and reverting on errors.\r\n *\r\n * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\r\n * of certain opcodes, possibly making contracts go over the 2300 gas limit\r\n * imposed by `transfer`, making them unable to receive funds via\r\n * `transfer`. {sendValue} removes this limitation.\r\n *\r\n * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\r\n *\r\n * IMPORTANT: because control is transferred to `recipient`, care must be\r\n * taken to not create reentrancy vulnerabilities. Consider using\r\n * {ReentrancyGuard} or the\r\n * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\r\n */\r\n function sendValue(address payable recipient, uint256 amount) internal {\r\n require(address(this).balance >= amount, \"Address: insufficient balance\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls, avoid-call-value\r\n (bool success, ) = recipient.call{ value: amount }(\"\");\r\n require(success, \"Address: unable to send value, recipient may have reverted\");\r\n }\r\n\r\n /**\r\n * @dev Performs a Solidity function call using a low level `call`. A\r\n * plain`call` is an unsafe replacement for a function call: use this\r\n * function instead.\r\n *\r\n * If `target` reverts with a revert reason, it is bubbled up by this\r\n * function (like regular Solidity function calls).\r\n *\r\n * Returns the raw returned data. To convert to the expected return value,\r\n * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\r\n *\r\n * Requirements:\r\n *\r\n * - `target` must be a contract.\r\n * - calling `target` with `data` must not revert.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionCall(target, data, \"Address: low-level call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\r\n * `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, 0, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but also transferring `value` wei to `target`.\r\n *\r\n * Requirements:\r\n *\r\n * - the calling contract must have an ETH balance of at least `value`.\r\n * - the called Solidity function must be `payable`.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\r\n return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\r\n * with `errorMessage` as a fallback revert reason when `target` reverts.\r\n *\r\n * _Available since v3.1._\r\n */\r\n function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {\r\n require(address(this).balance >= value, \"Address: insufficient balance for call\");\r\n require(isContract(target), \"Address: call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.call{ value: value }(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\r\n return functionStaticCall(target, data, \"Address: low-level static call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a static call.\r\n *\r\n * _Available since v3.3._\r\n */\r\n function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {\r\n require(isContract(target), \"Address: static call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.staticcall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\r\n return functionDelegateCall(target, data, \"Address: low-level delegate call failed\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n * but performing a delegate call.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {\r\n require(isContract(target), \"Address: delegate call to non-contract\");\r\n\r\n // solhint-disable-next-line avoid-low-level-calls\r\n (bool success, bytes memory returndata) = target.delegatecall(data);\r\n return _verifyCallResult(success, returndata, errorMessage);\r\n }\r\n\r\n function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {\r\n if (success) {\r\n return returndata;\r\n } else {\r\n // Look for revert reason and bubble it up if present\r\n if (returndata.length > 0) {\r\n // The easiest way to bubble the revert reason is using memory via assembly\r\n\r\n // solhint-disable-next-line no-inline-assembly\r\n assembly {\r\n let returndata_size := mload(returndata)\r\n revert(add(32, returndata), returndata_size)\r\n }\r\n } else {\r\n revert(errorMessage);\r\n }\r\n }\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableSet.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing\r\n * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\r\n * types.\r\n *\r\n * Sets have the following properties:\r\n *\r\n * - Elements are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Elements are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableSet for EnumerableSet.AddressSet;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableSet.AddressSet private mySet;\r\n * }\r\n * ```\r\n *\r\n * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\r\n * and `uint256` (`UintSet`) are supported.\r\n */\r\nlibrary EnumerableSet {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Set type with\r\n // bytes32 values.\r\n // The Set implementation uses private functions, and user-facing\r\n // implementations (such as AddressSet) are just wrappers around the\r\n // underlying Set.\r\n // This means that we can only create new EnumerableSets for types that fit\r\n // in bytes32.\r\n\r\n struct Set {\r\n // Storage of set values\r\n bytes32[] _values;\r\n\r\n // Position of the value in the `values` array, plus 1 because index 0\r\n // means a value is not in the set.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function _add(Set storage set, bytes32 value) private returns (bool) {\r\n if (!_contains(set, value)) {\r\n set._values.push(value);\r\n // The value is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n set._indexes[value] = set._values.length;\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function _remove(Set storage set, bytes32 value) private returns (bool) {\r\n // We read and store the value's index to prevent multiple reads from the same storage slot\r\n uint256 valueIndex = set._indexes[value];\r\n\r\n if (valueIndex != 0) { // Equivalent to contains(set, value)\r\n // To delete an element from the _values array in O(1), we swap the element to delete with the last one in\r\n // the array, and then remove the last element (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = valueIndex - 1;\r\n uint256 lastIndex = set._values.length - 1;\r\n\r\n // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n bytes32 lastvalue = set._values[lastIndex];\r\n\r\n // Move the last value to the index where the value to delete is\r\n set._values[toDeleteIndex] = lastvalue;\r\n // Update the index for the moved value\r\n set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved value was stored\r\n set._values.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete set._indexes[value];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function _contains(Set storage set, bytes32 value) private view returns (bool) {\r\n return set._indexes[value] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function _length(Set storage set) private view returns (uint256) {\r\n return set._values.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Set storage set, uint256 index) private view returns (bytes32) {\r\n require(set._values.length > index, \"EnumerableSet: index out of bounds\");\r\n return set._values[index];\r\n }\r\n\r\n // Bytes32Set\r\n\r\n struct Bytes32Set {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _add(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {\r\n return _remove(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {\r\n return _contains(set._inner, value);\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(Bytes32Set storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {\r\n return _at(set._inner, index);\r\n }\r\n\r\n // AddressSet\r\n\r\n struct AddressSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(AddressSet storage set, address value) internal returns (bool) {\r\n return _add(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(AddressSet storage set, address value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(AddressSet storage set, address value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values in the set. O(1).\r\n */\r\n function length(AddressSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(AddressSet storage set, uint256 index) internal view returns (address) {\r\n return address(uint160(uint256(_at(set._inner, index))));\r\n }\r\n\r\n\r\n // UintSet\r\n\r\n struct UintSet {\r\n Set _inner;\r\n }\r\n\r\n /**\r\n * @dev Add a value to a set. O(1).\r\n *\r\n * Returns true if the value was added to the set, that is if it was not\r\n * already present.\r\n */\r\n function add(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _add(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the value was removed from the set, that is if it was\r\n * present.\r\n */\r\n function remove(UintSet storage set, uint256 value) internal returns (bool) {\r\n return _remove(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the value is in the set. O(1).\r\n */\r\n function contains(UintSet storage set, uint256 value) internal view returns (bool) {\r\n return _contains(set._inner, bytes32(value));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of values on the set. O(1).\r\n */\r\n function length(UintSet storage set) internal view returns (uint256) {\r\n return _length(set._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the value stored at position `index` in the set. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintSet storage set, uint256 index) internal view returns (uint256) {\r\n return uint256(_at(set._inner, index));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/EnumerableMap.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev Library for managing an enumerable variant of Solidity's\r\n * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\r\n * type.\r\n *\r\n * Maps have the following properties:\r\n *\r\n * - Entries are added, removed, and checked for existence in constant time\r\n * (O(1)).\r\n * - Entries are enumerated in O(n). No guarantees are made on the ordering.\r\n *\r\n * ```\r\n * contract Example {\r\n * // Add the library methods\r\n * using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n *\r\n * // Declare a set state variable\r\n * EnumerableMap.UintToAddressMap private myMap;\r\n * }\r\n * ```\r\n *\r\n * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\r\n * supported.\r\n */\r\nlibrary EnumerableMap {\r\n // To implement this library for multiple types with as little code\r\n // repetition as possible, we write it in terms of a generic Map type with\r\n // bytes32 keys and values.\r\n // The Map implementation uses private functions, and user-facing\r\n // implementations (such as Uint256ToAddressMap) are just wrappers around\r\n // the underlying Map.\r\n // This means that we can only create new EnumerableMaps for types that fit\r\n // in bytes32.\r\n\r\n struct MapEntry {\r\n bytes32 _key;\r\n bytes32 _value;\r\n }\r\n\r\n struct Map {\r\n // Storage of map keys and values\r\n MapEntry[] _entries;\r\n\r\n // Position of the entry defined by a key in the `entries` array, plus 1\r\n // because index 0 means a key is not in the map.\r\n mapping (bytes32 => uint256) _indexes;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex == 0) { // Equivalent to !contains(map, key)\r\n map._entries.push(MapEntry({ _key: key, _value: value }));\r\n // The entry is stored at length-1, but we add 1 to all indexes\r\n // and use 0 as a sentinel value\r\n map._indexes[key] = map._entries.length;\r\n return true;\r\n } else {\r\n map._entries[keyIndex - 1]._value = value;\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Removes a key-value pair from a map. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function _remove(Map storage map, bytes32 key) private returns (bool) {\r\n // We read and store the key's index to prevent multiple reads from the same storage slot\r\n uint256 keyIndex = map._indexes[key];\r\n\r\n if (keyIndex != 0) { // Equivalent to contains(map, key)\r\n // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one\r\n // in the array, and then remove the last entry (sometimes called as 'swap and pop').\r\n // This modifies the order of the array, as noted in {at}.\r\n\r\n uint256 toDeleteIndex = keyIndex - 1;\r\n uint256 lastIndex = map._entries.length - 1;\r\n\r\n // When the entry to delete is the last one, the swap operation is unnecessary. However, since this occurs\r\n // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.\r\n\r\n MapEntry storage lastEntry = map._entries[lastIndex];\r\n\r\n // Move the last entry to the index where the entry to delete is\r\n map._entries[toDeleteIndex] = lastEntry;\r\n // Update the index for the moved entry\r\n map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based\r\n\r\n // Delete the slot where the moved entry was stored\r\n map._entries.pop();\r\n\r\n // Delete the index for the deleted slot\r\n delete map._indexes[key];\r\n\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function _contains(Map storage map, bytes32 key) private view returns (bool) {\r\n return map._indexes[key] != 0;\r\n }\r\n\r\n /**\r\n * @dev Returns the number of key-value pairs in the map. O(1).\r\n */\r\n function _length(Map storage map) private view returns (uint256) {\r\n return map._entries.length;\r\n }\r\n\r\n /**\r\n * @dev Returns the key-value pair stored at position `index` in the map. O(1).\r\n *\r\n * Note that there are no guarantees on the ordering of entries inside the\r\n * array, and it may change when more entries are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function _at(Map storage map, uint256 index) private view returns (bytes32, bytes32) {\r\n require(map._entries.length > index, \"EnumerableMap: index out of bounds\");\r\n\r\n MapEntry storage entry = map._entries[index];\r\n return (entry._key, entry._value);\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n */\r\n function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)\r\n return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function _get(Map storage map, bytes32 key) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, \"EnumerableMap: nonexistent key\"); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n /**\r\n * @dev Same as {_get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {_tryGet}.\r\n */\r\n function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {\r\n uint256 keyIndex = map._indexes[key];\r\n require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)\r\n return map._entries[keyIndex - 1]._value; // All indexes are 1-based\r\n }\r\n\r\n // UintToAddressMap\r\n\r\n struct UintToAddressMap {\r\n Map _inner;\r\n }\r\n\r\n /**\r\n * @dev Adds a key-value pair to a map, or updates the value for an existing\r\n * key. O(1).\r\n *\r\n * Returns true if the key was added to the map, that is if it was not\r\n * already present.\r\n */\r\n function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {\r\n return _set(map._inner, bytes32(key), bytes32(uint256(uint160(value))));\r\n }\r\n\r\n /**\r\n * @dev Removes a value from a set. O(1).\r\n *\r\n * Returns true if the key was removed from the map, that is if it was present.\r\n */\r\n function remove(UintToAddressMap storage map, uint256 key) internal returns (bool) {\r\n return _remove(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns true if the key is in the map. O(1).\r\n */\r\n function contains(UintToAddressMap storage map, uint256 key) internal view returns (bool) {\r\n return _contains(map._inner, bytes32(key));\r\n }\r\n\r\n /**\r\n * @dev Returns the number of elements in the map. O(1).\r\n */\r\n function length(UintToAddressMap storage map) internal view returns (uint256) {\r\n return _length(map._inner);\r\n }\r\n\r\n /**\r\n * @dev Returns the element stored at position `index` in the set. O(1).\r\n * Note that there are no guarantees on the ordering of values inside the\r\n * array, and it may change when more values are added or removed.\r\n *\r\n * Requirements:\r\n *\r\n * - `index` must be strictly less than {length}.\r\n */\r\n function at(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {\r\n (bytes32 key, bytes32 value) = _at(map._inner, index);\r\n return (uint256(key), address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Tries to returns the value associated with `key`. O(1).\r\n * Does not revert if `key` is not in the map.\r\n *\r\n * _Available since v3.4._\r\n */\r\n function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {\r\n (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));\r\n return (success, address(uint160(uint256(value))));\r\n }\r\n\r\n /**\r\n * @dev Returns the value associated with `key`. O(1).\r\n *\r\n * Requirements:\r\n *\r\n * - `key` must be in the map.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key)))));\r\n }\r\n\r\n /**\r\n * @dev Same as {get}, with a custom error message when `key` is not in the map.\r\n *\r\n * CAUTION: This function is deprecated because it requires allocating memory for the error\r\n * message unnecessarily. For custom revert reasons use {tryGet}.\r\n */\r\n function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {\r\n return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/utils/Strings.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @dev String operations.\r\n */\r\nlibrary Strings {\r\n /**\r\n * @dev Converts a `uint256` to its ASCII `string` representation.\r\n */\r\n function toString(uint256 value) internal pure returns (string memory) {\r\n // Inspired by OraclizeAPI's implementation - MIT licence\r\n // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol\r\n\r\n if (value == 0) {\r\n return \"0\";\r\n }\r\n uint256 temp = value;\r\n uint256 digits;\r\n while (temp != 0) {\r\n digits++;\r\n temp /= 10;\r\n }\r\n bytes memory buffer = new bytes(digits);\r\n uint256 index = digits - 1;\r\n temp = value;\r\n while (temp != 0) {\r\n buffer[index--] = bytes1(uint8(48 + temp % 10));\r\n temp /= 10;\r\n }\r\n return string(buffer);\r\n }\r\n}\r\n\r\n// File: @openzeppelin/contracts/token/ERC721/ERC721.sol\r\npragma solidity >=0.6.0 <0.8.0;\r\n\r\n/**\r\n * @title ERC721 Non-Fungible Token Standard basic implementation\r\n * @dev see https://eips.ethereum.org/EIPS/eip-721\r\n */\r\ncontract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {\r\n using SafeMath for uint256;\r\n using Address for address;\r\n using EnumerableSet for EnumerableSet.UintSet;\r\n using EnumerableMap for EnumerableMap.UintToAddressMap;\r\n using Strings for uint256;\r\n\r\n // Equals to `bytes4(keccak256(\"onERC721Received(address,address,uint256,bytes)\"))`\r\n // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`\r\n bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;\r\n\r\n // Mapping from holder address to their (enumerable) set of owned tokens\r\n mapping (address => EnumerableSet.UintSet) private _holderTokens;\r\n\r\n // Enumerable mapping from token ids to their owners\r\n EnumerableMap.UintToAddressMap private _tokenOwners;\r\n\r\n // Mapping from token ID to approved address\r\n mapping (uint256 => address) private _tokenApprovals;\r\n\r\n // Mapping from owner to operator approvals\r\n mapping (address => mapping (address => bool)) private _operatorApprovals;\r\n\r\n // Token name\r\n string private _name;\r\n\r\n // Token symbol\r\n string private _symbol;\r\n\r\n // Optional mapping for token URIs\r\n mapping (uint256 => string) private _tokenURIs;\r\n\r\n // Base URI\r\n string private _baseURI;\r\n\r\n /*\r\n * bytes4(keccak256('balanceOf(address)')) == 0x70a08231\r\n * bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e\r\n * bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3\r\n * bytes4(keccak256('getApproved(uint256)')) == 0x081812fc\r\n * bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465\r\n * bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5\r\n * bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e\r\n * bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde\r\n *\r\n * => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^\r\n * 0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;\r\n\r\n /*\r\n * bytes4(keccak256('name()')) == 0x06fdde03\r\n * bytes4(keccak256('symbol()')) == 0x95d89b41\r\n * bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd\r\n *\r\n * => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;\r\n\r\n /*\r\n * bytes4(keccak256('totalSupply()')) == 0x18160ddd\r\n * bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59\r\n * bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7\r\n *\r\n * => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63\r\n */\r\n bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;\r\n\r\n /**\r\n * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.\r\n */\r\n constructor (string memory name_, string memory symbol_) {\r\n _name = name_;\r\n _symbol = symbol_;\r\n\r\n // register the supported interfaces to conform to ERC721 via ERC165\r\n _registerInterface(_INTERFACE_ID_ERC721);\r\n _registerInterface(_INTERFACE_ID_ERC721_METADATA);\r\n _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-balanceOf}.\r\n */\r\n function balanceOf(address owner) public view virtual override returns (uint256) {\r\n require(owner != address(0), \"ERC721: balance query for the zero address\");\r\n return _holderTokens[owner].length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-ownerOf}.\r\n */\r\n function ownerOf(uint256 tokenId) public view virtual override returns (address) {\r\n return _tokenOwners.get(tokenId, \"ERC721: owner query for nonexistent token\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-name}.\r\n */\r\n function name() public view virtual override returns (string memory) {\r\n return _name;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-symbol}.\r\n */\r\n function symbol() public view virtual override returns (string memory) {\r\n return _symbol;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Metadata-tokenURI}.\r\n */\r\n function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {\r\n require(_exists(tokenId), \"ERC721Metadata: URI query for nonexistent token\");\r\n\r\n string memory _tokenURI = _tokenURIs[tokenId];\r\n string memory base = baseURI();\r\n\r\n // If there is no base URI, return the token URI.\r\n if (bytes(base).length == 0) {\r\n return _tokenURI;\r\n }\r\n // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).\r\n if (bytes(_tokenURI).length > 0) {\r\n return string(abi.encodePacked(base, _tokenURI));\r\n }\r\n // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.\r\n return string(abi.encodePacked(base, tokenId.toString()));\r\n }\r\n\r\n /**\r\n * @dev Returns the base URI set via {_setBaseURI}. This will be\r\n * automatically added as a prefix in {tokenURI} to each token's URI, or\r\n * to the token ID if no specific URI is set for that token ID.\r\n */\r\n function baseURI() public view virtual returns (string memory) {\r\n return _baseURI;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.\r\n */\r\n function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {\r\n return _holderTokens[owner].at(index);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-totalSupply}.\r\n */\r\n function totalSupply() public view virtual override returns (uint256) {\r\n // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds\r\n return _tokenOwners.length();\r\n }\r\n\r\n /**\r\n * @dev See {IERC721Enumerable-tokenByIndex}.\r\n */\r\n function tokenByIndex(uint256 index) public view virtual override returns (uint256) {\r\n (uint256 tokenId, ) = _tokenOwners.at(index);\r\n return tokenId;\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-approve}.\r\n */\r\n function approve(address to, uint256 tokenId) public virtual override {\r\n address owner = ERC721.ownerOf(tokenId);\r\n require(to != owner, \"ERC721: approval to current owner\");\r\n\r\n require(_msgSender() == owner || ERC721.isApprovedForAll(owner, _msgSender()),\r\n \"ERC721: approve caller is not owner nor approved for all\"\r\n );\r\n\r\n _approve(to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-getApproved}.\r\n */\r\n function getApproved(uint256 tokenId) public view virtual override returns (address) {\r\n require(_exists(tokenId), \"ERC721: approved query for nonexistent token\");\r\n\r\n return _tokenApprovals[tokenId];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-setApprovalForAll}.\r\n */\r\n function setApprovalForAll(address operator, bool approved) public virtual override {\r\n require(operator != _msgSender(), \"ERC721: approve to caller\");\r\n\r\n _operatorApprovals[_msgSender()][operator] = approved;\r\n emit ApprovalForAll(_msgSender(), operator, approved);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-isApprovedForAll}.\r\n */\r\n function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {\r\n return _operatorApprovals[owner][operator];\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-transferFrom}.\r\n */\r\n function transferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n //solhint-disable-next-line max-line-length\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n\r\n _transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {\r\n safeTransferFrom(from, to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev See {IERC721-safeTransferFrom}.\r\n */\r\n function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {\r\n require(_isApprovedOrOwner(_msgSender(), tokenId), \"ERC721: transfer caller is not owner nor approved\");\r\n _safeTransfer(from, to, tokenId, _data);\r\n }\r\n\r\n /**\r\n * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\r\n * are aware of the ERC721 protocol to prevent tokens from being forever locked.\r\n *\r\n * `_data` is additional data, it has no specified format and it is sent in call to `to`.\r\n *\r\n * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\r\n * implement alternative mechanisms to perform token transfer, such as signature-based.\r\n *\r\n * Requirements:\r\n *\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must exist and be owned by `from`.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _transfer(from, to, tokenId);\r\n require(_checkOnERC721Received(from, to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Returns whether `tokenId` exists.\r\n *\r\n * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\r\n *\r\n * Tokens start existing when they are minted (`_mint`),\r\n * and stop existing when they are burned (`_burn`).\r\n */\r\n function _exists(uint256 tokenId) internal view virtual returns (bool) {\r\n return _tokenOwners.contains(tokenId);\r\n }\r\n\r\n /**\r\n * @dev Returns whether `spender` is allowed to manage `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {\r\n require(_exists(tokenId), \"ERC721: operator query for nonexistent token\");\r\n address owner = ERC721.ownerOf(tokenId);\r\n return (spender == owner || getApproved(tokenId) == spender || ERC721.isApprovedForAll(owner, spender));\r\n }\r\n\r\n /**\r\n * @dev Safely mints `tokenId` and transfers it to `to`.\r\n *\r\n * Requirements:\r\n d*\r\n * - `tokenId` must not exist.\r\n * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _safeMint(address to, uint256 tokenId) internal virtual {\r\n _safeMint(to, tokenId, \"\");\r\n }\r\n\r\n /**\r\n * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\r\n * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.\r\n */\r\n function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {\r\n _mint(to, tokenId);\r\n require(_checkOnERC721Received(address(0), to, tokenId, _data), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n }\r\n\r\n /**\r\n * @dev Mints `tokenId` and transfers it to `to`.\r\n *\r\n * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must not exist.\r\n * - `to` cannot be the zero address.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _mint(address to, uint256 tokenId) internal virtual {\r\n require(to != address(0), \"ERC721: mint to the zero address\");\r\n require(!_exists(tokenId), \"ERC721: token already minted\");\r\n\r\n _beforeTokenTransfer(address(0), to, tokenId);\r\n\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(address(0), to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Destroys `tokenId`.\r\n * The approval is cleared when the token is burned.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _burn(uint256 tokenId) internal virtual {\r\n address owner = ERC721.ownerOf(tokenId); // internal owner\r\n\r\n _beforeTokenTransfer(owner, address(0), tokenId);\r\n\r\n // Clear approvals\r\n _approve(address(0), tokenId);\r\n\r\n // Clear metadata (if any)\r\n if (bytes(_tokenURIs[tokenId]).length != 0) {\r\n delete _tokenURIs[tokenId];\r\n }\r\n\r\n _holderTokens[owner].remove(tokenId);\r\n\r\n _tokenOwners.remove(tokenId);\r\n\r\n emit Transfer(owner, address(0), tokenId);\r\n }\r\n\r\n /**\r\n * @dev Transfers `tokenId` from `from` to `to`.\r\n * As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\r\n *\r\n * Requirements:\r\n *\r\n * - `to` cannot be the zero address.\r\n * - `tokenId` token must be owned by `from`.\r\n *\r\n * Emits a {Transfer} event.\r\n */\r\n function _transfer(address from, address to, uint256 tokenId) internal virtual {\r\n require(ERC721.ownerOf(tokenId) == from, \"ERC721: transfer of token that is not own\"); // internal owner\r\n require(to != address(0), \"ERC721: transfer to the zero address\");\r\n\r\n _beforeTokenTransfer(from, to, tokenId);\r\n\r\n // Clear approvals from the previous owner\r\n _approve(address(0), tokenId);\r\n\r\n _holderTokens[from].remove(tokenId);\r\n _holderTokens[to].add(tokenId);\r\n\r\n _tokenOwners.set(tokenId, to);\r\n\r\n emit Transfer(from, to, tokenId);\r\n }\r\n\r\n /**\r\n * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\r\n *\r\n * Requirements:\r\n *\r\n * - `tokenId` must exist.\r\n */\r\n function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {\r\n require(_exists(tokenId), \"ERC721Metadata: URI set of nonexistent token\");\r\n _tokenURIs[tokenId] = _tokenURI;\r\n }\r\n\r\n /**\r\n * @dev Internal function to set the base URI for all token IDs. It is\r\n * automatically added as a prefix to the value returned in {tokenURI},\r\n * or to the token ID if {tokenURI} is empty.\r\n */\r\n function _setBaseURI(string memory baseURI_) internal virtual {\r\n _baseURI = baseURI_;\r\n }\r\n\r\n /**\r\n * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\r\n * The call is not executed if the target address is not a contract.\r\n *\r\n * @param from address representing the previous owner of the given token ID\r\n * @param to target address that will receive the tokens\r\n * @param tokenId uint256 ID of the token to be transferred\r\n * @param _data bytes optional data to send along with the call\r\n * @return bool whether the call correctly returned the expected magic value\r\n */\r\n function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)\r\n private returns (bool)\r\n {\r\n if (!to.isContract()) {\r\n return true;\r\n }\r\n bytes memory returndata = to.functionCall(abi.encodeWithSelector(\r\n IERC721Receiver(to).onERC721Received.selector,\r\n _msgSender(),\r\n from,\r\n tokenId,\r\n _data\r\n ), \"ERC721: transfer to non ERC721Receiver implementer\");\r\n bytes4 retval = abi.decode(returndata, (bytes4));\r\n return (retval == _ERC721_RECEIVED);\r\n }\r\n\r\n /**\r\n * @dev Approve `to` to operate on `tokenId`\r\n *\r\n * Emits an {Approval} event.\r\n */\r\n function _approve(address to, uint256 tokenId) internal virtual {\r\n _tokenApprovals[tokenId] = to;\r\n emit Approval(ERC721.ownerOf(tokenId), to, tokenId); // internal owner\r\n }\r\n\r\n /**\r\n * @dev Hook that is called before any token transfer. This includes minting\r\n * and burning.\r\n *\r\n * Calling conditions:\r\n *\r\n * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\r\n * transferred to `to`.\r\n * - When `from` is zero, `tokenId` will be minted for `to`.\r\n * - When `to` is zero, ``from``'s `tokenId` will be burned.\r\n * - `from` cannot be the zero address.\r\n * - `to` cannot be the zero address.\r\n *\r\n * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\r\n */\r\n function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }\r\n}\r\n", + "sourcePath": "C:\\Users\\Noahm\\cryptoboys-nft-marketplace\\src\\contracts\\ERC721.sol", "ast": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, - "id": 3499, + "id": 2991, "license": "MIT", "nodeType": "SourceUnit", "nodes": [ { - "id": 509, + "id": 1, "literals": [ "solidity", ">=", @@ -70,7 +70,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "abstract": true, @@ -78,77 +78,77 @@ "contractDependencies": [], "contractKind": "contract", "fullyImplemented": true, - "id": 530, + "id": 22, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 517, + "id": 9, "nodeType": "Block", - "src": "719:34:1", + "src": "735:36:0", "statements": [ { "expression": { "expression": { - "id": 514, + "id": 6, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "736:3:1", + "src": "753:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 515, + "id": 7, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "sender", "nodeType": "MemberAccess", - "src": "736:10:1", + "src": "753:10:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 513, - "id": 516, + "functionReturnParameters": 5, + "id": 8, "nodeType": "Return", - "src": "729:17:1" + "src": "746:17:0" } ] }, - "id": 518, + "id": 10, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgSender", "nodeType": "FunctionDefinition", "parameters": { - "id": 510, + "id": 2, "nodeType": "ParameterList", "parameters": [], - "src": "668:2:1" + "src": "684:2:0" }, "returnParameters": { - "id": 513, + "id": 5, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 512, + "id": 4, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 518, - "src": "702:15:1", + "scope": 10, + "src": "718:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -156,10 +156,10 @@ "typeString": "address payable" }, "typeName": { - "id": 511, + "id": 3, "name": "address", "nodeType": "ElementaryTypeName", - "src": "702:15:1", + "src": "718:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -169,95 +169,95 @@ "visibility": "internal" } ], - "src": "701:17:1" + "src": "717:17:0" }, - "scope": 530, - "src": "649:104:1", + "scope": 22, + "src": "665:106:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 528, + "id": 20, "nodeType": "Block", - "src": "824:165:1", + "src": "844:168:0", "statements": [ { "expression": { - "id": 523, + "id": 15, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "834:4:1", + "src": "855:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 524, + "id": 16, "nodeType": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "expression": { "expression": { - "id": 525, + "id": 17, "name": "msg", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967281, - "src": "974:3:1", + "src": "996:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_message", "typeString": "msg" } }, - "id": 526, + "id": 18, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "data", "nodeType": "MemberAccess", - "src": "974:8:1", + "src": "996:8:0", "typeDescriptions": { "typeIdentifier": "t_bytes_calldata_ptr", "typeString": "bytes calldata" } }, - "functionReturnParameters": 522, - "id": 527, + "functionReturnParameters": 14, + "id": 19, "nodeType": "Return", - "src": "967:15:1" + "src": "989:15:0" } ] }, - "id": 529, + "id": 21, "implemented": true, "kind": "function", "modifiers": [], "name": "_msgData", "nodeType": "FunctionDefinition", "parameters": { - "id": 519, + "id": 11, "nodeType": "ParameterList", "parameters": [], - "src": "776:2:1" + "src": "796:2:0" }, "returnParameters": { - "id": 522, + "id": 14, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 521, + "id": 13, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 529, - "src": "810:12:1", + "scope": 21, + "src": "830:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -265,10 +265,10 @@ "typeString": "bytes" }, "typeName": { - "id": 520, + "id": 12, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "810:5:1", + "src": "830:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -277,20 +277,20 @@ "visibility": "internal" } ], - "src": "809:14:1" + "src": "829:14:0" }, - "scope": 530, - "src": "759:230:1", + "scope": 22, + "src": "779:233:0", "stateMutability": "view", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "617:374:1" + "scope": 2991, + "src": "632:383:0" }, { - "id": 531, + "id": 23, "literals": [ "solidity", ">=", @@ -301,7 +301,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "abstract": false, @@ -309,45 +309,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 532, + "id": 24, "nodeType": "StructuredDocumentation", - "src": "1086:279:1", + "src": "1116:287:0", "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, "fullyImplemented": false, - "id": 541, + "id": 33, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 533, + "id": 25, "nodeType": "StructuredDocumentation", - "src": "1390:340:1", + "src": "1430:347:0", "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 540, + "id": 32, "implemented": false, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 536, + "id": 28, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 535, + "id": 27, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1762:18:1", + "scope": 32, + "src": "1810:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -355,10 +355,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 534, + "id": 26, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "1762:6:1", + "src": "1810:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -367,20 +367,20 @@ "visibility": "internal" } ], - "src": "1761:20:1" + "src": "1809:20:0" }, "returnParameters": { - "id": 539, + "id": 31, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 538, + "id": 30, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 540, - "src": "1805:4:1", + "scope": 32, + "src": "1853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -388,10 +388,10 @@ "typeString": "bool" }, "typeName": { - "id": 537, + "id": 29, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "1805:4:1", + "src": "1853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -400,20 +400,20 @@ "visibility": "internal" } ], - "src": "1804:6:1" + "src": "1852:6:0" }, - "scope": 541, - "src": "1735:76:1", + "scope": 33, + "src": "1783:76:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1366:447:1" + "scope": 2991, + "src": "1405:457:0" }, { - "id": 542, + "id": 34, "literals": [ "solidity", ">=", @@ -424,43 +424,43 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 544, + "id": 36, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "1996:7:1", + "referencedDeclaration": 33, + "src": "2054:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 545, + "id": 37, "nodeType": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "documentation": { - "id": 543, + "id": 35, "nodeType": "StructuredDocumentation", - "src": "1907:67:1", + "src": "1962:69:0", "text": " @dev Required interface of an ERC721 compliant contract." }, "fullyImplemented": false, - "id": 655, + "id": 147, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", "nodeType": "ContractDefinition", @@ -468,27 +468,27 @@ { "anonymous": false, "documentation": { - "id": 546, + "id": 38, "nodeType": "StructuredDocumentation", - "src": "2010:88:1", + "src": "2069:90:0", "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 554, + "id": 46, "name": "Transfer", "nodeType": "EventDefinition", "parameters": { - "id": 553, + "id": 45, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 548, + "id": 40, "indexed": true, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2118:20:1", + "scope": 46, + "src": "2180:20:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -496,10 +496,10 @@ "typeString": "address" }, "typeName": { - "id": 547, + "id": 39, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2118:7:1", + "src": "2180:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -510,13 +510,13 @@ }, { "constant": false, - "id": 550, + "id": 42, "indexed": true, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2140:18:1", + "scope": 46, + "src": "2202:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -524,10 +524,10 @@ "typeString": "address" }, "typeName": { - "id": 549, + "id": 41, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2140:7:1", + "src": "2202:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -538,13 +538,13 @@ }, { "constant": false, - "id": 552, + "id": 44, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 554, - "src": "2160:23:1", + "scope": 46, + "src": "2222:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -552,10 +552,10 @@ "typeString": "uint256" }, "typeName": { - "id": 551, + "id": 43, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2160:7:1", + "src": "2222:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -564,34 +564,34 @@ "visibility": "internal" } ], - "src": "2117:67:1" + "src": "2179:67:0" }, - "src": "2103:82:1" + "src": "2165:82:0" }, { "anonymous": false, "documentation": { - "id": 555, + "id": 47, "nodeType": "StructuredDocumentation", - "src": "2191:94:1", + "src": "2255:96:0", "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 563, + "id": 55, "name": "Approval", "nodeType": "EventDefinition", "parameters": { - "id": 562, + "id": 54, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 557, + "id": 49, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2305:21:1", + "scope": 55, + "src": "2372:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -599,10 +599,10 @@ "typeString": "address" }, "typeName": { - "id": 556, + "id": 48, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2305:7:1", + "src": "2372:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -613,13 +613,13 @@ }, { "constant": false, - "id": 559, + "id": 51, "indexed": true, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2328:24:1", + "scope": 55, + "src": "2395:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -627,10 +627,10 @@ "typeString": "address" }, "typeName": { - "id": 558, + "id": 50, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2328:7:1", + "src": "2395:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -641,13 +641,13 @@ }, { "constant": false, - "id": 561, + "id": 53, "indexed": true, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 563, - "src": "2354:23:1", + "scope": 55, + "src": "2421:23:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -655,10 +655,10 @@ "typeString": "uint256" }, "typeName": { - "id": 560, + "id": 52, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2354:7:1", + "src": "2421:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -667,34 +667,34 @@ "visibility": "internal" } ], - "src": "2304:74:1" + "src": "2371:74:0" }, - "src": "2290:89:1" + "src": "2357:89:0" }, { "anonymous": false, "documentation": { - "id": 564, + "id": 56, "nodeType": "StructuredDocumentation", - "src": "2385:117:1", + "src": "2454:119:0", "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 572, + "id": 64, "name": "ApprovalForAll", "nodeType": "EventDefinition", "parameters": { - "id": 571, + "id": 63, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 566, + "id": 58, "indexed": true, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2528:21:1", + "scope": 64, + "src": "2600:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -702,10 +702,10 @@ "typeString": "address" }, "typeName": { - "id": 565, + "id": 57, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2528:7:1", + "src": "2600:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -716,13 +716,13 @@ }, { "constant": false, - "id": 568, + "id": 60, "indexed": true, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2551:24:1", + "scope": 64, + "src": "2623:24:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -730,10 +730,10 @@ "typeString": "address" }, "typeName": { - "id": 567, + "id": 59, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2551:7:1", + "src": "2623:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -744,13 +744,13 @@ }, { "constant": false, - "id": 570, + "id": 62, "indexed": false, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 572, - "src": "2577:13:1", + "scope": 64, + "src": "2649:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -758,10 +758,10 @@ "typeString": "bool" }, "typeName": { - "id": 569, + "id": 61, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "2577:4:1", + "src": "2649:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -770,36 +770,36 @@ "visibility": "internal" } ], - "src": "2527:64:1" + "src": "2599:64:0" }, - "src": "2507:85:1" + "src": "2579:85:0" }, { "documentation": { - "id": 573, + "id": 65, "nodeType": "StructuredDocumentation", - "src": "2598:76:1", + "src": "2672:78:0", "text": " @dev Returns the number of tokens in ``owner``'s account." }, "functionSelector": "70a08231", - "id": 580, + "id": 72, "implemented": false, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 576, + "id": 68, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 575, + "id": 67, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2698:13:1", + "scope": 72, + "src": "2775:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -807,10 +807,10 @@ "typeString": "address" }, "typeName": { - "id": 574, + "id": 66, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2698:7:1", + "src": "2775:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -820,20 +820,20 @@ "visibility": "internal" } ], - "src": "2697:15:1" + "src": "2774:15:0" }, "returnParameters": { - "id": 579, + "id": 71, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 578, + "id": 70, "mutability": "mutable", "name": "balance", "nodeType": "VariableDeclaration", - "scope": 580, - "src": "2736:15:1", + "scope": 72, + "src": "2813:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -841,10 +841,10 @@ "typeString": "uint256" }, "typeName": { - "id": 577, + "id": 69, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2736:7:1", + "src": "2813:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -853,40 +853,40 @@ "visibility": "internal" } ], - "src": "2735:17:1" + "src": "2812:17:0" }, - "scope": 655, - "src": "2679:74:1", + "scope": 147, + "src": "2756:74:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 581, + "id": 73, "nodeType": "StructuredDocumentation", - "src": "2759:131:1", + "src": "2838:137:0", "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "6352211e", - "id": 588, + "id": 80, "implemented": false, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "parameters": { - "id": 584, + "id": 76, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 583, + "id": 75, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2912:15:1", + "scope": 80, + "src": "2998:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -894,10 +894,10 @@ "typeString": "uint256" }, "typeName": { - "id": 582, + "id": 74, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "2912:7:1", + "src": "2998:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -906,20 +906,20 @@ "visibility": "internal" } ], - "src": "2911:17:1" + "src": "2997:17:0" }, "returnParameters": { - "id": 587, + "id": 79, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 586, + "id": 78, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 588, - "src": "2952:13:1", + "scope": 80, + "src": "3038:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -927,10 +927,10 @@ "typeString": "address" }, "typeName": { - "id": 585, + "id": 77, "name": "address", "nodeType": "ElementaryTypeName", - "src": "2952:7:1", + "src": "3038:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -940,40 +940,40 @@ "visibility": "internal" } ], - "src": "2951:15:1" + "src": "3037:15:0" }, - "scope": 655, - "src": "2895:72:1", + "scope": 147, + "src": "2981:72:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 589, + "id": 81, "nodeType": "StructuredDocumentation", - "src": "2973:690:1", + "src": "3061:703:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "42842e0e", - "id": 598, + "id": 90, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 596, + "id": 88, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 591, + "id": 83, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3694:12:1", + "scope": 90, + "src": "3796:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -981,10 +981,10 @@ "typeString": "address" }, "typeName": { - "id": 590, + "id": 82, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3694:7:1", + "src": "3796:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -995,12 +995,12 @@ }, { "constant": false, - "id": 593, + "id": 85, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3708:10:1", + "scope": 90, + "src": "3810:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1008,10 +1008,10 @@ "typeString": "address" }, "typeName": { - "id": 592, + "id": 84, "name": "address", "nodeType": "ElementaryTypeName", - "src": "3708:7:1", + "src": "3810:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1022,12 +1022,12 @@ }, { "constant": false, - "id": 595, + "id": 87, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 598, - "src": "3720:15:1", + "scope": 90, + "src": "3822:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1035,10 +1035,10 @@ "typeString": "uint256" }, "typeName": { - "id": 594, + "id": 86, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "3720:7:1", + "src": "3822:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1047,46 +1047,46 @@ "visibility": "internal" } ], - "src": "3693:43:1" + "src": "3795:43:0" }, "returnParameters": { - "id": 597, + "id": 89, "nodeType": "ParameterList", "parameters": [], - "src": "3745:0:1" + "src": "3847:0:0" }, - "scope": 655, - "src": "3668:78:1", + "scope": 147, + "src": "3770:78:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 599, + "id": 91, "nodeType": "StructuredDocumentation", - "src": "3752:504:1", + "src": "3856:517:0", "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, "functionSelector": "23b872dd", - "id": 608, + "id": 100, "implemented": false, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 606, + "id": 98, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 601, + "id": 93, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4283:12:1", + "scope": 100, + "src": "4401:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1094,10 +1094,10 @@ "typeString": "address" }, "typeName": { - "id": 600, + "id": 92, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4283:7:1", + "src": "4401:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1108,12 +1108,12 @@ }, { "constant": false, - "id": 603, + "id": 95, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4297:10:1", + "scope": 100, + "src": "4415:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1121,10 +1121,10 @@ "typeString": "address" }, "typeName": { - "id": 602, + "id": 94, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4297:7:1", + "src": "4415:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1135,12 +1135,12 @@ }, { "constant": false, - "id": 605, + "id": 97, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 608, - "src": "4309:15:1", + "scope": 100, + "src": "4427:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1148,10 +1148,10 @@ "typeString": "uint256" }, "typeName": { - "id": 604, + "id": 96, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4309:7:1", + "src": "4427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1160,46 +1160,46 @@ "visibility": "internal" } ], - "src": "4282:43:1" + "src": "4400:43:0" }, "returnParameters": { - "id": 607, + "id": 99, "nodeType": "ParameterList", "parameters": [], - "src": "4334:0:1" + "src": "4452:0:0" }, - "scope": 655, - "src": "4261:74:1", + "scope": 147, + "src": "4379:74:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 609, + "id": 101, "nodeType": "StructuredDocumentation", - "src": "4341:452:1", + "src": "4461:464:0", "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, "functionSelector": "095ea7b3", - "id": 616, + "id": 108, "implemented": false, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 614, + "id": 106, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 611, + "id": 103, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4815:10:1", + "scope": 108, + "src": "4948:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1207,10 +1207,10 @@ "typeString": "address" }, "typeName": { - "id": 610, + "id": 102, "name": "address", "nodeType": "ElementaryTypeName", - "src": "4815:7:1", + "src": "4948:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1221,12 +1221,12 @@ }, { "constant": false, - "id": 613, + "id": 105, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 616, - "src": "4827:15:1", + "scope": 108, + "src": "4960:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1234,10 +1234,10 @@ "typeString": "uint256" }, "typeName": { - "id": 612, + "id": 104, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "4827:7:1", + "src": "4960:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1246,46 +1246,46 @@ "visibility": "internal" } ], - "src": "4814:29:1" + "src": "4947:29:0" }, "returnParameters": { - "id": 615, + "id": 107, "nodeType": "ParameterList", "parameters": [], - "src": "4852:0:1" + "src": "4985:0:0" }, - "scope": 655, - "src": "4798:55:1", + "scope": 147, + "src": "4931:55:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 617, + "id": 109, "nodeType": "StructuredDocumentation", - "src": "4859:139:1", + "src": "4994:145:0", "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, "functionSelector": "081812fc", - "id": 624, + "id": 116, "implemented": false, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "parameters": { - "id": 620, + "id": 112, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 619, + "id": 111, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5024:15:1", + "scope": 116, + "src": "5166:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1293,10 +1293,10 @@ "typeString": "uint256" }, "typeName": { - "id": 618, + "id": 110, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "5024:7:1", + "src": "5166:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1305,20 +1305,20 @@ "visibility": "internal" } ], - "src": "5023:17:1" + "src": "5165:17:0" }, "returnParameters": { - "id": 623, + "id": 115, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 622, + "id": 114, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 624, - "src": "5064:16:1", + "scope": 116, + "src": "5206:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1326,10 +1326,10 @@ "typeString": "address" }, "typeName": { - "id": 621, + "id": 113, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5064:7:1", + "src": "5206:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1339,40 +1339,40 @@ "visibility": "internal" } ], - "src": "5063:18:1" + "src": "5205:18:0" }, - "scope": 655, - "src": "5003:79:1", + "scope": 147, + "src": "5145:79:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 625, + "id": 117, "nodeType": "StructuredDocumentation", - "src": "5088:309:1", + "src": "5232:318:0", "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, "functionSelector": "a22cb465", - "id": 632, + "id": 124, "implemented": false, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 630, + "id": 122, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 627, + "id": 119, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5429:16:1", + "scope": 124, + "src": "5583:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1380,10 +1380,10 @@ "typeString": "address" }, "typeName": { - "id": 626, + "id": 118, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5429:7:1", + "src": "5583:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1394,12 +1394,12 @@ }, { "constant": false, - "id": 629, + "id": 121, "mutability": "mutable", "name": "_approved", "nodeType": "VariableDeclaration", - "scope": 632, - "src": "5447:14:1", + "scope": 124, + "src": "5601:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1407,10 +1407,10 @@ "typeString": "bool" }, "typeName": { - "id": 628, + "id": 120, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5447:4:1", + "src": "5601:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1419,46 +1419,46 @@ "visibility": "internal" } ], - "src": "5428:34:1" + "src": "5582:34:0" }, "returnParameters": { - "id": 631, + "id": 123, "nodeType": "ParameterList", "parameters": [], - "src": "5471:0:1" + "src": "5625:0:0" }, - "scope": 655, - "src": "5402:70:1", + "scope": 147, + "src": "5556:70:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 633, + "id": 125, "nodeType": "StructuredDocumentation", - "src": "5478:138:1", + "src": "5634:142:0", "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, "functionSelector": "e985e9c5", - "id": 642, + "id": 134, "implemented": false, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "parameters": { - "id": 638, + "id": 130, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 635, + "id": 127, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5647:13:1", + "scope": 134, + "src": "5808:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1466,10 +1466,10 @@ "typeString": "address" }, "typeName": { - "id": 634, + "id": 126, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5647:7:1", + "src": "5808:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1480,12 +1480,12 @@ }, { "constant": false, - "id": 637, + "id": 129, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5662:16:1", + "scope": 134, + "src": "5823:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1493,10 +1493,10 @@ "typeString": "address" }, "typeName": { - "id": 636, + "id": 128, "name": "address", "nodeType": "ElementaryTypeName", - "src": "5662:7:1", + "src": "5823:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1506,20 +1506,20 @@ "visibility": "internal" } ], - "src": "5646:33:1" + "src": "5807:33:0" }, "returnParameters": { - "id": 641, + "id": 133, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 640, + "id": 132, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 642, - "src": "5703:4:1", + "scope": 134, + "src": "5864:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1527,10 +1527,10 @@ "typeString": "bool" }, "typeName": { - "id": 639, + "id": 131, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "5703:4:1", + "src": "5864:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -1539,40 +1539,40 @@ "visibility": "internal" } ], - "src": "5702:6:1" + "src": "5863:6:0" }, - "scope": 655, - "src": "5621:88:1", + "scope": 147, + "src": "5782:88:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 643, + "id": 135, "nodeType": "StructuredDocumentation", - "src": "5715:568:1", + "src": "5878:580:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, "functionSelector": "b88d4fde", - "id": 654, + "id": 146, "implemented": false, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "parameters": { - "id": 652, + "id": 144, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 645, + "id": 137, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6314:12:1", + "scope": 146, + "src": "6490:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1580,10 +1580,10 @@ "typeString": "address" }, "typeName": { - "id": 644, + "id": 136, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6314:7:1", + "src": "6490:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1594,12 +1594,12 @@ }, { "constant": false, - "id": 647, + "id": 139, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6328:10:1", + "scope": 146, + "src": "6504:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1607,10 +1607,10 @@ "typeString": "address" }, "typeName": { - "id": 646, + "id": 138, "name": "address", "nodeType": "ElementaryTypeName", - "src": "6328:7:1", + "src": "6504:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -1621,12 +1621,12 @@ }, { "constant": false, - "id": 649, + "id": 141, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6340:15:1", + "scope": 146, + "src": "6516:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1634,10 +1634,10 @@ "typeString": "uint256" }, "typeName": { - "id": 648, + "id": 140, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "6340:7:1", + "src": "6516:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1647,12 +1647,12 @@ }, { "constant": false, - "id": 651, + "id": 143, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 654, - "src": "6357:19:1", + "scope": 146, + "src": "6533:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -1660,10 +1660,10 @@ "typeString": "bytes" }, "typeName": { - "id": 650, + "id": 142, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "6357:5:1", + "src": "6533:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -1672,26 +1672,26 @@ "visibility": "internal" } ], - "src": "6313:64:1" + "src": "6489:64:0" }, "returnParameters": { - "id": 653, + "id": 145, "nodeType": "ParameterList", "parameters": [], - "src": "6386:0:1" + "src": "6562:0:0" }, - "scope": 655, - "src": "6288:99:1", + "scope": 147, + "src": "6464:99:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "1975:4414:1" + "scope": 2991, + "src": "2033:4533:0" }, { - "id": 656, + "id": 148, "literals": [ "solidity", ">=", @@ -1702,81 +1702,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 658, + "id": 150, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "6654:7:1", + "referencedDeclaration": 147, + "src": "6841:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 659, + "id": 151, "nodeType": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 657, + "id": 149, "nodeType": "StructuredDocumentation", - "src": "6491:133:1", + "src": "6674:136:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 680, + "id": 172, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 660, + "id": 152, "nodeType": "StructuredDocumentation", - "src": "6669:58:1", + "src": "6858:60:0", "text": " @dev Returns the token collection name." }, "functionSelector": "06fdde03", - "id": 665, + "id": 157, "implemented": false, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "parameters": { - "id": 661, + "id": 153, "nodeType": "ParameterList", "parameters": [], - "src": "6745:2:1" + "src": "6937:2:0" }, "returnParameters": { - "id": 664, + "id": 156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 663, + "id": 155, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 665, - "src": "6771:13:1", + "scope": 157, + "src": "6963:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1784,10 +1784,10 @@ "typeString": "string" }, "typeName": { - "id": 662, + "id": 154, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6771:6:1", + "src": "6963:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1796,46 +1796,46 @@ "visibility": "internal" } ], - "src": "6770:15:1" + "src": "6962:15:0" }, - "scope": 680, - "src": "6732:54:1", + "scope": 172, + "src": "6924:54:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 666, + "id": 158, "nodeType": "StructuredDocumentation", - "src": "6792:60:1", + "src": "6986:62:0", "text": " @dev Returns the token collection symbol." }, "functionSelector": "95d89b41", - "id": 671, + "id": 163, "implemented": false, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "parameters": { - "id": 667, + "id": 159, "nodeType": "ParameterList", "parameters": [], - "src": "6872:2:1" + "src": "7069:2:0" }, "returnParameters": { - "id": 670, + "id": 162, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 669, + "id": 161, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 671, - "src": "6898:13:1", + "scope": 163, + "src": "7095:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1843,10 +1843,10 @@ "typeString": "string" }, "typeName": { - "id": 668, + "id": 160, "name": "string", "nodeType": "ElementaryTypeName", - "src": "6898:6:1", + "src": "7095:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1855,40 +1855,40 @@ "visibility": "internal" } ], - "src": "6897:15:1" + "src": "7094:15:0" }, - "scope": 680, - "src": "6857:56:1", + "scope": 172, + "src": "7054:56:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 672, + "id": 164, "nodeType": "StructuredDocumentation", - "src": "6919:90:1", + "src": "7118:92:0", "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, "functionSelector": "c87b56dd", - "id": 679, + "id": 171, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 675, + "id": 167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 674, + "id": 166, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7032:15:1", + "scope": 171, + "src": "7234:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -1896,10 +1896,10 @@ "typeString": "uint256" }, "typeName": { - "id": 673, + "id": 165, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7032:7:1", + "src": "7234:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -1908,20 +1908,20 @@ "visibility": "internal" } ], - "src": "7031:17:1" + "src": "7233:17:0" }, "returnParameters": { - "id": 678, + "id": 170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 677, + "id": 169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 679, - "src": "7072:13:1", + "scope": 171, + "src": "7274:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -1929,10 +1929,10 @@ "typeString": "string" }, "typeName": { - "id": 676, + "id": 168, "name": "string", "nodeType": "ElementaryTypeName", - "src": "7072:6:1", + "src": "7274:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -1941,20 +1941,20 @@ "visibility": "internal" } ], - "src": "7071:15:1" + "src": "7273:15:0" }, - "scope": 680, - "src": "7014:73:1", + "scope": 172, + "src": "7216:73:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "6625:464:1" + "scope": 2991, + "src": "6812:480:0" }, { - "id": 681, + "id": 173, "literals": [ "solidity", ">=", @@ -1965,81 +1965,81 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 683, + "id": 175, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "7363:7:1", + "referencedDeclaration": 147, + "src": "7578:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 684, + "id": 176, "nodeType": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" } ], "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "documentation": { - "id": 682, + "id": 174, "nodeType": "StructuredDocumentation", - "src": "7195:136:1", + "src": "7406:139:0", "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": false, - "id": 709, + "id": 201, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 685, + "id": 177, "nodeType": "StructuredDocumentation", - "src": "7378:82:1", + "src": "7595:84:0", "text": " @dev Returns the total amount of tokens stored by the contract." }, "functionSelector": "18160ddd", - "id": 690, + "id": 182, "implemented": false, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "parameters": { - "id": 686, + "id": 178, "nodeType": "ParameterList", "parameters": [], - "src": "7485:2:1" + "src": "7705:2:0" }, "returnParameters": { - "id": 689, + "id": 181, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 688, + "id": 180, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 690, - "src": "7511:7:1", + "scope": 182, + "src": "7731:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2047,10 +2047,10 @@ "typeString": "uint256" }, "typeName": { - "id": 687, + "id": 179, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7511:7:1", + "src": "7731:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2059,40 +2059,40 @@ "visibility": "internal" } ], - "src": "7510:9:1" + "src": "7730:9:0" }, - "scope": 709, - "src": "7465:55:1", + "scope": 201, + "src": "7685:55:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 691, + "id": 183, "nodeType": "StructuredDocumentation", - "src": "7526:171:1", + "src": "7748:174:0", "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, "functionSelector": "2f745c59", - "id": 700, + "id": 192, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 696, + "id": 188, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 693, + "id": 185, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7731:13:1", + "scope": 192, + "src": "7957:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2100,10 +2100,10 @@ "typeString": "address" }, "typeName": { - "id": 692, + "id": 184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "7731:7:1", + "src": "7957:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2114,12 +2114,12 @@ }, { "constant": false, - "id": 695, + "id": 187, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7746:13:1", + "scope": 192, + "src": "7972:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2127,10 +2127,10 @@ "typeString": "uint256" }, "typeName": { - "id": 694, + "id": 186, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7746:7:1", + "src": "7972:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2139,20 +2139,20 @@ "visibility": "internal" } ], - "src": "7730:30:1" + "src": "7956:30:0" }, "returnParameters": { - "id": 699, + "id": 191, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 698, + "id": 190, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 700, - "src": "7784:15:1", + "scope": 192, + "src": "8010:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2160,10 +2160,10 @@ "typeString": "uint256" }, "typeName": { - "id": 697, + "id": 189, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7784:7:1", + "src": "8010:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2172,40 +2172,40 @@ "visibility": "internal" } ], - "src": "7783:17:1" + "src": "8009:17:0" }, - "scope": 709, - "src": "7702:99:1", + "scope": 201, + "src": "7928:99:0", "stateMutability": "view", "virtual": false, "visibility": "external" }, { "documentation": { - "id": 701, + "id": 193, "nodeType": "StructuredDocumentation", - "src": "7807:164:1", + "src": "8035:167:0", "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, "functionSelector": "4f6ccce7", - "id": 708, + "id": 200, "implemented": false, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "parameters": { - "id": 704, + "id": 196, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 703, + "id": 195, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "7998:13:1", + "scope": 200, + "src": "8230:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2213,10 +2213,10 @@ "typeString": "uint256" }, "typeName": { - "id": 702, + "id": 194, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "7998:7:1", + "src": "8230:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2225,20 +2225,20 @@ "visibility": "internal" } ], - "src": "7997:15:1" + "src": "8229:15:0" }, "returnParameters": { - "id": 707, + "id": 199, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 706, + "id": 198, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 708, - "src": "8036:7:1", + "scope": 200, + "src": "8268:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2246,10 +2246,10 @@ "typeString": "uint256" }, "typeName": { - "id": 705, + "id": 197, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8036:7:1", + "src": "8268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2258,20 +2258,20 @@ "visibility": "internal" } ], - "src": "8035:9:1" + "src": "8267:9:0" }, - "scope": 709, - "src": "7976:69:1", + "scope": 201, + "src": "8208:69:0", "stateMutability": "view", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "7332:715:1" + "scope": 2991, + "src": "7547:733:0" }, { - "id": 710, + "id": 202, "literals": [ "solidity", ">=", @@ -2282,7 +2282,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "abstract": false, @@ -2290,45 +2290,45 @@ "contractDependencies": [], "contractKind": "interface", "documentation": { - "id": 711, + "id": 203, "nodeType": "StructuredDocumentation", - "src": "8150:152:1", + "src": "8390:156:0", "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, "fullyImplemented": false, - "id": 726, + "id": 218, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", "nodeType": "ContractDefinition", "nodes": [ { "documentation": { - "id": 712, + "id": 204, "nodeType": "StructuredDocumentation", - "src": "8335:485:1", + "src": "8581:493:0", "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, "functionSelector": "150b7a02", - "id": 725, + "id": 217, "implemented": false, "kind": "function", "modifiers": [], "name": "onERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 721, + "id": 213, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 714, + "id": 206, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8851:16:1", + "scope": 217, + "src": "9106:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2336,10 +2336,10 @@ "typeString": "address" }, "typeName": { - "id": 713, + "id": 205, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8851:7:1", + "src": "9106:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2350,12 +2350,12 @@ }, { "constant": false, - "id": 716, + "id": 208, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8869:12:1", + "scope": 217, + "src": "9124:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2363,10 +2363,10 @@ "typeString": "address" }, "typeName": { - "id": 715, + "id": 207, "name": "address", "nodeType": "ElementaryTypeName", - "src": "8869:7:1", + "src": "9124:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -2377,12 +2377,12 @@ }, { "constant": false, - "id": 718, + "id": 210, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8883:15:1", + "scope": 217, + "src": "9138:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2390,10 +2390,10 @@ "typeString": "uint256" }, "typeName": { - "id": 717, + "id": 209, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "8883:7:1", + "src": "9138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -2403,12 +2403,12 @@ }, { "constant": false, - "id": 720, + "id": 212, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8900:19:1", + "scope": 217, + "src": "9155:19:0", "stateVariable": false, "storageLocation": "calldata", "typeDescriptions": { @@ -2416,10 +2416,10 @@ "typeString": "bytes" }, "typeName": { - "id": 719, + "id": 211, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "8900:5:1", + "src": "9155:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -2428,20 +2428,20 @@ "visibility": "internal" } ], - "src": "8850:70:1" + "src": "9105:70:0" }, "returnParameters": { - "id": 724, + "id": 216, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 723, + "id": 215, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 725, - "src": "8939:6:1", + "scope": 217, + "src": "9194:6:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2449,10 +2449,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 722, + "id": 214, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "8939:6:1", + "src": "9194:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2461,20 +2461,20 @@ "visibility": "internal" } ], - "src": "8938:8:1" + "src": "9193:8:0" }, - "scope": 726, - "src": "8825:122:1", + "scope": 218, + "src": "9080:122:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "external" } ], - "scope": 3499, - "src": "8303:646:1" + "scope": 2991, + "src": "8548:657:0" }, { - "id": 727, + "id": 219, "literals": [ "solidity", ">=", @@ -2485,55 +2485,55 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "abstract": true, "baseContracts": [ { "baseName": { - "id": 729, + "id": 221, "name": "IERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 541, - "src": "9243:7:1", + "referencedDeclaration": 33, + "src": "9511:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC165_$541", + "typeIdentifier": "t_contract$_IERC165_$33", "typeString": "contract IERC165" } }, - "id": 730, + "id": 222, "nodeType": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" } ], "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "documentation": { - "id": 728, + "id": 220, "nodeType": "StructuredDocumentation", - "src": "9043:171:1", + "src": "9305:176:0", "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, "fullyImplemented": true, - "id": 781, + "id": 273, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", "nodeType": "ContractDefinition", "nodes": [ { "constant": true, - "id": 733, + "id": 225, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9340:57:1", + "scope": 273, + "src": "9612:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2541,10 +2541,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 731, + "id": 223, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9340:6:1", + "src": "9612:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2552,14 +2552,14 @@ }, "value": { "hexValue": "30783031666663396137", - "id": 732, + "id": 224, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "9387:10:1", + "src": "9659:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_33540519_by_1", "typeString": "int_const 33540519" @@ -2571,17 +2571,17 @@ { "constant": false, "documentation": { - "id": 734, + "id": 226, "nodeType": "StructuredDocumentation", - "src": "9404:82:1", + "src": "9678:84:0", "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 738, + "id": 230, "mutability": "mutable", "name": "_supportedInterfaces", "nodeType": "VariableDeclaration", - "scope": 781, - "src": "9491:52:1", + "scope": 273, + "src": "9768:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -2589,28 +2589,28 @@ "typeString": "mapping(bytes4 => bool)" }, "typeName": { - "id": 737, + "id": 229, "keyType": { - "id": 735, + "id": 227, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9499:6:1", + "src": "9776:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, "nodeType": "Mapping", - "src": "9491:23:1", + "src": "9768:23:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" }, "valueType": { - "id": 736, + "id": 228, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9509:4:1", + "src": "9786:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2621,20 +2621,20 @@ }, { "body": { - "id": 745, + "id": 237, "nodeType": "Block", - "src": "9565:193:1", + "src": "9844:197:0", "statements": [ { "expression": { "arguments": [ { - "id": 742, + "id": 234, "name": "_INTERFACE_ID_ERC165", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 733, - "src": "9730:20:1", + "referencedDeclaration": 225, + "src": "10012:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2648,18 +2648,18 @@ "typeString": "bytes4" } ], - "id": 741, + "id": 233, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "9711:18:1", + "referencedDeclaration": 272, + "src": "9993:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 743, + "id": 235, "isConstant": false, "isLValue": false, "isPure": false, @@ -2667,74 +2667,74 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "9711:40:1", + "src": "9993:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 744, + "id": 236, "nodeType": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ] }, - "id": 746, + "id": 238, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 739, + "id": 231, "nodeType": "ParameterList", "parameters": [], - "src": "9562:2:1" + "src": "9841:2:0" }, "returnParameters": { - "id": 740, + "id": 232, "nodeType": "ParameterList", "parameters": [], - "src": "9565:0:1" + "src": "9844:0:0" }, - "scope": 781, - "src": "9550:208:1", + "scope": 273, + "src": "9829:212:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "baseFunctions": [ - 540 + 32 ], "body": { - "id": 759, + "id": 251, "nodeType": "Block", - "src": "9999:57:1", + "src": "10289:59:0", "statements": [ { "expression": { "baseExpression": { - "id": 755, + "id": 247, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10016:20:1", + "referencedDeclaration": 230, + "src": "10307:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 757, + "id": 249, "indexExpression": { - "id": 756, + "id": 248, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 749, - "src": "10037:11:1", + "referencedDeclaration": 241, + "src": "10328:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2745,50 +2745,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "10016:33:1", + "src": "10307:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 754, - "id": 758, + "functionReturnParameters": 246, + "id": 250, "nodeType": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ] }, "documentation": { - "id": 747, + "id": 239, "nodeType": "StructuredDocumentation", - "src": "9764:139:1", + "src": "10049:143:0", "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, "functionSelector": "01ffc9a7", - "id": 760, + "id": 252, "implemented": true, "kind": "function", "modifiers": [], "name": "supportsInterface", "nodeType": "FunctionDefinition", "overrides": { - "id": 751, + "id": 243, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "9975:8:1" + "src": "10265:8:0" }, "parameters": { - "id": 750, + "id": 242, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 749, + "id": 241, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9935:18:1", + "scope": 252, + "src": "10225:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2796,10 +2796,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 748, + "id": 240, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "9935:6:1", + "src": "10225:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2808,20 +2808,20 @@ "visibility": "internal" } ], - "src": "9934:20:1" + "src": "10224:20:0" }, "returnParameters": { - "id": 754, + "id": 246, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 753, + "id": 245, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 760, - "src": "9993:4:1", + "scope": 252, + "src": "10283:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -2829,10 +2829,10 @@ "typeString": "bool" }, "typeName": { - "id": 752, + "id": 244, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "9993:4:1", + "src": "10283:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2841,19 +2841,19 @@ "visibility": "internal" } ], - "src": "9992:6:1" + "src": "10282:6:0" }, - "scope": 781, - "src": "9908:148:1", + "scope": 273, + "src": "10198:150:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 779, + "id": 271, "nodeType": "Block", - "src": "10515:133:1", + "src": "10820:136:0", "statements": [ { "expression": { @@ -2863,18 +2863,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 769, + "id": 261, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 767, + "id": 259, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10533:11:1", + "referencedDeclaration": 255, + "src": "10839:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -2884,21 +2884,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30786666666666666666", - "id": 768, + "id": 260, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "10548:10:1", + "src": "10854:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_4294967295_by_1", "typeString": "int_const 4294967295" }, "value": "0xffffffff" }, - "src": "10533:25:1", + "src": "10839:25:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -2906,14 +2906,14 @@ }, { "hexValue": "4552433136353a20696e76616c696420696e74657266616365206964", - "id": 770, + "id": 262, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "10560:30:1", + "src": "10866:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_282912c0dfceceb28d77d0333f496b83948f9ba5b3154358a8b140b849289dee", "typeString": "literal_string \"ERC165: invalid interface id\"" @@ -2932,7 +2932,7 @@ "typeString": "literal_string \"ERC165: invalid interface id\"" } ], - "id": 766, + "id": 258, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -2940,13 +2940,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "10525:7:1", + "src": "10831:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 771, + "id": 263, "isConstant": false, "isLValue": false, "isPure": false, @@ -2954,45 +2954,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "10525:66:1", + "src": "10831:66:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 772, + "id": 264, "nodeType": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "expression": { - "id": 777, + "id": 269, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 773, + "id": 265, "name": "_supportedInterfaces", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 738, - "src": "10601:20:1", + "referencedDeclaration": 230, + "src": "10908:20:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes4_$_t_bool_$", "typeString": "mapping(bytes4 => bool)" } }, - "id": 775, + "id": 267, "indexExpression": { - "id": 774, + "id": 266, "name": "interfaceId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 763, - "src": "10622:11:1", + "referencedDeclaration": 255, + "src": "10929:11:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3003,7 +3003,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "10601:33:1", + "src": "10908:33:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3013,56 +3013,56 @@ "operator": "=", "rightHandSide": { "hexValue": "74727565", - "id": 776, + "id": 268, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "10637:4:1", + "src": "10944:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "src": "10601:40:1", + "src": "10908:40:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 778, + "id": 270, "nodeType": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ] }, "documentation": { - "id": 761, + "id": 253, "nodeType": "StructuredDocumentation", - "src": "10062:383:1", + "src": "10356:393:0", "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 780, + "id": 272, "implemented": true, "kind": "function", "modifiers": [], "name": "_registerInterface", "nodeType": "FunctionDefinition", "parameters": { - "id": 764, + "id": 256, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 763, + "id": 255, "mutability": "mutable", "name": "interfaceId", "nodeType": "VariableDeclaration", - "scope": 780, - "src": "10478:18:1", + "scope": 272, + "src": "10783:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3070,10 +3070,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 762, + "id": 254, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "10478:6:1", + "src": "10783:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -3082,26 +3082,26 @@ "visibility": "internal" } ], - "src": "10477:20:1" + "src": "10782:20:0" }, "returnParameters": { - "id": 765, + "id": 257, "nodeType": "ParameterList", "parameters": [], - "src": "10515:0:1" + "src": "10820:0:0" }, - "scope": 781, - "src": "10450:198:1", + "scope": 273, + "src": "10755:201:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "9215:1435:1" + "scope": 2991, + "src": "9483:1476:0" }, { - "id": 782, + "id": 274, "literals": [ "solidity", ">=", @@ -3112,7 +3112,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "abstract": false, @@ -3120,38 +3120,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 783, + "id": 275, "nodeType": "StructuredDocumentation", - "src": "10736:563:1", + "src": "11050:575:0", "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, "fullyImplemented": true, - "id": 1135, + "id": 627, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 813, + "id": 305, "nodeType": "Block", - "src": "11535:98:1", + "src": "11868:102:0", "statements": [ { "assignments": [ - 796 + 288 ], "declarations": [ { "constant": false, - "id": 796, + "id": 288, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 813, - "src": "11545:9:1", + "scope": 305, + "src": "11879:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3159,10 +3159,10 @@ "typeString": "uint256" }, "typeName": { - "id": 795, + "id": 287, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11545:7:1", + "src": "11879:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3171,24 +3171,24 @@ "visibility": "internal" } ], - "id": 800, + "id": 292, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 799, + "id": 291, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 797, + "id": 289, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11557:1:1", + "referencedDeclaration": 278, + "src": "11891:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3197,25 +3197,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 798, + "id": 290, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 788, - "src": "11561:1:1", + "referencedDeclaration": 280, + "src": "11895:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11557:5:1", + "src": "11891:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "condition": { @@ -3223,18 +3223,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 803, + "id": 295, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 801, + "id": 293, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11576:1:1", + "referencedDeclaration": 288, + "src": "11911:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3243,39 +3243,39 @@ "nodeType": "BinaryOperation", "operator": "<", "rightExpression": { - "id": 802, + "id": 294, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 786, - "src": "11580:1:1", + "referencedDeclaration": 278, + "src": "11915:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11576:5:1", + "src": "11911:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 808, + "id": 300, "nodeType": "IfStatement", - "src": "11572:28:1", + "src": "11907:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 804, + "id": 296, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11591:5:1", + "src": "11926:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3284,14 +3284,14 @@ }, { "hexValue": "30", - "id": 805, + "id": 297, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11598:1:1", + "src": "11933:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3299,23 +3299,23 @@ "value": "0" } ], - "id": 806, + "id": 298, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11590:10:1", + "src": "11925:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 794, - "id": 807, + "functionReturnParameters": 286, + "id": 299, "nodeType": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } }, { @@ -3323,14 +3323,14 @@ "components": [ { "hexValue": "74727565", - "id": 809, + "id": 301, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11618:4:1", + "src": "11954:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3338,62 +3338,62 @@ "value": "true" }, { - "id": 810, + "id": 302, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 796, - "src": "11624:1:1", + "referencedDeclaration": 288, + "src": "11960:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 811, + "id": 303, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11617:9:1", + "src": "11953:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 794, - "id": 812, + "functionReturnParameters": 286, + "id": 304, "nodeType": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ] }, "documentation": { - "id": 784, + "id": 276, "nodeType": "StructuredDocumentation", - "src": "11323:131:1", + "src": "11651:135:0", "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 814, + "id": 306, "implemented": true, "kind": "function", "modifiers": [], "name": "tryAdd", "nodeType": "FunctionDefinition", "parameters": { - "id": 789, + "id": 281, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 786, + "id": 278, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11475:9:1", + "scope": 306, + "src": "11808:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3401,10 +3401,10 @@ "typeString": "uint256" }, "typeName": { - "id": 785, + "id": 277, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11475:7:1", + "src": "11808:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3414,12 +3414,12 @@ }, { "constant": false, - "id": 788, + "id": 280, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11486:9:1", + "scope": 306, + "src": "11819:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3427,10 +3427,10 @@ "typeString": "uint256" }, "typeName": { - "id": 787, + "id": 279, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11486:7:1", + "src": "11819:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3439,20 +3439,20 @@ "visibility": "internal" } ], - "src": "11474:22:1" + "src": "11807:22:0" }, "returnParameters": { - "id": 794, + "id": 286, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 791, + "id": 283, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11520:4:1", + "scope": 306, + "src": "11853:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3460,10 +3460,10 @@ "typeString": "bool" }, "typeName": { - "id": 790, + "id": 282, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11520:4:1", + "src": "11853:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3473,12 +3473,12 @@ }, { "constant": false, - "id": 793, + "id": 285, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 814, - "src": "11526:7:1", + "scope": 306, + "src": "11859:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3486,10 +3486,10 @@ "typeString": "uint256" }, "typeName": { - "id": 792, + "id": 284, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11526:7:1", + "src": "11859:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3498,19 +3498,19 @@ "visibility": "internal" } ], - "src": "11519:15:1" + "src": "11852:15:0" }, - "scope": 1135, - "src": "11459:174:1", + "scope": 627, + "src": "11792:178:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 840, + "id": 332, "nodeType": "Block", - "src": "11855:75:1", + "src": "12199:78:0", "statements": [ { "condition": { @@ -3518,18 +3518,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 828, + "id": 320, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 826, + "id": 318, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11869:1:1", + "referencedDeclaration": 311, + "src": "12214:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3538,39 +3538,39 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 827, + "id": 319, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11873:1:1", + "referencedDeclaration": 309, + "src": "12218:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11869:5:1", + "src": "12214:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 833, + "id": 325, "nodeType": "IfStatement", - "src": "11865:28:1", + "src": "12210:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 829, + "id": 321, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11884:5:1", + "src": "12229:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3579,14 +3579,14 @@ }, { "hexValue": "30", - "id": 830, + "id": 322, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "11891:1:1", + "src": "12236:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3594,23 +3594,23 @@ "value": "0" } ], - "id": 831, + "id": 323, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11883:10:1", + "src": "12228:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 825, - "id": 832, + "functionReturnParameters": 317, + "id": 324, "nodeType": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } }, { @@ -3618,14 +3618,14 @@ "components": [ { "hexValue": "74727565", - "id": 834, + "id": 326, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "11911:4:1", + "src": "12257:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3637,18 +3637,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 837, + "id": 329, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 835, + "id": 327, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 817, - "src": "11917:1:1", + "referencedDeclaration": 309, + "src": "12263:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3657,68 +3657,68 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 836, + "id": 328, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 819, - "src": "11921:1:1", + "referencedDeclaration": 311, + "src": "12267:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "11917:5:1", + "src": "12263:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 838, + "id": 330, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "11910:13:1", + "src": "12256:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 825, - "id": 839, + "functionReturnParameters": 317, + "id": 331, "nodeType": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ] }, "documentation": { - "id": 815, + "id": 307, "nodeType": "StructuredDocumentation", - "src": "11639:135:1", + "src": "11978:139:0", "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 841, + "id": 333, "implemented": true, "kind": "function", "modifiers": [], "name": "trySub", "nodeType": "FunctionDefinition", "parameters": { - "id": 820, + "id": 312, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 817, + "id": 309, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11795:9:1", + "scope": 333, + "src": "12139:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3726,10 +3726,10 @@ "typeString": "uint256" }, "typeName": { - "id": 816, + "id": 308, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11795:7:1", + "src": "12139:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3739,12 +3739,12 @@ }, { "constant": false, - "id": 819, + "id": 311, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11806:9:1", + "scope": 333, + "src": "12150:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3752,10 +3752,10 @@ "typeString": "uint256" }, "typeName": { - "id": 818, + "id": 310, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11806:7:1", + "src": "12150:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3764,20 +3764,20 @@ "visibility": "internal" } ], - "src": "11794:22:1" + "src": "12138:22:0" }, "returnParameters": { - "id": 825, + "id": 317, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 822, + "id": 314, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11840:4:1", + "scope": 333, + "src": "12184:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3785,10 +3785,10 @@ "typeString": "bool" }, "typeName": { - "id": 821, + "id": 313, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "11840:4:1", + "src": "12184:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3798,12 +3798,12 @@ }, { "constant": false, - "id": 824, + "id": 316, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 841, - "src": "11846:7:1", + "scope": 333, + "src": "12190:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3811,10 +3811,10 @@ "typeString": "uint256" }, "typeName": { - "id": 823, + "id": 315, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "11846:7:1", + "src": "12190:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3823,19 +3823,19 @@ "visibility": "internal" } ], - "src": "11839:15:1" + "src": "12183:15:0" }, - "scope": 1135, - "src": "11779:151:1", + "scope": 627, + "src": "12123:154:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 881, + "id": 373, "nodeType": "Block", - "src": "12154:359:1", + "src": "12508:367:0", "statements": [ { "condition": { @@ -3843,18 +3843,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 855, + "id": 347, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 853, + "id": 345, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12386:1:1", + "referencedDeclaration": 336, + "src": "12744:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3864,42 +3864,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 854, + "id": 346, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12391:1:1", + "src": "12749:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12386:6:1", + "src": "12744:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 860, + "id": 352, "nodeType": "IfStatement", - "src": "12382:28:1", + "src": "12740:28:0", "trueBody": { "expression": { "components": [ { "hexValue": "74727565", - "id": 856, + "id": 348, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12402:4:1", + "src": "12760:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -3908,14 +3908,14 @@ }, { "hexValue": "30", - "id": 857, + "id": 349, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12408:1:1", + "src": "12766:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -3923,38 +3923,38 @@ "value": "0" } ], - "id": 858, + "id": 350, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12401:9:1", + "src": "12759:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 859, + "functionReturnParameters": 344, + "id": 351, "nodeType": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } }, { "assignments": [ - 862 + 354 ], "declarations": [ { "constant": false, - "id": 862, + "id": 354, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 881, - "src": "12420:9:1", + "scope": 373, + "src": "12779:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -3962,10 +3962,10 @@ "typeString": "uint256" }, "typeName": { - "id": 861, + "id": 353, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12420:7:1", + "src": "12779:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -3974,24 +3974,24 @@ "visibility": "internal" } ], - "id": 866, + "id": 358, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 865, + "id": 357, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 863, + "id": 355, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12432:1:1", + "referencedDeclaration": 336, + "src": "12791:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4000,25 +4000,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 864, + "id": 356, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12436:1:1", + "referencedDeclaration": 338, + "src": "12795:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12432:5:1", + "src": "12791:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "condition": { @@ -4026,7 +4026,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 871, + "id": 363, "isConstant": false, "isLValue": false, "isPure": false, @@ -4036,18 +4036,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 869, + "id": 361, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 867, + "id": 359, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12451:1:1", + "referencedDeclaration": 354, + "src": "12811:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4056,18 +4056,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 868, + "id": 360, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 844, - "src": "12455:1:1", + "referencedDeclaration": 336, + "src": "12815:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:5:1", + "src": "12811:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4076,39 +4076,39 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 870, + "id": 362, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 846, - "src": "12460:1:1", + "referencedDeclaration": 338, + "src": "12820:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12451:10:1", + "src": "12811:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 876, + "id": 368, "nodeType": "IfStatement", - "src": "12447:33:1", + "src": "12807:33:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 872, + "id": 364, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12471:5:1", + "src": "12831:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4117,14 +4117,14 @@ }, { "hexValue": "30", - "id": 873, + "id": 365, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12478:1:1", + "src": "12838:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4132,23 +4132,23 @@ "value": "0" } ], - "id": 874, + "id": 366, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12470:10:1", + "src": "12830:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 852, - "id": 875, + "functionReturnParameters": 344, + "id": 367, "nodeType": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } }, { @@ -4156,14 +4156,14 @@ "components": [ { "hexValue": "74727565", - "id": 877, + "id": 369, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12498:4:1", + "src": "12859:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4171,62 +4171,62 @@ "value": "true" }, { - "id": 878, + "id": 370, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 862, - "src": "12504:1:1", + "referencedDeclaration": 354, + "src": "12865:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 879, + "id": 371, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12497:9:1", + "src": "12858:9:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 852, - "id": 880, + "functionReturnParameters": 344, + "id": 372, "nodeType": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ] }, "documentation": { - "id": 842, + "id": 334, "nodeType": "StructuredDocumentation", - "src": "11936:137:1", + "src": "12285:141:0", "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 882, + "id": 374, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMul", "nodeType": "FunctionDefinition", "parameters": { - "id": 847, + "id": 339, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 844, + "id": 336, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12094:9:1", + "scope": 374, + "src": "12448:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4234,10 +4234,10 @@ "typeString": "uint256" }, "typeName": { - "id": 843, + "id": 335, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12094:7:1", + "src": "12448:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4247,12 +4247,12 @@ }, { "constant": false, - "id": 846, + "id": 338, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12105:9:1", + "scope": 374, + "src": "12459:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4260,10 +4260,10 @@ "typeString": "uint256" }, "typeName": { - "id": 845, + "id": 337, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12105:7:1", + "src": "12459:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4272,20 +4272,20 @@ "visibility": "internal" } ], - "src": "12093:22:1" + "src": "12447:22:0" }, "returnParameters": { - "id": 852, + "id": 344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 849, + "id": 341, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12139:4:1", + "scope": 374, + "src": "12493:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4293,10 +4293,10 @@ "typeString": "bool" }, "typeName": { - "id": 848, + "id": 340, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12139:4:1", + "src": "12493:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4306,12 +4306,12 @@ }, { "constant": false, - "id": 851, + "id": 343, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 882, - "src": "12145:7:1", + "scope": 374, + "src": "12499:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4319,10 +4319,10 @@ "typeString": "uint256" }, "typeName": { - "id": 850, + "id": 342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12145:7:1", + "src": "12499:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4331,19 +4331,19 @@ "visibility": "internal" } ], - "src": "12138:15:1" + "src": "12492:15:0" }, - "scope": 1135, - "src": "12078:435:1", + "scope": 627, + "src": "12432:443:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 908, + "id": 400, "nodeType": "Block", - "src": "12738:76:1", + "src": "13107:79:0", "statements": [ { "condition": { @@ -4351,18 +4351,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 896, + "id": 388, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 894, + "id": 386, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12752:1:1", + "referencedDeclaration": 379, + "src": "13122:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4372,42 +4372,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 895, + "id": 387, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12757:1:1", + "src": "13127:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "12752:6:1", + "src": "13122:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 901, + "id": 393, "nodeType": "IfStatement", - "src": "12748:29:1", + "src": "13118:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 897, + "id": 389, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12768:5:1", + "src": "13138:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4416,14 +4416,14 @@ }, { "hexValue": "30", - "id": 898, + "id": 390, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "12775:1:1", + "src": "13145:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4431,23 +4431,23 @@ "value": "0" } ], - "id": 899, + "id": 391, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12767:10:1", + "src": "13137:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 893, - "id": 900, + "functionReturnParameters": 385, + "id": 392, "nodeType": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } }, { @@ -4455,14 +4455,14 @@ "components": [ { "hexValue": "74727565", - "id": 902, + "id": 394, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "12795:4:1", + "src": "13166:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4474,18 +4474,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 905, + "id": 397, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 903, + "id": 395, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 885, - "src": "12801:1:1", + "referencedDeclaration": 377, + "src": "13172:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4494,68 +4494,68 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 904, + "id": 396, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 887, - "src": "12805:1:1", + "referencedDeclaration": 379, + "src": "13176:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "12801:5:1", + "src": "13172:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 906, + "id": 398, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "12794:13:1", + "src": "13165:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 893, - "id": 907, + "functionReturnParameters": 385, + "id": 399, "nodeType": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ] }, "documentation": { - "id": 883, + "id": 375, "nodeType": "StructuredDocumentation", - "src": "12519:138:1", + "src": "12883:142:0", "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 909, + "id": 401, "implemented": true, "kind": "function", "modifiers": [], "name": "tryDiv", "nodeType": "FunctionDefinition", "parameters": { - "id": 888, + "id": 380, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 885, + "id": 377, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12678:9:1", + "scope": 401, + "src": "13047:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4563,10 +4563,10 @@ "typeString": "uint256" }, "typeName": { - "id": 884, + "id": 376, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12678:7:1", + "src": "13047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4576,12 +4576,12 @@ }, { "constant": false, - "id": 887, + "id": 379, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12689:9:1", + "scope": 401, + "src": "13058:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4589,10 +4589,10 @@ "typeString": "uint256" }, "typeName": { - "id": 886, + "id": 378, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12689:7:1", + "src": "13058:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4601,20 +4601,20 @@ "visibility": "internal" } ], - "src": "12677:22:1" + "src": "13046:22:0" }, "returnParameters": { - "id": 893, + "id": 385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 890, + "id": 382, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12723:4:1", + "scope": 401, + "src": "13092:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4622,10 +4622,10 @@ "typeString": "bool" }, "typeName": { - "id": 889, + "id": 381, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "12723:4:1", + "src": "13092:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4635,12 +4635,12 @@ }, { "constant": false, - "id": 892, + "id": 384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 909, - "src": "12729:7:1", + "scope": 401, + "src": "13098:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4648,10 +4648,10 @@ "typeString": "uint256" }, "typeName": { - "id": 891, + "id": 383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12729:7:1", + "src": "13098:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4660,19 +4660,19 @@ "visibility": "internal" } ], - "src": "12722:15:1" + "src": "13091:15:0" }, - "scope": 1135, - "src": "12662:152:1", + "scope": 627, + "src": "13031:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 935, + "id": 427, "nodeType": "Block", - "src": "13049:76:1", + "src": "13428:79:0", "statements": [ { "condition": { @@ -4680,18 +4680,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 923, + "id": 415, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 921, + "id": 413, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13063:1:1", + "referencedDeclaration": 406, + "src": "13443:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4701,42 +4701,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 922, + "id": 414, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13068:1:1", + "src": "13448:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "13063:6:1", + "src": "13443:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 928, + "id": 420, "nodeType": "IfStatement", - "src": "13059:29:1", + "src": "13439:29:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 924, + "id": 416, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13079:5:1", + "src": "13459:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4745,14 +4745,14 @@ }, { "hexValue": "30", - "id": 925, + "id": 417, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "13086:1:1", + "src": "13466:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -4760,23 +4760,23 @@ "value": "0" } ], - "id": 926, + "id": 418, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13078:10:1", + "src": "13458:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 920, - "id": 927, + "functionReturnParameters": 412, + "id": 419, "nodeType": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } }, { @@ -4784,14 +4784,14 @@ "components": [ { "hexValue": "74727565", - "id": 929, + "id": 421, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "13106:4:1", + "src": "13487:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4803,18 +4803,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 932, + "id": 424, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 930, + "id": 422, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 912, - "src": "13112:1:1", + "referencedDeclaration": 404, + "src": "13493:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4823,68 +4823,68 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 931, + "id": 423, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 914, - "src": "13116:1:1", + "referencedDeclaration": 406, + "src": "13497:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13112:5:1", + "src": "13493:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "id": 933, + "id": 425, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "13105:13:1", + "src": "13486:13:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_uint256_$", "typeString": "tuple(bool,uint256)" } }, - "functionReturnParameters": 920, - "id": 934, + "functionReturnParameters": 412, + "id": 426, "nodeType": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ] }, "documentation": { - "id": 910, + "id": 402, "nodeType": "StructuredDocumentation", - "src": "12820:148:1", + "src": "13194:152:0", "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 936, + "id": 428, "implemented": true, "kind": "function", "modifiers": [], "name": "tryMod", "nodeType": "FunctionDefinition", "parameters": { - "id": 915, + "id": 407, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 912, + "id": 404, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "12989:9:1", + "scope": 428, + "src": "13368:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4892,10 +4892,10 @@ "typeString": "uint256" }, "typeName": { - "id": 911, + "id": 403, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "12989:7:1", + "src": "13368:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4905,12 +4905,12 @@ }, { "constant": false, - "id": 914, + "id": 406, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13000:9:1", + "scope": 428, + "src": "13379:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4918,10 +4918,10 @@ "typeString": "uint256" }, "typeName": { - "id": 913, + "id": 405, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13000:7:1", + "src": "13379:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4930,20 +4930,20 @@ "visibility": "internal" } ], - "src": "12988:22:1" + "src": "13367:22:0" }, "returnParameters": { - "id": 920, + "id": 412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 917, + "id": 409, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13034:4:1", + "scope": 428, + "src": "13413:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4951,10 +4951,10 @@ "typeString": "bool" }, "typeName": { - "id": 916, + "id": 408, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "13034:4:1", + "src": "13413:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -4964,12 +4964,12 @@ }, { "constant": false, - "id": 919, + "id": 411, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 936, - "src": "13040:7:1", + "scope": 428, + "src": "13419:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -4977,10 +4977,10 @@ "typeString": "uint256" }, "typeName": { - "id": 918, + "id": 410, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13040:7:1", + "src": "13419:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -4989,33 +4989,33 @@ "visibility": "internal" } ], - "src": "13033:15:1" + "src": "13412:15:0" }, - "scope": 1135, - "src": "12973:152:1", + "scope": 627, + "src": "13352:155:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 961, + "id": 453, "nodeType": "Block", - "src": "13427:108:1", + "src": "13821:112:0", "statements": [ { "assignments": [ - 947 + 439 ], "declarations": [ { "constant": false, - "id": 947, + "id": 439, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 961, - "src": "13437:9:1", + "scope": 453, + "src": "13832:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5023,10 +5023,10 @@ "typeString": "uint256" }, "typeName": { - "id": 946, + "id": 438, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13437:7:1", + "src": "13832:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5035,24 +5035,24 @@ "visibility": "internal" } ], - "id": 951, + "id": 443, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 950, + "id": 442, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 948, + "id": 440, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13449:1:1", + "referencedDeclaration": 431, + "src": "13844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5061,25 +5061,25 @@ "nodeType": "BinaryOperation", "operator": "+", "rightExpression": { - "id": 949, + "id": 441, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 941, - "src": "13453:1:1", + "referencedDeclaration": 433, + "src": "13848:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13449:5:1", + "src": "13844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "expression": { @@ -5089,18 +5089,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 955, + "id": 447, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 953, + "id": 445, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13472:1:1", + "referencedDeclaration": 439, + "src": "13868:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5109,18 +5109,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 954, + "id": 446, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 939, - "src": "13477:1:1", + "referencedDeclaration": 431, + "src": "13873:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13472:6:1", + "src": "13868:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5128,14 +5128,14 @@ }, { "hexValue": "536166654d6174683a206164646974696f6e206f766572666c6f77", - "id": 956, + "id": 448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13480:29:1", + "src": "13876:29:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_30cc447bcc13b3e22b45cef0dd9b0b514842d836dd9b6eb384e20dedfb47723a", "typeString": "literal_string \"SafeMath: addition overflow\"" @@ -5154,7 +5154,7 @@ "typeString": "literal_string \"SafeMath: addition overflow\"" } ], - "id": 952, + "id": 444, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5162,13 +5162,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13464:7:1", + "src": "13860:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 957, + "id": 449, "isConstant": false, "isLValue": false, "isPure": false, @@ -5176,61 +5176,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13464:46:1", + "src": "13860:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 958, + "id": 450, "nodeType": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "expression": { - "id": 959, + "id": 451, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 947, - "src": "13527:1:1", + "referencedDeclaration": 439, + "src": "13924:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 945, - "id": 960, + "functionReturnParameters": 437, + "id": 452, "nodeType": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ] }, "documentation": { - "id": 937, + "id": 429, "nodeType": "StructuredDocumentation", - "src": "13131:224:1", + "src": "13515:233:0", "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 962, + "id": 454, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 942, + "id": 434, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 939, + "id": 431, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13373:9:1", + "scope": 454, + "src": "13767:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5238,10 +5238,10 @@ "typeString": "uint256" }, "typeName": { - "id": 938, + "id": 430, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13373:7:1", + "src": "13767:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5251,12 +5251,12 @@ }, { "constant": false, - "id": 941, + "id": 433, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13384:9:1", + "scope": 454, + "src": "13778:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5264,10 +5264,10 @@ "typeString": "uint256" }, "typeName": { - "id": 940, + "id": 432, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13384:7:1", + "src": "13778:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5276,20 +5276,20 @@ "visibility": "internal" } ], - "src": "13372:22:1" + "src": "13766:22:0" }, "returnParameters": { - "id": 945, + "id": 437, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 944, + "id": 436, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 962, - "src": "13418:7:1", + "scope": 454, + "src": "13812:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5297,10 +5297,10 @@ "typeString": "uint256" }, "typeName": { - "id": 943, + "id": 435, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13418:7:1", + "src": "13812:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5309,19 +5309,19 @@ "visibility": "internal" } ], - "src": "13417:9:1" + "src": "13811:9:0" }, - "scope": 1135, - "src": "13360:175:1", + "scope": 627, + "src": "13754:179:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 983, + "id": 475, "nodeType": "Block", - "src": "13873:88:1", + "src": "14283:91:0", "statements": [ { "expression": { @@ -5331,18 +5331,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 975, + "id": 467, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 973, + "id": 465, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13891:1:1", + "referencedDeclaration": 459, + "src": "14302:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5351,18 +5351,18 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 974, + "id": 466, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13896:1:1", + "referencedDeclaration": 457, + "src": "14307:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13891:6:1", + "src": "14302:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5370,14 +5370,14 @@ }, { "hexValue": "536166654d6174683a207375627472616374696f6e206f766572666c6f77", - "id": 976, + "id": 468, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "13899:32:1", + "src": "14310:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_50b058e9b5320e58880d88223c9801cd9eecdcf90323d5c2318bc1b6b916e862", "typeString": "literal_string \"SafeMath: subtraction overflow\"" @@ -5396,7 +5396,7 @@ "typeString": "literal_string \"SafeMath: subtraction overflow\"" } ], - "id": 972, + "id": 464, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5404,13 +5404,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "13883:7:1", + "src": "14294:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 977, + "id": 469, "isConstant": false, "isLValue": false, "isPure": false, @@ -5418,16 +5418,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "13883:49:1", + "src": "14294:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 978, + "id": 470, "nodeType": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "expression": { @@ -5435,18 +5435,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 981, + "id": 473, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 979, + "id": 471, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 965, - "src": "13949:1:1", + "referencedDeclaration": 457, + "src": "14361:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5455,54 +5455,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 980, + "id": 472, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 967, - "src": "13953:1:1", + "referencedDeclaration": 459, + "src": "14365:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "13949:5:1", + "src": "14361:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 971, - "id": 982, + "functionReturnParameters": 463, + "id": 474, "nodeType": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ] }, "documentation": { - "id": 963, + "id": 455, "nodeType": "StructuredDocumentation", - "src": "13541:260:1", + "src": "13941:269:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 984, + "id": 476, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 968, + "id": 460, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 965, + "id": 457, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13819:9:1", + "scope": 476, + "src": "14229:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5510,10 +5510,10 @@ "typeString": "uint256" }, "typeName": { - "id": 964, + "id": 456, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13819:7:1", + "src": "14229:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5523,12 +5523,12 @@ }, { "constant": false, - "id": 967, + "id": 459, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13830:9:1", + "scope": 476, + "src": "14240:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5536,10 +5536,10 @@ "typeString": "uint256" }, "typeName": { - "id": 966, + "id": 458, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13830:7:1", + "src": "14240:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5548,20 +5548,20 @@ "visibility": "internal" } ], - "src": "13818:22:1" + "src": "14228:22:0" }, "returnParameters": { - "id": 971, + "id": 463, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 970, + "id": 462, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 984, - "src": "13864:7:1", + "scope": 476, + "src": "14274:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5569,10 +5569,10 @@ "typeString": "uint256" }, "typeName": { - "id": 969, + "id": 461, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "13864:7:1", + "src": "14274:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5581,19 +5581,19 @@ "visibility": "internal" } ], - "src": "13863:9:1" + "src": "14273:9:0" }, - "scope": 1135, - "src": "13806:155:1", + "scope": 627, + "src": "14216:158:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1017, + "id": 509, "nodeType": "Block", - "src": "14275:148:1", + "src": "14700:153:0", "statements": [ { "condition": { @@ -5601,18 +5601,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 996, + "id": 488, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 994, + "id": 486, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14289:1:1", + "referencedDeclaration": 479, + "src": "14715:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5622,65 +5622,65 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 995, + "id": 487, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14294:1:1", + "src": "14720:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14289:6:1", + "src": "14715:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 999, + "id": 491, "nodeType": "IfStatement", - "src": "14285:20:1", + "src": "14711:20:0", "trueBody": { "expression": { "hexValue": "30", - "id": 997, + "id": 489, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14304:1:1", + "src": "14730:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "functionReturnParameters": 993, - "id": 998, + "functionReturnParameters": 485, + "id": 490, "nodeType": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } }, { "assignments": [ - 1001 + 493 ], "declarations": [ { "constant": false, - "id": 1001, + "id": 493, "mutability": "mutable", "name": "c", "nodeType": "VariableDeclaration", - "scope": 1017, - "src": "14315:9:1", + "scope": 509, + "src": "14742:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5688,10 +5688,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1000, + "id": 492, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14315:7:1", + "src": "14742:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5700,24 +5700,24 @@ "visibility": "internal" } ], - "id": 1005, + "id": 497, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1004, + "id": 496, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1002, + "id": 494, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14327:1:1", + "referencedDeclaration": 479, + "src": "14754:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5726,25 +5726,25 @@ "nodeType": "BinaryOperation", "operator": "*", "rightExpression": { - "id": 1003, + "id": 495, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14331:1:1", + "referencedDeclaration": 481, + "src": "14758:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14327:5:1", + "src": "14754:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "expression": { @@ -5754,7 +5754,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1011, + "id": 503, "isConstant": false, "isLValue": false, "isPure": false, @@ -5764,18 +5764,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1009, + "id": 501, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1007, + "id": 499, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14350:1:1", + "referencedDeclaration": 493, + "src": "14778:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5784,18 +5784,18 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1008, + "id": 500, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 987, - "src": "14354:1:1", + "referencedDeclaration": 479, + "src": "14782:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:5:1", + "src": "14778:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5804,18 +5804,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 1010, + "id": 502, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 989, - "src": "14359:1:1", + "referencedDeclaration": 481, + "src": "14787:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "14350:10:1", + "src": "14778:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -5823,14 +5823,14 @@ }, { "hexValue": "536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77", - "id": 1012, + "id": 504, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14362:35:1", + "src": "14790:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9113bb53c2876a3805b2c9242029423fc540a728243ce887ab24c82cf119fba3", "typeString": "literal_string \"SafeMath: multiplication overflow\"" @@ -5849,7 +5849,7 @@ "typeString": "literal_string \"SafeMath: multiplication overflow\"" } ], - "id": 1006, + "id": 498, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -5857,13 +5857,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14342:7:1", + "src": "14770:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1013, + "id": 505, "isConstant": false, "isLValue": false, "isPure": false, @@ -5871,61 +5871,61 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14342:56:1", + "src": "14770:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1014, + "id": 506, "nodeType": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "expression": { - "id": 1015, + "id": 507, "name": "c", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1001, - "src": "14415:1:1", + "referencedDeclaration": 493, + "src": "14844:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 993, - "id": 1016, + "functionReturnParameters": 485, + "id": 508, "nodeType": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ] }, "documentation": { - "id": 985, + "id": 477, "nodeType": "StructuredDocumentation", - "src": "13967:236:1", + "src": "14382:245:0", "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 1018, + "id": 510, "implemented": true, "kind": "function", "modifiers": [], "name": "mul", "nodeType": "FunctionDefinition", "parameters": { - "id": 990, + "id": 482, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 987, + "id": 479, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14221:9:1", + "scope": 510, + "src": "14646:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5933,10 +5933,10 @@ "typeString": "uint256" }, "typeName": { - "id": 986, + "id": 478, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14221:7:1", + "src": "14646:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5946,12 +5946,12 @@ }, { "constant": false, - "id": 989, + "id": 481, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14232:9:1", + "scope": 510, + "src": "14657:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5959,10 +5959,10 @@ "typeString": "uint256" }, "typeName": { - "id": 988, + "id": 480, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14232:7:1", + "src": "14657:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -5971,20 +5971,20 @@ "visibility": "internal" } ], - "src": "14220:22:1" + "src": "14645:22:0" }, "returnParameters": { - "id": 993, + "id": 485, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 992, + "id": 484, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1018, - "src": "14266:7:1", + "scope": 510, + "src": "14691:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -5992,10 +5992,10 @@ "typeString": "uint256" }, "typeName": { - "id": 991, + "id": 483, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14266:7:1", + "src": "14691:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6004,19 +6004,19 @@ "visibility": "internal" } ], - "src": "14265:9:1" + "src": "14690:9:0" }, - "scope": 1135, - "src": "14208:215:1", + "scope": 627, + "src": "14633:220:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1039, + "id": 531, "nodeType": "Block", - "src": "14954:83:1", + "src": "15398:86:0", "statements": [ { "expression": { @@ -6026,18 +6026,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1031, + "id": 523, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1029, + "id": 521, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "14972:1:1", + "referencedDeclaration": 515, + "src": "15417:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6047,21 +6047,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1030, + "id": 522, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "14976:1:1", + "src": "15421:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "14972:5:1", + "src": "15417:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6069,14 +6069,14 @@ }, { "hexValue": "536166654d6174683a206469766973696f6e206279207a65726f", - "id": 1032, + "id": 524, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "14979:28:1", + "src": "15424:28:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5b7cc70dda4dc2143e5adb63bd5d1f349504f461dbdfd9bc76fac1f8ca6d019f", "typeString": "literal_string \"SafeMath: division by zero\"" @@ -6095,7 +6095,7 @@ "typeString": "literal_string \"SafeMath: division by zero\"" } ], - "id": 1028, + "id": 520, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6103,13 +6103,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "14964:7:1", + "src": "15409:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1033, + "id": 525, "isConstant": false, "isLValue": false, "isPure": false, @@ -6117,16 +6117,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "14964:44:1", + "src": "15409:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1034, + "id": 526, "nodeType": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "expression": { @@ -6134,18 +6134,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1037, + "id": 529, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1035, + "id": 527, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1021, - "src": "15025:1:1", + "referencedDeclaration": 513, + "src": "15471:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6154,54 +6154,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1036, + "id": 528, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1023, - "src": "15029:1:1", + "referencedDeclaration": 515, + "src": "15475:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15025:5:1", + "src": "15471:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1027, - "id": 1038, + "functionReturnParameters": 519, + "id": 530, "nodeType": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ] }, "documentation": { - "id": 1019, + "id": 511, "nodeType": "StructuredDocumentation", - "src": "14429:453:1", + "src": "14861:464:0", "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1040, + "id": 532, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1024, + "id": 516, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1021, + "id": 513, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14900:9:1", + "scope": 532, + "src": "15344:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6209,10 +6209,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1020, + "id": 512, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14900:7:1", + "src": "15344:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6222,12 +6222,12 @@ }, { "constant": false, - "id": 1023, + "id": 515, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14911:9:1", + "scope": 532, + "src": "15355:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6235,10 +6235,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1022, + "id": 514, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14911:7:1", + "src": "15355:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6247,20 +6247,20 @@ "visibility": "internal" } ], - "src": "14899:22:1" + "src": "15343:22:0" }, "returnParameters": { - "id": 1027, + "id": 519, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1026, + "id": 518, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1040, - "src": "14945:7:1", + "scope": 532, + "src": "15389:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6268,10 +6268,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1025, + "id": 517, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "14945:7:1", + "src": "15389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6280,19 +6280,19 @@ "visibility": "internal" } ], - "src": "14944:9:1" + "src": "15388:9:0" }, - "scope": 1135, - "src": "14887:150:1", + "scope": 627, + "src": "15331:153:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1061, + "id": 553, "nodeType": "Block", - "src": "15557:81:1", + "src": "16018:84:0", "statements": [ { "expression": { @@ -6302,18 +6302,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1053, + "id": 545, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1051, + "id": 543, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15575:1:1", + "referencedDeclaration": 537, + "src": "16037:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6323,21 +6323,21 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1052, + "id": 544, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "15579:1:1", + "src": "16041:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "15575:5:1", + "src": "16037:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -6345,14 +6345,14 @@ }, { "hexValue": "536166654d6174683a206d6f64756c6f206279207a65726f", - "id": 1054, + "id": 546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "15582:26:1", + "src": "16044:26:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_726e51f7b81fce0a68f5f214f445e275313b20b1633f08ce954ee39abf8d7832", "typeString": "literal_string \"SafeMath: modulo by zero\"" @@ -6371,7 +6371,7 @@ "typeString": "literal_string \"SafeMath: modulo by zero\"" } ], - "id": 1050, + "id": 542, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6379,13 +6379,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "15567:7:1", + "src": "16029:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1055, + "id": 547, "isConstant": false, "isLValue": false, "isPure": false, @@ -6393,16 +6393,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "15567:42:1", + "src": "16029:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1056, + "id": 548, "nodeType": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "expression": { @@ -6410,18 +6410,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1059, + "id": 551, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1057, + "id": 549, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1043, - "src": "15626:1:1", + "referencedDeclaration": 535, + "src": "16089:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6430,54 +6430,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1058, + "id": 550, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1045, - "src": "15630:1:1", + "referencedDeclaration": 537, + "src": "16093:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "15626:5:1", + "src": "16089:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1049, - "id": 1060, + "functionReturnParameters": 541, + "id": 552, "nodeType": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ] }, "documentation": { - "id": 1041, + "id": 533, "nodeType": "StructuredDocumentation", - "src": "15043:442:1", + "src": "15492:453:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1062, + "id": 554, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1046, + "id": 538, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1043, + "id": 535, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15503:9:1", + "scope": 554, + "src": "15964:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6485,10 +6485,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1042, + "id": 534, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15503:7:1", + "src": "15964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6498,12 +6498,12 @@ }, { "constant": false, - "id": 1045, + "id": 537, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15514:9:1", + "scope": 554, + "src": "15975:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6511,10 +6511,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1044, + "id": 536, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15514:7:1", + "src": "15975:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6523,20 +6523,20 @@ "visibility": "internal" } ], - "src": "15502:22:1" + "src": "15963:22:0" }, "returnParameters": { - "id": 1049, + "id": 541, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1048, + "id": 540, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1062, - "src": "15548:7:1", + "scope": 554, + "src": "16009:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6544,10 +6544,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1047, + "id": 539, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "15548:7:1", + "src": "16009:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6556,19 +6556,19 @@ "visibility": "internal" } ], - "src": "15547:9:1" + "src": "16008:9:0" }, - "scope": 1135, - "src": "15490:148:1", + "scope": 627, + "src": "15951:151:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1085, + "id": 577, "nodeType": "Block", - "src": "16197:68:1", + "src": "16676:71:0", "statements": [ { "expression": { @@ -6578,18 +6578,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1077, + "id": 569, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1075, + "id": 567, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16215:1:1", + "referencedDeclaration": 559, + "src": "16695:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6598,30 +6598,30 @@ "nodeType": "BinaryOperation", "operator": "<=", "rightExpression": { - "id": 1076, + "id": 568, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16220:1:1", + "referencedDeclaration": 557, + "src": "16700:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16215:6:1", + "src": "16695:6:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1078, + "id": 570, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1069, - "src": "16223:12:1", + "referencedDeclaration": 561, + "src": "16703:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6639,7 +6639,7 @@ "typeString": "string memory" } ], - "id": 1074, + "id": 566, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6647,13 +6647,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "16207:7:1", + "src": "16687:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1079, + "id": 571, "isConstant": false, "isLValue": false, "isPure": false, @@ -6661,16 +6661,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "16207:29:1", + "src": "16687:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1080, + "id": 572, "nodeType": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "expression": { @@ -6678,18 +6678,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1083, + "id": 575, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1081, + "id": 573, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1065, - "src": "16253:1:1", + "referencedDeclaration": 557, + "src": "16734:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6698,54 +6698,54 @@ "nodeType": "BinaryOperation", "operator": "-", "rightExpression": { - "id": 1082, + "id": 574, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1067, - "src": "16257:1:1", + "referencedDeclaration": 559, + "src": "16738:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "16253:5:1", + "src": "16734:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1073, - "id": 1084, + "functionReturnParameters": 565, + "id": 576, "nodeType": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ] }, "documentation": { - "id": 1063, + "id": 555, "nodeType": "StructuredDocumentation", - "src": "15644:453:1", + "src": "16110:465:0", "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1086, + "id": 578, "implemented": true, "kind": "function", "modifiers": [], "name": "sub", "nodeType": "FunctionDefinition", "parameters": { - "id": 1070, + "id": 562, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1065, + "id": 557, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16115:9:1", + "scope": 578, + "src": "16594:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6753,10 +6753,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1064, + "id": 556, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16115:7:1", + "src": "16594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6766,12 +6766,12 @@ }, { "constant": false, - "id": 1067, + "id": 559, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16126:9:1", + "scope": 578, + "src": "16605:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6779,10 +6779,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1066, + "id": 558, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16126:7:1", + "src": "16605:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6792,12 +6792,12 @@ }, { "constant": false, - "id": 1069, + "id": 561, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16137:26:1", + "scope": 578, + "src": "16616:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -6805,10 +6805,10 @@ "typeString": "string" }, "typeName": { - "id": 1068, + "id": 560, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16137:6:1", + "src": "16616:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -6817,20 +6817,20 @@ "visibility": "internal" } ], - "src": "16114:50:1" + "src": "16593:50:0" }, "returnParameters": { - "id": 1073, + "id": 565, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1072, + "id": 564, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1086, - "src": "16188:7:1", + "scope": 578, + "src": "16667:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -6838,10 +6838,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1071, + "id": 563, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16188:7:1", + "src": "16667:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6850,19 +6850,19 @@ "visibility": "internal" } ], - "src": "16187:9:1" + "src": "16666:9:0" }, - "scope": 1135, - "src": "16102:163:1", + "scope": 627, + "src": "16581:166:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1109, + "id": 601, "nodeType": "Block", - "src": "17017:67:1", + "src": "17516:70:0", "statements": [ { "expression": { @@ -6872,18 +6872,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1101, + "id": 593, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1099, + "id": 591, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17035:1:1", + "referencedDeclaration": 583, + "src": "17535:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6893,33 +6893,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1100, + "id": 592, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17039:1:1", + "src": "17539:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17035:5:1", + "src": "17535:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1102, + "id": 594, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1093, - "src": "17042:12:1", + "referencedDeclaration": 585, + "src": "17542:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -6937,7 +6937,7 @@ "typeString": "string memory" } ], - "id": 1098, + "id": 590, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -6945,13 +6945,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17027:7:1", + "src": "17527:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1103, + "id": 595, "isConstant": false, "isLValue": false, "isPure": false, @@ -6959,16 +6959,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17027:28:1", + "src": "17527:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1104, + "id": 596, "nodeType": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "expression": { @@ -6976,18 +6976,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1107, + "id": 599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1105, + "id": 597, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1089, - "src": "17072:1:1", + "referencedDeclaration": 581, + "src": "17573:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -6996,54 +6996,54 @@ "nodeType": "BinaryOperation", "operator": "/", "rightExpression": { - "id": 1106, + "id": 598, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1091, - "src": "17076:1:1", + "referencedDeclaration": 583, + "src": "17577:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17072:5:1", + "src": "17573:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1097, - "id": 1108, + "functionReturnParameters": 589, + "id": 600, "nodeType": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ] }, "documentation": { - "id": 1087, + "id": 579, "nodeType": "StructuredDocumentation", - "src": "16271:646:1", + "src": "16755:660:0", "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1110, + "id": 602, "implemented": true, "kind": "function", "modifiers": [], "name": "div", "nodeType": "FunctionDefinition", "parameters": { - "id": 1094, + "id": 586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1089, + "id": 581, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16935:9:1", + "scope": 602, + "src": "17434:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7051,10 +7051,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1088, + "id": 580, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16935:7:1", + "src": "17434:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7064,12 +7064,12 @@ }, { "constant": false, - "id": 1091, + "id": 583, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16946:9:1", + "scope": 602, + "src": "17445:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7077,10 +7077,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1090, + "id": 582, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "16946:7:1", + "src": "17445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7090,12 +7090,12 @@ }, { "constant": false, - "id": 1093, + "id": 585, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "16957:26:1", + "scope": 602, + "src": "17456:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7103,10 +7103,10 @@ "typeString": "string" }, "typeName": { - "id": 1092, + "id": 584, "name": "string", "nodeType": "ElementaryTypeName", - "src": "16957:6:1", + "src": "17456:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7115,20 +7115,20 @@ "visibility": "internal" } ], - "src": "16934:50:1" + "src": "17433:50:0" }, "returnParameters": { - "id": 1097, + "id": 589, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1096, + "id": 588, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1110, - "src": "17008:7:1", + "scope": 602, + "src": "17507:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7136,10 +7136,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1095, + "id": 587, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17008:7:1", + "src": "17507:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7148,19 +7148,19 @@ "visibility": "internal" } ], - "src": "17007:9:1" + "src": "17506:9:0" }, - "scope": 1135, - "src": "16922:162:1", + "scope": 627, + "src": "17421:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1133, + "id": 625, "nodeType": "Block", - "src": "17825:67:1", + "src": "18344:70:0", "statements": [ { "expression": { @@ -7170,18 +7170,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1125, + "id": 617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1123, + "id": 615, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17843:1:1", + "referencedDeclaration": 607, + "src": "18363:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7191,33 +7191,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1124, + "id": 616, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "17847:1:1", + "src": "18367:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "17843:5:1", + "src": "18363:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1126, + "id": 618, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1117, - "src": "17850:12:1", + "referencedDeclaration": 609, + "src": "18370:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -7235,7 +7235,7 @@ "typeString": "string memory" } ], - "id": 1122, + "id": 614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7243,13 +7243,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "17835:7:1", + "src": "18355:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1127, + "id": 619, "isConstant": false, "isLValue": false, "isPure": false, @@ -7257,16 +7257,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "17835:28:1", + "src": "18355:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1128, + "id": 620, "nodeType": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "expression": { @@ -7274,18 +7274,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1131, + "id": 623, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1129, + "id": 621, "name": "a", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1113, - "src": "17880:1:1", + "referencedDeclaration": 605, + "src": "18401:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7294,54 +7294,54 @@ "nodeType": "BinaryOperation", "operator": "%", "rightExpression": { - "id": 1130, + "id": 622, "name": "b", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1115, - "src": "17884:1:1", + "referencedDeclaration": 607, + "src": "18405:1:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "17880:5:1", + "src": "18401:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1121, - "id": 1132, + "functionReturnParameters": 613, + "id": 624, "nodeType": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ] }, "documentation": { - "id": 1111, + "id": 603, "nodeType": "StructuredDocumentation", - "src": "17090:635:1", + "src": "17594:649:0", "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1134, + "id": 626, "implemented": true, "kind": "function", "modifiers": [], "name": "mod", "nodeType": "FunctionDefinition", "parameters": { - "id": 1118, + "id": 610, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1113, + "id": 605, "mutability": "mutable", "name": "a", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17743:9:1", + "scope": 626, + "src": "18262:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7349,10 +7349,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1112, + "id": 604, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17743:7:1", + "src": "18262:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7362,12 +7362,12 @@ }, { "constant": false, - "id": 1115, + "id": 607, "mutability": "mutable", "name": "b", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17754:9:1", + "scope": 626, + "src": "18273:9:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7375,10 +7375,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1114, + "id": 606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17754:7:1", + "src": "18273:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7388,12 +7388,12 @@ }, { "constant": false, - "id": 1117, + "id": 609, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17765:26:1", + "scope": 626, + "src": "18284:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -7401,10 +7401,10 @@ "typeString": "string" }, "typeName": { - "id": 1116, + "id": 608, "name": "string", "nodeType": "ElementaryTypeName", - "src": "17765:6:1", + "src": "18284:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -7413,20 +7413,20 @@ "visibility": "internal" } ], - "src": "17742:50:1" + "src": "18261:50:0" }, "returnParameters": { - "id": 1121, + "id": 613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1120, + "id": 612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1134, - "src": "17816:7:1", + "scope": 626, + "src": "18335:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7434,10 +7434,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1119, + "id": 611, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "17816:7:1", + "src": "18335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7446,20 +7446,20 @@ "visibility": "internal" } ], - "src": "17815:9:1" + "src": "18334:9:0" }, - "scope": 1135, - "src": "17730:162:1", + "scope": 627, + "src": "18249:165:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "11300:6594:1" + "scope": 2991, + "src": "11627:6790:0" }, { - "id": 1136, + "id": 628, "literals": [ "solidity", ">=", @@ -7470,7 +7470,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "abstract": false, @@ -7478,38 +7478,38 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1137, + "id": 629, "nodeType": "StructuredDocumentation", - "src": "17980:67:1", + "src": "18508:69:0", "text": " @dev Collection of functions related to the address type" }, "fullyImplemented": true, - "id": 1430, + "id": 922, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 1153, + "id": 645, "nodeType": "Block", - "src": "18706:347:1", + "src": "19255:356:0", "statements": [ { "assignments": [ - 1146 + 638 ], "declarations": [ { "constant": false, - "id": 1146, + "id": 638, "mutability": "mutable", "name": "size", "nodeType": "VariableDeclaration", - "scope": 1153, - "src": "18903:12:1", + "scope": 645, + "src": "19457:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7517,10 +7517,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1145, + "id": 637, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "18903:7:1", + "src": "19457:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7529,39 +7529,39 @@ "visibility": "internal" } ], - "id": 1147, + "id": 639, "nodeType": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "AST": { "nodeType": "YulBlock", - "src": "18990:32:1", + "src": "19546:32:0", "statements": [ { "nodeType": "YulAssignment", - "src": "18992:28:1", + "src": "19548:28:0", "value": { "arguments": [ { "name": "account", "nodeType": "YulIdentifier", - "src": "19012:7:1" + "src": "19568:7:0" } ], "functionName": { "name": "extcodesize", "nodeType": "YulIdentifier", - "src": "19000:11:1" + "src": "19556:11:0" }, "nodeType": "YulFunctionCall", - "src": "19000:20:1" + "src": "19556:20:0" }, "variableNames": [ { "name": "size", "nodeType": "YulIdentifier", - "src": "18992:4:1" + "src": "19548:4:0" } ] } @@ -7570,23 +7570,23 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], - "id": 1148, + "id": 640, "nodeType": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "expression": { @@ -7594,18 +7594,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1151, + "id": 643, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1149, + "id": 641, "name": "size", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1146, - "src": "19038:4:1", + "referencedDeclaration": 638, + "src": "19595:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7615,57 +7615,57 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1150, + "id": 642, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "19045:1:1", + "src": "19602:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "19038:8:1", + "src": "19595:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1144, - "id": 1152, + "functionReturnParameters": 636, + "id": 644, "nodeType": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ] }, "documentation": { - "id": 1138, + "id": 630, "nodeType": "StructuredDocumentation", - "src": "18070:565:1", + "src": "18602:581:0", "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1154, + "id": 646, "implemented": true, "kind": "function", "modifiers": [], "name": "isContract", "nodeType": "FunctionDefinition", "parameters": { - "id": 1141, + "id": 633, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1140, + "id": 632, "mutability": "mutable", "name": "account", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18660:15:1", + "scope": 646, + "src": "19209:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7673,10 +7673,10 @@ "typeString": "address" }, "typeName": { - "id": 1139, + "id": 631, "name": "address", "nodeType": "ElementaryTypeName", - "src": "18660:7:1", + "src": "19209:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -7686,20 +7686,20 @@ "visibility": "internal" } ], - "src": "18659:17:1" + "src": "19208:17:0" }, "returnParameters": { - "id": 1144, + "id": 636, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1143, + "id": 635, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1154, - "src": "18700:4:1", + "scope": 646, + "src": "19249:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7707,10 +7707,10 @@ "typeString": "bool" }, "typeName": { - "id": 1142, + "id": 634, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "18700:4:1", + "src": "19249:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7719,19 +7719,19 @@ "visibility": "internal" } ], - "src": "18699:6:1" + "src": "19248:6:0" }, - "scope": 1430, - "src": "18640:413:1", + "scope": 922, + "src": "19189:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1187, + "id": 679, "nodeType": "Block", - "src": "20041:320:1", + "src": "20617:326:0", "statements": [ { "expression": { @@ -7741,7 +7741,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1169, + "id": 661, "isConstant": false, "isLValue": false, "isPure": false, @@ -7750,14 +7750,14 @@ "expression": { "arguments": [ { - "id": 1165, + "id": 657, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "20067:4:1", + "src": "20644:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -7765,30 +7765,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1164, + "id": 656, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1163, + "id": 655, "name": "address", "nodeType": "ElementaryTypeName", - "src": "20059:7:1", + "src": "20636:7:0", "typeDescriptions": {} } }, - "id": 1166, + "id": 658, "isConstant": false, "isLValue": false, "isPure": false, @@ -7796,21 +7796,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20059:13:1", + "src": "20636:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1167, + "id": 659, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "20059:21:1", + "src": "20636:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -7819,18 +7819,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1168, + "id": 660, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20084:6:1", + "referencedDeclaration": 651, + "src": "20661:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "20059:31:1", + "src": "20636:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7838,14 +7838,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e6365", - "id": 1170, + "id": 662, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20092:31:1", + "src": "20669:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5597a22abd0ef5332f8053862eb236db7590f17e2b93a53f63a103becfb561f9", "typeString": "literal_string \"Address: insufficient balance\"" @@ -7864,7 +7864,7 @@ "typeString": "literal_string \"Address: insufficient balance\"" } ], - "id": 1162, + "id": 654, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -7872,13 +7872,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20051:7:1", + "src": "20628:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1171, + "id": 663, "isConstant": false, "isLValue": false, "isPure": false, @@ -7886,31 +7886,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20051:73:1", + "src": "20628:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1172, + "id": 664, "nodeType": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "assignments": [ - 1174, + 666, null ], "declarations": [ { "constant": false, - "id": 1174, + "id": 666, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1187, - "src": "20213:12:1", + "scope": 679, + "src": "20793:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -7918,10 +7918,10 @@ "typeString": "bool" }, "typeName": { - "id": 1173, + "id": 665, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "20213:4:1", + "src": "20793:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -7931,19 +7931,19 @@ }, null ], - "id": 1181, + "id": 673, "initialValue": { "arguments": [ { "hexValue": "", - "id": 1179, + "id": 671, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20263:2:1", + "src": "20843:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -7966,31 +7966,31 @@ } ], "expression": { - "id": 1175, + "id": 667, "name": "recipient", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1157, - "src": "20231:9:1", + "referencedDeclaration": 649, + "src": "20811:9:0", "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "id": 1176, + "id": 668, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "20231:14:1", + "src": "20811:14:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1178, + "id": 670, "isConstant": false, "isLValue": false, "isPure": false, @@ -8001,25 +8001,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1177, + "id": 669, "name": "amount", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1159, - "src": "20254:6:1", + "referencedDeclaration": 651, + "src": "20834:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "20231:31:1", + "src": "20811:31:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1180, + "id": 672, "isConstant": false, "isLValue": false, "isPure": false, @@ -8027,7 +8027,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20231:35:1", + "src": "20811:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -8035,18 +8035,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "expression": { "arguments": [ { - "id": 1183, + "id": 675, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1174, - "src": "20284:7:1", + "referencedDeclaration": 666, + "src": "20865:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -8054,14 +8054,14 @@ }, { "hexValue": "416464726573733a20756e61626c6520746f2073656e642076616c75652c20726563697069656e74206d61792068617665207265766572746564", - "id": 1184, + "id": 676, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "20293:60:1", + "src": "20874:60:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_51ddaa38748c0a1144620fb5bfe8edab31ea437571ad591a7734bbfd0429aeae", "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" @@ -8080,7 +8080,7 @@ "typeString": "literal_string \"Address: unable to send value, recipient may have reverted\"" } ], - "id": 1182, + "id": 674, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -8088,13 +8088,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "20276:7:1", + "src": "20857:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1185, + "id": 677, "isConstant": false, "isLValue": false, "isPure": false, @@ -8102,43 +8102,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "20276:78:1", + "src": "20857:78:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1186, + "id": 678, "nodeType": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ] }, "documentation": { - "id": 1155, + "id": 647, "nodeType": "StructuredDocumentation", - "src": "19059:906:1", + "src": "19619:921:0", "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1188, + "id": 680, "implemented": true, "kind": "function", "modifiers": [], "name": "sendValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1160, + "id": 652, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1157, + "id": 649, "mutability": "mutable", "name": "recipient", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "19989:25:1", + "scope": 680, + "src": "20565:25:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8146,10 +8146,10 @@ "typeString": "address payable" }, "typeName": { - "id": 1156, + "id": 648, "name": "address", "nodeType": "ElementaryTypeName", - "src": "19989:15:1", + "src": "20565:15:0", "stateMutability": "payable", "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -8160,12 +8160,12 @@ }, { "constant": false, - "id": 1159, + "id": 651, "mutability": "mutable", "name": "amount", "nodeType": "VariableDeclaration", - "scope": 1188, - "src": "20016:14:1", + "scope": 680, + "src": "20592:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8173,10 +8173,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1158, + "id": 650, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "20016:7:1", + "src": "20592:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8185,48 +8185,48 @@ "visibility": "internal" } ], - "src": "19988:43:1" + "src": "20564:43:0" }, "returnParameters": { - "id": 1161, + "id": 653, "nodeType": "ParameterList", "parameters": [], - "src": "20041:0:1" + "src": "20617:0:0" }, - "scope": 1430, - "src": "19970:391:1", + "scope": 922, + "src": "20546:397:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1204, + "id": 696, "nodeType": "Block", - "src": "21191:82:1", + "src": "21793:84:0", "statements": [ { "expression": { "arguments": [ { - "id": 1199, + "id": 691, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1191, - "src": "21219:6:1", + "referencedDeclaration": 683, + "src": "21822:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1200, + "id": 692, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1193, - "src": "21227:4:1", + "referencedDeclaration": 685, + "src": "21830:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8234,14 +8234,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c206661696c6564", - "id": 1201, + "id": 693, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "21233:32:1", + "src": "21836:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_24d7ab5d382116e64324f19950ca9340b8af1ddeb09a8d026e0a3c6a01dcc9df", "typeString": "literal_string \"Address: low-level call failed\"" @@ -8264,21 +8264,21 @@ "typeString": "literal_string \"Address: low-level call failed\"" } ], - "id": 1198, + "id": 690, "name": "functionCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, - "src": "21206:12:1", + "referencedDeclaration": 717, + "src": "21809:12:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1202, + "id": 694, "isConstant": false, "isLValue": false, "isPure": false, @@ -8286,44 +8286,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21206:60:1", + "src": "21809:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1197, - "id": 1203, + "functionReturnParameters": 689, + "id": 695, "nodeType": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ] }, "documentation": { - "id": 1189, + "id": 681, "nodeType": "StructuredDocumentation", - "src": "20367:730:1", + "src": "20951:747:0", "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1205, + "id": 697, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1194, + "id": 686, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1191, + "id": 683, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21124:14:1", + "scope": 697, + "src": "21726:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8331,10 +8331,10 @@ "typeString": "address" }, "typeName": { - "id": 1190, + "id": 682, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21124:7:1", + "src": "21726:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8345,12 +8345,12 @@ }, { "constant": false, - "id": 1193, + "id": 685, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21140:17:1", + "scope": 697, + "src": "21742:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8358,10 +8358,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1192, + "id": 684, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21140:5:1", + "src": "21742:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8370,20 +8370,20 @@ "visibility": "internal" } ], - "src": "21123:35:1" + "src": "21725:35:0" }, "returnParameters": { - "id": 1197, + "id": 689, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1196, + "id": 688, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1205, - "src": "21177:12:1", + "scope": 697, + "src": "21779:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8391,10 +8391,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1195, + "id": 687, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21177:5:1", + "src": "21779:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8403,42 +8403,42 @@ "visibility": "internal" } ], - "src": "21176:14:1" + "src": "21778:14:0" }, - "scope": 1430, - "src": "21102:171:1", + "scope": 922, + "src": "21704:173:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1224, + "id": 716, "nodeType": "Block", - "src": "21612:76:1", + "src": "22224:78:0", "statements": [ { "expression": { "arguments": [ { - "id": 1218, + "id": 710, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1208, - "src": "21651:6:1", + "referencedDeclaration": 700, + "src": "22264:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1219, + "id": 711, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1210, - "src": "21659:4:1", + "referencedDeclaration": 702, + "src": "22272:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -8446,14 +8446,14 @@ }, { "hexValue": "30", - "id": 1220, + "id": 712, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "21665:1:1", + "src": "22278:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -8461,12 +8461,12 @@ "value": "0" }, { - "id": 1221, + "id": 713, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1212, - "src": "21668:12:1", + "referencedDeclaration": 704, + "src": "22281:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -8492,21 +8492,21 @@ "typeString": "string memory" } ], - "id": 1217, + "id": 709, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "21629:21:1", + "referencedDeclaration": 787, + "src": "22242:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1222, + "id": 714, "isConstant": false, "isLValue": false, "isPure": false, @@ -8514,44 +8514,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "21629:52:1", + "src": "22242:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1216, - "id": 1223, + "functionReturnParameters": 708, + "id": 715, "nodeType": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ] }, "documentation": { - "id": 1206, + "id": 698, "nodeType": "StructuredDocumentation", - "src": "21279:211:1", + "src": "21885:216:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1225, + "id": 717, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1213, + "id": 705, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1208, + "id": 700, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21517:14:1", + "scope": 717, + "src": "22129:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8559,10 +8559,10 @@ "typeString": "address" }, "typeName": { - "id": 1207, + "id": 699, "name": "address", "nodeType": "ElementaryTypeName", - "src": "21517:7:1", + "src": "22129:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8573,12 +8573,12 @@ }, { "constant": false, - "id": 1210, + "id": 702, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21533:17:1", + "scope": 717, + "src": "22145:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8586,10 +8586,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1209, + "id": 701, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21533:5:1", + "src": "22145:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8599,12 +8599,12 @@ }, { "constant": false, - "id": 1212, + "id": 704, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21552:26:1", + "scope": 717, + "src": "22164:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8612,10 +8612,10 @@ "typeString": "string" }, "typeName": { - "id": 1211, + "id": 703, "name": "string", "nodeType": "ElementaryTypeName", - "src": "21552:6:1", + "src": "22164:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -8624,20 +8624,20 @@ "visibility": "internal" } ], - "src": "21516:63:1" + "src": "22128:63:0" }, "returnParameters": { - "id": 1216, + "id": 708, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1215, + "id": 707, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1225, - "src": "21598:12:1", + "scope": 717, + "src": "22210:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8645,10 +8645,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1214, + "id": 706, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "21598:5:1", + "src": "22210:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8657,54 +8657,54 @@ "visibility": "internal" } ], - "src": "21597:14:1" + "src": "22209:14:0" }, - "scope": 1430, - "src": "21495:193:1", + "scope": 922, + "src": "22107:195:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1244, + "id": 736, "nodeType": "Block", - "src": "22163:111:1", + "src": "22790:113:0", "statements": [ { "expression": { "arguments": [ { - "id": 1238, + "id": 730, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1228, - "src": "22202:6:1", + "referencedDeclaration": 720, + "src": "22830:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1239, + "id": 731, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1230, - "src": "22210:4:1", + "referencedDeclaration": 722, + "src": "22838:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1240, + "id": 732, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1232, - "src": "22216:5:1", + "referencedDeclaration": 724, + "src": "22844:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8712,14 +8712,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564", - "id": 1241, + "id": 733, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22223:43:1", + "src": "22851:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_88a4a0b5e975840320a0475d4027005235904fdb5ece94df156f3d717cb2dbfc", "typeString": "literal_string \"Address: low-level call with value failed\"" @@ -8746,21 +8746,21 @@ "typeString": "literal_string \"Address: low-level call with value failed\"" } ], - "id": 1237, + "id": 729, "name": "functionCallWithValue", "nodeType": "Identifier", "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, - "src": "22180:21:1", + "referencedDeclaration": 787, + "src": "22808:21:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,uint256,string memory) returns (bytes memory)" } }, - "id": 1242, + "id": 734, "isConstant": false, "isLValue": false, "isPure": false, @@ -8768,44 +8768,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22180:87:1", + "src": "22808:87:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1236, - "id": 1243, + "functionReturnParameters": 728, + "id": 735, "nodeType": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ] }, "documentation": { - "id": 1226, + "id": 718, "nodeType": "StructuredDocumentation", - "src": "21694:351:1", + "src": "22310:361:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1245, + "id": 737, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1233, + "id": 725, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1228, + "id": 720, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22081:14:1", + "scope": 737, + "src": "22708:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8813,10 +8813,10 @@ "typeString": "address" }, "typeName": { - "id": 1227, + "id": 719, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22081:7:1", + "src": "22708:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -8827,12 +8827,12 @@ }, { "constant": false, - "id": 1230, + "id": 722, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22097:17:1", + "scope": 737, + "src": "22724:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8840,10 +8840,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1229, + "id": 721, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22097:5:1", + "src": "22724:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8853,12 +8853,12 @@ }, { "constant": false, - "id": 1232, + "id": 724, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22116:13:1", + "scope": 737, + "src": "22743:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -8866,10 +8866,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1231, + "id": 723, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22116:7:1", + "src": "22743:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -8878,20 +8878,20 @@ "visibility": "internal" } ], - "src": "22080:50:1" + "src": "22707:50:0" }, "returnParameters": { - "id": 1236, + "id": 728, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1235, + "id": 727, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1245, - "src": "22149:12:1", + "scope": 737, + "src": "22776:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -8899,10 +8899,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1234, + "id": 726, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22149:5:1", + "src": "22776:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -8911,19 +8911,19 @@ "visibility": "internal" } ], - "src": "22148:14:1" + "src": "22775:14:0" }, - "scope": 1430, - "src": "22050:224:1", + "scope": 922, + "src": "22677:226:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1294, + "id": 786, "nodeType": "Block", - "src": "22663:382:1", + "src": "23300:389:0", "statements": [ { "expression": { @@ -8933,7 +8933,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1266, + "id": 758, "isConstant": false, "isLValue": false, "isPure": false, @@ -8942,14 +8942,14 @@ "expression": { "arguments": [ { - "id": 1262, + "id": 754, "name": "this", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967268, - "src": "22689:4:1", + "src": "23327:4:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } } @@ -8957,30 +8957,30 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], - "id": 1261, + "id": 753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1260, + "id": 752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22681:7:1", + "src": "23319:7:0", "typeDescriptions": {} } }, - "id": 1263, + "id": 755, "isConstant": false, "isLValue": false, "isPure": false, @@ -8988,21 +8988,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22681:13:1", + "src": "23319:13:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1264, + "id": 756, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "balance", "nodeType": "MemberAccess", - "src": "22681:21:1", + "src": "23319:21:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9011,18 +9011,18 @@ "nodeType": "BinaryOperation", "operator": ">=", "rightExpression": { - "id": 1265, + "id": 757, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22706:5:1", + "referencedDeclaration": 744, + "src": "23344:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "22681:30:1", + "src": "23319:30:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9030,14 +9030,14 @@ }, { "hexValue": "416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c", - "id": 1267, + "id": 759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22713:40:1", + "src": "23351:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_565f1a77334fc4792800921178c71e4521acffab18ff9e7885b49377ee80ab4c", "typeString": "literal_string \"Address: insufficient balance for call\"" @@ -9056,7 +9056,7 @@ "typeString": "literal_string \"Address: insufficient balance for call\"" } ], - "id": 1259, + "id": 751, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9064,13 +9064,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22673:7:1", + "src": "23311:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1268, + "id": 760, "isConstant": false, "isLValue": false, "isPure": false, @@ -9078,16 +9078,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22673:81:1", + "src": "23311:81:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1269, + "id": 761, "nodeType": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "expression": { @@ -9095,12 +9095,12 @@ { "arguments": [ { - "id": 1272, + "id": 764, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22783:6:1", + "referencedDeclaration": 740, + "src": "23422:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9114,18 +9114,18 @@ "typeString": "address" } ], - "id": 1271, + "id": 763, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "22772:10:1", + "referencedDeclaration": 646, + "src": "23411:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1273, + "id": 765, "isConstant": false, "isLValue": false, "isPure": false, @@ -9133,7 +9133,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22772:18:1", + "src": "23411:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9142,14 +9142,14 @@ }, { "hexValue": "416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1274, + "id": 766, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "22792:31:1", + "src": "23431:31:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_cc2e4e38850b7c0a3e942cfed89b71c77302df25bcb2ec297a0c4ff9ff6b90ad", "typeString": "literal_string \"Address: call to non-contract\"" @@ -9168,7 +9168,7 @@ "typeString": "literal_string \"Address: call to non-contract\"" } ], - "id": 1270, + "id": 762, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9176,13 +9176,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "22764:7:1", + "src": "23403:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1275, + "id": 767, "isConstant": false, "isLValue": false, "isPure": false, @@ -9190,31 +9190,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22764:60:1", + "src": "23403:60:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1276, + "id": 768, "nodeType": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "assignments": [ - 1278, - 1280 + 770, + 772 ], "declarations": [ { "constant": false, - "id": 1278, + "id": 770, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22895:12:1", + "scope": 786, + "src": "23537:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9222,10 +9222,10 @@ "typeString": "bool" }, "typeName": { - "id": 1277, + "id": 769, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "22895:4:1", + "src": "23537:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9235,12 +9235,12 @@ }, { "constant": false, - "id": 1280, + "id": 772, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1294, - "src": "22909:23:1", + "scope": 786, + "src": "23551:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9248,10 +9248,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1279, + "id": 771, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22909:5:1", + "src": "23551:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9260,16 +9260,16 @@ "visibility": "internal" } ], - "id": 1287, + "id": 779, "initialValue": { "arguments": [ { - "id": 1285, + "id": 777, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1250, - "src": "22964:4:1", + "referencedDeclaration": 742, + "src": "23606:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9291,31 +9291,31 @@ } ], "expression": { - "id": 1281, + "id": 773, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1248, - "src": "22936:6:1", + "referencedDeclaration": 740, + "src": "23578:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1282, + "id": 774, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "call", "nodeType": "MemberAccess", - "src": "22936:11:1", + "src": "23578:11:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1284, + "id": 776, "isConstant": false, "isLValue": false, "isPure": false, @@ -9326,25 +9326,25 @@ "nodeType": "FunctionCallOptions", "options": [ { - "id": 1283, + "id": 775, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1252, - "src": "22956:5:1", + "referencedDeclaration": 744, + "src": "23598:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } } ], - "src": "22936:27:1", + "src": "23578:27:0", "typeDescriptions": { "typeIdentifier": "t_function_barecall_payable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$value", "typeString": "function (bytes memory) payable returns (bool,bytes memory)" } }, - "id": 1286, + "id": 778, "isConstant": false, "isLValue": false, "isPure": false, @@ -9352,7 +9352,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22936:33:1", + "src": "23578:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -9360,42 +9360,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "expression": { "arguments": [ { - "id": 1289, + "id": 781, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1278, - "src": "23004:7:1", + "referencedDeclaration": 770, + "src": "23647:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1290, + "id": 782, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1280, - "src": "23013:10:1", + "referencedDeclaration": 772, + "src": "23656:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1291, + "id": 783, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1254, - "src": "23025:12:1", + "referencedDeclaration": 746, + "src": "23668:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -9417,18 +9417,18 @@ "typeString": "string memory" } ], - "id": 1288, + "id": 780, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "22986:17:1", + "referencedDeclaration": 921, + "src": "23629:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1292, + "id": 784, "isConstant": false, "isLValue": false, "isPure": false, @@ -9436,44 +9436,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "22986:52:1", + "src": "23629:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1258, - "id": 1293, + "functionReturnParameters": 750, + "id": 785, "nodeType": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ] }, "documentation": { - "id": 1246, + "id": 738, "nodeType": "StructuredDocumentation", - "src": "22280:237:1", + "src": "22911:242:0", "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1295, + "id": 787, "implemented": true, "kind": "function", "modifiers": [], "name": "functionCallWithValue", "nodeType": "FunctionDefinition", "parameters": { - "id": 1255, + "id": 747, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1248, + "id": 740, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22553:14:1", + "scope": 787, + "src": "23190:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9481,10 +9481,10 @@ "typeString": "address" }, "typeName": { - "id": 1247, + "id": 739, "name": "address", "nodeType": "ElementaryTypeName", - "src": "22553:7:1", + "src": "23190:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9495,12 +9495,12 @@ }, { "constant": false, - "id": 1250, + "id": 742, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22569:17:1", + "scope": 787, + "src": "23206:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9508,10 +9508,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1249, + "id": 741, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22569:5:1", + "src": "23206:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9521,12 +9521,12 @@ }, { "constant": false, - "id": 1252, + "id": 744, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22588:13:1", + "scope": 787, + "src": "23225:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9534,10 +9534,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1251, + "id": 743, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "22588:7:1", + "src": "23225:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -9547,12 +9547,12 @@ }, { "constant": false, - "id": 1254, + "id": 746, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22603:26:1", + "scope": 787, + "src": "23240:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9560,10 +9560,10 @@ "typeString": "string" }, "typeName": { - "id": 1253, + "id": 745, "name": "string", "nodeType": "ElementaryTypeName", - "src": "22603:6:1", + "src": "23240:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -9572,20 +9572,20 @@ "visibility": "internal" } ], - "src": "22552:78:1" + "src": "23189:78:0" }, "returnParameters": { - "id": 1258, + "id": 750, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1257, + "id": 749, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1295, - "src": "22649:12:1", + "scope": 787, + "src": "23286:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9593,10 +9593,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1256, + "id": 748, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "22649:5:1", + "src": "23286:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9605,42 +9605,42 @@ "visibility": "internal" } ], - "src": "22648:14:1" + "src": "23285:14:0" }, - "scope": 1430, - "src": "22522:523:1", + "scope": 922, + "src": "23159:530:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1311, + "id": 803, "nodeType": "Block", - "src": "23322:97:1", + "src": "23974:99:0", "statements": [ { "expression": { "arguments": [ { - "id": 1306, + "id": 798, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1298, - "src": "23358:6:1", + "referencedDeclaration": 790, + "src": "24011:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1307, + "id": 799, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1300, - "src": "23366:4:1", + "referencedDeclaration": 792, + "src": "24019:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -9648,14 +9648,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c207374617469632063616c6c206661696c6564", - "id": 1308, + "id": 800, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23372:39:1", + "src": "24025:39:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_90ec82aa826a536a4cbfae44ecfa384680faa9a4b77344bce96aa761ad904df0", "typeString": "literal_string \"Address: low-level static call failed\"" @@ -9678,21 +9678,21 @@ "typeString": "literal_string \"Address: low-level static call failed\"" } ], - "id": 1305, + "id": 797, "name": "functionStaticCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, - "src": "23339:18:1", + "referencedDeclaration": 839, + "src": "23992:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) view returns (bytes memory)" } }, - "id": 1309, + "id": 801, "isConstant": false, "isLValue": false, "isPure": false, @@ -9700,44 +9700,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23339:73:1", + "src": "23992:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1304, - "id": 1310, + "functionReturnParameters": 796, + "id": 802, "nodeType": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ] }, "documentation": { - "id": 1296, + "id": 788, "nodeType": "StructuredDocumentation", - "src": "23051:166:1", + "src": "23697:171:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1312, + "id": 804, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1301, + "id": 793, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1298, + "id": 790, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23250:14:1", + "scope": 804, + "src": "23902:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9745,10 +9745,10 @@ "typeString": "address" }, "typeName": { - "id": 1297, + "id": 789, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23250:7:1", + "src": "23902:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -9759,12 +9759,12 @@ }, { "constant": false, - "id": 1300, + "id": 792, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23266:17:1", + "scope": 804, + "src": "23918:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9772,10 +9772,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1299, + "id": 791, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23266:5:1", + "src": "23918:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9784,20 +9784,20 @@ "visibility": "internal" } ], - "src": "23249:35:1" + "src": "23901:35:0" }, "returnParameters": { - "id": 1304, + "id": 796, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1303, + "id": 795, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1312, - "src": "23308:12:1", + "scope": 804, + "src": "23960:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9805,10 +9805,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1302, + "id": 794, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23308:5:1", + "src": "23960:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -9817,19 +9817,19 @@ "visibility": "internal" } ], - "src": "23307:14:1" + "src": "23959:14:0" }, - "scope": 1430, - "src": "23222:197:1", + "scope": 922, + "src": "23874:199:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1346, + "id": 838, "nodeType": "Block", - "src": "23731:288:1", + "src": "24393:294:0", "statements": [ { "expression": { @@ -9837,12 +9837,12 @@ { "arguments": [ { - "id": 1326, + "id": 818, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23760:6:1", + "referencedDeclaration": 807, + "src": "24423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -9856,18 +9856,18 @@ "typeString": "address" } ], - "id": 1325, + "id": 817, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "23749:10:1", + "referencedDeclaration": 646, + "src": "24412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1327, + "id": 819, "isConstant": false, "isLValue": false, "isPure": false, @@ -9875,7 +9875,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23749:18:1", + "src": "24412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -9884,14 +9884,14 @@ }, { "hexValue": "416464726573733a207374617469632063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1328, + "id": 820, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "23769:38:1", + "src": "24432:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c79cc78e4f16ce3933a42b84c73868f93bb4a59c031a0acf576679de98c608a9", "typeString": "literal_string \"Address: static call to non-contract\"" @@ -9910,7 +9910,7 @@ "typeString": "literal_string \"Address: static call to non-contract\"" } ], - "id": 1324, + "id": 816, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -9918,13 +9918,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "23741:7:1", + "src": "24404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1329, + "id": 821, "isConstant": false, "isLValue": false, "isPure": false, @@ -9932,31 +9932,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23741:67:1", + "src": "24404:67:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1330, + "id": 822, "nodeType": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "assignments": [ - 1332, - 1334 + 824, + 826 ], "declarations": [ { "constant": false, - "id": 1332, + "id": 824, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23879:12:1", + "scope": 838, + "src": "24545:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -9964,10 +9964,10 @@ "typeString": "bool" }, "typeName": { - "id": 1331, + "id": 823, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "23879:4:1", + "src": "24545:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -9977,12 +9977,12 @@ }, { "constant": false, - "id": 1334, + "id": 826, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1346, - "src": "23893:23:1", + "scope": 838, + "src": "24559:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -9990,10 +9990,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1333, + "id": 825, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23893:5:1", + "src": "24559:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10002,16 +10002,16 @@ "visibility": "internal" } ], - "id": 1339, + "id": 831, "initialValue": { "arguments": [ { - "id": 1337, + "id": 829, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1317, - "src": "23938:4:1", + "referencedDeclaration": 809, + "src": "24604:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10026,31 +10026,31 @@ } ], "expression": { - "id": 1335, + "id": 827, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1315, - "src": "23920:6:1", + "referencedDeclaration": 807, + "src": "24586:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1336, + "id": 828, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "staticcall", "nodeType": "MemberAccess", - "src": "23920:17:1", + "src": "24586:17:0", "typeDescriptions": { "typeIdentifier": "t_function_barestaticcall_view$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) view returns (bool,bytes memory)" } }, - "id": 1338, + "id": 830, "isConstant": false, "isLValue": false, "isPure": false, @@ -10058,7 +10058,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23920:23:1", + "src": "24586:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10066,42 +10066,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "expression": { "arguments": [ { - "id": 1341, + "id": 833, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1332, - "src": "23978:7:1", + "referencedDeclaration": 824, + "src": "24645:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1342, + "id": 834, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1334, - "src": "23987:10:1", + "referencedDeclaration": 826, + "src": "24654:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1343, + "id": 835, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1319, - "src": "23999:12:1", + "referencedDeclaration": 811, + "src": "24666:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10123,18 +10123,18 @@ "typeString": "string memory" } ], - "id": 1340, + "id": 832, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "23960:17:1", + "referencedDeclaration": 921, + "src": "24627:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1344, + "id": 836, "isConstant": false, "isLValue": false, "isPure": false, @@ -10142,44 +10142,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "23960:52:1", + "src": "24627:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1323, - "id": 1345, + "functionReturnParameters": 815, + "id": 837, "nodeType": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ] }, "documentation": { - "id": 1313, + "id": 805, "nodeType": "StructuredDocumentation", - "src": "23425:173:1", + "src": "24081:178:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1347, + "id": 839, "implemented": true, "kind": "function", "modifiers": [], "name": "functionStaticCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1320, + "id": 812, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1315, + "id": 807, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23631:14:1", + "scope": 839, + "src": "24293:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10187,10 +10187,10 @@ "typeString": "address" }, "typeName": { - "id": 1314, + "id": 806, "name": "address", "nodeType": "ElementaryTypeName", - "src": "23631:7:1", + "src": "24293:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10201,12 +10201,12 @@ }, { "constant": false, - "id": 1317, + "id": 809, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23647:17:1", + "scope": 839, + "src": "24309:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10214,10 +10214,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1316, + "id": 808, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23647:5:1", + "src": "24309:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10227,12 +10227,12 @@ }, { "constant": false, - "id": 1319, + "id": 811, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23666:26:1", + "scope": 839, + "src": "24328:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10240,10 +10240,10 @@ "typeString": "string" }, "typeName": { - "id": 1318, + "id": 810, "name": "string", "nodeType": "ElementaryTypeName", - "src": "23666:6:1", + "src": "24328:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10252,20 +10252,20 @@ "visibility": "internal" } ], - "src": "23630:63:1" + "src": "24292:63:0" }, "returnParameters": { - "id": 1323, + "id": 815, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1322, + "id": 814, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1347, - "src": "23717:12:1", + "scope": 839, + "src": "24379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10273,10 +10273,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1321, + "id": 813, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "23717:5:1", + "src": "24379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10285,42 +10285,42 @@ "visibility": "internal" } ], - "src": "23716:14:1" + "src": "24378:14:0" }, - "scope": 1430, - "src": "23603:416:1", + "scope": 922, + "src": "24265:422:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1363, + "id": 855, "nodeType": "Block", - "src": "24295:101:1", + "src": "24971:103:0", "statements": [ { "expression": { "arguments": [ { - "id": 1358, + "id": 850, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1350, - "src": "24333:6:1", + "referencedDeclaration": 842, + "src": "25010:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 1359, + "id": 851, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1352, - "src": "24341:4:1", + "referencedDeclaration": 844, + "src": "25018:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10328,14 +10328,14 @@ }, { "hexValue": "416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564", - "id": 1360, + "id": 852, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24347:41:1", + "src": "25024:41:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9fdcd12e4b726339b32a442b0a448365d5d85c96b2d2cff917b4f66c63110398", "typeString": "literal_string \"Address: low-level delegate call failed\"" @@ -10358,21 +10358,21 @@ "typeString": "literal_string \"Address: low-level delegate call failed\"" } ], - "id": 1357, + "id": 849, "name": "functionDelegateCall", "nodeType": "Identifier", "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, - "src": "24312:20:1", + "referencedDeclaration": 891, + "src": "24989:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 1361, + "id": 853, "isConstant": false, "isLValue": false, "isPure": false, @@ -10380,44 +10380,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24312:77:1", + "src": "24989:77:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1356, - "id": 1362, + "functionReturnParameters": 848, + "id": 854, "nodeType": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ] }, "documentation": { - "id": 1348, + "id": 840, "nodeType": "StructuredDocumentation", - "src": "24025:168:1", + "src": "24695:173:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1364, + "id": 856, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1353, + "id": 845, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1350, + "id": 842, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24228:14:1", + "scope": 856, + "src": "24904:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10425,10 +10425,10 @@ "typeString": "address" }, "typeName": { - "id": 1349, + "id": 841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24228:7:1", + "src": "24904:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10439,12 +10439,12 @@ }, { "constant": false, - "id": 1352, + "id": 844, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24244:17:1", + "scope": 856, + "src": "24920:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10452,10 +10452,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1351, + "id": 843, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24244:5:1", + "src": "24920:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10464,20 +10464,20 @@ "visibility": "internal" } ], - "src": "24227:35:1" + "src": "24903:35:0" }, "returnParameters": { - "id": 1356, + "id": 848, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1355, + "id": 847, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1364, - "src": "24281:12:1", + "scope": 856, + "src": "24957:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10485,10 +10485,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1354, + "id": 846, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24281:5:1", + "src": "24957:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10497,19 +10497,19 @@ "visibility": "internal" } ], - "src": "24280:14:1" + "src": "24956:14:0" }, - "scope": 1430, - "src": "24198:198:1", + "scope": 922, + "src": "24874:200:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1398, + "id": 890, "nodeType": "Block", - "src": "24707:292:1", + "src": "25393:298:0", "statements": [ { "expression": { @@ -10517,12 +10517,12 @@ { "arguments": [ { - "id": 1378, + "id": 870, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24736:6:1", + "referencedDeclaration": 859, + "src": "25423:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -10536,18 +10536,18 @@ "typeString": "address" } ], - "id": 1377, + "id": 869, "name": "isContract", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1154, - "src": "24725:10:1", + "referencedDeclaration": 646, + "src": "25412:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$", "typeString": "function (address) view returns (bool)" } }, - "id": 1379, + "id": 871, "isConstant": false, "isLValue": false, "isPure": false, @@ -10555,7 +10555,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24725:18:1", + "src": "25412:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -10564,14 +10564,14 @@ }, { "hexValue": "416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374", - "id": 1380, + "id": 872, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "24745:40:1", + "src": "25432:40:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b94ded0918034cf8f896e19fa3cfdef1188cd569c577264a3622e49152f88520", "typeString": "literal_string \"Address: delegate call to non-contract\"" @@ -10590,7 +10590,7 @@ "typeString": "literal_string \"Address: delegate call to non-contract\"" } ], - "id": 1376, + "id": 868, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -10598,13 +10598,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "24717:7:1", + "src": "25404:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1381, + "id": 873, "isConstant": false, "isLValue": false, "isPure": false, @@ -10612,31 +10612,31 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24717:69:1", + "src": "25404:69:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1382, + "id": 874, "nodeType": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "assignments": [ - 1384, - 1386 + 876, + 878 ], "declarations": [ { "constant": false, - "id": 1384, + "id": 876, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24857:12:1", + "scope": 890, + "src": "25547:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10644,10 +10644,10 @@ "typeString": "bool" }, "typeName": { - "id": 1383, + "id": 875, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "24857:4:1", + "src": "25547:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -10657,12 +10657,12 @@ }, { "constant": false, - "id": 1386, + "id": 878, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1398, - "src": "24871:23:1", + "scope": 890, + "src": "25561:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10670,10 +10670,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1385, + "id": 877, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24871:5:1", + "src": "25561:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10682,16 +10682,16 @@ "visibility": "internal" } ], - "id": 1391, + "id": 883, "initialValue": { "arguments": [ { - "id": 1389, + "id": 881, "name": "data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1369, - "src": "24918:4:1", + "referencedDeclaration": 861, + "src": "25608:4:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -10706,31 +10706,31 @@ } ], "expression": { - "id": 1387, + "id": 879, "name": "target", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1367, - "src": "24898:6:1", + "referencedDeclaration": 859, + "src": "25588:6:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 1388, + "id": 880, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "delegatecall", "nodeType": "MemberAccess", - "src": "24898:19:1", + "src": "25588:19:0", "typeDescriptions": { "typeIdentifier": "t_function_baredelegatecall_nonpayable$_t_bytes_memory_ptr_$returns$_t_bool_$_t_bytes_memory_ptr_$", "typeString": "function (bytes memory) returns (bool,bytes memory)" } }, - "id": 1390, + "id": 882, "isConstant": false, "isLValue": false, "isPure": false, @@ -10738,7 +10738,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24898:25:1", + "src": "25588:25:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes_memory_ptr_$", @@ -10746,42 +10746,42 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "expression": { "arguments": [ { - "id": 1393, + "id": 885, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1384, - "src": "24958:7:1", + "referencedDeclaration": 876, + "src": "25649:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 1394, + "id": 886, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1386, - "src": "24967:10:1", + "referencedDeclaration": 878, + "src": "25658:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, { - "id": 1395, + "id": 887, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1371, - "src": "24979:12:1", + "referencedDeclaration": 863, + "src": "25670:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -10803,18 +10803,18 @@ "typeString": "string memory" } ], - "id": 1392, + "id": 884, "name": "_verifyCallResult", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1429, - "src": "24940:17:1", + "referencedDeclaration": 921, + "src": "25631:17:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_bool_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bool,bytes memory,string memory) pure returns (bytes memory)" } }, - "id": 1396, + "id": 888, "isConstant": false, "isLValue": false, "isPure": false, @@ -10822,44 +10822,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "24940:52:1", + "src": "25631:52:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1375, - "id": 1397, + "functionReturnParameters": 867, + "id": 889, "nodeType": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ] }, "documentation": { - "id": 1365, + "id": 857, "nodeType": "StructuredDocumentation", - "src": "24402:175:1", + "src": "25082:180:0", "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1399, + "id": 891, "implemented": true, "kind": "function", "modifiers": [], "name": "functionDelegateCall", "nodeType": "FunctionDefinition", "parameters": { - "id": 1372, + "id": 864, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1367, + "id": 859, "mutability": "mutable", "name": "target", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24612:14:1", + "scope": 891, + "src": "25298:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -10867,10 +10867,10 @@ "typeString": "address" }, "typeName": { - "id": 1366, + "id": 858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "24612:7:1", + "src": "25298:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -10881,12 +10881,12 @@ }, { "constant": false, - "id": 1369, + "id": 861, "mutability": "mutable", "name": "data", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24628:17:1", + "scope": 891, + "src": "25314:17:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10894,10 +10894,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1368, + "id": 860, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24628:5:1", + "src": "25314:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10907,12 +10907,12 @@ }, { "constant": false, - "id": 1371, + "id": 863, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24647:26:1", + "scope": 891, + "src": "25333:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10920,10 +10920,10 @@ "typeString": "string" }, "typeName": { - "id": 1370, + "id": 862, "name": "string", "nodeType": "ElementaryTypeName", - "src": "24647:6:1", + "src": "25333:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -10932,20 +10932,20 @@ "visibility": "internal" } ], - "src": "24611:63:1" + "src": "25297:63:0" }, "returnParameters": { - "id": 1375, + "id": 867, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1374, + "id": 866, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1399, - "src": "24693:12:1", + "scope": 891, + "src": "25379:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -10953,10 +10953,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1373, + "id": 865, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "24693:5:1", + "src": "25379:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -10965,37 +10965,37 @@ "visibility": "internal" } ], - "src": "24692:14:1" + "src": "25378:14:0" }, - "scope": 1430, - "src": "24582:417:1", + "scope": 922, + "src": "25268:423:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1428, + "id": 920, "nodeType": "Block", - "src": "25134:596:1", + "src": "25828:613:0", "statements": [ { "condition": { - "id": 1410, + "id": 902, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1401, - "src": "25148:7:1", + "referencedDeclaration": 893, + "src": "25843:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1426, + "id": 918, "nodeType": "Block", - "src": "25205:519:1", + "src": "25902:532:0", "statements": [ { "condition": { @@ -11003,32 +11003,32 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1417, + "id": 909, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "expression": { - "id": 1414, + "id": 906, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25289:10:1", + "referencedDeclaration": 895, + "src": "25988:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 1415, + "id": 907, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "25289:17:1", + "src": "25988:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11038,41 +11038,41 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 1416, + "id": 908, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "25309:1:1", + "src": "26008:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "25289:21:1", + "src": "25988:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1424, + "id": 916, "nodeType": "Block", - "src": "25661:53:1", + "src": "26368:55:0", "statements": [ { "expression": { "arguments": [ { - "id": 1421, + "id": 913, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1405, - "src": "25686:12:1", + "referencedDeclaration": 897, + "src": "26394:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -11086,7 +11086,7 @@ "typeString": "string memory" } ], - "id": 1420, + "id": 912, "name": "revert", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -11094,13 +11094,13 @@ 4294967277 ], "referencedDeclaration": 4294967277, - "src": "25679:6:1", + "src": "26387:6:0", "typeDescriptions": { "typeIdentifier": "t_function_revert_pure$_t_string_memory_ptr_$returns$__$", "typeString": "function (string memory) pure" } }, - "id": 1422, + "id": 914, "isConstant": false, "isLValue": false, "isPure": false, @@ -11108,56 +11108,56 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "25679:20:1", + "src": "26387:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1423, + "id": 915, "nodeType": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ] }, - "id": 1425, + "id": 917, "nodeType": "IfStatement", - "src": "25285:429:1", + "src": "25984:439:0", "trueBody": { - "id": 1419, + "id": 911, "nodeType": "Block", - "src": "25312:343:1", + "src": "26011:351:0", "statements": [ { "AST": { "nodeType": "YulBlock", - "src": "25496:145:1", + "src": "26199:148:0", "statements": [ { "nodeType": "YulVariableDeclaration", - "src": "25518:40:1", + "src": "26222:40:0", "value": { "arguments": [ { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25547:10:1" + "src": "26251:10:0" } ], "functionName": { "name": "mload", "nodeType": "YulIdentifier", - "src": "25541:5:1" + "src": "26245:5:0" }, "nodeType": "YulFunctionCall", - "src": "25541:17:1" + "src": "26245:17:0" }, "variables": [ { "name": "returndata_size", "nodeType": "YulTypedName", - "src": "25522:15:1", + "src": "26226:15:0", "type": "" } ] @@ -11170,118 +11170,118 @@ { "kind": "number", "nodeType": "YulLiteral", - "src": "25590:2:1", + "src": "26295:2:0", "type": "", "value": "32" }, { "name": "returndata", "nodeType": "YulIdentifier", - "src": "25594:10:1" + "src": "26299:10:0" } ], "functionName": { "name": "add", "nodeType": "YulIdentifier", - "src": "25586:3:1" + "src": "26291:3:0" }, "nodeType": "YulFunctionCall", - "src": "25586:19:1" + "src": "26291:19:0" }, { "name": "returndata_size", "nodeType": "YulIdentifier", - "src": "25607:15:1" + "src": "26312:15:0" } ], "functionName": { "name": "revert", "nodeType": "YulIdentifier", - "src": "25579:6:1" + "src": "26284:6:0" }, "nodeType": "YulFunctionCall", - "src": "25579:44:1" + "src": "26284:44:0" }, "nodeType": "YulExpressionStatement", - "src": "25579:44:1" + "src": "26284:44:0" } ] }, "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], - "id": 1418, + "id": 910, "nodeType": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ] } } ] }, - "id": 1427, + "id": 919, "nodeType": "IfStatement", - "src": "25144:580:1", + "src": "25839:595:0", "trueBody": { - "id": 1413, + "id": 905, "nodeType": "Block", - "src": "25157:42:1", + "src": "25852:44:0", "statements": [ { "expression": { - "id": 1411, + "id": 903, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1403, - "src": "25178:10:1", + "referencedDeclaration": 895, + "src": "25874:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "functionReturnParameters": 1409, - "id": 1412, + "functionReturnParameters": 901, + "id": 904, "nodeType": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ] } } ] }, - "id": 1429, + "id": 921, "implemented": true, "kind": "function", "modifiers": [], "name": "_verifyCallResult", "nodeType": "FunctionDefinition", "parameters": { - "id": 1406, + "id": 898, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1401, + "id": 893, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25032:12:1", + "scope": 921, + "src": "25726:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11289,10 +11289,10 @@ "typeString": "bool" }, "typeName": { - "id": 1400, + "id": 892, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "25032:4:1", + "src": "25726:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11302,12 +11302,12 @@ }, { "constant": false, - "id": 1403, + "id": 895, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25046:23:1", + "scope": 921, + "src": "25740:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11315,10 +11315,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1402, + "id": 894, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25046:5:1", + "src": "25740:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11328,12 +11328,12 @@ }, { "constant": false, - "id": 1405, + "id": 897, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25071:26:1", + "scope": 921, + "src": "25765:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11341,10 +11341,10 @@ "typeString": "string" }, "typeName": { - "id": 1404, + "id": 896, "name": "string", "nodeType": "ElementaryTypeName", - "src": "25071:6:1", + "src": "25765:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -11353,20 +11353,20 @@ "visibility": "internal" } ], - "src": "25031:67:1" + "src": "25725:67:0" }, "returnParameters": { - "id": 1409, + "id": 901, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1408, + "id": 900, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1429, - "src": "25120:12:1", + "scope": 921, + "src": "25814:12:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -11374,10 +11374,10 @@ "typeString": "bytes" }, "typeName": { - "id": 1407, + "id": 899, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "25120:5:1", + "src": "25814:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -11386,20 +11386,20 @@ "visibility": "internal" } ], - "src": "25119:14:1" + "src": "25813:14:0" }, - "scope": 1430, - "src": "25005:725:1", + "scope": 922, + "src": "25699:742:0", "stateMutability": "pure", "virtual": false, "visibility": "private" } ], - "scope": 3499, - "src": "18048:7684:1" + "scope": 2991, + "src": "18579:7865:0" }, { - "id": 1431, + "id": 923, "literals": [ "solidity", ">=", @@ -11410,7 +11410,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "abstract": false, @@ -11418,31 +11418,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1432, + "id": 924, "nodeType": "StructuredDocumentation", - "src": "25824:686:1", + "src": "26541:709:0", "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, "fullyImplemented": true, - "id": 1921, + "id": 1413, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableSet.Set", - "id": 1440, + "id": 932, "members": [ { "constant": false, - "id": 1435, + "id": 927, "mutability": "mutable", "name": "_values", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27033:17:1", + "scope": 932, + "src": "27786:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11451,18 +11451,18 @@ }, "typeName": { "baseType": { - "id": 1433, + "id": 925, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27033:7:1", + "src": "27786:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1434, + "id": 926, "nodeType": "ArrayTypeName", - "src": "27033:9:1", + "src": "27786:9:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage_ptr", "typeString": "bytes32[]" @@ -11472,12 +11472,12 @@ }, { "constant": false, - "id": 1439, + "id": 931, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1440, - "src": "27184:37:1", + "scope": 932, + "src": "27941:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11485,28 +11485,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1438, + "id": 930, "keyType": { - "id": 1436, + "id": 928, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27193:7:1", + "src": "27950:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "27184:28:1", + "src": "27941:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1437, + "id": 929, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "27204:7:1", + "src": "27961:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11518,19 +11518,19 @@ ], "name": "Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "26979:249:1", + "scope": 1413, + "src": "27730:256:0", "visibility": "public" }, { "body": { - "id": 1480, + "id": 972, "nodeType": "Block", - "src": "27467:335:1", + "src": "28233:345:0", "statements": [ { "condition": { - "id": 1454, + "id": 946, "isConstant": false, "isLValue": false, "isPure": false, @@ -11538,28 +11538,28 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "27481:22:1", + "src": "28248:22:0", "subExpression": { "arguments": [ { - "id": 1451, + "id": 943, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27492:3:1", + "referencedDeclaration": 935, + "src": "28259:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, { - "id": 1452, + "id": 944, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27497:5:1", + "referencedDeclaration": 937, + "src": "28264:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11569,7 +11569,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -11577,18 +11577,18 @@ "typeString": "bytes32" } ], - "id": 1450, + "id": 942, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "27482:9:1", + "referencedDeclaration": 1071, + "src": "28249:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1453, + "id": 945, "isConstant": false, "isLValue": false, "isPure": false, @@ -11596,7 +11596,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27482:21:1", + "src": "28249:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -11609,52 +11609,52 @@ } }, "falseBody": { - "id": 1478, + "id": 970, "nodeType": "Block", - "src": "27759:37:1", + "src": "28532:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1476, + "id": 968, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27780:5:1", + "src": "28554:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1449, - "id": 1477, + "functionReturnParameters": 941, + "id": 969, "nodeType": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ] }, - "id": 1479, + "id": 971, "nodeType": "IfStatement", - "src": "27477:319:1", + "src": "28244:327:0", "trueBody": { - "id": 1475, + "id": 967, "nodeType": "Block", - "src": "27505:248:1", + "src": "28272:254:0", "statements": [ { "expression": { "arguments": [ { - "id": 1460, + "id": 952, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27536:5:1", + "referencedDeclaration": 937, + "src": "28304:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11670,45 +11670,45 @@ ], "expression": { "expression": { - "id": 1455, + "id": 947, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27519:3:1", + "referencedDeclaration": 935, + "src": "28287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1458, + "id": 950, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27519:11:1", + "referencedDeclaration": 927, + "src": "28287:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1459, + "id": 951, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "27519:16:1", + "src": "28287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypush_nonpayable$_t_bytes32_$returns$__$", "typeString": "function (bytes32)" } }, - "id": 1461, + "id": 953, "isConstant": false, "isLValue": false, "isPure": false, @@ -11716,20 +11716,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "27519:23:1", + "src": "28287:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1462, + "id": 954, "nodeType": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "expression": { - "id": 1471, + "id": 963, "isConstant": false, "isLValue": false, "isPure": false, @@ -11737,39 +11737,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1463, + "id": 955, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27677:3:1", + "referencedDeclaration": 935, + "src": "28448:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1466, + "id": 958, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "27677:12:1", + "referencedDeclaration": 931, + "src": "28448:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1467, + "id": 959, "indexExpression": { - "id": 1465, + "id": 957, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1445, - "src": "27690:5:1", + "referencedDeclaration": 937, + "src": "28461:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11780,7 +11780,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "27677:19:1", + "src": "28448:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -11791,75 +11791,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1468, + "id": 960, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1443, - "src": "27699:3:1", + "referencedDeclaration": 935, + "src": "28470:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1469, + "id": 961, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "27699:11:1", + "referencedDeclaration": 927, + "src": "28470:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1470, + "id": 962, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "27699:18:1", + "src": "28470:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "27677:40:1", + "src": "28448:40:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1472, + "id": 964, "nodeType": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "expression": { "hexValue": "74727565", - "id": 1473, + "id": 965, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "27738:4:1", + "src": "28510:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1449, - "id": 1474, + "functionReturnParameters": 941, + "id": 966, "nodeType": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ] } @@ -11867,43 +11867,43 @@ ] }, "documentation": { - "id": 1441, + "id": 933, "nodeType": "StructuredDocumentation", - "src": "27234:159:1", + "src": "27994:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1481, + "id": 973, "implemented": true, "kind": "function", "modifiers": [], "name": "_add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1446, + "id": 938, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1443, + "id": 935, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27412:15:1", + "scope": 973, + "src": "28178:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1442, + "id": 934, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27412:3:1", + "referencedDeclaration": 932, + "src": "28178:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -11911,12 +11911,12 @@ }, { "constant": false, - "id": 1445, + "id": 937, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27429:13:1", + "scope": 973, + "src": "28195:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11924,10 +11924,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1444, + "id": 936, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "27429:7:1", + "src": "28195:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -11936,20 +11936,20 @@ "visibility": "internal" } ], - "src": "27411:32:1" + "src": "28177:32:0" }, "returnParameters": { - "id": 1449, + "id": 941, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1448, + "id": 940, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1481, - "src": "27461:4:1", + "scope": 973, + "src": "28227:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -11957,10 +11957,10 @@ "typeString": "bool" }, "typeName": { - "id": 1447, + "id": 939, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "27461:4:1", + "src": "28227:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -11969,33 +11969,33 @@ "visibility": "internal" } ], - "src": "27460:6:1" + "src": "28226:6:0" }, - "scope": 1921, - "src": "27398:404:1", + "scope": 1413, + "src": "28164:414:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1560, + "id": 1052, "nodeType": "Block", - "src": "28042:1440:1", + "src": "28826:1472:0", "statements": [ { "assignments": [ - 1492 + 984 ], "declarations": [ { "constant": false, - "id": 1492, + "id": 984, "mutability": "mutable", "name": "valueIndex", "nodeType": "VariableDeclaration", - "scope": 1560, - "src": "28152:18:1", + "scope": 1052, + "src": "28938:18:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12003,10 +12003,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1491, + "id": 983, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28152:7:1", + "src": "28938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12015,43 +12015,43 @@ "visibility": "internal" } ], - "id": 1497, + "id": 989, "initialValue": { "baseExpression": { "expression": { - "id": 1493, + "id": 985, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28173:3:1", + "referencedDeclaration": 976, + "src": "28959:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1494, + "id": 986, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "28173:12:1", + "referencedDeclaration": 931, + "src": "28959:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1496, + "id": 988, "indexExpression": { - "id": 1495, + "id": 987, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "28186:5:1", + "referencedDeclaration": 978, + "src": "28972:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12062,14 +12062,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28173:19:1", + "src": "28959:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "condition": { @@ -12077,18 +12077,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1500, + "id": 992, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1498, + "id": 990, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28207:10:1", + "referencedDeclaration": 984, + "src": "28995:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12098,76 +12098,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1499, + "id": 991, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28221:1:1", + "src": "29009:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "28207:15:1", + "src": "28995:15:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1558, + "id": 1050, "nodeType": "Block", - "src": "29439:37:1", + "src": "30252:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 1556, + "id": 1048, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29460:5:1", + "src": "30274:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1490, - "id": 1557, + "functionReturnParameters": 982, + "id": 1049, "nodeType": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ] }, - "id": 1559, + "id": 1051, "nodeType": "IfStatement", - "src": "28203:1273:1", + "src": "28991:1300:0", "trueBody": { - "id": 1555, + "id": 1047, "nodeType": "Block", - "src": "28224:1209:1", + "src": "29012:1234:0", "statements": [ { "assignments": [ - 1502 + 994 ], "declarations": [ { "constant": false, - "id": 1502, + "id": 994, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28564:21:1", + "scope": 1047, + "src": "29357:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12175,10 +12175,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1501, + "id": 993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28564:7:1", + "src": "29357:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12187,24 +12187,24 @@ "visibility": "internal" } ], - "id": 1506, + "id": 998, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1505, + "id": 997, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1503, + "id": 995, "name": "valueIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1492, - "src": "28588:10:1", + "referencedDeclaration": 984, + "src": "29381:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12214,42 +12214,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1504, + "id": 996, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28601:1:1", + "src": "29394:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28588:14:1", + "src": "29381:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "assignments": [ - 1508 + 1000 ], "declarations": [ { "constant": false, - "id": 1508, + "id": 1000, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28616:17:1", + "scope": 1047, + "src": "29410:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12257,10 +12257,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1507, + "id": 999, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "28616:7:1", + "src": "29410:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12269,13 +12269,13 @@ "visibility": "internal" } ], - "id": 1514, + "id": 1006, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1513, + "id": 1005, "isConstant": false, "isLValue": false, "isPure": false, @@ -12283,39 +12283,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1509, + "id": 1001, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28636:3:1", + "referencedDeclaration": 976, + "src": "29430:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1510, + "id": 1002, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28636:11:1", + "referencedDeclaration": 927, + "src": "29430:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1511, + "id": 1003, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "28636:18:1", + "src": "29430:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12325,42 +12325,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1512, + "id": 1004, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "28657:1:1", + "src": "29451:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "28636:22:1", + "src": "29430:22:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "assignments": [ - 1516 + 1008 ], "declarations": [ { "constant": false, - "id": 1516, + "id": 1008, "mutability": "mutable", "name": "lastvalue", "nodeType": "VariableDeclaration", - "scope": 1555, - "src": "28898:17:1", + "scope": 1047, + "src": "29697:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12368,10 +12368,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1515, + "id": 1007, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28898:7:1", + "src": "29697:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12380,43 +12380,43 @@ "visibility": "internal" } ], - "id": 1521, + "id": 1013, "initialValue": { "baseExpression": { "expression": { - "id": 1517, + "id": 1009, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "28918:3:1", + "referencedDeclaration": 976, + "src": "29717:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1518, + "id": 1010, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "28918:11:1", + "referencedDeclaration": 927, + "src": "29717:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1520, + "id": 1012, "indexExpression": { - "id": 1519, + "id": 1011, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1508, - "src": "28930:9:1", + "referencedDeclaration": 1000, + "src": "29729:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12427,18 +12427,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "28918:22:1", + "src": "29717:22:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "expression": { - "id": 1528, + "id": 1020, "isConstant": false, "isLValue": false, "isPure": false, @@ -12446,39 +12446,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1522, + "id": 1014, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29032:3:1", + "referencedDeclaration": 976, + "src": "29834:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1525, + "id": 1017, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29032:11:1", + "referencedDeclaration": 927, + "src": "29834:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1526, + "id": 1018, "indexExpression": { - "id": 1524, + "id": 1016, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29044:13:1", + "referencedDeclaration": 994, + "src": "29846:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12489,7 +12489,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29032:26:1", + "src": "29834:26:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12498,30 +12498,30 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1527, + "id": 1019, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29061:9:1", + "referencedDeclaration": 1008, + "src": "29863:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "29032:38:1", + "src": "29834:38:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1529, + "id": 1021, "nodeType": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "expression": { - "id": 1538, + "id": 1030, "isConstant": false, "isLValue": false, "isPure": false, @@ -12529,39 +12529,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1530, + "id": 1022, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29136:3:1", + "referencedDeclaration": 976, + "src": "29940:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1533, + "id": 1025, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29136:12:1", + "referencedDeclaration": 931, + "src": "29940:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1534, + "id": 1026, "indexExpression": { - "id": 1532, + "id": 1024, "name": "lastvalue", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1516, - "src": "29149:9:1", + "referencedDeclaration": 1008, + "src": "29953:9:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12572,7 +12572,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29136:23:1", + "src": "29940:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12585,18 +12585,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1537, + "id": 1029, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1535, + "id": 1027, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1502, - "src": "29162:13:1", + "referencedDeclaration": 994, + "src": "29966:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12606,35 +12606,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 1536, + "id": 1028, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29178:1:1", + "src": "29982:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "29162:17:1", + "src": "29966:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "29136:43:1", + "src": "29940:43:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1539, + "id": 1031, "nodeType": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "expression": { @@ -12643,45 +12643,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 1540, + "id": 1032, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29285:3:1", + "referencedDeclaration": 976, + "src": "30092:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1543, + "id": 1035, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29285:11:1", + "referencedDeclaration": 927, + "src": "30092:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1544, + "id": 1036, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "29285:15:1", + "src": "30092:15:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 1545, + "id": 1037, "isConstant": false, "isLValue": false, "isPure": false, @@ -12689,20 +12689,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "29285:17:1", + "src": "30092:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1546, + "id": 1038, "nodeType": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "expression": { - "id": 1551, + "id": 1043, "isConstant": false, "isLValue": false, "isPure": false, @@ -12710,43 +12710,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "29370:26:1", + "src": "30180:26:0", "subExpression": { "baseExpression": { "expression": { - "id": 1547, + "id": 1039, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1484, - "src": "29377:3:1", + "referencedDeclaration": 976, + "src": "30187:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1548, + "id": 1040, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29377:12:1", + "referencedDeclaration": 931, + "src": "30187:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1550, + "id": 1042, "indexExpression": { - "id": 1549, + "id": 1041, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1486, - "src": "29390:5:1", + "referencedDeclaration": 978, + "src": "30200:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12757,7 +12757,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "29377:19:1", + "src": "30187:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12768,31 +12768,31 @@ "typeString": "tuple()" } }, - "id": 1552, + "id": 1044, "nodeType": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "expression": { "hexValue": "74727565", - "id": 1553, + "id": 1045, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "29418:4:1", + "src": "30230:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1490, - "id": 1554, + "functionReturnParameters": 982, + "id": 1046, "nodeType": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ] } @@ -12800,43 +12800,43 @@ ] }, "documentation": { - "id": 1482, + "id": 974, "nodeType": "StructuredDocumentation", - "src": "27808:157:1", + "src": "28586:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1561, + "id": 1053, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1487, + "id": 979, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1484, + "id": 976, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "27987:15:1", + "scope": 1053, + "src": "28771:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1483, + "id": 975, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "27987:3:1", + "referencedDeclaration": 932, + "src": "28771:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -12844,12 +12844,12 @@ }, { "constant": false, - "id": 1486, + "id": 978, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28004:13:1", + "scope": 1053, + "src": "28788:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12857,10 +12857,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1485, + "id": 977, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "28004:7:1", + "src": "28788:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12869,20 +12869,20 @@ "visibility": "internal" } ], - "src": "27986:32:1" + "src": "28770:32:0" }, "returnParameters": { - "id": 1490, + "id": 982, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1489, + "id": 981, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1561, - "src": "28036:4:1", + "scope": 1053, + "src": "28820:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -12890,10 +12890,10 @@ "typeString": "bool" }, "typeName": { - "id": 1488, + "id": 980, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "28036:4:1", + "src": "28820:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -12902,19 +12902,19 @@ "visibility": "internal" } ], - "src": "28035:6:1" + "src": "28819:6:0" }, - "scope": 1921, - "src": "27970:1512:1", + "scope": 1413, + "src": "28754:1544:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 1578, + "id": 1070, "nodeType": "Block", - "src": "29642:48:1", + "src": "30463:50:0", "statements": [ { "expression": { @@ -12922,7 +12922,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1576, + "id": 1068, "isConstant": false, "isLValue": false, "isPure": false, @@ -12930,39 +12930,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 1571, + "id": 1063, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1564, - "src": "29659:3:1", + "referencedDeclaration": 1056, + "src": "30481:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1572, + "id": 1064, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1439, - "src": "29659:12:1", + "referencedDeclaration": 931, + "src": "30481:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1574, + "id": 1066, "indexExpression": { - "id": 1573, + "id": 1065, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1566, - "src": "29672:5:1", + "referencedDeclaration": 1058, + "src": "30494:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -12973,7 +12973,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "29659:19:1", + "src": "30481:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -12983,71 +12983,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 1575, + "id": 1067, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "29682:1:1", + "src": "30504:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "29659:24:1", + "src": "30481:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1570, - "id": 1577, + "functionReturnParameters": 1062, + "id": 1069, "nodeType": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ] }, "documentation": { - "id": 1562, + "id": 1054, "nodeType": "StructuredDocumentation", - "src": "29488:70:1", + "src": "30306:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1579, + "id": 1071, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1567, + "id": 1059, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1564, + "id": 1056, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29582:15:1", + "scope": 1071, + "src": "30403:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1563, + "id": 1055, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29582:3:1", + "referencedDeclaration": 932, + "src": "30403:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13055,12 +13055,12 @@ }, { "constant": false, - "id": 1566, + "id": 1058, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29599:13:1", + "scope": 1071, + "src": "30420:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13068,10 +13068,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1565, + "id": 1057, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "29599:7:1", + "src": "30420:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13080,20 +13080,20 @@ "visibility": "internal" } ], - "src": "29581:32:1" + "src": "30402:32:0" }, "returnParameters": { - "id": 1570, + "id": 1062, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1569, + "id": 1061, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1579, - "src": "29636:4:1", + "scope": 1071, + "src": "30457:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13101,10 +13101,10 @@ "typeString": "bool" }, "typeName": { - "id": 1568, + "id": 1060, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "29636:4:1", + "src": "30457:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13113,127 +13113,127 @@ "visibility": "internal" } ], - "src": "29635:6:1" + "src": "30456:6:0" }, - "scope": 1921, - "src": "29563:127:1", + "scope": 1413, + "src": "30384:129:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1591, + "id": 1083, "nodeType": "Block", - "src": "29836:42:1", + "src": "30664:44:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 1587, + "id": 1079, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1582, - "src": "29853:3:1", + "referencedDeclaration": 1074, + "src": "30682:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1588, + "id": 1080, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "29853:11:1", + "referencedDeclaration": 927, + "src": "30682:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1589, + "id": 1081, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "29853:18:1", + "src": "30682:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1586, - "id": 1590, + "functionReturnParameters": 1078, + "id": 1082, "nodeType": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ] }, "documentation": { - "id": 1580, + "id": 1072, "nodeType": "StructuredDocumentation", - "src": "29696:70:1", + "src": "30521:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1592, + "id": 1084, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1583, + "id": 1075, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1582, + "id": 1074, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29788:15:1", + "scope": 1084, + "src": "30616:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1581, + "id": 1073, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "29788:3:1", + "referencedDeclaration": 932, + "src": "30616:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, "visibility": "internal" } ], - "src": "29787:17:1" + "src": "30615:17:0" }, "returnParameters": { - "id": 1586, + "id": 1078, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1585, + "id": 1077, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1592, - "src": "29827:7:1", + "scope": 1084, + "src": "30655:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13241,10 +13241,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1584, + "id": 1076, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "29827:7:1", + "src": "30655:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13253,19 +13253,19 @@ "visibility": "internal" } ], - "src": "29826:9:1" + "src": "30654:9:0" }, - "scope": 1921, - "src": "29771:107:1", + "scope": 1413, + "src": "30599:109:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 1616, + "id": 1108, "nodeType": "Block", - "src": "30286:125:1", + "src": "31128:128:0", "statements": [ { "expression": { @@ -13275,7 +13275,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1607, + "id": 1099, "isConstant": false, "isLValue": false, "isPure": false, @@ -13283,39 +13283,39 @@ "leftExpression": { "expression": { "expression": { - "id": 1603, + "id": 1095, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30304:3:1", + "referencedDeclaration": 1087, + "src": "31147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1604, + "id": 1096, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30304:11:1", + "referencedDeclaration": 927, + "src": "31147:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1605, + "id": 1097, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "30304:18:1", + "src": "31147:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13324,18 +13324,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 1606, + "id": 1098, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30325:5:1", + "referencedDeclaration": 1089, + "src": "31168:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "30304:26:1", + "src": "31147:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13343,14 +13343,14 @@ }, { "hexValue": "456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473", - "id": 1608, + "id": 1100, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "30332:36:1", + "src": "31175:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_045d6834e6193a687012a3ad777f612279e549b6945364d9d2324f48610d3cbb", "typeString": "literal_string \"EnumerableSet: index out of bounds\"" @@ -13369,7 +13369,7 @@ "typeString": "literal_string \"EnumerableSet: index out of bounds\"" } ], - "id": 1602, + "id": 1094, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -13377,13 +13377,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "30296:7:1", + "src": "31139:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 1609, + "id": 1101, "isConstant": false, "isLValue": false, "isPure": false, @@ -13391,54 +13391,54 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30296:73:1", + "src": "31139:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1610, + "id": 1102, "nodeType": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "expression": { "baseExpression": { "expression": { - "id": 1611, + "id": 1103, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1595, - "src": "30386:3:1", + "referencedDeclaration": 1087, + "src": "31230:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" } }, - "id": 1612, + "id": 1104, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_values", "nodeType": "MemberAccess", - "referencedDeclaration": 1435, - "src": "30386:11:1", + "referencedDeclaration": 927, + "src": "31230:11:0", "typeDescriptions": { "typeIdentifier": "t_array$_t_bytes32_$dyn_storage", "typeString": "bytes32[] storage ref" } }, - "id": 1614, + "id": 1106, "indexExpression": { - "id": 1613, + "id": 1105, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1597, - "src": "30398:5:1", + "referencedDeclaration": 1089, + "src": "31242:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13449,57 +13449,57 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "30386:18:1", + "src": "31230:18:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1601, - "id": 1615, + "functionReturnParameters": 1093, + "id": 1107, "nodeType": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ] }, "documentation": { - "id": 1593, + "id": 1085, "nodeType": "StructuredDocumentation", - "src": "29883:322:1", + "src": "30715:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1617, + "id": 1109, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1598, + "id": 1090, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1595, + "id": 1087, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30223:15:1", + "scope": 1109, + "src": "31065:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1594, + "id": 1086, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30223:3:1", + "referencedDeclaration": 932, + "src": "31065:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13507,12 +13507,12 @@ }, { "constant": false, - "id": 1597, + "id": 1089, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30240:13:1", + "scope": 1109, + "src": "31082:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13520,10 +13520,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1596, + "id": 1088, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "30240:7:1", + "src": "31082:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -13532,20 +13532,20 @@ "visibility": "internal" } ], - "src": "30222:32:1" + "src": "31064:32:0" }, "returnParameters": { - "id": 1601, + "id": 1093, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1600, + "id": 1092, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1617, - "src": "30277:7:1", + "scope": 1109, + "src": "31119:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13553,10 +13553,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1599, + "id": 1091, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30277:7:1", + "src": "31119:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13565,40 +13565,40 @@ "visibility": "internal" } ], - "src": "30276:9:1" + "src": "31118:9:0" }, - "scope": 1921, - "src": "30210:201:1", + "scope": 1413, + "src": "31052:204:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableSet.Bytes32Set", - "id": 1620, + "id": 1112, "members": [ { "constant": false, - "id": 1619, + "id": 1111, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1620, - "src": "30464:10:1", + "scope": 1112, + "src": "31314:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1618, + "id": 1110, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "30464:3:1", + "referencedDeclaration": 932, + "src": "31314:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -13607,53 +13607,53 @@ ], "name": "Bytes32Set", "nodeType": "StructDefinition", - "scope": 1921, - "src": "30436:45:1", + "scope": 1413, + "src": "31285:47:0", "visibility": "public" }, { "body": { - "id": 1636, + "id": 1128, "nodeType": "Block", - "src": "30727:47:1", + "src": "31586:49:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1631, + "id": 1123, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1623, - "src": "30749:3:1", + "referencedDeclaration": 1115, + "src": "31609:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1632, + "id": 1124, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "30749:10:1", + "referencedDeclaration": 1111, + "src": "31609:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1633, + "id": 1125, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1625, - "src": "30761:5:1", + "referencedDeclaration": 1117, + "src": "31621:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13663,7 +13663,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -13671,18 +13671,18 @@ "typeString": "bytes32" } ], - "id": 1630, + "id": 1122, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "30744:4:1", + "referencedDeclaration": 973, + "src": "31604:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1634, + "id": 1126, "isConstant": false, "isLValue": false, "isPure": false, @@ -13690,58 +13690,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "30744:23:1", + "src": "31604:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1629, - "id": 1635, + "functionReturnParameters": 1121, + "id": 1127, "nodeType": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ] }, "documentation": { - "id": 1621, + "id": 1113, "nodeType": "StructuredDocumentation", - "src": "30487:159:1", + "src": "31340:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1637, + "id": 1129, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1626, + "id": 1118, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1623, + "id": 1115, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30664:22:1", + "scope": 1129, + "src": "31523:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1622, + "id": 1114, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30664:10:1", + "referencedDeclaration": 1112, + "src": "31523:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -13749,12 +13749,12 @@ }, { "constant": false, - "id": 1625, + "id": 1117, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30688:13:1", + "scope": 1129, + "src": "31547:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13762,10 +13762,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1624, + "id": 1116, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30688:7:1", + "src": "31547:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13774,20 +13774,20 @@ "visibility": "internal" } ], - "src": "30663:39:1" + "src": "31522:39:0" }, "returnParameters": { - "id": 1629, + "id": 1121, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1628, + "id": 1120, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1637, - "src": "30721:4:1", + "scope": 1129, + "src": "31580:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13795,10 +13795,10 @@ "typeString": "bool" }, "typeName": { - "id": 1627, + "id": 1119, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "30721:4:1", + "src": "31580:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -13807,57 +13807,57 @@ "visibility": "internal" } ], - "src": "30720:6:1" + "src": "31579:6:0" }, - "scope": 1921, - "src": "30651:123:1", + "scope": 1413, + "src": "31510:125:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1653, + "id": 1145, "nodeType": "Block", - "src": "31021:50:1", + "src": "31890:52:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1648, + "id": 1140, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1640, - "src": "31046:3:1", + "referencedDeclaration": 1132, + "src": "31916:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1649, + "id": 1141, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31046:10:1", + "referencedDeclaration": 1111, + "src": "31916:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1650, + "id": 1142, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1642, - "src": "31058:5:1", + "referencedDeclaration": 1134, + "src": "31928:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13867,7 +13867,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -13875,18 +13875,18 @@ "typeString": "bytes32" } ], - "id": 1647, + "id": 1139, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "31038:7:1", + "referencedDeclaration": 1053, + "src": "31908:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1651, + "id": 1143, "isConstant": false, "isLValue": false, "isPure": false, @@ -13894,58 +13894,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31038:26:1", + "src": "31908:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1646, - "id": 1652, + "functionReturnParameters": 1138, + "id": 1144, "nodeType": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ] }, "documentation": { - "id": 1638, + "id": 1130, "nodeType": "StructuredDocumentation", - "src": "30780:157:1", + "src": "31643:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1654, + "id": 1146, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1643, + "id": 1135, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1640, + "id": 1132, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30958:22:1", + "scope": 1146, + "src": "31827:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1639, + "id": 1131, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "30958:10:1", + "referencedDeclaration": 1112, + "src": "31827:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -13953,12 +13953,12 @@ }, { "constant": false, - "id": 1642, + "id": 1134, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "30982:13:1", + "scope": 1146, + "src": "31851:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13966,10 +13966,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1641, + "id": 1133, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "30982:7:1", + "src": "31851:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -13978,20 +13978,20 @@ "visibility": "internal" } ], - "src": "30957:39:1" + "src": "31826:39:0" }, "returnParameters": { - "id": 1646, + "id": 1138, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1645, + "id": 1137, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1654, - "src": "31015:4:1", + "scope": 1146, + "src": "31884:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -13999,10 +13999,10 @@ "typeString": "bool" }, "typeName": { - "id": 1644, + "id": 1136, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31015:4:1", + "src": "31884:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14011,57 +14011,57 @@ "visibility": "internal" } ], - "src": "31014:6:1" + "src": "31883:6:0" }, - "scope": 1921, - "src": "30942:129:1", + "scope": 1413, + "src": "31811:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1670, + "id": 1162, "nodeType": "Block", - "src": "31238:52:1", + "src": "32114:54:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1665, + "id": 1157, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1657, - "src": "31265:3:1", + "referencedDeclaration": 1149, + "src": "32142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1666, + "id": 1158, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31265:10:1", + "referencedDeclaration": 1111, + "src": "32142:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1667, + "id": 1159, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1659, - "src": "31277:5:1", + "referencedDeclaration": 1151, + "src": "32154:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14071,7 +14071,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14079,18 +14079,18 @@ "typeString": "bytes32" } ], - "id": 1664, + "id": 1156, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "31255:9:1", + "referencedDeclaration": 1071, + "src": "32132:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1668, + "id": 1160, "isConstant": false, "isLValue": false, "isPure": false, @@ -14098,58 +14098,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31255:28:1", + "src": "32132:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1663, - "id": 1669, + "functionReturnParameters": 1155, + "id": 1161, "nodeType": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ] }, "documentation": { - "id": 1655, + "id": 1147, "nodeType": "StructuredDocumentation", - "src": "31077:70:1", + "src": "31950:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1671, + "id": 1163, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1660, + "id": 1152, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1657, + "id": 1149, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31170:22:1", + "scope": 1163, + "src": "32046:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1656, + "id": 1148, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31170:10:1", + "referencedDeclaration": 1112, + "src": "32046:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14157,12 +14157,12 @@ }, { "constant": false, - "id": 1659, + "id": 1151, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31194:13:1", + "scope": 1163, + "src": "32070:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14170,10 +14170,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1658, + "id": 1150, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31194:7:1", + "src": "32070:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14182,20 +14182,20 @@ "visibility": "internal" } ], - "src": "31169:39:1" + "src": "32045:39:0" }, "returnParameters": { - "id": 1663, + "id": 1155, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1662, + "id": 1154, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1671, - "src": "31232:4:1", + "scope": 1163, + "src": "32108:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14203,10 +14203,10 @@ "typeString": "bool" }, "typeName": { - "id": 1661, + "id": 1153, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "31232:4:1", + "src": "32108:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14215,47 +14215,47 @@ "visibility": "internal" } ], - "src": "31231:6:1" + "src": "32107:6:0" }, - "scope": 1921, - "src": "31152:138:1", + "scope": 1413, + "src": "32028:140:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1684, + "id": 1176, "nodeType": "Block", - "src": "31443:43:1", + "src": "32326:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1680, + "id": 1172, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1674, - "src": "31468:3:1", + "referencedDeclaration": 1166, + "src": "32352:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1681, + "id": 1173, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31468:10:1", + "referencedDeclaration": 1111, + "src": "32352:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -14263,22 +14263,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1679, + "id": 1171, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "31460:7:1", + "referencedDeclaration": 1084, + "src": "32344:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1682, + "id": 1174, "isConstant": false, "isLValue": false, "isPure": false, @@ -14286,78 +14286,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31460:19:1", + "src": "32344:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1678, - "id": 1683, + "functionReturnParameters": 1170, + "id": 1175, "nodeType": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ] }, "documentation": { - "id": 1672, + "id": 1164, "nodeType": "StructuredDocumentation", - "src": "31296:70:1", + "src": "32176:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1685, + "id": 1177, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1675, + "id": 1167, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1674, + "id": 1166, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31387:22:1", + "scope": 1177, + "src": "32270:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1673, + "id": 1165, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31387:10:1", + "referencedDeclaration": 1112, + "src": "32270:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, "visibility": "internal" } ], - "src": "31386:24:1" + "src": "32269:24:0" }, "returnParameters": { - "id": 1678, + "id": 1170, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1677, + "id": 1169, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1685, - "src": "31434:7:1", + "scope": 1177, + "src": "32317:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14365,10 +14365,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1676, + "id": 1168, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31434:7:1", + "src": "32317:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14377,57 +14377,57 @@ "visibility": "internal" } ], - "src": "31433:9:1" + "src": "32316:9:0" }, - "scope": 1921, - "src": "31371:115:1", + "scope": 1413, + "src": "32254:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1701, + "id": 1193, "nodeType": "Block", - "src": "31901:46:1", + "src": "32798:48:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1696, + "id": 1188, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1688, - "src": "31922:3:1", + "referencedDeclaration": 1180, + "src": "32820:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set storage pointer" } }, - "id": 1697, + "id": 1189, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1619, - "src": "31922:10:1", + "referencedDeclaration": 1111, + "src": "32820:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1698, + "id": 1190, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1690, - "src": "31934:5:1", + "referencedDeclaration": 1182, + "src": "32832:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14437,7 +14437,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14445,18 +14445,18 @@ "typeString": "uint256" } ], - "id": 1695, + "id": 1187, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "31918:3:1", + "referencedDeclaration": 1109, + "src": "32816:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1699, + "id": 1191, "isConstant": false, "isLValue": false, "isPure": false, @@ -14464,58 +14464,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "31918:22:1", + "src": "32816:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 1694, - "id": 1700, + "functionReturnParameters": 1186, + "id": 1192, "nodeType": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ] }, "documentation": { - "id": 1686, + "id": 1178, "nodeType": "StructuredDocumentation", - "src": "31491:322:1", + "src": "32378:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1702, + "id": 1194, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1691, + "id": 1183, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1688, + "id": 1180, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31830:22:1", + "scope": 1194, + "src": "32727:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" }, "typeName": { - "id": 1687, + "id": 1179, "name": "Bytes32Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1620, - "src": "31830:10:1", + "referencedDeclaration": 1112, + "src": "32727:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Bytes32Set_$1620_storage_ptr", + "typeIdentifier": "t_struct$_Bytes32Set_$1112_storage_ptr", "typeString": "struct EnumerableSet.Bytes32Set" } }, @@ -14523,12 +14523,12 @@ }, { "constant": false, - "id": 1690, + "id": 1182, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31854:13:1", + "scope": 1194, + "src": "32751:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14536,10 +14536,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1689, + "id": 1181, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "31854:7:1", + "src": "32751:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -14548,20 +14548,20 @@ "visibility": "internal" } ], - "src": "31829:39:1" + "src": "32726:39:0" }, "returnParameters": { - "id": 1694, + "id": 1186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1693, + "id": 1185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1702, - "src": "31892:7:1", + "scope": 1194, + "src": "32789:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14569,10 +14569,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1692, + "id": 1184, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "31892:7:1", + "src": "32789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -14581,40 +14581,40 @@ "visibility": "internal" } ], - "src": "31891:9:1" + "src": "32788:9:0" }, - "scope": 1921, - "src": "31818:129:1", + "scope": 1413, + "src": "32715:131:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.AddressSet", - "id": 1705, + "id": 1197, "members": [ { "constant": false, - "id": 1704, + "id": 1196, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1705, - "src": "32000:10:1", + "scope": 1197, + "src": "32904:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1703, + "id": 1195, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "32000:3:1", + "referencedDeclaration": 932, + "src": "32904:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -14623,43 +14623,43 @@ ], "name": "AddressSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "31972:45:1", + "scope": 1413, + "src": "32875:47:0", "visibility": "public" }, { "body": { - "id": 1730, + "id": 1222, "nodeType": "Block", - "src": "32263:74:1", + "src": "33176:76:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1716, + "id": 1208, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1708, - "src": "32285:3:1", + "referencedDeclaration": 1200, + "src": "33199:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1717, + "id": 1209, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32285:10:1", + "referencedDeclaration": 1196, + "src": "33199:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -14670,12 +14670,12 @@ { "arguments": [ { - "id": 1724, + "id": 1216, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1710, - "src": "32321:5:1", + "referencedDeclaration": 1202, + "src": "33235:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -14689,26 +14689,26 @@ "typeString": "address" } ], - "id": 1723, + "id": 1215, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1722, + "id": 1214, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32313:7:1", + "src": "33227:7:0", "typeDescriptions": {} } }, - "id": 1725, + "id": 1217, "isConstant": false, "isLValue": false, "isPure": false, @@ -14716,7 +14716,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32313:14:1", + "src": "33227:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -14731,26 +14731,26 @@ "typeString": "uint160" } ], - "id": 1721, + "id": 1213, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1720, + "id": 1212, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32305:7:1", + "src": "33219:7:0", "typeDescriptions": {} } }, - "id": 1726, + "id": 1218, "isConstant": false, "isLValue": false, "isPure": false, @@ -14758,7 +14758,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32305:23:1", + "src": "33219:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -14773,26 +14773,26 @@ "typeString": "uint256" } ], - "id": 1719, + "id": 1211, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1718, + "id": 1210, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32297:7:1", + "src": "33211:7:0", "typeDescriptions": {} } }, - "id": 1727, + "id": 1219, "isConstant": false, "isLValue": false, "isPure": false, @@ -14800,7 +14800,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32297:32:1", + "src": "33211:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -14811,7 +14811,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -14819,18 +14819,18 @@ "typeString": "bytes32" } ], - "id": 1715, + "id": 1207, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "32280:4:1", + "referencedDeclaration": 973, + "src": "33194:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1728, + "id": 1220, "isConstant": false, "isLValue": false, "isPure": false, @@ -14838,58 +14838,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32280:50:1", + "src": "33194:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1714, - "id": 1729, + "functionReturnParameters": 1206, + "id": 1221, "nodeType": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ] }, "documentation": { - "id": 1706, + "id": 1198, "nodeType": "StructuredDocumentation", - "src": "32023:159:1", + "src": "32930:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1731, + "id": 1223, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1711, + "id": 1203, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1708, + "id": 1200, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32200:22:1", + "scope": 1223, + "src": "33113:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1707, + "id": 1199, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32200:10:1", + "referencedDeclaration": 1197, + "src": "33113:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -14897,12 +14897,12 @@ }, { "constant": false, - "id": 1710, + "id": 1202, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32224:13:1", + "scope": 1223, + "src": "33137:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14910,10 +14910,10 @@ "typeString": "address" }, "typeName": { - "id": 1709, + "id": 1201, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32224:7:1", + "src": "33137:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -14923,20 +14923,20 @@ "visibility": "internal" } ], - "src": "32199:39:1" + "src": "33112:39:0" }, "returnParameters": { - "id": 1714, + "id": 1206, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1713, + "id": 1205, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1731, - "src": "32257:4:1", + "scope": 1223, + "src": "33170:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -14944,10 +14944,10 @@ "typeString": "bool" }, "typeName": { - "id": 1712, + "id": 1204, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32257:4:1", + "src": "33170:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -14956,47 +14956,47 @@ "visibility": "internal" } ], - "src": "32256:6:1" + "src": "33169:6:0" }, - "scope": 1921, - "src": "32187:150:1", + "scope": 1413, + "src": "33100:152:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1756, + "id": 1248, "nodeType": "Block", - "src": "32584:77:1", + "src": "33507:79:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1742, + "id": 1234, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1734, - "src": "32609:3:1", + "referencedDeclaration": 1226, + "src": "33533:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1743, + "id": 1235, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32609:10:1", + "referencedDeclaration": 1196, + "src": "33533:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15007,12 +15007,12 @@ { "arguments": [ { - "id": 1750, + "id": 1242, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1736, - "src": "32645:5:1", + "referencedDeclaration": 1228, + "src": "33569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15026,26 +15026,26 @@ "typeString": "address" } ], - "id": 1749, + "id": 1241, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1748, + "id": 1240, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32637:7:1", + "src": "33561:7:0", "typeDescriptions": {} } }, - "id": 1751, + "id": 1243, "isConstant": false, "isLValue": false, "isPure": false, @@ -15053,7 +15053,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32637:14:1", + "src": "33561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15068,26 +15068,26 @@ "typeString": "uint160" } ], - "id": 1747, + "id": 1239, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1746, + "id": 1238, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32629:7:1", + "src": "33553:7:0", "typeDescriptions": {} } }, - "id": 1752, + "id": 1244, "isConstant": false, "isLValue": false, "isPure": false, @@ -15095,7 +15095,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32629:23:1", + "src": "33553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15110,26 +15110,26 @@ "typeString": "uint256" } ], - "id": 1745, + "id": 1237, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1744, + "id": 1236, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32621:7:1", + "src": "33545:7:0", "typeDescriptions": {} } }, - "id": 1753, + "id": 1245, "isConstant": false, "isLValue": false, "isPure": false, @@ -15137,7 +15137,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32621:32:1", + "src": "33545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15148,7 +15148,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15156,18 +15156,18 @@ "typeString": "bytes32" } ], - "id": 1741, + "id": 1233, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "32601:7:1", + "referencedDeclaration": 1053, + "src": "33525:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1754, + "id": 1246, "isConstant": false, "isLValue": false, "isPure": false, @@ -15175,58 +15175,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32601:53:1", + "src": "33525:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1740, - "id": 1755, + "functionReturnParameters": 1232, + "id": 1247, "nodeType": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ] }, "documentation": { - "id": 1732, + "id": 1224, "nodeType": "StructuredDocumentation", - "src": "32343:157:1", + "src": "33260:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1757, + "id": 1249, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1737, + "id": 1229, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1734, + "id": 1226, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32521:22:1", + "scope": 1249, + "src": "33444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1733, + "id": 1225, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32521:10:1", + "referencedDeclaration": 1197, + "src": "33444:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15234,12 +15234,12 @@ }, { "constant": false, - "id": 1736, + "id": 1228, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32545:13:1", + "scope": 1249, + "src": "33468:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15247,10 +15247,10 @@ "typeString": "address" }, "typeName": { - "id": 1735, + "id": 1227, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32545:7:1", + "src": "33468:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15260,20 +15260,20 @@ "visibility": "internal" } ], - "src": "32520:39:1" + "src": "33443:39:0" }, "returnParameters": { - "id": 1740, + "id": 1232, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1739, + "id": 1231, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1757, - "src": "32578:4:1", + "scope": 1249, + "src": "33501:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15281,10 +15281,10 @@ "typeString": "bool" }, "typeName": { - "id": 1738, + "id": 1230, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32578:4:1", + "src": "33501:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15293,47 +15293,47 @@ "visibility": "internal" } ], - "src": "32577:6:1" + "src": "33500:6:0" }, - "scope": 1921, - "src": "32505:156:1", + "scope": 1413, + "src": "33428:158:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1782, + "id": 1274, "nodeType": "Block", - "src": "32828:79:1", + "src": "33758:81:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1768, + "id": 1260, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1760, - "src": "32855:3:1", + "referencedDeclaration": 1252, + "src": "33786:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1769, + "id": 1261, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "32855:10:1", + "referencedDeclaration": 1196, + "src": "33786:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, @@ -15344,12 +15344,12 @@ { "arguments": [ { - "id": 1776, + "id": 1268, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1762, - "src": "32891:5:1", + "referencedDeclaration": 1254, + "src": "33822:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -15363,26 +15363,26 @@ "typeString": "address" } ], - "id": 1775, + "id": 1267, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1774, + "id": 1266, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "32883:7:1", + "src": "33814:7:0", "typeDescriptions": {} } }, - "id": 1777, + "id": 1269, "isConstant": false, "isLValue": false, "isPure": false, @@ -15390,7 +15390,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32883:14:1", + "src": "33814:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15405,26 +15405,26 @@ "typeString": "uint160" } ], - "id": 1773, + "id": 1265, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1772, + "id": 1264, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "32875:7:1", + "src": "33806:7:0", "typeDescriptions": {} } }, - "id": 1778, + "id": 1270, "isConstant": false, "isLValue": false, "isPure": false, @@ -15432,7 +15432,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32875:23:1", + "src": "33806:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15447,26 +15447,26 @@ "typeString": "uint256" } ], - "id": 1771, + "id": 1263, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1770, + "id": 1262, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "32867:7:1", + "src": "33798:7:0", "typeDescriptions": {} } }, - "id": 1779, + "id": 1271, "isConstant": false, "isLValue": false, "isPure": false, @@ -15474,7 +15474,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32867:32:1", + "src": "33798:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15485,7 +15485,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15493,18 +15493,18 @@ "typeString": "bytes32" } ], - "id": 1767, + "id": 1259, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "32845:9:1", + "referencedDeclaration": 1071, + "src": "33776:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1780, + "id": 1272, "isConstant": false, "isLValue": false, "isPure": false, @@ -15512,58 +15512,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "32845:55:1", + "src": "33776:55:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1766, - "id": 1781, + "functionReturnParameters": 1258, + "id": 1273, "nodeType": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ] }, "documentation": { - "id": 1758, + "id": 1250, "nodeType": "StructuredDocumentation", - "src": "32667:70:1", + "src": "33594:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1783, + "id": 1275, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1763, + "id": 1255, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1760, + "id": 1252, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32760:22:1", + "scope": 1275, + "src": "33690:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1759, + "id": 1251, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "32760:10:1", + "referencedDeclaration": 1197, + "src": "33690:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -15571,12 +15571,12 @@ }, { "constant": false, - "id": 1762, + "id": 1254, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32784:13:1", + "scope": 1275, + "src": "33714:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15584,10 +15584,10 @@ "typeString": "address" }, "typeName": { - "id": 1761, + "id": 1253, "name": "address", "nodeType": "ElementaryTypeName", - "src": "32784:7:1", + "src": "33714:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -15597,20 +15597,20 @@ "visibility": "internal" } ], - "src": "32759:39:1" + "src": "33689:39:0" }, "returnParameters": { - "id": 1766, + "id": 1258, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1765, + "id": 1257, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1783, - "src": "32822:4:1", + "scope": 1275, + "src": "33752:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15618,10 +15618,10 @@ "typeString": "bool" }, "typeName": { - "id": 1764, + "id": 1256, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "32822:4:1", + "src": "33752:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -15630,47 +15630,47 @@ "visibility": "internal" } ], - "src": "32821:6:1" + "src": "33751:6:0" }, - "scope": 1921, - "src": "32742:165:1", + "scope": 1413, + "src": "33672:167:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1796, + "id": 1288, "nodeType": "Block", - "src": "33060:43:1", + "src": "33997:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1792, + "id": 1284, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1786, - "src": "33085:3:1", + "referencedDeclaration": 1278, + "src": "34023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1793, + "id": 1285, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33085:10:1", + "referencedDeclaration": 1196, + "src": "34023:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -15678,22 +15678,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1791, + "id": 1283, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "33077:7:1", + "referencedDeclaration": 1084, + "src": "34015:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1794, + "id": 1286, "isConstant": false, "isLValue": false, "isPure": false, @@ -15701,78 +15701,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33077:19:1", + "src": "34015:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1790, - "id": 1795, + "functionReturnParameters": 1282, + "id": 1287, "nodeType": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ] }, "documentation": { - "id": 1784, + "id": 1276, "nodeType": "StructuredDocumentation", - "src": "32913:70:1", + "src": "33847:72:0", "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1797, + "id": 1289, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1787, + "id": 1279, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1786, + "id": 1278, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33004:22:1", + "scope": 1289, + "src": "33941:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1785, + "id": 1277, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33004:10:1", + "referencedDeclaration": 1197, + "src": "33941:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, "visibility": "internal" } ], - "src": "33003:24:1" + "src": "33940:24:0" }, "returnParameters": { - "id": 1790, + "id": 1282, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1789, + "id": 1281, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1797, - "src": "33051:7:1", + "scope": 1289, + "src": "33988:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -15780,10 +15780,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1788, + "id": 1280, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33051:7:1", + "src": "33988:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15792,19 +15792,19 @@ "visibility": "internal" } ], - "src": "33050:9:1" + "src": "33987:9:0" }, - "scope": 1921, - "src": "32988:115:1", + "scope": 1413, + "src": "33925:117:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1822, + "id": 1314, "nodeType": "Block", - "src": "33518:73:1", + "src": "34469:75:0", "statements": [ { "expression": { @@ -15817,38 +15817,38 @@ "arguments": [ { "expression": { - "id": 1814, + "id": 1306, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1800, - "src": "33563:3:1", + "referencedDeclaration": 1292, + "src": "34515:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet storage pointer" } }, - "id": 1815, + "id": 1307, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1704, - "src": "33563:10:1", + "referencedDeclaration": 1196, + "src": "34515:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1816, + "id": 1308, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1802, - "src": "33575:5:1", + "referencedDeclaration": 1294, + "src": "34527:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -15858,7 +15858,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -15866,18 +15866,18 @@ "typeString": "uint256" } ], - "id": 1813, + "id": 1305, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "33559:3:1", + "referencedDeclaration": 1109, + "src": "34511:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1817, + "id": 1309, "isConstant": false, "isLValue": false, "isPure": false, @@ -15885,7 +15885,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33559:22:1", + "src": "34511:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -15900,26 +15900,26 @@ "typeString": "bytes32" } ], - "id": 1812, + "id": 1304, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1811, + "id": 1303, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33551:7:1", + "src": "34503:7:0", "typeDescriptions": {} } }, - "id": 1818, + "id": 1310, "isConstant": false, "isLValue": false, "isPure": false, @@ -15927,7 +15927,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33551:31:1", + "src": "34503:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -15942,26 +15942,26 @@ "typeString": "uint256" } ], - "id": 1810, + "id": 1302, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 1809, + "id": 1301, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "33543:7:1", + "src": "34495:7:0", "typeDescriptions": {} } }, - "id": 1819, + "id": 1311, "isConstant": false, "isLValue": false, "isPure": false, @@ -15969,7 +15969,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33543:40:1", + "src": "34495:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -15984,26 +15984,26 @@ "typeString": "uint160" } ], - "id": 1808, + "id": 1300, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 1807, + "id": 1299, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33535:7:1", + "src": "34487:7:0", "typeDescriptions": {} } }, - "id": 1820, + "id": 1312, "isConstant": false, "isLValue": false, "isPure": false, @@ -16011,58 +16011,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33535:49:1", + "src": "34487:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 1806, - "id": 1821, + "functionReturnParameters": 1298, + "id": 1313, "nodeType": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ] }, "documentation": { - "id": 1798, + "id": 1290, "nodeType": "StructuredDocumentation", - "src": "33108:322:1", + "src": "34049:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1823, + "id": 1315, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1803, + "id": 1295, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1800, + "id": 1292, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33447:22:1", + "scope": 1315, + "src": "34398:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" }, "typeName": { - "id": 1799, + "id": 1291, "name": "AddressSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1705, - "src": "33447:10:1", + "referencedDeclaration": 1197, + "src": "34398:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_AddressSet_$1705_storage_ptr", + "typeIdentifier": "t_struct$_AddressSet_$1197_storage_ptr", "typeString": "struct EnumerableSet.AddressSet" } }, @@ -16070,12 +16070,12 @@ }, { "constant": false, - "id": 1802, + "id": 1294, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33471:13:1", + "scope": 1315, + "src": "34422:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16083,10 +16083,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1801, + "id": 1293, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33471:7:1", + "src": "34422:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16095,20 +16095,20 @@ "visibility": "internal" } ], - "src": "33446:39:1" + "src": "34397:39:0" }, "returnParameters": { - "id": 1806, + "id": 1298, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1805, + "id": 1297, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1823, - "src": "33509:7:1", + "scope": 1315, + "src": "34460:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16116,10 +16116,10 @@ "typeString": "address" }, "typeName": { - "id": 1804, + "id": 1296, "name": "address", "nodeType": "ElementaryTypeName", - "src": "33509:7:1", + "src": "34460:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -16129,40 +16129,40 @@ "visibility": "internal" } ], - "src": "33508:9:1" + "src": "34459:9:0" }, - "scope": 1921, - "src": "33435:156:1", + "scope": 1413, + "src": "34386:158:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "canonicalName": "EnumerableSet.UintSet", - "id": 1826, + "id": 1318, "members": [ { "constant": false, - "id": 1825, + "id": 1317, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 1826, - "src": "33639:10:1", + "scope": 1318, + "src": "34598:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" }, "typeName": { - "id": 1824, + "id": 1316, "name": "Set", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1440, - "src": "33639:3:1", + "referencedDeclaration": 932, + "src": "34598:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set" } }, @@ -16171,55 +16171,55 @@ ], "name": "UintSet", "nodeType": "StructDefinition", - "scope": 1921, - "src": "33614:42:1", + "scope": 1413, + "src": "34572:44:0", "visibility": "public" }, { "body": { - "id": 1845, + "id": 1337, "nodeType": "Block", - "src": "33899:56:1", + "src": "34867:58:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1837, + "id": 1329, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1829, - "src": "33921:3:1", + "referencedDeclaration": 1321, + "src": "34890:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1838, + "id": 1330, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "33921:10:1", + "referencedDeclaration": 1317, + "src": "34890:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1841, + "id": 1333, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1831, - "src": "33941:5:1", + "referencedDeclaration": 1323, + "src": "34910:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16233,26 +16233,26 @@ "typeString": "uint256" } ], - "id": 1840, + "id": 1332, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1839, + "id": 1331, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "33933:7:1", + "src": "34902:7:0", "typeDescriptions": {} } }, - "id": 1842, + "id": 1334, "isConstant": false, "isLValue": false, "isPure": false, @@ -16260,7 +16260,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33933:14:1", + "src": "34902:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16271,7 +16271,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16279,18 +16279,18 @@ "typeString": "bytes32" } ], - "id": 1836, + "id": 1328, "name": "_add", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1481, - "src": "33916:4:1", + "referencedDeclaration": 973, + "src": "34885:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1843, + "id": 1335, "isConstant": false, "isLValue": false, "isPure": false, @@ -16298,58 +16298,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "33916:32:1", + "src": "34885:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1835, - "id": 1844, + "functionReturnParameters": 1327, + "id": 1336, "nodeType": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ] }, "documentation": { - "id": 1827, + "id": 1319, "nodeType": "StructuredDocumentation", - "src": "33662:159:1", + "src": "34624:164:0", "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1846, + "id": 1338, "implemented": true, "kind": "function", "modifiers": [], "name": "add", "nodeType": "FunctionDefinition", "parameters": { - "id": 1832, + "id": 1324, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1829, + "id": 1321, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33839:19:1", + "scope": 1338, + "src": "34807:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1828, + "id": 1320, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "33839:7:1", + "referencedDeclaration": 1318, + "src": "34807:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16357,12 +16357,12 @@ }, { "constant": false, - "id": 1831, + "id": 1323, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33860:13:1", + "scope": 1338, + "src": "34828:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16370,10 +16370,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1830, + "id": 1322, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "33860:7:1", + "src": "34828:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16382,20 +16382,20 @@ "visibility": "internal" } ], - "src": "33838:36:1" + "src": "34806:36:0" }, "returnParameters": { - "id": 1835, + "id": 1327, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1834, + "id": 1326, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1846, - "src": "33893:4:1", + "scope": 1338, + "src": "34861:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16403,10 +16403,10 @@ "typeString": "bool" }, "typeName": { - "id": 1833, + "id": 1325, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "33893:4:1", + "src": "34861:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16415,59 +16415,59 @@ "visibility": "internal" } ], - "src": "33892:6:1" + "src": "34860:6:0" }, - "scope": 1921, - "src": "33826:129:1", + "scope": 1413, + "src": "34794:131:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1865, + "id": 1357, "nodeType": "Block", - "src": "34199:59:1", + "src": "35177:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1857, + "id": 1349, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1849, - "src": "34224:3:1", + "referencedDeclaration": 1341, + "src": "35203:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1858, + "id": 1350, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34224:10:1", + "referencedDeclaration": 1317, + "src": "35203:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1861, + "id": 1353, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1851, - "src": "34244:5:1", + "referencedDeclaration": 1343, + "src": "35223:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16481,26 +16481,26 @@ "typeString": "uint256" } ], - "id": 1860, + "id": 1352, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1859, + "id": 1351, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34236:7:1", + "src": "35215:7:0", "typeDescriptions": {} } }, - "id": 1862, + "id": 1354, "isConstant": false, "isLValue": false, "isPure": false, @@ -16508,7 +16508,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34236:14:1", + "src": "35215:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16519,7 +16519,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16527,18 +16527,18 @@ "typeString": "bytes32" } ], - "id": 1856, + "id": 1348, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1561, - "src": "34216:7:1", + "referencedDeclaration": 1053, + "src": "35195:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)" } }, - "id": 1863, + "id": 1355, "isConstant": false, "isLValue": false, "isPure": false, @@ -16546,58 +16546,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34216:35:1", + "src": "35195:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1855, - "id": 1864, + "functionReturnParameters": 1347, + "id": 1356, "nodeType": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ] }, "documentation": { - "id": 1847, + "id": 1339, "nodeType": "StructuredDocumentation", - "src": "33961:157:1", + "src": "34933:162:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1866, + "id": 1358, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 1852, + "id": 1344, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1849, + "id": 1341, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34139:19:1", + "scope": 1358, + "src": "35117:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1848, + "id": 1340, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34139:7:1", + "referencedDeclaration": 1318, + "src": "35117:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16605,12 +16605,12 @@ }, { "constant": false, - "id": 1851, + "id": 1343, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34160:13:1", + "scope": 1358, + "src": "35138:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16618,10 +16618,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1850, + "id": 1342, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34160:7:1", + "src": "35138:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16630,20 +16630,20 @@ "visibility": "internal" } ], - "src": "34138:36:1" + "src": "35116:36:0" }, "returnParameters": { - "id": 1855, + "id": 1347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1854, + "id": 1346, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1866, - "src": "34193:4:1", + "scope": 1358, + "src": "35171:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16651,10 +16651,10 @@ "typeString": "bool" }, "typeName": { - "id": 1853, + "id": 1345, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34193:4:1", + "src": "35171:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16663,59 +16663,59 @@ "visibility": "internal" } ], - "src": "34192:6:1" + "src": "35170:6:0" }, - "scope": 1921, - "src": "34123:135:1", + "scope": 1413, + "src": "35101:137:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1885, + "id": 1377, "nodeType": "Block", - "src": "34422:61:1", + "src": "35407:63:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1877, + "id": 1369, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1869, - "src": "34449:3:1", + "referencedDeclaration": 1361, + "src": "35435:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1878, + "id": 1370, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34449:10:1", + "referencedDeclaration": 1317, + "src": "35435:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { "arguments": [ { - "id": 1881, + "id": 1373, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1871, - "src": "34469:5:1", + "referencedDeclaration": 1363, + "src": "35455:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16729,26 +16729,26 @@ "typeString": "uint256" } ], - "id": 1880, + "id": 1372, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 1879, + "id": 1371, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "34461:7:1", + "src": "35447:7:0", "typeDescriptions": {} } }, - "id": 1882, + "id": 1374, "isConstant": false, "isLValue": false, "isPure": false, @@ -16756,7 +16756,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34461:14:1", + "src": "35447:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -16767,7 +16767,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -16775,18 +16775,18 @@ "typeString": "bytes32" } ], - "id": 1876, + "id": 1368, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1579, - "src": "34439:9:1", + "referencedDeclaration": 1071, + "src": "35425:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)" } }, - "id": 1883, + "id": 1375, "isConstant": false, "isLValue": false, "isPure": false, @@ -16794,58 +16794,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34439:37:1", + "src": "35425:37:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 1875, - "id": 1884, + "functionReturnParameters": 1367, + "id": 1376, "nodeType": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ] }, "documentation": { - "id": 1867, + "id": 1359, "nodeType": "StructuredDocumentation", - "src": "34264:70:1", + "src": "35246:72:0", "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1886, + "id": 1378, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 1872, + "id": 1364, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1869, + "id": 1361, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34357:19:1", + "scope": 1378, + "src": "35342:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1868, + "id": 1360, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34357:7:1", + "referencedDeclaration": 1318, + "src": "35342:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -16853,12 +16853,12 @@ }, { "constant": false, - "id": 1871, + "id": 1363, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34378:13:1", + "scope": 1378, + "src": "35363:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16866,10 +16866,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1870, + "id": 1362, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34378:7:1", + "src": "35363:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -16878,20 +16878,20 @@ "visibility": "internal" } ], - "src": "34356:36:1" + "src": "35341:36:0" }, "returnParameters": { - "id": 1875, + "id": 1367, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1874, + "id": 1366, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1886, - "src": "34416:4:1", + "scope": 1378, + "src": "35401:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -16899,10 +16899,10 @@ "typeString": "bool" }, "typeName": { - "id": 1873, + "id": 1365, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "34416:4:1", + "src": "35401:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -16911,47 +16911,47 @@ "visibility": "internal" } ], - "src": "34415:6:1" + "src": "35400:6:0" }, - "scope": 1921, - "src": "34339:144:1", + "scope": 1413, + "src": "35324:146:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1899, + "id": 1391, "nodeType": "Block", - "src": "34633:43:1", + "src": "35625:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 1895, + "id": 1387, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1889, - "src": "34658:3:1", + "referencedDeclaration": 1381, + "src": "35651:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1896, + "id": 1388, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "34658:10:1", + "referencedDeclaration": 1317, + "src": "35651:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } } @@ -16959,22 +16959,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], - "id": 1894, + "id": 1386, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1592, - "src": "34650:7:1", + "referencedDeclaration": 1084, + "src": "35643:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)" } }, - "id": 1897, + "id": 1389, "isConstant": false, "isLValue": false, "isPure": false, @@ -16982,78 +16982,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "34650:19:1", + "src": "35643:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1893, - "id": 1898, + "functionReturnParameters": 1385, + "id": 1390, "nodeType": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ] }, "documentation": { - "id": 1887, + "id": 1379, "nodeType": "StructuredDocumentation", - "src": "34489:70:1", + "src": "35478:72:0", "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1900, + "id": 1392, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 1890, + "id": 1382, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1889, + "id": 1381, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34580:19:1", + "scope": 1392, + "src": "35572:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1888, + "id": 1380, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "34580:7:1", + "referencedDeclaration": 1318, + "src": "35572:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, "visibility": "internal" } ], - "src": "34579:21:1" + "src": "35571:21:0" }, "returnParameters": { - "id": 1893, + "id": 1385, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1892, + "id": 1384, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1900, - "src": "34624:7:1", + "scope": 1392, + "src": "35616:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17061,10 +17061,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1891, + "id": 1383, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "34624:7:1", + "src": "35616:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17073,19 +17073,19 @@ "visibility": "internal" } ], - "src": "34623:9:1" + "src": "35615:9:0" }, - "scope": 1921, - "src": "34564:112:1", + "scope": 1413, + "src": "35556:114:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 1919, + "id": 1411, "nodeType": "Block", - "src": "35088:55:1", + "src": "36094:57:0", "statements": [ { "expression": { @@ -17094,38 +17094,38 @@ "arguments": [ { "expression": { - "id": 1913, + "id": 1405, "name": "set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1903, - "src": "35117:3:1", + "referencedDeclaration": 1395, + "src": "36124:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet storage pointer" } }, - "id": 1914, + "id": 1406, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 1825, - "src": "35117:10:1", + "referencedDeclaration": 1317, + "src": "36124:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } }, { - "id": 1915, + "id": 1407, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1905, - "src": "35129:5:1", + "referencedDeclaration": 1397, + "src": "36136:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17135,7 +17135,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -17143,18 +17143,18 @@ "typeString": "uint256" } ], - "id": 1912, + "id": 1404, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1617, - "src": "35113:3:1", + "referencedDeclaration": 1109, + "src": "36120:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$1440_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Set_$932_storage_ptr_$_t_uint256_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)" } }, - "id": 1916, + "id": 1408, "isConstant": false, "isLValue": false, "isPure": false, @@ -17162,7 +17162,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35113:22:1", + "src": "36120:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -17177,26 +17177,26 @@ "typeString": "bytes32" } ], - "id": 1911, + "id": 1403, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 1910, + "id": 1402, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35105:7:1", + "src": "36112:7:0", "typeDescriptions": {} } }, - "id": 1917, + "id": 1409, "isConstant": false, "isLValue": false, "isPure": false, @@ -17204,58 +17204,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "35105:31:1", + "src": "36112:31:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 1909, - "id": 1918, + "functionReturnParameters": 1401, + "id": 1410, "nodeType": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ] }, "documentation": { - "id": 1901, + "id": 1393, "nodeType": "StructuredDocumentation", - "src": "34681:322:1", + "src": "35677:331:0", "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1920, + "id": 1412, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 1906, + "id": 1398, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1903, + "id": 1395, "mutability": "mutable", "name": "set", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35020:19:1", + "scope": 1412, + "src": "36026:19:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" }, "typeName": { - "id": 1902, + "id": 1394, "name": "UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "35020:7:1", + "referencedDeclaration": 1318, + "src": "36026:7:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } }, @@ -17263,12 +17263,12 @@ }, { "constant": false, - "id": 1905, + "id": 1397, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35041:13:1", + "scope": 1412, + "src": "36047:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17276,10 +17276,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1904, + "id": 1396, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35041:7:1", + "src": "36047:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17288,20 +17288,20 @@ "visibility": "internal" } ], - "src": "35019:36:1" + "src": "36025:36:0" }, "returnParameters": { - "id": 1909, + "id": 1401, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1908, + "id": 1400, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1920, - "src": "35079:7:1", + "scope": 1412, + "src": "36085:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17309,10 +17309,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1907, + "id": 1399, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "35079:7:1", + "src": "36085:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17321,20 +17321,20 @@ "visibility": "internal" } ], - "src": "35078:9:1" + "src": "36084:9:0" }, - "scope": 1921, - "src": "35008:135:1", + "scope": 1413, + "src": "36014:137:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "26511:8634:1" + "scope": 2991, + "src": "27252:8902:0" }, { - "id": 1922, + "id": 1414, "literals": [ "solidity", ">=", @@ -17345,7 +17345,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "abstract": false, @@ -17353,31 +17353,31 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 1923, + "id": 1415, "nodeType": "StructuredDocumentation", - "src": "35237:705:1", + "src": "36251:728:0", "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, "fullyImplemented": true, - "id": 2480, + "id": 1972, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", "nodeType": "ContractDefinition", "nodes": [ { "canonicalName": "EnumerableMap.MapEntry", - "id": 1928, + "id": 1420, "members": [ { "constant": false, - "id": 1925, + "id": 1417, "mutability": "mutable", "name": "_key", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36455:12:1", + "scope": 1420, + "src": "37504:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17385,10 +17385,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1924, + "id": 1416, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36455:7:1", + "src": "37504:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17398,12 +17398,12 @@ }, { "constant": false, - "id": 1927, + "id": 1419, "mutability": "mutable", "name": "_value", "nodeType": "VariableDeclaration", - "scope": 1928, - "src": "36477:14:1", + "scope": 1420, + "src": "37527:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17411,10 +17411,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1926, + "id": 1418, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36477:7:1", + "src": "37527:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17425,45 +17425,45 @@ ], "name": "MapEntry", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36429:69:1", + "scope": 1972, + "src": "37477:72:0", "visibility": "public" }, { "canonicalName": "EnumerableMap.Map", - "id": 1936, + "id": 1428, "members": [ { "constant": false, - "id": 1931, + "id": 1423, "mutability": "mutable", "name": "_entries", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36567:19:1", + "scope": 1428, + "src": "37622:19:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" }, "typeName": { "baseType": { - "id": 1929, + "id": 1421, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "36567:8:1", + "referencedDeclaration": 1420, + "src": "37622:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, - "id": 1930, + "id": 1422, "nodeType": "ArrayTypeName", - "src": "36567:10:1", + "src": "37622:10:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage_ptr", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage_ptr", "typeString": "struct EnumerableMap.MapEntry[]" } }, @@ -17471,12 +17471,12 @@ }, { "constant": false, - "id": 1935, + "id": 1427, "mutability": "mutable", "name": "_indexes", "nodeType": "VariableDeclaration", - "scope": 1936, - "src": "36736:37:1", + "scope": 1428, + "src": "37795:37:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17484,28 +17484,28 @@ "typeString": "mapping(bytes32 => uint256)" }, "typeName": { - "id": 1934, + "id": 1426, "keyType": { - "id": 1932, + "id": 1424, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "36745:7:1", + "src": "37804:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, "nodeType": "Mapping", - "src": "36736:28:1", + "src": "37795:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" }, "valueType": { - "id": 1933, + "id": 1425, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "36756:7:1", + "src": "37815:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17517,29 +17517,29 @@ ], "name": "Map", "nodeType": "StructDefinition", - "scope": 2480, - "src": "36504:276:1", + "scope": 1972, + "src": "37557:283:0", "visibility": "public" }, { "body": { - "id": 1997, + "id": 1489, "nodeType": "Block", - "src": "37089:596:1", + "src": "38158:610:0", "statements": [ { "assignments": [ - 1949 + 1441 ], "declarations": [ { "constant": false, - "id": 1949, + "id": 1441, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 1997, - "src": "37197:16:1", + "scope": 1489, + "src": "38268:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -17547,10 +17547,10 @@ "typeString": "uint256" }, "typeName": { - "id": 1948, + "id": 1440, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "37197:7:1", + "src": "38268:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17559,43 +17559,43 @@ "visibility": "internal" } ], - "id": 1954, + "id": 1446, "initialValue": { "baseExpression": { "expression": { - "id": 1950, + "id": 1442, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37216:3:1", + "referencedDeclaration": 1431, + "src": "38287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1951, + "id": 1443, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37216:12:1", + "referencedDeclaration": 1427, + "src": "38287:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1953, + "id": 1445, "indexExpression": { - "id": 1952, + "id": 1444, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37229:3:1", + "referencedDeclaration": 1433, + "src": "38300:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17606,14 +17606,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37216:17:1", + "src": "38287:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "condition": { @@ -17621,18 +17621,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1957, + "id": 1449, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1955, + "id": 1447, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37248:8:1", + "referencedDeclaration": 1441, + "src": "38321:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17642,34 +17642,34 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 1956, + "id": 1448, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37260:1:1", + "src": "38333:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "37248:13:1", + "src": "38321:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 1995, + "id": 1487, "nodeType": "Block", - "src": "37587:92:1", + "src": "38666:95:0", "statements": [ { "expression": { - "id": 1991, + "id": 1483, "isConstant": false, "isLValue": false, "isPure": false, @@ -17678,49 +17678,49 @@ "expression": { "baseExpression": { "expression": { - "id": 1982, + "id": 1474, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37601:3:1", + "referencedDeclaration": 1431, + "src": "38681:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1987, + "id": 1479, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37601:12:1", + "referencedDeclaration": 1423, + "src": "38681:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1988, + "id": 1480, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 1986, + "id": 1478, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 1984, + "id": 1476, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1949, - "src": "37614:8:1", + "referencedDeclaration": 1441, + "src": "38694:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17730,21 +17730,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 1985, + "id": 1477, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "37625:1:1", + "src": "38705:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "37614:12:1", + "src": "38694:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -17755,21 +17755,21 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "37601:26:1", + "src": "38681:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 1989, + "id": 1481, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": true, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "37601:33:1", + "referencedDeclaration": 1419, + "src": "38681:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17778,58 +17778,58 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 1990, + "id": 1482, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37637:5:1", + "referencedDeclaration": 1435, + "src": "38717:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "src": "37601:41:1", + "src": "38681:41:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "id": 1992, + "id": 1484, "nodeType": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "expression": { "hexValue": "66616c7365", - "id": 1993, + "id": 1485, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37663:5:1", + "src": "38744:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 1947, - "id": 1994, + "functionReturnParameters": 1439, + "id": 1486, "nodeType": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ] }, - "id": 1996, + "id": 1488, "nodeType": "IfStatement", - "src": "37244:435:1", + "src": "38317:444:0", "trueBody": { - "id": 1981, + "id": 1473, "nodeType": "Block", - "src": "37263:318:1", + "src": "38336:324:0", "statements": [ { "expression": { @@ -17837,24 +17837,24 @@ { "arguments": [ { - "id": 1964, + "id": 1456, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37349:3:1", + "referencedDeclaration": 1433, + "src": "38423:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, { - "id": 1965, + "id": 1457, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1943, - "src": "37362:5:1", + "referencedDeclaration": 1435, + "src": "38436:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -17872,18 +17872,18 @@ "typeString": "bytes32" } ], - "id": 1963, + "id": 1455, "name": "MapEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1928, - "src": "37332:8:1", + "referencedDeclaration": 1420, + "src": "38406:8:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_struct$_MapEntry_$1928_storage_ptr_$", + "typeIdentifier": "t_type$_t_struct$_MapEntry_$1420_storage_ptr_$", "typeString": "type(struct EnumerableMap.MapEntry storage pointer)" } }, - "id": 1966, + "id": 1458, "isConstant": false, "isLValue": false, "isPure": false, @@ -17894,10 +17894,10 @@ "_value" ], "nodeType": "FunctionCall", - "src": "37332:38:1", + "src": "38406:38:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } } @@ -17905,51 +17905,51 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], "expression": { "expression": { - "id": 1958, + "id": 1450, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37314:3:1", + "referencedDeclaration": 1431, + "src": "38388:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1961, + "id": 1453, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37314:12:1", + "referencedDeclaration": 1423, + "src": "38388:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1962, + "id": 1454, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "push", "nodeType": "MemberAccess", - "src": "37314:17:1", + "src": "38388:17:0", "typeDescriptions": { - "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1928_storage_$returns$__$", + "typeIdentifier": "t_function_arraypush_nonpayable$_t_struct$_MapEntry_$1420_storage_$returns$__$", "typeString": "function (struct EnumerableMap.MapEntry storage ref)" } }, - "id": 1967, + "id": 1459, "isConstant": false, "isLValue": false, "isPure": false, @@ -17957,20 +17957,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "37314:57:1", + "src": "38388:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 1968, + "id": 1460, "nodeType": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "expression": { - "id": 1977, + "id": 1469, "isConstant": false, "isLValue": false, "isPure": false, @@ -17978,39 +17978,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 1969, + "id": 1461, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37506:3:1", + "referencedDeclaration": 1431, + "src": "38583:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1972, + "id": 1464, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "37506:12:1", + "referencedDeclaration": 1427, + "src": "38583:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 1973, + "id": 1465, "indexExpression": { - "id": 1971, + "id": 1463, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1941, - "src": "37519:3:1", + "referencedDeclaration": 1433, + "src": "38596:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18021,7 +18021,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "37506:17:1", + "src": "38583:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18032,75 +18032,75 @@ "rightHandSide": { "expression": { "expression": { - "id": 1974, + "id": 1466, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1939, - "src": "37526:3:1", + "referencedDeclaration": 1431, + "src": "38603:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 1975, + "id": 1467, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "37526:12:1", + "referencedDeclaration": 1423, + "src": "38603:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 1976, + "id": 1468, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "37526:19:1", + "src": "38603:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "37506:39:1", + "src": "38583:39:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 1978, + "id": 1470, "nodeType": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "expression": { "hexValue": "74727565", - "id": 1979, + "id": 1471, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "37566:4:1", + "src": "38644:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 1947, - "id": 1980, + "functionReturnParameters": 1439, + "id": 1472, "nodeType": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ] } @@ -18108,43 +18108,43 @@ ] }, "documentation": { - "id": 1937, + "id": 1429, "nodeType": "StructuredDocumentation", - "src": "36786:216:1", + "src": "37848:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1998, + "id": 1490, "implemented": true, "kind": "function", "modifiers": [], "name": "_set", "nodeType": "FunctionDefinition", "parameters": { - "id": 1944, + "id": 1436, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1939, + "id": 1431, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37021:15:1", + "scope": 1490, + "src": "38090:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 1938, + "id": 1430, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37021:3:1", + "referencedDeclaration": 1428, + "src": "38090:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -18152,12 +18152,12 @@ }, { "constant": false, - "id": 1941, + "id": 1433, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37038:11:1", + "scope": 1490, + "src": "38107:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18165,10 +18165,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1940, + "id": 1432, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37038:7:1", + "src": "38107:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18178,12 +18178,12 @@ }, { "constant": false, - "id": 1943, + "id": 1435, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37051:13:1", + "scope": 1490, + "src": "38120:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18191,10 +18191,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 1942, + "id": 1434, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37051:7:1", + "src": "38120:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18203,20 +18203,20 @@ "visibility": "internal" } ], - "src": "37020:45:1" + "src": "38089:45:0" }, "returnParameters": { - "id": 1947, + "id": 1439, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 1946, + "id": 1438, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 1998, - "src": "37083:4:1", + "scope": 1490, + "src": "38152:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18224,10 +18224,10 @@ "typeString": "bool" }, "typeName": { - "id": 1945, + "id": 1437, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37083:4:1", + "src": "38152:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -18236,33 +18236,33 @@ "visibility": "internal" } ], - "src": "37082:6:1" + "src": "38151:6:0" }, - "scope": 2480, - "src": "37007:678:1", + "scope": 1972, + "src": "38076:692:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2078, + "id": 1570, "nodeType": "Block", - "src": "37923:1447:1", + "src": "39013:1479:0", "statements": [ { "assignments": [ - 2009 + 1501 ], "declarations": [ { "constant": false, - "id": 2009, + "id": 1501, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2078, - "src": "38031:16:1", + "scope": 1570, + "src": "39123:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18270,10 +18270,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2008, + "id": 1500, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38031:7:1", + "src": "39123:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18282,43 +18282,43 @@ "visibility": "internal" } ], - "id": 2014, + "id": 1506, "initialValue": { "baseExpression": { "expression": { - "id": 2010, + "id": 1502, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38050:3:1", + "referencedDeclaration": 1493, + "src": "39142:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2011, + "id": 1503, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "38050:12:1", + "referencedDeclaration": 1427, + "src": "39142:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2013, + "id": 1505, "indexExpression": { - "id": 2012, + "id": 1504, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "38063:3:1", + "referencedDeclaration": 1495, + "src": "39155:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18329,14 +18329,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38050:17:1", + "src": "39142:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "condition": { @@ -18344,18 +18344,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2017, + "id": 1509, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2015, + "id": 1507, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38082:8:1", + "referencedDeclaration": 1501, + "src": "39176:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18365,76 +18365,76 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2016, + "id": 1508, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38094:1:1", + "src": "39188:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "38082:13:1", + "src": "39176:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, "falseBody": { - "id": 2076, + "id": 1568, "nodeType": "Block", - "src": "39327:37:1", + "src": "40446:39:0", "statements": [ { "expression": { "hexValue": "66616c7365", - "id": 2074, + "id": 1566, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39348:5:1", + "src": "40468:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "false" }, - "functionReturnParameters": 2007, - "id": 2075, + "functionReturnParameters": 1499, + "id": 1567, "nodeType": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ] }, - "id": 2077, + "id": 1569, "nodeType": "IfStatement", - "src": "38078:1286:1", + "src": "39172:1313:0", "trueBody": { - "id": 2073, + "id": 1565, "nodeType": "Block", - "src": "38097:1224:1", + "src": "39191:1249:0", "statements": [ { "assignments": [ - 2019 + 1511 ], "declarations": [ { "constant": false, - "id": 2019, + "id": 1511, "mutability": "mutable", "name": "toDeleteIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38438:21:1", + "scope": 1565, + "src": "39537:21:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18442,10 +18442,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2018, + "id": 1510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38438:7:1", + "src": "39537:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18454,24 +18454,24 @@ "visibility": "internal" } ], - "id": 2023, + "id": 1515, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2022, + "id": 1514, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2020, + "id": 1512, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2009, - "src": "38462:8:1", + "referencedDeclaration": 1501, + "src": "39561:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18481,42 +18481,42 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2021, + "id": 1513, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38473:1:1", + "src": "39572:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38462:12:1", + "src": "39561:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "assignments": [ - 2025 + 1517 ], "declarations": [ { "constant": false, - "id": 2025, + "id": 1517, "mutability": "mutable", "name": "lastIndex", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38488:17:1", + "scope": 1565, + "src": "39588:17:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -18524,10 +18524,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2024, + "id": 1516, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "38488:7:1", + "src": "39588:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18536,13 +18536,13 @@ "visibility": "internal" } ], - "id": 2031, + "id": 1523, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2030, + "id": 1522, "isConstant": false, "isLValue": false, "isPure": false, @@ -18550,39 +18550,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2026, + "id": 1518, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38508:3:1", + "referencedDeclaration": 1493, + "src": "39608:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2027, + "id": 1519, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38508:12:1", + "referencedDeclaration": 1423, + "src": "39608:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2028, + "id": 1520, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "38508:19:1", + "src": "39608:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18592,99 +18592,99 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2029, + "id": 1521, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "38530:1:1", + "src": "39630:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "38508:23:1", + "src": "39608:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "assignments": [ - 2033 + 1525 ], "declarations": [ { "constant": false, - "id": 2033, + "id": 1525, "mutability": "mutable", "name": "lastEntry", "nodeType": "VariableDeclaration", - "scope": 2073, - "src": "38771:26:1", + "scope": 1565, + "src": "39876:26:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2032, + "id": 1524, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "38771:8:1", + "referencedDeclaration": 1420, + "src": "39876:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2038, + "id": 1530, "initialValue": { "baseExpression": { "expression": { - "id": 2034, + "id": 1526, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38800:3:1", + "referencedDeclaration": 1493, + "src": "39905:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2035, + "id": 1527, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38800:12:1", + "referencedDeclaration": 1423, + "src": "39905:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2037, + "id": 1529, "indexExpression": { - "id": 2036, + "id": 1528, "name": "lastIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2025, - "src": "38813:9:1", + "referencedDeclaration": 1517, + "src": "39918:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18695,18 +18695,18 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "38800:23:1", + "src": "39905:23:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "expression": { - "id": 2045, + "id": 1537, "isConstant": false, "isLValue": false, "isPure": false, @@ -18714,39 +18714,39 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2039, + "id": 1531, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "38915:3:1", + "referencedDeclaration": 1493, + "src": "40023:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2042, + "id": 1534, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "38915:12:1", + "referencedDeclaration": 1423, + "src": "40023:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2043, + "id": 1535, "indexExpression": { - "id": 2041, + "id": 1533, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "38928:13:1", + "referencedDeclaration": 1511, + "src": "40036:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18757,39 +18757,39 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "38915:27:1", + "src": "40023:27:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2044, + "id": 1536, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "38945:9:1", + "referencedDeclaration": 1525, + "src": "40053:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "src": "38915:39:1", + "src": "40023:39:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2046, + "id": 1538, "nodeType": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "expression": { - "id": 2056, + "id": 1548, "isConstant": false, "isLValue": false, "isPure": false, @@ -18797,54 +18797,54 @@ "leftHandSide": { "baseExpression": { "expression": { - "id": 2047, + "id": 1539, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39020:3:1", + "referencedDeclaration": 1493, + "src": "40130:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2051, + "id": 1543, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39020:12:1", + "referencedDeclaration": 1427, + "src": "40130:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2052, + "id": 1544, "indexExpression": { "expression": { - "id": 2049, + "id": 1541, "name": "lastEntry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2033, - "src": "39033:9:1", + "referencedDeclaration": 1525, + "src": "40143:9:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2050, + "id": 1542, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "39033:14:1", + "referencedDeclaration": 1417, + "src": "40143:14:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -18855,7 +18855,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39020:28:1", + "src": "40130:28:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18868,18 +18868,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2055, + "id": 1547, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2053, + "id": 1545, "name": "toDeleteIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2019, - "src": "39051:13:1", + "referencedDeclaration": 1511, + "src": "40161:13:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -18889,35 +18889,35 @@ "operator": "+", "rightExpression": { "hexValue": "31", - "id": 2054, + "id": 1546, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39067:1:1", + "src": "40177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "39051:17:1", + "src": "40161:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "39020:48:1", + "src": "40130:48:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2057, + "id": 1549, "nodeType": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "expression": { @@ -18926,45 +18926,45 @@ "argumentTypes": [], "expression": { "expression": { - "id": 2058, + "id": 1550, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39174:3:1", + "referencedDeclaration": 1493, + "src": "40287:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2061, + "id": 1553, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39174:12:1", + "referencedDeclaration": 1423, + "src": "40287:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2062, + "id": 1554, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "pop", "nodeType": "MemberAccess", - "src": "39174:16:1", + "src": "40287:16:0", "typeDescriptions": { "typeIdentifier": "t_function_arraypop_nonpayable$__$returns$__$", "typeString": "function ()" } }, - "id": 2063, + "id": 1555, "isConstant": false, "isLValue": false, "isPure": false, @@ -18972,20 +18972,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "39174:18:1", + "src": "40287:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2064, + "id": 1556, "nodeType": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "expression": { - "id": 2069, + "id": 1561, "isConstant": false, "isLValue": false, "isPure": false, @@ -18993,43 +18993,43 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "39260:24:1", + "src": "40376:24:0", "subExpression": { "baseExpression": { "expression": { - "id": 2065, + "id": 1557, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2001, - "src": "39267:3:1", + "referencedDeclaration": 1493, + "src": "40383:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2066, + "id": 1558, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39267:12:1", + "referencedDeclaration": 1427, + "src": "40383:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2068, + "id": 1560, "indexExpression": { - "id": 2067, + "id": 1559, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2003, - "src": "39280:3:1", + "referencedDeclaration": 1495, + "src": "40396:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19040,7 +19040,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "39267:17:1", + "src": "40383:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19051,31 +19051,31 @@ "typeString": "tuple()" } }, - "id": 2070, + "id": 1562, "nodeType": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "expression": { "hexValue": "74727565", - "id": 2071, + "id": 1563, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "39306:4:1", + "src": "40424:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 2007, - "id": 2072, + "functionReturnParameters": 1499, + "id": 1564, "nodeType": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ] } @@ -19083,43 +19083,43 @@ ] }, "documentation": { - "id": 1999, + "id": 1491, "nodeType": "StructuredDocumentation", - "src": "37691:157:1", + "src": "38776:161:0", "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2079, + "id": 1571, "implemented": true, "kind": "function", "modifiers": [], "name": "_remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2004, + "id": 1496, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2001, + "id": 1493, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37870:15:1", + "scope": 1571, + "src": "38960:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2000, + "id": 1492, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "37870:3:1", + "referencedDeclaration": 1428, + "src": "38960:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19127,12 +19127,12 @@ }, { "constant": false, - "id": 2003, + "id": 1495, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37887:11:1", + "scope": 1571, + "src": "38977:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19140,10 +19140,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2002, + "id": 1494, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "37887:7:1", + "src": "38977:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19152,20 +19152,20 @@ "visibility": "internal" } ], - "src": "37869:30:1" + "src": "38959:30:0" }, "returnParameters": { - "id": 2007, + "id": 1499, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2006, + "id": 1498, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2079, - "src": "37917:4:1", + "scope": 1571, + "src": "39007:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19173,10 +19173,10 @@ "typeString": "bool" }, "typeName": { - "id": 2005, + "id": 1497, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "37917:4:1", + "src": "39007:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19185,19 +19185,19 @@ "visibility": "internal" } ], - "src": "37916:6:1" + "src": "39006:6:0" }, - "scope": 2480, - "src": "37853:1517:1", + "scope": 1972, + "src": "38943:1549:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 2096, + "id": 1588, "nodeType": "Block", - "src": "39526:46:1", + "src": "40653:48:0", "statements": [ { "expression": { @@ -19205,7 +19205,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2094, + "id": 1586, "isConstant": false, "isLValue": false, "isPure": false, @@ -19213,39 +19213,39 @@ "leftExpression": { "baseExpression": { "expression": { - "id": 2089, + "id": 1581, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2082, - "src": "39543:3:1", + "referencedDeclaration": 1574, + "src": "40671:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2090, + "id": 1582, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "39543:12:1", + "referencedDeclaration": 1427, + "src": "40671:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2092, + "id": 1584, "indexExpression": { - "id": 2091, + "id": 1583, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2084, - "src": "39556:3:1", + "referencedDeclaration": 1576, + "src": "40684:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19256,7 +19256,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "39543:17:1", + "src": "40671:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19266,71 +19266,71 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2093, + "id": 1585, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "39564:1:1", + "src": "40692:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "39543:22:1", + "src": "40671:22:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2088, - "id": 2095, + "functionReturnParameters": 1580, + "id": 1587, "nodeType": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ] }, "documentation": { - "id": 2080, + "id": 1572, "nodeType": "StructuredDocumentation", - "src": "39376:68:1", + "src": "40500:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2097, + "id": 1589, "implemented": true, "kind": "function", "modifiers": [], "name": "_contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2085, + "id": 1577, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2082, + "id": 1574, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39468:15:1", + "scope": 1589, + "src": "40595:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2081, + "id": 1573, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39468:3:1", + "referencedDeclaration": 1428, + "src": "40595:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19338,12 +19338,12 @@ }, { "constant": false, - "id": 2084, + "id": 1576, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39485:11:1", + "scope": 1589, + "src": "40612:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19351,10 +19351,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2083, + "id": 1575, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "39485:7:1", + "src": "40612:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19363,20 +19363,20 @@ "visibility": "internal" } ], - "src": "39467:30:1" + "src": "40594:30:0" }, "returnParameters": { - "id": 2088, + "id": 1580, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2087, + "id": 1579, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2097, - "src": "39520:4:1", + "scope": 1589, + "src": "40647:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19384,10 +19384,10 @@ "typeString": "bool" }, "typeName": { - "id": 2086, + "id": 1578, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "39520:4:1", + "src": "40647:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19396,127 +19396,127 @@ "visibility": "internal" } ], - "src": "39519:6:1" + "src": "40646:6:0" }, - "scope": 2480, - "src": "39449:123:1", + "scope": 1972, + "src": "40576:125:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2109, + "id": 1601, "nodeType": "Block", - "src": "39727:43:1", + "src": "40861:45:0", "statements": [ { "expression": { "expression": { "expression": { - "id": 2105, + "id": 1597, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2100, - "src": "39744:3:1", + "referencedDeclaration": 1592, + "src": "40879:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2106, + "id": 1598, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "39744:12:1", + "referencedDeclaration": 1423, + "src": "40879:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2107, + "id": 1599, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "39744:19:1", + "src": "40879:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2104, - "id": 2108, + "functionReturnParameters": 1596, + "id": 1600, "nodeType": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ] }, "documentation": { - "id": 2098, + "id": 1590, "nodeType": "StructuredDocumentation", - "src": "39578:79:1", + "src": "40709:81:0", "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2110, + "id": 1602, "implemented": true, "kind": "function", "modifiers": [], "name": "_length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2101, + "id": 1593, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2100, + "id": 1592, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39679:15:1", + "scope": 1602, + "src": "40813:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2099, + "id": 1591, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "39679:3:1", + "referencedDeclaration": 1428, + "src": "40813:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, "visibility": "internal" } ], - "src": "39678:17:1" + "src": "40812:17:0" }, "returnParameters": { - "id": 2104, + "id": 1596, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2103, + "id": 1595, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2110, - "src": "39718:7:1", + "scope": 1602, + "src": "40852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19524,10 +19524,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2102, + "id": 1594, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "39718:7:1", + "src": "40852:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19536,19 +19536,19 @@ "visibility": "internal" } ], - "src": "39717:9:1" + "src": "40851:9:0" }, - "scope": 2480, - "src": "39662:108:1", + "scope": 1972, + "src": "40796:110:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2144, + "id": 1636, "nodeType": "Block", - "src": "40198:189:1", + "src": "41346:194:0", "statements": [ { "expression": { @@ -19558,7 +19558,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2127, + "id": 1619, "isConstant": false, "isLValue": false, "isPure": false, @@ -19566,39 +19566,39 @@ "leftExpression": { "expression": { "expression": { - "id": 2123, + "id": 1615, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40216:3:1", + "referencedDeclaration": 1605, + "src": "41365:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2124, + "id": 1616, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40216:12:1", + "referencedDeclaration": 1423, + "src": "41365:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2125, + "id": 1617, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "40216:19:1", + "src": "41365:19:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19607,18 +19607,18 @@ "nodeType": "BinaryOperation", "operator": ">", "rightExpression": { - "id": 2126, + "id": 1618, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40238:5:1", + "referencedDeclaration": 1607, + "src": "41387:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "40216:27:1", + "src": "41365:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -19626,14 +19626,14 @@ }, { "hexValue": "456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e6473", - "id": 2128, + "id": 1620, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "40245:36:1", + "src": "41394:36:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_86631030b9066a18616a068fc09fce83d18af4765cb1d2166fa475228f4db155", "typeString": "literal_string \"EnumerableMap: index out of bounds\"" @@ -19652,7 +19652,7 @@ "typeString": "literal_string \"EnumerableMap: index out of bounds\"" } ], - "id": 2122, + "id": 1614, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -19660,13 +19660,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "40208:7:1", + "src": "41357:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2129, + "id": 1621, "isConstant": false, "isLValue": false, "isPure": false, @@ -19674,87 +19674,87 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "40208:74:1", + "src": "41357:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2130, + "id": 1622, "nodeType": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "assignments": [ - 2132 + 1624 ], "declarations": [ { "constant": false, - "id": 2132, + "id": 1624, "mutability": "mutable", "name": "entry", "nodeType": "VariableDeclaration", - "scope": 2144, - "src": "40293:22:1", + "scope": 1636, + "src": "41444:22:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" }, "typeName": { - "id": 2131, + "id": 1623, "name": "MapEntry", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1928, - "src": "40293:8:1", + "referencedDeclaration": 1420, + "src": "41444:8:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry" } }, "visibility": "internal" } ], - "id": 2137, + "id": 1629, "initialValue": { "baseExpression": { "expression": { - "id": 2133, + "id": 1625, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2113, - "src": "40318:3:1", + "referencedDeclaration": 1605, + "src": "41469:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2134, + "id": 1626, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40318:12:1", + "referencedDeclaration": 1423, + "src": "41469:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2136, + "id": 1628, "indexExpression": { - "id": 2135, + "id": 1627, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2115, - "src": "40331:5:1", + "referencedDeclaration": 1607, + "src": "41482:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19765,40 +19765,40 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40318:19:1", + "src": "41469:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "expression": { "components": [ { "expression": { - "id": 2138, + "id": 1630, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40355:5:1", + "referencedDeclaration": 1624, + "src": "41507:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2139, + "id": 1631, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_key", "nodeType": "MemberAccess", - "referencedDeclaration": 1925, - "src": "40355:10:1", + "referencedDeclaration": 1417, + "src": "41507:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19806,90 +19806,90 @@ }, { "expression": { - "id": 2140, + "id": 1632, "name": "entry", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2132, - "src": "40367:5:1", + "referencedDeclaration": 1624, + "src": "41519:5:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage_ptr", "typeString": "struct EnumerableMap.MapEntry storage pointer" } }, - "id": 2141, + "id": 1633, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40367:12:1", + "referencedDeclaration": 1419, + "src": "41519:12:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2142, + "id": 1634, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40354:26:1", + "src": "41506:26:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", "typeString": "tuple(bytes32,bytes32)" } }, - "functionReturnParameters": 2121, - "id": 2143, + "functionReturnParameters": 1613, + "id": 1635, "nodeType": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ] }, "documentation": { - "id": 2111, + "id": 1603, "nodeType": "StructuredDocumentation", - "src": "39775:333:1", + "src": "40913:342:0", "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2145, + "id": 1637, "implemented": true, "kind": "function", "modifiers": [], "name": "_at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2116, + "id": 1608, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2113, + "id": 1605, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40126:15:1", + "scope": 1637, + "src": "41274:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2112, + "id": 1604, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40126:3:1", + "referencedDeclaration": 1428, + "src": "41274:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -19897,12 +19897,12 @@ }, { "constant": false, - "id": 2115, + "id": 1607, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40143:13:1", + "scope": 1637, + "src": "41291:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19910,10 +19910,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2114, + "id": 1606, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40143:7:1", + "src": "41291:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -19922,20 +19922,20 @@ "visibility": "internal" } ], - "src": "40125:32:1" + "src": "41273:32:0" }, "returnParameters": { - "id": 2121, + "id": 1613, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2118, + "id": 1610, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40180:7:1", + "scope": 1637, + "src": "41328:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19943,10 +19943,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2117, + "id": 1609, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40180:7:1", + "src": "41328:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19956,12 +19956,12 @@ }, { "constant": false, - "id": 2120, + "id": 1612, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2145, - "src": "40189:7:1", + "scope": 1637, + "src": "41337:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -19969,10 +19969,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2119, + "id": 1611, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40189:7:1", + "src": "41337:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -19981,33 +19981,33 @@ "visibility": "internal" } ], - "src": "40179:18:1" + "src": "41327:18:0" }, - "scope": 2480, - "src": "40113:274:1", + "scope": 1972, + "src": "41261:279:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2182, + "id": 1674, "nodeType": "Block", - "src": "40613:220:1", + "src": "41772:224:0", "statements": [ { "assignments": [ - 2158 + 1650 ], "declarations": [ { "constant": false, - "id": 2158, + "id": 1650, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2182, - "src": "40623:16:1", + "scope": 1674, + "src": "41783:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20015,10 +20015,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2157, + "id": 1649, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "40623:7:1", + "src": "41783:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20027,43 +20027,43 @@ "visibility": "internal" } ], - "id": 2163, + "id": 1655, "initialValue": { "baseExpression": { "expression": { - "id": 2159, + "id": 1651, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40642:3:1", + "referencedDeclaration": 1640, + "src": "41802:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2160, + "id": 1652, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "40642:12:1", + "referencedDeclaration": 1427, + "src": "41802:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2162, + "id": 1654, "indexExpression": { - "id": 2161, + "id": 1653, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2150, - "src": "40655:3:1", + "referencedDeclaration": 1642, + "src": "41815:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20074,14 +20074,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40642:17:1", + "src": "41802:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "condition": { @@ -20089,18 +20089,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2166, + "id": 1658, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2164, + "id": 1656, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40673:8:1", + "referencedDeclaration": 1650, + "src": "41834:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20110,42 +20110,42 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2165, + "id": 1657, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40685:1:1", + "src": "41846:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "40673:13:1", + "src": "41834:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2171, + "id": 1663, "nodeType": "IfStatement", - "src": "40669:36:1", + "src": "41830:36:0", "trueBody": { "expression": { "components": [ { "hexValue": "66616c7365", - "id": 2167, + "id": 1659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40696:5:1", + "src": "41857:5:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20154,14 +20154,14 @@ }, { "hexValue": "30", - "id": 2168, + "id": 1660, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40703:1:1", + "src": "41864:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -20169,23 +20169,23 @@ "value": "0" } ], - "id": 2169, + "id": 1661, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40695:10:1", + "src": "41856:10:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_rational_0_by_1_$", "typeString": "tuple(bool,int_const 0)" } }, - "functionReturnParameters": 2156, - "id": 2170, + "functionReturnParameters": 1648, + "id": 1662, "nodeType": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } }, { @@ -20193,14 +20193,14 @@ "components": [ { "hexValue": "74727565", - "id": 2172, + "id": 1664, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "40759:4:1", + "src": "41921:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20211,49 +20211,49 @@ "expression": { "baseExpression": { "expression": { - "id": 2173, + "id": 1665, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2148, - "src": "40765:3:1", + "referencedDeclaration": 1640, + "src": "41927:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2174, + "id": 1666, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "40765:12:1", + "referencedDeclaration": 1423, + "src": "41927:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2178, + "id": 1670, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2177, + "id": 1669, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2175, + "id": 1667, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2158, - "src": "40778:8:1", + "referencedDeclaration": 1650, + "src": "41940:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20263,21 +20263,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2176, + "id": 1668, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "40789:1:1", + "src": "41951:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "40778:12:1", + "src": "41940:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20288,85 +20288,85 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "40765:26:1", + "src": "41927:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2179, + "id": 1671, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "40765:33:1", + "referencedDeclaration": 1419, + "src": "41927:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } } ], - "id": 2180, + "id": 1672, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "40758:41:1", + "src": "41920:41:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", "typeString": "tuple(bool,bytes32)" } }, - "functionReturnParameters": 2156, - "id": 2181, + "functionReturnParameters": 1648, + "id": 1673, "nodeType": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ] }, "documentation": { - "id": 2146, + "id": 1638, "nodeType": "StructuredDocumentation", - "src": "40393:131:1", + "src": "41548:134:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2183, + "id": 1675, "implemented": true, "kind": "function", "modifiers": [], "name": "_tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2151, + "id": 1643, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2148, + "id": 1640, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40546:15:1", + "scope": 1675, + "src": "41705:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2147, + "id": 1639, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40546:3:1", + "referencedDeclaration": 1428, + "src": "41705:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20374,12 +20374,12 @@ }, { "constant": false, - "id": 2150, + "id": 1642, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40563:11:1", + "scope": 1675, + "src": "41722:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20387,10 +20387,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2149, + "id": 1641, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40563:7:1", + "src": "41722:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20399,20 +20399,20 @@ "visibility": "internal" } ], - "src": "40545:30:1" + "src": "41704:30:0" }, "returnParameters": { - "id": 2156, + "id": 1648, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2153, + "id": 1645, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40598:4:1", + "scope": 1675, + "src": "41757:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20420,10 +20420,10 @@ "typeString": "bool" }, "typeName": { - "id": 2152, + "id": 1644, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "40598:4:1", + "src": "41757:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20433,12 +20433,12 @@ }, { "constant": false, - "id": 2155, + "id": 1647, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2183, - "src": "40604:7:1", + "scope": 1675, + "src": "41763:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20446,10 +20446,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2154, + "id": 1646, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "40604:7:1", + "src": "41763:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20458,33 +20458,33 @@ "visibility": "internal" } ], - "src": "40597:15:1" + "src": "41756:15:0" }, - "scope": 2480, - "src": "40529:304:1", + "scope": 1972, + "src": "41688:308:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2215, + "id": 1707, "nodeType": "Block", - "src": "41060:232:1", + "src": "42232:236:0", "statements": [ { "assignments": [ - 2194 + 1686 ], "declarations": [ { "constant": false, - "id": 2194, + "id": 1686, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2215, - "src": "41070:16:1", + "scope": 1707, + "src": "42243:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20492,10 +20492,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2193, + "id": 1685, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41070:7:1", + "src": "42243:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20504,43 +20504,43 @@ "visibility": "internal" } ], - "id": 2199, + "id": 1691, "initialValue": { "baseExpression": { "expression": { - "id": 2195, + "id": 1687, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41089:3:1", + "referencedDeclaration": 1678, + "src": "42262:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2196, + "id": 1688, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41089:12:1", + "referencedDeclaration": 1427, + "src": "42262:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2198, + "id": 1690, "indexExpression": { - "id": 2197, + "id": 1689, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2188, - "src": "41102:3:1", + "referencedDeclaration": 1680, + "src": "42275:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20551,14 +20551,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41089:17:1", + "src": "42262:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "expression": { @@ -20568,18 +20568,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2203, + "id": 1695, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2201, + "id": 1693, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41124:8:1", + "referencedDeclaration": 1686, + "src": "42298:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20589,21 +20589,21 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2202, + "id": 1694, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41136:1:1", + "src": "42310:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41124:13:1", + "src": "42298:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -20611,14 +20611,14 @@ }, { "hexValue": "456e756d657261626c654d61703a206e6f6e6578697374656e74206b6579", - "id": 2204, + "id": 1696, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "41139:32:1", + "src": "42313:32:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_d3551e30d3095fd81287b88f7139bb09818e34280e85ee821994ebaebbed7072", "typeString": "literal_string \"EnumerableMap: nonexistent key\"" @@ -20637,7 +20637,7 @@ "typeString": "literal_string \"EnumerableMap: nonexistent key\"" } ], - "id": 2200, + "id": 1692, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -20645,13 +20645,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41116:7:1", + "src": "42290:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2205, + "id": 1697, "isConstant": false, "isLValue": false, "isPure": false, @@ -20659,65 +20659,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41116:56:1", + "src": "42290:56:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2206, + "id": 1698, "nodeType": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2207, + "id": 1699, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2186, - "src": "41225:3:1", + "referencedDeclaration": 1678, + "src": "42400:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2208, + "id": 1700, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41225:12:1", + "referencedDeclaration": 1423, + "src": "42400:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2212, + "id": 1704, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2211, + "id": 1703, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2209, + "id": 1701, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2194, - "src": "41238:8:1", + "referencedDeclaration": 1686, + "src": "42413:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20727,21 +20727,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2210, + "id": 1702, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41249:1:1", + "src": "42424:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41238:12:1", + "src": "42413:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20752,71 +20752,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41225:26:1", + "src": "42400:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2213, + "id": 1705, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41225:33:1", + "referencedDeclaration": 1419, + "src": "42400:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2192, - "id": 2214, + "functionReturnParameters": 1684, + "id": 1706, "nodeType": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ] }, "documentation": { - "id": 2184, + "id": 1676, "nodeType": "StructuredDocumentation", - "src": "40839:141:1", + "src": "42004:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2216, + "id": 1708, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2189, + "id": 1681, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2186, + "id": 1678, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "40999:15:1", + "scope": 1708, + "src": "42171:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2185, + "id": 1677, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "40999:3:1", + "referencedDeclaration": 1428, + "src": "42171:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -20824,12 +20824,12 @@ }, { "constant": false, - "id": 2188, + "id": 1680, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41016:11:1", + "scope": 1708, + "src": "42188:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20837,10 +20837,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2187, + "id": 1679, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41016:7:1", + "src": "42188:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20849,20 +20849,20 @@ "visibility": "internal" } ], - "src": "40998:30:1" + "src": "42170:30:0" }, "returnParameters": { - "id": 2192, + "id": 1684, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2191, + "id": 1683, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2216, - "src": "41051:7:1", + "scope": 1708, + "src": "42223:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20870,10 +20870,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2190, + "id": 1682, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41051:7:1", + "src": "42223:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20882,33 +20882,33 @@ "visibility": "internal" } ], - "src": "41050:9:1" + "src": "42222:9:0" }, - "scope": 2480, - "src": "40985:307:1", + "scope": 1972, + "src": "42157:311:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "body": { - "id": 2250, + "id": 1742, "nodeType": "Block", - "src": "41677:212:1", + "src": "42861:216:0", "statements": [ { "assignments": [ - 2229 + 1721 ], "declarations": [ { "constant": false, - "id": 2229, + "id": 1721, "mutability": "mutable", "name": "keyIndex", "nodeType": "VariableDeclaration", - "scope": 2250, - "src": "41687:16:1", + "scope": 1742, + "src": "42872:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -20916,10 +20916,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2228, + "id": 1720, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "41687:7:1", + "src": "42872:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -20928,43 +20928,43 @@ "visibility": "internal" } ], - "id": 2234, + "id": 1726, "initialValue": { "baseExpression": { "expression": { - "id": 2230, + "id": 1722, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41706:3:1", + "referencedDeclaration": 1711, + "src": "42891:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2231, + "id": 1723, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_indexes", "nodeType": "MemberAccess", - "referencedDeclaration": 1935, - "src": "41706:12:1", + "referencedDeclaration": 1427, + "src": "42891:12:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_bytes32_$_t_uint256_$", "typeString": "mapping(bytes32 => uint256)" } }, - "id": 2233, + "id": 1725, "indexExpression": { - "id": 2232, + "id": 1724, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2221, - "src": "41719:3:1", + "referencedDeclaration": 1713, + "src": "42904:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -20975,14 +20975,14 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41706:17:1", + "src": "42891:17:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "expression": { @@ -20992,18 +20992,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2238, + "id": 1730, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2236, + "id": 1728, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41741:8:1", + "referencedDeclaration": 1721, + "src": "42927:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21013,33 +21013,33 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2237, + "id": 1729, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41753:1:1", + "src": "42939:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "41741:13:1", + "src": "42927:13:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, { - "id": 2239, + "id": 1731, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2223, - "src": "41756:12:1", + "referencedDeclaration": 1715, + "src": "42942:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -21057,7 +21057,7 @@ "typeString": "string memory" } ], - "id": 2235, + "id": 1727, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -21065,13 +21065,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "41733:7:1", + "src": "42919:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2240, + "id": 1732, "isConstant": false, "isLValue": false, "isPure": false, @@ -21079,65 +21079,65 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "41733:36:1", + "src": "42919:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2241, + "id": 1733, "nodeType": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "expression": { "expression": { "baseExpression": { "expression": { - "id": 2242, + "id": 1734, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2219, - "src": "41822:3:1", + "referencedDeclaration": 1711, + "src": "43009:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map storage pointer" } }, - "id": 2243, + "id": 1735, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_entries", "nodeType": "MemberAccess", - "referencedDeclaration": 1931, - "src": "41822:12:1", + "referencedDeclaration": 1423, + "src": "43009:12:0", "typeDescriptions": { - "typeIdentifier": "t_array$_t_struct$_MapEntry_$1928_storage_$dyn_storage", + "typeIdentifier": "t_array$_t_struct$_MapEntry_$1420_storage_$dyn_storage", "typeString": "struct EnumerableMap.MapEntry storage ref[] storage ref" } }, - "id": 2247, + "id": 1739, "indexExpression": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2246, + "id": 1738, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2244, + "id": 1736, "name": "keyIndex", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2229, - "src": "41835:8:1", + "referencedDeclaration": 1721, + "src": "43022:8:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21147,21 +21147,21 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2245, + "id": 1737, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "41846:1:1", + "src": "43033:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "41835:12:1", + "src": "43022:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21172,71 +21172,71 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "41822:26:1", + "src": "43009:26:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_MapEntry_$1928_storage", + "typeIdentifier": "t_struct$_MapEntry_$1420_storage", "typeString": "struct EnumerableMap.MapEntry storage ref" } }, - "id": 2248, + "id": 1740, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_value", "nodeType": "MemberAccess", - "referencedDeclaration": 1927, - "src": "41822:33:1", + "referencedDeclaration": 1419, + "src": "43009:33:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" } }, - "functionReturnParameters": 2227, - "id": 2249, + "functionReturnParameters": 1719, + "id": 1741, "nodeType": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ] }, "documentation": { - "id": 2217, + "id": 1709, "nodeType": "StructuredDocumentation", - "src": "41298:271:1", + "src": "42476:276:0", "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2251, + "id": 1743, "implemented": true, "kind": "function", "modifiers": [], "name": "_get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2224, + "id": 1716, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2219, + "id": 1711, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41588:15:1", + "scope": 1743, + "src": "42772:15:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2218, + "id": 1710, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41588:3:1", + "referencedDeclaration": 1428, + "src": "42772:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21244,12 +21244,12 @@ }, { "constant": false, - "id": 2221, + "id": 1713, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41605:11:1", + "scope": 1743, + "src": "42789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21257,10 +21257,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2220, + "id": 1712, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41605:7:1", + "src": "42789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21270,12 +21270,12 @@ }, { "constant": false, - "id": 2223, + "id": 1715, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41618:26:1", + "scope": 1743, + "src": "42802:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -21283,10 +21283,10 @@ "typeString": "string" }, "typeName": { - "id": 2222, + "id": 1714, "name": "string", "nodeType": "ElementaryTypeName", - "src": "41618:6:1", + "src": "42802:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -21295,20 +21295,20 @@ "visibility": "internal" } ], - "src": "41587:58:1" + "src": "42771:58:0" }, "returnParameters": { - "id": 2227, + "id": 1719, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2226, + "id": 1718, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2251, - "src": "41668:7:1", + "scope": 1743, + "src": "42852:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21316,10 +21316,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2225, + "id": 1717, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "41668:7:1", + "src": "42852:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -21328,40 +21328,40 @@ "visibility": "internal" } ], - "src": "41667:9:1" + "src": "42851:9:0" }, - "scope": 2480, - "src": "41574:315:1", + "scope": 1972, + "src": "42758:319:0", "stateMutability": "view", "virtual": false, "visibility": "private" }, { "canonicalName": "EnumerableMap.UintToAddressMap", - "id": 2254, + "id": 1746, "members": [ { "constant": false, - "id": 2253, + "id": 1745, "mutability": "mutable", "name": "_inner", "nodeType": "VariableDeclaration", - "scope": 2254, - "src": "41954:10:1", + "scope": 1746, + "src": "43147:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" }, "typeName": { - "id": 2252, + "id": 1744, "name": "Map", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1936, - "src": "41954:3:1", + "referencedDeclaration": 1428, + "src": "43147:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage_ptr", + "typeIdentifier": "t_struct$_Map_$1428_storage_ptr", "typeString": "struct EnumerableMap.Map" } }, @@ -21370,55 +21370,55 @@ ], "name": "UintToAddressMap", "nodeType": "StructDefinition", - "scope": 2480, - "src": "41920:51:1", + "scope": 1972, + "src": "43112:53:0", "visibility": "public" }, { "body": { - "id": 2285, + "id": 1777, "nodeType": "Block", - "src": "42293:88:1", + "src": "43496:90:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2267, + "id": 1759, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2257, - "src": "42315:3:1", + "referencedDeclaration": 1749, + "src": "43519:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2268, + "id": 1760, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42315:10:1", + "referencedDeclaration": 1745, + "src": "43519:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2271, + "id": 1763, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2259, - "src": "42335:3:1", + "referencedDeclaration": 1751, + "src": "43539:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21432,26 +21432,26 @@ "typeString": "uint256" } ], - "id": 2270, + "id": 1762, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2269, + "id": 1761, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42327:7:1", + "src": "43531:7:0", "typeDescriptions": {} } }, - "id": 2272, + "id": 1764, "isConstant": false, "isLValue": false, "isPure": false, @@ -21459,7 +21459,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42327:12:1", + "src": "43531:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21473,12 +21473,12 @@ { "arguments": [ { - "id": 2279, + "id": 1771, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2261, - "src": "42365:5:1", + "referencedDeclaration": 1753, + "src": "43569:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -21492,26 +21492,26 @@ "typeString": "address" } ], - "id": 2278, + "id": 1770, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2277, + "id": 1769, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "42357:7:1", + "src": "43561:7:0", "typeDescriptions": {} } }, - "id": 2280, + "id": 1772, "isConstant": false, "isLValue": false, "isPure": false, @@ -21519,7 +21519,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42357:14:1", + "src": "43561:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -21534,26 +21534,26 @@ "typeString": "uint160" } ], - "id": 2276, + "id": 1768, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2275, + "id": 1767, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42349:7:1", + "src": "43553:7:0", "typeDescriptions": {} } }, - "id": 2281, + "id": 1773, "isConstant": false, "isLValue": false, "isPure": false, @@ -21561,7 +21561,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42349:23:1", + "src": "43553:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -21576,26 +21576,26 @@ "typeString": "uint256" } ], - "id": 2274, + "id": 1766, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2273, + "id": 1765, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42341:7:1", + "src": "43545:7:0", "typeDescriptions": {} } }, - "id": 2282, + "id": 1774, "isConstant": false, "isLValue": false, "isPure": false, @@ -21603,7 +21603,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42341:32:1", + "src": "43545:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21614,7 +21614,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -21626,18 +21626,18 @@ "typeString": "bytes32" } ], - "id": 2266, + "id": 1758, "name": "_set", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 1998, - "src": "42310:4:1", + "referencedDeclaration": 1490, + "src": "43514:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)" } }, - "id": 2283, + "id": 1775, "isConstant": false, "isLValue": false, "isPure": false, @@ -21645,58 +21645,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42310:64:1", + "src": "43514:64:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2265, - "id": 2284, + "functionReturnParameters": 1757, + "id": 1776, "nodeType": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ] }, "documentation": { - "id": 2255, + "id": 1747, "nodeType": "StructuredDocumentation", - "src": "41977:216:1", + "src": "43173:222:0", "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2286, + "id": 1778, "implemented": true, "kind": "function", "modifiers": [], "name": "set", "nodeType": "FunctionDefinition", "parameters": { - "id": 2262, + "id": 1754, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2257, + "id": 1749, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42211:28:1", + "scope": 1778, + "src": "43414:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2256, + "id": 1748, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42211:16:1", + "referencedDeclaration": 1746, + "src": "43414:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -21704,12 +21704,12 @@ }, { "constant": false, - "id": 2259, + "id": 1751, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42241:11:1", + "scope": 1778, + "src": "43444:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21717,10 +21717,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2258, + "id": 1750, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42241:7:1", + "src": "43444:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21730,12 +21730,12 @@ }, { "constant": false, - "id": 2261, + "id": 1753, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42254:13:1", + "scope": 1778, + "src": "43457:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21743,10 +21743,10 @@ "typeString": "address" }, "typeName": { - "id": 2260, + "id": 1752, "name": "address", "nodeType": "ElementaryTypeName", - "src": "42254:7:1", + "src": "43457:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -21756,20 +21756,20 @@ "visibility": "internal" } ], - "src": "42210:58:1" + "src": "43413:58:0" }, "returnParameters": { - "id": 2265, + "id": 1757, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2264, + "id": 1756, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2286, - "src": "42287:4:1", + "scope": 1778, + "src": "43490:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21777,10 +21777,10 @@ "typeString": "bool" }, "typeName": { - "id": 2263, + "id": 1755, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42287:4:1", + "src": "43490:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -21789,59 +21789,59 @@ "visibility": "internal" } ], - "src": "42286:6:1" + "src": "43489:6:0" }, - "scope": 2480, - "src": "42198:183:1", + "scope": 1972, + "src": "43401:185:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2305, + "id": 1797, "nodeType": "Block", - "src": "42623:57:1", + "src": "43835:59:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2297, + "id": 1789, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2289, - "src": "42648:3:1", + "referencedDeclaration": 1781, + "src": "43861:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2298, + "id": 1790, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42648:10:1", + "referencedDeclaration": 1745, + "src": "43861:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2301, + "id": 1793, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2291, - "src": "42668:3:1", + "referencedDeclaration": 1783, + "src": "43881:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -21855,26 +21855,26 @@ "typeString": "uint256" } ], - "id": 2300, + "id": 1792, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2299, + "id": 1791, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42660:7:1", + "src": "43873:7:0", "typeDescriptions": {} } }, - "id": 2302, + "id": 1794, "isConstant": false, "isLValue": false, "isPure": false, @@ -21882,7 +21882,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42660:12:1", + "src": "43873:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -21893,7 +21893,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -21901,18 +21901,18 @@ "typeString": "bytes32" } ], - "id": 2296, + "id": 1788, "name": "_remove", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2079, - "src": "42640:7:1", + "referencedDeclaration": 1571, + "src": "43853:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)" } }, - "id": 2303, + "id": 1795, "isConstant": false, "isLValue": false, "isPure": false, @@ -21920,58 +21920,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42640:33:1", + "src": "43853:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2295, - "id": 2304, + "functionReturnParameters": 1787, + "id": 1796, "nodeType": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ] }, "documentation": { - "id": 2287, + "id": 1779, "nodeType": "StructuredDocumentation", - "src": "42387:148:1", + "src": "43594:152:0", "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2306, + "id": 1798, "implemented": true, "kind": "function", "modifiers": [], "name": "remove", "nodeType": "FunctionDefinition", "parameters": { - "id": 2292, + "id": 1784, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2289, + "id": 1781, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42556:28:1", + "scope": 1798, + "src": "43768:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2288, + "id": 1780, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42556:16:1", + "referencedDeclaration": 1746, + "src": "43768:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -21979,12 +21979,12 @@ }, { "constant": false, - "id": 2291, + "id": 1783, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42586:11:1", + "scope": 1798, + "src": "43798:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -21992,10 +21992,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2290, + "id": 1782, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42586:7:1", + "src": "43798:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22004,20 +22004,20 @@ "visibility": "internal" } ], - "src": "42555:43:1" + "src": "43767:43:0" }, "returnParameters": { - "id": 2295, + "id": 1787, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2294, + "id": 1786, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2306, - "src": "42617:4:1", + "scope": 1798, + "src": "43829:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22025,10 +22025,10 @@ "typeString": "bool" }, "typeName": { - "id": 2293, + "id": 1785, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42617:4:1", + "src": "43829:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22037,59 +22037,59 @@ "visibility": "internal" } ], - "src": "42616:6:1" + "src": "43828:6:0" }, - "scope": 2480, - "src": "42540:140:1", + "scope": 1972, + "src": "43752:142:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2325, + "id": 1817, "nodeType": "Block", - "src": "42849:59:1", + "src": "44068:61:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2317, + "id": 1809, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2309, - "src": "42876:3:1", + "referencedDeclaration": 1801, + "src": "44096:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2318, + "id": 1810, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "42876:10:1", + "referencedDeclaration": 1745, + "src": "44096:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2321, + "id": 1813, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2311, - "src": "42896:3:1", + "referencedDeclaration": 1803, + "src": "44116:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22103,26 +22103,26 @@ "typeString": "uint256" } ], - "id": 2320, + "id": 1812, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2319, + "id": 1811, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "42888:7:1", + "src": "44108:7:0", "typeDescriptions": {} } }, - "id": 2322, + "id": 1814, "isConstant": false, "isLValue": false, "isPure": false, @@ -22130,7 +22130,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42888:12:1", + "src": "44108:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -22141,7 +22141,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22149,18 +22149,18 @@ "typeString": "bytes32" } ], - "id": 2316, + "id": 1808, "name": "_contains", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2097, - "src": "42866:9:1", + "referencedDeclaration": 1589, + "src": "44086:9:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)" } }, - "id": 2323, + "id": 1815, "isConstant": false, "isLValue": false, "isPure": false, @@ -22168,58 +22168,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "42866:35:1", + "src": "44086:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2315, - "id": 2324, + "functionReturnParameters": 1807, + "id": 1816, "nodeType": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ] }, "documentation": { - "id": 2307, + "id": 1799, "nodeType": "StructuredDocumentation", - "src": "42686:68:1", + "src": "43902:70:0", "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2326, + "id": 1818, "implemented": true, "kind": "function", "modifiers": [], "name": "contains", "nodeType": "FunctionDefinition", "parameters": { - "id": 2312, + "id": 1804, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2309, + "id": 1801, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42777:28:1", + "scope": 1818, + "src": "43996:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2308, + "id": 1800, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "42777:16:1", + "referencedDeclaration": 1746, + "src": "43996:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22227,12 +22227,12 @@ }, { "constant": false, - "id": 2311, + "id": 1803, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42807:11:1", + "scope": 1818, + "src": "44026:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22240,10 +22240,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2310, + "id": 1802, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "42807:7:1", + "src": "44026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22252,20 +22252,20 @@ "visibility": "internal" } ], - "src": "42776:43:1" + "src": "43995:43:0" }, "returnParameters": { - "id": 2315, + "id": 1807, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2314, + "id": 1806, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2326, - "src": "42843:4:1", + "scope": 1818, + "src": "44062:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22273,10 +22273,10 @@ "typeString": "bool" }, "typeName": { - "id": 2313, + "id": 1805, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "42843:4:1", + "src": "44062:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -22285,47 +22285,47 @@ "visibility": "internal" } ], - "src": "42842:6:1" + "src": "44061:6:0" }, - "scope": 2480, - "src": "42759:149:1", + "scope": 1972, + "src": "43978:151:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2339, + "id": 1831, "nodeType": "Block", - "src": "43069:43:1", + "src": "44295:45:0", "statements": [ { "expression": { "arguments": [ { "expression": { - "id": 2335, + "id": 1827, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2329, - "src": "43094:3:1", + "referencedDeclaration": 1821, + "src": "44321:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2336, + "id": 1828, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43094:10:1", + "referencedDeclaration": 1745, + "src": "44321:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } } @@ -22333,22 +22333,22 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], - "id": 2334, + "id": 1826, "name": "_length", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2110, - "src": "43086:7:1", + "referencedDeclaration": 1602, + "src": "44313:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$returns$_t_uint256_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$returns$_t_uint256_$", "typeString": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)" } }, - "id": 2337, + "id": 1829, "isConstant": false, "isLValue": false, "isPure": false, @@ -22356,78 +22356,78 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43086:19:1", + "src": "44313:19:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2333, - "id": 2338, + "functionReturnParameters": 1825, + "id": 1830, "nodeType": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ] }, "documentation": { - "id": 2327, + "id": 1819, "nodeType": "StructuredDocumentation", - "src": "42914:72:1", + "src": "44137:74:0", "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2340, + "id": 1832, "implemented": true, "kind": "function", "modifiers": [], "name": "length", "nodeType": "FunctionDefinition", "parameters": { - "id": 2330, + "id": 1822, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2329, + "id": 1821, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43007:28:1", + "scope": 1832, + "src": "44233:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2328, + "id": 1820, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43007:16:1", + "referencedDeclaration": 1746, + "src": "44233:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, "visibility": "internal" } ], - "src": "43006:30:1" + "src": "44232:30:0" }, "returnParameters": { - "id": 2333, + "id": 1825, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2332, + "id": 1824, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2340, - "src": "43060:7:1", + "scope": 1832, + "src": "44286:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22435,10 +22435,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2331, + "id": 1823, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43060:7:1", + "src": "44286:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22447,34 +22447,34 @@ "visibility": "internal" } ], - "src": "43059:9:1" + "src": "44285:9:0" }, - "scope": 2480, - "src": "42991:121:1", + "scope": 1972, + "src": "44217:123:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2378, + "id": 1870, "nodeType": "Block", - "src": "43538:135:1", + "src": "44777:138:0", "statements": [ { "assignments": [ - 2353, - 2355 + 1845, + 1847 ], "declarations": [ { "constant": false, - "id": 2353, + "id": 1845, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43549:11:1", + "scope": 1870, + "src": "44789:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22482,10 +22482,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2352, + "id": 1844, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43549:7:1", + "src": "44789:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22495,12 +22495,12 @@ }, { "constant": false, - "id": 2355, + "id": 1847, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2378, - "src": "43562:13:1", + "scope": 1870, + "src": "44802:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22508,10 +22508,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2354, + "id": 1846, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43562:7:1", + "src": "44802:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22520,43 +22520,43 @@ "visibility": "internal" } ], - "id": 2361, + "id": 1853, "initialValue": { "arguments": [ { "expression": { - "id": 2357, + "id": 1849, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2343, - "src": "43583:3:1", + "referencedDeclaration": 1835, + "src": "44823:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2358, + "id": 1850, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "43583:10:1", + "referencedDeclaration": 1745, + "src": "44823:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { - "id": 2359, + "id": 1851, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2345, - "src": "43595:5:1", + "referencedDeclaration": 1837, + "src": "44835:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22566,7 +22566,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -22574,18 +22574,18 @@ "typeString": "uint256" } ], - "id": 2356, + "id": 1848, "name": "_at", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2145, - "src": "43579:3:1", + "referencedDeclaration": 1637, + "src": "44819:3:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_uint256_$returns$_t_bytes32_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)" } }, - "id": 2360, + "id": 1852, "isConstant": false, "isLValue": false, "isPure": false, @@ -22593,7 +22593,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43579:22:1", + "src": "44819:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bytes32_$_t_bytes32_$", @@ -22601,7 +22601,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "expression": { @@ -22609,12 +22609,12 @@ { "arguments": [ { - "id": 2364, + "id": 1856, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2353, - "src": "43627:3:1", + "referencedDeclaration": 1845, + "src": "44868:3:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22628,26 +22628,26 @@ "typeString": "bytes32" } ], - "id": 2363, + "id": 1855, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2362, + "id": 1854, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43619:7:1", + "src": "44860:7:0", "typeDescriptions": {} } }, - "id": 2365, + "id": 1857, "isConstant": false, "isLValue": false, "isPure": false, @@ -22655,7 +22655,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43619:12:1", + "src": "44860:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -22669,12 +22669,12 @@ { "arguments": [ { - "id": 2372, + "id": 1864, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2355, - "src": "43657:5:1", + "referencedDeclaration": 1847, + "src": "44898:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -22688,26 +22688,26 @@ "typeString": "bytes32" } ], - "id": 2371, + "id": 1863, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2370, + "id": 1862, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43649:7:1", + "src": "44890:7:0", "typeDescriptions": {} } }, - "id": 2373, + "id": 1865, "isConstant": false, "isLValue": false, "isPure": false, @@ -22715,7 +22715,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43649:14:1", + "src": "44890:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -22730,26 +22730,26 @@ "typeString": "uint256" } ], - "id": 2369, + "id": 1861, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2368, + "id": 1860, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "43641:7:1", + "src": "44882:7:0", "typeDescriptions": {} } }, - "id": 2374, + "id": 1866, "isConstant": false, "isLValue": false, "isPure": false, @@ -22757,7 +22757,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43641:23:1", + "src": "44882:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -22772,26 +22772,26 @@ "typeString": "uint160" } ], - "id": 2367, + "id": 1859, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2366, + "id": 1858, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43633:7:1", + "src": "44874:7:0", "typeDescriptions": {} } }, - "id": 2375, + "id": 1867, "isConstant": false, "isLValue": false, "isPure": false, @@ -22799,7 +22799,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43633:32:1", + "src": "44874:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -22807,64 +22807,64 @@ } } ], - "id": 2376, + "id": 1868, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "43618:48:1", + "src": "44859:48:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_payable_$", "typeString": "tuple(uint256,address payable)" } }, - "functionReturnParameters": 2351, - "id": 2377, + "functionReturnParameters": 1843, + "id": 1869, "nodeType": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ] }, "documentation": { - "id": 2341, + "id": 1833, "nodeType": "StructuredDocumentation", - "src": "43117:318:1", + "src": "44347:326:0", "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2379, + "id": 1871, "implemented": true, "kind": "function", "modifiers": [], "name": "at", "nodeType": "FunctionDefinition", "parameters": { - "id": 2346, + "id": 1838, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2343, + "id": 1835, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43452:28:1", + "scope": 1871, + "src": "44691:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2342, + "id": 1834, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43452:16:1", + "referencedDeclaration": 1746, + "src": "44691:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -22872,12 +22872,12 @@ }, { "constant": false, - "id": 2345, + "id": 1837, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43482:13:1", + "scope": 1871, + "src": "44721:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22885,10 +22885,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2344, + "id": 1836, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43482:7:1", + "src": "44721:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22897,20 +22897,20 @@ "visibility": "internal" } ], - "src": "43451:45:1" + "src": "44690:45:0" }, "returnParameters": { - "id": 2351, + "id": 1843, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2348, + "id": 1840, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43520:7:1", + "scope": 1871, + "src": "44759:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22918,10 +22918,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2347, + "id": 1839, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43520:7:1", + "src": "44759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -22931,12 +22931,12 @@ }, { "constant": false, - "id": 2350, + "id": 1842, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2379, - "src": "43529:7:1", + "scope": 1871, + "src": "44768:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22944,10 +22944,10 @@ "typeString": "address" }, "typeName": { - "id": 2349, + "id": 1841, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43529:7:1", + "src": "44768:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -22957,34 +22957,34 @@ "visibility": "internal" } ], - "src": "43519:18:1" + "src": "44758:18:0" }, - "scope": 2480, - "src": "43440:233:1", + "scope": 1972, + "src": "44679:236:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2417, + "id": 1909, "nodeType": "Block", - "src": "43950:142:1", + "src": "45200:145:0", "statements": [ { "assignments": [ - 2392, - 2394 + 1884, + 1886 ], "declarations": [ { "constant": false, - "id": 2392, + "id": 1884, "mutability": "mutable", "name": "success", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43961:12:1", + "scope": 1909, + "src": "45212:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -22992,10 +22992,10 @@ "typeString": "bool" }, "typeName": { - "id": 2391, + "id": 1883, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43961:4:1", + "src": "45212:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23005,12 +23005,12 @@ }, { "constant": false, - "id": 2394, + "id": 1886, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2417, - "src": "43975:13:1", + "scope": 1909, + "src": "45226:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23018,10 +23018,10 @@ "typeString": "bytes32" }, "typeName": { - "id": 2393, + "id": 1885, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "43975:7:1", + "src": "45226:7:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23030,45 +23030,45 @@ "visibility": "internal" } ], - "id": 2403, + "id": 1895, "initialValue": { "arguments": [ { "expression": { - "id": 2396, + "id": 1888, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2382, - "src": "44000:3:1", + "referencedDeclaration": 1874, + "src": "45251:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2397, + "id": 1889, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44000:10:1", + "referencedDeclaration": 1745, + "src": "45251:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2400, + "id": 1892, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2384, - "src": "44020:3:1", + "referencedDeclaration": 1876, + "src": "45271:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23082,26 +23082,26 @@ "typeString": "uint256" } ], - "id": 2399, + "id": 1891, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2398, + "id": 1890, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44012:7:1", + "src": "45263:7:0", "typeDescriptions": {} } }, - "id": 2401, + "id": 1893, "isConstant": false, "isLValue": false, "isPure": false, @@ -23109,7 +23109,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44012:12:1", + "src": "45263:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23120,7 +23120,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23128,18 +23128,18 @@ "typeString": "bytes32" } ], - "id": 2395, + "id": 1887, "name": "_tryGet", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2183, - "src": "43992:7:1", + "referencedDeclaration": 1675, + "src": "45243:7:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bool_$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)" } }, - "id": 2402, + "id": 1894, "isConstant": false, "isLValue": false, "isPure": false, @@ -23147,7 +23147,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "43992:33:1", + "src": "45243:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_bytes32_$", @@ -23155,18 +23155,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "expression": { "components": [ { - "id": 2404, + "id": 1896, "name": "success", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2392, - "src": "44043:7:1", + "referencedDeclaration": 1884, + "src": "45295:7:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23179,12 +23179,12 @@ { "arguments": [ { - "id": 2411, + "id": 1903, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2394, - "src": "44076:5:1", + "referencedDeclaration": 1886, + "src": "45328:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes32", "typeString": "bytes32" @@ -23198,26 +23198,26 @@ "typeString": "bytes32" } ], - "id": 2410, + "id": 1902, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2409, + "id": 1901, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44068:7:1", + "src": "45320:7:0", "typeDescriptions": {} } }, - "id": 2412, + "id": 1904, "isConstant": false, "isLValue": false, "isPure": false, @@ -23225,7 +23225,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44068:14:1", + "src": "45320:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23240,26 +23240,26 @@ "typeString": "uint256" } ], - "id": 2408, + "id": 1900, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2407, + "id": 1899, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44060:7:1", + "src": "45312:7:0", "typeDescriptions": {} } }, - "id": 2413, + "id": 1905, "isConstant": false, "isLValue": false, "isPure": false, @@ -23267,7 +23267,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44060:23:1", + "src": "45312:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23282,26 +23282,26 @@ "typeString": "uint160" } ], - "id": 2406, + "id": 1898, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2405, + "id": 1897, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44052:7:1", + "src": "45304:7:0", "typeDescriptions": {} } }, - "id": 2414, + "id": 1906, "isConstant": false, "isLValue": false, "isPure": false, @@ -23309,7 +23309,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44052:32:1", + "src": "45304:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -23317,64 +23317,64 @@ } } ], - "id": 2415, + "id": 1907, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "44042:43:1", + "src": "45294:43:0", "typeDescriptions": { "typeIdentifier": "t_tuple$_t_bool_$_t_address_payable_$", "typeString": "tuple(bool,address payable)" } }, - "functionReturnParameters": 2390, - "id": 2416, + "functionReturnParameters": 1882, + "id": 1908, "nodeType": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ] }, "documentation": { - "id": 2380, + "id": 1872, "nodeType": "StructuredDocumentation", - "src": "43679:169:1", + "src": "44923:174:0", "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2418, + "id": 1910, "implemented": true, "kind": "function", "modifiers": [], "name": "tryGet", "nodeType": "FunctionDefinition", "parameters": { - "id": 2385, + "id": 1877, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2382, + "id": 1874, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43869:28:1", + "scope": 1910, + "src": "45119:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2381, + "id": 1873, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "43869:16:1", + "referencedDeclaration": 1746, + "src": "45119:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23382,12 +23382,12 @@ }, { "constant": false, - "id": 2384, + "id": 1876, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43899:11:1", + "scope": 1910, + "src": "45149:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23395,10 +23395,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2383, + "id": 1875, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "43899:7:1", + "src": "45149:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23407,20 +23407,20 @@ "visibility": "internal" } ], - "src": "43868:43:1" + "src": "45118:43:0" }, "returnParameters": { - "id": 2390, + "id": 1882, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2387, + "id": 1879, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43935:4:1", + "scope": 1910, + "src": "45185:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23428,10 +23428,10 @@ "typeString": "bool" }, "typeName": { - "id": 2386, + "id": 1878, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "43935:4:1", + "src": "45185:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -23441,12 +23441,12 @@ }, { "constant": false, - "id": 2389, + "id": 1881, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2418, - "src": "43941:7:1", + "scope": 1910, + "src": "45191:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23454,10 +23454,10 @@ "typeString": "address" }, "typeName": { - "id": 2388, + "id": 1880, "name": "address", "nodeType": "ElementaryTypeName", - "src": "43941:7:1", + "src": "45191:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23467,19 +23467,19 @@ "visibility": "internal" } ], - "src": "43934:15:1" + "src": "45184:15:0" }, - "scope": 2480, - "src": "43853:239:1", + "scope": 1972, + "src": "45103:242:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2446, + "id": 1938, "nodeType": "Block", - "src": "44332:81:1", + "src": "45594:83:0", "statements": [ { "expression": { @@ -23492,40 +23492,40 @@ "arguments": [ { "expression": { - "id": 2435, + "id": 1927, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2421, - "src": "44378:3:1", + "referencedDeclaration": 1913, + "src": "45641:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2436, + "id": 1928, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44378:10:1", + "referencedDeclaration": 1745, + "src": "45641:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2439, + "id": 1931, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2423, - "src": "44398:3:1", + "referencedDeclaration": 1915, + "src": "45661:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23539,26 +23539,26 @@ "typeString": "uint256" } ], - "id": 2438, + "id": 1930, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2437, + "id": 1929, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44390:7:1", + "src": "45653:7:0", "typeDescriptions": {} } }, - "id": 2440, + "id": 1932, "isConstant": false, "isLValue": false, "isPure": false, @@ -23566,7 +23566,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44390:12:1", + "src": "45653:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23577,7 +23577,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23585,21 +23585,21 @@ "typeString": "bytes32" } ], - "id": 2434, + "id": 1926, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, - "src": "44373:4:1", + "referencedDeclaration": 1708, + "src": "45636:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)" } }, - "id": 2441, + "id": 1933, "isConstant": false, "isLValue": false, "isPure": false, @@ -23607,7 +23607,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44373:30:1", + "src": "45636:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23622,26 +23622,26 @@ "typeString": "bytes32" } ], - "id": 2433, + "id": 1925, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2432, + "id": 1924, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44365:7:1", + "src": "45628:7:0", "typeDescriptions": {} } }, - "id": 2442, + "id": 1934, "isConstant": false, "isLValue": false, "isPure": false, @@ -23649,7 +23649,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44365:39:1", + "src": "45628:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -23664,26 +23664,26 @@ "typeString": "uint256" } ], - "id": 2431, + "id": 1923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2430, + "id": 1922, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44357:7:1", + "src": "45620:7:0", "typeDescriptions": {} } }, - "id": 2443, + "id": 1935, "isConstant": false, "isLValue": false, "isPure": false, @@ -23691,7 +23691,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44357:48:1", + "src": "45620:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -23706,26 +23706,26 @@ "typeString": "uint160" } ], - "id": 2429, + "id": 1921, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2428, + "id": 1920, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44349:7:1", + "src": "45612:7:0", "typeDescriptions": {} } }, - "id": 2444, + "id": 1936, "isConstant": false, "isLValue": false, "isPure": false, @@ -23733,58 +23733,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44349:57:1", + "src": "45612:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2427, - "id": 2445, + "functionReturnParameters": 1919, + "id": 1937, "nodeType": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ] }, "documentation": { - "id": 2419, + "id": 1911, "nodeType": "StructuredDocumentation", - "src": "44098:141:1", + "src": "45353:147:0", "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2447, + "id": 1939, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2424, + "id": 1916, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2421, + "id": 1913, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44257:28:1", + "scope": 1939, + "src": "45519:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2420, + "id": 1912, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44257:16:1", + "referencedDeclaration": 1746, + "src": "45519:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -23792,12 +23792,12 @@ }, { "constant": false, - "id": 2423, + "id": 1915, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44287:11:1", + "scope": 1939, + "src": "45549:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23805,10 +23805,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2422, + "id": 1914, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44287:7:1", + "src": "45549:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23817,20 +23817,20 @@ "visibility": "internal" } ], - "src": "44256:43:1" + "src": "45518:43:0" }, "returnParameters": { - "id": 2427, + "id": 1919, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2426, + "id": 1918, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2447, - "src": "44323:7:1", + "scope": 1939, + "src": "45585:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -23838,10 +23838,10 @@ "typeString": "address" }, "typeName": { - "id": 2425, + "id": 1917, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44323:7:1", + "src": "45585:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -23851,19 +23851,19 @@ "visibility": "internal" } ], - "src": "44322:9:1" + "src": "45584:9:0" }, - "scope": 2480, - "src": "44244:169:1", + "scope": 1972, + "src": "45506:171:0", "stateMutability": "view", "virtual": false, "visibility": "internal" }, { "body": { - "id": 2478, + "id": 1970, "nodeType": "Block", - "src": "44809:95:1", + "src": "46081:97:0", "statements": [ { "expression": { @@ -23876,40 +23876,40 @@ "arguments": [ { "expression": { - "id": 2466, + "id": 1958, "name": "map", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2450, - "src": "44855:3:1", + "referencedDeclaration": 1942, + "src": "46128:3:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap storage pointer" } }, - "id": 2467, + "id": 1959, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "_inner", "nodeType": "MemberAccess", - "referencedDeclaration": 2253, - "src": "44855:10:1", + "referencedDeclaration": 1745, + "src": "46128:10:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } }, { "arguments": [ { - "id": 2470, + "id": 1962, "name": "key", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2452, - "src": "44875:3:1", + "referencedDeclaration": 1944, + "src": "46148:3:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -23923,26 +23923,26 @@ "typeString": "uint256" } ], - "id": 2469, + "id": 1961, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes32_$", "typeString": "type(bytes32)" }, "typeName": { - "id": 2468, + "id": 1960, "name": "bytes32", "nodeType": "ElementaryTypeName", - "src": "44867:7:1", + "src": "46140:7:0", "typeDescriptions": {} } }, - "id": 2471, + "id": 1963, "isConstant": false, "isLValue": false, "isPure": false, @@ -23950,7 +23950,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44867:12:1", + "src": "46140:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -23958,12 +23958,12 @@ } }, { - "id": 2472, + "id": 1964, "name": "errorMessage", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2454, - "src": "44881:12:1", + "referencedDeclaration": 1946, + "src": "46154:12:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -23973,7 +23973,7 @@ "expression": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -23985,21 +23985,21 @@ "typeString": "string memory" } ], - "id": 2465, + "id": 1957, "name": "_get", "nodeType": "Identifier", "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, - "src": "44850:4:1", + "referencedDeclaration": 1743, + "src": "46123:4:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1936_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_Map_$1428_storage_ptr_$_t_bytes32_$_t_string_memory_ptr_$returns$_t_bytes32_$", "typeString": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)" } }, - "id": 2473, + "id": 1965, "isConstant": false, "isLValue": false, "isPure": false, @@ -24007,7 +24007,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44850:44:1", + "src": "46123:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes32", @@ -24022,26 +24022,26 @@ "typeString": "bytes32" } ], - "id": 2464, + "id": 1956, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint256_$", "typeString": "type(uint256)" }, "typeName": { - "id": 2463, + "id": 1955, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44842:7:1", + "src": "46115:7:0", "typeDescriptions": {} } }, - "id": 2474, + "id": 1966, "isConstant": false, "isLValue": false, "isPure": false, @@ -24049,7 +24049,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44842:53:1", + "src": "46115:53:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", @@ -24064,26 +24064,26 @@ "typeString": "uint256" } ], - "id": 2462, + "id": 1954, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint160_$", "typeString": "type(uint160)" }, "typeName": { - "id": 2461, + "id": 1953, "name": "uint160", "nodeType": "ElementaryTypeName", - "src": "44834:7:1", + "src": "46107:7:0", "typeDescriptions": {} } }, - "id": 2475, + "id": 1967, "isConstant": false, "isLValue": false, "isPure": false, @@ -24091,7 +24091,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44834:62:1", + "src": "46107:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint160", @@ -24106,26 +24106,26 @@ "typeString": "uint160" } ], - "id": 2460, + "id": 1952, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2459, + "id": 1951, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44826:7:1", + "src": "46099:7:0", "typeDescriptions": {} } }, - "id": 2476, + "id": 1968, "isConstant": false, "isLValue": false, "isPure": false, @@ -24133,58 +24133,58 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "44826:71:1", + "src": "46099:71:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "functionReturnParameters": 2458, - "id": 2477, + "functionReturnParameters": 1950, + "id": 1969, "nodeType": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ] }, "documentation": { - "id": 2448, + "id": 1940, "nodeType": "StructuredDocumentation", - "src": "44419:269:1", + "src": "45685:274:0", "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2479, + "id": 1971, "implemented": true, "kind": "function", "modifiers": [], "name": "get", "nodeType": "FunctionDefinition", "parameters": { - "id": 2455, + "id": 1947, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2450, + "id": 1942, "mutability": "mutable", "name": "map", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44706:28:1", + "scope": 1971, + "src": "45978:28:0", "stateVariable": false, "storageLocation": "storage", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2449, + "id": 1941, "name": "UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "44706:16:1", + "referencedDeclaration": 1746, + "src": "45978:16:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -24192,12 +24192,12 @@ }, { "constant": false, - "id": 2452, + "id": 1944, "mutability": "mutable", "name": "key", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44736:11:1", + "scope": 1971, + "src": "46008:11:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24205,10 +24205,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2451, + "id": 1943, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "44736:7:1", + "src": "46008:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24218,12 +24218,12 @@ }, { "constant": false, - "id": 2454, + "id": 1946, "mutability": "mutable", "name": "errorMessage", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44749:26:1", + "scope": 1971, + "src": "46021:26:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24231,10 +24231,10 @@ "typeString": "string" }, "typeName": { - "id": 2453, + "id": 1945, "name": "string", "nodeType": "ElementaryTypeName", - "src": "44749:6:1", + "src": "46021:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -24243,20 +24243,20 @@ "visibility": "internal" } ], - "src": "44705:71:1" + "src": "45977:71:0" }, "returnParameters": { - "id": 2458, + "id": 1950, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2457, + "id": 1949, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2479, - "src": "44800:7:1", + "scope": 1971, + "src": "46072:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24264,10 +24264,10 @@ "typeString": "address" }, "typeName": { - "id": 2456, + "id": 1948, "name": "address", "nodeType": "ElementaryTypeName", - "src": "44800:7:1", + "src": "46072:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -24277,20 +24277,20 @@ "visibility": "internal" } ], - "src": "44799:9:1" + "src": "46071:9:0" }, - "scope": 2480, - "src": "44693:211:1", + "scope": 1972, + "src": "45965:213:0", "stateMutability": "view", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "35943:8963:1" + "scope": 2991, + "src": "36981:9200:0" }, { - "id": 2481, + "id": 1973, "literals": [ "solidity", ">=", @@ -24301,7 +24301,7 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "abstract": false, @@ -24309,24 +24309,24 @@ "contractDependencies": [], "contractKind": "library", "documentation": { - "id": 2482, + "id": 1974, "nodeType": "StructuredDocumentation", - "src": "44992:34:1", + "src": "46272:36:0", "text": " @dev String operations." }, "fullyImplemented": true, - "id": 2566, + "id": 2058, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", "nodeType": "ContractDefinition", "nodes": [ { "body": { - "id": 2564, + "id": 2056, "nodeType": "Block", - "src": "45207:654:1", + "src": "46494:675:0", "statements": [ { "condition": { @@ -24334,18 +24334,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2492, + "id": 1984, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2490, + "id": 1982, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45409:5:1", + "referencedDeclaration": 1977, + "src": "46700:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24355,72 +24355,72 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2491, + "id": 1983, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45418:1:1", + "src": "46709:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45409:10:1", + "src": "46700:10:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2496, + "id": 1988, "nodeType": "IfStatement", - "src": "45405:51:1", + "src": "46696:53:0", "trueBody": { - "id": 2495, + "id": 1987, "nodeType": "Block", - "src": "45421:35:1", + "src": "46712:37:0", "statements": [ { "expression": { "hexValue": "30", - "id": 2493, + "id": 1985, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "45442:3:1", + "src": "46734:3:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_044852b2a670ade5407e78fb2863c51de9fcb96542a07186fe3aeda6bb8a116d", "typeString": "literal_string \"0\"" }, "value": "0" }, - "functionReturnParameters": 2489, - "id": 2494, + "functionReturnParameters": 1981, + "id": 1986, "nodeType": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ] } }, { "assignments": [ - 2498 + 1990 ], "declarations": [ { "constant": false, - "id": 2498, + "id": 1990, "mutability": "mutable", "name": "temp", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45465:12:1", + "scope": 2056, + "src": "46759:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24428,10 +24428,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2497, + "id": 1989, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45465:7:1", + "src": "46759:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24440,35 +24440,35 @@ "visibility": "internal" } ], - "id": 2500, + "id": 1992, "initialValue": { - "id": 2499, + "id": 1991, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45480:5:1", + "referencedDeclaration": 1977, + "src": "46774:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "assignments": [ - 2502 + 1994 ], "declarations": [ { "constant": false, - "id": 2502, + "id": 1994, "mutability": "mutable", "name": "digits", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45495:14:1", + "scope": 2056, + "src": "46790:14:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24476,10 +24476,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2501, + "id": 1993, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45495:7:1", + "src": "46790:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24488,19 +24488,19 @@ "visibility": "internal" } ], - "id": 2503, + "id": 1995, "nodeType": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "body": { - "id": 2514, + "id": 2006, "nodeType": "Block", - "src": "45537:57:1", + "src": "46833:60:0", "statements": [ { "expression": { - "id": 2508, + "id": 2000, "isConstant": false, "isLValue": false, "isPure": false, @@ -24508,14 +24508,14 @@ "nodeType": "UnaryOperation", "operator": "++", "prefix": false, - "src": "45551:8:1", + "src": "46848:8:0", "subExpression": { - "id": 2507, + "id": 1999, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45551:6:1", + "referencedDeclaration": 1994, + "src": "46848:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24526,24 +24526,24 @@ "typeString": "uint256" } }, - "id": 2509, + "id": 2001, "nodeType": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "expression": { - "id": 2512, + "id": 2004, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2510, + "id": 2002, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45573:4:1", + "referencedDeclaration": 1990, + "src": "46871:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24553,29 +24553,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2511, + "id": 2003, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45581:2:1", + "src": "46879:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45573:10:1", + "src": "46871:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2513, + "id": 2005, "nodeType": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ] }, @@ -24584,18 +24584,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2506, + "id": 1998, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2504, + "id": 1996, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45526:4:1", + "referencedDeclaration": 1990, + "src": "46822:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24605,43 +24605,43 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2505, + "id": 1997, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45534:1:1", + "src": "46830:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45526:9:1", + "src": "46822:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2515, + "id": 2007, "nodeType": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "assignments": [ - 2517 + 2009 ], "declarations": [ { "constant": false, - "id": 2517, + "id": 2009, "mutability": "mutable", "name": "buffer", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45603:19:1", + "scope": 2056, + "src": "46903:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -24649,10 +24649,10 @@ "typeString": "bytes" }, "typeName": { - "id": 2516, + "id": 2008, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45603:5:1", + "src": "46903:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -24661,16 +24661,16 @@ "visibility": "internal" } ], - "id": 2522, + "id": 2014, "initialValue": { "arguments": [ { - "id": 2520, + "id": 2012, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45635:6:1", + "referencedDeclaration": 1994, + "src": "46935:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24684,29 +24684,29 @@ "typeString": "uint256" } ], - "id": 2519, + "id": 2011, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "NewExpression", - "src": "45625:9:1", + "src": "46925:9:0", "typeDescriptions": { "typeIdentifier": "t_function_objectcreation_pure$_t_uint256_$returns$_t_bytes_memory_ptr_$", "typeString": "function (uint256) pure returns (bytes memory)" }, "typeName": { - "id": 2518, + "id": 2010, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "45629:5:1", + "src": "46929:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" } } }, - "id": 2521, + "id": 2013, "isConstant": false, "isLValue": false, "isPure": false, @@ -24714,7 +24714,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45625:17:1", + "src": "46925:17:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -24722,21 +24722,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "assignments": [ - 2524 + 2016 ], "declarations": [ { "constant": false, - "id": 2524, + "id": 2016, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2564, - "src": "45652:13:1", + "scope": 2056, + "src": "46953:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -24744,10 +24744,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2523, + "id": 2015, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45652:7:1", + "src": "46953:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24756,24 +24756,24 @@ "visibility": "internal" } ], - "id": 2528, + "id": 2020, "initialValue": { "commonType": { "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2527, + "id": 2019, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2525, + "id": 2017, "name": "digits", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2502, - "src": "45668:6:1", + "referencedDeclaration": 1994, + "src": "46969:6:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24783,43 +24783,43 @@ "operator": "-", "rightExpression": { "hexValue": "31", - "id": 2526, + "id": 2018, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45677:1:1", + "src": "46978:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_1_by_1", "typeString": "int_const 1" }, "value": "1" }, - "src": "45668:10:1", + "src": "46969:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "expression": { - "id": 2531, + "id": 2023, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2529, + "id": 2021, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45688:4:1", + "referencedDeclaration": 1990, + "src": "46990:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24828,56 +24828,56 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2530, + "id": 2022, "name": "value", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2485, - "src": "45695:5:1", + "referencedDeclaration": 1977, + "src": "46997:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45688:12:1", + "src": "46990:12:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2532, + "id": 2024, "nodeType": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "body": { - "id": 2557, + "id": 2049, "nodeType": "Block", - "src": "45728:96:1", + "src": "47031:99:0", "statements": [ { "expression": { - "id": 2551, + "id": 2043, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 2536, + "id": 2028, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45742:6:1", + "referencedDeclaration": 2009, + "src": "47046:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2539, + "id": 2031, "indexExpression": { - "id": 2538, + "id": 2030, "isConstant": false, "isLValue": false, "isPure": false, @@ -24885,14 +24885,14 @@ "nodeType": "UnaryOperation", "operator": "--", "prefix": false, - "src": "45749:7:1", + "src": "47053:7:0", "subExpression": { - "id": 2537, + "id": 2029, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2524, - "src": "45749:5:1", + "referencedDeclaration": 2016, + "src": "47053:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24908,7 +24908,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "45742:15:1", + "src": "47046:15:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" @@ -24925,21 +24925,21 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2548, + "id": 2040, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { "hexValue": "3438", - "id": 2544, + "id": 2036, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45773:2:1", + "src": "47077:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_48_by_1", "typeString": "int_const 48" @@ -24953,18 +24953,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2547, + "id": 2039, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2545, + "id": 2037, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45778:4:1", + "referencedDeclaration": 1990, + "src": "47082:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -24974,27 +24974,27 @@ "operator": "%", "rightExpression": { "hexValue": "3130", - "id": 2546, + "id": 2038, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45785:2:1", + "src": "47089:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45778:9:1", + "src": "47082:9:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "src": "45773:14:1", + "src": "47077:14:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25008,26 +25008,26 @@ "typeString": "uint256" } ], - "id": 2543, + "id": 2035, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_uint8_$", "typeString": "type(uint8)" }, "typeName": { - "id": 2542, + "id": 2034, "name": "uint8", "nodeType": "ElementaryTypeName", - "src": "45767:5:1", + "src": "47071:5:0", "typeDescriptions": {} } }, - "id": 2549, + "id": 2041, "isConstant": false, "isLValue": false, "isPure": false, @@ -25035,7 +25035,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45767:21:1", + "src": "47071:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint8", @@ -25050,26 +25050,26 @@ "typeString": "uint8" } ], - "id": 2541, + "id": 2033, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes1_$", "typeString": "type(bytes1)" }, "typeName": { - "id": 2540, + "id": 2032, "name": "bytes1", "nodeType": "ElementaryTypeName", - "src": "45760:6:1", + "src": "47064:6:0", "typeDescriptions": {} } }, - "id": 2550, + "id": 2042, "isConstant": false, "isLValue": false, "isPure": false, @@ -25077,37 +25077,37 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45760:29:1", + "src": "47064:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "src": "45742:47:1", + "src": "47046:47:0", "typeDescriptions": { "typeIdentifier": "t_bytes1", "typeString": "bytes1" } }, - "id": 2552, + "id": 2044, "nodeType": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "expression": { - "id": 2555, + "id": 2047, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2553, + "id": 2045, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45803:4:1", + "referencedDeclaration": 1990, + "src": "47108:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25117,29 +25117,29 @@ "operator": "/=", "rightHandSide": { "hexValue": "3130", - "id": 2554, + "id": 2046, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45811:2:1", + "src": "47116:2:0", "typeDescriptions": { "typeIdentifier": "t_rational_10_by_1", "typeString": "int_const 10" }, "value": "10" }, - "src": "45803:10:1", + "src": "47108:10:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2556, + "id": 2048, "nodeType": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ] }, @@ -25148,18 +25148,18 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2535, + "id": 2027, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2533, + "id": 2025, "name": "temp", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2498, - "src": "45717:4:1", + "referencedDeclaration": 1990, + "src": "47020:4:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25169,40 +25169,40 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 2534, + "id": 2026, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "45725:1:1", + "src": "47028:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "45717:9:1", + "src": "47020:9:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2558, + "id": 2050, "nodeType": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "expression": { "arguments": [ { - "id": 2561, + "id": 2053, "name": "buffer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2517, - "src": "45847:6:1", + "referencedDeclaration": 2009, + "src": "47154:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -25216,26 +25216,26 @@ "typeString": "bytes memory" } ], - "id": 2560, + "id": 2052, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2559, + "id": 2051, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45840:6:1", + "src": "47147:6:0", "typeDescriptions": {} } }, - "id": 2562, + "id": 2054, "isConstant": false, "isLValue": false, "isPure": false, @@ -25243,44 +25243,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "45840:14:1", + "src": "47147:14:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2489, - "id": 2563, + "functionReturnParameters": 1981, + "id": 2055, "nodeType": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ] }, "documentation": { - "id": 2483, + "id": 1975, "nodeType": "StructuredDocumentation", - "src": "45049:82:1", + "src": "46333:84:0", "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2565, + "id": 2057, "implemented": true, "kind": "function", "modifiers": [], "name": "toString", "nodeType": "FunctionDefinition", "parameters": { - "id": 2486, + "id": 1978, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2485, + "id": 1977, "mutability": "mutable", "name": "value", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45154:13:1", + "scope": 2057, + "src": "46441:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -25288,10 +25288,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2484, + "id": 1976, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "45154:7:1", + "src": "46441:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25300,20 +25300,20 @@ "visibility": "internal" } ], - "src": "45153:15:1" + "src": "46440:15:0" }, "returnParameters": { - "id": 2489, + "id": 1981, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2488, + "id": 1980, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2565, - "src": "45192:13:1", + "scope": 2057, + "src": "46479:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -25321,10 +25321,10 @@ "typeString": "string" }, "typeName": { - "id": 2487, + "id": 1979, "name": "string", "nodeType": "ElementaryTypeName", - "src": "45192:6:1", + "src": "46479:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25333,20 +25333,20 @@ "visibility": "internal" } ], - "src": "45191:15:1" + "src": "46478:15:0" }, - "scope": 2566, - "src": "45136:725:1", + "scope": 2058, + "src": "46423:746:0", "stateMutability": "pure", "virtual": false, "visibility": "internal" } ], - "scope": 3499, - "src": "45027:836:1" + "scope": 2991, + "src": "46310:862:0" }, { - "id": 2567, + "id": 2059, "literals": [ "solidity", ">=", @@ -25357,141 +25357,141 @@ ".0" ], "nodeType": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "abstract": false, "baseContracts": [ { "baseName": { - "id": 2569, + "id": 2061, "name": "Context", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 530, - "src": "46099:7:1", + "referencedDeclaration": 22, + "src": "47417:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Context_$530", + "typeIdentifier": "t_contract$_Context_$22", "typeString": "contract Context" } }, - "id": 2570, + "id": 2062, "nodeType": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "baseName": { - "id": 2571, + "id": 2063, "name": "ERC165", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 781, - "src": "46108:6:1", + "referencedDeclaration": 273, + "src": "47426:6:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_ERC165_$781", + "typeIdentifier": "t_contract$_ERC165_$273", "typeString": "contract ERC165" } }, - "id": 2572, + "id": 2064, "nodeType": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "baseName": { - "id": 2573, + "id": 2065, "name": "IERC721", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 655, - "src": "46116:7:1", + "referencedDeclaration": 147, + "src": "47434:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721_$655", + "typeIdentifier": "t_contract$_IERC721_$147", "typeString": "contract IERC721" } }, - "id": 2574, + "id": 2066, "nodeType": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "baseName": { - "id": 2575, + "id": 2067, "name": "IERC721Metadata", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 680, - "src": "46125:15:1", + "referencedDeclaration": 172, + "src": "47443:15:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Metadata_$680", + "typeIdentifier": "t_contract$_IERC721Metadata_$172", "typeString": "contract IERC721Metadata" } }, - "id": 2576, + "id": 2068, "nodeType": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "baseName": { - "id": 2577, + "id": 2069, "name": "IERC721Enumerable", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 709, - "src": "46142:17:1", + "referencedDeclaration": 201, + "src": "47460:17:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Enumerable_$709", + "typeIdentifier": "t_contract$_IERC721Enumerable_$201", "typeString": "contract IERC721Enumerable" } }, - "id": 2578, + "id": 2070, "nodeType": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" } ], "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "documentation": { - "id": 2568, + "id": 2060, "nodeType": "StructuredDocumentation", - "src": "45955:124:1", + "src": "47269:127:0", "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, "fullyImplemented": true, - "id": 3498, + "id": 2990, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", "nodeType": "ContractDefinition", "nodes": [ { - "id": 2581, + "id": 2073, "libraryName": { - "id": 2579, + "id": 2071, "name": "SafeMath", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1135, - "src": "46172:8:1", + "referencedDeclaration": 627, + "src": "47491:8:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_SafeMath_$1135", + "typeIdentifier": "t_contract$_SafeMath_$627", "typeString": "library SafeMath" } }, "nodeType": "UsingForDirective", - "src": "46166:27:1", + "src": "47485:27:0", "typeName": { - "id": 2580, + "id": 2072, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46185:7:1", + "src": "47504:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25499,25 +25499,25 @@ } }, { - "id": 2584, + "id": 2076, "libraryName": { - "id": 2582, + "id": 2074, "name": "Address", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1430, - "src": "46204:7:1", + "referencedDeclaration": 922, + "src": "47524:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } }, "nodeType": "UsingForDirective", - "src": "46198:26:1", + "src": "47518:26:0", "typeName": { - "id": 2583, + "id": 2075, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46216:7:1", + "src": "47536:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25526,79 +25526,79 @@ } }, { - "id": 2587, + "id": 2079, "libraryName": { - "id": 2585, + "id": 2077, "name": "EnumerableSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1921, - "src": "46235:13:1", + "referencedDeclaration": 1413, + "src": "47556:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableSet_$1921", + "typeIdentifier": "t_contract$_EnumerableSet_$1413", "typeString": "library EnumerableSet" } }, "nodeType": "UsingForDirective", - "src": "46229:46:1", + "src": "47550:46:0", "typeName": { - "id": 2586, + "id": 2078, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46253:21:1", + "referencedDeclaration": 1318, + "src": "47574:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } }, { - "id": 2590, + "id": 2082, "libraryName": { - "id": 2588, + "id": 2080, "name": "EnumerableMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2480, - "src": "46286:13:1", + "referencedDeclaration": 1972, + "src": "47608:13:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_EnumerableMap_$2480", + "typeIdentifier": "t_contract$_EnumerableMap_$1972", "typeString": "library EnumerableMap" } }, "nodeType": "UsingForDirective", - "src": "46280:55:1", + "src": "47602:55:0", "typeName": { - "id": 2589, + "id": 2081, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46304:30:1", + "referencedDeclaration": 1746, + "src": "47626:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } } }, { - "id": 2593, + "id": 2085, "libraryName": { - "id": 2591, + "id": 2083, "name": "Strings", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2566, - "src": "46346:7:1", + "referencedDeclaration": 2058, + "src": "47669:7:0", "typeDescriptions": { - "typeIdentifier": "t_contract$_Strings_$2566", + "typeIdentifier": "t_contract$_Strings_$2058", "typeString": "library Strings" } }, "nodeType": "UsingForDirective", - "src": "46340:26:1", + "src": "47663:26:0", "typeName": { - "id": 2592, + "id": 2084, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46358:7:1", + "src": "47681:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -25607,12 +25607,12 @@ }, { "constant": true, - "id": 2596, + "id": 2088, "mutability": "constant", "name": "_ERC721_RECEIVED", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46544:53:1", + "scope": 2990, + "src": "47871:53:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25620,10 +25620,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2594, + "id": 2086, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "46544:6:1", + "src": "47871:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -25631,14 +25631,14 @@ }, "value": { "hexValue": "30783135306237613032", - "id": 2595, + "id": 2087, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "46587:10:1", + "src": "47914:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_353073666_by_1", "typeString": "int_const 353073666" @@ -25649,44 +25649,44 @@ }, { "constant": false, - "id": 2600, + "id": 2092, "mutability": "mutable", "name": "_holderTokens", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46681:64:1", + "scope": 2990, + "src": "48011:64:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "typeName": { - "id": 2599, + "id": 2091, "keyType": { - "id": 2597, + "id": 2089, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46690:7:1", + "src": "48020:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "46681:42:1", + "src": "48011:42:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet)" }, "valueType": { - "id": 2598, + "id": 2090, "name": "EnumerableSet.UintSet", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 1826, - "src": "46701:21:1", + "referencedDeclaration": 1318, + "src": "48031:21:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage_ptr", + "typeIdentifier": "t_struct$_UintSet_$1318_storage_ptr", "typeString": "struct EnumerableSet.UintSet" } } @@ -25695,26 +25695,26 @@ }, { "constant": false, - "id": 2602, + "id": 2094, "mutability": "mutable", "name": "_tokenOwners", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46809:51:1", + "scope": 2990, + "src": "48142:51:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap" }, "typeName": { - "id": 2601, + "id": 2093, "name": "EnumerableMap.UintToAddressMap", "nodeType": "UserDefinedTypeName", - "referencedDeclaration": 2254, - "src": "46809:30:1", + "referencedDeclaration": 1746, + "src": "48142:30:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage_ptr", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage_ptr", "typeString": "struct EnumerableMap.UintToAddressMap" } }, @@ -25722,12 +25722,12 @@ }, { "constant": false, - "id": 2606, + "id": 2098, "mutability": "mutable", "name": "_tokenApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "46916:52:1", + "scope": 2990, + "src": "48252:52:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25735,28 +25735,28 @@ "typeString": "mapping(uint256 => address)" }, "typeName": { - "id": 2605, + "id": 2097, "keyType": { - "id": 2603, + "id": 2095, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "46925:7:1", + "src": "48261:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "46916:28:1", + "src": "48252:28:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" }, "valueType": { - "id": 2604, + "id": 2096, "name": "address", "nodeType": "ElementaryTypeName", - "src": "46936:7:1", + "src": "48272:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -25768,12 +25768,12 @@ }, { "constant": false, - "id": 2612, + "id": 2104, "mutability": "mutable", "name": "_operatorApprovals", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47023:73:1", + "scope": 2990, + "src": "48362:73:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25781,46 +25781,46 @@ "typeString": "mapping(address => mapping(address => bool))" }, "typeName": { - "id": 2611, + "id": 2103, "keyType": { - "id": 2607, + "id": 2099, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47032:7:1", + "src": "48371:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47023:46:1", + "src": "48362:46:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" }, "valueType": { - "id": 2610, + "id": 2102, "keyType": { - "id": 2608, + "id": 2100, "name": "address", "nodeType": "ElementaryTypeName", - "src": "47052:7:1", + "src": "48391:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, "nodeType": "Mapping", - "src": "47043:25:1", + "src": "48382:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" }, "valueType": { - "id": 2609, + "id": 2101, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "47063:4:1", + "src": "48402:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -25832,12 +25832,12 @@ }, { "constant": false, - "id": 2614, + "id": 2106, "mutability": "mutable", "name": "_name", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47121:20:1", + "scope": 2990, + "src": "48463:20:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25845,10 +25845,10 @@ "typeString": "string" }, "typeName": { - "id": 2613, + "id": 2105, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47121:6:1", + "src": "48463:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25858,12 +25858,12 @@ }, { "constant": false, - "id": 2616, + "id": 2108, "mutability": "mutable", "name": "_symbol", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47168:22:1", + "scope": 2990, + "src": "48513:22:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25871,10 +25871,10 @@ "typeString": "string" }, "typeName": { - "id": 2615, + "id": 2107, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47168:6:1", + "src": "48513:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25884,12 +25884,12 @@ }, { "constant": false, - "id": 2620, + "id": 2112, "mutability": "mutable", "name": "_tokenURIs", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47236:46:1", + "scope": 2990, + "src": "48584:46:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25897,28 +25897,28 @@ "typeString": "mapping(uint256 => string)" }, "typeName": { - "id": 2619, + "id": 2111, "keyType": { - "id": 2617, + "id": 2109, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "47245:7:1", + "src": "48593:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, "nodeType": "Mapping", - "src": "47236:27:1", + "src": "48584:27:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string)" }, "valueType": { - "id": 2618, + "id": 2110, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47256:6:1", + "src": "48604:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25929,12 +25929,12 @@ }, { "constant": false, - "id": 2622, + "id": 2114, "mutability": "mutable", "name": "_baseURI", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "47305:23:1", + "scope": 2990, + "src": "48656:23:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25942,10 +25942,10 @@ "typeString": "string" }, "typeName": { - "id": 2621, + "id": 2113, "name": "string", "nodeType": "ElementaryTypeName", - "src": "47305:6:1", + "src": "48656:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -25955,12 +25955,12 @@ }, { "constant": true, - "id": 2625, + "id": 2117, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48204:57:1", + "scope": 2990, + "src": "49571:57:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -25968,10 +25968,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2623, + "id": 2115, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48204:6:1", + "src": "49571:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -25979,14 +25979,14 @@ }, "value": { "hexValue": "30783830616335386364", - "id": 2624, + "id": 2116, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48251:10:1", + "src": "49618:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2158778573_by_1", "typeString": "int_const 2158778573" @@ -25997,12 +25997,12 @@ }, { "constant": true, - "id": 2628, + "id": 2120, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48527:66:1", + "scope": 2990, + "src": "49903:66:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26010,10 +26010,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2626, + "id": 2118, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48527:6:1", + "src": "49903:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26021,14 +26021,14 @@ }, "value": { "hexValue": "30783562356531333966", - "id": 2627, + "id": 2119, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48583:10:1", + "src": "49959:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_1532892063_by_1", "typeString": "int_const 1532892063" @@ -26039,12 +26039,12 @@ }, { "constant": true, - "id": 2631, + "id": 2123, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "VariableDeclaration", - "scope": 3498, - "src": "48898:68:1", + "scope": 2990, + "src": "50283:68:0", "stateVariable": true, "storageLocation": "default", "typeDescriptions": { @@ -26052,10 +26052,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 2629, + "id": 2121, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "48898:6:1", + "src": "50283:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26063,14 +26063,14 @@ }, "value": { "hexValue": "30783738306539643633", - "id": 2630, + "id": 2122, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "48956:10:1", + "src": "50341:10:0", "typeDescriptions": { "typeIdentifier": "t_rational_2014223715_by_1", "typeString": "int_const 2014223715" @@ -26081,24 +26081,24 @@ }, { "body": { - "id": 2659, + "id": 2151, "nodeType": "Block", - "src": "49143:305:1", + "src": "50533:313:0", "statements": [ { "expression": { - "id": 2641, + "id": 2133, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2639, + "id": 2131, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "49153:5:1", + "referencedDeclaration": 2106, + "src": "50544:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26107,41 +26107,41 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2640, + "id": 2132, "name": "name_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2634, - "src": "49161:5:1", + "referencedDeclaration": 2126, + "src": "50552:5:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49153:13:1", + "src": "50544:13:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2642, + "id": 2134, "nodeType": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "expression": { - "id": 2645, + "id": 2137, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 2643, + "id": 2135, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "49176:7:1", + "referencedDeclaration": 2108, + "src": "50568:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -26150,37 +26150,37 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2644, + "id": 2136, "name": "symbol_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2636, - "src": "49186:7:1", + "referencedDeclaration": 2128, + "src": "50578:7:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "49176:17:1", + "src": "50568:17:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 2646, + "id": 2138, "nodeType": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "expression": { "arguments": [ { - "id": 2648, + "id": 2140, "name": "_INTERFACE_ID_ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2625, - "src": "49300:20:1", + "referencedDeclaration": 2117, + "src": "50695:20:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26194,18 +26194,18 @@ "typeString": "bytes4" } ], - "id": 2647, + "id": 2139, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49281:18:1", + "referencedDeclaration": 272, + "src": "50676:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2649, + "id": 2141, "isConstant": false, "isLValue": false, "isPure": false, @@ -26213,27 +26213,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49281:40:1", + "src": "50676:40:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2650, + "id": 2142, "nodeType": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "expression": { "arguments": [ { - "id": 2652, + "id": 2144, "name": "_INTERFACE_ID_ERC721_METADATA", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2628, - "src": "49350:29:1", + "referencedDeclaration": 2120, + "src": "50746:29:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26247,18 +26247,18 @@ "typeString": "bytes4" } ], - "id": 2651, + "id": 2143, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49331:18:1", + "referencedDeclaration": 272, + "src": "50727:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2653, + "id": 2145, "isConstant": false, "isLValue": false, "isPure": false, @@ -26266,27 +26266,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49331:49:1", + "src": "50727:49:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2654, + "id": 2146, "nodeType": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "expression": { "arguments": [ { - "id": 2656, + "id": 2148, "name": "_INTERFACE_ID_ERC721_ENUMERABLE", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2631, - "src": "49409:31:1", + "referencedDeclaration": 2123, + "src": "50806:31:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -26300,18 +26300,18 @@ "typeString": "bytes4" } ], - "id": 2655, + "id": 2147, "name": "_registerInterface", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 780, - "src": "49390:18:1", + "referencedDeclaration": 272, + "src": "50787:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_bytes4_$returns$__$", "typeString": "function (bytes4)" } }, - "id": 2657, + "id": 2149, "isConstant": false, "isLValue": false, "isPure": false, @@ -26319,43 +26319,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49390:51:1", + "src": "50787:51:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2658, + "id": 2150, "nodeType": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ] }, "documentation": { - "id": 2632, + "id": 2124, "nodeType": "StructuredDocumentation", - "src": "48973:108:1", + "src": "50360:110:0", "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2660, + "id": 2152, "implemented": true, "kind": "constructor", "modifiers": [], "name": "", "nodeType": "FunctionDefinition", "parameters": { - "id": 2637, + "id": 2129, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2634, + "id": 2126, "mutability": "mutable", "name": "name_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49099:19:1", + "scope": 2152, + "src": "50489:19:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26363,10 +26363,10 @@ "typeString": "string" }, "typeName": { - "id": 2633, + "id": 2125, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49099:6:1", + "src": "50489:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26376,12 +26376,12 @@ }, { "constant": false, - "id": 2636, + "id": 2128, "mutability": "mutable", "name": "symbol_", "nodeType": "VariableDeclaration", - "scope": 2660, - "src": "49120:21:1", + "scope": 2152, + "src": "50510:21:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -26389,10 +26389,10 @@ "typeString": "string" }, "typeName": { - "id": 2635, + "id": 2127, "name": "string", "nodeType": "ElementaryTypeName", - "src": "49120:6:1", + "src": "50510:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -26401,28 +26401,28 @@ "visibility": "internal" } ], - "src": "49098:44:1" + "src": "50488:44:0" }, "returnParameters": { - "id": 2638, + "id": 2130, "nodeType": "ParameterList", "parameters": [], - "src": "49143:0:1" + "src": "50533:0:0" }, - "scope": 3498, - "src": "49086:362:1", + "scope": 2990, + "src": "50476:370:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "public" }, { "baseFunctions": [ - 580 + 72 ], "body": { - "id": 2685, + "id": 2177, "nodeType": "Block", - "src": "49588:137:1", + "src": "50991:140:0", "statements": [ { "expression": { @@ -26432,18 +26432,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2675, + "id": 2167, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2670, + "id": 2162, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49606:5:1", + "referencedDeclaration": 2155, + "src": "51010:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26455,14 +26455,14 @@ "arguments": [ { "hexValue": "30", - "id": 2673, + "id": 2165, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "49623:1:1", + "src": "51027:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -26477,26 +26477,26 @@ "typeString": "int_const 0" } ], - "id": 2672, + "id": 2164, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 2671, + "id": 2163, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49615:7:1", + "src": "51019:7:0", "typeDescriptions": {} } }, - "id": 2674, + "id": 2166, "isConstant": false, "isLValue": false, "isPure": true, @@ -26504,14 +26504,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49615:10:1", + "src": "51019:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "49606:19:1", + "src": "51010:19:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -26519,14 +26519,14 @@ }, { "hexValue": "4552433732313a2062616c616e636520717565727920666f7220746865207a65726f2061646472657373", - "id": 2676, + "id": 2168, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49627:44:1", + "src": "51031:44:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7395d4d3901c50cdfcab223d072f9aa36241df5d883e62cbf147ee1b05a9e6ba", "typeString": "literal_string \"ERC721: balance query for the zero address\"" @@ -26545,7 +26545,7 @@ "typeString": "literal_string \"ERC721: balance query for the zero address\"" } ], - "id": 2669, + "id": 2161, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -26553,13 +26553,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "49598:7:1", + "src": "51002:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2677, + "id": 2169, "isConstant": false, "isLValue": false, "isPure": false, @@ -26567,16 +26567,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49598:74:1", + "src": "51002:74:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2678, + "id": 2170, "nodeType": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "expression": { @@ -26585,25 +26585,25 @@ "argumentTypes": [], "expression": { "baseExpression": { - "id": 2679, + "id": 2171, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "49689:13:1", + "referencedDeclaration": 2092, + "src": "51094:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2681, + "id": 2173, "indexExpression": { - "id": 2680, + "id": 2172, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2663, - "src": "49703:5:1", + "referencedDeclaration": 2155, + "src": "51108:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -26614,27 +26614,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "49689:20:1", + "src": "51094:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2682, + "id": 2174, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 1900, - "src": "49689:27:1", + "referencedDeclaration": 1392, + "src": "51094:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" } }, - "id": 2683, + "id": 2175, "isConstant": false, "isLValue": false, "isPure": false, @@ -26642,51 +26642,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49689:29:1", + "src": "51094:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2668, - "id": 2684, + "functionReturnParameters": 2160, + "id": 2176, "nodeType": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ] }, "documentation": { - "id": 2661, + "id": 2153, "nodeType": "StructuredDocumentation", - "src": "49454:48:1", + "src": "50854:50:0", "text": " @dev See {IERC721-balanceOf}." }, "functionSelector": "70a08231", - "id": 2686, + "id": 2178, "implemented": true, "kind": "function", "modifiers": [], "name": "balanceOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2665, + "id": 2157, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49561:8:1" + "src": "50964:8:0" }, "parameters": { - "id": 2664, + "id": 2156, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2663, + "id": 2155, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49526:13:1", + "scope": 2178, + "src": "50929:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26694,10 +26694,10 @@ "typeString": "address" }, "typeName": { - "id": 2662, + "id": 2154, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49526:7:1", + "src": "50929:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26707,20 +26707,20 @@ "visibility": "internal" } ], - "src": "49525:15:1" + "src": "50928:15:0" }, "returnParameters": { - "id": 2668, + "id": 2160, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2667, + "id": 2159, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2686, - "src": "49579:7:1", + "scope": 2178, + "src": "50982:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26728,10 +26728,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2666, + "id": 2158, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49579:7:1", + "src": "50982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26740,33 +26740,33 @@ "visibility": "internal" } ], - "src": "49578:9:1" + "src": "50981:9:0" }, - "scope": 3498, - "src": "49507:218:1", + "scope": 2990, + "src": "50910:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 588 + 80 ], "body": { - "id": 2701, + "id": 2193, "nodeType": "Block", - "src": "49863:94:1", + "src": "51274:96:0", "statements": [ { "expression": { "arguments": [ { - "id": 2697, + "id": 2189, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2689, - "src": "49897:7:1", + "referencedDeclaration": 2181, + "src": "51309:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26774,14 +26774,14 @@ }, { "hexValue": "4552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2698, + "id": 2190, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "49906:43:1", + "src": "51318:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_7481f3df2a424c0755a1ad2356614e9a5a358d461ea2eae1f89cb21cbad00397", "typeString": "literal_string \"ERC721: owner query for nonexistent token\"" @@ -26801,32 +26801,32 @@ } ], "expression": { - "id": 2695, + "id": 2187, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "49880:12:1", + "referencedDeclaration": 2094, + "src": "51292:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2696, + "id": 2188, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "get", "nodeType": "MemberAccess", - "referencedDeclaration": 2479, - "src": "49880:16:1", + "referencedDeclaration": 1971, + "src": "51292:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_string_memory_ptr_$returns$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" } }, - "id": 2699, + "id": 2191, "isConstant": false, "isLValue": false, "isPure": false, @@ -26834,51 +26834,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "49880:70:1", + "src": "51292:70:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2694, - "id": 2700, + "functionReturnParameters": 2186, + "id": 2192, "nodeType": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ] }, "documentation": { - "id": 2687, + "id": 2179, "nodeType": "StructuredDocumentation", - "src": "49731:46:1", + "src": "51139:48:0", "text": " @dev See {IERC721-ownerOf}." }, "functionSelector": "6352211e", - "id": 2702, + "id": 2194, "implemented": true, "kind": "function", "modifiers": [], "name": "ownerOf", "nodeType": "FunctionDefinition", "overrides": { - "id": 2691, + "id": 2183, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "49836:8:1" + "src": "51247:8:0" }, "parameters": { - "id": 2690, + "id": 2182, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2689, + "id": 2181, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49799:15:1", + "scope": 2194, + "src": "51210:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26886,10 +26886,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2688, + "id": 2180, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "49799:7:1", + "src": "51210:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -26898,20 +26898,20 @@ "visibility": "internal" } ], - "src": "49798:17:1" + "src": "51209:17:0" }, "returnParameters": { - "id": 2694, + "id": 2186, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2693, + "id": 2185, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2702, - "src": "49854:7:1", + "scope": 2194, + "src": "51265:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -26919,10 +26919,10 @@ "typeString": "address" }, "typeName": { - "id": 2692, + "id": 2184, "name": "address", "nodeType": "ElementaryTypeName", - "src": "49854:7:1", + "src": "51265:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -26932,80 +26932,80 @@ "visibility": "internal" } ], - "src": "49853:9:1" + "src": "51264:9:0" }, - "scope": 3498, - "src": "49782:175:1", + "scope": 2990, + "src": "51193:177:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 665 + 157 ], "body": { - "id": 2711, + "id": 2203, "nodeType": "Block", - "src": "50088:29:1", + "src": "51506:31:0", "statements": [ { "expression": { - "id": 2709, + "id": 2201, "name": "_name", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2614, - "src": "50105:5:1", + "referencedDeclaration": 2106, + "src": "51524:5:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2708, - "id": 2710, + "functionReturnParameters": 2200, + "id": 2202, "nodeType": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ] }, "documentation": { - "id": 2703, + "id": 2195, "nodeType": "StructuredDocumentation", - "src": "49963:51:1", + "src": "51378:53:0", "text": " @dev See {IERC721Metadata-name}." }, "functionSelector": "06fdde03", - "id": 2712, + "id": 2204, "implemented": true, "kind": "function", "modifiers": [], "name": "name", "nodeType": "FunctionDefinition", "overrides": { - "id": 2705, + "id": 2197, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50055:8:1" + "src": "51473:8:0" }, "parameters": { - "id": 2704, + "id": 2196, "nodeType": "ParameterList", "parameters": [], - "src": "50032:2:1" + "src": "51450:2:0" }, "returnParameters": { - "id": 2708, + "id": 2200, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2707, + "id": 2199, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2712, - "src": "50073:13:1", + "scope": 2204, + "src": "51491:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27013,10 +27013,10 @@ "typeString": "string" }, "typeName": { - "id": 2706, + "id": 2198, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50073:6:1", + "src": "51491:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27025,80 +27025,80 @@ "visibility": "internal" } ], - "src": "50072:15:1" + "src": "51490:15:0" }, - "scope": 3498, - "src": "50019:98:1", + "scope": 2990, + "src": "51437:100:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 671 + 163 ], "body": { - "id": 2721, + "id": 2213, "nodeType": "Block", - "src": "50252:31:1", + "src": "51677:33:0", "statements": [ { "expression": { - "id": 2719, + "id": 2211, "name": "_symbol", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2616, - "src": "50269:7:1", + "referencedDeclaration": 2108, + "src": "51695:7:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2718, - "id": 2720, + "functionReturnParameters": 2210, + "id": 2212, "nodeType": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ] }, "documentation": { - "id": 2713, + "id": 2205, "nodeType": "StructuredDocumentation", - "src": "50123:53:1", + "src": "51545:55:0", "text": " @dev See {IERC721Metadata-symbol}." }, "functionSelector": "95d89b41", - "id": 2722, + "id": 2214, "implemented": true, "kind": "function", "modifiers": [], "name": "symbol", "nodeType": "FunctionDefinition", "overrides": { - "id": 2715, + "id": 2207, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50219:8:1" + "src": "51644:8:0" }, "parameters": { - "id": 2714, + "id": 2206, "nodeType": "ParameterList", "parameters": [], - "src": "50196:2:1" + "src": "51621:2:0" }, "returnParameters": { - "id": 2718, + "id": 2210, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2717, + "id": 2209, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2722, - "src": "50237:13:1", + "scope": 2214, + "src": "51662:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27106,10 +27106,10 @@ "typeString": "string" }, "typeName": { - "id": 2716, + "id": 2208, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50237:6:1", + "src": "51662:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27118,22 +27118,22 @@ "visibility": "internal" } ], - "src": "50236:15:1" + "src": "51661:15:0" }, - "scope": 3498, - "src": "50181:102:1", + "scope": 2990, + "src": "51606:104:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 679 + 171 ], "body": { - "id": 2789, + "id": 2281, "nodeType": "Block", - "src": "50437:688:1", + "src": "51869:704:0", "statements": [ { "expression": { @@ -27141,12 +27141,12 @@ { "arguments": [ { - "id": 2733, + "id": 2225, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50463:7:1", + "referencedDeclaration": 2217, + "src": "51896:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27160,18 +27160,18 @@ "typeString": "uint256" } ], - "id": 2732, + "id": 2224, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "50455:7:1", + "referencedDeclaration": 2577, + "src": "51888:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2734, + "id": 2226, "isConstant": false, "isLValue": false, "isPure": false, @@ -27179,7 +27179,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50455:16:1", + "src": "51888:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -27188,14 +27188,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2735, + "id": 2227, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "50473:49:1", + "src": "51906:49:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a2d45c0fba603d40d82d590051761ca952d1ab9d78cca6d0d464d7b6e961a9cb", "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" @@ -27214,7 +27214,7 @@ "typeString": "literal_string \"ERC721Metadata: URI query for nonexistent token\"" } ], - "id": 2731, + "id": 2223, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -27222,13 +27222,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "50447:7:1", + "src": "51880:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2736, + "id": 2228, "isConstant": false, "isLValue": false, "isPure": false, @@ -27236,30 +27236,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50447:76:1", + "src": "51880:76:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2737, + "id": 2229, "nodeType": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "assignments": [ - 2739 + 2231 ], "declarations": [ { "constant": false, - "id": 2739, + "id": 2231, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50534:23:1", + "scope": 2281, + "src": "51969:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27267,10 +27267,10 @@ "typeString": "string" }, "typeName": { - "id": 2738, + "id": 2230, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50534:6:1", + "src": "51969:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27279,28 +27279,28 @@ "visibility": "internal" } ], - "id": 2743, + "id": 2235, "initialValue": { "baseExpression": { - "id": 2740, + "id": 2232, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "50560:10:1", + "referencedDeclaration": 2112, + "src": "51995:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 2742, + "id": 2234, "indexExpression": { - "id": 2741, + "id": 2233, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "50571:7:1", + "referencedDeclaration": 2217, + "src": "52006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27311,28 +27311,28 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "50560:19:1", + "src": "51995:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, "nodeType": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "assignments": [ - 2745 + 2237 ], "declarations": [ { "constant": false, - "id": 2745, + "id": 2237, "mutability": "mutable", "name": "base", "nodeType": "VariableDeclaration", - "scope": 2789, - "src": "50589:18:1", + "scope": 2281, + "src": "52025:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27340,10 +27340,10 @@ "typeString": "string" }, "typeName": { - "id": 2744, + "id": 2236, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50589:6:1", + "src": "52025:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -27352,23 +27352,23 @@ "visibility": "internal" } ], - "id": 2748, + "id": 2240, "initialValue": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2746, + "id": 2238, "name": "baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2799, - "src": "50610:7:1", + "referencedDeclaration": 2291, + "src": "52046:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_string_memory_ptr_$", "typeString": "function () view returns (string memory)" } }, - "id": 2747, + "id": 2239, "isConstant": false, "isLValue": false, "isPure": false, @@ -27376,7 +27376,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50610:9:1", + "src": "52046:9:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27384,7 +27384,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "condition": { @@ -27392,7 +27392,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2755, + "id": 2247, "isConstant": false, "isLValue": false, "isPure": false, @@ -27401,12 +27401,12 @@ "expression": { "arguments": [ { - "id": 2751, + "id": 2243, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50698:4:1", + "referencedDeclaration": 2237, + "src": "52137:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27420,26 +27420,26 @@ "typeString": "string memory" } ], - "id": 2750, + "id": 2242, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2749, + "id": 2241, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50692:5:1", + "src": "52131:5:0", "typeDescriptions": {} } }, - "id": 2752, + "id": 2244, "isConstant": false, "isLValue": false, "isPure": false, @@ -27447,21 +27447,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50692:11:1", + "src": "52131:11:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2753, + "id": 2245, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50692:18:1", + "src": "52131:18:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27471,51 +27471,51 @@ "operator": "==", "rightExpression": { "hexValue": "30", - "id": 2754, + "id": 2246, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50714:1:1", + "src": "52153:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50692:23:1", + "src": "52131:23:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2759, + "id": 2251, "nodeType": "IfStatement", - "src": "50688:70:1", + "src": "52127:72:0", "trueBody": { - "id": 2758, + "id": 2250, "nodeType": "Block", - "src": "50717:41:1", + "src": "52156:43:0", "statements": [ { "expression": { - "id": 2756, + "id": 2248, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50738:9:1", + "referencedDeclaration": 2231, + "src": "52178:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2757, + "functionReturnParameters": 2222, + "id": 2249, "nodeType": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ] } @@ -27526,7 +27526,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 2766, + "id": 2258, "isConstant": false, "isLValue": false, "isPure": false, @@ -27535,12 +27535,12 @@ "expression": { "arguments": [ { - "id": 2762, + "id": 2254, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50866:9:1", + "referencedDeclaration": 2231, + "src": "52309:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27554,26 +27554,26 @@ "typeString": "string memory" } ], - "id": 2761, + "id": 2253, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 2760, + "id": 2252, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "50860:5:1", + "src": "52303:5:0", "typeDescriptions": {} } }, - "id": 2763, + "id": 2255, "isConstant": false, "isLValue": false, "isPure": false, @@ -27581,21 +27581,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50860:16:1", + "src": "52303:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" } }, - "id": 2764, + "id": 2256, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "50860:23:1", + "src": "52303:23:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27605,33 +27605,33 @@ "operator": ">", "rightExpression": { "hexValue": "30", - "id": 2765, + "id": 2257, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "50886:1:1", + "src": "52329:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "50860:27:1", + "src": "52303:27:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2777, + "id": 2269, "nodeType": "IfStatement", - "src": "50856:106:1", + "src": "52299:108:0", "trueBody": { - "id": 2776, + "id": 2268, "nodeType": "Block", - "src": "50889:73:1", + "src": "52332:75:0", "statements": [ { "expression": { @@ -27639,24 +27639,24 @@ { "arguments": [ { - "id": 2771, + "id": 2263, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "50934:4:1", + "referencedDeclaration": 2237, + "src": "52378:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, { - "id": 2772, + "id": 2264, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2739, - "src": "50940:9:1", + "referencedDeclaration": 2231, + "src": "52384:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27675,31 +27675,31 @@ } ], "expression": { - "id": 2769, + "id": 2261, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "50917:3:1", + "src": "52361:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2770, + "id": 2262, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "50917:16:1", + "src": "52361:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2773, + "id": 2265, "isConstant": false, "isLValue": false, "isPure": false, @@ -27707,7 +27707,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50917:33:1", + "src": "52361:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -27722,26 +27722,26 @@ "typeString": "bytes memory" } ], - "id": 2768, + "id": 2260, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2767, + "id": 2259, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50910:6:1", + "src": "52354:6:0", "typeDescriptions": {} } }, - "id": 2774, + "id": 2266, "isConstant": false, "isLValue": false, "isPure": false, @@ -27749,17 +27749,17 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "50910:41:1", + "src": "52354:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2775, + "functionReturnParameters": 2222, + "id": 2267, "nodeType": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ] } @@ -27770,12 +27770,12 @@ { "arguments": [ { - "id": 2782, + "id": 2274, "name": "base", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2745, - "src": "51092:4:1", + "referencedDeclaration": 2237, + "src": "52539:4:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" @@ -27786,32 +27786,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2783, + "id": 2275, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2725, - "src": "51098:7:1", + "referencedDeclaration": 2217, + "src": "52545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "id": 2784, + "id": 2276, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "toString", "nodeType": "MemberAccess", - "referencedDeclaration": 2565, - "src": "51098:16:1", + "referencedDeclaration": 2057, + "src": "52545:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_pure$_t_uint256_$returns$_t_string_memory_ptr_$bound_to$_t_uint256_$", "typeString": "function (uint256) pure returns (string memory)" } }, - "id": 2785, + "id": 2277, "isConstant": false, "isLValue": false, "isPure": false, @@ -27819,7 +27819,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51098:18:1", + "src": "52545:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", @@ -27839,31 +27839,31 @@ } ], "expression": { - "id": 2780, + "id": 2272, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "51075:3:1", + "src": "52522:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 2781, + "id": 2273, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodePacked", "nodeType": "MemberAccess", - "src": "51075:16:1", + "src": "52522:16:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodepacked_pure$__$returns$_t_bytes_memory_ptr_$", "typeString": "function () pure returns (bytes memory)" } }, - "id": 2786, + "id": 2278, "isConstant": false, "isLValue": false, "isPure": false, @@ -27871,7 +27871,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51075:42:1", + "src": "52522:42:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -27886,26 +27886,26 @@ "typeString": "bytes memory" } ], - "id": 2779, + "id": 2271, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_string_storage_ptr_$", "typeString": "type(string storage pointer)" }, "typeName": { - "id": 2778, + "id": 2270, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51068:6:1", + "src": "52515:6:0", "typeDescriptions": {} } }, - "id": 2787, + "id": 2279, "isConstant": false, "isLValue": false, "isPure": false, @@ -27913,51 +27913,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51068:50:1", + "src": "52515:50:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "functionReturnParameters": 2730, - "id": 2788, + "functionReturnParameters": 2222, + "id": 2280, "nodeType": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ] }, "documentation": { - "id": 2723, + "id": 2215, "nodeType": "StructuredDocumentation", - "src": "50289:55:1", + "src": "51718:57:0", "text": " @dev See {IERC721Metadata-tokenURI}." }, "functionSelector": "c87b56dd", - "id": 2790, + "id": 2282, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenURI", "nodeType": "FunctionDefinition", "overrides": { - "id": 2727, + "id": 2219, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "50404:8:1" + "src": "51836:8:0" }, "parameters": { - "id": 2726, + "id": 2218, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2725, + "id": 2217, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50367:15:1", + "scope": 2282, + "src": "51799:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -27965,10 +27965,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2724, + "id": 2216, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "50367:7:1", + "src": "51799:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -27977,20 +27977,20 @@ "visibility": "internal" } ], - "src": "50366:17:1" + "src": "51798:17:0" }, "returnParameters": { - "id": 2730, + "id": 2222, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2729, + "id": 2221, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2790, - "src": "50422:13:1", + "scope": 2282, + "src": "51854:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -27998,10 +27998,10 @@ "typeString": "string" }, "typeName": { - "id": 2728, + "id": 2220, "name": "string", "nodeType": "ElementaryTypeName", - "src": "50422:6:1", + "src": "51854:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28010,71 +28010,71 @@ "visibility": "internal" } ], - "src": "50421:15:1" + "src": "51853:15:0" }, - "scope": 3498, - "src": "50349:776:1", + "scope": 2990, + "src": "51781:792:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "body": { - "id": 2798, + "id": 2290, "nodeType": "Block", - "src": "51420:32:1", + "src": "52875:34:0", "statements": [ { "expression": { - "id": 2796, + "id": 2288, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "51437:8:1", + "referencedDeclaration": 2114, + "src": "52893:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "functionReturnParameters": 2795, - "id": 2797, + "functionReturnParameters": 2287, + "id": 2289, "nodeType": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ] }, "documentation": { - "id": 2791, + "id": 2283, "nodeType": "StructuredDocumentation", - "src": "51131:221:1", + "src": "52581:225:0", "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, "functionSelector": "6c0360eb", - "id": 2799, + "id": 2291, "implemented": true, "kind": "function", "modifiers": [], "name": "baseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 2792, + "id": 2284, "nodeType": "ParameterList", "parameters": [], - "src": "51373:2:1" + "src": "52828:2:0" }, "returnParameters": { - "id": 2795, + "id": 2287, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2794, + "id": 2286, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2799, - "src": "51405:13:1", + "scope": 2291, + "src": "52860:13:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -28082,10 +28082,10 @@ "typeString": "string" }, "typeName": { - "id": 2793, + "id": 2285, "name": "string", "nodeType": "ElementaryTypeName", - "src": "51405:6:1", + "src": "52860:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -28094,33 +28094,33 @@ "visibility": "internal" } ], - "src": "51404:15:1" + "src": "52859:15:0" }, - "scope": 3498, - "src": "51357:95:1", + "scope": 2990, + "src": "52812:97:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 700 + 192 ], "body": { - "id": 2817, + "id": 2309, "nodeType": "Block", - "src": "51637:54:1", + "src": "53099:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 2814, + "id": 2306, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2804, - "src": "51678:5:1", + "referencedDeclaration": 2296, + "src": "53141:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28136,25 +28136,25 @@ ], "expression": { "baseExpression": { - "id": 2810, + "id": 2302, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "51654:13:1", + "referencedDeclaration": 2092, + "src": "53117:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 2812, + "id": 2304, "indexExpression": { - "id": 2811, + "id": 2303, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2802, - "src": "51668:5:1", + "referencedDeclaration": 2294, + "src": "53131:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28165,27 +28165,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "51654:20:1", + "src": "53117:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 2813, + "id": 2305, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 1920, - "src": "51654:23:1", + "referencedDeclaration": 1412, + "src": "53117:23:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_uint256_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" } }, - "id": 2815, + "id": 2307, "isConstant": false, "isLValue": false, "isPure": false, @@ -28193,51 +28193,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51654:30:1", + "src": "53117:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2809, - "id": 2816, + "functionReturnParameters": 2301, + "id": 2308, "nodeType": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ] }, "documentation": { - "id": 2800, + "id": 2292, "nodeType": "StructuredDocumentation", - "src": "51458:68:1", + "src": "52917:70:0", "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, "functionSelector": "2f745c59", - "id": 2818, + "id": 2310, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenOfOwnerByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2806, + "id": 2298, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51610:8:1" + "src": "53072:8:0" }, "parameters": { - "id": 2805, + "id": 2297, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2802, + "id": 2294, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51560:13:1", + "scope": 2310, + "src": "53022:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28245,10 +28245,10 @@ "typeString": "address" }, "typeName": { - "id": 2801, + "id": 2293, "name": "address", "nodeType": "ElementaryTypeName", - "src": "51560:7:1", + "src": "53022:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28259,12 +28259,12 @@ }, { "constant": false, - "id": 2804, + "id": 2296, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51575:13:1", + "scope": 2310, + "src": "53037:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28272,10 +28272,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2803, + "id": 2295, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51575:7:1", + "src": "53037:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28284,20 +28284,20 @@ "visibility": "internal" } ], - "src": "51559:30:1" + "src": "53021:30:0" }, "returnParameters": { - "id": 2809, + "id": 2301, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2808, + "id": 2300, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2818, - "src": "51628:7:1", + "scope": 2310, + "src": "53090:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28305,10 +28305,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2807, + "id": 2299, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51628:7:1", + "src": "53090:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28317,22 +28317,22 @@ "visibility": "internal" } ], - "src": "51627:9:1" + "src": "53089:9:0" }, - "scope": 3498, - "src": "51531:160:1", + "scope": 2990, + "src": "52993:162:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 690 + 182 ], "body": { - "id": 2829, + "id": 2321, "nodeType": "Block", - "src": "51832:138:1", + "src": "53301:141:0", "statements": [ { "expression": { @@ -28340,32 +28340,32 @@ "expression": { "argumentTypes": [], "expression": { - "id": 2825, + "id": 2317, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "51942:12:1", + "referencedDeclaration": 2094, + "src": "53413:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2826, + "id": 2318, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "referencedDeclaration": 2340, - "src": "51942:19:1", + "referencedDeclaration": 1832, + "src": "53413:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$returns$_t_uint256_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" } }, - "id": 2827, + "id": 2319, "isConstant": false, "isLValue": false, "isPure": false, @@ -28373,57 +28373,57 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "51942:21:1", + "src": "53413:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2824, - "id": 2828, + "functionReturnParameters": 2316, + "id": 2320, "nodeType": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ] }, "documentation": { - "id": 2819, + "id": 2311, "nodeType": "StructuredDocumentation", - "src": "51697:60:1", + "src": "53163:62:0", "text": " @dev See {IERC721Enumerable-totalSupply}." }, "functionSelector": "18160ddd", - "id": 2830, + "id": 2322, "implemented": true, "kind": "function", "modifiers": [], "name": "totalSupply", "nodeType": "FunctionDefinition", "overrides": { - "id": 2821, + "id": 2313, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "51805:8:1" + "src": "53274:8:0" }, "parameters": { - "id": 2820, + "id": 2312, "nodeType": "ParameterList", "parameters": [], - "src": "51782:2:1" + "src": "53251:2:0" }, "returnParameters": { - "id": 2824, + "id": 2316, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2823, + "id": 2315, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2830, - "src": "51823:7:1", + "scope": 2322, + "src": "53292:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28431,10 +28431,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2822, + "id": 2314, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "51823:7:1", + "src": "53292:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28443,37 +28443,37 @@ "visibility": "internal" } ], - "src": "51822:9:1" + "src": "53291:9:0" }, - "scope": 3498, - "src": "51762:208:1", + "scope": 2990, + "src": "53231:211:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 708 + 200 ], "body": { - "id": 2848, + "id": 2340, "nodeType": "Block", - "src": "52126:85:1", + "src": "53603:88:0", "statements": [ { "assignments": [ - 2840, + 2332, null ], "declarations": [ { "constant": false, - "id": 2840, + "id": 2332, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2848, - "src": "52137:15:1", + "scope": 2340, + "src": "53615:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28481,10 +28481,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2839, + "id": 2331, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52137:7:1", + "src": "53615:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28494,16 +28494,16 @@ }, null ], - "id": 2845, + "id": 2337, "initialValue": { "arguments": [ { - "id": 2843, + "id": 2335, "name": "index", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2833, - "src": "52174:5:1", + "referencedDeclaration": 2325, + "src": "53652:5:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28518,32 +28518,32 @@ } ], "expression": { - "id": 2841, + "id": 2333, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "52158:12:1", + "referencedDeclaration": 2094, + "src": "53636:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 2842, + "id": 2334, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "at", "nodeType": "MemberAccess", - "referencedDeclaration": 2379, - "src": "52158:15:1", + "referencedDeclaration": 1871, + "src": "53636:15:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_uint256_$_t_address_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" } }, - "id": 2844, + "id": 2336, "isConstant": false, "isLValue": false, "isPure": false, @@ -28551,7 +28551,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52158:22:1", + "src": "53636:22:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$_t_uint256_$_t_address_$", @@ -28559,59 +28559,59 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "expression": { - "id": 2846, + "id": 2338, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2840, - "src": "52197:7:1", + "referencedDeclaration": 2332, + "src": "53676:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, - "functionReturnParameters": 2838, - "id": 2847, + "functionReturnParameters": 2330, + "id": 2339, "nodeType": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ] }, "documentation": { - "id": 2831, + "id": 2323, "nodeType": "StructuredDocumentation", - "src": "51976:61:1", + "src": "53450:63:0", "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, "functionSelector": "4f6ccce7", - "id": 2849, + "id": 2341, "implemented": true, "kind": "function", "modifiers": [], "name": "tokenByIndex", "nodeType": "FunctionDefinition", "overrides": { - "id": 2835, + "id": 2327, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52099:8:1" + "src": "53576:8:0" }, "parameters": { - "id": 2834, + "id": 2326, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2833, + "id": 2325, "mutability": "mutable", "name": "index", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52064:13:1", + "scope": 2341, + "src": "53541:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28619,10 +28619,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2832, + "id": 2324, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52064:7:1", + "src": "53541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28631,20 +28631,20 @@ "visibility": "internal" } ], - "src": "52063:15:1" + "src": "53540:15:0" }, "returnParameters": { - "id": 2838, + "id": 2330, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2837, + "id": 2329, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2849, - "src": "52117:7:1", + "scope": 2341, + "src": "53594:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28652,10 +28652,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2836, + "id": 2328, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52117:7:1", + "src": "53594:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28664,36 +28664,36 @@ "visibility": "internal" } ], - "src": "52116:9:1" + "src": "53593:9:0" }, - "scope": 3498, - "src": "52042:169:1", + "scope": 2990, + "src": "53519:172:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 616 + 108 ], "body": { - "id": 2892, + "id": 2384, "nodeType": "Block", - "src": "52338:325:1", + "src": "53823:334:0", "statements": [ { "assignments": [ - 2859 + 2351 ], "declarations": [ { "constant": false, - "id": 2859, + "id": 2351, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2892, - "src": "52348:13:1", + "scope": 2384, + "src": "53834:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -28701,10 +28701,10 @@ "typeString": "address" }, "typeName": { - "id": 2858, + "id": 2350, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52348:7:1", + "src": "53834:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -28714,16 +28714,16 @@ "visibility": "internal" } ], - "id": 2864, + "id": 2356, "initialValue": { "arguments": [ { - "id": 2862, + "id": 2354, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52379:7:1", + "referencedDeclaration": 2346, + "src": "53865:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -28738,32 +28738,32 @@ } ], "expression": { - "id": 2860, + "id": 2352, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52364:6:1", + "referencedDeclaration": 2990, + "src": "53850:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2861, + "id": 2353, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "52364:14:1", + "referencedDeclaration": 2194, + "src": "53850:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 2863, + "id": 2355, "isConstant": false, "isLValue": false, "isPure": false, @@ -28771,7 +28771,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52364:23:1", + "src": "53850:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -28779,7 +28779,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "expression": { @@ -28789,18 +28789,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2868, + "id": 2360, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2866, + "id": 2358, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52405:2:1", + "referencedDeclaration": 2344, + "src": "53892:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28809,18 +28809,18 @@ "nodeType": "BinaryOperation", "operator": "!=", "rightExpression": { - "id": 2867, + "id": 2359, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52411:5:1", + "referencedDeclaration": 2351, + "src": "53898:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52405:11:1", + "src": "53892:11:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28828,14 +28828,14 @@ }, { "hexValue": "4552433732313a20617070726f76616c20746f2063757272656e74206f776e6572", - "id": 2869, + "id": 2361, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52418:35:1", + "src": "53905:35:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_b51b4875eede07862961e8f9365c6749f5fe55c6ee5d7a9e42b6912ad0b15942", "typeString": "literal_string \"ERC721: approval to current owner\"" @@ -28854,7 +28854,7 @@ "typeString": "literal_string \"ERC721: approval to current owner\"" } ], - "id": 2865, + "id": 2357, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -28862,13 +28862,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52397:7:1", + "src": "53884:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2870, + "id": 2362, "isConstant": false, "isLValue": false, "isPure": false, @@ -28876,16 +28876,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52397:57:1", + "src": "53884:57:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2871, + "id": 2363, "nodeType": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "expression": { @@ -28895,7 +28895,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 2883, + "id": 2375, "isConstant": false, "isLValue": false, "isPure": false, @@ -28905,7 +28905,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2876, + "id": 2368, "isConstant": false, "isLValue": false, "isPure": false, @@ -28914,18 +28914,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2873, + "id": 2365, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52473:10:1", + "referencedDeclaration": 10, + "src": "53962:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2874, + "id": 2366, "isConstant": false, "isLValue": false, "isPure": false, @@ -28933,7 +28933,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52473:12:1", + "src": "53962:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -28943,18 +28943,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 2875, + "id": 2367, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52489:5:1", + "referencedDeclaration": 2351, + "src": "53978:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "52473:21:1", + "src": "53962:21:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -28965,12 +28965,12 @@ "rightExpression": { "arguments": [ { - "id": 2879, + "id": 2371, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2859, - "src": "52522:5:1", + "referencedDeclaration": 2351, + "src": "54011:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -28980,18 +28980,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2880, + "id": 2372, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "52529:10:1", + "referencedDeclaration": 10, + "src": "54018:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2881, + "id": 2373, "isConstant": false, "isLValue": false, "isPure": false, @@ -28999,7 +28999,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52529:12:1", + "src": "54018:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29019,32 +29019,32 @@ } ], "expression": { - "id": 2877, + "id": 2369, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "52498:6:1", + "referencedDeclaration": 2990, + "src": "53987:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 2878, + "id": 2370, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "52498:23:1", + "referencedDeclaration": 2458, + "src": "53987:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 2882, + "id": 2374, "isConstant": false, "isLValue": false, "isPure": false, @@ -29052,14 +29052,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52498:44:1", + "src": "53987:44:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "52473:69:1", + "src": "53962:69:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29067,14 +29067,14 @@ }, { "hexValue": "4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c", - "id": 2884, + "id": 2376, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52556:58:1", + "src": "54046:58:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_6d83cef3e0cb19b8320a9c5feb26b56bbb08f152a8e61b12eca3302d8d68b23d", "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" @@ -29093,7 +29093,7 @@ "typeString": "literal_string \"ERC721: approve caller is not owner nor approved for all\"" } ], - "id": 2872, + "id": 2364, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29101,13 +29101,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52465:7:1", + "src": "53954:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2885, + "id": 2377, "isConstant": false, "isLValue": false, "isPure": false, @@ -29115,39 +29115,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52465:159:1", + "src": "53954:161:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2886, + "id": 2378, "nodeType": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "expression": { "arguments": [ { - "id": 2888, + "id": 2380, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2852, - "src": "52644:2:1", + "referencedDeclaration": 2344, + "src": "54137:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2889, + "id": 2381, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2854, - "src": "52648:7:1", + "referencedDeclaration": 2346, + "src": "54141:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29165,18 +29165,18 @@ "typeString": "uint256" } ], - "id": 2887, + "id": 2379, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "52635:8:1", + "referencedDeclaration": 2978, + "src": "54128:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 2890, + "id": 2382, "isConstant": false, "isLValue": false, "isPure": false, @@ -29184,50 +29184,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52635:21:1", + "src": "54128:21:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2891, + "id": 2383, "nodeType": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ] }, "documentation": { - "id": 2850, + "id": 2342, "nodeType": "StructuredDocumentation", - "src": "52217:46:1", + "src": "53699:48:0", "text": " @dev See {IERC721-approve}." }, "functionSelector": "095ea7b3", - "id": 2893, + "id": 2385, "implemented": true, "kind": "function", "modifiers": [], "name": "approve", "nodeType": "FunctionDefinition", "overrides": { - "id": 2856, + "id": 2348, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52329:8:1" + "src": "53814:8:0" }, "parameters": { - "id": 2855, + "id": 2347, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2852, + "id": 2344, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52285:10:1", + "scope": 2385, + "src": "53770:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29235,10 +29235,10 @@ "typeString": "address" }, "typeName": { - "id": 2851, + "id": 2343, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52285:7:1", + "src": "53770:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29249,12 +29249,12 @@ }, { "constant": false, - "id": 2854, + "id": 2346, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2893, - "src": "52297:15:1", + "scope": 2385, + "src": "53782:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29262,10 +29262,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2853, + "id": 2345, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52297:7:1", + "src": "53782:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29274,28 +29274,28 @@ "visibility": "internal" } ], - "src": "52284:29:1" + "src": "53769:29:0" }, "returnParameters": { - "id": 2857, + "id": 2349, "nodeType": "ParameterList", "parameters": [], - "src": "52338:0:1" + "src": "53823:0:0" }, - "scope": 3498, - "src": "52268:395:1", + "scope": 2990, + "src": "53753:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 624 + 116 ], "body": { - "id": 2913, + "id": 2405, "nodeType": "Block", - "src": "52809:132:1", + "src": "54308:136:0", "statements": [ { "expression": { @@ -29303,12 +29303,12 @@ { "arguments": [ { - "id": 2904, + "id": 2396, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52835:7:1", + "referencedDeclaration": 2388, + "src": "54335:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29322,18 +29322,18 @@ "typeString": "uint256" } ], - "id": 2903, + "id": 2395, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "52827:7:1", + "referencedDeclaration": 2577, + "src": "54327:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 2905, + "id": 2397, "isConstant": false, "isLValue": false, "isPure": false, @@ -29341,7 +29341,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52827:16:1", + "src": "54327:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -29350,14 +29350,14 @@ }, { "hexValue": "4552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 2906, + "id": 2398, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "52845:46:1", + "src": "54345:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_9291e0f44949204f2e9b40e6be090924979d6047b2365868f4e9f027722eb89d", "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" @@ -29376,7 +29376,7 @@ "typeString": "literal_string \"ERC721: approved query for nonexistent token\"" } ], - "id": 2902, + "id": 2394, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29384,13 +29384,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "52819:7:1", + "src": "54319:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2907, + "id": 2399, "isConstant": false, "isLValue": false, "isPure": false, @@ -29398,39 +29398,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "52819:73:1", + "src": "54319:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2908, + "id": 2400, "nodeType": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "expression": { "baseExpression": { - "id": 2909, + "id": 2401, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "52910:15:1", + "referencedDeclaration": 2098, + "src": "54412:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 2911, + "id": 2403, "indexExpression": { - "id": 2910, + "id": 2402, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2896, - "src": "52926:7:1", + "referencedDeclaration": 2388, + "src": "54428:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29441,50 +29441,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "52910:24:1", + "src": "54412:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "functionReturnParameters": 2901, - "id": 2912, + "functionReturnParameters": 2393, + "id": 2404, "nodeType": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ] }, "documentation": { - "id": 2894, + "id": 2386, "nodeType": "StructuredDocumentation", - "src": "52669:50:1", + "src": "54165:52:0", "text": " @dev See {IERC721-getApproved}." }, "functionSelector": "081812fc", - "id": 2914, + "id": 2406, "implemented": true, "kind": "function", "modifiers": [], "name": "getApproved", "nodeType": "FunctionDefinition", "overrides": { - "id": 2898, + "id": 2390, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "52782:8:1" + "src": "54281:8:0" }, "parameters": { - "id": 2897, + "id": 2389, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2896, + "id": 2388, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52745:15:1", + "scope": 2406, + "src": "54244:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29492,10 +29492,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2895, + "id": 2387, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "52745:7:1", + "src": "54244:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -29504,20 +29504,20 @@ "visibility": "internal" } ], - "src": "52744:17:1" + "src": "54243:17:0" }, "returnParameters": { - "id": 2901, + "id": 2393, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2900, + "id": 2392, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2914, - "src": "52800:7:1", + "scope": 2406, + "src": "54299:7:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29525,10 +29525,10 @@ "typeString": "address" }, "typeName": { - "id": 2899, + "id": 2391, "name": "address", "nodeType": "ElementaryTypeName", - "src": "52800:7:1", + "src": "54299:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29538,22 +29538,22 @@ "visibility": "internal" } ], - "src": "52799:9:1" + "src": "54298:9:0" }, - "scope": 3498, - "src": "52724:217:1", + "scope": 2990, + "src": "54223:221:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 632 + 124 ], "body": { - "id": 2947, + "id": 2439, "nodeType": "Block", - "src": "53092:206:1", + "src": "54600:211:0", "statements": [ { "expression": { @@ -29563,18 +29563,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 2927, + "id": 2419, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 2924, + "id": 2416, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53110:8:1", + "referencedDeclaration": 2409, + "src": "54619:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29586,18 +29586,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2925, + "id": 2417, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53122:10:1", + "referencedDeclaration": 10, + "src": "54631:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2926, + "id": 2418, "isConstant": false, "isLValue": false, "isPure": false, @@ -29605,14 +29605,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53122:12:1", + "src": "54631:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "53110:24:1", + "src": "54619:24:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29620,14 +29620,14 @@ }, { "hexValue": "4552433732313a20617070726f766520746f2063616c6c6572", - "id": 2928, + "id": 2420, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53136:27:1", + "src": "54645:27:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_45fe4329685be5ecd250fd0e6a25aea0ea4d0e30fb6a73c118b95749e6d70d05", "typeString": "literal_string \"ERC721: approve to caller\"" @@ -29646,7 +29646,7 @@ "typeString": "literal_string \"ERC721: approve to caller\"" } ], - "id": 2923, + "id": 2415, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -29654,13 +29654,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53102:7:1", + "src": "54611:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2929, + "id": 2421, "isConstant": false, "isLValue": false, "isPure": false, @@ -29668,20 +29668,20 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53102:62:1", + "src": "54611:62:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2930, + "id": 2422, "nodeType": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "expression": { - "id": 2938, + "id": 2430, "isConstant": false, "isLValue": false, "isPure": false, @@ -29689,34 +29689,34 @@ "leftHandSide": { "baseExpression": { "baseExpression": { - "id": 2931, + "id": 2423, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53175:18:1", + "referencedDeclaration": 2104, + "src": "54686:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2935, + "id": 2427, "indexExpression": { "arguments": [], "expression": { "argumentTypes": [], - "id": 2932, + "id": 2424, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53194:10:1", + "referencedDeclaration": 10, + "src": "54705:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2933, + "id": 2425, "isConstant": false, "isLValue": false, "isPure": false, @@ -29724,7 +29724,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53194:12:1", + "src": "54705:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29736,20 +29736,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53175:32:1", + "src": "54686:32:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2936, + "id": 2428, "indexExpression": { - "id": 2934, + "id": 2426, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53208:8:1", + "referencedDeclaration": 2409, + "src": "54719:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -29760,7 +29760,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "53175:42:1", + "src": "54686:42:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29769,26 +29769,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 2937, + "id": 2429, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53220:8:1", + "referencedDeclaration": 2411, + "src": "54731:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "53175:53:1", + "src": "54686:53:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 2939, + "id": 2431, "nodeType": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "eventCall": { @@ -29797,18 +29797,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2941, + "id": 2433, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53258:10:1", + "referencedDeclaration": 10, + "src": "54770:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2942, + "id": 2434, "isConstant": false, "isLValue": false, "isPure": false, @@ -29816,7 +29816,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53258:12:1", + "src": "54770:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -29824,24 +29824,24 @@ } }, { - "id": 2943, + "id": 2435, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2917, - "src": "53272:8:1", + "referencedDeclaration": 2409, + "src": "54784:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2944, + "id": 2436, "name": "approved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2919, - "src": "53282:8:1", + "referencedDeclaration": 2411, + "src": "54794:8:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29863,18 +29863,18 @@ "typeString": "bool" } ], - "id": 2940, + "id": 2432, "name": "ApprovalForAll", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 572, - "src": "53243:14:1", + "referencedDeclaration": 64, + "src": "54755:14:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_bool_$returns$__$", "typeString": "function (address,address,bool)" } }, - "id": 2945, + "id": 2437, "isConstant": false, "isLValue": false, "isPure": false, @@ -29882,50 +29882,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53243:48:1", + "src": "54755:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2946, + "id": 2438, "nodeType": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ] }, "documentation": { - "id": 2915, + "id": 2407, "nodeType": "StructuredDocumentation", - "src": "52947:56:1", + "src": "54452:58:0", "text": " @dev See {IERC721-setApprovalForAll}." }, "functionSelector": "a22cb465", - "id": 2948, + "id": 2440, "implemented": true, "kind": "function", "modifiers": [], "name": "setApprovalForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2921, + "id": 2413, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53083:8:1" + "src": "54591:8:0" }, "parameters": { - "id": 2920, + "id": 2412, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2917, + "id": 2409, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53035:16:1", + "scope": 2440, + "src": "54543:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29933,10 +29933,10 @@ "typeString": "address" }, "typeName": { - "id": 2916, + "id": 2408, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53035:7:1", + "src": "54543:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -29947,12 +29947,12 @@ }, { "constant": false, - "id": 2919, + "id": 2411, "mutability": "mutable", "name": "approved", "nodeType": "VariableDeclaration", - "scope": 2948, - "src": "53053:13:1", + "scope": 2440, + "src": "54561:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -29960,10 +29960,10 @@ "typeString": "bool" }, "typeName": { - "id": 2918, + "id": 2410, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53053:4:1", + "src": "54561:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -29972,52 +29972,52 @@ "visibility": "internal" } ], - "src": "53034:33:1" + "src": "54542:33:0" }, "returnParameters": { - "id": 2922, + "id": 2414, "nodeType": "ParameterList", "parameters": [], - "src": "53092:0:1" + "src": "54600:0:0" }, - "scope": 3498, - "src": "53008:290:1", + "scope": 2990, + "src": "54516:295:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 642 + 134 ], "body": { - "id": 2965, + "id": 2457, "nodeType": "Block", - "src": "53467:59:1", + "src": "54985:61:0", "statements": [ { "expression": { "baseExpression": { "baseExpression": { - "id": 2959, + "id": 2451, "name": "_operatorApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2612, - "src": "53484:18:1", + "referencedDeclaration": 2104, + "src": "55003:18:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_mapping$_t_address_$_t_bool_$_$", "typeString": "mapping(address => mapping(address => bool))" } }, - "id": 2961, + "id": 2453, "indexExpression": { - "id": 2960, + "id": 2452, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2951, - "src": "53503:5:1", + "referencedDeclaration": 2443, + "src": "55022:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30028,20 +30028,20 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:25:1", + "src": "55003:25:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_address_$_t_bool_$", "typeString": "mapping(address => bool)" } }, - "id": 2963, + "id": 2455, "indexExpression": { - "id": 2962, + "id": 2454, "name": "operator", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2953, - "src": "53510:8:1", + "referencedDeclaration": 2445, + "src": "55029:8:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -30052,50 +30052,50 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "53484:35:1", + "src": "55003:35:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 2958, - "id": 2964, + "functionReturnParameters": 2450, + "id": 2456, "nodeType": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ] }, "documentation": { - "id": 2949, + "id": 2441, "nodeType": "StructuredDocumentation", - "src": "53304:55:1", + "src": "54819:57:0", "text": " @dev See {IERC721-isApprovedForAll}." }, "functionSelector": "e985e9c5", - "id": 2966, + "id": 2458, "implemented": true, "kind": "function", "modifiers": [], "name": "isApprovedForAll", "nodeType": "FunctionDefinition", "overrides": { - "id": 2955, + "id": 2447, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53443:8:1" + "src": "54961:8:0" }, "parameters": { - "id": 2954, + "id": 2446, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2951, + "id": 2443, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53390:13:1", + "scope": 2458, + "src": "54908:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30103,10 +30103,10 @@ "typeString": "address" }, "typeName": { - "id": 2950, + "id": 2442, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53390:7:1", + "src": "54908:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30117,12 +30117,12 @@ }, { "constant": false, - "id": 2953, + "id": 2445, "mutability": "mutable", "name": "operator", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53405:16:1", + "scope": 2458, + "src": "54923:16:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30130,10 +30130,10 @@ "typeString": "address" }, "typeName": { - "id": 2952, + "id": 2444, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53405:7:1", + "src": "54923:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30143,20 +30143,20 @@ "visibility": "internal" } ], - "src": "53389:33:1" + "src": "54907:33:0" }, "returnParameters": { - "id": 2958, + "id": 2450, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2957, + "id": 2449, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 2966, - "src": "53461:4:1", + "scope": 2458, + "src": "54979:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30164,10 +30164,10 @@ "typeString": "bool" }, "typeName": { - "id": 2956, + "id": 2448, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "53461:4:1", + "src": "54979:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -30176,22 +30176,22 @@ "visibility": "internal" } ], - "src": "53460:6:1" + "src": "54978:6:0" }, - "scope": 3498, - "src": "53364:162:1", + "scope": 2990, + "src": "54882:164:0", "stateMutability": "view", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 608 + 100 ], "body": { - "id": 2992, + "id": 2484, "nodeType": "Block", - "src": "53677:211:1", + "src": "55202:216:0", "statements": [ { "expression": { @@ -30202,18 +30202,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 2979, + "id": 2471, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "53766:10:1", + "referencedDeclaration": 10, + "src": "55293:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 2980, + "id": 2472, "isConstant": false, "isLValue": false, "isPure": false, @@ -30221,7 +30221,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53766:12:1", + "src": "55293:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30229,12 +30229,12 @@ } }, { - "id": 2981, + "id": 2473, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53780:7:1", + "referencedDeclaration": 2465, + "src": "55307:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30252,18 +30252,18 @@ "typeString": "uint256" } ], - "id": 2978, + "id": 2470, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "53747:18:1", + "referencedDeclaration": 2619, + "src": "55274:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 2982, + "id": 2474, "isConstant": false, "isLValue": false, "isPure": false, @@ -30271,7 +30271,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53747:41:1", + "src": "55274:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30280,14 +30280,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 2983, + "id": 2475, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "53790:51:1", + "src": "55317:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30306,7 +30306,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 2977, + "id": 2469, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30314,13 +30314,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "53739:7:1", + "src": "55266:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 2984, + "id": 2476, "isConstant": false, "isLValue": false, "isPure": false, @@ -30328,51 +30328,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53739:103:1", + "src": "55266:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2985, + "id": 2477, "nodeType": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "expression": { "arguments": [ { - "id": 2987, + "id": 2479, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2969, - "src": "53863:4:1", + "referencedDeclaration": 2461, + "src": "55392:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2988, + "id": 2480, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2971, - "src": "53869:2:1", + "referencedDeclaration": 2463, + "src": "55398:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 2989, + "id": 2481, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2973, - "src": "53873:7:1", + "referencedDeclaration": 2465, + "src": "55402:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30394,18 +30394,18 @@ "typeString": "uint256" } ], - "id": 2986, + "id": 2478, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "53853:9:1", + "referencedDeclaration": 2863, + "src": "55382:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 2990, + "id": 2482, "isConstant": false, "isLValue": false, "isPure": false, @@ -30413,50 +30413,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "53853:28:1", + "src": "55382:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 2991, + "id": 2483, "nodeType": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ] }, "documentation": { - "id": 2967, + "id": 2459, "nodeType": "StructuredDocumentation", - "src": "53532:51:1", + "src": "55054:53:0", "text": " @dev See {IERC721-transferFrom}." }, "functionSelector": "23b872dd", - "id": 2993, + "id": 2485, "implemented": true, "kind": "function", "modifiers": [], "name": "transferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 2975, + "id": 2467, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "53668:8:1" + "src": "55193:8:0" }, "parameters": { - "id": 2974, + "id": 2466, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2969, + "id": 2461, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53610:12:1", + "scope": 2485, + "src": "55135:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30464,10 +30464,10 @@ "typeString": "address" }, "typeName": { - "id": 2968, + "id": 2460, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53610:7:1", + "src": "55135:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30478,12 +30478,12 @@ }, { "constant": false, - "id": 2971, + "id": 2463, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53624:10:1", + "scope": 2485, + "src": "55149:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30491,10 +30491,10 @@ "typeString": "address" }, "typeName": { - "id": 2970, + "id": 2462, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53624:7:1", + "src": "55149:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30505,12 +30505,12 @@ }, { "constant": false, - "id": 2973, + "id": 2465, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 2993, - "src": "53636:15:1", + "scope": 2485, + "src": "55161:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30518,10 +30518,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2972, + "id": 2464, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "53636:7:1", + "src": "55161:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30530,63 +30530,63 @@ "visibility": "internal" } ], - "src": "53609:43:1" + "src": "55134:43:0" }, "returnParameters": { - "id": 2976, + "id": 2468, "nodeType": "ParameterList", "parameters": [], - "src": "53677:0:1" + "src": "55202:0:0" }, - "scope": 3498, - "src": "53588:300:1", + "scope": 2990, + "src": "55113:305:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 598 + 90 ], "body": { - "id": 3011, + "id": 2503, "nodeType": "Block", - "src": "54047:56:1", + "src": "55582:58:0", "statements": [ { "expression": { "arguments": [ { - "id": 3005, + "id": 2497, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2996, - "src": "54074:4:1", + "referencedDeclaration": 2488, + "src": "55610:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3006, + "id": 2498, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2998, - "src": "54080:2:1", + "referencedDeclaration": 2490, + "src": "55616:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3007, + "id": 2499, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3000, - "src": "54084:7:1", + "referencedDeclaration": 2492, + "src": "55620:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30594,14 +30594,14 @@ }, { "hexValue": "", - "id": 3008, + "id": 2500, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54093:2:1", + "src": "55629:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -30628,21 +30628,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3004, + "id": 2496, "name": "safeTransferFrom", "nodeType": "Identifier", "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, - "src": "54057:16:1", + "referencedDeclaration": 2534, + "src": "55593:16:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3009, + "id": 2501, "isConstant": false, "isLValue": false, "isPure": false, @@ -30650,50 +30650,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54057:39:1", + "src": "55593:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3010, + "id": 2502, "nodeType": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ] }, "documentation": { - "id": 2994, + "id": 2486, "nodeType": "StructuredDocumentation", - "src": "53894:55:1", + "src": "55426:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "42842e0e", - "id": 3012, + "id": 2504, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3002, + "id": 2494, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54038:8:1" + "src": "55573:8:0" }, "parameters": { - "id": 3001, + "id": 2493, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 2996, + "id": 2488, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53980:12:1", + "scope": 2504, + "src": "55515:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30701,10 +30701,10 @@ "typeString": "address" }, "typeName": { - "id": 2995, + "id": 2487, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53980:7:1", + "src": "55515:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30715,12 +30715,12 @@ }, { "constant": false, - "id": 2998, + "id": 2490, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "53994:10:1", + "scope": 2504, + "src": "55529:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30728,10 +30728,10 @@ "typeString": "address" }, "typeName": { - "id": 2997, + "id": 2489, "name": "address", "nodeType": "ElementaryTypeName", - "src": "53994:7:1", + "src": "55529:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -30742,12 +30742,12 @@ }, { "constant": false, - "id": 3000, + "id": 2492, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3012, - "src": "54006:15:1", + "scope": 2504, + "src": "55541:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -30755,10 +30755,10 @@ "typeString": "uint256" }, "typeName": { - "id": 2999, + "id": 2491, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54006:7:1", + "src": "55541:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30767,28 +30767,28 @@ "visibility": "internal" } ], - "src": "53979:43:1" + "src": "55514:43:0" }, "returnParameters": { - "id": 3003, + "id": 2495, "nodeType": "ParameterList", "parameters": [], - "src": "54047:0:1" + "src": "55582:0:0" }, - "scope": 3498, - "src": "53954:149:1", + "scope": 2990, + "src": "55489:151:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "baseFunctions": [ - 654 + 146 ], "body": { - "id": 3041, + "id": 2533, "nodeType": "Block", - "src": "54282:169:1", + "src": "55824:172:0", "statements": [ { "expression": { @@ -30799,18 +30799,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3027, + "id": 2519, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "54319:10:1", + "referencedDeclaration": 10, + "src": "55862:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3028, + "id": 2520, "isConstant": false, "isLValue": false, "isPure": false, @@ -30818,7 +30818,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54319:12:1", + "src": "55862:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -30826,12 +30826,12 @@ } }, { - "id": 3029, + "id": 2521, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54333:7:1", + "referencedDeclaration": 2511, + "src": "55876:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -30849,18 +30849,18 @@ "typeString": "uint256" } ], - "id": 3026, + "id": 2518, "name": "_isApprovedOrOwner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3127, - "src": "54300:18:1", + "referencedDeclaration": 2619, + "src": "55843:18:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_uint256_$returns$_t_bool_$", "typeString": "function (address,uint256) view returns (bool)" } }, - "id": 3030, + "id": 2522, "isConstant": false, "isLValue": false, "isPure": false, @@ -30868,7 +30868,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54300:41:1", + "src": "55843:41:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -30877,14 +30877,14 @@ }, { "hexValue": "4552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564", - "id": 3031, + "id": 2523, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "54343:51:1", + "src": "55886:51:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c8682f3ad98807db59a6ec6bb812b72fed0a66e3150fa8239699ee83885247f2", "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" @@ -30903,7 +30903,7 @@ "typeString": "literal_string \"ERC721: transfer caller is not owner nor approved\"" } ], - "id": 3025, + "id": 2517, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -30911,13 +30911,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "54292:7:1", + "src": "55835:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3032, + "id": 2524, "isConstant": false, "isLValue": false, "isPure": false, @@ -30925,63 +30925,63 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54292:103:1", + "src": "55835:103:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3033, + "id": 2525, "nodeType": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "expression": { "arguments": [ { - "id": 3035, + "id": 2527, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3015, - "src": "54419:4:1", + "referencedDeclaration": 2507, + "src": "55963:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3036, + "id": 2528, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3017, - "src": "54425:2:1", + "referencedDeclaration": 2509, + "src": "55969:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3037, + "id": 2529, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3019, - "src": "54429:7:1", + "referencedDeclaration": 2511, + "src": "55973:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3038, + "id": 2530, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3021, - "src": "54438:5:1", + "referencedDeclaration": 2513, + "src": "55982:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31007,18 +31007,18 @@ "typeString": "bytes memory" } ], - "id": 3034, + "id": 2526, "name": "_safeTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3071, - "src": "54405:13:1", + "referencedDeclaration": 2563, + "src": "55949:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,address,uint256,bytes memory)" } }, - "id": 3039, + "id": 2531, "isConstant": false, "isLValue": false, "isPure": false, @@ -31026,50 +31026,50 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "54405:39:1", + "src": "55949:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3040, + "id": 2532, "nodeType": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ] }, "documentation": { - "id": 3013, + "id": 2505, "nodeType": "StructuredDocumentation", - "src": "54109:55:1", + "src": "55648:57:0", "text": " @dev See {IERC721-safeTransferFrom}." }, "functionSelector": "b88d4fde", - "id": 3042, + "id": 2534, "implemented": true, "kind": "function", "modifiers": [], "name": "safeTransferFrom", "nodeType": "FunctionDefinition", "overrides": { - "id": 3023, + "id": 2515, "nodeType": "OverrideSpecifier", "overrides": [], - "src": "54273:8:1" + "src": "55815:8:0" }, "parameters": { - "id": 3022, + "id": 2514, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3015, + "id": 2507, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54195:12:1", + "scope": 2534, + "src": "55737:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31077,10 +31077,10 @@ "typeString": "address" }, "typeName": { - "id": 3014, + "id": 2506, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54195:7:1", + "src": "55737:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31091,12 +31091,12 @@ }, { "constant": false, - "id": 3017, + "id": 2509, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54209:10:1", + "scope": 2534, + "src": "55751:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31104,10 +31104,10 @@ "typeString": "address" }, "typeName": { - "id": 3016, + "id": 2508, "name": "address", "nodeType": "ElementaryTypeName", - "src": "54209:7:1", + "src": "55751:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31118,12 +31118,12 @@ }, { "constant": false, - "id": 3019, + "id": 2511, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54221:15:1", + "scope": 2534, + "src": "55763:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31131,10 +31131,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3018, + "id": 2510, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "54221:7:1", + "src": "55763:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31144,12 +31144,12 @@ }, { "constant": false, - "id": 3021, + "id": 2513, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3042, - "src": "54238:18:1", + "scope": 2534, + "src": "55780:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31157,10 +31157,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3020, + "id": 2512, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "54238:5:1", + "src": "55780:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31169,60 +31169,60 @@ "visibility": "internal" } ], - "src": "54194:63:1" + "src": "55736:63:0" }, "returnParameters": { - "id": 3024, + "id": 2516, "nodeType": "ParameterList", "parameters": [], - "src": "54282:0:1" + "src": "55824:0:0" }, - "scope": 3498, - "src": "54169:282:1", + "scope": 2990, + "src": "55711:285:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "public" }, { "body": { - "id": 3070, + "id": 2562, "nodeType": "Block", - "src": "55416:166:1", + "src": "56981:169:0", "statements": [ { "expression": { "arguments": [ { - "id": 3055, + "id": 2547, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55436:4:1", + "referencedDeclaration": 2537, + "src": "57002:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3056, + "id": 2548, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55442:2:1", + "referencedDeclaration": 2539, + "src": "57008:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3057, + "id": 2549, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55446:7:1", + "referencedDeclaration": 2541, + "src": "57012:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31244,18 +31244,18 @@ "typeString": "uint256" } ], - "id": 3054, + "id": 2546, "name": "_transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3371, - "src": "55426:9:1", + "referencedDeclaration": 2863, + "src": "56992:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3058, + "id": 2550, "isConstant": false, "isLValue": false, "isPure": false, @@ -31263,16 +31263,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55426:28:1", + "src": "56992:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3059, + "id": 2551, "nodeType": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "expression": { @@ -31280,48 +31280,48 @@ { "arguments": [ { - "id": 3062, + "id": 2554, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3045, - "src": "55495:4:1", + "referencedDeclaration": 2537, + "src": "57062:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3063, + "id": 2555, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3047, - "src": "55501:2:1", + "referencedDeclaration": 2539, + "src": "57068:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3064, + "id": 2556, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3049, - "src": "55505:7:1", + "referencedDeclaration": 2541, + "src": "57072:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3065, + "id": 2557, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3051, - "src": "55514:5:1", + "referencedDeclaration": 2543, + "src": "57081:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -31347,18 +31347,18 @@ "typeString": "bytes memory" } ], - "id": 3061, + "id": 2553, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "55472:22:1", + "referencedDeclaration": 2954, + "src": "57039:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3066, + "id": 2558, "isConstant": false, "isLValue": false, "isPure": false, @@ -31366,7 +31366,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55472:48:1", + "src": "57039:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31375,14 +31375,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3067, + "id": 2559, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "55522:52:1", + "src": "57089:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -31401,7 +31401,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3060, + "id": 2552, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31409,13 +31409,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "55464:7:1", + "src": "57031:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3068, + "id": 2560, "isConstant": false, "isLValue": false, "isPure": false, @@ -31423,43 +31423,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55464:111:1", + "src": "57031:111:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3069, + "id": 2561, "nodeType": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ] }, "documentation": { - "id": 3043, + "id": 2535, "nodeType": "StructuredDocumentation", - "src": "54457:851:1", + "src": "56004:868:0", "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3071, + "id": 2563, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3052, + "id": 2544, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3045, + "id": 2537, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55336:12:1", + "scope": 2563, + "src": "56901:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31467,10 +31467,10 @@ "typeString": "address" }, "typeName": { - "id": 3044, + "id": 2536, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55336:7:1", + "src": "56901:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31481,12 +31481,12 @@ }, { "constant": false, - "id": 3047, + "id": 2539, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55350:10:1", + "scope": 2563, + "src": "56915:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31494,10 +31494,10 @@ "typeString": "address" }, "typeName": { - "id": 3046, + "id": 2538, "name": "address", "nodeType": "ElementaryTypeName", - "src": "55350:7:1", + "src": "56915:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31508,12 +31508,12 @@ }, { "constant": false, - "id": 3049, + "id": 2541, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55362:15:1", + "scope": 2563, + "src": "56927:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31521,10 +31521,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3048, + "id": 2540, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55362:7:1", + "src": "56927:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31534,12 +31534,12 @@ }, { "constant": false, - "id": 3051, + "id": 2543, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3071, - "src": "55379:18:1", + "scope": 2563, + "src": "56944:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -31547,10 +31547,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3050, + "id": 2542, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "55379:5:1", + "src": "56944:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -31559,36 +31559,36 @@ "visibility": "internal" } ], - "src": "55335:63:1" + "src": "56900:63:0" }, "returnParameters": { - "id": 3053, + "id": 2545, "nodeType": "ParameterList", "parameters": [], - "src": "55416:0:1" + "src": "56981:0:0" }, - "scope": 3498, - "src": "55313:269:1", + "scope": 2990, + "src": "56878:272:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3084, + "id": 2576, "nodeType": "Block", - "src": "55956:54:1", + "src": "57534:56:0", "statements": [ { "expression": { "arguments": [ { - "id": 3081, + "id": 2573, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3074, - "src": "55995:7:1", + "referencedDeclaration": 2566, + "src": "57574:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31603,32 +31603,32 @@ } ], "expression": { - "id": 3079, + "id": 2571, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "55973:12:1", + "referencedDeclaration": 2094, + "src": "57552:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3080, + "id": 2572, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "contains", "nodeType": "MemberAccess", - "referencedDeclaration": 2326, - "src": "55973:21:1", + "referencedDeclaration": 1818, + "src": "57552:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_view$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" } }, - "id": 3082, + "id": 2574, "isConstant": false, "isLValue": false, "isPure": false, @@ -31636,44 +31636,44 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "55973:30:1", + "src": "57552:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3078, - "id": 3083, + "functionReturnParameters": 2570, + "id": 2575, "nodeType": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ] }, "documentation": { - "id": 3072, + "id": 2564, "nodeType": "StructuredDocumentation", - "src": "55588:292:1", + "src": "57158:299:0", "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3085, + "id": 2577, "implemented": true, "kind": "function", "modifiers": [], "name": "_exists", "nodeType": "FunctionDefinition", "parameters": { - "id": 3075, + "id": 2567, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3074, + "id": 2566, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55902:15:1", + "scope": 2577, + "src": "57480:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31681,10 +31681,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3073, + "id": 2565, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "55902:7:1", + "src": "57480:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31693,20 +31693,20 @@ "visibility": "internal" } ], - "src": "55901:17:1" + "src": "57479:17:0" }, "returnParameters": { - "id": 3078, + "id": 2570, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3077, + "id": 2569, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3085, - "src": "55950:4:1", + "scope": 2577, + "src": "57528:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31714,10 +31714,10 @@ "typeString": "bool" }, "typeName": { - "id": 3076, + "id": 2568, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "55950:4:1", + "src": "57528:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -31726,19 +31726,19 @@ "visibility": "internal" } ], - "src": "55949:6:1" + "src": "57527:6:0" }, - "scope": 3498, - "src": "55885:125:1", + "scope": 2990, + "src": "57463:127:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3126, + "id": 2618, "nodeType": "Block", - "src": "56267:252:1", + "src": "57856:256:0", "statements": [ { "expression": { @@ -31746,12 +31746,12 @@ { "arguments": [ { - "id": 3097, + "id": 2589, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56293:7:1", + "referencedDeclaration": 2582, + "src": "57883:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31765,18 +31765,18 @@ "typeString": "uint256" } ], - "id": 3096, + "id": 2588, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "56285:7:1", + "referencedDeclaration": 2577, + "src": "57875:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3098, + "id": 2590, "isConstant": false, "isLValue": false, "isPure": false, @@ -31784,7 +31784,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56285:16:1", + "src": "57875:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -31793,14 +31793,14 @@ }, { "hexValue": "4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e", - "id": 3099, + "id": 2591, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56303:46:1", + "src": "57893:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_5797d1ccb08b83980dd0c07ea40d8f6a64d35fff736a19bdd17522954cb0899c", "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" @@ -31819,7 +31819,7 @@ "typeString": "literal_string \"ERC721: operator query for nonexistent token\"" } ], - "id": 3095, + "id": 2587, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -31827,13 +31827,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "56277:7:1", + "src": "57867:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3100, + "id": 2592, "isConstant": false, "isLValue": false, "isPure": false, @@ -31841,30 +31841,30 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56277:73:1", + "src": "57867:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3101, + "id": 2593, "nodeType": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "assignments": [ - 3103 + 2595 ], "declarations": [ { "constant": false, - "id": 3103, + "id": 2595, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3126, - "src": "56360:13:1", + "scope": 2618, + "src": "57951:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -31872,10 +31872,10 @@ "typeString": "address" }, "typeName": { - "id": 3102, + "id": 2594, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56360:7:1", + "src": "57951:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -31885,16 +31885,16 @@ "visibility": "internal" } ], - "id": 3108, + "id": 2600, "initialValue": { "arguments": [ { - "id": 3106, + "id": 2598, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56391:7:1", + "referencedDeclaration": 2582, + "src": "57982:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -31909,32 +31909,32 @@ } ], "expression": { - "id": 3104, + "id": 2596, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56376:6:1", + "referencedDeclaration": 2990, + "src": "57967:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3105, + "id": 2597, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "56376:14:1", + "referencedDeclaration": 2194, + "src": "57967:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3107, + "id": 2599, "isConstant": false, "isLValue": false, "isPure": false, @@ -31942,7 +31942,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56376:23:1", + "src": "57967:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -31950,7 +31950,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "expression": { @@ -31960,7 +31960,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3123, + "id": 2615, "isConstant": false, "isLValue": false, "isPure": false, @@ -31970,7 +31970,7 @@ "typeIdentifier": "t_bool", "typeString": "bool" }, - "id": 3117, + "id": 2609, "isConstant": false, "isLValue": false, "isPure": false, @@ -31980,18 +31980,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3111, + "id": 2603, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3109, + "id": 2601, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56417:7:1", + "referencedDeclaration": 2580, + "src": "58009:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32000,18 +32000,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3110, + "id": 2602, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56428:5:1", + "referencedDeclaration": 2595, + "src": "58020:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56417:16:1", + "src": "58009:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32024,7 +32024,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3116, + "id": 2608, "isConstant": false, "isLValue": false, "isPure": false, @@ -32032,12 +32032,12 @@ "leftExpression": { "arguments": [ { - "id": 3113, + "id": 2605, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3090, - "src": "56449:7:1", + "referencedDeclaration": 2582, + "src": "58041:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32051,18 +32051,18 @@ "typeString": "uint256" } ], - "id": 3112, + "id": 2604, "name": "getApproved", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2914, - "src": "56437:11:1", + "referencedDeclaration": 2406, + "src": "58029:11:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3114, + "id": 2606, "isConstant": false, "isLValue": false, "isPure": false, @@ -32070,7 +32070,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56437:20:1", + "src": "58029:20:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -32080,24 +32080,24 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3115, + "id": 2607, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56461:7:1", + "referencedDeclaration": 2580, + "src": "58053:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "56437:31:1", + "src": "58029:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:51:1", + "src": "58009:51:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32108,24 +32108,24 @@ "rightExpression": { "arguments": [ { - "id": 3120, + "id": 2612, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3103, - "src": "56496:5:1", + "referencedDeclaration": 2595, + "src": "58088:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3121, + "id": 2613, "name": "spender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3088, - "src": "56503:7:1", + "referencedDeclaration": 2580, + "src": "58095:7:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32144,32 +32144,32 @@ } ], "expression": { - "id": 3118, + "id": 2610, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "56472:6:1", + "referencedDeclaration": 2990, + "src": "58064:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3119, + "id": 2611, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isApprovedForAll", "nodeType": "MemberAccess", - "referencedDeclaration": 2966, - "src": "56472:23:1", + "referencedDeclaration": 2458, + "src": "58064:23:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$_t_address_$returns$_t_bool_$", "typeString": "function (address,address) view returns (bool)" } }, - "id": 3122, + "id": 2614, "isConstant": false, "isLValue": false, "isPure": false, @@ -32177,64 +32177,64 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56472:39:1", + "src": "58064:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "src": "56417:94:1", + "src": "58009:94:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3124, + "id": 2616, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "56416:96:1", + "src": "58008:96:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3094, - "id": 3125, + "functionReturnParameters": 2586, + "id": 2617, "nodeType": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ] }, "documentation": { - "id": 3086, + "id": 2578, "nodeType": "StructuredDocumentation", - "src": "56016:147:1", + "src": "57598:153:0", "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3127, + "id": 2619, "implemented": true, "kind": "function", "modifiers": [], "name": "_isApprovedOrOwner", "nodeType": "FunctionDefinition", "parameters": { - "id": 3091, + "id": 2583, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3088, + "id": 2580, "mutability": "mutable", "name": "spender", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56196:15:1", + "scope": 2619, + "src": "57785:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32242,10 +32242,10 @@ "typeString": "address" }, "typeName": { - "id": 3087, + "id": 2579, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56196:7:1", + "src": "57785:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32256,12 +32256,12 @@ }, { "constant": false, - "id": 3090, + "id": 2582, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56213:15:1", + "scope": 2619, + "src": "57802:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32269,10 +32269,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3089, + "id": 2581, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56213:7:1", + "src": "57802:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32281,20 +32281,20 @@ "visibility": "internal" } ], - "src": "56195:34:1" + "src": "57784:34:0" }, "returnParameters": { - "id": 3094, + "id": 2586, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3093, + "id": 2585, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3127, - "src": "56261:4:1", + "scope": 2619, + "src": "57850:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32302,10 +32302,10 @@ "typeString": "bool" }, "typeName": { - "id": 3092, + "id": 2584, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "56261:4:1", + "src": "57850:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -32314,42 +32314,42 @@ "visibility": "internal" } ], - "src": "56260:6:1" + "src": "57849:6:0" }, - "scope": 3498, - "src": "56168:351:1", + "scope": 2990, + "src": "57757:355:0", "stateMutability": "view", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3141, + "id": 2633, "nodeType": "Block", - "src": "56915:43:1", + "src": "58520:45:0", "statements": [ { "expression": { "arguments": [ { - "id": 3136, + "id": 2628, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3130, - "src": "56935:2:1", + "referencedDeclaration": 2622, + "src": "58541:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3137, + "id": 2629, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3132, - "src": "56939:7:1", + "referencedDeclaration": 2624, + "src": "58545:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32357,14 +32357,14 @@ }, { "hexValue": "", - "id": 3138, + "id": 2630, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "56948:2:1", + "src": "58554:2:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470", "typeString": "literal_string \"\"" @@ -32387,21 +32387,21 @@ "typeString": "literal_string \"\"" } ], - "id": 3135, + "id": 2627, "name": "_safeMint", "nodeType": "Identifier", "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, - "src": "56925:9:1", + "referencedDeclaration": 2663, + "src": "58531:9:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$__$", "typeString": "function (address,uint256,bytes memory)" } }, - "id": 3139, + "id": 2631, "isConstant": false, "isLValue": false, "isPure": false, @@ -32409,43 +32409,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "56925:26:1", + "src": "58531:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3140, + "id": 2632, "nodeType": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ] }, "documentation": { - "id": 3128, + "id": 2620, "nodeType": "StructuredDocumentation", - "src": "56525:320:1", + "src": "58120:329:0", "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3142, + "id": 2634, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3133, + "id": 2625, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3130, + "id": 2622, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56869:10:1", + "scope": 2634, + "src": "58474:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32453,10 +32453,10 @@ "typeString": "address" }, "typeName": { - "id": 3129, + "id": 2621, "name": "address", "nodeType": "ElementaryTypeName", - "src": "56869:7:1", + "src": "58474:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32467,12 +32467,12 @@ }, { "constant": false, - "id": 3132, + "id": 2624, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3142, - "src": "56881:15:1", + "scope": 2634, + "src": "58486:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32480,10 +32480,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3131, + "id": 2623, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "56881:7:1", + "src": "58486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32492,48 +32492,48 @@ "visibility": "internal" } ], - "src": "56868:29:1" + "src": "58473:29:0" }, "returnParameters": { - "id": 3134, + "id": 2626, "nodeType": "ParameterList", "parameters": [], - "src": "56915:0:1" + "src": "58520:0:0" }, - "scope": 3498, - "src": "56850:108:1", + "scope": 2990, + "src": "58455:110:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3170, + "id": 2662, "nodeType": "Block", - "src": "57264:162:1", + "src": "58877:165:0", "statements": [ { "expression": { "arguments": [ { - "id": 3153, + "id": 2645, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57280:2:1", + "referencedDeclaration": 2637, + "src": "58894:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3154, + "id": 2646, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57284:7:1", + "referencedDeclaration": 2639, + "src": "58898:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32551,18 +32551,18 @@ "typeString": "uint256" } ], - "id": 3152, + "id": 2644, "name": "_mint", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3230, - "src": "57274:5:1", + "referencedDeclaration": 2722, + "src": "58888:5:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3155, + "id": 2647, "isConstant": false, "isLValue": false, "isPure": false, @@ -32570,16 +32570,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57274:18:1", + "src": "58888:18:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3156, + "id": 2648, "nodeType": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "expression": { @@ -32590,14 +32590,14 @@ "arguments": [ { "hexValue": "30", - "id": 3161, + "id": 2653, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57341:1:1", + "src": "58956:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -32612,26 +32612,26 @@ "typeString": "int_const 0" } ], - "id": 3160, + "id": 2652, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3159, + "id": 2651, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57333:7:1", + "src": "58948:7:0", "typeDescriptions": {} } }, - "id": 3162, + "id": 2654, "isConstant": false, "isLValue": false, "isPure": true, @@ -32639,7 +32639,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57333:10:1", + "src": "58948:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -32647,36 +32647,36 @@ } }, { - "id": 3163, + "id": 2655, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3145, - "src": "57345:2:1", + "referencedDeclaration": 2637, + "src": "58960:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3164, + "id": 2656, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3147, - "src": "57349:7:1", + "referencedDeclaration": 2639, + "src": "58964:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3165, + "id": 2657, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3149, - "src": "57358:5:1", + "referencedDeclaration": 2641, + "src": "58973:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -32702,18 +32702,18 @@ "typeString": "bytes memory" } ], - "id": 3158, + "id": 2650, "name": "_checkOnERC721Received", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3462, - "src": "57310:22:1", + "referencedDeclaration": 2954, + "src": "58925:22:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bool_$", "typeString": "function (address,address,uint256,bytes memory) returns (bool)" } }, - "id": 3166, + "id": 2658, "isConstant": false, "isLValue": false, "isPure": false, @@ -32721,7 +32721,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57310:54:1", + "src": "58925:54:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -32730,14 +32730,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3167, + "id": 2659, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57366:52:1", + "src": "58981:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -32756,7 +32756,7 @@ "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" } ], - "id": 3157, + "id": 2649, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -32764,13 +32764,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57302:7:1", + "src": "58917:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3168, + "id": 2660, "isConstant": false, "isLValue": false, "isPure": false, @@ -32778,43 +32778,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57302:117:1", + "src": "58917:117:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3169, + "id": 2661, "nodeType": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ] }, "documentation": { - "id": 3143, + "id": 2635, "nodeType": "StructuredDocumentation", - "src": "56964:210:1", + "src": "58573:213:0", "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3171, + "id": 2663, "implemented": true, "kind": "function", "modifiers": [], "name": "_safeMint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3150, + "id": 2642, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3145, + "id": 2637, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57198:10:1", + "scope": 2663, + "src": "58811:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32822,10 +32822,10 @@ "typeString": "address" }, "typeName": { - "id": 3144, + "id": 2636, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57198:7:1", + "src": "58811:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -32836,12 +32836,12 @@ }, { "constant": false, - "id": 3147, + "id": 2639, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57210:15:1", + "scope": 2663, + "src": "58823:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -32849,10 +32849,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3146, + "id": 2638, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57210:7:1", + "src": "58823:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -32862,12 +32862,12 @@ }, { "constant": false, - "id": 3149, + "id": 2641, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3171, - "src": "57227:18:1", + "scope": 2663, + "src": "58840:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -32875,10 +32875,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3148, + "id": 2640, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "57227:5:1", + "src": "58840:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -32887,25 +32887,25 @@ "visibility": "internal" } ], - "src": "57197:49:1" + "src": "58810:49:0" }, "returnParameters": { - "id": 3151, + "id": 2643, "nodeType": "ParameterList", "parameters": [], - "src": "57264:0:1" + "src": "58877:0:0" }, - "scope": 3498, - "src": "57179:247:1", + "scope": 2990, + "src": "58792:250:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3229, + "id": 2721, "nodeType": "Block", - "src": "57809:332:1", + "src": "59439:343:0", "statements": [ { "expression": { @@ -32915,18 +32915,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3185, + "id": 2677, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3180, + "id": 2672, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57827:2:1", + "referencedDeclaration": 2666, + "src": "59458:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -32938,14 +32938,14 @@ "arguments": [ { "hexValue": "30", - "id": 3183, + "id": 2675, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57841:1:1", + "src": "59472:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -32960,26 +32960,26 @@ "typeString": "int_const 0" } ], - "id": 3182, + "id": 2674, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3181, + "id": 2673, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57833:7:1", + "src": "59464:7:0", "typeDescriptions": {} } }, - "id": 3184, + "id": 2676, "isConstant": false, "isLValue": false, "isPure": true, @@ -32987,14 +32987,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57833:10:1", + "src": "59464:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "57827:16:1", + "src": "59458:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -33002,14 +33002,14 @@ }, { "hexValue": "4552433732313a206d696e7420746f20746865207a65726f2061646472657373", - "id": 3186, + "id": 2678, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57845:34:1", + "src": "59476:34:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_8a66f4bb6512ffbfcc3db9b42318eb65f26ac15163eaa9a1e5cfa7bee9d1c7c6", "typeString": "literal_string \"ERC721: mint to the zero address\"" @@ -33028,7 +33028,7 @@ "typeString": "literal_string \"ERC721: mint to the zero address\"" } ], - "id": 3179, + "id": 2671, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33036,13 +33036,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57819:7:1", + "src": "59450:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3187, + "id": 2679, "isConstant": false, "isLValue": false, "isPure": false, @@ -33050,22 +33050,22 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57819:61:1", + "src": "59450:61:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3188, + "id": 2680, "nodeType": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "expression": { "arguments": [ { - "id": 3193, + "id": 2685, "isConstant": false, "isLValue": false, "isPure": false, @@ -33073,16 +33073,16 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "57898:17:1", + "src": "59530:17:0", "subExpression": { "arguments": [ { - "id": 3191, + "id": 2683, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57907:7:1", + "referencedDeclaration": 2668, + "src": "59539:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33096,18 +33096,18 @@ "typeString": "uint256" } ], - "id": 3190, + "id": 2682, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "57899:7:1", + "referencedDeclaration": 2577, + "src": "59531:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3192, + "id": 2684, "isConstant": false, "isLValue": false, "isPure": false, @@ -33115,7 +33115,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57899:16:1", + "src": "59531:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -33129,14 +33129,14 @@ }, { "hexValue": "4552433732313a20746f6b656e20616c7265616479206d696e746564", - "id": 3194, + "id": 2686, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "57917:30:1", + "src": "59549:30:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_2a63ce106ef95058ed21fd07c42a10f11dc5c32ac13a4e847923f7759f635d57", "typeString": "literal_string \"ERC721: token already minted\"" @@ -33155,7 +33155,7 @@ "typeString": "literal_string \"ERC721: token already minted\"" } ], - "id": 3189, + "id": 2681, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -33163,13 +33163,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "57890:7:1", + "src": "59522:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3195, + "id": 2687, "isConstant": false, "isLValue": false, "isPure": false, @@ -33177,16 +33177,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57890:58:1", + "src": "59522:58:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3196, + "id": 2688, "nodeType": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "expression": { @@ -33195,14 +33195,14 @@ "arguments": [ { "hexValue": "30", - "id": 3200, + "id": 2692, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "57988:1:1", + "src": "59622:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33217,26 +33217,26 @@ "typeString": "int_const 0" } ], - "id": 3199, + "id": 2691, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3198, + "id": 2690, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57980:7:1", + "src": "59614:7:0", "typeDescriptions": {} } }, - "id": 3201, + "id": 2693, "isConstant": false, "isLValue": false, "isPure": true, @@ -33244,7 +33244,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57980:10:1", + "src": "59614:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33252,24 +33252,24 @@ } }, { - "id": 3202, + "id": 2694, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "57992:2:1", + "referencedDeclaration": 2666, + "src": "59626:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3203, + "id": 2695, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "57996:7:1", + "referencedDeclaration": 2668, + "src": "59630:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33291,18 +33291,18 @@ "typeString": "uint256" } ], - "id": 3197, + "id": 2689, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "57959:20:1", + "referencedDeclaration": 2989, + "src": "59593:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3204, + "id": 2696, "isConstant": false, "isLValue": false, "isPure": false, @@ -33310,27 +33310,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "57959:45:1", + "src": "59593:45:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3205, + "id": 2697, "nodeType": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "expression": { "arguments": [ { - "id": 3210, + "id": 2702, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58037:7:1", + "referencedDeclaration": 2668, + "src": "59673:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33346,25 +33346,25 @@ ], "expression": { "baseExpression": { - "id": 3206, + "id": 2698, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58015:13:1", + "referencedDeclaration": 2092, + "src": "59651:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3208, + "id": 2700, "indexExpression": { - "id": 3207, + "id": 2699, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58029:2:1", + "referencedDeclaration": 2666, + "src": "59665:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33375,27 +33375,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58015:17:1", + "src": "59651:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3209, + "id": 2701, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "58015:21:1", + "referencedDeclaration": 1338, + "src": "59651:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3211, + "id": 2703, "isConstant": false, "isLValue": false, "isPure": false, @@ -33403,39 +33403,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58015:30:1", + "src": "59651:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3212, + "id": 2704, "nodeType": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "expression": { "arguments": [ { - "id": 3216, + "id": 2708, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58073:7:1", + "referencedDeclaration": 2668, + "src": "59711:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3217, + "id": 2709, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58082:2:1", + "referencedDeclaration": 2666, + "src": "59720:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33454,32 +33454,32 @@ } ], "expression": { - "id": 3213, + "id": 2705, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58056:12:1", + "referencedDeclaration": 2094, + "src": "59694:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3215, + "id": 2707, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "58056:16:1", + "referencedDeclaration": 1778, + "src": "59694:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3218, + "id": 2710, "isConstant": false, "isLValue": false, "isPure": false, @@ -33487,16 +33487,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58056:29:1", + "src": "59694:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3219, + "id": 2711, "nodeType": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "eventCall": { @@ -33505,14 +33505,14 @@ "arguments": [ { "hexValue": "30", - "id": 3223, + "id": 2715, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58118:1:1", + "src": "59758:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33527,26 +33527,26 @@ "typeString": "int_const 0" } ], - "id": 3222, + "id": 2714, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3221, + "id": 2713, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58110:7:1", + "src": "59750:7:0", "typeDescriptions": {} } }, - "id": 3224, + "id": 2716, "isConstant": false, "isLValue": false, "isPure": true, @@ -33554,7 +33554,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58110:10:1", + "src": "59750:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33562,24 +33562,24 @@ } }, { - "id": 3225, + "id": 2717, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3174, - "src": "58122:2:1", + "referencedDeclaration": 2666, + "src": "59762:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3226, + "id": 2718, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3176, - "src": "58126:7:1", + "referencedDeclaration": 2668, + "src": "59766:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33601,18 +33601,18 @@ "typeString": "uint256" } ], - "id": 3220, + "id": 2712, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58101:8:1", + "referencedDeclaration": 46, + "src": "59741:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3227, + "id": 2719, "isConstant": false, "isLValue": false, "isPure": false, @@ -33620,43 +33620,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58101:33:1", + "src": "59741:33:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3228, + "id": 2720, "nodeType": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ] }, "documentation": { - "id": 3172, + "id": 2664, "nodeType": "StructuredDocumentation", - "src": "57432:311:1", + "src": "59050:322:0", "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3230, + "id": 2722, "implemented": true, "kind": "function", "modifiers": [], "name": "_mint", "nodeType": "FunctionDefinition", "parameters": { - "id": 3177, + "id": 2669, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3174, + "id": 2666, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57763:10:1", + "scope": 2722, + "src": "59393:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33664,10 +33664,10 @@ "typeString": "address" }, "typeName": { - "id": 3173, + "id": 2665, "name": "address", "nodeType": "ElementaryTypeName", - "src": "57763:7:1", + "src": "59393:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33678,12 +33678,12 @@ }, { "constant": false, - "id": 3176, + "id": 2668, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3230, - "src": "57775:15:1", + "scope": 2722, + "src": "59405:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33691,10 +33691,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3175, + "id": 2667, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "57775:7:1", + "src": "59405:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33703,39 +33703,39 @@ "visibility": "internal" } ], - "src": "57762:29:1" + "src": "59392:29:0" }, "returnParameters": { - "id": 3178, + "id": 2670, "nodeType": "ParameterList", "parameters": [], - "src": "57809:0:1" + "src": "59439:0:0" }, - "scope": 3498, - "src": "57748:393:1", + "scope": 2990, + "src": "59378:404:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3298, + "id": 2790, "nodeType": "Block", - "src": "58407:478:1", + "src": "60060:496:0", "statements": [ { "assignments": [ - 3237 + 2729 ], "declarations": [ { "constant": false, - "id": 3237, + "id": 2729, "mutability": "mutable", "name": "owner", "nodeType": "VariableDeclaration", - "scope": 3298, - "src": "58417:13:1", + "scope": 2790, + "src": "60071:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -33743,10 +33743,10 @@ "typeString": "address" }, "typeName": { - "id": 3236, + "id": 2728, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58417:7:1", + "src": "60071:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -33756,16 +33756,16 @@ "visibility": "internal" } ], - "id": 3242, + "id": 2734, "initialValue": { "arguments": [ { - "id": 3240, + "id": 2732, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58448:7:1", + "referencedDeclaration": 2725, + "src": "60102:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33780,32 +33780,32 @@ } ], "expression": { - "id": 3238, + "id": 2730, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "58433:6:1", + "referencedDeclaration": 2990, + "src": "60087:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3239, + "id": 2731, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "58433:14:1", + "referencedDeclaration": 2194, + "src": "60087:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3241, + "id": 2733, "isConstant": false, "isLValue": false, "isPure": false, @@ -33813,7 +33813,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58433:23:1", + "src": "60087:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -33821,18 +33821,18 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "expression": { "arguments": [ { - "id": 3244, + "id": 2736, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58506:5:1", + "referencedDeclaration": 2729, + "src": "60162:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -33842,14 +33842,14 @@ "arguments": [ { "hexValue": "30", - "id": 3247, + "id": 2739, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58521:1:1", + "src": "60177:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33864,26 +33864,26 @@ "typeString": "int_const 0" } ], - "id": 3246, + "id": 2738, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3245, + "id": 2737, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58513:7:1", + "src": "60169:7:0", "typeDescriptions": {} } }, - "id": 3248, + "id": 2740, "isConstant": false, "isLValue": false, "isPure": true, @@ -33891,7 +33891,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58513:10:1", + "src": "60169:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -33899,12 +33899,12 @@ } }, { - "id": 3249, + "id": 2741, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58525:7:1", + "referencedDeclaration": 2725, + "src": "60181:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -33926,18 +33926,18 @@ "typeString": "uint256" } ], - "id": 3243, + "id": 2735, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "58485:20:1", + "referencedDeclaration": 2989, + "src": "60141:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3250, + "id": 2742, "isConstant": false, "isLValue": false, "isPure": false, @@ -33945,16 +33945,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58485:48:1", + "src": "60141:48:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3251, + "id": 2743, "nodeType": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "expression": { @@ -33963,14 +33963,14 @@ "arguments": [ { "hexValue": "30", - "id": 3255, + "id": 2747, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58588:1:1", + "src": "60247:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -33985,26 +33985,26 @@ "typeString": "int_const 0" } ], - "id": 3254, + "id": 2746, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3253, + "id": 2745, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58580:7:1", + "src": "60239:7:0", "typeDescriptions": {} } }, - "id": 3256, + "id": 2748, "isConstant": false, "isLValue": false, "isPure": true, @@ -34012,7 +34012,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58580:10:1", + "src": "60239:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34020,12 +34020,12 @@ } }, { - "id": 3257, + "id": 2749, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58592:7:1", + "referencedDeclaration": 2725, + "src": "60251:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34043,18 +34043,18 @@ "typeString": "uint256" } ], - "id": 3252, + "id": 2744, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "58571:8:1", + "referencedDeclaration": 2978, + "src": "60230:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3258, + "id": 2750, "isConstant": false, "isLValue": false, "isPure": false, @@ -34062,16 +34062,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58571:29:1", + "src": "60230:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3259, + "id": 2751, "nodeType": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "condition": { @@ -34079,7 +34079,7 @@ "typeIdentifier": "t_uint256", "typeString": "uint256" }, - "id": 3268, + "id": 2760, "isConstant": false, "isLValue": false, "isPure": false, @@ -34089,25 +34089,25 @@ "arguments": [ { "baseExpression": { - "id": 3262, + "id": 2754, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58656:10:1", + "referencedDeclaration": 2112, + "src": "60318:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3264, + "id": 2756, "indexExpression": { - "id": 3263, + "id": 2755, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58667:7:1", + "referencedDeclaration": 2725, + "src": "60329:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34118,7 +34118,7 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58656:19:1", + "src": "60318:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34132,26 +34132,26 @@ "typeString": "string storage ref" } ], - "id": 3261, + "id": 2753, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes_storage_ptr_$", "typeString": "type(bytes storage pointer)" }, "typeName": { - "id": 3260, + "id": 2752, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "58650:5:1", + "src": "60312:5:0", "typeDescriptions": {} } }, - "id": 3265, + "id": 2757, "isConstant": false, "isLValue": false, "isPure": false, @@ -34159,21 +34159,21 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58650:26:1", + "src": "60312:26:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes storage pointer" } }, - "id": 3266, + "id": 2758, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "length", "nodeType": "MemberAccess", - "src": "58650:33:1", + "src": "60312:33:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34183,37 +34183,37 @@ "operator": "!=", "rightExpression": { "hexValue": "30", - "id": 3267, + "id": 2759, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58687:1:1", + "src": "60349:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" }, "value": "0" }, - "src": "58650:38:1", + "src": "60312:38:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3275, + "id": 2767, "nodeType": "IfStatement", - "src": "58646:95:1", + "src": "60308:97:0", "trueBody": { - "id": 3274, + "id": 2766, "nodeType": "Block", - "src": "58690:51:1", + "src": "60352:53:0", "statements": [ { "expression": { - "id": 3272, + "id": 2764, "isConstant": false, "isLValue": false, "isPure": false, @@ -34221,28 +34221,28 @@ "nodeType": "UnaryOperation", "operator": "delete", "prefix": true, - "src": "58704:26:1", + "src": "60367:26:0", "subExpression": { "baseExpression": { - "id": 3269, + "id": 2761, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "58711:10:1", + "referencedDeclaration": 2112, + "src": "60374:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3271, + "id": 2763, "indexExpression": { - "id": 3270, + "id": 2762, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58722:7:1", + "referencedDeclaration": 2725, + "src": "60385:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34253,7 +34253,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "58711:19:1", + "src": "60374:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -34264,9 +34264,9 @@ "typeString": "tuple()" } }, - "id": 3273, + "id": 2765, "nodeType": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ] } @@ -34275,12 +34275,12 @@ "expression": { "arguments": [ { - "id": 3280, + "id": 2772, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58779:7:1", + "referencedDeclaration": 2725, + "src": "60445:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34296,25 +34296,25 @@ ], "expression": { "baseExpression": { - "id": 3276, + "id": 2768, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "58751:13:1", + "referencedDeclaration": 2092, + "src": "60417:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3278, + "id": 2770, "indexExpression": { - "id": 3277, + "id": 2769, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58765:5:1", + "referencedDeclaration": 2729, + "src": "60431:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34325,27 +34325,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "58751:20:1", + "src": "60417:20:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3279, + "id": 2771, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "58751:27:1", + "referencedDeclaration": 1358, + "src": "60417:27:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3281, + "id": 2773, "isConstant": false, "isLValue": false, "isPure": false, @@ -34353,27 +34353,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58751:36:1", + "src": "60417:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3282, + "id": 2774, "nodeType": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "expression": { "arguments": [ { - "id": 3286, + "id": 2778, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58818:7:1", + "referencedDeclaration": 2725, + "src": "60486:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34388,32 +34388,32 @@ } ], "expression": { - "id": 3283, + "id": 2775, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "58798:12:1", + "referencedDeclaration": 2094, + "src": "60466:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3285, + "id": 2777, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 2306, - "src": "58798:19:1", + "referencedDeclaration": 1798, + "src": "60466:19:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" } }, - "id": 3287, + "id": 2779, "isConstant": false, "isLValue": false, "isPure": false, @@ -34421,27 +34421,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58798:28:1", + "src": "60466:28:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3288, + "id": 2780, "nodeType": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "eventCall": { "arguments": [ { - "id": 3290, + "id": 2782, "name": "owner", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3237, - "src": "58851:5:1", + "referencedDeclaration": 2729, + "src": "60521:5:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34451,14 +34451,14 @@ "arguments": [ { "hexValue": "30", - "id": 3293, + "id": 2785, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "58866:1:1", + "src": "60536:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34473,26 +34473,26 @@ "typeString": "int_const 0" } ], - "id": 3292, + "id": 2784, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3291, + "id": 2783, "name": "address", "nodeType": "ElementaryTypeName", - "src": "58858:7:1", + "src": "60528:7:0", "typeDescriptions": {} } }, - "id": 3294, + "id": 2786, "isConstant": false, "isLValue": false, "isPure": true, @@ -34500,7 +34500,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58858:10:1", + "src": "60528:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -34508,12 +34508,12 @@ } }, { - "id": 3295, + "id": 2787, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3233, - "src": "58870:7:1", + "referencedDeclaration": 2725, + "src": "60540:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34535,18 +34535,18 @@ "typeString": "uint256" } ], - "id": 3289, + "id": 2781, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "58842:8:1", + "referencedDeclaration": 46, + "src": "60512:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3296, + "id": 2788, "isConstant": false, "isLValue": false, "isPure": false, @@ -34554,43 +34554,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "58842:36:1", + "src": "60512:36:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3297, + "id": 2789, "nodeType": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ] }, "documentation": { - "id": 3231, + "id": 2723, "nodeType": "StructuredDocumentation", - "src": "58147:206:1", + "src": "59790:215:0", "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3299, + "id": 2791, "implemented": true, "kind": "function", "modifiers": [], "name": "_burn", "nodeType": "FunctionDefinition", "parameters": { - "id": 3234, + "id": 2726, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3233, + "id": 2725, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3299, - "src": "58373:15:1", + "scope": 2791, + "src": "60026:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -34598,10 +34598,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3232, + "id": 2724, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "58373:7:1", + "src": "60026:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34610,25 +34610,25 @@ "visibility": "internal" } ], - "src": "58372:17:1" + "src": "60025:17:0" }, "returnParameters": { - "id": 3235, + "id": 2727, "nodeType": "ParameterList", "parameters": [], - "src": "58407:0:1" + "src": "60060:0:0" }, - "scope": 3498, - "src": "58358:527:1", + "scope": 2990, + "src": "60011:545:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3370, + "id": 2862, "nodeType": "Block", - "src": "59288:505:1", + "src": "60972:520:0", "statements": [ { "expression": { @@ -34638,7 +34638,7 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3315, + "id": 2807, "isConstant": false, "isLValue": false, "isPure": false, @@ -34646,12 +34646,12 @@ "leftExpression": { "arguments": [ { - "id": 3312, + "id": 2804, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59321:7:1", + "referencedDeclaration": 2798, + "src": "61006:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34666,32 +34666,32 @@ } ], "expression": { - "id": 3310, + "id": 2802, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "59306:6:1", + "referencedDeclaration": 2990, + "src": "60991:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3311, + "id": 2803, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "59306:14:1", + "referencedDeclaration": 2194, + "src": "60991:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3313, + "id": 2805, "isConstant": false, "isLValue": false, "isPure": false, @@ -34699,7 +34699,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59306:23:1", + "src": "60991:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -34709,18 +34709,18 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3314, + "id": 2806, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59333:4:1", + "referencedDeclaration": 2794, + "src": "61018:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "59306:31:1", + "src": "60991:31:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34728,14 +34728,14 @@ }, { "hexValue": "4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e", - "id": 3316, + "id": 2808, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59339:43:1", + "src": "61024:43:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_a01073130a885d6c1c1af6ac75fc3b1c4f9403c235362962bbf528e2bd87d950", "typeString": "literal_string \"ERC721: transfer of token that is not own\"" @@ -34754,7 +34754,7 @@ "typeString": "literal_string \"ERC721: transfer of token that is not own\"" } ], - "id": 3309, + "id": 2801, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -34762,13 +34762,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59298:7:1", + "src": "60983:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3317, + "id": 2809, "isConstant": false, "isLValue": false, "isPure": false, @@ -34776,16 +34776,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59298:85:1", + "src": "60983:85:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3318, + "id": 2810, "nodeType": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "expression": { @@ -34795,18 +34795,18 @@ "typeIdentifier": "t_address", "typeString": "address" }, - "id": 3325, + "id": 2817, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3320, + "id": 2812, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59419:2:1", + "referencedDeclaration": 2796, + "src": "61105:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -34818,14 +34818,14 @@ "arguments": [ { "hexValue": "30", - "id": 3323, + "id": 2815, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59433:1:1", + "src": "61119:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -34840,26 +34840,26 @@ "typeString": "int_const 0" } ], - "id": 3322, + "id": 2814, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3321, + "id": 2813, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59425:7:1", + "src": "61111:7:0", "typeDescriptions": {} } }, - "id": 3324, + "id": 2816, "isConstant": false, "isLValue": false, "isPure": true, @@ -34867,14 +34867,14 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59425:10:1", + "src": "61111:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", "typeString": "address payable" } }, - "src": "59419:16:1", + "src": "61105:16:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -34882,14 +34882,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f20746865207a65726f2061646472657373", - "id": 3326, + "id": 2818, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "59437:38:1", + "src": "61123:38:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_455fea98ea03c32d7dd1a6f1426917d80529bf47b3ccbde74e7206e889e709f4", "typeString": "literal_string \"ERC721: transfer to the zero address\"" @@ -34908,7 +34908,7 @@ "typeString": "literal_string \"ERC721: transfer to the zero address\"" } ], - "id": 3319, + "id": 2811, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -34916,13 +34916,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "59411:7:1", + "src": "61097:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3327, + "id": 2819, "isConstant": false, "isLValue": false, "isPure": false, @@ -34930,51 +34930,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59411:65:1", + "src": "61097:65:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3328, + "id": 2820, "nodeType": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "expression": { "arguments": [ { - "id": 3330, + "id": 2822, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59508:4:1", + "referencedDeclaration": 2794, + "src": "61196:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3331, + "id": 2823, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59514:2:1", + "referencedDeclaration": 2796, + "src": "61202:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3332, + "id": 2824, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59518:7:1", + "referencedDeclaration": 2798, + "src": "61206:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -34996,18 +34996,18 @@ "typeString": "uint256" } ], - "id": 3329, + "id": 2821, "name": "_beforeTokenTransfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3497, - "src": "59487:20:1", + "referencedDeclaration": 2989, + "src": "61175:20:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3333, + "id": 2825, "isConstant": false, "isLValue": false, "isPure": false, @@ -35015,16 +35015,16 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59487:39:1", + "src": "61175:39:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3334, + "id": 2826, "nodeType": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "expression": { @@ -35033,14 +35033,14 @@ "arguments": [ { "hexValue": "30", - "id": 3338, + "id": 2830, "isConstant": false, "isLValue": false, "isPure": true, "kind": "number", "lValueRequested": false, "nodeType": "Literal", - "src": "59605:1:1", + "src": "61296:1:0", "typeDescriptions": { "typeIdentifier": "t_rational_0_by_1", "typeString": "int_const 0" @@ -35055,26 +35055,26 @@ "typeString": "int_const 0" } ], - "id": 3337, + "id": 2829, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_address_$", "typeString": "type(address)" }, "typeName": { - "id": 3336, + "id": 2828, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59597:7:1", + "src": "61288:7:0", "typeDescriptions": {} } }, - "id": 3339, + "id": 2831, "isConstant": false, "isLValue": false, "isPure": true, @@ -35082,7 +35082,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59597:10:1", + "src": "61288:10:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -35090,12 +35090,12 @@ } }, { - "id": 3340, + "id": 2832, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59609:7:1", + "referencedDeclaration": 2798, + "src": "61300:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35113,18 +35113,18 @@ "typeString": "uint256" } ], - "id": 3335, + "id": 2827, "name": "_approve", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3486, - "src": "59588:8:1", + "referencedDeclaration": 2978, + "src": "61279:8:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,uint256)" } }, - "id": 3341, + "id": 2833, "isConstant": false, "isLValue": false, "isPure": false, @@ -35132,27 +35132,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59588:29:1", + "src": "61279:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3342, + "id": 2834, "nodeType": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "expression": { "arguments": [ { - "id": 3347, + "id": 2839, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59655:7:1", + "referencedDeclaration": 2798, + "src": "61348:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35168,25 +35168,25 @@ ], "expression": { "baseExpression": { - "id": 3343, + "id": 2835, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59628:13:1", + "referencedDeclaration": 2092, + "src": "61321:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3345, + "id": 2837, "indexExpression": { - "id": 3344, + "id": 2836, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59642:4:1", + "referencedDeclaration": 2794, + "src": "61335:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35197,27 +35197,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59628:19:1", + "src": "61321:19:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3346, + "id": 2838, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "remove", "nodeType": "MemberAccess", - "referencedDeclaration": 1866, - "src": "59628:26:1", + "referencedDeclaration": 1358, + "src": "61321:26:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3348, + "id": 2840, "isConstant": false, "isLValue": false, "isPure": false, @@ -35225,27 +35225,27 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59628:35:1", + "src": "61321:35:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3349, + "id": 2841, "nodeType": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "expression": { "arguments": [ { - "id": 3354, + "id": 2846, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59695:7:1", + "referencedDeclaration": 2798, + "src": "61389:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35261,25 +35261,25 @@ ], "expression": { "baseExpression": { - "id": 3350, + "id": 2842, "name": "_holderTokens", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2600, - "src": "59673:13:1", + "referencedDeclaration": 2092, + "src": "61367:13:0", "typeDescriptions": { - "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1826_storage_$", + "typeIdentifier": "t_mapping$_t_address_$_t_struct$_UintSet_$1318_storage_$", "typeString": "mapping(address => struct EnumerableSet.UintSet storage ref)" } }, - "id": 3352, + "id": 2844, "indexExpression": { - "id": 3351, + "id": 2843, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59687:2:1", + "referencedDeclaration": 2796, + "src": "61381:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35290,27 +35290,27 @@ "isPure": false, "lValueRequested": false, "nodeType": "IndexAccess", - "src": "59673:17:1", + "src": "61367:17:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintSet_$1826_storage", + "typeIdentifier": "t_struct$_UintSet_$1318_storage", "typeString": "struct EnumerableSet.UintSet storage ref" } }, - "id": 3353, + "id": 2845, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "add", "nodeType": "MemberAccess", - "referencedDeclaration": 1846, - "src": "59673:21:1", + "referencedDeclaration": 1338, + "src": "61367:21:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1826_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1826_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintSet_$1318_storage_ptr_$_t_uint256_$returns$_t_bool_$bound_to$_t_struct$_UintSet_$1318_storage_ptr_$", "typeString": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" } }, - "id": 3355, + "id": 2847, "isConstant": false, "isLValue": false, "isPure": false, @@ -35318,39 +35318,39 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59673:30:1", + "src": "61367:30:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3356, + "id": 2848, "nodeType": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "expression": { "arguments": [ { - "id": 3360, + "id": 2852, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59731:7:1", + "referencedDeclaration": 2798, + "src": "61427:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3361, + "id": 2853, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59740:2:1", + "referencedDeclaration": 2796, + "src": "61436:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -35369,32 +35369,32 @@ } ], "expression": { - "id": 3357, + "id": 2849, "name": "_tokenOwners", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2602, - "src": "59714:12:1", + "referencedDeclaration": 2094, + "src": "61410:12:0", "typeDescriptions": { - "typeIdentifier": "t_struct$_UintToAddressMap_$2254_storage", + "typeIdentifier": "t_struct$_UintToAddressMap_$1746_storage", "typeString": "struct EnumerableMap.UintToAddressMap storage ref" } }, - "id": 3359, + "id": 2851, "isConstant": false, "isLValue": true, "isPure": false, "lValueRequested": false, "memberName": "set", "nodeType": "MemberAccess", - "referencedDeclaration": 2286, - "src": "59714:16:1", + "referencedDeclaration": 1778, + "src": "61410:16:0", "typeDescriptions": { - "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$2254_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$2254_storage_ptr_$", + "typeIdentifier": "t_function_internal_nonpayable$_t_struct$_UintToAddressMap_$1746_storage_ptr_$_t_uint256_$_t_address_$returns$_t_bool_$bound_to$_t_struct$_UintToAddressMap_$1746_storage_ptr_$", "typeString": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" } }, - "id": 3362, + "id": 2854, "isConstant": false, "isLValue": false, "isPure": false, @@ -35402,51 +35402,51 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59714:29:1", + "src": "61410:29:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "id": 3363, + "id": 2855, "nodeType": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "eventCall": { "arguments": [ { - "id": 3365, + "id": 2857, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3302, - "src": "59768:4:1", + "referencedDeclaration": 2794, + "src": "61466:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3366, + "id": 2858, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3304, - "src": "59774:2:1", + "referencedDeclaration": 2796, + "src": "61472:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3367, + "id": 2859, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3306, - "src": "59778:7:1", + "referencedDeclaration": 2798, + "src": "61476:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35468,18 +35468,18 @@ "typeString": "uint256" } ], - "id": 3364, + "id": 2856, "name": "Transfer", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 554, - "src": "59759:8:1", + "referencedDeclaration": 46, + "src": "61457:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3368, + "id": 2860, "isConstant": false, "isLValue": false, "isPure": false, @@ -35487,43 +35487,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "59759:27:1", + "src": "61457:27:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3369, + "id": 2861, "nodeType": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ] }, "documentation": { - "id": 3300, + "id": 2792, "nodeType": "StructuredDocumentation", - "src": "58891:313:1", + "src": "60564:323:0", "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3371, + "id": 2863, "implemented": true, "kind": "function", "modifiers": [], "name": "_transfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3307, + "id": 2799, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3302, + "id": 2794, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59228:12:1", + "scope": 2863, + "src": "60912:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35531,10 +35531,10 @@ "typeString": "address" }, "typeName": { - "id": 3301, + "id": 2793, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59228:7:1", + "src": "60912:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35545,12 +35545,12 @@ }, { "constant": false, - "id": 3304, + "id": 2796, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59242:10:1", + "scope": 2863, + "src": "60926:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35558,10 +35558,10 @@ "typeString": "address" }, "typeName": { - "id": 3303, + "id": 2795, "name": "address", "nodeType": "ElementaryTypeName", - "src": "59242:7:1", + "src": "60926:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -35572,12 +35572,12 @@ }, { "constant": false, - "id": 3306, + "id": 2798, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3371, - "src": "59254:15:1", + "scope": 2863, + "src": "60938:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35585,10 +35585,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3305, + "id": 2797, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59254:7:1", + "src": "60938:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35597,25 +35597,25 @@ "visibility": "internal" } ], - "src": "59227:43:1" + "src": "60911:43:0" }, "returnParameters": { - "id": 3308, + "id": 2800, "nodeType": "ParameterList", "parameters": [], - "src": "59288:0:1" + "src": "60972:0:0" }, - "scope": 3498, - "src": "59209:584:1", + "scope": 2990, + "src": "60893:599:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3392, + "id": 2884, "nodeType": "Block", - "src": "60021:131:1", + "src": "61729:134:0", "statements": [ { "expression": { @@ -35623,12 +35623,12 @@ { "arguments": [ { - "id": 3381, + "id": 2873, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60047:7:1", + "referencedDeclaration": 2866, + "src": "61756:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35642,18 +35642,18 @@ "typeString": "uint256" } ], - "id": 3380, + "id": 2872, "name": "_exists", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3085, - "src": "60039:7:1", + "referencedDeclaration": 2577, + "src": "61748:7:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_bool_$", "typeString": "function (uint256) view returns (bool)" } }, - "id": 3382, + "id": 2874, "isConstant": false, "isLValue": false, "isPure": false, @@ -35661,7 +35661,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60039:16:1", + "src": "61748:16:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -35670,14 +35670,14 @@ }, { "hexValue": "4552433732314d657461646174613a2055524920736574206f66206e6f6e6578697374656e7420746f6b656e", - "id": 3383, + "id": 2875, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "60057:46:1", + "src": "61766:46:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_94be4a260caaeac1b145f03ffa2e70bc612b64982d04f24073aaf3a5f9009978", "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" @@ -35696,7 +35696,7 @@ "typeString": "literal_string \"ERC721Metadata: URI set of nonexistent token\"" } ], - "id": 3379, + "id": 2871, "name": "require", "nodeType": "Identifier", "overloadedDeclarations": [ @@ -35704,13 +35704,13 @@ 4294967278 ], "referencedDeclaration": 4294967278, - "src": "60031:7:1", + "src": "61740:7:0", "typeDescriptions": { "typeIdentifier": "t_function_require_pure$_t_bool_$_t_string_memory_ptr_$returns$__$", "typeString": "function (bool,string memory) pure" } }, - "id": 3384, + "id": 2876, "isConstant": false, "isLValue": false, "isPure": false, @@ -35718,45 +35718,45 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "60031:73:1", + "src": "61740:73:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3385, + "id": 2877, "nodeType": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "expression": { - "id": 3390, + "id": 2882, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3386, + "id": 2878, "name": "_tokenURIs", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2620, - "src": "60114:10:1", + "referencedDeclaration": 2112, + "src": "61824:10:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_string_storage_$", "typeString": "mapping(uint256 => string storage ref)" } }, - "id": 3388, + "id": 2880, "indexExpression": { - "id": 3387, + "id": 2879, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3374, - "src": "60125:7:1", + "referencedDeclaration": 2866, + "src": "61835:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35767,7 +35767,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "60114:19:1", + "src": "61824:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -35776,53 +35776,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3389, + "id": 2881, "name": "_tokenURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3376, - "src": "60136:9:1", + "referencedDeclaration": 2868, + "src": "61846:9:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60114:31:1", + "src": "61824:31:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3391, + "id": 2883, "nodeType": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ] }, "documentation": { - "id": 3372, + "id": 2864, "nodeType": "StructuredDocumentation", - "src": "59799:136:1", + "src": "61500:142:0", "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3393, + "id": 2885, "implemented": true, "kind": "function", "modifiers": [], "name": "_setTokenURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3377, + "id": 2869, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3374, + "id": 2866, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59962:15:1", + "scope": 2885, + "src": "61670:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -35830,10 +35830,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3373, + "id": 2865, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "59962:7:1", + "src": "61670:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -35843,12 +35843,12 @@ }, { "constant": false, - "id": 3376, + "id": 2868, "mutability": "mutable", "name": "_tokenURI", "nodeType": "VariableDeclaration", - "scope": 3393, - "src": "59979:23:1", + "scope": 2885, + "src": "61687:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -35856,10 +35856,10 @@ "typeString": "string" }, "typeName": { - "id": 3375, + "id": 2867, "name": "string", "nodeType": "ElementaryTypeName", - "src": "59979:6:1", + "src": "61687:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -35868,40 +35868,40 @@ "visibility": "internal" } ], - "src": "59961:42:1" + "src": "61669:42:0" }, "returnParameters": { - "id": 3378, + "id": 2870, "nodeType": "ParameterList", "parameters": [], - "src": "60021:0:1" + "src": "61729:0:0" }, - "scope": 3498, - "src": "59940:212:1", + "scope": 2990, + "src": "61648:215:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3403, + "id": 2895, "nodeType": "Block", - "src": "60437:36:1", + "src": "62155:38:0", "statements": [ { "expression": { - "id": 3401, + "id": 2893, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { - "id": 3399, + "id": 2891, "name": "_baseURI", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2622, - "src": "60447:8:1", + "referencedDeclaration": 2114, + "src": "62166:8:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" @@ -35910,53 +35910,53 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3400, + "id": 2892, "name": "baseURI_", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3396, - "src": "60458:8:1", + "referencedDeclaration": 2888, + "src": "62177:8:0", "typeDescriptions": { "typeIdentifier": "t_string_memory_ptr", "typeString": "string memory" } }, - "src": "60447:19:1", + "src": "62166:19:0", "typeDescriptions": { "typeIdentifier": "t_string_storage", "typeString": "string storage ref" } }, - "id": 3402, + "id": 2894, "nodeType": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ] }, "documentation": { - "id": 3394, + "id": 2886, "nodeType": "StructuredDocumentation", - "src": "60158:212:1", + "src": "61871:216:0", "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3404, + "id": 2896, "implemented": true, "kind": "function", "modifiers": [], "name": "_setBaseURI", "nodeType": "FunctionDefinition", "parameters": { - "id": 3397, + "id": 2889, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3396, + "id": 2888, "mutability": "mutable", "name": "baseURI_", "nodeType": "VariableDeclaration", - "scope": 3404, - "src": "60396:22:1", + "scope": 2896, + "src": "62114:22:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -35964,10 +35964,10 @@ "typeString": "string" }, "typeName": { - "id": 3395, + "id": 2887, "name": "string", "nodeType": "ElementaryTypeName", - "src": "60396:6:1", + "src": "62114:6:0", "typeDescriptions": { "typeIdentifier": "t_string_storage_ptr", "typeString": "string" @@ -35976,29 +35976,29 @@ "visibility": "internal" } ], - "src": "60395:24:1" + "src": "62113:24:0" }, "returnParameters": { - "id": 3398, + "id": 2890, "nodeType": "ParameterList", "parameters": [], - "src": "60437:0:1" + "src": "62155:0:0" }, - "scope": 3498, - "src": "60375:98:1", + "scope": 2990, + "src": "62093:100:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3461, + "id": 2953, "nodeType": "Block", - "src": "61156:459:1", + "src": "62890:472:0", "statements": [ { "condition": { - "id": 3421, + "id": 2913, "isConstant": false, "isLValue": false, "isPure": false, @@ -36006,38 +36006,38 @@ "nodeType": "UnaryOperation", "operator": "!", "prefix": true, - "src": "61170:16:1", + "src": "62905:16:0", "subExpression": { "arguments": [], "expression": { "argumentTypes": [], "expression": { - "id": 3418, + "id": 2910, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61171:2:1", + "referencedDeclaration": 2901, + "src": "62906:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3419, + "id": 2911, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "isContract", "nodeType": "MemberAccess", - "referencedDeclaration": 1154, - "src": "61171:13:1", + "referencedDeclaration": 646, + "src": "62906:13:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_address_$returns$_t_bool_$bound_to$_t_address_$", "typeString": "function (address) view returns (bool)" } }, - "id": 3420, + "id": 2912, "isConstant": false, "isLValue": false, "isPure": false, @@ -36045,7 +36045,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61171:15:1", + "src": "62906:15:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bool", @@ -36057,52 +36057,52 @@ "typeString": "bool" } }, - "id": 3425, + "id": 2917, "nodeType": "IfStatement", - "src": "61166:58:1", + "src": "62901:60:0", "trueBody": { - "id": 3424, + "id": 2916, "nodeType": "Block", - "src": "61188:36:1", + "src": "62923:38:0", "statements": [ { "expression": { "hexValue": "74727565", - "id": 3422, + "id": 2914, "isConstant": false, "isLValue": false, "isPure": true, "kind": "bool", "lValueRequested": false, "nodeType": "Literal", - "src": "61209:4:1", + "src": "62945:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" }, "value": "true" }, - "functionReturnParameters": 3417, - "id": 3423, + "functionReturnParameters": 2909, + "id": 2915, "nodeType": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ] } }, { "assignments": [ - 3427 + 2919 ], "declarations": [ { "constant": false, - "id": 3427, + "id": 2919, "mutability": "mutable", "name": "returndata", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61233:23:1", + "scope": 2953, + "src": "62971:23:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36110,10 +36110,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3426, + "id": 2918, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61233:5:1", + "src": "62971:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36122,7 +36122,7 @@ "visibility": "internal" } ], - "id": 3445, + "id": 2937, "initialValue": { "arguments": [ { @@ -36132,12 +36132,12 @@ "expression": { "arguments": [ { - "id": 3433, + "id": 2925, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61327:2:1", + "referencedDeclaration": 2901, + "src": "63066:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36151,18 +36151,18 @@ "typeString": "address" } ], - "id": 3432, + "id": 2924, "name": "IERC721Receiver", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 726, - "src": "61311:15:1", + "referencedDeclaration": 218, + "src": "63050:15:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$726_$", + "typeIdentifier": "t_type$_t_contract$_IERC721Receiver_$218_$", "typeString": "type(contract IERC721Receiver)" } }, - "id": 3434, + "id": 2926, "isConstant": false, "isLValue": false, "isPure": false, @@ -36170,35 +36170,35 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61311:19:1", + "src": "63050:19:0", "tryCall": false, "typeDescriptions": { - "typeIdentifier": "t_contract$_IERC721Receiver_$726", + "typeIdentifier": "t_contract$_IERC721Receiver_$218", "typeString": "contract IERC721Receiver" } }, - "id": 3435, + "id": 2927, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "onERC721Received", "nodeType": "MemberAccess", - "referencedDeclaration": 725, - "src": "61311:36:1", + "referencedDeclaration": 217, + "src": "63050:36:0", "typeDescriptions": { "typeIdentifier": "t_function_external_nonpayable$_t_address_$_t_address_$_t_uint256_$_t_bytes_memory_ptr_$returns$_t_bytes4_$", "typeString": "function (address,address,uint256,bytes memory) external returns (bytes4)" } }, - "id": 3436, + "id": 2928, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "selector", "nodeType": "MemberAccess", - "src": "61311:45:1", + "src": "63050:45:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36208,18 +36208,18 @@ "arguments": [], "expression": { "argumentTypes": [], - "id": 3437, + "id": 2929, "name": "_msgSender", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 518, - "src": "61370:10:1", + "referencedDeclaration": 10, + "src": "63110:10:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$__$returns$_t_address_payable_$", "typeString": "function () view returns (address payable)" } }, - "id": 3438, + "id": 2930, "isConstant": false, "isLValue": false, "isPure": false, @@ -36227,7 +36227,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61370:12:1", + "src": "63110:12:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address_payable", @@ -36235,36 +36235,36 @@ } }, { - "id": 3439, + "id": 2931, "name": "from", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3407, - "src": "61396:4:1", + "referencedDeclaration": 2899, + "src": "63137:4:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3440, + "id": 2932, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3411, - "src": "61414:7:1", + "referencedDeclaration": 2903, + "src": "63156:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" } }, { - "id": 3441, + "id": 2933, "name": "_data", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3413, - "src": "61435:5:1", + "referencedDeclaration": 2905, + "src": "63178:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36295,31 +36295,31 @@ } ], "expression": { - "id": 3430, + "id": 2922, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61275:3:1", + "src": "63013:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3431, + "id": 2923, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "encodeWithSelector", "nodeType": "MemberAccess", - "src": "61275:22:1", + "src": "63013:22:0", "typeDescriptions": { "typeIdentifier": "t_function_abiencodewithselector_pure$_t_bytes4_$returns$_t_bytes_memory_ptr_$", "typeString": "function (bytes4) pure returns (bytes memory)" } }, - "id": 3442, + "id": 2934, "isConstant": false, "isLValue": false, "isPure": false, @@ -36327,7 +36327,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61275:175:1", + "src": "63013:181:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36336,14 +36336,14 @@ }, { "hexValue": "4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e746572", - "id": 3443, + "id": 2935, "isConstant": false, "isLValue": false, "isPure": true, "kind": "string", "lValueRequested": false, "nodeType": "Literal", - "src": "61452:52:1", + "src": "63196:52:0", "typeDescriptions": { "typeIdentifier": "t_stringliteral_1e766a06da43a53d0f4c380e06e5a342e14d5af1bf8501996c844905530ca84e", "typeString": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"" @@ -36363,32 +36363,32 @@ } ], "expression": { - "id": 3428, + "id": 2920, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3409, - "src": "61259:2:1", + "referencedDeclaration": 2901, + "src": "62997:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3429, + "id": 2921, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "functionCall", "nodeType": "MemberAccess", - "referencedDeclaration": 1225, - "src": "61259:15:1", + "referencedDeclaration": 717, + "src": "62997:15:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_nonpayable$_t_address_$_t_bytes_memory_ptr_$_t_string_memory_ptr_$returns$_t_bytes_memory_ptr_$bound_to$_t_address_$", "typeString": "function (address,bytes memory,string memory) returns (bytes memory)" } }, - "id": 3444, + "id": 2936, "isConstant": false, "isLValue": false, "isPure": false, @@ -36396,7 +36396,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61259:246:1", + "src": "62997:252:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", @@ -36404,21 +36404,21 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "assignments": [ - 3447 + 2939 ], "declarations": [ { "constant": false, - "id": 3447, + "id": 2939, "mutability": "mutable", "name": "retval", "nodeType": "VariableDeclaration", - "scope": 3461, - "src": "61515:13:1", + "scope": 2953, + "src": "63260:13:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36426,10 +36426,10 @@ "typeString": "bytes4" }, "typeName": { - "id": 3446, + "id": 2938, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61515:6:1", + "src": "63260:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36438,16 +36438,16 @@ "visibility": "internal" } ], - "id": 3455, + "id": 2947, "initialValue": { "arguments": [ { - "id": 3450, + "id": 2942, "name": "returndata", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3427, - "src": "61542:10:1", + "referencedDeclaration": 2919, + "src": "63287:10:0", "typeDescriptions": { "typeIdentifier": "t_bytes_memory_ptr", "typeString": "bytes memory" @@ -36456,34 +36456,34 @@ { "components": [ { - "id": 3452, + "id": 2944, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "ElementaryTypeNameExpression", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" }, "typeName": { - "id": 3451, + "id": 2943, "name": "bytes4", "nodeType": "ElementaryTypeName", - "src": "61555:6:1", + "src": "63300:6:0", "typeDescriptions": {} } } ], - "id": 3453, + "id": 2945, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": true, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61554:8:1", + "src": "63299:8:0", "typeDescriptions": { "typeIdentifier": "t_type$_t_bytes4_$", "typeString": "type(bytes4)" @@ -36502,31 +36502,31 @@ } ], "expression": { - "id": 3448, + "id": 2940, "name": "abi", "nodeType": "Identifier", "overloadedDeclarations": [], "referencedDeclaration": 4294967295, - "src": "61531:3:1", + "src": "63276:3:0", "typeDescriptions": { "typeIdentifier": "t_magic_abi", "typeString": "abi" } }, - "id": 3449, + "id": 2941, "isConstant": false, "isLValue": false, "isPure": true, "lValueRequested": false, "memberName": "decode", "nodeType": "MemberAccess", - "src": "61531:10:1", + "src": "63276:10:0", "typeDescriptions": { "typeIdentifier": "t_function_abidecode_pure$__$returns$__$", "typeString": "function () pure" } }, - "id": 3454, + "id": 2946, "isConstant": false, "isLValue": false, "isPure": false, @@ -36534,7 +36534,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61531:32:1", + "src": "63276:32:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_bytes4", @@ -36542,7 +36542,7 @@ } }, "nodeType": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "expression": { @@ -36552,18 +36552,18 @@ "typeIdentifier": "t_bytes4", "typeString": "bytes4" }, - "id": 3458, + "id": 2950, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftExpression": { - "id": 3456, + "id": 2948, "name": "retval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3447, - "src": "61581:6:1", + "referencedDeclaration": 2939, + "src": "63327:6:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" @@ -36572,68 +36572,68 @@ "nodeType": "BinaryOperation", "operator": "==", "rightExpression": { - "id": 3457, + "id": 2949, "name": "_ERC721_RECEIVED", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2596, - "src": "61591:16:1", + "referencedDeclaration": 2088, + "src": "63337:16:0", "typeDescriptions": { "typeIdentifier": "t_bytes4", "typeString": "bytes4" } }, - "src": "61581:26:1", + "src": "63327:26:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } } ], - "id": 3459, + "id": 2951, "isConstant": false, "isInlineArray": false, "isLValue": false, "isPure": false, "lValueRequested": false, "nodeType": "TupleExpression", - "src": "61580:28:1", + "src": "63326:28:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" } }, - "functionReturnParameters": 3417, - "id": 3460, + "functionReturnParameters": 2909, + "id": 2952, "nodeType": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ] }, "documentation": { - "id": 3405, + "id": 2897, "nodeType": "StructuredDocumentation", - "src": "60479:542:1", + "src": "62201:551:0", "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3462, + "id": 2954, "implemented": true, "kind": "function", "modifiers": [], "name": "_checkOnERC721Received", "nodeType": "FunctionDefinition", "parameters": { - "id": 3414, + "id": 2906, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3407, + "id": 2899, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61058:12:1", + "scope": 2954, + "src": "62790:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36641,10 +36641,10 @@ "typeString": "address" }, "typeName": { - "id": 3406, + "id": 2898, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61058:7:1", + "src": "62790:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36655,12 +36655,12 @@ }, { "constant": false, - "id": 3409, + "id": 2901, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61072:10:1", + "scope": 2954, + "src": "62804:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36668,10 +36668,10 @@ "typeString": "address" }, "typeName": { - "id": 3408, + "id": 2900, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61072:7:1", + "src": "62804:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -36682,12 +36682,12 @@ }, { "constant": false, - "id": 3411, + "id": 2903, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61084:15:1", + "scope": 2954, + "src": "62816:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36695,10 +36695,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3410, + "id": 2902, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61084:7:1", + "src": "62816:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36708,12 +36708,12 @@ }, { "constant": false, - "id": 3413, + "id": 2905, "mutability": "mutable", "name": "_data", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61101:18:1", + "scope": 2954, + "src": "62833:18:0", "stateVariable": false, "storageLocation": "memory", "typeDescriptions": { @@ -36721,10 +36721,10 @@ "typeString": "bytes" }, "typeName": { - "id": 3412, + "id": 2904, "name": "bytes", "nodeType": "ElementaryTypeName", - "src": "61101:5:1", + "src": "62833:5:0", "typeDescriptions": { "typeIdentifier": "t_bytes_storage_ptr", "typeString": "bytes" @@ -36733,20 +36733,20 @@ "visibility": "internal" } ], - "src": "61057:63:1" + "src": "62789:63:0" }, "returnParameters": { - "id": 3417, + "id": 2909, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3416, + "id": 2908, "mutability": "mutable", "name": "", "nodeType": "VariableDeclaration", - "scope": 3462, - "src": "61146:4:1", + "scope": 2954, + "src": "62879:4:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -36754,10 +36754,10 @@ "typeString": "bool" }, "typeName": { - "id": 3415, + "id": 2907, "name": "bool", "nodeType": "ElementaryTypeName", - "src": "61146:4:1", + "src": "62879:4:0", "typeDescriptions": { "typeIdentifier": "t_bool", "typeString": "bool" @@ -36766,48 +36766,48 @@ "visibility": "internal" } ], - "src": "61145:6:1" + "src": "62878:6:0" }, - "scope": 3498, - "src": "61026:589:1", + "scope": 2990, + "src": "62758:604:0", "stateMutability": "nonpayable", "virtual": false, "visibility": "private" }, { "body": { - "id": 3485, + "id": 2977, "nodeType": "Block", - "src": "61791:125:1", + "src": "63545:128:0", "statements": [ { "expression": { - "id": 3474, + "id": 2966, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "leftHandSide": { "baseExpression": { - "id": 3470, + "id": 2962, "name": "_tokenApprovals", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 2606, - "src": "61801:15:1", + "referencedDeclaration": 2098, + "src": "63556:15:0", "typeDescriptions": { "typeIdentifier": "t_mapping$_t_uint256_$_t_address_$", "typeString": "mapping(uint256 => address)" } }, - "id": 3472, + "id": 2964, "indexExpression": { - "id": 3471, + "id": 2963, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61817:7:1", + "referencedDeclaration": 2959, + "src": "63572:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36818,7 +36818,7 @@ "isPure": false, "lValueRequested": true, "nodeType": "IndexAccess", - "src": "61801:24:1", + "src": "63556:24:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" @@ -36827,26 +36827,26 @@ "nodeType": "Assignment", "operator": "=", "rightHandSide": { - "id": 3473, + "id": 2965, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61828:2:1", + "referencedDeclaration": 2957, + "src": "63583:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "src": "61801:29:1", + "src": "63556:29:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, - "id": 3475, + "id": 2967, "nodeType": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "eventCall": { @@ -36854,12 +36854,12 @@ { "arguments": [ { - "id": 3479, + "id": 2971, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61869:7:1", + "referencedDeclaration": 2959, + "src": "63625:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36874,32 +36874,32 @@ } ], "expression": { - "id": 3477, + "id": 2969, "name": "ERC721", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3498, - "src": "61854:6:1", + "referencedDeclaration": 2990, + "src": "63610:6:0", "typeDescriptions": { - "typeIdentifier": "t_type$_t_contract$_ERC721_$3498_$", + "typeIdentifier": "t_type$_t_contract$_ERC721_$2990_$", "typeString": "type(contract ERC721)" } }, - "id": 3478, + "id": 2970, "isConstant": false, "isLValue": false, "isPure": false, "lValueRequested": false, "memberName": "ownerOf", "nodeType": "MemberAccess", - "referencedDeclaration": 2702, - "src": "61854:14:1", + "referencedDeclaration": 2194, + "src": "63610:14:0", "typeDescriptions": { "typeIdentifier": "t_function_internal_view$_t_uint256_$returns$_t_address_$", "typeString": "function (uint256) view returns (address)" } }, - "id": 3480, + "id": 2972, "isConstant": false, "isLValue": false, "isPure": false, @@ -36907,7 +36907,7 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61854:23:1", + "src": "63610:23:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_address", @@ -36915,24 +36915,24 @@ } }, { - "id": 3481, + "id": 2973, "name": "to", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3465, - "src": "61879:2:1", + "referencedDeclaration": 2957, + "src": "63635:2:0", "typeDescriptions": { "typeIdentifier": "t_address", "typeString": "address" } }, { - "id": 3482, + "id": 2974, "name": "tokenId", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 3467, - "src": "61883:7:1", + "referencedDeclaration": 2959, + "src": "63639:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -36954,18 +36954,18 @@ "typeString": "uint256" } ], - "id": 3476, + "id": 2968, "name": "Approval", "nodeType": "Identifier", "overloadedDeclarations": [], - "referencedDeclaration": 563, - "src": "61845:8:1", + "referencedDeclaration": 55, + "src": "63601:8:0", "typeDescriptions": { "typeIdentifier": "t_function_event_nonpayable$_t_address_$_t_address_$_t_uint256_$returns$__$", "typeString": "function (address,address,uint256)" } }, - "id": 3483, + "id": 2975, "isConstant": false, "isLValue": false, "isPure": false, @@ -36973,43 +36973,43 @@ "lValueRequested": false, "names": [], "nodeType": "FunctionCall", - "src": "61845:46:1", + "src": "63601:46:0", "tryCall": false, "typeDescriptions": { "typeIdentifier": "t_tuple$__$", "typeString": "tuple()" } }, - "id": 3484, + "id": 2976, "nodeType": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ] }, "documentation": { - "id": 3463, + "id": 2955, "nodeType": "StructuredDocumentation", - "src": "61621:101:1", + "src": "63370:105:0", "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3486, + "id": 2978, "implemented": true, "kind": "function", "modifiers": [], "name": "_approve", "nodeType": "FunctionDefinition", "parameters": { - "id": 3468, + "id": 2960, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3465, + "id": 2957, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61745:10:1", + "scope": 2978, + "src": "63499:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37017,10 +37017,10 @@ "typeString": "address" }, "typeName": { - "id": 3464, + "id": 2956, "name": "address", "nodeType": "ElementaryTypeName", - "src": "61745:7:1", + "src": "63499:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37031,12 +37031,12 @@ }, { "constant": false, - "id": 3467, + "id": 2959, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3486, - "src": "61757:15:1", + "scope": 2978, + "src": "63511:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37044,10 +37044,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3466, + "id": 2958, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "61757:7:1", + "src": "63511:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37056,51 +37056,51 @@ "visibility": "internal" } ], - "src": "61744:29:1" + "src": "63498:29:0" }, "returnParameters": { - "id": 3469, + "id": 2961, "nodeType": "ParameterList", "parameters": [], - "src": "61791:0:1" + "src": "63545:0:0" }, - "scope": 3498, - "src": "61727:189:1", + "scope": 2990, + "src": "63481:192:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" }, { "body": { - "id": 3496, + "id": 2988, "nodeType": "Block", - "src": "62602:3:1", + "src": "64376:3:0", "statements": [] }, "documentation": { - "id": 3487, + "id": 2979, "nodeType": "StructuredDocumentation", - "src": "61922:585:1", + "src": "63681:599:0", "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3497, + "id": 2989, "implemented": true, "kind": "function", "modifiers": [], "name": "_beforeTokenTransfer", "nodeType": "FunctionDefinition", "parameters": { - "id": 3494, + "id": 2986, "nodeType": "ParameterList", "parameters": [ { "constant": false, - "id": 3489, + "id": 2981, "mutability": "mutable", "name": "from", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62542:12:1", + "scope": 2989, + "src": "64316:12:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37108,10 +37108,10 @@ "typeString": "address" }, "typeName": { - "id": 3488, + "id": 2980, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62542:7:1", + "src": "64316:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37122,12 +37122,12 @@ }, { "constant": false, - "id": 3491, + "id": 2983, "mutability": "mutable", "name": "to", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62556:10:1", + "scope": 2989, + "src": "64330:10:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37135,10 +37135,10 @@ "typeString": "address" }, "typeName": { - "id": 3490, + "id": 2982, "name": "address", "nodeType": "ElementaryTypeName", - "src": "62556:7:1", + "src": "64330:7:0", "stateMutability": "nonpayable", "typeDescriptions": { "typeIdentifier": "t_address", @@ -37149,12 +37149,12 @@ }, { "constant": false, - "id": 3493, + "id": 2985, "mutability": "mutable", "name": "tokenId", "nodeType": "VariableDeclaration", - "scope": 3497, - "src": "62568:15:1", + "scope": 2989, + "src": "64342:15:0", "stateVariable": false, "storageLocation": "default", "typeDescriptions": { @@ -37162,10 +37162,10 @@ "typeString": "uint256" }, "typeName": { - "id": 3492, + "id": 2984, "name": "uint256", "nodeType": "ElementaryTypeName", - "src": "62568:7:1", + "src": "64342:7:0", "typeDescriptions": { "typeIdentifier": "t_uint256", "typeString": "uint256" @@ -37174,69 +37174,69 @@ "visibility": "internal" } ], - "src": "62541:43:1" + "src": "64315:43:0" }, "returnParameters": { - "id": 3495, + "id": 2987, "nodeType": "ParameterList", "parameters": [], - "src": "62602:0:1" + "src": "64376:0:0" }, - "scope": 3498, - "src": "62512:93:1", + "scope": 2990, + "src": "64286:93:0", "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" } ], - "scope": 3499, - "src": "46080:16527:1" + "scope": 2991, + "src": "47398:16984:0" } ], - "src": "84:62524:1" + "src": "87:64297:0" }, "legacyAST": { "attributes": { - "absolutePath": "/home/pavansoratur/Github/cryptoboys-NFT-marketplace/src/contracts/ERC721.sol", + "absolutePath": "project:/src/contracts/ERC721.sol", "exportedSymbols": { "Address": [ - 1430 + 922 ], "Context": [ - 530 + 22 ], "ERC165": [ - 781 + 273 ], "ERC721": [ - 3498 + 2990 ], "EnumerableMap": [ - 2480 + 1972 ], "EnumerableSet": [ - 1921 + 1413 ], "IERC165": [ - 541 + 33 ], "IERC721": [ - 655 + 147 ], "IERC721Enumerable": [ - 709 + 201 ], "IERC721Metadata": [ - 680 + 172 ], "IERC721Receiver": [ - 726 + 218 ], "SafeMath": [ - 1135 + 627 ], "Strings": [ - 2566 + 2058 ] }, "license": "MIT" @@ -37254,9 +37254,9 @@ ".0" ] }, - "id": 509, + "id": 1, "name": "PragmaDirective", - "src": "84:31:1" + "src": "87:31:0" }, { "attributes": { @@ -37270,10 +37270,10 @@ "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 530 + 22 ], "name": "Context", - "scope": 3499 + "scope": 2991 }, "children": [ { @@ -37285,7 +37285,7 @@ null ], "name": "_msgSender", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37298,9 +37298,9 @@ ] }, "children": [], - "id": 510, + "id": 2, "name": "ParameterList", - "src": "668:2:1" + "src": "684:2:0" }, { "children": [ @@ -37309,7 +37309,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 518, + "scope": 10, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -37322,25 +37322,25 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 511, + "id": 3, "name": "ElementaryTypeName", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 512, + "id": 4, "name": "VariableDeclaration", - "src": "702:15:1" + "src": "718:15:0" } ], - "id": 513, + "id": 5, "name": "ParameterList", - "src": "701:17:1" + "src": "717:17:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 513 + "functionReturnParameters": 5 }, "children": [ { @@ -37362,29 +37362,29 @@ "type": "msg", "value": "msg" }, - "id": 514, + "id": 6, "name": "Identifier", - "src": "736:3:1" + "src": "753:3:0" } ], - "id": 515, + "id": 7, "name": "MemberAccess", - "src": "736:10:1" + "src": "753:10:0" } ], - "id": 516, + "id": 8, "name": "Return", - "src": "729:17:1" + "src": "746:17:0" } ], - "id": 517, + "id": 9, "name": "Block", - "src": "719:34:1" + "src": "735:36:0" } ], - "id": 518, + "id": 10, "name": "FunctionDefinition", - "src": "649:104:1" + "src": "665:106:0" }, { "attributes": { @@ -37395,7 +37395,7 @@ null ], "name": "_msgData", - "scope": 530, + "scope": 22, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -37408,9 +37408,9 @@ ] }, "children": [], - "id": 519, + "id": 11, "name": "ParameterList", - "src": "776:2:1" + "src": "796:2:0" }, { "children": [ @@ -37419,7 +37419,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 529, + "scope": 21, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -37431,19 +37431,19 @@ "name": "bytes", "type": "bytes" }, - "id": 520, + "id": 12, "name": "ElementaryTypeName", - "src": "810:5:1" + "src": "830:5:0" } ], - "id": 521, + "id": 13, "name": "VariableDeclaration", - "src": "810:12:1" + "src": "830:12:0" } ], - "id": 522, + "id": 14, "name": "ParameterList", - "src": "809:14:1" + "src": "829:14:0" }, { "children": [ @@ -37458,18 +37458,18 @@ "type": "contract Context", "value": "this" }, - "id": 523, + "id": 15, "name": "Identifier", - "src": "834:4:1" + "src": "855:4:0" } ], - "id": 524, + "id": 16, "name": "ExpressionStatement", - "src": "834:4:1" + "src": "855:4:0" }, { "attributes": { - "functionReturnParameters": 522 + "functionReturnParameters": 14 }, "children": [ { @@ -37491,34 +37491,34 @@ "type": "msg", "value": "msg" }, - "id": 525, + "id": 17, "name": "Identifier", - "src": "974:3:1" + "src": "996:3:0" } ], - "id": 526, + "id": 18, "name": "MemberAccess", - "src": "974:8:1" + "src": "996:8:0" } ], - "id": 527, + "id": 19, "name": "Return", - "src": "967:15:1" + "src": "989:15:0" } ], - "id": 528, + "id": 20, "name": "Block", - "src": "824:165:1" + "src": "844:168:0" } ], - "id": 529, + "id": 21, "name": "FunctionDefinition", - "src": "759:230:1" + "src": "779:233:0" } ], - "id": 530, + "id": 22, "name": "ContractDefinition", - "src": "617:374:1" + "src": "632:383:0" }, { "attributes": { @@ -37532,9 +37532,9 @@ ".0" ] }, - "id": 531, + "id": 23, "name": "PragmaDirective", - "src": "1053:31:1" + "src": "1081:31:0" }, { "attributes": { @@ -37548,19 +37548,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 541 + 33 ], "name": "IERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Interface of the ERC165 standard, as defined in the\n https://eips.ethereum.org/EIPS/eip-165[EIP].\n Implementers can declare support of contract interfaces, which can then be\n queried by others ({ERC165Checker}).\n For an implementation, see {ERC165}." }, - "id": 532, + "id": 24, "name": "StructuredDocumentation", - "src": "1086:279:1" + "src": "1116:287:0" }, { "attributes": { @@ -37572,7 +37572,7 @@ null ], "name": "supportsInterface", - "scope": 541, + "scope": 33, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -37582,9 +37582,9 @@ "attributes": { "text": " @dev Returns true if this contract implements the interface defined by\n `interfaceId`. See the corresponding\n https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n to learn more about how these ids are created.\n This function call must use less than 30 000 gas." }, - "id": 533, + "id": 25, "name": "StructuredDocumentation", - "src": "1390:340:1" + "src": "1430:347:0" }, { "children": [ @@ -37593,7 +37593,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -37605,19 +37605,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 534, + "id": 26, "name": "ElementaryTypeName", - "src": "1762:6:1" + "src": "1810:6:0" } ], - "id": 535, + "id": 27, "name": "VariableDeclaration", - "src": "1762:18:1" + "src": "1810:18:0" } ], - "id": 536, + "id": 28, "name": "ParameterList", - "src": "1761:20:1" + "src": "1809:20:0" }, { "children": [ @@ -37626,7 +37626,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 540, + "scope": 32, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -37638,29 +37638,29 @@ "name": "bool", "type": "bool" }, - "id": 537, + "id": 29, "name": "ElementaryTypeName", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 538, + "id": 30, "name": "VariableDeclaration", - "src": "1805:4:1" + "src": "1853:4:0" } ], - "id": 539, + "id": 31, "name": "ParameterList", - "src": "1804:6:1" + "src": "1852:6:0" } ], - "id": 540, + "id": 32, "name": "FunctionDefinition", - "src": "1735:76:1" + "src": "1783:76:0" } ], - "id": 541, + "id": 33, "name": "ContractDefinition", - "src": "1366:447:1" + "src": "1405:457:0" }, { "attributes": { @@ -37674,33 +37674,33 @@ ".0" ] }, - "id": 542, + "id": 34, "name": "PragmaDirective", - "src": "1873:31:1" + "src": "1925:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541 + 33 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 655, - 541 + 147, + 33 ], "name": "IERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Required interface of an ERC721 compliant contract." }, - "id": 543, + "id": 35, "name": "StructuredDocumentation", - "src": "1907:67:1" + "src": "1962:69:0" }, { "attributes": {}, @@ -37708,17 +37708,17 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 544, + "id": 36, "name": "UserDefinedTypeName", - "src": "1996:7:1" + "src": "2054:7:0" } ], - "id": 545, + "id": 37, "name": "InheritanceSpecifier", - "src": "1996:7:1" + "src": "2054:7:0" }, { "attributes": { @@ -37730,9 +37730,9 @@ "attributes": { "text": " @dev Emitted when `tokenId` token is transferred from `from` to `to`." }, - "id": 546, + "id": 38, "name": "StructuredDocumentation", - "src": "2010:88:1" + "src": "2069:90:0" }, { "children": [ @@ -37742,7 +37742,7 @@ "indexed": true, "mutability": "mutable", "name": "from", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37755,14 +37755,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 547, + "id": 39, "name": "ElementaryTypeName", - "src": "2118:7:1" + "src": "2180:7:0" } ], - "id": 548, + "id": 40, "name": "VariableDeclaration", - "src": "2118:20:1" + "src": "2180:20:0" }, { "attributes": { @@ -37770,7 +37770,7 @@ "indexed": true, "mutability": "mutable", "name": "to", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37783,14 +37783,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 549, + "id": 41, "name": "ElementaryTypeName", - "src": "2140:7:1" + "src": "2202:7:0" } ], - "id": 550, + "id": 42, "name": "VariableDeclaration", - "src": "2140:18:1" + "src": "2202:18:0" }, { "attributes": { @@ -37798,7 +37798,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 554, + "scope": 46, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -37810,24 +37810,24 @@ "name": "uint256", "type": "uint256" }, - "id": 551, + "id": 43, "name": "ElementaryTypeName", - "src": "2160:7:1" + "src": "2222:7:0" } ], - "id": 552, + "id": 44, "name": "VariableDeclaration", - "src": "2160:23:1" + "src": "2222:23:0" } ], - "id": 553, + "id": 45, "name": "ParameterList", - "src": "2117:67:1" + "src": "2179:67:0" } ], - "id": 554, + "id": 46, "name": "EventDefinition", - "src": "2103:82:1" + "src": "2165:82:0" }, { "attributes": { @@ -37839,9 +37839,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables `approved` to manage the `tokenId` token." }, - "id": 555, + "id": 47, "name": "StructuredDocumentation", - "src": "2191:94:1" + "src": "2255:96:0" }, { "children": [ @@ -37851,7 +37851,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37864,14 +37864,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 556, + "id": 48, "name": "ElementaryTypeName", - "src": "2305:7:1" + "src": "2372:7:0" } ], - "id": 557, + "id": 49, "name": "VariableDeclaration", - "src": "2305:21:1" + "src": "2372:21:0" }, { "attributes": { @@ -37879,7 +37879,7 @@ "indexed": true, "mutability": "mutable", "name": "approved", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37892,14 +37892,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 558, + "id": 50, "name": "ElementaryTypeName", - "src": "2328:7:1" + "src": "2395:7:0" } ], - "id": 559, + "id": 51, "name": "VariableDeclaration", - "src": "2328:24:1" + "src": "2395:24:0" }, { "attributes": { @@ -37907,7 +37907,7 @@ "indexed": true, "mutability": "mutable", "name": "tokenId", - "scope": 563, + "scope": 55, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -37919,24 +37919,24 @@ "name": "uint256", "type": "uint256" }, - "id": 560, + "id": 52, "name": "ElementaryTypeName", - "src": "2354:7:1" + "src": "2421:7:0" } ], - "id": 561, + "id": 53, "name": "VariableDeclaration", - "src": "2354:23:1" + "src": "2421:23:0" } ], - "id": 562, + "id": 54, "name": "ParameterList", - "src": "2304:74:1" + "src": "2371:74:0" } ], - "id": 563, + "id": 55, "name": "EventDefinition", - "src": "2290:89:1" + "src": "2357:89:0" }, { "attributes": { @@ -37948,9 +37948,9 @@ "attributes": { "text": " @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets." }, - "id": 564, + "id": 56, "name": "StructuredDocumentation", - "src": "2385:117:1" + "src": "2454:119:0" }, { "children": [ @@ -37960,7 +37960,7 @@ "indexed": true, "mutability": "mutable", "name": "owner", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -37973,14 +37973,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 565, + "id": 57, "name": "ElementaryTypeName", - "src": "2528:7:1" + "src": "2600:7:0" } ], - "id": 566, + "id": 58, "name": "VariableDeclaration", - "src": "2528:21:1" + "src": "2600:21:0" }, { "attributes": { @@ -37988,7 +37988,7 @@ "indexed": true, "mutability": "mutable", "name": "operator", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38001,14 +38001,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 567, + "id": 59, "name": "ElementaryTypeName", - "src": "2551:7:1" + "src": "2623:7:0" } ], - "id": 568, + "id": 60, "name": "VariableDeclaration", - "src": "2551:24:1" + "src": "2623:24:0" }, { "attributes": { @@ -38016,7 +38016,7 @@ "indexed": false, "mutability": "mutable", "name": "approved", - "scope": 572, + "scope": 64, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38028,24 +38028,24 @@ "name": "bool", "type": "bool" }, - "id": 569, + "id": 61, "name": "ElementaryTypeName", - "src": "2577:4:1" + "src": "2649:4:0" } ], - "id": 570, + "id": 62, "name": "VariableDeclaration", - "src": "2577:13:1" + "src": "2649:13:0" } ], - "id": 571, + "id": 63, "name": "ParameterList", - "src": "2527:64:1" + "src": "2599:64:0" } ], - "id": 572, + "id": 64, "name": "EventDefinition", - "src": "2507:85:1" + "src": "2579:85:0" }, { "attributes": { @@ -38057,7 +38057,7 @@ null ], "name": "balanceOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38067,9 +38067,9 @@ "attributes": { "text": " @dev Returns the number of tokens in ``owner``'s account." }, - "id": 573, + "id": 65, "name": "StructuredDocumentation", - "src": "2598:76:1" + "src": "2672:78:0" }, { "children": [ @@ -38078,7 +38078,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38091,19 +38091,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 574, + "id": 66, "name": "ElementaryTypeName", - "src": "2698:7:1" + "src": "2775:7:0" } ], - "id": 575, + "id": 67, "name": "VariableDeclaration", - "src": "2698:13:1" + "src": "2775:13:0" } ], - "id": 576, + "id": 68, "name": "ParameterList", - "src": "2697:15:1" + "src": "2774:15:0" }, { "children": [ @@ -38112,7 +38112,7 @@ "constant": false, "mutability": "mutable", "name": "balance", - "scope": 580, + "scope": 72, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38124,24 +38124,24 @@ "name": "uint256", "type": "uint256" }, - "id": 577, + "id": 69, "name": "ElementaryTypeName", - "src": "2736:7:1" + "src": "2813:7:0" } ], - "id": 578, + "id": 70, "name": "VariableDeclaration", - "src": "2736:15:1" + "src": "2813:15:0" } ], - "id": 579, + "id": 71, "name": "ParameterList", - "src": "2735:17:1" + "src": "2812:17:0" } ], - "id": 580, + "id": 72, "name": "FunctionDefinition", - "src": "2679:74:1" + "src": "2756:74:0" }, { "attributes": { @@ -38153,7 +38153,7 @@ null ], "name": "ownerOf", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38163,9 +38163,9 @@ "attributes": { "text": " @dev Returns the owner of the `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 581, + "id": 73, "name": "StructuredDocumentation", - "src": "2759:131:1" + "src": "2838:137:0" }, { "children": [ @@ -38174,7 +38174,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38186,19 +38186,19 @@ "name": "uint256", "type": "uint256" }, - "id": 582, + "id": 74, "name": "ElementaryTypeName", - "src": "2912:7:1" + "src": "2998:7:0" } ], - "id": 583, + "id": 75, "name": "VariableDeclaration", - "src": "2912:15:1" + "src": "2998:15:0" } ], - "id": 584, + "id": 76, "name": "ParameterList", - "src": "2911:17:1" + "src": "2997:17:0" }, { "children": [ @@ -38207,7 +38207,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 588, + "scope": 80, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38220,24 +38220,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 585, + "id": 77, "name": "ElementaryTypeName", - "src": "2952:7:1" + "src": "3038:7:0" } ], - "id": 586, + "id": 78, "name": "VariableDeclaration", - "src": "2952:13:1" + "src": "3038:13:0" } ], - "id": 587, + "id": 79, "name": "ParameterList", - "src": "2951:15:1" + "src": "3037:15:0" } ], - "id": 588, + "id": 80, "name": "FunctionDefinition", - "src": "2895:72:1" + "src": "2981:72:0" }, { "attributes": { @@ -38249,7 +38249,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38259,9 +38259,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 589, + "id": 81, "name": "StructuredDocumentation", - "src": "2973:690:1" + "src": "3061:703:0" }, { "children": [ @@ -38270,7 +38270,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38283,21 +38283,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 590, + "id": 82, "name": "ElementaryTypeName", - "src": "3694:7:1" + "src": "3796:7:0" } ], - "id": 591, + "id": 83, "name": "VariableDeclaration", - "src": "3694:12:1" + "src": "3796:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38310,21 +38310,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 592, + "id": 84, "name": "ElementaryTypeName", - "src": "3708:7:1" + "src": "3810:7:0" } ], - "id": 593, + "id": 85, "name": "VariableDeclaration", - "src": "3708:10:1" + "src": "3810:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 598, + "scope": 90, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38336,19 +38336,19 @@ "name": "uint256", "type": "uint256" }, - "id": 594, + "id": 86, "name": "ElementaryTypeName", - "src": "3720:7:1" + "src": "3822:7:0" } ], - "id": 595, + "id": 87, "name": "VariableDeclaration", - "src": "3720:15:1" + "src": "3822:15:0" } ], - "id": 596, + "id": 88, "name": "ParameterList", - "src": "3693:43:1" + "src": "3795:43:0" }, { "attributes": { @@ -38357,14 +38357,14 @@ ] }, "children": [], - "id": 597, + "id": 89, "name": "ParameterList", - "src": "3745:0:1" + "src": "3847:0:0" } ], - "id": 598, + "id": 90, "name": "FunctionDefinition", - "src": "3668:78:1" + "src": "3770:78:0" }, { "attributes": { @@ -38376,7 +38376,7 @@ null ], "name": "transferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38386,9 +38386,9 @@ "attributes": { "text": " @dev Transfers `tokenId` token from `from` to `to`.\n WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n Emits a {Transfer} event." }, - "id": 599, + "id": 91, "name": "StructuredDocumentation", - "src": "3752:504:1" + "src": "3856:517:0" }, { "children": [ @@ -38397,7 +38397,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38410,21 +38410,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 600, + "id": 92, "name": "ElementaryTypeName", - "src": "4283:7:1" + "src": "4401:7:0" } ], - "id": 601, + "id": 93, "name": "VariableDeclaration", - "src": "4283:12:1" + "src": "4401:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38437,21 +38437,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 602, + "id": 94, "name": "ElementaryTypeName", - "src": "4297:7:1" + "src": "4415:7:0" } ], - "id": 603, + "id": 95, "name": "VariableDeclaration", - "src": "4297:10:1" + "src": "4415:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 608, + "scope": 100, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38463,19 +38463,19 @@ "name": "uint256", "type": "uint256" }, - "id": 604, + "id": 96, "name": "ElementaryTypeName", - "src": "4309:7:1" + "src": "4427:7:0" } ], - "id": 605, + "id": 97, "name": "VariableDeclaration", - "src": "4309:15:1" + "src": "4427:15:0" } ], - "id": 606, + "id": 98, "name": "ParameterList", - "src": "4282:43:1" + "src": "4400:43:0" }, { "attributes": { @@ -38484,14 +38484,14 @@ ] }, "children": [], - "id": 607, + "id": 99, "name": "ParameterList", - "src": "4334:0:1" + "src": "4452:0:0" } ], - "id": 608, + "id": 100, "name": "FunctionDefinition", - "src": "4261:74:1" + "src": "4379:74:0" }, { "attributes": { @@ -38503,7 +38503,7 @@ null ], "name": "approve", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38513,9 +38513,9 @@ "attributes": { "text": " @dev Gives permission to `to` to transfer `tokenId` token to another account.\n The approval is cleared when the token is transferred.\n Only a single account can be approved at a time, so approving the zero address clears previous approvals.\n Requirements:\n - The caller must own the token or be an approved operator.\n - `tokenId` must exist.\n Emits an {Approval} event." }, - "id": 609, + "id": 101, "name": "StructuredDocumentation", - "src": "4341:452:1" + "src": "4461:464:0" }, { "children": [ @@ -38524,7 +38524,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38537,21 +38537,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 610, + "id": 102, "name": "ElementaryTypeName", - "src": "4815:7:1" + "src": "4948:7:0" } ], - "id": 611, + "id": 103, "name": "VariableDeclaration", - "src": "4815:10:1" + "src": "4948:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 616, + "scope": 108, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38563,19 +38563,19 @@ "name": "uint256", "type": "uint256" }, - "id": 612, + "id": 104, "name": "ElementaryTypeName", - "src": "4827:7:1" + "src": "4960:7:0" } ], - "id": 613, + "id": 105, "name": "VariableDeclaration", - "src": "4827:15:1" + "src": "4960:15:0" } ], - "id": 614, + "id": 106, "name": "ParameterList", - "src": "4814:29:1" + "src": "4947:29:0" }, { "attributes": { @@ -38584,14 +38584,14 @@ ] }, "children": [], - "id": 615, + "id": 107, "name": "ParameterList", - "src": "4852:0:1" + "src": "4985:0:0" } ], - "id": 616, + "id": 108, "name": "FunctionDefinition", - "src": "4798:55:1" + "src": "4931:55:0" }, { "attributes": { @@ -38603,7 +38603,7 @@ null ], "name": "getApproved", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38613,9 +38613,9 @@ "attributes": { "text": " @dev Returns the account approved for `tokenId` token.\n Requirements:\n - `tokenId` must exist." }, - "id": 617, + "id": 109, "name": "StructuredDocumentation", - "src": "4859:139:1" + "src": "4994:145:0" }, { "children": [ @@ -38624,7 +38624,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -38636,19 +38636,19 @@ "name": "uint256", "type": "uint256" }, - "id": 618, + "id": 110, "name": "ElementaryTypeName", - "src": "5024:7:1" + "src": "5166:7:0" } ], - "id": 619, + "id": 111, "name": "VariableDeclaration", - "src": "5024:15:1" + "src": "5166:15:0" } ], - "id": 620, + "id": 112, "name": "ParameterList", - "src": "5023:17:1" + "src": "5165:17:0" }, { "children": [ @@ -38657,7 +38657,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 624, + "scope": 116, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38670,24 +38670,24 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 621, + "id": 113, "name": "ElementaryTypeName", - "src": "5064:7:1" + "src": "5206:7:0" } ], - "id": 622, + "id": 114, "name": "VariableDeclaration", - "src": "5064:16:1" + "src": "5206:16:0" } ], - "id": 623, + "id": 115, "name": "ParameterList", - "src": "5063:18:1" + "src": "5205:18:0" } ], - "id": 624, + "id": 116, "name": "FunctionDefinition", - "src": "5003:79:1" + "src": "5145:79:0" }, { "attributes": { @@ -38699,7 +38699,7 @@ null ], "name": "setApprovalForAll", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38709,9 +38709,9 @@ "attributes": { "text": " @dev Approve or remove `operator` as an operator for the caller.\n Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.\n Requirements:\n - The `operator` cannot be the caller.\n Emits an {ApprovalForAll} event." }, - "id": 625, + "id": 117, "name": "StructuredDocumentation", - "src": "5088:309:1" + "src": "5232:318:0" }, { "children": [ @@ -38720,7 +38720,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38733,21 +38733,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 626, + "id": 118, "name": "ElementaryTypeName", - "src": "5429:7:1" + "src": "5583:7:0" } ], - "id": 627, + "id": 119, "name": "VariableDeclaration", - "src": "5429:16:1" + "src": "5583:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_approved", - "scope": 632, + "scope": 124, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38759,19 +38759,19 @@ "name": "bool", "type": "bool" }, - "id": 628, + "id": 120, "name": "ElementaryTypeName", - "src": "5447:4:1" + "src": "5601:4:0" } ], - "id": 629, + "id": 121, "name": "VariableDeclaration", - "src": "5447:14:1" + "src": "5601:14:0" } ], - "id": 630, + "id": 122, "name": "ParameterList", - "src": "5428:34:1" + "src": "5582:34:0" }, { "attributes": { @@ -38780,14 +38780,14 @@ ] }, "children": [], - "id": 631, + "id": 123, "name": "ParameterList", - "src": "5471:0:1" + "src": "5625:0:0" } ], - "id": 632, + "id": 124, "name": "FunctionDefinition", - "src": "5402:70:1" + "src": "5556:70:0" }, { "attributes": { @@ -38799,7 +38799,7 @@ null ], "name": "isApprovedForAll", - "scope": 655, + "scope": 147, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -38809,9 +38809,9 @@ "attributes": { "text": " @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.\n See {setApprovalForAll}" }, - "id": 633, + "id": 125, "name": "StructuredDocumentation", - "src": "5478:138:1" + "src": "5634:142:0" }, { "children": [ @@ -38820,7 +38820,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38833,21 +38833,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 634, + "id": 126, "name": "ElementaryTypeName", - "src": "5647:7:1" + "src": "5808:7:0" } ], - "id": 635, + "id": 127, "name": "VariableDeclaration", - "src": "5647:13:1" + "src": "5808:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38860,19 +38860,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 636, + "id": 128, "name": "ElementaryTypeName", - "src": "5662:7:1" + "src": "5823:7:0" } ], - "id": 637, + "id": 129, "name": "VariableDeclaration", - "src": "5662:16:1" + "src": "5823:16:0" } ], - "id": 638, + "id": 130, "name": "ParameterList", - "src": "5646:33:1" + "src": "5807:33:0" }, { "children": [ @@ -38881,7 +38881,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 642, + "scope": 134, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -38893,24 +38893,24 @@ "name": "bool", "type": "bool" }, - "id": 639, + "id": 131, "name": "ElementaryTypeName", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 640, + "id": 132, "name": "VariableDeclaration", - "src": "5703:4:1" + "src": "5864:4:0" } ], - "id": 641, + "id": 133, "name": "ParameterList", - "src": "5702:6:1" + "src": "5863:6:0" } ], - "id": 642, + "id": 134, "name": "FunctionDefinition", - "src": "5621:88:1" + "src": "5782:88:0" }, { "attributes": { @@ -38922,7 +38922,7 @@ null ], "name": "safeTransferFrom", - "scope": 655, + "scope": 147, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -38932,9 +38932,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 643, + "id": 135, "name": "StructuredDocumentation", - "src": "5715:568:1" + "src": "5878:580:0" }, { "children": [ @@ -38943,7 +38943,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38956,21 +38956,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 644, + "id": 136, "name": "ElementaryTypeName", - "src": "6314:7:1" + "src": "6490:7:0" } ], - "id": 645, + "id": 137, "name": "VariableDeclaration", - "src": "6314:12:1" + "src": "6490:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -38983,21 +38983,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 646, + "id": 138, "name": "ElementaryTypeName", - "src": "6328:7:1" + "src": "6504:7:0" } ], - "id": 647, + "id": 139, "name": "VariableDeclaration", - "src": "6328:10:1" + "src": "6504:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39009,21 +39009,21 @@ "name": "uint256", "type": "uint256" }, - "id": 648, + "id": 140, "name": "ElementaryTypeName", - "src": "6340:7:1" + "src": "6516:7:0" } ], - "id": 649, + "id": 141, "name": "VariableDeclaration", - "src": "6340:15:1" + "src": "6516:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 654, + "scope": 146, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39035,19 +39035,19 @@ "name": "bytes", "type": "bytes" }, - "id": 650, + "id": 142, "name": "ElementaryTypeName", - "src": "6357:5:1" + "src": "6533:5:0" } ], - "id": 651, + "id": 143, "name": "VariableDeclaration", - "src": "6357:19:1" + "src": "6533:19:0" } ], - "id": 652, + "id": 144, "name": "ParameterList", - "src": "6313:64:1" + "src": "6489:64:0" }, { "attributes": { @@ -39056,19 +39056,19 @@ ] }, "children": [], - "id": 653, + "id": 145, "name": "ParameterList", - "src": "6386:0:1" + "src": "6562:0:0" } ], - "id": 654, + "id": 146, "name": "FunctionDefinition", - "src": "6288:99:1" + "src": "6464:99:0" } ], - "id": 655, + "id": 147, "name": "ContractDefinition", - "src": "1975:4414:1" + "src": "2033:4533:0" }, { "attributes": { @@ -39082,35 +39082,35 @@ ".0" ] }, - "id": 656, + "id": 148, "name": "PragmaDirective", - "src": "6457:31:1" + "src": "6637:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 680, - 655, - 541 + 172, + 147, + 33 ], "name": "IERC721Metadata", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional metadata extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 657, + "id": 149, "name": "StructuredDocumentation", - "src": "6491:133:1" + "src": "6674:136:0" }, { "attributes": {}, @@ -39118,17 +39118,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 658, + "id": 150, "name": "UserDefinedTypeName", - "src": "6654:7:1" + "src": "6841:7:0" } ], - "id": 659, + "id": 151, "name": "InheritanceSpecifier", - "src": "6654:7:1" + "src": "6841:7:0" }, { "attributes": { @@ -39140,7 +39140,7 @@ null ], "name": "name", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39150,9 +39150,9 @@ "attributes": { "text": " @dev Returns the token collection name." }, - "id": 660, + "id": 152, "name": "StructuredDocumentation", - "src": "6669:58:1" + "src": "6858:60:0" }, { "attributes": { @@ -39161,9 +39161,9 @@ ] }, "children": [], - "id": 661, + "id": 153, "name": "ParameterList", - "src": "6745:2:1" + "src": "6937:2:0" }, { "children": [ @@ -39172,7 +39172,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 665, + "scope": 157, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39184,24 +39184,24 @@ "name": "string", "type": "string" }, - "id": 662, + "id": 154, "name": "ElementaryTypeName", - "src": "6771:6:1" + "src": "6963:6:0" } ], - "id": 663, + "id": 155, "name": "VariableDeclaration", - "src": "6771:13:1" + "src": "6963:13:0" } ], - "id": 664, + "id": 156, "name": "ParameterList", - "src": "6770:15:1" + "src": "6962:15:0" } ], - "id": 665, + "id": 157, "name": "FunctionDefinition", - "src": "6732:54:1" + "src": "6924:54:0" }, { "attributes": { @@ -39213,7 +39213,7 @@ null ], "name": "symbol", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39223,9 +39223,9 @@ "attributes": { "text": " @dev Returns the token collection symbol." }, - "id": 666, + "id": 158, "name": "StructuredDocumentation", - "src": "6792:60:1" + "src": "6986:62:0" }, { "attributes": { @@ -39234,9 +39234,9 @@ ] }, "children": [], - "id": 667, + "id": 159, "name": "ParameterList", - "src": "6872:2:1" + "src": "7069:2:0" }, { "children": [ @@ -39245,7 +39245,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 671, + "scope": 163, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39257,24 +39257,24 @@ "name": "string", "type": "string" }, - "id": 668, + "id": 160, "name": "ElementaryTypeName", - "src": "6898:6:1" + "src": "7095:6:0" } ], - "id": 669, + "id": 161, "name": "VariableDeclaration", - "src": "6898:13:1" + "src": "7095:13:0" } ], - "id": 670, + "id": 162, "name": "ParameterList", - "src": "6897:15:1" + "src": "7094:15:0" } ], - "id": 671, + "id": 163, "name": "FunctionDefinition", - "src": "6857:56:1" + "src": "7054:56:0" }, { "attributes": { @@ -39286,7 +39286,7 @@ null ], "name": "tokenURI", - "scope": 680, + "scope": 172, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39296,9 +39296,9 @@ "attributes": { "text": " @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token." }, - "id": 672, + "id": 164, "name": "StructuredDocumentation", - "src": "6919:90:1" + "src": "7118:92:0" }, { "children": [ @@ -39307,7 +39307,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39319,19 +39319,19 @@ "name": "uint256", "type": "uint256" }, - "id": 673, + "id": 165, "name": "ElementaryTypeName", - "src": "7032:7:1" + "src": "7234:7:0" } ], - "id": 674, + "id": 166, "name": "VariableDeclaration", - "src": "7032:15:1" + "src": "7234:15:0" } ], - "id": 675, + "id": 167, "name": "ParameterList", - "src": "7031:17:1" + "src": "7233:17:0" }, { "children": [ @@ -39340,7 +39340,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 679, + "scope": 171, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -39352,29 +39352,29 @@ "name": "string", "type": "string" }, - "id": 676, + "id": 168, "name": "ElementaryTypeName", - "src": "7072:6:1" + "src": "7274:6:0" } ], - "id": 677, + "id": 169, "name": "VariableDeclaration", - "src": "7072:13:1" + "src": "7274:13:0" } ], - "id": 678, + "id": 170, "name": "ParameterList", - "src": "7071:15:1" + "src": "7273:15:0" } ], - "id": 679, + "id": 171, "name": "FunctionDefinition", - "src": "7014:73:1" + "src": "7216:73:0" } ], - "id": 680, + "id": 172, "name": "ContractDefinition", - "src": "6625:464:1" + "src": "6812:480:0" }, { "attributes": { @@ -39388,35 +39388,35 @@ ".0" ] }, - "id": 681, + "id": 173, "name": "PragmaDirective", - "src": "7161:31:1" + "src": "7369:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 541, - 655 + 33, + 147 ], "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 709, - 655, - 541 + 201, + 147, + 33 ], "name": "IERC721Enumerable", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC-721 Non-Fungible Token Standard, optional enumeration extension\n @dev See https://eips.ethereum.org/EIPS/eip-721" }, - "id": 682, + "id": 174, "name": "StructuredDocumentation", - "src": "7195:136:1" + "src": "7406:139:0" }, { "attributes": {}, @@ -39424,17 +39424,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 683, + "id": 175, "name": "UserDefinedTypeName", - "src": "7363:7:1" + "src": "7578:7:0" } ], - "id": 684, + "id": 176, "name": "InheritanceSpecifier", - "src": "7363:7:1" + "src": "7578:7:0" }, { "attributes": { @@ -39446,7 +39446,7 @@ null ], "name": "totalSupply", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39456,9 +39456,9 @@ "attributes": { "text": " @dev Returns the total amount of tokens stored by the contract." }, - "id": 685, + "id": 177, "name": "StructuredDocumentation", - "src": "7378:82:1" + "src": "7595:84:0" }, { "attributes": { @@ -39467,9 +39467,9 @@ ] }, "children": [], - "id": 686, + "id": 178, "name": "ParameterList", - "src": "7485:2:1" + "src": "7705:2:0" }, { "children": [ @@ -39478,7 +39478,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 690, + "scope": 182, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39490,24 +39490,24 @@ "name": "uint256", "type": "uint256" }, - "id": 687, + "id": 179, "name": "ElementaryTypeName", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 688, + "id": 180, "name": "VariableDeclaration", - "src": "7511:7:1" + "src": "7731:7:0" } ], - "id": 689, + "id": 181, "name": "ParameterList", - "src": "7510:9:1" + "src": "7730:9:0" } ], - "id": 690, + "id": 182, "name": "FunctionDefinition", - "src": "7465:55:1" + "src": "7685:55:0" }, { "attributes": { @@ -39519,7 +39519,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39529,9 +39529,9 @@ "attributes": { "text": " @dev Returns a token ID owned by `owner` at a given `index` of its token list.\n Use along with {balanceOf} to enumerate all of ``owner``'s tokens." }, - "id": 691, + "id": 183, "name": "StructuredDocumentation", - "src": "7526:171:1" + "src": "7748:174:0" }, { "children": [ @@ -39540,7 +39540,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39553,21 +39553,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 692, + "id": 184, "name": "ElementaryTypeName", - "src": "7731:7:1" + "src": "7957:7:0" } ], - "id": 693, + "id": 185, "name": "VariableDeclaration", - "src": "7731:13:1" + "src": "7957:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39579,19 +39579,19 @@ "name": "uint256", "type": "uint256" }, - "id": 694, + "id": 186, "name": "ElementaryTypeName", - "src": "7746:7:1" + "src": "7972:7:0" } ], - "id": 695, + "id": 187, "name": "VariableDeclaration", - "src": "7746:13:1" + "src": "7972:13:0" } ], - "id": 696, + "id": 188, "name": "ParameterList", - "src": "7730:30:1" + "src": "7956:30:0" }, { "children": [ @@ -39600,7 +39600,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 700, + "scope": 192, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39612,24 +39612,24 @@ "name": "uint256", "type": "uint256" }, - "id": 697, + "id": 189, "name": "ElementaryTypeName", - "src": "7784:7:1" + "src": "8010:7:0" } ], - "id": 698, + "id": 190, "name": "VariableDeclaration", - "src": "7784:15:1" + "src": "8010:15:0" } ], - "id": 699, + "id": 191, "name": "ParameterList", - "src": "7783:17:1" + "src": "8009:17:0" } ], - "id": 700, + "id": 192, "name": "FunctionDefinition", - "src": "7702:99:1" + "src": "7928:99:0" }, { "attributes": { @@ -39641,7 +39641,7 @@ null ], "name": "tokenByIndex", - "scope": 709, + "scope": 201, "stateMutability": "view", "virtual": false, "visibility": "external" @@ -39651,9 +39651,9 @@ "attributes": { "text": " @dev Returns a token ID at a given `index` of all the tokens stored by the contract.\n Use along with {totalSupply} to enumerate all tokens." }, - "id": 701, + "id": 193, "name": "StructuredDocumentation", - "src": "7807:164:1" + "src": "8035:167:0" }, { "children": [ @@ -39662,7 +39662,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39674,19 +39674,19 @@ "name": "uint256", "type": "uint256" }, - "id": 702, + "id": 194, "name": "ElementaryTypeName", - "src": "7998:7:1" + "src": "8230:7:0" } ], - "id": 703, + "id": 195, "name": "VariableDeclaration", - "src": "7998:13:1" + "src": "8230:13:0" } ], - "id": 704, + "id": 196, "name": "ParameterList", - "src": "7997:15:1" + "src": "8229:15:0" }, { "children": [ @@ -39695,7 +39695,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 708, + "scope": 200, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39707,29 +39707,29 @@ "name": "uint256", "type": "uint256" }, - "id": 705, + "id": 197, "name": "ElementaryTypeName", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 706, + "id": 198, "name": "VariableDeclaration", - "src": "8036:7:1" + "src": "8268:7:0" } ], - "id": 707, + "id": 199, "name": "ParameterList", - "src": "8035:9:1" + "src": "8267:9:0" } ], - "id": 708, + "id": 200, "name": "FunctionDefinition", - "src": "7976:69:1" + "src": "8208:69:0" } ], - "id": 709, + "id": 201, "name": "ContractDefinition", - "src": "7332:715:1" + "src": "7547:733:0" }, { "attributes": { @@ -39743,9 +39743,9 @@ ".0" ] }, - "id": 710, + "id": 202, "name": "PragmaDirective", - "src": "8117:31:1" + "src": "8355:31:0" }, { "attributes": { @@ -39759,19 +39759,19 @@ "contractKind": "interface", "fullyImplemented": false, "linearizedBaseContracts": [ - 726 + 218 ], "name": "IERC721Receiver", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 token receiver interface\n @dev Interface for any contract that wants to support safeTransfers\n from ERC721 asset contracts." }, - "id": 711, + "id": 203, "name": "StructuredDocumentation", - "src": "8150:152:1" + "src": "8390:156:0" }, { "attributes": { @@ -39783,7 +39783,7 @@ null ], "name": "onERC721Received", - "scope": 726, + "scope": 218, "stateMutability": "nonpayable", "virtual": false, "visibility": "external" @@ -39793,9 +39793,9 @@ "attributes": { "text": " @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}\n by `operator` from `from`, this function is called.\n It must return its Solidity selector to confirm the token transfer.\n If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.\n The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`." }, - "id": 712, + "id": 204, "name": "StructuredDocumentation", - "src": "8335:485:1" + "src": "8581:493:0" }, { "children": [ @@ -39804,7 +39804,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39817,21 +39817,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 713, + "id": 205, "name": "ElementaryTypeName", - "src": "8851:7:1" + "src": "9106:7:0" } ], - "id": 714, + "id": 206, "name": "VariableDeclaration", - "src": "8851:16:1" + "src": "9106:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "from", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -39844,21 +39844,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 715, + "id": 207, "name": "ElementaryTypeName", - "src": "8869:7:1" + "src": "9124:7:0" } ], - "id": 716, + "id": 208, "name": "VariableDeclaration", - "src": "8869:12:1" + "src": "9124:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -39870,21 +39870,21 @@ "name": "uint256", "type": "uint256" }, - "id": 717, + "id": 209, "name": "ElementaryTypeName", - "src": "8883:7:1" + "src": "9138:7:0" } ], - "id": 718, + "id": 210, "name": "VariableDeclaration", - "src": "8883:15:1" + "src": "9138:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "calldata", "type": "bytes", @@ -39896,19 +39896,19 @@ "name": "bytes", "type": "bytes" }, - "id": 719, + "id": 211, "name": "ElementaryTypeName", - "src": "8900:5:1" + "src": "9155:5:0" } ], - "id": 720, + "id": 212, "name": "VariableDeclaration", - "src": "8900:19:1" + "src": "9155:19:0" } ], - "id": 721, + "id": 213, "name": "ParameterList", - "src": "8850:70:1" + "src": "9105:70:0" }, { "children": [ @@ -39917,7 +39917,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 725, + "scope": 217, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -39929,29 +39929,29 @@ "name": "bytes4", "type": "bytes4" }, - "id": 722, + "id": 214, "name": "ElementaryTypeName", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 723, + "id": 215, "name": "VariableDeclaration", - "src": "8939:6:1" + "src": "9194:6:0" } ], - "id": 724, + "id": 216, "name": "ParameterList", - "src": "8938:8:1" + "src": "9193:8:0" } ], - "id": 725, + "id": 217, "name": "FunctionDefinition", - "src": "8825:122:1" + "src": "9080:122:0" } ], - "id": 726, + "id": 218, "name": "ContractDefinition", - "src": "8303:646:1" + "src": "8548:657:0" }, { "attributes": { @@ -39965,33 +39965,33 @@ ".0" ] }, - "id": 727, + "id": 219, "name": "PragmaDirective", - "src": "9009:31:1" + "src": "9268:31:0" }, { "attributes": { "abstract": true, "contractDependencies": [ - 541 + 33 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 781, - 541 + 273, + 33 ], "name": "ERC165", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Implementation of the {IERC165} interface.\n Contracts may inherit from this and call {_registerInterface} to declare\n their support of an interface." }, - "id": 728, + "id": 220, "name": "StructuredDocumentation", - "src": "9043:171:1" + "src": "9305:176:0" }, { "attributes": {}, @@ -39999,24 +39999,24 @@ { "attributes": { "name": "IERC165", - "referencedDeclaration": 541, + "referencedDeclaration": 33, "type": "contract IERC165" }, - "id": 729, + "id": 221, "name": "UserDefinedTypeName", - "src": "9243:7:1" + "src": "9511:7:0" } ], - "id": 730, + "id": 222, "name": "InheritanceSpecifier", - "src": "9243:7:1" + "src": "9511:7:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC165", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -40028,9 +40028,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 731, + "id": 223, "name": "ElementaryTypeName", - "src": "9340:6:1" + "src": "9612:6:0" }, { "attributes": { @@ -40043,21 +40043,21 @@ "type": "int_const 33540519", "value": "0x01ffc9a7" }, - "id": 732, + "id": 224, "name": "Literal", - "src": "9387:10:1" + "src": "9659:10:0" } ], - "id": 733, + "id": 225, "name": "VariableDeclaration", - "src": "9340:57:1" + "src": "9612:57:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_supportedInterfaces", - "scope": 781, + "scope": 273, "stateVariable": true, "storageLocation": "default", "type": "mapping(bytes4 => bool)", @@ -40074,36 +40074,36 @@ "name": "bytes4", "type": "bytes4" }, - "id": 735, + "id": 227, "name": "ElementaryTypeName", - "src": "9499:6:1" + "src": "9776:6:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 736, + "id": 228, "name": "ElementaryTypeName", - "src": "9509:4:1" + "src": "9786:4:0" } ], - "id": 737, + "id": 229, "name": "Mapping", - "src": "9491:23:1" + "src": "9768:23:0" }, { "attributes": { "text": " @dev Mapping of interface ids to whether or not it's supported." }, - "id": 734, + "id": 226, "name": "StructuredDocumentation", - "src": "9404:82:1" + "src": "9678:84:0" } ], - "id": 738, + "id": 230, "name": "VariableDeclaration", - "src": "9491:52:1" + "src": "9768:52:0" }, { "attributes": { @@ -40114,7 +40114,7 @@ null ], "name": "", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -40127,9 +40127,9 @@ ] }, "children": [], - "id": 739, + "id": 231, "name": "ParameterList", - "src": "9562:2:1" + "src": "9841:2:0" }, { "attributes": { @@ -40138,9 +40138,9 @@ ] }, "children": [], - "id": 740, + "id": 232, "name": "ParameterList", - "src": "9565:0:1" + "src": "9844:0:0" }, { "children": [ @@ -40172,51 +40172,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 741, + "id": 233, "name": "Identifier", - "src": "9711:18:1" + "src": "9993:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 733, + "referencedDeclaration": 225, "type": "bytes4", "value": "_INTERFACE_ID_ERC165" }, - "id": 742, + "id": 234, "name": "Identifier", - "src": "9730:20:1" + "src": "10012:20:0" } ], - "id": 743, + "id": 235, "name": "FunctionCall", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 744, + "id": 236, "name": "ExpressionStatement", - "src": "9711:40:1" + "src": "9993:40:0" } ], - "id": 745, + "id": 237, "name": "Block", - "src": "9565:193:1" + "src": "9844:197:0" } ], - "id": 746, + "id": 238, "name": "FunctionDefinition", - "src": "9550:208:1" + "src": "9829:212:0" }, { "attributes": { "baseFunctions": [ - 540 + 32 ], "functionSelector": "01ffc9a7", "implemented": true, @@ -40226,7 +40226,7 @@ null ], "name": "supportsInterface", - "scope": 781, + "scope": 273, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -40236,9 +40236,9 @@ "attributes": { "text": " @dev See {IERC165-supportsInterface}.\n Time complexity O(1), guaranteed to always use less than 30 000 gas." }, - "id": 747, + "id": 239, "name": "StructuredDocumentation", - "src": "9764:139:1" + "src": "10049:143:0" }, { "attributes": { @@ -40246,9 +40246,9 @@ null ] }, - "id": 751, + "id": 243, "name": "OverrideSpecifier", - "src": "9975:8:1" + "src": "10265:8:0" }, { "children": [ @@ -40257,7 +40257,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40269,19 +40269,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 748, + "id": 240, "name": "ElementaryTypeName", - "src": "9935:6:1" + "src": "10225:6:0" } ], - "id": 749, + "id": 241, "name": "VariableDeclaration", - "src": "9935:18:1" + "src": "10225:18:0" } ], - "id": 750, + "id": 242, "name": "ParameterList", - "src": "9934:20:1" + "src": "10224:20:0" }, { "children": [ @@ -40290,7 +40290,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 760, + "scope": 252, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40302,25 +40302,25 @@ "name": "bool", "type": "bool" }, - "id": 752, + "id": 244, "name": "ElementaryTypeName", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 753, + "id": 245, "name": "VariableDeclaration", - "src": "9993:4:1" + "src": "10283:4:0" } ], - "id": 754, + "id": 246, "name": "ParameterList", - "src": "9992:6:1" + "src": "10282:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 754 + "functionReturnParameters": 246 }, "children": [ { @@ -40337,46 +40337,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 755, + "id": 247, "name": "Identifier", - "src": "10016:20:1" + "src": "10307:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 749, + "referencedDeclaration": 241, "type": "bytes4", "value": "interfaceId" }, - "id": 756, + "id": 248, "name": "Identifier", - "src": "10037:11:1" + "src": "10328:11:0" } ], - "id": 757, + "id": 249, "name": "IndexAccess", - "src": "10016:33:1" + "src": "10307:33:0" } ], - "id": 758, + "id": 250, "name": "Return", - "src": "10009:40:1" + "src": "10300:40:0" } ], - "id": 759, + "id": 251, "name": "Block", - "src": "9999:57:1" + "src": "10289:59:0" } ], - "id": 760, + "id": 252, "name": "FunctionDefinition", - "src": "9908:148:1" + "src": "10198:150:0" }, { "attributes": { @@ -40387,7 +40387,7 @@ null ], "name": "_registerInterface", - "scope": 781, + "scope": 273, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -40397,9 +40397,9 @@ "attributes": { "text": " @dev Registers the contract as an implementer of the interface defined by\n `interfaceId`. Support of the actual ERC165 interface is automatic and\n registering its interface id is not required.\n See {IERC165-supportsInterface}.\n Requirements:\n - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`)." }, - "id": 761, + "id": 253, "name": "StructuredDocumentation", - "src": "10062:383:1" + "src": "10356:393:0" }, { "children": [ @@ -40408,7 +40408,7 @@ "constant": false, "mutability": "mutable", "name": "interfaceId", - "scope": 780, + "scope": 272, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -40420,19 +40420,19 @@ "name": "bytes4", "type": "bytes4" }, - "id": 762, + "id": 254, "name": "ElementaryTypeName", - "src": "10478:6:1" + "src": "10783:6:0" } ], - "id": 763, + "id": 255, "name": "VariableDeclaration", - "src": "10478:18:1" + "src": "10783:18:0" } ], - "id": 764, + "id": 256, "name": "ParameterList", - "src": "10477:20:1" + "src": "10782:20:0" }, { "attributes": { @@ -40441,9 +40441,9 @@ ] }, "children": [], - "id": 765, + "id": 257, "name": "ParameterList", - "src": "10515:0:1" + "src": "10820:0:0" }, { "children": [ @@ -40484,9 +40484,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 766, + "id": 258, "name": "Identifier", - "src": "10525:7:1" + "src": "10831:7:0" }, { "attributes": { @@ -40507,13 +40507,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 767, + "id": 259, "name": "Identifier", - "src": "10533:11:1" + "src": "10839:11:0" }, { "attributes": { @@ -40526,14 +40526,14 @@ "type": "int_const 4294967295", "value": "0xffffffff" }, - "id": 768, + "id": 260, "name": "Literal", - "src": "10548:10:1" + "src": "10854:10:0" } ], - "id": 769, + "id": 261, "name": "BinaryOperation", - "src": "10533:25:1" + "src": "10839:25:0" }, { "attributes": { @@ -40546,19 +40546,19 @@ "type": "literal_string \"ERC165: invalid interface id\"", "value": "ERC165: invalid interface id" }, - "id": 770, + "id": 262, "name": "Literal", - "src": "10560:30:1" + "src": "10866:30:0" } ], - "id": 771, + "id": 263, "name": "FunctionCall", - "src": "10525:66:1" + "src": "10831:66:0" } ], - "id": 772, + "id": 264, "name": "ExpressionStatement", - "src": "10525:66:1" + "src": "10831:66:0" }, { "children": [ @@ -40586,31 +40586,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 738, + "referencedDeclaration": 230, "type": "mapping(bytes4 => bool)", "value": "_supportedInterfaces" }, - "id": 773, + "id": 265, "name": "Identifier", - "src": "10601:20:1" + "src": "10908:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 763, + "referencedDeclaration": 255, "type": "bytes4", "value": "interfaceId" }, - "id": 774, + "id": 266, "name": "Identifier", - "src": "10622:11:1" + "src": "10929:11:0" } ], - "id": 775, + "id": 267, "name": "IndexAccess", - "src": "10601:33:1" + "src": "10908:33:0" }, { "attributes": { @@ -40623,34 +40623,34 @@ "type": "bool", "value": "true" }, - "id": 776, + "id": 268, "name": "Literal", - "src": "10637:4:1" + "src": "10944:4:0" } ], - "id": 777, + "id": 269, "name": "Assignment", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 778, + "id": 270, "name": "ExpressionStatement", - "src": "10601:40:1" + "src": "10908:40:0" } ], - "id": 779, + "id": 271, "name": "Block", - "src": "10515:133:1" + "src": "10820:136:0" } ], - "id": 780, + "id": 272, "name": "FunctionDefinition", - "src": "10450:198:1" + "src": "10755:201:0" } ], - "id": 781, + "id": 273, "name": "ContractDefinition", - "src": "9215:1435:1" + "src": "9483:1476:0" }, { "attributes": { @@ -40664,9 +40664,9 @@ ".0" ] }, - "id": 782, + "id": 274, "name": "PragmaDirective", - "src": "10703:31:1" + "src": "11015:31:0" }, { "attributes": { @@ -40680,19 +40680,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1135 + 627 ], "name": "SafeMath", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Wrappers over Solidity's arithmetic operations with added overflow\n checks.\n Arithmetic operations in Solidity wrap on overflow. This can easily result\n in bugs, because programmers usually assume that an overflow raises an\n error, which is the standard behavior in high level programming languages.\n `SafeMath` restores this intuition by reverting the transaction when an\n operation overflows.\n Using this library instead of the unchecked operations eliminates an entire\n class of bugs, so it's recommended to use it always." }, - "id": 783, + "id": 275, "name": "StructuredDocumentation", - "src": "10736:563:1" + "src": "11050:575:0" }, { "attributes": { @@ -40703,7 +40703,7 @@ null ], "name": "tryAdd", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -40713,9 +40713,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 784, + "id": 276, "name": "StructuredDocumentation", - "src": "11323:131:1" + "src": "11651:135:0" }, { "children": [ @@ -40724,7 +40724,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40736,21 +40736,21 @@ "name": "uint256", "type": "uint256" }, - "id": 785, + "id": 277, "name": "ElementaryTypeName", - "src": "11475:7:1" + "src": "11808:7:0" } ], - "id": 786, + "id": 278, "name": "VariableDeclaration", - "src": "11475:9:1" + "src": "11808:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40762,19 +40762,19 @@ "name": "uint256", "type": "uint256" }, - "id": 787, + "id": 279, "name": "ElementaryTypeName", - "src": "11486:7:1" + "src": "11819:7:0" } ], - "id": 788, + "id": 280, "name": "VariableDeclaration", - "src": "11486:9:1" + "src": "11819:9:0" } ], - "id": 789, + "id": 281, "name": "ParameterList", - "src": "11474:22:1" + "src": "11807:22:0" }, { "children": [ @@ -40783,7 +40783,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -40795,21 +40795,21 @@ "name": "bool", "type": "bool" }, - "id": 790, + "id": 282, "name": "ElementaryTypeName", - "src": "11520:4:1" + "src": "11853:4:0" } ], - "id": 791, + "id": 283, "name": "VariableDeclaration", - "src": "11520:4:1" + "src": "11853:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 814, + "scope": 306, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40821,26 +40821,26 @@ "name": "uint256", "type": "uint256" }, - "id": 792, + "id": 284, "name": "ElementaryTypeName", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 793, + "id": 285, "name": "VariableDeclaration", - "src": "11526:7:1" + "src": "11859:7:0" } ], - "id": 794, + "id": 286, "name": "ParameterList", - "src": "11519:15:1" + "src": "11852:15:0" }, { "children": [ { "attributes": { "assignments": [ - 796 + 288 ] }, "children": [ @@ -40849,7 +40849,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 813, + "scope": 305, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -40861,14 +40861,14 @@ "name": "uint256", "type": "uint256" }, - "id": 795, + "id": 287, "name": "ElementaryTypeName", - "src": "11545:7:1" + "src": "11879:7:0" } ], - "id": 796, + "id": 288, "name": "VariableDeclaration", - "src": "11545:9:1" + "src": "11879:9:0" }, { "attributes": { @@ -40889,36 +40889,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 797, + "id": 289, "name": "Identifier", - "src": "11557:1:1" + "src": "11891:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 788, + "referencedDeclaration": 280, "type": "uint256", "value": "b" }, - "id": 798, + "id": 290, "name": "Identifier", - "src": "11561:1:1" + "src": "11895:1:0" } ], - "id": 799, + "id": 291, "name": "BinaryOperation", - "src": "11557:5:1" + "src": "11891:5:0" } ], - "id": 800, + "id": 292, "name": "VariableDeclarationStatement", - "src": "11545:17:1" + "src": "11879:17:0" }, { "attributes": {}, @@ -40942,35 +40942,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 801, + "id": 293, "name": "Identifier", - "src": "11576:1:1" + "src": "11911:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 786, + "referencedDeclaration": 278, "type": "uint256", "value": "a" }, - "id": 802, + "id": 294, "name": "Identifier", - "src": "11580:1:1" + "src": "11915:1:0" } ], - "id": 803, + "id": 295, "name": "BinaryOperation", - "src": "11576:5:1" + "src": "11911:5:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -40994,9 +40994,9 @@ "type": "bool", "value": "false" }, - "id": 804, + "id": 296, "name": "Literal", - "src": "11591:5:1" + "src": "11926:5:0" }, { "attributes": { @@ -41009,28 +41009,28 @@ "type": "int_const 0", "value": "0" }, - "id": 805, + "id": 297, "name": "Literal", - "src": "11598:1:1" + "src": "11933:1:0" } ], - "id": 806, + "id": 298, "name": "TupleExpression", - "src": "11590:10:1" + "src": "11925:10:0" } ], - "id": 807, + "id": 299, "name": "Return", - "src": "11583:17:1" + "src": "11918:17:0" } ], - "id": 808, + "id": 300, "name": "IfStatement", - "src": "11572:28:1" + "src": "11907:28:0" }, { "attributes": { - "functionReturnParameters": 794 + "functionReturnParameters": 286 }, "children": [ { @@ -41054,42 +41054,42 @@ "type": "bool", "value": "true" }, - "id": 809, + "id": 301, "name": "Literal", - "src": "11618:4:1" + "src": "11954:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 796, + "referencedDeclaration": 288, "type": "uint256", "value": "c" }, - "id": 810, + "id": 302, "name": "Identifier", - "src": "11624:1:1" + "src": "11960:1:0" } ], - "id": 811, + "id": 303, "name": "TupleExpression", - "src": "11617:9:1" + "src": "11953:9:0" } ], - "id": 812, + "id": 304, "name": "Return", - "src": "11610:16:1" + "src": "11946:16:0" } ], - "id": 813, + "id": 305, "name": "Block", - "src": "11535:98:1" + "src": "11868:102:0" } ], - "id": 814, + "id": 306, "name": "FunctionDefinition", - "src": "11459:174:1" + "src": "11792:178:0" }, { "attributes": { @@ -41100,7 +41100,7 @@ null ], "name": "trySub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41110,9 +41110,9 @@ "attributes": { "text": " @dev Returns the substraction of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 815, + "id": 307, "name": "StructuredDocumentation", - "src": "11639:135:1" + "src": "11978:139:0" }, { "children": [ @@ -41121,7 +41121,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41133,21 +41133,21 @@ "name": "uint256", "type": "uint256" }, - "id": 816, + "id": 308, "name": "ElementaryTypeName", - "src": "11795:7:1" + "src": "12139:7:0" } ], - "id": 817, + "id": 309, "name": "VariableDeclaration", - "src": "11795:9:1" + "src": "12139:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41159,19 +41159,19 @@ "name": "uint256", "type": "uint256" }, - "id": 818, + "id": 310, "name": "ElementaryTypeName", - "src": "11806:7:1" + "src": "12150:7:0" } ], - "id": 819, + "id": 311, "name": "VariableDeclaration", - "src": "11806:9:1" + "src": "12150:9:0" } ], - "id": 820, + "id": 312, "name": "ParameterList", - "src": "11794:22:1" + "src": "12138:22:0" }, { "children": [ @@ -41180,7 +41180,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41192,21 +41192,21 @@ "name": "bool", "type": "bool" }, - "id": 821, + "id": 313, "name": "ElementaryTypeName", - "src": "11840:4:1" + "src": "12184:4:0" } ], - "id": 822, + "id": 314, "name": "VariableDeclaration", - "src": "11840:4:1" + "src": "12184:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 841, + "scope": 333, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41218,19 +41218,19 @@ "name": "uint256", "type": "uint256" }, - "id": 823, + "id": 315, "name": "ElementaryTypeName", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 824, + "id": 316, "name": "VariableDeclaration", - "src": "11846:7:1" + "src": "12190:7:0" } ], - "id": 825, + "id": 317, "name": "ParameterList", - "src": "11839:15:1" + "src": "12183:15:0" }, { "children": [ @@ -41256,35 +41256,35 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 826, + "id": 318, "name": "Identifier", - "src": "11869:1:1" + "src": "12214:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 827, + "id": 319, "name": "Identifier", - "src": "11873:1:1" + "src": "12218:1:0" } ], - "id": 828, + "id": 320, "name": "BinaryOperation", - "src": "11869:5:1" + "src": "12214:5:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41308,9 +41308,9 @@ "type": "bool", "value": "false" }, - "id": 829, + "id": 321, "name": "Literal", - "src": "11884:5:1" + "src": "12229:5:0" }, { "attributes": { @@ -41323,28 +41323,28 @@ "type": "int_const 0", "value": "0" }, - "id": 830, + "id": 322, "name": "Literal", - "src": "11891:1:1" + "src": "12236:1:0" } ], - "id": 831, + "id": 323, "name": "TupleExpression", - "src": "11883:10:1" + "src": "12228:10:0" } ], - "id": 832, + "id": 324, "name": "Return", - "src": "11876:17:1" + "src": "12221:17:0" } ], - "id": 833, + "id": 325, "name": "IfStatement", - "src": "11865:28:1" + "src": "12210:28:0" }, { "attributes": { - "functionReturnParameters": 825 + "functionReturnParameters": 317 }, "children": [ { @@ -41368,9 +41368,9 @@ "type": "bool", "value": "true" }, - "id": 834, + "id": 326, "name": "Literal", - "src": "11911:4:1" + "src": "12257:4:0" }, { "attributes": { @@ -41391,51 +41391,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 817, + "referencedDeclaration": 309, "type": "uint256", "value": "a" }, - "id": 835, + "id": 327, "name": "Identifier", - "src": "11917:1:1" + "src": "12263:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 819, + "referencedDeclaration": 311, "type": "uint256", "value": "b" }, - "id": 836, + "id": 328, "name": "Identifier", - "src": "11921:1:1" + "src": "12267:1:0" } ], - "id": 837, + "id": 329, "name": "BinaryOperation", - "src": "11917:5:1" + "src": "12263:5:0" } ], - "id": 838, + "id": 330, "name": "TupleExpression", - "src": "11910:13:1" + "src": "12256:13:0" } ], - "id": 839, + "id": 331, "name": "Return", - "src": "11903:20:1" + "src": "12249:20:0" } ], - "id": 840, + "id": 332, "name": "Block", - "src": "11855:75:1" + "src": "12199:78:0" } ], - "id": 841, + "id": 333, "name": "FunctionDefinition", - "src": "11779:151:1" + "src": "12123:154:0" }, { "attributes": { @@ -41446,7 +41446,7 @@ null ], "name": "tryMul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41456,9 +41456,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, with an overflow flag.\n _Available since v3.4._" }, - "id": 842, + "id": 334, "name": "StructuredDocumentation", - "src": "11936:137:1" + "src": "12285:141:0" }, { "children": [ @@ -41467,7 +41467,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41479,21 +41479,21 @@ "name": "uint256", "type": "uint256" }, - "id": 843, + "id": 335, "name": "ElementaryTypeName", - "src": "12094:7:1" + "src": "12448:7:0" } ], - "id": 844, + "id": 336, "name": "VariableDeclaration", - "src": "12094:9:1" + "src": "12448:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41505,19 +41505,19 @@ "name": "uint256", "type": "uint256" }, - "id": 845, + "id": 337, "name": "ElementaryTypeName", - "src": "12105:7:1" + "src": "12459:7:0" } ], - "id": 846, + "id": 338, "name": "VariableDeclaration", - "src": "12105:9:1" + "src": "12459:9:0" } ], - "id": 847, + "id": 339, "name": "ParameterList", - "src": "12093:22:1" + "src": "12447:22:0" }, { "children": [ @@ -41526,7 +41526,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -41538,21 +41538,21 @@ "name": "bool", "type": "bool" }, - "id": 848, + "id": 340, "name": "ElementaryTypeName", - "src": "12139:4:1" + "src": "12493:4:0" } ], - "id": 849, + "id": 341, "name": "VariableDeclaration", - "src": "12139:4:1" + "src": "12493:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 882, + "scope": 374, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41564,19 +41564,19 @@ "name": "uint256", "type": "uint256" }, - "id": 850, + "id": 342, "name": "ElementaryTypeName", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 851, + "id": 343, "name": "VariableDeclaration", - "src": "12145:7:1" + "src": "12499:7:0" } ], - "id": 852, + "id": 344, "name": "ParameterList", - "src": "12138:15:1" + "src": "12492:15:0" }, { "children": [ @@ -41602,13 +41602,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 853, + "id": 345, "name": "Identifier", - "src": "12386:1:1" + "src": "12744:1:0" }, { "attributes": { @@ -41621,18 +41621,18 @@ "type": "int_const 0", "value": "0" }, - "id": 854, + "id": 346, "name": "Literal", - "src": "12391:1:1" + "src": "12749:1:0" } ], - "id": 855, + "id": 347, "name": "BinaryOperation", - "src": "12386:6:1" + "src": "12744:6:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41656,9 +41656,9 @@ "type": "bool", "value": "true" }, - "id": 856, + "id": 348, "name": "Literal", - "src": "12402:4:1" + "src": "12760:4:0" }, { "attributes": { @@ -41671,29 +41671,29 @@ "type": "int_const 0", "value": "0" }, - "id": 857, + "id": 349, "name": "Literal", - "src": "12408:1:1" + "src": "12766:1:0" } ], - "id": 858, + "id": 350, "name": "TupleExpression", - "src": "12401:9:1" + "src": "12759:9:0" } ], - "id": 859, + "id": 351, "name": "Return", - "src": "12394:16:1" + "src": "12752:16:0" } ], - "id": 860, + "id": 352, "name": "IfStatement", - "src": "12382:28:1" + "src": "12740:28:0" }, { "attributes": { "assignments": [ - 862 + 354 ] }, "children": [ @@ -41702,7 +41702,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 881, + "scope": 373, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -41714,14 +41714,14 @@ "name": "uint256", "type": "uint256" }, - "id": 861, + "id": 353, "name": "ElementaryTypeName", - "src": "12420:7:1" + "src": "12779:7:0" } ], - "id": 862, + "id": 354, "name": "VariableDeclaration", - "src": "12420:9:1" + "src": "12779:9:0" }, { "attributes": { @@ -41742,36 +41742,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 863, + "id": 355, "name": "Identifier", - "src": "12432:1:1" + "src": "12791:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 864, + "id": 356, "name": "Identifier", - "src": "12436:1:1" + "src": "12795:1:0" } ], - "id": 865, + "id": 357, "name": "BinaryOperation", - "src": "12432:5:1" + "src": "12791:5:0" } ], - "id": 866, + "id": 358, "name": "VariableDeclarationStatement", - "src": "12420:17:1" + "src": "12779:17:0" }, { "attributes": {}, @@ -41809,53 +41809,53 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 867, + "id": 359, "name": "Identifier", - "src": "12451:1:1" + "src": "12811:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 844, + "referencedDeclaration": 336, "type": "uint256", "value": "a" }, - "id": 868, + "id": 360, "name": "Identifier", - "src": "12455:1:1" + "src": "12815:1:0" } ], - "id": 869, + "id": 361, "name": "BinaryOperation", - "src": "12451:5:1" + "src": "12811:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 846, + "referencedDeclaration": 338, "type": "uint256", "value": "b" }, - "id": 870, + "id": 362, "name": "Identifier", - "src": "12460:1:1" + "src": "12820:1:0" } ], - "id": 871, + "id": 363, "name": "BinaryOperation", - "src": "12451:10:1" + "src": "12811:10:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41879,9 +41879,9 @@ "type": "bool", "value": "false" }, - "id": 872, + "id": 364, "name": "Literal", - "src": "12471:5:1" + "src": "12831:5:0" }, { "attributes": { @@ -41894,28 +41894,28 @@ "type": "int_const 0", "value": "0" }, - "id": 873, + "id": 365, "name": "Literal", - "src": "12478:1:1" + "src": "12838:1:0" } ], - "id": 874, + "id": 366, "name": "TupleExpression", - "src": "12470:10:1" + "src": "12830:10:0" } ], - "id": 875, + "id": 367, "name": "Return", - "src": "12463:17:1" + "src": "12823:17:0" } ], - "id": 876, + "id": 368, "name": "IfStatement", - "src": "12447:33:1" + "src": "12807:33:0" }, { "attributes": { - "functionReturnParameters": 852 + "functionReturnParameters": 344 }, "children": [ { @@ -41939,42 +41939,42 @@ "type": "bool", "value": "true" }, - "id": 877, + "id": 369, "name": "Literal", - "src": "12498:4:1" + "src": "12859:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 862, + "referencedDeclaration": 354, "type": "uint256", "value": "c" }, - "id": 878, + "id": 370, "name": "Identifier", - "src": "12504:1:1" + "src": "12865:1:0" } ], - "id": 879, + "id": 371, "name": "TupleExpression", - "src": "12497:9:1" + "src": "12858:9:0" } ], - "id": 880, + "id": 372, "name": "Return", - "src": "12490:16:1" + "src": "12851:16:0" } ], - "id": 881, + "id": 373, "name": "Block", - "src": "12154:359:1" + "src": "12508:367:0" } ], - "id": 882, + "id": 374, "name": "FunctionDefinition", - "src": "12078:435:1" + "src": "12432:443:0" }, { "attributes": { @@ -41985,7 +41985,7 @@ null ], "name": "tryDiv", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -41995,9 +41995,9 @@ "attributes": { "text": " @dev Returns the division of two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 883, + "id": 375, "name": "StructuredDocumentation", - "src": "12519:138:1" + "src": "12883:142:0" }, { "children": [ @@ -42006,7 +42006,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42018,21 +42018,21 @@ "name": "uint256", "type": "uint256" }, - "id": 884, + "id": 376, "name": "ElementaryTypeName", - "src": "12678:7:1" + "src": "13047:7:0" } ], - "id": 885, + "id": 377, "name": "VariableDeclaration", - "src": "12678:9:1" + "src": "13047:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42044,19 +42044,19 @@ "name": "uint256", "type": "uint256" }, - "id": 886, + "id": 378, "name": "ElementaryTypeName", - "src": "12689:7:1" + "src": "13058:7:0" } ], - "id": 887, + "id": 379, "name": "VariableDeclaration", - "src": "12689:9:1" + "src": "13058:9:0" } ], - "id": 888, + "id": 380, "name": "ParameterList", - "src": "12677:22:1" + "src": "13046:22:0" }, { "children": [ @@ -42065,7 +42065,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42077,21 +42077,21 @@ "name": "bool", "type": "bool" }, - "id": 889, + "id": 381, "name": "ElementaryTypeName", - "src": "12723:4:1" + "src": "13092:4:0" } ], - "id": 890, + "id": 382, "name": "VariableDeclaration", - "src": "12723:4:1" + "src": "13092:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 909, + "scope": 401, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42103,19 +42103,19 @@ "name": "uint256", "type": "uint256" }, - "id": 891, + "id": 383, "name": "ElementaryTypeName", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 892, + "id": 384, "name": "VariableDeclaration", - "src": "12729:7:1" + "src": "13098:7:0" } ], - "id": 893, + "id": 385, "name": "ParameterList", - "src": "12722:15:1" + "src": "13091:15:0" }, { "children": [ @@ -42141,13 +42141,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 894, + "id": 386, "name": "Identifier", - "src": "12752:1:1" + "src": "13122:1:0" }, { "attributes": { @@ -42160,18 +42160,18 @@ "type": "int_const 0", "value": "0" }, - "id": 895, + "id": 387, "name": "Literal", - "src": "12757:1:1" + "src": "13127:1:0" } ], - "id": 896, + "id": 388, "name": "BinaryOperation", - "src": "12752:6:1" + "src": "13122:6:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42195,9 +42195,9 @@ "type": "bool", "value": "false" }, - "id": 897, + "id": 389, "name": "Literal", - "src": "12768:5:1" + "src": "13138:5:0" }, { "attributes": { @@ -42210,28 +42210,28 @@ "type": "int_const 0", "value": "0" }, - "id": 898, + "id": 390, "name": "Literal", - "src": "12775:1:1" + "src": "13145:1:0" } ], - "id": 899, + "id": 391, "name": "TupleExpression", - "src": "12767:10:1" + "src": "13137:10:0" } ], - "id": 900, + "id": 392, "name": "Return", - "src": "12760:17:1" + "src": "13130:17:0" } ], - "id": 901, + "id": 393, "name": "IfStatement", - "src": "12748:29:1" + "src": "13118:29:0" }, { "attributes": { - "functionReturnParameters": 893 + "functionReturnParameters": 385 }, "children": [ { @@ -42255,9 +42255,9 @@ "type": "bool", "value": "true" }, - "id": 902, + "id": 394, "name": "Literal", - "src": "12795:4:1" + "src": "13166:4:0" }, { "attributes": { @@ -42278,51 +42278,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 885, + "referencedDeclaration": 377, "type": "uint256", "value": "a" }, - "id": 903, + "id": 395, "name": "Identifier", - "src": "12801:1:1" + "src": "13172:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 887, + "referencedDeclaration": 379, "type": "uint256", "value": "b" }, - "id": 904, + "id": 396, "name": "Identifier", - "src": "12805:1:1" + "src": "13176:1:0" } ], - "id": 905, + "id": 397, "name": "BinaryOperation", - "src": "12801:5:1" + "src": "13172:5:0" } ], - "id": 906, + "id": 398, "name": "TupleExpression", - "src": "12794:13:1" + "src": "13165:13:0" } ], - "id": 907, + "id": 399, "name": "Return", - "src": "12787:20:1" + "src": "13158:20:0" } ], - "id": 908, + "id": 400, "name": "Block", - "src": "12738:76:1" + "src": "13107:79:0" } ], - "id": 909, + "id": 401, "name": "FunctionDefinition", - "src": "12662:152:1" + "src": "13031:155:0" }, { "attributes": { @@ -42333,7 +42333,7 @@ null ], "name": "tryMod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42343,9 +42343,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.\n _Available since v3.4._" }, - "id": 910, + "id": 402, "name": "StructuredDocumentation", - "src": "12820:148:1" + "src": "13194:152:0" }, { "children": [ @@ -42354,7 +42354,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42366,21 +42366,21 @@ "name": "uint256", "type": "uint256" }, - "id": 911, + "id": 403, "name": "ElementaryTypeName", - "src": "12989:7:1" + "src": "13368:7:0" } ], - "id": 912, + "id": 404, "name": "VariableDeclaration", - "src": "12989:9:1" + "src": "13368:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42392,19 +42392,19 @@ "name": "uint256", "type": "uint256" }, - "id": 913, + "id": 405, "name": "ElementaryTypeName", - "src": "13000:7:1" + "src": "13379:7:0" } ], - "id": 914, + "id": 406, "name": "VariableDeclaration", - "src": "13000:9:1" + "src": "13379:9:0" } ], - "id": 915, + "id": 407, "name": "ParameterList", - "src": "12988:22:1" + "src": "13367:22:0" }, { "children": [ @@ -42413,7 +42413,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -42425,21 +42425,21 @@ "name": "bool", "type": "bool" }, - "id": 916, + "id": 408, "name": "ElementaryTypeName", - "src": "13034:4:1" + "src": "13413:4:0" } ], - "id": 917, + "id": 409, "name": "VariableDeclaration", - "src": "13034:4:1" + "src": "13413:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 936, + "scope": 428, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42451,19 +42451,19 @@ "name": "uint256", "type": "uint256" }, - "id": 918, + "id": 410, "name": "ElementaryTypeName", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 919, + "id": 411, "name": "VariableDeclaration", - "src": "13040:7:1" + "src": "13419:7:0" } ], - "id": 920, + "id": 412, "name": "ParameterList", - "src": "13033:15:1" + "src": "13412:15:0" }, { "children": [ @@ -42489,13 +42489,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 921, + "id": 413, "name": "Identifier", - "src": "13063:1:1" + "src": "13443:1:0" }, { "attributes": { @@ -42508,18 +42508,18 @@ "type": "int_const 0", "value": "0" }, - "id": 922, + "id": 414, "name": "Literal", - "src": "13068:1:1" + "src": "13448:1:0" } ], - "id": 923, + "id": 415, "name": "BinaryOperation", - "src": "13063:6:1" + "src": "13443:6:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42543,9 +42543,9 @@ "type": "bool", "value": "false" }, - "id": 924, + "id": 416, "name": "Literal", - "src": "13079:5:1" + "src": "13459:5:0" }, { "attributes": { @@ -42558,28 +42558,28 @@ "type": "int_const 0", "value": "0" }, - "id": 925, + "id": 417, "name": "Literal", - "src": "13086:1:1" + "src": "13466:1:0" } ], - "id": 926, + "id": 418, "name": "TupleExpression", - "src": "13078:10:1" + "src": "13458:10:0" } ], - "id": 927, + "id": 419, "name": "Return", - "src": "13071:17:1" + "src": "13451:17:0" } ], - "id": 928, + "id": 420, "name": "IfStatement", - "src": "13059:29:1" + "src": "13439:29:0" }, { "attributes": { - "functionReturnParameters": 920 + "functionReturnParameters": 412 }, "children": [ { @@ -42603,9 +42603,9 @@ "type": "bool", "value": "true" }, - "id": 929, + "id": 421, "name": "Literal", - "src": "13106:4:1" + "src": "13487:4:0" }, { "attributes": { @@ -42626,51 +42626,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 912, + "referencedDeclaration": 404, "type": "uint256", "value": "a" }, - "id": 930, + "id": 422, "name": "Identifier", - "src": "13112:1:1" + "src": "13493:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 914, + "referencedDeclaration": 406, "type": "uint256", "value": "b" }, - "id": 931, + "id": 423, "name": "Identifier", - "src": "13116:1:1" + "src": "13497:1:0" } ], - "id": 932, + "id": 424, "name": "BinaryOperation", - "src": "13112:5:1" + "src": "13493:5:0" } ], - "id": 933, + "id": 425, "name": "TupleExpression", - "src": "13105:13:1" + "src": "13486:13:0" } ], - "id": 934, + "id": 426, "name": "Return", - "src": "13098:20:1" + "src": "13479:20:0" } ], - "id": 935, + "id": 427, "name": "Block", - "src": "13049:76:1" + "src": "13428:79:0" } ], - "id": 936, + "id": 428, "name": "FunctionDefinition", - "src": "12973:152:1" + "src": "13352:155:0" }, { "attributes": { @@ -42681,7 +42681,7 @@ null ], "name": "add", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -42691,9 +42691,9 @@ "attributes": { "text": " @dev Returns the addition of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `+` operator.\n Requirements:\n - Addition cannot overflow." }, - "id": 937, + "id": 429, "name": "StructuredDocumentation", - "src": "13131:224:1" + "src": "13515:233:0" }, { "children": [ @@ -42702,7 +42702,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42714,21 +42714,21 @@ "name": "uint256", "type": "uint256" }, - "id": 938, + "id": 430, "name": "ElementaryTypeName", - "src": "13373:7:1" + "src": "13767:7:0" } ], - "id": 939, + "id": 431, "name": "VariableDeclaration", - "src": "13373:9:1" + "src": "13767:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42740,19 +42740,19 @@ "name": "uint256", "type": "uint256" }, - "id": 940, + "id": 432, "name": "ElementaryTypeName", - "src": "13384:7:1" + "src": "13778:7:0" } ], - "id": 941, + "id": 433, "name": "VariableDeclaration", - "src": "13384:9:1" + "src": "13778:9:0" } ], - "id": 942, + "id": 434, "name": "ParameterList", - "src": "13372:22:1" + "src": "13766:22:0" }, { "children": [ @@ -42761,7 +42761,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 962, + "scope": 454, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42773,26 +42773,26 @@ "name": "uint256", "type": "uint256" }, - "id": 943, + "id": 435, "name": "ElementaryTypeName", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 944, + "id": 436, "name": "VariableDeclaration", - "src": "13418:7:1" + "src": "13812:7:0" } ], - "id": 945, + "id": 437, "name": "ParameterList", - "src": "13417:9:1" + "src": "13811:9:0" }, { "children": [ { "attributes": { "assignments": [ - 947 + 439 ] }, "children": [ @@ -42801,7 +42801,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 961, + "scope": 453, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -42813,14 +42813,14 @@ "name": "uint256", "type": "uint256" }, - "id": 946, + "id": 438, "name": "ElementaryTypeName", - "src": "13437:7:1" + "src": "13832:7:0" } ], - "id": 947, + "id": 439, "name": "VariableDeclaration", - "src": "13437:9:1" + "src": "13832:9:0" }, { "attributes": { @@ -42841,36 +42841,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 948, + "id": 440, "name": "Identifier", - "src": "13449:1:1" + "src": "13844:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 941, + "referencedDeclaration": 433, "type": "uint256", "value": "b" }, - "id": 949, + "id": 441, "name": "Identifier", - "src": "13453:1:1" + "src": "13848:1:0" } ], - "id": 950, + "id": 442, "name": "BinaryOperation", - "src": "13449:5:1" + "src": "13844:5:0" } ], - "id": 951, + "id": 443, "name": "VariableDeclarationStatement", - "src": "13437:17:1" + "src": "13832:17:0" }, { "children": [ @@ -42909,9 +42909,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 952, + "id": 444, "name": "Identifier", - "src": "13464:7:1" + "src": "13860:7:0" }, { "attributes": { @@ -42932,31 +42932,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 953, + "id": 445, "name": "Identifier", - "src": "13472:1:1" + "src": "13868:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 939, + "referencedDeclaration": 431, "type": "uint256", "value": "a" }, - "id": 954, + "id": 446, "name": "Identifier", - "src": "13477:1:1" + "src": "13873:1:0" } ], - "id": 955, + "id": 447, "name": "BinaryOperation", - "src": "13472:6:1" + "src": "13868:6:0" }, { "attributes": { @@ -42969,23 +42969,23 @@ "type": "literal_string \"SafeMath: addition overflow\"", "value": "SafeMath: addition overflow" }, - "id": 956, + "id": 448, "name": "Literal", - "src": "13480:29:1" + "src": "13876:29:0" } ], - "id": 957, + "id": 449, "name": "FunctionCall", - "src": "13464:46:1" + "src": "13860:46:0" } ], - "id": 958, + "id": 450, "name": "ExpressionStatement", - "src": "13464:46:1" + "src": "13860:46:0" }, { "attributes": { - "functionReturnParameters": 945 + "functionReturnParameters": 437 }, "children": [ { @@ -42993,28 +42993,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 947, + "referencedDeclaration": 439, "type": "uint256", "value": "c" }, - "id": 959, + "id": 451, "name": "Identifier", - "src": "13527:1:1" + "src": "13924:1:0" } ], - "id": 960, + "id": 452, "name": "Return", - "src": "13520:8:1" + "src": "13917:8:0" } ], - "id": 961, + "id": 453, "name": "Block", - "src": "13427:108:1" + "src": "13821:112:0" } ], - "id": 962, + "id": 454, "name": "FunctionDefinition", - "src": "13360:175:1" + "src": "13754:179:0" }, { "attributes": { @@ -43025,7 +43025,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43035,9 +43035,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting on\n overflow (when the result is negative).\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 963, + "id": 455, "name": "StructuredDocumentation", - "src": "13541:260:1" + "src": "13941:269:0" }, { "children": [ @@ -43046,7 +43046,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43058,21 +43058,21 @@ "name": "uint256", "type": "uint256" }, - "id": 964, + "id": 456, "name": "ElementaryTypeName", - "src": "13819:7:1" + "src": "14229:7:0" } ], - "id": 965, + "id": 457, "name": "VariableDeclaration", - "src": "13819:9:1" + "src": "14229:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43084,19 +43084,19 @@ "name": "uint256", "type": "uint256" }, - "id": 966, + "id": 458, "name": "ElementaryTypeName", - "src": "13830:7:1" + "src": "14240:7:0" } ], - "id": 967, + "id": 459, "name": "VariableDeclaration", - "src": "13830:9:1" + "src": "14240:9:0" } ], - "id": 968, + "id": 460, "name": "ParameterList", - "src": "13818:22:1" + "src": "14228:22:0" }, { "children": [ @@ -43105,7 +43105,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 984, + "scope": 476, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43117,19 +43117,19 @@ "name": "uint256", "type": "uint256" }, - "id": 969, + "id": 461, "name": "ElementaryTypeName", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 970, + "id": 462, "name": "VariableDeclaration", - "src": "13864:7:1" + "src": "14274:7:0" } ], - "id": 971, + "id": 463, "name": "ParameterList", - "src": "13863:9:1" + "src": "14273:9:0" }, { "children": [ @@ -43170,9 +43170,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 972, + "id": 464, "name": "Identifier", - "src": "13883:7:1" + "src": "14294:7:0" }, { "attributes": { @@ -43193,31 +43193,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 973, + "id": 465, "name": "Identifier", - "src": "13891:1:1" + "src": "14302:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 974, + "id": 466, "name": "Identifier", - "src": "13896:1:1" + "src": "14307:1:0" } ], - "id": 975, + "id": 467, "name": "BinaryOperation", - "src": "13891:6:1" + "src": "14302:6:0" }, { "attributes": { @@ -43230,23 +43230,23 @@ "type": "literal_string \"SafeMath: subtraction overflow\"", "value": "SafeMath: subtraction overflow" }, - "id": 976, + "id": 468, "name": "Literal", - "src": "13899:32:1" + "src": "14310:32:0" } ], - "id": 977, + "id": 469, "name": "FunctionCall", - "src": "13883:49:1" + "src": "14294:49:0" } ], - "id": 978, + "id": 470, "name": "ExpressionStatement", - "src": "13883:49:1" + "src": "14294:49:0" }, { "attributes": { - "functionReturnParameters": 971 + "functionReturnParameters": 463 }, "children": [ { @@ -43268,46 +43268,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 965, + "referencedDeclaration": 457, "type": "uint256", "value": "a" }, - "id": 979, + "id": 471, "name": "Identifier", - "src": "13949:1:1" + "src": "14361:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 967, + "referencedDeclaration": 459, "type": "uint256", "value": "b" }, - "id": 980, + "id": 472, "name": "Identifier", - "src": "13953:1:1" + "src": "14365:1:0" } ], - "id": 981, + "id": 473, "name": "BinaryOperation", - "src": "13949:5:1" + "src": "14361:5:0" } ], - "id": 982, + "id": 474, "name": "Return", - "src": "13942:12:1" + "src": "14354:12:0" } ], - "id": 983, + "id": 475, "name": "Block", - "src": "13873:88:1" + "src": "14283:91:0" } ], - "id": 984, + "id": 476, "name": "FunctionDefinition", - "src": "13806:155:1" + "src": "14216:158:0" }, { "attributes": { @@ -43318,7 +43318,7 @@ null ], "name": "mul", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43328,9 +43328,9 @@ "attributes": { "text": " @dev Returns the multiplication of two unsigned integers, reverting on\n overflow.\n Counterpart to Solidity's `*` operator.\n Requirements:\n - Multiplication cannot overflow." }, - "id": 985, + "id": 477, "name": "StructuredDocumentation", - "src": "13967:236:1" + "src": "14382:245:0" }, { "children": [ @@ -43339,7 +43339,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43351,21 +43351,21 @@ "name": "uint256", "type": "uint256" }, - "id": 986, + "id": 478, "name": "ElementaryTypeName", - "src": "14221:7:1" + "src": "14646:7:0" } ], - "id": 987, + "id": 479, "name": "VariableDeclaration", - "src": "14221:9:1" + "src": "14646:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43377,19 +43377,19 @@ "name": "uint256", "type": "uint256" }, - "id": 988, + "id": 480, "name": "ElementaryTypeName", - "src": "14232:7:1" + "src": "14657:7:0" } ], - "id": 989, + "id": 481, "name": "VariableDeclaration", - "src": "14232:9:1" + "src": "14657:9:0" } ], - "id": 990, + "id": 482, "name": "ParameterList", - "src": "14220:22:1" + "src": "14645:22:0" }, { "children": [ @@ -43398,7 +43398,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1018, + "scope": 510, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43410,19 +43410,19 @@ "name": "uint256", "type": "uint256" }, - "id": 991, + "id": 483, "name": "ElementaryTypeName", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 992, + "id": 484, "name": "VariableDeclaration", - "src": "14266:7:1" + "src": "14691:7:0" } ], - "id": 993, + "id": 485, "name": "ParameterList", - "src": "14265:9:1" + "src": "14690:9:0" }, { "children": [ @@ -43448,13 +43448,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 994, + "id": 486, "name": "Identifier", - "src": "14289:1:1" + "src": "14715:1:0" }, { "attributes": { @@ -43467,18 +43467,18 @@ "type": "int_const 0", "value": "0" }, - "id": 995, + "id": 487, "name": "Literal", - "src": "14294:1:1" + "src": "14720:1:0" } ], - "id": 996, + "id": 488, "name": "BinaryOperation", - "src": "14289:6:1" + "src": "14715:6:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43492,24 +43492,24 @@ "type": "int_const 0", "value": "0" }, - "id": 997, + "id": 489, "name": "Literal", - "src": "14304:1:1" + "src": "14730:1:0" } ], - "id": 998, + "id": 490, "name": "Return", - "src": "14297:8:1" + "src": "14723:8:0" } ], - "id": 999, + "id": 491, "name": "IfStatement", - "src": "14285:20:1" + "src": "14711:20:0" }, { "attributes": { "assignments": [ - 1001 + 493 ] }, "children": [ @@ -43518,7 +43518,7 @@ "constant": false, "mutability": "mutable", "name": "c", - "scope": 1017, + "scope": 509, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43530,14 +43530,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1000, + "id": 492, "name": "ElementaryTypeName", - "src": "14315:7:1" + "src": "14742:7:0" } ], - "id": 1001, + "id": 493, "name": "VariableDeclaration", - "src": "14315:9:1" + "src": "14742:9:0" }, { "attributes": { @@ -43558,36 +43558,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1002, + "id": 494, "name": "Identifier", - "src": "14327:1:1" + "src": "14754:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1003, + "id": 495, "name": "Identifier", - "src": "14331:1:1" + "src": "14758:1:0" } ], - "id": 1004, + "id": 496, "name": "BinaryOperation", - "src": "14327:5:1" + "src": "14754:5:0" } ], - "id": 1005, + "id": 497, "name": "VariableDeclarationStatement", - "src": "14315:17:1" + "src": "14742:17:0" }, { "children": [ @@ -43626,9 +43626,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1006, + "id": 498, "name": "Identifier", - "src": "14342:7:1" + "src": "14770:7:0" }, { "attributes": { @@ -43663,49 +43663,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1007, + "id": 499, "name": "Identifier", - "src": "14350:1:1" + "src": "14778:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 987, + "referencedDeclaration": 479, "type": "uint256", "value": "a" }, - "id": 1008, + "id": 500, "name": "Identifier", - "src": "14354:1:1" + "src": "14782:1:0" } ], - "id": 1009, + "id": 501, "name": "BinaryOperation", - "src": "14350:5:1" + "src": "14778:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 989, + "referencedDeclaration": 481, "type": "uint256", "value": "b" }, - "id": 1010, + "id": 502, "name": "Identifier", - "src": "14359:1:1" + "src": "14787:1:0" } ], - "id": 1011, + "id": 503, "name": "BinaryOperation", - "src": "14350:10:1" + "src": "14778:10:0" }, { "attributes": { @@ -43718,23 +43718,23 @@ "type": "literal_string \"SafeMath: multiplication overflow\"", "value": "SafeMath: multiplication overflow" }, - "id": 1012, + "id": 504, "name": "Literal", - "src": "14362:35:1" + "src": "14790:35:0" } ], - "id": 1013, + "id": 505, "name": "FunctionCall", - "src": "14342:56:1" + "src": "14770:56:0" } ], - "id": 1014, + "id": 506, "name": "ExpressionStatement", - "src": "14342:56:1" + "src": "14770:56:0" }, { "attributes": { - "functionReturnParameters": 993 + "functionReturnParameters": 485 }, "children": [ { @@ -43742,28 +43742,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1001, + "referencedDeclaration": 493, "type": "uint256", "value": "c" }, - "id": 1015, + "id": 507, "name": "Identifier", - "src": "14415:1:1" + "src": "14844:1:0" } ], - "id": 1016, + "id": 508, "name": "Return", - "src": "14408:8:1" + "src": "14837:8:0" } ], - "id": 1017, + "id": 509, "name": "Block", - "src": "14275:148:1" + "src": "14700:153:0" } ], - "id": 1018, + "id": 510, "name": "FunctionDefinition", - "src": "14208:215:1" + "src": "14633:220:0" }, { "attributes": { @@ -43774,7 +43774,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -43784,9 +43784,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting on\n division by zero. The result is rounded towards zero.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1019, + "id": 511, "name": "StructuredDocumentation", - "src": "14429:453:1" + "src": "14861:464:0" }, { "children": [ @@ -43795,7 +43795,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43807,21 +43807,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1020, + "id": 512, "name": "ElementaryTypeName", - "src": "14900:7:1" + "src": "15344:7:0" } ], - "id": 1021, + "id": 513, "name": "VariableDeclaration", - "src": "14900:9:1" + "src": "15344:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43833,19 +43833,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1022, + "id": 514, "name": "ElementaryTypeName", - "src": "14911:7:1" + "src": "15355:7:0" } ], - "id": 1023, + "id": 515, "name": "VariableDeclaration", - "src": "14911:9:1" + "src": "15355:9:0" } ], - "id": 1024, + "id": 516, "name": "ParameterList", - "src": "14899:22:1" + "src": "15343:22:0" }, { "children": [ @@ -43854,7 +43854,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1040, + "scope": 532, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -43866,19 +43866,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1025, + "id": 517, "name": "ElementaryTypeName", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1026, + "id": 518, "name": "VariableDeclaration", - "src": "14945:7:1" + "src": "15389:7:0" } ], - "id": 1027, + "id": 519, "name": "ParameterList", - "src": "14944:9:1" + "src": "15388:9:0" }, { "children": [ @@ -43919,9 +43919,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1028, + "id": 520, "name": "Identifier", - "src": "14964:7:1" + "src": "15409:7:0" }, { "attributes": { @@ -43942,13 +43942,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1029, + "id": 521, "name": "Identifier", - "src": "14972:1:1" + "src": "15417:1:0" }, { "attributes": { @@ -43961,14 +43961,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1030, + "id": 522, "name": "Literal", - "src": "14976:1:1" + "src": "15421:1:0" } ], - "id": 1031, + "id": 523, "name": "BinaryOperation", - "src": "14972:5:1" + "src": "15417:5:0" }, { "attributes": { @@ -43981,23 +43981,23 @@ "type": "literal_string \"SafeMath: division by zero\"", "value": "SafeMath: division by zero" }, - "id": 1032, + "id": 524, "name": "Literal", - "src": "14979:28:1" + "src": "15424:28:0" } ], - "id": 1033, + "id": 525, "name": "FunctionCall", - "src": "14964:44:1" + "src": "15409:44:0" } ], - "id": 1034, + "id": 526, "name": "ExpressionStatement", - "src": "14964:44:1" + "src": "15409:44:0" }, { "attributes": { - "functionReturnParameters": 1027 + "functionReturnParameters": 519 }, "children": [ { @@ -44019,46 +44019,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1021, + "referencedDeclaration": 513, "type": "uint256", "value": "a" }, - "id": 1035, + "id": 527, "name": "Identifier", - "src": "15025:1:1" + "src": "15471:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1023, + "referencedDeclaration": 515, "type": "uint256", "value": "b" }, - "id": 1036, + "id": 528, "name": "Identifier", - "src": "15029:1:1" + "src": "15475:1:0" } ], - "id": 1037, + "id": 529, "name": "BinaryOperation", - "src": "15025:5:1" + "src": "15471:5:0" } ], - "id": 1038, + "id": 530, "name": "Return", - "src": "15018:12:1" + "src": "15464:12:0" } ], - "id": 1039, + "id": 531, "name": "Block", - "src": "14954:83:1" + "src": "15398:86:0" } ], - "id": 1040, + "id": 532, "name": "FunctionDefinition", - "src": "14887:150:1" + "src": "15331:153:0" }, { "attributes": { @@ -44069,7 +44069,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44079,9 +44079,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting when dividing by zero.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1041, + "id": 533, "name": "StructuredDocumentation", - "src": "15043:442:1" + "src": "15492:453:0" }, { "children": [ @@ -44090,7 +44090,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44102,21 +44102,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1042, + "id": 534, "name": "ElementaryTypeName", - "src": "15503:7:1" + "src": "15964:7:0" } ], - "id": 1043, + "id": 535, "name": "VariableDeclaration", - "src": "15503:9:1" + "src": "15964:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44128,19 +44128,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1044, + "id": 536, "name": "ElementaryTypeName", - "src": "15514:7:1" + "src": "15975:7:0" } ], - "id": 1045, + "id": 537, "name": "VariableDeclaration", - "src": "15514:9:1" + "src": "15975:9:0" } ], - "id": 1046, + "id": 538, "name": "ParameterList", - "src": "15502:22:1" + "src": "15963:22:0" }, { "children": [ @@ -44149,7 +44149,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1062, + "scope": 554, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44161,19 +44161,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1047, + "id": 539, "name": "ElementaryTypeName", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1048, + "id": 540, "name": "VariableDeclaration", - "src": "15548:7:1" + "src": "16009:7:0" } ], - "id": 1049, + "id": 541, "name": "ParameterList", - "src": "15547:9:1" + "src": "16008:9:0" }, { "children": [ @@ -44214,9 +44214,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1050, + "id": 542, "name": "Identifier", - "src": "15567:7:1" + "src": "16029:7:0" }, { "attributes": { @@ -44237,13 +44237,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1051, + "id": 543, "name": "Identifier", - "src": "15575:1:1" + "src": "16037:1:0" }, { "attributes": { @@ -44256,14 +44256,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1052, + "id": 544, "name": "Literal", - "src": "15579:1:1" + "src": "16041:1:0" } ], - "id": 1053, + "id": 545, "name": "BinaryOperation", - "src": "15575:5:1" + "src": "16037:5:0" }, { "attributes": { @@ -44276,23 +44276,23 @@ "type": "literal_string \"SafeMath: modulo by zero\"", "value": "SafeMath: modulo by zero" }, - "id": 1054, + "id": 546, "name": "Literal", - "src": "15582:26:1" + "src": "16044:26:0" } ], - "id": 1055, + "id": 547, "name": "FunctionCall", - "src": "15567:42:1" + "src": "16029:42:0" } ], - "id": 1056, + "id": 548, "name": "ExpressionStatement", - "src": "15567:42:1" + "src": "16029:42:0" }, { "attributes": { - "functionReturnParameters": 1049 + "functionReturnParameters": 541 }, "children": [ { @@ -44314,46 +44314,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1043, + "referencedDeclaration": 535, "type": "uint256", "value": "a" }, - "id": 1057, + "id": 549, "name": "Identifier", - "src": "15626:1:1" + "src": "16089:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1045, + "referencedDeclaration": 537, "type": "uint256", "value": "b" }, - "id": 1058, + "id": 550, "name": "Identifier", - "src": "15630:1:1" + "src": "16093:1:0" } ], - "id": 1059, + "id": 551, "name": "BinaryOperation", - "src": "15626:5:1" + "src": "16089:5:0" } ], - "id": 1060, + "id": 552, "name": "Return", - "src": "15619:12:1" + "src": "16082:12:0" } ], - "id": 1061, + "id": 553, "name": "Block", - "src": "15557:81:1" + "src": "16018:84:0" } ], - "id": 1062, + "id": 554, "name": "FunctionDefinition", - "src": "15490:148:1" + "src": "15951:151:0" }, { "attributes": { @@ -44364,7 +44364,7 @@ null ], "name": "sub", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44374,9 +44374,9 @@ "attributes": { "text": " @dev Returns the subtraction of two unsigned integers, reverting with custom message on\n overflow (when the result is negative).\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {trySub}.\n Counterpart to Solidity's `-` operator.\n Requirements:\n - Subtraction cannot overflow." }, - "id": 1063, + "id": 555, "name": "StructuredDocumentation", - "src": "15644:453:1" + "src": "16110:465:0" }, { "children": [ @@ -44385,7 +44385,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44397,21 +44397,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1064, + "id": 556, "name": "ElementaryTypeName", - "src": "16115:7:1" + "src": "16594:7:0" } ], - "id": 1065, + "id": 557, "name": "VariableDeclaration", - "src": "16115:9:1" + "src": "16594:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44423,21 +44423,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1066, + "id": 558, "name": "ElementaryTypeName", - "src": "16126:7:1" + "src": "16605:7:0" } ], - "id": 1067, + "id": 559, "name": "VariableDeclaration", - "src": "16126:9:1" + "src": "16605:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44449,19 +44449,19 @@ "name": "string", "type": "string" }, - "id": 1068, + "id": 560, "name": "ElementaryTypeName", - "src": "16137:6:1" + "src": "16616:6:0" } ], - "id": 1069, + "id": 561, "name": "VariableDeclaration", - "src": "16137:26:1" + "src": "16616:26:0" } ], - "id": 1070, + "id": 562, "name": "ParameterList", - "src": "16114:50:1" + "src": "16593:50:0" }, { "children": [ @@ -44470,7 +44470,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1086, + "scope": 578, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44482,19 +44482,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1071, + "id": 563, "name": "ElementaryTypeName", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1072, + "id": 564, "name": "VariableDeclaration", - "src": "16188:7:1" + "src": "16667:7:0" } ], - "id": 1073, + "id": 565, "name": "ParameterList", - "src": "16187:9:1" + "src": "16666:9:0" }, { "children": [ @@ -44535,9 +44535,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1074, + "id": 566, "name": "Identifier", - "src": "16207:7:1" + "src": "16687:7:0" }, { "attributes": { @@ -44558,58 +44558,58 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1075, + "id": 567, "name": "Identifier", - "src": "16215:1:1" + "src": "16695:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1076, + "id": 568, "name": "Identifier", - "src": "16220:1:1" + "src": "16700:1:0" } ], - "id": 1077, + "id": 569, "name": "BinaryOperation", - "src": "16215:6:1" + "src": "16695:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1069, + "referencedDeclaration": 561, "type": "string memory", "value": "errorMessage" }, - "id": 1078, + "id": 570, "name": "Identifier", - "src": "16223:12:1" + "src": "16703:12:0" } ], - "id": 1079, + "id": 571, "name": "FunctionCall", - "src": "16207:29:1" + "src": "16687:29:0" } ], - "id": 1080, + "id": 572, "name": "ExpressionStatement", - "src": "16207:29:1" + "src": "16687:29:0" }, { "attributes": { - "functionReturnParameters": 1073 + "functionReturnParameters": 565 }, "children": [ { @@ -44631,46 +44631,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1065, + "referencedDeclaration": 557, "type": "uint256", "value": "a" }, - "id": 1081, + "id": 573, "name": "Identifier", - "src": "16253:1:1" + "src": "16734:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1067, + "referencedDeclaration": 559, "type": "uint256", "value": "b" }, - "id": 1082, + "id": 574, "name": "Identifier", - "src": "16257:1:1" + "src": "16738:1:0" } ], - "id": 1083, + "id": 575, "name": "BinaryOperation", - "src": "16253:5:1" + "src": "16734:5:0" } ], - "id": 1084, + "id": 576, "name": "Return", - "src": "16246:12:1" + "src": "16727:12:0" } ], - "id": 1085, + "id": 577, "name": "Block", - "src": "16197:68:1" + "src": "16676:71:0" } ], - "id": 1086, + "id": 578, "name": "FunctionDefinition", - "src": "16102:163:1" + "src": "16581:166:0" }, { "attributes": { @@ -44681,7 +44681,7 @@ null ], "name": "div", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -44691,9 +44691,9 @@ "attributes": { "text": " @dev Returns the integer division of two unsigned integers, reverting with custom message on\n division by zero. The result is rounded towards zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryDiv}.\n Counterpart to Solidity's `/` operator. Note: this function uses a\n `revert` opcode (which leaves remaining gas untouched) while Solidity\n uses an invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1087, + "id": 579, "name": "StructuredDocumentation", - "src": "16271:646:1" + "src": "16755:660:0" }, { "children": [ @@ -44702,7 +44702,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44714,21 +44714,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1088, + "id": 580, "name": "ElementaryTypeName", - "src": "16935:7:1" + "src": "17434:7:0" } ], - "id": 1089, + "id": 581, "name": "VariableDeclaration", - "src": "16935:9:1" + "src": "17434:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44740,21 +44740,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1090, + "id": 582, "name": "ElementaryTypeName", - "src": "16946:7:1" + "src": "17445:7:0" } ], - "id": 1091, + "id": 583, "name": "VariableDeclaration", - "src": "16946:9:1" + "src": "17445:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -44766,19 +44766,19 @@ "name": "string", "type": "string" }, - "id": 1092, + "id": 584, "name": "ElementaryTypeName", - "src": "16957:6:1" + "src": "17456:6:0" } ], - "id": 1093, + "id": 585, "name": "VariableDeclaration", - "src": "16957:26:1" + "src": "17456:26:0" } ], - "id": 1094, + "id": 586, "name": "ParameterList", - "src": "16934:50:1" + "src": "17433:50:0" }, { "children": [ @@ -44787,7 +44787,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1110, + "scope": 602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -44799,19 +44799,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1095, + "id": 587, "name": "ElementaryTypeName", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1096, + "id": 588, "name": "VariableDeclaration", - "src": "17008:7:1" + "src": "17507:7:0" } ], - "id": 1097, + "id": 589, "name": "ParameterList", - "src": "17007:9:1" + "src": "17506:9:0" }, { "children": [ @@ -44852,9 +44852,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1098, + "id": 590, "name": "Identifier", - "src": "17027:7:1" + "src": "17527:7:0" }, { "attributes": { @@ -44875,13 +44875,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1099, + "id": 591, "name": "Identifier", - "src": "17035:1:1" + "src": "17535:1:0" }, { "attributes": { @@ -44894,41 +44894,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1100, + "id": 592, "name": "Literal", - "src": "17039:1:1" + "src": "17539:1:0" } ], - "id": 1101, + "id": 593, "name": "BinaryOperation", - "src": "17035:5:1" + "src": "17535:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1093, + "referencedDeclaration": 585, "type": "string memory", "value": "errorMessage" }, - "id": 1102, + "id": 594, "name": "Identifier", - "src": "17042:12:1" + "src": "17542:12:0" } ], - "id": 1103, + "id": 595, "name": "FunctionCall", - "src": "17027:28:1" + "src": "17527:28:0" } ], - "id": 1104, + "id": 596, "name": "ExpressionStatement", - "src": "17027:28:1" + "src": "17527:28:0" }, { "attributes": { - "functionReturnParameters": 1097 + "functionReturnParameters": 589 }, "children": [ { @@ -44950,46 +44950,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1089, + "referencedDeclaration": 581, "type": "uint256", "value": "a" }, - "id": 1105, + "id": 597, "name": "Identifier", - "src": "17072:1:1" + "src": "17573:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1091, + "referencedDeclaration": 583, "type": "uint256", "value": "b" }, - "id": 1106, + "id": 598, "name": "Identifier", - "src": "17076:1:1" + "src": "17577:1:0" } ], - "id": 1107, + "id": 599, "name": "BinaryOperation", - "src": "17072:5:1" + "src": "17573:5:0" } ], - "id": 1108, + "id": 600, "name": "Return", - "src": "17065:12:1" + "src": "17566:12:0" } ], - "id": 1109, + "id": 601, "name": "Block", - "src": "17017:67:1" + "src": "17516:70:0" } ], - "id": 1110, + "id": 602, "name": "FunctionDefinition", - "src": "16922:162:1" + "src": "17421:165:0" }, { "attributes": { @@ -45000,7 +45000,7 @@ null ], "name": "mod", - "scope": 1135, + "scope": 627, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -45010,9 +45010,9 @@ "attributes": { "text": " @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),\n reverting with custom message when dividing by zero.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryMod}.\n Counterpart to Solidity's `%` operator. This function uses a `revert`\n opcode (which leaves remaining gas untouched) while Solidity uses an\n invalid opcode to revert (consuming all remaining gas).\n Requirements:\n - The divisor cannot be zero." }, - "id": 1111, + "id": 603, "name": "StructuredDocumentation", - "src": "17090:635:1" + "src": "17594:649:0" }, { "children": [ @@ -45021,7 +45021,7 @@ "constant": false, "mutability": "mutable", "name": "a", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45033,21 +45033,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1112, + "id": 604, "name": "ElementaryTypeName", - "src": "17743:7:1" + "src": "18262:7:0" } ], - "id": 1113, + "id": 605, "name": "VariableDeclaration", - "src": "17743:9:1" + "src": "18262:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "b", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45059,21 +45059,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1114, + "id": 606, "name": "ElementaryTypeName", - "src": "17754:7:1" + "src": "18273:7:0" } ], - "id": 1115, + "id": 607, "name": "VariableDeclaration", - "src": "17754:9:1" + "src": "18273:9:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -45085,19 +45085,19 @@ "name": "string", "type": "string" }, - "id": 1116, + "id": 608, "name": "ElementaryTypeName", - "src": "17765:6:1" + "src": "18284:6:0" } ], - "id": 1117, + "id": 609, "name": "VariableDeclaration", - "src": "17765:26:1" + "src": "18284:26:0" } ], - "id": 1118, + "id": 610, "name": "ParameterList", - "src": "17742:50:1" + "src": "18261:50:0" }, { "children": [ @@ -45106,7 +45106,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1134, + "scope": 626, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45118,19 +45118,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1119, + "id": 611, "name": "ElementaryTypeName", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1120, + "id": 612, "name": "VariableDeclaration", - "src": "17816:7:1" + "src": "18335:7:0" } ], - "id": 1121, + "id": 613, "name": "ParameterList", - "src": "17815:9:1" + "src": "18334:9:0" }, { "children": [ @@ -45171,9 +45171,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1122, + "id": 614, "name": "Identifier", - "src": "17835:7:1" + "src": "18355:7:0" }, { "attributes": { @@ -45194,13 +45194,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1123, + "id": 615, "name": "Identifier", - "src": "17843:1:1" + "src": "18363:1:0" }, { "attributes": { @@ -45213,41 +45213,41 @@ "type": "int_const 0", "value": "0" }, - "id": 1124, + "id": 616, "name": "Literal", - "src": "17847:1:1" + "src": "18367:1:0" } ], - "id": 1125, + "id": 617, "name": "BinaryOperation", - "src": "17843:5:1" + "src": "18363:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1117, + "referencedDeclaration": 609, "type": "string memory", "value": "errorMessage" }, - "id": 1126, + "id": 618, "name": "Identifier", - "src": "17850:12:1" + "src": "18370:12:0" } ], - "id": 1127, + "id": 619, "name": "FunctionCall", - "src": "17835:28:1" + "src": "18355:28:0" } ], - "id": 1128, + "id": 620, "name": "ExpressionStatement", - "src": "17835:28:1" + "src": "18355:28:0" }, { "attributes": { - "functionReturnParameters": 1121 + "functionReturnParameters": 613 }, "children": [ { @@ -45269,51 +45269,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1113, + "referencedDeclaration": 605, "type": "uint256", "value": "a" }, - "id": 1129, + "id": 621, "name": "Identifier", - "src": "17880:1:1" + "src": "18401:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1115, + "referencedDeclaration": 607, "type": "uint256", "value": "b" }, - "id": 1130, + "id": 622, "name": "Identifier", - "src": "17884:1:1" + "src": "18405:1:0" } ], - "id": 1131, + "id": 623, "name": "BinaryOperation", - "src": "17880:5:1" + "src": "18401:5:0" } ], - "id": 1132, + "id": 624, "name": "Return", - "src": "17873:12:1" + "src": "18394:12:0" } ], - "id": 1133, + "id": 625, "name": "Block", - "src": "17825:67:1" + "src": "18344:70:0" } ], - "id": 1134, + "id": 626, "name": "FunctionDefinition", - "src": "17730:162:1" + "src": "18249:165:0" } ], - "id": 1135, + "id": 627, "name": "ContractDefinition", - "src": "11300:6594:1" + "src": "11627:6790:0" }, { "attributes": { @@ -45327,9 +45327,9 @@ ".0" ] }, - "id": 1136, + "id": 628, "name": "PragmaDirective", - "src": "17947:31:1" + "src": "18473:31:0" }, { "attributes": { @@ -45343,19 +45343,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1430 + 922 ], "name": "Address", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Collection of functions related to the address type" }, - "id": 1137, + "id": 629, "name": "StructuredDocumentation", - "src": "17980:67:1" + "src": "18508:69:0" }, { "attributes": { @@ -45366,7 +45366,7 @@ null ], "name": "isContract", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -45376,9 +45376,9 @@ "attributes": { "text": " @dev Returns true if `account` is a contract.\n [IMPORTANT]\n ====\n It is unsafe to assume that an address for which this function returns\n false is an externally-owned account (EOA) and not a contract.\n Among others, `isContract` will return false for the following\n types of addresses:\n - an externally-owned account\n - a contract in construction\n - an address where a contract will be created\n - an address where a contract lived, but was destroyed\n ====" }, - "id": 1138, + "id": 630, "name": "StructuredDocumentation", - "src": "18070:565:1" + "src": "18602:581:0" }, { "children": [ @@ -45387,7 +45387,7 @@ "constant": false, "mutability": "mutable", "name": "account", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -45400,19 +45400,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1139, + "id": 631, "name": "ElementaryTypeName", - "src": "18660:7:1" + "src": "19209:7:0" } ], - "id": 1140, + "id": 632, "name": "VariableDeclaration", - "src": "18660:15:1" + "src": "19209:15:0" } ], - "id": 1141, + "id": 633, "name": "ParameterList", - "src": "18659:17:1" + "src": "19208:17:0" }, { "children": [ @@ -45421,7 +45421,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1154, + "scope": 646, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45433,26 +45433,26 @@ "name": "bool", "type": "bool" }, - "id": 1142, + "id": 634, "name": "ElementaryTypeName", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1143, + "id": 635, "name": "VariableDeclaration", - "src": "18700:4:1" + "src": "19249:4:0" } ], - "id": 1144, + "id": 636, "name": "ParameterList", - "src": "18699:6:1" + "src": "19248:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1146 + 638 ] }, "children": [ @@ -45461,7 +45461,7 @@ "constant": false, "mutability": "mutable", "name": "size", - "scope": 1153, + "scope": 645, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45473,49 +45473,49 @@ "name": "uint256", "type": "uint256" }, - "id": 1145, + "id": 637, "name": "ElementaryTypeName", - "src": "18903:7:1" + "src": "19457:7:0" } ], - "id": 1146, + "id": 638, "name": "VariableDeclaration", - "src": "18903:12:1" + "src": "19457:12:0" } ], - "id": 1147, + "id": 639, "name": "VariableDeclarationStatement", - "src": "18903:12:1" + "src": "19457:12:0" }, { "attributes": { "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1140, + "declaration": 632, "isOffset": false, "isSlot": false, - "src": "19012:7:1", + "src": "19568:7:0", "valueSize": 1 }, { - "declaration": 1146, + "declaration": 638, "isOffset": false, "isSlot": false, - "src": "18992:4:1", + "src": "19548:4:0", "valueSize": 1 } ], "operations": "{ size := extcodesize(account) }" }, "children": [], - "id": 1148, + "id": 640, "name": "InlineAssembly", - "src": "18981:41:1" + "src": "19537:41:0" }, { "attributes": { - "functionReturnParameters": 1144 + "functionReturnParameters": 636 }, "children": [ { @@ -45537,13 +45537,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1146, + "referencedDeclaration": 638, "type": "uint256", "value": "size" }, - "id": 1149, + "id": 641, "name": "Identifier", - "src": "19038:4:1" + "src": "19595:4:0" }, { "attributes": { @@ -45556,29 +45556,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1150, + "id": 642, "name": "Literal", - "src": "19045:1:1" + "src": "19602:1:0" } ], - "id": 1151, + "id": 643, "name": "BinaryOperation", - "src": "19038:8:1" + "src": "19595:8:0" } ], - "id": 1152, + "id": 644, "name": "Return", - "src": "19031:15:1" + "src": "19588:15:0" } ], - "id": 1153, + "id": 645, "name": "Block", - "src": "18706:347:1" + "src": "19255:356:0" } ], - "id": 1154, + "id": 646, "name": "FunctionDefinition", - "src": "18640:413:1" + "src": "19189:422:0" }, { "attributes": { @@ -45589,7 +45589,7 @@ null ], "name": "sendValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -45599,9 +45599,9 @@ "attributes": { "text": " @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n `recipient`, forwarding all available gas and reverting on errors.\n https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n of certain opcodes, possibly making contracts go over the 2300 gas limit\n imposed by `transfer`, making them unable to receive funds via\n `transfer`. {sendValue} removes this limitation.\n https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n IMPORTANT: because control is transferred to `recipient`, care must be\n taken to not create reentrancy vulnerabilities. Consider using\n {ReentrancyGuard} or the\n https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]." }, - "id": 1155, + "id": 647, "name": "StructuredDocumentation", - "src": "19059:906:1" + "src": "19619:921:0" }, { "children": [ @@ -45610,7 +45610,7 @@ "constant": false, "mutability": "mutable", "name": "recipient", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "address payable", @@ -45623,21 +45623,21 @@ "stateMutability": "payable", "type": "address payable" }, - "id": 1156, + "id": 648, "name": "ElementaryTypeName", - "src": "19989:15:1" + "src": "20565:15:0" } ], - "id": 1157, + "id": 649, "name": "VariableDeclaration", - "src": "19989:25:1" + "src": "20565:25:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "amount", - "scope": 1188, + "scope": 680, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -45649,19 +45649,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1158, + "id": 650, "name": "ElementaryTypeName", - "src": "20016:7:1" + "src": "20592:7:0" } ], - "id": 1159, + "id": 651, "name": "VariableDeclaration", - "src": "20016:14:1" + "src": "20592:14:0" } ], - "id": 1160, + "id": 652, "name": "ParameterList", - "src": "19988:43:1" + "src": "20564:43:0" }, { "attributes": { @@ -45670,9 +45670,9 @@ ] }, "children": [], - "id": 1161, + "id": 653, "name": "ParameterList", - "src": "20041:0:1" + "src": "20617:0:0" }, { "children": [ @@ -45713,9 +45713,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1162, + "id": 654, "name": "Identifier", - "src": "20051:7:1" + "src": "20628:7:0" }, { "attributes": { @@ -45760,7 +45760,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -45775,14 +45775,14 @@ "attributes": { "name": "address" }, - "id": 1163, + "id": 655, "name": "ElementaryTypeName", - "src": "20059:7:1" + "src": "20636:7:0" } ], - "id": 1164, + "id": 656, "name": "ElementaryTypeNameExpression", - "src": "20059:7:1" + "src": "20636:7:0" }, { "attributes": { @@ -45793,37 +45793,37 @@ "type": "library Address", "value": "this" }, - "id": 1165, + "id": 657, "name": "Identifier", - "src": "20067:4:1" + "src": "20644:4:0" } ], - "id": 1166, + "id": 658, "name": "FunctionCall", - "src": "20059:13:1" + "src": "20636:13:0" } ], - "id": 1167, + "id": 659, "name": "MemberAccess", - "src": "20059:21:1" + "src": "20636:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1168, + "id": 660, "name": "Identifier", - "src": "20084:6:1" + "src": "20661:6:0" } ], - "id": 1169, + "id": 661, "name": "BinaryOperation", - "src": "20059:31:1" + "src": "20636:31:0" }, { "attributes": { @@ -45836,24 +45836,24 @@ "type": "literal_string \"Address: insufficient balance\"", "value": "Address: insufficient balance" }, - "id": 1170, + "id": 662, "name": "Literal", - "src": "20092:31:1" + "src": "20669:31:0" } ], - "id": 1171, + "id": 663, "name": "FunctionCall", - "src": "20051:73:1" + "src": "20628:73:0" } ], - "id": 1172, + "id": 664, "name": "ExpressionStatement", - "src": "20051:73:1" + "src": "20628:73:0" }, { "attributes": { "assignments": [ - 1174, + 666, null ] }, @@ -45863,7 +45863,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1187, + "scope": 679, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -45875,14 +45875,14 @@ "name": "bool", "type": "bool" }, - "id": 1173, + "id": 665, "name": "ElementaryTypeName", - "src": "20213:4:1" + "src": "20793:4:0" } ], - "id": 1174, + "id": 666, "name": "VariableDeclaration", - "src": "20213:12:1" + "src": "20793:12:0" }, { "attributes": { @@ -45938,36 +45938,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1157, + "referencedDeclaration": 649, "type": "address payable", "value": "recipient" }, - "id": 1175, + "id": 667, "name": "Identifier", - "src": "20231:9:1" + "src": "20811:9:0" } ], - "id": 1176, + "id": 668, "name": "MemberAccess", - "src": "20231:14:1" + "src": "20811:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1159, + "referencedDeclaration": 651, "type": "uint256", "value": "amount" }, - "id": 1177, + "id": 669, "name": "Identifier", - "src": "20254:6:1" + "src": "20834:6:0" } ], - "id": 1178, + "id": 670, "name": "FunctionCallOptions", - "src": "20231:31:1" + "src": "20811:31:0" }, { "attributes": { @@ -45980,19 +45980,19 @@ "type": "literal_string \"\"", "value": "" }, - "id": 1179, + "id": 671, "name": "Literal", - "src": "20263:2:1" + "src": "20843:2:0" } ], - "id": 1180, + "id": 672, "name": "FunctionCall", - "src": "20231:35:1" + "src": "20811:35:0" } ], - "id": 1181, + "id": 673, "name": "VariableDeclarationStatement", - "src": "20212:54:1" + "src": "20792:54:0" }, { "children": [ @@ -46031,22 +46031,22 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1182, + "id": 674, "name": "Identifier", - "src": "20276:7:1" + "src": "20857:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1174, + "referencedDeclaration": 666, "type": "bool", "value": "success" }, - "id": 1183, + "id": 675, "name": "Identifier", - "src": "20284:7:1" + "src": "20865:7:0" }, { "attributes": { @@ -46059,29 +46059,29 @@ "type": "literal_string \"Address: unable to send value, recipient may have reverted\"", "value": "Address: unable to send value, recipient may have reverted" }, - "id": 1184, + "id": 676, "name": "Literal", - "src": "20293:60:1" + "src": "20874:60:0" } ], - "id": 1185, + "id": 677, "name": "FunctionCall", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1186, + "id": 678, "name": "ExpressionStatement", - "src": "20276:78:1" + "src": "20857:78:0" } ], - "id": 1187, + "id": 679, "name": "Block", - "src": "20041:320:1" + "src": "20617:326:0" } ], - "id": 1188, + "id": 680, "name": "FunctionDefinition", - "src": "19970:391:1" + "src": "20546:397:0" }, { "attributes": { @@ -46092,7 +46092,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46102,9 +46102,9 @@ "attributes": { "text": " @dev Performs a Solidity function call using a low level `call`. A\n plain`call` is an unsafe replacement for a function call: use this\n function instead.\n If `target` reverts with a revert reason, it is bubbled up by this\n function (like regular Solidity function calls).\n Returns the raw returned data. To convert to the expected return value,\n use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n Requirements:\n - `target` must be a contract.\n - calling `target` with `data` must not revert.\n _Available since v3.1._" }, - "id": 1189, + "id": 681, "name": "StructuredDocumentation", - "src": "20367:730:1" + "src": "20951:747:0" }, { "children": [ @@ -46113,7 +46113,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46126,21 +46126,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1190, + "id": 682, "name": "ElementaryTypeName", - "src": "21124:7:1" + "src": "21726:7:0" } ], - "id": 1191, + "id": 683, "name": "VariableDeclaration", - "src": "21124:14:1" + "src": "21726:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46152,19 +46152,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1192, + "id": 684, "name": "ElementaryTypeName", - "src": "21140:5:1" + "src": "21742:5:0" } ], - "id": 1193, + "id": 685, "name": "VariableDeclaration", - "src": "21140:17:1" + "src": "21742:17:0" } ], - "id": 1194, + "id": 686, "name": "ParameterList", - "src": "21123:35:1" + "src": "21725:35:0" }, { "children": [ @@ -46173,7 +46173,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1205, + "scope": 697, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46185,25 +46185,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1195, + "id": 687, "name": "ElementaryTypeName", - "src": "21177:5:1" + "src": "21779:5:0" } ], - "id": 1196, + "id": 688, "name": "VariableDeclaration", - "src": "21177:12:1" + "src": "21779:12:0" } ], - "id": 1197, + "id": 689, "name": "ParameterList", - "src": "21176:14:1" + "src": "21778:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1197 + "functionReturnParameters": 689 }, "children": [ { @@ -46238,42 +46238,42 @@ } ], "overloadedDeclarations": [ - 1205, - 1225 + 697, + 717 ], - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionCall" }, - "id": 1198, + "id": 690, "name": "Identifier", - "src": "21206:12:1" + "src": "21809:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1191, + "referencedDeclaration": 683, "type": "address", "value": "target" }, - "id": 1199, + "id": 691, "name": "Identifier", - "src": "21219:6:1" + "src": "21822:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1193, + "referencedDeclaration": 685, "type": "bytes memory", "value": "data" }, - "id": 1200, + "id": 692, "name": "Identifier", - "src": "21227:4:1" + "src": "21830:4:0" }, { "attributes": { @@ -46286,29 +46286,29 @@ "type": "literal_string \"Address: low-level call failed\"", "value": "Address: low-level call failed" }, - "id": 1201, + "id": 693, "name": "Literal", - "src": "21233:32:1" + "src": "21836:32:0" } ], - "id": 1202, + "id": 694, "name": "FunctionCall", - "src": "21206:60:1" + "src": "21809:60:0" } ], - "id": 1203, + "id": 695, "name": "Return", - "src": "21199:67:1" + "src": "21802:67:0" } ], - "id": 1204, + "id": 696, "name": "Block", - "src": "21191:82:1" + "src": "21793:84:0" } ], - "id": 1205, + "id": 697, "name": "FunctionDefinition", - "src": "21102:171:1" + "src": "21704:173:0" }, { "attributes": { @@ -46319,7 +46319,7 @@ null ], "name": "functionCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46329,9 +46329,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1206, + "id": 698, "name": "StructuredDocumentation", - "src": "21279:211:1" + "src": "21885:216:0" }, { "children": [ @@ -46340,7 +46340,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46353,21 +46353,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1207, + "id": 699, "name": "ElementaryTypeName", - "src": "21517:7:1" + "src": "22129:7:0" } ], - "id": 1208, + "id": 700, "name": "VariableDeclaration", - "src": "21517:14:1" + "src": "22129:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46379,21 +46379,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1209, + "id": 701, "name": "ElementaryTypeName", - "src": "21533:5:1" + "src": "22145:5:0" } ], - "id": 1210, + "id": 702, "name": "VariableDeclaration", - "src": "21533:17:1" + "src": "22145:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -46405,19 +46405,19 @@ "name": "string", "type": "string" }, - "id": 1211, + "id": 703, "name": "ElementaryTypeName", - "src": "21552:6:1" + "src": "22164:6:0" } ], - "id": 1212, + "id": 704, "name": "VariableDeclaration", - "src": "21552:26:1" + "src": "22164:26:0" } ], - "id": 1213, + "id": 705, "name": "ParameterList", - "src": "21516:63:1" + "src": "22128:63:0" }, { "children": [ @@ -46426,7 +46426,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1225, + "scope": 717, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46438,25 +46438,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1214, + "id": 706, "name": "ElementaryTypeName", - "src": "21598:5:1" + "src": "22210:5:0" } ], - "id": 1215, + "id": 707, "name": "VariableDeclaration", - "src": "21598:12:1" + "src": "22210:12:0" } ], - "id": 1216, + "id": 708, "name": "ParameterList", - "src": "21597:14:1" + "src": "22209:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1216 + "functionReturnParameters": 708 }, "children": [ { @@ -46495,42 +46495,42 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1217, + "id": 709, "name": "Identifier", - "src": "21629:21:1" + "src": "22242:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1208, + "referencedDeclaration": 700, "type": "address", "value": "target" }, - "id": 1218, + "id": 710, "name": "Identifier", - "src": "21651:6:1" + "src": "22264:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1210, + "referencedDeclaration": 702, "type": "bytes memory", "value": "data" }, - "id": 1219, + "id": 711, "name": "Identifier", - "src": "21659:4:1" + "src": "22272:4:0" }, { "attributes": { @@ -46543,42 +46543,42 @@ "type": "int_const 0", "value": "0" }, - "id": 1220, + "id": 712, "name": "Literal", - "src": "21665:1:1" + "src": "22278:1:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1212, + "referencedDeclaration": 704, "type": "string memory", "value": "errorMessage" }, - "id": 1221, + "id": 713, "name": "Identifier", - "src": "21668:12:1" + "src": "22281:12:0" } ], - "id": 1222, + "id": 714, "name": "FunctionCall", - "src": "21629:52:1" + "src": "22242:52:0" } ], - "id": 1223, + "id": 715, "name": "Return", - "src": "21622:59:1" + "src": "22235:59:0" } ], - "id": 1224, + "id": 716, "name": "Block", - "src": "21612:76:1" + "src": "22224:78:0" } ], - "id": 1225, + "id": 717, "name": "FunctionDefinition", - "src": "21495:193:1" + "src": "22107:195:0" }, { "attributes": { @@ -46589,7 +46589,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46599,9 +46599,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but also transferring `value` wei to `target`.\n Requirements:\n - the calling contract must have an ETH balance of at least `value`.\n - the called Solidity function must be `payable`.\n _Available since v3.1._" }, - "id": 1226, + "id": 718, "name": "StructuredDocumentation", - "src": "21694:351:1" + "src": "22310:361:0" }, { "children": [ @@ -46610,7 +46610,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46623,21 +46623,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1227, + "id": 719, "name": "ElementaryTypeName", - "src": "22081:7:1" + "src": "22708:7:0" } ], - "id": 1228, + "id": 720, "name": "VariableDeclaration", - "src": "22081:14:1" + "src": "22708:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46649,21 +46649,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1229, + "id": 721, "name": "ElementaryTypeName", - "src": "22097:5:1" + "src": "22724:5:0" } ], - "id": 1230, + "id": 722, "name": "VariableDeclaration", - "src": "22097:17:1" + "src": "22724:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -46675,19 +46675,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1231, + "id": 723, "name": "ElementaryTypeName", - "src": "22116:7:1" + "src": "22743:7:0" } ], - "id": 1232, + "id": 724, "name": "VariableDeclaration", - "src": "22116:13:1" + "src": "22743:13:0" } ], - "id": 1233, + "id": 725, "name": "ParameterList", - "src": "22080:50:1" + "src": "22707:50:0" }, { "children": [ @@ -46696,7 +46696,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1245, + "scope": 737, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46708,25 +46708,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1234, + "id": 726, "name": "ElementaryTypeName", - "src": "22149:5:1" + "src": "22776:5:0" } ], - "id": 1235, + "id": 727, "name": "VariableDeclaration", - "src": "22149:12:1" + "src": "22776:12:0" } ], - "id": 1236, + "id": 728, "name": "ParameterList", - "src": "22148:14:1" + "src": "22775:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1236 + "functionReturnParameters": 728 }, "children": [ { @@ -46765,55 +46765,55 @@ } ], "overloadedDeclarations": [ - 1245, - 1295 + 737, + 787 ], - "referencedDeclaration": 1295, + "referencedDeclaration": 787, "type": "function (address,bytes memory,uint256,string memory) returns (bytes memory)", "value": "functionCallWithValue" }, - "id": 1237, + "id": 729, "name": "Identifier", - "src": "22180:21:1" + "src": "22808:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1228, + "referencedDeclaration": 720, "type": "address", "value": "target" }, - "id": 1238, + "id": 730, "name": "Identifier", - "src": "22202:6:1" + "src": "22830:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1230, + "referencedDeclaration": 722, "type": "bytes memory", "value": "data" }, - "id": 1239, + "id": 731, "name": "Identifier", - "src": "22210:4:1" + "src": "22838:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1232, + "referencedDeclaration": 724, "type": "uint256", "value": "value" }, - "id": 1240, + "id": 732, "name": "Identifier", - "src": "22216:5:1" + "src": "22844:5:0" }, { "attributes": { @@ -46826,29 +46826,29 @@ "type": "literal_string \"Address: low-level call with value failed\"", "value": "Address: low-level call with value failed" }, - "id": 1241, + "id": 733, "name": "Literal", - "src": "22223:43:1" + "src": "22851:43:0" } ], - "id": 1242, + "id": 734, "name": "FunctionCall", - "src": "22180:87:1" + "src": "22808:87:0" } ], - "id": 1243, + "id": 735, "name": "Return", - "src": "22173:94:1" + "src": "22801:94:0" } ], - "id": 1244, + "id": 736, "name": "Block", - "src": "22163:111:1" + "src": "22790:113:0" } ], - "id": 1245, + "id": 737, "name": "FunctionDefinition", - "src": "22050:224:1" + "src": "22677:226:0" }, { "attributes": { @@ -46859,7 +46859,7 @@ null ], "name": "functionCallWithValue", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -46869,9 +46869,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n with `errorMessage` as a fallback revert reason when `target` reverts.\n _Available since v3.1._" }, - "id": 1246, + "id": 738, "name": "StructuredDocumentation", - "src": "22280:237:1" + "src": "22911:242:0" }, { "children": [ @@ -46880,7 +46880,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -46893,21 +46893,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1247, + "id": 739, "name": "ElementaryTypeName", - "src": "22553:7:1" + "src": "23190:7:0" } ], - "id": 1248, + "id": 740, "name": "VariableDeclaration", - "src": "22553:14:1" + "src": "23190:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -46919,21 +46919,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1249, + "id": 741, "name": "ElementaryTypeName", - "src": "22569:5:1" + "src": "23206:5:0" } ], - "id": 1250, + "id": 742, "name": "VariableDeclaration", - "src": "22569:17:1" + "src": "23206:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -46945,21 +46945,21 @@ "name": "uint256", "type": "uint256" }, - "id": 1251, + "id": 743, "name": "ElementaryTypeName", - "src": "22588:7:1" + "src": "23225:7:0" } ], - "id": 1252, + "id": 744, "name": "VariableDeclaration", - "src": "22588:13:1" + "src": "23225:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -46971,19 +46971,19 @@ "name": "string", "type": "string" }, - "id": 1253, + "id": 745, "name": "ElementaryTypeName", - "src": "22603:6:1" + "src": "23240:6:0" } ], - "id": 1254, + "id": 746, "name": "VariableDeclaration", - "src": "22603:26:1" + "src": "23240:26:0" } ], - "id": 1255, + "id": 747, "name": "ParameterList", - "src": "22552:78:1" + "src": "23189:78:0" }, { "children": [ @@ -46992,7 +46992,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1295, + "scope": 787, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47004,19 +47004,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1256, + "id": 748, "name": "ElementaryTypeName", - "src": "22649:5:1" + "src": "23286:5:0" } ], - "id": 1257, + "id": 749, "name": "VariableDeclaration", - "src": "22649:12:1" + "src": "23286:12:0" } ], - "id": 1258, + "id": 750, "name": "ParameterList", - "src": "22648:14:1" + "src": "23285:14:0" }, { "children": [ @@ -47057,9 +47057,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1259, + "id": 751, "name": "Identifier", - "src": "22673:7:1" + "src": "23311:7:0" }, { "attributes": { @@ -47104,7 +47104,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_contract$_Address_$1430", + "typeIdentifier": "t_contract$_Address_$922", "typeString": "library Address" } ], @@ -47119,14 +47119,14 @@ "attributes": { "name": "address" }, - "id": 1260, + "id": 752, "name": "ElementaryTypeName", - "src": "22681:7:1" + "src": "23319:7:0" } ], - "id": 1261, + "id": 753, "name": "ElementaryTypeNameExpression", - "src": "22681:7:1" + "src": "23319:7:0" }, { "attributes": { @@ -47137,37 +47137,37 @@ "type": "library Address", "value": "this" }, - "id": 1262, + "id": 754, "name": "Identifier", - "src": "22689:4:1" + "src": "23327:4:0" } ], - "id": 1263, + "id": 755, "name": "FunctionCall", - "src": "22681:13:1" + "src": "23319:13:0" } ], - "id": 1264, + "id": 756, "name": "MemberAccess", - "src": "22681:21:1" + "src": "23319:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1265, + "id": 757, "name": "Identifier", - "src": "22706:5:1" + "src": "23344:5:0" } ], - "id": 1266, + "id": 758, "name": "BinaryOperation", - "src": "22681:30:1" + "src": "23319:30:0" }, { "attributes": { @@ -47180,19 +47180,19 @@ "type": "literal_string \"Address: insufficient balance for call\"", "value": "Address: insufficient balance for call" }, - "id": 1267, + "id": 759, "name": "Literal", - "src": "22713:40:1" + "src": "23351:40:0" } ], - "id": 1268, + "id": 760, "name": "FunctionCall", - "src": "22673:81:1" + "src": "23311:81:0" } ], - "id": 1269, + "id": 761, "name": "ExpressionStatement", - "src": "22673:81:1" + "src": "23311:81:0" }, { "children": [ @@ -47231,9 +47231,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1270, + "id": 762, "name": "Identifier", - "src": "22764:7:1" + "src": "23403:7:0" }, { "attributes": { @@ -47261,31 +47261,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1271, + "id": 763, "name": "Identifier", - "src": "22772:10:1" + "src": "23411:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1272, + "id": 764, "name": "Identifier", - "src": "22783:6:1" + "src": "23422:6:0" } ], - "id": 1273, + "id": 765, "name": "FunctionCall", - "src": "22772:18:1" + "src": "23411:18:0" }, { "attributes": { @@ -47298,25 +47298,25 @@ "type": "literal_string \"Address: call to non-contract\"", "value": "Address: call to non-contract" }, - "id": 1274, + "id": 766, "name": "Literal", - "src": "22792:31:1" + "src": "23431:31:0" } ], - "id": 1275, + "id": 767, "name": "FunctionCall", - "src": "22764:60:1" + "src": "23403:60:0" } ], - "id": 1276, + "id": 768, "name": "ExpressionStatement", - "src": "22764:60:1" + "src": "23403:60:0" }, { "attributes": { "assignments": [ - 1278, - 1280 + 770, + 772 ] }, "children": [ @@ -47325,7 +47325,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -47337,21 +47337,21 @@ "name": "bool", "type": "bool" }, - "id": 1277, + "id": 769, "name": "ElementaryTypeName", - "src": "22895:4:1" + "src": "23537:4:0" } ], - "id": 1278, + "id": 770, "name": "VariableDeclaration", - "src": "22895:12:1" + "src": "23537:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1294, + "scope": 786, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47363,14 +47363,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1279, + "id": 771, "name": "ElementaryTypeName", - "src": "22909:5:1" + "src": "23551:5:0" } ], - "id": 1280, + "id": 772, "name": "VariableDeclaration", - "src": "22909:23:1" + "src": "23551:23:0" }, { "attributes": { @@ -47426,63 +47426,63 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1248, + "referencedDeclaration": 740, "type": "address", "value": "target" }, - "id": 1281, + "id": 773, "name": "Identifier", - "src": "22936:6:1" + "src": "23578:6:0" } ], - "id": 1282, + "id": 774, "name": "MemberAccess", - "src": "22936:11:1" + "src": "23578:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1252, + "referencedDeclaration": 744, "type": "uint256", "value": "value" }, - "id": 1283, + "id": 775, "name": "Identifier", - "src": "22956:5:1" + "src": "23598:5:0" } ], - "id": 1284, + "id": 776, "name": "FunctionCallOptions", - "src": "22936:27:1" + "src": "23578:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1250, + "referencedDeclaration": 742, "type": "bytes memory", "value": "data" }, - "id": 1285, + "id": 777, "name": "Identifier", - "src": "22964:4:1" + "src": "23606:4:0" } ], - "id": 1286, + "id": 778, "name": "FunctionCall", - "src": "22936:33:1" + "src": "23578:33:0" } ], - "id": 1287, + "id": 779, "name": "VariableDeclarationStatement", - "src": "22894:75:1" + "src": "23536:75:0" }, { "attributes": { - "functionReturnParameters": 1258 + "functionReturnParameters": 750 }, "children": [ { @@ -47519,72 +47519,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1288, + "id": 780, "name": "Identifier", - "src": "22986:17:1" + "src": "23629:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1278, + "referencedDeclaration": 770, "type": "bool", "value": "success" }, - "id": 1289, + "id": 781, "name": "Identifier", - "src": "23004:7:1" + "src": "23647:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1280, + "referencedDeclaration": 772, "type": "bytes memory", "value": "returndata" }, - "id": 1290, + "id": 782, "name": "Identifier", - "src": "23013:10:1" + "src": "23656:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1254, + "referencedDeclaration": 746, "type": "string memory", "value": "errorMessage" }, - "id": 1291, + "id": 783, "name": "Identifier", - "src": "23025:12:1" + "src": "23668:12:0" } ], - "id": 1292, + "id": 784, "name": "FunctionCall", - "src": "22986:52:1" + "src": "23629:52:0" } ], - "id": 1293, + "id": 785, "name": "Return", - "src": "22979:59:1" + "src": "23622:59:0" } ], - "id": 1294, + "id": 786, "name": "Block", - "src": "22663:382:1" + "src": "23300:389:0" } ], - "id": 1295, + "id": 787, "name": "FunctionDefinition", - "src": "22522:523:1" + "src": "23159:530:0" }, { "attributes": { @@ -47595,7 +47595,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -47605,9 +47605,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1296, + "id": 788, "name": "StructuredDocumentation", - "src": "23051:166:1" + "src": "23697:171:0" }, { "children": [ @@ -47616,7 +47616,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47629,21 +47629,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1297, + "id": 789, "name": "ElementaryTypeName", - "src": "23250:7:1" + "src": "23902:7:0" } ], - "id": 1298, + "id": 790, "name": "VariableDeclaration", - "src": "23250:14:1" + "src": "23902:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47655,19 +47655,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1299, + "id": 791, "name": "ElementaryTypeName", - "src": "23266:5:1" + "src": "23918:5:0" } ], - "id": 1300, + "id": 792, "name": "VariableDeclaration", - "src": "23266:17:1" + "src": "23918:17:0" } ], - "id": 1301, + "id": 793, "name": "ParameterList", - "src": "23249:35:1" + "src": "23901:35:0" }, { "children": [ @@ -47676,7 +47676,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1312, + "scope": 804, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47688,25 +47688,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1302, + "id": 794, "name": "ElementaryTypeName", - "src": "23308:5:1" + "src": "23960:5:0" } ], - "id": 1303, + "id": 795, "name": "VariableDeclaration", - "src": "23308:12:1" + "src": "23960:12:0" } ], - "id": 1304, + "id": 796, "name": "ParameterList", - "src": "23307:14:1" + "src": "23959:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1304 + "functionReturnParameters": 796 }, "children": [ { @@ -47741,42 +47741,42 @@ } ], "overloadedDeclarations": [ - 1312, - 1347 + 804, + 839 ], - "referencedDeclaration": 1347, + "referencedDeclaration": 839, "type": "function (address,bytes memory,string memory) view returns (bytes memory)", "value": "functionStaticCall" }, - "id": 1305, + "id": 797, "name": "Identifier", - "src": "23339:18:1" + "src": "23992:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1298, + "referencedDeclaration": 790, "type": "address", "value": "target" }, - "id": 1306, + "id": 798, "name": "Identifier", - "src": "23358:6:1" + "src": "24011:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1300, + "referencedDeclaration": 792, "type": "bytes memory", "value": "data" }, - "id": 1307, + "id": 799, "name": "Identifier", - "src": "23366:4:1" + "src": "24019:4:0" }, { "attributes": { @@ -47789,29 +47789,29 @@ "type": "literal_string \"Address: low-level static call failed\"", "value": "Address: low-level static call failed" }, - "id": 1308, + "id": 800, "name": "Literal", - "src": "23372:39:1" + "src": "24025:39:0" } ], - "id": 1309, + "id": 801, "name": "FunctionCall", - "src": "23339:73:1" + "src": "23992:73:0" } ], - "id": 1310, + "id": 802, "name": "Return", - "src": "23332:80:1" + "src": "23985:80:0" } ], - "id": 1311, + "id": 803, "name": "Block", - "src": "23322:97:1" + "src": "23974:99:0" } ], - "id": 1312, + "id": 804, "name": "FunctionDefinition", - "src": "23222:197:1" + "src": "23874:199:0" }, { "attributes": { @@ -47822,7 +47822,7 @@ null ], "name": "functionStaticCall", - "scope": 1430, + "scope": 922, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -47832,9 +47832,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a static call.\n _Available since v3.3._" }, - "id": 1313, + "id": 805, "name": "StructuredDocumentation", - "src": "23425:173:1" + "src": "24081:178:0" }, { "children": [ @@ -47843,7 +47843,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -47856,21 +47856,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1314, + "id": 806, "name": "ElementaryTypeName", - "src": "23631:7:1" + "src": "24293:7:0" } ], - "id": 1315, + "id": 807, "name": "VariableDeclaration", - "src": "23631:14:1" + "src": "24293:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47882,21 +47882,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1316, + "id": 808, "name": "ElementaryTypeName", - "src": "23647:5:1" + "src": "24309:5:0" } ], - "id": 1317, + "id": 809, "name": "VariableDeclaration", - "src": "23647:17:1" + "src": "24309:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -47908,19 +47908,19 @@ "name": "string", "type": "string" }, - "id": 1318, + "id": 810, "name": "ElementaryTypeName", - "src": "23666:6:1" + "src": "24328:6:0" } ], - "id": 1319, + "id": 811, "name": "VariableDeclaration", - "src": "23666:26:1" + "src": "24328:26:0" } ], - "id": 1320, + "id": 812, "name": "ParameterList", - "src": "23630:63:1" + "src": "24292:63:0" }, { "children": [ @@ -47929,7 +47929,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1347, + "scope": 839, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -47941,19 +47941,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1321, + "id": 813, "name": "ElementaryTypeName", - "src": "23717:5:1" + "src": "24379:5:0" } ], - "id": 1322, + "id": 814, "name": "VariableDeclaration", - "src": "23717:12:1" + "src": "24379:12:0" } ], - "id": 1323, + "id": 815, "name": "ParameterList", - "src": "23716:14:1" + "src": "24378:14:0" }, { "children": [ @@ -47994,9 +47994,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1324, + "id": 816, "name": "Identifier", - "src": "23741:7:1" + "src": "24404:7:0" }, { "attributes": { @@ -48024,31 +48024,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1325, + "id": 817, "name": "Identifier", - "src": "23749:10:1" + "src": "24412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1326, + "id": 818, "name": "Identifier", - "src": "23760:6:1" + "src": "24423:6:0" } ], - "id": 1327, + "id": 819, "name": "FunctionCall", - "src": "23749:18:1" + "src": "24412:18:0" }, { "attributes": { @@ -48061,25 +48061,25 @@ "type": "literal_string \"Address: static call to non-contract\"", "value": "Address: static call to non-contract" }, - "id": 1328, + "id": 820, "name": "Literal", - "src": "23769:38:1" + "src": "24432:38:0" } ], - "id": 1329, + "id": 821, "name": "FunctionCall", - "src": "23741:67:1" + "src": "24404:67:0" } ], - "id": 1330, + "id": 822, "name": "ExpressionStatement", - "src": "23741:67:1" + "src": "24404:67:0" }, { "attributes": { "assignments": [ - 1332, - 1334 + 824, + 826 ] }, "children": [ @@ -48088,7 +48088,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48100,21 +48100,21 @@ "name": "bool", "type": "bool" }, - "id": 1331, + "id": 823, "name": "ElementaryTypeName", - "src": "23879:4:1" + "src": "24545:4:0" } ], - "id": 1332, + "id": 824, "name": "VariableDeclaration", - "src": "23879:12:1" + "src": "24545:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1346, + "scope": 838, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48126,14 +48126,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1333, + "id": 825, "name": "ElementaryTypeName", - "src": "23893:5:1" + "src": "24559:5:0" } ], - "id": 1334, + "id": 826, "name": "VariableDeclaration", - "src": "23893:23:1" + "src": "24559:23:0" }, { "attributes": { @@ -48171,45 +48171,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1315, + "referencedDeclaration": 807, "type": "address", "value": "target" }, - "id": 1335, + "id": 827, "name": "Identifier", - "src": "23920:6:1" + "src": "24586:6:0" } ], - "id": 1336, + "id": 828, "name": "MemberAccess", - "src": "23920:17:1" + "src": "24586:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1317, + "referencedDeclaration": 809, "type": "bytes memory", "value": "data" }, - "id": 1337, + "id": 829, "name": "Identifier", - "src": "23938:4:1" + "src": "24604:4:0" } ], - "id": 1338, + "id": 830, "name": "FunctionCall", - "src": "23920:23:1" + "src": "24586:23:0" } ], - "id": 1339, + "id": 831, "name": "VariableDeclarationStatement", - "src": "23878:65:1" + "src": "24544:65:0" }, { "attributes": { - "functionReturnParameters": 1323 + "functionReturnParameters": 815 }, "children": [ { @@ -48246,72 +48246,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1340, + "id": 832, "name": "Identifier", - "src": "23960:17:1" + "src": "24627:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1332, + "referencedDeclaration": 824, "type": "bool", "value": "success" }, - "id": 1341, + "id": 833, "name": "Identifier", - "src": "23978:7:1" + "src": "24645:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1334, + "referencedDeclaration": 826, "type": "bytes memory", "value": "returndata" }, - "id": 1342, + "id": 834, "name": "Identifier", - "src": "23987:10:1" + "src": "24654:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1319, + "referencedDeclaration": 811, "type": "string memory", "value": "errorMessage" }, - "id": 1343, + "id": 835, "name": "Identifier", - "src": "23999:12:1" + "src": "24666:12:0" } ], - "id": 1344, + "id": 836, "name": "FunctionCall", - "src": "23960:52:1" + "src": "24627:52:0" } ], - "id": 1345, + "id": 837, "name": "Return", - "src": "23953:59:1" + "src": "24620:59:0" } ], - "id": 1346, + "id": 838, "name": "Block", - "src": "23731:288:1" + "src": "24393:294:0" } ], - "id": 1347, + "id": 839, "name": "FunctionDefinition", - "src": "23603:416:1" + "src": "24265:422:0" }, { "attributes": { @@ -48322,7 +48322,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48332,9 +48332,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1348, + "id": 840, "name": "StructuredDocumentation", - "src": "24025:168:1" + "src": "24695:173:0" }, { "children": [ @@ -48343,7 +48343,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48356,21 +48356,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1349, + "id": 841, "name": "ElementaryTypeName", - "src": "24228:7:1" + "src": "24904:7:0" } ], - "id": 1350, + "id": 842, "name": "VariableDeclaration", - "src": "24228:14:1" + "src": "24904:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48382,19 +48382,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1351, + "id": 843, "name": "ElementaryTypeName", - "src": "24244:5:1" + "src": "24920:5:0" } ], - "id": 1352, + "id": 844, "name": "VariableDeclaration", - "src": "24244:17:1" + "src": "24920:17:0" } ], - "id": 1353, + "id": 845, "name": "ParameterList", - "src": "24227:35:1" + "src": "24903:35:0" }, { "children": [ @@ -48403,7 +48403,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1364, + "scope": 856, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48415,25 +48415,25 @@ "name": "bytes", "type": "bytes" }, - "id": 1354, + "id": 846, "name": "ElementaryTypeName", - "src": "24281:5:1" + "src": "24957:5:0" } ], - "id": 1355, + "id": 847, "name": "VariableDeclaration", - "src": "24281:12:1" + "src": "24957:12:0" } ], - "id": 1356, + "id": 848, "name": "ParameterList", - "src": "24280:14:1" + "src": "24956:14:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1356 + "functionReturnParameters": 848 }, "children": [ { @@ -48468,42 +48468,42 @@ } ], "overloadedDeclarations": [ - 1364, - 1399 + 856, + 891 ], - "referencedDeclaration": 1399, + "referencedDeclaration": 891, "type": "function (address,bytes memory,string memory) returns (bytes memory)", "value": "functionDelegateCall" }, - "id": 1357, + "id": 849, "name": "Identifier", - "src": "24312:20:1" + "src": "24989:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1350, + "referencedDeclaration": 842, "type": "address", "value": "target" }, - "id": 1358, + "id": 850, "name": "Identifier", - "src": "24333:6:1" + "src": "25010:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1352, + "referencedDeclaration": 844, "type": "bytes memory", "value": "data" }, - "id": 1359, + "id": 851, "name": "Identifier", - "src": "24341:4:1" + "src": "25018:4:0" }, { "attributes": { @@ -48516,29 +48516,29 @@ "type": "literal_string \"Address: low-level delegate call failed\"", "value": "Address: low-level delegate call failed" }, - "id": 1360, + "id": 852, "name": "Literal", - "src": "24347:41:1" + "src": "25024:41:0" } ], - "id": 1361, + "id": 853, "name": "FunctionCall", - "src": "24312:77:1" + "src": "24989:77:0" } ], - "id": 1362, + "id": 854, "name": "Return", - "src": "24305:84:1" + "src": "24982:84:0" } ], - "id": 1363, + "id": 855, "name": "Block", - "src": "24295:101:1" + "src": "24971:103:0" } ], - "id": 1364, + "id": 856, "name": "FunctionDefinition", - "src": "24198:198:1" + "src": "24874:200:0" }, { "attributes": { @@ -48549,7 +48549,7 @@ null ], "name": "functionDelegateCall", - "scope": 1430, + "scope": 922, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -48559,9 +48559,9 @@ "attributes": { "text": " @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n but performing a delegate call.\n _Available since v3.4._" }, - "id": 1365, + "id": 857, "name": "StructuredDocumentation", - "src": "24402:175:1" + "src": "25082:180:0" }, { "children": [ @@ -48570,7 +48570,7 @@ "constant": false, "mutability": "mutable", "name": "target", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -48583,21 +48583,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1366, + "id": 858, "name": "ElementaryTypeName", - "src": "24612:7:1" + "src": "25298:7:0" } ], - "id": 1367, + "id": 859, "name": "VariableDeclaration", - "src": "24612:14:1" + "src": "25298:14:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "data", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48609,21 +48609,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1368, + "id": 860, "name": "ElementaryTypeName", - "src": "24628:5:1" + "src": "25314:5:0" } ], - "id": 1369, + "id": 861, "name": "VariableDeclaration", - "src": "24628:17:1" + "src": "25314:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -48635,19 +48635,19 @@ "name": "string", "type": "string" }, - "id": 1370, + "id": 862, "name": "ElementaryTypeName", - "src": "24647:6:1" + "src": "25333:6:0" } ], - "id": 1371, + "id": 863, "name": "VariableDeclaration", - "src": "24647:26:1" + "src": "25333:26:0" } ], - "id": 1372, + "id": 864, "name": "ParameterList", - "src": "24611:63:1" + "src": "25297:63:0" }, { "children": [ @@ -48656,7 +48656,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1399, + "scope": 891, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48668,19 +48668,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1373, + "id": 865, "name": "ElementaryTypeName", - "src": "24693:5:1" + "src": "25379:5:0" } ], - "id": 1374, + "id": 866, "name": "VariableDeclaration", - "src": "24693:12:1" + "src": "25379:12:0" } ], - "id": 1375, + "id": 867, "name": "ParameterList", - "src": "24692:14:1" + "src": "25378:14:0" }, { "children": [ @@ -48721,9 +48721,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1376, + "id": 868, "name": "Identifier", - "src": "24717:7:1" + "src": "25404:7:0" }, { "attributes": { @@ -48751,31 +48751,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)", "value": "isContract" }, - "id": 1377, + "id": 869, "name": "Identifier", - "src": "24725:10:1" + "src": "25412:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1378, + "id": 870, "name": "Identifier", - "src": "24736:6:1" + "src": "25423:6:0" } ], - "id": 1379, + "id": 871, "name": "FunctionCall", - "src": "24725:18:1" + "src": "25412:18:0" }, { "attributes": { @@ -48788,25 +48788,25 @@ "type": "literal_string \"Address: delegate call to non-contract\"", "value": "Address: delegate call to non-contract" }, - "id": 1380, + "id": 872, "name": "Literal", - "src": "24745:40:1" + "src": "25432:40:0" } ], - "id": 1381, + "id": 873, "name": "FunctionCall", - "src": "24717:69:1" + "src": "25404:69:0" } ], - "id": 1382, + "id": 874, "name": "ExpressionStatement", - "src": "24717:69:1" + "src": "25404:69:0" }, { "attributes": { "assignments": [ - 1384, - 1386 + 876, + 878 ] }, "children": [ @@ -48815,7 +48815,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -48827,21 +48827,21 @@ "name": "bool", "type": "bool" }, - "id": 1383, + "id": 875, "name": "ElementaryTypeName", - "src": "24857:4:1" + "src": "25547:4:0" } ], - "id": 1384, + "id": 876, "name": "VariableDeclaration", - "src": "24857:12:1" + "src": "25547:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1398, + "scope": 890, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -48853,14 +48853,14 @@ "name": "bytes", "type": "bytes" }, - "id": 1385, + "id": 877, "name": "ElementaryTypeName", - "src": "24871:5:1" + "src": "25561:5:0" } ], - "id": 1386, + "id": 878, "name": "VariableDeclaration", - "src": "24871:23:1" + "src": "25561:23:0" }, { "attributes": { @@ -48898,45 +48898,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1367, + "referencedDeclaration": 859, "type": "address", "value": "target" }, - "id": 1387, + "id": 879, "name": "Identifier", - "src": "24898:6:1" + "src": "25588:6:0" } ], - "id": 1388, + "id": 880, "name": "MemberAccess", - "src": "24898:19:1" + "src": "25588:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1369, + "referencedDeclaration": 861, "type": "bytes memory", "value": "data" }, - "id": 1389, + "id": 881, "name": "Identifier", - "src": "24918:4:1" + "src": "25608:4:0" } ], - "id": 1390, + "id": 882, "name": "FunctionCall", - "src": "24898:25:1" + "src": "25588:25:0" } ], - "id": 1391, + "id": 883, "name": "VariableDeclarationStatement", - "src": "24856:67:1" + "src": "25546:67:0" }, { "attributes": { - "functionReturnParameters": 1375 + "functionReturnParameters": 867 }, "children": [ { @@ -48973,72 +48973,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1429, + "referencedDeclaration": 921, "type": "function (bool,bytes memory,string memory) pure returns (bytes memory)", "value": "_verifyCallResult" }, - "id": 1392, + "id": 884, "name": "Identifier", - "src": "24940:17:1" + "src": "25631:17:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1384, + "referencedDeclaration": 876, "type": "bool", "value": "success" }, - "id": 1393, + "id": 885, "name": "Identifier", - "src": "24958:7:1" + "src": "25649:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1386, + "referencedDeclaration": 878, "type": "bytes memory", "value": "returndata" }, - "id": 1394, + "id": 886, "name": "Identifier", - "src": "24967:10:1" + "src": "25658:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1371, + "referencedDeclaration": 863, "type": "string memory", "value": "errorMessage" }, - "id": 1395, + "id": 887, "name": "Identifier", - "src": "24979:12:1" + "src": "25670:12:0" } ], - "id": 1396, + "id": 888, "name": "FunctionCall", - "src": "24940:52:1" + "src": "25631:52:0" } ], - "id": 1397, + "id": 889, "name": "Return", - "src": "24933:59:1" + "src": "25624:59:0" } ], - "id": 1398, + "id": 890, "name": "Block", - "src": "24707:292:1" + "src": "25393:298:0" } ], - "id": 1399, + "id": 891, "name": "FunctionDefinition", - "src": "24582:417:1" + "src": "25268:423:0" }, { "attributes": { @@ -49049,7 +49049,7 @@ null ], "name": "_verifyCallResult", - "scope": 1430, + "scope": 922, "stateMutability": "pure", "virtual": false, "visibility": "private" @@ -49062,7 +49062,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49074,21 +49074,21 @@ "name": "bool", "type": "bool" }, - "id": 1400, + "id": 892, "name": "ElementaryTypeName", - "src": "25032:4:1" + "src": "25726:4:0" } ], - "id": 1401, + "id": 893, "name": "VariableDeclaration", - "src": "25032:12:1" + "src": "25726:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49100,21 +49100,21 @@ "name": "bytes", "type": "bytes" }, - "id": 1402, + "id": 894, "name": "ElementaryTypeName", - "src": "25046:5:1" + "src": "25740:5:0" } ], - "id": 1403, + "id": 895, "name": "VariableDeclaration", - "src": "25046:23:1" + "src": "25740:23:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -49126,19 +49126,19 @@ "name": "string", "type": "string" }, - "id": 1404, + "id": 896, "name": "ElementaryTypeName", - "src": "25071:6:1" + "src": "25765:6:0" } ], - "id": 1405, + "id": 897, "name": "VariableDeclaration", - "src": "25071:26:1" + "src": "25765:26:0" } ], - "id": 1406, + "id": 898, "name": "ParameterList", - "src": "25031:67:1" + "src": "25725:67:0" }, { "children": [ @@ -49147,7 +49147,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1429, + "scope": 921, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -49159,19 +49159,19 @@ "name": "bytes", "type": "bytes" }, - "id": 1407, + "id": 899, "name": "ElementaryTypeName", - "src": "25120:5:1" + "src": "25814:5:0" } ], - "id": 1408, + "id": 900, "name": "VariableDeclaration", - "src": "25120:12:1" + "src": "25814:12:0" } ], - "id": 1409, + "id": 901, "name": "ParameterList", - "src": "25119:14:1" + "src": "25813:14:0" }, { "children": [ @@ -49182,19 +49182,19 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1401, + "referencedDeclaration": 893, "type": "bool", "value": "success" }, - "id": 1410, + "id": 902, "name": "Identifier", - "src": "25148:7:1" + "src": "25843:7:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1409 + "functionReturnParameters": 901 }, "children": [ { @@ -49202,23 +49202,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1411, + "id": 903, "name": "Identifier", - "src": "25178:10:1" + "src": "25874:10:0" } ], - "id": 1412, + "id": 904, "name": "Return", - "src": "25171:17:1" + "src": "25867:17:0" } ], - "id": 1413, + "id": 905, "name": "Block", - "src": "25157:42:1" + "src": "25852:44:0" }, { "children": [ @@ -49253,18 +49253,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1403, + "referencedDeclaration": 895, "type": "bytes memory", "value": "returndata" }, - "id": 1414, + "id": 906, "name": "Identifier", - "src": "25289:10:1" + "src": "25988:10:0" } ], - "id": 1415, + "id": 907, "name": "MemberAccess", - "src": "25289:17:1" + "src": "25988:17:0" }, { "attributes": { @@ -49277,14 +49277,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1416, + "id": 908, "name": "Literal", - "src": "25309:1:1" + "src": "26008:1:0" } ], - "id": 1417, + "id": 909, "name": "BinaryOperation", - "src": "25289:21:1" + "src": "25988:21:0" }, { "children": [ @@ -49293,31 +49293,31 @@ "evmVersion": "istanbul", "externalReferences": [ { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25547:10:1", + "src": "26251:10:0", "valueSize": 1 }, { - "declaration": 1403, + "declaration": 895, "isOffset": false, "isSlot": false, - "src": "25594:10:1", + "src": "26299:10:0", "valueSize": 1 } ], "operations": "{\n let returndata_size := mload(returndata)\n revert(add(32, returndata), returndata_size)\n}" }, "children": [], - "id": 1418, + "id": 910, "name": "InlineAssembly", - "src": "25487:154:1" + "src": "26190:157:0" } ], - "id": 1419, + "id": 911, "name": "Block", - "src": "25312:343:1" + "src": "26011:351:0" }, { "children": [ @@ -49354,67 +49354,67 @@ "type": "function (string memory) pure", "value": "revert" }, - "id": 1420, + "id": 912, "name": "Identifier", - "src": "25679:6:1" + "src": "26387:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1405, + "referencedDeclaration": 897, "type": "string memory", "value": "errorMessage" }, - "id": 1421, + "id": 913, "name": "Identifier", - "src": "25686:12:1" + "src": "26394:12:0" } ], - "id": 1422, + "id": 914, "name": "FunctionCall", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1423, + "id": 915, "name": "ExpressionStatement", - "src": "25679:20:1" + "src": "26387:20:0" } ], - "id": 1424, + "id": 916, "name": "Block", - "src": "25661:53:1" + "src": "26368:55:0" } ], - "id": 1425, + "id": 917, "name": "IfStatement", - "src": "25285:429:1" + "src": "25984:439:0" } ], - "id": 1426, + "id": 918, "name": "Block", - "src": "25205:519:1" + "src": "25902:532:0" } ], - "id": 1427, + "id": 919, "name": "IfStatement", - "src": "25144:580:1" + "src": "25839:595:0" } ], - "id": 1428, + "id": 920, "name": "Block", - "src": "25134:596:1" + "src": "25828:613:0" } ], - "id": 1429, + "id": 921, "name": "FunctionDefinition", - "src": "25005:725:1" + "src": "25699:742:0" } ], - "id": 1430, + "id": 922, "name": "ContractDefinition", - "src": "18048:7684:1" + "src": "18579:7865:0" }, { "attributes": { @@ -49428,9 +49428,9 @@ ".0" ] }, - "id": 1431, + "id": 923, "name": "PragmaDirective", - "src": "25791:31:1" + "src": "26506:31:0" }, { "attributes": { @@ -49444,25 +49444,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 1921 + 1413 ], "name": "EnumerableSet", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing\n https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive\n types.\n Sets have the following properties:\n - Elements are added, removed, and checked for existence in constant time\n (O(1)).\n - Elements are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableSet for EnumerableSet.AddressSet;\n // Declare a set state variable\n EnumerableSet.AddressSet private mySet;\n }\n ```\n As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)\n and `uint256` (`UintSet`) are supported." }, - "id": 1432, + "id": 924, "name": "StructuredDocumentation", - "src": "25824:686:1" + "src": "26541:709:0" }, { "attributes": { "canonicalName": "EnumerableSet.Set", "name": "Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -49471,7 +49471,7 @@ "constant": false, "mutability": "mutable", "name": "_values", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "bytes32[]", @@ -49488,26 +49488,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1433, + "id": 925, "name": "ElementaryTypeName", - "src": "27033:7:1" + "src": "27786:7:0" } ], - "id": 1434, + "id": 926, "name": "ArrayTypeName", - "src": "27033:9:1" + "src": "27786:9:0" } ], - "id": 1435, + "id": 927, "name": "VariableDeclaration", - "src": "27033:17:1" + "src": "27786:17:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1440, + "scope": 932, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -49524,33 +49524,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1436, + "id": 928, "name": "ElementaryTypeName", - "src": "27193:7:1" + "src": "27950:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1437, + "id": 929, "name": "ElementaryTypeName", - "src": "27204:7:1" + "src": "27961:7:0" } ], - "id": 1438, + "id": 930, "name": "Mapping", - "src": "27184:28:1" + "src": "27941:28:0" } ], - "id": 1439, + "id": 931, "name": "VariableDeclaration", - "src": "27184:37:1" + "src": "27941:37:0" } ], - "id": 1440, + "id": 932, "name": "StructDefinition", - "src": "26979:249:1" + "src": "27730:256:0" }, { "attributes": { @@ -49561,7 +49561,7 @@ null ], "name": "_add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -49571,9 +49571,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1441, + "id": 933, "name": "StructuredDocumentation", - "src": "27234:159:1" + "src": "27994:164:0" }, { "children": [ @@ -49582,7 +49582,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -49592,24 +49592,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1442, + "id": 934, "name": "UserDefinedTypeName", - "src": "27412:3:1" + "src": "28178:3:0" } ], - "id": 1443, + "id": 935, "name": "VariableDeclaration", - "src": "27412:15:1" + "src": "28178:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -49621,19 +49621,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1444, + "id": 936, "name": "ElementaryTypeName", - "src": "27429:7:1" + "src": "28195:7:0" } ], - "id": 1445, + "id": 937, "name": "VariableDeclaration", - "src": "27429:13:1" + "src": "28195:13:0" } ], - "id": 1446, + "id": 938, "name": "ParameterList", - "src": "27411:32:1" + "src": "28177:32:0" }, { "children": [ @@ -49642,7 +49642,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1481, + "scope": 973, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -49654,19 +49654,19 @@ "name": "bool", "type": "bool" }, - "id": 1447, + "id": 939, "name": "ElementaryTypeName", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1448, + "id": 940, "name": "VariableDeclaration", - "src": "27461:4:1" + "src": "28227:4:0" } ], - "id": 1449, + "id": 941, "name": "ParameterList", - "src": "27460:6:1" + "src": "28226:6:0" }, { "children": [ @@ -49702,7 +49702,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage_ptr", + "typeIdentifier": "t_struct$_Set_$932_storage_ptr", "typeString": "struct EnumerableSet.Set storage pointer" }, { @@ -49713,49 +49713,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1450, + "id": 942, "name": "Identifier", - "src": "27482:9:1" + "src": "28249:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1451, + "id": 943, "name": "Identifier", - "src": "27492:3:1" + "src": "28259:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1452, + "id": 944, "name": "Identifier", - "src": "27497:5:1" + "src": "28264:5:0" } ], - "id": 1453, + "id": 945, "name": "FunctionCall", - "src": "27482:21:1" + "src": "28249:21:0" } ], - "id": 1454, + "id": 946, "name": "UnaryOperation", - "src": "27481:22:1" + "src": "28248:22:0" }, { "children": [ @@ -49799,7 +49799,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -49808,46 +49808,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1455, + "id": 947, "name": "Identifier", - "src": "27519:3:1" + "src": "28287:3:0" } ], - "id": 1458, + "id": 950, "name": "MemberAccess", - "src": "27519:11:1" + "src": "28287:11:0" } ], - "id": 1459, + "id": 951, "name": "MemberAccess", - "src": "27519:16:1" + "src": "28287:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1460, + "id": 952, "name": "Identifier", - "src": "27536:5:1" + "src": "28304:5:0" } ], - "id": 1461, + "id": 953, "name": "FunctionCall", - "src": "27519:23:1" + "src": "28287:23:0" } ], - "id": 1462, + "id": 954, "name": "ExpressionStatement", - "src": "27519:23:1" + "src": "28287:23:0" }, { "children": [ @@ -49877,7 +49877,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -49886,36 +49886,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1463, + "id": 955, "name": "Identifier", - "src": "27677:3:1" + "src": "28448:3:0" } ], - "id": 1466, + "id": 958, "name": "MemberAccess", - "src": "27677:12:1" + "src": "28448:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1445, + "referencedDeclaration": 937, "type": "bytes32", "value": "value" }, - "id": 1465, + "id": 957, "name": "Identifier", - "src": "27690:5:1" + "src": "28461:5:0" } ], - "id": 1467, + "id": 959, "name": "IndexAccess", - "src": "27677:19:1" + "src": "28448:19:0" }, { "attributes": { @@ -49934,7 +49934,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -49943,37 +49943,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1443, + "referencedDeclaration": 935, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1468, + "id": 960, "name": "Identifier", - "src": "27699:3:1" + "src": "28470:3:0" } ], - "id": 1469, + "id": 961, "name": "MemberAccess", - "src": "27699:11:1" + "src": "28470:11:0" } ], - "id": 1470, + "id": 962, "name": "MemberAccess", - "src": "27699:18:1" + "src": "28470:18:0" } ], - "id": 1471, + "id": 963, "name": "Assignment", - "src": "27677:40:1" + "src": "28448:40:0" } ], - "id": 1472, + "id": 964, "name": "ExpressionStatement", - "src": "27677:40:1" + "src": "28448:40:0" }, { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -49987,25 +49987,25 @@ "type": "bool", "value": "true" }, - "id": 1473, + "id": 965, "name": "Literal", - "src": "27738:4:1" + "src": "28510:4:0" } ], - "id": 1474, + "id": 966, "name": "Return", - "src": "27731:11:1" + "src": "28503:11:0" } ], - "id": 1475, + "id": 967, "name": "Block", - "src": "27505:248:1" + "src": "28272:254:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1449 + "functionReturnParameters": 941 }, "children": [ { @@ -50019,34 +50019,34 @@ "type": "bool", "value": "false" }, - "id": 1476, + "id": 968, "name": "Literal", - "src": "27780:5:1" + "src": "28554:5:0" } ], - "id": 1477, + "id": 969, "name": "Return", - "src": "27773:12:1" + "src": "28547:12:0" } ], - "id": 1478, + "id": 970, "name": "Block", - "src": "27759:37:1" + "src": "28532:39:0" } ], - "id": 1479, + "id": 971, "name": "IfStatement", - "src": "27477:319:1" + "src": "28244:327:0" } ], - "id": 1480, + "id": 972, "name": "Block", - "src": "27467:335:1" + "src": "28233:345:0" } ], - "id": 1481, + "id": 973, "name": "FunctionDefinition", - "src": "27398:404:1" + "src": "28164:414:0" }, { "attributes": { @@ -50057,7 +50057,7 @@ null ], "name": "_remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -50067,9 +50067,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1482, + "id": 974, "name": "StructuredDocumentation", - "src": "27808:157:1" + "src": "28586:162:0" }, { "children": [ @@ -50078,7 +50078,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -50088,24 +50088,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1483, + "id": 975, "name": "UserDefinedTypeName", - "src": "27987:3:1" + "src": "28771:3:0" } ], - "id": 1484, + "id": 976, "name": "VariableDeclaration", - "src": "27987:15:1" + "src": "28771:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50117,19 +50117,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1485, + "id": 977, "name": "ElementaryTypeName", - "src": "28004:7:1" + "src": "28788:7:0" } ], - "id": 1486, + "id": 978, "name": "VariableDeclaration", - "src": "28004:13:1" + "src": "28788:13:0" } ], - "id": 1487, + "id": 979, "name": "ParameterList", - "src": "27986:32:1" + "src": "28770:32:0" }, { "children": [ @@ -50138,7 +50138,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1561, + "scope": 1053, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -50150,26 +50150,26 @@ "name": "bool", "type": "bool" }, - "id": 1488, + "id": 980, "name": "ElementaryTypeName", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1489, + "id": 981, "name": "VariableDeclaration", - "src": "28036:4:1" + "src": "28820:4:0" } ], - "id": 1490, + "id": 982, "name": "ParameterList", - "src": "28035:6:1" + "src": "28819:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1492 + 984 ] }, "children": [ @@ -50178,7 +50178,7 @@ "constant": false, "mutability": "mutable", "name": "valueIndex", - "scope": 1560, + "scope": 1052, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50190,14 +50190,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1491, + "id": 983, "name": "ElementaryTypeName", - "src": "28152:7:1" + "src": "28938:7:0" } ], - "id": 1492, + "id": 984, "name": "VariableDeclaration", - "src": "28152:18:1" + "src": "28938:18:0" }, { "attributes": { @@ -50215,7 +50215,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50224,41 +50224,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1493, + "id": 985, "name": "Identifier", - "src": "28173:3:1" + "src": "28959:3:0" } ], - "id": 1494, + "id": 986, "name": "MemberAccess", - "src": "28173:12:1" + "src": "28959:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1495, + "id": 987, "name": "Identifier", - "src": "28186:5:1" + "src": "28972:5:0" } ], - "id": 1496, + "id": 988, "name": "IndexAccess", - "src": "28173:19:1" + "src": "28959:19:0" } ], - "id": 1497, + "id": 989, "name": "VariableDeclarationStatement", - "src": "28152:40:1" + "src": "28938:40:0" }, { "children": [ @@ -50281,13 +50281,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1498, + "id": 990, "name": "Identifier", - "src": "28207:10:1" + "src": "28995:10:0" }, { "attributes": { @@ -50300,21 +50300,21 @@ "type": "int_const 0", "value": "0" }, - "id": 1499, + "id": 991, "name": "Literal", - "src": "28221:1:1" + "src": "29009:1:0" } ], - "id": 1500, + "id": 992, "name": "BinaryOperation", - "src": "28207:15:1" + "src": "28995:15:0" }, { "children": [ { "attributes": { "assignments": [ - 1502 + 994 ] }, "children": [ @@ -50323,7 +50323,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50335,14 +50335,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1501, + "id": 993, "name": "ElementaryTypeName", - "src": "28564:7:1" + "src": "29357:7:0" } ], - "id": 1502, + "id": 994, "name": "VariableDeclaration", - "src": "28564:21:1" + "src": "29357:21:0" }, { "attributes": { @@ -50363,13 +50363,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1492, + "referencedDeclaration": 984, "type": "uint256", "value": "valueIndex" }, - "id": 1503, + "id": 995, "name": "Identifier", - "src": "28588:10:1" + "src": "29381:10:0" }, { "attributes": { @@ -50382,24 +50382,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1504, + "id": 996, "name": "Literal", - "src": "28601:1:1" + "src": "29394:1:0" } ], - "id": 1505, + "id": 997, "name": "BinaryOperation", - "src": "28588:14:1" + "src": "29381:14:0" } ], - "id": 1506, + "id": 998, "name": "VariableDeclarationStatement", - "src": "28564:38:1" + "src": "29357:38:0" }, { "attributes": { "assignments": [ - 1508 + 1000 ] }, "children": [ @@ -50408,7 +50408,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -50420,14 +50420,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1507, + "id": 999, "name": "ElementaryTypeName", - "src": "28616:7:1" + "src": "29410:7:0" } ], - "id": 1508, + "id": 1000, "name": "VariableDeclaration", - "src": "28616:17:1" + "src": "29410:17:0" }, { "attributes": { @@ -50460,7 +50460,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50469,23 +50469,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1509, + "id": 1001, "name": "Identifier", - "src": "28636:3:1" + "src": "29430:3:0" } ], - "id": 1510, + "id": 1002, "name": "MemberAccess", - "src": "28636:11:1" + "src": "29430:11:0" } ], - "id": 1511, + "id": 1003, "name": "MemberAccess", - "src": "28636:18:1" + "src": "29430:18:0" }, { "attributes": { @@ -50498,24 +50498,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1512, + "id": 1004, "name": "Literal", - "src": "28657:1:1" + "src": "29451:1:0" } ], - "id": 1513, + "id": 1005, "name": "BinaryOperation", - "src": "28636:22:1" + "src": "29430:22:0" } ], - "id": 1514, + "id": 1006, "name": "VariableDeclarationStatement", - "src": "28616:42:1" + "src": "29410:42:0" }, { "attributes": { "assignments": [ - 1516 + 1008 ] }, "children": [ @@ -50524,7 +50524,7 @@ "constant": false, "mutability": "mutable", "name": "lastvalue", - "scope": 1555, + "scope": 1047, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -50536,14 +50536,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1515, + "id": 1007, "name": "ElementaryTypeName", - "src": "28898:7:1" + "src": "29697:7:0" } ], - "id": 1516, + "id": 1008, "name": "VariableDeclaration", - "src": "28898:17:1" + "src": "29697:17:0" }, { "attributes": { @@ -50561,7 +50561,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50570,41 +50570,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1517, + "id": 1009, "name": "Identifier", - "src": "28918:3:1" + "src": "29717:3:0" } ], - "id": 1518, + "id": 1010, "name": "MemberAccess", - "src": "28918:11:1" + "src": "29717:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1508, + "referencedDeclaration": 1000, "type": "uint256", "value": "lastIndex" }, - "id": 1519, + "id": 1011, "name": "Identifier", - "src": "28930:9:1" + "src": "29729:9:0" } ], - "id": 1520, + "id": 1012, "name": "IndexAccess", - "src": "28918:22:1" + "src": "29717:22:0" } ], - "id": 1521, + "id": 1013, "name": "VariableDeclarationStatement", - "src": "28898:42:1" + "src": "29697:42:0" }, { "children": [ @@ -50634,7 +50634,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50643,59 +50643,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1522, + "id": 1014, "name": "Identifier", - "src": "29032:3:1" + "src": "29834:3:0" } ], - "id": 1525, + "id": 1017, "name": "MemberAccess", - "src": "29032:11:1" + "src": "29834:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1524, + "id": 1016, "name": "Identifier", - "src": "29044:13:1" + "src": "29846:13:0" } ], - "id": 1526, + "id": 1018, "name": "IndexAccess", - "src": "29032:26:1" + "src": "29834:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1527, + "id": 1019, "name": "Identifier", - "src": "29061:9:1" + "src": "29863:9:0" } ], - "id": 1528, + "id": 1020, "name": "Assignment", - "src": "29032:38:1" + "src": "29834:38:0" } ], - "id": 1529, + "id": 1021, "name": "ExpressionStatement", - "src": "29032:38:1" + "src": "29834:38:0" }, { "children": [ @@ -50725,7 +50725,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50734,36 +50734,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1530, + "id": 1022, "name": "Identifier", - "src": "29136:3:1" + "src": "29940:3:0" } ], - "id": 1533, + "id": 1025, "name": "MemberAccess", - "src": "29136:12:1" + "src": "29940:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1516, + "referencedDeclaration": 1008, "type": "bytes32", "value": "lastvalue" }, - "id": 1532, + "id": 1024, "name": "Identifier", - "src": "29149:9:1" + "src": "29953:9:0" } ], - "id": 1534, + "id": 1026, "name": "IndexAccess", - "src": "29136:23:1" + "src": "29940:23:0" }, { "attributes": { @@ -50784,13 +50784,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1502, + "referencedDeclaration": 994, "type": "uint256", "value": "toDeleteIndex" }, - "id": 1535, + "id": 1027, "name": "Identifier", - "src": "29162:13:1" + "src": "29966:13:0" }, { "attributes": { @@ -50803,24 +50803,24 @@ "type": "int_const 1", "value": "1" }, - "id": 1536, + "id": 1028, "name": "Literal", - "src": "29178:1:1" + "src": "29982:1:0" } ], - "id": 1537, + "id": 1029, "name": "BinaryOperation", - "src": "29162:17:1" + "src": "29966:17:0" } ], - "id": 1538, + "id": 1030, "name": "Assignment", - "src": "29136:43:1" + "src": "29940:43:0" } ], - "id": 1539, + "id": 1031, "name": "ExpressionStatement", - "src": "29136:43:1" + "src": "29940:43:0" }, { "children": [ @@ -50862,7 +50862,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -50871,33 +50871,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1540, + "id": 1032, "name": "Identifier", - "src": "29285:3:1" + "src": "30092:3:0" } ], - "id": 1543, + "id": 1035, "name": "MemberAccess", - "src": "29285:11:1" + "src": "30092:11:0" } ], - "id": 1544, + "id": 1036, "name": "MemberAccess", - "src": "29285:15:1" + "src": "30092:15:0" } ], - "id": 1545, + "id": 1037, "name": "FunctionCall", - "src": "29285:17:1" + "src": "30092:17:0" } ], - "id": 1546, + "id": 1038, "name": "ExpressionStatement", - "src": "29285:17:1" + "src": "30092:17:0" }, { "children": [ @@ -50928,7 +50928,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -50937,50 +50937,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1484, + "referencedDeclaration": 976, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1547, + "id": 1039, "name": "Identifier", - "src": "29377:3:1" + "src": "30187:3:0" } ], - "id": 1548, + "id": 1040, "name": "MemberAccess", - "src": "29377:12:1" + "src": "30187:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1486, + "referencedDeclaration": 978, "type": "bytes32", "value": "value" }, - "id": 1549, + "id": 1041, "name": "Identifier", - "src": "29390:5:1" + "src": "30200:5:0" } ], - "id": 1550, + "id": 1042, "name": "IndexAccess", - "src": "29377:19:1" + "src": "30187:19:0" } ], - "id": 1551, + "id": 1043, "name": "UnaryOperation", - "src": "29370:26:1" + "src": "30180:26:0" } ], - "id": 1552, + "id": 1044, "name": "ExpressionStatement", - "src": "29370:26:1" + "src": "30180:26:0" }, { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -50994,25 +50994,25 @@ "type": "bool", "value": "true" }, - "id": 1553, + "id": 1045, "name": "Literal", - "src": "29418:4:1" + "src": "30230:4:0" } ], - "id": 1554, + "id": 1046, "name": "Return", - "src": "29411:11:1" + "src": "30223:11:0" } ], - "id": 1555, + "id": 1047, "name": "Block", - "src": "28224:1209:1" + "src": "29012:1234:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1490 + "functionReturnParameters": 982 }, "children": [ { @@ -51026,34 +51026,34 @@ "type": "bool", "value": "false" }, - "id": 1556, + "id": 1048, "name": "Literal", - "src": "29460:5:1" + "src": "30274:5:0" } ], - "id": 1557, + "id": 1049, "name": "Return", - "src": "29453:12:1" + "src": "30267:12:0" } ], - "id": 1558, + "id": 1050, "name": "Block", - "src": "29439:37:1" + "src": "30252:39:0" } ], - "id": 1559, + "id": 1051, "name": "IfStatement", - "src": "28203:1273:1" + "src": "28991:1300:0" } ], - "id": 1560, + "id": 1052, "name": "Block", - "src": "28042:1440:1" + "src": "28826:1472:0" } ], - "id": 1561, + "id": 1053, "name": "FunctionDefinition", - "src": "27970:1512:1" + "src": "28754:1544:0" }, { "attributes": { @@ -51064,7 +51064,7 @@ null ], "name": "_contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51074,9 +51074,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1562, + "id": 1054, "name": "StructuredDocumentation", - "src": "29488:70:1" + "src": "30306:72:0" }, { "children": [ @@ -51085,7 +51085,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51095,24 +51095,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1563, + "id": 1055, "name": "UserDefinedTypeName", - "src": "29582:3:1" + "src": "30403:3:0" } ], - "id": 1564, + "id": 1056, "name": "VariableDeclaration", - "src": "29582:15:1" + "src": "30403:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51124,19 +51124,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1565, + "id": 1057, "name": "ElementaryTypeName", - "src": "29599:7:1" + "src": "30420:7:0" } ], - "id": 1566, + "id": 1058, "name": "VariableDeclaration", - "src": "29599:13:1" + "src": "30420:13:0" } ], - "id": 1567, + "id": 1059, "name": "ParameterList", - "src": "29581:32:1" + "src": "30402:32:0" }, { "children": [ @@ -51145,7 +51145,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1579, + "scope": 1071, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51157,25 +51157,25 @@ "name": "bool", "type": "bool" }, - "id": 1568, + "id": 1060, "name": "ElementaryTypeName", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1569, + "id": 1061, "name": "VariableDeclaration", - "src": "29636:4:1" + "src": "30457:4:0" } ], - "id": 1570, + "id": 1062, "name": "ParameterList", - "src": "29635:6:1" + "src": "30456:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1570 + "functionReturnParameters": 1062 }, "children": [ { @@ -51208,7 +51208,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1439, + "referencedDeclaration": 931, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -51217,36 +51217,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1564, + "referencedDeclaration": 1056, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1571, + "id": 1063, "name": "Identifier", - "src": "29659:3:1" + "src": "30481:3:0" } ], - "id": 1572, + "id": 1064, "name": "MemberAccess", - "src": "29659:12:1" + "src": "30481:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1566, + "referencedDeclaration": 1058, "type": "bytes32", "value": "value" }, - "id": 1573, + "id": 1065, "name": "Identifier", - "src": "29672:5:1" + "src": "30494:5:0" } ], - "id": 1574, + "id": 1066, "name": "IndexAccess", - "src": "29659:19:1" + "src": "30481:19:0" }, { "attributes": { @@ -51259,29 +51259,29 @@ "type": "int_const 0", "value": "0" }, - "id": 1575, + "id": 1067, "name": "Literal", - "src": "29682:1:1" + "src": "30504:1:0" } ], - "id": 1576, + "id": 1068, "name": "BinaryOperation", - "src": "29659:24:1" + "src": "30481:24:0" } ], - "id": 1577, + "id": 1069, "name": "Return", - "src": "29652:31:1" + "src": "30474:31:0" } ], - "id": 1578, + "id": 1070, "name": "Block", - "src": "29642:48:1" + "src": "30463:50:0" } ], - "id": 1579, + "id": 1071, "name": "FunctionDefinition", - "src": "29563:127:1" + "src": "30384:129:0" }, { "attributes": { @@ -51292,7 +51292,7 @@ null ], "name": "_length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51302,9 +51302,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1580, + "id": 1072, "name": "StructuredDocumentation", - "src": "29696:70:1" + "src": "30521:72:0" }, { "children": [ @@ -51313,7 +51313,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51323,22 +51323,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1581, + "id": 1073, "name": "UserDefinedTypeName", - "src": "29788:3:1" + "src": "30616:3:0" } ], - "id": 1582, + "id": 1074, "name": "VariableDeclaration", - "src": "29788:15:1" + "src": "30616:15:0" } ], - "id": 1583, + "id": 1075, "name": "ParameterList", - "src": "29787:17:1" + "src": "30615:17:0" }, { "children": [ @@ -51347,7 +51347,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1592, + "scope": 1084, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51359,25 +51359,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1584, + "id": 1076, "name": "ElementaryTypeName", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1585, + "id": 1077, "name": "VariableDeclaration", - "src": "29827:7:1" + "src": "30655:7:0" } ], - "id": 1586, + "id": 1078, "name": "ParameterList", - "src": "29826:9:1" + "src": "30654:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1586 + "functionReturnParameters": 1078 }, "children": [ { @@ -51397,7 +51397,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51406,38 +51406,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1582, + "referencedDeclaration": 1074, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1587, + "id": 1079, "name": "Identifier", - "src": "29853:3:1" + "src": "30682:3:0" } ], - "id": 1588, + "id": 1080, "name": "MemberAccess", - "src": "29853:11:1" + "src": "30682:11:0" } ], - "id": 1589, + "id": 1081, "name": "MemberAccess", - "src": "29853:18:1" + "src": "30682:18:0" } ], - "id": 1590, + "id": 1082, "name": "Return", - "src": "29846:25:1" + "src": "30675:25:0" } ], - "id": 1591, + "id": 1083, "name": "Block", - "src": "29836:42:1" + "src": "30664:44:0" } ], - "id": 1592, + "id": 1084, "name": "FunctionDefinition", - "src": "29771:107:1" + "src": "30599:109:0" }, { "attributes": { @@ -51448,7 +51448,7 @@ null ], "name": "_at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -51458,9 +51458,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1593, + "id": 1085, "name": "StructuredDocumentation", - "src": "29883:322:1" + "src": "30715:331:0" }, { "children": [ @@ -51469,7 +51469,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Set", @@ -51479,24 +51479,24 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1594, + "id": 1086, "name": "UserDefinedTypeName", - "src": "30223:3:1" + "src": "31065:3:0" } ], - "id": 1595, + "id": 1087, "name": "VariableDeclaration", - "src": "30223:15:1" + "src": "31065:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -51508,19 +51508,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1596, + "id": 1088, "name": "ElementaryTypeName", - "src": "30240:7:1" + "src": "31082:7:0" } ], - "id": 1597, + "id": 1089, "name": "VariableDeclaration", - "src": "30240:13:1" + "src": "31082:13:0" } ], - "id": 1598, + "id": 1090, "name": "ParameterList", - "src": "30222:32:1" + "src": "31064:32:0" }, { "children": [ @@ -51529,7 +51529,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1617, + "scope": 1109, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51541,19 +51541,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1599, + "id": 1091, "name": "ElementaryTypeName", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1600, + "id": 1092, "name": "VariableDeclaration", - "src": "30277:7:1" + "src": "31119:7:0" } ], - "id": 1601, + "id": 1093, "name": "ParameterList", - "src": "30276:9:1" + "src": "31118:9:0" }, { "children": [ @@ -51594,9 +51594,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 1602, + "id": 1094, "name": "Identifier", - "src": "30296:7:1" + "src": "31139:7:0" }, { "attributes": { @@ -51629,7 +51629,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51638,41 +51638,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1603, + "id": 1095, "name": "Identifier", - "src": "30304:3:1" + "src": "31147:3:0" } ], - "id": 1604, + "id": 1096, "name": "MemberAccess", - "src": "30304:11:1" + "src": "31147:11:0" } ], - "id": 1605, + "id": 1097, "name": "MemberAccess", - "src": "30304:18:1" + "src": "31147:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1606, + "id": 1098, "name": "Identifier", - "src": "30325:5:1" + "src": "31168:5:0" } ], - "id": 1607, + "id": 1099, "name": "BinaryOperation", - "src": "30304:26:1" + "src": "31147:26:0" }, { "attributes": { @@ -51685,23 +51685,23 @@ "type": "literal_string \"EnumerableSet: index out of bounds\"", "value": "EnumerableSet: index out of bounds" }, - "id": 1608, + "id": 1100, "name": "Literal", - "src": "30332:36:1" + "src": "31175:36:0" } ], - "id": 1609, + "id": 1101, "name": "FunctionCall", - "src": "30296:73:1" + "src": "31139:73:0" } ], - "id": 1610, + "id": 1102, "name": "ExpressionStatement", - "src": "30296:73:1" + "src": "31139:73:0" }, { "attributes": { - "functionReturnParameters": 1601 + "functionReturnParameters": 1093 }, "children": [ { @@ -51720,7 +51720,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_values", - "referencedDeclaration": 1435, + "referencedDeclaration": 927, "type": "bytes32[] storage ref" }, "children": [ @@ -51729,57 +51729,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1595, + "referencedDeclaration": 1087, "type": "struct EnumerableSet.Set storage pointer", "value": "set" }, - "id": 1611, + "id": 1103, "name": "Identifier", - "src": "30386:3:1" + "src": "31230:3:0" } ], - "id": 1612, + "id": 1104, "name": "MemberAccess", - "src": "30386:11:1" + "src": "31230:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1597, + "referencedDeclaration": 1089, "type": "uint256", "value": "index" }, - "id": 1613, + "id": 1105, "name": "Identifier", - "src": "30398:5:1" + "src": "31242:5:0" } ], - "id": 1614, + "id": 1106, "name": "IndexAccess", - "src": "30386:18:1" + "src": "31230:18:0" } ], - "id": 1615, + "id": 1107, "name": "Return", - "src": "30379:25:1" + "src": "31223:25:0" } ], - "id": 1616, + "id": 1108, "name": "Block", - "src": "30286:125:1" + "src": "31128:128:0" } ], - "id": 1617, + "id": 1109, "name": "FunctionDefinition", - "src": "30210:201:1" + "src": "31052:204:0" }, { "attributes": { "canonicalName": "EnumerableSet.Bytes32Set", "name": "Bytes32Set", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -51788,7 +51788,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1620, + "scope": 1112, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -51798,22 +51798,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1618, + "id": 1110, "name": "UserDefinedTypeName", - "src": "30464:3:1" + "src": "31314:3:0" } ], - "id": 1619, + "id": 1111, "name": "VariableDeclaration", - "src": "30464:10:1" + "src": "31314:10:0" } ], - "id": 1620, + "id": 1112, "name": "StructDefinition", - "src": "30436:45:1" + "src": "31285:47:0" }, { "attributes": { @@ -51824,7 +51824,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -51834,9 +51834,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1621, + "id": 1113, "name": "StructuredDocumentation", - "src": "30487:159:1" + "src": "31340:164:0" }, { "children": [ @@ -51845,7 +51845,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -51855,24 +51855,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1622, + "id": 1114, "name": "UserDefinedTypeName", - "src": "30664:10:1" + "src": "31523:10:0" } ], - "id": 1623, + "id": 1115, "name": "VariableDeclaration", - "src": "30664:22:1" + "src": "31523:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -51884,19 +51884,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1624, + "id": 1116, "name": "ElementaryTypeName", - "src": "30688:7:1" + "src": "31547:7:0" } ], - "id": 1625, + "id": 1117, "name": "VariableDeclaration", - "src": "30688:13:1" + "src": "31547:13:0" } ], - "id": 1626, + "id": 1118, "name": "ParameterList", - "src": "30663:39:1" + "src": "31522:39:0" }, { "children": [ @@ -51905,7 +51905,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1637, + "scope": 1129, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -51917,25 +51917,25 @@ "name": "bool", "type": "bool" }, - "id": 1627, + "id": 1119, "name": "ElementaryTypeName", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1628, + "id": 1120, "name": "VariableDeclaration", - "src": "30721:4:1" + "src": "31580:4:0" } ], - "id": 1629, + "id": 1121, "name": "ParameterList", - "src": "30720:6:1" + "src": "31579:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1629 + "functionReturnParameters": 1121 }, "children": [ { @@ -51957,7 +51957,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -51968,13 +51968,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1630, + "id": 1122, "name": "Identifier", - "src": "30744:4:1" + "src": "31604:4:0" }, { "attributes": { @@ -51983,7 +51983,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -51992,51 +51992,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1623, + "referencedDeclaration": 1115, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1631, + "id": 1123, "name": "Identifier", - "src": "30749:3:1" + "src": "31609:3:0" } ], - "id": 1632, + "id": 1124, "name": "MemberAccess", - "src": "30749:10:1" + "src": "31609:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1625, + "referencedDeclaration": 1117, "type": "bytes32", "value": "value" }, - "id": 1633, + "id": 1125, "name": "Identifier", - "src": "30761:5:1" + "src": "31621:5:0" } ], - "id": 1634, + "id": 1126, "name": "FunctionCall", - "src": "30744:23:1" + "src": "31604:23:0" } ], - "id": 1635, + "id": 1127, "name": "Return", - "src": "30737:30:1" + "src": "31597:30:0" } ], - "id": 1636, + "id": 1128, "name": "Block", - "src": "30727:47:1" + "src": "31586:49:0" } ], - "id": 1637, + "id": 1129, "name": "FunctionDefinition", - "src": "30651:123:1" + "src": "31510:125:0" }, { "attributes": { @@ -52047,7 +52047,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52057,9 +52057,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1638, + "id": 1130, "name": "StructuredDocumentation", - "src": "30780:157:1" + "src": "31643:162:0" }, { "children": [ @@ -52068,7 +52068,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52078,24 +52078,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1639, + "id": 1131, "name": "UserDefinedTypeName", - "src": "30958:10:1" + "src": "31827:10:0" } ], - "id": 1640, + "id": 1132, "name": "VariableDeclaration", - "src": "30958:22:1" + "src": "31827:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52107,19 +52107,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1641, + "id": 1133, "name": "ElementaryTypeName", - "src": "30982:7:1" + "src": "31851:7:0" } ], - "id": 1642, + "id": 1134, "name": "VariableDeclaration", - "src": "30982:13:1" + "src": "31851:13:0" } ], - "id": 1643, + "id": 1135, "name": "ParameterList", - "src": "30957:39:1" + "src": "31826:39:0" }, { "children": [ @@ -52128,7 +52128,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1654, + "scope": 1146, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52140,25 +52140,25 @@ "name": "bool", "type": "bool" }, - "id": 1644, + "id": 1136, "name": "ElementaryTypeName", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1645, + "id": 1137, "name": "VariableDeclaration", - "src": "31015:4:1" + "src": "31884:4:0" } ], - "id": 1646, + "id": 1138, "name": "ParameterList", - "src": "31014:6:1" + "src": "31883:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1646 + "functionReturnParameters": 1138 }, "children": [ { @@ -52180,7 +52180,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52191,13 +52191,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1647, + "id": 1139, "name": "Identifier", - "src": "31038:7:1" + "src": "31908:7:0" }, { "attributes": { @@ -52206,7 +52206,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52215,51 +52215,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1640, + "referencedDeclaration": 1132, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1648, + "id": 1140, "name": "Identifier", - "src": "31046:3:1" + "src": "31916:3:0" } ], - "id": 1649, + "id": 1141, "name": "MemberAccess", - "src": "31046:10:1" + "src": "31916:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1642, + "referencedDeclaration": 1134, "type": "bytes32", "value": "value" }, - "id": 1650, + "id": 1142, "name": "Identifier", - "src": "31058:5:1" + "src": "31928:5:0" } ], - "id": 1651, + "id": 1143, "name": "FunctionCall", - "src": "31038:26:1" + "src": "31908:26:0" } ], - "id": 1652, + "id": 1144, "name": "Return", - "src": "31031:33:1" + "src": "31901:33:0" } ], - "id": 1653, + "id": 1145, "name": "Block", - "src": "31021:50:1" + "src": "31890:52:0" } ], - "id": 1654, + "id": 1146, "name": "FunctionDefinition", - "src": "30942:129:1" + "src": "31811:131:0" }, { "attributes": { @@ -52270,7 +52270,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52280,9 +52280,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1655, + "id": 1147, "name": "StructuredDocumentation", - "src": "31077:70:1" + "src": "31950:72:0" }, { "children": [ @@ -52291,7 +52291,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52301,24 +52301,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1656, + "id": 1148, "name": "UserDefinedTypeName", - "src": "31170:10:1" + "src": "32046:10:0" } ], - "id": 1657, + "id": 1149, "name": "VariableDeclaration", - "src": "31170:22:1" + "src": "32046:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52330,19 +52330,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1658, + "id": 1150, "name": "ElementaryTypeName", - "src": "31194:7:1" + "src": "32070:7:0" } ], - "id": 1659, + "id": 1151, "name": "VariableDeclaration", - "src": "31194:13:1" + "src": "32070:13:0" } ], - "id": 1660, + "id": 1152, "name": "ParameterList", - "src": "31169:39:1" + "src": "32045:39:0" }, { "children": [ @@ -52351,7 +52351,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1671, + "scope": 1163, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -52363,25 +52363,25 @@ "name": "bool", "type": "bool" }, - "id": 1661, + "id": 1153, "name": "ElementaryTypeName", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1662, + "id": 1154, "name": "VariableDeclaration", - "src": "31232:4:1" + "src": "32108:4:0" } ], - "id": 1663, + "id": 1155, "name": "ParameterList", - "src": "31231:6:1" + "src": "32107:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1663 + "functionReturnParameters": 1155 }, "children": [ { @@ -52403,7 +52403,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52414,13 +52414,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1664, + "id": 1156, "name": "Identifier", - "src": "31255:9:1" + "src": "32132:9:0" }, { "attributes": { @@ -52429,7 +52429,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52438,51 +52438,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1657, + "referencedDeclaration": 1149, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1665, + "id": 1157, "name": "Identifier", - "src": "31265:3:1" + "src": "32142:3:0" } ], - "id": 1666, + "id": 1158, "name": "MemberAccess", - "src": "31265:10:1" + "src": "32142:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1659, + "referencedDeclaration": 1151, "type": "bytes32", "value": "value" }, - "id": 1667, + "id": 1159, "name": "Identifier", - "src": "31277:5:1" + "src": "32154:5:0" } ], - "id": 1668, + "id": 1160, "name": "FunctionCall", - "src": "31255:28:1" + "src": "32132:28:0" } ], - "id": 1669, + "id": 1161, "name": "Return", - "src": "31248:35:1" + "src": "32125:35:0" } ], - "id": 1670, + "id": 1162, "name": "Block", - "src": "31238:52:1" + "src": "32114:54:0" } ], - "id": 1671, + "id": 1163, "name": "FunctionDefinition", - "src": "31152:138:1" + "src": "32028:140:0" }, { "attributes": { @@ -52493,7 +52493,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52503,9 +52503,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1672, + "id": 1164, "name": "StructuredDocumentation", - "src": "31296:70:1" + "src": "32176:72:0" }, { "children": [ @@ -52514,7 +52514,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52524,22 +52524,22 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1673, + "id": 1165, "name": "UserDefinedTypeName", - "src": "31387:10:1" + "src": "32270:10:0" } ], - "id": 1674, + "id": 1166, "name": "VariableDeclaration", - "src": "31387:22:1" + "src": "32270:22:0" } ], - "id": 1675, + "id": 1167, "name": "ParameterList", - "src": "31386:24:1" + "src": "32269:24:0" }, { "children": [ @@ -52548,7 +52548,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1685, + "scope": 1177, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52560,25 +52560,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1676, + "id": 1168, "name": "ElementaryTypeName", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1677, + "id": 1169, "name": "VariableDeclaration", - "src": "31434:7:1" + "src": "32317:7:0" } ], - "id": 1678, + "id": 1170, "name": "ParameterList", - "src": "31433:9:1" + "src": "32316:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1678 + "functionReturnParameters": 1170 }, "children": [ { @@ -52600,20 +52600,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1679, + "id": 1171, "name": "Identifier", - "src": "31460:7:1" + "src": "32344:7:0" }, { "attributes": { @@ -52622,7 +52622,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52631,38 +52631,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1674, + "referencedDeclaration": 1166, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1680, + "id": 1172, "name": "Identifier", - "src": "31468:3:1" + "src": "32352:3:0" } ], - "id": 1681, + "id": 1173, "name": "MemberAccess", - "src": "31468:10:1" + "src": "32352:10:0" } ], - "id": 1682, + "id": 1174, "name": "FunctionCall", - "src": "31460:19:1" + "src": "32344:19:0" } ], - "id": 1683, + "id": 1175, "name": "Return", - "src": "31453:26:1" + "src": "32337:26:0" } ], - "id": 1684, + "id": 1176, "name": "Block", - "src": "31443:43:1" + "src": "32326:45:0" } ], - "id": 1685, + "id": 1177, "name": "FunctionDefinition", - "src": "31371:115:1" + "src": "32254:117:0" }, { "attributes": { @@ -52673,7 +52673,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -52683,9 +52683,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1686, + "id": 1178, "name": "StructuredDocumentation", - "src": "31491:322:1" + "src": "32378:331:0" }, { "children": [ @@ -52694,7 +52694,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.Bytes32Set", @@ -52704,24 +52704,24 @@ { "attributes": { "name": "Bytes32Set", - "referencedDeclaration": 1620, + "referencedDeclaration": 1112, "type": "struct EnumerableSet.Bytes32Set" }, - "id": 1687, + "id": 1179, "name": "UserDefinedTypeName", - "src": "31830:10:1" + "src": "32727:10:0" } ], - "id": 1688, + "id": 1180, "name": "VariableDeclaration", - "src": "31830:22:1" + "src": "32727:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -52733,19 +52733,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1689, + "id": 1181, "name": "ElementaryTypeName", - "src": "31854:7:1" + "src": "32751:7:0" } ], - "id": 1690, + "id": 1182, "name": "VariableDeclaration", - "src": "31854:13:1" + "src": "32751:13:0" } ], - "id": 1691, + "id": 1183, "name": "ParameterList", - "src": "31829:39:1" + "src": "32726:39:0" }, { "children": [ @@ -52754,7 +52754,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1702, + "scope": 1194, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -52766,25 +52766,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1692, + "id": 1184, "name": "ElementaryTypeName", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1693, + "id": 1185, "name": "VariableDeclaration", - "src": "31892:7:1" + "src": "32789:7:0" } ], - "id": 1694, + "id": 1186, "name": "ParameterList", - "src": "31891:9:1" + "src": "32788:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1694 + "functionReturnParameters": 1186 }, "children": [ { @@ -52806,7 +52806,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -52817,13 +52817,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1695, + "id": 1187, "name": "Identifier", - "src": "31918:3:1" + "src": "32816:3:0" }, { "attributes": { @@ -52832,7 +52832,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1619, + "referencedDeclaration": 1111, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -52841,57 +52841,57 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1688, + "referencedDeclaration": 1180, "type": "struct EnumerableSet.Bytes32Set storage pointer", "value": "set" }, - "id": 1696, + "id": 1188, "name": "Identifier", - "src": "31922:3:1" + "src": "32820:3:0" } ], - "id": 1697, + "id": 1189, "name": "MemberAccess", - "src": "31922:10:1" + "src": "32820:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1690, + "referencedDeclaration": 1182, "type": "uint256", "value": "index" }, - "id": 1698, + "id": 1190, "name": "Identifier", - "src": "31934:5:1" + "src": "32832:5:0" } ], - "id": 1699, + "id": 1191, "name": "FunctionCall", - "src": "31918:22:1" + "src": "32816:22:0" } ], - "id": 1700, + "id": 1192, "name": "Return", - "src": "31911:29:1" + "src": "32809:29:0" } ], - "id": 1701, + "id": 1193, "name": "Block", - "src": "31901:46:1" + "src": "32798:48:0" } ], - "id": 1702, + "id": 1194, "name": "FunctionDefinition", - "src": "31818:129:1" + "src": "32715:131:0" }, { "attributes": { "canonicalName": "EnumerableSet.AddressSet", "name": "AddressSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -52900,7 +52900,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1705, + "scope": 1197, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -52910,22 +52910,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1703, + "id": 1195, "name": "UserDefinedTypeName", - "src": "32000:3:1" + "src": "32904:3:0" } ], - "id": 1704, + "id": 1196, "name": "VariableDeclaration", - "src": "32000:10:1" + "src": "32904:10:0" } ], - "id": 1705, + "id": 1197, "name": "StructDefinition", - "src": "31972:45:1" + "src": "32875:47:0" }, { "attributes": { @@ -52936,7 +52936,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -52946,9 +52946,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1706, + "id": 1198, "name": "StructuredDocumentation", - "src": "32023:159:1" + "src": "32930:164:0" }, { "children": [ @@ -52957,7 +52957,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -52967,24 +52967,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1707, + "id": 1199, "name": "UserDefinedTypeName", - "src": "32200:10:1" + "src": "33113:10:0" } ], - "id": 1708, + "id": 1200, "name": "VariableDeclaration", - "src": "32200:22:1" + "src": "33113:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -52997,19 +52997,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1709, + "id": 1201, "name": "ElementaryTypeName", - "src": "32224:7:1" + "src": "33137:7:0" } ], - "id": 1710, + "id": 1202, "name": "VariableDeclaration", - "src": "32224:13:1" + "src": "33137:13:0" } ], - "id": 1711, + "id": 1203, "name": "ParameterList", - "src": "32199:39:1" + "src": "33112:39:0" }, { "children": [ @@ -53018,7 +53018,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1731, + "scope": 1223, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53030,25 +53030,25 @@ "name": "bool", "type": "bool" }, - "id": 1712, + "id": 1204, "name": "ElementaryTypeName", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1713, + "id": 1205, "name": "VariableDeclaration", - "src": "32257:4:1" + "src": "33170:4:0" } ], - "id": 1714, + "id": 1206, "name": "ParameterList", - "src": "32256:6:1" + "src": "33169:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1714 + "functionReturnParameters": 1206 }, "children": [ { @@ -53070,7 +53070,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53081,13 +53081,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1715, + "id": 1207, "name": "Identifier", - "src": "32280:4:1" + "src": "33194:4:0" }, { "attributes": { @@ -53096,7 +53096,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53105,18 +53105,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1708, + "referencedDeclaration": 1200, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1716, + "id": 1208, "name": "Identifier", - "src": "32285:3:1" + "src": "33199:3:0" } ], - "id": 1717, + "id": 1209, "name": "MemberAccess", - "src": "32285:10:1" + "src": "33199:10:0" }, { "attributes": { @@ -53152,14 +53152,14 @@ "attributes": { "name": "bytes32" }, - "id": 1718, + "id": 1210, "name": "ElementaryTypeName", - "src": "32297:7:1" + "src": "33211:7:0" } ], - "id": 1719, + "id": 1211, "name": "ElementaryTypeNameExpression", - "src": "32297:7:1" + "src": "33211:7:0" }, { "attributes": { @@ -53195,14 +53195,14 @@ "attributes": { "name": "uint256" }, - "id": 1720, + "id": 1212, "name": "ElementaryTypeName", - "src": "32305:7:1" + "src": "33219:7:0" } ], - "id": 1721, + "id": 1213, "name": "ElementaryTypeNameExpression", - "src": "32305:7:1" + "src": "33219:7:0" }, { "attributes": { @@ -53238,62 +53238,62 @@ "attributes": { "name": "uint160" }, - "id": 1722, + "id": 1214, "name": "ElementaryTypeName", - "src": "32313:7:1" + "src": "33227:7:0" } ], - "id": 1723, + "id": 1215, "name": "ElementaryTypeNameExpression", - "src": "32313:7:1" + "src": "33227:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1710, + "referencedDeclaration": 1202, "type": "address", "value": "value" }, - "id": 1724, + "id": 1216, "name": "Identifier", - "src": "32321:5:1" + "src": "33235:5:0" } ], - "id": 1725, + "id": 1217, "name": "FunctionCall", - "src": "32313:14:1" + "src": "33227:14:0" } ], - "id": 1726, + "id": 1218, "name": "FunctionCall", - "src": "32305:23:1" + "src": "33219:23:0" } ], - "id": 1727, + "id": 1219, "name": "FunctionCall", - "src": "32297:32:1" + "src": "33211:32:0" } ], - "id": 1728, + "id": 1220, "name": "FunctionCall", - "src": "32280:50:1" + "src": "33194:50:0" } ], - "id": 1729, + "id": 1221, "name": "Return", - "src": "32273:57:1" + "src": "33187:57:0" } ], - "id": 1730, + "id": 1222, "name": "Block", - "src": "32263:74:1" + "src": "33176:76:0" } ], - "id": 1731, + "id": 1223, "name": "FunctionDefinition", - "src": "32187:150:1" + "src": "33100:152:0" }, { "attributes": { @@ -53304,7 +53304,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -53314,9 +53314,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1732, + "id": 1224, "name": "StructuredDocumentation", - "src": "32343:157:1" + "src": "33260:162:0" }, { "children": [ @@ -53325,7 +53325,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53335,24 +53335,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1733, + "id": 1225, "name": "UserDefinedTypeName", - "src": "32521:10:1" + "src": "33444:10:0" } ], - "id": 1734, + "id": 1226, "name": "VariableDeclaration", - "src": "32521:22:1" + "src": "33444:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53365,19 +53365,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1735, + "id": 1227, "name": "ElementaryTypeName", - "src": "32545:7:1" + "src": "33468:7:0" } ], - "id": 1736, + "id": 1228, "name": "VariableDeclaration", - "src": "32545:13:1" + "src": "33468:13:0" } ], - "id": 1737, + "id": 1229, "name": "ParameterList", - "src": "32520:39:1" + "src": "33443:39:0" }, { "children": [ @@ -53386,7 +53386,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1757, + "scope": 1249, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53398,25 +53398,25 @@ "name": "bool", "type": "bool" }, - "id": 1738, + "id": 1230, "name": "ElementaryTypeName", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1739, + "id": 1231, "name": "VariableDeclaration", - "src": "32578:4:1" + "src": "33501:4:0" } ], - "id": 1740, + "id": 1232, "name": "ParameterList", - "src": "32577:6:1" + "src": "33500:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1740 + "functionReturnParameters": 1232 }, "children": [ { @@ -53438,7 +53438,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53449,13 +53449,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1741, + "id": 1233, "name": "Identifier", - "src": "32601:7:1" + "src": "33525:7:0" }, { "attributes": { @@ -53464,7 +53464,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53473,18 +53473,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1734, + "referencedDeclaration": 1226, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1742, + "id": 1234, "name": "Identifier", - "src": "32609:3:1" + "src": "33533:3:0" } ], - "id": 1743, + "id": 1235, "name": "MemberAccess", - "src": "32609:10:1" + "src": "33533:10:0" }, { "attributes": { @@ -53520,14 +53520,14 @@ "attributes": { "name": "bytes32" }, - "id": 1744, + "id": 1236, "name": "ElementaryTypeName", - "src": "32621:7:1" + "src": "33545:7:0" } ], - "id": 1745, + "id": 1237, "name": "ElementaryTypeNameExpression", - "src": "32621:7:1" + "src": "33545:7:0" }, { "attributes": { @@ -53563,14 +53563,14 @@ "attributes": { "name": "uint256" }, - "id": 1746, + "id": 1238, "name": "ElementaryTypeName", - "src": "32629:7:1" + "src": "33553:7:0" } ], - "id": 1747, + "id": 1239, "name": "ElementaryTypeNameExpression", - "src": "32629:7:1" + "src": "33553:7:0" }, { "attributes": { @@ -53606,62 +53606,62 @@ "attributes": { "name": "uint160" }, - "id": 1748, + "id": 1240, "name": "ElementaryTypeName", - "src": "32637:7:1" + "src": "33561:7:0" } ], - "id": 1749, + "id": 1241, "name": "ElementaryTypeNameExpression", - "src": "32637:7:1" + "src": "33561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1736, + "referencedDeclaration": 1228, "type": "address", "value": "value" }, - "id": 1750, + "id": 1242, "name": "Identifier", - "src": "32645:5:1" + "src": "33569:5:0" } ], - "id": 1751, + "id": 1243, "name": "FunctionCall", - "src": "32637:14:1" + "src": "33561:14:0" } ], - "id": 1752, + "id": 1244, "name": "FunctionCall", - "src": "32629:23:1" + "src": "33553:23:0" } ], - "id": 1753, + "id": 1245, "name": "FunctionCall", - "src": "32621:32:1" + "src": "33545:32:0" } ], - "id": 1754, + "id": 1246, "name": "FunctionCall", - "src": "32601:53:1" + "src": "33525:53:0" } ], - "id": 1755, + "id": 1247, "name": "Return", - "src": "32594:60:1" + "src": "33518:60:0" } ], - "id": 1756, + "id": 1248, "name": "Block", - "src": "32584:77:1" + "src": "33507:79:0" } ], - "id": 1757, + "id": 1249, "name": "FunctionDefinition", - "src": "32505:156:1" + "src": "33428:158:0" }, { "attributes": { @@ -53672,7 +53672,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -53682,9 +53682,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1758, + "id": 1250, "name": "StructuredDocumentation", - "src": "32667:70:1" + "src": "33594:72:0" }, { "children": [ @@ -53693,7 +53693,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -53703,24 +53703,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1759, + "id": 1251, "name": "UserDefinedTypeName", - "src": "32760:10:1" + "src": "33690:10:0" } ], - "id": 1760, + "id": 1252, "name": "VariableDeclaration", - "src": "32760:22:1" + "src": "33690:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -53733,19 +53733,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1761, + "id": 1253, "name": "ElementaryTypeName", - "src": "32784:7:1" + "src": "33714:7:0" } ], - "id": 1762, + "id": 1254, "name": "VariableDeclaration", - "src": "32784:13:1" + "src": "33714:13:0" } ], - "id": 1763, + "id": 1255, "name": "ParameterList", - "src": "32759:39:1" + "src": "33689:39:0" }, { "children": [ @@ -53754,7 +53754,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1783, + "scope": 1275, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -53766,25 +53766,25 @@ "name": "bool", "type": "bool" }, - "id": 1764, + "id": 1256, "name": "ElementaryTypeName", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1765, + "id": 1257, "name": "VariableDeclaration", - "src": "32822:4:1" + "src": "33752:4:0" } ], - "id": 1766, + "id": 1258, "name": "ParameterList", - "src": "32821:6:1" + "src": "33751:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1766 + "functionReturnParameters": 1258 }, "children": [ { @@ -53806,7 +53806,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -53817,13 +53817,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1767, + "id": 1259, "name": "Identifier", - "src": "32845:9:1" + "src": "33776:9:0" }, { "attributes": { @@ -53832,7 +53832,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -53841,18 +53841,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1760, + "referencedDeclaration": 1252, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1768, + "id": 1260, "name": "Identifier", - "src": "32855:3:1" + "src": "33786:3:0" } ], - "id": 1769, + "id": 1261, "name": "MemberAccess", - "src": "32855:10:1" + "src": "33786:10:0" }, { "attributes": { @@ -53888,14 +53888,14 @@ "attributes": { "name": "bytes32" }, - "id": 1770, + "id": 1262, "name": "ElementaryTypeName", - "src": "32867:7:1" + "src": "33798:7:0" } ], - "id": 1771, + "id": 1263, "name": "ElementaryTypeNameExpression", - "src": "32867:7:1" + "src": "33798:7:0" }, { "attributes": { @@ -53931,14 +53931,14 @@ "attributes": { "name": "uint256" }, - "id": 1772, + "id": 1264, "name": "ElementaryTypeName", - "src": "32875:7:1" + "src": "33806:7:0" } ], - "id": 1773, + "id": 1265, "name": "ElementaryTypeNameExpression", - "src": "32875:7:1" + "src": "33806:7:0" }, { "attributes": { @@ -53974,62 +53974,62 @@ "attributes": { "name": "uint160" }, - "id": 1774, + "id": 1266, "name": "ElementaryTypeName", - "src": "32883:7:1" + "src": "33814:7:0" } ], - "id": 1775, + "id": 1267, "name": "ElementaryTypeNameExpression", - "src": "32883:7:1" + "src": "33814:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1762, + "referencedDeclaration": 1254, "type": "address", "value": "value" }, - "id": 1776, + "id": 1268, "name": "Identifier", - "src": "32891:5:1" + "src": "33822:5:0" } ], - "id": 1777, + "id": 1269, "name": "FunctionCall", - "src": "32883:14:1" + "src": "33814:14:0" } ], - "id": 1778, + "id": 1270, "name": "FunctionCall", - "src": "32875:23:1" + "src": "33806:23:0" } ], - "id": 1779, + "id": 1271, "name": "FunctionCall", - "src": "32867:32:1" + "src": "33798:32:0" } ], - "id": 1780, + "id": 1272, "name": "FunctionCall", - "src": "32845:55:1" + "src": "33776:55:0" } ], - "id": 1781, + "id": 1273, "name": "Return", - "src": "32838:62:1" + "src": "33769:62:0" } ], - "id": 1782, + "id": 1274, "name": "Block", - "src": "32828:79:1" + "src": "33758:81:0" } ], - "id": 1783, + "id": 1275, "name": "FunctionDefinition", - "src": "32742:165:1" + "src": "33672:167:0" }, { "attributes": { @@ -54040,7 +54040,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54050,9 +54050,9 @@ "attributes": { "text": " @dev Returns the number of values in the set. O(1)." }, - "id": 1784, + "id": 1276, "name": "StructuredDocumentation", - "src": "32913:70:1" + "src": "33847:72:0" }, { "children": [ @@ -54061,7 +54061,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54071,22 +54071,22 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1785, + "id": 1277, "name": "UserDefinedTypeName", - "src": "33004:10:1" + "src": "33941:10:0" } ], - "id": 1786, + "id": 1278, "name": "VariableDeclaration", - "src": "33004:22:1" + "src": "33941:22:0" } ], - "id": 1787, + "id": 1279, "name": "ParameterList", - "src": "33003:24:1" + "src": "33940:24:0" }, { "children": [ @@ -54095,7 +54095,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1797, + "scope": 1289, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54107,25 +54107,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1788, + "id": 1280, "name": "ElementaryTypeName", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1789, + "id": 1281, "name": "VariableDeclaration", - "src": "33051:7:1" + "src": "33988:7:0" } ], - "id": 1790, + "id": 1282, "name": "ParameterList", - "src": "33050:9:1" + "src": "33987:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1790 + "functionReturnParameters": 1282 }, "children": [ { @@ -54147,20 +54147,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1791, + "id": 1283, "name": "Identifier", - "src": "33077:7:1" + "src": "34015:7:0" }, { "attributes": { @@ -54169,7 +54169,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54178,38 +54178,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1786, + "referencedDeclaration": 1278, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1792, + "id": 1284, "name": "Identifier", - "src": "33085:3:1" + "src": "34023:3:0" } ], - "id": 1793, + "id": 1285, "name": "MemberAccess", - "src": "33085:10:1" + "src": "34023:10:0" } ], - "id": 1794, + "id": 1286, "name": "FunctionCall", - "src": "33077:19:1" + "src": "34015:19:0" } ], - "id": 1795, + "id": 1287, "name": "Return", - "src": "33070:26:1" + "src": "34008:26:0" } ], - "id": 1796, + "id": 1288, "name": "Block", - "src": "33060:43:1" + "src": "33997:45:0" } ], - "id": 1797, + "id": 1289, "name": "FunctionDefinition", - "src": "32988:115:1" + "src": "33925:117:0" }, { "attributes": { @@ -54220,7 +54220,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -54230,9 +54230,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1798, + "id": 1290, "name": "StructuredDocumentation", - "src": "33108:322:1" + "src": "34049:331:0" }, { "children": [ @@ -54241,7 +54241,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.AddressSet", @@ -54251,24 +54251,24 @@ { "attributes": { "name": "AddressSet", - "referencedDeclaration": 1705, + "referencedDeclaration": 1197, "type": "struct EnumerableSet.AddressSet" }, - "id": 1799, + "id": 1291, "name": "UserDefinedTypeName", - "src": "33447:10:1" + "src": "34398:10:0" } ], - "id": 1800, + "id": 1292, "name": "VariableDeclaration", - "src": "33447:22:1" + "src": "34398:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54280,19 +54280,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1801, + "id": 1293, "name": "ElementaryTypeName", - "src": "33471:7:1" + "src": "34422:7:0" } ], - "id": 1802, + "id": 1294, "name": "VariableDeclaration", - "src": "33471:13:1" + "src": "34422:13:0" } ], - "id": 1803, + "id": 1295, "name": "ParameterList", - "src": "33446:39:1" + "src": "34397:39:0" }, { "children": [ @@ -54301,7 +54301,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1823, + "scope": 1315, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -54314,25 +54314,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 1804, + "id": 1296, "name": "ElementaryTypeName", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1805, + "id": 1297, "name": "VariableDeclaration", - "src": "33509:7:1" + "src": "34460:7:0" } ], - "id": 1806, + "id": 1298, "name": "ParameterList", - "src": "33508:9:1" + "src": "34459:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1806 + "functionReturnParameters": 1298 }, "children": [ { @@ -54369,14 +54369,14 @@ "attributes": { "name": "address" }, - "id": 1807, + "id": 1299, "name": "ElementaryTypeName", - "src": "33535:7:1" + "src": "34487:7:0" } ], - "id": 1808, + "id": 1300, "name": "ElementaryTypeNameExpression", - "src": "33535:7:1" + "src": "34487:7:0" }, { "attributes": { @@ -54412,14 +54412,14 @@ "attributes": { "name": "uint160" }, - "id": 1809, + "id": 1301, "name": "ElementaryTypeName", - "src": "33543:7:1" + "src": "34495:7:0" } ], - "id": 1810, + "id": 1302, "name": "ElementaryTypeNameExpression", - "src": "33543:7:1" + "src": "34495:7:0" }, { "attributes": { @@ -54455,14 +54455,14 @@ "attributes": { "name": "uint256" }, - "id": 1811, + "id": 1303, "name": "ElementaryTypeName", - "src": "33551:7:1" + "src": "34503:7:0" } ], - "id": 1812, + "id": 1304, "name": "ElementaryTypeNameExpression", - "src": "33551:7:1" + "src": "34503:7:0" }, { "attributes": { @@ -54483,7 +54483,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54494,13 +54494,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1813, + "id": 1305, "name": "Identifier", - "src": "33559:3:1" + "src": "34511:3:0" }, { "attributes": { @@ -54509,7 +54509,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1704, + "referencedDeclaration": 1196, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54518,72 +54518,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1800, + "referencedDeclaration": 1292, "type": "struct EnumerableSet.AddressSet storage pointer", "value": "set" }, - "id": 1814, + "id": 1306, "name": "Identifier", - "src": "33563:3:1" + "src": "34515:3:0" } ], - "id": 1815, + "id": 1307, "name": "MemberAccess", - "src": "33563:10:1" + "src": "34515:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1802, + "referencedDeclaration": 1294, "type": "uint256", "value": "index" }, - "id": 1816, + "id": 1308, "name": "Identifier", - "src": "33575:5:1" + "src": "34527:5:0" } ], - "id": 1817, + "id": 1309, "name": "FunctionCall", - "src": "33559:22:1" + "src": "34511:22:0" } ], - "id": 1818, + "id": 1310, "name": "FunctionCall", - "src": "33551:31:1" + "src": "34503:31:0" } ], - "id": 1819, + "id": 1311, "name": "FunctionCall", - "src": "33543:40:1" + "src": "34495:40:0" } ], - "id": 1820, + "id": 1312, "name": "FunctionCall", - "src": "33535:49:1" + "src": "34487:49:0" } ], - "id": 1821, + "id": 1313, "name": "Return", - "src": "33528:56:1" + "src": "34480:56:0" } ], - "id": 1822, + "id": 1314, "name": "Block", - "src": "33518:73:1" + "src": "34469:75:0" } ], - "id": 1823, + "id": 1315, "name": "FunctionDefinition", - "src": "33435:156:1" + "src": "34386:158:0" }, { "attributes": { "canonicalName": "EnumerableSet.UintSet", "name": "UintSet", - "scope": 1921, + "scope": 1413, "visibility": "public" }, "children": [ @@ -54592,7 +54592,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 1826, + "scope": 1318, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableSet.Set", @@ -54602,22 +54602,22 @@ { "attributes": { "name": "Set", - "referencedDeclaration": 1440, + "referencedDeclaration": 932, "type": "struct EnumerableSet.Set" }, - "id": 1824, + "id": 1316, "name": "UserDefinedTypeName", - "src": "33639:3:1" + "src": "34598:3:0" } ], - "id": 1825, + "id": 1317, "name": "VariableDeclaration", - "src": "33639:10:1" + "src": "34598:10:0" } ], - "id": 1826, + "id": 1318, "name": "StructDefinition", - "src": "33614:42:1" + "src": "34572:44:0" }, { "attributes": { @@ -54628,7 +54628,7 @@ null ], "name": "add", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -54638,9 +54638,9 @@ "attributes": { "text": " @dev Add a value to a set. O(1).\n Returns true if the value was added to the set, that is if it was not\n already present." }, - "id": 1827, + "id": 1319, "name": "StructuredDocumentation", - "src": "33662:159:1" + "src": "34624:164:0" }, { "children": [ @@ -54649,7 +54649,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -54659,24 +54659,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1828, + "id": 1320, "name": "UserDefinedTypeName", - "src": "33839:7:1" + "src": "34807:7:0" } ], - "id": 1829, + "id": 1321, "name": "VariableDeclaration", - "src": "33839:19:1" + "src": "34807:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54688,19 +54688,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1830, + "id": 1322, "name": "ElementaryTypeName", - "src": "33860:7:1" + "src": "34828:7:0" } ], - "id": 1831, + "id": 1323, "name": "VariableDeclaration", - "src": "33860:13:1" + "src": "34828:13:0" } ], - "id": 1832, + "id": 1324, "name": "ParameterList", - "src": "33838:36:1" + "src": "34806:36:0" }, { "children": [ @@ -54709,7 +54709,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1846, + "scope": 1338, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -54721,25 +54721,25 @@ "name": "bool", "type": "bool" }, - "id": 1833, + "id": 1325, "name": "ElementaryTypeName", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1834, + "id": 1326, "name": "VariableDeclaration", - "src": "33893:4:1" + "src": "34861:4:0" } ], - "id": 1835, + "id": 1327, "name": "ParameterList", - "src": "33892:6:1" + "src": "34860:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1835 + "functionReturnParameters": 1327 }, "children": [ { @@ -54761,7 +54761,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -54772,13 +54772,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1481, + "referencedDeclaration": 973, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_add" }, - "id": 1836, + "id": 1328, "name": "Identifier", - "src": "33916:4:1" + "src": "34885:4:0" }, { "attributes": { @@ -54787,7 +54787,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -54796,18 +54796,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1829, + "referencedDeclaration": 1321, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1837, + "id": 1329, "name": "Identifier", - "src": "33921:3:1" + "src": "34890:3:0" } ], - "id": 1838, + "id": 1330, "name": "MemberAccess", - "src": "33921:10:1" + "src": "34890:10:0" }, { "attributes": { @@ -54843,52 +54843,52 @@ "attributes": { "name": "bytes32" }, - "id": 1839, + "id": 1331, "name": "ElementaryTypeName", - "src": "33933:7:1" + "src": "34902:7:0" } ], - "id": 1840, + "id": 1332, "name": "ElementaryTypeNameExpression", - "src": "33933:7:1" + "src": "34902:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1831, + "referencedDeclaration": 1323, "type": "uint256", "value": "value" }, - "id": 1841, + "id": 1333, "name": "Identifier", - "src": "33941:5:1" + "src": "34910:5:0" } ], - "id": 1842, + "id": 1334, "name": "FunctionCall", - "src": "33933:14:1" + "src": "34902:14:0" } ], - "id": 1843, + "id": 1335, "name": "FunctionCall", - "src": "33916:32:1" + "src": "34885:32:0" } ], - "id": 1844, + "id": 1336, "name": "Return", - "src": "33909:39:1" + "src": "34878:39:0" } ], - "id": 1845, + "id": 1337, "name": "Block", - "src": "33899:56:1" + "src": "34867:58:0" } ], - "id": 1846, + "id": 1338, "name": "FunctionDefinition", - "src": "33826:129:1" + "src": "34794:131:0" }, { "attributes": { @@ -54899,7 +54899,7 @@ null ], "name": "remove", - "scope": 1921, + "scope": 1413, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -54909,9 +54909,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the value was removed from the set, that is if it was\n present." }, - "id": 1847, + "id": 1339, "name": "StructuredDocumentation", - "src": "33961:157:1" + "src": "34933:162:0" }, { "children": [ @@ -54920,7 +54920,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -54930,24 +54930,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1848, + "id": 1340, "name": "UserDefinedTypeName", - "src": "34139:7:1" + "src": "35117:7:0" } ], - "id": 1849, + "id": 1341, "name": "VariableDeclaration", - "src": "34139:19:1" + "src": "35117:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -54959,19 +54959,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1850, + "id": 1342, "name": "ElementaryTypeName", - "src": "34160:7:1" + "src": "35138:7:0" } ], - "id": 1851, + "id": 1343, "name": "VariableDeclaration", - "src": "34160:13:1" + "src": "35138:13:0" } ], - "id": 1852, + "id": 1344, "name": "ParameterList", - "src": "34138:36:1" + "src": "35116:36:0" }, { "children": [ @@ -54980,7 +54980,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1866, + "scope": 1358, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -54992,25 +54992,25 @@ "name": "bool", "type": "bool" }, - "id": 1853, + "id": 1345, "name": "ElementaryTypeName", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1854, + "id": 1346, "name": "VariableDeclaration", - "src": "34193:4:1" + "src": "35171:4:0" } ], - "id": 1855, + "id": 1347, "name": "ParameterList", - "src": "34192:6:1" + "src": "35170:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1855 + "functionReturnParameters": 1347 }, "children": [ { @@ -55032,7 +55032,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55043,13 +55043,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1561, + "referencedDeclaration": 1053, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 1856, + "id": 1348, "name": "Identifier", - "src": "34216:7:1" + "src": "35195:7:0" }, { "attributes": { @@ -55058,7 +55058,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55067,18 +55067,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1849, + "referencedDeclaration": 1341, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1857, + "id": 1349, "name": "Identifier", - "src": "34224:3:1" + "src": "35203:3:0" } ], - "id": 1858, + "id": 1350, "name": "MemberAccess", - "src": "34224:10:1" + "src": "35203:10:0" }, { "attributes": { @@ -55114,52 +55114,52 @@ "attributes": { "name": "bytes32" }, - "id": 1859, + "id": 1351, "name": "ElementaryTypeName", - "src": "34236:7:1" + "src": "35215:7:0" } ], - "id": 1860, + "id": 1352, "name": "ElementaryTypeNameExpression", - "src": "34236:7:1" + "src": "35215:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1851, + "referencedDeclaration": 1343, "type": "uint256", "value": "value" }, - "id": 1861, + "id": 1353, "name": "Identifier", - "src": "34244:5:1" + "src": "35223:5:0" } ], - "id": 1862, + "id": 1354, "name": "FunctionCall", - "src": "34236:14:1" + "src": "35215:14:0" } ], - "id": 1863, + "id": 1355, "name": "FunctionCall", - "src": "34216:35:1" + "src": "35195:35:0" } ], - "id": 1864, + "id": 1356, "name": "Return", - "src": "34209:42:1" + "src": "35188:42:0" } ], - "id": 1865, + "id": 1357, "name": "Block", - "src": "34199:59:1" + "src": "35177:61:0" } ], - "id": 1866, + "id": 1358, "name": "FunctionDefinition", - "src": "34123:135:1" + "src": "35101:137:0" }, { "attributes": { @@ -55170,7 +55170,7 @@ null ], "name": "contains", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55180,9 +55180,9 @@ "attributes": { "text": " @dev Returns true if the value is in the set. O(1)." }, - "id": 1867, + "id": 1359, "name": "StructuredDocumentation", - "src": "34264:70:1" + "src": "35246:72:0" }, { "children": [ @@ -55191,7 +55191,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55201,24 +55201,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1868, + "id": 1360, "name": "UserDefinedTypeName", - "src": "34357:7:1" + "src": "35342:7:0" } ], - "id": 1869, + "id": 1361, "name": "VariableDeclaration", - "src": "34357:19:1" + "src": "35342:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55230,19 +55230,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1870, + "id": 1362, "name": "ElementaryTypeName", - "src": "34378:7:1" + "src": "35363:7:0" } ], - "id": 1871, + "id": 1363, "name": "VariableDeclaration", - "src": "34378:13:1" + "src": "35363:13:0" } ], - "id": 1872, + "id": 1364, "name": "ParameterList", - "src": "34356:36:1" + "src": "35341:36:0" }, { "children": [ @@ -55251,7 +55251,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1886, + "scope": 1378, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -55263,25 +55263,25 @@ "name": "bool", "type": "bool" }, - "id": 1873, + "id": 1365, "name": "ElementaryTypeName", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1874, + "id": 1366, "name": "VariableDeclaration", - "src": "34416:4:1" + "src": "35401:4:0" } ], - "id": 1875, + "id": 1367, "name": "ParameterList", - "src": "34415:6:1" + "src": "35400:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1875 + "functionReturnParameters": 1367 }, "children": [ { @@ -55303,7 +55303,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55314,13 +55314,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1579, + "referencedDeclaration": 1071, "type": "function (struct EnumerableSet.Set storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 1876, + "id": 1368, "name": "Identifier", - "src": "34439:9:1" + "src": "35425:9:0" }, { "attributes": { @@ -55329,7 +55329,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55338,18 +55338,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1869, + "referencedDeclaration": 1361, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1877, + "id": 1369, "name": "Identifier", - "src": "34449:3:1" + "src": "35435:3:0" } ], - "id": 1878, + "id": 1370, "name": "MemberAccess", - "src": "34449:10:1" + "src": "35435:10:0" }, { "attributes": { @@ -55385,52 +55385,52 @@ "attributes": { "name": "bytes32" }, - "id": 1879, + "id": 1371, "name": "ElementaryTypeName", - "src": "34461:7:1" + "src": "35447:7:0" } ], - "id": 1880, + "id": 1372, "name": "ElementaryTypeNameExpression", - "src": "34461:7:1" + "src": "35447:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1871, + "referencedDeclaration": 1363, "type": "uint256", "value": "value" }, - "id": 1881, + "id": 1373, "name": "Identifier", - "src": "34469:5:1" + "src": "35455:5:0" } ], - "id": 1882, + "id": 1374, "name": "FunctionCall", - "src": "34461:14:1" + "src": "35447:14:0" } ], - "id": 1883, + "id": 1375, "name": "FunctionCall", - "src": "34439:37:1" + "src": "35425:37:0" } ], - "id": 1884, + "id": 1376, "name": "Return", - "src": "34432:44:1" + "src": "35418:44:0" } ], - "id": 1885, + "id": 1377, "name": "Block", - "src": "34422:61:1" + "src": "35407:63:0" } ], - "id": 1886, + "id": 1378, "name": "FunctionDefinition", - "src": "34339:144:1" + "src": "35324:146:0" }, { "attributes": { @@ -55441,7 +55441,7 @@ null ], "name": "length", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55451,9 +55451,9 @@ "attributes": { "text": " @dev Returns the number of values on the set. O(1)." }, - "id": 1887, + "id": 1379, "name": "StructuredDocumentation", - "src": "34489:70:1" + "src": "35478:72:0" }, { "children": [ @@ -55462,7 +55462,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55472,22 +55472,22 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1888, + "id": 1380, "name": "UserDefinedTypeName", - "src": "34580:7:1" + "src": "35572:7:0" } ], - "id": 1889, + "id": 1381, "name": "VariableDeclaration", - "src": "34580:19:1" + "src": "35572:19:0" } ], - "id": 1890, + "id": 1382, "name": "ParameterList", - "src": "34579:21:1" + "src": "35571:21:0" }, { "children": [ @@ -55496,7 +55496,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1900, + "scope": 1392, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55508,25 +55508,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1891, + "id": 1383, "name": "ElementaryTypeName", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1892, + "id": 1384, "name": "VariableDeclaration", - "src": "34624:7:1" + "src": "35616:7:0" } ], - "id": 1893, + "id": 1385, "name": "ParameterList", - "src": "34623:9:1" + "src": "35615:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1893 + "functionReturnParameters": 1385 }, "children": [ { @@ -55548,20 +55548,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 1592, + "referencedDeclaration": 1084, "type": "function (struct EnumerableSet.Set storage pointer) view returns (uint256)", "value": "_length" }, - "id": 1894, + "id": 1386, "name": "Identifier", - "src": "34650:7:1" + "src": "35643:7:0" }, { "attributes": { @@ -55570,7 +55570,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55579,38 +55579,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1889, + "referencedDeclaration": 1381, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1895, + "id": 1387, "name": "Identifier", - "src": "34658:3:1" + "src": "35651:3:0" } ], - "id": 1896, + "id": 1388, "name": "MemberAccess", - "src": "34658:10:1" + "src": "35651:10:0" } ], - "id": 1897, + "id": 1389, "name": "FunctionCall", - "src": "34650:19:1" + "src": "35643:19:0" } ], - "id": 1898, + "id": 1390, "name": "Return", - "src": "34643:26:1" + "src": "35636:26:0" } ], - "id": 1899, + "id": 1391, "name": "Block", - "src": "34633:43:1" + "src": "35625:45:0" } ], - "id": 1900, + "id": 1392, "name": "FunctionDefinition", - "src": "34564:112:1" + "src": "35556:114:0" }, { "attributes": { @@ -55621,7 +55621,7 @@ null ], "name": "at", - "scope": 1921, + "scope": 1413, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -55631,9 +55631,9 @@ "attributes": { "text": " @dev Returns the value stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 1901, + "id": 1393, "name": "StructuredDocumentation", - "src": "34681:322:1" + "src": "35677:331:0" }, { "children": [ @@ -55642,7 +55642,7 @@ "constant": false, "mutability": "mutable", "name": "set", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableSet.UintSet", @@ -55652,24 +55652,24 @@ { "attributes": { "name": "UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 1902, + "id": 1394, "name": "UserDefinedTypeName", - "src": "35020:7:1" + "src": "36026:7:0" } ], - "id": 1903, + "id": 1395, "name": "VariableDeclaration", - "src": "35020:19:1" + "src": "36026:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55681,19 +55681,19 @@ "name": "uint256", "type": "uint256" }, - "id": 1904, + "id": 1396, "name": "ElementaryTypeName", - "src": "35041:7:1" + "src": "36047:7:0" } ], - "id": 1905, + "id": 1397, "name": "VariableDeclaration", - "src": "35041:13:1" + "src": "36047:13:0" } ], - "id": 1906, + "id": 1398, "name": "ParameterList", - "src": "35019:36:1" + "src": "36025:36:0" }, { "children": [ @@ -55702,7 +55702,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1920, + "scope": 1412, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -55714,25 +55714,25 @@ "name": "uint256", "type": "uint256" }, - "id": 1907, + "id": 1399, "name": "ElementaryTypeName", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1908, + "id": 1400, "name": "VariableDeclaration", - "src": "35079:7:1" + "src": "36085:7:0" } ], - "id": 1909, + "id": 1401, "name": "ParameterList", - "src": "35078:9:1" + "src": "36084:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 1909 + "functionReturnParameters": 1401 }, "children": [ { @@ -55769,14 +55769,14 @@ "attributes": { "name": "uint256" }, - "id": 1910, + "id": 1402, "name": "ElementaryTypeName", - "src": "35105:7:1" + "src": "36112:7:0" } ], - "id": 1911, + "id": 1403, "name": "ElementaryTypeNameExpression", - "src": "35105:7:1" + "src": "36112:7:0" }, { "attributes": { @@ -55797,7 +55797,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Set_$1440_storage", + "typeIdentifier": "t_struct$_Set_$932_storage", "typeString": "struct EnumerableSet.Set storage ref" }, { @@ -55808,13 +55808,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1617, + "referencedDeclaration": 1109, "type": "function (struct EnumerableSet.Set storage pointer,uint256) view returns (bytes32)", "value": "_at" }, - "id": 1912, + "id": 1404, "name": "Identifier", - "src": "35113:3:1" + "src": "36120:3:0" }, { "attributes": { @@ -55823,7 +55823,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 1825, + "referencedDeclaration": 1317, "type": "struct EnumerableSet.Set storage ref" }, "children": [ @@ -55832,61 +55832,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1903, + "referencedDeclaration": 1395, "type": "struct EnumerableSet.UintSet storage pointer", "value": "set" }, - "id": 1913, + "id": 1405, "name": "Identifier", - "src": "35117:3:1" + "src": "36124:3:0" } ], - "id": 1914, + "id": 1406, "name": "MemberAccess", - "src": "35117:10:1" + "src": "36124:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1905, + "referencedDeclaration": 1397, "type": "uint256", "value": "index" }, - "id": 1915, + "id": 1407, "name": "Identifier", - "src": "35129:5:1" + "src": "36136:5:0" } ], - "id": 1916, + "id": 1408, "name": "FunctionCall", - "src": "35113:22:1" + "src": "36120:22:0" } ], - "id": 1917, + "id": 1409, "name": "FunctionCall", - "src": "35105:31:1" + "src": "36112:31:0" } ], - "id": 1918, + "id": 1410, "name": "Return", - "src": "35098:38:1" + "src": "36105:38:0" } ], - "id": 1919, + "id": 1411, "name": "Block", - "src": "35088:55:1" + "src": "36094:57:0" } ], - "id": 1920, + "id": 1412, "name": "FunctionDefinition", - "src": "35008:135:1" + "src": "36014:137:0" } ], - "id": 1921, + "id": 1413, "name": "ContractDefinition", - "src": "26511:8634:1" + "src": "27252:8902:0" }, { "attributes": { @@ -55900,9 +55900,9 @@ ".0" ] }, - "id": 1922, + "id": 1414, "name": "PragmaDirective", - "src": "35204:31:1" + "src": "36216:31:0" }, { "attributes": { @@ -55916,25 +55916,25 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2480 + 1972 ], "name": "EnumerableMap", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev Library for managing an enumerable variant of Solidity's\n https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]\n type.\n Maps have the following properties:\n - Entries are added, removed, and checked for existence in constant time\n (O(1)).\n - Entries are enumerated in O(n). No guarantees are made on the ordering.\n ```\n contract Example {\n // Add the library methods\n using EnumerableMap for EnumerableMap.UintToAddressMap;\n // Declare a set state variable\n EnumerableMap.UintToAddressMap private myMap;\n }\n ```\n As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are\n supported." }, - "id": 1923, + "id": 1415, "name": "StructuredDocumentation", - "src": "35237:705:1" + "src": "36251:728:0" }, { "attributes": { "canonicalName": "EnumerableMap.MapEntry", "name": "MapEntry", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -55943,7 +55943,7 @@ "constant": false, "mutability": "mutable", "name": "_key", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -55955,21 +55955,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1924, + "id": 1416, "name": "ElementaryTypeName", - "src": "36455:7:1" + "src": "37504:7:0" } ], - "id": 1925, + "id": 1417, "name": "VariableDeclaration", - "src": "36455:12:1" + "src": "37504:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_value", - "scope": 1928, + "scope": 1420, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -55981,25 +55981,25 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1926, + "id": 1418, "name": "ElementaryTypeName", - "src": "36477:7:1" + "src": "37527:7:0" } ], - "id": 1927, + "id": 1419, "name": "VariableDeclaration", - "src": "36477:14:1" + "src": "37527:14:0" } ], - "id": 1928, + "id": 1420, "name": "StructDefinition", - "src": "36429:69:1" + "src": "37477:72:0" }, { "attributes": { "canonicalName": "EnumerableMap.Map", "name": "Map", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -56008,7 +56008,7 @@ "constant": false, "mutability": "mutable", "name": "_entries", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.MapEntry[]", @@ -56023,29 +56023,29 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 1929, + "id": 1421, "name": "UserDefinedTypeName", - "src": "36567:8:1" + "src": "37622:8:0" } ], - "id": 1930, + "id": 1422, "name": "ArrayTypeName", - "src": "36567:10:1" + "src": "37622:10:0" } ], - "id": 1931, + "id": 1423, "name": "VariableDeclaration", - "src": "36567:19:1" + "src": "37622:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_indexes", - "scope": 1936, + "scope": 1428, "stateVariable": false, "storageLocation": "default", "type": "mapping(bytes32 => uint256)", @@ -56062,33 +56062,33 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1932, + "id": 1424, "name": "ElementaryTypeName", - "src": "36745:7:1" + "src": "37804:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 1933, + "id": 1425, "name": "ElementaryTypeName", - "src": "36756:7:1" + "src": "37815:7:0" } ], - "id": 1934, + "id": 1426, "name": "Mapping", - "src": "36736:28:1" + "src": "37795:28:0" } ], - "id": 1935, + "id": 1427, "name": "VariableDeclaration", - "src": "36736:37:1" + "src": "37795:37:0" } ], - "id": 1936, + "id": 1428, "name": "StructDefinition", - "src": "36504:276:1" + "src": "37557:283:0" }, { "attributes": { @@ -56099,7 +56099,7 @@ null ], "name": "_set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56109,9 +56109,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 1937, + "id": 1429, "name": "StructuredDocumentation", - "src": "36786:216:1" + "src": "37848:222:0" }, { "children": [ @@ -56120,7 +56120,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56130,24 +56130,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 1938, + "id": 1430, "name": "UserDefinedTypeName", - "src": "37021:3:1" + "src": "38090:3:0" } ], - "id": 1939, + "id": 1431, "name": "VariableDeclaration", - "src": "37021:15:1" + "src": "38090:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56159,21 +56159,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1940, + "id": 1432, "name": "ElementaryTypeName", - "src": "37038:7:1" + "src": "38107:7:0" } ], - "id": 1941, + "id": 1433, "name": "VariableDeclaration", - "src": "37038:11:1" + "src": "38107:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56185,19 +56185,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 1942, + "id": 1434, "name": "ElementaryTypeName", - "src": "37051:7:1" + "src": "38120:7:0" } ], - "id": 1943, + "id": 1435, "name": "VariableDeclaration", - "src": "37051:13:1" + "src": "38120:13:0" } ], - "id": 1944, + "id": 1436, "name": "ParameterList", - "src": "37020:45:1" + "src": "38089:45:0" }, { "children": [ @@ -56206,7 +56206,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 1998, + "scope": 1490, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -56218,26 +56218,26 @@ "name": "bool", "type": "bool" }, - "id": 1945, + "id": 1437, "name": "ElementaryTypeName", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1946, + "id": 1438, "name": "VariableDeclaration", - "src": "37083:4:1" + "src": "38152:4:0" } ], - "id": 1947, + "id": 1439, "name": "ParameterList", - "src": "37082:6:1" + "src": "38151:6:0" }, { "children": [ { "attributes": { "assignments": [ - 1949 + 1441 ] }, "children": [ @@ -56246,7 +56246,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 1997, + "scope": 1489, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -56258,14 +56258,14 @@ "name": "uint256", "type": "uint256" }, - "id": 1948, + "id": 1440, "name": "ElementaryTypeName", - "src": "37197:7:1" + "src": "38268:7:0" } ], - "id": 1949, + "id": 1441, "name": "VariableDeclaration", - "src": "37197:16:1" + "src": "38268:16:0" }, { "attributes": { @@ -56283,7 +56283,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56292,41 +56292,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1950, + "id": 1442, "name": "Identifier", - "src": "37216:3:1" + "src": "38287:3:0" } ], - "id": 1951, + "id": 1443, "name": "MemberAccess", - "src": "37216:12:1" + "src": "38287:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1952, + "id": 1444, "name": "Identifier", - "src": "37229:3:1" + "src": "38300:3:0" } ], - "id": 1953, + "id": 1445, "name": "IndexAccess", - "src": "37216:17:1" + "src": "38287:17:0" } ], - "id": 1954, + "id": 1446, "name": "VariableDeclarationStatement", - "src": "37197:36:1" + "src": "38268:36:0" }, { "children": [ @@ -56349,13 +56349,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1955, + "id": 1447, "name": "Identifier", - "src": "37248:8:1" + "src": "38321:8:0" }, { "attributes": { @@ -56368,14 +56368,14 @@ "type": "int_const 0", "value": "0" }, - "id": 1956, + "id": 1448, "name": "Literal", - "src": "37260:1:1" + "src": "38333:1:0" } ], - "id": 1957, + "id": 1449, "name": "BinaryOperation", - "src": "37248:13:1" + "src": "38321:13:0" }, { "children": [ @@ -56400,7 +56400,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_MapEntry_$1928_memory_ptr", + "typeIdentifier": "t_struct$_MapEntry_$1420_memory_ptr", "typeString": "struct EnumerableMap.MapEntry memory" } ], @@ -56419,7 +56419,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56428,23 +56428,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1958, + "id": 1450, "name": "Identifier", - "src": "37314:3:1" + "src": "38388:3:0" } ], - "id": 1961, + "id": 1453, "name": "MemberAccess", - "src": "37314:12:1" + "src": "38388:12:0" } ], - "id": 1962, + "id": 1454, "name": "MemberAccess", - "src": "37314:17:1" + "src": "38388:17:0" }, { "attributes": { @@ -56477,54 +56477,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "type(struct EnumerableMap.MapEntry storage pointer)", "value": "MapEntry" }, - "id": 1963, + "id": 1455, "name": "Identifier", - "src": "37332:8:1" + "src": "38406:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1964, + "id": 1456, "name": "Identifier", - "src": "37349:3:1" + "src": "38423:3:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1965, + "id": 1457, "name": "Identifier", - "src": "37362:5:1" + "src": "38436:5:0" } ], - "id": 1966, + "id": 1458, "name": "FunctionCall", - "src": "37332:38:1" + "src": "38406:38:0" } ], - "id": 1967, + "id": 1459, "name": "FunctionCall", - "src": "37314:57:1" + "src": "38388:57:0" } ], - "id": 1968, + "id": 1460, "name": "ExpressionStatement", - "src": "37314:57:1" + "src": "38388:57:0" }, { "children": [ @@ -56554,7 +56554,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -56563,36 +56563,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1969, + "id": 1461, "name": "Identifier", - "src": "37506:3:1" + "src": "38583:3:0" } ], - "id": 1972, + "id": 1464, "name": "MemberAccess", - "src": "37506:12:1" + "src": "38583:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1941, + "referencedDeclaration": 1433, "type": "bytes32", "value": "key" }, - "id": 1971, + "id": 1463, "name": "Identifier", - "src": "37519:3:1" + "src": "38596:3:0" } ], - "id": 1973, + "id": 1465, "name": "IndexAccess", - "src": "37506:17:1" + "src": "38583:17:0" }, { "attributes": { @@ -56611,7 +56611,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56620,37 +56620,37 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1974, + "id": 1466, "name": "Identifier", - "src": "37526:3:1" + "src": "38603:3:0" } ], - "id": 1975, + "id": 1467, "name": "MemberAccess", - "src": "37526:12:1" + "src": "38603:12:0" } ], - "id": 1976, + "id": 1468, "name": "MemberAccess", - "src": "37526:19:1" + "src": "38603:19:0" } ], - "id": 1977, + "id": 1469, "name": "Assignment", - "src": "37506:39:1" + "src": "38583:39:0" } ], - "id": 1978, + "id": 1470, "name": "ExpressionStatement", - "src": "37506:39:1" + "src": "38583:39:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -56664,19 +56664,19 @@ "type": "bool", "value": "true" }, - "id": 1979, + "id": 1471, "name": "Literal", - "src": "37566:4:1" + "src": "38644:4:0" } ], - "id": 1980, + "id": 1472, "name": "Return", - "src": "37559:11:1" + "src": "38637:11:0" } ], - "id": 1981, + "id": 1473, "name": "Block", - "src": "37263:318:1" + "src": "38336:324:0" }, { "children": [ @@ -56699,7 +56699,7 @@ "isPure": false, "lValueRequested": true, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -56719,7 +56719,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -56728,18 +56728,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1939, + "referencedDeclaration": 1431, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 1982, + "id": 1474, "name": "Identifier", - "src": "37601:3:1" + "src": "38681:3:0" } ], - "id": 1987, + "id": 1479, "name": "MemberAccess", - "src": "37601:12:1" + "src": "38681:12:0" }, { "attributes": { @@ -56760,13 +56760,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1949, + "referencedDeclaration": 1441, "type": "uint256", "value": "keyIndex" }, - "id": 1984, + "id": 1476, "name": "Identifier", - "src": "37614:8:1" + "src": "38694:8:0" }, { "attributes": { @@ -56779,51 +56779,51 @@ "type": "int_const 1", "value": "1" }, - "id": 1985, + "id": 1477, "name": "Literal", - "src": "37625:1:1" + "src": "38705:1:0" } ], - "id": 1986, + "id": 1478, "name": "BinaryOperation", - "src": "37614:12:1" + "src": "38694:12:0" } ], - "id": 1988, + "id": 1480, "name": "IndexAccess", - "src": "37601:26:1" + "src": "38681:26:0" } ], - "id": 1989, + "id": 1481, "name": "MemberAccess", - "src": "37601:33:1" + "src": "38681:33:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 1943, + "referencedDeclaration": 1435, "type": "bytes32", "value": "value" }, - "id": 1990, + "id": 1482, "name": "Identifier", - "src": "37637:5:1" + "src": "38717:5:0" } ], - "id": 1991, + "id": 1483, "name": "Assignment", - "src": "37601:41:1" + "src": "38681:41:0" } ], - "id": 1992, + "id": 1484, "name": "ExpressionStatement", - "src": "37601:41:1" + "src": "38681:41:0" }, { "attributes": { - "functionReturnParameters": 1947 + "functionReturnParameters": 1439 }, "children": [ { @@ -56837,34 +56837,34 @@ "type": "bool", "value": "false" }, - "id": 1993, + "id": 1485, "name": "Literal", - "src": "37663:5:1" + "src": "38744:5:0" } ], - "id": 1994, + "id": 1486, "name": "Return", - "src": "37656:12:1" + "src": "38737:12:0" } ], - "id": 1995, + "id": 1487, "name": "Block", - "src": "37587:92:1" + "src": "38666:95:0" } ], - "id": 1996, + "id": 1488, "name": "IfStatement", - "src": "37244:435:1" + "src": "38317:444:0" } ], - "id": 1997, + "id": 1489, "name": "Block", - "src": "37089:596:1" + "src": "38158:610:0" } ], - "id": 1998, + "id": 1490, "name": "FunctionDefinition", - "src": "37007:678:1" + "src": "38076:692:0" }, { "attributes": { @@ -56875,7 +56875,7 @@ null ], "name": "_remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -56885,9 +56885,9 @@ "attributes": { "text": " @dev Removes a key-value pair from a map. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 1999, + "id": 1491, "name": "StructuredDocumentation", - "src": "37691:157:1" + "src": "38776:161:0" }, { "children": [ @@ -56896,7 +56896,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -56906,24 +56906,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2000, + "id": 1492, "name": "UserDefinedTypeName", - "src": "37870:3:1" + "src": "38960:3:0" } ], - "id": 2001, + "id": 1493, "name": "VariableDeclaration", - "src": "37870:15:1" + "src": "38960:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -56935,19 +56935,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2002, + "id": 1494, "name": "ElementaryTypeName", - "src": "37887:7:1" + "src": "38977:7:0" } ], - "id": 2003, + "id": 1495, "name": "VariableDeclaration", - "src": "37887:11:1" + "src": "38977:11:0" } ], - "id": 2004, + "id": 1496, "name": "ParameterList", - "src": "37869:30:1" + "src": "38959:30:0" }, { "children": [ @@ -56956,7 +56956,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2079, + "scope": 1571, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -56968,26 +56968,26 @@ "name": "bool", "type": "bool" }, - "id": 2005, + "id": 1497, "name": "ElementaryTypeName", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2006, + "id": 1498, "name": "VariableDeclaration", - "src": "37917:4:1" + "src": "39007:4:0" } ], - "id": 2007, + "id": 1499, "name": "ParameterList", - "src": "37916:6:1" + "src": "39006:6:0" }, { "children": [ { "attributes": { "assignments": [ - 2009 + 1501 ] }, "children": [ @@ -56996,7 +56996,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2078, + "scope": 1570, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57008,14 +57008,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2008, + "id": 1500, "name": "ElementaryTypeName", - "src": "38031:7:1" + "src": "39123:7:0" } ], - "id": 2009, + "id": 1501, "name": "VariableDeclaration", - "src": "38031:16:1" + "src": "39123:16:0" }, { "attributes": { @@ -57033,7 +57033,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57042,41 +57042,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2010, + "id": 1502, "name": "Identifier", - "src": "38050:3:1" + "src": "39142:3:0" } ], - "id": 2011, + "id": 1503, "name": "MemberAccess", - "src": "38050:12:1" + "src": "39142:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2012, + "id": 1504, "name": "Identifier", - "src": "38063:3:1" + "src": "39155:3:0" } ], - "id": 2013, + "id": 1505, "name": "IndexAccess", - "src": "38050:17:1" + "src": "39142:17:0" } ], - "id": 2014, + "id": 1506, "name": "VariableDeclarationStatement", - "src": "38031:36:1" + "src": "39123:36:0" }, { "children": [ @@ -57099,13 +57099,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2015, + "id": 1507, "name": "Identifier", - "src": "38082:8:1" + "src": "39176:8:0" }, { "attributes": { @@ -57118,21 +57118,21 @@ "type": "int_const 0", "value": "0" }, - "id": 2016, + "id": 1508, "name": "Literal", - "src": "38094:1:1" + "src": "39188:1:0" } ], - "id": 2017, + "id": 1509, "name": "BinaryOperation", - "src": "38082:13:1" + "src": "39176:13:0" }, { "children": [ { "attributes": { "assignments": [ - 2019 + 1511 ] }, "children": [ @@ -57141,7 +57141,7 @@ "constant": false, "mutability": "mutable", "name": "toDeleteIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57153,14 +57153,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2018, + "id": 1510, "name": "ElementaryTypeName", - "src": "38438:7:1" + "src": "39537:7:0" } ], - "id": 2019, + "id": 1511, "name": "VariableDeclaration", - "src": "38438:21:1" + "src": "39537:21:0" }, { "attributes": { @@ -57181,13 +57181,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2009, + "referencedDeclaration": 1501, "type": "uint256", "value": "keyIndex" }, - "id": 2020, + "id": 1512, "name": "Identifier", - "src": "38462:8:1" + "src": "39561:8:0" }, { "attributes": { @@ -57200,24 +57200,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2021, + "id": 1513, "name": "Literal", - "src": "38473:1:1" + "src": "39572:1:0" } ], - "id": 2022, + "id": 1514, "name": "BinaryOperation", - "src": "38462:12:1" + "src": "39561:12:0" } ], - "id": 2023, + "id": 1515, "name": "VariableDeclarationStatement", - "src": "38438:36:1" + "src": "39537:36:0" }, { "attributes": { "assignments": [ - 2025 + 1517 ] }, "children": [ @@ -57226,7 +57226,7 @@ "constant": false, "mutability": "mutable", "name": "lastIndex", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -57238,14 +57238,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2024, + "id": 1516, "name": "ElementaryTypeName", - "src": "38488:7:1" + "src": "39588:7:0" } ], - "id": 2025, + "id": 1517, "name": "VariableDeclaration", - "src": "38488:17:1" + "src": "39588:17:0" }, { "attributes": { @@ -57278,7 +57278,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57287,23 +57287,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2026, + "id": 1518, "name": "Identifier", - "src": "38508:3:1" + "src": "39608:3:0" } ], - "id": 2027, + "id": 1519, "name": "MemberAccess", - "src": "38508:12:1" + "src": "39608:12:0" } ], - "id": 2028, + "id": 1520, "name": "MemberAccess", - "src": "38508:19:1" + "src": "39608:19:0" }, { "attributes": { @@ -57316,24 +57316,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2029, + "id": 1521, "name": "Literal", - "src": "38530:1:1" + "src": "39630:1:0" } ], - "id": 2030, + "id": 1522, "name": "BinaryOperation", - "src": "38508:23:1" + "src": "39608:23:0" } ], - "id": 2031, + "id": 1523, "name": "VariableDeclarationStatement", - "src": "38488:43:1" + "src": "39588:43:0" }, { "attributes": { "assignments": [ - 2033 + 1525 ] }, "children": [ @@ -57342,7 +57342,7 @@ "constant": false, "mutability": "mutable", "name": "lastEntry", - "scope": 2073, + "scope": 1565, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -57352,17 +57352,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2032, + "id": 1524, "name": "UserDefinedTypeName", - "src": "38771:8:1" + "src": "39876:8:0" } ], - "id": 2033, + "id": 1525, "name": "VariableDeclaration", - "src": "38771:26:1" + "src": "39876:26:0" }, { "attributes": { @@ -57380,7 +57380,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57389,41 +57389,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2034, + "id": 1526, "name": "Identifier", - "src": "38800:3:1" + "src": "39905:3:0" } ], - "id": 2035, + "id": 1527, "name": "MemberAccess", - "src": "38800:12:1" + "src": "39905:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2025, + "referencedDeclaration": 1517, "type": "uint256", "value": "lastIndex" }, - "id": 2036, + "id": 1528, "name": "Identifier", - "src": "38813:9:1" + "src": "39918:9:0" } ], - "id": 2037, + "id": 1529, "name": "IndexAccess", - "src": "38800:23:1" + "src": "39905:23:0" } ], - "id": 2038, + "id": 1530, "name": "VariableDeclarationStatement", - "src": "38771:52:1" + "src": "39876:52:0" }, { "children": [ @@ -57453,7 +57453,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57462,59 +57462,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2039, + "id": 1531, "name": "Identifier", - "src": "38915:3:1" + "src": "40023:3:0" } ], - "id": 2042, + "id": 1534, "name": "MemberAccess", - "src": "38915:12:1" + "src": "40023:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2041, + "id": 1533, "name": "Identifier", - "src": "38928:13:1" + "src": "40036:13:0" } ], - "id": 2043, + "id": 1535, "name": "IndexAccess", - "src": "38915:27:1" + "src": "40023:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2044, + "id": 1536, "name": "Identifier", - "src": "38945:9:1" + "src": "40053:9:0" } ], - "id": 2045, + "id": 1537, "name": "Assignment", - "src": "38915:39:1" + "src": "40023:39:0" } ], - "id": 2046, + "id": 1538, "name": "ExpressionStatement", - "src": "38915:39:1" + "src": "40023:39:0" }, { "children": [ @@ -57544,7 +57544,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57553,18 +57553,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2047, + "id": 1539, "name": "Identifier", - "src": "39020:3:1" + "src": "40130:3:0" } ], - "id": 2051, + "id": 1543, "name": "MemberAccess", - "src": "39020:12:1" + "src": "40130:12:0" }, { "attributes": { @@ -57573,7 +57573,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -57582,23 +57582,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2033, + "referencedDeclaration": 1525, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "lastEntry" }, - "id": 2049, + "id": 1541, "name": "Identifier", - "src": "39033:9:1" + "src": "40143:9:0" } ], - "id": 2050, + "id": 1542, "name": "MemberAccess", - "src": "39033:14:1" + "src": "40143:14:0" } ], - "id": 2052, + "id": 1544, "name": "IndexAccess", - "src": "39020:28:1" + "src": "40130:28:0" }, { "attributes": { @@ -57619,13 +57619,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2019, + "referencedDeclaration": 1511, "type": "uint256", "value": "toDeleteIndex" }, - "id": 2053, + "id": 1545, "name": "Identifier", - "src": "39051:13:1" + "src": "40161:13:0" }, { "attributes": { @@ -57638,24 +57638,24 @@ "type": "int_const 1", "value": "1" }, - "id": 2054, + "id": 1546, "name": "Literal", - "src": "39067:1:1" + "src": "40177:1:0" } ], - "id": 2055, + "id": 1547, "name": "BinaryOperation", - "src": "39051:17:1" + "src": "40161:17:0" } ], - "id": 2056, + "id": 1548, "name": "Assignment", - "src": "39020:48:1" + "src": "40130:48:0" } ], - "id": 2057, + "id": 1549, "name": "ExpressionStatement", - "src": "39020:48:1" + "src": "40130:48:0" }, { "children": [ @@ -57697,7 +57697,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -57706,33 +57706,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2058, + "id": 1550, "name": "Identifier", - "src": "39174:3:1" + "src": "40287:3:0" } ], - "id": 2061, + "id": 1553, "name": "MemberAccess", - "src": "39174:12:1" + "src": "40287:12:0" } ], - "id": 2062, + "id": 1554, "name": "MemberAccess", - "src": "39174:16:1" + "src": "40287:16:0" } ], - "id": 2063, + "id": 1555, "name": "FunctionCall", - "src": "39174:18:1" + "src": "40287:18:0" } ], - "id": 2064, + "id": 1556, "name": "ExpressionStatement", - "src": "39174:18:1" + "src": "40287:18:0" }, { "children": [ @@ -57763,7 +57763,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -57772,50 +57772,50 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2001, + "referencedDeclaration": 1493, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2065, + "id": 1557, "name": "Identifier", - "src": "39267:3:1" + "src": "40383:3:0" } ], - "id": 2066, + "id": 1558, "name": "MemberAccess", - "src": "39267:12:1" + "src": "40383:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2003, + "referencedDeclaration": 1495, "type": "bytes32", "value": "key" }, - "id": 2067, + "id": 1559, "name": "Identifier", - "src": "39280:3:1" + "src": "40396:3:0" } ], - "id": 2068, + "id": 1560, "name": "IndexAccess", - "src": "39267:17:1" + "src": "40383:17:0" } ], - "id": 2069, + "id": 1561, "name": "UnaryOperation", - "src": "39260:24:1" + "src": "40376:24:0" } ], - "id": 2070, + "id": 1562, "name": "ExpressionStatement", - "src": "39260:24:1" + "src": "40376:24:0" }, { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -57829,25 +57829,25 @@ "type": "bool", "value": "true" }, - "id": 2071, + "id": 1563, "name": "Literal", - "src": "39306:4:1" + "src": "40424:4:0" } ], - "id": 2072, + "id": 1564, "name": "Return", - "src": "39299:11:1" + "src": "40417:11:0" } ], - "id": 2073, + "id": 1565, "name": "Block", - "src": "38097:1224:1" + "src": "39191:1249:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2007 + "functionReturnParameters": 1499 }, "children": [ { @@ -57861,34 +57861,34 @@ "type": "bool", "value": "false" }, - "id": 2074, + "id": 1566, "name": "Literal", - "src": "39348:5:1" + "src": "40468:5:0" } ], - "id": 2075, + "id": 1567, "name": "Return", - "src": "39341:12:1" + "src": "40461:12:0" } ], - "id": 2076, + "id": 1568, "name": "Block", - "src": "39327:37:1" + "src": "40446:39:0" } ], - "id": 2077, + "id": 1569, "name": "IfStatement", - "src": "38078:1286:1" + "src": "39172:1313:0" } ], - "id": 2078, + "id": 1570, "name": "Block", - "src": "37923:1447:1" + "src": "39013:1479:0" } ], - "id": 2079, + "id": 1571, "name": "FunctionDefinition", - "src": "37853:1517:1" + "src": "38943:1549:0" }, { "attributes": { @@ -57899,7 +57899,7 @@ null ], "name": "_contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -57909,9 +57909,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2080, + "id": 1572, "name": "StructuredDocumentation", - "src": "39376:68:1" + "src": "40500:70:0" }, { "children": [ @@ -57920,7 +57920,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -57930,24 +57930,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2081, + "id": 1573, "name": "UserDefinedTypeName", - "src": "39468:3:1" + "src": "40595:3:0" } ], - "id": 2082, + "id": 1574, "name": "VariableDeclaration", - "src": "39468:15:1" + "src": "40595:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -57959,19 +57959,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2083, + "id": 1575, "name": "ElementaryTypeName", - "src": "39485:7:1" + "src": "40612:7:0" } ], - "id": 2084, + "id": 1576, "name": "VariableDeclaration", - "src": "39485:11:1" + "src": "40612:11:0" } ], - "id": 2085, + "id": 1577, "name": "ParameterList", - "src": "39467:30:1" + "src": "40594:30:0" }, { "children": [ @@ -57980,7 +57980,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2097, + "scope": 1589, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -57992,25 +57992,25 @@ "name": "bool", "type": "bool" }, - "id": 2086, + "id": 1578, "name": "ElementaryTypeName", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2087, + "id": 1579, "name": "VariableDeclaration", - "src": "39520:4:1" + "src": "40647:4:0" } ], - "id": 2088, + "id": 1580, "name": "ParameterList", - "src": "39519:6:1" + "src": "40646:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2088 + "functionReturnParameters": 1580 }, "children": [ { @@ -58043,7 +58043,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58052,36 +58052,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2082, + "referencedDeclaration": 1574, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2089, + "id": 1581, "name": "Identifier", - "src": "39543:3:1" + "src": "40671:3:0" } ], - "id": 2090, + "id": 1582, "name": "MemberAccess", - "src": "39543:12:1" + "src": "40671:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2084, + "referencedDeclaration": 1576, "type": "bytes32", "value": "key" }, - "id": 2091, + "id": 1583, "name": "Identifier", - "src": "39556:3:1" + "src": "40684:3:0" } ], - "id": 2092, + "id": 1584, "name": "IndexAccess", - "src": "39543:17:1" + "src": "40671:17:0" }, { "attributes": { @@ -58094,29 +58094,29 @@ "type": "int_const 0", "value": "0" }, - "id": 2093, + "id": 1585, "name": "Literal", - "src": "39564:1:1" + "src": "40692:1:0" } ], - "id": 2094, + "id": 1586, "name": "BinaryOperation", - "src": "39543:22:1" + "src": "40671:22:0" } ], - "id": 2095, + "id": 1587, "name": "Return", - "src": "39536:29:1" + "src": "40664:29:0" } ], - "id": 2096, + "id": 1588, "name": "Block", - "src": "39526:46:1" + "src": "40653:48:0" } ], - "id": 2097, + "id": 1589, "name": "FunctionDefinition", - "src": "39449:123:1" + "src": "40576:125:0" }, { "attributes": { @@ -58127,7 +58127,7 @@ null ], "name": "_length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58137,9 +58137,9 @@ "attributes": { "text": " @dev Returns the number of key-value pairs in the map. O(1)." }, - "id": 2098, + "id": 1590, "name": "StructuredDocumentation", - "src": "39578:79:1" + "src": "40709:81:0" }, { "children": [ @@ -58148,7 +58148,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58158,22 +58158,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2099, + "id": 1591, "name": "UserDefinedTypeName", - "src": "39679:3:1" + "src": "40813:3:0" } ], - "id": 2100, + "id": 1592, "name": "VariableDeclaration", - "src": "39679:15:1" + "src": "40813:15:0" } ], - "id": 2101, + "id": 1593, "name": "ParameterList", - "src": "39678:17:1" + "src": "40812:17:0" }, { "children": [ @@ -58182,7 +58182,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2110, + "scope": 1602, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58194,25 +58194,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2102, + "id": 1594, "name": "ElementaryTypeName", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2103, + "id": 1595, "name": "VariableDeclaration", - "src": "39718:7:1" + "src": "40852:7:0" } ], - "id": 2104, + "id": 1596, "name": "ParameterList", - "src": "39717:9:1" + "src": "40851:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2104 + "functionReturnParameters": 1596 }, "children": [ { @@ -58232,7 +58232,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58241,38 +58241,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2100, + "referencedDeclaration": 1592, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2105, + "id": 1597, "name": "Identifier", - "src": "39744:3:1" + "src": "40879:3:0" } ], - "id": 2106, + "id": 1598, "name": "MemberAccess", - "src": "39744:12:1" + "src": "40879:12:0" } ], - "id": 2107, + "id": 1599, "name": "MemberAccess", - "src": "39744:19:1" + "src": "40879:19:0" } ], - "id": 2108, + "id": 1600, "name": "Return", - "src": "39737:26:1" + "src": "40872:26:0" } ], - "id": 2109, + "id": 1601, "name": "Block", - "src": "39727:43:1" + "src": "40861:45:0" } ], - "id": 2110, + "id": 1602, "name": "FunctionDefinition", - "src": "39662:108:1" + "src": "40796:110:0" }, { "attributes": { @@ -58283,7 +58283,7 @@ null ], "name": "_at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58293,9 +58293,9 @@ "attributes": { "text": " @dev Returns the key-value pair stored at position `index` in the map. O(1).\n Note that there are no guarantees on the ordering of entries inside the\n array, and it may change when more entries are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2111, + "id": 1603, "name": "StructuredDocumentation", - "src": "39775:333:1" + "src": "40913:342:0" }, { "children": [ @@ -58304,7 +58304,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58314,24 +58314,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2112, + "id": 1604, "name": "UserDefinedTypeName", - "src": "40126:3:1" + "src": "41274:3:0" } ], - "id": 2113, + "id": 1605, "name": "VariableDeclaration", - "src": "40126:15:1" + "src": "41274:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58343,19 +58343,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2114, + "id": 1606, "name": "ElementaryTypeName", - "src": "40143:7:1" + "src": "41291:7:0" } ], - "id": 2115, + "id": 1607, "name": "VariableDeclaration", - "src": "40143:13:1" + "src": "41291:13:0" } ], - "id": 2116, + "id": 1608, "name": "ParameterList", - "src": "40125:32:1" + "src": "41273:32:0" }, { "children": [ @@ -58364,7 +58364,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58376,21 +58376,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2117, + "id": 1609, "name": "ElementaryTypeName", - "src": "40180:7:1" + "src": "41328:7:0" } ], - "id": 2118, + "id": 1610, "name": "VariableDeclaration", - "src": "40180:7:1" + "src": "41328:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2145, + "scope": 1637, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58402,19 +58402,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2119, + "id": 1611, "name": "ElementaryTypeName", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2120, + "id": 1612, "name": "VariableDeclaration", - "src": "40189:7:1" + "src": "41337:7:0" } ], - "id": 2121, + "id": 1613, "name": "ParameterList", - "src": "40179:18:1" + "src": "41327:18:0" }, { "children": [ @@ -58455,9 +58455,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2122, + "id": 1614, "name": "Identifier", - "src": "40208:7:1" + "src": "41357:7:0" }, { "attributes": { @@ -58490,7 +58490,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58499,41 +58499,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2123, + "id": 1615, "name": "Identifier", - "src": "40216:3:1" + "src": "41365:3:0" } ], - "id": 2124, + "id": 1616, "name": "MemberAccess", - "src": "40216:12:1" + "src": "41365:12:0" } ], - "id": 2125, + "id": 1617, "name": "MemberAccess", - "src": "40216:19:1" + "src": "41365:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2126, + "id": 1618, "name": "Identifier", - "src": "40238:5:1" + "src": "41387:5:0" } ], - "id": 2127, + "id": 1619, "name": "BinaryOperation", - "src": "40216:27:1" + "src": "41365:27:0" }, { "attributes": { @@ -58546,24 +58546,24 @@ "type": "literal_string \"EnumerableMap: index out of bounds\"", "value": "EnumerableMap: index out of bounds" }, - "id": 2128, + "id": 1620, "name": "Literal", - "src": "40245:36:1" + "src": "41394:36:0" } ], - "id": 2129, + "id": 1621, "name": "FunctionCall", - "src": "40208:74:1" + "src": "41357:74:0" } ], - "id": 2130, + "id": 1622, "name": "ExpressionStatement", - "src": "40208:74:1" + "src": "41357:74:0" }, { "attributes": { "assignments": [ - 2132 + 1624 ] }, "children": [ @@ -58572,7 +58572,7 @@ "constant": false, "mutability": "mutable", "name": "entry", - "scope": 2144, + "scope": 1636, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.MapEntry", @@ -58582,17 +58582,17 @@ { "attributes": { "name": "MapEntry", - "referencedDeclaration": 1928, + "referencedDeclaration": 1420, "type": "struct EnumerableMap.MapEntry" }, - "id": 2131, + "id": 1623, "name": "UserDefinedTypeName", - "src": "40293:8:1" + "src": "41444:8:0" } ], - "id": 2132, + "id": 1624, "name": "VariableDeclaration", - "src": "40293:22:1" + "src": "41444:22:0" }, { "attributes": { @@ -58610,7 +58610,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -58619,45 +58619,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2113, + "referencedDeclaration": 1605, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2133, + "id": 1625, "name": "Identifier", - "src": "40318:3:1" + "src": "41469:3:0" } ], - "id": 2134, + "id": 1626, "name": "MemberAccess", - "src": "40318:12:1" + "src": "41469:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2115, + "referencedDeclaration": 1607, "type": "uint256", "value": "index" }, - "id": 2135, + "id": 1627, "name": "Identifier", - "src": "40331:5:1" + "src": "41482:5:0" } ], - "id": 2136, + "id": 1628, "name": "IndexAccess", - "src": "40318:19:1" + "src": "41469:19:0" } ], - "id": 2137, + "id": 1629, "name": "VariableDeclarationStatement", - "src": "40293:44:1" + "src": "41444:44:0" }, { "attributes": { - "functionReturnParameters": 2121 + "functionReturnParameters": 1613 }, "children": [ { @@ -58677,7 +58677,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_key", - "referencedDeclaration": 1925, + "referencedDeclaration": 1417, "type": "bytes32" }, "children": [ @@ -58686,18 +58686,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2138, + "id": 1630, "name": "Identifier", - "src": "40355:5:1" + "src": "41507:5:0" } ], - "id": 2139, + "id": 1631, "name": "MemberAccess", - "src": "40355:10:1" + "src": "41507:10:0" }, { "attributes": { @@ -58706,7 +58706,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -58715,38 +58715,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2132, + "referencedDeclaration": 1624, "type": "struct EnumerableMap.MapEntry storage pointer", "value": "entry" }, - "id": 2140, + "id": 1632, "name": "Identifier", - "src": "40367:5:1" + "src": "41519:5:0" } ], - "id": 2141, + "id": 1633, "name": "MemberAccess", - "src": "40367:12:1" + "src": "41519:12:0" } ], - "id": 2142, + "id": 1634, "name": "TupleExpression", - "src": "40354:26:1" + "src": "41506:26:0" } ], - "id": 2143, + "id": 1635, "name": "Return", - "src": "40347:33:1" + "src": "41499:33:0" } ], - "id": 2144, + "id": 1636, "name": "Block", - "src": "40198:189:1" + "src": "41346:194:0" } ], - "id": 2145, + "id": 1637, "name": "FunctionDefinition", - "src": "40113:274:1" + "src": "41261:279:0" }, { "attributes": { @@ -58757,7 +58757,7 @@ null ], "name": "_tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -58767,9 +58767,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map." }, - "id": 2146, + "id": 1638, "name": "StructuredDocumentation", - "src": "40393:131:1" + "src": "41548:134:0" }, { "children": [ @@ -58778,7 +58778,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -58788,24 +58788,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2147, + "id": 1639, "name": "UserDefinedTypeName", - "src": "40546:3:1" + "src": "41705:3:0" } ], - "id": 2148, + "id": 1640, "name": "VariableDeclaration", - "src": "40546:15:1" + "src": "41705:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58817,19 +58817,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2149, + "id": 1641, "name": "ElementaryTypeName", - "src": "40563:7:1" + "src": "41722:7:0" } ], - "id": 2150, + "id": 1642, "name": "VariableDeclaration", - "src": "40563:11:1" + "src": "41722:11:0" } ], - "id": 2151, + "id": 1643, "name": "ParameterList", - "src": "40545:30:1" + "src": "41704:30:0" }, { "children": [ @@ -58838,7 +58838,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -58850,21 +58850,21 @@ "name": "bool", "type": "bool" }, - "id": 2152, + "id": 1644, "name": "ElementaryTypeName", - "src": "40598:4:1" + "src": "41757:4:0" } ], - "id": 2153, + "id": 1645, "name": "VariableDeclaration", - "src": "40598:4:1" + "src": "41757:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2183, + "scope": 1675, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -58876,26 +58876,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2154, + "id": 1646, "name": "ElementaryTypeName", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2155, + "id": 1647, "name": "VariableDeclaration", - "src": "40604:7:1" + "src": "41763:7:0" } ], - "id": 2156, + "id": 1648, "name": "ParameterList", - "src": "40597:15:1" + "src": "41756:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2158 + 1650 ] }, "children": [ @@ -58904,7 +58904,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2182, + "scope": 1674, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -58916,14 +58916,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2157, + "id": 1649, "name": "ElementaryTypeName", - "src": "40623:7:1" + "src": "41783:7:0" } ], - "id": 2158, + "id": 1650, "name": "VariableDeclaration", - "src": "40623:16:1" + "src": "41783:16:0" }, { "attributes": { @@ -58941,7 +58941,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -58950,41 +58950,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2159, + "id": 1651, "name": "Identifier", - "src": "40642:3:1" + "src": "41802:3:0" } ], - "id": 2160, + "id": 1652, "name": "MemberAccess", - "src": "40642:12:1" + "src": "41802:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2150, + "referencedDeclaration": 1642, "type": "bytes32", "value": "key" }, - "id": 2161, + "id": 1653, "name": "Identifier", - "src": "40655:3:1" + "src": "41815:3:0" } ], - "id": 2162, + "id": 1654, "name": "IndexAccess", - "src": "40642:17:1" + "src": "41802:17:0" } ], - "id": 2163, + "id": 1655, "name": "VariableDeclarationStatement", - "src": "40623:36:1" + "src": "41783:36:0" }, { "attributes": {}, @@ -59008,13 +59008,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2164, + "id": 1656, "name": "Identifier", - "src": "40673:8:1" + "src": "41834:8:0" }, { "attributes": { @@ -59027,18 +59027,18 @@ "type": "int_const 0", "value": "0" }, - "id": 2165, + "id": 1657, "name": "Literal", - "src": "40685:1:1" + "src": "41846:1:0" } ], - "id": 2166, + "id": 1658, "name": "BinaryOperation", - "src": "40673:13:1" + "src": "41834:13:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59062,9 +59062,9 @@ "type": "bool", "value": "false" }, - "id": 2167, + "id": 1659, "name": "Literal", - "src": "40696:5:1" + "src": "41857:5:0" }, { "attributes": { @@ -59077,28 +59077,28 @@ "type": "int_const 0", "value": "0" }, - "id": 2168, + "id": 1660, "name": "Literal", - "src": "40703:1:1" + "src": "41864:1:0" } ], - "id": 2169, + "id": 1661, "name": "TupleExpression", - "src": "40695:10:1" + "src": "41856:10:0" } ], - "id": 2170, + "id": 1662, "name": "Return", - "src": "40688:17:1" + "src": "41849:17:0" } ], - "id": 2171, + "id": 1663, "name": "IfStatement", - "src": "40669:36:1" + "src": "41830:36:0" }, { "attributes": { - "functionReturnParameters": 2156 + "functionReturnParameters": 1648 }, "children": [ { @@ -59122,9 +59122,9 @@ "type": "bool", "value": "true" }, - "id": 2172, + "id": 1664, "name": "Literal", - "src": "40759:4:1" + "src": "41921:4:0" }, { "attributes": { @@ -59133,7 +59133,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59153,7 +59153,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59162,18 +59162,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2148, + "referencedDeclaration": 1640, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2173, + "id": 1665, "name": "Identifier", - "src": "40765:3:1" + "src": "41927:3:0" } ], - "id": 2174, + "id": 1666, "name": "MemberAccess", - "src": "40765:12:1" + "src": "41927:12:0" }, { "attributes": { @@ -59194,13 +59194,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2158, + "referencedDeclaration": 1650, "type": "uint256", "value": "keyIndex" }, - "id": 2175, + "id": 1667, "name": "Identifier", - "src": "40778:8:1" + "src": "41940:8:0" }, { "attributes": { @@ -59213,44 +59213,44 @@ "type": "int_const 1", "value": "1" }, - "id": 2176, + "id": 1668, "name": "Literal", - "src": "40789:1:1" + "src": "41951:1:0" } ], - "id": 2177, + "id": 1669, "name": "BinaryOperation", - "src": "40778:12:1" + "src": "41940:12:0" } ], - "id": 2178, + "id": 1670, "name": "IndexAccess", - "src": "40765:26:1" + "src": "41927:26:0" } ], - "id": 2179, + "id": 1671, "name": "MemberAccess", - "src": "40765:33:1" + "src": "41927:33:0" } ], - "id": 2180, + "id": 1672, "name": "TupleExpression", - "src": "40758:41:1" + "src": "41920:41:0" } ], - "id": 2181, + "id": 1673, "name": "Return", - "src": "40751:48:1" + "src": "41913:48:0" } ], - "id": 2182, + "id": 1674, "name": "Block", - "src": "40613:220:1" + "src": "41772:224:0" } ], - "id": 2183, + "id": 1675, "name": "FunctionDefinition", - "src": "40529:304:1" + "src": "41688:308:0" }, { "attributes": { @@ -59261,7 +59261,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59271,9 +59271,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2184, + "id": 1676, "name": "StructuredDocumentation", - "src": "40839:141:1" + "src": "42004:147:0" }, { "children": [ @@ -59282,7 +59282,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59292,24 +59292,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2185, + "id": 1677, "name": "UserDefinedTypeName", - "src": "40999:3:1" + "src": "42171:3:0" } ], - "id": 2186, + "id": 1678, "name": "VariableDeclaration", - "src": "40999:15:1" + "src": "42171:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59321,19 +59321,19 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2187, + "id": 1679, "name": "ElementaryTypeName", - "src": "41016:7:1" + "src": "42188:7:0" } ], - "id": 2188, + "id": 1680, "name": "VariableDeclaration", - "src": "41016:11:1" + "src": "42188:11:0" } ], - "id": 2189, + "id": 1681, "name": "ParameterList", - "src": "40998:30:1" + "src": "42170:30:0" }, { "children": [ @@ -59342,7 +59342,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2216, + "scope": 1708, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59354,26 +59354,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2190, + "id": 1682, "name": "ElementaryTypeName", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2191, + "id": 1683, "name": "VariableDeclaration", - "src": "41051:7:1" + "src": "42223:7:0" } ], - "id": 2192, + "id": 1684, "name": "ParameterList", - "src": "41050:9:1" + "src": "42222:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2194 + 1686 ] }, "children": [ @@ -59382,7 +59382,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2215, + "scope": 1707, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59394,14 +59394,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2193, + "id": 1685, "name": "ElementaryTypeName", - "src": "41070:7:1" + "src": "42243:7:0" } ], - "id": 2194, + "id": 1686, "name": "VariableDeclaration", - "src": "41070:16:1" + "src": "42243:16:0" }, { "attributes": { @@ -59419,7 +59419,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59428,41 +59428,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2195, + "id": 1687, "name": "Identifier", - "src": "41089:3:1" + "src": "42262:3:0" } ], - "id": 2196, + "id": 1688, "name": "MemberAccess", - "src": "41089:12:1" + "src": "42262:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2188, + "referencedDeclaration": 1680, "type": "bytes32", "value": "key" }, - "id": 2197, + "id": 1689, "name": "Identifier", - "src": "41102:3:1" + "src": "42275:3:0" } ], - "id": 2198, + "id": 1690, "name": "IndexAccess", - "src": "41089:17:1" + "src": "42262:17:0" } ], - "id": 2199, + "id": 1691, "name": "VariableDeclarationStatement", - "src": "41070:36:1" + "src": "42243:36:0" }, { "children": [ @@ -59501,9 +59501,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2200, + "id": 1692, "name": "Identifier", - "src": "41116:7:1" + "src": "42290:7:0" }, { "attributes": { @@ -59524,13 +59524,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2201, + "id": 1693, "name": "Identifier", - "src": "41124:8:1" + "src": "42298:8:0" }, { "attributes": { @@ -59543,14 +59543,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2202, + "id": 1694, "name": "Literal", - "src": "41136:1:1" + "src": "42310:1:0" } ], - "id": 2203, + "id": 1695, "name": "BinaryOperation", - "src": "41124:13:1" + "src": "42298:13:0" }, { "attributes": { @@ -59563,23 +59563,23 @@ "type": "literal_string \"EnumerableMap: nonexistent key\"", "value": "EnumerableMap: nonexistent key" }, - "id": 2204, + "id": 1696, "name": "Literal", - "src": "41139:32:1" + "src": "42313:32:0" } ], - "id": 2205, + "id": 1697, "name": "FunctionCall", - "src": "41116:56:1" + "src": "42290:56:0" } ], - "id": 2206, + "id": 1698, "name": "ExpressionStatement", - "src": "41116:56:1" + "src": "42290:56:0" }, { "attributes": { - "functionReturnParameters": 2192 + "functionReturnParameters": 1684 }, "children": [ { @@ -59589,7 +59589,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -59609,7 +59609,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -59618,18 +59618,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2186, + "referencedDeclaration": 1678, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2207, + "id": 1699, "name": "Identifier", - "src": "41225:3:1" + "src": "42400:3:0" } ], - "id": 2208, + "id": 1700, "name": "MemberAccess", - "src": "41225:12:1" + "src": "42400:12:0" }, { "attributes": { @@ -59650,13 +59650,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2194, + "referencedDeclaration": 1686, "type": "uint256", "value": "keyIndex" }, - "id": 2209, + "id": 1701, "name": "Identifier", - "src": "41238:8:1" + "src": "42413:8:0" }, { "attributes": { @@ -59669,39 +59669,39 @@ "type": "int_const 1", "value": "1" }, - "id": 2210, + "id": 1702, "name": "Literal", - "src": "41249:1:1" + "src": "42424:1:0" } ], - "id": 2211, + "id": 1703, "name": "BinaryOperation", - "src": "41238:12:1" + "src": "42413:12:0" } ], - "id": 2212, + "id": 1704, "name": "IndexAccess", - "src": "41225:26:1" + "src": "42400:26:0" } ], - "id": 2213, + "id": 1705, "name": "MemberAccess", - "src": "41225:33:1" + "src": "42400:33:0" } ], - "id": 2214, + "id": 1706, "name": "Return", - "src": "41218:40:1" + "src": "42393:40:0" } ], - "id": 2215, + "id": 1707, "name": "Block", - "src": "41060:232:1" + "src": "42232:236:0" } ], - "id": 2216, + "id": 1708, "name": "FunctionDefinition", - "src": "40985:307:1" + "src": "42157:311:0" }, { "attributes": { @@ -59712,7 +59712,7 @@ null ], "name": "_get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "private" @@ -59722,9 +59722,9 @@ "attributes": { "text": " @dev Same as {_get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {_tryGet}." }, - "id": 2217, + "id": 1709, "name": "StructuredDocumentation", - "src": "41298:271:1" + "src": "42476:276:0" }, { "children": [ @@ -59733,7 +59733,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.Map", @@ -59743,24 +59743,24 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2218, + "id": 1710, "name": "UserDefinedTypeName", - "src": "41588:3:1" + "src": "42772:3:0" } ], - "id": 2219, + "id": 1711, "name": "VariableDeclaration", - "src": "41588:15:1" + "src": "42772:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59772,21 +59772,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2220, + "id": 1712, "name": "ElementaryTypeName", - "src": "41605:7:1" + "src": "42789:7:0" } ], - "id": 2221, + "id": 1713, "name": "VariableDeclaration", - "src": "41605:11:1" + "src": "42789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -59798,19 +59798,19 @@ "name": "string", "type": "string" }, - "id": 2222, + "id": 1714, "name": "ElementaryTypeName", - "src": "41618:6:1" + "src": "42802:6:0" } ], - "id": 2223, + "id": 1715, "name": "VariableDeclaration", - "src": "41618:26:1" + "src": "42802:26:0" } ], - "id": 2224, + "id": 1716, "name": "ParameterList", - "src": "41587:58:1" + "src": "42771:58:0" }, { "children": [ @@ -59819,7 +59819,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2251, + "scope": 1743, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -59831,26 +59831,26 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2225, + "id": 1717, "name": "ElementaryTypeName", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2226, + "id": 1718, "name": "VariableDeclaration", - "src": "41668:7:1" + "src": "42852:7:0" } ], - "id": 2227, + "id": 1719, "name": "ParameterList", - "src": "41667:9:1" + "src": "42851:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2229 + 1721 ] }, "children": [ @@ -59859,7 +59859,7 @@ "constant": false, "mutability": "mutable", "name": "keyIndex", - "scope": 2250, + "scope": 1742, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -59871,14 +59871,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2228, + "id": 1720, "name": "ElementaryTypeName", - "src": "41687:7:1" + "src": "42872:7:0" } ], - "id": 2229, + "id": 1721, "name": "VariableDeclaration", - "src": "41687:16:1" + "src": "42872:16:0" }, { "attributes": { @@ -59896,7 +59896,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_indexes", - "referencedDeclaration": 1935, + "referencedDeclaration": 1427, "type": "mapping(bytes32 => uint256)" }, "children": [ @@ -59905,41 +59905,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2230, + "id": 1722, "name": "Identifier", - "src": "41706:3:1" + "src": "42891:3:0" } ], - "id": 2231, + "id": 1723, "name": "MemberAccess", - "src": "41706:12:1" + "src": "42891:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2221, + "referencedDeclaration": 1713, "type": "bytes32", "value": "key" }, - "id": 2232, + "id": 1724, "name": "Identifier", - "src": "41719:3:1" + "src": "42904:3:0" } ], - "id": 2233, + "id": 1725, "name": "IndexAccess", - "src": "41706:17:1" + "src": "42891:17:0" } ], - "id": 2234, + "id": 1726, "name": "VariableDeclarationStatement", - "src": "41687:36:1" + "src": "42872:36:0" }, { "children": [ @@ -59978,9 +59978,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2235, + "id": 1727, "name": "Identifier", - "src": "41733:7:1" + "src": "42919:7:0" }, { "attributes": { @@ -60001,13 +60001,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2236, + "id": 1728, "name": "Identifier", - "src": "41741:8:1" + "src": "42927:8:0" }, { "attributes": { @@ -60020,41 +60020,41 @@ "type": "int_const 0", "value": "0" }, - "id": 2237, + "id": 1729, "name": "Literal", - "src": "41753:1:1" + "src": "42939:1:0" } ], - "id": 2238, + "id": 1730, "name": "BinaryOperation", - "src": "41741:13:1" + "src": "42927:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2223, + "referencedDeclaration": 1715, "type": "string memory", "value": "errorMessage" }, - "id": 2239, + "id": 1731, "name": "Identifier", - "src": "41756:12:1" + "src": "42942:12:0" } ], - "id": 2240, + "id": 1732, "name": "FunctionCall", - "src": "41733:36:1" + "src": "42919:36:0" } ], - "id": 2241, + "id": 1733, "name": "ExpressionStatement", - "src": "41733:36:1" + "src": "42919:36:0" }, { "attributes": { - "functionReturnParameters": 2227 + "functionReturnParameters": 1719 }, "children": [ { @@ -60064,7 +60064,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_value", - "referencedDeclaration": 1927, + "referencedDeclaration": 1419, "type": "bytes32" }, "children": [ @@ -60084,7 +60084,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_entries", - "referencedDeclaration": 1931, + "referencedDeclaration": 1423, "type": "struct EnumerableMap.MapEntry storage ref[] storage ref" }, "children": [ @@ -60093,18 +60093,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2219, + "referencedDeclaration": 1711, "type": "struct EnumerableMap.Map storage pointer", "value": "map" }, - "id": 2242, + "id": 1734, "name": "Identifier", - "src": "41822:3:1" + "src": "43009:3:0" } ], - "id": 2243, + "id": 1735, "name": "MemberAccess", - "src": "41822:12:1" + "src": "43009:12:0" }, { "attributes": { @@ -60125,13 +60125,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2229, + "referencedDeclaration": 1721, "type": "uint256", "value": "keyIndex" }, - "id": 2244, + "id": 1736, "name": "Identifier", - "src": "41835:8:1" + "src": "43022:8:0" }, { "attributes": { @@ -60144,45 +60144,45 @@ "type": "int_const 1", "value": "1" }, - "id": 2245, + "id": 1737, "name": "Literal", - "src": "41846:1:1" + "src": "43033:1:0" } ], - "id": 2246, + "id": 1738, "name": "BinaryOperation", - "src": "41835:12:1" + "src": "43022:12:0" } ], - "id": 2247, + "id": 1739, "name": "IndexAccess", - "src": "41822:26:1" + "src": "43009:26:0" } ], - "id": 2248, + "id": 1740, "name": "MemberAccess", - "src": "41822:33:1" + "src": "43009:33:0" } ], - "id": 2249, + "id": 1741, "name": "Return", - "src": "41815:40:1" + "src": "43002:40:0" } ], - "id": 2250, + "id": 1742, "name": "Block", - "src": "41677:212:1" + "src": "42861:216:0" } ], - "id": 2251, + "id": 1743, "name": "FunctionDefinition", - "src": "41574:315:1" + "src": "42758:319:0" }, { "attributes": { "canonicalName": "EnumerableMap.UintToAddressMap", "name": "UintToAddressMap", - "scope": 2480, + "scope": 1972, "visibility": "public" }, "children": [ @@ -60191,7 +60191,7 @@ "constant": false, "mutability": "mutable", "name": "_inner", - "scope": 2254, + "scope": 1746, "stateVariable": false, "storageLocation": "default", "type": "struct EnumerableMap.Map", @@ -60201,22 +60201,22 @@ { "attributes": { "name": "Map", - "referencedDeclaration": 1936, + "referencedDeclaration": 1428, "type": "struct EnumerableMap.Map" }, - "id": 2252, + "id": 1744, "name": "UserDefinedTypeName", - "src": "41954:3:1" + "src": "43147:3:0" } ], - "id": 2253, + "id": 1745, "name": "VariableDeclaration", - "src": "41954:10:1" + "src": "43147:10:0" } ], - "id": 2254, + "id": 1746, "name": "StructDefinition", - "src": "41920:51:1" + "src": "43112:53:0" }, { "attributes": { @@ -60227,7 +60227,7 @@ null ], "name": "set", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60237,9 +60237,9 @@ "attributes": { "text": " @dev Adds a key-value pair to a map, or updates the value for an existing\n key. O(1).\n Returns true if the key was added to the map, that is if it was not\n already present." }, - "id": 2255, + "id": 1747, "name": "StructuredDocumentation", - "src": "41977:216:1" + "src": "43173:222:0" }, { "children": [ @@ -60248,7 +60248,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60258,24 +60258,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2256, + "id": 1748, "name": "UserDefinedTypeName", - "src": "42211:16:1" + "src": "43414:16:0" } ], - "id": 2257, + "id": 1749, "name": "VariableDeclaration", - "src": "42211:28:1" + "src": "43414:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60287,21 +60287,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2258, + "id": 1750, "name": "ElementaryTypeName", - "src": "42241:7:1" + "src": "43444:7:0" } ], - "id": 2259, + "id": 1751, "name": "VariableDeclaration", - "src": "42241:11:1" + "src": "43444:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -60314,19 +60314,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2260, + "id": 1752, "name": "ElementaryTypeName", - "src": "42254:7:1" + "src": "43457:7:0" } ], - "id": 2261, + "id": 1753, "name": "VariableDeclaration", - "src": "42254:13:1" + "src": "43457:13:0" } ], - "id": 2262, + "id": 1754, "name": "ParameterList", - "src": "42210:58:1" + "src": "43413:58:0" }, { "children": [ @@ -60335,7 +60335,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2286, + "scope": 1778, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60347,25 +60347,25 @@ "name": "bool", "type": "bool" }, - "id": 2263, + "id": 1755, "name": "ElementaryTypeName", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2264, + "id": 1756, "name": "VariableDeclaration", - "src": "42287:4:1" + "src": "43490:4:0" } ], - "id": 2265, + "id": 1757, "name": "ParameterList", - "src": "42286:6:1" + "src": "43489:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2265 + "functionReturnParameters": 1757 }, "children": [ { @@ -60387,7 +60387,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60402,13 +60402,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 1998, + "referencedDeclaration": 1490, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,bytes32) returns (bool)", "value": "_set" }, - "id": 2266, + "id": 1758, "name": "Identifier", - "src": "42310:4:1" + "src": "43514:4:0" }, { "attributes": { @@ -60417,7 +60417,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60426,18 +60426,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2257, + "referencedDeclaration": 1749, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2267, + "id": 1759, "name": "Identifier", - "src": "42315:3:1" + "src": "43519:3:0" } ], - "id": 2268, + "id": 1760, "name": "MemberAccess", - "src": "42315:10:1" + "src": "43519:10:0" }, { "attributes": { @@ -60473,32 +60473,32 @@ "attributes": { "name": "bytes32" }, - "id": 2269, + "id": 1761, "name": "ElementaryTypeName", - "src": "42327:7:1" + "src": "43531:7:0" } ], - "id": 2270, + "id": 1762, "name": "ElementaryTypeNameExpression", - "src": "42327:7:1" + "src": "43531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2259, + "referencedDeclaration": 1751, "type": "uint256", "value": "key" }, - "id": 2271, + "id": 1763, "name": "Identifier", - "src": "42335:3:1" + "src": "43539:3:0" } ], - "id": 2272, + "id": 1764, "name": "FunctionCall", - "src": "42327:12:1" + "src": "43531:12:0" }, { "attributes": { @@ -60534,14 +60534,14 @@ "attributes": { "name": "bytes32" }, - "id": 2273, + "id": 1765, "name": "ElementaryTypeName", - "src": "42341:7:1" + "src": "43545:7:0" } ], - "id": 2274, + "id": 1766, "name": "ElementaryTypeNameExpression", - "src": "42341:7:1" + "src": "43545:7:0" }, { "attributes": { @@ -60577,14 +60577,14 @@ "attributes": { "name": "uint256" }, - "id": 2275, + "id": 1767, "name": "ElementaryTypeName", - "src": "42349:7:1" + "src": "43553:7:0" } ], - "id": 2276, + "id": 1768, "name": "ElementaryTypeNameExpression", - "src": "42349:7:1" + "src": "43553:7:0" }, { "attributes": { @@ -60620,62 +60620,62 @@ "attributes": { "name": "uint160" }, - "id": 2277, + "id": 1769, "name": "ElementaryTypeName", - "src": "42357:7:1" + "src": "43561:7:0" } ], - "id": 2278, + "id": 1770, "name": "ElementaryTypeNameExpression", - "src": "42357:7:1" + "src": "43561:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2261, + "referencedDeclaration": 1753, "type": "address", "value": "value" }, - "id": 2279, + "id": 1771, "name": "Identifier", - "src": "42365:5:1" + "src": "43569:5:0" } ], - "id": 2280, + "id": 1772, "name": "FunctionCall", - "src": "42357:14:1" + "src": "43561:14:0" } ], - "id": 2281, + "id": 1773, "name": "FunctionCall", - "src": "42349:23:1" + "src": "43553:23:0" } ], - "id": 2282, + "id": 1774, "name": "FunctionCall", - "src": "42341:32:1" + "src": "43545:32:0" } ], - "id": 2283, + "id": 1775, "name": "FunctionCall", - "src": "42310:64:1" + "src": "43514:64:0" } ], - "id": 2284, + "id": 1776, "name": "Return", - "src": "42303:71:1" + "src": "43507:71:0" } ], - "id": 2285, + "id": 1777, "name": "Block", - "src": "42293:88:1" + "src": "43496:90:0" } ], - "id": 2286, + "id": 1778, "name": "FunctionDefinition", - "src": "42198:183:1" + "src": "43401:185:0" }, { "attributes": { @@ -60686,7 +60686,7 @@ null ], "name": "remove", - "scope": 2480, + "scope": 1972, "stateMutability": "nonpayable", "virtual": false, "visibility": "internal" @@ -60696,9 +60696,9 @@ "attributes": { "text": " @dev Removes a value from a set. O(1).\n Returns true if the key was removed from the map, that is if it was present." }, - "id": 2287, + "id": 1779, "name": "StructuredDocumentation", - "src": "42387:148:1" + "src": "43594:152:0" }, { "children": [ @@ -60707,7 +60707,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60717,24 +60717,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2288, + "id": 1780, "name": "UserDefinedTypeName", - "src": "42556:16:1" + "src": "43768:16:0" } ], - "id": 2289, + "id": 1781, "name": "VariableDeclaration", - "src": "42556:28:1" + "src": "43768:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -60746,19 +60746,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2290, + "id": 1782, "name": "ElementaryTypeName", - "src": "42586:7:1" + "src": "43798:7:0" } ], - "id": 2291, + "id": 1783, "name": "VariableDeclaration", - "src": "42586:11:1" + "src": "43798:11:0" } ], - "id": 2292, + "id": 1784, "name": "ParameterList", - "src": "42555:43:1" + "src": "43767:43:0" }, { "children": [ @@ -60767,7 +60767,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2306, + "scope": 1798, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -60779,25 +60779,25 @@ "name": "bool", "type": "bool" }, - "id": 2293, + "id": 1785, "name": "ElementaryTypeName", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2294, + "id": 1786, "name": "VariableDeclaration", - "src": "42617:4:1" + "src": "43829:4:0" } ], - "id": 2295, + "id": 1787, "name": "ParameterList", - "src": "42616:6:1" + "src": "43828:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2295 + "functionReturnParameters": 1787 }, "children": [ { @@ -60819,7 +60819,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -60830,13 +60830,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2079, + "referencedDeclaration": 1571, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) returns (bool)", "value": "_remove" }, - "id": 2296, + "id": 1788, "name": "Identifier", - "src": "42640:7:1" + "src": "43853:7:0" }, { "attributes": { @@ -60845,7 +60845,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -60854,18 +60854,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2289, + "referencedDeclaration": 1781, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2297, + "id": 1789, "name": "Identifier", - "src": "42648:3:1" + "src": "43861:3:0" } ], - "id": 2298, + "id": 1790, "name": "MemberAccess", - "src": "42648:10:1" + "src": "43861:10:0" }, { "attributes": { @@ -60901,52 +60901,52 @@ "attributes": { "name": "bytes32" }, - "id": 2299, + "id": 1791, "name": "ElementaryTypeName", - "src": "42660:7:1" + "src": "43873:7:0" } ], - "id": 2300, + "id": 1792, "name": "ElementaryTypeNameExpression", - "src": "42660:7:1" + "src": "43873:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2291, + "referencedDeclaration": 1783, "type": "uint256", "value": "key" }, - "id": 2301, + "id": 1793, "name": "Identifier", - "src": "42668:3:1" + "src": "43881:3:0" } ], - "id": 2302, + "id": 1794, "name": "FunctionCall", - "src": "42660:12:1" + "src": "43873:12:0" } ], - "id": 2303, + "id": 1795, "name": "FunctionCall", - "src": "42640:33:1" + "src": "43853:33:0" } ], - "id": 2304, + "id": 1796, "name": "Return", - "src": "42633:40:1" + "src": "43846:40:0" } ], - "id": 2305, + "id": 1797, "name": "Block", - "src": "42623:57:1" + "src": "43835:59:0" } ], - "id": 2306, + "id": 1798, "name": "FunctionDefinition", - "src": "42540:140:1" + "src": "43752:142:0" }, { "attributes": { @@ -60957,7 +60957,7 @@ null ], "name": "contains", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -60967,9 +60967,9 @@ "attributes": { "text": " @dev Returns true if the key is in the map. O(1)." }, - "id": 2307, + "id": 1799, "name": "StructuredDocumentation", - "src": "42686:68:1" + "src": "43902:70:0" }, { "children": [ @@ -60978,7 +60978,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -60988,24 +60988,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2308, + "id": 1800, "name": "UserDefinedTypeName", - "src": "42777:16:1" + "src": "43996:16:0" } ], - "id": 2309, + "id": 1801, "name": "VariableDeclaration", - "src": "42777:28:1" + "src": "43996:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61017,19 +61017,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2310, + "id": 1802, "name": "ElementaryTypeName", - "src": "42807:7:1" + "src": "44026:7:0" } ], - "id": 2311, + "id": 1803, "name": "VariableDeclaration", - "src": "42807:11:1" + "src": "44026:11:0" } ], - "id": 2312, + "id": 1804, "name": "ParameterList", - "src": "42776:43:1" + "src": "43995:43:0" }, { "children": [ @@ -61038,7 +61038,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2326, + "scope": 1818, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -61050,25 +61050,25 @@ "name": "bool", "type": "bool" }, - "id": 2313, + "id": 1805, "name": "ElementaryTypeName", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2314, + "id": 1806, "name": "VariableDeclaration", - "src": "42843:4:1" + "src": "44062:4:0" } ], - "id": 2315, + "id": 1807, "name": "ParameterList", - "src": "42842:6:1" + "src": "44061:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2315 + "functionReturnParameters": 1807 }, "children": [ { @@ -61090,7 +61090,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61101,13 +61101,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2097, + "referencedDeclaration": 1589, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool)", "value": "_contains" }, - "id": 2316, + "id": 1808, "name": "Identifier", - "src": "42866:9:1" + "src": "44086:9:0" }, { "attributes": { @@ -61116,7 +61116,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61125,18 +61125,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2309, + "referencedDeclaration": 1801, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2317, + "id": 1809, "name": "Identifier", - "src": "42876:3:1" + "src": "44096:3:0" } ], - "id": 2318, + "id": 1810, "name": "MemberAccess", - "src": "42876:10:1" + "src": "44096:10:0" }, { "attributes": { @@ -61172,52 +61172,52 @@ "attributes": { "name": "bytes32" }, - "id": 2319, + "id": 1811, "name": "ElementaryTypeName", - "src": "42888:7:1" + "src": "44108:7:0" } ], - "id": 2320, + "id": 1812, "name": "ElementaryTypeNameExpression", - "src": "42888:7:1" + "src": "44108:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2311, + "referencedDeclaration": 1803, "type": "uint256", "value": "key" }, - "id": 2321, + "id": 1813, "name": "Identifier", - "src": "42896:3:1" + "src": "44116:3:0" } ], - "id": 2322, + "id": 1814, "name": "FunctionCall", - "src": "42888:12:1" + "src": "44108:12:0" } ], - "id": 2323, + "id": 1815, "name": "FunctionCall", - "src": "42866:35:1" + "src": "44086:35:0" } ], - "id": 2324, + "id": 1816, "name": "Return", - "src": "42859:42:1" + "src": "44079:42:0" } ], - "id": 2325, + "id": 1817, "name": "Block", - "src": "42849:59:1" + "src": "44068:61:0" } ], - "id": 2326, + "id": 1818, "name": "FunctionDefinition", - "src": "42759:149:1" + "src": "43978:151:0" }, { "attributes": { @@ -61228,7 +61228,7 @@ null ], "name": "length", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61238,9 +61238,9 @@ "attributes": { "text": " @dev Returns the number of elements in the map. O(1)." }, - "id": 2327, + "id": 1819, "name": "StructuredDocumentation", - "src": "42914:72:1" + "src": "44137:74:0" }, { "children": [ @@ -61249,7 +61249,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61259,22 +61259,22 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2328, + "id": 1820, "name": "UserDefinedTypeName", - "src": "43007:16:1" + "src": "44233:16:0" } ], - "id": 2329, + "id": 1821, "name": "VariableDeclaration", - "src": "43007:28:1" + "src": "44233:28:0" } ], - "id": 2330, + "id": 1822, "name": "ParameterList", - "src": "43006:30:1" + "src": "44232:30:0" }, { "children": [ @@ -61283,7 +61283,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2340, + "scope": 1832, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61295,25 +61295,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2331, + "id": 1823, "name": "ElementaryTypeName", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2332, + "id": 1824, "name": "VariableDeclaration", - "src": "43060:7:1" + "src": "44286:7:0" } ], - "id": 2333, + "id": 1825, "name": "ParameterList", - "src": "43059:9:1" + "src": "44285:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2333 + "functionReturnParameters": 1825 }, "children": [ { @@ -61335,20 +61335,20 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" } ], "overloadedDeclarations": [ null ], - "referencedDeclaration": 2110, + "referencedDeclaration": 1602, "type": "function (struct EnumerableMap.Map storage pointer) view returns (uint256)", "value": "_length" }, - "id": 2334, + "id": 1826, "name": "Identifier", - "src": "43086:7:1" + "src": "44313:7:0" }, { "attributes": { @@ -61357,7 +61357,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61366,38 +61366,38 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2329, + "referencedDeclaration": 1821, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2335, + "id": 1827, "name": "Identifier", - "src": "43094:3:1" + "src": "44321:3:0" } ], - "id": 2336, + "id": 1828, "name": "MemberAccess", - "src": "43094:10:1" + "src": "44321:10:0" } ], - "id": 2337, + "id": 1829, "name": "FunctionCall", - "src": "43086:19:1" + "src": "44313:19:0" } ], - "id": 2338, + "id": 1830, "name": "Return", - "src": "43079:26:1" + "src": "44306:26:0" } ], - "id": 2339, + "id": 1831, "name": "Block", - "src": "43069:43:1" + "src": "44295:45:0" } ], - "id": 2340, + "id": 1832, "name": "FunctionDefinition", - "src": "42991:121:1" + "src": "44217:123:0" }, { "attributes": { @@ -61408,7 +61408,7 @@ null ], "name": "at", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61418,9 +61418,9 @@ "attributes": { "text": " @dev Returns the element stored at position `index` in the set. O(1).\n Note that there are no guarantees on the ordering of values inside the\n array, and it may change when more values are added or removed.\n Requirements:\n - `index` must be strictly less than {length}." }, - "id": 2341, + "id": 1833, "name": "StructuredDocumentation", - "src": "43117:318:1" + "src": "44347:326:0" }, { "children": [ @@ -61429,7 +61429,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61439,24 +61439,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2342, + "id": 1834, "name": "UserDefinedTypeName", - "src": "43452:16:1" + "src": "44691:16:0" } ], - "id": 2343, + "id": 1835, "name": "VariableDeclaration", - "src": "43452:28:1" + "src": "44691:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61468,19 +61468,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2344, + "id": 1836, "name": "ElementaryTypeName", - "src": "43482:7:1" + "src": "44721:7:0" } ], - "id": 2345, + "id": 1837, "name": "VariableDeclaration", - "src": "43482:13:1" + "src": "44721:13:0" } ], - "id": 2346, + "id": 1838, "name": "ParameterList", - "src": "43451:45:1" + "src": "44690:45:0" }, { "children": [ @@ -61489,7 +61489,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -61501,21 +61501,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2347, + "id": 1839, "name": "ElementaryTypeName", - "src": "43520:7:1" + "src": "44759:7:0" } ], - "id": 2348, + "id": 1840, "name": "VariableDeclaration", - "src": "43520:7:1" + "src": "44759:7:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2379, + "scope": 1871, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -61528,27 +61528,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2349, + "id": 1841, "name": "ElementaryTypeName", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2350, + "id": 1842, "name": "VariableDeclaration", - "src": "43529:7:1" + "src": "44768:7:0" } ], - "id": 2351, + "id": 1843, "name": "ParameterList", - "src": "43519:18:1" + "src": "44758:18:0" }, { "children": [ { "attributes": { "assignments": [ - 2353, - 2355 + 1845, + 1847 ] }, "children": [ @@ -61557,7 +61557,7 @@ "constant": false, "mutability": "mutable", "name": "key", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61569,21 +61569,21 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2352, + "id": 1844, "name": "ElementaryTypeName", - "src": "43549:7:1" + "src": "44789:7:0" } ], - "id": 2353, + "id": 1845, "name": "VariableDeclaration", - "src": "43549:11:1" + "src": "44789:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2378, + "scope": 1870, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -61595,14 +61595,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2354, + "id": 1846, "name": "ElementaryTypeName", - "src": "43562:7:1" + "src": "44802:7:0" } ], - "id": 2355, + "id": 1847, "name": "VariableDeclaration", - "src": "43562:13:1" + "src": "44802:13:0" }, { "attributes": { @@ -61623,7 +61623,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -61634,13 +61634,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2145, + "referencedDeclaration": 1637, "type": "function (struct EnumerableMap.Map storage pointer,uint256) view returns (bytes32,bytes32)", "value": "_at" }, - "id": 2356, + "id": 1848, "name": "Identifier", - "src": "43579:3:1" + "src": "44819:3:0" }, { "attributes": { @@ -61649,7 +61649,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -61658,45 +61658,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2343, + "referencedDeclaration": 1835, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2357, + "id": 1849, "name": "Identifier", - "src": "43583:3:1" + "src": "44823:3:0" } ], - "id": 2358, + "id": 1850, "name": "MemberAccess", - "src": "43583:10:1" + "src": "44823:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2345, + "referencedDeclaration": 1837, "type": "uint256", "value": "index" }, - "id": 2359, + "id": 1851, "name": "Identifier", - "src": "43595:5:1" + "src": "44835:5:0" } ], - "id": 2360, + "id": 1852, "name": "FunctionCall", - "src": "43579:22:1" + "src": "44819:22:0" } ], - "id": 2361, + "id": 1853, "name": "VariableDeclarationStatement", - "src": "43548:53:1" + "src": "44788:53:0" }, { "attributes": { - "functionReturnParameters": 2351 + "functionReturnParameters": 1843 }, "children": [ { @@ -61743,32 +61743,32 @@ "attributes": { "name": "uint256" }, - "id": 2362, + "id": 1854, "name": "ElementaryTypeName", - "src": "43619:7:1" + "src": "44860:7:0" } ], - "id": 2363, + "id": 1855, "name": "ElementaryTypeNameExpression", - "src": "43619:7:1" + "src": "44860:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2353, + "referencedDeclaration": 1845, "type": "bytes32", "value": "key" }, - "id": 2364, + "id": 1856, "name": "Identifier", - "src": "43627:3:1" + "src": "44868:3:0" } ], - "id": 2365, + "id": 1857, "name": "FunctionCall", - "src": "43619:12:1" + "src": "44860:12:0" }, { "attributes": { @@ -61804,14 +61804,14 @@ "attributes": { "name": "address" }, - "id": 2366, + "id": 1858, "name": "ElementaryTypeName", - "src": "43633:7:1" + "src": "44874:7:0" } ], - "id": 2367, + "id": 1859, "name": "ElementaryTypeNameExpression", - "src": "43633:7:1" + "src": "44874:7:0" }, { "attributes": { @@ -61847,14 +61847,14 @@ "attributes": { "name": "uint160" }, - "id": 2368, + "id": 1860, "name": "ElementaryTypeName", - "src": "43641:7:1" + "src": "44882:7:0" } ], - "id": 2369, + "id": 1861, "name": "ElementaryTypeNameExpression", - "src": "43641:7:1" + "src": "44882:7:0" }, { "attributes": { @@ -61890,62 +61890,62 @@ "attributes": { "name": "uint256" }, - "id": 2370, + "id": 1862, "name": "ElementaryTypeName", - "src": "43649:7:1" + "src": "44890:7:0" } ], - "id": 2371, + "id": 1863, "name": "ElementaryTypeNameExpression", - "src": "43649:7:1" + "src": "44890:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2355, + "referencedDeclaration": 1847, "type": "bytes32", "value": "value" }, - "id": 2372, + "id": 1864, "name": "Identifier", - "src": "43657:5:1" + "src": "44898:5:0" } ], - "id": 2373, + "id": 1865, "name": "FunctionCall", - "src": "43649:14:1" + "src": "44890:14:0" } ], - "id": 2374, + "id": 1866, "name": "FunctionCall", - "src": "43641:23:1" + "src": "44882:23:0" } ], - "id": 2375, + "id": 1867, "name": "FunctionCall", - "src": "43633:32:1" + "src": "44874:32:0" } ], - "id": 2376, + "id": 1868, "name": "TupleExpression", - "src": "43618:48:1" + "src": "44859:48:0" } ], - "id": 2377, + "id": 1869, "name": "Return", - "src": "43611:55:1" + "src": "44852:55:0" } ], - "id": 2378, + "id": 1870, "name": "Block", - "src": "43538:135:1" + "src": "44777:138:0" } ], - "id": 2379, + "id": 1871, "name": "FunctionDefinition", - "src": "43440:233:1" + "src": "44679:236:0" }, { "attributes": { @@ -61956,7 +61956,7 @@ null ], "name": "tryGet", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -61966,9 +61966,9 @@ "attributes": { "text": " @dev Tries to returns the value associated with `key`. O(1).\n Does not revert if `key` is not in the map.\n _Available since v3.4._" }, - "id": 2380, + "id": 1872, "name": "StructuredDocumentation", - "src": "43679:169:1" + "src": "44923:174:0" }, { "children": [ @@ -61977,7 +61977,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -61987,24 +61987,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2381, + "id": 1873, "name": "UserDefinedTypeName", - "src": "43869:16:1" + "src": "45119:16:0" } ], - "id": 2382, + "id": 1874, "name": "VariableDeclaration", - "src": "43869:28:1" + "src": "45119:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62016,19 +62016,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2383, + "id": 1875, "name": "ElementaryTypeName", - "src": "43899:7:1" + "src": "45149:7:0" } ], - "id": 2384, + "id": 1876, "name": "VariableDeclaration", - "src": "43899:11:1" + "src": "45149:11:0" } ], - "id": 2385, + "id": 1877, "name": "ParameterList", - "src": "43868:43:1" + "src": "45118:43:0" }, { "children": [ @@ -62037,7 +62037,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62049,21 +62049,21 @@ "name": "bool", "type": "bool" }, - "id": 2386, + "id": 1878, "name": "ElementaryTypeName", - "src": "43935:4:1" + "src": "45185:4:0" } ], - "id": 2387, + "id": 1879, "name": "VariableDeclaration", - "src": "43935:4:1" + "src": "45185:4:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "", - "scope": 2418, + "scope": 1910, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62076,27 +62076,27 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2388, + "id": 1880, "name": "ElementaryTypeName", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2389, + "id": 1881, "name": "VariableDeclaration", - "src": "43941:7:1" + "src": "45191:7:0" } ], - "id": 2390, + "id": 1882, "name": "ParameterList", - "src": "43934:15:1" + "src": "45184:15:0" }, { "children": [ { "attributes": { "assignments": [ - 2392, - 2394 + 1884, + 1886 ] }, "children": [ @@ -62105,7 +62105,7 @@ "constant": false, "mutability": "mutable", "name": "success", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -62117,21 +62117,21 @@ "name": "bool", "type": "bool" }, - "id": 2391, + "id": 1883, "name": "ElementaryTypeName", - "src": "43961:4:1" + "src": "45212:4:0" } ], - "id": 2392, + "id": 1884, "name": "VariableDeclaration", - "src": "43961:12:1" + "src": "45212:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "value", - "scope": 2417, + "scope": 1909, "stateVariable": false, "storageLocation": "default", "type": "bytes32", @@ -62143,14 +62143,14 @@ "name": "bytes32", "type": "bytes32" }, - "id": 2393, + "id": 1885, "name": "ElementaryTypeName", - "src": "43975:7:1" + "src": "45226:7:0" } ], - "id": 2394, + "id": 1886, "name": "VariableDeclaration", - "src": "43975:13:1" + "src": "45226:13:0" }, { "attributes": { @@ -62171,7 +62171,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62182,13 +62182,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2183, + "referencedDeclaration": 1675, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bool,bytes32)", "value": "_tryGet" }, - "id": 2395, + "id": 1887, "name": "Identifier", - "src": "43992:7:1" + "src": "45243:7:0" }, { "attributes": { @@ -62197,7 +62197,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62206,18 +62206,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2382, + "referencedDeclaration": 1874, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2396, + "id": 1888, "name": "Identifier", - "src": "44000:3:1" + "src": "45251:3:0" } ], - "id": 2397, + "id": 1889, "name": "MemberAccess", - "src": "44000:10:1" + "src": "45251:10:0" }, { "attributes": { @@ -62253,46 +62253,46 @@ "attributes": { "name": "bytes32" }, - "id": 2398, + "id": 1890, "name": "ElementaryTypeName", - "src": "44012:7:1" + "src": "45263:7:0" } ], - "id": 2399, + "id": 1891, "name": "ElementaryTypeNameExpression", - "src": "44012:7:1" + "src": "45263:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2384, + "referencedDeclaration": 1876, "type": "uint256", "value": "key" }, - "id": 2400, + "id": 1892, "name": "Identifier", - "src": "44020:3:1" + "src": "45271:3:0" } ], - "id": 2401, + "id": 1893, "name": "FunctionCall", - "src": "44012:12:1" + "src": "45263:12:0" } ], - "id": 2402, + "id": 1894, "name": "FunctionCall", - "src": "43992:33:1" + "src": "45243:33:0" } ], - "id": 2403, + "id": 1895, "name": "VariableDeclarationStatement", - "src": "43960:65:1" + "src": "45211:65:0" }, { "attributes": { - "functionReturnParameters": 2390 + "functionReturnParameters": 1882 }, "children": [ { @@ -62310,13 +62310,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2392, + "referencedDeclaration": 1884, "type": "bool", "value": "success" }, - "id": 2404, + "id": 1896, "name": "Identifier", - "src": "44043:7:1" + "src": "45295:7:0" }, { "attributes": { @@ -62352,14 +62352,14 @@ "attributes": { "name": "address" }, - "id": 2405, + "id": 1897, "name": "ElementaryTypeName", - "src": "44052:7:1" + "src": "45304:7:0" } ], - "id": 2406, + "id": 1898, "name": "ElementaryTypeNameExpression", - "src": "44052:7:1" + "src": "45304:7:0" }, { "attributes": { @@ -62395,14 +62395,14 @@ "attributes": { "name": "uint160" }, - "id": 2407, + "id": 1899, "name": "ElementaryTypeName", - "src": "44060:7:1" + "src": "45312:7:0" } ], - "id": 2408, + "id": 1900, "name": "ElementaryTypeNameExpression", - "src": "44060:7:1" + "src": "45312:7:0" }, { "attributes": { @@ -62438,62 +62438,62 @@ "attributes": { "name": "uint256" }, - "id": 2409, + "id": 1901, "name": "ElementaryTypeName", - "src": "44068:7:1" + "src": "45320:7:0" } ], - "id": 2410, + "id": 1902, "name": "ElementaryTypeNameExpression", - "src": "44068:7:1" + "src": "45320:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2394, + "referencedDeclaration": 1886, "type": "bytes32", "value": "value" }, - "id": 2411, + "id": 1903, "name": "Identifier", - "src": "44076:5:1" + "src": "45328:5:0" } ], - "id": 2412, + "id": 1904, "name": "FunctionCall", - "src": "44068:14:1" + "src": "45320:14:0" } ], - "id": 2413, + "id": 1905, "name": "FunctionCall", - "src": "44060:23:1" + "src": "45312:23:0" } ], - "id": 2414, + "id": 1906, "name": "FunctionCall", - "src": "44052:32:1" + "src": "45304:32:0" } ], - "id": 2415, + "id": 1907, "name": "TupleExpression", - "src": "44042:43:1" + "src": "45294:43:0" } ], - "id": 2416, + "id": 1908, "name": "Return", - "src": "44035:50:1" + "src": "45287:50:0" } ], - "id": 2417, + "id": 1909, "name": "Block", - "src": "43950:142:1" + "src": "45200:145:0" } ], - "id": 2418, + "id": 1910, "name": "FunctionDefinition", - "src": "43853:239:1" + "src": "45103:242:0" }, { "attributes": { @@ -62504,7 +62504,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62514,9 +62514,9 @@ "attributes": { "text": " @dev Returns the value associated with `key`. O(1).\n Requirements:\n - `key` must be in the map." }, - "id": 2419, + "id": 1911, "name": "StructuredDocumentation", - "src": "44098:141:1" + "src": "45353:147:0" }, { "children": [ @@ -62525,7 +62525,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62535,24 +62535,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2420, + "id": 1912, "name": "UserDefinedTypeName", - "src": "44257:16:1" + "src": "45519:16:0" } ], - "id": 2421, + "id": 1913, "name": "VariableDeclaration", - "src": "44257:28:1" + "src": "45519:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62564,19 +62564,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2422, + "id": 1914, "name": "ElementaryTypeName", - "src": "44287:7:1" + "src": "45549:7:0" } ], - "id": 2423, + "id": 1915, "name": "VariableDeclaration", - "src": "44287:11:1" + "src": "45549:11:0" } ], - "id": 2424, + "id": 1916, "name": "ParameterList", - "src": "44256:43:1" + "src": "45518:43:0" }, { "children": [ @@ -62585,7 +62585,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2447, + "scope": 1939, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -62598,25 +62598,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2425, + "id": 1917, "name": "ElementaryTypeName", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2426, + "id": 1918, "name": "VariableDeclaration", - "src": "44323:7:1" + "src": "45585:7:0" } ], - "id": 2427, + "id": 1919, "name": "ParameterList", - "src": "44322:9:1" + "src": "45584:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2427 + "functionReturnParameters": 1919 }, "children": [ { @@ -62653,14 +62653,14 @@ "attributes": { "name": "address" }, - "id": 2428, + "id": 1920, "name": "ElementaryTypeName", - "src": "44349:7:1" + "src": "45612:7:0" } ], - "id": 2429, + "id": 1921, "name": "ElementaryTypeNameExpression", - "src": "44349:7:1" + "src": "45612:7:0" }, { "attributes": { @@ -62696,14 +62696,14 @@ "attributes": { "name": "uint160" }, - "id": 2430, + "id": 1922, "name": "ElementaryTypeName", - "src": "44357:7:1" + "src": "45620:7:0" } ], - "id": 2431, + "id": 1923, "name": "ElementaryTypeNameExpression", - "src": "44357:7:1" + "src": "45620:7:0" }, { "attributes": { @@ -62739,14 +62739,14 @@ "attributes": { "name": "uint256" }, - "id": 2432, + "id": 1924, "name": "ElementaryTypeName", - "src": "44365:7:1" + "src": "45628:7:0" } ], - "id": 2433, + "id": 1925, "name": "ElementaryTypeNameExpression", - "src": "44365:7:1" + "src": "45628:7:0" }, { "attributes": { @@ -62767,7 +62767,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -62776,16 +62776,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2216, + "referencedDeclaration": 1708, "type": "function (struct EnumerableMap.Map storage pointer,bytes32) view returns (bytes32)", "value": "_get" }, - "id": 2434, + "id": 1926, "name": "Identifier", - "src": "44373:4:1" + "src": "45636:4:0" }, { "attributes": { @@ -62794,7 +62794,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -62803,18 +62803,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2421, + "referencedDeclaration": 1913, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2435, + "id": 1927, "name": "Identifier", - "src": "44378:3:1" + "src": "45641:3:0" } ], - "id": 2436, + "id": 1928, "name": "MemberAccess", - "src": "44378:10:1" + "src": "45641:10:0" }, { "attributes": { @@ -62850,67 +62850,67 @@ "attributes": { "name": "bytes32" }, - "id": 2437, + "id": 1929, "name": "ElementaryTypeName", - "src": "44390:7:1" + "src": "45653:7:0" } ], - "id": 2438, + "id": 1930, "name": "ElementaryTypeNameExpression", - "src": "44390:7:1" + "src": "45653:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2423, + "referencedDeclaration": 1915, "type": "uint256", "value": "key" }, - "id": 2439, + "id": 1931, "name": "Identifier", - "src": "44398:3:1" + "src": "45661:3:0" } ], - "id": 2440, + "id": 1932, "name": "FunctionCall", - "src": "44390:12:1" + "src": "45653:12:0" } ], - "id": 2441, + "id": 1933, "name": "FunctionCall", - "src": "44373:30:1" + "src": "45636:30:0" } ], - "id": 2442, + "id": 1934, "name": "FunctionCall", - "src": "44365:39:1" + "src": "45628:39:0" } ], - "id": 2443, + "id": 1935, "name": "FunctionCall", - "src": "44357:48:1" + "src": "45620:48:0" } ], - "id": 2444, + "id": 1936, "name": "FunctionCall", - "src": "44349:57:1" + "src": "45612:57:0" } ], - "id": 2445, + "id": 1937, "name": "Return", - "src": "44342:64:1" + "src": "45605:64:0" } ], - "id": 2446, + "id": 1938, "name": "Block", - "src": "44332:81:1" + "src": "45594:83:0" } ], - "id": 2447, + "id": 1939, "name": "FunctionDefinition", - "src": "44244:169:1" + "src": "45506:171:0" }, { "attributes": { @@ -62921,7 +62921,7 @@ null ], "name": "get", - "scope": 2480, + "scope": 1972, "stateMutability": "view", "virtual": false, "visibility": "internal" @@ -62931,9 +62931,9 @@ "attributes": { "text": " @dev Same as {get}, with a custom error message when `key` is not in the map.\n CAUTION: This function is deprecated because it requires allocating memory for the error\n message unnecessarily. For custom revert reasons use {tryGet}." }, - "id": 2448, + "id": 1940, "name": "StructuredDocumentation", - "src": "44419:269:1" + "src": "45685:274:0" }, { "children": [ @@ -62942,7 +62942,7 @@ "constant": false, "mutability": "mutable", "name": "map", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "storage", "type": "struct EnumerableMap.UintToAddressMap", @@ -62952,24 +62952,24 @@ { "attributes": { "name": "UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2449, + "id": 1941, "name": "UserDefinedTypeName", - "src": "44706:16:1" + "src": "45978:16:0" } ], - "id": 2450, + "id": 1942, "name": "VariableDeclaration", - "src": "44706:28:1" + "src": "45978:28:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "key", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -62981,21 +62981,21 @@ "name": "uint256", "type": "uint256" }, - "id": 2451, + "id": 1943, "name": "ElementaryTypeName", - "src": "44736:7:1" + "src": "46008:7:0" } ], - "id": 2452, + "id": 1944, "name": "VariableDeclaration", - "src": "44736:11:1" + "src": "46008:11:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "errorMessage", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63007,19 +63007,19 @@ "name": "string", "type": "string" }, - "id": 2453, + "id": 1945, "name": "ElementaryTypeName", - "src": "44749:6:1" + "src": "46021:6:0" } ], - "id": 2454, + "id": 1946, "name": "VariableDeclaration", - "src": "44749:26:1" + "src": "46021:26:0" } ], - "id": 2455, + "id": 1947, "name": "ParameterList", - "src": "44705:71:1" + "src": "45977:71:0" }, { "children": [ @@ -63028,7 +63028,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2479, + "scope": 1971, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -63041,25 +63041,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2456, + "id": 1948, "name": "ElementaryTypeName", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2457, + "id": 1949, "name": "VariableDeclaration", - "src": "44800:7:1" + "src": "46072:7:0" } ], - "id": 2458, + "id": 1950, "name": "ParameterList", - "src": "44799:9:1" + "src": "46071:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2458 + "functionReturnParameters": 1950 }, "children": [ { @@ -63096,14 +63096,14 @@ "attributes": { "name": "address" }, - "id": 2459, + "id": 1951, "name": "ElementaryTypeName", - "src": "44826:7:1" + "src": "46099:7:0" } ], - "id": 2460, + "id": 1952, "name": "ElementaryTypeNameExpression", - "src": "44826:7:1" + "src": "46099:7:0" }, { "attributes": { @@ -63139,14 +63139,14 @@ "attributes": { "name": "uint160" }, - "id": 2461, + "id": 1953, "name": "ElementaryTypeName", - "src": "44834:7:1" + "src": "46107:7:0" } ], - "id": 2462, + "id": 1954, "name": "ElementaryTypeNameExpression", - "src": "44834:7:1" + "src": "46107:7:0" }, { "attributes": { @@ -63182,14 +63182,14 @@ "attributes": { "name": "uint256" }, - "id": 2463, + "id": 1955, "name": "ElementaryTypeName", - "src": "44842:7:1" + "src": "46115:7:0" } ], - "id": 2464, + "id": 1956, "name": "ElementaryTypeNameExpression", - "src": "44842:7:1" + "src": "46115:7:0" }, { "attributes": { @@ -63210,7 +63210,7 @@ "attributes": { "argumentTypes": [ { - "typeIdentifier": "t_struct$_Map_$1936_storage", + "typeIdentifier": "t_struct$_Map_$1428_storage", "typeString": "struct EnumerableMap.Map storage ref" }, { @@ -63223,16 +63223,16 @@ } ], "overloadedDeclarations": [ - 2216, - 2251 + 1708, + 1743 ], - "referencedDeclaration": 2251, + "referencedDeclaration": 1743, "type": "function (struct EnumerableMap.Map storage pointer,bytes32,string memory) view returns (bytes32)", "value": "_get" }, - "id": 2465, + "id": 1957, "name": "Identifier", - "src": "44850:4:1" + "src": "46123:4:0" }, { "attributes": { @@ -63241,7 +63241,7 @@ "isPure": false, "lValueRequested": false, "member_name": "_inner", - "referencedDeclaration": 2253, + "referencedDeclaration": 1745, "type": "struct EnumerableMap.Map storage ref" }, "children": [ @@ -63250,18 +63250,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2450, + "referencedDeclaration": 1942, "type": "struct EnumerableMap.UintToAddressMap storage pointer", "value": "map" }, - "id": 2466, + "id": 1958, "name": "Identifier", - "src": "44855:3:1" + "src": "46128:3:0" } ], - "id": 2467, + "id": 1959, "name": "MemberAccess", - "src": "44855:10:1" + "src": "46128:10:0" }, { "attributes": { @@ -63297,85 +63297,85 @@ "attributes": { "name": "bytes32" }, - "id": 2468, + "id": 1960, "name": "ElementaryTypeName", - "src": "44867:7:1" + "src": "46140:7:0" } ], - "id": 2469, + "id": 1961, "name": "ElementaryTypeNameExpression", - "src": "44867:7:1" + "src": "46140:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2452, + "referencedDeclaration": 1944, "type": "uint256", "value": "key" }, - "id": 2470, + "id": 1962, "name": "Identifier", - "src": "44875:3:1" + "src": "46148:3:0" } ], - "id": 2471, + "id": 1963, "name": "FunctionCall", - "src": "44867:12:1" + "src": "46140:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2454, + "referencedDeclaration": 1946, "type": "string memory", "value": "errorMessage" }, - "id": 2472, + "id": 1964, "name": "Identifier", - "src": "44881:12:1" + "src": "46154:12:0" } ], - "id": 2473, + "id": 1965, "name": "FunctionCall", - "src": "44850:44:1" + "src": "46123:44:0" } ], - "id": 2474, + "id": 1966, "name": "FunctionCall", - "src": "44842:53:1" + "src": "46115:53:0" } ], - "id": 2475, + "id": 1967, "name": "FunctionCall", - "src": "44834:62:1" + "src": "46107:62:0" } ], - "id": 2476, + "id": 1968, "name": "FunctionCall", - "src": "44826:71:1" + "src": "46099:71:0" } ], - "id": 2477, + "id": 1969, "name": "Return", - "src": "44819:78:1" + "src": "46092:78:0" } ], - "id": 2478, + "id": 1970, "name": "Block", - "src": "44809:95:1" + "src": "46081:97:0" } ], - "id": 2479, + "id": 1971, "name": "FunctionDefinition", - "src": "44693:211:1" + "src": "45965:213:0" } ], - "id": 2480, + "id": 1972, "name": "ContractDefinition", - "src": "35943:8963:1" + "src": "36981:9200:0" }, { "attributes": { @@ -63389,9 +63389,9 @@ ".0" ] }, - "id": 2481, + "id": 1973, "name": "PragmaDirective", - "src": "44959:31:1" + "src": "46237:31:0" }, { "attributes": { @@ -63405,19 +63405,19 @@ "contractKind": "library", "fullyImplemented": true, "linearizedBaseContracts": [ - 2566 + 2058 ], "name": "Strings", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @dev String operations." }, - "id": 2482, + "id": 1974, "name": "StructuredDocumentation", - "src": "44992:34:1" + "src": "46272:36:0" }, { "attributes": { @@ -63428,7 +63428,7 @@ null ], "name": "toString", - "scope": 2566, + "scope": 2058, "stateMutability": "pure", "virtual": false, "visibility": "internal" @@ -63438,9 +63438,9 @@ "attributes": { "text": " @dev Converts a `uint256` to its ASCII `string` representation." }, - "id": 2483, + "id": 1975, "name": "StructuredDocumentation", - "src": "45049:82:1" + "src": "46333:84:0" }, { "children": [ @@ -63449,7 +63449,7 @@ "constant": false, "mutability": "mutable", "name": "value", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63461,19 +63461,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2484, + "id": 1976, "name": "ElementaryTypeName", - "src": "45154:7:1" + "src": "46441:7:0" } ], - "id": 2485, + "id": 1977, "name": "VariableDeclaration", - "src": "45154:13:1" + "src": "46441:13:0" } ], - "id": 2486, + "id": 1978, "name": "ParameterList", - "src": "45153:15:1" + "src": "46440:15:0" }, { "children": [ @@ -63482,7 +63482,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2565, + "scope": 2057, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -63494,19 +63494,19 @@ "name": "string", "type": "string" }, - "id": 2487, + "id": 1979, "name": "ElementaryTypeName", - "src": "45192:6:1" + "src": "46479:6:0" } ], - "id": 2488, + "id": 1980, "name": "VariableDeclaration", - "src": "45192:13:1" + "src": "46479:13:0" } ], - "id": 2489, + "id": 1981, "name": "ParameterList", - "src": "45191:15:1" + "src": "46478:15:0" }, { "children": [ @@ -63532,13 +63532,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2490, + "id": 1982, "name": "Identifier", - "src": "45409:5:1" + "src": "46700:5:0" }, { "attributes": { @@ -63551,20 +63551,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2491, + "id": 1983, "name": "Literal", - "src": "45418:1:1" + "src": "46709:1:0" } ], - "id": 2492, + "id": 1984, "name": "BinaryOperation", - "src": "45409:10:1" + "src": "46700:10:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -63578,29 +63578,29 @@ "type": "literal_string \"0\"", "value": "0" }, - "id": 2493, + "id": 1985, "name": "Literal", - "src": "45442:3:1" + "src": "46734:3:0" } ], - "id": 2494, + "id": 1986, "name": "Return", - "src": "45435:10:1" + "src": "46727:10:0" } ], - "id": 2495, + "id": 1987, "name": "Block", - "src": "45421:35:1" + "src": "46712:37:0" } ], - "id": 2496, + "id": 1988, "name": "IfStatement", - "src": "45405:51:1" + "src": "46696:53:0" }, { "attributes": { "assignments": [ - 2498 + 1990 ] }, "children": [ @@ -63609,7 +63609,7 @@ "constant": false, "mutability": "mutable", "name": "temp", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63621,37 +63621,37 @@ "name": "uint256", "type": "uint256" }, - "id": 2497, + "id": 1989, "name": "ElementaryTypeName", - "src": "45465:7:1" + "src": "46759:7:0" } ], - "id": 2498, + "id": 1990, "name": "VariableDeclaration", - "src": "45465:12:1" + "src": "46759:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2499, + "id": 1991, "name": "Identifier", - "src": "45480:5:1" + "src": "46774:5:0" } ], - "id": 2500, + "id": 1992, "name": "VariableDeclarationStatement", - "src": "45465:20:1" + "src": "46759:20:0" }, { "attributes": { "assignments": [ - 2502 + 1994 ] }, "children": [ @@ -63660,7 +63660,7 @@ "constant": false, "mutability": "mutable", "name": "digits", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63672,19 +63672,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2501, + "id": 1993, "name": "ElementaryTypeName", - "src": "45495:7:1" + "src": "46790:7:0" } ], - "id": 2502, + "id": 1994, "name": "VariableDeclaration", - "src": "45495:14:1" + "src": "46790:14:0" } ], - "id": 2503, + "id": 1995, "name": "VariableDeclarationStatement", - "src": "45495:14:1" + "src": "46790:14:0" }, { "children": [ @@ -63707,13 +63707,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2504, + "id": 1996, "name": "Identifier", - "src": "45526:4:1" + "src": "46822:4:0" }, { "attributes": { @@ -63726,14 +63726,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2505, + "id": 1997, "name": "Literal", - "src": "45534:1:1" + "src": "46830:1:0" } ], - "id": 2506, + "id": 1998, "name": "BinaryOperation", - "src": "45526:9:1" + "src": "46822:9:0" }, { "children": [ @@ -63755,23 +63755,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2507, + "id": 1999, "name": "Identifier", - "src": "45551:6:1" + "src": "46848:6:0" } ], - "id": 2508, + "id": 2000, "name": "UnaryOperation", - "src": "45551:8:1" + "src": "46848:8:0" } ], - "id": 2509, + "id": 2001, "name": "ExpressionStatement", - "src": "45551:8:1" + "src": "46848:8:0" }, { "children": [ @@ -63790,13 +63790,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2510, + "id": 2002, "name": "Identifier", - "src": "45573:4:1" + "src": "46871:4:0" }, { "attributes": { @@ -63809,34 +63809,34 @@ "type": "int_const 10", "value": "10" }, - "id": 2511, + "id": 2003, "name": "Literal", - "src": "45581:2:1" + "src": "46879:2:0" } ], - "id": 2512, + "id": 2004, "name": "Assignment", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2513, + "id": 2005, "name": "ExpressionStatement", - "src": "45573:10:1" + "src": "46871:10:0" } ], - "id": 2514, + "id": 2006, "name": "Block", - "src": "45537:57:1" + "src": "46833:60:0" } ], - "id": 2515, + "id": 2007, "name": "WhileStatement", - "src": "45519:75:1" + "src": "46815:78:0" }, { "attributes": { "assignments": [ - 2517 + 2009 ] }, "children": [ @@ -63845,7 +63845,7 @@ "constant": false, "mutability": "mutable", "name": "buffer", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -63857,14 +63857,14 @@ "name": "bytes", "type": "bytes" }, - "id": 2516, + "id": 2008, "name": "ElementaryTypeName", - "src": "45603:5:1" + "src": "46903:5:0" } ], - "id": 2517, + "id": 2009, "name": "VariableDeclaration", - "src": "45603:19:1" + "src": "46903:19:0" }, { "attributes": { @@ -63901,42 +63901,42 @@ "name": "bytes", "type": "bytes" }, - "id": 2518, + "id": 2010, "name": "ElementaryTypeName", - "src": "45629:5:1" + "src": "46929:5:0" } ], - "id": 2519, + "id": 2011, "name": "NewExpression", - "src": "45625:9:1" + "src": "46925:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2520, + "id": 2012, "name": "Identifier", - "src": "45635:6:1" + "src": "46935:6:0" } ], - "id": 2521, + "id": 2013, "name": "FunctionCall", - "src": "45625:17:1" + "src": "46925:17:0" } ], - "id": 2522, + "id": 2014, "name": "VariableDeclarationStatement", - "src": "45603:39:1" + "src": "46903:39:0" }, { "attributes": { "assignments": [ - 2524 + 2016 ] }, "children": [ @@ -63945,7 +63945,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2564, + "scope": 2056, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -63957,14 +63957,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2523, + "id": 2015, "name": "ElementaryTypeName", - "src": "45652:7:1" + "src": "46953:7:0" } ], - "id": 2524, + "id": 2016, "name": "VariableDeclaration", - "src": "45652:13:1" + "src": "46953:13:0" }, { "attributes": { @@ -63985,13 +63985,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2502, + "referencedDeclaration": 1994, "type": "uint256", "value": "digits" }, - "id": 2525, + "id": 2017, "name": "Identifier", - "src": "45668:6:1" + "src": "46969:6:0" }, { "attributes": { @@ -64004,19 +64004,19 @@ "type": "int_const 1", "value": "1" }, - "id": 2526, + "id": 2018, "name": "Literal", - "src": "45677:1:1" + "src": "46978:1:0" } ], - "id": 2527, + "id": 2019, "name": "BinaryOperation", - "src": "45668:10:1" + "src": "46969:10:0" } ], - "id": 2528, + "id": 2020, "name": "VariableDeclarationStatement", - "src": "45652:26:1" + "src": "46953:26:0" }, { "children": [ @@ -64035,36 +64035,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2529, + "id": 2021, "name": "Identifier", - "src": "45688:4:1" + "src": "46990:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2485, + "referencedDeclaration": 1977, "type": "uint256", "value": "value" }, - "id": 2530, + "id": 2022, "name": "Identifier", - "src": "45695:5:1" + "src": "46997:5:0" } ], - "id": 2531, + "id": 2023, "name": "Assignment", - "src": "45688:12:1" + "src": "46990:12:0" } ], - "id": 2532, + "id": 2024, "name": "ExpressionStatement", - "src": "45688:12:1" + "src": "46990:12:0" }, { "children": [ @@ -64087,13 +64087,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2533, + "id": 2025, "name": "Identifier", - "src": "45717:4:1" + "src": "47020:4:0" }, { "attributes": { @@ -64106,14 +64106,14 @@ "type": "int_const 0", "value": "0" }, - "id": 2534, + "id": 2026, "name": "Literal", - "src": "45725:1:1" + "src": "47028:1:0" } ], - "id": 2535, + "id": 2027, "name": "BinaryOperation", - "src": "45717:9:1" + "src": "47020:9:0" }, { "children": [ @@ -64143,13 +64143,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2536, + "id": 2028, "name": "Identifier", - "src": "45742:6:1" + "src": "47046:6:0" }, { "attributes": { @@ -64167,23 +64167,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2524, + "referencedDeclaration": 2016, "type": "uint256", "value": "index" }, - "id": 2537, + "id": 2029, "name": "Identifier", - "src": "45749:5:1" + "src": "47053:5:0" } ], - "id": 2538, + "id": 2030, "name": "UnaryOperation", - "src": "45749:7:1" + "src": "47053:7:0" } ], - "id": 2539, + "id": 2031, "name": "IndexAccess", - "src": "45742:15:1" + "src": "47046:15:0" }, { "attributes": { @@ -64219,14 +64219,14 @@ "attributes": { "name": "bytes1" }, - "id": 2540, + "id": 2032, "name": "ElementaryTypeName", - "src": "45760:6:1" + "src": "47064:6:0" } ], - "id": 2541, + "id": 2033, "name": "ElementaryTypeNameExpression", - "src": "45760:6:1" + "src": "47064:6:0" }, { "attributes": { @@ -64262,14 +64262,14 @@ "attributes": { "name": "uint8" }, - "id": 2542, + "id": 2034, "name": "ElementaryTypeName", - "src": "45767:5:1" + "src": "47071:5:0" } ], - "id": 2543, + "id": 2035, "name": "ElementaryTypeNameExpression", - "src": "45767:5:1" + "src": "47071:5:0" }, { "attributes": { @@ -64296,9 +64296,9 @@ "type": "int_const 48", "value": "48" }, - "id": 2544, + "id": 2036, "name": "Literal", - "src": "45773:2:1" + "src": "47077:2:0" }, { "attributes": { @@ -64319,13 +64319,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2545, + "id": 2037, "name": "Identifier", - "src": "45778:4:1" + "src": "47082:4:0" }, { "attributes": { @@ -64338,39 +64338,39 @@ "type": "int_const 10", "value": "10" }, - "id": 2546, + "id": 2038, "name": "Literal", - "src": "45785:2:1" + "src": "47089:2:0" } ], - "id": 2547, + "id": 2039, "name": "BinaryOperation", - "src": "45778:9:1" + "src": "47082:9:0" } ], - "id": 2548, + "id": 2040, "name": "BinaryOperation", - "src": "45773:14:1" + "src": "47077:14:0" } ], - "id": 2549, + "id": 2041, "name": "FunctionCall", - "src": "45767:21:1" + "src": "47071:21:0" } ], - "id": 2550, + "id": 2042, "name": "FunctionCall", - "src": "45760:29:1" + "src": "47064:29:0" } ], - "id": 2551, + "id": 2043, "name": "Assignment", - "src": "45742:47:1" + "src": "47046:47:0" } ], - "id": 2552, + "id": 2044, "name": "ExpressionStatement", - "src": "45742:47:1" + "src": "47046:47:0" }, { "children": [ @@ -64389,13 +64389,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2498, + "referencedDeclaration": 1990, "type": "uint256", "value": "temp" }, - "id": 2553, + "id": 2045, "name": "Identifier", - "src": "45803:4:1" + "src": "47108:4:0" }, { "attributes": { @@ -64408,33 +64408,33 @@ "type": "int_const 10", "value": "10" }, - "id": 2554, + "id": 2046, "name": "Literal", - "src": "45811:2:1" + "src": "47116:2:0" } ], - "id": 2555, + "id": 2047, "name": "Assignment", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2556, + "id": 2048, "name": "ExpressionStatement", - "src": "45803:10:1" + "src": "47108:10:0" } ], - "id": 2557, + "id": 2049, "name": "Block", - "src": "45728:96:1" + "src": "47031:99:0" } ], - "id": 2558, + "id": 2050, "name": "WhileStatement", - "src": "45710:114:1" + "src": "47013:117:0" }, { "attributes": { - "functionReturnParameters": 2489 + "functionReturnParameters": 1981 }, "children": [ { @@ -64471,52 +64471,52 @@ "attributes": { "name": "string" }, - "id": 2559, + "id": 2051, "name": "ElementaryTypeName", - "src": "45840:6:1" + "src": "47147:6:0" } ], - "id": 2560, + "id": 2052, "name": "ElementaryTypeNameExpression", - "src": "45840:6:1" + "src": "47147:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2517, + "referencedDeclaration": 2009, "type": "bytes memory", "value": "buffer" }, - "id": 2561, + "id": 2053, "name": "Identifier", - "src": "45847:6:1" + "src": "47154:6:0" } ], - "id": 2562, + "id": 2054, "name": "FunctionCall", - "src": "45840:14:1" + "src": "47147:14:0" } ], - "id": 2563, + "id": 2055, "name": "Return", - "src": "45833:21:1" + "src": "47140:21:0" } ], - "id": 2564, + "id": 2056, "name": "Block", - "src": "45207:654:1" + "src": "46494:675:0" } ], - "id": 2565, + "id": 2057, "name": "FunctionDefinition", - "src": "45136:725:1" + "src": "46423:746:0" } ], - "id": 2566, + "id": 2058, "name": "ContractDefinition", - "src": "45027:836:1" + "src": "46310:862:0" }, { "attributes": { @@ -64530,43 +64530,43 @@ ".0" ] }, - "id": 2567, + "id": 2059, "name": "PragmaDirective", - "src": "45922:31:1" + "src": "47234:31:0" }, { "attributes": { "abstract": false, "contractDependencies": [ - 530, - 541, - 655, - 680, - 709, - 781 + 22, + 33, + 147, + 172, + 201, + 273 ], "contractKind": "contract", "fullyImplemented": true, "linearizedBaseContracts": [ - 3498, - 709, - 680, - 655, - 781, - 541, - 530 + 2990, + 201, + 172, + 147, + 273, + 33, + 22 ], "name": "ERC721", - "scope": 3499 + "scope": 2991 }, "children": [ { "attributes": { "text": " @title ERC721 Non-Fungible Token Standard basic implementation\n @dev see https://eips.ethereum.org/EIPS/eip-721" }, - "id": 2568, + "id": 2060, "name": "StructuredDocumentation", - "src": "45955:124:1" + "src": "47269:127:0" }, { "attributes": {}, @@ -64574,17 +64574,17 @@ { "attributes": { "name": "Context", - "referencedDeclaration": 530, + "referencedDeclaration": 22, "type": "contract Context" }, - "id": 2569, + "id": 2061, "name": "UserDefinedTypeName", - "src": "46099:7:1" + "src": "47417:7:0" } ], - "id": 2570, + "id": 2062, "name": "InheritanceSpecifier", - "src": "46099:7:1" + "src": "47417:7:0" }, { "attributes": {}, @@ -64592,17 +64592,17 @@ { "attributes": { "name": "ERC165", - "referencedDeclaration": 781, + "referencedDeclaration": 273, "type": "contract ERC165" }, - "id": 2571, + "id": 2063, "name": "UserDefinedTypeName", - "src": "46108:6:1" + "src": "47426:6:0" } ], - "id": 2572, + "id": 2064, "name": "InheritanceSpecifier", - "src": "46108:6:1" + "src": "47426:6:0" }, { "attributes": {}, @@ -64610,17 +64610,17 @@ { "attributes": { "name": "IERC721", - "referencedDeclaration": 655, + "referencedDeclaration": 147, "type": "contract IERC721" }, - "id": 2573, + "id": 2065, "name": "UserDefinedTypeName", - "src": "46116:7:1" + "src": "47434:7:0" } ], - "id": 2574, + "id": 2066, "name": "InheritanceSpecifier", - "src": "46116:7:1" + "src": "47434:7:0" }, { "attributes": {}, @@ -64628,17 +64628,17 @@ { "attributes": { "name": "IERC721Metadata", - "referencedDeclaration": 680, + "referencedDeclaration": 172, "type": "contract IERC721Metadata" }, - "id": 2575, + "id": 2067, "name": "UserDefinedTypeName", - "src": "46125:15:1" + "src": "47443:15:0" } ], - "id": 2576, + "id": 2068, "name": "InheritanceSpecifier", - "src": "46125:15:1" + "src": "47443:15:0" }, { "attributes": {}, @@ -64646,55 +64646,55 @@ { "attributes": { "name": "IERC721Enumerable", - "referencedDeclaration": 709, + "referencedDeclaration": 201, "type": "contract IERC721Enumerable" }, - "id": 2577, + "id": 2069, "name": "UserDefinedTypeName", - "src": "46142:17:1" + "src": "47460:17:0" } ], - "id": 2578, + "id": 2070, "name": "InheritanceSpecifier", - "src": "46142:17:1" + "src": "47460:17:0" }, { "children": [ { "attributes": { "name": "SafeMath", - "referencedDeclaration": 1135, + "referencedDeclaration": 627, "type": "library SafeMath" }, - "id": 2579, + "id": 2071, "name": "UserDefinedTypeName", - "src": "46172:8:1" + "src": "47491:8:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2580, + "id": 2072, "name": "ElementaryTypeName", - "src": "46185:7:1" + "src": "47504:7:0" } ], - "id": 2581, + "id": 2073, "name": "UsingForDirective", - "src": "46166:27:1" + "src": "47485:27:0" }, { "children": [ { "attributes": { "name": "Address", - "referencedDeclaration": 1430, + "referencedDeclaration": 922, "type": "library Address" }, - "id": 2582, + "id": 2074, "name": "UserDefinedTypeName", - "src": "46204:7:1" + "src": "47524:7:0" }, { "attributes": { @@ -64702,101 +64702,101 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2583, + "id": 2075, "name": "ElementaryTypeName", - "src": "46216:7:1" + "src": "47536:7:0" } ], - "id": 2584, + "id": 2076, "name": "UsingForDirective", - "src": "46198:26:1" + "src": "47518:26:0" }, { "children": [ { "attributes": { "name": "EnumerableSet", - "referencedDeclaration": 1921, + "referencedDeclaration": 1413, "type": "library EnumerableSet" }, - "id": 2585, + "id": 2077, "name": "UserDefinedTypeName", - "src": "46235:13:1" + "src": "47556:13:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2586, + "id": 2078, "name": "UserDefinedTypeName", - "src": "46253:21:1" + "src": "47574:21:0" } ], - "id": 2587, + "id": 2079, "name": "UsingForDirective", - "src": "46229:46:1" + "src": "47550:46:0" }, { "children": [ { "attributes": { "name": "EnumerableMap", - "referencedDeclaration": 2480, + "referencedDeclaration": 1972, "type": "library EnumerableMap" }, - "id": 2588, + "id": 2080, "name": "UserDefinedTypeName", - "src": "46286:13:1" + "src": "47608:13:0" }, { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2589, + "id": 2081, "name": "UserDefinedTypeName", - "src": "46304:30:1" + "src": "47626:30:0" } ], - "id": 2590, + "id": 2082, "name": "UsingForDirective", - "src": "46280:55:1" + "src": "47602:55:0" }, { "children": [ { "attributes": { "name": "Strings", - "referencedDeclaration": 2566, + "referencedDeclaration": 2058, "type": "library Strings" }, - "id": 2591, + "id": 2083, "name": "UserDefinedTypeName", - "src": "46346:7:1" + "src": "47669:7:0" }, { "attributes": { "name": "uint256", "type": "uint256" }, - "id": 2592, + "id": 2084, "name": "ElementaryTypeName", - "src": "46358:7:1" + "src": "47681:7:0" } ], - "id": 2593, + "id": 2085, "name": "UsingForDirective", - "src": "46340:26:1" + "src": "47663:26:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_ERC721_RECEIVED", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -64808,9 +64808,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2594, + "id": 2086, "name": "ElementaryTypeName", - "src": "46544:6:1" + "src": "47871:6:0" }, { "attributes": { @@ -64823,21 +64823,21 @@ "type": "int_const 353073666", "value": "0x150b7a02" }, - "id": 2595, + "id": 2087, "name": "Literal", - "src": "46587:10:1" + "src": "47914:10:0" } ], - "id": 2596, + "id": 2088, "name": "VariableDeclaration", - "src": "46544:53:1" + "src": "47871:53:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_holderTokens", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => struct EnumerableSet.UintSet)", @@ -64854,36 +64854,36 @@ "name": "address", "type": "address" }, - "id": 2597, + "id": 2089, "name": "ElementaryTypeName", - "src": "46690:7:1" + "src": "48020:7:0" }, { "attributes": { "name": "EnumerableSet.UintSet", - "referencedDeclaration": 1826, + "referencedDeclaration": 1318, "type": "struct EnumerableSet.UintSet" }, - "id": 2598, + "id": 2090, "name": "UserDefinedTypeName", - "src": "46701:21:1" + "src": "48031:21:0" } ], - "id": 2599, + "id": 2091, "name": "Mapping", - "src": "46681:42:1" + "src": "48011:42:0" } ], - "id": 2600, + "id": 2092, "name": "VariableDeclaration", - "src": "46681:64:1" + "src": "48011:64:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenOwners", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "struct EnumerableMap.UintToAddressMap", @@ -64893,24 +64893,24 @@ { "attributes": { "name": "EnumerableMap.UintToAddressMap", - "referencedDeclaration": 2254, + "referencedDeclaration": 1746, "type": "struct EnumerableMap.UintToAddressMap" }, - "id": 2601, + "id": 2093, "name": "UserDefinedTypeName", - "src": "46809:30:1" + "src": "48142:30:0" } ], - "id": 2602, + "id": 2094, "name": "VariableDeclaration", - "src": "46809:51:1" + "src": "48142:51:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => address)", @@ -64927,9 +64927,9 @@ "name": "uint256", "type": "uint256" }, - "id": 2603, + "id": 2095, "name": "ElementaryTypeName", - "src": "46925:7:1" + "src": "48261:7:0" }, { "attributes": { @@ -64937,26 +64937,26 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2604, + "id": 2096, "name": "ElementaryTypeName", - "src": "46936:7:1" + "src": "48272:7:0" } ], - "id": 2605, + "id": 2097, "name": "Mapping", - "src": "46916:28:1" + "src": "48252:28:0" } ], - "id": 2606, + "id": 2098, "name": "VariableDeclaration", - "src": "46916:52:1" + "src": "48252:52:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_operatorApprovals", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(address => mapping(address => bool))", @@ -64973,9 +64973,9 @@ "name": "address", "type": "address" }, - "id": 2607, + "id": 2099, "name": "ElementaryTypeName", - "src": "47032:7:1" + "src": "48371:7:0" }, { "attributes": { @@ -64987,40 +64987,40 @@ "name": "address", "type": "address" }, - "id": 2608, + "id": 2100, "name": "ElementaryTypeName", - "src": "47052:7:1" + "src": "48391:7:0" }, { "attributes": { "name": "bool", "type": "bool" }, - "id": 2609, + "id": 2101, "name": "ElementaryTypeName", - "src": "47063:4:1" + "src": "48402:4:0" } ], - "id": 2610, + "id": 2102, "name": "Mapping", - "src": "47043:25:1" + "src": "48382:25:0" } ], - "id": 2611, + "id": 2103, "name": "Mapping", - "src": "47023:46:1" + "src": "48362:46:0" } ], - "id": 2612, + "id": 2104, "name": "VariableDeclaration", - "src": "47023:73:1" + "src": "48362:73:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_name", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65032,21 +65032,21 @@ "name": "string", "type": "string" }, - "id": 2613, + "id": 2105, "name": "ElementaryTypeName", - "src": "47121:6:1" + "src": "48463:6:0" } ], - "id": 2614, + "id": 2106, "name": "VariableDeclaration", - "src": "47121:20:1" + "src": "48463:20:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_symbol", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65058,21 +65058,21 @@ "name": "string", "type": "string" }, - "id": 2615, + "id": 2107, "name": "ElementaryTypeName", - "src": "47168:6:1" + "src": "48513:6:0" } ], - "id": 2616, + "id": 2108, "name": "VariableDeclaration", - "src": "47168:22:1" + "src": "48513:22:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURIs", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "mapping(uint256 => string)", @@ -65089,35 +65089,35 @@ "name": "uint256", "type": "uint256" }, - "id": 2617, + "id": 2109, "name": "ElementaryTypeName", - "src": "47245:7:1" + "src": "48593:7:0" }, { "attributes": { "name": "string", "type": "string" }, - "id": 2618, + "id": 2110, "name": "ElementaryTypeName", - "src": "47256:6:1" + "src": "48604:6:0" } ], - "id": 2619, + "id": 2111, "name": "Mapping", - "src": "47236:27:1" + "src": "48584:27:0" } ], - "id": 2620, + "id": 2112, "name": "VariableDeclaration", - "src": "47236:46:1" + "src": "48584:46:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_baseURI", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "string", @@ -65129,21 +65129,21 @@ "name": "string", "type": "string" }, - "id": 2621, + "id": 2113, "name": "ElementaryTypeName", - "src": "47305:6:1" + "src": "48656:6:0" } ], - "id": 2622, + "id": 2114, "name": "VariableDeclaration", - "src": "47305:23:1" + "src": "48656:23:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65155,9 +65155,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2623, + "id": 2115, "name": "ElementaryTypeName", - "src": "48204:6:1" + "src": "49571:6:0" }, { "attributes": { @@ -65170,21 +65170,21 @@ "type": "int_const 2158778573", "value": "0x80ac58cd" }, - "id": 2624, + "id": 2116, "name": "Literal", - "src": "48251:10:1" + "src": "49618:10:0" } ], - "id": 2625, + "id": 2117, "name": "VariableDeclaration", - "src": "48204:57:1" + "src": "49571:57:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_METADATA", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65196,9 +65196,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2626, + "id": 2118, "name": "ElementaryTypeName", - "src": "48527:6:1" + "src": "49903:6:0" }, { "attributes": { @@ -65211,21 +65211,21 @@ "type": "int_const 1532892063", "value": "0x5b5e139f" }, - "id": 2627, + "id": 2119, "name": "Literal", - "src": "48583:10:1" + "src": "49959:10:0" } ], - "id": 2628, + "id": 2120, "name": "VariableDeclaration", - "src": "48527:66:1" + "src": "49903:66:0" }, { "attributes": { "constant": true, "mutability": "constant", "name": "_INTERFACE_ID_ERC721_ENUMERABLE", - "scope": 3498, + "scope": 2990, "stateVariable": true, "storageLocation": "default", "type": "bytes4", @@ -65237,9 +65237,9 @@ "name": "bytes4", "type": "bytes4" }, - "id": 2629, + "id": 2121, "name": "ElementaryTypeName", - "src": "48898:6:1" + "src": "50283:6:0" }, { "attributes": { @@ -65252,14 +65252,14 @@ "type": "int_const 2014223715", "value": "0x780e9d63" }, - "id": 2630, + "id": 2122, "name": "Literal", - "src": "48956:10:1" + "src": "50341:10:0" } ], - "id": 2631, + "id": 2123, "name": "VariableDeclaration", - "src": "48898:68:1" + "src": "50283:68:0" }, { "attributes": { @@ -65270,7 +65270,7 @@ null ], "name": "", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "public" @@ -65280,9 +65280,9 @@ "attributes": { "text": " @dev Initializes the contract by setting a `name` and a `symbol` to the token collection." }, - "id": 2632, + "id": 2124, "name": "StructuredDocumentation", - "src": "48973:108:1" + "src": "50360:110:0" }, { "children": [ @@ -65291,7 +65291,7 @@ "constant": false, "mutability": "mutable", "name": "name_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65303,21 +65303,21 @@ "name": "string", "type": "string" }, - "id": 2633, + "id": 2125, "name": "ElementaryTypeName", - "src": "49099:6:1" + "src": "50489:6:0" } ], - "id": 2634, + "id": 2126, "name": "VariableDeclaration", - "src": "49099:19:1" + "src": "50489:19:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "symbol_", - "scope": 2660, + "scope": 2152, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -65329,19 +65329,19 @@ "name": "string", "type": "string" }, - "id": 2635, + "id": 2127, "name": "ElementaryTypeName", - "src": "49120:6:1" + "src": "50510:6:0" } ], - "id": 2636, + "id": 2128, "name": "VariableDeclaration", - "src": "49120:21:1" + "src": "50510:21:0" } ], - "id": 2637, + "id": 2129, "name": "ParameterList", - "src": "49098:44:1" + "src": "50488:44:0" }, { "attributes": { @@ -65350,9 +65350,9 @@ ] }, "children": [], - "id": 2638, + "id": 2130, "name": "ParameterList", - "src": "49143:0:1" + "src": "50533:0:0" }, { "children": [ @@ -65373,36 +65373,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2639, + "id": 2131, "name": "Identifier", - "src": "49153:5:1" + "src": "50544:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2634, + "referencedDeclaration": 2126, "type": "string memory", "value": "name_" }, - "id": 2640, + "id": 2132, "name": "Identifier", - "src": "49161:5:1" + "src": "50552:5:0" } ], - "id": 2641, + "id": 2133, "name": "Assignment", - "src": "49153:13:1" + "src": "50544:13:0" } ], - "id": 2642, + "id": 2134, "name": "ExpressionStatement", - "src": "49153:13:1" + "src": "50544:13:0" }, { "children": [ @@ -65421,36 +65421,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2643, + "id": 2135, "name": "Identifier", - "src": "49176:7:1" + "src": "50568:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2636, + "referencedDeclaration": 2128, "type": "string memory", "value": "symbol_" }, - "id": 2644, + "id": 2136, "name": "Identifier", - "src": "49186:7:1" + "src": "50578:7:0" } ], - "id": 2645, + "id": 2137, "name": "Assignment", - "src": "49176:17:1" + "src": "50568:17:0" } ], - "id": 2646, + "id": 2138, "name": "ExpressionStatement", - "src": "49176:17:1" + "src": "50568:17:0" }, { "children": [ @@ -65480,36 +65480,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2647, + "id": 2139, "name": "Identifier", - "src": "49281:18:1" + "src": "50676:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2625, + "referencedDeclaration": 2117, "type": "bytes4", "value": "_INTERFACE_ID_ERC721" }, - "id": 2648, + "id": 2140, "name": "Identifier", - "src": "49300:20:1" + "src": "50695:20:0" } ], - "id": 2649, + "id": 2141, "name": "FunctionCall", - "src": "49281:40:1" + "src": "50676:40:0" } ], - "id": 2650, + "id": 2142, "name": "ExpressionStatement", - "src": "49281:40:1" + "src": "50676:40:0" }, { "children": [ @@ -65539,36 +65539,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2651, + "id": 2143, "name": "Identifier", - "src": "49331:18:1" + "src": "50727:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2628, + "referencedDeclaration": 2120, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_METADATA" }, - "id": 2652, + "id": 2144, "name": "Identifier", - "src": "49350:29:1" + "src": "50746:29:0" } ], - "id": 2653, + "id": 2145, "name": "FunctionCall", - "src": "49331:49:1" + "src": "50727:49:0" } ], - "id": 2654, + "id": 2146, "name": "ExpressionStatement", - "src": "49331:49:1" + "src": "50727:49:0" }, { "children": [ @@ -65598,51 +65598,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 780, + "referencedDeclaration": 272, "type": "function (bytes4)", "value": "_registerInterface" }, - "id": 2655, + "id": 2147, "name": "Identifier", - "src": "49390:18:1" + "src": "50787:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2631, + "referencedDeclaration": 2123, "type": "bytes4", "value": "_INTERFACE_ID_ERC721_ENUMERABLE" }, - "id": 2656, + "id": 2148, "name": "Identifier", - "src": "49409:31:1" + "src": "50806:31:0" } ], - "id": 2657, + "id": 2149, "name": "FunctionCall", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2658, + "id": 2150, "name": "ExpressionStatement", - "src": "49390:51:1" + "src": "50787:51:0" } ], - "id": 2659, + "id": 2151, "name": "Block", - "src": "49143:305:1" + "src": "50533:313:0" } ], - "id": 2660, + "id": 2152, "name": "FunctionDefinition", - "src": "49086:362:1" + "src": "50476:370:0" }, { "attributes": { "baseFunctions": [ - 580 + 72 ], "functionSelector": "70a08231", "implemented": true, @@ -65652,7 +65652,7 @@ null ], "name": "balanceOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -65662,9 +65662,9 @@ "attributes": { "text": " @dev See {IERC721-balanceOf}." }, - "id": 2661, + "id": 2153, "name": "StructuredDocumentation", - "src": "49454:48:1" + "src": "50854:50:0" }, { "attributes": { @@ -65672,9 +65672,9 @@ null ] }, - "id": 2665, + "id": 2157, "name": "OverrideSpecifier", - "src": "49561:8:1" + "src": "50964:8:0" }, { "children": [ @@ -65683,7 +65683,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -65696,19 +65696,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2662, + "id": 2154, "name": "ElementaryTypeName", - "src": "49526:7:1" + "src": "50929:7:0" } ], - "id": 2663, + "id": 2155, "name": "VariableDeclaration", - "src": "49526:13:1" + "src": "50929:13:0" } ], - "id": 2664, + "id": 2156, "name": "ParameterList", - "src": "49525:15:1" + "src": "50928:15:0" }, { "children": [ @@ -65717,7 +65717,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2686, + "scope": 2178, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -65729,19 +65729,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2666, + "id": 2158, "name": "ElementaryTypeName", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2667, + "id": 2159, "name": "VariableDeclaration", - "src": "49579:7:1" + "src": "50982:7:0" } ], - "id": 2668, + "id": 2160, "name": "ParameterList", - "src": "49578:9:1" + "src": "50981:9:0" }, { "children": [ @@ -65782,9 +65782,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2669, + "id": 2161, "name": "Identifier", - "src": "49598:7:1" + "src": "51002:7:0" }, { "attributes": { @@ -65805,13 +65805,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2670, + "id": 2162, "name": "Identifier", - "src": "49606:5:1" + "src": "51010:5:0" }, { "attributes": { @@ -65847,14 +65847,14 @@ "attributes": { "name": "address" }, - "id": 2671, + "id": 2163, "name": "ElementaryTypeName", - "src": "49615:7:1" + "src": "51019:7:0" } ], - "id": 2672, + "id": 2164, "name": "ElementaryTypeNameExpression", - "src": "49615:7:1" + "src": "51019:7:0" }, { "attributes": { @@ -65867,19 +65867,19 @@ "type": "int_const 0", "value": "0" }, - "id": 2673, + "id": 2165, "name": "Literal", - "src": "49623:1:1" + "src": "51027:1:0" } ], - "id": 2674, + "id": 2166, "name": "FunctionCall", - "src": "49615:10:1" + "src": "51019:10:0" } ], - "id": 2675, + "id": 2167, "name": "BinaryOperation", - "src": "49606:19:1" + "src": "51010:19:0" }, { "attributes": { @@ -65892,23 +65892,23 @@ "type": "literal_string \"ERC721: balance query for the zero address\"", "value": "ERC721: balance query for the zero address" }, - "id": 2676, + "id": 2168, "name": "Literal", - "src": "49627:44:1" + "src": "51031:44:0" } ], - "id": 2677, + "id": 2169, "name": "FunctionCall", - "src": "49598:74:1" + "src": "51002:74:0" } ], - "id": 2678, + "id": 2170, "name": "ExpressionStatement", - "src": "49598:74:1" + "src": "51002:74:0" }, { "attributes": { - "functionReturnParameters": 2668 + "functionReturnParameters": 2160 }, "children": [ { @@ -65939,7 +65939,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 1900, + "referencedDeclaration": 1392, "type": "function (struct EnumerableSet.UintSet storage pointer) view returns (uint256)" }, "children": [ @@ -65957,61 +65957,61 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2679, + "id": 2171, "name": "Identifier", - "src": "49689:13:1" + "src": "51094:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2663, + "referencedDeclaration": 2155, "type": "address", "value": "owner" }, - "id": 2680, + "id": 2172, "name": "Identifier", - "src": "49703:5:1" + "src": "51108:5:0" } ], - "id": 2681, + "id": 2173, "name": "IndexAccess", - "src": "49689:20:1" + "src": "51094:20:0" } ], - "id": 2682, + "id": 2174, "name": "MemberAccess", - "src": "49689:27:1" + "src": "51094:27:0" } ], - "id": 2683, + "id": 2175, "name": "FunctionCall", - "src": "49689:29:1" + "src": "51094:29:0" } ], - "id": 2684, + "id": 2176, "name": "Return", - "src": "49682:36:1" + "src": "51087:36:0" } ], - "id": 2685, + "id": 2177, "name": "Block", - "src": "49588:137:1" + "src": "50991:140:0" } ], - "id": 2686, + "id": 2178, "name": "FunctionDefinition", - "src": "49507:218:1" + "src": "50910:221:0" }, { "attributes": { "baseFunctions": [ - 588 + 80 ], "functionSelector": "6352211e", "implemented": true, @@ -66021,7 +66021,7 @@ null ], "name": "ownerOf", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66031,9 +66031,9 @@ "attributes": { "text": " @dev See {IERC721-ownerOf}." }, - "id": 2687, + "id": 2179, "name": "StructuredDocumentation", - "src": "49731:46:1" + "src": "51139:48:0" }, { "attributes": { @@ -66041,9 +66041,9 @@ null ] }, - "id": 2691, + "id": 2183, "name": "OverrideSpecifier", - "src": "49836:8:1" + "src": "51247:8:0" }, { "children": [ @@ -66052,7 +66052,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66064,19 +66064,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2688, + "id": 2180, "name": "ElementaryTypeName", - "src": "49799:7:1" + "src": "51210:7:0" } ], - "id": 2689, + "id": 2181, "name": "VariableDeclaration", - "src": "49799:15:1" + "src": "51210:15:0" } ], - "id": 2690, + "id": 2182, "name": "ParameterList", - "src": "49798:17:1" + "src": "51209:17:0" }, { "children": [ @@ -66085,7 +66085,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2702, + "scope": 2194, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -66098,25 +66098,25 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2692, + "id": 2184, "name": "ElementaryTypeName", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2693, + "id": 2185, "name": "VariableDeclaration", - "src": "49854:7:1" + "src": "51265:7:0" } ], - "id": 2694, + "id": 2186, "name": "ParameterList", - "src": "49853:9:1" + "src": "51264:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2694 + "functionReturnParameters": 2186 }, "children": [ { @@ -66151,7 +66151,7 @@ "isPure": false, "lValueRequested": false, "member_name": "get", - "referencedDeclaration": 2479, + "referencedDeclaration": 1971, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,string memory) view returns (address)" }, "children": [ @@ -66160,31 +66160,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2695, + "id": 2187, "name": "Identifier", - "src": "49880:12:1" + "src": "51292:12:0" } ], - "id": 2696, + "id": 2188, "name": "MemberAccess", - "src": "49880:16:1" + "src": "51292:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2689, + "referencedDeclaration": 2181, "type": "uint256", "value": "tokenId" }, - "id": 2697, + "id": 2189, "name": "Identifier", - "src": "49897:7:1" + "src": "51309:7:0" }, { "attributes": { @@ -66197,34 +66197,34 @@ "type": "literal_string \"ERC721: owner query for nonexistent token\"", "value": "ERC721: owner query for nonexistent token" }, - "id": 2698, + "id": 2190, "name": "Literal", - "src": "49906:43:1" + "src": "51318:43:0" } ], - "id": 2699, + "id": 2191, "name": "FunctionCall", - "src": "49880:70:1" + "src": "51292:70:0" } ], - "id": 2700, + "id": 2192, "name": "Return", - "src": "49873:77:1" + "src": "51285:77:0" } ], - "id": 2701, + "id": 2193, "name": "Block", - "src": "49863:94:1" + "src": "51274:96:0" } ], - "id": 2702, + "id": 2194, "name": "FunctionDefinition", - "src": "49782:175:1" + "src": "51193:177:0" }, { "attributes": { "baseFunctions": [ - 665 + 157 ], "functionSelector": "06fdde03", "implemented": true, @@ -66234,7 +66234,7 @@ null ], "name": "name", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66244,9 +66244,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-name}." }, - "id": 2703, + "id": 2195, "name": "StructuredDocumentation", - "src": "49963:51:1" + "src": "51378:53:0" }, { "attributes": { @@ -66254,9 +66254,9 @@ null ] }, - "id": 2705, + "id": 2197, "name": "OverrideSpecifier", - "src": "50055:8:1" + "src": "51473:8:0" }, { "attributes": { @@ -66265,9 +66265,9 @@ ] }, "children": [], - "id": 2704, + "id": 2196, "name": "ParameterList", - "src": "50032:2:1" + "src": "51450:2:0" }, { "children": [ @@ -66276,7 +66276,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2712, + "scope": 2204, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66288,25 +66288,25 @@ "name": "string", "type": "string" }, - "id": 2706, + "id": 2198, "name": "ElementaryTypeName", - "src": "50073:6:1" + "src": "51491:6:0" } ], - "id": 2707, + "id": 2199, "name": "VariableDeclaration", - "src": "50073:13:1" + "src": "51491:13:0" } ], - "id": 2708, + "id": 2200, "name": "ParameterList", - "src": "50072:15:1" + "src": "51490:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2708 + "functionReturnParameters": 2200 }, "children": [ { @@ -66314,33 +66314,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2614, + "referencedDeclaration": 2106, "type": "string storage ref", "value": "_name" }, - "id": 2709, + "id": 2201, "name": "Identifier", - "src": "50105:5:1" + "src": "51524:5:0" } ], - "id": 2710, + "id": 2202, "name": "Return", - "src": "50098:12:1" + "src": "51517:12:0" } ], - "id": 2711, + "id": 2203, "name": "Block", - "src": "50088:29:1" + "src": "51506:31:0" } ], - "id": 2712, + "id": 2204, "name": "FunctionDefinition", - "src": "50019:98:1" + "src": "51437:100:0" }, { "attributes": { "baseFunctions": [ - 671 + 163 ], "functionSelector": "95d89b41", "implemented": true, @@ -66350,7 +66350,7 @@ null ], "name": "symbol", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66360,9 +66360,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-symbol}." }, - "id": 2713, + "id": 2205, "name": "StructuredDocumentation", - "src": "50123:53:1" + "src": "51545:55:0" }, { "attributes": { @@ -66370,9 +66370,9 @@ null ] }, - "id": 2715, + "id": 2207, "name": "OverrideSpecifier", - "src": "50219:8:1" + "src": "51644:8:0" }, { "attributes": { @@ -66381,9 +66381,9 @@ ] }, "children": [], - "id": 2714, + "id": 2206, "name": "ParameterList", - "src": "50196:2:1" + "src": "51621:2:0" }, { "children": [ @@ -66392,7 +66392,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2722, + "scope": 2214, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66404,25 +66404,25 @@ "name": "string", "type": "string" }, - "id": 2716, + "id": 2208, "name": "ElementaryTypeName", - "src": "50237:6:1" + "src": "51662:6:0" } ], - "id": 2717, + "id": 2209, "name": "VariableDeclaration", - "src": "50237:13:1" + "src": "51662:13:0" } ], - "id": 2718, + "id": 2210, "name": "ParameterList", - "src": "50236:15:1" + "src": "51661:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2718 + "functionReturnParameters": 2210 }, "children": [ { @@ -66430,33 +66430,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2616, + "referencedDeclaration": 2108, "type": "string storage ref", "value": "_symbol" }, - "id": 2719, + "id": 2211, "name": "Identifier", - "src": "50269:7:1" + "src": "51695:7:0" } ], - "id": 2720, + "id": 2212, "name": "Return", - "src": "50262:14:1" + "src": "51688:14:0" } ], - "id": 2721, + "id": 2213, "name": "Block", - "src": "50252:31:1" + "src": "51677:33:0" } ], - "id": 2722, + "id": 2214, "name": "FunctionDefinition", - "src": "50181:102:1" + "src": "51606:104:0" }, { "attributes": { "baseFunctions": [ - 679 + 171 ], "functionSelector": "c87b56dd", "implemented": true, @@ -66466,7 +66466,7 @@ null ], "name": "tokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -66476,9 +66476,9 @@ "attributes": { "text": " @dev See {IERC721Metadata-tokenURI}." }, - "id": 2723, + "id": 2215, "name": "StructuredDocumentation", - "src": "50289:55:1" + "src": "51718:57:0" }, { "attributes": { @@ -66486,9 +66486,9 @@ null ] }, - "id": 2727, + "id": 2219, "name": "OverrideSpecifier", - "src": "50404:8:1" + "src": "51836:8:0" }, { "children": [ @@ -66497,7 +66497,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -66509,19 +66509,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2724, + "id": 2216, "name": "ElementaryTypeName", - "src": "50367:7:1" + "src": "51799:7:0" } ], - "id": 2725, + "id": 2217, "name": "VariableDeclaration", - "src": "50367:15:1" + "src": "51799:15:0" } ], - "id": 2726, + "id": 2218, "name": "ParameterList", - "src": "50366:17:1" + "src": "51798:17:0" }, { "children": [ @@ -66530,7 +66530,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2790, + "scope": 2282, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66542,19 +66542,19 @@ "name": "string", "type": "string" }, - "id": 2728, + "id": 2220, "name": "ElementaryTypeName", - "src": "50422:6:1" + "src": "51854:6:0" } ], - "id": 2729, + "id": 2221, "name": "VariableDeclaration", - "src": "50422:13:1" + "src": "51854:13:0" } ], - "id": 2730, + "id": 2222, "name": "ParameterList", - "src": "50421:15:1" + "src": "51853:15:0" }, { "children": [ @@ -66595,9 +66595,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2731, + "id": 2223, "name": "Identifier", - "src": "50447:7:1" + "src": "51880:7:0" }, { "attributes": { @@ -66625,31 +66625,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2732, + "id": 2224, "name": "Identifier", - "src": "50455:7:1" + "src": "51888:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2733, + "id": 2225, "name": "Identifier", - "src": "50463:7:1" + "src": "51896:7:0" } ], - "id": 2734, + "id": 2226, "name": "FunctionCall", - "src": "50455:16:1" + "src": "51888:16:0" }, { "attributes": { @@ -66662,24 +66662,24 @@ "type": "literal_string \"ERC721Metadata: URI query for nonexistent token\"", "value": "ERC721Metadata: URI query for nonexistent token" }, - "id": 2735, + "id": 2227, "name": "Literal", - "src": "50473:49:1" + "src": "51906:49:0" } ], - "id": 2736, + "id": 2228, "name": "FunctionCall", - "src": "50447:76:1" + "src": "51880:76:0" } ], - "id": 2737, + "id": 2229, "name": "ExpressionStatement", - "src": "50447:76:1" + "src": "51880:76:0" }, { "attributes": { "assignments": [ - 2739 + 2231 ] }, "children": [ @@ -66688,7 +66688,7 @@ "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66700,14 +66700,14 @@ "name": "string", "type": "string" }, - "id": 2738, + "id": 2230, "name": "ElementaryTypeName", - "src": "50534:6:1" + "src": "51969:6:0" } ], - "id": 2739, + "id": 2231, "name": "VariableDeclaration", - "src": "50534:23:1" + "src": "51969:23:0" }, { "attributes": { @@ -66723,41 +66723,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 2740, + "id": 2232, "name": "Identifier", - "src": "50560:10:1" + "src": "51995:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2741, + "id": 2233, "name": "Identifier", - "src": "50571:7:1" + "src": "52006:7:0" } ], - "id": 2742, + "id": 2234, "name": "IndexAccess", - "src": "50560:19:1" + "src": "51995:19:0" } ], - "id": 2743, + "id": 2235, "name": "VariableDeclarationStatement", - "src": "50534:45:1" + "src": "51969:45:0" }, { "attributes": { "assignments": [ - 2745 + 2237 ] }, "children": [ @@ -66766,7 +66766,7 @@ "constant": false, "mutability": "mutable", "name": "base", - "scope": 2789, + "scope": 2281, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -66778,14 +66778,14 @@ "name": "string", "type": "string" }, - "id": 2744, + "id": 2236, "name": "ElementaryTypeName", - "src": "50589:6:1" + "src": "52025:6:0" } ], - "id": 2745, + "id": 2237, "name": "VariableDeclaration", - "src": "50589:18:1" + "src": "52025:18:0" }, { "attributes": { @@ -66813,23 +66813,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2799, + "referencedDeclaration": 2291, "type": "function () view returns (string memory)", "value": "baseURI" }, - "id": 2746, + "id": 2238, "name": "Identifier", - "src": "50610:7:1" + "src": "52046:7:0" } ], - "id": 2747, + "id": 2239, "name": "FunctionCall", - "src": "50610:9:1" + "src": "52046:9:0" } ], - "id": 2748, + "id": 2240, "name": "VariableDeclarationStatement", - "src": "50589:30:1" + "src": "52025:30:0" }, { "attributes": {}, @@ -66892,37 +66892,37 @@ "attributes": { "name": "bytes" }, - "id": 2749, + "id": 2241, "name": "ElementaryTypeName", - "src": "50692:5:1" + "src": "52131:5:0" } ], - "id": 2750, + "id": 2242, "name": "ElementaryTypeNameExpression", - "src": "50692:5:1" + "src": "52131:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2751, + "id": 2243, "name": "Identifier", - "src": "50698:4:1" + "src": "52137:4:0" } ], - "id": 2752, + "id": 2244, "name": "FunctionCall", - "src": "50692:11:1" + "src": "52131:11:0" } ], - "id": 2753, + "id": 2245, "name": "MemberAccess", - "src": "50692:18:1" + "src": "52131:18:0" }, { "attributes": { @@ -66935,20 +66935,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2754, + "id": 2246, "name": "Literal", - "src": "50714:1:1" + "src": "52153:1:0" } ], - "id": 2755, + "id": 2247, "name": "BinaryOperation", - "src": "50692:23:1" + "src": "52131:23:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -66956,28 +66956,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2756, + "id": 2248, "name": "Identifier", - "src": "50738:9:1" + "src": "52178:9:0" } ], - "id": 2757, + "id": 2249, "name": "Return", - "src": "50731:16:1" + "src": "52171:16:0" } ], - "id": 2758, + "id": 2250, "name": "Block", - "src": "50717:41:1" + "src": "52156:43:0" } ], - "id": 2759, + "id": 2251, "name": "IfStatement", - "src": "50688:70:1" + "src": "52127:72:0" }, { "attributes": {}, @@ -67040,37 +67040,37 @@ "attributes": { "name": "bytes" }, - "id": 2760, + "id": 2252, "name": "ElementaryTypeName", - "src": "50860:5:1" + "src": "52303:5:0" } ], - "id": 2761, + "id": 2253, "name": "ElementaryTypeNameExpression", - "src": "50860:5:1" + "src": "52303:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2762, + "id": 2254, "name": "Identifier", - "src": "50866:9:1" + "src": "52309:9:0" } ], - "id": 2763, + "id": 2255, "name": "FunctionCall", - "src": "50860:16:1" + "src": "52303:16:0" } ], - "id": 2764, + "id": 2256, "name": "MemberAccess", - "src": "50860:23:1" + "src": "52303:23:0" }, { "attributes": { @@ -67083,20 +67083,20 @@ "type": "int_const 0", "value": "0" }, - "id": 2765, + "id": 2257, "name": "Literal", - "src": "50886:1:1" + "src": "52329:1:0" } ], - "id": 2766, + "id": 2258, "name": "BinaryOperation", - "src": "50860:27:1" + "src": "52303:27:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67133,14 +67133,14 @@ "attributes": { "name": "string" }, - "id": 2767, + "id": 2259, "name": "ElementaryTypeName", - "src": "50910:6:1" + "src": "52354:6:0" } ], - "id": 2768, + "id": 2260, "name": "ElementaryTypeNameExpression", - "src": "50910:6:1" + "src": "52354:6:0" }, { "attributes": { @@ -67186,69 +67186,69 @@ "type": "abi", "value": "abi" }, - "id": 2769, + "id": 2261, "name": "Identifier", - "src": "50917:3:1" + "src": "52361:3:0" } ], - "id": 2770, + "id": 2262, "name": "MemberAccess", - "src": "50917:16:1" + "src": "52361:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2771, + "id": 2263, "name": "Identifier", - "src": "50934:4:1" + "src": "52378:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2739, + "referencedDeclaration": 2231, "type": "string memory", "value": "_tokenURI" }, - "id": 2772, + "id": 2264, "name": "Identifier", - "src": "50940:9:1" + "src": "52384:9:0" } ], - "id": 2773, + "id": 2265, "name": "FunctionCall", - "src": "50917:33:1" + "src": "52361:33:0" } ], - "id": 2774, + "id": 2266, "name": "FunctionCall", - "src": "50910:41:1" + "src": "52354:41:0" } ], - "id": 2775, + "id": 2267, "name": "Return", - "src": "50903:48:1" + "src": "52347:48:0" } ], - "id": 2776, + "id": 2268, "name": "Block", - "src": "50889:73:1" + "src": "52332:75:0" } ], - "id": 2777, + "id": 2269, "name": "IfStatement", - "src": "50856:106:1" + "src": "52299:108:0" }, { "attributes": { - "functionReturnParameters": 2730 + "functionReturnParameters": 2222 }, "children": [ { @@ -67285,14 +67285,14 @@ "attributes": { "name": "string" }, - "id": 2778, + "id": 2270, "name": "ElementaryTypeName", - "src": "51068:6:1" + "src": "52515:6:0" } ], - "id": 2779, + "id": 2271, "name": "ElementaryTypeNameExpression", - "src": "51068:6:1" + "src": "52515:6:0" }, { "attributes": { @@ -67338,27 +67338,27 @@ "type": "abi", "value": "abi" }, - "id": 2780, + "id": 2272, "name": "Identifier", - "src": "51075:3:1" + "src": "52522:3:0" } ], - "id": 2781, + "id": 2273, "name": "MemberAccess", - "src": "51075:16:1" + "src": "52522:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2745, + "referencedDeclaration": 2237, "type": "string memory", "value": "base" }, - "id": 2782, + "id": 2274, "name": "Identifier", - "src": "51092:4:1" + "src": "52539:4:0" }, { "attributes": { @@ -67388,7 +67388,7 @@ "isPure": false, "lValueRequested": false, "member_name": "toString", - "referencedDeclaration": 2565, + "referencedDeclaration": 2057, "type": "function (uint256) pure returns (string memory)" }, "children": [ @@ -67397,48 +67397,48 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2725, + "referencedDeclaration": 2217, "type": "uint256", "value": "tokenId" }, - "id": 2783, + "id": 2275, "name": "Identifier", - "src": "51098:7:1" + "src": "52545:7:0" } ], - "id": 2784, + "id": 2276, "name": "MemberAccess", - "src": "51098:16:1" + "src": "52545:16:0" } ], - "id": 2785, + "id": 2277, "name": "FunctionCall", - "src": "51098:18:1" + "src": "52545:18:0" } ], - "id": 2786, + "id": 2278, "name": "FunctionCall", - "src": "51075:42:1" + "src": "52522:42:0" } ], - "id": 2787, + "id": 2279, "name": "FunctionCall", - "src": "51068:50:1" + "src": "52515:50:0" } ], - "id": 2788, + "id": 2280, "name": "Return", - "src": "51061:57:1" + "src": "52508:57:0" } ], - "id": 2789, + "id": 2281, "name": "Block", - "src": "50437:688:1" + "src": "51869:704:0" } ], - "id": 2790, + "id": 2282, "name": "FunctionDefinition", - "src": "50349:776:1" + "src": "51781:792:0" }, { "attributes": { @@ -67450,7 +67450,7 @@ null ], "name": "baseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67460,9 +67460,9 @@ "attributes": { "text": " @dev Returns the base URI set via {_setBaseURI}. This will be\n automatically added as a prefix in {tokenURI} to each token's URI, or\n to the token ID if no specific URI is set for that token ID." }, - "id": 2791, + "id": 2283, "name": "StructuredDocumentation", - "src": "51131:221:1" + "src": "52581:225:0" }, { "attributes": { @@ -67471,9 +67471,9 @@ ] }, "children": [], - "id": 2792, + "id": 2284, "name": "ParameterList", - "src": "51373:2:1" + "src": "52828:2:0" }, { "children": [ @@ -67482,7 +67482,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2799, + "scope": 2291, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -67494,25 +67494,25 @@ "name": "string", "type": "string" }, - "id": 2793, + "id": 2285, "name": "ElementaryTypeName", - "src": "51405:6:1" + "src": "52860:6:0" } ], - "id": 2794, + "id": 2286, "name": "VariableDeclaration", - "src": "51405:13:1" + "src": "52860:13:0" } ], - "id": 2795, + "id": 2287, "name": "ParameterList", - "src": "51404:15:1" + "src": "52859:15:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2795 + "functionReturnParameters": 2287 }, "children": [ { @@ -67520,33 +67520,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 2796, + "id": 2288, "name": "Identifier", - "src": "51437:8:1" + "src": "52893:8:0" } ], - "id": 2797, + "id": 2289, "name": "Return", - "src": "51430:15:1" + "src": "52886:15:0" } ], - "id": 2798, + "id": 2290, "name": "Block", - "src": "51420:32:1" + "src": "52875:34:0" } ], - "id": 2799, + "id": 2291, "name": "FunctionDefinition", - "src": "51357:95:1" + "src": "52812:97:0" }, { "attributes": { "baseFunctions": [ - 700 + 192 ], "functionSelector": "2f745c59", "implemented": true, @@ -67556,7 +67556,7 @@ null ], "name": "tokenOfOwnerByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67566,9 +67566,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenOfOwnerByIndex}." }, - "id": 2800, + "id": 2292, "name": "StructuredDocumentation", - "src": "51458:68:1" + "src": "52917:70:0" }, { "attributes": { @@ -67576,9 +67576,9 @@ null ] }, - "id": 2806, + "id": 2298, "name": "OverrideSpecifier", - "src": "51610:8:1" + "src": "53072:8:0" }, { "children": [ @@ -67587,7 +67587,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -67600,21 +67600,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2801, + "id": 2293, "name": "ElementaryTypeName", - "src": "51560:7:1" + "src": "53022:7:0" } ], - "id": 2802, + "id": 2294, "name": "VariableDeclaration", - "src": "51560:13:1" + "src": "53022:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "index", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67626,19 +67626,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2803, + "id": 2295, "name": "ElementaryTypeName", - "src": "51575:7:1" + "src": "53037:7:0" } ], - "id": 2804, + "id": 2296, "name": "VariableDeclaration", - "src": "51575:13:1" + "src": "53037:13:0" } ], - "id": 2805, + "id": 2297, "name": "ParameterList", - "src": "51559:30:1" + "src": "53021:30:0" }, { "children": [ @@ -67647,7 +67647,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2818, + "scope": 2310, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67659,25 +67659,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2807, + "id": 2299, "name": "ElementaryTypeName", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2808, + "id": 2300, "name": "VariableDeclaration", - "src": "51628:7:1" + "src": "53090:7:0" } ], - "id": 2809, + "id": 2301, "name": "ParameterList", - "src": "51627:9:1" + "src": "53089:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2809 + "functionReturnParameters": 2301 }, "children": [ { @@ -67708,7 +67708,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 1920, + "referencedDeclaration": 1412, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) view returns (uint256)" }, "children": [ @@ -67726,74 +67726,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 2810, + "id": 2302, "name": "Identifier", - "src": "51654:13:1" + "src": "53117:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2802, + "referencedDeclaration": 2294, "type": "address", "value": "owner" }, - "id": 2811, + "id": 2303, "name": "Identifier", - "src": "51668:5:1" + "src": "53131:5:0" } ], - "id": 2812, + "id": 2304, "name": "IndexAccess", - "src": "51654:20:1" + "src": "53117:20:0" } ], - "id": 2813, + "id": 2305, "name": "MemberAccess", - "src": "51654:23:1" + "src": "53117:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2804, + "referencedDeclaration": 2296, "type": "uint256", "value": "index" }, - "id": 2814, + "id": 2306, "name": "Identifier", - "src": "51678:5:1" + "src": "53141:5:0" } ], - "id": 2815, + "id": 2307, "name": "FunctionCall", - "src": "51654:30:1" + "src": "53117:30:0" } ], - "id": 2816, + "id": 2308, "name": "Return", - "src": "51647:37:1" + "src": "53110:37:0" } ], - "id": 2817, + "id": 2309, "name": "Block", - "src": "51637:54:1" + "src": "53099:56:0" } ], - "id": 2818, + "id": 2310, "name": "FunctionDefinition", - "src": "51531:160:1" + "src": "52993:162:0" }, { "attributes": { "baseFunctions": [ - 690 + 182 ], "functionSelector": "18160ddd", "implemented": true, @@ -67803,7 +67803,7 @@ null ], "name": "totalSupply", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67813,9 +67813,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-totalSupply}." }, - "id": 2819, + "id": 2311, "name": "StructuredDocumentation", - "src": "51697:60:1" + "src": "53163:62:0" }, { "attributes": { @@ -67823,9 +67823,9 @@ null ] }, - "id": 2821, + "id": 2313, "name": "OverrideSpecifier", - "src": "51805:8:1" + "src": "53274:8:0" }, { "attributes": { @@ -67834,9 +67834,9 @@ ] }, "children": [], - "id": 2820, + "id": 2312, "name": "ParameterList", - "src": "51782:2:1" + "src": "53251:2:0" }, { "children": [ @@ -67845,7 +67845,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2830, + "scope": 2322, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -67857,25 +67857,25 @@ "name": "uint256", "type": "uint256" }, - "id": 2822, + "id": 2314, "name": "ElementaryTypeName", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2823, + "id": 2315, "name": "VariableDeclaration", - "src": "51823:7:1" + "src": "53292:7:0" } ], - "id": 2824, + "id": 2316, "name": "ParameterList", - "src": "51822:9:1" + "src": "53291:9:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2824 + "functionReturnParameters": 2316 }, "children": [ { @@ -67906,7 +67906,7 @@ "isPure": false, "lValueRequested": false, "member_name": "length", - "referencedDeclaration": 2340, + "referencedDeclaration": 1832, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer) view returns (uint256)" }, "children": [ @@ -67915,43 +67915,43 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2825, + "id": 2317, "name": "Identifier", - "src": "51942:12:1" + "src": "53413:12:0" } ], - "id": 2826, + "id": 2318, "name": "MemberAccess", - "src": "51942:19:1" + "src": "53413:19:0" } ], - "id": 2827, + "id": 2319, "name": "FunctionCall", - "src": "51942:21:1" + "src": "53413:21:0" } ], - "id": 2828, + "id": 2320, "name": "Return", - "src": "51935:28:1" + "src": "53406:28:0" } ], - "id": 2829, + "id": 2321, "name": "Block", - "src": "51832:138:1" + "src": "53301:141:0" } ], - "id": 2830, + "id": 2322, "name": "FunctionDefinition", - "src": "51762:208:1" + "src": "53231:211:0" }, { "attributes": { "baseFunctions": [ - 708 + 200 ], "functionSelector": "4f6ccce7", "implemented": true, @@ -67961,7 +67961,7 @@ null ], "name": "tokenByIndex", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -67971,9 +67971,9 @@ "attributes": { "text": " @dev See {IERC721Enumerable-tokenByIndex}." }, - "id": 2831, + "id": 2323, "name": "StructuredDocumentation", - "src": "51976:61:1" + "src": "53450:63:0" }, { "attributes": { @@ -67981,9 +67981,9 @@ null ] }, - "id": 2835, + "id": 2327, "name": "OverrideSpecifier", - "src": "52099:8:1" + "src": "53576:8:0" }, { "children": [ @@ -67992,7 +67992,7 @@ "constant": false, "mutability": "mutable", "name": "index", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68004,19 +68004,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2832, + "id": 2324, "name": "ElementaryTypeName", - "src": "52064:7:1" + "src": "53541:7:0" } ], - "id": 2833, + "id": 2325, "name": "VariableDeclaration", - "src": "52064:13:1" + "src": "53541:13:0" } ], - "id": 2834, + "id": 2326, "name": "ParameterList", - "src": "52063:15:1" + "src": "53540:15:0" }, { "children": [ @@ -68025,7 +68025,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2849, + "scope": 2341, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68037,26 +68037,26 @@ "name": "uint256", "type": "uint256" }, - "id": 2836, + "id": 2328, "name": "ElementaryTypeName", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2837, + "id": 2329, "name": "VariableDeclaration", - "src": "52117:7:1" + "src": "53594:7:0" } ], - "id": 2838, + "id": 2330, "name": "ParameterList", - "src": "52116:9:1" + "src": "53593:9:0" }, { "children": [ { "attributes": { "assignments": [ - 2840, + 2332, null ] }, @@ -68066,7 +68066,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2848, + "scope": 2340, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68078,14 +68078,14 @@ "name": "uint256", "type": "uint256" }, - "id": 2839, + "id": 2331, "name": "ElementaryTypeName", - "src": "52137:7:1" + "src": "53615:7:0" } ], - "id": 2840, + "id": 2332, "name": "VariableDeclaration", - "src": "52137:15:1" + "src": "53615:15:0" }, { "attributes": { @@ -68115,7 +68115,7 @@ "isPure": false, "lValueRequested": false, "member_name": "at", - "referencedDeclaration": 2379, + "referencedDeclaration": 1871, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (uint256,address)" }, "children": [ @@ -68124,45 +68124,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 2841, + "id": 2333, "name": "Identifier", - "src": "52158:12:1" + "src": "53636:12:0" } ], - "id": 2842, + "id": 2334, "name": "MemberAccess", - "src": "52158:15:1" + "src": "53636:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2833, + "referencedDeclaration": 2325, "type": "uint256", "value": "index" }, - "id": 2843, + "id": 2335, "name": "Identifier", - "src": "52174:5:1" + "src": "53652:5:0" } ], - "id": 2844, + "id": 2336, "name": "FunctionCall", - "src": "52158:22:1" + "src": "53636:22:0" } ], - "id": 2845, + "id": 2337, "name": "VariableDeclarationStatement", - "src": "52136:44:1" + "src": "53614:44:0" }, { "attributes": { - "functionReturnParameters": 2838 + "functionReturnParameters": 2330 }, "children": [ { @@ -68170,33 +68170,33 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2840, + "referencedDeclaration": 2332, "type": "uint256", "value": "tokenId" }, - "id": 2846, + "id": 2338, "name": "Identifier", - "src": "52197:7:1" + "src": "53676:7:0" } ], - "id": 2847, + "id": 2339, "name": "Return", - "src": "52190:14:1" + "src": "53669:14:0" } ], - "id": 2848, + "id": 2340, "name": "Block", - "src": "52126:85:1" + "src": "53603:88:0" } ], - "id": 2849, + "id": 2341, "name": "FunctionDefinition", - "src": "52042:169:1" + "src": "53519:172:0" }, { "attributes": { "baseFunctions": [ - 616 + 108 ], "functionSelector": "095ea7b3", "implemented": true, @@ -68206,7 +68206,7 @@ null ], "name": "approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -68216,9 +68216,9 @@ "attributes": { "text": " @dev See {IERC721-approve}." }, - "id": 2850, + "id": 2342, "name": "StructuredDocumentation", - "src": "52217:46:1" + "src": "53699:48:0" }, { "attributes": { @@ -68226,9 +68226,9 @@ null ] }, - "id": 2856, + "id": 2348, "name": "OverrideSpecifier", - "src": "52329:8:1" + "src": "53814:8:0" }, { "children": [ @@ -68237,7 +68237,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68250,21 +68250,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2851, + "id": 2343, "name": "ElementaryTypeName", - "src": "52285:7:1" + "src": "53770:7:0" } ], - "id": 2852, + "id": 2344, "name": "VariableDeclaration", - "src": "52285:10:1" + "src": "53770:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2893, + "scope": 2385, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68276,19 +68276,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2853, + "id": 2345, "name": "ElementaryTypeName", - "src": "52297:7:1" + "src": "53782:7:0" } ], - "id": 2854, + "id": 2346, "name": "VariableDeclaration", - "src": "52297:15:1" + "src": "53782:15:0" } ], - "id": 2855, + "id": 2347, "name": "ParameterList", - "src": "52284:29:1" + "src": "53769:29:0" }, { "attributes": { @@ -68297,16 +68297,16 @@ ] }, "children": [], - "id": 2857, + "id": 2349, "name": "ParameterList", - "src": "52338:0:1" + "src": "53823:0:0" }, { "children": [ { "attributes": { "assignments": [ - 2859 + 2351 ] }, "children": [ @@ -68315,7 +68315,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2892, + "scope": 2384, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68328,14 +68328,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2858, + "id": 2350, "name": "ElementaryTypeName", - "src": "52348:7:1" + "src": "53834:7:0" } ], - "id": 2859, + "id": 2351, "name": "VariableDeclaration", - "src": "52348:13:1" + "src": "53834:13:0" }, { "attributes": { @@ -68365,7 +68365,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -68374,41 +68374,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2860, + "id": 2352, "name": "Identifier", - "src": "52364:6:1" + "src": "53850:6:0" } ], - "id": 2861, + "id": 2353, "name": "MemberAccess", - "src": "52364:14:1" + "src": "53850:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2862, + "id": 2354, "name": "Identifier", - "src": "52379:7:1" + "src": "53865:7:0" } ], - "id": 2863, + "id": 2355, "name": "FunctionCall", - "src": "52364:23:1" + "src": "53850:23:0" } ], - "id": 2864, + "id": 2356, "name": "VariableDeclarationStatement", - "src": "52348:39:1" + "src": "53834:39:0" }, { "children": [ @@ -68447,9 +68447,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2865, + "id": 2357, "name": "Identifier", - "src": "52397:7:1" + "src": "53884:7:0" }, { "attributes": { @@ -68470,31 +68470,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2866, + "id": 2358, "name": "Identifier", - "src": "52405:2:1" + "src": "53892:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2867, + "id": 2359, "name": "Identifier", - "src": "52411:5:1" + "src": "53898:5:0" } ], - "id": 2868, + "id": 2360, "name": "BinaryOperation", - "src": "52405:11:1" + "src": "53892:11:0" }, { "attributes": { @@ -68507,19 +68507,19 @@ "type": "literal_string \"ERC721: approval to current owner\"", "value": "ERC721: approval to current owner" }, - "id": 2869, + "id": 2361, "name": "Literal", - "src": "52418:35:1" + "src": "53905:35:0" } ], - "id": 2870, + "id": 2362, "name": "FunctionCall", - "src": "52397:57:1" + "src": "53884:57:0" } ], - "id": 2871, + "id": 2363, "name": "ExpressionStatement", - "src": "52397:57:1" + "src": "53884:57:0" }, { "children": [ @@ -68558,9 +68558,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2872, + "id": 2364, "name": "Identifier", - "src": "52465:7:1" + "src": "53954:7:0" }, { "attributes": { @@ -68616,36 +68616,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2873, + "id": 2365, "name": "Identifier", - "src": "52473:10:1" + "src": "53962:10:0" } ], - "id": 2874, + "id": 2366, "name": "FunctionCall", - "src": "52473:12:1" + "src": "53962:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2875, + "id": 2367, "name": "Identifier", - "src": "52489:5:1" + "src": "53978:5:0" } ], - "id": 2876, + "id": 2368, "name": "BinaryOperation", - "src": "52473:21:1" + "src": "53962:21:0" }, { "attributes": { @@ -68679,7 +68679,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -68688,31 +68688,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 2877, + "id": 2369, "name": "Identifier", - "src": "52498:6:1" + "src": "53987:6:0" } ], - "id": 2878, + "id": 2370, "name": "MemberAccess", - "src": "52498:23:1" + "src": "53987:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2859, + "referencedDeclaration": 2351, "type": "address", "value": "owner" }, - "id": 2879, + "id": 2371, "name": "Identifier", - "src": "52522:5:1" + "src": "54011:5:0" }, { "attributes": { @@ -68740,28 +68740,28 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2880, + "id": 2372, "name": "Identifier", - "src": "52529:10:1" + "src": "54018:10:0" } ], - "id": 2881, + "id": 2373, "name": "FunctionCall", - "src": "52529:12:1" + "src": "54018:12:0" } ], - "id": 2882, + "id": 2374, "name": "FunctionCall", - "src": "52498:44:1" + "src": "53987:44:0" } ], - "id": 2883, + "id": 2375, "name": "BinaryOperation", - "src": "52473:69:1" + "src": "53962:69:0" }, { "attributes": { @@ -68774,19 +68774,19 @@ "type": "literal_string \"ERC721: approve caller is not owner nor approved for all\"", "value": "ERC721: approve caller is not owner nor approved for all" }, - "id": 2884, + "id": 2376, "name": "Literal", - "src": "52556:58:1" + "src": "54046:58:0" } ], - "id": 2885, + "id": 2377, "name": "FunctionCall", - "src": "52465:159:1" + "src": "53954:161:0" } ], - "id": 2886, + "id": 2378, "name": "ExpressionStatement", - "src": "52465:159:1" + "src": "53954:161:0" }, { "children": [ @@ -68820,64 +68820,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 2887, + "id": 2379, "name": "Identifier", - "src": "52635:8:1" + "src": "54128:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2852, + "referencedDeclaration": 2344, "type": "address", "value": "to" }, - "id": 2888, + "id": 2380, "name": "Identifier", - "src": "52644:2:1" + "src": "54137:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2854, + "referencedDeclaration": 2346, "type": "uint256", "value": "tokenId" }, - "id": 2889, + "id": 2381, "name": "Identifier", - "src": "52648:7:1" + "src": "54141:7:0" } ], - "id": 2890, + "id": 2382, "name": "FunctionCall", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2891, + "id": 2383, "name": "ExpressionStatement", - "src": "52635:21:1" + "src": "54128:21:0" } ], - "id": 2892, + "id": 2384, "name": "Block", - "src": "52338:325:1" + "src": "53823:334:0" } ], - "id": 2893, + "id": 2385, "name": "FunctionDefinition", - "src": "52268:395:1" + "src": "53753:404:0" }, { "attributes": { "baseFunctions": [ - 624 + 116 ], "functionSelector": "081812fc", "implemented": true, @@ -68887,7 +68887,7 @@ null ], "name": "getApproved", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -68897,9 +68897,9 @@ "attributes": { "text": " @dev See {IERC721-getApproved}." }, - "id": 2894, + "id": 2386, "name": "StructuredDocumentation", - "src": "52669:50:1" + "src": "54165:52:0" }, { "attributes": { @@ -68907,9 +68907,9 @@ null ] }, - "id": 2898, + "id": 2390, "name": "OverrideSpecifier", - "src": "52782:8:1" + "src": "54281:8:0" }, { "children": [ @@ -68918,7 +68918,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -68930,19 +68930,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2895, + "id": 2387, "name": "ElementaryTypeName", - "src": "52745:7:1" + "src": "54244:7:0" } ], - "id": 2896, + "id": 2388, "name": "VariableDeclaration", - "src": "52745:15:1" + "src": "54244:15:0" } ], - "id": 2897, + "id": 2389, "name": "ParameterList", - "src": "52744:17:1" + "src": "54243:17:0" }, { "children": [ @@ -68951,7 +68951,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2914, + "scope": 2406, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -68964,19 +68964,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2899, + "id": 2391, "name": "ElementaryTypeName", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2900, + "id": 2392, "name": "VariableDeclaration", - "src": "52800:7:1" + "src": "54299:7:0" } ], - "id": 2901, + "id": 2393, "name": "ParameterList", - "src": "52799:9:1" + "src": "54298:9:0" }, { "children": [ @@ -69017,9 +69017,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2902, + "id": 2394, "name": "Identifier", - "src": "52819:7:1" + "src": "54319:7:0" }, { "attributes": { @@ -69047,31 +69047,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 2903, + "id": 2395, "name": "Identifier", - "src": "52827:7:1" + "src": "54327:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2904, + "id": 2396, "name": "Identifier", - "src": "52835:7:1" + "src": "54335:7:0" } ], - "id": 2905, + "id": 2397, "name": "FunctionCall", - "src": "52827:16:1" + "src": "54327:16:0" }, { "attributes": { @@ -69084,23 +69084,23 @@ "type": "literal_string \"ERC721: approved query for nonexistent token\"", "value": "ERC721: approved query for nonexistent token" }, - "id": 2906, + "id": 2398, "name": "Literal", - "src": "52845:46:1" + "src": "54345:46:0" } ], - "id": 2907, + "id": 2399, "name": "FunctionCall", - "src": "52819:73:1" + "src": "54319:73:0" } ], - "id": 2908, + "id": 2400, "name": "ExpressionStatement", - "src": "52819:73:1" + "src": "54319:73:0" }, { "attributes": { - "functionReturnParameters": 2901 + "functionReturnParameters": 2393 }, "children": [ { @@ -69117,51 +69117,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 2909, + "id": 2401, "name": "Identifier", - "src": "52910:15:1" + "src": "54412:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2896, + "referencedDeclaration": 2388, "type": "uint256", "value": "tokenId" }, - "id": 2910, + "id": 2402, "name": "Identifier", - "src": "52926:7:1" + "src": "54428:7:0" } ], - "id": 2911, + "id": 2403, "name": "IndexAccess", - "src": "52910:24:1" + "src": "54412:24:0" } ], - "id": 2912, + "id": 2404, "name": "Return", - "src": "52903:31:1" + "src": "54405:31:0" } ], - "id": 2913, + "id": 2405, "name": "Block", - "src": "52809:132:1" + "src": "54308:136:0" } ], - "id": 2914, + "id": 2406, "name": "FunctionDefinition", - "src": "52724:217:1" + "src": "54223:221:0" }, { "attributes": { "baseFunctions": [ - 632 + 124 ], "functionSelector": "a22cb465", "implemented": true, @@ -69171,7 +69171,7 @@ null ], "name": "setApprovalForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69181,9 +69181,9 @@ "attributes": { "text": " @dev See {IERC721-setApprovalForAll}." }, - "id": 2915, + "id": 2407, "name": "StructuredDocumentation", - "src": "52947:56:1" + "src": "54452:58:0" }, { "attributes": { @@ -69191,9 +69191,9 @@ null ] }, - "id": 2921, + "id": 2413, "name": "OverrideSpecifier", - "src": "53083:8:1" + "src": "54591:8:0" }, { "children": [ @@ -69202,7 +69202,7 @@ "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69215,21 +69215,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2916, + "id": 2408, "name": "ElementaryTypeName", - "src": "53035:7:1" + "src": "54543:7:0" } ], - "id": 2917, + "id": 2409, "name": "VariableDeclaration", - "src": "53035:16:1" + "src": "54543:16:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "approved", - "scope": 2948, + "scope": 2440, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69241,19 +69241,19 @@ "name": "bool", "type": "bool" }, - "id": 2918, + "id": 2410, "name": "ElementaryTypeName", - "src": "53053:4:1" + "src": "54561:4:0" } ], - "id": 2919, + "id": 2411, "name": "VariableDeclaration", - "src": "53053:13:1" + "src": "54561:13:0" } ], - "id": 2920, + "id": 2412, "name": "ParameterList", - "src": "53034:33:1" + "src": "54542:33:0" }, { "attributes": { @@ -69262,9 +69262,9 @@ ] }, "children": [], - "id": 2922, + "id": 2414, "name": "ParameterList", - "src": "53092:0:1" + "src": "54600:0:0" }, { "children": [ @@ -69305,9 +69305,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2923, + "id": 2415, "name": "Identifier", - "src": "53102:7:1" + "src": "54611:7:0" }, { "attributes": { @@ -69328,13 +69328,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2924, + "id": 2416, "name": "Identifier", - "src": "53110:8:1" + "src": "54619:8:0" }, { "attributes": { @@ -69362,23 +69362,23 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2925, + "id": 2417, "name": "Identifier", - "src": "53122:10:1" + "src": "54631:10:0" } ], - "id": 2926, + "id": 2418, "name": "FunctionCall", - "src": "53122:12:1" + "src": "54631:12:0" } ], - "id": 2927, + "id": 2419, "name": "BinaryOperation", - "src": "53110:24:1" + "src": "54619:24:0" }, { "attributes": { @@ -69391,19 +69391,19 @@ "type": "literal_string \"ERC721: approve to caller\"", "value": "ERC721: approve to caller" }, - "id": 2928, + "id": 2420, "name": "Literal", - "src": "53136:27:1" + "src": "54645:27:0" } ], - "id": 2929, + "id": 2421, "name": "FunctionCall", - "src": "53102:62:1" + "src": "54611:62:0" } ], - "id": 2930, + "id": 2422, "name": "ExpressionStatement", - "src": "53102:62:1" + "src": "54611:62:0" }, { "children": [ @@ -69440,13 +69440,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2931, + "id": 2423, "name": "Identifier", - "src": "53175:18:1" + "src": "54686:18:0" }, { "attributes": { @@ -69474,64 +69474,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2932, + "id": 2424, "name": "Identifier", - "src": "53194:10:1" + "src": "54705:10:0" } ], - "id": 2933, + "id": 2425, "name": "FunctionCall", - "src": "53194:12:1" + "src": "54705:12:0" } ], - "id": 2935, + "id": 2427, "name": "IndexAccess", - "src": "53175:32:1" + "src": "54686:32:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2934, + "id": 2426, "name": "Identifier", - "src": "53208:8:1" + "src": "54719:8:0" } ], - "id": 2936, + "id": 2428, "name": "IndexAccess", - "src": "53175:42:1" + "src": "54686:42:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2937, + "id": 2429, "name": "Identifier", - "src": "53220:8:1" + "src": "54731:8:0" } ], - "id": 2938, + "id": 2430, "name": "Assignment", - "src": "53175:53:1" + "src": "54686:53:0" } ], - "id": 2939, + "id": 2431, "name": "ExpressionStatement", - "src": "53175:53:1" + "src": "54686:53:0" }, { "children": [ @@ -69569,13 +69569,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 572, + "referencedDeclaration": 64, "type": "function (address,address,bool)", "value": "ApprovalForAll" }, - "id": 2940, + "id": 2432, "name": "Identifier", - "src": "53243:14:1" + "src": "54755:14:0" }, { "attributes": { @@ -69603,69 +69603,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2941, + "id": 2433, "name": "Identifier", - "src": "53258:10:1" + "src": "54770:10:0" } ], - "id": 2942, + "id": 2434, "name": "FunctionCall", - "src": "53258:12:1" + "src": "54770:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2917, + "referencedDeclaration": 2409, "type": "address", "value": "operator" }, - "id": 2943, + "id": 2435, "name": "Identifier", - "src": "53272:8:1" + "src": "54784:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2919, + "referencedDeclaration": 2411, "type": "bool", "value": "approved" }, - "id": 2944, + "id": 2436, "name": "Identifier", - "src": "53282:8:1" + "src": "54794:8:0" } ], - "id": 2945, + "id": 2437, "name": "FunctionCall", - "src": "53243:48:1" + "src": "54755:48:0" } ], - "id": 2946, + "id": 2438, "name": "EmitStatement", - "src": "53238:53:1" + "src": "54750:53:0" } ], - "id": 2947, + "id": 2439, "name": "Block", - "src": "53092:206:1" + "src": "54600:211:0" } ], - "id": 2948, + "id": 2440, "name": "FunctionDefinition", - "src": "53008:290:1" + "src": "54516:295:0" }, { "attributes": { "baseFunctions": [ - 642 + 134 ], "functionSelector": "e985e9c5", "implemented": true, @@ -69675,7 +69675,7 @@ null ], "name": "isApprovedForAll", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "public" @@ -69685,9 +69685,9 @@ "attributes": { "text": " @dev See {IERC721-isApprovedForAll}." }, - "id": 2949, + "id": 2441, "name": "StructuredDocumentation", - "src": "53304:55:1" + "src": "54819:57:0" }, { "attributes": { @@ -69695,9 +69695,9 @@ null ] }, - "id": 2955, + "id": 2447, "name": "OverrideSpecifier", - "src": "53443:8:1" + "src": "54961:8:0" }, { "children": [ @@ -69706,7 +69706,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69719,21 +69719,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2950, + "id": 2442, "name": "ElementaryTypeName", - "src": "53390:7:1" + "src": "54908:7:0" } ], - "id": 2951, + "id": 2443, "name": "VariableDeclaration", - "src": "53390:13:1" + "src": "54908:13:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "operator", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69746,19 +69746,19 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2952, + "id": 2444, "name": "ElementaryTypeName", - "src": "53405:7:1" + "src": "54923:7:0" } ], - "id": 2953, + "id": 2445, "name": "VariableDeclaration", - "src": "53405:16:1" + "src": "54923:16:0" } ], - "id": 2954, + "id": 2446, "name": "ParameterList", - "src": "53389:33:1" + "src": "54907:33:0" }, { "children": [ @@ -69767,7 +69767,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 2966, + "scope": 2458, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -69779,25 +69779,25 @@ "name": "bool", "type": "bool" }, - "id": 2956, + "id": 2448, "name": "ElementaryTypeName", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2957, + "id": 2449, "name": "VariableDeclaration", - "src": "53461:4:1" + "src": "54979:4:0" } ], - "id": 2958, + "id": 2450, "name": "ParameterList", - "src": "53460:6:1" + "src": "54978:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 2958 + "functionReturnParameters": 2450 }, "children": [ { @@ -69823,69 +69823,69 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2612, + "referencedDeclaration": 2104, "type": "mapping(address => mapping(address => bool))", "value": "_operatorApprovals" }, - "id": 2959, + "id": 2451, "name": "Identifier", - "src": "53484:18:1" + "src": "55003:18:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2951, + "referencedDeclaration": 2443, "type": "address", "value": "owner" }, - "id": 2960, + "id": 2452, "name": "Identifier", - "src": "53503:5:1" + "src": "55022:5:0" } ], - "id": 2961, + "id": 2453, "name": "IndexAccess", - "src": "53484:25:1" + "src": "55003:25:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2953, + "referencedDeclaration": 2445, "type": "address", "value": "operator" }, - "id": 2962, + "id": 2454, "name": "Identifier", - "src": "53510:8:1" + "src": "55029:8:0" } ], - "id": 2963, + "id": 2455, "name": "IndexAccess", - "src": "53484:35:1" + "src": "55003:35:0" } ], - "id": 2964, + "id": 2456, "name": "Return", - "src": "53477:42:1" + "src": "54996:42:0" } ], - "id": 2965, + "id": 2457, "name": "Block", - "src": "53467:59:1" + "src": "54985:61:0" } ], - "id": 2966, + "id": 2458, "name": "FunctionDefinition", - "src": "53364:162:1" + "src": "54882:164:0" }, { "attributes": { "baseFunctions": [ - 608 + 100 ], "functionSelector": "23b872dd", "implemented": true, @@ -69895,7 +69895,7 @@ null ], "name": "transferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -69905,9 +69905,9 @@ "attributes": { "text": " @dev See {IERC721-transferFrom}." }, - "id": 2967, + "id": 2459, "name": "StructuredDocumentation", - "src": "53532:51:1" + "src": "55054:53:0" }, { "attributes": { @@ -69915,9 +69915,9 @@ null ] }, - "id": 2975, + "id": 2467, "name": "OverrideSpecifier", - "src": "53668:8:1" + "src": "55193:8:0" }, { "children": [ @@ -69926,7 +69926,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69939,21 +69939,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2968, + "id": 2460, "name": "ElementaryTypeName", - "src": "53610:7:1" + "src": "55135:7:0" } ], - "id": 2969, + "id": 2461, "name": "VariableDeclaration", - "src": "53610:12:1" + "src": "55135:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -69966,21 +69966,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2970, + "id": 2462, "name": "ElementaryTypeName", - "src": "53624:7:1" + "src": "55149:7:0" } ], - "id": 2971, + "id": 2463, "name": "VariableDeclaration", - "src": "53624:10:1" + "src": "55149:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 2993, + "scope": 2485, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -69992,19 +69992,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2972, + "id": 2464, "name": "ElementaryTypeName", - "src": "53636:7:1" + "src": "55161:7:0" } ], - "id": 2973, + "id": 2465, "name": "VariableDeclaration", - "src": "53636:15:1" + "src": "55161:15:0" } ], - "id": 2974, + "id": 2466, "name": "ParameterList", - "src": "53609:43:1" + "src": "55134:43:0" }, { "attributes": { @@ -70013,9 +70013,9 @@ ] }, "children": [], - "id": 2976, + "id": 2468, "name": "ParameterList", - "src": "53677:0:1" + "src": "55202:0:0" }, { "children": [ @@ -70056,9 +70056,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 2977, + "id": 2469, "name": "Identifier", - "src": "53739:7:1" + "src": "55266:7:0" }, { "attributes": { @@ -70090,13 +70090,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 2978, + "id": 2470, "name": "Identifier", - "src": "53747:18:1" + "src": "55274:18:0" }, { "attributes": { @@ -70124,36 +70124,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 2979, + "id": 2471, "name": "Identifier", - "src": "53766:10:1" + "src": "55293:10:0" } ], - "id": 2980, + "id": 2472, "name": "FunctionCall", - "src": "53766:12:1" + "src": "55293:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2981, + "id": 2473, "name": "Identifier", - "src": "53780:7:1" + "src": "55307:7:0" } ], - "id": 2982, + "id": 2474, "name": "FunctionCall", - "src": "53747:41:1" + "src": "55274:41:0" }, { "attributes": { @@ -70166,19 +70166,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 2983, + "id": 2475, "name": "Literal", - "src": "53790:51:1" + "src": "55317:51:0" } ], - "id": 2984, + "id": 2476, "name": "FunctionCall", - "src": "53739:103:1" + "src": "55266:103:0" } ], - "id": 2985, + "id": 2477, "name": "ExpressionStatement", - "src": "53739:103:1" + "src": "55266:103:0" }, { "children": [ @@ -70216,77 +70216,77 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 2986, + "id": 2478, "name": "Identifier", - "src": "53853:9:1" + "src": "55382:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2969, + "referencedDeclaration": 2461, "type": "address", "value": "from" }, - "id": 2987, + "id": 2479, "name": "Identifier", - "src": "53863:4:1" + "src": "55392:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2971, + "referencedDeclaration": 2463, "type": "address", "value": "to" }, - "id": 2988, + "id": 2480, "name": "Identifier", - "src": "53869:2:1" + "src": "55398:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2973, + "referencedDeclaration": 2465, "type": "uint256", "value": "tokenId" }, - "id": 2989, + "id": 2481, "name": "Identifier", - "src": "53873:7:1" + "src": "55402:7:0" } ], - "id": 2990, + "id": 2482, "name": "FunctionCall", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2991, + "id": 2483, "name": "ExpressionStatement", - "src": "53853:28:1" + "src": "55382:28:0" } ], - "id": 2992, + "id": 2484, "name": "Block", - "src": "53677:211:1" + "src": "55202:216:0" } ], - "id": 2993, + "id": 2485, "name": "FunctionDefinition", - "src": "53588:300:1" + "src": "55113:305:0" }, { "attributes": { "baseFunctions": [ - 598 + 90 ], "functionSelector": "42842e0e", "implemented": true, @@ -70296,7 +70296,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70306,9 +70306,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 2994, + "id": 2486, "name": "StructuredDocumentation", - "src": "53894:55:1" + "src": "55426:57:0" }, { "attributes": { @@ -70316,9 +70316,9 @@ null ] }, - "id": 3002, + "id": 2494, "name": "OverrideSpecifier", - "src": "54038:8:1" + "src": "55573:8:0" }, { "children": [ @@ -70327,7 +70327,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70340,21 +70340,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2995, + "id": 2487, "name": "ElementaryTypeName", - "src": "53980:7:1" + "src": "55515:7:0" } ], - "id": 2996, + "id": 2488, "name": "VariableDeclaration", - "src": "53980:12:1" + "src": "55515:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70367,21 +70367,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 2997, + "id": 2489, "name": "ElementaryTypeName", - "src": "53994:7:1" + "src": "55529:7:0" } ], - "id": 2998, + "id": 2490, "name": "VariableDeclaration", - "src": "53994:10:1" + "src": "55529:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3012, + "scope": 2504, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70393,19 +70393,19 @@ "name": "uint256", "type": "uint256" }, - "id": 2999, + "id": 2491, "name": "ElementaryTypeName", - "src": "54006:7:1" + "src": "55541:7:0" } ], - "id": 3000, + "id": 2492, "name": "VariableDeclaration", - "src": "54006:15:1" + "src": "55541:15:0" } ], - "id": 3001, + "id": 2493, "name": "ParameterList", - "src": "53979:43:1" + "src": "55514:43:0" }, { "attributes": { @@ -70414,9 +70414,9 @@ ] }, "children": [], - "id": 3003, + "id": 2495, "name": "ParameterList", - "src": "54047:0:1" + "src": "55582:0:0" }, { "children": [ @@ -70458,55 +70458,55 @@ } ], "overloadedDeclarations": [ - 3012, - 3042 + 2504, + 2534 ], - "referencedDeclaration": 3042, + "referencedDeclaration": 2534, "type": "function (address,address,uint256,bytes memory)", "value": "safeTransferFrom" }, - "id": 3004, + "id": 2496, "name": "Identifier", - "src": "54057:16:1" + "src": "55593:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2996, + "referencedDeclaration": 2488, "type": "address", "value": "from" }, - "id": 3005, + "id": 2497, "name": "Identifier", - "src": "54074:4:1" + "src": "55610:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2998, + "referencedDeclaration": 2490, "type": "address", "value": "to" }, - "id": 3006, + "id": 2498, "name": "Identifier", - "src": "54080:2:1" + "src": "55616:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3000, + "referencedDeclaration": 2492, "type": "uint256", "value": "tokenId" }, - "id": 3007, + "id": 2499, "name": "Identifier", - "src": "54084:7:1" + "src": "55620:7:0" }, { "attributes": { @@ -70519,34 +70519,34 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3008, + "id": 2500, "name": "Literal", - "src": "54093:2:1" + "src": "55629:2:0" } ], - "id": 3009, + "id": 2501, "name": "FunctionCall", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3010, + "id": 2502, "name": "ExpressionStatement", - "src": "54057:39:1" + "src": "55593:39:0" } ], - "id": 3011, + "id": 2503, "name": "Block", - "src": "54047:56:1" + "src": "55582:58:0" } ], - "id": 3012, + "id": 2504, "name": "FunctionDefinition", - "src": "53954:149:1" + "src": "55489:151:0" }, { "attributes": { "baseFunctions": [ - 654 + 146 ], "functionSelector": "b88d4fde", "implemented": true, @@ -70556,7 +70556,7 @@ null ], "name": "safeTransferFrom", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "public" @@ -70566,9 +70566,9 @@ "attributes": { "text": " @dev See {IERC721-safeTransferFrom}." }, - "id": 3013, + "id": 2505, "name": "StructuredDocumentation", - "src": "54109:55:1" + "src": "55648:57:0" }, { "attributes": { @@ -70576,9 +70576,9 @@ null ] }, - "id": 3023, + "id": 2515, "name": "OverrideSpecifier", - "src": "54273:8:1" + "src": "55815:8:0" }, { "children": [ @@ -70587,7 +70587,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70600,21 +70600,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3014, + "id": 2506, "name": "ElementaryTypeName", - "src": "54195:7:1" + "src": "55737:7:0" } ], - "id": 3015, + "id": 2507, "name": "VariableDeclaration", - "src": "54195:12:1" + "src": "55737:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -70627,21 +70627,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3016, + "id": 2508, "name": "ElementaryTypeName", - "src": "54209:7:1" + "src": "55751:7:0" } ], - "id": 3017, + "id": 2509, "name": "VariableDeclaration", - "src": "54209:10:1" + "src": "55751:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -70653,21 +70653,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3018, + "id": 2510, "name": "ElementaryTypeName", - "src": "54221:7:1" + "src": "55763:7:0" } ], - "id": 3019, + "id": 2511, "name": "VariableDeclaration", - "src": "54221:15:1" + "src": "55763:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3042, + "scope": 2534, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -70679,19 +70679,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3020, + "id": 2512, "name": "ElementaryTypeName", - "src": "54238:5:1" + "src": "55780:5:0" } ], - "id": 3021, + "id": 2513, "name": "VariableDeclaration", - "src": "54238:18:1" + "src": "55780:18:0" } ], - "id": 3022, + "id": 2514, "name": "ParameterList", - "src": "54194:63:1" + "src": "55736:63:0" }, { "attributes": { @@ -70700,9 +70700,9 @@ ] }, "children": [], - "id": 3024, + "id": 2516, "name": "ParameterList", - "src": "54282:0:1" + "src": "55824:0:0" }, { "children": [ @@ -70743,9 +70743,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3025, + "id": 2517, "name": "Identifier", - "src": "54292:7:1" + "src": "55835:7:0" }, { "attributes": { @@ -70777,13 +70777,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3127, + "referencedDeclaration": 2619, "type": "function (address,uint256) view returns (bool)", "value": "_isApprovedOrOwner" }, - "id": 3026, + "id": 2518, "name": "Identifier", - "src": "54300:18:1" + "src": "55843:18:0" }, { "attributes": { @@ -70811,36 +70811,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3027, + "id": 2519, "name": "Identifier", - "src": "54319:10:1" + "src": "55862:10:0" } ], - "id": 3028, + "id": 2520, "name": "FunctionCall", - "src": "54319:12:1" + "src": "55862:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3029, + "id": 2521, "name": "Identifier", - "src": "54333:7:1" + "src": "55876:7:0" } ], - "id": 3030, + "id": 2522, "name": "FunctionCall", - "src": "54300:41:1" + "src": "55843:41:0" }, { "attributes": { @@ -70853,19 +70853,19 @@ "type": "literal_string \"ERC721: transfer caller is not owner nor approved\"", "value": "ERC721: transfer caller is not owner nor approved" }, - "id": 3031, + "id": 2523, "name": "Literal", - "src": "54343:51:1" + "src": "55886:51:0" } ], - "id": 3032, + "id": 2524, "name": "FunctionCall", - "src": "54292:103:1" + "src": "55835:103:0" } ], - "id": 3033, + "id": 2525, "name": "ExpressionStatement", - "src": "54292:103:1" + "src": "55835:103:0" }, { "children": [ @@ -70907,85 +70907,85 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3071, + "referencedDeclaration": 2563, "type": "function (address,address,uint256,bytes memory)", "value": "_safeTransfer" }, - "id": 3034, + "id": 2526, "name": "Identifier", - "src": "54405:13:1" + "src": "55949:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3015, + "referencedDeclaration": 2507, "type": "address", "value": "from" }, - "id": 3035, + "id": 2527, "name": "Identifier", - "src": "54419:4:1" + "src": "55963:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3017, + "referencedDeclaration": 2509, "type": "address", "value": "to" }, - "id": 3036, + "id": 2528, "name": "Identifier", - "src": "54425:2:1" + "src": "55969:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3019, + "referencedDeclaration": 2511, "type": "uint256", "value": "tokenId" }, - "id": 3037, + "id": 2529, "name": "Identifier", - "src": "54429:7:1" + "src": "55973:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3021, + "referencedDeclaration": 2513, "type": "bytes memory", "value": "_data" }, - "id": 3038, + "id": 2530, "name": "Identifier", - "src": "54438:5:1" + "src": "55982:5:0" } ], - "id": 3039, + "id": 2531, "name": "FunctionCall", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3040, + "id": 2532, "name": "ExpressionStatement", - "src": "54405:39:1" + "src": "55949:39:0" } ], - "id": 3041, + "id": 2533, "name": "Block", - "src": "54282:169:1" + "src": "55824:172:0" } ], - "id": 3042, + "id": 2534, "name": "FunctionDefinition", - "src": "54169:282:1" + "src": "55711:285:0" }, { "attributes": { @@ -70996,7 +70996,7 @@ null ], "name": "_safeTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -71006,9 +71006,9 @@ "attributes": { "text": " @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients\n are aware of the ERC721 protocol to prevent tokens from being forever locked.\n `_data` is additional data, it has no specified format and it is sent in call to `to`.\n This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.\n implement alternative mechanisms to perform token transfer, such as signature-based.\n Requirements:\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n - `tokenId` token must exist and be owned by `from`.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3043, + "id": 2535, "name": "StructuredDocumentation", - "src": "54457:851:1" + "src": "56004:868:0" }, { "children": [ @@ -71017,7 +71017,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71030,21 +71030,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3044, + "id": 2536, "name": "ElementaryTypeName", - "src": "55336:7:1" + "src": "56901:7:0" } ], - "id": 3045, + "id": 2537, "name": "VariableDeclaration", - "src": "55336:12:1" + "src": "56901:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71057,21 +71057,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3046, + "id": 2538, "name": "ElementaryTypeName", - "src": "55350:7:1" + "src": "56915:7:0" } ], - "id": 3047, + "id": 2539, "name": "VariableDeclaration", - "src": "55350:10:1" + "src": "56915:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71083,21 +71083,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3048, + "id": 2540, "name": "ElementaryTypeName", - "src": "55362:7:1" + "src": "56927:7:0" } ], - "id": 3049, + "id": 2541, "name": "VariableDeclaration", - "src": "55362:15:1" + "src": "56927:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3071, + "scope": 2563, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -71109,19 +71109,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3050, + "id": 2542, "name": "ElementaryTypeName", - "src": "55379:5:1" + "src": "56944:5:0" } ], - "id": 3051, + "id": 2543, "name": "VariableDeclaration", - "src": "55379:18:1" + "src": "56944:18:0" } ], - "id": 3052, + "id": 2544, "name": "ParameterList", - "src": "55335:63:1" + "src": "56900:63:0" }, { "attributes": { @@ -71130,9 +71130,9 @@ ] }, "children": [], - "id": 3053, + "id": 2545, "name": "ParameterList", - "src": "55416:0:1" + "src": "56981:0:0" }, { "children": [ @@ -71172,62 +71172,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3371, + "referencedDeclaration": 2863, "type": "function (address,address,uint256)", "value": "_transfer" }, - "id": 3054, + "id": 2546, "name": "Identifier", - "src": "55426:9:1" + "src": "56992:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3055, + "id": 2547, "name": "Identifier", - "src": "55436:4:1" + "src": "57002:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3056, + "id": 2548, "name": "Identifier", - "src": "55442:2:1" + "src": "57008:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3057, + "id": 2549, "name": "Identifier", - "src": "55446:7:1" + "src": "57012:7:0" } ], - "id": 3058, + "id": 2550, "name": "FunctionCall", - "src": "55426:28:1" + "src": "56992:28:0" } ], - "id": 3059, + "id": 2551, "name": "ExpressionStatement", - "src": "55426:28:1" + "src": "56992:28:0" }, { "children": [ @@ -71266,9 +71266,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3060, + "id": 2552, "name": "Identifier", - "src": "55464:7:1" + "src": "57031:7:0" }, { "attributes": { @@ -71308,70 +71308,70 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3061, + "id": 2553, "name": "Identifier", - "src": "55472:22:1" + "src": "57039:22:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3045, + "referencedDeclaration": 2537, "type": "address", "value": "from" }, - "id": 3062, + "id": 2554, "name": "Identifier", - "src": "55495:4:1" + "src": "57062:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3047, + "referencedDeclaration": 2539, "type": "address", "value": "to" }, - "id": 3063, + "id": 2555, "name": "Identifier", - "src": "55501:2:1" + "src": "57068:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3049, + "referencedDeclaration": 2541, "type": "uint256", "value": "tokenId" }, - "id": 3064, + "id": 2556, "name": "Identifier", - "src": "55505:7:1" + "src": "57072:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3051, + "referencedDeclaration": 2543, "type": "bytes memory", "value": "_data" }, - "id": 3065, + "id": 2557, "name": "Identifier", - "src": "55514:5:1" + "src": "57081:5:0" } ], - "id": 3066, + "id": 2558, "name": "FunctionCall", - "src": "55472:48:1" + "src": "57039:48:0" }, { "attributes": { @@ -71384,29 +71384,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3067, + "id": 2559, "name": "Literal", - "src": "55522:52:1" + "src": "57089:52:0" } ], - "id": 3068, + "id": 2560, "name": "FunctionCall", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3069, + "id": 2561, "name": "ExpressionStatement", - "src": "55464:111:1" + "src": "57031:111:0" } ], - "id": 3070, + "id": 2562, "name": "Block", - "src": "55416:166:1" + "src": "56981:169:0" } ], - "id": 3071, + "id": 2563, "name": "FunctionDefinition", - "src": "55313:269:1" + "src": "56878:272:0" }, { "attributes": { @@ -71417,7 +71417,7 @@ null ], "name": "_exists", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71427,9 +71427,9 @@ "attributes": { "text": " @dev Returns whether `tokenId` exists.\n Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.\n Tokens start existing when they are minted (`_mint`),\n and stop existing when they are burned (`_burn`)." }, - "id": 3072, + "id": 2564, "name": "StructuredDocumentation", - "src": "55588:292:1" + "src": "57158:299:0" }, { "children": [ @@ -71438,7 +71438,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71450,19 +71450,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3073, + "id": 2565, "name": "ElementaryTypeName", - "src": "55902:7:1" + "src": "57480:7:0" } ], - "id": 3074, + "id": 2566, "name": "VariableDeclaration", - "src": "55902:15:1" + "src": "57480:15:0" } ], - "id": 3075, + "id": 2567, "name": "ParameterList", - "src": "55901:17:1" + "src": "57479:17:0" }, { "children": [ @@ -71471,7 +71471,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3085, + "scope": 2577, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71483,25 +71483,25 @@ "name": "bool", "type": "bool" }, - "id": 3076, + "id": 2568, "name": "ElementaryTypeName", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3077, + "id": 2569, "name": "VariableDeclaration", - "src": "55950:4:1" + "src": "57528:4:0" } ], - "id": 3078, + "id": 2570, "name": "ParameterList", - "src": "55949:6:1" + "src": "57527:6:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3078 + "functionReturnParameters": 2570 }, "children": [ { @@ -71532,7 +71532,7 @@ "isPure": false, "lValueRequested": false, "member_name": "contains", - "referencedDeclaration": 2326, + "referencedDeclaration": 1818, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) view returns (bool)" }, "children": [ @@ -71541,51 +71541,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3079, + "id": 2571, "name": "Identifier", - "src": "55973:12:1" + "src": "57552:12:0" } ], - "id": 3080, + "id": 2572, "name": "MemberAccess", - "src": "55973:21:1" + "src": "57552:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3074, + "referencedDeclaration": 2566, "type": "uint256", "value": "tokenId" }, - "id": 3081, + "id": 2573, "name": "Identifier", - "src": "55995:7:1" + "src": "57574:7:0" } ], - "id": 3082, + "id": 2574, "name": "FunctionCall", - "src": "55973:30:1" + "src": "57552:30:0" } ], - "id": 3083, + "id": 2575, "name": "Return", - "src": "55966:37:1" + "src": "57545:37:0" } ], - "id": 3084, + "id": 2576, "name": "Block", - "src": "55956:54:1" + "src": "57534:56:0" } ], - "id": 3085, + "id": 2577, "name": "FunctionDefinition", - "src": "55885:125:1" + "src": "57463:127:0" }, { "attributes": { @@ -71596,7 +71596,7 @@ null ], "name": "_isApprovedOrOwner", - "scope": 3498, + "scope": 2990, "stateMutability": "view", "virtual": true, "visibility": "internal" @@ -71606,9 +71606,9 @@ "attributes": { "text": " @dev Returns whether `spender` is allowed to manage `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3086, + "id": 2578, "name": "StructuredDocumentation", - "src": "56016:147:1" + "src": "57598:153:0" }, { "children": [ @@ -71617,7 +71617,7 @@ "constant": false, "mutability": "mutable", "name": "spender", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71630,21 +71630,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3087, + "id": 2579, "name": "ElementaryTypeName", - "src": "56196:7:1" + "src": "57785:7:0" } ], - "id": 3088, + "id": 2580, "name": "VariableDeclaration", - "src": "56196:15:1" + "src": "57785:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -71656,19 +71656,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3089, + "id": 2581, "name": "ElementaryTypeName", - "src": "56213:7:1" + "src": "57802:7:0" } ], - "id": 3090, + "id": 2582, "name": "VariableDeclaration", - "src": "56213:15:1" + "src": "57802:15:0" } ], - "id": 3091, + "id": 2583, "name": "ParameterList", - "src": "56195:34:1" + "src": "57784:34:0" }, { "children": [ @@ -71677,7 +71677,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3127, + "scope": 2619, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -71689,19 +71689,19 @@ "name": "bool", "type": "bool" }, - "id": 3092, + "id": 2584, "name": "ElementaryTypeName", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3093, + "id": 2585, "name": "VariableDeclaration", - "src": "56261:4:1" + "src": "57850:4:0" } ], - "id": 3094, + "id": 2586, "name": "ParameterList", - "src": "56260:6:1" + "src": "57849:6:0" }, { "children": [ @@ -71742,9 +71742,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3095, + "id": 2587, "name": "Identifier", - "src": "56277:7:1" + "src": "57867:7:0" }, { "attributes": { @@ -71772,31 +71772,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3096, + "id": 2588, "name": "Identifier", - "src": "56285:7:1" + "src": "57875:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3097, + "id": 2589, "name": "Identifier", - "src": "56293:7:1" + "src": "57883:7:0" } ], - "id": 3098, + "id": 2590, "name": "FunctionCall", - "src": "56285:16:1" + "src": "57875:16:0" }, { "attributes": { @@ -71809,24 +71809,24 @@ "type": "literal_string \"ERC721: operator query for nonexistent token\"", "value": "ERC721: operator query for nonexistent token" }, - "id": 3099, + "id": 2591, "name": "Literal", - "src": "56303:46:1" + "src": "57893:46:0" } ], - "id": 3100, + "id": 2592, "name": "FunctionCall", - "src": "56277:73:1" + "src": "57867:73:0" } ], - "id": 3101, + "id": 2593, "name": "ExpressionStatement", - "src": "56277:73:1" + "src": "57867:73:0" }, { "attributes": { "assignments": [ - 3103 + 2595 ] }, "children": [ @@ -71835,7 +71835,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3126, + "scope": 2618, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -71848,14 +71848,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3102, + "id": 2594, "name": "ElementaryTypeName", - "src": "56360:7:1" + "src": "57951:7:0" } ], - "id": 3103, + "id": 2595, "name": "VariableDeclaration", - "src": "56360:13:1" + "src": "57951:13:0" }, { "attributes": { @@ -71885,7 +71885,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -71894,45 +71894,45 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3104, + "id": 2596, "name": "Identifier", - "src": "56376:6:1" + "src": "57967:6:0" } ], - "id": 3105, + "id": 2597, "name": "MemberAccess", - "src": "56376:14:1" + "src": "57967:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3106, + "id": 2598, "name": "Identifier", - "src": "56391:7:1" + "src": "57982:7:0" } ], - "id": 3107, + "id": 2599, "name": "FunctionCall", - "src": "56376:23:1" + "src": "57967:23:0" } ], - "id": 3108, + "id": 2600, "name": "VariableDeclarationStatement", - "src": "56360:39:1" + "src": "57951:39:0" }, { "attributes": { - "functionReturnParameters": 3094 + "functionReturnParameters": 2586 }, "children": [ { @@ -71992,31 +71992,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3109, + "id": 2601, "name": "Identifier", - "src": "56417:7:1" + "src": "58009:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3110, + "id": 2602, "name": "Identifier", - "src": "56428:5:1" + "src": "58020:5:0" } ], - "id": 3111, + "id": 2603, "name": "BinaryOperation", - "src": "56417:16:1" + "src": "58009:16:0" }, { "attributes": { @@ -72058,54 +72058,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2914, + "referencedDeclaration": 2406, "type": "function (uint256) view returns (address)", "value": "getApproved" }, - "id": 3112, + "id": 2604, "name": "Identifier", - "src": "56437:11:1" + "src": "58029:11:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3090, + "referencedDeclaration": 2582, "type": "uint256", "value": "tokenId" }, - "id": 3113, + "id": 2605, "name": "Identifier", - "src": "56449:7:1" + "src": "58041:7:0" } ], - "id": 3114, + "id": 2606, "name": "FunctionCall", - "src": "56437:20:1" + "src": "58029:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3115, + "id": 2607, "name": "Identifier", - "src": "56461:7:1" + "src": "58053:7:0" } ], - "id": 3116, + "id": 2608, "name": "BinaryOperation", - "src": "56437:31:1" + "src": "58029:31:0" } ], - "id": 3117, + "id": 2609, "name": "BinaryOperation", - "src": "56417:51:1" + "src": "58009:51:0" }, { "attributes": { @@ -72139,7 +72139,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isApprovedForAll", - "referencedDeclaration": 2966, + "referencedDeclaration": 2458, "type": "function (address,address) view returns (bool)" }, "children": [ @@ -72148,74 +72148,74 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3118, + "id": 2610, "name": "Identifier", - "src": "56472:6:1" + "src": "58064:6:0" } ], - "id": 3119, + "id": 2611, "name": "MemberAccess", - "src": "56472:23:1" + "src": "58064:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3103, + "referencedDeclaration": 2595, "type": "address", "value": "owner" }, - "id": 3120, + "id": 2612, "name": "Identifier", - "src": "56496:5:1" + "src": "58088:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3088, + "referencedDeclaration": 2580, "type": "address", "value": "spender" }, - "id": 3121, + "id": 2613, "name": "Identifier", - "src": "56503:7:1" + "src": "58095:7:0" } ], - "id": 3122, + "id": 2614, "name": "FunctionCall", - "src": "56472:39:1" + "src": "58064:39:0" } ], - "id": 3123, + "id": 2615, "name": "BinaryOperation", - "src": "56417:94:1" + "src": "58009:94:0" } ], - "id": 3124, + "id": 2616, "name": "TupleExpression", - "src": "56416:96:1" + "src": "58008:96:0" } ], - "id": 3125, + "id": 2617, "name": "Return", - "src": "56409:103:1" + "src": "58001:103:0" } ], - "id": 3126, + "id": 2618, "name": "Block", - "src": "56267:252:1" + "src": "57856:256:0" } ], - "id": 3127, + "id": 2619, "name": "FunctionDefinition", - "src": "56168:351:1" + "src": "57757:355:0" }, { "attributes": { @@ -72226,7 +72226,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72236,9 +72236,9 @@ "attributes": { "text": " @dev Safely mints `tokenId` and transfers it to `to`.\n Requirements:\nd*\n - `tokenId` must not exist.\n - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.\n Emits a {Transfer} event." }, - "id": 3128, + "id": 2620, "name": "StructuredDocumentation", - "src": "56525:320:1" + "src": "58120:329:0" }, { "children": [ @@ -72247,7 +72247,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72260,21 +72260,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3129, + "id": 2621, "name": "ElementaryTypeName", - "src": "56869:7:1" + "src": "58474:7:0" } ], - "id": 3130, + "id": 2622, "name": "VariableDeclaration", - "src": "56869:10:1" + "src": "58474:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3142, + "scope": 2634, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72286,19 +72286,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3131, + "id": 2623, "name": "ElementaryTypeName", - "src": "56881:7:1" + "src": "58486:7:0" } ], - "id": 3132, + "id": 2624, "name": "VariableDeclaration", - "src": "56881:15:1" + "src": "58486:15:0" } ], - "id": 3133, + "id": 2625, "name": "ParameterList", - "src": "56868:29:1" + "src": "58473:29:0" }, { "attributes": { @@ -72307,9 +72307,9 @@ ] }, "children": [], - "id": 3134, + "id": 2626, "name": "ParameterList", - "src": "56915:0:1" + "src": "58520:0:0" }, { "children": [ @@ -72347,42 +72347,42 @@ } ], "overloadedDeclarations": [ - 3142, - 3171 + 2634, + 2663 ], - "referencedDeclaration": 3171, + "referencedDeclaration": 2663, "type": "function (address,uint256,bytes memory)", "value": "_safeMint" }, - "id": 3135, + "id": 2627, "name": "Identifier", - "src": "56925:9:1" + "src": "58531:9:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3130, + "referencedDeclaration": 2622, "type": "address", "value": "to" }, - "id": 3136, + "id": 2628, "name": "Identifier", - "src": "56935:2:1" + "src": "58541:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3132, + "referencedDeclaration": 2624, "type": "uint256", "value": "tokenId" }, - "id": 3137, + "id": 2629, "name": "Identifier", - "src": "56939:7:1" + "src": "58545:7:0" }, { "attributes": { @@ -72395,29 +72395,29 @@ "type": "literal_string \"\"", "value": "" }, - "id": 3138, + "id": 2630, "name": "Literal", - "src": "56948:2:1" + "src": "58554:2:0" } ], - "id": 3139, + "id": 2631, "name": "FunctionCall", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3140, + "id": 2632, "name": "ExpressionStatement", - "src": "56925:26:1" + "src": "58531:26:0" } ], - "id": 3141, + "id": 2633, "name": "Block", - "src": "56915:43:1" + "src": "58520:45:0" } ], - "id": 3142, + "id": 2634, "name": "FunctionDefinition", - "src": "56850:108:1" + "src": "58455:110:0" }, { "attributes": { @@ -72428,7 +72428,7 @@ null ], "name": "_safeMint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72438,9 +72438,9 @@ "attributes": { "text": " @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is\n forwarded in {IERC721Receiver-onERC721Received} to contract recipients." }, - "id": 3143, + "id": 2635, "name": "StructuredDocumentation", - "src": "56964:210:1" + "src": "58573:213:0" }, { "children": [ @@ -72449,7 +72449,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72462,21 +72462,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3144, + "id": 2636, "name": "ElementaryTypeName", - "src": "57198:7:1" + "src": "58811:7:0" } ], - "id": 3145, + "id": 2637, "name": "VariableDeclaration", - "src": "57198:10:1" + "src": "58811:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72488,21 +72488,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3146, + "id": 2638, "name": "ElementaryTypeName", - "src": "57210:7:1" + "src": "58823:7:0" } ], - "id": 3147, + "id": 2639, "name": "VariableDeclaration", - "src": "57210:15:1" + "src": "58823:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3171, + "scope": 2663, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -72514,19 +72514,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3148, + "id": 2640, "name": "ElementaryTypeName", - "src": "57227:5:1" + "src": "58840:5:0" } ], - "id": 3149, + "id": 2641, "name": "VariableDeclaration", - "src": "57227:18:1" + "src": "58840:18:0" } ], - "id": 3150, + "id": 2642, "name": "ParameterList", - "src": "57197:49:1" + "src": "58810:49:0" }, { "attributes": { @@ -72535,9 +72535,9 @@ ] }, "children": [], - "id": 3151, + "id": 2643, "name": "ParameterList", - "src": "57264:0:1" + "src": "58877:0:0" }, { "children": [ @@ -72573,49 +72573,49 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3230, + "referencedDeclaration": 2722, "type": "function (address,uint256)", "value": "_mint" }, - "id": 3152, + "id": 2644, "name": "Identifier", - "src": "57274:5:1" + "src": "58888:5:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3153, + "id": 2645, "name": "Identifier", - "src": "57280:2:1" + "src": "58894:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3154, + "id": 2646, "name": "Identifier", - "src": "57284:7:1" + "src": "58898:7:0" } ], - "id": 3155, + "id": 2647, "name": "FunctionCall", - "src": "57274:18:1" + "src": "58888:18:0" } ], - "id": 3156, + "id": 2648, "name": "ExpressionStatement", - "src": "57274:18:1" + "src": "58888:18:0" }, { "children": [ @@ -72654,9 +72654,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3157, + "id": 2649, "name": "Identifier", - "src": "57302:7:1" + "src": "58917:7:0" }, { "attributes": { @@ -72696,13 +72696,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3462, + "referencedDeclaration": 2954, "type": "function (address,address,uint256,bytes memory) returns (bool)", "value": "_checkOnERC721Received" }, - "id": 3158, + "id": 2650, "name": "Identifier", - "src": "57310:22:1" + "src": "58925:22:0" }, { "attributes": { @@ -72738,14 +72738,14 @@ "attributes": { "name": "address" }, - "id": 3159, + "id": 2651, "name": "ElementaryTypeName", - "src": "57333:7:1" + "src": "58948:7:0" } ], - "id": 3160, + "id": 2652, "name": "ElementaryTypeNameExpression", - "src": "57333:7:1" + "src": "58948:7:0" }, { "attributes": { @@ -72758,58 +72758,58 @@ "type": "int_const 0", "value": "0" }, - "id": 3161, + "id": 2653, "name": "Literal", - "src": "57341:1:1" + "src": "58956:1:0" } ], - "id": 3162, + "id": 2654, "name": "FunctionCall", - "src": "57333:10:1" + "src": "58948:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3145, + "referencedDeclaration": 2637, "type": "address", "value": "to" }, - "id": 3163, + "id": 2655, "name": "Identifier", - "src": "57345:2:1" + "src": "58960:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3147, + "referencedDeclaration": 2639, "type": "uint256", "value": "tokenId" }, - "id": 3164, + "id": 2656, "name": "Identifier", - "src": "57349:7:1" + "src": "58964:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3149, + "referencedDeclaration": 2641, "type": "bytes memory", "value": "_data" }, - "id": 3165, + "id": 2657, "name": "Identifier", - "src": "57358:5:1" + "src": "58973:5:0" } ], - "id": 3166, + "id": 2658, "name": "FunctionCall", - "src": "57310:54:1" + "src": "58925:54:0" }, { "attributes": { @@ -72822,29 +72822,29 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3167, + "id": 2659, "name": "Literal", - "src": "57366:52:1" + "src": "58981:52:0" } ], - "id": 3168, + "id": 2660, "name": "FunctionCall", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3169, + "id": 2661, "name": "ExpressionStatement", - "src": "57302:117:1" + "src": "58917:117:0" } ], - "id": 3170, + "id": 2662, "name": "Block", - "src": "57264:162:1" + "src": "58877:165:0" } ], - "id": 3171, + "id": 2663, "name": "FunctionDefinition", - "src": "57179:247:1" + "src": "58792:250:0" }, { "attributes": { @@ -72855,7 +72855,7 @@ null ], "name": "_mint", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -72865,9 +72865,9 @@ "attributes": { "text": " @dev Mints `tokenId` and transfers it to `to`.\n WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible\n Requirements:\n - `tokenId` must not exist.\n - `to` cannot be the zero address.\n Emits a {Transfer} event." }, - "id": 3172, + "id": 2664, "name": "StructuredDocumentation", - "src": "57432:311:1" + "src": "59050:322:0" }, { "children": [ @@ -72876,7 +72876,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -72889,21 +72889,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3173, + "id": 2665, "name": "ElementaryTypeName", - "src": "57763:7:1" + "src": "59393:7:0" } ], - "id": 3174, + "id": 2666, "name": "VariableDeclaration", - "src": "57763:10:1" + "src": "59393:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3230, + "scope": 2722, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -72915,19 +72915,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3175, + "id": 2667, "name": "ElementaryTypeName", - "src": "57775:7:1" + "src": "59405:7:0" } ], - "id": 3176, + "id": 2668, "name": "VariableDeclaration", - "src": "57775:15:1" + "src": "59405:15:0" } ], - "id": 3177, + "id": 2669, "name": "ParameterList", - "src": "57762:29:1" + "src": "59392:29:0" }, { "attributes": { @@ -72936,9 +72936,9 @@ ] }, "children": [], - "id": 3178, + "id": 2670, "name": "ParameterList", - "src": "57809:0:1" + "src": "59439:0:0" }, { "children": [ @@ -72979,9 +72979,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3179, + "id": 2671, "name": "Identifier", - "src": "57819:7:1" + "src": "59450:7:0" }, { "attributes": { @@ -73002,13 +73002,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3180, + "id": 2672, "name": "Identifier", - "src": "57827:2:1" + "src": "59458:2:0" }, { "attributes": { @@ -73044,14 +73044,14 @@ "attributes": { "name": "address" }, - "id": 3181, + "id": 2673, "name": "ElementaryTypeName", - "src": "57833:7:1" + "src": "59464:7:0" } ], - "id": 3182, + "id": 2674, "name": "ElementaryTypeNameExpression", - "src": "57833:7:1" + "src": "59464:7:0" }, { "attributes": { @@ -73064,19 +73064,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3183, + "id": 2675, "name": "Literal", - "src": "57841:1:1" + "src": "59472:1:0" } ], - "id": 3184, + "id": 2676, "name": "FunctionCall", - "src": "57833:10:1" + "src": "59464:10:0" } ], - "id": 3185, + "id": 2677, "name": "BinaryOperation", - "src": "57827:16:1" + "src": "59458:16:0" }, { "attributes": { @@ -73089,19 +73089,19 @@ "type": "literal_string \"ERC721: mint to the zero address\"", "value": "ERC721: mint to the zero address" }, - "id": 3186, + "id": 2678, "name": "Literal", - "src": "57845:34:1" + "src": "59476:34:0" } ], - "id": 3187, + "id": 2679, "name": "FunctionCall", - "src": "57819:61:1" + "src": "59450:61:0" } ], - "id": 3188, + "id": 2680, "name": "ExpressionStatement", - "src": "57819:61:1" + "src": "59450:61:0" }, { "children": [ @@ -73140,9 +73140,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3189, + "id": 2681, "name": "Identifier", - "src": "57890:7:1" + "src": "59522:7:0" }, { "attributes": { @@ -73181,36 +73181,36 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3190, + "id": 2682, "name": "Identifier", - "src": "57899:7:1" + "src": "59531:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3191, + "id": 2683, "name": "Identifier", - "src": "57907:7:1" + "src": "59539:7:0" } ], - "id": 3192, + "id": 2684, "name": "FunctionCall", - "src": "57899:16:1" + "src": "59531:16:0" } ], - "id": 3193, + "id": 2685, "name": "UnaryOperation", - "src": "57898:17:1" + "src": "59530:17:0" }, { "attributes": { @@ -73223,19 +73223,19 @@ "type": "literal_string \"ERC721: token already minted\"", "value": "ERC721: token already minted" }, - "id": 3194, + "id": 2686, "name": "Literal", - "src": "57917:30:1" + "src": "59549:30:0" } ], - "id": 3195, + "id": 2687, "name": "FunctionCall", - "src": "57890:58:1" + "src": "59522:58:0" } ], - "id": 3196, + "id": 2688, "name": "ExpressionStatement", - "src": "57890:58:1" + "src": "59522:58:0" }, { "children": [ @@ -73273,13 +73273,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3197, + "id": 2689, "name": "Identifier", - "src": "57959:20:1" + "src": "59593:20:0" }, { "attributes": { @@ -73315,14 +73315,14 @@ "attributes": { "name": "address" }, - "id": 3198, + "id": 2690, "name": "ElementaryTypeName", - "src": "57980:7:1" + "src": "59614:7:0" } ], - "id": 3199, + "id": 2691, "name": "ElementaryTypeNameExpression", - "src": "57980:7:1" + "src": "59614:7:0" }, { "attributes": { @@ -73335,50 +73335,50 @@ "type": "int_const 0", "value": "0" }, - "id": 3200, + "id": 2692, "name": "Literal", - "src": "57988:1:1" + "src": "59622:1:0" } ], - "id": 3201, + "id": 2693, "name": "FunctionCall", - "src": "57980:10:1" + "src": "59614:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3202, + "id": 2694, "name": "Identifier", - "src": "57992:2:1" + "src": "59626:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3203, + "id": 2695, "name": "Identifier", - "src": "57996:7:1" + "src": "59630:7:0" } ], - "id": 3204, + "id": 2696, "name": "FunctionCall", - "src": "57959:45:1" + "src": "59593:45:0" } ], - "id": 3205, + "id": 2697, "name": "ExpressionStatement", - "src": "57959:45:1" + "src": "59593:45:0" }, { "children": [ @@ -73410,7 +73410,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -73428,59 +73428,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3206, + "id": 2698, "name": "Identifier", - "src": "58015:13:1" + "src": "59651:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3207, + "id": 2699, "name": "Identifier", - "src": "58029:2:1" + "src": "59665:2:0" } ], - "id": 3208, + "id": 2700, "name": "IndexAccess", - "src": "58015:17:1" + "src": "59651:17:0" } ], - "id": 3209, + "id": 2701, "name": "MemberAccess", - "src": "58015:21:1" + "src": "59651:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3210, + "id": 2702, "name": "Identifier", - "src": "58037:7:1" + "src": "59673:7:0" } ], - "id": 3211, + "id": 2703, "name": "FunctionCall", - "src": "58015:30:1" + "src": "59651:30:0" } ], - "id": 3212, + "id": 2704, "name": "ExpressionStatement", - "src": "58015:30:1" + "src": "59651:30:0" }, { "children": [ @@ -73516,7 +73516,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -73525,54 +73525,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3213, + "id": 2705, "name": "Identifier", - "src": "58056:12:1" + "src": "59694:12:0" } ], - "id": 3215, + "id": 2707, "name": "MemberAccess", - "src": "58056:16:1" + "src": "59694:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3216, + "id": 2708, "name": "Identifier", - "src": "58073:7:1" + "src": "59711:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3217, + "id": 2709, "name": "Identifier", - "src": "58082:2:1" + "src": "59720:2:0" } ], - "id": 3218, + "id": 2710, "name": "FunctionCall", - "src": "58056:29:1" + "src": "59694:29:0" } ], - "id": 3219, + "id": 2711, "name": "ExpressionStatement", - "src": "58056:29:1" + "src": "59694:29:0" }, { "children": [ @@ -73610,13 +73610,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3220, + "id": 2712, "name": "Identifier", - "src": "58101:8:1" + "src": "59741:8:0" }, { "attributes": { @@ -73652,14 +73652,14 @@ "attributes": { "name": "address" }, - "id": 3221, + "id": 2713, "name": "ElementaryTypeName", - "src": "58110:7:1" + "src": "59750:7:0" } ], - "id": 3222, + "id": 2714, "name": "ElementaryTypeNameExpression", - "src": "58110:7:1" + "src": "59750:7:0" }, { "attributes": { @@ -73672,60 +73672,60 @@ "type": "int_const 0", "value": "0" }, - "id": 3223, + "id": 2715, "name": "Literal", - "src": "58118:1:1" + "src": "59758:1:0" } ], - "id": 3224, + "id": 2716, "name": "FunctionCall", - "src": "58110:10:1" + "src": "59750:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3174, + "referencedDeclaration": 2666, "type": "address", "value": "to" }, - "id": 3225, + "id": 2717, "name": "Identifier", - "src": "58122:2:1" + "src": "59762:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3176, + "referencedDeclaration": 2668, "type": "uint256", "value": "tokenId" }, - "id": 3226, + "id": 2718, "name": "Identifier", - "src": "58126:7:1" + "src": "59766:7:0" } ], - "id": 3227, + "id": 2719, "name": "FunctionCall", - "src": "58101:33:1" + "src": "59741:33:0" } ], - "id": 3228, + "id": 2720, "name": "EmitStatement", - "src": "58096:38:1" + "src": "59736:38:0" } ], - "id": 3229, + "id": 2721, "name": "Block", - "src": "57809:332:1" + "src": "59439:343:0" } ], - "id": 3230, + "id": 2722, "name": "FunctionDefinition", - "src": "57748:393:1" + "src": "59378:404:0" }, { "attributes": { @@ -73736,7 +73736,7 @@ null ], "name": "_burn", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -73746,9 +73746,9 @@ "attributes": { "text": " @dev Destroys `tokenId`.\n The approval is cleared when the token is burned.\n Requirements:\n - `tokenId` must exist.\n Emits a {Transfer} event." }, - "id": 3231, + "id": 2723, "name": "StructuredDocumentation", - "src": "58147:206:1" + "src": "59790:215:0" }, { "children": [ @@ -73757,7 +73757,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3299, + "scope": 2791, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -73769,19 +73769,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3232, + "id": 2724, "name": "ElementaryTypeName", - "src": "58373:7:1" + "src": "60026:7:0" } ], - "id": 3233, + "id": 2725, "name": "VariableDeclaration", - "src": "58373:15:1" + "src": "60026:15:0" } ], - "id": 3234, + "id": 2726, "name": "ParameterList", - "src": "58372:17:1" + "src": "60025:17:0" }, { "attributes": { @@ -73790,16 +73790,16 @@ ] }, "children": [], - "id": 3235, + "id": 2727, "name": "ParameterList", - "src": "58407:0:1" + "src": "60060:0:0" }, { "children": [ { "attributes": { "assignments": [ - 3237 + 2729 ] }, "children": [ @@ -73808,7 +73808,7 @@ "constant": false, "mutability": "mutable", "name": "owner", - "scope": 3298, + "scope": 2790, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -73821,14 +73821,14 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3236, + "id": 2728, "name": "ElementaryTypeName", - "src": "58417:7:1" + "src": "60071:7:0" } ], - "id": 3237, + "id": 2729, "name": "VariableDeclaration", - "src": "58417:13:1" + "src": "60071:13:0" }, { "attributes": { @@ -73858,7 +73858,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -73867,41 +73867,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3238, + "id": 2730, "name": "Identifier", - "src": "58433:6:1" + "src": "60087:6:0" } ], - "id": 3239, + "id": 2731, "name": "MemberAccess", - "src": "58433:14:1" + "src": "60087:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3240, + "id": 2732, "name": "Identifier", - "src": "58448:7:1" + "src": "60102:7:0" } ], - "id": 3241, + "id": 2733, "name": "FunctionCall", - "src": "58433:23:1" + "src": "60087:23:0" } ], - "id": 3242, + "id": 2734, "name": "VariableDeclarationStatement", - "src": "58417:39:1" + "src": "60071:39:0" }, { "children": [ @@ -73939,26 +73939,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3243, + "id": 2735, "name": "Identifier", - "src": "58485:20:1" + "src": "60141:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3244, + "id": 2736, "name": "Identifier", - "src": "58506:5:1" + "src": "60162:5:0" }, { "attributes": { @@ -73994,14 +73994,14 @@ "attributes": { "name": "address" }, - "id": 3245, + "id": 2737, "name": "ElementaryTypeName", - "src": "58513:7:1" + "src": "60169:7:0" } ], - "id": 3246, + "id": 2738, "name": "ElementaryTypeNameExpression", - "src": "58513:7:1" + "src": "60169:7:0" }, { "attributes": { @@ -74014,37 +74014,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3247, + "id": 2739, "name": "Literal", - "src": "58521:1:1" + "src": "60177:1:0" } ], - "id": 3248, + "id": 2740, "name": "FunctionCall", - "src": "58513:10:1" + "src": "60169:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3249, + "id": 2741, "name": "Identifier", - "src": "58525:7:1" + "src": "60181:7:0" } ], - "id": 3250, + "id": 2742, "name": "FunctionCall", - "src": "58485:48:1" + "src": "60141:48:0" } ], - "id": 3251, + "id": 2743, "name": "ExpressionStatement", - "src": "58485:48:1" + "src": "60141:48:0" }, { "children": [ @@ -74078,13 +74078,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3252, + "id": 2744, "name": "Identifier", - "src": "58571:8:1" + "src": "60230:8:0" }, { "attributes": { @@ -74120,14 +74120,14 @@ "attributes": { "name": "address" }, - "id": 3253, + "id": 2745, "name": "ElementaryTypeName", - "src": "58580:7:1" + "src": "60239:7:0" } ], - "id": 3254, + "id": 2746, "name": "ElementaryTypeNameExpression", - "src": "58580:7:1" + "src": "60239:7:0" }, { "attributes": { @@ -74140,37 +74140,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3255, + "id": 2747, "name": "Literal", - "src": "58588:1:1" + "src": "60247:1:0" } ], - "id": 3256, + "id": 2748, "name": "FunctionCall", - "src": "58580:10:1" + "src": "60239:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3257, + "id": 2749, "name": "Identifier", - "src": "58592:7:1" + "src": "60251:7:0" } ], - "id": 3258, + "id": 2750, "name": "FunctionCall", - "src": "58571:29:1" + "src": "60230:29:0" } ], - "id": 3259, + "id": 2751, "name": "ExpressionStatement", - "src": "58571:29:1" + "src": "60230:29:0" }, { "attributes": {}, @@ -74233,14 +74233,14 @@ "attributes": { "name": "bytes" }, - "id": 3260, + "id": 2752, "name": "ElementaryTypeName", - "src": "58650:5:1" + "src": "60312:5:0" } ], - "id": 3261, + "id": 2753, "name": "ElementaryTypeNameExpression", - "src": "58650:5:1" + "src": "60312:5:0" }, { "attributes": { @@ -74256,41 +74256,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3262, + "id": 2754, "name": "Identifier", - "src": "58656:10:1" + "src": "60318:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3263, + "id": 2755, "name": "Identifier", - "src": "58667:7:1" + "src": "60329:7:0" } ], - "id": 3264, + "id": 2756, "name": "IndexAccess", - "src": "58656:19:1" + "src": "60318:19:0" } ], - "id": 3265, + "id": 2757, "name": "FunctionCall", - "src": "58650:26:1" + "src": "60312:26:0" } ], - "id": 3266, + "id": 2758, "name": "MemberAccess", - "src": "58650:33:1" + "src": "60312:33:0" }, { "attributes": { @@ -74303,14 +74303,14 @@ "type": "int_const 0", "value": "0" }, - "id": 3267, + "id": 2759, "name": "Literal", - "src": "58687:1:1" + "src": "60349:1:0" } ], - "id": 3268, + "id": 2760, "name": "BinaryOperation", - "src": "58650:38:1" + "src": "60312:38:0" }, { "children": [ @@ -74341,51 +74341,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3269, + "id": 2761, "name": "Identifier", - "src": "58711:10:1" + "src": "60374:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3270, + "id": 2762, "name": "Identifier", - "src": "58722:7:1" + "src": "60385:7:0" } ], - "id": 3271, + "id": 2763, "name": "IndexAccess", - "src": "58711:19:1" + "src": "60374:19:0" } ], - "id": 3272, + "id": 2764, "name": "UnaryOperation", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3273, + "id": 2765, "name": "ExpressionStatement", - "src": "58704:26:1" + "src": "60367:26:0" } ], - "id": 3274, + "id": 2766, "name": "Block", - "src": "58690:51:1" + "src": "60352:53:0" } ], - "id": 3275, + "id": 2767, "name": "IfStatement", - "src": "58646:95:1" + "src": "60308:97:0" }, { "children": [ @@ -74417,7 +74417,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -74435,59 +74435,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3276, + "id": 2768, "name": "Identifier", - "src": "58751:13:1" + "src": "60417:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3277, + "id": 2769, "name": "Identifier", - "src": "58765:5:1" + "src": "60431:5:0" } ], - "id": 3278, + "id": 2770, "name": "IndexAccess", - "src": "58751:20:1" + "src": "60417:20:0" } ], - "id": 3279, + "id": 2771, "name": "MemberAccess", - "src": "58751:27:1" + "src": "60417:27:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3280, + "id": 2772, "name": "Identifier", - "src": "58779:7:1" + "src": "60445:7:0" } ], - "id": 3281, + "id": 2773, "name": "FunctionCall", - "src": "58751:36:1" + "src": "60417:36:0" } ], - "id": 3282, + "id": 2774, "name": "ExpressionStatement", - "src": "58751:36:1" + "src": "60417:36:0" }, { "children": [ @@ -74519,7 +74519,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 2306, + "referencedDeclaration": 1798, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256) returns (bool)" }, "children": [ @@ -74528,41 +74528,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3283, + "id": 2775, "name": "Identifier", - "src": "58798:12:1" + "src": "60466:12:0" } ], - "id": 3285, + "id": 2777, "name": "MemberAccess", - "src": "58798:19:1" + "src": "60466:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3286, + "id": 2778, "name": "Identifier", - "src": "58818:7:1" + "src": "60486:7:0" } ], - "id": 3287, + "id": 2779, "name": "FunctionCall", - "src": "58798:28:1" + "src": "60466:28:0" } ], - "id": 3288, + "id": 2780, "name": "ExpressionStatement", - "src": "58798:28:1" + "src": "60466:28:0" }, { "children": [ @@ -74600,26 +74600,26 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3289, + "id": 2781, "name": "Identifier", - "src": "58842:8:1" + "src": "60512:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3237, + "referencedDeclaration": 2729, "type": "address", "value": "owner" }, - "id": 3290, + "id": 2782, "name": "Identifier", - "src": "58851:5:1" + "src": "60521:5:0" }, { "attributes": { @@ -74655,14 +74655,14 @@ "attributes": { "name": "address" }, - "id": 3291, + "id": 2783, "name": "ElementaryTypeName", - "src": "58858:7:1" + "src": "60528:7:0" } ], - "id": 3292, + "id": 2784, "name": "ElementaryTypeNameExpression", - "src": "58858:7:1" + "src": "60528:7:0" }, { "attributes": { @@ -74675,47 +74675,47 @@ "type": "int_const 0", "value": "0" }, - "id": 3293, + "id": 2785, "name": "Literal", - "src": "58866:1:1" + "src": "60536:1:0" } ], - "id": 3294, + "id": 2786, "name": "FunctionCall", - "src": "58858:10:1" + "src": "60528:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3233, + "referencedDeclaration": 2725, "type": "uint256", "value": "tokenId" }, - "id": 3295, + "id": 2787, "name": "Identifier", - "src": "58870:7:1" + "src": "60540:7:0" } ], - "id": 3296, + "id": 2788, "name": "FunctionCall", - "src": "58842:36:1" + "src": "60512:36:0" } ], - "id": 3297, + "id": 2789, "name": "EmitStatement", - "src": "58837:41:1" + "src": "60507:41:0" } ], - "id": 3298, + "id": 2790, "name": "Block", - "src": "58407:478:1" + "src": "60060:496:0" } ], - "id": 3299, + "id": 2791, "name": "FunctionDefinition", - "src": "58358:527:1" + "src": "60011:545:0" }, { "attributes": { @@ -74726,7 +74726,7 @@ null ], "name": "_transfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -74736,9 +74736,9 @@ "attributes": { "text": " @dev Transfers `tokenId` from `from` to `to`.\n As opposed to {transferFrom}, this imposes no restrictions on msg.sender.\n Requirements:\n - `to` cannot be the zero address.\n - `tokenId` token must be owned by `from`.\n Emits a {Transfer} event." }, - "id": 3300, + "id": 2792, "name": "StructuredDocumentation", - "src": "58891:313:1" + "src": "60564:323:0" }, { "children": [ @@ -74747,7 +74747,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74760,21 +74760,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3301, + "id": 2793, "name": "ElementaryTypeName", - "src": "59228:7:1" + "src": "60912:7:0" } ], - "id": 3302, + "id": 2794, "name": "VariableDeclaration", - "src": "59228:12:1" + "src": "60912:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -74787,21 +74787,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3303, + "id": 2795, "name": "ElementaryTypeName", - "src": "59242:7:1" + "src": "60926:7:0" } ], - "id": 3304, + "id": 2796, "name": "VariableDeclaration", - "src": "59242:10:1" + "src": "60926:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3371, + "scope": 2863, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -74813,19 +74813,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3305, + "id": 2797, "name": "ElementaryTypeName", - "src": "59254:7:1" + "src": "60938:7:0" } ], - "id": 3306, + "id": 2798, "name": "VariableDeclaration", - "src": "59254:15:1" + "src": "60938:15:0" } ], - "id": 3307, + "id": 2799, "name": "ParameterList", - "src": "59227:43:1" + "src": "60911:43:0" }, { "attributes": { @@ -74834,9 +74834,9 @@ ] }, "children": [], - "id": 3308, + "id": 2800, "name": "ParameterList", - "src": "59288:0:1" + "src": "60972:0:0" }, { "children": [ @@ -74877,9 +74877,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3309, + "id": 2801, "name": "Identifier", - "src": "59298:7:1" + "src": "60983:7:0" }, { "attributes": { @@ -74923,7 +74923,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -74932,54 +74932,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3310, + "id": 2802, "name": "Identifier", - "src": "59306:6:1" + "src": "60991:6:0" } ], - "id": 3311, + "id": 2803, "name": "MemberAccess", - "src": "59306:14:1" + "src": "60991:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3312, + "id": 2804, "name": "Identifier", - "src": "59321:7:1" + "src": "61006:7:0" } ], - "id": 3313, + "id": 2805, "name": "FunctionCall", - "src": "59306:23:1" + "src": "60991:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3314, + "id": 2806, "name": "Identifier", - "src": "59333:4:1" + "src": "61018:4:0" } ], - "id": 3315, + "id": 2807, "name": "BinaryOperation", - "src": "59306:31:1" + "src": "60991:31:0" }, { "attributes": { @@ -74992,19 +74992,19 @@ "type": "literal_string \"ERC721: transfer of token that is not own\"", "value": "ERC721: transfer of token that is not own" }, - "id": 3316, + "id": 2808, "name": "Literal", - "src": "59339:43:1" + "src": "61024:43:0" } ], - "id": 3317, + "id": 2809, "name": "FunctionCall", - "src": "59298:85:1" + "src": "60983:85:0" } ], - "id": 3318, + "id": 2810, "name": "ExpressionStatement", - "src": "59298:85:1" + "src": "60983:85:0" }, { "children": [ @@ -75043,9 +75043,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3319, + "id": 2811, "name": "Identifier", - "src": "59411:7:1" + "src": "61097:7:0" }, { "attributes": { @@ -75066,13 +75066,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3320, + "id": 2812, "name": "Identifier", - "src": "59419:2:1" + "src": "61105:2:0" }, { "attributes": { @@ -75108,14 +75108,14 @@ "attributes": { "name": "address" }, - "id": 3321, + "id": 2813, "name": "ElementaryTypeName", - "src": "59425:7:1" + "src": "61111:7:0" } ], - "id": 3322, + "id": 2814, "name": "ElementaryTypeNameExpression", - "src": "59425:7:1" + "src": "61111:7:0" }, { "attributes": { @@ -75128,19 +75128,19 @@ "type": "int_const 0", "value": "0" }, - "id": 3323, + "id": 2815, "name": "Literal", - "src": "59433:1:1" + "src": "61119:1:0" } ], - "id": 3324, + "id": 2816, "name": "FunctionCall", - "src": "59425:10:1" + "src": "61111:10:0" } ], - "id": 3325, + "id": 2817, "name": "BinaryOperation", - "src": "59419:16:1" + "src": "61105:16:0" }, { "attributes": { @@ -75153,19 +75153,19 @@ "type": "literal_string \"ERC721: transfer to the zero address\"", "value": "ERC721: transfer to the zero address" }, - "id": 3326, + "id": 2818, "name": "Literal", - "src": "59437:38:1" + "src": "61123:38:0" } ], - "id": 3327, + "id": 2819, "name": "FunctionCall", - "src": "59411:65:1" + "src": "61097:65:0" } ], - "id": 3328, + "id": 2820, "name": "ExpressionStatement", - "src": "59411:65:1" + "src": "61097:65:0" }, { "children": [ @@ -75203,62 +75203,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3497, + "referencedDeclaration": 2989, "type": "function (address,address,uint256)", "value": "_beforeTokenTransfer" }, - "id": 3329, + "id": 2821, "name": "Identifier", - "src": "59487:20:1" + "src": "61175:20:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3330, + "id": 2822, "name": "Identifier", - "src": "59508:4:1" + "src": "61196:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3331, + "id": 2823, "name": "Identifier", - "src": "59514:2:1" + "src": "61202:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3332, + "id": 2824, "name": "Identifier", - "src": "59518:7:1" + "src": "61206:7:0" } ], - "id": 3333, + "id": 2825, "name": "FunctionCall", - "src": "59487:39:1" + "src": "61175:39:0" } ], - "id": 3334, + "id": 2826, "name": "ExpressionStatement", - "src": "59487:39:1" + "src": "61175:39:0" }, { "children": [ @@ -75292,13 +75292,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3486, + "referencedDeclaration": 2978, "type": "function (address,uint256)", "value": "_approve" }, - "id": 3335, + "id": 2827, "name": "Identifier", - "src": "59588:8:1" + "src": "61279:8:0" }, { "attributes": { @@ -75334,14 +75334,14 @@ "attributes": { "name": "address" }, - "id": 3336, + "id": 2828, "name": "ElementaryTypeName", - "src": "59597:7:1" + "src": "61288:7:0" } ], - "id": 3337, + "id": 2829, "name": "ElementaryTypeNameExpression", - "src": "59597:7:1" + "src": "61288:7:0" }, { "attributes": { @@ -75354,37 +75354,37 @@ "type": "int_const 0", "value": "0" }, - "id": 3338, + "id": 2830, "name": "Literal", - "src": "59605:1:1" + "src": "61296:1:0" } ], - "id": 3339, + "id": 2831, "name": "FunctionCall", - "src": "59597:10:1" + "src": "61288:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3340, + "id": 2832, "name": "Identifier", - "src": "59609:7:1" + "src": "61300:7:0" } ], - "id": 3341, + "id": 2833, "name": "FunctionCall", - "src": "59588:29:1" + "src": "61279:29:0" } ], - "id": 3342, + "id": 2834, "name": "ExpressionStatement", - "src": "59588:29:1" + "src": "61279:29:0" }, { "children": [ @@ -75416,7 +75416,7 @@ "isPure": false, "lValueRequested": false, "member_name": "remove", - "referencedDeclaration": 1866, + "referencedDeclaration": 1358, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75434,59 +75434,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3343, + "id": 2835, "name": "Identifier", - "src": "59628:13:1" + "src": "61321:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3344, + "id": 2836, "name": "Identifier", - "src": "59642:4:1" + "src": "61335:4:0" } ], - "id": 3345, + "id": 2837, "name": "IndexAccess", - "src": "59628:19:1" + "src": "61321:19:0" } ], - "id": 3346, + "id": 2838, "name": "MemberAccess", - "src": "59628:26:1" + "src": "61321:26:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3347, + "id": 2839, "name": "Identifier", - "src": "59655:7:1" + "src": "61348:7:0" } ], - "id": 3348, + "id": 2840, "name": "FunctionCall", - "src": "59628:35:1" + "src": "61321:35:0" } ], - "id": 3349, + "id": 2841, "name": "ExpressionStatement", - "src": "59628:35:1" + "src": "61321:35:0" }, { "children": [ @@ -75518,7 +75518,7 @@ "isPure": false, "lValueRequested": false, "member_name": "add", - "referencedDeclaration": 1846, + "referencedDeclaration": 1338, "type": "function (struct EnumerableSet.UintSet storage pointer,uint256) returns (bool)" }, "children": [ @@ -75536,59 +75536,59 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2600, + "referencedDeclaration": 2092, "type": "mapping(address => struct EnumerableSet.UintSet storage ref)", "value": "_holderTokens" }, - "id": 3350, + "id": 2842, "name": "Identifier", - "src": "59673:13:1" + "src": "61367:13:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3351, + "id": 2843, "name": "Identifier", - "src": "59687:2:1" + "src": "61381:2:0" } ], - "id": 3352, + "id": 2844, "name": "IndexAccess", - "src": "59673:17:1" + "src": "61367:17:0" } ], - "id": 3353, + "id": 2845, "name": "MemberAccess", - "src": "59673:21:1" + "src": "61367:21:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3354, + "id": 2846, "name": "Identifier", - "src": "59695:7:1" + "src": "61389:7:0" } ], - "id": 3355, + "id": 2847, "name": "FunctionCall", - "src": "59673:30:1" + "src": "61367:30:0" } ], - "id": 3356, + "id": 2848, "name": "ExpressionStatement", - "src": "59673:30:1" + "src": "61367:30:0" }, { "children": [ @@ -75624,7 +75624,7 @@ "isPure": false, "lValueRequested": false, "member_name": "set", - "referencedDeclaration": 2286, + "referencedDeclaration": 1778, "type": "function (struct EnumerableMap.UintToAddressMap storage pointer,uint256,address) returns (bool)" }, "children": [ @@ -75633,54 +75633,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2602, + "referencedDeclaration": 2094, "type": "struct EnumerableMap.UintToAddressMap storage ref", "value": "_tokenOwners" }, - "id": 3357, + "id": 2849, "name": "Identifier", - "src": "59714:12:1" + "src": "61410:12:0" } ], - "id": 3359, + "id": 2851, "name": "MemberAccess", - "src": "59714:16:1" + "src": "61410:16:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3360, + "id": 2852, "name": "Identifier", - "src": "59731:7:1" + "src": "61427:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3361, + "id": 2853, "name": "Identifier", - "src": "59740:2:1" + "src": "61436:2:0" } ], - "id": 3362, + "id": 2854, "name": "FunctionCall", - "src": "59714:29:1" + "src": "61410:29:0" } ], - "id": 3363, + "id": 2855, "name": "ExpressionStatement", - "src": "59714:29:1" + "src": "61410:29:0" }, { "children": [ @@ -75718,72 +75718,72 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 554, + "referencedDeclaration": 46, "type": "function (address,address,uint256)", "value": "Transfer" }, - "id": 3364, + "id": 2856, "name": "Identifier", - "src": "59759:8:1" + "src": "61457:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3302, + "referencedDeclaration": 2794, "type": "address", "value": "from" }, - "id": 3365, + "id": 2857, "name": "Identifier", - "src": "59768:4:1" + "src": "61466:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3304, + "referencedDeclaration": 2796, "type": "address", "value": "to" }, - "id": 3366, + "id": 2858, "name": "Identifier", - "src": "59774:2:1" + "src": "61472:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3306, + "referencedDeclaration": 2798, "type": "uint256", "value": "tokenId" }, - "id": 3367, + "id": 2859, "name": "Identifier", - "src": "59778:7:1" + "src": "61476:7:0" } ], - "id": 3368, + "id": 2860, "name": "FunctionCall", - "src": "59759:27:1" + "src": "61457:27:0" } ], - "id": 3369, + "id": 2861, "name": "EmitStatement", - "src": "59754:32:1" + "src": "61452:32:0" } ], - "id": 3370, + "id": 2862, "name": "Block", - "src": "59288:505:1" + "src": "60972:520:0" } ], - "id": 3371, + "id": 2863, "name": "FunctionDefinition", - "src": "59209:584:1" + "src": "60893:599:0" }, { "attributes": { @@ -75794,7 +75794,7 @@ null ], "name": "_setTokenURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -75804,9 +75804,9 @@ "attributes": { "text": " @dev Sets `_tokenURI` as the tokenURI of `tokenId`.\n Requirements:\n - `tokenId` must exist." }, - "id": 3372, + "id": 2864, "name": "StructuredDocumentation", - "src": "59799:136:1" + "src": "61500:142:0" }, { "children": [ @@ -75815,7 +75815,7 @@ "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -75827,21 +75827,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3373, + "id": 2865, "name": "ElementaryTypeName", - "src": "59962:7:1" + "src": "61670:7:0" } ], - "id": 3374, + "id": 2866, "name": "VariableDeclaration", - "src": "59962:15:1" + "src": "61670:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_tokenURI", - "scope": 3393, + "scope": 2885, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -75853,19 +75853,19 @@ "name": "string", "type": "string" }, - "id": 3375, + "id": 2867, "name": "ElementaryTypeName", - "src": "59979:6:1" + "src": "61687:6:0" } ], - "id": 3376, + "id": 2868, "name": "VariableDeclaration", - "src": "59979:23:1" + "src": "61687:23:0" } ], - "id": 3377, + "id": 2869, "name": "ParameterList", - "src": "59961:42:1" + "src": "61669:42:0" }, { "attributes": { @@ -75874,9 +75874,9 @@ ] }, "children": [], - "id": 3378, + "id": 2870, "name": "ParameterList", - "src": "60021:0:1" + "src": "61729:0:0" }, { "children": [ @@ -75917,9 +75917,9 @@ "type": "function (bool,string memory) pure", "value": "require" }, - "id": 3379, + "id": 2871, "name": "Identifier", - "src": "60031:7:1" + "src": "61740:7:0" }, { "attributes": { @@ -75947,31 +75947,31 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3085, + "referencedDeclaration": 2577, "type": "function (uint256) view returns (bool)", "value": "_exists" }, - "id": 3380, + "id": 2872, "name": "Identifier", - "src": "60039:7:1" + "src": "61748:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3381, + "id": 2873, "name": "Identifier", - "src": "60047:7:1" + "src": "61756:7:0" } ], - "id": 3382, + "id": 2874, "name": "FunctionCall", - "src": "60039:16:1" + "src": "61748:16:0" }, { "attributes": { @@ -75984,19 +75984,19 @@ "type": "literal_string \"ERC721Metadata: URI set of nonexistent token\"", "value": "ERC721Metadata: URI set of nonexistent token" }, - "id": 3383, + "id": 2875, "name": "Literal", - "src": "60057:46:1" + "src": "61766:46:0" } ], - "id": 3384, + "id": 2876, "name": "FunctionCall", - "src": "60031:73:1" + "src": "61740:73:0" } ], - "id": 3385, + "id": 2877, "name": "ExpressionStatement", - "src": "60031:73:1" + "src": "61740:73:0" }, { "children": [ @@ -76024,64 +76024,64 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2620, + "referencedDeclaration": 2112, "type": "mapping(uint256 => string storage ref)", "value": "_tokenURIs" }, - "id": 3386, + "id": 2878, "name": "Identifier", - "src": "60114:10:1" + "src": "61824:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3374, + "referencedDeclaration": 2866, "type": "uint256", "value": "tokenId" }, - "id": 3387, + "id": 2879, "name": "Identifier", - "src": "60125:7:1" + "src": "61835:7:0" } ], - "id": 3388, + "id": 2880, "name": "IndexAccess", - "src": "60114:19:1" + "src": "61824:19:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3376, + "referencedDeclaration": 2868, "type": "string memory", "value": "_tokenURI" }, - "id": 3389, + "id": 2881, "name": "Identifier", - "src": "60136:9:1" + "src": "61846:9:0" } ], - "id": 3390, + "id": 2882, "name": "Assignment", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3391, + "id": 2883, "name": "ExpressionStatement", - "src": "60114:31:1" + "src": "61824:31:0" } ], - "id": 3392, + "id": 2884, "name": "Block", - "src": "60021:131:1" + "src": "61729:134:0" } ], - "id": 3393, + "id": 2885, "name": "FunctionDefinition", - "src": "59940:212:1" + "src": "61648:215:0" }, { "attributes": { @@ -76092,7 +76092,7 @@ null ], "name": "_setBaseURI", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -76102,9 +76102,9 @@ "attributes": { "text": " @dev Internal function to set the base URI for all token IDs. It is\n automatically added as a prefix to the value returned in {tokenURI},\n or to the token ID if {tokenURI} is empty." }, - "id": 3394, + "id": 2886, "name": "StructuredDocumentation", - "src": "60158:212:1" + "src": "61871:216:0" }, { "children": [ @@ -76113,7 +76113,7 @@ "constant": false, "mutability": "mutable", "name": "baseURI_", - "scope": 3404, + "scope": 2896, "stateVariable": false, "storageLocation": "memory", "type": "string", @@ -76125,19 +76125,19 @@ "name": "string", "type": "string" }, - "id": 3395, + "id": 2887, "name": "ElementaryTypeName", - "src": "60396:6:1" + "src": "62114:6:0" } ], - "id": 3396, + "id": 2888, "name": "VariableDeclaration", - "src": "60396:22:1" + "src": "62114:22:0" } ], - "id": 3397, + "id": 2889, "name": "ParameterList", - "src": "60395:24:1" + "src": "62113:24:0" }, { "attributes": { @@ -76146,9 +76146,9 @@ ] }, "children": [], - "id": 3398, + "id": 2890, "name": "ParameterList", - "src": "60437:0:1" + "src": "62155:0:0" }, { "children": [ @@ -76169,46 +76169,46 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2622, + "referencedDeclaration": 2114, "type": "string storage ref", "value": "_baseURI" }, - "id": 3399, + "id": 2891, "name": "Identifier", - "src": "60447:8:1" + "src": "62166:8:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3396, + "referencedDeclaration": 2888, "type": "string memory", "value": "baseURI_" }, - "id": 3400, + "id": 2892, "name": "Identifier", - "src": "60458:8:1" + "src": "62177:8:0" } ], - "id": 3401, + "id": 2893, "name": "Assignment", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3402, + "id": 2894, "name": "ExpressionStatement", - "src": "60447:19:1" + "src": "62166:19:0" } ], - "id": 3403, + "id": 2895, "name": "Block", - "src": "60437:36:1" + "src": "62155:38:0" } ], - "id": 3404, + "id": 2896, "name": "FunctionDefinition", - "src": "60375:98:1" + "src": "62093:100:0" }, { "attributes": { @@ -76219,7 +76219,7 @@ null ], "name": "_checkOnERC721Received", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": false, "visibility": "private" @@ -76229,9 +76229,9 @@ "attributes": { "text": " @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.\n The call is not executed if the target address is not a contract.\n @param from address representing the previous owner of the given token ID\n @param to target address that will receive the tokens\n @param tokenId uint256 ID of the token to be transferred\n @param _data bytes optional data to send along with the call\n @return bool whether the call correctly returned the expected magic value" }, - "id": 3405, + "id": 2897, "name": "StructuredDocumentation", - "src": "60479:542:1" + "src": "62201:551:0" }, { "children": [ @@ -76240,7 +76240,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76253,21 +76253,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3406, + "id": 2898, "name": "ElementaryTypeName", - "src": "61058:7:1" + "src": "62790:7:0" } ], - "id": 3407, + "id": 2899, "name": "VariableDeclaration", - "src": "61058:12:1" + "src": "62790:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -76280,21 +76280,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3408, + "id": 2900, "name": "ElementaryTypeName", - "src": "61072:7:1" + "src": "62804:7:0" } ], - "id": 3409, + "id": 2901, "name": "VariableDeclaration", - "src": "61072:10:1" + "src": "62804:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -76306,21 +76306,21 @@ "name": "uint256", "type": "uint256" }, - "id": 3410, + "id": 2902, "name": "ElementaryTypeName", - "src": "61084:7:1" + "src": "62816:7:0" } ], - "id": 3411, + "id": 2903, "name": "VariableDeclaration", - "src": "61084:15:1" + "src": "62816:15:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "_data", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76332,19 +76332,19 @@ "name": "bytes", "type": "bytes" }, - "id": 3412, + "id": 2904, "name": "ElementaryTypeName", - "src": "61101:5:1" + "src": "62833:5:0" } ], - "id": 3413, + "id": 2905, "name": "VariableDeclaration", - "src": "61101:18:1" + "src": "62833:18:0" } ], - "id": 3414, + "id": 2906, "name": "ParameterList", - "src": "61057:63:1" + "src": "62789:63:0" }, { "children": [ @@ -76353,7 +76353,7 @@ "constant": false, "mutability": "mutable", "name": "", - "scope": 3462, + "scope": 2954, "stateVariable": false, "storageLocation": "default", "type": "bool", @@ -76365,19 +76365,19 @@ "name": "bool", "type": "bool" }, - "id": 3415, + "id": 2907, "name": "ElementaryTypeName", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3416, + "id": 2908, "name": "VariableDeclaration", - "src": "61146:4:1" + "src": "62879:4:0" } ], - "id": 3417, + "id": 2909, "name": "ParameterList", - "src": "61145:6:1" + "src": "62878:6:0" }, { "children": [ @@ -76423,7 +76423,7 @@ "isPure": false, "lValueRequested": false, "member_name": "isContract", - "referencedDeclaration": 1154, + "referencedDeclaration": 646, "type": "function (address) view returns (bool)" }, "children": [ @@ -76432,34 +76432,34 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3418, + "id": 2910, "name": "Identifier", - "src": "61171:2:1" + "src": "62906:2:0" } ], - "id": 3419, + "id": 2911, "name": "MemberAccess", - "src": "61171:13:1" + "src": "62906:13:0" } ], - "id": 3420, + "id": 2912, "name": "FunctionCall", - "src": "61171:15:1" + "src": "62906:15:0" } ], - "id": 3421, + "id": 2913, "name": "UnaryOperation", - "src": "61170:16:1" + "src": "62905:16:0" }, { "children": [ { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -76473,29 +76473,29 @@ "type": "bool", "value": "true" }, - "id": 3422, + "id": 2914, "name": "Literal", - "src": "61209:4:1" + "src": "62945:4:0" } ], - "id": 3423, + "id": 2915, "name": "Return", - "src": "61202:11:1" + "src": "62938:11:0" } ], - "id": 3424, + "id": 2916, "name": "Block", - "src": "61188:36:1" + "src": "62923:38:0" } ], - "id": 3425, + "id": 2917, "name": "IfStatement", - "src": "61166:58:1" + "src": "62901:60:0" }, { "attributes": { "assignments": [ - 3427 + 2919 ] }, "children": [ @@ -76504,7 +76504,7 @@ "constant": false, "mutability": "mutable", "name": "returndata", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "memory", "type": "bytes", @@ -76516,14 +76516,14 @@ "name": "bytes", "type": "bytes" }, - "id": 3426, + "id": 2918, "name": "ElementaryTypeName", - "src": "61233:5:1" + "src": "62971:5:0" } ], - "id": 3427, + "id": 2919, "name": "VariableDeclaration", - "src": "61233:23:1" + "src": "62971:23:0" }, { "attributes": { @@ -76557,7 +76557,7 @@ "isPure": false, "lValueRequested": false, "member_name": "functionCall", - "referencedDeclaration": 1225, + "referencedDeclaration": 717, "type": "function (address,bytes memory,string memory) returns (bytes memory)" }, "children": [ @@ -76566,18 +76566,18 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3428, + "id": 2920, "name": "Identifier", - "src": "61259:2:1" + "src": "62997:2:0" } ], - "id": 3429, + "id": 2921, "name": "MemberAccess", - "src": "61259:15:1" + "src": "62997:15:0" }, { "attributes": { @@ -76635,14 +76635,14 @@ "type": "abi", "value": "abi" }, - "id": 3430, + "id": 2922, "name": "Identifier", - "src": "61275:3:1" + "src": "63013:3:0" } ], - "id": 3431, + "id": 2923, "name": "MemberAccess", - "src": "61275:22:1" + "src": "63013:22:0" }, { "attributes": { @@ -76661,7 +76661,7 @@ "isPure": false, "lValueRequested": false, "member_name": "onERC721Received", - "referencedDeclaration": 725, + "referencedDeclaration": 217, "type": "function (address,address,uint256,bytes memory) external returns (bytes4)" }, "children": [ @@ -76691,41 +76691,41 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 726, + "referencedDeclaration": 218, "type": "type(contract IERC721Receiver)", "value": "IERC721Receiver" }, - "id": 3432, + "id": 2924, "name": "Identifier", - "src": "61311:15:1" + "src": "63050:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3409, + "referencedDeclaration": 2901, "type": "address", "value": "to" }, - "id": 3433, + "id": 2925, "name": "Identifier", - "src": "61327:2:1" + "src": "63066:2:0" } ], - "id": 3434, + "id": 2926, "name": "FunctionCall", - "src": "61311:19:1" + "src": "63050:19:0" } ], - "id": 3435, + "id": 2927, "name": "MemberAccess", - "src": "61311:36:1" + "src": "63050:36:0" } ], - "id": 3436, + "id": 2928, "name": "MemberAccess", - "src": "61311:45:1" + "src": "63050:45:0" }, { "attributes": { @@ -76753,62 +76753,62 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 518, + "referencedDeclaration": 10, "type": "function () view returns (address payable)", "value": "_msgSender" }, - "id": 3437, + "id": 2929, "name": "Identifier", - "src": "61370:10:1" + "src": "63110:10:0" } ], - "id": 3438, + "id": 2930, "name": "FunctionCall", - "src": "61370:12:1" + "src": "63110:12:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3407, + "referencedDeclaration": 2899, "type": "address", "value": "from" }, - "id": 3439, + "id": 2931, "name": "Identifier", - "src": "61396:4:1" + "src": "63137:4:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3411, + "referencedDeclaration": 2903, "type": "uint256", "value": "tokenId" }, - "id": 3440, + "id": 2932, "name": "Identifier", - "src": "61414:7:1" + "src": "63156:7:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3413, + "referencedDeclaration": 2905, "type": "bytes memory", "value": "_data" }, - "id": 3441, + "id": 2933, "name": "Identifier", - "src": "61435:5:1" + "src": "63178:5:0" } ], - "id": 3442, + "id": 2934, "name": "FunctionCall", - "src": "61275:175:1" + "src": "63013:181:0" }, { "attributes": { @@ -76821,24 +76821,24 @@ "type": "literal_string \"ERC721: transfer to non ERC721Receiver implementer\"", "value": "ERC721: transfer to non ERC721Receiver implementer" }, - "id": 3443, + "id": 2935, "name": "Literal", - "src": "61452:52:1" + "src": "63196:52:0" } ], - "id": 3444, + "id": 2936, "name": "FunctionCall", - "src": "61259:246:1" + "src": "62997:252:0" } ], - "id": 3445, + "id": 2937, "name": "VariableDeclarationStatement", - "src": "61233:272:1" + "src": "62971:278:0" }, { "attributes": { "assignments": [ - 3447 + 2939 ] }, "children": [ @@ -76847,7 +76847,7 @@ "constant": false, "mutability": "mutable", "name": "retval", - "scope": 3461, + "scope": 2953, "stateVariable": false, "storageLocation": "default", "type": "bytes4", @@ -76859,14 +76859,14 @@ "name": "bytes4", "type": "bytes4" }, - "id": 3446, + "id": 2938, "name": "ElementaryTypeName", - "src": "61515:6:1" + "src": "63260:6:0" } ], - "id": 3447, + "id": 2939, "name": "VariableDeclaration", - "src": "61515:13:1" + "src": "63260:13:0" }, { "attributes": { @@ -76912,27 +76912,27 @@ "type": "abi", "value": "abi" }, - "id": 3448, + "id": 2940, "name": "Identifier", - "src": "61531:3:1" + "src": "63276:3:0" } ], - "id": 3449, + "id": 2941, "name": "MemberAccess", - "src": "61531:10:1" + "src": "63276:10:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3427, + "referencedDeclaration": 2919, "type": "bytes memory", "value": "returndata" }, - "id": 3450, + "id": 2942, "name": "Identifier", - "src": "61542:10:1" + "src": "63287:10:0" }, { "attributes": { @@ -76957,33 +76957,33 @@ "attributes": { "name": "bytes4" }, - "id": 3451, + "id": 2943, "name": "ElementaryTypeName", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3452, + "id": 2944, "name": "ElementaryTypeNameExpression", - "src": "61555:6:1" + "src": "63300:6:0" } ], - "id": 3453, + "id": 2945, "name": "TupleExpression", - "src": "61554:8:1" + "src": "63299:8:0" } ], - "id": 3454, + "id": 2946, "name": "FunctionCall", - "src": "61531:32:1" + "src": "63276:32:0" } ], - "id": 3455, + "id": 2947, "name": "VariableDeclarationStatement", - "src": "61515:48:1" + "src": "63260:48:0" }, { "attributes": { - "functionReturnParameters": 3417 + "functionReturnParameters": 2909 }, "children": [ { @@ -77015,51 +77015,51 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3447, + "referencedDeclaration": 2939, "type": "bytes4", "value": "retval" }, - "id": 3456, + "id": 2948, "name": "Identifier", - "src": "61581:6:1" + "src": "63327:6:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 2596, + "referencedDeclaration": 2088, "type": "bytes4", "value": "_ERC721_RECEIVED" }, - "id": 3457, + "id": 2949, "name": "Identifier", - "src": "61591:16:1" + "src": "63337:16:0" } ], - "id": 3458, + "id": 2950, "name": "BinaryOperation", - "src": "61581:26:1" + "src": "63327:26:0" } ], - "id": 3459, + "id": 2951, "name": "TupleExpression", - "src": "61580:28:1" + "src": "63326:28:0" } ], - "id": 3460, + "id": 2952, "name": "Return", - "src": "61573:35:1" + "src": "63319:35:0" } ], - "id": 3461, + "id": 2953, "name": "Block", - "src": "61156:459:1" + "src": "62890:472:0" } ], - "id": 3462, + "id": 2954, "name": "FunctionDefinition", - "src": "61026:589:1" + "src": "62758:604:0" }, { "attributes": { @@ -77070,7 +77070,7 @@ null ], "name": "_approve", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77080,9 +77080,9 @@ "attributes": { "text": " @dev Approve `to` to operate on `tokenId`\n Emits an {Approval} event." }, - "id": 3463, + "id": 2955, "name": "StructuredDocumentation", - "src": "61621:101:1" + "src": "63370:105:0" }, { "children": [ @@ -77091,7 +77091,7 @@ "constant": false, "mutability": "mutable", "name": "to", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77104,21 +77104,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3464, + "id": 2956, "name": "ElementaryTypeName", - "src": "61745:7:1" + "src": "63499:7:0" } ], - "id": 3465, + "id": 2957, "name": "VariableDeclaration", - "src": "61745:10:1" + "src": "63499:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3486, + "scope": 2978, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77130,19 +77130,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3466, + "id": 2958, "name": "ElementaryTypeName", - "src": "61757:7:1" + "src": "63511:7:0" } ], - "id": 3467, + "id": 2959, "name": "VariableDeclaration", - "src": "61757:15:1" + "src": "63511:15:0" } ], - "id": 3468, + "id": 2960, "name": "ParameterList", - "src": "61744:29:1" + "src": "63498:29:0" }, { "attributes": { @@ -77151,9 +77151,9 @@ ] }, "children": [], - "id": 3469, + "id": 2961, "name": "ParameterList", - "src": "61791:0:1" + "src": "63545:0:0" }, { "children": [ @@ -77183,54 +77183,54 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 2606, + "referencedDeclaration": 2098, "type": "mapping(uint256 => address)", "value": "_tokenApprovals" }, - "id": 3470, + "id": 2962, "name": "Identifier", - "src": "61801:15:1" + "src": "63556:15:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3471, + "id": 2963, "name": "Identifier", - "src": "61817:7:1" + "src": "63572:7:0" } ], - "id": 3472, + "id": 2964, "name": "IndexAccess", - "src": "61801:24:1" + "src": "63556:24:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3473, + "id": 2965, "name": "Identifier", - "src": "61828:2:1" + "src": "63583:2:0" } ], - "id": 3474, + "id": 2966, "name": "Assignment", - "src": "61801:29:1" + "src": "63556:29:0" } ], - "id": 3475, + "id": 2967, "name": "ExpressionStatement", - "src": "61801:29:1" + "src": "63556:29:0" }, { "children": [ @@ -77268,13 +77268,13 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 563, + "referencedDeclaration": 55, "type": "function (address,address,uint256)", "value": "Approval" }, - "id": 3476, + "id": 2968, "name": "Identifier", - "src": "61845:8:1" + "src": "63601:8:0" }, { "attributes": { @@ -77304,7 +77304,7 @@ "isPure": false, "lValueRequested": false, "member_name": "ownerOf", - "referencedDeclaration": 2702, + "referencedDeclaration": 2194, "type": "function (uint256) view returns (address)" }, "children": [ @@ -77313,82 +77313,82 @@ "overloadedDeclarations": [ null ], - "referencedDeclaration": 3498, + "referencedDeclaration": 2990, "type": "type(contract ERC721)", "value": "ERC721" }, - "id": 3477, + "id": 2969, "name": "Identifier", - "src": "61854:6:1" + "src": "63610:6:0" } ], - "id": 3478, + "id": 2970, "name": "MemberAccess", - "src": "61854:14:1" + "src": "63610:14:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3479, + "id": 2971, "name": "Identifier", - "src": "61869:7:1" + "src": "63625:7:0" } ], - "id": 3480, + "id": 2972, "name": "FunctionCall", - "src": "61854:23:1" + "src": "63610:23:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3465, + "referencedDeclaration": 2957, "type": "address", "value": "to" }, - "id": 3481, + "id": 2973, "name": "Identifier", - "src": "61879:2:1" + "src": "63635:2:0" }, { "attributes": { "overloadedDeclarations": [ null ], - "referencedDeclaration": 3467, + "referencedDeclaration": 2959, "type": "uint256", "value": "tokenId" }, - "id": 3482, + "id": 2974, "name": "Identifier", - "src": "61883:7:1" + "src": "63639:7:0" } ], - "id": 3483, + "id": 2975, "name": "FunctionCall", - "src": "61845:46:1" + "src": "63601:46:0" } ], - "id": 3484, + "id": 2976, "name": "EmitStatement", - "src": "61840:51:1" + "src": "63596:51:0" } ], - "id": 3485, + "id": 2977, "name": "Block", - "src": "61791:125:1" + "src": "63545:128:0" } ], - "id": 3486, + "id": 2978, "name": "FunctionDefinition", - "src": "61727:189:1" + "src": "63481:192:0" }, { "attributes": { @@ -77399,7 +77399,7 @@ null ], "name": "_beforeTokenTransfer", - "scope": 3498, + "scope": 2990, "stateMutability": "nonpayable", "virtual": true, "visibility": "internal" @@ -77409,9 +77409,9 @@ "attributes": { "text": " @dev Hook that is called before any token transfer. This includes minting\n and burning.\n Calling conditions:\n - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be\n transferred to `to`.\n - When `from` is zero, `tokenId` will be minted for `to`.\n - When `to` is zero, ``from``'s `tokenId` will be burned.\n - `from` cannot be the zero address.\n - `to` cannot be the zero address.\n To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]." }, - "id": 3487, + "id": 2979, "name": "StructuredDocumentation", - "src": "61922:585:1" + "src": "63681:599:0" }, { "children": [ @@ -77420,7 +77420,7 @@ "constant": false, "mutability": "mutable", "name": "from", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77433,21 +77433,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3488, + "id": 2980, "name": "ElementaryTypeName", - "src": "62542:7:1" + "src": "64316:7:0" } ], - "id": 3489, + "id": 2981, "name": "VariableDeclaration", - "src": "62542:12:1" + "src": "64316:12:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "to", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "address", @@ -77460,21 +77460,21 @@ "stateMutability": "nonpayable", "type": "address" }, - "id": 3490, + "id": 2982, "name": "ElementaryTypeName", - "src": "62556:7:1" + "src": "64330:7:0" } ], - "id": 3491, + "id": 2983, "name": "VariableDeclaration", - "src": "62556:10:1" + "src": "64330:10:0" }, { "attributes": { "constant": false, "mutability": "mutable", "name": "tokenId", - "scope": 3497, + "scope": 2989, "stateVariable": false, "storageLocation": "default", "type": "uint256", @@ -77486,19 +77486,19 @@ "name": "uint256", "type": "uint256" }, - "id": 3492, + "id": 2984, "name": "ElementaryTypeName", - "src": "62568:7:1" + "src": "64342:7:0" } ], - "id": 3493, + "id": 2985, "name": "VariableDeclaration", - "src": "62568:15:1" + "src": "64342:15:0" } ], - "id": 3494, + "id": 2986, "name": "ParameterList", - "src": "62541:43:1" + "src": "64315:43:0" }, { "attributes": { @@ -77507,9 +77507,9 @@ ] }, "children": [], - "id": 3495, + "id": 2987, "name": "ParameterList", - "src": "62602:0:1" + "src": "64376:0:0" }, { "attributes": { @@ -77518,32 +77518,32 @@ ] }, "children": [], - "id": 3496, + "id": 2988, "name": "Block", - "src": "62602:3:1" + "src": "64376:3:0" } ], - "id": 3497, + "id": 2989, "name": "FunctionDefinition", - "src": "62512:93:1" + "src": "64286:93:0" } ], - "id": 3498, + "id": 2990, "name": "ContractDefinition", - "src": "46080:16527:1" + "src": "47398:16984:0" } ], - "id": 3499, + "id": 2991, "name": "SourceUnit", - "src": "84:62524:1" + "src": "87:64297:0" }, "compiler": { "name": "solc", "version": "0.7.6+commit.7338295f.Emscripten.clang" }, "networks": {}, - "schemaVersion": "3.3.4", - "updatedAt": "2021-03-13T11:18:08.565Z", + "schemaVersion": "3.4.3", + "updatedAt": "2021-10-13T09:55:47.937Z", "devdoc": { "details": "String operations.", "kind": "dev", diff --git a/src/components/AllCryptoBoys/AllCryptoBoys.jsx b/src/components/AllCryptoBoys/AllCryptoBoys.jsx index 6a9d628..6ccd64e 100644 --- a/src/components/AllCryptoBoys/AllCryptoBoys.jsx +++ b/src/components/AllCryptoBoys/AllCryptoBoys.jsx @@ -3,8 +3,8 @@ import CryptoBoyNFTImage from "../CryptoBoyNFTImage/CryptoBoyNFTImage"; import CryptoBoyNFTDetails from "../CryptoBoyNFTDetails/CryptoBoyNFTDetails"; import Loading from "../Loading/Loading"; -const AllCryptoBoys = ({ - cryptoBoys, +const AllBscBoys = ({ + BscBoys, accountAddress, totalTokensMinted, changeTokenPrice, @@ -14,14 +14,14 @@ const AllCryptoBoys = ({ const [loading, setLoading] = useState(false); useEffect(() => { - if (cryptoBoys.length !== 0) { - if (cryptoBoys[0].metaData !== undefined) { + if (BscBoys.length !== 0) { + if (BscBoys[0].metaData !== undefined) { setLoading(loading); } else { setLoading(false); } } - }, [cryptoBoys]); + }, [BscBoys]); return (
@@ -34,7 +34,7 @@ const AllCryptoBoys = ({
- {cryptoBoys.map((cryptoboy) => { + {BscBoys.map((cryptoboy) => { return (
{ - if (this.state.cryptoBoys.length !== 0) { - this.state.cryptoBoys.map(async (cryptoboy) => { + if (this.state.BscBoys.length !== 0) { + this.state.BscBoys.map(async (cryptoboy) => { const result = await fetch(cryptoboy.tokenURI); const metaData = await result.json(); this.setState({ - cryptoBoys: this.state.cryptoBoys.map((cryptoboy) => + BscBoys: this.state.BscBoys.map((cryptoboy) => cryptoboy.tokenId.toNumber() === Number(metaData.tokenId) ? { ...cryptoboy, @@ -177,7 +177,7 @@ class App extends Component { let colorsUsed = []; for (let i = 0; i < colorsArray.length; i++) { if (colorsArray[i] !== "") { - let colorIsUsed = await this.state.cryptoBoysContract.methods + let colorIsUsed = await this.state.BscBoysContract.methods .colorExists(colorsArray[i]) .call(); if (colorIsUsed) { @@ -187,7 +187,7 @@ class App extends Component { } } } - const nameIsUsed = await this.state.cryptoBoysContract.methods + const nameIsUsed = await this.state.BscBoysContract.methods .tokenNameExists(name) .call(); if (colorsUsed.length === 0 && !nameIsUsed) { @@ -209,7 +209,7 @@ class App extends Component { bodyBorderColor, } = colors; let previousTokenId; - previousTokenId = await this.state.cryptoBoysContract.methods + previousTokenId = await this.state.BscBoysContract.methods .cryptoBoyCounter() .call(); previousTokenId = previousTokenId.toNumber(); @@ -243,7 +243,7 @@ class App extends Component { const cid = await ipfs.add(JSON.stringify(tokenObject)); let tokenURI = `https://ipfs.infura.io/ipfs/${cid.path}`; const price = window.web3.utils.toWei(tokenPrice.toString(), "Ether"); - this.state.cryptoBoysContract.methods + this.state.BscBoysContract.methods .mintCryptoBoy(name, tokenURI, price, colorsArray) .send({ from: this.state.accountAddress }) .on("confirmation", () => { @@ -265,7 +265,7 @@ class App extends Component { toggleForSale = (tokenId) => { this.setState({ loading: true }); - this.state.cryptoBoysContract.methods + this.state.BscBoysContract.methods .toggleForSale(tokenId) .send({ from: this.state.accountAddress }) .on("confirmation", () => { @@ -277,7 +277,7 @@ class App extends Component { changeTokenPrice = (tokenId, newPrice) => { this.setState({ loading: true }); const newTokenPrice = window.web3.utils.toWei(newPrice, "Ether"); - this.state.cryptoBoysContract.methods + this.state.BscBoysContract.methods .changeTokenPrice(tokenId, newTokenPrice) .send({ from: this.state.accountAddress }) .on("confirmation", () => { @@ -288,7 +288,7 @@ class App extends Component { buyCryptoBoy = (tokenId, price) => { this.setState({ loading: true }); - this.state.cryptoBoysContract.methods + this.state.BscBoysContract.methods .buyToken(tokenId) .send({ from: this.state.accountAddress, value: price }) .on("confirmation", () => { @@ -335,9 +335,9 @@ class App extends Component { ( - ( - ( - + )} /> diff --git a/src/components/ConnectMetamask/ConnectToMetamask.jsx b/src/components/ConnectMetamask/ConnectToMetamask.jsx index ca61087..030d78e 100644 --- a/src/components/ConnectMetamask/ConnectToMetamask.jsx +++ b/src/components/ConnectMetamask/ConnectToMetamask.jsx @@ -9,7 +9,7 @@ const ConnectToMetamask = ({ connectToMetamask }) => {

This is an NFT marketplace where you can mint your ERC721 implemented{" "} - Crypto Boy NFTs and manage them. + BNB Boy NFTs and manage them.


- {myCryptoBoys.map((cryptoboy) => { + {myBscBoys.map((cryptoboy) => { return (
{ const getTokenOwner = async (e) => { e.preventDefault(); try { - const owner = await props.cryptoBoysContract.methods + const owner = await props.BscBoysContract.methods .getTokenOwner(tokenIdForOwner) .call(); setTokenOwner(owner); @@ -32,7 +32,7 @@ const Queries = (props) => { const getTokenMetadata = async (e) => { e.preventDefault(); try { - const metadata = await props.cryptoBoysContract.methods + const metadata = await props.BscBoysContract.methods .getTokenMetaData(tokenIdForMetadata) .call(); setTokenMetadata( diff --git a/src/contracts/CryptoBoys.sol b/src/contracts/CryptoBoys.sol index a156e20..e69de29 100644 --- a/src/contracts/CryptoBoys.sol +++ b/src/contracts/CryptoBoys.sol @@ -1,195 +0,0 @@ -// SPDX-License-Identifier: MIT -pragma solidity >=0.4.21 <0.8.0; -pragma abicoder v2; - -// import ERC721 iterface -import "./ERC721.sol"; - -// CryptoBoys smart contract inherits ERC721 interface -contract CryptoBoys is ERC721 { - - // this contract's token collection name - string public collectionName; - // this contract's token symbol - string public collectionNameSymbol; - // total number of crypto boys minted - uint256 public cryptoBoyCounter; - - // define crypto boy struct - struct CryptoBoy { - uint256 tokenId; - string tokenName; - string tokenURI; - address payable mintedBy; - address payable currentOwner; - address payable previousOwner; - uint256 price; - uint256 numberOfTransfers; - bool forSale; - } - - // map cryptoboy's token id to crypto boy - mapping(uint256 => CryptoBoy) public allCryptoBoys; - // check if token name exists - mapping(string => bool) public tokenNameExists; - // check if color exists - mapping(string => bool) public colorExists; - // check if token URI exists - mapping(string => bool) public tokenURIExists; - - // initialize contract while deployment with contract's collection name and token - constructor() ERC721("Crypto Boys Collection", "CB") { - collectionName = name(); - collectionNameSymbol = symbol(); - } - - // mint a new crypto boy - function mintCryptoBoy(string memory _name, string memory _tokenURI, uint256 _price, string[] calldata _colors) external { - // check if thic fucntion caller is not an zero address account - require(msg.sender != address(0)); - // increment counter - cryptoBoyCounter ++; - // check if a token exists with the above token id => incremented counter - require(!_exists(cryptoBoyCounter)); - - // loop through the colors passed and check if each colors already exists or not - for(uint i=0; i<_colors.length; i++) { - require(!colorExists[_colors[i]]); - } - // check if the token URI already exists or not - require(!tokenURIExists[_tokenURI]); - // check if the token name already exists or not - require(!tokenNameExists[_name]); - - // mint the token - _mint(msg.sender, cryptoBoyCounter); - // set token URI (bind token id with the passed in token URI) - _setTokenURI(cryptoBoyCounter, _tokenURI); - - // loop through the colors passed and make each of the colors as exists since the token is already minted - for (uint i=0; i<_colors.length; i++) { - colorExists[_colors[i]] = true; - } - // make passed token URI as exists - tokenURIExists[_tokenURI] = true; - // make token name passed as exists - tokenNameExists[_name] = true; - - // creat a new crypto boy (struct) and pass in new values - CryptoBoy memory newCryptoBoy = CryptoBoy( - cryptoBoyCounter, - _name, - _tokenURI, - msg.sender, - msg.sender, - address(0), - _price, - 0, - true); - // add the token id and it's crypto boy to all crypto boys mapping - allCryptoBoys[cryptoBoyCounter] = newCryptoBoy; - } - - // get owner of the token - function getTokenOwner(uint256 _tokenId) public view returns(address) { - address _tokenOwner = ownerOf(_tokenId); - return _tokenOwner; - } - - // get metadata of the token - function getTokenMetaData(uint _tokenId) public view returns(string memory) { - string memory tokenMetaData = tokenURI(_tokenId); - return tokenMetaData; - } - - // get total number of tokens minted so far - function getNumberOfTokensMinted() public view returns(uint256) { - uint256 totalNumberOfTokensMinted = totalSupply(); - return totalNumberOfTokensMinted; - } - - // get total number of tokens owned by an address - function getTotalNumberOfTokensOwnedByAnAddress(address _owner) public view returns(uint256) { - uint256 totalNumberOfTokensOwned = balanceOf(_owner); - return totalNumberOfTokensOwned; - } - - // check if the token already exists - function getTokenExists(uint256 _tokenId) public view returns(bool) { - bool tokenExists = _exists(_tokenId); - return tokenExists; - } - - // by a token by passing in the token's id - function buyToken(uint256 _tokenId) public payable { - // check if the function caller is not an zero account address - require(msg.sender != address(0)); - // check if the token id of the token being bought exists or not - require(_exists(_tokenId)); - // get the token's owner - address tokenOwner = ownerOf(_tokenId); - // token's owner should not be an zero address account - require(tokenOwner != address(0)); - // the one who wants to buy the token should not be the token's owner - require(tokenOwner != msg.sender); - // get that token from all crypto boys mapping and create a memory of it defined as (struct => CryptoBoy) - CryptoBoy memory cryptoboy = allCryptoBoys[_tokenId]; - // price sent in to buy should be equal to or more than the token's price - require(msg.value >= cryptoboy.price); - // token should be for sale - require(cryptoboy.forSale); - // transfer the token from owner to the caller of the function (buyer) - _transfer(tokenOwner, msg.sender, _tokenId); - // get owner of the token - address payable sendTo = cryptoboy.currentOwner; - // send token's worth of ethers to the owner - sendTo.transfer(msg.value); - // update the token's previous owner - cryptoboy.previousOwner = cryptoboy.currentOwner; - // update the token's current owner - cryptoboy.currentOwner = msg.sender; - // update the how many times this token was transfered - cryptoboy.numberOfTransfers += 1; - // set and update that token in the mapping - allCryptoBoys[_tokenId] = cryptoboy; - } - - function changeTokenPrice(uint256 _tokenId, uint256 _newPrice) public { - // require caller of the function is not an empty address - require(msg.sender != address(0)); - // require that token should exist - require(_exists(_tokenId)); - // get the token's owner - address tokenOwner = ownerOf(_tokenId); - // check that token's owner should be equal to the caller of the function - require(tokenOwner == msg.sender); - // get that token from all crypto boys mapping and create a memory of it defined as (struct => CryptoBoy) - CryptoBoy memory cryptoboy = allCryptoBoys[_tokenId]; - // update token's price with new price - cryptoboy.price = _newPrice; - // set and update that token in the mapping - allCryptoBoys[_tokenId] = cryptoboy; - } - - // switch between set for sale and set not for sale - function toggleForSale(uint256 _tokenId) public { - // require caller of the function is not an empty address - require(msg.sender != address(0)); - // require that token should exist - require(_exists(_tokenId)); - // get the token's owner - address tokenOwner = ownerOf(_tokenId); - // check that token's owner should be equal to the caller of the function - require(tokenOwner == msg.sender); - // get that token from all crypto boys mapping and create a memory of it defined as (struct => CryptoBoy) - CryptoBoy memory cryptoboy = allCryptoBoys[_tokenId]; - // if token's forSale is false make it true and vice versa - if(cryptoboy.forSale) { - cryptoboy.forSale = false; - } else { - cryptoboy.forSale = true; - } - // set and update that token in the mapping - allCryptoBoys[_tokenId] = cryptoboy; - } -} \ No newline at end of file diff --git a/src/contracts/NFTCREATE.sol b/src/contracts/NFTCREATE.sol new file mode 100644 index 0000000..a53d267 --- /dev/null +++ b/src/contracts/NFTCREATE.sol @@ -0,0 +1,195 @@ +// SPDX-License-Identifier: MIT +pragma solidity ^0.8.9; +pragma abicoder v2; + +// import ERC721 iterface +import "./ERC721.sol"; + +// BscBoys smart contract inherits ERC721 interface +contract BscBoys is ERC721 { + + // this contract's token collection name + string public collectionName; + // this contract's token symbol + string public collectionNameSymbol; + // total number of crypto boys minted + uint256 public cryptoBoyCounter; + + // define crypto boy struct + struct CryptoBoy { + uint256 tokenId; + string tokenName; + string tokenURI; + address payable mintedBy; + address payable currentOwner; + address payable previousOwner; + uint256 price; + uint256 numberOfTransfers; + bool forSale; + } + + // map cryptoboy's token id to crypto boy + mapping(uint256 => CryptoBoy) public allBscBoys; + // check if token name exists + mapping(string => bool) public tokenNameExists; + // check if color exists + mapping(string => bool) public colorExists; + // check if token URI exists + mapping(string => bool) public tokenURIExists; + + // initialize contract while deployment with contract's collection name and token + constructor() ERC721("Crypto Boys Collection", "CB") { + collectionName = name(); + collectionNameSymbol = symbol(); + } + + // mint a new crypto boy + function mintCryptoBoy(string memory _name, string memory _tokenURI, uint256 _price, string[] calldata _colors) external { + // check if thic fucntion caller is not an zero address account + require(msg.sender != address(0)); + // increment counter + cryptoBoyCounter ++; + // check if a token exists with the above token id => incremented counter + require(!_exists(cryptoBoyCounter)); + + // loop through the colors passed and check if each colors already exists or not + for(uint i=0; i<_colors.length; i++) { + require(!colorExists[_colors[i]]); + } + // check if the token URI already exists or not + require(!tokenURIExists[_tokenURI]); + // check if the token name already exists or not + require(!tokenNameExists[_name]); + + // mint the token + _mint(msg.sender, cryptoBoyCounter); + // set token URI (bind token id with the passed in token URI) + _setTokenURI(cryptoBoyCounter, _tokenURI); + + // loop through the colors passed and make each of the colors as exists since the token is already minted + for (uint i=0; i<_colors.length; i++) { + colorExists[_colors[i]] = true; + } + // make passed token URI as exists + tokenURIExists[_tokenURI] = true; + // make token name passed as exists + tokenNameExists[_name] = true; + + // creat a new crypto boy (struct) and pass in new values + CryptoBoy memory newCryptoBoy = CryptoBoy( + cryptoBoyCounter, + _name, + _tokenURI, + msg.sender, + msg.sender, + address(0), + _price, + 0, + true); + // add the token id and it's crypto boy to all crypto boys mapping + allBscBoys[cryptoBoyCounter] = newCryptoBoy; + } + + // get owner of the token + function getTokenOwner(uint256 _tokenId) public view returns(address) { + address _tokenOwner = ownerOf(_tokenId); + return _tokenOwner; + } + + // get metadata of the token + function getTokenMetaData(uint _tokenId) public view returns(string memory) { + string memory tokenMetaData = tokenURI(_tokenId); + return tokenMetaData; + } + + // get total number of tokens minted so far + function getNumberOfTokensMinted() public view returns(uint256) { + uint256 totalNumberOfTokensMinted = totalSupply(); + return totalNumberOfTokensMinted; + } + + // get total number of tokens owned by an address + function getTotalNumberOfTokensOwnedByAnAddress(address _owner) public view returns(uint256) { + uint256 totalNumberOfTokensOwned = balanceOf(_owner); + return totalNumberOfTokensOwned; + } + + // check if the token already exists + function getTokenExists(uint256 _tokenId) public view returns(bool) { + bool tokenExists = _exists(_tokenId); + return tokenExists; + } + + // by a token by passing in the token's id + function buyToken(uint256 _tokenId) public payable { + // check if the function caller is not an zero account address + require(msg.sender != address(0)); + // check if the token id of the token being bought exists or not + require(_exists(_tokenId)); + // get the token's owner + address tokenOwner = ownerOf(_tokenId); + // token's owner should not be an zero address account + require(tokenOwner != address(0)); + // the one who wants to buy the token should not be the token's owner + require(tokenOwner != msg.sender); + // get that token from all crypto boys mapping and create a memory of it defined as (struct => CryptoBoy) + CryptoBoy memory cryptoboy = allBscBoys[_tokenId]; + // price sent in to buy should be equal to or more than the token's price + require(msg.value >= cryptoboy.price); + // token should be for sale + require(cryptoboy.forSale); + // transfer the token from owner to the caller of the function (buyer) + _transfer(tokenOwner, msg.sender, _tokenId); + // get owner of the token + address payable sendTo = cryptoboy.currentOwner; + // send token's worth of ethers to the owner + sendTo.transfer(msg.value); + // update the token's previous owner + cryptoboy.previousOwner = cryptoboy.currentOwner; + // update the token's current owner + cryptoboy.currentOwner = msg.sender; + // update the how many times this token was transfered + cryptoboy.numberOfTransfers += 1; + // set and update that token in the mapping + allBscBoys[_tokenId] = cryptoboy; + } + + function changeTokenPrice(uint256 _tokenId, uint256 _newPrice) public { + // require caller of the function is not an empty address + require(msg.sender != address(0)); + // require that token should exist + require(_exists(_tokenId)); + // get the token's owner + address tokenOwner = ownerOf(_tokenId); + // check that token's owner should be equal to the caller of the function + require(tokenOwner == msg.sender); + // get that token from all crypto boys mapping and create a memory of it defined as (struct => CryptoBoy) + CryptoBoy memory cryptoboy = allBscBoys[_tokenId]; + // update token's price with new price + cryptoboy.price = _newPrice; + // set and update that token in the mapping + allBscBoys[_tokenId] = cryptoboy; + } + + // switch between set for sale and set not for sale + function toggleForSale(uint256 _tokenId) public { + // require caller of the function is not an empty address + require(msg.sender != address(0)); + // require that token should exist + require(_exists(_tokenId)); + // get the token's owner + address tokenOwner = ownerOf(_tokenId); + // check that token's owner should be equal to the caller of the function + require(tokenOwner == msg.sender); + // get that token from all crypto boys mapping and create a memory of it defined as (struct => CryptoBoy) + CryptoBoy memory cryptoboy = allBscBoys[_tokenId]; + // if token's forSale is false make it true and vice versa + if(cryptoboy.forSale) { + cryptoboy.forSale = false; + } else { + cryptoboy.forSale = true; + } + // set and update that token in the mapping + allBscBoys[_tokenId] = cryptoboy; + } +} \ No newline at end of file diff --git a/test/CryptoBoys.test.js b/test/CryptoBoys.test.js index 5e1633a..95e3dac 100644 --- a/test/CryptoBoys.test.js +++ b/test/CryptoBoys.test.js @@ -1,21 +1,21 @@ const { assert } = require("chai"); -const CryptoBoys = artifacts.require("./CryptoBoys.sol"); +const BscBoys = artifacts.require("./BscBoys.sol"); require("chai") .use(require("chai-as-promised")) .should(); contract("Crypto Boys", async (accounts) => { - let cryptoBoys, result, cryptoBoyCount; + let BscBoys, result, cryptoBoyCount; before(async () => { - cryptoBoys = await CryptoBoys.deployed(); + BscBoys = await BscBoys.deployed(); }); describe("Deployment", async () => { it("contract has an address", async () => { - const address = await cryptoBoys.address; + const address = await BscBoys.address; assert.notEqual(address, 0x0); assert.notEqual(address, ""); assert.notEqual(address, null); @@ -23,34 +23,34 @@ contract("Crypto Boys", async (accounts) => { }); it("has a name", async () => { - const name = await cryptoBoys.collectionName(); + const name = await BscBoys.collectionName(); assert.equal(name, "Crypto Boys Collection"); }); it("has a symbol", async () => { - const symbol = await cryptoBoys.collectionNameSymbol(); + const symbol = await BscBoys.collectionNameSymbol(); assert.equal(symbol, "CB"); }); }); describe("application features", async () => { it("allows users to mint ERC721 token", async () => { - cryptoBoyCount = await cryptoBoys.cryptoBoyCounter(); + cryptoBoyCount = await BscBoys.cryptoBoyCounter(); assert.equal(cryptoBoyCount.toNumber(), 0); let tokenExists; - tokenExists = await cryptoBoys.getTokenExists(1, { from: accounts[0] }); + tokenExists = await BscBoys.getTokenExists(1, { from: accounts[0] }); assert.equal(tokenExists, false); let tokenURIExists; - tokenURIExists = await cryptoBoys.tokenURIExists( + tokenURIExists = await BscBoys.tokenURIExists( "https://gateway.pinata.cloud/ipfs/QmYFmJgQGH4uPHRYN15Xdv4aLd9o4Aq63y1e4GgN6kj5aK/2", { from: accounts[0] } ); assert.equal(tokenURIExists, false); let tokenNameExists; - tokenNameExists = await cryptoBoys.tokenNameExists("myCBNFT", { + tokenNameExists = await BscBoys.tokenNameExists("myCBNFT", { from: accounts[0], }); assert.equal(tokenNameExists, false); @@ -74,13 +74,13 @@ contract("Crypto Boys", async (accounts) => { "#4281a4", ]; for (let i = 0; i < colorsArray1.length; i++) { - colorExists = await cryptoBoys.colorExists(colorsArray1[i], { + colorExists = await BscBoys.colorExists(colorsArray1[i], { from: accounts[0], }); assert.equal(colorExists, false); } - result = await cryptoBoys.mintCryptoBoy( + result = await BscBoys.mintCryptoBoy( "myCBNFT", "https://gateway.pinata.cloud/ipfs/QmYFmJgQGH4uPHRYN15Xdv4aLd9o4Aq63y1e4GgN6kj5aK/2", web3.utils.toWei("1", "Ether"), @@ -88,32 +88,32 @@ contract("Crypto Boys", async (accounts) => { { from: accounts[0] } ); - cryptoBoyCount = await cryptoBoys.cryptoBoyCounter(); + cryptoBoyCount = await BscBoys.cryptoBoyCounter(); assert.equal(cryptoBoyCount.toNumber(), 1); - tokenExists = await cryptoBoys.getTokenExists(1, { from: accounts[0] }); + tokenExists = await BscBoys.getTokenExists(1, { from: accounts[0] }); assert.equal(tokenExists, true); - tokenURIExists = await cryptoBoys.tokenURIExists( + tokenURIExists = await BscBoys.tokenURIExists( "https://gateway.pinata.cloud/ipfs/QmYFmJgQGH4uPHRYN15Xdv4aLd9o4Aq63y1e4GgN6kj5aK/2", { from: accounts[0] } ); assert.equal(tokenURIExists, true); - tokenNameExists = await cryptoBoys.tokenNameExists("myCBNFT", { + tokenNameExists = await BscBoys.tokenNameExists("myCBNFT", { from: accounts[0], }); assert.equal(tokenNameExists, true); for (let i = 0; i < colorsArray1.length; i++) { - colorExists = await cryptoBoys.colorExists(colorsArray1[i], { + colorExists = await BscBoys.colorExists(colorsArray1[i], { from: accounts[0], }); assert.equal(colorExists, true); } let cryptoboy; - cryptoboy = await cryptoBoys.allCryptoBoys(1, { + cryptoboy = await BscBoys.allBscBoys(1, { from: accounts[0], }); assert.equal(cryptoboy.tokenId.toNumber(), 1); @@ -150,7 +150,7 @@ contract("Crypto Boys", async (accounts) => { "#4181a4", ]; - await cryptoBoys.mintCryptoBoy( + await BscBoys.mintCryptoBoy( "myCBNFT2", "https://gateway.pinata.cloud/ipfs/QmYFmJgQGH4uPQRYN15Xdv4aLd9o4Aq63y1e4GgN6kj5aK/2", web3.utils.toWei("1", "Ether"), @@ -177,7 +177,7 @@ contract("Crypto Boys", async (accounts) => { ]; // same token uri -reject - await cryptoBoys.mintCryptoBoy( + await BscBoys.mintCryptoBoy( "myCBNFT3", "https://gateway.pinata.cloud/ipfs/QmYFmJgQGH4uPQRYN15Xdv4aLd9o4Aq63y1e4GgN6kj5aK/2", web3.utils.toWei("1", "Ether"), @@ -204,7 +204,7 @@ contract("Crypto Boys", async (accounts) => { ]; // 0x0 adress sending txn - reject - await cryptoBoys.mintCryptoBoy( + await BscBoys.mintCryptoBoy( "myCBNFT4", "https://gateway.pinata.cloud/ipfs/QmYFmJgQGH4uPQRYN14Xdv4aLd9o4Aq63y1e4GgN6kj5aK/2", web3.utils.toWei("1", "Ether"), @@ -230,7 +230,7 @@ contract("Crypto Boys", async (accounts) => { "#4d81a4", ]; - await cryptoBoys.mintCryptoBoy( + await BscBoys.mintCryptoBoy( "myCBNFT5", "https://gateway.pinata.cloud/ipfs/QmYFmJgQGH4uPRRYN15Xdv4aLd9o4Aq63y1e4GgN6kj5aK/2", web3.utils.toWei("1", "Ether"), @@ -256,7 +256,7 @@ contract("Crypto Boys", async (accounts) => { "#4f81a4", ]; - await cryptoBoys.mintCryptoBoy( + await BscBoys.mintCryptoBoy( "myCBNFT6", "https://gateway.pinata.cloud/ipfs/QmYFmJgQGH4uPSRYN15Xdv4aLd9o4Aq63y1e4GgN6kj5aK/2", web3.utils.toWei("1", "Ether"), @@ -283,7 +283,7 @@ contract("Crypto Boys", async (accounts) => { ]; // same token name - reject - await cryptoBoys.mintCryptoBoy( + await BscBoys.mintCryptoBoy( "myCBNFT6", "https://gateway.pinata.cloud/ipfs/QmYFmJgQGH4uPSRYN15Xdv4aLd3o4Aq63y1e4GgN6kj5aK/2", web3.utils.toWei("1", "Ether"), @@ -310,7 +310,7 @@ contract("Crypto Boys", async (accounts) => { ]; // same color/colors - reject (13th value of array8 is same as 8th value of array1) - await cryptoBoys.mintCryptoBoy( + await BscBoys.mintCryptoBoy( "myCBNFT8", "https://gateway.pinata.cloud/ipfs/QmYFmJgQGH4uPSRYN15Xdv4aLd3o4Bq46y1f4GgN6kj5aK/2", web3.utils.toWei("1", "Ether"), @@ -320,13 +320,13 @@ contract("Crypto Boys", async (accounts) => { }); it("returns address of the token's owner", async () => { - const tokenOwner = await cryptoBoys.getTokenOwner(2); + const tokenOwner = await BscBoys.getTokenOwner(2); assert.equal(tokenOwner, accounts[1]); }); // returns tokenURI of the token it("returns metadata of a token", async () => { - const tokenMetaData = await cryptoBoys.getTokenMetaData(2); + const tokenMetaData = await BscBoys.getTokenMetaData(2); assert.equal( tokenMetaData, "https://gateway.pinata.cloud/ipfs/QmYFmJgQGH4uPQRYN15Xdv4aLd9o4Aq63y1e4GgN6kj5aK/2" @@ -334,19 +334,19 @@ contract("Crypto Boys", async (accounts) => { }); it("returns total number of tokens minted so far", async () => { - const totalNumberOfTokensMinted = await cryptoBoys.getNumberOfTokensMinted(); + const totalNumberOfTokensMinted = await BscBoys.getNumberOfTokensMinted(); assert.equal(totalNumberOfTokensMinted.toNumber(), 4); }); it("returns total number of tokens owned by an address", async () => { - const totalNumberOfTokensOwnedByAnAddress = await cryptoBoys.getTotalNumberOfTokensOwnedByAnAddress( + const totalNumberOfTokensOwnedByAnAddress = await BscBoys.getTotalNumberOfTokensOwnedByAnAddress( accounts[0] ); assert.equal(totalNumberOfTokensOwnedByAnAddress.toNumber(), 3); }); it("allows users to buy token for specified ethers", async () => { - const oldTokenOwner = await cryptoBoys.getTokenOwner(1); + const oldTokenOwner = await BscBoys.getTokenOwner(1); assert.equal(oldTokenOwner, accounts[0]); let oldTokenOwnerBalance; @@ -354,23 +354,23 @@ contract("Crypto Boys", async (accounts) => { oldTokenOwnerBalance = new web3.utils.BN(oldTokenOwnerBalance); let oldTotalNumberOfTokensOwnedBySeller; - oldTotalNumberOfTokensOwnedBySeller = await cryptoBoys.getTotalNumberOfTokensOwnedByAnAddress( + oldTotalNumberOfTokensOwnedBySeller = await BscBoys.getTotalNumberOfTokensOwnedByAnAddress( accounts[0] ); assert.equal(oldTotalNumberOfTokensOwnedBySeller.toNumber(), 3); let cryptoBoy; - cryptoBoy = await cryptoBoys.allCryptoBoys(1, { + cryptoBoy = await BscBoys.allBscBoys(1, { from: accounts[0], }); assert.equal(cryptoBoy.numberOfTransfers.toNumber(), 0); - result = await cryptoBoys.buyToken(1, { + result = await BscBoys.buyToken(1, { from: accounts[2], value: web3.utils.toWei("1", "Ether"), }); - const newTokenOwner = await cryptoBoys.getTokenOwner(1); + const newTokenOwner = await BscBoys.getTokenOwner(1); assert.equal(newTokenOwner, accounts[2]); let newTokenOwnerBalance; @@ -378,12 +378,12 @@ contract("Crypto Boys", async (accounts) => { newTokenOwnerBalance = new web3.utils.BN(newTokenOwnerBalance); let newTotalNumberOfTokensOwnedBySeller; - newTotalNumberOfTokensOwnedBySeller = await cryptoBoys.getTotalNumberOfTokensOwnedByAnAddress( + newTotalNumberOfTokensOwnedBySeller = await BscBoys.getTotalNumberOfTokensOwnedByAnAddress( accounts[0] ); assert.equal(newTotalNumberOfTokensOwnedBySeller.toNumber(), 2); - cryptoBoy = await cryptoBoys.allCryptoBoys(1, { + cryptoBoy = await BscBoys.allBscBoys(1, { from: accounts[0], }); assert.equal(cryptoBoy.numberOfTransfers.toNumber(), 1); @@ -398,22 +398,22 @@ contract("Crypto Boys", async (accounts) => { exepectedBalance.toString() ); - cryptoBoy = await cryptoBoys.allCryptoBoys(1, { + cryptoBoy = await BscBoys.allBscBoys(1, { from: accounts[0], }); assert.equal(cryptoBoy.currentOwner, accounts[2]); - await cryptoBoys.buyToken(2, { + await BscBoys.buyToken(2, { from: 0x0000000000000000000000000000000000000000, value: web3.utils.toWei("1", "Ether"), }).should.be.rejected; - await cryptoBoys.buyToken(56, { + await BscBoys.buyToken(56, { from: accounts[4], value: web3.utils.toWei("1", "Ether"), }).should.be.rejected; - await cryptoBoys.buyToken(3, { + await BscBoys.buyToken(3, { from: accounts[0], value: web3.utils.toWei("1", "Ether"), }).should.be.rejected; @@ -421,12 +421,12 @@ contract("Crypto Boys", async (accounts) => { it("allows users to change token price", async () => { let cryptoBoyPrice; - cryptoBoyPrice = await cryptoBoys.allCryptoBoys(1, { + cryptoBoyPrice = await BscBoys.allBscBoys(1, { from: accounts[0], }); assert.equal(web3.utils.fromWei(cryptoBoyPrice.price, "ether"), 1); - result = await cryptoBoys.changeTokenPrice( + result = await BscBoys.changeTokenPrice( 1, web3.utils.toWei("2", "Ether"), { @@ -434,53 +434,53 @@ contract("Crypto Boys", async (accounts) => { } ); - cryptoBoyPrice = await cryptoBoys.allCryptoBoys(1, { + cryptoBoyPrice = await BscBoys.allBscBoys(1, { from: accounts[0], }); assert.equal(web3.utils.fromWei(cryptoBoyPrice.price, "ether"), 2); - await cryptoBoys.changeTokenPrice(1, web3.utils.toWei("3", "Ether"), { + await BscBoys.changeTokenPrice(1, web3.utils.toWei("3", "Ether"), { from: 0x0000000000000000000000000000000000000000, }).should.be.rejected; - await cryptoBoys.changeTokenPrice(82, web3.utils.toWei("3", "Ether"), { + await BscBoys.changeTokenPrice(82, web3.utils.toWei("3", "Ether"), { from: accounts[2], }).should.be.rejected; - await cryptoBoys.changeTokenPrice(1, web3.utils.toWei("3", "Ether"), { + await BscBoys.changeTokenPrice(1, web3.utils.toWei("3", "Ether"), { from: accounts[6], }).should.be.rejected; }); it("allows users to toggle between setting the token for sale or not for sale", async () => { let cryptoboy; - cryptoboy = await cryptoBoys.allCryptoBoys(1, { + cryptoboy = await BscBoys.allBscBoys(1, { from: accounts[0], }); assert.equal(cryptoboy.forSale, true); - result = await cryptoBoys.toggleForSale(1, { from: accounts[2] }); + result = await BscBoys.toggleForSale(1, { from: accounts[2] }); - cryptoboy = await cryptoBoys.allCryptoBoys(1, { + cryptoboy = await BscBoys.allBscBoys(1, { from: accounts[0], }); assert.equal(cryptoboy.forSale, false); - result = await cryptoBoys.toggleForSale(1, { from: accounts[2] }); + result = await BscBoys.toggleForSale(1, { from: accounts[2] }); - cryptoboy = await cryptoBoys.allCryptoBoys(1, { + cryptoboy = await BscBoys.allBscBoys(1, { from: accounts[0], }); assert.equal(cryptoboy.forSale, true); - await cryptoBoys.toggleForSale(1, { + await BscBoys.toggleForSale(1, { from: 0x0000000000000000000000000000000000000000, }).should.be.rejected; - await cryptoBoys.toggleForSale(94, { from: accounts[2] }).should.be + await BscBoys.toggleForSale(94, { from: accounts[2] }).should.be .rejected; - await cryptoBoys.toggleForSale(1, { from: accounts[8] }).should.be + await BscBoys.toggleForSale(1, { from: accounts[8] }).should.be .rejected; }); }); diff --git a/truffle-config.js b/truffle-config.js index d4b5a0d..e796137 100644 --- a/truffle-config.js +++ b/truffle-config.js @@ -5,7 +5,7 @@ module.exports = { networks: { development: { host: "127.0.0.1", - port: 7545, + port: 8545, network_id: "*", // Match any network id }, },